diff --git a/Sources/POGOProtos/POGOProtos.pb.swift b/Sources/POGOProtos/POGOProtos.pb.swift index 1cde52b..c093f94 100644 --- a/Sources/POGOProtos/POGOProtos.pb.swift +++ b/Sources/POGOProtos/POGOProtos.pb.swift @@ -8,7 +8,7 @@ // https://github.com/apple/swift-protobuf/ // -// Copyright 2016-2023 --=FurtiF=--. +// Copyright 2016-2024 --=FurtiF=--. // // Licensed under the // Educational Community License, Version 2.0 (the "License"); you may @@ -38,6 +38,342 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP typealias Version = _2 } +public enum ARDKNominationType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case regular // = 0 + case provisional // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .regular + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .regular + case 1: self = .provisional + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .regular: return 0 + case .provisional: return 1 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension ARDKNominationType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ARDKNominationType] = [ + .regular, + .provisional, + ] +} + +#endif // swift(>=4.2) + +public enum ARDKPlayerSubmissionTypeProto: SwiftProtobuf.Enum { + public typealias RawValue = Int + case typeUnspecified // = 0 + case poiSubmission // = 1 + case routeSubmission // = 2 + case poiImageSubmission // = 3 + case poiTextMetadataUpdate // = 4 + case poiLocationUpdate // = 5 + case poiTakedownRequest // = 6 + case poiArVideoSubmission // = 7 + case sponsorPoiReport // = 8 + case sponsorPoiLocationUpdate // = 9 + case poiCategoryVoteSubmission // = 10 + case UNRECOGNIZED(Int) + + public init() { + self = .typeUnspecified + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .typeUnspecified + case 1: self = .poiSubmission + case 2: self = .routeSubmission + case 3: self = .poiImageSubmission + case 4: self = .poiTextMetadataUpdate + case 5: self = .poiLocationUpdate + case 6: self = .poiTakedownRequest + case 7: self = .poiArVideoSubmission + case 8: self = .sponsorPoiReport + case 9: self = .sponsorPoiLocationUpdate + case 10: self = .poiCategoryVoteSubmission + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .typeUnspecified: return 0 + case .poiSubmission: return 1 + case .routeSubmission: return 2 + case .poiImageSubmission: return 3 + case .poiTextMetadataUpdate: return 4 + case .poiLocationUpdate: return 5 + case .poiTakedownRequest: return 6 + case .poiArVideoSubmission: return 7 + case .sponsorPoiReport: return 8 + case .sponsorPoiLocationUpdate: return 9 + case .poiCategoryVoteSubmission: return 10 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension ARDKPlayerSubmissionTypeProto: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ARDKPlayerSubmissionTypeProto] = [ + .typeUnspecified, + .poiSubmission, + .routeSubmission, + .poiImageSubmission, + .poiTextMetadataUpdate, + .poiLocationUpdate, + .poiTakedownRequest, + .poiArVideoSubmission, + .sponsorPoiReport, + .sponsorPoiLocationUpdate, + .poiCategoryVoteSubmission, + ] +} + +#endif // swift(>=4.2) + +public enum ARDKPoiInvalidReason: SwiftProtobuf.Enum { + public typealias RawValue = Int + case invalidReasonUnspecified // = 0 + case noPedestrianAccess // = 1 + case obstructsEmergencyServices // = 2 + case privateResidentialProperty // = 3 + case ardkSchool // = 4 + case permanentlyRemoved // = 5 + case duplicate // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .invalidReasonUnspecified + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .invalidReasonUnspecified + case 1: self = .noPedestrianAccess + case 2: self = .obstructsEmergencyServices + case 3: self = .privateResidentialProperty + case 4: self = .ardkSchool + case 5: self = .permanentlyRemoved + case 6: self = .duplicate + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .invalidReasonUnspecified: return 0 + case .noPedestrianAccess: return 1 + case .obstructsEmergencyServices: return 2 + case .privateResidentialProperty: return 3 + case .ardkSchool: return 4 + case .permanentlyRemoved: return 5 + case .duplicate: return 6 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension ARDKPoiInvalidReason: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ARDKPoiInvalidReason] = [ + .invalidReasonUnspecified, + .noPedestrianAccess, + .obstructsEmergencyServices, + .privateResidentialProperty, + .ardkSchool, + .permanentlyRemoved, + .duplicate, + ] +} + +#endif // swift(>=4.2) + +public enum ARDKScanTag: SwiftProtobuf.Enum { + public typealias RawValue = Int + case defaultScan // = 0 + case `public` // = 1 + case `private` // = 2 + case wayspotCentric // = 3 + case freeForm // = 4 + case experimental // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .defaultScan + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .defaultScan + case 1: self = .public + case 2: self = .private + case 3: self = .wayspotCentric + case 4: self = .freeForm + case 5: self = .experimental + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .defaultScan: return 0 + case .public: return 1 + case .private: return 2 + case .wayspotCentric: return 3 + case .freeForm: return 4 + case .experimental: return 5 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension ARDKScanTag: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ARDKScanTag] = [ + .defaultScan, + .public, + .private, + .wayspotCentric, + .freeForm, + .experimental, + ] +} + +#endif // swift(>=4.2) + +public enum ARDKSponsorPoiInvalidReason: SwiftProtobuf.Enum { + public typealias RawValue = Int + case sponsorPoiReasonUnspecified // = 0 + case sponsorPoiReasonDoesNotExist // = 1 + case sponsorPoiReasonNotSafe // = 2 + case sponsorPoiReasonNotTruthful // = 3 + case sponsorPoiReasonNotFamilyFriendly // = 4 + case sponsorPoiReasonOffensiveContent // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .sponsorPoiReasonUnspecified + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .sponsorPoiReasonUnspecified + case 1: self = .sponsorPoiReasonDoesNotExist + case 2: self = .sponsorPoiReasonNotSafe + case 3: self = .sponsorPoiReasonNotTruthful + case 4: self = .sponsorPoiReasonNotFamilyFriendly + case 5: self = .sponsorPoiReasonOffensiveContent + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .sponsorPoiReasonUnspecified: return 0 + case .sponsorPoiReasonDoesNotExist: return 1 + case .sponsorPoiReasonNotSafe: return 2 + case .sponsorPoiReasonNotTruthful: return 3 + case .sponsorPoiReasonNotFamilyFriendly: return 4 + case .sponsorPoiReasonOffensiveContent: return 5 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension ARDKSponsorPoiInvalidReason: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ARDKSponsorPoiInvalidReason] = [ + .sponsorPoiReasonUnspecified, + .sponsorPoiReasonDoesNotExist, + .sponsorPoiReasonNotSafe, + .sponsorPoiReasonNotTruthful, + .sponsorPoiReasonNotFamilyFriendly, + .sponsorPoiReasonOffensiveContent, + ] +} + +#endif // swift(>=4.2) + +public enum ARDKUserType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case player // = 0 + case developer // = 1 + case surveyor // = 2 + case developer8ThWall // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .player + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .player + case 1: self = .developer + case 2: self = .surveyor + case 3: self = .developer8ThWall + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .player: return 0 + case .developer: return 1 + case .surveyor: return 2 + case .developer8ThWall: return 3 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension ARDKUserType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ARDKUserType] = [ + .player, + .developer, + .surveyor, + .developer8ThWall, + ] +} + +#endif // swift(>=4.2) + public enum ASPermissionStatusTelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int case unknown // = 0 @@ -302,6 +638,50 @@ extension AdType: CaseIterable { #endif // swift(>=4.2) +public enum AnimationTake: SwiftProtobuf.Enum { + public typealias RawValue = Int + case pokemongoPlusAnimeTakeSingle // = 0 + case pokemongoPlusAnimeTakeBranching // = 1 + case pokemongoPlusAnimeTakeSequence // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .pokemongoPlusAnimeTakeSingle + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .pokemongoPlusAnimeTakeSingle + case 1: self = .pokemongoPlusAnimeTakeBranching + case 2: self = .pokemongoPlusAnimeTakeSequence + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .pokemongoPlusAnimeTakeSingle: return 0 + case .pokemongoPlusAnimeTakeBranching: return 1 + case .pokemongoPlusAnimeTakeSequence: return 2 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension AnimationTake: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AnimationTake] = [ + .pokemongoPlusAnimeTakeSingle, + .pokemongoPlusAnimeTakeBranching, + .pokemongoPlusAnimeTakeSequence, + ] +} + +#endif // swift(>=4.2) + public enum AssetTelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int case undefinedAssetEvent // = 0 @@ -398,6 +778,142 @@ extension AttractedPokemonContext: CaseIterable { #endif // swift(>=4.2) +public enum AuthIdentityProvider: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetIdentityProvider // = 0 + case google // = 1 + case ptc // = 2 + case facebook // = 3 + case background // = 4 + case `internal` // = 5 + case sfida // = 6 + case superAwesome // = 7 + case developer // = 8 + case sharedSecret // = 9 + case poseidon // = 10 + case nintendo // = 11 + case apple // = 12 + case nianticSharedLoginToken // = 13 + case guestLoginToken // = 14 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetIdentityProvider + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetIdentityProvider + case 1: self = .google + case 2: self = .ptc + case 3: self = .facebook + case 4: self = .background + case 5: self = .internal + case 6: self = .sfida + case 7: self = .superAwesome + case 8: self = .developer + case 9: self = .sharedSecret + case 10: self = .poseidon + case 11: self = .nintendo + case 12: self = .apple + case 13: self = .nianticSharedLoginToken + case 14: self = .guestLoginToken + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetIdentityProvider: return 0 + case .google: return 1 + case .ptc: return 2 + case .facebook: return 3 + case .background: return 4 + case .internal: return 5 + case .sfida: return 6 + case .superAwesome: return 7 + case .developer: return 8 + case .sharedSecret: return 9 + case .poseidon: return 10 + case .nintendo: return 11 + case .apple: return 12 + case .nianticSharedLoginToken: return 13 + case .guestLoginToken: return 14 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension AuthIdentityProvider: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AuthIdentityProvider] = [ + .unsetIdentityProvider, + .google, + .ptc, + .facebook, + .background, + .internal, + .sfida, + .superAwesome, + .developer, + .sharedSecret, + .poseidon, + .nintendo, + .apple, + .nianticSharedLoginToken, + .guestLoginToken, + ] +} + +#endif // swift(>=4.2) + +public enum AutoModeConfigType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case pokemongoPlusConfigTypeNoAutoMode // = 0 + case pokemongoPlusConfigTypeSpinAutoMode // = 1 + case pokemongoPlusConfigTypeThrowAutoMode // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .pokemongoPlusConfigTypeNoAutoMode + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .pokemongoPlusConfigTypeNoAutoMode + case 1: self = .pokemongoPlusConfigTypeSpinAutoMode + case 2: self = .pokemongoPlusConfigTypeThrowAutoMode + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .pokemongoPlusConfigTypeNoAutoMode: return 0 + case .pokemongoPlusConfigTypeSpinAutoMode: return 1 + case .pokemongoPlusConfigTypeThrowAutoMode: return 2 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension AutoModeConfigType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AutoModeConfigType] = [ + .pokemongoPlusConfigTypeNoAutoMode, + .pokemongoPlusConfigTypeSpinAutoMode, + .pokemongoPlusConfigTypeThrowAutoMode, + ] +} + +#endif // swift(>=4.2) + public enum AvatarCustomizationTelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int case undefinedAvatarCustomization // = 0 @@ -472,29 +988,29 @@ extension AvatarCustomizationTelemetryIds: CaseIterable { public enum AvatarGender: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 - case male // = 1 - case female // = 2 + case avatarUnknown // = 0 + case avatarMale // = 1 + case avatarFemale // = 2 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .avatarUnknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown - case 1: self = .male - case 2: self = .female + case 0: self = .avatarUnknown + case 1: self = .avatarMale + case 2: self = .avatarFemale default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 - case .male: return 1 - case .female: return 2 + case .avatarUnknown: return 0 + case .avatarMale: return 1 + case .avatarFemale: return 2 case .UNRECOGNIZED(let i): return i } } @@ -506,9 +1022,125 @@ public enum AvatarGender: SwiftProtobuf.Enum { extension AvatarGender: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. public static var allCases: [AvatarGender] = [ - .unknown, - .male, - .female, + .avatarUnknown, + .avatarMale, + .avatarFemale, + ] +} + +#endif // swift(>=4.2) + +public enum AvatarSlot: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case hair // = 1 + case shirt // = 2 + case pants // = 3 + case hat // = 4 + case shoes // = 5 + case eyes // = 6 + case backpack // = 7 + case gloves // = 8 + case socks // = 9 + case belt // = 10 + case glasses // = 11 + case necklace // = 12 + case skin // = 13 + case pose // = 14 + case face // = 15 + case prop // = 16 + case facePreset // = 17 + case bodyPreset // = 18 + case eyebrow // = 19 + case eyelash // = 20 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .hair + case 2: self = .shirt + case 3: self = .pants + case 4: self = .hat + case 5: self = .shoes + case 6: self = .eyes + case 7: self = .backpack + case 8: self = .gloves + case 9: self = .socks + case 10: self = .belt + case 11: self = .glasses + case 12: self = .necklace + case 13: self = .skin + case 14: self = .pose + case 15: self = .face + case 16: self = .prop + case 17: self = .facePreset + case 18: self = .bodyPreset + case 19: self = .eyebrow + case 20: self = .eyelash + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .hair: return 1 + case .shirt: return 2 + case .pants: return 3 + case .hat: return 4 + case .shoes: return 5 + case .eyes: return 6 + case .backpack: return 7 + case .gloves: return 8 + case .socks: return 9 + case .belt: return 10 + case .glasses: return 11 + case .necklace: return 12 + case .skin: return 13 + case .pose: return 14 + case .face: return 15 + case .prop: return 16 + case .facePreset: return 17 + case .bodyPreset: return 18 + case .eyebrow: return 19 + case .eyelash: return 20 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension AvatarSlot: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AvatarSlot] = [ + .unset, + .hair, + .shirt, + .pants, + .hat, + .shoes, + .eyes, + .backpack, + .gloves, + .socks, + .belt, + .glasses, + .necklace, + .skin, + .pose, + .face, + .prop, + .facePreset, + .bodyPreset, + .eyebrow, + .eyelash, ] } @@ -1218,175 +1850,40 @@ extension CameraTarget: CaseIterable { #endif // swift(>=4.2) -public enum ClientAction: SwiftProtobuf.Enum { +public enum CentralState: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknownClientAction // = 0 - case registerPushNotification // = 5000 - case unregisterPushNotification // = 5001 - case updateNotificationStatus // = 5002 - case optOutPushNotificationCategory // = 5003 - case downloadGameMasterTemplates // = 5004 - case getInventory // = 5005 - case redeemPasscode // = 5006 - case ping // = 5007 - case addLoginAction // = 5008 - case removeLoginAction // = 5009 - case listLoginAction // = 5010 - case addNewPoi // = 5011 - case proxySocialAction // = 5012 - case deprecatedClientTelemetry // = 5013 - case getAvailableSubmissions // = 5014 - case getSignedURLForPhotoUpload // = 5015 - case replaceLoginAction // = 5016 - case proxySocialSideChannelAction // = 5017 - case collectClientTelemetry // = 5018 - case purchaseSku // = 5019 - case getAvailableSkusAndBalances // = 5020 - case redeemGoogleReceipt // = 5021 - case redeemAppleReceipt // = 5022 - case redeemDesktopReceipt // = 5023 - case updateFitnessMetrics // = 5024 - case getFitnessReport // = 5025 - case getClientTelemetrySettings // = 5026 - case pingAsync // = 5027 - case registerBackgroundService // = 5028 - case getClientBgmodeSettings // = 5029 - case pingDownstream // = 5030 - case setInGameCurrencyExchangeRate // = 5032 - case requestGeofenceUpdates // = 5033 - case updatePlayerLocation // = 5034 - case generateGmapSignedURL // = 5035 - case getGmapSettings // = 5036 - case redeemSamsungReceipt // = 5037 - case addNewRoute // = 5038 - case getOutstandingWarnings // = 5039 - case acknowledgeWarnings // = 5040 - case submitPoiImage // = 5041 - case submitPoiTextMetadataUpdate // = 5042 - case submitPoiLocationUpdate // = 5043 - case submitPoiTakedownRequest // = 5044 - case getWebTokenAction // = 5045 - case getAdventureSyncSettings // = 5046 - case updateAdventureSyncSettings // = 5047 - case setBirthday // = 5048 - case fetchNewsfeedAction // = 5049 - case markNewsfeedReadAction // = 5050 + case pokemongoPlusCentralStateUnknown // = 0 + case pokemongoPlusCentralStateResetting // = 1 + case pokemongoPlusCentralStateUnsupported // = 2 + case pokemongoPlusCentralStateUnauthorized // = 3 + case pokemongoPlusCentralStatePoweredOff // = 4 + case pokemongoPlusCentralStatePoweredOn // = 5 case UNRECOGNIZED(Int) public init() { - self = .unknownClientAction + self = .pokemongoPlusCentralStateUnknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknownClientAction - case 5000: self = .registerPushNotification - case 5001: self = .unregisterPushNotification - case 5002: self = .updateNotificationStatus - case 5003: self = .optOutPushNotificationCategory - case 5004: self = .downloadGameMasterTemplates - case 5005: self = .getInventory - case 5006: self = .redeemPasscode - case 5007: self = .ping - case 5008: self = .addLoginAction - case 5009: self = .removeLoginAction - case 5010: self = .listLoginAction - case 5011: self = .addNewPoi - case 5012: self = .proxySocialAction - case 5013: self = .deprecatedClientTelemetry - case 5014: self = .getAvailableSubmissions - case 5015: self = .getSignedURLForPhotoUpload - case 5016: self = .replaceLoginAction - case 5017: self = .proxySocialSideChannelAction - case 5018: self = .collectClientTelemetry - case 5019: self = .purchaseSku - case 5020: self = .getAvailableSkusAndBalances - case 5021: self = .redeemGoogleReceipt - case 5022: self = .redeemAppleReceipt - case 5023: self = .redeemDesktopReceipt - case 5024: self = .updateFitnessMetrics - case 5025: self = .getFitnessReport - case 5026: self = .getClientTelemetrySettings - case 5027: self = .pingAsync - case 5028: self = .registerBackgroundService - case 5029: self = .getClientBgmodeSettings - case 5030: self = .pingDownstream - case 5032: self = .setInGameCurrencyExchangeRate - case 5033: self = .requestGeofenceUpdates - case 5034: self = .updatePlayerLocation - case 5035: self = .generateGmapSignedURL - case 5036: self = .getGmapSettings - case 5037: self = .redeemSamsungReceipt - case 5038: self = .addNewRoute - case 5039: self = .getOutstandingWarnings - case 5040: self = .acknowledgeWarnings - case 5041: self = .submitPoiImage - case 5042: self = .submitPoiTextMetadataUpdate - case 5043: self = .submitPoiLocationUpdate - case 5044: self = .submitPoiTakedownRequest - case 5045: self = .getWebTokenAction - case 5046: self = .getAdventureSyncSettings - case 5047: self = .updateAdventureSyncSettings - case 5048: self = .setBirthday - case 5049: self = .fetchNewsfeedAction - case 5050: self = .markNewsfeedReadAction + case 0: self = .pokemongoPlusCentralStateUnknown + case 1: self = .pokemongoPlusCentralStateResetting + case 2: self = .pokemongoPlusCentralStateUnsupported + case 3: self = .pokemongoPlusCentralStateUnauthorized + case 4: self = .pokemongoPlusCentralStatePoweredOff + case 5: self = .pokemongoPlusCentralStatePoweredOn default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknownClientAction: return 0 - case .registerPushNotification: return 5000 - case .unregisterPushNotification: return 5001 - case .updateNotificationStatus: return 5002 - case .optOutPushNotificationCategory: return 5003 - case .downloadGameMasterTemplates: return 5004 - case .getInventory: return 5005 - case .redeemPasscode: return 5006 - case .ping: return 5007 - case .addLoginAction: return 5008 - case .removeLoginAction: return 5009 - case .listLoginAction: return 5010 - case .addNewPoi: return 5011 - case .proxySocialAction: return 5012 - case .deprecatedClientTelemetry: return 5013 - case .getAvailableSubmissions: return 5014 - case .getSignedURLForPhotoUpload: return 5015 - case .replaceLoginAction: return 5016 - case .proxySocialSideChannelAction: return 5017 - case .collectClientTelemetry: return 5018 - case .purchaseSku: return 5019 - case .getAvailableSkusAndBalances: return 5020 - case .redeemGoogleReceipt: return 5021 - case .redeemAppleReceipt: return 5022 - case .redeemDesktopReceipt: return 5023 - case .updateFitnessMetrics: return 5024 - case .getFitnessReport: return 5025 - case .getClientTelemetrySettings: return 5026 - case .pingAsync: return 5027 - case .registerBackgroundService: return 5028 - case .getClientBgmodeSettings: return 5029 - case .pingDownstream: return 5030 - case .setInGameCurrencyExchangeRate: return 5032 - case .requestGeofenceUpdates: return 5033 - case .updatePlayerLocation: return 5034 - case .generateGmapSignedURL: return 5035 - case .getGmapSettings: return 5036 - case .redeemSamsungReceipt: return 5037 - case .addNewRoute: return 5038 - case .getOutstandingWarnings: return 5039 - case .acknowledgeWarnings: return 5040 - case .submitPoiImage: return 5041 - case .submitPoiTextMetadataUpdate: return 5042 - case .submitPoiLocationUpdate: return 5043 - case .submitPoiTakedownRequest: return 5044 - case .getWebTokenAction: return 5045 - case .getAdventureSyncSettings: return 5046 - case .updateAdventureSyncSettings: return 5047 - case .setBirthday: return 5048 - case .fetchNewsfeedAction: return 5049 - case .markNewsfeedReadAction: return 5050 + case .pokemongoPlusCentralStateUnknown: return 0 + case .pokemongoPlusCentralStateResetting: return 1 + case .pokemongoPlusCentralStateUnsupported: return 2 + case .pokemongoPlusCentralStateUnauthorized: return 3 + case .pokemongoPlusCentralStatePoweredOff: return 4 + case .pokemongoPlusCentralStatePoweredOn: return 5 case .UNRECOGNIZED(let i): return i } } @@ -1395,135 +1892,45 @@ public enum ClientAction: SwiftProtobuf.Enum { #if swift(>=4.2) -extension ClientAction: CaseIterable { +extension CentralState: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientAction] = [ - .unknownClientAction, - .registerPushNotification, - .unregisterPushNotification, - .updateNotificationStatus, - .optOutPushNotificationCategory, - .downloadGameMasterTemplates, - .getInventory, - .redeemPasscode, - .ping, - .addLoginAction, - .removeLoginAction, - .listLoginAction, - .addNewPoi, - .proxySocialAction, - .deprecatedClientTelemetry, - .getAvailableSubmissions, - .getSignedURLForPhotoUpload, - .replaceLoginAction, - .proxySocialSideChannelAction, - .collectClientTelemetry, - .purchaseSku, - .getAvailableSkusAndBalances, - .redeemGoogleReceipt, - .redeemAppleReceipt, - .redeemDesktopReceipt, - .updateFitnessMetrics, - .getFitnessReport, - .getClientTelemetrySettings, - .pingAsync, - .registerBackgroundService, - .getClientBgmodeSettings, - .pingDownstream, - .setInGameCurrencyExchangeRate, - .requestGeofenceUpdates, - .updatePlayerLocation, - .generateGmapSignedURL, - .getGmapSettings, - .redeemSamsungReceipt, - .addNewRoute, - .getOutstandingWarnings, - .acknowledgeWarnings, - .submitPoiImage, - .submitPoiTextMetadataUpdate, - .submitPoiLocationUpdate, - .submitPoiTakedownRequest, - .getWebTokenAction, - .getAdventureSyncSettings, - .updateAdventureSyncSettings, - .setBirthday, - .fetchNewsfeedAction, - .markNewsfeedReadAction, - ] -} - -#endif // swift(>=4.2) - -public enum ClientOperatingSystem: SwiftProtobuf.Enum { - public typealias RawValue = Int - case osUnknown // = 0 - case osAndroid // = 1 - case osIos // = 2 - case osDesktop // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .osUnknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .osUnknown - case 1: self = .osAndroid - case 2: self = .osIos - case 3: self = .osDesktop - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .osUnknown: return 0 - case .osAndroid: return 1 - case .osIos: return 2 - case .osDesktop: return 3 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension ClientOperatingSystem: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientOperatingSystem] = [ - .osUnknown, - .osAndroid, - .osIos, - .osDesktop, + public static var allCases: [CentralState] = [ + .pokemongoPlusCentralStateUnknown, + .pokemongoPlusCentralStateResetting, + .pokemongoPlusCentralStateUnsupported, + .pokemongoPlusCentralStateUnauthorized, + .pokemongoPlusCentralStatePoweredOff, + .pokemongoPlusCentralStatePoweredOn, ] } #endif // swift(>=4.2) -public enum CombatHubEntranceTelemetryIds: SwiftProtobuf.Enum { +public enum Channel: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefinedEvent // = 0 - case clickedCombatHubButton // = 1 + case pokemongoPlusChannelNotDefined // = 0 + case pokemongoPlusChannelNewsfeedMessageChannel // = 1 + case pokemongoPlusChannelInAppMessageChannel // = 2 case UNRECOGNIZED(Int) public init() { - self = .undefinedEvent + self = .pokemongoPlusChannelNotDefined } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefinedEvent - case 1: self = .clickedCombatHubButton + case 0: self = .pokemongoPlusChannelNotDefined + case 1: self = .pokemongoPlusChannelNewsfeedMessageChannel + case 2: self = .pokemongoPlusChannelInAppMessageChannel default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefinedEvent: return 0 - case .clickedCombatHubButton: return 1 + case .pokemongoPlusChannelNotDefined: return 0 + case .pokemongoPlusChannelNewsfeedMessageChannel: return 1 + case .pokemongoPlusChannelInAppMessageChannel: return 2 case .UNRECOGNIZED(let i): return i } } @@ -1532,41 +1939,45 @@ public enum CombatHubEntranceTelemetryIds: SwiftProtobuf.Enum { #if swift(>=4.2) -extension CombatHubEntranceTelemetryIds: CaseIterable { +extension Channel: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatHubEntranceTelemetryIds] = [ - .undefinedEvent, - .clickedCombatHubButton, + public static var allCases: [Channel] = [ + .pokemongoPlusChannelNotDefined, + .pokemongoPlusChannelNewsfeedMessageChannel, + .pokemongoPlusChannelInAppMessageChannel, ] } #endif // swift(>=4.2) -public enum CombatPlayerFinishState: SwiftProtobuf.Enum { +public enum ClientOperatingSystem: SwiftProtobuf.Enum { public typealias RawValue = Int - case winner // = 0 - case loser // = 1 - case draw // = 2 + case osUnknown // = 0 + case osAndroid // = 1 + case osIos // = 2 + case osDesktop // = 3 case UNRECOGNIZED(Int) public init() { - self = .winner + self = .osUnknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .winner - case 1: self = .loser - case 2: self = .draw + case 0: self = .osUnknown + case 1: self = .osAndroid + case 2: self = .osIos + case 3: self = .osDesktop default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .winner: return 0 - case .loser: return 1 - case .draw: return 2 + case .osUnknown: return 0 + case .osAndroid: return 1 + case .osIos: return 2 + case .osDesktop: return 3 case .UNRECOGNIZED(let i): return i } } @@ -1575,18 +1986,19 @@ public enum CombatPlayerFinishState: SwiftProtobuf.Enum { #if swift(>=4.2) -extension CombatPlayerFinishState: CaseIterable { +extension ClientOperatingSystem: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatPlayerFinishState] = [ - .winner, - .loser, - .draw, + public static var allCases: [ClientOperatingSystem] = [ + .osUnknown, + .osAndroid, + .osIos, + .osDesktop, ] } #endif // swift(>=4.2) -public enum CombatRefactorToggleProto: SwiftProtobuf.Enum { +public enum CombatExperiment: SwiftProtobuf.Enum { public typealias RawValue = Int case baseline // = 0 case fastMoveAlwaysLeak // = 1 @@ -1604,7 +2016,7 @@ public enum CombatRefactorToggleProto: SwiftProtobuf.Enum { case swapDelayTyGreil // = 13 case fastMoveFaintDeferral // = 14 case combatRewardsAsync // = 15 - case gatedRewards // = 16 + case enableFog // = 16 case UNRECOGNIZED(Int) public init() { @@ -1629,7 +2041,7 @@ public enum CombatRefactorToggleProto: SwiftProtobuf.Enum { case 13: self = .swapDelayTyGreil case 14: self = .fastMoveFaintDeferral case 15: self = .combatRewardsAsync - case 16: self = .gatedRewards + case 16: self = .enableFog default: self = .UNRECOGNIZED(rawValue) } } @@ -1652,7 +2064,7 @@ public enum CombatRefactorToggleProto: SwiftProtobuf.Enum { case .swapDelayTyGreil: return 13 case .fastMoveFaintDeferral: return 14 case .combatRewardsAsync: return 15 - case .gatedRewards: return 16 + case .enableFog: return 16 case .UNRECOGNIZED(let i): return i } } @@ -1661,9 +2073,9 @@ public enum CombatRefactorToggleProto: SwiftProtobuf.Enum { #if swift(>=4.2) -extension CombatRefactorToggleProto: CaseIterable { +extension CombatExperiment: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatRefactorToggleProto] = [ + public static var allCases: [CombatExperiment] = [ .baseline, .fastMoveAlwaysLeak, .minigameFastMoveClear, @@ -1680,7 +2092,91 @@ extension CombatRefactorToggleProto: CaseIterable { .swapDelayTyGreil, .fastMoveFaintDeferral, .combatRewardsAsync, - .gatedRewards, + .enableFog, + ] +} + +#endif // swift(>=4.2) + +public enum CombatHubEntranceTelemetryIds: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefinedEvent // = 0 + case clickedCombatHubButton // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .undefinedEvent + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefinedEvent + case 1: self = .clickedCombatHubButton + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefinedEvent: return 0 + case .clickedCombatHubButton: return 1 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension CombatHubEntranceTelemetryIds: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatHubEntranceTelemetryIds] = [ + .undefinedEvent, + .clickedCombatHubButton, + ] +} + +#endif // swift(>=4.2) + +public enum CombatPlayerFinishState: SwiftProtobuf.Enum { + public typealias RawValue = Int + case winner // = 0 + case loser // = 1 + case draw // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .winner + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .winner + case 1: self = .loser + case 2: self = .draw + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .winner: return 0 + case .loser: return 1 + case .draw: return 2 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension CombatPlayerFinishState: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatPlayerFinishState] = [ + .winner, + .loser, + .draw, ] } @@ -1802,54 +2298,6 @@ extension CombatType: CaseIterable { #endif // swift(>=4.2) -public enum ContestEntrysProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case entryPointUnset // = 0 - case suggestedFromContestPage // = 1 - case switchPokemonContestPage // = 2 - case suggestedAfterPokemonCatch // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .entryPointUnset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .entryPointUnset - case 1: self = .suggestedFromContestPage - case 2: self = .switchPokemonContestPage - case 3: self = .suggestedAfterPokemonCatch - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .entryPointUnset: return 0 - case .suggestedFromContestPage: return 1 - case .switchPokemonContestPage: return 2 - case .suggestedAfterPokemonCatch: return 3 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension ContestEntrysProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ContestEntrysProto] = [ - .entryPointUnset, - .suggestedFromContestPage, - .switchPokemonContestPage, - .suggestedAfterPokemonCatch, - ] -} - -#endif // swift(>=4.2) - public enum ContestOccurrence: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 @@ -2050,6 +2498,138 @@ extension ContestScoreComponentType: CaseIterable { #endif // swift(>=4.2) +public enum DeviceConnectState: SwiftProtobuf.Enum { + public typealias RawValue = Int + case pokemongoPlusDeviceConnectStateDisconnected // = 0 + case pokemongoPlusDeviceConnectStateDisconnecting // = 1 + case pokemongoPlusDeviceConnectStateConnected // = 2 + case pokemongoPlusDeviceConnectStateDiscovered // = 3 + case pokemongoPlusDeviceConnectStateUserFirstConnect // = 4 + case pokemongoPlusDeviceConnectStateUserDialogFirstConnect // = 5 + case pokemongoPlusDeviceConnectStateUserDialogReconnect // = 6 + case pokemongoPlusDeviceConnectStateUserDialogReconnectReject // = 7 + case pokemongoPlusDeviceConnectStateCertified // = 8 + case pokemongoPlusDeviceConnectStateSoftwareUpdate // = 9 + case pokemongoPlusDeviceConnectStateFailed // = 10 + case pokemongoPlusDeviceConnectStateConnecting // = 11 + case pokemongoPlusDeviceConnectStateRejected // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .pokemongoPlusDeviceConnectStateDisconnected + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .pokemongoPlusDeviceConnectStateDisconnected + case 1: self = .pokemongoPlusDeviceConnectStateDisconnecting + case 2: self = .pokemongoPlusDeviceConnectStateConnected + case 3: self = .pokemongoPlusDeviceConnectStateDiscovered + case 4: self = .pokemongoPlusDeviceConnectStateUserFirstConnect + case 5: self = .pokemongoPlusDeviceConnectStateUserDialogFirstConnect + case 6: self = .pokemongoPlusDeviceConnectStateUserDialogReconnect + case 7: self = .pokemongoPlusDeviceConnectStateUserDialogReconnectReject + case 8: self = .pokemongoPlusDeviceConnectStateCertified + case 9: self = .pokemongoPlusDeviceConnectStateSoftwareUpdate + case 10: self = .pokemongoPlusDeviceConnectStateFailed + case 11: self = .pokemongoPlusDeviceConnectStateConnecting + case 12: self = .pokemongoPlusDeviceConnectStateRejected + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .pokemongoPlusDeviceConnectStateDisconnected: return 0 + case .pokemongoPlusDeviceConnectStateDisconnecting: return 1 + case .pokemongoPlusDeviceConnectStateConnected: return 2 + case .pokemongoPlusDeviceConnectStateDiscovered: return 3 + case .pokemongoPlusDeviceConnectStateUserFirstConnect: return 4 + case .pokemongoPlusDeviceConnectStateUserDialogFirstConnect: return 5 + case .pokemongoPlusDeviceConnectStateUserDialogReconnect: return 6 + case .pokemongoPlusDeviceConnectStateUserDialogReconnectReject: return 7 + case .pokemongoPlusDeviceConnectStateCertified: return 8 + case .pokemongoPlusDeviceConnectStateSoftwareUpdate: return 9 + case .pokemongoPlusDeviceConnectStateFailed: return 10 + case .pokemongoPlusDeviceConnectStateConnecting: return 11 + case .pokemongoPlusDeviceConnectStateRejected: return 12 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension DeviceConnectState: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeviceConnectState] = [ + .pokemongoPlusDeviceConnectStateDisconnected, + .pokemongoPlusDeviceConnectStateDisconnecting, + .pokemongoPlusDeviceConnectStateConnected, + .pokemongoPlusDeviceConnectStateDiscovered, + .pokemongoPlusDeviceConnectStateUserFirstConnect, + .pokemongoPlusDeviceConnectStateUserDialogFirstConnect, + .pokemongoPlusDeviceConnectStateUserDialogReconnect, + .pokemongoPlusDeviceConnectStateUserDialogReconnectReject, + .pokemongoPlusDeviceConnectStateCertified, + .pokemongoPlusDeviceConnectStateSoftwareUpdate, + .pokemongoPlusDeviceConnectStateFailed, + .pokemongoPlusDeviceConnectStateConnecting, + .pokemongoPlusDeviceConnectStateRejected, + ] +} + +#endif // swift(>=4.2) + +public enum DeviceKind: SwiftProtobuf.Enum { + public typealias RawValue = Int + case pokemongoPlusDeviceKingPokemonGoPlus // = 0 + case pokemongoPlusDeviceKingUnset // = -1 + case pokemongoPlusDeviceKingPokeBallPlus // = 1 + case pokemongoPlusDeviceKingWaina // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .pokemongoPlusDeviceKingPokemonGoPlus + } + + public init?(rawValue: Int) { + switch rawValue { + case -1: self = .pokemongoPlusDeviceKingUnset + case 0: self = .pokemongoPlusDeviceKingPokemonGoPlus + case 1: self = .pokemongoPlusDeviceKingPokeBallPlus + case 2: self = .pokemongoPlusDeviceKingWaina + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .pokemongoPlusDeviceKingUnset: return -1 + case .pokemongoPlusDeviceKingPokemonGoPlus: return 0 + case .pokemongoPlusDeviceKingPokeBallPlus: return 1 + case .pokemongoPlusDeviceKingWaina: return 2 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension DeviceKind: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeviceKind] = [ + .pokemongoPlusDeviceKingPokemonGoPlus, + .pokemongoPlusDeviceKingUnset, + .pokemongoPlusDeviceKingPokeBallPlus, + .pokemongoPlusDeviceKingWaina, + ] +} + +#endif // swift(>=4.2) + public enum DeviceServiceTelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int case undefinedDeviceService // = 0 @@ -2150,6 +2730,58 @@ extension DeviceType: CaseIterable { #endif // swift(>=4.2) +public enum DownstreamActionMethod: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownDownstreamAction // = 0 + case downstreamActionNewInboxMessageAction // = 121000 + case downstreamActionCustomDownstreamAction // = 121001 + case downstreamActionChatSignal // = 121002 + case downstreamActionChatMessage // = 121003 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownDownstreamAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownDownstreamAction + case 121000: self = .downstreamActionNewInboxMessageAction + case 121001: self = .downstreamActionCustomDownstreamAction + case 121002: self = .downstreamActionChatSignal + case 121003: self = .downstreamActionChatMessage + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownDownstreamAction: return 0 + case .downstreamActionNewInboxMessageAction: return 121000 + case .downstreamActionCustomDownstreamAction: return 121001 + case .downstreamActionChatSignal: return 121002 + case .downstreamActionChatMessage: return 121003 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension DownstreamActionMethod: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DownstreamActionMethod] = [ + .unknownDownstreamAction, + .downstreamActionNewInboxMessageAction, + .downstreamActionCustomDownstreamAction, + .downstreamActionChatSignal, + .downstreamActionChatMessage, + ] +} + +#endif // swift(>=4.2) + public enum EggIncubatorType: SwiftProtobuf.Enum { public typealias RawValue = Int case incubatorUnset // = 0 @@ -2249,6 +2881,8 @@ public enum EncounterType: SwiftProtobuf.Enum { case powerUpPokestop // = 14 case butterflyCollector // = 15 case route // = 17 + case partyQuest // = 18 + case badgeReward // = 19 case UNRECOGNIZED(Int) public init() { @@ -2274,6 +2908,8 @@ public enum EncounterType: SwiftProtobuf.Enum { case 14: self = .powerUpPokestop case 15: self = .butterflyCollector case 17: self = .route + case 18: self = .partyQuest + case 19: self = .badgeReward default: self = .UNRECOGNIZED(rawValue) } } @@ -2297,6 +2933,8 @@ public enum EncounterType: SwiftProtobuf.Enum { case .powerUpPokestop: return 14 case .butterflyCollector: return 15 case .route: return 17 + case .partyQuest: return 18 + case .badgeReward: return 19 case .UNRECOGNIZED(let i): return i } } @@ -2325,36 +2963,89 @@ extension EncounterType: CaseIterable { .powerUpPokestop, .butterflyCollector, .route, + .partyQuest, + .badgeReward, + ] +} + +#endif // swift(>=4.2) + +public enum EnterUsernameMode: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefinedUsernameEntryMode // = 0 + case newUser // = 1 + case changeBannedName // = 2 + case existingUserChangeName // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .undefinedUsernameEntryMode + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefinedUsernameEntryMode + case 1: self = .newUser + case 2: self = .changeBannedName + case 3: self = .existingUserChangeName + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefinedUsernameEntryMode: return 0 + case .newUser: return 1 + case .changeBannedName: return 2 + case .existingUserChangeName: return 3 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension EnterUsernameMode: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [EnterUsernameMode] = [ + .undefinedUsernameEntryMode, + .newUser, + .changeBannedName, + .existingUserChangeName, ] } #endif // swift(>=4.2) -public enum EventTypeStatus: SwiftProtobuf.Enum { +public enum EntryPointForContestEntry: SwiftProtobuf.Enum { public typealias RawValue = Int - case eventUnset // = 0 - case sleepingPokemon // = 1 - case photoSafari // = 2 + case entryPointUnset // = 0 + case suggestedFromContestPage // = 1 + case switchPokemonContestPage // = 2 + case suggestedAfterPokemonCatch // = 3 case UNRECOGNIZED(Int) public init() { - self = .eventUnset + self = .entryPointUnset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .eventUnset - case 1: self = .sleepingPokemon - case 2: self = .photoSafari + case 0: self = .entryPointUnset + case 1: self = .suggestedFromContestPage + case 2: self = .switchPokemonContestPage + case 3: self = .suggestedAfterPokemonCatch default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .eventUnset: return 0 - case .sleepingPokemon: return 1 - case .photoSafari: return 2 + case .entryPointUnset: return 0 + case .suggestedFromContestPage: return 1 + case .switchPokemonContestPage: return 2 + case .suggestedAfterPokemonCatch: return 3 case .UNRECOGNIZED(let i): return i } } @@ -2363,18 +3054,375 @@ public enum EventTypeStatus: SwiftProtobuf.Enum { #if swift(>=4.2) -extension EventTypeStatus: CaseIterable { +extension EntryPointForContestEntry: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EventTypeStatus] = [ - .eventUnset, - .sleepingPokemon, - .photoSafari, + public static var allCases: [EntryPointForContestEntry] = [ + .entryPointUnset, + .suggestedFromContestPage, + .switchPokemonContestPage, + .suggestedAfterPokemonCatch, ] } #endif // swift(>=4.2) public enum FeatureKind: SwiftProtobuf.Enum { + public typealias RawValue = Int + case kindUndefined // = 0 + case kindBasin // = 1 + case kindCanal // = 2 + case kindCemetery // = 3 + case kindCommercial // = 6 + case kindDitch // = 9 + case kindDrain // = 11 + case kindFarm // = 12 + case kindFarmland // = 13 + case kindForest // = 16 + case kindGarden // = 17 + case kindGlacier // = 18 + case kindGolfCourse // = 19 + case kindGrass // = 20 + case kindHighway // = 21 + case kindHotel // = 23 + case kindIndustrial // = 24 + case kindLake // = 25 + case kindMajorRoad // = 28 + case kindMeadow // = 29 + case kindMinorRoad // = 30 + case kindNatureReserve // = 31 + case kindOcean // = 32 + case kindPark // = 33 + case kindParking // = 34 + case kindPath // = 35 + case kindPedestrian // = 36 + case kindPlaya // = 39 + case kindQuarry // = 41 + case kindRailway // = 42 + case kindRecreationArea // = 43 + case kindResidential // = 45 + case kindRetail // = 46 + case kindRiver // = 47 + case kindRiverbank // = 48 + case kindRunway // = 49 + case kindSchool // = 50 + case kindStream // = 53 + case kindTaxiway // = 54 + case kindWater // = 58 + case kindWetland // = 59 + case kindWood // = 60 + case kindOther // = 63 + case kindCountry // = 64 + case kindRegion // = 65 + case kindCity // = 66 + case kindTown // = 67 + case kindAirport // = 68 + case kindBay // = 69 + case kindBorough // = 70 + case kindFjord // = 71 + case kindHamlet // = 72 + case kindMilitary // = 73 + case kindNationalPark // = 74 + case kindNeighborhood // = 75 + case kindPeak // = 76 + case kindPrison // = 77 + case kindProtectedArea // = 78 + case kindReef // = 79 + case kindRock // = 80 + case kindSand // = 81 + case kindScrub // = 82 + case kindSea // = 83 + case kindStrait // = 84 + case kindValley // = 85 + case kindVillage // = 86 + case kindLightRail // = 87 + case kindPlatform // = 88 + case kindStation // = 89 + case kindSubway // = 90 + case kindAgricultural // = 91 + case kindEducation // = 92 + case kindGovernment // = 93 + case kindHealthcare // = 94 + case kindLandmark // = 95 + case kindReligious // = 96 + case kindServices // = 97 + case kindSports // = 98 + case kindTransportation // = 99 + case kindUnused // = 100 + case kindBiome // = 101 + case UNRECOGNIZED(Int) + + public init() { + self = .kindUndefined + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .kindUndefined + case 1: self = .kindBasin + case 2: self = .kindCanal + case 3: self = .kindCemetery + case 6: self = .kindCommercial + case 9: self = .kindDitch + case 11: self = .kindDrain + case 12: self = .kindFarm + case 13: self = .kindFarmland + case 16: self = .kindForest + case 17: self = .kindGarden + case 18: self = .kindGlacier + case 19: self = .kindGolfCourse + case 20: self = .kindGrass + case 21: self = .kindHighway + case 23: self = .kindHotel + case 24: self = .kindIndustrial + case 25: self = .kindLake + case 28: self = .kindMajorRoad + case 29: self = .kindMeadow + case 30: self = .kindMinorRoad + case 31: self = .kindNatureReserve + case 32: self = .kindOcean + case 33: self = .kindPark + case 34: self = .kindParking + case 35: self = .kindPath + case 36: self = .kindPedestrian + case 39: self = .kindPlaya + case 41: self = .kindQuarry + case 42: self = .kindRailway + case 43: self = .kindRecreationArea + case 45: self = .kindResidential + case 46: self = .kindRetail + case 47: self = .kindRiver + case 48: self = .kindRiverbank + case 49: self = .kindRunway + case 50: self = .kindSchool + case 53: self = .kindStream + case 54: self = .kindTaxiway + case 58: self = .kindWater + case 59: self = .kindWetland + case 60: self = .kindWood + case 63: self = .kindOther + case 64: self = .kindCountry + case 65: self = .kindRegion + case 66: self = .kindCity + case 67: self = .kindTown + case 68: self = .kindAirport + case 69: self = .kindBay + case 70: self = .kindBorough + case 71: self = .kindFjord + case 72: self = .kindHamlet + case 73: self = .kindMilitary + case 74: self = .kindNationalPark + case 75: self = .kindNeighborhood + case 76: self = .kindPeak + case 77: self = .kindPrison + case 78: self = .kindProtectedArea + case 79: self = .kindReef + case 80: self = .kindRock + case 81: self = .kindSand + case 82: self = .kindScrub + case 83: self = .kindSea + case 84: self = .kindStrait + case 85: self = .kindValley + case 86: self = .kindVillage + case 87: self = .kindLightRail + case 88: self = .kindPlatform + case 89: self = .kindStation + case 90: self = .kindSubway + case 91: self = .kindAgricultural + case 92: self = .kindEducation + case 93: self = .kindGovernment + case 94: self = .kindHealthcare + case 95: self = .kindLandmark + case 96: self = .kindReligious + case 97: self = .kindServices + case 98: self = .kindSports + case 99: self = .kindTransportation + case 100: self = .kindUnused + case 101: self = .kindBiome + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .kindUndefined: return 0 + case .kindBasin: return 1 + case .kindCanal: return 2 + case .kindCemetery: return 3 + case .kindCommercial: return 6 + case .kindDitch: return 9 + case .kindDrain: return 11 + case .kindFarm: return 12 + case .kindFarmland: return 13 + case .kindForest: return 16 + case .kindGarden: return 17 + case .kindGlacier: return 18 + case .kindGolfCourse: return 19 + case .kindGrass: return 20 + case .kindHighway: return 21 + case .kindHotel: return 23 + case .kindIndustrial: return 24 + case .kindLake: return 25 + case .kindMajorRoad: return 28 + case .kindMeadow: return 29 + case .kindMinorRoad: return 30 + case .kindNatureReserve: return 31 + case .kindOcean: return 32 + case .kindPark: return 33 + case .kindParking: return 34 + case .kindPath: return 35 + case .kindPedestrian: return 36 + case .kindPlaya: return 39 + case .kindQuarry: return 41 + case .kindRailway: return 42 + case .kindRecreationArea: return 43 + case .kindResidential: return 45 + case .kindRetail: return 46 + case .kindRiver: return 47 + case .kindRiverbank: return 48 + case .kindRunway: return 49 + case .kindSchool: return 50 + case .kindStream: return 53 + case .kindTaxiway: return 54 + case .kindWater: return 58 + case .kindWetland: return 59 + case .kindWood: return 60 + case .kindOther: return 63 + case .kindCountry: return 64 + case .kindRegion: return 65 + case .kindCity: return 66 + case .kindTown: return 67 + case .kindAirport: return 68 + case .kindBay: return 69 + case .kindBorough: return 70 + case .kindFjord: return 71 + case .kindHamlet: return 72 + case .kindMilitary: return 73 + case .kindNationalPark: return 74 + case .kindNeighborhood: return 75 + case .kindPeak: return 76 + case .kindPrison: return 77 + case .kindProtectedArea: return 78 + case .kindReef: return 79 + case .kindRock: return 80 + case .kindSand: return 81 + case .kindScrub: return 82 + case .kindSea: return 83 + case .kindStrait: return 84 + case .kindValley: return 85 + case .kindVillage: return 86 + case .kindLightRail: return 87 + case .kindPlatform: return 88 + case .kindStation: return 89 + case .kindSubway: return 90 + case .kindAgricultural: return 91 + case .kindEducation: return 92 + case .kindGovernment: return 93 + case .kindHealthcare: return 94 + case .kindLandmark: return 95 + case .kindReligious: return 96 + case .kindServices: return 97 + case .kindSports: return 98 + case .kindTransportation: return 99 + case .kindUnused: return 100 + case .kindBiome: return 101 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension FeatureKind: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FeatureKind] = [ + .kindUndefined, + .kindBasin, + .kindCanal, + .kindCemetery, + .kindCommercial, + .kindDitch, + .kindDrain, + .kindFarm, + .kindFarmland, + .kindForest, + .kindGarden, + .kindGlacier, + .kindGolfCourse, + .kindGrass, + .kindHighway, + .kindHotel, + .kindIndustrial, + .kindLake, + .kindMajorRoad, + .kindMeadow, + .kindMinorRoad, + .kindNatureReserve, + .kindOcean, + .kindPark, + .kindParking, + .kindPath, + .kindPedestrian, + .kindPlaya, + .kindQuarry, + .kindRailway, + .kindRecreationArea, + .kindResidential, + .kindRetail, + .kindRiver, + .kindRiverbank, + .kindRunway, + .kindSchool, + .kindStream, + .kindTaxiway, + .kindWater, + .kindWetland, + .kindWood, + .kindOther, + .kindCountry, + .kindRegion, + .kindCity, + .kindTown, + .kindAirport, + .kindBay, + .kindBorough, + .kindFjord, + .kindHamlet, + .kindMilitary, + .kindNationalPark, + .kindNeighborhood, + .kindPeak, + .kindPrison, + .kindProtectedArea, + .kindReef, + .kindRock, + .kindSand, + .kindScrub, + .kindSea, + .kindStrait, + .kindValley, + .kindVillage, + .kindLightRail, + .kindPlatform, + .kindStation, + .kindSubway, + .kindAgricultural, + .kindEducation, + .kindGovernment, + .kindHealthcare, + .kindLandmark, + .kindReligious, + .kindServices, + .kindSports, + .kindTransportation, + .kindUnused, + .kindBiome, + ] +} + +#endif // swift(>=4.2) + +public enum FeaturesFeatureKind: SwiftProtobuf.Enum { public typealias RawValue = Int case undefined // = 0 case basin // = 1 @@ -2456,6 +3504,7 @@ public enum FeatureKind: SwiftProtobuf.Enum { case sports // = 98 case transportation // = 99 case unused // = 100 + case biome // = 101 case UNRECOGNIZED(Int) public init() { @@ -2544,6 +3593,7 @@ public enum FeatureKind: SwiftProtobuf.Enum { case 98: self = .sports case 99: self = .transportation case 100: self = .unused + case 101: self = .biome default: self = .UNRECOGNIZED(rawValue) } } @@ -2630,6 +3680,7 @@ public enum FeatureKind: SwiftProtobuf.Enum { case .sports: return 98 case .transportation: return 99 case .unused: return 100 + case .biome: return 101 case .UNRECOGNIZED(let i): return i } } @@ -2638,9 +3689,9 @@ public enum FeatureKind: SwiftProtobuf.Enum { #if swift(>=4.2) -extension FeatureKind: CaseIterable { +extension FeaturesFeatureKind: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FeatureKind] = [ + public static var allCases: [FeaturesFeatureKind] = [ .undefined, .basin, .canal, @@ -2721,6 +3772,7 @@ extension FeatureKind: CaseIterable { .sports, .transportation, .unused, + .biome, ] } @@ -2926,52 +3978,46 @@ extension FriendshipLevelMilestone: CaseIterable { #endif // swift(>=4.2) -public enum GameAction: SwiftProtobuf.Enum { +public enum GameAccountRegistryActions: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknownGameAction // = 0 - case gamePurchaseSku // = 310000 - case gameGetAvailableSkusAndBalances // = 310001 - case gameSetInGameCurrencyExchangeRate // = 310002 - case gameRedeemGoogleReceipt // = 310100 - case gameRedeemAppleReceipt // = 310101 - case gameRedeemDesktopReceipt // = 310102 - case gameRedeemSamsungReceipt // = 310103 - case gameGetAvailableSubscriptions // = 310200 - case gameGetActiveSubscriptions // = 310201 + case unknownGameAccountRegistryAction // = 0 + case gameAccountRegistryActionAddLoginAction // = 600000 + case gameAccountRegistryActionRemoveLoginAction // = 600001 + case gameAccountRegistryActionListLoginAction // = 600002 + case gameAccountRegistryActionReplaceLoginAction // = 600003 + case etBirthdayAction // = 600004 + case gameAccountRegistryActionGarProxyAction // = 600005 + case gameAccountRegistryActionLinkToAccountLoginAction // = 600006 case UNRECOGNIZED(Int) public init() { - self = .unknownGameAction + self = .unknownGameAccountRegistryAction } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknownGameAction - case 310000: self = .gamePurchaseSku - case 310001: self = .gameGetAvailableSkusAndBalances - case 310002: self = .gameSetInGameCurrencyExchangeRate - case 310100: self = .gameRedeemGoogleReceipt - case 310101: self = .gameRedeemAppleReceipt - case 310102: self = .gameRedeemDesktopReceipt - case 310103: self = .gameRedeemSamsungReceipt - case 310200: self = .gameGetAvailableSubscriptions - case 310201: self = .gameGetActiveSubscriptions + case 0: self = .unknownGameAccountRegistryAction + case 600000: self = .gameAccountRegistryActionAddLoginAction + case 600001: self = .gameAccountRegistryActionRemoveLoginAction + case 600002: self = .gameAccountRegistryActionListLoginAction + case 600003: self = .gameAccountRegistryActionReplaceLoginAction + case 600004: self = .etBirthdayAction + case 600005: self = .gameAccountRegistryActionGarProxyAction + case 600006: self = .gameAccountRegistryActionLinkToAccountLoginAction default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknownGameAction: return 0 - case .gamePurchaseSku: return 310000 - case .gameGetAvailableSkusAndBalances: return 310001 - case .gameSetInGameCurrencyExchangeRate: return 310002 - case .gameRedeemGoogleReceipt: return 310100 - case .gameRedeemAppleReceipt: return 310101 - case .gameRedeemDesktopReceipt: return 310102 - case .gameRedeemSamsungReceipt: return 310103 - case .gameGetAvailableSubscriptions: return 310200 - case .gameGetActiveSubscriptions: return 310201 + case .unknownGameAccountRegistryAction: return 0 + case .gameAccountRegistryActionAddLoginAction: return 600000 + case .gameAccountRegistryActionRemoveLoginAction: return 600001 + case .gameAccountRegistryActionListLoginAction: return 600002 + case .gameAccountRegistryActionReplaceLoginAction: return 600003 + case .etBirthdayAction: return 600004 + case .gameAccountRegistryActionGarProxyAction: return 600005 + case .gameAccountRegistryActionLinkToAccountLoginAction: return 600006 case .UNRECOGNIZED(let i): return i } } @@ -2980,67 +4026,17 @@ public enum GameAction: SwiftProtobuf.Enum { #if swift(>=4.2) -extension GameAction: CaseIterable { +extension GameAccountRegistryActions: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GameAction] = [ - .unknownGameAction, - .gamePurchaseSku, - .gameGetAvailableSkusAndBalances, - .gameSetInGameCurrencyExchangeRate, - .gameRedeemGoogleReceipt, - .gameRedeemAppleReceipt, - .gameRedeemDesktopReceipt, - .gameRedeemSamsungReceipt, - .gameGetAvailableSubscriptions, - .gameGetActiveSubscriptions, - ] -} - -#endif // swift(>=4.2) - -public enum GameActionClient: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknownGameBackgroundModeAction // = 0 - case registerBackgroundService // = 230000 - case getClientBgmodeSettings // = 230001 - case getAdventureSyncProgress // = 230002 - case UNRECOGNIZED(Int) - - public init() { - self = .unknownGameBackgroundModeAction - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknownGameBackgroundModeAction - case 230000: self = .registerBackgroundService - case 230001: self = .getClientBgmodeSettings - case 230002: self = .getAdventureSyncProgress - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknownGameBackgroundModeAction: return 0 - case .registerBackgroundService: return 230000 - case .getClientBgmodeSettings: return 230001 - case .getAdventureSyncProgress: return 230002 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension GameActionClient: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GameActionClient] = [ - .unknownGameBackgroundModeAction, - .registerBackgroundService, - .getClientBgmodeSettings, - .getAdventureSyncProgress, + public static var allCases: [GameAccountRegistryActions] = [ + .unknownGameAccountRegistryAction, + .gameAccountRegistryActionAddLoginAction, + .gameAccountRegistryActionRemoveLoginAction, + .gameAccountRegistryActionListLoginAction, + .gameAccountRegistryActionReplaceLoginAction, + .etBirthdayAction, + .gameAccountRegistryActionGarProxyAction, + .gameAccountRegistryActionLinkToAccountLoginAction, ] } @@ -3049,11 +4045,12 @@ extension GameActionClient: CaseIterable { public enum GameAdventureSyncAction: SwiftProtobuf.Enum { public typealias RawValue = Int case unknownGameLocationAwarenessAction // = 0 - case requestGeofenceUpdates1 // = 360000 - case updatePlayerLocation1 // = 360001 - case updateBreadcrumbHistory // = 361000 - case refreshProximityTokens // = 362000 - case reportProximityContacts // = 362001 + case gameLocationAwarenessActionRequestGeofenceUpdates // = 360000 + case gameLocationAwarenessActionUpdatePlayerLocation // = 360001 + case gameLocationAwarenessActionBulkUpdatePlayerLocation // = 360002 + case gameLocationAwarenessActionUpdateBreadcrumbHistory // = 361000 + case gameLocationAwarenessActionRefreshProximityTokens // = 362000 + case gameLocationAwarenessActionReportProximityContacts // = 362001 case UNRECOGNIZED(Int) public init() { @@ -3063,11 +4060,12 @@ public enum GameAdventureSyncAction: SwiftProtobuf.Enum { public init?(rawValue: Int) { switch rawValue { case 0: self = .unknownGameLocationAwarenessAction - case 360000: self = .requestGeofenceUpdates1 - case 360001: self = .updatePlayerLocation1 - case 361000: self = .updateBreadcrumbHistory - case 362000: self = .refreshProximityTokens - case 362001: self = .reportProximityContacts + case 360000: self = .gameLocationAwarenessActionRequestGeofenceUpdates + case 360001: self = .gameLocationAwarenessActionUpdatePlayerLocation + case 360002: self = .gameLocationAwarenessActionBulkUpdatePlayerLocation + case 361000: self = .gameLocationAwarenessActionUpdateBreadcrumbHistory + case 362000: self = .gameLocationAwarenessActionRefreshProximityTokens + case 362001: self = .gameLocationAwarenessActionReportProximityContacts default: self = .UNRECOGNIZED(rawValue) } } @@ -3075,11 +4073,12 @@ public enum GameAdventureSyncAction: SwiftProtobuf.Enum { public var rawValue: Int { switch self { case .unknownGameLocationAwarenessAction: return 0 - case .requestGeofenceUpdates1: return 360000 - case .updatePlayerLocation1: return 360001 - case .updateBreadcrumbHistory: return 361000 - case .refreshProximityTokens: return 362000 - case .reportProximityContacts: return 362001 + case .gameLocationAwarenessActionRequestGeofenceUpdates: return 360000 + case .gameLocationAwarenessActionUpdatePlayerLocation: return 360001 + case .gameLocationAwarenessActionBulkUpdatePlayerLocation: return 360002 + case .gameLocationAwarenessActionUpdateBreadcrumbHistory: return 361000 + case .gameLocationAwarenessActionRefreshProximityTokens: return 362000 + case .gameLocationAwarenessActionReportProximityContacts: return 362001 case .UNRECOGNIZED(let i): return i } } @@ -3092,53 +4091,42 @@ extension GameAdventureSyncAction: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. public static var allCases: [GameAdventureSyncAction] = [ .unknownGameLocationAwarenessAction, - .requestGeofenceUpdates1, - .updatePlayerLocation1, - .updateBreadcrumbHistory, - .refreshProximityTokens, - .reportProximityContacts, + .gameLocationAwarenessActionRequestGeofenceUpdates, + .gameLocationAwarenessActionUpdatePlayerLocation, + .gameLocationAwarenessActionBulkUpdatePlayerLocation, + .gameLocationAwarenessActionUpdateBreadcrumbHistory, + .gameLocationAwarenessActionRefreshProximityTokens, + .gameLocationAwarenessActionReportProximityContacts, ] } #endif // swift(>=4.2) -public enum GameFitnessAction: SwiftProtobuf.Enum { +public enum GameAnticheatAction: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknownGameFitnessAction // = 0 - case updateFitnessMetrics1 // = 640000 - case getFitnessReport1 // = 640001 - case getAdventureSyncSettings1 // = 640002 - case updateAdventureSyncSettings1 // = 640003 - case updateAdventureSyncFitness // = 640004 - case getAdventureSyncFitnessReport // = 640005 + case unknownGameAnticheatAction // = 0 + case getOutstandingWarnings // = 200000 + case acknowledgeWarnings // = 200001 case UNRECOGNIZED(Int) public init() { - self = .unknownGameFitnessAction + self = .unknownGameAnticheatAction } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknownGameFitnessAction - case 640000: self = .updateFitnessMetrics1 - case 640001: self = .getFitnessReport1 - case 640002: self = .getAdventureSyncSettings1 - case 640003: self = .updateAdventureSyncSettings1 - case 640004: self = .updateAdventureSyncFitness - case 640005: self = .getAdventureSyncFitnessReport + case 0: self = .unknownGameAnticheatAction + case 200000: self = .getOutstandingWarnings + case 200001: self = .acknowledgeWarnings default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknownGameFitnessAction: return 0 - case .updateFitnessMetrics1: return 640000 - case .getFitnessReport1: return 640001 - case .getAdventureSyncSettings1: return 640002 - case .updateAdventureSyncSettings1: return 640003 - case .updateAdventureSyncFitness: return 640004 - case .getAdventureSyncFitnessReport: return 640005 + case .unknownGameAnticheatAction: return 0 + case .getOutstandingWarnings: return 200000 + case .acknowledgeWarnings: return 200001 case .UNRECOGNIZED(let i): return i } } @@ -3147,43 +4135,39 @@ public enum GameFitnessAction: SwiftProtobuf.Enum { #if swift(>=4.2) -extension GameFitnessAction: CaseIterable { +extension GameAnticheatAction: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GameFitnessAction] = [ - .unknownGameFitnessAction, - .updateFitnessMetrics1, - .getFitnessReport1, - .getAdventureSyncSettings1, - .updateAdventureSyncSettings1, - .updateAdventureSyncFitness, - .getAdventureSyncFitnessReport, + public static var allCases: [GameAnticheatAction] = [ + .unknownGameAnticheatAction, + .getOutstandingWarnings, + .acknowledgeWarnings, ] } #endif // swift(>=4.2) -public enum GameOthersAction: SwiftProtobuf.Enum { +public enum GameAuthenticationActionMethod: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknownGameOtherAction // = 0 - case getGameAccessToken // = 600005 + case unknownGameAuthenticationAction // = 0 + case gameAuthenticationActionRotateGuestLoginSecretToken // = 250011 case UNRECOGNIZED(Int) public init() { - self = .unknownGameOtherAction + self = .unknownGameAuthenticationAction } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknownGameOtherAction - case 600005: self = .getGameAccessToken + case 0: self = .unknownGameAuthenticationAction + case 250011: self = .gameAuthenticationActionRotateGuestLoginSecretToken default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknownGameOtherAction: return 0 - case .getGameAccessToken: return 600005 + case .unknownGameAuthenticationAction: return 0 + case .gameAuthenticationActionRotateGuestLoginSecretToken: return 250011 case .UNRECOGNIZED(let i): return i } } @@ -3192,47 +4176,44 @@ public enum GameOthersAction: SwiftProtobuf.Enum { #if swift(>=4.2) -extension GameOthersAction: CaseIterable { +extension GameAuthenticationActionMethod: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GameOthersAction] = [ - .unknownGameOtherAction, - .getGameAccessToken, + public static var allCases: [GameAuthenticationActionMethod] = [ + .unknownGameAuthenticationAction, + .gameAuthenticationActionRotateGuestLoginSecretToken, ] } #endif // swift(>=4.2) -public enum GenericClickTelemetryIds: SwiftProtobuf.Enum { +public enum GameBackgroundModeAction: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefinedGenericEvent // = 0 - case speedWarningShow // = 1 - case speedWarningPassenger // = 2 - case cacheResetClicked // = 3 - case refundPageOpened // = 4 + case unknownGameBackgroundModeAction // = 0 + case registerBackgroundService // = 230000 + case getClientBgmodeSettings // = 230001 + case getAdventureSyncProgress // = 230002 case UNRECOGNIZED(Int) public init() { - self = .undefinedGenericEvent + self = .unknownGameBackgroundModeAction } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefinedGenericEvent - case 1: self = .speedWarningShow - case 2: self = .speedWarningPassenger - case 3: self = .cacheResetClicked - case 4: self = .refundPageOpened + case 0: self = .unknownGameBackgroundModeAction + case 230000: self = .registerBackgroundService + case 230001: self = .getClientBgmodeSettings + case 230002: self = .getAdventureSyncProgress default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefinedGenericEvent: return 0 - case .speedWarningShow: return 1 - case .speedWarningPassenger: return 2 - case .cacheResetClicked: return 3 - case .refundPageOpened: return 4 + case .unknownGameBackgroundModeAction: return 0 + case .registerBackgroundService: return 230000 + case .getClientBgmodeSettings: return 230001 + case .getAdventureSyncProgress: return 230002 case .UNRECOGNIZED(let i): return i } } @@ -3241,41 +4222,40 @@ public enum GenericClickTelemetryIds: SwiftProtobuf.Enum { #if swift(>=4.2) -extension GenericClickTelemetryIds: CaseIterable { +extension GameBackgroundModeAction: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GenericClickTelemetryIds] = [ - .undefinedGenericEvent, - .speedWarningShow, - .speedWarningPassenger, - .cacheResetClicked, - .refundPageOpened, + public static var allCases: [GameBackgroundModeAction] = [ + .unknownGameBackgroundModeAction, + .registerBackgroundService, + .getClientBgmodeSettings, + .getAdventureSyncProgress, ] } #endif // swift(>=4.2) -public enum GeodataType: SwiftProtobuf.Enum { +public enum GameChatActions: SwiftProtobuf.Enum { public typealias RawValue = Int - case unspecifiedGeodataType // = 0 - case poi // = 1 + case unknownGameChatAction // = 0 + case gameChatActionProxyChatAction // = 660000 case UNRECOGNIZED(Int) public init() { - self = .unspecifiedGeodataType + self = .unknownGameChatAction } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unspecifiedGeodataType - case 1: self = .poi + case 0: self = .unknownGameChatAction + case 660000: self = .gameChatActionProxyChatAction default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unspecifiedGeodataType: return 0 - case .poi: return 1 + case .unknownGameChatAction: return 0 + case .gameChatActionProxyChatAction: return 660000 case .UNRECOGNIZED(let i): return i } } @@ -3284,11 +4264,759 @@ public enum GeodataType: SwiftProtobuf.Enum { #if swift(>=4.2) -extension GeodataType: CaseIterable { +extension GameChatActions: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GeodataType] = [ - .unspecifiedGeodataType, - .poi, + public static var allCases: [GameChatActions] = [ + .unknownGameChatAction, + .gameChatActionProxyChatAction, + ] +} + +#endif // swift(>=4.2) + +public enum GameCrmActions: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownCrmAction // = 0 + case crmActionCrmProxyAction // = 680000 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownCrmAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownCrmAction + case 680000: self = .crmActionCrmProxyAction + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownCrmAction: return 0 + case .crmActionCrmProxyAction: return 680000 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GameCrmActions: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GameCrmActions] = [ + .unknownCrmAction, + .crmActionCrmProxyAction, + ] +} + +#endif // swift(>=4.2) + +public enum GameFitnessAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGameFitnessAction // = 0 + case updateFitnessMetrics // = 640000 + case getFitnessReport // = 640001 + case getAdventureSyncSettings // = 640002 + case updateAdventureSyncSettings // = 640003 + case updateAdventureSyncFitness // = 640004 + case getAdventureSyncFitnessReport // = 640005 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGameFitnessAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGameFitnessAction + case 640000: self = .updateFitnessMetrics + case 640001: self = .getFitnessReport + case 640002: self = .getAdventureSyncSettings + case 640003: self = .updateAdventureSyncSettings + case 640004: self = .updateAdventureSyncFitness + case 640005: self = .getAdventureSyncFitnessReport + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGameFitnessAction: return 0 + case .updateFitnessMetrics: return 640000 + case .getFitnessReport: return 640001 + case .getAdventureSyncSettings: return 640002 + case .updateAdventureSyncSettings: return 640003 + case .updateAdventureSyncFitness: return 640004 + case .getAdventureSyncFitnessReport: return 640005 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GameFitnessAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GameFitnessAction] = [ + .unknownGameFitnessAction, + .updateFitnessMetrics, + .getFitnessReport, + .getAdventureSyncSettings, + .updateAdventureSyncSettings, + .updateAdventureSyncFitness, + .getAdventureSyncFitnessReport, + ] +} + +#endif // swift(>=4.2) + +public enum GameGmTemplatesAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGameGmTemplatesAction // = 0 + case downloadGameMasterTemplates // = 340000 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGameGmTemplatesAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGameGmTemplatesAction + case 340000: self = .downloadGameMasterTemplates + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGameGmTemplatesAction: return 0 + case .downloadGameMasterTemplates: return 340000 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GameGmTemplatesAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GameGmTemplatesAction] = [ + .unknownGameGmTemplatesAction, + .downloadGameMasterTemplates, + ] +} + +#endif // swift(>=4.2) + +public enum GameIapAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGameIapAction // = 0 + case purchaseSku // = 310000 + case getAvailableSkusAndBalances // = 310001 + case setInGameCurrencyExchangeRate // = 310002 + case purchaseWebSku // = 310003 + case redeemGoogleReceipt // = 310100 + case redeemAppleReceipt // = 310101 + case redeemDesktopReceipt // = 310102 + case redeemSamsungReceipt // = 310103 + case getAvailableSubscriptions // = 310200 + case getActiveSubscriptions // = 310201 + case redeemXsollaReceipt // = 311100 + case getWebstoreUser // = 311101 + case refundIapReceipt // = 311102 + case getAvailableSkusAnonymous // = 311103 + case redeemWebstoreReceipt // = 311104 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGameIapAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGameIapAction + case 310000: self = .purchaseSku + case 310001: self = .getAvailableSkusAndBalances + case 310002: self = .setInGameCurrencyExchangeRate + case 310003: self = .purchaseWebSku + case 310100: self = .redeemGoogleReceipt + case 310101: self = .redeemAppleReceipt + case 310102: self = .redeemDesktopReceipt + case 310103: self = .redeemSamsungReceipt + case 310200: self = .getAvailableSubscriptions + case 310201: self = .getActiveSubscriptions + case 311100: self = .redeemXsollaReceipt + case 311101: self = .getWebstoreUser + case 311102: self = .refundIapReceipt + case 311103: self = .getAvailableSkusAnonymous + case 311104: self = .redeemWebstoreReceipt + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGameIapAction: return 0 + case .purchaseSku: return 310000 + case .getAvailableSkusAndBalances: return 310001 + case .setInGameCurrencyExchangeRate: return 310002 + case .purchaseWebSku: return 310003 + case .redeemGoogleReceipt: return 310100 + case .redeemAppleReceipt: return 310101 + case .redeemDesktopReceipt: return 310102 + case .redeemSamsungReceipt: return 310103 + case .getAvailableSubscriptions: return 310200 + case .getActiveSubscriptions: return 310201 + case .redeemXsollaReceipt: return 311100 + case .getWebstoreUser: return 311101 + case .refundIapReceipt: return 311102 + case .getAvailableSkusAnonymous: return 311103 + case .redeemWebstoreReceipt: return 311104 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GameIapAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GameIapAction] = [ + .unknownGameIapAction, + .purchaseSku, + .getAvailableSkusAndBalances, + .setInGameCurrencyExchangeRate, + .purchaseWebSku, + .redeemGoogleReceipt, + .redeemAppleReceipt, + .redeemDesktopReceipt, + .redeemSamsungReceipt, + .getAvailableSubscriptions, + .getActiveSubscriptions, + .redeemXsollaReceipt, + .getWebstoreUser, + .refundIapReceipt, + .getAvailableSkusAnonymous, + .redeemWebstoreReceipt, + ] +} + +#endif // swift(>=4.2) + +public enum GameNotificationAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGameNotificationAction // = 0 + case updateNotificationStatus // = 350000 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGameNotificationAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGameNotificationAction + case 350000: self = .updateNotificationStatus + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGameNotificationAction: return 0 + case .updateNotificationStatus: return 350000 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GameNotificationAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GameNotificationAction] = [ + .unknownGameNotificationAction, + .updateNotificationStatus, + ] +} + +#endif // swift(>=4.2) + +public enum GamePasscodeAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGamePasscodeAction // = 0 + case redeemPasscode // = 330000 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGamePasscodeAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGamePasscodeAction + case 330000: self = .redeemPasscode + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGamePasscodeAction: return 0 + case .redeemPasscode: return 330000 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GamePasscodeAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GamePasscodeAction] = [ + .unknownGamePasscodeAction, + .redeemPasscode, + ] +} + +#endif // swift(>=4.2) + +public enum GamePingAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGamePingAction // = 0 + case ping // = 220000 + case pingAsync // = 220001 + case pingDownstream // = 220002 + case pingOpen // = 221000 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGamePingAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGamePingAction + case 220000: self = .ping + case 220001: self = .pingAsync + case 220002: self = .pingDownstream + case 221000: self = .pingOpen + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGamePingAction: return 0 + case .ping: return 220000 + case .pingAsync: return 220001 + case .pingDownstream: return 220002 + case .pingOpen: return 221000 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GamePingAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GamePingAction] = [ + .unknownGamePingAction, + .ping, + .pingAsync, + .pingDownstream, + .pingOpen, + ] +} + +#endif // swift(>=4.2) + +public enum GamePlayerAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGamePlayerAction // = 0 + case getInventory // = 380000 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGamePlayerAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGamePlayerAction + case 380000: self = .getInventory + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGamePlayerAction: return 0 + case .getInventory: return 380000 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GamePlayerAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GamePlayerAction] = [ + .unknownGamePlayerAction, + .getInventory, + ] +} + +#endif // swift(>=4.2) + +public enum GamePoiAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGamePoiAction // = 0 + case addNewPoi // = 620000 + case getAvailableSubmissions // = 620001 + case getSignedURLForPhotoUpload // = 620002 + case getPlayerSubmissionValidationSettings // = 620003 + case submitPoiImage // = 620100 + case submitPoiTextMetadataUpdate // = 620101 + case submitPoiLocationUpdate // = 620102 + case submitPoiTakedownRequest // = 620103 + case submitSponsorPoiReport // = 620104 + case submitSponsorPoiLocationUpdate // = 620105 + case addNewRoute // = 620200 + case generateGmapSignedURL // = 620300 + case getGmapSettings // = 620301 + case submitPoiArVideoMetadata // = 620400 + case getGrapeshotFileUploadURL // = 620401 + case asyncFileUploadComplete // = 620402 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGamePoiAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGamePoiAction + case 620000: self = .addNewPoi + case 620001: self = .getAvailableSubmissions + case 620002: self = .getSignedURLForPhotoUpload + case 620003: self = .getPlayerSubmissionValidationSettings + case 620100: self = .submitPoiImage + case 620101: self = .submitPoiTextMetadataUpdate + case 620102: self = .submitPoiLocationUpdate + case 620103: self = .submitPoiTakedownRequest + case 620104: self = .submitSponsorPoiReport + case 620105: self = .submitSponsorPoiLocationUpdate + case 620200: self = .addNewRoute + case 620300: self = .generateGmapSignedURL + case 620301: self = .getGmapSettings + case 620400: self = .submitPoiArVideoMetadata + case 620401: self = .getGrapeshotFileUploadURL + case 620402: self = .asyncFileUploadComplete + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGamePoiAction: return 0 + case .addNewPoi: return 620000 + case .getAvailableSubmissions: return 620001 + case .getSignedURLForPhotoUpload: return 620002 + case .getPlayerSubmissionValidationSettings: return 620003 + case .submitPoiImage: return 620100 + case .submitPoiTextMetadataUpdate: return 620101 + case .submitPoiLocationUpdate: return 620102 + case .submitPoiTakedownRequest: return 620103 + case .submitSponsorPoiReport: return 620104 + case .submitSponsorPoiLocationUpdate: return 620105 + case .addNewRoute: return 620200 + case .generateGmapSignedURL: return 620300 + case .getGmapSettings: return 620301 + case .submitPoiArVideoMetadata: return 620400 + case .getGrapeshotFileUploadURL: return 620401 + case .asyncFileUploadComplete: return 620402 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GamePoiAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GamePoiAction] = [ + .unknownGamePoiAction, + .addNewPoi, + .getAvailableSubmissions, + .getSignedURLForPhotoUpload, + .getPlayerSubmissionValidationSettings, + .submitPoiImage, + .submitPoiTextMetadataUpdate, + .submitPoiLocationUpdate, + .submitPoiTakedownRequest, + .submitSponsorPoiReport, + .submitSponsorPoiLocationUpdate, + .addNewRoute, + .generateGmapSignedURL, + .getGmapSettings, + .submitPoiArVideoMetadata, + .getGrapeshotFileUploadURL, + .asyncFileUploadComplete, + ] +} + +#endif // swift(>=4.2) + +public enum GamePushNotificationAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGamePushNotificationAction // = 0 + case registerPushNotification // = 320000 + case unregisterPushNotification // = 320001 + case optOutPushNotificationCategory // = 320002 + case registerPushNotificationToken // = 320003 + case unregisterPushNotificationToken // = 320004 + case optOutPushNotificationTokenCategory // = 320005 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGamePushNotificationAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGamePushNotificationAction + case 320000: self = .registerPushNotification + case 320001: self = .unregisterPushNotification + case 320002: self = .optOutPushNotificationCategory + case 320003: self = .registerPushNotificationToken + case 320004: self = .unregisterPushNotificationToken + case 320005: self = .optOutPushNotificationTokenCategory + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGamePushNotificationAction: return 0 + case .registerPushNotification: return 320000 + case .unregisterPushNotification: return 320001 + case .optOutPushNotificationCategory: return 320002 + case .registerPushNotificationToken: return 320003 + case .unregisterPushNotificationToken: return 320004 + case .optOutPushNotificationTokenCategory: return 320005 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GamePushNotificationAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GamePushNotificationAction] = [ + .unknownGamePushNotificationAction, + .registerPushNotification, + .unregisterPushNotification, + .optOutPushNotificationCategory, + .registerPushNotificationToken, + .unregisterPushNotificationToken, + .optOutPushNotificationTokenCategory, + ] +} + +#endif // swift(>=4.2) + +public enum GameSocialAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGameSocialAction // = 0 + case proxySocialAction // = 630000 + case proxySocialSideChannelAction // = 630001 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGameSocialAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGameSocialAction + case 630000: self = .proxySocialAction + case 630001: self = .proxySocialSideChannelAction + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGameSocialAction: return 0 + case .proxySocialAction: return 630000 + case .proxySocialSideChannelAction: return 630001 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GameSocialAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GameSocialAction] = [ + .unknownGameSocialAction, + .proxySocialAction, + .proxySocialSideChannelAction, + ] +} + +#endif // swift(>=4.2) + +public enum GameTelemetryAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGameTelemetryAction // = 0 + case gameTelemetryActioCollectClientTelemetry // = 610000 + case gameTelemetryActioGetClientTelemetrySettings // = 610001 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGameTelemetryAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGameTelemetryAction + case 610000: self = .gameTelemetryActioCollectClientTelemetry + case 610001: self = .gameTelemetryActioGetClientTelemetrySettings + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGameTelemetryAction: return 0 + case .gameTelemetryActioCollectClientTelemetry: return 610000 + case .gameTelemetryActioGetClientTelemetrySettings: return 610001 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GameTelemetryAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GameTelemetryAction] = [ + .unknownGameTelemetryAction, + .gameTelemetryActioCollectClientTelemetry, + .gameTelemetryActioGetClientTelemetrySettings, + ] +} + +#endif // swift(>=4.2) + +public enum GameWebTokenAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownGameWebTokenAction // = 0 + case getWebTokenAction // = 370000 + case UNRECOGNIZED(Int) + + public init() { + self = .unknownGameWebTokenAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownGameWebTokenAction + case 370000: self = .getWebTokenAction + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknownGameWebTokenAction: return 0 + case .getWebTokenAction: return 370000 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GameWebTokenAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GameWebTokenAction] = [ + .unknownGameWebTokenAction, + .getWebTokenAction, + ] +} + +#endif // swift(>=4.2) + +public enum GenericClickTelemetryIds: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefinedGenericEvent // = 0 + case speedWarningShow // = 1 + case speedWarningPassenger // = 2 + case cacheResetClicked // = 3 + case refundPageOpened // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .undefinedGenericEvent + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefinedGenericEvent + case 1: self = .speedWarningShow + case 2: self = .speedWarningPassenger + case 3: self = .cacheResetClicked + case 4: self = .refundPageOpened + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefinedGenericEvent: return 0 + case .speedWarningShow: return 1 + case .speedWarningPassenger: return 2 + case .cacheResetClicked: return 3 + case .refundPageOpened: return 4 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension GenericClickTelemetryIds: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GenericClickTelemetryIds] = [ + .undefinedGenericEvent, + .speedWarningShow, + .speedWarningPassenger, + .cacheResetClicked, + .refundPageOpened, ] } @@ -3346,6 +5074,50 @@ extension GymBadgeType: CaseIterable { #endif // swift(>=4.2) +public enum HelpshiftAuthenticationFailureReason: SwiftProtobuf.Enum { + public typealias RawValue = Int + case helpshiftAuthenticatonFailureReasonAuthTokenNotProvided // = 0 + case helpshiftAuthenticatonFailureReasonInvalidAuthToken // = 1 + case helpshiftAuthenticatonFailureReasonUnknown // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .helpshiftAuthenticatonFailureReasonAuthTokenNotProvided + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .helpshiftAuthenticatonFailureReasonAuthTokenNotProvided + case 1: self = .helpshiftAuthenticatonFailureReasonInvalidAuthToken + case 2: self = .helpshiftAuthenticatonFailureReasonUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .helpshiftAuthenticatonFailureReasonAuthTokenNotProvided: return 0 + case .helpshiftAuthenticatonFailureReasonInvalidAuthToken: return 1 + case .helpshiftAuthenticatonFailureReasonUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension HelpshiftAuthenticationFailureReason: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [HelpshiftAuthenticationFailureReason] = [ + .helpshiftAuthenticatonFailureReasonAuthTokenNotProvided, + .helpshiftAuthenticatonFailureReasonInvalidAuthToken, + .helpshiftAuthenticatonFailureReasonUnknown, + ] +} + +#endif // swift(>=4.2) + public enum HoloActivityType: SwiftProtobuf.Enum { public typealias RawValue = Int case activityUnknown // = 0 @@ -3388,7 +5160,6 @@ public enum HoloActivityType: SwiftProtobuf.Enum { case activityFriendshipLevelUp3 // = 38 case activityFriendshipLevelUp4 // = 39 case activitySendGift // = 40 - case activityShareExRaidPass // = 41 case activityRaidLevel1AdditionalXp // = 42 case activityRaidLevel2AdditionalXp // = 43 case activityRaidLevel3AdditionalXp // = 44 @@ -3476,7 +5247,6 @@ public enum HoloActivityType: SwiftProtobuf.Enum { case 38: self = .activityFriendshipLevelUp3 case 39: self = .activityFriendshipLevelUp4 case 40: self = .activitySendGift - case 41: self = .activityShareExRaidPass case 42: self = .activityRaidLevel1AdditionalXp case 43: self = .activityRaidLevel2AdditionalXp case 44: self = .activityRaidLevel3AdditionalXp @@ -3562,7 +5332,6 @@ public enum HoloActivityType: SwiftProtobuf.Enum { case .activityFriendshipLevelUp3: return 38 case .activityFriendshipLevelUp4: return 39 case .activitySendGift: return 40 - case .activityShareExRaidPass: return 41 case .activityRaidLevel1AdditionalXp: return 42 case .activityRaidLevel2AdditionalXp: return 43 case .activityRaidLevel3AdditionalXp: return 44 @@ -3653,7 +5422,6 @@ extension HoloActivityType: CaseIterable { .activityFriendshipLevelUp3, .activityFriendshipLevelUp4, .activitySendGift, - .activityShareExRaidPass, .activityRaidLevel1AdditionalXp, .activityRaidLevel2AdditionalXp, .activityRaidLevel3AdditionalXp, @@ -4326,6 +6094,37 @@ public enum HoloBadgeType: SwiftProtobuf.Enum { case badgeSafari2023MexcityDay02 // = 5558 case badgeSafari2023MexcityAddOnHatch // = 5559 case badgeSafari2023MexcityAddOnRaid // = 5560 + case badgeGotour2024DiamondTest // = 5561 + case badgeGotour2024PearlTest // = 5562 + case badgeGotour2024Diamond // = 5563 + case badgeGotour2024Pearl // = 5564 + case badgeGotour2024Secret00 // = 5565 + case badgeGotour2024Secret01 // = 5566 + case badgeGotour2024Secret02 // = 5567 + case badgeGotour2024Secret03 // = 5568 + case badgeGotourLive2024TestPark // = 5569 + case badgeGotourLive2024TestCity // = 5570 + case badgeGotourLive2024DayPreview // = 5571 + case badgeGotourLive2024Day01Park // = 5572 + case badgeGotourLive2024Day01City // = 5573 + case badgeGotourLive2024Day02Park // = 5574 + case badgeGotourLive2024Day02City // = 5575 + case badgeGotourLive2024TestAddonHatch // = 5576 + case badgeGotourLive2024TestAddonRaid // = 5577 + case badgeGotourLive2024AddonHatch // = 5578 + case badgeGotourLive2024AddonRaid // = 5579 + case badgeGotourLive2024Vip // = 5580 + case badgeSafari2024TainanDay00 // = 5581 + case badgeSafari2024TainanDay01 // = 5582 + case badgeSafari2024TainanDay02 // = 5583 + case badgeSafari2024TainanAddOnHatchTest // = 5584 + case badgeSafari2024TainanAddOnRaidTest // = 5585 + case badgeSafari2024TainanAddOnHatch // = 5586 + case badgeSafari2024TainanAddOnRaid // = 5587 + case badgeAa2024BaliDay00 // = 5588 + case badgeAa2024BaliDay01 // = 5589 + case badgeAa2024BaliDay02 // = 5590 + case badgeAa2024BaliDay03 // = 5591 case UNRECOGNIZED(Int) public init() { @@ -4960,6 +6759,37 @@ public enum HoloBadgeType: SwiftProtobuf.Enum { case 5558: self = .badgeSafari2023MexcityDay02 case 5559: self = .badgeSafari2023MexcityAddOnHatch case 5560: self = .badgeSafari2023MexcityAddOnRaid + case 5561: self = .badgeGotour2024DiamondTest + case 5562: self = .badgeGotour2024PearlTest + case 5563: self = .badgeGotour2024Diamond + case 5564: self = .badgeGotour2024Pearl + case 5565: self = .badgeGotour2024Secret00 + case 5566: self = .badgeGotour2024Secret01 + case 5567: self = .badgeGotour2024Secret02 + case 5568: self = .badgeGotour2024Secret03 + case 5569: self = .badgeGotourLive2024TestPark + case 5570: self = .badgeGotourLive2024TestCity + case 5571: self = .badgeGotourLive2024DayPreview + case 5572: self = .badgeGotourLive2024Day01Park + case 5573: self = .badgeGotourLive2024Day01City + case 5574: self = .badgeGotourLive2024Day02Park + case 5575: self = .badgeGotourLive2024Day02City + case 5576: self = .badgeGotourLive2024TestAddonHatch + case 5577: self = .badgeGotourLive2024TestAddonRaid + case 5578: self = .badgeGotourLive2024AddonHatch + case 5579: self = .badgeGotourLive2024AddonRaid + case 5580: self = .badgeGotourLive2024Vip + case 5581: self = .badgeSafari2024TainanDay00 + case 5582: self = .badgeSafari2024TainanDay01 + case 5583: self = .badgeSafari2024TainanDay02 + case 5584: self = .badgeSafari2024TainanAddOnHatchTest + case 5585: self = .badgeSafari2024TainanAddOnRaidTest + case 5586: self = .badgeSafari2024TainanAddOnHatch + case 5587: self = .badgeSafari2024TainanAddOnRaid + case 5588: self = .badgeAa2024BaliDay00 + case 5589: self = .badgeAa2024BaliDay01 + case 5590: self = .badgeAa2024BaliDay02 + case 5591: self = .badgeAa2024BaliDay03 default: self = .UNRECOGNIZED(rawValue) } } @@ -5595,6 +7425,37 @@ public enum HoloBadgeType: SwiftProtobuf.Enum { case .badgeSafari2023MexcityDay02: return 5558 case .badgeSafari2023MexcityAddOnHatch: return 5559 case .badgeSafari2023MexcityAddOnRaid: return 5560 + case .badgeGotour2024DiamondTest: return 5561 + case .badgeGotour2024PearlTest: return 5562 + case .badgeGotour2024Diamond: return 5563 + case .badgeGotour2024Pearl: return 5564 + case .badgeGotour2024Secret00: return 5565 + case .badgeGotour2024Secret01: return 5566 + case .badgeGotour2024Secret02: return 5567 + case .badgeGotour2024Secret03: return 5568 + case .badgeGotourLive2024TestPark: return 5569 + case .badgeGotourLive2024TestCity: return 5570 + case .badgeGotourLive2024DayPreview: return 5571 + case .badgeGotourLive2024Day01Park: return 5572 + case .badgeGotourLive2024Day01City: return 5573 + case .badgeGotourLive2024Day02Park: return 5574 + case .badgeGotourLive2024Day02City: return 5575 + case .badgeGotourLive2024TestAddonHatch: return 5576 + case .badgeGotourLive2024TestAddonRaid: return 5577 + case .badgeGotourLive2024AddonHatch: return 5578 + case .badgeGotourLive2024AddonRaid: return 5579 + case .badgeGotourLive2024Vip: return 5580 + case .badgeSafari2024TainanDay00: return 5581 + case .badgeSafari2024TainanDay01: return 5582 + case .badgeSafari2024TainanDay02: return 5583 + case .badgeSafari2024TainanAddOnHatchTest: return 5584 + case .badgeSafari2024TainanAddOnRaidTest: return 5585 + case .badgeSafari2024TainanAddOnHatch: return 5586 + case .badgeSafari2024TainanAddOnRaid: return 5587 + case .badgeAa2024BaliDay00: return 5588 + case .badgeAa2024BaliDay01: return 5589 + case .badgeAa2024BaliDay02: return 5590 + case .badgeAa2024BaliDay03: return 5591 case .UNRECOGNIZED(let i): return i default: break } @@ -6237,6 +8098,37 @@ extension HoloBadgeType: CaseIterable { .badgeSafari2023MexcityDay02, .badgeSafari2023MexcityAddOnHatch, .badgeSafari2023MexcityAddOnRaid, + .badgeGotour2024DiamondTest, + .badgeGotour2024PearlTest, + .badgeGotour2024Diamond, + .badgeGotour2024Pearl, + .badgeGotour2024Secret00, + .badgeGotour2024Secret01, + .badgeGotour2024Secret02, + .badgeGotour2024Secret03, + .badgeGotourLive2024TestPark, + .badgeGotourLive2024TestCity, + .badgeGotourLive2024DayPreview, + .badgeGotourLive2024Day01Park, + .badgeGotourLive2024Day01City, + .badgeGotourLive2024Day02Park, + .badgeGotourLive2024Day02City, + .badgeGotourLive2024TestAddonHatch, + .badgeGotourLive2024TestAddonRaid, + .badgeGotourLive2024AddonHatch, + .badgeGotourLive2024AddonRaid, + .badgeGotourLive2024Vip, + .badgeSafari2024TainanDay00, + .badgeSafari2024TainanDay01, + .badgeSafari2024TainanDay02, + .badgeSafari2024TainanAddOnHatchTest, + .badgeSafari2024TainanAddOnRaidTest, + .badgeSafari2024TainanAddOnHatch, + .badgeSafari2024TainanAddOnRaid, + .badgeAa2024BaliDay00, + .badgeAa2024BaliDay01, + .badgeAa2024BaliDay02, + .badgeAa2024BaliDay03, ] } @@ -6252,7 +8144,6 @@ public enum HoloIapItemCategory: SwiftProtobuf.Enum { case iapCategoryAvatar // = 5 case iapCategoryAvatarStoreLink // = 6 case iapCategoryTeamChange // = 7 - case iapCategoryRouteMaker // = 8 case iapCategoryGlobalEventTicket // = 10 case iapCategoryVsSeeker // = 11 case iapCategorySticker // = 12 @@ -6276,7 +8167,6 @@ public enum HoloIapItemCategory: SwiftProtobuf.Enum { case 5: self = .iapCategoryAvatar case 6: self = .iapCategoryAvatarStoreLink case 7: self = .iapCategoryTeamChange - case 8: self = .iapCategoryRouteMaker case 10: self = .iapCategoryGlobalEventTicket case 11: self = .iapCategoryVsSeeker case 12: self = .iapCategorySticker @@ -6298,7 +8188,6 @@ public enum HoloIapItemCategory: SwiftProtobuf.Enum { case .iapCategoryAvatar: return 5 case .iapCategoryAvatarStoreLink: return 6 case .iapCategoryTeamChange: return 7 - case .iapCategoryRouteMaker: return 8 case .iapCategoryGlobalEventTicket: return 10 case .iapCategoryVsSeeker: return 11 case .iapCategorySticker: return 12 @@ -6325,7 +8214,6 @@ extension HoloIapItemCategory: CaseIterable { .iapCategoryAvatar, .iapCategoryAvatarStoreLink, .iapCategoryTeamChange, - .iapCategoryRouteMaker, .iapCategoryGlobalEventTicket, .iapCategoryVsSeeker, .iapCategorySticker, @@ -6359,7 +8247,6 @@ public enum HoloItemCategory: SwiftProtobuf.Enum { case itemCategoryStardustBoost // = 16 case itemCategoryFriendGiftBox // = 17 case itemCategoryTeamChange // = 18 - case itemCategoryRouteMaker // = 19 case itemCategoryVsSeeker // = 20 case itemCategoryIncidentTicket // = 21 case itemCategoryGlobalEventTicket // = 22 @@ -6394,7 +8281,6 @@ public enum HoloItemCategory: SwiftProtobuf.Enum { case 16: self = .itemCategoryStardustBoost case 17: self = .itemCategoryFriendGiftBox case 18: self = .itemCategoryTeamChange - case 19: self = .itemCategoryRouteMaker case 20: self = .itemCategoryVsSeeker case 21: self = .itemCategoryIncidentTicket case 22: self = .itemCategoryGlobalEventTicket @@ -6427,7 +8313,6 @@ public enum HoloItemCategory: SwiftProtobuf.Enum { case .itemCategoryStardustBoost: return 16 case .itemCategoryFriendGiftBox: return 17 case .itemCategoryTeamChange: return 18 - case .itemCategoryRouteMaker: return 19 case .itemCategoryVsSeeker: return 20 case .itemCategoryIncidentTicket: return 21 case .itemCategoryGlobalEventTicket: return 22 @@ -6465,7 +8350,6 @@ extension HoloItemCategory: CaseIterable { .itemCategoryStardustBoost, .itemCategoryFriendGiftBox, .itemCategoryTeamChange, - .itemCategoryRouteMaker, .itemCategoryVsSeeker, .itemCategoryIncidentTicket, .itemCategoryGlobalEventTicket, @@ -6600,7 +8484,6 @@ public enum HoloItemType: SwiftProtobuf.Enum { case itemTypeStardustBoost // = 17 case itemTypeFriendGiftBox // = 18 case itemTypeTeamChange // = 19 - case itemTypeRouteMaker // = 20 case itemTypeVsSeekerBattleNow // = 21 case itemTypeIncidentTicket // = 22 case itemTypeGlobalEventTicket // = 23 @@ -6636,7 +8519,6 @@ public enum HoloItemType: SwiftProtobuf.Enum { case 17: self = .itemTypeStardustBoost case 18: self = .itemTypeFriendGiftBox case 19: self = .itemTypeTeamChange - case 20: self = .itemTypeRouteMaker case 21: self = .itemTypeVsSeekerBattleNow case 22: self = .itemTypeIncidentTicket case 23: self = .itemTypeGlobalEventTicket @@ -6670,7 +8552,6 @@ public enum HoloItemType: SwiftProtobuf.Enum { case .itemTypeStardustBoost: return 17 case .itemTypeFriendGiftBox: return 18 case .itemTypeTeamChange: return 19 - case .itemTypeRouteMaker: return 20 case .itemTypeVsSeekerBattleNow: return 21 case .itemTypeIncidentTicket: return 22 case .itemTypeGlobalEventTicket: return 23 @@ -6709,7 +8590,6 @@ extension HoloItemType: CaseIterable { .itemTypeStardustBoost, .itemTypeFriendGiftBox, .itemTypeTeamChange, - .itemTypeRouteMaker, .itemTypeVsSeekerBattleNow, .itemTypeIncidentTicket, .itemTypeGlobalEventTicket, @@ -13407,6 +15287,11 @@ public enum HoloPokemonMove: SwiftProtobuf.Enum { case tripleAxel // = 391 case trailblaze // = 392 case scorchingSands // = 393 + case roarOfTime // = 394 + case bleakwindStorm // = 395 + case sandsearStorm // = 396 + case wildboltStorm // = 397 + case spiritShackle // = 398 case UNRECOGNIZED(Int) public init() { @@ -13747,6 +15632,11 @@ public enum HoloPokemonMove: SwiftProtobuf.Enum { case 391: self = .tripleAxel case 392: self = .trailblaze case 393: self = .scorchingSands + case 394: self = .roarOfTime + case 395: self = .bleakwindStorm + case 396: self = .sandsearStorm + case 397: self = .wildboltStorm + case 398: self = .spiritShackle default: self = .UNRECOGNIZED(rawValue) } } @@ -14085,6 +15975,11 @@ public enum HoloPokemonMove: SwiftProtobuf.Enum { case .tripleAxel: return 391 case .trailblaze: return 392 case .scorchingSands: return 393 + case .roarOfTime: return 394 + case .bleakwindStorm: return 395 + case .sandsearStorm: return 396 + case .wildboltStorm: return 397 + case .spiritShackle: return 398 case .UNRECOGNIZED(let i): return i } } @@ -14428,6 +16323,11 @@ extension HoloPokemonMove: CaseIterable { .tripleAxel, .trailblaze, .scorchingSands, + .roarOfTime, + .bleakwindStorm, + .sandsearStorm, + .wildboltStorm, + .spiritShackle, ] } @@ -14817,98 +16717,6 @@ extension IapLibraryVersion: CaseIterable { #endif // swift(>=4.2) -public enum IdentityProvider: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetIdentityProvider // = 0 - case google // = 1 - case ptc // = 2 - case facebook // = 3 - case background // = 4 - case `internal` // = 5 - case sfida // = 6 - case superAwesome // = 7 - case developer // = 8 - case sharedSecret // = 9 - case poseidon // = 10 - case nintendo // = 11 - case apple // = 12 - case nianticSharedLoginToken // = 13 - case guestLoginToken // = 14 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetIdentityProvider - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetIdentityProvider - case 1: self = .google - case 2: self = .ptc - case 3: self = .facebook - case 4: self = .background - case 5: self = .internal - case 6: self = .sfida - case 7: self = .superAwesome - case 8: self = .developer - case 9: self = .sharedSecret - case 10: self = .poseidon - case 11: self = .nintendo - case 12: self = .apple - case 13: self = .nianticSharedLoginToken - case 14: self = .guestLoginToken - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetIdentityProvider: return 0 - case .google: return 1 - case .ptc: return 2 - case .facebook: return 3 - case .background: return 4 - case .internal: return 5 - case .sfida: return 6 - case .superAwesome: return 7 - case .developer: return 8 - case .sharedSecret: return 9 - case .poseidon: return 10 - case .nintendo: return 11 - case .apple: return 12 - case .nianticSharedLoginToken: return 13 - case .guestLoginToken: return 14 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension IdentityProvider: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [IdentityProvider] = [ - .unsetIdentityProvider, - .google, - .ptc, - .facebook, - .background, - .internal, - .sfida, - .superAwesome, - .developer, - .sharedSecret, - .poseidon, - .nintendo, - .apple, - .nianticSharedLoginToken, - .guestLoginToken, - ] -} - -#endif // swift(>=4.2) - public enum IncidentDisplayType: SwiftProtobuf.Enum { public typealias RawValue = Int case none // = 0 @@ -14981,6 +16789,746 @@ extension IncidentDisplayType: CaseIterable { #endif // swift(>=4.2) +public enum InternalCrmClientActionMethod: SwiftProtobuf.Enum { + public typealias RawValue = Int + case internalCrmClientActionUnknown // = 0 + case internalCrmClientActionDeleteAccount // = 1 + case internalCrmClientActionDataAccess // = 2 + case internalCrmClientActionDeleteAccountEmailOnFile // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .internalCrmClientActionUnknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .internalCrmClientActionUnknown + case 1: self = .internalCrmClientActionDeleteAccount + case 2: self = .internalCrmClientActionDataAccess + case 3: self = .internalCrmClientActionDeleteAccountEmailOnFile + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .internalCrmClientActionUnknown: return 0 + case .internalCrmClientActionDeleteAccount: return 1 + case .internalCrmClientActionDataAccess: return 2 + case .internalCrmClientActionDeleteAccountEmailOnFile: return 3 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension InternalCrmClientActionMethod: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalCrmClientActionMethod] = [ + .internalCrmClientActionUnknown, + .internalCrmClientActionDeleteAccount, + .internalCrmClientActionDataAccess, + .internalCrmClientActionDeleteAccountEmailOnFile, + ] +} + +#endif // swift(>=4.2) + +public enum InternalGarClientActionMethod: SwiftProtobuf.Enum { + public typealias RawValue = Int + case internalGarClientActionUnknownGarClientAction // = 0 + case internalGarClientActionGetMyAccount // = 1 + case internalGarClientActionSendSmsVerificationCode // = 2 + case internalGarClientActionUpdatePhoneNumber // = 3 + case internalGarClientActionCreateSharedLoginToken // = 4 + case internalGarClientActionGetClientSettings // = 5 + case internalGarClientActionSetAccountContactSettings // = 6 + case internalGarClientActionDeletePhoneNumber // = 7 + case internalGarClientActionAcknowledgeInformation // = 8 + case internalGarClientActionCheckAvatarImages // = 9 + case internalGarClientActionUpdateAvatarImage // = 10 + case UNRECOGNIZED(Int) + + public init() { + self = .internalGarClientActionUnknownGarClientAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .internalGarClientActionUnknownGarClientAction + case 1: self = .internalGarClientActionGetMyAccount + case 2: self = .internalGarClientActionSendSmsVerificationCode + case 3: self = .internalGarClientActionUpdatePhoneNumber + case 4: self = .internalGarClientActionCreateSharedLoginToken + case 5: self = .internalGarClientActionGetClientSettings + case 6: self = .internalGarClientActionSetAccountContactSettings + case 7: self = .internalGarClientActionDeletePhoneNumber + case 8: self = .internalGarClientActionAcknowledgeInformation + case 9: self = .internalGarClientActionCheckAvatarImages + case 10: self = .internalGarClientActionUpdateAvatarImage + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .internalGarClientActionUnknownGarClientAction: return 0 + case .internalGarClientActionGetMyAccount: return 1 + case .internalGarClientActionSendSmsVerificationCode: return 2 + case .internalGarClientActionUpdatePhoneNumber: return 3 + case .internalGarClientActionCreateSharedLoginToken: return 4 + case .internalGarClientActionGetClientSettings: return 5 + case .internalGarClientActionSetAccountContactSettings: return 6 + case .internalGarClientActionDeletePhoneNumber: return 7 + case .internalGarClientActionAcknowledgeInformation: return 8 + case .internalGarClientActionCheckAvatarImages: return 9 + case .internalGarClientActionUpdateAvatarImage: return 10 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension InternalGarClientActionMethod: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGarClientActionMethod] = [ + .internalGarClientActionUnknownGarClientAction, + .internalGarClientActionGetMyAccount, + .internalGarClientActionSendSmsVerificationCode, + .internalGarClientActionUpdatePhoneNumber, + .internalGarClientActionCreateSharedLoginToken, + .internalGarClientActionGetClientSettings, + .internalGarClientActionSetAccountContactSettings, + .internalGarClientActionDeletePhoneNumber, + .internalGarClientActionAcknowledgeInformation, + .internalGarClientActionCheckAvatarImages, + .internalGarClientActionUpdateAvatarImage, + ] +} + +#endif // swift(>=4.2) + +public enum InternalInvitationType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case invitationTypeUnset // = 0 + case invitationTypeCode // = 1 + case invitationTypeFacebook // = 2 + case invitationTypeServerRequest // = 3 + case invitationTypeNianticSocialGraph // = 4 + case invitationTypeAddressBookImport // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .invitationTypeUnset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .invitationTypeUnset + case 1: self = .invitationTypeCode + case 2: self = .invitationTypeFacebook + case 3: self = .invitationTypeServerRequest + case 4: self = .invitationTypeNianticSocialGraph + case 5: self = .invitationTypeAddressBookImport + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .invitationTypeUnset: return 0 + case .invitationTypeCode: return 1 + case .invitationTypeFacebook: return 2 + case .invitationTypeServerRequest: return 3 + case .invitationTypeNianticSocialGraph: return 4 + case .invitationTypeAddressBookImport: return 5 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension InternalInvitationType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalInvitationType] = [ + .invitationTypeUnset, + .invitationTypeCode, + .invitationTypeFacebook, + .invitationTypeServerRequest, + .invitationTypeNianticSocialGraph, + .invitationTypeAddressBookImport, + ] +} + +#endif // swift(>=4.2) + +public enum InternalNotificationState: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetState // = 0 + case viewed // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetState + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetState + case 1: self = .viewed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetState: return 0 + case .viewed: return 1 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension InternalNotificationState: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalNotificationState] = [ + .unsetState, + .viewed, + ] +} + +#endif // swift(>=4.2) + +public enum InternalPlatformClientAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case internalUnknownPlatformClientAction // = 0 + case internalRegisterPushNotification // = 5000 + case internalUnregisterPushNotification // = 5001 + case internalUpdateNotificationStatus // = 5002 + case internalOptOutPushNotificationCategory // = 5003 + case internalDownloadGameMasterTemplates // = 5004 + case internalGetInventory // = 5005 + case internalRedeemPasscode // = 5006 + case internalPing // = 5007 + case internalAddLoginAction // = 5008 + case internalRemoveLoginAction // = 5009 + case internalListLoginAction // = 5010 + case internalAddNewPoi // = 5011 + case internalProxySocialAction // = 5012 + case internalDeprecatedClientTelemetry // = 5013 + case internalGetAvailableSubmissions // = 5014 + case internalGetSignedURLForPhotoUpload // = 5015 + case internalReplaceLoginAction // = 5016 + case internalProxySocialSideChannelAction // = 5017 + case internalCollectClientTelemetry // = 5018 + case internalPurchaseSku // = 5019 + case internalGetAvailableSkusAndBalances // = 5020 + case internalRedeemGoogleReceipt // = 5021 + case internalRedeemAppleReceipt // = 5022 + case internalRedeemDesktopReceipt // = 5023 + case internalUpdateFitnessMetrics // = 5024 + case internalGetFitnessReport // = 5025 + case internalGetClientTelemetrySettings // = 5026 + case internalPingAsync // = 5027 + case internalRegisterBackgroundService // = 5028 + case internalGetClientBgmodeSettings // = 5029 + case internalPingDownstream // = 5030 + case internalSetInGameCurrencyExchangeRate // = 5032 + case internalRequestGeofenceUpdates // = 5033 + case internalUpdatePlayerLocation // = 5034 + case internalGenerateGmapSignedURL // = 5035 + case internalGetGmapSettings // = 5036 + case internalRedeemSamsungReceipt // = 5037 + case internalAddNewRoute // = 5038 + case internalGetOutstandingWarnings // = 5039 + case internalAcknowledgeWarnings // = 5040 + case internalSubmitPoiImage // = 5041 + case internalSubmitPoiTextMetadataUpdate // = 5042 + case internalSubmitPoiLocationUpdate // = 5043 + case internalSubmitPoiTakedownRequest // = 5044 + case internalGetWebTokenAction // = 5045 + case internalGetAdventureSyncSettings // = 5046 + case internalUpdateAdventureSyncSettings // = 5047 + case internalSetBirthday // = 5048 + case internalFetchNewsfeedAction // = 5049 + case internalMarkNewsfeedReadAction // = 5050 + case UNRECOGNIZED(Int) + + public init() { + self = .internalUnknownPlatformClientAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .internalUnknownPlatformClientAction + case 5000: self = .internalRegisterPushNotification + case 5001: self = .internalUnregisterPushNotification + case 5002: self = .internalUpdateNotificationStatus + case 5003: self = .internalOptOutPushNotificationCategory + case 5004: self = .internalDownloadGameMasterTemplates + case 5005: self = .internalGetInventory + case 5006: self = .internalRedeemPasscode + case 5007: self = .internalPing + case 5008: self = .internalAddLoginAction + case 5009: self = .internalRemoveLoginAction + case 5010: self = .internalListLoginAction + case 5011: self = .internalAddNewPoi + case 5012: self = .internalProxySocialAction + case 5013: self = .internalDeprecatedClientTelemetry + case 5014: self = .internalGetAvailableSubmissions + case 5015: self = .internalGetSignedURLForPhotoUpload + case 5016: self = .internalReplaceLoginAction + case 5017: self = .internalProxySocialSideChannelAction + case 5018: self = .internalCollectClientTelemetry + case 5019: self = .internalPurchaseSku + case 5020: self = .internalGetAvailableSkusAndBalances + case 5021: self = .internalRedeemGoogleReceipt + case 5022: self = .internalRedeemAppleReceipt + case 5023: self = .internalRedeemDesktopReceipt + case 5024: self = .internalUpdateFitnessMetrics + case 5025: self = .internalGetFitnessReport + case 5026: self = .internalGetClientTelemetrySettings + case 5027: self = .internalPingAsync + case 5028: self = .internalRegisterBackgroundService + case 5029: self = .internalGetClientBgmodeSettings + case 5030: self = .internalPingDownstream + case 5032: self = .internalSetInGameCurrencyExchangeRate + case 5033: self = .internalRequestGeofenceUpdates + case 5034: self = .internalUpdatePlayerLocation + case 5035: self = .internalGenerateGmapSignedURL + case 5036: self = .internalGetGmapSettings + case 5037: self = .internalRedeemSamsungReceipt + case 5038: self = .internalAddNewRoute + case 5039: self = .internalGetOutstandingWarnings + case 5040: self = .internalAcknowledgeWarnings + case 5041: self = .internalSubmitPoiImage + case 5042: self = .internalSubmitPoiTextMetadataUpdate + case 5043: self = .internalSubmitPoiLocationUpdate + case 5044: self = .internalSubmitPoiTakedownRequest + case 5045: self = .internalGetWebTokenAction + case 5046: self = .internalGetAdventureSyncSettings + case 5047: self = .internalUpdateAdventureSyncSettings + case 5048: self = .internalSetBirthday + case 5049: self = .internalFetchNewsfeedAction + case 5050: self = .internalMarkNewsfeedReadAction + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .internalUnknownPlatformClientAction: return 0 + case .internalRegisterPushNotification: return 5000 + case .internalUnregisterPushNotification: return 5001 + case .internalUpdateNotificationStatus: return 5002 + case .internalOptOutPushNotificationCategory: return 5003 + case .internalDownloadGameMasterTemplates: return 5004 + case .internalGetInventory: return 5005 + case .internalRedeemPasscode: return 5006 + case .internalPing: return 5007 + case .internalAddLoginAction: return 5008 + case .internalRemoveLoginAction: return 5009 + case .internalListLoginAction: return 5010 + case .internalAddNewPoi: return 5011 + case .internalProxySocialAction: return 5012 + case .internalDeprecatedClientTelemetry: return 5013 + case .internalGetAvailableSubmissions: return 5014 + case .internalGetSignedURLForPhotoUpload: return 5015 + case .internalReplaceLoginAction: return 5016 + case .internalProxySocialSideChannelAction: return 5017 + case .internalCollectClientTelemetry: return 5018 + case .internalPurchaseSku: return 5019 + case .internalGetAvailableSkusAndBalances: return 5020 + case .internalRedeemGoogleReceipt: return 5021 + case .internalRedeemAppleReceipt: return 5022 + case .internalRedeemDesktopReceipt: return 5023 + case .internalUpdateFitnessMetrics: return 5024 + case .internalGetFitnessReport: return 5025 + case .internalGetClientTelemetrySettings: return 5026 + case .internalPingAsync: return 5027 + case .internalRegisterBackgroundService: return 5028 + case .internalGetClientBgmodeSettings: return 5029 + case .internalPingDownstream: return 5030 + case .internalSetInGameCurrencyExchangeRate: return 5032 + case .internalRequestGeofenceUpdates: return 5033 + case .internalUpdatePlayerLocation: return 5034 + case .internalGenerateGmapSignedURL: return 5035 + case .internalGetGmapSettings: return 5036 + case .internalRedeemSamsungReceipt: return 5037 + case .internalAddNewRoute: return 5038 + case .internalGetOutstandingWarnings: return 5039 + case .internalAcknowledgeWarnings: return 5040 + case .internalSubmitPoiImage: return 5041 + case .internalSubmitPoiTextMetadataUpdate: return 5042 + case .internalSubmitPoiLocationUpdate: return 5043 + case .internalSubmitPoiTakedownRequest: return 5044 + case .internalGetWebTokenAction: return 5045 + case .internalGetAdventureSyncSettings: return 5046 + case .internalUpdateAdventureSyncSettings: return 5047 + case .internalSetBirthday: return 5048 + case .internalFetchNewsfeedAction: return 5049 + case .internalMarkNewsfeedReadAction: return 5050 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension InternalPlatformClientAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalPlatformClientAction] = [ + .internalUnknownPlatformClientAction, + .internalRegisterPushNotification, + .internalUnregisterPushNotification, + .internalUpdateNotificationStatus, + .internalOptOutPushNotificationCategory, + .internalDownloadGameMasterTemplates, + .internalGetInventory, + .internalRedeemPasscode, + .internalPing, + .internalAddLoginAction, + .internalRemoveLoginAction, + .internalListLoginAction, + .internalAddNewPoi, + .internalProxySocialAction, + .internalDeprecatedClientTelemetry, + .internalGetAvailableSubmissions, + .internalGetSignedURLForPhotoUpload, + .internalReplaceLoginAction, + .internalProxySocialSideChannelAction, + .internalCollectClientTelemetry, + .internalPurchaseSku, + .internalGetAvailableSkusAndBalances, + .internalRedeemGoogleReceipt, + .internalRedeemAppleReceipt, + .internalRedeemDesktopReceipt, + .internalUpdateFitnessMetrics, + .internalGetFitnessReport, + .internalGetClientTelemetrySettings, + .internalPingAsync, + .internalRegisterBackgroundService, + .internalGetClientBgmodeSettings, + .internalPingDownstream, + .internalSetInGameCurrencyExchangeRate, + .internalRequestGeofenceUpdates, + .internalUpdatePlayerLocation, + .internalGenerateGmapSignedURL, + .internalGetGmapSettings, + .internalRedeemSamsungReceipt, + .internalAddNewRoute, + .internalGetOutstandingWarnings, + .internalAcknowledgeWarnings, + .internalSubmitPoiImage, + .internalSubmitPoiTextMetadataUpdate, + .internalSubmitPoiLocationUpdate, + .internalSubmitPoiTakedownRequest, + .internalGetWebTokenAction, + .internalGetAdventureSyncSettings, + .internalUpdateAdventureSyncSettings, + .internalSetBirthday, + .internalFetchNewsfeedAction, + .internalMarkNewsfeedReadAction, + ] +} + +#endif // swift(>=4.2) + +public enum InternalSocialAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case socialActionUnknownSocialAction // = 0 + case socialActionSearchPlayer // = 10000 + case socialActionSendFriendInvite // = 10002 + case socialActionCancelFriendInvite // = 10003 + case socialActionAcceptFriendInvite // = 10004 + case socialActionDeclineFriendInvite // = 10005 + case socialActionListFriends // = 10006 + case socialActionListOutgoingFriendInvites // = 10007 + case socialActionListIncomingFriendInvites // = 10008 + case socialActionRemoveFriend // = 10009 + case socialActionListFriendStatus // = 10010 + case socialActionSendFacebookFriendInvite // = 10011 + case socialActionIsMyFriend // = 10012 + case socialActionCreateInviteCode // = 10013 + case socialActionGetFacebookFriendList // = 10014 + case socialActionUpdateFacebookStatus // = 10015 + case socialActionSavePlayerSettings // = 10016 + case socialActionGetPlayerSettings // = 10017 + case socialActionGetNianticFriendListDeleted // = 10018 + case socialActionGetNianticFriendDetailsDeleted // = 10019 + case socialActionSendNianticFriendInviteDeleted // = 10020 + case socialActionSetAccountSettings // = 10021 + case socialActionGetAccountSettings // = 10022 + case socialActionAddFavoriteFriend // = 10023 + case socialActionRemoveFavoriteFriend // = 10024 + case socialActionBlockAccount // = 10025 + case socialActionUnblockAccount // = 10026 + case socialActionGetOutgingBlocks // = 10027 + case socialActionIsAccountBlocked // = 10028 + case socialActionRegisterPushNotification // = 10101 + case socialActionUnregisterPushNotification // = 10102 + case socialActionUpdateNotification // = 10103 + case socialActionOptOutPushNotificationCategory // = 10104 + case socialActionGetInbox // = 10105 + case socialActionGetSignedURL // = 10201 + case socialActionSubmitImage // = 10202 + case socialActionGetPhotos // = 10203 + case socialActionDeletePhoto // = 10204 + case socialActionFlagPhoto // = 10205 + case socialActionUpdateProfileV2 // = 20001 + case socialActionUpdateFriendshipV2 // = 20002 + case socialActionGetProfileV2 // = 20003 + case socialActionInviteGameV2 // = 20004 + case socialActionReservedAction2 // = 20005 + case socialActionListFriendsV2 // = 20006 + case socialActionGetFriendDetailsV2 // = 20007 + case socialActionGetClientFeatureFlagsV2 // = 20008 + case socialActionReservedAction1 // = 20009 + case socialActionGetIncomingGameInvitesV2 // = 20010 + case socialActionUpdateIncomingGameInviteV2 // = 20011 + case socialActionDismissOutgoingGameInvitesV2 // = 20012 + case socialActionSyncContactListV2 // = 20013 + case socialActionSendContactListFriendInviteV2 // = 20014 + case socialActionReferContactListFriendV2 // = 20015 + case socialActionGetContactListInfoV2 // = 20016 + case socialActionDismissContactListUpdateV2 // = 20017 + case socialActionNotifyContactListFriendsV2 // = 20018 + case socialActionReservedAction6 // = 20019 + case socialActionReservedAction7 // = 20020 + case socialActionReservedAction3 // = 20400 + case socialActionReservedAction4 // = 20401 + case socialActionReservedAction5 // = 20402 + case socialActionGetFriendRecommendation // = 20500 + case UNRECOGNIZED(Int) + + public init() { + self = .socialActionUnknownSocialAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .socialActionUnknownSocialAction + case 10000: self = .socialActionSearchPlayer + case 10002: self = .socialActionSendFriendInvite + case 10003: self = .socialActionCancelFriendInvite + case 10004: self = .socialActionAcceptFriendInvite + case 10005: self = .socialActionDeclineFriendInvite + case 10006: self = .socialActionListFriends + case 10007: self = .socialActionListOutgoingFriendInvites + case 10008: self = .socialActionListIncomingFriendInvites + case 10009: self = .socialActionRemoveFriend + case 10010: self = .socialActionListFriendStatus + case 10011: self = .socialActionSendFacebookFriendInvite + case 10012: self = .socialActionIsMyFriend + case 10013: self = .socialActionCreateInviteCode + case 10014: self = .socialActionGetFacebookFriendList + case 10015: self = .socialActionUpdateFacebookStatus + case 10016: self = .socialActionSavePlayerSettings + case 10017: self = .socialActionGetPlayerSettings + case 10018: self = .socialActionGetNianticFriendListDeleted + case 10019: self = .socialActionGetNianticFriendDetailsDeleted + case 10020: self = .socialActionSendNianticFriendInviteDeleted + case 10021: self = .socialActionSetAccountSettings + case 10022: self = .socialActionGetAccountSettings + case 10023: self = .socialActionAddFavoriteFriend + case 10024: self = .socialActionRemoveFavoriteFriend + case 10025: self = .socialActionBlockAccount + case 10026: self = .socialActionUnblockAccount + case 10027: self = .socialActionGetOutgingBlocks + case 10028: self = .socialActionIsAccountBlocked + case 10101: self = .socialActionRegisterPushNotification + case 10102: self = .socialActionUnregisterPushNotification + case 10103: self = .socialActionUpdateNotification + case 10104: self = .socialActionOptOutPushNotificationCategory + case 10105: self = .socialActionGetInbox + case 10201: self = .socialActionGetSignedURL + case 10202: self = .socialActionSubmitImage + case 10203: self = .socialActionGetPhotos + case 10204: self = .socialActionDeletePhoto + case 10205: self = .socialActionFlagPhoto + case 20001: self = .socialActionUpdateProfileV2 + case 20002: self = .socialActionUpdateFriendshipV2 + case 20003: self = .socialActionGetProfileV2 + case 20004: self = .socialActionInviteGameV2 + case 20005: self = .socialActionReservedAction2 + case 20006: self = .socialActionListFriendsV2 + case 20007: self = .socialActionGetFriendDetailsV2 + case 20008: self = .socialActionGetClientFeatureFlagsV2 + case 20009: self = .socialActionReservedAction1 + case 20010: self = .socialActionGetIncomingGameInvitesV2 + case 20011: self = .socialActionUpdateIncomingGameInviteV2 + case 20012: self = .socialActionDismissOutgoingGameInvitesV2 + case 20013: self = .socialActionSyncContactListV2 + case 20014: self = .socialActionSendContactListFriendInviteV2 + case 20015: self = .socialActionReferContactListFriendV2 + case 20016: self = .socialActionGetContactListInfoV2 + case 20017: self = .socialActionDismissContactListUpdateV2 + case 20018: self = .socialActionNotifyContactListFriendsV2 + case 20019: self = .socialActionReservedAction6 + case 20020: self = .socialActionReservedAction7 + case 20400: self = .socialActionReservedAction3 + case 20401: self = .socialActionReservedAction4 + case 20402: self = .socialActionReservedAction5 + case 20500: self = .socialActionGetFriendRecommendation + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .socialActionUnknownSocialAction: return 0 + case .socialActionSearchPlayer: return 10000 + case .socialActionSendFriendInvite: return 10002 + case .socialActionCancelFriendInvite: return 10003 + case .socialActionAcceptFriendInvite: return 10004 + case .socialActionDeclineFriendInvite: return 10005 + case .socialActionListFriends: return 10006 + case .socialActionListOutgoingFriendInvites: return 10007 + case .socialActionListIncomingFriendInvites: return 10008 + case .socialActionRemoveFriend: return 10009 + case .socialActionListFriendStatus: return 10010 + case .socialActionSendFacebookFriendInvite: return 10011 + case .socialActionIsMyFriend: return 10012 + case .socialActionCreateInviteCode: return 10013 + case .socialActionGetFacebookFriendList: return 10014 + case .socialActionUpdateFacebookStatus: return 10015 + case .socialActionSavePlayerSettings: return 10016 + case .socialActionGetPlayerSettings: return 10017 + case .socialActionGetNianticFriendListDeleted: return 10018 + case .socialActionGetNianticFriendDetailsDeleted: return 10019 + case .socialActionSendNianticFriendInviteDeleted: return 10020 + case .socialActionSetAccountSettings: return 10021 + case .socialActionGetAccountSettings: return 10022 + case .socialActionAddFavoriteFriend: return 10023 + case .socialActionRemoveFavoriteFriend: return 10024 + case .socialActionBlockAccount: return 10025 + case .socialActionUnblockAccount: return 10026 + case .socialActionGetOutgingBlocks: return 10027 + case .socialActionIsAccountBlocked: return 10028 + case .socialActionRegisterPushNotification: return 10101 + case .socialActionUnregisterPushNotification: return 10102 + case .socialActionUpdateNotification: return 10103 + case .socialActionOptOutPushNotificationCategory: return 10104 + case .socialActionGetInbox: return 10105 + case .socialActionGetSignedURL: return 10201 + case .socialActionSubmitImage: return 10202 + case .socialActionGetPhotos: return 10203 + case .socialActionDeletePhoto: return 10204 + case .socialActionFlagPhoto: return 10205 + case .socialActionUpdateProfileV2: return 20001 + case .socialActionUpdateFriendshipV2: return 20002 + case .socialActionGetProfileV2: return 20003 + case .socialActionInviteGameV2: return 20004 + case .socialActionReservedAction2: return 20005 + case .socialActionListFriendsV2: return 20006 + case .socialActionGetFriendDetailsV2: return 20007 + case .socialActionGetClientFeatureFlagsV2: return 20008 + case .socialActionReservedAction1: return 20009 + case .socialActionGetIncomingGameInvitesV2: return 20010 + case .socialActionUpdateIncomingGameInviteV2: return 20011 + case .socialActionDismissOutgoingGameInvitesV2: return 20012 + case .socialActionSyncContactListV2: return 20013 + case .socialActionSendContactListFriendInviteV2: return 20014 + case .socialActionReferContactListFriendV2: return 20015 + case .socialActionGetContactListInfoV2: return 20016 + case .socialActionDismissContactListUpdateV2: return 20017 + case .socialActionNotifyContactListFriendsV2: return 20018 + case .socialActionReservedAction6: return 20019 + case .socialActionReservedAction7: return 20020 + case .socialActionReservedAction3: return 20400 + case .socialActionReservedAction4: return 20401 + case .socialActionReservedAction5: return 20402 + case .socialActionGetFriendRecommendation: return 20500 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension InternalSocialAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSocialAction] = [ + .socialActionUnknownSocialAction, + .socialActionSearchPlayer, + .socialActionSendFriendInvite, + .socialActionCancelFriendInvite, + .socialActionAcceptFriendInvite, + .socialActionDeclineFriendInvite, + .socialActionListFriends, + .socialActionListOutgoingFriendInvites, + .socialActionListIncomingFriendInvites, + .socialActionRemoveFriend, + .socialActionListFriendStatus, + .socialActionSendFacebookFriendInvite, + .socialActionIsMyFriend, + .socialActionCreateInviteCode, + .socialActionGetFacebookFriendList, + .socialActionUpdateFacebookStatus, + .socialActionSavePlayerSettings, + .socialActionGetPlayerSettings, + .socialActionGetNianticFriendListDeleted, + .socialActionGetNianticFriendDetailsDeleted, + .socialActionSendNianticFriendInviteDeleted, + .socialActionSetAccountSettings, + .socialActionGetAccountSettings, + .socialActionAddFavoriteFriend, + .socialActionRemoveFavoriteFriend, + .socialActionBlockAccount, + .socialActionUnblockAccount, + .socialActionGetOutgingBlocks, + .socialActionIsAccountBlocked, + .socialActionRegisterPushNotification, + .socialActionUnregisterPushNotification, + .socialActionUpdateNotification, + .socialActionOptOutPushNotificationCategory, + .socialActionGetInbox, + .socialActionGetSignedURL, + .socialActionSubmitImage, + .socialActionGetPhotos, + .socialActionDeletePhoto, + .socialActionFlagPhoto, + .socialActionUpdateProfileV2, + .socialActionUpdateFriendshipV2, + .socialActionGetProfileV2, + .socialActionInviteGameV2, + .socialActionReservedAction2, + .socialActionListFriendsV2, + .socialActionGetFriendDetailsV2, + .socialActionGetClientFeatureFlagsV2, + .socialActionReservedAction1, + .socialActionGetIncomingGameInvitesV2, + .socialActionUpdateIncomingGameInviteV2, + .socialActionDismissOutgoingGameInvitesV2, + .socialActionSyncContactListV2, + .socialActionSendContactListFriendInviteV2, + .socialActionReferContactListFriendV2, + .socialActionGetContactListInfoV2, + .socialActionDismissContactListUpdateV2, + .socialActionNotifyContactListFriendsV2, + .socialActionReservedAction6, + .socialActionReservedAction7, + .socialActionReservedAction3, + .socialActionReservedAction4, + .socialActionReservedAction5, + .socialActionGetFriendRecommendation, + ] +} + +#endif // swift(>=4.2) + public enum InvasionTelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int case undefinedInvasionEvent // = 0 @@ -15117,62 +17665,6 @@ extension InventoryUpgradeType: CaseIterable { #endif // swift(>=4.2) -public enum InvitationType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case code // = 1 - case facebook // = 2 - case serverRequest // = 3 - case nianticSocialGraph // = 4 - case addressBookImport // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .code - case 2: self = .facebook - case 3: self = .serverRequest - case 4: self = .nianticSocialGraph - case 5: self = .addressBookImport - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .code: return 1 - case .facebook: return 2 - case .serverRequest: return 3 - case .nianticSocialGraph: return 4 - case .addressBookImport: return 5 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension InvitationType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [InvitationType] = [ - .unset, - .code, - .facebook, - .serverRequest, - .nianticSocialGraph, - .addressBookImport, - ] -} - -#endif // swift(>=4.2) - public enum Item: SwiftProtobuf.Enum { public typealias RawValue = Int case unknown // = 0 @@ -15242,11 +17734,9 @@ public enum Item: SwiftProtobuf.Enum { case xlRareCandy // = 1302 case freeRaidTicket // = 1401 case paidRaidTicket // = 1402 - case legendaryRaidTicket // = 1403 case starPiece // = 1404 case friendGiftBox // = 1405 case teamChange // = 1406 - case routeMaker // = 1407 case remoteRaidTicket // = 1408 case sRaidTicket // = 1409 case leaderMapFragment // = 1501 @@ -15269,6 +17759,26 @@ public enum Item: SwiftProtobuf.Enum { case ticketCitySafari02 // = 1612 case ticketCitySafari03 // = 1613 case ticketCitySafari04 // = 1614 + case eventTicket01 // = 1615 + case eventTicket02 // = 1616 + case eventTicket03 // = 1617 + case eventTicket04 // = 1618 + case eventTicket05 // = 1619 + case eventTicket06 // = 1620 + case eventTicket07 // = 1621 + case eventTicket08 // = 1622 + case eventTicket09 // = 1623 + case eventTicket10 // = 1624 + case eventTicket01ToGift // = 1625 + case eventTicket02ToGift // = 1626 + case eventTicket03ToGift // = 1627 + case eventTicket04ToGift // = 1628 + case eventTicket05ToGift // = 1629 + case eventTicket06ToGift // = 1630 + case eventTicket07ToGift // = 1631 + case eventTicket08ToGift // = 1632 + case eventTicket09ToGift // = 1633 + case eventTicket10ToGift // = 1634 case UNRECOGNIZED(Int) public init() { @@ -15344,11 +17854,9 @@ public enum Item: SwiftProtobuf.Enum { case 1302: self = .xlRareCandy case 1401: self = .freeRaidTicket case 1402: self = .paidRaidTicket - case 1403: self = .legendaryRaidTicket case 1404: self = .starPiece case 1405: self = .friendGiftBox case 1406: self = .teamChange - case 1407: self = .routeMaker case 1408: self = .remoteRaidTicket case 1409: self = .sRaidTicket case 1501: self = .leaderMapFragment @@ -15371,6 +17879,26 @@ public enum Item: SwiftProtobuf.Enum { case 1612: self = .ticketCitySafari02 case 1613: self = .ticketCitySafari03 case 1614: self = .ticketCitySafari04 + case 1615: self = .eventTicket01 + case 1616: self = .eventTicket02 + case 1617: self = .eventTicket03 + case 1618: self = .eventTicket04 + case 1619: self = .eventTicket05 + case 1620: self = .eventTicket06 + case 1621: self = .eventTicket07 + case 1622: self = .eventTicket08 + case 1623: self = .eventTicket09 + case 1624: self = .eventTicket10 + case 1625: self = .eventTicket01ToGift + case 1626: self = .eventTicket02ToGift + case 1627: self = .eventTicket03ToGift + case 1628: self = .eventTicket04ToGift + case 1629: self = .eventTicket05ToGift + case 1630: self = .eventTicket06ToGift + case 1631: self = .eventTicket07ToGift + case 1632: self = .eventTicket08ToGift + case 1633: self = .eventTicket09ToGift + case 1634: self = .eventTicket10ToGift default: self = .UNRECOGNIZED(rawValue) } } @@ -15444,11 +17972,9 @@ public enum Item: SwiftProtobuf.Enum { case .xlRareCandy: return 1302 case .freeRaidTicket: return 1401 case .paidRaidTicket: return 1402 - case .legendaryRaidTicket: return 1403 case .starPiece: return 1404 case .friendGiftBox: return 1405 case .teamChange: return 1406 - case .routeMaker: return 1407 case .remoteRaidTicket: return 1408 case .sRaidTicket: return 1409 case .leaderMapFragment: return 1501 @@ -15471,6 +17997,26 @@ public enum Item: SwiftProtobuf.Enum { case .ticketCitySafari02: return 1612 case .ticketCitySafari03: return 1613 case .ticketCitySafari04: return 1614 + case .eventTicket01: return 1615 + case .eventTicket02: return 1616 + case .eventTicket03: return 1617 + case .eventTicket04: return 1618 + case .eventTicket05: return 1619 + case .eventTicket06: return 1620 + case .eventTicket07: return 1621 + case .eventTicket08: return 1622 + case .eventTicket09: return 1623 + case .eventTicket10: return 1624 + case .eventTicket01ToGift: return 1625 + case .eventTicket02ToGift: return 1626 + case .eventTicket03ToGift: return 1627 + case .eventTicket04ToGift: return 1628 + case .eventTicket05ToGift: return 1629 + case .eventTicket06ToGift: return 1630 + case .eventTicket07ToGift: return 1631 + case .eventTicket08ToGift: return 1632 + case .eventTicket09ToGift: return 1633 + case .eventTicket10ToGift: return 1634 case .UNRECOGNIZED(let i): return i } } @@ -15549,11 +18095,9 @@ extension Item: CaseIterable { .xlRareCandy, .freeRaidTicket, .paidRaidTicket, - .legendaryRaidTicket, .starPiece, .friendGiftBox, .teamChange, - .routeMaker, .remoteRaidTicket, .sRaidTicket, .leaderMapFragment, @@ -15576,6 +18120,26 @@ extension Item: CaseIterable { .ticketCitySafari02, .ticketCitySafari03, .ticketCitySafari04, + .eventTicket01, + .eventTicket02, + .eventTicket03, + .eventTicket04, + .eventTicket05, + .eventTicket06, + .eventTicket07, + .eventTicket08, + .eventTicket09, + .eventTicket10, + .eventTicket01ToGift, + .eventTicket02ToGift, + .eventTicket03ToGift, + .eventTicket04ToGift, + .eventTicket05ToGift, + .eventTicket06ToGift, + .eventTicket07ToGift, + .eventTicket08ToGift, + .eventTicket09ToGift, + .eventTicket10ToGift, ] } @@ -15629,82 +18193,6 @@ extension ItemUseTelemetryIds: CaseIterable { #endif // swift(>=4.2) -public enum LayerKind: SwiftProtobuf.Enum { - public typealias RawValue = Int - case layerUndefined // = 0 - case layerBoundaries // = 1 - case layerBuildings // = 2 - case layerLandmass // = 3 - case layerLanduse // = 4 - case layerPlaces // = 5 - case layerPois // = 6 - case layerRoads // = 7 - case layerTransit // = 8 - case layerWater // = 9 - case layerDebugTileBoundaries // = 10 - case UNRECOGNIZED(Int) - - public init() { - self = .layerUndefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .layerUndefined - case 1: self = .layerBoundaries - case 2: self = .layerBuildings - case 3: self = .layerLandmass - case 4: self = .layerLanduse - case 5: self = .layerPlaces - case 6: self = .layerPois - case 7: self = .layerRoads - case 8: self = .layerTransit - case 9: self = .layerWater - case 10: self = .layerDebugTileBoundaries - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .layerUndefined: return 0 - case .layerBoundaries: return 1 - case .layerBuildings: return 2 - case .layerLandmass: return 3 - case .layerLanduse: return 4 - case .layerPlaces: return 5 - case .layerPois: return 6 - case .layerRoads: return 7 - case .layerTransit: return 8 - case .layerWater: return 9 - case .layerDebugTileBoundaries: return 10 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension LayerKind: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LayerKind] = [ - .layerUndefined, - .layerBoundaries, - .layerBuildings, - .layerLandmass, - .layerLanduse, - .layerPlaces, - .layerPois, - .layerRoads, - .layerTransit, - .layerWater, - .layerDebugTileBoundaries, - ] -} - -#endif // swift(>=4.2) - public enum LocationCard: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 @@ -15713,6 +18201,12 @@ public enum LocationCard: SwiftProtobuf.Enum { case lc2023NycGofest001 // = 3 case lc2023LondonGofest001 // = 4 case lc2023OsakaGofest001 // = 5 + case lc2023SeoulCitysafari001 // = 6 + case lc2023BarcelonaCitysafari001 // = 7 + case lc2023MexicocityCitysafari001 // = 8 + case lc2024LosangelesGotour001 // = 9 + case lc2024BaliAiradventures001 // = 10 + case lc2024TainanCitysafari001 // = 11 case UNRECOGNIZED(Int) public init() { @@ -15727,6 +18221,12 @@ public enum LocationCard: SwiftProtobuf.Enum { case 3: self = .lc2023NycGofest001 case 4: self = .lc2023LondonGofest001 case 5: self = .lc2023OsakaGofest001 + case 6: self = .lc2023SeoulCitysafari001 + case 7: self = .lc2023BarcelonaCitysafari001 + case 8: self = .lc2023MexicocityCitysafari001 + case 9: self = .lc2024LosangelesGotour001 + case 10: self = .lc2024BaliAiradventures001 + case 11: self = .lc2024TainanCitysafari001 default: self = .UNRECOGNIZED(rawValue) } } @@ -15739,6 +18239,12 @@ public enum LocationCard: SwiftProtobuf.Enum { case .lc2023NycGofest001: return 3 case .lc2023LondonGofest001: return 4 case .lc2023OsakaGofest001: return 5 + case .lc2023SeoulCitysafari001: return 6 + case .lc2023BarcelonaCitysafari001: return 7 + case .lc2023MexicocityCitysafari001: return 8 + case .lc2024LosangelesGotour001: return 9 + case .lc2024BaliAiradventures001: return 10 + case .lc2024TainanCitysafari001: return 11 case .UNRECOGNIZED(let i): return i } } @@ -15756,6 +18262,12 @@ extension LocationCard: CaseIterable { .lc2023NycGofest001, .lc2023LondonGofest001, .lc2023OsakaGofest001, + .lc2023SeoulCitysafari001, + .lc2023BarcelonaCitysafari001, + .lc2023MexicocityCitysafari001, + .lc2024LosangelesGotour001, + .lc2024BaliAiradventures001, + .lc2024TainanCitysafari001, ] } @@ -15795,6 +18307,12 @@ public enum LoginActionTelemetryIds: SwiftProtobuf.Enum { case clickGuest // = 29 case completeGuest // = 30 case cancelGuest // = 31 + case clickPtcOauth // = 32 + case exitPtcOauth // = 33 + case clickPtcOauthRegister // = 34 + case clickPtcOauthSignIn // = 35 + case cancelPtcOauthSignIn // = 36 + case completePtcOauthSignIn // = 37 case UNRECOGNIZED(Int) public init() { @@ -15835,6 +18353,12 @@ public enum LoginActionTelemetryIds: SwiftProtobuf.Enum { case 29: self = .clickGuest case 30: self = .completeGuest case 31: self = .cancelGuest + case 32: self = .clickPtcOauth + case 33: self = .exitPtcOauth + case 34: self = .clickPtcOauthRegister + case 35: self = .clickPtcOauthSignIn + case 36: self = .cancelPtcOauthSignIn + case 37: self = .completePtcOauthSignIn default: self = .UNRECOGNIZED(rawValue) } } @@ -15873,6 +18397,12 @@ public enum LoginActionTelemetryIds: SwiftProtobuf.Enum { case .clickGuest: return 29 case .completeGuest: return 30 case .cancelGuest: return 31 + case .clickPtcOauth: return 32 + case .exitPtcOauth: return 33 + case .clickPtcOauthRegister: return 34 + case .clickPtcOauthSignIn: return 35 + case .cancelPtcOauthSignIn: return 36 + case .completePtcOauthSignIn: return 37 case .UNRECOGNIZED(let i): return i } } @@ -15916,6 +18446,12 @@ extension LoginActionTelemetryIds: CaseIterable { .clickGuest, .completeGuest, .cancelGuest, + .clickPtcOauth, + .exitPtcOauth, + .clickPtcOauthRegister, + .clickPtcOauthSignIn, + .cancelPtcOauthSignIn, + .completePtcOauthSignIn, ] } @@ -16001,82 +18537,6 @@ extension MapEventsTelemetryIds: CaseIterable { #endif // swift(>=4.2) -public enum MapLayer: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case boundaries // = 1 - case buildings // = 2 - case landmass // = 3 - case landuse // = 4 - case places // = 5 - case pois // = 6 - case roads // = 7 - case transit // = 8 - case water // = 9 - case debugTileBoundaries // = 10 - case UNRECOGNIZED(Int) - - public init() { - self = .undefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 1: self = .boundaries - case 2: self = .buildings - case 3: self = .landmass - case 4: self = .landuse - case 5: self = .places - case 6: self = .pois - case 7: self = .roads - case 8: self = .transit - case 9: self = .water - case 10: self = .debugTileBoundaries - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .boundaries: return 1 - case .buildings: return 2 - case .landmass: return 3 - case .landuse: return 4 - case .places: return 5 - case .pois: return 6 - case .roads: return 7 - case .transit: return 8 - case .water: return 9 - case .debugTileBoundaries: return 10 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension MapLayer: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapLayer] = [ - .undefined, - .boundaries, - .buildings, - .landmass, - .landuse, - .places, - .pois, - .roads, - .transit, - .water, - .debugTileBoundaries, - ] -} - -#endif // swift(>=4.2) - public enum MementoType: SwiftProtobuf.Enum { public typealias RawValue = Int case mementoPostcard // = 0 @@ -16179,6 +18639,7 @@ public enum Method: SwiftProtobuf.Enum { case redeemPoiPasscode // = 170 case convertCandyToXlCandy // = 171 case isSkuAvailable // = 172 + case useItemBulkHeal // = 173 case getAssetDigest // = 300 case getDownloadUrls // = 301 case getAssetVersion // = 302 @@ -16188,6 +18649,9 @@ public enum Method: SwiftProtobuf.Enum { case markTutorialComplete // = 406 case updatePerformanceMetrics // = 407 case setNeutralAvatar // = 408 + case listAvatarStoreItems // = 409 + case listAvatarAppearanceItems // = 410 + case neutralAvatarBadgeReward // = 450 case checkChallenge // = 600 case verifyChallenge // = 601 case echo // = 666 @@ -16238,9 +18702,6 @@ public enum Method: SwiftProtobuf.Enum { case setFriendNickname // = 957 case deleteGiftFromInventory // = 958 case saveSocialPlayerSettings // = 959 - case shareExRaidPass // = 960 - case checkShareExRaidPass // = 961 - case declineSharedExRaidPass // = 962 case openTrading // = 970 case updateTrading // = 971 case confirmTrading // = 972 @@ -16322,6 +18783,10 @@ public enum Method: SwiftProtobuf.Enum { case routeEncounter // = 1417 case canReportRoute // = 1418 case routeUptateSeen // = 1420 + case recallRouteDraft // = 1421 + case routesNearbyNotifShown // = 1422 + case npcRouteGift // = 1423 + case getRouteCreations // = 1424 case createBuddyMutliplayerSession // = 1456 case joinBuddyMultiplayerSession // = 1457 case leaveBuddyMultiplayerSession // = 1458 @@ -16349,6 +18814,7 @@ public enum Method: SwiftProtobuf.Enum { case changePokemonForm // = 1722 case chooseEventVariant // = 1723 case butterflyCollectorRewardEncounter // = 1724 + case getAdditionalPokemonDetails // = 1725 case getReferralCode // = 1800 case addReferrer // = 1801 case sendFriendInviteViaReferralCode // = 1802 @@ -16379,6 +18845,7 @@ public enum Method: SwiftProtobuf.Enum { case getEligibleCombatLeagues // = 2009 case sendFriendRequestViaPlayerIds // = 2010 case getRaidLobbyCounter // = 2011 + case useNonCombatMove // = 2014 case checkPokemonSizeContestEligibility // = 2100 case updatePokemonSizeContestEntry // = 2101 case transferPokemonSizeContestEntry // = 2102 @@ -16402,9 +18869,22 @@ public enum Method: SwiftProtobuf.Enum { case updatePartyLocation // = 2305 case sendPartyDarkLaunchLog // = 2306 case startPartyQuest // = 2308 + case completePartyQuest // = 2309 case getBonusAttractedPokemon // = 2350 + case getBonuses // = 2352 + case badgeRewardEncounter // = 2360 + case npcUpdateState // = 2400 + case npcSendGift // = 2401 + case npcOpenGift // = 2402 case getVpsEvents // = 3000 case updateVpsEvents // = 3001 + case addPtcLoginAction // = 3002 + case claimPtcLinkingReward // = 3003 + case canClaimPtcRewardAction // = 3004 + case contributePartyItems // = 3005 + case consumePartyItems // = 3006 + case removePtcLogin // = 3007 + case sendPartyPlayInvite // = 3008 case UNRECOGNIZED(Int) public init() { @@ -16477,6 +18957,7 @@ public enum Method: SwiftProtobuf.Enum { case 170: self = .redeemPoiPasscode case 171: self = .convertCandyToXlCandy case 172: self = .isSkuAvailable + case 173: self = .useItemBulkHeal case 300: self = .getAssetDigest case 301: self = .getDownloadUrls case 302: self = .getAssetVersion @@ -16486,6 +18967,9 @@ public enum Method: SwiftProtobuf.Enum { case 406: self = .markTutorialComplete case 407: self = .updatePerformanceMetrics case 408: self = .setNeutralAvatar + case 409: self = .listAvatarStoreItems + case 410: self = .listAvatarAppearanceItems + case 450: self = .neutralAvatarBadgeReward case 600: self = .checkChallenge case 601: self = .verifyChallenge case 666: self = .echo @@ -16536,9 +19020,6 @@ public enum Method: SwiftProtobuf.Enum { case 957: self = .setFriendNickname case 958: self = .deleteGiftFromInventory case 959: self = .saveSocialPlayerSettings - case 960: self = .shareExRaidPass - case 961: self = .checkShareExRaidPass - case 962: self = .declineSharedExRaidPass case 970: self = .openTrading case 971: self = .updateTrading case 972: self = .confirmTrading @@ -16620,6 +19101,10 @@ public enum Method: SwiftProtobuf.Enum { case 1417: self = .routeEncounter case 1418: self = .canReportRoute case 1420: self = .routeUptateSeen + case 1421: self = .recallRouteDraft + case 1422: self = .routesNearbyNotifShown + case 1423: self = .npcRouteGift + case 1424: self = .getRouteCreations case 1456: self = .createBuddyMutliplayerSession case 1457: self = .joinBuddyMultiplayerSession case 1458: self = .leaveBuddyMultiplayerSession @@ -16647,6 +19132,7 @@ public enum Method: SwiftProtobuf.Enum { case 1722: self = .changePokemonForm case 1723: self = .chooseEventVariant case 1724: self = .butterflyCollectorRewardEncounter + case 1725: self = .getAdditionalPokemonDetails case 1800: self = .getReferralCode case 1801: self = .addReferrer case 1802: self = .sendFriendInviteViaReferralCode @@ -16677,6 +19163,7 @@ public enum Method: SwiftProtobuf.Enum { case 2009: self = .getEligibleCombatLeagues case 2010: self = .sendFriendRequestViaPlayerIds case 2011: self = .getRaidLobbyCounter + case 2014: self = .useNonCombatMove case 2100: self = .checkPokemonSizeContestEligibility case 2101: self = .updatePokemonSizeContestEntry case 2102: self = .transferPokemonSizeContestEntry @@ -16700,9 +19187,22 @@ public enum Method: SwiftProtobuf.Enum { case 2305: self = .updatePartyLocation case 2306: self = .sendPartyDarkLaunchLog case 2308: self = .startPartyQuest + case 2309: self = .completePartyQuest case 2350: self = .getBonusAttractedPokemon + case 2352: self = .getBonuses + case 2360: self = .badgeRewardEncounter + case 2400: self = .npcUpdateState + case 2401: self = .npcSendGift + case 2402: self = .npcOpenGift case 3000: self = .getVpsEvents case 3001: self = .updateVpsEvents + case 3002: self = .addPtcLoginAction + case 3003: self = .claimPtcLinkingReward + case 3004: self = .canClaimPtcRewardAction + case 3005: self = .contributePartyItems + case 3006: self = .consumePartyItems + case 3007: self = .removePtcLogin + case 3008: self = .sendPartyPlayInvite default: self = .UNRECOGNIZED(rawValue) } } @@ -16773,6 +19273,7 @@ public enum Method: SwiftProtobuf.Enum { case .redeemPoiPasscode: return 170 case .convertCandyToXlCandy: return 171 case .isSkuAvailable: return 172 + case .useItemBulkHeal: return 173 case .getAssetDigest: return 300 case .getDownloadUrls: return 301 case .getAssetVersion: return 302 @@ -16782,6 +19283,9 @@ public enum Method: SwiftProtobuf.Enum { case .markTutorialComplete: return 406 case .updatePerformanceMetrics: return 407 case .setNeutralAvatar: return 408 + case .listAvatarStoreItems: return 409 + case .listAvatarAppearanceItems: return 410 + case .neutralAvatarBadgeReward: return 450 case .checkChallenge: return 600 case .verifyChallenge: return 601 case .echo: return 666 @@ -16832,9 +19336,6 @@ public enum Method: SwiftProtobuf.Enum { case .setFriendNickname: return 957 case .deleteGiftFromInventory: return 958 case .saveSocialPlayerSettings: return 959 - case .shareExRaidPass: return 960 - case .checkShareExRaidPass: return 961 - case .declineSharedExRaidPass: return 962 case .openTrading: return 970 case .updateTrading: return 971 case .confirmTrading: return 972 @@ -16916,6 +19417,10 @@ public enum Method: SwiftProtobuf.Enum { case .routeEncounter: return 1417 case .canReportRoute: return 1418 case .routeUptateSeen: return 1420 + case .recallRouteDraft: return 1421 + case .routesNearbyNotifShown: return 1422 + case .npcRouteGift: return 1423 + case .getRouteCreations: return 1424 case .createBuddyMutliplayerSession: return 1456 case .joinBuddyMultiplayerSession: return 1457 case .leaveBuddyMultiplayerSession: return 1458 @@ -16943,6 +19448,7 @@ public enum Method: SwiftProtobuf.Enum { case .changePokemonForm: return 1722 case .chooseEventVariant: return 1723 case .butterflyCollectorRewardEncounter: return 1724 + case .getAdditionalPokemonDetails: return 1725 case .getReferralCode: return 1800 case .addReferrer: return 1801 case .sendFriendInviteViaReferralCode: return 1802 @@ -16973,6 +19479,7 @@ public enum Method: SwiftProtobuf.Enum { case .getEligibleCombatLeagues: return 2009 case .sendFriendRequestViaPlayerIds: return 2010 case .getRaidLobbyCounter: return 2011 + case .useNonCombatMove: return 2014 case .checkPokemonSizeContestEligibility: return 2100 case .updatePokemonSizeContestEntry: return 2101 case .transferPokemonSizeContestEntry: return 2102 @@ -16996,9 +19503,22 @@ public enum Method: SwiftProtobuf.Enum { case .updatePartyLocation: return 2305 case .sendPartyDarkLaunchLog: return 2306 case .startPartyQuest: return 2308 + case .completePartyQuest: return 2309 case .getBonusAttractedPokemon: return 2350 + case .getBonuses: return 2352 + case .badgeRewardEncounter: return 2360 + case .npcUpdateState: return 2400 + case .npcSendGift: return 2401 + case .npcOpenGift: return 2402 case .getVpsEvents: return 3000 case .updateVpsEvents: return 3001 + case .addPtcLoginAction: return 3002 + case .claimPtcLinkingReward: return 3003 + case .canClaimPtcRewardAction: return 3004 + case .contributePartyItems: return 3005 + case .consumePartyItems: return 3006 + case .removePtcLogin: return 3007 + case .sendPartyPlayInvite: return 3008 case .UNRECOGNIZED(let i): return i } } @@ -17074,6 +19594,7 @@ extension Method: CaseIterable { .redeemPoiPasscode, .convertCandyToXlCandy, .isSkuAvailable, + .useItemBulkHeal, .getAssetDigest, .getDownloadUrls, .getAssetVersion, @@ -17083,6 +19604,9 @@ extension Method: CaseIterable { .markTutorialComplete, .updatePerformanceMetrics, .setNeutralAvatar, + .listAvatarStoreItems, + .listAvatarAppearanceItems, + .neutralAvatarBadgeReward, .checkChallenge, .verifyChallenge, .echo, @@ -17133,9 +19657,6 @@ extension Method: CaseIterable { .setFriendNickname, .deleteGiftFromInventory, .saveSocialPlayerSettings, - .shareExRaidPass, - .checkShareExRaidPass, - .declineSharedExRaidPass, .openTrading, .updateTrading, .confirmTrading, @@ -17217,6 +19738,10 @@ extension Method: CaseIterable { .routeEncounter, .canReportRoute, .routeUptateSeen, + .recallRouteDraft, + .routesNearbyNotifShown, + .npcRouteGift, + .getRouteCreations, .createBuddyMutliplayerSession, .joinBuddyMultiplayerSession, .leaveBuddyMultiplayerSession, @@ -17244,6 +19769,7 @@ extension Method: CaseIterable { .changePokemonForm, .chooseEventVariant, .butterflyCollectorRewardEncounter, + .getAdditionalPokemonDetails, .getReferralCode, .addReferrer, .sendFriendInviteViaReferralCode, @@ -17274,6 +19800,7 @@ extension Method: CaseIterable { .getEligibleCombatLeagues, .sendFriendRequestViaPlayerIds, .getRaidLobbyCounter, + .useNonCombatMove, .checkPokemonSizeContestEligibility, .updatePokemonSizeContestEntry, .transferPokemonSizeContestEntry, @@ -17297,161 +19824,22 @@ extension Method: CaseIterable { .updatePartyLocation, .sendPartyDarkLaunchLog, .startPartyQuest, + .completePartyQuest, .getBonusAttractedPokemon, + .getBonuses, + .badgeRewardEncounter, + .npcUpdateState, + .npcSendGift, + .npcOpenGift, .getVpsEvents, .updateVpsEvents, - ] -} - -#endif // swift(>=4.2) - -public enum NMAMethod: SwiftProtobuf.Enum { - public typealias RawValue = Int - case methodUnset // = 0 - case getPlayer // = 1 - case getSurveyorProjects // = 2 - case getServerConfig // = 3 - case updateSurveyorProject // = 4 - case updateUserOnboarding // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .methodUnset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .methodUnset - case 1: self = .getPlayer - case 2: self = .getSurveyorProjects - case 3: self = .getServerConfig - case 4: self = .updateSurveyorProject - case 5: self = .updateUserOnboarding - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .methodUnset: return 0 - case .getPlayer: return 1 - case .getSurveyorProjects: return 2 - case .getServerConfig: return 3 - case .updateSurveyorProject: return 4 - case .updateUserOnboarding: return 5 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension NMAMethod: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMAMethod] = [ - .methodUnset, - .getPlayer, - .getSurveyorProjects, - .getServerConfig, - .updateSurveyorProject, - .updateUserOnboarding, - ] -} - -#endif // swift(>=4.2) - -public enum NMAOnboardingCompletion: SwiftProtobuf.Enum { - public typealias RawValue = Int - case notSpecified // = 0 - case termsOfServiceComfirmation // = 1 - case privacyPolicyConfirmation // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .notSpecified - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .notSpecified - case 1: self = .termsOfServiceComfirmation - case 2: self = .privacyPolicyConfirmation - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .notSpecified: return 0 - case .termsOfServiceComfirmation: return 1 - case .privacyPolicyConfirmation: return 2 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension NMAOnboardingCompletion: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMAOnboardingCompletion] = [ - .notSpecified, - .termsOfServiceComfirmation, - .privacyPolicyConfirmation, - ] -} - -#endif // swift(>=4.2) - -public enum NMARole: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case nmaSurveyor // = 1 - case nmaDeveloper // = 2 - case nmaAdmin // = 3 - case nmaUser // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .undefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 1: self = .nmaSurveyor - case 2: self = .nmaDeveloper - case 3: self = .nmaAdmin - case 4: self = .nmaUser - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .nmaSurveyor: return 1 - case .nmaDeveloper: return 2 - case .nmaAdmin: return 3 - case .nmaUser: return 4 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension NMARole: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMARole] = [ - .undefined, - .nmaSurveyor, - .nmaDeveloper, - .nmaAdmin, - .nmaUser, + .addPtcLoginAction, + .claimPtcLinkingReward, + .canClaimPtcRewardAction, + .contributePartyItems, + .consumePartyItems, + .removePtcLogin, + .sendPartyPlayInvite, ] } @@ -17509,28 +19897,34 @@ extension NewsPageTelemetryIds: CaseIterable { #endif // swift(>=4.2) -public enum NominationType: SwiftProtobuf.Enum { +public enum NonCombatMoveType: SwiftProtobuf.Enum { public typealias RawValue = Int - case regular // = 0 - case provisional // = 1 + case unset // = 0 + case fastAttack // = 1 + case chargedAttack // = 2 + case chargedAttack2 // = 3 case UNRECOGNIZED(Int) public init() { - self = .regular + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .regular - case 1: self = .provisional + case 0: self = .unset + case 1: self = .fastAttack + case 2: self = .chargedAttack + case 3: self = .chargedAttack2 default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .regular: return 0 - case .provisional: return 1 + case .unset: return 0 + case .fastAttack: return 1 + case .chargedAttack: return 2 + case .chargedAttack2: return 3 case .UNRECOGNIZED(let i): return i } } @@ -17539,38 +19933,238 @@ public enum NominationType: SwiftProtobuf.Enum { #if swift(>=4.2) -extension NominationType: CaseIterable { +extension NonCombatMoveType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NominationType] = [ - .regular, - .provisional, + public static var allCases: [NonCombatMoveType] = [ + .unset, + .fastAttack, + .chargedAttack, + .chargedAttack2, ] } #endif // swift(>=4.2) -public enum NotificationState: SwiftProtobuf.Enum { +public enum NotificationCategory: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetState // = 0 - case viewed // = 1 + case unset // = 0 + case gymRemoval // = 1 + case pokemonHungry // = 2 + case pokemonWon // = 3 + case giftboxIncoming // = 6 + case giftboxDelivered // = 7 + case friendshipMilestoneReward // = 8 + case gymBattleFriendshipIncrement // = 9 + case bgmodeEggHatch // = 11 + case bgmodeBuddyCandy // = 12 + case bgmodeWeeklyFitnessReport // = 13 + case combatChallengeOpened // = 14 + case bgmodeOffSessionDistance // = 15 + case bgmodePoiProximity // = 16 + case luckyFriend // = 17 + case bgmodeNamedBuddyCandy // = 18 + case appBadgeOnly // = 19 + case combatVsSeekerCharged // = 20 + case combatCompetitiveSeasonEnd // = 21 + case buddyHungry // = 22 + case buddyFoundGift // = 24 + case buddyAffectionLevelMilestone // = 25 + case buddyAffectionWalking // = 26 + case buddyAffectionCare // = 27 + case buddyAffectionBattle // = 28 + case buddyAffectionPhoto // = 29 + case buddyAffectionPoi // = 30 + case bgmodeBuddyFoundGift // = 31 + case buddyAttractivePoi // = 32 + case bgmodeBuddyAttractivePoi // = 33 + case routeSubmissionAccepted // = 34 + case routeSubmissionRejected // = 35 + case buddyAffectionAttractivePoi // = 36 + case poiPasscodeRedeemed // = 37 + case noEggsIncubating // = 38 + case retentionUnopenedGifts // = 39 + case retentionStarpiece // = 40 + case retentionIncense // = 41 + case retentionLuckyEgg // = 42 + case retentionAdvsyncRewards // = 43 + case retentionEggsNotIncubating // = 44 + case retentionPowerWalk // = 45 + case retentionFunWithFriends // = 46 + case buddyRemoteGift // = 47 + case bgmodeBuddyRemoteGift // = 48 + case remoteRaidInvitation // = 49 + case itemRewards // = 50 + case timedGroupChallengeStarted // = 51 + case timedGroupChallengeGoalMet // = 52 + case deepLinking // = 53 + case buddyAffectionVisitPoweredUpFort // = 54 + case pokedexUnlockedCategoryList // = 55 + case contactSignedUp // = 56 + case postcardSavedByFriend // = 57 + case ticketGiftNotified // = 58 + case ticketGiftReceived // = 59 + case dailyAdventureIncenseUnused // = 60 + case campfireInvite // = 61 + case bgmodeUncaughtDistance // = 62 + case bgmodeOpenGymSpot // = 63 + case bgmodeNoEggsIncubating // = 64 + case weeklyReminderKm // = 65 + case externalReward // = 66 + case sleepReward // = 67 + case partyPlayInvitation // = 68 + case buddyAffectionRoute // = 69 + case campfireRaidReady // = 70 + case tappableZygardeCell // = 71 case UNRECOGNIZED(Int) public init() { - self = .unsetState + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetState - case 1: self = .viewed + case 0: self = .unset + case 1: self = .gymRemoval + case 2: self = .pokemonHungry + case 3: self = .pokemonWon + case 6: self = .giftboxIncoming + case 7: self = .giftboxDelivered + case 8: self = .friendshipMilestoneReward + case 9: self = .gymBattleFriendshipIncrement + case 11: self = .bgmodeEggHatch + case 12: self = .bgmodeBuddyCandy + case 13: self = .bgmodeWeeklyFitnessReport + case 14: self = .combatChallengeOpened + case 15: self = .bgmodeOffSessionDistance + case 16: self = .bgmodePoiProximity + case 17: self = .luckyFriend + case 18: self = .bgmodeNamedBuddyCandy + case 19: self = .appBadgeOnly + case 20: self = .combatVsSeekerCharged + case 21: self = .combatCompetitiveSeasonEnd + case 22: self = .buddyHungry + case 24: self = .buddyFoundGift + case 25: self = .buddyAffectionLevelMilestone + case 26: self = .buddyAffectionWalking + case 27: self = .buddyAffectionCare + case 28: self = .buddyAffectionBattle + case 29: self = .buddyAffectionPhoto + case 30: self = .buddyAffectionPoi + case 31: self = .bgmodeBuddyFoundGift + case 32: self = .buddyAttractivePoi + case 33: self = .bgmodeBuddyAttractivePoi + case 34: self = .routeSubmissionAccepted + case 35: self = .routeSubmissionRejected + case 36: self = .buddyAffectionAttractivePoi + case 37: self = .poiPasscodeRedeemed + case 38: self = .noEggsIncubating + case 39: self = .retentionUnopenedGifts + case 40: self = .retentionStarpiece + case 41: self = .retentionIncense + case 42: self = .retentionLuckyEgg + case 43: self = .retentionAdvsyncRewards + case 44: self = .retentionEggsNotIncubating + case 45: self = .retentionPowerWalk + case 46: self = .retentionFunWithFriends + case 47: self = .buddyRemoteGift + case 48: self = .bgmodeBuddyRemoteGift + case 49: self = .remoteRaidInvitation + case 50: self = .itemRewards + case 51: self = .timedGroupChallengeStarted + case 52: self = .timedGroupChallengeGoalMet + case 53: self = .deepLinking + case 54: self = .buddyAffectionVisitPoweredUpFort + case 55: self = .pokedexUnlockedCategoryList + case 56: self = .contactSignedUp + case 57: self = .postcardSavedByFriend + case 58: self = .ticketGiftNotified + case 59: self = .ticketGiftReceived + case 60: self = .dailyAdventureIncenseUnused + case 61: self = .campfireInvite + case 62: self = .bgmodeUncaughtDistance + case 63: self = .bgmodeOpenGymSpot + case 64: self = .bgmodeNoEggsIncubating + case 65: self = .weeklyReminderKm + case 66: self = .externalReward + case 67: self = .sleepReward + case 68: self = .partyPlayInvitation + case 69: self = .buddyAffectionRoute + case 70: self = .campfireRaidReady + case 71: self = .tappableZygardeCell default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetState: return 0 - case .viewed: return 1 + case .unset: return 0 + case .gymRemoval: return 1 + case .pokemonHungry: return 2 + case .pokemonWon: return 3 + case .giftboxIncoming: return 6 + case .giftboxDelivered: return 7 + case .friendshipMilestoneReward: return 8 + case .gymBattleFriendshipIncrement: return 9 + case .bgmodeEggHatch: return 11 + case .bgmodeBuddyCandy: return 12 + case .bgmodeWeeklyFitnessReport: return 13 + case .combatChallengeOpened: return 14 + case .bgmodeOffSessionDistance: return 15 + case .bgmodePoiProximity: return 16 + case .luckyFriend: return 17 + case .bgmodeNamedBuddyCandy: return 18 + case .appBadgeOnly: return 19 + case .combatVsSeekerCharged: return 20 + case .combatCompetitiveSeasonEnd: return 21 + case .buddyHungry: return 22 + case .buddyFoundGift: return 24 + case .buddyAffectionLevelMilestone: return 25 + case .buddyAffectionWalking: return 26 + case .buddyAffectionCare: return 27 + case .buddyAffectionBattle: return 28 + case .buddyAffectionPhoto: return 29 + case .buddyAffectionPoi: return 30 + case .bgmodeBuddyFoundGift: return 31 + case .buddyAttractivePoi: return 32 + case .bgmodeBuddyAttractivePoi: return 33 + case .routeSubmissionAccepted: return 34 + case .routeSubmissionRejected: return 35 + case .buddyAffectionAttractivePoi: return 36 + case .poiPasscodeRedeemed: return 37 + case .noEggsIncubating: return 38 + case .retentionUnopenedGifts: return 39 + case .retentionStarpiece: return 40 + case .retentionIncense: return 41 + case .retentionLuckyEgg: return 42 + case .retentionAdvsyncRewards: return 43 + case .retentionEggsNotIncubating: return 44 + case .retentionPowerWalk: return 45 + case .retentionFunWithFriends: return 46 + case .buddyRemoteGift: return 47 + case .bgmodeBuddyRemoteGift: return 48 + case .remoteRaidInvitation: return 49 + case .itemRewards: return 50 + case .timedGroupChallengeStarted: return 51 + case .timedGroupChallengeGoalMet: return 52 + case .deepLinking: return 53 + case .buddyAffectionVisitPoweredUpFort: return 54 + case .pokedexUnlockedCategoryList: return 55 + case .contactSignedUp: return 56 + case .postcardSavedByFriend: return 57 + case .ticketGiftNotified: return 58 + case .ticketGiftReceived: return 59 + case .dailyAdventureIncenseUnused: return 60 + case .campfireInvite: return 61 + case .bgmodeUncaughtDistance: return 62 + case .bgmodeOpenGymSpot: return 63 + case .bgmodeNoEggsIncubating: return 64 + case .weeklyReminderKm: return 65 + case .externalReward: return 66 + case .sleepReward: return 67 + case .partyPlayInvitation: return 68 + case .buddyAffectionRoute: return 69 + case .campfireRaidReady: return 70 + case .tappableZygardeCell: return 71 case .UNRECOGNIZED(let i): return i } } @@ -17579,35 +20173,104 @@ public enum NotificationState: SwiftProtobuf.Enum { #if swift(>=4.2) -extension NotificationState: CaseIterable { +extension NotificationCategory: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NotificationState] = [ - .unsetState, - .viewed, + public static var allCases: [NotificationCategory] = [ + .unset, + .gymRemoval, + .pokemonHungry, + .pokemonWon, + .giftboxIncoming, + .giftboxDelivered, + .friendshipMilestoneReward, + .gymBattleFriendshipIncrement, + .bgmodeEggHatch, + .bgmodeBuddyCandy, + .bgmodeWeeklyFitnessReport, + .combatChallengeOpened, + .bgmodeOffSessionDistance, + .bgmodePoiProximity, + .luckyFriend, + .bgmodeNamedBuddyCandy, + .appBadgeOnly, + .combatVsSeekerCharged, + .combatCompetitiveSeasonEnd, + .buddyHungry, + .buddyFoundGift, + .buddyAffectionLevelMilestone, + .buddyAffectionWalking, + .buddyAffectionCare, + .buddyAffectionBattle, + .buddyAffectionPhoto, + .buddyAffectionPoi, + .bgmodeBuddyFoundGift, + .buddyAttractivePoi, + .bgmodeBuddyAttractivePoi, + .routeSubmissionAccepted, + .routeSubmissionRejected, + .buddyAffectionAttractivePoi, + .poiPasscodeRedeemed, + .noEggsIncubating, + .retentionUnopenedGifts, + .retentionStarpiece, + .retentionIncense, + .retentionLuckyEgg, + .retentionAdvsyncRewards, + .retentionEggsNotIncubating, + .retentionPowerWalk, + .retentionFunWithFriends, + .buddyRemoteGift, + .bgmodeBuddyRemoteGift, + .remoteRaidInvitation, + .itemRewards, + .timedGroupChallengeStarted, + .timedGroupChallengeGoalMet, + .deepLinking, + .buddyAffectionVisitPoweredUpFort, + .pokedexUnlockedCategoryList, + .contactSignedUp, + .postcardSavedByFriend, + .ticketGiftNotified, + .ticketGiftReceived, + .dailyAdventureIncenseUnused, + .campfireInvite, + .bgmodeUncaughtDistance, + .bgmodeOpenGymSpot, + .bgmodeNoEggsIncubating, + .weeklyReminderKm, + .externalReward, + .sleepReward, + .partyPlayInvitation, + .buddyAffectionRoute, + .campfireRaidReady, + .tappableZygardeCell, ] } #endif // swift(>=4.2) -public enum NullValue: SwiftProtobuf.Enum { +public enum NotificationState: SwiftProtobuf.Enum { public typealias RawValue = Int - case nullValue // = 0 + case unsetState // = 0 + case viewed // = 1 case UNRECOGNIZED(Int) public init() { - self = .nullValue + self = .unsetState } public init?(rawValue: Int) { switch rawValue { - case 0: self = .nullValue + case 0: self = .unsetState + case 1: self = .viewed default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .nullValue: return 0 + case .unsetState: return 0 + case .viewed: return 1 case .UNRECOGNIZED(let i): return i } } @@ -17616,223 +20279,44 @@ public enum NullValue: SwiftProtobuf.Enum { #if swift(>=4.2) -extension NullValue: CaseIterable { +extension NotificationState: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NullValue] = [ - .nullValue, + public static var allCases: [NotificationState] = [ + .unsetState, + .viewed, ] } #endif // swift(>=4.2) -public enum ObPogoProtoDataEnum: SwiftProtobuf.Enum { +public enum NotificationType: SwiftProtobuf.Enum { public typealias RawValue = Int - case data0 // = 0 - case data1 // = 1 - case data2 // = 2 - case data3 // = 3 - case data4 // = 4 - case data5 // = 5 - case data6 // = 6 - case data7 // = 7 - case data8 // = 8 - case data9 // = 9 - case data10 // = 10 - case data11 // = 11 - case data12 // = 12 - case data13 // = 13 - case data14 // = 14 - case data15 // = 15 - case data16 // = 16 - case data17 // = 17 - case data18 // = 18 - case data19 // = 19 - case data20 // = 20 - case data21 // = 21 - case data22 // = 22 - case data23 // = 23 - case data24 // = 24 - case data25 // = 25 - case data26 // = 26 - case data27 // = 27 - case data28 // = 28 - case data29 // = 29 - case data30 // = 30 - case data31 // = 31 - case data32 // = 32 - case data33 // = 33 - case data34 // = 34 - case data35 // = 35 - case data36 // = 36 - case data37 // = 37 - case data38 // = 38 - case data39 // = 39 - case data40 // = 40 - case data41 // = 41 - case data42 // = 42 - case data43 // = 43 - case data44 // = 44 - case data45 // = 45 - case data46 // = 46 - case data47 // = 47 - case data48 // = 48 - case data49 // = 49 - case data50 // = 50 - case data51 // = 51 - case data52 // = 52 - case data53 // = 53 - case data54 // = 54 - case data55 // = 55 - case data56 // = 56 - case data57 // = 57 - case data58 // = 58 - case data59 // = 59 - case data60 // = 60 - case data61 // = 61 - case data62 // = 62 - case data63 // = 63 + case noNotifications // = 0 + case pokemonNotifications // = 1 + case pokestopNotifications // = 2 + case systemNotifications // = 4 case UNRECOGNIZED(Int) public init() { - self = .data0 + self = .noNotifications } public init?(rawValue: Int) { switch rawValue { - case 0: self = .data0 - case 1: self = .data1 - case 2: self = .data2 - case 3: self = .data3 - case 4: self = .data4 - case 5: self = .data5 - case 6: self = .data6 - case 7: self = .data7 - case 8: self = .data8 - case 9: self = .data9 - case 10: self = .data10 - case 11: self = .data11 - case 12: self = .data12 - case 13: self = .data13 - case 14: self = .data14 - case 15: self = .data15 - case 16: self = .data16 - case 17: self = .data17 - case 18: self = .data18 - case 19: self = .data19 - case 20: self = .data20 - case 21: self = .data21 - case 22: self = .data22 - case 23: self = .data23 - case 24: self = .data24 - case 25: self = .data25 - case 26: self = .data26 - case 27: self = .data27 - case 28: self = .data28 - case 29: self = .data29 - case 30: self = .data30 - case 31: self = .data31 - case 32: self = .data32 - case 33: self = .data33 - case 34: self = .data34 - case 35: self = .data35 - case 36: self = .data36 - case 37: self = .data37 - case 38: self = .data38 - case 39: self = .data39 - case 40: self = .data40 - case 41: self = .data41 - case 42: self = .data42 - case 43: self = .data43 - case 44: self = .data44 - case 45: self = .data45 - case 46: self = .data46 - case 47: self = .data47 - case 48: self = .data48 - case 49: self = .data49 - case 50: self = .data50 - case 51: self = .data51 - case 52: self = .data52 - case 53: self = .data53 - case 54: self = .data54 - case 55: self = .data55 - case 56: self = .data56 - case 57: self = .data57 - case 58: self = .data58 - case 59: self = .data59 - case 60: self = .data60 - case 61: self = .data61 - case 62: self = .data62 - case 63: self = .data63 + case 0: self = .noNotifications + case 1: self = .pokemonNotifications + case 2: self = .pokestopNotifications + case 4: self = .systemNotifications default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .data0: return 0 - case .data1: return 1 - case .data2: return 2 - case .data3: return 3 - case .data4: return 4 - case .data5: return 5 - case .data6: return 6 - case .data7: return 7 - case .data8: return 8 - case .data9: return 9 - case .data10: return 10 - case .data11: return 11 - case .data12: return 12 - case .data13: return 13 - case .data14: return 14 - case .data15: return 15 - case .data16: return 16 - case .data17: return 17 - case .data18: return 18 - case .data19: return 19 - case .data20: return 20 - case .data21: return 21 - case .data22: return 22 - case .data23: return 23 - case .data24: return 24 - case .data25: return 25 - case .data26: return 26 - case .data27: return 27 - case .data28: return 28 - case .data29: return 29 - case .data30: return 30 - case .data31: return 31 - case .data32: return 32 - case .data33: return 33 - case .data34: return 34 - case .data35: return 35 - case .data36: return 36 - case .data37: return 37 - case .data38: return 38 - case .data39: return 39 - case .data40: return 40 - case .data41: return 41 - case .data42: return 42 - case .data43: return 43 - case .data44: return 44 - case .data45: return 45 - case .data46: return 46 - case .data47: return 47 - case .data48: return 48 - case .data49: return 49 - case .data50: return 50 - case .data51: return 51 - case .data52: return 52 - case .data53: return 53 - case .data54: return 54 - case .data55: return 55 - case .data56: return 56 - case .data57: return 57 - case .data58: return 58 - case .data59: return 59 - case .data60: return 60 - case .data61: return 61 - case .data62: return 62 - case .data63: return 63 + case .noNotifications: return 0 + case .pokemonNotifications: return 1 + case .pokestopNotifications: return 2 + case .systemNotifications: return 4 case .UNRECOGNIZED(let i): return i } } @@ -17841,106 +20325,37 @@ public enum ObPogoProtoDataEnum: SwiftProtobuf.Enum { #if swift(>=4.2) -extension ObPogoProtoDataEnum: CaseIterable { +extension NotificationType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObPogoProtoDataEnum] = [ - .data0, - .data1, - .data2, - .data3, - .data4, - .data5, - .data6, - .data7, - .data8, - .data9, - .data10, - .data11, - .data12, - .data13, - .data14, - .data15, - .data16, - .data17, - .data18, - .data19, - .data20, - .data21, - .data22, - .data23, - .data24, - .data25, - .data26, - .data27, - .data28, - .data29, - .data30, - .data31, - .data32, - .data33, - .data34, - .data35, - .data36, - .data37, - .data38, - .data39, - .data40, - .data41, - .data42, - .data43, - .data44, - .data45, - .data46, - .data47, - .data48, - .data49, - .data50, - .data51, - .data52, - .data53, - .data54, - .data55, - .data56, - .data57, - .data58, - .data59, - .data60, - .data61, - .data62, - .data63, + public static var allCases: [NotificationType] = [ + .noNotifications, + .pokemonNotifications, + .pokestopNotifications, + .systemNotifications, ] } #endif // swift(>=4.2) -public enum ObSuggestionsEntry: SwiftProtobuf.Enum { +public enum NullValue: SwiftProtobuf.Enum { public typealias RawValue = Int - case suggestionEntryUndefinedUsernameEntryMode // = 0 - case suggestionEntryNewUser // = 1 - case suggestionEntryChangeBannedName // = 2 - case suggestionEntryExistingUserChangeName // = 3 + case nullValue // = 0 case UNRECOGNIZED(Int) public init() { - self = .suggestionEntryUndefinedUsernameEntryMode + self = .nullValue } public init?(rawValue: Int) { switch rawValue { - case 0: self = .suggestionEntryUndefinedUsernameEntryMode - case 1: self = .suggestionEntryNewUser - case 2: self = .suggestionEntryChangeBannedName - case 3: self = .suggestionEntryExistingUserChangeName + case 0: self = .nullValue default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .suggestionEntryUndefinedUsernameEntryMode: return 0 - case .suggestionEntryNewUser: return 1 - case .suggestionEntryChangeBannedName: return 2 - case .suggestionEntryExistingUserChangeName: return 3 + case .nullValue: return 0 case .UNRECOGNIZED(let i): return i } } @@ -17949,13 +20364,10 @@ public enum ObSuggestionsEntry: SwiftProtobuf.Enum { #if swift(>=4.2) -extension ObSuggestionsEntry: CaseIterable { +extension NullValue: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObSuggestionsEntry] = [ - .suggestionEntryUndefinedUsernameEntryMode, - .suggestionEntryNewUser, - .suggestionEntryChangeBannedName, - .suggestionEntryExistingUserChangeName, + public static var allCases: [NullValue] = [ + .nullValue, ] } @@ -18601,6 +21013,290 @@ extension Platform: CaseIterable { #endif // swift(>=4.2) +public enum PlatformClientAction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case platformUnknownPlatformClientAction // = 0 + case platformRegisterPushNotification // = 5000 + case platformUnregisterPushNotification // = 5001 + case platformUpdateNotificationStatus // = 5002 + case platformOptOutPushNotificationCategory // = 5003 + case platformDownloadGameMasterTemplates // = 5004 + case platformGetInventory // = 5005 + case platformRedeemPasscode // = 5006 + case platformPing // = 5007 + case platformAddLoginAction // = 5008 + case platformRemoveLoginAction // = 5009 + case platformListLoginAction // = 5010 + case platformAddNewPoi // = 5011 + case platformProxySocialAction // = 5012 + case platformDeprecatedClientTelemetry // = 5013 + case platformGetAvailableSubmissions // = 5014 + case platformGetSignedURLForPhotoUpload // = 5015 + case platformReplaceLoginAction // = 5016 + case platformProxySocialSideChannelAction // = 5017 + case platformCollectClientTelemetry // = 5018 + case platformPurchaseSku // = 5019 + case platformGetAvailableSkusAndBalances // = 5020 + case platformRedeemGoogleReceipt // = 5021 + case platformRedeemAppleReceipt // = 5022 + case platformRedeemDesktopReceipt // = 5023 + case platformUpdateFitnessMetrics // = 5024 + case platformGetFitnessReport // = 5025 + case platformGetClientTelemetrySettings // = 5026 + case platformPingAsync // = 5027 + case platformRegisterBackgroundService // = 5028 + case platformGetClientBgmodeSettings // = 5029 + case platformPingDownstream // = 5030 + case platformSetInGameCurrencyExchangeRate // = 5032 + case platformRequestGeofenceUpdates // = 5033 + case platformUpdatePlayerLocation // = 5034 + case platformGenerateGmapSignedURL // = 5035 + case platformGetGmapSettings // = 5036 + case platformRedeemSamsungReceipt // = 5037 + case platformAddNewRoute // = 5038 + case platformGetOutstandingWarnings // = 5039 + case platformAcknowledgeWarnings // = 5040 + case platformSubmitPoiImage // = 5041 + case platformSubmitPoiTextMetadataUpdate // = 5042 + case platformSubmitPoiLocationUpdate // = 5043 + case platformSubmitPoiTakedownRequest // = 5044 + case platformGetWebTokenAction // = 5045 + case platformGetAdventureSyncSettings // = 5046 + case platformUpdateAdventureSyncSettings // = 5047 + case platformSetBirthday // = 5048 + case platformFetchNewsfeedAction // = 5049 + case platformMarkNewsfeedReadAction // = 5050 + case UNRECOGNIZED(Int) + + public init() { + self = .platformUnknownPlatformClientAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .platformUnknownPlatformClientAction + case 5000: self = .platformRegisterPushNotification + case 5001: self = .platformUnregisterPushNotification + case 5002: self = .platformUpdateNotificationStatus + case 5003: self = .platformOptOutPushNotificationCategory + case 5004: self = .platformDownloadGameMasterTemplates + case 5005: self = .platformGetInventory + case 5006: self = .platformRedeemPasscode + case 5007: self = .platformPing + case 5008: self = .platformAddLoginAction + case 5009: self = .platformRemoveLoginAction + case 5010: self = .platformListLoginAction + case 5011: self = .platformAddNewPoi + case 5012: self = .platformProxySocialAction + case 5013: self = .platformDeprecatedClientTelemetry + case 5014: self = .platformGetAvailableSubmissions + case 5015: self = .platformGetSignedURLForPhotoUpload + case 5016: self = .platformReplaceLoginAction + case 5017: self = .platformProxySocialSideChannelAction + case 5018: self = .platformCollectClientTelemetry + case 5019: self = .platformPurchaseSku + case 5020: self = .platformGetAvailableSkusAndBalances + case 5021: self = .platformRedeemGoogleReceipt + case 5022: self = .platformRedeemAppleReceipt + case 5023: self = .platformRedeemDesktopReceipt + case 5024: self = .platformUpdateFitnessMetrics + case 5025: self = .platformGetFitnessReport + case 5026: self = .platformGetClientTelemetrySettings + case 5027: self = .platformPingAsync + case 5028: self = .platformRegisterBackgroundService + case 5029: self = .platformGetClientBgmodeSettings + case 5030: self = .platformPingDownstream + case 5032: self = .platformSetInGameCurrencyExchangeRate + case 5033: self = .platformRequestGeofenceUpdates + case 5034: self = .platformUpdatePlayerLocation + case 5035: self = .platformGenerateGmapSignedURL + case 5036: self = .platformGetGmapSettings + case 5037: self = .platformRedeemSamsungReceipt + case 5038: self = .platformAddNewRoute + case 5039: self = .platformGetOutstandingWarnings + case 5040: self = .platformAcknowledgeWarnings + case 5041: self = .platformSubmitPoiImage + case 5042: self = .platformSubmitPoiTextMetadataUpdate + case 5043: self = .platformSubmitPoiLocationUpdate + case 5044: self = .platformSubmitPoiTakedownRequest + case 5045: self = .platformGetWebTokenAction + case 5046: self = .platformGetAdventureSyncSettings + case 5047: self = .platformUpdateAdventureSyncSettings + case 5048: self = .platformSetBirthday + case 5049: self = .platformFetchNewsfeedAction + case 5050: self = .platformMarkNewsfeedReadAction + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .platformUnknownPlatformClientAction: return 0 + case .platformRegisterPushNotification: return 5000 + case .platformUnregisterPushNotification: return 5001 + case .platformUpdateNotificationStatus: return 5002 + case .platformOptOutPushNotificationCategory: return 5003 + case .platformDownloadGameMasterTemplates: return 5004 + case .platformGetInventory: return 5005 + case .platformRedeemPasscode: return 5006 + case .platformPing: return 5007 + case .platformAddLoginAction: return 5008 + case .platformRemoveLoginAction: return 5009 + case .platformListLoginAction: return 5010 + case .platformAddNewPoi: return 5011 + case .platformProxySocialAction: return 5012 + case .platformDeprecatedClientTelemetry: return 5013 + case .platformGetAvailableSubmissions: return 5014 + case .platformGetSignedURLForPhotoUpload: return 5015 + case .platformReplaceLoginAction: return 5016 + case .platformProxySocialSideChannelAction: return 5017 + case .platformCollectClientTelemetry: return 5018 + case .platformPurchaseSku: return 5019 + case .platformGetAvailableSkusAndBalances: return 5020 + case .platformRedeemGoogleReceipt: return 5021 + case .platformRedeemAppleReceipt: return 5022 + case .platformRedeemDesktopReceipt: return 5023 + case .platformUpdateFitnessMetrics: return 5024 + case .platformGetFitnessReport: return 5025 + case .platformGetClientTelemetrySettings: return 5026 + case .platformPingAsync: return 5027 + case .platformRegisterBackgroundService: return 5028 + case .platformGetClientBgmodeSettings: return 5029 + case .platformPingDownstream: return 5030 + case .platformSetInGameCurrencyExchangeRate: return 5032 + case .platformRequestGeofenceUpdates: return 5033 + case .platformUpdatePlayerLocation: return 5034 + case .platformGenerateGmapSignedURL: return 5035 + case .platformGetGmapSettings: return 5036 + case .platformRedeemSamsungReceipt: return 5037 + case .platformAddNewRoute: return 5038 + case .platformGetOutstandingWarnings: return 5039 + case .platformAcknowledgeWarnings: return 5040 + case .platformSubmitPoiImage: return 5041 + case .platformSubmitPoiTextMetadataUpdate: return 5042 + case .platformSubmitPoiLocationUpdate: return 5043 + case .platformSubmitPoiTakedownRequest: return 5044 + case .platformGetWebTokenAction: return 5045 + case .platformGetAdventureSyncSettings: return 5046 + case .platformUpdateAdventureSyncSettings: return 5047 + case .platformSetBirthday: return 5048 + case .platformFetchNewsfeedAction: return 5049 + case .platformMarkNewsfeedReadAction: return 5050 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension PlatformClientAction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlatformClientAction] = [ + .platformUnknownPlatformClientAction, + .platformRegisterPushNotification, + .platformUnregisterPushNotification, + .platformUpdateNotificationStatus, + .platformOptOutPushNotificationCategory, + .platformDownloadGameMasterTemplates, + .platformGetInventory, + .platformRedeemPasscode, + .platformPing, + .platformAddLoginAction, + .platformRemoveLoginAction, + .platformListLoginAction, + .platformAddNewPoi, + .platformProxySocialAction, + .platformDeprecatedClientTelemetry, + .platformGetAvailableSubmissions, + .platformGetSignedURLForPhotoUpload, + .platformReplaceLoginAction, + .platformProxySocialSideChannelAction, + .platformCollectClientTelemetry, + .platformPurchaseSku, + .platformGetAvailableSkusAndBalances, + .platformRedeemGoogleReceipt, + .platformRedeemAppleReceipt, + .platformRedeemDesktopReceipt, + .platformUpdateFitnessMetrics, + .platformGetFitnessReport, + .platformGetClientTelemetrySettings, + .platformPingAsync, + .platformRegisterBackgroundService, + .platformGetClientBgmodeSettings, + .platformPingDownstream, + .platformSetInGameCurrencyExchangeRate, + .platformRequestGeofenceUpdates, + .platformUpdatePlayerLocation, + .platformGenerateGmapSignedURL, + .platformGetGmapSettings, + .platformRedeemSamsungReceipt, + .platformAddNewRoute, + .platformGetOutstandingWarnings, + .platformAcknowledgeWarnings, + .platformSubmitPoiImage, + .platformSubmitPoiTextMetadataUpdate, + .platformSubmitPoiLocationUpdate, + .platformSubmitPoiTakedownRequest, + .platformGetWebTokenAction, + .platformGetAdventureSyncSettings, + .platformUpdateAdventureSyncSettings, + .platformSetBirthday, + .platformFetchNewsfeedAction, + .platformMarkNewsfeedReadAction, + ] +} + +#endif // swift(>=4.2) + +public enum PlatformWarningType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case platformWarningUnset // = 0 + case platformWarningStrike1 // = 1 + case platformWarningStrike2 // = 2 + case platformWarningStrike3 // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .platformWarningUnset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .platformWarningUnset + case 1: self = .platformWarningStrike1 + case 2: self = .platformWarningStrike2 + case 3: self = .platformWarningStrike3 + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .platformWarningUnset: return 0 + case .platformWarningStrike1: return 1 + case .platformWarningStrike2: return 2 + case .platformWarningStrike3: return 3 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension PlatformWarningType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlatformWarningType] = [ + .platformWarningUnset, + .platformWarningStrike1, + .platformWarningStrike2, + .platformWarningStrike3, + ] +} + +#endif // swift(>=4.2) + public enum PlayerAvatarType: SwiftProtobuf.Enum { public typealias RawValue = Int case playerAvatarMale // = 0 @@ -18641,127 +21337,31 @@ extension PlayerAvatarType: CaseIterable { #endif // swift(>=4.2) -public enum PlayerSubmissionAction: SwiftProtobuf.Enum { +public enum PlayerBonusType: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknownGamePoiAction // = 0 - case addNewPoi // = 620000 - case getAvailableSubmissions // = 620001 - case getSignedURLForPhotoUpload // = 620002 - case getPlayerSubmissionValidationSettings // = 620003 - case d2DAddNewPoi // = 620004 - case d2DGetSignedURLForPhotoUpload // = 620005 - case submitPoiImage // = 620100 - case submitPoiTextMetadataUpdate // = 620101 - case submitPoiLocationUpdate // = 620102 - case submitPoiTakedownRequest // = 620103 - case submitSponsorPoiReport // = 620104 - case submitSponsorPoiLocationUpdate // = 620105 - case submitPoiCategoryVote // = 620106 - case d2DSubmitPoiImage // = 620107 - case d2DSubmitPoiTextMetadataUpdate // = 620108 - case d2DSubmitPoiLocationUpdate // = 620109 - case d2DSubmitPoiTakedownRequest // = 620110 - case addNewRoute // = 620200 - case generateGmapSignedURL // = 620300 - case getGmapSettings // = 620301 - case submitPoiArVideoMetadata // = 620400 - case getGrapeshotFileUploadURL // = 620401 - case asyncFileUploadComplete // = 620402 - case getArMappingSettings // = 620403 - case d2DSubmitPoiArVideoMetadata // = 620404 - case d2DGetGrapeshotFileUploadURL // = 620405 - case d2DAsyncFileUploadComplete // = 620406 - case submitMappingRequest // = 620407 - case d2DSubmitMappingRequest // = 620408 - case getImagesForPoi // = 620500 - case submitPlayerImageVoteForPoi // = 620501 - case getImageGallerySettings // = 620502 - case getMapData // = 620600 - case getPoisInRadius // = 620601 + case playerBonusUnset // = 0 + case timeBonus // = 1 + case spaceBonus // = 2 case UNRECOGNIZED(Int) public init() { - self = .unknownGamePoiAction + self = .playerBonusUnset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknownGamePoiAction - case 620000: self = .addNewPoi - case 620001: self = .getAvailableSubmissions - case 620002: self = .getSignedURLForPhotoUpload - case 620003: self = .getPlayerSubmissionValidationSettings - case 620004: self = .d2DAddNewPoi - case 620005: self = .d2DGetSignedURLForPhotoUpload - case 620100: self = .submitPoiImage - case 620101: self = .submitPoiTextMetadataUpdate - case 620102: self = .submitPoiLocationUpdate - case 620103: self = .submitPoiTakedownRequest - case 620104: self = .submitSponsorPoiReport - case 620105: self = .submitSponsorPoiLocationUpdate - case 620106: self = .submitPoiCategoryVote - case 620107: self = .d2DSubmitPoiImage - case 620108: self = .d2DSubmitPoiTextMetadataUpdate - case 620109: self = .d2DSubmitPoiLocationUpdate - case 620110: self = .d2DSubmitPoiTakedownRequest - case 620200: self = .addNewRoute - case 620300: self = .generateGmapSignedURL - case 620301: self = .getGmapSettings - case 620400: self = .submitPoiArVideoMetadata - case 620401: self = .getGrapeshotFileUploadURL - case 620402: self = .asyncFileUploadComplete - case 620403: self = .getArMappingSettings - case 620404: self = .d2DSubmitPoiArVideoMetadata - case 620405: self = .d2DGetGrapeshotFileUploadURL - case 620406: self = .d2DAsyncFileUploadComplete - case 620407: self = .submitMappingRequest - case 620408: self = .d2DSubmitMappingRequest - case 620500: self = .getImagesForPoi - case 620501: self = .submitPlayerImageVoteForPoi - case 620502: self = .getImageGallerySettings - case 620600: self = .getMapData - case 620601: self = .getPoisInRadius + case 0: self = .playerBonusUnset + case 1: self = .timeBonus + case 2: self = .spaceBonus default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknownGamePoiAction: return 0 - case .addNewPoi: return 620000 - case .getAvailableSubmissions: return 620001 - case .getSignedURLForPhotoUpload: return 620002 - case .getPlayerSubmissionValidationSettings: return 620003 - case .d2DAddNewPoi: return 620004 - case .d2DGetSignedURLForPhotoUpload: return 620005 - case .submitPoiImage: return 620100 - case .submitPoiTextMetadataUpdate: return 620101 - case .submitPoiLocationUpdate: return 620102 - case .submitPoiTakedownRequest: return 620103 - case .submitSponsorPoiReport: return 620104 - case .submitSponsorPoiLocationUpdate: return 620105 - case .submitPoiCategoryVote: return 620106 - case .d2DSubmitPoiImage: return 620107 - case .d2DSubmitPoiTextMetadataUpdate: return 620108 - case .d2DSubmitPoiLocationUpdate: return 620109 - case .d2DSubmitPoiTakedownRequest: return 620110 - case .addNewRoute: return 620200 - case .generateGmapSignedURL: return 620300 - case .getGmapSettings: return 620301 - case .submitPoiArVideoMetadata: return 620400 - case .getGrapeshotFileUploadURL: return 620401 - case .asyncFileUploadComplete: return 620402 - case .getArMappingSettings: return 620403 - case .d2DSubmitPoiArVideoMetadata: return 620404 - case .d2DGetGrapeshotFileUploadURL: return 620405 - case .d2DAsyncFileUploadComplete: return 620406 - case .submitMappingRequest: return 620407 - case .d2DSubmitMappingRequest: return 620408 - case .getImagesForPoi: return 620500 - case .submitPlayerImageVoteForPoi: return 620501 - case .getImageGallerySettings: return 620502 - case .getMapData: return 620600 - case .getPoisInRadius: return 620601 + case .playerBonusUnset: return 0 + case .timeBonus: return 1 + case .spaceBonus: return 2 case .UNRECOGNIZED(let i): return i } } @@ -18770,44 +21370,12 @@ public enum PlayerSubmissionAction: SwiftProtobuf.Enum { #if swift(>=4.2) -extension PlayerSubmissionAction: CaseIterable { +extension PlayerBonusType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerSubmissionAction] = [ - .unknownGamePoiAction, - .addNewPoi, - .getAvailableSubmissions, - .getSignedURLForPhotoUpload, - .getPlayerSubmissionValidationSettings, - .d2DAddNewPoi, - .d2DGetSignedURLForPhotoUpload, - .submitPoiImage, - .submitPoiTextMetadataUpdate, - .submitPoiLocationUpdate, - .submitPoiTakedownRequest, - .submitSponsorPoiReport, - .submitSponsorPoiLocationUpdate, - .submitPoiCategoryVote, - .d2DSubmitPoiImage, - .d2DSubmitPoiTextMetadataUpdate, - .d2DSubmitPoiLocationUpdate, - .d2DSubmitPoiTakedownRequest, - .addNewRoute, - .generateGmapSignedURL, - .getGmapSettings, - .submitPoiArVideoMetadata, - .getGrapeshotFileUploadURL, - .asyncFileUploadComplete, - .getArMappingSettings, - .d2DSubmitPoiArVideoMetadata, - .d2DGetGrapeshotFileUploadURL, - .d2DAsyncFileUploadComplete, - .submitMappingRequest, - .d2DSubmitMappingRequest, - .getImagesForPoi, - .submitPlayerImageVoteForPoi, - .getImageGallerySettings, - .getMapData, - .getPoisInRadius, + public static var allCases: [PlayerBonusType] = [ + .playerBonusUnset, + .timeBonus, + .spaceBonus, ] } @@ -18893,6 +21461,130 @@ extension PlayerSubmissionTypeProto: CaseIterable { #endif // swift(>=4.2) +public enum PlayerZoneCompliance: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetZone // = 0 + case safeToJoinZone // = 1 + case warningToJoinZone // = 2 + case safeToPlayZone // = 3 + case warningToPlayZone // = 4 + case noncompliantZone // = 5 + case noncompliant2Zone // = 6 + case missingLocationZone // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetZone + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetZone + case 1: self = .safeToJoinZone + case 2: self = .warningToJoinZone + case 3: self = .safeToPlayZone + case 4: self = .warningToPlayZone + case 5: self = .noncompliantZone + case 6: self = .noncompliant2Zone + case 7: self = .missingLocationZone + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetZone: return 0 + case .safeToJoinZone: return 1 + case .warningToJoinZone: return 2 + case .safeToPlayZone: return 3 + case .warningToPlayZone: return 4 + case .noncompliantZone: return 5 + case .noncompliant2Zone: return 6 + case .missingLocationZone: return 7 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension PlayerZoneCompliance: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerZoneCompliance] = [ + .unsetZone, + .safeToJoinZone, + .warningToJoinZone, + .safeToPlayZone, + .warningToPlayZone, + .noncompliantZone, + .noncompliant2Zone, + .missingLocationZone, + ] +} + +#endif // swift(>=4.2) + +public enum PluginState: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case initialized // = 1 + case starting // = 2 + case started // = 3 + case resumed // = 4 + case paused // = 5 + case stopped // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .initialized + case 2: self = .starting + case 3: self = .started + case 4: self = .resumed + case 5: self = .paused + case 6: self = .stopped + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .initialized: return 1 + case .starting: return 2 + case .started: return 3 + case .resumed: return 4 + case .paused: return 5 + case .stopped: return 6 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension PluginState: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PluginState] = [ + .unknown, + .initialized, + .starting, + .started, + .resumed, + .paused, + .stopped, + ] +} + +#endif // swift(>=4.2) + public enum PoiImageType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 @@ -19293,50 +21985,6 @@ extension PokemonBadge: CaseIterable { #endif // swift(>=4.2) -public enum PokemonCreateContext: SwiftProtobuf.Enum { - public typealias RawValue = Int - case createContextWild // = 0 - case createContextEgg // = 1 - case createContextEvolve // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .createContextWild - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .createContextWild - case 1: self = .createContextEgg - case 2: self = .createContextEvolve - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .createContextWild: return 0 - case .createContextEgg: return 1 - case .createContextEvolve: return 2 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension PokemonCreateContext: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonCreateContext] = [ - .createContextWild, - .createContextEgg, - .createContextEvolve, - ] -} - -#endif // swift(>=4.2) - public enum PokemonGoPlusIds: SwiftProtobuf.Enum { public typealias RawValue = Int case undefinedPokemonGoPlusEvent // = 0 @@ -19604,6 +22252,9 @@ public enum PostcardSource: SwiftProtobuf.Enum { case friend // = 2 case friendAnonymized // = 3 case friendAnonymizedFromDeletionOrUnfriend // = 4 + case giftTrade // = 5 + case giftTradeAnonymized // = 6 + case giftTradeAnonymizedFromDeletion // = 7 case UNRECOGNIZED(Int) public init() { @@ -19617,6 +22268,9 @@ public enum PostcardSource: SwiftProtobuf.Enum { case 2: self = .friend case 3: self = .friendAnonymized case 4: self = .friendAnonymizedFromDeletionOrUnfriend + case 5: self = .giftTrade + case 6: self = .giftTradeAnonymized + case 7: self = .giftTradeAnonymizedFromDeletion default: self = .UNRECOGNIZED(rawValue) } } @@ -19628,6 +22282,9 @@ public enum PostcardSource: SwiftProtobuf.Enum { case .friend: return 2 case .friendAnonymized: return 3 case .friendAnonymizedFromDeletionOrUnfriend: return 4 + case .giftTrade: return 5 + case .giftTradeAnonymized: return 6 + case .giftTradeAnonymizedFromDeletion: return 7 case .UNRECOGNIZED(let i): return i } } @@ -19644,6 +22301,9 @@ extension PostcardSource: CaseIterable { .friend, .friendAnonymized, .friendAnonymizedFromDeletionOrUnfriend, + .giftTrade, + .giftTradeAnonymized, + .giftTradeAnonymizedFromDeletion, ] } @@ -19857,6 +22517,12 @@ public enum QuestType: SwiftProtobuf.Enum { case questRouteTravel // = 64 case questRouteComplete // = 65 case questCollectTappable // = 66 + case questActivateTrainerAbility // = 67 + case questNpcSendGift // = 68 + case questNpcOpenGift // = 69 + case questPtcOauthLink // = 70 + case questFightPokemon // = 71 + case questUseNonCombatMove // = 72 case UNRECOGNIZED(Int) public init() { @@ -19927,6 +22593,12 @@ public enum QuestType: SwiftProtobuf.Enum { case 64: self = .questRouteTravel case 65: self = .questRouteComplete case 66: self = .questCollectTappable + case 67: self = .questActivateTrainerAbility + case 68: self = .questNpcSendGift + case 69: self = .questNpcOpenGift + case 70: self = .questPtcOauthLink + case 71: self = .questFightPokemon + case 72: self = .questUseNonCombatMove default: self = .UNRECOGNIZED(rawValue) } } @@ -19995,6 +22667,12 @@ public enum QuestType: SwiftProtobuf.Enum { case .questRouteTravel: return 64 case .questRouteComplete: return 65 case .questCollectTappable: return 66 + case .questActivateTrainerAbility: return 67 + case .questNpcSendGift: return 68 + case .questNpcOpenGift: return 69 + case .questPtcOauthLink: return 70 + case .questFightPokemon: return 71 + case .questUseNonCombatMove: return 72 case .UNRECOGNIZED(let i): return i } } @@ -20068,6 +22746,12 @@ extension QuestType: CaseIterable { .questRouteTravel, .questRouteComplete, .questCollectTappable, + .questActivateTrainerAbility, + .questNpcSendGift, + .questNpcOpenGift, + .questPtcOauthLink, + .questFightPokemon, + .questUseNonCombatMove, ] } @@ -20465,6 +23149,54 @@ extension ReferralRole: CaseIterable { #endif // swift(>=4.2) +public enum ReferralSource: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefinedSource // = 0 + case invitePage // = 1 + case addressBook // = 2 + case imageShare // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .undefinedSource + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefinedSource + case 1: self = .invitePage + case 2: self = .addressBook + case 3: self = .imageShare + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefinedSource: return 0 + case .invitePage: return 1 + case .addressBook: return 2 + case .imageShare: return 3 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension ReferralSource: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReferralSource] = [ + .undefinedSource, + .invitePage, + .addressBook, + .imageShare, + ] +} + +#endif // swift(>=4.2) + public enum ReferralTelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int case undefinedReferralEvent // = 0 @@ -20533,54 +23265,6 @@ extension ReferralTelemetryIds: CaseIterable { #endif // swift(>=4.2) -public enum ReferralTelemetrySource: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefinedSource // = 0 - case invitePage // = 1 - case addressBook // = 2 - case imageShare // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .undefinedSource - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefinedSource - case 1: self = .invitePage - case 2: self = .addressBook - case 3: self = .imageShare - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefinedSource: return 0 - case .invitePage: return 1 - case .addressBook: return 2 - case .imageShare: return 3 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension ReferralTelemetrySource: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReferralTelemetrySource] = [ - .undefinedSource, - .invitePage, - .addressBook, - .imageShare, - ] -} - -#endif // swift(>=4.2) - public enum RemoteRaidInviteAcceptSource: SwiftProtobuf.Enum { public typealias RawValue = Int case undefinedRemoteRaidInviteAcceptSource // = 0 @@ -20865,114 +23549,214 @@ extension RouteType: CaseIterable { #endif // swift(>=4.2) -public enum ScanTag: SwiftProtobuf.Enum { +public enum SaturdayCompositionData: SwiftProtobuf.Enum { public typealias RawValue = Int - case defaultScan // = 0 - case `public` // = 1 - case `private` // = 2 - case wayspotCentric // = 3 - case freeForm // = 4 - case experimental // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .defaultScan - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .defaultScan - case 1: self = .public - case 2: self = .private - case 3: self = .wayspotCentric - case 4: self = .freeForm - case 5: self = .experimental - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .defaultScan: return 0 - case .public: return 1 - case .private: return 2 - case .wayspotCentric: return 3 - case .freeForm: return 4 - case .experimental: return 5 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension ScanTag: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ScanTag] = [ - .defaultScan, - .public, - .private, - .wayspotCentric, - .freeForm, - .experimental, - ] -} - -#endif // swift(>=4.2) - -public enum ShareExRaidPassResult: SwiftProtobuf.Enum { - public typealias RawValue = Int - case shareExRaidPassUnset // = 0 - case shareExRaidPassSuccess // = 1 - case errorFriendAlreadyInvitedToSameRaid // = 2 - case errorExRaidPassAlreadyShared // = 3 - case errorFriendAlreadyHasSharedExPassInInventory // = 4 - case errorTooLowFriendshipLevel // = 5 - case errorFriendNotFound // = 6 - case errorExRaidAlreadyStarted // = 7 - case errorExRaidInvalid // = 8 - case errorExRaidPassNotFound // = 9 - case errorUnknown // = 10 - case errorFriendNotEligible // = 11 + case data0 // = 0 + case data1 // = 1 + case data2 // = 2 + case data3 // = 3 + case data4 // = 4 + case data5 // = 5 + case data6 // = 6 + case data7 // = 7 + case data8 // = 8 + case data9 // = 9 + case data10 // = 10 + case data11 // = 11 + case data12 // = 12 + case data13 // = 13 + case data14 // = 14 + case data15 // = 15 + case data16 // = 16 + case data17 // = 17 + case data18 // = 18 + case data19 // = 19 + case data20 // = 20 + case data21 // = 21 + case data22 // = 22 + case data23 // = 23 + case data24 // = 24 + case data25 // = 25 + case data26 // = 26 + case data27 // = 27 + case data28 // = 28 + case data29 // = 29 + case data30 // = 30 + case data31 // = 31 + case data32 // = 32 + case data33 // = 33 + case data34 // = 34 + case data35 // = 35 + case data36 // = 36 + case data37 // = 37 + case data38 // = 38 + case data39 // = 39 + case data40 // = 40 + case data41 // = 41 + case data42 // = 42 + case data43 // = 43 + case data44 // = 44 + case data45 // = 45 + case data46 // = 46 + case data47 // = 47 + case data48 // = 48 + case data49 // = 49 + case data50 // = 50 + case data51 // = 51 + case data52 // = 52 + case data53 // = 53 + case data54 // = 54 + case data55 // = 55 + case data56 // = 56 + case data57 // = 57 + case data58 // = 58 + case data59 // = 59 + case data60 // = 60 + case data61 // = 61 + case data62 // = 62 + case data63 // = 63 case UNRECOGNIZED(Int) public init() { - self = .shareExRaidPassUnset + self = .data0 } public init?(rawValue: Int) { switch rawValue { - case 0: self = .shareExRaidPassUnset - case 1: self = .shareExRaidPassSuccess - case 2: self = .errorFriendAlreadyInvitedToSameRaid - case 3: self = .errorExRaidPassAlreadyShared - case 4: self = .errorFriendAlreadyHasSharedExPassInInventory - case 5: self = .errorTooLowFriendshipLevel - case 6: self = .errorFriendNotFound - case 7: self = .errorExRaidAlreadyStarted - case 8: self = .errorExRaidInvalid - case 9: self = .errorExRaidPassNotFound - case 10: self = .errorUnknown - case 11: self = .errorFriendNotEligible + case 0: self = .data0 + case 1: self = .data1 + case 2: self = .data2 + case 3: self = .data3 + case 4: self = .data4 + case 5: self = .data5 + case 6: self = .data6 + case 7: self = .data7 + case 8: self = .data8 + case 9: self = .data9 + case 10: self = .data10 + case 11: self = .data11 + case 12: self = .data12 + case 13: self = .data13 + case 14: self = .data14 + case 15: self = .data15 + case 16: self = .data16 + case 17: self = .data17 + case 18: self = .data18 + case 19: self = .data19 + case 20: self = .data20 + case 21: self = .data21 + case 22: self = .data22 + case 23: self = .data23 + case 24: self = .data24 + case 25: self = .data25 + case 26: self = .data26 + case 27: self = .data27 + case 28: self = .data28 + case 29: self = .data29 + case 30: self = .data30 + case 31: self = .data31 + case 32: self = .data32 + case 33: self = .data33 + case 34: self = .data34 + case 35: self = .data35 + case 36: self = .data36 + case 37: self = .data37 + case 38: self = .data38 + case 39: self = .data39 + case 40: self = .data40 + case 41: self = .data41 + case 42: self = .data42 + case 43: self = .data43 + case 44: self = .data44 + case 45: self = .data45 + case 46: self = .data46 + case 47: self = .data47 + case 48: self = .data48 + case 49: self = .data49 + case 50: self = .data50 + case 51: self = .data51 + case 52: self = .data52 + case 53: self = .data53 + case 54: self = .data54 + case 55: self = .data55 + case 56: self = .data56 + case 57: self = .data57 + case 58: self = .data58 + case 59: self = .data59 + case 60: self = .data60 + case 61: self = .data61 + case 62: self = .data62 + case 63: self = .data63 default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .shareExRaidPassUnset: return 0 - case .shareExRaidPassSuccess: return 1 - case .errorFriendAlreadyInvitedToSameRaid: return 2 - case .errorExRaidPassAlreadyShared: return 3 - case .errorFriendAlreadyHasSharedExPassInInventory: return 4 - case .errorTooLowFriendshipLevel: return 5 - case .errorFriendNotFound: return 6 - case .errorExRaidAlreadyStarted: return 7 - case .errorExRaidInvalid: return 8 - case .errorExRaidPassNotFound: return 9 - case .errorUnknown: return 10 - case .errorFriendNotEligible: return 11 + case .data0: return 0 + case .data1: return 1 + case .data2: return 2 + case .data3: return 3 + case .data4: return 4 + case .data5: return 5 + case .data6: return 6 + case .data7: return 7 + case .data8: return 8 + case .data9: return 9 + case .data10: return 10 + case .data11: return 11 + case .data12: return 12 + case .data13: return 13 + case .data14: return 14 + case .data15: return 15 + case .data16: return 16 + case .data17: return 17 + case .data18: return 18 + case .data19: return 19 + case .data20: return 20 + case .data21: return 21 + case .data22: return 22 + case .data23: return 23 + case .data24: return 24 + case .data25: return 25 + case .data26: return 26 + case .data27: return 27 + case .data28: return 28 + case .data29: return 29 + case .data30: return 30 + case .data31: return 31 + case .data32: return 32 + case .data33: return 33 + case .data34: return 34 + case .data35: return 35 + case .data36: return 36 + case .data37: return 37 + case .data38: return 38 + case .data39: return 39 + case .data40: return 40 + case .data41: return 41 + case .data42: return 42 + case .data43: return 43 + case .data44: return 44 + case .data45: return 45 + case .data46: return 46 + case .data47: return 47 + case .data48: return 48 + case .data49: return 49 + case .data50: return 50 + case .data51: return 51 + case .data52: return 52 + case .data53: return 53 + case .data54: return 54 + case .data55: return 55 + case .data56: return 56 + case .data57: return 57 + case .data58: return 58 + case .data59: return 59 + case .data60: return 60 + case .data61: return 61 + case .data62: return 62 + case .data63: return 63 case .UNRECOGNIZED(let i): return i } } @@ -20981,21 +23765,73 @@ public enum ShareExRaidPassResult: SwiftProtobuf.Enum { #if swift(>=4.2) -extension ShareExRaidPassResult: CaseIterable { +extension SaturdayCompositionData: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ShareExRaidPassResult] = [ - .shareExRaidPassUnset, - .shareExRaidPassSuccess, - .errorFriendAlreadyInvitedToSameRaid, - .errorExRaidPassAlreadyShared, - .errorFriendAlreadyHasSharedExPassInInventory, - .errorTooLowFriendshipLevel, - .errorFriendNotFound, - .errorExRaidAlreadyStarted, - .errorExRaidInvalid, - .errorExRaidPassNotFound, - .errorUnknown, - .errorFriendNotEligible, + public static var allCases: [SaturdayCompositionData] = [ + .data0, + .data1, + .data2, + .data3, + .data4, + .data5, + .data6, + .data7, + .data8, + .data9, + .data10, + .data11, + .data12, + .data13, + .data14, + .data15, + .data16, + .data17, + .data18, + .data19, + .data20, + .data21, + .data22, + .data23, + .data24, + .data25, + .data26, + .data27, + .data28, + .data29, + .data30, + .data31, + .data32, + .data33, + .data34, + .data35, + .data36, + .data37, + .data38, + .data39, + .data40, + .data41, + .data42, + .data43, + .data44, + .data45, + .data46, + .data47, + .data48, + .data49, + .data50, + .data51, + .data52, + .data53, + .data54, + .data55, + .data56, + .data57, + .data58, + .data59, + .data60, + .data61, + .data62, + .data63, ] } @@ -21281,290 +24117,6 @@ extension ShoppingPageTelemetrySource: CaseIterable { #endif // swift(>=4.2) -public enum SocialAction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknownSocialAction // = 0 - case searchPlayer // = 10000 - case sendFriendInvite // = 10002 - case cancelFriendInvite // = 10003 - case acceptFriendInvite // = 10004 - case declineFriendInvite // = 10005 - case listFriends // = 10006 - case listOutgoingFriendInvites // = 10007 - case listIncomingFriendInvites // = 10008 - case removeFriend // = 10009 - case listFriendStatus // = 10010 - case sendFacebookFriendInvite // = 10011 - case isMyFriend // = 10012 - case createInviteCode // = 10013 - case getFacebookFriendList // = 10014 - case updateFacebookStatus // = 10015 - case savePlayerSettings // = 10016 - case getPlayerSettings // = 10017 - case getNianticFriendListDeleted // = 10018 - case getNianticFriendDetailsDeleted // = 10019 - case sendNianticFriendInviteDeleted // = 10020 - case setAccountSettings // = 10021 - case getAccountSettings // = 10022 - case addFavoriteFriend // = 10023 - case removeFavoriteFriend // = 10024 - case blockAccount // = 10025 - case unblockAccount // = 10026 - case getOutgingBlocks // = 10027 - case isAccountBlocked // = 10028 - case registerPushNotification // = 10101 - case unregisterPushNotification // = 10102 - case updateNotification // = 10103 - case optOutPushNotificationCategory // = 10104 - case getInbox // = 10105 - case getSignedURL // = 10201 - case submitImage // = 10202 - case getPhotos // = 10203 - case deletePhoto // = 10204 - case flagPhoto // = 10205 - case updateProfileV2 // = 20001 - case updateFriendshipV2 // = 20002 - case getProfileV2 // = 20003 - case inviteGameV2 // = 20004 - case reservedAction2 // = 20005 - case listFriendsV2 // = 20006 - case getFriendDetailsV2 // = 20007 - case getClientFeatureFlagsV2 // = 20008 - case reservedAction1 // = 20009 - case getIncomingGameInvitesV2 // = 20010 - case updateIncomingGameInviteV2 // = 20011 - case dismissOutgoingGameInvitesV2 // = 20012 - case syncContactListV2 // = 20013 - case sendContactListFriendInviteV2 // = 20014 - case referContactListFriendV2 // = 20015 - case getContactListInfoV2 // = 20016 - case dismissContactListUpdateV2 // = 20017 - case notifyContactListFriendsV2 // = 20018 - case reservedAction6 // = 20019 - case reservedAction7 // = 20020 - case reservedAction3 // = 20400 - case reservedAction4 // = 20401 - case reservedAction5 // = 20402 - case getFriendRecommendation // = 20500 - case UNRECOGNIZED(Int) - - public init() { - self = .unknownSocialAction - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknownSocialAction - case 10000: self = .searchPlayer - case 10002: self = .sendFriendInvite - case 10003: self = .cancelFriendInvite - case 10004: self = .acceptFriendInvite - case 10005: self = .declineFriendInvite - case 10006: self = .listFriends - case 10007: self = .listOutgoingFriendInvites - case 10008: self = .listIncomingFriendInvites - case 10009: self = .removeFriend - case 10010: self = .listFriendStatus - case 10011: self = .sendFacebookFriendInvite - case 10012: self = .isMyFriend - case 10013: self = .createInviteCode - case 10014: self = .getFacebookFriendList - case 10015: self = .updateFacebookStatus - case 10016: self = .savePlayerSettings - case 10017: self = .getPlayerSettings - case 10018: self = .getNianticFriendListDeleted - case 10019: self = .getNianticFriendDetailsDeleted - case 10020: self = .sendNianticFriendInviteDeleted - case 10021: self = .setAccountSettings - case 10022: self = .getAccountSettings - case 10023: self = .addFavoriteFriend - case 10024: self = .removeFavoriteFriend - case 10025: self = .blockAccount - case 10026: self = .unblockAccount - case 10027: self = .getOutgingBlocks - case 10028: self = .isAccountBlocked - case 10101: self = .registerPushNotification - case 10102: self = .unregisterPushNotification - case 10103: self = .updateNotification - case 10104: self = .optOutPushNotificationCategory - case 10105: self = .getInbox - case 10201: self = .getSignedURL - case 10202: self = .submitImage - case 10203: self = .getPhotos - case 10204: self = .deletePhoto - case 10205: self = .flagPhoto - case 20001: self = .updateProfileV2 - case 20002: self = .updateFriendshipV2 - case 20003: self = .getProfileV2 - case 20004: self = .inviteGameV2 - case 20005: self = .reservedAction2 - case 20006: self = .listFriendsV2 - case 20007: self = .getFriendDetailsV2 - case 20008: self = .getClientFeatureFlagsV2 - case 20009: self = .reservedAction1 - case 20010: self = .getIncomingGameInvitesV2 - case 20011: self = .updateIncomingGameInviteV2 - case 20012: self = .dismissOutgoingGameInvitesV2 - case 20013: self = .syncContactListV2 - case 20014: self = .sendContactListFriendInviteV2 - case 20015: self = .referContactListFriendV2 - case 20016: self = .getContactListInfoV2 - case 20017: self = .dismissContactListUpdateV2 - case 20018: self = .notifyContactListFriendsV2 - case 20019: self = .reservedAction6 - case 20020: self = .reservedAction7 - case 20400: self = .reservedAction3 - case 20401: self = .reservedAction4 - case 20402: self = .reservedAction5 - case 20500: self = .getFriendRecommendation - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknownSocialAction: return 0 - case .searchPlayer: return 10000 - case .sendFriendInvite: return 10002 - case .cancelFriendInvite: return 10003 - case .acceptFriendInvite: return 10004 - case .declineFriendInvite: return 10005 - case .listFriends: return 10006 - case .listOutgoingFriendInvites: return 10007 - case .listIncomingFriendInvites: return 10008 - case .removeFriend: return 10009 - case .listFriendStatus: return 10010 - case .sendFacebookFriendInvite: return 10011 - case .isMyFriend: return 10012 - case .createInviteCode: return 10013 - case .getFacebookFriendList: return 10014 - case .updateFacebookStatus: return 10015 - case .savePlayerSettings: return 10016 - case .getPlayerSettings: return 10017 - case .getNianticFriendListDeleted: return 10018 - case .getNianticFriendDetailsDeleted: return 10019 - case .sendNianticFriendInviteDeleted: return 10020 - case .setAccountSettings: return 10021 - case .getAccountSettings: return 10022 - case .addFavoriteFriend: return 10023 - case .removeFavoriteFriend: return 10024 - case .blockAccount: return 10025 - case .unblockAccount: return 10026 - case .getOutgingBlocks: return 10027 - case .isAccountBlocked: return 10028 - case .registerPushNotification: return 10101 - case .unregisterPushNotification: return 10102 - case .updateNotification: return 10103 - case .optOutPushNotificationCategory: return 10104 - case .getInbox: return 10105 - case .getSignedURL: return 10201 - case .submitImage: return 10202 - case .getPhotos: return 10203 - case .deletePhoto: return 10204 - case .flagPhoto: return 10205 - case .updateProfileV2: return 20001 - case .updateFriendshipV2: return 20002 - case .getProfileV2: return 20003 - case .inviteGameV2: return 20004 - case .reservedAction2: return 20005 - case .listFriendsV2: return 20006 - case .getFriendDetailsV2: return 20007 - case .getClientFeatureFlagsV2: return 20008 - case .reservedAction1: return 20009 - case .getIncomingGameInvitesV2: return 20010 - case .updateIncomingGameInviteV2: return 20011 - case .dismissOutgoingGameInvitesV2: return 20012 - case .syncContactListV2: return 20013 - case .sendContactListFriendInviteV2: return 20014 - case .referContactListFriendV2: return 20015 - case .getContactListInfoV2: return 20016 - case .dismissContactListUpdateV2: return 20017 - case .notifyContactListFriendsV2: return 20018 - case .reservedAction6: return 20019 - case .reservedAction7: return 20020 - case .reservedAction3: return 20400 - case .reservedAction4: return 20401 - case .reservedAction5: return 20402 - case .getFriendRecommendation: return 20500 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension SocialAction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SocialAction] = [ - .unknownSocialAction, - .searchPlayer, - .sendFriendInvite, - .cancelFriendInvite, - .acceptFriendInvite, - .declineFriendInvite, - .listFriends, - .listOutgoingFriendInvites, - .listIncomingFriendInvites, - .removeFriend, - .listFriendStatus, - .sendFacebookFriendInvite, - .isMyFriend, - .createInviteCode, - .getFacebookFriendList, - .updateFacebookStatus, - .savePlayerSettings, - .getPlayerSettings, - .getNianticFriendListDeleted, - .getNianticFriendDetailsDeleted, - .sendNianticFriendInviteDeleted, - .setAccountSettings, - .getAccountSettings, - .addFavoriteFriend, - .removeFavoriteFriend, - .blockAccount, - .unblockAccount, - .getOutgingBlocks, - .isAccountBlocked, - .registerPushNotification, - .unregisterPushNotification, - .updateNotification, - .optOutPushNotificationCategory, - .getInbox, - .getSignedURL, - .submitImage, - .getPhotos, - .deletePhoto, - .flagPhoto, - .updateProfileV2, - .updateFriendshipV2, - .getProfileV2, - .inviteGameV2, - .reservedAction2, - .listFriendsV2, - .getFriendDetailsV2, - .getClientFeatureFlagsV2, - .reservedAction1, - .getIncomingGameInvitesV2, - .updateIncomingGameInviteV2, - .dismissOutgoingGameInvitesV2, - .syncContactListV2, - .sendContactListFriendInviteV2, - .referContactListFriendV2, - .getContactListInfoV2, - .dismissContactListUpdateV2, - .notifyContactListFriendsV2, - .reservedAction6, - .reservedAction7, - .reservedAction3, - .reservedAction4, - .reservedAction5, - .getFriendRecommendation, - ] -} - -#endif // swift(>=4.2) - public enum SocialTelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int case undefinedSocial // = 0 @@ -21629,6 +24181,54 @@ extension SocialTelemetryIds: CaseIterable { #endif // swift(>=4.2) +public enum Source: SwiftProtobuf.Enum { + public typealias RawValue = Int + case defaultUnset // = 0 + case moderation // = 1 + case anticheat // = 2 + case rateLimited // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .defaultUnset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .defaultUnset + case 1: self = .moderation + case 2: self = .anticheat + case 3: self = .rateLimited + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .defaultUnset: return 0 + case .moderation: return 1 + case .anticheat: return 2 + case .rateLimited: return 3 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension Source: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [Source] = [ + .defaultUnset, + .moderation, + .anticheat, + .rateLimited, + ] +} + +#endif // swift(>=4.2) + public enum SouvenirTypeId: SwiftProtobuf.Enum { public typealias RawValue = Int case souvenirUnset // = 0 @@ -21905,34 +24505,34 @@ extension Store: CaseIterable { #endif // swift(>=4.2) -public enum SuggestionsEvents: SwiftProtobuf.Enum { +public enum Team: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefinedUsernameSuggestionEvent // = 0 - case refreshedNameSuggestions // = 1 - case tappedSuggestedName // = 2 - case usedSuggestedName // = 3 + case unset // = 0 + case blue // = 1 + case red // = 2 + case yellow // = 3 case UNRECOGNIZED(Int) public init() { - self = .undefinedUsernameSuggestionEvent + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefinedUsernameSuggestionEvent - case 1: self = .refreshedNameSuggestions - case 2: self = .tappedSuggestedName - case 3: self = .usedSuggestedName + case 0: self = .unset + case 1: self = .blue + case 2: self = .red + case 3: self = .yellow default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefinedUsernameSuggestionEvent: return 0 - case .refreshedNameSuggestions: return 1 - case .tappedSuggestedName: return 2 - case .usedSuggestedName: return 3 + case .unset: return 0 + case .blue: return 1 + case .red: return 2 + case .yellow: return 3 case .UNRECOGNIZED(let i): return i } } @@ -21941,40 +24541,139 @@ public enum SuggestionsEvents: SwiftProtobuf.Enum { #if swift(>=4.2) -extension SuggestionsEvents: CaseIterable { +extension Team: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SuggestionsEvents] = [ - .undefinedUsernameSuggestionEvent, - .refreshedNameSuggestions, - .tappedSuggestedName, - .usedSuggestedName, + public static var allCases: [Team] = [ + .unset, + .blue, + .red, + .yellow, ] } #endif // swift(>=4.2) -public enum Syntax: SwiftProtobuf.Enum { +public enum TitanPlayerSubmissionAction: SwiftProtobuf.Enum { public typealias RawValue = Int - case proto2 // = 0 - case proto3 // = 1 + case unknownGamePoiAction // = 0 + case addNewPoi // = 620000 + case getAvailableSubmissions // = 620001 + case getSignedURLForPhotoUpload // = 620002 + case getPlayerSubmissionValidationSettings // = 620003 + case d2DAddNewPoi // = 620004 + case d2DGetSignedURLForPhotoUpload // = 620005 + case submitPoiImage // = 620100 + case submitPoiTextMetadataUpdate // = 620101 + case submitPoiLocationUpdate // = 620102 + case submitPoiTakedownRequest // = 620103 + case submitSponsorPoiReport // = 620104 + case submitSponsorPoiLocationUpdate // = 620105 + case submitPoiCategoryVote // = 620106 + case d2DSubmitPoiImage // = 620107 + case d2DSubmitPoiTextMetadataUpdate // = 620108 + case d2DSubmitPoiLocationUpdate // = 620109 + case d2DSubmitPoiTakedownRequest // = 620110 + case addNewRoute // = 620200 + case generateGmapSignedURL // = 620300 + case getGmapSettings // = 620301 + case submitPoiArVideoMetadata // = 620400 + case getGrapeshotFileUploadURL // = 620401 + case asyncFileUploadComplete // = 620402 + case getArMappingSettings // = 620403 + case d2DSubmitPoiArVideoMetadata // = 620404 + case d2DGetGrapeshotFileUploadURL // = 620405 + case d2DAsyncFileUploadComplete // = 620406 + case submitMappingRequest // = 620407 + case d2DSubmitMappingRequest // = 620408 + case getImagesForPoi // = 620500 + case submitPlayerImageVoteForPoi // = 620501 + case getImageGallerySettings // = 620502 + case getMapData // = 620600 + case getPoisInRadius // = 620601 case UNRECOGNIZED(Int) public init() { - self = .proto2 + self = .unknownGamePoiAction } public init?(rawValue: Int) { switch rawValue { - case 0: self = .proto2 - case 1: self = .proto3 + case 0: self = .unknownGamePoiAction + case 620000: self = .addNewPoi + case 620001: self = .getAvailableSubmissions + case 620002: self = .getSignedURLForPhotoUpload + case 620003: self = .getPlayerSubmissionValidationSettings + case 620004: self = .d2DAddNewPoi + case 620005: self = .d2DGetSignedURLForPhotoUpload + case 620100: self = .submitPoiImage + case 620101: self = .submitPoiTextMetadataUpdate + case 620102: self = .submitPoiLocationUpdate + case 620103: self = .submitPoiTakedownRequest + case 620104: self = .submitSponsorPoiReport + case 620105: self = .submitSponsorPoiLocationUpdate + case 620106: self = .submitPoiCategoryVote + case 620107: self = .d2DSubmitPoiImage + case 620108: self = .d2DSubmitPoiTextMetadataUpdate + case 620109: self = .d2DSubmitPoiLocationUpdate + case 620110: self = .d2DSubmitPoiTakedownRequest + case 620200: self = .addNewRoute + case 620300: self = .generateGmapSignedURL + case 620301: self = .getGmapSettings + case 620400: self = .submitPoiArVideoMetadata + case 620401: self = .getGrapeshotFileUploadURL + case 620402: self = .asyncFileUploadComplete + case 620403: self = .getArMappingSettings + case 620404: self = .d2DSubmitPoiArVideoMetadata + case 620405: self = .d2DGetGrapeshotFileUploadURL + case 620406: self = .d2DAsyncFileUploadComplete + case 620407: self = .submitMappingRequest + case 620408: self = .d2DSubmitMappingRequest + case 620500: self = .getImagesForPoi + case 620501: self = .submitPlayerImageVoteForPoi + case 620502: self = .getImageGallerySettings + case 620600: self = .getMapData + case 620601: self = .getPoisInRadius default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .proto2: return 0 - case .proto3: return 1 + case .unknownGamePoiAction: return 0 + case .addNewPoi: return 620000 + case .getAvailableSubmissions: return 620001 + case .getSignedURLForPhotoUpload: return 620002 + case .getPlayerSubmissionValidationSettings: return 620003 + case .d2DAddNewPoi: return 620004 + case .d2DGetSignedURLForPhotoUpload: return 620005 + case .submitPoiImage: return 620100 + case .submitPoiTextMetadataUpdate: return 620101 + case .submitPoiLocationUpdate: return 620102 + case .submitPoiTakedownRequest: return 620103 + case .submitSponsorPoiReport: return 620104 + case .submitSponsorPoiLocationUpdate: return 620105 + case .submitPoiCategoryVote: return 620106 + case .d2DSubmitPoiImage: return 620107 + case .d2DSubmitPoiTextMetadataUpdate: return 620108 + case .d2DSubmitPoiLocationUpdate: return 620109 + case .d2DSubmitPoiTakedownRequest: return 620110 + case .addNewRoute: return 620200 + case .generateGmapSignedURL: return 620300 + case .getGmapSettings: return 620301 + case .submitPoiArVideoMetadata: return 620400 + case .getGrapeshotFileUploadURL: return 620401 + case .asyncFileUploadComplete: return 620402 + case .getArMappingSettings: return 620403 + case .d2DSubmitPoiArVideoMetadata: return 620404 + case .d2DGetGrapeshotFileUploadURL: return 620405 + case .d2DAsyncFileUploadComplete: return 620406 + case .submitMappingRequest: return 620407 + case .d2DSubmitMappingRequest: return 620408 + case .getImagesForPoi: return 620500 + case .submitPlayerImageVoteForPoi: return 620501 + case .getImageGallerySettings: return 620502 + case .getMapData: return 620600 + case .getPoisInRadius: return 620601 case .UNRECOGNIZED(let i): return i } } @@ -21983,22 +24682,54 @@ public enum Syntax: SwiftProtobuf.Enum { #if swift(>=4.2) -extension Syntax: CaseIterable { +extension TitanPlayerSubmissionAction: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Syntax] = [ - .proto2, - .proto3, + public static var allCases: [TitanPlayerSubmissionAction] = [ + .unknownGamePoiAction, + .addNewPoi, + .getAvailableSubmissions, + .getSignedURLForPhotoUpload, + .getPlayerSubmissionValidationSettings, + .d2DAddNewPoi, + .d2DGetSignedURLForPhotoUpload, + .submitPoiImage, + .submitPoiTextMetadataUpdate, + .submitPoiLocationUpdate, + .submitPoiTakedownRequest, + .submitSponsorPoiReport, + .submitSponsorPoiLocationUpdate, + .submitPoiCategoryVote, + .d2DSubmitPoiImage, + .d2DSubmitPoiTextMetadataUpdate, + .d2DSubmitPoiLocationUpdate, + .d2DSubmitPoiTakedownRequest, + .addNewRoute, + .generateGmapSignedURL, + .getGmapSettings, + .submitPoiArVideoMetadata, + .getGrapeshotFileUploadURL, + .asyncFileUploadComplete, + .getArMappingSettings, + .d2DSubmitPoiArVideoMetadata, + .d2DGetGrapeshotFileUploadURL, + .d2DAsyncFileUploadComplete, + .submitMappingRequest, + .d2DSubmitMappingRequest, + .getImagesForPoi, + .submitPlayerImageVoteForPoi, + .getImageGallerySettings, + .getMapData, + .getPoisInRadius, ] } #endif // swift(>=4.2) -public enum Team: SwiftProtobuf.Enum { +public enum TitanPoiImageType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case blue // = 1 - case red // = 2 - case yellow // = 3 + case main // = 1 + case surrounding // = 2 case UNRECOGNIZED(Int) public init() { @@ -22008,9 +24739,8 @@ public enum Team: SwiftProtobuf.Enum { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .blue - case 2: self = .red - case 3: self = .yellow + case 1: self = .main + case 2: self = .surrounding default: self = .UNRECOGNIZED(rawValue) } } @@ -22018,9 +24748,8 @@ public enum Team: SwiftProtobuf.Enum { public var rawValue: Int { switch self { case .unset: return 0 - case .blue: return 1 - case .red: return 2 - case .yellow: return 3 + case .main: return 1 + case .surrounding: return 2 case .UNRECOGNIZED(let i): return i } } @@ -22029,13 +24758,12 @@ public enum Team: SwiftProtobuf.Enum { #if swift(>=4.2) -extension Team: CaseIterable { +extension TitanPoiImageType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Team] = [ + public static var allCases: [TitanPoiImageType] = [ .unset, - .blue, - .red, - .yellow, + .main, + .surrounding, ] } @@ -22176,6 +24904,21 @@ public enum TutorialCompletion: SwiftProtobuf.Enum { case pineconeTutorial5 // = 91 case breakfastTappableTutorial // = 92 case raidTutorialPartyPlayPromptShown // = 93 + case npcExplorerIntroduced // = 94 + case npcTravelerIntroduced // = 95 + case noncombatMovePromptShown // = 96 + case noncombatSpacialRendPromptShown // = 97 + case noncombatRoarOfTimePromptShown // = 98 + case noncombatMovePromptShown01 // = 99 + case noncombatMovePromptShown02 // = 100 + case noncombatMovePromptShown03 // = 101 + case noncombatMovePromptShown04 // = 102 + case noncombatMovePromptShown05 // = 103 + case noncombatMovePromptShown06 // = 104 + case noncombatMovePromptShown07 // = 105 + case noncombatMovePromptShown08 // = 106 + case noncombatMovePromptShown09 // = 107 + case noncombatMovePromptShown10 // = 108 case UNRECOGNIZED(Int) public init() { @@ -22277,6 +25020,21 @@ public enum TutorialCompletion: SwiftProtobuf.Enum { case 91: self = .pineconeTutorial5 case 92: self = .breakfastTappableTutorial case 93: self = .raidTutorialPartyPlayPromptShown + case 94: self = .npcExplorerIntroduced + case 95: self = .npcTravelerIntroduced + case 96: self = .noncombatMovePromptShown + case 97: self = .noncombatSpacialRendPromptShown + case 98: self = .noncombatRoarOfTimePromptShown + case 99: self = .noncombatMovePromptShown01 + case 100: self = .noncombatMovePromptShown02 + case 101: self = .noncombatMovePromptShown03 + case 102: self = .noncombatMovePromptShown04 + case 103: self = .noncombatMovePromptShown05 + case 104: self = .noncombatMovePromptShown06 + case 105: self = .noncombatMovePromptShown07 + case 106: self = .noncombatMovePromptShown08 + case 107: self = .noncombatMovePromptShown09 + case 108: self = .noncombatMovePromptShown10 default: self = .UNRECOGNIZED(rawValue) } } @@ -22376,6 +25134,21 @@ public enum TutorialCompletion: SwiftProtobuf.Enum { case .pineconeTutorial5: return 91 case .breakfastTappableTutorial: return 92 case .raidTutorialPartyPlayPromptShown: return 93 + case .npcExplorerIntroduced: return 94 + case .npcTravelerIntroduced: return 95 + case .noncombatMovePromptShown: return 96 + case .noncombatSpacialRendPromptShown: return 97 + case .noncombatRoarOfTimePromptShown: return 98 + case .noncombatMovePromptShown01: return 99 + case .noncombatMovePromptShown02: return 100 + case .noncombatMovePromptShown03: return 101 + case .noncombatMovePromptShown04: return 102 + case .noncombatMovePromptShown05: return 103 + case .noncombatMovePromptShown06: return 104 + case .noncombatMovePromptShown07: return 105 + case .noncombatMovePromptShown08: return 106 + case .noncombatMovePromptShown09: return 107 + case .noncombatMovePromptShown10: return 108 case .UNRECOGNIZED(let i): return i } } @@ -22480,6 +25253,21 @@ extension TutorialCompletion: CaseIterable { .pineconeTutorial5, .breakfastTappableTutorial, .raidTutorialPartyPlayPromptShown, + .npcExplorerIntroduced, + .npcTravelerIntroduced, + .noncombatMovePromptShown, + .noncombatSpacialRendPromptShown, + .noncombatRoarOfTimePromptShown, + .noncombatMovePromptShown01, + .noncombatMovePromptShown02, + .noncombatMovePromptShown03, + .noncombatMovePromptShown04, + .noncombatMovePromptShown05, + .noncombatMovePromptShown06, + .noncombatMovePromptShown07, + .noncombatMovePromptShown08, + .noncombatMovePromptShown09, + .noncombatMovePromptShown10, ] } @@ -22693,34 +25481,34 @@ extension TweenAction: CaseIterable { #endif // swift(>=4.2) -public enum UserType: SwiftProtobuf.Enum { +public enum UsernameSuggestionTelemetryId: SwiftProtobuf.Enum { public typealias RawValue = Int - case player // = 0 - case developer // = 1 - case surveyor // = 2 - case developer8ThWall // = 3 + case undefinedUsernameSuggestionEvent // = 0 + case refreshedNameSuggestions // = 1 + case tappedSuggestedName // = 2 + case usedSuggestedName // = 3 case UNRECOGNIZED(Int) public init() { - self = .player + self = .undefinedUsernameSuggestionEvent } public init?(rawValue: Int) { switch rawValue { - case 0: self = .player - case 1: self = .developer - case 2: self = .surveyor - case 3: self = .developer8ThWall + case 0: self = .undefinedUsernameSuggestionEvent + case 1: self = .refreshedNameSuggestions + case 2: self = .tappedSuggestedName + case 3: self = .usedSuggestedName default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .player: return 0 - case .developer: return 1 - case .surveyor: return 2 - case .developer8ThWall: return 3 + case .undefinedUsernameSuggestionEvent: return 0 + case .refreshedNameSuggestions: return 1 + case .tappedSuggestedName: return 2 + case .usedSuggestedName: return 3 case .UNRECOGNIZED(let i): return i } } @@ -22729,13 +25517,13 @@ public enum UserType: SwiftProtobuf.Enum { #if swift(>=4.2) -extension UserType: CaseIterable { +extension UsernameSuggestionTelemetryId: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UserType] = [ - .player, - .developer, - .surveyor, - .developer8ThWall, + public static var allCases: [UsernameSuggestionTelemetryId] = [ + .undefinedUsernameSuggestionEvent, + .refreshedNameSuggestions, + .tappedSuggestedName, + .usedSuggestedName, ] } @@ -22862,6 +25650,7 @@ public enum VpsEventType: SwiftProtobuf.Enum { case vpsEventUnset // = 0 case vpsEventSleepingPokemon // = 1 case vpsEventPhotoSafari // = 2 + case vpsEventIrisSocial // = 3 case UNRECOGNIZED(Int) public init() { @@ -22873,6 +25662,7 @@ public enum VpsEventType: SwiftProtobuf.Enum { case 0: self = .vpsEventUnset case 1: self = .vpsEventSleepingPokemon case 2: self = .vpsEventPhotoSafari + case 3: self = .vpsEventIrisSocial default: self = .UNRECOGNIZED(rawValue) } } @@ -22882,6 +25672,7 @@ public enum VpsEventType: SwiftProtobuf.Enum { case .vpsEventUnset: return 0 case .vpsEventSleepingPokemon: return 1 case .vpsEventPhotoSafari: return 2 + case .vpsEventIrisSocial: return 3 case .UNRECOGNIZED(let i): return i } } @@ -22896,6 +25687,7 @@ extension VpsEventType: CaseIterable { .vpsEventUnset, .vpsEventSleepingPokemon, .vpsEventPhotoSafari, + .vpsEventIrisSocial, ] } @@ -22989,54 +25781,6 @@ extension VsSeekerRewardTrack: CaseIterable { #endif // swift(>=4.2) -public enum WarningType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case platformWarningTypePlatformWarningUnset // = 0 - case platformWarningTypePlatformWarningStrike1 // = 1 - case platformWarningTypePlatformWarningStrike2 // = 2 - case platformWarningTypePlatformWarningStrike3 // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .platformWarningTypePlatformWarningUnset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .platformWarningTypePlatformWarningUnset - case 1: self = .platformWarningTypePlatformWarningStrike1 - case 2: self = .platformWarningTypePlatformWarningStrike2 - case 3: self = .platformWarningTypePlatformWarningStrike3 - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .platformWarningTypePlatformWarningUnset: return 0 - case .platformWarningTypePlatformWarningStrike1: return 1 - case .platformWarningTypePlatformWarningStrike2: return 2 - case .platformWarningTypePlatformWarningStrike3: return 3 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension WarningType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [WarningType] = [ - .platformWarningTypePlatformWarningUnset, - .platformWarningTypePlatformWarningStrike1, - .platformWarningTypePlatformWarningStrike2, - .platformWarningTypePlatformWarningStrike3, - ] -} - -#endif // swift(>=4.2) - public enum WebTelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int case undefinedWebEvent // = 0 @@ -23077,70 +25821,6 @@ extension WebTelemetryIds: CaseIterable { #endif // swift(>=4.2) -public enum ZoneType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetZone // = 0 - case safeToJoinZone // = 1 - case warningToJoinZone // = 2 - case safeToPlayZone // = 3 - case warningToPlayZone // = 4 - case noncompliantZone // = 5 - case noncompliant2Zone // = 6 - case missingLocationZone // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetZone - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetZone - case 1: self = .safeToJoinZone - case 2: self = .warningToJoinZone - case 3: self = .safeToPlayZone - case 4: self = .warningToPlayZone - case 5: self = .noncompliantZone - case 6: self = .noncompliant2Zone - case 7: self = .missingLocationZone - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetZone: return 0 - case .safeToJoinZone: return 1 - case .warningToJoinZone: return 2 - case .safeToPlayZone: return 3 - case .warningToPlayZone: return 4 - case .noncompliantZone: return 5 - case .noncompliant2Zone: return 6 - case .missingLocationZone: return 7 - case .UNRECOGNIZED(let i): return i - } - } - -} - -#if swift(>=4.2) - -extension ZoneType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ZoneType] = [ - .unsetZone, - .safeToJoinZone, - .warningToJoinZone, - .safeToPlayZone, - .warningToPlayZone, - .noncompliantZone, - .noncompliant2Zone, - .missingLocationZone, - ] -} - -#endif // swift(>=4.2) - public struct ARBuddyMultiplayerSessionTelemetry { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -23238,12 +25918,21 @@ public struct ARBuddyMultiplayerSessionTelemetry { fileprivate var _storage = _StorageClass.defaultInstance } -public struct ARClientEnvelope { +public struct ARDKARClientEnvelope { // 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. - public var ageLevel: ARClientEnvelope.AgeLevel = .unknown + public var ageLevel: ARDKARClientEnvelope.AgeLevel = .unknown + + public var arCommonMetadata: ARDKARCommonMetadata { + get {return _arCommonMetadata ?? ARDKARCommonMetadata()} + set {_arCommonMetadata = newValue} + } + /// Returns true if `arCommonMetadata` has been explicitly set. + public var hasArCommonMetadata: Bool {return self._arCommonMetadata != nil} + /// Clears the value of `arCommonMetadata`. Subsequent reads from it will return its default value. + public mutating func clearArCommonMetadata() {self._arCommonMetadata = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -23282,13 +25971,15 @@ public struct ARClientEnvelope { } public init() {} + + fileprivate var _arCommonMetadata: ARDKARCommonMetadata? = nil } #if swift(>=4.2) -extension ARClientEnvelope.AgeLevel: CaseIterable { +extension ARDKARClientEnvelope.AgeLevel: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ARClientEnvelope.AgeLevel] = [ + public static var allCases: [ARDKARClientEnvelope.AgeLevel] = [ .unknown, .minor, .teen, @@ -23298,7 +25989,7 @@ extension ARClientEnvelope.AgeLevel: CaseIterable { #endif // swift(>=4.2) -public struct ARCommonMetadata { +public struct ARDKARCommonMetadata { // 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. @@ -23328,316 +26019,66 @@ public struct ARCommonMetadata { public init() {} } -public struct ARDKTelemetryOmniProto { +public struct ARDKAffineTransformProto { // 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. - public var telemetryEvent: OneOf_TelemetryEvent? { - get {return _storage._telemetryEvent} - set {_uniqueStorage()._telemetryEvent = newValue} - } - - public var initializationEvent: InitializationEvent { - get { - if case .initializationEvent(let v)? = _storage._telemetryEvent {return v} - return InitializationEvent() - } - set {_uniqueStorage()._telemetryEvent = .initializationEvent(newValue)} - } - - public var arSessionEvent: ARSessionEvent { - get { - if case .arSessionEvent(let v)? = _storage._telemetryEvent {return v} - return ARSessionEvent() - } - set {_uniqueStorage()._telemetryEvent = .arSessionEvent(newValue)} - } - - public var lightshipServiceEvent: LightshipServiceEvent { - get { - if case .lightshipServiceEvent(let v)? = _storage._telemetryEvent {return v} - return LightshipServiceEvent() - } - set {_uniqueStorage()._telemetryEvent = .lightshipServiceEvent(newValue)} - } - - public var multiplayerConnectionEvent: MultiplayerConnectionEvent { - get { - if case .multiplayerConnectionEvent(let v)? = _storage._telemetryEvent {return v} - return MultiplayerConnectionEvent() - } - set {_uniqueStorage()._telemetryEvent = .multiplayerConnectionEvent(newValue)} - } - - public var enableContextualAwarenessEvent: EnabledContextualAwarenessEvent { - get { - if case .enableContextualAwarenessEvent(let v)? = _storage._telemetryEvent {return v} - return EnabledContextualAwarenessEvent() - } - set {_uniqueStorage()._telemetryEvent = .enableContextualAwarenessEvent(newValue)} - } - - public var multiplayerColocalizationEvent: MultiplayerColocalizationEvent { - get { - if case .multiplayerColocalizationEvent(let v)? = _storage._telemetryEvent {return v} - return MultiplayerColocalizationEvent() - } - set {_uniqueStorage()._telemetryEvent = .multiplayerColocalizationEvent(newValue)} - } - - public var multiplayerColocalizationInitializationEvent: MultiplayerColocalizationInitializationEvent { - get { - if case .multiplayerColocalizationInitializationEvent(let v)? = _storage._telemetryEvent {return v} - return MultiplayerColocalizationInitializationEvent() - } - set {_uniqueStorage()._telemetryEvent = .multiplayerColocalizationInitializationEvent(newValue)} - } - - public var scanningFrameworkEvent: ScanningFrameworkEvent { - get { - if case .scanningFrameworkEvent(let v)? = _storage._telemetryEvent {return v} - return ScanningFrameworkEvent() - } - set {_uniqueStorage()._telemetryEvent = .scanningFrameworkEvent(newValue)} - } - - public var scanCaptureEvent: ScanCaptureEvent { - get { - if case .scanCaptureEvent(let v)? = _storage._telemetryEvent {return v} - return ScanCaptureEvent() - } - set {_uniqueStorage()._telemetryEvent = .scanCaptureEvent(newValue)} - } - - public var scanSaveEvent: ScanSaveEvent { - get { - if case .scanSaveEvent(let v)? = _storage._telemetryEvent {return v} - return ScanSaveEvent() - } - set {_uniqueStorage()._telemetryEvent = .scanSaveEvent(newValue)} - } - - public var scanProcessEvent: ScanProcessEvent { - get { - if case .scanProcessEvent(let v)? = _storage._telemetryEvent {return v} - return ScanProcessEvent() - } - set {_uniqueStorage()._telemetryEvent = .scanProcessEvent(newValue)} - } - - public var scanUploadEvent: ScanUploadEvent { - get { - if case .scanUploadEvent(let v)? = _storage._telemetryEvent {return v} - return ScanUploadEvent() - } - set {_uniqueStorage()._telemetryEvent = .scanUploadEvent(newValue)} - } - - public var vpsStateChangeEvent: VpsStateChangeEvent { - get { - if case .vpsStateChangeEvent(let v)? = _storage._telemetryEvent {return v} - return VpsStateChangeEvent() - } - set {_uniqueStorage()._telemetryEvent = .vpsStateChangeEvent(newValue)} - } - - public var wayspotAnchorStateChangeEvent: WayspotAnchorStateChangeEvent { - get { - if case .wayspotAnchorStateChangeEvent(let v)? = _storage._telemetryEvent {return v} - return WayspotAnchorStateChangeEvent() - } - set {_uniqueStorage()._telemetryEvent = .wayspotAnchorStateChangeEvent(newValue)} - } - - public var vpsSessionSummaryEvent: VpsSessionSummaryEvent { - get { - if case .vpsSessionSummaryEvent(let v)? = _storage._telemetryEvent {return v} - return VpsSessionSummaryEvent() - } - set {_uniqueStorage()._telemetryEvent = .vpsSessionSummaryEvent(newValue)} - } - - public var commonMetadata: ARCommonMetadata { - get {return _storage._commonMetadata ?? ARCommonMetadata()} - set {_uniqueStorage()._commonMetadata = newValue} - } - /// Returns true if `commonMetadata` has been explicitly set. - public var hasCommonMetadata: Bool {return _storage._commonMetadata != nil} - /// Clears the value of `commonMetadata`. Subsequent reads from it will return its default value. - public mutating func clearCommonMetadata() {_uniqueStorage()._commonMetadata = nil} - - public var developerKey: String { - get {return _storage._developerKey} - set {_uniqueStorage()._developerKey = newValue} - } + public var rotation: [Float] = [] - public var timestampMs: Int64 { - get {return _storage._timestampMs} - set {_uniqueStorage()._timestampMs = newValue} - } - - public var arSessionID: String { - get {return _storage._arSessionID} - set {_uniqueStorage()._arSessionID = newValue} - } + public var translation: [Float] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_TelemetryEvent: Equatable { - case initializationEvent(InitializationEvent) - case arSessionEvent(ARSessionEvent) - case lightshipServiceEvent(LightshipServiceEvent) - case multiplayerConnectionEvent(MultiplayerConnectionEvent) - case enableContextualAwarenessEvent(EnabledContextualAwarenessEvent) - case multiplayerColocalizationEvent(MultiplayerColocalizationEvent) - case multiplayerColocalizationInitializationEvent(MultiplayerColocalizationInitializationEvent) - case scanningFrameworkEvent(ScanningFrameworkEvent) - case scanCaptureEvent(ScanCaptureEvent) - case scanSaveEvent(ScanSaveEvent) - case scanProcessEvent(ScanProcessEvent) - case scanUploadEvent(ScanUploadEvent) - case vpsStateChangeEvent(VpsStateChangeEvent) - case wayspotAnchorStateChangeEvent(WayspotAnchorStateChangeEvent) - case vpsSessionSummaryEvent(VpsSessionSummaryEvent) - - #if !swift(>=4.1) - public static func ==(lhs: ARDKTelemetryOmniProto.OneOf_TelemetryEvent, rhs: ARDKTelemetryOmniProto.OneOf_TelemetryEvent) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.initializationEvent, .initializationEvent): return { - guard case .initializationEvent(let l) = lhs, case .initializationEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.arSessionEvent, .arSessionEvent): return { - guard case .arSessionEvent(let l) = lhs, case .arSessionEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.lightshipServiceEvent, .lightshipServiceEvent): return { - guard case .lightshipServiceEvent(let l) = lhs, case .lightshipServiceEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.multiplayerConnectionEvent, .multiplayerConnectionEvent): return { - guard case .multiplayerConnectionEvent(let l) = lhs, case .multiplayerConnectionEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.enableContextualAwarenessEvent, .enableContextualAwarenessEvent): return { - guard case .enableContextualAwarenessEvent(let l) = lhs, case .enableContextualAwarenessEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.multiplayerColocalizationEvent, .multiplayerColocalizationEvent): return { - guard case .multiplayerColocalizationEvent(let l) = lhs, case .multiplayerColocalizationEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.multiplayerColocalizationInitializationEvent, .multiplayerColocalizationInitializationEvent): return { - guard case .multiplayerColocalizationInitializationEvent(let l) = lhs, case .multiplayerColocalizationInitializationEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.scanningFrameworkEvent, .scanningFrameworkEvent): return { - guard case .scanningFrameworkEvent(let l) = lhs, case .scanningFrameworkEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.scanCaptureEvent, .scanCaptureEvent): return { - guard case .scanCaptureEvent(let l) = lhs, case .scanCaptureEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.scanSaveEvent, .scanSaveEvent): return { - guard case .scanSaveEvent(let l) = lhs, case .scanSaveEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.scanProcessEvent, .scanProcessEvent): return { - guard case .scanProcessEvent(let l) = lhs, case .scanProcessEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.scanUploadEvent, .scanUploadEvent): return { - guard case .scanUploadEvent(let l) = lhs, case .scanUploadEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.vpsStateChangeEvent, .vpsStateChangeEvent): return { - guard case .vpsStateChangeEvent(let l) = lhs, case .vpsStateChangeEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.wayspotAnchorStateChangeEvent, .wayspotAnchorStateChangeEvent): return { - guard case .wayspotAnchorStateChangeEvent(let l) = lhs, case .wayspotAnchorStateChangeEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.vpsSessionSummaryEvent, .vpsSessionSummaryEvent): return { - guard case .vpsSessionSummaryEvent(let l) = lhs, case .vpsSessionSummaryEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct ARPlusEncounterValuesProto { +public struct ARDKAsyncFileUploadCompleteOutProto { // 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. - public var proximity: Float = 0 - - public var awareness: Float = 0 - - public var pokemonFrightened: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ARSessionEvent { - // 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. + public var error: ARDKAsyncFileUploadCompleteOutProto.ErrorStatus = .unset - public var sessionState: ARSessionEvent.State = .unknown + public var submissionType: ARDKPlayerSubmissionTypeProto = .typeUnspecified - public var batteryLevel: Float = 0 + public var poiID: String = String() - public var installMode: String = String() + public var postActionGameInfo: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum State: SwiftProtobuf.Enum { + public enum ErrorStatus: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 - case created // = 1 - case run // = 2 - case pause // = 3 - case disposed // = 4 + case unset // = 0 + case serverUpdateFailed // = 1 + case missingSubmissionID // = 2 + case missingSubmissionType // = 3 + case missingUploadStatus // = 4 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown - case 1: self = .created - case 2: self = .run - case 3: self = .pause - case 4: self = .disposed + case 0: self = .unset + case 1: self = .serverUpdateFailed + case 2: self = .missingSubmissionID + case 3: self = .missingSubmissionType + case 4: self = .missingUploadStatus default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 - case .created: return 1 - case .run: return 2 - case .pause: return 3 - case .disposed: return 4 + case .unset: return 0 + case .serverUpdateFailed: return 1 + case .missingSubmissionID: return 2 + case .missingSubmissionType: return 3 + case .missingUploadStatus: return 4 case .UNRECOGNIZED(let i): return i } } @@ -23649,61 +26090,44 @@ public struct ARSessionEvent { #if swift(>=4.2) -extension ARSessionEvent.State: CaseIterable { +extension ARDKAsyncFileUploadCompleteOutProto.ErrorStatus: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ARSessionEvent.State] = [ - .unknown, - .created, - .run, - .pause, - .disposed, + public static var allCases: [ARDKAsyncFileUploadCompleteOutProto.ErrorStatus] = [ + .unset, + .serverUpdateFailed, + .missingSubmissionID, + .missingSubmissionType, + .missingUploadStatus, ] } #endif // swift(>=4.2) -public struct ASPermissionFlowTelemetry { - // 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. - - public var initialPrompt: Bool = false - - public var serviceTelemetry: [ASServiceTelemetryIds] = [] - - public var permissionTelemetry: ASPermissionTelemetryIds = .unsetPermission - - public var permissionStatusTelemetry: ASPermissionStatusTelemetryIds = .unknown - - public var success: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct AbilityEnergyMetadata { +public struct ARDKAsyncFileUploadCompleteProto { // 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. - public var currentEnergy: Int32 = 0 - - public var energyCost: Int32 = 0 - - public var maxEnergy: Int32 = 0 + public var submissionID: String = String() - public var chargeRate: Dictionary = [:] + public var uploadStatus: ARDKAsyncFileUploadCompleteProto.Status = .unset - public var disabled: Bool = false + public var arCommonMetadata: ARDKARCommonMetadata { + get {return _arCommonMetadata ?? ARDKARCommonMetadata()} + set {_arCommonMetadata = newValue} + } + /// Returns true if `arCommonMetadata` has been explicitly set. + public var hasArCommonMetadata: Bool {return self._arCommonMetadata != nil} + /// Clears the value of `arCommonMetadata`. Subsequent reads from it will return its default value. + public mutating func clearArCommonMetadata() {self._arCommonMetadata = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ChargeType: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case fastMove // = 1 - case chargeMove // = 2 + case uploadDone // = 1 + case uploadFailed // = 2 case UNRECOGNIZED(Int) public init() { @@ -23713,8 +26137,8 @@ public struct AbilityEnergyMetadata { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .fastMove - case 2: self = .chargeMove + case 1: self = .uploadDone + case 2: self = .uploadFailed default: self = .UNRECOGNIZED(rawValue) } } @@ -23722,303 +26146,244 @@ public struct AbilityEnergyMetadata { public var rawValue: Int { switch self { case .unset: return 0 - case .fastMove: return 1 - case .chargeMove: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum ChargeMultiplier: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetMultiplier // = 0 - case partySize // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetMultiplier - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetMultiplier - case 1: self = .partySize - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetMultiplier: return 0 - case .partySize: return 1 + case .uploadDone: return 1 + case .uploadFailed: return 2 case .UNRECOGNIZED(let i): return i } } } - public struct ChargeRateSetting { - // 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. - - public var multiplier: AbilityEnergyMetadata.ChargeMultiplier = .unsetMultiplier - - public var rate: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} + + fileprivate var _arCommonMetadata: ARDKARCommonMetadata? = nil } #if swift(>=4.2) -extension AbilityEnergyMetadata.ChargeType: CaseIterable { +extension ARDKAsyncFileUploadCompleteProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AbilityEnergyMetadata.ChargeType] = [ + public static var allCases: [ARDKAsyncFileUploadCompleteProto.Status] = [ .unset, - .fastMove, - .chargeMove, - ] -} - -extension AbilityEnergyMetadata.ChargeMultiplier: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AbilityEnergyMetadata.ChargeMultiplier] = [ - .unsetMultiplier, - .partySize, + .uploadDone, + .uploadFailed, ] } #endif // swift(>=4.2) -public struct AbilityLookupMap { +public struct ARDKAvailableSubmissionsPerSubmissionType { // 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. - public var lookupLocation: AbilityLookupMap.AbilityLookupLocation = .unsetAbilityLocation + public var playerSubmissionType: ARDKPlayerSubmissionTypeProto = .typeUnspecified - public var statModifierType: StatModifierType = .unsetStatModifierType + public var submissionsLeft: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var minPlayerLevel: Int32 = 0 - public enum AbilityLookupLocation: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetAbilityLocation // = 0 - case trainerActivePokemonStatModifiers // = 1 - case UNRECOGNIZED(Int) + public var isFeatureEnabled: Bool = false - public init() { - self = .unsetAbilityLocation - } + public var timeWindowForSubmissionsLimitMs: Int64 = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetAbilityLocation - case 1: self = .trainerActivePokemonStatModifiers - default: self = .UNRECOGNIZED(rawValue) - } - } + public var maxPoiDistanceInMeters: Int32 = 0 - public var rawValue: Int { - switch self { - case .unsetAbilityLocation: return 0 - case .trainerActivePokemonStatModifiers: return 1 - case .UNRECOGNIZED(let i): return i - } - } + public var blacklistedOs: [String] = [] - } + public var blacklistedDeviceID: [String] = [] - public init() {} -} + public var isWhitelistedUser: Bool = false -#if swift(>=4.2) + public var isUploadLaterEnabled: Bool = false -extension AbilityLookupMap.AbilityLookupLocation: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AbilityLookupMap.AbilityLookupLocation] = [ - .unsetAbilityLocation, - .trainerActivePokemonStatModifiers, - ] -} + public var dailyNewSubmissions: Float = 0 -#endif // swift(>=4.2) + public var maxSubmissions: Int32 = 0 + + public var isWayfarerOnboardingEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct AcceptCombatChallengeDataProto { + public init() {} +} + +public struct ARDKBoundingBoxProto { // 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. - public var obInt32: Int32 = 0 + public var loX: Float = 0 + + public var loY: Float = 0 - public var obListInt32: [Int32] = [] + public var loZ: Float = 0 + + public var hiX: Float = 0 + + public var hiY: Float = 0 + + public var hiZ: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AcceptCombatChallengeOutProto { +public struct ARDKCameraParamsProto { // 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. - public var result: AcceptCombatChallengeOutProto.Result = .unset - - public var challenge: CombatChallengeProto { - get {return _challenge ?? CombatChallengeProto()} - set {_challenge = newValue} - } - /// Returns true if `challenge` has been explicitly set. - public var hasChallenge: Bool {return self._challenge != nil} - /// Clears the value of `challenge`. Subsequent reads from it will return its default value. - public mutating func clearChallenge() {self._challenge = nil} + public var width: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var height: Int32 = 0 - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInvalidChallengeState // = 2 - case errorChallengeNotFound // = 3 - case errorPokemonNotInInventory // = 4 - case errorNotEligibleLeague // = 5 - case errorPlayerBelowMinimumLevel // = 6 - case errorOpponentNotInRange // = 7 - case errorAlreadyTimedout // = 8 - case errorAlreadyCancelled // = 9 - case errorAccessDenied // = 10 - case UNRECOGNIZED(Int) + public var f: Float = 0 - public init() { - self = .unset - } + public var px: Float = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidChallengeState - case 3: self = .errorChallengeNotFound - case 4: self = .errorPokemonNotInInventory - case 5: self = .errorNotEligibleLeague - case 6: self = .errorPlayerBelowMinimumLevel - case 7: self = .errorOpponentNotInRange - case 8: self = .errorAlreadyTimedout - case 9: self = .errorAlreadyCancelled - case 10: self = .errorAccessDenied - default: self = .UNRECOGNIZED(rawValue) - } - } + public var py: Float = 0 - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInvalidChallengeState: return 2 - case .errorChallengeNotFound: return 3 - case .errorPokemonNotInInventory: return 4 - case .errorNotEligibleLeague: return 5 - case .errorPlayerBelowMinimumLevel: return 6 - case .errorOpponentNotInRange: return 7 - case .errorAlreadyTimedout: return 8 - case .errorAlreadyCancelled: return 9 - case .errorAccessDenied: return 10 - case .UNRECOGNIZED(let i): return i - } - } + public var k: Float = 0 - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _challenge: CombatChallengeProto? = nil } -#if swift(>=4.2) +public struct ARDKDepthRangeProto { + // 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. -extension AcceptCombatChallengeOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AcceptCombatChallengeOutProto.Result] = [ - .unset, - .success, - .errorInvalidChallengeState, - .errorChallengeNotFound, - .errorPokemonNotInInventory, - .errorNotEligibleLeague, - .errorPlayerBelowMinimumLevel, - .errorOpponentNotInRange, - .errorAlreadyTimedout, - .errorAlreadyCancelled, - .errorAccessDenied, - ] -} + public var near: Float = 0 -#endif // swift(>=4.2) + public var far: Float = 0 -public struct AcceptCombatChallengeProto { + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ARDKExposureInfoProto { // 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. - public var challengeID: String = String() + public var shutter: Float = 0 - public var attackingPokemonID: [UInt64] = [] + public var offset: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AcceptCombatChallengeResponseDataProto { +public struct ARDKFrameProto { // 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. - public var obInt32: Int32 = 0 + public var id: Int32 { + get {return _storage._id} + set {_uniqueStorage()._id = newValue} + } + + public var anchor: Int32 { + get {return _storage._anchor} + set {_uniqueStorage()._anchor = newValue} + } - public var obUint32: UInt32 = 0 + public var timestamp: Double { + get {return _storage._timestamp} + set {_uniqueStorage()._timestamp = newValue} + } - public var result: AcceptCombatChallengeOutProto.Result = .unset + public var camera: ARDKCameraParamsProto { + get {return _storage._camera ?? ARDKCameraParamsProto()} + set {_uniqueStorage()._camera = newValue} + } + /// Returns true if `camera` has been explicitly set. + public var hasCamera: Bool {return _storage._camera != nil} + /// Clears the value of `camera`. Subsequent reads from it will return its default value. + public mutating func clearCamera() {_uniqueStorage()._camera = nil} - public var challenge: ObCommunCombatChallengeDataProto { - get {return _challenge ?? ObCommunCombatChallengeDataProto()} - set {_challenge = newValue} + public var transform: ARDKAffineTransformProto { + get {return _storage._transform ?? ARDKAffineTransformProto()} + set {_uniqueStorage()._transform = newValue} + } + /// Returns true if `transform` has been explicitly set. + public var hasTransform: Bool {return _storage._transform != nil} + /// Clears the value of `transform`. Subsequent reads from it will return its default value. + public mutating func clearTransform() {_uniqueStorage()._transform = nil} + + public var exposure: ARDKExposureInfoProto { + get {return _storage._exposure ?? ARDKExposureInfoProto()} + set {_uniqueStorage()._exposure = newValue} + } + /// Returns true if `exposure` has been explicitly set. + public var hasExposure: Bool {return _storage._exposure != nil} + /// Clears the value of `exposure`. Subsequent reads from it will return its default value. + public mutating func clearExposure() {_uniqueStorage()._exposure = nil} + + public var range: ARDKDepthRangeProto { + get {return _storage._range ?? ARDKDepthRangeProto()} + set {_uniqueStorage()._range = newValue} + } + /// Returns true if `range` has been explicitly set. + public var hasRange: Bool {return _storage._range != nil} + /// Clears the value of `range`. Subsequent reads from it will return its default value. + public mutating func clearRange() {_uniqueStorage()._range = nil} + + public var quality: Float { + get {return _storage._quality} + set {_uniqueStorage()._quality = newValue} + } + + public var isLargeImage: Bool { + get {return _storage._isLargeImage} + set {_uniqueStorage()._isLargeImage = newValue} + } + + public var trackingState: Int32 { + get {return _storage._trackingState} + set {_uniqueStorage()._trackingState = newValue} } - /// Returns true if `challenge` has been explicitly set. - public var hasChallenge: Bool {return self._challenge != nil} - /// Clears the value of `challenge`. Subsequent reads from it will return its default value. - public mutating func clearChallenge() {self._challenge = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _challenge: ObCommunCombatChallengeDataProto? = nil + fileprivate var _storage = _StorageClass.defaultInstance } -public struct AcceptFriendInviteOutProto { +public struct ARDKFramesProto { // 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. - public var result: AcceptFriendInviteOutProto.Result = .unset + public var id: String = String() - public var friend: PlayerSummaryProto { - get {return _friend ?? PlayerSummaryProto()} - set {_friend = newValue} - } - /// Returns true if `friend` has been explicitly set. - public var hasFriend: Bool {return self._friend != nil} - /// Clears the value of `friend`. Subsequent reads from it will return its default value. - public mutating func clearFriend() {self._friend = nil} + public var locations: [ARDKLocationProto] = [] + + public var frames: [ARDKFrameProto] = [] + + public var anchors: [ARDKAffineTransformProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ARDKGenerateGmapSignedUrlOutProto { + // 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. + + public var result: ARDKGenerateGmapSignedUrlOutProto.Result = .unset + + public var signedURL: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -24026,13 +26391,10 @@ public struct AcceptFriendInviteOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 - case errorInviteDoesNotExist // = 3 - case errorMaxFriendsLimitReachedDeleted // = 4 - case errorInviteHasBeenCancelled // = 5 - case errorSenderHasMaxFriends // = 6 - case errorReceiverHasMaxFriends // = 7 - case errorSenderIsBlocked // = 8 + case errorPlayerNotValid // = 2 + case errorRateLimited // = 3 + case errorMissingInput // = 4 + case errorUnknown // = 5 case UNRECOGNIZED(Int) public init() { @@ -24043,13 +26405,10 @@ public struct AcceptFriendInviteOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorInviteDoesNotExist - case 4: self = .errorMaxFriendsLimitReachedDeleted - case 5: self = .errorInviteHasBeenCancelled - case 6: self = .errorSenderHasMaxFriends - case 7: self = .errorReceiverHasMaxFriends - case 8: self = .errorSenderIsBlocked + case 2: self = .errorPlayerNotValid + case 3: self = .errorRateLimited + case 4: self = .errorMissingInput + case 5: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -24058,13 +26417,10 @@ public struct AcceptFriendInviteOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 - case .errorInviteDoesNotExist: return 3 - case .errorMaxFriendsLimitReachedDeleted: return 4 - case .errorInviteHasBeenCancelled: return 5 - case .errorSenderHasMaxFriends: return 6 - case .errorReceiverHasMaxFriends: return 7 - case .errorSenderIsBlocked: return 8 + case .errorPlayerNotValid: return 2 + case .errorRateLimited: return 3 + case .errorMissingInput: return 4 + case .errorUnknown: return 5 case .UNRECOGNIZED(let i): return i } } @@ -24072,346 +26428,238 @@ public struct AcceptFriendInviteOutProto { } public init() {} - - fileprivate var _friend: PlayerSummaryProto? = nil } #if swift(>=4.2) -extension AcceptFriendInviteOutProto.Result: CaseIterable { +extension ARDKGenerateGmapSignedUrlOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AcceptFriendInviteOutProto.Result] = [ + public static var allCases: [ARDKGenerateGmapSignedUrlOutProto.Result] = [ .unset, .success, + .errorPlayerNotValid, + .errorRateLimited, + .errorMissingInput, .errorUnknown, - .errorInviteDoesNotExist, - .errorMaxFriendsLimitReachedDeleted, - .errorInviteHasBeenCancelled, - .errorSenderHasMaxFriends, - .errorReceiverHasMaxFriends, - .errorSenderIsBlocked, ] } #endif // swift(>=4.2) -public struct AcceptFriendInviteProto { +public struct ARDKGenerateGmapSignedUrlProto { // 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. - public var playerID: String = String() + public var latitude: Double = 0 - public var niaAccountID: String = String() + public var longitude: Double = 0 + + public var width: Int32 = 0 + + public var height: Int32 = 0 + + public var zoom: Int32 = 0 + + public var languageCode: String = String() + + public var countryCode: String = String() + + public var mapStyle: String = String() + + public var mapType: String = String() + + public var iconParams: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AccountContactSettings { +public struct ARDKGetARMappingSettingsOutProto { // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ConsentStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case optIn // = 1 - case optOut // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } + public var isClientScanValidationEnabled: Bool = false - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .optIn - case 2: self = .optOut - default: self = .UNRECOGNIZED(rawValue) - } - } + public var clientScanValidationBlockedOs: [String] = [] - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .optIn: return 1 - case .optOut: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var clientScanValidationBlockedDeviceID: [String] = [] - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) - -extension AccountContactSettings.ConsentStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AccountContactSettings.ConsentStatus] = [ - .unknown, - .optIn, - .optOut, - ] -} - -#endif // swift(>=4.2) - -public struct AccountDeletionInitiatedTelemetry { +public struct ARDKGetARMappingSettingsProto { // 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. - public var accountDeletionStatus: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AccountSettingsDataProto { +public struct ARDKGetAvailableSubmissionsOutProto { // 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. - public var onboardedIdentityPortal: AccountSettingsDataProto.Onboarded.Status = .unset + public var submissionsLeft: Int32 = 0 - public var gameToSettings: Dictionary = [:] + public var minPlayerLevel: Int32 = 0 - public var contactListConsent: AccountSettingsDataProto.Consent { - get {return _contactListConsent ?? AccountSettingsDataProto.Consent()} - set {_contactListConsent = newValue} - } - /// Returns true if `contactListConsent` has been explicitly set. - public var hasContactListConsent: Bool {return self._contactListConsent != nil} - /// Clears the value of `contactListConsent`. Subsequent reads from it will return its default value. - public mutating func clearContactListConsent() {self._contactListConsent = nil} + public var hasValidEmail_p: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var isFeatureEnabled: Bool = false - public struct Consent { - // 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. + public var timeWindowForSubmissionsLimitMs: Int64 = 0 - public var status: AccountSettingsDataProto.Consent.Status = .unknown + public var maxPoiDistanceInMeters: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var blacklistedOs: [String] = [] - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case optIn // = 1 - case optOut // = 2 - case UNRECOGNIZED(Int) + public var availabilityResultPerType: [ARDKAvailableSubmissionsPerSubmissionType] = [] - public init() { - self = .unknown - } + public var blacklistedDeviceID: [String] = [] - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .optIn - case 2: self = .optOut - default: self = .UNRECOGNIZED(rawValue) - } - } + public var maxPoiLocationEditMoveDistanceMeters: Int32 = 0 - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .optIn: return 1 - case .optOut: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var isUploadLaterEnabled: Bool = false - } + public var categoryCloudStorageDirectoryPath: String = String() - public init() {} - } + public var hasWayfarerAccount_p: Bool = false - public struct GameSettings { - // 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. + public var isPoiSubmissionCategoryEnabled: Bool = false - public var visibility: AccountSettingsDataProto.Visibility.Status = .unset + public var passedWayfarerQuiz: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var urbanTypologyCloudStoragePath: String = String() - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct Onboarded { - // 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. + public init() {} +} - public var status: AccountSettingsDataProto.Onboarded.Status = .unset +public struct ARDKGetAvailableSubmissionsProto { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var submissionType: ARDKPlayerSubmissionTypeProto = .typeUnspecified - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case skipped // = 1 - case seen // = 2 - case UNRECOGNIZED(Int) + public var submissionTypes: [ARDKPlayerSubmissionTypeProto] = [] - public init() { - self = .unset - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .skipped - case 2: self = .seen - default: self = .UNRECOGNIZED(rawValue) - } - } + public init() {} +} - public var rawValue: Int { - switch self { - case .unset: return 0 - case .skipped: return 1 - case .seen: return 2 - case .UNRECOGNIZED(let i): return i - } - } +public struct ARDKGetGmapSettingsOutProto { + // 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. - } + public var result: ARDKGetGmapSettingsOutProto.Result = .unset - public init() {} - } + public var gmapTemplateURL: String = String() - public struct Visibility { - // 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. + public var maxPoiDistanceInMeters: Int32 = 0 - public var status: AccountSettingsDataProto.Visibility.Status = .unset + public var minZoom: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var maxZoom: Int32 = 0 - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case everyone // = 1 - case friends // = 2 - case `private` // = 3 - case UNRECOGNIZED(Int) + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() { - self = .unset - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorMissingConfig // = 3 + case errorNoUniqueID // = 4 + case UNRECOGNIZED(Int) - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .everyone - case 2: self = .friends - case 3: self = .private - default: self = .UNRECOGNIZED(rawValue) - } - } + public init() { + self = .unset + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .everyone: return 1 - case .friends: return 2 - case .private: return 3 - case .UNRECOGNIZED(let i): return i - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorMissingConfig + case 4: self = .errorNoUniqueID + default: self = .UNRECOGNIZED(rawValue) } + } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorMissingConfig: return 3 + case .errorNoUniqueID: return 4 + case .UNRECOGNIZED(let i): return i + } } - public init() {} } public init() {} - - fileprivate var _contactListConsent: AccountSettingsDataProto.Consent? = nil } #if swift(>=4.2) -extension AccountSettingsDataProto.Consent.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AccountSettingsDataProto.Consent.Status] = [ - .unknown, - .optIn, - .optOut, - ] -} - -extension AccountSettingsDataProto.Onboarded.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AccountSettingsDataProto.Onboarded.Status] = [ - .unset, - .skipped, - .seen, - ] -} - -extension AccountSettingsDataProto.Visibility.Status: CaseIterable { +extension ARDKGetGmapSettingsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AccountSettingsDataProto.Visibility.Status] = [ + public static var allCases: [ARDKGetGmapSettingsOutProto.Result] = [ .unset, - .everyone, - .friends, - .private, + .success, + .errorUnknown, + .errorMissingConfig, + .errorNoUniqueID, ] } #endif // swift(>=4.2) -public struct AccountSettingsProto { +public struct ARDKGetGmapSettingsProto { // 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. - public var optOutSocialGraphImport: Bool = false - - public var onlineStatusConsent: SocialSettings.ConsentStatus = .unknown - - public var lastPlayedDateConsent: SocialSettings.ConsentStatus = .unknown - - public var codenameConsent: SocialSettings.ConsentStatus = .unknown - - public var contactListConsent: SocialSettings.ConsentStatus = .unknown - - public var fullName: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AcknowledgePunishmentOutProto { +public struct ARDKGetGrapeshotUploadUrlOutProto { // 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. - public var result: AcknowledgePunishmentOutProto.Result = .unset + public var status: ARDKGetGrapeshotUploadUrlOutProto.Status = .unset + + public var fileContextToGrapeshotData: Dictionary = [:] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorUnknown // = 2 + case failure // = 1 + case success // = 2 + case missingFileContexts // = 3 + case duplicateFileContext // = 4 + case missingSubmissionType // = 5 + case missingSubmissionID // = 6 case UNRECOGNIZED(Int) public init() { @@ -24421,8 +26669,12 @@ public struct AcknowledgePunishmentOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown + case 1: self = .failure + case 2: self = .success + case 3: self = .missingFileContexts + case 4: self = .duplicateFileContext + case 5: self = .missingSubmissionType + case 6: self = .missingSubmissionID default: self = .UNRECOGNIZED(rawValue) } } @@ -24430,8 +26682,12 @@ public struct AcknowledgePunishmentOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 + case .failure: return 1 + case .success: return 2 + case .missingFileContexts: return 3 + case .duplicateFileContext: return 4 + case .missingSubmissionType: return 5 + case .missingSubmissionID: return 6 case .UNRECOGNIZED(let i): return i } } @@ -24443,87 +26699,105 @@ public struct AcknowledgePunishmentOutProto { #if swift(>=4.2) -extension AcknowledgePunishmentOutProto.Result: CaseIterable { +extension ARDKGetGrapeshotUploadUrlOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AcknowledgePunishmentOutProto.Result] = [ + public static var allCases: [ARDKGetGrapeshotUploadUrlOutProto.Status] = [ .unset, + .failure, .success, - .errorUnknown, + .missingFileContexts, + .duplicateFileContext, + .missingSubmissionType, + .missingSubmissionID, ] } #endif // swift(>=4.2) -public struct AcknowledgePunishmentProto { +public struct ARDKGetGrapeshotUploadUrlProto { // 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. - public var isWarn: Bool = false + public var submissionType: ARDKPlayerSubmissionTypeProto = .typeUnspecified - public var isSuspended: Bool = false + public var submissionID: String = String() + + public var fileUploadContext: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AcknowledgeWarningsRequestProto { +public struct ARDKGetPlayerSubmissionValidationSettingsOutProto { // 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. - public var warning: [WarningType] = [] + public var bannedMetadataText: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AcknowledgeWarningsResponseProto { +public struct ARDKGetPlayerSubmissionValidationSettingsProto { // 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. - public var success: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ActionExecution { +public struct ARDKGetUploadUrlOutProto { // 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. + public var status: ARDKGetUploadUrlOutProto.Status = .unset + + public var signedURL: String = String() + + public var supportingImageSignedURL: String = String() + + public var contextSignedUrls: Dictionary = [:] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ExecutionMethod: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case `default` // = 0 - case synchronous // = 1 - case asynchronous // = 2 + case unset // = 0 + case failures // = 1 + case success // = 2 + case missingImageContexts // = 3 + case duplicateImageContexts // = 4 case UNRECOGNIZED(Int) public init() { - self = .default + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .default - case 1: self = .synchronous - case 2: self = .asynchronous + case 0: self = .unset + case 1: self = .failures + case 2: self = .success + case 3: self = .missingImageContexts + case 4: self = .duplicateImageContexts default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .default: return 0 - case .synchronous: return 1 - case .asynchronous: return 2 + case .unset: return 0 + case .failures: return 1 + case .success: return 2 + case .missingImageContexts: return 3 + case .duplicateImageContexts: return 4 case .UNRECOGNIZED(let i): return i } } @@ -24535,759 +26809,236 @@ public struct ActionExecution { #if swift(>=4.2) -extension ActionExecution.ExecutionMethod: CaseIterable { +extension ARDKGetUploadUrlOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ActionExecution.ExecutionMethod] = [ - .default, - .synchronous, - .asynchronous, + public static var allCases: [ARDKGetUploadUrlOutProto.Status] = [ + .unset, + .failures, + .success, + .missingImageContexts, + .duplicateImageContexts, ] } #endif // swift(>=4.2) -public struct ActionLogEntry { +public struct ARDKGetUploadUrlProto { // 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. - public var action: ActionLogEntry.OneOf_Action? = nil + public var userID: String = String() - public var catchPokemon: CatchPokemonLogEntry { - get { - if case .catchPokemon(let v)? = action {return v} - return CatchPokemonLogEntry() - } - set {action = .catchPokemon(newValue)} - } + public var gameUniqueID: String = String() - public var fortSearch: FortSearchLogEntry { - get { - if case .fortSearch(let v)? = action {return v} - return FortSearchLogEntry() - } - set {action = .fortSearch(newValue)} - } + public var submissionType: ARDKPlayerSubmissionTypeProto = .typeUnspecified - public var buddyPokemon: BuddyPokemonLogEntry { - get { - if case .buddyPokemon(let v)? = action {return v} - return BuddyPokemonLogEntry() - } - set {action = .buddyPokemon(newValue)} - } + public var submissionID: String = String() - public var raidRewards: RaidRewardsLogEntry { - get { - if case .raidRewards(let v)? = action {return v} - return RaidRewardsLogEntry() - } - set {action = .raidRewards(newValue)} - } - - public var passcodeRewards: PasscodeRewardsLogEntry { - get { - if case .passcodeRewards(let v)? = action {return v} - return PasscodeRewardsLogEntry() - } - set {action = .passcodeRewards(newValue)} - } - - public var completeQuest: CompleteQuestLogEntry { - get { - if case .completeQuest(let v)? = action {return v} - return CompleteQuestLogEntry() - } - set {action = .completeQuest(newValue)} - } - - public var completeQuestStampCard: CompleteQuestStampCardLogEntry { - get { - if case .completeQuestStampCard(let v)? = action {return v} - return CompleteQuestStampCardLogEntry() - } - set {action = .completeQuestStampCard(newValue)} - } - - public var completeQuestPokemonEncounter: CompleteQuestPokemonEncounterLogEntry { - get { - if case .completeQuestPokemonEncounter(let v)? = action {return v} - return CompleteQuestPokemonEncounterLogEntry() - } - set {action = .completeQuestPokemonEncounter(newValue)} - } - - public var belugaTransfer: BelugaDailyTransferLogEntry { - get { - if case .belugaTransfer(let v)? = action {return v} - return BelugaDailyTransferLogEntry() - } - set {action = .belugaTransfer(newValue)} - } - - public var openGift: OpenGiftLogEntry { - get { - if case .openGift(let v)? = action {return v} - return OpenGiftLogEntry() - } - set {action = .openGift(newValue)} - } - - public var sendGift: SendGiftLogEntry { - get { - if case .sendGift(let v)? = action {return v} - return SendGiftLogEntry() - } - set {action = .sendGift(newValue)} - } - - public var trading: TradingLogEntry { - get { - if case .trading(let v)? = action {return v} - return TradingLogEntry() - } - set {action = .trading(newValue)} - } - - public var shareExRaidPass: ShareExRaidPassLogEntry { - get { - if case .shareExRaidPass(let v)? = action {return v} - return ShareExRaidPassLogEntry() - } - set {action = .shareExRaidPass(newValue)} - } - - public var declineExRaidPass: DeclineExRaidPassLogEntry { - get { - if case .declineExRaidPass(let v)? = action {return v} - return DeclineExRaidPassLogEntry() - } - set {action = .declineExRaidPass(newValue)} - } - - public var fitnessRewards: FitnessRewardsLogEntry { - get { - if case .fitnessRewards(let v)? = action {return v} - return FitnessRewardsLogEntry() - } - set {action = .fitnessRewards(newValue)} - } - - public var combat: CombatLogEntry { - get { - if case .combat(let v)? = action {return v} - return CombatLogEntry() - } - set {action = .combat(newValue)} - } - - public var purifyPokemon: PurifyPokemonLogEntry { - get { - if case .purifyPokemon(let v)? = action {return v} - return PurifyPokemonLogEntry() - } - set {action = .purifyPokemon(newValue)} - } - - public var invasionVictory: InvasionVictoryLogEntry { - get { - if case .invasionVictory(let v)? = action {return v} - return InvasionVictoryLogEntry() - } - set {action = .invasionVictory(newValue)} - } - - public var vsSeekerSet: VsSeekerSetLogEntry { - get { - if case .vsSeekerSet(let v)? = action {return v} - return VsSeekerSetLogEntry() - } - set {action = .vsSeekerSet(newValue)} - } - - public var vsSeekerCompleteSeason: VsSeekerCompleteSeasonLogEntry { - get { - if case .vsSeekerCompleteSeason(let v)? = action {return v} - return VsSeekerCompleteSeasonLogEntry() - } - set {action = .vsSeekerCompleteSeason(newValue)} - } - - public var vsSeekerWinRewards: VsSeekerWinRewardsLogEntry { - get { - if case .vsSeekerWinRewards(let v)? = action {return v} - return VsSeekerWinRewardsLogEntry() - } - set {action = .vsSeekerWinRewards(newValue)} - } - - public var buddyConsumables: BuddyConsumablesLogEntry { - get { - if case .buddyConsumables(let v)? = action {return v} - return BuddyConsumablesLogEntry() - } - set {action = .buddyConsumables(newValue)} - } - - public var completeReferralMilestone: CompleteReferralMilestoneLogEntry { - get { - if case .completeReferralMilestone(let v)? = action {return v} - return CompleteReferralMilestoneLogEntry() - } - set {action = .completeReferralMilestone(newValue)} - } - - public var dailyAdventureIncense: DailyAdventureIncenseLogEntry { - get { - if case .dailyAdventureIncense(let v)? = action {return v} - return DailyAdventureIncenseLogEntry() - } - set {action = .dailyAdventureIncense(newValue)} - } - - public var completeRoutePlay: CompleteRoutePlayLogEntry { - get { - if case .completeRoutePlay(let v)? = action {return v} - return CompleteRoutePlayLogEntry() - } - set {action = .completeRoutePlay(newValue)} - } - - public var butterflyCollectorRewards: ButterflyCollectorRewardsLogEntry { - get { - if case .butterflyCollectorRewards(let v)? = action {return v} - return ButterflyCollectorRewardsLogEntry() - } - set {action = .butterflyCollectorRewards(newValue)} - } - - public var webstoreRewards: WebstoreRewardsLogEntry { - get { - if case .webstoreRewards(let v)? = action {return v} - return WebstoreRewardsLogEntry() - } - set {action = .webstoreRewards(newValue)} - } - - public var timestampMs: Int64 = 0 - - public var sfida: Bool = false + public var imageContexts: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Action: Equatable { - case catchPokemon(CatchPokemonLogEntry) - case fortSearch(FortSearchLogEntry) - case buddyPokemon(BuddyPokemonLogEntry) - case raidRewards(RaidRewardsLogEntry) - case passcodeRewards(PasscodeRewardsLogEntry) - case completeQuest(CompleteQuestLogEntry) - case completeQuestStampCard(CompleteQuestStampCardLogEntry) - case completeQuestPokemonEncounter(CompleteQuestPokemonEncounterLogEntry) - case belugaTransfer(BelugaDailyTransferLogEntry) - case openGift(OpenGiftLogEntry) - case sendGift(SendGiftLogEntry) - case trading(TradingLogEntry) - case shareExRaidPass(ShareExRaidPassLogEntry) - case declineExRaidPass(DeclineExRaidPassLogEntry) - case fitnessRewards(FitnessRewardsLogEntry) - case combat(CombatLogEntry) - case purifyPokemon(PurifyPokemonLogEntry) - case invasionVictory(InvasionVictoryLogEntry) - case vsSeekerSet(VsSeekerSetLogEntry) - case vsSeekerCompleteSeason(VsSeekerCompleteSeasonLogEntry) - case vsSeekerWinRewards(VsSeekerWinRewardsLogEntry) - case buddyConsumables(BuddyConsumablesLogEntry) - case completeReferralMilestone(CompleteReferralMilestoneLogEntry) - case dailyAdventureIncense(DailyAdventureIncenseLogEntry) - case completeRoutePlay(CompleteRoutePlayLogEntry) - case butterflyCollectorRewards(ButterflyCollectorRewardsLogEntry) - case webstoreRewards(WebstoreRewardsLogEntry) - - #if !swift(>=4.1) - public static func ==(lhs: ActionLogEntry.OneOf_Action, rhs: ActionLogEntry.OneOf_Action) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.catchPokemon, .catchPokemon): return { - guard case .catchPokemon(let l) = lhs, case .catchPokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.fortSearch, .fortSearch): return { - guard case .fortSearch(let l) = lhs, case .fortSearch(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.buddyPokemon, .buddyPokemon): return { - guard case .buddyPokemon(let l) = lhs, case .buddyPokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidRewards, .raidRewards): return { - guard case .raidRewards(let l) = lhs, case .raidRewards(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.passcodeRewards, .passcodeRewards): return { - guard case .passcodeRewards(let l) = lhs, case .passcodeRewards(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.completeQuest, .completeQuest): return { - guard case .completeQuest(let l) = lhs, case .completeQuest(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.completeQuestStampCard, .completeQuestStampCard): return { - guard case .completeQuestStampCard(let l) = lhs, case .completeQuestStampCard(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.completeQuestPokemonEncounter, .completeQuestPokemonEncounter): return { - guard case .completeQuestPokemonEncounter(let l) = lhs, case .completeQuestPokemonEncounter(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.belugaTransfer, .belugaTransfer): return { - guard case .belugaTransfer(let l) = lhs, case .belugaTransfer(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.openGift, .openGift): return { - guard case .openGift(let l) = lhs, case .openGift(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.sendGift, .sendGift): return { - guard case .sendGift(let l) = lhs, case .sendGift(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.trading, .trading): return { - guard case .trading(let l) = lhs, case .trading(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.shareExRaidPass, .shareExRaidPass): return { - guard case .shareExRaidPass(let l) = lhs, case .shareExRaidPass(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.declineExRaidPass, .declineExRaidPass): return { - guard case .declineExRaidPass(let l) = lhs, case .declineExRaidPass(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.fitnessRewards, .fitnessRewards): return { - guard case .fitnessRewards(let l) = lhs, case .fitnessRewards(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combat, .combat): return { - guard case .combat(let l) = lhs, case .combat(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.purifyPokemon, .purifyPokemon): return { - guard case .purifyPokemon(let l) = lhs, case .purifyPokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.invasionVictory, .invasionVictory): return { - guard case .invasionVictory(let l) = lhs, case .invasionVictory(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.vsSeekerSet, .vsSeekerSet): return { - guard case .vsSeekerSet(let l) = lhs, case .vsSeekerSet(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.vsSeekerCompleteSeason, .vsSeekerCompleteSeason): return { - guard case .vsSeekerCompleteSeason(let l) = lhs, case .vsSeekerCompleteSeason(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.vsSeekerWinRewards, .vsSeekerWinRewards): return { - guard case .vsSeekerWinRewards(let l) = lhs, case .vsSeekerWinRewards(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.buddyConsumables, .buddyConsumables): return { - guard case .buddyConsumables(let l) = lhs, case .buddyConsumables(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.completeReferralMilestone, .completeReferralMilestone): return { - guard case .completeReferralMilestone(let l) = lhs, case .completeReferralMilestone(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.dailyAdventureIncense, .dailyAdventureIncense): return { - guard case .dailyAdventureIncense(let l) = lhs, case .dailyAdventureIncense(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.completeRoutePlay, .completeRoutePlay): return { - guard case .completeRoutePlay(let l) = lhs, case .completeRoutePlay(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.butterflyCollectorRewards, .butterflyCollectorRewards): return { - guard case .butterflyCollectorRewards(let l) = lhs, case .butterflyCollectorRewards(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.webstoreRewards, .webstoreRewards): return { - guard case .webstoreRewards(let l) = lhs, case .webstoreRewards(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - public init() {} } -public struct ActivateVsSeekerOutProto { +public struct ARDKGrapeshotAuthenticationDataProto { // 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. - public var result: ActivateVsSeekerOutProto.Result = .unset + public var authorization: String = String() - public var vsSeeker: VsSeekerAttributesProto { - get {return _vsSeeker ?? VsSeekerAttributesProto()} - set {_vsSeeker = newValue} - } - /// Returns true if `vsSeeker` has been explicitly set. - public var hasVsSeeker: Bool {return self._vsSeeker != nil} - /// Clears the value of `vsSeeker`. Subsequent reads from it will return its default value. - public mutating func clearVsSeeker() {self._vsSeeker = nil} + public var date: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case successActivated // = 1 - case errorNoPremiumBattlePass // = 2 - case errorVsSeekerNotCharged // = 3 - case errorVsSeekerAlreadyActivated // = 4 - case errorExceededLimit // = 5 - case errorTemporarilyUnavailable // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .successActivated - case 2: self = .errorNoPremiumBattlePass - case 3: self = .errorVsSeekerNotCharged - case 4: self = .errorVsSeekerAlreadyActivated - case 5: self = .errorExceededLimit - case 6: self = .errorTemporarilyUnavailable - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .successActivated: return 1 - case .errorNoPremiumBattlePass: return 2 - case .errorVsSeekerNotCharged: return 3 - case .errorVsSeekerAlreadyActivated: return 4 - case .errorExceededLimit: return 5 - case .errorTemporarilyUnavailable: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - public init() {} - - fileprivate var _vsSeeker: VsSeekerAttributesProto? = nil } -#if swift(>=4.2) - -extension ActivateVsSeekerOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ActivateVsSeekerOutProto.Result] = [ - .unset, - .successActivated, - .errorNoPremiumBattlePass, - .errorVsSeekerNotCharged, - .errorVsSeekerAlreadyActivated, - .errorExceededLimit, - .errorTemporarilyUnavailable, - ] -} - -#endif // swift(>=4.2) - -public struct ActivateVsSeekerProto { +public struct ARDKGrapeshotChunkDataProto { // 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. - public var rewardTrack: VsSeekerRewardTrack = .free - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ActivityPostcardData { - // 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. + public var chunkFilePath: String = String() - public var senderPublicProfile: PlayerPublicProfileProto { - get {return _storage._senderPublicProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._senderPublicProfile = newValue} - } - /// Returns true if `senderPublicProfile` has been explicitly set. - public var hasSenderPublicProfile: Bool {return _storage._senderPublicProfile != nil} - /// Clears the value of `senderPublicProfile`. Subsequent reads from it will return its default value. - public mutating func clearSenderPublicProfile() {_uniqueStorage()._senderPublicProfile = nil} + public var chunkNumber: UInt32 = 0 - public var senderBuddyData: ActivityPostcardData.BuddyData { - get {return _storage._senderBuddyData ?? ActivityPostcardData.BuddyData()} - set {_uniqueStorage()._senderBuddyData = newValue} + public var uploadAuthentication: ARDKGrapeshotAuthenticationDataProto { + get {return _uploadAuthentication ?? ARDKGrapeshotAuthenticationDataProto()} + set {_uploadAuthentication = newValue} } - /// Returns true if `senderBuddyData` has been explicitly set. - public var hasSenderBuddyData: Bool {return _storage._senderBuddyData != nil} - /// Clears the value of `senderBuddyData`. Subsequent reads from it will return its default value. - public mutating func clearSenderBuddyData() {_uniqueStorage()._senderBuddyData = nil} + /// Returns true if `uploadAuthentication` has been explicitly set. + public var hasUploadAuthentication: Bool {return self._uploadAuthentication != nil} + /// Clears the value of `uploadAuthentication`. Subsequent reads from it will return its default value. + public mutating func clearUploadAuthentication() {self._uploadAuthentication = nil} - public var senderFortData: ActivityPostcardData.FortData { - get {return _storage._senderFortData ?? ActivityPostcardData.FortData()} - set {_uniqueStorage()._senderFortData = newValue} + public var deleteAuthentication: ARDKGrapeshotAuthenticationDataProto { + get {return _deleteAuthentication ?? ARDKGrapeshotAuthenticationDataProto()} + set {_deleteAuthentication = newValue} } - /// Returns true if `senderFortData` has been explicitly set. - public var hasSenderFortData: Bool {return _storage._senderFortData != nil} - /// Clears the value of `senderFortData`. Subsequent reads from it will return its default value. - public mutating func clearSenderFortData() {_uniqueStorage()._senderFortData = nil} + /// Returns true if `deleteAuthentication` has been explicitly set. + public var hasDeleteAuthentication: Bool {return self._deleteAuthentication != nil} + /// Clears the value of `deleteAuthentication`. Subsequent reads from it will return its default value. + public mutating func clearDeleteAuthentication() {self._deleteAuthentication = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct BuddyData { - // 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. - - public var pokemonID: HoloPokemonId = .missingno - - public var buddyDisplay: PokemonDisplayProto { - get {return _buddyDisplay ?? PokemonDisplayProto()} - set {_buddyDisplay = newValue} - } - /// Returns true if `buddyDisplay` has been explicitly set. - public var hasBuddyDisplay: Bool {return self._buddyDisplay != nil} - /// Clears the value of `buddyDisplay`. Subsequent reads from it will return its default value. - public mutating func clearBuddyDisplay() {self._buddyDisplay = nil} - - public var nickname: String = String() + public init() {} - public var buddyCandyAwarded: Int32 = 0 + fileprivate var _uploadAuthentication: ARDKGrapeshotAuthenticationDataProto? = nil + fileprivate var _deleteAuthentication: ARDKGrapeshotAuthenticationDataProto? = nil +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +public struct ARDKGrapeshotComposeDataProto { + // 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. - public init() {} + public var targetFilePath: String = String() - fileprivate var _buddyDisplay: PokemonDisplayProto? = nil + public var authentication: ARDKGrapeshotAuthenticationDataProto { + get {return _authentication ?? ARDKGrapeshotAuthenticationDataProto()} + set {_authentication = newValue} } + /// Returns true if `authentication` has been explicitly set. + public var hasAuthentication: Bool {return self._authentication != nil} + /// Clears the value of `authentication`. Subsequent reads from it will return its default value. + public mutating func clearAuthentication() {self._authentication = nil} - public struct FortData { - // 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. - - public var id: String = String() - - public var name: String = String() - - public var description_p: String = String() - - public var imageURL: String = String() - - public var latDegrees: Double = 0 - - public var lngDegrees: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var hash: String = String() - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _storage = _StorageClass.defaultInstance + fileprivate var _authentication: ARDKGrapeshotAuthenticationDataProto? = nil } -public struct ActivityReportProto { +public struct ARDKGrapeshotUploadingDataProto { // 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. - public var numFriends: Int32 = 0 - - public var numFriendsRemoved: Int32 = 0 - - public var numFriendsMadeInThisPeriod: Int32 = 0 + public var chunkData: [ARDKGrapeshotChunkDataProto] = [] - public var numFriendsRemovedInThisPeriod: Int32 = 0 - - public var longestFriend: ActivityReportProto.FriendProto { - get {return _longestFriend ?? ActivityReportProto.FriendProto()} - set {_longestFriend = newValue} + public var composeData: ARDKGrapeshotComposeDataProto { + get {return _composeData ?? ARDKGrapeshotComposeDataProto()} + set {_composeData = newValue} } - /// Returns true if `longestFriend` has been explicitly set. - public var hasLongestFriend: Bool {return self._longestFriend != nil} - /// Clears the value of `longestFriend`. Subsequent reads from it will return its default value. - public mutating func clearLongestFriend() {self._longestFriend = nil} - - public var recentFriends: [ActivityReportProto.FriendProto] = [] - - public var mostWalkKmFriends: [ActivityReportProto.FriendProto] = [] + /// Returns true if `composeData` has been explicitly set. + public var hasComposeData: Bool {return self._composeData != nil} + /// Clears the value of `composeData`. Subsequent reads from it will return its default value. + public mutating func clearComposeData() {self._composeData = nil} - public var walkKm: Double = 0 + public var gcsBucket: String = String() - /// SocialV2Enum.SocialAward social_award = 10; - public var walkKmPercentileAgainstFriends: Double = 0 + public var numberOfChunks: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct FriendProto { - // 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. - - public var niaAccountID: String = String() - - public var walkKm: Double = 0 - - public var friendshipCreationTimestampMs: Int64 = 0 - - public var friendshipCreationDays: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} - fileprivate var _longestFriend: ActivityReportProto.FriendProto? = nil + fileprivate var _composeData: ARDKGrapeshotComposeDataProto? = nil } -public struct AdDetails { +public struct ARDKLocationE6Proto { // 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. - public var imageTextCreative: ImageTextCreativeProto { - get {return _imageTextCreative ?? ImageTextCreativeProto()} - set {_imageTextCreative = newValue} - } - /// Returns true if `imageTextCreative` has been explicitly set. - public var hasImageTextCreative: Bool {return self._imageTextCreative != nil} - /// Clears the value of `imageTextCreative`. Subsequent reads from it will return its default value. - public mutating func clearImageTextCreative() {self._imageTextCreative = nil} - - public var encryptedAdToken: Data = Data() - - public var impressionTrackingTag: [ImpressionTrackingTag] = [] + public var latitudeE6: Int32 = 0 - public var gamDetails: GamDetails { - get {return _gamDetails ?? GamDetails()} - set {_gamDetails = newValue} - } - /// Returns true if `gamDetails` has been explicitly set. - public var hasGamDetails: Bool {return self._gamDetails != nil} - /// Clears the value of `gamDetails`. Subsequent reads from it will return its default value. - public mutating func clearGamDetails() {self._gamDetails = nil} + public var longitudeE6: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _imageTextCreative: ImageTextCreativeProto? = nil - fileprivate var _gamDetails: GamDetails? = nil } -public struct AdFeedbackSettingsProto { +public struct ARDKLocationProto { // 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. - public var enabled: Bool = false - - public var enableReportAd: Bool = false + public var timestamp: Double = 0 - public var enableNotInterested: Bool = false + public var latitude: Double = 0 - public var enableSeeMore: Bool = false + public var longitude: Double = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var accuracy: Float = 0 - public init() {} -} + public var elevationMeters: Float = 0 -public struct AdProto { - // 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. + public var elevationAccuracy: Float = 0 - public var adDetails: AdDetails { - get {return _adDetails ?? AdDetails()} - set {_adDetails = newValue} - } - /// Returns true if `adDetails` has been explicitly set. - public var hasAdDetails: Bool {return self._adDetails != nil} - /// Clears the value of `adDetails`. Subsequent reads from it will return its default value. - public mutating func clearAdDetails() {self._adDetails = nil} + public var headingDegrees: Float = 0 - public var adResponseStatus: AdResponseStatus = .wasabiAdFound + public var headingAccuracy: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _adDetails: AdDetails? = nil } -public struct AdRequestDeviceInfo { +public struct ARDKPlayerSubmissionResponseProto { // 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. - public var operatingSystem: AdRequestDeviceInfo.OperatingSystem = .platformUnknown - - public var deviceModel: String = String() - - public var carrier: String = String() - - public var operatingSystemVersion: String = String() - - public var systemMemorySizeMb: Int32 = 0 + public var status: ARDKPlayerSubmissionResponseProto.Status = .unspecified - public var graphicsMemorySizeMb: Int32 = 0 + public var submissionID: String = String() - public var cameraPermissionGranted: Bool = false + public var messages: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OperatingSystem: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case platformUnknown // = 0 - case platformAndroid // = 1 - case platformIos // = 2 + case unspecified // = 0 + case success // = 1 + case internalError // = 2 + case tooManyRecentSubmissions // = 3 + case minor // = 4 + case notAvailable // = 5 + case invalidInput // = 6 + case missingImage // = 7 + case distanceValidationFailed // = 8 case UNRECOGNIZED(Int) public init() { - self = .platformUnknown + self = .unspecified } public init?(rawValue: Int) { switch rawValue { - case 0: self = .platformUnknown - case 1: self = .platformAndroid - case 2: self = .platformIos + case 0: self = .unspecified + case 1: self = .success + case 2: self = .internalError + case 3: self = .tooManyRecentSubmissions + case 4: self = .minor + case 5: self = .notAvailable + case 6: self = .invalidInput + case 7: self = .missingImage + case 8: self = .distanceValidationFailed default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .platformUnknown: return 0 - case .platformAndroid: return 1 - case .platformIos: return 2 + case .unspecified: return 0 + case .success: return 1 + case .internalError: return 2 + case .tooManyRecentSubmissions: return 3 + case .minor: return 4 + case .notAvailable: return 5 + case .invalidInput: return 6 + case .missingImage: return 7 + case .distanceValidationFailed: return 8 case .UNRECOGNIZED(let i): return i } } @@ -25299,68 +27050,110 @@ public struct AdRequestDeviceInfo { #if swift(>=4.2) -extension AdRequestDeviceInfo.OperatingSystem: CaseIterable { +extension ARDKPlayerSubmissionResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AdRequestDeviceInfo.OperatingSystem] = [ - .platformUnknown, - .platformAndroid, - .platformIos, + public static var allCases: [ARDKPlayerSubmissionResponseProto.Status] = [ + .unspecified, + .success, + .internalError, + .tooManyRecentSubmissions, + .minor, + .notAvailable, + .invalidInput, + .missingImage, + .distanceValidationFailed, ] } #endif // swift(>=4.2) -public struct AdTargetingInfoProto { +public struct ARDKPoiVideoSubmissionMetadataProto { // 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. - public var deviceInfo: AdRequestDeviceInfo { - get {return _deviceInfo ?? AdRequestDeviceInfo()} - set {_deviceInfo = newValue} + public var poiID: String { + get {return _storage._poiID} + set {_uniqueStorage()._poiID = newValue} } - /// Returns true if `deviceInfo` has been explicitly set. - public var hasDeviceInfo: Bool {return self._deviceInfo != nil} - /// Clears the value of `deviceInfo`. Subsequent reads from it will return its default value. - public mutating func clearDeviceInfo() {self._deviceInfo = nil} - public var avatarGender: AvatarGender = .unknown + public var location: ARDKLocationE6Proto { + get {return _storage._location ?? ARDKLocationE6Proto()} + set {_uniqueStorage()._location = newValue} + } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return _storage._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {_uniqueStorage()._location = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var playerLevel: Int32 { + get {return _storage._playerLevel} + set {_uniqueStorage()._playerLevel = newValue} + } - public init() {} + public var userType: ARDKUserType { + get {return _storage._userType} + set {_uniqueStorage()._userType = newValue} + } - fileprivate var _deviceInfo: AdRequestDeviceInfo? = nil -} + public var isPrivate: Bool { + get {return _storage._isPrivate} + set {_uniqueStorage()._isPrivate = newValue} + } -public struct AddFavoriteFriendRequest { - // 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. + public var geographicCoverage: String { + get {return _storage._geographicCoverage} + set {_uniqueStorage()._geographicCoverage = newValue} + } - public var friendID: String = String() + public var builtForm: [String] { + get {return _storage._builtForm} + set {_uniqueStorage()._builtForm = newValue} + } - public var friendNiaAccountID: String = String() + public var scanTags: [ARDKScanTag] { + get {return _storage._scanTags} + set {_uniqueStorage()._scanTags = newValue} + } + + public var developerID: String { + get {return _storage._developerID} + set {_uniqueStorage()._developerID = newValue} + } + + public var arCommonMetadata: ARDKARCommonMetadata { + get {return _storage._arCommonMetadata ?? ARDKARCommonMetadata()} + set {_uniqueStorage()._arCommonMetadata = newValue} + } + /// Returns true if `arCommonMetadata` has been explicitly set. + public var hasArCommonMetadata: Bool {return _storage._arCommonMetadata != nil} + /// Clears the value of `arCommonMetadata`. Subsequent reads from it will return its default value. + public mutating func clearArCommonMetadata() {_uniqueStorage()._arCommonMetadata = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct AddFavoriteFriendResponse { +public struct ARDKPortalCurationImageResult { // 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. - public var result: AddFavoriteFriendResponse.Result = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case error // = 2 + case featureDisabled // = 2 + case alreadyUploaded // = 3 + case imageNotFound // = 4 + case imageTooBig // = 5 + case imageNotServable // = 6 + case portalNotFound // = 7 case UNRECOGNIZED(Int) public init() { @@ -25371,7 +27164,12 @@ public struct AddFavoriteFriendResponse { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .error + case 2: self = .featureDisabled + case 3: self = .alreadyUploaded + case 4: self = .imageNotFound + case 5: self = .imageTooBig + case 6: self = .imageNotServable + case 7: self = .portalNotFound default: self = .UNRECOGNIZED(rawValue) } } @@ -25380,7 +27178,12 @@ public struct AddFavoriteFriendResponse { switch self { case .unset: return 0 case .success: return 1 - case .error: return 2 + case .featureDisabled: return 2 + case .alreadyUploaded: return 3 + case .imageNotFound: return 4 + case .imageTooBig: return 5 + case .imageNotServable: return 6 + case .portalNotFound: return 7 case .UNRECOGNIZED(let i): return i } } @@ -25392,145 +27195,156 @@ public struct AddFavoriteFriendResponse { #if swift(>=4.2) -extension AddFavoriteFriendResponse.Result: CaseIterable { +extension ARDKPortalCurationImageResult.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AddFavoriteFriendResponse.Result] = [ + public static var allCases: [ARDKPortalCurationImageResult.Result] = [ .unset, .success, - .error, + .featureDisabled, + .alreadyUploaded, + .imageNotFound, + .imageTooBig, + .imageNotServable, + .portalNotFound, ] } #endif // swift(>=4.2) -public struct AddFortModifierOutProto { +public struct ARDKRasterSizeProto { // 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. - public var result: AddFortModifierOutProto.Result = .noResultSet + public var width: Int32 = 0 - public var fortDetailsOutProto: FortDetailsOutProto { - get {return _fortDetailsOutProto ?? FortDetailsOutProto()} - set {_fortDetailsOutProto = newValue} - } - /// Returns true if `fortDetailsOutProto` has been explicitly set. - public var hasFortDetailsOutProto: Bool {return self._fortDetailsOutProto != nil} - /// Clears the value of `fortDetailsOutProto`. Subsequent reads from it will return its default value. - public mutating func clearFortDetailsOutProto() {self._fortDetailsOutProto = nil} + public var height: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noResultSet // = 0 - case success // = 1 - case fortAlreadyHasModifier // = 2 - case tooFarAway // = 3 - case noItemInInventory // = 4 - case poiInaccessible // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .noResultSet - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noResultSet - case 1: self = .success - case 2: self = .fortAlreadyHasModifier - case 3: self = .tooFarAway - case 4: self = .noItemInInventory - case 5: self = .poiInaccessible - default: self = .UNRECOGNIZED(rawValue) - } - } + public init() {} +} - public var rawValue: Int { - switch self { - case .noResultSet: return 0 - case .success: return 1 - case .fortAlreadyHasModifier: return 2 - case .tooFarAway: return 3 - case .noItemInInventory: return 4 - case .poiInaccessible: return 5 - case .UNRECOGNIZED(let i): return i - } - } +public struct ARDKScanMetadataProto { + // 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. + public var id: String { + get {return _storage._id} + set {_uniqueStorage()._id = newValue} } - public init() {} + public var imageSize: ARDKRasterSizeProto { + get {return _storage._imageSize ?? ARDKRasterSizeProto()} + set {_uniqueStorage()._imageSize = newValue} + } + /// Returns true if `imageSize` has been explicitly set. + public var hasImageSize: Bool {return _storage._imageSize != nil} + /// Clears the value of `imageSize`. Subsequent reads from it will return its default value. + public mutating func clearImageSize() {_uniqueStorage()._imageSize = nil} - fileprivate var _fortDetailsOutProto: FortDetailsOutProto? = nil -} + public var depthSize: ARDKRasterSizeProto { + get {return _storage._depthSize ?? ARDKRasterSizeProto()} + set {_uniqueStorage()._depthSize = newValue} + } + /// Returns true if `depthSize` has been explicitly set. + public var hasDepthSize: Bool {return _storage._depthSize != nil} + /// Clears the value of `depthSize`. Subsequent reads from it will return its default value. + public mutating func clearDepthSize() {_uniqueStorage()._depthSize = nil} -#if swift(>=4.2) + public var startTimestamp: Double { + get {return _storage._startTimestamp} + set {_uniqueStorage()._startTimestamp = newValue} + } -extension AddFortModifierOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AddFortModifierOutProto.Result] = [ - .noResultSet, - .success, - .fortAlreadyHasModifier, - .tooFarAway, - .noItemInInventory, - .poiInaccessible, - ] -} + public var appName: String { + get {return _storage._appName} + set {_uniqueStorage()._appName = newValue} + } -#endif // swift(>=4.2) + public var platformName: String { + get {return _storage._platformName} + set {_uniqueStorage()._platformName = newValue} + } -public struct AddFortModifierProto { - // 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. + public var modelName: String { + get {return _storage._modelName} + set {_uniqueStorage()._modelName = newValue} + } - public var modifierType: Item = .unknown + public var manufacturerName: String { + get {return _storage._manufacturerName} + set {_uniqueStorage()._manufacturerName = newValue} + } - public var fortID: String = String() + public var poi: String { + get {return _storage._poi} + set {_uniqueStorage()._poi = newValue} + } - public var playerLatDegrees: Double = 0 + public var recorder: String { + get {return _storage._recorder} + set {_uniqueStorage()._recorder = newValue} + } - public var playerLngDegrees: Double = 0 + public var userJson: String { + get {return _storage._userJson} + set {_uniqueStorage()._userJson = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var nativeDepth: Bool { + get {return _storage._nativeDepth} + set {_uniqueStorage()._nativeDepth = newValue} + } - public init() {} -} + public var origin: [Float] { + get {return _storage._origin} + set {_uniqueStorage()._origin = newValue} + } -public struct AddFriendQuestProto { - // 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. + public var globalRotation: [Float] { + get {return _storage._globalRotation} + set {_uniqueStorage()._globalRotation = newValue} + } - public var addedFriendIds: [String] = [] + public var timezoneOffset: Int32 { + get {return _storage._timezoneOffset} + set {_uniqueStorage()._timezoneOffset = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct AddLoginActionOutProto { +public struct ARDKSubmitNewPoiOutProto { // 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. - public var success: Bool = false + public var status: ARDKSubmitNewPoiOutProto.Status = .unset - public var loginDetail: [LoginDetail] = [] + public var submissionID: String = String() - public var status: AddLoginActionOutProto.Status = .unset + public var messages: [String] = [] + + public var poiID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case authFailure // = 1 - case loginTaken // = 2 - case errorUnknown // = 3 + case success // = 1 + case failure // = 2 + case internalError // = 3 + case tooManyRecentSubmissions // = 4 + case invalidInput // = 5 + case minor // = 6 + case notAvailable // = 7 case UNRECOGNIZED(Int) public init() { @@ -25540,9 +27354,13 @@ public struct AddLoginActionOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .authFailure - case 2: self = .loginTaken - case 3: self = .errorUnknown + case 1: self = .success + case 2: self = .failure + case 3: self = .internalError + case 4: self = .tooManyRecentSubmissions + case 5: self = .invalidInput + case 6: self = .minor + case 7: self = .notAvailable default: self = .UNRECOGNIZED(rawValue) } } @@ -25550,9 +27368,13 @@ public struct AddLoginActionOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .authFailure: return 1 - case .loginTaken: return 2 - case .errorUnknown: return 3 + case .success: return 1 + case .failure: return 2 + case .internalError: return 3 + case .tooManyRecentSubmissions: return 4 + case .invalidInput: return 5 + case .minor: return 6 + case .notAvailable: return 7 case .UNRECOGNIZED(let i): return i } } @@ -25564,317 +27386,453 @@ public struct AddLoginActionOutProto { #if swift(>=4.2) -extension AddLoginActionOutProto.Status: CaseIterable { +extension ARDKSubmitNewPoiOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AddLoginActionOutProto.Status] = [ + public static var allCases: [ARDKSubmitNewPoiOutProto.Status] = [ .unset, - .authFailure, - .loginTaken, - .errorUnknown, + .success, + .failure, + .internalError, + .tooManyRecentSubmissions, + .invalidInput, + .minor, + .notAvailable, ] } #endif // swift(>=4.2) -public struct AddLoginActionProto { +public struct ARDKSubmitNewPoiProto { // 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. - public var identityProvider: IdentityProvider = .unsetIdentityProvider + public var title: String = String() - public var innerMessage: Data = Data() + public var longDescription: String = String() - public var authProviderID: String = String() + public var latE6: Int32 = 0 + + public var lngE6: Int32 = 0 + + public var supportingStatement: String = String() + + public var asyncFileUpload: Bool = false + + public var playerSubmittedCategoryIds: [String] = [] + + public var categorySuggestion: String = String() + + public var nominationType: ARDKNominationType = .regular + + public var developerID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AddReferrerOutProto { +public struct ARDKSubmitPoiCategoryVoteRecordProto { // 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. - public var status: AddReferrerOutProto.Status = .unset + public var poiID: String = String() + + public var playerSubmittedCategoryIds: [String] = [] + + public var categorySuggestion: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorDisabled // = 2 - case errorInvalidReferralCode // = 3 - case errorAlreadyAdded // = 4 - case errorPassedGracePeriod // = 5 - case errorAlreadySkippedEnteringReferralCode // = 6 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .unset - } +public struct ARDKSubmitPoiImageProto { + // 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. - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorDisabled - case 3: self = .errorInvalidReferralCode - case 4: self = .errorAlreadyAdded - case 5: self = .errorPassedGracePeriod - case 6: self = .errorAlreadySkippedEnteringReferralCode - default: self = .UNRECOGNIZED(rawValue) - } - } + public var poiID: String = String() - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorDisabled: return 2 - case .errorInvalidReferralCode: return 3 - case .errorAlreadyAdded: return 4 - case .errorPassedGracePeriod: return 5 - case .errorAlreadySkippedEnteringReferralCode: return 6 - case .UNRECOGNIZED(let i): return i - } - } + public var asyncFileUpload: Bool = false - } + public var developerID: String = String() + + public var nominationType: ARDKNominationType = .regular + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) +public struct ARDKSubmitPoiLocationUpdateProto { + // 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. -extension AddReferrerOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AddReferrerOutProto.Status] = [ - .unset, - .success, - .errorDisabled, - .errorInvalidReferralCode, - .errorAlreadyAdded, - .errorPassedGracePeriod, - .errorAlreadySkippedEnteringReferralCode, - ] -} + public var poiID: String = String() -#endif // swift(>=4.2) + public var location: ARDKLocationE6Proto { + get {return _location ?? ARDKLocationE6Proto()} + set {_location = newValue} + } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return self._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {self._location = nil} -public struct AddReferrerProto { + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _location: ARDKLocationE6Proto? = nil +} + +public struct ARDKSubmitPoiTakedownRequestProto { // 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. - public var referrerCode: String = String() + public var poiID: String = String() + + public var invalidReason: ARDKPoiInvalidReason = .invalidReasonUnspecified public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AddressBookImportSettingsProto { +public struct ARDKSubmitPoiTextMetadataUpdateProto { // 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. - public var isEnabled: Bool = false - - public var onboardingScreenLevel: Int32 = 0 + public var poiID: String = String() - public var showOptOutCheckbox: Bool = false + public var title: String = String() - public var repromptOnboardingForV1: Bool = false + public var description_p: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AddressBookImportTelemetry { +public struct ARDKSubmitSponsorPoiLocationUpdateProto { // 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. - public var abiTelemetryID: AddressBookImportTelemetry.AddressBookImportTelemetryId = .undefined + public var poiID: String = String() + + public var location: ARDKLocationE6Proto { + get {return _location ?? ARDKLocationE6Proto()} + set {_location = newValue} + } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return self._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {self._location = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum AddressBookImportTelemetryId: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case seePgoNewPlayerOnboardingScreen // = 1 - case clickImportContactsButton // = 2 - case openAddressBookImportFromPgoOnboarding // = 3 - case dismissPgoOnboarding // = 4 + public init() {} + + fileprivate var _location: ARDKLocationE6Proto? = nil +} + +public struct ARDKSubmitSponsorPoiReportProto { + // 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. + + public var poiID: String = String() + + public var invalidReason: ARDKSponsorPoiInvalidReason = .sponsorPoiReasonUnspecified + + public var additionalDetails: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ARDKUploadPoiPhotoByUrlOutProto { + // 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. + + public var status: ARDKPortalCurationImageResult.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ARDKUploadPoiPhotoByUrlProto { + // 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. + + public var requestID: String = String() + + public var imageURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ARPlusEncounterValuesProto { + // 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. + + public var proximity: Float = 0 + + public var awareness: Float = 0 + + public var pokemonFrightened: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ASPermissionFlowTelemetry { + // 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. + + public var initialPrompt: Bool = false + + public var serviceTelemetry: [ASServiceTelemetryIds] = [] + + public var permissionTelemetry: ASPermissionTelemetryIds = .unsetPermission + + public var permissionStatusTelemetry: ASPermissionStatusTelemetryIds = .unknown + + public var success: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct AbilityEnergyMetadata { + // 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. + + public var currentEnergy: Int32 = 0 + + public var energyCost: Int32 = 0 + + public var maxEnergy: Int32 = 0 + + public var chargeRate: Dictionary = [:] + + public var disabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ChargeMultiplier: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetMultiplier // = 0 + case partySize // = 1 case UNRECOGNIZED(Int) public init() { - self = .undefined + self = .unsetMultiplier } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefined - case 1: self = .seePgoNewPlayerOnboardingScreen - case 2: self = .clickImportContactsButton - case 3: self = .openAddressBookImportFromPgoOnboarding - case 4: self = .dismissPgoOnboarding + case 0: self = .unsetMultiplier + case 1: self = .partySize default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefined: return 0 - case .seePgoNewPlayerOnboardingScreen: return 1 - case .clickImportContactsButton: return 2 - case .openAddressBookImportFromPgoOnboarding: return 3 - case .dismissPgoOnboarding: return 4 + case .unsetMultiplier: return 0 + case .partySize: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum ChargeType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case fastMove // = 1 + case chargeMove // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .fastMove + case 2: self = .chargeMove + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .fastMove: return 1 + case .chargeMove: return 2 case .UNRECOGNIZED(let i): return i } } } + public struct ChargeRateSetting { + // 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. + + public var multiplier: AbilityEnergyMetadata.ChargeMultiplier = .unsetMultiplier + + public var rate: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} } #if swift(>=4.2) -extension AddressBookImportTelemetry.AddressBookImportTelemetryId: CaseIterable { +extension AbilityEnergyMetadata.ChargeMultiplier: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AddressBookImportTelemetry.AddressBookImportTelemetryId] = [ - .undefined, - .seePgoNewPlayerOnboardingScreen, - .clickImportContactsButton, - .openAddressBookImportFromPgoOnboarding, - .dismissPgoOnboarding, + public static var allCases: [AbilityEnergyMetadata.ChargeMultiplier] = [ + .unsetMultiplier, + .partySize, + ] +} + +extension AbilityEnergyMetadata.ChargeType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AbilityEnergyMetadata.ChargeType] = [ + .unset, + .fastMove, + .chargeMove, ] } #endif // swift(>=4.2) -public struct AddressablePokemonSettings { +public struct AbilityLookupMap { // 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. - public var obAddressableInt: Int32 = 0 + public var lookupLocation: AbilityLookupMap.AbilityLookupLocation = .unsetAbilityLocation - public var pokemonID: [HoloPokemonId] = [] + public var statModifierType: StatModifierType = .unsetStatModifierType public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct AdvancedPerformanceTelemetry { - // 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. - - public var performancePresetLevel: AdvancedPerformanceTelemetry.PerformancePresetLevels { - get {return _storage._performancePresetLevel} - set {_uniqueStorage()._performancePresetLevel = newValue} - } - - public var nativeRefreshRateFps: Bool { - get {return _storage._nativeRefreshRateFps} - set {_uniqueStorage()._nativeRefreshRateFps = newValue} - } + public enum AbilityLookupLocation: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetAbilityLocation // = 0 + case trainerActivePokemonStatModifiers // = 1 + case UNRECOGNIZED(Int) - public var specialFramerate: Bool { - get {return _storage._specialFramerate} - set {_uniqueStorage()._specialFramerate = newValue} - } + public init() { + self = .unsetAbilityLocation + } - public var improvedSky: Bool { - get {return _storage._improvedSky} - set {_uniqueStorage()._improvedSky = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetAbilityLocation + case 1: self = .trainerActivePokemonStatModifiers + default: self = .UNRECOGNIZED(rawValue) + } + } - public var dynamicGyms: Bool { - get {return _storage._dynamicGyms} - set {_uniqueStorage()._dynamicGyms = newValue} - } + public var rawValue: Int { + switch self { + case .unsetAbilityLocation: return 0 + case .trainerActivePokemonStatModifiers: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public var normalMapDrawingDistance: Bool { - get {return _storage._normalMapDrawingDistance} - set {_uniqueStorage()._normalMapDrawingDistance = newValue} } - public var normalFogDistance: Bool { - get {return _storage._normalFogDistance} - set {_uniqueStorage()._normalFogDistance = newValue} - } + public init() {} +} - public var buildingsOnMap: AdvancedPerformanceTelemetry.PerformanceLevels { - get {return _storage._buildingsOnMap} - set {_uniqueStorage()._buildingsOnMap = newValue} - } +#if swift(>=4.2) - public var friendsIconsInList: Bool { - get {return _storage._friendsIconsInList} - set {_uniqueStorage()._friendsIconsInList = newValue} - } +extension AbilityLookupMap.AbilityLookupLocation: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AbilityLookupMap.AbilityLookupLocation] = [ + .unsetAbilityLocation, + .trainerActivePokemonStatModifiers, + ] +} - public var avatarsRenderTextureSizeHigh: AdvancedPerformanceTelemetry.PerformanceLevels { - get {return _storage._avatarsRenderTextureSizeHigh} - set {_uniqueStorage()._avatarsRenderTextureSizeHigh = newValue} - } +#endif // swift(>=4.2) - public var avatarsRenderTextureSizeLow: Bool { - get {return _storage._avatarsRenderTextureSizeLow} - set {_uniqueStorage()._avatarsRenderTextureSizeLow = newValue} - } +public struct AcceptCombatChallengeData { + // 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. - public var arPrompt: Bool { - get {return _storage._arPrompt} - set {_uniqueStorage()._arPrompt = newValue} - } + public var rpcID: Int32 = 0 - public var renderLevel: AdvancedPerformanceTelemetry.PerformanceLevels { - get {return _storage._renderLevel} - set {_uniqueStorage()._renderLevel = newValue} - } + public var attackingPokemonIndexes: [Int32] = [] - public var textureQuality: AdvancedPerformanceTelemetry.PerformanceLevels { - get {return _storage._textureQuality} - set {_uniqueStorage()._textureQuality = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var downloadImageRamCache: AdvancedPerformanceTelemetry.PerformanceLevels { - get {return _storage._downloadImageRamCache} - set {_uniqueStorage()._downloadImageRamCache = newValue} - } + public init() {} +} - public var mapDetails: Bool { - get {return _storage._mapDetails} - set {_uniqueStorage()._mapDetails = newValue} - } +public struct AcceptCombatChallengeOutProto { + // 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. - public var avatarDetails: Bool { - get {return _storage._avatarDetails} - set {_uniqueStorage()._avatarDetails = newValue} - } + public var result: AcceptCombatChallengeOutProto.Result = .unset - public var renderAndTexture: AdvancedPerformanceTelemetry.PerformanceLevels { - get {return _storage._renderAndTexture} - set {_uniqueStorage()._renderAndTexture = newValue} + public var challenge: CombatChallengeProto { + get {return _challenge ?? CombatChallengeProto()} + set {_challenge = newValue} } + /// Returns true if `challenge` has been explicitly set. + public var hasChallenge: Bool {return self._challenge != nil} + /// Clears the value of `challenge`. Subsequent reads from it will return its default value. + public mutating func clearChallenge() {self._challenge = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum PerformanceLevels: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case low // = 1 - case medium // = 2 - case high // = 3 + case success // = 1 + case errorInvalidChallengeState // = 2 + case errorChallengeNotFound // = 3 + case errorPokemonNotInInventory // = 4 + case errorNotEligibleLeague // = 5 + case errorPlayerBelowMinimumLevel // = 6 + case errorOpponentNotInRange // = 7 + case errorAlreadyTimedout // = 8 + case errorAlreadyCancelled // = 9 + case errorAccessDenied // = 10 case UNRECOGNIZED(Int) public init() { @@ -25884,9 +27842,16 @@ public struct AdvancedPerformanceTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .low - case 2: self = .medium - case 3: self = .high + case 1: self = .success + case 2: self = .errorInvalidChallengeState + case 3: self = .errorChallengeNotFound + case 4: self = .errorPokemonNotInInventory + case 5: self = .errorNotEligibleLeague + case 6: self = .errorPlayerBelowMinimumLevel + case 7: self = .errorOpponentNotInRange + case 8: self = .errorAlreadyTimedout + case 9: self = .errorAlreadyCancelled + case 10: self = .errorAccessDenied default: self = .UNRECOGNIZED(rawValue) } } @@ -25894,49 +27859,135 @@ public struct AdvancedPerformanceTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .low: return 1 - case .medium: return 2 - case .high: return 3 + case .success: return 1 + case .errorInvalidChallengeState: return 2 + case .errorChallengeNotFound: return 3 + case .errorPokemonNotInInventory: return 4 + case .errorNotEligibleLeague: return 5 + case .errorPlayerBelowMinimumLevel: return 6 + case .errorOpponentNotInRange: return 7 + case .errorAlreadyTimedout: return 8 + case .errorAlreadyCancelled: return 9 + case .errorAccessDenied: return 10 case .UNRECOGNIZED(let i): return i } } } - public enum PerformancePresetLevels: SwiftProtobuf.Enum { + public init() {} + + fileprivate var _challenge: CombatChallengeProto? = nil +} + +#if swift(>=4.2) + +extension AcceptCombatChallengeOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AcceptCombatChallengeOutProto.Result] = [ + .unset, + .success, + .errorInvalidChallengeState, + .errorChallengeNotFound, + .errorPokemonNotInInventory, + .errorNotEligibleLeague, + .errorPlayerBelowMinimumLevel, + .errorOpponentNotInRange, + .errorAlreadyTimedout, + .errorAlreadyCancelled, + .errorAccessDenied, + ] +} + +#endif // swift(>=4.2) + +public struct AcceptCombatChallengeProto { + // 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. + + public var challengeID: String = String() + + public var attackingPokemonID: [UInt64] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct AcceptCombatChallengeResponseData { + // 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. + + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 + + public var result: AcceptCombatChallengeOutProto.Result = .unset + + public var challenge: CombatChallengeLogProto { + get {return _challenge ?? CombatChallengeLogProto()} + set {_challenge = newValue} + } + /// Returns true if `challenge` has been explicitly set. + public var hasChallenge: Bool {return self._challenge != nil} + /// Clears the value of `challenge`. Subsequent reads from it will return its default value. + public mutating func clearChallenge() {self._challenge = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _challenge: CombatChallengeLogProto? = nil +} + +public struct AccountDeletionInitiatedTelemetry { + // 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. + + public var accountDeletionStatus: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct AcknowledgePunishmentOutProto { + // 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. + + public var result: AcknowledgePunishmentOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetPreset // = 0 - case lowPreset // = 1 - case mediumPreset // = 2 - case highPreset // = 3 - case maxPreset // = 4 - case customPreset // = 5 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 case UNRECOGNIZED(Int) public init() { - self = .unsetPreset + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetPreset - case 1: self = .lowPreset - case 2: self = .mediumPreset - case 3: self = .highPreset - case 4: self = .maxPreset - case 5: self = .customPreset + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetPreset: return 0 - case .lowPreset: return 1 - case .mediumPreset: return 2 - case .highPreset: return 3 - case .maxPreset: return 4 - case .customPreset: return 5 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 case .UNRECOGNIZED(let i): return i } } @@ -25944,8088 +27995,5895 @@ public struct AdvancedPerformanceTelemetry { } public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension AdvancedPerformanceTelemetry.PerformanceLevels: CaseIterable { +extension AcknowledgePunishmentOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AdvancedPerformanceTelemetry.PerformanceLevels] = [ + public static var allCases: [AcknowledgePunishmentOutProto.Result] = [ .unset, - .low, - .medium, - .high, - ] -} - -extension AdvancedPerformanceTelemetry.PerformancePresetLevels: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AdvancedPerformanceTelemetry.PerformancePresetLevels] = [ - .unsetPreset, - .lowPreset, - .mediumPreset, - .highPreset, - .maxPreset, - .customPreset, + .success, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct AdvancedSettingsProto { +public struct AcknowledgePunishmentProto { // 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. - public var obInt32: Int32 = 0 + public var isWarn: Bool = false + + public var isSuspended: Bool = false - public var obInt321: [Int32] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obInt322: [Int32] = [] + public init() {} +} - public var obInt323: [Int32] = [] +public struct AcknowledgeViewLatestIncenseRecapOutProto { + // 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. - public var obInt324: [Int32] = [] + public var result: AcknowledgeViewLatestIncenseRecapOutProto.Result = .unset - public var downloadAllAssetsEnabled: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obBool: Bool = false + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorRecapAlreadyAcknowledged // = 2 + case errorFeatureDisabled // = 3 + case errorNoLogToday // = 4 + case errorActiveIncense // = 5 + case UNRECOGNIZED(Int) - public var obInt325: Int32 = 0 + public init() { + self = .unset + } - public var obBool1: Bool = false + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorRecapAlreadyAcknowledged + case 3: self = .errorFeatureDisabled + case 4: self = .errorNoLogToday + case 5: self = .errorActiveIncense + default: self = .UNRECOGNIZED(rawValue) + } + } - public var obBool2: Bool = false + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorRecapAlreadyAcknowledged: return 2 + case .errorFeatureDisabled: return 3 + case .errorNoLogToday: return 4 + case .errorActiveIncense: return 5 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct AdventureSyncProgress { - // 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. +#if swift(>=4.2) - public var notificationSelector: Int32 = 0 +extension AcknowledgeViewLatestIncenseRecapOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AcknowledgeViewLatestIncenseRecapOutProto.Result] = [ + .unset, + .success, + .errorRecapAlreadyAcknowledged, + .errorFeatureDisabled, + .errorNoLogToday, + .errorActiveIncense, + ] +} - public var parameters: [String] = [] +#endif // swift(>=4.2) - public var serializedData: Data = Data() +public struct AcknowledgeViewLatestIncenseRecapProto { + // 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. public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AdventureSyncSettingsProto { +public struct AcknowledgeWarningsRequestProto { // 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. - public var fitnessServiceEnabled: Bool = false + public var warning: [PlatformWarningType] = [] - public var awarenessServiceEnabled: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var persistentBreadcrumbServiceEnabled: Bool = false + public init() {} +} - public var sensorServiceEnabled: Bool = false +public struct AcknowledgeWarningsResponseProto { + // 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. - public var persistentLocationServiceEnabled: Bool = false + public var success: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AdventureSyncV2GmtProto { +public struct ActionLogEntry { // 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. - public var featureEnabled: Bool = false + public var action: ActionLogEntry.OneOf_Action? = nil + + public var catchPokemon: CatchPokemonLogEntry { + get { + if case .catchPokemon(let v)? = action {return v} + return CatchPokemonLogEntry() + } + set {action = .catchPokemon(newValue)} + } + + public var fortSearch: FortSearchLogEntry { + get { + if case .fortSearch(let v)? = action {return v} + return FortSearchLogEntry() + } + set {action = .fortSearch(newValue)} + } + + public var buddyPokemon: BuddyPokemonLogEntry { + get { + if case .buddyPokemon(let v)? = action {return v} + return BuddyPokemonLogEntry() + } + set {action = .buddyPokemon(newValue)} + } + + public var raidRewards: RaidRewardsLogEntry { + get { + if case .raidRewards(let v)? = action {return v} + return RaidRewardsLogEntry() + } + set {action = .raidRewards(newValue)} + } + + public var passcodeRewards: PasscodeRewardsLogEntry { + get { + if case .passcodeRewards(let v)? = action {return v} + return PasscodeRewardsLogEntry() + } + set {action = .passcodeRewards(newValue)} + } + + public var completeQuest: CompleteQuestLogEntry { + get { + if case .completeQuest(let v)? = action {return v} + return CompleteQuestLogEntry() + } + set {action = .completeQuest(newValue)} + } + + public var completeQuestStampCard: CompleteQuestStampCardLogEntry { + get { + if case .completeQuestStampCard(let v)? = action {return v} + return CompleteQuestStampCardLogEntry() + } + set {action = .completeQuestStampCard(newValue)} + } + + public var completeQuestPokemonEncounter: CompleteQuestPokemonEncounterLogEntry { + get { + if case .completeQuestPokemonEncounter(let v)? = action {return v} + return CompleteQuestPokemonEncounterLogEntry() + } + set {action = .completeQuestPokemonEncounter(newValue)} + } + + public var belugaTransfer: BelugaDailyTransferLogEntry { + get { + if case .belugaTransfer(let v)? = action {return v} + return BelugaDailyTransferLogEntry() + } + set {action = .belugaTransfer(newValue)} + } + + public var openGift: OpenGiftLogEntry { + get { + if case .openGift(let v)? = action {return v} + return OpenGiftLogEntry() + } + set {action = .openGift(newValue)} + } + + public var sendGift: SendGiftLogEntry { + get { + if case .sendGift(let v)? = action {return v} + return SendGiftLogEntry() + } + set {action = .sendGift(newValue)} + } + + public var trading: TradingLogEntry { + get { + if case .trading(let v)? = action {return v} + return TradingLogEntry() + } + set {action = .trading(newValue)} + } + + public var fitnessRewards: FitnessRewardsLogEntry { + get { + if case .fitnessRewards(let v)? = action {return v} + return FitnessRewardsLogEntry() + } + set {action = .fitnessRewards(newValue)} + } + + public var combat: CombatLogEntry { + get { + if case .combat(let v)? = action {return v} + return CombatLogEntry() + } + set {action = .combat(newValue)} + } + + public var purifyPokemon: PurifyPokemonLogEntry { + get { + if case .purifyPokemon(let v)? = action {return v} + return PurifyPokemonLogEntry() + } + set {action = .purifyPokemon(newValue)} + } + + public var invasionVictory: InvasionVictoryLogEntry { + get { + if case .invasionVictory(let v)? = action {return v} + return InvasionVictoryLogEntry() + } + set {action = .invasionVictory(newValue)} + } + + public var vsSeekerSet: VsSeekerSetLogEntry { + get { + if case .vsSeekerSet(let v)? = action {return v} + return VsSeekerSetLogEntry() + } + set {action = .vsSeekerSet(newValue)} + } + + public var vsSeekerCompleteSeason: VsSeekerCompleteSeasonLogEntry { + get { + if case .vsSeekerCompleteSeason(let v)? = action {return v} + return VsSeekerCompleteSeasonLogEntry() + } + set {action = .vsSeekerCompleteSeason(newValue)} + } + + public var vsSeekerWinRewards: VsSeekerWinRewardsLogEntry { + get { + if case .vsSeekerWinRewards(let v)? = action {return v} + return VsSeekerWinRewardsLogEntry() + } + set {action = .vsSeekerWinRewards(newValue)} + } + + public var buddyConsumables: BuddyConsumablesLogEntry { + get { + if case .buddyConsumables(let v)? = action {return v} + return BuddyConsumablesLogEntry() + } + set {action = .buddyConsumables(newValue)} + } + + public var completeReferralMilestone: CompleteReferralMilestoneLogEntry { + get { + if case .completeReferralMilestone(let v)? = action {return v} + return CompleteReferralMilestoneLogEntry() + } + set {action = .completeReferralMilestone(newValue)} + } + + public var dailyAdventureIncense: DailyAdventureIncenseLogEntry { + get { + if case .dailyAdventureIncense(let v)? = action {return v} + return DailyAdventureIncenseLogEntry() + } + set {action = .dailyAdventureIncense(newValue)} + } + + public var completeRoutePlay: CompleteRoutePlayLogEntry { + get { + if case .completeRoutePlay(let v)? = action {return v} + return CompleteRoutePlayLogEntry() + } + set {action = .completeRoutePlay(newValue)} + } + + public var butterflyCollectorRewards: ButterflyCollectorRewardsLogEntry { + get { + if case .butterflyCollectorRewards(let v)? = action {return v} + return ButterflyCollectorRewardsLogEntry() + } + set {action = .butterflyCollectorRewards(newValue)} + } + + public var webstoreRewards: WebstoreRewardsLogEntry { + get { + if case .webstoreRewards(let v)? = action {return v} + return WebstoreRewardsLogEntry() + } + set {action = .webstoreRewards(newValue)} + } + + public var useNonCombatMove: UseNonCombatMoveLogEntry { + get { + if case .useNonCombatMove(let v)? = action {return v} + return UseNonCombatMoveLogEntry() + } + set {action = .useNonCombatMove(newValue)} + } + + public var timestampMs: Int64 = 0 + + public var sfida: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_Action: Equatable { + case catchPokemon(CatchPokemonLogEntry) + case fortSearch(FortSearchLogEntry) + case buddyPokemon(BuddyPokemonLogEntry) + case raidRewards(RaidRewardsLogEntry) + case passcodeRewards(PasscodeRewardsLogEntry) + case completeQuest(CompleteQuestLogEntry) + case completeQuestStampCard(CompleteQuestStampCardLogEntry) + case completeQuestPokemonEncounter(CompleteQuestPokemonEncounterLogEntry) + case belugaTransfer(BelugaDailyTransferLogEntry) + case openGift(OpenGiftLogEntry) + case sendGift(SendGiftLogEntry) + case trading(TradingLogEntry) + case fitnessRewards(FitnessRewardsLogEntry) + case combat(CombatLogEntry) + case purifyPokemon(PurifyPokemonLogEntry) + case invasionVictory(InvasionVictoryLogEntry) + case vsSeekerSet(VsSeekerSetLogEntry) + case vsSeekerCompleteSeason(VsSeekerCompleteSeasonLogEntry) + case vsSeekerWinRewards(VsSeekerWinRewardsLogEntry) + case buddyConsumables(BuddyConsumablesLogEntry) + case completeReferralMilestone(CompleteReferralMilestoneLogEntry) + case dailyAdventureIncense(DailyAdventureIncenseLogEntry) + case completeRoutePlay(CompleteRoutePlayLogEntry) + case butterflyCollectorRewards(ButterflyCollectorRewardsLogEntry) + case webstoreRewards(WebstoreRewardsLogEntry) + case useNonCombatMove(UseNonCombatMoveLogEntry) + + #if !swift(>=4.1) + public static func ==(lhs: ActionLogEntry.OneOf_Action, rhs: ActionLogEntry.OneOf_Action) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.catchPokemon, .catchPokemon): return { + guard case .catchPokemon(let l) = lhs, case .catchPokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.fortSearch, .fortSearch): return { + guard case .fortSearch(let l) = lhs, case .fortSearch(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.buddyPokemon, .buddyPokemon): return { + guard case .buddyPokemon(let l) = lhs, case .buddyPokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidRewards, .raidRewards): return { + guard case .raidRewards(let l) = lhs, case .raidRewards(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.passcodeRewards, .passcodeRewards): return { + guard case .passcodeRewards(let l) = lhs, case .passcodeRewards(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.completeQuest, .completeQuest): return { + guard case .completeQuest(let l) = lhs, case .completeQuest(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.completeQuestStampCard, .completeQuestStampCard): return { + guard case .completeQuestStampCard(let l) = lhs, case .completeQuestStampCard(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.completeQuestPokemonEncounter, .completeQuestPokemonEncounter): return { + guard case .completeQuestPokemonEncounter(let l) = lhs, case .completeQuestPokemonEncounter(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.belugaTransfer, .belugaTransfer): return { + guard case .belugaTransfer(let l) = lhs, case .belugaTransfer(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.openGift, .openGift): return { + guard case .openGift(let l) = lhs, case .openGift(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.sendGift, .sendGift): return { + guard case .sendGift(let l) = lhs, case .sendGift(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.trading, .trading): return { + guard case .trading(let l) = lhs, case .trading(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.fitnessRewards, .fitnessRewards): return { + guard case .fitnessRewards(let l) = lhs, case .fitnessRewards(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.combat, .combat): return { + guard case .combat(let l) = lhs, case .combat(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.purifyPokemon, .purifyPokemon): return { + guard case .purifyPokemon(let l) = lhs, case .purifyPokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.invasionVictory, .invasionVictory): return { + guard case .invasionVictory(let l) = lhs, case .invasionVictory(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.vsSeekerSet, .vsSeekerSet): return { + guard case .vsSeekerSet(let l) = lhs, case .vsSeekerSet(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.vsSeekerCompleteSeason, .vsSeekerCompleteSeason): return { + guard case .vsSeekerCompleteSeason(let l) = lhs, case .vsSeekerCompleteSeason(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.vsSeekerWinRewards, .vsSeekerWinRewards): return { + guard case .vsSeekerWinRewards(let l) = lhs, case .vsSeekerWinRewards(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.buddyConsumables, .buddyConsumables): return { + guard case .buddyConsumables(let l) = lhs, case .buddyConsumables(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.completeReferralMilestone, .completeReferralMilestone): return { + guard case .completeReferralMilestone(let l) = lhs, case .completeReferralMilestone(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.dailyAdventureIncense, .dailyAdventureIncense): return { + guard case .dailyAdventureIncense(let l) = lhs, case .dailyAdventureIncense(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.completeRoutePlay, .completeRoutePlay): return { + guard case .completeRoutePlay(let l) = lhs, case .completeRoutePlay(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.butterflyCollectorRewards, .butterflyCollectorRewards): return { + guard case .butterflyCollectorRewards(let l) = lhs, case .butterflyCollectorRewards(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.webstoreRewards, .webstoreRewards): return { + guard case .webstoreRewards(let l) = lhs, case .webstoreRewards(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.useNonCombatMove, .useNonCombatMove): return { + guard case .useNonCombatMove(let l) = lhs, case .useNonCombatMove(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + public init() {} } -public struct AgeGateResult { +public struct ActivateVsSeekerOutProto { // 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. - public var methodName: String = String() + public var result: ActivateVsSeekerOutProto.Result = .unset + + public var vsSeeker: VsSeekerAttributesProto { + get {return _vsSeeker ?? VsSeekerAttributesProto()} + set {_vsSeeker = newValue} + } + /// Returns true if `vsSeeker` has been explicitly set. + public var hasVsSeeker: Bool {return self._vsSeeker != nil} + /// Clears the value of `vsSeeker`. Subsequent reads from it will return its default value. + public mutating func clearVsSeeker() {self._vsSeeker = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case successActivated // = 1 + case errorNoPremiumBattlePass // = 2 + case errorVsSeekerNotCharged // = 3 + case errorVsSeekerAlreadyActivated // = 4 + case errorExceededLimit // = 5 + case errorTemporarilyUnavailable // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .successActivated + case 2: self = .errorNoPremiumBattlePass + case 3: self = .errorVsSeekerNotCharged + case 4: self = .errorVsSeekerAlreadyActivated + case 5: self = .errorExceededLimit + case 6: self = .errorTemporarilyUnavailable + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .successActivated: return 1 + case .errorNoPremiumBattlePass: return 2 + case .errorVsSeekerNotCharged: return 3 + case .errorVsSeekerAlreadyActivated: return 4 + case .errorExceededLimit: return 5 + case .errorTemporarilyUnavailable: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} + + fileprivate var _vsSeeker: VsSeekerAttributesProto? = nil } -public struct AgeGateStartup { +#if swift(>=4.2) + +extension ActivateVsSeekerOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ActivateVsSeekerOutProto.Result] = [ + .unset, + .successActivated, + .errorNoPremiumBattlePass, + .errorVsSeekerNotCharged, + .errorVsSeekerAlreadyActivated, + .errorExceededLimit, + .errorTemporarilyUnavailable, + ] +} + +#endif // swift(>=4.2) + +public struct ActivateVsSeekerProto { // 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. - public var methodName: String = String() + public var rewardTrack: VsSeekerRewardTrack = .free public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AllTypesAndMessagesResponsesProto { +public struct ActivityPostcardData { // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var senderPublicProfile: PlayerPublicProfileProto { + get {return _storage._senderPublicProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._senderPublicProfile = newValue} + } + /// Returns true if `senderPublicProfile` has been explicitly set. + public var hasSenderPublicProfile: Bool {return _storage._senderPublicProfile != nil} + /// Clears the value of `senderPublicProfile`. Subsequent reads from it will return its default value. + public mutating func clearSenderPublicProfile() {_uniqueStorage()._senderPublicProfile = nil} - public enum AllResquestTypesProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case requestTypeUnset // = 0 - case requestTypeMethodGetPlayer // = 2 - case requestTypeMethodGetHoloholoInventory // = 4 - case requestTypeMethodDownloadSettings // = 5 - case requestTypeMethodDownloadItemTemplates // = 6 - case requestTypeMethodDownloadRemoteConfigVersion // = 7 - case requestTypeMethodRegisterBackgroundDevice // = 8 - case requestTypeMethodGetPlayerDay // = 9 - case requestTypeMethodAcknowledgePunishment // = 10 - case requestTypeMethodGetServerTime // = 11 - case requestTypeMethodGetLocalTime // = 12 - case requestTypeMethodFortSearch // = 101 - case requestTypeMethodEncounter // = 102 - case requestTypeMethodCatchPokemon // = 103 - case requestTypeMethodFortDetails // = 104 - case requestTypeMethodGetMapObjects // = 106 - case requestTypeMethodFortDeployPokemon // = 110 - case requestTypeMethodFortRecallPokemon // = 111 - case requestTypeMethodReleasePokemon // = 112 - case requestTypeMethodUseItemPotion // = 113 - case requestTypeMethodUseItemCapture // = 114 - case requestTypeMethodUseItemFlee // = 115 - case requestTypeMethodUseItemRevive // = 116 - case requestTypeMethodGetPlayerProfile // = 121 - case requestTypeMethodEvolvePokemon // = 125 - case requestTypeMethodGetHatchedEggs // = 126 - case requestTypeMethodEncounterTutorialComplete // = 127 - case requestTypeMethodLevelUpRewards // = 128 - case requestTypeMethodCheckAwardedBadges // = 129 - case requestTypeMethodRecycleInventoryItem // = 137 - case requestTypeMethodCollectDailyBonus // = 138 - case requestTypeMethodUseItemXpBoost // = 139 - case requestTypeMethodUseItemEggIncubator // = 140 - case requestTypeMethodUseIncense // = 141 - case requestTypeMethodGetIncensePokemon // = 142 - case requestTypeMethodIncenseEncounter // = 143 - case requestTypeMethodAddFortModifier // = 144 - case requestTypeMethodDiskEncounter // = 145 - case requestTypeMethodUpgradePokemon // = 147 - case requestTypeMethodSetFavoritePokemon // = 148 - case requestTypeMethodNicknamePokemon // = 149 - case requestTypeMethodEquipBadge // = 150 - case requestTypeMethodSetContactSettings // = 151 - case requestTypeMethodSetBuddyPokemon // = 152 - case requestTypeMethodGetBuddyWalked // = 153 - case requestTypeMethodUseItemEncounter // = 154 - case requestTypeMethodGymDeploy // = 155 - case requestTypeMethodGymGetInfo // = 156 - case requestTypeMethodGymStartSession // = 157 - case requestTypeMethodGymBattleAttack // = 158 - case requestTypeMethodJoinLobby // = 159 - case requestTypeMethodLeaveLobby // = 160 - case requestTypeMethodSetLobbyVisibility // = 161 - case requestTypeMethodSetLobbyPokemon // = 162 - case requestTypeMethodGetRaidDetails // = 163 - case requestTypeMethodGymFeedPokemon // = 164 - case requestTypeMethodStartRaidBattle // = 165 - case requestTypeMethodAttackRaid // = 166 - case requestTypeMethodAwardPokecoin // = 167 - case requestTypeMethodUseItemStardustBoost // = 168 - case requestTypeMethodReassignPlayer // = 169 - case requestTypeMethodRedeemPoiPasscode // = 170 - case requestTypeMethodConvertCandyToXlCandy // = 171 - case requestTypeMethodIsSkuAvailable // = 172 - case requestTypeMethodGetAssetDigest // = 300 - case requestTypeMethodGetDownloadUrls // = 301 - case requestTypeMethodGetAssetVersion // = 302 - case requestTypeMethodClaimCodename // = 403 - case requestTypeMethodSetAvatar // = 404 - case requestTypeMethodSetPlayerTeam // = 405 - case requestTypeMethodMarkTutorialComplete // = 406 - case requestTypeMethodUpdatePerformanceMetrics // = 407 - case requestTypeMethodSetNeutralAvatar // = 408 - case requestTypeMethodCheckChallenge // = 600 - case requestTypeMethodVerifyChallenge // = 601 - case requestTypeMethodEcho // = 666 - case requestTypeMethodSfidaRegistration // = 800 - case requestTypeMethodSfidaActionLog // = 801 - case requestTypeMethodSfidaCertification // = 802 - case requestTypeMethodSfidaUpdate // = 803 - case requestTypeMethodSfidaAction // = 804 - case requestTypeMethodSfidaDowser // = 805 - case requestTypeMethodSfidaCapture // = 806 - case requestTypeMethodListAvatarCustomizations // = 807 - case requestTypeMethodSetAvatarItemAsViewed // = 808 - case requestTypeMethodGetInbox // = 809 - case requestTypeMethodListGymBadges // = 811 - case requestTypeMethodGetGymBadgeDetails // = 812 - case requestTypeMethodUseItemMoveReroll // = 813 - case requestTypeMethodUseItemRareCandy // = 814 - case requestTypeMethodAwardFreeRaidTicket // = 815 - case requestTypeMethodFetchAllNews // = 816 - case requestTypeMethodMarkReadNewsArticle // = 817 - case requestTypeMethodGetPlayerDisplayInfo // = 818 - case requestTypeMethodBelugaTransactionStart // = 819 - case requestTypeMethodBelugaTransactionComplete // = 820 - case requestTypeMethodSfidaAssociate // = 822 - case requestTypeMethodSfidaCheckPairing // = 823 - case requestTypeMethodSfidaDisassociate // = 824 - case requestTypeMethodWainaGetRewards // = 825 - case requestTypeMethodWainaSubmitSleepData // = 826 - case requestTypeMethodSaturdayTransactionStart // = 827 - case requestTypeMethodSaturdayTransactionComplete // = 828 - case requestTypeMethodReimburseItem // = 829 - case requestTypeMethodGetNewQuests // = 900 - case requestTypeMethodGetQuestDetails // = 901 - case requestTypeMethodCompleteQuest // = 902 - case requestTypeMethodRemoveQuest // = 903 - case requestTypeMethodQuestEncounter // = 904 - case requestTypeMethodCompleteQuestStampCard // = 905 - case requestTypeMethodProgressQuest // = 906 - case requestTypeMethodStartQuestIncident // = 907 - case requestTypeMethodReadQuestDialog // = 908 - case requestTypeMethodSendGift // = 950 - case requestTypeMethodOpenGift // = 951 - case requestTypeMethodGiftDetails // = 952 - case requestTypeMethodDeleteGift // = 953 - case requestTypeMethodSavePlayerSnapshot // = 954 - case requestTypeMethodGetFriendshipMilestoneRewards // = 955 - case requestTypeMethodCheckSendGift // = 956 - case requestTypeMethodSetFriendNickname // = 957 - case requestTypeMethodDeleteGiftFromInventory // = 958 - case requestTypeMethodSaveSocialPlayerSettings // = 959 - case requestTypeMethodShareExRaidPass // = 960 - case requestTypeMethodCheckShareExRaidPass // = 961 - case requestTypeMethodDeclineSharedExRaidPass // = 962 - case requestTypeMethodOpenTrading // = 970 - case requestTypeMethodUpdateTrading // = 971 - case requestTypeMethodConfirmTrading // = 972 - case requestTypeMethodCancelTrading // = 973 - case requestTypeMethodGetTrading // = 974 - case requestTypeMethodGetFitnessRewards // = 980 - case requestTypeMethodGetCombatPlayerProfile // = 990 - case requestTypeMethodGenerateCombatChallengeID // = 991 - case requestTypeMethodCreateCombatChallenge // = 992 - case requestTypeMethodOpenCombatChallenge // = 993 - case requestTypeMethodGetCombatChallenge // = 994 - case requestTypeMethodAcceptCombatChallenge // = 995 - case requestTypeMethodDeclineCombatChallenge // = 996 - case requestTypeMethodCancelCombatChallenge // = 997 - case requestTypeMethodSubmitCombatChallengePokemons // = 998 - case requestTypeMethodSaveCombatPlayerPreferences // = 999 - case requestTypeMethodOpenCombatSession // = 1000 - case requestTypeMethodUpdateCombat // = 1001 - case requestTypeMethodQuitCombat // = 1002 - case requestTypeMethodGetCombatResults // = 1003 - case requestTypeMethodUnlockSpecialMove // = 1004 - case requestTypeMethodGetNpcCombatRewards // = 1005 - case requestTypeMethodCombatFriendRequest // = 1006 - case requestTypeMethodOpenNpcCombatSession // = 1007 - case requestTypeMethodStartTutorialAction // = 1008 - case requestTypeMethodGetTutorialEggAction // = 1009 - case requestTypeMethodSendProbe // = 1020 - case requestTypeMethodProbeData // = 1021 - case requestTypeMethodCombatData // = 1022 - case requestTypeMethodCombatChallengeData // = 1023 - case requestTypeMethodCheckPhotobomb // = 1101 - case requestTypeMethodConfirmPhotobomb // = 1102 - case requestTypeMethodGetPhotobomb // = 1103 - case requestTypeMethodEncounterPhotobomb // = 1104 - case requestTypeMethodGetSignedGmapURLDeprecated // = 1105 - case requestTypeMethodChangeTeam // = 1106 - case requestTypeMethodGetWebToken // = 1107 - case requestTypeMethodCompleteSnapshotSession // = 1110 - case requestTypeMethodCompleteWildSnapshotSession // = 1111 - case requestTypeMethodStartIncident // = 1200 - case requestTypeMethodInvasionCompleteDialogue // = 1201 - case requestTypeMethodInvasionOpenCombatSession // = 1202 - case requestTypeMethodInvasionBattleUpdate // = 1203 - case requestTypeMethodInvasionEncounter // = 1204 - case requestTypeMethodPurifyPokemon // = 1205 - case requestTypeMethodGetRocketBalloon // = 1206 - case requestTypeMethodStartRocketBalloonIncident // = 1207 - case requestTypeMethodVsSeekerStartMatchmaking // = 1300 - case requestTypeMethodCancelMatchmaking // = 1301 - case requestTypeMethodGetMatchmakingStatus // = 1302 - case requestTypeMethodCompleteVsSeekerAndRestartCharging // = 1303 - case requestTypeMethodGetVsSeekerStatus // = 1304 - case requestTypeMethodCompleteCombatCompetitiveSeasonAction // = 1305 - case requestTypeMethodClaimVsSeekerRewards // = 1306 - case requestTypeMethodVsSeekerRewardEncounter // = 1307 - case requestTypeMethodActivateVsSeeker // = 1308 - case requestTypeMethodGetBuddyMap // = 1350 - case requestTypeMethodGetBuddyStats // = 1351 - case requestTypeMethodFeedBuddy // = 1352 - case requestTypeMethodOpenBuddyGift // = 1353 - case requestTypeMethodPetBuddy // = 1354 - case requestTypeMethodGetBuddyHistory // = 1355 - case requestTypeMethodUpdateRouteDraft // = 1400 - case requestTypeMethodGetMapForts // = 1401 - case requestTypeMethodSubmitRouteDraft // = 1402 - case requestTypeMethodGetPublishedRoutes // = 1403 - case requestTypeMethodStartRoute // = 1404 - case requestTypeMethodGetRoutes // = 1405 - case requestTypeMethodProgressRoute // = 1406 - case requestTypeMethodProcessTappable // = 1408 - case requestTypeMethodListRouteBadges // = 1409 - case requestTypeMethodCancelRoute // = 1410 - case requestTypeMethodListRouteStamps // = 1411 - case requestTypeMethodRateRoute // = 1412 - case requestTypeMethodCreateRouteDraft // = 1413 - case requestTypeMethodDeleteRouteDraft // = 1414 - case requestTypeMethodReportRoute // = 1415 - case requestTypeMethodSpawnTappable // = 1416 - case requestTypeMethodRouteEncounter // = 1417 - case requestTypeMethodCanReportRoute // = 1418 - case requestTypeMethodRouteUptateSeen // = 1420 - case requestTypeMethodCreateBuddyMutliplayerSession // = 1456 - case requestTypeMethodJoinBuddyMultiplayerSession // = 1457 - case requestTypeMethodLeaveBuddyMultiplayerSession // = 1458 - case requestTypeMethodGetTodayView // = 1501 - case requestTypeMethodMegaEvolvePokemon // = 1502 - case requestTypeMethodRemoteGiftPing // = 1503 - case requestTypeMethodSendRaidInvitation // = 1504 - case requestTypeMethodGetDailyEncounter // = 1601 - case requestTypeMethodDailyEncounter // = 1602 - case requestTypeMethodOpenSponsoredGift // = 1650 - case requestTypeMethodSponsoredGiftReportInteraction // = 1651 - case requestTypeMethodSavePlayerPreferences // = 1652 - case requestTypeMethodProfanityCheck // = 1653 - case requestTypeMethodGetTimedGroupChallenge // = 1700 - case requestTypeMethodGetNintendoAccount // = 1710 - case requestTypeMethodUnlinkNintendoAccount // = 1711 - case requestTypeMethodGetNintendoOauth2URL // = 1712 - case requestTypeMethodTransferToPokemonHome // = 1713 - case requestTypeMethodReportAdFeedback // = 1716 - case requestTypeMethodCreatePokemonTag // = 1717 - case requestTypeMethodDeletePokemonTag // = 1718 - case requestTypeMethodEditPokemonTag // = 1719 - case requestTypeMethodSetPokemonTagsForPokemon // = 1720 - case requestTypeMethodGetPokemonTags // = 1721 - case requestTypeMethodChangePokemonForm // = 1722 - case requestTypeMethodChooseEventVariant // = 1723 - case requestTypeMethodButterflyCollectorRewardEncounter // = 1724 - case requestTypeMethodGetReferralCode // = 1800 - case requestTypeMethodAddReferrer // = 1801 - case requestTypeMethodSendFriendInviteViaReferralCode // = 1802 - case requestTypeMethodGetMilestones // = 1803 - case requestTypeMethodMarkMilestonesAsViewed // = 1804 - case requestTypeMethodGetMilestonesPreview // = 1805 - case requestTypeMethodCompleteMilestone // = 1806 - case requestTypeMethodGetGeofencedAd // = 1820 - case requestTypeMethodPowerUpPokestopEncounter // = 1900 - case requestTypeMethodDeletePostcards // = 1909 - case requestTypeMethodCreatePostcard // = 1910 - case requestTypeMethodUpdatePostcard // = 1911 - case requestTypeMethodDeletePostcard // = 1912 - case requestTypeMethodGetMementoList // = 1913 - case requestTypeMethodUploadRaidClientLog // = 1914 - case requestTypeMethodSkipEnterReferralCode // = 1915 - case requestTypeMethodUploadCombatClientLog // = 1916 - case requestTypeMethodCombatSyncServerOffset // = 1917 - case requestTypeMethodCheckGiftingEligibility // = 2000 - case requestTypeMethodRedeemTicketGiftForFriend // = 2001 - case requestTypeMethodGetIncenseRecap // = 2002 - case requestTypeMethodAcknowledgeIncenseRecap // = 2003 - case requestTypeMethodBootRaid // = 2004 - case requestTypeMethodGetPokestopEncounter // = 2005 - case requestTypeMethodEncounterPokestopEncounter // = 2006 - case requestTypeMethodPollPlayerSpawnablePokemon // = 2007 - case requestTypeMethodGetQuestUi // = 2008 - case requestTypeMethodGetEligibleCombatLeagues // = 2009 - case requestTypeMethodSendFriendRequestViaPlayerIds // = 2010 - case requestTypeMethodGetRaidLobbyCounter // = 2011 - case requestTypeMethodCheckPokemonSizeContestEligibility // = 2100 - case requestTypeMethodUpdatePokemonSizeContestEntry // = 2101 - case requestTypeMethodTransferPokemonSizeContestEntry // = 2102 - case requestTypeMethodRemovePokemonSizeContestEntry // = 2103 - case requestTypeMethodGetPokemonSizeContestEntry // = 2104 - case requestTypeMethodGetContestData // = 2105 - case requestTypeMethodGetContestsUnclaimedRewards // = 2106 - case requestTypeMethodClaimContestsRewards // = 2107 - case requestTypeMethodGetEnteredContest // = 2108 - case requestTypeMethodGetPokemonSizeContestFriendEntry // = 2109 - case requestTypeMethodCheckContestEligibility // = 2150 - case requestTypeMethodUpdateContestEntry // = 2151 - case requestTypeMethodTransferContestEntry // = 2152 - case requestTypeMethodGetContestFriendEntry // = 2153 - case requestTypeMethodGetContestEntry // = 2154 - case requestTypeMethodCreateParty // = 2300 - case requestTypeMethodJoinParty // = 2301 - case requestTypeMethodStartParty // = 2302 - case requestTypeMethodLeaveParty // = 2303 - case requestTypeMethodGetParty // = 2304 - case requestTypeMethodUpdatePartyLocation // = 2305 - case requestTypeMethodSendPartyDarkLaunchLog // = 2306 - case requestTypeMethodStartPartyQuest // = 2308 - case requestTypeMethodGetBonusAttractedPokemon // = 2350 - case requestTypeMethodGetVpsEvents // = 3000 - case requestTypeMethodUpdateVpsEvents // = 3001 - case requestTypeClientActionRegisterPushNotification // = 5000 - case requestTypeClientActionUnregisterPushNotification // = 5001 - case requestTypeClientActionUpdateNotificationStatus // = 5002 - case requestTypeClientActionOptOutPushNotificationCategory // = 5003 - case requestTypeClientActionDownloadGameMasterTemplates // = 5004 - case requestTypeClientActionGetInventory // = 5005 - case requestTypeClientActionRedeemPasscode // = 5006 - case requestTypeClientActionPing // = 5007 - case requestTypeClientActionAddLoginAction // = 5008 - case requestTypeClientActionRemoveLoginAction // = 5009 - case requestTypeClientActionListLoginAction // = 5010 - case requestTypeClientActionAddNewPoi // = 5011 - case requestTypeClientActionProxySocialAction // = 5012 - case requestTypeClientActionDeprecatedClientTelemetry // = 5013 - case requestTypeClientActionGetAvailableSubmissions // = 5014 - case requestTypeClientActionGetSignedURLForPhotoUpload // = 5015 - case requestTypeClientActionReplaceLoginAction // = 5016 - case requestTypeClientActionProxySocialSideChannelAction // = 5017 - case requestTypeClientActionCollectClientTelemetry // = 5018 - case requestTypeClientActionPurchaseSku // = 5019 - case requestTypeClientActionGetAvailableSkusAndBalances // = 5020 - case requestTypeClientActionRedeemGoogleReceipt // = 5021 - case requestTypeClientActionRedeemAppleReceipt // = 5022 - case requestTypeClientActionRedeemDesktopReceipt // = 5023 - case requestTypeClientActionUpdateFitnessMetrics // = 5024 - case requestTypeClientActionGetFitnessReport // = 5025 - case requestTypeClientActionGetClientTelemetrySettings // = 5026 - case requestTypeClientActionPingAsync // = 5027 - case requestTypeClientActionRegisterBackgroundService // = 5028 - case requestTypeClientActionGetClientBgmodeSettings // = 5029 - case requestTypeClientActionPingDownstream // = 5030 - case requestTypeClientActionSetInGameCurrencyExchangeRate // = 5032 - case requestTypeClientActionRequestGeofenceUpdates // = 5033 - case requestTypeClientActionUpdatePlayerLocation // = 5034 - case requestTypeClientActionGenerateGmapSignedURL // = 5035 - case requestTypeClientActionGetGmapSettings // = 5036 - case requestTypeClientActionRedeemSamsungReceipt // = 5037 - case requestTypeClientActionAddNewRoute // = 5038 - case requestTypeClientActionGetOutstandingWarnings // = 5039 - case requestTypeClientActionAcknowledgeWarnings // = 5040 - case requestTypeClientActionSubmitPoiImage // = 5041 - case requestTypeClientActionSubmitPoiTextMetadataUpdate // = 5042 - case requestTypeClientActionSubmitPoiLocationUpdate // = 5043 - case requestTypeClientActionSubmitPoiTakedownRequest // = 5044 - case requestTypeClientActionGetWebTokenAction // = 5045 - case requestTypeClientActionGetAdventureSyncSettings // = 5046 - case requestTypeClientActionUpdateAdventureSyncSettings // = 5047 - case requestTypeClientActionSetBirthday // = 5048 - case requestTypeClientActionFetchNewsfeedAction // = 5049 - case requestTypeClientActionMarkNewsfeedReadAction // = 5050 - case requestTypeSocialActionSearchPlayer // = 10000 - case requestTypeSocialActionSendFriendInvite // = 10002 - case requestTypeSocialActionCancelFriendInvite // = 10003 - case requestTypeSocialActionAcceptFriendInvite // = 10004 - case requestTypeSocialActionDeclineFriendInvite // = 10005 - case requestTypeSocialActionListFriends // = 10006 - case requestTypeSocialActionListOutgoingFriendInvites // = 10007 - case requestTypeSocialActionListIncomingFriendInvites // = 10008 - case requestTypeSocialActionRemoveFriend // = 10009 - case requestTypeSocialActionListFriendStatus // = 10010 - case requestTypeSocialActionSendFacebookFriendInvite // = 10011 - case requestTypeSocialActionIsMyFriend // = 10012 - case requestTypeSocialActionCreateInviteCode // = 10013 - case requestTypeSocialActionGetFacebookFriendList // = 10014 - case requestTypeSocialActionUpdateFacebookStatus // = 10015 - case requestTypeSocialActionSavePlayerSettings // = 10016 - case requestTypeSocialActionGetPlayerSettings // = 10017 - case requestTypeSocialActionGetNianticFriendListDeleted // = 10018 - case requestTypeSocialActionGetNianticFriendDetailsDeleted // = 10019 - case requestTypeSocialActionSendNianticFriendInviteDeleted // = 10020 - case requestTypeSocialActionSetAccountSettings // = 10021 - case requestTypeSocialActionGetAccountSettings // = 10022 - case requestTypeSocialActionAddFavoriteFriend // = 10023 - case requestTypeSocialActionRemoveFavoriteFriend // = 10024 - case requestTypeSocialActionBlockAccount // = 10025 - case requestTypeSocialActionUnblockAccount // = 10026 - case requestTypeSocialActionGetOutgingBlocks // = 10027 - case requestTypeSocialActionIsAccountBlocked // = 10028 - case requestTypeSocialActionRegisterPushNotification // = 10101 - case requestTypeSocialActionUnregisterPushNotification // = 10102 - case requestTypeSocialActionUpdateNotification // = 10103 - case requestTypeSocialActionOptOutPushNotificationCategory // = 10104 - case requestTypeSocialActionGetInbox // = 10105 - case requestTypeSocialActionGetSignedURL // = 10201 - case requestTypeSocialActionSubmitImage // = 10202 - case requestTypeSocialActionGetPhotos // = 10203 - case requestTypeSocialActionDeletePhoto // = 10204 - case requestTypeSocialActionFlagPhoto // = 10205 - case requestTypeSocialActionUpdateProfileV2 // = 20001 - case requestTypeSocialActionUpdateFriendshipV2 // = 20002 - case requestTypeSocialActionGetProfileV2 // = 20003 - case requestTypeSocialActionInviteGameV2 // = 20004 - case requestTypeSocialActionReservedAction2 // = 20005 - case requestTypeSocialActionListFriendsV2 // = 20006 - case requestTypeSocialActionGetFriendDetailsV2 // = 20007 - case requestTypeSocialActionGetClientFeatureFlagsV2 // = 20008 - case requestTypeSocialActionReservedAction1 // = 20009 - case requestTypeSocialActionGetIncomingGameInvitesV2 // = 20010 - case requestTypeSocialActionUpdateIncomingGameInviteV2 // = 20011 - case requestTypeSocialActionDismissOutgoingGameInvitesV2 // = 20012 - case requestTypeSocialActionSyncContactListV2 // = 20013 - case requestTypeSocialActionSendContactListFriendInviteV2 // = 20014 - case requestTypeSocialActionReferContactListFriendV2 // = 20015 - case requestTypeSocialActionGetContactListInfoV2 // = 20016 - case requestTypeSocialActionDismissContactListUpdateV2 // = 20017 - case requestTypeSocialActionNotifyContactListFriendsV2 // = 20018 - case requestTypeSocialActionReservedAction6 // = 20019 - case requestTypeSocialActionReservedAction7 // = 20020 - case requestTypeSocialActionReservedAction3 // = 20400 - case requestTypeSocialActionReservedAction4 // = 20401 - case requestTypeSocialActionReservedAction5 // = 20402 - case requestTypeSocialActionGetFriendRecommendation // = 20500 - case requestTypeGameActionClientRegisterBackgroundService // = 230000 - case requestTypeGameActionClientGetClientBgmodeSettings // = 230001 - case requestTypeGameActionClientGetAdventureSyncProgress // = 230002 - case requestTypeGamePurchaseSku // = 310000 - case requestTypeGameGetAvailableSkusAndBalances // = 310001 - case requestTypeGameSetInGameCurrencyExchangeRate // = 310002 - case requestTypeGameRedeemGoogleReceipt // = 310100 - case requestTypeGameRedeemAppleReceipt // = 310101 - case requestTypeGameRedeemDesktopReceipt // = 310102 - case requestTypeGameRedeemSamsungReceipt // = 310103 - case requestTypeGameGetAvailableSubscriptions // = 310200 - case requestTypeGameGetActiveSubscriptions // = 310201 - case requestTypeRequestGeofenceUpdates1 // = 360000 - case requestTypeUpdatePlayerLocation1 // = 360001 - case requestTypeUpdateBreadcrumbHistory // = 361000 - case requestTypeRefreshProximityTokens // = 362000 - case requestTypeReportProximityContacts // = 362001 - case requestTypeGetGameAccessToken // = 600005 - case requestTypePlayerSubmissionActionAddNewPoi // = 620000 - case requestTypePlayerSubmissionActionGetAvailableSubmissions // = 620001 - case requestTypePlayerSubmissionActionGetSignedURLForPhotoUpload // = 620002 - case requestTypePlayerSubmissionActionGetPlayerSubmissionValidationSettings // = 620003 - case requestTypePlayerSubmissionActionD2DAddNewPoi // = 620004 - case requestTypePlayerSubmissionActionD2DGetSignedURLForPhotoUpload // = 620005 - case requestTypePlayerSubmissionActionSubmitPoiImage // = 620100 - case requestTypePlayerSubmissionActionSubmitPoiTextMetadataUpdate // = 620101 - case requestTypePlayerSubmissionActionSubmitPoiLocationUpdate // = 620102 - case requestTypePlayerSubmissionActionSubmitPoiTakedownRequest // = 620103 - case requestTypePlayerSubmissionActionSubmitSponsorPoiReport // = 620104 - case requestTypePlayerSubmissionActionSubmitSponsorPoiLocationUpdate // = 620105 - case requestTypePlayerSubmissionActionSubmitPoiCategoryVote // = 620106 - case requestTypePlayerSubmissionActionD2DSubmitPoiImage // = 620107 - case requestTypePlayerSubmissionActionD2DSubmitPoiTextMetadataUpdate // = 620108 - case requestTypePlayerSubmissionActionD2DSubmitPoiLocationUpdate // = 620109 - case requestTypePlayerSubmissionActionD2DSubmitPoiTakedownRequest // = 620110 - case requestTypePlayerSubmissionActionAddNewRoute // = 620200 - case requestTypePlayerSubmissionActionGenerateGmapSignedURL // = 620300 - case requestTypePlayerSubmissionActionGetGmapSettings // = 620301 - case requestTypePlayerSubmissionActionSubmitPoiArVideoMetadata // = 620400 - case requestTypePlayerSubmissionActionGetGrapeshotFileUploadURL // = 620401 - case requestTypePlayerSubmissionActionAsyncFileUploadComplete // = 620402 - case requestTypePlayerSubmissionActionGetArMappingSettings // = 620403 - case requestTypePlayerSubmissionActionD2DSubmitPoiArVideoMetadata // = 620404 - case requestTypePlayerSubmissionActionD2DGetGrapeshotFileUploadURL // = 620405 - case requestTypePlayerSubmissionActionD2DAsyncFileUploadComplete // = 620406 - case requestTypePlayerSubmissionActionSubmitMappingRequest // = 620407 - case requestTypePlayerSubmissionActionD2DSubmitMappingRequest // = 620408 - case requestTypePlayerSubmissionActionGetImagesForPoi // = 620500 - case requestTypePlayerSubmissionActionSubmitPlayerImageVoteForPoi // = 620501 - case requestTypePlayerSubmissionActionGetImageGallerySettings // = 620502 - case requestTypePlayerSubmissionActionGetMapData // = 620600 - case requestTypePlayerSubmissionActionGetPoisInRadius // = 620601 - case requestTypeUpdateFitnessMetrics1 // = 640000 - case requestTypeGetFitnessReport1 // = 640001 - case requestTypeGetAdventureSyncSettings1 // = 640002 - case requestTypeUpdateAdventureSyncSettings1 // = 640003 - case requestTypeUpdateAdventureSyncFitness // = 640004 - case requestTypeGetAdventureSyncFitnessReport // = 640005 + public var senderBuddyData: ActivityPostcardData.BuddyData { + get {return _storage._senderBuddyData ?? ActivityPostcardData.BuddyData()} + set {_uniqueStorage()._senderBuddyData = newValue} + } + /// Returns true if `senderBuddyData` has been explicitly set. + public var hasSenderBuddyData: Bool {return _storage._senderBuddyData != nil} + /// Clears the value of `senderBuddyData`. Subsequent reads from it will return its default value. + public mutating func clearSenderBuddyData() {_uniqueStorage()._senderBuddyData = nil} + + public var senderFortData: ActivityPostcardData.FortData { + get {return _storage._senderFortData ?? ActivityPostcardData.FortData()} + set {_uniqueStorage()._senderFortData = newValue} + } + /// Returns true if `senderFortData` has been explicitly set. + public var hasSenderFortData: Bool {return _storage._senderFortData != nil} + /// Clears the value of `senderFortData`. Subsequent reads from it will return its default value. + public mutating func clearSenderFortData() {_uniqueStorage()._senderFortData = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct BuddyData { + // 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. + + public var pokemonID: HoloPokemonId = .missingno + + public var buddyDisplay: PokemonDisplayProto { + get {return _buddyDisplay ?? PokemonDisplayProto()} + set {_buddyDisplay = newValue} + } + /// Returns true if `buddyDisplay` has been explicitly set. + public var hasBuddyDisplay: Bool {return self._buddyDisplay != nil} + /// Clears the value of `buddyDisplay`. Subsequent reads from it will return its default value. + public mutating func clearBuddyDisplay() {self._buddyDisplay = nil} + + public var nickname: String = String() + + public var buddyCandyAwarded: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _buddyDisplay: PokemonDisplayProto? = nil + } + + public struct FortData { + // 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. + + public var id: String = String() + + public var name: String = String() + + public var description_p: String = String() + + public var imageURL: String = String() + + public var latDegrees: Double = 0 + + public var lngDegrees: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct AdDetails { + // 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. + + public var imageTextCreative: ImageTextCreativeProto { + get {return _imageTextCreative ?? ImageTextCreativeProto()} + set {_imageTextCreative = newValue} + } + /// Returns true if `imageTextCreative` has been explicitly set. + public var hasImageTextCreative: Bool {return self._imageTextCreative != nil} + /// Clears the value of `imageTextCreative`. Subsequent reads from it will return its default value. + public mutating func clearImageTextCreative() {self._imageTextCreative = nil} + + public var encryptedAdToken: Data = Data() + + public var impressionTrackingTag: [ImpressionTrackingTag] = [] + + public var gamDetails: GamDetails { + get {return _gamDetails ?? GamDetails()} + set {_gamDetails = newValue} + } + /// Returns true if `gamDetails` has been explicitly set. + public var hasGamDetails: Bool {return self._gamDetails != nil} + /// Clears the value of `gamDetails`. Subsequent reads from it will return its default value. + public mutating func clearGamDetails() {self._gamDetails = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _imageTextCreative: ImageTextCreativeProto? = nil + fileprivate var _gamDetails: GamDetails? = nil +} + +public struct AdFeedbackSettingsProto { + // 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. + + public var enabled: Bool = false + + public var enableReportAd: Bool = false + + public var enableNotInterested: Bool = false + + public var enableSeeMore: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct AdProto { + // 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. + + public var adDetails: AdDetails { + get {return _adDetails ?? AdDetails()} + set {_adDetails = newValue} + } + /// Returns true if `adDetails` has been explicitly set. + public var hasAdDetails: Bool {return self._adDetails != nil} + /// Clears the value of `adDetails`. Subsequent reads from it will return its default value. + public mutating func clearAdDetails() {self._adDetails = nil} + + public var adResponseStatus: AdResponseStatus = .wasabiAdFound + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _adDetails: AdDetails? = nil +} + +public struct AdRequestDeviceInfo { + // 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. + + public var operatingSystem: AdRequestDeviceInfo.OperatingSystem = .platformUnknown + + public var deviceModel: String = String() + + public var carrier: String = String() + + public var operatingSystemVersion: String = String() + + public var systemMemorySizeMb: Int32 = 0 + + public var graphicsMemorySizeMb: Int32 = 0 + + public var cameraPermissionGranted: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OperatingSystem: SwiftProtobuf.Enum { + public typealias RawValue = Int + case platformUnknown // = 0 + case platformAndroid // = 1 + case platformIos // = 2 case UNRECOGNIZED(Int) public init() { - self = .requestTypeUnset + self = .platformUnknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .requestTypeUnset - case 2: self = .requestTypeMethodGetPlayer - case 4: self = .requestTypeMethodGetHoloholoInventory - case 5: self = .requestTypeMethodDownloadSettings - case 6: self = .requestTypeMethodDownloadItemTemplates - case 7: self = .requestTypeMethodDownloadRemoteConfigVersion - case 8: self = .requestTypeMethodRegisterBackgroundDevice - case 9: self = .requestTypeMethodGetPlayerDay - case 10: self = .requestTypeMethodAcknowledgePunishment - case 11: self = .requestTypeMethodGetServerTime - case 12: self = .requestTypeMethodGetLocalTime - case 101: self = .requestTypeMethodFortSearch - case 102: self = .requestTypeMethodEncounter - case 103: self = .requestTypeMethodCatchPokemon - case 104: self = .requestTypeMethodFortDetails - case 106: self = .requestTypeMethodGetMapObjects - case 110: self = .requestTypeMethodFortDeployPokemon - case 111: self = .requestTypeMethodFortRecallPokemon - case 112: self = .requestTypeMethodReleasePokemon - case 113: self = .requestTypeMethodUseItemPotion - case 114: self = .requestTypeMethodUseItemCapture - case 115: self = .requestTypeMethodUseItemFlee - case 116: self = .requestTypeMethodUseItemRevive - case 121: self = .requestTypeMethodGetPlayerProfile - case 125: self = .requestTypeMethodEvolvePokemon - case 126: self = .requestTypeMethodGetHatchedEggs - case 127: self = .requestTypeMethodEncounterTutorialComplete - case 128: self = .requestTypeMethodLevelUpRewards - case 129: self = .requestTypeMethodCheckAwardedBadges - case 137: self = .requestTypeMethodRecycleInventoryItem - case 138: self = .requestTypeMethodCollectDailyBonus - case 139: self = .requestTypeMethodUseItemXpBoost - case 140: self = .requestTypeMethodUseItemEggIncubator - case 141: self = .requestTypeMethodUseIncense - case 142: self = .requestTypeMethodGetIncensePokemon - case 143: self = .requestTypeMethodIncenseEncounter - case 144: self = .requestTypeMethodAddFortModifier - case 145: self = .requestTypeMethodDiskEncounter - case 147: self = .requestTypeMethodUpgradePokemon - case 148: self = .requestTypeMethodSetFavoritePokemon - case 149: self = .requestTypeMethodNicknamePokemon - case 150: self = .requestTypeMethodEquipBadge - case 151: self = .requestTypeMethodSetContactSettings - case 152: self = .requestTypeMethodSetBuddyPokemon - case 153: self = .requestTypeMethodGetBuddyWalked - case 154: self = .requestTypeMethodUseItemEncounter - case 155: self = .requestTypeMethodGymDeploy - case 156: self = .requestTypeMethodGymGetInfo - case 157: self = .requestTypeMethodGymStartSession - case 158: self = .requestTypeMethodGymBattleAttack - case 159: self = .requestTypeMethodJoinLobby - case 160: self = .requestTypeMethodLeaveLobby - case 161: self = .requestTypeMethodSetLobbyVisibility - case 162: self = .requestTypeMethodSetLobbyPokemon - case 163: self = .requestTypeMethodGetRaidDetails - case 164: self = .requestTypeMethodGymFeedPokemon - case 165: self = .requestTypeMethodStartRaidBattle - case 166: self = .requestTypeMethodAttackRaid - case 167: self = .requestTypeMethodAwardPokecoin - case 168: self = .requestTypeMethodUseItemStardustBoost - case 169: self = .requestTypeMethodReassignPlayer - case 170: self = .requestTypeMethodRedeemPoiPasscode - case 171: self = .requestTypeMethodConvertCandyToXlCandy - case 172: self = .requestTypeMethodIsSkuAvailable - case 300: self = .requestTypeMethodGetAssetDigest - case 301: self = .requestTypeMethodGetDownloadUrls - case 302: self = .requestTypeMethodGetAssetVersion - case 403: self = .requestTypeMethodClaimCodename - case 404: self = .requestTypeMethodSetAvatar - case 405: self = .requestTypeMethodSetPlayerTeam - case 406: self = .requestTypeMethodMarkTutorialComplete - case 407: self = .requestTypeMethodUpdatePerformanceMetrics - case 408: self = .requestTypeMethodSetNeutralAvatar - case 600: self = .requestTypeMethodCheckChallenge - case 601: self = .requestTypeMethodVerifyChallenge - case 666: self = .requestTypeMethodEcho - case 800: self = .requestTypeMethodSfidaRegistration - case 801: self = .requestTypeMethodSfidaActionLog - case 802: self = .requestTypeMethodSfidaCertification - case 803: self = .requestTypeMethodSfidaUpdate - case 804: self = .requestTypeMethodSfidaAction - case 805: self = .requestTypeMethodSfidaDowser - case 806: self = .requestTypeMethodSfidaCapture - case 807: self = .requestTypeMethodListAvatarCustomizations - case 808: self = .requestTypeMethodSetAvatarItemAsViewed - case 809: self = .requestTypeMethodGetInbox - case 811: self = .requestTypeMethodListGymBadges - case 812: self = .requestTypeMethodGetGymBadgeDetails - case 813: self = .requestTypeMethodUseItemMoveReroll - case 814: self = .requestTypeMethodUseItemRareCandy - case 815: self = .requestTypeMethodAwardFreeRaidTicket - case 816: self = .requestTypeMethodFetchAllNews - case 817: self = .requestTypeMethodMarkReadNewsArticle - case 818: self = .requestTypeMethodGetPlayerDisplayInfo - case 819: self = .requestTypeMethodBelugaTransactionStart - case 820: self = .requestTypeMethodBelugaTransactionComplete - case 822: self = .requestTypeMethodSfidaAssociate - case 823: self = .requestTypeMethodSfidaCheckPairing - case 824: self = .requestTypeMethodSfidaDisassociate - case 825: self = .requestTypeMethodWainaGetRewards - case 826: self = .requestTypeMethodWainaSubmitSleepData - case 827: self = .requestTypeMethodSaturdayTransactionStart - case 828: self = .requestTypeMethodSaturdayTransactionComplete - case 829: self = .requestTypeMethodReimburseItem - case 900: self = .requestTypeMethodGetNewQuests - case 901: self = .requestTypeMethodGetQuestDetails - case 902: self = .requestTypeMethodCompleteQuest - case 903: self = .requestTypeMethodRemoveQuest - case 904: self = .requestTypeMethodQuestEncounter - case 905: self = .requestTypeMethodCompleteQuestStampCard - case 906: self = .requestTypeMethodProgressQuest - case 907: self = .requestTypeMethodStartQuestIncident - case 908: self = .requestTypeMethodReadQuestDialog - case 950: self = .requestTypeMethodSendGift - case 951: self = .requestTypeMethodOpenGift - case 952: self = .requestTypeMethodGiftDetails - case 953: self = .requestTypeMethodDeleteGift - case 954: self = .requestTypeMethodSavePlayerSnapshot - case 955: self = .requestTypeMethodGetFriendshipMilestoneRewards - case 956: self = .requestTypeMethodCheckSendGift - case 957: self = .requestTypeMethodSetFriendNickname - case 958: self = .requestTypeMethodDeleteGiftFromInventory - case 959: self = .requestTypeMethodSaveSocialPlayerSettings - case 960: self = .requestTypeMethodShareExRaidPass - case 961: self = .requestTypeMethodCheckShareExRaidPass - case 962: self = .requestTypeMethodDeclineSharedExRaidPass - case 970: self = .requestTypeMethodOpenTrading - case 971: self = .requestTypeMethodUpdateTrading - case 972: self = .requestTypeMethodConfirmTrading - case 973: self = .requestTypeMethodCancelTrading - case 974: self = .requestTypeMethodGetTrading - case 980: self = .requestTypeMethodGetFitnessRewards - case 990: self = .requestTypeMethodGetCombatPlayerProfile - case 991: self = .requestTypeMethodGenerateCombatChallengeID - case 992: self = .requestTypeMethodCreateCombatChallenge - case 993: self = .requestTypeMethodOpenCombatChallenge - case 994: self = .requestTypeMethodGetCombatChallenge - case 995: self = .requestTypeMethodAcceptCombatChallenge - case 996: self = .requestTypeMethodDeclineCombatChallenge - case 997: self = .requestTypeMethodCancelCombatChallenge - case 998: self = .requestTypeMethodSubmitCombatChallengePokemons - case 999: self = .requestTypeMethodSaveCombatPlayerPreferences - case 1000: self = .requestTypeMethodOpenCombatSession - case 1001: self = .requestTypeMethodUpdateCombat - case 1002: self = .requestTypeMethodQuitCombat - case 1003: self = .requestTypeMethodGetCombatResults - case 1004: self = .requestTypeMethodUnlockSpecialMove - case 1005: self = .requestTypeMethodGetNpcCombatRewards - case 1006: self = .requestTypeMethodCombatFriendRequest - case 1007: self = .requestTypeMethodOpenNpcCombatSession - case 1008: self = .requestTypeMethodStartTutorialAction - case 1009: self = .requestTypeMethodGetTutorialEggAction - case 1020: self = .requestTypeMethodSendProbe - case 1021: self = .requestTypeMethodProbeData - case 1022: self = .requestTypeMethodCombatData - case 1023: self = .requestTypeMethodCombatChallengeData - case 1101: self = .requestTypeMethodCheckPhotobomb - case 1102: self = .requestTypeMethodConfirmPhotobomb - case 1103: self = .requestTypeMethodGetPhotobomb - case 1104: self = .requestTypeMethodEncounterPhotobomb - case 1105: self = .requestTypeMethodGetSignedGmapURLDeprecated - case 1106: self = .requestTypeMethodChangeTeam - case 1107: self = .requestTypeMethodGetWebToken - case 1110: self = .requestTypeMethodCompleteSnapshotSession - case 1111: self = .requestTypeMethodCompleteWildSnapshotSession - case 1200: self = .requestTypeMethodStartIncident - case 1201: self = .requestTypeMethodInvasionCompleteDialogue - case 1202: self = .requestTypeMethodInvasionOpenCombatSession - case 1203: self = .requestTypeMethodInvasionBattleUpdate - case 1204: self = .requestTypeMethodInvasionEncounter - case 1205: self = .requestTypeMethodPurifyPokemon - case 1206: self = .requestTypeMethodGetRocketBalloon - case 1207: self = .requestTypeMethodStartRocketBalloonIncident - case 1300: self = .requestTypeMethodVsSeekerStartMatchmaking - case 1301: self = .requestTypeMethodCancelMatchmaking - case 1302: self = .requestTypeMethodGetMatchmakingStatus - case 1303: self = .requestTypeMethodCompleteVsSeekerAndRestartCharging - case 1304: self = .requestTypeMethodGetVsSeekerStatus - case 1305: self = .requestTypeMethodCompleteCombatCompetitiveSeasonAction - case 1306: self = .requestTypeMethodClaimVsSeekerRewards - case 1307: self = .requestTypeMethodVsSeekerRewardEncounter - case 1308: self = .requestTypeMethodActivateVsSeeker - case 1350: self = .requestTypeMethodGetBuddyMap - case 1351: self = .requestTypeMethodGetBuddyStats - case 1352: self = .requestTypeMethodFeedBuddy - case 1353: self = .requestTypeMethodOpenBuddyGift - case 1354: self = .requestTypeMethodPetBuddy - case 1355: self = .requestTypeMethodGetBuddyHistory - case 1400: self = .requestTypeMethodUpdateRouteDraft - case 1401: self = .requestTypeMethodGetMapForts - case 1402: self = .requestTypeMethodSubmitRouteDraft - case 1403: self = .requestTypeMethodGetPublishedRoutes - case 1404: self = .requestTypeMethodStartRoute - case 1405: self = .requestTypeMethodGetRoutes - case 1406: self = .requestTypeMethodProgressRoute - case 1408: self = .requestTypeMethodProcessTappable - case 1409: self = .requestTypeMethodListRouteBadges - case 1410: self = .requestTypeMethodCancelRoute - case 1411: self = .requestTypeMethodListRouteStamps - case 1412: self = .requestTypeMethodRateRoute - case 1413: self = .requestTypeMethodCreateRouteDraft - case 1414: self = .requestTypeMethodDeleteRouteDraft - case 1415: self = .requestTypeMethodReportRoute - case 1416: self = .requestTypeMethodSpawnTappable - case 1417: self = .requestTypeMethodRouteEncounter - case 1418: self = .requestTypeMethodCanReportRoute - case 1420: self = .requestTypeMethodRouteUptateSeen - case 1456: self = .requestTypeMethodCreateBuddyMutliplayerSession - case 1457: self = .requestTypeMethodJoinBuddyMultiplayerSession - case 1458: self = .requestTypeMethodLeaveBuddyMultiplayerSession - case 1501: self = .requestTypeMethodGetTodayView - case 1502: self = .requestTypeMethodMegaEvolvePokemon - case 1503: self = .requestTypeMethodRemoteGiftPing - case 1504: self = .requestTypeMethodSendRaidInvitation - case 1601: self = .requestTypeMethodGetDailyEncounter - case 1602: self = .requestTypeMethodDailyEncounter - case 1650: self = .requestTypeMethodOpenSponsoredGift - case 1651: self = .requestTypeMethodSponsoredGiftReportInteraction - case 1652: self = .requestTypeMethodSavePlayerPreferences - case 1653: self = .requestTypeMethodProfanityCheck - case 1700: self = .requestTypeMethodGetTimedGroupChallenge - case 1710: self = .requestTypeMethodGetNintendoAccount - case 1711: self = .requestTypeMethodUnlinkNintendoAccount - case 1712: self = .requestTypeMethodGetNintendoOauth2URL - case 1713: self = .requestTypeMethodTransferToPokemonHome - case 1716: self = .requestTypeMethodReportAdFeedback - case 1717: self = .requestTypeMethodCreatePokemonTag - case 1718: self = .requestTypeMethodDeletePokemonTag - case 1719: self = .requestTypeMethodEditPokemonTag - case 1720: self = .requestTypeMethodSetPokemonTagsForPokemon - case 1721: self = .requestTypeMethodGetPokemonTags - case 1722: self = .requestTypeMethodChangePokemonForm - case 1723: self = .requestTypeMethodChooseEventVariant - case 1724: self = .requestTypeMethodButterflyCollectorRewardEncounter - case 1800: self = .requestTypeMethodGetReferralCode - case 1801: self = .requestTypeMethodAddReferrer - case 1802: self = .requestTypeMethodSendFriendInviteViaReferralCode - case 1803: self = .requestTypeMethodGetMilestones - case 1804: self = .requestTypeMethodMarkMilestonesAsViewed - case 1805: self = .requestTypeMethodGetMilestonesPreview - case 1806: self = .requestTypeMethodCompleteMilestone - case 1820: self = .requestTypeMethodGetGeofencedAd - case 1900: self = .requestTypeMethodPowerUpPokestopEncounter - case 1909: self = .requestTypeMethodDeletePostcards - case 1910: self = .requestTypeMethodCreatePostcard - case 1911: self = .requestTypeMethodUpdatePostcard - case 1912: self = .requestTypeMethodDeletePostcard - case 1913: self = .requestTypeMethodGetMementoList - case 1914: self = .requestTypeMethodUploadRaidClientLog - case 1915: self = .requestTypeMethodSkipEnterReferralCode - case 1916: self = .requestTypeMethodUploadCombatClientLog - case 1917: self = .requestTypeMethodCombatSyncServerOffset - case 2000: self = .requestTypeMethodCheckGiftingEligibility - case 2001: self = .requestTypeMethodRedeemTicketGiftForFriend - case 2002: self = .requestTypeMethodGetIncenseRecap - case 2003: self = .requestTypeMethodAcknowledgeIncenseRecap - case 2004: self = .requestTypeMethodBootRaid - case 2005: self = .requestTypeMethodGetPokestopEncounter - case 2006: self = .requestTypeMethodEncounterPokestopEncounter - case 2007: self = .requestTypeMethodPollPlayerSpawnablePokemon - case 2008: self = .requestTypeMethodGetQuestUi - case 2009: self = .requestTypeMethodGetEligibleCombatLeagues - case 2010: self = .requestTypeMethodSendFriendRequestViaPlayerIds - case 2011: self = .requestTypeMethodGetRaidLobbyCounter - case 2100: self = .requestTypeMethodCheckPokemonSizeContestEligibility - case 2101: self = .requestTypeMethodUpdatePokemonSizeContestEntry - case 2102: self = .requestTypeMethodTransferPokemonSizeContestEntry - case 2103: self = .requestTypeMethodRemovePokemonSizeContestEntry - case 2104: self = .requestTypeMethodGetPokemonSizeContestEntry - case 2105: self = .requestTypeMethodGetContestData - case 2106: self = .requestTypeMethodGetContestsUnclaimedRewards - case 2107: self = .requestTypeMethodClaimContestsRewards - case 2108: self = .requestTypeMethodGetEnteredContest - case 2109: self = .requestTypeMethodGetPokemonSizeContestFriendEntry - case 2150: self = .requestTypeMethodCheckContestEligibility - case 2151: self = .requestTypeMethodUpdateContestEntry - case 2152: self = .requestTypeMethodTransferContestEntry - case 2153: self = .requestTypeMethodGetContestFriendEntry - case 2154: self = .requestTypeMethodGetContestEntry - case 2300: self = .requestTypeMethodCreateParty - case 2301: self = .requestTypeMethodJoinParty - case 2302: self = .requestTypeMethodStartParty - case 2303: self = .requestTypeMethodLeaveParty - case 2304: self = .requestTypeMethodGetParty - case 2305: self = .requestTypeMethodUpdatePartyLocation - case 2306: self = .requestTypeMethodSendPartyDarkLaunchLog - case 2308: self = .requestTypeMethodStartPartyQuest - case 2350: self = .requestTypeMethodGetBonusAttractedPokemon - case 3000: self = .requestTypeMethodGetVpsEvents - case 3001: self = .requestTypeMethodUpdateVpsEvents - case 5000: self = .requestTypeClientActionRegisterPushNotification - case 5001: self = .requestTypeClientActionUnregisterPushNotification - case 5002: self = .requestTypeClientActionUpdateNotificationStatus - case 5003: self = .requestTypeClientActionOptOutPushNotificationCategory - case 5004: self = .requestTypeClientActionDownloadGameMasterTemplates - case 5005: self = .requestTypeClientActionGetInventory - case 5006: self = .requestTypeClientActionRedeemPasscode - case 5007: self = .requestTypeClientActionPing - case 5008: self = .requestTypeClientActionAddLoginAction - case 5009: self = .requestTypeClientActionRemoveLoginAction - case 5010: self = .requestTypeClientActionListLoginAction - case 5011: self = .requestTypeClientActionAddNewPoi - case 5012: self = .requestTypeClientActionProxySocialAction - case 5013: self = .requestTypeClientActionDeprecatedClientTelemetry - case 5014: self = .requestTypeClientActionGetAvailableSubmissions - case 5015: self = .requestTypeClientActionGetSignedURLForPhotoUpload - case 5016: self = .requestTypeClientActionReplaceLoginAction - case 5017: self = .requestTypeClientActionProxySocialSideChannelAction - case 5018: self = .requestTypeClientActionCollectClientTelemetry - case 5019: self = .requestTypeClientActionPurchaseSku - case 5020: self = .requestTypeClientActionGetAvailableSkusAndBalances - case 5021: self = .requestTypeClientActionRedeemGoogleReceipt - case 5022: self = .requestTypeClientActionRedeemAppleReceipt - case 5023: self = .requestTypeClientActionRedeemDesktopReceipt - case 5024: self = .requestTypeClientActionUpdateFitnessMetrics - case 5025: self = .requestTypeClientActionGetFitnessReport - case 5026: self = .requestTypeClientActionGetClientTelemetrySettings - case 5027: self = .requestTypeClientActionPingAsync - case 5028: self = .requestTypeClientActionRegisterBackgroundService - case 5029: self = .requestTypeClientActionGetClientBgmodeSettings - case 5030: self = .requestTypeClientActionPingDownstream - case 5032: self = .requestTypeClientActionSetInGameCurrencyExchangeRate - case 5033: self = .requestTypeClientActionRequestGeofenceUpdates - case 5034: self = .requestTypeClientActionUpdatePlayerLocation - case 5035: self = .requestTypeClientActionGenerateGmapSignedURL - case 5036: self = .requestTypeClientActionGetGmapSettings - case 5037: self = .requestTypeClientActionRedeemSamsungReceipt - case 5038: self = .requestTypeClientActionAddNewRoute - case 5039: self = .requestTypeClientActionGetOutstandingWarnings - case 5040: self = .requestTypeClientActionAcknowledgeWarnings - case 5041: self = .requestTypeClientActionSubmitPoiImage - case 5042: self = .requestTypeClientActionSubmitPoiTextMetadataUpdate - case 5043: self = .requestTypeClientActionSubmitPoiLocationUpdate - case 5044: self = .requestTypeClientActionSubmitPoiTakedownRequest - case 5045: self = .requestTypeClientActionGetWebTokenAction - case 5046: self = .requestTypeClientActionGetAdventureSyncSettings - case 5047: self = .requestTypeClientActionUpdateAdventureSyncSettings - case 5048: self = .requestTypeClientActionSetBirthday - case 5049: self = .requestTypeClientActionFetchNewsfeedAction - case 5050: self = .requestTypeClientActionMarkNewsfeedReadAction - case 10000: self = .requestTypeSocialActionSearchPlayer - case 10002: self = .requestTypeSocialActionSendFriendInvite - case 10003: self = .requestTypeSocialActionCancelFriendInvite - case 10004: self = .requestTypeSocialActionAcceptFriendInvite - case 10005: self = .requestTypeSocialActionDeclineFriendInvite - case 10006: self = .requestTypeSocialActionListFriends - case 10007: self = .requestTypeSocialActionListOutgoingFriendInvites - case 10008: self = .requestTypeSocialActionListIncomingFriendInvites - case 10009: self = .requestTypeSocialActionRemoveFriend - case 10010: self = .requestTypeSocialActionListFriendStatus - case 10011: self = .requestTypeSocialActionSendFacebookFriendInvite - case 10012: self = .requestTypeSocialActionIsMyFriend - case 10013: self = .requestTypeSocialActionCreateInviteCode - case 10014: self = .requestTypeSocialActionGetFacebookFriendList - case 10015: self = .requestTypeSocialActionUpdateFacebookStatus - case 10016: self = .requestTypeSocialActionSavePlayerSettings - case 10017: self = .requestTypeSocialActionGetPlayerSettings - case 10018: self = .requestTypeSocialActionGetNianticFriendListDeleted - case 10019: self = .requestTypeSocialActionGetNianticFriendDetailsDeleted - case 10020: self = .requestTypeSocialActionSendNianticFriendInviteDeleted - case 10021: self = .requestTypeSocialActionSetAccountSettings - case 10022: self = .requestTypeSocialActionGetAccountSettings - case 10023: self = .requestTypeSocialActionAddFavoriteFriend - case 10024: self = .requestTypeSocialActionRemoveFavoriteFriend - case 10025: self = .requestTypeSocialActionBlockAccount - case 10026: self = .requestTypeSocialActionUnblockAccount - case 10027: self = .requestTypeSocialActionGetOutgingBlocks - case 10028: self = .requestTypeSocialActionIsAccountBlocked - case 10101: self = .requestTypeSocialActionRegisterPushNotification - case 10102: self = .requestTypeSocialActionUnregisterPushNotification - case 10103: self = .requestTypeSocialActionUpdateNotification - case 10104: self = .requestTypeSocialActionOptOutPushNotificationCategory - case 10105: self = .requestTypeSocialActionGetInbox - case 10201: self = .requestTypeSocialActionGetSignedURL - case 10202: self = .requestTypeSocialActionSubmitImage - case 10203: self = .requestTypeSocialActionGetPhotos - case 10204: self = .requestTypeSocialActionDeletePhoto - case 10205: self = .requestTypeSocialActionFlagPhoto - case 20001: self = .requestTypeSocialActionUpdateProfileV2 - case 20002: self = .requestTypeSocialActionUpdateFriendshipV2 - case 20003: self = .requestTypeSocialActionGetProfileV2 - case 20004: self = .requestTypeSocialActionInviteGameV2 - case 20005: self = .requestTypeSocialActionReservedAction2 - case 20006: self = .requestTypeSocialActionListFriendsV2 - case 20007: self = .requestTypeSocialActionGetFriendDetailsV2 - case 20008: self = .requestTypeSocialActionGetClientFeatureFlagsV2 - case 20009: self = .requestTypeSocialActionReservedAction1 - case 20010: self = .requestTypeSocialActionGetIncomingGameInvitesV2 - case 20011: self = .requestTypeSocialActionUpdateIncomingGameInviteV2 - case 20012: self = .requestTypeSocialActionDismissOutgoingGameInvitesV2 - case 20013: self = .requestTypeSocialActionSyncContactListV2 - case 20014: self = .requestTypeSocialActionSendContactListFriendInviteV2 - case 20015: self = .requestTypeSocialActionReferContactListFriendV2 - case 20016: self = .requestTypeSocialActionGetContactListInfoV2 - case 20017: self = .requestTypeSocialActionDismissContactListUpdateV2 - case 20018: self = .requestTypeSocialActionNotifyContactListFriendsV2 - case 20019: self = .requestTypeSocialActionReservedAction6 - case 20020: self = .requestTypeSocialActionReservedAction7 - case 20400: self = .requestTypeSocialActionReservedAction3 - case 20401: self = .requestTypeSocialActionReservedAction4 - case 20402: self = .requestTypeSocialActionReservedAction5 - case 20500: self = .requestTypeSocialActionGetFriendRecommendation - case 230000: self = .requestTypeGameActionClientRegisterBackgroundService - case 230001: self = .requestTypeGameActionClientGetClientBgmodeSettings - case 230002: self = .requestTypeGameActionClientGetAdventureSyncProgress - case 310000: self = .requestTypeGamePurchaseSku - case 310001: self = .requestTypeGameGetAvailableSkusAndBalances - case 310002: self = .requestTypeGameSetInGameCurrencyExchangeRate - case 310100: self = .requestTypeGameRedeemGoogleReceipt - case 310101: self = .requestTypeGameRedeemAppleReceipt - case 310102: self = .requestTypeGameRedeemDesktopReceipt - case 310103: self = .requestTypeGameRedeemSamsungReceipt - case 310200: self = .requestTypeGameGetAvailableSubscriptions - case 310201: self = .requestTypeGameGetActiveSubscriptions - case 360000: self = .requestTypeRequestGeofenceUpdates1 - case 360001: self = .requestTypeUpdatePlayerLocation1 - case 361000: self = .requestTypeUpdateBreadcrumbHistory - case 362000: self = .requestTypeRefreshProximityTokens - case 362001: self = .requestTypeReportProximityContacts - case 600005: self = .requestTypeGetGameAccessToken - case 620000: self = .requestTypePlayerSubmissionActionAddNewPoi - case 620001: self = .requestTypePlayerSubmissionActionGetAvailableSubmissions - case 620002: self = .requestTypePlayerSubmissionActionGetSignedURLForPhotoUpload - case 620003: self = .requestTypePlayerSubmissionActionGetPlayerSubmissionValidationSettings - case 620004: self = .requestTypePlayerSubmissionActionD2DAddNewPoi - case 620005: self = .requestTypePlayerSubmissionActionD2DGetSignedURLForPhotoUpload - case 620100: self = .requestTypePlayerSubmissionActionSubmitPoiImage - case 620101: self = .requestTypePlayerSubmissionActionSubmitPoiTextMetadataUpdate - case 620102: self = .requestTypePlayerSubmissionActionSubmitPoiLocationUpdate - case 620103: self = .requestTypePlayerSubmissionActionSubmitPoiTakedownRequest - case 620104: self = .requestTypePlayerSubmissionActionSubmitSponsorPoiReport - case 620105: self = .requestTypePlayerSubmissionActionSubmitSponsorPoiLocationUpdate - case 620106: self = .requestTypePlayerSubmissionActionSubmitPoiCategoryVote - case 620107: self = .requestTypePlayerSubmissionActionD2DSubmitPoiImage - case 620108: self = .requestTypePlayerSubmissionActionD2DSubmitPoiTextMetadataUpdate - case 620109: self = .requestTypePlayerSubmissionActionD2DSubmitPoiLocationUpdate - case 620110: self = .requestTypePlayerSubmissionActionD2DSubmitPoiTakedownRequest - case 620200: self = .requestTypePlayerSubmissionActionAddNewRoute - case 620300: self = .requestTypePlayerSubmissionActionGenerateGmapSignedURL - case 620301: self = .requestTypePlayerSubmissionActionGetGmapSettings - case 620400: self = .requestTypePlayerSubmissionActionSubmitPoiArVideoMetadata - case 620401: self = .requestTypePlayerSubmissionActionGetGrapeshotFileUploadURL - case 620402: self = .requestTypePlayerSubmissionActionAsyncFileUploadComplete - case 620403: self = .requestTypePlayerSubmissionActionGetArMappingSettings - case 620404: self = .requestTypePlayerSubmissionActionD2DSubmitPoiArVideoMetadata - case 620405: self = .requestTypePlayerSubmissionActionD2DGetGrapeshotFileUploadURL - case 620406: self = .requestTypePlayerSubmissionActionD2DAsyncFileUploadComplete - case 620407: self = .requestTypePlayerSubmissionActionSubmitMappingRequest - case 620408: self = .requestTypePlayerSubmissionActionD2DSubmitMappingRequest - case 620500: self = .requestTypePlayerSubmissionActionGetImagesForPoi - case 620501: self = .requestTypePlayerSubmissionActionSubmitPlayerImageVoteForPoi - case 620502: self = .requestTypePlayerSubmissionActionGetImageGallerySettings - case 620600: self = .requestTypePlayerSubmissionActionGetMapData - case 620601: self = .requestTypePlayerSubmissionActionGetPoisInRadius - case 640000: self = .requestTypeUpdateFitnessMetrics1 - case 640001: self = .requestTypeGetFitnessReport1 - case 640002: self = .requestTypeGetAdventureSyncSettings1 - case 640003: self = .requestTypeUpdateAdventureSyncSettings1 - case 640004: self = .requestTypeUpdateAdventureSyncFitness - case 640005: self = .requestTypeGetAdventureSyncFitnessReport + case 0: self = .platformUnknown + case 1: self = .platformAndroid + case 2: self = .platformIos default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .requestTypeUnset: return 0 - case .requestTypeMethodGetPlayer: return 2 - case .requestTypeMethodGetHoloholoInventory: return 4 - case .requestTypeMethodDownloadSettings: return 5 - case .requestTypeMethodDownloadItemTemplates: return 6 - case .requestTypeMethodDownloadRemoteConfigVersion: return 7 - case .requestTypeMethodRegisterBackgroundDevice: return 8 - case .requestTypeMethodGetPlayerDay: return 9 - case .requestTypeMethodAcknowledgePunishment: return 10 - case .requestTypeMethodGetServerTime: return 11 - case .requestTypeMethodGetLocalTime: return 12 - case .requestTypeMethodFortSearch: return 101 - case .requestTypeMethodEncounter: return 102 - case .requestTypeMethodCatchPokemon: return 103 - case .requestTypeMethodFortDetails: return 104 - case .requestTypeMethodGetMapObjects: return 106 - case .requestTypeMethodFortDeployPokemon: return 110 - case .requestTypeMethodFortRecallPokemon: return 111 - case .requestTypeMethodReleasePokemon: return 112 - case .requestTypeMethodUseItemPotion: return 113 - case .requestTypeMethodUseItemCapture: return 114 - case .requestTypeMethodUseItemFlee: return 115 - case .requestTypeMethodUseItemRevive: return 116 - case .requestTypeMethodGetPlayerProfile: return 121 - case .requestTypeMethodEvolvePokemon: return 125 - case .requestTypeMethodGetHatchedEggs: return 126 - case .requestTypeMethodEncounterTutorialComplete: return 127 - case .requestTypeMethodLevelUpRewards: return 128 - case .requestTypeMethodCheckAwardedBadges: return 129 - case .requestTypeMethodRecycleInventoryItem: return 137 - case .requestTypeMethodCollectDailyBonus: return 138 - case .requestTypeMethodUseItemXpBoost: return 139 - case .requestTypeMethodUseItemEggIncubator: return 140 - case .requestTypeMethodUseIncense: return 141 - case .requestTypeMethodGetIncensePokemon: return 142 - case .requestTypeMethodIncenseEncounter: return 143 - case .requestTypeMethodAddFortModifier: return 144 - case .requestTypeMethodDiskEncounter: return 145 - case .requestTypeMethodUpgradePokemon: return 147 - case .requestTypeMethodSetFavoritePokemon: return 148 - case .requestTypeMethodNicknamePokemon: return 149 - case .requestTypeMethodEquipBadge: return 150 - case .requestTypeMethodSetContactSettings: return 151 - case .requestTypeMethodSetBuddyPokemon: return 152 - case .requestTypeMethodGetBuddyWalked: return 153 - case .requestTypeMethodUseItemEncounter: return 154 - case .requestTypeMethodGymDeploy: return 155 - case .requestTypeMethodGymGetInfo: return 156 - case .requestTypeMethodGymStartSession: return 157 - case .requestTypeMethodGymBattleAttack: return 158 - case .requestTypeMethodJoinLobby: return 159 - case .requestTypeMethodLeaveLobby: return 160 - case .requestTypeMethodSetLobbyVisibility: return 161 - case .requestTypeMethodSetLobbyPokemon: return 162 - case .requestTypeMethodGetRaidDetails: return 163 - case .requestTypeMethodGymFeedPokemon: return 164 - case .requestTypeMethodStartRaidBattle: return 165 - case .requestTypeMethodAttackRaid: return 166 - case .requestTypeMethodAwardPokecoin: return 167 - case .requestTypeMethodUseItemStardustBoost: return 168 - case .requestTypeMethodReassignPlayer: return 169 - case .requestTypeMethodRedeemPoiPasscode: return 170 - case .requestTypeMethodConvertCandyToXlCandy: return 171 - case .requestTypeMethodIsSkuAvailable: return 172 - case .requestTypeMethodGetAssetDigest: return 300 - case .requestTypeMethodGetDownloadUrls: return 301 - case .requestTypeMethodGetAssetVersion: return 302 - case .requestTypeMethodClaimCodename: return 403 - case .requestTypeMethodSetAvatar: return 404 - case .requestTypeMethodSetPlayerTeam: return 405 - case .requestTypeMethodMarkTutorialComplete: return 406 - case .requestTypeMethodUpdatePerformanceMetrics: return 407 - case .requestTypeMethodSetNeutralAvatar: return 408 - case .requestTypeMethodCheckChallenge: return 600 - case .requestTypeMethodVerifyChallenge: return 601 - case .requestTypeMethodEcho: return 666 - case .requestTypeMethodSfidaRegistration: return 800 - case .requestTypeMethodSfidaActionLog: return 801 - case .requestTypeMethodSfidaCertification: return 802 - case .requestTypeMethodSfidaUpdate: return 803 - case .requestTypeMethodSfidaAction: return 804 - case .requestTypeMethodSfidaDowser: return 805 - case .requestTypeMethodSfidaCapture: return 806 - case .requestTypeMethodListAvatarCustomizations: return 807 - case .requestTypeMethodSetAvatarItemAsViewed: return 808 - case .requestTypeMethodGetInbox: return 809 - case .requestTypeMethodListGymBadges: return 811 - case .requestTypeMethodGetGymBadgeDetails: return 812 - case .requestTypeMethodUseItemMoveReroll: return 813 - case .requestTypeMethodUseItemRareCandy: return 814 - case .requestTypeMethodAwardFreeRaidTicket: return 815 - case .requestTypeMethodFetchAllNews: return 816 - case .requestTypeMethodMarkReadNewsArticle: return 817 - case .requestTypeMethodGetPlayerDisplayInfo: return 818 - case .requestTypeMethodBelugaTransactionStart: return 819 - case .requestTypeMethodBelugaTransactionComplete: return 820 - case .requestTypeMethodSfidaAssociate: return 822 - case .requestTypeMethodSfidaCheckPairing: return 823 - case .requestTypeMethodSfidaDisassociate: return 824 - case .requestTypeMethodWainaGetRewards: return 825 - case .requestTypeMethodWainaSubmitSleepData: return 826 - case .requestTypeMethodSaturdayTransactionStart: return 827 - case .requestTypeMethodSaturdayTransactionComplete: return 828 - case .requestTypeMethodReimburseItem: return 829 - case .requestTypeMethodGetNewQuests: return 900 - case .requestTypeMethodGetQuestDetails: return 901 - case .requestTypeMethodCompleteQuest: return 902 - case .requestTypeMethodRemoveQuest: return 903 - case .requestTypeMethodQuestEncounter: return 904 - case .requestTypeMethodCompleteQuestStampCard: return 905 - case .requestTypeMethodProgressQuest: return 906 - case .requestTypeMethodStartQuestIncident: return 907 - case .requestTypeMethodReadQuestDialog: return 908 - case .requestTypeMethodSendGift: return 950 - case .requestTypeMethodOpenGift: return 951 - case .requestTypeMethodGiftDetails: return 952 - case .requestTypeMethodDeleteGift: return 953 - case .requestTypeMethodSavePlayerSnapshot: return 954 - case .requestTypeMethodGetFriendshipMilestoneRewards: return 955 - case .requestTypeMethodCheckSendGift: return 956 - case .requestTypeMethodSetFriendNickname: return 957 - case .requestTypeMethodDeleteGiftFromInventory: return 958 - case .requestTypeMethodSaveSocialPlayerSettings: return 959 - case .requestTypeMethodShareExRaidPass: return 960 - case .requestTypeMethodCheckShareExRaidPass: return 961 - case .requestTypeMethodDeclineSharedExRaidPass: return 962 - case .requestTypeMethodOpenTrading: return 970 - case .requestTypeMethodUpdateTrading: return 971 - case .requestTypeMethodConfirmTrading: return 972 - case .requestTypeMethodCancelTrading: return 973 - case .requestTypeMethodGetTrading: return 974 - case .requestTypeMethodGetFitnessRewards: return 980 - case .requestTypeMethodGetCombatPlayerProfile: return 990 - case .requestTypeMethodGenerateCombatChallengeID: return 991 - case .requestTypeMethodCreateCombatChallenge: return 992 - case .requestTypeMethodOpenCombatChallenge: return 993 - case .requestTypeMethodGetCombatChallenge: return 994 - case .requestTypeMethodAcceptCombatChallenge: return 995 - case .requestTypeMethodDeclineCombatChallenge: return 996 - case .requestTypeMethodCancelCombatChallenge: return 997 - case .requestTypeMethodSubmitCombatChallengePokemons: return 998 - case .requestTypeMethodSaveCombatPlayerPreferences: return 999 - case .requestTypeMethodOpenCombatSession: return 1000 - case .requestTypeMethodUpdateCombat: return 1001 - case .requestTypeMethodQuitCombat: return 1002 - case .requestTypeMethodGetCombatResults: return 1003 - case .requestTypeMethodUnlockSpecialMove: return 1004 - case .requestTypeMethodGetNpcCombatRewards: return 1005 - case .requestTypeMethodCombatFriendRequest: return 1006 - case .requestTypeMethodOpenNpcCombatSession: return 1007 - case .requestTypeMethodStartTutorialAction: return 1008 - case .requestTypeMethodGetTutorialEggAction: return 1009 - case .requestTypeMethodSendProbe: return 1020 - case .requestTypeMethodProbeData: return 1021 - case .requestTypeMethodCombatData: return 1022 - case .requestTypeMethodCombatChallengeData: return 1023 - case .requestTypeMethodCheckPhotobomb: return 1101 - case .requestTypeMethodConfirmPhotobomb: return 1102 - case .requestTypeMethodGetPhotobomb: return 1103 - case .requestTypeMethodEncounterPhotobomb: return 1104 - case .requestTypeMethodGetSignedGmapURLDeprecated: return 1105 - case .requestTypeMethodChangeTeam: return 1106 - case .requestTypeMethodGetWebToken: return 1107 - case .requestTypeMethodCompleteSnapshotSession: return 1110 - case .requestTypeMethodCompleteWildSnapshotSession: return 1111 - case .requestTypeMethodStartIncident: return 1200 - case .requestTypeMethodInvasionCompleteDialogue: return 1201 - case .requestTypeMethodInvasionOpenCombatSession: return 1202 - case .requestTypeMethodInvasionBattleUpdate: return 1203 - case .requestTypeMethodInvasionEncounter: return 1204 - case .requestTypeMethodPurifyPokemon: return 1205 - case .requestTypeMethodGetRocketBalloon: return 1206 - case .requestTypeMethodStartRocketBalloonIncident: return 1207 - case .requestTypeMethodVsSeekerStartMatchmaking: return 1300 - case .requestTypeMethodCancelMatchmaking: return 1301 - case .requestTypeMethodGetMatchmakingStatus: return 1302 - case .requestTypeMethodCompleteVsSeekerAndRestartCharging: return 1303 - case .requestTypeMethodGetVsSeekerStatus: return 1304 - case .requestTypeMethodCompleteCombatCompetitiveSeasonAction: return 1305 - case .requestTypeMethodClaimVsSeekerRewards: return 1306 - case .requestTypeMethodVsSeekerRewardEncounter: return 1307 - case .requestTypeMethodActivateVsSeeker: return 1308 - case .requestTypeMethodGetBuddyMap: return 1350 - case .requestTypeMethodGetBuddyStats: return 1351 - case .requestTypeMethodFeedBuddy: return 1352 - case .requestTypeMethodOpenBuddyGift: return 1353 - case .requestTypeMethodPetBuddy: return 1354 - case .requestTypeMethodGetBuddyHistory: return 1355 - case .requestTypeMethodUpdateRouteDraft: return 1400 - case .requestTypeMethodGetMapForts: return 1401 - case .requestTypeMethodSubmitRouteDraft: return 1402 - case .requestTypeMethodGetPublishedRoutes: return 1403 - case .requestTypeMethodStartRoute: return 1404 - case .requestTypeMethodGetRoutes: return 1405 - case .requestTypeMethodProgressRoute: return 1406 - case .requestTypeMethodProcessTappable: return 1408 - case .requestTypeMethodListRouteBadges: return 1409 - case .requestTypeMethodCancelRoute: return 1410 - case .requestTypeMethodListRouteStamps: return 1411 - case .requestTypeMethodRateRoute: return 1412 - case .requestTypeMethodCreateRouteDraft: return 1413 - case .requestTypeMethodDeleteRouteDraft: return 1414 - case .requestTypeMethodReportRoute: return 1415 - case .requestTypeMethodSpawnTappable: return 1416 - case .requestTypeMethodRouteEncounter: return 1417 - case .requestTypeMethodCanReportRoute: return 1418 - case .requestTypeMethodRouteUptateSeen: return 1420 - case .requestTypeMethodCreateBuddyMutliplayerSession: return 1456 - case .requestTypeMethodJoinBuddyMultiplayerSession: return 1457 - case .requestTypeMethodLeaveBuddyMultiplayerSession: return 1458 - case .requestTypeMethodGetTodayView: return 1501 - case .requestTypeMethodMegaEvolvePokemon: return 1502 - case .requestTypeMethodRemoteGiftPing: return 1503 - case .requestTypeMethodSendRaidInvitation: return 1504 - case .requestTypeMethodGetDailyEncounter: return 1601 - case .requestTypeMethodDailyEncounter: return 1602 - case .requestTypeMethodOpenSponsoredGift: return 1650 - case .requestTypeMethodSponsoredGiftReportInteraction: return 1651 - case .requestTypeMethodSavePlayerPreferences: return 1652 - case .requestTypeMethodProfanityCheck: return 1653 - case .requestTypeMethodGetTimedGroupChallenge: return 1700 - case .requestTypeMethodGetNintendoAccount: return 1710 - case .requestTypeMethodUnlinkNintendoAccount: return 1711 - case .requestTypeMethodGetNintendoOauth2URL: return 1712 - case .requestTypeMethodTransferToPokemonHome: return 1713 - case .requestTypeMethodReportAdFeedback: return 1716 - case .requestTypeMethodCreatePokemonTag: return 1717 - case .requestTypeMethodDeletePokemonTag: return 1718 - case .requestTypeMethodEditPokemonTag: return 1719 - case .requestTypeMethodSetPokemonTagsForPokemon: return 1720 - case .requestTypeMethodGetPokemonTags: return 1721 - case .requestTypeMethodChangePokemonForm: return 1722 - case .requestTypeMethodChooseEventVariant: return 1723 - case .requestTypeMethodButterflyCollectorRewardEncounter: return 1724 - case .requestTypeMethodGetReferralCode: return 1800 - case .requestTypeMethodAddReferrer: return 1801 - case .requestTypeMethodSendFriendInviteViaReferralCode: return 1802 - case .requestTypeMethodGetMilestones: return 1803 - case .requestTypeMethodMarkMilestonesAsViewed: return 1804 - case .requestTypeMethodGetMilestonesPreview: return 1805 - case .requestTypeMethodCompleteMilestone: return 1806 - case .requestTypeMethodGetGeofencedAd: return 1820 - case .requestTypeMethodPowerUpPokestopEncounter: return 1900 - case .requestTypeMethodDeletePostcards: return 1909 - case .requestTypeMethodCreatePostcard: return 1910 - case .requestTypeMethodUpdatePostcard: return 1911 - case .requestTypeMethodDeletePostcard: return 1912 - case .requestTypeMethodGetMementoList: return 1913 - case .requestTypeMethodUploadRaidClientLog: return 1914 - case .requestTypeMethodSkipEnterReferralCode: return 1915 - case .requestTypeMethodUploadCombatClientLog: return 1916 - case .requestTypeMethodCombatSyncServerOffset: return 1917 - case .requestTypeMethodCheckGiftingEligibility: return 2000 - case .requestTypeMethodRedeemTicketGiftForFriend: return 2001 - case .requestTypeMethodGetIncenseRecap: return 2002 - case .requestTypeMethodAcknowledgeIncenseRecap: return 2003 - case .requestTypeMethodBootRaid: return 2004 - case .requestTypeMethodGetPokestopEncounter: return 2005 - case .requestTypeMethodEncounterPokestopEncounter: return 2006 - case .requestTypeMethodPollPlayerSpawnablePokemon: return 2007 - case .requestTypeMethodGetQuestUi: return 2008 - case .requestTypeMethodGetEligibleCombatLeagues: return 2009 - case .requestTypeMethodSendFriendRequestViaPlayerIds: return 2010 - case .requestTypeMethodGetRaidLobbyCounter: return 2011 - case .requestTypeMethodCheckPokemonSizeContestEligibility: return 2100 - case .requestTypeMethodUpdatePokemonSizeContestEntry: return 2101 - case .requestTypeMethodTransferPokemonSizeContestEntry: return 2102 - case .requestTypeMethodRemovePokemonSizeContestEntry: return 2103 - case .requestTypeMethodGetPokemonSizeContestEntry: return 2104 - case .requestTypeMethodGetContestData: return 2105 - case .requestTypeMethodGetContestsUnclaimedRewards: return 2106 - case .requestTypeMethodClaimContestsRewards: return 2107 - case .requestTypeMethodGetEnteredContest: return 2108 - case .requestTypeMethodGetPokemonSizeContestFriendEntry: return 2109 - case .requestTypeMethodCheckContestEligibility: return 2150 - case .requestTypeMethodUpdateContestEntry: return 2151 - case .requestTypeMethodTransferContestEntry: return 2152 - case .requestTypeMethodGetContestFriendEntry: return 2153 - case .requestTypeMethodGetContestEntry: return 2154 - case .requestTypeMethodCreateParty: return 2300 - case .requestTypeMethodJoinParty: return 2301 - case .requestTypeMethodStartParty: return 2302 - case .requestTypeMethodLeaveParty: return 2303 - case .requestTypeMethodGetParty: return 2304 - case .requestTypeMethodUpdatePartyLocation: return 2305 - case .requestTypeMethodSendPartyDarkLaunchLog: return 2306 - case .requestTypeMethodStartPartyQuest: return 2308 - case .requestTypeMethodGetBonusAttractedPokemon: return 2350 - case .requestTypeMethodGetVpsEvents: return 3000 - case .requestTypeMethodUpdateVpsEvents: return 3001 - case .requestTypeClientActionRegisterPushNotification: return 5000 - case .requestTypeClientActionUnregisterPushNotification: return 5001 - case .requestTypeClientActionUpdateNotificationStatus: return 5002 - case .requestTypeClientActionOptOutPushNotificationCategory: return 5003 - case .requestTypeClientActionDownloadGameMasterTemplates: return 5004 - case .requestTypeClientActionGetInventory: return 5005 - case .requestTypeClientActionRedeemPasscode: return 5006 - case .requestTypeClientActionPing: return 5007 - case .requestTypeClientActionAddLoginAction: return 5008 - case .requestTypeClientActionRemoveLoginAction: return 5009 - case .requestTypeClientActionListLoginAction: return 5010 - case .requestTypeClientActionAddNewPoi: return 5011 - case .requestTypeClientActionProxySocialAction: return 5012 - case .requestTypeClientActionDeprecatedClientTelemetry: return 5013 - case .requestTypeClientActionGetAvailableSubmissions: return 5014 - case .requestTypeClientActionGetSignedURLForPhotoUpload: return 5015 - case .requestTypeClientActionReplaceLoginAction: return 5016 - case .requestTypeClientActionProxySocialSideChannelAction: return 5017 - case .requestTypeClientActionCollectClientTelemetry: return 5018 - case .requestTypeClientActionPurchaseSku: return 5019 - case .requestTypeClientActionGetAvailableSkusAndBalances: return 5020 - case .requestTypeClientActionRedeemGoogleReceipt: return 5021 - case .requestTypeClientActionRedeemAppleReceipt: return 5022 - case .requestTypeClientActionRedeemDesktopReceipt: return 5023 - case .requestTypeClientActionUpdateFitnessMetrics: return 5024 - case .requestTypeClientActionGetFitnessReport: return 5025 - case .requestTypeClientActionGetClientTelemetrySettings: return 5026 - case .requestTypeClientActionPingAsync: return 5027 - case .requestTypeClientActionRegisterBackgroundService: return 5028 - case .requestTypeClientActionGetClientBgmodeSettings: return 5029 - case .requestTypeClientActionPingDownstream: return 5030 - case .requestTypeClientActionSetInGameCurrencyExchangeRate: return 5032 - case .requestTypeClientActionRequestGeofenceUpdates: return 5033 - case .requestTypeClientActionUpdatePlayerLocation: return 5034 - case .requestTypeClientActionGenerateGmapSignedURL: return 5035 - case .requestTypeClientActionGetGmapSettings: return 5036 - case .requestTypeClientActionRedeemSamsungReceipt: return 5037 - case .requestTypeClientActionAddNewRoute: return 5038 - case .requestTypeClientActionGetOutstandingWarnings: return 5039 - case .requestTypeClientActionAcknowledgeWarnings: return 5040 - case .requestTypeClientActionSubmitPoiImage: return 5041 - case .requestTypeClientActionSubmitPoiTextMetadataUpdate: return 5042 - case .requestTypeClientActionSubmitPoiLocationUpdate: return 5043 - case .requestTypeClientActionSubmitPoiTakedownRequest: return 5044 - case .requestTypeClientActionGetWebTokenAction: return 5045 - case .requestTypeClientActionGetAdventureSyncSettings: return 5046 - case .requestTypeClientActionUpdateAdventureSyncSettings: return 5047 - case .requestTypeClientActionSetBirthday: return 5048 - case .requestTypeClientActionFetchNewsfeedAction: return 5049 - case .requestTypeClientActionMarkNewsfeedReadAction: return 5050 - case .requestTypeSocialActionSearchPlayer: return 10000 - case .requestTypeSocialActionSendFriendInvite: return 10002 - case .requestTypeSocialActionCancelFriendInvite: return 10003 - case .requestTypeSocialActionAcceptFriendInvite: return 10004 - case .requestTypeSocialActionDeclineFriendInvite: return 10005 - case .requestTypeSocialActionListFriends: return 10006 - case .requestTypeSocialActionListOutgoingFriendInvites: return 10007 - case .requestTypeSocialActionListIncomingFriendInvites: return 10008 - case .requestTypeSocialActionRemoveFriend: return 10009 - case .requestTypeSocialActionListFriendStatus: return 10010 - case .requestTypeSocialActionSendFacebookFriendInvite: return 10011 - case .requestTypeSocialActionIsMyFriend: return 10012 - case .requestTypeSocialActionCreateInviteCode: return 10013 - case .requestTypeSocialActionGetFacebookFriendList: return 10014 - case .requestTypeSocialActionUpdateFacebookStatus: return 10015 - case .requestTypeSocialActionSavePlayerSettings: return 10016 - case .requestTypeSocialActionGetPlayerSettings: return 10017 - case .requestTypeSocialActionGetNianticFriendListDeleted: return 10018 - case .requestTypeSocialActionGetNianticFriendDetailsDeleted: return 10019 - case .requestTypeSocialActionSendNianticFriendInviteDeleted: return 10020 - case .requestTypeSocialActionSetAccountSettings: return 10021 - case .requestTypeSocialActionGetAccountSettings: return 10022 - case .requestTypeSocialActionAddFavoriteFriend: return 10023 - case .requestTypeSocialActionRemoveFavoriteFriend: return 10024 - case .requestTypeSocialActionBlockAccount: return 10025 - case .requestTypeSocialActionUnblockAccount: return 10026 - case .requestTypeSocialActionGetOutgingBlocks: return 10027 - case .requestTypeSocialActionIsAccountBlocked: return 10028 - case .requestTypeSocialActionRegisterPushNotification: return 10101 - case .requestTypeSocialActionUnregisterPushNotification: return 10102 - case .requestTypeSocialActionUpdateNotification: return 10103 - case .requestTypeSocialActionOptOutPushNotificationCategory: return 10104 - case .requestTypeSocialActionGetInbox: return 10105 - case .requestTypeSocialActionGetSignedURL: return 10201 - case .requestTypeSocialActionSubmitImage: return 10202 - case .requestTypeSocialActionGetPhotos: return 10203 - case .requestTypeSocialActionDeletePhoto: return 10204 - case .requestTypeSocialActionFlagPhoto: return 10205 - case .requestTypeSocialActionUpdateProfileV2: return 20001 - case .requestTypeSocialActionUpdateFriendshipV2: return 20002 - case .requestTypeSocialActionGetProfileV2: return 20003 - case .requestTypeSocialActionInviteGameV2: return 20004 - case .requestTypeSocialActionReservedAction2: return 20005 - case .requestTypeSocialActionListFriendsV2: return 20006 - case .requestTypeSocialActionGetFriendDetailsV2: return 20007 - case .requestTypeSocialActionGetClientFeatureFlagsV2: return 20008 - case .requestTypeSocialActionReservedAction1: return 20009 - case .requestTypeSocialActionGetIncomingGameInvitesV2: return 20010 - case .requestTypeSocialActionUpdateIncomingGameInviteV2: return 20011 - case .requestTypeSocialActionDismissOutgoingGameInvitesV2: return 20012 - case .requestTypeSocialActionSyncContactListV2: return 20013 - case .requestTypeSocialActionSendContactListFriendInviteV2: return 20014 - case .requestTypeSocialActionReferContactListFriendV2: return 20015 - case .requestTypeSocialActionGetContactListInfoV2: return 20016 - case .requestTypeSocialActionDismissContactListUpdateV2: return 20017 - case .requestTypeSocialActionNotifyContactListFriendsV2: return 20018 - case .requestTypeSocialActionReservedAction6: return 20019 - case .requestTypeSocialActionReservedAction7: return 20020 - case .requestTypeSocialActionReservedAction3: return 20400 - case .requestTypeSocialActionReservedAction4: return 20401 - case .requestTypeSocialActionReservedAction5: return 20402 - case .requestTypeSocialActionGetFriendRecommendation: return 20500 - case .requestTypeGameActionClientRegisterBackgroundService: return 230000 - case .requestTypeGameActionClientGetClientBgmodeSettings: return 230001 - case .requestTypeGameActionClientGetAdventureSyncProgress: return 230002 - case .requestTypeGamePurchaseSku: return 310000 - case .requestTypeGameGetAvailableSkusAndBalances: return 310001 - case .requestTypeGameSetInGameCurrencyExchangeRate: return 310002 - case .requestTypeGameRedeemGoogleReceipt: return 310100 - case .requestTypeGameRedeemAppleReceipt: return 310101 - case .requestTypeGameRedeemDesktopReceipt: return 310102 - case .requestTypeGameRedeemSamsungReceipt: return 310103 - case .requestTypeGameGetAvailableSubscriptions: return 310200 - case .requestTypeGameGetActiveSubscriptions: return 310201 - case .requestTypeRequestGeofenceUpdates1: return 360000 - case .requestTypeUpdatePlayerLocation1: return 360001 - case .requestTypeUpdateBreadcrumbHistory: return 361000 - case .requestTypeRefreshProximityTokens: return 362000 - case .requestTypeReportProximityContacts: return 362001 - case .requestTypeGetGameAccessToken: return 600005 - case .requestTypePlayerSubmissionActionAddNewPoi: return 620000 - case .requestTypePlayerSubmissionActionGetAvailableSubmissions: return 620001 - case .requestTypePlayerSubmissionActionGetSignedURLForPhotoUpload: return 620002 - case .requestTypePlayerSubmissionActionGetPlayerSubmissionValidationSettings: return 620003 - case .requestTypePlayerSubmissionActionD2DAddNewPoi: return 620004 - case .requestTypePlayerSubmissionActionD2DGetSignedURLForPhotoUpload: return 620005 - case .requestTypePlayerSubmissionActionSubmitPoiImage: return 620100 - case .requestTypePlayerSubmissionActionSubmitPoiTextMetadataUpdate: return 620101 - case .requestTypePlayerSubmissionActionSubmitPoiLocationUpdate: return 620102 - case .requestTypePlayerSubmissionActionSubmitPoiTakedownRequest: return 620103 - case .requestTypePlayerSubmissionActionSubmitSponsorPoiReport: return 620104 - case .requestTypePlayerSubmissionActionSubmitSponsorPoiLocationUpdate: return 620105 - case .requestTypePlayerSubmissionActionSubmitPoiCategoryVote: return 620106 - case .requestTypePlayerSubmissionActionD2DSubmitPoiImage: return 620107 - case .requestTypePlayerSubmissionActionD2DSubmitPoiTextMetadataUpdate: return 620108 - case .requestTypePlayerSubmissionActionD2DSubmitPoiLocationUpdate: return 620109 - case .requestTypePlayerSubmissionActionD2DSubmitPoiTakedownRequest: return 620110 - case .requestTypePlayerSubmissionActionAddNewRoute: return 620200 - case .requestTypePlayerSubmissionActionGenerateGmapSignedURL: return 620300 - case .requestTypePlayerSubmissionActionGetGmapSettings: return 620301 - case .requestTypePlayerSubmissionActionSubmitPoiArVideoMetadata: return 620400 - case .requestTypePlayerSubmissionActionGetGrapeshotFileUploadURL: return 620401 - case .requestTypePlayerSubmissionActionAsyncFileUploadComplete: return 620402 - case .requestTypePlayerSubmissionActionGetArMappingSettings: return 620403 - case .requestTypePlayerSubmissionActionD2DSubmitPoiArVideoMetadata: return 620404 - case .requestTypePlayerSubmissionActionD2DGetGrapeshotFileUploadURL: return 620405 - case .requestTypePlayerSubmissionActionD2DAsyncFileUploadComplete: return 620406 - case .requestTypePlayerSubmissionActionSubmitMappingRequest: return 620407 - case .requestTypePlayerSubmissionActionD2DSubmitMappingRequest: return 620408 - case .requestTypePlayerSubmissionActionGetImagesForPoi: return 620500 - case .requestTypePlayerSubmissionActionSubmitPlayerImageVoteForPoi: return 620501 - case .requestTypePlayerSubmissionActionGetImageGallerySettings: return 620502 - case .requestTypePlayerSubmissionActionGetMapData: return 620600 - case .requestTypePlayerSubmissionActionGetPoisInRadius: return 620601 - case .requestTypeUpdateFitnessMetrics1: return 640000 - case .requestTypeGetFitnessReport1: return 640001 - case .requestTypeGetAdventureSyncSettings1: return 640002 - case .requestTypeUpdateAdventureSyncSettings1: return 640003 - case .requestTypeUpdateAdventureSyncFitness: return 640004 - case .requestTypeGetAdventureSyncFitnessReport: return 640005 + case .platformUnknown: return 0 + case .platformAndroid: return 1 + case .platformIos: return 2 case .UNRECOGNIZED(let i): return i } } } - public struct AllMessagesProto { - // 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. + public init() {} +} - public var getPlayerProto2: GetPlayerProto { - get {return _storage._getPlayerProto2 ?? GetPlayerProto()} - set {_uniqueStorage()._getPlayerProto2 = newValue} - } - /// Returns true if `getPlayerProto2` has been explicitly set. - public var hasGetPlayerProto2: Bool {return _storage._getPlayerProto2 != nil} - /// Clears the value of `getPlayerProto2`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerProto2() {_uniqueStorage()._getPlayerProto2 = nil} +#if swift(>=4.2) - public var getHoloholoInventoryProto4: GetHoloholoInventoryProto { - get {return _storage._getHoloholoInventoryProto4 ?? GetHoloholoInventoryProto()} - set {_uniqueStorage()._getHoloholoInventoryProto4 = newValue} - } - /// Returns true if `getHoloholoInventoryProto4` has been explicitly set. - public var hasGetHoloholoInventoryProto4: Bool {return _storage._getHoloholoInventoryProto4 != nil} - /// Clears the value of `getHoloholoInventoryProto4`. Subsequent reads from it will return its default value. - public mutating func clearGetHoloholoInventoryProto4() {_uniqueStorage()._getHoloholoInventoryProto4 = nil} +extension AdRequestDeviceInfo.OperatingSystem: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AdRequestDeviceInfo.OperatingSystem] = [ + .platformUnknown, + .platformAndroid, + .platformIos, + ] +} - public var downloadSettingsActionProto5: DownloadSettingsActionProto { - get {return _storage._downloadSettingsActionProto5 ?? DownloadSettingsActionProto()} - set {_uniqueStorage()._downloadSettingsActionProto5 = newValue} - } - /// Returns true if `downloadSettingsActionProto5` has been explicitly set. - public var hasDownloadSettingsActionProto5: Bool {return _storage._downloadSettingsActionProto5 != nil} - /// Clears the value of `downloadSettingsActionProto5`. Subsequent reads from it will return its default value. - public mutating func clearDownloadSettingsActionProto5() {_uniqueStorage()._downloadSettingsActionProto5 = nil} +#endif // swift(>=4.2) - public var getgameMasterClientTemplatesProto6: GetGameMasterClientTemplatesProto { - get {return _storage._getgameMasterClientTemplatesProto6 ?? GetGameMasterClientTemplatesProto()} - set {_uniqueStorage()._getgameMasterClientTemplatesProto6 = newValue} - } - /// Returns true if `getgameMasterClientTemplatesProto6` has been explicitly set. - public var hasGetgameMasterClientTemplatesProto6: Bool {return _storage._getgameMasterClientTemplatesProto6 != nil} - /// Clears the value of `getgameMasterClientTemplatesProto6`. Subsequent reads from it will return its default value. - public mutating func clearGetgameMasterClientTemplatesProto6() {_uniqueStorage()._getgameMasterClientTemplatesProto6 = nil} +public struct AdTargetingInfoProto { + // 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. - public var getRemoteConfigVersionsProto7: GetRemoteConfigVersionsProto { - get {return _storage._getRemoteConfigVersionsProto7 ?? GetRemoteConfigVersionsProto()} - set {_uniqueStorage()._getRemoteConfigVersionsProto7 = newValue} - } - /// Returns true if `getRemoteConfigVersionsProto7` has been explicitly set. - public var hasGetRemoteConfigVersionsProto7: Bool {return _storage._getRemoteConfigVersionsProto7 != nil} - /// Clears the value of `getRemoteConfigVersionsProto7`. Subsequent reads from it will return its default value. - public mutating func clearGetRemoteConfigVersionsProto7() {_uniqueStorage()._getRemoteConfigVersionsProto7 = nil} + public var deviceInfo: AdRequestDeviceInfo { + get {return _deviceInfo ?? AdRequestDeviceInfo()} + set {_deviceInfo = newValue} + } + /// Returns true if `deviceInfo` has been explicitly set. + public var hasDeviceInfo: Bool {return self._deviceInfo != nil} + /// Clears the value of `deviceInfo`. Subsequent reads from it will return its default value. + public mutating func clearDeviceInfo() {self._deviceInfo = nil} - public var registerBackgroundDeviceActionProto8: RegisterBackgroundDeviceActionProto { - get {return _storage._registerBackgroundDeviceActionProto8 ?? RegisterBackgroundDeviceActionProto()} - set {_uniqueStorage()._registerBackgroundDeviceActionProto8 = newValue} - } - /// Returns true if `registerBackgroundDeviceActionProto8` has been explicitly set. - public var hasRegisterBackgroundDeviceActionProto8: Bool {return _storage._registerBackgroundDeviceActionProto8 != nil} - /// Clears the value of `registerBackgroundDeviceActionProto8`. Subsequent reads from it will return its default value. - public mutating func clearRegisterBackgroundDeviceActionProto8() {_uniqueStorage()._registerBackgroundDeviceActionProto8 = nil} + public var avatarGender: AvatarGender = .avatarUnknown - public var getPlayerDayProto9: GetPlayerDayProto { - get {return _storage._getPlayerDayProto9 ?? GetPlayerDayProto()} - set {_uniqueStorage()._getPlayerDayProto9 = newValue} - } - /// Returns true if `getPlayerDayProto9` has been explicitly set. - public var hasGetPlayerDayProto9: Bool {return _storage._getPlayerDayProto9 != nil} - /// Clears the value of `getPlayerDayProto9`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerDayProto9() {_uniqueStorage()._getPlayerDayProto9 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var acknowledgePunishmentProto10: AcknowledgePunishmentProto { - get {return _storage._acknowledgePunishmentProto10 ?? AcknowledgePunishmentProto()} - set {_uniqueStorage()._acknowledgePunishmentProto10 = newValue} - } - /// Returns true if `acknowledgePunishmentProto10` has been explicitly set. - public var hasAcknowledgePunishmentProto10: Bool {return _storage._acknowledgePunishmentProto10 != nil} - /// Clears the value of `acknowledgePunishmentProto10`. Subsequent reads from it will return its default value. - public mutating func clearAcknowledgePunishmentProto10() {_uniqueStorage()._acknowledgePunishmentProto10 = nil} + public init() {} - public var getServerTimeProto11: GetServerTimeProto { - get {return _storage._getServerTimeProto11 ?? GetServerTimeProto()} - set {_uniqueStorage()._getServerTimeProto11 = newValue} - } - /// Returns true if `getServerTimeProto11` has been explicitly set. - public var hasGetServerTimeProto11: Bool {return _storage._getServerTimeProto11 != nil} - /// Clears the value of `getServerTimeProto11`. Subsequent reads from it will return its default value. - public mutating func clearGetServerTimeProto11() {_uniqueStorage()._getServerTimeProto11 = nil} + fileprivate var _deviceInfo: AdRequestDeviceInfo? = nil +} - public var getLocalTimeProto12: GetLocalTimeProto { - get {return _storage._getLocalTimeProto12 ?? GetLocalTimeProto()} - set {_uniqueStorage()._getLocalTimeProto12 = newValue} - } - /// Returns true if `getLocalTimeProto12` has been explicitly set. - public var hasGetLocalTimeProto12: Bool {return _storage._getLocalTimeProto12 != nil} - /// Clears the value of `getLocalTimeProto12`. Subsequent reads from it will return its default value. - public mutating func clearGetLocalTimeProto12() {_uniqueStorage()._getLocalTimeProto12 = nil} +public struct AddFortModifierOutProto { + // 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. - public var fortSearchProto101: FortSearchProto { - get {return _storage._fortSearchProto101 ?? FortSearchProto()} - set {_uniqueStorage()._fortSearchProto101 = newValue} - } - /// Returns true if `fortSearchProto101` has been explicitly set. - public var hasFortSearchProto101: Bool {return _storage._fortSearchProto101 != nil} - /// Clears the value of `fortSearchProto101`. Subsequent reads from it will return its default value. - public mutating func clearFortSearchProto101() {_uniqueStorage()._fortSearchProto101 = nil} + public var result: AddFortModifierOutProto.Result = .noResultSet - public var encounterProto102: EncounterProto { - get {return _storage._encounterProto102 ?? EncounterProto()} - set {_uniqueStorage()._encounterProto102 = newValue} - } - /// Returns true if `encounterProto102` has been explicitly set. - public var hasEncounterProto102: Bool {return _storage._encounterProto102 != nil} - /// Clears the value of `encounterProto102`. Subsequent reads from it will return its default value. - public mutating func clearEncounterProto102() {_uniqueStorage()._encounterProto102 = nil} + public var fortDetailsOutProto: FortDetailsOutProto { + get {return _fortDetailsOutProto ?? FortDetailsOutProto()} + set {_fortDetailsOutProto = newValue} + } + /// Returns true if `fortDetailsOutProto` has been explicitly set. + public var hasFortDetailsOutProto: Bool {return self._fortDetailsOutProto != nil} + /// Clears the value of `fortDetailsOutProto`. Subsequent reads from it will return its default value. + public mutating func clearFortDetailsOutProto() {self._fortDetailsOutProto = nil} - public var catchPokemonProto103: CatchPokemonProto { - get {return _storage._catchPokemonProto103 ?? CatchPokemonProto()} - set {_uniqueStorage()._catchPokemonProto103 = newValue} - } - /// Returns true if `catchPokemonProto103` has been explicitly set. - public var hasCatchPokemonProto103: Bool {return _storage._catchPokemonProto103 != nil} - /// Clears the value of `catchPokemonProto103`. Subsequent reads from it will return its default value. - public mutating func clearCatchPokemonProto103() {_uniqueStorage()._catchPokemonProto103 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var fortDetailsProto104: FortDetailsProto { - get {return _storage._fortDetailsProto104 ?? FortDetailsProto()} - set {_uniqueStorage()._fortDetailsProto104 = newValue} - } - /// Returns true if `fortDetailsProto104` has been explicitly set. - public var hasFortDetailsProto104: Bool {return _storage._fortDetailsProto104 != nil} - /// Clears the value of `fortDetailsProto104`. Subsequent reads from it will return its default value. - public mutating func clearFortDetailsProto104() {_uniqueStorage()._fortDetailsProto104 = nil} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noResultSet // = 0 + case success // = 1 + case fortAlreadyHasModifier // = 2 + case tooFarAway // = 3 + case noItemInInventory // = 4 + case poiInaccessible // = 5 + case UNRECOGNIZED(Int) - public var getMapObjectsProto106: GetMapObjectsProto { - get {return _storage._getMapObjectsProto106 ?? GetMapObjectsProto()} - set {_uniqueStorage()._getMapObjectsProto106 = newValue} + public init() { + self = .noResultSet } - /// Returns true if `getMapObjectsProto106` has been explicitly set. - public var hasGetMapObjectsProto106: Bool {return _storage._getMapObjectsProto106 != nil} - /// Clears the value of `getMapObjectsProto106`. Subsequent reads from it will return its default value. - public mutating func clearGetMapObjectsProto106() {_uniqueStorage()._getMapObjectsProto106 = nil} - public var fortDeployProto110: FortDeployProto { - get {return _storage._fortDeployProto110 ?? FortDeployProto()} - set {_uniqueStorage()._fortDeployProto110 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noResultSet + case 1: self = .success + case 2: self = .fortAlreadyHasModifier + case 3: self = .tooFarAway + case 4: self = .noItemInInventory + case 5: self = .poiInaccessible + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `fortDeployProto110` has been explicitly set. - public var hasFortDeployProto110: Bool {return _storage._fortDeployProto110 != nil} - /// Clears the value of `fortDeployProto110`. Subsequent reads from it will return its default value. - public mutating func clearFortDeployProto110() {_uniqueStorage()._fortDeployProto110 = nil} - public var fortRecallProto111: FortRecallProto { - get {return _storage._fortRecallProto111 ?? FortRecallProto()} - set {_uniqueStorage()._fortRecallProto111 = newValue} + public var rawValue: Int { + switch self { + case .noResultSet: return 0 + case .success: return 1 + case .fortAlreadyHasModifier: return 2 + case .tooFarAway: return 3 + case .noItemInInventory: return 4 + case .poiInaccessible: return 5 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `fortRecallProto111` has been explicitly set. - public var hasFortRecallProto111: Bool {return _storage._fortRecallProto111 != nil} - /// Clears the value of `fortRecallProto111`. Subsequent reads from it will return its default value. - public mutating func clearFortRecallProto111() {_uniqueStorage()._fortRecallProto111 = nil} - public var releasePokemonProto112: ReleasePokemonProto { - get {return _storage._releasePokemonProto112 ?? ReleasePokemonProto()} - set {_uniqueStorage()._releasePokemonProto112 = newValue} - } - /// Returns true if `releasePokemonProto112` has been explicitly set. - public var hasReleasePokemonProto112: Bool {return _storage._releasePokemonProto112 != nil} - /// Clears the value of `releasePokemonProto112`. Subsequent reads from it will return its default value. - public mutating func clearReleasePokemonProto112() {_uniqueStorage()._releasePokemonProto112 = nil} + } - public var useItemPotionProto113: UseItemPotionProto { - get {return _storage._useItemPotionProto113 ?? UseItemPotionProto()} - set {_uniqueStorage()._useItemPotionProto113 = newValue} - } - /// Returns true if `useItemPotionProto113` has been explicitly set. - public var hasUseItemPotionProto113: Bool {return _storage._useItemPotionProto113 != nil} - /// Clears the value of `useItemPotionProto113`. Subsequent reads from it will return its default value. - public mutating func clearUseItemPotionProto113() {_uniqueStorage()._useItemPotionProto113 = nil} + public init() {} - public var useItemCaptureProto114: UseItemCaptureProto { - get {return _storage._useItemCaptureProto114 ?? UseItemCaptureProto()} - set {_uniqueStorage()._useItemCaptureProto114 = newValue} - } - /// Returns true if `useItemCaptureProto114` has been explicitly set. - public var hasUseItemCaptureProto114: Bool {return _storage._useItemCaptureProto114 != nil} - /// Clears the value of `useItemCaptureProto114`. Subsequent reads from it will return its default value. - public mutating func clearUseItemCaptureProto114() {_uniqueStorage()._useItemCaptureProto114 = nil} + fileprivate var _fortDetailsOutProto: FortDetailsOutProto? = nil +} - public var useItemReviveProto116: UseItemReviveProto { - get {return _storage._useItemReviveProto116 ?? UseItemReviveProto()} - set {_uniqueStorage()._useItemReviveProto116 = newValue} - } - /// Returns true if `useItemReviveProto116` has been explicitly set. - public var hasUseItemReviveProto116: Bool {return _storage._useItemReviveProto116 != nil} - /// Clears the value of `useItemReviveProto116`. Subsequent reads from it will return its default value. - public mutating func clearUseItemReviveProto116() {_uniqueStorage()._useItemReviveProto116 = nil} +#if swift(>=4.2) - public var playerprofileproto121: PlayerProfileProto { - get {return _storage._playerprofileproto121 ?? PlayerProfileProto()} - set {_uniqueStorage()._playerprofileproto121 = newValue} - } - /// Returns true if `playerprofileproto121` has been explicitly set. - public var hasPlayerprofileproto121: Bool {return _storage._playerprofileproto121 != nil} - /// Clears the value of `playerprofileproto121`. Subsequent reads from it will return its default value. - public mutating func clearPlayerprofileproto121() {_uniqueStorage()._playerprofileproto121 = nil} +extension AddFortModifierOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AddFortModifierOutProto.Result] = [ + .noResultSet, + .success, + .fortAlreadyHasModifier, + .tooFarAway, + .noItemInInventory, + .poiInaccessible, + ] +} - public var evolvePokemonProto125: EvolvePokemonProto { - get {return _storage._evolvePokemonProto125 ?? EvolvePokemonProto()} - set {_uniqueStorage()._evolvePokemonProto125 = newValue} - } - /// Returns true if `evolvePokemonProto125` has been explicitly set. - public var hasEvolvePokemonProto125: Bool {return _storage._evolvePokemonProto125 != nil} - /// Clears the value of `evolvePokemonProto125`. Subsequent reads from it will return its default value. - public mutating func clearEvolvePokemonProto125() {_uniqueStorage()._evolvePokemonProto125 = nil} +#endif // swift(>=4.2) - public var getHatchedEggsProto126: GetHatchedEggsProto { - get {return _storage._getHatchedEggsProto126 ?? GetHatchedEggsProto()} - set {_uniqueStorage()._getHatchedEggsProto126 = newValue} - } - /// Returns true if `getHatchedEggsProto126` has been explicitly set. - public var hasGetHatchedEggsProto126: Bool {return _storage._getHatchedEggsProto126 != nil} - /// Clears the value of `getHatchedEggsProto126`. Subsequent reads from it will return its default value. - public mutating func clearGetHatchedEggsProto126() {_uniqueStorage()._getHatchedEggsProto126 = nil} +public struct AddFortModifierProto { + // 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. - public var encounterTutorialCompleteProto127: EncounterTutorialCompleteProto { - get {return _storage._encounterTutorialCompleteProto127 ?? EncounterTutorialCompleteProto()} - set {_uniqueStorage()._encounterTutorialCompleteProto127 = newValue} - } - /// Returns true if `encounterTutorialCompleteProto127` has been explicitly set. - public var hasEncounterTutorialCompleteProto127: Bool {return _storage._encounterTutorialCompleteProto127 != nil} - /// Clears the value of `encounterTutorialCompleteProto127`. Subsequent reads from it will return its default value. - public mutating func clearEncounterTutorialCompleteProto127() {_uniqueStorage()._encounterTutorialCompleteProto127 = nil} + public var modifierType: Item = .unknown - public var levelUpRewardsProto128: LevelUpRewardsProto { - get {return _storage._levelUpRewardsProto128 ?? LevelUpRewardsProto()} - set {_uniqueStorage()._levelUpRewardsProto128 = newValue} - } - /// Returns true if `levelUpRewardsProto128` has been explicitly set. - public var hasLevelUpRewardsProto128: Bool {return _storage._levelUpRewardsProto128 != nil} - /// Clears the value of `levelUpRewardsProto128`. Subsequent reads from it will return its default value. - public mutating func clearLevelUpRewardsProto128() {_uniqueStorage()._levelUpRewardsProto128 = nil} + public var fortID: String = String() - public var checkAwardedBadgesProto129: CheckAwardedBadgesProto { - get {return _storage._checkAwardedBadgesProto129 ?? CheckAwardedBadgesProto()} - set {_uniqueStorage()._checkAwardedBadgesProto129 = newValue} - } - /// Returns true if `checkAwardedBadgesProto129` has been explicitly set. - public var hasCheckAwardedBadgesProto129: Bool {return _storage._checkAwardedBadgesProto129 != nil} - /// Clears the value of `checkAwardedBadgesProto129`. Subsequent reads from it will return its default value. - public mutating func clearCheckAwardedBadgesProto129() {_uniqueStorage()._checkAwardedBadgesProto129 = nil} + public var playerLatDegrees: Double = 0 - public var recycleItemProto137: RecycleItemProto { - get {return _storage._recycleItemProto137 ?? RecycleItemProto()} - set {_uniqueStorage()._recycleItemProto137 = newValue} - } - /// Returns true if `recycleItemProto137` has been explicitly set. - public var hasRecycleItemProto137: Bool {return _storage._recycleItemProto137 != nil} - /// Clears the value of `recycleItemProto137`. Subsequent reads from it will return its default value. - public mutating func clearRecycleItemProto137() {_uniqueStorage()._recycleItemProto137 = nil} + public var playerLngDegrees: Double = 0 - public var collectDailyBonusProto138: CollectDailyBonusProto { - get {return _storage._collectDailyBonusProto138 ?? CollectDailyBonusProto()} - set {_uniqueStorage()._collectDailyBonusProto138 = newValue} - } - /// Returns true if `collectDailyBonusProto138` has been explicitly set. - public var hasCollectDailyBonusProto138: Bool {return _storage._collectDailyBonusProto138 != nil} - /// Clears the value of `collectDailyBonusProto138`. Subsequent reads from it will return its default value. - public mutating func clearCollectDailyBonusProto138() {_uniqueStorage()._collectDailyBonusProto138 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var useItemXpBoostProto139: UseItemXpBoostProto { - get {return _storage._useItemXpBoostProto139 ?? UseItemXpBoostProto()} - set {_uniqueStorage()._useItemXpBoostProto139 = newValue} - } - /// Returns true if `useItemXpBoostProto139` has been explicitly set. - public var hasUseItemXpBoostProto139: Bool {return _storage._useItemXpBoostProto139 != nil} - /// Clears the value of `useItemXpBoostProto139`. Subsequent reads from it will return its default value. - public mutating func clearUseItemXpBoostProto139() {_uniqueStorage()._useItemXpBoostProto139 = nil} + public init() {} +} - public var useItemEggIncubatorProto140: UseItemEggIncubatorProto { - get {return _storage._useItemEggIncubatorProto140 ?? UseItemEggIncubatorProto()} - set {_uniqueStorage()._useItemEggIncubatorProto140 = newValue} - } - /// Returns true if `useItemEggIncubatorProto140` has been explicitly set. - public var hasUseItemEggIncubatorProto140: Bool {return _storage._useItemEggIncubatorProto140 != nil} - /// Clears the value of `useItemEggIncubatorProto140`. Subsequent reads from it will return its default value. - public mutating func clearUseItemEggIncubatorProto140() {_uniqueStorage()._useItemEggIncubatorProto140 = nil} +public struct AddFriendQuestProto { + // 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. - public var useIncenseActionProto141: UseIncenseActionProto { - get {return _storage._useIncenseActionProto141 ?? UseIncenseActionProto()} - set {_uniqueStorage()._useIncenseActionProto141 = newValue} - } - /// Returns true if `useIncenseActionProto141` has been explicitly set. - public var hasUseIncenseActionProto141: Bool {return _storage._useIncenseActionProto141 != nil} - /// Clears the value of `useIncenseActionProto141`. Subsequent reads from it will return its default value. - public mutating func clearUseIncenseActionProto141() {_uniqueStorage()._useIncenseActionProto141 = nil} + public var addedFriendIds: [String] = [] - public var getIncensePokemonProto142: GetIncensePokemonProto { - get {return _storage._getIncensePokemonProto142 ?? GetIncensePokemonProto()} - set {_uniqueStorage()._getIncensePokemonProto142 = newValue} - } - /// Returns true if `getIncensePokemonProto142` has been explicitly set. - public var hasGetIncensePokemonProto142: Bool {return _storage._getIncensePokemonProto142 != nil} - /// Clears the value of `getIncensePokemonProto142`. Subsequent reads from it will return its default value. - public mutating func clearGetIncensePokemonProto142() {_uniqueStorage()._getIncensePokemonProto142 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var incenseEncounterProto143: IncenseEncounterProto { - get {return _storage._incenseEncounterProto143 ?? IncenseEncounterProto()} - set {_uniqueStorage()._incenseEncounterProto143 = newValue} - } - /// Returns true if `incenseEncounterProto143` has been explicitly set. - public var hasIncenseEncounterProto143: Bool {return _storage._incenseEncounterProto143 != nil} - /// Clears the value of `incenseEncounterProto143`. Subsequent reads from it will return its default value. - public mutating func clearIncenseEncounterProto143() {_uniqueStorage()._incenseEncounterProto143 = nil} + public init() {} +} - public var addFortModifierProto144: AddFortModifierProto { - get {return _storage._addFortModifierProto144 ?? AddFortModifierProto()} - set {_uniqueStorage()._addFortModifierProto144 = newValue} - } - /// Returns true if `addFortModifierProto144` has been explicitly set. - public var hasAddFortModifierProto144: Bool {return _storage._addFortModifierProto144 != nil} - /// Clears the value of `addFortModifierProto144`. Subsequent reads from it will return its default value. - public mutating func clearAddFortModifierProto144() {_uniqueStorage()._addFortModifierProto144 = nil} +public struct AddLoginActionOutProto { + // 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. - public var diskEncounterProto145: DiskEncounterProto { - get {return _storage._diskEncounterProto145 ?? DiskEncounterProto()} - set {_uniqueStorage()._diskEncounterProto145 = newValue} - } - /// Returns true if `diskEncounterProto145` has been explicitly set. - public var hasDiskEncounterProto145: Bool {return _storage._diskEncounterProto145 != nil} - /// Clears the value of `diskEncounterProto145`. Subsequent reads from it will return its default value. - public mutating func clearDiskEncounterProto145() {_uniqueStorage()._diskEncounterProto145 = nil} + public var success: Bool = false - public var upgradePokemonProto147: UpgradePokemonProto { - get {return _storage._upgradePokemonProto147 ?? UpgradePokemonProto()} - set {_uniqueStorage()._upgradePokemonProto147 = newValue} - } - /// Returns true if `upgradePokemonProto147` has been explicitly set. - public var hasUpgradePokemonProto147: Bool {return _storage._upgradePokemonProto147 != nil} - /// Clears the value of `upgradePokemonProto147`. Subsequent reads from it will return its default value. - public mutating func clearUpgradePokemonProto147() {_uniqueStorage()._upgradePokemonProto147 = nil} + public var loginDetail: [LoginDetail] = [] - public var setFavoritePokemonProto148: SetFavoritePokemonProto { - get {return _storage._setFavoritePokemonProto148 ?? SetFavoritePokemonProto()} - set {_uniqueStorage()._setFavoritePokemonProto148 = newValue} - } - /// Returns true if `setFavoritePokemonProto148` has been explicitly set. - public var hasSetFavoritePokemonProto148: Bool {return _storage._setFavoritePokemonProto148 != nil} - /// Clears the value of `setFavoritePokemonProto148`. Subsequent reads from it will return its default value. - public mutating func clearSetFavoritePokemonProto148() {_uniqueStorage()._setFavoritePokemonProto148 = nil} + public var status: AddLoginActionOutProto.Status = .unset - public var nicknamePokemonProto149: NicknamePokemonProto { - get {return _storage._nicknamePokemonProto149 ?? NicknamePokemonProto()} - set {_uniqueStorage()._nicknamePokemonProto149 = newValue} - } - /// Returns true if `nicknamePokemonProto149` has been explicitly set. - public var hasNicknamePokemonProto149: Bool {return _storage._nicknamePokemonProto149 != nil} - /// Clears the value of `nicknamePokemonProto149`. Subsequent reads from it will return its default value. - public mutating func clearNicknamePokemonProto149() {_uniqueStorage()._nicknamePokemonProto149 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var equipBadgeProto150: EquipBadgeProto { - get {return _storage._equipBadgeProto150 ?? EquipBadgeProto()} - set {_uniqueStorage()._equipBadgeProto150 = newValue} - } - /// Returns true if `equipBadgeProto150` has been explicitly set. - public var hasEquipBadgeProto150: Bool {return _storage._equipBadgeProto150 != nil} - /// Clears the value of `equipBadgeProto150`. Subsequent reads from it will return its default value. - public mutating func clearEquipBadgeProto150() {_uniqueStorage()._equipBadgeProto150 = nil} + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case authFailure // = 1 + case loginTaken // = 2 + case errorUnknown // = 3 + case UNRECOGNIZED(Int) - public var setContactsettingsProto151: SetContactSettingsProto { - get {return _storage._setContactsettingsProto151 ?? SetContactSettingsProto()} - set {_uniqueStorage()._setContactsettingsProto151 = newValue} + public init() { + self = .unset } - /// Returns true if `setContactsettingsProto151` has been explicitly set. - public var hasSetContactsettingsProto151: Bool {return _storage._setContactsettingsProto151 != nil} - /// Clears the value of `setContactsettingsProto151`. Subsequent reads from it will return its default value. - public mutating func clearSetContactsettingsProto151() {_uniqueStorage()._setContactsettingsProto151 = nil} - public var setBuddyPokemonProto152: SetBuddyPokemonProto { - get {return _storage._setBuddyPokemonProto152 ?? SetBuddyPokemonProto()} - set {_uniqueStorage()._setBuddyPokemonProto152 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .authFailure + case 2: self = .loginTaken + case 3: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `setBuddyPokemonProto152` has been explicitly set. - public var hasSetBuddyPokemonProto152: Bool {return _storage._setBuddyPokemonProto152 != nil} - /// Clears the value of `setBuddyPokemonProto152`. Subsequent reads from it will return its default value. - public mutating func clearSetBuddyPokemonProto152() {_uniqueStorage()._setBuddyPokemonProto152 = nil} - public var getBuddyWalkedProto153: GetBuddyWalkedProto { - get {return _storage._getBuddyWalkedProto153 ?? GetBuddyWalkedProto()} - set {_uniqueStorage()._getBuddyWalkedProto153 = newValue} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .authFailure: return 1 + case .loginTaken: return 2 + case .errorUnknown: return 3 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `getBuddyWalkedProto153` has been explicitly set. - public var hasGetBuddyWalkedProto153: Bool {return _storage._getBuddyWalkedProto153 != nil} - /// Clears the value of `getBuddyWalkedProto153`. Subsequent reads from it will return its default value. - public mutating func clearGetBuddyWalkedProto153() {_uniqueStorage()._getBuddyWalkedProto153 = nil} - public var useItemEncounterProto154: UseItemEncounterProto { - get {return _storage._useItemEncounterProto154 ?? UseItemEncounterProto()} - set {_uniqueStorage()._useItemEncounterProto154 = newValue} - } - /// Returns true if `useItemEncounterProto154` has been explicitly set. - public var hasUseItemEncounterProto154: Bool {return _storage._useItemEncounterProto154 != nil} - /// Clears the value of `useItemEncounterProto154`. Subsequent reads from it will return its default value. - public mutating func clearUseItemEncounterProto154() {_uniqueStorage()._useItemEncounterProto154 = nil} + } - public var gymDeployProto155: GymDeployProto { - get {return _storage._gymDeployProto155 ?? GymDeployProto()} - set {_uniqueStorage()._gymDeployProto155 = newValue} - } - /// Returns true if `gymDeployProto155` has been explicitly set. - public var hasGymDeployProto155: Bool {return _storage._gymDeployProto155 != nil} - /// Clears the value of `gymDeployProto155`. Subsequent reads from it will return its default value. - public mutating func clearGymDeployProto155() {_uniqueStorage()._gymDeployProto155 = nil} + public init() {} +} - public var gymgetInfoProto156: GymGetInfoProto { - get {return _storage._gymgetInfoProto156 ?? GymGetInfoProto()} - set {_uniqueStorage()._gymgetInfoProto156 = newValue} - } - /// Returns true if `gymgetInfoProto156` has been explicitly set. - public var hasGymgetInfoProto156: Bool {return _storage._gymgetInfoProto156 != nil} - /// Clears the value of `gymgetInfoProto156`. Subsequent reads from it will return its default value. - public mutating func clearGymgetInfoProto156() {_uniqueStorage()._gymgetInfoProto156 = nil} +#if swift(>=4.2) - public var gymStartSessionProto157: GymStartSessionProto { - get {return _storage._gymStartSessionProto157 ?? GymStartSessionProto()} - set {_uniqueStorage()._gymStartSessionProto157 = newValue} - } - /// Returns true if `gymStartSessionProto157` has been explicitly set. - public var hasGymStartSessionProto157: Bool {return _storage._gymStartSessionProto157 != nil} - /// Clears the value of `gymStartSessionProto157`. Subsequent reads from it will return its default value. - public mutating func clearGymStartSessionProto157() {_uniqueStorage()._gymStartSessionProto157 = nil} +extension AddLoginActionOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AddLoginActionOutProto.Status] = [ + .unset, + .authFailure, + .loginTaken, + .errorUnknown, + ] +} - public var gymBattleAttackProto158: GymBattleAttackProto { - get {return _storage._gymBattleAttackProto158 ?? GymBattleAttackProto()} - set {_uniqueStorage()._gymBattleAttackProto158 = newValue} - } - /// Returns true if `gymBattleAttackProto158` has been explicitly set. - public var hasGymBattleAttackProto158: Bool {return _storage._gymBattleAttackProto158 != nil} - /// Clears the value of `gymBattleAttackProto158`. Subsequent reads from it will return its default value. - public mutating func clearGymBattleAttackProto158() {_uniqueStorage()._gymBattleAttackProto158 = nil} +#endif // swift(>=4.2) - public var joinLobbyProto159: JoinLobbyProto { - get {return _storage._joinLobbyProto159 ?? JoinLobbyProto()} - set {_uniqueStorage()._joinLobbyProto159 = newValue} - } - /// Returns true if `joinLobbyProto159` has been explicitly set. - public var hasJoinLobbyProto159: Bool {return _storage._joinLobbyProto159 != nil} - /// Clears the value of `joinLobbyProto159`. Subsequent reads from it will return its default value. - public mutating func clearJoinLobbyProto159() {_uniqueStorage()._joinLobbyProto159 = nil} +public struct AddLoginActionProto { + // 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. - public var leavelobbyProto160: LeaveLobbyProto { - get {return _storage._leavelobbyProto160 ?? LeaveLobbyProto()} - set {_uniqueStorage()._leavelobbyProto160 = newValue} - } - /// Returns true if `leavelobbyProto160` has been explicitly set. - public var hasLeavelobbyProto160: Bool {return _storage._leavelobbyProto160 != nil} - /// Clears the value of `leavelobbyProto160`. Subsequent reads from it will return its default value. - public mutating func clearLeavelobbyProto160() {_uniqueStorage()._leavelobbyProto160 = nil} + public var identityProvider: AuthIdentityProvider = .unsetIdentityProvider - public var setLobbyVisibilityProto161: SetLobbyVisibilityProto { - get {return _storage._setLobbyVisibilityProto161 ?? SetLobbyVisibilityProto()} - set {_uniqueStorage()._setLobbyVisibilityProto161 = newValue} - } - /// Returns true if `setLobbyVisibilityProto161` has been explicitly set. - public var hasSetLobbyVisibilityProto161: Bool {return _storage._setLobbyVisibilityProto161 != nil} - /// Clears the value of `setLobbyVisibilityProto161`. Subsequent reads from it will return its default value. - public mutating func clearSetLobbyVisibilityProto161() {_uniqueStorage()._setLobbyVisibilityProto161 = nil} + public var innerMessage: Data = Data() - public var setLobbyPokemonProto162: SetLobbyPokemonProto { - get {return _storage._setLobbyPokemonProto162 ?? SetLobbyPokemonProto()} - set {_uniqueStorage()._setLobbyPokemonProto162 = newValue} - } - /// Returns true if `setLobbyPokemonProto162` has been explicitly set. - public var hasSetLobbyPokemonProto162: Bool {return _storage._setLobbyPokemonProto162 != nil} - /// Clears the value of `setLobbyPokemonProto162`. Subsequent reads from it will return its default value. - public mutating func clearSetLobbyPokemonProto162() {_uniqueStorage()._setLobbyPokemonProto162 = nil} + public var authProviderID: String = String() - public var getRaidDetailsProto163: GetRaidDetailsProto { - get {return _storage._getRaidDetailsProto163 ?? GetRaidDetailsProto()} - set {_uniqueStorage()._getRaidDetailsProto163 = newValue} - } - /// Returns true if `getRaidDetailsProto163` has been explicitly set. - public var hasGetRaidDetailsProto163: Bool {return _storage._getRaidDetailsProto163 != nil} - /// Clears the value of `getRaidDetailsProto163`. Subsequent reads from it will return its default value. - public mutating func clearGetRaidDetailsProto163() {_uniqueStorage()._getRaidDetailsProto163 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var gymFeedPokemonProto164: GymFeedPokemonProto { - get {return _storage._gymFeedPokemonProto164 ?? GymFeedPokemonProto()} - set {_uniqueStorage()._gymFeedPokemonProto164 = newValue} - } - /// Returns true if `gymFeedPokemonProto164` has been explicitly set. - public var hasGymFeedPokemonProto164: Bool {return _storage._gymFeedPokemonProto164 != nil} - /// Clears the value of `gymFeedPokemonProto164`. Subsequent reads from it will return its default value. - public mutating func clearGymFeedPokemonProto164() {_uniqueStorage()._gymFeedPokemonProto164 = nil} + public init() {} +} - public var startRaidBattleProto165: StartRaidBattleProto { - get {return _storage._startRaidBattleProto165 ?? StartRaidBattleProto()} - set {_uniqueStorage()._startRaidBattleProto165 = newValue} - } - /// Returns true if `startRaidBattleProto165` has been explicitly set. - public var hasStartRaidBattleProto165: Bool {return _storage._startRaidBattleProto165 != nil} - /// Clears the value of `startRaidBattleProto165`. Subsequent reads from it will return its default value. - public mutating func clearStartRaidBattleProto165() {_uniqueStorage()._startRaidBattleProto165 = nil} +public struct AddPtcLoginActionOutProto { + // 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. - public var attackRaidBattleProto166: AttackRaidBattleProto { - get {return _storage._attackRaidBattleProto166 ?? AttackRaidBattleProto()} - set {_uniqueStorage()._attackRaidBattleProto166 = newValue} - } - /// Returns true if `attackRaidBattleProto166` has been explicitly set. - public var hasAttackRaidBattleProto166: Bool {return _storage._attackRaidBattleProto166 != nil} - /// Clears the value of `attackRaidBattleProto166`. Subsequent reads from it will return its default value. - public mutating func clearAttackRaidBattleProto166() {_uniqueStorage()._attackRaidBattleProto166 = nil} + public var success: Bool = false - public var useItemStardustBoostProto168: UseItemStardustBoostProto { - get {return _storage._useItemStardustBoostProto168 ?? UseItemStardustBoostProto()} - set {_uniqueStorage()._useItemStardustBoostProto168 = newValue} - } - /// Returns true if `useItemStardustBoostProto168` has been explicitly set. - public var hasUseItemStardustBoostProto168: Bool {return _storage._useItemStardustBoostProto168 != nil} - /// Clears the value of `useItemStardustBoostProto168`. Subsequent reads from it will return its default value. - public mutating func clearUseItemStardustBoostProto168() {_uniqueStorage()._useItemStardustBoostProto168 = nil} + public var loginDetail: [LoginDetail] = [] - public var reassignPlayerProto169: ReassignPlayerProto { - get {return _storage._reassignPlayerProto169 ?? ReassignPlayerProto()} - set {_uniqueStorage()._reassignPlayerProto169 = newValue} - } - /// Returns true if `reassignPlayerProto169` has been explicitly set. - public var hasReassignPlayerProto169: Bool {return _storage._reassignPlayerProto169 != nil} - /// Clears the value of `reassignPlayerProto169`. Subsequent reads from it will return its default value. - public mutating func clearReassignPlayerProto169() {_uniqueStorage()._reassignPlayerProto169 = nil} + public var status: AddPtcLoginActionOutProto.Status = .unset - public var convertcandyToXlcandyProto171: ConvertCandyToXlCandyProto { - get {return _storage._convertcandyToXlcandyProto171 ?? ConvertCandyToXlCandyProto()} - set {_uniqueStorage()._convertcandyToXlcandyProto171 = newValue} - } - /// Returns true if `convertcandyToXlcandyProto171` has been explicitly set. - public var hasConvertcandyToXlcandyProto171: Bool {return _storage._convertcandyToXlcandyProto171 != nil} - /// Clears the value of `convertcandyToXlcandyProto171`. Subsequent reads from it will return its default value. - public mutating func clearConvertcandyToXlcandyProto171() {_uniqueStorage()._convertcandyToXlcandyProto171 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var isSkuAvailableProto172: IsSkuAvailableProto { - get {return _storage._isSkuAvailableProto172 ?? IsSkuAvailableProto()} - set {_uniqueStorage()._isSkuAvailableProto172 = newValue} - } - /// Returns true if `isSkuAvailableProto172` has been explicitly set. - public var hasIsSkuAvailableProto172: Bool {return _storage._isSkuAvailableProto172 != nil} - /// Clears the value of `isSkuAvailableProto172`. Subsequent reads from it will return its default value. - public mutating func clearIsSkuAvailableProto172() {_uniqueStorage()._isSkuAvailableProto172 = nil} + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case authFailure // = 1 + case loginTaken // = 2 + case adultLinkToChildError // = 3 + case linkingNotEnabled // = 4 + case listAccountLoginError // = 5 + case otherErrors // = 6 + case UNRECOGNIZED(Int) - public var assetDigestRequestProto300: AssetDigestRequestProto { - get {return _storage._assetDigestRequestProto300 ?? AssetDigestRequestProto()} - set {_uniqueStorage()._assetDigestRequestProto300 = newValue} + public init() { + self = .unset } - /// Returns true if `assetDigestRequestProto300` has been explicitly set. - public var hasAssetDigestRequestProto300: Bool {return _storage._assetDigestRequestProto300 != nil} - /// Clears the value of `assetDigestRequestProto300`. Subsequent reads from it will return its default value. - public mutating func clearAssetDigestRequestProto300() {_uniqueStorage()._assetDigestRequestProto300 = nil} - public var downloadURLRequestProto301: DownloadUrlRequestProto { - get {return _storage._downloadURLRequestProto301 ?? DownloadUrlRequestProto()} - set {_uniqueStorage()._downloadURLRequestProto301 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .authFailure + case 2: self = .loginTaken + case 3: self = .adultLinkToChildError + case 4: self = .linkingNotEnabled + case 5: self = .listAccountLoginError + case 6: self = .otherErrors + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `downloadURLRequestProto301` has been explicitly set. - public var hasDownloadURLRequestProto301: Bool {return _storage._downloadURLRequestProto301 != nil} - /// Clears the value of `downloadURLRequestProto301`. Subsequent reads from it will return its default value. - public mutating func clearDownloadURLRequestProto301() {_uniqueStorage()._downloadURLRequestProto301 = nil} - public var assetVersionProto302: AssetVersionProto { - get {return _storage._assetVersionProto302 ?? AssetVersionProto()} - set {_uniqueStorage()._assetVersionProto302 = newValue} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .authFailure: return 1 + case .loginTaken: return 2 + case .adultLinkToChildError: return 3 + case .linkingNotEnabled: return 4 + case .listAccountLoginError: return 5 + case .otherErrors: return 6 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `assetVersionProto302` has been explicitly set. - public var hasAssetVersionProto302: Bool {return _storage._assetVersionProto302 != nil} - /// Clears the value of `assetVersionProto302`. Subsequent reads from it will return its default value. - public mutating func clearAssetVersionProto302() {_uniqueStorage()._assetVersionProto302 = nil} - public var claimcodenameRequestProto403: ClaimCodenameRequestProto { - get {return _storage._claimcodenameRequestProto403 ?? ClaimCodenameRequestProto()} - set {_uniqueStorage()._claimcodenameRequestProto403 = newValue} - } - /// Returns true if `claimcodenameRequestProto403` has been explicitly set. - public var hasClaimcodenameRequestProto403: Bool {return _storage._claimcodenameRequestProto403 != nil} - /// Clears the value of `claimcodenameRequestProto403`. Subsequent reads from it will return its default value. - public mutating func clearClaimcodenameRequestProto403() {_uniqueStorage()._claimcodenameRequestProto403 = nil} + } - public var setAvatarProto404: SetAvatarProto { - get {return _storage._setAvatarProto404 ?? SetAvatarProto()} - set {_uniqueStorage()._setAvatarProto404 = newValue} - } - /// Returns true if `setAvatarProto404` has been explicitly set. - public var hasSetAvatarProto404: Bool {return _storage._setAvatarProto404 != nil} - /// Clears the value of `setAvatarProto404`. Subsequent reads from it will return its default value. - public mutating func clearSetAvatarProto404() {_uniqueStorage()._setAvatarProto404 = nil} + public init() {} +} - public var setPlayerTeamProto405: SetPlayerTeamProto { - get {return _storage._setPlayerTeamProto405 ?? SetPlayerTeamProto()} - set {_uniqueStorage()._setPlayerTeamProto405 = newValue} - } - /// Returns true if `setPlayerTeamProto405` has been explicitly set. - public var hasSetPlayerTeamProto405: Bool {return _storage._setPlayerTeamProto405 != nil} - /// Clears the value of `setPlayerTeamProto405`. Subsequent reads from it will return its default value. - public mutating func clearSetPlayerTeamProto405() {_uniqueStorage()._setPlayerTeamProto405 = nil} +#if swift(>=4.2) - public var markTutorialCompleteProto406: MarkTutorialCompleteProto { - get {return _storage._markTutorialCompleteProto406 ?? MarkTutorialCompleteProto()} - set {_uniqueStorage()._markTutorialCompleteProto406 = newValue} - } - /// Returns true if `markTutorialCompleteProto406` has been explicitly set. - public var hasMarkTutorialCompleteProto406: Bool {return _storage._markTutorialCompleteProto406 != nil} - /// Clears the value of `markTutorialCompleteProto406`. Subsequent reads from it will return its default value. - public mutating func clearMarkTutorialCompleteProto406() {_uniqueStorage()._markTutorialCompleteProto406 = nil} +extension AddPtcLoginActionOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AddPtcLoginActionOutProto.Status] = [ + .unset, + .authFailure, + .loginTaken, + .adultLinkToChildError, + .linkingNotEnabled, + .listAccountLoginError, + .otherErrors, + ] +} - public var setNeutralAvatarProto408: SetNeutralAvatarProto { - get {return _storage._setNeutralAvatarProto408 ?? SetNeutralAvatarProto()} - set {_uniqueStorage()._setNeutralAvatarProto408 = newValue} - } - /// Returns true if `setNeutralAvatarProto408` has been explicitly set. - public var hasSetNeutralAvatarProto408: Bool {return _storage._setNeutralAvatarProto408 != nil} - /// Clears the value of `setNeutralAvatarProto408`. Subsequent reads from it will return its default value. - public mutating func clearSetNeutralAvatarProto408() {_uniqueStorage()._setNeutralAvatarProto408 = nil} +#endif // swift(>=4.2) - public var checkchallengeProto600: CheckChallengeProto { - get {return _storage._checkchallengeProto600 ?? CheckChallengeProto()} - set {_uniqueStorage()._checkchallengeProto600 = newValue} - } - /// Returns true if `checkchallengeProto600` has been explicitly set. - public var hasCheckchallengeProto600: Bool {return _storage._checkchallengeProto600 != nil} - /// Clears the value of `checkchallengeProto600`. Subsequent reads from it will return its default value. - public mutating func clearCheckchallengeProto600() {_uniqueStorage()._checkchallengeProto600 = nil} +public struct AddPtcLoginActionProto { + // 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. - public var verifyChallengeProto601: VerifyChallengeProto { - get {return _storage._verifyChallengeProto601 ?? VerifyChallengeProto()} - set {_uniqueStorage()._verifyChallengeProto601 = newValue} - } - /// Returns true if `verifyChallengeProto601` has been explicitly set. - public var hasVerifyChallengeProto601: Bool {return _storage._verifyChallengeProto601 != nil} - /// Clears the value of `verifyChallengeProto601`. Subsequent reads from it will return its default value. - public mutating func clearVerifyChallengeProto601() {_uniqueStorage()._verifyChallengeProto601 = nil} + public var authProviderID: String = String() - public var echoProto666: EchoProto { - get {return _storage._echoProto666 ?? EchoProto()} - set {_uniqueStorage()._echoProto666 = newValue} - } - /// Returns true if `echoProto666` has been explicitly set. - public var hasEchoProto666: Bool {return _storage._echoProto666 != nil} - /// Clears the value of `echoProto666`. Subsequent reads from it will return its default value. - public mutating func clearEchoProto666() {_uniqueStorage()._echoProto666 = nil} + public var innerMessage: Data = Data() - public var registerSfidarequest800: RegisterSfidaRequest { - get {return _storage._registerSfidarequest800 ?? RegisterSfidaRequest()} - set {_uniqueStorage()._registerSfidarequest800 = newValue} - } - /// Returns true if `registerSfidarequest800` has been explicitly set. - public var hasRegisterSfidarequest800: Bool {return _storage._registerSfidarequest800 != nil} - /// Clears the value of `registerSfidarequest800`. Subsequent reads from it will return its default value. - public mutating func clearRegisterSfidarequest800() {_uniqueStorage()._registerSfidarequest800 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var sfidaCertificationRequest802: SfidaCertificationRequest { - get {return _storage._sfidaCertificationRequest802 ?? SfidaCertificationRequest()} - set {_uniqueStorage()._sfidaCertificationRequest802 = newValue} - } - /// Returns true if `sfidaCertificationRequest802` has been explicitly set. - public var hasSfidaCertificationRequest802: Bool {return _storage._sfidaCertificationRequest802 != nil} - /// Clears the value of `sfidaCertificationRequest802`. Subsequent reads from it will return its default value. - public mutating func clearSfidaCertificationRequest802() {_uniqueStorage()._sfidaCertificationRequest802 = nil} + public init() {} +} - public var sfidaUpdateRequest803: SfidaUpdateRequest { - get {return _storage._sfidaUpdateRequest803 ?? SfidaUpdateRequest()} - set {_uniqueStorage()._sfidaUpdateRequest803 = newValue} - } - /// Returns true if `sfidaUpdateRequest803` has been explicitly set. - public var hasSfidaUpdateRequest803: Bool {return _storage._sfidaUpdateRequest803 != nil} - /// Clears the value of `sfidaUpdateRequest803`. Subsequent reads from it will return its default value. - public mutating func clearSfidaUpdateRequest803() {_uniqueStorage()._sfidaUpdateRequest803 = nil} +public struct AddReferrerOutProto { + // 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. - public var sfidaDowserRequest805: SfidaDowserRequest { - get {return _storage._sfidaDowserRequest805 ?? SfidaDowserRequest()} - set {_uniqueStorage()._sfidaDowserRequest805 = newValue} - } - /// Returns true if `sfidaDowserRequest805` has been explicitly set. - public var hasSfidaDowserRequest805: Bool {return _storage._sfidaDowserRequest805 != nil} - /// Clears the value of `sfidaDowserRequest805`. Subsequent reads from it will return its default value. - public mutating func clearSfidaDowserRequest805() {_uniqueStorage()._sfidaDowserRequest805 = nil} + public var status: AddReferrerOutProto.Status = .unset - public var sfidaCaptureRequest806: SfidaCaptureRequest { - get {return _storage._sfidaCaptureRequest806 ?? SfidaCaptureRequest()} - set {_uniqueStorage()._sfidaCaptureRequest806 = newValue} - } - /// Returns true if `sfidaCaptureRequest806` has been explicitly set. - public var hasSfidaCaptureRequest806: Bool {return _storage._sfidaCaptureRequest806 != nil} - /// Clears the value of `sfidaCaptureRequest806`. Subsequent reads from it will return its default value. - public mutating func clearSfidaCaptureRequest806() {_uniqueStorage()._sfidaCaptureRequest806 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var listAvatarCustomizationsProto807: ListAvatarCustomizationsProto { - get {return _storage._listAvatarCustomizationsProto807 ?? ListAvatarCustomizationsProto()} - set {_uniqueStorage()._listAvatarCustomizationsProto807 = newValue} - } - /// Returns true if `listAvatarCustomizationsProto807` has been explicitly set. - public var hasListAvatarCustomizationsProto807: Bool {return _storage._listAvatarCustomizationsProto807 != nil} - /// Clears the value of `listAvatarCustomizationsProto807`. Subsequent reads from it will return its default value. - public mutating func clearListAvatarCustomizationsProto807() {_uniqueStorage()._listAvatarCustomizationsProto807 = nil} + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorDisabled // = 2 + case errorInvalidReferralCode // = 3 + case errorAlreadyAdded // = 4 + case errorPassedGracePeriod // = 5 + case errorAlreadySkippedEnteringReferralCode // = 6 + case UNRECOGNIZED(Int) - public var setAvatarItemAsViewedProto808: SetAvatarItemAsViewedProto { - get {return _storage._setAvatarItemAsViewedProto808 ?? SetAvatarItemAsViewedProto()} - set {_uniqueStorage()._setAvatarItemAsViewedProto808 = newValue} + public init() { + self = .unset } - /// Returns true if `setAvatarItemAsViewedProto808` has been explicitly set. - public var hasSetAvatarItemAsViewedProto808: Bool {return _storage._setAvatarItemAsViewedProto808 != nil} - /// Clears the value of `setAvatarItemAsViewedProto808`. Subsequent reads from it will return its default value. - public mutating func clearSetAvatarItemAsViewedProto808() {_uniqueStorage()._setAvatarItemAsViewedProto808 = nil} - public var getInboxV2Proto809: GetInboxV2Proto { - get {return _storage._getInboxV2Proto809 ?? GetInboxV2Proto()} - set {_uniqueStorage()._getInboxV2Proto809 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorDisabled + case 3: self = .errorInvalidReferralCode + case 4: self = .errorAlreadyAdded + case 5: self = .errorPassedGracePeriod + case 6: self = .errorAlreadySkippedEnteringReferralCode + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `getInboxV2Proto809` has been explicitly set. - public var hasGetInboxV2Proto809: Bool {return _storage._getInboxV2Proto809 != nil} - /// Clears the value of `getInboxV2Proto809`. Subsequent reads from it will return its default value. - public mutating func clearGetInboxV2Proto809() {_uniqueStorage()._getInboxV2Proto809 = nil} - public var listGymBadgesProto811: ListGymBadgesProto { - get {return _storage._listGymBadgesProto811 ?? ListGymBadgesProto()} - set {_uniqueStorage()._listGymBadgesProto811 = newValue} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorDisabled: return 2 + case .errorInvalidReferralCode: return 3 + case .errorAlreadyAdded: return 4 + case .errorPassedGracePeriod: return 5 + case .errorAlreadySkippedEnteringReferralCode: return 6 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `listGymBadgesProto811` has been explicitly set. - public var hasListGymBadgesProto811: Bool {return _storage._listGymBadgesProto811 != nil} - /// Clears the value of `listGymBadgesProto811`. Subsequent reads from it will return its default value. - public mutating func clearListGymBadgesProto811() {_uniqueStorage()._listGymBadgesProto811 = nil} - public var getgymBadgeDetailsProto812: GetGymBadgeDetailsProto { - get {return _storage._getgymBadgeDetailsProto812 ?? GetGymBadgeDetailsProto()} - set {_uniqueStorage()._getgymBadgeDetailsProto812 = newValue} - } - /// Returns true if `getgymBadgeDetailsProto812` has been explicitly set. - public var hasGetgymBadgeDetailsProto812: Bool {return _storage._getgymBadgeDetailsProto812 != nil} - /// Clears the value of `getgymBadgeDetailsProto812`. Subsequent reads from it will return its default value. - public mutating func clearGetgymBadgeDetailsProto812() {_uniqueStorage()._getgymBadgeDetailsProto812 = nil} + } - public var useItemMoveRerollProto813: UseItemMoveRerollProto { - get {return _storage._useItemMoveRerollProto813 ?? UseItemMoveRerollProto()} - set {_uniqueStorage()._useItemMoveRerollProto813 = newValue} - } - /// Returns true if `useItemMoveRerollProto813` has been explicitly set. - public var hasUseItemMoveRerollProto813: Bool {return _storage._useItemMoveRerollProto813 != nil} - /// Clears the value of `useItemMoveRerollProto813`. Subsequent reads from it will return its default value. - public mutating func clearUseItemMoveRerollProto813() {_uniqueStorage()._useItemMoveRerollProto813 = nil} + public init() {} +} - public var useItemRareCandyProto814: UseItemRareCandyProto { - get {return _storage._useItemRareCandyProto814 ?? UseItemRareCandyProto()} - set {_uniqueStorage()._useItemRareCandyProto814 = newValue} - } - /// Returns true if `useItemRareCandyProto814` has been explicitly set. - public var hasUseItemRareCandyProto814: Bool {return _storage._useItemRareCandyProto814 != nil} - /// Clears the value of `useItemRareCandyProto814`. Subsequent reads from it will return its default value. - public mutating func clearUseItemRareCandyProto814() {_uniqueStorage()._useItemRareCandyProto814 = nil} +#if swift(>=4.2) - public var awardFreeRaidTicketProto815: AwardFreeRaidTicketProto { - get {return _storage._awardFreeRaidTicketProto815 ?? AwardFreeRaidTicketProto()} - set {_uniqueStorage()._awardFreeRaidTicketProto815 = newValue} - } - /// Returns true if `awardFreeRaidTicketProto815` has been explicitly set. - public var hasAwardFreeRaidTicketProto815: Bool {return _storage._awardFreeRaidTicketProto815 != nil} - /// Clears the value of `awardFreeRaidTicketProto815`. Subsequent reads from it will return its default value. - public mutating func clearAwardFreeRaidTicketProto815() {_uniqueStorage()._awardFreeRaidTicketProto815 = nil} +extension AddReferrerOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AddReferrerOutProto.Status] = [ + .unset, + .success, + .errorDisabled, + .errorInvalidReferralCode, + .errorAlreadyAdded, + .errorPassedGracePeriod, + .errorAlreadySkippedEnteringReferralCode, + ] +} - public var fetchAllNewsProto816: FetchAllNewsProto { - get {return _storage._fetchAllNewsProto816 ?? FetchAllNewsProto()} - set {_uniqueStorage()._fetchAllNewsProto816 = newValue} - } - /// Returns true if `fetchAllNewsProto816` has been explicitly set. - public var hasFetchAllNewsProto816: Bool {return _storage._fetchAllNewsProto816 != nil} - /// Clears the value of `fetchAllNewsProto816`. Subsequent reads from it will return its default value. - public mutating func clearFetchAllNewsProto816() {_uniqueStorage()._fetchAllNewsProto816 = nil} +#endif // swift(>=4.2) - public var markReadNewsArticleProto817: MarkReadNewsArticleProto { - get {return _storage._markReadNewsArticleProto817 ?? MarkReadNewsArticleProto()} - set {_uniqueStorage()._markReadNewsArticleProto817 = newValue} - } - /// Returns true if `markReadNewsArticleProto817` has been explicitly set. - public var hasMarkReadNewsArticleProto817: Bool {return _storage._markReadNewsArticleProto817 != nil} - /// Clears the value of `markReadNewsArticleProto817`. Subsequent reads from it will return its default value. - public mutating func clearMarkReadNewsArticleProto817() {_uniqueStorage()._markReadNewsArticleProto817 = nil} +public struct AddReferrerProto { + // 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. - public var getPlayerSettingsProto818: GetPlayerSettingsProto { - get {return _storage._getPlayerSettingsProto818 ?? GetPlayerSettingsProto()} - set {_uniqueStorage()._getPlayerSettingsProto818 = newValue} - } - /// Returns true if `getPlayerSettingsProto818` has been explicitly set. - public var hasGetPlayerSettingsProto818: Bool {return _storage._getPlayerSettingsProto818 != nil} - /// Clears the value of `getPlayerSettingsProto818`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerSettingsProto818() {_uniqueStorage()._getPlayerSettingsProto818 = nil} + public var referrerCode: String = String() - public var belugaTransactionStartProto819: BelugaTransactionStartProto { - get {return _storage._belugaTransactionStartProto819 ?? BelugaTransactionStartProto()} - set {_uniqueStorage()._belugaTransactionStartProto819 = newValue} - } - /// Returns true if `belugaTransactionStartProto819` has been explicitly set. - public var hasBelugaTransactionStartProto819: Bool {return _storage._belugaTransactionStartProto819 != nil} - /// Clears the value of `belugaTransactionStartProto819`. Subsequent reads from it will return its default value. - public mutating func clearBelugaTransactionStartProto819() {_uniqueStorage()._belugaTransactionStartProto819 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var belugaTransactionCompleteProto820: BelugaTransactionCompleteProto { - get {return _storage._belugaTransactionCompleteProto820 ?? BelugaTransactionCompleteProto()} - set {_uniqueStorage()._belugaTransactionCompleteProto820 = newValue} - } - /// Returns true if `belugaTransactionCompleteProto820` has been explicitly set. - public var hasBelugaTransactionCompleteProto820: Bool {return _storage._belugaTransactionCompleteProto820 != nil} - /// Clears the value of `belugaTransactionCompleteProto820`. Subsequent reads from it will return its default value. - public mutating func clearBelugaTransactionCompleteProto820() {_uniqueStorage()._belugaTransactionCompleteProto820 = nil} + public init() {} +} - public var sfidaAssociateRequest822: SfidaAssociateRequest { - get {return _storage._sfidaAssociateRequest822 ?? SfidaAssociateRequest()} - set {_uniqueStorage()._sfidaAssociateRequest822 = newValue} - } - /// Returns true if `sfidaAssociateRequest822` has been explicitly set. - public var hasSfidaAssociateRequest822: Bool {return _storage._sfidaAssociateRequest822 != nil} - /// Clears the value of `sfidaAssociateRequest822`. Subsequent reads from it will return its default value. - public mutating func clearSfidaAssociateRequest822() {_uniqueStorage()._sfidaAssociateRequest822 = nil} +public struct AddressBookImportSettingsProto { + // 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. - public var sfidaCheckPairingRequest823: SfidaCheckPairingRequest { - get {return _storage._sfidaCheckPairingRequest823 ?? SfidaCheckPairingRequest()} - set {_uniqueStorage()._sfidaCheckPairingRequest823 = newValue} - } - /// Returns true if `sfidaCheckPairingRequest823` has been explicitly set. - public var hasSfidaCheckPairingRequest823: Bool {return _storage._sfidaCheckPairingRequest823 != nil} - /// Clears the value of `sfidaCheckPairingRequest823`. Subsequent reads from it will return its default value. - public mutating func clearSfidaCheckPairingRequest823() {_uniqueStorage()._sfidaCheckPairingRequest823 = nil} + public var isEnabled: Bool = false - public var sfidaDisassociateRequest824: SfidaDisassociateRequest { - get {return _storage._sfidaDisassociateRequest824 ?? SfidaDisassociateRequest()} - set {_uniqueStorage()._sfidaDisassociateRequest824 = newValue} - } - /// Returns true if `sfidaDisassociateRequest824` has been explicitly set. - public var hasSfidaDisassociateRequest824: Bool {return _storage._sfidaDisassociateRequest824 != nil} - /// Clears the value of `sfidaDisassociateRequest824`. Subsequent reads from it will return its default value. - public mutating func clearSfidaDisassociateRequest824() {_uniqueStorage()._sfidaDisassociateRequest824 = nil} + public var onboardingScreenLevel: Int32 = 0 - public var wainaSubmitSleepDataRequest826: WainaSubmitSleepDataRequest { - get {return _storage._wainaSubmitSleepDataRequest826 ?? WainaSubmitSleepDataRequest()} - set {_uniqueStorage()._wainaSubmitSleepDataRequest826 = newValue} - } - /// Returns true if `wainaSubmitSleepDataRequest826` has been explicitly set. - public var hasWainaSubmitSleepDataRequest826: Bool {return _storage._wainaSubmitSleepDataRequest826 != nil} - /// Clears the value of `wainaSubmitSleepDataRequest826`. Subsequent reads from it will return its default value. - public mutating func clearWainaSubmitSleepDataRequest826() {_uniqueStorage()._wainaSubmitSleepDataRequest826 = nil} + public var showOptOutCheckbox: Bool = false - public var getNewQuestsProto900: GetNewQuestsProto { - get {return _storage._getNewQuestsProto900 ?? GetNewQuestsProto()} - set {_uniqueStorage()._getNewQuestsProto900 = newValue} - } - /// Returns true if `getNewQuestsProto900` has been explicitly set. - public var hasGetNewQuestsProto900: Bool {return _storage._getNewQuestsProto900 != nil} - /// Clears the value of `getNewQuestsProto900`. Subsequent reads from it will return its default value. - public mutating func clearGetNewQuestsProto900() {_uniqueStorage()._getNewQuestsProto900 = nil} + public var repromptOnboardingForV1: Bool = false - public var getQuestDetailsProto901: GetQuestDetailsProto { - get {return _storage._getQuestDetailsProto901 ?? GetQuestDetailsProto()} - set {_uniqueStorage()._getQuestDetailsProto901 = newValue} - } - /// Returns true if `getQuestDetailsProto901` has been explicitly set. - public var hasGetQuestDetailsProto901: Bool {return _storage._getQuestDetailsProto901 != nil} - /// Clears the value of `getQuestDetailsProto901`. Subsequent reads from it will return its default value. - public mutating func clearGetQuestDetailsProto901() {_uniqueStorage()._getQuestDetailsProto901 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var completeQuestProto902: CompleteQuestProto { - get {return _storage._completeQuestProto902 ?? CompleteQuestProto()} - set {_uniqueStorage()._completeQuestProto902 = newValue} - } - /// Returns true if `completeQuestProto902` has been explicitly set. - public var hasCompleteQuestProto902: Bool {return _storage._completeQuestProto902 != nil} - /// Clears the value of `completeQuestProto902`. Subsequent reads from it will return its default value. - public mutating func clearCompleteQuestProto902() {_uniqueStorage()._completeQuestProto902 = nil} + public init() {} +} - public var removeQuestProto903: RemoveQuestProto { - get {return _storage._removeQuestProto903 ?? RemoveQuestProto()} - set {_uniqueStorage()._removeQuestProto903 = newValue} - } - /// Returns true if `removeQuestProto903` has been explicitly set. - public var hasRemoveQuestProto903: Bool {return _storage._removeQuestProto903 != nil} - /// Clears the value of `removeQuestProto903`. Subsequent reads from it will return its default value. - public mutating func clearRemoveQuestProto903() {_uniqueStorage()._removeQuestProto903 = nil} +public struct AddressBookImportTelemetry { + // 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. - public var questEncounterProto904: QuestEncounterProto { - get {return _storage._questEncounterProto904 ?? QuestEncounterProto()} - set {_uniqueStorage()._questEncounterProto904 = newValue} - } - /// Returns true if `questEncounterProto904` has been explicitly set. - public var hasQuestEncounterProto904: Bool {return _storage._questEncounterProto904 != nil} - /// Clears the value of `questEncounterProto904`. Subsequent reads from it will return its default value. - public mutating func clearQuestEncounterProto904() {_uniqueStorage()._questEncounterProto904 = nil} + public var abiTelemetryID: AddressBookImportTelemetry.AddressBookImportTelemetryId = .undefined - public var progressQuestproto906: ProgressQuestProto { - get {return _storage._progressQuestproto906 ?? ProgressQuestProto()} - set {_uniqueStorage()._progressQuestproto906 = newValue} - } - /// Returns true if `progressQuestproto906` has been explicitly set. - public var hasProgressQuestproto906: Bool {return _storage._progressQuestproto906 != nil} - /// Clears the value of `progressQuestproto906`. Subsequent reads from it will return its default value. - public mutating func clearProgressQuestproto906() {_uniqueStorage()._progressQuestproto906 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var sendGiftProto950: SendGiftProto { - get {return _storage._sendGiftProto950 ?? SendGiftProto()} - set {_uniqueStorage()._sendGiftProto950 = newValue} - } - /// Returns true if `sendGiftProto950` has been explicitly set. - public var hasSendGiftProto950: Bool {return _storage._sendGiftProto950 != nil} - /// Clears the value of `sendGiftProto950`. Subsequent reads from it will return its default value. - public mutating func clearSendGiftProto950() {_uniqueStorage()._sendGiftProto950 = nil} + public enum AddressBookImportTelemetryId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case seePgoNewPlayerOnboardingScreen // = 1 + case clickImportContactsButton // = 2 + case openAddressBookImportFromPgoOnboarding // = 3 + case dismissPgoOnboarding // = 4 + case UNRECOGNIZED(Int) - public var openGiftProto951: OpenGiftProto { - get {return _storage._openGiftProto951 ?? OpenGiftProto()} - set {_uniqueStorage()._openGiftProto951 = newValue} + public init() { + self = .undefined } - /// Returns true if `openGiftProto951` has been explicitly set. - public var hasOpenGiftProto951: Bool {return _storage._openGiftProto951 != nil} - /// Clears the value of `openGiftProto951`. Subsequent reads from it will return its default value. - public mutating func clearOpenGiftProto951() {_uniqueStorage()._openGiftProto951 = nil} - public var getgiftBoxDetailsProto952: GetGiftBoxDetailsProto { - get {return _storage._getgiftBoxDetailsProto952 ?? GetGiftBoxDetailsProto()} - set {_uniqueStorage()._getgiftBoxDetailsProto952 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .seePgoNewPlayerOnboardingScreen + case 2: self = .clickImportContactsButton + case 3: self = .openAddressBookImportFromPgoOnboarding + case 4: self = .dismissPgoOnboarding + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `getgiftBoxDetailsProto952` has been explicitly set. - public var hasGetgiftBoxDetailsProto952: Bool {return _storage._getgiftBoxDetailsProto952 != nil} - /// Clears the value of `getgiftBoxDetailsProto952`. Subsequent reads from it will return its default value. - public mutating func clearGetgiftBoxDetailsProto952() {_uniqueStorage()._getgiftBoxDetailsProto952 = nil} - public var deleteGiftProto953: DeleteGiftProto { - get {return _storage._deleteGiftProto953 ?? DeleteGiftProto()} - set {_uniqueStorage()._deleteGiftProto953 = newValue} + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .seePgoNewPlayerOnboardingScreen: return 1 + case .clickImportContactsButton: return 2 + case .openAddressBookImportFromPgoOnboarding: return 3 + case .dismissPgoOnboarding: return 4 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `deleteGiftProto953` has been explicitly set. - public var hasDeleteGiftProto953: Bool {return _storage._deleteGiftProto953 != nil} - /// Clears the value of `deleteGiftProto953`. Subsequent reads from it will return its default value. - public mutating func clearDeleteGiftProto953() {_uniqueStorage()._deleteGiftProto953 = nil} - public var savePlayersnapshotProto954: SavePlayerSnapshotProto { - get {return _storage._savePlayersnapshotProto954 ?? SavePlayerSnapshotProto()} - set {_uniqueStorage()._savePlayersnapshotProto954 = newValue} - } - /// Returns true if `savePlayersnapshotProto954` has been explicitly set. - public var hasSavePlayersnapshotProto954: Bool {return _storage._savePlayersnapshotProto954 != nil} - /// Clears the value of `savePlayersnapshotProto954`. Subsequent reads from it will return its default value. - public mutating func clearSavePlayersnapshotProto954() {_uniqueStorage()._savePlayersnapshotProto954 = nil} + } - public var checkSendGiftProto956: CheckSendGiftProto { - get {return _storage._checkSendGiftProto956 ?? CheckSendGiftProto()} - set {_uniqueStorage()._checkSendGiftProto956 = newValue} - } - /// Returns true if `checkSendGiftProto956` has been explicitly set. - public var hasCheckSendGiftProto956: Bool {return _storage._checkSendGiftProto956 != nil} - /// Clears the value of `checkSendGiftProto956`. Subsequent reads from it will return its default value. - public mutating func clearCheckSendGiftProto956() {_uniqueStorage()._checkSendGiftProto956 = nil} + public init() {} +} - public var setFriendNicknameProto957: SetFriendNicknameProto { - get {return _storage._setFriendNicknameProto957 ?? SetFriendNicknameProto()} - set {_uniqueStorage()._setFriendNicknameProto957 = newValue} - } - /// Returns true if `setFriendNicknameProto957` has been explicitly set. - public var hasSetFriendNicknameProto957: Bool {return _storage._setFriendNicknameProto957 != nil} - /// Clears the value of `setFriendNicknameProto957`. Subsequent reads from it will return its default value. - public mutating func clearSetFriendNicknameProto957() {_uniqueStorage()._setFriendNicknameProto957 = nil} +#if swift(>=4.2) - public var deleteGiftFromInventoryProto958: DeleteGiftFromInventoryProto { - get {return _storage._deleteGiftFromInventoryProto958 ?? DeleteGiftFromInventoryProto()} - set {_uniqueStorage()._deleteGiftFromInventoryProto958 = newValue} - } - /// Returns true if `deleteGiftFromInventoryProto958` has been explicitly set. - public var hasDeleteGiftFromInventoryProto958: Bool {return _storage._deleteGiftFromInventoryProto958 != nil} - /// Clears the value of `deleteGiftFromInventoryProto958`. Subsequent reads from it will return its default value. - public mutating func clearDeleteGiftFromInventoryProto958() {_uniqueStorage()._deleteGiftFromInventoryProto958 = nil} +extension AddressBookImportTelemetry.AddressBookImportTelemetryId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AddressBookImportTelemetry.AddressBookImportTelemetryId] = [ + .undefined, + .seePgoNewPlayerOnboardingScreen, + .clickImportContactsButton, + .openAddressBookImportFromPgoOnboarding, + .dismissPgoOnboarding, + ] +} - public var savesocialPlayersettingsProto959: SaveSocialPlayerSettingsProto { - get {return _storage._savesocialPlayersettingsProto959 ?? SaveSocialPlayerSettingsProto()} - set {_uniqueStorage()._savesocialPlayersettingsProto959 = newValue} - } - /// Returns true if `savesocialPlayersettingsProto959` has been explicitly set. - public var hasSavesocialPlayersettingsProto959: Bool {return _storage._savesocialPlayersettingsProto959 != nil} - /// Clears the value of `savesocialPlayersettingsProto959`. Subsequent reads from it will return its default value. - public mutating func clearSavesocialPlayersettingsProto959() {_uniqueStorage()._savesocialPlayersettingsProto959 = nil} +#endif // swift(>=4.2) - public var shareExRaidPassProto960: ShareExRaidPassProto { - get {return _storage._shareExRaidPassProto960 ?? ShareExRaidPassProto()} - set {_uniqueStorage()._shareExRaidPassProto960 = newValue} - } - /// Returns true if `shareExRaidPassProto960` has been explicitly set. - public var hasShareExRaidPassProto960: Bool {return _storage._shareExRaidPassProto960 != nil} - /// Clears the value of `shareExRaidPassProto960`. Subsequent reads from it will return its default value. - public mutating func clearShareExRaidPassProto960() {_uniqueStorage()._shareExRaidPassProto960 = nil} +public struct AddressablePokemonProto { + // 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. - public var checkShareExRaidPassProto961: CheckShareExRaidPassProto { - get {return _storage._checkShareExRaidPassProto961 ?? CheckShareExRaidPassProto()} - set {_uniqueStorage()._checkShareExRaidPassProto961 = newValue} - } - /// Returns true if `checkShareExRaidPassProto961` has been explicitly set. - public var hasCheckShareExRaidPassProto961: Bool {return _storage._checkShareExRaidPassProto961 != nil} - /// Clears the value of `checkShareExRaidPassProto961`. Subsequent reads from it will return its default value. - public mutating func clearCheckShareExRaidPassProto961() {_uniqueStorage()._checkShareExRaidPassProto961 = nil} + public var catalogID: Int32 = 0 - public var declineExRaidPassProto962: DeclineExRaidPassProto { - get {return _storage._declineExRaidPassProto962 ?? DeclineExRaidPassProto()} - set {_uniqueStorage()._declineExRaidPassProto962 = newValue} - } - /// Returns true if `declineExRaidPassProto962` has been explicitly set. - public var hasDeclineExRaidPassProto962: Bool {return _storage._declineExRaidPassProto962 != nil} - /// Clears the value of `declineExRaidPassProto962`. Subsequent reads from it will return its default value. - public mutating func clearDeclineExRaidPassProto962() {_uniqueStorage()._declineExRaidPassProto962 = nil} + public var addressablePokemonIds: [HoloPokemonId] = [] - public var openTradingProto970: OpenTradingProto { - get {return _storage._openTradingProto970 ?? OpenTradingProto()} - set {_uniqueStorage()._openTradingProto970 = newValue} - } - /// Returns true if `openTradingProto970` has been explicitly set. - public var hasOpenTradingProto970: Bool {return _storage._openTradingProto970 != nil} - /// Clears the value of `openTradingProto970`. Subsequent reads from it will return its default value. - public mutating func clearOpenTradingProto970() {_uniqueStorage()._openTradingProto970 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var updateTradingProto971: UpdateTradingProto { - get {return _storage._updateTradingProto971 ?? UpdateTradingProto()} - set {_uniqueStorage()._updateTradingProto971 = newValue} - } - /// Returns true if `updateTradingProto971` has been explicitly set. - public var hasUpdateTradingProto971: Bool {return _storage._updateTradingProto971 != nil} - /// Clears the value of `updateTradingProto971`. Subsequent reads from it will return its default value. - public mutating func clearUpdateTradingProto971() {_uniqueStorage()._updateTradingProto971 = nil} + public init() {} +} - public var confirmTradingProto972: ConfirmTradingProto { - get {return _storage._confirmTradingProto972 ?? ConfirmTradingProto()} - set {_uniqueStorage()._confirmTradingProto972 = newValue} - } - /// Returns true if `confirmTradingProto972` has been explicitly set. - public var hasConfirmTradingProto972: Bool {return _storage._confirmTradingProto972 != nil} - /// Clears the value of `confirmTradingProto972`. Subsequent reads from it will return its default value. - public mutating func clearConfirmTradingProto972() {_uniqueStorage()._confirmTradingProto972 = nil} +public struct AddressablesServiceTime { + // 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. - public var cancelTradingProto973: CancelTradingProto { - get {return _storage._cancelTradingProto973 ?? CancelTradingProto()} - set {_uniqueStorage()._cancelTradingProto973 = newValue} - } - /// Returns true if `cancelTradingProto973` has been explicitly set. - public var hasCancelTradingProto973: Bool {return _storage._cancelTradingProto973 != nil} - /// Clears the value of `cancelTradingProto973`. Subsequent reads from it will return its default value. - public mutating func clearCancelTradingProto973() {_uniqueStorage()._cancelTradingProto973 = nil} + public var key: String = String() - public var getTradingProto974: GetTradingProto { - get {return _storage._getTradingProto974 ?? GetTradingProto()} - set {_uniqueStorage()._getTradingProto974 = newValue} - } - /// Returns true if `getTradingProto974` has been explicitly set. - public var hasGetTradingProto974: Bool {return _storage._getTradingProto974 != nil} - /// Clears the value of `getTradingProto974`. Subsequent reads from it will return its default value. - public mutating func clearGetTradingProto974() {_uniqueStorage()._getTradingProto974 = nil} + public var durationMs: Int32 = 0 - public var getFitnessRewardsProto980: GetFitnessRewardsProto { - get {return _storage._getFitnessRewardsProto980 ?? GetFitnessRewardsProto()} - set {_uniqueStorage()._getFitnessRewardsProto980 = newValue} - } - /// Returns true if `getFitnessRewardsProto980` has been explicitly set. - public var hasGetFitnessRewardsProto980: Bool {return _storage._getFitnessRewardsProto980 != nil} - /// Clears the value of `getFitnessRewardsProto980`. Subsequent reads from it will return its default value. - public mutating func clearGetFitnessRewardsProto980() {_uniqueStorage()._getFitnessRewardsProto980 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var getCombatPlayerProfileProto990: GetCombatPlayerProfileProto { - get {return _storage._getCombatPlayerProfileProto990 ?? GetCombatPlayerProfileProto()} - set {_uniqueStorage()._getCombatPlayerProfileProto990 = newValue} - } - /// Returns true if `getCombatPlayerProfileProto990` has been explicitly set. - public var hasGetCombatPlayerProfileProto990: Bool {return _storage._getCombatPlayerProfileProto990 != nil} - /// Clears the value of `getCombatPlayerProfileProto990`. Subsequent reads from it will return its default value. - public mutating func clearGetCombatPlayerProfileProto990() {_uniqueStorage()._getCombatPlayerProfileProto990 = nil} + public init() {} +} - public var generateCombatChallengeIDProto991: GenerateCombatChallengeIdProto { - get {return _storage._generateCombatChallengeIDProto991 ?? GenerateCombatChallengeIdProto()} - set {_uniqueStorage()._generateCombatChallengeIDProto991 = newValue} - } - /// Returns true if `generateCombatChallengeIDProto991` has been explicitly set. - public var hasGenerateCombatChallengeIDProto991: Bool {return _storage._generateCombatChallengeIDProto991 != nil} - /// Clears the value of `generateCombatChallengeIDProto991`. Subsequent reads from it will return its default value. - public mutating func clearGenerateCombatChallengeIDProto991() {_uniqueStorage()._generateCombatChallengeIDProto991 = nil} +public struct AdvancedPerformanceTelemetry { + // 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. - public var createcombatchallengeProto992: CreateCombatChallengeProto { - get {return _storage._createcombatchallengeProto992 ?? CreateCombatChallengeProto()} - set {_uniqueStorage()._createcombatchallengeProto992 = newValue} - } - /// Returns true if `createcombatchallengeProto992` has been explicitly set. - public var hasCreatecombatchallengeProto992: Bool {return _storage._createcombatchallengeProto992 != nil} - /// Clears the value of `createcombatchallengeProto992`. Subsequent reads from it will return its default value. - public mutating func clearCreatecombatchallengeProto992() {_uniqueStorage()._createcombatchallengeProto992 = nil} + public var performancePresetLevel: AdvancedPerformanceTelemetry.PerformancePresetLevels { + get {return _storage._performancePresetLevel} + set {_uniqueStorage()._performancePresetLevel = newValue} + } - public var openCombatChallengeProto993: OpenCombatChallengeProto { - get {return _storage._openCombatChallengeProto993 ?? OpenCombatChallengeProto()} - set {_uniqueStorage()._openCombatChallengeProto993 = newValue} - } - /// Returns true if `openCombatChallengeProto993` has been explicitly set. - public var hasOpenCombatChallengeProto993: Bool {return _storage._openCombatChallengeProto993 != nil} - /// Clears the value of `openCombatChallengeProto993`. Subsequent reads from it will return its default value. - public mutating func clearOpenCombatChallengeProto993() {_uniqueStorage()._openCombatChallengeProto993 = nil} + public var nativeRefreshRateFps: Bool { + get {return _storage._nativeRefreshRateFps} + set {_uniqueStorage()._nativeRefreshRateFps = newValue} + } - public var getCombatChallengeProto994: GetCombatChallengeProto { - get {return _storage._getCombatChallengeProto994 ?? GetCombatChallengeProto()} - set {_uniqueStorage()._getCombatChallengeProto994 = newValue} - } - /// Returns true if `getCombatChallengeProto994` has been explicitly set. - public var hasGetCombatChallengeProto994: Bool {return _storage._getCombatChallengeProto994 != nil} - /// Clears the value of `getCombatChallengeProto994`. Subsequent reads from it will return its default value. - public mutating func clearGetCombatChallengeProto994() {_uniqueStorage()._getCombatChallengeProto994 = nil} + public var specialFramerate: Bool { + get {return _storage._specialFramerate} + set {_uniqueStorage()._specialFramerate = newValue} + } - public var acceptCombatChallengeProto995: AcceptCombatChallengeProto { - get {return _storage._acceptCombatChallengeProto995 ?? AcceptCombatChallengeProto()} - set {_uniqueStorage()._acceptCombatChallengeProto995 = newValue} - } - /// Returns true if `acceptCombatChallengeProto995` has been explicitly set. - public var hasAcceptCombatChallengeProto995: Bool {return _storage._acceptCombatChallengeProto995 != nil} - /// Clears the value of `acceptCombatChallengeProto995`. Subsequent reads from it will return its default value. - public mutating func clearAcceptCombatChallengeProto995() {_uniqueStorage()._acceptCombatChallengeProto995 = nil} + public var improvedSky: Bool { + get {return _storage._improvedSky} + set {_uniqueStorage()._improvedSky = newValue} + } - public var declineCombatChallengeProto996: DeclineCombatChallengeProto { - get {return _storage._declineCombatChallengeProto996 ?? DeclineCombatChallengeProto()} - set {_uniqueStorage()._declineCombatChallengeProto996 = newValue} - } - /// Returns true if `declineCombatChallengeProto996` has been explicitly set. - public var hasDeclineCombatChallengeProto996: Bool {return _storage._declineCombatChallengeProto996 != nil} - /// Clears the value of `declineCombatChallengeProto996`. Subsequent reads from it will return its default value. - public mutating func clearDeclineCombatChallengeProto996() {_uniqueStorage()._declineCombatChallengeProto996 = nil} + public var dynamicGyms: Bool { + get {return _storage._dynamicGyms} + set {_uniqueStorage()._dynamicGyms = newValue} + } - public var cancelcombatchallengeProto997: CancelCombatChallengeProto { - get {return _storage._cancelcombatchallengeProto997 ?? CancelCombatChallengeProto()} - set {_uniqueStorage()._cancelcombatchallengeProto997 = newValue} - } - /// Returns true if `cancelcombatchallengeProto997` has been explicitly set. - public var hasCancelcombatchallengeProto997: Bool {return _storage._cancelcombatchallengeProto997 != nil} - /// Clears the value of `cancelcombatchallengeProto997`. Subsequent reads from it will return its default value. - public mutating func clearCancelcombatchallengeProto997() {_uniqueStorage()._cancelcombatchallengeProto997 = nil} + public var normalMapDrawingDistance: Bool { + get {return _storage._normalMapDrawingDistance} + set {_uniqueStorage()._normalMapDrawingDistance = newValue} + } - public var submitCombatChallengePokemonsProto998: SubmitCombatChallengePokemonsProto { - get {return _storage._submitCombatChallengePokemonsProto998 ?? SubmitCombatChallengePokemonsProto()} - set {_uniqueStorage()._submitCombatChallengePokemonsProto998 = newValue} - } - /// Returns true if `submitCombatChallengePokemonsProto998` has been explicitly set. - public var hasSubmitCombatChallengePokemonsProto998: Bool {return _storage._submitCombatChallengePokemonsProto998 != nil} - /// Clears the value of `submitCombatChallengePokemonsProto998`. Subsequent reads from it will return its default value. - public mutating func clearSubmitCombatChallengePokemonsProto998() {_uniqueStorage()._submitCombatChallengePokemonsProto998 = nil} + public var normalFogDistance: Bool { + get {return _storage._normalFogDistance} + set {_uniqueStorage()._normalFogDistance = newValue} + } - public var saveCombatPlayerPreferencesProto999: SaveCombatPlayerPreferencesProto { - get {return _storage._saveCombatPlayerPreferencesProto999 ?? SaveCombatPlayerPreferencesProto()} - set {_uniqueStorage()._saveCombatPlayerPreferencesProto999 = newValue} - } - /// Returns true if `saveCombatPlayerPreferencesProto999` has been explicitly set. - public var hasSaveCombatPlayerPreferencesProto999: Bool {return _storage._saveCombatPlayerPreferencesProto999 != nil} - /// Clears the value of `saveCombatPlayerPreferencesProto999`. Subsequent reads from it will return its default value. - public mutating func clearSaveCombatPlayerPreferencesProto999() {_uniqueStorage()._saveCombatPlayerPreferencesProto999 = nil} + public var buildingsOnMap: AdvancedPerformanceTelemetry.PerformanceLevels { + get {return _storage._buildingsOnMap} + set {_uniqueStorage()._buildingsOnMap = newValue} + } - public var openCombatSessionProto1000: OpenCombatSessionProto { - get {return _storage._openCombatSessionProto1000 ?? OpenCombatSessionProto()} - set {_uniqueStorage()._openCombatSessionProto1000 = newValue} - } - /// Returns true if `openCombatSessionProto1000` has been explicitly set. - public var hasOpenCombatSessionProto1000: Bool {return _storage._openCombatSessionProto1000 != nil} - /// Clears the value of `openCombatSessionProto1000`. Subsequent reads from it will return its default value. - public mutating func clearOpenCombatSessionProto1000() {_uniqueStorage()._openCombatSessionProto1000 = nil} + public var friendsIconsInList: Bool { + get {return _storage._friendsIconsInList} + set {_uniqueStorage()._friendsIconsInList = newValue} + } - public var updateCombatProto1001: UpdateCombatProto { - get {return _storage._updateCombatProto1001 ?? UpdateCombatProto()} - set {_uniqueStorage()._updateCombatProto1001 = newValue} - } - /// Returns true if `updateCombatProto1001` has been explicitly set. - public var hasUpdateCombatProto1001: Bool {return _storage._updateCombatProto1001 != nil} - /// Clears the value of `updateCombatProto1001`. Subsequent reads from it will return its default value. - public mutating func clearUpdateCombatProto1001() {_uniqueStorage()._updateCombatProto1001 = nil} + public var avatarsRenderTextureSizeHigh: AdvancedPerformanceTelemetry.PerformanceLevels { + get {return _storage._avatarsRenderTextureSizeHigh} + set {_uniqueStorage()._avatarsRenderTextureSizeHigh = newValue} + } - public var quitCombatProto1002: QuitCombatProto { - get {return _storage._quitCombatProto1002 ?? QuitCombatProto()} - set {_uniqueStorage()._quitCombatProto1002 = newValue} - } - /// Returns true if `quitCombatProto1002` has been explicitly set. - public var hasQuitCombatProto1002: Bool {return _storage._quitCombatProto1002 != nil} - /// Clears the value of `quitCombatProto1002`. Subsequent reads from it will return its default value. - public mutating func clearQuitCombatProto1002() {_uniqueStorage()._quitCombatProto1002 = nil} + public var avatarsRenderTextureSizeLow: Bool { + get {return _storage._avatarsRenderTextureSizeLow} + set {_uniqueStorage()._avatarsRenderTextureSizeLow = newValue} + } - public var getCombatResultsProto1003: GetCombatResultsProto { - get {return _storage._getCombatResultsProto1003 ?? GetCombatResultsProto()} - set {_uniqueStorage()._getCombatResultsProto1003 = newValue} - } - /// Returns true if `getCombatResultsProto1003` has been explicitly set. - public var hasGetCombatResultsProto1003: Bool {return _storage._getCombatResultsProto1003 != nil} - /// Clears the value of `getCombatResultsProto1003`. Subsequent reads from it will return its default value. - public mutating func clearGetCombatResultsProto1003() {_uniqueStorage()._getCombatResultsProto1003 = nil} + public var arPrompt: Bool { + get {return _storage._arPrompt} + set {_uniqueStorage()._arPrompt = newValue} + } - public var unlockPokemonMoveProto1004: UnlockPokemonMoveProto { - get {return _storage._unlockPokemonMoveProto1004 ?? UnlockPokemonMoveProto()} - set {_uniqueStorage()._unlockPokemonMoveProto1004 = newValue} - } - /// Returns true if `unlockPokemonMoveProto1004` has been explicitly set. - public var hasUnlockPokemonMoveProto1004: Bool {return _storage._unlockPokemonMoveProto1004 != nil} - /// Clears the value of `unlockPokemonMoveProto1004`. Subsequent reads from it will return its default value. - public mutating func clearUnlockPokemonMoveProto1004() {_uniqueStorage()._unlockPokemonMoveProto1004 = nil} + public var renderLevel: AdvancedPerformanceTelemetry.PerformanceLevels { + get {return _storage._renderLevel} + set {_uniqueStorage()._renderLevel = newValue} + } - public var getNpcCombatRewardsProto1005: GetNpcCombatRewardsProto { - get {return _storage._getNpcCombatRewardsProto1005 ?? GetNpcCombatRewardsProto()} - set {_uniqueStorage()._getNpcCombatRewardsProto1005 = newValue} - } - /// Returns true if `getNpcCombatRewardsProto1005` has been explicitly set. - public var hasGetNpcCombatRewardsProto1005: Bool {return _storage._getNpcCombatRewardsProto1005 != nil} - /// Clears the value of `getNpcCombatRewardsProto1005`. Subsequent reads from it will return its default value. - public mutating func clearGetNpcCombatRewardsProto1005() {_uniqueStorage()._getNpcCombatRewardsProto1005 = nil} + public var textureQuality: AdvancedPerformanceTelemetry.PerformanceLevels { + get {return _storage._textureQuality} + set {_uniqueStorage()._textureQuality = newValue} + } - public var combatFriendRequestProto1006: CombatFriendRequestProto { - get {return _storage._combatFriendRequestProto1006 ?? CombatFriendRequestProto()} - set {_uniqueStorage()._combatFriendRequestProto1006 = newValue} - } - /// Returns true if `combatFriendRequestProto1006` has been explicitly set. - public var hasCombatFriendRequestProto1006: Bool {return _storage._combatFriendRequestProto1006 != nil} - /// Clears the value of `combatFriendRequestProto1006`. Subsequent reads from it will return its default value. - public mutating func clearCombatFriendRequestProto1006() {_uniqueStorage()._combatFriendRequestProto1006 = nil} + public var downloadImageRamCache: AdvancedPerformanceTelemetry.PerformanceLevels { + get {return _storage._downloadImageRamCache} + set {_uniqueStorage()._downloadImageRamCache = newValue} + } - public var openNpcCombatSessionProto1007: OpenNpcCombatSessionProto { - get {return _storage._openNpcCombatSessionProto1007 ?? OpenNpcCombatSessionProto()} - set {_uniqueStorage()._openNpcCombatSessionProto1007 = newValue} - } - /// Returns true if `openNpcCombatSessionProto1007` has been explicitly set. - public var hasOpenNpcCombatSessionProto1007: Bool {return _storage._openNpcCombatSessionProto1007 != nil} - /// Clears the value of `openNpcCombatSessionProto1007`. Subsequent reads from it will return its default value. - public mutating func clearOpenNpcCombatSessionProto1007() {_uniqueStorage()._openNpcCombatSessionProto1007 = nil} + public var mapDetails: Bool { + get {return _storage._mapDetails} + set {_uniqueStorage()._mapDetails = newValue} + } - public var startTutorialProto1008: StartTutorialProto { - get {return _storage._startTutorialProto1008 ?? StartTutorialProto()} - set {_uniqueStorage()._startTutorialProto1008 = newValue} - } - /// Returns true if `startTutorialProto1008` has been explicitly set. - public var hasStartTutorialProto1008: Bool {return _storage._startTutorialProto1008 != nil} - /// Clears the value of `startTutorialProto1008`. Subsequent reads from it will return its default value. - public mutating func clearStartTutorialProto1008() {_uniqueStorage()._startTutorialProto1008 = nil} + public var avatarDetails: Bool { + get {return _storage._avatarDetails} + set {_uniqueStorage()._avatarDetails = newValue} + } - public var getTutorialEggProto1009: GetTutorialEggProto { - get {return _storage._getTutorialEggProto1009 ?? GetTutorialEggProto()} - set {_uniqueStorage()._getTutorialEggProto1009 = newValue} - } - /// Returns true if `getTutorialEggProto1009` has been explicitly set. - public var hasGetTutorialEggProto1009: Bool {return _storage._getTutorialEggProto1009 != nil} - /// Clears the value of `getTutorialEggProto1009`. Subsequent reads from it will return its default value. - public mutating func clearGetTutorialEggProto1009() {_uniqueStorage()._getTutorialEggProto1009 = nil} + public var renderAndTexture: AdvancedPerformanceTelemetry.PerformanceLevels { + get {return _storage._renderAndTexture} + set {_uniqueStorage()._renderAndTexture = newValue} + } - public var sendProbeProto1020: SendProbeProto { - get {return _storage._sendProbeProto1020 ?? SendProbeProto()} - set {_uniqueStorage()._sendProbeProto1020 = newValue} - } - /// Returns true if `sendProbeProto1020` has been explicitly set. - public var hasSendProbeProto1020: Bool {return _storage._sendProbeProto1020 != nil} - /// Clears the value of `sendProbeProto1020`. Subsequent reads from it will return its default value. - public mutating func clearSendProbeProto1020() {_uniqueStorage()._sendProbeProto1020 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var checkPhotobombProto1101: CheckPhotobombProto { - get {return _storage._checkPhotobombProto1101 ?? CheckPhotobombProto()} - set {_uniqueStorage()._checkPhotobombProto1101 = newValue} - } - /// Returns true if `checkPhotobombProto1101` has been explicitly set. - public var hasCheckPhotobombProto1101: Bool {return _storage._checkPhotobombProto1101 != nil} - /// Clears the value of `checkPhotobombProto1101`. Subsequent reads from it will return its default value. - public mutating func clearCheckPhotobombProto1101() {_uniqueStorage()._checkPhotobombProto1101 = nil} + public enum PerformanceLevels: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case low // = 1 + case medium // = 2 + case high // = 3 + case UNRECOGNIZED(Int) - public var confirmPhotobombProto1102: ConfirmPhotobombProto { - get {return _storage._confirmPhotobombProto1102 ?? ConfirmPhotobombProto()} - set {_uniqueStorage()._confirmPhotobombProto1102 = newValue} + public init() { + self = .unset } - /// Returns true if `confirmPhotobombProto1102` has been explicitly set. - public var hasConfirmPhotobombProto1102: Bool {return _storage._confirmPhotobombProto1102 != nil} - /// Clears the value of `confirmPhotobombProto1102`. Subsequent reads from it will return its default value. - public mutating func clearConfirmPhotobombProto1102() {_uniqueStorage()._confirmPhotobombProto1102 = nil} - public var getPhotobombProto1103: GetPhotobombProto { - get {return _storage._getPhotobombProto1103 ?? GetPhotobombProto()} - set {_uniqueStorage()._getPhotobombProto1103 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .low + case 2: self = .medium + case 3: self = .high + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `getPhotobombProto1103` has been explicitly set. - public var hasGetPhotobombProto1103: Bool {return _storage._getPhotobombProto1103 != nil} - /// Clears the value of `getPhotobombProto1103`. Subsequent reads from it will return its default value. - public mutating func clearGetPhotobombProto1103() {_uniqueStorage()._getPhotobombProto1103 = nil} - public var encounterPhotobombProto1104: EncounterPhotobombProto { - get {return _storage._encounterPhotobombProto1104 ?? EncounterPhotobombProto()} - set {_uniqueStorage()._encounterPhotobombProto1104 = newValue} - } - /// Returns true if `encounterPhotobombProto1104` has been explicitly set. - public var hasEncounterPhotobombProto1104: Bool {return _storage._encounterPhotobombProto1104 != nil} - /// Clears the value of `encounterPhotobombProto1104`. Subsequent reads from it will return its default value. - public mutating func clearEncounterPhotobombProto1104() {_uniqueStorage()._encounterPhotobombProto1104 = nil} - - public var getgmapSettingsProto1105: GetGmapSettingsProto { - get {return _storage._getgmapSettingsProto1105 ?? GetGmapSettingsProto()} - set {_uniqueStorage()._getgmapSettingsProto1105 = newValue} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .low: return 1 + case .medium: return 2 + case .high: return 3 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `getgmapSettingsProto1105` has been explicitly set. - public var hasGetgmapSettingsProto1105: Bool {return _storage._getgmapSettingsProto1105 != nil} - /// Clears the value of `getgmapSettingsProto1105`. Subsequent reads from it will return its default value. - public mutating func clearGetgmapSettingsProto1105() {_uniqueStorage()._getgmapSettingsProto1105 = nil} - public var changeTeamProto1106: ChangeTeamProto { - get {return _storage._changeTeamProto1106 ?? ChangeTeamProto()} - set {_uniqueStorage()._changeTeamProto1106 = newValue} - } - /// Returns true if `changeTeamProto1106` has been explicitly set. - public var hasChangeTeamProto1106: Bool {return _storage._changeTeamProto1106 != nil} - /// Clears the value of `changeTeamProto1106`. Subsequent reads from it will return its default value. - public mutating func clearChangeTeamProto1106() {_uniqueStorage()._changeTeamProto1106 = nil} + } - public var getWebTokenProto1107: GetWebTokenProto { - get {return _storage._getWebTokenProto1107 ?? GetWebTokenProto()} - set {_uniqueStorage()._getWebTokenProto1107 = newValue} - } - /// Returns true if `getWebTokenProto1107` has been explicitly set. - public var hasGetWebTokenProto1107: Bool {return _storage._getWebTokenProto1107 != nil} - /// Clears the value of `getWebTokenProto1107`. Subsequent reads from it will return its default value. - public mutating func clearGetWebTokenProto1107() {_uniqueStorage()._getWebTokenProto1107 = nil} + public enum PerformancePresetLevels: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetPreset // = 0 + case lowPreset // = 1 + case mediumPreset // = 2 + case highPreset // = 3 + case maxPreset // = 4 + case customPreset // = 5 + case UNRECOGNIZED(Int) - public var completeSnapshotSessionProto1110: CompleteSnapshotSessionProto { - get {return _storage._completeSnapshotSessionProto1110 ?? CompleteSnapshotSessionProto()} - set {_uniqueStorage()._completeSnapshotSessionProto1110 = newValue} + public init() { + self = .unsetPreset } - /// Returns true if `completeSnapshotSessionProto1110` has been explicitly set. - public var hasCompleteSnapshotSessionProto1110: Bool {return _storage._completeSnapshotSessionProto1110 != nil} - /// Clears the value of `completeSnapshotSessionProto1110`. Subsequent reads from it will return its default value. - public mutating func clearCompleteSnapshotSessionProto1110() {_uniqueStorage()._completeSnapshotSessionProto1110 = nil} - public var completeWildSnapshotSessionProto1111: CompleteWildSnapshotSessionProto { - get {return _storage._completeWildSnapshotSessionProto1111 ?? CompleteWildSnapshotSessionProto()} - set {_uniqueStorage()._completeWildSnapshotSessionProto1111 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetPreset + case 1: self = .lowPreset + case 2: self = .mediumPreset + case 3: self = .highPreset + case 4: self = .maxPreset + case 5: self = .customPreset + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `completeWildSnapshotSessionProto1111` has been explicitly set. - public var hasCompleteWildSnapshotSessionProto1111: Bool {return _storage._completeWildSnapshotSessionProto1111 != nil} - /// Clears the value of `completeWildSnapshotSessionProto1111`. Subsequent reads from it will return its default value. - public mutating func clearCompleteWildSnapshotSessionProto1111() {_uniqueStorage()._completeWildSnapshotSessionProto1111 = nil} - public var startIncidentProto1200: StartIncidentProto { - get {return _storage._startIncidentProto1200 ?? StartIncidentProto()} - set {_uniqueStorage()._startIncidentProto1200 = newValue} + public var rawValue: Int { + switch self { + case .unsetPreset: return 0 + case .lowPreset: return 1 + case .mediumPreset: return 2 + case .highPreset: return 3 + case .maxPreset: return 4 + case .customPreset: return 5 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `startIncidentProto1200` has been explicitly set. - public var hasStartIncidentProto1200: Bool {return _storage._startIncidentProto1200 != nil} - /// Clears the value of `startIncidentProto1200`. Subsequent reads from it will return its default value. - public mutating func clearStartIncidentProto1200() {_uniqueStorage()._startIncidentProto1200 = nil} - public var completeInvasionDialogueProto1201: CompleteInvasionDialogueProto { - get {return _storage._completeInvasionDialogueProto1201 ?? CompleteInvasionDialogueProto()} - set {_uniqueStorage()._completeInvasionDialogueProto1201 = newValue} - } - /// Returns true if `completeInvasionDialogueProto1201` has been explicitly set. - public var hasCompleteInvasionDialogueProto1201: Bool {return _storage._completeInvasionDialogueProto1201 != nil} - /// Clears the value of `completeInvasionDialogueProto1201`. Subsequent reads from it will return its default value. - public mutating func clearCompleteInvasionDialogueProto1201() {_uniqueStorage()._completeInvasionDialogueProto1201 = nil} + } - public var openInvasionCombatSessionProto1202: OpenInvasionCombatSessionProto { - get {return _storage._openInvasionCombatSessionProto1202 ?? OpenInvasionCombatSessionProto()} - set {_uniqueStorage()._openInvasionCombatSessionProto1202 = newValue} - } - /// Returns true if `openInvasionCombatSessionProto1202` has been explicitly set. - public var hasOpenInvasionCombatSessionProto1202: Bool {return _storage._openInvasionCombatSessionProto1202 != nil} - /// Clears the value of `openInvasionCombatSessionProto1202`. Subsequent reads from it will return its default value. - public mutating func clearOpenInvasionCombatSessionProto1202() {_uniqueStorage()._openInvasionCombatSessionProto1202 = nil} + public init() {} - public var updateInvasionBattleProto1203: UpdateInvasionBattleProto { - get {return _storage._updateInvasionBattleProto1203 ?? UpdateInvasionBattleProto()} - set {_uniqueStorage()._updateInvasionBattleProto1203 = newValue} - } - /// Returns true if `updateInvasionBattleProto1203` has been explicitly set. - public var hasUpdateInvasionBattleProto1203: Bool {return _storage._updateInvasionBattleProto1203 != nil} - /// Clears the value of `updateInvasionBattleProto1203`. Subsequent reads from it will return its default value. - public mutating func clearUpdateInvasionBattleProto1203() {_uniqueStorage()._updateInvasionBattleProto1203 = nil} + fileprivate var _storage = _StorageClass.defaultInstance +} - public var invasionEncounterProto1204: InvasionEncounterProto { - get {return _storage._invasionEncounterProto1204 ?? InvasionEncounterProto()} - set {_uniqueStorage()._invasionEncounterProto1204 = newValue} - } - /// Returns true if `invasionEncounterProto1204` has been explicitly set. - public var hasInvasionEncounterProto1204: Bool {return _storage._invasionEncounterProto1204 != nil} - /// Clears the value of `invasionEncounterProto1204`. Subsequent reads from it will return its default value. - public mutating func clearInvasionEncounterProto1204() {_uniqueStorage()._invasionEncounterProto1204 = nil} +#if swift(>=4.2) - public var purifypokemonproto1205: PurifyPokemonProto { - get {return _storage._purifypokemonproto1205 ?? PurifyPokemonProto()} - set {_uniqueStorage()._purifypokemonproto1205 = newValue} - } - /// Returns true if `purifypokemonproto1205` has been explicitly set. - public var hasPurifypokemonproto1205: Bool {return _storage._purifypokemonproto1205 != nil} - /// Clears the value of `purifypokemonproto1205`. Subsequent reads from it will return its default value. - public mutating func clearPurifypokemonproto1205() {_uniqueStorage()._purifypokemonproto1205 = nil} +extension AdvancedPerformanceTelemetry.PerformanceLevels: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AdvancedPerformanceTelemetry.PerformanceLevels] = [ + .unset, + .low, + .medium, + .high, + ] +} - public var getRocketBalloonProto1206: GetRocketBalloonProto { - get {return _storage._getRocketBalloonProto1206 ?? GetRocketBalloonProto()} - set {_uniqueStorage()._getRocketBalloonProto1206 = newValue} - } - /// Returns true if `getRocketBalloonProto1206` has been explicitly set. - public var hasGetRocketBalloonProto1206: Bool {return _storage._getRocketBalloonProto1206 != nil} - /// Clears the value of `getRocketBalloonProto1206`. Subsequent reads from it will return its default value. - public mutating func clearGetRocketBalloonProto1206() {_uniqueStorage()._getRocketBalloonProto1206 = nil} +extension AdvancedPerformanceTelemetry.PerformancePresetLevels: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AdvancedPerformanceTelemetry.PerformancePresetLevels] = [ + .unsetPreset, + .lowPreset, + .mediumPreset, + .highPreset, + .maxPreset, + .customPreset, + ] +} - public var startRocketBalloonIncidentProto1207: StartRocketBalloonIncidentProto { - get {return _storage._startRocketBalloonIncidentProto1207 ?? StartRocketBalloonIncidentProto()} - set {_uniqueStorage()._startRocketBalloonIncidentProto1207 = newValue} - } - /// Returns true if `startRocketBalloonIncidentProto1207` has been explicitly set. - public var hasStartRocketBalloonIncidentProto1207: Bool {return _storage._startRocketBalloonIncidentProto1207 != nil} - /// Clears the value of `startRocketBalloonIncidentProto1207`. Subsequent reads from it will return its default value. - public mutating func clearStartRocketBalloonIncidentProto1207() {_uniqueStorage()._startRocketBalloonIncidentProto1207 = nil} +#endif // swift(>=4.2) - public var vsSeekerStartMatchmakingProto1300: VsSeekerStartMatchmakingProto { - get {return _storage._vsSeekerStartMatchmakingProto1300 ?? VsSeekerStartMatchmakingProto()} - set {_uniqueStorage()._vsSeekerStartMatchmakingProto1300 = newValue} - } - /// Returns true if `vsSeekerStartMatchmakingProto1300` has been explicitly set. - public var hasVsSeekerStartMatchmakingProto1300: Bool {return _storage._vsSeekerStartMatchmakingProto1300 != nil} - /// Clears the value of `vsSeekerStartMatchmakingProto1300`. Subsequent reads from it will return its default value. - public mutating func clearVsSeekerStartMatchmakingProto1300() {_uniqueStorage()._vsSeekerStartMatchmakingProto1300 = nil} +public struct AdvancedSettingsProto { + // 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. - public var cancelMatchmakingProto1301: CancelMatchmakingProto { - get {return _storage._cancelMatchmakingProto1301 ?? CancelMatchmakingProto()} - set {_uniqueStorage()._cancelMatchmakingProto1301 = newValue} - } - /// Returns true if `cancelMatchmakingProto1301` has been explicitly set. - public var hasCancelMatchmakingProto1301: Bool {return _storage._cancelMatchmakingProto1301 != nil} - /// Clears the value of `cancelMatchmakingProto1301`. Subsequent reads from it will return its default value. - public mutating func clearCancelMatchmakingProto1301() {_uniqueStorage()._cancelMatchmakingProto1301 = nil} + public var advancedSettingsVersion: Int32 = 0 - public var getMatchmakingStatusProto1302: GetMatchmakingStatusProto { - get {return _storage._getMatchmakingStatusProto1302 ?? GetMatchmakingStatusProto()} - set {_uniqueStorage()._getMatchmakingStatusProto1302 = newValue} - } - /// Returns true if `getMatchmakingStatusProto1302` has been explicitly set. - public var hasGetMatchmakingStatusProto1302: Bool {return _storage._getMatchmakingStatusProto1302 != nil} - /// Clears the value of `getMatchmakingStatusProto1302`. Subsequent reads from it will return its default value. - public mutating func clearGetMatchmakingStatusProto1302() {_uniqueStorage()._getMatchmakingStatusProto1302 = nil} + public var unityCacheSizeMaxMegabytes: [Int32] = [] - public var completeVsSeekerAndRestartchargingProto1303: CompleteVsSeekerAndRestartChargingProto { - get {return _storage._completeVsSeekerAndRestartchargingProto1303 ?? CompleteVsSeekerAndRestartChargingProto()} - set {_uniqueStorage()._completeVsSeekerAndRestartchargingProto1303 = newValue} - } - /// Returns true if `completeVsSeekerAndRestartchargingProto1303` has been explicitly set. - public var hasCompleteVsSeekerAndRestartchargingProto1303: Bool {return _storage._completeVsSeekerAndRestartchargingProto1303 != nil} - /// Clears the value of `completeVsSeekerAndRestartchargingProto1303`. Subsequent reads from it will return its default value. - public mutating func clearCompleteVsSeekerAndRestartchargingProto1303() {_uniqueStorage()._completeVsSeekerAndRestartchargingProto1303 = nil} + public var storedDataSizeMaxMegabytes: [Int32] = [] - public var getVsSeekerStatusProto1304: GetVsSeekerStatusProto { - get {return _storage._getVsSeekerStatusProto1304 ?? GetVsSeekerStatusProto()} - set {_uniqueStorage()._getVsSeekerStatusProto1304 = newValue} - } - /// Returns true if `getVsSeekerStatusProto1304` has been explicitly set. - public var hasGetVsSeekerStatusProto1304: Bool {return _storage._getVsSeekerStatusProto1304 != nil} - /// Clears the value of `getVsSeekerStatusProto1304`. Subsequent reads from it will return its default value. - public mutating func clearGetVsSeekerStatusProto1304() {_uniqueStorage()._getVsSeekerStatusProto1304 = nil} + public var diskCacheSizeMaxMegabytes: [Int32] = [] - public var completecompetitiveSeasonProto1305: CompleteCompetitiveSeasonProto { - get {return _storage._completecompetitiveSeasonProto1305 ?? CompleteCompetitiveSeasonProto()} - set {_uniqueStorage()._completecompetitiveSeasonProto1305 = newValue} - } - /// Returns true if `completecompetitiveSeasonProto1305` has been explicitly set. - public var hasCompletecompetitiveSeasonProto1305: Bool {return _storage._completecompetitiveSeasonProto1305 != nil} - /// Clears the value of `completecompetitiveSeasonProto1305`. Subsequent reads from it will return its default value. - public mutating func clearCompletecompetitiveSeasonProto1305() {_uniqueStorage()._completecompetitiveSeasonProto1305 = nil} + public var imageRamCacheSizeMaxMegabytes: [Int32] = [] - public var claimVsSeekerRewardsProto1306: ClaimVsSeekerRewardsProto { - get {return _storage._claimVsSeekerRewardsProto1306 ?? ClaimVsSeekerRewardsProto()} - set {_uniqueStorage()._claimVsSeekerRewardsProto1306 = newValue} - } - /// Returns true if `claimVsSeekerRewardsProto1306` has been explicitly set. - public var hasClaimVsSeekerRewardsProto1306: Bool {return _storage._claimVsSeekerRewardsProto1306 != nil} - /// Clears the value of `claimVsSeekerRewardsProto1306`. Subsequent reads from it will return its default value. - public mutating func clearClaimVsSeekerRewardsProto1306() {_uniqueStorage()._claimVsSeekerRewardsProto1306 = nil} + public var downloadAllAssetsEnabled: Bool = false - public var vsSeekerRewardEncounterProto1307: VsSeekerRewardEncounterProto { - get {return _storage._vsSeekerRewardEncounterProto1307 ?? VsSeekerRewardEncounterProto()} - set {_uniqueStorage()._vsSeekerRewardEncounterProto1307 = newValue} - } - /// Returns true if `vsSeekerRewardEncounterProto1307` has been explicitly set. - public var hasVsSeekerRewardEncounterProto1307: Bool {return _storage._vsSeekerRewardEncounterProto1307 != nil} - /// Clears the value of `vsSeekerRewardEncounterProto1307`. Subsequent reads from it will return its default value. - public mutating func clearVsSeekerRewardEncounterProto1307() {_uniqueStorage()._vsSeekerRewardEncounterProto1307 = nil} + public var http3Enabled: Bool = false - public var activateVsSeekerProto1308: ActivateVsSeekerProto { - get {return _storage._activateVsSeekerProto1308 ?? ActivateVsSeekerProto()} - set {_uniqueStorage()._activateVsSeekerProto1308 = newValue} - } - /// Returns true if `activateVsSeekerProto1308` has been explicitly set. - public var hasActivateVsSeekerProto1308: Bool {return _storage._activateVsSeekerProto1308 != nil} - /// Clears the value of `activateVsSeekerProto1308`. Subsequent reads from it will return its default value. - public mutating func clearActivateVsSeekerProto1308() {_uniqueStorage()._activateVsSeekerProto1308 = nil} + public var baseFramerate: Int32 = 0 - public var buddyMapProto1350: BuddyMapProto { - get {return _storage._buddyMapProto1350 ?? BuddyMapProto()} - set {_uniqueStorage()._buddyMapProto1350 = newValue} - } - /// Returns true if `buddyMapProto1350` has been explicitly set. - public var hasBuddyMapProto1350: Bool {return _storage._buddyMapProto1350 != nil} - /// Clears the value of `buddyMapProto1350`. Subsequent reads from it will return its default value. - public mutating func clearBuddyMapProto1350() {_uniqueStorage()._buddyMapProto1350 = nil} + public var defaultUnlockFramerate: Bool = false - public var buddyStatsProto1351: BuddyStatsProto { - get {return _storage._buddyStatsProto1351 ?? BuddyStatsProto()} - set {_uniqueStorage()._buddyStatsProto1351 = newValue} - } - /// Returns true if `buddyStatsProto1351` has been explicitly set. - public var hasBuddyStatsProto1351: Bool {return _storage._buddyStatsProto1351 != nil} - /// Clears the value of `buddyStatsProto1351`. Subsequent reads from it will return its default value. - public mutating func clearBuddyStatsProto1351() {_uniqueStorage()._buddyStatsProto1351 = nil} + public var realTimeDynamicsEnabled: Bool = false - public var buddyFeedingProto1352: BuddyFeedingProto { - get {return _storage._buddyFeedingProto1352 ?? BuddyFeedingProto()} - set {_uniqueStorage()._buddyFeedingProto1352 = newValue} - } - /// Returns true if `buddyFeedingProto1352` has been explicitly set. - public var hasBuddyFeedingProto1352: Bool {return _storage._buddyFeedingProto1352 != nil} - /// Clears the value of `buddyFeedingProto1352`. Subsequent reads from it will return its default value. - public mutating func clearBuddyFeedingProto1352() {_uniqueStorage()._buddyFeedingProto1352 = nil} + public var maxDeviceMemoryForHighQualityModeMb: Int32 = 0 - public var openBuddyGiftProto1353: OpenBuddyGiftProto { - get {return _storage._openBuddyGiftProto1353 ?? OpenBuddyGiftProto()} - set {_uniqueStorage()._openBuddyGiftProto1353 = newValue} - } - /// Returns true if `openBuddyGiftProto1353` has been explicitly set. - public var hasOpenBuddyGiftProto1353: Bool {return _storage._openBuddyGiftProto1353 != nil} - /// Clears the value of `openBuddyGiftProto1353`. Subsequent reads from it will return its default value. - public mutating func clearOpenBuddyGiftProto1353() {_uniqueStorage()._openBuddyGiftProto1353 = nil} + public var maxDeviceMemoryForStandardQualityModeMb: Int32 = 0 - public var buddyPettingProto1354: BuddyPettingProto { - get {return _storage._buddyPettingProto1354 ?? BuddyPettingProto()} - set {_uniqueStorage()._buddyPettingProto1354 = newValue} - } - /// Returns true if `buddyPettingProto1354` has been explicitly set. - public var hasBuddyPettingProto1354: Bool {return _storage._buddyPettingProto1354 != nil} - /// Clears the value of `buddyPettingProto1354`. Subsequent reads from it will return its default value. - public mutating func clearBuddyPettingProto1354() {_uniqueStorage()._buddyPettingProto1354 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var getBuddyHistoryProto1355: GetBuddyHistoryProto { - get {return _storage._getBuddyHistoryProto1355 ?? GetBuddyHistoryProto()} - set {_uniqueStorage()._getBuddyHistoryProto1355 = newValue} - } - /// Returns true if `getBuddyHistoryProto1355` has been explicitly set. - public var hasGetBuddyHistoryProto1355: Bool {return _storage._getBuddyHistoryProto1355 != nil} - /// Clears the value of `getBuddyHistoryProto1355`. Subsequent reads from it will return its default value. - public mutating func clearGetBuddyHistoryProto1355() {_uniqueStorage()._getBuddyHistoryProto1355 = nil} + public init() {} +} - public var updateRouteDraftProto1400: UpdateRouteDraftProto { - get {return _storage._updateRouteDraftProto1400 ?? UpdateRouteDraftProto()} - set {_uniqueStorage()._updateRouteDraftProto1400 = newValue} - } - /// Returns true if `updateRouteDraftProto1400` has been explicitly set. - public var hasUpdateRouteDraftProto1400: Bool {return _storage._updateRouteDraftProto1400 != nil} - /// Clears the value of `updateRouteDraftProto1400`. Subsequent reads from it will return its default value. - public mutating func clearUpdateRouteDraftProto1400() {_uniqueStorage()._updateRouteDraftProto1400 = nil} +public struct AdventureSyncActivitySummaryProto { + // 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. - public var getMapFortsProto1401: GetMapFortsProto { - get {return _storage._getMapFortsProto1401 ?? GetMapFortsProto()} - set {_uniqueStorage()._getMapFortsProto1401 = newValue} - } - /// Returns true if `getMapFortsProto1401` has been explicitly set. - public var hasGetMapFortsProto1401: Bool {return _storage._getMapFortsProto1401 != nil} - /// Clears the value of `getMapFortsProto1401`. Subsequent reads from it will return its default value. - public mutating func clearGetMapFortsProto1401() {_uniqueStorage()._getMapFortsProto1401 = nil} + public var weeklyWalkDistanceKmProgress: Float = 0 - public var submitRouteDraftProto1402: SubmitRouteDraftProto { - get {return _storage._submitRouteDraftProto1402 ?? SubmitRouteDraftProto()} - set {_uniqueStorage()._submitRouteDraftProto1402 = newValue} - } - /// Returns true if `submitRouteDraftProto1402` has been explicitly set. - public var hasSubmitRouteDraftProto1402: Bool {return _storage._submitRouteDraftProto1402 != nil} - /// Clears the value of `submitRouteDraftProto1402`. Subsequent reads from it will return its default value. - public mutating func clearSubmitRouteDraftProto1402() {_uniqueStorage()._submitRouteDraftProto1402 = nil} + public var weeklyWalkDistanceKmGoals: [Float] = [] - public var getPublishedRoutesProto1403: GetPublishedRoutesProto { - get {return _storage._getPublishedRoutesProto1403 ?? GetPublishedRoutesProto()} - set {_uniqueStorage()._getPublishedRoutesProto1403 = newValue} - } - /// Returns true if `getPublishedRoutesProto1403` has been explicitly set. - public var hasGetPublishedRoutesProto1403: Bool {return _storage._getPublishedRoutesProto1403 != nil} - /// Clears the value of `getPublishedRoutesProto1403`. Subsequent reads from it will return its default value. - public mutating func clearGetPublishedRoutesProto1403() {_uniqueStorage()._getPublishedRoutesProto1403 = nil} + public var eggProgress: AdventureSyncEggHatchingProgress { + get {return _eggProgress ?? AdventureSyncEggHatchingProgress()} + set {_eggProgress = newValue} + } + /// Returns true if `eggProgress` has been explicitly set. + public var hasEggProgress: Bool {return self._eggProgress != nil} + /// Clears the value of `eggProgress`. Subsequent reads from it will return its default value. + public mutating func clearEggProgress() {self._eggProgress = nil} - public var startRouteProto1404: StartRouteProto { - get {return _storage._startRouteProto1404 ?? StartRouteProto()} - set {_uniqueStorage()._startRouteProto1404 = newValue} - } - /// Returns true if `startRouteProto1404` has been explicitly set. - public var hasStartRouteProto1404: Bool {return _storage._startRouteProto1404 != nil} - /// Clears the value of `startRouteProto1404`. Subsequent reads from it will return its default value. - public mutating func clearStartRouteProto1404() {_uniqueStorage()._startRouteProto1404 = nil} + public var buddyStatsProto: AdventureSyncBuddyStatsProto { + get {return _buddyStatsProto ?? AdventureSyncBuddyStatsProto()} + set {_buddyStatsProto = newValue} + } + /// Returns true if `buddyStatsProto` has been explicitly set. + public var hasBuddyStatsProto: Bool {return self._buddyStatsProto != nil} + /// Clears the value of `buddyStatsProto`. Subsequent reads from it will return its default value. + public mutating func clearBuddyStatsProto() {self._buddyStatsProto = nil} - public var getRoutesProto1405: GetRoutesProto { - get {return _storage._getRoutesProto1405 ?? GetRoutesProto()} - set {_uniqueStorage()._getRoutesProto1405 = newValue} - } - /// Returns true if `getRoutesProto1405` has been explicitly set. - public var hasGetRoutesProto1405: Bool {return _storage._getRoutesProto1405 != nil} - /// Clears the value of `getRoutesProto1405`. Subsequent reads from it will return its default value. - public mutating func clearGetRoutesProto1405() {_uniqueStorage()._getRoutesProto1405 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var progressRouteproto1406: ProgressRouteProto { - get {return _storage._progressRouteproto1406 ?? ProgressRouteProto()} - set {_uniqueStorage()._progressRouteproto1406 = newValue} - } - /// Returns true if `progressRouteproto1406` has been explicitly set. - public var hasProgressRouteproto1406: Bool {return _storage._progressRouteproto1406 != nil} - /// Clears the value of `progressRouteproto1406`. Subsequent reads from it will return its default value. - public mutating func clearProgressRouteproto1406() {_uniqueStorage()._progressRouteproto1406 = nil} + public init() {} - public var processRouteTappableproto1408: ProcessRouteTappableProto { - get {return _storage._processRouteTappableproto1408 ?? ProcessRouteTappableProto()} - set {_uniqueStorage()._processRouteTappableproto1408 = newValue} - } - /// Returns true if `processRouteTappableproto1408` has been explicitly set. - public var hasProcessRouteTappableproto1408: Bool {return _storage._processRouteTappableproto1408 != nil} - /// Clears the value of `processRouteTappableproto1408`. Subsequent reads from it will return its default value. - public mutating func clearProcessRouteTappableproto1408() {_uniqueStorage()._processRouteTappableproto1408 = nil} + fileprivate var _eggProgress: AdventureSyncEggHatchingProgress? = nil + fileprivate var _buddyStatsProto: AdventureSyncBuddyStatsProto? = nil +} - public var listRouteBadgesProto1409: ListRouteBadgesProto { - get {return _storage._listRouteBadgesProto1409 ?? ListRouteBadgesProto()} - set {_uniqueStorage()._listRouteBadgesProto1409 = newValue} - } - /// Returns true if `listRouteBadgesProto1409` has been explicitly set. - public var hasListRouteBadgesProto1409: Bool {return _storage._listRouteBadgesProto1409 != nil} - /// Clears the value of `listRouteBadgesProto1409`. Subsequent reads from it will return its default value. - public mutating func clearListRouteBadgesProto1409() {_uniqueStorage()._listRouteBadgesProto1409 = nil} +public struct AdventureSyncBuddyStatsProto { + // 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. - public var cancelRouteProto1410: CancelRouteProto { - get {return _storage._cancelRouteProto1410 ?? CancelRouteProto()} - set {_uniqueStorage()._cancelRouteProto1410 = newValue} - } - /// Returns true if `cancelRouteProto1410` has been explicitly set. - public var hasCancelRouteProto1410: Bool {return _storage._cancelRouteProto1410 != nil} - /// Clears the value of `cancelRouteProto1410`. Subsequent reads from it will return its default value. - public mutating func clearCancelRouteProto1410() {_uniqueStorage()._cancelRouteProto1410 = nil} + public var affectionKmInProgress: Float = 0 - public var createBuddyMultiplayerSessionProto1456: CreateBuddyMultiplayerSessionProto { - get {return _storage._createBuddyMultiplayerSessionProto1456 ?? CreateBuddyMultiplayerSessionProto()} - set {_uniqueStorage()._createBuddyMultiplayerSessionProto1456 = newValue} - } - /// Returns true if `createBuddyMultiplayerSessionProto1456` has been explicitly set. - public var hasCreateBuddyMultiplayerSessionProto1456: Bool {return _storage._createBuddyMultiplayerSessionProto1456 != nil} - /// Clears the value of `createBuddyMultiplayerSessionProto1456`. Subsequent reads from it will return its default value. - public mutating func clearCreateBuddyMultiplayerSessionProto1456() {_uniqueStorage()._createBuddyMultiplayerSessionProto1456 = nil} + public var affectionKmTotal: Float = 0 - public var joinBuddyMultiplayerSessionProto1457: JoinBuddyMultiplayerSessionProto { - get {return _storage._joinBuddyMultiplayerSessionProto1457 ?? JoinBuddyMultiplayerSessionProto()} - set {_uniqueStorage()._joinBuddyMultiplayerSessionProto1457 = newValue} - } - /// Returns true if `joinBuddyMultiplayerSessionProto1457` has been explicitly set. - public var hasJoinBuddyMultiplayerSessionProto1457: Bool {return _storage._joinBuddyMultiplayerSessionProto1457 != nil} - /// Clears the value of `joinBuddyMultiplayerSessionProto1457`. Subsequent reads from it will return its default value. - public mutating func clearJoinBuddyMultiplayerSessionProto1457() {_uniqueStorage()._joinBuddyMultiplayerSessionProto1457 = nil} + public var buddyShownHeartTypes: [BuddyStatsShownHearts.BuddyShownHeartType] = [] - public var leaveBuddyMultiplayerSessionProto1458: LeaveBuddyMultiplayerSessionProto { - get {return _storage._leaveBuddyMultiplayerSessionProto1458 ?? LeaveBuddyMultiplayerSessionProto()} - set {_uniqueStorage()._leaveBuddyMultiplayerSessionProto1458 = newValue} - } - /// Returns true if `leaveBuddyMultiplayerSessionProto1458` has been explicitly set. - public var hasLeaveBuddyMultiplayerSessionProto1458: Bool {return _storage._leaveBuddyMultiplayerSessionProto1458 != nil} - /// Clears the value of `leaveBuddyMultiplayerSessionProto1458`. Subsequent reads from it will return its default value. - public mutating func clearLeaveBuddyMultiplayerSessionProto1458() {_uniqueStorage()._leaveBuddyMultiplayerSessionProto1458 = nil} + public var emotionLevel: BuddyEmotionLevel = .unset - public var getTodayViewProto1501: GetTodayViewProto { - get {return _storage._getTodayViewProto1501 ?? GetTodayViewProto()} - set {_uniqueStorage()._getTodayViewProto1501 = newValue} - } - /// Returns true if `getTodayViewProto1501` has been explicitly set. - public var hasGetTodayViewProto1501: Bool {return _storage._getTodayViewProto1501 != nil} - /// Clears the value of `getTodayViewProto1501`. Subsequent reads from it will return its default value. - public mutating func clearGetTodayViewProto1501() {_uniqueStorage()._getTodayViewProto1501 = nil} + public var lastReachedFullMs: Int64 = 0 - public var megaEvolvePokemonProto1502: MegaEvolvePokemonProto { - get {return _storage._megaEvolvePokemonProto1502 ?? MegaEvolvePokemonProto()} - set {_uniqueStorage()._megaEvolvePokemonProto1502 = newValue} - } - /// Returns true if `megaEvolvePokemonProto1502` has been explicitly set. - public var hasMegaEvolvePokemonProto1502: Bool {return _storage._megaEvolvePokemonProto1502 != nil} - /// Clears the value of `megaEvolvePokemonProto1502`. Subsequent reads from it will return its default value. - public mutating func clearMegaEvolvePokemonProto1502() {_uniqueStorage()._megaEvolvePokemonProto1502 = nil} + public var mapExpirationMs: Int64 = 0 - public var remoteGiftPingrequestProto1503: RemoteGiftPingRequestProto { - get {return _storage._remoteGiftPingrequestProto1503 ?? RemoteGiftPingRequestProto()} - set {_uniqueStorage()._remoteGiftPingrequestProto1503 = newValue} - } - /// Returns true if `remoteGiftPingrequestProto1503` has been explicitly set. - public var hasRemoteGiftPingrequestProto1503: Bool {return _storage._remoteGiftPingrequestProto1503 != nil} - /// Clears the value of `remoteGiftPingrequestProto1503`. Subsequent reads from it will return its default value. - public mutating func clearRemoteGiftPingrequestProto1503() {_uniqueStorage()._remoteGiftPingrequestProto1503 = nil} + public var hasGift_p: Bool = false - public var sendRaidInvitationProto1504: SendRaidInvitationProto { - get {return _storage._sendRaidInvitationProto1504 ?? SendRaidInvitationProto()} - set {_uniqueStorage()._sendRaidInvitationProto1504 = newValue} - } - /// Returns true if `sendRaidInvitationProto1504` has been explicitly set. - public var hasSendRaidInvitationProto1504: Bool {return _storage._sendRaidInvitationProto1504 != nil} - /// Clears the value of `sendRaidInvitationProto1504`. Subsequent reads from it will return its default value. - public mutating func clearSendRaidInvitationProto1504() {_uniqueStorage()._sendRaidInvitationProto1504 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var getDailyEncounterProto1601: GetDailyEncounterProto { - get {return _storage._getDailyEncounterProto1601 ?? GetDailyEncounterProto()} - set {_uniqueStorage()._getDailyEncounterProto1601 = newValue} - } - /// Returns true if `getDailyEncounterProto1601` has been explicitly set. - public var hasGetDailyEncounterProto1601: Bool {return _storage._getDailyEncounterProto1601 != nil} - /// Clears the value of `getDailyEncounterProto1601`. Subsequent reads from it will return its default value. - public mutating func clearGetDailyEncounterProto1601() {_uniqueStorage()._getDailyEncounterProto1601 = nil} + public init() {} +} - public var dailyEncounterProto1602: DailyEncounterProto { - get {return _storage._dailyEncounterProto1602 ?? DailyEncounterProto()} - set {_uniqueStorage()._dailyEncounterProto1602 = newValue} - } - /// Returns true if `dailyEncounterProto1602` has been explicitly set. - public var hasDailyEncounterProto1602: Bool {return _storage._dailyEncounterProto1602 != nil} - /// Clears the value of `dailyEncounterProto1602`. Subsequent reads from it will return its default value. - public mutating func clearDailyEncounterProto1602() {_uniqueStorage()._dailyEncounterProto1602 = nil} +public struct AdventureSyncEggHatchingProgress { + // 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. - public var openSponsoredGiftProto1650: OpenSponsoredGiftProto { - get {return _storage._openSponsoredGiftProto1650 ?? OpenSponsoredGiftProto()} - set {_uniqueStorage()._openSponsoredGiftProto1650 = newValue} - } - /// Returns true if `openSponsoredGiftProto1650` has been explicitly set. - public var hasOpenSponsoredGiftProto1650: Bool {return _storage._openSponsoredGiftProto1650 != nil} - /// Clears the value of `openSponsoredGiftProto1650`. Subsequent reads from it will return its default value. - public mutating func clearOpenSponsoredGiftProto1650() {_uniqueStorage()._openSponsoredGiftProto1650 = nil} + public var status: AdventureSyncEggHatchingProgress.Status = .unset - public var savePlayerPreferencesProto1652: SavePlayerPreferencesProto { - get {return _storage._savePlayerPreferencesProto1652 ?? SavePlayerPreferencesProto()} - set {_uniqueStorage()._savePlayerPreferencesProto1652 = newValue} - } - /// Returns true if `savePlayerPreferencesProto1652` has been explicitly set. - public var hasSavePlayerPreferencesProto1652: Bool {return _storage._savePlayerPreferencesProto1652 != nil} - /// Clears the value of `savePlayerPreferencesProto1652`. Subsequent reads from it will return its default value. - public mutating func clearSavePlayerPreferencesProto1652() {_uniqueStorage()._savePlayerPreferencesProto1652 = nil} + public var eggDistanceKm: Float = 0 - public var profanityCheckproto1653: ProfanityCheckProto { - get {return _storage._profanityCheckproto1653 ?? ProfanityCheckProto()} - set {_uniqueStorage()._profanityCheckproto1653 = newValue} - } - /// Returns true if `profanityCheckproto1653` has been explicitly set. - public var hasProfanityCheckproto1653: Bool {return _storage._profanityCheckproto1653 != nil} - /// Clears the value of `profanityCheckproto1653`. Subsequent reads from it will return its default value. - public mutating func clearProfanityCheckproto1653() {_uniqueStorage()._profanityCheckproto1653 = nil} + public var currentDistanceKm: Float = 0 - public var getTimedgroupChallengeProto1700: GetTimedGroupChallengeProto { - get {return _storage._getTimedgroupChallengeProto1700 ?? GetTimedGroupChallengeProto()} - set {_uniqueStorage()._getTimedgroupChallengeProto1700 = newValue} - } - /// Returns true if `getTimedgroupChallengeProto1700` has been explicitly set. - public var hasGetTimedgroupChallengeProto1700: Bool {return _storage._getTimedgroupChallengeProto1700 != nil} - /// Clears the value of `getTimedgroupChallengeProto1700`. Subsequent reads from it will return its default value. - public mutating func clearGetTimedgroupChallengeProto1700() {_uniqueStorage()._getTimedgroupChallengeProto1700 = nil} + public var incubator: AdventureSyncEggHatchingProgress.IncubatorType = .unknown - public var getNintendoAccountProto1710: GetNintendoAccountProto { - get {return _storage._getNintendoAccountProto1710 ?? GetNintendoAccountProto()} - set {_uniqueStorage()._getNintendoAccountProto1710 = newValue} - } - /// Returns true if `getNintendoAccountProto1710` has been explicitly set. - public var hasGetNintendoAccountProto1710: Bool {return _storage._getNintendoAccountProto1710 != nil} - /// Clears the value of `getNintendoAccountProto1710`. Subsequent reads from it will return its default value. - public mutating func clearGetNintendoAccountProto1710() {_uniqueStorage()._getNintendoAccountProto1710 = nil} + public var originalEggDistanceKm: Float = 0 - public var unlinkNintendoAccountProto1711: UnlinkNintendoAccountProto { - get {return _storage._unlinkNintendoAccountProto1711 ?? UnlinkNintendoAccountProto()} - set {_uniqueStorage()._unlinkNintendoAccountProto1711 = newValue} - } - /// Returns true if `unlinkNintendoAccountProto1711` has been explicitly set. - public var hasUnlinkNintendoAccountProto1711: Bool {return _storage._unlinkNintendoAccountProto1711 != nil} - /// Clears the value of `unlinkNintendoAccountProto1711`. Subsequent reads from it will return its default value. - public mutating func clearUnlinkNintendoAccountProto1711() {_uniqueStorage()._unlinkNintendoAccountProto1711 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var getNintendoOAuth2URLProto1712: GetNintendoOAuth2UrlProto { - get {return _storage._getNintendoOAuth2URLProto1712 ?? GetNintendoOAuth2UrlProto()} - set {_uniqueStorage()._getNintendoOAuth2URLProto1712 = newValue} - } - /// Returns true if `getNintendoOAuth2URLProto1712` has been explicitly set. - public var hasGetNintendoOAuth2URLProto1712: Bool {return _storage._getNintendoOAuth2URLProto1712 != nil} - /// Clears the value of `getNintendoOAuth2URLProto1712`. Subsequent reads from it will return its default value. - public mutating func clearGetNintendoOAuth2URLProto1712() {_uniqueStorage()._getNintendoOAuth2URLProto1712 = nil} + public enum IncubatorType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case unlimited // = 901 + case basic // = 902 + case `super` // = 903 + case UNRECOGNIZED(Int) - public var transferPokemontoPokemonHomeProto1713: TransferPokemonToPokemonHomeProto { - get {return _storage._transferPokemontoPokemonHomeProto1713 ?? TransferPokemonToPokemonHomeProto()} - set {_uniqueStorage()._transferPokemontoPokemonHomeProto1713 = newValue} + public init() { + self = .unknown } - /// Returns true if `transferPokemontoPokemonHomeProto1713` has been explicitly set. - public var hasTransferPokemontoPokemonHomeProto1713: Bool {return _storage._transferPokemontoPokemonHomeProto1713 != nil} - /// Clears the value of `transferPokemontoPokemonHomeProto1713`. Subsequent reads from it will return its default value. - public mutating func clearTransferPokemontoPokemonHomeProto1713() {_uniqueStorage()._transferPokemontoPokemonHomeProto1713 = nil} - public var reportAdFeedbackrequest1716: ReportAdFeedbackRequest { - get {return _storage._reportAdFeedbackrequest1716 ?? ReportAdFeedbackRequest()} - set {_uniqueStorage()._reportAdFeedbackrequest1716 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 901: self = .unlimited + case 902: self = .basic + case 903: self = .super + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `reportAdFeedbackrequest1716` has been explicitly set. - public var hasReportAdFeedbackrequest1716: Bool {return _storage._reportAdFeedbackrequest1716 != nil} - /// Clears the value of `reportAdFeedbackrequest1716`. Subsequent reads from it will return its default value. - public mutating func clearReportAdFeedbackrequest1716() {_uniqueStorage()._reportAdFeedbackrequest1716 = nil} - public var createPokemonTagProto1717: CreatePokemonTagProto { - get {return _storage._createPokemonTagProto1717 ?? CreatePokemonTagProto()} - set {_uniqueStorage()._createPokemonTagProto1717 = newValue} + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .unlimited: return 901 + case .basic: return 902 + case .super: return 903 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `createPokemonTagProto1717` has been explicitly set. - public var hasCreatePokemonTagProto1717: Bool {return _storage._createPokemonTagProto1717 != nil} - /// Clears the value of `createPokemonTagProto1717`. Subsequent reads from it will return its default value. - public mutating func clearCreatePokemonTagProto1717() {_uniqueStorage()._createPokemonTagProto1717 = nil} - public var deletePokemonTagProto1718: DeletePokemonTagProto { - get {return _storage._deletePokemonTagProto1718 ?? DeletePokemonTagProto()} - set {_uniqueStorage()._deletePokemonTagProto1718 = newValue} - } - /// Returns true if `deletePokemonTagProto1718` has been explicitly set. - public var hasDeletePokemonTagProto1718: Bool {return _storage._deletePokemonTagProto1718 != nil} - /// Clears the value of `deletePokemonTagProto1718`. Subsequent reads from it will return its default value. - public mutating func clearDeletePokemonTagProto1718() {_uniqueStorage()._deletePokemonTagProto1718 = nil} + } - public var editPokemonTagProto1719: EditPokemonTagProto { - get {return _storage._editPokemonTagProto1719 ?? EditPokemonTagProto()} - set {_uniqueStorage()._editPokemonTagProto1719 = newValue} - } - /// Returns true if `editPokemonTagProto1719` has been explicitly set. - public var hasEditPokemonTagProto1719: Bool {return _storage._editPokemonTagProto1719 != nil} - /// Clears the value of `editPokemonTagProto1719`. Subsequent reads from it will return its default value. - public mutating func clearEditPokemonTagProto1719() {_uniqueStorage()._editPokemonTagProto1719 = nil} + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case hatching // = 1 + case notHatching // = 2 + case hatched // = 3 + case UNRECOGNIZED(Int) - public var setPokemonTagsForPokemonProto1720: SetPokemonTagsForPokemonProto { - get {return _storage._setPokemonTagsForPokemonProto1720 ?? SetPokemonTagsForPokemonProto()} - set {_uniqueStorage()._setPokemonTagsForPokemonProto1720 = newValue} + public init() { + self = .unset } - /// Returns true if `setPokemonTagsForPokemonProto1720` has been explicitly set. - public var hasSetPokemonTagsForPokemonProto1720: Bool {return _storage._setPokemonTagsForPokemonProto1720 != nil} - /// Clears the value of `setPokemonTagsForPokemonProto1720`. Subsequent reads from it will return its default value. - public mutating func clearSetPokemonTagsForPokemonProto1720() {_uniqueStorage()._setPokemonTagsForPokemonProto1720 = nil} - public var getPokemonTagsProto1721: GetPokemonTagsProto { - get {return _storage._getPokemonTagsProto1721 ?? GetPokemonTagsProto()} - set {_uniqueStorage()._getPokemonTagsProto1721 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .hatching + case 2: self = .notHatching + case 3: self = .hatched + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `getPokemonTagsProto1721` has been explicitly set. - public var hasGetPokemonTagsProto1721: Bool {return _storage._getPokemonTagsProto1721 != nil} - /// Clears the value of `getPokemonTagsProto1721`. Subsequent reads from it will return its default value. - public mutating func clearGetPokemonTagsProto1721() {_uniqueStorage()._getPokemonTagsProto1721 = nil} - public var changePokemonFormProto1722: ChangePokemonFormProto { - get {return _storage._changePokemonFormProto1722 ?? ChangePokemonFormProto()} - set {_uniqueStorage()._changePokemonFormProto1722 = newValue} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .hatching: return 1 + case .notHatching: return 2 + case .hatched: return 3 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `changePokemonFormProto1722` has been explicitly set. - public var hasChangePokemonFormProto1722: Bool {return _storage._changePokemonFormProto1722 != nil} - /// Clears the value of `changePokemonFormProto1722`. Subsequent reads from it will return its default value. - public mutating func clearChangePokemonFormProto1722() {_uniqueStorage()._changePokemonFormProto1722 = nil} - public var chooseGlobalTicketedEventVariantProto1723: ChooseGlobalTicketedEventVariantProto { - get {return _storage._chooseGlobalTicketedEventVariantProto1723 ?? ChooseGlobalTicketedEventVariantProto()} - set {_uniqueStorage()._chooseGlobalTicketedEventVariantProto1723 = newValue} - } - /// Returns true if `chooseGlobalTicketedEventVariantProto1723` has been explicitly set. - public var hasChooseGlobalTicketedEventVariantProto1723: Bool {return _storage._chooseGlobalTicketedEventVariantProto1723 != nil} - /// Clears the value of `chooseGlobalTicketedEventVariantProto1723`. Subsequent reads from it will return its default value. - public mutating func clearChooseGlobalTicketedEventVariantProto1723() {_uniqueStorage()._chooseGlobalTicketedEventVariantProto1723 = nil} + } - public var getReferralCodeProto1800: GetReferralCodeProto { - get {return _storage._getReferralCodeProto1800 ?? GetReferralCodeProto()} - set {_uniqueStorage()._getReferralCodeProto1800 = newValue} - } - /// Returns true if `getReferralCodeProto1800` has been explicitly set. - public var hasGetReferralCodeProto1800: Bool {return _storage._getReferralCodeProto1800 != nil} - /// Clears the value of `getReferralCodeProto1800`. Subsequent reads from it will return its default value. - public mutating func clearGetReferralCodeProto1800() {_uniqueStorage()._getReferralCodeProto1800 = nil} + public init() {} +} - public var addReferrerProto1801: AddReferrerProto { - get {return _storage._addReferrerProto1801 ?? AddReferrerProto()} - set {_uniqueStorage()._addReferrerProto1801 = newValue} - } - /// Returns true if `addReferrerProto1801` has been explicitly set. - public var hasAddReferrerProto1801: Bool {return _storage._addReferrerProto1801 != nil} - /// Clears the value of `addReferrerProto1801`. Subsequent reads from it will return its default value. - public mutating func clearAddReferrerProto1801() {_uniqueStorage()._addReferrerProto1801 = nil} +#if swift(>=4.2) - public var sendFriendInviteViaReferralCodeProto1802: SendFriendInviteViaReferralCodeProto { - get {return _storage._sendFriendInviteViaReferralCodeProto1802 ?? SendFriendInviteViaReferralCodeProto()} - set {_uniqueStorage()._sendFriendInviteViaReferralCodeProto1802 = newValue} - } - /// Returns true if `sendFriendInviteViaReferralCodeProto1802` has been explicitly set. - public var hasSendFriendInviteViaReferralCodeProto1802: Bool {return _storage._sendFriendInviteViaReferralCodeProto1802 != nil} - /// Clears the value of `sendFriendInviteViaReferralCodeProto1802`. Subsequent reads from it will return its default value. - public mutating func clearSendFriendInviteViaReferralCodeProto1802() {_uniqueStorage()._sendFriendInviteViaReferralCodeProto1802 = nil} +extension AdventureSyncEggHatchingProgress.IncubatorType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AdventureSyncEggHatchingProgress.IncubatorType] = [ + .unknown, + .unlimited, + .basic, + .super, + ] +} - public var getMilestonesProto1803: GetMilestonesProto { - get {return _storage._getMilestonesProto1803 ?? GetMilestonesProto()} - set {_uniqueStorage()._getMilestonesProto1803 = newValue} - } - /// Returns true if `getMilestonesProto1803` has been explicitly set. - public var hasGetMilestonesProto1803: Bool {return _storage._getMilestonesProto1803 != nil} - /// Clears the value of `getMilestonesProto1803`. Subsequent reads from it will return its default value. - public mutating func clearGetMilestonesProto1803() {_uniqueStorage()._getMilestonesProto1803 = nil} +extension AdventureSyncEggHatchingProgress.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AdventureSyncEggHatchingProgress.Status] = [ + .unset, + .hatching, + .notHatching, + .hatched, + ] +} - public var markmilestoneAsViewedProto1804: MarkMilestoneAsViewedProto { - get {return _storage._markmilestoneAsViewedProto1804 ?? MarkMilestoneAsViewedProto()} - set {_uniqueStorage()._markmilestoneAsViewedProto1804 = newValue} - } - /// Returns true if `markmilestoneAsViewedProto1804` has been explicitly set. - public var hasMarkmilestoneAsViewedProto1804: Bool {return _storage._markmilestoneAsViewedProto1804 != nil} - /// Clears the value of `markmilestoneAsViewedProto1804`. Subsequent reads from it will return its default value. - public mutating func clearMarkmilestoneAsViewedProto1804() {_uniqueStorage()._markmilestoneAsViewedProto1804 = nil} +#endif // swift(>=4.2) - public var getMilestonesPreviewProto1805: GetMilestonesPreviewProto { - get {return _storage._getMilestonesPreviewProto1805 ?? GetMilestonesPreviewProto()} - set {_uniqueStorage()._getMilestonesPreviewProto1805 = newValue} - } - /// Returns true if `getMilestonesPreviewProto1805` has been explicitly set. - public var hasGetMilestonesPreviewProto1805: Bool {return _storage._getMilestonesPreviewProto1805 != nil} - /// Clears the value of `getMilestonesPreviewProto1805`. Subsequent reads from it will return its default value. - public mutating func clearGetMilestonesPreviewProto1805() {_uniqueStorage()._getMilestonesPreviewProto1805 = nil} +public struct AdventureSyncEggIncubatorsProto { + // 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. - public var completeMilestoneProto1806: CompleteMilestoneProto { - get {return _storage._completeMilestoneProto1806 ?? CompleteMilestoneProto()} - set {_uniqueStorage()._completeMilestoneProto1806 = newValue} - } - /// Returns true if `completeMilestoneProto1806` has been explicitly set. - public var hasCompleteMilestoneProto1806: Bool {return _storage._completeMilestoneProto1806 != nil} - /// Clears the value of `completeMilestoneProto1806`. Subsequent reads from it will return its default value. - public mutating func clearCompleteMilestoneProto1806() {_uniqueStorage()._completeMilestoneProto1806 = nil} + public var eggsProgress: [AdventureSyncEggHatchingProgress] = [] - public var getgeofencedAdProto1820: GetGeofencedAdProto { - get {return _storage._getgeofencedAdProto1820 ?? GetGeofencedAdProto()} - set {_uniqueStorage()._getgeofencedAdProto1820 = newValue} - } - /// Returns true if `getgeofencedAdProto1820` has been explicitly set. - public var hasGetgeofencedAdProto1820: Bool {return _storage._getgeofencedAdProto1820 != nil} - /// Clears the value of `getgeofencedAdProto1820`. Subsequent reads from it will return its default value. - public mutating func clearGetgeofencedAdProto1820() {_uniqueStorage()._getgeofencedAdProto1820 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var deletePostcardsProto1909: DeletePostcardsProto { - get {return _storage._deletePostcardsProto1909 ?? DeletePostcardsProto()} - set {_uniqueStorage()._deletePostcardsProto1909 = newValue} - } - /// Returns true if `deletePostcardsProto1909` has been explicitly set. - public var hasDeletePostcardsProto1909: Bool {return _storage._deletePostcardsProto1909 != nil} - /// Clears the value of `deletePostcardsProto1909`. Subsequent reads from it will return its default value. - public mutating func clearDeletePostcardsProto1909() {_uniqueStorage()._deletePostcardsProto1909 = nil} + public init() {} +} - public var createPostcardProto1910: CreatePostcardProto { - get {return _storage._createPostcardProto1910 ?? CreatePostcardProto()} - set {_uniqueStorage()._createPostcardProto1910 = newValue} - } - /// Returns true if `createPostcardProto1910` has been explicitly set. - public var hasCreatePostcardProto1910: Bool {return _storage._createPostcardProto1910 != nil} - /// Clears the value of `createPostcardProto1910`. Subsequent reads from it will return its default value. - public mutating func clearCreatePostcardProto1910() {_uniqueStorage()._createPostcardProto1910 = nil} +public struct AdventureSyncProgress { + // 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. - public var updatePostcardProto1911: UpdatePostcardProto { - get {return _storage._updatePostcardProto1911 ?? UpdatePostcardProto()} - set {_uniqueStorage()._updatePostcardProto1911 = newValue} - } - /// Returns true if `updatePostcardProto1911` has been explicitly set. - public var hasUpdatePostcardProto1911: Bool {return _storage._updatePostcardProto1911 != nil} - /// Clears the value of `updatePostcardProto1911`. Subsequent reads from it will return its default value. - public mutating func clearUpdatePostcardProto1911() {_uniqueStorage()._updatePostcardProto1911 = nil} + public var notificationSelector: Int32 = 0 - public var deletePostcardProto1912: DeletePostcardProto { - get {return _storage._deletePostcardProto1912 ?? DeletePostcardProto()} - set {_uniqueStorage()._deletePostcardProto1912 = newValue} - } - /// Returns true if `deletePostcardProto1912` has been explicitly set. - public var hasDeletePostcardProto1912: Bool {return _storage._deletePostcardProto1912 != nil} - /// Clears the value of `deletePostcardProto1912`. Subsequent reads from it will return its default value. - public mutating func clearDeletePostcardProto1912() {_uniqueStorage()._deletePostcardProto1912 = nil} + public var parameters: [String] = [] - public var getMementoListProto1913: GetMementoListProto { - get {return _storage._getMementoListProto1913 ?? GetMementoListProto()} - set {_uniqueStorage()._getMementoListProto1913 = newValue} - } - /// Returns true if `getMementoListProto1913` has been explicitly set. - public var hasGetMementoListProto1913: Bool {return _storage._getMementoListProto1913 != nil} - /// Clears the value of `getMementoListProto1913`. Subsequent reads from it will return its default value. - public mutating func clearGetMementoListProto1913() {_uniqueStorage()._getMementoListProto1913 = nil} + public var serializedData: Data = Data() - public var uploadRaidClientLogProto1914: UploadRaidClientLogProto { - get {return _storage._uploadRaidClientLogProto1914 ?? UploadRaidClientLogProto()} - set {_uniqueStorage()._uploadRaidClientLogProto1914 = newValue} - } - /// Returns true if `uploadRaidClientLogProto1914` has been explicitly set. - public var hasUploadRaidClientLogProto1914: Bool {return _storage._uploadRaidClientLogProto1914 != nil} - /// Clears the value of `uploadRaidClientLogProto1914`. Subsequent reads from it will return its default value. - public mutating func clearUploadRaidClientLogProto1914() {_uniqueStorage()._uploadRaidClientLogProto1914 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var checkGiftingEligibilityProto2000: CheckGiftingEligibilityProto { - get {return _storage._checkGiftingEligibilityProto2000 ?? CheckGiftingEligibilityProto()} - set {_uniqueStorage()._checkGiftingEligibilityProto2000 = newValue} - } - /// Returns true if `checkGiftingEligibilityProto2000` has been explicitly set. - public var hasCheckGiftingEligibilityProto2000: Bool {return _storage._checkGiftingEligibilityProto2000 != nil} - /// Clears the value of `checkGiftingEligibilityProto2000`. Subsequent reads from it will return its default value. - public mutating func clearCheckGiftingEligibilityProto2000() {_uniqueStorage()._checkGiftingEligibilityProto2000 = nil} + public init() {} +} - public var redeemTicketGiftForFriendProto2001: RedeemTicketGiftForFriendProto { - get {return _storage._redeemTicketGiftForFriendProto2001 ?? RedeemTicketGiftForFriendProto()} - set {_uniqueStorage()._redeemTicketGiftForFriendProto2001 = newValue} - } - /// Returns true if `redeemTicketGiftForFriendProto2001` has been explicitly set. - public var hasRedeemTicketGiftForFriendProto2001: Bool {return _storage._redeemTicketGiftForFriendProto2001 != nil} - /// Clears the value of `redeemTicketGiftForFriendProto2001`. Subsequent reads from it will return its default value. - public mutating func clearRedeemTicketGiftForFriendProto2001() {_uniqueStorage()._redeemTicketGiftForFriendProto2001 = nil} +public struct AdventureSyncProgressRequest { + // 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. - public var getInsenceRecapProto2002: GetInsenceRecapProto { - get {return _storage._getInsenceRecapProto2002 ?? GetInsenceRecapProto()} - set {_uniqueStorage()._getInsenceRecapProto2002 = newValue} - } - /// Returns true if `getInsenceRecapProto2002` has been explicitly set. - public var hasGetInsenceRecapProto2002: Bool {return _storage._getInsenceRecapProto2002 != nil} - /// Clears the value of `getInsenceRecapProto2002`. Subsequent reads from it will return its default value. - public mutating func clearGetInsenceRecapProto2002() {_uniqueStorage()._getInsenceRecapProto2002 = nil} + public var widgetTypes: [AdventureSyncProgressRequest.WidgetType] = [] - public var getPokestopEncounterProto2005: GetPokestopEncounterProto { - get {return _storage._getPokestopEncounterProto2005 ?? GetPokestopEncounterProto()} - set {_uniqueStorage()._getPokestopEncounterProto2005 = newValue} - } - /// Returns true if `getPokestopEncounterProto2005` has been explicitly set. - public var hasGetPokestopEncounterProto2005: Bool {return _storage._getPokestopEncounterProto2005 != nil} - /// Clears the value of `getPokestopEncounterProto2005`. Subsequent reads from it will return its default value. - public mutating func clearGetPokestopEncounterProto2005() {_uniqueStorage()._getPokestopEncounterProto2005 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var encounterPokestopencounterProto2006: EncounterPokestopEncounterProto { - get {return _storage._encounterPokestopencounterProto2006 ?? EncounterPokestopEncounterProto()} - set {_uniqueStorage()._encounterPokestopencounterProto2006 = newValue} - } - /// Returns true if `encounterPokestopencounterProto2006` has been explicitly set. - public var hasEncounterPokestopencounterProto2006: Bool {return _storage._encounterPokestopencounterProto2006 != nil} - /// Clears the value of `encounterPokestopencounterProto2006`. Subsequent reads from it will return its default value. - public mutating func clearEncounterPokestopencounterProto2006() {_uniqueStorage()._encounterPokestopencounterProto2006 = nil} + public enum WidgetType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case eggIncubators // = 1 + case buddyStats // = 2 + case activitySummary // = 3 + case UNRECOGNIZED(Int) - public var playerSpawnablepokemonproto2007: PlayerSpawnablePokemonProto { - get {return _storage._playerSpawnablepokemonproto2007 ?? PlayerSpawnablePokemonProto()} - set {_uniqueStorage()._playerSpawnablepokemonproto2007 = newValue} + public init() { + self = .unset } - /// Returns true if `playerSpawnablepokemonproto2007` has been explicitly set. - public var hasPlayerSpawnablepokemonproto2007: Bool {return _storage._playerSpawnablepokemonproto2007 != nil} - /// Clears the value of `playerSpawnablepokemonproto2007`. Subsequent reads from it will return its default value. - public mutating func clearPlayerSpawnablepokemonproto2007() {_uniqueStorage()._playerSpawnablepokemonproto2007 = nil} - public var sendFriendRequestViaPlayerIDProto2010: SendFriendRequestViaPlayerIdProto { - get {return _storage._sendFriendRequestViaPlayerIDProto2010 ?? SendFriendRequestViaPlayerIdProto()} - set {_uniqueStorage()._sendFriendRequestViaPlayerIDProto2010 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .eggIncubators + case 2: self = .buddyStats + case 3: self = .activitySummary + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `sendFriendRequestViaPlayerIDProto2010` has been explicitly set. - public var hasSendFriendRequestViaPlayerIDProto2010: Bool {return _storage._sendFriendRequestViaPlayerIDProto2010 != nil} - /// Clears the value of `sendFriendRequestViaPlayerIDProto2010`. Subsequent reads from it will return its default value. - public mutating func clearSendFriendRequestViaPlayerIDProto2010() {_uniqueStorage()._sendFriendRequestViaPlayerIDProto2010 = nil} - public var getRaidLobbyCounterProto2011: GetRaidLobbyCounterProto { - get {return _storage._getRaidLobbyCounterProto2011 ?? GetRaidLobbyCounterProto()} - set {_uniqueStorage()._getRaidLobbyCounterProto2011 = newValue} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .eggIncubators: return 1 + case .buddyStats: return 2 + case .activitySummary: return 3 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `getRaidLobbyCounterProto2011` has been explicitly set. - public var hasGetRaidLobbyCounterProto2011: Bool {return _storage._getRaidLobbyCounterProto2011 != nil} - /// Clears the value of `getRaidLobbyCounterProto2011`. Subsequent reads from it will return its default value. - public mutating func clearGetRaidLobbyCounterProto2011() {_uniqueStorage()._getRaidLobbyCounterProto2011 = nil} - public var checkPokemonSizecontestEligibilityProto2100: CheckPokemonSizeContestEligibilityProto { - get {return _storage._checkPokemonSizecontestEligibilityProto2100 ?? CheckPokemonSizeContestEligibilityProto()} - set {_uniqueStorage()._checkPokemonSizecontestEligibilityProto2100 = newValue} - } - /// Returns true if `checkPokemonSizecontestEligibilityProto2100` has been explicitly set. - public var hasCheckPokemonSizecontestEligibilityProto2100: Bool {return _storage._checkPokemonSizecontestEligibilityProto2100 != nil} - /// Clears the value of `checkPokemonSizecontestEligibilityProto2100`. Subsequent reads from it will return its default value. - public mutating func clearCheckPokemonSizecontestEligibilityProto2100() {_uniqueStorage()._checkPokemonSizecontestEligibilityProto2100 = nil} + } - public var updatePokemonSizeContestEntryProto2101: UpdatePokemonSizeContestEntryProto { - get {return _storage._updatePokemonSizeContestEntryProto2101 ?? UpdatePokemonSizeContestEntryProto()} - set {_uniqueStorage()._updatePokemonSizeContestEntryProto2101 = newValue} - } - /// Returns true if `updatePokemonSizeContestEntryProto2101` has been explicitly set. - public var hasUpdatePokemonSizeContestEntryProto2101: Bool {return _storage._updatePokemonSizeContestEntryProto2101 != nil} - /// Clears the value of `updatePokemonSizeContestEntryProto2101`. Subsequent reads from it will return its default value. - public mutating func clearUpdatePokemonSizeContestEntryProto2101() {_uniqueStorage()._updatePokemonSizeContestEntryProto2101 = nil} + public init() {} +} - public var getPokemonSizeContestEntryProto2104: GetPokemonSizeContestEntryProto { - get {return _storage._getPokemonSizeContestEntryProto2104 ?? GetPokemonSizeContestEntryProto()} - set {_uniqueStorage()._getPokemonSizeContestEntryProto2104 = newValue} - } - /// Returns true if `getPokemonSizeContestEntryProto2104` has been explicitly set. - public var hasGetPokemonSizeContestEntryProto2104: Bool {return _storage._getPokemonSizeContestEntryProto2104 != nil} - /// Clears the value of `getPokemonSizeContestEntryProto2104`. Subsequent reads from it will return its default value. - public mutating func clearGetPokemonSizeContestEntryProto2104() {_uniqueStorage()._getPokemonSizeContestEntryProto2104 = nil} +#if swift(>=4.2) - public var getContestDataProto2105: GetContestDataProto { - get {return _storage._getContestDataProto2105 ?? GetContestDataProto()} - set {_uniqueStorage()._getContestDataProto2105 = newValue} - } - /// Returns true if `getContestDataProto2105` has been explicitly set. - public var hasGetContestDataProto2105: Bool {return _storage._getContestDataProto2105 != nil} - /// Clears the value of `getContestDataProto2105`. Subsequent reads from it will return its default value. - public mutating func clearGetContestDataProto2105() {_uniqueStorage()._getContestDataProto2105 = nil} +extension AdventureSyncProgressRequest.WidgetType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AdventureSyncProgressRequest.WidgetType] = [ + .unset, + .eggIncubators, + .buddyStats, + .activitySummary, + ] +} - public var getContestsUnclaimedRewardsProto2106: GetContestsUnclaimedRewardsProto { - get {return _storage._getContestsUnclaimedRewardsProto2106 ?? GetContestsUnclaimedRewardsProto()} - set {_uniqueStorage()._getContestsUnclaimedRewardsProto2106 = newValue} - } - /// Returns true if `getContestsUnclaimedRewardsProto2106` has been explicitly set. - public var hasGetContestsUnclaimedRewardsProto2106: Bool {return _storage._getContestsUnclaimedRewardsProto2106 != nil} - /// Clears the value of `getContestsUnclaimedRewardsProto2106`. Subsequent reads from it will return its default value. - public mutating func clearGetContestsUnclaimedRewardsProto2106() {_uniqueStorage()._getContestsUnclaimedRewardsProto2106 = nil} +#endif // swift(>=4.2) - public var claimcontestsRewardsProto2107: ClaimContestsRewardsProto { - get {return _storage._claimcontestsRewardsProto2107 ?? ClaimContestsRewardsProto()} - set {_uniqueStorage()._claimcontestsRewardsProto2107 = newValue} - } - /// Returns true if `claimcontestsRewardsProto2107` has been explicitly set. - public var hasClaimcontestsRewardsProto2107: Bool {return _storage._claimcontestsRewardsProto2107 != nil} - /// Clears the value of `claimcontestsRewardsProto2107`. Subsequent reads from it will return its default value. - public mutating func clearClaimcontestsRewardsProto2107() {_uniqueStorage()._claimcontestsRewardsProto2107 = nil} +public struct AdventureSyncProgressResponse { + // 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. - public var getEnteredContestProto2108: GetEnteredContestProto { - get {return _storage._getEnteredContestProto2108 ?? GetEnteredContestProto()} - set {_uniqueStorage()._getEnteredContestProto2108 = newValue} - } - /// Returns true if `getEnteredContestProto2108` has been explicitly set. - public var hasGetEnteredContestProto2108: Bool {return _storage._getEnteredContestProto2108 != nil} - /// Clears the value of `getEnteredContestProto2108`. Subsequent reads from it will return its default value. - public mutating func clearGetEnteredContestProto2108() {_uniqueStorage()._getEnteredContestProto2108 = nil} + public var eggIncubatorsProto: AdventureSyncEggIncubatorsProto { + get {return _storage._eggIncubatorsProto ?? AdventureSyncEggIncubatorsProto()} + set {_uniqueStorage()._eggIncubatorsProto = newValue} + } + /// Returns true if `eggIncubatorsProto` has been explicitly set. + public var hasEggIncubatorsProto: Bool {return _storage._eggIncubatorsProto != nil} + /// Clears the value of `eggIncubatorsProto`. Subsequent reads from it will return its default value. + public mutating func clearEggIncubatorsProto() {_uniqueStorage()._eggIncubatorsProto = nil} - public var getVpsEventProto3000: GetVpsEventProto { - get {return _storage._getVpsEventProto3000 ?? GetVpsEventProto()} - set {_uniqueStorage()._getVpsEventProto3000 = newValue} - } - /// Returns true if `getVpsEventProto3000` has been explicitly set. - public var hasGetVpsEventProto3000: Bool {return _storage._getVpsEventProto3000 != nil} - /// Clears the value of `getVpsEventProto3000`. Subsequent reads from it will return its default value. - public mutating func clearGetVpsEventProto3000() {_uniqueStorage()._getVpsEventProto3000 = nil} + public var buddyStatsProto: AdventureSyncBuddyStatsProto { + get {return _storage._buddyStatsProto ?? AdventureSyncBuddyStatsProto()} + set {_uniqueStorage()._buddyStatsProto = newValue} + } + /// Returns true if `buddyStatsProto` has been explicitly set. + public var hasBuddyStatsProto: Bool {return _storage._buddyStatsProto != nil} + /// Clears the value of `buddyStatsProto`. Subsequent reads from it will return its default value. + public mutating func clearBuddyStatsProto() {_uniqueStorage()._buddyStatsProto = nil} - public var updateVpsEventProto3001: UpdateVpsEventProto { - get {return _storage._updateVpsEventProto3001 ?? UpdateVpsEventProto()} - set {_uniqueStorage()._updateVpsEventProto3001 = newValue} - } - /// Returns true if `updateVpsEventProto3001` has been explicitly set. - public var hasUpdateVpsEventProto3001: Bool {return _storage._updateVpsEventProto3001 != nil} - /// Clears the value of `updateVpsEventProto3001`. Subsequent reads from it will return its default value. - public mutating func clearUpdateVpsEventProto3001() {_uniqueStorage()._updateVpsEventProto3001 = nil} + public var activitySummaryProto: AdventureSyncActivitySummaryProto { + get {return _storage._activitySummaryProto ?? AdventureSyncActivitySummaryProto()} + set {_uniqueStorage()._activitySummaryProto = newValue} + } + /// Returns true if `activitySummaryProto` has been explicitly set. + public var hasActivitySummaryProto: Bool {return _storage._activitySummaryProto != nil} + /// Clears the value of `activitySummaryProto`. Subsequent reads from it will return its default value. + public mutating func clearActivitySummaryProto() {_uniqueStorage()._activitySummaryProto = nil} - public var pushNotificationRegistryproto5000: PushNotificationRegistryProto { - get {return _storage._pushNotificationRegistryproto5000 ?? PushNotificationRegistryProto()} - set {_uniqueStorage()._pushNotificationRegistryproto5000 = newValue} - } - /// Returns true if `pushNotificationRegistryproto5000` has been explicitly set. - public var hasPushNotificationRegistryproto5000: Bool {return _storage._pushNotificationRegistryproto5000 != nil} - /// Clears the value of `pushNotificationRegistryproto5000`. Subsequent reads from it will return its default value. - public mutating func clearPushNotificationRegistryproto5000() {_uniqueStorage()._pushNotificationRegistryproto5000 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var updateNotificationProto5002: UpdateNotificationProto { - get {return _storage._updateNotificationProto5002 ?? UpdateNotificationProto()} - set {_uniqueStorage()._updateNotificationProto5002 = newValue} - } - /// Returns true if `updateNotificationProto5002` has been explicitly set. - public var hasUpdateNotificationProto5002: Bool {return _storage._updateNotificationProto5002 != nil} - /// Clears the value of `updateNotificationProto5002`. Subsequent reads from it will return its default value. - public mutating func clearUpdateNotificationProto5002() {_uniqueStorage()._updateNotificationProto5002 = nil} + public init() {} - public var optProto5003: OptProto { - get {return _storage._optProto5003 ?? OptProto()} - set {_uniqueStorage()._optProto5003 = newValue} - } - /// Returns true if `optProto5003` has been explicitly set. - public var hasOptProto5003: Bool {return _storage._optProto5003 != nil} - /// Clears the value of `optProto5003`. Subsequent reads from it will return its default value. - public mutating func clearOptProto5003() {_uniqueStorage()._optProto5003 = nil} + fileprivate var _storage = _StorageClass.defaultInstance +} - public var downloadGmTemplatesRequestProto5004: DownloadGmTemplatesRequestProto { - get {return _storage._downloadGmTemplatesRequestProto5004 ?? DownloadGmTemplatesRequestProto()} - set {_uniqueStorage()._downloadGmTemplatesRequestProto5004 = newValue} - } - /// Returns true if `downloadGmTemplatesRequestProto5004` has been explicitly set. - public var hasDownloadGmTemplatesRequestProto5004: Bool {return _storage._downloadGmTemplatesRequestProto5004 != nil} - /// Clears the value of `downloadGmTemplatesRequestProto5004`. Subsequent reads from it will return its default value. - public mutating func clearDownloadGmTemplatesRequestProto5004() {_uniqueStorage()._downloadGmTemplatesRequestProto5004 = nil} +public struct AdventureSyncSettingsProto { + // 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. - public var getInventoryProto5005: GetInventoryProto { - get {return _storage._getInventoryProto5005 ?? GetInventoryProto()} - set {_uniqueStorage()._getInventoryProto5005 = newValue} - } - /// Returns true if `getInventoryProto5005` has been explicitly set. - public var hasGetInventoryProto5005: Bool {return _storage._getInventoryProto5005 != nil} - /// Clears the value of `getInventoryProto5005`. Subsequent reads from it will return its default value. - public mutating func clearGetInventoryProto5005() {_uniqueStorage()._getInventoryProto5005 = nil} + public var fitnessServiceEnabled: Bool = false - public var redeemPasscoderequestProto5006: RedeemPasscodeRequestProto { - get {return _storage._redeemPasscoderequestProto5006 ?? RedeemPasscodeRequestProto()} - set {_uniqueStorage()._redeemPasscoderequestProto5006 = newValue} - } - /// Returns true if `redeemPasscoderequestProto5006` has been explicitly set. - public var hasRedeemPasscoderequestProto5006: Bool {return _storage._redeemPasscoderequestProto5006 != nil} - /// Clears the value of `redeemPasscoderequestProto5006`. Subsequent reads from it will return its default value. - public mutating func clearRedeemPasscoderequestProto5006() {_uniqueStorage()._redeemPasscoderequestProto5006 = nil} + public var awarenessServiceEnabled: Bool = false - public var pingRequestproto5007: PingRequestProto { - get {return _storage._pingRequestproto5007 ?? PingRequestProto()} - set {_uniqueStorage()._pingRequestproto5007 = newValue} - } - /// Returns true if `pingRequestproto5007` has been explicitly set. - public var hasPingRequestproto5007: Bool {return _storage._pingRequestproto5007 != nil} - /// Clears the value of `pingRequestproto5007`. Subsequent reads from it will return its default value. - public mutating func clearPingRequestproto5007() {_uniqueStorage()._pingRequestproto5007 = nil} + public var persistentBreadcrumbServiceEnabled: Bool = false - public var addLoginactionProto5008: AddLoginActionProto { - get {return _storage._addLoginactionProto5008 ?? AddLoginActionProto()} - set {_uniqueStorage()._addLoginactionProto5008 = newValue} - } - /// Returns true if `addLoginactionProto5008` has been explicitly set. - public var hasAddLoginactionProto5008: Bool {return _storage._addLoginactionProto5008 != nil} - /// Clears the value of `addLoginactionProto5008`. Subsequent reads from it will return its default value. - public mutating func clearAddLoginactionProto5008() {_uniqueStorage()._addLoginactionProto5008 = nil} + public var sensorServiceEnabled: Bool = false - public var removeLoginActionProto5009: RemoveLoginActionProto { - get {return _storage._removeLoginActionProto5009 ?? RemoveLoginActionProto()} - set {_uniqueStorage()._removeLoginActionProto5009 = newValue} - } - /// Returns true if `removeLoginActionProto5009` has been explicitly set. - public var hasRemoveLoginActionProto5009: Bool {return _storage._removeLoginActionProto5009 != nil} - /// Clears the value of `removeLoginActionProto5009`. Subsequent reads from it will return its default value. - public mutating func clearRemoveLoginActionProto5009() {_uniqueStorage()._removeLoginActionProto5009 = nil} + public var persistentLocationServiceEnabled: Bool = false - public var listloginActionProto5010: ListLoginActionProto { - get {return _storage._listloginActionProto5010 ?? ListLoginActionProto()} - set {_uniqueStorage()._listloginActionProto5010 = newValue} - } - /// Returns true if `listloginActionProto5010` has been explicitly set. - public var hasListloginActionProto5010: Bool {return _storage._listloginActionProto5010 != nil} - /// Clears the value of `listloginActionProto5010`. Subsequent reads from it will return its default value. - public mutating func clearListloginActionProto5010() {_uniqueStorage()._listloginActionProto5010 = nil} + public var breadcrumbServiceEnabled: Bool = false - public var submitNewPoiProto5011: SubmitNewPoiProto { - get {return _storage._submitNewPoiProto5011 ?? SubmitNewPoiProto()} - set {_uniqueStorage()._submitNewPoiProto5011 = newValue} - } - /// Returns true if `submitNewPoiProto5011` has been explicitly set. - public var hasSubmitNewPoiProto5011: Bool {return _storage._submitNewPoiProto5011 != nil} - /// Clears the value of `submitNewPoiProto5011`. Subsequent reads from it will return its default value. - public mutating func clearSubmitNewPoiProto5011() {_uniqueStorage()._submitNewPoiProto5011 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var proxyRequestproto5012: ProxyRequestProto { - get {return _storage._proxyRequestproto5012 ?? ProxyRequestProto()} - set {_uniqueStorage()._proxyRequestproto5012 = newValue} - } - /// Returns true if `proxyRequestproto5012` has been explicitly set. - public var hasProxyRequestproto5012: Bool {return _storage._proxyRequestproto5012 != nil} - /// Clears the value of `proxyRequestproto5012`. Subsequent reads from it will return its default value. - public mutating func clearProxyRequestproto5012() {_uniqueStorage()._proxyRequestproto5012 = nil} - - public var getAvailableSubmissionsProto5014: GetAvailableSubmissionsProto { - get {return _storage._getAvailableSubmissionsProto5014 ?? GetAvailableSubmissionsProto()} - set {_uniqueStorage()._getAvailableSubmissionsProto5014 = newValue} - } - /// Returns true if `getAvailableSubmissionsProto5014` has been explicitly set. - public var hasGetAvailableSubmissionsProto5014: Bool {return _storage._getAvailableSubmissionsProto5014 != nil} - /// Clears the value of `getAvailableSubmissionsProto5014`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSubmissionsProto5014() {_uniqueStorage()._getAvailableSubmissionsProto5014 = nil} - - public var replaceLoginActionProto5015: ReplaceLoginActionProto { - get {return _storage._replaceLoginActionProto5015 ?? ReplaceLoginActionProto()} - set {_uniqueStorage()._replaceLoginActionProto5015 = newValue} - } - /// Returns true if `replaceLoginActionProto5015` has been explicitly set. - public var hasReplaceLoginActionProto5015: Bool {return _storage._replaceLoginActionProto5015 != nil} - /// Clears the value of `replaceLoginActionProto5015`. Subsequent reads from it will return its default value. - public mutating func clearReplaceLoginActionProto5015() {_uniqueStorage()._replaceLoginActionProto5015 = nil} - - public var clientTelemetryBatchProto5018: ClientTelemetryBatchProto { - get {return _storage._clientTelemetryBatchProto5018 ?? ClientTelemetryBatchProto()} - set {_uniqueStorage()._clientTelemetryBatchProto5018 = newValue} - } - /// Returns true if `clientTelemetryBatchProto5018` has been explicitly set. - public var hasClientTelemetryBatchProto5018: Bool {return _storage._clientTelemetryBatchProto5018 != nil} - /// Clears the value of `clientTelemetryBatchProto5018`. Subsequent reads from it will return its default value. - public mutating func clearClientTelemetryBatchProto5018() {_uniqueStorage()._clientTelemetryBatchProto5018 = nil} - - public var purchaseSkuproto5019: PurchaseSkuProto { - get {return _storage._purchaseSkuproto5019 ?? PurchaseSkuProto()} - set {_uniqueStorage()._purchaseSkuproto5019 = newValue} - } - /// Returns true if `purchaseSkuproto5019` has been explicitly set. - public var hasPurchaseSkuproto5019: Bool {return _storage._purchaseSkuproto5019 != nil} - /// Clears the value of `purchaseSkuproto5019`. Subsequent reads from it will return its default value. - public mutating func clearPurchaseSkuproto5019() {_uniqueStorage()._purchaseSkuproto5019 = nil} - - public var getAvailableSkusAndBalancesProto5020: GetAvailableSkusAndBalancesProto { - get {return _storage._getAvailableSkusAndBalancesProto5020 ?? GetAvailableSkusAndBalancesProto()} - set {_uniqueStorage()._getAvailableSkusAndBalancesProto5020 = newValue} - } - /// Returns true if `getAvailableSkusAndBalancesProto5020` has been explicitly set. - public var hasGetAvailableSkusAndBalancesProto5020: Bool {return _storage._getAvailableSkusAndBalancesProto5020 != nil} - /// Clears the value of `getAvailableSkusAndBalancesProto5020`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSkusAndBalancesProto5020() {_uniqueStorage()._getAvailableSkusAndBalancesProto5020 = nil} - - public var redeemGooglereceiptProto5021: RedeemGoogleReceiptProto { - get {return _storage._redeemGooglereceiptProto5021 ?? RedeemGoogleReceiptProto()} - set {_uniqueStorage()._redeemGooglereceiptProto5021 = newValue} - } - /// Returns true if `redeemGooglereceiptProto5021` has been explicitly set. - public var hasRedeemGooglereceiptProto5021: Bool {return _storage._redeemGooglereceiptProto5021 != nil} - /// Clears the value of `redeemGooglereceiptProto5021`. Subsequent reads from it will return its default value. - public mutating func clearRedeemGooglereceiptProto5021() {_uniqueStorage()._redeemGooglereceiptProto5021 = nil} - - public var redeemApplereceiptProto5022: RedeemAppleReceiptProto { - get {return _storage._redeemApplereceiptProto5022 ?? RedeemAppleReceiptProto()} - set {_uniqueStorage()._redeemApplereceiptProto5022 = newValue} - } - /// Returns true if `redeemApplereceiptProto5022` has been explicitly set. - public var hasRedeemApplereceiptProto5022: Bool {return _storage._redeemApplereceiptProto5022 != nil} - /// Clears the value of `redeemApplereceiptProto5022`. Subsequent reads from it will return its default value. - public mutating func clearRedeemApplereceiptProto5022() {_uniqueStorage()._redeemApplereceiptProto5022 = nil} - - public var redeemDesktopreceiptProto5023: RedeemDesktopReceiptProto { - get {return _storage._redeemDesktopreceiptProto5023 ?? RedeemDesktopReceiptProto()} - set {_uniqueStorage()._redeemDesktopreceiptProto5023 = newValue} - } - /// Returns true if `redeemDesktopreceiptProto5023` has been explicitly set. - public var hasRedeemDesktopreceiptProto5023: Bool {return _storage._redeemDesktopreceiptProto5023 != nil} - /// Clears the value of `redeemDesktopreceiptProto5023`. Subsequent reads from it will return its default value. - public mutating func clearRedeemDesktopreceiptProto5023() {_uniqueStorage()._redeemDesktopreceiptProto5023 = nil} - - public var fitnessUpdateProto5024: FitnessUpdateProto { - get {return _storage._fitnessUpdateProto5024 ?? FitnessUpdateProto()} - set {_uniqueStorage()._fitnessUpdateProto5024 = newValue} - } - /// Returns true if `fitnessUpdateProto5024` has been explicitly set. - public var hasFitnessUpdateProto5024: Bool {return _storage._fitnessUpdateProto5024 != nil} - /// Clears the value of `fitnessUpdateProto5024`. Subsequent reads from it will return its default value. - public mutating func clearFitnessUpdateProto5024() {_uniqueStorage()._fitnessUpdateProto5024 = nil} - - public var getFitnessReportProto5025: GetFitnessReportProto { - get {return _storage._getFitnessReportProto5025 ?? GetFitnessReportProto()} - set {_uniqueStorage()._getFitnessReportProto5025 = newValue} - } - /// Returns true if `getFitnessReportProto5025` has been explicitly set. - public var hasGetFitnessReportProto5025: Bool {return _storage._getFitnessReportProto5025 != nil} - /// Clears the value of `getFitnessReportProto5025`. Subsequent reads from it will return its default value. - public mutating func clearGetFitnessReportProto5025() {_uniqueStorage()._getFitnessReportProto5025 = nil} - - public var clientTelemetrySettingsRequestProto5026: ClientTelemetrySettingsRequestProto { - get {return _storage._clientTelemetrySettingsRequestProto5026 ?? ClientTelemetrySettingsRequestProto()} - set {_uniqueStorage()._clientTelemetrySettingsRequestProto5026 = newValue} - } - /// Returns true if `clientTelemetrySettingsRequestProto5026` has been explicitly set. - public var hasClientTelemetrySettingsRequestProto5026: Bool {return _storage._clientTelemetrySettingsRequestProto5026 != nil} - /// Clears the value of `clientTelemetrySettingsRequestProto5026`. Subsequent reads from it will return its default value. - public mutating func clearClientTelemetrySettingsRequestProto5026() {_uniqueStorage()._clientTelemetrySettingsRequestProto5026 = nil} - - public var registerBackgroundServicerequestProto5028: RegisterBackgroundServiceRequestProto { - get {return _storage._registerBackgroundServicerequestProto5028 ?? RegisterBackgroundServiceRequestProto()} - set {_uniqueStorage()._registerBackgroundServicerequestProto5028 = newValue} - } - /// Returns true if `registerBackgroundServicerequestProto5028` has been explicitly set. - public var hasRegisterBackgroundServicerequestProto5028: Bool {return _storage._registerBackgroundServicerequestProto5028 != nil} - /// Clears the value of `registerBackgroundServicerequestProto5028`. Subsequent reads from it will return its default value. - public mutating func clearRegisterBackgroundServicerequestProto5028() {_uniqueStorage()._registerBackgroundServicerequestProto5028 = nil} - - public var setInGameCurrencyExchangeRateProto5032: SetInGameCurrencyExchangeRateProto { - get {return _storage._setInGameCurrencyExchangeRateProto5032 ?? SetInGameCurrencyExchangeRateProto()} - set {_uniqueStorage()._setInGameCurrencyExchangeRateProto5032 = newValue} - } - /// Returns true if `setInGameCurrencyExchangeRateProto5032` has been explicitly set. - public var hasSetInGameCurrencyExchangeRateProto5032: Bool {return _storage._setInGameCurrencyExchangeRateProto5032 != nil} - /// Clears the value of `setInGameCurrencyExchangeRateProto5032`. Subsequent reads from it will return its default value. - public mutating func clearSetInGameCurrencyExchangeRateProto5032() {_uniqueStorage()._setInGameCurrencyExchangeRateProto5032 = nil} - - public var geofenceUpdateProto5033: GeofenceUpdateProto { - get {return _storage._geofenceUpdateProto5033 ?? GeofenceUpdateProto()} - set {_uniqueStorage()._geofenceUpdateProto5033 = newValue} - } - /// Returns true if `geofenceUpdateProto5033` has been explicitly set. - public var hasGeofenceUpdateProto5033: Bool {return _storage._geofenceUpdateProto5033 != nil} - /// Clears the value of `geofenceUpdateProto5033`. Subsequent reads from it will return its default value. - public mutating func clearGeofenceUpdateProto5033() {_uniqueStorage()._geofenceUpdateProto5033 = nil} - - public var locationPingProto5034: LocationPingProto { - get {return _storage._locationPingProto5034 ?? LocationPingProto()} - set {_uniqueStorage()._locationPingProto5034 = newValue} - } - /// Returns true if `locationPingProto5034` has been explicitly set. - public var hasLocationPingProto5034: Bool {return _storage._locationPingProto5034 != nil} - /// Clears the value of `locationPingProto5034`. Subsequent reads from it will return its default value. - public mutating func clearLocationPingProto5034() {_uniqueStorage()._locationPingProto5034 = nil} - - public var generategmapSignedURLProto5035: GenerateGmapSignedUrlProto { - get {return _storage._generategmapSignedURLProto5035 ?? GenerateGmapSignedUrlProto()} - set {_uniqueStorage()._generategmapSignedURLProto5035 = newValue} - } - /// Returns true if `generategmapSignedURLProto5035` has been explicitly set. - public var hasGenerategmapSignedURLProto5035: Bool {return _storage._generategmapSignedURLProto5035 != nil} - /// Clears the value of `generategmapSignedURLProto5035`. Subsequent reads from it will return its default value. - public mutating func clearGenerategmapSignedURLProto5035() {_uniqueStorage()._generategmapSignedURLProto5035 = nil} - - public var getgmapSettingsProto5036: GetGmapSettingsProto { - get {return _storage._getgmapSettingsProto5036 ?? GetGmapSettingsProto()} - set {_uniqueStorage()._getgmapSettingsProto5036 = newValue} - } - /// Returns true if `getgmapSettingsProto5036` has been explicitly set. - public var hasGetgmapSettingsProto5036: Bool {return _storage._getgmapSettingsProto5036 != nil} - /// Clears the value of `getgmapSettingsProto5036`. Subsequent reads from it will return its default value. - public mutating func clearGetgmapSettingsProto5036() {_uniqueStorage()._getgmapSettingsProto5036 = nil} - - public var redeemSamsungreceiptProto5037: RedeemSamsungReceiptProto { - get {return _storage._redeemSamsungreceiptProto5037 ?? RedeemSamsungReceiptProto()} - set {_uniqueStorage()._redeemSamsungreceiptProto5037 = newValue} - } - /// Returns true if `redeemSamsungreceiptProto5037` has been explicitly set. - public var hasRedeemSamsungreceiptProto5037: Bool {return _storage._redeemSamsungreceiptProto5037 != nil} - /// Clears the value of `redeemSamsungreceiptProto5037`. Subsequent reads from it will return its default value. - public mutating func clearRedeemSamsungreceiptProto5037() {_uniqueStorage()._redeemSamsungreceiptProto5037 = nil} - - public var submitPoiImageProto5041: SubmitPoiImageProto { - get {return _storage._submitPoiImageProto5041 ?? SubmitPoiImageProto()} - set {_uniqueStorage()._submitPoiImageProto5041 = newValue} - } - /// Returns true if `submitPoiImageProto5041` has been explicitly set. - public var hasSubmitPoiImageProto5041: Bool {return _storage._submitPoiImageProto5041 != nil} - /// Clears the value of `submitPoiImageProto5041`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPoiImageProto5041() {_uniqueStorage()._submitPoiImageProto5041 = nil} - - public var submitPoiTextMetadataUpdateProto5042: SubmitPoiTextMetadataUpdateProto { - get {return _storage._submitPoiTextMetadataUpdateProto5042 ?? SubmitPoiTextMetadataUpdateProto()} - set {_uniqueStorage()._submitPoiTextMetadataUpdateProto5042 = newValue} - } - /// Returns true if `submitPoiTextMetadataUpdateProto5042` has been explicitly set. - public var hasSubmitPoiTextMetadataUpdateProto5042: Bool {return _storage._submitPoiTextMetadataUpdateProto5042 != nil} - /// Clears the value of `submitPoiTextMetadataUpdateProto5042`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPoiTextMetadataUpdateProto5042() {_uniqueStorage()._submitPoiTextMetadataUpdateProto5042 = nil} - - public var submitPoiLocationUpdateProto5043: SubmitPoiLocationUpdateProto { - get {return _storage._submitPoiLocationUpdateProto5043 ?? SubmitPoiLocationUpdateProto()} - set {_uniqueStorage()._submitPoiLocationUpdateProto5043 = newValue} - } - /// Returns true if `submitPoiLocationUpdateProto5043` has been explicitly set. - public var hasSubmitPoiLocationUpdateProto5043: Bool {return _storage._submitPoiLocationUpdateProto5043 != nil} - /// Clears the value of `submitPoiLocationUpdateProto5043`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPoiLocationUpdateProto5043() {_uniqueStorage()._submitPoiLocationUpdateProto5043 = nil} - - public var submitPoiTakedownRequestProto5044: SubmitPoiTakedownRequestProto { - get {return _storage._submitPoiTakedownRequestProto5044 ?? SubmitPoiTakedownRequestProto()} - set {_uniqueStorage()._submitPoiTakedownRequestProto5044 = newValue} - } - /// Returns true if `submitPoiTakedownRequestProto5044` has been explicitly set. - public var hasSubmitPoiTakedownRequestProto5044: Bool {return _storage._submitPoiTakedownRequestProto5044 != nil} - /// Clears the value of `submitPoiTakedownRequestProto5044`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPoiTakedownRequestProto5044() {_uniqueStorage()._submitPoiTakedownRequestProto5044 = nil} - - public var getWebTokenProto5045: GetWebTokenProto { - get {return _storage._getWebTokenProto5045 ?? GetWebTokenProto()} - set {_uniqueStorage()._getWebTokenProto5045 = newValue} - } - /// Returns true if `getWebTokenProto5045` has been explicitly set. - public var hasGetWebTokenProto5045: Bool {return _storage._getWebTokenProto5045 != nil} - /// Clears the value of `getWebTokenProto5045`. Subsequent reads from it will return its default value. - public mutating func clearGetWebTokenProto5045() {_uniqueStorage()._getWebTokenProto5045 = nil} - - public var getAdventureSyncSettingsRequestProto5046: GetAdventureSyncSettingsRequestProto { - get {return _storage._getAdventureSyncSettingsRequestProto5046 ?? GetAdventureSyncSettingsRequestProto()} - set {_uniqueStorage()._getAdventureSyncSettingsRequestProto5046 = newValue} - } - /// Returns true if `getAdventureSyncSettingsRequestProto5046` has been explicitly set. - public var hasGetAdventureSyncSettingsRequestProto5046: Bool {return _storage._getAdventureSyncSettingsRequestProto5046 != nil} - /// Clears the value of `getAdventureSyncSettingsRequestProto5046`. Subsequent reads from it will return its default value. - public mutating func clearGetAdventureSyncSettingsRequestProto5046() {_uniqueStorage()._getAdventureSyncSettingsRequestProto5046 = nil} - - public var updateAdventureSyncSettingsRequestProto5047: UpdateAdventureSyncSettingsRequestProto { - get {return _storage._updateAdventureSyncSettingsRequestProto5047 ?? UpdateAdventureSyncSettingsRequestProto()} - set {_uniqueStorage()._updateAdventureSyncSettingsRequestProto5047 = newValue} - } - /// Returns true if `updateAdventureSyncSettingsRequestProto5047` has been explicitly set. - public var hasUpdateAdventureSyncSettingsRequestProto5047: Bool {return _storage._updateAdventureSyncSettingsRequestProto5047 != nil} - /// Clears the value of `updateAdventureSyncSettingsRequestProto5047`. Subsequent reads from it will return its default value. - public mutating func clearUpdateAdventureSyncSettingsRequestProto5047() {_uniqueStorage()._updateAdventureSyncSettingsRequestProto5047 = nil} - - public var searchPlayerProto10000: SearchPlayerProto { - get {return _storage._searchPlayerProto10000 ?? SearchPlayerProto()} - set {_uniqueStorage()._searchPlayerProto10000 = newValue} - } - /// Returns true if `searchPlayerProto10000` has been explicitly set. - public var hasSearchPlayerProto10000: Bool {return _storage._searchPlayerProto10000 != nil} - /// Clears the value of `searchPlayerProto10000`. Subsequent reads from it will return its default value. - public mutating func clearSearchPlayerProto10000() {_uniqueStorage()._searchPlayerProto10000 = nil} - - public var sendFriendInviteProto10002: SendFriendInviteProto { - get {return _storage._sendFriendInviteProto10002 ?? SendFriendInviteProto()} - set {_uniqueStorage()._sendFriendInviteProto10002 = newValue} - } - /// Returns true if `sendFriendInviteProto10002` has been explicitly set. - public var hasSendFriendInviteProto10002: Bool {return _storage._sendFriendInviteProto10002 != nil} - /// Clears the value of `sendFriendInviteProto10002`. Subsequent reads from it will return its default value. - public mutating func clearSendFriendInviteProto10002() {_uniqueStorage()._sendFriendInviteProto10002 = nil} - - public var cancelFriendInviteProto10003: CancelFriendInviteProto { - get {return _storage._cancelFriendInviteProto10003 ?? CancelFriendInviteProto()} - set {_uniqueStorage()._cancelFriendInviteProto10003 = newValue} - } - /// Returns true if `cancelFriendInviteProto10003` has been explicitly set. - public var hasCancelFriendInviteProto10003: Bool {return _storage._cancelFriendInviteProto10003 != nil} - /// Clears the value of `cancelFriendInviteProto10003`. Subsequent reads from it will return its default value. - public mutating func clearCancelFriendInviteProto10003() {_uniqueStorage()._cancelFriendInviteProto10003 = nil} - - public var acceptFriendInviteProto10004: AcceptFriendInviteProto { - get {return _storage._acceptFriendInviteProto10004 ?? AcceptFriendInviteProto()} - set {_uniqueStorage()._acceptFriendInviteProto10004 = newValue} - } - /// Returns true if `acceptFriendInviteProto10004` has been explicitly set. - public var hasAcceptFriendInviteProto10004: Bool {return _storage._acceptFriendInviteProto10004 != nil} - /// Clears the value of `acceptFriendInviteProto10004`. Subsequent reads from it will return its default value. - public mutating func clearAcceptFriendInviteProto10004() {_uniqueStorage()._acceptFriendInviteProto10004 = nil} - - public var declineFriendInviteProto10005: DeclineFriendInviteProto { - get {return _storage._declineFriendInviteProto10005 ?? DeclineFriendInviteProto()} - set {_uniqueStorage()._declineFriendInviteProto10005 = newValue} - } - /// Returns true if `declineFriendInviteProto10005` has been explicitly set. - public var hasDeclineFriendInviteProto10005: Bool {return _storage._declineFriendInviteProto10005 != nil} - /// Clears the value of `declineFriendInviteProto10005`. Subsequent reads from it will return its default value. - public mutating func clearDeclineFriendInviteProto10005() {_uniqueStorage()._declineFriendInviteProto10005 = nil} - - public var getFriendsListProto10006: GetFriendsListProto { - get {return _storage._getFriendsListProto10006 ?? GetFriendsListProto()} - set {_uniqueStorage()._getFriendsListProto10006 = newValue} - } - /// Returns true if `getFriendsListProto10006` has been explicitly set. - public var hasGetFriendsListProto10006: Bool {return _storage._getFriendsListProto10006 != nil} - /// Clears the value of `getFriendsListProto10006`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendsListProto10006() {_uniqueStorage()._getFriendsListProto10006 = nil} - - public var getOutgoingFriendInvitesProto10007: GetOutgoingFriendInvitesProto { - get {return _storage._getOutgoingFriendInvitesProto10007 ?? GetOutgoingFriendInvitesProto()} - set {_uniqueStorage()._getOutgoingFriendInvitesProto10007 = newValue} - } - /// Returns true if `getOutgoingFriendInvitesProto10007` has been explicitly set. - public var hasGetOutgoingFriendInvitesProto10007: Bool {return _storage._getOutgoingFriendInvitesProto10007 != nil} - /// Clears the value of `getOutgoingFriendInvitesProto10007`. Subsequent reads from it will return its default value. - public mutating func clearGetOutgoingFriendInvitesProto10007() {_uniqueStorage()._getOutgoingFriendInvitesProto10007 = nil} - - public var getIncomingFriendInvitesProto10008: GetIncomingFriendInvitesProto { - get {return _storage._getIncomingFriendInvitesProto10008 ?? GetIncomingFriendInvitesProto()} - set {_uniqueStorage()._getIncomingFriendInvitesProto10008 = newValue} - } - /// Returns true if `getIncomingFriendInvitesProto10008` has been explicitly set. - public var hasGetIncomingFriendInvitesProto10008: Bool {return _storage._getIncomingFriendInvitesProto10008 != nil} - /// Clears the value of `getIncomingFriendInvitesProto10008`. Subsequent reads from it will return its default value. - public mutating func clearGetIncomingFriendInvitesProto10008() {_uniqueStorage()._getIncomingFriendInvitesProto10008 = nil} - - public var removeFriendProto10009: RemoveFriendProto { - get {return _storage._removeFriendProto10009 ?? RemoveFriendProto()} - set {_uniqueStorage()._removeFriendProto10009 = newValue} - } - /// Returns true if `removeFriendProto10009` has been explicitly set. - public var hasRemoveFriendProto10009: Bool {return _storage._removeFriendProto10009 != nil} - /// Clears the value of `removeFriendProto10009`. Subsequent reads from it will return its default value. - public mutating func clearRemoveFriendProto10009() {_uniqueStorage()._removeFriendProto10009 = nil} - - public var getFriendDetailsProto10010: GetFriendDetailsProto { - get {return _storage._getFriendDetailsProto10010 ?? GetFriendDetailsProto()} - set {_uniqueStorage()._getFriendDetailsProto10010 = newValue} - } - /// Returns true if `getFriendDetailsProto10010` has been explicitly set. - public var hasGetFriendDetailsProto10010: Bool {return _storage._getFriendDetailsProto10010 != nil} - /// Clears the value of `getFriendDetailsProto10010`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendDetailsProto10010() {_uniqueStorage()._getFriendDetailsProto10010 = nil} - - public var inviteFacebookFriendProto10011: InviteFacebookFriendProto { - get {return _storage._inviteFacebookFriendProto10011 ?? InviteFacebookFriendProto()} - set {_uniqueStorage()._inviteFacebookFriendProto10011 = newValue} - } - /// Returns true if `inviteFacebookFriendProto10011` has been explicitly set. - public var hasInviteFacebookFriendProto10011: Bool {return _storage._inviteFacebookFriendProto10011 != nil} - /// Clears the value of `inviteFacebookFriendProto10011`. Subsequent reads from it will return its default value. - public mutating func clearInviteFacebookFriendProto10011() {_uniqueStorage()._inviteFacebookFriendProto10011 = nil} - - public var isMyFriendProto10012: IsMyFriendProto { - get {return _storage._isMyFriendProto10012 ?? IsMyFriendProto()} - set {_uniqueStorage()._isMyFriendProto10012 = newValue} - } - /// Returns true if `isMyFriendProto10012` has been explicitly set. - public var hasIsMyFriendProto10012: Bool {return _storage._isMyFriendProto10012 != nil} - /// Clears the value of `isMyFriendProto10012`. Subsequent reads from it will return its default value. - public mutating func clearIsMyFriendProto10012() {_uniqueStorage()._isMyFriendProto10012 = nil} - - public var getFriendCodeProto10013: GetFriendCodeProto { - get {return _storage._getFriendCodeProto10013 ?? GetFriendCodeProto()} - set {_uniqueStorage()._getFriendCodeProto10013 = newValue} - } - /// Returns true if `getFriendCodeProto10013` has been explicitly set. - public var hasGetFriendCodeProto10013: Bool {return _storage._getFriendCodeProto10013 != nil} - /// Clears the value of `getFriendCodeProto10013`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendCodeProto10013() {_uniqueStorage()._getFriendCodeProto10013 = nil} - - public var getFacebookFriendListProto10014: GetFacebookFriendListProto { - get {return _storage._getFacebookFriendListProto10014 ?? GetFacebookFriendListProto()} - set {_uniqueStorage()._getFacebookFriendListProto10014 = newValue} - } - /// Returns true if `getFacebookFriendListProto10014` has been explicitly set. - public var hasGetFacebookFriendListProto10014: Bool {return _storage._getFacebookFriendListProto10014 != nil} - /// Clears the value of `getFacebookFriendListProto10014`. Subsequent reads from it will return its default value. - public mutating func clearGetFacebookFriendListProto10014() {_uniqueStorage()._getFacebookFriendListProto10014 = nil} - - public var updateFacebookStatusProto10015: UpdateFacebookStatusProto { - get {return _storage._updateFacebookStatusProto10015 ?? UpdateFacebookStatusProto()} - set {_uniqueStorage()._updateFacebookStatusProto10015 = newValue} - } - /// Returns true if `updateFacebookStatusProto10015` has been explicitly set. - public var hasUpdateFacebookStatusProto10015: Bool {return _storage._updateFacebookStatusProto10015 != nil} - /// Clears the value of `updateFacebookStatusProto10015`. Subsequent reads from it will return its default value. - public mutating func clearUpdateFacebookStatusProto10015() {_uniqueStorage()._updateFacebookStatusProto10015 = nil} - - public var savesocialPlayersettingsProto10016: SaveSocialPlayerSettingsProto { - get {return _storage._savesocialPlayersettingsProto10016 ?? SaveSocialPlayerSettingsProto()} - set {_uniqueStorage()._savesocialPlayersettingsProto10016 = newValue} - } - /// Returns true if `savesocialPlayersettingsProto10016` has been explicitly set. - public var hasSavesocialPlayersettingsProto10016: Bool {return _storage._savesocialPlayersettingsProto10016 != nil} - /// Clears the value of `savesocialPlayersettingsProto10016`. Subsequent reads from it will return its default value. - public mutating func clearSavesocialPlayersettingsProto10016() {_uniqueStorage()._savesocialPlayersettingsProto10016 = nil} - - public var getPlayerSettingsProto10017: GetPlayerSettingsProto { - get {return _storage._getPlayerSettingsProto10017 ?? GetPlayerSettingsProto()} - set {_uniqueStorage()._getPlayerSettingsProto10017 = newValue} - } - /// Returns true if `getPlayerSettingsProto10017` has been explicitly set. - public var hasGetPlayerSettingsProto10017: Bool {return _storage._getPlayerSettingsProto10017 != nil} - /// Clears the value of `getPlayerSettingsProto10017`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerSettingsProto10017() {_uniqueStorage()._getPlayerSettingsProto10017 = nil} - - public var setAccountsettingsProto10021: SetAccountSettingsProto { - get {return _storage._setAccountsettingsProto10021 ?? SetAccountSettingsProto()} - set {_uniqueStorage()._setAccountsettingsProto10021 = newValue} - } - /// Returns true if `setAccountsettingsProto10021` has been explicitly set. - public var hasSetAccountsettingsProto10021: Bool {return _storage._setAccountsettingsProto10021 != nil} - /// Clears the value of `setAccountsettingsProto10021`. Subsequent reads from it will return its default value. - public mutating func clearSetAccountsettingsProto10021() {_uniqueStorage()._setAccountsettingsProto10021 = nil} - - public var getAccountSettingsProto10022: GetAccountSettingsProto { - get {return _storage._getAccountSettingsProto10022 ?? GetAccountSettingsProto()} - set {_uniqueStorage()._getAccountSettingsProto10022 = newValue} - } - /// Returns true if `getAccountSettingsProto10022` has been explicitly set. - public var hasGetAccountSettingsProto10022: Bool {return _storage._getAccountSettingsProto10022 != nil} - /// Clears the value of `getAccountSettingsProto10022`. Subsequent reads from it will return its default value. - public mutating func clearGetAccountSettingsProto10022() {_uniqueStorage()._getAccountSettingsProto10022 = nil} - - public var addFavoriteFriendRequest10023: AddFavoriteFriendRequest { - get {return _storage._addFavoriteFriendRequest10023 ?? AddFavoriteFriendRequest()} - set {_uniqueStorage()._addFavoriteFriendRequest10023 = newValue} - } - /// Returns true if `addFavoriteFriendRequest10023` has been explicitly set. - public var hasAddFavoriteFriendRequest10023: Bool {return _storage._addFavoriteFriendRequest10023 != nil} - /// Clears the value of `addFavoriteFriendRequest10023`. Subsequent reads from it will return its default value. - public mutating func clearAddFavoriteFriendRequest10023() {_uniqueStorage()._addFavoriteFriendRequest10023 = nil} - - public var removeFavoriteFriendrequest10024: RemoveFavoriteFriendRequest { - get {return _storage._removeFavoriteFriendrequest10024 ?? RemoveFavoriteFriendRequest()} - set {_uniqueStorage()._removeFavoriteFriendrequest10024 = newValue} - } - /// Returns true if `removeFavoriteFriendrequest10024` has been explicitly set. - public var hasRemoveFavoriteFriendrequest10024: Bool {return _storage._removeFavoriteFriendrequest10024 != nil} - /// Clears the value of `removeFavoriteFriendrequest10024`. Subsequent reads from it will return its default value. - public mutating func clearRemoveFavoriteFriendrequest10024() {_uniqueStorage()._removeFavoriteFriendrequest10024 = nil} - - public var blockAccountProto10025: BlockAccountProto { - get {return _storage._blockAccountProto10025 ?? BlockAccountProto()} - set {_uniqueStorage()._blockAccountProto10025 = newValue} - } - /// Returns true if `blockAccountProto10025` has been explicitly set. - public var hasBlockAccountProto10025: Bool {return _storage._blockAccountProto10025 != nil} - /// Clears the value of `blockAccountProto10025`. Subsequent reads from it will return its default value. - public mutating func clearBlockAccountProto10025() {_uniqueStorage()._blockAccountProto10025 = nil} - - public var unblockAccountProto10026: UnblockAccountProto { - get {return _storage._unblockAccountProto10026 ?? UnblockAccountProto()} - set {_uniqueStorage()._unblockAccountProto10026 = newValue} - } - /// Returns true if `unblockAccountProto10026` has been explicitly set. - public var hasUnblockAccountProto10026: Bool {return _storage._unblockAccountProto10026 != nil} - /// Clears the value of `unblockAccountProto10026`. Subsequent reads from it will return its default value. - public mutating func clearUnblockAccountProto10026() {_uniqueStorage()._unblockAccountProto10026 = nil} - - public var getOutgoingBlocksProto10027: GetOutgoingBlocksProto { - get {return _storage._getOutgoingBlocksProto10027 ?? GetOutgoingBlocksProto()} - set {_uniqueStorage()._getOutgoingBlocksProto10027 = newValue} - } - /// Returns true if `getOutgoingBlocksProto10027` has been explicitly set. - public var hasGetOutgoingBlocksProto10027: Bool {return _storage._getOutgoingBlocksProto10027 != nil} - /// Clears the value of `getOutgoingBlocksProto10027`. Subsequent reads from it will return its default value. - public mutating func clearGetOutgoingBlocksProto10027() {_uniqueStorage()._getOutgoingBlocksProto10027 = nil} - - public var isAccountBlockedProto10028: IsAccountBlockedProto { - get {return _storage._isAccountBlockedProto10028 ?? IsAccountBlockedProto()} - set {_uniqueStorage()._isAccountBlockedProto10028 = newValue} - } - /// Returns true if `isAccountBlockedProto10028` has been explicitly set. - public var hasIsAccountBlockedProto10028: Bool {return _storage._isAccountBlockedProto10028 != nil} - /// Clears the value of `isAccountBlockedProto10028`. Subsequent reads from it will return its default value. - public mutating func clearIsAccountBlockedProto10028() {_uniqueStorage()._isAccountBlockedProto10028 = nil} - - public var pushNotificationRegistryproto10101: PushNotificationRegistryProto { - get {return _storage._pushNotificationRegistryproto10101 ?? PushNotificationRegistryProto()} - set {_uniqueStorage()._pushNotificationRegistryproto10101 = newValue} - } - /// Returns true if `pushNotificationRegistryproto10101` has been explicitly set. - public var hasPushNotificationRegistryproto10101: Bool {return _storage._pushNotificationRegistryproto10101 != nil} - /// Clears the value of `pushNotificationRegistryproto10101`. Subsequent reads from it will return its default value. - public mutating func clearPushNotificationRegistryproto10101() {_uniqueStorage()._pushNotificationRegistryproto10101 = nil} - - public var updateNotificationProto10103: UpdateNotificationProto { - get {return _storage._updateNotificationProto10103 ?? UpdateNotificationProto()} - set {_uniqueStorage()._updateNotificationProto10103 = newValue} - } - /// Returns true if `updateNotificationProto10103` has been explicitly set. - public var hasUpdateNotificationProto10103: Bool {return _storage._updateNotificationProto10103 != nil} - /// Clears the value of `updateNotificationProto10103`. Subsequent reads from it will return its default value. - public mutating func clearUpdateNotificationProto10103() {_uniqueStorage()._updateNotificationProto10103 = nil} - - public var optProto10104: OptProto { - get {return _storage._optProto10104 ?? OptProto()} - set {_uniqueStorage()._optProto10104 = newValue} - } - /// Returns true if `optProto10104` has been explicitly set. - public var hasOptProto10104: Bool {return _storage._optProto10104 != nil} - /// Clears the value of `optProto10104`. Subsequent reads from it will return its default value. - public mutating func clearOptProto10104() {_uniqueStorage()._optProto10104 = nil} - - public var getInboxV2Proto10105: GetInboxV2Proto { - get {return _storage._getInboxV2Proto10105 ?? GetInboxV2Proto()} - set {_uniqueStorage()._getInboxV2Proto10105 = newValue} - } - /// Returns true if `getInboxV2Proto10105` has been explicitly set. - public var hasGetInboxV2Proto10105: Bool {return _storage._getInboxV2Proto10105 != nil} - /// Clears the value of `getInboxV2Proto10105`. Subsequent reads from it will return its default value. - public mutating func clearGetInboxV2Proto10105() {_uniqueStorage()._getInboxV2Proto10105 = nil} - - public var getSignedURLProto10201: GetSignedUrlProto { - get {return _storage._getSignedURLProto10201 ?? GetSignedUrlProto()} - set {_uniqueStorage()._getSignedURLProto10201 = newValue} - } - /// Returns true if `getSignedURLProto10201` has been explicitly set. - public var hasGetSignedURLProto10201: Bool {return _storage._getSignedURLProto10201 != nil} - /// Clears the value of `getSignedURLProto10201`. Subsequent reads from it will return its default value. - public mutating func clearGetSignedURLProto10201() {_uniqueStorage()._getSignedURLProto10201 = nil} - - public var submitImageProto10202: SubmitImageProto { - get {return _storage._submitImageProto10202 ?? SubmitImageProto()} - set {_uniqueStorage()._submitImageProto10202 = newValue} - } - /// Returns true if `submitImageProto10202` has been explicitly set. - public var hasSubmitImageProto10202: Bool {return _storage._submitImageProto10202 != nil} - /// Clears the value of `submitImageProto10202`. Subsequent reads from it will return its default value. - public mutating func clearSubmitImageProto10202() {_uniqueStorage()._submitImageProto10202 = nil} - - public var getPhotosProto10203: GetPhotosProto { - get {return _storage._getPhotosProto10203 ?? GetPhotosProto()} - set {_uniqueStorage()._getPhotosProto10203 = newValue} - } - /// Returns true if `getPhotosProto10203` has been explicitly set. - public var hasGetPhotosProto10203: Bool {return _storage._getPhotosProto10203 != nil} - /// Clears the value of `getPhotosProto10203`. Subsequent reads from it will return its default value. - public mutating func clearGetPhotosProto10203() {_uniqueStorage()._getPhotosProto10203 = nil} - - public var deletePhotoProto10204: DeletePhotoProto { - get {return _storage._deletePhotoProto10204 ?? DeletePhotoProto()} - set {_uniqueStorage()._deletePhotoProto10204 = newValue} - } - /// Returns true if `deletePhotoProto10204` has been explicitly set. - public var hasDeletePhotoProto10204: Bool {return _storage._deletePhotoProto10204 != nil} - /// Clears the value of `deletePhotoProto10204`. Subsequent reads from it will return its default value. - public mutating func clearDeletePhotoProto10204() {_uniqueStorage()._deletePhotoProto10204 = nil} - - public var flagPhotoRequest10205: FlagPhotoRequest { - get {return _storage._flagPhotoRequest10205 ?? FlagPhotoRequest()} - set {_uniqueStorage()._flagPhotoRequest10205 = newValue} - } - /// Returns true if `flagPhotoRequest10205` has been explicitly set. - public var hasFlagPhotoRequest10205: Bool {return _storage._flagPhotoRequest10205 != nil} - /// Clears the value of `flagPhotoRequest10205`. Subsequent reads from it will return its default value. - public mutating func clearFlagPhotoRequest10205() {_uniqueStorage()._flagPhotoRequest10205 = nil} - - public var updateProfileRequest20001: UpdateProfileRequest { - get {return _storage._updateProfileRequest20001 ?? UpdateProfileRequest()} - set {_uniqueStorage()._updateProfileRequest20001 = newValue} - } - /// Returns true if `updateProfileRequest20001` has been explicitly set. - public var hasUpdateProfileRequest20001: Bool {return _storage._updateProfileRequest20001 != nil} - /// Clears the value of `updateProfileRequest20001`. Subsequent reads from it will return its default value. - public mutating func clearUpdateProfileRequest20001() {_uniqueStorage()._updateProfileRequest20001 = nil} - - public var updateFriendshipRequest20002: UpdateFriendshipRequest { - get {return _storage._updateFriendshipRequest20002 ?? UpdateFriendshipRequest()} - set {_uniqueStorage()._updateFriendshipRequest20002 = newValue} - } - /// Returns true if `updateFriendshipRequest20002` has been explicitly set. - public var hasUpdateFriendshipRequest20002: Bool {return _storage._updateFriendshipRequest20002 != nil} - /// Clears the value of `updateFriendshipRequest20002`. Subsequent reads from it will return its default value. - public mutating func clearUpdateFriendshipRequest20002() {_uniqueStorage()._updateFriendshipRequest20002 = nil} - - public var getProfileRequest20003: GetProfileRequest { - get {return _storage._getProfileRequest20003 ?? GetProfileRequest()} - set {_uniqueStorage()._getProfileRequest20003 = newValue} - } - /// Returns true if `getProfileRequest20003` has been explicitly set. - public var hasGetProfileRequest20003: Bool {return _storage._getProfileRequest20003 != nil} - /// Clears the value of `getProfileRequest20003`. Subsequent reads from it will return its default value. - public mutating func clearGetProfileRequest20003() {_uniqueStorage()._getProfileRequest20003 = nil} - - public var inviteGameRequest20004: InviteGameRequest { - get {return _storage._inviteGameRequest20004 ?? InviteGameRequest()} - set {_uniqueStorage()._inviteGameRequest20004 = newValue} - } - /// Returns true if `inviteGameRequest20004` has been explicitly set. - public var hasInviteGameRequest20004: Bool {return _storage._inviteGameRequest20004 != nil} - /// Clears the value of `inviteGameRequest20004`. Subsequent reads from it will return its default value. - public mutating func clearInviteGameRequest20004() {_uniqueStorage()._inviteGameRequest20004 = nil} - - public var listFriendsRequest20006: ListFriendsRequest { - get {return _storage._listFriendsRequest20006 ?? ListFriendsRequest()} - set {_uniqueStorage()._listFriendsRequest20006 = newValue} - } - /// Returns true if `listFriendsRequest20006` has been explicitly set. - public var hasListFriendsRequest20006: Bool {return _storage._listFriendsRequest20006 != nil} - /// Clears the value of `listFriendsRequest20006`. Subsequent reads from it will return its default value. - public mutating func clearListFriendsRequest20006() {_uniqueStorage()._listFriendsRequest20006 = nil} - - public var getFriendDetailsProto20007: GetFriendDetailsProto { - get {return _storage._getFriendDetailsProto20007 ?? GetFriendDetailsProto()} - set {_uniqueStorage()._getFriendDetailsProto20007 = newValue} - } - /// Returns true if `getFriendDetailsProto20007` has been explicitly set. - public var hasGetFriendDetailsProto20007: Bool {return _storage._getFriendDetailsProto20007 != nil} - /// Clears the value of `getFriendDetailsProto20007`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendDetailsProto20007() {_uniqueStorage()._getFriendDetailsProto20007 = nil} - - public var getClientFeatureFlagsRequest20008: GetClientFeatureFlagsRequest { - get {return _storage._getClientFeatureFlagsRequest20008 ?? GetClientFeatureFlagsRequest()} - set {_uniqueStorage()._getClientFeatureFlagsRequest20008 = newValue} - } - /// Returns true if `getClientFeatureFlagsRequest20008` has been explicitly set. - public var hasGetClientFeatureFlagsRequest20008: Bool {return _storage._getClientFeatureFlagsRequest20008 != nil} - /// Clears the value of `getClientFeatureFlagsRequest20008`. Subsequent reads from it will return its default value. - public mutating func clearGetClientFeatureFlagsRequest20008() {_uniqueStorage()._getClientFeatureFlagsRequest20008 = nil} - - public var getIncominggameInvitesRequest20010: GetIncomingGameInvitesRequest { - get {return _storage._getIncominggameInvitesRequest20010 ?? GetIncomingGameInvitesRequest()} - set {_uniqueStorage()._getIncominggameInvitesRequest20010 = newValue} - } - /// Returns true if `getIncominggameInvitesRequest20010` has been explicitly set. - public var hasGetIncominggameInvitesRequest20010: Bool {return _storage._getIncominggameInvitesRequest20010 != nil} - /// Clears the value of `getIncominggameInvitesRequest20010`. Subsequent reads from it will return its default value. - public mutating func clearGetIncominggameInvitesRequest20010() {_uniqueStorage()._getIncominggameInvitesRequest20010 = nil} - - public var updateIncomingGameInviteRequest20011: UpdateIncomingGameInviteRequest { - get {return _storage._updateIncomingGameInviteRequest20011 ?? UpdateIncomingGameInviteRequest()} - set {_uniqueStorage()._updateIncomingGameInviteRequest20011 = newValue} - } - /// Returns true if `updateIncomingGameInviteRequest20011` has been explicitly set. - public var hasUpdateIncomingGameInviteRequest20011: Bool {return _storage._updateIncomingGameInviteRequest20011 != nil} - /// Clears the value of `updateIncomingGameInviteRequest20011`. Subsequent reads from it will return its default value. - public mutating func clearUpdateIncomingGameInviteRequest20011() {_uniqueStorage()._updateIncomingGameInviteRequest20011 = nil} - - public var dismissOutgoingGameInvitesRequest20012: DismissOutgoingGameInvitesRequest { - get {return _storage._dismissOutgoingGameInvitesRequest20012 ?? DismissOutgoingGameInvitesRequest()} - set {_uniqueStorage()._dismissOutgoingGameInvitesRequest20012 = newValue} - } - /// Returns true if `dismissOutgoingGameInvitesRequest20012` has been explicitly set. - public var hasDismissOutgoingGameInvitesRequest20012: Bool {return _storage._dismissOutgoingGameInvitesRequest20012 != nil} - /// Clears the value of `dismissOutgoingGameInvitesRequest20012`. Subsequent reads from it will return its default value. - public mutating func clearDismissOutgoingGameInvitesRequest20012() {_uniqueStorage()._dismissOutgoingGameInvitesRequest20012 = nil} - - public var syncContactListRequest20013: SyncContactListRequest { - get {return _storage._syncContactListRequest20013 ?? SyncContactListRequest()} - set {_uniqueStorage()._syncContactListRequest20013 = newValue} - } - /// Returns true if `syncContactListRequest20013` has been explicitly set. - public var hasSyncContactListRequest20013: Bool {return _storage._syncContactListRequest20013 != nil} - /// Clears the value of `syncContactListRequest20013`. Subsequent reads from it will return its default value. - public mutating func clearSyncContactListRequest20013() {_uniqueStorage()._syncContactListRequest20013 = nil} - - public var sendContactListFriendInviteRequest20014: SendContactListFriendInviteRequest { - get {return _storage._sendContactListFriendInviteRequest20014 ?? SendContactListFriendInviteRequest()} - set {_uniqueStorage()._sendContactListFriendInviteRequest20014 = newValue} - } - /// Returns true if `sendContactListFriendInviteRequest20014` has been explicitly set. - public var hasSendContactListFriendInviteRequest20014: Bool {return _storage._sendContactListFriendInviteRequest20014 != nil} - /// Clears the value of `sendContactListFriendInviteRequest20014`. Subsequent reads from it will return its default value. - public mutating func clearSendContactListFriendInviteRequest20014() {_uniqueStorage()._sendContactListFriendInviteRequest20014 = nil} - - public var referContactListFriendrequest20015: ReferContactListFriendRequest { - get {return _storage._referContactListFriendrequest20015 ?? ReferContactListFriendRequest()} - set {_uniqueStorage()._referContactListFriendrequest20015 = newValue} - } - /// Returns true if `referContactListFriendrequest20015` has been explicitly set. - public var hasReferContactListFriendrequest20015: Bool {return _storage._referContactListFriendrequest20015 != nil} - /// Clears the value of `referContactListFriendrequest20015`. Subsequent reads from it will return its default value. - public mutating func clearReferContactListFriendrequest20015() {_uniqueStorage()._referContactListFriendrequest20015 = nil} - - public var getContactListInfoRequest20016: GetContactListInfoRequest { - get {return _storage._getContactListInfoRequest20016 ?? GetContactListInfoRequest()} - set {_uniqueStorage()._getContactListInfoRequest20016 = newValue} - } - /// Returns true if `getContactListInfoRequest20016` has been explicitly set. - public var hasGetContactListInfoRequest20016: Bool {return _storage._getContactListInfoRequest20016 != nil} - /// Clears the value of `getContactListInfoRequest20016`. Subsequent reads from it will return its default value. - public mutating func clearGetContactListInfoRequest20016() {_uniqueStorage()._getContactListInfoRequest20016 = nil} - - public var dismissContactListUpdateRequest20017: DismissContactListUpdateRequest { - get {return _storage._dismissContactListUpdateRequest20017 ?? DismissContactListUpdateRequest()} - set {_uniqueStorage()._dismissContactListUpdateRequest20017 = newValue} - } - /// Returns true if `dismissContactListUpdateRequest20017` has been explicitly set. - public var hasDismissContactListUpdateRequest20017: Bool {return _storage._dismissContactListUpdateRequest20017 != nil} - /// Clears the value of `dismissContactListUpdateRequest20017`. Subsequent reads from it will return its default value. - public mutating func clearDismissContactListUpdateRequest20017() {_uniqueStorage()._dismissContactListUpdateRequest20017 = nil} - - public var notifyContactListFriendsRequest20018: NotifyContactListFriendsRequest { - get {return _storage._notifyContactListFriendsRequest20018 ?? NotifyContactListFriendsRequest()} - set {_uniqueStorage()._notifyContactListFriendsRequest20018 = newValue} - } - /// Returns true if `notifyContactListFriendsRequest20018` has been explicitly set. - public var hasNotifyContactListFriendsRequest20018: Bool {return _storage._notifyContactListFriendsRequest20018 != nil} - /// Clears the value of `notifyContactListFriendsRequest20018`. Subsequent reads from it will return its default value. - public mutating func clearNotifyContactListFriendsRequest20018() {_uniqueStorage()._notifyContactListFriendsRequest20018 = nil} - - public var getFriendRecommendationRequest20500: GetFriendRecommendationRequest { - get {return _storage._getFriendRecommendationRequest20500 ?? GetFriendRecommendationRequest()} - set {_uniqueStorage()._getFriendRecommendationRequest20500 = newValue} - } - /// Returns true if `getFriendRecommendationRequest20500` has been explicitly set. - public var hasGetFriendRecommendationRequest20500: Bool {return _storage._getFriendRecommendationRequest20500 != nil} - /// Clears the value of `getFriendRecommendationRequest20500`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendRecommendationRequest20500() {_uniqueStorage()._getFriendRecommendationRequest20500 = nil} - - public var registerBackgroundServicerequestProto230000: RegisterBackgroundServiceRequestProto { - get {return _storage._registerBackgroundServicerequestProto230000 ?? RegisterBackgroundServiceRequestProto()} - set {_uniqueStorage()._registerBackgroundServicerequestProto230000 = newValue} - } - /// Returns true if `registerBackgroundServicerequestProto230000` has been explicitly set. - public var hasRegisterBackgroundServicerequestProto230000: Bool {return _storage._registerBackgroundServicerequestProto230000 != nil} - /// Clears the value of `registerBackgroundServicerequestProto230000`. Subsequent reads from it will return its default value. - public mutating func clearRegisterBackgroundServicerequestProto230000() {_uniqueStorage()._registerBackgroundServicerequestProto230000 = nil} - - public var getAdventureSyncProgressProto230002: GetAdventureSyncProgressProto { - get {return _storage._getAdventureSyncProgressProto230002 ?? GetAdventureSyncProgressProto()} - set {_uniqueStorage()._getAdventureSyncProgressProto230002 = newValue} - } - /// Returns true if `getAdventureSyncProgressProto230002` has been explicitly set. - public var hasGetAdventureSyncProgressProto230002: Bool {return _storage._getAdventureSyncProgressProto230002 != nil} - /// Clears the value of `getAdventureSyncProgressProto230002`. Subsequent reads from it will return its default value. - public mutating func clearGetAdventureSyncProgressProto230002() {_uniqueStorage()._getAdventureSyncProgressProto230002 = nil} - - public var purchaseSkuproto310000: PurchaseSkuProto { - get {return _storage._purchaseSkuproto310000 ?? PurchaseSkuProto()} - set {_uniqueStorage()._purchaseSkuproto310000 = newValue} - } - /// Returns true if `purchaseSkuproto310000` has been explicitly set. - public var hasPurchaseSkuproto310000: Bool {return _storage._purchaseSkuproto310000 != nil} - /// Clears the value of `purchaseSkuproto310000`. Subsequent reads from it will return its default value. - public mutating func clearPurchaseSkuproto310000() {_uniqueStorage()._purchaseSkuproto310000 = nil} - - public var getAvailableSkusAndBalancesProto310001: GetAvailableSkusAndBalancesProto { - get {return _storage._getAvailableSkusAndBalancesProto310001 ?? GetAvailableSkusAndBalancesProto()} - set {_uniqueStorage()._getAvailableSkusAndBalancesProto310001 = newValue} - } - /// Returns true if `getAvailableSkusAndBalancesProto310001` has been explicitly set. - public var hasGetAvailableSkusAndBalancesProto310001: Bool {return _storage._getAvailableSkusAndBalancesProto310001 != nil} - /// Clears the value of `getAvailableSkusAndBalancesProto310001`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSkusAndBalancesProto310001() {_uniqueStorage()._getAvailableSkusAndBalancesProto310001 = nil} - - public var setInGameCurrencyExchangeRateProto310002: SetInGameCurrencyExchangeRateProto { - get {return _storage._setInGameCurrencyExchangeRateProto310002 ?? SetInGameCurrencyExchangeRateProto()} - set {_uniqueStorage()._setInGameCurrencyExchangeRateProto310002 = newValue} - } - /// Returns true if `setInGameCurrencyExchangeRateProto310002` has been explicitly set. - public var hasSetInGameCurrencyExchangeRateProto310002: Bool {return _storage._setInGameCurrencyExchangeRateProto310002 != nil} - /// Clears the value of `setInGameCurrencyExchangeRateProto310002`. Subsequent reads from it will return its default value. - public mutating func clearSetInGameCurrencyExchangeRateProto310002() {_uniqueStorage()._setInGameCurrencyExchangeRateProto310002 = nil} - - public var redeemGooglereceiptProto310100: RedeemGoogleReceiptProto { - get {return _storage._redeemGooglereceiptProto310100 ?? RedeemGoogleReceiptProto()} - set {_uniqueStorage()._redeemGooglereceiptProto310100 = newValue} - } - /// Returns true if `redeemGooglereceiptProto310100` has been explicitly set. - public var hasRedeemGooglereceiptProto310100: Bool {return _storage._redeemGooglereceiptProto310100 != nil} - /// Clears the value of `redeemGooglereceiptProto310100`. Subsequent reads from it will return its default value. - public mutating func clearRedeemGooglereceiptProto310100() {_uniqueStorage()._redeemGooglereceiptProto310100 = nil} - - public var redeemApplereceiptProto310101: RedeemAppleReceiptProto { - get {return _storage._redeemApplereceiptProto310101 ?? RedeemAppleReceiptProto()} - set {_uniqueStorage()._redeemApplereceiptProto310101 = newValue} - } - /// Returns true if `redeemApplereceiptProto310101` has been explicitly set. - public var hasRedeemApplereceiptProto310101: Bool {return _storage._redeemApplereceiptProto310101 != nil} - /// Clears the value of `redeemApplereceiptProto310101`. Subsequent reads from it will return its default value. - public mutating func clearRedeemApplereceiptProto310101() {_uniqueStorage()._redeemApplereceiptProto310101 = nil} - - public var redeemDesktopreceiptProto310102: RedeemDesktopReceiptProto { - get {return _storage._redeemDesktopreceiptProto310102 ?? RedeemDesktopReceiptProto()} - set {_uniqueStorage()._redeemDesktopreceiptProto310102 = newValue} - } - /// Returns true if `redeemDesktopreceiptProto310102` has been explicitly set. - public var hasRedeemDesktopreceiptProto310102: Bool {return _storage._redeemDesktopreceiptProto310102 != nil} - /// Clears the value of `redeemDesktopreceiptProto310102`. Subsequent reads from it will return its default value. - public mutating func clearRedeemDesktopreceiptProto310102() {_uniqueStorage()._redeemDesktopreceiptProto310102 = nil} - - public var redeemSamsungreceiptProto310103: RedeemSamsungReceiptProto { - get {return _storage._redeemSamsungreceiptProto310103 ?? RedeemSamsungReceiptProto()} - set {_uniqueStorage()._redeemSamsungreceiptProto310103 = newValue} - } - /// Returns true if `redeemSamsungreceiptProto310103` has been explicitly set. - public var hasRedeemSamsungreceiptProto310103: Bool {return _storage._redeemSamsungreceiptProto310103 != nil} - /// Clears the value of `redeemSamsungreceiptProto310103`. Subsequent reads from it will return its default value. - public mutating func clearRedeemSamsungreceiptProto310103() {_uniqueStorage()._redeemSamsungreceiptProto310103 = nil} - - public var getAvailableSubscriptionsRequestProto310200: GetAvailableSubscriptionsRequestProto { - get {return _storage._getAvailableSubscriptionsRequestProto310200 ?? GetAvailableSubscriptionsRequestProto()} - set {_uniqueStorage()._getAvailableSubscriptionsRequestProto310200 = newValue} - } - /// Returns true if `getAvailableSubscriptionsRequestProto310200` has been explicitly set. - public var hasGetAvailableSubscriptionsRequestProto310200: Bool {return _storage._getAvailableSubscriptionsRequestProto310200 != nil} - /// Clears the value of `getAvailableSubscriptionsRequestProto310200`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSubscriptionsRequestProto310200() {_uniqueStorage()._getAvailableSubscriptionsRequestProto310200 = nil} - - public var getActiveSubscriptionsRequestProto310201: GetActiveSubscriptionsRequestProto { - get {return _storage._getActiveSubscriptionsRequestProto310201 ?? GetActiveSubscriptionsRequestProto()} - set {_uniqueStorage()._getActiveSubscriptionsRequestProto310201 = newValue} - } - /// Returns true if `getActiveSubscriptionsRequestProto310201` has been explicitly set. - public var hasGetActiveSubscriptionsRequestProto310201: Bool {return _storage._getActiveSubscriptionsRequestProto310201 != nil} - /// Clears the value of `getActiveSubscriptionsRequestProto310201`. Subsequent reads from it will return its default value. - public mutating func clearGetActiveSubscriptionsRequestProto310201() {_uniqueStorage()._getActiveSubscriptionsRequestProto310201 = nil} - - public var geofenceUpdateProto360000: GeofenceUpdateProto { - get {return _storage._geofenceUpdateProto360000 ?? GeofenceUpdateProto()} - set {_uniqueStorage()._geofenceUpdateProto360000 = newValue} - } - /// Returns true if `geofenceUpdateProto360000` has been explicitly set. - public var hasGeofenceUpdateProto360000: Bool {return _storage._geofenceUpdateProto360000 != nil} - /// Clears the value of `geofenceUpdateProto360000`. Subsequent reads from it will return its default value. - public mutating func clearGeofenceUpdateProto360000() {_uniqueStorage()._geofenceUpdateProto360000 = nil} - - public var locationPingProto360001: LocationPingProto { - get {return _storage._locationPingProto360001 ?? LocationPingProto()} - set {_uniqueStorage()._locationPingProto360001 = newValue} - } - /// Returns true if `locationPingProto360001` has been explicitly set. - public var hasLocationPingProto360001: Bool {return _storage._locationPingProto360001 != nil} - /// Clears the value of `locationPingProto360001`. Subsequent reads from it will return its default value. - public mutating func clearLocationPingProto360001() {_uniqueStorage()._locationPingProto360001 = nil} - - public var updateBreadcrumbHistoryRequestProto361000: UpdateBreadcrumbHistoryRequestProto { - get {return _storage._updateBreadcrumbHistoryRequestProto361000 ?? UpdateBreadcrumbHistoryRequestProto()} - set {_uniqueStorage()._updateBreadcrumbHistoryRequestProto361000 = newValue} - } - /// Returns true if `updateBreadcrumbHistoryRequestProto361000` has been explicitly set. - public var hasUpdateBreadcrumbHistoryRequestProto361000: Bool {return _storage._updateBreadcrumbHistoryRequestProto361000 != nil} - /// Clears the value of `updateBreadcrumbHistoryRequestProto361000`. Subsequent reads from it will return its default value. - public mutating func clearUpdateBreadcrumbHistoryRequestProto361000() {_uniqueStorage()._updateBreadcrumbHistoryRequestProto361000 = nil} - - public var refreshProximityTokensrequestProto362000: RefreshProximityTokensRequestProto { - get {return _storage._refreshProximityTokensrequestProto362000 ?? RefreshProximityTokensRequestProto()} - set {_uniqueStorage()._refreshProximityTokensrequestProto362000 = newValue} - } - /// Returns true if `refreshProximityTokensrequestProto362000` has been explicitly set. - public var hasRefreshProximityTokensrequestProto362000: Bool {return _storage._refreshProximityTokensrequestProto362000 != nil} - /// Clears the value of `refreshProximityTokensrequestProto362000`. Subsequent reads from it will return its default value. - public mutating func clearRefreshProximityTokensrequestProto362000() {_uniqueStorage()._refreshProximityTokensrequestProto362000 = nil} - - public var reportProximityContactsrequestProto362001: ReportProximityContactsRequestProto { - get {return _storage._reportProximityContactsrequestProto362001 ?? ReportProximityContactsRequestProto()} - set {_uniqueStorage()._reportProximityContactsrequestProto362001 = newValue} - } - /// Returns true if `reportProximityContactsrequestProto362001` has been explicitly set. - public var hasReportProximityContactsrequestProto362001: Bool {return _storage._reportProximityContactsrequestProto362001 != nil} - /// Clears the value of `reportProximityContactsrequestProto362001`. Subsequent reads from it will return its default value. - public mutating func clearReportProximityContactsrequestProto362001() {_uniqueStorage()._reportProximityContactsrequestProto362001 = nil} - - public var getgameAccessTokenProto600005: GetGameAccessTokenProto { - get {return _storage._getgameAccessTokenProto600005 ?? GetGameAccessTokenProto()} - set {_uniqueStorage()._getgameAccessTokenProto600005 = newValue} - } - /// Returns true if `getgameAccessTokenProto600005` has been explicitly set. - public var hasGetgameAccessTokenProto600005: Bool {return _storage._getgameAccessTokenProto600005 != nil} - /// Clears the value of `getgameAccessTokenProto600005`. Subsequent reads from it will return its default value. - public mutating func clearGetgameAccessTokenProto600005() {_uniqueStorage()._getgameAccessTokenProto600005 = nil} - - public var submitNewPoiProto620000: SubmitNewPoiProto { - get {return _storage._submitNewPoiProto620000 ?? SubmitNewPoiProto()} - set {_uniqueStorage()._submitNewPoiProto620000 = newValue} - } - /// Returns true if `submitNewPoiProto620000` has been explicitly set. - public var hasSubmitNewPoiProto620000: Bool {return _storage._submitNewPoiProto620000 != nil} - /// Clears the value of `submitNewPoiProto620000`. Subsequent reads from it will return its default value. - public mutating func clearSubmitNewPoiProto620000() {_uniqueStorage()._submitNewPoiProto620000 = nil} - - public var getAvailableSubmissionsProto620001: GetAvailableSubmissionsProto { - get {return _storage._getAvailableSubmissionsProto620001 ?? GetAvailableSubmissionsProto()} - set {_uniqueStorage()._getAvailableSubmissionsProto620001 = newValue} - } - /// Returns true if `getAvailableSubmissionsProto620001` has been explicitly set. - public var hasGetAvailableSubmissionsProto620001: Bool {return _storage._getAvailableSubmissionsProto620001 != nil} - /// Clears the value of `getAvailableSubmissionsProto620001`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSubmissionsProto620001() {_uniqueStorage()._getAvailableSubmissionsProto620001 = nil} - - public var getPlayerSubmissionValidationSettingsProto620003: GetPlayerSubmissionValidationSettingsProto { - get {return _storage._getPlayerSubmissionValidationSettingsProto620003 ?? GetPlayerSubmissionValidationSettingsProto()} - set {_uniqueStorage()._getPlayerSubmissionValidationSettingsProto620003 = newValue} - } - /// Returns true if `getPlayerSubmissionValidationSettingsProto620003` has been explicitly set. - public var hasGetPlayerSubmissionValidationSettingsProto620003: Bool {return _storage._getPlayerSubmissionValidationSettingsProto620003 != nil} - /// Clears the value of `getPlayerSubmissionValidationSettingsProto620003`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerSubmissionValidationSettingsProto620003() {_uniqueStorage()._getPlayerSubmissionValidationSettingsProto620003 = nil} - - public var submitPoiImageProto620100: SubmitPoiImageProto { - get {return _storage._submitPoiImageProto620100 ?? SubmitPoiImageProto()} - set {_uniqueStorage()._submitPoiImageProto620100 = newValue} - } - /// Returns true if `submitPoiImageProto620100` has been explicitly set. - public var hasSubmitPoiImageProto620100: Bool {return _storage._submitPoiImageProto620100 != nil} - /// Clears the value of `submitPoiImageProto620100`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPoiImageProto620100() {_uniqueStorage()._submitPoiImageProto620100 = nil} - - public var submitPoiTextMetadataUpdateProto620101: SubmitPoiTextMetadataUpdateProto { - get {return _storage._submitPoiTextMetadataUpdateProto620101 ?? SubmitPoiTextMetadataUpdateProto()} - set {_uniqueStorage()._submitPoiTextMetadataUpdateProto620101 = newValue} - } - /// Returns true if `submitPoiTextMetadataUpdateProto620101` has been explicitly set. - public var hasSubmitPoiTextMetadataUpdateProto620101: Bool {return _storage._submitPoiTextMetadataUpdateProto620101 != nil} - /// Clears the value of `submitPoiTextMetadataUpdateProto620101`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPoiTextMetadataUpdateProto620101() {_uniqueStorage()._submitPoiTextMetadataUpdateProto620101 = nil} - - public var submitPoiLocationUpdateProto620102: SubmitPoiLocationUpdateProto { - get {return _storage._submitPoiLocationUpdateProto620102 ?? SubmitPoiLocationUpdateProto()} - set {_uniqueStorage()._submitPoiLocationUpdateProto620102 = newValue} - } - /// Returns true if `submitPoiLocationUpdateProto620102` has been explicitly set. - public var hasSubmitPoiLocationUpdateProto620102: Bool {return _storage._submitPoiLocationUpdateProto620102 != nil} - /// Clears the value of `submitPoiLocationUpdateProto620102`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPoiLocationUpdateProto620102() {_uniqueStorage()._submitPoiLocationUpdateProto620102 = nil} - - public var submitPoiTakedownRequestProto620103: SubmitPoiTakedownRequestProto { - get {return _storage._submitPoiTakedownRequestProto620103 ?? SubmitPoiTakedownRequestProto()} - set {_uniqueStorage()._submitPoiTakedownRequestProto620103 = newValue} - } - /// Returns true if `submitPoiTakedownRequestProto620103` has been explicitly set. - public var hasSubmitPoiTakedownRequestProto620103: Bool {return _storage._submitPoiTakedownRequestProto620103 != nil} - /// Clears the value of `submitPoiTakedownRequestProto620103`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPoiTakedownRequestProto620103() {_uniqueStorage()._submitPoiTakedownRequestProto620103 = nil} - - public var submitsponsorPoiReportProto620104: SubmitSponsorPoiReportProto { - get {return _storage._submitsponsorPoiReportProto620104 ?? SubmitSponsorPoiReportProto()} - set {_uniqueStorage()._submitsponsorPoiReportProto620104 = newValue} - } - /// Returns true if `submitsponsorPoiReportProto620104` has been explicitly set. - public var hasSubmitsponsorPoiReportProto620104: Bool {return _storage._submitsponsorPoiReportProto620104 != nil} - /// Clears the value of `submitsponsorPoiReportProto620104`. Subsequent reads from it will return its default value. - public mutating func clearSubmitsponsorPoiReportProto620104() {_uniqueStorage()._submitsponsorPoiReportProto620104 = nil} - - public var submitsponsorPoiLocationUpdateProto620105: SubmitSponsorPoiLocationUpdateProto { - get {return _storage._submitsponsorPoiLocationUpdateProto620105 ?? SubmitSponsorPoiLocationUpdateProto()} - set {_uniqueStorage()._submitsponsorPoiLocationUpdateProto620105 = newValue} - } - /// Returns true if `submitsponsorPoiLocationUpdateProto620105` has been explicitly set. - public var hasSubmitsponsorPoiLocationUpdateProto620105: Bool {return _storage._submitsponsorPoiLocationUpdateProto620105 != nil} - /// Clears the value of `submitsponsorPoiLocationUpdateProto620105`. Subsequent reads from it will return its default value. - public mutating func clearSubmitsponsorPoiLocationUpdateProto620105() {_uniqueStorage()._submitsponsorPoiLocationUpdateProto620105 = nil} - - public var submitPoiCategoryVoteRecordProto620106: SubmitPoiCategoryVoteRecordProto { - get {return _storage._submitPoiCategoryVoteRecordProto620106 ?? SubmitPoiCategoryVoteRecordProto()} - set {_uniqueStorage()._submitPoiCategoryVoteRecordProto620106 = newValue} - } - /// Returns true if `submitPoiCategoryVoteRecordProto620106` has been explicitly set. - public var hasSubmitPoiCategoryVoteRecordProto620106: Bool {return _storage._submitPoiCategoryVoteRecordProto620106 != nil} - /// Clears the value of `submitPoiCategoryVoteRecordProto620106`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPoiCategoryVoteRecordProto620106() {_uniqueStorage()._submitPoiCategoryVoteRecordProto620106 = nil} - - public var generategmapSignedURLProto620300: GenerateGmapSignedUrlProto { - get {return _storage._generategmapSignedURLProto620300 ?? GenerateGmapSignedUrlProto()} - set {_uniqueStorage()._generategmapSignedURLProto620300 = newValue} - } - /// Returns true if `generategmapSignedURLProto620300` has been explicitly set. - public var hasGenerategmapSignedURLProto620300: Bool {return _storage._generategmapSignedURLProto620300 != nil} - /// Clears the value of `generategmapSignedURLProto620300`. Subsequent reads from it will return its default value. - public mutating func clearGenerategmapSignedURLProto620300() {_uniqueStorage()._generategmapSignedURLProto620300 = nil} - - public var getgmapSettingsProto620301: GetGmapSettingsProto { - get {return _storage._getgmapSettingsProto620301 ?? GetGmapSettingsProto()} - set {_uniqueStorage()._getgmapSettingsProto620301 = newValue} - } - /// Returns true if `getgmapSettingsProto620301` has been explicitly set. - public var hasGetgmapSettingsProto620301: Bool {return _storage._getgmapSettingsProto620301 != nil} - /// Clears the value of `getgmapSettingsProto620301`. Subsequent reads from it will return its default value. - public mutating func clearGetgmapSettingsProto620301() {_uniqueStorage()._getgmapSettingsProto620301 = nil} - - public var poiVideoSubmissionMetadataproto620400: PoiVideoSubmissionMetadataProto { - get {return _storage._poiVideoSubmissionMetadataproto620400 ?? PoiVideoSubmissionMetadataProto()} - set {_uniqueStorage()._poiVideoSubmissionMetadataproto620400 = newValue} - } - /// Returns true if `poiVideoSubmissionMetadataproto620400` has been explicitly set. - public var hasPoiVideoSubmissionMetadataproto620400: Bool {return _storage._poiVideoSubmissionMetadataproto620400 != nil} - /// Clears the value of `poiVideoSubmissionMetadataproto620400`. Subsequent reads from it will return its default value. - public mutating func clearPoiVideoSubmissionMetadataproto620400() {_uniqueStorage()._poiVideoSubmissionMetadataproto620400 = nil} - - public var getgrapeshotUploadURLProto620401: GetGrapeshotUploadUrlProto { - get {return _storage._getgrapeshotUploadURLProto620401 ?? GetGrapeshotUploadUrlProto()} - set {_uniqueStorage()._getgrapeshotUploadURLProto620401 = newValue} - } - /// Returns true if `getgrapeshotUploadURLProto620401` has been explicitly set. - public var hasGetgrapeshotUploadURLProto620401: Bool {return _storage._getgrapeshotUploadURLProto620401 != nil} - /// Clears the value of `getgrapeshotUploadURLProto620401`. Subsequent reads from it will return its default value. - public mutating func clearGetgrapeshotUploadURLProto620401() {_uniqueStorage()._getgrapeshotUploadURLProto620401 = nil} - - public var asyncFileUploadCompleteProto620402: AsyncFileUploadCompleteProto { - get {return _storage._asyncFileUploadCompleteProto620402 ?? AsyncFileUploadCompleteProto()} - set {_uniqueStorage()._asyncFileUploadCompleteProto620402 = newValue} - } - /// Returns true if `asyncFileUploadCompleteProto620402` has been explicitly set. - public var hasAsyncFileUploadCompleteProto620402: Bool {return _storage._asyncFileUploadCompleteProto620402 != nil} - /// Clears the value of `asyncFileUploadCompleteProto620402`. Subsequent reads from it will return its default value. - public mutating func clearAsyncFileUploadCompleteProto620402() {_uniqueStorage()._asyncFileUploadCompleteProto620402 = nil} - - public var getARMappingSettingsProto620403: GetARMappingSettingsProto { - get {return _storage._getARMappingSettingsProto620403 ?? GetARMappingSettingsProto()} - set {_uniqueStorage()._getARMappingSettingsProto620403 = newValue} - } - /// Returns true if `getARMappingSettingsProto620403` has been explicitly set. - public var hasGetARMappingSettingsProto620403: Bool {return _storage._getARMappingSettingsProto620403 != nil} - /// Clears the value of `getARMappingSettingsProto620403`. Subsequent reads from it will return its default value. - public mutating func clearGetARMappingSettingsProto620403() {_uniqueStorage()._getARMappingSettingsProto620403 = nil} - - public var getImagesForPoiProto620500: GetImagesForPoiProto { - get {return _storage._getImagesForPoiProto620500 ?? GetImagesForPoiProto()} - set {_uniqueStorage()._getImagesForPoiProto620500 = newValue} - } - /// Returns true if `getImagesForPoiProto620500` has been explicitly set. - public var hasGetImagesForPoiProto620500: Bool {return _storage._getImagesForPoiProto620500 != nil} - /// Clears the value of `getImagesForPoiProto620500`. Subsequent reads from it will return its default value. - public mutating func clearGetImagesForPoiProto620500() {_uniqueStorage()._getImagesForPoiProto620500 = nil} - - public var submitPlayerImageVoteForPoiProto620501: SubmitPlayerImageVoteForPoiProto { - get {return _storage._submitPlayerImageVoteForPoiProto620501 ?? SubmitPlayerImageVoteForPoiProto()} - set {_uniqueStorage()._submitPlayerImageVoteForPoiProto620501 = newValue} - } - /// Returns true if `submitPlayerImageVoteForPoiProto620501` has been explicitly set. - public var hasSubmitPlayerImageVoteForPoiProto620501: Bool {return _storage._submitPlayerImageVoteForPoiProto620501 != nil} - /// Clears the value of `submitPlayerImageVoteForPoiProto620501`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPlayerImageVoteForPoiProto620501() {_uniqueStorage()._submitPlayerImageVoteForPoiProto620501 = nil} - - public var getImagegallerySettingsProto620502: GetImageGallerySettingsProto { - get {return _storage._getImagegallerySettingsProto620502 ?? GetImageGallerySettingsProto()} - set {_uniqueStorage()._getImagegallerySettingsProto620502 = newValue} - } - /// Returns true if `getImagegallerySettingsProto620502` has been explicitly set. - public var hasGetImagegallerySettingsProto620502: Bool {return _storage._getImagegallerySettingsProto620502 != nil} - /// Clears the value of `getImagegallerySettingsProto620502`. Subsequent reads from it will return its default value. - public mutating func clearGetImagegallerySettingsProto620502() {_uniqueStorage()._getImagegallerySettingsProto620502 = nil} - - public var getMapDataProto620600: GetMapDataProto { - get {return _storage._getMapDataProto620600 ?? GetMapDataProto()} - set {_uniqueStorage()._getMapDataProto620600 = newValue} - } - /// Returns true if `getMapDataProto620600` has been explicitly set. - public var hasGetMapDataProto620600: Bool {return _storage._getMapDataProto620600 != nil} - /// Clears the value of `getMapDataProto620600`. Subsequent reads from it will return its default value. - public mutating func clearGetMapDataProto620600() {_uniqueStorage()._getMapDataProto620600 = nil} - - public var getPoisInRadiusProto620601: GetPoisInRadiusProto { - get {return _storage._getPoisInRadiusProto620601 ?? GetPoisInRadiusProto()} - set {_uniqueStorage()._getPoisInRadiusProto620601 = newValue} - } - /// Returns true if `getPoisInRadiusProto620601` has been explicitly set. - public var hasGetPoisInRadiusProto620601: Bool {return _storage._getPoisInRadiusProto620601 != nil} - /// Clears the value of `getPoisInRadiusProto620601`. Subsequent reads from it will return its default value. - public mutating func clearGetPoisInRadiusProto620601() {_uniqueStorage()._getPoisInRadiusProto620601 = nil} - - public var fitnessUpdateProto640000: FitnessUpdateProto { - get {return _storage._fitnessUpdateProto640000 ?? FitnessUpdateProto()} - set {_uniqueStorage()._fitnessUpdateProto640000 = newValue} - } - /// Returns true if `fitnessUpdateProto640000` has been explicitly set. - public var hasFitnessUpdateProto640000: Bool {return _storage._fitnessUpdateProto640000 != nil} - /// Clears the value of `fitnessUpdateProto640000`. Subsequent reads from it will return its default value. - public mutating func clearFitnessUpdateProto640000() {_uniqueStorage()._fitnessUpdateProto640000 = nil} - - public var getFitnessReportProto640001: GetFitnessReportProto { - get {return _storage._getFitnessReportProto640001 ?? GetFitnessReportProto()} - set {_uniqueStorage()._getFitnessReportProto640001 = newValue} - } - /// Returns true if `getFitnessReportProto640001` has been explicitly set. - public var hasGetFitnessReportProto640001: Bool {return _storage._getFitnessReportProto640001 != nil} - /// Clears the value of `getFitnessReportProto640001`. Subsequent reads from it will return its default value. - public mutating func clearGetFitnessReportProto640001() {_uniqueStorage()._getFitnessReportProto640001 = nil} - - public var getAdventureSyncSettingsRequestProto640002: GetAdventureSyncSettingsRequestProto { - get {return _storage._getAdventureSyncSettingsRequestProto640002 ?? GetAdventureSyncSettingsRequestProto()} - set {_uniqueStorage()._getAdventureSyncSettingsRequestProto640002 = newValue} - } - /// Returns true if `getAdventureSyncSettingsRequestProto640002` has been explicitly set. - public var hasGetAdventureSyncSettingsRequestProto640002: Bool {return _storage._getAdventureSyncSettingsRequestProto640002 != nil} - /// Clears the value of `getAdventureSyncSettingsRequestProto640002`. Subsequent reads from it will return its default value. - public mutating func clearGetAdventureSyncSettingsRequestProto640002() {_uniqueStorage()._getAdventureSyncSettingsRequestProto640002 = nil} - - public var updateAdventureSyncSettingsRequestProto640003: UpdateAdventureSyncSettingsRequestProto { - get {return _storage._updateAdventureSyncSettingsRequestProto640003 ?? UpdateAdventureSyncSettingsRequestProto()} - set {_uniqueStorage()._updateAdventureSyncSettingsRequestProto640003 = newValue} - } - /// Returns true if `updateAdventureSyncSettingsRequestProto640003` has been explicitly set. - public var hasUpdateAdventureSyncSettingsRequestProto640003: Bool {return _storage._updateAdventureSyncSettingsRequestProto640003 != nil} - /// Clears the value of `updateAdventureSyncSettingsRequestProto640003`. Subsequent reads from it will return its default value. - public mutating func clearUpdateAdventureSyncSettingsRequestProto640003() {_uniqueStorage()._updateAdventureSyncSettingsRequestProto640003 = nil} - - public var updateAdventureSyncFitnessRequestProto640004: UpdateAdventureSyncFitnessRequestProto { - get {return _storage._updateAdventureSyncFitnessRequestProto640004 ?? UpdateAdventureSyncFitnessRequestProto()} - set {_uniqueStorage()._updateAdventureSyncFitnessRequestProto640004 = newValue} - } - /// Returns true if `updateAdventureSyncFitnessRequestProto640004` has been explicitly set. - public var hasUpdateAdventureSyncFitnessRequestProto640004: Bool {return _storage._updateAdventureSyncFitnessRequestProto640004 != nil} - /// Clears the value of `updateAdventureSyncFitnessRequestProto640004`. Subsequent reads from it will return its default value. - public mutating func clearUpdateAdventureSyncFitnessRequestProto640004() {_uniqueStorage()._updateAdventureSyncFitnessRequestProto640004 = nil} - - public var getAdventureSyncFitnessReportRequestProto640005: GetAdventureSyncFitnessReportRequestProto { - get {return _storage._getAdventureSyncFitnessReportRequestProto640005 ?? GetAdventureSyncFitnessReportRequestProto()} - set {_uniqueStorage()._getAdventureSyncFitnessReportRequestProto640005 = newValue} - } - /// Returns true if `getAdventureSyncFitnessReportRequestProto640005` has been explicitly set. - public var hasGetAdventureSyncFitnessReportRequestProto640005: Bool {return _storage._getAdventureSyncFitnessReportRequestProto640005 != nil} - /// Clears the value of `getAdventureSyncFitnessReportRequestProto640005`. Subsequent reads from it will return its default value. - public mutating func clearGetAdventureSyncFitnessReportRequestProto640005() {_uniqueStorage()._getAdventureSyncFitnessReportRequestProto640005 = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance - } - - public struct AllResponsesProto { - // 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. - - public var getPlayerOutProto2: GetPlayerOutProto { - get {return _storage._getPlayerOutProto2 ?? GetPlayerOutProto()} - set {_uniqueStorage()._getPlayerOutProto2 = newValue} - } - /// Returns true if `getPlayerOutProto2` has been explicitly set. - public var hasGetPlayerOutProto2: Bool {return _storage._getPlayerOutProto2 != nil} - /// Clears the value of `getPlayerOutProto2`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerOutProto2() {_uniqueStorage()._getPlayerOutProto2 = nil} - - public var getHoloholoInventoryOutProto4: GetHoloholoInventoryOutProto { - get {return _storage._getHoloholoInventoryOutProto4 ?? GetHoloholoInventoryOutProto()} - set {_uniqueStorage()._getHoloholoInventoryOutProto4 = newValue} - } - /// Returns true if `getHoloholoInventoryOutProto4` has been explicitly set. - public var hasGetHoloholoInventoryOutProto4: Bool {return _storage._getHoloholoInventoryOutProto4 != nil} - /// Clears the value of `getHoloholoInventoryOutProto4`. Subsequent reads from it will return its default value. - public mutating func clearGetHoloholoInventoryOutProto4() {_uniqueStorage()._getHoloholoInventoryOutProto4 = nil} - - public var downloadSettingsResponseProto5: DownloadSettingsResponseProto { - get {return _storage._downloadSettingsResponseProto5 ?? DownloadSettingsResponseProto()} - set {_uniqueStorage()._downloadSettingsResponseProto5 = newValue} - } - /// Returns true if `downloadSettingsResponseProto5` has been explicitly set. - public var hasDownloadSettingsResponseProto5: Bool {return _storage._downloadSettingsResponseProto5 != nil} - /// Clears the value of `downloadSettingsResponseProto5`. Subsequent reads from it will return its default value. - public mutating func clearDownloadSettingsResponseProto5() {_uniqueStorage()._downloadSettingsResponseProto5 = nil} - - public var getgameMasterClientTemplatesOutProto6: GetGameMasterClientTemplatesOutProto { - get {return _storage._getgameMasterClientTemplatesOutProto6 ?? GetGameMasterClientTemplatesOutProto()} - set {_uniqueStorage()._getgameMasterClientTemplatesOutProto6 = newValue} - } - /// Returns true if `getgameMasterClientTemplatesOutProto6` has been explicitly set. - public var hasGetgameMasterClientTemplatesOutProto6: Bool {return _storage._getgameMasterClientTemplatesOutProto6 != nil} - /// Clears the value of `getgameMasterClientTemplatesOutProto6`. Subsequent reads from it will return its default value. - public mutating func clearGetgameMasterClientTemplatesOutProto6() {_uniqueStorage()._getgameMasterClientTemplatesOutProto6 = nil} + public init() {} +} - public var getRemoteConfigVersionsOutProto7: GetRemoteConfigVersionsOutProto { - get {return _storage._getRemoteConfigVersionsOutProto7 ?? GetRemoteConfigVersionsOutProto()} - set {_uniqueStorage()._getRemoteConfigVersionsOutProto7 = newValue} - } - /// Returns true if `getRemoteConfigVersionsOutProto7` has been explicitly set. - public var hasGetRemoteConfigVersionsOutProto7: Bool {return _storage._getRemoteConfigVersionsOutProto7 != nil} - /// Clears the value of `getRemoteConfigVersionsOutProto7`. Subsequent reads from it will return its default value. - public mutating func clearGetRemoteConfigVersionsOutProto7() {_uniqueStorage()._getRemoteConfigVersionsOutProto7 = nil} +public struct AdventureSyncV2GmtProto { + // 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. - public var registerBackgroundDeviceresponseProto8: RegisterBackgroundDeviceResponseProto { - get {return _storage._registerBackgroundDeviceresponseProto8 ?? RegisterBackgroundDeviceResponseProto()} - set {_uniqueStorage()._registerBackgroundDeviceresponseProto8 = newValue} - } - /// Returns true if `registerBackgroundDeviceresponseProto8` has been explicitly set. - public var hasRegisterBackgroundDeviceresponseProto8: Bool {return _storage._registerBackgroundDeviceresponseProto8 != nil} - /// Clears the value of `registerBackgroundDeviceresponseProto8`. Subsequent reads from it will return its default value. - public mutating func clearRegisterBackgroundDeviceresponseProto8() {_uniqueStorage()._registerBackgroundDeviceresponseProto8 = nil} + public var featureEnabled: Bool = false - public var getPlayerDayOutProto9: GetPlayerDayOutProto { - get {return _storage._getPlayerDayOutProto9 ?? GetPlayerDayOutProto()} - set {_uniqueStorage()._getPlayerDayOutProto9 = newValue} - } - /// Returns true if `getPlayerDayOutProto9` has been explicitly set. - public var hasGetPlayerDayOutProto9: Bool {return _storage._getPlayerDayOutProto9 != nil} - /// Clears the value of `getPlayerDayOutProto9`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerDayOutProto9() {_uniqueStorage()._getPlayerDayOutProto9 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var acknowledgePunishmentOutProto10: AcknowledgePunishmentOutProto { - get {return _storage._acknowledgePunishmentOutProto10 ?? AcknowledgePunishmentOutProto()} - set {_uniqueStorage()._acknowledgePunishmentOutProto10 = newValue} - } - /// Returns true if `acknowledgePunishmentOutProto10` has been explicitly set. - public var hasAcknowledgePunishmentOutProto10: Bool {return _storage._acknowledgePunishmentOutProto10 != nil} - /// Clears the value of `acknowledgePunishmentOutProto10`. Subsequent reads from it will return its default value. - public mutating func clearAcknowledgePunishmentOutProto10() {_uniqueStorage()._acknowledgePunishmentOutProto10 = nil} + public init() {} +} - public var getServerTimeOutProto11: GetServerTimeOutProto { - get {return _storage._getServerTimeOutProto11 ?? GetServerTimeOutProto()} - set {_uniqueStorage()._getServerTimeOutProto11 = newValue} - } - /// Returns true if `getServerTimeOutProto11` has been explicitly set. - public var hasGetServerTimeOutProto11: Bool {return _storage._getServerTimeOutProto11 != nil} - /// Clears the value of `getServerTimeOutProto11`. Subsequent reads from it will return its default value. - public mutating func clearGetServerTimeOutProto11() {_uniqueStorage()._getServerTimeOutProto11 = nil} +public struct AgeGateResult { + // 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. - public var getLocalTimeOutProto12: GetLocalTimeOutProto { - get {return _storage._getLocalTimeOutProto12 ?? GetLocalTimeOutProto()} - set {_uniqueStorage()._getLocalTimeOutProto12 = newValue} - } - /// Returns true if `getLocalTimeOutProto12` has been explicitly set. - public var hasGetLocalTimeOutProto12: Bool {return _storage._getLocalTimeOutProto12 != nil} - /// Clears the value of `getLocalTimeOutProto12`. Subsequent reads from it will return its default value. - public mutating func clearGetLocalTimeOutProto12() {_uniqueStorage()._getLocalTimeOutProto12 = nil} + public var methodName: String = String() - public var fortSearchOutProto101: FortSearchOutProto { - get {return _storage._fortSearchOutProto101 ?? FortSearchOutProto()} - set {_uniqueStorage()._fortSearchOutProto101 = newValue} - } - /// Returns true if `fortSearchOutProto101` has been explicitly set. - public var hasFortSearchOutProto101: Bool {return _storage._fortSearchOutProto101 != nil} - /// Clears the value of `fortSearchOutProto101`. Subsequent reads from it will return its default value. - public mutating func clearFortSearchOutProto101() {_uniqueStorage()._fortSearchOutProto101 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var encounterOutProto102: EncounterOutProto { - get {return _storage._encounterOutProto102 ?? EncounterOutProto()} - set {_uniqueStorage()._encounterOutProto102 = newValue} - } - /// Returns true if `encounterOutProto102` has been explicitly set. - public var hasEncounterOutProto102: Bool {return _storage._encounterOutProto102 != nil} - /// Clears the value of `encounterOutProto102`. Subsequent reads from it will return its default value. - public mutating func clearEncounterOutProto102() {_uniqueStorage()._encounterOutProto102 = nil} + public init() {} +} - public var catchPokemonOutProto103: CatchPokemonOutProto { - get {return _storage._catchPokemonOutProto103 ?? CatchPokemonOutProto()} - set {_uniqueStorage()._catchPokemonOutProto103 = newValue} - } - /// Returns true if `catchPokemonOutProto103` has been explicitly set. - public var hasCatchPokemonOutProto103: Bool {return _storage._catchPokemonOutProto103 != nil} - /// Clears the value of `catchPokemonOutProto103`. Subsequent reads from it will return its default value. - public mutating func clearCatchPokemonOutProto103() {_uniqueStorage()._catchPokemonOutProto103 = nil} +public struct AgeGateStartup { + // 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. - public var fortDetailsOutProto104: FortDetailsOutProto { - get {return _storage._fortDetailsOutProto104 ?? FortDetailsOutProto()} - set {_uniqueStorage()._fortDetailsOutProto104 = newValue} - } - /// Returns true if `fortDetailsOutProto104` has been explicitly set. - public var hasFortDetailsOutProto104: Bool {return _storage._fortDetailsOutProto104 != nil} - /// Clears the value of `fortDetailsOutProto104`. Subsequent reads from it will return its default value. - public mutating func clearFortDetailsOutProto104() {_uniqueStorage()._fortDetailsOutProto104 = nil} + public var methodName: String = String() - public var getMapObjectsOutProto106: GetMapObjectsOutProto { - get {return _storage._getMapObjectsOutProto106 ?? GetMapObjectsOutProto()} - set {_uniqueStorage()._getMapObjectsOutProto106 = newValue} - } - /// Returns true if `getMapObjectsOutProto106` has been explicitly set. - public var hasGetMapObjectsOutProto106: Bool {return _storage._getMapObjectsOutProto106 != nil} - /// Clears the value of `getMapObjectsOutProto106`. Subsequent reads from it will return its default value. - public mutating func clearGetMapObjectsOutProto106() {_uniqueStorage()._getMapObjectsOutProto106 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var fortDeployOutProto110: FortDeployOutProto { - get {return _storage._fortDeployOutProto110 ?? FortDeployOutProto()} - set {_uniqueStorage()._fortDeployOutProto110 = newValue} - } - /// Returns true if `fortDeployOutProto110` has been explicitly set. - public var hasFortDeployOutProto110: Bool {return _storage._fortDeployOutProto110 != nil} - /// Clears the value of `fortDeployOutProto110`. Subsequent reads from it will return its default value. - public mutating func clearFortDeployOutProto110() {_uniqueStorage()._fortDeployOutProto110 = nil} + public init() {} +} - public var fortRecallOutProto111: FortRecallOutProto { - get {return _storage._fortRecallOutProto111 ?? FortRecallOutProto()} - set {_uniqueStorage()._fortRecallOutProto111 = newValue} - } - /// Returns true if `fortRecallOutProto111` has been explicitly set. - public var hasFortRecallOutProto111: Bool {return _storage._fortRecallOutProto111 != nil} - /// Clears the value of `fortRecallOutProto111`. Subsequent reads from it will return its default value. - public mutating func clearFortRecallOutProto111() {_uniqueStorage()._fortRecallOutProto111 = nil} +public struct AllTypesAndMessagesResponsesProto { + // 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. - public var releasePokemonOutProto112: ReleasePokemonOutProto { - get {return _storage._releasePokemonOutProto112 ?? ReleasePokemonOutProto()} - set {_uniqueStorage()._releasePokemonOutProto112 = newValue} - } - /// Returns true if `releasePokemonOutProto112` has been explicitly set. - public var hasReleasePokemonOutProto112: Bool {return _storage._releasePokemonOutProto112 != nil} - /// Clears the value of `releasePokemonOutProto112`. Subsequent reads from it will return its default value. - public mutating func clearReleasePokemonOutProto112() {_uniqueStorage()._releasePokemonOutProto112 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var useItemPotionOutProto113: UseItemPotionOutProto { - get {return _storage._useItemPotionOutProto113 ?? UseItemPotionOutProto()} - set {_uniqueStorage()._useItemPotionOutProto113 = newValue} - } - /// Returns true if `useItemPotionOutProto113` has been explicitly set. - public var hasUseItemPotionOutProto113: Bool {return _storage._useItemPotionOutProto113 != nil} - /// Clears the value of `useItemPotionOutProto113`. Subsequent reads from it will return its default value. - public mutating func clearUseItemPotionOutProto113() {_uniqueStorage()._useItemPotionOutProto113 = nil} + public enum AllResquestTypesProto: SwiftProtobuf.Enum { + public typealias RawValue = Int + case requestTypeUnset // = 0 + case requestTypeMethodGetPlayer // = 2 + case requestTypeMethodGetHoloholoInventory // = 4 + case requestTypeMethodDownloadSettings // = 5 + case requestTypeMethodDownloadItemTemplates // = 6 + case requestTypeMethodDownloadRemoteConfigVersion // = 7 + case requestTypeMethodRegisterBackgroundDevice // = 8 + case requestTypeMethodGetPlayerDay // = 9 + case requestTypeMethodAcknowledgePunishment // = 10 + case requestTypeMethodGetServerTime // = 11 + case requestTypeMethodGetLocalTime // = 12 + case requestTypeMethodFortSearch // = 101 + case requestTypeMethodEncounter // = 102 + case requestTypeMethodCatchPokemon // = 103 + case requestTypeMethodFortDetails // = 104 + case requestTypeMethodGetMapObjects // = 106 + case requestTypeMethodFortDeployPokemon // = 110 + case requestTypeMethodFortRecallPokemon // = 111 + case requestTypeMethodReleasePokemon // = 112 + case requestTypeMethodUseItemPotion // = 113 + case requestTypeMethodUseItemCapture // = 114 + case requestTypeMethodUseItemFlee // = 115 + case requestTypeMethodUseItemRevive // = 116 + case requestTypeMethodGetPlayerProfile // = 121 + case requestTypeMethodEvolvePokemon // = 125 + case requestTypeMethodGetHatchedEggs // = 126 + case requestTypeMethodEncounterTutorialComplete // = 127 + case requestTypeMethodLevelUpRewards // = 128 + case requestTypeMethodCheckAwardedBadges // = 129 + case requestTypeMethodRecycleInventoryItem // = 137 + case requestTypeMethodCollectDailyBonus // = 138 + case requestTypeMethodUseItemXpBoost // = 139 + case requestTypeMethodUseItemEggIncubator // = 140 + case requestTypeMethodUseIncense // = 141 + case requestTypeMethodGetIncensePokemon // = 142 + case requestTypeMethodIncenseEncounter // = 143 + case requestTypeMethodAddFortModifier // = 144 + case requestTypeMethodDiskEncounter // = 145 + case requestTypeMethodUpgradePokemon // = 147 + case requestTypeMethodSetFavoritePokemon // = 148 + case requestTypeMethodNicknamePokemon // = 149 + case requestTypeMethodEquipBadge // = 150 + case requestTypeMethodSetContactSettings // = 151 + case requestTypeMethodSetBuddyPokemon // = 152 + case requestTypeMethodGetBuddyWalked // = 153 + case requestTypeMethodUseItemEncounter // = 154 + case requestTypeMethodGymDeploy // = 155 + case requestTypeMethodGymGetInfo // = 156 + case requestTypeMethodGymStartSession // = 157 + case requestTypeMethodGymBattleAttack // = 158 + case requestTypeMethodJoinLobby // = 159 + case requestTypeMethodLeaveLobby // = 160 + case requestTypeMethodSetLobbyVisibility // = 161 + case requestTypeMethodSetLobbyPokemon // = 162 + case requestTypeMethodGetRaidDetails // = 163 + case requestTypeMethodGymFeedPokemon // = 164 + case requestTypeMethodStartRaidBattle // = 165 + case requestTypeMethodAttackRaid // = 166 + case requestTypeMethodAwardPokecoin // = 167 + case requestTypeMethodUseItemStardustBoost // = 168 + case requestTypeMethodReassignPlayer // = 169 + case requestTypeMethodRedeemPoiPasscode // = 170 + case requestTypeMethodConvertCandyToXlCandy // = 171 + case requestTypeMethodIsSkuAvailable // = 172 + case requestTypeMethodGetAssetDigest // = 300 + case requestTypeMethodGetDownloadUrls // = 301 + case requestTypeMethodGetAssetVersion // = 302 + case requestTypeMethodClaimCodename // = 403 + case requestTypeMethodSetAvatar // = 404 + case requestTypeMethodSetPlayerTeam // = 405 + case requestTypeMethodMarkTutorialComplete // = 406 + case requestTypeMethodUpdatePerformanceMetrics // = 407 + case requestTypeMethodSetNeutralAvatar // = 408 + case requestTypeMethodListAvatarStoreItems // = 409 + case requestTypeMethodListAvatarAppearanceItems // = 410 + case requestTypeMethodCheckChallenge // = 600 + case requestTypeMethodVerifyChallenge // = 601 + case requestTypeMethodEcho // = 666 + case requestTypeMethodSfidaRegistration // = 800 + case requestTypeMethodSfidaActionLog // = 801 + case requestTypeMethodSfidaCertification // = 802 + case requestTypeMethodSfidaUpdate // = 803 + case requestTypeMethodSfidaAction // = 804 + case requestTypeMethodSfidaDowser // = 805 + case requestTypeMethodSfidaCapture // = 806 + case requestTypeMethodListAvatarCustomizations // = 807 + case requestTypeMethodSetAvatarItemAsViewed // = 808 + case requestTypeMethodGetInbox // = 809 + case requestTypeMethodListGymBadges // = 811 + case requestTypeMethodGetGymBadgeDetails // = 812 + case requestTypeMethodUseItemMoveReroll // = 813 + case requestTypeMethodUseItemRareCandy // = 814 + case requestTypeMethodAwardFreeRaidTicket // = 815 + case requestTypeMethodFetchAllNews // = 816 + case requestTypeMethodMarkReadNewsArticle // = 817 + case requestTypeMethodGetPlayerDisplayInfo // = 818 + case requestTypeMethodBelugaTransactionStart // = 819 + case requestTypeMethodBelugaTransactionComplete // = 820 + case requestTypeMethodSfidaAssociate // = 822 + case requestTypeMethodSfidaCheckPairing // = 823 + case requestTypeMethodSfidaDisassociate // = 824 + case requestTypeMethodWainaGetRewards // = 825 + case requestTypeMethodWainaSubmitSleepData // = 826 + case requestTypeMethodSaturdayTransactionStart // = 827 + case requestTypeMethodSaturdayTransactionComplete // = 828 + case requestTypeMethodReimburseItem // = 829 + case requestTypeMethodGetNewQuests // = 900 + case requestTypeMethodGetQuestDetails // = 901 + case requestTypeMethodCompleteQuest // = 902 + case requestTypeMethodRemoveQuest // = 903 + case requestTypeMethodQuestEncounter // = 904 + case requestTypeMethodCompleteQuestStampCard // = 905 + case requestTypeMethodProgressQuest // = 906 + case requestTypeMethodStartQuestIncident // = 907 + case requestTypeMethodReadQuestDialog // = 908 + case requestTypeMethodSendGift // = 950 + case requestTypeMethodOpenGift // = 951 + case requestTypeMethodGiftDetails // = 952 + case requestTypeMethodDeleteGift // = 953 + case requestTypeMethodSavePlayerSnapshot // = 954 + case requestTypeMethodGetFriendshipMilestoneRewards // = 955 + case requestTypeMethodCheckSendGift // = 956 + case requestTypeMethodSetFriendNickname // = 957 + case requestTypeMethodDeleteGiftFromInventory // = 958 + case requestTypeMethodSaveSocialPlayerSettings // = 959 + case requestTypeMethodOpenTrading // = 970 + case requestTypeMethodUpdateTrading // = 971 + case requestTypeMethodConfirmTrading // = 972 + case requestTypeMethodCancelTrading // = 973 + case requestTypeMethodGetTrading // = 974 + case requestTypeMethodGetFitnessRewards // = 980 + case requestTypeMethodGetCombatPlayerProfile // = 990 + case requestTypeMethodGenerateCombatChallengeID // = 991 + case requestTypeMethodCreateCombatChallenge // = 992 + case requestTypeMethodOpenCombatChallenge // = 993 + case requestTypeMethodGetCombatChallenge // = 994 + case requestTypeMethodAcceptCombatChallenge // = 995 + case requestTypeMethodDeclineCombatChallenge // = 996 + case requestTypeMethodCancelCombatChallenge // = 997 + case requestTypeMethodSubmitCombatChallengePokemons // = 998 + case requestTypeMethodSaveCombatPlayerPreferences // = 999 + case requestTypeMethodOpenCombatSession // = 1000 + case requestTypeMethodUpdateCombat // = 1001 + case requestTypeMethodQuitCombat // = 1002 + case requestTypeMethodGetCombatResults // = 1003 + case requestTypeMethodUnlockSpecialMove // = 1004 + case requestTypeMethodGetNpcCombatRewards // = 1005 + case requestTypeMethodCombatFriendRequest // = 1006 + case requestTypeMethodOpenNpcCombatSession // = 1007 + case requestTypeMethodStartTutorialAction // = 1008 + case requestTypeMethodGetTutorialEggAction // = 1009 + case requestTypeMethodSendProbe // = 1020 + case requestTypeMethodProbeData // = 1021 + case requestTypeMethodCombatData // = 1022 + case requestTypeMethodCombatChallengeData // = 1023 + case requestTypeMethodCheckPhotobomb // = 1101 + case requestTypeMethodConfirmPhotobomb // = 1102 + case requestTypeMethodGetPhotobomb // = 1103 + case requestTypeMethodEncounterPhotobomb // = 1104 + case requestTypeMethodGetSignedGmapURLDeprecated // = 1105 + case requestTypeMethodChangeTeam // = 1106 + case requestTypeMethodGetWebToken // = 1107 + case requestTypeMethodCompleteSnapshotSession // = 1110 + case requestTypeMethodCompleteWildSnapshotSession // = 1111 + case requestTypeMethodStartIncident // = 1200 + case requestTypeMethodInvasionCompleteDialogue // = 1201 + case requestTypeMethodInvasionOpenCombatSession // = 1202 + case requestTypeMethodInvasionBattleUpdate // = 1203 + case requestTypeMethodInvasionEncounter // = 1204 + case requestTypeMethodPurifyPokemon // = 1205 + case requestTypeMethodGetRocketBalloon // = 1206 + case requestTypeMethodStartRocketBalloonIncident // = 1207 + case requestTypeMethodVsSeekerStartMatchmaking // = 1300 + case requestTypeMethodCancelMatchmaking // = 1301 + case requestTypeMethodGetMatchmakingStatus // = 1302 + case requestTypeMethodCompleteVsSeekerAndRestartCharging // = 1303 + case requestTypeMethodGetVsSeekerStatus // = 1304 + case requestTypeMethodCompleteCombatCompetitiveSeasonAction // = 1305 + case requestTypeMethodClaimVsSeekerRewards // = 1306 + case requestTypeMethodVsSeekerRewardEncounter // = 1307 + case requestTypeMethodActivateVsSeeker // = 1308 + case requestTypeMethodGetBuddyMap // = 1350 + case requestTypeMethodGetBuddyStats // = 1351 + case requestTypeMethodFeedBuddy // = 1352 + case requestTypeMethodOpenBuddyGift // = 1353 + case requestTypeMethodPetBuddy // = 1354 + case requestTypeMethodGetBuddyHistory // = 1355 + case requestTypeMethodUpdateRouteDraft // = 1400 + case requestTypeMethodGetMapForts // = 1401 + case requestTypeMethodSubmitRouteDraft // = 1402 + case requestTypeMethodGetPublishedRoutes // = 1403 + case requestTypeMethodStartRoute // = 1404 + case requestTypeMethodGetRoutes // = 1405 + case requestTypeMethodProgressRoute // = 1406 + case requestTypeMethodProcessTappable // = 1408 + case requestTypeMethodListRouteBadges // = 1409 + case requestTypeMethodCancelRoute // = 1410 + case requestTypeMethodListRouteStamps // = 1411 + case requestTypeMethodRateRoute // = 1412 + case requestTypeMethodCreateRouteDraft // = 1413 + case requestTypeMethodDeleteRouteDraft // = 1414 + case requestTypeMethodReportRoute // = 1415 + case requestTypeMethodSpawnTappable // = 1416 + case requestTypeMethodRouteEncounter // = 1417 + case requestTypeMethodCanReportRoute // = 1418 + case requestTypeMethodRouteUptateSeen // = 1420 + case requestTypeMethodRecallRouteDraft // = 1421 + case requestTypeMethodRoutesNearbyNotifShown // = 1422 + case requestTypeMethodNpcRouteGift // = 1423 + case requestTypeMethodGetRouteCreations // = 1424 + case requestTypeMethodCreateBuddyMutliplayerSession // = 1456 + case requestTypeMethodJoinBuddyMultiplayerSession // = 1457 + case requestTypeMethodLeaveBuddyMultiplayerSession // = 1458 + case requestTypeMethodGetTodayView // = 1501 + case requestTypeMethodMegaEvolvePokemon // = 1502 + case requestTypeMethodRemoteGiftPing // = 1503 + case requestTypeMethodSendRaidInvitation // = 1504 + case requestTypeMethodGetDailyEncounter // = 1601 + case requestTypeMethodDailyEncounter // = 1602 + case requestTypeMethodOpenSponsoredGift // = 1650 + case requestTypeMethodSponsoredGiftReportInteraction // = 1651 + case requestTypeMethodSavePlayerPreferences // = 1652 + case requestTypeMethodProfanityCheck // = 1653 + case requestTypeMethodGetTimedGroupChallenge // = 1700 + case requestTypeMethodGetNintendoAccount // = 1710 + case requestTypeMethodUnlinkNintendoAccount // = 1711 + case requestTypeMethodGetNintendoOauth2URL // = 1712 + case requestTypeMethodTransferToPokemonHome // = 1713 + case requestTypeMethodReportAdFeedback // = 1716 + case requestTypeMethodCreatePokemonTag // = 1717 + case requestTypeMethodDeletePokemonTag // = 1718 + case requestTypeMethodEditPokemonTag // = 1719 + case requestTypeMethodSetPokemonTagsForPokemon // = 1720 + case requestTypeMethodGetPokemonTags // = 1721 + case requestTypeMethodChangePokemonForm // = 1722 + case requestTypeMethodChooseEventVariant // = 1723 + case requestTypeMethodButterflyCollectorRewardEncounter // = 1724 + case requestTypeMethodGetReferralCode // = 1800 + case requestTypeMethodAddReferrer // = 1801 + case requestTypeMethodSendFriendInviteViaReferralCode // = 1802 + case requestTypeMethodGetMilestones // = 1803 + case requestTypeMethodMarkMilestonesAsViewed // = 1804 + case requestTypeMethodGetMilestonesPreview // = 1805 + case requestTypeMethodCompleteMilestone // = 1806 + case requestTypeMethodGetGeofencedAd // = 1820 + case requestTypeMethodPowerUpPokestopEncounter // = 1900 + case requestTypeMethodDeletePostcards // = 1909 + case requestTypeMethodCreatePostcard // = 1910 + case requestTypeMethodUpdatePostcard // = 1911 + case requestTypeMethodDeletePostcard // = 1912 + case requestTypeMethodGetMementoList // = 1913 + case requestTypeMethodUploadRaidClientLog // = 1914 + case requestTypeMethodSkipEnterReferralCode // = 1915 + case requestTypeMethodUploadCombatClientLog // = 1916 + case requestTypeMethodCombatSyncServerOffset // = 1917 + case requestTypeMethodCheckGiftingEligibility // = 2000 + case requestTypeMethodRedeemTicketGiftForFriend // = 2001 + case requestTypeMethodGetIncenseRecap // = 2002 + case requestTypeMethodAcknowledgeIncenseRecap // = 2003 + case requestTypeMethodBootRaid // = 2004 + case requestTypeMethodGetPokestopEncounter // = 2005 + case requestTypeMethodEncounterPokestopEncounter // = 2006 + case requestTypeMethodPollPlayerSpawnablePokemon // = 2007 + case requestTypeMethodGetQuestUi // = 2008 + case requestTypeMethodGetEligibleCombatLeagues // = 2009 + case requestTypeMethodSendFriendRequestViaPlayerIds // = 2010 + case requestTypeMethodGetRaidLobbyCounter // = 2011 + case requestTypeMethodUseNonCombatMove // = 2014 + case requestTypeMethodCheckPokemonSizeContestEligibility // = 2100 + case requestTypeMethodUpdatePokemonSizeContestEntry // = 2101 + case requestTypeMethodTransferPokemonSizeContestEntry // = 2102 + case requestTypeMethodRemovePokemonSizeContestEntry // = 2103 + case requestTypeMethodGetPokemonSizeContestEntry // = 2104 + case requestTypeMethodGetContestData // = 2105 + case requestTypeMethodGetContestsUnclaimedRewards // = 2106 + case requestTypeMethodClaimContestsRewards // = 2107 + case requestTypeMethodGetEnteredContest // = 2108 + case requestTypeMethodGetPokemonSizeContestFriendEntry // = 2109 + case requestTypeMethodCheckContestEligibility // = 2150 + case requestTypeMethodUpdateContestEntry // = 2151 + case requestTypeMethodTransferContestEntry // = 2152 + case requestTypeMethodGetContestFriendEntry // = 2153 + case requestTypeMethodGetContestEntry // = 2154 + case requestTypeMethodCreateParty // = 2300 + case requestTypeMethodJoinParty // = 2301 + case requestTypeMethodStartParty // = 2302 + case requestTypeMethodLeaveParty // = 2303 + case requestTypeMethodGetParty // = 2304 + case requestTypeMethodUpdatePartyLocation // = 2305 + case requestTypeMethodSendPartyDarkLaunchLog // = 2306 + case requestTypeMethodStartPartyQuest // = 2308 + case requestTypeMethodCompletePartyQuest // = 2309 + case requestTypeMethodGetBonusAttractedPokemon // = 2350 + case requestTypeMethodGetBonuses // = 2352 + case requestTypeMethodBadgeRewardEncounter // = 2360 + case requestTypeMethodNpcUpdateState // = 2400 + case requestTypeMethodNpcSendGift // = 2401 + case requestTypeMethodNpcOpenGift // = 2402 + case requestTypeMethodGetVpsEvents // = 3000 + case requestTypeMethodUpdateVpsEvents // = 3001 + case requestTypeMethodAddPtcLoginAction // = 3002 + case requestTypeMethodClaimPtcLinkingReward // = 3003 + case requestTypeClientActionRegisterPushNotification // = 5000 + case requestTypeClientActionUnregisterPushNotification // = 5001 + case requestTypeClientActionUpdateNotificationStatus // = 5002 + case requestTypeClientActionOptOutPushNotificationCategory // = 5003 + case requestTypeClientActionDownloadGameMasterTemplates // = 5004 + case requestTypeClientActionGetInventory // = 5005 + case requestTypeClientActionRedeemPasscode // = 5006 + case requestTypeClientActionPing // = 5007 + case requestTypeClientActionAddLoginAction // = 5008 + case requestTypeClientActionRemoveLoginAction // = 5009 + case requestTypeClientActionListLoginAction // = 5010 + case requestTypeClientActionAddNewPoi // = 5011 + case requestTypeClientActionProxySocialAction // = 5012 + case requestTypeClientActionDeprecatedClientTelemetry // = 5013 + case requestTypeClientActionGetAvailableSubmissions // = 5014 + case requestTypeClientActionGetSignedURLForPhotoUpload // = 5015 + case requestTypeClientActionReplaceLoginAction // = 5016 + case requestTypeClientActionProxySocialSideChannelAction // = 5017 + case requestTypeClientActionCollectClientTelemetry // = 5018 + case requestTypeClientActionPurchaseSku // = 5019 + case requestTypeClientActionGetAvailableSkusAndBalances // = 5020 + case requestTypeClientActionRedeemGoogleReceipt // = 5021 + case requestTypeClientActionRedeemAppleReceipt // = 5022 + case requestTypeClientActionRedeemDesktopReceipt // = 5023 + case requestTypeClientActionUpdateFitnessMetrics // = 5024 + case requestTypeClientActionGetFitnessReport // = 5025 + case requestTypeClientActionGetClientTelemetrySettings // = 5026 + case requestTypeClientActionPingAsync // = 5027 + case requestTypeClientActionRegisterBackgroundService // = 5028 + case requestTypeClientActionGetClientBgmodeSettings // = 5029 + case requestTypeClientActionPingDownstream // = 5030 + case requestTypeClientActionSetInGameCurrencyExchangeRate // = 5032 + case requestTypeClientActionRequestGeofenceUpdates // = 5033 + case requestTypeClientActionUpdatePlayerLocation // = 5034 + case requestTypeClientActionGenerateGmapSignedURL // = 5035 + case requestTypeClientActionGetGmapSettings // = 5036 + case requestTypeClientActionRedeemSamsungReceipt // = 5037 + case requestTypeClientActionAddNewRoute // = 5038 + case requestTypeClientActionGetOutstandingWarnings // = 5039 + case requestTypeClientActionAcknowledgeWarnings // = 5040 + case requestTypeClientActionSubmitPoiImage // = 5041 + case requestTypeClientActionSubmitPoiTextMetadataUpdate // = 5042 + case requestTypeClientActionSubmitPoiLocationUpdate // = 5043 + case requestTypeClientActionSubmitPoiTakedownRequest // = 5044 + case requestTypeClientActionGetWebTokenAction // = 5045 + case requestTypeClientActionGetAdventureSyncSettings // = 5046 + case requestTypeClientActionUpdateAdventureSyncSettings // = 5047 + case requestTypeClientActionSetBirthday // = 5048 + case requestTypeClientActionFetchNewsfeedAction // = 5049 + case requestTypeClientActionMarkNewsfeedReadAction // = 5050 + case requestTypeSocialActionSearchPlayer // = 10000 + case requestTypeSocialActionSendFriendInvite // = 10002 + case requestTypeSocialActionCancelFriendInvite // = 10003 + case requestTypeSocialActionAcceptFriendInvite // = 10004 + case requestTypeSocialActionDeclineFriendInvite // = 10005 + case requestTypeSocialActionListFriends // = 10006 + case requestTypeSocialActionListOutgoingFriendInvites // = 10007 + case requestTypeSocialActionListIncomingFriendInvites // = 10008 + case requestTypeSocialActionRemoveFriend // = 10009 + case requestTypeSocialActionListFriendStatus // = 10010 + case requestTypeSocialActionSendFacebookFriendInvite // = 10011 + case requestTypeSocialActionIsMyFriend // = 10012 + case requestTypeSocialActionCreateInviteCode // = 10013 + case requestTypeSocialActionGetFacebookFriendList // = 10014 + case requestTypeSocialActionUpdateFacebookStatus // = 10015 + case requestTypeSocialActionSavePlayerSettings // = 10016 + case requestTypeSocialActionGetPlayerSettings // = 10017 + case requestTypeSocialActionGetNianticFriendListDeleted // = 10018 + case requestTypeSocialActionGetNianticFriendDetailsDeleted // = 10019 + case requestTypeSocialActionSendNianticFriendInviteDeleted // = 10020 + case requestTypeSocialActionSetAccountSettings // = 10021 + case requestTypeSocialActionGetAccountSettings // = 10022 + case requestTypeSocialActionAddFavoriteFriend // = 10023 + case requestTypeSocialActionRemoveFavoriteFriend // = 10024 + case requestTypeSocialActionBlockAccount // = 10025 + case requestTypeSocialActionUnblockAccount // = 10026 + case requestTypeSocialActionGetOutgingBlocks // = 10027 + case requestTypeSocialActionIsAccountBlocked // = 10028 + case requestTypeSocialActionRegisterPushNotification // = 10101 + case requestTypeSocialActionUnregisterPushNotification // = 10102 + case requestTypeSocialActionUpdateNotification // = 10103 + case requestTypeSocialActionOptOutPushNotificationCategory // = 10104 + case requestTypeSocialActionGetInbox // = 10105 + case requestTypeSocialActionGetSignedURL // = 10201 + case requestTypeSocialActionSubmitImage // = 10202 + case requestTypeSocialActionGetPhotos // = 10203 + case requestTypeSocialActionDeletePhoto // = 10204 + case requestTypeSocialActionFlagPhoto // = 10205 + case requestTypeSocialActionUpdateProfileV2 // = 20001 + case requestTypeSocialActionUpdateFriendshipV2 // = 20002 + case requestTypeSocialActionGetProfileV2 // = 20003 + case requestTypeSocialActionInviteGameV2 // = 20004 + case requestTypeSocialActionReservedAction2 // = 20005 + case requestTypeSocialActionListFriendsV2 // = 20006 + case requestTypeSocialActionGetFriendDetailsV2 // = 20007 + case requestTypeSocialActionGetClientFeatureFlagsV2 // = 20008 + case requestTypeSocialActionReservedAction1 // = 20009 + case requestTypeSocialActionGetIncomingGameInvitesV2 // = 20010 + case requestTypeSocialActionUpdateIncomingGameInviteV2 // = 20011 + case requestTypeSocialActionDismissOutgoingGameInvitesV2 // = 20012 + case requestTypeSocialActionSyncContactListV2 // = 20013 + case requestTypeSocialActionSendContactListFriendInviteV2 // = 20014 + case requestTypeSocialActionReferContactListFriendV2 // = 20015 + case requestTypeSocialActionGetContactListInfoV2 // = 20016 + case requestTypeSocialActionDismissContactListUpdateV2 // = 20017 + case requestTypeSocialActionNotifyContactListFriendsV2 // = 20018 + case requestTypeSocialActionReservedAction6 // = 20019 + case requestTypeSocialActionReservedAction7 // = 20020 + case requestTypeSocialActionReservedAction3 // = 20400 + case requestTypeSocialActionReservedAction4 // = 20401 + case requestTypeSocialActionReservedAction5 // = 20402 + case requestTypeSocialActionGetFriendRecommendation // = 20500 + case requestTypeGameAnticheatActionGetOutstandingWarnings // = 200000 + case requestTypeGameAnticheatActionAcknowledgeWarnings // = 200001 + case requestTypeGameActionClientRegisterBackgroundService // = 230000 + case requestTypeGameActionClientGetClientBgmodeSettings // = 230001 + case requestTypeGameActionClientGetAdventureSyncProgress // = 230002 + case requestTypeGamePurchaseSku // = 310000 + case requestTypeGameGetAvailableSkusAndBalances // = 310001 + case requestTypeGameSetInGameCurrencyExchangeRate // = 310002 + case requestTypeGameRedeemGoogleReceipt // = 310100 + case requestTypeGameRedeemAppleReceipt // = 310101 + case requestTypeGameRedeemDesktopReceipt // = 310102 + case requestTypeGameRedeemSamsungReceipt // = 310103 + case requestTypeGameGetAvailableSubscriptions // = 310200 + case requestTypeGameGetActiveSubscriptions // = 310201 + case requestTypeRequestGeofenceUpdates1 // = 360000 + case requestTypeUpdatePlayerLocation1 // = 360001 + case requestTypeUpdateBreadcrumbHistory // = 361000 + case requestTypeRefreshProximityTokens // = 362000 + case requestTypeReportProximityContacts // = 362001 + case requestTypeGetGameAccessToken // = 600005 + case requestTypePlayerSubmissionActionAddNewPoi // = 620000 + case requestTypePlayerSubmissionActionGetAvailableSubmissions // = 620001 + case requestTypePlayerSubmissionActionGetSignedURLForPhotoUpload // = 620002 + case requestTypePlayerSubmissionActionGetPlayerSubmissionValidationSettings // = 620003 + case requestTypePlayerSubmissionActionD2DAddNewPoi // = 620004 + case requestTypePlayerSubmissionActionD2DGetSignedURLForPhotoUpload // = 620005 + case requestTypePlayerSubmissionActionSubmitPoiImage // = 620100 + case requestTypePlayerSubmissionActionSubmitPoiTextMetadataUpdate // = 620101 + case requestTypePlayerSubmissionActionSubmitPoiLocationUpdate // = 620102 + case requestTypePlayerSubmissionActionSubmitPoiTakedownRequest // = 620103 + case requestTypePlayerSubmissionActionSubmitSponsorPoiReport // = 620104 + case requestTypePlayerSubmissionActionSubmitSponsorPoiLocationUpdate // = 620105 + case requestTypePlayerSubmissionActionSubmitPoiCategoryVote // = 620106 + case requestTypePlayerSubmissionActionD2DSubmitPoiImage // = 620107 + case requestTypePlayerSubmissionActionD2DSubmitPoiTextMetadataUpdate // = 620108 + case requestTypePlayerSubmissionActionD2DSubmitPoiLocationUpdate // = 620109 + case requestTypePlayerSubmissionActionD2DSubmitPoiTakedownRequest // = 620110 + case requestTypePlayerSubmissionActionAddNewRoute // = 620200 + case requestTypePlayerSubmissionActionGenerateGmapSignedURL // = 620300 + case requestTypePlayerSubmissionActionGetGmapSettings // = 620301 + case requestTypePlayerSubmissionActionSubmitPoiArVideoMetadata // = 620400 + case requestTypePlayerSubmissionActionGetGrapeshotFileUploadURL // = 620401 + case requestTypePlayerSubmissionActionAsyncFileUploadComplete // = 620402 + case requestTypePlayerSubmissionActionGetArMappingSettings // = 620403 + case requestTypePlayerSubmissionActionD2DSubmitPoiArVideoMetadata // = 620404 + case requestTypePlayerSubmissionActionD2DGetGrapeshotFileUploadURL // = 620405 + case requestTypePlayerSubmissionActionD2DAsyncFileUploadComplete // = 620406 + case requestTypePlayerSubmissionActionSubmitMappingRequest // = 620407 + case requestTypePlayerSubmissionActionD2DSubmitMappingRequest // = 620408 + case requestTypePlayerSubmissionActionGetImagesForPoi // = 620500 + case requestTypePlayerSubmissionActionSubmitPlayerImageVoteForPoi // = 620501 + case requestTypePlayerSubmissionActionGetImageGallerySettings // = 620502 + case requestTypePlayerSubmissionActionGetMapData // = 620600 + case requestTypePlayerSubmissionActionGetPoisInRadius // = 620601 + case requestTypeUpdateFitnessMetrics1 // = 640000 + case requestTypeGetFitnessReport1 // = 640001 + case requestTypeGetAdventureSyncSettings1 // = 640002 + case requestTypeUpdateAdventureSyncSettings1 // = 640003 + case requestTypeUpdateAdventureSyncFitness // = 640004 + case requestTypeGetAdventureSyncFitnessReport // = 640005 + case UNRECOGNIZED(Int) - public var useItemCaptureOutProto114: UseItemCaptureOutProto { - get {return _storage._useItemCaptureOutProto114 ?? UseItemCaptureOutProto()} - set {_uniqueStorage()._useItemCaptureOutProto114 = newValue} + public init() { + self = .requestTypeUnset } - /// Returns true if `useItemCaptureOutProto114` has been explicitly set. - public var hasUseItemCaptureOutProto114: Bool {return _storage._useItemCaptureOutProto114 != nil} - /// Clears the value of `useItemCaptureOutProto114`. Subsequent reads from it will return its default value. - public mutating func clearUseItemCaptureOutProto114() {_uniqueStorage()._useItemCaptureOutProto114 = nil} - public var useItemReviveOutProto116: UseItemReviveOutProto { - get {return _storage._useItemReviveOutProto116 ?? UseItemReviveOutProto()} - set {_uniqueStorage()._useItemReviveOutProto116 = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .requestTypeUnset + case 2: self = .requestTypeMethodGetPlayer + case 4: self = .requestTypeMethodGetHoloholoInventory + case 5: self = .requestTypeMethodDownloadSettings + case 6: self = .requestTypeMethodDownloadItemTemplates + case 7: self = .requestTypeMethodDownloadRemoteConfigVersion + case 8: self = .requestTypeMethodRegisterBackgroundDevice + case 9: self = .requestTypeMethodGetPlayerDay + case 10: self = .requestTypeMethodAcknowledgePunishment + case 11: self = .requestTypeMethodGetServerTime + case 12: self = .requestTypeMethodGetLocalTime + case 101: self = .requestTypeMethodFortSearch + case 102: self = .requestTypeMethodEncounter + case 103: self = .requestTypeMethodCatchPokemon + case 104: self = .requestTypeMethodFortDetails + case 106: self = .requestTypeMethodGetMapObjects + case 110: self = .requestTypeMethodFortDeployPokemon + case 111: self = .requestTypeMethodFortRecallPokemon + case 112: self = .requestTypeMethodReleasePokemon + case 113: self = .requestTypeMethodUseItemPotion + case 114: self = .requestTypeMethodUseItemCapture + case 115: self = .requestTypeMethodUseItemFlee + case 116: self = .requestTypeMethodUseItemRevive + case 121: self = .requestTypeMethodGetPlayerProfile + case 125: self = .requestTypeMethodEvolvePokemon + case 126: self = .requestTypeMethodGetHatchedEggs + case 127: self = .requestTypeMethodEncounterTutorialComplete + case 128: self = .requestTypeMethodLevelUpRewards + case 129: self = .requestTypeMethodCheckAwardedBadges + case 137: self = .requestTypeMethodRecycleInventoryItem + case 138: self = .requestTypeMethodCollectDailyBonus + case 139: self = .requestTypeMethodUseItemXpBoost + case 140: self = .requestTypeMethodUseItemEggIncubator + case 141: self = .requestTypeMethodUseIncense + case 142: self = .requestTypeMethodGetIncensePokemon + case 143: self = .requestTypeMethodIncenseEncounter + case 144: self = .requestTypeMethodAddFortModifier + case 145: self = .requestTypeMethodDiskEncounter + case 147: self = .requestTypeMethodUpgradePokemon + case 148: self = .requestTypeMethodSetFavoritePokemon + case 149: self = .requestTypeMethodNicknamePokemon + case 150: self = .requestTypeMethodEquipBadge + case 151: self = .requestTypeMethodSetContactSettings + case 152: self = .requestTypeMethodSetBuddyPokemon + case 153: self = .requestTypeMethodGetBuddyWalked + case 154: self = .requestTypeMethodUseItemEncounter + case 155: self = .requestTypeMethodGymDeploy + case 156: self = .requestTypeMethodGymGetInfo + case 157: self = .requestTypeMethodGymStartSession + case 158: self = .requestTypeMethodGymBattleAttack + case 159: self = .requestTypeMethodJoinLobby + case 160: self = .requestTypeMethodLeaveLobby + case 161: self = .requestTypeMethodSetLobbyVisibility + case 162: self = .requestTypeMethodSetLobbyPokemon + case 163: self = .requestTypeMethodGetRaidDetails + case 164: self = .requestTypeMethodGymFeedPokemon + case 165: self = .requestTypeMethodStartRaidBattle + case 166: self = .requestTypeMethodAttackRaid + case 167: self = .requestTypeMethodAwardPokecoin + case 168: self = .requestTypeMethodUseItemStardustBoost + case 169: self = .requestTypeMethodReassignPlayer + case 170: self = .requestTypeMethodRedeemPoiPasscode + case 171: self = .requestTypeMethodConvertCandyToXlCandy + case 172: self = .requestTypeMethodIsSkuAvailable + case 300: self = .requestTypeMethodGetAssetDigest + case 301: self = .requestTypeMethodGetDownloadUrls + case 302: self = .requestTypeMethodGetAssetVersion + case 403: self = .requestTypeMethodClaimCodename + case 404: self = .requestTypeMethodSetAvatar + case 405: self = .requestTypeMethodSetPlayerTeam + case 406: self = .requestTypeMethodMarkTutorialComplete + case 407: self = .requestTypeMethodUpdatePerformanceMetrics + case 408: self = .requestTypeMethodSetNeutralAvatar + case 409: self = .requestTypeMethodListAvatarStoreItems + case 410: self = .requestTypeMethodListAvatarAppearanceItems + case 600: self = .requestTypeMethodCheckChallenge + case 601: self = .requestTypeMethodVerifyChallenge + case 666: self = .requestTypeMethodEcho + case 800: self = .requestTypeMethodSfidaRegistration + case 801: self = .requestTypeMethodSfidaActionLog + case 802: self = .requestTypeMethodSfidaCertification + case 803: self = .requestTypeMethodSfidaUpdate + case 804: self = .requestTypeMethodSfidaAction + case 805: self = .requestTypeMethodSfidaDowser + case 806: self = .requestTypeMethodSfidaCapture + case 807: self = .requestTypeMethodListAvatarCustomizations + case 808: self = .requestTypeMethodSetAvatarItemAsViewed + case 809: self = .requestTypeMethodGetInbox + case 811: self = .requestTypeMethodListGymBadges + case 812: self = .requestTypeMethodGetGymBadgeDetails + case 813: self = .requestTypeMethodUseItemMoveReroll + case 814: self = .requestTypeMethodUseItemRareCandy + case 815: self = .requestTypeMethodAwardFreeRaidTicket + case 816: self = .requestTypeMethodFetchAllNews + case 817: self = .requestTypeMethodMarkReadNewsArticle + case 818: self = .requestTypeMethodGetPlayerDisplayInfo + case 819: self = .requestTypeMethodBelugaTransactionStart + case 820: self = .requestTypeMethodBelugaTransactionComplete + case 822: self = .requestTypeMethodSfidaAssociate + case 823: self = .requestTypeMethodSfidaCheckPairing + case 824: self = .requestTypeMethodSfidaDisassociate + case 825: self = .requestTypeMethodWainaGetRewards + case 826: self = .requestTypeMethodWainaSubmitSleepData + case 827: self = .requestTypeMethodSaturdayTransactionStart + case 828: self = .requestTypeMethodSaturdayTransactionComplete + case 829: self = .requestTypeMethodReimburseItem + case 900: self = .requestTypeMethodGetNewQuests + case 901: self = .requestTypeMethodGetQuestDetails + case 902: self = .requestTypeMethodCompleteQuest + case 903: self = .requestTypeMethodRemoveQuest + case 904: self = .requestTypeMethodQuestEncounter + case 905: self = .requestTypeMethodCompleteQuestStampCard + case 906: self = .requestTypeMethodProgressQuest + case 907: self = .requestTypeMethodStartQuestIncident + case 908: self = .requestTypeMethodReadQuestDialog + case 950: self = .requestTypeMethodSendGift + case 951: self = .requestTypeMethodOpenGift + case 952: self = .requestTypeMethodGiftDetails + case 953: self = .requestTypeMethodDeleteGift + case 954: self = .requestTypeMethodSavePlayerSnapshot + case 955: self = .requestTypeMethodGetFriendshipMilestoneRewards + case 956: self = .requestTypeMethodCheckSendGift + case 957: self = .requestTypeMethodSetFriendNickname + case 958: self = .requestTypeMethodDeleteGiftFromInventory + case 959: self = .requestTypeMethodSaveSocialPlayerSettings + case 970: self = .requestTypeMethodOpenTrading + case 971: self = .requestTypeMethodUpdateTrading + case 972: self = .requestTypeMethodConfirmTrading + case 973: self = .requestTypeMethodCancelTrading + case 974: self = .requestTypeMethodGetTrading + case 980: self = .requestTypeMethodGetFitnessRewards + case 990: self = .requestTypeMethodGetCombatPlayerProfile + case 991: self = .requestTypeMethodGenerateCombatChallengeID + case 992: self = .requestTypeMethodCreateCombatChallenge + case 993: self = .requestTypeMethodOpenCombatChallenge + case 994: self = .requestTypeMethodGetCombatChallenge + case 995: self = .requestTypeMethodAcceptCombatChallenge + case 996: self = .requestTypeMethodDeclineCombatChallenge + case 997: self = .requestTypeMethodCancelCombatChallenge + case 998: self = .requestTypeMethodSubmitCombatChallengePokemons + case 999: self = .requestTypeMethodSaveCombatPlayerPreferences + case 1000: self = .requestTypeMethodOpenCombatSession + case 1001: self = .requestTypeMethodUpdateCombat + case 1002: self = .requestTypeMethodQuitCombat + case 1003: self = .requestTypeMethodGetCombatResults + case 1004: self = .requestTypeMethodUnlockSpecialMove + case 1005: self = .requestTypeMethodGetNpcCombatRewards + case 1006: self = .requestTypeMethodCombatFriendRequest + case 1007: self = .requestTypeMethodOpenNpcCombatSession + case 1008: self = .requestTypeMethodStartTutorialAction + case 1009: self = .requestTypeMethodGetTutorialEggAction + case 1020: self = .requestTypeMethodSendProbe + case 1021: self = .requestTypeMethodProbeData + case 1022: self = .requestTypeMethodCombatData + case 1023: self = .requestTypeMethodCombatChallengeData + case 1101: self = .requestTypeMethodCheckPhotobomb + case 1102: self = .requestTypeMethodConfirmPhotobomb + case 1103: self = .requestTypeMethodGetPhotobomb + case 1104: self = .requestTypeMethodEncounterPhotobomb + case 1105: self = .requestTypeMethodGetSignedGmapURLDeprecated + case 1106: self = .requestTypeMethodChangeTeam + case 1107: self = .requestTypeMethodGetWebToken + case 1110: self = .requestTypeMethodCompleteSnapshotSession + case 1111: self = .requestTypeMethodCompleteWildSnapshotSession + case 1200: self = .requestTypeMethodStartIncident + case 1201: self = .requestTypeMethodInvasionCompleteDialogue + case 1202: self = .requestTypeMethodInvasionOpenCombatSession + case 1203: self = .requestTypeMethodInvasionBattleUpdate + case 1204: self = .requestTypeMethodInvasionEncounter + case 1205: self = .requestTypeMethodPurifyPokemon + case 1206: self = .requestTypeMethodGetRocketBalloon + case 1207: self = .requestTypeMethodStartRocketBalloonIncident + case 1300: self = .requestTypeMethodVsSeekerStartMatchmaking + case 1301: self = .requestTypeMethodCancelMatchmaking + case 1302: self = .requestTypeMethodGetMatchmakingStatus + case 1303: self = .requestTypeMethodCompleteVsSeekerAndRestartCharging + case 1304: self = .requestTypeMethodGetVsSeekerStatus + case 1305: self = .requestTypeMethodCompleteCombatCompetitiveSeasonAction + case 1306: self = .requestTypeMethodClaimVsSeekerRewards + case 1307: self = .requestTypeMethodVsSeekerRewardEncounter + case 1308: self = .requestTypeMethodActivateVsSeeker + case 1350: self = .requestTypeMethodGetBuddyMap + case 1351: self = .requestTypeMethodGetBuddyStats + case 1352: self = .requestTypeMethodFeedBuddy + case 1353: self = .requestTypeMethodOpenBuddyGift + case 1354: self = .requestTypeMethodPetBuddy + case 1355: self = .requestTypeMethodGetBuddyHistory + case 1400: self = .requestTypeMethodUpdateRouteDraft + case 1401: self = .requestTypeMethodGetMapForts + case 1402: self = .requestTypeMethodSubmitRouteDraft + case 1403: self = .requestTypeMethodGetPublishedRoutes + case 1404: self = .requestTypeMethodStartRoute + case 1405: self = .requestTypeMethodGetRoutes + case 1406: self = .requestTypeMethodProgressRoute + case 1408: self = .requestTypeMethodProcessTappable + case 1409: self = .requestTypeMethodListRouteBadges + case 1410: self = .requestTypeMethodCancelRoute + case 1411: self = .requestTypeMethodListRouteStamps + case 1412: self = .requestTypeMethodRateRoute + case 1413: self = .requestTypeMethodCreateRouteDraft + case 1414: self = .requestTypeMethodDeleteRouteDraft + case 1415: self = .requestTypeMethodReportRoute + case 1416: self = .requestTypeMethodSpawnTappable + case 1417: self = .requestTypeMethodRouteEncounter + case 1418: self = .requestTypeMethodCanReportRoute + case 1420: self = .requestTypeMethodRouteUptateSeen + case 1421: self = .requestTypeMethodRecallRouteDraft + case 1422: self = .requestTypeMethodRoutesNearbyNotifShown + case 1423: self = .requestTypeMethodNpcRouteGift + case 1424: self = .requestTypeMethodGetRouteCreations + case 1456: self = .requestTypeMethodCreateBuddyMutliplayerSession + case 1457: self = .requestTypeMethodJoinBuddyMultiplayerSession + case 1458: self = .requestTypeMethodLeaveBuddyMultiplayerSession + case 1501: self = .requestTypeMethodGetTodayView + case 1502: self = .requestTypeMethodMegaEvolvePokemon + case 1503: self = .requestTypeMethodRemoteGiftPing + case 1504: self = .requestTypeMethodSendRaidInvitation + case 1601: self = .requestTypeMethodGetDailyEncounter + case 1602: self = .requestTypeMethodDailyEncounter + case 1650: self = .requestTypeMethodOpenSponsoredGift + case 1651: self = .requestTypeMethodSponsoredGiftReportInteraction + case 1652: self = .requestTypeMethodSavePlayerPreferences + case 1653: self = .requestTypeMethodProfanityCheck + case 1700: self = .requestTypeMethodGetTimedGroupChallenge + case 1710: self = .requestTypeMethodGetNintendoAccount + case 1711: self = .requestTypeMethodUnlinkNintendoAccount + case 1712: self = .requestTypeMethodGetNintendoOauth2URL + case 1713: self = .requestTypeMethodTransferToPokemonHome + case 1716: self = .requestTypeMethodReportAdFeedback + case 1717: self = .requestTypeMethodCreatePokemonTag + case 1718: self = .requestTypeMethodDeletePokemonTag + case 1719: self = .requestTypeMethodEditPokemonTag + case 1720: self = .requestTypeMethodSetPokemonTagsForPokemon + case 1721: self = .requestTypeMethodGetPokemonTags + case 1722: self = .requestTypeMethodChangePokemonForm + case 1723: self = .requestTypeMethodChooseEventVariant + case 1724: self = .requestTypeMethodButterflyCollectorRewardEncounter + case 1800: self = .requestTypeMethodGetReferralCode + case 1801: self = .requestTypeMethodAddReferrer + case 1802: self = .requestTypeMethodSendFriendInviteViaReferralCode + case 1803: self = .requestTypeMethodGetMilestones + case 1804: self = .requestTypeMethodMarkMilestonesAsViewed + case 1805: self = .requestTypeMethodGetMilestonesPreview + case 1806: self = .requestTypeMethodCompleteMilestone + case 1820: self = .requestTypeMethodGetGeofencedAd + case 1900: self = .requestTypeMethodPowerUpPokestopEncounter + case 1909: self = .requestTypeMethodDeletePostcards + case 1910: self = .requestTypeMethodCreatePostcard + case 1911: self = .requestTypeMethodUpdatePostcard + case 1912: self = .requestTypeMethodDeletePostcard + case 1913: self = .requestTypeMethodGetMementoList + case 1914: self = .requestTypeMethodUploadRaidClientLog + case 1915: self = .requestTypeMethodSkipEnterReferralCode + case 1916: self = .requestTypeMethodUploadCombatClientLog + case 1917: self = .requestTypeMethodCombatSyncServerOffset + case 2000: self = .requestTypeMethodCheckGiftingEligibility + case 2001: self = .requestTypeMethodRedeemTicketGiftForFriend + case 2002: self = .requestTypeMethodGetIncenseRecap + case 2003: self = .requestTypeMethodAcknowledgeIncenseRecap + case 2004: self = .requestTypeMethodBootRaid + case 2005: self = .requestTypeMethodGetPokestopEncounter + case 2006: self = .requestTypeMethodEncounterPokestopEncounter + case 2007: self = .requestTypeMethodPollPlayerSpawnablePokemon + case 2008: self = .requestTypeMethodGetQuestUi + case 2009: self = .requestTypeMethodGetEligibleCombatLeagues + case 2010: self = .requestTypeMethodSendFriendRequestViaPlayerIds + case 2011: self = .requestTypeMethodGetRaidLobbyCounter + case 2014: self = .requestTypeMethodUseNonCombatMove + case 2100: self = .requestTypeMethodCheckPokemonSizeContestEligibility + case 2101: self = .requestTypeMethodUpdatePokemonSizeContestEntry + case 2102: self = .requestTypeMethodTransferPokemonSizeContestEntry + case 2103: self = .requestTypeMethodRemovePokemonSizeContestEntry + case 2104: self = .requestTypeMethodGetPokemonSizeContestEntry + case 2105: self = .requestTypeMethodGetContestData + case 2106: self = .requestTypeMethodGetContestsUnclaimedRewards + case 2107: self = .requestTypeMethodClaimContestsRewards + case 2108: self = .requestTypeMethodGetEnteredContest + case 2109: self = .requestTypeMethodGetPokemonSizeContestFriendEntry + case 2150: self = .requestTypeMethodCheckContestEligibility + case 2151: self = .requestTypeMethodUpdateContestEntry + case 2152: self = .requestTypeMethodTransferContestEntry + case 2153: self = .requestTypeMethodGetContestFriendEntry + case 2154: self = .requestTypeMethodGetContestEntry + case 2300: self = .requestTypeMethodCreateParty + case 2301: self = .requestTypeMethodJoinParty + case 2302: self = .requestTypeMethodStartParty + case 2303: self = .requestTypeMethodLeaveParty + case 2304: self = .requestTypeMethodGetParty + case 2305: self = .requestTypeMethodUpdatePartyLocation + case 2306: self = .requestTypeMethodSendPartyDarkLaunchLog + case 2308: self = .requestTypeMethodStartPartyQuest + case 2309: self = .requestTypeMethodCompletePartyQuest + case 2350: self = .requestTypeMethodGetBonusAttractedPokemon + case 2352: self = .requestTypeMethodGetBonuses + case 2360: self = .requestTypeMethodBadgeRewardEncounter + case 2400: self = .requestTypeMethodNpcUpdateState + case 2401: self = .requestTypeMethodNpcSendGift + case 2402: self = .requestTypeMethodNpcOpenGift + case 3000: self = .requestTypeMethodGetVpsEvents + case 3001: self = .requestTypeMethodUpdateVpsEvents + case 3002: self = .requestTypeMethodAddPtcLoginAction + case 3003: self = .requestTypeMethodClaimPtcLinkingReward + case 5000: self = .requestTypeClientActionRegisterPushNotification + case 5001: self = .requestTypeClientActionUnregisterPushNotification + case 5002: self = .requestTypeClientActionUpdateNotificationStatus + case 5003: self = .requestTypeClientActionOptOutPushNotificationCategory + case 5004: self = .requestTypeClientActionDownloadGameMasterTemplates + case 5005: self = .requestTypeClientActionGetInventory + case 5006: self = .requestTypeClientActionRedeemPasscode + case 5007: self = .requestTypeClientActionPing + case 5008: self = .requestTypeClientActionAddLoginAction + case 5009: self = .requestTypeClientActionRemoveLoginAction + case 5010: self = .requestTypeClientActionListLoginAction + case 5011: self = .requestTypeClientActionAddNewPoi + case 5012: self = .requestTypeClientActionProxySocialAction + case 5013: self = .requestTypeClientActionDeprecatedClientTelemetry + case 5014: self = .requestTypeClientActionGetAvailableSubmissions + case 5015: self = .requestTypeClientActionGetSignedURLForPhotoUpload + case 5016: self = .requestTypeClientActionReplaceLoginAction + case 5017: self = .requestTypeClientActionProxySocialSideChannelAction + case 5018: self = .requestTypeClientActionCollectClientTelemetry + case 5019: self = .requestTypeClientActionPurchaseSku + case 5020: self = .requestTypeClientActionGetAvailableSkusAndBalances + case 5021: self = .requestTypeClientActionRedeemGoogleReceipt + case 5022: self = .requestTypeClientActionRedeemAppleReceipt + case 5023: self = .requestTypeClientActionRedeemDesktopReceipt + case 5024: self = .requestTypeClientActionUpdateFitnessMetrics + case 5025: self = .requestTypeClientActionGetFitnessReport + case 5026: self = .requestTypeClientActionGetClientTelemetrySettings + case 5027: self = .requestTypeClientActionPingAsync + case 5028: self = .requestTypeClientActionRegisterBackgroundService + case 5029: self = .requestTypeClientActionGetClientBgmodeSettings + case 5030: self = .requestTypeClientActionPingDownstream + case 5032: self = .requestTypeClientActionSetInGameCurrencyExchangeRate + case 5033: self = .requestTypeClientActionRequestGeofenceUpdates + case 5034: self = .requestTypeClientActionUpdatePlayerLocation + case 5035: self = .requestTypeClientActionGenerateGmapSignedURL + case 5036: self = .requestTypeClientActionGetGmapSettings + case 5037: self = .requestTypeClientActionRedeemSamsungReceipt + case 5038: self = .requestTypeClientActionAddNewRoute + case 5039: self = .requestTypeClientActionGetOutstandingWarnings + case 5040: self = .requestTypeClientActionAcknowledgeWarnings + case 5041: self = .requestTypeClientActionSubmitPoiImage + case 5042: self = .requestTypeClientActionSubmitPoiTextMetadataUpdate + case 5043: self = .requestTypeClientActionSubmitPoiLocationUpdate + case 5044: self = .requestTypeClientActionSubmitPoiTakedownRequest + case 5045: self = .requestTypeClientActionGetWebTokenAction + case 5046: self = .requestTypeClientActionGetAdventureSyncSettings + case 5047: self = .requestTypeClientActionUpdateAdventureSyncSettings + case 5048: self = .requestTypeClientActionSetBirthday + case 5049: self = .requestTypeClientActionFetchNewsfeedAction + case 5050: self = .requestTypeClientActionMarkNewsfeedReadAction + case 10000: self = .requestTypeSocialActionSearchPlayer + case 10002: self = .requestTypeSocialActionSendFriendInvite + case 10003: self = .requestTypeSocialActionCancelFriendInvite + case 10004: self = .requestTypeSocialActionAcceptFriendInvite + case 10005: self = .requestTypeSocialActionDeclineFriendInvite + case 10006: self = .requestTypeSocialActionListFriends + case 10007: self = .requestTypeSocialActionListOutgoingFriendInvites + case 10008: self = .requestTypeSocialActionListIncomingFriendInvites + case 10009: self = .requestTypeSocialActionRemoveFriend + case 10010: self = .requestTypeSocialActionListFriendStatus + case 10011: self = .requestTypeSocialActionSendFacebookFriendInvite + case 10012: self = .requestTypeSocialActionIsMyFriend + case 10013: self = .requestTypeSocialActionCreateInviteCode + case 10014: self = .requestTypeSocialActionGetFacebookFriendList + case 10015: self = .requestTypeSocialActionUpdateFacebookStatus + case 10016: self = .requestTypeSocialActionSavePlayerSettings + case 10017: self = .requestTypeSocialActionGetPlayerSettings + case 10018: self = .requestTypeSocialActionGetNianticFriendListDeleted + case 10019: self = .requestTypeSocialActionGetNianticFriendDetailsDeleted + case 10020: self = .requestTypeSocialActionSendNianticFriendInviteDeleted + case 10021: self = .requestTypeSocialActionSetAccountSettings + case 10022: self = .requestTypeSocialActionGetAccountSettings + case 10023: self = .requestTypeSocialActionAddFavoriteFriend + case 10024: self = .requestTypeSocialActionRemoveFavoriteFriend + case 10025: self = .requestTypeSocialActionBlockAccount + case 10026: self = .requestTypeSocialActionUnblockAccount + case 10027: self = .requestTypeSocialActionGetOutgingBlocks + case 10028: self = .requestTypeSocialActionIsAccountBlocked + case 10101: self = .requestTypeSocialActionRegisterPushNotification + case 10102: self = .requestTypeSocialActionUnregisterPushNotification + case 10103: self = .requestTypeSocialActionUpdateNotification + case 10104: self = .requestTypeSocialActionOptOutPushNotificationCategory + case 10105: self = .requestTypeSocialActionGetInbox + case 10201: self = .requestTypeSocialActionGetSignedURL + case 10202: self = .requestTypeSocialActionSubmitImage + case 10203: self = .requestTypeSocialActionGetPhotos + case 10204: self = .requestTypeSocialActionDeletePhoto + case 10205: self = .requestTypeSocialActionFlagPhoto + case 20001: self = .requestTypeSocialActionUpdateProfileV2 + case 20002: self = .requestTypeSocialActionUpdateFriendshipV2 + case 20003: self = .requestTypeSocialActionGetProfileV2 + case 20004: self = .requestTypeSocialActionInviteGameV2 + case 20005: self = .requestTypeSocialActionReservedAction2 + case 20006: self = .requestTypeSocialActionListFriendsV2 + case 20007: self = .requestTypeSocialActionGetFriendDetailsV2 + case 20008: self = .requestTypeSocialActionGetClientFeatureFlagsV2 + case 20009: self = .requestTypeSocialActionReservedAction1 + case 20010: self = .requestTypeSocialActionGetIncomingGameInvitesV2 + case 20011: self = .requestTypeSocialActionUpdateIncomingGameInviteV2 + case 20012: self = .requestTypeSocialActionDismissOutgoingGameInvitesV2 + case 20013: self = .requestTypeSocialActionSyncContactListV2 + case 20014: self = .requestTypeSocialActionSendContactListFriendInviteV2 + case 20015: self = .requestTypeSocialActionReferContactListFriendV2 + case 20016: self = .requestTypeSocialActionGetContactListInfoV2 + case 20017: self = .requestTypeSocialActionDismissContactListUpdateV2 + case 20018: self = .requestTypeSocialActionNotifyContactListFriendsV2 + case 20019: self = .requestTypeSocialActionReservedAction6 + case 20020: self = .requestTypeSocialActionReservedAction7 + case 20400: self = .requestTypeSocialActionReservedAction3 + case 20401: self = .requestTypeSocialActionReservedAction4 + case 20402: self = .requestTypeSocialActionReservedAction5 + case 20500: self = .requestTypeSocialActionGetFriendRecommendation + case 200000: self = .requestTypeGameAnticheatActionGetOutstandingWarnings + case 200001: self = .requestTypeGameAnticheatActionAcknowledgeWarnings + case 230000: self = .requestTypeGameActionClientRegisterBackgroundService + case 230001: self = .requestTypeGameActionClientGetClientBgmodeSettings + case 230002: self = .requestTypeGameActionClientGetAdventureSyncProgress + case 310000: self = .requestTypeGamePurchaseSku + case 310001: self = .requestTypeGameGetAvailableSkusAndBalances + case 310002: self = .requestTypeGameSetInGameCurrencyExchangeRate + case 310100: self = .requestTypeGameRedeemGoogleReceipt + case 310101: self = .requestTypeGameRedeemAppleReceipt + case 310102: self = .requestTypeGameRedeemDesktopReceipt + case 310103: self = .requestTypeGameRedeemSamsungReceipt + case 310200: self = .requestTypeGameGetAvailableSubscriptions + case 310201: self = .requestTypeGameGetActiveSubscriptions + case 360000: self = .requestTypeRequestGeofenceUpdates1 + case 360001: self = .requestTypeUpdatePlayerLocation1 + case 361000: self = .requestTypeUpdateBreadcrumbHistory + case 362000: self = .requestTypeRefreshProximityTokens + case 362001: self = .requestTypeReportProximityContacts + case 600005: self = .requestTypeGetGameAccessToken + case 620000: self = .requestTypePlayerSubmissionActionAddNewPoi + case 620001: self = .requestTypePlayerSubmissionActionGetAvailableSubmissions + case 620002: self = .requestTypePlayerSubmissionActionGetSignedURLForPhotoUpload + case 620003: self = .requestTypePlayerSubmissionActionGetPlayerSubmissionValidationSettings + case 620004: self = .requestTypePlayerSubmissionActionD2DAddNewPoi + case 620005: self = .requestTypePlayerSubmissionActionD2DGetSignedURLForPhotoUpload + case 620100: self = .requestTypePlayerSubmissionActionSubmitPoiImage + case 620101: self = .requestTypePlayerSubmissionActionSubmitPoiTextMetadataUpdate + case 620102: self = .requestTypePlayerSubmissionActionSubmitPoiLocationUpdate + case 620103: self = .requestTypePlayerSubmissionActionSubmitPoiTakedownRequest + case 620104: self = .requestTypePlayerSubmissionActionSubmitSponsorPoiReport + case 620105: self = .requestTypePlayerSubmissionActionSubmitSponsorPoiLocationUpdate + case 620106: self = .requestTypePlayerSubmissionActionSubmitPoiCategoryVote + case 620107: self = .requestTypePlayerSubmissionActionD2DSubmitPoiImage + case 620108: self = .requestTypePlayerSubmissionActionD2DSubmitPoiTextMetadataUpdate + case 620109: self = .requestTypePlayerSubmissionActionD2DSubmitPoiLocationUpdate + case 620110: self = .requestTypePlayerSubmissionActionD2DSubmitPoiTakedownRequest + case 620200: self = .requestTypePlayerSubmissionActionAddNewRoute + case 620300: self = .requestTypePlayerSubmissionActionGenerateGmapSignedURL + case 620301: self = .requestTypePlayerSubmissionActionGetGmapSettings + case 620400: self = .requestTypePlayerSubmissionActionSubmitPoiArVideoMetadata + case 620401: self = .requestTypePlayerSubmissionActionGetGrapeshotFileUploadURL + case 620402: self = .requestTypePlayerSubmissionActionAsyncFileUploadComplete + case 620403: self = .requestTypePlayerSubmissionActionGetArMappingSettings + case 620404: self = .requestTypePlayerSubmissionActionD2DSubmitPoiArVideoMetadata + case 620405: self = .requestTypePlayerSubmissionActionD2DGetGrapeshotFileUploadURL + case 620406: self = .requestTypePlayerSubmissionActionD2DAsyncFileUploadComplete + case 620407: self = .requestTypePlayerSubmissionActionSubmitMappingRequest + case 620408: self = .requestTypePlayerSubmissionActionD2DSubmitMappingRequest + case 620500: self = .requestTypePlayerSubmissionActionGetImagesForPoi + case 620501: self = .requestTypePlayerSubmissionActionSubmitPlayerImageVoteForPoi + case 620502: self = .requestTypePlayerSubmissionActionGetImageGallerySettings + case 620600: self = .requestTypePlayerSubmissionActionGetMapData + case 620601: self = .requestTypePlayerSubmissionActionGetPoisInRadius + case 640000: self = .requestTypeUpdateFitnessMetrics1 + case 640001: self = .requestTypeGetFitnessReport1 + case 640002: self = .requestTypeGetAdventureSyncSettings1 + case 640003: self = .requestTypeUpdateAdventureSyncSettings1 + case 640004: self = .requestTypeUpdateAdventureSyncFitness + case 640005: self = .requestTypeGetAdventureSyncFitnessReport + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `useItemReviveOutProto116` has been explicitly set. - public var hasUseItemReviveOutProto116: Bool {return _storage._useItemReviveOutProto116 != nil} - /// Clears the value of `useItemReviveOutProto116`. Subsequent reads from it will return its default value. - public mutating func clearUseItemReviveOutProto116() {_uniqueStorage()._useItemReviveOutProto116 = nil} - public var playerprofileOutproto121: PlayerProfileOutProto { - get {return _storage._playerprofileOutproto121 ?? PlayerProfileOutProto()} - set {_uniqueStorage()._playerprofileOutproto121 = newValue} + public var rawValue: Int { + switch self { + case .requestTypeUnset: return 0 + case .requestTypeMethodGetPlayer: return 2 + case .requestTypeMethodGetHoloholoInventory: return 4 + case .requestTypeMethodDownloadSettings: return 5 + case .requestTypeMethodDownloadItemTemplates: return 6 + case .requestTypeMethodDownloadRemoteConfigVersion: return 7 + case .requestTypeMethodRegisterBackgroundDevice: return 8 + case .requestTypeMethodGetPlayerDay: return 9 + case .requestTypeMethodAcknowledgePunishment: return 10 + case .requestTypeMethodGetServerTime: return 11 + case .requestTypeMethodGetLocalTime: return 12 + case .requestTypeMethodFortSearch: return 101 + case .requestTypeMethodEncounter: return 102 + case .requestTypeMethodCatchPokemon: return 103 + case .requestTypeMethodFortDetails: return 104 + case .requestTypeMethodGetMapObjects: return 106 + case .requestTypeMethodFortDeployPokemon: return 110 + case .requestTypeMethodFortRecallPokemon: return 111 + case .requestTypeMethodReleasePokemon: return 112 + case .requestTypeMethodUseItemPotion: return 113 + case .requestTypeMethodUseItemCapture: return 114 + case .requestTypeMethodUseItemFlee: return 115 + case .requestTypeMethodUseItemRevive: return 116 + case .requestTypeMethodGetPlayerProfile: return 121 + case .requestTypeMethodEvolvePokemon: return 125 + case .requestTypeMethodGetHatchedEggs: return 126 + case .requestTypeMethodEncounterTutorialComplete: return 127 + case .requestTypeMethodLevelUpRewards: return 128 + case .requestTypeMethodCheckAwardedBadges: return 129 + case .requestTypeMethodRecycleInventoryItem: return 137 + case .requestTypeMethodCollectDailyBonus: return 138 + case .requestTypeMethodUseItemXpBoost: return 139 + case .requestTypeMethodUseItemEggIncubator: return 140 + case .requestTypeMethodUseIncense: return 141 + case .requestTypeMethodGetIncensePokemon: return 142 + case .requestTypeMethodIncenseEncounter: return 143 + case .requestTypeMethodAddFortModifier: return 144 + case .requestTypeMethodDiskEncounter: return 145 + case .requestTypeMethodUpgradePokemon: return 147 + case .requestTypeMethodSetFavoritePokemon: return 148 + case .requestTypeMethodNicknamePokemon: return 149 + case .requestTypeMethodEquipBadge: return 150 + case .requestTypeMethodSetContactSettings: return 151 + case .requestTypeMethodSetBuddyPokemon: return 152 + case .requestTypeMethodGetBuddyWalked: return 153 + case .requestTypeMethodUseItemEncounter: return 154 + case .requestTypeMethodGymDeploy: return 155 + case .requestTypeMethodGymGetInfo: return 156 + case .requestTypeMethodGymStartSession: return 157 + case .requestTypeMethodGymBattleAttack: return 158 + case .requestTypeMethodJoinLobby: return 159 + case .requestTypeMethodLeaveLobby: return 160 + case .requestTypeMethodSetLobbyVisibility: return 161 + case .requestTypeMethodSetLobbyPokemon: return 162 + case .requestTypeMethodGetRaidDetails: return 163 + case .requestTypeMethodGymFeedPokemon: return 164 + case .requestTypeMethodStartRaidBattle: return 165 + case .requestTypeMethodAttackRaid: return 166 + case .requestTypeMethodAwardPokecoin: return 167 + case .requestTypeMethodUseItemStardustBoost: return 168 + case .requestTypeMethodReassignPlayer: return 169 + case .requestTypeMethodRedeemPoiPasscode: return 170 + case .requestTypeMethodConvertCandyToXlCandy: return 171 + case .requestTypeMethodIsSkuAvailable: return 172 + case .requestTypeMethodGetAssetDigest: return 300 + case .requestTypeMethodGetDownloadUrls: return 301 + case .requestTypeMethodGetAssetVersion: return 302 + case .requestTypeMethodClaimCodename: return 403 + case .requestTypeMethodSetAvatar: return 404 + case .requestTypeMethodSetPlayerTeam: return 405 + case .requestTypeMethodMarkTutorialComplete: return 406 + case .requestTypeMethodUpdatePerformanceMetrics: return 407 + case .requestTypeMethodSetNeutralAvatar: return 408 + case .requestTypeMethodListAvatarStoreItems: return 409 + case .requestTypeMethodListAvatarAppearanceItems: return 410 + case .requestTypeMethodCheckChallenge: return 600 + case .requestTypeMethodVerifyChallenge: return 601 + case .requestTypeMethodEcho: return 666 + case .requestTypeMethodSfidaRegistration: return 800 + case .requestTypeMethodSfidaActionLog: return 801 + case .requestTypeMethodSfidaCertification: return 802 + case .requestTypeMethodSfidaUpdate: return 803 + case .requestTypeMethodSfidaAction: return 804 + case .requestTypeMethodSfidaDowser: return 805 + case .requestTypeMethodSfidaCapture: return 806 + case .requestTypeMethodListAvatarCustomizations: return 807 + case .requestTypeMethodSetAvatarItemAsViewed: return 808 + case .requestTypeMethodGetInbox: return 809 + case .requestTypeMethodListGymBadges: return 811 + case .requestTypeMethodGetGymBadgeDetails: return 812 + case .requestTypeMethodUseItemMoveReroll: return 813 + case .requestTypeMethodUseItemRareCandy: return 814 + case .requestTypeMethodAwardFreeRaidTicket: return 815 + case .requestTypeMethodFetchAllNews: return 816 + case .requestTypeMethodMarkReadNewsArticle: return 817 + case .requestTypeMethodGetPlayerDisplayInfo: return 818 + case .requestTypeMethodBelugaTransactionStart: return 819 + case .requestTypeMethodBelugaTransactionComplete: return 820 + case .requestTypeMethodSfidaAssociate: return 822 + case .requestTypeMethodSfidaCheckPairing: return 823 + case .requestTypeMethodSfidaDisassociate: return 824 + case .requestTypeMethodWainaGetRewards: return 825 + case .requestTypeMethodWainaSubmitSleepData: return 826 + case .requestTypeMethodSaturdayTransactionStart: return 827 + case .requestTypeMethodSaturdayTransactionComplete: return 828 + case .requestTypeMethodReimburseItem: return 829 + case .requestTypeMethodGetNewQuests: return 900 + case .requestTypeMethodGetQuestDetails: return 901 + case .requestTypeMethodCompleteQuest: return 902 + case .requestTypeMethodRemoveQuest: return 903 + case .requestTypeMethodQuestEncounter: return 904 + case .requestTypeMethodCompleteQuestStampCard: return 905 + case .requestTypeMethodProgressQuest: return 906 + case .requestTypeMethodStartQuestIncident: return 907 + case .requestTypeMethodReadQuestDialog: return 908 + case .requestTypeMethodSendGift: return 950 + case .requestTypeMethodOpenGift: return 951 + case .requestTypeMethodGiftDetails: return 952 + case .requestTypeMethodDeleteGift: return 953 + case .requestTypeMethodSavePlayerSnapshot: return 954 + case .requestTypeMethodGetFriendshipMilestoneRewards: return 955 + case .requestTypeMethodCheckSendGift: return 956 + case .requestTypeMethodSetFriendNickname: return 957 + case .requestTypeMethodDeleteGiftFromInventory: return 958 + case .requestTypeMethodSaveSocialPlayerSettings: return 959 + case .requestTypeMethodOpenTrading: return 970 + case .requestTypeMethodUpdateTrading: return 971 + case .requestTypeMethodConfirmTrading: return 972 + case .requestTypeMethodCancelTrading: return 973 + case .requestTypeMethodGetTrading: return 974 + case .requestTypeMethodGetFitnessRewards: return 980 + case .requestTypeMethodGetCombatPlayerProfile: return 990 + case .requestTypeMethodGenerateCombatChallengeID: return 991 + case .requestTypeMethodCreateCombatChallenge: return 992 + case .requestTypeMethodOpenCombatChallenge: return 993 + case .requestTypeMethodGetCombatChallenge: return 994 + case .requestTypeMethodAcceptCombatChallenge: return 995 + case .requestTypeMethodDeclineCombatChallenge: return 996 + case .requestTypeMethodCancelCombatChallenge: return 997 + case .requestTypeMethodSubmitCombatChallengePokemons: return 998 + case .requestTypeMethodSaveCombatPlayerPreferences: return 999 + case .requestTypeMethodOpenCombatSession: return 1000 + case .requestTypeMethodUpdateCombat: return 1001 + case .requestTypeMethodQuitCombat: return 1002 + case .requestTypeMethodGetCombatResults: return 1003 + case .requestTypeMethodUnlockSpecialMove: return 1004 + case .requestTypeMethodGetNpcCombatRewards: return 1005 + case .requestTypeMethodCombatFriendRequest: return 1006 + case .requestTypeMethodOpenNpcCombatSession: return 1007 + case .requestTypeMethodStartTutorialAction: return 1008 + case .requestTypeMethodGetTutorialEggAction: return 1009 + case .requestTypeMethodSendProbe: return 1020 + case .requestTypeMethodProbeData: return 1021 + case .requestTypeMethodCombatData: return 1022 + case .requestTypeMethodCombatChallengeData: return 1023 + case .requestTypeMethodCheckPhotobomb: return 1101 + case .requestTypeMethodConfirmPhotobomb: return 1102 + case .requestTypeMethodGetPhotobomb: return 1103 + case .requestTypeMethodEncounterPhotobomb: return 1104 + case .requestTypeMethodGetSignedGmapURLDeprecated: return 1105 + case .requestTypeMethodChangeTeam: return 1106 + case .requestTypeMethodGetWebToken: return 1107 + case .requestTypeMethodCompleteSnapshotSession: return 1110 + case .requestTypeMethodCompleteWildSnapshotSession: return 1111 + case .requestTypeMethodStartIncident: return 1200 + case .requestTypeMethodInvasionCompleteDialogue: return 1201 + case .requestTypeMethodInvasionOpenCombatSession: return 1202 + case .requestTypeMethodInvasionBattleUpdate: return 1203 + case .requestTypeMethodInvasionEncounter: return 1204 + case .requestTypeMethodPurifyPokemon: return 1205 + case .requestTypeMethodGetRocketBalloon: return 1206 + case .requestTypeMethodStartRocketBalloonIncident: return 1207 + case .requestTypeMethodVsSeekerStartMatchmaking: return 1300 + case .requestTypeMethodCancelMatchmaking: return 1301 + case .requestTypeMethodGetMatchmakingStatus: return 1302 + case .requestTypeMethodCompleteVsSeekerAndRestartCharging: return 1303 + case .requestTypeMethodGetVsSeekerStatus: return 1304 + case .requestTypeMethodCompleteCombatCompetitiveSeasonAction: return 1305 + case .requestTypeMethodClaimVsSeekerRewards: return 1306 + case .requestTypeMethodVsSeekerRewardEncounter: return 1307 + case .requestTypeMethodActivateVsSeeker: return 1308 + case .requestTypeMethodGetBuddyMap: return 1350 + case .requestTypeMethodGetBuddyStats: return 1351 + case .requestTypeMethodFeedBuddy: return 1352 + case .requestTypeMethodOpenBuddyGift: return 1353 + case .requestTypeMethodPetBuddy: return 1354 + case .requestTypeMethodGetBuddyHistory: return 1355 + case .requestTypeMethodUpdateRouteDraft: return 1400 + case .requestTypeMethodGetMapForts: return 1401 + case .requestTypeMethodSubmitRouteDraft: return 1402 + case .requestTypeMethodGetPublishedRoutes: return 1403 + case .requestTypeMethodStartRoute: return 1404 + case .requestTypeMethodGetRoutes: return 1405 + case .requestTypeMethodProgressRoute: return 1406 + case .requestTypeMethodProcessTappable: return 1408 + case .requestTypeMethodListRouteBadges: return 1409 + case .requestTypeMethodCancelRoute: return 1410 + case .requestTypeMethodListRouteStamps: return 1411 + case .requestTypeMethodRateRoute: return 1412 + case .requestTypeMethodCreateRouteDraft: return 1413 + case .requestTypeMethodDeleteRouteDraft: return 1414 + case .requestTypeMethodReportRoute: return 1415 + case .requestTypeMethodSpawnTappable: return 1416 + case .requestTypeMethodRouteEncounter: return 1417 + case .requestTypeMethodCanReportRoute: return 1418 + case .requestTypeMethodRouteUptateSeen: return 1420 + case .requestTypeMethodRecallRouteDraft: return 1421 + case .requestTypeMethodRoutesNearbyNotifShown: return 1422 + case .requestTypeMethodNpcRouteGift: return 1423 + case .requestTypeMethodGetRouteCreations: return 1424 + case .requestTypeMethodCreateBuddyMutliplayerSession: return 1456 + case .requestTypeMethodJoinBuddyMultiplayerSession: return 1457 + case .requestTypeMethodLeaveBuddyMultiplayerSession: return 1458 + case .requestTypeMethodGetTodayView: return 1501 + case .requestTypeMethodMegaEvolvePokemon: return 1502 + case .requestTypeMethodRemoteGiftPing: return 1503 + case .requestTypeMethodSendRaidInvitation: return 1504 + case .requestTypeMethodGetDailyEncounter: return 1601 + case .requestTypeMethodDailyEncounter: return 1602 + case .requestTypeMethodOpenSponsoredGift: return 1650 + case .requestTypeMethodSponsoredGiftReportInteraction: return 1651 + case .requestTypeMethodSavePlayerPreferences: return 1652 + case .requestTypeMethodProfanityCheck: return 1653 + case .requestTypeMethodGetTimedGroupChallenge: return 1700 + case .requestTypeMethodGetNintendoAccount: return 1710 + case .requestTypeMethodUnlinkNintendoAccount: return 1711 + case .requestTypeMethodGetNintendoOauth2URL: return 1712 + case .requestTypeMethodTransferToPokemonHome: return 1713 + case .requestTypeMethodReportAdFeedback: return 1716 + case .requestTypeMethodCreatePokemonTag: return 1717 + case .requestTypeMethodDeletePokemonTag: return 1718 + case .requestTypeMethodEditPokemonTag: return 1719 + case .requestTypeMethodSetPokemonTagsForPokemon: return 1720 + case .requestTypeMethodGetPokemonTags: return 1721 + case .requestTypeMethodChangePokemonForm: return 1722 + case .requestTypeMethodChooseEventVariant: return 1723 + case .requestTypeMethodButterflyCollectorRewardEncounter: return 1724 + case .requestTypeMethodGetReferralCode: return 1800 + case .requestTypeMethodAddReferrer: return 1801 + case .requestTypeMethodSendFriendInviteViaReferralCode: return 1802 + case .requestTypeMethodGetMilestones: return 1803 + case .requestTypeMethodMarkMilestonesAsViewed: return 1804 + case .requestTypeMethodGetMilestonesPreview: return 1805 + case .requestTypeMethodCompleteMilestone: return 1806 + case .requestTypeMethodGetGeofencedAd: return 1820 + case .requestTypeMethodPowerUpPokestopEncounter: return 1900 + case .requestTypeMethodDeletePostcards: return 1909 + case .requestTypeMethodCreatePostcard: return 1910 + case .requestTypeMethodUpdatePostcard: return 1911 + case .requestTypeMethodDeletePostcard: return 1912 + case .requestTypeMethodGetMementoList: return 1913 + case .requestTypeMethodUploadRaidClientLog: return 1914 + case .requestTypeMethodSkipEnterReferralCode: return 1915 + case .requestTypeMethodUploadCombatClientLog: return 1916 + case .requestTypeMethodCombatSyncServerOffset: return 1917 + case .requestTypeMethodCheckGiftingEligibility: return 2000 + case .requestTypeMethodRedeemTicketGiftForFriend: return 2001 + case .requestTypeMethodGetIncenseRecap: return 2002 + case .requestTypeMethodAcknowledgeIncenseRecap: return 2003 + case .requestTypeMethodBootRaid: return 2004 + case .requestTypeMethodGetPokestopEncounter: return 2005 + case .requestTypeMethodEncounterPokestopEncounter: return 2006 + case .requestTypeMethodPollPlayerSpawnablePokemon: return 2007 + case .requestTypeMethodGetQuestUi: return 2008 + case .requestTypeMethodGetEligibleCombatLeagues: return 2009 + case .requestTypeMethodSendFriendRequestViaPlayerIds: return 2010 + case .requestTypeMethodGetRaidLobbyCounter: return 2011 + case .requestTypeMethodUseNonCombatMove: return 2014 + case .requestTypeMethodCheckPokemonSizeContestEligibility: return 2100 + case .requestTypeMethodUpdatePokemonSizeContestEntry: return 2101 + case .requestTypeMethodTransferPokemonSizeContestEntry: return 2102 + case .requestTypeMethodRemovePokemonSizeContestEntry: return 2103 + case .requestTypeMethodGetPokemonSizeContestEntry: return 2104 + case .requestTypeMethodGetContestData: return 2105 + case .requestTypeMethodGetContestsUnclaimedRewards: return 2106 + case .requestTypeMethodClaimContestsRewards: return 2107 + case .requestTypeMethodGetEnteredContest: return 2108 + case .requestTypeMethodGetPokemonSizeContestFriendEntry: return 2109 + case .requestTypeMethodCheckContestEligibility: return 2150 + case .requestTypeMethodUpdateContestEntry: return 2151 + case .requestTypeMethodTransferContestEntry: return 2152 + case .requestTypeMethodGetContestFriendEntry: return 2153 + case .requestTypeMethodGetContestEntry: return 2154 + case .requestTypeMethodCreateParty: return 2300 + case .requestTypeMethodJoinParty: return 2301 + case .requestTypeMethodStartParty: return 2302 + case .requestTypeMethodLeaveParty: return 2303 + case .requestTypeMethodGetParty: return 2304 + case .requestTypeMethodUpdatePartyLocation: return 2305 + case .requestTypeMethodSendPartyDarkLaunchLog: return 2306 + case .requestTypeMethodStartPartyQuest: return 2308 + case .requestTypeMethodCompletePartyQuest: return 2309 + case .requestTypeMethodGetBonusAttractedPokemon: return 2350 + case .requestTypeMethodGetBonuses: return 2352 + case .requestTypeMethodBadgeRewardEncounter: return 2360 + case .requestTypeMethodNpcUpdateState: return 2400 + case .requestTypeMethodNpcSendGift: return 2401 + case .requestTypeMethodNpcOpenGift: return 2402 + case .requestTypeMethodGetVpsEvents: return 3000 + case .requestTypeMethodUpdateVpsEvents: return 3001 + case .requestTypeMethodAddPtcLoginAction: return 3002 + case .requestTypeMethodClaimPtcLinkingReward: return 3003 + case .requestTypeClientActionRegisterPushNotification: return 5000 + case .requestTypeClientActionUnregisterPushNotification: return 5001 + case .requestTypeClientActionUpdateNotificationStatus: return 5002 + case .requestTypeClientActionOptOutPushNotificationCategory: return 5003 + case .requestTypeClientActionDownloadGameMasterTemplates: return 5004 + case .requestTypeClientActionGetInventory: return 5005 + case .requestTypeClientActionRedeemPasscode: return 5006 + case .requestTypeClientActionPing: return 5007 + case .requestTypeClientActionAddLoginAction: return 5008 + case .requestTypeClientActionRemoveLoginAction: return 5009 + case .requestTypeClientActionListLoginAction: return 5010 + case .requestTypeClientActionAddNewPoi: return 5011 + case .requestTypeClientActionProxySocialAction: return 5012 + case .requestTypeClientActionDeprecatedClientTelemetry: return 5013 + case .requestTypeClientActionGetAvailableSubmissions: return 5014 + case .requestTypeClientActionGetSignedURLForPhotoUpload: return 5015 + case .requestTypeClientActionReplaceLoginAction: return 5016 + case .requestTypeClientActionProxySocialSideChannelAction: return 5017 + case .requestTypeClientActionCollectClientTelemetry: return 5018 + case .requestTypeClientActionPurchaseSku: return 5019 + case .requestTypeClientActionGetAvailableSkusAndBalances: return 5020 + case .requestTypeClientActionRedeemGoogleReceipt: return 5021 + case .requestTypeClientActionRedeemAppleReceipt: return 5022 + case .requestTypeClientActionRedeemDesktopReceipt: return 5023 + case .requestTypeClientActionUpdateFitnessMetrics: return 5024 + case .requestTypeClientActionGetFitnessReport: return 5025 + case .requestTypeClientActionGetClientTelemetrySettings: return 5026 + case .requestTypeClientActionPingAsync: return 5027 + case .requestTypeClientActionRegisterBackgroundService: return 5028 + case .requestTypeClientActionGetClientBgmodeSettings: return 5029 + case .requestTypeClientActionPingDownstream: return 5030 + case .requestTypeClientActionSetInGameCurrencyExchangeRate: return 5032 + case .requestTypeClientActionRequestGeofenceUpdates: return 5033 + case .requestTypeClientActionUpdatePlayerLocation: return 5034 + case .requestTypeClientActionGenerateGmapSignedURL: return 5035 + case .requestTypeClientActionGetGmapSettings: return 5036 + case .requestTypeClientActionRedeemSamsungReceipt: return 5037 + case .requestTypeClientActionAddNewRoute: return 5038 + case .requestTypeClientActionGetOutstandingWarnings: return 5039 + case .requestTypeClientActionAcknowledgeWarnings: return 5040 + case .requestTypeClientActionSubmitPoiImage: return 5041 + case .requestTypeClientActionSubmitPoiTextMetadataUpdate: return 5042 + case .requestTypeClientActionSubmitPoiLocationUpdate: return 5043 + case .requestTypeClientActionSubmitPoiTakedownRequest: return 5044 + case .requestTypeClientActionGetWebTokenAction: return 5045 + case .requestTypeClientActionGetAdventureSyncSettings: return 5046 + case .requestTypeClientActionUpdateAdventureSyncSettings: return 5047 + case .requestTypeClientActionSetBirthday: return 5048 + case .requestTypeClientActionFetchNewsfeedAction: return 5049 + case .requestTypeClientActionMarkNewsfeedReadAction: return 5050 + case .requestTypeSocialActionSearchPlayer: return 10000 + case .requestTypeSocialActionSendFriendInvite: return 10002 + case .requestTypeSocialActionCancelFriendInvite: return 10003 + case .requestTypeSocialActionAcceptFriendInvite: return 10004 + case .requestTypeSocialActionDeclineFriendInvite: return 10005 + case .requestTypeSocialActionListFriends: return 10006 + case .requestTypeSocialActionListOutgoingFriendInvites: return 10007 + case .requestTypeSocialActionListIncomingFriendInvites: return 10008 + case .requestTypeSocialActionRemoveFriend: return 10009 + case .requestTypeSocialActionListFriendStatus: return 10010 + case .requestTypeSocialActionSendFacebookFriendInvite: return 10011 + case .requestTypeSocialActionIsMyFriend: return 10012 + case .requestTypeSocialActionCreateInviteCode: return 10013 + case .requestTypeSocialActionGetFacebookFriendList: return 10014 + case .requestTypeSocialActionUpdateFacebookStatus: return 10015 + case .requestTypeSocialActionSavePlayerSettings: return 10016 + case .requestTypeSocialActionGetPlayerSettings: return 10017 + case .requestTypeSocialActionGetNianticFriendListDeleted: return 10018 + case .requestTypeSocialActionGetNianticFriendDetailsDeleted: return 10019 + case .requestTypeSocialActionSendNianticFriendInviteDeleted: return 10020 + case .requestTypeSocialActionSetAccountSettings: return 10021 + case .requestTypeSocialActionGetAccountSettings: return 10022 + case .requestTypeSocialActionAddFavoriteFriend: return 10023 + case .requestTypeSocialActionRemoveFavoriteFriend: return 10024 + case .requestTypeSocialActionBlockAccount: return 10025 + case .requestTypeSocialActionUnblockAccount: return 10026 + case .requestTypeSocialActionGetOutgingBlocks: return 10027 + case .requestTypeSocialActionIsAccountBlocked: return 10028 + case .requestTypeSocialActionRegisterPushNotification: return 10101 + case .requestTypeSocialActionUnregisterPushNotification: return 10102 + case .requestTypeSocialActionUpdateNotification: return 10103 + case .requestTypeSocialActionOptOutPushNotificationCategory: return 10104 + case .requestTypeSocialActionGetInbox: return 10105 + case .requestTypeSocialActionGetSignedURL: return 10201 + case .requestTypeSocialActionSubmitImage: return 10202 + case .requestTypeSocialActionGetPhotos: return 10203 + case .requestTypeSocialActionDeletePhoto: return 10204 + case .requestTypeSocialActionFlagPhoto: return 10205 + case .requestTypeSocialActionUpdateProfileV2: return 20001 + case .requestTypeSocialActionUpdateFriendshipV2: return 20002 + case .requestTypeSocialActionGetProfileV2: return 20003 + case .requestTypeSocialActionInviteGameV2: return 20004 + case .requestTypeSocialActionReservedAction2: return 20005 + case .requestTypeSocialActionListFriendsV2: return 20006 + case .requestTypeSocialActionGetFriendDetailsV2: return 20007 + case .requestTypeSocialActionGetClientFeatureFlagsV2: return 20008 + case .requestTypeSocialActionReservedAction1: return 20009 + case .requestTypeSocialActionGetIncomingGameInvitesV2: return 20010 + case .requestTypeSocialActionUpdateIncomingGameInviteV2: return 20011 + case .requestTypeSocialActionDismissOutgoingGameInvitesV2: return 20012 + case .requestTypeSocialActionSyncContactListV2: return 20013 + case .requestTypeSocialActionSendContactListFriendInviteV2: return 20014 + case .requestTypeSocialActionReferContactListFriendV2: return 20015 + case .requestTypeSocialActionGetContactListInfoV2: return 20016 + case .requestTypeSocialActionDismissContactListUpdateV2: return 20017 + case .requestTypeSocialActionNotifyContactListFriendsV2: return 20018 + case .requestTypeSocialActionReservedAction6: return 20019 + case .requestTypeSocialActionReservedAction7: return 20020 + case .requestTypeSocialActionReservedAction3: return 20400 + case .requestTypeSocialActionReservedAction4: return 20401 + case .requestTypeSocialActionReservedAction5: return 20402 + case .requestTypeSocialActionGetFriendRecommendation: return 20500 + case .requestTypeGameAnticheatActionGetOutstandingWarnings: return 200000 + case .requestTypeGameAnticheatActionAcknowledgeWarnings: return 200001 + case .requestTypeGameActionClientRegisterBackgroundService: return 230000 + case .requestTypeGameActionClientGetClientBgmodeSettings: return 230001 + case .requestTypeGameActionClientGetAdventureSyncProgress: return 230002 + case .requestTypeGamePurchaseSku: return 310000 + case .requestTypeGameGetAvailableSkusAndBalances: return 310001 + case .requestTypeGameSetInGameCurrencyExchangeRate: return 310002 + case .requestTypeGameRedeemGoogleReceipt: return 310100 + case .requestTypeGameRedeemAppleReceipt: return 310101 + case .requestTypeGameRedeemDesktopReceipt: return 310102 + case .requestTypeGameRedeemSamsungReceipt: return 310103 + case .requestTypeGameGetAvailableSubscriptions: return 310200 + case .requestTypeGameGetActiveSubscriptions: return 310201 + case .requestTypeRequestGeofenceUpdates1: return 360000 + case .requestTypeUpdatePlayerLocation1: return 360001 + case .requestTypeUpdateBreadcrumbHistory: return 361000 + case .requestTypeRefreshProximityTokens: return 362000 + case .requestTypeReportProximityContacts: return 362001 + case .requestTypeGetGameAccessToken: return 600005 + case .requestTypePlayerSubmissionActionAddNewPoi: return 620000 + case .requestTypePlayerSubmissionActionGetAvailableSubmissions: return 620001 + case .requestTypePlayerSubmissionActionGetSignedURLForPhotoUpload: return 620002 + case .requestTypePlayerSubmissionActionGetPlayerSubmissionValidationSettings: return 620003 + case .requestTypePlayerSubmissionActionD2DAddNewPoi: return 620004 + case .requestTypePlayerSubmissionActionD2DGetSignedURLForPhotoUpload: return 620005 + case .requestTypePlayerSubmissionActionSubmitPoiImage: return 620100 + case .requestTypePlayerSubmissionActionSubmitPoiTextMetadataUpdate: return 620101 + case .requestTypePlayerSubmissionActionSubmitPoiLocationUpdate: return 620102 + case .requestTypePlayerSubmissionActionSubmitPoiTakedownRequest: return 620103 + case .requestTypePlayerSubmissionActionSubmitSponsorPoiReport: return 620104 + case .requestTypePlayerSubmissionActionSubmitSponsorPoiLocationUpdate: return 620105 + case .requestTypePlayerSubmissionActionSubmitPoiCategoryVote: return 620106 + case .requestTypePlayerSubmissionActionD2DSubmitPoiImage: return 620107 + case .requestTypePlayerSubmissionActionD2DSubmitPoiTextMetadataUpdate: return 620108 + case .requestTypePlayerSubmissionActionD2DSubmitPoiLocationUpdate: return 620109 + case .requestTypePlayerSubmissionActionD2DSubmitPoiTakedownRequest: return 620110 + case .requestTypePlayerSubmissionActionAddNewRoute: return 620200 + case .requestTypePlayerSubmissionActionGenerateGmapSignedURL: return 620300 + case .requestTypePlayerSubmissionActionGetGmapSettings: return 620301 + case .requestTypePlayerSubmissionActionSubmitPoiArVideoMetadata: return 620400 + case .requestTypePlayerSubmissionActionGetGrapeshotFileUploadURL: return 620401 + case .requestTypePlayerSubmissionActionAsyncFileUploadComplete: return 620402 + case .requestTypePlayerSubmissionActionGetArMappingSettings: return 620403 + case .requestTypePlayerSubmissionActionD2DSubmitPoiArVideoMetadata: return 620404 + case .requestTypePlayerSubmissionActionD2DGetGrapeshotFileUploadURL: return 620405 + case .requestTypePlayerSubmissionActionD2DAsyncFileUploadComplete: return 620406 + case .requestTypePlayerSubmissionActionSubmitMappingRequest: return 620407 + case .requestTypePlayerSubmissionActionD2DSubmitMappingRequest: return 620408 + case .requestTypePlayerSubmissionActionGetImagesForPoi: return 620500 + case .requestTypePlayerSubmissionActionSubmitPlayerImageVoteForPoi: return 620501 + case .requestTypePlayerSubmissionActionGetImageGallerySettings: return 620502 + case .requestTypePlayerSubmissionActionGetMapData: return 620600 + case .requestTypePlayerSubmissionActionGetPoisInRadius: return 620601 + case .requestTypeUpdateFitnessMetrics1: return 640000 + case .requestTypeGetFitnessReport1: return 640001 + case .requestTypeGetAdventureSyncSettings1: return 640002 + case .requestTypeUpdateAdventureSyncSettings1: return 640003 + case .requestTypeUpdateAdventureSyncFitness: return 640004 + case .requestTypeGetAdventureSyncFitnessReport: return 640005 + case .UNRECOGNIZED(let i): return i + } } - /// Returns true if `playerprofileOutproto121` has been explicitly set. - public var hasPlayerprofileOutproto121: Bool {return _storage._playerprofileOutproto121 != nil} - /// Clears the value of `playerprofileOutproto121`. Subsequent reads from it will return its default value. - public mutating func clearPlayerprofileOutproto121() {_uniqueStorage()._playerprofileOutproto121 = nil} - public var evolvePokemonOutProto125: EvolvePokemonOutProto { - get {return _storage._evolvePokemonOutProto125 ?? EvolvePokemonOutProto()} - set {_uniqueStorage()._evolvePokemonOutProto125 = newValue} - } - /// Returns true if `evolvePokemonOutProto125` has been explicitly set. - public var hasEvolvePokemonOutProto125: Bool {return _storage._evolvePokemonOutProto125 != nil} - /// Clears the value of `evolvePokemonOutProto125`. Subsequent reads from it will return its default value. - public mutating func clearEvolvePokemonOutProto125() {_uniqueStorage()._evolvePokemonOutProto125 = nil} + } - public var getHatchedEggsOutProto126: GetHatchedEggsOutProto { - get {return _storage._getHatchedEggsOutProto126 ?? GetHatchedEggsOutProto()} - set {_uniqueStorage()._getHatchedEggsOutProto126 = newValue} - } - /// Returns true if `getHatchedEggsOutProto126` has been explicitly set. - public var hasGetHatchedEggsOutProto126: Bool {return _storage._getHatchedEggsOutProto126 != nil} - /// Clears the value of `getHatchedEggsOutProto126`. Subsequent reads from it will return its default value. - public mutating func clearGetHatchedEggsOutProto126() {_uniqueStorage()._getHatchedEggsOutProto126 = nil} + public struct AllMessagesProto { + // 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. - public var encounterTutorialCompleteOutProto127: EncounterTutorialCompleteOutProto { - get {return _storage._encounterTutorialCompleteOutProto127 ?? EncounterTutorialCompleteOutProto()} - set {_uniqueStorage()._encounterTutorialCompleteOutProto127 = newValue} + public var getPlayerProto2: GetPlayerProto { + get {return _storage._getPlayerProto2 ?? GetPlayerProto()} + set {_uniqueStorage()._getPlayerProto2 = newValue} } - /// Returns true if `encounterTutorialCompleteOutProto127` has been explicitly set. - public var hasEncounterTutorialCompleteOutProto127: Bool {return _storage._encounterTutorialCompleteOutProto127 != nil} - /// Clears the value of `encounterTutorialCompleteOutProto127`. Subsequent reads from it will return its default value. - public mutating func clearEncounterTutorialCompleteOutProto127() {_uniqueStorage()._encounterTutorialCompleteOutProto127 = nil} + /// Returns true if `getPlayerProto2` has been explicitly set. + public var hasGetPlayerProto2: Bool {return _storage._getPlayerProto2 != nil} + /// Clears the value of `getPlayerProto2`. Subsequent reads from it will return its default value. + public mutating func clearGetPlayerProto2() {_uniqueStorage()._getPlayerProto2 = nil} - public var levelUpRewardsOutProto128: LevelUpRewardsOutProto { - get {return _storage._levelUpRewardsOutProto128 ?? LevelUpRewardsOutProto()} - set {_uniqueStorage()._levelUpRewardsOutProto128 = newValue} + public var getHoloholoInventoryProto4: GetHoloholoInventoryProto { + get {return _storage._getHoloholoInventoryProto4 ?? GetHoloholoInventoryProto()} + set {_uniqueStorage()._getHoloholoInventoryProto4 = newValue} } - /// Returns true if `levelUpRewardsOutProto128` has been explicitly set. - public var hasLevelUpRewardsOutProto128: Bool {return _storage._levelUpRewardsOutProto128 != nil} - /// Clears the value of `levelUpRewardsOutProto128`. Subsequent reads from it will return its default value. - public mutating func clearLevelUpRewardsOutProto128() {_uniqueStorage()._levelUpRewardsOutProto128 = nil} + /// Returns true if `getHoloholoInventoryProto4` has been explicitly set. + public var hasGetHoloholoInventoryProto4: Bool {return _storage._getHoloholoInventoryProto4 != nil} + /// Clears the value of `getHoloholoInventoryProto4`. Subsequent reads from it will return its default value. + public mutating func clearGetHoloholoInventoryProto4() {_uniqueStorage()._getHoloholoInventoryProto4 = nil} - public var checkAwardedBadgesOutProto129: CheckAwardedBadgesOutProto { - get {return _storage._checkAwardedBadgesOutProto129 ?? CheckAwardedBadgesOutProto()} - set {_uniqueStorage()._checkAwardedBadgesOutProto129 = newValue} + public var downloadSettingsActionProto5: DownloadSettingsActionProto { + get {return _storage._downloadSettingsActionProto5 ?? DownloadSettingsActionProto()} + set {_uniqueStorage()._downloadSettingsActionProto5 = newValue} } - /// Returns true if `checkAwardedBadgesOutProto129` has been explicitly set. - public var hasCheckAwardedBadgesOutProto129: Bool {return _storage._checkAwardedBadgesOutProto129 != nil} - /// Clears the value of `checkAwardedBadgesOutProto129`. Subsequent reads from it will return its default value. - public mutating func clearCheckAwardedBadgesOutProto129() {_uniqueStorage()._checkAwardedBadgesOutProto129 = nil} + /// Returns true if `downloadSettingsActionProto5` has been explicitly set. + public var hasDownloadSettingsActionProto5: Bool {return _storage._downloadSettingsActionProto5 != nil} + /// Clears the value of `downloadSettingsActionProto5`. Subsequent reads from it will return its default value. + public mutating func clearDownloadSettingsActionProto5() {_uniqueStorage()._downloadSettingsActionProto5 = nil} - public var recycleItemOutProto137: RecycleItemOutProto { - get {return _storage._recycleItemOutProto137 ?? RecycleItemOutProto()} - set {_uniqueStorage()._recycleItemOutProto137 = newValue} + public var getgameMasterClientTemplatesProto6: GetGameMasterClientTemplatesProto { + get {return _storage._getgameMasterClientTemplatesProto6 ?? GetGameMasterClientTemplatesProto()} + set {_uniqueStorage()._getgameMasterClientTemplatesProto6 = newValue} } - /// Returns true if `recycleItemOutProto137` has been explicitly set. - public var hasRecycleItemOutProto137: Bool {return _storage._recycleItemOutProto137 != nil} - /// Clears the value of `recycleItemOutProto137`. Subsequent reads from it will return its default value. - public mutating func clearRecycleItemOutProto137() {_uniqueStorage()._recycleItemOutProto137 = nil} + /// Returns true if `getgameMasterClientTemplatesProto6` has been explicitly set. + public var hasGetgameMasterClientTemplatesProto6: Bool {return _storage._getgameMasterClientTemplatesProto6 != nil} + /// Clears the value of `getgameMasterClientTemplatesProto6`. Subsequent reads from it will return its default value. + public mutating func clearGetgameMasterClientTemplatesProto6() {_uniqueStorage()._getgameMasterClientTemplatesProto6 = nil} - public var collectDailyBonusOutProto138: CollectDailyBonusOutProto { - get {return _storage._collectDailyBonusOutProto138 ?? CollectDailyBonusOutProto()} - set {_uniqueStorage()._collectDailyBonusOutProto138 = newValue} + public var getRemoteConfigVersionsProto7: GetRemoteConfigVersionsProto { + get {return _storage._getRemoteConfigVersionsProto7 ?? GetRemoteConfigVersionsProto()} + set {_uniqueStorage()._getRemoteConfigVersionsProto7 = newValue} } - /// Returns true if `collectDailyBonusOutProto138` has been explicitly set. - public var hasCollectDailyBonusOutProto138: Bool {return _storage._collectDailyBonusOutProto138 != nil} - /// Clears the value of `collectDailyBonusOutProto138`. Subsequent reads from it will return its default value. - public mutating func clearCollectDailyBonusOutProto138() {_uniqueStorage()._collectDailyBonusOutProto138 = nil} - - public var useItemXpBoostOutProto139: UseItemXpBoostOutProto { - get {return _storage._useItemXpBoostOutProto139 ?? UseItemXpBoostOutProto()} - set {_uniqueStorage()._useItemXpBoostOutProto139 = newValue} - } - /// Returns true if `useItemXpBoostOutProto139` has been explicitly set. - public var hasUseItemXpBoostOutProto139: Bool {return _storage._useItemXpBoostOutProto139 != nil} - /// Clears the value of `useItemXpBoostOutProto139`. Subsequent reads from it will return its default value. - public mutating func clearUseItemXpBoostOutProto139() {_uniqueStorage()._useItemXpBoostOutProto139 = nil} + /// Returns true if `getRemoteConfigVersionsProto7` has been explicitly set. + public var hasGetRemoteConfigVersionsProto7: Bool {return _storage._getRemoteConfigVersionsProto7 != nil} + /// Clears the value of `getRemoteConfigVersionsProto7`. Subsequent reads from it will return its default value. + public mutating func clearGetRemoteConfigVersionsProto7() {_uniqueStorage()._getRemoteConfigVersionsProto7 = nil} - public var useItemEggIncubatorOutProto140: UseItemEggIncubatorOutProto { - get {return _storage._useItemEggIncubatorOutProto140 ?? UseItemEggIncubatorOutProto()} - set {_uniqueStorage()._useItemEggIncubatorOutProto140 = newValue} + public var registerBackgroundDeviceActionProto8: RegisterBackgroundDeviceActionProto { + get {return _storage._registerBackgroundDeviceActionProto8 ?? RegisterBackgroundDeviceActionProto()} + set {_uniqueStorage()._registerBackgroundDeviceActionProto8 = newValue} } - /// Returns true if `useItemEggIncubatorOutProto140` has been explicitly set. - public var hasUseItemEggIncubatorOutProto140: Bool {return _storage._useItemEggIncubatorOutProto140 != nil} - /// Clears the value of `useItemEggIncubatorOutProto140`. Subsequent reads from it will return its default value. - public mutating func clearUseItemEggIncubatorOutProto140() {_uniqueStorage()._useItemEggIncubatorOutProto140 = nil} + /// Returns true if `registerBackgroundDeviceActionProto8` has been explicitly set. + public var hasRegisterBackgroundDeviceActionProto8: Bool {return _storage._registerBackgroundDeviceActionProto8 != nil} + /// Clears the value of `registerBackgroundDeviceActionProto8`. Subsequent reads from it will return its default value. + public mutating func clearRegisterBackgroundDeviceActionProto8() {_uniqueStorage()._registerBackgroundDeviceActionProto8 = nil} - public var useIncenseActionOutProto141: UseIncenseActionOutProto { - get {return _storage._useIncenseActionOutProto141 ?? UseIncenseActionOutProto()} - set {_uniqueStorage()._useIncenseActionOutProto141 = newValue} + public var getPlayerDayProto9: GetPlayerDayProto { + get {return _storage._getPlayerDayProto9 ?? GetPlayerDayProto()} + set {_uniqueStorage()._getPlayerDayProto9 = newValue} } - /// Returns true if `useIncenseActionOutProto141` has been explicitly set. - public var hasUseIncenseActionOutProto141: Bool {return _storage._useIncenseActionOutProto141 != nil} - /// Clears the value of `useIncenseActionOutProto141`. Subsequent reads from it will return its default value. - public mutating func clearUseIncenseActionOutProto141() {_uniqueStorage()._useIncenseActionOutProto141 = nil} + /// Returns true if `getPlayerDayProto9` has been explicitly set. + public var hasGetPlayerDayProto9: Bool {return _storage._getPlayerDayProto9 != nil} + /// Clears the value of `getPlayerDayProto9`. Subsequent reads from it will return its default value. + public mutating func clearGetPlayerDayProto9() {_uniqueStorage()._getPlayerDayProto9 = nil} - public var getIncensePokemonOutProto142: GetIncensePokemonOutProto { - get {return _storage._getIncensePokemonOutProto142 ?? GetIncensePokemonOutProto()} - set {_uniqueStorage()._getIncensePokemonOutProto142 = newValue} + public var acknowledgePunishmentProto10: AcknowledgePunishmentProto { + get {return _storage._acknowledgePunishmentProto10 ?? AcknowledgePunishmentProto()} + set {_uniqueStorage()._acknowledgePunishmentProto10 = newValue} } - /// Returns true if `getIncensePokemonOutProto142` has been explicitly set. - public var hasGetIncensePokemonOutProto142: Bool {return _storage._getIncensePokemonOutProto142 != nil} - /// Clears the value of `getIncensePokemonOutProto142`. Subsequent reads from it will return its default value. - public mutating func clearGetIncensePokemonOutProto142() {_uniqueStorage()._getIncensePokemonOutProto142 = nil} + /// Returns true if `acknowledgePunishmentProto10` has been explicitly set. + public var hasAcknowledgePunishmentProto10: Bool {return _storage._acknowledgePunishmentProto10 != nil} + /// Clears the value of `acknowledgePunishmentProto10`. Subsequent reads from it will return its default value. + public mutating func clearAcknowledgePunishmentProto10() {_uniqueStorage()._acknowledgePunishmentProto10 = nil} - public var incenseEncounterOutProto143: IncenseEncounterOutProto { - get {return _storage._incenseEncounterOutProto143 ?? IncenseEncounterOutProto()} - set {_uniqueStorage()._incenseEncounterOutProto143 = newValue} + public var getServerTimeProto11: GetServerTimeProto { + get {return _storage._getServerTimeProto11 ?? GetServerTimeProto()} + set {_uniqueStorage()._getServerTimeProto11 = newValue} } - /// Returns true if `incenseEncounterOutProto143` has been explicitly set. - public var hasIncenseEncounterOutProto143: Bool {return _storage._incenseEncounterOutProto143 != nil} - /// Clears the value of `incenseEncounterOutProto143`. Subsequent reads from it will return its default value. - public mutating func clearIncenseEncounterOutProto143() {_uniqueStorage()._incenseEncounterOutProto143 = nil} + /// Returns true if `getServerTimeProto11` has been explicitly set. + public var hasGetServerTimeProto11: Bool {return _storage._getServerTimeProto11 != nil} + /// Clears the value of `getServerTimeProto11`. Subsequent reads from it will return its default value. + public mutating func clearGetServerTimeProto11() {_uniqueStorage()._getServerTimeProto11 = nil} - public var addFortModifierOutProto144: AddFortModifierOutProto { - get {return _storage._addFortModifierOutProto144 ?? AddFortModifierOutProto()} - set {_uniqueStorage()._addFortModifierOutProto144 = newValue} + public var getLocalTimeProto12: GetLocalTimeProto { + get {return _storage._getLocalTimeProto12 ?? GetLocalTimeProto()} + set {_uniqueStorage()._getLocalTimeProto12 = newValue} } - /// Returns true if `addFortModifierOutProto144` has been explicitly set. - public var hasAddFortModifierOutProto144: Bool {return _storage._addFortModifierOutProto144 != nil} - /// Clears the value of `addFortModifierOutProto144`. Subsequent reads from it will return its default value. - public mutating func clearAddFortModifierOutProto144() {_uniqueStorage()._addFortModifierOutProto144 = nil} + /// Returns true if `getLocalTimeProto12` has been explicitly set. + public var hasGetLocalTimeProto12: Bool {return _storage._getLocalTimeProto12 != nil} + /// Clears the value of `getLocalTimeProto12`. Subsequent reads from it will return its default value. + public mutating func clearGetLocalTimeProto12() {_uniqueStorage()._getLocalTimeProto12 = nil} - public var diskEncounterOutProto145: DiskEncounterOutProto { - get {return _storage._diskEncounterOutProto145 ?? DiskEncounterOutProto()} - set {_uniqueStorage()._diskEncounterOutProto145 = newValue} + public var fortSearchProto101: FortSearchProto { + get {return _storage._fortSearchProto101 ?? FortSearchProto()} + set {_uniqueStorage()._fortSearchProto101 = newValue} } - /// Returns true if `diskEncounterOutProto145` has been explicitly set. - public var hasDiskEncounterOutProto145: Bool {return _storage._diskEncounterOutProto145 != nil} - /// Clears the value of `diskEncounterOutProto145`. Subsequent reads from it will return its default value. - public mutating func clearDiskEncounterOutProto145() {_uniqueStorage()._diskEncounterOutProto145 = nil} + /// Returns true if `fortSearchProto101` has been explicitly set. + public var hasFortSearchProto101: Bool {return _storage._fortSearchProto101 != nil} + /// Clears the value of `fortSearchProto101`. Subsequent reads from it will return its default value. + public mutating func clearFortSearchProto101() {_uniqueStorage()._fortSearchProto101 = nil} - public var upgradePokemonOutProto147: UpgradePokemonOutProto { - get {return _storage._upgradePokemonOutProto147 ?? UpgradePokemonOutProto()} - set {_uniqueStorage()._upgradePokemonOutProto147 = newValue} + public var encounterProto102: EncounterProto { + get {return _storage._encounterProto102 ?? EncounterProto()} + set {_uniqueStorage()._encounterProto102 = newValue} } - /// Returns true if `upgradePokemonOutProto147` has been explicitly set. - public var hasUpgradePokemonOutProto147: Bool {return _storage._upgradePokemonOutProto147 != nil} - /// Clears the value of `upgradePokemonOutProto147`. Subsequent reads from it will return its default value. - public mutating func clearUpgradePokemonOutProto147() {_uniqueStorage()._upgradePokemonOutProto147 = nil} + /// Returns true if `encounterProto102` has been explicitly set. + public var hasEncounterProto102: Bool {return _storage._encounterProto102 != nil} + /// Clears the value of `encounterProto102`. Subsequent reads from it will return its default value. + public mutating func clearEncounterProto102() {_uniqueStorage()._encounterProto102 = nil} - public var setFavoritePokemonOutProto148: SetFavoritePokemonOutProto { - get {return _storage._setFavoritePokemonOutProto148 ?? SetFavoritePokemonOutProto()} - set {_uniqueStorage()._setFavoritePokemonOutProto148 = newValue} + public var catchPokemonProto103: CatchPokemonProto { + get {return _storage._catchPokemonProto103 ?? CatchPokemonProto()} + set {_uniqueStorage()._catchPokemonProto103 = newValue} } - /// Returns true if `setFavoritePokemonOutProto148` has been explicitly set. - public var hasSetFavoritePokemonOutProto148: Bool {return _storage._setFavoritePokemonOutProto148 != nil} - /// Clears the value of `setFavoritePokemonOutProto148`. Subsequent reads from it will return its default value. - public mutating func clearSetFavoritePokemonOutProto148() {_uniqueStorage()._setFavoritePokemonOutProto148 = nil} + /// Returns true if `catchPokemonProto103` has been explicitly set. + public var hasCatchPokemonProto103: Bool {return _storage._catchPokemonProto103 != nil} + /// Clears the value of `catchPokemonProto103`. Subsequent reads from it will return its default value. + public mutating func clearCatchPokemonProto103() {_uniqueStorage()._catchPokemonProto103 = nil} - public var nicknamePokemonOutProto149: NicknamePokemonOutProto { - get {return _storage._nicknamePokemonOutProto149 ?? NicknamePokemonOutProto()} - set {_uniqueStorage()._nicknamePokemonOutProto149 = newValue} + public var fortDetailsProto104: FortDetailsProto { + get {return _storage._fortDetailsProto104 ?? FortDetailsProto()} + set {_uniqueStorage()._fortDetailsProto104 = newValue} } - /// Returns true if `nicknamePokemonOutProto149` has been explicitly set. - public var hasNicknamePokemonOutProto149: Bool {return _storage._nicknamePokemonOutProto149 != nil} - /// Clears the value of `nicknamePokemonOutProto149`. Subsequent reads from it will return its default value. - public mutating func clearNicknamePokemonOutProto149() {_uniqueStorage()._nicknamePokemonOutProto149 = nil} + /// Returns true if `fortDetailsProto104` has been explicitly set. + public var hasFortDetailsProto104: Bool {return _storage._fortDetailsProto104 != nil} + /// Clears the value of `fortDetailsProto104`. Subsequent reads from it will return its default value. + public mutating func clearFortDetailsProto104() {_uniqueStorage()._fortDetailsProto104 = nil} - public var equipBadgeOutProto150: EquipBadgeOutProto { - get {return _storage._equipBadgeOutProto150 ?? EquipBadgeOutProto()} - set {_uniqueStorage()._equipBadgeOutProto150 = newValue} + public var getMapObjectsProto106: GetMapObjectsProto { + get {return _storage._getMapObjectsProto106 ?? GetMapObjectsProto()} + set {_uniqueStorage()._getMapObjectsProto106 = newValue} } - /// Returns true if `equipBadgeOutProto150` has been explicitly set. - public var hasEquipBadgeOutProto150: Bool {return _storage._equipBadgeOutProto150 != nil} - /// Clears the value of `equipBadgeOutProto150`. Subsequent reads from it will return its default value. - public mutating func clearEquipBadgeOutProto150() {_uniqueStorage()._equipBadgeOutProto150 = nil} + /// Returns true if `getMapObjectsProto106` has been explicitly set. + public var hasGetMapObjectsProto106: Bool {return _storage._getMapObjectsProto106 != nil} + /// Clears the value of `getMapObjectsProto106`. Subsequent reads from it will return its default value. + public mutating func clearGetMapObjectsProto106() {_uniqueStorage()._getMapObjectsProto106 = nil} - public var setContactsettingsOutProto151: SetContactSettingsOutProto { - get {return _storage._setContactsettingsOutProto151 ?? SetContactSettingsOutProto()} - set {_uniqueStorage()._setContactsettingsOutProto151 = newValue} + public var fortDeployProto110: FortDeployProto { + get {return _storage._fortDeployProto110 ?? FortDeployProto()} + set {_uniqueStorage()._fortDeployProto110 = newValue} } - /// Returns true if `setContactsettingsOutProto151` has been explicitly set. - public var hasSetContactsettingsOutProto151: Bool {return _storage._setContactsettingsOutProto151 != nil} - /// Clears the value of `setContactsettingsOutProto151`. Subsequent reads from it will return its default value. - public mutating func clearSetContactsettingsOutProto151() {_uniqueStorage()._setContactsettingsOutProto151 = nil} + /// Returns true if `fortDeployProto110` has been explicitly set. + public var hasFortDeployProto110: Bool {return _storage._fortDeployProto110 != nil} + /// Clears the value of `fortDeployProto110`. Subsequent reads from it will return its default value. + public mutating func clearFortDeployProto110() {_uniqueStorage()._fortDeployProto110 = nil} - public var setBuddyPokemonOutProto152: SetBuddyPokemonOutProto { - get {return _storage._setBuddyPokemonOutProto152 ?? SetBuddyPokemonOutProto()} - set {_uniqueStorage()._setBuddyPokemonOutProto152 = newValue} + public var fortRecallProto111: FortRecallProto { + get {return _storage._fortRecallProto111 ?? FortRecallProto()} + set {_uniqueStorage()._fortRecallProto111 = newValue} } - /// Returns true if `setBuddyPokemonOutProto152` has been explicitly set. - public var hasSetBuddyPokemonOutProto152: Bool {return _storage._setBuddyPokemonOutProto152 != nil} - /// Clears the value of `setBuddyPokemonOutProto152`. Subsequent reads from it will return its default value. - public mutating func clearSetBuddyPokemonOutProto152() {_uniqueStorage()._setBuddyPokemonOutProto152 = nil} + /// Returns true if `fortRecallProto111` has been explicitly set. + public var hasFortRecallProto111: Bool {return _storage._fortRecallProto111 != nil} + /// Clears the value of `fortRecallProto111`. Subsequent reads from it will return its default value. + public mutating func clearFortRecallProto111() {_uniqueStorage()._fortRecallProto111 = nil} - public var getBuddyWalkedOutProto153: GetBuddyWalkedOutProto { - get {return _storage._getBuddyWalkedOutProto153 ?? GetBuddyWalkedOutProto()} - set {_uniqueStorage()._getBuddyWalkedOutProto153 = newValue} + public var releasePokemonProto112: ReleasePokemonProto { + get {return _storage._releasePokemonProto112 ?? ReleasePokemonProto()} + set {_uniqueStorage()._releasePokemonProto112 = newValue} } - /// Returns true if `getBuddyWalkedOutProto153` has been explicitly set. - public var hasGetBuddyWalkedOutProto153: Bool {return _storage._getBuddyWalkedOutProto153 != nil} - /// Clears the value of `getBuddyWalkedOutProto153`. Subsequent reads from it will return its default value. - public mutating func clearGetBuddyWalkedOutProto153() {_uniqueStorage()._getBuddyWalkedOutProto153 = nil} + /// Returns true if `releasePokemonProto112` has been explicitly set. + public var hasReleasePokemonProto112: Bool {return _storage._releasePokemonProto112 != nil} + /// Clears the value of `releasePokemonProto112`. Subsequent reads from it will return its default value. + public mutating func clearReleasePokemonProto112() {_uniqueStorage()._releasePokemonProto112 = nil} - public var useItemEncounterOutProto154: UseItemEncounterOutProto { - get {return _storage._useItemEncounterOutProto154 ?? UseItemEncounterOutProto()} - set {_uniqueStorage()._useItemEncounterOutProto154 = newValue} + public var useItemPotionProto113: UseItemPotionProto { + get {return _storage._useItemPotionProto113 ?? UseItemPotionProto()} + set {_uniqueStorage()._useItemPotionProto113 = newValue} } - /// Returns true if `useItemEncounterOutProto154` has been explicitly set. - public var hasUseItemEncounterOutProto154: Bool {return _storage._useItemEncounterOutProto154 != nil} - /// Clears the value of `useItemEncounterOutProto154`. Subsequent reads from it will return its default value. - public mutating func clearUseItemEncounterOutProto154() {_uniqueStorage()._useItemEncounterOutProto154 = nil} + /// Returns true if `useItemPotionProto113` has been explicitly set. + public var hasUseItemPotionProto113: Bool {return _storage._useItemPotionProto113 != nil} + /// Clears the value of `useItemPotionProto113`. Subsequent reads from it will return its default value. + public mutating func clearUseItemPotionProto113() {_uniqueStorage()._useItemPotionProto113 = nil} - public var gymDeployOutProto155: GymDeployOutProto { - get {return _storage._gymDeployOutProto155 ?? GymDeployOutProto()} - set {_uniqueStorage()._gymDeployOutProto155 = newValue} + public var useItemCaptureProto114: UseItemCaptureProto { + get {return _storage._useItemCaptureProto114 ?? UseItemCaptureProto()} + set {_uniqueStorage()._useItemCaptureProto114 = newValue} } - /// Returns true if `gymDeployOutProto155` has been explicitly set. - public var hasGymDeployOutProto155: Bool {return _storage._gymDeployOutProto155 != nil} - /// Clears the value of `gymDeployOutProto155`. Subsequent reads from it will return its default value. - public mutating func clearGymDeployOutProto155() {_uniqueStorage()._gymDeployOutProto155 = nil} + /// Returns true if `useItemCaptureProto114` has been explicitly set. + public var hasUseItemCaptureProto114: Bool {return _storage._useItemCaptureProto114 != nil} + /// Clears the value of `useItemCaptureProto114`. Subsequent reads from it will return its default value. + public mutating func clearUseItemCaptureProto114() {_uniqueStorage()._useItemCaptureProto114 = nil} - public var gymgetInfoOutProto156: GymGetInfoOutProto { - get {return _storage._gymgetInfoOutProto156 ?? GymGetInfoOutProto()} - set {_uniqueStorage()._gymgetInfoOutProto156 = newValue} + public var useItemReviveProto116: UseItemReviveProto { + get {return _storage._useItemReviveProto116 ?? UseItemReviveProto()} + set {_uniqueStorage()._useItemReviveProto116 = newValue} } - /// Returns true if `gymgetInfoOutProto156` has been explicitly set. - public var hasGymgetInfoOutProto156: Bool {return _storage._gymgetInfoOutProto156 != nil} - /// Clears the value of `gymgetInfoOutProto156`. Subsequent reads from it will return its default value. - public mutating func clearGymgetInfoOutProto156() {_uniqueStorage()._gymgetInfoOutProto156 = nil} + /// Returns true if `useItemReviveProto116` has been explicitly set. + public var hasUseItemReviveProto116: Bool {return _storage._useItemReviveProto116 != nil} + /// Clears the value of `useItemReviveProto116`. Subsequent reads from it will return its default value. + public mutating func clearUseItemReviveProto116() {_uniqueStorage()._useItemReviveProto116 = nil} - public var gymStartSessionOutProto157: GymStartSessionOutProto { - get {return _storage._gymStartSessionOutProto157 ?? GymStartSessionOutProto()} - set {_uniqueStorage()._gymStartSessionOutProto157 = newValue} + public var playerprofileproto121: PlayerProfileProto { + get {return _storage._playerprofileproto121 ?? PlayerProfileProto()} + set {_uniqueStorage()._playerprofileproto121 = newValue} } - /// Returns true if `gymStartSessionOutProto157` has been explicitly set. - public var hasGymStartSessionOutProto157: Bool {return _storage._gymStartSessionOutProto157 != nil} - /// Clears the value of `gymStartSessionOutProto157`. Subsequent reads from it will return its default value. - public mutating func clearGymStartSessionOutProto157() {_uniqueStorage()._gymStartSessionOutProto157 = nil} + /// Returns true if `playerprofileproto121` has been explicitly set. + public var hasPlayerprofileproto121: Bool {return _storage._playerprofileproto121 != nil} + /// Clears the value of `playerprofileproto121`. Subsequent reads from it will return its default value. + public mutating func clearPlayerprofileproto121() {_uniqueStorage()._playerprofileproto121 = nil} - public var gymBattleAttackOutProto158: GymBattleAttackOutProto { - get {return _storage._gymBattleAttackOutProto158 ?? GymBattleAttackOutProto()} - set {_uniqueStorage()._gymBattleAttackOutProto158 = newValue} + public var evolvePokemonProto125: EvolvePokemonProto { + get {return _storage._evolvePokemonProto125 ?? EvolvePokemonProto()} + set {_uniqueStorage()._evolvePokemonProto125 = newValue} } - /// Returns true if `gymBattleAttackOutProto158` has been explicitly set. - public var hasGymBattleAttackOutProto158: Bool {return _storage._gymBattleAttackOutProto158 != nil} - /// Clears the value of `gymBattleAttackOutProto158`. Subsequent reads from it will return its default value. - public mutating func clearGymBattleAttackOutProto158() {_uniqueStorage()._gymBattleAttackOutProto158 = nil} + /// Returns true if `evolvePokemonProto125` has been explicitly set. + public var hasEvolvePokemonProto125: Bool {return _storage._evolvePokemonProto125 != nil} + /// Clears the value of `evolvePokemonProto125`. Subsequent reads from it will return its default value. + public mutating func clearEvolvePokemonProto125() {_uniqueStorage()._evolvePokemonProto125 = nil} - public var joinLobbyOutProto159: JoinLobbyOutProto { - get {return _storage._joinLobbyOutProto159 ?? JoinLobbyOutProto()} - set {_uniqueStorage()._joinLobbyOutProto159 = newValue} + public var getHatchedEggsProto126: GetHatchedEggsProto { + get {return _storage._getHatchedEggsProto126 ?? GetHatchedEggsProto()} + set {_uniqueStorage()._getHatchedEggsProto126 = newValue} } - /// Returns true if `joinLobbyOutProto159` has been explicitly set. - public var hasJoinLobbyOutProto159: Bool {return _storage._joinLobbyOutProto159 != nil} - /// Clears the value of `joinLobbyOutProto159`. Subsequent reads from it will return its default value. - public mutating func clearJoinLobbyOutProto159() {_uniqueStorage()._joinLobbyOutProto159 = nil} + /// Returns true if `getHatchedEggsProto126` has been explicitly set. + public var hasGetHatchedEggsProto126: Bool {return _storage._getHatchedEggsProto126 != nil} + /// Clears the value of `getHatchedEggsProto126`. Subsequent reads from it will return its default value. + public mutating func clearGetHatchedEggsProto126() {_uniqueStorage()._getHatchedEggsProto126 = nil} - public var leavelobbyOutProto160: LeaveLobbyOutProto { - get {return _storage._leavelobbyOutProto160 ?? LeaveLobbyOutProto()} - set {_uniqueStorage()._leavelobbyOutProto160 = newValue} + public var encounterTutorialCompleteProto127: EncounterTutorialCompleteProto { + get {return _storage._encounterTutorialCompleteProto127 ?? EncounterTutorialCompleteProto()} + set {_uniqueStorage()._encounterTutorialCompleteProto127 = newValue} } - /// Returns true if `leavelobbyOutProto160` has been explicitly set. - public var hasLeavelobbyOutProto160: Bool {return _storage._leavelobbyOutProto160 != nil} - /// Clears the value of `leavelobbyOutProto160`. Subsequent reads from it will return its default value. - public mutating func clearLeavelobbyOutProto160() {_uniqueStorage()._leavelobbyOutProto160 = nil} + /// Returns true if `encounterTutorialCompleteProto127` has been explicitly set. + public var hasEncounterTutorialCompleteProto127: Bool {return _storage._encounterTutorialCompleteProto127 != nil} + /// Clears the value of `encounterTutorialCompleteProto127`. Subsequent reads from it will return its default value. + public mutating func clearEncounterTutorialCompleteProto127() {_uniqueStorage()._encounterTutorialCompleteProto127 = nil} - public var setLobbyVisibilityOutProto161: SetLobbyVisibilityOutProto { - get {return _storage._setLobbyVisibilityOutProto161 ?? SetLobbyVisibilityOutProto()} - set {_uniqueStorage()._setLobbyVisibilityOutProto161 = newValue} + public var levelUpRewardsProto128: LevelUpRewardsProto { + get {return _storage._levelUpRewardsProto128 ?? LevelUpRewardsProto()} + set {_uniqueStorage()._levelUpRewardsProto128 = newValue} } - /// Returns true if `setLobbyVisibilityOutProto161` has been explicitly set. - public var hasSetLobbyVisibilityOutProto161: Bool {return _storage._setLobbyVisibilityOutProto161 != nil} - /// Clears the value of `setLobbyVisibilityOutProto161`. Subsequent reads from it will return its default value. - public mutating func clearSetLobbyVisibilityOutProto161() {_uniqueStorage()._setLobbyVisibilityOutProto161 = nil} + /// Returns true if `levelUpRewardsProto128` has been explicitly set. + public var hasLevelUpRewardsProto128: Bool {return _storage._levelUpRewardsProto128 != nil} + /// Clears the value of `levelUpRewardsProto128`. Subsequent reads from it will return its default value. + public mutating func clearLevelUpRewardsProto128() {_uniqueStorage()._levelUpRewardsProto128 = nil} - public var setLobbyPokemonOutProto162: SetLobbyPokemonOutProto { - get {return _storage._setLobbyPokemonOutProto162 ?? SetLobbyPokemonOutProto()} - set {_uniqueStorage()._setLobbyPokemonOutProto162 = newValue} + public var checkAwardedBadgesProto129: CheckAwardedBadgesProto { + get {return _storage._checkAwardedBadgesProto129 ?? CheckAwardedBadgesProto()} + set {_uniqueStorage()._checkAwardedBadgesProto129 = newValue} } - /// Returns true if `setLobbyPokemonOutProto162` has been explicitly set. - public var hasSetLobbyPokemonOutProto162: Bool {return _storage._setLobbyPokemonOutProto162 != nil} - /// Clears the value of `setLobbyPokemonOutProto162`. Subsequent reads from it will return its default value. - public mutating func clearSetLobbyPokemonOutProto162() {_uniqueStorage()._setLobbyPokemonOutProto162 = nil} + /// Returns true if `checkAwardedBadgesProto129` has been explicitly set. + public var hasCheckAwardedBadgesProto129: Bool {return _storage._checkAwardedBadgesProto129 != nil} + /// Clears the value of `checkAwardedBadgesProto129`. Subsequent reads from it will return its default value. + public mutating func clearCheckAwardedBadgesProto129() {_uniqueStorage()._checkAwardedBadgesProto129 = nil} - public var getRaidDetailsOutProto163: GetRaidDetailsOutProto { - get {return _storage._getRaidDetailsOutProto163 ?? GetRaidDetailsOutProto()} - set {_uniqueStorage()._getRaidDetailsOutProto163 = newValue} + public var recycleItemProto137: RecycleItemProto { + get {return _storage._recycleItemProto137 ?? RecycleItemProto()} + set {_uniqueStorage()._recycleItemProto137 = newValue} } - /// Returns true if `getRaidDetailsOutProto163` has been explicitly set. - public var hasGetRaidDetailsOutProto163: Bool {return _storage._getRaidDetailsOutProto163 != nil} - /// Clears the value of `getRaidDetailsOutProto163`. Subsequent reads from it will return its default value. - public mutating func clearGetRaidDetailsOutProto163() {_uniqueStorage()._getRaidDetailsOutProto163 = nil} + /// Returns true if `recycleItemProto137` has been explicitly set. + public var hasRecycleItemProto137: Bool {return _storage._recycleItemProto137 != nil} + /// Clears the value of `recycleItemProto137`. Subsequent reads from it will return its default value. + public mutating func clearRecycleItemProto137() {_uniqueStorage()._recycleItemProto137 = nil} - public var gymFeedPokemonOutProto164: GymFeedPokemonOutProto { - get {return _storage._gymFeedPokemonOutProto164 ?? GymFeedPokemonOutProto()} - set {_uniqueStorage()._gymFeedPokemonOutProto164 = newValue} + public var collectDailyBonusProto138: CollectDailyBonusProto { + get {return _storage._collectDailyBonusProto138 ?? CollectDailyBonusProto()} + set {_uniqueStorage()._collectDailyBonusProto138 = newValue} } - /// Returns true if `gymFeedPokemonOutProto164` has been explicitly set. - public var hasGymFeedPokemonOutProto164: Bool {return _storage._gymFeedPokemonOutProto164 != nil} - /// Clears the value of `gymFeedPokemonOutProto164`. Subsequent reads from it will return its default value. - public mutating func clearGymFeedPokemonOutProto164() {_uniqueStorage()._gymFeedPokemonOutProto164 = nil} + /// Returns true if `collectDailyBonusProto138` has been explicitly set. + public var hasCollectDailyBonusProto138: Bool {return _storage._collectDailyBonusProto138 != nil} + /// Clears the value of `collectDailyBonusProto138`. Subsequent reads from it will return its default value. + public mutating func clearCollectDailyBonusProto138() {_uniqueStorage()._collectDailyBonusProto138 = nil} - public var startRaidBattleOutProto165: StartRaidBattleOutProto { - get {return _storage._startRaidBattleOutProto165 ?? StartRaidBattleOutProto()} - set {_uniqueStorage()._startRaidBattleOutProto165 = newValue} + public var useItemXpBoostProto139: UseItemXpBoostProto { + get {return _storage._useItemXpBoostProto139 ?? UseItemXpBoostProto()} + set {_uniqueStorage()._useItemXpBoostProto139 = newValue} } - /// Returns true if `startRaidBattleOutProto165` has been explicitly set. - public var hasStartRaidBattleOutProto165: Bool {return _storage._startRaidBattleOutProto165 != nil} - /// Clears the value of `startRaidBattleOutProto165`. Subsequent reads from it will return its default value. - public mutating func clearStartRaidBattleOutProto165() {_uniqueStorage()._startRaidBattleOutProto165 = nil} + /// Returns true if `useItemXpBoostProto139` has been explicitly set. + public var hasUseItemXpBoostProto139: Bool {return _storage._useItemXpBoostProto139 != nil} + /// Clears the value of `useItemXpBoostProto139`. Subsequent reads from it will return its default value. + public mutating func clearUseItemXpBoostProto139() {_uniqueStorage()._useItemXpBoostProto139 = nil} - public var attackRaidBattleOutProto166: AttackRaidBattleOutProto { - get {return _storage._attackRaidBattleOutProto166 ?? AttackRaidBattleOutProto()} - set {_uniqueStorage()._attackRaidBattleOutProto166 = newValue} + public var useItemEggIncubatorProto140: UseItemEggIncubatorProto { + get {return _storage._useItemEggIncubatorProto140 ?? UseItemEggIncubatorProto()} + set {_uniqueStorage()._useItemEggIncubatorProto140 = newValue} } - /// Returns true if `attackRaidBattleOutProto166` has been explicitly set. - public var hasAttackRaidBattleOutProto166: Bool {return _storage._attackRaidBattleOutProto166 != nil} - /// Clears the value of `attackRaidBattleOutProto166`. Subsequent reads from it will return its default value. - public mutating func clearAttackRaidBattleOutProto166() {_uniqueStorage()._attackRaidBattleOutProto166 = nil} + /// Returns true if `useItemEggIncubatorProto140` has been explicitly set. + public var hasUseItemEggIncubatorProto140: Bool {return _storage._useItemEggIncubatorProto140 != nil} + /// Clears the value of `useItemEggIncubatorProto140`. Subsequent reads from it will return its default value. + public mutating func clearUseItemEggIncubatorProto140() {_uniqueStorage()._useItemEggIncubatorProto140 = nil} - public var useItemStardustBoostOutProto168: UseItemStardustBoostOutProto { - get {return _storage._useItemStardustBoostOutProto168 ?? UseItemStardustBoostOutProto()} - set {_uniqueStorage()._useItemStardustBoostOutProto168 = newValue} + public var useIncenseActionProto141: UseIncenseActionProto { + get {return _storage._useIncenseActionProto141 ?? UseIncenseActionProto()} + set {_uniqueStorage()._useIncenseActionProto141 = newValue} } - /// Returns true if `useItemStardustBoostOutProto168` has been explicitly set. - public var hasUseItemStardustBoostOutProto168: Bool {return _storage._useItemStardustBoostOutProto168 != nil} - /// Clears the value of `useItemStardustBoostOutProto168`. Subsequent reads from it will return its default value. - public mutating func clearUseItemStardustBoostOutProto168() {_uniqueStorage()._useItemStardustBoostOutProto168 = nil} + /// Returns true if `useIncenseActionProto141` has been explicitly set. + public var hasUseIncenseActionProto141: Bool {return _storage._useIncenseActionProto141 != nil} + /// Clears the value of `useIncenseActionProto141`. Subsequent reads from it will return its default value. + public mutating func clearUseIncenseActionProto141() {_uniqueStorage()._useIncenseActionProto141 = nil} - public var reassignPlayerOutProto169: ReassignPlayerOutProto { - get {return _storage._reassignPlayerOutProto169 ?? ReassignPlayerOutProto()} - set {_uniqueStorage()._reassignPlayerOutProto169 = newValue} + public var getIncensePokemonProto142: GetIncensePokemonProto { + get {return _storage._getIncensePokemonProto142 ?? GetIncensePokemonProto()} + set {_uniqueStorage()._getIncensePokemonProto142 = newValue} } - /// Returns true if `reassignPlayerOutProto169` has been explicitly set. - public var hasReassignPlayerOutProto169: Bool {return _storage._reassignPlayerOutProto169 != nil} - /// Clears the value of `reassignPlayerOutProto169`. Subsequent reads from it will return its default value. - public mutating func clearReassignPlayerOutProto169() {_uniqueStorage()._reassignPlayerOutProto169 = nil} + /// Returns true if `getIncensePokemonProto142` has been explicitly set. + public var hasGetIncensePokemonProto142: Bool {return _storage._getIncensePokemonProto142 != nil} + /// Clears the value of `getIncensePokemonProto142`. Subsequent reads from it will return its default value. + public mutating func clearGetIncensePokemonProto142() {_uniqueStorage()._getIncensePokemonProto142 = nil} - public var convertcandyToXlcandyOutProto171: ConvertCandyToXlCandyOutProto { - get {return _storage._convertcandyToXlcandyOutProto171 ?? ConvertCandyToXlCandyOutProto()} - set {_uniqueStorage()._convertcandyToXlcandyOutProto171 = newValue} + public var incenseEncounterProto143: IncenseEncounterProto { + get {return _storage._incenseEncounterProto143 ?? IncenseEncounterProto()} + set {_uniqueStorage()._incenseEncounterProto143 = newValue} } - /// Returns true if `convertcandyToXlcandyOutProto171` has been explicitly set. - public var hasConvertcandyToXlcandyOutProto171: Bool {return _storage._convertcandyToXlcandyOutProto171 != nil} - /// Clears the value of `convertcandyToXlcandyOutProto171`. Subsequent reads from it will return its default value. - public mutating func clearConvertcandyToXlcandyOutProto171() {_uniqueStorage()._convertcandyToXlcandyOutProto171 = nil} + /// Returns true if `incenseEncounterProto143` has been explicitly set. + public var hasIncenseEncounterProto143: Bool {return _storage._incenseEncounterProto143 != nil} + /// Clears the value of `incenseEncounterProto143`. Subsequent reads from it will return its default value. + public mutating func clearIncenseEncounterProto143() {_uniqueStorage()._incenseEncounterProto143 = nil} - public var isSkuAvailableOutProto172: IsSkuAvailableOutProto { - get {return _storage._isSkuAvailableOutProto172 ?? IsSkuAvailableOutProto()} - set {_uniqueStorage()._isSkuAvailableOutProto172 = newValue} + public var addFortModifierProto144: AddFortModifierProto { + get {return _storage._addFortModifierProto144 ?? AddFortModifierProto()} + set {_uniqueStorage()._addFortModifierProto144 = newValue} } - /// Returns true if `isSkuAvailableOutProto172` has been explicitly set. - public var hasIsSkuAvailableOutProto172: Bool {return _storage._isSkuAvailableOutProto172 != nil} - /// Clears the value of `isSkuAvailableOutProto172`. Subsequent reads from it will return its default value. - public mutating func clearIsSkuAvailableOutProto172() {_uniqueStorage()._isSkuAvailableOutProto172 = nil} + /// Returns true if `addFortModifierProto144` has been explicitly set. + public var hasAddFortModifierProto144: Bool {return _storage._addFortModifierProto144 != nil} + /// Clears the value of `addFortModifierProto144`. Subsequent reads from it will return its default value. + public mutating func clearAddFortModifierProto144() {_uniqueStorage()._addFortModifierProto144 = nil} - public var assetDigestOutProto300: AssetDigestOutProto { - get {return _storage._assetDigestOutProto300 ?? AssetDigestOutProto()} - set {_uniqueStorage()._assetDigestOutProto300 = newValue} + public var diskEncounterProto145: DiskEncounterProto { + get {return _storage._diskEncounterProto145 ?? DiskEncounterProto()} + set {_uniqueStorage()._diskEncounterProto145 = newValue} } - /// Returns true if `assetDigestOutProto300` has been explicitly set. - public var hasAssetDigestOutProto300: Bool {return _storage._assetDigestOutProto300 != nil} - /// Clears the value of `assetDigestOutProto300`. Subsequent reads from it will return its default value. - public mutating func clearAssetDigestOutProto300() {_uniqueStorage()._assetDigestOutProto300 = nil} + /// Returns true if `diskEncounterProto145` has been explicitly set. + public var hasDiskEncounterProto145: Bool {return _storage._diskEncounterProto145 != nil} + /// Clears the value of `diskEncounterProto145`. Subsequent reads from it will return its default value. + public mutating func clearDiskEncounterProto145() {_uniqueStorage()._diskEncounterProto145 = nil} - public var downloadURLOutProto301: DownloadUrlOutProto { - get {return _storage._downloadURLOutProto301 ?? DownloadUrlOutProto()} - set {_uniqueStorage()._downloadURLOutProto301 = newValue} + public var upgradePokemonProto147: UpgradePokemonProto { + get {return _storage._upgradePokemonProto147 ?? UpgradePokemonProto()} + set {_uniqueStorage()._upgradePokemonProto147 = newValue} } - /// Returns true if `downloadURLOutProto301` has been explicitly set. - public var hasDownloadURLOutProto301: Bool {return _storage._downloadURLOutProto301 != nil} - /// Clears the value of `downloadURLOutProto301`. Subsequent reads from it will return its default value. - public mutating func clearDownloadURLOutProto301() {_uniqueStorage()._downloadURLOutProto301 = nil} + /// Returns true if `upgradePokemonProto147` has been explicitly set. + public var hasUpgradePokemonProto147: Bool {return _storage._upgradePokemonProto147 != nil} + /// Clears the value of `upgradePokemonProto147`. Subsequent reads from it will return its default value. + public mutating func clearUpgradePokemonProto147() {_uniqueStorage()._upgradePokemonProto147 = nil} - public var assetVersionOutProto302: AssetVersionOutProto { - get {return _storage._assetVersionOutProto302 ?? AssetVersionOutProto()} - set {_uniqueStorage()._assetVersionOutProto302 = newValue} + public var setFavoritePokemonProto148: SetFavoritePokemonProto { + get {return _storage._setFavoritePokemonProto148 ?? SetFavoritePokemonProto()} + set {_uniqueStorage()._setFavoritePokemonProto148 = newValue} } - /// Returns true if `assetVersionOutProto302` has been explicitly set. - public var hasAssetVersionOutProto302: Bool {return _storage._assetVersionOutProto302 != nil} - /// Clears the value of `assetVersionOutProto302`. Subsequent reads from it will return its default value. - public mutating func clearAssetVersionOutProto302() {_uniqueStorage()._assetVersionOutProto302 = nil} + /// Returns true if `setFavoritePokemonProto148` has been explicitly set. + public var hasSetFavoritePokemonProto148: Bool {return _storage._setFavoritePokemonProto148 != nil} + /// Clears the value of `setFavoritePokemonProto148`. Subsequent reads from it will return its default value. + public mutating func clearSetFavoritePokemonProto148() {_uniqueStorage()._setFavoritePokemonProto148 = nil} - public var codenameResultProto403: CodenameResultProto { - get {return _storage._codenameResultProto403 ?? CodenameResultProto()} - set {_uniqueStorage()._codenameResultProto403 = newValue} + public var nicknamePokemonProto149: NicknamePokemonProto { + get {return _storage._nicknamePokemonProto149 ?? NicknamePokemonProto()} + set {_uniqueStorage()._nicknamePokemonProto149 = newValue} } - /// Returns true if `codenameResultProto403` has been explicitly set. - public var hasCodenameResultProto403: Bool {return _storage._codenameResultProto403 != nil} - /// Clears the value of `codenameResultProto403`. Subsequent reads from it will return its default value. - public mutating func clearCodenameResultProto403() {_uniqueStorage()._codenameResultProto403 = nil} + /// Returns true if `nicknamePokemonProto149` has been explicitly set. + public var hasNicknamePokemonProto149: Bool {return _storage._nicknamePokemonProto149 != nil} + /// Clears the value of `nicknamePokemonProto149`. Subsequent reads from it will return its default value. + public mutating func clearNicknamePokemonProto149() {_uniqueStorage()._nicknamePokemonProto149 = nil} - public var setAvatarOutProto404: SetAvatarOutProto { - get {return _storage._setAvatarOutProto404 ?? SetAvatarOutProto()} - set {_uniqueStorage()._setAvatarOutProto404 = newValue} + public var setContactsettingsProto151: SetContactSettingsProto { + get {return _storage._setContactsettingsProto151 ?? SetContactSettingsProto()} + set {_uniqueStorage()._setContactsettingsProto151 = newValue} } - /// Returns true if `setAvatarOutProto404` has been explicitly set. - public var hasSetAvatarOutProto404: Bool {return _storage._setAvatarOutProto404 != nil} - /// Clears the value of `setAvatarOutProto404`. Subsequent reads from it will return its default value. - public mutating func clearSetAvatarOutProto404() {_uniqueStorage()._setAvatarOutProto404 = nil} + /// Returns true if `setContactsettingsProto151` has been explicitly set. + public var hasSetContactsettingsProto151: Bool {return _storage._setContactsettingsProto151 != nil} + /// Clears the value of `setContactsettingsProto151`. Subsequent reads from it will return its default value. + public mutating func clearSetContactsettingsProto151() {_uniqueStorage()._setContactsettingsProto151 = nil} - public var setPlayerTeamOutProto405: SetPlayerTeamOutProto { - get {return _storage._setPlayerTeamOutProto405 ?? SetPlayerTeamOutProto()} - set {_uniqueStorage()._setPlayerTeamOutProto405 = newValue} + public var setBuddyPokemonProto152: SetBuddyPokemonProto { + get {return _storage._setBuddyPokemonProto152 ?? SetBuddyPokemonProto()} + set {_uniqueStorage()._setBuddyPokemonProto152 = newValue} } - /// Returns true if `setPlayerTeamOutProto405` has been explicitly set. - public var hasSetPlayerTeamOutProto405: Bool {return _storage._setPlayerTeamOutProto405 != nil} - /// Clears the value of `setPlayerTeamOutProto405`. Subsequent reads from it will return its default value. - public mutating func clearSetPlayerTeamOutProto405() {_uniqueStorage()._setPlayerTeamOutProto405 = nil} + /// Returns true if `setBuddyPokemonProto152` has been explicitly set. + public var hasSetBuddyPokemonProto152: Bool {return _storage._setBuddyPokemonProto152 != nil} + /// Clears the value of `setBuddyPokemonProto152`. Subsequent reads from it will return its default value. + public mutating func clearSetBuddyPokemonProto152() {_uniqueStorage()._setBuddyPokemonProto152 = nil} - public var markTutorialCompleteOutProto406: MarkTutorialCompleteOutProto { - get {return _storage._markTutorialCompleteOutProto406 ?? MarkTutorialCompleteOutProto()} - set {_uniqueStorage()._markTutorialCompleteOutProto406 = newValue} + public var getBuddyWalkedProto153: GetBuddyWalkedProto { + get {return _storage._getBuddyWalkedProto153 ?? GetBuddyWalkedProto()} + set {_uniqueStorage()._getBuddyWalkedProto153 = newValue} } - /// Returns true if `markTutorialCompleteOutProto406` has been explicitly set. - public var hasMarkTutorialCompleteOutProto406: Bool {return _storage._markTutorialCompleteOutProto406 != nil} - /// Clears the value of `markTutorialCompleteOutProto406`. Subsequent reads from it will return its default value. - public mutating func clearMarkTutorialCompleteOutProto406() {_uniqueStorage()._markTutorialCompleteOutProto406 = nil} + /// Returns true if `getBuddyWalkedProto153` has been explicitly set. + public var hasGetBuddyWalkedProto153: Bool {return _storage._getBuddyWalkedProto153 != nil} + /// Clears the value of `getBuddyWalkedProto153`. Subsequent reads from it will return its default value. + public mutating func clearGetBuddyWalkedProto153() {_uniqueStorage()._getBuddyWalkedProto153 = nil} - public var setNeutralAvatarOutProto408: SetNeutralAvatarOutProto { - get {return _storage._setNeutralAvatarOutProto408 ?? SetNeutralAvatarOutProto()} - set {_uniqueStorage()._setNeutralAvatarOutProto408 = newValue} + public var useItemEncounterProto154: UseItemEncounterProto { + get {return _storage._useItemEncounterProto154 ?? UseItemEncounterProto()} + set {_uniqueStorage()._useItemEncounterProto154 = newValue} } - /// Returns true if `setNeutralAvatarOutProto408` has been explicitly set. - public var hasSetNeutralAvatarOutProto408: Bool {return _storage._setNeutralAvatarOutProto408 != nil} - /// Clears the value of `setNeutralAvatarOutProto408`. Subsequent reads from it will return its default value. - public mutating func clearSetNeutralAvatarOutProto408() {_uniqueStorage()._setNeutralAvatarOutProto408 = nil} + /// Returns true if `useItemEncounterProto154` has been explicitly set. + public var hasUseItemEncounterProto154: Bool {return _storage._useItemEncounterProto154 != nil} + /// Clears the value of `useItemEncounterProto154`. Subsequent reads from it will return its default value. + public mutating func clearUseItemEncounterProto154() {_uniqueStorage()._useItemEncounterProto154 = nil} - public var checkchallengeOutProto600: CheckChallengeOutProto { - get {return _storage._checkchallengeOutProto600 ?? CheckChallengeOutProto()} - set {_uniqueStorage()._checkchallengeOutProto600 = newValue} + public var gymDeployProto155: GymDeployProto { + get {return _storage._gymDeployProto155 ?? GymDeployProto()} + set {_uniqueStorage()._gymDeployProto155 = newValue} } - /// Returns true if `checkchallengeOutProto600` has been explicitly set. - public var hasCheckchallengeOutProto600: Bool {return _storage._checkchallengeOutProto600 != nil} - /// Clears the value of `checkchallengeOutProto600`. Subsequent reads from it will return its default value. - public mutating func clearCheckchallengeOutProto600() {_uniqueStorage()._checkchallengeOutProto600 = nil} + /// Returns true if `gymDeployProto155` has been explicitly set. + public var hasGymDeployProto155: Bool {return _storage._gymDeployProto155 != nil} + /// Clears the value of `gymDeployProto155`. Subsequent reads from it will return its default value. + public mutating func clearGymDeployProto155() {_uniqueStorage()._gymDeployProto155 = nil} - public var verifyChallengeOutProto601: VerifyChallengeOutProto { - get {return _storage._verifyChallengeOutProto601 ?? VerifyChallengeOutProto()} - set {_uniqueStorage()._verifyChallengeOutProto601 = newValue} + public var gymgetInfoProto156: GymGetInfoProto { + get {return _storage._gymgetInfoProto156 ?? GymGetInfoProto()} + set {_uniqueStorage()._gymgetInfoProto156 = newValue} } - /// Returns true if `verifyChallengeOutProto601` has been explicitly set. - public var hasVerifyChallengeOutProto601: Bool {return _storage._verifyChallengeOutProto601 != nil} - /// Clears the value of `verifyChallengeOutProto601`. Subsequent reads from it will return its default value. - public mutating func clearVerifyChallengeOutProto601() {_uniqueStorage()._verifyChallengeOutProto601 = nil} + /// Returns true if `gymgetInfoProto156` has been explicitly set. + public var hasGymgetInfoProto156: Bool {return _storage._gymgetInfoProto156 != nil} + /// Clears the value of `gymgetInfoProto156`. Subsequent reads from it will return its default value. + public mutating func clearGymgetInfoProto156() {_uniqueStorage()._gymgetInfoProto156 = nil} - public var echoOutProto666: EchoOutProto { - get {return _storage._echoOutProto666 ?? EchoOutProto()} - set {_uniqueStorage()._echoOutProto666 = newValue} + public var gymStartSessionProto157: GymStartSessionProto { + get {return _storage._gymStartSessionProto157 ?? GymStartSessionProto()} + set {_uniqueStorage()._gymStartSessionProto157 = newValue} } - /// Returns true if `echoOutProto666` has been explicitly set. - public var hasEchoOutProto666: Bool {return _storage._echoOutProto666 != nil} - /// Clears the value of `echoOutProto666`. Subsequent reads from it will return its default value. - public mutating func clearEchoOutProto666() {_uniqueStorage()._echoOutProto666 = nil} + /// Returns true if `gymStartSessionProto157` has been explicitly set. + public var hasGymStartSessionProto157: Bool {return _storage._gymStartSessionProto157 != nil} + /// Clears the value of `gymStartSessionProto157`. Subsequent reads from it will return its default value. + public mutating func clearGymStartSessionProto157() {_uniqueStorage()._gymStartSessionProto157 = nil} - public var registerSfidaresponse800: RegisterSfidaResponse { - get {return _storage._registerSfidaresponse800 ?? RegisterSfidaResponse()} - set {_uniqueStorage()._registerSfidaresponse800 = newValue} + public var gymBattleAttackProto158: GymBattleAttackProto { + get {return _storage._gymBattleAttackProto158 ?? GymBattleAttackProto()} + set {_uniqueStorage()._gymBattleAttackProto158 = newValue} } - /// Returns true if `registerSfidaresponse800` has been explicitly set. - public var hasRegisterSfidaresponse800: Bool {return _storage._registerSfidaresponse800 != nil} - /// Clears the value of `registerSfidaresponse800`. Subsequent reads from it will return its default value. - public mutating func clearRegisterSfidaresponse800() {_uniqueStorage()._registerSfidaresponse800 = nil} + /// Returns true if `gymBattleAttackProto158` has been explicitly set. + public var hasGymBattleAttackProto158: Bool {return _storage._gymBattleAttackProto158 != nil} + /// Clears the value of `gymBattleAttackProto158`. Subsequent reads from it will return its default value. + public mutating func clearGymBattleAttackProto158() {_uniqueStorage()._gymBattleAttackProto158 = nil} - public var sfidaCertificationResponse802: SfidaCertificationResponse { - get {return _storage._sfidaCertificationResponse802 ?? SfidaCertificationResponse()} - set {_uniqueStorage()._sfidaCertificationResponse802 = newValue} + public var joinLobbyProto159: JoinLobbyProto { + get {return _storage._joinLobbyProto159 ?? JoinLobbyProto()} + set {_uniqueStorage()._joinLobbyProto159 = newValue} } - /// Returns true if `sfidaCertificationResponse802` has been explicitly set. - public var hasSfidaCertificationResponse802: Bool {return _storage._sfidaCertificationResponse802 != nil} - /// Clears the value of `sfidaCertificationResponse802`. Subsequent reads from it will return its default value. - public mutating func clearSfidaCertificationResponse802() {_uniqueStorage()._sfidaCertificationResponse802 = nil} + /// Returns true if `joinLobbyProto159` has been explicitly set. + public var hasJoinLobbyProto159: Bool {return _storage._joinLobbyProto159 != nil} + /// Clears the value of `joinLobbyProto159`. Subsequent reads from it will return its default value. + public mutating func clearJoinLobbyProto159() {_uniqueStorage()._joinLobbyProto159 = nil} - public var sfidaUpdateResponse803: SfidaUpdateResponse { - get {return _storage._sfidaUpdateResponse803 ?? SfidaUpdateResponse()} - set {_uniqueStorage()._sfidaUpdateResponse803 = newValue} + public var leavelobbyProto160: LeaveLobbyProto { + get {return _storage._leavelobbyProto160 ?? LeaveLobbyProto()} + set {_uniqueStorage()._leavelobbyProto160 = newValue} } - /// Returns true if `sfidaUpdateResponse803` has been explicitly set. - public var hasSfidaUpdateResponse803: Bool {return _storage._sfidaUpdateResponse803 != nil} - /// Clears the value of `sfidaUpdateResponse803`. Subsequent reads from it will return its default value. - public mutating func clearSfidaUpdateResponse803() {_uniqueStorage()._sfidaUpdateResponse803 = nil} + /// Returns true if `leavelobbyProto160` has been explicitly set. + public var hasLeavelobbyProto160: Bool {return _storage._leavelobbyProto160 != nil} + /// Clears the value of `leavelobbyProto160`. Subsequent reads from it will return its default value. + public mutating func clearLeavelobbyProto160() {_uniqueStorage()._leavelobbyProto160 = nil} - public var sfidaDowserResponse805: SfidaDowserResponse { - get {return _storage._sfidaDowserResponse805 ?? SfidaDowserResponse()} - set {_uniqueStorage()._sfidaDowserResponse805 = newValue} + public var setLobbyVisibilityProto161: SetLobbyVisibilityProto { + get {return _storage._setLobbyVisibilityProto161 ?? SetLobbyVisibilityProto()} + set {_uniqueStorage()._setLobbyVisibilityProto161 = newValue} } - /// Returns true if `sfidaDowserResponse805` has been explicitly set. - public var hasSfidaDowserResponse805: Bool {return _storage._sfidaDowserResponse805 != nil} - /// Clears the value of `sfidaDowserResponse805`. Subsequent reads from it will return its default value. - public mutating func clearSfidaDowserResponse805() {_uniqueStorage()._sfidaDowserResponse805 = nil} + /// Returns true if `setLobbyVisibilityProto161` has been explicitly set. + public var hasSetLobbyVisibilityProto161: Bool {return _storage._setLobbyVisibilityProto161 != nil} + /// Clears the value of `setLobbyVisibilityProto161`. Subsequent reads from it will return its default value. + public mutating func clearSetLobbyVisibilityProto161() {_uniqueStorage()._setLobbyVisibilityProto161 = nil} - public var sfidaCaptureResponse806: SfidaCaptureResponse { - get {return _storage._sfidaCaptureResponse806 ?? SfidaCaptureResponse()} - set {_uniqueStorage()._sfidaCaptureResponse806 = newValue} + public var setLobbyPokemonProto162: SetLobbyPokemonProto { + get {return _storage._setLobbyPokemonProto162 ?? SetLobbyPokemonProto()} + set {_uniqueStorage()._setLobbyPokemonProto162 = newValue} } - /// Returns true if `sfidaCaptureResponse806` has been explicitly set. - public var hasSfidaCaptureResponse806: Bool {return _storage._sfidaCaptureResponse806 != nil} - /// Clears the value of `sfidaCaptureResponse806`. Subsequent reads from it will return its default value. - public mutating func clearSfidaCaptureResponse806() {_uniqueStorage()._sfidaCaptureResponse806 = nil} + /// Returns true if `setLobbyPokemonProto162` has been explicitly set. + public var hasSetLobbyPokemonProto162: Bool {return _storage._setLobbyPokemonProto162 != nil} + /// Clears the value of `setLobbyPokemonProto162`. Subsequent reads from it will return its default value. + public mutating func clearSetLobbyPokemonProto162() {_uniqueStorage()._setLobbyPokemonProto162 = nil} - public var listAvatarCustomizationsOutProto807: ListAvatarCustomizationsOutProto { - get {return _storage._listAvatarCustomizationsOutProto807 ?? ListAvatarCustomizationsOutProto()} - set {_uniqueStorage()._listAvatarCustomizationsOutProto807 = newValue} + public var getRaidDetailsProto163: GetRaidDetailsProto { + get {return _storage._getRaidDetailsProto163 ?? GetRaidDetailsProto()} + set {_uniqueStorage()._getRaidDetailsProto163 = newValue} } - /// Returns true if `listAvatarCustomizationsOutProto807` has been explicitly set. - public var hasListAvatarCustomizationsOutProto807: Bool {return _storage._listAvatarCustomizationsOutProto807 != nil} - /// Clears the value of `listAvatarCustomizationsOutProto807`. Subsequent reads from it will return its default value. - public mutating func clearListAvatarCustomizationsOutProto807() {_uniqueStorage()._listAvatarCustomizationsOutProto807 = nil} + /// Returns true if `getRaidDetailsProto163` has been explicitly set. + public var hasGetRaidDetailsProto163: Bool {return _storage._getRaidDetailsProto163 != nil} + /// Clears the value of `getRaidDetailsProto163`. Subsequent reads from it will return its default value. + public mutating func clearGetRaidDetailsProto163() {_uniqueStorage()._getRaidDetailsProto163 = nil} - public var setAvatarItemAsViewedOutProto808: SetAvatarItemAsViewedOutProto { - get {return _storage._setAvatarItemAsViewedOutProto808 ?? SetAvatarItemAsViewedOutProto()} - set {_uniqueStorage()._setAvatarItemAsViewedOutProto808 = newValue} + public var gymFeedPokemonProto164: GymFeedPokemonProto { + get {return _storage._gymFeedPokemonProto164 ?? GymFeedPokemonProto()} + set {_uniqueStorage()._gymFeedPokemonProto164 = newValue} } - /// Returns true if `setAvatarItemAsViewedOutProto808` has been explicitly set. - public var hasSetAvatarItemAsViewedOutProto808: Bool {return _storage._setAvatarItemAsViewedOutProto808 != nil} - /// Clears the value of `setAvatarItemAsViewedOutProto808`. Subsequent reads from it will return its default value. - public mutating func clearSetAvatarItemAsViewedOutProto808() {_uniqueStorage()._setAvatarItemAsViewedOutProto808 = nil} + /// Returns true if `gymFeedPokemonProto164` has been explicitly set. + public var hasGymFeedPokemonProto164: Bool {return _storage._gymFeedPokemonProto164 != nil} + /// Clears the value of `gymFeedPokemonProto164`. Subsequent reads from it will return its default value. + public mutating func clearGymFeedPokemonProto164() {_uniqueStorage()._gymFeedPokemonProto164 = nil} - public var getInboxOutProto809: GetInboxOutProto { - get {return _storage._getInboxOutProto809 ?? GetInboxOutProto()} - set {_uniqueStorage()._getInboxOutProto809 = newValue} + public var startRaidBattleProto165: StartRaidBattleProto { + get {return _storage._startRaidBattleProto165 ?? StartRaidBattleProto()} + set {_uniqueStorage()._startRaidBattleProto165 = newValue} } - /// Returns true if `getInboxOutProto809` has been explicitly set. - public var hasGetInboxOutProto809: Bool {return _storage._getInboxOutProto809 != nil} - /// Clears the value of `getInboxOutProto809`. Subsequent reads from it will return its default value. - public mutating func clearGetInboxOutProto809() {_uniqueStorage()._getInboxOutProto809 = nil} + /// Returns true if `startRaidBattleProto165` has been explicitly set. + public var hasStartRaidBattleProto165: Bool {return _storage._startRaidBattleProto165 != nil} + /// Clears the value of `startRaidBattleProto165`. Subsequent reads from it will return its default value. + public mutating func clearStartRaidBattleProto165() {_uniqueStorage()._startRaidBattleProto165 = nil} - public var listGymBadgesOutProto811: ListGymBadgesOutProto { - get {return _storage._listGymBadgesOutProto811 ?? ListGymBadgesOutProto()} - set {_uniqueStorage()._listGymBadgesOutProto811 = newValue} + public var attackRaidBattleProto166: AttackRaidBattleProto { + get {return _storage._attackRaidBattleProto166 ?? AttackRaidBattleProto()} + set {_uniqueStorage()._attackRaidBattleProto166 = newValue} } - /// Returns true if `listGymBadgesOutProto811` has been explicitly set. - public var hasListGymBadgesOutProto811: Bool {return _storage._listGymBadgesOutProto811 != nil} - /// Clears the value of `listGymBadgesOutProto811`. Subsequent reads from it will return its default value. - public mutating func clearListGymBadgesOutProto811() {_uniqueStorage()._listGymBadgesOutProto811 = nil} + /// Returns true if `attackRaidBattleProto166` has been explicitly set. + public var hasAttackRaidBattleProto166: Bool {return _storage._attackRaidBattleProto166 != nil} + /// Clears the value of `attackRaidBattleProto166`. Subsequent reads from it will return its default value. + public mutating func clearAttackRaidBattleProto166() {_uniqueStorage()._attackRaidBattleProto166 = nil} - public var getgymBadgeDetailsOutProto812: GetGymBadgeDetailsOutProto { - get {return _storage._getgymBadgeDetailsOutProto812 ?? GetGymBadgeDetailsOutProto()} - set {_uniqueStorage()._getgymBadgeDetailsOutProto812 = newValue} + public var useItemStardustBoostProto168: UseItemStardustBoostProto { + get {return _storage._useItemStardustBoostProto168 ?? UseItemStardustBoostProto()} + set {_uniqueStorage()._useItemStardustBoostProto168 = newValue} } - /// Returns true if `getgymBadgeDetailsOutProto812` has been explicitly set. - public var hasGetgymBadgeDetailsOutProto812: Bool {return _storage._getgymBadgeDetailsOutProto812 != nil} - /// Clears the value of `getgymBadgeDetailsOutProto812`. Subsequent reads from it will return its default value. - public mutating func clearGetgymBadgeDetailsOutProto812() {_uniqueStorage()._getgymBadgeDetailsOutProto812 = nil} + /// Returns true if `useItemStardustBoostProto168` has been explicitly set. + public var hasUseItemStardustBoostProto168: Bool {return _storage._useItemStardustBoostProto168 != nil} + /// Clears the value of `useItemStardustBoostProto168`. Subsequent reads from it will return its default value. + public mutating func clearUseItemStardustBoostProto168() {_uniqueStorage()._useItemStardustBoostProto168 = nil} - public var useItemMoveRerollOutProto813: UseItemMoveRerollOutProto { - get {return _storage._useItemMoveRerollOutProto813 ?? UseItemMoveRerollOutProto()} - set {_uniqueStorage()._useItemMoveRerollOutProto813 = newValue} + public var reassignPlayerProto169: ReassignPlayerProto { + get {return _storage._reassignPlayerProto169 ?? ReassignPlayerProto()} + set {_uniqueStorage()._reassignPlayerProto169 = newValue} } - /// Returns true if `useItemMoveRerollOutProto813` has been explicitly set. - public var hasUseItemMoveRerollOutProto813: Bool {return _storage._useItemMoveRerollOutProto813 != nil} - /// Clears the value of `useItemMoveRerollOutProto813`. Subsequent reads from it will return its default value. - public mutating func clearUseItemMoveRerollOutProto813() {_uniqueStorage()._useItemMoveRerollOutProto813 = nil} + /// Returns true if `reassignPlayerProto169` has been explicitly set. + public var hasReassignPlayerProto169: Bool {return _storage._reassignPlayerProto169 != nil} + /// Clears the value of `reassignPlayerProto169`. Subsequent reads from it will return its default value. + public mutating func clearReassignPlayerProto169() {_uniqueStorage()._reassignPlayerProto169 = nil} - public var useItemRareCandyOutProto814: UseItemRareCandyOutProto { - get {return _storage._useItemRareCandyOutProto814 ?? UseItemRareCandyOutProto()} - set {_uniqueStorage()._useItemRareCandyOutProto814 = newValue} + public var convertcandyToXlcandyProto171: ConvertCandyToXlCandyProto { + get {return _storage._convertcandyToXlcandyProto171 ?? ConvertCandyToXlCandyProto()} + set {_uniqueStorage()._convertcandyToXlcandyProto171 = newValue} } - /// Returns true if `useItemRareCandyOutProto814` has been explicitly set. - public var hasUseItemRareCandyOutProto814: Bool {return _storage._useItemRareCandyOutProto814 != nil} - /// Clears the value of `useItemRareCandyOutProto814`. Subsequent reads from it will return its default value. - public mutating func clearUseItemRareCandyOutProto814() {_uniqueStorage()._useItemRareCandyOutProto814 = nil} + /// Returns true if `convertcandyToXlcandyProto171` has been explicitly set. + public var hasConvertcandyToXlcandyProto171: Bool {return _storage._convertcandyToXlcandyProto171 != nil} + /// Clears the value of `convertcandyToXlcandyProto171`. Subsequent reads from it will return its default value. + public mutating func clearConvertcandyToXlcandyProto171() {_uniqueStorage()._convertcandyToXlcandyProto171 = nil} - public var awardFreeRaidTicketOutProto815: AwardFreeRaidTicketOutProto { - get {return _storage._awardFreeRaidTicketOutProto815 ?? AwardFreeRaidTicketOutProto()} - set {_uniqueStorage()._awardFreeRaidTicketOutProto815 = newValue} + public var isSkuAvailableProto172: IsSkuAvailableProto { + get {return _storage._isSkuAvailableProto172 ?? IsSkuAvailableProto()} + set {_uniqueStorage()._isSkuAvailableProto172 = newValue} } - /// Returns true if `awardFreeRaidTicketOutProto815` has been explicitly set. - public var hasAwardFreeRaidTicketOutProto815: Bool {return _storage._awardFreeRaidTicketOutProto815 != nil} - /// Clears the value of `awardFreeRaidTicketOutProto815`. Subsequent reads from it will return its default value. - public mutating func clearAwardFreeRaidTicketOutProto815() {_uniqueStorage()._awardFreeRaidTicketOutProto815 = nil} + /// Returns true if `isSkuAvailableProto172` has been explicitly set. + public var hasIsSkuAvailableProto172: Bool {return _storage._isSkuAvailableProto172 != nil} + /// Clears the value of `isSkuAvailableProto172`. Subsequent reads from it will return its default value. + public mutating func clearIsSkuAvailableProto172() {_uniqueStorage()._isSkuAvailableProto172 = nil} - public var fetchAllNewsOutProto816: FetchAllNewsOutProto { - get {return _storage._fetchAllNewsOutProto816 ?? FetchAllNewsOutProto()} - set {_uniqueStorage()._fetchAllNewsOutProto816 = newValue} + public var assetDigestRequestProto300: AssetDigestRequestProto { + get {return _storage._assetDigestRequestProto300 ?? AssetDigestRequestProto()} + set {_uniqueStorage()._assetDigestRequestProto300 = newValue} } - /// Returns true if `fetchAllNewsOutProto816` has been explicitly set. - public var hasFetchAllNewsOutProto816: Bool {return _storage._fetchAllNewsOutProto816 != nil} - /// Clears the value of `fetchAllNewsOutProto816`. Subsequent reads from it will return its default value. - public mutating func clearFetchAllNewsOutProto816() {_uniqueStorage()._fetchAllNewsOutProto816 = nil} + /// Returns true if `assetDigestRequestProto300` has been explicitly set. + public var hasAssetDigestRequestProto300: Bool {return _storage._assetDigestRequestProto300 != nil} + /// Clears the value of `assetDigestRequestProto300`. Subsequent reads from it will return its default value. + public mutating func clearAssetDigestRequestProto300() {_uniqueStorage()._assetDigestRequestProto300 = nil} - public var markReadNewsArticleOutProto817: MarkReadNewsArticleOutProto { - get {return _storage._markReadNewsArticleOutProto817 ?? MarkReadNewsArticleOutProto()} - set {_uniqueStorage()._markReadNewsArticleOutProto817 = newValue} + public var downloadURLRequestProto301: DownloadUrlRequestProto { + get {return _storage._downloadURLRequestProto301 ?? DownloadUrlRequestProto()} + set {_uniqueStorage()._downloadURLRequestProto301 = newValue} } - /// Returns true if `markReadNewsArticleOutProto817` has been explicitly set. - public var hasMarkReadNewsArticleOutProto817: Bool {return _storage._markReadNewsArticleOutProto817 != nil} - /// Clears the value of `markReadNewsArticleOutProto817`. Subsequent reads from it will return its default value. - public mutating func clearMarkReadNewsArticleOutProto817() {_uniqueStorage()._markReadNewsArticleOutProto817 = nil} + /// Returns true if `downloadURLRequestProto301` has been explicitly set. + public var hasDownloadURLRequestProto301: Bool {return _storage._downloadURLRequestProto301 != nil} + /// Clears the value of `downloadURLRequestProto301`. Subsequent reads from it will return its default value. + public mutating func clearDownloadURLRequestProto301() {_uniqueStorage()._downloadURLRequestProto301 = nil} - public var getPlayerSettingsOutProto818: GetPlayerSettingsOutProto { - get {return _storage._getPlayerSettingsOutProto818 ?? GetPlayerSettingsOutProto()} - set {_uniqueStorage()._getPlayerSettingsOutProto818 = newValue} + public var assetVersionProto302: AssetVersionProto { + get {return _storage._assetVersionProto302 ?? AssetVersionProto()} + set {_uniqueStorage()._assetVersionProto302 = newValue} } - /// Returns true if `getPlayerSettingsOutProto818` has been explicitly set. - public var hasGetPlayerSettingsOutProto818: Bool {return _storage._getPlayerSettingsOutProto818 != nil} - /// Clears the value of `getPlayerSettingsOutProto818`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerSettingsOutProto818() {_uniqueStorage()._getPlayerSettingsOutProto818 = nil} + /// Returns true if `assetVersionProto302` has been explicitly set. + public var hasAssetVersionProto302: Bool {return _storage._assetVersionProto302 != nil} + /// Clears the value of `assetVersionProto302`. Subsequent reads from it will return its default value. + public mutating func clearAssetVersionProto302() {_uniqueStorage()._assetVersionProto302 = nil} - public var belugaTransactionStartOutProto819: BelugaTransactionStartOutProto { - get {return _storage._belugaTransactionStartOutProto819 ?? BelugaTransactionStartOutProto()} - set {_uniqueStorage()._belugaTransactionStartOutProto819 = newValue} + public var claimcodenameRequestProto403: ClaimCodenameRequestProto { + get {return _storage._claimcodenameRequestProto403 ?? ClaimCodenameRequestProto()} + set {_uniqueStorage()._claimcodenameRequestProto403 = newValue} } - /// Returns true if `belugaTransactionStartOutProto819` has been explicitly set. - public var hasBelugaTransactionStartOutProto819: Bool {return _storage._belugaTransactionStartOutProto819 != nil} - /// Clears the value of `belugaTransactionStartOutProto819`. Subsequent reads from it will return its default value. - public mutating func clearBelugaTransactionStartOutProto819() {_uniqueStorage()._belugaTransactionStartOutProto819 = nil} + /// Returns true if `claimcodenameRequestProto403` has been explicitly set. + public var hasClaimcodenameRequestProto403: Bool {return _storage._claimcodenameRequestProto403 != nil} + /// Clears the value of `claimcodenameRequestProto403`. Subsequent reads from it will return its default value. + public mutating func clearClaimcodenameRequestProto403() {_uniqueStorage()._claimcodenameRequestProto403 = nil} - public var belugaTransactionCompleteOutProto820: BelugaTransactionCompleteOutProto { - get {return _storage._belugaTransactionCompleteOutProto820 ?? BelugaTransactionCompleteOutProto()} - set {_uniqueStorage()._belugaTransactionCompleteOutProto820 = newValue} + public var setAvatarProto404: SetAvatarProto { + get {return _storage._setAvatarProto404 ?? SetAvatarProto()} + set {_uniqueStorage()._setAvatarProto404 = newValue} } - /// Returns true if `belugaTransactionCompleteOutProto820` has been explicitly set. - public var hasBelugaTransactionCompleteOutProto820: Bool {return _storage._belugaTransactionCompleteOutProto820 != nil} - /// Clears the value of `belugaTransactionCompleteOutProto820`. Subsequent reads from it will return its default value. - public mutating func clearBelugaTransactionCompleteOutProto820() {_uniqueStorage()._belugaTransactionCompleteOutProto820 = nil} + /// Returns true if `setAvatarProto404` has been explicitly set. + public var hasSetAvatarProto404: Bool {return _storage._setAvatarProto404 != nil} + /// Clears the value of `setAvatarProto404`. Subsequent reads from it will return its default value. + public mutating func clearSetAvatarProto404() {_uniqueStorage()._setAvatarProto404 = nil} - public var sfidaAssociateResponse822: SfidaAssociateResponse { - get {return _storage._sfidaAssociateResponse822 ?? SfidaAssociateResponse()} - set {_uniqueStorage()._sfidaAssociateResponse822 = newValue} + public var setPlayerTeamProto405: SetPlayerTeamProto { + get {return _storage._setPlayerTeamProto405 ?? SetPlayerTeamProto()} + set {_uniqueStorage()._setPlayerTeamProto405 = newValue} } - /// Returns true if `sfidaAssociateResponse822` has been explicitly set. - public var hasSfidaAssociateResponse822: Bool {return _storage._sfidaAssociateResponse822 != nil} - /// Clears the value of `sfidaAssociateResponse822`. Subsequent reads from it will return its default value. - public mutating func clearSfidaAssociateResponse822() {_uniqueStorage()._sfidaAssociateResponse822 = nil} + /// Returns true if `setPlayerTeamProto405` has been explicitly set. + public var hasSetPlayerTeamProto405: Bool {return _storage._setPlayerTeamProto405 != nil} + /// Clears the value of `setPlayerTeamProto405`. Subsequent reads from it will return its default value. + public mutating func clearSetPlayerTeamProto405() {_uniqueStorage()._setPlayerTeamProto405 = nil} - public var sfidaCheckPairingResponse823: SfidaCheckPairingResponse { - get {return _storage._sfidaCheckPairingResponse823 ?? SfidaCheckPairingResponse()} - set {_uniqueStorage()._sfidaCheckPairingResponse823 = newValue} + public var markTutorialCompleteProto406: MarkTutorialCompleteProto { + get {return _storage._markTutorialCompleteProto406 ?? MarkTutorialCompleteProto()} + set {_uniqueStorage()._markTutorialCompleteProto406 = newValue} } - /// Returns true if `sfidaCheckPairingResponse823` has been explicitly set. - public var hasSfidaCheckPairingResponse823: Bool {return _storage._sfidaCheckPairingResponse823 != nil} - /// Clears the value of `sfidaCheckPairingResponse823`. Subsequent reads from it will return its default value. - public mutating func clearSfidaCheckPairingResponse823() {_uniqueStorage()._sfidaCheckPairingResponse823 = nil} + /// Returns true if `markTutorialCompleteProto406` has been explicitly set. + public var hasMarkTutorialCompleteProto406: Bool {return _storage._markTutorialCompleteProto406 != nil} + /// Clears the value of `markTutorialCompleteProto406`. Subsequent reads from it will return its default value. + public mutating func clearMarkTutorialCompleteProto406() {_uniqueStorage()._markTutorialCompleteProto406 = nil} - public var sfidaDisassociateResponse824: SfidaDisassociateResponse { - get {return _storage._sfidaDisassociateResponse824 ?? SfidaDisassociateResponse()} - set {_uniqueStorage()._sfidaDisassociateResponse824 = newValue} + public var setNeutralAvatarProto408: SetNeutralAvatarProto { + get {return _storage._setNeutralAvatarProto408 ?? SetNeutralAvatarProto()} + set {_uniqueStorage()._setNeutralAvatarProto408 = newValue} } - /// Returns true if `sfidaDisassociateResponse824` has been explicitly set. - public var hasSfidaDisassociateResponse824: Bool {return _storage._sfidaDisassociateResponse824 != nil} - /// Clears the value of `sfidaDisassociateResponse824`. Subsequent reads from it will return its default value. - public mutating func clearSfidaDisassociateResponse824() {_uniqueStorage()._sfidaDisassociateResponse824 = nil} + /// Returns true if `setNeutralAvatarProto408` has been explicitly set. + public var hasSetNeutralAvatarProto408: Bool {return _storage._setNeutralAvatarProto408 != nil} + /// Clears the value of `setNeutralAvatarProto408`. Subsequent reads from it will return its default value. + public mutating func clearSetNeutralAvatarProto408() {_uniqueStorage()._setNeutralAvatarProto408 = nil} - public var wainaGetRewardsResponse825: WainaGetRewardsResponse { - get {return _storage._wainaGetRewardsResponse825 ?? WainaGetRewardsResponse()} - set {_uniqueStorage()._wainaGetRewardsResponse825 = newValue} + public var checkchallengeProto600: CheckChallengeProto { + get {return _storage._checkchallengeProto600 ?? CheckChallengeProto()} + set {_uniqueStorage()._checkchallengeProto600 = newValue} } - /// Returns true if `wainaGetRewardsResponse825` has been explicitly set. - public var hasWainaGetRewardsResponse825: Bool {return _storage._wainaGetRewardsResponse825 != nil} - /// Clears the value of `wainaGetRewardsResponse825`. Subsequent reads from it will return its default value. - public mutating func clearWainaGetRewardsResponse825() {_uniqueStorage()._wainaGetRewardsResponse825 = nil} + /// Returns true if `checkchallengeProto600` has been explicitly set. + public var hasCheckchallengeProto600: Bool {return _storage._checkchallengeProto600 != nil} + /// Clears the value of `checkchallengeProto600`. Subsequent reads from it will return its default value. + public mutating func clearCheckchallengeProto600() {_uniqueStorage()._checkchallengeProto600 = nil} - public var wainaSubmitSleepDataResponse826: WainaSubmitSleepDataResponse { - get {return _storage._wainaSubmitSleepDataResponse826 ?? WainaSubmitSleepDataResponse()} - set {_uniqueStorage()._wainaSubmitSleepDataResponse826 = newValue} + public var verifyChallengeProto601: VerifyChallengeProto { + get {return _storage._verifyChallengeProto601 ?? VerifyChallengeProto()} + set {_uniqueStorage()._verifyChallengeProto601 = newValue} } - /// Returns true if `wainaSubmitSleepDataResponse826` has been explicitly set. - public var hasWainaSubmitSleepDataResponse826: Bool {return _storage._wainaSubmitSleepDataResponse826 != nil} - /// Clears the value of `wainaSubmitSleepDataResponse826`. Subsequent reads from it will return its default value. - public mutating func clearWainaSubmitSleepDataResponse826() {_uniqueStorage()._wainaSubmitSleepDataResponse826 = nil} + /// Returns true if `verifyChallengeProto601` has been explicitly set. + public var hasVerifyChallengeProto601: Bool {return _storage._verifyChallengeProto601 != nil} + /// Clears the value of `verifyChallengeProto601`. Subsequent reads from it will return its default value. + public mutating func clearVerifyChallengeProto601() {_uniqueStorage()._verifyChallengeProto601 = nil} - public var getNewQuestsOutProto900: GetNewQuestsOutProto { - get {return _storage._getNewQuestsOutProto900 ?? GetNewQuestsOutProto()} - set {_uniqueStorage()._getNewQuestsOutProto900 = newValue} + public var echoProto666: EchoProto { + get {return _storage._echoProto666 ?? EchoProto()} + set {_uniqueStorage()._echoProto666 = newValue} } - /// Returns true if `getNewQuestsOutProto900` has been explicitly set. - public var hasGetNewQuestsOutProto900: Bool {return _storage._getNewQuestsOutProto900 != nil} - /// Clears the value of `getNewQuestsOutProto900`. Subsequent reads from it will return its default value. - public mutating func clearGetNewQuestsOutProto900() {_uniqueStorage()._getNewQuestsOutProto900 = nil} + /// Returns true if `echoProto666` has been explicitly set. + public var hasEchoProto666: Bool {return _storage._echoProto666 != nil} + /// Clears the value of `echoProto666`. Subsequent reads from it will return its default value. + public mutating func clearEchoProto666() {_uniqueStorage()._echoProto666 = nil} - public var getQuestDetailsOutProto901: GetQuestDetailsOutProto { - get {return _storage._getQuestDetailsOutProto901 ?? GetQuestDetailsOutProto()} - set {_uniqueStorage()._getQuestDetailsOutProto901 = newValue} + public var registerSfidarequest800: RegisterSfidaRequest { + get {return _storage._registerSfidarequest800 ?? RegisterSfidaRequest()} + set {_uniqueStorage()._registerSfidarequest800 = newValue} } - /// Returns true if `getQuestDetailsOutProto901` has been explicitly set. - public var hasGetQuestDetailsOutProto901: Bool {return _storage._getQuestDetailsOutProto901 != nil} - /// Clears the value of `getQuestDetailsOutProto901`. Subsequent reads from it will return its default value. - public mutating func clearGetQuestDetailsOutProto901() {_uniqueStorage()._getQuestDetailsOutProto901 = nil} + /// Returns true if `registerSfidarequest800` has been explicitly set. + public var hasRegisterSfidarequest800: Bool {return _storage._registerSfidarequest800 != nil} + /// Clears the value of `registerSfidarequest800`. Subsequent reads from it will return its default value. + public mutating func clearRegisterSfidarequest800() {_uniqueStorage()._registerSfidarequest800 = nil} - public var completeQuestOutProto902: CompleteQuestOutProto { - get {return _storage._completeQuestOutProto902 ?? CompleteQuestOutProto()} - set {_uniqueStorage()._completeQuestOutProto902 = newValue} + public var sfidaCertificationRequest802: SfidaCertificationRequest { + get {return _storage._sfidaCertificationRequest802 ?? SfidaCertificationRequest()} + set {_uniqueStorage()._sfidaCertificationRequest802 = newValue} } - /// Returns true if `completeQuestOutProto902` has been explicitly set. - public var hasCompleteQuestOutProto902: Bool {return _storage._completeQuestOutProto902 != nil} - /// Clears the value of `completeQuestOutProto902`. Subsequent reads from it will return its default value. - public mutating func clearCompleteQuestOutProto902() {_uniqueStorage()._completeQuestOutProto902 = nil} + /// Returns true if `sfidaCertificationRequest802` has been explicitly set. + public var hasSfidaCertificationRequest802: Bool {return _storage._sfidaCertificationRequest802 != nil} + /// Clears the value of `sfidaCertificationRequest802`. Subsequent reads from it will return its default value. + public mutating func clearSfidaCertificationRequest802() {_uniqueStorage()._sfidaCertificationRequest802 = nil} - public var removeQuestOutProto903: RemoveQuestOutProto { - get {return _storage._removeQuestOutProto903 ?? RemoveQuestOutProto()} - set {_uniqueStorage()._removeQuestOutProto903 = newValue} + public var sfidaUpdateRequest803: SfidaUpdateRequest { + get {return _storage._sfidaUpdateRequest803 ?? SfidaUpdateRequest()} + set {_uniqueStorage()._sfidaUpdateRequest803 = newValue} } - /// Returns true if `removeQuestOutProto903` has been explicitly set. - public var hasRemoveQuestOutProto903: Bool {return _storage._removeQuestOutProto903 != nil} - /// Clears the value of `removeQuestOutProto903`. Subsequent reads from it will return its default value. - public mutating func clearRemoveQuestOutProto903() {_uniqueStorage()._removeQuestOutProto903 = nil} + /// Returns true if `sfidaUpdateRequest803` has been explicitly set. + public var hasSfidaUpdateRequest803: Bool {return _storage._sfidaUpdateRequest803 != nil} + /// Clears the value of `sfidaUpdateRequest803`. Subsequent reads from it will return its default value. + public mutating func clearSfidaUpdateRequest803() {_uniqueStorage()._sfidaUpdateRequest803 = nil} - public var questEncounterOutProto904: QuestEncounterOutProto { - get {return _storage._questEncounterOutProto904 ?? QuestEncounterOutProto()} - set {_uniqueStorage()._questEncounterOutProto904 = newValue} + public var sfidaDowserRequest805: SfidaDowserRequest { + get {return _storage._sfidaDowserRequest805 ?? SfidaDowserRequest()} + set {_uniqueStorage()._sfidaDowserRequest805 = newValue} } - /// Returns true if `questEncounterOutProto904` has been explicitly set. - public var hasQuestEncounterOutProto904: Bool {return _storage._questEncounterOutProto904 != nil} - /// Clears the value of `questEncounterOutProto904`. Subsequent reads from it will return its default value. - public mutating func clearQuestEncounterOutProto904() {_uniqueStorage()._questEncounterOutProto904 = nil} + /// Returns true if `sfidaDowserRequest805` has been explicitly set. + public var hasSfidaDowserRequest805: Bool {return _storage._sfidaDowserRequest805 != nil} + /// Clears the value of `sfidaDowserRequest805`. Subsequent reads from it will return its default value. + public mutating func clearSfidaDowserRequest805() {_uniqueStorage()._sfidaDowserRequest805 = nil} - public var progressQuestOutproto906: ProgressQuestOutProto { - get {return _storage._progressQuestOutproto906 ?? ProgressQuestOutProto()} - set {_uniqueStorage()._progressQuestOutproto906 = newValue} + public var sfidaCaptureRequest806: SfidaCaptureRequest { + get {return _storage._sfidaCaptureRequest806 ?? SfidaCaptureRequest()} + set {_uniqueStorage()._sfidaCaptureRequest806 = newValue} } - /// Returns true if `progressQuestOutproto906` has been explicitly set. - public var hasProgressQuestOutproto906: Bool {return _storage._progressQuestOutproto906 != nil} - /// Clears the value of `progressQuestOutproto906`. Subsequent reads from it will return its default value. - public mutating func clearProgressQuestOutproto906() {_uniqueStorage()._progressQuestOutproto906 = nil} + /// Returns true if `sfidaCaptureRequest806` has been explicitly set. + public var hasSfidaCaptureRequest806: Bool {return _storage._sfidaCaptureRequest806 != nil} + /// Clears the value of `sfidaCaptureRequest806`. Subsequent reads from it will return its default value. + public mutating func clearSfidaCaptureRequest806() {_uniqueStorage()._sfidaCaptureRequest806 = nil} - public var sendGiftOutProto950: SendGiftOutProto { - get {return _storage._sendGiftOutProto950 ?? SendGiftOutProto()} - set {_uniqueStorage()._sendGiftOutProto950 = newValue} + public var listAvatarCustomizationsProto807: ListAvatarCustomizationsProto { + get {return _storage._listAvatarCustomizationsProto807 ?? ListAvatarCustomizationsProto()} + set {_uniqueStorage()._listAvatarCustomizationsProto807 = newValue} } - /// Returns true if `sendGiftOutProto950` has been explicitly set. - public var hasSendGiftOutProto950: Bool {return _storage._sendGiftOutProto950 != nil} - /// Clears the value of `sendGiftOutProto950`. Subsequent reads from it will return its default value. - public mutating func clearSendGiftOutProto950() {_uniqueStorage()._sendGiftOutProto950 = nil} + /// Returns true if `listAvatarCustomizationsProto807` has been explicitly set. + public var hasListAvatarCustomizationsProto807: Bool {return _storage._listAvatarCustomizationsProto807 != nil} + /// Clears the value of `listAvatarCustomizationsProto807`. Subsequent reads from it will return its default value. + public mutating func clearListAvatarCustomizationsProto807() {_uniqueStorage()._listAvatarCustomizationsProto807 = nil} - public var openGiftoutProto951: OpenGiftOutProto { - get {return _storage._openGiftoutProto951 ?? OpenGiftOutProto()} - set {_uniqueStorage()._openGiftoutProto951 = newValue} + public var setAvatarItemAsViewedProto808: SetAvatarItemAsViewedProto { + get {return _storage._setAvatarItemAsViewedProto808 ?? SetAvatarItemAsViewedProto()} + set {_uniqueStorage()._setAvatarItemAsViewedProto808 = newValue} } - /// Returns true if `openGiftoutProto951` has been explicitly set. - public var hasOpenGiftoutProto951: Bool {return _storage._openGiftoutProto951 != nil} - /// Clears the value of `openGiftoutProto951`. Subsequent reads from it will return its default value. - public mutating func clearOpenGiftoutProto951() {_uniqueStorage()._openGiftoutProto951 = nil} + /// Returns true if `setAvatarItemAsViewedProto808` has been explicitly set. + public var hasSetAvatarItemAsViewedProto808: Bool {return _storage._setAvatarItemAsViewedProto808 != nil} + /// Clears the value of `setAvatarItemAsViewedProto808`. Subsequent reads from it will return its default value. + public mutating func clearSetAvatarItemAsViewedProto808() {_uniqueStorage()._setAvatarItemAsViewedProto808 = nil} - public var getgiftBoxDetailsOutProto952: GetGiftBoxDetailsOutProto { - get {return _storage._getgiftBoxDetailsOutProto952 ?? GetGiftBoxDetailsOutProto()} - set {_uniqueStorage()._getgiftBoxDetailsOutProto952 = newValue} + public var listGymBadgesProto811: ListGymBadgesProto { + get {return _storage._listGymBadgesProto811 ?? ListGymBadgesProto()} + set {_uniqueStorage()._listGymBadgesProto811 = newValue} } - /// Returns true if `getgiftBoxDetailsOutProto952` has been explicitly set. - public var hasGetgiftBoxDetailsOutProto952: Bool {return _storage._getgiftBoxDetailsOutProto952 != nil} - /// Clears the value of `getgiftBoxDetailsOutProto952`. Subsequent reads from it will return its default value. - public mutating func clearGetgiftBoxDetailsOutProto952() {_uniqueStorage()._getgiftBoxDetailsOutProto952 = nil} + /// Returns true if `listGymBadgesProto811` has been explicitly set. + public var hasListGymBadgesProto811: Bool {return _storage._listGymBadgesProto811 != nil} + /// Clears the value of `listGymBadgesProto811`. Subsequent reads from it will return its default value. + public mutating func clearListGymBadgesProto811() {_uniqueStorage()._listGymBadgesProto811 = nil} - public var deleteGiftOutProto953: DeleteGiftOutProto { - get {return _storage._deleteGiftOutProto953 ?? DeleteGiftOutProto()} - set {_uniqueStorage()._deleteGiftOutProto953 = newValue} - } - /// Returns true if `deleteGiftOutProto953` has been explicitly set. - public var hasDeleteGiftOutProto953: Bool {return _storage._deleteGiftOutProto953 != nil} - /// Clears the value of `deleteGiftOutProto953`. Subsequent reads from it will return its default value. - public mutating func clearDeleteGiftOutProto953() {_uniqueStorage()._deleteGiftOutProto953 = nil} - - public var savePlayersnapshotOutProto954: SavePlayerSnapshotOutProto { - get {return _storage._savePlayersnapshotOutProto954 ?? SavePlayerSnapshotOutProto()} - set {_uniqueStorage()._savePlayersnapshotOutProto954 = newValue} + public var getgymBadgeDetailsProto812: GetGymBadgeDetailsProto { + get {return _storage._getgymBadgeDetailsProto812 ?? GetGymBadgeDetailsProto()} + set {_uniqueStorage()._getgymBadgeDetailsProto812 = newValue} } - /// Returns true if `savePlayersnapshotOutProto954` has been explicitly set. - public var hasSavePlayersnapshotOutProto954: Bool {return _storage._savePlayersnapshotOutProto954 != nil} - /// Clears the value of `savePlayersnapshotOutProto954`. Subsequent reads from it will return its default value. - public mutating func clearSavePlayersnapshotOutProto954() {_uniqueStorage()._savePlayersnapshotOutProto954 = nil} + /// Returns true if `getgymBadgeDetailsProto812` has been explicitly set. + public var hasGetgymBadgeDetailsProto812: Bool {return _storage._getgymBadgeDetailsProto812 != nil} + /// Clears the value of `getgymBadgeDetailsProto812`. Subsequent reads from it will return its default value. + public mutating func clearGetgymBadgeDetailsProto812() {_uniqueStorage()._getgymBadgeDetailsProto812 = nil} - public var checkSendGiftOutProto956: CheckSendGiftOutProto { - get {return _storage._checkSendGiftOutProto956 ?? CheckSendGiftOutProto()} - set {_uniqueStorage()._checkSendGiftOutProto956 = newValue} + public var useItemMoveRerollProto813: UseItemMoveRerollProto { + get {return _storage._useItemMoveRerollProto813 ?? UseItemMoveRerollProto()} + set {_uniqueStorage()._useItemMoveRerollProto813 = newValue} } - /// Returns true if `checkSendGiftOutProto956` has been explicitly set. - public var hasCheckSendGiftOutProto956: Bool {return _storage._checkSendGiftOutProto956 != nil} - /// Clears the value of `checkSendGiftOutProto956`. Subsequent reads from it will return its default value. - public mutating func clearCheckSendGiftOutProto956() {_uniqueStorage()._checkSendGiftOutProto956 = nil} + /// Returns true if `useItemMoveRerollProto813` has been explicitly set. + public var hasUseItemMoveRerollProto813: Bool {return _storage._useItemMoveRerollProto813 != nil} + /// Clears the value of `useItemMoveRerollProto813`. Subsequent reads from it will return its default value. + public mutating func clearUseItemMoveRerollProto813() {_uniqueStorage()._useItemMoveRerollProto813 = nil} - public var setFriendNicknameOutProto957: SetFriendNicknameOutProto { - get {return _storage._setFriendNicknameOutProto957 ?? SetFriendNicknameOutProto()} - set {_uniqueStorage()._setFriendNicknameOutProto957 = newValue} + public var useItemRareCandyProto814: UseItemRareCandyProto { + get {return _storage._useItemRareCandyProto814 ?? UseItemRareCandyProto()} + set {_uniqueStorage()._useItemRareCandyProto814 = newValue} } - /// Returns true if `setFriendNicknameOutProto957` has been explicitly set. - public var hasSetFriendNicknameOutProto957: Bool {return _storage._setFriendNicknameOutProto957 != nil} - /// Clears the value of `setFriendNicknameOutProto957`. Subsequent reads from it will return its default value. - public mutating func clearSetFriendNicknameOutProto957() {_uniqueStorage()._setFriendNicknameOutProto957 = nil} + /// Returns true if `useItemRareCandyProto814` has been explicitly set. + public var hasUseItemRareCandyProto814: Bool {return _storage._useItemRareCandyProto814 != nil} + /// Clears the value of `useItemRareCandyProto814`. Subsequent reads from it will return its default value. + public mutating func clearUseItemRareCandyProto814() {_uniqueStorage()._useItemRareCandyProto814 = nil} - public var deleteGiftFromInventoryOutProto958: DeleteGiftFromInventoryOutProto { - get {return _storage._deleteGiftFromInventoryOutProto958 ?? DeleteGiftFromInventoryOutProto()} - set {_uniqueStorage()._deleteGiftFromInventoryOutProto958 = newValue} + public var awardFreeRaidTicketProto815: AwardFreeRaidTicketProto { + get {return _storage._awardFreeRaidTicketProto815 ?? AwardFreeRaidTicketProto()} + set {_uniqueStorage()._awardFreeRaidTicketProto815 = newValue} } - /// Returns true if `deleteGiftFromInventoryOutProto958` has been explicitly set. - public var hasDeleteGiftFromInventoryOutProto958: Bool {return _storage._deleteGiftFromInventoryOutProto958 != nil} - /// Clears the value of `deleteGiftFromInventoryOutProto958`. Subsequent reads from it will return its default value. - public mutating func clearDeleteGiftFromInventoryOutProto958() {_uniqueStorage()._deleteGiftFromInventoryOutProto958 = nil} + /// Returns true if `awardFreeRaidTicketProto815` has been explicitly set. + public var hasAwardFreeRaidTicketProto815: Bool {return _storage._awardFreeRaidTicketProto815 != nil} + /// Clears the value of `awardFreeRaidTicketProto815`. Subsequent reads from it will return its default value. + public mutating func clearAwardFreeRaidTicketProto815() {_uniqueStorage()._awardFreeRaidTicketProto815 = nil} - public var savesocialPlayersettingsOutProto959: SaveSocialPlayerSettingsOutProto { - get {return _storage._savesocialPlayersettingsOutProto959 ?? SaveSocialPlayerSettingsOutProto()} - set {_uniqueStorage()._savesocialPlayersettingsOutProto959 = newValue} + public var fetchAllNewsProto816: FetchAllNewsProto { + get {return _storage._fetchAllNewsProto816 ?? FetchAllNewsProto()} + set {_uniqueStorage()._fetchAllNewsProto816 = newValue} } - /// Returns true if `savesocialPlayersettingsOutProto959` has been explicitly set. - public var hasSavesocialPlayersettingsOutProto959: Bool {return _storage._savesocialPlayersettingsOutProto959 != nil} - /// Clears the value of `savesocialPlayersettingsOutProto959`. Subsequent reads from it will return its default value. - public mutating func clearSavesocialPlayersettingsOutProto959() {_uniqueStorage()._savesocialPlayersettingsOutProto959 = nil} + /// Returns true if `fetchAllNewsProto816` has been explicitly set. + public var hasFetchAllNewsProto816: Bool {return _storage._fetchAllNewsProto816 != nil} + /// Clears the value of `fetchAllNewsProto816`. Subsequent reads from it will return its default value. + public mutating func clearFetchAllNewsProto816() {_uniqueStorage()._fetchAllNewsProto816 = nil} - public var shareExRaidPassOutProto960: ShareExRaidPassOutProto { - get {return _storage._shareExRaidPassOutProto960 ?? ShareExRaidPassOutProto()} - set {_uniqueStorage()._shareExRaidPassOutProto960 = newValue} + public var markReadNewsArticleProto817: MarkReadNewsArticleProto { + get {return _storage._markReadNewsArticleProto817 ?? MarkReadNewsArticleProto()} + set {_uniqueStorage()._markReadNewsArticleProto817 = newValue} } - /// Returns true if `shareExRaidPassOutProto960` has been explicitly set. - public var hasShareExRaidPassOutProto960: Bool {return _storage._shareExRaidPassOutProto960 != nil} - /// Clears the value of `shareExRaidPassOutProto960`. Subsequent reads from it will return its default value. - public mutating func clearShareExRaidPassOutProto960() {_uniqueStorage()._shareExRaidPassOutProto960 = nil} + /// Returns true if `markReadNewsArticleProto817` has been explicitly set. + public var hasMarkReadNewsArticleProto817: Bool {return _storage._markReadNewsArticleProto817 != nil} + /// Clears the value of `markReadNewsArticleProto817`. Subsequent reads from it will return its default value. + public mutating func clearMarkReadNewsArticleProto817() {_uniqueStorage()._markReadNewsArticleProto817 = nil} - public var checkShareExRaidPassOutProto961: CheckShareExRaidPassOutProto { - get {return _storage._checkShareExRaidPassOutProto961 ?? CheckShareExRaidPassOutProto()} - set {_uniqueStorage()._checkShareExRaidPassOutProto961 = newValue} + public var belugaTransactionStartProto819: BelugaTransactionStartProto { + get {return _storage._belugaTransactionStartProto819 ?? BelugaTransactionStartProto()} + set {_uniqueStorage()._belugaTransactionStartProto819 = newValue} } - /// Returns true if `checkShareExRaidPassOutProto961` has been explicitly set. - public var hasCheckShareExRaidPassOutProto961: Bool {return _storage._checkShareExRaidPassOutProto961 != nil} - /// Clears the value of `checkShareExRaidPassOutProto961`. Subsequent reads from it will return its default value. - public mutating func clearCheckShareExRaidPassOutProto961() {_uniqueStorage()._checkShareExRaidPassOutProto961 = nil} + /// Returns true if `belugaTransactionStartProto819` has been explicitly set. + public var hasBelugaTransactionStartProto819: Bool {return _storage._belugaTransactionStartProto819 != nil} + /// Clears the value of `belugaTransactionStartProto819`. Subsequent reads from it will return its default value. + public mutating func clearBelugaTransactionStartProto819() {_uniqueStorage()._belugaTransactionStartProto819 = nil} - public var declineExRaidPassOutProto962: DeclineExRaidPassOutProto { - get {return _storage._declineExRaidPassOutProto962 ?? DeclineExRaidPassOutProto()} - set {_uniqueStorage()._declineExRaidPassOutProto962 = newValue} + public var belugaTransactionCompleteProto820: BelugaTransactionCompleteProto { + get {return _storage._belugaTransactionCompleteProto820 ?? BelugaTransactionCompleteProto()} + set {_uniqueStorage()._belugaTransactionCompleteProto820 = newValue} } - /// Returns true if `declineExRaidPassOutProto962` has been explicitly set. - public var hasDeclineExRaidPassOutProto962: Bool {return _storage._declineExRaidPassOutProto962 != nil} - /// Clears the value of `declineExRaidPassOutProto962`. Subsequent reads from it will return its default value. - public mutating func clearDeclineExRaidPassOutProto962() {_uniqueStorage()._declineExRaidPassOutProto962 = nil} + /// Returns true if `belugaTransactionCompleteProto820` has been explicitly set. + public var hasBelugaTransactionCompleteProto820: Bool {return _storage._belugaTransactionCompleteProto820 != nil} + /// Clears the value of `belugaTransactionCompleteProto820`. Subsequent reads from it will return its default value. + public mutating func clearBelugaTransactionCompleteProto820() {_uniqueStorage()._belugaTransactionCompleteProto820 = nil} - public var openTradingoutProto970: OpenTradingOutProto { - get {return _storage._openTradingoutProto970 ?? OpenTradingOutProto()} - set {_uniqueStorage()._openTradingoutProto970 = newValue} + public var sfidaAssociateRequest822: SfidaAssociateRequest { + get {return _storage._sfidaAssociateRequest822 ?? SfidaAssociateRequest()} + set {_uniqueStorage()._sfidaAssociateRequest822 = newValue} } - /// Returns true if `openTradingoutProto970` has been explicitly set. - public var hasOpenTradingoutProto970: Bool {return _storage._openTradingoutProto970 != nil} - /// Clears the value of `openTradingoutProto970`. Subsequent reads from it will return its default value. - public mutating func clearOpenTradingoutProto970() {_uniqueStorage()._openTradingoutProto970 = nil} + /// Returns true if `sfidaAssociateRequest822` has been explicitly set. + public var hasSfidaAssociateRequest822: Bool {return _storage._sfidaAssociateRequest822 != nil} + /// Clears the value of `sfidaAssociateRequest822`. Subsequent reads from it will return its default value. + public mutating func clearSfidaAssociateRequest822() {_uniqueStorage()._sfidaAssociateRequest822 = nil} - public var updateTradingOutProto971: UpdateTradingOutProto { - get {return _storage._updateTradingOutProto971 ?? UpdateTradingOutProto()} - set {_uniqueStorage()._updateTradingOutProto971 = newValue} + public var sfidaCheckPairingRequest823: SfidaCheckPairingRequest { + get {return _storage._sfidaCheckPairingRequest823 ?? SfidaCheckPairingRequest()} + set {_uniqueStorage()._sfidaCheckPairingRequest823 = newValue} } - /// Returns true if `updateTradingOutProto971` has been explicitly set. - public var hasUpdateTradingOutProto971: Bool {return _storage._updateTradingOutProto971 != nil} - /// Clears the value of `updateTradingOutProto971`. Subsequent reads from it will return its default value. - public mutating func clearUpdateTradingOutProto971() {_uniqueStorage()._updateTradingOutProto971 = nil} + /// Returns true if `sfidaCheckPairingRequest823` has been explicitly set. + public var hasSfidaCheckPairingRequest823: Bool {return _storage._sfidaCheckPairingRequest823 != nil} + /// Clears the value of `sfidaCheckPairingRequest823`. Subsequent reads from it will return its default value. + public mutating func clearSfidaCheckPairingRequest823() {_uniqueStorage()._sfidaCheckPairingRequest823 = nil} - public var confirmTradingOutProto972: ConfirmTradingOutProto { - get {return _storage._confirmTradingOutProto972 ?? ConfirmTradingOutProto()} - set {_uniqueStorage()._confirmTradingOutProto972 = newValue} + public var sfidaDisassociateRequest824: SfidaDisassociateRequest { + get {return _storage._sfidaDisassociateRequest824 ?? SfidaDisassociateRequest()} + set {_uniqueStorage()._sfidaDisassociateRequest824 = newValue} } - /// Returns true if `confirmTradingOutProto972` has been explicitly set. - public var hasConfirmTradingOutProto972: Bool {return _storage._confirmTradingOutProto972 != nil} - /// Clears the value of `confirmTradingOutProto972`. Subsequent reads from it will return its default value. - public mutating func clearConfirmTradingOutProto972() {_uniqueStorage()._confirmTradingOutProto972 = nil} + /// Returns true if `sfidaDisassociateRequest824` has been explicitly set. + public var hasSfidaDisassociateRequest824: Bool {return _storage._sfidaDisassociateRequest824 != nil} + /// Clears the value of `sfidaDisassociateRequest824`. Subsequent reads from it will return its default value. + public mutating func clearSfidaDisassociateRequest824() {_uniqueStorage()._sfidaDisassociateRequest824 = nil} - public var cancelTradingOutProto973: CancelTradingOutProto { - get {return _storage._cancelTradingOutProto973 ?? CancelTradingOutProto()} - set {_uniqueStorage()._cancelTradingOutProto973 = newValue} + public var wainaSubmitSleepDataRequest826: WainaSubmitSleepDataRequest { + get {return _storage._wainaSubmitSleepDataRequest826 ?? WainaSubmitSleepDataRequest()} + set {_uniqueStorage()._wainaSubmitSleepDataRequest826 = newValue} } - /// Returns true if `cancelTradingOutProto973` has been explicitly set. - public var hasCancelTradingOutProto973: Bool {return _storage._cancelTradingOutProto973 != nil} - /// Clears the value of `cancelTradingOutProto973`. Subsequent reads from it will return its default value. - public mutating func clearCancelTradingOutProto973() {_uniqueStorage()._cancelTradingOutProto973 = nil} + /// Returns true if `wainaSubmitSleepDataRequest826` has been explicitly set. + public var hasWainaSubmitSleepDataRequest826: Bool {return _storage._wainaSubmitSleepDataRequest826 != nil} + /// Clears the value of `wainaSubmitSleepDataRequest826`. Subsequent reads from it will return its default value. + public mutating func clearWainaSubmitSleepDataRequest826() {_uniqueStorage()._wainaSubmitSleepDataRequest826 = nil} - public var getTradingOutProto974: GetTradingOutProto { - get {return _storage._getTradingOutProto974 ?? GetTradingOutProto()} - set {_uniqueStorage()._getTradingOutProto974 = newValue} + public var getNewQuestsProto900: GetNewQuestsProto { + get {return _storage._getNewQuestsProto900 ?? GetNewQuestsProto()} + set {_uniqueStorage()._getNewQuestsProto900 = newValue} } - /// Returns true if `getTradingOutProto974` has been explicitly set. - public var hasGetTradingOutProto974: Bool {return _storage._getTradingOutProto974 != nil} - /// Clears the value of `getTradingOutProto974`. Subsequent reads from it will return its default value. - public mutating func clearGetTradingOutProto974() {_uniqueStorage()._getTradingOutProto974 = nil} + /// Returns true if `getNewQuestsProto900` has been explicitly set. + public var hasGetNewQuestsProto900: Bool {return _storage._getNewQuestsProto900 != nil} + /// Clears the value of `getNewQuestsProto900`. Subsequent reads from it will return its default value. + public mutating func clearGetNewQuestsProto900() {_uniqueStorage()._getNewQuestsProto900 = nil} - public var getFitnessRewardsOutProto980: GetFitnessRewardsOutProto { - get {return _storage._getFitnessRewardsOutProto980 ?? GetFitnessRewardsOutProto()} - set {_uniqueStorage()._getFitnessRewardsOutProto980 = newValue} + public var getQuestDetailsProto901: GetQuestDetailsProto { + get {return _storage._getQuestDetailsProto901 ?? GetQuestDetailsProto()} + set {_uniqueStorage()._getQuestDetailsProto901 = newValue} } - /// Returns true if `getFitnessRewardsOutProto980` has been explicitly set. - public var hasGetFitnessRewardsOutProto980: Bool {return _storage._getFitnessRewardsOutProto980 != nil} - /// Clears the value of `getFitnessRewardsOutProto980`. Subsequent reads from it will return its default value. - public mutating func clearGetFitnessRewardsOutProto980() {_uniqueStorage()._getFitnessRewardsOutProto980 = nil} + /// Returns true if `getQuestDetailsProto901` has been explicitly set. + public var hasGetQuestDetailsProto901: Bool {return _storage._getQuestDetailsProto901 != nil} + /// Clears the value of `getQuestDetailsProto901`. Subsequent reads from it will return its default value. + public mutating func clearGetQuestDetailsProto901() {_uniqueStorage()._getQuestDetailsProto901 = nil} - public var getCombatPlayerProfileOutProto990: GetCombatPlayerProfileOutProto { - get {return _storage._getCombatPlayerProfileOutProto990 ?? GetCombatPlayerProfileOutProto()} - set {_uniqueStorage()._getCombatPlayerProfileOutProto990 = newValue} + public var completeQuestProto902: CompleteQuestProto { + get {return _storage._completeQuestProto902 ?? CompleteQuestProto()} + set {_uniqueStorage()._completeQuestProto902 = newValue} } - /// Returns true if `getCombatPlayerProfileOutProto990` has been explicitly set. - public var hasGetCombatPlayerProfileOutProto990: Bool {return _storage._getCombatPlayerProfileOutProto990 != nil} - /// Clears the value of `getCombatPlayerProfileOutProto990`. Subsequent reads from it will return its default value. - public mutating func clearGetCombatPlayerProfileOutProto990() {_uniqueStorage()._getCombatPlayerProfileOutProto990 = nil} + /// Returns true if `completeQuestProto902` has been explicitly set. + public var hasCompleteQuestProto902: Bool {return _storage._completeQuestProto902 != nil} + /// Clears the value of `completeQuestProto902`. Subsequent reads from it will return its default value. + public mutating func clearCompleteQuestProto902() {_uniqueStorage()._completeQuestProto902 = nil} - public var generateCombatChallengeIDOutProto991: GenerateCombatChallengeIdOutProto { - get {return _storage._generateCombatChallengeIDOutProto991 ?? GenerateCombatChallengeIdOutProto()} - set {_uniqueStorage()._generateCombatChallengeIDOutProto991 = newValue} + public var removeQuestProto903: RemoveQuestProto { + get {return _storage._removeQuestProto903 ?? RemoveQuestProto()} + set {_uniqueStorage()._removeQuestProto903 = newValue} } - /// Returns true if `generateCombatChallengeIDOutProto991` has been explicitly set. - public var hasGenerateCombatChallengeIDOutProto991: Bool {return _storage._generateCombatChallengeIDOutProto991 != nil} - /// Clears the value of `generateCombatChallengeIDOutProto991`. Subsequent reads from it will return its default value. - public mutating func clearGenerateCombatChallengeIDOutProto991() {_uniqueStorage()._generateCombatChallengeIDOutProto991 = nil} + /// Returns true if `removeQuestProto903` has been explicitly set. + public var hasRemoveQuestProto903: Bool {return _storage._removeQuestProto903 != nil} + /// Clears the value of `removeQuestProto903`. Subsequent reads from it will return its default value. + public mutating func clearRemoveQuestProto903() {_uniqueStorage()._removeQuestProto903 = nil} - public var createcombatchallengeOutProto992: CreateCombatChallengeOutProto { - get {return _storage._createcombatchallengeOutProto992 ?? CreateCombatChallengeOutProto()} - set {_uniqueStorage()._createcombatchallengeOutProto992 = newValue} + public var questEncounterProto904: QuestEncounterProto { + get {return _storage._questEncounterProto904 ?? QuestEncounterProto()} + set {_uniqueStorage()._questEncounterProto904 = newValue} } - /// Returns true if `createcombatchallengeOutProto992` has been explicitly set. - public var hasCreatecombatchallengeOutProto992: Bool {return _storage._createcombatchallengeOutProto992 != nil} - /// Clears the value of `createcombatchallengeOutProto992`. Subsequent reads from it will return its default value. - public mutating func clearCreatecombatchallengeOutProto992() {_uniqueStorage()._createcombatchallengeOutProto992 = nil} + /// Returns true if `questEncounterProto904` has been explicitly set. + public var hasQuestEncounterProto904: Bool {return _storage._questEncounterProto904 != nil} + /// Clears the value of `questEncounterProto904`. Subsequent reads from it will return its default value. + public mutating func clearQuestEncounterProto904() {_uniqueStorage()._questEncounterProto904 = nil} - public var openCombatChallengeoutProto993: OpenCombatChallengeOutProto { - get {return _storage._openCombatChallengeoutProto993 ?? OpenCombatChallengeOutProto()} - set {_uniqueStorage()._openCombatChallengeoutProto993 = newValue} + public var progressQuestproto906: ProgressQuestProto { + get {return _storage._progressQuestproto906 ?? ProgressQuestProto()} + set {_uniqueStorage()._progressQuestproto906 = newValue} } - /// Returns true if `openCombatChallengeoutProto993` has been explicitly set. - public var hasOpenCombatChallengeoutProto993: Bool {return _storage._openCombatChallengeoutProto993 != nil} - /// Clears the value of `openCombatChallengeoutProto993`. Subsequent reads from it will return its default value. - public mutating func clearOpenCombatChallengeoutProto993() {_uniqueStorage()._openCombatChallengeoutProto993 = nil} + /// Returns true if `progressQuestproto906` has been explicitly set. + public var hasProgressQuestproto906: Bool {return _storage._progressQuestproto906 != nil} + /// Clears the value of `progressQuestproto906`. Subsequent reads from it will return its default value. + public mutating func clearProgressQuestproto906() {_uniqueStorage()._progressQuestproto906 = nil} - public var getCombatChallengeOutProto994: GetCombatChallengeOutProto { - get {return _storage._getCombatChallengeOutProto994 ?? GetCombatChallengeOutProto()} - set {_uniqueStorage()._getCombatChallengeOutProto994 = newValue} + public var sendGiftProto950: SendGiftProto { + get {return _storage._sendGiftProto950 ?? SendGiftProto()} + set {_uniqueStorage()._sendGiftProto950 = newValue} } - /// Returns true if `getCombatChallengeOutProto994` has been explicitly set. - public var hasGetCombatChallengeOutProto994: Bool {return _storage._getCombatChallengeOutProto994 != nil} - /// Clears the value of `getCombatChallengeOutProto994`. Subsequent reads from it will return its default value. - public mutating func clearGetCombatChallengeOutProto994() {_uniqueStorage()._getCombatChallengeOutProto994 = nil} + /// Returns true if `sendGiftProto950` has been explicitly set. + public var hasSendGiftProto950: Bool {return _storage._sendGiftProto950 != nil} + /// Clears the value of `sendGiftProto950`. Subsequent reads from it will return its default value. + public mutating func clearSendGiftProto950() {_uniqueStorage()._sendGiftProto950 = nil} - public var acceptCombatChallengeOutProto995: AcceptCombatChallengeOutProto { - get {return _storage._acceptCombatChallengeOutProto995 ?? AcceptCombatChallengeOutProto()} - set {_uniqueStorage()._acceptCombatChallengeOutProto995 = newValue} + public var openGiftProto951: OpenGiftProto { + get {return _storage._openGiftProto951 ?? OpenGiftProto()} + set {_uniqueStorage()._openGiftProto951 = newValue} } - /// Returns true if `acceptCombatChallengeOutProto995` has been explicitly set. - public var hasAcceptCombatChallengeOutProto995: Bool {return _storage._acceptCombatChallengeOutProto995 != nil} - /// Clears the value of `acceptCombatChallengeOutProto995`. Subsequent reads from it will return its default value. - public mutating func clearAcceptCombatChallengeOutProto995() {_uniqueStorage()._acceptCombatChallengeOutProto995 = nil} + /// Returns true if `openGiftProto951` has been explicitly set. + public var hasOpenGiftProto951: Bool {return _storage._openGiftProto951 != nil} + /// Clears the value of `openGiftProto951`. Subsequent reads from it will return its default value. + public mutating func clearOpenGiftProto951() {_uniqueStorage()._openGiftProto951 = nil} - public var declineCombatChallengeOutProto996: DeclineCombatChallengeOutProto { - get {return _storage._declineCombatChallengeOutProto996 ?? DeclineCombatChallengeOutProto()} - set {_uniqueStorage()._declineCombatChallengeOutProto996 = newValue} + public var getgiftBoxDetailsProto952: GetGiftBoxDetailsProto { + get {return _storage._getgiftBoxDetailsProto952 ?? GetGiftBoxDetailsProto()} + set {_uniqueStorage()._getgiftBoxDetailsProto952 = newValue} } - /// Returns true if `declineCombatChallengeOutProto996` has been explicitly set. - public var hasDeclineCombatChallengeOutProto996: Bool {return _storage._declineCombatChallengeOutProto996 != nil} - /// Clears the value of `declineCombatChallengeOutProto996`. Subsequent reads from it will return its default value. - public mutating func clearDeclineCombatChallengeOutProto996() {_uniqueStorage()._declineCombatChallengeOutProto996 = nil} + /// Returns true if `getgiftBoxDetailsProto952` has been explicitly set. + public var hasGetgiftBoxDetailsProto952: Bool {return _storage._getgiftBoxDetailsProto952 != nil} + /// Clears the value of `getgiftBoxDetailsProto952`. Subsequent reads from it will return its default value. + public mutating func clearGetgiftBoxDetailsProto952() {_uniqueStorage()._getgiftBoxDetailsProto952 = nil} - public var cancelcombatchallengeOutProto997: CancelCombatChallengeOutProto { - get {return _storage._cancelcombatchallengeOutProto997 ?? CancelCombatChallengeOutProto()} - set {_uniqueStorage()._cancelcombatchallengeOutProto997 = newValue} + public var deleteGiftProto953: DeleteGiftProto { + get {return _storage._deleteGiftProto953 ?? DeleteGiftProto()} + set {_uniqueStorage()._deleteGiftProto953 = newValue} } - /// Returns true if `cancelcombatchallengeOutProto997` has been explicitly set. - public var hasCancelcombatchallengeOutProto997: Bool {return _storage._cancelcombatchallengeOutProto997 != nil} - /// Clears the value of `cancelcombatchallengeOutProto997`. Subsequent reads from it will return its default value. - public mutating func clearCancelcombatchallengeOutProto997() {_uniqueStorage()._cancelcombatchallengeOutProto997 = nil} + /// Returns true if `deleteGiftProto953` has been explicitly set. + public var hasDeleteGiftProto953: Bool {return _storage._deleteGiftProto953 != nil} + /// Clears the value of `deleteGiftProto953`. Subsequent reads from it will return its default value. + public mutating func clearDeleteGiftProto953() {_uniqueStorage()._deleteGiftProto953 = nil} - public var submitCombatChallengePokemonsOutProto998: SubmitCombatChallengePokemonsOutProto { - get {return _storage._submitCombatChallengePokemonsOutProto998 ?? SubmitCombatChallengePokemonsOutProto()} - set {_uniqueStorage()._submitCombatChallengePokemonsOutProto998 = newValue} + public var savePlayersnapshotProto954: SavePlayerSnapshotProto { + get {return _storage._savePlayersnapshotProto954 ?? SavePlayerSnapshotProto()} + set {_uniqueStorage()._savePlayersnapshotProto954 = newValue} } - /// Returns true if `submitCombatChallengePokemonsOutProto998` has been explicitly set. - public var hasSubmitCombatChallengePokemonsOutProto998: Bool {return _storage._submitCombatChallengePokemonsOutProto998 != nil} - /// Clears the value of `submitCombatChallengePokemonsOutProto998`. Subsequent reads from it will return its default value. - public mutating func clearSubmitCombatChallengePokemonsOutProto998() {_uniqueStorage()._submitCombatChallengePokemonsOutProto998 = nil} + /// Returns true if `savePlayersnapshotProto954` has been explicitly set. + public var hasSavePlayersnapshotProto954: Bool {return _storage._savePlayersnapshotProto954 != nil} + /// Clears the value of `savePlayersnapshotProto954`. Subsequent reads from it will return its default value. + public mutating func clearSavePlayersnapshotProto954() {_uniqueStorage()._savePlayersnapshotProto954 = nil} - public var saveCombatPlayerPreferencesOutProto999: SaveCombatPlayerPreferencesOutProto { - get {return _storage._saveCombatPlayerPreferencesOutProto999 ?? SaveCombatPlayerPreferencesOutProto()} - set {_uniqueStorage()._saveCombatPlayerPreferencesOutProto999 = newValue} + public var checkSendGiftProto956: CheckSendGiftProto { + get {return _storage._checkSendGiftProto956 ?? CheckSendGiftProto()} + set {_uniqueStorage()._checkSendGiftProto956 = newValue} } - /// Returns true if `saveCombatPlayerPreferencesOutProto999` has been explicitly set. - public var hasSaveCombatPlayerPreferencesOutProto999: Bool {return _storage._saveCombatPlayerPreferencesOutProto999 != nil} - /// Clears the value of `saveCombatPlayerPreferencesOutProto999`. Subsequent reads from it will return its default value. - public mutating func clearSaveCombatPlayerPreferencesOutProto999() {_uniqueStorage()._saveCombatPlayerPreferencesOutProto999 = nil} + /// Returns true if `checkSendGiftProto956` has been explicitly set. + public var hasCheckSendGiftProto956: Bool {return _storage._checkSendGiftProto956 != nil} + /// Clears the value of `checkSendGiftProto956`. Subsequent reads from it will return its default value. + public mutating func clearCheckSendGiftProto956() {_uniqueStorage()._checkSendGiftProto956 = nil} - public var openCombatSessionoutProto1000: OpenCombatSessionOutProto { - get {return _storage._openCombatSessionoutProto1000 ?? OpenCombatSessionOutProto()} - set {_uniqueStorage()._openCombatSessionoutProto1000 = newValue} + public var setFriendNicknameProto957: SetFriendNicknameProto { + get {return _storage._setFriendNicknameProto957 ?? SetFriendNicknameProto()} + set {_uniqueStorage()._setFriendNicknameProto957 = newValue} } - /// Returns true if `openCombatSessionoutProto1000` has been explicitly set. - public var hasOpenCombatSessionoutProto1000: Bool {return _storage._openCombatSessionoutProto1000 != nil} - /// Clears the value of `openCombatSessionoutProto1000`. Subsequent reads from it will return its default value. - public mutating func clearOpenCombatSessionoutProto1000() {_uniqueStorage()._openCombatSessionoutProto1000 = nil} + /// Returns true if `setFriendNicknameProto957` has been explicitly set. + public var hasSetFriendNicknameProto957: Bool {return _storage._setFriendNicknameProto957 != nil} + /// Clears the value of `setFriendNicknameProto957`. Subsequent reads from it will return its default value. + public mutating func clearSetFriendNicknameProto957() {_uniqueStorage()._setFriendNicknameProto957 = nil} - public var updateCombatOutProto1001: UpdateCombatOutProto { - get {return _storage._updateCombatOutProto1001 ?? UpdateCombatOutProto()} - set {_uniqueStorage()._updateCombatOutProto1001 = newValue} + public var deleteGiftFromInventoryProto958: DeleteGiftFromInventoryProto { + get {return _storage._deleteGiftFromInventoryProto958 ?? DeleteGiftFromInventoryProto()} + set {_uniqueStorage()._deleteGiftFromInventoryProto958 = newValue} } - /// Returns true if `updateCombatOutProto1001` has been explicitly set. - public var hasUpdateCombatOutProto1001: Bool {return _storage._updateCombatOutProto1001 != nil} - /// Clears the value of `updateCombatOutProto1001`. Subsequent reads from it will return its default value. - public mutating func clearUpdateCombatOutProto1001() {_uniqueStorage()._updateCombatOutProto1001 = nil} + /// Returns true if `deleteGiftFromInventoryProto958` has been explicitly set. + public var hasDeleteGiftFromInventoryProto958: Bool {return _storage._deleteGiftFromInventoryProto958 != nil} + /// Clears the value of `deleteGiftFromInventoryProto958`. Subsequent reads from it will return its default value. + public mutating func clearDeleteGiftFromInventoryProto958() {_uniqueStorage()._deleteGiftFromInventoryProto958 = nil} - public var quitCombatOutProto1002: QuitCombatOutProto { - get {return _storage._quitCombatOutProto1002 ?? QuitCombatOutProto()} - set {_uniqueStorage()._quitCombatOutProto1002 = newValue} + public var savesocialPlayersettingsProto959: SaveSocialPlayerSettingsProto { + get {return _storage._savesocialPlayersettingsProto959 ?? SaveSocialPlayerSettingsProto()} + set {_uniqueStorage()._savesocialPlayersettingsProto959 = newValue} } - /// Returns true if `quitCombatOutProto1002` has been explicitly set. - public var hasQuitCombatOutProto1002: Bool {return _storage._quitCombatOutProto1002 != nil} - /// Clears the value of `quitCombatOutProto1002`. Subsequent reads from it will return its default value. - public mutating func clearQuitCombatOutProto1002() {_uniqueStorage()._quitCombatOutProto1002 = nil} + /// Returns true if `savesocialPlayersettingsProto959` has been explicitly set. + public var hasSavesocialPlayersettingsProto959: Bool {return _storage._savesocialPlayersettingsProto959 != nil} + /// Clears the value of `savesocialPlayersettingsProto959`. Subsequent reads from it will return its default value. + public mutating func clearSavesocialPlayersettingsProto959() {_uniqueStorage()._savesocialPlayersettingsProto959 = nil} - public var getCombatResultsOutProto1003: GetCombatResultsOutProto { - get {return _storage._getCombatResultsOutProto1003 ?? GetCombatResultsOutProto()} - set {_uniqueStorage()._getCombatResultsOutProto1003 = newValue} + public var openTradingProto970: OpenTradingProto { + get {return _storage._openTradingProto970 ?? OpenTradingProto()} + set {_uniqueStorage()._openTradingProto970 = newValue} } - /// Returns true if `getCombatResultsOutProto1003` has been explicitly set. - public var hasGetCombatResultsOutProto1003: Bool {return _storage._getCombatResultsOutProto1003 != nil} - /// Clears the value of `getCombatResultsOutProto1003`. Subsequent reads from it will return its default value. - public mutating func clearGetCombatResultsOutProto1003() {_uniqueStorage()._getCombatResultsOutProto1003 = nil} + /// Returns true if `openTradingProto970` has been explicitly set. + public var hasOpenTradingProto970: Bool {return _storage._openTradingProto970 != nil} + /// Clears the value of `openTradingProto970`. Subsequent reads from it will return its default value. + public mutating func clearOpenTradingProto970() {_uniqueStorage()._openTradingProto970 = nil} - public var unlockPokemonMoveOutProto1004: UnlockPokemonMoveOutProto { - get {return _storage._unlockPokemonMoveOutProto1004 ?? UnlockPokemonMoveOutProto()} - set {_uniqueStorage()._unlockPokemonMoveOutProto1004 = newValue} + public var updateTradingProto971: UpdateTradingProto { + get {return _storage._updateTradingProto971 ?? UpdateTradingProto()} + set {_uniqueStorage()._updateTradingProto971 = newValue} } - /// Returns true if `unlockPokemonMoveOutProto1004` has been explicitly set. - public var hasUnlockPokemonMoveOutProto1004: Bool {return _storage._unlockPokemonMoveOutProto1004 != nil} - /// Clears the value of `unlockPokemonMoveOutProto1004`. Subsequent reads from it will return its default value. - public mutating func clearUnlockPokemonMoveOutProto1004() {_uniqueStorage()._unlockPokemonMoveOutProto1004 = nil} + /// Returns true if `updateTradingProto971` has been explicitly set. + public var hasUpdateTradingProto971: Bool {return _storage._updateTradingProto971 != nil} + /// Clears the value of `updateTradingProto971`. Subsequent reads from it will return its default value. + public mutating func clearUpdateTradingProto971() {_uniqueStorage()._updateTradingProto971 = nil} - public var getNpcCombatRewardsOutProto1005: GetNpcCombatRewardsOutProto { - get {return _storage._getNpcCombatRewardsOutProto1005 ?? GetNpcCombatRewardsOutProto()} - set {_uniqueStorage()._getNpcCombatRewardsOutProto1005 = newValue} + public var confirmTradingProto972: ConfirmTradingProto { + get {return _storage._confirmTradingProto972 ?? ConfirmTradingProto()} + set {_uniqueStorage()._confirmTradingProto972 = newValue} } - /// Returns true if `getNpcCombatRewardsOutProto1005` has been explicitly set. - public var hasGetNpcCombatRewardsOutProto1005: Bool {return _storage._getNpcCombatRewardsOutProto1005 != nil} - /// Clears the value of `getNpcCombatRewardsOutProto1005`. Subsequent reads from it will return its default value. - public mutating func clearGetNpcCombatRewardsOutProto1005() {_uniqueStorage()._getNpcCombatRewardsOutProto1005 = nil} + /// Returns true if `confirmTradingProto972` has been explicitly set. + public var hasConfirmTradingProto972: Bool {return _storage._confirmTradingProto972 != nil} + /// Clears the value of `confirmTradingProto972`. Subsequent reads from it will return its default value. + public mutating func clearConfirmTradingProto972() {_uniqueStorage()._confirmTradingProto972 = nil} - public var combatFriendRequestOutProto1006: CombatFriendRequestOutProto { - get {return _storage._combatFriendRequestOutProto1006 ?? CombatFriendRequestOutProto()} - set {_uniqueStorage()._combatFriendRequestOutProto1006 = newValue} + public var cancelTradingProto973: CancelTradingProto { + get {return _storage._cancelTradingProto973 ?? CancelTradingProto()} + set {_uniqueStorage()._cancelTradingProto973 = newValue} } - /// Returns true if `combatFriendRequestOutProto1006` has been explicitly set. - public var hasCombatFriendRequestOutProto1006: Bool {return _storage._combatFriendRequestOutProto1006 != nil} - /// Clears the value of `combatFriendRequestOutProto1006`. Subsequent reads from it will return its default value. - public mutating func clearCombatFriendRequestOutProto1006() {_uniqueStorage()._combatFriendRequestOutProto1006 = nil} + /// Returns true if `cancelTradingProto973` has been explicitly set. + public var hasCancelTradingProto973: Bool {return _storage._cancelTradingProto973 != nil} + /// Clears the value of `cancelTradingProto973`. Subsequent reads from it will return its default value. + public mutating func clearCancelTradingProto973() {_uniqueStorage()._cancelTradingProto973 = nil} - public var openNpcCombatSessionoutProto1007: OpenNpcCombatSessionOutProto { - get {return _storage._openNpcCombatSessionoutProto1007 ?? OpenNpcCombatSessionOutProto()} - set {_uniqueStorage()._openNpcCombatSessionoutProto1007 = newValue} + public var getTradingProto974: GetTradingProto { + get {return _storage._getTradingProto974 ?? GetTradingProto()} + set {_uniqueStorage()._getTradingProto974 = newValue} } - /// Returns true if `openNpcCombatSessionoutProto1007` has been explicitly set. - public var hasOpenNpcCombatSessionoutProto1007: Bool {return _storage._openNpcCombatSessionoutProto1007 != nil} - /// Clears the value of `openNpcCombatSessionoutProto1007`. Subsequent reads from it will return its default value. - public mutating func clearOpenNpcCombatSessionoutProto1007() {_uniqueStorage()._openNpcCombatSessionoutProto1007 = nil} + /// Returns true if `getTradingProto974` has been explicitly set. + public var hasGetTradingProto974: Bool {return _storage._getTradingProto974 != nil} + /// Clears the value of `getTradingProto974`. Subsequent reads from it will return its default value. + public mutating func clearGetTradingProto974() {_uniqueStorage()._getTradingProto974 = nil} - public var startTutorialOutProto1008: StartTutorialOutProto { - get {return _storage._startTutorialOutProto1008 ?? StartTutorialOutProto()} - set {_uniqueStorage()._startTutorialOutProto1008 = newValue} + public var getFitnessRewardsProto980: GetFitnessRewardsProto { + get {return _storage._getFitnessRewardsProto980 ?? GetFitnessRewardsProto()} + set {_uniqueStorage()._getFitnessRewardsProto980 = newValue} } - /// Returns true if `startTutorialOutProto1008` has been explicitly set. - public var hasStartTutorialOutProto1008: Bool {return _storage._startTutorialOutProto1008 != nil} - /// Clears the value of `startTutorialOutProto1008`. Subsequent reads from it will return its default value. - public mutating func clearStartTutorialOutProto1008() {_uniqueStorage()._startTutorialOutProto1008 = nil} + /// Returns true if `getFitnessRewardsProto980` has been explicitly set. + public var hasGetFitnessRewardsProto980: Bool {return _storage._getFitnessRewardsProto980 != nil} + /// Clears the value of `getFitnessRewardsProto980`. Subsequent reads from it will return its default value. + public mutating func clearGetFitnessRewardsProto980() {_uniqueStorage()._getFitnessRewardsProto980 = nil} - public var getTutorialEggOutProto1009: GetTutorialEggOutProto { - get {return _storage._getTutorialEggOutProto1009 ?? GetTutorialEggOutProto()} - set {_uniqueStorage()._getTutorialEggOutProto1009 = newValue} + public var getCombatPlayerProfileProto990: GetCombatPlayerProfileProto { + get {return _storage._getCombatPlayerProfileProto990 ?? GetCombatPlayerProfileProto()} + set {_uniqueStorage()._getCombatPlayerProfileProto990 = newValue} } - /// Returns true if `getTutorialEggOutProto1009` has been explicitly set. - public var hasGetTutorialEggOutProto1009: Bool {return _storage._getTutorialEggOutProto1009 != nil} - /// Clears the value of `getTutorialEggOutProto1009`. Subsequent reads from it will return its default value. - public mutating func clearGetTutorialEggOutProto1009() {_uniqueStorage()._getTutorialEggOutProto1009 = nil} + /// Returns true if `getCombatPlayerProfileProto990` has been explicitly set. + public var hasGetCombatPlayerProfileProto990: Bool {return _storage._getCombatPlayerProfileProto990 != nil} + /// Clears the value of `getCombatPlayerProfileProto990`. Subsequent reads from it will return its default value. + public mutating func clearGetCombatPlayerProfileProto990() {_uniqueStorage()._getCombatPlayerProfileProto990 = nil} - public var sendProbeOutProto1020: SendProbeOutProto { - get {return _storage._sendProbeOutProto1020 ?? SendProbeOutProto()} - set {_uniqueStorage()._sendProbeOutProto1020 = newValue} + public var generateCombatChallengeIDProto991: GenerateCombatChallengeIdProto { + get {return _storage._generateCombatChallengeIDProto991 ?? GenerateCombatChallengeIdProto()} + set {_uniqueStorage()._generateCombatChallengeIDProto991 = newValue} } - /// Returns true if `sendProbeOutProto1020` has been explicitly set. - public var hasSendProbeOutProto1020: Bool {return _storage._sendProbeOutProto1020 != nil} - /// Clears the value of `sendProbeOutProto1020`. Subsequent reads from it will return its default value. - public mutating func clearSendProbeOutProto1020() {_uniqueStorage()._sendProbeOutProto1020 = nil} + /// Returns true if `generateCombatChallengeIDProto991` has been explicitly set. + public var hasGenerateCombatChallengeIDProto991: Bool {return _storage._generateCombatChallengeIDProto991 != nil} + /// Clears the value of `generateCombatChallengeIDProto991`. Subsequent reads from it will return its default value. + public mutating func clearGenerateCombatChallengeIDProto991() {_uniqueStorage()._generateCombatChallengeIDProto991 = nil} - public var checkPhotobombOutProto1101: CheckPhotobombOutProto { - get {return _storage._checkPhotobombOutProto1101 ?? CheckPhotobombOutProto()} - set {_uniqueStorage()._checkPhotobombOutProto1101 = newValue} + public var createcombatchallengeProto992: CreateCombatChallengeProto { + get {return _storage._createcombatchallengeProto992 ?? CreateCombatChallengeProto()} + set {_uniqueStorage()._createcombatchallengeProto992 = newValue} } - /// Returns true if `checkPhotobombOutProto1101` has been explicitly set. - public var hasCheckPhotobombOutProto1101: Bool {return _storage._checkPhotobombOutProto1101 != nil} - /// Clears the value of `checkPhotobombOutProto1101`. Subsequent reads from it will return its default value. - public mutating func clearCheckPhotobombOutProto1101() {_uniqueStorage()._checkPhotobombOutProto1101 = nil} + /// Returns true if `createcombatchallengeProto992` has been explicitly set. + public var hasCreatecombatchallengeProto992: Bool {return _storage._createcombatchallengeProto992 != nil} + /// Clears the value of `createcombatchallengeProto992`. Subsequent reads from it will return its default value. + public mutating func clearCreatecombatchallengeProto992() {_uniqueStorage()._createcombatchallengeProto992 = nil} - public var confirmPhotobombOutProto1102: ConfirmPhotobombOutProto { - get {return _storage._confirmPhotobombOutProto1102 ?? ConfirmPhotobombOutProto()} - set {_uniqueStorage()._confirmPhotobombOutProto1102 = newValue} + public var openCombatChallengeProto993: OpenCombatChallengeProto { + get {return _storage._openCombatChallengeProto993 ?? OpenCombatChallengeProto()} + set {_uniqueStorage()._openCombatChallengeProto993 = newValue} } - /// Returns true if `confirmPhotobombOutProto1102` has been explicitly set. - public var hasConfirmPhotobombOutProto1102: Bool {return _storage._confirmPhotobombOutProto1102 != nil} - /// Clears the value of `confirmPhotobombOutProto1102`. Subsequent reads from it will return its default value. - public mutating func clearConfirmPhotobombOutProto1102() {_uniqueStorage()._confirmPhotobombOutProto1102 = nil} + /// Returns true if `openCombatChallengeProto993` has been explicitly set. + public var hasOpenCombatChallengeProto993: Bool {return _storage._openCombatChallengeProto993 != nil} + /// Clears the value of `openCombatChallengeProto993`. Subsequent reads from it will return its default value. + public mutating func clearOpenCombatChallengeProto993() {_uniqueStorage()._openCombatChallengeProto993 = nil} - public var getPhotobombOutProto1103: GetPhotobombOutProto { - get {return _storage._getPhotobombOutProto1103 ?? GetPhotobombOutProto()} - set {_uniqueStorage()._getPhotobombOutProto1103 = newValue} + public var getCombatChallengeProto994: GetCombatChallengeProto { + get {return _storage._getCombatChallengeProto994 ?? GetCombatChallengeProto()} + set {_uniqueStorage()._getCombatChallengeProto994 = newValue} } - /// Returns true if `getPhotobombOutProto1103` has been explicitly set. - public var hasGetPhotobombOutProto1103: Bool {return _storage._getPhotobombOutProto1103 != nil} - /// Clears the value of `getPhotobombOutProto1103`. Subsequent reads from it will return its default value. - public mutating func clearGetPhotobombOutProto1103() {_uniqueStorage()._getPhotobombOutProto1103 = nil} + /// Returns true if `getCombatChallengeProto994` has been explicitly set. + public var hasGetCombatChallengeProto994: Bool {return _storage._getCombatChallengeProto994 != nil} + /// Clears the value of `getCombatChallengeProto994`. Subsequent reads from it will return its default value. + public mutating func clearGetCombatChallengeProto994() {_uniqueStorage()._getCombatChallengeProto994 = nil} - public var encounterPhotobombOutProto1104: EncounterPhotobombOutProto { - get {return _storage._encounterPhotobombOutProto1104 ?? EncounterPhotobombOutProto()} - set {_uniqueStorage()._encounterPhotobombOutProto1104 = newValue} + public var acceptCombatChallengeProto995: AcceptCombatChallengeProto { + get {return _storage._acceptCombatChallengeProto995 ?? AcceptCombatChallengeProto()} + set {_uniqueStorage()._acceptCombatChallengeProto995 = newValue} } - /// Returns true if `encounterPhotobombOutProto1104` has been explicitly set. - public var hasEncounterPhotobombOutProto1104: Bool {return _storage._encounterPhotobombOutProto1104 != nil} - /// Clears the value of `encounterPhotobombOutProto1104`. Subsequent reads from it will return its default value. - public mutating func clearEncounterPhotobombOutProto1104() {_uniqueStorage()._encounterPhotobombOutProto1104 = nil} + /// Returns true if `acceptCombatChallengeProto995` has been explicitly set. + public var hasAcceptCombatChallengeProto995: Bool {return _storage._acceptCombatChallengeProto995 != nil} + /// Clears the value of `acceptCombatChallengeProto995`. Subsequent reads from it will return its default value. + public mutating func clearAcceptCombatChallengeProto995() {_uniqueStorage()._acceptCombatChallengeProto995 = nil} - public var getgmapSettingsOutProto1105: GetGmapSettingsOutProto { - get {return _storage._getgmapSettingsOutProto1105 ?? GetGmapSettingsOutProto()} - set {_uniqueStorage()._getgmapSettingsOutProto1105 = newValue} + public var declineCombatChallengeProto996: DeclineCombatChallengeProto { + get {return _storage._declineCombatChallengeProto996 ?? DeclineCombatChallengeProto()} + set {_uniqueStorage()._declineCombatChallengeProto996 = newValue} } - /// Returns true if `getgmapSettingsOutProto1105` has been explicitly set. - public var hasGetgmapSettingsOutProto1105: Bool {return _storage._getgmapSettingsOutProto1105 != nil} - /// Clears the value of `getgmapSettingsOutProto1105`. Subsequent reads from it will return its default value. - public mutating func clearGetgmapSettingsOutProto1105() {_uniqueStorage()._getgmapSettingsOutProto1105 = nil} + /// Returns true if `declineCombatChallengeProto996` has been explicitly set. + public var hasDeclineCombatChallengeProto996: Bool {return _storage._declineCombatChallengeProto996 != nil} + /// Clears the value of `declineCombatChallengeProto996`. Subsequent reads from it will return its default value. + public mutating func clearDeclineCombatChallengeProto996() {_uniqueStorage()._declineCombatChallengeProto996 = nil} - public var changeTeamOutProto1106: ChangeTeamOutProto { - get {return _storage._changeTeamOutProto1106 ?? ChangeTeamOutProto()} - set {_uniqueStorage()._changeTeamOutProto1106 = newValue} + public var cancelcombatchallengeProto997: CancelCombatChallengeProto { + get {return _storage._cancelcombatchallengeProto997 ?? CancelCombatChallengeProto()} + set {_uniqueStorage()._cancelcombatchallengeProto997 = newValue} } - /// Returns true if `changeTeamOutProto1106` has been explicitly set. - public var hasChangeTeamOutProto1106: Bool {return _storage._changeTeamOutProto1106 != nil} - /// Clears the value of `changeTeamOutProto1106`. Subsequent reads from it will return its default value. - public mutating func clearChangeTeamOutProto1106() {_uniqueStorage()._changeTeamOutProto1106 = nil} + /// Returns true if `cancelcombatchallengeProto997` has been explicitly set. + public var hasCancelcombatchallengeProto997: Bool {return _storage._cancelcombatchallengeProto997 != nil} + /// Clears the value of `cancelcombatchallengeProto997`. Subsequent reads from it will return its default value. + public mutating func clearCancelcombatchallengeProto997() {_uniqueStorage()._cancelcombatchallengeProto997 = nil} - public var getWebTokenOutProto1107: GetWebTokenOutProto { - get {return _storage._getWebTokenOutProto1107 ?? GetWebTokenOutProto()} - set {_uniqueStorage()._getWebTokenOutProto1107 = newValue} + public var submitCombatChallengePokemonsProto998: SubmitCombatChallengePokemonsProto { + get {return _storage._submitCombatChallengePokemonsProto998 ?? SubmitCombatChallengePokemonsProto()} + set {_uniqueStorage()._submitCombatChallengePokemonsProto998 = newValue} } - /// Returns true if `getWebTokenOutProto1107` has been explicitly set. - public var hasGetWebTokenOutProto1107: Bool {return _storage._getWebTokenOutProto1107 != nil} - /// Clears the value of `getWebTokenOutProto1107`. Subsequent reads from it will return its default value. - public mutating func clearGetWebTokenOutProto1107() {_uniqueStorage()._getWebTokenOutProto1107 = nil} + /// Returns true if `submitCombatChallengePokemonsProto998` has been explicitly set. + public var hasSubmitCombatChallengePokemonsProto998: Bool {return _storage._submitCombatChallengePokemonsProto998 != nil} + /// Clears the value of `submitCombatChallengePokemonsProto998`. Subsequent reads from it will return its default value. + public mutating func clearSubmitCombatChallengePokemonsProto998() {_uniqueStorage()._submitCombatChallengePokemonsProto998 = nil} - public var completeSnapshotSessionOutProto1110: CompleteSnapshotSessionOutProto { - get {return _storage._completeSnapshotSessionOutProto1110 ?? CompleteSnapshotSessionOutProto()} - set {_uniqueStorage()._completeSnapshotSessionOutProto1110 = newValue} + public var saveCombatPlayerPreferencesProto999: SaveCombatPlayerPreferencesProto { + get {return _storage._saveCombatPlayerPreferencesProto999 ?? SaveCombatPlayerPreferencesProto()} + set {_uniqueStorage()._saveCombatPlayerPreferencesProto999 = newValue} } - /// Returns true if `completeSnapshotSessionOutProto1110` has been explicitly set. - public var hasCompleteSnapshotSessionOutProto1110: Bool {return _storage._completeSnapshotSessionOutProto1110 != nil} - /// Clears the value of `completeSnapshotSessionOutProto1110`. Subsequent reads from it will return its default value. - public mutating func clearCompleteSnapshotSessionOutProto1110() {_uniqueStorage()._completeSnapshotSessionOutProto1110 = nil} + /// Returns true if `saveCombatPlayerPreferencesProto999` has been explicitly set. + public var hasSaveCombatPlayerPreferencesProto999: Bool {return _storage._saveCombatPlayerPreferencesProto999 != nil} + /// Clears the value of `saveCombatPlayerPreferencesProto999`. Subsequent reads from it will return its default value. + public mutating func clearSaveCombatPlayerPreferencesProto999() {_uniqueStorage()._saveCombatPlayerPreferencesProto999 = nil} - public var completeWildSnapshotSessionOutProto1111: CompleteWildSnapshotSessionOutProto { - get {return _storage._completeWildSnapshotSessionOutProto1111 ?? CompleteWildSnapshotSessionOutProto()} - set {_uniqueStorage()._completeWildSnapshotSessionOutProto1111 = newValue} + public var openCombatSessionProto1000: OpenCombatSessionProto { + get {return _storage._openCombatSessionProto1000 ?? OpenCombatSessionProto()} + set {_uniqueStorage()._openCombatSessionProto1000 = newValue} } - /// Returns true if `completeWildSnapshotSessionOutProto1111` has been explicitly set. - public var hasCompleteWildSnapshotSessionOutProto1111: Bool {return _storage._completeWildSnapshotSessionOutProto1111 != nil} - /// Clears the value of `completeWildSnapshotSessionOutProto1111`. Subsequent reads from it will return its default value. - public mutating func clearCompleteWildSnapshotSessionOutProto1111() {_uniqueStorage()._completeWildSnapshotSessionOutProto1111 = nil} + /// Returns true if `openCombatSessionProto1000` has been explicitly set. + public var hasOpenCombatSessionProto1000: Bool {return _storage._openCombatSessionProto1000 != nil} + /// Clears the value of `openCombatSessionProto1000`. Subsequent reads from it will return its default value. + public mutating func clearOpenCombatSessionProto1000() {_uniqueStorage()._openCombatSessionProto1000 = nil} - public var startIncidentOutProto1200: StartIncidentOutProto { - get {return _storage._startIncidentOutProto1200 ?? StartIncidentOutProto()} - set {_uniqueStorage()._startIncidentOutProto1200 = newValue} + public var updateCombatProto1001: UpdateCombatProto { + get {return _storage._updateCombatProto1001 ?? UpdateCombatProto()} + set {_uniqueStorage()._updateCombatProto1001 = newValue} } - /// Returns true if `startIncidentOutProto1200` has been explicitly set. - public var hasStartIncidentOutProto1200: Bool {return _storage._startIncidentOutProto1200 != nil} - /// Clears the value of `startIncidentOutProto1200`. Subsequent reads from it will return its default value. - public mutating func clearStartIncidentOutProto1200() {_uniqueStorage()._startIncidentOutProto1200 = nil} + /// Returns true if `updateCombatProto1001` has been explicitly set. + public var hasUpdateCombatProto1001: Bool {return _storage._updateCombatProto1001 != nil} + /// Clears the value of `updateCombatProto1001`. Subsequent reads from it will return its default value. + public mutating func clearUpdateCombatProto1001() {_uniqueStorage()._updateCombatProto1001 = nil} - public var completeInvasionDialogueOutProto1201: CompleteInvasionDialogueOutProto { - get {return _storage._completeInvasionDialogueOutProto1201 ?? CompleteInvasionDialogueOutProto()} - set {_uniqueStorage()._completeInvasionDialogueOutProto1201 = newValue} + public var quitCombatProto1002: QuitCombatProto { + get {return _storage._quitCombatProto1002 ?? QuitCombatProto()} + set {_uniqueStorage()._quitCombatProto1002 = newValue} } - /// Returns true if `completeInvasionDialogueOutProto1201` has been explicitly set. - public var hasCompleteInvasionDialogueOutProto1201: Bool {return _storage._completeInvasionDialogueOutProto1201 != nil} - /// Clears the value of `completeInvasionDialogueOutProto1201`. Subsequent reads from it will return its default value. - public mutating func clearCompleteInvasionDialogueOutProto1201() {_uniqueStorage()._completeInvasionDialogueOutProto1201 = nil} + /// Returns true if `quitCombatProto1002` has been explicitly set. + public var hasQuitCombatProto1002: Bool {return _storage._quitCombatProto1002 != nil} + /// Clears the value of `quitCombatProto1002`. Subsequent reads from it will return its default value. + public mutating func clearQuitCombatProto1002() {_uniqueStorage()._quitCombatProto1002 = nil} - public var openInvasionCombatSessionoutProto1202: OpenInvasionCombatSessionOutProto { - get {return _storage._openInvasionCombatSessionoutProto1202 ?? OpenInvasionCombatSessionOutProto()} - set {_uniqueStorage()._openInvasionCombatSessionoutProto1202 = newValue} + public var getCombatResultsProto1003: GetCombatResultsProto { + get {return _storage._getCombatResultsProto1003 ?? GetCombatResultsProto()} + set {_uniqueStorage()._getCombatResultsProto1003 = newValue} } - /// Returns true if `openInvasionCombatSessionoutProto1202` has been explicitly set. - public var hasOpenInvasionCombatSessionoutProto1202: Bool {return _storage._openInvasionCombatSessionoutProto1202 != nil} - /// Clears the value of `openInvasionCombatSessionoutProto1202`. Subsequent reads from it will return its default value. - public mutating func clearOpenInvasionCombatSessionoutProto1202() {_uniqueStorage()._openInvasionCombatSessionoutProto1202 = nil} + /// Returns true if `getCombatResultsProto1003` has been explicitly set. + public var hasGetCombatResultsProto1003: Bool {return _storage._getCombatResultsProto1003 != nil} + /// Clears the value of `getCombatResultsProto1003`. Subsequent reads from it will return its default value. + public mutating func clearGetCombatResultsProto1003() {_uniqueStorage()._getCombatResultsProto1003 = nil} - public var updateInvasionBattleOutProto1203: UpdateInvasionBattleOutProto { - get {return _storage._updateInvasionBattleOutProto1203 ?? UpdateInvasionBattleOutProto()} - set {_uniqueStorage()._updateInvasionBattleOutProto1203 = newValue} + public var unlockPokemonMoveProto1004: UnlockPokemonMoveProto { + get {return _storage._unlockPokemonMoveProto1004 ?? UnlockPokemonMoveProto()} + set {_uniqueStorage()._unlockPokemonMoveProto1004 = newValue} } - /// Returns true if `updateInvasionBattleOutProto1203` has been explicitly set. - public var hasUpdateInvasionBattleOutProto1203: Bool {return _storage._updateInvasionBattleOutProto1203 != nil} - /// Clears the value of `updateInvasionBattleOutProto1203`. Subsequent reads from it will return its default value. - public mutating func clearUpdateInvasionBattleOutProto1203() {_uniqueStorage()._updateInvasionBattleOutProto1203 = nil} + /// Returns true if `unlockPokemonMoveProto1004` has been explicitly set. + public var hasUnlockPokemonMoveProto1004: Bool {return _storage._unlockPokemonMoveProto1004 != nil} + /// Clears the value of `unlockPokemonMoveProto1004`. Subsequent reads from it will return its default value. + public mutating func clearUnlockPokemonMoveProto1004() {_uniqueStorage()._unlockPokemonMoveProto1004 = nil} - public var invasionEncounterOutProto1204: InvasionEncounterOutProto { - get {return _storage._invasionEncounterOutProto1204 ?? InvasionEncounterOutProto()} - set {_uniqueStorage()._invasionEncounterOutProto1204 = newValue} + public var getNpcCombatRewardsProto1005: GetNpcCombatRewardsProto { + get {return _storage._getNpcCombatRewardsProto1005 ?? GetNpcCombatRewardsProto()} + set {_uniqueStorage()._getNpcCombatRewardsProto1005 = newValue} } - /// Returns true if `invasionEncounterOutProto1204` has been explicitly set. - public var hasInvasionEncounterOutProto1204: Bool {return _storage._invasionEncounterOutProto1204 != nil} - /// Clears the value of `invasionEncounterOutProto1204`. Subsequent reads from it will return its default value. - public mutating func clearInvasionEncounterOutProto1204() {_uniqueStorage()._invasionEncounterOutProto1204 = nil} + /// Returns true if `getNpcCombatRewardsProto1005` has been explicitly set. + public var hasGetNpcCombatRewardsProto1005: Bool {return _storage._getNpcCombatRewardsProto1005 != nil} + /// Clears the value of `getNpcCombatRewardsProto1005`. Subsequent reads from it will return its default value. + public mutating func clearGetNpcCombatRewardsProto1005() {_uniqueStorage()._getNpcCombatRewardsProto1005 = nil} - public var purifypokemonOutproto1205: PurifyPokemonOutProto { - get {return _storage._purifypokemonOutproto1205 ?? PurifyPokemonOutProto()} - set {_uniqueStorage()._purifypokemonOutproto1205 = newValue} + public var combatFriendRequestProto1006: CombatFriendRequestProto { + get {return _storage._combatFriendRequestProto1006 ?? CombatFriendRequestProto()} + set {_uniqueStorage()._combatFriendRequestProto1006 = newValue} } - /// Returns true if `purifypokemonOutproto1205` has been explicitly set. - public var hasPurifypokemonOutproto1205: Bool {return _storage._purifypokemonOutproto1205 != nil} - /// Clears the value of `purifypokemonOutproto1205`. Subsequent reads from it will return its default value. - public mutating func clearPurifypokemonOutproto1205() {_uniqueStorage()._purifypokemonOutproto1205 = nil} + /// Returns true if `combatFriendRequestProto1006` has been explicitly set. + public var hasCombatFriendRequestProto1006: Bool {return _storage._combatFriendRequestProto1006 != nil} + /// Clears the value of `combatFriendRequestProto1006`. Subsequent reads from it will return its default value. + public mutating func clearCombatFriendRequestProto1006() {_uniqueStorage()._combatFriendRequestProto1006 = nil} - public var getRocketBalloonOutProto1206: GetRocketBalloonOutProto { - get {return _storage._getRocketBalloonOutProto1206 ?? GetRocketBalloonOutProto()} - set {_uniqueStorage()._getRocketBalloonOutProto1206 = newValue} + public var openNpcCombatSessionProto1007: OpenNpcCombatSessionProto { + get {return _storage._openNpcCombatSessionProto1007 ?? OpenNpcCombatSessionProto()} + set {_uniqueStorage()._openNpcCombatSessionProto1007 = newValue} } - /// Returns true if `getRocketBalloonOutProto1206` has been explicitly set. - public var hasGetRocketBalloonOutProto1206: Bool {return _storage._getRocketBalloonOutProto1206 != nil} - /// Clears the value of `getRocketBalloonOutProto1206`. Subsequent reads from it will return its default value. - public mutating func clearGetRocketBalloonOutProto1206() {_uniqueStorage()._getRocketBalloonOutProto1206 = nil} + /// Returns true if `openNpcCombatSessionProto1007` has been explicitly set. + public var hasOpenNpcCombatSessionProto1007: Bool {return _storage._openNpcCombatSessionProto1007 != nil} + /// Clears the value of `openNpcCombatSessionProto1007`. Subsequent reads from it will return its default value. + public mutating func clearOpenNpcCombatSessionProto1007() {_uniqueStorage()._openNpcCombatSessionProto1007 = nil} - public var vsSeekerStartMatchmakingOutProto1300: VsSeekerStartMatchmakingOutProto { - get {return _storage._vsSeekerStartMatchmakingOutProto1300 ?? VsSeekerStartMatchmakingOutProto()} - set {_uniqueStorage()._vsSeekerStartMatchmakingOutProto1300 = newValue} + public var startTutorialProto1008: StartTutorialProto { + get {return _storage._startTutorialProto1008 ?? StartTutorialProto()} + set {_uniqueStorage()._startTutorialProto1008 = newValue} } - /// Returns true if `vsSeekerStartMatchmakingOutProto1300` has been explicitly set. - public var hasVsSeekerStartMatchmakingOutProto1300: Bool {return _storage._vsSeekerStartMatchmakingOutProto1300 != nil} - /// Clears the value of `vsSeekerStartMatchmakingOutProto1300`. Subsequent reads from it will return its default value. - public mutating func clearVsSeekerStartMatchmakingOutProto1300() {_uniqueStorage()._vsSeekerStartMatchmakingOutProto1300 = nil} + /// Returns true if `startTutorialProto1008` has been explicitly set. + public var hasStartTutorialProto1008: Bool {return _storage._startTutorialProto1008 != nil} + /// Clears the value of `startTutorialProto1008`. Subsequent reads from it will return its default value. + public mutating func clearStartTutorialProto1008() {_uniqueStorage()._startTutorialProto1008 = nil} - public var cancelMatchmakingOutProto1301: CancelMatchmakingOutProto { - get {return _storage._cancelMatchmakingOutProto1301 ?? CancelMatchmakingOutProto()} - set {_uniqueStorage()._cancelMatchmakingOutProto1301 = newValue} + public var getTutorialEggProto1009: GetTutorialEggProto { + get {return _storage._getTutorialEggProto1009 ?? GetTutorialEggProto()} + set {_uniqueStorage()._getTutorialEggProto1009 = newValue} } - /// Returns true if `cancelMatchmakingOutProto1301` has been explicitly set. - public var hasCancelMatchmakingOutProto1301: Bool {return _storage._cancelMatchmakingOutProto1301 != nil} - /// Clears the value of `cancelMatchmakingOutProto1301`. Subsequent reads from it will return its default value. - public mutating func clearCancelMatchmakingOutProto1301() {_uniqueStorage()._cancelMatchmakingOutProto1301 = nil} + /// Returns true if `getTutorialEggProto1009` has been explicitly set. + public var hasGetTutorialEggProto1009: Bool {return _storage._getTutorialEggProto1009 != nil} + /// Clears the value of `getTutorialEggProto1009`. Subsequent reads from it will return its default value. + public mutating func clearGetTutorialEggProto1009() {_uniqueStorage()._getTutorialEggProto1009 = nil} - public var getMatchmakingStatusOutProto1302: GetMatchmakingStatusOutProto { - get {return _storage._getMatchmakingStatusOutProto1302 ?? GetMatchmakingStatusOutProto()} - set {_uniqueStorage()._getMatchmakingStatusOutProto1302 = newValue} + public var sendProbeProto1020: SendProbeProto { + get {return _storage._sendProbeProto1020 ?? SendProbeProto()} + set {_uniqueStorage()._sendProbeProto1020 = newValue} } - /// Returns true if `getMatchmakingStatusOutProto1302` has been explicitly set. - public var hasGetMatchmakingStatusOutProto1302: Bool {return _storage._getMatchmakingStatusOutProto1302 != nil} - /// Clears the value of `getMatchmakingStatusOutProto1302`. Subsequent reads from it will return its default value. - public mutating func clearGetMatchmakingStatusOutProto1302() {_uniqueStorage()._getMatchmakingStatusOutProto1302 = nil} + /// Returns true if `sendProbeProto1020` has been explicitly set. + public var hasSendProbeProto1020: Bool {return _storage._sendProbeProto1020 != nil} + /// Clears the value of `sendProbeProto1020`. Subsequent reads from it will return its default value. + public mutating func clearSendProbeProto1020() {_uniqueStorage()._sendProbeProto1020 = nil} - public var completeVsSeekerAndRestartchargingOutProto1303: CompleteVsSeekerAndRestartChargingOutProto { - get {return _storage._completeVsSeekerAndRestartchargingOutProto1303 ?? CompleteVsSeekerAndRestartChargingOutProto()} - set {_uniqueStorage()._completeVsSeekerAndRestartchargingOutProto1303 = newValue} + public var checkPhotobombProto1101: CheckPhotobombProto { + get {return _storage._checkPhotobombProto1101 ?? CheckPhotobombProto()} + set {_uniqueStorage()._checkPhotobombProto1101 = newValue} } - /// Returns true if `completeVsSeekerAndRestartchargingOutProto1303` has been explicitly set. - public var hasCompleteVsSeekerAndRestartchargingOutProto1303: Bool {return _storage._completeVsSeekerAndRestartchargingOutProto1303 != nil} - /// Clears the value of `completeVsSeekerAndRestartchargingOutProto1303`. Subsequent reads from it will return its default value. - public mutating func clearCompleteVsSeekerAndRestartchargingOutProto1303() {_uniqueStorage()._completeVsSeekerAndRestartchargingOutProto1303 = nil} + /// Returns true if `checkPhotobombProto1101` has been explicitly set. + public var hasCheckPhotobombProto1101: Bool {return _storage._checkPhotobombProto1101 != nil} + /// Clears the value of `checkPhotobombProto1101`. Subsequent reads from it will return its default value. + public mutating func clearCheckPhotobombProto1101() {_uniqueStorage()._checkPhotobombProto1101 = nil} - public var getVsSeekerStatusOutProto1304: GetVsSeekerStatusOutProto { - get {return _storage._getVsSeekerStatusOutProto1304 ?? GetVsSeekerStatusOutProto()} - set {_uniqueStorage()._getVsSeekerStatusOutProto1304 = newValue} + public var confirmPhotobombProto1102: ConfirmPhotobombProto { + get {return _storage._confirmPhotobombProto1102 ?? ConfirmPhotobombProto()} + set {_uniqueStorage()._confirmPhotobombProto1102 = newValue} } - /// Returns true if `getVsSeekerStatusOutProto1304` has been explicitly set. - public var hasGetVsSeekerStatusOutProto1304: Bool {return _storage._getVsSeekerStatusOutProto1304 != nil} - /// Clears the value of `getVsSeekerStatusOutProto1304`. Subsequent reads from it will return its default value. - public mutating func clearGetVsSeekerStatusOutProto1304() {_uniqueStorage()._getVsSeekerStatusOutProto1304 = nil} + /// Returns true if `confirmPhotobombProto1102` has been explicitly set. + public var hasConfirmPhotobombProto1102: Bool {return _storage._confirmPhotobombProto1102 != nil} + /// Clears the value of `confirmPhotobombProto1102`. Subsequent reads from it will return its default value. + public mutating func clearConfirmPhotobombProto1102() {_uniqueStorage()._confirmPhotobombProto1102 = nil} - public var completecompetitiveSeasonOutProto1305: CompleteCompetitiveSeasonOutProto { - get {return _storage._completecompetitiveSeasonOutProto1305 ?? CompleteCompetitiveSeasonOutProto()} - set {_uniqueStorage()._completecompetitiveSeasonOutProto1305 = newValue} + public var getPhotobombProto1103: GetPhotobombProto { + get {return _storage._getPhotobombProto1103 ?? GetPhotobombProto()} + set {_uniqueStorage()._getPhotobombProto1103 = newValue} } - /// Returns true if `completecompetitiveSeasonOutProto1305` has been explicitly set. - public var hasCompletecompetitiveSeasonOutProto1305: Bool {return _storage._completecompetitiveSeasonOutProto1305 != nil} - /// Clears the value of `completecompetitiveSeasonOutProto1305`. Subsequent reads from it will return its default value. - public mutating func clearCompletecompetitiveSeasonOutProto1305() {_uniqueStorage()._completecompetitiveSeasonOutProto1305 = nil} + /// Returns true if `getPhotobombProto1103` has been explicitly set. + public var hasGetPhotobombProto1103: Bool {return _storage._getPhotobombProto1103 != nil} + /// Clears the value of `getPhotobombProto1103`. Subsequent reads from it will return its default value. + public mutating func clearGetPhotobombProto1103() {_uniqueStorage()._getPhotobombProto1103 = nil} - public var claimVsSeekerRewardsOutProto1306: ClaimVsSeekerRewardsOutProto { - get {return _storage._claimVsSeekerRewardsOutProto1306 ?? ClaimVsSeekerRewardsOutProto()} - set {_uniqueStorage()._claimVsSeekerRewardsOutProto1306 = newValue} + public var encounterPhotobombProto1104: EncounterPhotobombProto { + get {return _storage._encounterPhotobombProto1104 ?? EncounterPhotobombProto()} + set {_uniqueStorage()._encounterPhotobombProto1104 = newValue} } - /// Returns true if `claimVsSeekerRewardsOutProto1306` has been explicitly set. - public var hasClaimVsSeekerRewardsOutProto1306: Bool {return _storage._claimVsSeekerRewardsOutProto1306 != nil} - /// Clears the value of `claimVsSeekerRewardsOutProto1306`. Subsequent reads from it will return its default value. - public mutating func clearClaimVsSeekerRewardsOutProto1306() {_uniqueStorage()._claimVsSeekerRewardsOutProto1306 = nil} + /// Returns true if `encounterPhotobombProto1104` has been explicitly set. + public var hasEncounterPhotobombProto1104: Bool {return _storage._encounterPhotobombProto1104 != nil} + /// Clears the value of `encounterPhotobombProto1104`. Subsequent reads from it will return its default value. + public mutating func clearEncounterPhotobombProto1104() {_uniqueStorage()._encounterPhotobombProto1104 = nil} - public var vsSeekerRewardEncounterOutProto1307: VsSeekerRewardEncounterOutProto { - get {return _storage._vsSeekerRewardEncounterOutProto1307 ?? VsSeekerRewardEncounterOutProto()} - set {_uniqueStorage()._vsSeekerRewardEncounterOutProto1307 = newValue} + public var getgmapSettingsProto1105: GetGmapSettingsProto { + get {return _storage._getgmapSettingsProto1105 ?? GetGmapSettingsProto()} + set {_uniqueStorage()._getgmapSettingsProto1105 = newValue} } - /// Returns true if `vsSeekerRewardEncounterOutProto1307` has been explicitly set. - public var hasVsSeekerRewardEncounterOutProto1307: Bool {return _storage._vsSeekerRewardEncounterOutProto1307 != nil} - /// Clears the value of `vsSeekerRewardEncounterOutProto1307`. Subsequent reads from it will return its default value. - public mutating func clearVsSeekerRewardEncounterOutProto1307() {_uniqueStorage()._vsSeekerRewardEncounterOutProto1307 = nil} + /// Returns true if `getgmapSettingsProto1105` has been explicitly set. + public var hasGetgmapSettingsProto1105: Bool {return _storage._getgmapSettingsProto1105 != nil} + /// Clears the value of `getgmapSettingsProto1105`. Subsequent reads from it will return its default value. + public mutating func clearGetgmapSettingsProto1105() {_uniqueStorage()._getgmapSettingsProto1105 = nil} - public var activateVsSeekerOutProto1308: ActivateVsSeekerOutProto { - get {return _storage._activateVsSeekerOutProto1308 ?? ActivateVsSeekerOutProto()} - set {_uniqueStorage()._activateVsSeekerOutProto1308 = newValue} + public var changeTeamProto1106: ChangeTeamProto { + get {return _storage._changeTeamProto1106 ?? ChangeTeamProto()} + set {_uniqueStorage()._changeTeamProto1106 = newValue} } - /// Returns true if `activateVsSeekerOutProto1308` has been explicitly set. - public var hasActivateVsSeekerOutProto1308: Bool {return _storage._activateVsSeekerOutProto1308 != nil} - /// Clears the value of `activateVsSeekerOutProto1308`. Subsequent reads from it will return its default value. - public mutating func clearActivateVsSeekerOutProto1308() {_uniqueStorage()._activateVsSeekerOutProto1308 = nil} + /// Returns true if `changeTeamProto1106` has been explicitly set. + public var hasChangeTeamProto1106: Bool {return _storage._changeTeamProto1106 != nil} + /// Clears the value of `changeTeamProto1106`. Subsequent reads from it will return its default value. + public mutating func clearChangeTeamProto1106() {_uniqueStorage()._changeTeamProto1106 = nil} - public var buddyMapOutProto1350: BuddyMapOutProto { - get {return _storage._buddyMapOutProto1350 ?? BuddyMapOutProto()} - set {_uniqueStorage()._buddyMapOutProto1350 = newValue} + public var getWebTokenProto1107: GetWebTokenProto { + get {return _storage._getWebTokenProto1107 ?? GetWebTokenProto()} + set {_uniqueStorage()._getWebTokenProto1107 = newValue} } - /// Returns true if `buddyMapOutProto1350` has been explicitly set. - public var hasBuddyMapOutProto1350: Bool {return _storage._buddyMapOutProto1350 != nil} - /// Clears the value of `buddyMapOutProto1350`. Subsequent reads from it will return its default value. - public mutating func clearBuddyMapOutProto1350() {_uniqueStorage()._buddyMapOutProto1350 = nil} + /// Returns true if `getWebTokenProto1107` has been explicitly set. + public var hasGetWebTokenProto1107: Bool {return _storage._getWebTokenProto1107 != nil} + /// Clears the value of `getWebTokenProto1107`. Subsequent reads from it will return its default value. + public mutating func clearGetWebTokenProto1107() {_uniqueStorage()._getWebTokenProto1107 = nil} - public var buddyStatsOutProto1351: BuddyStatsOutProto { - get {return _storage._buddyStatsOutProto1351 ?? BuddyStatsOutProto()} - set {_uniqueStorage()._buddyStatsOutProto1351 = newValue} + public var completeSnapshotSessionProto1110: CompleteSnapshotSessionProto { + get {return _storage._completeSnapshotSessionProto1110 ?? CompleteSnapshotSessionProto()} + set {_uniqueStorage()._completeSnapshotSessionProto1110 = newValue} } - /// Returns true if `buddyStatsOutProto1351` has been explicitly set. - public var hasBuddyStatsOutProto1351: Bool {return _storage._buddyStatsOutProto1351 != nil} - /// Clears the value of `buddyStatsOutProto1351`. Subsequent reads from it will return its default value. - public mutating func clearBuddyStatsOutProto1351() {_uniqueStorage()._buddyStatsOutProto1351 = nil} + /// Returns true if `completeSnapshotSessionProto1110` has been explicitly set. + public var hasCompleteSnapshotSessionProto1110: Bool {return _storage._completeSnapshotSessionProto1110 != nil} + /// Clears the value of `completeSnapshotSessionProto1110`. Subsequent reads from it will return its default value. + public mutating func clearCompleteSnapshotSessionProto1110() {_uniqueStorage()._completeSnapshotSessionProto1110 = nil} - public var buddyFeedingOutProto1352: BuddyFeedingOutProto { - get {return _storage._buddyFeedingOutProto1352 ?? BuddyFeedingOutProto()} - set {_uniqueStorage()._buddyFeedingOutProto1352 = newValue} + public var completeWildSnapshotSessionProto1111: CompleteWildSnapshotSessionProto { + get {return _storage._completeWildSnapshotSessionProto1111 ?? CompleteWildSnapshotSessionProto()} + set {_uniqueStorage()._completeWildSnapshotSessionProto1111 = newValue} } - /// Returns true if `buddyFeedingOutProto1352` has been explicitly set. - public var hasBuddyFeedingOutProto1352: Bool {return _storage._buddyFeedingOutProto1352 != nil} - /// Clears the value of `buddyFeedingOutProto1352`. Subsequent reads from it will return its default value. - public mutating func clearBuddyFeedingOutProto1352() {_uniqueStorage()._buddyFeedingOutProto1352 = nil} + /// Returns true if `completeWildSnapshotSessionProto1111` has been explicitly set. + public var hasCompleteWildSnapshotSessionProto1111: Bool {return _storage._completeWildSnapshotSessionProto1111 != nil} + /// Clears the value of `completeWildSnapshotSessionProto1111`. Subsequent reads from it will return its default value. + public mutating func clearCompleteWildSnapshotSessionProto1111() {_uniqueStorage()._completeWildSnapshotSessionProto1111 = nil} - public var openBuddyGiftoutProto1353: OpenBuddyGiftOutProto { - get {return _storage._openBuddyGiftoutProto1353 ?? OpenBuddyGiftOutProto()} - set {_uniqueStorage()._openBuddyGiftoutProto1353 = newValue} + public var startIncidentProto1200: StartIncidentProto { + get {return _storage._startIncidentProto1200 ?? StartIncidentProto()} + set {_uniqueStorage()._startIncidentProto1200 = newValue} } - /// Returns true if `openBuddyGiftoutProto1353` has been explicitly set. - public var hasOpenBuddyGiftoutProto1353: Bool {return _storage._openBuddyGiftoutProto1353 != nil} - /// Clears the value of `openBuddyGiftoutProto1353`. Subsequent reads from it will return its default value. - public mutating func clearOpenBuddyGiftoutProto1353() {_uniqueStorage()._openBuddyGiftoutProto1353 = nil} + /// Returns true if `startIncidentProto1200` has been explicitly set. + public var hasStartIncidentProto1200: Bool {return _storage._startIncidentProto1200 != nil} + /// Clears the value of `startIncidentProto1200`. Subsequent reads from it will return its default value. + public mutating func clearStartIncidentProto1200() {_uniqueStorage()._startIncidentProto1200 = nil} - public var buddyPettingOutProto1354: BuddyPettingOutProto { - get {return _storage._buddyPettingOutProto1354 ?? BuddyPettingOutProto()} - set {_uniqueStorage()._buddyPettingOutProto1354 = newValue} + public var completeInvasionDialogueProto1201: CompleteInvasionDialogueProto { + get {return _storage._completeInvasionDialogueProto1201 ?? CompleteInvasionDialogueProto()} + set {_uniqueStorage()._completeInvasionDialogueProto1201 = newValue} } - /// Returns true if `buddyPettingOutProto1354` has been explicitly set. - public var hasBuddyPettingOutProto1354: Bool {return _storage._buddyPettingOutProto1354 != nil} - /// Clears the value of `buddyPettingOutProto1354`. Subsequent reads from it will return its default value. - public mutating func clearBuddyPettingOutProto1354() {_uniqueStorage()._buddyPettingOutProto1354 = nil} + /// Returns true if `completeInvasionDialogueProto1201` has been explicitly set. + public var hasCompleteInvasionDialogueProto1201: Bool {return _storage._completeInvasionDialogueProto1201 != nil} + /// Clears the value of `completeInvasionDialogueProto1201`. Subsequent reads from it will return its default value. + public mutating func clearCompleteInvasionDialogueProto1201() {_uniqueStorage()._completeInvasionDialogueProto1201 = nil} - public var getBuddyHistoryOutProto1355: GetBuddyHistoryOutProto { - get {return _storage._getBuddyHistoryOutProto1355 ?? GetBuddyHistoryOutProto()} - set {_uniqueStorage()._getBuddyHistoryOutProto1355 = newValue} + public var openInvasionCombatSessionProto1202: OpenInvasionCombatSessionProto { + get {return _storage._openInvasionCombatSessionProto1202 ?? OpenInvasionCombatSessionProto()} + set {_uniqueStorage()._openInvasionCombatSessionProto1202 = newValue} } - /// Returns true if `getBuddyHistoryOutProto1355` has been explicitly set. - public var hasGetBuddyHistoryOutProto1355: Bool {return _storage._getBuddyHistoryOutProto1355 != nil} - /// Clears the value of `getBuddyHistoryOutProto1355`. Subsequent reads from it will return its default value. - public mutating func clearGetBuddyHistoryOutProto1355() {_uniqueStorage()._getBuddyHistoryOutProto1355 = nil} + /// Returns true if `openInvasionCombatSessionProto1202` has been explicitly set. + public var hasOpenInvasionCombatSessionProto1202: Bool {return _storage._openInvasionCombatSessionProto1202 != nil} + /// Clears the value of `openInvasionCombatSessionProto1202`. Subsequent reads from it will return its default value. + public mutating func clearOpenInvasionCombatSessionProto1202() {_uniqueStorage()._openInvasionCombatSessionProto1202 = nil} - public var updateRouteDraftOutProto1400: UpdateRouteDraftOutProto { - get {return _storage._updateRouteDraftOutProto1400 ?? UpdateRouteDraftOutProto()} - set {_uniqueStorage()._updateRouteDraftOutProto1400 = newValue} + public var updateInvasionBattleProto1203: UpdateInvasionBattleProto { + get {return _storage._updateInvasionBattleProto1203 ?? UpdateInvasionBattleProto()} + set {_uniqueStorage()._updateInvasionBattleProto1203 = newValue} } - /// Returns true if `updateRouteDraftOutProto1400` has been explicitly set. - public var hasUpdateRouteDraftOutProto1400: Bool {return _storage._updateRouteDraftOutProto1400 != nil} - /// Clears the value of `updateRouteDraftOutProto1400`. Subsequent reads from it will return its default value. - public mutating func clearUpdateRouteDraftOutProto1400() {_uniqueStorage()._updateRouteDraftOutProto1400 = nil} + /// Returns true if `updateInvasionBattleProto1203` has been explicitly set. + public var hasUpdateInvasionBattleProto1203: Bool {return _storage._updateInvasionBattleProto1203 != nil} + /// Clears the value of `updateInvasionBattleProto1203`. Subsequent reads from it will return its default value. + public mutating func clearUpdateInvasionBattleProto1203() {_uniqueStorage()._updateInvasionBattleProto1203 = nil} - public var getMapFortsOutProto1401: GetMapFortsOutProto { - get {return _storage._getMapFortsOutProto1401 ?? GetMapFortsOutProto()} - set {_uniqueStorage()._getMapFortsOutProto1401 = newValue} + public var invasionEncounterProto1204: InvasionEncounterProto { + get {return _storage._invasionEncounterProto1204 ?? InvasionEncounterProto()} + set {_uniqueStorage()._invasionEncounterProto1204 = newValue} } - /// Returns true if `getMapFortsOutProto1401` has been explicitly set. - public var hasGetMapFortsOutProto1401: Bool {return _storage._getMapFortsOutProto1401 != nil} - /// Clears the value of `getMapFortsOutProto1401`. Subsequent reads from it will return its default value. - public mutating func clearGetMapFortsOutProto1401() {_uniqueStorage()._getMapFortsOutProto1401 = nil} + /// Returns true if `invasionEncounterProto1204` has been explicitly set. + public var hasInvasionEncounterProto1204: Bool {return _storage._invasionEncounterProto1204 != nil} + /// Clears the value of `invasionEncounterProto1204`. Subsequent reads from it will return its default value. + public mutating func clearInvasionEncounterProto1204() {_uniqueStorage()._invasionEncounterProto1204 = nil} - public var submitRouteDraftOutProto1402: SubmitRouteDraftOutProto { - get {return _storage._submitRouteDraftOutProto1402 ?? SubmitRouteDraftOutProto()} - set {_uniqueStorage()._submitRouteDraftOutProto1402 = newValue} + public var purifypokemonproto1205: PurifyPokemonProto { + get {return _storage._purifypokemonproto1205 ?? PurifyPokemonProto()} + set {_uniqueStorage()._purifypokemonproto1205 = newValue} } - /// Returns true if `submitRouteDraftOutProto1402` has been explicitly set. - public var hasSubmitRouteDraftOutProto1402: Bool {return _storage._submitRouteDraftOutProto1402 != nil} - /// Clears the value of `submitRouteDraftOutProto1402`. Subsequent reads from it will return its default value. - public mutating func clearSubmitRouteDraftOutProto1402() {_uniqueStorage()._submitRouteDraftOutProto1402 = nil} + /// Returns true if `purifypokemonproto1205` has been explicitly set. + public var hasPurifypokemonproto1205: Bool {return _storage._purifypokemonproto1205 != nil} + /// Clears the value of `purifypokemonproto1205`. Subsequent reads from it will return its default value. + public mutating func clearPurifypokemonproto1205() {_uniqueStorage()._purifypokemonproto1205 = nil} - public var getPublishedRoutesOutProto1403: GetPublishedRoutesOutProto { - get {return _storage._getPublishedRoutesOutProto1403 ?? GetPublishedRoutesOutProto()} - set {_uniqueStorage()._getPublishedRoutesOutProto1403 = newValue} + public var getRocketBalloonProto1206: GetRocketBalloonProto { + get {return _storage._getRocketBalloonProto1206 ?? GetRocketBalloonProto()} + set {_uniqueStorage()._getRocketBalloonProto1206 = newValue} } - /// Returns true if `getPublishedRoutesOutProto1403` has been explicitly set. - public var hasGetPublishedRoutesOutProto1403: Bool {return _storage._getPublishedRoutesOutProto1403 != nil} - /// Clears the value of `getPublishedRoutesOutProto1403`. Subsequent reads from it will return its default value. - public mutating func clearGetPublishedRoutesOutProto1403() {_uniqueStorage()._getPublishedRoutesOutProto1403 = nil} + /// Returns true if `getRocketBalloonProto1206` has been explicitly set. + public var hasGetRocketBalloonProto1206: Bool {return _storage._getRocketBalloonProto1206 != nil} + /// Clears the value of `getRocketBalloonProto1206`. Subsequent reads from it will return its default value. + public mutating func clearGetRocketBalloonProto1206() {_uniqueStorage()._getRocketBalloonProto1206 = nil} - public var startRouteOutProto1404: StartRouteOutProto { - get {return _storage._startRouteOutProto1404 ?? StartRouteOutProto()} - set {_uniqueStorage()._startRouteOutProto1404 = newValue} + public var startRocketBalloonIncidentProto1207: StartRocketBalloonIncidentProto { + get {return _storage._startRocketBalloonIncidentProto1207 ?? StartRocketBalloonIncidentProto()} + set {_uniqueStorage()._startRocketBalloonIncidentProto1207 = newValue} } - /// Returns true if `startRouteOutProto1404` has been explicitly set. - public var hasStartRouteOutProto1404: Bool {return _storage._startRouteOutProto1404 != nil} - /// Clears the value of `startRouteOutProto1404`. Subsequent reads from it will return its default value. - public mutating func clearStartRouteOutProto1404() {_uniqueStorage()._startRouteOutProto1404 = nil} + /// Returns true if `startRocketBalloonIncidentProto1207` has been explicitly set. + public var hasStartRocketBalloonIncidentProto1207: Bool {return _storage._startRocketBalloonIncidentProto1207 != nil} + /// Clears the value of `startRocketBalloonIncidentProto1207`. Subsequent reads from it will return its default value. + public mutating func clearStartRocketBalloonIncidentProto1207() {_uniqueStorage()._startRocketBalloonIncidentProto1207 = nil} - public var getRoutesOutProto1405: GetRoutesOutProto { - get {return _storage._getRoutesOutProto1405 ?? GetRoutesOutProto()} - set {_uniqueStorage()._getRoutesOutProto1405 = newValue} + public var vsSeekerStartMatchmakingProto1300: VsSeekerStartMatchmakingProto { + get {return _storage._vsSeekerStartMatchmakingProto1300 ?? VsSeekerStartMatchmakingProto()} + set {_uniqueStorage()._vsSeekerStartMatchmakingProto1300 = newValue} } - /// Returns true if `getRoutesOutProto1405` has been explicitly set. - public var hasGetRoutesOutProto1405: Bool {return _storage._getRoutesOutProto1405 != nil} - /// Clears the value of `getRoutesOutProto1405`. Subsequent reads from it will return its default value. - public mutating func clearGetRoutesOutProto1405() {_uniqueStorage()._getRoutesOutProto1405 = nil} + /// Returns true if `vsSeekerStartMatchmakingProto1300` has been explicitly set. + public var hasVsSeekerStartMatchmakingProto1300: Bool {return _storage._vsSeekerStartMatchmakingProto1300 != nil} + /// Clears the value of `vsSeekerStartMatchmakingProto1300`. Subsequent reads from it will return its default value. + public mutating func clearVsSeekerStartMatchmakingProto1300() {_uniqueStorage()._vsSeekerStartMatchmakingProto1300 = nil} - public var progressRouteOutproto1406: ProgressRouteOutProto { - get {return _storage._progressRouteOutproto1406 ?? ProgressRouteOutProto()} - set {_uniqueStorage()._progressRouteOutproto1406 = newValue} + public var cancelMatchmakingProto1301: CancelMatchmakingProto { + get {return _storage._cancelMatchmakingProto1301 ?? CancelMatchmakingProto()} + set {_uniqueStorage()._cancelMatchmakingProto1301 = newValue} } - /// Returns true if `progressRouteOutproto1406` has been explicitly set. - public var hasProgressRouteOutproto1406: Bool {return _storage._progressRouteOutproto1406 != nil} - /// Clears the value of `progressRouteOutproto1406`. Subsequent reads from it will return its default value. - public mutating func clearProgressRouteOutproto1406() {_uniqueStorage()._progressRouteOutproto1406 = nil} + /// Returns true if `cancelMatchmakingProto1301` has been explicitly set. + public var hasCancelMatchmakingProto1301: Bool {return _storage._cancelMatchmakingProto1301 != nil} + /// Clears the value of `cancelMatchmakingProto1301`. Subsequent reads from it will return its default value. + public mutating func clearCancelMatchmakingProto1301() {_uniqueStorage()._cancelMatchmakingProto1301 = nil} - public var processRouteTappableOutproto1408: ProcessRouteTappableOutProto { - get {return _storage._processRouteTappableOutproto1408 ?? ProcessRouteTappableOutProto()} - set {_uniqueStorage()._processRouteTappableOutproto1408 = newValue} + public var getMatchmakingStatusProto1302: GetMatchmakingStatusProto { + get {return _storage._getMatchmakingStatusProto1302 ?? GetMatchmakingStatusProto()} + set {_uniqueStorage()._getMatchmakingStatusProto1302 = newValue} } - /// Returns true if `processRouteTappableOutproto1408` has been explicitly set. - public var hasProcessRouteTappableOutproto1408: Bool {return _storage._processRouteTappableOutproto1408 != nil} - /// Clears the value of `processRouteTappableOutproto1408`. Subsequent reads from it will return its default value. - public mutating func clearProcessRouteTappableOutproto1408() {_uniqueStorage()._processRouteTappableOutproto1408 = nil} + /// Returns true if `getMatchmakingStatusProto1302` has been explicitly set. + public var hasGetMatchmakingStatusProto1302: Bool {return _storage._getMatchmakingStatusProto1302 != nil} + /// Clears the value of `getMatchmakingStatusProto1302`. Subsequent reads from it will return its default value. + public mutating func clearGetMatchmakingStatusProto1302() {_uniqueStorage()._getMatchmakingStatusProto1302 = nil} - public var listRouteBadgesOutProto1409: ListRouteBadgesOutProto { - get {return _storage._listRouteBadgesOutProto1409 ?? ListRouteBadgesOutProto()} - set {_uniqueStorage()._listRouteBadgesOutProto1409 = newValue} + public var completeVsSeekerAndRestartchargingProto1303: CompleteVsSeekerAndRestartChargingProto { + get {return _storage._completeVsSeekerAndRestartchargingProto1303 ?? CompleteVsSeekerAndRestartChargingProto()} + set {_uniqueStorage()._completeVsSeekerAndRestartchargingProto1303 = newValue} } - /// Returns true if `listRouteBadgesOutProto1409` has been explicitly set. - public var hasListRouteBadgesOutProto1409: Bool {return _storage._listRouteBadgesOutProto1409 != nil} - /// Clears the value of `listRouteBadgesOutProto1409`. Subsequent reads from it will return its default value. - public mutating func clearListRouteBadgesOutProto1409() {_uniqueStorage()._listRouteBadgesOutProto1409 = nil} - - public var cancelRouteOutProto1410: CancelRouteOutProto { - get {return _storage._cancelRouteOutProto1410 ?? CancelRouteOutProto()} - set {_uniqueStorage()._cancelRouteOutProto1410 = newValue} - } - /// Returns true if `cancelRouteOutProto1410` has been explicitly set. - public var hasCancelRouteOutProto1410: Bool {return _storage._cancelRouteOutProto1410 != nil} - /// Clears the value of `cancelRouteOutProto1410`. Subsequent reads from it will return its default value. - public mutating func clearCancelRouteOutProto1410() {_uniqueStorage()._cancelRouteOutProto1410 = nil} + /// Returns true if `completeVsSeekerAndRestartchargingProto1303` has been explicitly set. + public var hasCompleteVsSeekerAndRestartchargingProto1303: Bool {return _storage._completeVsSeekerAndRestartchargingProto1303 != nil} + /// Clears the value of `completeVsSeekerAndRestartchargingProto1303`. Subsequent reads from it will return its default value. + public mutating func clearCompleteVsSeekerAndRestartchargingProto1303() {_uniqueStorage()._completeVsSeekerAndRestartchargingProto1303 = nil} - public var createBuddyMultiplayerSessionOutProto1456: CreateBuddyMultiplayerSessionOutProto { - get {return _storage._createBuddyMultiplayerSessionOutProto1456 ?? CreateBuddyMultiplayerSessionOutProto()} - set {_uniqueStorage()._createBuddyMultiplayerSessionOutProto1456 = newValue} + public var getVsSeekerStatusProto1304: GetVsSeekerStatusProto { + get {return _storage._getVsSeekerStatusProto1304 ?? GetVsSeekerStatusProto()} + set {_uniqueStorage()._getVsSeekerStatusProto1304 = newValue} } - /// Returns true if `createBuddyMultiplayerSessionOutProto1456` has been explicitly set. - public var hasCreateBuddyMultiplayerSessionOutProto1456: Bool {return _storage._createBuddyMultiplayerSessionOutProto1456 != nil} - /// Clears the value of `createBuddyMultiplayerSessionOutProto1456`. Subsequent reads from it will return its default value. - public mutating func clearCreateBuddyMultiplayerSessionOutProto1456() {_uniqueStorage()._createBuddyMultiplayerSessionOutProto1456 = nil} + /// Returns true if `getVsSeekerStatusProto1304` has been explicitly set. + public var hasGetVsSeekerStatusProto1304: Bool {return _storage._getVsSeekerStatusProto1304 != nil} + /// Clears the value of `getVsSeekerStatusProto1304`. Subsequent reads from it will return its default value. + public mutating func clearGetVsSeekerStatusProto1304() {_uniqueStorage()._getVsSeekerStatusProto1304 = nil} - public var joinBuddyMultiplayerSessionOutProto1457: JoinBuddyMultiplayerSessionOutProto { - get {return _storage._joinBuddyMultiplayerSessionOutProto1457 ?? JoinBuddyMultiplayerSessionOutProto()} - set {_uniqueStorage()._joinBuddyMultiplayerSessionOutProto1457 = newValue} + public var completecompetitiveSeasonProto1305: CompleteCompetitiveSeasonProto { + get {return _storage._completecompetitiveSeasonProto1305 ?? CompleteCompetitiveSeasonProto()} + set {_uniqueStorage()._completecompetitiveSeasonProto1305 = newValue} } - /// Returns true if `joinBuddyMultiplayerSessionOutProto1457` has been explicitly set. - public var hasJoinBuddyMultiplayerSessionOutProto1457: Bool {return _storage._joinBuddyMultiplayerSessionOutProto1457 != nil} - /// Clears the value of `joinBuddyMultiplayerSessionOutProto1457`. Subsequent reads from it will return its default value. - public mutating func clearJoinBuddyMultiplayerSessionOutProto1457() {_uniqueStorage()._joinBuddyMultiplayerSessionOutProto1457 = nil} + /// Returns true if `completecompetitiveSeasonProto1305` has been explicitly set. + public var hasCompletecompetitiveSeasonProto1305: Bool {return _storage._completecompetitiveSeasonProto1305 != nil} + /// Clears the value of `completecompetitiveSeasonProto1305`. Subsequent reads from it will return its default value. + public mutating func clearCompletecompetitiveSeasonProto1305() {_uniqueStorage()._completecompetitiveSeasonProto1305 = nil} - public var leaveBuddyMultiplayerSessionOutProto1458: LeaveBuddyMultiplayerSessionOutProto { - get {return _storage._leaveBuddyMultiplayerSessionOutProto1458 ?? LeaveBuddyMultiplayerSessionOutProto()} - set {_uniqueStorage()._leaveBuddyMultiplayerSessionOutProto1458 = newValue} + public var claimVsSeekerRewardsProto1306: ClaimVsSeekerRewardsProto { + get {return _storage._claimVsSeekerRewardsProto1306 ?? ClaimVsSeekerRewardsProto()} + set {_uniqueStorage()._claimVsSeekerRewardsProto1306 = newValue} } - /// Returns true if `leaveBuddyMultiplayerSessionOutProto1458` has been explicitly set. - public var hasLeaveBuddyMultiplayerSessionOutProto1458: Bool {return _storage._leaveBuddyMultiplayerSessionOutProto1458 != nil} - /// Clears the value of `leaveBuddyMultiplayerSessionOutProto1458`. Subsequent reads from it will return its default value. - public mutating func clearLeaveBuddyMultiplayerSessionOutProto1458() {_uniqueStorage()._leaveBuddyMultiplayerSessionOutProto1458 = nil} + /// Returns true if `claimVsSeekerRewardsProto1306` has been explicitly set. + public var hasClaimVsSeekerRewardsProto1306: Bool {return _storage._claimVsSeekerRewardsProto1306 != nil} + /// Clears the value of `claimVsSeekerRewardsProto1306`. Subsequent reads from it will return its default value. + public mutating func clearClaimVsSeekerRewardsProto1306() {_uniqueStorage()._claimVsSeekerRewardsProto1306 = nil} - public var getTodayViewOutProto1501: GetTodayViewOutProto { - get {return _storage._getTodayViewOutProto1501 ?? GetTodayViewOutProto()} - set {_uniqueStorage()._getTodayViewOutProto1501 = newValue} + public var vsSeekerRewardEncounterProto1307: VsSeekerRewardEncounterProto { + get {return _storage._vsSeekerRewardEncounterProto1307 ?? VsSeekerRewardEncounterProto()} + set {_uniqueStorage()._vsSeekerRewardEncounterProto1307 = newValue} } - /// Returns true if `getTodayViewOutProto1501` has been explicitly set. - public var hasGetTodayViewOutProto1501: Bool {return _storage._getTodayViewOutProto1501 != nil} - /// Clears the value of `getTodayViewOutProto1501`. Subsequent reads from it will return its default value. - public mutating func clearGetTodayViewOutProto1501() {_uniqueStorage()._getTodayViewOutProto1501 = nil} + /// Returns true if `vsSeekerRewardEncounterProto1307` has been explicitly set. + public var hasVsSeekerRewardEncounterProto1307: Bool {return _storage._vsSeekerRewardEncounterProto1307 != nil} + /// Clears the value of `vsSeekerRewardEncounterProto1307`. Subsequent reads from it will return its default value. + public mutating func clearVsSeekerRewardEncounterProto1307() {_uniqueStorage()._vsSeekerRewardEncounterProto1307 = nil} - public var megaEvolvePokemonOutProto1502: MegaEvolvePokemonOutProto { - get {return _storage._megaEvolvePokemonOutProto1502 ?? MegaEvolvePokemonOutProto()} - set {_uniqueStorage()._megaEvolvePokemonOutProto1502 = newValue} + public var activateVsSeekerProto1308: ActivateVsSeekerProto { + get {return _storage._activateVsSeekerProto1308 ?? ActivateVsSeekerProto()} + set {_uniqueStorage()._activateVsSeekerProto1308 = newValue} } - /// Returns true if `megaEvolvePokemonOutProto1502` has been explicitly set. - public var hasMegaEvolvePokemonOutProto1502: Bool {return _storage._megaEvolvePokemonOutProto1502 != nil} - /// Clears the value of `megaEvolvePokemonOutProto1502`. Subsequent reads from it will return its default value. - public mutating func clearMegaEvolvePokemonOutProto1502() {_uniqueStorage()._megaEvolvePokemonOutProto1502 = nil} + /// Returns true if `activateVsSeekerProto1308` has been explicitly set. + public var hasActivateVsSeekerProto1308: Bool {return _storage._activateVsSeekerProto1308 != nil} + /// Clears the value of `activateVsSeekerProto1308`. Subsequent reads from it will return its default value. + public mutating func clearActivateVsSeekerProto1308() {_uniqueStorage()._activateVsSeekerProto1308 = nil} - public var remoteGiftPingresponseProto1503: RemoteGiftPingResponseProto { - get {return _storage._remoteGiftPingresponseProto1503 ?? RemoteGiftPingResponseProto()} - set {_uniqueStorage()._remoteGiftPingresponseProto1503 = newValue} + public var buddyMapProto1350: BuddyMapProto { + get {return _storage._buddyMapProto1350 ?? BuddyMapProto()} + set {_uniqueStorage()._buddyMapProto1350 = newValue} } - /// Returns true if `remoteGiftPingresponseProto1503` has been explicitly set. - public var hasRemoteGiftPingresponseProto1503: Bool {return _storage._remoteGiftPingresponseProto1503 != nil} - /// Clears the value of `remoteGiftPingresponseProto1503`. Subsequent reads from it will return its default value. - public mutating func clearRemoteGiftPingresponseProto1503() {_uniqueStorage()._remoteGiftPingresponseProto1503 = nil} + /// Returns true if `buddyMapProto1350` has been explicitly set. + public var hasBuddyMapProto1350: Bool {return _storage._buddyMapProto1350 != nil} + /// Clears the value of `buddyMapProto1350`. Subsequent reads from it will return its default value. + public mutating func clearBuddyMapProto1350() {_uniqueStorage()._buddyMapProto1350 = nil} - public var sendRaidInvitationOutProto1504: SendRaidInvitationOutProto { - get {return _storage._sendRaidInvitationOutProto1504 ?? SendRaidInvitationOutProto()} - set {_uniqueStorage()._sendRaidInvitationOutProto1504 = newValue} + public var buddyStatsProto1351: BuddyStatsProto { + get {return _storage._buddyStatsProto1351 ?? BuddyStatsProto()} + set {_uniqueStorage()._buddyStatsProto1351 = newValue} } - /// Returns true if `sendRaidInvitationOutProto1504` has been explicitly set. - public var hasSendRaidInvitationOutProto1504: Bool {return _storage._sendRaidInvitationOutProto1504 != nil} - /// Clears the value of `sendRaidInvitationOutProto1504`. Subsequent reads from it will return its default value. - public mutating func clearSendRaidInvitationOutProto1504() {_uniqueStorage()._sendRaidInvitationOutProto1504 = nil} + /// Returns true if `buddyStatsProto1351` has been explicitly set. + public var hasBuddyStatsProto1351: Bool {return _storage._buddyStatsProto1351 != nil} + /// Clears the value of `buddyStatsProto1351`. Subsequent reads from it will return its default value. + public mutating func clearBuddyStatsProto1351() {_uniqueStorage()._buddyStatsProto1351 = nil} - public var getDailyEncounterOutProto1601: GetDailyEncounterOutProto { - get {return _storage._getDailyEncounterOutProto1601 ?? GetDailyEncounterOutProto()} - set {_uniqueStorage()._getDailyEncounterOutProto1601 = newValue} + public var buddyFeedingProto1352: BuddyFeedingProto { + get {return _storage._buddyFeedingProto1352 ?? BuddyFeedingProto()} + set {_uniqueStorage()._buddyFeedingProto1352 = newValue} } - /// Returns true if `getDailyEncounterOutProto1601` has been explicitly set. - public var hasGetDailyEncounterOutProto1601: Bool {return _storage._getDailyEncounterOutProto1601 != nil} - /// Clears the value of `getDailyEncounterOutProto1601`. Subsequent reads from it will return its default value. - public mutating func clearGetDailyEncounterOutProto1601() {_uniqueStorage()._getDailyEncounterOutProto1601 = nil} + /// Returns true if `buddyFeedingProto1352` has been explicitly set. + public var hasBuddyFeedingProto1352: Bool {return _storage._buddyFeedingProto1352 != nil} + /// Clears the value of `buddyFeedingProto1352`. Subsequent reads from it will return its default value. + public mutating func clearBuddyFeedingProto1352() {_uniqueStorage()._buddyFeedingProto1352 = nil} - public var dailyEncounterOutProto1602: DailyEncounterOutProto { - get {return _storage._dailyEncounterOutProto1602 ?? DailyEncounterOutProto()} - set {_uniqueStorage()._dailyEncounterOutProto1602 = newValue} + public var openBuddyGiftProto1353: OpenBuddyGiftProto { + get {return _storage._openBuddyGiftProto1353 ?? OpenBuddyGiftProto()} + set {_uniqueStorage()._openBuddyGiftProto1353 = newValue} } - /// Returns true if `dailyEncounterOutProto1602` has been explicitly set. - public var hasDailyEncounterOutProto1602: Bool {return _storage._dailyEncounterOutProto1602 != nil} - /// Clears the value of `dailyEncounterOutProto1602`. Subsequent reads from it will return its default value. - public mutating func clearDailyEncounterOutProto1602() {_uniqueStorage()._dailyEncounterOutProto1602 = nil} + /// Returns true if `openBuddyGiftProto1353` has been explicitly set. + public var hasOpenBuddyGiftProto1353: Bool {return _storage._openBuddyGiftProto1353 != nil} + /// Clears the value of `openBuddyGiftProto1353`. Subsequent reads from it will return its default value. + public mutating func clearOpenBuddyGiftProto1353() {_uniqueStorage()._openBuddyGiftProto1353 = nil} - public var openSponsoredGiftoutProto1650: OpenSponsoredGiftOutProto { - get {return _storage._openSponsoredGiftoutProto1650 ?? OpenSponsoredGiftOutProto()} - set {_uniqueStorage()._openSponsoredGiftoutProto1650 = newValue} + public var buddyPettingProto1354: BuddyPettingProto { + get {return _storage._buddyPettingProto1354 ?? BuddyPettingProto()} + set {_uniqueStorage()._buddyPettingProto1354 = newValue} } - /// Returns true if `openSponsoredGiftoutProto1650` has been explicitly set. - public var hasOpenSponsoredGiftoutProto1650: Bool {return _storage._openSponsoredGiftoutProto1650 != nil} - /// Clears the value of `openSponsoredGiftoutProto1650`. Subsequent reads from it will return its default value. - public mutating func clearOpenSponsoredGiftoutProto1650() {_uniqueStorage()._openSponsoredGiftoutProto1650 = nil} + /// Returns true if `buddyPettingProto1354` has been explicitly set. + public var hasBuddyPettingProto1354: Bool {return _storage._buddyPettingProto1354 != nil} + /// Clears the value of `buddyPettingProto1354`. Subsequent reads from it will return its default value. + public mutating func clearBuddyPettingProto1354() {_uniqueStorage()._buddyPettingProto1354 = nil} - public var savePlayerPreferencesOutProto1652: SavePlayerPreferencesOutProto { - get {return _storage._savePlayerPreferencesOutProto1652 ?? SavePlayerPreferencesOutProto()} - set {_uniqueStorage()._savePlayerPreferencesOutProto1652 = newValue} + public var getBuddyHistoryProto1355: GetBuddyHistoryProto { + get {return _storage._getBuddyHistoryProto1355 ?? GetBuddyHistoryProto()} + set {_uniqueStorage()._getBuddyHistoryProto1355 = newValue} } - /// Returns true if `savePlayerPreferencesOutProto1652` has been explicitly set. - public var hasSavePlayerPreferencesOutProto1652: Bool {return _storage._savePlayerPreferencesOutProto1652 != nil} - /// Clears the value of `savePlayerPreferencesOutProto1652`. Subsequent reads from it will return its default value. - public mutating func clearSavePlayerPreferencesOutProto1652() {_uniqueStorage()._savePlayerPreferencesOutProto1652 = nil} + /// Returns true if `getBuddyHistoryProto1355` has been explicitly set. + public var hasGetBuddyHistoryProto1355: Bool {return _storage._getBuddyHistoryProto1355 != nil} + /// Clears the value of `getBuddyHistoryProto1355`. Subsequent reads from it will return its default value. + public mutating func clearGetBuddyHistoryProto1355() {_uniqueStorage()._getBuddyHistoryProto1355 = nil} - public var profanityCheckOutproto1653: ProfanityCheckOutProto { - get {return _storage._profanityCheckOutproto1653 ?? ProfanityCheckOutProto()} - set {_uniqueStorage()._profanityCheckOutproto1653 = newValue} + public var updateRouteDraftProto1400: UpdateRouteDraftProto { + get {return _storage._updateRouteDraftProto1400 ?? UpdateRouteDraftProto()} + set {_uniqueStorage()._updateRouteDraftProto1400 = newValue} } - /// Returns true if `profanityCheckOutproto1653` has been explicitly set. - public var hasProfanityCheckOutproto1653: Bool {return _storage._profanityCheckOutproto1653 != nil} - /// Clears the value of `profanityCheckOutproto1653`. Subsequent reads from it will return its default value. - public mutating func clearProfanityCheckOutproto1653() {_uniqueStorage()._profanityCheckOutproto1653 = nil} + /// Returns true if `updateRouteDraftProto1400` has been explicitly set. + public var hasUpdateRouteDraftProto1400: Bool {return _storage._updateRouteDraftProto1400 != nil} + /// Clears the value of `updateRouteDraftProto1400`. Subsequent reads from it will return its default value. + public mutating func clearUpdateRouteDraftProto1400() {_uniqueStorage()._updateRouteDraftProto1400 = nil} - public var getTimedgroupChallengeOutProto1700: GetTimedGroupChallengeOutProto { - get {return _storage._getTimedgroupChallengeOutProto1700 ?? GetTimedGroupChallengeOutProto()} - set {_uniqueStorage()._getTimedgroupChallengeOutProto1700 = newValue} + public var getMapFortsProto1401: GetMapFortsProto { + get {return _storage._getMapFortsProto1401 ?? GetMapFortsProto()} + set {_uniqueStorage()._getMapFortsProto1401 = newValue} } - /// Returns true if `getTimedgroupChallengeOutProto1700` has been explicitly set. - public var hasGetTimedgroupChallengeOutProto1700: Bool {return _storage._getTimedgroupChallengeOutProto1700 != nil} - /// Clears the value of `getTimedgroupChallengeOutProto1700`. Subsequent reads from it will return its default value. - public mutating func clearGetTimedgroupChallengeOutProto1700() {_uniqueStorage()._getTimedgroupChallengeOutProto1700 = nil} + /// Returns true if `getMapFortsProto1401` has been explicitly set. + public var hasGetMapFortsProto1401: Bool {return _storage._getMapFortsProto1401 != nil} + /// Clears the value of `getMapFortsProto1401`. Subsequent reads from it will return its default value. + public mutating func clearGetMapFortsProto1401() {_uniqueStorage()._getMapFortsProto1401 = nil} - public var getNintendoAccountOutProto1710: GetNintendoAccountOutProto { - get {return _storage._getNintendoAccountOutProto1710 ?? GetNintendoAccountOutProto()} - set {_uniqueStorage()._getNintendoAccountOutProto1710 = newValue} + public var submitRouteDraftProto1402: SubmitRouteDraftProto { + get {return _storage._submitRouteDraftProto1402 ?? SubmitRouteDraftProto()} + set {_uniqueStorage()._submitRouteDraftProto1402 = newValue} } - /// Returns true if `getNintendoAccountOutProto1710` has been explicitly set. - public var hasGetNintendoAccountOutProto1710: Bool {return _storage._getNintendoAccountOutProto1710 != nil} - /// Clears the value of `getNintendoAccountOutProto1710`. Subsequent reads from it will return its default value. - public mutating func clearGetNintendoAccountOutProto1710() {_uniqueStorage()._getNintendoAccountOutProto1710 = nil} + /// Returns true if `submitRouteDraftProto1402` has been explicitly set. + public var hasSubmitRouteDraftProto1402: Bool {return _storage._submitRouteDraftProto1402 != nil} + /// Clears the value of `submitRouteDraftProto1402`. Subsequent reads from it will return its default value. + public mutating func clearSubmitRouteDraftProto1402() {_uniqueStorage()._submitRouteDraftProto1402 = nil} - public var unlinkNintendoAccountOutProto1711: UnlinkNintendoAccountOutProto { - get {return _storage._unlinkNintendoAccountOutProto1711 ?? UnlinkNintendoAccountOutProto()} - set {_uniqueStorage()._unlinkNintendoAccountOutProto1711 = newValue} + public var getPublishedRoutesProto1403: GetPublishedRoutesProto { + get {return _storage._getPublishedRoutesProto1403 ?? GetPublishedRoutesProto()} + set {_uniqueStorage()._getPublishedRoutesProto1403 = newValue} } - /// Returns true if `unlinkNintendoAccountOutProto1711` has been explicitly set. - public var hasUnlinkNintendoAccountOutProto1711: Bool {return _storage._unlinkNintendoAccountOutProto1711 != nil} - /// Clears the value of `unlinkNintendoAccountOutProto1711`. Subsequent reads from it will return its default value. - public mutating func clearUnlinkNintendoAccountOutProto1711() {_uniqueStorage()._unlinkNintendoAccountOutProto1711 = nil} + /// Returns true if `getPublishedRoutesProto1403` has been explicitly set. + public var hasGetPublishedRoutesProto1403: Bool {return _storage._getPublishedRoutesProto1403 != nil} + /// Clears the value of `getPublishedRoutesProto1403`. Subsequent reads from it will return its default value. + public mutating func clearGetPublishedRoutesProto1403() {_uniqueStorage()._getPublishedRoutesProto1403 = nil} - public var getNintendoOAuth2URLOutProto1712: GetNintendoOAuth2UrlOutProto { - get {return _storage._getNintendoOAuth2URLOutProto1712 ?? GetNintendoOAuth2UrlOutProto()} - set {_uniqueStorage()._getNintendoOAuth2URLOutProto1712 = newValue} + public var startRouteProto1404: StartRouteProto { + get {return _storage._startRouteProto1404 ?? StartRouteProto()} + set {_uniqueStorage()._startRouteProto1404 = newValue} } - /// Returns true if `getNintendoOAuth2URLOutProto1712` has been explicitly set. - public var hasGetNintendoOAuth2URLOutProto1712: Bool {return _storage._getNintendoOAuth2URLOutProto1712 != nil} - /// Clears the value of `getNintendoOAuth2URLOutProto1712`. Subsequent reads from it will return its default value. - public mutating func clearGetNintendoOAuth2URLOutProto1712() {_uniqueStorage()._getNintendoOAuth2URLOutProto1712 = nil} + /// Returns true if `startRouteProto1404` has been explicitly set. + public var hasStartRouteProto1404: Bool {return _storage._startRouteProto1404 != nil} + /// Clears the value of `startRouteProto1404`. Subsequent reads from it will return its default value. + public mutating func clearStartRouteProto1404() {_uniqueStorage()._startRouteProto1404 = nil} - public var transferPokemontoPokemonHomeOutProto1713: TransferPokemonToPokemonHomeOutProto { - get {return _storage._transferPokemontoPokemonHomeOutProto1713 ?? TransferPokemonToPokemonHomeOutProto()} - set {_uniqueStorage()._transferPokemontoPokemonHomeOutProto1713 = newValue} + public var getRoutesProto1405: GetRoutesProto { + get {return _storage._getRoutesProto1405 ?? GetRoutesProto()} + set {_uniqueStorage()._getRoutesProto1405 = newValue} } - /// Returns true if `transferPokemontoPokemonHomeOutProto1713` has been explicitly set. - public var hasTransferPokemontoPokemonHomeOutProto1713: Bool {return _storage._transferPokemontoPokemonHomeOutProto1713 != nil} - /// Clears the value of `transferPokemontoPokemonHomeOutProto1713`. Subsequent reads from it will return its default value. - public mutating func clearTransferPokemontoPokemonHomeOutProto1713() {_uniqueStorage()._transferPokemontoPokemonHomeOutProto1713 = nil} + /// Returns true if `getRoutesProto1405` has been explicitly set. + public var hasGetRoutesProto1405: Bool {return _storage._getRoutesProto1405 != nil} + /// Clears the value of `getRoutesProto1405`. Subsequent reads from it will return its default value. + public mutating func clearGetRoutesProto1405() {_uniqueStorage()._getRoutesProto1405 = nil} - public var reportAdFeedbackresponse1716: ReportAdFeedbackResponse { - get {return _storage._reportAdFeedbackresponse1716 ?? ReportAdFeedbackResponse()} - set {_uniqueStorage()._reportAdFeedbackresponse1716 = newValue} + public var progressRouteproto1406: ProgressRouteProto { + get {return _storage._progressRouteproto1406 ?? ProgressRouteProto()} + set {_uniqueStorage()._progressRouteproto1406 = newValue} } - /// Returns true if `reportAdFeedbackresponse1716` has been explicitly set. - public var hasReportAdFeedbackresponse1716: Bool {return _storage._reportAdFeedbackresponse1716 != nil} - /// Clears the value of `reportAdFeedbackresponse1716`. Subsequent reads from it will return its default value. - public mutating func clearReportAdFeedbackresponse1716() {_uniqueStorage()._reportAdFeedbackresponse1716 = nil} + /// Returns true if `progressRouteproto1406` has been explicitly set. + public var hasProgressRouteproto1406: Bool {return _storage._progressRouteproto1406 != nil} + /// Clears the value of `progressRouteproto1406`. Subsequent reads from it will return its default value. + public mutating func clearProgressRouteproto1406() {_uniqueStorage()._progressRouteproto1406 = nil} - public var createPokemonTagOutProto1717: CreatePokemonTagOutProto { - get {return _storage._createPokemonTagOutProto1717 ?? CreatePokemonTagOutProto()} - set {_uniqueStorage()._createPokemonTagOutProto1717 = newValue} + public var listRouteBadgesProto1409: ListRouteBadgesProto { + get {return _storage._listRouteBadgesProto1409 ?? ListRouteBadgesProto()} + set {_uniqueStorage()._listRouteBadgesProto1409 = newValue} } - /// Returns true if `createPokemonTagOutProto1717` has been explicitly set. - public var hasCreatePokemonTagOutProto1717: Bool {return _storage._createPokemonTagOutProto1717 != nil} - /// Clears the value of `createPokemonTagOutProto1717`. Subsequent reads from it will return its default value. - public mutating func clearCreatePokemonTagOutProto1717() {_uniqueStorage()._createPokemonTagOutProto1717 = nil} + /// Returns true if `listRouteBadgesProto1409` has been explicitly set. + public var hasListRouteBadgesProto1409: Bool {return _storage._listRouteBadgesProto1409 != nil} + /// Clears the value of `listRouteBadgesProto1409`. Subsequent reads from it will return its default value. + public mutating func clearListRouteBadgesProto1409() {_uniqueStorage()._listRouteBadgesProto1409 = nil} - public var deletePokemonTagOutProto1718: DeletePokemonTagOutProto { - get {return _storage._deletePokemonTagOutProto1718 ?? DeletePokemonTagOutProto()} - set {_uniqueStorage()._deletePokemonTagOutProto1718 = newValue} + public var cancelRouteProto1410: CancelRouteProto { + get {return _storage._cancelRouteProto1410 ?? CancelRouteProto()} + set {_uniqueStorage()._cancelRouteProto1410 = newValue} } - /// Returns true if `deletePokemonTagOutProto1718` has been explicitly set. - public var hasDeletePokemonTagOutProto1718: Bool {return _storage._deletePokemonTagOutProto1718 != nil} - /// Clears the value of `deletePokemonTagOutProto1718`. Subsequent reads from it will return its default value. - public mutating func clearDeletePokemonTagOutProto1718() {_uniqueStorage()._deletePokemonTagOutProto1718 = nil} + /// Returns true if `cancelRouteProto1410` has been explicitly set. + public var hasCancelRouteProto1410: Bool {return _storage._cancelRouteProto1410 != nil} + /// Clears the value of `cancelRouteProto1410`. Subsequent reads from it will return its default value. + public mutating func clearCancelRouteProto1410() {_uniqueStorage()._cancelRouteProto1410 = nil} - public var editPokemonTagOutProto1719: EditPokemonTagOutProto { - get {return _storage._editPokemonTagOutProto1719 ?? EditPokemonTagOutProto()} - set {_uniqueStorage()._editPokemonTagOutProto1719 = newValue} + public var npcRouteGiftProto1423: NpcRouteGiftProto { + get {return _storage._npcRouteGiftProto1423 ?? NpcRouteGiftProto()} + set {_uniqueStorage()._npcRouteGiftProto1423 = newValue} } - /// Returns true if `editPokemonTagOutProto1719` has been explicitly set. - public var hasEditPokemonTagOutProto1719: Bool {return _storage._editPokemonTagOutProto1719 != nil} - /// Clears the value of `editPokemonTagOutProto1719`. Subsequent reads from it will return its default value. - public mutating func clearEditPokemonTagOutProto1719() {_uniqueStorage()._editPokemonTagOutProto1719 = nil} + /// Returns true if `npcRouteGiftProto1423` has been explicitly set. + public var hasNpcRouteGiftProto1423: Bool {return _storage._npcRouteGiftProto1423 != nil} + /// Clears the value of `npcRouteGiftProto1423`. Subsequent reads from it will return its default value. + public mutating func clearNpcRouteGiftProto1423() {_uniqueStorage()._npcRouteGiftProto1423 = nil} - public var setPokemonTagsForPokemonOutProto1720: SetPokemonTagsForPokemonOutProto { - get {return _storage._setPokemonTagsForPokemonOutProto1720 ?? SetPokemonTagsForPokemonOutProto()} - set {_uniqueStorage()._setPokemonTagsForPokemonOutProto1720 = newValue} + public var createBuddyMultiplayerSessionProto1456: CreateBuddyMultiplayerSessionProto { + get {return _storage._createBuddyMultiplayerSessionProto1456 ?? CreateBuddyMultiplayerSessionProto()} + set {_uniqueStorage()._createBuddyMultiplayerSessionProto1456 = newValue} } - /// Returns true if `setPokemonTagsForPokemonOutProto1720` has been explicitly set. - public var hasSetPokemonTagsForPokemonOutProto1720: Bool {return _storage._setPokemonTagsForPokemonOutProto1720 != nil} - /// Clears the value of `setPokemonTagsForPokemonOutProto1720`. Subsequent reads from it will return its default value. - public mutating func clearSetPokemonTagsForPokemonOutProto1720() {_uniqueStorage()._setPokemonTagsForPokemonOutProto1720 = nil} + /// Returns true if `createBuddyMultiplayerSessionProto1456` has been explicitly set. + public var hasCreateBuddyMultiplayerSessionProto1456: Bool {return _storage._createBuddyMultiplayerSessionProto1456 != nil} + /// Clears the value of `createBuddyMultiplayerSessionProto1456`. Subsequent reads from it will return its default value. + public mutating func clearCreateBuddyMultiplayerSessionProto1456() {_uniqueStorage()._createBuddyMultiplayerSessionProto1456 = nil} - public var getPokemonTagsOutProto1721: GetPokemonTagsOutProto { - get {return _storage._getPokemonTagsOutProto1721 ?? GetPokemonTagsOutProto()} - set {_uniqueStorage()._getPokemonTagsOutProto1721 = newValue} + public var joinBuddyMultiplayerSessionProto1457: JoinBuddyMultiplayerSessionProto { + get {return _storage._joinBuddyMultiplayerSessionProto1457 ?? JoinBuddyMultiplayerSessionProto()} + set {_uniqueStorage()._joinBuddyMultiplayerSessionProto1457 = newValue} } - /// Returns true if `getPokemonTagsOutProto1721` has been explicitly set. - public var hasGetPokemonTagsOutProto1721: Bool {return _storage._getPokemonTagsOutProto1721 != nil} - /// Clears the value of `getPokemonTagsOutProto1721`. Subsequent reads from it will return its default value. - public mutating func clearGetPokemonTagsOutProto1721() {_uniqueStorage()._getPokemonTagsOutProto1721 = nil} + /// Returns true if `joinBuddyMultiplayerSessionProto1457` has been explicitly set. + public var hasJoinBuddyMultiplayerSessionProto1457: Bool {return _storage._joinBuddyMultiplayerSessionProto1457 != nil} + /// Clears the value of `joinBuddyMultiplayerSessionProto1457`. Subsequent reads from it will return its default value. + public mutating func clearJoinBuddyMultiplayerSessionProto1457() {_uniqueStorage()._joinBuddyMultiplayerSessionProto1457 = nil} - public var changePokemonFormOutProto1722: ChangePokemonFormOutProto { - get {return _storage._changePokemonFormOutProto1722 ?? ChangePokemonFormOutProto()} - set {_uniqueStorage()._changePokemonFormOutProto1722 = newValue} + public var leaveBuddyMultiplayerSessionProto1458: LeaveBuddyMultiplayerSessionProto { + get {return _storage._leaveBuddyMultiplayerSessionProto1458 ?? LeaveBuddyMultiplayerSessionProto()} + set {_uniqueStorage()._leaveBuddyMultiplayerSessionProto1458 = newValue} } - /// Returns true if `changePokemonFormOutProto1722` has been explicitly set. - public var hasChangePokemonFormOutProto1722: Bool {return _storage._changePokemonFormOutProto1722 != nil} - /// Clears the value of `changePokemonFormOutProto1722`. Subsequent reads from it will return its default value. - public mutating func clearChangePokemonFormOutProto1722() {_uniqueStorage()._changePokemonFormOutProto1722 = nil} + /// Returns true if `leaveBuddyMultiplayerSessionProto1458` has been explicitly set. + public var hasLeaveBuddyMultiplayerSessionProto1458: Bool {return _storage._leaveBuddyMultiplayerSessionProto1458 != nil} + /// Clears the value of `leaveBuddyMultiplayerSessionProto1458`. Subsequent reads from it will return its default value. + public mutating func clearLeaveBuddyMultiplayerSessionProto1458() {_uniqueStorage()._leaveBuddyMultiplayerSessionProto1458 = nil} - public var chooseGlobalTicketedEventVariantOutProto1723: ChooseGlobalTicketedEventVariantOutProto { - get {return _storage._chooseGlobalTicketedEventVariantOutProto1723 ?? ChooseGlobalTicketedEventVariantOutProto()} - set {_uniqueStorage()._chooseGlobalTicketedEventVariantOutProto1723 = newValue} + public var getTodayViewProto1501: GetTodayViewProto { + get {return _storage._getTodayViewProto1501 ?? GetTodayViewProto()} + set {_uniqueStorage()._getTodayViewProto1501 = newValue} } - /// Returns true if `chooseGlobalTicketedEventVariantOutProto1723` has been explicitly set. - public var hasChooseGlobalTicketedEventVariantOutProto1723: Bool {return _storage._chooseGlobalTicketedEventVariantOutProto1723 != nil} - /// Clears the value of `chooseGlobalTicketedEventVariantOutProto1723`. Subsequent reads from it will return its default value. - public mutating func clearChooseGlobalTicketedEventVariantOutProto1723() {_uniqueStorage()._chooseGlobalTicketedEventVariantOutProto1723 = nil} + /// Returns true if `getTodayViewProto1501` has been explicitly set. + public var hasGetTodayViewProto1501: Bool {return _storage._getTodayViewProto1501 != nil} + /// Clears the value of `getTodayViewProto1501`. Subsequent reads from it will return its default value. + public mutating func clearGetTodayViewProto1501() {_uniqueStorage()._getTodayViewProto1501 = nil} - public var getReferralCodeOutProto1800: GetReferralCodeOutProto { - get {return _storage._getReferralCodeOutProto1800 ?? GetReferralCodeOutProto()} - set {_uniqueStorage()._getReferralCodeOutProto1800 = newValue} + public var megaEvolvePokemonProto1502: MegaEvolvePokemonProto { + get {return _storage._megaEvolvePokemonProto1502 ?? MegaEvolvePokemonProto()} + set {_uniqueStorage()._megaEvolvePokemonProto1502 = newValue} } - /// Returns true if `getReferralCodeOutProto1800` has been explicitly set. - public var hasGetReferralCodeOutProto1800: Bool {return _storage._getReferralCodeOutProto1800 != nil} - /// Clears the value of `getReferralCodeOutProto1800`. Subsequent reads from it will return its default value. - public mutating func clearGetReferralCodeOutProto1800() {_uniqueStorage()._getReferralCodeOutProto1800 = nil} + /// Returns true if `megaEvolvePokemonProto1502` has been explicitly set. + public var hasMegaEvolvePokemonProto1502: Bool {return _storage._megaEvolvePokemonProto1502 != nil} + /// Clears the value of `megaEvolvePokemonProto1502`. Subsequent reads from it will return its default value. + public mutating func clearMegaEvolvePokemonProto1502() {_uniqueStorage()._megaEvolvePokemonProto1502 = nil} - public var addReferrerOutProto1801: AddReferrerOutProto { - get {return _storage._addReferrerOutProto1801 ?? AddReferrerOutProto()} - set {_uniqueStorage()._addReferrerOutProto1801 = newValue} + public var remoteGiftPingrequestProto1503: RemoteGiftPingRequestProto { + get {return _storage._remoteGiftPingrequestProto1503 ?? RemoteGiftPingRequestProto()} + set {_uniqueStorage()._remoteGiftPingrequestProto1503 = newValue} } - /// Returns true if `addReferrerOutProto1801` has been explicitly set. - public var hasAddReferrerOutProto1801: Bool {return _storage._addReferrerOutProto1801 != nil} - /// Clears the value of `addReferrerOutProto1801`. Subsequent reads from it will return its default value. - public mutating func clearAddReferrerOutProto1801() {_uniqueStorage()._addReferrerOutProto1801 = nil} + /// Returns true if `remoteGiftPingrequestProto1503` has been explicitly set. + public var hasRemoteGiftPingrequestProto1503: Bool {return _storage._remoteGiftPingrequestProto1503 != nil} + /// Clears the value of `remoteGiftPingrequestProto1503`. Subsequent reads from it will return its default value. + public mutating func clearRemoteGiftPingrequestProto1503() {_uniqueStorage()._remoteGiftPingrequestProto1503 = nil} - public var sendFriendInviteViaReferralCodeOutProto1802: SendFriendInviteViaReferralCodeOutProto { - get {return _storage._sendFriendInviteViaReferralCodeOutProto1802 ?? SendFriendInviteViaReferralCodeOutProto()} - set {_uniqueStorage()._sendFriendInviteViaReferralCodeOutProto1802 = newValue} + public var sendRaidInvitationProto1504: SendRaidInvitationProto { + get {return _storage._sendRaidInvitationProto1504 ?? SendRaidInvitationProto()} + set {_uniqueStorage()._sendRaidInvitationProto1504 = newValue} } - /// Returns true if `sendFriendInviteViaReferralCodeOutProto1802` has been explicitly set. - public var hasSendFriendInviteViaReferralCodeOutProto1802: Bool {return _storage._sendFriendInviteViaReferralCodeOutProto1802 != nil} - /// Clears the value of `sendFriendInviteViaReferralCodeOutProto1802`. Subsequent reads from it will return its default value. - public mutating func clearSendFriendInviteViaReferralCodeOutProto1802() {_uniqueStorage()._sendFriendInviteViaReferralCodeOutProto1802 = nil} + /// Returns true if `sendRaidInvitationProto1504` has been explicitly set. + public var hasSendRaidInvitationProto1504: Bool {return _storage._sendRaidInvitationProto1504 != nil} + /// Clears the value of `sendRaidInvitationProto1504`. Subsequent reads from it will return its default value. + public mutating func clearSendRaidInvitationProto1504() {_uniqueStorage()._sendRaidInvitationProto1504 = nil} - public var getMilestonesOutProto1803: GetMilestonesOutProto { - get {return _storage._getMilestonesOutProto1803 ?? GetMilestonesOutProto()} - set {_uniqueStorage()._getMilestonesOutProto1803 = newValue} + public var getDailyEncounterProto1601: GetDailyEncounterProto { + get {return _storage._getDailyEncounterProto1601 ?? GetDailyEncounterProto()} + set {_uniqueStorage()._getDailyEncounterProto1601 = newValue} } - /// Returns true if `getMilestonesOutProto1803` has been explicitly set. - public var hasGetMilestonesOutProto1803: Bool {return _storage._getMilestonesOutProto1803 != nil} - /// Clears the value of `getMilestonesOutProto1803`. Subsequent reads from it will return its default value. - public mutating func clearGetMilestonesOutProto1803() {_uniqueStorage()._getMilestonesOutProto1803 = nil} + /// Returns true if `getDailyEncounterProto1601` has been explicitly set. + public var hasGetDailyEncounterProto1601: Bool {return _storage._getDailyEncounterProto1601 != nil} + /// Clears the value of `getDailyEncounterProto1601`. Subsequent reads from it will return its default value. + public mutating func clearGetDailyEncounterProto1601() {_uniqueStorage()._getDailyEncounterProto1601 = nil} - public var markmilestoneAsViewedOutProto1804: MarkMilestoneAsViewedOutProto { - get {return _storage._markmilestoneAsViewedOutProto1804 ?? MarkMilestoneAsViewedOutProto()} - set {_uniqueStorage()._markmilestoneAsViewedOutProto1804 = newValue} + public var dailyEncounterProto1602: DailyEncounterProto { + get {return _storage._dailyEncounterProto1602 ?? DailyEncounterProto()} + set {_uniqueStorage()._dailyEncounterProto1602 = newValue} } - /// Returns true if `markmilestoneAsViewedOutProto1804` has been explicitly set. - public var hasMarkmilestoneAsViewedOutProto1804: Bool {return _storage._markmilestoneAsViewedOutProto1804 != nil} - /// Clears the value of `markmilestoneAsViewedOutProto1804`. Subsequent reads from it will return its default value. - public mutating func clearMarkmilestoneAsViewedOutProto1804() {_uniqueStorage()._markmilestoneAsViewedOutProto1804 = nil} + /// Returns true if `dailyEncounterProto1602` has been explicitly set. + public var hasDailyEncounterProto1602: Bool {return _storage._dailyEncounterProto1602 != nil} + /// Clears the value of `dailyEncounterProto1602`. Subsequent reads from it will return its default value. + public mutating func clearDailyEncounterProto1602() {_uniqueStorage()._dailyEncounterProto1602 = nil} - public var getMilestonesPreviewOutProto1805: GetMilestonesPreviewOutProto { - get {return _storage._getMilestonesPreviewOutProto1805 ?? GetMilestonesPreviewOutProto()} - set {_uniqueStorage()._getMilestonesPreviewOutProto1805 = newValue} + public var openSponsoredGiftProto1650: OpenSponsoredGiftProto { + get {return _storage._openSponsoredGiftProto1650 ?? OpenSponsoredGiftProto()} + set {_uniqueStorage()._openSponsoredGiftProto1650 = newValue} } - /// Returns true if `getMilestonesPreviewOutProto1805` has been explicitly set. - public var hasGetMilestonesPreviewOutProto1805: Bool {return _storage._getMilestonesPreviewOutProto1805 != nil} - /// Clears the value of `getMilestonesPreviewOutProto1805`. Subsequent reads from it will return its default value. - public mutating func clearGetMilestonesPreviewOutProto1805() {_uniqueStorage()._getMilestonesPreviewOutProto1805 = nil} + /// Returns true if `openSponsoredGiftProto1650` has been explicitly set. + public var hasOpenSponsoredGiftProto1650: Bool {return _storage._openSponsoredGiftProto1650 != nil} + /// Clears the value of `openSponsoredGiftProto1650`. Subsequent reads from it will return its default value. + public mutating func clearOpenSponsoredGiftProto1650() {_uniqueStorage()._openSponsoredGiftProto1650 = nil} - public var completeMilestoneOutProto1806: CompleteMilestoneOutProto { - get {return _storage._completeMilestoneOutProto1806 ?? CompleteMilestoneOutProto()} - set {_uniqueStorage()._completeMilestoneOutProto1806 = newValue} + public var savePlayerPreferencesProto1652: SavePlayerPreferencesProto { + get {return _storage._savePlayerPreferencesProto1652 ?? SavePlayerPreferencesProto()} + set {_uniqueStorage()._savePlayerPreferencesProto1652 = newValue} } - /// Returns true if `completeMilestoneOutProto1806` has been explicitly set. - public var hasCompleteMilestoneOutProto1806: Bool {return _storage._completeMilestoneOutProto1806 != nil} - /// Clears the value of `completeMilestoneOutProto1806`. Subsequent reads from it will return its default value. - public mutating func clearCompleteMilestoneOutProto1806() {_uniqueStorage()._completeMilestoneOutProto1806 = nil} + /// Returns true if `savePlayerPreferencesProto1652` has been explicitly set. + public var hasSavePlayerPreferencesProto1652: Bool {return _storage._savePlayerPreferencesProto1652 != nil} + /// Clears the value of `savePlayerPreferencesProto1652`. Subsequent reads from it will return its default value. + public mutating func clearSavePlayerPreferencesProto1652() {_uniqueStorage()._savePlayerPreferencesProto1652 = nil} - public var getgeofencedAdOutProto1820: GetGeofencedAdOutProto { - get {return _storage._getgeofencedAdOutProto1820 ?? GetGeofencedAdOutProto()} - set {_uniqueStorage()._getgeofencedAdOutProto1820 = newValue} + public var profanityCheckproto1653: ProfanityCheckProto { + get {return _storage._profanityCheckproto1653 ?? ProfanityCheckProto()} + set {_uniqueStorage()._profanityCheckproto1653 = newValue} } - /// Returns true if `getgeofencedAdOutProto1820` has been explicitly set. - public var hasGetgeofencedAdOutProto1820: Bool {return _storage._getgeofencedAdOutProto1820 != nil} - /// Clears the value of `getgeofencedAdOutProto1820`. Subsequent reads from it will return its default value. - public mutating func clearGetgeofencedAdOutProto1820() {_uniqueStorage()._getgeofencedAdOutProto1820 = nil} + /// Returns true if `profanityCheckproto1653` has been explicitly set. + public var hasProfanityCheckproto1653: Bool {return _storage._profanityCheckproto1653 != nil} + /// Clears the value of `profanityCheckproto1653`. Subsequent reads from it will return its default value. + public mutating func clearProfanityCheckproto1653() {_uniqueStorage()._profanityCheckproto1653 = nil} - public var deletePostcardsOutProto1909: DeletePostcardsOutProto { - get {return _storage._deletePostcardsOutProto1909 ?? DeletePostcardsOutProto()} - set {_uniqueStorage()._deletePostcardsOutProto1909 = newValue} + public var getTimedgroupChallengeProto1700: GetTimedGroupChallengeProto { + get {return _storage._getTimedgroupChallengeProto1700 ?? GetTimedGroupChallengeProto()} + set {_uniqueStorage()._getTimedgroupChallengeProto1700 = newValue} } - /// Returns true if `deletePostcardsOutProto1909` has been explicitly set. - public var hasDeletePostcardsOutProto1909: Bool {return _storage._deletePostcardsOutProto1909 != nil} - /// Clears the value of `deletePostcardsOutProto1909`. Subsequent reads from it will return its default value. - public mutating func clearDeletePostcardsOutProto1909() {_uniqueStorage()._deletePostcardsOutProto1909 = nil} + /// Returns true if `getTimedgroupChallengeProto1700` has been explicitly set. + public var hasGetTimedgroupChallengeProto1700: Bool {return _storage._getTimedgroupChallengeProto1700 != nil} + /// Clears the value of `getTimedgroupChallengeProto1700`. Subsequent reads from it will return its default value. + public mutating func clearGetTimedgroupChallengeProto1700() {_uniqueStorage()._getTimedgroupChallengeProto1700 = nil} - public var createPostcardOutProto1910: CreatePostcardOutProto { - get {return _storage._createPostcardOutProto1910 ?? CreatePostcardOutProto()} - set {_uniqueStorage()._createPostcardOutProto1910 = newValue} + public var getNintendoAccountProto1710: GetNintendoAccountProto { + get {return _storage._getNintendoAccountProto1710 ?? GetNintendoAccountProto()} + set {_uniqueStorage()._getNintendoAccountProto1710 = newValue} } - /// Returns true if `createPostcardOutProto1910` has been explicitly set. - public var hasCreatePostcardOutProto1910: Bool {return _storage._createPostcardOutProto1910 != nil} - /// Clears the value of `createPostcardOutProto1910`. Subsequent reads from it will return its default value. - public mutating func clearCreatePostcardOutProto1910() {_uniqueStorage()._createPostcardOutProto1910 = nil} + /// Returns true if `getNintendoAccountProto1710` has been explicitly set. + public var hasGetNintendoAccountProto1710: Bool {return _storage._getNintendoAccountProto1710 != nil} + /// Clears the value of `getNintendoAccountProto1710`. Subsequent reads from it will return its default value. + public mutating func clearGetNintendoAccountProto1710() {_uniqueStorage()._getNintendoAccountProto1710 = nil} - public var updatePostcardOutProto1911: UpdatePostcardOutProto { - get {return _storage._updatePostcardOutProto1911 ?? UpdatePostcardOutProto()} - set {_uniqueStorage()._updatePostcardOutProto1911 = newValue} + public var unlinkNintendoAccountProto1711: UnlinkNintendoAccountProto { + get {return _storage._unlinkNintendoAccountProto1711 ?? UnlinkNintendoAccountProto()} + set {_uniqueStorage()._unlinkNintendoAccountProto1711 = newValue} } - /// Returns true if `updatePostcardOutProto1911` has been explicitly set. - public var hasUpdatePostcardOutProto1911: Bool {return _storage._updatePostcardOutProto1911 != nil} - /// Clears the value of `updatePostcardOutProto1911`. Subsequent reads from it will return its default value. - public mutating func clearUpdatePostcardOutProto1911() {_uniqueStorage()._updatePostcardOutProto1911 = nil} + /// Returns true if `unlinkNintendoAccountProto1711` has been explicitly set. + public var hasUnlinkNintendoAccountProto1711: Bool {return _storage._unlinkNintendoAccountProto1711 != nil} + /// Clears the value of `unlinkNintendoAccountProto1711`. Subsequent reads from it will return its default value. + public mutating func clearUnlinkNintendoAccountProto1711() {_uniqueStorage()._unlinkNintendoAccountProto1711 = nil} - public var deletePostcardOutProto1912: DeletePostcardOutProto { - get {return _storage._deletePostcardOutProto1912 ?? DeletePostcardOutProto()} - set {_uniqueStorage()._deletePostcardOutProto1912 = newValue} + public var getNintendoOAuth2URLProto1712: GetNintendoOAuth2UrlProto { + get {return _storage._getNintendoOAuth2URLProto1712 ?? GetNintendoOAuth2UrlProto()} + set {_uniqueStorage()._getNintendoOAuth2URLProto1712 = newValue} } - /// Returns true if `deletePostcardOutProto1912` has been explicitly set. - public var hasDeletePostcardOutProto1912: Bool {return _storage._deletePostcardOutProto1912 != nil} - /// Clears the value of `deletePostcardOutProto1912`. Subsequent reads from it will return its default value. - public mutating func clearDeletePostcardOutProto1912() {_uniqueStorage()._deletePostcardOutProto1912 = nil} + /// Returns true if `getNintendoOAuth2URLProto1712` has been explicitly set. + public var hasGetNintendoOAuth2URLProto1712: Bool {return _storage._getNintendoOAuth2URLProto1712 != nil} + /// Clears the value of `getNintendoOAuth2URLProto1712`. Subsequent reads from it will return its default value. + public mutating func clearGetNintendoOAuth2URLProto1712() {_uniqueStorage()._getNintendoOAuth2URLProto1712 = nil} - public var getMementoListOutProto1913: GetMementoListOutProto { - get {return _storage._getMementoListOutProto1913 ?? GetMementoListOutProto()} - set {_uniqueStorage()._getMementoListOutProto1913 = newValue} + public var transferPokemontoPokemonHomeProto1713: TransferPokemonToPokemonHomeProto { + get {return _storage._transferPokemontoPokemonHomeProto1713 ?? TransferPokemonToPokemonHomeProto()} + set {_uniqueStorage()._transferPokemontoPokemonHomeProto1713 = newValue} } - /// Returns true if `getMementoListOutProto1913` has been explicitly set. - public var hasGetMementoListOutProto1913: Bool {return _storage._getMementoListOutProto1913 != nil} - /// Clears the value of `getMementoListOutProto1913`. Subsequent reads from it will return its default value. - public mutating func clearGetMementoListOutProto1913() {_uniqueStorage()._getMementoListOutProto1913 = nil} + /// Returns true if `transferPokemontoPokemonHomeProto1713` has been explicitly set. + public var hasTransferPokemontoPokemonHomeProto1713: Bool {return _storage._transferPokemontoPokemonHomeProto1713 != nil} + /// Clears the value of `transferPokemontoPokemonHomeProto1713`. Subsequent reads from it will return its default value. + public mutating func clearTransferPokemontoPokemonHomeProto1713() {_uniqueStorage()._transferPokemontoPokemonHomeProto1713 = nil} - public var uploadRaidClientLogOutProto1914: UploadRaidClientLogOutProto { - get {return _storage._uploadRaidClientLogOutProto1914 ?? UploadRaidClientLogOutProto()} - set {_uniqueStorage()._uploadRaidClientLogOutProto1914 = newValue} + public var reportAdFeedbackrequest1716: ReportAdFeedbackRequest { + get {return _storage._reportAdFeedbackrequest1716 ?? ReportAdFeedbackRequest()} + set {_uniqueStorage()._reportAdFeedbackrequest1716 = newValue} } - /// Returns true if `uploadRaidClientLogOutProto1914` has been explicitly set. - public var hasUploadRaidClientLogOutProto1914: Bool {return _storage._uploadRaidClientLogOutProto1914 != nil} - /// Clears the value of `uploadRaidClientLogOutProto1914`. Subsequent reads from it will return its default value. - public mutating func clearUploadRaidClientLogOutProto1914() {_uniqueStorage()._uploadRaidClientLogOutProto1914 = nil} + /// Returns true if `reportAdFeedbackrequest1716` has been explicitly set. + public var hasReportAdFeedbackrequest1716: Bool {return _storage._reportAdFeedbackrequest1716 != nil} + /// Clears the value of `reportAdFeedbackrequest1716`. Subsequent reads from it will return its default value. + public mutating func clearReportAdFeedbackrequest1716() {_uniqueStorage()._reportAdFeedbackrequest1716 = nil} - public var checkGiftingEligibilityOutProto2000: CheckGiftingEligibilityOutProto { - get {return _storage._checkGiftingEligibilityOutProto2000 ?? CheckGiftingEligibilityOutProto()} - set {_uniqueStorage()._checkGiftingEligibilityOutProto2000 = newValue} + public var createPokemonTagProto1717: CreatePokemonTagProto { + get {return _storage._createPokemonTagProto1717 ?? CreatePokemonTagProto()} + set {_uniqueStorage()._createPokemonTagProto1717 = newValue} } - /// Returns true if `checkGiftingEligibilityOutProto2000` has been explicitly set. - public var hasCheckGiftingEligibilityOutProto2000: Bool {return _storage._checkGiftingEligibilityOutProto2000 != nil} - /// Clears the value of `checkGiftingEligibilityOutProto2000`. Subsequent reads from it will return its default value. - public mutating func clearCheckGiftingEligibilityOutProto2000() {_uniqueStorage()._checkGiftingEligibilityOutProto2000 = nil} + /// Returns true if `createPokemonTagProto1717` has been explicitly set. + public var hasCreatePokemonTagProto1717: Bool {return _storage._createPokemonTagProto1717 != nil} + /// Clears the value of `createPokemonTagProto1717`. Subsequent reads from it will return its default value. + public mutating func clearCreatePokemonTagProto1717() {_uniqueStorage()._createPokemonTagProto1717 = nil} - public var redeemTicketGiftForFriendOutProto2001: RedeemTicketGiftForFriendOutProto { - get {return _storage._redeemTicketGiftForFriendOutProto2001 ?? RedeemTicketGiftForFriendOutProto()} - set {_uniqueStorage()._redeemTicketGiftForFriendOutProto2001 = newValue} + public var deletePokemonTagProto1718: DeletePokemonTagProto { + get {return _storage._deletePokemonTagProto1718 ?? DeletePokemonTagProto()} + set {_uniqueStorage()._deletePokemonTagProto1718 = newValue} } - /// Returns true if `redeemTicketGiftForFriendOutProto2001` has been explicitly set. - public var hasRedeemTicketGiftForFriendOutProto2001: Bool {return _storage._redeemTicketGiftForFriendOutProto2001 != nil} - /// Clears the value of `redeemTicketGiftForFriendOutProto2001`. Subsequent reads from it will return its default value. - public mutating func clearRedeemTicketGiftForFriendOutProto2001() {_uniqueStorage()._redeemTicketGiftForFriendOutProto2001 = nil} + /// Returns true if `deletePokemonTagProto1718` has been explicitly set. + public var hasDeletePokemonTagProto1718: Bool {return _storage._deletePokemonTagProto1718 != nil} + /// Clears the value of `deletePokemonTagProto1718`. Subsequent reads from it will return its default value. + public mutating func clearDeletePokemonTagProto1718() {_uniqueStorage()._deletePokemonTagProto1718 = nil} - public var getInsenceRecapOutProto2002: GetInsenceRecapOutProto { - get {return _storage._getInsenceRecapOutProto2002 ?? GetInsenceRecapOutProto()} - set {_uniqueStorage()._getInsenceRecapOutProto2002 = newValue} + public var editPokemonTagProto1719: EditPokemonTagProto { + get {return _storage._editPokemonTagProto1719 ?? EditPokemonTagProto()} + set {_uniqueStorage()._editPokemonTagProto1719 = newValue} } - /// Returns true if `getInsenceRecapOutProto2002` has been explicitly set. - public var hasGetInsenceRecapOutProto2002: Bool {return _storage._getInsenceRecapOutProto2002 != nil} - /// Clears the value of `getInsenceRecapOutProto2002`. Subsequent reads from it will return its default value. - public mutating func clearGetInsenceRecapOutProto2002() {_uniqueStorage()._getInsenceRecapOutProto2002 = nil} + /// Returns true if `editPokemonTagProto1719` has been explicitly set. + public var hasEditPokemonTagProto1719: Bool {return _storage._editPokemonTagProto1719 != nil} + /// Clears the value of `editPokemonTagProto1719`. Subsequent reads from it will return its default value. + public mutating func clearEditPokemonTagProto1719() {_uniqueStorage()._editPokemonTagProto1719 = nil} - public var getAckwowledgeInsenceRecapOutProto2003: GetAckwowledgeInsenceRecapOutProto { - get {return _storage._getAckwowledgeInsenceRecapOutProto2003 ?? GetAckwowledgeInsenceRecapOutProto()} - set {_uniqueStorage()._getAckwowledgeInsenceRecapOutProto2003 = newValue} + public var setPokemonTagsForPokemonProto1720: SetPokemonTagsForPokemonProto { + get {return _storage._setPokemonTagsForPokemonProto1720 ?? SetPokemonTagsForPokemonProto()} + set {_uniqueStorage()._setPokemonTagsForPokemonProto1720 = newValue} } - /// Returns true if `getAckwowledgeInsenceRecapOutProto2003` has been explicitly set. - public var hasGetAckwowledgeInsenceRecapOutProto2003: Bool {return _storage._getAckwowledgeInsenceRecapOutProto2003 != nil} - /// Clears the value of `getAckwowledgeInsenceRecapOutProto2003`. Subsequent reads from it will return its default value. - public mutating func clearGetAckwowledgeInsenceRecapOutProto2003() {_uniqueStorage()._getAckwowledgeInsenceRecapOutProto2003 = nil} + /// Returns true if `setPokemonTagsForPokemonProto1720` has been explicitly set. + public var hasSetPokemonTagsForPokemonProto1720: Bool {return _storage._setPokemonTagsForPokemonProto1720 != nil} + /// Clears the value of `setPokemonTagsForPokemonProto1720`. Subsequent reads from it will return its default value. + public mutating func clearSetPokemonTagsForPokemonProto1720() {_uniqueStorage()._setPokemonTagsForPokemonProto1720 = nil} - public var getPokestopEncounterOutProto2005: GetPokestopEncounterOutProto { - get {return _storage._getPokestopEncounterOutProto2005 ?? GetPokestopEncounterOutProto()} - set {_uniqueStorage()._getPokestopEncounterOutProto2005 = newValue} + public var getPokemonTagsProto1721: GetPokemonTagsProto { + get {return _storage._getPokemonTagsProto1721 ?? GetPokemonTagsProto()} + set {_uniqueStorage()._getPokemonTagsProto1721 = newValue} } - /// Returns true if `getPokestopEncounterOutProto2005` has been explicitly set. - public var hasGetPokestopEncounterOutProto2005: Bool {return _storage._getPokestopEncounterOutProto2005 != nil} - /// Clears the value of `getPokestopEncounterOutProto2005`. Subsequent reads from it will return its default value. - public mutating func clearGetPokestopEncounterOutProto2005() {_uniqueStorage()._getPokestopEncounterOutProto2005 = nil} + /// Returns true if `getPokemonTagsProto1721` has been explicitly set. + public var hasGetPokemonTagsProto1721: Bool {return _storage._getPokemonTagsProto1721 != nil} + /// Clears the value of `getPokemonTagsProto1721`. Subsequent reads from it will return its default value. + public mutating func clearGetPokemonTagsProto1721() {_uniqueStorage()._getPokemonTagsProto1721 = nil} - public var encounterPokestopencounterOutProto2006: EncounterPokestopEncounterOutProto { - get {return _storage._encounterPokestopencounterOutProto2006 ?? EncounterPokestopEncounterOutProto()} - set {_uniqueStorage()._encounterPokestopencounterOutProto2006 = newValue} + public var changePokemonFormProto1722: ChangePokemonFormProto { + get {return _storage._changePokemonFormProto1722 ?? ChangePokemonFormProto()} + set {_uniqueStorage()._changePokemonFormProto1722 = newValue} } - /// Returns true if `encounterPokestopencounterOutProto2006` has been explicitly set. - public var hasEncounterPokestopencounterOutProto2006: Bool {return _storage._encounterPokestopencounterOutProto2006 != nil} - /// Clears the value of `encounterPokestopencounterOutProto2006`. Subsequent reads from it will return its default value. - public mutating func clearEncounterPokestopencounterOutProto2006() {_uniqueStorage()._encounterPokestopencounterOutProto2006 = nil} + /// Returns true if `changePokemonFormProto1722` has been explicitly set. + public var hasChangePokemonFormProto1722: Bool {return _storage._changePokemonFormProto1722 != nil} + /// Clears the value of `changePokemonFormProto1722`. Subsequent reads from it will return its default value. + public mutating func clearChangePokemonFormProto1722() {_uniqueStorage()._changePokemonFormProto1722 = nil} - public var playerSpawnablepokemonOutproto2007: PlayerSpawnablePokemonOutProto { - get {return _storage._playerSpawnablepokemonOutproto2007 ?? PlayerSpawnablePokemonOutProto()} - set {_uniqueStorage()._playerSpawnablepokemonOutproto2007 = newValue} + public var chooseGlobalTicketedEventVariantProto1723: ChooseGlobalTicketedEventVariantProto { + get {return _storage._chooseGlobalTicketedEventVariantProto1723 ?? ChooseGlobalTicketedEventVariantProto()} + set {_uniqueStorage()._chooseGlobalTicketedEventVariantProto1723 = newValue} } - /// Returns true if `playerSpawnablepokemonOutproto2007` has been explicitly set. - public var hasPlayerSpawnablepokemonOutproto2007: Bool {return _storage._playerSpawnablepokemonOutproto2007 != nil} - /// Clears the value of `playerSpawnablepokemonOutproto2007`. Subsequent reads from it will return its default value. - public mutating func clearPlayerSpawnablepokemonOutproto2007() {_uniqueStorage()._playerSpawnablepokemonOutproto2007 = nil} + /// Returns true if `chooseGlobalTicketedEventVariantProto1723` has been explicitly set. + public var hasChooseGlobalTicketedEventVariantProto1723: Bool {return _storage._chooseGlobalTicketedEventVariantProto1723 != nil} + /// Clears the value of `chooseGlobalTicketedEventVariantProto1723`. Subsequent reads from it will return its default value. + public mutating func clearChooseGlobalTicketedEventVariantProto1723() {_uniqueStorage()._chooseGlobalTicketedEventVariantProto1723 = nil} - public var sendFriendRequestViaPlayerIDOutProto2010: SendFriendRequestViaPlayerIdOutProto { - get {return _storage._sendFriendRequestViaPlayerIDOutProto2010 ?? SendFriendRequestViaPlayerIdOutProto()} - set {_uniqueStorage()._sendFriendRequestViaPlayerIDOutProto2010 = newValue} + public var getReferralCodeProto1800: GetReferralCodeProto { + get {return _storage._getReferralCodeProto1800 ?? GetReferralCodeProto()} + set {_uniqueStorage()._getReferralCodeProto1800 = newValue} } - /// Returns true if `sendFriendRequestViaPlayerIDOutProto2010` has been explicitly set. - public var hasSendFriendRequestViaPlayerIDOutProto2010: Bool {return _storage._sendFriendRequestViaPlayerIDOutProto2010 != nil} - /// Clears the value of `sendFriendRequestViaPlayerIDOutProto2010`. Subsequent reads from it will return its default value. - public mutating func clearSendFriendRequestViaPlayerIDOutProto2010() {_uniqueStorage()._sendFriendRequestViaPlayerIDOutProto2010 = nil} + /// Returns true if `getReferralCodeProto1800` has been explicitly set. + public var hasGetReferralCodeProto1800: Bool {return _storage._getReferralCodeProto1800 != nil} + /// Clears the value of `getReferralCodeProto1800`. Subsequent reads from it will return its default value. + public mutating func clearGetReferralCodeProto1800() {_uniqueStorage()._getReferralCodeProto1800 = nil} - public var getRaidLobbyCounterOutProto2011: GetRaidLobbyCounterOutProto { - get {return _storage._getRaidLobbyCounterOutProto2011 ?? GetRaidLobbyCounterOutProto()} - set {_uniqueStorage()._getRaidLobbyCounterOutProto2011 = newValue} + public var addReferrerProto1801: AddReferrerProto { + get {return _storage._addReferrerProto1801 ?? AddReferrerProto()} + set {_uniqueStorage()._addReferrerProto1801 = newValue} } - /// Returns true if `getRaidLobbyCounterOutProto2011` has been explicitly set. - public var hasGetRaidLobbyCounterOutProto2011: Bool {return _storage._getRaidLobbyCounterOutProto2011 != nil} - /// Clears the value of `getRaidLobbyCounterOutProto2011`. Subsequent reads from it will return its default value. - public mutating func clearGetRaidLobbyCounterOutProto2011() {_uniqueStorage()._getRaidLobbyCounterOutProto2011 = nil} + /// Returns true if `addReferrerProto1801` has been explicitly set. + public var hasAddReferrerProto1801: Bool {return _storage._addReferrerProto1801 != nil} + /// Clears the value of `addReferrerProto1801`. Subsequent reads from it will return its default value. + public mutating func clearAddReferrerProto1801() {_uniqueStorage()._addReferrerProto1801 = nil} - public var updatePokemonSizeContestEntryOutProto2101: UpdatePokemonSizeContestEntryOutProto { - get {return _storage._updatePokemonSizeContestEntryOutProto2101 ?? UpdatePokemonSizeContestEntryOutProto()} - set {_uniqueStorage()._updatePokemonSizeContestEntryOutProto2101 = newValue} + public var sendFriendInviteViaReferralCodeProto1802: SendFriendInviteViaReferralCodeProto { + get {return _storage._sendFriendInviteViaReferralCodeProto1802 ?? SendFriendInviteViaReferralCodeProto()} + set {_uniqueStorage()._sendFriendInviteViaReferralCodeProto1802 = newValue} } - /// Returns true if `updatePokemonSizeContestEntryOutProto2101` has been explicitly set. - public var hasUpdatePokemonSizeContestEntryOutProto2101: Bool {return _storage._updatePokemonSizeContestEntryOutProto2101 != nil} - /// Clears the value of `updatePokemonSizeContestEntryOutProto2101`. Subsequent reads from it will return its default value. - public mutating func clearUpdatePokemonSizeContestEntryOutProto2101() {_uniqueStorage()._updatePokemonSizeContestEntryOutProto2101 = nil} + /// Returns true if `sendFriendInviteViaReferralCodeProto1802` has been explicitly set. + public var hasSendFriendInviteViaReferralCodeProto1802: Bool {return _storage._sendFriendInviteViaReferralCodeProto1802 != nil} + /// Clears the value of `sendFriendInviteViaReferralCodeProto1802`. Subsequent reads from it will return its default value. + public mutating func clearSendFriendInviteViaReferralCodeProto1802() {_uniqueStorage()._sendFriendInviteViaReferralCodeProto1802 = nil} - public var getPokemonSizeContestEntryOutProto2104: GetPokemonSizeContestEntryOutProto { - get {return _storage._getPokemonSizeContestEntryOutProto2104 ?? GetPokemonSizeContestEntryOutProto()} - set {_uniqueStorage()._getPokemonSizeContestEntryOutProto2104 = newValue} + public var getMilestonesProto1803: GetMilestonesProto { + get {return _storage._getMilestonesProto1803 ?? GetMilestonesProto()} + set {_uniqueStorage()._getMilestonesProto1803 = newValue} } - /// Returns true if `getPokemonSizeContestEntryOutProto2104` has been explicitly set. - public var hasGetPokemonSizeContestEntryOutProto2104: Bool {return _storage._getPokemonSizeContestEntryOutProto2104 != nil} - /// Clears the value of `getPokemonSizeContestEntryOutProto2104`. Subsequent reads from it will return its default value. - public mutating func clearGetPokemonSizeContestEntryOutProto2104() {_uniqueStorage()._getPokemonSizeContestEntryOutProto2104 = nil} + /// Returns true if `getMilestonesProto1803` has been explicitly set. + public var hasGetMilestonesProto1803: Bool {return _storage._getMilestonesProto1803 != nil} + /// Clears the value of `getMilestonesProto1803`. Subsequent reads from it will return its default value. + public mutating func clearGetMilestonesProto1803() {_uniqueStorage()._getMilestonesProto1803 = nil} - public var getContestDataOutProto2105: GetContestDataOutProto { - get {return _storage._getContestDataOutProto2105 ?? GetContestDataOutProto()} - set {_uniqueStorage()._getContestDataOutProto2105 = newValue} + public var markmilestoneAsViewedProto1804: MarkMilestoneAsViewedProto { + get {return _storage._markmilestoneAsViewedProto1804 ?? MarkMilestoneAsViewedProto()} + set {_uniqueStorage()._markmilestoneAsViewedProto1804 = newValue} } - /// Returns true if `getContestDataOutProto2105` has been explicitly set. - public var hasGetContestDataOutProto2105: Bool {return _storage._getContestDataOutProto2105 != nil} - /// Clears the value of `getContestDataOutProto2105`. Subsequent reads from it will return its default value. - public mutating func clearGetContestDataOutProto2105() {_uniqueStorage()._getContestDataOutProto2105 = nil} + /// Returns true if `markmilestoneAsViewedProto1804` has been explicitly set. + public var hasMarkmilestoneAsViewedProto1804: Bool {return _storage._markmilestoneAsViewedProto1804 != nil} + /// Clears the value of `markmilestoneAsViewedProto1804`. Subsequent reads from it will return its default value. + public mutating func clearMarkmilestoneAsViewedProto1804() {_uniqueStorage()._markmilestoneAsViewedProto1804 = nil} - public var getContestsUnclaimedRewardsOutProto2106: GetContestsUnclaimedRewardsOutProto { - get {return _storage._getContestsUnclaimedRewardsOutProto2106 ?? GetContestsUnclaimedRewardsOutProto()} - set {_uniqueStorage()._getContestsUnclaimedRewardsOutProto2106 = newValue} + public var getMilestonesPreviewProto1805: GetMilestonesPreviewProto { + get {return _storage._getMilestonesPreviewProto1805 ?? GetMilestonesPreviewProto()} + set {_uniqueStorage()._getMilestonesPreviewProto1805 = newValue} } - /// Returns true if `getContestsUnclaimedRewardsOutProto2106` has been explicitly set. - public var hasGetContestsUnclaimedRewardsOutProto2106: Bool {return _storage._getContestsUnclaimedRewardsOutProto2106 != nil} - /// Clears the value of `getContestsUnclaimedRewardsOutProto2106`. Subsequent reads from it will return its default value. - public mutating func clearGetContestsUnclaimedRewardsOutProto2106() {_uniqueStorage()._getContestsUnclaimedRewardsOutProto2106 = nil} + /// Returns true if `getMilestonesPreviewProto1805` has been explicitly set. + public var hasGetMilestonesPreviewProto1805: Bool {return _storage._getMilestonesPreviewProto1805 != nil} + /// Clears the value of `getMilestonesPreviewProto1805`. Subsequent reads from it will return its default value. + public mutating func clearGetMilestonesPreviewProto1805() {_uniqueStorage()._getMilestonesPreviewProto1805 = nil} - public var claimcontestsRewardsOutProto2107: ClaimContestsRewardsOutProto { - get {return _storage._claimcontestsRewardsOutProto2107 ?? ClaimContestsRewardsOutProto()} - set {_uniqueStorage()._claimcontestsRewardsOutProto2107 = newValue} + public var completeMilestoneProto1806: CompleteMilestoneProto { + get {return _storage._completeMilestoneProto1806 ?? CompleteMilestoneProto()} + set {_uniqueStorage()._completeMilestoneProto1806 = newValue} } - /// Returns true if `claimcontestsRewardsOutProto2107` has been explicitly set. - public var hasClaimcontestsRewardsOutProto2107: Bool {return _storage._claimcontestsRewardsOutProto2107 != nil} - /// Clears the value of `claimcontestsRewardsOutProto2107`. Subsequent reads from it will return its default value. - public mutating func clearClaimcontestsRewardsOutProto2107() {_uniqueStorage()._claimcontestsRewardsOutProto2107 = nil} + /// Returns true if `completeMilestoneProto1806` has been explicitly set. + public var hasCompleteMilestoneProto1806: Bool {return _storage._completeMilestoneProto1806 != nil} + /// Clears the value of `completeMilestoneProto1806`. Subsequent reads from it will return its default value. + public mutating func clearCompleteMilestoneProto1806() {_uniqueStorage()._completeMilestoneProto1806 = nil} - public var getEnteredContestOutProto2108: GetEnteredContestOutProto { - get {return _storage._getEnteredContestOutProto2108 ?? GetEnteredContestOutProto()} - set {_uniqueStorage()._getEnteredContestOutProto2108 = newValue} + public var getgeofencedAdProto1820: GetGeofencedAdProto { + get {return _storage._getgeofencedAdProto1820 ?? GetGeofencedAdProto()} + set {_uniqueStorage()._getgeofencedAdProto1820 = newValue} } - /// Returns true if `getEnteredContestOutProto2108` has been explicitly set. - public var hasGetEnteredContestOutProto2108: Bool {return _storage._getEnteredContestOutProto2108 != nil} - /// Clears the value of `getEnteredContestOutProto2108`. Subsequent reads from it will return its default value. - public mutating func clearGetEnteredContestOutProto2108() {_uniqueStorage()._getEnteredContestOutProto2108 = nil} + /// Returns true if `getgeofencedAdProto1820` has been explicitly set. + public var hasGetgeofencedAdProto1820: Bool {return _storage._getgeofencedAdProto1820 != nil} + /// Clears the value of `getgeofencedAdProto1820`. Subsequent reads from it will return its default value. + public mutating func clearGetgeofencedAdProto1820() {_uniqueStorage()._getgeofencedAdProto1820 = nil} - public var startPartyOutProto2302: StartPartyOutProto { - get {return _storage._startPartyOutProto2302 ?? StartPartyOutProto()} - set {_uniqueStorage()._startPartyOutProto2302 = newValue} + public var deletePostcardsProto1909: DeletePostcardsProto { + get {return _storage._deletePostcardsProto1909 ?? DeletePostcardsProto()} + set {_uniqueStorage()._deletePostcardsProto1909 = newValue} } - /// Returns true if `startPartyOutProto2302` has been explicitly set. - public var hasStartPartyOutProto2302: Bool {return _storage._startPartyOutProto2302 != nil} - /// Clears the value of `startPartyOutProto2302`. Subsequent reads from it will return its default value. - public mutating func clearStartPartyOutProto2302() {_uniqueStorage()._startPartyOutProto2302 = nil} + /// Returns true if `deletePostcardsProto1909` has been explicitly set. + public var hasDeletePostcardsProto1909: Bool {return _storage._deletePostcardsProto1909 != nil} + /// Clears the value of `deletePostcardsProto1909`. Subsequent reads from it will return its default value. + public mutating func clearDeletePostcardsProto1909() {_uniqueStorage()._deletePostcardsProto1909 = nil} - public var getVpsEventOutProto3000: GetVpsEventOutProto { - get {return _storage._getVpsEventOutProto3000 ?? GetVpsEventOutProto()} - set {_uniqueStorage()._getVpsEventOutProto3000 = newValue} + public var createPostcardProto1910: CreatePostcardProto { + get {return _storage._createPostcardProto1910 ?? CreatePostcardProto()} + set {_uniqueStorage()._createPostcardProto1910 = newValue} } - /// Returns true if `getVpsEventOutProto3000` has been explicitly set. - public var hasGetVpsEventOutProto3000: Bool {return _storage._getVpsEventOutProto3000 != nil} - /// Clears the value of `getVpsEventOutProto3000`. Subsequent reads from it will return its default value. - public mutating func clearGetVpsEventOutProto3000() {_uniqueStorage()._getVpsEventOutProto3000 = nil} + /// Returns true if `createPostcardProto1910` has been explicitly set. + public var hasCreatePostcardProto1910: Bool {return _storage._createPostcardProto1910 != nil} + /// Clears the value of `createPostcardProto1910`. Subsequent reads from it will return its default value. + public mutating func clearCreatePostcardProto1910() {_uniqueStorage()._createPostcardProto1910 = nil} - public var updateVpsEventOutProto3001: UpdateVpsEventOutProto { - get {return _storage._updateVpsEventOutProto3001 ?? UpdateVpsEventOutProto()} - set {_uniqueStorage()._updateVpsEventOutProto3001 = newValue} + public var updatePostcardProto1911: UpdatePostcardProto { + get {return _storage._updatePostcardProto1911 ?? UpdatePostcardProto()} + set {_uniqueStorage()._updatePostcardProto1911 = newValue} } - /// Returns true if `updateVpsEventOutProto3001` has been explicitly set. - public var hasUpdateVpsEventOutProto3001: Bool {return _storage._updateVpsEventOutProto3001 != nil} - /// Clears the value of `updateVpsEventOutProto3001`. Subsequent reads from it will return its default value. - public mutating func clearUpdateVpsEventOutProto3001() {_uniqueStorage()._updateVpsEventOutProto3001 = nil} + /// Returns true if `updatePostcardProto1911` has been explicitly set. + public var hasUpdatePostcardProto1911: Bool {return _storage._updatePostcardProto1911 != nil} + /// Clears the value of `updatePostcardProto1911`. Subsequent reads from it will return its default value. + public mutating func clearUpdatePostcardProto1911() {_uniqueStorage()._updatePostcardProto1911 = nil} - public var pushNotificationRegistryOutproto5000: PushNotificationRegistryOutProto { - get {return _storage._pushNotificationRegistryOutproto5000 ?? PushNotificationRegistryOutProto()} - set {_uniqueStorage()._pushNotificationRegistryOutproto5000 = newValue} + public var deletePostcardProto1912: DeletePostcardProto { + get {return _storage._deletePostcardProto1912 ?? DeletePostcardProto()} + set {_uniqueStorage()._deletePostcardProto1912 = newValue} } - /// Returns true if `pushNotificationRegistryOutproto5000` has been explicitly set. - public var hasPushNotificationRegistryOutproto5000: Bool {return _storage._pushNotificationRegistryOutproto5000 != nil} - /// Clears the value of `pushNotificationRegistryOutproto5000`. Subsequent reads from it will return its default value. - public mutating func clearPushNotificationRegistryOutproto5000() {_uniqueStorage()._pushNotificationRegistryOutproto5000 = nil} + /// Returns true if `deletePostcardProto1912` has been explicitly set. + public var hasDeletePostcardProto1912: Bool {return _storage._deletePostcardProto1912 != nil} + /// Clears the value of `deletePostcardProto1912`. Subsequent reads from it will return its default value. + public mutating func clearDeletePostcardProto1912() {_uniqueStorage()._deletePostcardProto1912 = nil} - public var updateNotificationOutProto5002: UpdateNotificationOutProto { - get {return _storage._updateNotificationOutProto5002 ?? UpdateNotificationOutProto()} - set {_uniqueStorage()._updateNotificationOutProto5002 = newValue} + public var getMementoListProto1913: GetMementoListProto { + get {return _storage._getMementoListProto1913 ?? GetMementoListProto()} + set {_uniqueStorage()._getMementoListProto1913 = newValue} } - /// Returns true if `updateNotificationOutProto5002` has been explicitly set. - public var hasUpdateNotificationOutProto5002: Bool {return _storage._updateNotificationOutProto5002 != nil} - /// Clears the value of `updateNotificationOutProto5002`. Subsequent reads from it will return its default value. - public mutating func clearUpdateNotificationOutProto5002() {_uniqueStorage()._updateNotificationOutProto5002 = nil} + /// Returns true if `getMementoListProto1913` has been explicitly set. + public var hasGetMementoListProto1913: Bool {return _storage._getMementoListProto1913 != nil} + /// Clears the value of `getMementoListProto1913`. Subsequent reads from it will return its default value. + public mutating func clearGetMementoListProto1913() {_uniqueStorage()._getMementoListProto1913 = nil} - public var optoutProto5003: OptOutProto { - get {return _storage._optoutProto5003 ?? OptOutProto()} - set {_uniqueStorage()._optoutProto5003 = newValue} + public var uploadRaidClientLogProto1914: UploadRaidClientLogProto { + get {return _storage._uploadRaidClientLogProto1914 ?? UploadRaidClientLogProto()} + set {_uniqueStorage()._uploadRaidClientLogProto1914 = newValue} } - /// Returns true if `optoutProto5003` has been explicitly set. - public var hasOptoutProto5003: Bool {return _storage._optoutProto5003 != nil} - /// Clears the value of `optoutProto5003`. Subsequent reads from it will return its default value. - public mutating func clearOptoutProto5003() {_uniqueStorage()._optoutProto5003 = nil} + /// Returns true if `uploadRaidClientLogProto1914` has been explicitly set. + public var hasUploadRaidClientLogProto1914: Bool {return _storage._uploadRaidClientLogProto1914 != nil} + /// Clears the value of `uploadRaidClientLogProto1914`. Subsequent reads from it will return its default value. + public mutating func clearUploadRaidClientLogProto1914() {_uniqueStorage()._uploadRaidClientLogProto1914 = nil} - public var downloadGmTemplatesResponseProto5004: DownloadGmTemplatesResponseProto { - get {return _storage._downloadGmTemplatesResponseProto5004 ?? DownloadGmTemplatesResponseProto()} - set {_uniqueStorage()._downloadGmTemplatesResponseProto5004 = newValue} + public var checkGiftingEligibilityProto2000: CheckGiftingEligibilityProto { + get {return _storage._checkGiftingEligibilityProto2000 ?? CheckGiftingEligibilityProto()} + set {_uniqueStorage()._checkGiftingEligibilityProto2000 = newValue} } - /// Returns true if `downloadGmTemplatesResponseProto5004` has been explicitly set. - public var hasDownloadGmTemplatesResponseProto5004: Bool {return _storage._downloadGmTemplatesResponseProto5004 != nil} - /// Clears the value of `downloadGmTemplatesResponseProto5004`. Subsequent reads from it will return its default value. - public mutating func clearDownloadGmTemplatesResponseProto5004() {_uniqueStorage()._downloadGmTemplatesResponseProto5004 = nil} + /// Returns true if `checkGiftingEligibilityProto2000` has been explicitly set. + public var hasCheckGiftingEligibilityProto2000: Bool {return _storage._checkGiftingEligibilityProto2000 != nil} + /// Clears the value of `checkGiftingEligibilityProto2000`. Subsequent reads from it will return its default value. + public mutating func clearCheckGiftingEligibilityProto2000() {_uniqueStorage()._checkGiftingEligibilityProto2000 = nil} - public var getInventoryResponseProto5005: GetInventoryResponseProto { - get {return _storage._getInventoryResponseProto5005 ?? GetInventoryResponseProto()} - set {_uniqueStorage()._getInventoryResponseProto5005 = newValue} + public var redeemTicketGiftForFriendProto2001: RedeemTicketGiftForFriendProto { + get {return _storage._redeemTicketGiftForFriendProto2001 ?? RedeemTicketGiftForFriendProto()} + set {_uniqueStorage()._redeemTicketGiftForFriendProto2001 = newValue} } - /// Returns true if `getInventoryResponseProto5005` has been explicitly set. - public var hasGetInventoryResponseProto5005: Bool {return _storage._getInventoryResponseProto5005 != nil} - /// Clears the value of `getInventoryResponseProto5005`. Subsequent reads from it will return its default value. - public mutating func clearGetInventoryResponseProto5005() {_uniqueStorage()._getInventoryResponseProto5005 = nil} + /// Returns true if `redeemTicketGiftForFriendProto2001` has been explicitly set. + public var hasRedeemTicketGiftForFriendProto2001: Bool {return _storage._redeemTicketGiftForFriendProto2001 != nil} + /// Clears the value of `redeemTicketGiftForFriendProto2001`. Subsequent reads from it will return its default value. + public mutating func clearRedeemTicketGiftForFriendProto2001() {_uniqueStorage()._redeemTicketGiftForFriendProto2001 = nil} - public var redeemPasscoderesponseProto5006: RedeemPasscodeResponseProto { - get {return _storage._redeemPasscoderesponseProto5006 ?? RedeemPasscodeResponseProto()} - set {_uniqueStorage()._redeemPasscoderesponseProto5006 = newValue} + public var getPokestopEncounterProto2005: GetPokestopEncounterProto { + get {return _storage._getPokestopEncounterProto2005 ?? GetPokestopEncounterProto()} + set {_uniqueStorage()._getPokestopEncounterProto2005 = newValue} } - /// Returns true if `redeemPasscoderesponseProto5006` has been explicitly set. - public var hasRedeemPasscoderesponseProto5006: Bool {return _storage._redeemPasscoderesponseProto5006 != nil} - /// Clears the value of `redeemPasscoderesponseProto5006`. Subsequent reads from it will return its default value. - public mutating func clearRedeemPasscoderesponseProto5006() {_uniqueStorage()._redeemPasscoderesponseProto5006 = nil} + /// Returns true if `getPokestopEncounterProto2005` has been explicitly set. + public var hasGetPokestopEncounterProto2005: Bool {return _storage._getPokestopEncounterProto2005 != nil} + /// Clears the value of `getPokestopEncounterProto2005`. Subsequent reads from it will return its default value. + public mutating func clearGetPokestopEncounterProto2005() {_uniqueStorage()._getPokestopEncounterProto2005 = nil} - public var pingResponseproto5007: PingResponseProto { - get {return _storage._pingResponseproto5007 ?? PingResponseProto()} - set {_uniqueStorage()._pingResponseproto5007 = newValue} + public var encounterPokestopencounterProto2006: EncounterPokestopEncounterProto { + get {return _storage._encounterPokestopencounterProto2006 ?? EncounterPokestopEncounterProto()} + set {_uniqueStorage()._encounterPokestopencounterProto2006 = newValue} } - /// Returns true if `pingResponseproto5007` has been explicitly set. - public var hasPingResponseproto5007: Bool {return _storage._pingResponseproto5007 != nil} - /// Clears the value of `pingResponseproto5007`. Subsequent reads from it will return its default value. - public mutating func clearPingResponseproto5007() {_uniqueStorage()._pingResponseproto5007 = nil} + /// Returns true if `encounterPokestopencounterProto2006` has been explicitly set. + public var hasEncounterPokestopencounterProto2006: Bool {return _storage._encounterPokestopencounterProto2006 != nil} + /// Clears the value of `encounterPokestopencounterProto2006`. Subsequent reads from it will return its default value. + public mutating func clearEncounterPokestopencounterProto2006() {_uniqueStorage()._encounterPokestopencounterProto2006 = nil} - public var addLoginactionOutProto5008: AddLoginActionOutProto { - get {return _storage._addLoginactionOutProto5008 ?? AddLoginActionOutProto()} - set {_uniqueStorage()._addLoginactionOutProto5008 = newValue} + public var playerSpawnablepokemonproto2007: PlayerSpawnablePokemonProto { + get {return _storage._playerSpawnablepokemonproto2007 ?? PlayerSpawnablePokemonProto()} + set {_uniqueStorage()._playerSpawnablepokemonproto2007 = newValue} } - /// Returns true if `addLoginactionOutProto5008` has been explicitly set. - public var hasAddLoginactionOutProto5008: Bool {return _storage._addLoginactionOutProto5008 != nil} - /// Clears the value of `addLoginactionOutProto5008`. Subsequent reads from it will return its default value. - public mutating func clearAddLoginactionOutProto5008() {_uniqueStorage()._addLoginactionOutProto5008 = nil} + /// Returns true if `playerSpawnablepokemonproto2007` has been explicitly set. + public var hasPlayerSpawnablepokemonproto2007: Bool {return _storage._playerSpawnablepokemonproto2007 != nil} + /// Clears the value of `playerSpawnablepokemonproto2007`. Subsequent reads from it will return its default value. + public mutating func clearPlayerSpawnablepokemonproto2007() {_uniqueStorage()._playerSpawnablepokemonproto2007 = nil} - public var removeLoginActionOutProto5009: RemoveLoginActionOutProto { - get {return _storage._removeLoginActionOutProto5009 ?? RemoveLoginActionOutProto()} - set {_uniqueStorage()._removeLoginActionOutProto5009 = newValue} + public var sendFriendRequestViaPlayerIDProto2010: SendFriendRequestViaPlayerIdProto { + get {return _storage._sendFriendRequestViaPlayerIDProto2010 ?? SendFriendRequestViaPlayerIdProto()} + set {_uniqueStorage()._sendFriendRequestViaPlayerIDProto2010 = newValue} } - /// Returns true if `removeLoginActionOutProto5009` has been explicitly set. - public var hasRemoveLoginActionOutProto5009: Bool {return _storage._removeLoginActionOutProto5009 != nil} - /// Clears the value of `removeLoginActionOutProto5009`. Subsequent reads from it will return its default value. - public mutating func clearRemoveLoginActionOutProto5009() {_uniqueStorage()._removeLoginActionOutProto5009 = nil} + /// Returns true if `sendFriendRequestViaPlayerIDProto2010` has been explicitly set. + public var hasSendFriendRequestViaPlayerIDProto2010: Bool {return _storage._sendFriendRequestViaPlayerIDProto2010 != nil} + /// Clears the value of `sendFriendRequestViaPlayerIDProto2010`. Subsequent reads from it will return its default value. + public mutating func clearSendFriendRequestViaPlayerIDProto2010() {_uniqueStorage()._sendFriendRequestViaPlayerIDProto2010 = nil} - public var listloginActionOutProto5010: ListLoginActionOutProto { - get {return _storage._listloginActionOutProto5010 ?? ListLoginActionOutProto()} - set {_uniqueStorage()._listloginActionOutProto5010 = newValue} + public var getRaidLobbyCounterProto2011: GetRaidLobbyCounterProto { + get {return _storage._getRaidLobbyCounterProto2011 ?? GetRaidLobbyCounterProto()} + set {_uniqueStorage()._getRaidLobbyCounterProto2011 = newValue} } - /// Returns true if `listloginActionOutProto5010` has been explicitly set. - public var hasListloginActionOutProto5010: Bool {return _storage._listloginActionOutProto5010 != nil} - /// Clears the value of `listloginActionOutProto5010`. Subsequent reads from it will return its default value. - public mutating func clearListloginActionOutProto5010() {_uniqueStorage()._listloginActionOutProto5010 = nil} + /// Returns true if `getRaidLobbyCounterProto2011` has been explicitly set. + public var hasGetRaidLobbyCounterProto2011: Bool {return _storage._getRaidLobbyCounterProto2011 != nil} + /// Clears the value of `getRaidLobbyCounterProto2011`. Subsequent reads from it will return its default value. + public mutating func clearGetRaidLobbyCounterProto2011() {_uniqueStorage()._getRaidLobbyCounterProto2011 = nil} - public var submitNewPoiOutProto5011: SubmitNewPoiOutProto { - get {return _storage._submitNewPoiOutProto5011 ?? SubmitNewPoiOutProto()} - set {_uniqueStorage()._submitNewPoiOutProto5011 = newValue} + public var useNonCombatMoveRequestProto2014: UseNonCombatMoveRequestProto { + get {return _storage._useNonCombatMoveRequestProto2014 ?? UseNonCombatMoveRequestProto()} + set {_uniqueStorage()._useNonCombatMoveRequestProto2014 = newValue} } - /// Returns true if `submitNewPoiOutProto5011` has been explicitly set. - public var hasSubmitNewPoiOutProto5011: Bool {return _storage._submitNewPoiOutProto5011 != nil} - /// Clears the value of `submitNewPoiOutProto5011`. Subsequent reads from it will return its default value. - public mutating func clearSubmitNewPoiOutProto5011() {_uniqueStorage()._submitNewPoiOutProto5011 = nil} + /// Returns true if `useNonCombatMoveRequestProto2014` has been explicitly set. + public var hasUseNonCombatMoveRequestProto2014: Bool {return _storage._useNonCombatMoveRequestProto2014 != nil} + /// Clears the value of `useNonCombatMoveRequestProto2014`. Subsequent reads from it will return its default value. + public mutating func clearUseNonCombatMoveRequestProto2014() {_uniqueStorage()._useNonCombatMoveRequestProto2014 = nil} - public var proxyResponseproto5012: ProxyResponseProto { - get {return _storage._proxyResponseproto5012 ?? ProxyResponseProto()} - set {_uniqueStorage()._proxyResponseproto5012 = newValue} + public var getContestDataProto2105: GetContestDataProto { + get {return _storage._getContestDataProto2105 ?? GetContestDataProto()} + set {_uniqueStorage()._getContestDataProto2105 = newValue} } - /// Returns true if `proxyResponseproto5012` has been explicitly set. - public var hasProxyResponseproto5012: Bool {return _storage._proxyResponseproto5012 != nil} - /// Clears the value of `proxyResponseproto5012`. Subsequent reads from it will return its default value. - public mutating func clearProxyResponseproto5012() {_uniqueStorage()._proxyResponseproto5012 = nil} + /// Returns true if `getContestDataProto2105` has been explicitly set. + public var hasGetContestDataProto2105: Bool {return _storage._getContestDataProto2105 != nil} + /// Clears the value of `getContestDataProto2105`. Subsequent reads from it will return its default value. + public mutating func clearGetContestDataProto2105() {_uniqueStorage()._getContestDataProto2105 = nil} - public var getAvailableSubmissionsOutProto5014: GetAvailableSubmissionsOutProto { - get {return _storage._getAvailableSubmissionsOutProto5014 ?? GetAvailableSubmissionsOutProto()} - set {_uniqueStorage()._getAvailableSubmissionsOutProto5014 = newValue} + public var getContestsUnclaimedRewardsProto2106: GetContestsUnclaimedRewardsProto { + get {return _storage._getContestsUnclaimedRewardsProto2106 ?? GetContestsUnclaimedRewardsProto()} + set {_uniqueStorage()._getContestsUnclaimedRewardsProto2106 = newValue} } - /// Returns true if `getAvailableSubmissionsOutProto5014` has been explicitly set. - public var hasGetAvailableSubmissionsOutProto5014: Bool {return _storage._getAvailableSubmissionsOutProto5014 != nil} - /// Clears the value of `getAvailableSubmissionsOutProto5014`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSubmissionsOutProto5014() {_uniqueStorage()._getAvailableSubmissionsOutProto5014 = nil} + /// Returns true if `getContestsUnclaimedRewardsProto2106` has been explicitly set. + public var hasGetContestsUnclaimedRewardsProto2106: Bool {return _storage._getContestsUnclaimedRewardsProto2106 != nil} + /// Clears the value of `getContestsUnclaimedRewardsProto2106`. Subsequent reads from it will return its default value. + public mutating func clearGetContestsUnclaimedRewardsProto2106() {_uniqueStorage()._getContestsUnclaimedRewardsProto2106 = nil} - public var replaceLoginActionOutProto5015: ReplaceLoginActionOutProto { - get {return _storage._replaceLoginActionOutProto5015 ?? ReplaceLoginActionOutProto()} - set {_uniqueStorage()._replaceLoginActionOutProto5015 = newValue} + public var claimcontestsRewardsProto2107: ClaimContestsRewardsProto { + get {return _storage._claimcontestsRewardsProto2107 ?? ClaimContestsRewardsProto()} + set {_uniqueStorage()._claimcontestsRewardsProto2107 = newValue} } - /// Returns true if `replaceLoginActionOutProto5015` has been explicitly set. - public var hasReplaceLoginActionOutProto5015: Bool {return _storage._replaceLoginActionOutProto5015 != nil} - /// Clears the value of `replaceLoginActionOutProto5015`. Subsequent reads from it will return its default value. - public mutating func clearReplaceLoginActionOutProto5015() {_uniqueStorage()._replaceLoginActionOutProto5015 = nil} + /// Returns true if `claimcontestsRewardsProto2107` has been explicitly set. + public var hasClaimcontestsRewardsProto2107: Bool {return _storage._claimcontestsRewardsProto2107 != nil} + /// Clears the value of `claimcontestsRewardsProto2107`. Subsequent reads from it will return its default value. + public mutating func clearClaimcontestsRewardsProto2107() {_uniqueStorage()._claimcontestsRewardsProto2107 = nil} - public var clientTelemetryBatchOutProto5018: ClientTelemetryBatchOutProto { - get {return _storage._clientTelemetryBatchOutProto5018 ?? ClientTelemetryBatchOutProto()} - set {_uniqueStorage()._clientTelemetryBatchOutProto5018 = newValue} + public var getEnteredContestProto2108: GetEnteredContestProto { + get {return _storage._getEnteredContestProto2108 ?? GetEnteredContestProto()} + set {_uniqueStorage()._getEnteredContestProto2108 = newValue} } - /// Returns true if `clientTelemetryBatchOutProto5018` has been explicitly set. - public var hasClientTelemetryBatchOutProto5018: Bool {return _storage._clientTelemetryBatchOutProto5018 != nil} - /// Clears the value of `clientTelemetryBatchOutProto5018`. Subsequent reads from it will return its default value. - public mutating func clearClientTelemetryBatchOutProto5018() {_uniqueStorage()._clientTelemetryBatchOutProto5018 = nil} + /// Returns true if `getEnteredContestProto2108` has been explicitly set. + public var hasGetEnteredContestProto2108: Bool {return _storage._getEnteredContestProto2108 != nil} + /// Clears the value of `getEnteredContestProto2108`. Subsequent reads from it will return its default value. + public mutating func clearGetEnteredContestProto2108() {_uniqueStorage()._getEnteredContestProto2108 = nil} - public var purchaseSkuOutproto5019: PurchaseSkuOutProto { - get {return _storage._purchaseSkuOutproto5019 ?? PurchaseSkuOutProto()} - set {_uniqueStorage()._purchaseSkuOutproto5019 = newValue} + public var badgeRewardEncounterRequestProto2360: BadgeRewardEncounterRequestProto { + get {return _storage._badgeRewardEncounterRequestProto2360 ?? BadgeRewardEncounterRequestProto()} + set {_uniqueStorage()._badgeRewardEncounterRequestProto2360 = newValue} } - /// Returns true if `purchaseSkuOutproto5019` has been explicitly set. - public var hasPurchaseSkuOutproto5019: Bool {return _storage._purchaseSkuOutproto5019 != nil} - /// Clears the value of `purchaseSkuOutproto5019`. Subsequent reads from it will return its default value. - public mutating func clearPurchaseSkuOutproto5019() {_uniqueStorage()._purchaseSkuOutproto5019 = nil} + /// Returns true if `badgeRewardEncounterRequestProto2360` has been explicitly set. + public var hasBadgeRewardEncounterRequestProto2360: Bool {return _storage._badgeRewardEncounterRequestProto2360 != nil} + /// Clears the value of `badgeRewardEncounterRequestProto2360`. Subsequent reads from it will return its default value. + public mutating func clearBadgeRewardEncounterRequestProto2360() {_uniqueStorage()._badgeRewardEncounterRequestProto2360 = nil} - public var getAvailableSkusAndBalancesOutProto5020: GetAvailableSkusAndBalancesOutProto { - get {return _storage._getAvailableSkusAndBalancesOutProto5020 ?? GetAvailableSkusAndBalancesOutProto()} - set {_uniqueStorage()._getAvailableSkusAndBalancesOutProto5020 = newValue} + public var npcUpdateStateProto2400: NpcUpdateStateProto { + get {return _storage._npcUpdateStateProto2400 ?? NpcUpdateStateProto()} + set {_uniqueStorage()._npcUpdateStateProto2400 = newValue} } - /// Returns true if `getAvailableSkusAndBalancesOutProto5020` has been explicitly set. - public var hasGetAvailableSkusAndBalancesOutProto5020: Bool {return _storage._getAvailableSkusAndBalancesOutProto5020 != nil} - /// Clears the value of `getAvailableSkusAndBalancesOutProto5020`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSkusAndBalancesOutProto5020() {_uniqueStorage()._getAvailableSkusAndBalancesOutProto5020 = nil} + /// Returns true if `npcUpdateStateProto2400` has been explicitly set. + public var hasNpcUpdateStateProto2400: Bool {return _storage._npcUpdateStateProto2400 != nil} + /// Clears the value of `npcUpdateStateProto2400`. Subsequent reads from it will return its default value. + public mutating func clearNpcUpdateStateProto2400() {_uniqueStorage()._npcUpdateStateProto2400 = nil} - public var redeemGooglereceiptOutProto5021: RedeemGoogleReceiptOutProto { - get {return _storage._redeemGooglereceiptOutProto5021 ?? RedeemGoogleReceiptOutProto()} - set {_uniqueStorage()._redeemGooglereceiptOutProto5021 = newValue} + public var npcSendGiftProto2401: NpcSendGiftProto { + get {return _storage._npcSendGiftProto2401 ?? NpcSendGiftProto()} + set {_uniqueStorage()._npcSendGiftProto2401 = newValue} } - /// Returns true if `redeemGooglereceiptOutProto5021` has been explicitly set. - public var hasRedeemGooglereceiptOutProto5021: Bool {return _storage._redeemGooglereceiptOutProto5021 != nil} - /// Clears the value of `redeemGooglereceiptOutProto5021`. Subsequent reads from it will return its default value. - public mutating func clearRedeemGooglereceiptOutProto5021() {_uniqueStorage()._redeemGooglereceiptOutProto5021 = nil} + /// Returns true if `npcSendGiftProto2401` has been explicitly set. + public var hasNpcSendGiftProto2401: Bool {return _storage._npcSendGiftProto2401 != nil} + /// Clears the value of `npcSendGiftProto2401`. Subsequent reads from it will return its default value. + public mutating func clearNpcSendGiftProto2401() {_uniqueStorage()._npcSendGiftProto2401 = nil} - public var redeemApplereceiptOutProto5022: RedeemAppleReceiptOutProto { - get {return _storage._redeemApplereceiptOutProto5022 ?? RedeemAppleReceiptOutProto()} - set {_uniqueStorage()._redeemApplereceiptOutProto5022 = newValue} + public var npcOpenGiftProto2402: NpcOpenGiftProto { + get {return _storage._npcOpenGiftProto2402 ?? NpcOpenGiftProto()} + set {_uniqueStorage()._npcOpenGiftProto2402 = newValue} } - /// Returns true if `redeemApplereceiptOutProto5022` has been explicitly set. - public var hasRedeemApplereceiptOutProto5022: Bool {return _storage._redeemApplereceiptOutProto5022 != nil} - /// Clears the value of `redeemApplereceiptOutProto5022`. Subsequent reads from it will return its default value. - public mutating func clearRedeemApplereceiptOutProto5022() {_uniqueStorage()._redeemApplereceiptOutProto5022 = nil} + /// Returns true if `npcOpenGiftProto2402` has been explicitly set. + public var hasNpcOpenGiftProto2402: Bool {return _storage._npcOpenGiftProto2402 != nil} + /// Clears the value of `npcOpenGiftProto2402`. Subsequent reads from it will return its default value. + public mutating func clearNpcOpenGiftProto2402() {_uniqueStorage()._npcOpenGiftProto2402 = nil} - public var redeemDesktopreceiptOutProto5023: RedeemDesktopReceiptOutProto { - get {return _storage._redeemDesktopreceiptOutProto5023 ?? RedeemDesktopReceiptOutProto()} - set {_uniqueStorage()._redeemDesktopreceiptOutProto5023 = newValue} + public var getVpsEventProto3000: GetVpsEventProto { + get {return _storage._getVpsEventProto3000 ?? GetVpsEventProto()} + set {_uniqueStorage()._getVpsEventProto3000 = newValue} } - /// Returns true if `redeemDesktopreceiptOutProto5023` has been explicitly set. - public var hasRedeemDesktopreceiptOutProto5023: Bool {return _storage._redeemDesktopreceiptOutProto5023 != nil} - /// Clears the value of `redeemDesktopreceiptOutProto5023`. Subsequent reads from it will return its default value. - public mutating func clearRedeemDesktopreceiptOutProto5023() {_uniqueStorage()._redeemDesktopreceiptOutProto5023 = nil} + /// Returns true if `getVpsEventProto3000` has been explicitly set. + public var hasGetVpsEventProto3000: Bool {return _storage._getVpsEventProto3000 != nil} + /// Clears the value of `getVpsEventProto3000`. Subsequent reads from it will return its default value. + public mutating func clearGetVpsEventProto3000() {_uniqueStorage()._getVpsEventProto3000 = nil} - public var fitnessUpdateOutProto5024: FitnessUpdateOutProto { - get {return _storage._fitnessUpdateOutProto5024 ?? FitnessUpdateOutProto()} - set {_uniqueStorage()._fitnessUpdateOutProto5024 = newValue} + public var updateVpsEventProto3001: UpdateVpsEventProto { + get {return _storage._updateVpsEventProto3001 ?? UpdateVpsEventProto()} + set {_uniqueStorage()._updateVpsEventProto3001 = newValue} } - /// Returns true if `fitnessUpdateOutProto5024` has been explicitly set. - public var hasFitnessUpdateOutProto5024: Bool {return _storage._fitnessUpdateOutProto5024 != nil} - /// Clears the value of `fitnessUpdateOutProto5024`. Subsequent reads from it will return its default value. - public mutating func clearFitnessUpdateOutProto5024() {_uniqueStorage()._fitnessUpdateOutProto5024 = nil} + /// Returns true if `updateVpsEventProto3001` has been explicitly set. + public var hasUpdateVpsEventProto3001: Bool {return _storage._updateVpsEventProto3001 != nil} + /// Clears the value of `updateVpsEventProto3001`. Subsequent reads from it will return its default value. + public mutating func clearUpdateVpsEventProto3001() {_uniqueStorage()._updateVpsEventProto3001 = nil} - public var getFitnessReportOutProto5025: GetFitnessReportOutProto { - get {return _storage._getFitnessReportOutProto5025 ?? GetFitnessReportOutProto()} - set {_uniqueStorage()._getFitnessReportOutProto5025 = newValue} + public var pushNotificationRegistryproto5000: PushNotificationRegistryProto { + get {return _storage._pushNotificationRegistryproto5000 ?? PushNotificationRegistryProto()} + set {_uniqueStorage()._pushNotificationRegistryproto5000 = newValue} } - /// Returns true if `getFitnessReportOutProto5025` has been explicitly set. - public var hasGetFitnessReportOutProto5025: Bool {return _storage._getFitnessReportOutProto5025 != nil} - /// Clears the value of `getFitnessReportOutProto5025`. Subsequent reads from it will return its default value. - public mutating func clearGetFitnessReportOutProto5025() {_uniqueStorage()._getFitnessReportOutProto5025 = nil} + /// Returns true if `pushNotificationRegistryproto5000` has been explicitly set. + public var hasPushNotificationRegistryproto5000: Bool {return _storage._pushNotificationRegistryproto5000 != nil} + /// Clears the value of `pushNotificationRegistryproto5000`. Subsequent reads from it will return its default value. + public mutating func clearPushNotificationRegistryproto5000() {_uniqueStorage()._pushNotificationRegistryproto5000 = nil} - public var clientTelemetryclientSettingsProto5026: ClientTelemetryClientSettingsProto { - get {return _storage._clientTelemetryclientSettingsProto5026 ?? ClientTelemetryClientSettingsProto()} - set {_uniqueStorage()._clientTelemetryclientSettingsProto5026 = newValue} + public var updateNotificationProto5002: UpdateNotificationProto { + get {return _storage._updateNotificationProto5002 ?? UpdateNotificationProto()} + set {_uniqueStorage()._updateNotificationProto5002 = newValue} } - /// Returns true if `clientTelemetryclientSettingsProto5026` has been explicitly set. - public var hasClientTelemetryclientSettingsProto5026: Bool {return _storage._clientTelemetryclientSettingsProto5026 != nil} - /// Clears the value of `clientTelemetryclientSettingsProto5026`. Subsequent reads from it will return its default value. - public mutating func clearClientTelemetryclientSettingsProto5026() {_uniqueStorage()._clientTelemetryclientSettingsProto5026 = nil} + /// Returns true if `updateNotificationProto5002` has been explicitly set. + public var hasUpdateNotificationProto5002: Bool {return _storage._updateNotificationProto5002 != nil} + /// Clears the value of `updateNotificationProto5002`. Subsequent reads from it will return its default value. + public mutating func clearUpdateNotificationProto5002() {_uniqueStorage()._updateNotificationProto5002 = nil} - public var registerBackgroundServiceresponseProto5028: RegisterBackgroundServiceResponseProto { - get {return _storage._registerBackgroundServiceresponseProto5028 ?? RegisterBackgroundServiceResponseProto()} - set {_uniqueStorage()._registerBackgroundServiceresponseProto5028 = newValue} + public var downloadGmTemplatesRequestProto5004: DownloadGmTemplatesRequestProto { + get {return _storage._downloadGmTemplatesRequestProto5004 ?? DownloadGmTemplatesRequestProto()} + set {_uniqueStorage()._downloadGmTemplatesRequestProto5004 = newValue} } - /// Returns true if `registerBackgroundServiceresponseProto5028` has been explicitly set. - public var hasRegisterBackgroundServiceresponseProto5028: Bool {return _storage._registerBackgroundServiceresponseProto5028 != nil} - /// Clears the value of `registerBackgroundServiceresponseProto5028`. Subsequent reads from it will return its default value. - public mutating func clearRegisterBackgroundServiceresponseProto5028() {_uniqueStorage()._registerBackgroundServiceresponseProto5028 = nil} - - public var setInGameCurrencyExchangeRateOutProto5032: SetInGameCurrencyExchangeRateOutProto { - get {return _storage._setInGameCurrencyExchangeRateOutProto5032 ?? SetInGameCurrencyExchangeRateOutProto()} - set {_uniqueStorage()._setInGameCurrencyExchangeRateOutProto5032 = newValue} + /// Returns true if `downloadGmTemplatesRequestProto5004` has been explicitly set. + public var hasDownloadGmTemplatesRequestProto5004: Bool {return _storage._downloadGmTemplatesRequestProto5004 != nil} + /// Clears the value of `downloadGmTemplatesRequestProto5004`. Subsequent reads from it will return its default value. + public mutating func clearDownloadGmTemplatesRequestProto5004() {_uniqueStorage()._downloadGmTemplatesRequestProto5004 = nil} + + public var getInventoryProto5005: GetInventoryProto { + get {return _storage._getInventoryProto5005 ?? GetInventoryProto()} + set {_uniqueStorage()._getInventoryProto5005 = newValue} } - /// Returns true if `setInGameCurrencyExchangeRateOutProto5032` has been explicitly set. - public var hasSetInGameCurrencyExchangeRateOutProto5032: Bool {return _storage._setInGameCurrencyExchangeRateOutProto5032 != nil} - /// Clears the value of `setInGameCurrencyExchangeRateOutProto5032`. Subsequent reads from it will return its default value. - public mutating func clearSetInGameCurrencyExchangeRateOutProto5032() {_uniqueStorage()._setInGameCurrencyExchangeRateOutProto5032 = nil} + /// Returns true if `getInventoryProto5005` has been explicitly set. + public var hasGetInventoryProto5005: Bool {return _storage._getInventoryProto5005 != nil} + /// Clears the value of `getInventoryProto5005`. Subsequent reads from it will return its default value. + public mutating func clearGetInventoryProto5005() {_uniqueStorage()._getInventoryProto5005 = nil} - public var geofenceUpdateOutProto5033: GeofenceUpdateOutProto { - get {return _storage._geofenceUpdateOutProto5033 ?? GeofenceUpdateOutProto()} - set {_uniqueStorage()._geofenceUpdateOutProto5033 = newValue} + public var redeemPasscoderequestProto5006: RedeemPasscodeRequestProto { + get {return _storage._redeemPasscoderequestProto5006 ?? RedeemPasscodeRequestProto()} + set {_uniqueStorage()._redeemPasscoderequestProto5006 = newValue} } - /// Returns true if `geofenceUpdateOutProto5033` has been explicitly set. - public var hasGeofenceUpdateOutProto5033: Bool {return _storage._geofenceUpdateOutProto5033 != nil} - /// Clears the value of `geofenceUpdateOutProto5033`. Subsequent reads from it will return its default value. - public mutating func clearGeofenceUpdateOutProto5033() {_uniqueStorage()._geofenceUpdateOutProto5033 = nil} + /// Returns true if `redeemPasscoderequestProto5006` has been explicitly set. + public var hasRedeemPasscoderequestProto5006: Bool {return _storage._redeemPasscoderequestProto5006 != nil} + /// Clears the value of `redeemPasscoderequestProto5006`. Subsequent reads from it will return its default value. + public mutating func clearRedeemPasscoderequestProto5006() {_uniqueStorage()._redeemPasscoderequestProto5006 = nil} - public var locationPingOutProto5034: LocationPingOutProto { - get {return _storage._locationPingOutProto5034 ?? LocationPingOutProto()} - set {_uniqueStorage()._locationPingOutProto5034 = newValue} + public var pingRequestproto5007: PingRequestProto { + get {return _storage._pingRequestproto5007 ?? PingRequestProto()} + set {_uniqueStorage()._pingRequestproto5007 = newValue} } - /// Returns true if `locationPingOutProto5034` has been explicitly set. - public var hasLocationPingOutProto5034: Bool {return _storage._locationPingOutProto5034 != nil} - /// Clears the value of `locationPingOutProto5034`. Subsequent reads from it will return its default value. - public mutating func clearLocationPingOutProto5034() {_uniqueStorage()._locationPingOutProto5034 = nil} + /// Returns true if `pingRequestproto5007` has been explicitly set. + public var hasPingRequestproto5007: Bool {return _storage._pingRequestproto5007 != nil} + /// Clears the value of `pingRequestproto5007`. Subsequent reads from it will return its default value. + public mutating func clearPingRequestproto5007() {_uniqueStorage()._pingRequestproto5007 = nil} - public var generategmapSignedURLOutProto5035: GenerateGmapSignedUrlOutProto { - get {return _storage._generategmapSignedURLOutProto5035 ?? GenerateGmapSignedUrlOutProto()} - set {_uniqueStorage()._generategmapSignedURLOutProto5035 = newValue} + public var addLoginactionProto5008: AddLoginActionProto { + get {return _storage._addLoginactionProto5008 ?? AddLoginActionProto()} + set {_uniqueStorage()._addLoginactionProto5008 = newValue} } - /// Returns true if `generategmapSignedURLOutProto5035` has been explicitly set. - public var hasGenerategmapSignedURLOutProto5035: Bool {return _storage._generategmapSignedURLOutProto5035 != nil} - /// Clears the value of `generategmapSignedURLOutProto5035`. Subsequent reads from it will return its default value. - public mutating func clearGenerategmapSignedURLOutProto5035() {_uniqueStorage()._generategmapSignedURLOutProto5035 = nil} + /// Returns true if `addLoginactionProto5008` has been explicitly set. + public var hasAddLoginactionProto5008: Bool {return _storage._addLoginactionProto5008 != nil} + /// Clears the value of `addLoginactionProto5008`. Subsequent reads from it will return its default value. + public mutating func clearAddLoginactionProto5008() {_uniqueStorage()._addLoginactionProto5008 = nil} - public var getgmapSettingsOutProto5036: GetGmapSettingsOutProto { - get {return _storage._getgmapSettingsOutProto5036 ?? GetGmapSettingsOutProto()} - set {_uniqueStorage()._getgmapSettingsOutProto5036 = newValue} + public var removeLoginActionProto5009: RemoveLoginActionProto { + get {return _storage._removeLoginActionProto5009 ?? RemoveLoginActionProto()} + set {_uniqueStorage()._removeLoginActionProto5009 = newValue} } - /// Returns true if `getgmapSettingsOutProto5036` has been explicitly set. - public var hasGetgmapSettingsOutProto5036: Bool {return _storage._getgmapSettingsOutProto5036 != nil} - /// Clears the value of `getgmapSettingsOutProto5036`. Subsequent reads from it will return its default value. - public mutating func clearGetgmapSettingsOutProto5036() {_uniqueStorage()._getgmapSettingsOutProto5036 = nil} + /// Returns true if `removeLoginActionProto5009` has been explicitly set. + public var hasRemoveLoginActionProto5009: Bool {return _storage._removeLoginActionProto5009 != nil} + /// Clears the value of `removeLoginActionProto5009`. Subsequent reads from it will return its default value. + public mutating func clearRemoveLoginActionProto5009() {_uniqueStorage()._removeLoginActionProto5009 = nil} - public var redeemSamsungreceiptOutProto5037: RedeemSamsungReceiptOutProto { - get {return _storage._redeemSamsungreceiptOutProto5037 ?? RedeemSamsungReceiptOutProto()} - set {_uniqueStorage()._redeemSamsungreceiptOutProto5037 = newValue} + public var submitNewPoiProto5011: SubmitNewPoiProto { + get {return _storage._submitNewPoiProto5011 ?? SubmitNewPoiProto()} + set {_uniqueStorage()._submitNewPoiProto5011 = newValue} } - /// Returns true if `redeemSamsungreceiptOutProto5037` has been explicitly set. - public var hasRedeemSamsungreceiptOutProto5037: Bool {return _storage._redeemSamsungreceiptOutProto5037 != nil} - /// Clears the value of `redeemSamsungreceiptOutProto5037`. Subsequent reads from it will return its default value. - public mutating func clearRedeemSamsungreceiptOutProto5037() {_uniqueStorage()._redeemSamsungreceiptOutProto5037 = nil} + /// Returns true if `submitNewPoiProto5011` has been explicitly set. + public var hasSubmitNewPoiProto5011: Bool {return _storage._submitNewPoiProto5011 != nil} + /// Clears the value of `submitNewPoiProto5011`. Subsequent reads from it will return its default value. + public mutating func clearSubmitNewPoiProto5011() {_uniqueStorage()._submitNewPoiProto5011 = nil} - public var getWebTokenOutProto5045: GetWebTokenOutProto { - get {return _storage._getWebTokenOutProto5045 ?? GetWebTokenOutProto()} - set {_uniqueStorage()._getWebTokenOutProto5045 = newValue} + public var proxyRequestproto5012: ProxyRequestProto { + get {return _storage._proxyRequestproto5012 ?? ProxyRequestProto()} + set {_uniqueStorage()._proxyRequestproto5012 = newValue} } - /// Returns true if `getWebTokenOutProto5045` has been explicitly set. - public var hasGetWebTokenOutProto5045: Bool {return _storage._getWebTokenOutProto5045 != nil} - /// Clears the value of `getWebTokenOutProto5045`. Subsequent reads from it will return its default value. - public mutating func clearGetWebTokenOutProto5045() {_uniqueStorage()._getWebTokenOutProto5045 = nil} + /// Returns true if `proxyRequestproto5012` has been explicitly set. + public var hasProxyRequestproto5012: Bool {return _storage._proxyRequestproto5012 != nil} + /// Clears the value of `proxyRequestproto5012`. Subsequent reads from it will return its default value. + public mutating func clearProxyRequestproto5012() {_uniqueStorage()._proxyRequestproto5012 = nil} - public var getAdventureSyncSettingsResponseProto5046: GetAdventureSyncSettingsResponseProto { - get {return _storage._getAdventureSyncSettingsResponseProto5046 ?? GetAdventureSyncSettingsResponseProto()} - set {_uniqueStorage()._getAdventureSyncSettingsResponseProto5046 = newValue} + public var getAvailableSubmissionsProto5014: GetAvailableSubmissionsProto { + get {return _storage._getAvailableSubmissionsProto5014 ?? GetAvailableSubmissionsProto()} + set {_uniqueStorage()._getAvailableSubmissionsProto5014 = newValue} } - /// Returns true if `getAdventureSyncSettingsResponseProto5046` has been explicitly set. - public var hasGetAdventureSyncSettingsResponseProto5046: Bool {return _storage._getAdventureSyncSettingsResponseProto5046 != nil} - /// Clears the value of `getAdventureSyncSettingsResponseProto5046`. Subsequent reads from it will return its default value. - public mutating func clearGetAdventureSyncSettingsResponseProto5046() {_uniqueStorage()._getAdventureSyncSettingsResponseProto5046 = nil} + /// Returns true if `getAvailableSubmissionsProto5014` has been explicitly set. + public var hasGetAvailableSubmissionsProto5014: Bool {return _storage._getAvailableSubmissionsProto5014 != nil} + /// Clears the value of `getAvailableSubmissionsProto5014`. Subsequent reads from it will return its default value. + public mutating func clearGetAvailableSubmissionsProto5014() {_uniqueStorage()._getAvailableSubmissionsProto5014 = nil} - public var updateAdventureSyncSettingsResponseProto5047: UpdateAdventureSyncSettingsResponseProto { - get {return _storage._updateAdventureSyncSettingsResponseProto5047 ?? UpdateAdventureSyncSettingsResponseProto()} - set {_uniqueStorage()._updateAdventureSyncSettingsResponseProto5047 = newValue} + public var replaceLoginActionProto5015: ReplaceLoginActionProto { + get {return _storage._replaceLoginActionProto5015 ?? ReplaceLoginActionProto()} + set {_uniqueStorage()._replaceLoginActionProto5015 = newValue} } - /// Returns true if `updateAdventureSyncSettingsResponseProto5047` has been explicitly set. - public var hasUpdateAdventureSyncSettingsResponseProto5047: Bool {return _storage._updateAdventureSyncSettingsResponseProto5047 != nil} - /// Clears the value of `updateAdventureSyncSettingsResponseProto5047`. Subsequent reads from it will return its default value. - public mutating func clearUpdateAdventureSyncSettingsResponseProto5047() {_uniqueStorage()._updateAdventureSyncSettingsResponseProto5047 = nil} + /// Returns true if `replaceLoginActionProto5015` has been explicitly set. + public var hasReplaceLoginActionProto5015: Bool {return _storage._replaceLoginActionProto5015 != nil} + /// Clears the value of `replaceLoginActionProto5015`. Subsequent reads from it will return its default value. + public mutating func clearReplaceLoginActionProto5015() {_uniqueStorage()._replaceLoginActionProto5015 = nil} + + public var clientTelemetryBatchProto5018: ClientTelemetryBatchProto { + get {return _storage._clientTelemetryBatchProto5018 ?? ClientTelemetryBatchProto()} + set {_uniqueStorage()._clientTelemetryBatchProto5018 = newValue} + } + /// Returns true if `clientTelemetryBatchProto5018` has been explicitly set. + public var hasClientTelemetryBatchProto5018: Bool {return _storage._clientTelemetryBatchProto5018 != nil} + /// Clears the value of `clientTelemetryBatchProto5018`. Subsequent reads from it will return its default value. + public mutating func clearClientTelemetryBatchProto5018() {_uniqueStorage()._clientTelemetryBatchProto5018 = nil} - public var searchPlayerOutProto10000: SearchPlayerOutProto { - get {return _storage._searchPlayerOutProto10000 ?? SearchPlayerOutProto()} - set {_uniqueStorage()._searchPlayerOutProto10000 = newValue} - } - /// Returns true if `searchPlayerOutProto10000` has been explicitly set. - public var hasSearchPlayerOutProto10000: Bool {return _storage._searchPlayerOutProto10000 != nil} - /// Clears the value of `searchPlayerOutProto10000`. Subsequent reads from it will return its default value. - public mutating func clearSearchPlayerOutProto10000() {_uniqueStorage()._searchPlayerOutProto10000 = nil} - - public var sendFriendInviteOutProto10002: SendFriendInviteOutProto { - get {return _storage._sendFriendInviteOutProto10002 ?? SendFriendInviteOutProto()} - set {_uniqueStorage()._sendFriendInviteOutProto10002 = newValue} - } - /// Returns true if `sendFriendInviteOutProto10002` has been explicitly set. - public var hasSendFriendInviteOutProto10002: Bool {return _storage._sendFriendInviteOutProto10002 != nil} - /// Clears the value of `sendFriendInviteOutProto10002`. Subsequent reads from it will return its default value. - public mutating func clearSendFriendInviteOutProto10002() {_uniqueStorage()._sendFriendInviteOutProto10002 = nil} - - public var cancelFriendInviteOutProto10003: CancelFriendInviteOutProto { - get {return _storage._cancelFriendInviteOutProto10003 ?? CancelFriendInviteOutProto()} - set {_uniqueStorage()._cancelFriendInviteOutProto10003 = newValue} - } - /// Returns true if `cancelFriendInviteOutProto10003` has been explicitly set. - public var hasCancelFriendInviteOutProto10003: Bool {return _storage._cancelFriendInviteOutProto10003 != nil} - /// Clears the value of `cancelFriendInviteOutProto10003`. Subsequent reads from it will return its default value. - public mutating func clearCancelFriendInviteOutProto10003() {_uniqueStorage()._cancelFriendInviteOutProto10003 = nil} - - public var acceptFriendInviteOutProto10004: AcceptFriendInviteOutProto { - get {return _storage._acceptFriendInviteOutProto10004 ?? AcceptFriendInviteOutProto()} - set {_uniqueStorage()._acceptFriendInviteOutProto10004 = newValue} - } - /// Returns true if `acceptFriendInviteOutProto10004` has been explicitly set. - public var hasAcceptFriendInviteOutProto10004: Bool {return _storage._acceptFriendInviteOutProto10004 != nil} - /// Clears the value of `acceptFriendInviteOutProto10004`. Subsequent reads from it will return its default value. - public mutating func clearAcceptFriendInviteOutProto10004() {_uniqueStorage()._acceptFriendInviteOutProto10004 = nil} - - public var declineFriendInviteOutProto10005: DeclineFriendInviteOutProto { - get {return _storage._declineFriendInviteOutProto10005 ?? DeclineFriendInviteOutProto()} - set {_uniqueStorage()._declineFriendInviteOutProto10005 = newValue} - } - /// Returns true if `declineFriendInviteOutProto10005` has been explicitly set. - public var hasDeclineFriendInviteOutProto10005: Bool {return _storage._declineFriendInviteOutProto10005 != nil} - /// Clears the value of `declineFriendInviteOutProto10005`. Subsequent reads from it will return its default value. - public mutating func clearDeclineFriendInviteOutProto10005() {_uniqueStorage()._declineFriendInviteOutProto10005 = nil} - - public var getFriendsListOutProto10006: GetFriendsListOutProto { - get {return _storage._getFriendsListOutProto10006 ?? GetFriendsListOutProto()} - set {_uniqueStorage()._getFriendsListOutProto10006 = newValue} - } - /// Returns true if `getFriendsListOutProto10006` has been explicitly set. - public var hasGetFriendsListOutProto10006: Bool {return _storage._getFriendsListOutProto10006 != nil} - /// Clears the value of `getFriendsListOutProto10006`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendsListOutProto10006() {_uniqueStorage()._getFriendsListOutProto10006 = nil} - - public var getOutgoingFriendInvitesOutProto10007: GetOutgoingFriendInvitesOutProto { - get {return _storage._getOutgoingFriendInvitesOutProto10007 ?? GetOutgoingFriendInvitesOutProto()} - set {_uniqueStorage()._getOutgoingFriendInvitesOutProto10007 = newValue} - } - /// Returns true if `getOutgoingFriendInvitesOutProto10007` has been explicitly set. - public var hasGetOutgoingFriendInvitesOutProto10007: Bool {return _storage._getOutgoingFriendInvitesOutProto10007 != nil} - /// Clears the value of `getOutgoingFriendInvitesOutProto10007`. Subsequent reads from it will return its default value. - public mutating func clearGetOutgoingFriendInvitesOutProto10007() {_uniqueStorage()._getOutgoingFriendInvitesOutProto10007 = nil} - - public var getIncomingFriendInvitesOutProto10008: GetIncomingFriendInvitesOutProto { - get {return _storage._getIncomingFriendInvitesOutProto10008 ?? GetIncomingFriendInvitesOutProto()} - set {_uniqueStorage()._getIncomingFriendInvitesOutProto10008 = newValue} - } - /// Returns true if `getIncomingFriendInvitesOutProto10008` has been explicitly set. - public var hasGetIncomingFriendInvitesOutProto10008: Bool {return _storage._getIncomingFriendInvitesOutProto10008 != nil} - /// Clears the value of `getIncomingFriendInvitesOutProto10008`. Subsequent reads from it will return its default value. - public mutating func clearGetIncomingFriendInvitesOutProto10008() {_uniqueStorage()._getIncomingFriendInvitesOutProto10008 = nil} - - public var removeFriendOutProto10009: RemoveFriendOutProto { - get {return _storage._removeFriendOutProto10009 ?? RemoveFriendOutProto()} - set {_uniqueStorage()._removeFriendOutProto10009 = newValue} - } - /// Returns true if `removeFriendOutProto10009` has been explicitly set. - public var hasRemoveFriendOutProto10009: Bool {return _storage._removeFriendOutProto10009 != nil} - /// Clears the value of `removeFriendOutProto10009`. Subsequent reads from it will return its default value. - public mutating func clearRemoveFriendOutProto10009() {_uniqueStorage()._removeFriendOutProto10009 = nil} - - public var getFriendDetailsOutProto10010: GetFriendDetailsOutProto { - get {return _storage._getFriendDetailsOutProto10010 ?? GetFriendDetailsOutProto()} - set {_uniqueStorage()._getFriendDetailsOutProto10010 = newValue} - } - /// Returns true if `getFriendDetailsOutProto10010` has been explicitly set. - public var hasGetFriendDetailsOutProto10010: Bool {return _storage._getFriendDetailsOutProto10010 != nil} - /// Clears the value of `getFriendDetailsOutProto10010`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendDetailsOutProto10010() {_uniqueStorage()._getFriendDetailsOutProto10010 = nil} - - public var inviteFacebookFriendOutProto10011: InviteFacebookFriendOutProto { - get {return _storage._inviteFacebookFriendOutProto10011 ?? InviteFacebookFriendOutProto()} - set {_uniqueStorage()._inviteFacebookFriendOutProto10011 = newValue} - } - /// Returns true if `inviteFacebookFriendOutProto10011` has been explicitly set. - public var hasInviteFacebookFriendOutProto10011: Bool {return _storage._inviteFacebookFriendOutProto10011 != nil} - /// Clears the value of `inviteFacebookFriendOutProto10011`. Subsequent reads from it will return its default value. - public mutating func clearInviteFacebookFriendOutProto10011() {_uniqueStorage()._inviteFacebookFriendOutProto10011 = nil} - - public var isMyFriendOutProto10012: IsMyFriendOutProto { - get {return _storage._isMyFriendOutProto10012 ?? IsMyFriendOutProto()} - set {_uniqueStorage()._isMyFriendOutProto10012 = newValue} - } - /// Returns true if `isMyFriendOutProto10012` has been explicitly set. - public var hasIsMyFriendOutProto10012: Bool {return _storage._isMyFriendOutProto10012 != nil} - /// Clears the value of `isMyFriendOutProto10012`. Subsequent reads from it will return its default value. - public mutating func clearIsMyFriendOutProto10012() {_uniqueStorage()._isMyFriendOutProto10012 = nil} - - public var getFriendCodeOutProto10013: GetFriendCodeOutProto { - get {return _storage._getFriendCodeOutProto10013 ?? GetFriendCodeOutProto()} - set {_uniqueStorage()._getFriendCodeOutProto10013 = newValue} - } - /// Returns true if `getFriendCodeOutProto10013` has been explicitly set. - public var hasGetFriendCodeOutProto10013: Bool {return _storage._getFriendCodeOutProto10013 != nil} - /// Clears the value of `getFriendCodeOutProto10013`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendCodeOutProto10013() {_uniqueStorage()._getFriendCodeOutProto10013 = nil} - - public var getFacebookFriendListOutProto10014: GetFacebookFriendListOutProto { - get {return _storage._getFacebookFriendListOutProto10014 ?? GetFacebookFriendListOutProto()} - set {_uniqueStorage()._getFacebookFriendListOutProto10014 = newValue} - } - /// Returns true if `getFacebookFriendListOutProto10014` has been explicitly set. - public var hasGetFacebookFriendListOutProto10014: Bool {return _storage._getFacebookFriendListOutProto10014 != nil} - /// Clears the value of `getFacebookFriendListOutProto10014`. Subsequent reads from it will return its default value. - public mutating func clearGetFacebookFriendListOutProto10014() {_uniqueStorage()._getFacebookFriendListOutProto10014 = nil} - - public var updateFacebookStatusOutProto10015: UpdateFacebookStatusOutProto { - get {return _storage._updateFacebookStatusOutProto10015 ?? UpdateFacebookStatusOutProto()} - set {_uniqueStorage()._updateFacebookStatusOutProto10015 = newValue} - } - /// Returns true if `updateFacebookStatusOutProto10015` has been explicitly set. - public var hasUpdateFacebookStatusOutProto10015: Bool {return _storage._updateFacebookStatusOutProto10015 != nil} - /// Clears the value of `updateFacebookStatusOutProto10015`. Subsequent reads from it will return its default value. - public mutating func clearUpdateFacebookStatusOutProto10015() {_uniqueStorage()._updateFacebookStatusOutProto10015 = nil} + public var fitnessUpdateProto5024: FitnessUpdateProto { + get {return _storage._fitnessUpdateProto5024 ?? FitnessUpdateProto()} + set {_uniqueStorage()._fitnessUpdateProto5024 = newValue} + } + /// Returns true if `fitnessUpdateProto5024` has been explicitly set. + public var hasFitnessUpdateProto5024: Bool {return _storage._fitnessUpdateProto5024 != nil} + /// Clears the value of `fitnessUpdateProto5024`. Subsequent reads from it will return its default value. + public mutating func clearFitnessUpdateProto5024() {_uniqueStorage()._fitnessUpdateProto5024 = nil} - public var savesocialPlayersettingsOutProto10016: SaveSocialPlayerSettingsOutProto { - get {return _storage._savesocialPlayersettingsOutProto10016 ?? SaveSocialPlayerSettingsOutProto()} - set {_uniqueStorage()._savesocialPlayersettingsOutProto10016 = newValue} + public var getFitnessReportProto5025: GetFitnessReportProto { + get {return _storage._getFitnessReportProto5025 ?? GetFitnessReportProto()} + set {_uniqueStorage()._getFitnessReportProto5025 = newValue} } - /// Returns true if `savesocialPlayersettingsOutProto10016` has been explicitly set. - public var hasSavesocialPlayersettingsOutProto10016: Bool {return _storage._savesocialPlayersettingsOutProto10016 != nil} - /// Clears the value of `savesocialPlayersettingsOutProto10016`. Subsequent reads from it will return its default value. - public mutating func clearSavesocialPlayersettingsOutProto10016() {_uniqueStorage()._savesocialPlayersettingsOutProto10016 = nil} + /// Returns true if `getFitnessReportProto5025` has been explicitly set. + public var hasGetFitnessReportProto5025: Bool {return _storage._getFitnessReportProto5025 != nil} + /// Clears the value of `getFitnessReportProto5025`. Subsequent reads from it will return its default value. + public mutating func clearGetFitnessReportProto5025() {_uniqueStorage()._getFitnessReportProto5025 = nil} - public var getPlayerSettingsOutProto10017: GetPlayerSettingsOutProto { - get {return _storage._getPlayerSettingsOutProto10017 ?? GetPlayerSettingsOutProto()} - set {_uniqueStorage()._getPlayerSettingsOutProto10017 = newValue} - } - /// Returns true if `getPlayerSettingsOutProto10017` has been explicitly set. - public var hasGetPlayerSettingsOutProto10017: Bool {return _storage._getPlayerSettingsOutProto10017 != nil} - /// Clears the value of `getPlayerSettingsOutProto10017`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerSettingsOutProto10017() {_uniqueStorage()._getPlayerSettingsOutProto10017 = nil} - - public var setAccountsettingsOutProto10021: SetAccountSettingsOutProto { - get {return _storage._setAccountsettingsOutProto10021 ?? SetAccountSettingsOutProto()} - set {_uniqueStorage()._setAccountsettingsOutProto10021 = newValue} - } - /// Returns true if `setAccountsettingsOutProto10021` has been explicitly set. - public var hasSetAccountsettingsOutProto10021: Bool {return _storage._setAccountsettingsOutProto10021 != nil} - /// Clears the value of `setAccountsettingsOutProto10021`. Subsequent reads from it will return its default value. - public mutating func clearSetAccountsettingsOutProto10021() {_uniqueStorage()._setAccountsettingsOutProto10021 = nil} - - public var getAccountSettingsOutProto10022: GetAccountSettingsOutProto { - get {return _storage._getAccountSettingsOutProto10022 ?? GetAccountSettingsOutProto()} - set {_uniqueStorage()._getAccountSettingsOutProto10022 = newValue} - } - /// Returns true if `getAccountSettingsOutProto10022` has been explicitly set. - public var hasGetAccountSettingsOutProto10022: Bool {return _storage._getAccountSettingsOutProto10022 != nil} - /// Clears the value of `getAccountSettingsOutProto10022`. Subsequent reads from it will return its default value. - public mutating func clearGetAccountSettingsOutProto10022() {_uniqueStorage()._getAccountSettingsOutProto10022 = nil} - - public var addFavoriteFriendResponse10023: AddFavoriteFriendResponse { - get {return _storage._addFavoriteFriendResponse10023 ?? AddFavoriteFriendResponse()} - set {_uniqueStorage()._addFavoriteFriendResponse10023 = newValue} - } - /// Returns true if `addFavoriteFriendResponse10023` has been explicitly set. - public var hasAddFavoriteFriendResponse10023: Bool {return _storage._addFavoriteFriendResponse10023 != nil} - /// Clears the value of `addFavoriteFriendResponse10023`. Subsequent reads from it will return its default value. - public mutating func clearAddFavoriteFriendResponse10023() {_uniqueStorage()._addFavoriteFriendResponse10023 = nil} - - public var removeFavoriteFriendresponse10024: RemoveFavoriteFriendResponse { - get {return _storage._removeFavoriteFriendresponse10024 ?? RemoveFavoriteFriendResponse()} - set {_uniqueStorage()._removeFavoriteFriendresponse10024 = newValue} - } - /// Returns true if `removeFavoriteFriendresponse10024` has been explicitly set. - public var hasRemoveFavoriteFriendresponse10024: Bool {return _storage._removeFavoriteFriendresponse10024 != nil} - /// Clears the value of `removeFavoriteFriendresponse10024`. Subsequent reads from it will return its default value. - public mutating func clearRemoveFavoriteFriendresponse10024() {_uniqueStorage()._removeFavoriteFriendresponse10024 = nil} - - public var blockAccountOutProto10025: BlockAccountOutProto { - get {return _storage._blockAccountOutProto10025 ?? BlockAccountOutProto()} - set {_uniqueStorage()._blockAccountOutProto10025 = newValue} - } - /// Returns true if `blockAccountOutProto10025` has been explicitly set. - public var hasBlockAccountOutProto10025: Bool {return _storage._blockAccountOutProto10025 != nil} - /// Clears the value of `blockAccountOutProto10025`. Subsequent reads from it will return its default value. - public mutating func clearBlockAccountOutProto10025() {_uniqueStorage()._blockAccountOutProto10025 = nil} - - public var unblockAccountOutProto10026: UnblockAccountOutProto { - get {return _storage._unblockAccountOutProto10026 ?? UnblockAccountOutProto()} - set {_uniqueStorage()._unblockAccountOutProto10026 = newValue} - } - /// Returns true if `unblockAccountOutProto10026` has been explicitly set. - public var hasUnblockAccountOutProto10026: Bool {return _storage._unblockAccountOutProto10026 != nil} - /// Clears the value of `unblockAccountOutProto10026`. Subsequent reads from it will return its default value. - public mutating func clearUnblockAccountOutProto10026() {_uniqueStorage()._unblockAccountOutProto10026 = nil} - - public var getOutgoingBlocksOutProto10027: GetOutgoingBlocksOutProto { - get {return _storage._getOutgoingBlocksOutProto10027 ?? GetOutgoingBlocksOutProto()} - set {_uniqueStorage()._getOutgoingBlocksOutProto10027 = newValue} - } - /// Returns true if `getOutgoingBlocksOutProto10027` has been explicitly set. - public var hasGetOutgoingBlocksOutProto10027: Bool {return _storage._getOutgoingBlocksOutProto10027 != nil} - /// Clears the value of `getOutgoingBlocksOutProto10027`. Subsequent reads from it will return its default value. - public mutating func clearGetOutgoingBlocksOutProto10027() {_uniqueStorage()._getOutgoingBlocksOutProto10027 = nil} - - public var isAccountBlockedOutProto10028: IsAccountBlockedOutProto { - get {return _storage._isAccountBlockedOutProto10028 ?? IsAccountBlockedOutProto()} - set {_uniqueStorage()._isAccountBlockedOutProto10028 = newValue} - } - /// Returns true if `isAccountBlockedOutProto10028` has been explicitly set. - public var hasIsAccountBlockedOutProto10028: Bool {return _storage._isAccountBlockedOutProto10028 != nil} - /// Clears the value of `isAccountBlockedOutProto10028`. Subsequent reads from it will return its default value. - public mutating func clearIsAccountBlockedOutProto10028() {_uniqueStorage()._isAccountBlockedOutProto10028 = nil} + public var clientTelemetrySettingsRequestProto5026: ClientTelemetrySettingsRequestProto { + get {return _storage._clientTelemetrySettingsRequestProto5026 ?? ClientTelemetrySettingsRequestProto()} + set {_uniqueStorage()._clientTelemetrySettingsRequestProto5026 = newValue} + } + /// Returns true if `clientTelemetrySettingsRequestProto5026` has been explicitly set. + public var hasClientTelemetrySettingsRequestProto5026: Bool {return _storage._clientTelemetrySettingsRequestProto5026 != nil} + /// Clears the value of `clientTelemetrySettingsRequestProto5026`. Subsequent reads from it will return its default value. + public mutating func clearClientTelemetrySettingsRequestProto5026() {_uniqueStorage()._clientTelemetrySettingsRequestProto5026 = nil} - public var pushNotificationRegistryOutproto10101: PushNotificationRegistryOutProto { - get {return _storage._pushNotificationRegistryOutproto10101 ?? PushNotificationRegistryOutProto()} - set {_uniqueStorage()._pushNotificationRegistryOutproto10101 = newValue} + public var setInGameCurrencyExchangeRateProto5032: SetInGameCurrencyExchangeRateProto { + get {return _storage._setInGameCurrencyExchangeRateProto5032 ?? SetInGameCurrencyExchangeRateProto()} + set {_uniqueStorage()._setInGameCurrencyExchangeRateProto5032 = newValue} } - /// Returns true if `pushNotificationRegistryOutproto10101` has been explicitly set. - public var hasPushNotificationRegistryOutproto10101: Bool {return _storage._pushNotificationRegistryOutproto10101 != nil} - /// Clears the value of `pushNotificationRegistryOutproto10101`. Subsequent reads from it will return its default value. - public mutating func clearPushNotificationRegistryOutproto10101() {_uniqueStorage()._pushNotificationRegistryOutproto10101 = nil} + /// Returns true if `setInGameCurrencyExchangeRateProto5032` has been explicitly set. + public var hasSetInGameCurrencyExchangeRateProto5032: Bool {return _storage._setInGameCurrencyExchangeRateProto5032 != nil} + /// Clears the value of `setInGameCurrencyExchangeRateProto5032`. Subsequent reads from it will return its default value. + public mutating func clearSetInGameCurrencyExchangeRateProto5032() {_uniqueStorage()._setInGameCurrencyExchangeRateProto5032 = nil} - public var updateNotificationOutProto10103: UpdateNotificationOutProto { - get {return _storage._updateNotificationOutProto10103 ?? UpdateNotificationOutProto()} - set {_uniqueStorage()._updateNotificationOutProto10103 = newValue} + public var geofenceUpdateProto5033: GeofenceUpdateProto { + get {return _storage._geofenceUpdateProto5033 ?? GeofenceUpdateProto()} + set {_uniqueStorage()._geofenceUpdateProto5033 = newValue} } - /// Returns true if `updateNotificationOutProto10103` has been explicitly set. - public var hasUpdateNotificationOutProto10103: Bool {return _storage._updateNotificationOutProto10103 != nil} - /// Clears the value of `updateNotificationOutProto10103`. Subsequent reads from it will return its default value. - public mutating func clearUpdateNotificationOutProto10103() {_uniqueStorage()._updateNotificationOutProto10103 = nil} + /// Returns true if `geofenceUpdateProto5033` has been explicitly set. + public var hasGeofenceUpdateProto5033: Bool {return _storage._geofenceUpdateProto5033 != nil} + /// Clears the value of `geofenceUpdateProto5033`. Subsequent reads from it will return its default value. + public mutating func clearGeofenceUpdateProto5033() {_uniqueStorage()._geofenceUpdateProto5033 = nil} - public var optoutProto10104: OptOutProto { - get {return _storage._optoutProto10104 ?? OptOutProto()} - set {_uniqueStorage()._optoutProto10104 = newValue} + public var locationPingProto5034: LocationPingProto { + get {return _storage._locationPingProto5034 ?? LocationPingProto()} + set {_uniqueStorage()._locationPingProto5034 = newValue} } - /// Returns true if `optoutProto10104` has been explicitly set. - public var hasOptoutProto10104: Bool {return _storage._optoutProto10104 != nil} - /// Clears the value of `optoutProto10104`. Subsequent reads from it will return its default value. - public mutating func clearOptoutProto10104() {_uniqueStorage()._optoutProto10104 = nil} + /// Returns true if `locationPingProto5034` has been explicitly set. + public var hasLocationPingProto5034: Bool {return _storage._locationPingProto5034 != nil} + /// Clears the value of `locationPingProto5034`. Subsequent reads from it will return its default value. + public mutating func clearLocationPingProto5034() {_uniqueStorage()._locationPingProto5034 = nil} - public var getInboxOutProto10105: GetInboxOutProto { - get {return _storage._getInboxOutProto10105 ?? GetInboxOutProto()} - set {_uniqueStorage()._getInboxOutProto10105 = newValue} + public var generategmapSignedURLProto5035: GenerateGmapSignedUrlProto { + get {return _storage._generategmapSignedURLProto5035 ?? GenerateGmapSignedUrlProto()} + set {_uniqueStorage()._generategmapSignedURLProto5035 = newValue} } - /// Returns true if `getInboxOutProto10105` has been explicitly set. - public var hasGetInboxOutProto10105: Bool {return _storage._getInboxOutProto10105 != nil} - /// Clears the value of `getInboxOutProto10105`. Subsequent reads from it will return its default value. - public mutating func clearGetInboxOutProto10105() {_uniqueStorage()._getInboxOutProto10105 = nil} + /// Returns true if `generategmapSignedURLProto5035` has been explicitly set. + public var hasGenerategmapSignedURLProto5035: Bool {return _storage._generategmapSignedURLProto5035 != nil} + /// Clears the value of `generategmapSignedURLProto5035`. Subsequent reads from it will return its default value. + public mutating func clearGenerategmapSignedURLProto5035() {_uniqueStorage()._generategmapSignedURLProto5035 = nil} - public var getSignedURLOutProto10201: GetSignedUrlOutProto { - get {return _storage._getSignedURLOutProto10201 ?? GetSignedUrlOutProto()} - set {_uniqueStorage()._getSignedURLOutProto10201 = newValue} - } - /// Returns true if `getSignedURLOutProto10201` has been explicitly set. - public var hasGetSignedURLOutProto10201: Bool {return _storage._getSignedURLOutProto10201 != nil} - /// Clears the value of `getSignedURLOutProto10201`. Subsequent reads from it will return its default value. - public mutating func clearGetSignedURLOutProto10201() {_uniqueStorage()._getSignedURLOutProto10201 = nil} - - public var submitImageOutProto10202: SubmitImageOutProto { - get {return _storage._submitImageOutProto10202 ?? SubmitImageOutProto()} - set {_uniqueStorage()._submitImageOutProto10202 = newValue} - } - /// Returns true if `submitImageOutProto10202` has been explicitly set. - public var hasSubmitImageOutProto10202: Bool {return _storage._submitImageOutProto10202 != nil} - /// Clears the value of `submitImageOutProto10202`. Subsequent reads from it will return its default value. - public mutating func clearSubmitImageOutProto10202() {_uniqueStorage()._submitImageOutProto10202 = nil} - - public var getPhotosOutProto10203: GetPhotosOutProto { - get {return _storage._getPhotosOutProto10203 ?? GetPhotosOutProto()} - set {_uniqueStorage()._getPhotosOutProto10203 = newValue} - } - /// Returns true if `getPhotosOutProto10203` has been explicitly set. - public var hasGetPhotosOutProto10203: Bool {return _storage._getPhotosOutProto10203 != nil} - /// Clears the value of `getPhotosOutProto10203`. Subsequent reads from it will return its default value. - public mutating func clearGetPhotosOutProto10203() {_uniqueStorage()._getPhotosOutProto10203 = nil} - - public var deletePhotoOutProto10204: DeletePhotoOutProto { - get {return _storage._deletePhotoOutProto10204 ?? DeletePhotoOutProto()} - set {_uniqueStorage()._deletePhotoOutProto10204 = newValue} - } - /// Returns true if `deletePhotoOutProto10204` has been explicitly set. - public var hasDeletePhotoOutProto10204: Bool {return _storage._deletePhotoOutProto10204 != nil} - /// Clears the value of `deletePhotoOutProto10204`. Subsequent reads from it will return its default value. - public mutating func clearDeletePhotoOutProto10204() {_uniqueStorage()._deletePhotoOutProto10204 = nil} - - public var flagPhotoResponse10205: FlagPhotoResponse { - get {return _storage._flagPhotoResponse10205 ?? FlagPhotoResponse()} - set {_uniqueStorage()._flagPhotoResponse10205 = newValue} - } - /// Returns true if `flagPhotoResponse10205` has been explicitly set. - public var hasFlagPhotoResponse10205: Bool {return _storage._flagPhotoResponse10205 != nil} - /// Clears the value of `flagPhotoResponse10205`. Subsequent reads from it will return its default value. - public mutating func clearFlagPhotoResponse10205() {_uniqueStorage()._flagPhotoResponse10205 = nil} - - public var updateProfileResponse20001: UpdateProfileResponse { - get {return _storage._updateProfileResponse20001 ?? UpdateProfileResponse()} - set {_uniqueStorage()._updateProfileResponse20001 = newValue} - } - /// Returns true if `updateProfileResponse20001` has been explicitly set. - public var hasUpdateProfileResponse20001: Bool {return _storage._updateProfileResponse20001 != nil} - /// Clears the value of `updateProfileResponse20001`. Subsequent reads from it will return its default value. - public mutating func clearUpdateProfileResponse20001() {_uniqueStorage()._updateProfileResponse20001 = nil} - - public var updateFriendshipResponse20002: UpdateFriendshipResponse { - get {return _storage._updateFriendshipResponse20002 ?? UpdateFriendshipResponse()} - set {_uniqueStorage()._updateFriendshipResponse20002 = newValue} - } - /// Returns true if `updateFriendshipResponse20002` has been explicitly set. - public var hasUpdateFriendshipResponse20002: Bool {return _storage._updateFriendshipResponse20002 != nil} - /// Clears the value of `updateFriendshipResponse20002`. Subsequent reads from it will return its default value. - public mutating func clearUpdateFriendshipResponse20002() {_uniqueStorage()._updateFriendshipResponse20002 = nil} - - public var getProfileResponse20003: GetProfileResponse { - get {return _storage._getProfileResponse20003 ?? GetProfileResponse()} - set {_uniqueStorage()._getProfileResponse20003 = newValue} - } - /// Returns true if `getProfileResponse20003` has been explicitly set. - public var hasGetProfileResponse20003: Bool {return _storage._getProfileResponse20003 != nil} - /// Clears the value of `getProfileResponse20003`. Subsequent reads from it will return its default value. - public mutating func clearGetProfileResponse20003() {_uniqueStorage()._getProfileResponse20003 = nil} - - public var inviteGameResponse20004: InviteGameResponse { - get {return _storage._inviteGameResponse20004 ?? InviteGameResponse()} - set {_uniqueStorage()._inviteGameResponse20004 = newValue} - } - /// Returns true if `inviteGameResponse20004` has been explicitly set. - public var hasInviteGameResponse20004: Bool {return _storage._inviteGameResponse20004 != nil} - /// Clears the value of `inviteGameResponse20004`. Subsequent reads from it will return its default value. - public mutating func clearInviteGameResponse20004() {_uniqueStorage()._inviteGameResponse20004 = nil} - - public var listFriendsResponse20006: ListFriendsResponse { - get {return _storage._listFriendsResponse20006 ?? ListFriendsResponse()} - set {_uniqueStorage()._listFriendsResponse20006 = newValue} - } - /// Returns true if `listFriendsResponse20006` has been explicitly set. - public var hasListFriendsResponse20006: Bool {return _storage._listFriendsResponse20006 != nil} - /// Clears the value of `listFriendsResponse20006`. Subsequent reads from it will return its default value. - public mutating func clearListFriendsResponse20006() {_uniqueStorage()._listFriendsResponse20006 = nil} - - public var getFriendDetailsOutProto20007: GetFriendDetailsOutProto { - get {return _storage._getFriendDetailsOutProto20007 ?? GetFriendDetailsOutProto()} - set {_uniqueStorage()._getFriendDetailsOutProto20007 = newValue} - } - /// Returns true if `getFriendDetailsOutProto20007` has been explicitly set. - public var hasGetFriendDetailsOutProto20007: Bool {return _storage._getFriendDetailsOutProto20007 != nil} - /// Clears the value of `getFriendDetailsOutProto20007`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendDetailsOutProto20007() {_uniqueStorage()._getFriendDetailsOutProto20007 = nil} - - public var getClientFeatureFlagsResponse20008: GetClientFeatureFlagsResponse { - get {return _storage._getClientFeatureFlagsResponse20008 ?? GetClientFeatureFlagsResponse()} - set {_uniqueStorage()._getClientFeatureFlagsResponse20008 = newValue} - } - /// Returns true if `getClientFeatureFlagsResponse20008` has been explicitly set. - public var hasGetClientFeatureFlagsResponse20008: Bool {return _storage._getClientFeatureFlagsResponse20008 != nil} - /// Clears the value of `getClientFeatureFlagsResponse20008`. Subsequent reads from it will return its default value. - public mutating func clearGetClientFeatureFlagsResponse20008() {_uniqueStorage()._getClientFeatureFlagsResponse20008 = nil} - - public var getIncominggameInvitesResponse20010: GetIncomingGameInvitesResponse { - get {return _storage._getIncominggameInvitesResponse20010 ?? GetIncomingGameInvitesResponse()} - set {_uniqueStorage()._getIncominggameInvitesResponse20010 = newValue} - } - /// Returns true if `getIncominggameInvitesResponse20010` has been explicitly set. - public var hasGetIncominggameInvitesResponse20010: Bool {return _storage._getIncominggameInvitesResponse20010 != nil} - /// Clears the value of `getIncominggameInvitesResponse20010`. Subsequent reads from it will return its default value. - public mutating func clearGetIncominggameInvitesResponse20010() {_uniqueStorage()._getIncominggameInvitesResponse20010 = nil} - - public var updateIncomingGameInviteResponse20011: UpdateIncomingGameInviteResponse { - get {return _storage._updateIncomingGameInviteResponse20011 ?? UpdateIncomingGameInviteResponse()} - set {_uniqueStorage()._updateIncomingGameInviteResponse20011 = newValue} - } - /// Returns true if `updateIncomingGameInviteResponse20011` has been explicitly set. - public var hasUpdateIncomingGameInviteResponse20011: Bool {return _storage._updateIncomingGameInviteResponse20011 != nil} - /// Clears the value of `updateIncomingGameInviteResponse20011`. Subsequent reads from it will return its default value. - public mutating func clearUpdateIncomingGameInviteResponse20011() {_uniqueStorage()._updateIncomingGameInviteResponse20011 = nil} - - public var dismissOutgoingGameInvitesResponse20012: DismissOutgoingGameInvitesResponse { - get {return _storage._dismissOutgoingGameInvitesResponse20012 ?? DismissOutgoingGameInvitesResponse()} - set {_uniqueStorage()._dismissOutgoingGameInvitesResponse20012 = newValue} - } - /// Returns true if `dismissOutgoingGameInvitesResponse20012` has been explicitly set. - public var hasDismissOutgoingGameInvitesResponse20012: Bool {return _storage._dismissOutgoingGameInvitesResponse20012 != nil} - /// Clears the value of `dismissOutgoingGameInvitesResponse20012`. Subsequent reads from it will return its default value. - public mutating func clearDismissOutgoingGameInvitesResponse20012() {_uniqueStorage()._dismissOutgoingGameInvitesResponse20012 = nil} - - public var syncContactListResponse20013: SyncContactListResponse { - get {return _storage._syncContactListResponse20013 ?? SyncContactListResponse()} - set {_uniqueStorage()._syncContactListResponse20013 = newValue} - } - /// Returns true if `syncContactListResponse20013` has been explicitly set. - public var hasSyncContactListResponse20013: Bool {return _storage._syncContactListResponse20013 != nil} - /// Clears the value of `syncContactListResponse20013`. Subsequent reads from it will return its default value. - public mutating func clearSyncContactListResponse20013() {_uniqueStorage()._syncContactListResponse20013 = nil} - - public var sendContactListFriendInviteResponse20014: SendContactListFriendInviteResponse { - get {return _storage._sendContactListFriendInviteResponse20014 ?? SendContactListFriendInviteResponse()} - set {_uniqueStorage()._sendContactListFriendInviteResponse20014 = newValue} - } - /// Returns true if `sendContactListFriendInviteResponse20014` has been explicitly set. - public var hasSendContactListFriendInviteResponse20014: Bool {return _storage._sendContactListFriendInviteResponse20014 != nil} - /// Clears the value of `sendContactListFriendInviteResponse20014`. Subsequent reads from it will return its default value. - public mutating func clearSendContactListFriendInviteResponse20014() {_uniqueStorage()._sendContactListFriendInviteResponse20014 = nil} - - public var referContactListFriendresponse20015: ReferContactListFriendResponse { - get {return _storage._referContactListFriendresponse20015 ?? ReferContactListFriendResponse()} - set {_uniqueStorage()._referContactListFriendresponse20015 = newValue} - } - /// Returns true if `referContactListFriendresponse20015` has been explicitly set. - public var hasReferContactListFriendresponse20015: Bool {return _storage._referContactListFriendresponse20015 != nil} - /// Clears the value of `referContactListFriendresponse20015`. Subsequent reads from it will return its default value. - public mutating func clearReferContactListFriendresponse20015() {_uniqueStorage()._referContactListFriendresponse20015 = nil} - - public var getContactListInfoResponse20016: GetContactListInfoResponse { - get {return _storage._getContactListInfoResponse20016 ?? GetContactListInfoResponse()} - set {_uniqueStorage()._getContactListInfoResponse20016 = newValue} - } - /// Returns true if `getContactListInfoResponse20016` has been explicitly set. - public var hasGetContactListInfoResponse20016: Bool {return _storage._getContactListInfoResponse20016 != nil} - /// Clears the value of `getContactListInfoResponse20016`. Subsequent reads from it will return its default value. - public mutating func clearGetContactListInfoResponse20016() {_uniqueStorage()._getContactListInfoResponse20016 = nil} - - public var dismissContactListUpdateResponse20017: DismissContactListUpdateResponse { - get {return _storage._dismissContactListUpdateResponse20017 ?? DismissContactListUpdateResponse()} - set {_uniqueStorage()._dismissContactListUpdateResponse20017 = newValue} - } - /// Returns true if `dismissContactListUpdateResponse20017` has been explicitly set. - public var hasDismissContactListUpdateResponse20017: Bool {return _storage._dismissContactListUpdateResponse20017 != nil} - /// Clears the value of `dismissContactListUpdateResponse20017`. Subsequent reads from it will return its default value. - public mutating func clearDismissContactListUpdateResponse20017() {_uniqueStorage()._dismissContactListUpdateResponse20017 = nil} - - public var notifyContactListFriendsResponse20018: NotifyContactListFriendsResponse { - get {return _storage._notifyContactListFriendsResponse20018 ?? NotifyContactListFriendsResponse()} - set {_uniqueStorage()._notifyContactListFriendsResponse20018 = newValue} - } - /// Returns true if `notifyContactListFriendsResponse20018` has been explicitly set. - public var hasNotifyContactListFriendsResponse20018: Bool {return _storage._notifyContactListFriendsResponse20018 != nil} - /// Clears the value of `notifyContactListFriendsResponse20018`. Subsequent reads from it will return its default value. - public mutating func clearNotifyContactListFriendsResponse20018() {_uniqueStorage()._notifyContactListFriendsResponse20018 = nil} - - public var getFriendRecommendationResponse20500: GetFriendRecommendationResponse { - get {return _storage._getFriendRecommendationResponse20500 ?? GetFriendRecommendationResponse()} - set {_uniqueStorage()._getFriendRecommendationResponse20500 = newValue} - } - /// Returns true if `getFriendRecommendationResponse20500` has been explicitly set. - public var hasGetFriendRecommendationResponse20500: Bool {return _storage._getFriendRecommendationResponse20500 != nil} - /// Clears the value of `getFriendRecommendationResponse20500`. Subsequent reads from it will return its default value. - public mutating func clearGetFriendRecommendationResponse20500() {_uniqueStorage()._getFriendRecommendationResponse20500 = nil} - - public var registerBackgroundServiceresponseProto230000: RegisterBackgroundServiceResponseProto { - get {return _storage._registerBackgroundServiceresponseProto230000 ?? RegisterBackgroundServiceResponseProto()} - set {_uniqueStorage()._registerBackgroundServiceresponseProto230000 = newValue} - } - /// Returns true if `registerBackgroundServiceresponseProto230000` has been explicitly set. - public var hasRegisterBackgroundServiceresponseProto230000: Bool {return _storage._registerBackgroundServiceresponseProto230000 != nil} - /// Clears the value of `registerBackgroundServiceresponseProto230000`. Subsequent reads from it will return its default value. - public mutating func clearRegisterBackgroundServiceresponseProto230000() {_uniqueStorage()._registerBackgroundServiceresponseProto230000 = nil} + public var getgmapSettingsProto5036: GetGmapSettingsProto { + get {return _storage._getgmapSettingsProto5036 ?? GetGmapSettingsProto()} + set {_uniqueStorage()._getgmapSettingsProto5036 = newValue} + } + /// Returns true if `getgmapSettingsProto5036` has been explicitly set. + public var hasGetgmapSettingsProto5036: Bool {return _storage._getgmapSettingsProto5036 != nil} + /// Clears the value of `getgmapSettingsProto5036`. Subsequent reads from it will return its default value. + public mutating func clearGetgmapSettingsProto5036() {_uniqueStorage()._getgmapSettingsProto5036 = nil} - public var getAdventureSyncProgressOutProto230002: GetAdventureSyncProgressOutProto { - get {return _storage._getAdventureSyncProgressOutProto230002 ?? GetAdventureSyncProgressOutProto()} - set {_uniqueStorage()._getAdventureSyncProgressOutProto230002 = newValue} + public var getOutstandingWarningsRequestProto5039: GetOutstandingWarningsRequestProto { + get {return _storage._getOutstandingWarningsRequestProto5039 ?? GetOutstandingWarningsRequestProto()} + set {_uniqueStorage()._getOutstandingWarningsRequestProto5039 = newValue} } - /// Returns true if `getAdventureSyncProgressOutProto230002` has been explicitly set. - public var hasGetAdventureSyncProgressOutProto230002: Bool {return _storage._getAdventureSyncProgressOutProto230002 != nil} - /// Clears the value of `getAdventureSyncProgressOutProto230002`. Subsequent reads from it will return its default value. - public mutating func clearGetAdventureSyncProgressOutProto230002() {_uniqueStorage()._getAdventureSyncProgressOutProto230002 = nil} + /// Returns true if `getOutstandingWarningsRequestProto5039` has been explicitly set. + public var hasGetOutstandingWarningsRequestProto5039: Bool {return _storage._getOutstandingWarningsRequestProto5039 != nil} + /// Clears the value of `getOutstandingWarningsRequestProto5039`. Subsequent reads from it will return its default value. + public mutating func clearGetOutstandingWarningsRequestProto5039() {_uniqueStorage()._getOutstandingWarningsRequestProto5039 = nil} - public var purchaseSkuOutproto310000: PurchaseSkuOutProto { - get {return _storage._purchaseSkuOutproto310000 ?? PurchaseSkuOutProto()} - set {_uniqueStorage()._purchaseSkuOutproto310000 = newValue} + public var acknowledgeWarningsRequestProto5040: AcknowledgeWarningsRequestProto { + get {return _storage._acknowledgeWarningsRequestProto5040 ?? AcknowledgeWarningsRequestProto()} + set {_uniqueStorage()._acknowledgeWarningsRequestProto5040 = newValue} } - /// Returns true if `purchaseSkuOutproto310000` has been explicitly set. - public var hasPurchaseSkuOutproto310000: Bool {return _storage._purchaseSkuOutproto310000 != nil} - /// Clears the value of `purchaseSkuOutproto310000`. Subsequent reads from it will return its default value. - public mutating func clearPurchaseSkuOutproto310000() {_uniqueStorage()._purchaseSkuOutproto310000 = nil} + /// Returns true if `acknowledgeWarningsRequestProto5040` has been explicitly set. + public var hasAcknowledgeWarningsRequestProto5040: Bool {return _storage._acknowledgeWarningsRequestProto5040 != nil} + /// Clears the value of `acknowledgeWarningsRequestProto5040`. Subsequent reads from it will return its default value. + public mutating func clearAcknowledgeWarningsRequestProto5040() {_uniqueStorage()._acknowledgeWarningsRequestProto5040 = nil} - public var getAvailableSkusAndBalancesOutProto310001: GetAvailableSkusAndBalancesOutProto { - get {return _storage._getAvailableSkusAndBalancesOutProto310001 ?? GetAvailableSkusAndBalancesOutProto()} - set {_uniqueStorage()._getAvailableSkusAndBalancesOutProto310001 = newValue} + public var getWebTokenProto5045: GetWebTokenProto { + get {return _storage._getWebTokenProto5045 ?? GetWebTokenProto()} + set {_uniqueStorage()._getWebTokenProto5045 = newValue} } - /// Returns true if `getAvailableSkusAndBalancesOutProto310001` has been explicitly set. - public var hasGetAvailableSkusAndBalancesOutProto310001: Bool {return _storage._getAvailableSkusAndBalancesOutProto310001 != nil} - /// Clears the value of `getAvailableSkusAndBalancesOutProto310001`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSkusAndBalancesOutProto310001() {_uniqueStorage()._getAvailableSkusAndBalancesOutProto310001 = nil} + /// Returns true if `getWebTokenProto5045` has been explicitly set. + public var hasGetWebTokenProto5045: Bool {return _storage._getWebTokenProto5045 != nil} + /// Clears the value of `getWebTokenProto5045`. Subsequent reads from it will return its default value. + public mutating func clearGetWebTokenProto5045() {_uniqueStorage()._getWebTokenProto5045 = nil} - public var setInGameCurrencyExchangeRateOutProto310002: SetInGameCurrencyExchangeRateOutProto { - get {return _storage._setInGameCurrencyExchangeRateOutProto310002 ?? SetInGameCurrencyExchangeRateOutProto()} - set {_uniqueStorage()._setInGameCurrencyExchangeRateOutProto310002 = newValue} + public var getAdventureSyncSettingsRequestProto5046: GetAdventureSyncSettingsRequestProto { + get {return _storage._getAdventureSyncSettingsRequestProto5046 ?? GetAdventureSyncSettingsRequestProto()} + set {_uniqueStorage()._getAdventureSyncSettingsRequestProto5046 = newValue} } - /// Returns true if `setInGameCurrencyExchangeRateOutProto310002` has been explicitly set. - public var hasSetInGameCurrencyExchangeRateOutProto310002: Bool {return _storage._setInGameCurrencyExchangeRateOutProto310002 != nil} - /// Clears the value of `setInGameCurrencyExchangeRateOutProto310002`. Subsequent reads from it will return its default value. - public mutating func clearSetInGameCurrencyExchangeRateOutProto310002() {_uniqueStorage()._setInGameCurrencyExchangeRateOutProto310002 = nil} + /// Returns true if `getAdventureSyncSettingsRequestProto5046` has been explicitly set. + public var hasGetAdventureSyncSettingsRequestProto5046: Bool {return _storage._getAdventureSyncSettingsRequestProto5046 != nil} + /// Clears the value of `getAdventureSyncSettingsRequestProto5046`. Subsequent reads from it will return its default value. + public mutating func clearGetAdventureSyncSettingsRequestProto5046() {_uniqueStorage()._getAdventureSyncSettingsRequestProto5046 = nil} - public var redeemGooglereceiptOutProto310100: RedeemGoogleReceiptOutProto { - get {return _storage._redeemGooglereceiptOutProto310100 ?? RedeemGoogleReceiptOutProto()} - set {_uniqueStorage()._redeemGooglereceiptOutProto310100 = newValue} + public var updateAdventureSyncSettingsRequestProto5047: UpdateAdventureSyncSettingsRequestProto { + get {return _storage._updateAdventureSyncSettingsRequestProto5047 ?? UpdateAdventureSyncSettingsRequestProto()} + set {_uniqueStorage()._updateAdventureSyncSettingsRequestProto5047 = newValue} } - /// Returns true if `redeemGooglereceiptOutProto310100` has been explicitly set. - public var hasRedeemGooglereceiptOutProto310100: Bool {return _storage._redeemGooglereceiptOutProto310100 != nil} - /// Clears the value of `redeemGooglereceiptOutProto310100`. Subsequent reads from it will return its default value. - public mutating func clearRedeemGooglereceiptOutProto310100() {_uniqueStorage()._redeemGooglereceiptOutProto310100 = nil} + /// Returns true if `updateAdventureSyncSettingsRequestProto5047` has been explicitly set. + public var hasUpdateAdventureSyncSettingsRequestProto5047: Bool {return _storage._updateAdventureSyncSettingsRequestProto5047 != nil} + /// Clears the value of `updateAdventureSyncSettingsRequestProto5047`. Subsequent reads from it will return its default value. + public mutating func clearUpdateAdventureSyncSettingsRequestProto5047() {_uniqueStorage()._updateAdventureSyncSettingsRequestProto5047 = nil} - public var redeemApplereceiptOutProto310101: RedeemAppleReceiptOutProto { - get {return _storage._redeemApplereceiptOutProto310101 ?? RedeemAppleReceiptOutProto()} - set {_uniqueStorage()._redeemApplereceiptOutProto310101 = newValue} + public var setBirthdayRequestProto5048: SetBirthdayRequestProto { + get {return _storage._setBirthdayRequestProto5048 ?? SetBirthdayRequestProto()} + set {_uniqueStorage()._setBirthdayRequestProto5048 = newValue} } - /// Returns true if `redeemApplereceiptOutProto310101` has been explicitly set. - public var hasRedeemApplereceiptOutProto310101: Bool {return _storage._redeemApplereceiptOutProto310101 != nil} - /// Clears the value of `redeemApplereceiptOutProto310101`. Subsequent reads from it will return its default value. - public mutating func clearRedeemApplereceiptOutProto310101() {_uniqueStorage()._redeemApplereceiptOutProto310101 = nil} + /// Returns true if `setBirthdayRequestProto5048` has been explicitly set. + public var hasSetBirthdayRequestProto5048: Bool {return _storage._setBirthdayRequestProto5048 != nil} + /// Clears the value of `setBirthdayRequestProto5048`. Subsequent reads from it will return its default value. + public mutating func clearSetBirthdayRequestProto5048() {_uniqueStorage()._setBirthdayRequestProto5048 = nil} - public var redeemDesktopreceiptOutProto310102: RedeemDesktopReceiptOutProto { - get {return _storage._redeemDesktopreceiptOutProto310102 ?? RedeemDesktopReceiptOutProto()} - set {_uniqueStorage()._redeemDesktopreceiptOutProto310102 = newValue} + public var savesocialPlayersettingsProto10016: SaveSocialPlayerSettingsProto { + get {return _storage._savesocialPlayersettingsProto10016 ?? SaveSocialPlayerSettingsProto()} + set {_uniqueStorage()._savesocialPlayersettingsProto10016 = newValue} } - /// Returns true if `redeemDesktopreceiptOutProto310102` has been explicitly set. - public var hasRedeemDesktopreceiptOutProto310102: Bool {return _storage._redeemDesktopreceiptOutProto310102 != nil} - /// Clears the value of `redeemDesktopreceiptOutProto310102`. Subsequent reads from it will return its default value. - public mutating func clearRedeemDesktopreceiptOutProto310102() {_uniqueStorage()._redeemDesktopreceiptOutProto310102 = nil} + /// Returns true if `savesocialPlayersettingsProto10016` has been explicitly set. + public var hasSavesocialPlayersettingsProto10016: Bool {return _storage._savesocialPlayersettingsProto10016 != nil} + /// Clears the value of `savesocialPlayersettingsProto10016`. Subsequent reads from it will return its default value. + public mutating func clearSavesocialPlayersettingsProto10016() {_uniqueStorage()._savesocialPlayersettingsProto10016 = nil} - public var redeemSamsungreceiptOutProto310103: RedeemSamsungReceiptOutProto { - get {return _storage._redeemSamsungreceiptOutProto310103 ?? RedeemSamsungReceiptOutProto()} - set {_uniqueStorage()._redeemSamsungreceiptOutProto310103 = newValue} + public var pushNotificationRegistryproto10101: PushNotificationRegistryProto { + get {return _storage._pushNotificationRegistryproto10101 ?? PushNotificationRegistryProto()} + set {_uniqueStorage()._pushNotificationRegistryproto10101 = newValue} } - /// Returns true if `redeemSamsungreceiptOutProto310103` has been explicitly set. - public var hasRedeemSamsungreceiptOutProto310103: Bool {return _storage._redeemSamsungreceiptOutProto310103 != nil} - /// Clears the value of `redeemSamsungreceiptOutProto310103`. Subsequent reads from it will return its default value. - public mutating func clearRedeemSamsungreceiptOutProto310103() {_uniqueStorage()._redeemSamsungreceiptOutProto310103 = nil} + /// Returns true if `pushNotificationRegistryproto10101` has been explicitly set. + public var hasPushNotificationRegistryproto10101: Bool {return _storage._pushNotificationRegistryproto10101 != nil} + /// Clears the value of `pushNotificationRegistryproto10101`. Subsequent reads from it will return its default value. + public mutating func clearPushNotificationRegistryproto10101() {_uniqueStorage()._pushNotificationRegistryproto10101 = nil} - public var getAvailableSubscriptionsResponseProto310200: GetAvailableSubscriptionsResponseProto { - get {return _storage._getAvailableSubscriptionsResponseProto310200 ?? GetAvailableSubscriptionsResponseProto()} - set {_uniqueStorage()._getAvailableSubscriptionsResponseProto310200 = newValue} + public var updateNotificationProto10103: UpdateNotificationProto { + get {return _storage._updateNotificationProto10103 ?? UpdateNotificationProto()} + set {_uniqueStorage()._updateNotificationProto10103 = newValue} } - /// Returns true if `getAvailableSubscriptionsResponseProto310200` has been explicitly set. - public var hasGetAvailableSubscriptionsResponseProto310200: Bool {return _storage._getAvailableSubscriptionsResponseProto310200 != nil} - /// Clears the value of `getAvailableSubscriptionsResponseProto310200`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSubscriptionsResponseProto310200() {_uniqueStorage()._getAvailableSubscriptionsResponseProto310200 = nil} + /// Returns true if `updateNotificationProto10103` has been explicitly set. + public var hasUpdateNotificationProto10103: Bool {return _storage._updateNotificationProto10103 != nil} + /// Clears the value of `updateNotificationProto10103`. Subsequent reads from it will return its default value. + public mutating func clearUpdateNotificationProto10103() {_uniqueStorage()._updateNotificationProto10103 = nil} - public var getActiveSubscriptionsResponseProto310201: GetActiveSubscriptionsResponseProto { - get {return _storage._getActiveSubscriptionsResponseProto310201 ?? GetActiveSubscriptionsResponseProto()} - set {_uniqueStorage()._getActiveSubscriptionsResponseProto310201 = newValue} + public var getOutstandingWarningsRequestProto200000: GetOutstandingWarningsRequestProto { + get {return _storage._getOutstandingWarningsRequestProto200000 ?? GetOutstandingWarningsRequestProto()} + set {_uniqueStorage()._getOutstandingWarningsRequestProto200000 = newValue} } - /// Returns true if `getActiveSubscriptionsResponseProto310201` has been explicitly set. - public var hasGetActiveSubscriptionsResponseProto310201: Bool {return _storage._getActiveSubscriptionsResponseProto310201 != nil} - /// Clears the value of `getActiveSubscriptionsResponseProto310201`. Subsequent reads from it will return its default value. - public mutating func clearGetActiveSubscriptionsResponseProto310201() {_uniqueStorage()._getActiveSubscriptionsResponseProto310201 = nil} + /// Returns true if `getOutstandingWarningsRequestProto200000` has been explicitly set. + public var hasGetOutstandingWarningsRequestProto200000: Bool {return _storage._getOutstandingWarningsRequestProto200000 != nil} + /// Clears the value of `getOutstandingWarningsRequestProto200000`. Subsequent reads from it will return its default value. + public mutating func clearGetOutstandingWarningsRequestProto200000() {_uniqueStorage()._getOutstandingWarningsRequestProto200000 = nil} - public var geofenceUpdateOutProto360000: GeofenceUpdateOutProto { - get {return _storage._geofenceUpdateOutProto360000 ?? GeofenceUpdateOutProto()} - set {_uniqueStorage()._geofenceUpdateOutProto360000 = newValue} + public var acknowledgeWarningsRequestProto200001: AcknowledgeWarningsRequestProto { + get {return _storage._acknowledgeWarningsRequestProto200001 ?? AcknowledgeWarningsRequestProto()} + set {_uniqueStorage()._acknowledgeWarningsRequestProto200001 = newValue} } - /// Returns true if `geofenceUpdateOutProto360000` has been explicitly set. - public var hasGeofenceUpdateOutProto360000: Bool {return _storage._geofenceUpdateOutProto360000 != nil} - /// Clears the value of `geofenceUpdateOutProto360000`. Subsequent reads from it will return its default value. - public mutating func clearGeofenceUpdateOutProto360000() {_uniqueStorage()._geofenceUpdateOutProto360000 = nil} + /// Returns true if `acknowledgeWarningsRequestProto200001` has been explicitly set. + public var hasAcknowledgeWarningsRequestProto200001: Bool {return _storage._acknowledgeWarningsRequestProto200001 != nil} + /// Clears the value of `acknowledgeWarningsRequestProto200001`. Subsequent reads from it will return its default value. + public mutating func clearAcknowledgeWarningsRequestProto200001() {_uniqueStorage()._acknowledgeWarningsRequestProto200001 = nil} - public var locationPingOutProto360001: LocationPingOutProto { - get {return _storage._locationPingOutProto360001 ?? LocationPingOutProto()} - set {_uniqueStorage()._locationPingOutProto360001 = newValue} + public var getAdventureSyncProgressProto230002: GetAdventureSyncProgressProto { + get {return _storage._getAdventureSyncProgressProto230002 ?? GetAdventureSyncProgressProto()} + set {_uniqueStorage()._getAdventureSyncProgressProto230002 = newValue} } - /// Returns true if `locationPingOutProto360001` has been explicitly set. - public var hasLocationPingOutProto360001: Bool {return _storage._locationPingOutProto360001 != nil} - /// Clears the value of `locationPingOutProto360001`. Subsequent reads from it will return its default value. - public mutating func clearLocationPingOutProto360001() {_uniqueStorage()._locationPingOutProto360001 = nil} + /// Returns true if `getAdventureSyncProgressProto230002` has been explicitly set. + public var hasGetAdventureSyncProgressProto230002: Bool {return _storage._getAdventureSyncProgressProto230002 != nil} + /// Clears the value of `getAdventureSyncProgressProto230002`. Subsequent reads from it will return its default value. + public mutating func clearGetAdventureSyncProgressProto230002() {_uniqueStorage()._getAdventureSyncProgressProto230002 = nil} - public var updateBreadcrumbHistoryResponseProto361000: UpdateBreadcrumbHistoryResponseProto { - get {return _storage._updateBreadcrumbHistoryResponseProto361000 ?? UpdateBreadcrumbHistoryResponseProto()} - set {_uniqueStorage()._updateBreadcrumbHistoryResponseProto361000 = newValue} + public var setInGameCurrencyExchangeRateProto310002: SetInGameCurrencyExchangeRateProto { + get {return _storage._setInGameCurrencyExchangeRateProto310002 ?? SetInGameCurrencyExchangeRateProto()} + set {_uniqueStorage()._setInGameCurrencyExchangeRateProto310002 = newValue} } - /// Returns true if `updateBreadcrumbHistoryResponseProto361000` has been explicitly set. - public var hasUpdateBreadcrumbHistoryResponseProto361000: Bool {return _storage._updateBreadcrumbHistoryResponseProto361000 != nil} - /// Clears the value of `updateBreadcrumbHistoryResponseProto361000`. Subsequent reads from it will return its default value. - public mutating func clearUpdateBreadcrumbHistoryResponseProto361000() {_uniqueStorage()._updateBreadcrumbHistoryResponseProto361000 = nil} + /// Returns true if `setInGameCurrencyExchangeRateProto310002` has been explicitly set. + public var hasSetInGameCurrencyExchangeRateProto310002: Bool {return _storage._setInGameCurrencyExchangeRateProto310002 != nil} + /// Clears the value of `setInGameCurrencyExchangeRateProto310002`. Subsequent reads from it will return its default value. + public mutating func clearSetInGameCurrencyExchangeRateProto310002() {_uniqueStorage()._setInGameCurrencyExchangeRateProto310002 = nil} - public var refreshProximityTokensresponseProto362000: RefreshProximityTokensResponseProto { - get {return _storage._refreshProximityTokensresponseProto362000 ?? RefreshProximityTokensResponseProto()} - set {_uniqueStorage()._refreshProximityTokensresponseProto362000 = newValue} + public var geofenceUpdateProto360000: GeofenceUpdateProto { + get {return _storage._geofenceUpdateProto360000 ?? GeofenceUpdateProto()} + set {_uniqueStorage()._geofenceUpdateProto360000 = newValue} } - /// Returns true if `refreshProximityTokensresponseProto362000` has been explicitly set. - public var hasRefreshProximityTokensresponseProto362000: Bool {return _storage._refreshProximityTokensresponseProto362000 != nil} - /// Clears the value of `refreshProximityTokensresponseProto362000`. Subsequent reads from it will return its default value. - public mutating func clearRefreshProximityTokensresponseProto362000() {_uniqueStorage()._refreshProximityTokensresponseProto362000 = nil} + /// Returns true if `geofenceUpdateProto360000` has been explicitly set. + public var hasGeofenceUpdateProto360000: Bool {return _storage._geofenceUpdateProto360000 != nil} + /// Clears the value of `geofenceUpdateProto360000`. Subsequent reads from it will return its default value. + public mutating func clearGeofenceUpdateProto360000() {_uniqueStorage()._geofenceUpdateProto360000 = nil} - public var reportProximityContactsresponseProto362001: ReportProximityContactsResponseProto { - get {return _storage._reportProximityContactsresponseProto362001 ?? ReportProximityContactsResponseProto()} - set {_uniqueStorage()._reportProximityContactsresponseProto362001 = newValue} + public var locationPingProto360001: LocationPingProto { + get {return _storage._locationPingProto360001 ?? LocationPingProto()} + set {_uniqueStorage()._locationPingProto360001 = newValue} } - /// Returns true if `reportProximityContactsresponseProto362001` has been explicitly set. - public var hasReportProximityContactsresponseProto362001: Bool {return _storage._reportProximityContactsresponseProto362001 != nil} - /// Clears the value of `reportProximityContactsresponseProto362001`. Subsequent reads from it will return its default value. - public mutating func clearReportProximityContactsresponseProto362001() {_uniqueStorage()._reportProximityContactsresponseProto362001 = nil} + /// Returns true if `locationPingProto360001` has been explicitly set. + public var hasLocationPingProto360001: Bool {return _storage._locationPingProto360001 != nil} + /// Clears the value of `locationPingProto360001`. Subsequent reads from it will return its default value. + public mutating func clearLocationPingProto360001() {_uniqueStorage()._locationPingProto360001 = nil} - public var getgameAccessTokenOutProto600005: GetGameAccessTokenOutProto { - get {return _storage._getgameAccessTokenOutProto600005 ?? GetGameAccessTokenOutProto()} - set {_uniqueStorage()._getgameAccessTokenOutProto600005 = newValue} + public var updateBreadcrumbHistoryRequestProto361000: UpdateBreadcrumbHistoryRequestProto { + get {return _storage._updateBreadcrumbHistoryRequestProto361000 ?? UpdateBreadcrumbHistoryRequestProto()} + set {_uniqueStorage()._updateBreadcrumbHistoryRequestProto361000 = newValue} } - /// Returns true if `getgameAccessTokenOutProto600005` has been explicitly set. - public var hasGetgameAccessTokenOutProto600005: Bool {return _storage._getgameAccessTokenOutProto600005 != nil} - /// Clears the value of `getgameAccessTokenOutProto600005`. Subsequent reads from it will return its default value. - public mutating func clearGetgameAccessTokenOutProto600005() {_uniqueStorage()._getgameAccessTokenOutProto600005 = nil} + /// Returns true if `updateBreadcrumbHistoryRequestProto361000` has been explicitly set. + public var hasUpdateBreadcrumbHistoryRequestProto361000: Bool {return _storage._updateBreadcrumbHistoryRequestProto361000 != nil} + /// Clears the value of `updateBreadcrumbHistoryRequestProto361000`. Subsequent reads from it will return its default value. + public mutating func clearUpdateBreadcrumbHistoryRequestProto361000() {_uniqueStorage()._updateBreadcrumbHistoryRequestProto361000 = nil} - public var submitNewPoiOutProto620000: SubmitNewPoiOutProto { - get {return _storage._submitNewPoiOutProto620000 ?? SubmitNewPoiOutProto()} - set {_uniqueStorage()._submitNewPoiOutProto620000 = newValue} + public var refreshProximityTokensrequestProto362000: RefreshProximityTokensRequestProto { + get {return _storage._refreshProximityTokensrequestProto362000 ?? RefreshProximityTokensRequestProto()} + set {_uniqueStorage()._refreshProximityTokensrequestProto362000 = newValue} } - /// Returns true if `submitNewPoiOutProto620000` has been explicitly set. - public var hasSubmitNewPoiOutProto620000: Bool {return _storage._submitNewPoiOutProto620000 != nil} - /// Clears the value of `submitNewPoiOutProto620000`. Subsequent reads from it will return its default value. - public mutating func clearSubmitNewPoiOutProto620000() {_uniqueStorage()._submitNewPoiOutProto620000 = nil} + /// Returns true if `refreshProximityTokensrequestProto362000` has been explicitly set. + public var hasRefreshProximityTokensrequestProto362000: Bool {return _storage._refreshProximityTokensrequestProto362000 != nil} + /// Clears the value of `refreshProximityTokensrequestProto362000`. Subsequent reads from it will return its default value. + public mutating func clearRefreshProximityTokensrequestProto362000() {_uniqueStorage()._refreshProximityTokensrequestProto362000 = nil} - public var getAvailableSubmissionsOutProto620001: GetAvailableSubmissionsOutProto { - get {return _storage._getAvailableSubmissionsOutProto620001 ?? GetAvailableSubmissionsOutProto()} - set {_uniqueStorage()._getAvailableSubmissionsOutProto620001 = newValue} + public var reportProximityContactsrequestProto362001: ReportProximityContactsRequestProto { + get {return _storage._reportProximityContactsrequestProto362001 ?? ReportProximityContactsRequestProto()} + set {_uniqueStorage()._reportProximityContactsrequestProto362001 = newValue} } - /// Returns true if `getAvailableSubmissionsOutProto620001` has been explicitly set. - public var hasGetAvailableSubmissionsOutProto620001: Bool {return _storage._getAvailableSubmissionsOutProto620001 != nil} - /// Clears the value of `getAvailableSubmissionsOutProto620001`. Subsequent reads from it will return its default value. - public mutating func clearGetAvailableSubmissionsOutProto620001() {_uniqueStorage()._getAvailableSubmissionsOutProto620001 = nil} + /// Returns true if `reportProximityContactsrequestProto362001` has been explicitly set. + public var hasReportProximityContactsrequestProto362001: Bool {return _storage._reportProximityContactsrequestProto362001 != nil} + /// Clears the value of `reportProximityContactsrequestProto362001`. Subsequent reads from it will return its default value. + public mutating func clearReportProximityContactsrequestProto362001() {_uniqueStorage()._reportProximityContactsrequestProto362001 = nil} - public var getPlayerSubmissionValidationSettingsOutProto620003: GetPlayerSubmissionValidationSettingsOutProto { - get {return _storage._getPlayerSubmissionValidationSettingsOutProto620003 ?? GetPlayerSubmissionValidationSettingsOutProto()} - set {_uniqueStorage()._getPlayerSubmissionValidationSettingsOutProto620003 = newValue} + public var submitNewPoiProto620000: SubmitNewPoiProto { + get {return _storage._submitNewPoiProto620000 ?? SubmitNewPoiProto()} + set {_uniqueStorage()._submitNewPoiProto620000 = newValue} } - /// Returns true if `getPlayerSubmissionValidationSettingsOutProto620003` has been explicitly set. - public var hasGetPlayerSubmissionValidationSettingsOutProto620003: Bool {return _storage._getPlayerSubmissionValidationSettingsOutProto620003 != nil} - /// Clears the value of `getPlayerSubmissionValidationSettingsOutProto620003`. Subsequent reads from it will return its default value. - public mutating func clearGetPlayerSubmissionValidationSettingsOutProto620003() {_uniqueStorage()._getPlayerSubmissionValidationSettingsOutProto620003 = nil} + /// Returns true if `submitNewPoiProto620000` has been explicitly set. + public var hasSubmitNewPoiProto620000: Bool {return _storage._submitNewPoiProto620000 != nil} + /// Clears the value of `submitNewPoiProto620000`. Subsequent reads from it will return its default value. + public mutating func clearSubmitNewPoiProto620000() {_uniqueStorage()._submitNewPoiProto620000 = nil} - public var generategmapSignedURLOutProto620300: GenerateGmapSignedUrlOutProto { - get {return _storage._generategmapSignedURLOutProto620300 ?? GenerateGmapSignedUrlOutProto()} - set {_uniqueStorage()._generategmapSignedURLOutProto620300 = newValue} + public var getAvailableSubmissionsProto620001: GetAvailableSubmissionsProto { + get {return _storage._getAvailableSubmissionsProto620001 ?? GetAvailableSubmissionsProto()} + set {_uniqueStorage()._getAvailableSubmissionsProto620001 = newValue} } - /// Returns true if `generategmapSignedURLOutProto620300` has been explicitly set. - public var hasGenerategmapSignedURLOutProto620300: Bool {return _storage._generategmapSignedURLOutProto620300 != nil} - /// Clears the value of `generategmapSignedURLOutProto620300`. Subsequent reads from it will return its default value. - public mutating func clearGenerategmapSignedURLOutProto620300() {_uniqueStorage()._generategmapSignedURLOutProto620300 = nil} + /// Returns true if `getAvailableSubmissionsProto620001` has been explicitly set. + public var hasGetAvailableSubmissionsProto620001: Bool {return _storage._getAvailableSubmissionsProto620001 != nil} + /// Clears the value of `getAvailableSubmissionsProto620001`. Subsequent reads from it will return its default value. + public mutating func clearGetAvailableSubmissionsProto620001() {_uniqueStorage()._getAvailableSubmissionsProto620001 = nil} - public var getgmapSettingsOutProto620301: GetGmapSettingsOutProto { - get {return _storage._getgmapSettingsOutProto620301 ?? GetGmapSettingsOutProto()} - set {_uniqueStorage()._getgmapSettingsOutProto620301 = newValue} + public var generategmapSignedURLProto620300: GenerateGmapSignedUrlProto { + get {return _storage._generategmapSignedURLProto620300 ?? GenerateGmapSignedUrlProto()} + set {_uniqueStorage()._generategmapSignedURLProto620300 = newValue} } - /// Returns true if `getgmapSettingsOutProto620301` has been explicitly set. - public var hasGetgmapSettingsOutProto620301: Bool {return _storage._getgmapSettingsOutProto620301 != nil} - /// Clears the value of `getgmapSettingsOutProto620301`. Subsequent reads from it will return its default value. - public mutating func clearGetgmapSettingsOutProto620301() {_uniqueStorage()._getgmapSettingsOutProto620301 = nil} + /// Returns true if `generategmapSignedURLProto620300` has been explicitly set. + public var hasGenerategmapSignedURLProto620300: Bool {return _storage._generategmapSignedURLProto620300 != nil} + /// Clears the value of `generategmapSignedURLProto620300`. Subsequent reads from it will return its default value. + public mutating func clearGenerategmapSignedURLProto620300() {_uniqueStorage()._generategmapSignedURLProto620300 = nil} - public var getgrapeshotUploadURLOutProto620401: GetGrapeshotUploadUrlOutProto { - get {return _storage._getgrapeshotUploadURLOutProto620401 ?? GetGrapeshotUploadUrlOutProto()} - set {_uniqueStorage()._getgrapeshotUploadURLOutProto620401 = newValue} - } - /// Returns true if `getgrapeshotUploadURLOutProto620401` has been explicitly set. - public var hasGetgrapeshotUploadURLOutProto620401: Bool {return _storage._getgrapeshotUploadURLOutProto620401 != nil} - /// Clears the value of `getgrapeshotUploadURLOutProto620401`. Subsequent reads from it will return its default value. - public mutating func clearGetgrapeshotUploadURLOutProto620401() {_uniqueStorage()._getgrapeshotUploadURLOutProto620401 = nil} - - public var asyncFileUploadCompleteOutProto620402: AsyncFileUploadCompleteOutProto { - get {return _storage._asyncFileUploadCompleteOutProto620402 ?? AsyncFileUploadCompleteOutProto()} - set {_uniqueStorage()._asyncFileUploadCompleteOutProto620402 = newValue} - } - /// Returns true if `asyncFileUploadCompleteOutProto620402` has been explicitly set. - public var hasAsyncFileUploadCompleteOutProto620402: Bool {return _storage._asyncFileUploadCompleteOutProto620402 != nil} - /// Clears the value of `asyncFileUploadCompleteOutProto620402`. Subsequent reads from it will return its default value. - public mutating func clearAsyncFileUploadCompleteOutProto620402() {_uniqueStorage()._asyncFileUploadCompleteOutProto620402 = nil} - - public var getARMappingSettingsOutProto620403: GetARMappingSettingsOutProto { - get {return _storage._getARMappingSettingsOutProto620403 ?? GetARMappingSettingsOutProto()} - set {_uniqueStorage()._getARMappingSettingsOutProto620403 = newValue} - } - /// Returns true if `getARMappingSettingsOutProto620403` has been explicitly set. - public var hasGetARMappingSettingsOutProto620403: Bool {return _storage._getARMappingSettingsOutProto620403 != nil} - /// Clears the value of `getARMappingSettingsOutProto620403`. Subsequent reads from it will return its default value. - public mutating func clearGetARMappingSettingsOutProto620403() {_uniqueStorage()._getARMappingSettingsOutProto620403 = nil} - - public var getImagesForPoiOutProto620500: GetImagesForPoiOutProto { - get {return _storage._getImagesForPoiOutProto620500 ?? GetImagesForPoiOutProto()} - set {_uniqueStorage()._getImagesForPoiOutProto620500 = newValue} - } - /// Returns true if `getImagesForPoiOutProto620500` has been explicitly set. - public var hasGetImagesForPoiOutProto620500: Bool {return _storage._getImagesForPoiOutProto620500 != nil} - /// Clears the value of `getImagesForPoiOutProto620500`. Subsequent reads from it will return its default value. - public mutating func clearGetImagesForPoiOutProto620500() {_uniqueStorage()._getImagesForPoiOutProto620500 = nil} - - public var submitPlayerImageVoteForPoiOutProto620501: SubmitPlayerImageVoteForPoiOutProto { - get {return _storage._submitPlayerImageVoteForPoiOutProto620501 ?? SubmitPlayerImageVoteForPoiOutProto()} - set {_uniqueStorage()._submitPlayerImageVoteForPoiOutProto620501 = newValue} - } - /// Returns true if `submitPlayerImageVoteForPoiOutProto620501` has been explicitly set. - public var hasSubmitPlayerImageVoteForPoiOutProto620501: Bool {return _storage._submitPlayerImageVoteForPoiOutProto620501 != nil} - /// Clears the value of `submitPlayerImageVoteForPoiOutProto620501`. Subsequent reads from it will return its default value. - public mutating func clearSubmitPlayerImageVoteForPoiOutProto620501() {_uniqueStorage()._submitPlayerImageVoteForPoiOutProto620501 = nil} - - public var getImagegallerySettingsOutProto620502: GetImageGallerySettingsOutProto { - get {return _storage._getImagegallerySettingsOutProto620502 ?? GetImageGallerySettingsOutProto()} - set {_uniqueStorage()._getImagegallerySettingsOutProto620502 = newValue} - } - /// Returns true if `getImagegallerySettingsOutProto620502` has been explicitly set. - public var hasGetImagegallerySettingsOutProto620502: Bool {return _storage._getImagegallerySettingsOutProto620502 != nil} - /// Clears the value of `getImagegallerySettingsOutProto620502`. Subsequent reads from it will return its default value. - public mutating func clearGetImagegallerySettingsOutProto620502() {_uniqueStorage()._getImagegallerySettingsOutProto620502 = nil} - - public var getMapDataOutProto620600: GetMapDataOutProto { - get {return _storage._getMapDataOutProto620600 ?? GetMapDataOutProto()} - set {_uniqueStorage()._getMapDataOutProto620600 = newValue} - } - /// Returns true if `getMapDataOutProto620600` has been explicitly set. - public var hasGetMapDataOutProto620600: Bool {return _storage._getMapDataOutProto620600 != nil} - /// Clears the value of `getMapDataOutProto620600`. Subsequent reads from it will return its default value. - public mutating func clearGetMapDataOutProto620600() {_uniqueStorage()._getMapDataOutProto620600 = nil} - - public var getPoisInRadiusOutProto620601: GetPoisInRadiusOutProto { - get {return _storage._getPoisInRadiusOutProto620601 ?? GetPoisInRadiusOutProto()} - set {_uniqueStorage()._getPoisInRadiusOutProto620601 = newValue} - } - /// Returns true if `getPoisInRadiusOutProto620601` has been explicitly set. - public var hasGetPoisInRadiusOutProto620601: Bool {return _storage._getPoisInRadiusOutProto620601 != nil} - /// Clears the value of `getPoisInRadiusOutProto620601`. Subsequent reads from it will return its default value. - public mutating func clearGetPoisInRadiusOutProto620601() {_uniqueStorage()._getPoisInRadiusOutProto620601 = nil} + public var getgmapSettingsProto620301: GetGmapSettingsProto { + get {return _storage._getgmapSettingsProto620301 ?? GetGmapSettingsProto()} + set {_uniqueStorage()._getgmapSettingsProto620301 = newValue} + } + /// Returns true if `getgmapSettingsProto620301` has been explicitly set. + public var hasGetgmapSettingsProto620301: Bool {return _storage._getgmapSettingsProto620301 != nil} + /// Clears the value of `getgmapSettingsProto620301`. Subsequent reads from it will return its default value. + public mutating func clearGetgmapSettingsProto620301() {_uniqueStorage()._getgmapSettingsProto620301 = nil} - public var fitnessUpdateOutProto640000: FitnessUpdateOutProto { - get {return _storage._fitnessUpdateOutProto640000 ?? FitnessUpdateOutProto()} - set {_uniqueStorage()._fitnessUpdateOutProto640000 = newValue} + public var fitnessUpdateProto640000: FitnessUpdateProto { + get {return _storage._fitnessUpdateProto640000 ?? FitnessUpdateProto()} + set {_uniqueStorage()._fitnessUpdateProto640000 = newValue} } - /// Returns true if `fitnessUpdateOutProto640000` has been explicitly set. - public var hasFitnessUpdateOutProto640000: Bool {return _storage._fitnessUpdateOutProto640000 != nil} - /// Clears the value of `fitnessUpdateOutProto640000`. Subsequent reads from it will return its default value. - public mutating func clearFitnessUpdateOutProto640000() {_uniqueStorage()._fitnessUpdateOutProto640000 = nil} + /// Returns true if `fitnessUpdateProto640000` has been explicitly set. + public var hasFitnessUpdateProto640000: Bool {return _storage._fitnessUpdateProto640000 != nil} + /// Clears the value of `fitnessUpdateProto640000`. Subsequent reads from it will return its default value. + public mutating func clearFitnessUpdateProto640000() {_uniqueStorage()._fitnessUpdateProto640000 = nil} - public var getFitnessReportOutProto640001: GetFitnessReportOutProto { - get {return _storage._getFitnessReportOutProto640001 ?? GetFitnessReportOutProto()} - set {_uniqueStorage()._getFitnessReportOutProto640001 = newValue} + public var getFitnessReportProto640001: GetFitnessReportProto { + get {return _storage._getFitnessReportProto640001 ?? GetFitnessReportProto()} + set {_uniqueStorage()._getFitnessReportProto640001 = newValue} } - /// Returns true if `getFitnessReportOutProto640001` has been explicitly set. - public var hasGetFitnessReportOutProto640001: Bool {return _storage._getFitnessReportOutProto640001 != nil} - /// Clears the value of `getFitnessReportOutProto640001`. Subsequent reads from it will return its default value. - public mutating func clearGetFitnessReportOutProto640001() {_uniqueStorage()._getFitnessReportOutProto640001 = nil} + /// Returns true if `getFitnessReportProto640001` has been explicitly set. + public var hasGetFitnessReportProto640001: Bool {return _storage._getFitnessReportProto640001 != nil} + /// Clears the value of `getFitnessReportProto640001`. Subsequent reads from it will return its default value. + public mutating func clearGetFitnessReportProto640001() {_uniqueStorage()._getFitnessReportProto640001 = nil} - public var getAdventureSyncSettingsResponseProto640002: GetAdventureSyncSettingsResponseProto { - get {return _storage._getAdventureSyncSettingsResponseProto640002 ?? GetAdventureSyncSettingsResponseProto()} - set {_uniqueStorage()._getAdventureSyncSettingsResponseProto640002 = newValue} + public var getAdventureSyncSettingsRequestProto640002: GetAdventureSyncSettingsRequestProto { + get {return _storage._getAdventureSyncSettingsRequestProto640002 ?? GetAdventureSyncSettingsRequestProto()} + set {_uniqueStorage()._getAdventureSyncSettingsRequestProto640002 = newValue} } - /// Returns true if `getAdventureSyncSettingsResponseProto640002` has been explicitly set. - public var hasGetAdventureSyncSettingsResponseProto640002: Bool {return _storage._getAdventureSyncSettingsResponseProto640002 != nil} - /// Clears the value of `getAdventureSyncSettingsResponseProto640002`. Subsequent reads from it will return its default value. - public mutating func clearGetAdventureSyncSettingsResponseProto640002() {_uniqueStorage()._getAdventureSyncSettingsResponseProto640002 = nil} + /// Returns true if `getAdventureSyncSettingsRequestProto640002` has been explicitly set. + public var hasGetAdventureSyncSettingsRequestProto640002: Bool {return _storage._getAdventureSyncSettingsRequestProto640002 != nil} + /// Clears the value of `getAdventureSyncSettingsRequestProto640002`. Subsequent reads from it will return its default value. + public mutating func clearGetAdventureSyncSettingsRequestProto640002() {_uniqueStorage()._getAdventureSyncSettingsRequestProto640002 = nil} - public var updateAdventureSyncSettingsResponseProto640003: UpdateAdventureSyncSettingsResponseProto { - get {return _storage._updateAdventureSyncSettingsResponseProto640003 ?? UpdateAdventureSyncSettingsResponseProto()} - set {_uniqueStorage()._updateAdventureSyncSettingsResponseProto640003 = newValue} + public var updateAdventureSyncSettingsRequestProto640003: UpdateAdventureSyncSettingsRequestProto { + get {return _storage._updateAdventureSyncSettingsRequestProto640003 ?? UpdateAdventureSyncSettingsRequestProto()} + set {_uniqueStorage()._updateAdventureSyncSettingsRequestProto640003 = newValue} } - /// Returns true if `updateAdventureSyncSettingsResponseProto640003` has been explicitly set. - public var hasUpdateAdventureSyncSettingsResponseProto640003: Bool {return _storage._updateAdventureSyncSettingsResponseProto640003 != nil} - /// Clears the value of `updateAdventureSyncSettingsResponseProto640003`. Subsequent reads from it will return its default value. - public mutating func clearUpdateAdventureSyncSettingsResponseProto640003() {_uniqueStorage()._updateAdventureSyncSettingsResponseProto640003 = nil} + /// Returns true if `updateAdventureSyncSettingsRequestProto640003` has been explicitly set. + public var hasUpdateAdventureSyncSettingsRequestProto640003: Bool {return _storage._updateAdventureSyncSettingsRequestProto640003 != nil} + /// Clears the value of `updateAdventureSyncSettingsRequestProto640003`. Subsequent reads from it will return its default value. + public mutating func clearUpdateAdventureSyncSettingsRequestProto640003() {_uniqueStorage()._updateAdventureSyncSettingsRequestProto640003 = nil} - public var updateAdventureSyncFitnessResponseProto640004: UpdateAdventureSyncFitnessResponseProto { - get {return _storage._updateAdventureSyncFitnessResponseProto640004 ?? UpdateAdventureSyncFitnessResponseProto()} - set {_uniqueStorage()._updateAdventureSyncFitnessResponseProto640004 = newValue} + public var updateAdventureSyncFitnessRequestProto640004: UpdateAdventureSyncFitnessRequestProto { + get {return _storage._updateAdventureSyncFitnessRequestProto640004 ?? UpdateAdventureSyncFitnessRequestProto()} + set {_uniqueStorage()._updateAdventureSyncFitnessRequestProto640004 = newValue} } - /// Returns true if `updateAdventureSyncFitnessResponseProto640004` has been explicitly set. - public var hasUpdateAdventureSyncFitnessResponseProto640004: Bool {return _storage._updateAdventureSyncFitnessResponseProto640004 != nil} - /// Clears the value of `updateAdventureSyncFitnessResponseProto640004`. Subsequent reads from it will return its default value. - public mutating func clearUpdateAdventureSyncFitnessResponseProto640004() {_uniqueStorage()._updateAdventureSyncFitnessResponseProto640004 = nil} + /// Returns true if `updateAdventureSyncFitnessRequestProto640004` has been explicitly set. + public var hasUpdateAdventureSyncFitnessRequestProto640004: Bool {return _storage._updateAdventureSyncFitnessRequestProto640004 != nil} + /// Clears the value of `updateAdventureSyncFitnessRequestProto640004`. Subsequent reads from it will return its default value. + public mutating func clearUpdateAdventureSyncFitnessRequestProto640004() {_uniqueStorage()._updateAdventureSyncFitnessRequestProto640004 = nil} - public var getAdventureSyncFitnessReportResponseProto640005: GetAdventureSyncFitnessReportResponseProto { - get {return _storage._getAdventureSyncFitnessReportResponseProto640005 ?? GetAdventureSyncFitnessReportResponseProto()} - set {_uniqueStorage()._getAdventureSyncFitnessReportResponseProto640005 = newValue} + public var getAdventureSyncFitnessReportRequestProto640005: GetAdventureSyncFitnessReportRequestProto { + get {return _storage._getAdventureSyncFitnessReportRequestProto640005 ?? GetAdventureSyncFitnessReportRequestProto()} + set {_uniqueStorage()._getAdventureSyncFitnessReportRequestProto640005 = newValue} } - /// Returns true if `getAdventureSyncFitnessReportResponseProto640005` has been explicitly set. - public var hasGetAdventureSyncFitnessReportResponseProto640005: Bool {return _storage._getAdventureSyncFitnessReportResponseProto640005 != nil} - /// Clears the value of `getAdventureSyncFitnessReportResponseProto640005`. Subsequent reads from it will return its default value. - public mutating func clearGetAdventureSyncFitnessReportResponseProto640005() {_uniqueStorage()._getAdventureSyncFitnessReportResponseProto640005 = nil} + /// Returns true if `getAdventureSyncFitnessReportRequestProto640005` has been explicitly set. + public var hasGetAdventureSyncFitnessReportRequestProto640005: Bool {return _storage._getAdventureSyncFitnessReportRequestProto640005 != nil} + /// Clears the value of `getAdventureSyncFitnessReportRequestProto640005`. Subsequent reads from it will return its default value. + public mutating func clearGetAdventureSyncFitnessReportRequestProto640005() {_uniqueStorage()._getAdventureSyncFitnessReportRequestProto640005 = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -34034,2016 +33892,3136 @@ public struct AllTypesAndMessagesResponsesProto { fileprivate var _storage = _StorageClass.defaultInstance } - public struct Message { + public struct AllResponsesProto { // 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. - public var method: AllTypesAndMessagesResponsesProto.AllResquestTypesProto = .requestTypeUnset + public var getPlayerOutProto2: GetPlayerOutProto { + get {return _storage._getPlayerOutProto2 ?? GetPlayerOutProto()} + set {_uniqueStorage()._getPlayerOutProto2 = newValue} + } + /// Returns true if `getPlayerOutProto2` has been explicitly set. + public var hasGetPlayerOutProto2: Bool {return _storage._getPlayerOutProto2 != nil} + /// Clears the value of `getPlayerOutProto2`. Subsequent reads from it will return its default value. + public mutating func clearGetPlayerOutProto2() {_uniqueStorage()._getPlayerOutProto2 = nil} - ///bytes == AllMessagesProto.ProtoNameX - public var message: Data = Data() + public var getHoloholoInventoryOutProto4: GetHoloholoInventoryOutProto { + get {return _storage._getHoloholoInventoryOutProto4 ?? GetHoloholoInventoryOutProto()} + set {_uniqueStorage()._getHoloholoInventoryOutProto4 = newValue} + } + /// Returns true if `getHoloholoInventoryOutProto4` has been explicitly set. + public var hasGetHoloholoInventoryOutProto4: Bool {return _storage._getHoloholoInventoryOutProto4 != nil} + /// Clears the value of `getHoloholoInventoryOutProto4`. Subsequent reads from it will return its default value. + public mutating func clearGetHoloholoInventoryOutProto4() {_uniqueStorage()._getHoloholoInventoryOutProto4 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var downloadSettingsResponseProto5: DownloadSettingsResponseProto { + get {return _storage._downloadSettingsResponseProto5 ?? DownloadSettingsResponseProto()} + set {_uniqueStorage()._downloadSettingsResponseProto5 = newValue} + } + /// Returns true if `downloadSettingsResponseProto5` has been explicitly set. + public var hasDownloadSettingsResponseProto5: Bool {return _storage._downloadSettingsResponseProto5 != nil} + /// Clears the value of `downloadSettingsResponseProto5`. Subsequent reads from it will return its default value. + public mutating func clearDownloadSettingsResponseProto5() {_uniqueStorage()._downloadSettingsResponseProto5 = nil} - public init() {} - } + public var getgameMasterClientTemplatesOutProto6: GetGameMasterClientTemplatesOutProto { + get {return _storage._getgameMasterClientTemplatesOutProto6 ?? GetGameMasterClientTemplatesOutProto()} + set {_uniqueStorage()._getgameMasterClientTemplatesOutProto6 = newValue} + } + /// Returns true if `getgameMasterClientTemplatesOutProto6` has been explicitly set. + public var hasGetgameMasterClientTemplatesOutProto6: Bool {return _storage._getgameMasterClientTemplatesOutProto6 != nil} + /// Clears the value of `getgameMasterClientTemplatesOutProto6`. Subsequent reads from it will return its default value. + public mutating func clearGetgameMasterClientTemplatesOutProto6() {_uniqueStorage()._getgameMasterClientTemplatesOutProto6 = nil} - public struct Response { - // 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. + public var getRemoteConfigVersionsOutProto7: GetRemoteConfigVersionsOutProto { + get {return _storage._getRemoteConfigVersionsOutProto7 ?? GetRemoteConfigVersionsOutProto()} + set {_uniqueStorage()._getRemoteConfigVersionsOutProto7 = newValue} + } + /// Returns true if `getRemoteConfigVersionsOutProto7` has been explicitly set. + public var hasGetRemoteConfigVersionsOutProto7: Bool {return _storage._getRemoteConfigVersionsOutProto7 != nil} + /// Clears the value of `getRemoteConfigVersionsOutProto7`. Subsequent reads from it will return its default value. + public mutating func clearGetRemoteConfigVersionsOutProto7() {_uniqueStorage()._getRemoteConfigVersionsOutProto7 = nil} - public var method: AllTypesAndMessagesResponsesProto.AllResquestTypesProto = .requestTypeUnset + public var registerBackgroundDeviceresponseProto8: RegisterBackgroundDeviceResponseProto { + get {return _storage._registerBackgroundDeviceresponseProto8 ?? RegisterBackgroundDeviceResponseProto()} + set {_uniqueStorage()._registerBackgroundDeviceresponseProto8 = newValue} + } + /// Returns true if `registerBackgroundDeviceresponseProto8` has been explicitly set. + public var hasRegisterBackgroundDeviceresponseProto8: Bool {return _storage._registerBackgroundDeviceresponseProto8 != nil} + /// Clears the value of `registerBackgroundDeviceresponseProto8`. Subsequent reads from it will return its default value. + public mutating func clearRegisterBackgroundDeviceresponseProto8() {_uniqueStorage()._registerBackgroundDeviceresponseProto8 = nil} - ///bytes == AllResponsesProto.ProtoNameX - public var response: Data = Data() + public var getPlayerDayOutProto9: GetPlayerDayOutProto { + get {return _storage._getPlayerDayOutProto9 ?? GetPlayerDayOutProto()} + set {_uniqueStorage()._getPlayerDayOutProto9 = newValue} + } + /// Returns true if `getPlayerDayOutProto9` has been explicitly set. + public var hasGetPlayerDayOutProto9: Bool {return _storage._getPlayerDayOutProto9 != nil} + /// Clears the value of `getPlayerDayOutProto9`. Subsequent reads from it will return its default value. + public mutating func clearGetPlayerDayOutProto9() {_uniqueStorage()._getPlayerDayOutProto9 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var acknowledgePunishmentOutProto10: AcknowledgePunishmentOutProto { + get {return _storage._acknowledgePunishmentOutProto10 ?? AcknowledgePunishmentOutProto()} + set {_uniqueStorage()._acknowledgePunishmentOutProto10 = newValue} + } + /// Returns true if `acknowledgePunishmentOutProto10` has been explicitly set. + public var hasAcknowledgePunishmentOutProto10: Bool {return _storage._acknowledgePunishmentOutProto10 != nil} + /// Clears the value of `acknowledgePunishmentOutProto10`. Subsequent reads from it will return its default value. + public mutating func clearAcknowledgePunishmentOutProto10() {_uniqueStorage()._acknowledgePunishmentOutProto10 = nil} - public init() {} - } + public var getServerTimeOutProto11: GetServerTimeOutProto { + get {return _storage._getServerTimeOutProto11 ?? GetServerTimeOutProto()} + set {_uniqueStorage()._getServerTimeOutProto11 = newValue} + } + /// Returns true if `getServerTimeOutProto11` has been explicitly set. + public var hasGetServerTimeOutProto11: Bool {return _storage._getServerTimeOutProto11 != nil} + /// Clears the value of `getServerTimeOutProto11`. Subsequent reads from it will return its default value. + public mutating func clearGetServerTimeOutProto11() {_uniqueStorage()._getServerTimeOutProto11 = nil} - public init() {} -} + public var getLocalTimeOutProto12: GetLocalTimeOutProto { + get {return _storage._getLocalTimeOutProto12 ?? GetLocalTimeOutProto()} + set {_uniqueStorage()._getLocalTimeOutProto12 = newValue} + } + /// Returns true if `getLocalTimeOutProto12` has been explicitly set. + public var hasGetLocalTimeOutProto12: Bool {return _storage._getLocalTimeOutProto12 != nil} + /// Clears the value of `getLocalTimeOutProto12`. Subsequent reads from it will return its default value. + public mutating func clearGetLocalTimeOutProto12() {_uniqueStorage()._getLocalTimeOutProto12 = nil} -#if swift(>=4.2) + public var fortSearchOutProto101: FortSearchOutProto { + get {return _storage._fortSearchOutProto101 ?? FortSearchOutProto()} + set {_uniqueStorage()._fortSearchOutProto101 = newValue} + } + /// Returns true if `fortSearchOutProto101` has been explicitly set. + public var hasFortSearchOutProto101: Bool {return _storage._fortSearchOutProto101 != nil} + /// Clears the value of `fortSearchOutProto101`. Subsequent reads from it will return its default value. + public mutating func clearFortSearchOutProto101() {_uniqueStorage()._fortSearchOutProto101 = nil} -extension AllTypesAndMessagesResponsesProto.AllResquestTypesProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AllTypesAndMessagesResponsesProto.AllResquestTypesProto] = [ - .requestTypeUnset, - .requestTypeMethodGetPlayer, - .requestTypeMethodGetHoloholoInventory, - .requestTypeMethodDownloadSettings, - .requestTypeMethodDownloadItemTemplates, - .requestTypeMethodDownloadRemoteConfigVersion, - .requestTypeMethodRegisterBackgroundDevice, - .requestTypeMethodGetPlayerDay, - .requestTypeMethodAcknowledgePunishment, - .requestTypeMethodGetServerTime, - .requestTypeMethodGetLocalTime, - .requestTypeMethodFortSearch, - .requestTypeMethodEncounter, - .requestTypeMethodCatchPokemon, - .requestTypeMethodFortDetails, - .requestTypeMethodGetMapObjects, - .requestTypeMethodFortDeployPokemon, - .requestTypeMethodFortRecallPokemon, - .requestTypeMethodReleasePokemon, - .requestTypeMethodUseItemPotion, - .requestTypeMethodUseItemCapture, - .requestTypeMethodUseItemFlee, - .requestTypeMethodUseItemRevive, - .requestTypeMethodGetPlayerProfile, - .requestTypeMethodEvolvePokemon, - .requestTypeMethodGetHatchedEggs, - .requestTypeMethodEncounterTutorialComplete, - .requestTypeMethodLevelUpRewards, - .requestTypeMethodCheckAwardedBadges, - .requestTypeMethodRecycleInventoryItem, - .requestTypeMethodCollectDailyBonus, - .requestTypeMethodUseItemXpBoost, - .requestTypeMethodUseItemEggIncubator, - .requestTypeMethodUseIncense, - .requestTypeMethodGetIncensePokemon, - .requestTypeMethodIncenseEncounter, - .requestTypeMethodAddFortModifier, - .requestTypeMethodDiskEncounter, - .requestTypeMethodUpgradePokemon, - .requestTypeMethodSetFavoritePokemon, - .requestTypeMethodNicknamePokemon, - .requestTypeMethodEquipBadge, - .requestTypeMethodSetContactSettings, - .requestTypeMethodSetBuddyPokemon, - .requestTypeMethodGetBuddyWalked, - .requestTypeMethodUseItemEncounter, - .requestTypeMethodGymDeploy, - .requestTypeMethodGymGetInfo, - .requestTypeMethodGymStartSession, - .requestTypeMethodGymBattleAttack, - .requestTypeMethodJoinLobby, - .requestTypeMethodLeaveLobby, - .requestTypeMethodSetLobbyVisibility, - .requestTypeMethodSetLobbyPokemon, - .requestTypeMethodGetRaidDetails, - .requestTypeMethodGymFeedPokemon, - .requestTypeMethodStartRaidBattle, - .requestTypeMethodAttackRaid, - .requestTypeMethodAwardPokecoin, - .requestTypeMethodUseItemStardustBoost, - .requestTypeMethodReassignPlayer, - .requestTypeMethodRedeemPoiPasscode, - .requestTypeMethodConvertCandyToXlCandy, - .requestTypeMethodIsSkuAvailable, - .requestTypeMethodGetAssetDigest, - .requestTypeMethodGetDownloadUrls, - .requestTypeMethodGetAssetVersion, - .requestTypeMethodClaimCodename, - .requestTypeMethodSetAvatar, - .requestTypeMethodSetPlayerTeam, - .requestTypeMethodMarkTutorialComplete, - .requestTypeMethodUpdatePerformanceMetrics, - .requestTypeMethodSetNeutralAvatar, - .requestTypeMethodCheckChallenge, - .requestTypeMethodVerifyChallenge, - .requestTypeMethodEcho, - .requestTypeMethodSfidaRegistration, - .requestTypeMethodSfidaActionLog, - .requestTypeMethodSfidaCertification, - .requestTypeMethodSfidaUpdate, - .requestTypeMethodSfidaAction, - .requestTypeMethodSfidaDowser, - .requestTypeMethodSfidaCapture, - .requestTypeMethodListAvatarCustomizations, - .requestTypeMethodSetAvatarItemAsViewed, - .requestTypeMethodGetInbox, - .requestTypeMethodListGymBadges, - .requestTypeMethodGetGymBadgeDetails, - .requestTypeMethodUseItemMoveReroll, - .requestTypeMethodUseItemRareCandy, - .requestTypeMethodAwardFreeRaidTicket, - .requestTypeMethodFetchAllNews, - .requestTypeMethodMarkReadNewsArticle, - .requestTypeMethodGetPlayerDisplayInfo, - .requestTypeMethodBelugaTransactionStart, - .requestTypeMethodBelugaTransactionComplete, - .requestTypeMethodSfidaAssociate, - .requestTypeMethodSfidaCheckPairing, - .requestTypeMethodSfidaDisassociate, - .requestTypeMethodWainaGetRewards, - .requestTypeMethodWainaSubmitSleepData, - .requestTypeMethodSaturdayTransactionStart, - .requestTypeMethodSaturdayTransactionComplete, - .requestTypeMethodReimburseItem, - .requestTypeMethodGetNewQuests, - .requestTypeMethodGetQuestDetails, - .requestTypeMethodCompleteQuest, - .requestTypeMethodRemoveQuest, - .requestTypeMethodQuestEncounter, - .requestTypeMethodCompleteQuestStampCard, - .requestTypeMethodProgressQuest, - .requestTypeMethodStartQuestIncident, - .requestTypeMethodReadQuestDialog, - .requestTypeMethodSendGift, - .requestTypeMethodOpenGift, - .requestTypeMethodGiftDetails, - .requestTypeMethodDeleteGift, - .requestTypeMethodSavePlayerSnapshot, - .requestTypeMethodGetFriendshipMilestoneRewards, - .requestTypeMethodCheckSendGift, - .requestTypeMethodSetFriendNickname, - .requestTypeMethodDeleteGiftFromInventory, - .requestTypeMethodSaveSocialPlayerSettings, - .requestTypeMethodShareExRaidPass, - .requestTypeMethodCheckShareExRaidPass, - .requestTypeMethodDeclineSharedExRaidPass, - .requestTypeMethodOpenTrading, - .requestTypeMethodUpdateTrading, - .requestTypeMethodConfirmTrading, - .requestTypeMethodCancelTrading, - .requestTypeMethodGetTrading, - .requestTypeMethodGetFitnessRewards, - .requestTypeMethodGetCombatPlayerProfile, - .requestTypeMethodGenerateCombatChallengeID, - .requestTypeMethodCreateCombatChallenge, - .requestTypeMethodOpenCombatChallenge, - .requestTypeMethodGetCombatChallenge, - .requestTypeMethodAcceptCombatChallenge, - .requestTypeMethodDeclineCombatChallenge, - .requestTypeMethodCancelCombatChallenge, - .requestTypeMethodSubmitCombatChallengePokemons, - .requestTypeMethodSaveCombatPlayerPreferences, - .requestTypeMethodOpenCombatSession, - .requestTypeMethodUpdateCombat, - .requestTypeMethodQuitCombat, - .requestTypeMethodGetCombatResults, - .requestTypeMethodUnlockSpecialMove, - .requestTypeMethodGetNpcCombatRewards, - .requestTypeMethodCombatFriendRequest, - .requestTypeMethodOpenNpcCombatSession, - .requestTypeMethodStartTutorialAction, - .requestTypeMethodGetTutorialEggAction, - .requestTypeMethodSendProbe, - .requestTypeMethodProbeData, - .requestTypeMethodCombatData, - .requestTypeMethodCombatChallengeData, - .requestTypeMethodCheckPhotobomb, - .requestTypeMethodConfirmPhotobomb, - .requestTypeMethodGetPhotobomb, - .requestTypeMethodEncounterPhotobomb, - .requestTypeMethodGetSignedGmapURLDeprecated, - .requestTypeMethodChangeTeam, - .requestTypeMethodGetWebToken, - .requestTypeMethodCompleteSnapshotSession, - .requestTypeMethodCompleteWildSnapshotSession, - .requestTypeMethodStartIncident, - .requestTypeMethodInvasionCompleteDialogue, - .requestTypeMethodInvasionOpenCombatSession, - .requestTypeMethodInvasionBattleUpdate, - .requestTypeMethodInvasionEncounter, - .requestTypeMethodPurifyPokemon, - .requestTypeMethodGetRocketBalloon, - .requestTypeMethodStartRocketBalloonIncident, - .requestTypeMethodVsSeekerStartMatchmaking, - .requestTypeMethodCancelMatchmaking, - .requestTypeMethodGetMatchmakingStatus, - .requestTypeMethodCompleteVsSeekerAndRestartCharging, - .requestTypeMethodGetVsSeekerStatus, - .requestTypeMethodCompleteCombatCompetitiveSeasonAction, - .requestTypeMethodClaimVsSeekerRewards, - .requestTypeMethodVsSeekerRewardEncounter, - .requestTypeMethodActivateVsSeeker, - .requestTypeMethodGetBuddyMap, - .requestTypeMethodGetBuddyStats, - .requestTypeMethodFeedBuddy, - .requestTypeMethodOpenBuddyGift, - .requestTypeMethodPetBuddy, - .requestTypeMethodGetBuddyHistory, - .requestTypeMethodUpdateRouteDraft, - .requestTypeMethodGetMapForts, - .requestTypeMethodSubmitRouteDraft, - .requestTypeMethodGetPublishedRoutes, - .requestTypeMethodStartRoute, - .requestTypeMethodGetRoutes, - .requestTypeMethodProgressRoute, - .requestTypeMethodProcessTappable, - .requestTypeMethodListRouteBadges, - .requestTypeMethodCancelRoute, - .requestTypeMethodListRouteStamps, - .requestTypeMethodRateRoute, - .requestTypeMethodCreateRouteDraft, - .requestTypeMethodDeleteRouteDraft, - .requestTypeMethodReportRoute, - .requestTypeMethodSpawnTappable, - .requestTypeMethodRouteEncounter, - .requestTypeMethodCanReportRoute, - .requestTypeMethodRouteUptateSeen, - .requestTypeMethodCreateBuddyMutliplayerSession, - .requestTypeMethodJoinBuddyMultiplayerSession, - .requestTypeMethodLeaveBuddyMultiplayerSession, - .requestTypeMethodGetTodayView, - .requestTypeMethodMegaEvolvePokemon, - .requestTypeMethodRemoteGiftPing, - .requestTypeMethodSendRaidInvitation, - .requestTypeMethodGetDailyEncounter, - .requestTypeMethodDailyEncounter, - .requestTypeMethodOpenSponsoredGift, - .requestTypeMethodSponsoredGiftReportInteraction, - .requestTypeMethodSavePlayerPreferences, - .requestTypeMethodProfanityCheck, - .requestTypeMethodGetTimedGroupChallenge, - .requestTypeMethodGetNintendoAccount, - .requestTypeMethodUnlinkNintendoAccount, - .requestTypeMethodGetNintendoOauth2URL, - .requestTypeMethodTransferToPokemonHome, - .requestTypeMethodReportAdFeedback, - .requestTypeMethodCreatePokemonTag, - .requestTypeMethodDeletePokemonTag, - .requestTypeMethodEditPokemonTag, - .requestTypeMethodSetPokemonTagsForPokemon, - .requestTypeMethodGetPokemonTags, - .requestTypeMethodChangePokemonForm, - .requestTypeMethodChooseEventVariant, - .requestTypeMethodButterflyCollectorRewardEncounter, - .requestTypeMethodGetReferralCode, - .requestTypeMethodAddReferrer, - .requestTypeMethodSendFriendInviteViaReferralCode, - .requestTypeMethodGetMilestones, - .requestTypeMethodMarkMilestonesAsViewed, - .requestTypeMethodGetMilestonesPreview, - .requestTypeMethodCompleteMilestone, - .requestTypeMethodGetGeofencedAd, - .requestTypeMethodPowerUpPokestopEncounter, - .requestTypeMethodDeletePostcards, - .requestTypeMethodCreatePostcard, - .requestTypeMethodUpdatePostcard, - .requestTypeMethodDeletePostcard, - .requestTypeMethodGetMementoList, - .requestTypeMethodUploadRaidClientLog, - .requestTypeMethodSkipEnterReferralCode, - .requestTypeMethodUploadCombatClientLog, - .requestTypeMethodCombatSyncServerOffset, - .requestTypeMethodCheckGiftingEligibility, - .requestTypeMethodRedeemTicketGiftForFriend, - .requestTypeMethodGetIncenseRecap, - .requestTypeMethodAcknowledgeIncenseRecap, - .requestTypeMethodBootRaid, - .requestTypeMethodGetPokestopEncounter, - .requestTypeMethodEncounterPokestopEncounter, - .requestTypeMethodPollPlayerSpawnablePokemon, - .requestTypeMethodGetQuestUi, - .requestTypeMethodGetEligibleCombatLeagues, - .requestTypeMethodSendFriendRequestViaPlayerIds, - .requestTypeMethodGetRaidLobbyCounter, - .requestTypeMethodCheckPokemonSizeContestEligibility, - .requestTypeMethodUpdatePokemonSizeContestEntry, - .requestTypeMethodTransferPokemonSizeContestEntry, - .requestTypeMethodRemovePokemonSizeContestEntry, - .requestTypeMethodGetPokemonSizeContestEntry, - .requestTypeMethodGetContestData, - .requestTypeMethodGetContestsUnclaimedRewards, - .requestTypeMethodClaimContestsRewards, - .requestTypeMethodGetEnteredContest, - .requestTypeMethodGetPokemonSizeContestFriendEntry, - .requestTypeMethodCheckContestEligibility, - .requestTypeMethodUpdateContestEntry, - .requestTypeMethodTransferContestEntry, - .requestTypeMethodGetContestFriendEntry, - .requestTypeMethodGetContestEntry, - .requestTypeMethodCreateParty, - .requestTypeMethodJoinParty, - .requestTypeMethodStartParty, - .requestTypeMethodLeaveParty, - .requestTypeMethodGetParty, - .requestTypeMethodUpdatePartyLocation, - .requestTypeMethodSendPartyDarkLaunchLog, - .requestTypeMethodStartPartyQuest, - .requestTypeMethodGetBonusAttractedPokemon, - .requestTypeMethodGetVpsEvents, - .requestTypeMethodUpdateVpsEvents, - .requestTypeClientActionRegisterPushNotification, - .requestTypeClientActionUnregisterPushNotification, - .requestTypeClientActionUpdateNotificationStatus, - .requestTypeClientActionOptOutPushNotificationCategory, - .requestTypeClientActionDownloadGameMasterTemplates, - .requestTypeClientActionGetInventory, - .requestTypeClientActionRedeemPasscode, - .requestTypeClientActionPing, - .requestTypeClientActionAddLoginAction, - .requestTypeClientActionRemoveLoginAction, - .requestTypeClientActionListLoginAction, - .requestTypeClientActionAddNewPoi, - .requestTypeClientActionProxySocialAction, - .requestTypeClientActionDeprecatedClientTelemetry, - .requestTypeClientActionGetAvailableSubmissions, - .requestTypeClientActionGetSignedURLForPhotoUpload, - .requestTypeClientActionReplaceLoginAction, - .requestTypeClientActionProxySocialSideChannelAction, - .requestTypeClientActionCollectClientTelemetry, - .requestTypeClientActionPurchaseSku, - .requestTypeClientActionGetAvailableSkusAndBalances, - .requestTypeClientActionRedeemGoogleReceipt, - .requestTypeClientActionRedeemAppleReceipt, - .requestTypeClientActionRedeemDesktopReceipt, - .requestTypeClientActionUpdateFitnessMetrics, - .requestTypeClientActionGetFitnessReport, - .requestTypeClientActionGetClientTelemetrySettings, - .requestTypeClientActionPingAsync, - .requestTypeClientActionRegisterBackgroundService, - .requestTypeClientActionGetClientBgmodeSettings, - .requestTypeClientActionPingDownstream, - .requestTypeClientActionSetInGameCurrencyExchangeRate, - .requestTypeClientActionRequestGeofenceUpdates, - .requestTypeClientActionUpdatePlayerLocation, - .requestTypeClientActionGenerateGmapSignedURL, - .requestTypeClientActionGetGmapSettings, - .requestTypeClientActionRedeemSamsungReceipt, - .requestTypeClientActionAddNewRoute, - .requestTypeClientActionGetOutstandingWarnings, - .requestTypeClientActionAcknowledgeWarnings, - .requestTypeClientActionSubmitPoiImage, - .requestTypeClientActionSubmitPoiTextMetadataUpdate, - .requestTypeClientActionSubmitPoiLocationUpdate, - .requestTypeClientActionSubmitPoiTakedownRequest, - .requestTypeClientActionGetWebTokenAction, - .requestTypeClientActionGetAdventureSyncSettings, - .requestTypeClientActionUpdateAdventureSyncSettings, - .requestTypeClientActionSetBirthday, - .requestTypeClientActionFetchNewsfeedAction, - .requestTypeClientActionMarkNewsfeedReadAction, - .requestTypeSocialActionSearchPlayer, - .requestTypeSocialActionSendFriendInvite, - .requestTypeSocialActionCancelFriendInvite, - .requestTypeSocialActionAcceptFriendInvite, - .requestTypeSocialActionDeclineFriendInvite, - .requestTypeSocialActionListFriends, - .requestTypeSocialActionListOutgoingFriendInvites, - .requestTypeSocialActionListIncomingFriendInvites, - .requestTypeSocialActionRemoveFriend, - .requestTypeSocialActionListFriendStatus, - .requestTypeSocialActionSendFacebookFriendInvite, - .requestTypeSocialActionIsMyFriend, - .requestTypeSocialActionCreateInviteCode, - .requestTypeSocialActionGetFacebookFriendList, - .requestTypeSocialActionUpdateFacebookStatus, - .requestTypeSocialActionSavePlayerSettings, - .requestTypeSocialActionGetPlayerSettings, - .requestTypeSocialActionGetNianticFriendListDeleted, - .requestTypeSocialActionGetNianticFriendDetailsDeleted, - .requestTypeSocialActionSendNianticFriendInviteDeleted, - .requestTypeSocialActionSetAccountSettings, - .requestTypeSocialActionGetAccountSettings, - .requestTypeSocialActionAddFavoriteFriend, - .requestTypeSocialActionRemoveFavoriteFriend, - .requestTypeSocialActionBlockAccount, - .requestTypeSocialActionUnblockAccount, - .requestTypeSocialActionGetOutgingBlocks, - .requestTypeSocialActionIsAccountBlocked, - .requestTypeSocialActionRegisterPushNotification, - .requestTypeSocialActionUnregisterPushNotification, - .requestTypeSocialActionUpdateNotification, - .requestTypeSocialActionOptOutPushNotificationCategory, - .requestTypeSocialActionGetInbox, - .requestTypeSocialActionGetSignedURL, - .requestTypeSocialActionSubmitImage, - .requestTypeSocialActionGetPhotos, - .requestTypeSocialActionDeletePhoto, - .requestTypeSocialActionFlagPhoto, - .requestTypeSocialActionUpdateProfileV2, - .requestTypeSocialActionUpdateFriendshipV2, - .requestTypeSocialActionGetProfileV2, - .requestTypeSocialActionInviteGameV2, - .requestTypeSocialActionReservedAction2, - .requestTypeSocialActionListFriendsV2, - .requestTypeSocialActionGetFriendDetailsV2, - .requestTypeSocialActionGetClientFeatureFlagsV2, - .requestTypeSocialActionReservedAction1, - .requestTypeSocialActionGetIncomingGameInvitesV2, - .requestTypeSocialActionUpdateIncomingGameInviteV2, - .requestTypeSocialActionDismissOutgoingGameInvitesV2, - .requestTypeSocialActionSyncContactListV2, - .requestTypeSocialActionSendContactListFriendInviteV2, - .requestTypeSocialActionReferContactListFriendV2, - .requestTypeSocialActionGetContactListInfoV2, - .requestTypeSocialActionDismissContactListUpdateV2, - .requestTypeSocialActionNotifyContactListFriendsV2, - .requestTypeSocialActionReservedAction6, - .requestTypeSocialActionReservedAction7, - .requestTypeSocialActionReservedAction3, - .requestTypeSocialActionReservedAction4, - .requestTypeSocialActionReservedAction5, - .requestTypeSocialActionGetFriendRecommendation, - .requestTypeGameActionClientRegisterBackgroundService, - .requestTypeGameActionClientGetClientBgmodeSettings, - .requestTypeGameActionClientGetAdventureSyncProgress, - .requestTypeGamePurchaseSku, - .requestTypeGameGetAvailableSkusAndBalances, - .requestTypeGameSetInGameCurrencyExchangeRate, - .requestTypeGameRedeemGoogleReceipt, - .requestTypeGameRedeemAppleReceipt, - .requestTypeGameRedeemDesktopReceipt, - .requestTypeGameRedeemSamsungReceipt, - .requestTypeGameGetAvailableSubscriptions, - .requestTypeGameGetActiveSubscriptions, - .requestTypeRequestGeofenceUpdates1, - .requestTypeUpdatePlayerLocation1, - .requestTypeUpdateBreadcrumbHistory, - .requestTypeRefreshProximityTokens, - .requestTypeReportProximityContacts, - .requestTypeGetGameAccessToken, - .requestTypePlayerSubmissionActionAddNewPoi, - .requestTypePlayerSubmissionActionGetAvailableSubmissions, - .requestTypePlayerSubmissionActionGetSignedURLForPhotoUpload, - .requestTypePlayerSubmissionActionGetPlayerSubmissionValidationSettings, - .requestTypePlayerSubmissionActionD2DAddNewPoi, - .requestTypePlayerSubmissionActionD2DGetSignedURLForPhotoUpload, - .requestTypePlayerSubmissionActionSubmitPoiImage, - .requestTypePlayerSubmissionActionSubmitPoiTextMetadataUpdate, - .requestTypePlayerSubmissionActionSubmitPoiLocationUpdate, - .requestTypePlayerSubmissionActionSubmitPoiTakedownRequest, - .requestTypePlayerSubmissionActionSubmitSponsorPoiReport, - .requestTypePlayerSubmissionActionSubmitSponsorPoiLocationUpdate, - .requestTypePlayerSubmissionActionSubmitPoiCategoryVote, - .requestTypePlayerSubmissionActionD2DSubmitPoiImage, - .requestTypePlayerSubmissionActionD2DSubmitPoiTextMetadataUpdate, - .requestTypePlayerSubmissionActionD2DSubmitPoiLocationUpdate, - .requestTypePlayerSubmissionActionD2DSubmitPoiTakedownRequest, - .requestTypePlayerSubmissionActionAddNewRoute, - .requestTypePlayerSubmissionActionGenerateGmapSignedURL, - .requestTypePlayerSubmissionActionGetGmapSettings, - .requestTypePlayerSubmissionActionSubmitPoiArVideoMetadata, - .requestTypePlayerSubmissionActionGetGrapeshotFileUploadURL, - .requestTypePlayerSubmissionActionAsyncFileUploadComplete, - .requestTypePlayerSubmissionActionGetArMappingSettings, - .requestTypePlayerSubmissionActionD2DSubmitPoiArVideoMetadata, - .requestTypePlayerSubmissionActionD2DGetGrapeshotFileUploadURL, - .requestTypePlayerSubmissionActionD2DAsyncFileUploadComplete, - .requestTypePlayerSubmissionActionSubmitMappingRequest, - .requestTypePlayerSubmissionActionD2DSubmitMappingRequest, - .requestTypePlayerSubmissionActionGetImagesForPoi, - .requestTypePlayerSubmissionActionSubmitPlayerImageVoteForPoi, - .requestTypePlayerSubmissionActionGetImageGallerySettings, - .requestTypePlayerSubmissionActionGetMapData, - .requestTypePlayerSubmissionActionGetPoisInRadius, - .requestTypeUpdateFitnessMetrics1, - .requestTypeGetFitnessReport1, - .requestTypeGetAdventureSyncSettings1, - .requestTypeUpdateAdventureSyncSettings1, - .requestTypeUpdateAdventureSyncFitness, - .requestTypeGetAdventureSyncFitnessReport, - ] -} - -#endif // swift(>=4.2) + public var encounterOutProto102: EncounterOutProto { + get {return _storage._encounterOutProto102 ?? EncounterOutProto()} + set {_uniqueStorage()._encounterOutProto102 = newValue} + } + /// Returns true if `encounterOutProto102` has been explicitly set. + public var hasEncounterOutProto102: Bool {return _storage._encounterOutProto102 != nil} + /// Clears the value of `encounterOutProto102`. Subsequent reads from it will return its default value. + public mutating func clearEncounterOutProto102() {_uniqueStorage()._encounterOutProto102 = nil} -public struct Anchor { - // 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. + public var catchPokemonOutProto103: CatchPokemonOutProto { + get {return _storage._catchPokemonOutProto103 ?? CatchPokemonOutProto()} + set {_uniqueStorage()._catchPokemonOutProto103 = newValue} + } + /// Returns true if `catchPokemonOutProto103` has been explicitly set. + public var hasCatchPokemonOutProto103: Bool {return _storage._catchPokemonOutProto103 != nil} + /// Clears the value of `catchPokemonOutProto103`. Subsequent reads from it will return its default value. + public mutating func clearCatchPokemonOutProto103() {_uniqueStorage()._catchPokemonOutProto103 = nil} - public var xCenter: Float = 0 + public var fortDetailsOutProto104: FortDetailsOutProto { + get {return _storage._fortDetailsOutProto104 ?? FortDetailsOutProto()} + set {_uniqueStorage()._fortDetailsOutProto104 = newValue} + } + /// Returns true if `fortDetailsOutProto104` has been explicitly set. + public var hasFortDetailsOutProto104: Bool {return _storage._fortDetailsOutProto104 != nil} + /// Clears the value of `fortDetailsOutProto104`. Subsequent reads from it will return its default value. + public mutating func clearFortDetailsOutProto104() {_uniqueStorage()._fortDetailsOutProto104 = nil} - public var yCenter: Float = 0 + public var getMapObjectsOutProto106: GetMapObjectsOutProto { + get {return _storage._getMapObjectsOutProto106 ?? GetMapObjectsOutProto()} + set {_uniqueStorage()._getMapObjectsOutProto106 = newValue} + } + /// Returns true if `getMapObjectsOutProto106` has been explicitly set. + public var hasGetMapObjectsOutProto106: Bool {return _storage._getMapObjectsOutProto106 != nil} + /// Clears the value of `getMapObjectsOutProto106`. Subsequent reads from it will return its default value. + public mutating func clearGetMapObjectsOutProto106() {_uniqueStorage()._getMapObjectsOutProto106 = nil} - public var h: Float = 0 + public var fortDeployOutProto110: FortDeployOutProto { + get {return _storage._fortDeployOutProto110 ?? FortDeployOutProto()} + set {_uniqueStorage()._fortDeployOutProto110 = newValue} + } + /// Returns true if `fortDeployOutProto110` has been explicitly set. + public var hasFortDeployOutProto110: Bool {return _storage._fortDeployOutProto110 != nil} + /// Clears the value of `fortDeployOutProto110`. Subsequent reads from it will return its default value. + public mutating func clearFortDeployOutProto110() {_uniqueStorage()._fortDeployOutProto110 = nil} - public var w: Float = 0 + public var fortRecallOutProto111: FortRecallOutProto { + get {return _storage._fortRecallOutProto111 ?? FortRecallOutProto()} + set {_uniqueStorage()._fortRecallOutProto111 = newValue} + } + /// Returns true if `fortRecallOutProto111` has been explicitly set. + public var hasFortRecallOutProto111: Bool {return _storage._fortRecallOutProto111 != nil} + /// Clears the value of `fortRecallOutProto111`. Subsequent reads from it will return its default value. + public mutating func clearFortRecallOutProto111() {_uniqueStorage()._fortRecallOutProto111 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var releasePokemonOutProto112: ReleasePokemonOutProto { + get {return _storage._releasePokemonOutProto112 ?? ReleasePokemonOutProto()} + set {_uniqueStorage()._releasePokemonOutProto112 = newValue} + } + /// Returns true if `releasePokemonOutProto112` has been explicitly set. + public var hasReleasePokemonOutProto112: Bool {return _storage._releasePokemonOutProto112 != nil} + /// Clears the value of `releasePokemonOutProto112`. Subsequent reads from it will return its default value. + public mutating func clearReleasePokemonOutProto112() {_uniqueStorage()._releasePokemonOutProto112 = nil} - public init() {} -} + public var useItemPotionOutProto113: UseItemPotionOutProto { + get {return _storage._useItemPotionOutProto113 ?? UseItemPotionOutProto()} + set {_uniqueStorage()._useItemPotionOutProto113 = newValue} + } + /// Returns true if `useItemPotionOutProto113` has been explicitly set. + public var hasUseItemPotionOutProto113: Bool {return _storage._useItemPotionOutProto113 != nil} + /// Clears the value of `useItemPotionOutProto113`. Subsequent reads from it will return its default value. + public mutating func clearUseItemPotionOutProto113() {_uniqueStorage()._useItemPotionOutProto113 = nil} -public struct AnchorUpdateProto { - // 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. + public var useItemCaptureOutProto114: UseItemCaptureOutProto { + get {return _storage._useItemCaptureOutProto114 ?? UseItemCaptureOutProto()} + set {_uniqueStorage()._useItemCaptureOutProto114 = newValue} + } + /// Returns true if `useItemCaptureOutProto114` has been explicitly set. + public var hasUseItemCaptureOutProto114: Bool {return _storage._useItemCaptureOutProto114 != nil} + /// Clears the value of `useItemCaptureOutProto114`. Subsequent reads from it will return its default value. + public mutating func clearUseItemCaptureOutProto114() {_uniqueStorage()._useItemCaptureOutProto114 = nil} - public var updateType: AnchorUpdateProto.AnchorUpdateType = .unset + public var useItemReviveOutProto116: UseItemReviveOutProto { + get {return _storage._useItemReviveOutProto116 ?? UseItemReviveOutProto()} + set {_uniqueStorage()._useItemReviveOutProto116 = newValue} + } + /// Returns true if `useItemReviveOutProto116` has been explicitly set. + public var hasUseItemReviveOutProto116: Bool {return _storage._useItemReviveOutProto116 != nil} + /// Clears the value of `useItemReviveOutProto116`. Subsequent reads from it will return its default value. + public mutating func clearUseItemReviveOutProto116() {_uniqueStorage()._useItemReviveOutProto116 = nil} - public var updatedAnchor: VpsAnchor { - get {return _updatedAnchor ?? VpsAnchor()} - set {_updatedAnchor = newValue} - } - /// Returns true if `updatedAnchor` has been explicitly set. - public var hasUpdatedAnchor: Bool {return self._updatedAnchor != nil} - /// Clears the value of `updatedAnchor`. Subsequent reads from it will return its default value. - public mutating func clearUpdatedAnchor() {self._updatedAnchor = nil} + public var playerprofileOutproto121: PlayerProfileOutProto { + get {return _storage._playerprofileOutproto121 ?? PlayerProfileOutProto()} + set {_uniqueStorage()._playerprofileOutproto121 = newValue} + } + /// Returns true if `playerprofileOutproto121` has been explicitly set. + public var hasPlayerprofileOutproto121: Bool {return _storage._playerprofileOutproto121 != nil} + /// Clears the value of `playerprofileOutproto121`. Subsequent reads from it will return its default value. + public mutating func clearPlayerprofileOutproto121() {_uniqueStorage()._playerprofileOutproto121 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var evolvePokemonOutProto125: EvolvePokemonOutProto { + get {return _storage._evolvePokemonOutProto125 ?? EvolvePokemonOutProto()} + set {_uniqueStorage()._evolvePokemonOutProto125 = newValue} + } + /// Returns true if `evolvePokemonOutProto125` has been explicitly set. + public var hasEvolvePokemonOutProto125: Bool {return _storage._evolvePokemonOutProto125 != nil} + /// Clears the value of `evolvePokemonOutProto125`. Subsequent reads from it will return its default value. + public mutating func clearEvolvePokemonOutProto125() {_uniqueStorage()._evolvePokemonOutProto125 = nil} - public enum AnchorUpdateType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case add // = 1 - case edit // = 2 - case remove // = 3 - case UNRECOGNIZED(Int) + public var getHatchedEggsOutProto126: GetHatchedEggsOutProto { + get {return _storage._getHatchedEggsOutProto126 ?? GetHatchedEggsOutProto()} + set {_uniqueStorage()._getHatchedEggsOutProto126 = newValue} + } + /// Returns true if `getHatchedEggsOutProto126` has been explicitly set. + public var hasGetHatchedEggsOutProto126: Bool {return _storage._getHatchedEggsOutProto126 != nil} + /// Clears the value of `getHatchedEggsOutProto126`. Subsequent reads from it will return its default value. + public mutating func clearGetHatchedEggsOutProto126() {_uniqueStorage()._getHatchedEggsOutProto126 = nil} - public init() { - self = .unset + public var encounterTutorialCompleteOutProto127: EncounterTutorialCompleteOutProto { + get {return _storage._encounterTutorialCompleteOutProto127 ?? EncounterTutorialCompleteOutProto()} + set {_uniqueStorage()._encounterTutorialCompleteOutProto127 = newValue} } + /// Returns true if `encounterTutorialCompleteOutProto127` has been explicitly set. + public var hasEncounterTutorialCompleteOutProto127: Bool {return _storage._encounterTutorialCompleteOutProto127 != nil} + /// Clears the value of `encounterTutorialCompleteOutProto127`. Subsequent reads from it will return its default value. + public mutating func clearEncounterTutorialCompleteOutProto127() {_uniqueStorage()._encounterTutorialCompleteOutProto127 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .add - case 2: self = .edit - case 3: self = .remove - default: self = .UNRECOGNIZED(rawValue) - } + public var levelUpRewardsOutProto128: LevelUpRewardsOutProto { + get {return _storage._levelUpRewardsOutProto128 ?? LevelUpRewardsOutProto()} + set {_uniqueStorage()._levelUpRewardsOutProto128 = newValue} } + /// Returns true if `levelUpRewardsOutProto128` has been explicitly set. + public var hasLevelUpRewardsOutProto128: Bool {return _storage._levelUpRewardsOutProto128 != nil} + /// Clears the value of `levelUpRewardsOutProto128`. Subsequent reads from it will return its default value. + public mutating func clearLevelUpRewardsOutProto128() {_uniqueStorage()._levelUpRewardsOutProto128 = nil} - public var rawValue: Int { - switch self { - case .unset: return 0 - case .add: return 1 - case .edit: return 2 - case .remove: return 3 - case .UNRECOGNIZED(let i): return i - } + public var checkAwardedBadgesOutProto129: CheckAwardedBadgesOutProto { + get {return _storage._checkAwardedBadgesOutProto129 ?? CheckAwardedBadgesOutProto()} + set {_uniqueStorage()._checkAwardedBadgesOutProto129 = newValue} } + /// Returns true if `checkAwardedBadgesOutProto129` has been explicitly set. + public var hasCheckAwardedBadgesOutProto129: Bool {return _storage._checkAwardedBadgesOutProto129 != nil} + /// Clears the value of `checkAwardedBadgesOutProto129`. Subsequent reads from it will return its default value. + public mutating func clearCheckAwardedBadgesOutProto129() {_uniqueStorage()._checkAwardedBadgesOutProto129 = nil} - } + public var recycleItemOutProto137: RecycleItemOutProto { + get {return _storage._recycleItemOutProto137 ?? RecycleItemOutProto()} + set {_uniqueStorage()._recycleItemOutProto137 = newValue} + } + /// Returns true if `recycleItemOutProto137` has been explicitly set. + public var hasRecycleItemOutProto137: Bool {return _storage._recycleItemOutProto137 != nil} + /// Clears the value of `recycleItemOutProto137`. Subsequent reads from it will return its default value. + public mutating func clearRecycleItemOutProto137() {_uniqueStorage()._recycleItemOutProto137 = nil} - public init() {} + public var collectDailyBonusOutProto138: CollectDailyBonusOutProto { + get {return _storage._collectDailyBonusOutProto138 ?? CollectDailyBonusOutProto()} + set {_uniqueStorage()._collectDailyBonusOutProto138 = newValue} + } + /// Returns true if `collectDailyBonusOutProto138` has been explicitly set. + public var hasCollectDailyBonusOutProto138: Bool {return _storage._collectDailyBonusOutProto138 != nil} + /// Clears the value of `collectDailyBonusOutProto138`. Subsequent reads from it will return its default value. + public mutating func clearCollectDailyBonusOutProto138() {_uniqueStorage()._collectDailyBonusOutProto138 = nil} - fileprivate var _updatedAnchor: VpsAnchor? = nil -} + public var useItemXpBoostOutProto139: UseItemXpBoostOutProto { + get {return _storage._useItemXpBoostOutProto139 ?? UseItemXpBoostOutProto()} + set {_uniqueStorage()._useItemXpBoostOutProto139 = newValue} + } + /// Returns true if `useItemXpBoostOutProto139` has been explicitly set. + public var hasUseItemXpBoostOutProto139: Bool {return _storage._useItemXpBoostOutProto139 != nil} + /// Clears the value of `useItemXpBoostOutProto139`. Subsequent reads from it will return its default value. + public mutating func clearUseItemXpBoostOutProto139() {_uniqueStorage()._useItemXpBoostOutProto139 = nil} -#if swift(>=4.2) + public var useItemEggIncubatorOutProto140: UseItemEggIncubatorOutProto { + get {return _storage._useItemEggIncubatorOutProto140 ?? UseItemEggIncubatorOutProto()} + set {_uniqueStorage()._useItemEggIncubatorOutProto140 = newValue} + } + /// Returns true if `useItemEggIncubatorOutProto140` has been explicitly set. + public var hasUseItemEggIncubatorOutProto140: Bool {return _storage._useItemEggIncubatorOutProto140 != nil} + /// Clears the value of `useItemEggIncubatorOutProto140`. Subsequent reads from it will return its default value. + public mutating func clearUseItemEggIncubatorOutProto140() {_uniqueStorage()._useItemEggIncubatorOutProto140 = nil} -extension AnchorUpdateProto.AnchorUpdateType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AnchorUpdateProto.AnchorUpdateType] = [ - .unset, - .add, - .edit, - .remove, - ] -} + public var useIncenseActionOutProto141: UseIncenseActionOutProto { + get {return _storage._useIncenseActionOutProto141 ?? UseIncenseActionOutProto()} + set {_uniqueStorage()._useIncenseActionOutProto141 = newValue} + } + /// Returns true if `useIncenseActionOutProto141` has been explicitly set. + public var hasUseIncenseActionOutProto141: Bool {return _storage._useIncenseActionOutProto141 != nil} + /// Clears the value of `useIncenseActionOutProto141`. Subsequent reads from it will return its default value. + public mutating func clearUseIncenseActionOutProto141() {_uniqueStorage()._useIncenseActionOutProto141 = nil} -#endif // swift(>=4.2) + public var getIncensePokemonOutProto142: GetIncensePokemonOutProto { + get {return _storage._getIncensePokemonOutProto142 ?? GetIncensePokemonOutProto()} + set {_uniqueStorage()._getIncensePokemonOutProto142 = newValue} + } + /// Returns true if `getIncensePokemonOutProto142` has been explicitly set. + public var hasGetIncensePokemonOutProto142: Bool {return _storage._getIncensePokemonOutProto142 != nil} + /// Clears the value of `getIncensePokemonOutProto142`. Subsequent reads from it will return its default value. + public mutating func clearGetIncensePokemonOutProto142() {_uniqueStorage()._getIncensePokemonOutProto142 = nil} -public struct AndroidDataSource { - // 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. + public var incenseEncounterOutProto143: IncenseEncounterOutProto { + get {return _storage._incenseEncounterOutProto143 ?? IncenseEncounterOutProto()} + set {_uniqueStorage()._incenseEncounterOutProto143 = newValue} + } + /// Returns true if `incenseEncounterOutProto143` has been explicitly set. + public var hasIncenseEncounterOutProto143: Bool {return _storage._incenseEncounterOutProto143 != nil} + /// Clears the value of `incenseEncounterOutProto143`. Subsequent reads from it will return its default value. + public mutating func clearIncenseEncounterOutProto143() {_uniqueStorage()._incenseEncounterOutProto143 = nil} - public var isRaw: Bool = false + public var addFortModifierOutProto144: AddFortModifierOutProto { + get {return _storage._addFortModifierOutProto144 ?? AddFortModifierOutProto()} + set {_uniqueStorage()._addFortModifierOutProto144 = newValue} + } + /// Returns true if `addFortModifierOutProto144` has been explicitly set. + public var hasAddFortModifierOutProto144: Bool {return _storage._addFortModifierOutProto144 != nil} + /// Clears the value of `addFortModifierOutProto144`. Subsequent reads from it will return its default value. + public mutating func clearAddFortModifierOutProto144() {_uniqueStorage()._addFortModifierOutProto144 = nil} - public var appPackageName: String = String() + public var diskEncounterOutProto145: DiskEncounterOutProto { + get {return _storage._diskEncounterOutProto145 ?? DiskEncounterOutProto()} + set {_uniqueStorage()._diskEncounterOutProto145 = newValue} + } + /// Returns true if `diskEncounterOutProto145` has been explicitly set. + public var hasDiskEncounterOutProto145: Bool {return _storage._diskEncounterOutProto145 != nil} + /// Clears the value of `diskEncounterOutProto145`. Subsequent reads from it will return its default value. + public mutating func clearDiskEncounterOutProto145() {_uniqueStorage()._diskEncounterOutProto145 = nil} - public var streamIdentifier: String = String() + public var upgradePokemonOutProto147: UpgradePokemonOutProto { + get {return _storage._upgradePokemonOutProto147 ?? UpgradePokemonOutProto()} + set {_uniqueStorage()._upgradePokemonOutProto147 = newValue} + } + /// Returns true if `upgradePokemonOutProto147` has been explicitly set. + public var hasUpgradePokemonOutProto147: Bool {return _storage._upgradePokemonOutProto147 != nil} + /// Clears the value of `upgradePokemonOutProto147`. Subsequent reads from it will return its default value. + public mutating func clearUpgradePokemonOutProto147() {_uniqueStorage()._upgradePokemonOutProto147 = nil} - public var streamName: String = String() + public var setFavoritePokemonOutProto148: SetFavoritePokemonOutProto { + get {return _storage._setFavoritePokemonOutProto148 ?? SetFavoritePokemonOutProto()} + set {_uniqueStorage()._setFavoritePokemonOutProto148 = newValue} + } + /// Returns true if `setFavoritePokemonOutProto148` has been explicitly set. + public var hasSetFavoritePokemonOutProto148: Bool {return _storage._setFavoritePokemonOutProto148 != nil} + /// Clears the value of `setFavoritePokemonOutProto148`. Subsequent reads from it will return its default value. + public mutating func clearSetFavoritePokemonOutProto148() {_uniqueStorage()._setFavoritePokemonOutProto148 = nil} - public var device: AndroidDevice { - get {return _device ?? AndroidDevice()} - set {_device = newValue} - } - /// Returns true if `device` has been explicitly set. - public var hasDevice: Bool {return self._device != nil} - /// Clears the value of `device`. Subsequent reads from it will return its default value. - public mutating func clearDevice() {self._device = nil} + public var nicknamePokemonOutProto149: NicknamePokemonOutProto { + get {return _storage._nicknamePokemonOutProto149 ?? NicknamePokemonOutProto()} + set {_uniqueStorage()._nicknamePokemonOutProto149 = newValue} + } + /// Returns true if `nicknamePokemonOutProto149` has been explicitly set. + public var hasNicknamePokemonOutProto149: Bool {return _storage._nicknamePokemonOutProto149 != nil} + /// Clears the value of `nicknamePokemonOutProto149`. Subsequent reads from it will return its default value. + public mutating func clearNicknamePokemonOutProto149() {_uniqueStorage()._nicknamePokemonOutProto149 = nil} - public var dataType: String = String() + public var setContactsettingsOutProto151: SetContactSettingsOutProto { + get {return _storage._setContactsettingsOutProto151 ?? SetContactSettingsOutProto()} + set {_uniqueStorage()._setContactsettingsOutProto151 = newValue} + } + /// Returns true if `setContactsettingsOutProto151` has been explicitly set. + public var hasSetContactsettingsOutProto151: Bool {return _storage._setContactsettingsOutProto151 != nil} + /// Clears the value of `setContactsettingsOutProto151`. Subsequent reads from it will return its default value. + public mutating func clearSetContactsettingsOutProto151() {_uniqueStorage()._setContactsettingsOutProto151 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var setBuddyPokemonOutProto152: SetBuddyPokemonOutProto { + get {return _storage._setBuddyPokemonOutProto152 ?? SetBuddyPokemonOutProto()} + set {_uniqueStorage()._setBuddyPokemonOutProto152 = newValue} + } + /// Returns true if `setBuddyPokemonOutProto152` has been explicitly set. + public var hasSetBuddyPokemonOutProto152: Bool {return _storage._setBuddyPokemonOutProto152 != nil} + /// Clears the value of `setBuddyPokemonOutProto152`. Subsequent reads from it will return its default value. + public mutating func clearSetBuddyPokemonOutProto152() {_uniqueStorage()._setBuddyPokemonOutProto152 = nil} - public init() {} + public var getBuddyWalkedOutProto153: GetBuddyWalkedOutProto { + get {return _storage._getBuddyWalkedOutProto153 ?? GetBuddyWalkedOutProto()} + set {_uniqueStorage()._getBuddyWalkedOutProto153 = newValue} + } + /// Returns true if `getBuddyWalkedOutProto153` has been explicitly set. + public var hasGetBuddyWalkedOutProto153: Bool {return _storage._getBuddyWalkedOutProto153 != nil} + /// Clears the value of `getBuddyWalkedOutProto153`. Subsequent reads from it will return its default value. + public mutating func clearGetBuddyWalkedOutProto153() {_uniqueStorage()._getBuddyWalkedOutProto153 = nil} - fileprivate var _device: AndroidDevice? = nil -} + public var useItemEncounterOutProto154: UseItemEncounterOutProto { + get {return _storage._useItemEncounterOutProto154 ?? UseItemEncounterOutProto()} + set {_uniqueStorage()._useItemEncounterOutProto154 = newValue} + } + /// Returns true if `useItemEncounterOutProto154` has been explicitly set. + public var hasUseItemEncounterOutProto154: Bool {return _storage._useItemEncounterOutProto154 != nil} + /// Clears the value of `useItemEncounterOutProto154`. Subsequent reads from it will return its default value. + public mutating func clearUseItemEncounterOutProto154() {_uniqueStorage()._useItemEncounterOutProto154 = nil} -public struct AndroidDevice { - // 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. + public var gymDeployOutProto155: GymDeployOutProto { + get {return _storage._gymDeployOutProto155 ?? GymDeployOutProto()} + set {_uniqueStorage()._gymDeployOutProto155 = newValue} + } + /// Returns true if `gymDeployOutProto155` has been explicitly set. + public var hasGymDeployOutProto155: Bool {return _storage._gymDeployOutProto155 != nil} + /// Clears the value of `gymDeployOutProto155`. Subsequent reads from it will return its default value. + public mutating func clearGymDeployOutProto155() {_uniqueStorage()._gymDeployOutProto155 = nil} - public var manufacturer: String = String() + public var gymgetInfoOutProto156: GymGetInfoOutProto { + get {return _storage._gymgetInfoOutProto156 ?? GymGetInfoOutProto()} + set {_uniqueStorage()._gymgetInfoOutProto156 = newValue} + } + /// Returns true if `gymgetInfoOutProto156` has been explicitly set. + public var hasGymgetInfoOutProto156: Bool {return _storage._gymgetInfoOutProto156 != nil} + /// Clears the value of `gymgetInfoOutProto156`. Subsequent reads from it will return its default value. + public mutating func clearGymgetInfoOutProto156() {_uniqueStorage()._gymgetInfoOutProto156 = nil} - public var model: String = String() + public var gymStartSessionOutProto157: GymStartSessionOutProto { + get {return _storage._gymStartSessionOutProto157 ?? GymStartSessionOutProto()} + set {_uniqueStorage()._gymStartSessionOutProto157 = newValue} + } + /// Returns true if `gymStartSessionOutProto157` has been explicitly set. + public var hasGymStartSessionOutProto157: Bool {return _storage._gymStartSessionOutProto157 != nil} + /// Clears the value of `gymStartSessionOutProto157`. Subsequent reads from it will return its default value. + public mutating func clearGymStartSessionOutProto157() {_uniqueStorage()._gymStartSessionOutProto157 = nil} - public var type: AndroidDevice.DeviceType = .unknown + public var gymBattleAttackOutProto158: GymBattleAttackOutProto { + get {return _storage._gymBattleAttackOutProto158 ?? GymBattleAttackOutProto()} + set {_uniqueStorage()._gymBattleAttackOutProto158 = newValue} + } + /// Returns true if `gymBattleAttackOutProto158` has been explicitly set. + public var hasGymBattleAttackOutProto158: Bool {return _storage._gymBattleAttackOutProto158 != nil} + /// Clears the value of `gymBattleAttackOutProto158`. Subsequent reads from it will return its default value. + public mutating func clearGymBattleAttackOutProto158() {_uniqueStorage()._gymBattleAttackOutProto158 = nil} - public var uid: String = String() + public var joinLobbyOutProto159: JoinLobbyOutProto { + get {return _storage._joinLobbyOutProto159 ?? JoinLobbyOutProto()} + set {_uniqueStorage()._joinLobbyOutProto159 = newValue} + } + /// Returns true if `joinLobbyOutProto159` has been explicitly set. + public var hasJoinLobbyOutProto159: Bool {return _storage._joinLobbyOutProto159 != nil} + /// Clears the value of `joinLobbyOutProto159`. Subsequent reads from it will return its default value. + public mutating func clearJoinLobbyOutProto159() {_uniqueStorage()._joinLobbyOutProto159 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var leavelobbyOutProto160: LeaveLobbyOutProto { + get {return _storage._leavelobbyOutProto160 ?? LeaveLobbyOutProto()} + set {_uniqueStorage()._leavelobbyOutProto160 = newValue} + } + /// Returns true if `leavelobbyOutProto160` has been explicitly set. + public var hasLeavelobbyOutProto160: Bool {return _storage._leavelobbyOutProto160 != nil} + /// Clears the value of `leavelobbyOutProto160`. Subsequent reads from it will return its default value. + public mutating func clearLeavelobbyOutProto160() {_uniqueStorage()._leavelobbyOutProto160 = nil} - public enum DeviceType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case phone // = 1 - case tablet // = 2 - case watch // = 3 - case chestStrap // = 4 - case scale // = 5 - case headMounted // = 6 - case UNRECOGNIZED(Int) + public var setLobbyVisibilityOutProto161: SetLobbyVisibilityOutProto { + get {return _storage._setLobbyVisibilityOutProto161 ?? SetLobbyVisibilityOutProto()} + set {_uniqueStorage()._setLobbyVisibilityOutProto161 = newValue} + } + /// Returns true if `setLobbyVisibilityOutProto161` has been explicitly set. + public var hasSetLobbyVisibilityOutProto161: Bool {return _storage._setLobbyVisibilityOutProto161 != nil} + /// Clears the value of `setLobbyVisibilityOutProto161`. Subsequent reads from it will return its default value. + public mutating func clearSetLobbyVisibilityOutProto161() {_uniqueStorage()._setLobbyVisibilityOutProto161 = nil} - public init() { - self = .unknown + public var setLobbyPokemonOutProto162: SetLobbyPokemonOutProto { + get {return _storage._setLobbyPokemonOutProto162 ?? SetLobbyPokemonOutProto()} + set {_uniqueStorage()._setLobbyPokemonOutProto162 = newValue} } + /// Returns true if `setLobbyPokemonOutProto162` has been explicitly set. + public var hasSetLobbyPokemonOutProto162: Bool {return _storage._setLobbyPokemonOutProto162 != nil} + /// Clears the value of `setLobbyPokemonOutProto162`. Subsequent reads from it will return its default value. + public mutating func clearSetLobbyPokemonOutProto162() {_uniqueStorage()._setLobbyPokemonOutProto162 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .phone - case 2: self = .tablet - case 3: self = .watch - case 4: self = .chestStrap - case 5: self = .scale - case 6: self = .headMounted - default: self = .UNRECOGNIZED(rawValue) - } + public var getRaidDetailsOutProto163: GetRaidDetailsOutProto { + get {return _storage._getRaidDetailsOutProto163 ?? GetRaidDetailsOutProto()} + set {_uniqueStorage()._getRaidDetailsOutProto163 = newValue} } + /// Returns true if `getRaidDetailsOutProto163` has been explicitly set. + public var hasGetRaidDetailsOutProto163: Bool {return _storage._getRaidDetailsOutProto163 != nil} + /// Clears the value of `getRaidDetailsOutProto163`. Subsequent reads from it will return its default value. + public mutating func clearGetRaidDetailsOutProto163() {_uniqueStorage()._getRaidDetailsOutProto163 = nil} - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .phone: return 1 - case .tablet: return 2 - case .watch: return 3 - case .chestStrap: return 4 - case .scale: return 5 - case .headMounted: return 6 - case .UNRECOGNIZED(let i): return i - } + public var gymFeedPokemonOutProto164: GymFeedPokemonOutProto { + get {return _storage._gymFeedPokemonOutProto164 ?? GymFeedPokemonOutProto()} + set {_uniqueStorage()._gymFeedPokemonOutProto164 = newValue} } + /// Returns true if `gymFeedPokemonOutProto164` has been explicitly set. + public var hasGymFeedPokemonOutProto164: Bool {return _storage._gymFeedPokemonOutProto164 != nil} + /// Clears the value of `gymFeedPokemonOutProto164`. Subsequent reads from it will return its default value. + public mutating func clearGymFeedPokemonOutProto164() {_uniqueStorage()._gymFeedPokemonOutProto164 = nil} - } + public var startRaidBattleOutProto165: StartRaidBattleOutProto { + get {return _storage._startRaidBattleOutProto165 ?? StartRaidBattleOutProto()} + set {_uniqueStorage()._startRaidBattleOutProto165 = newValue} + } + /// Returns true if `startRaidBattleOutProto165` has been explicitly set. + public var hasStartRaidBattleOutProto165: Bool {return _storage._startRaidBattleOutProto165 != nil} + /// Clears the value of `startRaidBattleOutProto165`. Subsequent reads from it will return its default value. + public mutating func clearStartRaidBattleOutProto165() {_uniqueStorage()._startRaidBattleOutProto165 = nil} - public init() {} -} + public var attackRaidBattleOutProto166: AttackRaidBattleOutProto { + get {return _storage._attackRaidBattleOutProto166 ?? AttackRaidBattleOutProto()} + set {_uniqueStorage()._attackRaidBattleOutProto166 = newValue} + } + /// Returns true if `attackRaidBattleOutProto166` has been explicitly set. + public var hasAttackRaidBattleOutProto166: Bool {return _storage._attackRaidBattleOutProto166 != nil} + /// Clears the value of `attackRaidBattleOutProto166`. Subsequent reads from it will return its default value. + public mutating func clearAttackRaidBattleOutProto166() {_uniqueStorage()._attackRaidBattleOutProto166 = nil} -#if swift(>=4.2) + public var useItemStardustBoostOutProto168: UseItemStardustBoostOutProto { + get {return _storage._useItemStardustBoostOutProto168 ?? UseItemStardustBoostOutProto()} + set {_uniqueStorage()._useItemStardustBoostOutProto168 = newValue} + } + /// Returns true if `useItemStardustBoostOutProto168` has been explicitly set. + public var hasUseItemStardustBoostOutProto168: Bool {return _storage._useItemStardustBoostOutProto168 != nil} + /// Clears the value of `useItemStardustBoostOutProto168`. Subsequent reads from it will return its default value. + public mutating func clearUseItemStardustBoostOutProto168() {_uniqueStorage()._useItemStardustBoostOutProto168 = nil} -extension AndroidDevice.DeviceType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AndroidDevice.DeviceType] = [ - .unknown, - .phone, - .tablet, - .watch, - .chestStrap, - .scale, - .headMounted, - ] -} + public var reassignPlayerOutProto169: ReassignPlayerOutProto { + get {return _storage._reassignPlayerOutProto169 ?? ReassignPlayerOutProto()} + set {_uniqueStorage()._reassignPlayerOutProto169 = newValue} + } + /// Returns true if `reassignPlayerOutProto169` has been explicitly set. + public var hasReassignPlayerOutProto169: Bool {return _storage._reassignPlayerOutProto169 != nil} + /// Clears the value of `reassignPlayerOutProto169`. Subsequent reads from it will return its default value. + public mutating func clearReassignPlayerOutProto169() {_uniqueStorage()._reassignPlayerOutProto169 = nil} -#endif // swift(>=4.2) + public var convertcandyToXlcandyOutProto171: ConvertCandyToXlCandyOutProto { + get {return _storage._convertcandyToXlcandyOutProto171 ?? ConvertCandyToXlCandyOutProto()} + set {_uniqueStorage()._convertcandyToXlcandyOutProto171 = newValue} + } + /// Returns true if `convertcandyToXlcandyOutProto171` has been explicitly set. + public var hasConvertcandyToXlcandyOutProto171: Bool {return _storage._convertcandyToXlcandyOutProto171 != nil} + /// Clears the value of `convertcandyToXlcandyOutProto171`. Subsequent reads from it will return its default value. + public mutating func clearConvertcandyToXlcandyOutProto171() {_uniqueStorage()._convertcandyToXlcandyOutProto171 = nil} -public struct AnimationOverrideProto { - // 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. + public var isSkuAvailableOutProto172: IsSkuAvailableOutProto { + get {return _storage._isSkuAvailableOutProto172 ?? IsSkuAvailableOutProto()} + set {_uniqueStorage()._isSkuAvailableOutProto172 = newValue} + } + /// Returns true if `isSkuAvailableOutProto172` has been explicitly set. + public var hasIsSkuAvailableOutProto172: Bool {return _storage._isSkuAvailableOutProto172 != nil} + /// Clears the value of `isSkuAvailableOutProto172`. Subsequent reads from it will return its default value. + public mutating func clearIsSkuAvailableOutProto172() {_uniqueStorage()._isSkuAvailableOutProto172 = nil} - public var animation: AnimationOverrideProto.PokemonAnim = .none + public var assetDigestOutProto300: AssetDigestOutProto { + get {return _storage._assetDigestOutProto300 ?? AssetDigestOutProto()} + set {_uniqueStorage()._assetDigestOutProto300 = newValue} + } + /// Returns true if `assetDigestOutProto300` has been explicitly set. + public var hasAssetDigestOutProto300: Bool {return _storage._assetDigestOutProto300 != nil} + /// Clears the value of `assetDigestOutProto300`. Subsequent reads from it will return its default value. + public mutating func clearAssetDigestOutProto300() {_uniqueStorage()._assetDigestOutProto300 = nil} - public var blacklist: Bool = false + public var downloadURLOutProto301: DownloadUrlOutProto { + get {return _storage._downloadURLOutProto301 ?? DownloadUrlOutProto()} + set {_uniqueStorage()._downloadURLOutProto301 = newValue} + } + /// Returns true if `downloadURLOutProto301` has been explicitly set. + public var hasDownloadURLOutProto301: Bool {return _storage._downloadURLOutProto301 != nil} + /// Clears the value of `downloadURLOutProto301`. Subsequent reads from it will return its default value. + public mutating func clearDownloadURLOutProto301() {_uniqueStorage()._downloadURLOutProto301 = nil} - public var animMin: Float = 0 + public var assetVersionOutProto302: AssetVersionOutProto { + get {return _storage._assetVersionOutProto302 ?? AssetVersionOutProto()} + set {_uniqueStorage()._assetVersionOutProto302 = newValue} + } + /// Returns true if `assetVersionOutProto302` has been explicitly set. + public var hasAssetVersionOutProto302: Bool {return _storage._assetVersionOutProto302 != nil} + /// Clears the value of `assetVersionOutProto302`. Subsequent reads from it will return its default value. + public mutating func clearAssetVersionOutProto302() {_uniqueStorage()._assetVersionOutProto302 = nil} - public var animMax: Float = 0 + public var codenameResultProto403: CodenameResultProto { + get {return _storage._codenameResultProto403 ?? CodenameResultProto()} + set {_uniqueStorage()._codenameResultProto403 = newValue} + } + /// Returns true if `codenameResultProto403` has been explicitly set. + public var hasCodenameResultProto403: Bool {return _storage._codenameResultProto403 != nil} + /// Clears the value of `codenameResultProto403`. Subsequent reads from it will return its default value. + public mutating func clearCodenameResultProto403() {_uniqueStorage()._codenameResultProto403 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var setAvatarOutProto404: SetAvatarOutProto { + get {return _storage._setAvatarOutProto404 ?? SetAvatarOutProto()} + set {_uniqueStorage()._setAvatarOutProto404 = newValue} + } + /// Returns true if `setAvatarOutProto404` has been explicitly set. + public var hasSetAvatarOutProto404: Bool {return _storage._setAvatarOutProto404 != nil} + /// Clears the value of `setAvatarOutProto404`. Subsequent reads from it will return its default value. + public mutating func clearSetAvatarOutProto404() {_uniqueStorage()._setAvatarOutProto404 = nil} - public enum PokemonAnim: SwiftProtobuf.Enum { - public typealias RawValue = Int - case none // = 0 - case idle01 // = 1 - case idle02 // = 2 - case land // = 3 - case attack01 // = 4 - case attack02 // = 5 - case damaged // = 6 - case stunned // = 7 - case loop // = 8 - case UNRECOGNIZED(Int) + public var setPlayerTeamOutProto405: SetPlayerTeamOutProto { + get {return _storage._setPlayerTeamOutProto405 ?? SetPlayerTeamOutProto()} + set {_uniqueStorage()._setPlayerTeamOutProto405 = newValue} + } + /// Returns true if `setPlayerTeamOutProto405` has been explicitly set. + public var hasSetPlayerTeamOutProto405: Bool {return _storage._setPlayerTeamOutProto405 != nil} + /// Clears the value of `setPlayerTeamOutProto405`. Subsequent reads from it will return its default value. + public mutating func clearSetPlayerTeamOutProto405() {_uniqueStorage()._setPlayerTeamOutProto405 = nil} - public init() { - self = .none + public var markTutorialCompleteOutProto406: MarkTutorialCompleteOutProto { + get {return _storage._markTutorialCompleteOutProto406 ?? MarkTutorialCompleteOutProto()} + set {_uniqueStorage()._markTutorialCompleteOutProto406 = newValue} } + /// Returns true if `markTutorialCompleteOutProto406` has been explicitly set. + public var hasMarkTutorialCompleteOutProto406: Bool {return _storage._markTutorialCompleteOutProto406 != nil} + /// Clears the value of `markTutorialCompleteOutProto406`. Subsequent reads from it will return its default value. + public mutating func clearMarkTutorialCompleteOutProto406() {_uniqueStorage()._markTutorialCompleteOutProto406 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .none - case 1: self = .idle01 - case 2: self = .idle02 - case 3: self = .land - case 4: self = .attack01 - case 5: self = .attack02 - case 6: self = .damaged - case 7: self = .stunned - case 8: self = .loop - default: self = .UNRECOGNIZED(rawValue) - } + public var setNeutralAvatarOutProto408: SetNeutralAvatarOutProto { + get {return _storage._setNeutralAvatarOutProto408 ?? SetNeutralAvatarOutProto()} + set {_uniqueStorage()._setNeutralAvatarOutProto408 = newValue} } + /// Returns true if `setNeutralAvatarOutProto408` has been explicitly set. + public var hasSetNeutralAvatarOutProto408: Bool {return _storage._setNeutralAvatarOutProto408 != nil} + /// Clears the value of `setNeutralAvatarOutProto408`. Subsequent reads from it will return its default value. + public mutating func clearSetNeutralAvatarOutProto408() {_uniqueStorage()._setNeutralAvatarOutProto408 = nil} - public var rawValue: Int { - switch self { - case .none: return 0 - case .idle01: return 1 - case .idle02: return 2 - case .land: return 3 - case .attack01: return 4 - case .attack02: return 5 - case .damaged: return 6 - case .stunned: return 7 - case .loop: return 8 - case .UNRECOGNIZED(let i): return i - } + public var checkchallengeOutProto600: CheckChallengeOutProto { + get {return _storage._checkchallengeOutProto600 ?? CheckChallengeOutProto()} + set {_uniqueStorage()._checkchallengeOutProto600 = newValue} } + /// Returns true if `checkchallengeOutProto600` has been explicitly set. + public var hasCheckchallengeOutProto600: Bool {return _storage._checkchallengeOutProto600 != nil} + /// Clears the value of `checkchallengeOutProto600`. Subsequent reads from it will return its default value. + public mutating func clearCheckchallengeOutProto600() {_uniqueStorage()._checkchallengeOutProto600 = nil} - } + public var verifyChallengeOutProto601: VerifyChallengeOutProto { + get {return _storage._verifyChallengeOutProto601 ?? VerifyChallengeOutProto()} + set {_uniqueStorage()._verifyChallengeOutProto601 = newValue} + } + /// Returns true if `verifyChallengeOutProto601` has been explicitly set. + public var hasVerifyChallengeOutProto601: Bool {return _storage._verifyChallengeOutProto601 != nil} + /// Clears the value of `verifyChallengeOutProto601`. Subsequent reads from it will return its default value. + public mutating func clearVerifyChallengeOutProto601() {_uniqueStorage()._verifyChallengeOutProto601 = nil} - public init() {} -} + public var echoOutProto666: EchoOutProto { + get {return _storage._echoOutProto666 ?? EchoOutProto()} + set {_uniqueStorage()._echoOutProto666 = newValue} + } + /// Returns true if `echoOutProto666` has been explicitly set. + public var hasEchoOutProto666: Bool {return _storage._echoOutProto666 != nil} + /// Clears the value of `echoOutProto666`. Subsequent reads from it will return its default value. + public mutating func clearEchoOutProto666() {_uniqueStorage()._echoOutProto666 = nil} -#if swift(>=4.2) + public var registerSfidaresponse800: RegisterSfidaResponse { + get {return _storage._registerSfidaresponse800 ?? RegisterSfidaResponse()} + set {_uniqueStorage()._registerSfidaresponse800 = newValue} + } + /// Returns true if `registerSfidaresponse800` has been explicitly set. + public var hasRegisterSfidaresponse800: Bool {return _storage._registerSfidaresponse800 != nil} + /// Clears the value of `registerSfidaresponse800`. Subsequent reads from it will return its default value. + public mutating func clearRegisterSfidaresponse800() {_uniqueStorage()._registerSfidaresponse800 = nil} -extension AnimationOverrideProto.PokemonAnim: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AnimationOverrideProto.PokemonAnim] = [ - .none, - .idle01, - .idle02, - .land, - .attack01, - .attack02, - .damaged, - .stunned, - .loop, - ] -} + public var sfidaCertificationResponse802: SfidaCertificationResponse { + get {return _storage._sfidaCertificationResponse802 ?? SfidaCertificationResponse()} + set {_uniqueStorage()._sfidaCertificationResponse802 = newValue} + } + /// Returns true if `sfidaCertificationResponse802` has been explicitly set. + public var hasSfidaCertificationResponse802: Bool {return _storage._sfidaCertificationResponse802 != nil} + /// Clears the value of `sfidaCertificationResponse802`. Subsequent reads from it will return its default value. + public mutating func clearSfidaCertificationResponse802() {_uniqueStorage()._sfidaCertificationResponse802 = nil} -#endif // swift(>=4.2) + public var sfidaUpdateResponse803: SfidaUpdateResponse { + get {return _storage._sfidaUpdateResponse803 ?? SfidaUpdateResponse()} + set {_uniqueStorage()._sfidaUpdateResponse803 = newValue} + } + /// Returns true if `sfidaUpdateResponse803` has been explicitly set. + public var hasSfidaUpdateResponse803: Bool {return _storage._sfidaUpdateResponse803 != nil} + /// Clears the value of `sfidaUpdateResponse803`. Subsequent reads from it will return its default value. + public mutating func clearSfidaUpdateResponse803() {_uniqueStorage()._sfidaUpdateResponse803 = nil} -public struct Api { - // 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. + public var sfidaDowserResponse805: SfidaDowserResponse { + get {return _storage._sfidaDowserResponse805 ?? SfidaDowserResponse()} + set {_uniqueStorage()._sfidaDowserResponse805 = newValue} + } + /// Returns true if `sfidaDowserResponse805` has been explicitly set. + public var hasSfidaDowserResponse805: Bool {return _storage._sfidaDowserResponse805 != nil} + /// Clears the value of `sfidaDowserResponse805`. Subsequent reads from it will return its default value. + public mutating func clearSfidaDowserResponse805() {_uniqueStorage()._sfidaDowserResponse805 = nil} - public var name: String = String() + public var sfidaCaptureResponse806: SfidaCaptureResponse { + get {return _storage._sfidaCaptureResponse806 ?? SfidaCaptureResponse()} + set {_uniqueStorage()._sfidaCaptureResponse806 = newValue} + } + /// Returns true if `sfidaCaptureResponse806` has been explicitly set. + public var hasSfidaCaptureResponse806: Bool {return _storage._sfidaCaptureResponse806 != nil} + /// Clears the value of `sfidaCaptureResponse806`. Subsequent reads from it will return its default value. + public mutating func clearSfidaCaptureResponse806() {_uniqueStorage()._sfidaCaptureResponse806 = nil} - public var methods: [GoogleMethodProto] = [] + public var listAvatarCustomizationsOutProto807: ListAvatarCustomizationsOutProto { + get {return _storage._listAvatarCustomizationsOutProto807 ?? ListAvatarCustomizationsOutProto()} + set {_uniqueStorage()._listAvatarCustomizationsOutProto807 = newValue} + } + /// Returns true if `listAvatarCustomizationsOutProto807` has been explicitly set. + public var hasListAvatarCustomizationsOutProto807: Bool {return _storage._listAvatarCustomizationsOutProto807 != nil} + /// Clears the value of `listAvatarCustomizationsOutProto807`. Subsequent reads from it will return its default value. + public mutating func clearListAvatarCustomizationsOutProto807() {_uniqueStorage()._listAvatarCustomizationsOutProto807 = nil} - public var options: [Option] = [] + public var setAvatarItemAsViewedOutProto808: SetAvatarItemAsViewedOutProto { + get {return _storage._setAvatarItemAsViewedOutProto808 ?? SetAvatarItemAsViewedOutProto()} + set {_uniqueStorage()._setAvatarItemAsViewedOutProto808 = newValue} + } + /// Returns true if `setAvatarItemAsViewedOutProto808` has been explicitly set. + public var hasSetAvatarItemAsViewedOutProto808: Bool {return _storage._setAvatarItemAsViewedOutProto808 != nil} + /// Clears the value of `setAvatarItemAsViewedOutProto808`. Subsequent reads from it will return its default value. + public mutating func clearSetAvatarItemAsViewedOutProto808() {_uniqueStorage()._setAvatarItemAsViewedOutProto808 = nil} - public var version: String = String() + public var getInboxOutProto809: GetInboxOutProto { + get {return _storage._getInboxOutProto809 ?? GetInboxOutProto()} + set {_uniqueStorage()._getInboxOutProto809 = newValue} + } + /// Returns true if `getInboxOutProto809` has been explicitly set. + public var hasGetInboxOutProto809: Bool {return _storage._getInboxOutProto809 != nil} + /// Clears the value of `getInboxOutProto809`. Subsequent reads from it will return its default value. + public mutating func clearGetInboxOutProto809() {_uniqueStorage()._getInboxOutProto809 = nil} - public var sourceContext: SourceContext { - get {return _sourceContext ?? SourceContext()} - set {_sourceContext = newValue} - } - /// Returns true if `sourceContext` has been explicitly set. - public var hasSourceContext: Bool {return self._sourceContext != nil} - /// Clears the value of `sourceContext`. Subsequent reads from it will return its default value. - public mutating func clearSourceContext() {self._sourceContext = nil} + public var listGymBadgesOutProto811: ListGymBadgesOutProto { + get {return _storage._listGymBadgesOutProto811 ?? ListGymBadgesOutProto()} + set {_uniqueStorage()._listGymBadgesOutProto811 = newValue} + } + /// Returns true if `listGymBadgesOutProto811` has been explicitly set. + public var hasListGymBadgesOutProto811: Bool {return _storage._listGymBadgesOutProto811 != nil} + /// Clears the value of `listGymBadgesOutProto811`. Subsequent reads from it will return its default value. + public mutating func clearListGymBadgesOutProto811() {_uniqueStorage()._listGymBadgesOutProto811 = nil} - public var mixins: [Mixin] = [] + public var getgymBadgeDetailsOutProto812: GetGymBadgeDetailsOutProto { + get {return _storage._getgymBadgeDetailsOutProto812 ?? GetGymBadgeDetailsOutProto()} + set {_uniqueStorage()._getgymBadgeDetailsOutProto812 = newValue} + } + /// Returns true if `getgymBadgeDetailsOutProto812` has been explicitly set. + public var hasGetgymBadgeDetailsOutProto812: Bool {return _storage._getgymBadgeDetailsOutProto812 != nil} + /// Clears the value of `getgymBadgeDetailsOutProto812`. Subsequent reads from it will return its default value. + public mutating func clearGetgymBadgeDetailsOutProto812() {_uniqueStorage()._getgymBadgeDetailsOutProto812 = nil} - public var syntax: Syntax = .proto2 + public var useItemMoveRerollOutProto813: UseItemMoveRerollOutProto { + get {return _storage._useItemMoveRerollOutProto813 ?? UseItemMoveRerollOutProto()} + set {_uniqueStorage()._useItemMoveRerollOutProto813 = newValue} + } + /// Returns true if `useItemMoveRerollOutProto813` has been explicitly set. + public var hasUseItemMoveRerollOutProto813: Bool {return _storage._useItemMoveRerollOutProto813 != nil} + /// Clears the value of `useItemMoveRerollOutProto813`. Subsequent reads from it will return its default value. + public mutating func clearUseItemMoveRerollOutProto813() {_uniqueStorage()._useItemMoveRerollOutProto813 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var useItemRareCandyOutProto814: UseItemRareCandyOutProto { + get {return _storage._useItemRareCandyOutProto814 ?? UseItemRareCandyOutProto()} + set {_uniqueStorage()._useItemRareCandyOutProto814 = newValue} + } + /// Returns true if `useItemRareCandyOutProto814` has been explicitly set. + public var hasUseItemRareCandyOutProto814: Bool {return _storage._useItemRareCandyOutProto814 != nil} + /// Clears the value of `useItemRareCandyOutProto814`. Subsequent reads from it will return its default value. + public mutating func clearUseItemRareCandyOutProto814() {_uniqueStorage()._useItemRareCandyOutProto814 = nil} - public init() {} + public var awardFreeRaidTicketOutProto815: AwardFreeRaidTicketOutProto { + get {return _storage._awardFreeRaidTicketOutProto815 ?? AwardFreeRaidTicketOutProto()} + set {_uniqueStorage()._awardFreeRaidTicketOutProto815 = newValue} + } + /// Returns true if `awardFreeRaidTicketOutProto815` has been explicitly set. + public var hasAwardFreeRaidTicketOutProto815: Bool {return _storage._awardFreeRaidTicketOutProto815 != nil} + /// Clears the value of `awardFreeRaidTicketOutProto815`. Subsequent reads from it will return its default value. + public mutating func clearAwardFreeRaidTicketOutProto815() {_uniqueStorage()._awardFreeRaidTicketOutProto815 = nil} - fileprivate var _sourceContext: SourceContext? = nil -} + public var fetchAllNewsOutProto816: FetchAllNewsOutProto { + get {return _storage._fetchAllNewsOutProto816 ?? FetchAllNewsOutProto()} + set {_uniqueStorage()._fetchAllNewsOutProto816 = newValue} + } + /// Returns true if `fetchAllNewsOutProto816` has been explicitly set. + public var hasFetchAllNewsOutProto816: Bool {return _storage._fetchAllNewsOutProto816 != nil} + /// Clears the value of `fetchAllNewsOutProto816`. Subsequent reads from it will return its default value. + public mutating func clearFetchAllNewsOutProto816() {_uniqueStorage()._fetchAllNewsOutProto816 = nil} -public struct ApnToken { - // 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. + public var markReadNewsArticleOutProto817: MarkReadNewsArticleOutProto { + get {return _storage._markReadNewsArticleOutProto817 ?? MarkReadNewsArticleOutProto()} + set {_uniqueStorage()._markReadNewsArticleOutProto817 = newValue} + } + /// Returns true if `markReadNewsArticleOutProto817` has been explicitly set. + public var hasMarkReadNewsArticleOutProto817: Bool {return _storage._markReadNewsArticleOutProto817 != nil} + /// Clears the value of `markReadNewsArticleOutProto817`. Subsequent reads from it will return its default value. + public mutating func clearMarkReadNewsArticleOutProto817() {_uniqueStorage()._markReadNewsArticleOutProto817 = nil} - public var registrationID: String = String() + public var belugaTransactionStartOutProto819: BelugaTransactionStartOutProto { + get {return _storage._belugaTransactionStartOutProto819 ?? BelugaTransactionStartOutProto()} + set {_uniqueStorage()._belugaTransactionStartOutProto819 = newValue} + } + /// Returns true if `belugaTransactionStartOutProto819` has been explicitly set. + public var hasBelugaTransactionStartOutProto819: Bool {return _storage._belugaTransactionStartOutProto819 != nil} + /// Clears the value of `belugaTransactionStartOutProto819`. Subsequent reads from it will return its default value. + public mutating func clearBelugaTransactionStartOutProto819() {_uniqueStorage()._belugaTransactionStartOutProto819 = nil} - public var bundleIdentifier: String = String() + public var belugaTransactionCompleteOutProto820: BelugaTransactionCompleteOutProto { + get {return _storage._belugaTransactionCompleteOutProto820 ?? BelugaTransactionCompleteOutProto()} + set {_uniqueStorage()._belugaTransactionCompleteOutProto820 = newValue} + } + /// Returns true if `belugaTransactionCompleteOutProto820` has been explicitly set. + public var hasBelugaTransactionCompleteOutProto820: Bool {return _storage._belugaTransactionCompleteOutProto820 != nil} + /// Clears the value of `belugaTransactionCompleteOutProto820`. Subsequent reads from it will return its default value. + public mutating func clearBelugaTransactionCompleteOutProto820() {_uniqueStorage()._belugaTransactionCompleteOutProto820 = nil} - public var payloadByteSize: Int32 = 0 + public var sfidaAssociateResponse822: SfidaAssociateResponse { + get {return _storage._sfidaAssociateResponse822 ?? SfidaAssociateResponse()} + set {_uniqueStorage()._sfidaAssociateResponse822 = newValue} + } + /// Returns true if `sfidaAssociateResponse822` has been explicitly set. + public var hasSfidaAssociateResponse822: Bool {return _storage._sfidaAssociateResponse822 != nil} + /// Clears the value of `sfidaAssociateResponse822`. Subsequent reads from it will return its default value. + public mutating func clearSfidaAssociateResponse822() {_uniqueStorage()._sfidaAssociateResponse822 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var sfidaCheckPairingResponse823: SfidaCheckPairingResponse { + get {return _storage._sfidaCheckPairingResponse823 ?? SfidaCheckPairingResponse()} + set {_uniqueStorage()._sfidaCheckPairingResponse823 = newValue} + } + /// Returns true if `sfidaCheckPairingResponse823` has been explicitly set. + public var hasSfidaCheckPairingResponse823: Bool {return _storage._sfidaCheckPairingResponse823 != nil} + /// Clears the value of `sfidaCheckPairingResponse823`. Subsequent reads from it will return its default value. + public mutating func clearSfidaCheckPairingResponse823() {_uniqueStorage()._sfidaCheckPairingResponse823 = nil} - public init() {} -} + public var sfidaDisassociateResponse824: SfidaDisassociateResponse { + get {return _storage._sfidaDisassociateResponse824 ?? SfidaDisassociateResponse()} + set {_uniqueStorage()._sfidaDisassociateResponse824 = newValue} + } + /// Returns true if `sfidaDisassociateResponse824` has been explicitly set. + public var hasSfidaDisassociateResponse824: Bool {return _storage._sfidaDisassociateResponse824 != nil} + /// Clears the value of `sfidaDisassociateResponse824`. Subsequent reads from it will return its default value. + public mutating func clearSfidaDisassociateResponse824() {_uniqueStorage()._sfidaDisassociateResponse824 = nil} -public struct AppleToken { - // 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. + public var wainaGetRewardsResponse825: WainaGetRewardsResponse { + get {return _storage._wainaGetRewardsResponse825 ?? WainaGetRewardsResponse()} + set {_uniqueStorage()._wainaGetRewardsResponse825 = newValue} + } + /// Returns true if `wainaGetRewardsResponse825` has been explicitly set. + public var hasWainaGetRewardsResponse825: Bool {return _storage._wainaGetRewardsResponse825 != nil} + /// Clears the value of `wainaGetRewardsResponse825`. Subsequent reads from it will return its default value. + public mutating func clearWainaGetRewardsResponse825() {_uniqueStorage()._wainaGetRewardsResponse825 = nil} - public var idToken: String = String() + public var wainaSubmitSleepDataResponse826: WainaSubmitSleepDataResponse { + get {return _storage._wainaSubmitSleepDataResponse826 ?? WainaSubmitSleepDataResponse()} + set {_uniqueStorage()._wainaSubmitSleepDataResponse826 = newValue} + } + /// Returns true if `wainaSubmitSleepDataResponse826` has been explicitly set. + public var hasWainaSubmitSleepDataResponse826: Bool {return _storage._wainaSubmitSleepDataResponse826 != nil} + /// Clears the value of `wainaSubmitSleepDataResponse826`. Subsequent reads from it will return its default value. + public mutating func clearWainaSubmitSleepDataResponse826() {_uniqueStorage()._wainaSubmitSleepDataResponse826 = nil} - public var sessionToken: Data = Data() + public var getNewQuestsOutProto900: GetNewQuestsOutProto { + get {return _storage._getNewQuestsOutProto900 ?? GetNewQuestsOutProto()} + set {_uniqueStorage()._getNewQuestsOutProto900 = newValue} + } + /// Returns true if `getNewQuestsOutProto900` has been explicitly set. + public var hasGetNewQuestsOutProto900: Bool {return _storage._getNewQuestsOutProto900 != nil} + /// Clears the value of `getNewQuestsOutProto900`. Subsequent reads from it will return its default value. + public mutating func clearGetNewQuestsOutProto900() {_uniqueStorage()._getNewQuestsOutProto900 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var getQuestDetailsOutProto901: GetQuestDetailsOutProto { + get {return _storage._getQuestDetailsOutProto901 ?? GetQuestDetailsOutProto()} + set {_uniqueStorage()._getQuestDetailsOutProto901 = newValue} + } + /// Returns true if `getQuestDetailsOutProto901` has been explicitly set. + public var hasGetQuestDetailsOutProto901: Bool {return _storage._getQuestDetailsOutProto901 != nil} + /// Clears the value of `getQuestDetailsOutProto901`. Subsequent reads from it will return its default value. + public mutating func clearGetQuestDetailsOutProto901() {_uniqueStorage()._getQuestDetailsOutProto901 = nil} - public init() {} -} + public var completeQuestOutProto902: CompleteQuestOutProto { + get {return _storage._completeQuestOutProto902 ?? CompleteQuestOutProto()} + set {_uniqueStorage()._completeQuestOutProto902 = newValue} + } + /// Returns true if `completeQuestOutProto902` has been explicitly set. + public var hasCompleteQuestOutProto902: Bool {return _storage._completeQuestOutProto902 != nil} + /// Clears the value of `completeQuestOutProto902`. Subsequent reads from it will return its default value. + public mutating func clearCompleteQuestOutProto902() {_uniqueStorage()._completeQuestOutProto902 = nil} -public struct AppliedItemProto { - // 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. + public var removeQuestOutProto903: RemoveQuestOutProto { + get {return _storage._removeQuestOutProto903 ?? RemoveQuestOutProto()} + set {_uniqueStorage()._removeQuestOutProto903 = newValue} + } + /// Returns true if `removeQuestOutProto903` has been explicitly set. + public var hasRemoveQuestOutProto903: Bool {return _storage._removeQuestOutProto903 != nil} + /// Clears the value of `removeQuestOutProto903`. Subsequent reads from it will return its default value. + public mutating func clearRemoveQuestOutProto903() {_uniqueStorage()._removeQuestOutProto903 = nil} - public var item: Item = .unknown + public var questEncounterOutProto904: QuestEncounterOutProto { + get {return _storage._questEncounterOutProto904 ?? QuestEncounterOutProto()} + set {_uniqueStorage()._questEncounterOutProto904 = newValue} + } + /// Returns true if `questEncounterOutProto904` has been explicitly set. + public var hasQuestEncounterOutProto904: Bool {return _storage._questEncounterOutProto904 != nil} + /// Clears the value of `questEncounterOutProto904`. Subsequent reads from it will return its default value. + public mutating func clearQuestEncounterOutProto904() {_uniqueStorage()._questEncounterOutProto904 = nil} - public var itemType: HoloItemType = .itemTypeNone + public var progressQuestOutproto906: ProgressQuestOutProto { + get {return _storage._progressQuestOutproto906 ?? ProgressQuestOutProto()} + set {_uniqueStorage()._progressQuestOutproto906 = newValue} + } + /// Returns true if `progressQuestOutproto906` has been explicitly set. + public var hasProgressQuestOutproto906: Bool {return _storage._progressQuestOutproto906 != nil} + /// Clears the value of `progressQuestOutproto906`. Subsequent reads from it will return its default value. + public mutating func clearProgressQuestOutproto906() {_uniqueStorage()._progressQuestOutproto906 = nil} - public var expirationMs: Int64 = 0 + public var sendGiftOutProto950: SendGiftOutProto { + get {return _storage._sendGiftOutProto950 ?? SendGiftOutProto()} + set {_uniqueStorage()._sendGiftOutProto950 = newValue} + } + /// Returns true if `sendGiftOutProto950` has been explicitly set. + public var hasSendGiftOutProto950: Bool {return _storage._sendGiftOutProto950 != nil} + /// Clears the value of `sendGiftOutProto950`. Subsequent reads from it will return its default value. + public mutating func clearSendGiftOutProto950() {_uniqueStorage()._sendGiftOutProto950 = nil} - public var appliedMs: Int64 = 0 + public var openGiftoutProto951: OpenGiftOutProto { + get {return _storage._openGiftoutProto951 ?? OpenGiftOutProto()} + set {_uniqueStorage()._openGiftoutProto951 = newValue} + } + /// Returns true if `openGiftoutProto951` has been explicitly set. + public var hasOpenGiftoutProto951: Bool {return _storage._openGiftoutProto951 != nil} + /// Clears the value of `openGiftoutProto951`. Subsequent reads from it will return its default value. + public mutating func clearOpenGiftoutProto951() {_uniqueStorage()._openGiftoutProto951 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var getgiftBoxDetailsOutProto952: GetGiftBoxDetailsOutProto { + get {return _storage._getgiftBoxDetailsOutProto952 ?? GetGiftBoxDetailsOutProto()} + set {_uniqueStorage()._getgiftBoxDetailsOutProto952 = newValue} + } + /// Returns true if `getgiftBoxDetailsOutProto952` has been explicitly set. + public var hasGetgiftBoxDetailsOutProto952: Bool {return _storage._getgiftBoxDetailsOutProto952 != nil} + /// Clears the value of `getgiftBoxDetailsOutProto952`. Subsequent reads from it will return its default value. + public mutating func clearGetgiftBoxDetailsOutProto952() {_uniqueStorage()._getgiftBoxDetailsOutProto952 = nil} - public init() {} -} + public var deleteGiftOutProto953: DeleteGiftOutProto { + get {return _storage._deleteGiftOutProto953 ?? DeleteGiftOutProto()} + set {_uniqueStorage()._deleteGiftOutProto953 = newValue} + } + /// Returns true if `deleteGiftOutProto953` has been explicitly set. + public var hasDeleteGiftOutProto953: Bool {return _storage._deleteGiftOutProto953 != nil} + /// Clears the value of `deleteGiftOutProto953`. Subsequent reads from it will return its default value. + public mutating func clearDeleteGiftOutProto953() {_uniqueStorage()._deleteGiftOutProto953 = nil} -public struct AppliedItemsProto { - // 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. + public var savePlayersnapshotOutProto954: SavePlayerSnapshotOutProto { + get {return _storage._savePlayersnapshotOutProto954 ?? SavePlayerSnapshotOutProto()} + set {_uniqueStorage()._savePlayersnapshotOutProto954 = newValue} + } + /// Returns true if `savePlayersnapshotOutProto954` has been explicitly set. + public var hasSavePlayersnapshotOutProto954: Bool {return _storage._savePlayersnapshotOutProto954 != nil} + /// Clears the value of `savePlayersnapshotOutProto954`. Subsequent reads from it will return its default value. + public mutating func clearSavePlayersnapshotOutProto954() {_uniqueStorage()._savePlayersnapshotOutProto954 = nil} - public var item: [AppliedItemProto] = [] + public var checkSendGiftOutProto956: CheckSendGiftOutProto { + get {return _storage._checkSendGiftOutProto956 ?? CheckSendGiftOutProto()} + set {_uniqueStorage()._checkSendGiftOutProto956 = newValue} + } + /// Returns true if `checkSendGiftOutProto956` has been explicitly set. + public var hasCheckSendGiftOutProto956: Bool {return _storage._checkSendGiftOutProto956 != nil} + /// Clears the value of `checkSendGiftOutProto956`. Subsequent reads from it will return its default value. + public mutating func clearCheckSendGiftOutProto956() {_uniqueStorage()._checkSendGiftOutProto956 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var setFriendNicknameOutProto957: SetFriendNicknameOutProto { + get {return _storage._setFriendNicknameOutProto957 ?? SetFriendNicknameOutProto()} + set {_uniqueStorage()._setFriendNicknameOutProto957 = newValue} + } + /// Returns true if `setFriendNicknameOutProto957` has been explicitly set. + public var hasSetFriendNicknameOutProto957: Bool {return _storage._setFriendNicknameOutProto957 != nil} + /// Clears the value of `setFriendNicknameOutProto957`. Subsequent reads from it will return its default value. + public mutating func clearSetFriendNicknameOutProto957() {_uniqueStorage()._setFriendNicknameOutProto957 = nil} - public init() {} -} + public var deleteGiftFromInventoryOutProto958: DeleteGiftFromInventoryOutProto { + get {return _storage._deleteGiftFromInventoryOutProto958 ?? DeleteGiftFromInventoryOutProto()} + set {_uniqueStorage()._deleteGiftFromInventoryOutProto958 = newValue} + } + /// Returns true if `deleteGiftFromInventoryOutProto958` has been explicitly set. + public var hasDeleteGiftFromInventoryOutProto958: Bool {return _storage._deleteGiftFromInventoryOutProto958 != nil} + /// Clears the value of `deleteGiftFromInventoryOutProto958`. Subsequent reads from it will return its default value. + public mutating func clearDeleteGiftFromInventoryOutProto958() {_uniqueStorage()._deleteGiftFromInventoryOutProto958 = nil} -public struct AppraisalStarThresholdSettings { - // 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. + public var savesocialPlayersettingsOutProto959: SaveSocialPlayerSettingsOutProto { + get {return _storage._savesocialPlayersettingsOutProto959 ?? SaveSocialPlayerSettingsOutProto()} + set {_uniqueStorage()._savesocialPlayersettingsOutProto959 = newValue} + } + /// Returns true if `savesocialPlayersettingsOutProto959` has been explicitly set. + public var hasSavesocialPlayersettingsOutProto959: Bool {return _storage._savesocialPlayersettingsOutProto959 != nil} + /// Clears the value of `savesocialPlayersettingsOutProto959`. Subsequent reads from it will return its default value. + public mutating func clearSavesocialPlayersettingsOutProto959() {_uniqueStorage()._savesocialPlayersettingsOutProto959 = nil} - public var thresholdOneStar: Int32 = 0 + public var openTradingoutProto970: OpenTradingOutProto { + get {return _storage._openTradingoutProto970 ?? OpenTradingOutProto()} + set {_uniqueStorage()._openTradingoutProto970 = newValue} + } + /// Returns true if `openTradingoutProto970` has been explicitly set. + public var hasOpenTradingoutProto970: Bool {return _storage._openTradingoutProto970 != nil} + /// Clears the value of `openTradingoutProto970`. Subsequent reads from it will return its default value. + public mutating func clearOpenTradingoutProto970() {_uniqueStorage()._openTradingoutProto970 = nil} - public var thresholdTwoStar: Int32 = 0 + public var updateTradingOutProto971: UpdateTradingOutProto { + get {return _storage._updateTradingOutProto971 ?? UpdateTradingOutProto()} + set {_uniqueStorage()._updateTradingOutProto971 = newValue} + } + /// Returns true if `updateTradingOutProto971` has been explicitly set. + public var hasUpdateTradingOutProto971: Bool {return _storage._updateTradingOutProto971 != nil} + /// Clears the value of `updateTradingOutProto971`. Subsequent reads from it will return its default value. + public mutating func clearUpdateTradingOutProto971() {_uniqueStorage()._updateTradingOutProto971 = nil} - public var thresholdThreeStar: Int32 = 0 + public var confirmTradingOutProto972: ConfirmTradingOutProto { + get {return _storage._confirmTradingOutProto972 ?? ConfirmTradingOutProto()} + set {_uniqueStorage()._confirmTradingOutProto972 = newValue} + } + /// Returns true if `confirmTradingOutProto972` has been explicitly set. + public var hasConfirmTradingOutProto972: Bool {return _storage._confirmTradingOutProto972 != nil} + /// Clears the value of `confirmTradingOutProto972`. Subsequent reads from it will return its default value. + public mutating func clearConfirmTradingOutProto972() {_uniqueStorage()._confirmTradingOutProto972 = nil} - public var thresholdFourStar: Int32 = 0 + public var cancelTradingOutProto973: CancelTradingOutProto { + get {return _storage._cancelTradingOutProto973 ?? CancelTradingOutProto()} + set {_uniqueStorage()._cancelTradingOutProto973 = newValue} + } + /// Returns true if `cancelTradingOutProto973` has been explicitly set. + public var hasCancelTradingOutProto973: Bool {return _storage._cancelTradingOutProto973 != nil} + /// Clears the value of `cancelTradingOutProto973`. Subsequent reads from it will return its default value. + public mutating func clearCancelTradingOutProto973() {_uniqueStorage()._cancelTradingOutProto973 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var getTradingOutProto974: GetTradingOutProto { + get {return _storage._getTradingOutProto974 ?? GetTradingOutProto()} + set {_uniqueStorage()._getTradingOutProto974 = newValue} + } + /// Returns true if `getTradingOutProto974` has been explicitly set. + public var hasGetTradingOutProto974: Bool {return _storage._getTradingOutProto974 != nil} + /// Clears the value of `getTradingOutProto974`. Subsequent reads from it will return its default value. + public mutating func clearGetTradingOutProto974() {_uniqueStorage()._getTradingOutProto974 = nil} - public init() {} -} + public var getFitnessRewardsOutProto980: GetFitnessRewardsOutProto { + get {return _storage._getFitnessRewardsOutProto980 ?? GetFitnessRewardsOutProto()} + set {_uniqueStorage()._getFitnessRewardsOutProto980 = newValue} + } + /// Returns true if `getFitnessRewardsOutProto980` has been explicitly set. + public var hasGetFitnessRewardsOutProto980: Bool {return _storage._getFitnessRewardsOutProto980 != nil} + /// Clears the value of `getFitnessRewardsOutProto980`. Subsequent reads from it will return its default value. + public mutating func clearGetFitnessRewardsOutProto980() {_uniqueStorage()._getFitnessRewardsOutProto980 = nil} -public struct ApprovedCommonTelemetryProto { - // 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. + public var getCombatPlayerProfileOutProto990: GetCombatPlayerProfileOutProto { + get {return _storage._getCombatPlayerProfileOutProto990 ?? GetCombatPlayerProfileOutProto()} + set {_uniqueStorage()._getCombatPlayerProfileOutProto990 = newValue} + } + /// Returns true if `getCombatPlayerProfileOutProto990` has been explicitly set. + public var hasGetCombatPlayerProfileOutProto990: Bool {return _storage._getCombatPlayerProfileOutProto990 != nil} + /// Clears the value of `getCombatPlayerProfileOutProto990`. Subsequent reads from it will return its default value. + public mutating func clearGetCombatPlayerProfileOutProto990() {_uniqueStorage()._getCombatPlayerProfileOutProto990 = nil} - public var telemetryData: OneOf_TelemetryData? { - get {return _storage._telemetryData} - set {_uniqueStorage()._telemetryData = newValue} - } + public var generateCombatChallengeIDOutProto991: GenerateCombatChallengeIdOutProto { + get {return _storage._generateCombatChallengeIDOutProto991 ?? GenerateCombatChallengeIdOutProto()} + set {_uniqueStorage()._generateCombatChallengeIDOutProto991 = newValue} + } + /// Returns true if `generateCombatChallengeIDOutProto991` has been explicitly set. + public var hasGenerateCombatChallengeIDOutProto991: Bool {return _storage._generateCombatChallengeIDOutProto991 != nil} + /// Clears the value of `generateCombatChallengeIDOutProto991`. Subsequent reads from it will return its default value. + public mutating func clearGenerateCombatChallengeIDOutProto991() {_uniqueStorage()._generateCombatChallengeIDOutProto991 = nil} - public var bootTime: CommonTelemetryBootTime { - get { - if case .bootTime(let v)? = _storage._telemetryData {return v} - return CommonTelemetryBootTime() + public var createcombatchallengeOutProto992: CreateCombatChallengeOutProto { + get {return _storage._createcombatchallengeOutProto992 ?? CreateCombatChallengeOutProto()} + set {_uniqueStorage()._createcombatchallengeOutProto992 = newValue} } - set {_uniqueStorage()._telemetryData = .bootTime(newValue)} - } + /// Returns true if `createcombatchallengeOutProto992` has been explicitly set. + public var hasCreatecombatchallengeOutProto992: Bool {return _storage._createcombatchallengeOutProto992 != nil} + /// Clears the value of `createcombatchallengeOutProto992`. Subsequent reads from it will return its default value. + public mutating func clearCreatecombatchallengeOutProto992() {_uniqueStorage()._createcombatchallengeOutProto992 = nil} - public var shopClick: CommonTelemetryShopClick { - get { - if case .shopClick(let v)? = _storage._telemetryData {return v} - return CommonTelemetryShopClick() + public var openCombatChallengeoutProto993: OpenCombatChallengeOutProto { + get {return _storage._openCombatChallengeoutProto993 ?? OpenCombatChallengeOutProto()} + set {_uniqueStorage()._openCombatChallengeoutProto993 = newValue} } - set {_uniqueStorage()._telemetryData = .shopClick(newValue)} - } + /// Returns true if `openCombatChallengeoutProto993` has been explicitly set. + public var hasOpenCombatChallengeoutProto993: Bool {return _storage._openCombatChallengeoutProto993 != nil} + /// Clears the value of `openCombatChallengeoutProto993`. Subsequent reads from it will return its default value. + public mutating func clearOpenCombatChallengeoutProto993() {_uniqueStorage()._openCombatChallengeoutProto993 = nil} - public var shopView: CommonTelemetryShopView { - get { - if case .shopView(let v)? = _storage._telemetryData {return v} - return CommonTelemetryShopView() + public var getCombatChallengeOutProto994: GetCombatChallengeOutProto { + get {return _storage._getCombatChallengeOutProto994 ?? GetCombatChallengeOutProto()} + set {_uniqueStorage()._getCombatChallengeOutProto994 = newValue} } - set {_uniqueStorage()._telemetryData = .shopView(newValue)} - } + /// Returns true if `getCombatChallengeOutProto994` has been explicitly set. + public var hasGetCombatChallengeOutProto994: Bool {return _storage._getCombatChallengeOutProto994 != nil} + /// Clears the value of `getCombatChallengeOutProto994`. Subsequent reads from it will return its default value. + public mutating func clearGetCombatChallengeOutProto994() {_uniqueStorage()._getCombatChallengeOutProto994 = nil} - public var poiSubmissionTelemetry: PoiSubmissionTelemetry { - get { - if case .poiSubmissionTelemetry(let v)? = _storage._telemetryData {return v} - return PoiSubmissionTelemetry() + public var acceptCombatChallengeOutProto995: AcceptCombatChallengeOutProto { + get {return _storage._acceptCombatChallengeOutProto995 ?? AcceptCombatChallengeOutProto()} + set {_uniqueStorage()._acceptCombatChallengeOutProto995 = newValue} } - set {_uniqueStorage()._telemetryData = .poiSubmissionTelemetry(newValue)} - } + /// Returns true if `acceptCombatChallengeOutProto995` has been explicitly set. + public var hasAcceptCombatChallengeOutProto995: Bool {return _storage._acceptCombatChallengeOutProto995 != nil} + /// Clears the value of `acceptCombatChallengeOutProto995`. Subsequent reads from it will return its default value. + public mutating func clearAcceptCombatChallengeOutProto995() {_uniqueStorage()._acceptCombatChallengeOutProto995 = nil} - public var poiSubmissionPhotoUploadErrorTelemetry: PoiSubmissionPhotoUploadErrorTelemetry { - get { - if case .poiSubmissionPhotoUploadErrorTelemetry(let v)? = _storage._telemetryData {return v} - return PoiSubmissionPhotoUploadErrorTelemetry() + public var declineCombatChallengeOutProto996: DeclineCombatChallengeOutProto { + get {return _storage._declineCombatChallengeOutProto996 ?? DeclineCombatChallengeOutProto()} + set {_uniqueStorage()._declineCombatChallengeOutProto996 = newValue} } - set {_uniqueStorage()._telemetryData = .poiSubmissionPhotoUploadErrorTelemetry(newValue)} - } + /// Returns true if `declineCombatChallengeOutProto996` has been explicitly set. + public var hasDeclineCombatChallengeOutProto996: Bool {return _storage._declineCombatChallengeOutProto996 != nil} + /// Clears the value of `declineCombatChallengeOutProto996`. Subsequent reads from it will return its default value. + public mutating func clearDeclineCombatChallengeOutProto996() {_uniqueStorage()._declineCombatChallengeOutProto996 = nil} - public var logIn: CommonTelemetryLogIn { - get { - if case .logIn(let v)? = _storage._telemetryData {return v} - return CommonTelemetryLogIn() + public var cancelcombatchallengeOutProto997: CancelCombatChallengeOutProto { + get {return _storage._cancelcombatchallengeOutProto997 ?? CancelCombatChallengeOutProto()} + set {_uniqueStorage()._cancelcombatchallengeOutProto997 = newValue} } - set {_uniqueStorage()._telemetryData = .logIn(newValue)} - } + /// Returns true if `cancelcombatchallengeOutProto997` has been explicitly set. + public var hasCancelcombatchallengeOutProto997: Bool {return _storage._cancelcombatchallengeOutProto997 != nil} + /// Clears the value of `cancelcombatchallengeOutProto997`. Subsequent reads from it will return its default value. + public mutating func clearCancelcombatchallengeOutProto997() {_uniqueStorage()._cancelcombatchallengeOutProto997 = nil} - public var poiCategorizationEntryTelemetry: PoiCategorizationEntryTelemetry { - get { - if case .poiCategorizationEntryTelemetry(let v)? = _storage._telemetryData {return v} - return PoiCategorizationEntryTelemetry() + public var submitCombatChallengePokemonsOutProto998: SubmitCombatChallengePokemonsOutProto { + get {return _storage._submitCombatChallengePokemonsOutProto998 ?? SubmitCombatChallengePokemonsOutProto()} + set {_uniqueStorage()._submitCombatChallengePokemonsOutProto998 = newValue} } - set {_uniqueStorage()._telemetryData = .poiCategorizationEntryTelemetry(newValue)} - } + /// Returns true if `submitCombatChallengePokemonsOutProto998` has been explicitly set. + public var hasSubmitCombatChallengePokemonsOutProto998: Bool {return _storage._submitCombatChallengePokemonsOutProto998 != nil} + /// Clears the value of `submitCombatChallengePokemonsOutProto998`. Subsequent reads from it will return its default value. + public mutating func clearSubmitCombatChallengePokemonsOutProto998() {_uniqueStorage()._submitCombatChallengePokemonsOutProto998 = nil} - public var poiCategorizationOperationTelemetry: PoiCategorizationOperationTelemetry { - get { - if case .poiCategorizationOperationTelemetry(let v)? = _storage._telemetryData {return v} - return PoiCategorizationOperationTelemetry() + public var saveCombatPlayerPreferencesOutProto999: SaveCombatPlayerPreferencesOutProto { + get {return _storage._saveCombatPlayerPreferencesOutProto999 ?? SaveCombatPlayerPreferencesOutProto()} + set {_uniqueStorage()._saveCombatPlayerPreferencesOutProto999 = newValue} } - set {_uniqueStorage()._telemetryData = .poiCategorizationOperationTelemetry(newValue)} - } + /// Returns true if `saveCombatPlayerPreferencesOutProto999` has been explicitly set. + public var hasSaveCombatPlayerPreferencesOutProto999: Bool {return _storage._saveCombatPlayerPreferencesOutProto999 != nil} + /// Clears the value of `saveCombatPlayerPreferencesOutProto999`. Subsequent reads from it will return its default value. + public mutating func clearSaveCombatPlayerPreferencesOutProto999() {_uniqueStorage()._saveCombatPlayerPreferencesOutProto999 = nil} - public var poiCategorizationSelectedTelemetry: PoiCategorySelectedTelemetry { - get { - if case .poiCategorizationSelectedTelemetry(let v)? = _storage._telemetryData {return v} - return PoiCategorySelectedTelemetry() + public var openCombatSessionoutProto1000: OpenCombatSessionOutProto { + get {return _storage._openCombatSessionoutProto1000 ?? OpenCombatSessionOutProto()} + set {_uniqueStorage()._openCombatSessionoutProto1000 = newValue} } - set {_uniqueStorage()._telemetryData = .poiCategorizationSelectedTelemetry(newValue)} - } + /// Returns true if `openCombatSessionoutProto1000` has been explicitly set. + public var hasOpenCombatSessionoutProto1000: Bool {return _storage._openCombatSessionoutProto1000 != nil} + /// Clears the value of `openCombatSessionoutProto1000`. Subsequent reads from it will return its default value. + public mutating func clearOpenCombatSessionoutProto1000() {_uniqueStorage()._openCombatSessionoutProto1000 = nil} - public var poiCategorizationRemovedTelemetry: PoiCategoryRemovedTelemetry { - get { - if case .poiCategorizationRemovedTelemetry(let v)? = _storage._telemetryData {return v} - return PoiCategoryRemovedTelemetry() + public var updateCombatOutProto1001: UpdateCombatOutProto { + get {return _storage._updateCombatOutProto1001 ?? UpdateCombatOutProto()} + set {_uniqueStorage()._updateCombatOutProto1001 = newValue} } - set {_uniqueStorage()._telemetryData = .poiCategorizationRemovedTelemetry(newValue)} - } + /// Returns true if `updateCombatOutProto1001` has been explicitly set. + public var hasUpdateCombatOutProto1001: Bool {return _storage._updateCombatOutProto1001 != nil} + /// Clears the value of `updateCombatOutProto1001`. Subsequent reads from it will return its default value. + public mutating func clearUpdateCombatOutProto1001() {_uniqueStorage()._updateCombatOutProto1001 = nil} - public var wayfarerOnboardingFlowTelemetry: WayfarerOnboardingFlowTelemetry { - get { - if case .wayfarerOnboardingFlowTelemetry(let v)? = _storage._telemetryData {return v} - return WayfarerOnboardingFlowTelemetry() + public var quitCombatOutProto1002: QuitCombatOutProto { + get {return _storage._quitCombatOutProto1002 ?? QuitCombatOutProto()} + set {_uniqueStorage()._quitCombatOutProto1002 = newValue} } - set {_uniqueStorage()._telemetryData = .wayfarerOnboardingFlowTelemetry(newValue)} - } + /// Returns true if `quitCombatOutProto1002` has been explicitly set. + public var hasQuitCombatOutProto1002: Bool {return _storage._quitCombatOutProto1002 != nil} + /// Clears the value of `quitCombatOutProto1002`. Subsequent reads from it will return its default value. + public mutating func clearQuitCombatOutProto1002() {_uniqueStorage()._quitCombatOutProto1002 = nil} - public var asPermissionFlowTelemetry: ASPermissionFlowTelemetry { - get { - if case .asPermissionFlowTelemetry(let v)? = _storage._telemetryData {return v} - return ASPermissionFlowTelemetry() + public var getCombatResultsOutProto1003: GetCombatResultsOutProto { + get {return _storage._getCombatResultsOutProto1003 ?? GetCombatResultsOutProto()} + set {_uniqueStorage()._getCombatResultsOutProto1003 = newValue} } - set {_uniqueStorage()._telemetryData = .asPermissionFlowTelemetry(newValue)} - } + /// Returns true if `getCombatResultsOutProto1003` has been explicitly set. + public var hasGetCombatResultsOutProto1003: Bool {return _storage._getCombatResultsOutProto1003 != nil} + /// Clears the value of `getCombatResultsOutProto1003`. Subsequent reads from it will return its default value. + public mutating func clearGetCombatResultsOutProto1003() {_uniqueStorage()._getCombatResultsOutProto1003 = nil} - public var logOut: CommonTelemetryLogOut { - get { - if case .logOut(let v)? = _storage._telemetryData {return v} - return CommonTelemetryLogOut() + public var unlockPokemonMoveOutProto1004: UnlockPokemonMoveOutProto { + get {return _storage._unlockPokemonMoveOutProto1004 ?? UnlockPokemonMoveOutProto()} + set {_uniqueStorage()._unlockPokemonMoveOutProto1004 = newValue} } - set {_uniqueStorage()._telemetryData = .logOut(newValue)} - } + /// Returns true if `unlockPokemonMoveOutProto1004` has been explicitly set. + public var hasUnlockPokemonMoveOutProto1004: Bool {return _storage._unlockPokemonMoveOutProto1004 != nil} + /// Clears the value of `unlockPokemonMoveOutProto1004`. Subsequent reads from it will return its default value. + public mutating func clearUnlockPokemonMoveOutProto1004() {_uniqueStorage()._unlockPokemonMoveOutProto1004 = nil} - public var omniPushEvent: CommonTelemetryOmniPushEvent { - get { - if case .omniPushEvent(let v)? = _storage._telemetryData {return v} - return CommonTelemetryOmniPushEvent() + public var getNpcCombatRewardsOutProto1005: GetNpcCombatRewardsOutProto { + get {return _storage._getNpcCombatRewardsOutProto1005 ?? GetNpcCombatRewardsOutProto()} + set {_uniqueStorage()._getNpcCombatRewardsOutProto1005 = newValue} } - set {_uniqueStorage()._telemetryData = .omniPushEvent(newValue)} - } + /// Returns true if `getNpcCombatRewardsOutProto1005` has been explicitly set. + public var hasGetNpcCombatRewardsOutProto1005: Bool {return _storage._getNpcCombatRewardsOutProto1005 != nil} + /// Clears the value of `getNpcCombatRewardsOutProto1005`. Subsequent reads from it will return its default value. + public mutating func clearGetNpcCombatRewardsOutProto1005() {_uniqueStorage()._getNpcCombatRewardsOutProto1005 = nil} - public var serverData: ServerRecordMetadata { - get {return _storage._serverData ?? ServerRecordMetadata()} - set {_uniqueStorage()._serverData = newValue} - } - /// Returns true if `serverData` has been explicitly set. - public var hasServerData: Bool {return _storage._serverData != nil} - /// Clears the value of `serverData`. Subsequent reads from it will return its default value. - public mutating func clearServerData() {_uniqueStorage()._serverData = nil} + public var combatFriendRequestOutProto1006: CombatFriendRequestOutProto { + get {return _storage._combatFriendRequestOutProto1006 ?? CombatFriendRequestOutProto()} + set {_uniqueStorage()._combatFriendRequestOutProto1006 = newValue} + } + /// Returns true if `combatFriendRequestOutProto1006` has been explicitly set. + public var hasCombatFriendRequestOutProto1006: Bool {return _storage._combatFriendRequestOutProto1006 != nil} + /// Clears the value of `combatFriendRequestOutProto1006`. Subsequent reads from it will return its default value. + public mutating func clearCombatFriendRequestOutProto1006() {_uniqueStorage()._combatFriendRequestOutProto1006 = nil} - public var commonFilters: ClientTelemetryCommonFilterProto { - get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} - set {_uniqueStorage()._commonFilters = newValue} - } - /// Returns true if `commonFilters` has been explicitly set. - public var hasCommonFilters: Bool {return _storage._commonFilters != nil} - /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. - public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} + public var openNpcCombatSessionoutProto1007: OpenNpcCombatSessionOutProto { + get {return _storage._openNpcCombatSessionoutProto1007 ?? OpenNpcCombatSessionOutProto()} + set {_uniqueStorage()._openNpcCombatSessionoutProto1007 = newValue} + } + /// Returns true if `openNpcCombatSessionoutProto1007` has been explicitly set. + public var hasOpenNpcCombatSessionoutProto1007: Bool {return _storage._openNpcCombatSessionoutProto1007 != nil} + /// Clears the value of `openNpcCombatSessionoutProto1007`. Subsequent reads from it will return its default value. + public mutating func clearOpenNpcCombatSessionoutProto1007() {_uniqueStorage()._openNpcCombatSessionoutProto1007 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var startTutorialOutProto1008: StartTutorialOutProto { + get {return _storage._startTutorialOutProto1008 ?? StartTutorialOutProto()} + set {_uniqueStorage()._startTutorialOutProto1008 = newValue} + } + /// Returns true if `startTutorialOutProto1008` has been explicitly set. + public var hasStartTutorialOutProto1008: Bool {return _storage._startTutorialOutProto1008 != nil} + /// Clears the value of `startTutorialOutProto1008`. Subsequent reads from it will return its default value. + public mutating func clearStartTutorialOutProto1008() {_uniqueStorage()._startTutorialOutProto1008 = nil} - public enum OneOf_TelemetryData: Equatable { - case bootTime(CommonTelemetryBootTime) - case shopClick(CommonTelemetryShopClick) - case shopView(CommonTelemetryShopView) - case poiSubmissionTelemetry(PoiSubmissionTelemetry) - case poiSubmissionPhotoUploadErrorTelemetry(PoiSubmissionPhotoUploadErrorTelemetry) - case logIn(CommonTelemetryLogIn) - case poiCategorizationEntryTelemetry(PoiCategorizationEntryTelemetry) - case poiCategorizationOperationTelemetry(PoiCategorizationOperationTelemetry) - case poiCategorizationSelectedTelemetry(PoiCategorySelectedTelemetry) - case poiCategorizationRemovedTelemetry(PoiCategoryRemovedTelemetry) - case wayfarerOnboardingFlowTelemetry(WayfarerOnboardingFlowTelemetry) - case asPermissionFlowTelemetry(ASPermissionFlowTelemetry) - case logOut(CommonTelemetryLogOut) - case omniPushEvent(CommonTelemetryOmniPushEvent) + public var getTutorialEggOutProto1009: GetTutorialEggOutProto { + get {return _storage._getTutorialEggOutProto1009 ?? GetTutorialEggOutProto()} + set {_uniqueStorage()._getTutorialEggOutProto1009 = newValue} + } + /// Returns true if `getTutorialEggOutProto1009` has been explicitly set. + public var hasGetTutorialEggOutProto1009: Bool {return _storage._getTutorialEggOutProto1009 != nil} + /// Clears the value of `getTutorialEggOutProto1009`. Subsequent reads from it will return its default value. + public mutating func clearGetTutorialEggOutProto1009() {_uniqueStorage()._getTutorialEggOutProto1009 = nil} - #if !swift(>=4.1) - public static func ==(lhs: ApprovedCommonTelemetryProto.OneOf_TelemetryData, rhs: ApprovedCommonTelemetryProto.OneOf_TelemetryData) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.bootTime, .bootTime): return { - guard case .bootTime(let l) = lhs, case .bootTime(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.shopClick, .shopClick): return { - guard case .shopClick(let l) = lhs, case .shopClick(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.shopView, .shopView): return { - guard case .shopView(let l) = lhs, case .shopView(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.poiSubmissionTelemetry, .poiSubmissionTelemetry): return { - guard case .poiSubmissionTelemetry(let l) = lhs, case .poiSubmissionTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.poiSubmissionPhotoUploadErrorTelemetry, .poiSubmissionPhotoUploadErrorTelemetry): return { - guard case .poiSubmissionPhotoUploadErrorTelemetry(let l) = lhs, case .poiSubmissionPhotoUploadErrorTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.logIn, .logIn): return { - guard case .logIn(let l) = lhs, case .logIn(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.poiCategorizationEntryTelemetry, .poiCategorizationEntryTelemetry): return { - guard case .poiCategorizationEntryTelemetry(let l) = lhs, case .poiCategorizationEntryTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.poiCategorizationOperationTelemetry, .poiCategorizationOperationTelemetry): return { - guard case .poiCategorizationOperationTelemetry(let l) = lhs, case .poiCategorizationOperationTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.poiCategorizationSelectedTelemetry, .poiCategorizationSelectedTelemetry): return { - guard case .poiCategorizationSelectedTelemetry(let l) = lhs, case .poiCategorizationSelectedTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.poiCategorizationRemovedTelemetry, .poiCategorizationRemovedTelemetry): return { - guard case .poiCategorizationRemovedTelemetry(let l) = lhs, case .poiCategorizationRemovedTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.wayfarerOnboardingFlowTelemetry, .wayfarerOnboardingFlowTelemetry): return { - guard case .wayfarerOnboardingFlowTelemetry(let l) = lhs, case .wayfarerOnboardingFlowTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.asPermissionFlowTelemetry, .asPermissionFlowTelemetry): return { - guard case .asPermissionFlowTelemetry(let l) = lhs, case .asPermissionFlowTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.logOut, .logOut): return { - guard case .logOut(let l) = lhs, case .logOut(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.omniPushEvent, .omniPushEvent): return { - guard case .omniPushEvent(let l) = lhs, case .omniPushEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } + public var sendProbeOutProto1020: SendProbeOutProto { + get {return _storage._sendProbeOutProto1020 ?? SendProbeOutProto()} + set {_uniqueStorage()._sendProbeOutProto1020 = newValue} } - #endif - } + /// Returns true if `sendProbeOutProto1020` has been explicitly set. + public var hasSendProbeOutProto1020: Bool {return _storage._sendProbeOutProto1020 != nil} + /// Clears the value of `sendProbeOutProto1020`. Subsequent reads from it will return its default value. + public mutating func clearSendProbeOutProto1020() {_uniqueStorage()._sendProbeOutProto1020 = nil} - public init() {} + public var checkPhotobombOutProto1101: CheckPhotobombOutProto { + get {return _storage._checkPhotobombOutProto1101 ?? CheckPhotobombOutProto()} + set {_uniqueStorage()._checkPhotobombOutProto1101 = newValue} + } + /// Returns true if `checkPhotobombOutProto1101` has been explicitly set. + public var hasCheckPhotobombOutProto1101: Bool {return _storage._checkPhotobombOutProto1101 != nil} + /// Clears the value of `checkPhotobombOutProto1101`. Subsequent reads from it will return its default value. + public mutating func clearCheckPhotobombOutProto1101() {_uniqueStorage()._checkPhotobombOutProto1101 = nil} - fileprivate var _storage = _StorageClass.defaultInstance -} + public var confirmPhotobombOutProto1102: ConfirmPhotobombOutProto { + get {return _storage._confirmPhotobombOutProto1102 ?? ConfirmPhotobombOutProto()} + set {_uniqueStorage()._confirmPhotobombOutProto1102 = newValue} + } + /// Returns true if `confirmPhotobombOutProto1102` has been explicitly set. + public var hasConfirmPhotobombOutProto1102: Bool {return _storage._confirmPhotobombOutProto1102 != nil} + /// Clears the value of `confirmPhotobombOutProto1102`. Subsequent reads from it will return its default value. + public mutating func clearConfirmPhotobombOutProto1102() {_uniqueStorage()._confirmPhotobombOutProto1102 = nil} -public struct ArMappingSessionTelemetryProto { - // 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. + public var getPhotobombOutProto1103: GetPhotobombOutProto { + get {return _storage._getPhotobombOutProto1103 ?? GetPhotobombOutProto()} + set {_uniqueStorage()._getPhotobombOutProto1103 = newValue} + } + /// Returns true if `getPhotobombOutProto1103` has been explicitly set. + public var hasGetPhotobombOutProto1103: Bool {return _storage._getPhotobombOutProto1103 != nil} + /// Clears the value of `getPhotobombOutProto1103`. Subsequent reads from it will return its default value. + public mutating func clearGetPhotobombOutProto1103() {_uniqueStorage()._getPhotobombOutProto1103 = nil} - public var fulfilledGeotargetedQuest: Bool = false + public var encounterPhotobombOutProto1104: EncounterPhotobombOutProto { + get {return _storage._encounterPhotobombOutProto1104 ?? EncounterPhotobombOutProto()} + set {_uniqueStorage()._encounterPhotobombOutProto1104 = newValue} + } + /// Returns true if `encounterPhotobombOutProto1104` has been explicitly set. + public var hasEncounterPhotobombOutProto1104: Bool {return _storage._encounterPhotobombOutProto1104 != nil} + /// Clears the value of `encounterPhotobombOutProto1104`. Subsequent reads from it will return its default value. + public mutating func clearEncounterPhotobombOutProto1104() {_uniqueStorage()._encounterPhotobombOutProto1104 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var getgmapSettingsOutProto1105: GetGmapSettingsOutProto { + get {return _storage._getgmapSettingsOutProto1105 ?? GetGmapSettingsOutProto()} + set {_uniqueStorage()._getgmapSettingsOutProto1105 = newValue} + } + /// Returns true if `getgmapSettingsOutProto1105` has been explicitly set. + public var hasGetgmapSettingsOutProto1105: Bool {return _storage._getgmapSettingsOutProto1105 != nil} + /// Clears the value of `getgmapSettingsOutProto1105`. Subsequent reads from it will return its default value. + public mutating func clearGetgmapSettingsOutProto1105() {_uniqueStorage()._getgmapSettingsOutProto1105 = nil} - public init() {} -} + public var changeTeamOutProto1106: ChangeTeamOutProto { + get {return _storage._changeTeamOutProto1106 ?? ChangeTeamOutProto()} + set {_uniqueStorage()._changeTeamOutProto1106 = newValue} + } + /// Returns true if `changeTeamOutProto1106` has been explicitly set. + public var hasChangeTeamOutProto1106: Bool {return _storage._changeTeamOutProto1106 != nil} + /// Clears the value of `changeTeamOutProto1106`. Subsequent reads from it will return its default value. + public mutating func clearChangeTeamOutProto1106() {_uniqueStorage()._changeTeamOutProto1106 = nil} -public struct ArMappingSettingsProto { - // 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. + public var getWebTokenOutProto1107: GetWebTokenOutProto { + get {return _storage._getWebTokenOutProto1107 ?? GetWebTokenOutProto()} + set {_uniqueStorage()._getWebTokenOutProto1107 = newValue} + } + /// Returns true if `getWebTokenOutProto1107` has been explicitly set. + public var hasGetWebTokenOutProto1107: Bool {return _storage._getWebTokenOutProto1107 != nil} + /// Clears the value of `getWebTokenOutProto1107`. Subsequent reads from it will return its default value. + public mutating func clearGetWebTokenOutProto1107() {_uniqueStorage()._getWebTokenOutProto1107 = nil} - public var minHoursBetweenPrompt: Int32 { - get {return _storage._minHoursBetweenPrompt} - set {_uniqueStorage()._minHoursBetweenPrompt = newValue} - } + public var completeSnapshotSessionOutProto1110: CompleteSnapshotSessionOutProto { + get {return _storage._completeSnapshotSessionOutProto1110 ?? CompleteSnapshotSessionOutProto()} + set {_uniqueStorage()._completeSnapshotSessionOutProto1110 = newValue} + } + /// Returns true if `completeSnapshotSessionOutProto1110` has been explicitly set. + public var hasCompleteSnapshotSessionOutProto1110: Bool {return _storage._completeSnapshotSessionOutProto1110 != nil} + /// Clears the value of `completeSnapshotSessionOutProto1110`. Subsequent reads from it will return its default value. + public mutating func clearCompleteSnapshotSessionOutProto1110() {_uniqueStorage()._completeSnapshotSessionOutProto1110 = nil} - public var maxVideoTimeSeconds: Int32 { - get {return _storage._maxVideoTimeSeconds} - set {_uniqueStorage()._maxVideoTimeSeconds = newValue} - } + public var completeWildSnapshotSessionOutProto1111: CompleteWildSnapshotSessionOutProto { + get {return _storage._completeWildSnapshotSessionOutProto1111 ?? CompleteWildSnapshotSessionOutProto()} + set {_uniqueStorage()._completeWildSnapshotSessionOutProto1111 = newValue} + } + /// Returns true if `completeWildSnapshotSessionOutProto1111` has been explicitly set. + public var hasCompleteWildSnapshotSessionOutProto1111: Bool {return _storage._completeWildSnapshotSessionOutProto1111 != nil} + /// Clears the value of `completeWildSnapshotSessionOutProto1111`. Subsequent reads from it will return its default value. + public mutating func clearCompleteWildSnapshotSessionOutProto1111() {_uniqueStorage()._completeWildSnapshotSessionOutProto1111 = nil} - public var previewVideoBitrateKbps: Int32 { - get {return _storage._previewVideoBitrateKbps} - set {_uniqueStorage()._previewVideoBitrateKbps = newValue} - } + public var startIncidentOutProto1200: StartIncidentOutProto { + get {return _storage._startIncidentOutProto1200 ?? StartIncidentOutProto()} + set {_uniqueStorage()._startIncidentOutProto1200 = newValue} + } + /// Returns true if `startIncidentOutProto1200` has been explicitly set. + public var hasStartIncidentOutProto1200: Bool {return _storage._startIncidentOutProto1200 != nil} + /// Clears the value of `startIncidentOutProto1200`. Subsequent reads from it will return its default value. + public mutating func clearStartIncidentOutProto1200() {_uniqueStorage()._startIncidentOutProto1200 = nil} - public var previewVideoDeadlineMs: Int32 { - get {return _storage._previewVideoDeadlineMs} - set {_uniqueStorage()._previewVideoDeadlineMs = newValue} - } + public var completeInvasionDialogueOutProto1201: CompleteInvasionDialogueOutProto { + get {return _storage._completeInvasionDialogueOutProto1201 ?? CompleteInvasionDialogueOutProto()} + set {_uniqueStorage()._completeInvasionDialogueOutProto1201 = newValue} + } + /// Returns true if `completeInvasionDialogueOutProto1201` has been explicitly set. + public var hasCompleteInvasionDialogueOutProto1201: Bool {return _storage._completeInvasionDialogueOutProto1201 != nil} + /// Clears the value of `completeInvasionDialogueOutProto1201`. Subsequent reads from it will return its default value. + public mutating func clearCompleteInvasionDialogueOutProto1201() {_uniqueStorage()._completeInvasionDialogueOutProto1201 = nil} - public var researchVideoBitrateKbps: Int32 { - get {return _storage._researchVideoBitrateKbps} - set {_uniqueStorage()._researchVideoBitrateKbps = newValue} - } + public var openInvasionCombatSessionoutProto1202: OpenInvasionCombatSessionOutProto { + get {return _storage._openInvasionCombatSessionoutProto1202 ?? OpenInvasionCombatSessionOutProto()} + set {_uniqueStorage()._openInvasionCombatSessionoutProto1202 = newValue} + } + /// Returns true if `openInvasionCombatSessionoutProto1202` has been explicitly set. + public var hasOpenInvasionCombatSessionoutProto1202: Bool {return _storage._openInvasionCombatSessionoutProto1202 != nil} + /// Clears the value of `openInvasionCombatSessionoutProto1202`. Subsequent reads from it will return its default value. + public mutating func clearOpenInvasionCombatSessionoutProto1202() {_uniqueStorage()._openInvasionCombatSessionoutProto1202 = nil} - public var researchVideoDeadlineMs: Int32 { - get {return _storage._researchVideoDeadlineMs} - set {_uniqueStorage()._researchVideoDeadlineMs = newValue} - } + public var updateInvasionBattleOutProto1203: UpdateInvasionBattleOutProto { + get {return _storage._updateInvasionBattleOutProto1203 ?? UpdateInvasionBattleOutProto()} + set {_uniqueStorage()._updateInvasionBattleOutProto1203 = newValue} + } + /// Returns true if `updateInvasionBattleOutProto1203` has been explicitly set. + public var hasUpdateInvasionBattleOutProto1203: Bool {return _storage._updateInvasionBattleOutProto1203 != nil} + /// Clears the value of `updateInvasionBattleOutProto1203`. Subsequent reads from it will return its default value. + public mutating func clearUpdateInvasionBattleOutProto1203() {_uniqueStorage()._updateInvasionBattleOutProto1203 = nil} - public var minVideoTimeSeconds: Int32 { - get {return _storage._minVideoTimeSeconds} - set {_uniqueStorage()._minVideoTimeSeconds = newValue} - } + public var invasionEncounterOutProto1204: InvasionEncounterOutProto { + get {return _storage._invasionEncounterOutProto1204 ?? InvasionEncounterOutProto()} + set {_uniqueStorage()._invasionEncounterOutProto1204 = newValue} + } + /// Returns true if `invasionEncounterOutProto1204` has been explicitly set. + public var hasInvasionEncounterOutProto1204: Bool {return _storage._invasionEncounterOutProto1204 != nil} + /// Clears the value of `invasionEncounterOutProto1204`. Subsequent reads from it will return its default value. + public mutating func clearInvasionEncounterOutProto1204() {_uniqueStorage()._invasionEncounterOutProto1204 = nil} - public var previewFrameRateFps: Int32 { - get {return _storage._previewFrameRateFps} - set {_uniqueStorage()._previewFrameRateFps = newValue} - } + public var purifypokemonOutproto1205: PurifyPokemonOutProto { + get {return _storage._purifypokemonOutproto1205 ?? PurifyPokemonOutProto()} + set {_uniqueStorage()._purifypokemonOutproto1205 = newValue} + } + /// Returns true if `purifypokemonOutproto1205` has been explicitly set. + public var hasPurifypokemonOutproto1205: Bool {return _storage._purifypokemonOutproto1205 != nil} + /// Clears the value of `purifypokemonOutproto1205`. Subsequent reads from it will return its default value. + public mutating func clearPurifypokemonOutproto1205() {_uniqueStorage()._purifypokemonOutproto1205 = nil} - public var previewFramesToJump: Int32 { - get {return _storage._previewFramesToJump} - set {_uniqueStorage()._previewFramesToJump = newValue} - } + public var getRocketBalloonOutProto1206: GetRocketBalloonOutProto { + get {return _storage._getRocketBalloonOutProto1206 ?? GetRocketBalloonOutProto()} + set {_uniqueStorage()._getRocketBalloonOutProto1206 = newValue} + } + /// Returns true if `getRocketBalloonOutProto1206` has been explicitly set. + public var hasGetRocketBalloonOutProto1206: Bool {return _storage._getRocketBalloonOutProto1206 != nil} + /// Clears the value of `getRocketBalloonOutProto1206`. Subsequent reads from it will return its default value. + public mutating func clearGetRocketBalloonOutProto1206() {_uniqueStorage()._getRocketBalloonOutProto1206 = nil} - public var maxUploadChunkRejectedCount: Int32 { - get {return _storage._maxUploadChunkRejectedCount} - set {_uniqueStorage()._maxUploadChunkRejectedCount = newValue} - } + public var vsSeekerStartMatchmakingOutProto1300: VsSeekerStartMatchmakingOutProto { + get {return _storage._vsSeekerStartMatchmakingOutProto1300 ?? VsSeekerStartMatchmakingOutProto()} + set {_uniqueStorage()._vsSeekerStartMatchmakingOutProto1300 = newValue} + } + /// Returns true if `vsSeekerStartMatchmakingOutProto1300` has been explicitly set. + public var hasVsSeekerStartMatchmakingOutProto1300: Bool {return _storage._vsSeekerStartMatchmakingOutProto1300 != nil} + /// Clears the value of `vsSeekerStartMatchmakingOutProto1300`. Subsequent reads from it will return its default value. + public mutating func clearVsSeekerStartMatchmakingOutProto1300() {_uniqueStorage()._vsSeekerStartMatchmakingOutProto1300 = nil} - public var ardkDesiredAccuracyMm: Int32 { - get {return _storage._ardkDesiredAccuracyMm} - set {_uniqueStorage()._ardkDesiredAccuracyMm = newValue} - } + public var cancelMatchmakingOutProto1301: CancelMatchmakingOutProto { + get {return _storage._cancelMatchmakingOutProto1301 ?? CancelMatchmakingOutProto()} + set {_uniqueStorage()._cancelMatchmakingOutProto1301 = newValue} + } + /// Returns true if `cancelMatchmakingOutProto1301` has been explicitly set. + public var hasCancelMatchmakingOutProto1301: Bool {return _storage._cancelMatchmakingOutProto1301 != nil} + /// Clears the value of `cancelMatchmakingOutProto1301`. Subsequent reads from it will return its default value. + public mutating func clearCancelMatchmakingOutProto1301() {_uniqueStorage()._cancelMatchmakingOutProto1301 = nil} - public var ardkUpdateDistanceMm: Int32 { - get {return _storage._ardkUpdateDistanceMm} - set {_uniqueStorage()._ardkUpdateDistanceMm = newValue} - } + public var getMatchmakingStatusOutProto1302: GetMatchmakingStatusOutProto { + get {return _storage._getMatchmakingStatusOutProto1302 ?? GetMatchmakingStatusOutProto()} + set {_uniqueStorage()._getMatchmakingStatusOutProto1302 = newValue} + } + /// Returns true if `getMatchmakingStatusOutProto1302` has been explicitly set. + public var hasGetMatchmakingStatusOutProto1302: Bool {return _storage._getMatchmakingStatusOutProto1302 != nil} + /// Clears the value of `getMatchmakingStatusOutProto1302`. Subsequent reads from it will return its default value. + public mutating func clearGetMatchmakingStatusOutProto1302() {_uniqueStorage()._getMatchmakingStatusOutProto1302 = nil} - public var maxPendingUploadKilobytes: Int32 { - get {return _storage._maxPendingUploadKilobytes} - set {_uniqueStorage()._maxPendingUploadKilobytes = newValue} - } + public var completeVsSeekerAndRestartchargingOutProto1303: CompleteVsSeekerAndRestartChargingOutProto { + get {return _storage._completeVsSeekerAndRestartchargingOutProto1303 ?? CompleteVsSeekerAndRestartChargingOutProto()} + set {_uniqueStorage()._completeVsSeekerAndRestartchargingOutProto1303 = newValue} + } + /// Returns true if `completeVsSeekerAndRestartchargingOutProto1303` has been explicitly set. + public var hasCompleteVsSeekerAndRestartchargingOutProto1303: Bool {return _storage._completeVsSeekerAndRestartchargingOutProto1303 != nil} + /// Clears the value of `completeVsSeekerAndRestartchargingOutProto1303`. Subsequent reads from it will return its default value. + public mutating func clearCompleteVsSeekerAndRestartchargingOutProto1303() {_uniqueStorage()._completeVsSeekerAndRestartchargingOutProto1303 = nil} - public var enableSponsorPoiScan: Bool { - get {return _storage._enableSponsorPoiScan} - set {_uniqueStorage()._enableSponsorPoiScan = newValue} - } + public var getVsSeekerStatusOutProto1304: GetVsSeekerStatusOutProto { + get {return _storage._getVsSeekerStatusOutProto1304 ?? GetVsSeekerStatusOutProto()} + set {_uniqueStorage()._getVsSeekerStatusOutProto1304 = newValue} + } + /// Returns true if `getVsSeekerStatusOutProto1304` has been explicitly set. + public var hasGetVsSeekerStatusOutProto1304: Bool {return _storage._getVsSeekerStatusOutProto1304 != nil} + /// Clears the value of `getVsSeekerStatusOutProto1304`. Subsequent reads from it will return its default value. + public mutating func clearGetVsSeekerStatusOutProto1304() {_uniqueStorage()._getVsSeekerStatusOutProto1304 = nil} - public var minDiskSpaceNeededMb: Int32 { - get {return _storage._minDiskSpaceNeededMb} - set {_uniqueStorage()._minDiskSpaceNeededMb = newValue} - } + public var completecompetitiveSeasonOutProto1305: CompleteCompetitiveSeasonOutProto { + get {return _storage._completecompetitiveSeasonOutProto1305 ?? CompleteCompetitiveSeasonOutProto()} + set {_uniqueStorage()._completecompetitiveSeasonOutProto1305 = newValue} + } + /// Returns true if `completecompetitiveSeasonOutProto1305` has been explicitly set. + public var hasCompletecompetitiveSeasonOutProto1305: Bool {return _storage._completecompetitiveSeasonOutProto1305 != nil} + /// Clears the value of `completecompetitiveSeasonOutProto1305`. Subsequent reads from it will return its default value. + public mutating func clearCompletecompetitiveSeasonOutProto1305() {_uniqueStorage()._completecompetitiveSeasonOutProto1305 = nil} - public var scanValidationEnabled: Bool { - get {return _storage._scanValidationEnabled} - set {_uniqueStorage()._scanValidationEnabled = newValue} - } + public var claimVsSeekerRewardsOutProto1306: ClaimVsSeekerRewardsOutProto { + get {return _storage._claimVsSeekerRewardsOutProto1306 ?? ClaimVsSeekerRewardsOutProto()} + set {_uniqueStorage()._claimVsSeekerRewardsOutProto1306 = newValue} + } + /// Returns true if `claimVsSeekerRewardsOutProto1306` has been explicitly set. + public var hasClaimVsSeekerRewardsOutProto1306: Bool {return _storage._claimVsSeekerRewardsOutProto1306 != nil} + /// Clears the value of `claimVsSeekerRewardsOutProto1306`. Subsequent reads from it will return its default value. + public mutating func clearClaimVsSeekerRewardsOutProto1306() {_uniqueStorage()._claimVsSeekerRewardsOutProto1306 = nil} - public var scanValidationStartDelayS: Float { - get {return _storage._scanValidationStartDelayS} - set {_uniqueStorage()._scanValidationStartDelayS = newValue} - } + public var vsSeekerRewardEncounterOutProto1307: VsSeekerRewardEncounterOutProto { + get {return _storage._vsSeekerRewardEncounterOutProto1307 ?? VsSeekerRewardEncounterOutProto()} + set {_uniqueStorage()._vsSeekerRewardEncounterOutProto1307 = newValue} + } + /// Returns true if `vsSeekerRewardEncounterOutProto1307` has been explicitly set. + public var hasVsSeekerRewardEncounterOutProto1307: Bool {return _storage._vsSeekerRewardEncounterOutProto1307 != nil} + /// Clears the value of `vsSeekerRewardEncounterOutProto1307`. Subsequent reads from it will return its default value. + public mutating func clearVsSeekerRewardEncounterOutProto1307() {_uniqueStorage()._vsSeekerRewardEncounterOutProto1307 = nil} - public var scanValidationLumensMinThreshold: Float { - get {return _storage._scanValidationLumensMinThreshold} - set {_uniqueStorage()._scanValidationLumensMinThreshold = newValue} - } + public var activateVsSeekerOutProto1308: ActivateVsSeekerOutProto { + get {return _storage._activateVsSeekerOutProto1308 ?? ActivateVsSeekerOutProto()} + set {_uniqueStorage()._activateVsSeekerOutProto1308 = newValue} + } + /// Returns true if `activateVsSeekerOutProto1308` has been explicitly set. + public var hasActivateVsSeekerOutProto1308: Bool {return _storage._activateVsSeekerOutProto1308 != nil} + /// Clears the value of `activateVsSeekerOutProto1308`. Subsequent reads from it will return its default value. + public mutating func clearActivateVsSeekerOutProto1308() {_uniqueStorage()._activateVsSeekerOutProto1308 = nil} - public var scanValidationLumensSmoothingFactor: Float { - get {return _storage._scanValidationLumensSmoothingFactor} - set {_uniqueStorage()._scanValidationLumensSmoothingFactor = newValue} - } + public var buddyMapOutProto1350: BuddyMapOutProto { + get {return _storage._buddyMapOutProto1350 ?? BuddyMapOutProto()} + set {_uniqueStorage()._buddyMapOutProto1350 = newValue} + } + /// Returns true if `buddyMapOutProto1350` has been explicitly set. + public var hasBuddyMapOutProto1350: Bool {return _storage._buddyMapOutProto1350 != nil} + /// Clears the value of `buddyMapOutProto1350`. Subsequent reads from it will return its default value. + public mutating func clearBuddyMapOutProto1350() {_uniqueStorage()._buddyMapOutProto1350 = nil} - public var scanValidationAveragePixelThreshold: Float { - get {return _storage._scanValidationAveragePixelThreshold} - set {_uniqueStorage()._scanValidationAveragePixelThreshold = newValue} - } + public var buddyStatsOutProto1351: BuddyStatsOutProto { + get {return _storage._buddyStatsOutProto1351 ?? BuddyStatsOutProto()} + set {_uniqueStorage()._buddyStatsOutProto1351 = newValue} + } + /// Returns true if `buddyStatsOutProto1351` has been explicitly set. + public var hasBuddyStatsOutProto1351: Bool {return _storage._buddyStatsOutProto1351 != nil} + /// Clears the value of `buddyStatsOutProto1351`. Subsequent reads from it will return its default value. + public mutating func clearBuddyStatsOutProto1351() {_uniqueStorage()._buddyStatsOutProto1351 = nil} - public var scanValidationAveragePixelSmoothingFactor: Float { - get {return _storage._scanValidationAveragePixelSmoothingFactor} - set {_uniqueStorage()._scanValidationAveragePixelSmoothingFactor = newValue} - } + public var buddyFeedingOutProto1352: BuddyFeedingOutProto { + get {return _storage._buddyFeedingOutProto1352 ?? BuddyFeedingOutProto()} + set {_uniqueStorage()._buddyFeedingOutProto1352 = newValue} + } + /// Returns true if `buddyFeedingOutProto1352` has been explicitly set. + public var hasBuddyFeedingOutProto1352: Bool {return _storage._buddyFeedingOutProto1352 != nil} + /// Clears the value of `buddyFeedingOutProto1352`. Subsequent reads from it will return its default value. + public mutating func clearBuddyFeedingOutProto1352() {_uniqueStorage()._buddyFeedingOutProto1352 = nil} - public var scanValidationSpeedMinThresholdMperS: Float { - get {return _storage._scanValidationSpeedMinThresholdMperS} - set {_uniqueStorage()._scanValidationSpeedMinThresholdMperS = newValue} - } + public var openBuddyGiftoutProto1353: OpenBuddyGiftOutProto { + get {return _storage._openBuddyGiftoutProto1353 ?? OpenBuddyGiftOutProto()} + set {_uniqueStorage()._openBuddyGiftoutProto1353 = newValue} + } + /// Returns true if `openBuddyGiftoutProto1353` has been explicitly set. + public var hasOpenBuddyGiftoutProto1353: Bool {return _storage._openBuddyGiftoutProto1353 != nil} + /// Clears the value of `openBuddyGiftoutProto1353`. Subsequent reads from it will return its default value. + public mutating func clearOpenBuddyGiftoutProto1353() {_uniqueStorage()._openBuddyGiftoutProto1353 = nil} - public var scanValidationSpeedMaxThresholdMperS: Float { - get {return _storage._scanValidationSpeedMaxThresholdMperS} - set {_uniqueStorage()._scanValidationSpeedMaxThresholdMperS = newValue} - } + public var buddyPettingOutProto1354: BuddyPettingOutProto { + get {return _storage._buddyPettingOutProto1354 ?? BuddyPettingOutProto()} + set {_uniqueStorage()._buddyPettingOutProto1354 = newValue} + } + /// Returns true if `buddyPettingOutProto1354` has been explicitly set. + public var hasBuddyPettingOutProto1354: Bool {return _storage._buddyPettingOutProto1354 != nil} + /// Clears the value of `buddyPettingOutProto1354`. Subsequent reads from it will return its default value. + public mutating func clearBuddyPettingOutProto1354() {_uniqueStorage()._buddyPettingOutProto1354 = nil} - public var scanValidationSpeedSmoothingFactor: Float { - get {return _storage._scanValidationSpeedSmoothingFactor} - set {_uniqueStorage()._scanValidationSpeedSmoothingFactor = newValue} - } + public var getBuddyHistoryOutProto1355: GetBuddyHistoryOutProto { + get {return _storage._getBuddyHistoryOutProto1355 ?? GetBuddyHistoryOutProto()} + set {_uniqueStorage()._getBuddyHistoryOutProto1355 = newValue} + } + /// Returns true if `getBuddyHistoryOutProto1355` has been explicitly set. + public var hasGetBuddyHistoryOutProto1355: Bool {return _storage._getBuddyHistoryOutProto1355 != nil} + /// Clears the value of `getBuddyHistoryOutProto1355`. Subsequent reads from it will return its default value. + public mutating func clearGetBuddyHistoryOutProto1355() {_uniqueStorage()._getBuddyHistoryOutProto1355 = nil} - public var scanValidationMaxWarningTimeS: Float { - get {return _storage._scanValidationMaxWarningTimeS} - set {_uniqueStorage()._scanValidationMaxWarningTimeS = newValue} - } + public var updateRouteDraftOutProto1400: UpdateRouteDraftOutProto { + get {return _storage._updateRouteDraftOutProto1400 ?? UpdateRouteDraftOutProto()} + set {_uniqueStorage()._updateRouteDraftOutProto1400 = newValue} + } + /// Returns true if `updateRouteDraftOutProto1400` has been explicitly set. + public var hasUpdateRouteDraftOutProto1400: Bool {return _storage._updateRouteDraftOutProto1400 != nil} + /// Clears the value of `updateRouteDraftOutProto1400`. Subsequent reads from it will return its default value. + public mutating func clearUpdateRouteDraftOutProto1400() {_uniqueStorage()._updateRouteDraftOutProto1400 = nil} - public var arRecorderV2Enabled: Bool { - get {return _storage._arRecorderV2Enabled} - set {_uniqueStorage()._arRecorderV2Enabled = newValue} - } + public var getMapFortsOutProto1401: GetMapFortsOutProto { + get {return _storage._getMapFortsOutProto1401 ?? GetMapFortsOutProto()} + set {_uniqueStorage()._getMapFortsOutProto1401 = newValue} + } + /// Returns true if `getMapFortsOutProto1401` has been explicitly set. + public var hasGetMapFortsOutProto1401: Bool {return _storage._getMapFortsOutProto1401 != nil} + /// Clears the value of `getMapFortsOutProto1401`. Subsequent reads from it will return its default value. + public mutating func clearGetMapFortsOutProto1401() {_uniqueStorage()._getMapFortsOutProto1401 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var submitRouteDraftOutProto1402: SubmitRouteDraftOutProto { + get {return _storage._submitRouteDraftOutProto1402 ?? SubmitRouteDraftOutProto()} + set {_uniqueStorage()._submitRouteDraftOutProto1402 = newValue} + } + /// Returns true if `submitRouteDraftOutProto1402` has been explicitly set. + public var hasSubmitRouteDraftOutProto1402: Bool {return _storage._submitRouteDraftOutProto1402 != nil} + /// Clears the value of `submitRouteDraftOutProto1402`. Subsequent reads from it will return its default value. + public mutating func clearSubmitRouteDraftOutProto1402() {_uniqueStorage()._submitRouteDraftOutProto1402 = nil} - public init() {} + public var getPublishedRoutesOutProto1403: GetPublishedRoutesOutProto { + get {return _storage._getPublishedRoutesOutProto1403 ?? GetPublishedRoutesOutProto()} + set {_uniqueStorage()._getPublishedRoutesOutProto1403 = newValue} + } + /// Returns true if `getPublishedRoutesOutProto1403` has been explicitly set. + public var hasGetPublishedRoutesOutProto1403: Bool {return _storage._getPublishedRoutesOutProto1403 != nil} + /// Clears the value of `getPublishedRoutesOutProto1403`. Subsequent reads from it will return its default value. + public mutating func clearGetPublishedRoutesOutProto1403() {_uniqueStorage()._getPublishedRoutesOutProto1403 = nil} - fileprivate var _storage = _StorageClass.defaultInstance -} + public var startRouteOutProto1404: StartRouteOutProto { + get {return _storage._startRouteOutProto1404 ?? StartRouteOutProto()} + set {_uniqueStorage()._startRouteOutProto1404 = newValue} + } + /// Returns true if `startRouteOutProto1404` has been explicitly set. + public var hasStartRouteOutProto1404: Bool {return _storage._startRouteOutProto1404 != nil} + /// Clears the value of `startRouteOutProto1404`. Subsequent reads from it will return its default value. + public mutating func clearStartRouteOutProto1404() {_uniqueStorage()._startRouteOutProto1404 = nil} -public struct ArMappingTelemetryProto { - // 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. + public var getRoutesOutProto1405: GetRoutesOutProto { + get {return _storage._getRoutesOutProto1405 ?? GetRoutesOutProto()} + set {_uniqueStorage()._getRoutesOutProto1405 = newValue} + } + /// Returns true if `getRoutesOutProto1405` has been explicitly set. + public var hasGetRoutesOutProto1405: Bool {return _storage._getRoutesOutProto1405 != nil} + /// Clears the value of `getRoutesOutProto1405`. Subsequent reads from it will return its default value. + public mutating func clearGetRoutesOutProto1405() {_uniqueStorage()._getRoutesOutProto1405 = nil} - public var arMappingTelemetryID: ArMappingTelemetryProto.ArMappingEventId = .unknown + public var progressRouteOutproto1406: ProgressRouteOutProto { + get {return _storage._progressRouteOutproto1406 ?? ProgressRouteOutProto()} + set {_uniqueStorage()._progressRouteOutproto1406 = newValue} + } + /// Returns true if `progressRouteOutproto1406` has been explicitly set. + public var hasProgressRouteOutproto1406: Bool {return _storage._progressRouteOutproto1406 != nil} + /// Clears the value of `progressRouteOutproto1406`. Subsequent reads from it will return its default value. + public mutating func clearProgressRouteOutproto1406() {_uniqueStorage()._progressRouteOutproto1406 = nil} - public var source: ArMappingTelemetryProto.ArMappingEntryPoint = .unknownEntry + public var listRouteBadgesOutProto1409: ListRouteBadgesOutProto { + get {return _storage._listRouteBadgesOutProto1409 ?? ListRouteBadgesOutProto()} + set {_uniqueStorage()._listRouteBadgesOutProto1409 = newValue} + } + /// Returns true if `listRouteBadgesOutProto1409` has been explicitly set. + public var hasListRouteBadgesOutProto1409: Bool {return _storage._listRouteBadgesOutProto1409 != nil} + /// Clears the value of `listRouteBadgesOutProto1409`. Subsequent reads from it will return its default value. + public mutating func clearListRouteBadgesOutProto1409() {_uniqueStorage()._listRouteBadgesOutProto1409 = nil} - public var recordingLengthSeconds: Float = 0 + public var cancelRouteOutProto1410: CancelRouteOutProto { + get {return _storage._cancelRouteOutProto1410 ?? CancelRouteOutProto()} + set {_uniqueStorage()._cancelRouteOutProto1410 = newValue} + } + /// Returns true if `cancelRouteOutProto1410` has been explicitly set. + public var hasCancelRouteOutProto1410: Bool {return _storage._cancelRouteOutProto1410 != nil} + /// Clears the value of `cancelRouteOutProto1410`. Subsequent reads from it will return its default value. + public mutating func clearCancelRouteOutProto1410() {_uniqueStorage()._cancelRouteOutProto1410 = nil} - public var timeElapsedSeconds: Float = 0 + public var npcRouteGiftOutProto1423: NpcRouteGiftOutProto { + get {return _storage._npcRouteGiftOutProto1423 ?? NpcRouteGiftOutProto()} + set {_uniqueStorage()._npcRouteGiftOutProto1423 = newValue} + } + /// Returns true if `npcRouteGiftOutProto1423` has been explicitly set. + public var hasNpcRouteGiftOutProto1423: Bool {return _storage._npcRouteGiftOutProto1423 != nil} + /// Clears the value of `npcRouteGiftOutProto1423`. Subsequent reads from it will return its default value. + public mutating func clearNpcRouteGiftOutProto1423() {_uniqueStorage()._npcRouteGiftOutProto1423 = nil} - public var percentEncoded: Float = 0 + public var createBuddyMultiplayerSessionOutProto1456: CreateBuddyMultiplayerSessionOutProto { + get {return _storage._createBuddyMultiplayerSessionOutProto1456 ?? CreateBuddyMultiplayerSessionOutProto()} + set {_uniqueStorage()._createBuddyMultiplayerSessionOutProto1456 = newValue} + } + /// Returns true if `createBuddyMultiplayerSessionOutProto1456` has been explicitly set. + public var hasCreateBuddyMultiplayerSessionOutProto1456: Bool {return _storage._createBuddyMultiplayerSessionOutProto1456 != nil} + /// Clears the value of `createBuddyMultiplayerSessionOutProto1456`. Subsequent reads from it will return its default value. + public mutating func clearCreateBuddyMultiplayerSessionOutProto1456() {_uniqueStorage()._createBuddyMultiplayerSessionOutProto1456 = nil} - public var dataSizeBytes: Int64 = 0 + public var joinBuddyMultiplayerSessionOutProto1457: JoinBuddyMultiplayerSessionOutProto { + get {return _storage._joinBuddyMultiplayerSessionOutProto1457 ?? JoinBuddyMultiplayerSessionOutProto()} + set {_uniqueStorage()._joinBuddyMultiplayerSessionOutProto1457 = newValue} + } + /// Returns true if `joinBuddyMultiplayerSessionOutProto1457` has been explicitly set. + public var hasJoinBuddyMultiplayerSessionOutProto1457: Bool {return _storage._joinBuddyMultiplayerSessionOutProto1457 != nil} + /// Clears the value of `joinBuddyMultiplayerSessionOutProto1457`. Subsequent reads from it will return its default value. + public mutating func clearJoinBuddyMultiplayerSessionOutProto1457() {_uniqueStorage()._joinBuddyMultiplayerSessionOutProto1457 = nil} - public var validationFailureReason: ArMappingTelemetryProto.ArMappingValidationFailureReason = .unknownReason + public var leaveBuddyMultiplayerSessionOutProto1458: LeaveBuddyMultiplayerSessionOutProto { + get {return _storage._leaveBuddyMultiplayerSessionOutProto1458 ?? LeaveBuddyMultiplayerSessionOutProto()} + set {_uniqueStorage()._leaveBuddyMultiplayerSessionOutProto1458 = newValue} + } + /// Returns true if `leaveBuddyMultiplayerSessionOutProto1458` has been explicitly set. + public var hasLeaveBuddyMultiplayerSessionOutProto1458: Bool {return _storage._leaveBuddyMultiplayerSessionOutProto1458 != nil} + /// Clears the value of `leaveBuddyMultiplayerSessionOutProto1458`. Subsequent reads from it will return its default value. + public mutating func clearLeaveBuddyMultiplayerSessionOutProto1458() {_uniqueStorage()._leaveBuddyMultiplayerSessionOutProto1458 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var getTodayViewOutProto1501: GetTodayViewOutProto { + get {return _storage._getTodayViewOutProto1501 ?? GetTodayViewOutProto()} + set {_uniqueStorage()._getTodayViewOutProto1501 = newValue} + } + /// Returns true if `getTodayViewOutProto1501` has been explicitly set. + public var hasGetTodayViewOutProto1501: Bool {return _storage._getTodayViewOutProto1501 != nil} + /// Clears the value of `getTodayViewOutProto1501`. Subsequent reads from it will return its default value. + public mutating func clearGetTodayViewOutProto1501() {_uniqueStorage()._getTodayViewOutProto1501 = nil} - public enum ArMappingEntryPoint: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknownEntry // = 0 - case poiEditMenu // = 1 - case poiEditTitle // = 2 - case poiEditDescription // = 3 - case poiAddPhoto // = 4 - case poiEditLocation // = 5 - case poiNomination // = 6 - case poiFullscreenInspection // = 7 - case geotargetedQuests // = 8 - case UNRECOGNIZED(Int) + public var megaEvolvePokemonOutProto1502: MegaEvolvePokemonOutProto { + get {return _storage._megaEvolvePokemonOutProto1502 ?? MegaEvolvePokemonOutProto()} + set {_uniqueStorage()._megaEvolvePokemonOutProto1502 = newValue} + } + /// Returns true if `megaEvolvePokemonOutProto1502` has been explicitly set. + public var hasMegaEvolvePokemonOutProto1502: Bool {return _storage._megaEvolvePokemonOutProto1502 != nil} + /// Clears the value of `megaEvolvePokemonOutProto1502`. Subsequent reads from it will return its default value. + public mutating func clearMegaEvolvePokemonOutProto1502() {_uniqueStorage()._megaEvolvePokemonOutProto1502 = nil} - public init() { - self = .unknownEntry + public var remoteGiftPingresponseProto1503: RemoteGiftPingResponseProto { + get {return _storage._remoteGiftPingresponseProto1503 ?? RemoteGiftPingResponseProto()} + set {_uniqueStorage()._remoteGiftPingresponseProto1503 = newValue} } + /// Returns true if `remoteGiftPingresponseProto1503` has been explicitly set. + public var hasRemoteGiftPingresponseProto1503: Bool {return _storage._remoteGiftPingresponseProto1503 != nil} + /// Clears the value of `remoteGiftPingresponseProto1503`. Subsequent reads from it will return its default value. + public mutating func clearRemoteGiftPingresponseProto1503() {_uniqueStorage()._remoteGiftPingresponseProto1503 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknownEntry - case 1: self = .poiEditMenu - case 2: self = .poiEditTitle - case 3: self = .poiEditDescription - case 4: self = .poiAddPhoto - case 5: self = .poiEditLocation - case 6: self = .poiNomination - case 7: self = .poiFullscreenInspection - case 8: self = .geotargetedQuests - default: self = .UNRECOGNIZED(rawValue) - } + public var sendRaidInvitationOutProto1504: SendRaidInvitationOutProto { + get {return _storage._sendRaidInvitationOutProto1504 ?? SendRaidInvitationOutProto()} + set {_uniqueStorage()._sendRaidInvitationOutProto1504 = newValue} } + /// Returns true if `sendRaidInvitationOutProto1504` has been explicitly set. + public var hasSendRaidInvitationOutProto1504: Bool {return _storage._sendRaidInvitationOutProto1504 != nil} + /// Clears the value of `sendRaidInvitationOutProto1504`. Subsequent reads from it will return its default value. + public mutating func clearSendRaidInvitationOutProto1504() {_uniqueStorage()._sendRaidInvitationOutProto1504 = nil} - public var rawValue: Int { - switch self { - case .unknownEntry: return 0 - case .poiEditMenu: return 1 - case .poiEditTitle: return 2 - case .poiEditDescription: return 3 - case .poiAddPhoto: return 4 - case .poiEditLocation: return 5 - case .poiNomination: return 6 - case .poiFullscreenInspection: return 7 - case .geotargetedQuests: return 8 - case .UNRECOGNIZED(let i): return i - } + public var getDailyEncounterOutProto1601: GetDailyEncounterOutProto { + get {return _storage._getDailyEncounterOutProto1601 ?? GetDailyEncounterOutProto()} + set {_uniqueStorage()._getDailyEncounterOutProto1601 = newValue} } + /// Returns true if `getDailyEncounterOutProto1601` has been explicitly set. + public var hasGetDailyEncounterOutProto1601: Bool {return _storage._getDailyEncounterOutProto1601 != nil} + /// Clears the value of `getDailyEncounterOutProto1601`. Subsequent reads from it will return its default value. + public mutating func clearGetDailyEncounterOutProto1601() {_uniqueStorage()._getDailyEncounterOutProto1601 = nil} - } + public var dailyEncounterOutProto1602: DailyEncounterOutProto { + get {return _storage._dailyEncounterOutProto1602 ?? DailyEncounterOutProto()} + set {_uniqueStorage()._dailyEncounterOutProto1602 = newValue} + } + /// Returns true if `dailyEncounterOutProto1602` has been explicitly set. + public var hasDailyEncounterOutProto1602: Bool {return _storage._dailyEncounterOutProto1602 != nil} + /// Clears the value of `dailyEncounterOutProto1602`. Subsequent reads from it will return its default value. + public mutating func clearDailyEncounterOutProto1602() {_uniqueStorage()._dailyEncounterOutProto1602 = nil} - public enum ArMappingEventId: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case enterState // = 1 - case optInAccept // = 2 - case optInDeny // = 3 - case optInSettings // = 4 - case optOutSettings // = 5 - case exitFromRecording // = 6 - case startRecording // = 7 - case stopRecording // = 8 - case cancelEncoding // = 9 - case uploadNow // = 10 - case uploadLater // = 11 - case cancelUpload // = 12 - case startUploadSettings // = 13 - case uploadSuccess // = 14 - case optInLearnMore // = 15 - case exitFromPreview // = 16 - case submitPoiArVideoMetadataFail // = 17 - case uploadFailure // = 18 - case uploadLaterWifiPrompt // = 19 - case clearScans // = 20 - case openInfoPanel // = 21 - case rescanFromPreview // = 22 - case scanValidationFailure // = 23 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown + public var openSponsoredGiftoutProto1650: OpenSponsoredGiftOutProto { + get {return _storage._openSponsoredGiftoutProto1650 ?? OpenSponsoredGiftOutProto()} + set {_uniqueStorage()._openSponsoredGiftoutProto1650 = newValue} } + /// Returns true if `openSponsoredGiftoutProto1650` has been explicitly set. + public var hasOpenSponsoredGiftoutProto1650: Bool {return _storage._openSponsoredGiftoutProto1650 != nil} + /// Clears the value of `openSponsoredGiftoutProto1650`. Subsequent reads from it will return its default value. + public mutating func clearOpenSponsoredGiftoutProto1650() {_uniqueStorage()._openSponsoredGiftoutProto1650 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .enterState - case 2: self = .optInAccept - case 3: self = .optInDeny - case 4: self = .optInSettings - case 5: self = .optOutSettings - case 6: self = .exitFromRecording - case 7: self = .startRecording - case 8: self = .stopRecording - case 9: self = .cancelEncoding - case 10: self = .uploadNow - case 11: self = .uploadLater - case 12: self = .cancelUpload - case 13: self = .startUploadSettings - case 14: self = .uploadSuccess - case 15: self = .optInLearnMore - case 16: self = .exitFromPreview - case 17: self = .submitPoiArVideoMetadataFail - case 18: self = .uploadFailure - case 19: self = .uploadLaterWifiPrompt - case 20: self = .clearScans - case 21: self = .openInfoPanel - case 22: self = .rescanFromPreview - case 23: self = .scanValidationFailure - default: self = .UNRECOGNIZED(rawValue) - } + public var savePlayerPreferencesOutProto1652: SavePlayerPreferencesOutProto { + get {return _storage._savePlayerPreferencesOutProto1652 ?? SavePlayerPreferencesOutProto()} + set {_uniqueStorage()._savePlayerPreferencesOutProto1652 = newValue} } + /// Returns true if `savePlayerPreferencesOutProto1652` has been explicitly set. + public var hasSavePlayerPreferencesOutProto1652: Bool {return _storage._savePlayerPreferencesOutProto1652 != nil} + /// Clears the value of `savePlayerPreferencesOutProto1652`. Subsequent reads from it will return its default value. + public mutating func clearSavePlayerPreferencesOutProto1652() {_uniqueStorage()._savePlayerPreferencesOutProto1652 = nil} - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .enterState: return 1 - case .optInAccept: return 2 - case .optInDeny: return 3 - case .optInSettings: return 4 - case .optOutSettings: return 5 - case .exitFromRecording: return 6 - case .startRecording: return 7 - case .stopRecording: return 8 - case .cancelEncoding: return 9 - case .uploadNow: return 10 - case .uploadLater: return 11 - case .cancelUpload: return 12 - case .startUploadSettings: return 13 - case .uploadSuccess: return 14 - case .optInLearnMore: return 15 - case .exitFromPreview: return 16 - case .submitPoiArVideoMetadataFail: return 17 - case .uploadFailure: return 18 - case .uploadLaterWifiPrompt: return 19 - case .clearScans: return 20 - case .openInfoPanel: return 21 - case .rescanFromPreview: return 22 - case .scanValidationFailure: return 23 - case .UNRECOGNIZED(let i): return i - } + public var profanityCheckOutproto1653: ProfanityCheckOutProto { + get {return _storage._profanityCheckOutproto1653 ?? ProfanityCheckOutProto()} + set {_uniqueStorage()._profanityCheckOutproto1653 = newValue} } + /// Returns true if `profanityCheckOutproto1653` has been explicitly set. + public var hasProfanityCheckOutproto1653: Bool {return _storage._profanityCheckOutproto1653 != nil} + /// Clears the value of `profanityCheckOutproto1653`. Subsequent reads from it will return its default value. + public mutating func clearProfanityCheckOutproto1653() {_uniqueStorage()._profanityCheckOutproto1653 = nil} - } - - public enum ArMappingValidationFailureReason: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknownReason // = 0 - case tooFast // = 1 - case tooSlow // = 2 - case tooDark // = 3 - case UNRECOGNIZED(Int) + public var getTimedgroupChallengeOutProto1700: GetTimedGroupChallengeOutProto { + get {return _storage._getTimedgroupChallengeOutProto1700 ?? GetTimedGroupChallengeOutProto()} + set {_uniqueStorage()._getTimedgroupChallengeOutProto1700 = newValue} + } + /// Returns true if `getTimedgroupChallengeOutProto1700` has been explicitly set. + public var hasGetTimedgroupChallengeOutProto1700: Bool {return _storage._getTimedgroupChallengeOutProto1700 != nil} + /// Clears the value of `getTimedgroupChallengeOutProto1700`. Subsequent reads from it will return its default value. + public mutating func clearGetTimedgroupChallengeOutProto1700() {_uniqueStorage()._getTimedgroupChallengeOutProto1700 = nil} - public init() { - self = .unknownReason + public var getNintendoAccountOutProto1710: GetNintendoAccountOutProto { + get {return _storage._getNintendoAccountOutProto1710 ?? GetNintendoAccountOutProto()} + set {_uniqueStorage()._getNintendoAccountOutProto1710 = newValue} } + /// Returns true if `getNintendoAccountOutProto1710` has been explicitly set. + public var hasGetNintendoAccountOutProto1710: Bool {return _storage._getNintendoAccountOutProto1710 != nil} + /// Clears the value of `getNintendoAccountOutProto1710`. Subsequent reads from it will return its default value. + public mutating func clearGetNintendoAccountOutProto1710() {_uniqueStorage()._getNintendoAccountOutProto1710 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknownReason - case 1: self = .tooFast - case 2: self = .tooSlow - case 3: self = .tooDark - default: self = .UNRECOGNIZED(rawValue) - } + public var unlinkNintendoAccountOutProto1711: UnlinkNintendoAccountOutProto { + get {return _storage._unlinkNintendoAccountOutProto1711 ?? UnlinkNintendoAccountOutProto()} + set {_uniqueStorage()._unlinkNintendoAccountOutProto1711 = newValue} } + /// Returns true if `unlinkNintendoAccountOutProto1711` has been explicitly set. + public var hasUnlinkNintendoAccountOutProto1711: Bool {return _storage._unlinkNintendoAccountOutProto1711 != nil} + /// Clears the value of `unlinkNintendoAccountOutProto1711`. Subsequent reads from it will return its default value. + public mutating func clearUnlinkNintendoAccountOutProto1711() {_uniqueStorage()._unlinkNintendoAccountOutProto1711 = nil} - public var rawValue: Int { - switch self { - case .unknownReason: return 0 - case .tooFast: return 1 - case .tooSlow: return 2 - case .tooDark: return 3 - case .UNRECOGNIZED(let i): return i - } + public var getNintendoOAuth2URLOutProto1712: GetNintendoOAuth2UrlOutProto { + get {return _storage._getNintendoOAuth2URLOutProto1712 ?? GetNintendoOAuth2UrlOutProto()} + set {_uniqueStorage()._getNintendoOAuth2URLOutProto1712 = newValue} } + /// Returns true if `getNintendoOAuth2URLOutProto1712` has been explicitly set. + public var hasGetNintendoOAuth2URLOutProto1712: Bool {return _storage._getNintendoOAuth2URLOutProto1712 != nil} + /// Clears the value of `getNintendoOAuth2URLOutProto1712`. Subsequent reads from it will return its default value. + public mutating func clearGetNintendoOAuth2URLOutProto1712() {_uniqueStorage()._getNintendoOAuth2URLOutProto1712 = nil} - } + public var transferPokemontoPokemonHomeOutProto1713: TransferPokemonToPokemonHomeOutProto { + get {return _storage._transferPokemontoPokemonHomeOutProto1713 ?? TransferPokemonToPokemonHomeOutProto()} + set {_uniqueStorage()._transferPokemontoPokemonHomeOutProto1713 = newValue} + } + /// Returns true if `transferPokemontoPokemonHomeOutProto1713` has been explicitly set. + public var hasTransferPokemontoPokemonHomeOutProto1713: Bool {return _storage._transferPokemontoPokemonHomeOutProto1713 != nil} + /// Clears the value of `transferPokemontoPokemonHomeOutProto1713`. Subsequent reads from it will return its default value. + public mutating func clearTransferPokemontoPokemonHomeOutProto1713() {_uniqueStorage()._transferPokemontoPokemonHomeOutProto1713 = nil} - public init() {} -} + public var reportAdFeedbackresponse1716: ReportAdFeedbackResponse { + get {return _storage._reportAdFeedbackresponse1716 ?? ReportAdFeedbackResponse()} + set {_uniqueStorage()._reportAdFeedbackresponse1716 = newValue} + } + /// Returns true if `reportAdFeedbackresponse1716` has been explicitly set. + public var hasReportAdFeedbackresponse1716: Bool {return _storage._reportAdFeedbackresponse1716 != nil} + /// Clears the value of `reportAdFeedbackresponse1716`. Subsequent reads from it will return its default value. + public mutating func clearReportAdFeedbackresponse1716() {_uniqueStorage()._reportAdFeedbackresponse1716 = nil} -#if swift(>=4.2) + public var createPokemonTagOutProto1717: CreatePokemonTagOutProto { + get {return _storage._createPokemonTagOutProto1717 ?? CreatePokemonTagOutProto()} + set {_uniqueStorage()._createPokemonTagOutProto1717 = newValue} + } + /// Returns true if `createPokemonTagOutProto1717` has been explicitly set. + public var hasCreatePokemonTagOutProto1717: Bool {return _storage._createPokemonTagOutProto1717 != nil} + /// Clears the value of `createPokemonTagOutProto1717`. Subsequent reads from it will return its default value. + public mutating func clearCreatePokemonTagOutProto1717() {_uniqueStorage()._createPokemonTagOutProto1717 = nil} -extension ArMappingTelemetryProto.ArMappingEntryPoint: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ArMappingTelemetryProto.ArMappingEntryPoint] = [ - .unknownEntry, - .poiEditMenu, - .poiEditTitle, - .poiEditDescription, - .poiAddPhoto, - .poiEditLocation, - .poiNomination, - .poiFullscreenInspection, - .geotargetedQuests, - ] -} + public var deletePokemonTagOutProto1718: DeletePokemonTagOutProto { + get {return _storage._deletePokemonTagOutProto1718 ?? DeletePokemonTagOutProto()} + set {_uniqueStorage()._deletePokemonTagOutProto1718 = newValue} + } + /// Returns true if `deletePokemonTagOutProto1718` has been explicitly set. + public var hasDeletePokemonTagOutProto1718: Bool {return _storage._deletePokemonTagOutProto1718 != nil} + /// Clears the value of `deletePokemonTagOutProto1718`. Subsequent reads from it will return its default value. + public mutating func clearDeletePokemonTagOutProto1718() {_uniqueStorage()._deletePokemonTagOutProto1718 = nil} -extension ArMappingTelemetryProto.ArMappingEventId: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ArMappingTelemetryProto.ArMappingEventId] = [ - .unknown, - .enterState, - .optInAccept, - .optInDeny, - .optInSettings, - .optOutSettings, - .exitFromRecording, - .startRecording, - .stopRecording, - .cancelEncoding, - .uploadNow, - .uploadLater, - .cancelUpload, - .startUploadSettings, - .uploadSuccess, - .optInLearnMore, - .exitFromPreview, - .submitPoiArVideoMetadataFail, - .uploadFailure, - .uploadLaterWifiPrompt, - .clearScans, - .openInfoPanel, - .rescanFromPreview, - .scanValidationFailure, - ] -} + public var editPokemonTagOutProto1719: EditPokemonTagOutProto { + get {return _storage._editPokemonTagOutProto1719 ?? EditPokemonTagOutProto()} + set {_uniqueStorage()._editPokemonTagOutProto1719 = newValue} + } + /// Returns true if `editPokemonTagOutProto1719` has been explicitly set. + public var hasEditPokemonTagOutProto1719: Bool {return _storage._editPokemonTagOutProto1719 != nil} + /// Clears the value of `editPokemonTagOutProto1719`. Subsequent reads from it will return its default value. + public mutating func clearEditPokemonTagOutProto1719() {_uniqueStorage()._editPokemonTagOutProto1719 = nil} -extension ArMappingTelemetryProto.ArMappingValidationFailureReason: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ArMappingTelemetryProto.ArMappingValidationFailureReason] = [ - .unknownReason, - .tooFast, - .tooSlow, - .tooDark, - ] -} + public var setPokemonTagsForPokemonOutProto1720: SetPokemonTagsForPokemonOutProto { + get {return _storage._setPokemonTagsForPokemonOutProto1720 ?? SetPokemonTagsForPokemonOutProto()} + set {_uniqueStorage()._setPokemonTagsForPokemonOutProto1720 = newValue} + } + /// Returns true if `setPokemonTagsForPokemonOutProto1720` has been explicitly set. + public var hasSetPokemonTagsForPokemonOutProto1720: Bool {return _storage._setPokemonTagsForPokemonOutProto1720 != nil} + /// Clears the value of `setPokemonTagsForPokemonOutProto1720`. Subsequent reads from it will return its default value. + public mutating func clearSetPokemonTagsForPokemonOutProto1720() {_uniqueStorage()._setPokemonTagsForPokemonOutProto1720 = nil} -#endif // swift(>=4.2) + public var getPokemonTagsOutProto1721: GetPokemonTagsOutProto { + get {return _storage._getPokemonTagsOutProto1721 ?? GetPokemonTagsOutProto()} + set {_uniqueStorage()._getPokemonTagsOutProto1721 = newValue} + } + /// Returns true if `getPokemonTagsOutProto1721` has been explicitly set. + public var hasGetPokemonTagsOutProto1721: Bool {return _storage._getPokemonTagsOutProto1721 != nil} + /// Clears the value of `getPokemonTagsOutProto1721`. Subsequent reads from it will return its default value. + public mutating func clearGetPokemonTagsOutProto1721() {_uniqueStorage()._getPokemonTagsOutProto1721 = nil} -public struct ArPhotoGlobalSettings { - // 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. + public var changePokemonFormOutProto1722: ChangePokemonFormOutProto { + get {return _storage._changePokemonFormOutProto1722 ?? ChangePokemonFormOutProto()} + set {_uniqueStorage()._changePokemonFormOutProto1722 = newValue} + } + /// Returns true if `changePokemonFormOutProto1722` has been explicitly set. + public var hasChangePokemonFormOutProto1722: Bool {return _storage._changePokemonFormOutProto1722 != nil} + /// Clears the value of `changePokemonFormOutProto1722`. Subsequent reads from it will return its default value. + public mutating func clearChangePokemonFormOutProto1722() {_uniqueStorage()._changePokemonFormOutProto1722 = nil} - public var minPlayerLevel: Int32 = 0 + public var chooseGlobalTicketedEventVariantOutProto1723: ChooseGlobalTicketedEventVariantOutProto { + get {return _storage._chooseGlobalTicketedEventVariantOutProto1723 ?? ChooseGlobalTicketedEventVariantOutProto()} + set {_uniqueStorage()._chooseGlobalTicketedEventVariantOutProto1723 = newValue} + } + /// Returns true if `chooseGlobalTicketedEventVariantOutProto1723` has been explicitly set. + public var hasChooseGlobalTicketedEventVariantOutProto1723: Bool {return _storage._chooseGlobalTicketedEventVariantOutProto1723 != nil} + /// Clears the value of `chooseGlobalTicketedEventVariantOutProto1723`. Subsequent reads from it will return its default value. + public mutating func clearChooseGlobalTicketedEventVariantOutProto1723() {_uniqueStorage()._chooseGlobalTicketedEventVariantOutProto1723 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var getReferralCodeOutProto1800: GetReferralCodeOutProto { + get {return _storage._getReferralCodeOutProto1800 ?? GetReferralCodeOutProto()} + set {_uniqueStorage()._getReferralCodeOutProto1800 = newValue} + } + /// Returns true if `getReferralCodeOutProto1800` has been explicitly set. + public var hasGetReferralCodeOutProto1800: Bool {return _storage._getReferralCodeOutProto1800 != nil} + /// Clears the value of `getReferralCodeOutProto1800`. Subsequent reads from it will return its default value. + public mutating func clearGetReferralCodeOutProto1800() {_uniqueStorage()._getReferralCodeOutProto1800 = nil} - public init() {} -} + public var addReferrerOutProto1801: AddReferrerOutProto { + get {return _storage._addReferrerOutProto1801 ?? AddReferrerOutProto()} + set {_uniqueStorage()._addReferrerOutProto1801 = newValue} + } + /// Returns true if `addReferrerOutProto1801` has been explicitly set. + public var hasAddReferrerOutProto1801: Bool {return _storage._addReferrerOutProto1801 != nil} + /// Clears the value of `addReferrerOutProto1801`. Subsequent reads from it will return its default value. + public mutating func clearAddReferrerOutProto1801() {_uniqueStorage()._addReferrerOutProto1801 = nil} -public struct ArPhotoSessionProto { - // 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. + public var sendFriendInviteViaReferralCodeOutProto1802: SendFriendInviteViaReferralCodeOutProto { + get {return _storage._sendFriendInviteViaReferralCodeOutProto1802 ?? SendFriendInviteViaReferralCodeOutProto()} + set {_uniqueStorage()._sendFriendInviteViaReferralCodeOutProto1802 = newValue} + } + /// Returns true if `sendFriendInviteViaReferralCodeOutProto1802` has been explicitly set. + public var hasSendFriendInviteViaReferralCodeOutProto1802: Bool {return _storage._sendFriendInviteViaReferralCodeOutProto1802 != nil} + /// Clears the value of `sendFriendInviteViaReferralCodeOutProto1802`. Subsequent reads from it will return its default value. + public mutating func clearSendFriendInviteViaReferralCodeOutProto1802() {_uniqueStorage()._sendFriendInviteViaReferralCodeOutProto1802 = nil} - public var arType: ArPhotoSessionProto.ArType { - get {return _storage._arType} - set {_uniqueStorage()._arType = newValue} - } + public var getMilestonesOutProto1803: GetMilestonesOutProto { + get {return _storage._getMilestonesOutProto1803 ?? GetMilestonesOutProto()} + set {_uniqueStorage()._getMilestonesOutProto1803 = newValue} + } + /// Returns true if `getMilestonesOutProto1803` has been explicitly set. + public var hasGetMilestonesOutProto1803: Bool {return _storage._getMilestonesOutProto1803 != nil} + /// Clears the value of `getMilestonesOutProto1803`. Subsequent reads from it will return its default value. + public mutating func clearGetMilestonesOutProto1803() {_uniqueStorage()._getMilestonesOutProto1803 = nil} - public var furthestStepCompleted: ArPhotoSessionProto.Step { - get {return _storage._furthestStepCompleted} - set {_uniqueStorage()._furthestStepCompleted = newValue} - } + public var markmilestoneAsViewedOutProto1804: MarkMilestoneAsViewedOutProto { + get {return _storage._markmilestoneAsViewedOutProto1804 ?? MarkMilestoneAsViewedOutProto()} + set {_uniqueStorage()._markmilestoneAsViewedOutProto1804 = newValue} + } + /// Returns true if `markmilestoneAsViewedOutProto1804` has been explicitly set. + public var hasMarkmilestoneAsViewedOutProto1804: Bool {return _storage._markmilestoneAsViewedOutProto1804 != nil} + /// Clears the value of `markmilestoneAsViewedOutProto1804`. Subsequent reads from it will return its default value. + public mutating func clearMarkmilestoneAsViewedOutProto1804() {_uniqueStorage()._markmilestoneAsViewedOutProto1804 = nil} - public var numPhotosTaken: Int32 { - get {return _storage._numPhotosTaken} - set {_uniqueStorage()._numPhotosTaken = newValue} - } + public var getMilestonesPreviewOutProto1805: GetMilestonesPreviewOutProto { + get {return _storage._getMilestonesPreviewOutProto1805 ?? GetMilestonesPreviewOutProto()} + set {_uniqueStorage()._getMilestonesPreviewOutProto1805 = newValue} + } + /// Returns true if `getMilestonesPreviewOutProto1805` has been explicitly set. + public var hasGetMilestonesPreviewOutProto1805: Bool {return _storage._getMilestonesPreviewOutProto1805 != nil} + /// Clears the value of `getMilestonesPreviewOutProto1805`. Subsequent reads from it will return its default value. + public mutating func clearGetMilestonesPreviewOutProto1805() {_uniqueStorage()._getMilestonesPreviewOutProto1805 = nil} - public var numPhotosShared: Int32 { - get {return _storage._numPhotosShared} - set {_uniqueStorage()._numPhotosShared = newValue} - } + public var completeMilestoneOutProto1806: CompleteMilestoneOutProto { + get {return _storage._completeMilestoneOutProto1806 ?? CompleteMilestoneOutProto()} + set {_uniqueStorage()._completeMilestoneOutProto1806 = newValue} + } + /// Returns true if `completeMilestoneOutProto1806` has been explicitly set. + public var hasCompleteMilestoneOutProto1806: Bool {return _storage._completeMilestoneOutProto1806 != nil} + /// Clears the value of `completeMilestoneOutProto1806`. Subsequent reads from it will return its default value. + public mutating func clearCompleteMilestoneOutProto1806() {_uniqueStorage()._completeMilestoneOutProto1806 = nil} - public var numPhotosTakenOcclusions: Int32 { - get {return _storage._numPhotosTakenOcclusions} - set {_uniqueStorage()._numPhotosTakenOcclusions = newValue} - } + public var getgeofencedAdOutProto1820: GetGeofencedAdOutProto { + get {return _storage._getgeofencedAdOutProto1820 ?? GetGeofencedAdOutProto()} + set {_uniqueStorage()._getgeofencedAdOutProto1820 = newValue} + } + /// Returns true if `getgeofencedAdOutProto1820` has been explicitly set. + public var hasGetgeofencedAdOutProto1820: Bool {return _storage._getgeofencedAdOutProto1820 != nil} + /// Clears the value of `getgeofencedAdOutProto1820`. Subsequent reads from it will return its default value. + public mutating func clearGetgeofencedAdOutProto1820() {_uniqueStorage()._getgeofencedAdOutProto1820 = nil} - public var numOcclusionsEnabled: Int32 { - get {return _storage._numOcclusionsEnabled} - set {_uniqueStorage()._numOcclusionsEnabled = newValue} - } + public var deletePostcardsOutProto1909: DeletePostcardsOutProto { + get {return _storage._deletePostcardsOutProto1909 ?? DeletePostcardsOutProto()} + set {_uniqueStorage()._deletePostcardsOutProto1909 = newValue} + } + /// Returns true if `deletePostcardsOutProto1909` has been explicitly set. + public var hasDeletePostcardsOutProto1909: Bool {return _storage._deletePostcardsOutProto1909 != nil} + /// Clears the value of `deletePostcardsOutProto1909`. Subsequent reads from it will return its default value. + public mutating func clearDeletePostcardsOutProto1909() {_uniqueStorage()._deletePostcardsOutProto1909 = nil} - public var numOcclusionsDisabled: Int32 { - get {return _storage._numOcclusionsDisabled} - set {_uniqueStorage()._numOcclusionsDisabled = newValue} - } + public var createPostcardOutProto1910: CreatePostcardOutProto { + get {return _storage._createPostcardOutProto1910 ?? CreatePostcardOutProto()} + set {_uniqueStorage()._createPostcardOutProto1910 = newValue} + } + /// Returns true if `createPostcardOutProto1910` has been explicitly set. + public var hasCreatePostcardOutProto1910: Bool {return _storage._createPostcardOutProto1910 != nil} + /// Clears the value of `createPostcardOutProto1910`. Subsequent reads from it will return its default value. + public mutating func clearCreatePostcardOutProto1910() {_uniqueStorage()._createPostcardOutProto1910 = nil} - public var arContext: ArPhotoSessionProto.ArContext { - get {return _storage._arContext} - set {_uniqueStorage()._arContext = newValue} - } + public var updatePostcardOutProto1911: UpdatePostcardOutProto { + get {return _storage._updatePostcardOutProto1911 ?? UpdatePostcardOutProto()} + set {_uniqueStorage()._updatePostcardOutProto1911 = newValue} + } + /// Returns true if `updatePostcardOutProto1911` has been explicitly set. + public var hasUpdatePostcardOutProto1911: Bool {return _storage._updatePostcardOutProto1911 != nil} + /// Clears the value of `updatePostcardOutProto1911`. Subsequent reads from it will return its default value. + public mutating func clearUpdatePostcardOutProto1911() {_uniqueStorage()._updatePostcardOutProto1911 = nil} - public var sessionLength: Int64 { - get {return _storage._sessionLength} - set {_uniqueStorage()._sessionLength = newValue} - } + public var deletePostcardOutProto1912: DeletePostcardOutProto { + get {return _storage._deletePostcardOutProto1912 ?? DeletePostcardOutProto()} + set {_uniqueStorage()._deletePostcardOutProto1912 = newValue} + } + /// Returns true if `deletePostcardOutProto1912` has been explicitly set. + public var hasDeletePostcardOutProto1912: Bool {return _storage._deletePostcardOutProto1912 != nil} + /// Clears the value of `deletePostcardOutProto1912`. Subsequent reads from it will return its default value. + public mutating func clearDeletePostcardOutProto1912() {_uniqueStorage()._deletePostcardOutProto1912 = nil} - public var sessionLengthOcclusions: Int64 { - get {return _storage._sessionLengthOcclusions} - set {_uniqueStorage()._sessionLengthOcclusions = newValue} - } + public var getMementoListOutProto1913: GetMementoListOutProto { + get {return _storage._getMementoListOutProto1913 ?? GetMementoListOutProto()} + set {_uniqueStorage()._getMementoListOutProto1913 = newValue} + } + /// Returns true if `getMementoListOutProto1913` has been explicitly set. + public var hasGetMementoListOutProto1913: Bool {return _storage._getMementoListOutProto1913 != nil} + /// Clears the value of `getMementoListOutProto1913`. Subsequent reads from it will return its default value. + public mutating func clearGetMementoListOutProto1913() {_uniqueStorage()._getMementoListOutProto1913 = nil} - public var numPhotosSharedOcclusions: Int32 { - get {return _storage._numPhotosSharedOcclusions} - set {_uniqueStorage()._numPhotosSharedOcclusions = newValue} - } + public var uploadRaidClientLogOutProto1914: UploadRaidClientLogOutProto { + get {return _storage._uploadRaidClientLogOutProto1914 ?? UploadRaidClientLogOutProto()} + set {_uniqueStorage()._uploadRaidClientLogOutProto1914 = newValue} + } + /// Returns true if `uploadRaidClientLogOutProto1914` has been explicitly set. + public var hasUploadRaidClientLogOutProto1914: Bool {return _storage._uploadRaidClientLogOutProto1914 != nil} + /// Clears the value of `uploadRaidClientLogOutProto1914`. Subsequent reads from it will return its default value. + public mutating func clearUploadRaidClientLogOutProto1914() {_uniqueStorage()._uploadRaidClientLogOutProto1914 = nil} - public var modelURL: String { - get {return _storage._modelURL} - set {_uniqueStorage()._modelURL = newValue} - } + public var checkGiftingEligibilityOutProto2000: CheckGiftingEligibilityOutProto { + get {return _storage._checkGiftingEligibilityOutProto2000 ?? CheckGiftingEligibilityOutProto()} + set {_uniqueStorage()._checkGiftingEligibilityOutProto2000 = newValue} + } + /// Returns true if `checkGiftingEligibilityOutProto2000` has been explicitly set. + public var hasCheckGiftingEligibilityOutProto2000: Bool {return _storage._checkGiftingEligibilityOutProto2000 != nil} + /// Clears the value of `checkGiftingEligibilityOutProto2000`. Subsequent reads from it will return its default value. + public mutating func clearCheckGiftingEligibilityOutProto2000() {_uniqueStorage()._checkGiftingEligibilityOutProto2000 = nil} - public var ardkVersion: String { - get {return _storage._ardkVersion} - set {_uniqueStorage()._ardkVersion = newValue} - } + public var redeemTicketGiftForFriendOutProto2001: RedeemTicketGiftForFriendOutProto { + get {return _storage._redeemTicketGiftForFriendOutProto2001 ?? RedeemTicketGiftForFriendOutProto()} + set {_uniqueStorage()._redeemTicketGiftForFriendOutProto2001 = newValue} + } + /// Returns true if `redeemTicketGiftForFriendOutProto2001` has been explicitly set. + public var hasRedeemTicketGiftForFriendOutProto2001: Bool {return _storage._redeemTicketGiftForFriendOutProto2001 != nil} + /// Clears the value of `redeemTicketGiftForFriendOutProto2001`. Subsequent reads from it will return its default value. + public mutating func clearRedeemTicketGiftForFriendOutProto2001() {_uniqueStorage()._redeemTicketGiftForFriendOutProto2001 = nil} - public var averageFramerate: Int32 { - get {return _storage._averageFramerate} - set {_uniqueStorage()._averageFramerate = newValue} - } + public var getPokestopEncounterOutProto2005: GetPokestopEncounterOutProto { + get {return _storage._getPokestopEncounterOutProto2005 ?? GetPokestopEncounterOutProto()} + set {_uniqueStorage()._getPokestopEncounterOutProto2005 = newValue} + } + /// Returns true if `getPokestopEncounterOutProto2005` has been explicitly set. + public var hasGetPokestopEncounterOutProto2005: Bool {return _storage._getPokestopEncounterOutProto2005 != nil} + /// Clears the value of `getPokestopEncounterOutProto2005`. Subsequent reads from it will return its default value. + public mutating func clearGetPokestopEncounterOutProto2005() {_uniqueStorage()._getPokestopEncounterOutProto2005 = nil} - public var averageBatteryPerMin: Float { - get {return _storage._averageBatteryPerMin} - set {_uniqueStorage()._averageBatteryPerMin = newValue} - } + public var encounterPokestopencounterOutProto2006: EncounterPokestopEncounterOutProto { + get {return _storage._encounterPokestopencounterOutProto2006 ?? EncounterPokestopEncounterOutProto()} + set {_uniqueStorage()._encounterPokestopencounterOutProto2006 = newValue} + } + /// Returns true if `encounterPokestopencounterOutProto2006` has been explicitly set. + public var hasEncounterPokestopencounterOutProto2006: Bool {return _storage._encounterPokestopencounterOutProto2006 != nil} + /// Clears the value of `encounterPokestopencounterOutProto2006`. Subsequent reads from it will return its default value. + public mutating func clearEncounterPokestopencounterOutProto2006() {_uniqueStorage()._encounterPokestopencounterOutProto2006 = nil} - public var averageCpuUsage: Float { - get {return _storage._averageCpuUsage} - set {_uniqueStorage()._averageCpuUsage = newValue} - } + public var playerSpawnablepokemonOutproto2007: PlayerSpawnablePokemonOutProto { + get {return _storage._playerSpawnablepokemonOutproto2007 ?? PlayerSpawnablePokemonOutProto()} + set {_uniqueStorage()._playerSpawnablepokemonOutproto2007 = newValue} + } + /// Returns true if `playerSpawnablepokemonOutproto2007` has been explicitly set. + public var hasPlayerSpawnablepokemonOutproto2007: Bool {return _storage._playerSpawnablepokemonOutproto2007 != nil} + /// Clears the value of `playerSpawnablepokemonOutproto2007`. Subsequent reads from it will return its default value. + public mutating func clearPlayerSpawnablepokemonOutproto2007() {_uniqueStorage()._playerSpawnablepokemonOutproto2007 = nil} - public var averageGpuUsage: Float { - get {return _storage._averageGpuUsage} - set {_uniqueStorage()._averageGpuUsage = newValue} - } + public var sendFriendRequestViaPlayerIDOutProto2010: SendFriendRequestViaPlayerIdOutProto { + get {return _storage._sendFriendRequestViaPlayerIDOutProto2010 ?? SendFriendRequestViaPlayerIdOutProto()} + set {_uniqueStorage()._sendFriendRequestViaPlayerIDOutProto2010 = newValue} + } + /// Returns true if `sendFriendRequestViaPlayerIDOutProto2010` has been explicitly set. + public var hasSendFriendRequestViaPlayerIDOutProto2010: Bool {return _storage._sendFriendRequestViaPlayerIDOutProto2010 != nil} + /// Clears the value of `sendFriendRequestViaPlayerIDOutProto2010`. Subsequent reads from it will return its default value. + public mutating func clearSendFriendRequestViaPlayerIDOutProto2010() {_uniqueStorage()._sendFriendRequestViaPlayerIDOutProto2010 = nil} - public var framerateSamples: [ArPhotoSessionProto.FramerateSample] { - get {return _storage._framerateSamples} - set {_uniqueStorage()._framerateSamples = newValue} - } + public var getRaidLobbyCounterOutProto2011: GetRaidLobbyCounterOutProto { + get {return _storage._getRaidLobbyCounterOutProto2011 ?? GetRaidLobbyCounterOutProto()} + set {_uniqueStorage()._getRaidLobbyCounterOutProto2011 = newValue} + } + /// Returns true if `getRaidLobbyCounterOutProto2011` has been explicitly set. + public var hasGetRaidLobbyCounterOutProto2011: Bool {return _storage._getRaidLobbyCounterOutProto2011 != nil} + /// Clears the value of `getRaidLobbyCounterOutProto2011`. Subsequent reads from it will return its default value. + public mutating func clearGetRaidLobbyCounterOutProto2011() {_uniqueStorage()._getRaidLobbyCounterOutProto2011 = nil} - public var batterySamples: [ArPhotoSessionProto.BatterySample] { - get {return _storage._batterySamples} - set {_uniqueStorage()._batterySamples = newValue} - } + public var useNonCombatMoveResponseProto2014: UseNonCombatMoveResponseProto { + get {return _storage._useNonCombatMoveResponseProto2014 ?? UseNonCombatMoveResponseProto()} + set {_uniqueStorage()._useNonCombatMoveResponseProto2014 = newValue} + } + /// Returns true if `useNonCombatMoveResponseProto2014` has been explicitly set. + public var hasUseNonCombatMoveResponseProto2014: Bool {return _storage._useNonCombatMoveResponseProto2014 != nil} + /// Clears the value of `useNonCombatMoveResponseProto2014`. Subsequent reads from it will return its default value. + public mutating func clearUseNonCombatMoveResponseProto2014() {_uniqueStorage()._useNonCombatMoveResponseProto2014 = nil} - public var processorSamples: [ArPhotoSessionProto.ProcessorSample] { - get {return _storage._processorSamples} - set {_uniqueStorage()._processorSamples = newValue} - } + public var getContestDataOutProto2105: GetContestDataOutProto { + get {return _storage._getContestDataOutProto2105 ?? GetContestDataOutProto()} + set {_uniqueStorage()._getContestDataOutProto2105 = newValue} + } + /// Returns true if `getContestDataOutProto2105` has been explicitly set. + public var hasGetContestDataOutProto2105: Bool {return _storage._getContestDataOutProto2105 != nil} + /// Clears the value of `getContestDataOutProto2105`. Subsequent reads from it will return its default value. + public mutating func clearGetContestDataOutProto2105() {_uniqueStorage()._getContestDataOutProto2105 = nil} - public var sessionStartToPlaneDetectionMs: Int32 { - get {return _storage._sessionStartToPlaneDetectionMs} - set {_uniqueStorage()._sessionStartToPlaneDetectionMs = newValue} - } + public var getContestsUnclaimedRewardsOutProto2106: GetContestsUnclaimedRewardsOutProto { + get {return _storage._getContestsUnclaimedRewardsOutProto2106 ?? GetContestsUnclaimedRewardsOutProto()} + set {_uniqueStorage()._getContestsUnclaimedRewardsOutProto2106 = newValue} + } + /// Returns true if `getContestsUnclaimedRewardsOutProto2106` has been explicitly set. + public var hasGetContestsUnclaimedRewardsOutProto2106: Bool {return _storage._getContestsUnclaimedRewardsOutProto2106 != nil} + /// Clears the value of `getContestsUnclaimedRewardsOutProto2106`. Subsequent reads from it will return its default value. + public mutating func clearGetContestsUnclaimedRewardsOutProto2106() {_uniqueStorage()._getContestsUnclaimedRewardsOutProto2106 = nil} - public var planeDetectionToUserInteractionMs: Int32 { - get {return _storage._planeDetectionToUserInteractionMs} - set {_uniqueStorage()._planeDetectionToUserInteractionMs = newValue} - } + public var claimcontestsRewardsOutProto2107: ClaimContestsRewardsOutProto { + get {return _storage._claimcontestsRewardsOutProto2107 ?? ClaimContestsRewardsOutProto()} + set {_uniqueStorage()._claimcontestsRewardsOutProto2107 = newValue} + } + /// Returns true if `claimcontestsRewardsOutProto2107` has been explicitly set. + public var hasClaimcontestsRewardsOutProto2107: Bool {return _storage._claimcontestsRewardsOutProto2107 != nil} + /// Clears the value of `claimcontestsRewardsOutProto2107`. Subsequent reads from it will return its default value. + public mutating func clearClaimcontestsRewardsOutProto2107() {_uniqueStorage()._claimcontestsRewardsOutProto2107 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var getEnteredContestOutProto2108: GetEnteredContestOutProto { + get {return _storage._getEnteredContestOutProto2108 ?? GetEnteredContestOutProto()} + set {_uniqueStorage()._getEnteredContestOutProto2108 = newValue} + } + /// Returns true if `getEnteredContestOutProto2108` has been explicitly set. + public var hasGetEnteredContestOutProto2108: Bool {return _storage._getEnteredContestOutProto2108 != nil} + /// Clears the value of `getEnteredContestOutProto2108`. Subsequent reads from it will return its default value. + public mutating func clearGetEnteredContestOutProto2108() {_uniqueStorage()._getEnteredContestOutProto2108 = nil} - public enum ArContext: SwiftProtobuf.Enum { - public typealias RawValue = Int - case none // = 0 - case arEncounter // = 1 - case arSnapshot // = 2 - case singleplayerBuddy // = 3 - case multiplayerBuddy // = 4 - case UNRECOGNIZED(Int) + public var startPartyOutProto2302: StartPartyOutProto { + get {return _storage._startPartyOutProto2302 ?? StartPartyOutProto()} + set {_uniqueStorage()._startPartyOutProto2302 = newValue} + } + /// Returns true if `startPartyOutProto2302` has been explicitly set. + public var hasStartPartyOutProto2302: Bool {return _storage._startPartyOutProto2302 != nil} + /// Clears the value of `startPartyOutProto2302`. Subsequent reads from it will return its default value. + public mutating func clearStartPartyOutProto2302() {_uniqueStorage()._startPartyOutProto2302 = nil} - public init() { - self = .none + public var badgeRewardEncounterResponseProto2360: BadgeRewardEncounterResponseProto { + get {return _storage._badgeRewardEncounterResponseProto2360 ?? BadgeRewardEncounterResponseProto()} + set {_uniqueStorage()._badgeRewardEncounterResponseProto2360 = newValue} } + /// Returns true if `badgeRewardEncounterResponseProto2360` has been explicitly set. + public var hasBadgeRewardEncounterResponseProto2360: Bool {return _storage._badgeRewardEncounterResponseProto2360 != nil} + /// Clears the value of `badgeRewardEncounterResponseProto2360`. Subsequent reads from it will return its default value. + public mutating func clearBadgeRewardEncounterResponseProto2360() {_uniqueStorage()._badgeRewardEncounterResponseProto2360 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .none - case 1: self = .arEncounter - case 2: self = .arSnapshot - case 3: self = .singleplayerBuddy - case 4: self = .multiplayerBuddy - default: self = .UNRECOGNIZED(rawValue) - } + public var npcUpdateStateOutProto2400: NpcUpdateStateOutProto { + get {return _storage._npcUpdateStateOutProto2400 ?? NpcUpdateStateOutProto()} + set {_uniqueStorage()._npcUpdateStateOutProto2400 = newValue} } + /// Returns true if `npcUpdateStateOutProto2400` has been explicitly set. + public var hasNpcUpdateStateOutProto2400: Bool {return _storage._npcUpdateStateOutProto2400 != nil} + /// Clears the value of `npcUpdateStateOutProto2400`. Subsequent reads from it will return its default value. + public mutating func clearNpcUpdateStateOutProto2400() {_uniqueStorage()._npcUpdateStateOutProto2400 = nil} - public var rawValue: Int { - switch self { - case .none: return 0 - case .arEncounter: return 1 - case .arSnapshot: return 2 - case .singleplayerBuddy: return 3 - case .multiplayerBuddy: return 4 - case .UNRECOGNIZED(let i): return i - } + public var npcSendGiftOutProto2401: NpcSendGiftOutProto { + get {return _storage._npcSendGiftOutProto2401 ?? NpcSendGiftOutProto()} + set {_uniqueStorage()._npcSendGiftOutProto2401 = newValue} } + /// Returns true if `npcSendGiftOutProto2401` has been explicitly set. + public var hasNpcSendGiftOutProto2401: Bool {return _storage._npcSendGiftOutProto2401 != nil} + /// Clears the value of `npcSendGiftOutProto2401`. Subsequent reads from it will return its default value. + public mutating func clearNpcSendGiftOutProto2401() {_uniqueStorage()._npcSendGiftOutProto2401 = nil} - } + public var npcOpenGiftOutProto2402: NpcOpenGiftOutProto { + get {return _storage._npcOpenGiftOutProto2402 ?? NpcOpenGiftOutProto()} + set {_uniqueStorage()._npcOpenGiftOutProto2402 = newValue} + } + /// Returns true if `npcOpenGiftOutProto2402` has been explicitly set. + public var hasNpcOpenGiftOutProto2402: Bool {return _storage._npcOpenGiftOutProto2402 != nil} + /// Clears the value of `npcOpenGiftOutProto2402`. Subsequent reads from it will return its default value. + public mutating func clearNpcOpenGiftOutProto2402() {_uniqueStorage()._npcOpenGiftOutProto2402 = nil} - public enum ArType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case plus // = 1 - case classic // = 2 - case UNRECOGNIZED(Int) + public var getVpsEventOutProto3000: GetVpsEventOutProto { + get {return _storage._getVpsEventOutProto3000 ?? GetVpsEventOutProto()} + set {_uniqueStorage()._getVpsEventOutProto3000 = newValue} + } + /// Returns true if `getVpsEventOutProto3000` has been explicitly set. + public var hasGetVpsEventOutProto3000: Bool {return _storage._getVpsEventOutProto3000 != nil} + /// Clears the value of `getVpsEventOutProto3000`. Subsequent reads from it will return its default value. + public mutating func clearGetVpsEventOutProto3000() {_uniqueStorage()._getVpsEventOutProto3000 = nil} - public init() { - self = .unset + public var updateVpsEventOutProto3001: UpdateVpsEventOutProto { + get {return _storage._updateVpsEventOutProto3001 ?? UpdateVpsEventOutProto()} + set {_uniqueStorage()._updateVpsEventOutProto3001 = newValue} } + /// Returns true if `updateVpsEventOutProto3001` has been explicitly set. + public var hasUpdateVpsEventOutProto3001: Bool {return _storage._updateVpsEventOutProto3001 != nil} + /// Clears the value of `updateVpsEventOutProto3001`. Subsequent reads from it will return its default value. + public mutating func clearUpdateVpsEventOutProto3001() {_uniqueStorage()._updateVpsEventOutProto3001 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .plus - case 2: self = .classic - default: self = .UNRECOGNIZED(rawValue) - } + public var pushNotificationRegistryOutproto5000: PushNotificationRegistryOutProto { + get {return _storage._pushNotificationRegistryOutproto5000 ?? PushNotificationRegistryOutProto()} + set {_uniqueStorage()._pushNotificationRegistryOutproto5000 = newValue} } + /// Returns true if `pushNotificationRegistryOutproto5000` has been explicitly set. + public var hasPushNotificationRegistryOutproto5000: Bool {return _storage._pushNotificationRegistryOutproto5000 != nil} + /// Clears the value of `pushNotificationRegistryOutproto5000`. Subsequent reads from it will return its default value. + public mutating func clearPushNotificationRegistryOutproto5000() {_uniqueStorage()._pushNotificationRegistryOutproto5000 = nil} - public var rawValue: Int { - switch self { - case .unset: return 0 - case .plus: return 1 - case .classic: return 2 - case .UNRECOGNIZED(let i): return i - } + public var updateNotificationOutProto5002: UpdateNotificationOutProto { + get {return _storage._updateNotificationOutProto5002 ?? UpdateNotificationOutProto()} + set {_uniqueStorage()._updateNotificationOutProto5002 = newValue} } + /// Returns true if `updateNotificationOutProto5002` has been explicitly set. + public var hasUpdateNotificationOutProto5002: Bool {return _storage._updateNotificationOutProto5002 != nil} + /// Clears the value of `updateNotificationOutProto5002`. Subsequent reads from it will return its default value. + public mutating func clearUpdateNotificationOutProto5002() {_uniqueStorage()._updateNotificationOutProto5002 = nil} - } + public var optoutProto5003: OptOutProto { + get {return _storage._optoutProto5003 ?? OptOutProto()} + set {_uniqueStorage()._optoutProto5003 = newValue} + } + /// Returns true if `optoutProto5003` has been explicitly set. + public var hasOptoutProto5003: Bool {return _storage._optoutProto5003 != nil} + /// Clears the value of `optoutProto5003`. Subsequent reads from it will return its default value. + public mutating func clearOptoutProto5003() {_uniqueStorage()._optoutProto5003 = nil} - public enum BatteryStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undetermined // = 0 - case charging // = 1 - case discharging // = 2 - case notCharging // = 3 - case full // = 4 - case UNRECOGNIZED(Int) + public var downloadGmTemplatesResponseProto5004: DownloadGmTemplatesResponseProto { + get {return _storage._downloadGmTemplatesResponseProto5004 ?? DownloadGmTemplatesResponseProto()} + set {_uniqueStorage()._downloadGmTemplatesResponseProto5004 = newValue} + } + /// Returns true if `downloadGmTemplatesResponseProto5004` has been explicitly set. + public var hasDownloadGmTemplatesResponseProto5004: Bool {return _storage._downloadGmTemplatesResponseProto5004 != nil} + /// Clears the value of `downloadGmTemplatesResponseProto5004`. Subsequent reads from it will return its default value. + public mutating func clearDownloadGmTemplatesResponseProto5004() {_uniqueStorage()._downloadGmTemplatesResponseProto5004 = nil} - public init() { - self = .undetermined + public var getInventoryResponseProto5005: GetInventoryResponseProto { + get {return _storage._getInventoryResponseProto5005 ?? GetInventoryResponseProto()} + set {_uniqueStorage()._getInventoryResponseProto5005 = newValue} } + /// Returns true if `getInventoryResponseProto5005` has been explicitly set. + public var hasGetInventoryResponseProto5005: Bool {return _storage._getInventoryResponseProto5005 != nil} + /// Clears the value of `getInventoryResponseProto5005`. Subsequent reads from it will return its default value. + public mutating func clearGetInventoryResponseProto5005() {_uniqueStorage()._getInventoryResponseProto5005 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undetermined - case 1: self = .charging - case 2: self = .discharging - case 3: self = .notCharging - case 4: self = .full - default: self = .UNRECOGNIZED(rawValue) - } + public var redeemPasscoderesponseProto5006: RedeemPasscodeResponseProto { + get {return _storage._redeemPasscoderesponseProto5006 ?? RedeemPasscodeResponseProto()} + set {_uniqueStorage()._redeemPasscoderesponseProto5006 = newValue} } + /// Returns true if `redeemPasscoderesponseProto5006` has been explicitly set. + public var hasRedeemPasscoderesponseProto5006: Bool {return _storage._redeemPasscoderesponseProto5006 != nil} + /// Clears the value of `redeemPasscoderesponseProto5006`. Subsequent reads from it will return its default value. + public mutating func clearRedeemPasscoderesponseProto5006() {_uniqueStorage()._redeemPasscoderesponseProto5006 = nil} - public var rawValue: Int { - switch self { - case .undetermined: return 0 - case .charging: return 1 - case .discharging: return 2 - case .notCharging: return 3 - case .full: return 4 - case .UNRECOGNIZED(let i): return i - } + public var pingResponseproto5007: PingResponseProto { + get {return _storage._pingResponseproto5007 ?? PingResponseProto()} + set {_uniqueStorage()._pingResponseproto5007 = newValue} } + /// Returns true if `pingResponseproto5007` has been explicitly set. + public var hasPingResponseproto5007: Bool {return _storage._pingResponseproto5007 != nil} + /// Clears the value of `pingResponseproto5007`. Subsequent reads from it will return its default value. + public mutating func clearPingResponseproto5007() {_uniqueStorage()._pingResponseproto5007 = nil} - } + public var addLoginactionOutProto5008: AddLoginActionOutProto { + get {return _storage._addLoginactionOutProto5008 ?? AddLoginActionOutProto()} + set {_uniqueStorage()._addLoginactionOutProto5008 = newValue} + } + /// Returns true if `addLoginactionOutProto5008` has been explicitly set. + public var hasAddLoginactionOutProto5008: Bool {return _storage._addLoginactionOutProto5008 != nil} + /// Clears the value of `addLoginactionOutProto5008`. Subsequent reads from it will return its default value. + public mutating func clearAddLoginactionOutProto5008() {_uniqueStorage()._addLoginactionOutProto5008 = nil} - public enum Step: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case cameraPermissionGranted // = 1 - case arplusPlaneFound // = 2 - case arplusPokemonPlaced // = 3 - case photoTaken // = 4 - case photoShared // = 5 - case UNRECOGNIZED(Int) + public var removeLoginActionOutProto5009: RemoveLoginActionOutProto { + get {return _storage._removeLoginActionOutProto5009 ?? RemoveLoginActionOutProto()} + set {_uniqueStorage()._removeLoginActionOutProto5009 = newValue} + } + /// Returns true if `removeLoginActionOutProto5009` has been explicitly set. + public var hasRemoveLoginActionOutProto5009: Bool {return _storage._removeLoginActionOutProto5009 != nil} + /// Clears the value of `removeLoginActionOutProto5009`. Subsequent reads from it will return its default value. + public mutating func clearRemoveLoginActionOutProto5009() {_uniqueStorage()._removeLoginActionOutProto5009 = nil} - public init() { - self = .unknown + public var listloginActionOutProto5010: ListLoginActionOutProto { + get {return _storage._listloginActionOutProto5010 ?? ListLoginActionOutProto()} + set {_uniqueStorage()._listloginActionOutProto5010 = newValue} } + /// Returns true if `listloginActionOutProto5010` has been explicitly set. + public var hasListloginActionOutProto5010: Bool {return _storage._listloginActionOutProto5010 != nil} + /// Clears the value of `listloginActionOutProto5010`. Subsequent reads from it will return its default value. + public mutating func clearListloginActionOutProto5010() {_uniqueStorage()._listloginActionOutProto5010 = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .cameraPermissionGranted - case 2: self = .arplusPlaneFound - case 3: self = .arplusPokemonPlaced - case 4: self = .photoTaken - case 5: self = .photoShared - default: self = .UNRECOGNIZED(rawValue) - } + public var submitNewPoiOutProto5011: SubmitNewPoiOutProto { + get {return _storage._submitNewPoiOutProto5011 ?? SubmitNewPoiOutProto()} + set {_uniqueStorage()._submitNewPoiOutProto5011 = newValue} } + /// Returns true if `submitNewPoiOutProto5011` has been explicitly set. + public var hasSubmitNewPoiOutProto5011: Bool {return _storage._submitNewPoiOutProto5011 != nil} + /// Clears the value of `submitNewPoiOutProto5011`. Subsequent reads from it will return its default value. + public mutating func clearSubmitNewPoiOutProto5011() {_uniqueStorage()._submitNewPoiOutProto5011 = nil} - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .cameraPermissionGranted: return 1 - case .arplusPlaneFound: return 2 - case .arplusPokemonPlaced: return 3 - case .photoTaken: return 4 - case .photoShared: return 5 - case .UNRECOGNIZED(let i): return i - } + public var proxyResponseproto5012: ProxyResponseProto { + get {return _storage._proxyResponseproto5012 ?? ProxyResponseProto()} + set {_uniqueStorage()._proxyResponseproto5012 = newValue} } + /// Returns true if `proxyResponseproto5012` has been explicitly set. + public var hasProxyResponseproto5012: Bool {return _storage._proxyResponseproto5012 != nil} + /// Clears the value of `proxyResponseproto5012`. Subsequent reads from it will return its default value. + public mutating func clearProxyResponseproto5012() {_uniqueStorage()._proxyResponseproto5012 = nil} - } + public var getAvailableSubmissionsOutProto5014: GetAvailableSubmissionsOutProto { + get {return _storage._getAvailableSubmissionsOutProto5014 ?? GetAvailableSubmissionsOutProto()} + set {_uniqueStorage()._getAvailableSubmissionsOutProto5014 = newValue} + } + /// Returns true if `getAvailableSubmissionsOutProto5014` has been explicitly set. + public var hasGetAvailableSubmissionsOutProto5014: Bool {return _storage._getAvailableSubmissionsOutProto5014 != nil} + /// Clears the value of `getAvailableSubmissionsOutProto5014`. Subsequent reads from it will return its default value. + public mutating func clearGetAvailableSubmissionsOutProto5014() {_uniqueStorage()._getAvailableSubmissionsOutProto5014 = nil} - public struct ArConditions { - // 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. + public var replaceLoginActionOutProto5015: ReplaceLoginActionOutProto { + get {return _storage._replaceLoginActionOutProto5015 ?? ReplaceLoginActionOutProto()} + set {_uniqueStorage()._replaceLoginActionOutProto5015 = newValue} + } + /// Returns true if `replaceLoginActionOutProto5015` has been explicitly set. + public var hasReplaceLoginActionOutProto5015: Bool {return _storage._replaceLoginActionOutProto5015 != nil} + /// Clears the value of `replaceLoginActionOutProto5015`. Subsequent reads from it will return its default value. + public mutating func clearReplaceLoginActionOutProto5015() {_uniqueStorage()._replaceLoginActionOutProto5015 = nil} - public var timestamp: Int64 = 0 + public var fitnessUpdateOutProto5024: FitnessUpdateOutProto { + get {return _storage._fitnessUpdateOutProto5024 ?? FitnessUpdateOutProto()} + set {_uniqueStorage()._fitnessUpdateOutProto5024 = newValue} + } + /// Returns true if `fitnessUpdateOutProto5024` has been explicitly set. + public var hasFitnessUpdateOutProto5024: Bool {return _storage._fitnessUpdateOutProto5024 != nil} + /// Clears the value of `fitnessUpdateOutProto5024`. Subsequent reads from it will return its default value. + public mutating func clearFitnessUpdateOutProto5024() {_uniqueStorage()._fitnessUpdateOutProto5024 = nil} - public var occlusionsEnabled: Bool = false + public var getFitnessReportOutProto5025: GetFitnessReportOutProto { + get {return _storage._getFitnessReportOutProto5025 ?? GetFitnessReportOutProto()} + set {_uniqueStorage()._getFitnessReportOutProto5025 = newValue} + } + /// Returns true if `getFitnessReportOutProto5025` has been explicitly set. + public var hasGetFitnessReportOutProto5025: Bool {return _storage._getFitnessReportOutProto5025 != nil} + /// Clears the value of `getFitnessReportOutProto5025`. Subsequent reads from it will return its default value. + public mutating func clearGetFitnessReportOutProto5025() {_uniqueStorage()._getFitnessReportOutProto5025 = nil} - public var currentArStep: ArPhotoSessionProto.Step = .unknown + public var clientTelemetryclientSettingsProto5026: ClientTelemetryClientSettingsProto { + get {return _storage._clientTelemetryclientSettingsProto5026 ?? ClientTelemetryClientSettingsProto()} + set {_uniqueStorage()._clientTelemetryclientSettingsProto5026 = newValue} + } + /// Returns true if `clientTelemetryclientSettingsProto5026` has been explicitly set. + public var hasClientTelemetryclientSettingsProto5026: Bool {return _storage._clientTelemetryclientSettingsProto5026 != nil} + /// Clears the value of `clientTelemetryclientSettingsProto5026`. Subsequent reads from it will return its default value. + public mutating func clearClientTelemetryclientSettingsProto5026() {_uniqueStorage()._clientTelemetryclientSettingsProto5026 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var setInGameCurrencyExchangeRateOutProto5032: SetInGameCurrencyExchangeRateOutProto { + get {return _storage._setInGameCurrencyExchangeRateOutProto5032 ?? SetInGameCurrencyExchangeRateOutProto()} + set {_uniqueStorage()._setInGameCurrencyExchangeRateOutProto5032 = newValue} + } + /// Returns true if `setInGameCurrencyExchangeRateOutProto5032` has been explicitly set. + public var hasSetInGameCurrencyExchangeRateOutProto5032: Bool {return _storage._setInGameCurrencyExchangeRateOutProto5032 != nil} + /// Clears the value of `setInGameCurrencyExchangeRateOutProto5032`. Subsequent reads from it will return its default value. + public mutating func clearSetInGameCurrencyExchangeRateOutProto5032() {_uniqueStorage()._setInGameCurrencyExchangeRateOutProto5032 = nil} - public init() {} - } + public var geofenceUpdateOutProto5033: GeofenceUpdateOutProto { + get {return _storage._geofenceUpdateOutProto5033 ?? GeofenceUpdateOutProto()} + set {_uniqueStorage()._geofenceUpdateOutProto5033 = newValue} + } + /// Returns true if `geofenceUpdateOutProto5033` has been explicitly set. + public var hasGeofenceUpdateOutProto5033: Bool {return _storage._geofenceUpdateOutProto5033 != nil} + /// Clears the value of `geofenceUpdateOutProto5033`. Subsequent reads from it will return its default value. + public mutating func clearGeofenceUpdateOutProto5033() {_uniqueStorage()._geofenceUpdateOutProto5033 = nil} - public struct BatterySample { - // 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. + public var locationPingOutProto5034: LocationPingOutProto { + get {return _storage._locationPingOutProto5034 ?? LocationPingOutProto()} + set {_uniqueStorage()._locationPingOutProto5034 = newValue} + } + /// Returns true if `locationPingOutProto5034` has been explicitly set. + public var hasLocationPingOutProto5034: Bool {return _storage._locationPingOutProto5034 != nil} + /// Clears the value of `locationPingOutProto5034`. Subsequent reads from it will return its default value. + public mutating func clearLocationPingOutProto5034() {_uniqueStorage()._locationPingOutProto5034 = nil} - public var conditions: ArPhotoSessionProto.ArConditions { - get {return _conditions ?? ArPhotoSessionProto.ArConditions()} - set {_conditions = newValue} + public var generategmapSignedURLOutProto5035: GenerateGmapSignedUrlOutProto { + get {return _storage._generategmapSignedURLOutProto5035 ?? GenerateGmapSignedUrlOutProto()} + set {_uniqueStorage()._generategmapSignedURLOutProto5035 = newValue} } - /// Returns true if `conditions` has been explicitly set. - public var hasConditions: Bool {return self._conditions != nil} - /// Clears the value of `conditions`. Subsequent reads from it will return its default value. - public mutating func clearConditions() {self._conditions = nil} + /// Returns true if `generategmapSignedURLOutProto5035` has been explicitly set. + public var hasGenerategmapSignedURLOutProto5035: Bool {return _storage._generategmapSignedURLOutProto5035 != nil} + /// Clears the value of `generategmapSignedURLOutProto5035`. Subsequent reads from it will return its default value. + public mutating func clearGenerategmapSignedURLOutProto5035() {_uniqueStorage()._generategmapSignedURLOutProto5035 = nil} - public var batteryLevel: Float = 0 + public var getgmapSettingsOutProto5036: GetGmapSettingsOutProto { + get {return _storage._getgmapSettingsOutProto5036 ?? GetGmapSettingsOutProto()} + set {_uniqueStorage()._getgmapSettingsOutProto5036 = newValue} + } + /// Returns true if `getgmapSettingsOutProto5036` has been explicitly set. + public var hasGetgmapSettingsOutProto5036: Bool {return _storage._getgmapSettingsOutProto5036 != nil} + /// Clears the value of `getgmapSettingsOutProto5036`. Subsequent reads from it will return its default value. + public mutating func clearGetgmapSettingsOutProto5036() {_uniqueStorage()._getgmapSettingsOutProto5036 = nil} - public var status: ArPhotoSessionProto.BatteryStatus = .undetermined + public var getOutstandingWarningsResponseProto5039: GetOutstandingWarningsResponseProto { + get {return _storage._getOutstandingWarningsResponseProto5039 ?? GetOutstandingWarningsResponseProto()} + set {_uniqueStorage()._getOutstandingWarningsResponseProto5039 = newValue} + } + /// Returns true if `getOutstandingWarningsResponseProto5039` has been explicitly set. + public var hasGetOutstandingWarningsResponseProto5039: Bool {return _storage._getOutstandingWarningsResponseProto5039 != nil} + /// Clears the value of `getOutstandingWarningsResponseProto5039`. Subsequent reads from it will return its default value. + public mutating func clearGetOutstandingWarningsResponseProto5039() {_uniqueStorage()._getOutstandingWarningsResponseProto5039 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var acknowledgeWarningsResponseProto5040: AcknowledgeWarningsResponseProto { + get {return _storage._acknowledgeWarningsResponseProto5040 ?? AcknowledgeWarningsResponseProto()} + set {_uniqueStorage()._acknowledgeWarningsResponseProto5040 = newValue} + } + /// Returns true if `acknowledgeWarningsResponseProto5040` has been explicitly set. + public var hasAcknowledgeWarningsResponseProto5040: Bool {return _storage._acknowledgeWarningsResponseProto5040 != nil} + /// Clears the value of `acknowledgeWarningsResponseProto5040`. Subsequent reads from it will return its default value. + public mutating func clearAcknowledgeWarningsResponseProto5040() {_uniqueStorage()._acknowledgeWarningsResponseProto5040 = nil} - public init() {} + public var getWebTokenOutProto5045: GetWebTokenOutProto { + get {return _storage._getWebTokenOutProto5045 ?? GetWebTokenOutProto()} + set {_uniqueStorage()._getWebTokenOutProto5045 = newValue} + } + /// Returns true if `getWebTokenOutProto5045` has been explicitly set. + public var hasGetWebTokenOutProto5045: Bool {return _storage._getWebTokenOutProto5045 != nil} + /// Clears the value of `getWebTokenOutProto5045`. Subsequent reads from it will return its default value. + public mutating func clearGetWebTokenOutProto5045() {_uniqueStorage()._getWebTokenOutProto5045 = nil} - fileprivate var _conditions: ArPhotoSessionProto.ArConditions? = nil - } + public var getAdventureSyncSettingsResponseProto5046: GetAdventureSyncSettingsResponseProto { + get {return _storage._getAdventureSyncSettingsResponseProto5046 ?? GetAdventureSyncSettingsResponseProto()} + set {_uniqueStorage()._getAdventureSyncSettingsResponseProto5046 = newValue} + } + /// Returns true if `getAdventureSyncSettingsResponseProto5046` has been explicitly set. + public var hasGetAdventureSyncSettingsResponseProto5046: Bool {return _storage._getAdventureSyncSettingsResponseProto5046 != nil} + /// Clears the value of `getAdventureSyncSettingsResponseProto5046`. Subsequent reads from it will return its default value. + public mutating func clearGetAdventureSyncSettingsResponseProto5046() {_uniqueStorage()._getAdventureSyncSettingsResponseProto5046 = nil} - public struct FramerateSample { - // 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. + public var updateAdventureSyncSettingsResponseProto5047: UpdateAdventureSyncSettingsResponseProto { + get {return _storage._updateAdventureSyncSettingsResponseProto5047 ?? UpdateAdventureSyncSettingsResponseProto()} + set {_uniqueStorage()._updateAdventureSyncSettingsResponseProto5047 = newValue} + } + /// Returns true if `updateAdventureSyncSettingsResponseProto5047` has been explicitly set. + public var hasUpdateAdventureSyncSettingsResponseProto5047: Bool {return _storage._updateAdventureSyncSettingsResponseProto5047 != nil} + /// Clears the value of `updateAdventureSyncSettingsResponseProto5047`. Subsequent reads from it will return its default value. + public mutating func clearUpdateAdventureSyncSettingsResponseProto5047() {_uniqueStorage()._updateAdventureSyncSettingsResponseProto5047 = nil} - public var conditions: ArPhotoSessionProto.ArConditions { - get {return _conditions ?? ArPhotoSessionProto.ArConditions()} - set {_conditions = newValue} + public var setBirthdayResponseProto5048: SetBirthdayResponseProto { + get {return _storage._setBirthdayResponseProto5048 ?? SetBirthdayResponseProto()} + set {_uniqueStorage()._setBirthdayResponseProto5048 = newValue} } - /// Returns true if `conditions` has been explicitly set. - public var hasConditions: Bool {return self._conditions != nil} - /// Clears the value of `conditions`. Subsequent reads from it will return its default value. - public mutating func clearConditions() {self._conditions = nil} + /// Returns true if `setBirthdayResponseProto5048` has been explicitly set. + public var hasSetBirthdayResponseProto5048: Bool {return _storage._setBirthdayResponseProto5048 != nil} + /// Clears the value of `setBirthdayResponseProto5048`. Subsequent reads from it will return its default value. + public mutating func clearSetBirthdayResponseProto5048() {_uniqueStorage()._setBirthdayResponseProto5048 = nil} - public var framerate: Int32 = 0 + public var fetchNewsfeedResponse5049: FetchNewsfeedResponse { + get {return _storage._fetchNewsfeedResponse5049 ?? FetchNewsfeedResponse()} + set {_uniqueStorage()._fetchNewsfeedResponse5049 = newValue} + } + /// Returns true if `fetchNewsfeedResponse5049` has been explicitly set. + public var hasFetchNewsfeedResponse5049: Bool {return _storage._fetchNewsfeedResponse5049 != nil} + /// Clears the value of `fetchNewsfeedResponse5049`. Subsequent reads from it will return its default value. + public mutating func clearFetchNewsfeedResponse5049() {_uniqueStorage()._fetchNewsfeedResponse5049 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var markNewsfeedReadResponse5050: MarkNewsfeedReadResponse { + get {return _storage._markNewsfeedReadResponse5050 ?? MarkNewsfeedReadResponse()} + set {_uniqueStorage()._markNewsfeedReadResponse5050 = newValue} + } + /// Returns true if `markNewsfeedReadResponse5050` has been explicitly set. + public var hasMarkNewsfeedReadResponse5050: Bool {return _storage._markNewsfeedReadResponse5050 != nil} + /// Clears the value of `markNewsfeedReadResponse5050`. Subsequent reads from it will return its default value. + public mutating func clearMarkNewsfeedReadResponse5050() {_uniqueStorage()._markNewsfeedReadResponse5050 = nil} - public init() {} + public var savesocialPlayersettingsOutProto10016: SaveSocialPlayerSettingsOutProto { + get {return _storage._savesocialPlayersettingsOutProto10016 ?? SaveSocialPlayerSettingsOutProto()} + set {_uniqueStorage()._savesocialPlayersettingsOutProto10016 = newValue} + } + /// Returns true if `savesocialPlayersettingsOutProto10016` has been explicitly set. + public var hasSavesocialPlayersettingsOutProto10016: Bool {return _storage._savesocialPlayersettingsOutProto10016 != nil} + /// Clears the value of `savesocialPlayersettingsOutProto10016`. Subsequent reads from it will return its default value. + public mutating func clearSavesocialPlayersettingsOutProto10016() {_uniqueStorage()._savesocialPlayersettingsOutProto10016 = nil} - fileprivate var _conditions: ArPhotoSessionProto.ArConditions? = nil - } + public var pushNotificationRegistryOutproto10101: PushNotificationRegistryOutProto { + get {return _storage._pushNotificationRegistryOutproto10101 ?? PushNotificationRegistryOutProto()} + set {_uniqueStorage()._pushNotificationRegistryOutproto10101 = newValue} + } + /// Returns true if `pushNotificationRegistryOutproto10101` has been explicitly set. + public var hasPushNotificationRegistryOutproto10101: Bool {return _storage._pushNotificationRegistryOutproto10101 != nil} + /// Clears the value of `pushNotificationRegistryOutproto10101`. Subsequent reads from it will return its default value. + public mutating func clearPushNotificationRegistryOutproto10101() {_uniqueStorage()._pushNotificationRegistryOutproto10101 = nil} - public struct ProcessorSample { - // 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. + public var updateNotificationOutProto10103: UpdateNotificationOutProto { + get {return _storage._updateNotificationOutProto10103 ?? UpdateNotificationOutProto()} + set {_uniqueStorage()._updateNotificationOutProto10103 = newValue} + } + /// Returns true if `updateNotificationOutProto10103` has been explicitly set. + public var hasUpdateNotificationOutProto10103: Bool {return _storage._updateNotificationOutProto10103 != nil} + /// Clears the value of `updateNotificationOutProto10103`. Subsequent reads from it will return its default value. + public mutating func clearUpdateNotificationOutProto10103() {_uniqueStorage()._updateNotificationOutProto10103 = nil} - public var conditions: ArPhotoSessionProto.ArConditions { - get {return _conditions ?? ArPhotoSessionProto.ArConditions()} - set {_conditions = newValue} + public var optoutProto10104: OptOutProto { + get {return _storage._optoutProto10104 ?? OptOutProto()} + set {_uniqueStorage()._optoutProto10104 = newValue} } - /// Returns true if `conditions` has been explicitly set. - public var hasConditions: Bool {return self._conditions != nil} - /// Clears the value of `conditions`. Subsequent reads from it will return its default value. - public mutating func clearConditions() {self._conditions = nil} + /// Returns true if `optoutProto10104` has been explicitly set. + public var hasOptoutProto10104: Bool {return _storage._optoutProto10104 != nil} + /// Clears the value of `optoutProto10104`. Subsequent reads from it will return its default value. + public mutating func clearOptoutProto10104() {_uniqueStorage()._optoutProto10104 = nil} - public var cpuUsage: Float = 0 + public var getInboxOutProto10105: GetInboxOutProto { + get {return _storage._getInboxOutProto10105 ?? GetInboxOutProto()} + set {_uniqueStorage()._getInboxOutProto10105 = newValue} + } + /// Returns true if `getInboxOutProto10105` has been explicitly set. + public var hasGetInboxOutProto10105: Bool {return _storage._getInboxOutProto10105 != nil} + /// Clears the value of `getInboxOutProto10105`. Subsequent reads from it will return its default value. + public mutating func clearGetInboxOutProto10105() {_uniqueStorage()._getInboxOutProto10105 = nil} - public var gpuUsage: Float = 0 + public var getOutstandingWarningsResponseProto200000: GetOutstandingWarningsResponseProto { + get {return _storage._getOutstandingWarningsResponseProto200000 ?? GetOutstandingWarningsResponseProto()} + set {_uniqueStorage()._getOutstandingWarningsResponseProto200000 = newValue} + } + /// Returns true if `getOutstandingWarningsResponseProto200000` has been explicitly set. + public var hasGetOutstandingWarningsResponseProto200000: Bool {return _storage._getOutstandingWarningsResponseProto200000 != nil} + /// Clears the value of `getOutstandingWarningsResponseProto200000`. Subsequent reads from it will return its default value. + public mutating func clearGetOutstandingWarningsResponseProto200000() {_uniqueStorage()._getOutstandingWarningsResponseProto200000 = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var acknowledgeWarningsResponseProto200001: AcknowledgeWarningsResponseProto { + get {return _storage._acknowledgeWarningsResponseProto200001 ?? AcknowledgeWarningsResponseProto()} + set {_uniqueStorage()._acknowledgeWarningsResponseProto200001 = newValue} + } + /// Returns true if `acknowledgeWarningsResponseProto200001` has been explicitly set. + public var hasAcknowledgeWarningsResponseProto200001: Bool {return _storage._acknowledgeWarningsResponseProto200001 != nil} + /// Clears the value of `acknowledgeWarningsResponseProto200001`. Subsequent reads from it will return its default value. + public mutating func clearAcknowledgeWarningsResponseProto200001() {_uniqueStorage()._acknowledgeWarningsResponseProto200001 = nil} - public init() {} + public var getAdventureSyncProgressOutProto230002: GetAdventureSyncProgressOutProto { + get {return _storage._getAdventureSyncProgressOutProto230002 ?? GetAdventureSyncProgressOutProto()} + set {_uniqueStorage()._getAdventureSyncProgressOutProto230002 = newValue} + } + /// Returns true if `getAdventureSyncProgressOutProto230002` has been explicitly set. + public var hasGetAdventureSyncProgressOutProto230002: Bool {return _storage._getAdventureSyncProgressOutProto230002 != nil} + /// Clears the value of `getAdventureSyncProgressOutProto230002`. Subsequent reads from it will return its default value. + public mutating func clearGetAdventureSyncProgressOutProto230002() {_uniqueStorage()._getAdventureSyncProgressOutProto230002 = nil} - fileprivate var _conditions: ArPhotoSessionProto.ArConditions? = nil - } + public var setInGameCurrencyExchangeRateOutProto310002: SetInGameCurrencyExchangeRateOutProto { + get {return _storage._setInGameCurrencyExchangeRateOutProto310002 ?? SetInGameCurrencyExchangeRateOutProto()} + set {_uniqueStorage()._setInGameCurrencyExchangeRateOutProto310002 = newValue} + } + /// Returns true if `setInGameCurrencyExchangeRateOutProto310002` has been explicitly set. + public var hasSetInGameCurrencyExchangeRateOutProto310002: Bool {return _storage._setInGameCurrencyExchangeRateOutProto310002 != nil} + /// Clears the value of `setInGameCurrencyExchangeRateOutProto310002`. Subsequent reads from it will return its default value. + public mutating func clearSetInGameCurrencyExchangeRateOutProto310002() {_uniqueStorage()._setInGameCurrencyExchangeRateOutProto310002 = nil} - public init() {} + public var geofenceUpdateOutProto360000: GeofenceUpdateOutProto { + get {return _storage._geofenceUpdateOutProto360000 ?? GeofenceUpdateOutProto()} + set {_uniqueStorage()._geofenceUpdateOutProto360000 = newValue} + } + /// Returns true if `geofenceUpdateOutProto360000` has been explicitly set. + public var hasGeofenceUpdateOutProto360000: Bool {return _storage._geofenceUpdateOutProto360000 != nil} + /// Clears the value of `geofenceUpdateOutProto360000`. Subsequent reads from it will return its default value. + public mutating func clearGeofenceUpdateOutProto360000() {_uniqueStorage()._geofenceUpdateOutProto360000 = nil} - fileprivate var _storage = _StorageClass.defaultInstance -} + public var locationPingOutProto360001: LocationPingOutProto { + get {return _storage._locationPingOutProto360001 ?? LocationPingOutProto()} + set {_uniqueStorage()._locationPingOutProto360001 = newValue} + } + /// Returns true if `locationPingOutProto360001` has been explicitly set. + public var hasLocationPingOutProto360001: Bool {return _storage._locationPingOutProto360001 != nil} + /// Clears the value of `locationPingOutProto360001`. Subsequent reads from it will return its default value. + public mutating func clearLocationPingOutProto360001() {_uniqueStorage()._locationPingOutProto360001 = nil} -#if swift(>=4.2) + public var updateBreadcrumbHistoryResponseProto361000: UpdateBreadcrumbHistoryResponseProto { + get {return _storage._updateBreadcrumbHistoryResponseProto361000 ?? UpdateBreadcrumbHistoryResponseProto()} + set {_uniqueStorage()._updateBreadcrumbHistoryResponseProto361000 = newValue} + } + /// Returns true if `updateBreadcrumbHistoryResponseProto361000` has been explicitly set. + public var hasUpdateBreadcrumbHistoryResponseProto361000: Bool {return _storage._updateBreadcrumbHistoryResponseProto361000 != nil} + /// Clears the value of `updateBreadcrumbHistoryResponseProto361000`. Subsequent reads from it will return its default value. + public mutating func clearUpdateBreadcrumbHistoryResponseProto361000() {_uniqueStorage()._updateBreadcrumbHistoryResponseProto361000 = nil} -extension ArPhotoSessionProto.ArContext: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ArPhotoSessionProto.ArContext] = [ - .none, - .arEncounter, - .arSnapshot, - .singleplayerBuddy, - .multiplayerBuddy, - ] -} + public var refreshProximityTokensresponseProto362000: RefreshProximityTokensResponseProto { + get {return _storage._refreshProximityTokensresponseProto362000 ?? RefreshProximityTokensResponseProto()} + set {_uniqueStorage()._refreshProximityTokensresponseProto362000 = newValue} + } + /// Returns true if `refreshProximityTokensresponseProto362000` has been explicitly set. + public var hasRefreshProximityTokensresponseProto362000: Bool {return _storage._refreshProximityTokensresponseProto362000 != nil} + /// Clears the value of `refreshProximityTokensresponseProto362000`. Subsequent reads from it will return its default value. + public mutating func clearRefreshProximityTokensresponseProto362000() {_uniqueStorage()._refreshProximityTokensresponseProto362000 = nil} -extension ArPhotoSessionProto.ArType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ArPhotoSessionProto.ArType] = [ - .unset, - .plus, - .classic, - ] -} + public var reportProximityContactsresponseProto362001: ReportProximityContactsResponseProto { + get {return _storage._reportProximityContactsresponseProto362001 ?? ReportProximityContactsResponseProto()} + set {_uniqueStorage()._reportProximityContactsresponseProto362001 = newValue} + } + /// Returns true if `reportProximityContactsresponseProto362001` has been explicitly set. + public var hasReportProximityContactsresponseProto362001: Bool {return _storage._reportProximityContactsresponseProto362001 != nil} + /// Clears the value of `reportProximityContactsresponseProto362001`. Subsequent reads from it will return its default value. + public mutating func clearReportProximityContactsresponseProto362001() {_uniqueStorage()._reportProximityContactsresponseProto362001 = nil} -extension ArPhotoSessionProto.BatteryStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ArPhotoSessionProto.BatteryStatus] = [ - .undetermined, - .charging, - .discharging, - .notCharging, - .full, - ] -} + public var submitNewPoiOutProto620000: SubmitNewPoiOutProto { + get {return _storage._submitNewPoiOutProto620000 ?? SubmitNewPoiOutProto()} + set {_uniqueStorage()._submitNewPoiOutProto620000 = newValue} + } + /// Returns true if `submitNewPoiOutProto620000` has been explicitly set. + public var hasSubmitNewPoiOutProto620000: Bool {return _storage._submitNewPoiOutProto620000 != nil} + /// Clears the value of `submitNewPoiOutProto620000`. Subsequent reads from it will return its default value. + public mutating func clearSubmitNewPoiOutProto620000() {_uniqueStorage()._submitNewPoiOutProto620000 = nil} -extension ArPhotoSessionProto.Step: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ArPhotoSessionProto.Step] = [ - .unknown, - .cameraPermissionGranted, - .arplusPlaneFound, - .arplusPokemonPlaced, - .photoTaken, - .photoShared, - ] -} + public var getAvailableSubmissionsOutProto620001: GetAvailableSubmissionsOutProto { + get {return _storage._getAvailableSubmissionsOutProto620001 ?? GetAvailableSubmissionsOutProto()} + set {_uniqueStorage()._getAvailableSubmissionsOutProto620001 = newValue} + } + /// Returns true if `getAvailableSubmissionsOutProto620001` has been explicitly set. + public var hasGetAvailableSubmissionsOutProto620001: Bool {return _storage._getAvailableSubmissionsOutProto620001 != nil} + /// Clears the value of `getAvailableSubmissionsOutProto620001`. Subsequent reads from it will return its default value. + public mutating func clearGetAvailableSubmissionsOutProto620001() {_uniqueStorage()._getAvailableSubmissionsOutProto620001 = nil} -#endif // swift(>=4.2) + public var generategmapSignedURLOutProto620300: GenerateGmapSignedUrlOutProto { + get {return _storage._generategmapSignedURLOutProto620300 ?? GenerateGmapSignedUrlOutProto()} + set {_uniqueStorage()._generategmapSignedURLOutProto620300 = newValue} + } + /// Returns true if `generategmapSignedURLOutProto620300` has been explicitly set. + public var hasGenerategmapSignedURLOutProto620300: Bool {return _storage._generategmapSignedURLOutProto620300 != nil} + /// Clears the value of `generategmapSignedURLOutProto620300`. Subsequent reads from it will return its default value. + public mutating func clearGenerategmapSignedURLOutProto620300() {_uniqueStorage()._generategmapSignedURLOutProto620300 = nil} -public struct ArTelemetrySettingsProto { - // 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. + public var getgmapSettingsOutProto620301: GetGmapSettingsOutProto { + get {return _storage._getgmapSettingsOutProto620301 ?? GetGmapSettingsOutProto()} + set {_uniqueStorage()._getgmapSettingsOutProto620301 = newValue} + } + /// Returns true if `getgmapSettingsOutProto620301` has been explicitly set. + public var hasGetgmapSettingsOutProto620301: Bool {return _storage._getgmapSettingsOutProto620301 != nil} + /// Clears the value of `getgmapSettingsOutProto620301`. Subsequent reads from it will return its default value. + public mutating func clearGetgmapSettingsOutProto620301() {_uniqueStorage()._getgmapSettingsOutProto620301 = nil} - public var measureBattery: Bool = false + public var fitnessUpdateOutProto640000: FitnessUpdateOutProto { + get {return _storage._fitnessUpdateOutProto640000 ?? FitnessUpdateOutProto()} + set {_uniqueStorage()._fitnessUpdateOutProto640000 = newValue} + } + /// Returns true if `fitnessUpdateOutProto640000` has been explicitly set. + public var hasFitnessUpdateOutProto640000: Bool {return _storage._fitnessUpdateOutProto640000 != nil} + /// Clears the value of `fitnessUpdateOutProto640000`. Subsequent reads from it will return its default value. + public mutating func clearFitnessUpdateOutProto640000() {_uniqueStorage()._fitnessUpdateOutProto640000 = nil} - public var batterySamplingIntervalMs: Int32 = 0 + public var getFitnessReportOutProto640001: GetFitnessReportOutProto { + get {return _storage._getFitnessReportOutProto640001 ?? GetFitnessReportOutProto()} + set {_uniqueStorage()._getFitnessReportOutProto640001 = newValue} + } + /// Returns true if `getFitnessReportOutProto640001` has been explicitly set. + public var hasGetFitnessReportOutProto640001: Bool {return _storage._getFitnessReportOutProto640001 != nil} + /// Clears the value of `getFitnessReportOutProto640001`. Subsequent reads from it will return its default value. + public mutating func clearGetFitnessReportOutProto640001() {_uniqueStorage()._getFitnessReportOutProto640001 = nil} - public var measureProcessor: Bool = false + public var getAdventureSyncSettingsResponseProto640002: GetAdventureSyncSettingsResponseProto { + get {return _storage._getAdventureSyncSettingsResponseProto640002 ?? GetAdventureSyncSettingsResponseProto()} + set {_uniqueStorage()._getAdventureSyncSettingsResponseProto640002 = newValue} + } + /// Returns true if `getAdventureSyncSettingsResponseProto640002` has been explicitly set. + public var hasGetAdventureSyncSettingsResponseProto640002: Bool {return _storage._getAdventureSyncSettingsResponseProto640002 != nil} + /// Clears the value of `getAdventureSyncSettingsResponseProto640002`. Subsequent reads from it will return its default value. + public mutating func clearGetAdventureSyncSettingsResponseProto640002() {_uniqueStorage()._getAdventureSyncSettingsResponseProto640002 = nil} - public var processorSamplingIntervalMs: Int32 = 0 + public var updateAdventureSyncSettingsResponseProto640003: UpdateAdventureSyncSettingsResponseProto { + get {return _storage._updateAdventureSyncSettingsResponseProto640003 ?? UpdateAdventureSyncSettingsResponseProto()} + set {_uniqueStorage()._updateAdventureSyncSettingsResponseProto640003 = newValue} + } + /// Returns true if `updateAdventureSyncSettingsResponseProto640003` has been explicitly set. + public var hasUpdateAdventureSyncSettingsResponseProto640003: Bool {return _storage._updateAdventureSyncSettingsResponseProto640003 != nil} + /// Clears the value of `updateAdventureSyncSettingsResponseProto640003`. Subsequent reads from it will return its default value. + public mutating func clearUpdateAdventureSyncSettingsResponseProto640003() {_uniqueStorage()._updateAdventureSyncSettingsResponseProto640003 = nil} - public var measureFramerate: Bool = false + public var updateAdventureSyncFitnessResponseProto640004: UpdateAdventureSyncFitnessResponseProto { + get {return _storage._updateAdventureSyncFitnessResponseProto640004 ?? UpdateAdventureSyncFitnessResponseProto()} + set {_uniqueStorage()._updateAdventureSyncFitnessResponseProto640004 = newValue} + } + /// Returns true if `updateAdventureSyncFitnessResponseProto640004` has been explicitly set. + public var hasUpdateAdventureSyncFitnessResponseProto640004: Bool {return _storage._updateAdventureSyncFitnessResponseProto640004 != nil} + /// Clears the value of `updateAdventureSyncFitnessResponseProto640004`. Subsequent reads from it will return its default value. + public mutating func clearUpdateAdventureSyncFitnessResponseProto640004() {_uniqueStorage()._updateAdventureSyncFitnessResponseProto640004 = nil} - public var framerateSamplingIntervalMs: Int32 = 0 + public var getAdventureSyncFitnessReportResponseProto640005: GetAdventureSyncFitnessReportResponseProto { + get {return _storage._getAdventureSyncFitnessReportResponseProto640005 ?? GetAdventureSyncFitnessReportResponseProto()} + set {_uniqueStorage()._getAdventureSyncFitnessReportResponseProto640005 = newValue} + } + /// Returns true if `getAdventureSyncFitnessReportResponseProto640005` has been explicitly set. + public var hasGetAdventureSyncFitnessReportResponseProto640005: Bool {return _storage._getAdventureSyncFitnessReportResponseProto640005 != nil} + /// Clears the value of `getAdventureSyncFitnessReportResponseProto640005`. Subsequent reads from it will return its default value. + public mutating func clearGetAdventureSyncFitnessReportResponseProto640005() {_uniqueStorage()._getAdventureSyncFitnessReportResponseProto640005 = nil} - public var percentageSessionsToSample: Float = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} - public init() {} -} + fileprivate var _storage = _StorageClass.defaultInstance + } -public struct ArdkConfigSettingsProto { - // 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. + public struct Message { + // 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. - public var orbVocabURL: String = String() + public var method: AllTypesAndMessagesResponsesProto.AllResquestTypesProto = .requestTypeUnset - public var monodpethModelURL: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var monodepthDevices: [String] = [] + public init() {} + } - public var monodepthContexts: [ArdkConfigSettingsProto.ArContext] = [] + public struct Response { + // 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. - public var iosMonodepthModelURL: String = String() + public var method: AllTypesAndMessagesResponsesProto.AllResquestTypesProto = .requestTypeUnset - public var androidMonodepthModelURL: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var monodepthModelURL: String = String() + public init() {} + } + + public init() {} +} + +#if swift(>=4.2) + +extension AllTypesAndMessagesResponsesProto.AllResquestTypesProto: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AllTypesAndMessagesResponsesProto.AllResquestTypesProto] = [ + .requestTypeUnset, + .requestTypeMethodGetPlayer, + .requestTypeMethodGetHoloholoInventory, + .requestTypeMethodDownloadSettings, + .requestTypeMethodDownloadItemTemplates, + .requestTypeMethodDownloadRemoteConfigVersion, + .requestTypeMethodRegisterBackgroundDevice, + .requestTypeMethodGetPlayerDay, + .requestTypeMethodAcknowledgePunishment, + .requestTypeMethodGetServerTime, + .requestTypeMethodGetLocalTime, + .requestTypeMethodFortSearch, + .requestTypeMethodEncounter, + .requestTypeMethodCatchPokemon, + .requestTypeMethodFortDetails, + .requestTypeMethodGetMapObjects, + .requestTypeMethodFortDeployPokemon, + .requestTypeMethodFortRecallPokemon, + .requestTypeMethodReleasePokemon, + .requestTypeMethodUseItemPotion, + .requestTypeMethodUseItemCapture, + .requestTypeMethodUseItemFlee, + .requestTypeMethodUseItemRevive, + .requestTypeMethodGetPlayerProfile, + .requestTypeMethodEvolvePokemon, + .requestTypeMethodGetHatchedEggs, + .requestTypeMethodEncounterTutorialComplete, + .requestTypeMethodLevelUpRewards, + .requestTypeMethodCheckAwardedBadges, + .requestTypeMethodRecycleInventoryItem, + .requestTypeMethodCollectDailyBonus, + .requestTypeMethodUseItemXpBoost, + .requestTypeMethodUseItemEggIncubator, + .requestTypeMethodUseIncense, + .requestTypeMethodGetIncensePokemon, + .requestTypeMethodIncenseEncounter, + .requestTypeMethodAddFortModifier, + .requestTypeMethodDiskEncounter, + .requestTypeMethodUpgradePokemon, + .requestTypeMethodSetFavoritePokemon, + .requestTypeMethodNicknamePokemon, + .requestTypeMethodEquipBadge, + .requestTypeMethodSetContactSettings, + .requestTypeMethodSetBuddyPokemon, + .requestTypeMethodGetBuddyWalked, + .requestTypeMethodUseItemEncounter, + .requestTypeMethodGymDeploy, + .requestTypeMethodGymGetInfo, + .requestTypeMethodGymStartSession, + .requestTypeMethodGymBattleAttack, + .requestTypeMethodJoinLobby, + .requestTypeMethodLeaveLobby, + .requestTypeMethodSetLobbyVisibility, + .requestTypeMethodSetLobbyPokemon, + .requestTypeMethodGetRaidDetails, + .requestTypeMethodGymFeedPokemon, + .requestTypeMethodStartRaidBattle, + .requestTypeMethodAttackRaid, + .requestTypeMethodAwardPokecoin, + .requestTypeMethodUseItemStardustBoost, + .requestTypeMethodReassignPlayer, + .requestTypeMethodRedeemPoiPasscode, + .requestTypeMethodConvertCandyToXlCandy, + .requestTypeMethodIsSkuAvailable, + .requestTypeMethodGetAssetDigest, + .requestTypeMethodGetDownloadUrls, + .requestTypeMethodGetAssetVersion, + .requestTypeMethodClaimCodename, + .requestTypeMethodSetAvatar, + .requestTypeMethodSetPlayerTeam, + .requestTypeMethodMarkTutorialComplete, + .requestTypeMethodUpdatePerformanceMetrics, + .requestTypeMethodSetNeutralAvatar, + .requestTypeMethodListAvatarStoreItems, + .requestTypeMethodListAvatarAppearanceItems, + .requestTypeMethodCheckChallenge, + .requestTypeMethodVerifyChallenge, + .requestTypeMethodEcho, + .requestTypeMethodSfidaRegistration, + .requestTypeMethodSfidaActionLog, + .requestTypeMethodSfidaCertification, + .requestTypeMethodSfidaUpdate, + .requestTypeMethodSfidaAction, + .requestTypeMethodSfidaDowser, + .requestTypeMethodSfidaCapture, + .requestTypeMethodListAvatarCustomizations, + .requestTypeMethodSetAvatarItemAsViewed, + .requestTypeMethodGetInbox, + .requestTypeMethodListGymBadges, + .requestTypeMethodGetGymBadgeDetails, + .requestTypeMethodUseItemMoveReroll, + .requestTypeMethodUseItemRareCandy, + .requestTypeMethodAwardFreeRaidTicket, + .requestTypeMethodFetchAllNews, + .requestTypeMethodMarkReadNewsArticle, + .requestTypeMethodGetPlayerDisplayInfo, + .requestTypeMethodBelugaTransactionStart, + .requestTypeMethodBelugaTransactionComplete, + .requestTypeMethodSfidaAssociate, + .requestTypeMethodSfidaCheckPairing, + .requestTypeMethodSfidaDisassociate, + .requestTypeMethodWainaGetRewards, + .requestTypeMethodWainaSubmitSleepData, + .requestTypeMethodSaturdayTransactionStart, + .requestTypeMethodSaturdayTransactionComplete, + .requestTypeMethodReimburseItem, + .requestTypeMethodGetNewQuests, + .requestTypeMethodGetQuestDetails, + .requestTypeMethodCompleteQuest, + .requestTypeMethodRemoveQuest, + .requestTypeMethodQuestEncounter, + .requestTypeMethodCompleteQuestStampCard, + .requestTypeMethodProgressQuest, + .requestTypeMethodStartQuestIncident, + .requestTypeMethodReadQuestDialog, + .requestTypeMethodSendGift, + .requestTypeMethodOpenGift, + .requestTypeMethodGiftDetails, + .requestTypeMethodDeleteGift, + .requestTypeMethodSavePlayerSnapshot, + .requestTypeMethodGetFriendshipMilestoneRewards, + .requestTypeMethodCheckSendGift, + .requestTypeMethodSetFriendNickname, + .requestTypeMethodDeleteGiftFromInventory, + .requestTypeMethodSaveSocialPlayerSettings, + .requestTypeMethodOpenTrading, + .requestTypeMethodUpdateTrading, + .requestTypeMethodConfirmTrading, + .requestTypeMethodCancelTrading, + .requestTypeMethodGetTrading, + .requestTypeMethodGetFitnessRewards, + .requestTypeMethodGetCombatPlayerProfile, + .requestTypeMethodGenerateCombatChallengeID, + .requestTypeMethodCreateCombatChallenge, + .requestTypeMethodOpenCombatChallenge, + .requestTypeMethodGetCombatChallenge, + .requestTypeMethodAcceptCombatChallenge, + .requestTypeMethodDeclineCombatChallenge, + .requestTypeMethodCancelCombatChallenge, + .requestTypeMethodSubmitCombatChallengePokemons, + .requestTypeMethodSaveCombatPlayerPreferences, + .requestTypeMethodOpenCombatSession, + .requestTypeMethodUpdateCombat, + .requestTypeMethodQuitCombat, + .requestTypeMethodGetCombatResults, + .requestTypeMethodUnlockSpecialMove, + .requestTypeMethodGetNpcCombatRewards, + .requestTypeMethodCombatFriendRequest, + .requestTypeMethodOpenNpcCombatSession, + .requestTypeMethodStartTutorialAction, + .requestTypeMethodGetTutorialEggAction, + .requestTypeMethodSendProbe, + .requestTypeMethodProbeData, + .requestTypeMethodCombatData, + .requestTypeMethodCombatChallengeData, + .requestTypeMethodCheckPhotobomb, + .requestTypeMethodConfirmPhotobomb, + .requestTypeMethodGetPhotobomb, + .requestTypeMethodEncounterPhotobomb, + .requestTypeMethodGetSignedGmapURLDeprecated, + .requestTypeMethodChangeTeam, + .requestTypeMethodGetWebToken, + .requestTypeMethodCompleteSnapshotSession, + .requestTypeMethodCompleteWildSnapshotSession, + .requestTypeMethodStartIncident, + .requestTypeMethodInvasionCompleteDialogue, + .requestTypeMethodInvasionOpenCombatSession, + .requestTypeMethodInvasionBattleUpdate, + .requestTypeMethodInvasionEncounter, + .requestTypeMethodPurifyPokemon, + .requestTypeMethodGetRocketBalloon, + .requestTypeMethodStartRocketBalloonIncident, + .requestTypeMethodVsSeekerStartMatchmaking, + .requestTypeMethodCancelMatchmaking, + .requestTypeMethodGetMatchmakingStatus, + .requestTypeMethodCompleteVsSeekerAndRestartCharging, + .requestTypeMethodGetVsSeekerStatus, + .requestTypeMethodCompleteCombatCompetitiveSeasonAction, + .requestTypeMethodClaimVsSeekerRewards, + .requestTypeMethodVsSeekerRewardEncounter, + .requestTypeMethodActivateVsSeeker, + .requestTypeMethodGetBuddyMap, + .requestTypeMethodGetBuddyStats, + .requestTypeMethodFeedBuddy, + .requestTypeMethodOpenBuddyGift, + .requestTypeMethodPetBuddy, + .requestTypeMethodGetBuddyHistory, + .requestTypeMethodUpdateRouteDraft, + .requestTypeMethodGetMapForts, + .requestTypeMethodSubmitRouteDraft, + .requestTypeMethodGetPublishedRoutes, + .requestTypeMethodStartRoute, + .requestTypeMethodGetRoutes, + .requestTypeMethodProgressRoute, + .requestTypeMethodProcessTappable, + .requestTypeMethodListRouteBadges, + .requestTypeMethodCancelRoute, + .requestTypeMethodListRouteStamps, + .requestTypeMethodRateRoute, + .requestTypeMethodCreateRouteDraft, + .requestTypeMethodDeleteRouteDraft, + .requestTypeMethodReportRoute, + .requestTypeMethodSpawnTappable, + .requestTypeMethodRouteEncounter, + .requestTypeMethodCanReportRoute, + .requestTypeMethodRouteUptateSeen, + .requestTypeMethodRecallRouteDraft, + .requestTypeMethodRoutesNearbyNotifShown, + .requestTypeMethodNpcRouteGift, + .requestTypeMethodGetRouteCreations, + .requestTypeMethodCreateBuddyMutliplayerSession, + .requestTypeMethodJoinBuddyMultiplayerSession, + .requestTypeMethodLeaveBuddyMultiplayerSession, + .requestTypeMethodGetTodayView, + .requestTypeMethodMegaEvolvePokemon, + .requestTypeMethodRemoteGiftPing, + .requestTypeMethodSendRaidInvitation, + .requestTypeMethodGetDailyEncounter, + .requestTypeMethodDailyEncounter, + .requestTypeMethodOpenSponsoredGift, + .requestTypeMethodSponsoredGiftReportInteraction, + .requestTypeMethodSavePlayerPreferences, + .requestTypeMethodProfanityCheck, + .requestTypeMethodGetTimedGroupChallenge, + .requestTypeMethodGetNintendoAccount, + .requestTypeMethodUnlinkNintendoAccount, + .requestTypeMethodGetNintendoOauth2URL, + .requestTypeMethodTransferToPokemonHome, + .requestTypeMethodReportAdFeedback, + .requestTypeMethodCreatePokemonTag, + .requestTypeMethodDeletePokemonTag, + .requestTypeMethodEditPokemonTag, + .requestTypeMethodSetPokemonTagsForPokemon, + .requestTypeMethodGetPokemonTags, + .requestTypeMethodChangePokemonForm, + .requestTypeMethodChooseEventVariant, + .requestTypeMethodButterflyCollectorRewardEncounter, + .requestTypeMethodGetReferralCode, + .requestTypeMethodAddReferrer, + .requestTypeMethodSendFriendInviteViaReferralCode, + .requestTypeMethodGetMilestones, + .requestTypeMethodMarkMilestonesAsViewed, + .requestTypeMethodGetMilestonesPreview, + .requestTypeMethodCompleteMilestone, + .requestTypeMethodGetGeofencedAd, + .requestTypeMethodPowerUpPokestopEncounter, + .requestTypeMethodDeletePostcards, + .requestTypeMethodCreatePostcard, + .requestTypeMethodUpdatePostcard, + .requestTypeMethodDeletePostcard, + .requestTypeMethodGetMementoList, + .requestTypeMethodUploadRaidClientLog, + .requestTypeMethodSkipEnterReferralCode, + .requestTypeMethodUploadCombatClientLog, + .requestTypeMethodCombatSyncServerOffset, + .requestTypeMethodCheckGiftingEligibility, + .requestTypeMethodRedeemTicketGiftForFriend, + .requestTypeMethodGetIncenseRecap, + .requestTypeMethodAcknowledgeIncenseRecap, + .requestTypeMethodBootRaid, + .requestTypeMethodGetPokestopEncounter, + .requestTypeMethodEncounterPokestopEncounter, + .requestTypeMethodPollPlayerSpawnablePokemon, + .requestTypeMethodGetQuestUi, + .requestTypeMethodGetEligibleCombatLeagues, + .requestTypeMethodSendFriendRequestViaPlayerIds, + .requestTypeMethodGetRaidLobbyCounter, + .requestTypeMethodUseNonCombatMove, + .requestTypeMethodCheckPokemonSizeContestEligibility, + .requestTypeMethodUpdatePokemonSizeContestEntry, + .requestTypeMethodTransferPokemonSizeContestEntry, + .requestTypeMethodRemovePokemonSizeContestEntry, + .requestTypeMethodGetPokemonSizeContestEntry, + .requestTypeMethodGetContestData, + .requestTypeMethodGetContestsUnclaimedRewards, + .requestTypeMethodClaimContestsRewards, + .requestTypeMethodGetEnteredContest, + .requestTypeMethodGetPokemonSizeContestFriendEntry, + .requestTypeMethodCheckContestEligibility, + .requestTypeMethodUpdateContestEntry, + .requestTypeMethodTransferContestEntry, + .requestTypeMethodGetContestFriendEntry, + .requestTypeMethodGetContestEntry, + .requestTypeMethodCreateParty, + .requestTypeMethodJoinParty, + .requestTypeMethodStartParty, + .requestTypeMethodLeaveParty, + .requestTypeMethodGetParty, + .requestTypeMethodUpdatePartyLocation, + .requestTypeMethodSendPartyDarkLaunchLog, + .requestTypeMethodStartPartyQuest, + .requestTypeMethodCompletePartyQuest, + .requestTypeMethodGetBonusAttractedPokemon, + .requestTypeMethodGetBonuses, + .requestTypeMethodBadgeRewardEncounter, + .requestTypeMethodNpcUpdateState, + .requestTypeMethodNpcSendGift, + .requestTypeMethodNpcOpenGift, + .requestTypeMethodGetVpsEvents, + .requestTypeMethodUpdateVpsEvents, + .requestTypeMethodAddPtcLoginAction, + .requestTypeMethodClaimPtcLinkingReward, + .requestTypeClientActionRegisterPushNotification, + .requestTypeClientActionUnregisterPushNotification, + .requestTypeClientActionUpdateNotificationStatus, + .requestTypeClientActionOptOutPushNotificationCategory, + .requestTypeClientActionDownloadGameMasterTemplates, + .requestTypeClientActionGetInventory, + .requestTypeClientActionRedeemPasscode, + .requestTypeClientActionPing, + .requestTypeClientActionAddLoginAction, + .requestTypeClientActionRemoveLoginAction, + .requestTypeClientActionListLoginAction, + .requestTypeClientActionAddNewPoi, + .requestTypeClientActionProxySocialAction, + .requestTypeClientActionDeprecatedClientTelemetry, + .requestTypeClientActionGetAvailableSubmissions, + .requestTypeClientActionGetSignedURLForPhotoUpload, + .requestTypeClientActionReplaceLoginAction, + .requestTypeClientActionProxySocialSideChannelAction, + .requestTypeClientActionCollectClientTelemetry, + .requestTypeClientActionPurchaseSku, + .requestTypeClientActionGetAvailableSkusAndBalances, + .requestTypeClientActionRedeemGoogleReceipt, + .requestTypeClientActionRedeemAppleReceipt, + .requestTypeClientActionRedeemDesktopReceipt, + .requestTypeClientActionUpdateFitnessMetrics, + .requestTypeClientActionGetFitnessReport, + .requestTypeClientActionGetClientTelemetrySettings, + .requestTypeClientActionPingAsync, + .requestTypeClientActionRegisterBackgroundService, + .requestTypeClientActionGetClientBgmodeSettings, + .requestTypeClientActionPingDownstream, + .requestTypeClientActionSetInGameCurrencyExchangeRate, + .requestTypeClientActionRequestGeofenceUpdates, + .requestTypeClientActionUpdatePlayerLocation, + .requestTypeClientActionGenerateGmapSignedURL, + .requestTypeClientActionGetGmapSettings, + .requestTypeClientActionRedeemSamsungReceipt, + .requestTypeClientActionAddNewRoute, + .requestTypeClientActionGetOutstandingWarnings, + .requestTypeClientActionAcknowledgeWarnings, + .requestTypeClientActionSubmitPoiImage, + .requestTypeClientActionSubmitPoiTextMetadataUpdate, + .requestTypeClientActionSubmitPoiLocationUpdate, + .requestTypeClientActionSubmitPoiTakedownRequest, + .requestTypeClientActionGetWebTokenAction, + .requestTypeClientActionGetAdventureSyncSettings, + .requestTypeClientActionUpdateAdventureSyncSettings, + .requestTypeClientActionSetBirthday, + .requestTypeClientActionFetchNewsfeedAction, + .requestTypeClientActionMarkNewsfeedReadAction, + .requestTypeSocialActionSearchPlayer, + .requestTypeSocialActionSendFriendInvite, + .requestTypeSocialActionCancelFriendInvite, + .requestTypeSocialActionAcceptFriendInvite, + .requestTypeSocialActionDeclineFriendInvite, + .requestTypeSocialActionListFriends, + .requestTypeSocialActionListOutgoingFriendInvites, + .requestTypeSocialActionListIncomingFriendInvites, + .requestTypeSocialActionRemoveFriend, + .requestTypeSocialActionListFriendStatus, + .requestTypeSocialActionSendFacebookFriendInvite, + .requestTypeSocialActionIsMyFriend, + .requestTypeSocialActionCreateInviteCode, + .requestTypeSocialActionGetFacebookFriendList, + .requestTypeSocialActionUpdateFacebookStatus, + .requestTypeSocialActionSavePlayerSettings, + .requestTypeSocialActionGetPlayerSettings, + .requestTypeSocialActionGetNianticFriendListDeleted, + .requestTypeSocialActionGetNianticFriendDetailsDeleted, + .requestTypeSocialActionSendNianticFriendInviteDeleted, + .requestTypeSocialActionSetAccountSettings, + .requestTypeSocialActionGetAccountSettings, + .requestTypeSocialActionAddFavoriteFriend, + .requestTypeSocialActionRemoveFavoriteFriend, + .requestTypeSocialActionBlockAccount, + .requestTypeSocialActionUnblockAccount, + .requestTypeSocialActionGetOutgingBlocks, + .requestTypeSocialActionIsAccountBlocked, + .requestTypeSocialActionRegisterPushNotification, + .requestTypeSocialActionUnregisterPushNotification, + .requestTypeSocialActionUpdateNotification, + .requestTypeSocialActionOptOutPushNotificationCategory, + .requestTypeSocialActionGetInbox, + .requestTypeSocialActionGetSignedURL, + .requestTypeSocialActionSubmitImage, + .requestTypeSocialActionGetPhotos, + .requestTypeSocialActionDeletePhoto, + .requestTypeSocialActionFlagPhoto, + .requestTypeSocialActionUpdateProfileV2, + .requestTypeSocialActionUpdateFriendshipV2, + .requestTypeSocialActionGetProfileV2, + .requestTypeSocialActionInviteGameV2, + .requestTypeSocialActionReservedAction2, + .requestTypeSocialActionListFriendsV2, + .requestTypeSocialActionGetFriendDetailsV2, + .requestTypeSocialActionGetClientFeatureFlagsV2, + .requestTypeSocialActionReservedAction1, + .requestTypeSocialActionGetIncomingGameInvitesV2, + .requestTypeSocialActionUpdateIncomingGameInviteV2, + .requestTypeSocialActionDismissOutgoingGameInvitesV2, + .requestTypeSocialActionSyncContactListV2, + .requestTypeSocialActionSendContactListFriendInviteV2, + .requestTypeSocialActionReferContactListFriendV2, + .requestTypeSocialActionGetContactListInfoV2, + .requestTypeSocialActionDismissContactListUpdateV2, + .requestTypeSocialActionNotifyContactListFriendsV2, + .requestTypeSocialActionReservedAction6, + .requestTypeSocialActionReservedAction7, + .requestTypeSocialActionReservedAction3, + .requestTypeSocialActionReservedAction4, + .requestTypeSocialActionReservedAction5, + .requestTypeSocialActionGetFriendRecommendation, + .requestTypeGameAnticheatActionGetOutstandingWarnings, + .requestTypeGameAnticheatActionAcknowledgeWarnings, + .requestTypeGameActionClientRegisterBackgroundService, + .requestTypeGameActionClientGetClientBgmodeSettings, + .requestTypeGameActionClientGetAdventureSyncProgress, + .requestTypeGamePurchaseSku, + .requestTypeGameGetAvailableSkusAndBalances, + .requestTypeGameSetInGameCurrencyExchangeRate, + .requestTypeGameRedeemGoogleReceipt, + .requestTypeGameRedeemAppleReceipt, + .requestTypeGameRedeemDesktopReceipt, + .requestTypeGameRedeemSamsungReceipt, + .requestTypeGameGetAvailableSubscriptions, + .requestTypeGameGetActiveSubscriptions, + .requestTypeRequestGeofenceUpdates1, + .requestTypeUpdatePlayerLocation1, + .requestTypeUpdateBreadcrumbHistory, + .requestTypeRefreshProximityTokens, + .requestTypeReportProximityContacts, + .requestTypeGetGameAccessToken, + .requestTypePlayerSubmissionActionAddNewPoi, + .requestTypePlayerSubmissionActionGetAvailableSubmissions, + .requestTypePlayerSubmissionActionGetSignedURLForPhotoUpload, + .requestTypePlayerSubmissionActionGetPlayerSubmissionValidationSettings, + .requestTypePlayerSubmissionActionD2DAddNewPoi, + .requestTypePlayerSubmissionActionD2DGetSignedURLForPhotoUpload, + .requestTypePlayerSubmissionActionSubmitPoiImage, + .requestTypePlayerSubmissionActionSubmitPoiTextMetadataUpdate, + .requestTypePlayerSubmissionActionSubmitPoiLocationUpdate, + .requestTypePlayerSubmissionActionSubmitPoiTakedownRequest, + .requestTypePlayerSubmissionActionSubmitSponsorPoiReport, + .requestTypePlayerSubmissionActionSubmitSponsorPoiLocationUpdate, + .requestTypePlayerSubmissionActionSubmitPoiCategoryVote, + .requestTypePlayerSubmissionActionD2DSubmitPoiImage, + .requestTypePlayerSubmissionActionD2DSubmitPoiTextMetadataUpdate, + .requestTypePlayerSubmissionActionD2DSubmitPoiLocationUpdate, + .requestTypePlayerSubmissionActionD2DSubmitPoiTakedownRequest, + .requestTypePlayerSubmissionActionAddNewRoute, + .requestTypePlayerSubmissionActionGenerateGmapSignedURL, + .requestTypePlayerSubmissionActionGetGmapSettings, + .requestTypePlayerSubmissionActionSubmitPoiArVideoMetadata, + .requestTypePlayerSubmissionActionGetGrapeshotFileUploadURL, + .requestTypePlayerSubmissionActionAsyncFileUploadComplete, + .requestTypePlayerSubmissionActionGetArMappingSettings, + .requestTypePlayerSubmissionActionD2DSubmitPoiArVideoMetadata, + .requestTypePlayerSubmissionActionD2DGetGrapeshotFileUploadURL, + .requestTypePlayerSubmissionActionD2DAsyncFileUploadComplete, + .requestTypePlayerSubmissionActionSubmitMappingRequest, + .requestTypePlayerSubmissionActionD2DSubmitMappingRequest, + .requestTypePlayerSubmissionActionGetImagesForPoi, + .requestTypePlayerSubmissionActionSubmitPlayerImageVoteForPoi, + .requestTypePlayerSubmissionActionGetImageGallerySettings, + .requestTypePlayerSubmissionActionGetMapData, + .requestTypePlayerSubmissionActionGetPoisInRadius, + .requestTypeUpdateFitnessMetrics1, + .requestTypeGetFitnessReport1, + .requestTypeGetAdventureSyncSettings1, + .requestTypeUpdateAdventureSyncSettings1, + .requestTypeUpdateAdventureSyncFitness, + .requestTypeGetAdventureSyncFitnessReport, + ] +} + +#endif // swift(>=4.2) + +public struct AnchorUpdateProto { + // 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. + + public var updateType: AnchorUpdateProto.AnchorUpdateType = .unset + + public var updatedAnchor: VpsAnchor { + get {return _updatedAnchor ?? VpsAnchor()} + set {_updatedAnchor = newValue} + } + /// Returns true if `updatedAnchor` has been explicitly set. + public var hasUpdatedAnchor: Bool {return self._updatedAnchor != nil} + /// Clears the value of `updatedAnchor`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedAnchor() {self._updatedAnchor = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ArContext: SwiftProtobuf.Enum { + public enum AnchorUpdateType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case arEncounter // = 1 - case arSnapshot // = 2 - case singleplayerBuddy // = 3 - case multiplayerBuddy // = 4 + case add // = 1 + case edit // = 2 + case remove // = 3 case UNRECOGNIZED(Int) public init() { @@ -36053,10 +37031,9 @@ public struct ArdkConfigSettingsProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .arEncounter - case 2: self = .arSnapshot - case 3: self = .singleplayerBuddy - case 4: self = .multiplayerBuddy + case 1: self = .add + case 2: self = .edit + case 3: self = .remove default: self = .UNRECOGNIZED(rawValue) } } @@ -36064,10 +37041,9 @@ public struct ArdkConfigSettingsProto { public var rawValue: Int { switch self { case .unset: return 0 - case .arEncounter: return 1 - case .arSnapshot: return 2 - case .singleplayerBuddy: return 3 - case .multiplayerBuddy: return 4 + case .add: return 1 + case .edit: return 2 + case .remove: return 3 case .UNRECOGNIZED(let i): return i } } @@ -36075,118 +37051,191 @@ public struct ArdkConfigSettingsProto { } public init() {} + + fileprivate var _updatedAnchor: VpsAnchor? = nil } #if swift(>=4.2) -extension ArdkConfigSettingsProto.ArContext: CaseIterable { +extension AnchorUpdateProto.AnchorUpdateType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ArdkConfigSettingsProto.ArContext] = [ + public static var allCases: [AnchorUpdateProto.AnchorUpdateType] = [ .unset, - .arEncounter, - .arSnapshot, - .singleplayerBuddy, - .multiplayerBuddy, + .add, + .edit, + .remove, ] } #endif // swift(>=4.2) -public struct AssertionFailed { +public struct AndroidDataSource { // 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. - public var timestampMs: Int64 = 0 - - public var message: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var isRaw: Bool = false - public init() {} -} + public var appPackageName: String = String() -public struct AssetBundleDownloadTelemetry { - // 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. + public var streamIdentifier: String = String() - public var assetEventID: AssetTelemetryIds = .undefinedAssetEvent + public var streamName: String = String() - public var bundleName: String = String() + public var device: AndroidDevice { + get {return _device ?? AndroidDevice()} + set {_device = newValue} + } + /// Returns true if `device` has been explicitly set. + public var hasDevice: Bool {return self._device != nil} + /// Clears the value of `device`. Subsequent reads from it will return its default value. + public mutating func clearDevice() {self._device = nil} - public var size: UInt32 = 0 + public var dataType: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _device: AndroidDevice? = nil } -public struct AssetDigestEntryProto { +public struct AndroidDevice { // 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. - public var assetID: String = String() + public var manufacturer: String = String() - public var bundleName: String = String() + public var model: String = String() - public var version: Int64 = 0 + public var type: AndroidDevice.DeviceType = .unknown - public var checksum: UInt32 = 0 + public var uid: String = String() - public var size: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var key: Data = Data() + public enum DeviceType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case phone // = 1 + case tablet // = 2 + case watch // = 3 + case chestStrap // = 4 + case scale // = 5 + case headMounted // = 6 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .phone + case 2: self = .tablet + case 3: self = .watch + case 4: self = .chestStrap + case 5: self = .scale + case 6: self = .headMounted + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .phone: return 1 + case .tablet: return 2 + case .watch: return 3 + case .chestStrap: return 4 + case .scale: return 5 + case .headMounted: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } public init() {} } -public struct AssetDigestOutProto { +#if swift(>=4.2) + +extension AndroidDevice.DeviceType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AndroidDevice.DeviceType] = [ + .unknown, + .phone, + .tablet, + .watch, + .chestStrap, + .scale, + .headMounted, + ] +} + +#endif // swift(>=4.2) + +public struct AnimationOverrideProto { // 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. - public var digest: [AssetDigestEntryProto] = [] + public var animation: AnimationOverrideProto.PokemonAnim = .none - public var timestamp: UInt64 = 0 + public var blacklist: Bool = false - public var result: AssetDigestOutProto.Result = .unset + public var animMin: Float = 0 - public var pageOffset: Int32 = 0 + public var animMax: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum PokemonAnim: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case page // = 2 - case retry // = 3 + case none // = 0 + case idle01 // = 1 + case idle02 // = 2 + case land // = 3 + case attack01 // = 4 + case attack02 // = 5 + case damaged // = 6 + case stunned // = 7 + case loop // = 8 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .none } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .page - case 3: self = .retry + case 0: self = .none + case 1: self = .idle01 + case 2: self = .idle02 + case 3: self = .land + case 4: self = .attack01 + case 5: self = .attack02 + case 6: self = .damaged + case 7: self = .stunned + case 8: self = .loop default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .page: return 2 - case .retry: return 3 + case .none: return 0 + case .idle01: return 1 + case .idle02: return 2 + case .land: return 3 + case .attack01: return 4 + case .attack02: return 5 + case .damaged: return 6 + case .stunned: return 7 + case .loop: return 8 case .UNRECOGNIZED(let i): return i } } @@ -36198,1179 +37247,1215 @@ public struct AssetDigestOutProto { #if swift(>=4.2) -extension AssetDigestOutProto.Result: CaseIterable { +extension AnimationOverrideProto.PokemonAnim: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AssetDigestOutProto.Result] = [ - .unset, - .success, - .page, - .retry, + public static var allCases: [AnimationOverrideProto.PokemonAnim] = [ + .none, + .idle01, + .idle02, + .land, + .attack01, + .attack02, + .damaged, + .stunned, + .loop, ] } #endif // swift(>=4.2) -public struct AssetDigestRequestProto { +public struct ApnToken { // 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. - public var platform: Platform = .unset + public var registrationID: String = String() - public var deviceManufacturer: String = String() + public var bundleIdentifier: String = String() - public var deviceModel: String = String() + public var payloadByteSize: Int32 = 0 - public var locale: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var appVersion: UInt32 = 0 + public init() {} +} - public var paginate: Bool = false +public struct AppleToken { + // 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. - public var pageOffset: Int32 = 0 + public var idToken: String = String() - public var pageTimestamp: UInt64 = 0 + public var sessionToken: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AssetPoiDownloadTelemetry { +public struct AppliedBonusEffectProto { // 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. - public var assetEventID: AssetTelemetryIds = .undefinedAssetEvent + public var bonus: AppliedBonusEffectProto.OneOf_Bonus? = nil - public var fortID: String = String() + public var timeBonus: AppliedTimeBonusProto { + get { + if case .timeBonus(let v)? = bonus {return v} + return AppliedTimeBonusProto() + } + set {bonus = .timeBonus(newValue)} + } - public var size: UInt32 = 0 + public var spaceBonus: AppliedSpaceBonusProto { + get { + if case .spaceBonus(let v)? = bonus {return v} + return AppliedSpaceBonusProto() + } + set {bonus = .spaceBonus(newValue)} + } public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_Bonus: Equatable { + case timeBonus(AppliedTimeBonusProto) + case spaceBonus(AppliedSpaceBonusProto) + + #if !swift(>=4.1) + public static func ==(lhs: AppliedBonusEffectProto.OneOf_Bonus, rhs: AppliedBonusEffectProto.OneOf_Bonus) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.timeBonus, .timeBonus): return { + guard case .timeBonus(let l) = lhs, case .timeBonus(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.spaceBonus, .spaceBonus): return { + guard case .spaceBonus(let l) = lhs, case .spaceBonus(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + public init() {} } -public struct AssetRefreshSettingsProto { +public struct AppliedBonusProto { // 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. - public var checkForNewAssetsTimeSecond: Int32 = 0 + public var bonusType: PlayerBonusType = .playerBonusUnset + + public var expirationTimeMs: Int64 = 0 + + public var appliedTimeMs: Int64 = 0 + + public var effect: AppliedBonusEffectProto { + get {return _effect ?? AppliedBonusEffectProto()} + set {_effect = newValue} + } + /// Returns true if `effect` has been explicitly set. + public var hasEffect: Bool {return self._effect != nil} + /// Clears the value of `effect`. Subsequent reads from it will return its default value. + public mutating func clearEffect() {self._effect = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _effect: AppliedBonusEffectProto? = nil } -public struct AssetRefreshTelemetry { +public struct AppliedBonusesProto { // 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. - public var timestamp: UInt64 = 0 + public var item: [AppliedBonusProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AssetStreamCacheCulledTelemetry { +public struct AppliedItemProto { // 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. - public var assetEventID: AssetTelemetryIds = .undefinedAssetEvent + public var item: Item = .unknown - public var spaceReleased: UInt32 = 0 + public var itemType: HoloItemType = .itemTypeNone + + public var expirationMs: Int64 = 0 + + public var appliedMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AssetStreamDownloadTelemetry { +public struct AppliedItemsProto { // 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. - public var assetEventID: AssetTelemetryIds = .undefinedAssetEvent - - public var url: String = String() - - public var size: UInt32 = 0 + public var item: [AppliedItemProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AssetVersionOutProto { +public struct AppliedSpaceBonusProto { // 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. - public var response: [AssetVersionOutProto.AssetVersionResponseProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemonVisibleRangeMeters: Double = 0 - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case error // = 1 - case valid // = 2 - case expired // = 3 - case UNRECOGNIZED(Int) + public var encounterRangeMeters: Double = 0 - public init() { - self = .unset - } + public var serverAllowableEncounterRangeMeters: Double = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .error - case 2: self = .valid - case 3: self = .expired - default: self = .UNRECOGNIZED(rawValue) - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var rawValue: Int { - switch self { - case .unset: return 0 - case .error: return 1 - case .valid: return 2 - case .expired: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public init() {} +} - } +public struct AppliedTimeBonusProto { + // 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. - public struct AssetVersionResponseProto { - // 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. + public var affectedItems: [Item] = [] - public var result: AssetVersionOutProto.Result = .unset - - public var digest: AssetDigestEntryProto { - get {return _digest ?? AssetDigestEntryProto()} - set {_digest = newValue} - } - /// Returns true if `digest` has been explicitly set. - public var hasDigest: Bool {return self._digest != nil} - /// Clears the value of `digest`. Subsequent reads from it will return its default value. - public mutating func clearDigest() {self._digest = nil} - - public var url: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _digest: AssetDigestEntryProto? = nil - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) - -extension AssetVersionOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AssetVersionOutProto.Result] = [ - .unset, - .error, - .valid, - .expired, - ] -} - -#endif // swift(>=4.2) - -public struct AssetVersionProto { +public struct AppraisalStarThresholdSettings { // 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. - public var appVersion: UInt32 = 0 - - public var request: [AssetVersionProto.AssetVersionRequestProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct AssetVersionRequestProto { - // 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. + public var thresholdOneStar: Int32 = 0 - public var assetID: String = String() + public var thresholdTwoStar: Int32 = 0 - public var checksum: UInt32 = 0 + public var thresholdThreeStar: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var thresholdFourStar: Int32 = 0 - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AsyncFileUploadCompleteOutProto { +public struct ApprovedCommonTelemetryProto { // 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. - public var poiID: String = String() + public var telemetryData: OneOf_TelemetryData? { + get {return _storage._telemetryData} + set {_uniqueStorage()._telemetryData = newValue} + } - public var postActionGameInfo: Data = Data() + public var bootTime: CommonTelemetryBootTime { + get { + if case .bootTime(let v)? = _storage._telemetryData {return v} + return CommonTelemetryBootTime() + } + set {_uniqueStorage()._telemetryData = .bootTime(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var shopClick: CommonTelemetryShopClick { + get { + if case .shopClick(let v)? = _storage._telemetryData {return v} + return CommonTelemetryShopClick() + } + set {_uniqueStorage()._telemetryData = .shopClick(newValue)} + } - public enum ErrorStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case serverUpdateFailed // = 1 - case missingSubmissionID // = 2 - case missingSubmissionType // = 3 - case missingUploadStatus // = 4 - case UNRECOGNIZED(Int) + public var shopView: CommonTelemetryShopView { + get { + if case .shopView(let v)? = _storage._telemetryData {return v} + return CommonTelemetryShopView() + } + set {_uniqueStorage()._telemetryData = .shopView(newValue)} + } - public init() { - self = .unset + public var poiSubmissionTelemetry: PoiSubmissionTelemetry { + get { + if case .poiSubmissionTelemetry(let v)? = _storage._telemetryData {return v} + return PoiSubmissionTelemetry() } + set {_uniqueStorage()._telemetryData = .poiSubmissionTelemetry(newValue)} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .serverUpdateFailed - case 2: self = .missingSubmissionID - case 3: self = .missingSubmissionType - case 4: self = .missingUploadStatus - default: self = .UNRECOGNIZED(rawValue) - } + public var poiSubmissionPhotoUploadErrorTelemetry: PoiSubmissionPhotoUploadErrorTelemetry { + get { + if case .poiSubmissionPhotoUploadErrorTelemetry(let v)? = _storage._telemetryData {return v} + return PoiSubmissionPhotoUploadErrorTelemetry() } + set {_uniqueStorage()._telemetryData = .poiSubmissionPhotoUploadErrorTelemetry(newValue)} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .serverUpdateFailed: return 1 - case .missingSubmissionID: return 2 - case .missingSubmissionType: return 3 - case .missingUploadStatus: return 4 - case .UNRECOGNIZED(let i): return i - } + public var logIn: CommonTelemetryLogIn { + get { + if case .logIn(let v)? = _storage._telemetryData {return v} + return CommonTelemetryLogIn() } + set {_uniqueStorage()._telemetryData = .logIn(newValue)} + } + public var poiCategorizationEntryTelemetry: PoiCategorizationEntryTelemetry { + get { + if case .poiCategorizationEntryTelemetry(let v)? = _storage._telemetryData {return v} + return PoiCategorizationEntryTelemetry() + } + set {_uniqueStorage()._telemetryData = .poiCategorizationEntryTelemetry(newValue)} } - public init() {} -} + public var poiCategorizationOperationTelemetry: PoiCategorizationOperationTelemetry { + get { + if case .poiCategorizationOperationTelemetry(let v)? = _storage._telemetryData {return v} + return PoiCategorizationOperationTelemetry() + } + set {_uniqueStorage()._telemetryData = .poiCategorizationOperationTelemetry(newValue)} + } -#if swift(>=4.2) + public var poiCategorizationSelectedTelemetry: PoiCategorySelectedTelemetry { + get { + if case .poiCategorizationSelectedTelemetry(let v)? = _storage._telemetryData {return v} + return PoiCategorySelectedTelemetry() + } + set {_uniqueStorage()._telemetryData = .poiCategorizationSelectedTelemetry(newValue)} + } -extension AsyncFileUploadCompleteOutProto.ErrorStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AsyncFileUploadCompleteOutProto.ErrorStatus] = [ - .unset, - .serverUpdateFailed, - .missingSubmissionID, - .missingSubmissionType, - .missingUploadStatus, - ] -} + public var poiCategorizationRemovedTelemetry: PoiCategoryRemovedTelemetry { + get { + if case .poiCategorizationRemovedTelemetry(let v)? = _storage._telemetryData {return v} + return PoiCategoryRemovedTelemetry() + } + set {_uniqueStorage()._telemetryData = .poiCategorizationRemovedTelemetry(newValue)} + } -#endif // swift(>=4.2) + public var wayfarerOnboardingFlowTelemetry: WayfarerOnboardingFlowTelemetry { + get { + if case .wayfarerOnboardingFlowTelemetry(let v)? = _storage._telemetryData {return v} + return WayfarerOnboardingFlowTelemetry() + } + set {_uniqueStorage()._telemetryData = .wayfarerOnboardingFlowTelemetry(newValue)} + } -public struct AsyncFileUploadCompleteProto { - // 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. + public var asPermissionFlowTelemetry: ASPermissionFlowTelemetry { + get { + if case .asPermissionFlowTelemetry(let v)? = _storage._telemetryData {return v} + return ASPermissionFlowTelemetry() + } + set {_uniqueStorage()._telemetryData = .asPermissionFlowTelemetry(newValue)} + } - public var submissionID: String = String() + public var logOut: CommonTelemetryLogOut { + get { + if case .logOut(let v)? = _storage._telemetryData {return v} + return CommonTelemetryLogOut() + } + set {_uniqueStorage()._telemetryData = .logOut(newValue)} + } - public var uploadStatus: AsyncFileUploadCompleteProto.Status = .unset + public var serverData: ServerRecordMetadata { + get {return _storage._serverData ?? ServerRecordMetadata()} + set {_uniqueStorage()._serverData = newValue} + } + /// Returns true if `serverData` has been explicitly set. + public var hasServerData: Bool {return _storage._serverData != nil} + /// Clears the value of `serverData`. Subsequent reads from it will return its default value. + public mutating func clearServerData() {_uniqueStorage()._serverData = nil} - public var arCommonMetadata: ARCommonMetadata { - get {return _arCommonMetadata ?? ARCommonMetadata()} - set {_arCommonMetadata = newValue} + public var commonFilters: ClientTelemetryCommonFilterProto { + get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} + set {_uniqueStorage()._commonFilters = newValue} } - /// Returns true if `arCommonMetadata` has been explicitly set. - public var hasArCommonMetadata: Bool {return self._arCommonMetadata != nil} - /// Clears the value of `arCommonMetadata`. Subsequent reads from it will return its default value. - public mutating func clearArCommonMetadata() {self._arCommonMetadata = nil} + /// Returns true if `commonFilters` has been explicitly set. + public var hasCommonFilters: Bool {return _storage._commonFilters != nil} + /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. + public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case uploadDone // = 1 - case uploadFailed // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .uploadDone - case 2: self = .uploadFailed - default: self = .UNRECOGNIZED(rawValue) - } - } + public enum OneOf_TelemetryData: Equatable { + case bootTime(CommonTelemetryBootTime) + case shopClick(CommonTelemetryShopClick) + case shopView(CommonTelemetryShopView) + case poiSubmissionTelemetry(PoiSubmissionTelemetry) + case poiSubmissionPhotoUploadErrorTelemetry(PoiSubmissionPhotoUploadErrorTelemetry) + case logIn(CommonTelemetryLogIn) + case poiCategorizationEntryTelemetry(PoiCategorizationEntryTelemetry) + case poiCategorizationOperationTelemetry(PoiCategorizationOperationTelemetry) + case poiCategorizationSelectedTelemetry(PoiCategorySelectedTelemetry) + case poiCategorizationRemovedTelemetry(PoiCategoryRemovedTelemetry) + case wayfarerOnboardingFlowTelemetry(WayfarerOnboardingFlowTelemetry) + case asPermissionFlowTelemetry(ASPermissionFlowTelemetry) + case logOut(CommonTelemetryLogOut) - public var rawValue: Int { - switch self { - case .unset: return 0 - case .uploadDone: return 1 - case .uploadFailed: return 2 - case .UNRECOGNIZED(let i): return i + #if !swift(>=4.1) + public static func ==(lhs: ApprovedCommonTelemetryProto.OneOf_TelemetryData, rhs: ApprovedCommonTelemetryProto.OneOf_TelemetryData) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.bootTime, .bootTime): return { + guard case .bootTime(let l) = lhs, case .bootTime(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.shopClick, .shopClick): return { + guard case .shopClick(let l) = lhs, case .shopClick(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.shopView, .shopView): return { + guard case .shopView(let l) = lhs, case .shopView(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.poiSubmissionTelemetry, .poiSubmissionTelemetry): return { + guard case .poiSubmissionTelemetry(let l) = lhs, case .poiSubmissionTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.poiSubmissionPhotoUploadErrorTelemetry, .poiSubmissionPhotoUploadErrorTelemetry): return { + guard case .poiSubmissionPhotoUploadErrorTelemetry(let l) = lhs, case .poiSubmissionPhotoUploadErrorTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.logIn, .logIn): return { + guard case .logIn(let l) = lhs, case .logIn(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.poiCategorizationEntryTelemetry, .poiCategorizationEntryTelemetry): return { + guard case .poiCategorizationEntryTelemetry(let l) = lhs, case .poiCategorizationEntryTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.poiCategorizationOperationTelemetry, .poiCategorizationOperationTelemetry): return { + guard case .poiCategorizationOperationTelemetry(let l) = lhs, case .poiCategorizationOperationTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.poiCategorizationSelectedTelemetry, .poiCategorizationSelectedTelemetry): return { + guard case .poiCategorizationSelectedTelemetry(let l) = lhs, case .poiCategorizationSelectedTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.poiCategorizationRemovedTelemetry, .poiCategorizationRemovedTelemetry): return { + guard case .poiCategorizationRemovedTelemetry(let l) = lhs, case .poiCategorizationRemovedTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.wayfarerOnboardingFlowTelemetry, .wayfarerOnboardingFlowTelemetry): return { + guard case .wayfarerOnboardingFlowTelemetry(let l) = lhs, case .wayfarerOnboardingFlowTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.asPermissionFlowTelemetry, .asPermissionFlowTelemetry): return { + guard case .asPermissionFlowTelemetry(let l) = lhs, case .asPermissionFlowTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.logOut, .logOut): return { + guard case .logOut(let l) = lhs, case .logOut(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false } } - + #endif } public init() {} - fileprivate var _arCommonMetadata: ARCommonMetadata? = nil -} - -#if swift(>=4.2) - -extension AsyncFileUploadCompleteProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AsyncFileUploadCompleteProto.Status] = [ - .unset, - .uploadDone, - .uploadFailed, - ] + fileprivate var _storage = _StorageClass.defaultInstance } -#endif // swift(>=4.2) - -public struct AsynchronousJobData { +public struct ArMappingSessionTelemetryProto { // 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. - public var jobID: String = String() - - public var callback: String = String() - - public var metadata: Dictionary = [:] + public var fulfilledGeotargetedQuest: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AttackGymOutProto { +public struct ArMappingSettingsProto { // 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. - public var result: AttackGymOutProto.Result { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} + public var minHoursBetweenPrompt: Int32 { + get {return _storage._minHoursBetweenPrompt} + set {_uniqueStorage()._minHoursBetweenPrompt = newValue} } - public var battleLog: BattleLogProto { - get {return _storage._battleLog ?? BattleLogProto()} - set {_uniqueStorage()._battleLog = newValue} + public var maxVideoTimeSeconds: Int32 { + get {return _storage._maxVideoTimeSeconds} + set {_uniqueStorage()._maxVideoTimeSeconds = newValue} } - /// Returns true if `battleLog` has been explicitly set. - public var hasBattleLog: Bool {return _storage._battleLog != nil} - /// Clears the value of `battleLog`. Subsequent reads from it will return its default value. - public mutating func clearBattleLog() {_uniqueStorage()._battleLog = nil} - public var battleID: String { - get {return _storage._battleID} - set {_uniqueStorage()._battleID = newValue} + public var previewVideoBitrateKbps: Int32 { + get {return _storage._previewVideoBitrateKbps} + set {_uniqueStorage()._previewVideoBitrateKbps = newValue} } - public var activeDefender: PokemonInfo { - get {return _storage._activeDefender ?? PokemonInfo()} - set {_uniqueStorage()._activeDefender = newValue} + public var previewVideoDeadlineMs: Int32 { + get {return _storage._previewVideoDeadlineMs} + set {_uniqueStorage()._previewVideoDeadlineMs = newValue} } - /// Returns true if `activeDefender` has been explicitly set. - public var hasActiveDefender: Bool {return _storage._activeDefender != nil} - /// Clears the value of `activeDefender`. Subsequent reads from it will return its default value. - public mutating func clearActiveDefender() {_uniqueStorage()._activeDefender = nil} - public var activeAttacker: PokemonInfo { - get {return _storage._activeAttacker ?? PokemonInfo()} - set {_uniqueStorage()._activeAttacker = newValue} + public var researchVideoBitrateKbps: Int32 { + get {return _storage._researchVideoBitrateKbps} + set {_uniqueStorage()._researchVideoBitrateKbps = newValue} } - /// Returns true if `activeAttacker` has been explicitly set. - public var hasActiveAttacker: Bool {return _storage._activeAttacker != nil} - /// Clears the value of `activeAttacker`. Subsequent reads from it will return its default value. - public mutating func clearActiveAttacker() {_uniqueStorage()._activeAttacker = nil} - public var battleUpdate: BattleUpdateProto { - get {return _storage._battleUpdate ?? BattleUpdateProto()} - set {_uniqueStorage()._battleUpdate = newValue} + public var researchVideoDeadlineMs: Int32 { + get {return _storage._researchVideoDeadlineMs} + set {_uniqueStorage()._researchVideoDeadlineMs = newValue} } - /// Returns true if `battleUpdate` has been explicitly set. - public var hasBattleUpdate: Bool {return _storage._battleUpdate != nil} - /// Clears the value of `battleUpdate`. Subsequent reads from it will return its default value. - public mutating func clearBattleUpdate() {_uniqueStorage()._battleUpdate = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var minVideoTimeSeconds: Int32 { + get {return _storage._minVideoTimeSeconds} + set {_uniqueStorage()._minVideoTimeSeconds = newValue} + } - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInvalidAttackActions // = 2 - case errorNotInRange // = 3 - case UNRECOGNIZED(Int) + public var previewFrameRateFps: Int32 { + get {return _storage._previewFrameRateFps} + set {_uniqueStorage()._previewFrameRateFps = newValue} + } - public init() { - self = .unset - } + public var previewFramesToJump: Int32 { + get {return _storage._previewFramesToJump} + set {_uniqueStorage()._previewFramesToJump = newValue} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidAttackActions - case 3: self = .errorNotInRange - default: self = .UNRECOGNIZED(rawValue) - } - } + public var maxUploadChunkRejectedCount: Int32 { + get {return _storage._maxUploadChunkRejectedCount} + set {_uniqueStorage()._maxUploadChunkRejectedCount = newValue} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInvalidAttackActions: return 2 - case .errorNotInRange: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var ardkDesiredAccuracyMm: Int32 { + get {return _storage._ardkDesiredAccuracyMm} + set {_uniqueStorage()._ardkDesiredAccuracyMm = newValue} + } + public var ardkUpdateDistanceMm: Int32 { + get {return _storage._ardkUpdateDistanceMm} + set {_uniqueStorage()._ardkUpdateDistanceMm = newValue} } - public init() {} + public var maxPendingUploadKilobytes: Int32 { + get {return _storage._maxPendingUploadKilobytes} + set {_uniqueStorage()._maxPendingUploadKilobytes = newValue} + } - fileprivate var _storage = _StorageClass.defaultInstance -} + public var enableSponsorPoiScan: Bool { + get {return _storage._enableSponsorPoiScan} + set {_uniqueStorage()._enableSponsorPoiScan = newValue} + } -#if swift(>=4.2) + public var minDiskSpaceNeededMb: Int32 { + get {return _storage._minDiskSpaceNeededMb} + set {_uniqueStorage()._minDiskSpaceNeededMb = newValue} + } -extension AttackGymOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AttackGymOutProto.Result] = [ - .unset, - .success, - .errorInvalidAttackActions, - .errorNotInRange, - ] -} + public var scanValidationEnabled: Bool { + get {return _storage._scanValidationEnabled} + set {_uniqueStorage()._scanValidationEnabled = newValue} + } -#endif // swift(>=4.2) + public var scanValidationStartDelayS: Float { + get {return _storage._scanValidationStartDelayS} + set {_uniqueStorage()._scanValidationStartDelayS = newValue} + } -public struct AttackGymProto { - // 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. + public var scanValidationLumensMinThreshold: Float { + get {return _storage._scanValidationLumensMinThreshold} + set {_uniqueStorage()._scanValidationLumensMinThreshold = newValue} + } - public var gymID: String = String() + public var scanValidationLumensSmoothingFactor: Float { + get {return _storage._scanValidationLumensSmoothingFactor} + set {_uniqueStorage()._scanValidationLumensSmoothingFactor = newValue} + } - public var battleID: String = String() + public var scanValidationAveragePixelThreshold: Float { + get {return _storage._scanValidationAveragePixelThreshold} + set {_uniqueStorage()._scanValidationAveragePixelThreshold = newValue} + } - public var attackerActions: [BattleActionProto] = [] + public var scanValidationAveragePixelSmoothingFactor: Float { + get {return _storage._scanValidationAveragePixelSmoothingFactor} + set {_uniqueStorage()._scanValidationAveragePixelSmoothingFactor = newValue} + } - public var lastRetrievedAction: BattleActionProto { - get {return _lastRetrievedAction ?? BattleActionProto()} - set {_lastRetrievedAction = newValue} + public var scanValidationSpeedMinThresholdMperS: Float { + get {return _storage._scanValidationSpeedMinThresholdMperS} + set {_uniqueStorage()._scanValidationSpeedMinThresholdMperS = newValue} } - /// Returns true if `lastRetrievedAction` has been explicitly set. - public var hasLastRetrievedAction: Bool {return self._lastRetrievedAction != nil} - /// Clears the value of `lastRetrievedAction`. Subsequent reads from it will return its default value. - public mutating func clearLastRetrievedAction() {self._lastRetrievedAction = nil} - public var playerLatDegrees: Double = 0 + public var scanValidationSpeedMaxThresholdMperS: Float { + get {return _storage._scanValidationSpeedMaxThresholdMperS} + set {_uniqueStorage()._scanValidationSpeedMaxThresholdMperS = newValue} + } - public var playerLngDegrees: Double = 0 + public var scanValidationSpeedSmoothingFactor: Float { + get {return _storage._scanValidationSpeedSmoothingFactor} + set {_uniqueStorage()._scanValidationSpeedSmoothingFactor = newValue} + } + + public var scanValidationMaxWarningTimeS: Float { + get {return _storage._scanValidationMaxWarningTimeS} + set {_uniqueStorage()._scanValidationMaxWarningTimeS = newValue} + } + + public var arRecorderV2Enabled: Bool { + get {return _storage._arRecorderV2Enabled} + set {_uniqueStorage()._arRecorderV2Enabled = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _lastRetrievedAction: BattleActionProto? = nil + fileprivate var _storage = _StorageClass.defaultInstance } -public struct AttackRaidBattleOutProto { +public struct ArMappingTelemetryProto { // 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. - public var result: AttackRaidBattleOutProto.Result { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} - } + public var arMappingTelemetryID: ArMappingTelemetryProto.ArMappingEventId = .unknown - public var battleUpdate: BattleUpdateProto { - get {return _storage._battleUpdate ?? BattleUpdateProto()} - set {_uniqueStorage()._battleUpdate = newValue} - } - /// Returns true if `battleUpdate` has been explicitly set. - public var hasBattleUpdate: Bool {return _storage._battleUpdate != nil} - /// Clears the value of `battleUpdate`. Subsequent reads from it will return its default value. - public mutating func clearBattleUpdate() {_uniqueStorage()._battleUpdate = nil} + public var source: ArMappingTelemetryProto.ArMappingEntryPoint = .unknownEntry - public var sponsoredGift: AdDetails { - get {return _storage._sponsoredGift ?? AdDetails()} - set {_uniqueStorage()._sponsoredGift = newValue} - } - /// Returns true if `sponsoredGift` has been explicitly set. - public var hasSponsoredGift: Bool {return _storage._sponsoredGift != nil} - /// Clears the value of `sponsoredGift`. Subsequent reads from it will return its default value. - public mutating func clearSponsoredGift() {_uniqueStorage()._sponsoredGift = nil} + public var recordingLengthSeconds: Float = 0 - public var ad: AdProto { - get {return _storage._ad ?? AdProto()} - set {_uniqueStorage()._ad = newValue} - } - /// Returns true if `ad` has been explicitly set. - public var hasAd: Bool {return _storage._ad != nil} - /// Clears the value of `ad`. Subsequent reads from it will return its default value. - public mutating func clearAd() {_uniqueStorage()._ad = nil} + public var timeElapsedSeconds: Float = 0 + + public var percentEncoded: Float = 0 + + public var dataSizeBytes: Int64 = 0 + + public var validationFailureReason: ArMappingTelemetryProto.ArMappingValidationFailureReason = .unknownReason public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum ArMappingEntryPoint: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorGymNotFound // = 2 - case errorBattleNotFound // = 3 - case errorInvalidAttackActions // = 4 - case errorNotPartOfBattle // = 5 - case errorBattleIDNotRaid // = 6 + case unknownEntry // = 0 + case poiEditMenu // = 1 + case poiEditTitle // = 2 + case poiEditDescription // = 3 + case poiAddPhoto // = 4 + case poiEditLocation // = 5 + case poiNomination // = 6 + case poiFullscreenInspection // = 7 + case geotargetedQuests // = 8 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .unknownEntry } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorGymNotFound - case 3: self = .errorBattleNotFound - case 4: self = .errorInvalidAttackActions - case 5: self = .errorNotPartOfBattle - case 6: self = .errorBattleIDNotRaid + case 0: self = .unknownEntry + case 1: self = .poiEditMenu + case 2: self = .poiEditTitle + case 3: self = .poiEditDescription + case 4: self = .poiAddPhoto + case 5: self = .poiEditLocation + case 6: self = .poiNomination + case 7: self = .poiFullscreenInspection + case 8: self = .geotargetedQuests default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .errorGymNotFound: return 2 - case .errorBattleNotFound: return 3 - case .errorInvalidAttackActions: return 4 - case .errorNotPartOfBattle: return 5 - case .errorBattleIDNotRaid: return 6 + case .unknownEntry: return 0 + case .poiEditMenu: return 1 + case .poiEditTitle: return 2 + case .poiEditDescription: return 3 + case .poiAddPhoto: return 4 + case .poiEditLocation: return 5 + case .poiNomination: return 6 + case .poiFullscreenInspection: return 7 + case .geotargetedQuests: return 8 case .UNRECOGNIZED(let i): return i } } } - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) + public enum ArMappingEventId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case enterState // = 1 + case optInAccept // = 2 + case optInDeny // = 3 + case optInSettings // = 4 + case optOutSettings // = 5 + case exitFromRecording // = 6 + case startRecording // = 7 + case stopRecording // = 8 + case cancelEncoding // = 9 + case uploadNow // = 10 + case uploadLater // = 11 + case cancelUpload // = 12 + case startUploadSettings // = 13 + case uploadSuccess // = 14 + case optInLearnMore // = 15 + case exitFromPreview // = 16 + case submitPoiArVideoMetadataFail // = 17 + case uploadFailure // = 18 + case uploadLaterWifiPrompt // = 19 + case clearScans // = 20 + case openInfoPanel // = 21 + case rescanFromPreview // = 22 + case scanValidationFailure // = 23 + case UNRECOGNIZED(Int) -extension AttackRaidBattleOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AttackRaidBattleOutProto.Result] = [ - .unset, - .success, - .errorGymNotFound, - .errorBattleNotFound, - .errorInvalidAttackActions, - .errorNotPartOfBattle, - .errorBattleIDNotRaid, - ] -} + public init() { + self = .unknown + } -#endif // swift(>=4.2) + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .enterState + case 2: self = .optInAccept + case 3: self = .optInDeny + case 4: self = .optInSettings + case 5: self = .optOutSettings + case 6: self = .exitFromRecording + case 7: self = .startRecording + case 8: self = .stopRecording + case 9: self = .cancelEncoding + case 10: self = .uploadNow + case 11: self = .uploadLater + case 12: self = .cancelUpload + case 13: self = .startUploadSettings + case 14: self = .uploadSuccess + case 15: self = .optInLearnMore + case 16: self = .exitFromPreview + case 17: self = .submitPoiArVideoMetadataFail + case 18: self = .uploadFailure + case 19: self = .uploadLaterWifiPrompt + case 20: self = .clearScans + case 21: self = .openInfoPanel + case 22: self = .rescanFromPreview + case 23: self = .scanValidationFailure + default: self = .UNRECOGNIZED(rawValue) + } + } -public struct AttackRaidBattleProto { - // 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. + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .enterState: return 1 + case .optInAccept: return 2 + case .optInDeny: return 3 + case .optInSettings: return 4 + case .optOutSettings: return 5 + case .exitFromRecording: return 6 + case .startRecording: return 7 + case .stopRecording: return 8 + case .cancelEncoding: return 9 + case .uploadNow: return 10 + case .uploadLater: return 11 + case .cancelUpload: return 12 + case .startUploadSettings: return 13 + case .uploadSuccess: return 14 + case .optInLearnMore: return 15 + case .exitFromPreview: return 16 + case .submitPoiArVideoMetadataFail: return 17 + case .uploadFailure: return 18 + case .uploadLaterWifiPrompt: return 19 + case .clearScans: return 20 + case .openInfoPanel: return 21 + case .rescanFromPreview: return 22 + case .scanValidationFailure: return 23 + case .UNRECOGNIZED(let i): return i + } + } - public var gymID: String = String() + } - public var battleID: String = String() + public enum ArMappingValidationFailureReason: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknownReason // = 0 + case tooFast // = 1 + case tooSlow // = 2 + case tooDark // = 3 + case UNRECOGNIZED(Int) - public var attackerActions: [BattleActionProto] = [] + public init() { + self = .unknownReason + } - public var lastRetrievedAction: BattleActionProto { - get {return _lastRetrievedAction ?? BattleActionProto()} - set {_lastRetrievedAction = newValue} - } - /// Returns true if `lastRetrievedAction` has been explicitly set. - public var hasLastRetrievedAction: Bool {return self._lastRetrievedAction != nil} - /// Clears the value of `lastRetrievedAction`. Subsequent reads from it will return its default value. - public mutating func clearLastRetrievedAction() {self._lastRetrievedAction = nil} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknownReason + case 1: self = .tooFast + case 2: self = .tooSlow + case 3: self = .tooDark + default: self = .UNRECOGNIZED(rawValue) + } + } - public var timestampMs: Int64 = 0 + public var rawValue: Int { + switch self { + case .unknownReason: return 0 + case .tooFast: return 1 + case .tooSlow: return 2 + case .tooDark: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var adTargetingInfo: AdTargetingInfoProto { - get {return _adTargetingInfo ?? AdTargetingInfoProto()} - set {_adTargetingInfo = newValue} } - /// Returns true if `adTargetingInfo` has been explicitly set. - public var hasAdTargetingInfo: Bool {return self._adTargetingInfo != nil} - /// Clears the value of `adTargetingInfo`. Subsequent reads from it will return its default value. - public mutating func clearAdTargetingInfo() {self._adTargetingInfo = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _lastRetrievedAction: BattleActionProto? = nil - fileprivate var _adTargetingInfo: AdTargetingInfoProto? = nil } -public struct AttackRaidDataLogDetails { - // 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. - - public var type: BattleActionProto.ActionType = .unset - - public var obAttackRaidDataUint321: UInt32 = 0 - - public var obAttackRaidDataInt321: Int32 = 0 - - public var obAttackRaidDataInt322: Int32 = 0 - - public var obAttackRaidDataInt323: Int32 = 0 - - public var obAttackRaidDataInt324: Int32 = 0 - - public var obAttackRaidDataUint64: UInt64 = 0 - - public var obAttackRaidDataUint322: UInt32 = 0 +#if swift(>=4.2) - public var obAttackRaidDataUint323: UInt32 = 0 +extension ArMappingTelemetryProto.ArMappingEntryPoint: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ArMappingTelemetryProto.ArMappingEntryPoint] = [ + .unknownEntry, + .poiEditMenu, + .poiEditTitle, + .poiEditDescription, + .poiAddPhoto, + .poiEditLocation, + .poiNomination, + .poiFullscreenInspection, + .geotargetedQuests, + ] +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +extension ArMappingTelemetryProto.ArMappingEventId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ArMappingTelemetryProto.ArMappingEventId] = [ + .unknown, + .enterState, + .optInAccept, + .optInDeny, + .optInSettings, + .optOutSettings, + .exitFromRecording, + .startRecording, + .stopRecording, + .cancelEncoding, + .uploadNow, + .uploadLater, + .cancelUpload, + .startUploadSettings, + .uploadSuccess, + .optInLearnMore, + .exitFromPreview, + .submitPoiArVideoMetadataFail, + .uploadFailure, + .uploadLaterWifiPrompt, + .clearScans, + .openInfoPanel, + .rescanFromPreview, + .scanValidationFailure, + ] +} - public init() {} +extension ArMappingTelemetryProto.ArMappingValidationFailureReason: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ArMappingTelemetryProto.ArMappingValidationFailureReason] = [ + .unknownReason, + .tooFast, + .tooSlow, + .tooDark, + ] } -public struct AttackRaidDataProto { +#endif // swift(>=4.2) + +public struct ArPhotoGlobalSettings { // 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. - public var obDetails: [AttackRaidDataLogDetails] = [] - - public var obDetail: AttackRaidDataLogDetails { - get {return _obDetail ?? AttackRaidDataLogDetails()} - set {_obDetail = newValue} - } - /// Returns true if `obDetail` has been explicitly set. - public var hasObDetail: Bool {return self._obDetail != nil} - /// Clears the value of `obDetail`. Subsequent reads from it will return its default value. - public mutating func clearObDetail() {self._obDetail = nil} - - public var obAttackRaidDataUint32: UInt32 = 0 - - public var obAttackRaidDataInt32: Int32 = 0 + public var minPlayerLevel: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _obDetail: AttackRaidDataLogDetails? = nil } -public struct AttackRaidResponseDataProto { +public struct ArPhotoSessionProto { // 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. - public var result: AttackRaidBattleOutProto.Result = .unset - - public var state: BattleLogProto.State = .unset - - public var obAttackRaidDataUint321: UInt32 = 0 - - public var obDetails: [AttackRaidDataLogDetails] = [] - - public var obAttackRaidDataUint322: UInt32 = 0 - - public var obAttackRaidDataUint323: UInt32 = 0 - - public var obAttackRaidDataInt32: Int32 = 0 - - public var obAttackRaidDataUint324: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var arType: ArPhotoSessionProto.ArType { + get {return _storage._arType} + set {_uniqueStorage()._arType = newValue} + } -public struct AttractedPokemonClientProto { - // 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. + public var furthestStepCompleted: ArPhotoSessionProto.Step { + get {return _storage._furthestStepCompleted} + set {_uniqueStorage()._furthestStepCompleted = newValue} + } - public var context: AttractedPokemonContext = .attractedPokemonUnset + public var numPhotosTaken: Int32 { + get {return _storage._numPhotosTaken} + set {_uniqueStorage()._numPhotosTaken = newValue} + } - public var pokemonTypeID: HoloPokemonId = .missingno + public var numPhotosShared: Int32 { + get {return _storage._numPhotosShared} + set {_uniqueStorage()._numPhotosShared = newValue} + } - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} + public var numPhotosTakenOcclusions: Int32 { + get {return _storage._numPhotosTakenOcclusions} + set {_uniqueStorage()._numPhotosTakenOcclusions = newValue} } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public var lat: Double = 0 + public var numOcclusionsEnabled: Int32 { + get {return _storage._numOcclusionsEnabled} + set {_uniqueStorage()._numOcclusionsEnabled = newValue} + } - public var lng: Double = 0 + public var numOcclusionsDisabled: Int32 { + get {return _storage._numOcclusionsDisabled} + set {_uniqueStorage()._numOcclusionsDisabled = newValue} + } - public var encounterLocation: String = String() + public var arContext: ArPhotoSessionProto.ArContext { + get {return _storage._arContext} + set {_uniqueStorage()._arContext = newValue} + } - public var encounterID: UInt64 = 0 + public var sessionLength: Int64 { + get {return _storage._sessionLength} + set {_uniqueStorage()._sessionLength = newValue} + } - public var disappearTimeMs: Int64 = 0 + public var sessionLengthOcclusions: Int64 { + get {return _storage._sessionLengthOcclusions} + set {_uniqueStorage()._sessionLengthOcclusions = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var numPhotosSharedOcclusions: Int32 { + get {return _storage._numPhotosSharedOcclusions} + set {_uniqueStorage()._numPhotosSharedOcclusions = newValue} + } - public init() {} + public var modelURL: String { + get {return _storage._modelURL} + set {_uniqueStorage()._modelURL = newValue} + } - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil -} + public var ardkVersion: String { + get {return _storage._ardkVersion} + set {_uniqueStorage()._ardkVersion = newValue} + } -public struct AuthenticateAppleSignInRequestProto { - // 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. + public var averageFramerate: Int32 { + get {return _storage._averageFramerate} + set {_uniqueStorage()._averageFramerate = newValue} + } - public var appleIDToken: Data = Data() + public var averageBatteryPerMin: Float { + get {return _storage._averageBatteryPerMin} + set {_uniqueStorage()._averageBatteryPerMin = newValue} + } - public var authCode: Data = Data() + public var averageCpuUsage: Float { + get {return _storage._averageCpuUsage} + set {_uniqueStorage()._averageCpuUsage = newValue} + } - public var acceptedClientIds: [String] = [] + public var averageGpuUsage: Float { + get {return _storage._averageGpuUsage} + set {_uniqueStorage()._averageGpuUsage = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var framerateSamples: [ArPhotoSessionProto.FramerateSample] { + get {return _storage._framerateSamples} + set {_uniqueStorage()._framerateSamples = newValue} + } - public init() {} -} + public var batterySamples: [ArPhotoSessionProto.BatterySample] { + get {return _storage._batterySamples} + set {_uniqueStorage()._batterySamples = newValue} + } -public struct AuthenticateAppleSignInResponseProto { - // 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. + public var processorSamples: [ArPhotoSessionProto.ProcessorSample] { + get {return _storage._processorSamples} + set {_uniqueStorage()._processorSamples = newValue} + } - public var status: AuthenticateAppleSignInResponseProto.Status = .unset + public var sessionStartToPlaneDetectionMs: Int32 { + get {return _storage._sessionStartToPlaneDetectionMs} + set {_uniqueStorage()._sessionStartToPlaneDetectionMs = newValue} + } - public var niaAppleAuthToken: Data = Data() + public var planeDetectionToUserInteractionMs: Int32 { + get {return _storage._planeDetectionToUserInteractionMs} + set {_uniqueStorage()._planeDetectionToUserInteractionMs = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum ArContext: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case invalidAuth // = 2 - case serverError // = 3 + case none // = 0 + case arEncounter // = 1 + case arSnapshot // = 2 + case singleplayerBuddy // = 3 + case multiplayerBuddy // = 4 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .none } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .invalidAuth - case 3: self = .serverError + case 0: self = .none + case 1: self = .arEncounter + case 2: self = .arSnapshot + case 3: self = .singleplayerBuddy + case 4: self = .multiplayerBuddy default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .invalidAuth: return 2 - case .serverError: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension AuthenticateAppleSignInResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AuthenticateAppleSignInResponseProto.Status] = [ - .unset, - .success, - .invalidAuth, - .serverError, - ] -} - -#endif // swift(>=4.2) - -public struct AvailableSkuProto { - // 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. - - public var id: String = String() - - public var isThirdPartyVendorItem: Bool = false - - public var price: [CurrencyQuantityProto] = [] - - public var currencyGranted: [CurrencyQuantityProto] = [] - - public var gameItemContent: [GameItemContentProto] = [] - - public var presentationData: [SkuPresentationProto] = [] - - public var canBePurchased: Bool = false - - public var subscriptionID: String = String() - - public var ruleData: [StoreRuleDataProto] = [] - - public var offerID: String = String() - - public var hasPurchasedSubscription_p: Bool = false - - public var subscriptionGroupID: String = String() - - public var subscriptionLevel: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct AvailableSubmissionsPerSubmissionType { - // 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. - - public var submissionsLeft: Int32 = 0 - - public var minPlayerLevel: Int32 = 0 - - public var isFeatureEnabled: Bool = false - - public var timeWindowForSubmissionsLimitMs: Int64 = 0 - - public var maxPoiDistanceInMeters: Int32 = 0 - - public var blacklistedOs: [String] = [] - - public var blacklistedDeviceID: [String] = [] - - public var isWhitelistedUser: Bool = false - - public var isUploadLaterEnabled: Bool = false - - public var dailyNewSubmissions: Float = 0 - - public var maxSubmissions: Int32 = 0 - - public var isWayfarerOnboardingEnabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct AvatarArticleProto { - // 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. - - public var articleID: String = String() - - public var color: Int32 = 0 - - public var slotID: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct AvatarCustomizationProto { - // 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. - - public var enabled: Bool { - get {return _storage._enabled} - set {_uniqueStorage()._enabled = newValue} - } - - public var avatarType: PlayerAvatarType { - get {return _storage._avatarType} - set {_uniqueStorage()._avatarType = newValue} - } - - public var slot: [AvatarCustomizationProto.Slot] { - get {return _storage._slot} - set {_uniqueStorage()._slot = newValue} - } - - public var bundleName: String { - get {return _storage._bundleName} - set {_uniqueStorage()._bundleName = newValue} - } - - public var assetName: String { - get {return _storage._assetName} - set {_uniqueStorage()._assetName = newValue} - } - - public var groupName: String { - get {return _storage._groupName} - set {_uniqueStorage()._groupName = newValue} - } - - public var sortOrder: Int32 { - get {return _storage._sortOrder} - set {_uniqueStorage()._sortOrder = newValue} - } - - public var unlockType: AvatarCustomizationProto.AvatarCustomizationUnlockType { - get {return _storage._unlockType} - set {_uniqueStorage()._unlockType = newValue} - } - - public var promoType: [AvatarCustomizationProto.AvatarCustomizationPromoType] { - get {return _storage._promoType} - set {_uniqueStorage()._promoType = newValue} - } - - public var unlockBadgeType: HoloBadgeType { - get {return _storage._unlockBadgeType} - set {_uniqueStorage()._unlockBadgeType = newValue} - } - - public var iapSku: String { - get {return _storage._iapSku} - set {_uniqueStorage()._iapSku = newValue} - } - - public var unlockBadgeLevel: Int32 { - get {return _storage._unlockBadgeLevel} - set {_uniqueStorage()._unlockBadgeLevel = newValue} - } - - public var iconName: String { - get {return _storage._iconName} - set {_uniqueStorage()._iconName = newValue} - } - - public var unlockPlayerLevel: Int32 { - get {return _storage._unlockPlayerLevel} - set {_uniqueStorage()._unlockPlayerLevel = newValue} - } - - public var setName: String { - get {return _storage._setName} - set {_uniqueStorage()._setName = newValue} - } - - public var setPrimeItem: Bool { - get {return _storage._setPrimeItem} - set {_uniqueStorage()._setPrimeItem = newValue} - } - - public var incompatibleBundleNames: [String] { - get {return _storage._incompatibleBundleNames} - set {_uniqueStorage()._incompatibleBundleNames = newValue} - } + case .none: return 0 + case .arEncounter: return 1 + case .arSnapshot: return 2 + case .singleplayerBuddy: return 3 + case .multiplayerBuddy: return 4 + case .UNRECOGNIZED(let i): return i + } + } - public var names: [String] { - get {return _storage._names} - set {_uniqueStorage()._names = newValue} } - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum AvatarCustomizationPromoType: SwiftProtobuf.Enum { + public enum ArType: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetPromoType // = 0 - case sale // = 1 - case featured // = 2 + case unset // = 0 + case plus // = 1 + case classic // = 2 case UNRECOGNIZED(Int) public init() { - self = .unsetPromoType + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetPromoType - case 1: self = .sale - case 2: self = .featured + case 0: self = .unset + case 1: self = .plus + case 2: self = .classic default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetPromoType: return 0 - case .sale: return 1 - case .featured: return 2 + case .unset: return 0 + case .plus: return 1 + case .classic: return 2 case .UNRECOGNIZED(let i): return i } } } - public enum AvatarCustomizationUnlockType: SwiftProtobuf.Enum { + public enum BatteryStatus: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetUnlockType // = 0 - case `default` // = 1 - case medalReward // = 2 - case iapClothing // = 3 - case levelReward // = 4 - case combatRankReward // = 5 + case undetermined // = 0 + case charging // = 1 + case discharging // = 2 + case notCharging // = 3 + case full // = 4 case UNRECOGNIZED(Int) public init() { - self = .unsetUnlockType + self = .undetermined } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetUnlockType - case 1: self = .default - case 2: self = .medalReward - case 3: self = .iapClothing - case 4: self = .levelReward - case 5: self = .combatRankReward + case 0: self = .undetermined + case 1: self = .charging + case 2: self = .discharging + case 3: self = .notCharging + case 4: self = .full default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetUnlockType: return 0 - case .default: return 1 - case .medalReward: return 2 - case .iapClothing: return 3 - case .levelReward: return 4 - case .combatRankReward: return 5 + case .undetermined: return 0 + case .charging: return 1 + case .discharging: return 2 + case .notCharging: return 3 + case .full: return 4 case .UNRECOGNIZED(let i): return i } } } - public enum Slot: SwiftProtobuf.Enum { + public enum Step: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetSlot // = 0 - case hair // = 1 - case shirt // = 2 - case pants // = 3 - case hat // = 4 - case shoes // = 5 - case eyes // = 6 - case backpack // = 7 - case gloves // = 8 - case socks // = 9 - case belt // = 10 - case glasses // = 11 - case necklace // = 12 - case skin // = 13 - case pose // = 14 - case face // = 15 - case prop // = 16 + case unknown // = 0 + case cameraPermissionGranted // = 1 + case arplusPlaneFound // = 2 + case arplusPokemonPlaced // = 3 + case photoTaken // = 4 + case photoShared // = 5 case UNRECOGNIZED(Int) public init() { - self = .unsetSlot + self = .unknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetSlot - case 1: self = .hair - case 2: self = .shirt - case 3: self = .pants - case 4: self = .hat - case 5: self = .shoes - case 6: self = .eyes - case 7: self = .backpack - case 8: self = .gloves - case 9: self = .socks - case 10: self = .belt - case 11: self = .glasses - case 12: self = .necklace - case 13: self = .skin - case 14: self = .pose - case 15: self = .face - case 16: self = .prop + case 0: self = .unknown + case 1: self = .cameraPermissionGranted + case 2: self = .arplusPlaneFound + case 3: self = .arplusPokemonPlaced + case 4: self = .photoTaken + case 5: self = .photoShared default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetSlot: return 0 - case .hair: return 1 - case .shirt: return 2 - case .pants: return 3 - case .hat: return 4 - case .shoes: return 5 - case .eyes: return 6 - case .backpack: return 7 - case .gloves: return 8 - case .socks: return 9 - case .belt: return 10 - case .glasses: return 11 - case .necklace: return 12 - case .skin: return 13 - case .pose: return 14 - case .face: return 15 - case .prop: return 16 + case .unknown: return 0 + case .cameraPermissionGranted: return 1 + case .arplusPlaneFound: return 2 + case .arplusPokemonPlaced: return 3 + case .photoTaken: return 4 + case .photoShared: return 5 case .UNRECOGNIZED(let i): return i } } } + public struct ArConditions { + // 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. + + public var timestamp: Int64 = 0 + + public var occlusionsEnabled: Bool = false + + public var currentArStep: ArPhotoSessionProto.Step = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct BatterySample { + // 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. + + public var conditions: ArPhotoSessionProto.ArConditions { + get {return _conditions ?? ArPhotoSessionProto.ArConditions()} + set {_conditions = newValue} + } + /// Returns true if `conditions` has been explicitly set. + public var hasConditions: Bool {return self._conditions != nil} + /// Clears the value of `conditions`. Subsequent reads from it will return its default value. + public mutating func clearConditions() {self._conditions = nil} + + public var batteryLevel: Float = 0 + + public var status: ArPhotoSessionProto.BatteryStatus = .undetermined + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _conditions: ArPhotoSessionProto.ArConditions? = nil + } + + public struct FramerateSample { + // 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. + + public var conditions: ArPhotoSessionProto.ArConditions { + get {return _conditions ?? ArPhotoSessionProto.ArConditions()} + set {_conditions = newValue} + } + /// Returns true if `conditions` has been explicitly set. + public var hasConditions: Bool {return self._conditions != nil} + /// Clears the value of `conditions`. Subsequent reads from it will return its default value. + public mutating func clearConditions() {self._conditions = nil} + + public var framerate: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _conditions: ArPhotoSessionProto.ArConditions? = nil + } + + public struct ProcessorSample { + // 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. + + public var conditions: ArPhotoSessionProto.ArConditions { + get {return _conditions ?? ArPhotoSessionProto.ArConditions()} + set {_conditions = newValue} + } + /// Returns true if `conditions` has been explicitly set. + public var hasConditions: Bool {return self._conditions != nil} + /// Clears the value of `conditions`. Subsequent reads from it will return its default value. + public mutating func clearConditions() {self._conditions = nil} + + public var cpuUsage: Float = 0 + + public var gpuUsage: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _conditions: ArPhotoSessionProto.ArConditions? = nil + } + public init() {} fileprivate var _storage = _StorageClass.defaultInstance @@ -37378,170 +38463,139 @@ public struct AvatarCustomizationProto { #if swift(>=4.2) -extension AvatarCustomizationProto.AvatarCustomizationPromoType: CaseIterable { +extension ArPhotoSessionProto.ArContext: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AvatarCustomizationProto.AvatarCustomizationPromoType] = [ - .unsetPromoType, - .sale, - .featured, + public static var allCases: [ArPhotoSessionProto.ArContext] = [ + .none, + .arEncounter, + .arSnapshot, + .singleplayerBuddy, + .multiplayerBuddy, ] } -extension AvatarCustomizationProto.AvatarCustomizationUnlockType: CaseIterable { +extension ArPhotoSessionProto.ArType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AvatarCustomizationProto.AvatarCustomizationUnlockType] = [ - .unsetUnlockType, - .default, - .medalReward, - .iapClothing, - .levelReward, - .combatRankReward, + public static var allCases: [ArPhotoSessionProto.ArType] = [ + .unset, + .plus, + .classic, ] } -extension AvatarCustomizationProto.Slot: CaseIterable { +extension ArPhotoSessionProto.BatteryStatus: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AvatarCustomizationProto.Slot] = [ - .unsetSlot, - .hair, - .shirt, - .pants, - .hat, - .shoes, - .eyes, - .backpack, - .gloves, - .socks, - .belt, - .glasses, - .necklace, - .skin, - .pose, - .face, - .prop, + public static var allCases: [ArPhotoSessionProto.BatteryStatus] = [ + .undetermined, + .charging, + .discharging, + .notCharging, + .full, ] } -#endif // swift(>=4.2) - -public struct AvatarCustomizationTelemetry { - // 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. - - public var avatarCustomizationClickID: AvatarCustomizationTelemetryIds = .undefinedAvatarCustomization - - public var assetName: String = String() - - public var sku: String = String() - - public var hasEnoughCoins_p: Bool = false - - public var groupName: String = String() - - public var colorChoiceID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} +extension ArPhotoSessionProto.Step: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ArPhotoSessionProto.Step] = [ + .unknown, + .cameraPermissionGranted, + .arplusPlaneFound, + .arplusPokemonPlaced, + .photoTaken, + .photoShared, + ] } -public struct AvatarGlobalSettingsProto { +#endif // swift(>=4.2) + +public struct ArSessionStartEvent { // 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. - public var enablePose: Bool = false + public var emptyField: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AvatarGroupOrderSettingsProto { +public struct ArTelemetrySettingsProto { // 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. - public var group: [AvatarGroupOrderSettingsProto.AvatarGroupOrderProto] = [] + public var measureBattery: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var batterySamplingIntervalMs: Int32 = 0 - public struct AvatarGroupOrderProto { - // 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. + public var measureProcessor: Bool = false - public var name: String = String() + public var processorSamplingIntervalMs: Int32 = 0 - public var order: Int32 = 0 + public var measureFramerate: Bool = false - public var showNewTag: Bool = false + public var framerateSamplingIntervalMs: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var percentageSessionsToSample: Float = 0 - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct AvatarItemProto { +public struct ArdkConfigSettingsProto { // 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. - public var avatarTemplateID: String = String() + public var orbVocabURL: String = String() - public var newTimestampMs: Int64 = 0 + public var monodpethModelURL: String = String() - public var viewed: Bool = false + public var monodepthDevices: [String] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var monodepthContexts: [ArdkConfigSettingsProto.ArContext] = [] - public init() {} -} + public var iosMonodepthModelURL: String = String() -public struct AwardFreeRaidTicketOutProto { - // 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. + public var androidMonodepthModelURL: String = String() - public var result: AwardFreeRaidTicketOutProto.Result = .noResultSet + public var monodepthModelURL: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum ArContext: SwiftProtobuf.Enum { public typealias RawValue = Int - case noResultSet // = 0 - case success // = 1 - case errorPlayerDoesNotMeetMinLevel // = 2 - case errorDailyTicketAlreadyAwarded // = 3 - case errorPlayerOutOfRange // = 4 + case unset // = 0 + case arEncounter // = 1 + case arSnapshot // = 2 + case singleplayerBuddy // = 3 + case multiplayerBuddy // = 4 case UNRECOGNIZED(Int) public init() { - self = .noResultSet + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .noResultSet - case 1: self = .success - case 2: self = .errorPlayerDoesNotMeetMinLevel - case 3: self = .errorDailyTicketAlreadyAwarded - case 4: self = .errorPlayerOutOfRange + case 0: self = .unset + case 1: self = .arEncounter + case 2: self = .arSnapshot + case 3: self = .singleplayerBuddy + case 4: self = .multiplayerBuddy default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .noResultSet: return 0 - case .success: return 1 - case .errorPlayerDoesNotMeetMinLevel: return 2 - case .errorDailyTicketAlreadyAwarded: return 3 - case .errorPlayerOutOfRange: return 4 + case .unset: return 0 + case .arEncounter: return 1 + case .arSnapshot: return 2 + case .singleplayerBuddy: return 3 + case .multiplayerBuddy: return 4 case .UNRECOGNIZED(let i): return i } } @@ -37553,735 +38607,737 @@ public struct AwardFreeRaidTicketOutProto { #if swift(>=4.2) -extension AwardFreeRaidTicketOutProto.Result: CaseIterable { +extension ArdkConfigSettingsProto.ArContext: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AwardFreeRaidTicketOutProto.Result] = [ - .noResultSet, - .success, - .errorPlayerDoesNotMeetMinLevel, - .errorDailyTicketAlreadyAwarded, - .errorPlayerOutOfRange, + public static var allCases: [ArdkConfigSettingsProto.ArContext] = [ + .unset, + .arEncounter, + .arSnapshot, + .singleplayerBuddy, + .multiplayerBuddy, ] } #endif // swift(>=4.2) -public struct AwardFreeRaidTicketProto { - // 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. - - public var gymID: String = String() - - public var playerLatDegrees: Double = 0 - - public var playerLngDegrees: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct AwardItemProto { +public struct ArdkNextTelemetryOmniProto { // 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. - public var item: Item = .unknown - - public var itemCount: Int32 = 0 - - public var bonusCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct AwardedGymBadge { - // 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. + public var telemetryEvent: OneOf_TelemetryEvent? { + get {return _storage._telemetryEvent} + set {_uniqueStorage()._telemetryEvent = newValue} + } - public var fortID: String { - get {return _storage._fortID} - set {_uniqueStorage()._fortID = newValue} + public var initializationEvent: InitializationEvent { + get { + if case .initializationEvent(let v)? = _storage._telemetryEvent {return v} + return InitializationEvent() + } + set {_uniqueStorage()._telemetryEvent = .initializationEvent(newValue)} } - public var gymBadgeType: GymBadgeType { - get {return _storage._gymBadgeType} - set {_uniqueStorage()._gymBadgeType = newValue} + public var scanRecorderStartEvent: ScanRecorderStartEvent { + get { + if case .scanRecorderStartEvent(let v)? = _storage._telemetryEvent {return v} + return ScanRecorderStartEvent() + } + set {_uniqueStorage()._telemetryEvent = .scanRecorderStartEvent(newValue)} } - public var score: UInt32 { - get {return _storage._score} - set {_uniqueStorage()._score = newValue} + public var scanRecorderStopEvent: ScanRecorderStopEvent { + get { + if case .scanRecorderStopEvent(let v)? = _storage._telemetryEvent {return v} + return ScanRecorderStopEvent() + } + set {_uniqueStorage()._telemetryEvent = .scanRecorderStopEvent(newValue)} } - public var gymBadgeStats: GymBadgeStats { - get {return _storage._gymBadgeStats ?? GymBadgeStats()} - set {_uniqueStorage()._gymBadgeStats = newValue} + public var scanSqcRunEvent: ScanSQCRunEvent { + get { + if case .scanSqcRunEvent(let v)? = _storage._telemetryEvent {return v} + return ScanSQCRunEvent() + } + set {_uniqueStorage()._telemetryEvent = .scanSqcRunEvent(newValue)} } - /// Returns true if `gymBadgeStats` has been explicitly set. - public var hasGymBadgeStats: Bool {return _storage._gymBadgeStats != nil} - /// Clears the value of `gymBadgeStats`. Subsequent reads from it will return its default value. - public mutating func clearGymBadgeStats() {_uniqueStorage()._gymBadgeStats = nil} - public var lastUpdateTimestampMs: UInt64 { - get {return _storage._lastUpdateTimestampMs} - set {_uniqueStorage()._lastUpdateTimestampMs = newValue} + public var scanSqcDoneEvent: ScanSQCDoneEvent { + get { + if case .scanSqcDoneEvent(let v)? = _storage._telemetryEvent {return v} + return ScanSQCDoneEvent() + } + set {_uniqueStorage()._telemetryEvent = .scanSqcDoneEvent(newValue)} } - public var name: String { - get {return _storage._name} - set {_uniqueStorage()._name = newValue} + public var scanErrorEvent: ScanErrorEvent { + get { + if case .scanErrorEvent(let v)? = _storage._telemetryEvent {return v} + return ScanErrorEvent() + } + set {_uniqueStorage()._telemetryEvent = .scanErrorEvent(newValue)} } - public var imageURL: String { - get {return _storage._imageURL} - set {_uniqueStorage()._imageURL = newValue} + public var scanArchiveBuilderGetNextChunkEvent: ScanArchiveBuilderGetNextChunkEvent { + get { + if case .scanArchiveBuilderGetNextChunkEvent(let v)? = _storage._telemetryEvent {return v} + return ScanArchiveBuilderGetNextChunkEvent() + } + set {_uniqueStorage()._telemetryEvent = .scanArchiveBuilderGetNextChunkEvent(newValue)} } - public var description_p: String { - get {return _storage._description_p} - set {_uniqueStorage()._description_p = newValue} + public var scanArchiveBuilderCancelEvent: ScanArchiveBuilderCancelEvent { + get { + if case .scanArchiveBuilderCancelEvent(let v)? = _storage._telemetryEvent {return v} + return ScanArchiveBuilderCancelEvent() + } + set {_uniqueStorage()._telemetryEvent = .scanArchiveBuilderCancelEvent(newValue)} } - public var latitude: Double { - get {return _storage._latitude} - set {_uniqueStorage()._latitude = newValue} + public var vpsLocalizationStartedEvent: VpsLocalizationStartedEvent { + get { + if case .vpsLocalizationStartedEvent(let v)? = _storage._telemetryEvent {return v} + return VpsLocalizationStartedEvent() + } + set {_uniqueStorage()._telemetryEvent = .vpsLocalizationStartedEvent(newValue)} } - public var longitude: Double { - get {return _storage._longitude} - set {_uniqueStorage()._longitude = newValue} + public var vpsLocalizationSuccessEvent: VpsLocalizationSuccessEvent { + get { + if case .vpsLocalizationSuccessEvent(let v)? = _storage._telemetryEvent {return v} + return VpsLocalizationSuccessEvent() + } + set {_uniqueStorage()._telemetryEvent = .vpsLocalizationSuccessEvent(newValue)} } - public var lastCheckTimestampMs: UInt64 { - get {return _storage._lastCheckTimestampMs} - set {_uniqueStorage()._lastCheckTimestampMs = newValue} + public var vpsSessionEndedEvent: VpsSessionEndedEvent { + get { + if case .vpsSessionEndedEvent(let v)? = _storage._telemetryEvent {return v} + return VpsSessionEndedEvent() + } + set {_uniqueStorage()._telemetryEvent = .vpsSessionEndedEvent(newValue)} } - public var earnedPoints: UInt32 { - get {return _storage._earnedPoints} - set {_uniqueStorage()._earnedPoints = newValue} + public var arSessionStartEvent: ArSessionStartEvent { + get { + if case .arSessionStartEvent(let v)? = _storage._telemetryEvent {return v} + return ArSessionStartEvent() + } + set {_uniqueStorage()._telemetryEvent = .arSessionStartEvent(newValue)} } - public var progress: Float { - get {return _storage._progress} - set {_uniqueStorage()._progress = newValue} + public var arCommonMetadata: ARDKARCommonMetadata { + get {return _storage._arCommonMetadata ?? ARDKARCommonMetadata()} + set {_uniqueStorage()._arCommonMetadata = newValue} } + /// Returns true if `arCommonMetadata` has been explicitly set. + public var hasArCommonMetadata: Bool {return _storage._arCommonMetadata != nil} + /// Clears the value of `arCommonMetadata`. Subsequent reads from it will return its default value. + public mutating func clearArCommonMetadata() {_uniqueStorage()._arCommonMetadata = nil} - public var levelUp: Bool { - get {return _storage._levelUp} - set {_uniqueStorage()._levelUp = newValue} + public var developerKey: String { + get {return _storage._developerKey} + set {_uniqueStorage()._developerKey = newValue} } - public var raids: PlayerRaidInfoProto { - get {return _storage._raids ?? PlayerRaidInfoProto()} - set {_uniqueStorage()._raids = newValue} + public var timestampMs: Int64 { + get {return _storage._timestampMs} + set {_uniqueStorage()._timestampMs = newValue} } - /// Returns true if `raids` has been explicitly set. - public var hasRaids: Bool {return _storage._raids != nil} - /// Clears the value of `raids`. Subsequent reads from it will return its default value. - public mutating func clearRaids() {_uniqueStorage()._raids = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_TelemetryEvent: Equatable { + case initializationEvent(InitializationEvent) + case scanRecorderStartEvent(ScanRecorderStartEvent) + case scanRecorderStopEvent(ScanRecorderStopEvent) + case scanSqcRunEvent(ScanSQCRunEvent) + case scanSqcDoneEvent(ScanSQCDoneEvent) + case scanErrorEvent(ScanErrorEvent) + case scanArchiveBuilderGetNextChunkEvent(ScanArchiveBuilderGetNextChunkEvent) + case scanArchiveBuilderCancelEvent(ScanArchiveBuilderCancelEvent) + case vpsLocalizationStartedEvent(VpsLocalizationStartedEvent) + case vpsLocalizationSuccessEvent(VpsLocalizationSuccessEvent) + case vpsSessionEndedEvent(VpsSessionEndedEvent) + case arSessionStartEvent(ArSessionStartEvent) + + #if !swift(>=4.1) + public static func ==(lhs: ArdkNextTelemetryOmniProto.OneOf_TelemetryEvent, rhs: ArdkNextTelemetryOmniProto.OneOf_TelemetryEvent) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.initializationEvent, .initializationEvent): return { + guard case .initializationEvent(let l) = lhs, case .initializationEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.scanRecorderStartEvent, .scanRecorderStartEvent): return { + guard case .scanRecorderStartEvent(let l) = lhs, case .scanRecorderStartEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.scanRecorderStopEvent, .scanRecorderStopEvent): return { + guard case .scanRecorderStopEvent(let l) = lhs, case .scanRecorderStopEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.scanSqcRunEvent, .scanSqcRunEvent): return { + guard case .scanSqcRunEvent(let l) = lhs, case .scanSqcRunEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.scanSqcDoneEvent, .scanSqcDoneEvent): return { + guard case .scanSqcDoneEvent(let l) = lhs, case .scanSqcDoneEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.scanErrorEvent, .scanErrorEvent): return { + guard case .scanErrorEvent(let l) = lhs, case .scanErrorEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.scanArchiveBuilderGetNextChunkEvent, .scanArchiveBuilderGetNextChunkEvent): return { + guard case .scanArchiveBuilderGetNextChunkEvent(let l) = lhs, case .scanArchiveBuilderGetNextChunkEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.scanArchiveBuilderCancelEvent, .scanArchiveBuilderCancelEvent): return { + guard case .scanArchiveBuilderCancelEvent(let l) = lhs, case .scanArchiveBuilderCancelEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.vpsLocalizationStartedEvent, .vpsLocalizationStartedEvent): return { + guard case .vpsLocalizationStartedEvent(let l) = lhs, case .vpsLocalizationStartedEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.vpsLocalizationSuccessEvent, .vpsLocalizationSuccessEvent): return { + guard case .vpsLocalizationSuccessEvent(let l) = lhs, case .vpsLocalizationSuccessEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.vpsSessionEndedEvent, .vpsSessionEndedEvent): return { + guard case .vpsSessionEndedEvent(let l) = lhs, case .vpsSessionEndedEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.arSessionStartEvent, .arSessionStartEvent): return { + guard case .arSessionStartEvent(let l) = lhs, case .arSessionStartEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + public init() {} fileprivate var _storage = _StorageClass.defaultInstance } -public struct AwardedRouteBadge { +public struct AssertionFailed { // 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. - public var routeID: String { - get {return _storage._routeID} - set {_uniqueStorage()._routeID = newValue} - } + public var timestampMs: Int64 = 0 - public var routeType: RouteType { - get {return _storage._routeType} - set {_uniqueStorage()._routeType = newValue} - } + public var message: String = String() - public var numCompletions: Int32 { - get {return _storage._numCompletions} - set {_uniqueStorage()._numCompletions = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var lastPlayedTime: Int64 { - get {return _storage._lastPlayedTime} - set {_uniqueStorage()._lastPlayedTime = newValue} - } + public init() {} +} - public var uniqueRouteStamp: [RouteStamp] { - get {return _storage._uniqueRouteStamp} - set {_uniqueStorage()._uniqueRouteStamp = newValue} - } +public struct AssetBundleDownloadTelemetry { + // 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. - public var routeName: String { - get {return _storage._routeName} - set {_uniqueStorage()._routeName = newValue} - } + public var assetEventID: AssetTelemetryIds = .undefinedAssetEvent - public var routeDescription: String { - get {return _storage._routeDescription} - set {_uniqueStorage()._routeDescription = newValue} - } + public var bundleName: String = String() - public var routeCreatorCodename: String { - get {return _storage._routeCreatorCodename} - set {_uniqueStorage()._routeCreatorCodename = newValue} - } + public var size: UInt32 = 0 - public var routeImageURL: String { - get {return _storage._routeImageURL} - set {_uniqueStorage()._routeImageURL = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var routeDurationSeconds: Int64 { - get {return _storage._routeDurationSeconds} - set {_uniqueStorage()._routeDurationSeconds = newValue} - } + public init() {} +} - public var lastPlayedWaypoints: [AwardedRouteBadge.RouteBadgeWaypoint] { - get {return _storage._lastPlayedWaypoints} - set {_uniqueStorage()._lastPlayedWaypoints = newValue} - } +public struct AssetDigestEntryProto { + // 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. - public var obInt641: Int64 { - get {return _storage._obInt641} - set {_uniqueStorage()._obInt641 = newValue} - } + public var assetID: String = String() - public var weatherCondition: GameplayWeatherProto.WeatherCondition { - get {return _storage._weatherCondition} - set {_uniqueStorage()._weatherCondition = newValue} - } + public var bundleName: String = String() - public var routeBadgeType: AwardedRouteBadge.RouteBadgeType { - get {return _storage._routeBadgeType} - set {_uniqueStorage()._routeBadgeType = newValue} - } + public var version: Int64 = 0 - public var obLat: Double { - get {return _storage._obLat} - set {_uniqueStorage()._obLat = newValue} - } + public var checksum: UInt32 = 0 - public var obLng: Double { - get {return _storage._obLng} - set {_uniqueStorage()._obLng = newValue} - } + public var size: Int32 = 0 - public var obInt642: Int64 { - get {return _storage._obInt642} - set {_uniqueStorage()._obInt642 = newValue} - } + public var key: Data = Data() - public var badgeLevel: RouteBadgeLevel.BadgeLevel { - get {return _storage._badgeLevel} - set {_uniqueStorage()._badgeLevel = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } + public init() {} +} - public var obBool1: Bool { - get {return _storage._obBool1} - set {_uniqueStorage()._obBool1 = newValue} - } +public struct AssetDigestOutProto { + // 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. - public var obBool2: Bool { - get {return _storage._obBool2} - set {_uniqueStorage()._obBool2 = newValue} - } + public var digest: [AssetDigestEntryProto] = [] - public var obSharedRoute: SharedRouteProto { - get {return _storage._obSharedRoute ?? SharedRouteProto()} - set {_uniqueStorage()._obSharedRoute = newValue} - } - /// Returns true if `obSharedRoute` has been explicitly set. - public var hasObSharedRoute: Bool {return _storage._obSharedRoute != nil} - /// Clears the value of `obSharedRoute`. Subsequent reads from it will return its default value. - public mutating func clearObSharedRoute() {_uniqueStorage()._obSharedRoute = nil} + public var timestamp: UInt64 = 0 + + public var result: AssetDigestOutProto.Result = .unset + + public var pageOffset: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum RouteBadgeType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case routeBadgeUnset // = 0 - case routeBadgeBronze // = 1 - case routeBadgeSilver // = 2 - case routeBadgeGold // = 3 + case unset // = 0 + case success // = 1 + case page // = 2 + case retry // = 3 case UNRECOGNIZED(Int) public init() { - self = .routeBadgeUnset + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .routeBadgeUnset - case 1: self = .routeBadgeBronze - case 2: self = .routeBadgeSilver - case 3: self = .routeBadgeGold + case 0: self = .unset + case 1: self = .success + case 2: self = .page + case 3: self = .retry default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .routeBadgeUnset: return 0 - case .routeBadgeBronze: return 1 - case .routeBadgeSilver: return 2 - case .routeBadgeGold: return 3 + case .unset: return 0 + case .success: return 1 + case .page: return 2 + case .retry: return 3 case .UNRECOGNIZED(let i): return i } } } - public struct RouteBadgeWaypoint { - // 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. - - public var fortName: String = String() - - public var imageURL: String = String() - - public var lastEarnedStamp: RouteStamp { - get {return _lastEarnedStamp ?? RouteStamp()} - set {_lastEarnedStamp = newValue} - } - /// Returns true if `lastEarnedStamp` has been explicitly set. - public var hasLastEarnedStamp: Bool {return self._lastEarnedStamp != nil} - /// Clears the value of `lastEarnedStamp`. Subsequent reads from it will return its default value. - public mutating func clearLastEarnedStamp() {self._lastEarnedStamp = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _lastEarnedStamp: RouteStamp? = nil - } - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension AwardedRouteBadge.RouteBadgeType: CaseIterable { +extension AssetDigestOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [AwardedRouteBadge.RouteBadgeType] = [ - .routeBadgeUnset, - .routeBadgeBronze, - .routeBadgeSilver, - .routeBadgeGold, + public static var allCases: [AssetDigestOutProto.Result] = [ + .unset, + .success, + .page, + .retry, ] } #endif // swift(>=4.2) -public struct AwardedRouteStamp { +public struct AssetDigestRequestProto { // 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. - public var routeStamp: RouteStamp { - get {return _routeStamp ?? RouteStamp()} - set {_routeStamp = newValue} - } - /// Returns true if `routeStamp` has been explicitly set. - public var hasRouteStamp: Bool {return self._routeStamp != nil} - /// Clears the value of `routeStamp`. Subsequent reads from it will return its default value. - public mutating func clearRouteStamp() {self._routeStamp = nil} + public var platform: Platform = .unset - public var acquireTimeMs: Int64 = 0 + public var deviceManufacturer: String = String() - public var routeID: String = String() + public var deviceModel: String = String() - public var fortID: String = String() + public var locale: String = String() - public var stampID: String = String() + public var appVersion: UInt32 = 0 + + public var paginate: Bool = false + + public var pageOffset: Int32 = 0 + + public var pageTimestamp: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _routeStamp: RouteStamp? = nil } -public struct AwardedRouteStamps { +public struct AssetPoiDownloadTelemetry { // 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. - public var rewards: [AwardedRouteStamp] = [] + public var assetEventID: AssetTelemetryIds = .undefinedAssetEvent + + public var fortID: String = String() + + public var size: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BackgroundModeClientSettingsProto { +public struct AssetRefreshProto { // 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. - public var maximumSampleAgeMs: Int64 = 0 - - public var acceptManualFitnessSamples: Bool = false - - public var minimumLocationAccuracyMeters: Double = 0 - - public var backgroundWakeUpIntervalMinutes: Int32 = 0 - - public var maxUploadSizeInBytes: Int32 = 0 - - public var minEnclosingGeofenceRadiusM: Double = 0 - - public var backgroundTokenRefreshIntervalS: Int64 = 0 - - public var maxSessionDurationM: Int32 = 0 - - public var minDistanceDeltaM: Int32 = 0 - - public var minUpdateIntervalS: Int32 = 0 - - public var minSessionReportingIntervalS: Int32 = 0 - - public var minPersistentReportingIntervalS: Int32 = 0 - - public var enableProgressRequest: Bool = false - - public var enableForegroundNotification: Bool = false - - public var proximitySettings: BackgroundModeClientSettingsProto.ProximitySettingsProto { - get {return _proximitySettings ?? BackgroundModeClientSettingsProto.ProximitySettingsProto()} - set {_proximitySettings = newValue} - } - /// Returns true if `proximitySettings` has been explicitly set. - public var hasProximitySettings: Bool {return self._proximitySettings != nil} - /// Clears the value of `proximitySettings`. Subsequent reads from it will return its default value. - public mutating func clearProximitySettings() {self._proximitySettings = nil} + public var stringRefreshSeconds: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct ProximitySettingsProto { - // 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. + public init() {} +} - public var maximumContactAgeMs: Int64 = 0 +public struct AssetRefreshTelemetry { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var timestamp: UInt64 = 0 - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _proximitySettings: BackgroundModeClientSettingsProto.ProximitySettingsProto? = nil } -public struct BackgroundModeGlobalSettingsProto { +public struct AssetStreamCacheCulledTelemetry { // 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. - public var minPlayerLevelFitness: UInt32 = 0 + public var assetEventID: AssetTelemetryIds = .undefinedAssetEvent - public var servicePromptTimestampMs: Int64 = 0 + public var spaceReleased: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BackgroundModeSettingsProto { +public struct AssetStreamDownloadTelemetry { // 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. - public var weeklyFitnessGoalLevel1DistanceKm: Double = 0 - - public var weeklyFitnessGoalLevel2DistanceKm: Double = 0 - - public var weeklyFitnessGoalLevel3DistanceKm: Double = 0 + public var assetEventID: AssetTelemetryIds = .undefinedAssetEvent - public var weeklyFitnessGoalLevel4DistanceKm: Double = 0 + public var url: String = String() - public var weeklyFitnessGoalLevel5DistanceKm: Double = 0 + public var size: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BackgroundToken { +public struct AssetVersionOutProto { // 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. - public var token: Data = Data() + public var response: [AssetVersionOutProto.AssetVersionResponseProto] = [] - public var expirationTime: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var iv: Data = Data() + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case error // = 1 + case valid // = 2 + case expired // = 3 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .unset + } - public init() {} -} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .error + case 2: self = .valid + case 3: self = .expired + default: self = .UNRECOGNIZED(rawValue) + } + } -public struct BadgeCaptureReward { - // 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. + public var rawValue: Int { + switch self { + case .unset: return 0 + case .error: return 1 + case .valid: return 2 + case .expired: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var captureRewardMultiplier: Float = 0 + } - public var avatarTemplateIds: [String] = [] + public struct AssetVersionResponseProto { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var result: AssetVersionOutProto.Result = .unset + + public var digest: AssetDigestEntryProto { + get {return _digest ?? AssetDigestEntryProto()} + set {_digest = newValue} + } + /// Returns true if `digest` has been explicitly set. + public var hasDigest: Bool {return self._digest != nil} + /// Clears the value of `digest`. Subsequent reads from it will return its default value. + public mutating func clearDigest() {self._digest = nil} + + public var url: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _digest: AssetDigestEntryProto? = nil + } public init() {} } -public struct BadgeData { +#if swift(>=4.2) + +extension AssetVersionOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AssetVersionOutProto.Result] = [ + .unset, + .error, + .valid, + .expired, + ] +} + +#endif // swift(>=4.2) + +public struct AssetVersionProto { // 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. - public var data: BadgeData.OneOf_Data? = nil + public var appVersion: UInt32 = 0 - public var miniCollection: MiniCollectionBadgeData { - get { - if case .miniCollection(let v)? = data {return v} - return MiniCollectionBadgeData() - } - set {data = .miniCollection(newValue)} - } + public var request: [AssetVersionProto.AssetVersionRequestProto] = [] - public var butterflyCollectorData: ButterflyCollectorBadgeData { - get { - if case .butterflyCollectorData(let v)? = data {return v} - return ButterflyCollectorBadgeData() - } - set {data = .butterflyCollectorData(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var contestData: ContestBadgeData { - get { - if case .contestData(let v)? = data {return v} - return ContestBadgeData() - } - set {data = .contestData(newValue)} - } + public struct AssetVersionRequestProto { + // 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. - public var badge: HoloBadgeType = .badgeUnset + public var assetID: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var checksum: UInt32 = 0 - public enum OneOf_Data: Equatable { - case miniCollection(MiniCollectionBadgeData) - case butterflyCollectorData(ButterflyCollectorBadgeData) - case contestData(ContestBadgeData) + public var unknownFields = SwiftProtobuf.UnknownStorage() - #if !swift(>=4.1) - public static func ==(lhs: BadgeData.OneOf_Data, rhs: BadgeData.OneOf_Data) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.miniCollection, .miniCollection): return { - guard case .miniCollection(let l) = lhs, case .miniCollection(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.butterflyCollectorData, .butterflyCollectorData): return { - guard case .butterflyCollectorData(let l) = lhs, case .butterflyCollectorData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.contestData, .contestData): return { - guard case .contestData(let l) = lhs, case .contestData(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif + public init() {} } public init() {} } -public struct BadgeSettingsProto { +public struct AttackGymOutProto { // 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. - public var badgeType: HoloBadgeType = .badgeUnset + public var result: AttackGymOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} + } - public var badgeRank: Int32 = 0 + public var battleLog: BattleLogProto { + get {return _storage._battleLog ?? BattleLogProto()} + set {_uniqueStorage()._battleLog = newValue} + } + /// Returns true if `battleLog` has been explicitly set. + public var hasBattleLog: Bool {return _storage._battleLog != nil} + /// Clears the value of `battleLog`. Subsequent reads from it will return its default value. + public mutating func clearBattleLog() {_uniqueStorage()._battleLog = nil} - public var targets: [Int32] = [] + public var battleID: String { + get {return _storage._battleID} + set {_uniqueStorage()._battleID = newValue} + } - public var captureReward: [BadgeCaptureReward] = [] + public var activeDefender: PokemonInfo { + get {return _storage._activeDefender ?? PokemonInfo()} + set {_uniqueStorage()._activeDefender = newValue} + } + /// Returns true if `activeDefender` has been explicitly set. + public var hasActiveDefender: Bool {return _storage._activeDefender != nil} + /// Clears the value of `activeDefender`. Subsequent reads from it will return its default value. + public mutating func clearActiveDefender() {_uniqueStorage()._activeDefender = nil} - public var eventBadge: Bool = false + public var activeAttacker: PokemonInfo { + get {return _storage._activeAttacker ?? PokemonInfo()} + set {_uniqueStorage()._activeAttacker = newValue} + } + /// Returns true if `activeAttacker` has been explicitly set. + public var hasActiveAttacker: Bool {return _storage._activeAttacker != nil} + /// Clears the value of `activeAttacker`. Subsequent reads from it will return its default value. + public mutating func clearActiveAttacker() {_uniqueStorage()._activeAttacker = nil} - public var eventBadgeSettings: EventBadgeSettingsProto { - get {return _eventBadgeSettings ?? EventBadgeSettingsProto()} - set {_eventBadgeSettings = newValue} + public var battleUpdate: BattleUpdateProto { + get {return _storage._battleUpdate ?? BattleUpdateProto()} + set {_uniqueStorage()._battleUpdate = newValue} } - /// Returns true if `eventBadgeSettings` has been explicitly set. - public var hasEventBadgeSettings: Bool {return self._eventBadgeSettings != nil} - /// Clears the value of `eventBadgeSettings`. Subsequent reads from it will return its default value. - public mutating func clearEventBadgeSettings() {self._eventBadgeSettings = nil} + /// Returns true if `battleUpdate` has been explicitly set. + public var hasBattleUpdate: Bool {return _storage._battleUpdate != nil} + /// Clears the value of `battleUpdate`. Subsequent reads from it will return its default value. + public mutating func clearBattleUpdate() {_uniqueStorage()._battleUpdate = nil} - public var combatLeagueTemplateID: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var useStatAsMedalLevel: Bool = false + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidAttackActions // = 2 + case errorNotInRange // = 3 + case UNRECOGNIZED(Int) - public var obInt32: Int32 = 0 + public init() { + self = .unset + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidAttackActions + case 3: self = .errorNotInRange + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidAttackActions: return 2 + case .errorNotInRange: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } public init() {} - fileprivate var _eventBadgeSettings: EventBadgeSettingsProto? = nil + fileprivate var _storage = _StorageClass.defaultInstance } -public struct BattleActionProto { +#if swift(>=4.2) + +extension AttackGymOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AttackGymOutProto.Result] = [ + .unset, + .success, + .errorInvalidAttackActions, + .errorNotInRange, + ] +} + +#endif // swift(>=4.2) + +public struct AttackGymProto { // 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. - public var type: BattleActionProto.ActionType { - get {return _storage._type} - set {_uniqueStorage()._type = newValue} - } - - public var actionStartMs: Int64 { - get {return _storage._actionStartMs} - set {_uniqueStorage()._actionStartMs = newValue} - } - - public var durationMs: Int32 { - get {return _storage._durationMs} - set {_uniqueStorage()._durationMs = newValue} - } + public var gymID: String = String() - public var energyDelta: Int32 { - get {return _storage._energyDelta} - set {_uniqueStorage()._energyDelta = newValue} - } + public var battleID: String = String() - public var attackerIndex: Int32 { - get {return _storage._attackerIndex} - set {_uniqueStorage()._attackerIndex = newValue} - } + public var attackerActions: [BattleActionProto] = [] - public var targetIndex: Int32 { - get {return _storage._targetIndex} - set {_uniqueStorage()._targetIndex = newValue} + public var lastRetrievedAction: BattleActionProto { + get {return _lastRetrievedAction ?? BattleActionProto()} + set {_lastRetrievedAction = newValue} } + /// Returns true if `lastRetrievedAction` has been explicitly set. + public var hasLastRetrievedAction: Bool {return self._lastRetrievedAction != nil} + /// Clears the value of `lastRetrievedAction`. Subsequent reads from it will return its default value. + public mutating func clearLastRetrievedAction() {self._lastRetrievedAction = nil} - public var activePokemonID: UInt64 { - get {return _storage._activePokemonID} - set {_uniqueStorage()._activePokemonID = newValue} - } + public var playerLatDegrees: Double = 0 - public var joinedPlayer: BattleParticipantProto { - get {return _storage._joinedPlayer ?? BattleParticipantProto()} - set {_uniqueStorage()._joinedPlayer = newValue} - } - /// Returns true if `joinedPlayer` has been explicitly set. - public var hasJoinedPlayer: Bool {return _storage._joinedPlayer != nil} - /// Clears the value of `joinedPlayer`. Subsequent reads from it will return its default value. - public mutating func clearJoinedPlayer() {_uniqueStorage()._joinedPlayer = nil} + public var playerLngDegrees: Double = 0 - public var battleResults: BattleResultsProto { - get {return _storage._battleResults ?? BattleResultsProto()} - set {_uniqueStorage()._battleResults = newValue} - } - /// Returns true if `battleResults` has been explicitly set. - public var hasBattleResults: Bool {return _storage._battleResults != nil} - /// Clears the value of `battleResults`. Subsequent reads from it will return its default value. - public mutating func clearBattleResults() {_uniqueStorage()._battleResults = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var damageWindowStartMs: Int64 { - get {return _storage._damageWindowStartMs} - set {_uniqueStorage()._damageWindowStartMs = newValue} - } + public init() {} - public var damageWindowEndMs: Int64 { - get {return _storage._damageWindowEndMs} - set {_uniqueStorage()._damageWindowEndMs = newValue} - } + fileprivate var _lastRetrievedAction: BattleActionProto? = nil +} - public var quitPlayer: BattleParticipantProto { - get {return _storage._quitPlayer ?? BattleParticipantProto()} - set {_uniqueStorage()._quitPlayer = newValue} - } - /// Returns true if `quitPlayer` has been explicitly set. - public var hasQuitPlayer: Bool {return _storage._quitPlayer != nil} - /// Clears the value of `quitPlayer`. Subsequent reads from it will return its default value. - public mutating func clearQuitPlayer() {_uniqueStorage()._quitPlayer = nil} +public struct AttackRaidBattleOutProto { + // 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. - public var targetPokemonID: UInt64 { - get {return _storage._targetPokemonID} - set {_uniqueStorage()._targetPokemonID = newValue} + public var result: AttackRaidBattleOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} } - public var leveledUpFriends: LeveledUpFriendsProto { - get {return _storage._leveledUpFriends ?? LeveledUpFriendsProto()} - set {_uniqueStorage()._leveledUpFriends = newValue} + public var battleUpdate: BattleUpdateProto { + get {return _storage._battleUpdate ?? BattleUpdateProto()} + set {_uniqueStorage()._battleUpdate = newValue} } - /// Returns true if `leveledUpFriends` has been explicitly set. - public var hasLeveledUpFriends: Bool {return _storage._leveledUpFriends != nil} - /// Clears the value of `leveledUpFriends`. Subsequent reads from it will return its default value. - public mutating func clearLeveledUpFriends() {_uniqueStorage()._leveledUpFriends = nil} + /// Returns true if `battleUpdate` has been explicitly set. + public var hasBattleUpdate: Bool {return _storage._battleUpdate != nil} + /// Clears the value of `battleUpdate`. Subsequent reads from it will return its default value. + public mutating func clearBattleUpdate() {_uniqueStorage()._battleUpdate = nil} - public var item: [Item] { - get {return _storage._item} - set {_uniqueStorage()._item = newValue} + public var sponsoredGift: AdDetails { + get {return _storage._sponsoredGift ?? AdDetails()} + set {_uniqueStorage()._sponsoredGift = newValue} } + /// Returns true if `sponsoredGift` has been explicitly set. + public var hasSponsoredGift: Bool {return _storage._sponsoredGift != nil} + /// Clears the value of `sponsoredGift`. Subsequent reads from it will return its default value. + public mutating func clearSponsoredGift() {_uniqueStorage()._sponsoredGift = nil} - public var trainerAbility: TrainerAbility { - get {return _storage._trainerAbility} - set {_uniqueStorage()._trainerAbility = newValue} + public var ad: AdProto { + get {return _storage._ad ?? AdProto()} + set {_uniqueStorage()._ad = newValue} } + /// Returns true if `ad` has been explicitly set. + public var hasAd: Bool {return _storage._ad != nil} + /// Clears the value of `ad`. Subsequent reads from it will return its default value. + public mutating func clearAd() {_uniqueStorage()._ad = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ActionType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case attack // = 1 - case dodge // = 2 - case specialAttack // = 3 - case swapPokemon // = 4 - case faint // = 5 - case playerJoin // = 6 - case playerQuit // = 7 - case victory // = 8 - case defeat // = 9 - case timedOut // = 10 - case specialAttack2 // = 11 - case useItem // = 12 - case displayChange // = 13 - case activateAbility // = 14 + case success // = 1 + case errorGymNotFound // = 2 + case errorBattleNotFound // = 3 + case errorInvalidAttackActions // = 4 + case errorNotPartOfBattle // = 5 + case errorBattleIDNotRaid // = 6 case UNRECOGNIZED(Int) public init() { @@ -38291,20 +39347,12 @@ public struct BattleActionProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .attack - case 2: self = .dodge - case 3: self = .specialAttack - case 4: self = .swapPokemon - case 5: self = .faint - case 6: self = .playerJoin - case 7: self = .playerQuit - case 8: self = .victory - case 9: self = .defeat - case 10: self = .timedOut - case 11: self = .specialAttack2 - case 12: self = .useItem - case 13: self = .displayChange - case 14: self = .activateAbility + case 1: self = .success + case 2: self = .errorGymNotFound + case 3: self = .errorBattleNotFound + case 4: self = .errorInvalidAttackActions + case 5: self = .errorNotPartOfBattle + case 6: self = .errorBattleIDNotRaid default: self = .UNRECOGNIZED(rawValue) } } @@ -38312,20 +39360,12 @@ public struct BattleActionProto { public var rawValue: Int { switch self { case .unset: return 0 - case .attack: return 1 - case .dodge: return 2 - case .specialAttack: return 3 - case .swapPokemon: return 4 - case .faint: return 5 - case .playerJoin: return 6 - case .playerQuit: return 7 - case .victory: return 8 - case .defeat: return 9 - case .timedOut: return 10 - case .specialAttack2: return 11 - case .useItem: return 12 - case .displayChange: return 13 - case .activateAbility: return 14 + case .success: return 1 + case .errorGymNotFound: return 2 + case .errorBattleNotFound: return 3 + case .errorInvalidAttackActions: return 4 + case .errorNotPartOfBattle: return 5 + case .errorBattleIDNotRaid: return 6 case .UNRECOGNIZED(let i): return i } } @@ -38339,159 +39379,185 @@ public struct BattleActionProto { #if swift(>=4.2) -extension BattleActionProto.ActionType: CaseIterable { +extension AttackRaidBattleOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BattleActionProto.ActionType] = [ + public static var allCases: [AttackRaidBattleOutProto.Result] = [ .unset, - .attack, - .dodge, - .specialAttack, - .swapPokemon, - .faint, - .playerJoin, - .playerQuit, - .victory, - .defeat, - .timedOut, - .specialAttack2, - .useItem, - .displayChange, - .activateAbility, + .success, + .errorGymNotFound, + .errorBattleNotFound, + .errorInvalidAttackActions, + .errorNotPartOfBattle, + .errorBattleIDNotRaid, ] } #endif // swift(>=4.2) -public struct BattleAttributesProto { +public struct AttackRaidBattleProto { // 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. - public var staPercent: Float = 0 + public var gymID: String = String() - public var atkPercent: Float = 0 + public var battleID: String = String() - public var defPercent: Float = 0 + public var attackerActions: [BattleActionProto] = [] - public var durationS: Float = 0 + public var lastRetrievedAction: BattleActionProto { + get {return _lastRetrievedAction ?? BattleActionProto()} + set {_lastRetrievedAction = newValue} + } + /// Returns true if `lastRetrievedAction` has been explicitly set. + public var hasLastRetrievedAction: Bool {return self._lastRetrievedAction != nil} + /// Clears the value of `lastRetrievedAction`. Subsequent reads from it will return its default value. + public mutating func clearLastRetrievedAction() {self._lastRetrievedAction = nil} + + public var timestampMs: Int64 = 0 + + public var adTargetingInfo: AdTargetingInfoProto { + get {return _adTargetingInfo ?? AdTargetingInfoProto()} + set {_adTargetingInfo = newValue} + } + /// Returns true if `adTargetingInfo` has been explicitly set. + public var hasAdTargetingInfo: Bool {return self._adTargetingInfo != nil} + /// Clears the value of `adTargetingInfo`. Subsequent reads from it will return its default value. + public mutating func clearAdTargetingInfo() {self._adTargetingInfo = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _lastRetrievedAction: BattleActionProto? = nil + fileprivate var _adTargetingInfo: AdTargetingInfoProto? = nil } -public struct BattleHubBadgeSettings { +public struct AttackRaidData { // 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. - public var combatHubDisplayedBadges: [HoloBadgeType] = [] + public var attackerActions: [BattleActionProtoLog] = [] + + public var lastRetrievedAction: BattleActionProtoLog { + get {return _lastRetrievedAction ?? BattleActionProtoLog()} + set {_lastRetrievedAction = newValue} + } + /// Returns true if `lastRetrievedAction` has been explicitly set. + public var hasLastRetrievedAction: Bool {return self._lastRetrievedAction != nil} + /// Clears the value of `lastRetrievedAction`. Subsequent reads from it will return its default value. + public mutating func clearLastRetrievedAction() {self._lastRetrievedAction = nil} + + public var timestampOffsetMs: UInt32 = 0 + + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _lastRetrievedAction: BattleActionProtoLog? = nil } -public struct BattleHubOrderSettings { +public struct AttackRaidResponseData { // 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. - public var section: [BattleHubOrderSettings.SectionSettings] = [] - - public var sectionGroup: [BattleHubOrderSettings.SectionGroup] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct SectionGroup { - // 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. + public var result: AttackRaidBattleOutProto.Result = .unset - public var section: [BattleHubSection] = [] + public var state: BattleLogProto.State = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var serverOffsetMs: UInt32 = 0 - public init() {} - } + public var battleActions: [BattleActionProtoLog] = [] - public struct SectionSettings { - // 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. + public var battleStartOffsetMs: UInt32 = 0 - public var mainSection: BattleHubSection = .sectionUnset + public var battleEndOffsetMs: UInt32 = 0 - public var subsection: [BattleHubSubsection] = [] + public var rpcID: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var roundTripTimeMs: UInt32 = 0 - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BattleLogProto { +public struct AttractedPokemonClientProto { // 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. - public var state: BattleLogProto.State = .unset + public var context: AttractedPokemonContext = .attractedPokemonUnset - public var battleType: BattleLogProto.BattleType = .unset + public var pokemonTypeID: HoloPokemonId = .missingno - public var serverMs: Int64 = 0 + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public var battleActions: [BattleActionProto] = [] + public var lat: Double = 0 - public var battleStartMs: Int64 = 0 + public var lng: Double = 0 - public var battleEndMs: Int64 = 0 + public var encounterLocation: String = String() + + public var encounterID: UInt64 = 0 + + public var disappearTimeMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum BattleType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case normal // = 1 - case training // = 2 - case raid // = 3 - case UNRECOGNIZED(Int) + public init() {} - public init() { - self = .unset - } + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .normal - case 2: self = .training - case 3: self = .raid - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct AttractedPokemonEncounterOutProto { + // 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. - public var rawValue: Int { - switch self { - case .unset: return 0 - case .normal: return 1 - case .training: return 2 - case .raid: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var result: AttractedPokemonEncounterOutProto.Result = .unset + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public enum State: SwiftProtobuf.Enum { + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var arplusAttemptsUntilFlee: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case active // = 1 - case victory // = 2 - case defeated // = 3 - case timedOut // = 4 + case success // = 1 + case errorEncounterNotAvailable // = 2 + case errorPokemonInventoryFull // = 3 case UNRECOGNIZED(Int) public init() { @@ -38501,10 +39567,9 @@ public struct BattleLogProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .active - case 2: self = .victory - case 3: self = .defeated - case 4: self = .timedOut + case 1: self = .success + case 2: self = .errorEncounterNotAvailable + case 3: self = .errorPokemonInventoryFull default: self = .UNRECOGNIZED(rawValue) } } @@ -38512,10 +39577,9 @@ public struct BattleLogProto { public var rawValue: Int { switch self { case .unset: return 0 - case .active: return 1 - case .victory: return 2 - case .defeated: return 3 - case .timedOut: return 4 + case .success: return 1 + case .errorEncounterNotAvailable: return 2 + case .errorPokemonInventoryFull: return 3 case .UNRECOGNIZED(let i): return i } } @@ -38523,734 +39587,751 @@ public struct BattleLogProto { } public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension BattleLogProto.BattleType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BattleLogProto.BattleType] = [ - .unset, - .normal, - .training, - .raid, - ] -} - -extension BattleLogProto.State: CaseIterable { +extension AttractedPokemonEncounterOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BattleLogProto.State] = [ + public static var allCases: [AttractedPokemonEncounterOutProto.Result] = [ .unset, - .active, - .victory, - .defeated, - .timedOut, + .success, + .errorEncounterNotAvailable, + .errorPokemonInventoryFull, ] } #endif // swift(>=4.2) -public struct BattleParticipantProto { +public struct AttractedPokemonEncounterProto { // 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. - public var activePokemon: PokemonInfo { - get {return _storage._activePokemon ?? PokemonInfo()} - set {_uniqueStorage()._activePokemon = newValue} - } - /// Returns true if `activePokemon` has been explicitly set. - public var hasActivePokemon: Bool {return _storage._activePokemon != nil} - /// Clears the value of `activePokemon`. Subsequent reads from it will return its default value. - public mutating func clearActivePokemon() {_uniqueStorage()._activePokemon = nil} - - public var trainerPublicProfile: PlayerPublicProfileProto { - get {return _storage._trainerPublicProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._trainerPublicProfile = newValue} - } - /// Returns true if `trainerPublicProfile` has been explicitly set. - public var hasTrainerPublicProfile: Bool {return _storage._trainerPublicProfile != nil} - /// Clears the value of `trainerPublicProfile`. Subsequent reads from it will return its default value. - public mutating func clearTrainerPublicProfile() {_uniqueStorage()._trainerPublicProfile = nil} - - public var reservePokemon: [PokemonInfo] { - get {return _storage._reservePokemon} - set {_uniqueStorage()._reservePokemon = newValue} - } - - public var defeatedPokemon: [PokemonInfo] { - get {return _storage._defeatedPokemon} - set {_uniqueStorage()._defeatedPokemon = newValue} - } - - public var lobbyPokemon: [LobbyPokemonProto] { - get {return _storage._lobbyPokemon} - set {_uniqueStorage()._lobbyPokemon = newValue} - } - - public var damageDealt: Int32 { - get {return _storage._damageDealt} - set {_uniqueStorage()._damageDealt = newValue} - } - - public var superEffectiveChargeMove: Bool { - get {return _storage._superEffectiveChargeMove} - set {_uniqueStorage()._superEffectiveChargeMove = newValue} - } - - public var weatherBoosted: Bool { - get {return _storage._weatherBoosted} - set {_uniqueStorage()._weatherBoosted = newValue} - } - - public var highestFriendshipMilestone: FriendshipLevelMilestone { - get {return _storage._highestFriendshipMilestone} - set {_uniqueStorage()._highestFriendshipMilestone = newValue} - } + public var encounterID: Int64 = 0 - public var friendCodename: [String] { - get {return _storage._friendCodename} - set {_uniqueStorage()._friendCodename = newValue} - } + public var encounterLocation: String = String() - public var isRemote: Bool { - get {return _storage._isRemote} - set {_uniqueStorage()._isRemote = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var isSocialInvite: Bool { - get {return _storage._isSocialInvite} - set {_uniqueStorage()._isSocialInvite = newValue} - } + public init() {} +} - public var hasActiveMegaEvolvedPokemon_p: Bool { - get {return _storage._hasActiveMegaEvolvedPokemon_p} - set {_uniqueStorage()._hasActiveMegaEvolvedPokemon_p = newValue} - } +public struct AuthBackgroundToken { + // 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. - public var lobbyJoinTimeMs: Int64 { - get {return _storage._lobbyJoinTimeMs} - set {_uniqueStorage()._lobbyJoinTimeMs = newValue} - } + public var token: Data = Data() - public var superEffectiveChargeAttacksUsed: Int32 { - get {return _storage._superEffectiveChargeAttacksUsed} - set {_uniqueStorage()._superEffectiveChargeAttacksUsed = newValue} - } + public var expirationTime: Int64 = 0 - public var pokemonSurvival: PokemonSurvivalTimeInfo { - get {return _storage._pokemonSurvival ?? PokemonSurvivalTimeInfo()} - set {_uniqueStorage()._pokemonSurvival = newValue} - } - /// Returns true if `pokemonSurvival` has been explicitly set. - public var hasPokemonSurvival: Bool {return _storage._pokemonSurvival != nil} - /// Clears the value of `pokemonSurvival`. Subsequent reads from it will return its default value. - public mutating func clearPokemonSurvival() {_uniqueStorage()._pokemonSurvival = nil} + public var iv: Data = Data() - public var battleMegaPokemonID: UInt64 { - get {return _storage._battleMegaPokemonID} - set {_uniqueStorage()._battleMegaPokemonID = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var tallPokemonID: UInt64 { - get {return _storage._tallPokemonID} - set {_uniqueStorage()._tallPokemonID = newValue} - } + public init() {} +} - public var numberOfChargeAttacksUsed: Int32 { - get {return _storage._numberOfChargeAttacksUsed} - set {_uniqueStorage()._numberOfChargeAttacksUsed = newValue} - } +public struct AuthRegisterBackgroundDeviceActionProto { + // 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. - public var lastPlayerJoinTimeMs: Int64 { - get {return _storage._lastPlayerJoinTimeMs} - set {_uniqueStorage()._lastPlayerJoinTimeMs = newValue} - } + public var deviceType: String = String() - public var lastPlayerQuitTimeMs: Int64 { - get {return _storage._lastPlayerQuitTimeMs} - set {_uniqueStorage()._lastPlayerQuitTimeMs = newValue} - } + public var deviceID: String = String() - public var playerID: String { - get {return _storage._playerID} - set {_uniqueStorage()._playerID = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var referencedPokemon: [PokemonInfo] { - get {return _storage._referencedPokemon} - set {_uniqueStorage()._referencedPokemon = newValue} - } + public init() {} +} - public var joinBuddyPokemonID: UInt64 { - get {return _storage._joinBuddyPokemonID} - set {_uniqueStorage()._joinBuddyPokemonID = newValue} - } +public struct AuthRegisterBackgroundDeviceResponseProto { + // 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. - public var battleBuddyPokemonID: UInt64 { - get {return _storage._battleBuddyPokemonID} - set {_uniqueStorage()._battleBuddyPokemonID = newValue} - } + public var status: AuthRegisterBackgroundDeviceResponseProto.Status = .unset - public var remoteFriends: Int32 { - get {return _storage._remoteFriends} - set {_uniqueStorage()._remoteFriends = newValue} + public var token: AuthBackgroundToken { + get {return _token ?? AuthBackgroundToken()} + set {_token = newValue} } + /// Returns true if `token` has been explicitly set. + public var hasToken: Bool {return self._token != nil} + /// Clears the value of `token`. Subsequent reads from it will return its default value. + public mutating func clearToken() {self._token = nil} - public var localFriends: Int32 { - get {return _storage._localFriends} - set {_uniqueStorage()._localFriends = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var lastUpdateTimeMs: Int64 { - get {return _storage._lastUpdateTimeMs} - set {_uniqueStorage()._lastUpdateTimeMs = newValue} - } + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case UNRECOGNIZED(Int) - public var bootRaidState: Bool { - get {return _storage._bootRaidState} - set {_uniqueStorage()._bootRaidState = newValue} - } + public init() { + self = .unset + } - public var enabledRaidFriendRequests: Bool { - get {return _storage._enabledRaidFriendRequests} - set {_uniqueStorage()._enabledRaidFriendRequests = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } - public var notableActionHistory: [VsActionHistory] { - get {return _storage._notableActionHistory} - set {_uniqueStorage()._notableActionHistory = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var activePokemonStatModifiers: Dictionary { - get {return _storage._activePokemonStatModifiers} - set {_uniqueStorage()._activePokemonStatModifiers = newValue} } - public var abilityEnergy: Dictionary { - get {return _storage._abilityEnergy} - set {_uniqueStorage()._abilityEnergy = newValue} - } + public init() {} - public var unknownFields = SwiftProtobuf.UnknownStorage() + fileprivate var _token: AuthBackgroundToken? = nil +} - public init() {} +#if swift(>=4.2) - fileprivate var _storage = _StorageClass.defaultInstance +extension AuthRegisterBackgroundDeviceResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AuthRegisterBackgroundDeviceResponseProto.Status] = [ + .unset, + .success, + .error, + ] } -public struct BattlePartiesProto { +#endif // swift(>=4.2) + +public struct AuthenticateAppleSignInRequestProto { // 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. - public var battleParties: [BattlePartyProto] = [] + public var appleIDToken: Data = Data() + + public var authCode: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BattlePartyProto { +public struct AuthenticateAppleSignInResponseProto { // 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. - public var name: String = String() - - public var teamNumber: Int32 = 0 - - public var ids: [UInt64] = [] + public var status: AuthenticateAppleSignInResponseProto.Status = .unset - public var combatLeagueID: String = String() + public var niaAppleAuthToken: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct BattlePartySettingsProto { - // 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. + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case invalidAuth // = 2 + case serverError // = 3 + case UNRECOGNIZED(Int) - public var enableBattlePartySaving: Bool = false + public init() { + self = .unset + } - public var maxBattleParties: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .invalidAuth + case 3: self = .serverError + default: self = .UNRECOGNIZED(rawValue) + } + } - public var overallPartiesCap: Int32 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .invalidAuth: return 2 + case .serverError: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var obInt32BattlePartySettings1: Int32 = 0 + } - public var obInt32BattlePartySettings2: Int32 = 0 + public init() {} +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension AuthenticateAppleSignInResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AuthenticateAppleSignInResponseProto.Status] = [ + .unset, + .success, + .invalidAuth, + .serverError, + ] } -public struct BattlePartyTelemetry { +#endif // swift(>=4.2) + +public struct AvatarArticleProto { // 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. - public var battlePartyClickID: BattlePartyTelemetryIds = .undefinedBattlePartyEvent + public var articleID: String = String() - public var battlePartyCount: Int32 = 0 + public var color: Int32 = 0 - public var battlePartyNumber: Int32 = 0 + public var slotID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BattleProto { +public struct AvatarCustomizationProto { // 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. - public var battleStartMs: Int64 = 0 - - public var battleEndMs: Int64 = 0 - - public var battleID: String = String() + public var enabled: Bool { + get {return _storage._enabled} + set {_uniqueStorage()._enabled = newValue} + } - public var defender: BattleParticipantProto { - get {return _defender ?? BattleParticipantProto()} - set {_defender = newValue} + public var avatarType: PlayerAvatarType { + get {return _storage._avatarType} + set {_uniqueStorage()._avatarType = newValue} } - /// Returns true if `defender` has been explicitly set. - public var hasDefender: Bool {return self._defender != nil} - /// Clears the value of `defender`. Subsequent reads from it will return its default value. - public mutating func clearDefender() {self._defender = nil} - public var battleLog: BattleLogProto { - get {return _battleLog ?? BattleLogProto()} - set {_battleLog = newValue} + public var slot: [AvatarCustomizationProto.Slot] { + get {return _storage._slot} + set {_uniqueStorage()._slot = newValue} } - /// Returns true if `battleLog` has been explicitly set. - public var hasBattleLog: Bool {return self._battleLog != nil} - /// Clears the value of `battleLog`. Subsequent reads from it will return its default value. - public mutating func clearBattleLog() {self._battleLog = nil} - public var attacker: BattleParticipantProto { - get {return _attacker ?? BattleParticipantProto()} - set {_attacker = newValue} + public var bundleName: String { + get {return _storage._bundleName} + set {_uniqueStorage()._bundleName = newValue} } - /// Returns true if `attacker` has been explicitly set. - public var hasAttacker: Bool {return self._attacker != nil} - /// Clears the value of `attacker`. Subsequent reads from it will return its default value. - public mutating func clearAttacker() {self._attacker = nil} - public var weatherCondition: GameplayWeatherProto.WeatherCondition = .none + public var assetName: String { + get {return _storage._assetName} + set {_uniqueStorage()._assetName = newValue} + } - public var highestFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + public var groupName: String { + get {return _storage._groupName} + set {_uniqueStorage()._groupName = newValue} + } - public var battleExperiment: [BattleExperiment] = [] + public var sortOrder: Int32 { + get {return _storage._sortOrder} + set {_uniqueStorage()._sortOrder = newValue} + } - public var abilityResultLocation: Dictionary = [:] + public var unlockType: AvatarCustomizationProto.AvatarCustomizationUnlockType { + get {return _storage._unlockType} + set {_uniqueStorage()._unlockType = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var promoType: [AvatarCustomizationProto.AvatarCustomizationPromoType] { + get {return _storage._promoType} + set {_uniqueStorage()._promoType = newValue} + } - public init() {} + public var unlockBadgeType: HoloBadgeType { + get {return _storage._unlockBadgeType} + set {_uniqueStorage()._unlockBadgeType = newValue} + } - fileprivate var _defender: BattleParticipantProto? = nil - fileprivate var _battleLog: BattleLogProto? = nil - fileprivate var _attacker: BattleParticipantProto? = nil -} - -public struct BattleQuestProto { - // 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. - - public var battleID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct BattleResultsProto { - // 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. - - public var gymState: GymStateProto { - get {return _storage._gymState ?? GymStateProto()} - set {_uniqueStorage()._gymState = newValue} - } - /// Returns true if `gymState` has been explicitly set. - public var hasGymState: Bool {return _storage._gymState != nil} - /// Clears the value of `gymState`. Subsequent reads from it will return its default value. - public mutating func clearGymState() {_uniqueStorage()._gymState = nil} - - public var attackers: [BattleParticipantProto] { - get {return _storage._attackers} - set {_uniqueStorage()._attackers = newValue} - } - - public var playerXpAwarded: [Int32] { - get {return _storage._playerXpAwarded} - set {_uniqueStorage()._playerXpAwarded = newValue} - } - - public var nextDefenderPokemonID: Int64 { - get {return _storage._nextDefenderPokemonID} - set {_uniqueStorage()._nextDefenderPokemonID = newValue} - } - - public var gymPointsDelta: Int32 { - get {return _storage._gymPointsDelta} - set {_uniqueStorage()._gymPointsDelta = newValue} - } - - public var gymStatus: GymStatusAndDefendersProto { - get {return _storage._gymStatus ?? GymStatusAndDefendersProto()} - set {_uniqueStorage()._gymStatus = newValue} - } - /// Returns true if `gymStatus` has been explicitly set. - public var hasGymStatus: Bool {return _storage._gymStatus != nil} - /// Clears the value of `gymStatus`. Subsequent reads from it will return its default value. - public mutating func clearGymStatus() {_uniqueStorage()._gymStatus = nil} - - public var participation: [ParticipationProto] { - get {return _storage._participation} - set {_uniqueStorage()._participation = newValue} - } - - public var raidItemRewards: [LootProto] { - get {return _storage._raidItemRewards} - set {_uniqueStorage()._raidItemRewards = newValue} + public var iapSku: String { + get {return _storage._iapSku} + set {_uniqueStorage()._iapSku = newValue} } - public var postRaidEncounter: [RaidEncounterProto] { - get {return _storage._postRaidEncounter} - set {_uniqueStorage()._postRaidEncounter = newValue} + public var unlockBadgeLevel: Int32 { + get {return _storage._unlockBadgeLevel} + set {_uniqueStorage()._unlockBadgeLevel = newValue} } - public var gymBadge: [AwardedGymBadge] { - get {return _storage._gymBadge} - set {_uniqueStorage()._gymBadge = newValue} + public var iconName: String { + get {return _storage._iconName} + set {_uniqueStorage()._iconName = newValue} } - public var defaultRaidItemRewards: [LootProto] { - get {return _storage._defaultRaidItemRewards} - set {_uniqueStorage()._defaultRaidItemRewards = newValue} + public var unlockPlayerLevel: Int32 { + get {return _storage._unlockPlayerLevel} + set {_uniqueStorage()._unlockPlayerLevel = newValue} } - public var battleDurationMs: Int64 { - get {return _storage._battleDurationMs} - set {_uniqueStorage()._battleDurationMs = newValue} + public var setName: String { + get {return _storage._setName} + set {_uniqueStorage()._setName = newValue} } - public var raidPlayerStats: RaidPlayerStatsProto { - get {return _storage._raidPlayerStats ?? RaidPlayerStatsProto()} - set {_uniqueStorage()._raidPlayerStats = newValue} + public var setPrimeItem: Bool { + get {return _storage._setPrimeItem} + set {_uniqueStorage()._setPrimeItem = newValue} } - /// Returns true if `raidPlayerStats` has been explicitly set. - public var hasRaidPlayerStats: Bool {return _storage._raidPlayerStats != nil} - /// Clears the value of `raidPlayerStats`. Subsequent reads from it will return its default value. - public mutating func clearRaidPlayerStats() {_uniqueStorage()._raidPlayerStats = nil} - public var xlCandyAwarded: [Int32] { - get {return _storage._xlCandyAwarded} - set {_uniqueStorage()._xlCandyAwarded = newValue} + public var incompatibleBundleNames: [String] { + get {return _storage._incompatibleBundleNames} + set {_uniqueStorage()._incompatibleBundleNames = newValue} } - public var xlCandyPokemonID: HoloPokemonId { - get {return _storage._xlCandyPokemonID} - set {_uniqueStorage()._xlCandyPokemonID = newValue} + public var setNames: [String] { + get {return _storage._setNames} + set {_uniqueStorage()._setNames = newValue} } public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + public enum AvatarCustomizationPromoType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetPromoType // = 0 + case sale // = 1 + case featured // = 2 + case UNRECOGNIZED(Int) - fileprivate var _storage = _StorageClass.defaultInstance -} + public init() { + self = .unsetPromoType + } -public struct BattleUpdateProto { - // 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. + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetPromoType + case 1: self = .sale + case 2: self = .featured + default: self = .UNRECOGNIZED(rawValue) + } + } - public var battleLog: BattleLogProto { - get {return _storage._battleLog ?? BattleLogProto()} - set {_uniqueStorage()._battleLog = newValue} - } - /// Returns true if `battleLog` has been explicitly set. - public var hasBattleLog: Bool {return _storage._battleLog != nil} - /// Clears the value of `battleLog`. Subsequent reads from it will return its default value. - public mutating func clearBattleLog() {_uniqueStorage()._battleLog = nil} + public var rawValue: Int { + switch self { + case .unsetPromoType: return 0 + case .sale: return 1 + case .featured: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var battleID: String { - get {return _storage._battleID} - set {_uniqueStorage()._battleID = newValue} } - public var activeDefender: PokemonInfo { - get {return _storage._activeDefender ?? PokemonInfo()} - set {_uniqueStorage()._activeDefender = newValue} - } - /// Returns true if `activeDefender` has been explicitly set. - public var hasActiveDefender: Bool {return _storage._activeDefender != nil} - /// Clears the value of `activeDefender`. Subsequent reads from it will return its default value. - public mutating func clearActiveDefender() {_uniqueStorage()._activeDefender = nil} + public enum AvatarCustomizationUnlockType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetUnlockType // = 0 + case `default` // = 1 + case medalReward // = 2 + case iapClothing // = 3 + case levelReward // = 4 + case combatRankReward // = 5 + case UNRECOGNIZED(Int) - public var activeAttacker: PokemonInfo { - get {return _storage._activeAttacker ?? PokemonInfo()} - set {_uniqueStorage()._activeAttacker = newValue} - } - /// Returns true if `activeAttacker` has been explicitly set. - public var hasActiveAttacker: Bool {return _storage._activeAttacker != nil} - /// Clears the value of `activeAttacker`. Subsequent reads from it will return its default value. - public mutating func clearActiveAttacker() {_uniqueStorage()._activeAttacker = nil} + public init() { + self = .unsetUnlockType + } - public var highestFriendshipMilestone: FriendshipLevelMilestone { - get {return _storage._highestFriendshipMilestone} - set {_uniqueStorage()._highestFriendshipMilestone = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetUnlockType + case 1: self = .default + case 2: self = .medalReward + case 3: self = .iapClothing + case 4: self = .levelReward + case 5: self = .combatRankReward + default: self = .UNRECOGNIZED(rawValue) + } + } - public var renderEffects: [FormRenderModifier] { - get {return _storage._renderEffects} - set {_uniqueStorage()._renderEffects = newValue} - } + public var rawValue: Int { + switch self { + case .unsetUnlockType: return 0 + case .default: return 1 + case .medalReward: return 2 + case .iapClothing: return 3 + case .levelReward: return 4 + case .combatRankReward: return 5 + case .UNRECOGNIZED(let i): return i + } + } - public var remainingItem: [BattleUpdateProto.AvailableItem] { - get {return _storage._remainingItem} - set {_uniqueStorage()._remainingItem = newValue} } - public var activeItem: [BattleUpdateProto.ActiveItem] { - get {return _storage._activeItem} - set {_uniqueStorage()._activeItem = newValue} - } + public enum Slot: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetSlot // = 0 + case hair // = 1 + case shirt // = 2 + case pants // = 3 + case hat // = 4 + case shoes // = 5 + case eyes // = 6 + case backpack // = 7 + case gloves // = 8 + case socks // = 9 + case belt // = 10 + case glasses // = 11 + case necklace // = 12 + case skin // = 13 + case pose // = 14 + case face // = 15 + case prop // = 16 + case UNRECOGNIZED(Int) - public var abilityEnergy: Dictionary { - get {return _storage._abilityEnergy} - set {_uniqueStorage()._abilityEnergy = newValue} - } + public init() { + self = .unsetSlot + } - public var activePokemonStatModifiers: Dictionary { - get {return _storage._activePokemonStatModifiers} - set {_uniqueStorage()._activePokemonStatModifiers = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetSlot + case 1: self = .hair + case 2: self = .shirt + case 3: self = .pants + case 4: self = .hat + case 5: self = .shoes + case 6: self = .eyes + case 7: self = .backpack + case 8: self = .gloves + case 9: self = .socks + case 10: self = .belt + case 11: self = .glasses + case 12: self = .necklace + case 13: self = .skin + case 14: self = .pose + case 15: self = .face + case 16: self = .prop + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetSlot: return 0 + case .hair: return 1 + case .shirt: return 2 + case .pants: return 3 + case .hat: return 4 + case .shoes: return 5 + case .eyes: return 6 + case .backpack: return 7 + case .gloves: return 8 + case .socks: return 9 + case .belt: return 10 + case .glasses: return 11 + case .necklace: return 12 + case .skin: return 13 + case .pose: return 14 + case .face: return 15 + case .prop: return 16 + case .UNRECOGNIZED(let i): return i + } + } - public var partyMemberCount: Int32 { - get {return _storage._partyMemberCount} - set {_uniqueStorage()._partyMemberCount = newValue} } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} - public struct AvailableItem { - // 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. + fileprivate var _storage = _StorageClass.defaultInstance +} - public var item: Item = .unknown +#if swift(>=4.2) - public var quantity: Int32 = 0 +extension AvatarCustomizationProto.AvatarCustomizationPromoType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AvatarCustomizationProto.AvatarCustomizationPromoType] = [ + .unsetPromoType, + .sale, + .featured, + ] +} - public var nextAvailableMs: Int64 = 0 +extension AvatarCustomizationProto.AvatarCustomizationUnlockType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AvatarCustomizationProto.AvatarCustomizationUnlockType] = [ + .unsetUnlockType, + .default, + .medalReward, + .iapClothing, + .levelReward, + .combatRankReward, + ] +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +extension AvatarCustomizationProto.Slot: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [AvatarCustomizationProto.Slot] = [ + .unsetSlot, + .hair, + .shirt, + .pants, + .hat, + .shoes, + .eyes, + .backpack, + .gloves, + .socks, + .belt, + .glasses, + .necklace, + .skin, + .pose, + .face, + .prop, + ] +} - public init() {} - } +#endif // swift(>=4.2) - public struct ActiveItem { - // 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. +public struct AvatarCustomizationTelemetry { + // 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. - public var item: ItemProto { - get {return _item ?? ItemProto()} - set {_item = newValue} - } - /// Returns true if `item` has been explicitly set. - public var hasItem: Bool {return self._item != nil} - /// Clears the value of `item`. Subsequent reads from it will return its default value. - public mutating func clearItem() {self._item = nil} + public var avatarCustomizationClickID: AvatarCustomizationTelemetryIds = .undefinedAvatarCustomization - public var user: String = String() + public var assetName: String = String() - public var usageTimeMs: Int64 = 0 + public var sku: String = String() - public var expiryTimeMs: Int64 = 0 + public var hasEnoughCoins_p: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var groupName: String = String() - public init() {} + public var colorChoiceID: String = String() - fileprivate var _item: ItemProto? = nil - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct BattleVisualSettings { +public struct AvatarGlobalSettingsProto { // 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. - public var battleVisualStadiumEnabled: Bool = false - - public var stadiumCrowdAsset: String = String() - - public var stadiumBannerAsset: String = String() + public var enablePose: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BelugaBleCompleteTransferRequestProto { +public struct AvatarGroupSettingsProto { // 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. - public var transactionID: Int64 = 0 + public var group: [AvatarGroupSettingsProto.AvatarGroupProto] = [] - public var belugaRequestedItemID: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var nonce: String = String() + public struct AvatarGroupProto { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var name: String = String() + + public var order: Int32 = 0 + + public var newTagEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } public init() {} } -public struct BelugaBleFinalizeTransfer { +public struct AvatarItemProto { // 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. - public var belugaTransferComplete: BelugaBleTransferCompleteProto { - get {return _belugaTransferComplete ?? BelugaBleTransferCompleteProto()} - set {_belugaTransferComplete = newValue} - } - /// Returns true if `belugaTransferComplete` has been explicitly set. - public var hasBelugaTransferComplete: Bool {return self._belugaTransferComplete != nil} - /// Clears the value of `belugaTransferComplete`. Subsequent reads from it will return its default value. - public mutating func clearBelugaTransferComplete() {self._belugaTransferComplete = nil} + public var avatarTemplateID: String = String() - public var serverSignature: Data = Data() + public var newTimestampMs: Int64 = 0 + + public var viewed: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _belugaTransferComplete: BelugaBleTransferCompleteProto? = nil } -public struct BelugaBleTransferCompleteProto { +public struct AvatarLockProto { // 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. - public var nonce: String = String() + public var lock: AvatarLockProto.OneOf_Lock? = nil - public var belugaID: String = String() + public var playerLevelLock: PlayerLevelAvatarLockProto { + get { + if case .playerLevelLock(let v)? = lock {return v} + return PlayerLevelAvatarLockProto() + } + set {lock = .playerLevelLock(newValue)} + } + + public var badgeLevelLock: BadgeLevelAvatarLockProto { + get { + if case .badgeLevelLock(let v)? = lock {return v} + return BadgeLevelAvatarLockProto() + } + set {lock = .badgeLevelLock(newValue)} + } + + public var isLocked: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_Lock: Equatable { + case playerLevelLock(PlayerLevelAvatarLockProto) + case badgeLevelLock(BadgeLevelAvatarLockProto) + + #if !swift(>=4.1) + public static func ==(lhs: AvatarLockProto.OneOf_Lock, rhs: AvatarLockProto.OneOf_Lock) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.playerLevelLock, .playerLevelLock): return { + guard case .playerLevelLock(let l) = lhs, case .playerLevelLock(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.badgeLevelLock, .badgeLevelLock): return { + guard case .badgeLevelLock(let l) = lhs, case .badgeLevelLock(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + public init() {} } -public struct BelugaBleTransferPrepProto { +public struct AvatarStoreItemProto { // 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. - public var pokemonList: [BelugaPokemonProto] = [] + public var articleID: String = String() - public var eligbleForItem: Bool = false + public var iapSku: String = String() - public var transactionID: Int64 = 0 + public var isOwned: Bool = false - public var belugaID: String = String() + public var isPurchasable: Bool = false - public var nonce: String = String() + public var isNew: Bool = false + + public var slot: AvatarSlot = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BelugaBleTransferProto { +public struct AvatarStoreListingProto { // 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. - public var serverResponse: BelugaBleTransferPrepProto { - get {return _serverResponse ?? BelugaBleTransferPrepProto()} - set {_serverResponse = newValue} - } - /// Returns true if `serverResponse` has been explicitly set. - public var hasServerResponse: Bool {return self._serverResponse != nil} - /// Clears the value of `serverResponse`. Subsequent reads from it will return its default value. - public mutating func clearServerResponse() {self._serverResponse = nil} + public var items: [AvatarStoreItemProto] = [] - public var serverSignature: Data = Data() + public var sortOrder: Int32 = 0 - public var localizedOrigins: [String] = [] + public var iconAddress: String = String() - public var language: String = String() + public var displayNameStringID: String = String() + + public var isSet: Bool = false + + public var isRecommended: Bool = false + + public var lock: AvatarLockProto { + get {return _lock ?? AvatarLockProto()} + set {_lock = newValue} + } + /// Returns true if `lock` has been explicitly set. + public var hasLock: Bool {return self._lock != nil} + /// Clears the value of `lock`. Subsequent reads from it will return its default value. + public mutating func clearLock() {self._lock = nil} + + public var groupName: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _serverResponse: BelugaBleTransferPrepProto? = nil + fileprivate var _lock: AvatarLockProto? = nil } -public struct BelugaDailyTransferLogEntry { +public struct AwardFreeRaidTicketOutProto { // 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. - public var result: BelugaDailyTransferLogEntry.Result = .unset - - public var includesWeeklyBonus: Bool = false - - public var itemsAwarded: LootProto { - get {return _itemsAwarded ?? LootProto()} - set {_itemsAwarded = newValue} - } - /// Returns true if `itemsAwarded` has been explicitly set. - public var hasItemsAwarded: Bool {return self._itemsAwarded != nil} - /// Clears the value of `itemsAwarded`. Subsequent reads from it will return its default value. - public mutating func clearItemsAwarded() {self._itemsAwarded = nil} + public var result: AwardFreeRaidTicketOutProto.Result = .noResultSet public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 + case noResultSet // = 0 case success // = 1 + case errorPlayerDoesNotMeetMinLevel // = 2 + case errorDailyTicketAlreadyAwarded // = 3 + case errorPlayerOutOfRange // = 4 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .noResultSet } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset + case 0: self = .noResultSet case 1: self = .success + case 2: self = .errorPlayerDoesNotMeetMinLevel + case 3: self = .errorDailyTicketAlreadyAwarded + case 4: self = .errorPlayerOutOfRange default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 + case .noResultSet: return 0 case .success: return 1 + case .errorPlayerDoesNotMeetMinLevel: return 2 + case .errorDailyTicketAlreadyAwarded: return 3 + case .errorPlayerOutOfRange: return 4 case .UNRECOGNIZED(let i): return i } } @@ -39258,354 +40339,328 @@ public struct BelugaDailyTransferLogEntry { } public init() {} - - fileprivate var _itemsAwarded: LootProto? = nil } #if swift(>=4.2) -extension BelugaDailyTransferLogEntry.Result: CaseIterable { +extension AwardFreeRaidTicketOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BelugaDailyTransferLogEntry.Result] = [ - .unset, + public static var allCases: [AwardFreeRaidTicketOutProto.Result] = [ + .noResultSet, .success, + .errorPlayerDoesNotMeetMinLevel, + .errorDailyTicketAlreadyAwarded, + .errorPlayerOutOfRange, ] } #endif // swift(>=4.2) -public struct BelugaGlobalSettingsProto { +public struct AwardFreeRaidTicketProto { // 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. - public var enableBelugaTransfer: Bool = false + public var gymID: String = String() - public var maxNumPokemonPerTransfer: Int32 = 0 + public var playerLatDegrees: Double = 0 + + public var playerLngDegrees: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BelugaIncenseBoxProto { +public struct AwardItemProto { // 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. - public var isUsable: Bool = false - - public var coolDownFinishedTimestampMs: Int64 = 0 + public var item: Item = .unknown - public var sparklyLimit: DailyCounterProto { - get {return _sparklyLimit ?? DailyCounterProto()} - set {_sparklyLimit = newValue} - } - /// Returns true if `sparklyLimit` has been explicitly set. - public var hasSparklyLimit: Bool {return self._sparklyLimit != nil} - /// Clears the value of `sparklyLimit`. Subsequent reads from it will return its default value. - public mutating func clearSparklyLimit() {self._sparklyLimit = nil} + public var itemCount: Int32 = 0 - public var sparklyCounter: Int32 = 0 + public var bonusCount: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _sparklyLimit: DailyCounterProto? = nil } -public struct BelugaPokemonProto { +public struct AwardedGymBadge { // 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. - public var trainerName: String { - get {return _storage._trainerName} - set {_uniqueStorage()._trainerName = newValue} + public var fortID: String { + get {return _storage._fortID} + set {_uniqueStorage()._fortID = newValue} } - public var trainerGender: BelugaPokemonProto.TrainerGender { - get {return _storage._trainerGender} - set {_uniqueStorage()._trainerGender = newValue} + public var gymBadgeType: GymBadgeType { + get {return _storage._gymBadgeType} + set {_uniqueStorage()._gymBadgeType = newValue} } - public var trainerTeam: BelugaPokemonProto.Team { - get {return _storage._trainerTeam} - set {_uniqueStorage()._trainerTeam = newValue} + public var score: UInt32 { + get {return _storage._score} + set {_uniqueStorage()._score = newValue} } - public var trainerLevel: Int32 { - get {return _storage._trainerLevel} - set {_uniqueStorage()._trainerLevel = newValue} + public var gymBadgeStats: GymBadgeStats { + get {return _storage._gymBadgeStats ?? GymBadgeStats()} + set {_uniqueStorage()._gymBadgeStats = newValue} } + /// Returns true if `gymBadgeStats` has been explicitly set. + public var hasGymBadgeStats: Bool {return _storage._gymBadgeStats != nil} + /// Clears the value of `gymBadgeStats`. Subsequent reads from it will return its default value. + public mutating func clearGymBadgeStats() {_uniqueStorage()._gymBadgeStats = nil} - public var pokedexID: HoloPokemonId { - get {return _storage._pokedexID} - set {_uniqueStorage()._pokedexID = newValue} + public var lastUpdateTimestampMs: UInt64 { + get {return _storage._lastUpdateTimestampMs} + set {_uniqueStorage()._lastUpdateTimestampMs = newValue} } - public var cp: Int32 { - get {return _storage._cp} - set {_uniqueStorage()._cp = newValue} + public var name: String { + get {return _storage._name} + set {_uniqueStorage()._name = newValue} } - public var pokemonLevel: Float { - get {return _storage._pokemonLevel} - set {_uniqueStorage()._pokemonLevel = newValue} + public var imageURL: String { + get {return _storage._imageURL} + set {_uniqueStorage()._imageURL = newValue} } - public var maxHp: Int32 { - get {return _storage._maxHp} - set {_uniqueStorage()._maxHp = newValue} + public var description_p: String { + get {return _storage._description_p} + set {_uniqueStorage()._description_p = newValue} } - public var originLat: Double { - get {return _storage._originLat} - set {_uniqueStorage()._originLat = newValue} + public var latitude: Double { + get {return _storage._latitude} + set {_uniqueStorage()._latitude = newValue} } - public var originLng: Double { - get {return _storage._originLng} - set {_uniqueStorage()._originLng = newValue} + public var longitude: Double { + get {return _storage._longitude} + set {_uniqueStorage()._longitude = newValue} } - public var height: Float { - get {return _storage._height} - set {_uniqueStorage()._height = newValue} + public var lastCheckTimestampMs: UInt64 { + get {return _storage._lastCheckTimestampMs} + set {_uniqueStorage()._lastCheckTimestampMs = newValue} } - public var weight: Float { - get {return _storage._weight} - set {_uniqueStorage()._weight = newValue} + public var earnedPoints: UInt32 { + get {return _storage._earnedPoints} + set {_uniqueStorage()._earnedPoints = newValue} } - public var individualAttack: Int32 { - get {return _storage._individualAttack} - set {_uniqueStorage()._individualAttack = newValue} + public var progress: Float { + get {return _storage._progress} + set {_uniqueStorage()._progress = newValue} } - public var individualDefense: Int32 { - get {return _storage._individualDefense} - set {_uniqueStorage()._individualDefense = newValue} + public var levelUp: Bool { + get {return _storage._levelUp} + set {_uniqueStorage()._levelUp = newValue} } - public var individualStamina: Int32 { - get {return _storage._individualStamina} - set {_uniqueStorage()._individualStamina = newValue} + public var raids: PlayerRaidInfoProto { + get {return _storage._raids ?? PlayerRaidInfoProto()} + set {_uniqueStorage()._raids = newValue} } + /// Returns true if `raids` has been explicitly set. + public var hasRaids: Bool {return _storage._raids != nil} + /// Clears the value of `raids`. Subsequent reads from it will return its default value. + public mutating func clearRaids() {_uniqueStorage()._raids = nil} - public var creationDay: Int32 { - get {return _storage._creationDay} - set {_uniqueStorage()._creationDay = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var creationMonth: Int32 { - get {return _storage._creationMonth} - set {_uniqueStorage()._creationMonth = newValue} - } + public init() {} - public var creationYear: Int32 { - get {return _storage._creationYear} - set {_uniqueStorage()._creationYear = newValue} - } + fileprivate var _storage = _StorageClass.defaultInstance +} - public var nickname: String { - get {return _storage._nickname} - set {_uniqueStorage()._nickname = newValue} - } +public struct AwardedRouteBadge { + // 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. - public var gender: BelugaPokemonProto.PokemonGender { - get {return _storage._gender} - set {_uniqueStorage()._gender = newValue} + public var routeID: String { + get {return _storage._routeID} + set {_uniqueStorage()._routeID = newValue} } - public var costume: BelugaPokemonProto.PokemonCostume { - get {return _storage._costume} - set {_uniqueStorage()._costume = newValue} + public var routeType: RouteType { + get {return _storage._routeType} + set {_uniqueStorage()._routeType = newValue} } - public var form: BelugaPokemonProto.PokemonForm { - get {return _storage._form} - set {_uniqueStorage()._form = newValue} + public var numCompletions: Int32 { + get {return _storage._numCompletions} + set {_uniqueStorage()._numCompletions = newValue} } - public var shiny: Bool { - get {return _storage._shiny} - set {_uniqueStorage()._shiny = newValue} + public var lastPlayedTime: Int64 { + get {return _storage._lastPlayedTime} + set {_uniqueStorage()._lastPlayedTime = newValue} } - public var move1: HoloPokemonMove { - get {return _storage._move1} - set {_uniqueStorage()._move1 = newValue} + public var uniqueRouteStamp: [RouteStamp] { + get {return _storage._uniqueRouteStamp} + set {_uniqueStorage()._uniqueRouteStamp = newValue} } - public var move2: HoloPokemonMove { - get {return _storage._move2} - set {_uniqueStorage()._move2 = newValue} + public var routeName: String { + get {return _storage._routeName} + set {_uniqueStorage()._routeName = newValue} } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var routeDescription: String { + get {return _storage._routeDescription} + set {_uniqueStorage()._routeDescription = newValue} + } - public enum PokemonCostume: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case holiday2016 // = 1 - case anniversary // = 2 - case oneYearAnniversary // = 3 - case halloween2017 // = 4 - case UNRECOGNIZED(Int) + public var routeCreatorCodename: String { + get {return _storage._routeCreatorCodename} + set {_uniqueStorage()._routeCreatorCodename = newValue} + } - public init() { - self = .unset - } + public var routeImageURL: String { + get {return _storage._routeImageURL} + set {_uniqueStorage()._routeImageURL = newValue} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .holiday2016 - case 2: self = .anniversary - case 3: self = .oneYearAnniversary - case 4: self = .halloween2017 - default: self = .UNRECOGNIZED(rawValue) - } - } + public var routeDurationSeconds: Int64 { + get {return _storage._routeDurationSeconds} + set {_uniqueStorage()._routeDurationSeconds = newValue} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .holiday2016: return 1 - case .anniversary: return 2 - case .oneYearAnniversary: return 3 - case .halloween2017: return 4 - case .UNRECOGNIZED(let i): return i - } - } + public var lastPlayedWaypoints: [AwardedRouteBadge.RouteBadgeWaypoint] { + get {return _storage._lastPlayedWaypoints} + set {_uniqueStorage()._lastPlayedWaypoints = newValue} + } + public var lastPlayedDurationSeconds: Int64 { + get {return _storage._lastPlayedDurationSeconds} + set {_uniqueStorage()._lastPlayedDurationSeconds = newValue} } - public enum PokemonForm: SwiftProtobuf.Enum { - public typealias RawValue = Int - case formUnset // = 0 - case alola // = 1 - case UNRECOGNIZED(Int) + public var weatherConditionOnLastCompletedSession: GameplayWeatherProto.WeatherCondition { + get {return _storage._weatherConditionOnLastCompletedSession} + set {_uniqueStorage()._weatherConditionOnLastCompletedSession = newValue} + } - public init() { - self = .formUnset - } + public var routeBadgeType: AwardedRouteBadge.RouteBadgeType { + get {return _storage._routeBadgeType} + set {_uniqueStorage()._routeBadgeType = newValue} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .formUnset - case 1: self = .alola - default: self = .UNRECOGNIZED(rawValue) - } - } + public var startLat: Double { + get {return _storage._startLat} + set {_uniqueStorage()._startLat = newValue} + } - public var rawValue: Int { - switch self { - case .formUnset: return 0 - case .alola: return 1 - case .UNRECOGNIZED(let i): return i - } - } + public var startLng: Double { + get {return _storage._startLng} + set {_uniqueStorage()._startLng = newValue} + } + public var routeDistanceMeters: Int64 { + get {return _storage._routeDistanceMeters} + set {_uniqueStorage()._routeDistanceMeters = newValue} } - public enum PokemonGender: SwiftProtobuf.Enum { - public typealias RawValue = Int - case genderUnset // = 0 - case male // = 1 - case female // = 2 - case genderless // = 3 - case UNRECOGNIZED(Int) + public var badgeLevel: RouteBadgeLevel.BadgeLevel { + get {return _storage._badgeLevel} + set {_uniqueStorage()._badgeLevel = newValue} + } - public init() { - self = .genderUnset - } + public var rated: Bool { + get {return _storage._rated} + set {_uniqueStorage()._rated = newValue} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .genderUnset - case 1: self = .male - case 2: self = .female - case 3: self = .genderless - default: self = .UNRECOGNIZED(rawValue) - } - } + public var canPreview: Bool { + get {return _storage._canPreview} + set {_uniqueStorage()._canPreview = newValue} + } - public var rawValue: Int { - switch self { - case .genderUnset: return 0 - case .male: return 1 - case .female: return 2 - case .genderless: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var hidden: Bool { + get {return _storage._hidden} + set {_uniqueStorage()._hidden = newValue} + } + public var route: SharedRouteProto { + get {return _storage._route ?? SharedRouteProto()} + set {_uniqueStorage()._route = newValue} } + /// Returns true if `route` has been explicitly set. + public var hasRoute: Bool {return _storage._route != nil} + /// Clears the value of `route`. Subsequent reads from it will return its default value. + public mutating func clearRoute() {_uniqueStorage()._route = nil} - public enum Team: SwiftProtobuf.Enum { + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum RouteBadgeType: SwiftProtobuf.Enum { public typealias RawValue = Int - case none // = 0 - case blue // = 1 - case red // = 2 - case yellow // = 3 + case routeBadgeUnset // = 0 + case routeBadgeBronze // = 1 + case routeBadgeSilver // = 2 + case routeBadgeGold // = 3 case UNRECOGNIZED(Int) public init() { - self = .none + self = .routeBadgeUnset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .none - case 1: self = .blue - case 2: self = .red - case 3: self = .yellow + case 0: self = .routeBadgeUnset + case 1: self = .routeBadgeBronze + case 2: self = .routeBadgeSilver + case 3: self = .routeBadgeGold default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .none: return 0 - case .blue: return 1 - case .red: return 2 - case .yellow: return 3 + case .routeBadgeUnset: return 0 + case .routeBadgeBronze: return 1 + case .routeBadgeSilver: return 2 + case .routeBadgeGold: return 3 case .UNRECOGNIZED(let i): return i } } } - public enum TrainerGender: SwiftProtobuf.Enum { - public typealias RawValue = Int - case trainerMale // = 0 - case trainerFemale // = 1 - case UNRECOGNIZED(Int) + public struct RouteBadgeWaypoint { + // 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. - public init() { - self = .trainerMale - } + public var fortName: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .trainerMale - case 1: self = .trainerFemale - default: self = .UNRECOGNIZED(rawValue) - } - } + public var imageURL: String = String() - public var rawValue: Int { - switch self { - case .trainerMale: return 0 - case .trainerFemale: return 1 - case .UNRECOGNIZED(let i): return i - } + public var lastEarnedStamp: RouteStamp { + get {return _lastEarnedStamp ?? RouteStamp()} + set {_lastEarnedStamp = newValue} } + /// Returns true if `lastEarnedStamp` has been explicitly set. + public var hasLastEarnedStamp: Bool {return self._lastEarnedStamp != nil} + /// Clears the value of `lastEarnedStamp`. Subsequent reads from it will return its default value. + public mutating func clearLastEarnedStamp() {self._lastEarnedStamp = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + fileprivate var _lastEarnedStamp: RouteStamp? = nil } public init() {} @@ -39615,362 +40670,472 @@ public struct BelugaPokemonProto { #if swift(>=4.2) -extension BelugaPokemonProto.PokemonCostume: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BelugaPokemonProto.PokemonCostume] = [ - .unset, - .holiday2016, - .anniversary, - .oneYearAnniversary, - .halloween2017, - ] -} - -extension BelugaPokemonProto.PokemonForm: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BelugaPokemonProto.PokemonForm] = [ - .formUnset, - .alola, - ] -} - -extension BelugaPokemonProto.PokemonGender: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BelugaPokemonProto.PokemonGender] = [ - .genderUnset, - .male, - .female, - .genderless, - ] -} - -extension BelugaPokemonProto.Team: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BelugaPokemonProto.Team] = [ - .none, - .blue, - .red, - .yellow, - ] -} - -extension BelugaPokemonProto.TrainerGender: CaseIterable { +extension AwardedRouteBadge.RouteBadgeType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BelugaPokemonProto.TrainerGender] = [ - .trainerMale, - .trainerFemale, + public static var allCases: [AwardedRouteBadge.RouteBadgeType] = [ + .routeBadgeUnset, + .routeBadgeBronze, + .routeBadgeSilver, + .routeBadgeGold, ] } #endif // swift(>=4.2) -public struct BelugaPokemonWhitelist { +public struct AwardedRouteStamp { // 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. - public var maxAllowedPokemonPokedexNumber: Int32 = 0 + public var routeStamp: RouteStamp { + get {return _routeStamp ?? RouteStamp()} + set {_routeStamp = newValue} + } + /// Returns true if `routeStamp` has been explicitly set. + public var hasRouteStamp: Bool {return self._routeStamp != nil} + /// Clears the value of `routeStamp`. Subsequent reads from it will return its default value. + public mutating func clearRouteStamp() {self._routeStamp = nil} - public var additionalPokemonAllowed: [HoloPokemonId] = [] + public var acquireTimeMs: Int64 = 0 - public var formsAllowed: [PokemonDisplayProto.Form] = [] + public var routeID: String = String() - public var costumesAllowed: [PokemonDisplayProto.Costume] = [] + public var fortID: String = String() + + public var stampID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _routeStamp: RouteStamp? = nil } -public struct BelugaTransactionCompleteOutProto { +public struct BackgroundModeClientSettingsProto { // 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. - public var status: BelugaTransactionCompleteOutProto.Status = .unset + public var maximumSampleAgeMs: Int64 = 0 - public var candyAwarded: Int32 = 0 + public var acceptManualFitnessSamples: Bool = false - public var lootAwarded: LootProto { - get {return _lootAwarded ?? LootProto()} - set {_lootAwarded = newValue} - } - /// Returns true if `lootAwarded` has been explicitly set. - public var hasLootAwarded: Bool {return self._lootAwarded != nil} - /// Clears the value of `lootAwarded`. Subsequent reads from it will return its default value. - public mutating func clearLootAwarded() {self._lootAwarded = nil} + public var minimumLocationAccuracyMeters: Double = 0 - public var belugaFinalizeResponse: BelugaBleFinalizeTransfer { - get {return _belugaFinalizeResponse ?? BelugaBleFinalizeTransfer()} - set {_belugaFinalizeResponse = newValue} - } - /// Returns true if `belugaFinalizeResponse` has been explicitly set. - public var hasBelugaFinalizeResponse: Bool {return self._belugaFinalizeResponse != nil} - /// Clears the value of `belugaFinalizeResponse`. Subsequent reads from it will return its default value. - public mutating func clearBelugaFinalizeResponse() {self._belugaFinalizeResponse = nil} + public var backgroundWakeUpIntervalMinutes: Int32 = 0 - public var bucketsUntilWeeklyAward: Int32 = 0 + public var maxUploadSizeInBytes: Int32 = 0 - public var xlCandyAwardedPerID: Dictionary = [:] + public var minEnclosingGeofenceRadiusM: Double = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var backgroundTokenRefreshIntervalS: Int64 = 0 - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failed // = 2 - case errorInvalidPokemonID // = 3 - case errorPokemonDeployed // = 4 - case errorPokemonNotAllowed // = 5 - case errorPokemonIsBuddy // = 6 - case errorInvalidTransactionID // = 7 - case errorMissingTransactionID // = 8 - case UNRECOGNIZED(Int) + public var maxSessionDurationM: Int32 = 0 - public init() { - self = .unset - } + public var minDistanceDeltaM: Int32 = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failed - case 3: self = .errorInvalidPokemonID - case 4: self = .errorPokemonDeployed - case 5: self = .errorPokemonNotAllowed - case 6: self = .errorPokemonIsBuddy - case 7: self = .errorInvalidTransactionID - case 8: self = .errorMissingTransactionID - default: self = .UNRECOGNIZED(rawValue) - } - } + public var minUpdateIntervalS: Int32 = 0 - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failed: return 2 - case .errorInvalidPokemonID: return 3 - case .errorPokemonDeployed: return 4 - case .errorPokemonNotAllowed: return 5 - case .errorPokemonIsBuddy: return 6 - case .errorInvalidTransactionID: return 7 - case .errorMissingTransactionID: return 8 - case .UNRECOGNIZED(let i): return i - } - } + public var minSessionReportingIntervalS: Int32 = 0 + + public var minPersistentReportingIntervalS: Int32 = 0 + + public var enableProgressRequest: Bool = false + + public var enableForegroundNotification: Bool = false + + public var proximitySettings: BackgroundModeClientSettingsProto.ProximitySettingsProto { + get {return _proximitySettings ?? BackgroundModeClientSettingsProto.ProximitySettingsProto()} + set {_proximitySettings = newValue} + } + /// Returns true if `proximitySettings` has been explicitly set. + public var hasProximitySettings: Bool {return self._proximitySettings != nil} + /// Clears the value of `proximitySettings`. Subsequent reads from it will return its default value. + public mutating func clearProximitySettings() {self._proximitySettings = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct ProximitySettingsProto { + // 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. + + public var maximumContactAgeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} } public init() {} - fileprivate var _lootAwarded: LootProto? = nil - fileprivate var _belugaFinalizeResponse: BelugaBleFinalizeTransfer? = nil + fileprivate var _proximitySettings: BackgroundModeClientSettingsProto.ProximitySettingsProto? = nil } -#if swift(>=4.2) +public struct BackgroundModeGlobalSettingsProto { + // 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. -extension BelugaTransactionCompleteOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BelugaTransactionCompleteOutProto.Status] = [ - .unset, - .success, - .failed, - .errorInvalidPokemonID, - .errorPokemonDeployed, - .errorPokemonNotAllowed, - .errorPokemonIsBuddy, - .errorInvalidTransactionID, - .errorMissingTransactionID, - ] + public var minPlayerLevelFitness: UInt32 = 0 + + public var servicePromptTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -#endif // swift(>=4.2) +public struct BackgroundModeSettingsProto { + // 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. -public struct BelugaTransactionCompleteProto { + public var weeklyFitnessGoalLevel1DistanceKm: Double = 0 + + public var weeklyFitnessGoalLevel2DistanceKm: Double = 0 + + public var weeklyFitnessGoalLevel3DistanceKm: Double = 0 + + public var weeklyFitnessGoalLevel4DistanceKm: Double = 0 + + public var weeklyFitnessGoalReminderKm: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct BackgroundToken { // 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. - public var belugaTransfer: BelugaBleCompleteTransferRequestProto { - get {return _belugaTransfer ?? BelugaBleCompleteTransferRequestProto()} - set {_belugaTransfer = newValue} + public var token: Data = Data() + + public var expirationTime: Int64 = 0 + + public var iv: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct BadgeData { + // 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. + + public var data: BadgeData.OneOf_Data? = nil + + public var miniCollection: MiniCollectionBadgeData { + get { + if case .miniCollection(let v)? = data {return v} + return MiniCollectionBadgeData() + } + set {data = .miniCollection(newValue)} } - /// Returns true if `belugaTransfer` has been explicitly set. - public var hasBelugaTransfer: Bool {return self._belugaTransfer != nil} - /// Clears the value of `belugaTransfer`. Subsequent reads from it will return its default value. - public mutating func clearBelugaTransfer() {self._belugaTransfer = nil} - public var appSignature: Data = Data() + public var butterflyCollectorData: ButterflyCollectorBadgeData { + get { + if case .butterflyCollectorData(let v)? = data {return v} + return ButterflyCollectorBadgeData() + } + set {data = .butterflyCollectorData(newValue)} + } - public var firmwareSignature: Data = Data() + public var contestData: ContestBadgeData { + get { + if case .contestData(let v)? = data {return v} + return ContestBadgeData() + } + set {data = .contestData(newValue)} + } + + public var badge: HoloBadgeType = .badgeUnset + + public var playerBadgeTiers: [PlayerBadgeTierProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_Data: Equatable { + case miniCollection(MiniCollectionBadgeData) + case butterflyCollectorData(ButterflyCollectorBadgeData) + case contestData(ContestBadgeData) + + #if !swift(>=4.1) + public static func ==(lhs: BadgeData.OneOf_Data, rhs: BadgeData.OneOf_Data) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.miniCollection, .miniCollection): return { + guard case .miniCollection(let l) = lhs, case .miniCollection(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.butterflyCollectorData, .butterflyCollectorData): return { + guard case .butterflyCollectorData(let l) = lhs, case .butterflyCollectorData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.contestData, .contestData): return { + guard case .contestData(let l) = lhs, case .contestData(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + public init() {} +} - fileprivate var _belugaTransfer: BelugaBleCompleteTransferRequestProto? = nil +public struct BadgeLevelAvatarLockProto { + // 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. + + public var badgeType: HoloBadgeType = .badgeUnset + + public var badgeLevel: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -public struct BelugaTransactionStartOutProto { +public struct BadgeRewardEncounterRequestProto { // 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. - public var status: BelugaTransactionStartOutProto.Status = .unset + public var badgeType: HoloBadgeType = .badgeUnset - public var belugaTransferPrep: BelugaBleTransferPrepProto { - get {return _belugaTransferPrep ?? BelugaBleTransferPrepProto()} - set {_belugaTransferPrep = newValue} + public var badgeTier: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct BadgeRewardEncounterResponseProto { + // 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. + + public var status: BadgeRewardEncounterResponseProto.Status = .unknown + + public var encounter: BadgeRewardEncounterResponseProto.EncounterInfoProto { + get {return _encounter ?? BadgeRewardEncounterResponseProto.EncounterInfoProto()} + set {_encounter = newValue} } - /// Returns true if `belugaTransferPrep` has been explicitly set. - public var hasBelugaTransferPrep: Bool {return self._belugaTransferPrep != nil} - /// Clears the value of `belugaTransferPrep`. Subsequent reads from it will return its default value. - public mutating func clearBelugaTransferPrep() {self._belugaTransferPrep = nil} + /// Returns true if `encounter` has been explicitly set. + public var hasEncounter: Bool {return self._encounter != nil} + /// Clears the value of `encounter`. Subsequent reads from it will return its default value. + public mutating func clearEncounter() {self._encounter = nil} - public var serverSignature: Data = Data() + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failed // = 2 - case errorInvalidPokemonID // = 3 - case errorPokemonDeployed // = 4 - case errorPokemonIsEgg // = 5 - case errorPokemonIsBuddy // = 6 - case errorPokemonNotAllowed // = 7 - case errorInvalidNonce // = 8 - case errorTooManyPokemon // = 9 - case errorNoPokemonSpecified // = 10 + case unknown // = 0 + case successEncounter // = 1 + case successPokemonInventoryFull // = 2 + case errorRequiresProgress // = 3 + case errorEncounterComplete // = 4 + case error // = 5 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .unknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failed - case 3: self = .errorInvalidPokemonID - case 4: self = .errorPokemonDeployed - case 5: self = .errorPokemonIsEgg - case 6: self = .errorPokemonIsBuddy - case 7: self = .errorPokemonNotAllowed - case 8: self = .errorInvalidNonce - case 9: self = .errorTooManyPokemon - case 10: self = .errorNoPokemonSpecified + case 0: self = .unknown + case 1: self = .successEncounter + case 2: self = .successPokemonInventoryFull + case 3: self = .errorRequiresProgress + case 4: self = .errorEncounterComplete + case 5: self = .error default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .failed: return 2 - case .errorInvalidPokemonID: return 3 - case .errorPokemonDeployed: return 4 - case .errorPokemonIsEgg: return 5 - case .errorPokemonIsBuddy: return 6 - case .errorPokemonNotAllowed: return 7 - case .errorInvalidNonce: return 8 - case .errorTooManyPokemon: return 9 - case .errorNoPokemonSpecified: return 10 + case .unknown: return 0 + case .successEncounter: return 1 + case .successPokemonInventoryFull: return 2 + case .errorRequiresProgress: return 3 + case .errorEncounterComplete: return 4 + case .error: return 5 case .UNRECOGNIZED(let i): return i } } } + public struct EncounterInfoProto { + // 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. + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var encounterID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil + } + public init() {} - fileprivate var _belugaTransferPrep: BelugaBleTransferPrepProto? = nil + fileprivate var _encounter: BadgeRewardEncounterResponseProto.EncounterInfoProto? = nil + fileprivate var _rewards: LootProto? = nil } #if swift(>=4.2) -extension BelugaTransactionStartOutProto.Status: CaseIterable { +extension BadgeRewardEncounterResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BelugaTransactionStartOutProto.Status] = [ - .unset, - .success, - .failed, - .errorInvalidPokemonID, - .errorPokemonDeployed, - .errorPokemonIsEgg, - .errorPokemonIsBuddy, - .errorPokemonNotAllowed, - .errorInvalidNonce, - .errorTooManyPokemon, - .errorNoPokemonSpecified, + public static var allCases: [BadgeRewardEncounterResponseProto.Status] = [ + .unknown, + .successEncounter, + .successPokemonInventoryFull, + .errorRequiresProgress, + .errorEncounterComplete, + .error, ] } #endif // swift(>=4.2) -public struct BelugaTransactionStartProto { +public struct BadgeSettingsProto { // 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. - public var pokemonID: [Int64] = [] + public var badgeType: HoloBadgeType = .badgeUnset - public var nonce: String = String() + public var badgeRanks: Int32 = 0 - public var belugaID: String = String() + public var targets: [Int32] = [] + + public var tierRewards: [BadgeTierRewardProto] = [] + + public var eventBadge: Bool = false + + public var eventBadgeSettings: EventBadgeSettingsProto { + get {return _eventBadgeSettings ?? EventBadgeSettingsProto()} + set {_eventBadgeSettings = newValue} + } + /// Returns true if `eventBadgeSettings` has been explicitly set. + public var hasEventBadgeSettings: Bool {return self._eventBadgeSettings != nil} + /// Clears the value of `eventBadgeSettings`. Subsequent reads from it will return its default value. + public mutating func clearEventBadgeSettings() {self._eventBadgeSettings = nil} + + public var combatLeagueTemplateID: String = String() + + public var useStatAsMedalLevel: Bool = false + + public var maxTrackedEntries: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _eventBadgeSettings: EventBadgeSettingsProto? = nil } -public struct BlockAccountOutProto { +public struct BadgeSystemSettingsProto { // 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. - public var result: BlockAccountOutProto.Result = .unset + public var badgeRewardEncounterEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public init() {} +} + +public struct BadgeTierRewardProto { + // 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. + + public var captureRewardMultiplier: Float = 0 + + public var avatarTemplateIds: [String] = [] + + public var rewardPokemon: [VsSeekerPokemonRewardsProto.PokemonUnlockProto] = [] + + public var tierIndex: Int32 = 0 + + public var rewardDescriptionKey: String = String() + + public var rewardTypes: [BadgeTierRewardProto.BadgeRewardType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum BadgeRewardType: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPlayerDoesNotExist // = 2 - case errorAlreadyBlocked // = 3 - case errorUpdateFriendshipFailed // = 4 + case none // = 0 + case avatarItem // = 1 + case pokemonEncounter // = 2 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .none } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPlayerDoesNotExist - case 3: self = .errorAlreadyBlocked - case 4: self = .errorUpdateFriendshipFailed + case 0: self = .none + case 1: self = .avatarItem + case 2: self = .pokemonEncounter default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .errorPlayerDoesNotExist: return 2 - case .errorAlreadyBlocked: return 3 - case .errorUpdateFriendshipFailed: return 4 + case .none: return 0 + case .avatarItem: return 1 + case .pokemonEncounter: return 2 case .UNRECOGNIZED(let i): return i } } @@ -39982,80 +41147,137 @@ public struct BlockAccountOutProto { #if swift(>=4.2) -extension BlockAccountOutProto.Result: CaseIterable { +extension BadgeTierRewardProto.BadgeRewardType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BlockAccountOutProto.Result] = [ - .unset, - .success, - .errorPlayerDoesNotExist, - .errorAlreadyBlocked, - .errorUpdateFriendshipFailed, + public static var allCases: [BadgeTierRewardProto.BadgeRewardType] = [ + .none, + .avatarItem, + .pokemonEncounter, ] } #endif // swift(>=4.2) -public struct BlockAccountProto { +public struct BattleActionProto { // 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. - public var blockeeNiaAccountID: String = String() + public var type: BattleActionProto.ActionType { + get {return _storage._type} + set {_uniqueStorage()._type = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var actionStartMs: Int64 { + get {return _storage._actionStartMs} + set {_uniqueStorage()._actionStartMs = newValue} + } - public init() {} -} + public var durationMs: Int32 { + get {return _storage._durationMs} + set {_uniqueStorage()._durationMs = newValue} + } -public struct BonusBoxProto { - // 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. + public var energyDelta: Int32 { + get {return _storage._energyDelta} + set {_uniqueStorage()._energyDelta = newValue} + } - public var text: String = String() + public var attackerIndex: Int32 { + get {return _storage._attackerIndex} + set {_uniqueStorage()._attackerIndex = newValue} + } - public var iconType: BonusBoxProto.IconType = .unset + public var targetIndex: Int32 { + get {return _storage._targetIndex} + set {_uniqueStorage()._targetIndex = newValue} + } + + public var activePokemonID: UInt64 { + get {return _storage._activePokemonID} + set {_uniqueStorage()._activePokemonID = newValue} + } + + public var joinedPlayer: BattleParticipantProto { + get {return _storage._joinedPlayer ?? BattleParticipantProto()} + set {_uniqueStorage()._joinedPlayer = newValue} + } + /// Returns true if `joinedPlayer` has been explicitly set. + public var hasJoinedPlayer: Bool {return _storage._joinedPlayer != nil} + /// Clears the value of `joinedPlayer`. Subsequent reads from it will return its default value. + public mutating func clearJoinedPlayer() {_uniqueStorage()._joinedPlayer = nil} + + public var battleResults: BattleResultsProto { + get {return _storage._battleResults ?? BattleResultsProto()} + set {_uniqueStorage()._battleResults = newValue} + } + /// Returns true if `battleResults` has been explicitly set. + public var hasBattleResults: Bool {return _storage._battleResults != nil} + /// Clears the value of `battleResults`. Subsequent reads from it will return its default value. + public mutating func clearBattleResults() {_uniqueStorage()._battleResults = nil} + + public var damageWindowStartMs: Int64 { + get {return _storage._damageWindowStartMs} + set {_uniqueStorage()._damageWindowStartMs = newValue} + } + + public var damageWindowEndMs: Int64 { + get {return _storage._damageWindowEndMs} + set {_uniqueStorage()._damageWindowEndMs = newValue} + } + + public var quitPlayer: BattleParticipantProto { + get {return _storage._quitPlayer ?? BattleParticipantProto()} + set {_uniqueStorage()._quitPlayer = newValue} + } + /// Returns true if `quitPlayer` has been explicitly set. + public var hasQuitPlayer: Bool {return _storage._quitPlayer != nil} + /// Clears the value of `quitPlayer`. Subsequent reads from it will return its default value. + public mutating func clearQuitPlayer() {_uniqueStorage()._quitPlayer = nil} + + public var targetPokemonID: UInt64 { + get {return _storage._targetPokemonID} + set {_uniqueStorage()._targetPokemonID = newValue} + } + + public var leveledUpFriends: LeveledUpFriendsProto { + get {return _storage._leveledUpFriends ?? LeveledUpFriendsProto()} + set {_uniqueStorage()._leveledUpFriends = newValue} + } + /// Returns true if `leveledUpFriends` has been explicitly set. + public var hasLeveledUpFriends: Bool {return _storage._leveledUpFriends != nil} + /// Clears the value of `leveledUpFriends`. Subsequent reads from it will return its default value. + public mutating func clearLeveledUpFriends() {_uniqueStorage()._leveledUpFriends = nil} + + public var item: [Item] { + get {return _storage._item} + set {_uniqueStorage()._item = newValue} + } + + public var trainerAbility: TrainerAbility { + get {return _storage._trainerAbility} + set {_uniqueStorage()._trainerAbility = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum IconType: SwiftProtobuf.Enum { + public enum ActionType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case adventureSync // = 1 - case buddy // = 2 - case candyGeneral // = 3 - case egg // = 4 - case eggIncubator // = 5 - case eventMove // = 6 - case evolution // = 7 - case fieldResearch // = 8 - case friendship // = 9 - case gift // = 10 - case incense // = 11 - case luckyEgg // = 12 - case lureModule // = 13 - case photobomb // = 14 - case pokestop // = 15 - case raid // = 16 - case raidPass // = 17 - case spawnUnknown // = 18 - case starPiece // = 19 - case stardust // = 20 - case teamRocket // = 21 - case trade // = 22 - case transferCandy // = 23 - case battle // = 24 - case xp // = 25 - case shop // = 26 - case location // = 27 - case event // = 28 - case mysteryBox // = 29 - case tradeBall // = 30 - case candyXl // = 31 - case heart // = 32 - case timer // = 33 - case postcard // = 34 - case sticker // = 35 + case attack // = 1 + case dodge // = 2 + case specialAttack // = 3 + case swapPokemon // = 4 + case faint // = 5 + case playerJoin // = 6 + case playerQuit // = 7 + case victory // = 8 + case defeat // = 9 + case timedOut // = 10 + case specialAttack2 // = 11 + case useItem // = 12 + case displayChange // = 13 + case activateAbility // = 14 case UNRECOGNIZED(Int) public init() { @@ -40065,41 +41287,20 @@ public struct BonusBoxProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .adventureSync - case 2: self = .buddy - case 3: self = .candyGeneral - case 4: self = .egg - case 5: self = .eggIncubator - case 6: self = .eventMove - case 7: self = .evolution - case 8: self = .fieldResearch - case 9: self = .friendship - case 10: self = .gift - case 11: self = .incense - case 12: self = .luckyEgg - case 13: self = .lureModule - case 14: self = .photobomb - case 15: self = .pokestop - case 16: self = .raid - case 17: self = .raidPass - case 18: self = .spawnUnknown - case 19: self = .starPiece - case 20: self = .stardust - case 21: self = .teamRocket - case 22: self = .trade - case 23: self = .transferCandy - case 24: self = .battle - case 25: self = .xp - case 26: self = .shop - case 27: self = .location - case 28: self = .event - case 29: self = .mysteryBox - case 30: self = .tradeBall - case 31: self = .candyXl - case 32: self = .heart - case 33: self = .timer - case 34: self = .postcard - case 35: self = .sticker + case 1: self = .attack + case 2: self = .dodge + case 3: self = .specialAttack + case 4: self = .swapPokemon + case 5: self = .faint + case 6: self = .playerJoin + case 7: self = .playerQuit + case 8: self = .victory + case 9: self = .defeat + case 10: self = .timedOut + case 11: self = .specialAttack2 + case 12: self = .useItem + case 13: self = .displayChange + case 14: self = .activateAbility default: self = .UNRECOGNIZED(rawValue) } } @@ -40107,41 +41308,20 @@ public struct BonusBoxProto { public var rawValue: Int { switch self { case .unset: return 0 - case .adventureSync: return 1 - case .buddy: return 2 - case .candyGeneral: return 3 - case .egg: return 4 - case .eggIncubator: return 5 - case .eventMove: return 6 - case .evolution: return 7 - case .fieldResearch: return 8 - case .friendship: return 9 - case .gift: return 10 - case .incense: return 11 - case .luckyEgg: return 12 - case .lureModule: return 13 - case .photobomb: return 14 - case .pokestop: return 15 - case .raid: return 16 - case .raidPass: return 17 - case .spawnUnknown: return 18 - case .starPiece: return 19 - case .stardust: return 20 - case .teamRocket: return 21 - case .trade: return 22 - case .transferCandy: return 23 - case .battle: return 24 - case .xp: return 25 - case .shop: return 26 - case .location: return 27 - case .event: return 28 - case .mysteryBox: return 29 - case .tradeBall: return 30 - case .candyXl: return 31 - case .heart: return 32 - case .timer: return 33 - case .postcard: return 34 - case .sticker: return 35 + case .attack: return 1 + case .dodge: return 2 + case .specialAttack: return 3 + case .swapPokemon: return 4 + case .faint: return 5 + case .playerJoin: return 6 + case .playerQuit: return 7 + case .victory: return 8 + case .defeat: return 9 + case .timedOut: return 10 + case .specialAttack2: return 11 + case .useItem: return 12 + case .displayChange: return 13 + case .activateAbility: return 14 case .UNRECOGNIZED(let i): return i } } @@ -40149,276 +41329,217 @@ public struct BonusBoxProto { } public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension BonusBoxProto.IconType: CaseIterable { +extension BattleActionProto.ActionType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BonusBoxProto.IconType] = [ + public static var allCases: [BattleActionProto.ActionType] = [ .unset, - .adventureSync, - .buddy, - .candyGeneral, - .egg, - .eggIncubator, - .eventMove, - .evolution, - .fieldResearch, - .friendship, - .gift, - .incense, - .luckyEgg, - .lureModule, - .photobomb, - .pokestop, - .raid, - .raidPass, - .spawnUnknown, - .starPiece, - .stardust, - .teamRocket, - .trade, - .transferCandy, - .battle, - .xp, - .shop, - .location, - .event, - .mysteryBox, - .tradeBall, - .candyXl, - .heart, - .timer, - .postcard, - .sticker, + .attack, + .dodge, + .specialAttack, + .swapPokemon, + .faint, + .playerJoin, + .playerQuit, + .victory, + .defeat, + .timedOut, + .specialAttack2, + .useItem, + .displayChange, + .activateAbility, ] } #endif // swift(>=4.2) -public struct BoolValue { +public struct BattleActionProtoLog { // 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. - public var value: Bool = false + public var type: BattleActionProto.ActionType = .unset + + public var actionStartOffsetMs: UInt32 = 0 + + public var durationMs: Int32 = 0 + + public var energyDelta: Int32 = 0 + + public var attackerIndex: Int32 = 0 + + public var targetIndex: Int32 = 0 + + public var activePokemonID: UInt64 = 0 + + public var damageWindowStartOffsetMs: UInt32 = 0 + + public var damageWindowEndOffsetMs: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BootSettingsProto { +public struct BattleAttributesProto { // 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. - public var enabled: Bool = false + public var staPercent: Float = 0 + + public var atkPercent: Float = 0 - public var obBool: Bool = false + public var defPercent: Float = 0 + + public var durationS: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BootTelemetry { +public struct BattleHubBadgeSettings { // 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. - public var nearestPoiDistance: Float = 0 - - public var poiWithinOneKmCount: Int32 = 0 + public var combatHubDisplayedBadges: [HoloBadgeType] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BootTime { +public struct BattleHubOrderSettings { // 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. - public var duration: MetricData { - get {return _storage._duration ?? MetricData()} - set {_uniqueStorage()._duration = newValue} - } - /// Returns true if `duration` has been explicitly set. - public var hasDuration: Bool {return _storage._duration != nil} - /// Clears the value of `duration`. Subsequent reads from it will return its default value. - public mutating func clearDuration() {_uniqueStorage()._duration = nil} + public var section: [BattleHubOrderSettings.SectionSettings] = [] - public var bootPhase: BootTime.BootPhase { - get {return _storage._bootPhase} - set {_uniqueStorage()._bootPhase = newValue} - } + public var sectionGroup: [BattleHubOrderSettings.SectionGroup] = [] - public var accountType: BootTime.AccountType { - get {return _storage._accountType} - set {_uniqueStorage()._accountType = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct SectionGroup { + // 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. + + public var section: [BattleHubSection] = [] - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } - public var obBool1: Bool { - get {return _storage._obBool1} - set {_uniqueStorage()._obBool1 = newValue} + public struct SectionSettings { + // 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. + + public var mainSection: BattleHubSection = .sectionUnset + + public var subsection: [BattleHubSubsection] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } + public init() {} +} + +public struct BattleLogProto { + // 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. + + public var state: BattleLogProto.State = .unset + + public var battleType: BattleLogProto.BattleType = .unset + + public var serverMs: Int64 = 0 + + public var battleActions: [BattleActionProto] = [] + + public var battleStartMs: Int64 = 0 + + public var battleEndMs: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum BootPhase: SwiftProtobuf.Enum { + public enum BattleType: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefined // = 0 - case timeToMap // = 1 - case logoScreenTime // = 2 - case mainSceneLoadTime // = 3 - case waitForAuth // = 4 - case initRemoteConfigVersions // = 5 - case initBundleDigest // = 6 - case initGmt // = 7 - case downloadI18N // = 8 - case downloadGlobalAssets // = 9 - case registerPushNotification // = 10 - case initializeUpsight // = 11 - case initializeCrittercism // = 12 - case loginVersionCheck // = 13 - case loginGetPlayer // = 14 - case loginAuthentication // = 15 - case modalTime // = 16 - case initializeAdjust // = 17 - case initializeFirebase // = 20 - case initializeCrashlytics // = 21 - case initializeBraze // = 22 - case downloadBootAddressables // = 23 - case initializeOmni // = 24 - case configureArdk // = 25 - case loadBootSequenceGui // = 26 - case waitServerSequenceDone // = 27 - case setMainSceneActive // = 28 - case installSceneContext // = 29 - case waitShowMap // = 30 + case unset // = 0 + case normal // = 1 + case training // = 2 + case raid // = 3 case UNRECOGNIZED(Int) public init() { - self = .undefined + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefined - case 1: self = .timeToMap - case 2: self = .logoScreenTime - case 3: self = .mainSceneLoadTime - case 4: self = .waitForAuth - case 5: self = .initRemoteConfigVersions - case 6: self = .initBundleDigest - case 7: self = .initGmt - case 8: self = .downloadI18N - case 9: self = .downloadGlobalAssets - case 10: self = .registerPushNotification - case 11: self = .initializeUpsight - case 12: self = .initializeCrittercism - case 13: self = .loginVersionCheck - case 14: self = .loginGetPlayer - case 15: self = .loginAuthentication - case 16: self = .modalTime - case 17: self = .initializeAdjust - case 20: self = .initializeFirebase - case 21: self = .initializeCrashlytics - case 22: self = .initializeBraze - case 23: self = .downloadBootAddressables - case 24: self = .initializeOmni - case 25: self = .configureArdk - case 26: self = .loadBootSequenceGui - case 27: self = .waitServerSequenceDone - case 28: self = .setMainSceneActive - case 29: self = .installSceneContext - case 30: self = .waitShowMap + case 0: self = .unset + case 1: self = .normal + case 2: self = .training + case 3: self = .raid default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefined: return 0 - case .timeToMap: return 1 - case .logoScreenTime: return 2 - case .mainSceneLoadTime: return 3 - case .waitForAuth: return 4 - case .initRemoteConfigVersions: return 5 - case .initBundleDigest: return 6 - case .initGmt: return 7 - case .downloadI18N: return 8 - case .downloadGlobalAssets: return 9 - case .registerPushNotification: return 10 - case .initializeUpsight: return 11 - case .initializeCrittercism: return 12 - case .loginVersionCheck: return 13 - case .loginGetPlayer: return 14 - case .loginAuthentication: return 15 - case .modalTime: return 16 - case .initializeAdjust: return 17 - case .initializeFirebase: return 20 - case .initializeCrashlytics: return 21 - case .initializeBraze: return 22 - case .downloadBootAddressables: return 23 - case .initializeOmni: return 24 - case .configureArdk: return 25 - case .loadBootSequenceGui: return 26 - case .waitServerSequenceDone: return 27 - case .setMainSceneActive: return 28 - case .installSceneContext: return 29 - case .waitShowMap: return 30 + case .unset: return 0 + case .normal: return 1 + case .training: return 2 + case .raid: return 3 case .UNRECOGNIZED(let i): return i } } } - public enum AccountType: SwiftProtobuf.Enum { + public enum State: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 - case google // = 1 - case ptc // = 2 - case facebook // = 3 - case superAwesome // = 4 - case apple // = 5 - case guest // = 6 + case unset // = 0 + case active // = 1 + case victory // = 2 + case defeated // = 3 + case timedOut // = 4 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown - case 1: self = .google - case 2: self = .ptc - case 3: self = .facebook - case 4: self = .superAwesome - case 5: self = .apple - case 6: self = .guest + case 0: self = .unset + case 1: self = .active + case 2: self = .victory + case 3: self = .defeated + case 4: self = .timedOut default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 - case .google: return 1 - case .ptc: return 2 - case .facebook: return 3 - case .superAwesome: return 4 - case .apple: return 5 - case .guest: return 6 + case .unset: return 0 + case .active: return 1 + case .victory: return 2 + case .defeated: return 3 + case .timedOut: return 4 case .UNRECOGNIZED(let i): return i } } @@ -40426,403 +41547,580 @@ public struct BootTime { } public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension BootTime.BootPhase: CaseIterable { +extension BattleLogProto.BattleType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BootTime.BootPhase] = [ - .undefined, - .timeToMap, - .logoScreenTime, - .mainSceneLoadTime, - .waitForAuth, - .initRemoteConfigVersions, - .initBundleDigest, - .initGmt, - .downloadI18N, - .downloadGlobalAssets, - .registerPushNotification, - .initializeUpsight, - .initializeCrittercism, - .loginVersionCheck, - .loginGetPlayer, - .loginAuthentication, - .modalTime, - .initializeAdjust, - .initializeFirebase, - .initializeCrashlytics, - .initializeBraze, - .downloadBootAddressables, - .initializeOmni, - .configureArdk, - .loadBootSequenceGui, - .waitServerSequenceDone, - .setMainSceneActive, - .installSceneContext, - .waitShowMap, + public static var allCases: [BattleLogProto.BattleType] = [ + .unset, + .normal, + .training, + .raid, ] } -extension BootTime.AccountType: CaseIterable { +extension BattleLogProto.State: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BootTime.AccountType] = [ - .unknown, - .google, - .ptc, - .facebook, - .superAwesome, - .apple, - .guest, + public static var allCases: [BattleLogProto.State] = [ + .unset, + .active, + .victory, + .defeated, + .timedOut, ] } #endif // swift(>=4.2) -public struct BoundingRect { +public struct BattleParticipantProto { // 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. - public var north: Double = 0 - - public var south: Double = 0 + public var activePokemon: PokemonInfo { + get {return _storage._activePokemon ?? PokemonInfo()} + set {_uniqueStorage()._activePokemon = newValue} + } + /// Returns true if `activePokemon` has been explicitly set. + public var hasActivePokemon: Bool {return _storage._activePokemon != nil} + /// Clears the value of `activePokemon`. Subsequent reads from it will return its default value. + public mutating func clearActivePokemon() {_uniqueStorage()._activePokemon = nil} - public var east: Double = 0 + public var trainerPublicProfile: PlayerPublicProfileProto { + get {return _storage._trainerPublicProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._trainerPublicProfile = newValue} + } + /// Returns true if `trainerPublicProfile` has been explicitly set. + public var hasTrainerPublicProfile: Bool {return _storage._trainerPublicProfile != nil} + /// Clears the value of `trainerPublicProfile`. Subsequent reads from it will return its default value. + public mutating func clearTrainerPublicProfile() {_uniqueStorage()._trainerPublicProfile = nil} - public var west: Double = 0 + public var reservePokemon: [PokemonInfo] { + get {return _storage._reservePokemon} + set {_uniqueStorage()._reservePokemon = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var defeatedPokemon: [PokemonInfo] { + get {return _storage._defeatedPokemon} + set {_uniqueStorage()._defeatedPokemon = newValue} + } - public init() {} -} + public var lobbyPokemon: [LobbyPokemonProto] { + get {return _storage._lobbyPokemon} + set {_uniqueStorage()._lobbyPokemon = newValue} + } -public struct BreadcrumbRecordProto { - // 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. + public var damageDealt: Int32 { + get {return _storage._damageDealt} + set {_uniqueStorage()._damageDealt = newValue} + } - public var timestampMs: Int64 = 0 + public var superEffectiveChargeMove: Bool { + get {return _storage._superEffectiveChargeMove} + set {_uniqueStorage()._superEffectiveChargeMove = newValue} + } - public var latitudeDeg: Double = 0 + public var weatherBoosted: Bool { + get {return _storage._weatherBoosted} + set {_uniqueStorage()._weatherBoosted = newValue} + } - public var longitudeDeg: Double = 0 + public var highestFriendshipMilestone: FriendshipLevelMilestone { + get {return _storage._highestFriendshipMilestone} + set {_uniqueStorage()._highestFriendshipMilestone = newValue} + } - public var appIsForegrounded: Bool = false + public var friendCodename: [String] { + get {return _storage._friendCodename} + set {_uniqueStorage()._friendCodename = newValue} + } - public var altitudeM: Double = 0 + public var isRemote: Bool { + get {return _storage._isRemote} + set {_uniqueStorage()._isRemote = newValue} + } + + public var isSocialInvite: Bool { + get {return _storage._isSocialInvite} + set {_uniqueStorage()._isSocialInvite = newValue} + } + + public var hasActiveMegaEvolvedPokemon_p: Bool { + get {return _storage._hasActiveMegaEvolvedPokemon_p} + set {_uniqueStorage()._hasActiveMegaEvolvedPokemon_p = newValue} + } + + public var lobbyJoinTimeMs: Int64 { + get {return _storage._lobbyJoinTimeMs} + set {_uniqueStorage()._lobbyJoinTimeMs = newValue} + } + + public var superEffectiveChargeAttacksUsed: Int32 { + get {return _storage._superEffectiveChargeAttacksUsed} + set {_uniqueStorage()._superEffectiveChargeAttacksUsed = newValue} + } + + public var pokemonSurvival: PokemonSurvivalTimeInfo { + get {return _storage._pokemonSurvival ?? PokemonSurvivalTimeInfo()} + set {_uniqueStorage()._pokemonSurvival = newValue} + } + /// Returns true if `pokemonSurvival` has been explicitly set. + public var hasPokemonSurvival: Bool {return _storage._pokemonSurvival != nil} + /// Clears the value of `pokemonSurvival`. Subsequent reads from it will return its default value. + public mutating func clearPokemonSurvival() {_uniqueStorage()._pokemonSurvival = nil} + + public var battleMegaPokemonID: UInt64 { + get {return _storage._battleMegaPokemonID} + set {_uniqueStorage()._battleMegaPokemonID = newValue} + } + + public var tallPokemonID: UInt64 { + get {return _storage._tallPokemonID} + set {_uniqueStorage()._tallPokemonID = newValue} + } + + public var numberOfChargeAttacksUsed: Int32 { + get {return _storage._numberOfChargeAttacksUsed} + set {_uniqueStorage()._numberOfChargeAttacksUsed = newValue} + } + + public var lastPlayerJoinTimeMs: Int64 { + get {return _storage._lastPlayerJoinTimeMs} + set {_uniqueStorage()._lastPlayerJoinTimeMs = newValue} + } + + public var lastPlayerQuitTimeMs: Int64 { + get {return _storage._lastPlayerQuitTimeMs} + set {_uniqueStorage()._lastPlayerQuitTimeMs = newValue} + } + + public var playerID: String { + get {return _storage._playerID} + set {_uniqueStorage()._playerID = newValue} + } + + public var referencedPokemon: [PokemonInfo] { + get {return _storage._referencedPokemon} + set {_uniqueStorage()._referencedPokemon = newValue} + } + + public var joinBuddyPokemonID: UInt64 { + get {return _storage._joinBuddyPokemonID} + set {_uniqueStorage()._joinBuddyPokemonID = newValue} + } + + public var battleBuddyPokemonID: UInt64 { + get {return _storage._battleBuddyPokemonID} + set {_uniqueStorage()._battleBuddyPokemonID = newValue} + } + + public var remoteFriends: Int32 { + get {return _storage._remoteFriends} + set {_uniqueStorage()._remoteFriends = newValue} + } + + public var localFriends: Int32 { + get {return _storage._localFriends} + set {_uniqueStorage()._localFriends = newValue} + } + + public var lastUpdateTimeMs: Int64 { + get {return _storage._lastUpdateTimeMs} + set {_uniqueStorage()._lastUpdateTimeMs = newValue} + } + + public var bootRaidState: Bool { + get {return _storage._bootRaidState} + set {_uniqueStorage()._bootRaidState = newValue} + } + + public var enabledRaidFriendRequests: Bool { + get {return _storage._enabledRaidFriendRequests} + set {_uniqueStorage()._enabledRaidFriendRequests = newValue} + } + + public var notableActionHistory: [VsActionHistory] { + get {return _storage._notableActionHistory} + set {_uniqueStorage()._notableActionHistory = newValue} + } + + public var activePokemonStatModifiers: Dictionary { + get {return _storage._activePokemonStatModifiers} + set {_uniqueStorage()._activePokemonStatModifiers = newValue} + } + + public var abilityEnergy: Dictionary { + get {return _storage._abilityEnergy} + set {_uniqueStorage()._abilityEnergy = newValue} + } + + public var abilityActivationCount: Dictionary { + get {return _storage._abilityActivationCount} + set {_uniqueStorage()._abilityActivationCount = newValue} + } + + public var usedPokemon: [PokemonProto] { + get {return _storage._usedPokemon} + set {_uniqueStorage()._usedPokemon = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct BuddyActivityCategorySettings { +public struct BattlePartiesProto { // 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. - public var activityCategory: BuddyActivityCategory = .buddyCategoryUnset - - public var maxPointsPerDay: Int32 = 0 + public var battleParties: [BattlePartyProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BuddyActivitySettings { +public struct BattlePartyProto { // 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. - public var activity: BuddyActivity = .unset + public var name: String = String() - public var activityCategory: BuddyActivityCategory = .buddyCategoryUnset + public var teamNumber: Int32 = 0 - public var maxTimesPerDay: Int32 = 0 + public var ids: [UInt64] = [] - public var numPointsPerAction: Int32 = 0 + public var combatLeagueID: String = String() - public var numEmotionPointsPerAction: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var emotionCooldownDurationMs: Int64 = 0 + public init() {} +} + +public struct BattlePartySettingsProto { + // 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. + + public var enableBattlePartySaving: Bool = false + + public var maxBattleParties: Int32 = 0 + + public var overallPartiesCap: Int32 = 0 + + public var gymAndRaidBattlePartySize: Int32 = 0 + + public var maxPartyNameLength: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BuddyConsumablesLogEntry { +public struct BattlePartyTelemetry { // 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. - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} + public var battlePartyClickID: BattlePartyTelemetryIds = .undefinedBattlePartyEvent + + public var battlePartyCount: Int32 = 0 + + public var battlePartyNumber: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _rewards: LootProto? = nil } -public struct BuddyDataProto { +public struct BattleProto { // 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. - public var buddyPokemonID: UInt64 { - get {return _storage._buddyPokemonID} - set {_uniqueStorage()._buddyPokemonID = newValue} - } + public var battleStartMs: Int64 = 0 - public var currentPointsEarned: Int32 { - get {return _storage._currentPointsEarned} - set {_uniqueStorage()._currentPointsEarned = newValue} - } + public var battleEndMs: Int64 = 0 - public var highestPointsEarned: Int32 { - get {return _storage._highestPointsEarned} - set {_uniqueStorage()._highestPointsEarned = newValue} - } + public var battleID: String = String() - public var lastReachedFullMs: Int64 { - get {return _storage._lastReachedFullMs} - set {_uniqueStorage()._lastReachedFullMs = newValue} + public var defender: BattleParticipantProto { + get {return _defender ?? BattleParticipantProto()} + set {_defender = newValue} } + /// Returns true if `defender` has been explicitly set. + public var hasDefender: Bool {return self._defender != nil} + /// Clears the value of `defender`. Subsequent reads from it will return its default value. + public mutating func clearDefender() {self._defender = nil} - public var lastGroomedMs: Int64 { - get {return _storage._lastGroomedMs} - set {_uniqueStorage()._lastGroomedMs = newValue} + public var battleLog: BattleLogProto { + get {return _battleLog ?? BattleLogProto()} + set {_battleLog = newValue} } + /// Returns true if `battleLog` has been explicitly set. + public var hasBattleLog: Bool {return self._battleLog != nil} + /// Clears the value of `battleLog`. Subsequent reads from it will return its default value. + public mutating func clearBattleLog() {self._battleLog = nil} - public var mapExpirationMs: Int64 { - get {return _storage._mapExpirationMs} - set {_uniqueStorage()._mapExpirationMs = newValue} + public var attacker: BattleParticipantProto { + get {return _attacker ?? BattleParticipantProto()} + set {_attacker = newValue} } + /// Returns true if `attacker` has been explicitly set. + public var hasAttacker: Bool {return self._attacker != nil} + /// Clears the value of `attacker`. Subsequent reads from it will return its default value. + public mutating func clearAttacker() {self._attacker = nil} - public var kmCandyPending: Float { - get {return _storage._kmCandyPending} - set {_uniqueStorage()._kmCandyPending = newValue} - } + public var weatherCondition: GameplayWeatherProto.WeatherCondition = .none - public var buddyGiftPickedUp: BuddyGiftProto { - get {return _storage._buddyGiftPickedUp ?? BuddyGiftProto()} - set {_uniqueStorage()._buddyGiftPickedUp = newValue} - } - /// Returns true if `buddyGiftPickedUp` has been explicitly set. - public var hasBuddyGiftPickedUp: Bool {return _storage._buddyGiftPickedUp != nil} - /// Clears the value of `buddyGiftPickedUp`. Subsequent reads from it will return its default value. - public mutating func clearBuddyGiftPickedUp() {_uniqueStorage()._buddyGiftPickedUp = nil} + public var highestFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset - public var currentEmotionPoints: Int32 { - get {return _storage._currentEmotionPoints} - set {_uniqueStorage()._currentEmotionPoints = newValue} - } + public var battleExperiment: [BattleExperiment] = [] - public var dailyActivityCounters: Dictionary { - get {return _storage._dailyActivityCounters} - set {_uniqueStorage()._dailyActivityCounters = newValue} - } + public var abilityResultLocation: Dictionary = [:] - public var dailyCategoryCounters: Dictionary { - get {return _storage._dailyCategoryCounters} - set {_uniqueStorage()._dailyCategoryCounters = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var statsToday: BuddyDataProto.BuddyStoredStats { - get {return _storage._statsToday ?? BuddyDataProto.BuddyStoredStats()} - set {_uniqueStorage()._statsToday = newValue} - } - /// Returns true if `statsToday` has been explicitly set. - public var hasStatsToday: Bool {return _storage._statsToday != nil} - /// Clears the value of `statsToday`. Subsequent reads from it will return its default value. - public mutating func clearStatsToday() {_uniqueStorage()._statsToday = nil} + public init() {} - public var statsTotal: BuddyDataProto.BuddyStoredStats { - get {return _storage._statsTotal ?? BuddyDataProto.BuddyStoredStats()} - set {_uniqueStorage()._statsTotal = newValue} - } - /// Returns true if `statsTotal` has been explicitly set. - public var hasStatsTotal: Bool {return _storage._statsTotal != nil} - /// Clears the value of `statsTotal`. Subsequent reads from it will return its default value. - public mutating func clearStatsTotal() {_uniqueStorage()._statsTotal = nil} + fileprivate var _defender: BattleParticipantProto? = nil + fileprivate var _battleLog: BattleLogProto? = nil + fileprivate var _attacker: BattleParticipantProto? = nil +} - public var souvenirsCollected: Dictionary { - get {return _storage._souvenirsCollected} - set {_uniqueStorage()._souvenirsCollected = newValue} - } +public struct BattleQuestProto { + // 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. - public var currentHungerPoints: Int32 { - get {return _storage._currentHungerPoints} - set {_uniqueStorage()._currentHungerPoints = newValue} - } + public var battleID: [String] = [] - public var interactionExpirationMs: Int64 { - get {return _storage._interactionExpirationMs} - set {_uniqueStorage()._interactionExpirationMs = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var poffinFeedingExpirationMs: Int64 { - get {return _storage._poffinFeedingExpirationMs} - set {_uniqueStorage()._poffinFeedingExpirationMs = newValue} + public init() {} +} + +public struct BattleResultsProto { + // 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. + + public var gymState: GymStateProto { + get {return _storage._gymState ?? GymStateProto()} + set {_uniqueStorage()._gymState = newValue} } + /// Returns true if `gymState` has been explicitly set. + public var hasGymState: Bool {return _storage._gymState != nil} + /// Clears the value of `gymState`. Subsequent reads from it will return its default value. + public mutating func clearGymState() {_uniqueStorage()._gymState = nil} - public var lastAffectionOrEmotionAwardedKm: Float { - get {return _storage._lastAffectionOrEmotionAwardedKm} - set {_uniqueStorage()._lastAffectionOrEmotionAwardedKm = newValue} + public var attackers: [BattleParticipantProto] { + get {return _storage._attackers} + set {_uniqueStorage()._attackers = newValue} } - public var lastSetTimestampMs: Int64 { - get {return _storage._lastSetTimestampMs} - set {_uniqueStorage()._lastSetTimestampMs = newValue} + public var playerXpAwarded: [Int32] { + get {return _storage._playerXpAwarded} + set {_uniqueStorage()._playerXpAwarded = newValue} } - public var lastUnsetTimestampMs: Int64 { - get {return _storage._lastUnsetTimestampMs} - set {_uniqueStorage()._lastUnsetTimestampMs = newValue} + public var nextDefenderPokemonID: Int64 { + get {return _storage._nextDefenderPokemonID} + set {_uniqueStorage()._nextDefenderPokemonID = newValue} } - public var ditched: Bool { - get {return _storage._ditched} - set {_uniqueStorage()._ditched = newValue} + public var gymPointsDelta: Int32 { + get {return _storage._gymPointsDelta} + set {_uniqueStorage()._gymPointsDelta = newValue} } - public var pokemonDisplay: PokemonDisplayProto { - get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} - set {_uniqueStorage()._pokemonDisplay = newValue} + public var gymStatus: GymStatusAndDefendersProto { + get {return _storage._gymStatus ?? GymStatusAndDefendersProto()} + set {_uniqueStorage()._gymStatus = newValue} } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} + /// Returns true if `gymStatus` has been explicitly set. + public var hasGymStatus: Bool {return _storage._gymStatus != nil} + /// Clears the value of `gymStatus`. Subsequent reads from it will return its default value. + public mutating func clearGymStatus() {_uniqueStorage()._gymStatus = nil} - public var hatchedFromEgg: Bool { - get {return _storage._hatchedFromEgg} - set {_uniqueStorage()._hatchedFromEgg = newValue} + public var participation: [ParticipationProto] { + get {return _storage._participation} + set {_uniqueStorage()._participation = newValue} } - public var nickname: String { - get {return _storage._nickname} - set {_uniqueStorage()._nickname = newValue} + public var raidItemRewards: [LootProto] { + get {return _storage._raidItemRewards} + set {_uniqueStorage()._raidItemRewards = newValue} } - public var capturedS2CellID: Int64 { - get {return _storage._capturedS2CellID} - set {_uniqueStorage()._capturedS2CellID = newValue} + public var postRaidEncounter: [RaidEncounterProto] { + get {return _storage._postRaidEncounter} + set {_uniqueStorage()._postRaidEncounter = newValue} } - public var pokedexEntryNumber: HoloPokemonId { - get {return _storage._pokedexEntryNumber} - set {_uniqueStorage()._pokedexEntryNumber = newValue} + public var gymBadge: [AwardedGymBadge] { + get {return _storage._gymBadge} + set {_uniqueStorage()._gymBadge = newValue} } - public var creationTimestampMs: Int64 { - get {return _storage._creationTimestampMs} - set {_uniqueStorage()._creationTimestampMs = newValue} + public var defaultRaidItemRewards: [LootProto] { + get {return _storage._defaultRaidItemRewards} + set {_uniqueStorage()._defaultRaidItemRewards = newValue} } - public var pokeball: Item { - get {return _storage._pokeball} - set {_uniqueStorage()._pokeball = newValue} + public var battleDurationMs: Int64 { + get {return _storage._battleDurationMs} + set {_uniqueStorage()._battleDurationMs = newValue} } - public var numDaysSpentWithBuddy: Int32 { - get {return _storage._numDaysSpentWithBuddy} - set {_uniqueStorage()._numDaysSpentWithBuddy = newValue} + public var raidPlayerStats: RaidPlayerStatsProto { + get {return _storage._raidPlayerStats ?? RaidPlayerStatsProto()} + set {_uniqueStorage()._raidPlayerStats = newValue} } + /// Returns true if `raidPlayerStats` has been explicitly set. + public var hasRaidPlayerStats: Bool {return _storage._raidPlayerStats != nil} + /// Clears the value of `raidPlayerStats`. Subsequent reads from it will return its default value. + public mutating func clearRaidPlayerStats() {_uniqueStorage()._raidPlayerStats = nil} - public var originalOwnerNickname: String { - get {return _storage._originalOwnerNickname} - set {_uniqueStorage()._originalOwnerNickname = newValue} + public var xlCandyAwarded: [Int32] { + get {return _storage._xlCandyAwarded} + set {_uniqueStorage()._xlCandyAwarded = newValue} } - public var tradedTimeMs: Int64 { - get {return _storage._tradedTimeMs} - set {_uniqueStorage()._tradedTimeMs = newValue} + public var xlCandyPokemonID: HoloPokemonId { + get {return _storage._xlCandyPokemonID} + set {_uniqueStorage()._xlCandyPokemonID = newValue} } - public var attractivePoiID: String { - get {return _storage._attractivePoiID} - set {_uniqueStorage()._attractivePoiID = newValue} + public var candyAwarded: [Int32] { + get {return _storage._candyAwarded} + set {_uniqueStorage()._candyAwarded = newValue} } - public var attractivePoiTimeGenerated: Int64 { - get {return _storage._attractivePoiTimeGenerated} - set {_uniqueStorage()._attractivePoiTimeGenerated = newValue} + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct BattleUpdateProto { + // 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. + + public var battleLog: BattleLogProto { + get {return _storage._battleLog ?? BattleLogProto()} + set {_uniqueStorage()._battleLog = newValue} } + /// Returns true if `battleLog` has been explicitly set. + public var hasBattleLog: Bool {return _storage._battleLog != nil} + /// Clears the value of `battleLog`. Subsequent reads from it will return its default value. + public mutating func clearBattleLog() {_uniqueStorage()._battleLog = nil} - public var attractivePoiCooldownMs: Int64 { - get {return _storage._attractivePoiCooldownMs} - set {_uniqueStorage()._attractivePoiCooldownMs = newValue} + public var battleID: String { + get {return _storage._battleID} + set {_uniqueStorage()._battleID = newValue} } - public var attractivePoiVisited: Bool { - get {return _storage._attractivePoiVisited} - set {_uniqueStorage()._attractivePoiVisited = newValue} + public var activeDefender: PokemonInfo { + get {return _storage._activeDefender ?? PokemonInfo()} + set {_uniqueStorage()._activeDefender = newValue} } + /// Returns true if `activeDefender` has been explicitly set. + public var hasActiveDefender: Bool {return _storage._activeDefender != nil} + /// Clears the value of `activeDefender`. Subsequent reads from it will return its default value. + public mutating func clearActiveDefender() {_uniqueStorage()._activeDefender = nil} - public var berryCooldownMs: Int64 { - get {return _storage._berryCooldownMs} - set {_uniqueStorage()._berryCooldownMs = newValue} + public var activeAttacker: PokemonInfo { + get {return _storage._activeAttacker ?? PokemonInfo()} + set {_uniqueStorage()._activeAttacker = newValue} } + /// Returns true if `activeAttacker` has been explicitly set. + public var hasActiveAttacker: Bool {return _storage._activeAttacker != nil} + /// Clears the value of `activeAttacker`. Subsequent reads from it will return its default value. + public mutating func clearActiveAttacker() {_uniqueStorage()._activeAttacker = nil} - public var activityEmotionLastIncrementMs: Dictionary { - get {return _storage._activityEmotionLastIncrementMs} - set {_uniqueStorage()._activityEmotionLastIncrementMs = newValue} + public var highestFriendshipMilestone: FriendshipLevelMilestone { + get {return _storage._highestFriendshipMilestone} + set {_uniqueStorage()._highestFriendshipMilestone = newValue} } - public var window: Int64 { - get {return _storage._window} - set {_uniqueStorage()._window = newValue} + public var renderEffects: [FormRenderModifier] { + get {return _storage._renderEffects} + set {_uniqueStorage()._renderEffects = newValue} } - public var lastFedMs: Int64 { - get {return _storage._lastFedMs} - set {_uniqueStorage()._lastFedMs = newValue} + public var remainingItem: [BattleUpdateProto.AvailableItem] { + get {return _storage._remainingItem} + set {_uniqueStorage()._remainingItem = newValue} } - public var lastWindowBuddyOnMap: Int32 { - get {return _storage._lastWindowBuddyOnMap} - set {_uniqueStorage()._lastWindowBuddyOnMap = newValue} + public var activeItem: [BattleUpdateProto.ActiveItem] { + get {return _storage._activeItem} + set {_uniqueStorage()._activeItem = newValue} } - public var lastWindowFedPoffin: Int32 { - get {return _storage._lastWindowFedPoffin} - set {_uniqueStorage()._lastWindowFedPoffin = newValue} + public var abilityEnergy: Dictionary { + get {return _storage._abilityEnergy} + set {_uniqueStorage()._abilityEnergy = newValue} } - public var yattaExpirationMs: Int64 { - get {return _storage._yattaExpirationMs} - set {_uniqueStorage()._yattaExpirationMs = newValue} + public var activePokemonStatModifiers: Dictionary { + get {return _storage._activePokemonStatModifiers} + set {_uniqueStorage()._activePokemonStatModifiers = newValue} } - public var hungerPoints: Float { - get {return _storage._hungerPoints} - set {_uniqueStorage()._hungerPoints = newValue} + public var partyMemberCount: Int32 { + get {return _storage._partyMemberCount} + set {_uniqueStorage()._partyMemberCount = newValue} } public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct BuddyStoredStats { + public struct ActiveItem { // 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. - public var window: Int64 = 0 + public var item: ItemProto { + get {return _item ?? ItemProto()} + set {_item = newValue} + } + /// Returns true if `item` has been explicitly set. + public var hasItem: Bool {return self._item != nil} + /// Clears the value of `item`. Subsequent reads from it will return its default value. + public mutating func clearItem() {self._item = nil} - public var buddyStats: Dictionary = [:] + public var user: String = String() + + public var usageTimeMs: Int64 = 0 + + public var expiryTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _item: ItemProto? = nil + } + + public struct AvailableItem { + // 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. + + public var item: Item = .unknown + + public var quantity: Int32 = 0 + + public var nextAvailableMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -40834,95 +42132,139 @@ public struct BuddyDataProto { fileprivate var _storage = _StorageClass.defaultInstance } -public struct BuddyEmotionLevelSettings { +public struct BattleVisualSettingsProto { // 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. - public var emotionLevel: BuddyEmotionLevel = .unset - - public var minEmotionPointsRequired: Int32 = 0 + public var enhancementsEnabled: Bool = false - public var emotionAnimation: BuddyAnimation = .unset + public var crowdTextureAsset: String = String() - public var decayPreventionDurationMs: Int64 = 0 + public var bannerTextureAsset: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BuddyEncounterCameoSettings { +public struct BelugaBleCompleteTransferRequestProto { // 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. - public var buddyWildEncounterCameoChancePercent: Float = 0 + public var transactionID: Int64 = 0 - public var buddyQuestEncounterCameoChancePercent: Float = 0 + public var belugaRequestedItemID: Int32 = 0 - public var buddyRaidEncounterCameoChancePercent: Float = 0 + public var nonce: String = String() - public var buddyInvasionEncounterCameoChancePercent: Float = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var buddyOnMapRequired: Bool = false + public init() {} +} + +public struct BelugaBleFinalizeTransfer { + // 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. + + public var belugaTransferComplete: BelugaBleTransferCompleteProto { + get {return _belugaTransferComplete ?? BelugaBleTransferCompleteProto()} + set {_belugaTransferComplete = newValue} + } + /// Returns true if `belugaTransferComplete` has been explicitly set. + public var hasBelugaTransferComplete: Bool {return self._belugaTransferComplete != nil} + /// Clears the value of `belugaTransferComplete`. Subsequent reads from it will return its default value. + public mutating func clearBelugaTransferComplete() {self._belugaTransferComplete = nil} + + public var serverSignature: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _belugaTransferComplete: BelugaBleTransferCompleteProto? = nil } -public struct BuddyEncounterHelpTelemetry { +public struct BelugaBleTransferCompleteProto { // 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. - public var pokemonID: HoloPokemonId = .missingno + public var nonce: String = String() - public var cp: Int32 = 0 + public var belugaID: String = String() - public var encounterType: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var arClassicEnabled: Bool = false + public init() {} +} - public var arPlusEnabled: Bool = false +public struct BelugaBleTransferPrepProto { + // 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. - public var encounter: EncounterType = .spawnPoint + public var pokemonList: [BelugaPokemonProto] = [] + + public var eligbleForItem: Bool = false + + public var transactionID: Int64 = 0 + + public var belugaID: String = String() + + public var nonce: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BuddyEvolutionWalkQuestProto { +public struct BelugaBleTransferProto { // 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. - public var lastKmRecorded: Float = 0 + public var serverResponse: BelugaBleTransferPrepProto { + get {return _serverResponse ?? BelugaBleTransferPrepProto()} + set {_serverResponse = newValue} + } + /// Returns true if `serverResponse` has been explicitly set. + public var hasServerResponse: Bool {return self._serverResponse != nil} + /// Clears the value of `serverResponse`. Subsequent reads from it will return its default value. + public mutating func clearServerResponse() {self._serverResponse = nil} + + public var serverSignature: Data = Data() + + public var localizedOrigins: [String] = [] + + public var language: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _serverResponse: BelugaBleTransferPrepProto? = nil } -public struct BuddyFeedingOutProto { +public struct BelugaDailyTransferLogEntry { // 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. - public var result: BuddyFeedingOutProto.Result = .unset + public var result: BelugaDailyTransferLogEntry.Result = .unset - public var observedData: BuddyObservedData { - get {return _observedData ?? BuddyObservedData()} - set {_observedData = newValue} - } - /// Returns true if `observedData` has been explicitly set. - public var hasObservedData: Bool {return self._observedData != nil} - /// Clears the value of `observedData`. Subsequent reads from it will return its default value. - public mutating func clearObservedData() {self._observedData = nil} + public var includesWeeklyBonus: Bool = false - public var shownHearts: BuddyStatsShownHearts.BuddyShownHeartType = .buddyHeartUnset + public var itemsAwarded: LootProto { + get {return _itemsAwarded ?? LootProto()} + set {_itemsAwarded = newValue} + } + /// Returns true if `itemsAwarded` has been explicitly set. + public var hasItemsAwarded: Bool {return self._itemsAwarded != nil} + /// Clears the value of `itemsAwarded`. Subsequent reads from it will return its default value. + public mutating func clearItemsAwarded() {self._itemsAwarded = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -40930,10 +42272,6 @@ public struct BuddyFeedingOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorBuddyNotValid // = 2 - case failedInsufficientResources // = 3 - case failedInvalidItemRequirement // = 4 - case failedBuddyStillFullFromPoffin // = 5 case UNRECOGNIZED(Int) public init() { @@ -40944,10 +42282,6 @@ public struct BuddyFeedingOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorBuddyNotValid - case 3: self = .failedInsufficientResources - case 4: self = .failedInvalidItemRequirement - case 5: self = .failedBuddyStillFullFromPoffin default: self = .UNRECOGNIZED(rawValue) } } @@ -40956,10 +42290,6 @@ public struct BuddyFeedingOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorBuddyNotValid: return 2 - case .failedInsufficientResources: return 3 - case .failedInvalidItemRequirement: return 4 - case .failedBuddyStillFullFromPoffin: return 5 case .UNRECOGNIZED(let i): return i } } @@ -40968,120 +42298,85 @@ public struct BuddyFeedingOutProto { public init() {} - fileprivate var _observedData: BuddyObservedData? = nil + fileprivate var _itemsAwarded: LootProto? = nil } #if swift(>=4.2) -extension BuddyFeedingOutProto.Result: CaseIterable { +extension BelugaDailyTransferLogEntry.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BuddyFeedingOutProto.Result] = [ + public static var allCases: [BelugaDailyTransferLogEntry.Result] = [ .unset, .success, - .errorBuddyNotValid, - .failedInsufficientResources, - .failedInvalidItemRequirement, - .failedBuddyStillFullFromPoffin, ] } #endif // swift(>=4.2) -public struct BuddyFeedingProto { +public struct BelugaGlobalSettingsProto { // 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. - public var item: Item = .unknown + public var enableBelugaTransfer: Bool = false - public var count: Int32 = 0 + public var maxNumPokemonPerTransfer: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BuddyGiftProto { +public struct BelugaIncenseBoxProto { // 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. - public var souvenir: SouvenirProto { - get {return _souvenir ?? SouvenirProto()} - set {_souvenir = newValue} - } - /// Returns true if `souvenir` has been explicitly set. - public var hasSouvenir: Bool {return self._souvenir != nil} - /// Clears the value of `souvenir`. Subsequent reads from it will return its default value. - public mutating func clearSouvenir() {self._souvenir = nil} + public var isUsable: Bool = false - public var lootProto: LootProto { - get {return _lootProto ?? LootProto()} - set {_lootProto = newValue} + public var coolDownFinishedTimestampMs: Int64 = 0 + + public var sparklyLimit: DailyCounterProto { + get {return _sparklyLimit ?? DailyCounterProto()} + set {_sparklyLimit = newValue} } - /// Returns true if `lootProto` has been explicitly set. - public var hasLootProto: Bool {return self._lootProto != nil} - /// Clears the value of `lootProto`. Subsequent reads from it will return its default value. - public mutating func clearLootProto() {self._lootProto = nil} + /// Returns true if `sparklyLimit` has been explicitly set. + public var hasSparklyLimit: Bool {return self._sparklyLimit != nil} + /// Clears the value of `sparklyLimit`. Subsequent reads from it will return its default value. + public mutating func clearSparklyLimit() {self._sparklyLimit = nil} + + public var sparklyCounter: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _souvenir: SouvenirProto? = nil - fileprivate var _lootProto: LootProto? = nil + fileprivate var _sparklyLimit: DailyCounterProto? = nil } -public struct BuddyGlobalSettingsProto { +public struct BelugaPokemonProto { // 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. - public var buddyV2MinPlayerLevel: Int32 = 0 - - public var buddyMultiplayerMinPlayerLevel: Int32 = 0 - - public var enableMonodepth: Bool = false - - public var monodepthDevices: [String] = [] - - public var lobbyStatusMessageDurationMs: Int32 = 0 - - public var mappingInstructionDurationMs: Int32 = 0 - - public var groupPhotoLeaderTrackingIntervalMs: Int32 = 0 - - public var groupPhotoCountdownMs: Int32 = 0 - - public var lobbyTimeoutMs: Int32 = 0 - - public var enableWallabyTelemetry: Bool = false - - public var mappingHintTimeoutMs: Int32 = 0 - - public var groupPhotoSimultaneousShots: Int32 = 0 - - public var plfeAuthTokensEnabled: Bool = false - - public var groupPhotoShotIntervalMs: Int32 = 0 - - public var arbeEndpointURL: String = String() - - public var buddyOnMapRequiredToOpenGifts: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var trainerName: String { + get {return _storage._trainerName} + set {_uniqueStorage()._trainerName = newValue} + } - public init() {} -} + public var trainerGender: BelugaPokemonProto.TrainerGender { + get {return _storage._trainerGender} + set {_uniqueStorage()._trainerGender = newValue} + } -public struct BuddyHistoryData { - // 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. + public var trainerTeam: BelugaPokemonProto.Team { + get {return _storage._trainerTeam} + set {_uniqueStorage()._trainerTeam = newValue} + } - public var pokemonID: UInt64 { - get {return _storage._pokemonID} - set {_uniqueStorage()._pokemonID = newValue} + public var trainerLevel: Int32 { + get {return _storage._trainerLevel} + set {_uniqueStorage()._trainerLevel = newValue} } public var pokedexID: HoloPokemonId { @@ -41089,159 +42384,115 @@ public struct BuddyHistoryData { set {_uniqueStorage()._pokedexID = newValue} } - public var pokemonDisplay: PokemonDisplayProto { - get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} - set {_uniqueStorage()._pokemonDisplay = newValue} + public var cp: Int32 { + get {return _storage._cp} + set {_uniqueStorage()._cp = newValue} } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} - public var hatchedFromEgg: Bool { - get {return _storage._hatchedFromEgg} - set {_uniqueStorage()._hatchedFromEgg = newValue} + public var pokemonLevel: Float { + get {return _storage._pokemonLevel} + set {_uniqueStorage()._pokemonLevel = newValue} } - public var nickname: String { - get {return _storage._nickname} - set {_uniqueStorage()._nickname = newValue} + public var maxHp: Int32 { + get {return _storage._maxHp} + set {_uniqueStorage()._maxHp = newValue} } - public var capturedS2CellID: Int64 { - get {return _storage._capturedS2CellID} - set {_uniqueStorage()._capturedS2CellID = newValue} + public var originLat: Double { + get {return _storage._originLat} + set {_uniqueStorage()._originLat = newValue} } - public var creationTimestampMs: Int64 { - get {return _storage._creationTimestampMs} - set {_uniqueStorage()._creationTimestampMs = newValue} + public var originLng: Double { + get {return _storage._originLng} + set {_uniqueStorage()._originLng = newValue} } - public var pokeball: Item { - get {return _storage._pokeball} - set {_uniqueStorage()._pokeball = newValue} + public var height: Float { + get {return _storage._height} + set {_uniqueStorage()._height = newValue} } - public var totalStats: BuddyStats { - get {return _storage._totalStats ?? BuddyStats()} - set {_uniqueStorage()._totalStats = newValue} + public var weight: Float { + get {return _storage._weight} + set {_uniqueStorage()._weight = newValue} } - /// Returns true if `totalStats` has been explicitly set. - public var hasTotalStats: Bool {return _storage._totalStats != nil} - /// Clears the value of `totalStats`. Subsequent reads from it will return its default value. - public mutating func clearTotalStats() {_uniqueStorage()._totalStats = nil} - public var currentPointsEarned: Int32 { - get {return _storage._currentPointsEarned} - set {_uniqueStorage()._currentPointsEarned = newValue} + public var individualAttack: Int32 { + get {return _storage._individualAttack} + set {_uniqueStorage()._individualAttack = newValue} } - public var lastSetTimestampMs: Int64 { - get {return _storage._lastSetTimestampMs} - set {_uniqueStorage()._lastSetTimestampMs = newValue} + public var individualDefense: Int32 { + get {return _storage._individualDefense} + set {_uniqueStorage()._individualDefense = newValue} } - public var lastUnsetTimestampMs: Int64 { - get {return _storage._lastUnsetTimestampMs} - set {_uniqueStorage()._lastUnsetTimestampMs = newValue} + public var individualStamina: Int32 { + get {return _storage._individualStamina} + set {_uniqueStorage()._individualStamina = newValue} } - public var numDaysSpentWithBuddy: Int32 { - get {return _storage._numDaysSpentWithBuddy} - set {_uniqueStorage()._numDaysSpentWithBuddy = newValue} + public var creationDay: Int32 { + get {return _storage._creationDay} + set {_uniqueStorage()._creationDay = newValue} } - public var ditched: Bool { - get {return _storage._ditched} - set {_uniqueStorage()._ditched = newValue} + public var creationMonth: Int32 { + get {return _storage._creationMonth} + set {_uniqueStorage()._creationMonth = newValue} } - public var originalOwnerNickname: String { - get {return _storage._originalOwnerNickname} - set {_uniqueStorage()._originalOwnerNickname = newValue} + public var creationYear: Int32 { + get {return _storage._creationYear} + set {_uniqueStorage()._creationYear = newValue} } - public var tradedTimeMs: Int64 { - get {return _storage._tradedTimeMs} - set {_uniqueStorage()._tradedTimeMs = newValue} + public var nickname: String { + get {return _storage._nickname} + set {_uniqueStorage()._nickname = newValue} } - public var souvenirsCollected: Dictionary { - get {return _storage._souvenirsCollected} - set {_uniqueStorage()._souvenirsCollected = newValue} + public var gender: BelugaPokemonProto.PokemonGender { + get {return _storage._gender} + set {_uniqueStorage()._gender = newValue} } - public var kmCandyProgress: Float { - get {return _storage._kmCandyProgress} - set {_uniqueStorage()._kmCandyProgress = newValue} + public var costume: BelugaPokemonProto.PokemonCostume { + get {return _storage._costume} + set {_uniqueStorage()._costume = newValue} } - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct BuddyHungerSettings { - // 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. - - public var numHungerPointsRequiredForFull: Int32 = 0 - - public var decayPointsPerBucket: Int32 = 0 - - public var millisecondsPerBucket: Int64 = 0 - - public var cooldownDurationMs: Int64 = 0 - - public var decayDurationAfterFullMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct BuddyInteractionSettings { - // 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. - - public var feedItemWhitelist: [Item] = [] - - public var careItemWhitelist: [Item] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct BuddyLevelSettings { - // 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. + public var form: BelugaPokemonProto.PokemonForm { + get {return _storage._form} + set {_uniqueStorage()._form = newValue} + } - public var level: BuddyLevel = .unset + public var shiny: Bool { + get {return _storage._shiny} + set {_uniqueStorage()._shiny = newValue} + } - public var minNonCumulativePointsRequired: Int32 = 0 + public var move1: HoloPokemonMove { + get {return _storage._move1} + set {_uniqueStorage()._move1 = newValue} + } - public var unlockedTraits: [BuddyLevelSettings.BuddyTrait] = [] + public var move2: HoloPokemonMove { + get {return _storage._move2} + set {_uniqueStorage()._move2 = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum BuddyTrait: SwiftProtobuf.Enum { + public enum PokemonCostume: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case mapDeploy // = 1 - case encounterCameo // = 2 - case emotionIndicator // = 3 - case pickUpConsumables // = 4 - case pickUpSouvenirs // = 5 - case findAttractivePois // = 6 - case bestBuddyAsset // = 7 - case cpBoost // = 8 + case holiday2016 // = 1 + case anniversary // = 2 + case oneYearAnniversary // = 3 + case halloween2017 // = 4 case UNRECOGNIZED(Int) public init() { @@ -41251,14 +42502,10 @@ public struct BuddyLevelSettings { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .mapDeploy - case 2: self = .encounterCameo - case 3: self = .emotionIndicator - case 4: self = .pickUpConsumables - case 5: self = .pickUpSouvenirs - case 6: self = .findAttractivePois - case 7: self = .bestBuddyAsset - case 8: self = .cpBoost + case 1: self = .holiday2016 + case 2: self = .anniversary + case 3: self = .oneYearAnniversary + case 4: self = .halloween2017 default: self = .UNRECOGNIZED(rawValue) } } @@ -41266,105 +42513,134 @@ public struct BuddyLevelSettings { public var rawValue: Int { switch self { case .unset: return 0 - case .mapDeploy: return 1 - case .encounterCameo: return 2 - case .emotionIndicator: return 3 - case .pickUpConsumables: return 4 - case .pickUpSouvenirs: return 5 - case .findAttractivePois: return 6 - case .bestBuddyAsset: return 7 - case .cpBoost: return 8 + case .holiday2016: return 1 + case .anniversary: return 2 + case .oneYearAnniversary: return 3 + case .halloween2017: return 4 case .UNRECOGNIZED(let i): return i } } } - public init() {} -} - -#if swift(>=4.2) - -extension BuddyLevelSettings.BuddyTrait: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BuddyLevelSettings.BuddyTrait] = [ - .unset, - .mapDeploy, - .encounterCameo, - .emotionIndicator, - .pickUpConsumables, - .pickUpSouvenirs, - .findAttractivePois, - .bestBuddyAsset, - .cpBoost, - ] -} + public enum PokemonForm: SwiftProtobuf.Enum { + public typealias RawValue = Int + case formUnset // = 0 + case alola // = 1 + case UNRECOGNIZED(Int) -#endif // swift(>=4.2) + public init() { + self = .formUnset + } -public struct BuddyMapEmotionCheckTelemetry { - // 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. + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .formUnset + case 1: self = .alola + default: self = .UNRECOGNIZED(rawValue) + } + } - public var pokemonID: HoloPokemonId = .missingno + public var rawValue: Int { + switch self { + case .formUnset: return 0 + case .alola: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public var currentEmotionPoints: Int32 = 0 + } - public var currentAffectionPoints: Int32 = 0 + public enum PokemonGender: SwiftProtobuf.Enum { + public typealias RawValue = Int + case genderUnset // = 0 + case male // = 1 + case female // = 2 + case genderless // = 3 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .genderUnset + } - public init() {} -} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .genderUnset + case 1: self = .male + case 2: self = .female + case 3: self = .genderless + default: self = .UNRECOGNIZED(rawValue) + } + } -public struct BuddyMapOutProto { - // 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. + public var rawValue: Int { + switch self { + case .genderUnset: return 0 + case .male: return 1 + case .female: return 2 + case .genderless: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var result: BuddyMapOutProto.Result = .unset + } - public var expirationMs: Int64 = 0 + public enum Team: SwiftProtobuf.Enum { + public typealias RawValue = Int + case none // = 0 + case blue // = 1 + case red // = 2 + case yellow // = 3 + case UNRECOGNIZED(Int) - public var appliedMs: Int64 = 0 + public init() { + self = .none + } - public var observedData: BuddyObservedData { - get {return _observedData ?? BuddyObservedData()} - set {_observedData = newValue} - } - /// Returns true if `observedData` has been explicitly set. - public var hasObservedData: Bool {return self._observedData != nil} - /// Clears the value of `observedData`. Subsequent reads from it will return its default value. - public mutating func clearObservedData() {self._observedData = nil} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .none + case 1: self = .blue + case 2: self = .red + case 3: self = .yellow + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .none: return 0 + case .blue: return 1 + case .red: return 2 + case .yellow: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public enum Result: SwiftProtobuf.Enum { + } + + public enum TrainerGender: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorBuddyNotValid // = 2 + case trainerMale // = 0 + case trainerFemale // = 1 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .trainerMale } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorBuddyNotValid + case 0: self = .trainerMale + case 1: self = .trainerFemale default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .errorBuddyNotValid: return 2 + case .trainerMale: return 0 + case .trainerFemale: return 1 case .UNRECOGNIZED(let i): return i } } @@ -41373,173 +42649,122 @@ public struct BuddyMapOutProto { public init() {} - fileprivate var _observedData: BuddyObservedData? = nil + fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension BuddyMapOutProto.Result: CaseIterable { +extension BelugaPokemonProto.PokemonCostume: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BuddyMapOutProto.Result] = [ + public static var allCases: [BelugaPokemonProto.PokemonCostume] = [ .unset, - .success, - .errorBuddyNotValid, + .holiday2016, + .anniversary, + .oneYearAnniversary, + .halloween2017, ] } -#endif // swift(>=4.2) - -public struct BuddyMapProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} +extension BelugaPokemonProto.PokemonForm: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [BelugaPokemonProto.PokemonForm] = [ + .formUnset, + .alola, + ] } -public struct BuddyMultiplayerConnectionFailedProto { - // 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. - - public var testNumber: Int32 = 0 - - public var responseTime: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} +extension BelugaPokemonProto.PokemonGender: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [BelugaPokemonProto.PokemonGender] = [ + .genderUnset, + .male, + .female, + .genderless, + ] } -public struct BuddyMultiplayerConnectionSucceededProto { - // 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. - - public var testNumber: Int32 = 0 - - public var responseTime: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() +extension BelugaPokemonProto.Team: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [BelugaPokemonProto.Team] = [ + .none, + .blue, + .red, + .yellow, + ] +} - public init() {} +extension BelugaPokemonProto.TrainerGender: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [BelugaPokemonProto.TrainerGender] = [ + .trainerMale, + .trainerFemale, + ] } -public struct BuddyMultiplayerTimeToGetSessionProto { +#endif // swift(>=4.2) + +public struct BelugaPokemonWhitelist { // 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. - public var testNumber: Int32 = 0 - - public var timeToGetSession: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var maxAllowedPokemonPokedexNumber: Int32 = 0 - public init() {} -} + public var additionalPokemonAllowed: [HoloPokemonId] = [] -public struct BuddyNotificationClickTelemetry { - // 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. + public var formsAllowed: [PokemonDisplayProto.Form] = [] - public var notificationCategory: Int32 = 0 + public var costumesAllowed: [PokemonDisplayProto.Costume] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BuddyObservedData { +public struct BelugaTransactionCompleteOutProto { // 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. - public var currentPointsEarned: Int32 { - get {return _storage._currentPointsEarned} - set {_uniqueStorage()._currentPointsEarned = newValue} - } - - public var totalStats: BuddyStats { - get {return _storage._totalStats ?? BuddyStats()} - set {_uniqueStorage()._totalStats = newValue} - } - /// Returns true if `totalStats` has been explicitly set. - public var hasTotalStats: Bool {return _storage._totalStats != nil} - /// Clears the value of `totalStats`. Subsequent reads from it will return its default value. - public mutating func clearTotalStats() {_uniqueStorage()._totalStats = nil} - - public var buddyGiftPickedUp: BuddyGiftProto { - get {return _storage._buddyGiftPickedUp ?? BuddyGiftProto()} - set {_uniqueStorage()._buddyGiftPickedUp = newValue} - } - /// Returns true if `buddyGiftPickedUp` has been explicitly set. - public var hasBuddyGiftPickedUp: Bool {return _storage._buddyGiftPickedUp != nil} - /// Clears the value of `buddyGiftPickedUp`. Subsequent reads from it will return its default value. - public mutating func clearBuddyGiftPickedUp() {_uniqueStorage()._buddyGiftPickedUp = nil} - - public var currentEmotionPoints: Int32 { - get {return _storage._currentEmotionPoints} - set {_uniqueStorage()._currentEmotionPoints = newValue} - } - - public var buddyValidationResult: BuddyObservedData.BuddyValidationResult { - get {return _storage._buddyValidationResult} - set {_uniqueStorage()._buddyValidationResult = newValue} - } - - public var souvenirsCollected: Dictionary { - get {return _storage._souvenirsCollected} - set {_uniqueStorage()._souvenirsCollected = newValue} - } + public var status: BelugaTransactionCompleteOutProto.Status = .unset - public var todayStatsShownHearts: BuddyStatsShownHearts { - get {return _storage._todayStatsShownHearts ?? BuddyStatsShownHearts()} - set {_uniqueStorage()._todayStatsShownHearts = newValue} - } - /// Returns true if `todayStatsShownHearts` has been explicitly set. - public var hasTodayStatsShownHearts: Bool {return _storage._todayStatsShownHearts != nil} - /// Clears the value of `todayStatsShownHearts`. Subsequent reads from it will return its default value. - public mutating func clearTodayStatsShownHearts() {_uniqueStorage()._todayStatsShownHearts = nil} + public var candyAwarded: Int32 = 0 - public var buddyFeedStats: BuddyObservedData.BuddyFeedStats { - get {return _storage._buddyFeedStats ?? BuddyObservedData.BuddyFeedStats()} - set {_uniqueStorage()._buddyFeedStats = newValue} + public var lootAwarded: LootProto { + get {return _lootAwarded ?? LootProto()} + set {_lootAwarded = newValue} } - /// Returns true if `buddyFeedStats` has been explicitly set. - public var hasBuddyFeedStats: Bool {return _storage._buddyFeedStats != nil} - /// Clears the value of `buddyFeedStats`. Subsequent reads from it will return its default value. - public mutating func clearBuddyFeedStats() {_uniqueStorage()._buddyFeedStats = nil} + /// Returns true if `lootAwarded` has been explicitly set. + public var hasLootAwarded: Bool {return self._lootAwarded != nil} + /// Clears the value of `lootAwarded`. Subsequent reads from it will return its default value. + public mutating func clearLootAwarded() {self._lootAwarded = nil} - public var attractivePoiID: String { - get {return _storage._attractivePoiID} - set {_uniqueStorage()._attractivePoiID = newValue} + public var belugaFinalizeResponse: BelugaBleFinalizeTransfer { + get {return _belugaFinalizeResponse ?? BelugaBleFinalizeTransfer()} + set {_belugaFinalizeResponse = newValue} } + /// Returns true if `belugaFinalizeResponse` has been explicitly set. + public var hasBelugaFinalizeResponse: Bool {return self._belugaFinalizeResponse != nil} + /// Clears the value of `belugaFinalizeResponse`. Subsequent reads from it will return its default value. + public mutating func clearBelugaFinalizeResponse() {self._belugaFinalizeResponse = nil} - public var attractivePoiExpirationTimeMs: Int64 { - get {return _storage._attractivePoiExpirationTimeMs} - set {_uniqueStorage()._attractivePoiExpirationTimeMs = newValue} - } + public var bucketsUntilWeeklyAward: Int32 = 0 - public var numDaysSpentWithBuddy: Int32 { - get {return _storage._numDaysSpentWithBuddy} - set {_uniqueStorage()._numDaysSpentWithBuddy = newValue} - } + public var xlCandyAwardedPerID: Dictionary = [:] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum BuddyValidationResult: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case failedBuddyNotSet // = 2 - case failedBuddyNotFound // = 3 - case failedBadBuddy // = 4 - case failedBuddyV2NotEnabled // = 5 - case failedPlayerLevelTooLow // = 6 + case failed // = 2 + case errorInvalidPokemonID // = 3 + case errorPokemonDeployed // = 4 + case errorPokemonNotAllowed // = 5 + case errorPokemonIsBuddy // = 6 + case errorInvalidTransactionID // = 7 + case errorMissingTransactionID // = 8 case UNRECOGNIZED(Int) public init() { @@ -41550,11 +42775,13 @@ public struct BuddyObservedData { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .failedBuddyNotSet - case 3: self = .failedBuddyNotFound - case 4: self = .failedBadBuddy - case 5: self = .failedBuddyV2NotEnabled - case 6: self = .failedPlayerLevelTooLow + case 2: self = .failed + case 3: self = .errorInvalidPokemonID + case 4: self = .errorPokemonDeployed + case 5: self = .errorPokemonNotAllowed + case 6: self = .errorPokemonIsBuddy + case 7: self = .errorInvalidTransactionID + case 8: self = .errorMissingTransactionID default: self = .UNRECOGNIZED(rawValue) } } @@ -41563,82 +42790,102 @@ public struct BuddyObservedData { switch self { case .unset: return 0 case .success: return 1 - case .failedBuddyNotSet: return 2 - case .failedBuddyNotFound: return 3 - case .failedBadBuddy: return 4 - case .failedBuddyV2NotEnabled: return 5 - case .failedPlayerLevelTooLow: return 6 + case .failed: return 2 + case .errorInvalidPokemonID: return 3 + case .errorPokemonDeployed: return 4 + case .errorPokemonNotAllowed: return 5 + case .errorPokemonIsBuddy: return 6 + case .errorInvalidTransactionID: return 7 + case .errorMissingTransactionID: return 8 case .UNRECOGNIZED(let i): return i } } } - public struct BuddyFeedStats { - // 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. - - public var mapExpirationMs: Int64 = 0 - - public var preMapFullnessPercentage: Float = 0 - - public var fullnessExpirationMs: Int64 = 0 - - public var poffinExpirationMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} - fileprivate var _storage = _StorageClass.defaultInstance + fileprivate var _lootAwarded: LootProto? = nil + fileprivate var _belugaFinalizeResponse: BelugaBleFinalizeTransfer? = nil } #if swift(>=4.2) -extension BuddyObservedData.BuddyValidationResult: CaseIterable { +extension BelugaTransactionCompleteOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BuddyObservedData.BuddyValidationResult] = [ + public static var allCases: [BelugaTransactionCompleteOutProto.Status] = [ .unset, .success, - .failedBuddyNotSet, - .failedBuddyNotFound, - .failedBadBuddy, - .failedBuddyV2NotEnabled, - .failedPlayerLevelTooLow, + .failed, + .errorInvalidPokemonID, + .errorPokemonDeployed, + .errorPokemonNotAllowed, + .errorPokemonIsBuddy, + .errorInvalidTransactionID, + .errorMissingTransactionID, ] } #endif // swift(>=4.2) -public struct BuddyPettingOutProto { +public struct BelugaTransactionCompleteProto { // 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. - public var result: BuddyPettingOutProto.Result = .unset + public var belugaTransfer: BelugaBleCompleteTransferRequestProto { + get {return _belugaTransfer ?? BelugaBleCompleteTransferRequestProto()} + set {_belugaTransfer = newValue} + } + /// Returns true if `belugaTransfer` has been explicitly set. + public var hasBelugaTransfer: Bool {return self._belugaTransfer != nil} + /// Clears the value of `belugaTransfer`. Subsequent reads from it will return its default value. + public mutating func clearBelugaTransfer() {self._belugaTransfer = nil} - public var observedData: BuddyObservedData { - get {return _observedData ?? BuddyObservedData()} - set {_observedData = newValue} + public var appSignature: Data = Data() + + public var firmwareSignature: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _belugaTransfer: BelugaBleCompleteTransferRequestProto? = nil +} + +public struct BelugaTransactionStartOutProto { + // 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. + + public var status: BelugaTransactionStartOutProto.Status = .unset + + public var belugaTransferPrep: BelugaBleTransferPrepProto { + get {return _belugaTransferPrep ?? BelugaBleTransferPrepProto()} + set {_belugaTransferPrep = newValue} } - /// Returns true if `observedData` has been explicitly set. - public var hasObservedData: Bool {return self._observedData != nil} - /// Clears the value of `observedData`. Subsequent reads from it will return its default value. - public mutating func clearObservedData() {self._observedData = nil} + /// Returns true if `belugaTransferPrep` has been explicitly set. + public var hasBelugaTransferPrep: Bool {return self._belugaTransferPrep != nil} + /// Clears the value of `belugaTransferPrep`. Subsequent reads from it will return its default value. + public mutating func clearBelugaTransferPrep() {self._belugaTransferPrep = nil} - public var shownHearts: BuddyStatsShownHearts.BuddyShownHeartType = .buddyHeartUnset + public var serverSignature: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorBuddyNotValid // = 2 + case failed // = 2 + case errorInvalidPokemonID // = 3 + case errorPokemonDeployed // = 4 + case errorPokemonIsEgg // = 5 + case errorPokemonIsBuddy // = 6 + case errorPokemonNotAllowed // = 7 + case errorInvalidNonce // = 8 + case errorTooManyPokemon // = 9 + case errorNoPokemonSpecified // = 10 case UNRECOGNIZED(Int) public init() { @@ -41649,7 +42896,15 @@ public struct BuddyPettingOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorBuddyNotValid + case 2: self = .failed + case 3: self = .errorInvalidPokemonID + case 4: self = .errorPokemonDeployed + case 5: self = .errorPokemonIsEgg + case 6: self = .errorPokemonIsBuddy + case 7: self = .errorPokemonNotAllowed + case 8: self = .errorInvalidNonce + case 9: self = .errorTooManyPokemon + case 10: self = .errorNoPokemonSpecified default: self = .UNRECOGNIZED(rawValue) } } @@ -41658,7 +42913,15 @@ public struct BuddyPettingOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorBuddyNotValid: return 2 + case .failed: return 2 + case .errorInvalidPokemonID: return 3 + case .errorPokemonDeployed: return 4 + case .errorPokemonIsEgg: return 5 + case .errorPokemonIsBuddy: return 6 + case .errorPokemonNotAllowed: return 7 + case .errorInvalidNonce: return 8 + case .errorTooManyPokemon: return 9 + case .errorNoPokemonSpecified: return 10 case .UNRECOGNIZED(let i): return i } } @@ -41667,62 +42930,140 @@ public struct BuddyPettingOutProto { public init() {} - fileprivate var _observedData: BuddyObservedData? = nil + fileprivate var _belugaTransferPrep: BelugaBleTransferPrepProto? = nil } #if swift(>=4.2) -extension BuddyPettingOutProto.Result: CaseIterable { +extension BelugaTransactionStartOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BuddyPettingOutProto.Result] = [ + public static var allCases: [BelugaTransactionStartOutProto.Status] = [ .unset, .success, - .errorBuddyNotValid, + .failed, + .errorInvalidPokemonID, + .errorPokemonDeployed, + .errorPokemonIsEgg, + .errorPokemonIsBuddy, + .errorPokemonNotAllowed, + .errorInvalidNonce, + .errorTooManyPokemon, + .errorNoPokemonSpecified, ] } #endif // swift(>=4.2) -public struct BuddyPettingProto { +public struct BelugaTransactionStartProto { // 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. + public var pokemonID: [Int64] = [] + + public var nonce: String = String() + + public var belugaID: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BuddyPokemonLogEntry { +public struct BerryFarmingSettingsProto { // 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. - public var result: BuddyPokemonLogEntry.Result = .unset + public var enabled: Bool = false - public var pokemonType: HoloPokemonId = .missingno + public var poiIds: [String] = [] - public var amount: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + public init() {} +} - public var pokemonID: UInt64 = 0 +public struct BonusBoxProto { + // 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. - public var amountXl: Int32 = 0 + public var text: String = String() + + public var iconType: BonusBoxProto.IconType = .unset + + public var additionalDisplay: BonusBoxProto.AdditionalDisplay = .none public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum AdditionalDisplay: SwiftProtobuf.Enum { + public typealias RawValue = Int + case none // = 0 + case partyPlay // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .none + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .none + case 1: self = .partyPlay + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .none: return 0 + case .partyPlay: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum IconType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case candyFound // = 1 + case adventureSync // = 1 + case buddy // = 2 + case candyGeneral // = 3 + case egg // = 4 + case eggIncubator // = 5 + case eventMove // = 6 + case evolution // = 7 + case fieldResearch // = 8 + case friendship // = 9 + case gift // = 10 + case incense // = 11 + case luckyEgg // = 12 + case lureModule // = 13 + case photobomb // = 14 + case pokestop // = 15 + case raid // = 16 + case raidPass // = 17 + case spawnUnknown // = 18 + case starPiece // = 19 + case stardust // = 20 + case teamRocket // = 21 + case trade // = 22 + case transferCandy // = 23 + case battle // = 24 + case xp // = 25 + case shop // = 26 + case location // = 27 + case event // = 28 + case mysteryBox // = 29 + case tradeBall // = 30 + case candyXl // = 31 + case heart // = 32 + case timer // = 33 + case postcard // = 34 + case sticker // = 35 + case adventureEffect // = 36 case UNRECOGNIZED(Int) public init() { @@ -41732,7 +43073,42 @@ public struct BuddyPokemonLogEntry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .candyFound + case 1: self = .adventureSync + case 2: self = .buddy + case 3: self = .candyGeneral + case 4: self = .egg + case 5: self = .eggIncubator + case 6: self = .eventMove + case 7: self = .evolution + case 8: self = .fieldResearch + case 9: self = .friendship + case 10: self = .gift + case 11: self = .incense + case 12: self = .luckyEgg + case 13: self = .lureModule + case 14: self = .photobomb + case 15: self = .pokestop + case 16: self = .raid + case 17: self = .raidPass + case 18: self = .spawnUnknown + case 19: self = .starPiece + case 20: self = .stardust + case 21: self = .teamRocket + case 22: self = .trade + case 23: self = .transferCandy + case 24: self = .battle + case 25: self = .xp + case 26: self = .shop + case 27: self = .location + case 28: self = .event + case 29: self = .mysteryBox + case 30: self = .tradeBall + case 31: self = .candyXl + case 32: self = .heart + case 33: self = .timer + case 34: self = .postcard + case 35: self = .sticker + case 36: self = .adventureEffect default: self = .UNRECOGNIZED(rawValue) } } @@ -41740,7 +43116,42 @@ public struct BuddyPokemonLogEntry { public var rawValue: Int { switch self { case .unset: return 0 - case .candyFound: return 1 + case .adventureSync: return 1 + case .buddy: return 2 + case .candyGeneral: return 3 + case .egg: return 4 + case .eggIncubator: return 5 + case .eventMove: return 6 + case .evolution: return 7 + case .fieldResearch: return 8 + case .friendship: return 9 + case .gift: return 10 + case .incense: return 11 + case .luckyEgg: return 12 + case .lureModule: return 13 + case .photobomb: return 14 + case .pokestop: return 15 + case .raid: return 16 + case .raidPass: return 17 + case .spawnUnknown: return 18 + case .starPiece: return 19 + case .stardust: return 20 + case .teamRocket: return 21 + case .trade: return 22 + case .transferCandy: return 23 + case .battle: return 24 + case .xp: return 25 + case .shop: return 26 + case .location: return 27 + case .event: return 28 + case .mysteryBox: return 29 + case .tradeBall: return 30 + case .candyXl: return 31 + case .heart: return 32 + case .timer: return 33 + case .postcard: return 34 + case .sticker: return 35 + case .adventureEffect: return 36 case .UNRECOGNIZED(let i): return i } } @@ -41748,96 +43159,130 @@ public struct BuddyPokemonLogEntry { } public init() {} - - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil } #if swift(>=4.2) -extension BuddyPokemonLogEntry.Result: CaseIterable { +extension BonusBoxProto.AdditionalDisplay: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BuddyPokemonLogEntry.Result] = [ + public static var allCases: [BonusBoxProto.AdditionalDisplay] = [ + .none, + .partyPlay, + ] +} + +extension BonusBoxProto.IconType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [BonusBoxProto.IconType] = [ .unset, - .candyFound, + .adventureSync, + .buddy, + .candyGeneral, + .egg, + .eggIncubator, + .eventMove, + .evolution, + .fieldResearch, + .friendship, + .gift, + .incense, + .luckyEgg, + .lureModule, + .photobomb, + .pokestop, + .raid, + .raidPass, + .spawnUnknown, + .starPiece, + .stardust, + .teamRocket, + .trade, + .transferCandy, + .battle, + .xp, + .shop, + .location, + .event, + .mysteryBox, + .tradeBall, + .candyXl, + .heart, + .timer, + .postcard, + .sticker, + .adventureEffect, ] } #endif // swift(>=4.2) -public struct BuddyPokemonProto { +public struct BonusEffectSettingsProto { // 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. - public var buddyPokemonID: UInt64 = 0 - - public var startKmWalked: Double = 0 - - public var lastKmAwarded: Double = 0 + public var bonus: BonusEffectSettingsProto.OneOf_Bonus? = nil - public var dailyBuddySwaps: DailyCounterProto { - get {return _dailyBuddySwaps ?? DailyCounterProto()} - set {_dailyBuddySwaps = newValue} + public var timeBonus: TimeBonusSettingsProto { + get { + if case .timeBonus(let v)? = bonus {return v} + return TimeBonusSettingsProto() + } + set {bonus = .timeBonus(newValue)} } - /// Returns true if `dailyBuddySwaps` has been explicitly set. - public var hasDailyBuddySwaps: Bool {return self._dailyBuddySwaps != nil} - /// Clears the value of `dailyBuddySwaps`. Subsequent reads from it will return its default value. - public mutating func clearDailyBuddySwaps() {self._dailyBuddySwaps = nil} - - public var lastKmAwardedMs: Int64 = 0 - - public var bestBuddiesBackfilled: Bool = false - public var lastSetTimestampMs: Int64 = 0 - - public var pendingBonusKm: Float = 0 + public var spaceBonus: SpaceBonusSettingsProto { + get { + if case .spaceBonus(let v)? = bonus {return v} + return SpaceBonusSettingsProto() + } + set {bonus = .spaceBonus(newValue)} + } public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} - - fileprivate var _dailyBuddySwaps: DailyCounterProto? = nil -} - -public struct BuddyStats { - // 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. - - public var kmWalked: Float = 0 - - public var berriesFed: Int32 = 0 - - public var communication: Int32 = 0 - - public var battles: Int32 = 0 - - public var photos: Int32 = 0 - - public var newVisits: Int32 = 0 - - public var routesWalked: Int32 = 0 + public enum OneOf_Bonus: Equatable { + case timeBonus(TimeBonusSettingsProto) + case spaceBonus(SpaceBonusSettingsProto) - public var unknownFields = SwiftProtobuf.UnknownStorage() + #if !swift(>=4.1) + public static func ==(lhs: BonusEffectSettingsProto.OneOf_Bonus, rhs: BonusEffectSettingsProto.OneOf_Bonus) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.timeBonus, .timeBonus): return { + guard case .timeBonus(let l) = lhs, case .timeBonus(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.spaceBonus, .spaceBonus): return { + guard case .spaceBonus(let l) = lhs, case .spaceBonus(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } public init() {} } -public struct BuddyStatsOutProto { +public struct BootRaidOutProto { // 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. - public var result: BuddyStatsOutProto.Result = .unset + public var result: BootRaidOutProto.Result = .unset - public var observedData: BuddyObservedData { - get {return _observedData ?? BuddyObservedData()} - set {_observedData = newValue} + public var lobby: LobbyProto { + get {return _lobby ?? LobbyProto()} + set {_lobby = newValue} } - /// Returns true if `observedData` has been explicitly set. - public var hasObservedData: Bool {return self._observedData != nil} - /// Clears the value of `observedData`. Subsequent reads from it will return its default value. - public mutating func clearObservedData() {self._observedData = nil} + /// Returns true if `lobby` has been explicitly set. + public var hasLobby: Bool {return self._lobby != nil} + /// Clears the value of `lobby`. Subsequent reads from it will return its default value. + public mutating func clearLobby() {self._lobby = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -41845,7 +43290,10 @@ public struct BuddyStatsOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorBuddyNotValid // = 2 + case errorFeatureDisabled // = 2 + case errorLobbyNotFound // = 3 + case errorRaidUnavailable // = 4 + case errorNotEnoughTime // = 5 case UNRECOGNIZED(Int) public init() { @@ -41856,7 +43304,10 @@ public struct BuddyStatsOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorBuddyNotValid + case 2: self = .errorFeatureDisabled + case 3: self = .errorLobbyNotFound + case 4: self = .errorRaidUnavailable + case 5: self = .errorNotEnoughTime default: self = .UNRECOGNIZED(rawValue) } } @@ -41865,7 +43316,10 @@ public struct BuddyStatsOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorBuddyNotValid: return 2 + case .errorFeatureDisabled: return 2 + case .errorLobbyNotFound: return 3 + case .errorRaidUnavailable: return 4 + case .errorNotEnoughTime: return 5 case .UNRECOGNIZED(let i): return i } } @@ -41874,229 +43328,395 @@ public struct BuddyStatsOutProto { public init() {} - fileprivate var _observedData: BuddyObservedData? = nil + fileprivate var _lobby: LobbyProto? = nil } #if swift(>=4.2) -extension BuddyStatsOutProto.Result: CaseIterable { +extension BootRaidOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BuddyStatsOutProto.Result] = [ + public static var allCases: [BootRaidOutProto.Result] = [ .unset, .success, - .errorBuddyNotValid, + .errorFeatureDisabled, + .errorLobbyNotFound, + .errorRaidUnavailable, + .errorNotEnoughTime, ] } #endif // swift(>=4.2) -public struct BuddyStatsProto { +public struct BootRaidProto { // 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. + public var gymID: String = String() + + public var lobbyID: [Int32] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BuddyStatsShownHearts { +public struct BootSettingsProto { // 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. - public var buddyAffectionKmInProgress: Float = 0 + public var bootSequenceV2Enabled: Bool = false - public var buddyShownHeartsPerCategory: Dictionary = [:] + public var bootLazyInjectEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum BuddyShownHeartType: SwiftProtobuf.Enum { + public init() {} +} + +public struct BootTelemetry { + // 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. + + public var nearestPoiDistance: Float = 0 + + public var poiWithinOneKmCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct BootTime { + // 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. + + public var duration: PlatformMetricData { + get {return _storage._duration ?? PlatformMetricData()} + set {_uniqueStorage()._duration = newValue} + } + /// Returns true if `duration` has been explicitly set. + public var hasDuration: Bool {return _storage._duration != nil} + /// Clears the value of `duration`. Subsequent reads from it will return its default value. + public mutating func clearDuration() {_uniqueStorage()._duration = nil} + + public var bootPhase: BootTime.BootPhase { + get {return _storage._bootPhase} + set {_uniqueStorage()._bootPhase = newValue} + } + + public var authProvider: BootTime.AuthProvider { + get {return _storage._authProvider} + set {_uniqueStorage()._authProvider = newValue} + } + + public var cachedLogin: Bool { + get {return _storage._cachedLogin} + set {_uniqueStorage()._cachedLogin = newValue} + } + + public var adventureSyncEnabled: Bool { + get {return _storage._adventureSyncEnabled} + set {_uniqueStorage()._adventureSyncEnabled = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum AuthProvider: SwiftProtobuf.Enum { public typealias RawValue = Int - case buddyHeartUnset // = 0 - case buddyHeartSingle // = 1 - case buddyHeartDouble // = 2 + case unknown // = 0 + case google // = 1 + case ptc // = 2 + case facebook // = 3 + case superAwesome // = 4 + case apple // = 5 + case guest // = 6 + case ptcOauth // = 7 case UNRECOGNIZED(Int) public init() { - self = .buddyHeartUnset + self = .unknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .buddyHeartUnset - case 1: self = .buddyHeartSingle - case 2: self = .buddyHeartDouble + case 0: self = .unknown + case 1: self = .google + case 2: self = .ptc + case 3: self = .facebook + case 4: self = .superAwesome + case 5: self = .apple + case 6: self = .guest + case 7: self = .ptcOauth default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .buddyHeartUnset: return 0 - case .buddyHeartSingle: return 1 - case .buddyHeartDouble: return 2 + case .unknown: return 0 + case .google: return 1 + case .ptc: return 2 + case .facebook: return 3 + case .superAwesome: return 4 + case .apple: return 5 + case .guest: return 6 + case .ptcOauth: return 7 case .UNRECOGNIZED(let i): return i } } } - public struct BuddyShownHeartsList { - // 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. + public enum BootPhase: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case timeToMap // = 1 + case logoScreenTime // = 2 + case mainSceneLoadTime // = 3 + case waitForAuth // = 4 + case initRemoteConfigVersions // = 5 + case initBundleDigest // = 6 + case initGmt // = 7 + case downloadI18N // = 8 + case downloadGlobalAssets // = 9 + case registerPushNotification // = 10 + case initializeUpsight // = 11 + case initializeCrittercism // = 12 + case loginVersionCheck // = 13 + case loginGetPlayer // = 14 + case loginAuthentication // = 15 + case modalTime // = 16 + case initializeAdjust // = 17 + case initializeFirebase // = 20 + case initializeCrashlytics // = 21 + case initializeBraze // = 22 + case downloadBootAddressables // = 23 + case initializeOmni // = 24 + case configureArdk // = 25 + case loadBootSequenceGui // = 26 + case waitServerSequenceDone // = 27 + case setMainSceneActive // = 28 + case installSceneContext // = 29 + case waitShowMap // = 30 + case UNRECOGNIZED(Int) - public var buddyShownHeartTypes: [BuddyStatsShownHearts.BuddyShownHeartType] = [] + public init() { + self = .undefined + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .timeToMap + case 2: self = .logoScreenTime + case 3: self = .mainSceneLoadTime + case 4: self = .waitForAuth + case 5: self = .initRemoteConfigVersions + case 6: self = .initBundleDigest + case 7: self = .initGmt + case 8: self = .downloadI18N + case 9: self = .downloadGlobalAssets + case 10: self = .registerPushNotification + case 11: self = .initializeUpsight + case 12: self = .initializeCrittercism + case 13: self = .loginVersionCheck + case 14: self = .loginGetPlayer + case 15: self = .loginAuthentication + case 16: self = .modalTime + case 17: self = .initializeAdjust + case 20: self = .initializeFirebase + case 21: self = .initializeCrashlytics + case 22: self = .initializeBraze + case 23: self = .downloadBootAddressables + case 24: self = .initializeOmni + case 25: self = .configureArdk + case 26: self = .loadBootSequenceGui + case 27: self = .waitServerSequenceDone + case 28: self = .setMainSceneActive + case 29: self = .installSceneContext + case 30: self = .waitShowMap + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .timeToMap: return 1 + case .logoScreenTime: return 2 + case .mainSceneLoadTime: return 3 + case .waitForAuth: return 4 + case .initRemoteConfigVersions: return 5 + case .initBundleDigest: return 6 + case .initGmt: return 7 + case .downloadI18N: return 8 + case .downloadGlobalAssets: return 9 + case .registerPushNotification: return 10 + case .initializeUpsight: return 11 + case .initializeCrittercism: return 12 + case .loginVersionCheck: return 13 + case .loginGetPlayer: return 14 + case .loginAuthentication: return 15 + case .modalTime: return 16 + case .initializeAdjust: return 17 + case .initializeFirebase: return 20 + case .initializeCrashlytics: return 21 + case .initializeBraze: return 22 + case .downloadBootAddressables: return 23 + case .initializeOmni: return 24 + case .configureArdk: return 25 + case .loadBootSequenceGui: return 26 + case .waitServerSequenceDone: return 27 + case .setMainSceneActive: return 28 + case .installSceneContext: return 29 + case .waitShowMap: return 30 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} } public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension BuddyStatsShownHearts.BuddyShownHeartType: CaseIterable { +extension BootTime.AuthProvider: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [BuddyStatsShownHearts.BuddyShownHeartType] = [ - .buddyHeartUnset, - .buddyHeartSingle, - .buddyHeartDouble, + public static var allCases: [BootTime.AuthProvider] = [ + .unknown, + .google, + .ptc, + .facebook, + .superAwesome, + .apple, + .guest, + .ptcOauth, + ] +} + +extension BootTime.BootPhase: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [BootTime.BootPhase] = [ + .undefined, + .timeToMap, + .logoScreenTime, + .mainSceneLoadTime, + .waitForAuth, + .initRemoteConfigVersions, + .initBundleDigest, + .initGmt, + .downloadI18N, + .downloadGlobalAssets, + .registerPushNotification, + .initializeUpsight, + .initializeCrittercism, + .loginVersionCheck, + .loginGetPlayer, + .loginAuthentication, + .modalTime, + .initializeAdjust, + .initializeFirebase, + .initializeCrashlytics, + .initializeBraze, + .downloadBootAddressables, + .initializeOmni, + .configureArdk, + .loadBootSequenceGui, + .waitServerSequenceDone, + .setMainSceneActive, + .installSceneContext, + .waitShowMap, ] } #endif // swift(>=4.2) -public struct BuddySwapSettings { +public struct BoundingRect { // 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. - public var maxSwapsPerDay: Int32 = 0 + public var north: Double = 0 + + public var south: Double = 0 + + public var east: Double = 0 - public var obBuddySwapBool: Bool = false + public var west: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct BuddyWalkSettings { +public struct BreadcrumbRecordProto { // 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. - public var kmRequiredPerAffectionPoint: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var timestampMs: Int64 = 0 - public init() {} -} + public var latitudeDeg: Double = 0 -public struct BuildingMetadata { - // 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. + public var longitudeDeg: Double = 0 - public var heightMeters: Int32 = 0 + public var appIsForegrounded: Bool = false - public var isUnderground: Bool = false + public var altitudeM: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ButterflyCollectorBadgeData { +public struct BuddyActivityCategorySettings { // 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. - public var version: Int32 = 0 - - public var region: [ButterflyCollectorRegionMedal] = [] + public var activityCategory: BuddyActivityCategory = .buddyCategoryUnset - public var encounter: [QuestPokemonEncounterProto] = [] + public var maxPointsPerDay: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ButterflyCollectorRegionMedal { +public struct BuddyActivitySettings { // 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. - public var region: VivillonRegion = .unknown + public var activity: BuddyActivity = .unset - public var rank: Int32 = 0 - - public var state: ButterflyCollectorRegionMedal.State = .progress + public var activityCategory: BuddyActivityCategory = .buddyCategoryUnset - public var progress: Int32 = 0 + public var maxTimesPerDay: Int32 = 0 - public var goal: Int32 = 0 + public var numPointsPerAction: Int32 = 0 - public var postcardOrigin: Int64 = 0 + public var numEmotionPointsPerAction: Int32 = 0 - public var receivedTimeMs: Int64 = 0 + public var emotionCooldownDurationMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum State: SwiftProtobuf.Enum { - public typealias RawValue = Int - case progress // = 0 - case complete // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .progress - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .progress - case 1: self = .complete - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .progress: return 0 - case .complete: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - public init() {} } -#if swift(>=4.2) - -extension ButterflyCollectorRegionMedal.State: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ButterflyCollectorRegionMedal.State] = [ - .progress, - .complete, - ] -} - -#endif // swift(>=4.2) - -public struct ButterflyCollectorRewardsLogEntry { +public struct BuddyConsumablesLogEntry { // 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. - public var result: ButterflyCollectorRewardsLogEntry.Result = .unset - public var rewards: LootProto { get {return _rewards ?? LootProto()} set {_rewards = newValue} @@ -42106,199 +43726,376 @@ public struct ButterflyCollectorRewardsLogEntry { /// Clears the value of `rewards`. Subsequent reads from it will return its default value. public mutating func clearRewards() {self._rewards = nil} - public var vivillonRegion: VivillonRegion = .unknown - public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) + public init() {} - public init() { - self = .unset - } + fileprivate var _rewards: LootProto? = nil +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct BuddyDataProto { + // 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. - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } + public var buddyPokemonID: UInt64 { + get {return _storage._buddyPokemonID} + set {_uniqueStorage()._buddyPokemonID = newValue} + } + public var currentPointsEarned: Int32 { + get {return _storage._currentPointsEarned} + set {_uniqueStorage()._currentPointsEarned = newValue} } - public init() {} + public var highestPointsEarned: Int32 { + get {return _storage._highestPointsEarned} + set {_uniqueStorage()._highestPointsEarned = newValue} + } - fileprivate var _rewards: LootProto? = nil -} + public var lastReachedFullMs: Int64 { + get {return _storage._lastReachedFullMs} + set {_uniqueStorage()._lastReachedFullMs = newValue} + } -#if swift(>=4.2) + public var lastGroomedMs: Int64 { + get {return _storage._lastGroomedMs} + set {_uniqueStorage()._lastGroomedMs = newValue} + } -extension ButterflyCollectorRewardsLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ButterflyCollectorRewardsLogEntry.Result] = [ - .unset, - .success, - ] -} + public var mapExpirationMs: Int64 { + get {return _storage._mapExpirationMs} + set {_uniqueStorage()._mapExpirationMs = newValue} + } -#endif // swift(>=4.2) + public var kmCandyPending: Float { + get {return _storage._kmCandyPending} + set {_uniqueStorage()._kmCandyPending = newValue} + } -public struct ButterflyCollectorSettings { - // 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. + public var buddyGiftPickedUp: BuddyGiftProto { + get {return _storage._buddyGiftPickedUp ?? BuddyGiftProto()} + set {_uniqueStorage()._buddyGiftPickedUp = newValue} + } + /// Returns true if `buddyGiftPickedUp` has been explicitly set. + public var hasBuddyGiftPickedUp: Bool {return _storage._buddyGiftPickedUp != nil} + /// Clears the value of `buddyGiftPickedUp`. Subsequent reads from it will return its default value. + public mutating func clearBuddyGiftPickedUp() {_uniqueStorage()._buddyGiftPickedUp = nil} - public var enabled: Bool = false + public var currentEmotionPoints: Int32 { + get {return _storage._currentEmotionPoints} + set {_uniqueStorage()._currentEmotionPoints = newValue} + } - public var version: Int32 = 0 + public var dailyActivityCounters: Dictionary { + get {return _storage._dailyActivityCounters} + set {_uniqueStorage()._dailyActivityCounters = newValue} + } - public var region: [VivillonRegion] = [] + public var dailyCategoryCounters: Dictionary { + get {return _storage._dailyCategoryCounters} + set {_uniqueStorage()._dailyCategoryCounters = newValue} + } - public var usePostcardModifier: Bool = false + public var statsToday: BuddyDataProto.BuddyStoredStats { + get {return _storage._statsToday ?? BuddyDataProto.BuddyStoredStats()} + set {_uniqueStorage()._statsToday = newValue} + } + /// Returns true if `statsToday` has been explicitly set. + public var hasStatsToday: Bool {return _storage._statsToday != nil} + /// Clears the value of `statsToday`. Subsequent reads from it will return its default value. + public mutating func clearStatsToday() {_uniqueStorage()._statsToday = nil} - public var dailyProgressFromInventory: Int32 = 0 + public var statsTotal: BuddyDataProto.BuddyStoredStats { + get {return _storage._statsTotal ?? BuddyDataProto.BuddyStoredStats()} + set {_uniqueStorage()._statsTotal = newValue} + } + /// Returns true if `statsTotal` has been explicitly set. + public var hasStatsTotal: Bool {return _storage._statsTotal != nil} + /// Clears the value of `statsTotal`. Subsequent reads from it will return its default value. + public mutating func clearStatsTotal() {_uniqueStorage()._statsTotal = nil} - public var regionOverride: VivillonRegion = .unknown + public var souvenirsCollected: Dictionary { + get {return _storage._souvenirsCollected} + set {_uniqueStorage()._souvenirsCollected = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var currentHungerPoints: Int32 { + get {return _storage._currentHungerPoints} + set {_uniqueStorage()._currentHungerPoints = newValue} + } - public init() {} -} + public var interactionExpirationMs: Int64 { + get {return _storage._interactionExpirationMs} + set {_uniqueStorage()._interactionExpirationMs = newValue} + } -public struct BytesValue { - // 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. + public var poffinFeedingExpirationMs: Int64 { + get {return _storage._poffinFeedingExpirationMs} + set {_uniqueStorage()._poffinFeedingExpirationMs = newValue} + } - public var value: Data = Data() + public var lastAffectionOrEmotionAwardedKm: Float { + get {return _storage._lastAffectionOrEmotionAwardedKm} + set {_uniqueStorage()._lastAffectionOrEmotionAwardedKm = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var lastSetTimestampMs: Int64 { + get {return _storage._lastSetTimestampMs} + set {_uniqueStorage()._lastSetTimestampMs = newValue} + } - public init() {} -} + public var lastUnsetTimestampMs: Int64 { + get {return _storage._lastUnsetTimestampMs} + set {_uniqueStorage()._lastUnsetTimestampMs = newValue} + } -public struct CalculatorOptions { - // 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. + public var ditched: Bool { + get {return _storage._ditched} + set {_uniqueStorage()._ditched = newValue} + } - /// extensions 20000 to max; - public var mergeFields: Bool { - get {return _mergeFields ?? false} - set {_mergeFields = newValue} + public var pokemonDisplay: PokemonDisplayProto { + get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} + set {_uniqueStorage()._pokemonDisplay = newValue} } - /// Returns true if `mergeFields` has been explicitly set. - public var hasMergeFields: Bool {return self._mergeFields != nil} - /// Clears the value of `mergeFields`. Subsequent reads from it will return its default value. - public mutating func clearMergeFields() {self._mergeFields = nil} + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var hatchedFromEgg: Bool { + get {return _storage._hatchedFromEgg} + set {_uniqueStorage()._hatchedFromEgg = newValue} + } - public init() {} + public var nickname: String { + get {return _storage._nickname} + set {_uniqueStorage()._nickname = newValue} + } - fileprivate var _mergeFields: Bool? = nil -} + public var capturedS2CellID: Int64 { + get {return _storage._capturedS2CellID} + set {_uniqueStorage()._capturedS2CellID = newValue} + } -public struct CameraSettingsProto { - // 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. + public var pokedexEntryNumber: HoloPokemonId { + get {return _storage._pokedexEntryNumber} + set {_uniqueStorage()._pokedexEntryNumber = newValue} + } - public var nextCamera: String = String() + public var creationTimestampMs: Int64 { + get {return _storage._creationTimestampMs} + set {_uniqueStorage()._creationTimestampMs = newValue} + } - public var interpolation: [CameraInterpolation] = [] + public var pokeball: Item { + get {return _storage._pokeball} + set {_uniqueStorage()._pokeball = newValue} + } - public var targetType: [CameraTarget] = [] + public var numDaysSpentWithBuddy: Int32 { + get {return _storage._numDaysSpentWithBuddy} + set {_uniqueStorage()._numDaysSpentWithBuddy = newValue} + } - public var easeInSpeed: [Float] = [] + public var originalOwnerNickname: String { + get {return _storage._originalOwnerNickname} + set {_uniqueStorage()._originalOwnerNickname = newValue} + } - public var easeOutSpeed: [Float] = [] + public var tradedTimeMs: Int64 { + get {return _storage._tradedTimeMs} + set {_uniqueStorage()._tradedTimeMs = newValue} + } - public var durationSeconds: [Float] = [] + public var attractivePoiID: String { + get {return _storage._attractivePoiID} + set {_uniqueStorage()._attractivePoiID = newValue} + } + + public var attractivePoiTimeGenerated: Int64 { + get {return _storage._attractivePoiTimeGenerated} + set {_uniqueStorage()._attractivePoiTimeGenerated = newValue} + } - public var waitSeconds: [Float] = [] + public var attractivePoiCooldownMs: Int64 { + get {return _storage._attractivePoiCooldownMs} + set {_uniqueStorage()._attractivePoiCooldownMs = newValue} + } - public var transitionSeconds: [Float] = [] + public var attractivePoiVisited: Bool { + get {return _storage._attractivePoiVisited} + set {_uniqueStorage()._attractivePoiVisited = newValue} + } - public var angleDegree: [Float] = [] + public var berryCooldownMs: Int64 { + get {return _storage._berryCooldownMs} + set {_uniqueStorage()._berryCooldownMs = newValue} + } - public var angleOffsetDegree: [Float] = [] + public var activityEmotionLastIncrementMs: Dictionary { + get {return _storage._activityEmotionLastIncrementMs} + set {_uniqueStorage()._activityEmotionLastIncrementMs = newValue} + } - public var pitchDegree: [Float] = [] + public var window: Int64 { + get {return _storage._window} + set {_uniqueStorage()._window = newValue} + } - public var pitchOffsetDegree: [Float] = [] + public var lastFedMs: Int64 { + get {return _storage._lastFedMs} + set {_uniqueStorage()._lastFedMs = newValue} + } - public var rollDegree: [Float] = [] + public var lastWindowBuddyOnMap: Int32 { + get {return _storage._lastWindowBuddyOnMap} + set {_uniqueStorage()._lastWindowBuddyOnMap = newValue} + } - public var distanceMeters: [Float] = [] + public var lastWindowFedPoffin: Int32 { + get {return _storage._lastWindowFedPoffin} + set {_uniqueStorage()._lastWindowFedPoffin = newValue} + } - public var heightPercent: [Float] = [] + public var yattaExpirationMs: Int64 { + get {return _storage._yattaExpirationMs} + set {_uniqueStorage()._yattaExpirationMs = newValue} + } - public var vertCtrRatio: [Float] = [] + public var hungerPoints: Float { + get {return _storage._hungerPoints} + set {_uniqueStorage()._hungerPoints = newValue} + } + + public var fortSpins: Dictionary { + get {return _storage._fortSpins} + set {_uniqueStorage()._fortSpins = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct BuddySpinMetadata { + // 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. + + public var nextPowerUpBonusAvailableMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct BuddyStoredStats { + // 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. + + public var window: Int64 = 0 + + public var buddyStats: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct CampfireSettingsProto { +public struct BuddyEmotionLevelSettings { // 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. - public var obBool1: Bool = false + public var emotionLevel: BuddyEmotionLevel = .unset - public var obBool2: Bool = false + public var minEmotionPointsRequired: Int32 = 0 - public var catchCardEnabled: Bool = false + public var emotionAnimation: BuddyAnimation = .unset + + public var decayPreventionDurationMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct BuddyEncounterCameoSettings { + // 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. + + public var buddyWildEncounterCameoChancePercent: Float = 0 + + public var buddyQuestEncounterCameoChancePercent: Float = 0 + + public var buddyRaidEncounterCameoChancePercent: Float = 0 + + public var buddyInvasionEncounterCameoChancePercent: Float = 0 + + public var buddyOnMapRequired: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} - public var catchCardShareEnabled: Bool = false +public struct BuddyEncounterHelpTelemetry { + // 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. - public var obListString: [String] = [] + public var pokemonID: HoloPokemonId = .missingno + + public var cp: Int32 = 0 - public var catchCardTimeToShareToCampfireS: Int32 = 0 + public var encounterType: String = String() - public var obBool5: Bool = false + public var arClassicEnabled: Bool = false - public var obBool6: Bool = false + public var arPlusEnabled: Bool = false - public var obBool7: Bool = false + public var encounter: EncounterType = .spawnPoint public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CancelCombatChallengeDataProto { +public struct BuddyEvolutionWalkQuestProto { // 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. - public var obInt32: Int32 = 0 + public var lastKmRecorded: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CancelCombatChallengeOutProto { +public struct BuddyFeedingOutProto { // 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. - public var result: CancelCombatChallengeOutProto.Result = .unset + public var result: BuddyFeedingOutProto.Result = .unset + + public var observedData: BuddyObservedData { + get {return _observedData ?? BuddyObservedData()} + set {_observedData = newValue} + } + /// Returns true if `observedData` has been explicitly set. + public var hasObservedData: Bool {return self._observedData != nil} + /// Clears the value of `observedData`. Subsequent reads from it will return its default value. + public mutating func clearObservedData() {self._observedData = nil} + + public var shownHearts: BuddyStatsShownHearts.BuddyShownHeartType = .buddyHeartUnset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -42306,12 +44103,10 @@ public struct CancelCombatChallengeOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorInvalidChallengeState // = 2 - case errorChallengeNotFound // = 3 - case errorAlreadyAccepted // = 4 - case errorAlreadyDeclined // = 5 - case errorAlreadyTimedout // = 6 - case errorAccessDenied // = 7 + case errorBuddyNotValid // = 2 + case failedInsufficientResources // = 3 + case failedInvalidItemRequirement // = 4 + case failedBuddyStillFullFromPoffin // = 5 case UNRECOGNIZED(Int) public init() { @@ -42322,12 +44117,10 @@ public struct CancelCombatChallengeOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorInvalidChallengeState - case 3: self = .errorChallengeNotFound - case 4: self = .errorAlreadyAccepted - case 5: self = .errorAlreadyDeclined - case 6: self = .errorAlreadyTimedout - case 7: self = .errorAccessDenied + case 2: self = .errorBuddyNotValid + case 3: self = .failedInsufficientResources + case 4: self = .failedInvalidItemRequirement + case 5: self = .failedBuddyStillFullFromPoffin default: self = .UNRECOGNIZED(rawValue) } } @@ -42336,12 +44129,10 @@ public struct CancelCombatChallengeOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorInvalidChallengeState: return 2 - case .errorChallengeNotFound: return 3 - case .errorAlreadyAccepted: return 4 - case .errorAlreadyDeclined: return 5 - case .errorAlreadyTimedout: return 6 - case .errorAccessDenied: return 7 + case .errorBuddyNotValid: return 2 + case .failedInsufficientResources: return 3 + case .failedInvalidItemRequirement: return 4 + case .failedBuddyStillFullFromPoffin: return 5 case .UNRECOGNIZED(let i): return i } } @@ -42349,160 +44140,281 @@ public struct CancelCombatChallengeOutProto { } public init() {} + + fileprivate var _observedData: BuddyObservedData? = nil } #if swift(>=4.2) -extension CancelCombatChallengeOutProto.Result: CaseIterable { +extension BuddyFeedingOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CancelCombatChallengeOutProto.Result] = [ + public static var allCases: [BuddyFeedingOutProto.Result] = [ .unset, .success, - .errorInvalidChallengeState, - .errorChallengeNotFound, - .errorAlreadyAccepted, - .errorAlreadyDeclined, - .errorAlreadyTimedout, - .errorAccessDenied, + .errorBuddyNotValid, + .failedInsufficientResources, + .failedInvalidItemRequirement, + .failedBuddyStillFullFromPoffin, ] } #endif // swift(>=4.2) -public struct CancelCombatChallengeProto { +public struct BuddyFeedingProto { // 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. - public var challengeID: String = String() + public var item: Item = .unknown + + public var count: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CancelCombatChallengeResponseDataProto { +public struct BuddyGiftProto { // 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. - public var obInt32: Int32 = 0 - - public var obUint32: UInt32 = 0 + public var souvenir: SouvenirProto { + get {return _souvenir ?? SouvenirProto()} + set {_souvenir = newValue} + } + /// Returns true if `souvenir` has been explicitly set. + public var hasSouvenir: Bool {return self._souvenir != nil} + /// Clears the value of `souvenir`. Subsequent reads from it will return its default value. + public mutating func clearSouvenir() {self._souvenir = nil} - public var result: CancelCombatChallengeOutProto.Result = .unset + public var lootProto: LootProto { + get {return _lootProto ?? LootProto()} + set {_lootProto = newValue} + } + /// Returns true if `lootProto` has been explicitly set. + public var hasLootProto: Bool {return self._lootProto != nil} + /// Clears the value of `lootProto`. Subsequent reads from it will return its default value. + public mutating func clearLootProto() {self._lootProto = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _souvenir: SouvenirProto? = nil + fileprivate var _lootProto: LootProto? = nil } -public struct CancelFriendInviteOutProto { +public struct BuddyGlobalSettingsProto { // 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. - public var result: CancelFriendInviteOutProto.Result = .unset + public var buddyV2MinPlayerLevel: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var buddyMultiplayerMinPlayerLevel: Int32 = 0 - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorInviteDoesNotExist // = 3 - case errorAlreadyCancelled // = 4 - case UNRECOGNIZED(Int) + public var enableMonodepth: Bool = false - public init() { - self = .unset - } + public var monodepthDevices: [String] = [] - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorInviteDoesNotExist - case 4: self = .errorAlreadyCancelled - default: self = .UNRECOGNIZED(rawValue) - } - } + public var lobbyStatusMessageDurationMs: Int32 = 0 - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorInviteDoesNotExist: return 3 - case .errorAlreadyCancelled: return 4 - case .UNRECOGNIZED(let i): return i - } - } + public var mappingInstructionDurationMs: Int32 = 0 - } + public var groupPhotoLeaderTrackingIntervalMs: Int32 = 0 + + public var groupPhotoCountdownMs: Int32 = 0 + + public var lobbyTimeoutMs: Int32 = 0 + + public var enableWallabyTelemetry: Bool = false + + public var mappingHintTimeoutMs: Int32 = 0 + + public var groupPhotoSimultaneousShots: Int32 = 0 + + public var plfeAuthTokensEnabled: Bool = false + + public var groupPhotoShotIntervalMs: Int32 = 0 + + public var arbeEndpointURL: String = String() + + public var buddyOnMapRequiredToOpenGifts: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) +public struct BuddyHistoryData { + // 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. -extension CancelFriendInviteOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CancelFriendInviteOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorInviteDoesNotExist, - .errorAlreadyCancelled, - ] -} + public var pokemonID: UInt64 { + get {return _storage._pokemonID} + set {_uniqueStorage()._pokemonID = newValue} + } -#endif // swift(>=4.2) + public var pokedexID: HoloPokemonId { + get {return _storage._pokedexID} + set {_uniqueStorage()._pokedexID = newValue} + } + + public var pokemonDisplay: PokemonDisplayProto { + get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} + set {_uniqueStorage()._pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} + + public var hatchedFromEgg: Bool { + get {return _storage._hatchedFromEgg} + set {_uniqueStorage()._hatchedFromEgg = newValue} + } + + public var nickname: String { + get {return _storage._nickname} + set {_uniqueStorage()._nickname = newValue} + } + + public var capturedS2CellID: Int64 { + get {return _storage._capturedS2CellID} + set {_uniqueStorage()._capturedS2CellID = newValue} + } + + public var creationTimestampMs: Int64 { + get {return _storage._creationTimestampMs} + set {_uniqueStorage()._creationTimestampMs = newValue} + } + + public var pokeball: Item { + get {return _storage._pokeball} + set {_uniqueStorage()._pokeball = newValue} + } + + public var totalStats: BuddyStats { + get {return _storage._totalStats ?? BuddyStats()} + set {_uniqueStorage()._totalStats = newValue} + } + /// Returns true if `totalStats` has been explicitly set. + public var hasTotalStats: Bool {return _storage._totalStats != nil} + /// Clears the value of `totalStats`. Subsequent reads from it will return its default value. + public mutating func clearTotalStats() {_uniqueStorage()._totalStats = nil} + + public var currentPointsEarned: Int32 { + get {return _storage._currentPointsEarned} + set {_uniqueStorage()._currentPointsEarned = newValue} + } + + public var lastSetTimestampMs: Int64 { + get {return _storage._lastSetTimestampMs} + set {_uniqueStorage()._lastSetTimestampMs = newValue} + } + + public var lastUnsetTimestampMs: Int64 { + get {return _storage._lastUnsetTimestampMs} + set {_uniqueStorage()._lastUnsetTimestampMs = newValue} + } + + public var numDaysSpentWithBuddy: Int32 { + get {return _storage._numDaysSpentWithBuddy} + set {_uniqueStorage()._numDaysSpentWithBuddy = newValue} + } + + public var ditched: Bool { + get {return _storage._ditched} + set {_uniqueStorage()._ditched = newValue} + } + + public var originalOwnerNickname: String { + get {return _storage._originalOwnerNickname} + set {_uniqueStorage()._originalOwnerNickname = newValue} + } + + public var tradedTimeMs: Int64 { + get {return _storage._tradedTimeMs} + set {_uniqueStorage()._tradedTimeMs = newValue} + } + + public var souvenirsCollected: Dictionary { + get {return _storage._souvenirsCollected} + set {_uniqueStorage()._souvenirsCollected = newValue} + } + + public var kmCandyProgress: Float { + get {return _storage._kmCandyProgress} + set {_uniqueStorage()._kmCandyProgress = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} -public struct CancelFriendInviteProto { +public struct BuddyHungerSettings { // 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. - public var playerID: String = String() + public var numHungerPointsRequiredForFull: Int32 = 0 - public var niaAccountID: String = String() + public var decayPointsPerBucket: Int32 = 0 + + public var millisecondsPerBucket: Int64 = 0 + + public var cooldownDurationMs: Int64 = 0 + + public var decayDurationAfterFullMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CancelMatchmakingDataProto { +public struct BuddyInteractionSettings { // 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. - public var obInt32: Int32 = 0 + public var feedItemWhitelist: [Item] = [] + + public var careItemWhitelist: [Item] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CancelMatchmakingOutProto { +public struct BuddyLevelSettings { // 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. - public var result: CancelMatchmakingOutProto.Result = .unset + public var level: BuddyLevel = .unset + + public var minNonCumulativePointsRequired: Int32 = 0 + + public var unlockedTraits: [BuddyLevelSettings.BuddyTrait] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum BuddyTrait: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case successfullyCancelled // = 1 - case errorAlreadyMatched // = 2 - case errorPlayerNotFound // = 3 - case errorQueueNotFound // = 4 + case mapDeploy // = 1 + case encounterCameo // = 2 + case emotionIndicator // = 3 + case pickUpConsumables // = 4 + case pickUpSouvenirs // = 5 + case findAttractivePois // = 6 + case bestBuddyAsset // = 7 + case cpBoost // = 8 case UNRECOGNIZED(Int) public init() { @@ -42512,10 +44424,14 @@ public struct CancelMatchmakingOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .successfullyCancelled - case 2: self = .errorAlreadyMatched - case 3: self = .errorPlayerNotFound - case 4: self = .errorQueueNotFound + case 1: self = .mapDeploy + case 2: self = .encounterCameo + case 3: self = .emotionIndicator + case 4: self = .pickUpConsumables + case 5: self = .pickUpSouvenirs + case 6: self = .findAttractivePois + case 7: self = .bestBuddyAsset + case 8: self = .cpBoost default: self = .UNRECOGNIZED(rawValue) } } @@ -42523,10 +44439,14 @@ public struct CancelMatchmakingOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .successfullyCancelled: return 1 - case .errorAlreadyMatched: return 2 - case .errorPlayerNotFound: return 3 - case .errorQueueNotFound: return 4 + case .mapDeploy: return 1 + case .encounterCameo: return 2 + case .emotionIndicator: return 3 + case .pickUpConsumables: return 4 + case .pickUpSouvenirs: return 5 + case .findAttractivePois: return 6 + case .bestBuddyAsset: return 7 + case .cpBoost: return 8 case .UNRECOGNIZED(let i): return i } } @@ -42538,86 +44458,58 @@ public struct CancelMatchmakingOutProto { #if swift(>=4.2) -extension CancelMatchmakingOutProto.Result: CaseIterable { +extension BuddyLevelSettings.BuddyTrait: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CancelMatchmakingOutProto.Result] = [ + public static var allCases: [BuddyLevelSettings.BuddyTrait] = [ .unset, - .successfullyCancelled, - .errorAlreadyMatched, - .errorPlayerNotFound, - .errorQueueNotFound, + .mapDeploy, + .encounterCameo, + .emotionIndicator, + .pickUpConsumables, + .pickUpSouvenirs, + .findAttractivePois, + .bestBuddyAsset, + .cpBoost, ] } #endif // swift(>=4.2) -public struct CancelMatchmakingProto { - // 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. - - public var queueID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct CancelMatchmakingResponseDataProto { +public struct BuddyMapEmotionCheckTelemetry { // 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. - public var obInt32: Int32 = 0 - - public var obUint32: UInt32 = 0 - - public var result: CancelMatchmakingOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct CancelRouteOutProto { - // 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. + public var pokemonID: HoloPokemonId = .missingno - public var status: RoutePlayStatus.Status = .unset + public var currentEmotionPoints: Int32 = 0 - public var cooldownFinishMs: Int64 = 0 + public var currentAffectionPoints: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CancelRouteProto { +public struct BuddyMapOutProto { // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var result: BuddyMapOutProto.Result = .unset -public struct CancelTradingOutProto { - // 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. + public var expirationMs: Int64 = 0 - public var result: CancelTradingOutProto.Result = .unset + public var appliedMs: Int64 = 0 - public var trading: TradingProto { - get {return _trading ?? TradingProto()} - set {_trading = newValue} + public var observedData: BuddyObservedData { + get {return _observedData ?? BuddyObservedData()} + set {_observedData = newValue} } - /// Returns true if `trading` has been explicitly set. - public var hasTrading: Bool {return self._trading != nil} - /// Clears the value of `trading`. Subsequent reads from it will return its default value. - public mutating func clearTrading() {self._trading = nil} + /// Returns true if `observedData` has been explicitly set. + public var hasObservedData: Bool {return self._observedData != nil} + /// Clears the value of `observedData`. Subsequent reads from it will return its default value. + public mutating func clearObservedData() {self._observedData = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -42625,11 +44517,7 @@ public struct CancelTradingOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 - case errorFriendNotFound // = 3 - case errorInvalidPlayerID // = 4 - case errorInvalidState // = 5 - case errorStateHandler // = 6 + case errorBuddyNotValid // = 2 case UNRECOGNIZED(Int) public init() { @@ -42640,11 +44528,7 @@ public struct CancelTradingOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorFriendNotFound - case 4: self = .errorInvalidPlayerID - case 5: self = .errorInvalidState - case 6: self = .errorStateHandler + case 2: self = .errorBuddyNotValid default: self = .UNRECOGNIZED(rawValue) } } @@ -42653,11 +44537,7 @@ public struct CancelTradingOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 - case .errorFriendNotFound: return 3 - case .errorInvalidPlayerID: return 4 - case .errorInvalidState: return 5 - case .errorStateHandler: return 6 + case .errorBuddyNotValid: return 2 case .UNRECOGNIZED(let i): return i } } @@ -42666,167 +44546,175 @@ public struct CancelTradingOutProto { public init() {} - fileprivate var _trading: TradingProto? = nil + fileprivate var _observedData: BuddyObservedData? = nil } #if swift(>=4.2) -extension CancelTradingOutProto.Result: CaseIterable { +extension BuddyMapOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CancelTradingOutProto.Result] = [ + public static var allCases: [BuddyMapOutProto.Result] = [ .unset, .success, - .errorUnknown, - .errorFriendNotFound, - .errorInvalidPlayerID, - .errorInvalidState, - .errorStateHandler, + .errorBuddyNotValid, ] } #endif // swift(>=4.2) -public struct CancelTradingProto { +public struct BuddyMapProto { // 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. - public var playerID: String = String() + public var buddyHomeWidgetActive: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CapProto { +public struct BuddyMultiplayerConnectionFailedProto { // 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. - public var center: PointProto { - get {return _center ?? PointProto()} - set {_center = newValue} - } - /// Returns true if `center` has been explicitly set. - public var hasCenter: Bool {return self._center != nil} - /// Clears the value of `center`. Subsequent reads from it will return its default value. - public mutating func clearCenter() {self._center = nil} + public var testNumber: Int32 = 0 - public var angleDegrees: Double = 0 + public var responseTime: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _center: PointProto? = nil } -public struct CaptureProbabilityProto { +public struct BuddyMultiplayerConnectionSucceededProto { // 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. - public var pokeballType: [Item] = [] - - public var captureProbability: [Float] = [] + public var testNumber: Int32 = 0 - public var reticleDifficultyScale: Double = 0 + public var responseTime: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CaptureScoreProto { +public struct BuddyMultiplayerTimeToGetSessionProto { // 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. - public var activityType: [HoloActivityType] = [] - - public var exp: [Int32] = [] - - public var candy: [Int32] = [] - - public var stardust: [Int32] = [] - - public var xlCandy: [Int32] = [] - - public var candyFromActiveMega: Int32 = 0 - - public var obInt32: Int32 = 0 + public var testNumber: Int32 = 0 - public var obField: CaptureScoreProto.ScoreData { - get {return _obField ?? CaptureScoreProto.ScoreData()} - set {_obField = newValue} - } - /// Returns true if `obField` has been explicitly set. - public var hasObField: Bool {return self._obField != nil} - /// Clears the value of `obField`. Subsequent reads from it will return its default value. - public mutating func clearObField() {self._obField = nil} + public var timeToGetSession: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct ScoreData { - // 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. - - public var tempEvo: HoloTemporaryEvolutionId = .tempEvolutionUnset - - public var obInt321: Int32 = 0 + public init() {} +} - public var obInt322: Int32 = 0 +public struct BuddyNotificationClickTelemetry { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var notificationCategory: Int32 = 0 - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _obField: CaptureScoreProto.ScoreData? = nil } -public struct CatchCardTelemetry { +public struct BuddyObservedData { // 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. - public var photoType: CatchCardTelemetry.PhotoType = .unset - - public var templateID: String = String() - - public var sharedToSystem: Bool = false + public var currentPointsEarned: Int32 { + get {return _storage._currentPointsEarned} + set {_uniqueStorage()._currentPointsEarned = newValue} + } - public var campfireID: String = String() + public var totalStats: BuddyStats { + get {return _storage._totalStats ?? BuddyStats()} + set {_uniqueStorage()._totalStats = newValue} + } + /// Returns true if `totalStats` has been explicitly set. + public var hasTotalStats: Bool {return _storage._totalStats != nil} + /// Clears the value of `totalStats`. Subsequent reads from it will return its default value. + public mutating func clearTotalStats() {_uniqueStorage()._totalStats = nil} - public var timeSinceCaughtSeconds: Int32 = 0 + public var buddyGiftPickedUp: BuddyGiftProto { + get {return _storage._buddyGiftPickedUp ?? BuddyGiftProto()} + set {_uniqueStorage()._buddyGiftPickedUp = newValue} + } + /// Returns true if `buddyGiftPickedUp` has been explicitly set. + public var hasBuddyGiftPickedUp: Bool {return _storage._buddyGiftPickedUp != nil} + /// Clears the value of `buddyGiftPickedUp`. Subsequent reads from it will return its default value. + public mutating func clearBuddyGiftPickedUp() {_uniqueStorage()._buddyGiftPickedUp = nil} - public var pokemonID: HoloPokemonId = .missingno + public var currentEmotionPoints: Int32 { + get {return _storage._currentEmotionPoints} + set {_uniqueStorage()._currentEmotionPoints = newValue} + } - public var shiny: Bool = false + public var buddyValidationResult: BuddyObservedData.BuddyValidationResult { + get {return _storage._buddyValidationResult} + set {_uniqueStorage()._buddyValidationResult = newValue} + } - public var form: PokemonDisplayProto.Form = .unset + public var souvenirsCollected: Dictionary { + get {return _storage._souvenirsCollected} + set {_uniqueStorage()._souvenirsCollected = newValue} + } - public var costume: PokemonDisplayProto.Costume = .unset + public var todayStatsShownHearts: BuddyStatsShownHearts { + get {return _storage._todayStatsShownHearts ?? BuddyStatsShownHearts()} + set {_uniqueStorage()._todayStatsShownHearts = newValue} + } + /// Returns true if `todayStatsShownHearts` has been explicitly set. + public var hasTodayStatsShownHearts: Bool {return _storage._todayStatsShownHearts != nil} + /// Clears the value of `todayStatsShownHearts`. Subsequent reads from it will return its default value. + public mutating func clearTodayStatsShownHearts() {_uniqueStorage()._todayStatsShownHearts = nil} - public var individualAttack: Int32 = 0 + public var buddyFeedStats: BuddyObservedData.BuddyFeedStats { + get {return _storage._buddyFeedStats ?? BuddyObservedData.BuddyFeedStats()} + set {_uniqueStorage()._buddyFeedStats = newValue} + } + /// Returns true if `buddyFeedStats` has been explicitly set. + public var hasBuddyFeedStats: Bool {return _storage._buddyFeedStats != nil} + /// Clears the value of `buddyFeedStats`. Subsequent reads from it will return its default value. + public mutating func clearBuddyFeedStats() {_uniqueStorage()._buddyFeedStats = nil} - public var individualDefense: Int32 = 0 + public var attractivePoiID: String { + get {return _storage._attractivePoiID} + set {_uniqueStorage()._attractivePoiID = newValue} + } - public var individualStamina: Int32 = 0 + public var attractivePoiExpirationTimeMs: Int64 { + get {return _storage._attractivePoiExpirationTimeMs} + set {_uniqueStorage()._attractivePoiExpirationTimeMs = newValue} + } - public var alignment: PokemonDisplayProto.Alignment = .unset + public var numDaysSpentWithBuddy: Int32 { + get {return _storage._numDaysSpentWithBuddy} + set {_uniqueStorage()._numDaysSpentWithBuddy = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum PhotoType: SwiftProtobuf.Enum { + public enum BuddyValidationResult: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case `default` // = 1 - case arClassic // = 2 - case arPlus // = 3 + case success // = 1 + case failedBuddyNotSet // = 2 + case failedBuddyNotFound // = 3 + case failedBadBuddy // = 4 + case failedBuddyV2NotEnabled // = 5 + case failedPlayerLevelTooLow // = 6 case UNRECOGNIZED(Int) public init() { @@ -42836,9 +44724,12 @@ public struct CatchCardTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .default - case 2: self = .arClassic - case 3: self = .arPlus + case 1: self = .success + case 2: self = .failedBuddyNotSet + case 3: self = .failedBuddyNotFound + case 4: self = .failedBadBuddy + case 5: self = .failedBuddyV2NotEnabled + case 6: self = .failedPlayerLevelTooLow default: self = .UNRECOGNIZED(rawValue) } } @@ -42846,58 +44737,147 @@ public struct CatchCardTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .default: return 1 - case .arClassic: return 2 - case .arPlus: return 3 + case .success: return 1 + case .failedBuddyNotSet: return 2 + case .failedBuddyNotFound: return 3 + case .failedBadBuddy: return 4 + case .failedBuddyV2NotEnabled: return 5 + case .failedPlayerLevelTooLow: return 6 case .UNRECOGNIZED(let i): return i } } } + public struct BuddyFeedStats { + // 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. + + public var mapExpirationMs: Int64 = 0 + + public var preMapFullnessPercentage: Float = 0 + + public var fullnessExpirationMs: Int64 = 0 + + public var poffinExpirationMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension CatchCardTelemetry.PhotoType: CaseIterable { +extension BuddyObservedData.BuddyValidationResult: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CatchCardTelemetry.PhotoType] = [ + public static var allCases: [BuddyObservedData.BuddyValidationResult] = [ .unset, - .default, - .arClassic, - .arPlus, + .success, + .failedBuddyNotSet, + .failedBuddyNotFound, + .failedBadBuddy, + .failedBuddyV2NotEnabled, + .failedPlayerLevelTooLow, ] } #endif // swift(>=4.2) -public struct CatchPokemonGlobalSettingsProto { +public struct BuddyPettingOutProto { // 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. - public var enableCaptureOriginDetailsDisplay: Bool = false + public var result: BuddyPettingOutProto.Result = .unset - public var enableCaptureOriginEventsDisplay: Bool = false + public var observedData: BuddyObservedData { + get {return _observedData ?? BuddyObservedData()} + set {_observedData = newValue} + } + /// Returns true if `observedData` has been explicitly set. + public var hasObservedData: Bool {return self._observedData != nil} + /// Clears the value of `observedData`. Subsequent reads from it will return its default value. + public mutating func clearObservedData() {self._observedData = nil} + + public var shownHearts: BuddyStatsShownHearts.BuddyShownHeartType = .buddyHeartUnset public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorBuddyNotValid // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorBuddyNotValid + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorBuddyNotValid: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} + + fileprivate var _observedData: BuddyObservedData? = nil } -public struct CatchPokemonLogEntry { +#if swift(>=4.2) + +extension BuddyPettingOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [BuddyPettingOutProto.Result] = [ + .unset, + .success, + .errorBuddyNotValid, + ] +} + +#endif // swift(>=4.2) + +public struct BuddyPettingProto { // 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. - public var result: CatchPokemonLogEntry.Result = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var pokedexNumber: Int32 = 0 + public init() {} +} - public var combatPoints: Int32 = 0 +public struct BuddyPokemonLogEntry { + // 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. - public var pokemonID: UInt64 = 0 + public var result: BuddyPokemonLogEntry.Result = .unset + + public var pokemonType: HoloPokemonId = .missingno + + public var amount: Int32 = 0 public var pokemonDisplay: PokemonDisplayProto { get {return _pokemonDisplay ?? PokemonDisplayProto()} @@ -42908,16 +44888,16 @@ public struct CatchPokemonLogEntry { /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public var items: [LootItemProto] = [] + public var pokemonID: UInt64 = 0 + + public var amountXl: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case pokemonCaptured // = 1 - case pokemonFled // = 2 - case pokemonHatched // = 3 + case candyFound // = 1 case UNRECOGNIZED(Int) public init() { @@ -42927,9 +44907,7 @@ public struct CatchPokemonLogEntry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .pokemonCaptured - case 2: self = .pokemonFled - case 3: self = .pokemonHatched + case 1: self = .candyFound default: self = .UNRECOGNIZED(rawValue) } } @@ -42937,9 +44915,7 @@ public struct CatchPokemonLogEntry { public var rawValue: Int { switch self { case .unset: return 0 - case .pokemonCaptured: return 1 - case .pokemonFled: return 2 - case .pokemonHatched: return 3 + case .candyFound: return 1 case .UNRECOGNIZED(let i): return i } } @@ -42953,97 +44929,98 @@ public struct CatchPokemonLogEntry { #if swift(>=4.2) -extension CatchPokemonLogEntry.Result: CaseIterable { +extension BuddyPokemonLogEntry.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CatchPokemonLogEntry.Result] = [ + public static var allCases: [BuddyPokemonLogEntry.Result] = [ .unset, - .pokemonCaptured, - .pokemonFled, - .pokemonHatched, + .candyFound, ] } #endif // swift(>=4.2) -public struct CatchPokemonOutProto { +public struct BuddyPokemonProto { // 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. - public var status: CatchPokemonOutProto.Status { - get {return _storage._status} - set {_uniqueStorage()._status = newValue} - } + public var buddyPokemonID: UInt64 = 0 - public var missPercent: Double { - get {return _storage._missPercent} - set {_uniqueStorage()._missPercent = newValue} - } + public var startKmWalked: Double = 0 - public var capturedPokemonID: UInt64 { - get {return _storage._capturedPokemonID} - set {_uniqueStorage()._capturedPokemonID = newValue} - } + public var lastKmAwarded: Double = 0 - public var scores: CaptureScoreProto { - get {return _storage._scores ?? CaptureScoreProto()} - set {_uniqueStorage()._scores = newValue} + public var dailyBuddySwaps: DailyCounterProto { + get {return _dailyBuddySwaps ?? DailyCounterProto()} + set {_dailyBuddySwaps = newValue} } - /// Returns true if `scores` has been explicitly set. - public var hasScores: Bool {return _storage._scores != nil} - /// Clears the value of `scores`. Subsequent reads from it will return its default value. - public mutating func clearScores() {_uniqueStorage()._scores = nil} + /// Returns true if `dailyBuddySwaps` has been explicitly set. + public var hasDailyBuddySwaps: Bool {return self._dailyBuddySwaps != nil} + /// Clears the value of `dailyBuddySwaps`. Subsequent reads from it will return its default value. + public mutating func clearDailyBuddySwaps() {self._dailyBuddySwaps = nil} - public var captureReason: CatchPokemonOutProto.CaptureReason { - get {return _storage._captureReason} - set {_uniqueStorage()._captureReason = newValue} - } + public var lastKmAwardedMs: Int64 = 0 - public var displayPokedexID: HoloPokemonId { - get {return _storage._displayPokedexID} - set {_uniqueStorage()._displayPokedexID = newValue} - } + public var bestBuddiesBackfilled: Bool = false - public var throwsRemaining: Int32 { - get {return _storage._throwsRemaining} - set {_uniqueStorage()._throwsRemaining = newValue} - } + public var lastSetTimestampMs: Int64 = 0 - public var pokemonDisplay1: PokemonDisplayProto { - get {return _storage._pokemonDisplay1 ?? PokemonDisplayProto()} - set {_uniqueStorage()._pokemonDisplay1 = newValue} - } - /// Returns true if `pokemonDisplay1` has been explicitly set. - public var hasPokemonDisplay1: Bool {return _storage._pokemonDisplay1 != nil} - /// Clears the value of `pokemonDisplay1`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay1() {_uniqueStorage()._pokemonDisplay1 = nil} + public var pendingBonusKm: Float = 0 - public var pokemonDisplay2: PokemonDisplayProto { - get {return _storage._pokemonDisplay2 ?? PokemonDisplayProto()} - set {_uniqueStorage()._pokemonDisplay2 = newValue} - } - /// Returns true if `pokemonDisplay2` has been explicitly set. - public var hasPokemonDisplay2: Bool {return _storage._pokemonDisplay2 != nil} - /// Clears the value of `pokemonDisplay2`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay2() {_uniqueStorage()._pokemonDisplay2 = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var rewards: LootProto { - get {return _storage._rewards ?? LootProto()} - set {_uniqueStorage()._rewards = newValue} + public init() {} + + fileprivate var _dailyBuddySwaps: DailyCounterProto? = nil +} + +public struct BuddyStats { + // 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. + + public var kmWalked: Float = 0 + + public var berriesFed: Int32 = 0 + + public var communication: Int32 = 0 + + public var battles: Int32 = 0 + + public var photos: Int32 = 0 + + public var newVisits: Int32 = 0 + + public var routesWalked: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct BuddyStatsOutProto { + // 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. + + public var result: BuddyStatsOutProto.Result = .unset + + public var observedData: BuddyObservedData { + get {return _observedData ?? BuddyObservedData()} + set {_observedData = newValue} } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return _storage._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {_uniqueStorage()._rewards = nil} + /// Returns true if `observedData` has been explicitly set. + public var hasObservedData: Bool {return self._observedData != nil} + /// Clears the value of `observedData`. Subsequent reads from it will return its default value. + public mutating func clearObservedData() {self._observedData = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum CaptureReason: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case `default` // = 1 - case elementalBadge // = 2 - case criticalCatch // = 3 + case success // = 1 + case errorBuddyNotValid // = 2 case UNRECOGNIZED(Int) public init() { @@ -43053,9 +45030,8 @@ public struct CatchPokemonOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .default - case 2: self = .elementalBadge - case 3: self = .criticalCatch + case 1: self = .success + case 2: self = .errorBuddyNotValid default: self = .UNRECOGNIZED(rawValue) } } @@ -43063,288 +45039,344 @@ public struct CatchPokemonOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .default: return 1 - case .elementalBadge: return 2 - case .criticalCatch: return 3 + case .success: return 1 + case .errorBuddyNotValid: return 2 case .UNRECOGNIZED(let i): return i } } } - public enum Status: SwiftProtobuf.Enum { + public init() {} + + fileprivate var _observedData: BuddyObservedData? = nil +} + +#if swift(>=4.2) + +extension BuddyStatsOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [BuddyStatsOutProto.Result] = [ + .unset, + .success, + .errorBuddyNotValid, + ] +} + +#endif // swift(>=4.2) + +public struct BuddyStatsProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct BuddyStatsShownHearts { + // 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. + + public var buddyAffectionKmInProgress: Float = 0 + + public var buddyShownHeartsPerCategory: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum BuddyShownHeartType: SwiftProtobuf.Enum { public typealias RawValue = Int - case catchError // = 0 - case catchSuccess // = 1 - case catchEscape // = 2 - case catchFlee // = 3 - case catchMissed // = 4 + case buddyHeartUnset // = 0 + case buddyHeartSingle // = 1 + case buddyHeartDouble // = 2 case UNRECOGNIZED(Int) public init() { - self = .catchError + self = .buddyHeartUnset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .catchError - case 1: self = .catchSuccess - case 2: self = .catchEscape - case 3: self = .catchFlee - case 4: self = .catchMissed + case 0: self = .buddyHeartUnset + case 1: self = .buddyHeartSingle + case 2: self = .buddyHeartDouble default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .catchError: return 0 - case .catchSuccess: return 1 - case .catchEscape: return 2 - case .catchFlee: return 3 - case .catchMissed: return 4 + case .buddyHeartUnset: return 0 + case .buddyHeartSingle: return 1 + case .buddyHeartDouble: return 2 case .UNRECOGNIZED(let i): return i } } } - public init() {} + public struct BuddyShownHeartsList { + // 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. - fileprivate var _storage = _StorageClass.defaultInstance -} + public var buddyShownHeartTypes: [BuddyStatsShownHearts.BuddyShownHeartType] = [] -#if swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() -extension CatchPokemonOutProto.CaptureReason: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CatchPokemonOutProto.CaptureReason] = [ - .unset, - .default, - .elementalBadge, - .criticalCatch, - ] + public init() {} + } + + public init() {} } -extension CatchPokemonOutProto.Status: CaseIterable { +#if swift(>=4.2) + +extension BuddyStatsShownHearts.BuddyShownHeartType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CatchPokemonOutProto.Status] = [ - .catchError, - .catchSuccess, - .catchEscape, - .catchFlee, - .catchMissed, + public static var allCases: [BuddyStatsShownHearts.BuddyShownHeartType] = [ + .buddyHeartUnset, + .buddyHeartSingle, + .buddyHeartDouble, ] } #endif // swift(>=4.2) -public struct CatchPokemonProto { +public struct BuddySwapSettings { // 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. - public var encounterID: UInt64 = 0 - - public var pokeball: Item = .unknown - - public var normalizedReticleSize: Double = 0 - - public var spawnPointGuid: String = String() - - public var hitPokemon: Bool = false - - public var spinModifier: Double = 0 - - public var normalizedHitPosition: Double = 0 + public var maxSwapsPerDay: Int32 = 0 - public var arPlusValues: ARPlusEncounterValuesProto { - get {return _arPlusValues ?? ARPlusEncounterValuesProto()} - set {_arPlusValues = newValue} - } - /// Returns true if `arPlusValues` has been explicitly set. - public var hasArPlusValues: Bool {return self._arPlusValues != nil} - /// Clears the value of `arPlusValues`. Subsequent reads from it will return its default value. - public mutating func clearArPlusValues() {self._arPlusValues = nil} + public var enableSwapFreeEvolution: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _arPlusValues: ARPlusEncounterValuesProto? = nil } -public struct CatchPokemonQuestProto { +public struct BuddyWalkSettings { // 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. - public var uniquePokemonID: [HoloPokemonId] = [] - - public var activeEncounterID: UInt64 = 0 + public var kmRequiredPerAffectionPoint: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CatchPokemonTelemetry { +public struct BuffSettingsProto { // 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. - public var status: String = String() - - public var encounterPokemonTelemetry: EncounterPokemonTelemetry { - get {return _encounterPokemonTelemetry ?? EncounterPokemonTelemetry()} - set {_encounterPokemonTelemetry = newValue} - } - /// Returns true if `encounterPokemonTelemetry` has been explicitly set. - public var hasEncounterPokemonTelemetry: Bool {return self._encounterPokemonTelemetry != nil} - /// Clears the value of `encounterPokemonTelemetry`. Subsequent reads from it will return its default value. - public mutating func clearEncounterPokemonTelemetry() {self._encounterPokemonTelemetry = nil} - - public var balltype: Item = .unknown + public var countdownReminderS: Int32 = 0 - public var hitGrade: Int32 = 0 + public var clickExtensionEnabled: Bool = false - public var curveBall: Bool = false + public var applicableBuffs: [Item] = [] - public var missPercent: Double = 0 + public var friendshipLuckyEggEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _encounterPokemonTelemetry: EncounterPokemonTelemetry? = nil } -public struct CatchRadiusMultiplierSettingsProto { +public struct BuildingMetadata { // 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. - public var enabled: Bool = false + public var heightMeters: Int32 = 0 + + public var isUnderground: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ChallengeIdMismatchDataProto { +public struct BulkHealingSettingsProto { // 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. - public var obString: String = String() + public var enabled: Bool = false - public var type: ObCombatMismatchData.MismatchState.TypeEnum = .noType + public var maxPokemonsPerHeal: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ChallengeQuestsSectionProto { +public struct ButterflyCollectorBadgeData { // 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. - public var obStringList: [String] = [] + public var version: Int32 = 0 + + public var region: [ButterflyCollectorRegionMedal] = [] + + public var encounter: [QuestPokemonEncounterProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ChangeArTelemetry { +public struct ButterflyCollectorRegionMedal { // 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. - public var arEnabled: Bool = false + public var region: VivillonRegion = .unknown - public var arPlusEnabled: Bool = false + public var rank: Int32 = 0 + + public var state: ButterflyCollectorRegionMedal.State = .progress + + public var progress: Int32 = 0 + + public var goal: Int32 = 0 + + public var postcardOrigin: Int64 = 0 + + public var receivedTimeMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum State: SwiftProtobuf.Enum { + public typealias RawValue = Int + case progress // = 0 + case complete // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .progress + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .progress + case 1: self = .complete + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .progress: return 0 + case .complete: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} } -public struct ChangeOnlineStatusTelemetry { +#if swift(>=4.2) + +extension ButterflyCollectorRegionMedal.State: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ButterflyCollectorRegionMedal.State] = [ + .progress, + .complete, + ] +} + +#endif // swift(>=4.2) + +public struct ButterflyCollectorRewardEncounterProtoRequest { // 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. - public var isOnlineStatusOn: Bool = false + public var region: VivillonRegion = .unknown public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ChangePokemonFormOutProto { +public struct ButterflyCollectorRewardEncounterProtoResponse { // 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. - public var result: ChangePokemonFormOutProto.Result = .unset + public var result: ButterflyCollectorRewardEncounterProtoResponse.Result = .unknown - public var changedPokemon: PokemonProto { - get {return _changedPokemon ?? PokemonProto()} - set {_changedPokemon = newValue} + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} } - /// Returns true if `changedPokemon` has been explicitly set. - public var hasChangedPokemon: Bool {return self._changedPokemon != nil} - /// Clears the value of `changedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearChangedPokemon() {self._changedPokemon = nil} + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} - public var expAwarded: Int32 = 0 + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var candyAwarded: Int32 = 0 + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var encounterID: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPokemonMissing // = 2 - case errorInsufficientResources // = 3 - case errorQuestIncomplete // = 4 - case errorPokemonCannotChange // = 5 - case errorPokemonDeployed // = 6 - case errorFeatureDisabled // = 7 + case unknown // = 0 + case successEncounter // = 1 + case successPokemonInventoryFull // = 2 + case errorRequiresProgress // = 3 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .unknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPokemonMissing - case 3: self = .errorInsufficientResources - case 4: self = .errorQuestIncomplete - case 5: self = .errorPokemonCannotChange - case 6: self = .errorPokemonDeployed - case 7: self = .errorFeatureDisabled + case 0: self = .unknown + case 1: self = .successEncounter + case 2: self = .successPokemonInventoryFull + case 3: self = .errorRequiresProgress default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .errorPokemonMissing: return 2 - case .errorInsufficientResources: return 3 - case .errorQuestIncomplete: return 4 - case .errorPokemonCannotChange: return 5 - case .errorPokemonDeployed: return 6 - case .errorFeatureDisabled: return 7 + case .unknown: return 0 + case .successEncounter: return 1 + case .successPokemonInventoryFull: return 2 + case .errorRequiresProgress: return 3 case .UNRECOGNIZED(let i): return i } } @@ -43353,67 +45385,49 @@ public struct ChangePokemonFormOutProto { public init() {} - fileprivate var _changedPokemon: PokemonProto? = nil + fileprivate var _rewards: LootProto? = nil + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension ChangePokemonFormOutProto.Result: CaseIterable { +extension ButterflyCollectorRewardEncounterProtoResponse.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ChangePokemonFormOutProto.Result] = [ - .unset, - .success, - .errorPokemonMissing, - .errorInsufficientResources, - .errorQuestIncomplete, - .errorPokemonCannotChange, - .errorPokemonDeployed, - .errorFeatureDisabled, + public static var allCases: [ButterflyCollectorRewardEncounterProtoResponse.Result] = [ + .unknown, + .successEncounter, + .successPokemonInventoryFull, + .errorRequiresProgress, ] } #endif // swift(>=4.2) -public struct ChangePokemonFormProto { - // 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. - - public var pokemonID: UInt64 = 0 - - public var targetForm: PokemonDisplayProto.Form = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ChangeTeamOutProto { +public struct ButterflyCollectorRewardsLogEntry { // 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. - public var status: ChangeTeamOutProto.Status = .unset + public var result: ButterflyCollectorRewardsLogEntry.Result = .unset - public var updatedPlayer: ClientPlayerProto { - get {return _updatedPlayer ?? ClientPlayerProto()} - set {_updatedPlayer = newValue} + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} } - /// Returns true if `updatedPlayer` has been explicitly set. - public var hasUpdatedPlayer: Bool {return self._updatedPlayer != nil} - /// Clears the value of `updatedPlayer`. Subsequent reads from it will return its default value. - public mutating func clearUpdatedPlayer() {self._updatedPlayer = nil} + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var vivillonRegion: VivillonRegion = .unknown public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorSameTeam // = 2 - case errorItemNotInInventory // = 3 - case errorWrongItem // = 4 - case errorUnknown // = 5 case UNRECOGNIZED(Int) public init() { @@ -43424,10 +45438,6 @@ public struct ChangeTeamOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorSameTeam - case 3: self = .errorItemNotInInventory - case 4: self = .errorWrongItem - case 5: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -43436,10 +45446,6 @@ public struct ChangeTeamOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorSameTeam: return 2 - case .errorItemNotInInventory: return 3 - case .errorWrongItem: return 4 - case .errorUnknown: return 5 case .UNRECOGNIZED(let i): return i } } @@ -43448,253 +45454,192 @@ public struct ChangeTeamOutProto { public init() {} - fileprivate var _updatedPlayer: ClientPlayerProto? = nil + fileprivate var _rewards: LootProto? = nil } #if swift(>=4.2) -extension ChangeTeamOutProto.Status: CaseIterable { +extension ButterflyCollectorRewardsLogEntry.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ChangeTeamOutProto.Status] = [ + public static var allCases: [ButterflyCollectorRewardsLogEntry.Result] = [ .unset, .success, - .errorSameTeam, - .errorItemNotInInventory, - .errorWrongItem, - .errorUnknown, ] } #endif // swift(>=4.2) -public struct ChangeTeamProto { +public struct ButterflyCollectorSettings { // 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. - public var item: Item = .unknown - - public var team: Team = .unset + public var enabled: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var version: Int32 = 0 - public init() {} -} + public var region: [VivillonRegion] = [] -public struct CharacterDisplayProto { - // 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. + public var usePostcardModifier: Bool = false - public var style: EnumWrapper.PokestopStyle = .pokestopNormal + public var dailyProgressFromInventory: Int32 = 0 - public var character: EnumWrapper.InvasionCharacter = .characterUnset + public var regionOverride: VivillonRegion = .unknown public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ChatMessageContext { +public struct CameraSettingsProto { // 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. - public var flagContent: ChatMessageContext.OneOf_FlagContent? = nil + public var nextCamera: String = String() - public var text: String { - get { - if case .text(let v)? = flagContent {return v} - return String() - } - set {flagContent = .text(newValue)} - } + public var interpolation: [CameraInterpolation] = [] - public var imageID: String { - get { - if case .imageID(let v)? = flagContent {return v} - return String() - } - set {flagContent = .imageID(newValue)} - } + public var targetType: [CameraTarget] = [] - public var messageID: Int64 = 0 + public var easeInSpeed: [Float] = [] - public var senderID: String = String() + public var easeOutSpeed: [Float] = [] - public var postedTimestampMs: Int64 = 0 + public var durationS: [Float] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var waitS: [Float] = [] - public enum OneOf_FlagContent: Equatable { - case text(String) - case imageID(String) + public var transitionS: [Float] = [] - #if !swift(>=4.1) - public static func ==(lhs: ChatMessageContext.OneOf_FlagContent, rhs: ChatMessageContext.OneOf_FlagContent) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.text, .text): return { - guard case .text(let l) = lhs, case .text(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.imageID, .imageID): return { - guard case .imageID(let l) = lhs, case .imageID(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } + public var angleDeg: [Float] = [] - public init() {} -} + public var angleOffsetDeg: [Float] = [] -public struct CheckAwardedBadgesOutProto { - // 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. + public var pitchDeg: [Float] = [] - public var success: Bool = false + public var pitchOffsetDeg: [Float] = [] - public var awardedBadges: [HoloBadgeType] = [] + public var rollDeg: [Float] = [] - public var awardedBadgeLevels: [Int32] = [] + public var distanceM: [Float] = [] - public var avatarTemplateIds: [String] = [] + public var heightPercent: [Float] = [] + + public var vertCtrRatio: [Float] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CheckAwardedBadgesProto { +public struct CampfireSettingsProto { // 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. + public var campfireEnabled: Bool = false + + public var mapButtonsEnabled: Bool = false + + public var catchCardEnabled: Bool = false + + public var arCatchCardEnabled: Bool = false + + public var catchCardTemplateBundleKeys: [String] = [] + + public var catchCardAvailableSeconds: Int32 = 0 + + public var settingsToggleEnabled: Bool = false + + public var catchCardShareCampfireEnabled: Bool = false + + public var arCatchCardShareCampfireEnabled: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CheckChallengeOutProto { +public struct CanClaimPtcRewardActionOutProto { // 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. - public var showChallenge: Bool = false - - public var challengeURL: String = String() + public var canClaim: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CheckChallengeProto { +public struct CanClaimPtcRewardActionProto { // 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. - public var debugRequest: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CheckEncounterTrayInfoTelemetry { +public struct CanReportRouteOutProto { // 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. - public var berryTrayInfo: Bool = false + public var result: ReportRouteOutProto.Result = .unset - public var ballTrayInfo: Bool = false + public var remainingCooldownDays: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CheckGiftingEligibilityOutProto { +public struct CanReportRouteProto { // 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. - public var giftingEligibility: GiftingEligibilityStatusProto { - get {return _giftingEligibility ?? GiftingEligibilityStatusProto()} - set {_giftingEligibility = newValue} - } - /// Returns true if `giftingEligibility` has been explicitly set. - public var hasGiftingEligibility: Bool {return self._giftingEligibility != nil} - /// Clears the value of `giftingEligibility`. Subsequent reads from it will return its default value. - public mutating func clearGiftingEligibility() {self._giftingEligibility = nil} + public var routeID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _giftingEligibility: GiftingEligibilityStatusProto? = nil } -public struct CheckGiftingEligibilityProto { +public struct CancelCombatChallengeData { // 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. - public var giftingIapItem: GiftingIapItemProto { - get {return _giftingIapItem ?? GiftingIapItemProto()} - set {_giftingIapItem = newValue} - } - /// Returns true if `giftingIapItem` has been explicitly set. - public var hasGiftingIapItem: Bool {return self._giftingIapItem != nil} - /// Clears the value of `giftingIapItem`. Subsequent reads from it will return its default value. - public mutating func clearGiftingIapItem() {self._giftingIapItem = nil} - - public var recipientFriendID: String = String() + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _giftingIapItem: GiftingIapItemProto? = nil } -public struct CheckPhotobombOutProto { +public struct CancelCombatChallengeOutProto { // 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. - public var status: CheckPhotobombOutProto.Status = .unset - - public var photobombPokemonID: HoloPokemonId = .missingno - - public var photobombPokemonDisplay: PokemonDisplayProto { - get {return _photobombPokemonDisplay ?? PokemonDisplayProto()} - set {_photobombPokemonDisplay = newValue} - } - /// Returns true if `photobombPokemonDisplay` has been explicitly set. - public var hasPhotobombPokemonDisplay: Bool {return self._photobombPokemonDisplay != nil} - /// Clears the value of `photobombPokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPhotobombPokemonDisplay() {self._photobombPokemonDisplay = nil} - - public var encounterID: UInt64 = 0 - - public var uri: String = String() + public var result: CancelCombatChallengeOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorPhotoPokemonInvalid // = 2 - case errorUnknown // = 3 + case errorInvalidChallengeState // = 2 + case errorChallengeNotFound // = 3 + case errorAlreadyAccepted // = 4 + case errorAlreadyDeclined // = 5 + case errorAlreadyTimedout // = 6 + case errorAccessDenied // = 7 case UNRECOGNIZED(Int) public init() { @@ -43705,8 +45650,12 @@ public struct CheckPhotobombOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorPhotoPokemonInvalid - case 3: self = .errorUnknown + case 2: self = .errorInvalidChallengeState + case 3: self = .errorChallengeNotFound + case 4: self = .errorAlreadyAccepted + case 5: self = .errorAlreadyDeclined + case 6: self = .errorAlreadyTimedout + case 7: self = .errorAccessDenied default: self = .UNRECOGNIZED(rawValue) } } @@ -43715,8 +45664,12 @@ public struct CheckPhotobombOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorPhotoPokemonInvalid: return 2 - case .errorUnknown: return 3 + case .errorInvalidChallengeState: return 2 + case .errorChallengeNotFound: return 3 + case .errorAlreadyAccepted: return 4 + case .errorAlreadyDeclined: return 5 + case .errorAlreadyTimedout: return 6 + case .errorAccessDenied: return 7 case .UNRECOGNIZED(let i): return i } } @@ -43724,93 +45677,82 @@ public struct CheckPhotobombOutProto { } public init() {} - - fileprivate var _photobombPokemonDisplay: PokemonDisplayProto? = nil } #if swift(>=4.2) -extension CheckPhotobombOutProto.Status: CaseIterable { +extension CancelCombatChallengeOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CheckPhotobombOutProto.Status] = [ + public static var allCases: [CancelCombatChallengeOutProto.Result] = [ .unset, .success, - .errorPhotoPokemonInvalid, - .errorUnknown, + .errorInvalidChallengeState, + .errorChallengeNotFound, + .errorAlreadyAccepted, + .errorAlreadyDeclined, + .errorAlreadyTimedout, + .errorAccessDenied, ] } #endif // swift(>=4.2) -public struct CheckPhotobombProto { +public struct CancelCombatChallengeProto { // 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. - public var photoPokemonID: UInt64 = 0 + public var challengeID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CheckPokemonSizeContestEligibilityProto { +public struct CancelCombatChallengeResponseData { // 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. - public var fortID: String = String() + public var rpcID: Int32 = 0 - public var schedule: ContestScheduleProto { - get {return _schedule ?? ContestScheduleProto()} - set {_schedule = newValue} - } - /// Returns true if `schedule` has been explicitly set. - public var hasSchedule: Bool {return self._schedule != nil} - /// Clears the value of `schedule`. Subsequent reads from it will return its default value. - public mutating func clearSchedule() {self._schedule = nil} + public var roundTripTimeMs: UInt32 = 0 - public var contestMetric: ContestMetricProto { - get {return _contestMetric ?? ContestMetricProto()} - set {_contestMetric = newValue} - } - /// Returns true if `contestMetric` has been explicitly set. - public var hasContestMetric: Bool {return self._contestMetric != nil} - /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. - public mutating func clearContestMetric() {self._contestMetric = nil} + public var result: CancelCombatChallengeOutProto.Result = .unset - public var pokemonID: UInt64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var fortLatDegrees: Double = 0 + public init() {} +} - public var fortLngDegrees: Double = 0 +public struct CancelMatchmakingData { + // 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. + + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _schedule: ContestScheduleProto? = nil - fileprivate var _contestMetric: ContestMetricProto? = nil } -public struct CheckSendGiftOutProto { +public struct CancelMatchmakingOutProto { // 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. - public var result: CheckSendGiftOutProto.Result = .unset + public var result: CancelMatchmakingOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerDoesNotExist // = 3 - case errorGiftNotAvailable // = 4 - case errorGiftAlreadySentToday // = 5 - case errorPlayerHasUnopenedGift // = 6 + case successfullyCancelled // = 1 + case errorAlreadyMatched // = 2 + case errorPlayerNotFound // = 3 + case errorQueueNotFound // = 4 case UNRECOGNIZED(Int) public init() { @@ -43820,12 +45762,10 @@ public struct CheckSendGiftOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerDoesNotExist - case 4: self = .errorGiftNotAvailable - case 5: self = .errorGiftAlreadySentToday - case 6: self = .errorPlayerHasUnopenedGift + case 1: self = .successfullyCancelled + case 2: self = .errorAlreadyMatched + case 3: self = .errorPlayerNotFound + case 4: self = .errorQueueNotFound default: self = .UNRECOGNIZED(rawValue) } } @@ -43833,12 +45773,10 @@ public struct CheckSendGiftOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerDoesNotExist: return 3 - case .errorGiftNotAvailable: return 4 - case .errorGiftAlreadySentToday: return 5 - case .errorPlayerHasUnopenedGift: return 6 + case .successfullyCancelled: return 1 + case .errorAlreadyMatched: return 2 + case .errorPlayerNotFound: return 3 + case .errorQueueNotFound: return 4 case .UNRECOGNIZED(let i): return i } } @@ -43850,76 +45788,98 @@ public struct CheckSendGiftOutProto { #if swift(>=4.2) -extension CheckSendGiftOutProto.Result: CaseIterable { +extension CancelMatchmakingOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CheckSendGiftOutProto.Result] = [ + public static var allCases: [CancelMatchmakingOutProto.Result] = [ .unset, - .success, - .errorUnknown, - .errorPlayerDoesNotExist, - .errorGiftNotAvailable, - .errorGiftAlreadySentToday, - .errorPlayerHasUnopenedGift, + .successfullyCancelled, + .errorAlreadyMatched, + .errorPlayerNotFound, + .errorQueueNotFound, ] } #endif // swift(>=4.2) -public struct CheckSendGiftProto { +public struct CancelMatchmakingProto { // 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. - public var playerID: String = String() + public var queueID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CheckShareExRaidPassOutProto { +public struct CancelMatchmakingResponseData { // 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. - public var result: ShareExRaidPassResult = .shareExRaidPassUnset + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 + + public var result: CancelMatchmakingOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CheckShareExRaidPassProto { +public struct CancelRouteOutProto { // 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. - public var friendID: String = String() + public var status: RoutePlayStatus.Status = .unset - public var fortID: String = String() + public var cooldownFinishMs: Int64 = 0 - public var raidSeed: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct CancelRouteProto { + // 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. public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ChooseGlobalTicketedEventVariantOutProto { +public struct CancelTradingOutProto { // 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. - public var status: ChooseGlobalTicketedEventVariantOutProto.Status = .unset + public var result: CancelTradingOutProto.Result = .unset + + public var trading: TradingProto { + get {return _trading ?? TradingProto()} + set {_trading = newValue} + } + /// Returns true if `trading` has been explicitly set. + public var hasTrading: Bool {return self._trading != nil} + /// Clears the value of `trading`. Subsequent reads from it will return its default value. + public mutating func clearTrading() {self._trading = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorHasRequestedBadge // = 2 - case errorHasMutuallyExclusiveBadge // = 3 + case errorUnknown // = 2 + case errorFriendNotFound // = 3 + case errorInvalidPlayerID // = 4 + case errorInvalidState // = 5 + case errorStateHandler // = 6 case UNRECOGNIZED(Int) public init() { @@ -43930,8 +45890,11 @@ public struct ChooseGlobalTicketedEventVariantOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorHasRequestedBadge - case 3: self = .errorHasMutuallyExclusiveBadge + case 2: self = .errorUnknown + case 3: self = .errorFriendNotFound + case 4: self = .errorInvalidPlayerID + case 5: self = .errorInvalidState + case 6: self = .errorStateHandler default: self = .UNRECOGNIZED(rawValue) } } @@ -43940,8 +45903,11 @@ public struct ChooseGlobalTicketedEventVariantOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorHasRequestedBadge: return 2 - case .errorHasMutuallyExclusiveBadge: return 3 + case .errorUnknown: return 2 + case .errorFriendNotFound: return 3 + case .errorInvalidPlayerID: return 4 + case .errorInvalidState: return 5 + case .errorStateHandler: return 6 case .UNRECOGNIZED(let i): return i } } @@ -43949,66 +45915,168 @@ public struct ChooseGlobalTicketedEventVariantOutProto { } public init() {} + + fileprivate var _trading: TradingProto? = nil } #if swift(>=4.2) -extension ChooseGlobalTicketedEventVariantOutProto.Status: CaseIterable { +extension CancelTradingOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ChooseGlobalTicketedEventVariantOutProto.Status] = [ + public static var allCases: [CancelTradingOutProto.Result] = [ .unset, .success, - .errorHasRequestedBadge, - .errorHasMutuallyExclusiveBadge, + .errorUnknown, + .errorFriendNotFound, + .errorInvalidPlayerID, + .errorInvalidState, + .errorStateHandler, ] } #endif // swift(>=4.2) -public struct ChooseGlobalTicketedEventVariantProto { +public struct CancelTradingProto { // 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. - public var targetVariant: HoloBadgeType = .badgeUnset + public var playerID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClaimCodenameRequestProto { +public struct CapProto { // 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. - public var codename: String = String() + public var center: PointProto { + get {return _center ?? PointProto()} + set {_center = newValue} + } + /// Returns true if `center` has been explicitly set. + public var hasCenter: Bool {return self._center != nil} + /// Clears the value of `center`. Subsequent reads from it will return its default value. + public mutating func clearCenter() {self._center = nil} - public var force: Bool = false + public var angleDegrees: Double = 0 - public var generateSuggestedCodenames: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _center: PointProto? = nil +} + +public struct CaptureProbabilityProto { + // 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. + + public var pokeballType: [Item] = [] + + public var captureProbability: [Float] = [] + + public var reticleDifficultyScale: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClaimContestsRewardsOutProto { +public struct CaptureScoreProto { // 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. - public var status: ClaimContestsRewardsOutProto.Status = .unset + public var activityType: [HoloActivityType] = [] - public var rewardsPerContest: [RewardsPerContestProto] = [] + public var exp: [Int32] = [] + + public var candy: [Int32] = [] + + public var stardust: [Int32] = [] + + public var xlCandy: [Int32] = [] + + public var candyFromActiveMega: Int32 = 0 + + public var experienceFromActiveMega: Int32 = 0 + + public var tempEvoScoreInfo: CaptureScoreProto.TempEvoScoreInfo { + get {return _tempEvoScoreInfo ?? CaptureScoreProto.TempEvoScoreInfo()} + set {_tempEvoScoreInfo = newValue} + } + /// Returns true if `tempEvoScoreInfo` has been explicitly set. + public var hasTempEvoScoreInfo: Bool {return self._tempEvoScoreInfo != nil} + /// Clears the value of `tempEvoScoreInfo`. Subsequent reads from it will return its default value. + public mutating func clearTempEvoScoreInfo() {self._tempEvoScoreInfo = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public struct TempEvoScoreInfo { + // 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. + + public var activeTempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var candyFromActiveTempEvo: Int32 = 0 + + public var experienceFromActiveTempEvo: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _tempEvoScoreInfo: CaptureScoreProto.TempEvoScoreInfo? = nil +} + +public struct CatchCardTelemetry { + // 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. + + public var photoType: CatchCardTelemetry.PhotoType = .unset + + public var templateID: String = String() + + public var sharedToSystem: Bool = false + + public var campfireID: String = String() + + public var timeSinceCaughtSeconds: Int32 = 0 + + public var pokemonID: HoloPokemonId = .missingno + + public var shiny: Bool = false + + public var form: PokemonDisplayProto.Form = .unset + + public var costume: PokemonDisplayProto.Costume = .unset + + public var individualAttack: Int32 = 0 + + public var individualDefense: Int32 = 0 + + public var individualStamina: Int32 = 0 + + public var alignment: PokemonDisplayProto.Alignment = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PhotoType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case error // = 2 + case `default` // = 1 + case arClassic // = 2 + case arPlus // = 3 case UNRECOGNIZED(Int) public init() { @@ -44018,8 +46086,9 @@ public struct ClaimContestsRewardsOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .error + case 1: self = .default + case 2: self = .arClassic + case 3: self = .arPlus default: self = .UNRECOGNIZED(rawValue) } } @@ -44027,8 +46096,9 @@ public struct ClaimContestsRewardsOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .error: return 2 + case .default: return 1 + case .arClassic: return 2 + case .arPlus: return 3 case .UNRECOGNIZED(let i): return i } } @@ -44040,53 +46110,64 @@ public struct ClaimContestsRewardsOutProto { #if swift(>=4.2) -extension ClaimContestsRewardsOutProto.Status: CaseIterable { +extension CatchCardTelemetry.PhotoType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClaimContestsRewardsOutProto.Status] = [ + public static var allCases: [CatchCardTelemetry.PhotoType] = [ .unset, - .success, - .error, + .default, + .arClassic, + .arPlus, ] } #endif // swift(>=4.2) -public struct ClaimContestsRewardsProto { +public struct CatchPokemonGlobalSettingsProto { // 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. + public var enableCaptureOriginDetailsDisplay: Bool = false + + public var enableCaptureOriginEventsDisplay: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClaimVsSeekerRewardsOutProto { +public struct CatchPokemonLogEntry { // 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. - public var result: ClaimVsSeekerRewardsOutProto.Result = .unset + public var result: CatchPokemonLogEntry.Result = .unset - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} + public var pokedexNumber: Int32 = 0 + + public var combatPoints: Int32 = 0 + + public var pokemonID: UInt64 = 0 + + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + + public var items: [LootItemProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorRedeemPokemon // = 2 - case errorPlayerNotEnoughVictories // = 3 - case errorRewardAlreadyClaimed // = 4 - case errorInventoryFull // = 5 + case pokemonCaptured // = 1 + case pokemonFled // = 2 + case pokemonHatched // = 3 case UNRECOGNIZED(Int) public init() { @@ -44096,11 +46177,9 @@ public struct ClaimVsSeekerRewardsOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorRedeemPokemon - case 3: self = .errorPlayerNotEnoughVictories - case 4: self = .errorRewardAlreadyClaimed - case 5: self = .errorInventoryFull + case 1: self = .pokemonCaptured + case 2: self = .pokemonFled + case 3: self = .pokemonHatched default: self = .UNRECOGNIZED(rawValue) } } @@ -44108,11 +46187,9 @@ public struct ClaimVsSeekerRewardsOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorRedeemPokemon: return 2 - case .errorPlayerNotEnoughVictories: return 3 - case .errorRewardAlreadyClaimed: return 4 - case .errorInventoryFull: return 5 + case .pokemonCaptured: return 1 + case .pokemonFled: return 2 + case .pokemonHatched: return 3 case .UNRECOGNIZED(let i): return i } } @@ -44121,152 +46198,161 @@ public struct ClaimVsSeekerRewardsOutProto { public init() {} - fileprivate var _rewards: LootProto? = nil + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil } #if swift(>=4.2) -extension ClaimVsSeekerRewardsOutProto.Result: CaseIterable { +extension CatchPokemonLogEntry.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClaimVsSeekerRewardsOutProto.Result] = [ + public static var allCases: [CatchPokemonLogEntry.Result] = [ .unset, - .success, - .errorRedeemPokemon, - .errorPlayerNotEnoughVictories, - .errorRewardAlreadyClaimed, - .errorInventoryFull, + .pokemonCaptured, + .pokemonFled, + .pokemonHatched, ] } #endif // swift(>=4.2) -public struct ClaimVsSeekerRewardsProto { +public struct CatchPokemonOutProto { // 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. - public var winIndex: Int32 = 0 + public var status: CatchPokemonOutProto.Status { + get {return _storage._status} + set {_uniqueStorage()._status = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var missPercent: Double { + get {return _storage._missPercent} + set {_uniqueStorage()._missPercent = newValue} + } - public init() {} -} + public var capturedPokemonID: UInt64 { + get {return _storage._capturedPokemonID} + set {_uniqueStorage()._capturedPokemonID = newValue} + } -public struct ClientApiSettingsProto { - // 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. + public var scores: CaptureScoreProto { + get {return _storage._scores ?? CaptureScoreProto()} + set {_uniqueStorage()._scores = newValue} + } + /// Returns true if `scores` has been explicitly set. + public var hasScores: Bool {return _storage._scores != nil} + /// Clears the value of `scores`. Subsequent reads from it will return its default value. + public mutating func clearScores() {_uniqueStorage()._scores = nil} - public var payload: Data = Data() + public var captureReason: CatchPokemonOutProto.CaptureReason { + get {return _storage._captureReason} + set {_uniqueStorage()._captureReason = newValue} + } + + public var displayPokedexID: HoloPokemonId { + get {return _storage._displayPokedexID} + set {_uniqueStorage()._displayPokedexID = newValue} + } + + public var throwsRemaining: Int32 { + get {return _storage._throwsRemaining} + set {_uniqueStorage()._throwsRemaining = newValue} + } + + public var pokemonDisplay: PokemonDisplayProto { + get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} + set {_uniqueStorage()._pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} + + public var displayPokemonDisplay: PokemonDisplayProto { + get {return _storage._displayPokemonDisplay ?? PokemonDisplayProto()} + set {_uniqueStorage()._displayPokemonDisplay = newValue} + } + /// Returns true if `displayPokemonDisplay` has been explicitly set. + public var hasDisplayPokemonDisplay: Bool {return _storage._displayPokemonDisplay != nil} + /// Clears the value of `displayPokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearDisplayPokemonDisplay() {_uniqueStorage()._displayPokemonDisplay = nil} + + public var droppedItems: LootProto { + get {return _storage._droppedItems ?? LootProto()} + set {_uniqueStorage()._droppedItems = newValue} + } + /// Returns true if `droppedItems` has been explicitly set. + public var hasDroppedItems: Bool {return _storage._droppedItems != nil} + /// Clears the value of `droppedItems`. Subsequent reads from it will return its default value. + public mutating func clearDroppedItems() {_uniqueStorage()._droppedItems = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum SettingsType: SwiftProtobuf.Enum { + public enum CaptureReason: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefined // = 0 - case map // = 1 + case unset // = 0 + case `default` // = 1 + case elementalBadge // = 2 + case criticalCatch // = 3 case UNRECOGNIZED(Int) public init() { - self = .undefined + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefined - case 1: self = .map + case 0: self = .unset + case 1: self = .default + case 2: self = .elementalBadge + case 3: self = .criticalCatch default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefined: return 0 - case .map: return 1 + case .unset: return 0 + case .default: return 1 + case .elementalBadge: return 2 + case .criticalCatch: return 3 case .UNRECOGNIZED(let i): return i } } } - public init() {} -} - -#if swift(>=4.2) - -extension ClientApiSettingsProto.SettingsType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientApiSettingsProto.SettingsType] = [ - .undefined, - .map, - ] -} - -#endif // swift(>=4.2) - -public struct ClientContestIncidentProto { - // 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. - - public var contests: [ContestProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ClientDialogueLineProto { - // 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. - - public var text: String = String() - - public var character: EnumWrapper.InvasionCharacter = .characterUnset - - public var expression: EnumWrapper.InvasionCharacterExpression = .expressionUnset - - public var obString: String = String() - - public var dialogueLineStatus: ClientDialogueLineProto.DialogueLineStatus = .unset - - public var obLoot: LootProto { - get {return _obLoot ?? LootProto()} - set {_obLoot = newValue} - } - /// Returns true if `obLoot` has been explicitly set. - public var hasObLoot: Bool {return self._obLoot != nil} - /// Clears the value of `obLoot`. Subsequent reads from it will return its default value. - public mutating func clearObLoot() {self._obLoot = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum DialogueLineStatus: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case right // = 1 - case left // = 2 + case catchError // = 0 + case catchSuccess // = 1 + case catchEscape // = 2 + case catchFlee // = 3 + case catchMissed // = 4 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .catchError } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .right - case 2: self = .left + case 0: self = .catchError + case 1: self = .catchSuccess + case 2: self = .catchEscape + case 3: self = .catchFlee + case 4: self = .catchMissed default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .right: return 1 - case .left: return 2 + case .catchError: return 0 + case .catchSuccess: return 1 + case .catchEscape: return 2 + case .catchFlee: return 3 + case .catchMissed: return 4 case .UNRECOGNIZED(let i): return i } } @@ -44275,917 +46361,732 @@ public struct ClientDialogueLineProto { public init() {} - fileprivate var _obLoot: LootProto? = nil + fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension ClientDialogueLineProto.DialogueLineStatus: CaseIterable { +extension CatchPokemonOutProto.CaptureReason: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientDialogueLineProto.DialogueLineStatus] = [ + public static var allCases: [CatchPokemonOutProto.CaptureReason] = [ .unset, - .right, - .left, + .default, + .elementalBadge, + .criticalCatch, + ] +} + +extension CatchPokemonOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CatchPokemonOutProto.Status] = [ + .catchError, + .catchSuccess, + .catchEscape, + .catchFlee, + .catchMissed, ] } #endif // swift(>=4.2) -public struct ClientEnvironmentProto { +public struct CatchPokemonProto { // 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. - public var languageCode: String = String() + public var encounterID: UInt64 = 0 - public var timezone: String = String() + public var pokeball: Item = .unknown - public var deviceCountryCode: String = String() + public var normalizedReticleSize: Double = 0 - public var ipCountryCode: String = String() + public var spawnPointGuid: String = String() - public var clientVersion: String = String() + public var hitPokemon: Bool = false - public var deviceType: String = String() + public var spinModifier: Double = 0 - public var deviceOs: String = String() + public var normalizedHitPosition: Double = 0 - public var graphicsDeviceVendor: String = String() + public var arPlusValues: ARPlusEncounterValuesProto { + get {return _arPlusValues ?? ARPlusEncounterValuesProto()} + set {_arPlusValues = newValue} + } + /// Returns true if `arPlusValues` has been explicitly set. + public var hasArPlusValues: Bool {return self._arPlusValues != nil} + /// Clears the value of `arPlusValues`. Subsequent reads from it will return its default value. + public mutating func clearArPlusValues() {self._arPlusValues = nil} - public var graphicsDeviceName: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var graphicsDeviceType: String = String() + public init() {} - public var graphicsShaderLevel: String = String() + fileprivate var _arPlusValues: ARPlusEncounterValuesProto? = nil +} + +public struct CatchPokemonQuestProto { + // 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. + + public var uniquePokemonID: [HoloPokemonId] = [] + + public var activeEncounterID: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientEvolutionQuestTemplateProto { +public struct CatchPokemonTelemetry { // 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. - public var questTemplateID: String = String() + public var status: String = String() - public var questType: QuestType = .questUnset + public var encounterPokemonTelemetry: EncounterPokemonTelemetry { + get {return _encounterPokemonTelemetry ?? EncounterPokemonTelemetry()} + set {_encounterPokemonTelemetry = newValue} + } + /// Returns true if `encounterPokemonTelemetry` has been explicitly set. + public var hasEncounterPokemonTelemetry: Bool {return self._encounterPokemonTelemetry != nil} + /// Clears the value of `encounterPokemonTelemetry`. Subsequent reads from it will return its default value. + public mutating func clearEncounterPokemonTelemetry() {self._encounterPokemonTelemetry = nil} - public var goals: [QuestGoalProto] = [] + public var balltype: Item = .unknown - public var context: QuestProto.Context = .unset + public var hitGrade: Int32 = 0 - public var display: QuestDisplayProto { - get {return _display ?? QuestDisplayProto()} - set {_display = newValue} - } - /// Returns true if `display` has been explicitly set. - public var hasDisplay: Bool {return self._display != nil} - /// Clears the value of `display`. Subsequent reads from it will return its default value. - public mutating func clearDisplay() {self._display = nil} + public var curveBall: Bool = false + + public var missPercent: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _display: QuestDisplayProto? = nil + fileprivate var _encounterPokemonTelemetry: EncounterPokemonTelemetry? = nil } -public struct ClientFortModifierProto { +public struct CatchRadiusMultiplierSettingsProto { // 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. - public var modifierType: Item = .unknown - - public var expirationTimeMs: Int64 = 0 - - public var deployingPlayerCodename: String = String() + public var catchRadiusMultiplierSettingsEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientGameMasterTemplateProto { +public struct ChallengeIdMismatchData { // 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. - public var templateID: String = String() + public var nonMatchingChallengeID: String = String() - public var data: GameMasterClientTemplateProto { - get {return _data ?? GameMasterClientTemplateProto()} - set {_data = newValue} - } - /// Returns true if `data` has been explicitly set. - public var hasData: Bool {return self._data != nil} - /// Clears the value of `data`. Subsequent reads from it will return its default value. - public mutating func clearData() {self._data = nil} + public var logType: CombatLogData.CombatLogDataHeader.LogType = .noType public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _data: GameMasterClientTemplateProto? = nil } -public struct ClientGenderProto { +public struct ChallengeQuestSectionProto { // 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. - public var malePercent: Float = 0 - - public var femalePercent: Float = 0 - - public var genderlessPercent: Float = 0 + public var questID: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientGenderSettingsProto { +public struct ChangeArTelemetry { // 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. - public var pokemon: HoloPokemonId = .missingno - - public var gender: ClientGenderProto { - get {return _gender ?? ClientGenderProto()} - set {_gender = newValue} - } - /// Returns true if `gender` has been explicitly set. - public var hasGender: Bool {return self._gender != nil} - /// Clears the value of `gender`. Subsequent reads from it will return its default value. - public mutating func clearGender() {self._gender = nil} + public var arEnabled: Bool = false - public var form: PokemonDisplayProto.Form = .unset + public var arPlusEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} +} - fileprivate var _gender: ClientGenderProto? = nil +public struct ChangeOnlineStatusTelemetry { + // 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. + + public var isOnlineStatusOn: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -public struct ClientInbox { +public struct ChangePokemonFormOutProto { // 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. - public var notifications: [ClientInbox.Notification] = [] + public var result: ChangePokemonFormOutProto.Result = .unset - public var builtinVariables: [TemplateVariable] = [] + public var changedPokemon: PokemonProto { + get {return _changedPokemon ?? PokemonProto()} + set {_changedPokemon = newValue} + } + /// Returns true if `changedPokemon` has been explicitly set. + public var hasChangedPokemon: Bool {return self._changedPokemon != nil} + /// Clears the value of `changedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearChangedPokemon() {self._changedPokemon = nil} + + public var expAwarded: Int32 = 0 + + public var candyAwarded: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Label: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetLabel // = 0 - case unread // = 1 - case new // = 2 - case immediate // = 3 + case unset // = 0 + case success // = 1 + case errorPokemonMissing // = 2 + case errorInsufficientResources // = 3 + case errorQuestIncomplete // = 4 + case errorPokemonCannotChange // = 5 + case errorPokemonDeployed // = 6 + case errorFeatureDisabled // = 7 case UNRECOGNIZED(Int) public init() { - self = .unsetLabel + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetLabel - case 1: self = .unread - case 2: self = .new - case 3: self = .immediate + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPokemonMissing + case 3: self = .errorInsufficientResources + case 4: self = .errorQuestIncomplete + case 5: self = .errorPokemonCannotChange + case 6: self = .errorPokemonDeployed + case 7: self = .errorFeatureDisabled default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetLabel: return 0 - case .unread: return 1 - case .new: return 2 - case .immediate: return 3 + case .unset: return 0 + case .success: return 1 + case .errorPokemonMissing: return 2 + case .errorInsufficientResources: return 3 + case .errorQuestIncomplete: return 4 + case .errorPokemonCannotChange: return 5 + case .errorPokemonDeployed: return 6 + case .errorFeatureDisabled: return 7 case .UNRECOGNIZED(let i): return i } } } - public struct Notification { - // 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. - - public var notificationID: String = String() - - public var titleKey: String = String() - - public var category: String = String() - - public var createTimestampMs: Int64 = 0 - - public var variables: [TemplateVariable] = [] - - public var labels: [ClientInbox.Label] = [] - - public var expireTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} + + fileprivate var _changedPokemon: PokemonProto? = nil } #if swift(>=4.2) -extension ClientInbox.Label: CaseIterable { +extension ChangePokemonFormOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientInbox.Label] = [ - .unsetLabel, - .unread, - .new, - .immediate, + public static var allCases: [ChangePokemonFormOutProto.Result] = [ + .unset, + .success, + .errorPokemonMissing, + .errorInsufficientResources, + .errorQuestIncomplete, + .errorPokemonCannotChange, + .errorPokemonDeployed, + .errorFeatureDisabled, ] } #endif // swift(>=4.2) -public struct ClientIncidentProto { +public struct ChangePokemonFormProto { // 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. - public var incidentID: String { - get {return _storage._incidentID} - set {_uniqueStorage()._incidentID = newValue} - } - - public var fortID: String { - get {return _storage._fortID} - set {_uniqueStorage()._fortID = newValue} - } - - public var fortName: String { - get {return _storage._fortName} - set {_uniqueStorage()._fortName = newValue} - } - - public var pokestopImageUri: String { - get {return _storage._pokestopImageUri} - set {_uniqueStorage()._pokestopImageUri = newValue} - } - - public var currentStep: Int32 { - get {return _storage._currentStep} - set {_uniqueStorage()._currentStep = newValue} - } - - public var step: [ClientIncidentStepProto] { - get {return _storage._step} - set {_uniqueStorage()._step = newValue} - } - - public var completionDisplay: PokestopIncidentDisplayProto { - get {return _storage._completionDisplay ?? PokestopIncidentDisplayProto()} - set {_uniqueStorage()._completionDisplay = newValue} - } - /// Returns true if `completionDisplay` has been explicitly set. - public var hasCompletionDisplay: Bool {return _storage._completionDisplay != nil} - /// Clears the value of `completionDisplay`. Subsequent reads from it will return its default value. - public mutating func clearCompletionDisplay() {_uniqueStorage()._completionDisplay = nil} - - public var context: EnumWrapper.InvasionContext { - get {return _storage._context} - set {_uniqueStorage()._context = newValue} - } + public var pokemonID: UInt64 = 0 - public var incidentStartPhase: EnumWrapper.IncidentStartPhase { - get {return _storage._incidentStartPhase} - set {_uniqueStorage()._incidentStartPhase = newValue} - } + public var targetForm: PokemonDisplayProto.Form = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct ClientIncidentStepProto { +public struct ChangeTeamOutProto { // 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. - public var clientIncidentStep: ClientIncidentStepProto.OneOf_ClientIncidentStep? = nil + public var status: ChangeTeamOutProto.Status = .unset - public var invasionBattle: ClientInvasionBattleStepProto { - get { - if case .invasionBattle(let v)? = clientIncidentStep {return v} - return ClientInvasionBattleStepProto() - } - set {clientIncidentStep = .invasionBattle(newValue)} + public var updatedPlayer: ClientPlayerProto { + get {return _updatedPlayer ?? ClientPlayerProto()} + set {_updatedPlayer = newValue} } + /// Returns true if `updatedPlayer` has been explicitly set. + public var hasUpdatedPlayer: Bool {return self._updatedPlayer != nil} + /// Clears the value of `updatedPlayer`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedPlayer() {self._updatedPlayer = nil} - public var invasionEncounter: ClientInvasionEncounterStepProto { - get { - if case .invasionEncounter(let v)? = clientIncidentStep {return v} - return ClientInvasionEncounterStepProto() - } - set {clientIncidentStep = .invasionEncounter(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var pokestopDialogue: ClientPokestopNpcDialogueStepProto { - get { - if case .pokestopDialogue(let v)? = clientIncidentStep {return v} - return ClientPokestopNpcDialogueStepProto() - } - set {clientIncidentStep = .pokestopDialogue(newValue)} - } + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorSameTeam // = 2 + case errorItemNotInInventory // = 3 + case errorWrongItem // = 4 + case errorUnknown // = 5 + case UNRECOGNIZED(Int) - public var pokestopSpin: ClientPokestopSpinStepProto { - get { - if case .pokestopSpin(let v)? = clientIncidentStep {return v} - return ClientPokestopSpinStepProto() + public init() { + self = .unset } - set {clientIncidentStep = .pokestopSpin(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_ClientIncidentStep: Equatable { - case invasionBattle(ClientInvasionBattleStepProto) - case invasionEncounter(ClientInvasionEncounterStepProto) - case pokestopDialogue(ClientPokestopNpcDialogueStepProto) - case pokestopSpin(ClientPokestopSpinStepProto) + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorSameTeam + case 3: self = .errorItemNotInInventory + case 4: self = .errorWrongItem + case 5: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } - #if !swift(>=4.1) - public static func ==(lhs: ClientIncidentStepProto.OneOf_ClientIncidentStep, rhs: ClientIncidentStepProto.OneOf_ClientIncidentStep) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.invasionBattle, .invasionBattle): return { - guard case .invasionBattle(let l) = lhs, case .invasionBattle(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.invasionEncounter, .invasionEncounter): return { - guard case .invasionEncounter(let l) = lhs, case .invasionEncounter(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokestopDialogue, .pokestopDialogue): return { - guard case .pokestopDialogue(let l) = lhs, case .pokestopDialogue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokestopSpin, .pokestopSpin): return { - guard case .pokestopSpin(let l) = lhs, case .pokestopSpin(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorSameTeam: return 2 + case .errorItemNotInInventory: return 3 + case .errorWrongItem: return 4 + case .errorUnknown: return 5 + case .UNRECOGNIZED(let i): return i } } - #endif + } public init() {} + + fileprivate var _updatedPlayer: ClientPlayerProto? = nil } -public struct ClientInvasionBattleStepProto { +#if swift(>=4.2) + +extension ChangeTeamOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ChangeTeamOutProto.Status] = [ + .unset, + .success, + .errorSameTeam, + .errorItemNotInInventory, + .errorWrongItem, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct ChangeTeamProto { // 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. - public var character: EnumWrapper.InvasionCharacter = .characterUnset + public var item: Item = .unknown + + public var team: Team = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientInvasionEncounterStepProto { +public struct CharacterDisplayProto { // 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. + public var style: EnumWrapper.PokestopStyle = .pokestopNormal + + public var character: EnumWrapper.InvasionCharacter = .characterUnset + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientMapCellProto { +public struct CheckAwardedBadgesOutProto { // 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. - public var s2CellID: UInt64 = 0 - - public var asOfTimeMs: Int64 = 0 - - public var fort: [PokemonFortProto] = [] - - public var spawnPoint: [ClientSpawnPointProto] = [] - - public var wildPokemon: [WildPokemonProto] = [] - - public var deletedObject: [String] = [] - - public var isTruncatedList: Bool = false - - public var fortSummary: [PokemonSummaryFortProto] = [] - - public var decimatedSpawnPoint: [ClientSpawnPointProto] = [] - - public var catchablePokemon: [MapPokemonProto] = [] + public var success: Bool = false - public var nearbyPokemon: [NearbyPokemonProto] = [] + public var awardedBadges: [HoloBadgeType] = [] - public var routeListHash: String = String() + public var awardedBadgeLevels: [Int32] = [] - public var obClientMapCell: [ObClientMapCellProto] = [] + public var avatarTemplateIds: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientMetrics { +public struct CheckAwardedBadgesProto { // 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. - /// The window of time over which the metrics are evaluated. - public var window: TimeWindow { - get {return _window ?? TimeWindow()} - set {_window = newValue} - } - /// Returns true if `window` has been explicitly set. - public var hasWindow: Bool {return self._window != nil} - /// Clears the value of `window`. Subsequent reads from it will return its default value. - public mutating func clearWindow() {self._window = nil} - - public var logSourceMetrics: [LogSourceMetrics] = [] - - public var globalMetrics: GlobalMetrics { - get {return _globalMetrics ?? GlobalMetrics()} - set {_globalMetrics = newValue} - } - /// Returns true if `globalMetrics` has been explicitly set. - public var hasGlobalMetrics: Bool {return self._globalMetrics != nil} - /// Clears the value of `globalMetrics`. Subsequent reads from it will return its default value. - public mutating func clearGlobalMetrics() {self._globalMetrics = nil} - - /// The bundle ID on Apple platforms (e.g., iOS) or the package name on Android - public var appNamespace: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _window: TimeWindow? = nil - fileprivate var _globalMetrics: GlobalMetrics? = nil } -public struct ClientPerformanceSettingsProto { +public struct CheckChallengeOutProto { // 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. - public var enableLocalDiskCaching: Bool = false - - public var maxNumberLocalBattleParties: Int32 = 0 - - public var multiPokemonBattlePartySelect: Bool = false + public var showChallenge: Bool = false - public var useWholeMatchForFilterKey: Bool = false + public var challengeURL: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientPlayerProto { +public struct CheckChallengeProto { // 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. - public var creationTimeMs: Int64 { - get {return _storage._creationTimeMs} - set {_uniqueStorage()._creationTimeMs = newValue} - } - - public var name: String { - get {return _storage._name} - set {_uniqueStorage()._name = newValue} - } - - public var team: Team { - get {return _storage._team} - set {_uniqueStorage()._team = newValue} - } - - public var tutorialComplete: [TutorialCompletion] { - get {return _storage._tutorialComplete} - set {_uniqueStorage()._tutorialComplete = newValue} - } - - public var playerAvatarProto: PlayerAvatarProto { - get {return _storage._playerAvatarProto ?? PlayerAvatarProto()} - set {_uniqueStorage()._playerAvatarProto = newValue} - } - /// Returns true if `playerAvatarProto` has been explicitly set. - public var hasPlayerAvatarProto: Bool {return _storage._playerAvatarProto != nil} - /// Clears the value of `playerAvatarProto`. Subsequent reads from it will return its default value. - public mutating func clearPlayerAvatarProto() {_uniqueStorage()._playerAvatarProto = nil} - - public var maxPokemonStorage: Int32 { - get {return _storage._maxPokemonStorage} - set {_uniqueStorage()._maxPokemonStorage = newValue} - } - - public var maxItemStorage: Int32 { - get {return _storage._maxItemStorage} - set {_uniqueStorage()._maxItemStorage = newValue} - } - - public var dailyBonusProto: DailyBonusProto { - get {return _storage._dailyBonusProto ?? DailyBonusProto()} - set {_uniqueStorage()._dailyBonusProto = newValue} - } - /// Returns true if `dailyBonusProto` has been explicitly set. - public var hasDailyBonusProto: Bool {return _storage._dailyBonusProto != nil} - /// Clears the value of `dailyBonusProto`. Subsequent reads from it will return its default value. - public mutating func clearDailyBonusProto() {_uniqueStorage()._dailyBonusProto = nil} + public var debugRequest: Bool = false - public var equippedBadgeProto: EquippedBadgeProto { - get {return _storage._equippedBadgeProto ?? EquippedBadgeProto()} - set {_uniqueStorage()._equippedBadgeProto = newValue} - } - /// Returns true if `equippedBadgeProto` has been explicitly set. - public var hasEquippedBadgeProto: Bool {return _storage._equippedBadgeProto != nil} - /// Clears the value of `equippedBadgeProto`. Subsequent reads from it will return its default value. - public mutating func clearEquippedBadgeProto() {_uniqueStorage()._equippedBadgeProto = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var contactSettingsProto: ContactSettingsProto { - get {return _storage._contactSettingsProto ?? ContactSettingsProto()} - set {_uniqueStorage()._contactSettingsProto = newValue} - } - /// Returns true if `contactSettingsProto` has been explicitly set. - public var hasContactSettingsProto: Bool {return _storage._contactSettingsProto != nil} - /// Clears the value of `contactSettingsProto`. Subsequent reads from it will return its default value. - public mutating func clearContactSettingsProto() {_uniqueStorage()._contactSettingsProto = nil} + public init() {} +} - public var currencyBalance: [CurrencyQuantityProto] { - get {return _storage._currencyBalance} - set {_uniqueStorage()._currencyBalance = newValue} - } +public struct CheckContestEligibilityOutProto { + // 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. - public var remainingCodenameClaims: Int32 { - get {return _storage._remainingCodenameClaims} - set {_uniqueStorage()._remainingCodenameClaims = newValue} - } + public var status: CheckContestEligibilityOutProto.Status = .unset - public var buddyPokemonProto: BuddyPokemonProto { - get {return _storage._buddyPokemonProto ?? BuddyPokemonProto()} - set {_uniqueStorage()._buddyPokemonProto = newValue} - } - /// Returns true if `buddyPokemonProto` has been explicitly set. - public var hasBuddyPokemonProto: Bool {return _storage._buddyPokemonProto != nil} - /// Clears the value of `buddyPokemonProto`. Subsequent reads from it will return its default value. - public mutating func clearBuddyPokemonProto() {_uniqueStorage()._buddyPokemonProto = nil} + public var pokemonIDToReplace: UInt64 = 0 - public var battleLockoutEndMs: Int64 { - get {return _storage._battleLockoutEndMs} - set {_uniqueStorage()._battleLockoutEndMs = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var secondaryPlayerAvatarProto: PlayerAvatarProto { - get {return _storage._secondaryPlayerAvatarProto ?? PlayerAvatarProto()} - set {_uniqueStorage()._secondaryPlayerAvatarProto = newValue} - } - /// Returns true if `secondaryPlayerAvatarProto` has been explicitly set. - public var hasSecondaryPlayerAvatarProto: Bool {return _storage._secondaryPlayerAvatarProto != nil} - /// Clears the value of `secondaryPlayerAvatarProto`. Subsequent reads from it will return its default value. - public mutating func clearSecondaryPlayerAvatarProto() {_uniqueStorage()._secondaryPlayerAvatarProto = nil} + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case outOfRange // = 3 + case playerLimitReached // = 4 + case contestLimitReached // = 5 + case sameCycleTradeNotAllowed // = 6 + case sameSeasonWinnerNotAllowed // = 7 + case pokemonInOtherContest // = 8 + case pokemonInOtherContestNeedSubstitution // = 9 + case needSubstitution // = 10 + case pendingRewardEntryNotAllowed // = 11 + case UNRECOGNIZED(Int) - public var nameIsBlacklisted: Bool { - get {return _storage._nameIsBlacklisted} - set {_uniqueStorage()._nameIsBlacklisted = newValue} - } + public init() { + self = .unset + } - public var socialPlayerSettings: SocialPlayerSettingsProto { - get {return _storage._socialPlayerSettings ?? SocialPlayerSettingsProto()} - set {_uniqueStorage()._socialPlayerSettings = newValue} - } - /// Returns true if `socialPlayerSettings` has been explicitly set. - public var hasSocialPlayerSettings: Bool {return _storage._socialPlayerSettings != nil} - /// Clears the value of `socialPlayerSettings`. Subsequent reads from it will return its default value. - public mutating func clearSocialPlayerSettings() {_uniqueStorage()._socialPlayerSettings = nil} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .outOfRange + case 4: self = .playerLimitReached + case 5: self = .contestLimitReached + case 6: self = .sameCycleTradeNotAllowed + case 7: self = .sameSeasonWinnerNotAllowed + case 8: self = .pokemonInOtherContest + case 9: self = .pokemonInOtherContestNeedSubstitution + case 10: self = .needSubstitution + case 11: self = .pendingRewardEntryNotAllowed + default: self = .UNRECOGNIZED(rawValue) + } + } - public var combatPlayerPreferences: CombatPlayerPreferencesProto { - get {return _storage._combatPlayerPreferences ?? CombatPlayerPreferencesProto()} - set {_uniqueStorage()._combatPlayerPreferences = newValue} - } - /// Returns true if `combatPlayerPreferences` has been explicitly set. - public var hasCombatPlayerPreferences: Bool {return _storage._combatPlayerPreferences != nil} - /// Clears the value of `combatPlayerPreferences`. Subsequent reads from it will return its default value. - public mutating func clearCombatPlayerPreferences() {_uniqueStorage()._combatPlayerPreferences = nil} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .outOfRange: return 3 + case .playerLimitReached: return 4 + case .contestLimitReached: return 5 + case .sameCycleTradeNotAllowed: return 6 + case .sameSeasonWinnerNotAllowed: return 7 + case .pokemonInOtherContest: return 8 + case .pokemonInOtherContestNeedSubstitution: return 9 + case .needSubstitution: return 10 + case .pendingRewardEntryNotAllowed: return 11 + case .UNRECOGNIZED(let i): return i + } + } - public var playerSupportID: String { - get {return _storage._playerSupportID} - set {_uniqueStorage()._playerSupportID = newValue} } - public var teamChangeInfo: TeamChangeInfoProto { - get {return _storage._teamChangeInfo ?? TeamChangeInfoProto()} - set {_uniqueStorage()._teamChangeInfo = newValue} - } - /// Returns true if `teamChangeInfo` has been explicitly set. - public var hasTeamChangeInfo: Bool {return _storage._teamChangeInfo != nil} - /// Clears the value of `teamChangeInfo`. Subsequent reads from it will return its default value. - public mutating func clearTeamChangeInfo() {_uniqueStorage()._teamChangeInfo = nil} + public init() {} +} - public var consumedEeveeEasterEggs: [HoloPokemonId] { - get {return _storage._consumedEeveeEasterEggs} - set {_uniqueStorage()._consumedEeveeEasterEggs = newValue} - } +#if swift(>=4.2) - public var combatLog: CombatLogProto { - get {return _storage._combatLog ?? CombatLogProto()} - set {_uniqueStorage()._combatLog = newValue} - } - /// Returns true if `combatLog` has been explicitly set. - public var hasCombatLog: Bool {return _storage._combatLog != nil} - /// Clears the value of `combatLog`. Subsequent reads from it will return its default value. - public mutating func clearCombatLog() {_uniqueStorage()._combatLog = nil} +extension CheckContestEligibilityOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CheckContestEligibilityOutProto.Status] = [ + .unset, + .success, + .error, + .outOfRange, + .playerLimitReached, + .contestLimitReached, + .sameCycleTradeNotAllowed, + .sameSeasonWinnerNotAllowed, + .pokemonInOtherContest, + .pokemonInOtherContestNeedSubstitution, + .needSubstitution, + .pendingRewardEntryNotAllowed, + ] +} - public var timeZoneOffsetMs: Int64 { - get {return _storage._timeZoneOffsetMs} - set {_uniqueStorage()._timeZoneOffsetMs = newValue} - } +#endif // swift(>=4.2) - public var buddyObservedData: BuddyObservedData { - get {return _storage._buddyObservedData ?? BuddyObservedData()} - set {_uniqueStorage()._buddyObservedData = newValue} - } - /// Returns true if `buddyObservedData` has been explicitly set. - public var hasBuddyObservedData: Bool {return _storage._buddyObservedData != nil} - /// Clears the value of `buddyObservedData`. Subsequent reads from it will return its default value. - public mutating func clearBuddyObservedData() {_uniqueStorage()._buddyObservedData = nil} +public struct CheckContestEligibilityProto { + // 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. - public var helpshiftUserID: String { - get {return _storage._helpshiftUserID} - set {_uniqueStorage()._helpshiftUserID = newValue} - } + public var fortID: String = String() - public var playerPreferences: PlayerPreferencesProto { - get {return _storage._playerPreferences ?? PlayerPreferencesProto()} - set {_uniqueStorage()._playerPreferences = newValue} + public var contestSchedule: ContestScheduleProto { + get {return _contestSchedule ?? ContestScheduleProto()} + set {_contestSchedule = newValue} } - /// Returns true if `playerPreferences` has been explicitly set. - public var hasPlayerPreferences: Bool {return _storage._playerPreferences != nil} - /// Clears the value of `playerPreferences`. Subsequent reads from it will return its default value. - public mutating func clearPlayerPreferences() {_uniqueStorage()._playerPreferences = nil} + /// Returns true if `contestSchedule` has been explicitly set. + public var hasContestSchedule: Bool {return self._contestSchedule != nil} + /// Clears the value of `contestSchedule`. Subsequent reads from it will return its default value. + public mutating func clearContestSchedule() {self._contestSchedule = nil} - public var eventTicketActiveTime: [EventTicketActiveTimeProto] { - get {return _storage._eventTicketActiveTime} - set {_uniqueStorage()._eventTicketActiveTime = newValue} + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} - public var lapsedPlayerReturnedTimeMs: Int64 { - get {return _storage._lapsedPlayerReturnedTimeMs} - set {_uniqueStorage()._lapsedPlayerReturnedTimeMs = newValue} - } + public var pokemonID: UInt64 = 0 - public var maxPostcardStorage: Int32 { - get {return _storage._maxPostcardStorage} - set {_uniqueStorage()._maxPostcardStorage = newValue} - } + public var fortLatDegrees: Double = 0 - public var pokecoinCaps: [PlayerPokecoinCapProto] { - get {return _storage._pokecoinCaps} - set {_uniqueStorage()._pokecoinCaps = newValue} - } + public var fortLngDegrees: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct ClientPokestopNpcDialogueStepProto { - // 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. - - public var dialogueLine: [ClientDialogueLineProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} + fileprivate var _contestSchedule: ContestScheduleProto? = nil + fileprivate var _contestMetric: ContestMetricProto? = nil } -public struct ClientPokestopSpinStepProto { +public struct CheckEncounterTrayInfoTelemetry { // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ClientPredictionInconsistencyDataProto { - // 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. + public var berryTrayInfo: Bool = false - public var obClientPredictionInconsistencyUint32: UInt32 = 0 + public var ballTrayInfo: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientQuestProto { +public struct CheckGiftingEligibilityOutProto { // 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. - public var quest: QuestProto { - get {return _quest ?? QuestProto()} - set {_quest = newValue} - } - /// Returns true if `quest` has been explicitly set. - public var hasQuest: Bool {return self._quest != nil} - /// Clears the value of `quest`. Subsequent reads from it will return its default value. - public mutating func clearQuest() {self._quest = nil} - - public var questDisplay: QuestDisplayProto { - get {return _questDisplay ?? QuestDisplayProto()} - set {_questDisplay = newValue} + public var giftingEligibility: GiftingEligibilityStatusProto { + get {return _giftingEligibility ?? GiftingEligibilityStatusProto()} + set {_giftingEligibility = newValue} } - /// Returns true if `questDisplay` has been explicitly set. - public var hasQuestDisplay: Bool {return self._questDisplay != nil} - /// Clears the value of `questDisplay`. Subsequent reads from it will return its default value. - public mutating func clearQuestDisplay() {self._questDisplay = nil} + /// Returns true if `giftingEligibility` has been explicitly set. + public var hasGiftingEligibility: Bool {return self._giftingEligibility != nil} + /// Clears the value of `giftingEligibility`. Subsequent reads from it will return its default value. + public mutating func clearGiftingEligibility() {self._giftingEligibility = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _quest: QuestProto? = nil - fileprivate var _questDisplay: QuestDisplayProto? = nil + fileprivate var _giftingEligibility: GiftingEligibilityStatusProto? = nil } -public struct ClientRouteMapCellProto { +public struct CheckGiftingEligibilityProto { // 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. - public var s2CellID: UInt64 = 0 - - public var routeListHash: String = String() + public var giftingIapItem: GiftingIapItemProto { + get {return _giftingIapItem ?? GiftingIapItemProto()} + set {_giftingIapItem = newValue} + } + /// Returns true if `giftingIapItem` has been explicitly set. + public var hasGiftingIapItem: Bool {return self._giftingIapItem != nil} + /// Clears the value of `giftingIapItem`. Subsequent reads from it will return its default value. + public mutating func clearGiftingIapItem() {self._giftingIapItem = nil} - public var route: [SharedRouteProto] = [] + public var recipientFriendID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _giftingIapItem: GiftingIapItemProto? = nil } -public struct ClientRouteProto { +public struct CheckPhotobombOutProto { // 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. - public var id: String = String() - - public var name: String = String() - - public var description_p: String = String() + public var status: CheckPhotobombOutProto.Status = .unset - public var waypoints: [ClientRouteProto.WaypointProto] = [] + public var photobombPokemonID: HoloPokemonId = .missingno - public var mainImage: ClientRouteProto.ImageProto { - get {return _mainImage ?? ClientRouteProto.ImageProto()} - set {_mainImage = newValue} + public var photobombPokemonDisplay: PokemonDisplayProto { + get {return _photobombPokemonDisplay ?? PokemonDisplayProto()} + set {_photobombPokemonDisplay = newValue} } - /// Returns true if `mainImage` has been explicitly set. - public var hasMainImage: Bool {return self._mainImage != nil} - /// Clears the value of `mainImage`. Subsequent reads from it will return its default value. - public mutating func clearMainImage() {self._mainImage = nil} - - public var reversible: Bool = false + /// Returns true if `photobombPokemonDisplay` has been explicitly set. + public var hasPhotobombPokemonDisplay: Bool {return self._photobombPokemonDisplay != nil} + /// Clears the value of `photobombPokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPhotobombPokemonDisplay() {self._photobombPokemonDisplay = nil} - public var submissionTime: Int64 = 0 + public var encounterID: UInt64 = 0 - public var routeDistanceMeters: Int64 = 0 + public var uri: String = String() - public var directionInDegrees: Float = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var avgRating: Float = 0 + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPhotoPokemonInvalid // = 2 + case errorUnknown // = 3 + case UNRECOGNIZED(Int) - public var routeType: RouteType = .unset - - public var routeDurationSeconds: Int64 = 0 - - public var numCompletions: Int32 = 0 - - public var cooldownFinishMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct ImageProto { - // 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. - - public var imageURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct WaypointProto { - // 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. - - public var fortID: String = String() - - public var latDegrees: Double = 0 + public init() { + self = .unset + } - public var lngDegrees: Double = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPhotoPokemonInvalid + case 3: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPhotoPokemonInvalid: return 2 + case .errorUnknown: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} } public init() {} - fileprivate var _mainImage: ClientRouteProto.ImageProto? = nil + fileprivate var _photobombPokemonDisplay: PokemonDisplayProto? = nil } -public struct ClientSettingsTelemetry { - // 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. - - public var musicVolume: Float = 0 - - public var soundVolume: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension CheckPhotobombOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CheckPhotobombOutProto.Status] = [ + .unset, + .success, + .errorPhotoPokemonInvalid, + .errorUnknown, + ] } -public struct ClientSleepRecord { - // 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. - - public var startTimeSec: UInt32 = 0 - - public var durationSec: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} +#endif // swift(>=4.2) -public struct ClientSpawnPointProto { +public struct CheckPhotobombProto { // 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. - public var latitude: Double = 0 - - public var longitude: Double = 0 + public var photoPokemonID: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientTelemetryBatchOutProto { +public struct CheckPokemonSizeLeaderboardEligibilityOutProto { // 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. - public var status: ClientTelemetryBatchOutProto.Status = .unset + public var status: CheckPokemonSizeLeaderboardEligibilityOutProto.Status = .unset - public var collectedCount: Int32 = 0 + public var pokemonIDToReplace: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -45194,6 +47095,15 @@ public struct ClientTelemetryBatchOutProto { case unset // = 0 case success // = 1 case error // = 2 + case outOfRange // = 3 + case playerLimitReached // = 4 + case contestLimitReached // = 5 + case sameCycleTradeNotAllowed // = 6 + case sameSeasonWinnerNotAllowed // = 7 + case pokemonInOtherContest // = 8 + case pokemonInOtherContestNeedSubstitution // = 9 + case needSubstitution // = 10 + case pendingRewardEntryNotAllowed // = 11 case UNRECOGNIZED(Int) public init() { @@ -45205,6 +47115,15 @@ public struct ClientTelemetryBatchOutProto { case 0: self = .unset case 1: self = .success case 2: self = .error + case 3: self = .outOfRange + case 4: self = .playerLimitReached + case 5: self = .contestLimitReached + case 6: self = .sameCycleTradeNotAllowed + case 7: self = .sameSeasonWinnerNotAllowed + case 8: self = .pokemonInOtherContest + case 9: self = .pokemonInOtherContestNeedSubstitution + case 10: self = .needSubstitution + case 11: self = .pendingRewardEntryNotAllowed default: self = .UNRECOGNIZED(rawValue) } } @@ -45214,6 +47133,15 @@ public struct ClientTelemetryBatchOutProto { case .unset: return 0 case .success: return 1 case .error: return 2 + case .outOfRange: return 3 + case .playerLimitReached: return 4 + case .contestLimitReached: return 5 + case .sameCycleTradeNotAllowed: return 6 + case .sameSeasonWinnerNotAllowed: return 7 + case .pokemonInOtherContest: return 8 + case .pokemonInOtherContestNeedSubstitution: return 9 + case .needSubstitution: return 10 + case .pendingRewardEntryNotAllowed: return 11 case .UNRECOGNIZED(let i): return i } } @@ -45225,42 +47153,83 @@ public struct ClientTelemetryBatchOutProto { #if swift(>=4.2) -extension ClientTelemetryBatchOutProto.Status: CaseIterable { +extension CheckPokemonSizeLeaderboardEligibilityOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientTelemetryBatchOutProto.Status] = [ + public static var allCases: [CheckPokemonSizeLeaderboardEligibilityOutProto.Status] = [ .unset, .success, .error, + .outOfRange, + .playerLimitReached, + .contestLimitReached, + .sameCycleTradeNotAllowed, + .sameSeasonWinnerNotAllowed, + .pokemonInOtherContest, + .pokemonInOtherContestNeedSubstitution, + .needSubstitution, + .pendingRewardEntryNotAllowed, ] } #endif // swift(>=4.2) -public struct ClientTelemetryBatchProto { +public struct CheckPokemonSizeLeaderboardEligibilityProto { // 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. - public var telemetryScopeID: ClientTelemetryBatchProto.TelemetryScopeId = .unset + public var fortID: String = String() - public var events: [ClientTelemetryRecordProto] = [] + public var contestSchedule: ContestScheduleProto { + get {return _contestSchedule ?? ContestScheduleProto()} + set {_contestSchedule = newValue} + } + /// Returns true if `contestSchedule` has been explicitly set. + public var hasContestSchedule: Bool {return self._contestSchedule != nil} + /// Clears the value of `contestSchedule`. Subsequent reads from it will return its default value. + public mutating func clearContestSchedule() {self._contestSchedule = nil} - public var apiVersion: String = String() + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} - public var messageVersion: String = String() + public var pokemonID: UInt64 = 0 + + public var fortLatDegrees: Double = 0 + + public var fortLngDegrees: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum TelemetryScopeId: SwiftProtobuf.Enum { + public init() {} + + fileprivate var _contestSchedule: ContestScheduleProto? = nil + fileprivate var _contestMetric: ContestMetricProto? = nil +} + +public struct CheckSendGiftOutProto { + // 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. + + public var result: CheckSendGiftOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case core // = 1 - case game // = 2 - case titan // = 3 - case common // = 4 - case preAgeGate // = 5 - case preLogin // = 6 - case ardk // = 7 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerDoesNotExist // = 3 + case errorGiftNotAvailable // = 4 + case errorGiftAlreadySentToday // = 5 + case errorPlayerHasUnopenedGift // = 6 case UNRECOGNIZED(Int) public init() { @@ -45270,13 +47239,12 @@ public struct ClientTelemetryBatchProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .core - case 2: self = .game - case 3: self = .titan - case 4: self = .common - case 5: self = .preAgeGate - case 6: self = .preLogin - case 7: self = .ardk + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerDoesNotExist + case 4: self = .errorGiftNotAvailable + case 5: self = .errorGiftAlreadySentToday + case 6: self = .errorPlayerHasUnopenedGift default: self = .UNRECOGNIZED(rawValue) } } @@ -45284,13 +47252,12 @@ public struct ClientTelemetryBatchProto { public var rawValue: Int { switch self { case .unset: return 0 - case .core: return 1 - case .game: return 2 - case .titan: return 3 - case .common: return 4 - case .preAgeGate: return 5 - case .preLogin: return 6 - case .ardk: return 7 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerDoesNotExist: return 3 + case .errorGiftNotAvailable: return 4 + case .errorGiftAlreadySentToday: return 5 + case .errorPlayerHasUnopenedGift: return 6 case .UNRECOGNIZED(let i): return i } } @@ -45302,172 +47269,137 @@ public struct ClientTelemetryBatchProto { #if swift(>=4.2) -extension ClientTelemetryBatchProto.TelemetryScopeId: CaseIterable { +extension CheckSendGiftOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientTelemetryBatchProto.TelemetryScopeId] = [ + public static var allCases: [CheckSendGiftOutProto.Result] = [ .unset, - .core, - .game, - .titan, - .common, - .preAgeGate, - .preLogin, - .ardk, + .success, + .errorUnknown, + .errorPlayerDoesNotExist, + .errorGiftNotAvailable, + .errorGiftAlreadySentToday, + .errorPlayerHasUnopenedGift, ] } #endif // swift(>=4.2) -public struct ClientTelemetryClientSettingsProto { +public struct CheckSendGiftProto { // 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. - public var isUploadEnabled: Bool = false - - public var maxUploadSizeInBytes: Int64 = 0 - - public var updateIntervalInSec: Int64 = 0 - - public var settingsUpdateIntervalInSec: Int64 = 0 - - public var maxEnvelopeQueueSize: Int64 = 0 - - public var samplingProbability: Double = 0 - - public var usePlayerBasedSampling: Bool = false - - public var playerHash: Double = 0 - - public var playerExternalOmniID: String = String() - - public var disableOmniSending: Bool = false - - public var specialSamplingProbabilityMap: Dictionary = [:] - - public var playerExternalUaID: String = String() - - public var playerExternalInAppSurveyID: String = String() - - public var playerExternalArdkID: String = String() - - public var enableExperimentalFeatures: Bool = false + public var playerID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientTelemetryCommonFilterProto { +public struct ChooseGlobalTicketedEventVariantOutProto { // 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. - public var applicationIdentifier: String = String() - - public var operatingSystemName: String = String() - - public var deviceModel: String = String() - - public var localeCountryCode: String = String() + public var status: ChooseGlobalTicketedEventVariantOutProto.Status = .unset - public var localeLanguageCode: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var samplingProbability: Double = 0 + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorHasRequestedBadge // = 2 + case errorHasMutuallyExclusiveBadge // = 3 + case UNRECOGNIZED(Int) - public var qualityLevel: String = String() + public init() { + self = .unset + } - public var networkConnectivityType: String = String() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorHasRequestedBadge + case 3: self = .errorHasMutuallyExclusiveBadge + default: self = .UNRECOGNIZED(rawValue) + } + } - public var gameContext: String = String() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorHasRequestedBadge: return 2 + case .errorHasMutuallyExclusiveBadge: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var languageCode: String = String() + } - public var timezone: String = String() + public init() {} +} - public var ipCountryCode: String = String() +#if swift(>=4.2) - public var graphicsDeviceVendor: String = String() +extension ChooseGlobalTicketedEventVariantOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ChooseGlobalTicketedEventVariantOutProto.Status] = [ + .unset, + .success, + .errorHasRequestedBadge, + .errorHasMutuallyExclusiveBadge, + ] +} - public var graphicsDeviceName: String = String() +#endif // swift(>=4.2) - public var graphicsDeviceType: String = String() +public struct ChooseGlobalTicketedEventVariantProto { + // 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. - public var graphicsShaderLevel: String = String() + public var targetVariant: HoloBadgeType = .badgeUnset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientTelemetryRecordProto { +public struct ClaimCodenameRequestProto { // 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. - public var recordID: String { - get {return _storage._recordID} - set {_uniqueStorage()._recordID = newValue} - } - - public var encodedMessage: Data { - get {return _storage._encodedMessage} - set {_uniqueStorage()._encodedMessage = newValue} - } - - public var clientTimestampMs: Int64 { - get {return _storage._clientTimestampMs} - set {_uniqueStorage()._clientTimestampMs = newValue} - } - - public var metricID: Int64 { - get {return _storage._metricID} - set {_uniqueStorage()._metricID = newValue} - } + public var codename: String = String() - public var eventName: String { - get {return _storage._eventName} - set {_uniqueStorage()._eventName = newValue} - } + public var force: Bool = false - public var commonFilters: ClientTelemetryCommonFilterProto { - get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} - set {_uniqueStorage()._commonFilters = newValue} - } - /// Returns true if `commonFilters` has been explicitly set. - public var hasCommonFilters: Bool {return _storage._commonFilters != nil} - /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. - public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} + public var generateSuggestedCodenames: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct ClientTelemetryRecordResult { +public struct ClaimContestsRewardsOutProto { // 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. - public var recordID: String = String() - - public var status: ClientTelemetryRecordResult.Status = .unset + public var status: ClaimContestsRewardsOutProto.Status = .unset - public var telemetryTypeName: String = String() + public var rewardsPerContest: [RewardsPerContestProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 20 - case errorFamilyUnset // = 21 - case errorFamilyInvalid // = 22 - case errorEncodingInvalid // = 23 - case errorUnsetMetricID // = 24 - case errorEventTelemetryUndefined // = 25 + case success // = 1 + case error // = 2 case UNRECOGNIZED(Int) public init() { @@ -45477,12 +47409,8 @@ public struct ClientTelemetryRecordResult { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 20: self = .success - case 21: self = .errorFamilyUnset - case 22: self = .errorFamilyInvalid - case 23: self = .errorEncodingInvalid - case 24: self = .errorUnsetMetricID - case 25: self = .errorEventTelemetryUndefined + case 1: self = .success + case 2: self = .error default: self = .UNRECOGNIZED(rawValue) } } @@ -45490,12 +47418,8 @@ public struct ClientTelemetryRecordResult { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 20 - case .errorFamilyUnset: return 21 - case .errorFamilyInvalid: return 22 - case .errorEncodingInvalid: return 23 - case .errorUnsetMetricID: return 24 - case .errorEventTelemetryUndefined: return 25 + case .success: return 1 + case .error: return 2 case .UNRECOGNIZED(let i): return i } } @@ -45507,33 +47431,33 @@ public struct ClientTelemetryRecordResult { #if swift(>=4.2) -extension ClientTelemetryRecordResult.Status: CaseIterable { +extension ClaimContestsRewardsOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientTelemetryRecordResult.Status] = [ + public static var allCases: [ClaimContestsRewardsOutProto.Status] = [ .unset, .success, - .errorFamilyUnset, - .errorFamilyInvalid, - .errorEncodingInvalid, - .errorUnsetMetricID, - .errorEventTelemetryUndefined, + .error, ] } #endif // swift(>=4.2) -public struct ClientTelemetryResponseProto { +public struct ClaimContestsRewardsProto { // 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. - public var status: ClientTelemetryResponseProto.Status = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var rowsWritten: Int32 = 0 + public init() {} +} - public var nonretryableFailures: Int32 = 0 +public struct ClaimPtcLinkingRewardOutProto { + // 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. - public var retryableFailures: [ClientTelemetryRecordResult] = [] + public var status: ClaimPtcLinkingRewardOutProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -45541,9 +47465,10 @@ public struct ClientTelemetryResponseProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case failure // = 2 - case partialFailure // = 3 - case invalidRequest // = 4 + case error // = 2 + case errorGmt // = 3 + case errorItemNotSupported // = 4 + case errorRewardClaimedAlready // = 5 case UNRECOGNIZED(Int) public init() { @@ -45554,9 +47479,10 @@ public struct ClientTelemetryResponseProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .failure - case 3: self = .partialFailure - case 4: self = .invalidRequest + case 2: self = .error + case 3: self = .errorGmt + case 4: self = .errorItemNotSupported + case 5: self = .errorRewardClaimedAlready default: self = .UNRECOGNIZED(rawValue) } } @@ -45565,9 +47491,10 @@ public struct ClientTelemetryResponseProto { switch self { case .unset: return 0 case .success: return 1 - case .failure: return 2 - case .partialFailure: return 3 - case .invalidRequest: return 4 + case .error: return 2 + case .errorGmt: return 3 + case .errorItemNotSupported: return 4 + case .errorRewardClaimedAlready: return 5 case .UNRECOGNIZED(let i): return i } } @@ -45579,20 +47506,21 @@ public struct ClientTelemetryResponseProto { #if swift(>=4.2) -extension ClientTelemetryResponseProto.Status: CaseIterable { +extension ClaimPtcLinkingRewardOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientTelemetryResponseProto.Status] = [ + public static var allCases: [ClaimPtcLinkingRewardOutProto.Status] = [ .unset, .success, - .failure, - .partialFailure, - .invalidRequest, + .error, + .errorGmt, + .errorItemNotSupported, + .errorRewardClaimedAlready, ] } #endif // swift(>=4.2) -public struct ClientTelemetrySettingsRequestProto { +public struct ClaimPtcLinkingRewardProto { // 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. @@ -45602,83 +47530,32 @@ public struct ClientTelemetrySettingsRequestProto { public init() {} } -public struct ClientTelemetryV2Request { +public struct ClaimVsSeekerRewardsOutProto { // 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. - public var telemetryRequestMetadata: TelemetryRequestMetadata { - get {return _telemetryRequestMetadata ?? TelemetryRequestMetadata()} - set {_telemetryRequestMetadata = newValue} - } - /// Returns true if `telemetryRequestMetadata` has been explicitly set. - public var hasTelemetryRequestMetadata: Bool {return self._telemetryRequestMetadata != nil} - /// Clears the value of `telemetryRequestMetadata`. Subsequent reads from it will return its default value. - public mutating func clearTelemetryRequestMetadata() {self._telemetryRequestMetadata = nil} + public var result: ClaimVsSeekerRewardsOutProto.Result = .unset - public var batchProto: TelemetryBatchProto { - get {return _batchProto ?? TelemetryBatchProto()} - set {_batchProto = newValue} + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} } - /// Returns true if `batchProto` has been explicitly set. - public var hasBatchProto: Bool {return self._batchProto != nil} - /// Clears the value of `batchProto`. Subsequent reads from it will return its default value. - public mutating func clearBatchProto() {self._batchProto = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _telemetryRequestMetadata: TelemetryRequestMetadata? = nil - fileprivate var _batchProto: TelemetryBatchProto? = nil -} - -public struct ClientToggleSettingsTelemetry { - // 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. - - public var toggleID: ClientToggleSettingsTelemetry.ToggleSettingId = .unset - - public var toggleEvent: ClientToggleSettingsTelemetry.ToggleEvent = .undefined + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ToggleEvent: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case off // = 1 - case on // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .undefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 1: self = .off - case 2: self = .on - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .off: return 1 - case .on: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum ToggleSettingId: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case rememberLastPokeball // = 1 + case success // = 1 + case errorRedeemPokemon // = 2 + case errorPlayerNotEnoughVictories // = 3 + case errorRewardAlreadyClaimed // = 4 + case errorInventoryFull // = 5 case UNRECOGNIZED(Int) public init() { @@ -45688,7 +47565,11 @@ public struct ClientToggleSettingsTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .rememberLastPokeball + case 1: self = .success + case 2: self = .errorRedeemPokemon + case 3: self = .errorPlayerNotEnoughVictories + case 4: self = .errorRewardAlreadyClaimed + case 5: self = .errorInventoryFull default: self = .UNRECOGNIZED(rawValue) } } @@ -45696,7 +47577,11 @@ public struct ClientToggleSettingsTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .rememberLastPokeball: return 1 + case .success: return 1 + case .errorRedeemPokemon: return 2 + case .errorPlayerNotEnoughVictories: return 3 + case .errorRewardAlreadyClaimed: return 4 + case .errorInventoryFull: return 5 case .UNRECOGNIZED(let i): return i } } @@ -45704,136 +47589,97 @@ public struct ClientToggleSettingsTelemetry { } public init() {} + + fileprivate var _rewards: LootProto? = nil } #if swift(>=4.2) -extension ClientToggleSettingsTelemetry.ToggleEvent: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientToggleSettingsTelemetry.ToggleEvent] = [ - .undefined, - .off, - .on, - ] -} - -extension ClientToggleSettingsTelemetry.ToggleSettingId: CaseIterable { +extension ClaimVsSeekerRewardsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ClientToggleSettingsTelemetry.ToggleSettingId] = [ + public static var allCases: [ClaimVsSeekerRewardsOutProto.Result] = [ .unset, - .rememberLastPokeball, + .success, + .errorRedeemPokemon, + .errorPlayerNotEnoughVictories, + .errorRewardAlreadyClaimed, + .errorInventoryFull, ] } #endif // swift(>=4.2) -public struct ClientUpgradeRequestProto { +public struct ClaimVsSeekerRewardsProto { // 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. - public var version: String = String() - - public var operatingSystem: ClientOperatingSystem = .osUnknown + public var winIndex: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientUpgradeResponseProto { +public struct ClientBreadcrumbSessionSettings { // 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. - public var needsUpgrade: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var sessionDurationM: Float = 0 -public struct ClientVersionProto { - // 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. + public var updateIntervalS: Float = 0 - public var minVersion: String = String() + public var asFallbackForegroundReportingIntervalS: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ClientWeatherProto { +public struct ClientContestIncidentProto { // 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. - public var s2CellID: Int64 = 0 - - public var displayWeather: DisplayWeatherProto { - get {return _displayWeather ?? DisplayWeatherProto()} - set {_displayWeather = newValue} - } - /// Returns true if `displayWeather` has been explicitly set. - public var hasDisplayWeather: Bool {return self._displayWeather != nil} - /// Clears the value of `displayWeather`. Subsequent reads from it will return its default value. - public mutating func clearDisplayWeather() {self._displayWeather = nil} - - public var gameplayWeather: GameplayWeatherProto { - get {return _gameplayWeather ?? GameplayWeatherProto()} - set {_gameplayWeather = newValue} - } - /// Returns true if `gameplayWeather` has been explicitly set. - public var hasGameplayWeather: Bool {return self._gameplayWeather != nil} - /// Clears the value of `gameplayWeather`. Subsequent reads from it will return its default value. - public mutating func clearGameplayWeather() {self._gameplayWeather = nil} - - public var alerts: [WeatherAlertProto] = [] + public var contests: [ContestProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _displayWeather: DisplayWeatherProto? = nil - fileprivate var _gameplayWeather: GameplayWeatherProto? = nil } -public struct CodenameResultProto { +public struct ClientDialogueLineProto { // 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. - public var codename: String = String() + public var text: String = String() - public var userMessage: String = String() + public var character: EnumWrapper.InvasionCharacter = .characterUnset - public var isAssignable: Bool = false + public var expression: EnumWrapper.InvasionCharacterExpression = .expressionUnset - public var status: CodenameResultProto.Status = .unset + public var leftAssetAddress: String = String() - public var updatedPlayer: ClientPlayerProto { - get {return _updatedPlayer ?? ClientPlayerProto()} - set {_updatedPlayer = newValue} - } - /// Returns true if `updatedPlayer` has been explicitly set. - public var hasUpdatedPlayer: Bool {return self._updatedPlayer != nil} - /// Clears the value of `updatedPlayer`. Subsequent reads from it will return its default value. - public mutating func clearUpdatedPlayer() {self._updatedPlayer = nil} + public var side: ClientDialogueLineProto.Side = .unset - public var suggestedCodenames: [String] = [] + public var displayOnlyLoot: LootProto { + get {return _displayOnlyLoot ?? LootProto()} + set {_displayOnlyLoot = newValue} + } + /// Returns true if `displayOnlyLoot` has been explicitly set. + public var hasDisplayOnlyLoot: Bool {return self._displayOnlyLoot != nil} + /// Clears the value of `displayOnlyLoot`. Subsequent reads from it will return its default value. + public mutating func clearDisplayOnlyLoot() {self._displayOnlyLoot = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Side: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case codenameNotAvailable // = 2 - case codenameNotValid // = 3 - case currentOwner // = 4 - case codenameChangeNotAllowed // = 5 + case right // = 1 + case left // = 2 case UNRECOGNIZED(Int) public init() { @@ -45843,11 +47689,8 @@ public struct CodenameResultProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .codenameNotAvailable - case 3: self = .codenameNotValid - case 4: self = .currentOwner - case 5: self = .codenameChangeNotAllowed + case 1: self = .right + case 2: self = .left default: self = .UNRECOGNIZED(rawValue) } } @@ -45855,11 +47698,8 @@ public struct CodenameResultProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .codenameNotAvailable: return 2 - case .codenameNotValid: return 3 - case .currentOwner: return 4 - case .codenameChangeNotAllowed: return 5 + case .right: return 1 + case .left: return 2 case .UNRECOGNIZED(let i): return i } } @@ -45868,322 +47708,401 @@ public struct CodenameResultProto { public init() {} - fileprivate var _updatedPlayer: ClientPlayerProto? = nil + fileprivate var _displayOnlyLoot: LootProto? = nil } #if swift(>=4.2) -extension CodenameResultProto.Status: CaseIterable { +extension ClientDialogueLineProto.Side: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CodenameResultProto.Status] = [ + public static var allCases: [ClientDialogueLineProto.Side] = [ .unset, - .success, - .codenameNotAvailable, - .codenameNotValid, - .currentOwner, - .codenameChangeNotAllowed, + .right, + .left, ] } #endif // swift(>=4.2) -public struct CollectAdIdRequestProto { +public struct ClientEnvironmentProto { // 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. - public var userID: String = String() + public var languageCode: String = String() - public var adID: String = String() + public var timezone: String = String() - public var devicePlatform: CollectAdIdRequestProto.DevicePlatform = .platformInvalid + public var deviceCountryCode: String = String() - public var failedReason: CollectAdIdRequestProto.CollectionFailedReason = .reasonInvalid + public var ipCountryCode: String = String() - public var timestampMs: UInt64 = 0 + public var clientVersion: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var deviceType: String = String() - public enum CollectionFailedReason: SwiftProtobuf.Enum { - public typealias RawValue = Int - case reasonInvalid // = 0 - case adTrackingDisabled // = 1 - case UNRECOGNIZED(Int) + public var deviceOs: String = String() - public init() { - self = .reasonInvalid - } + public var graphicsDeviceVendor: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .reasonInvalid - case 1: self = .adTrackingDisabled - default: self = .UNRECOGNIZED(rawValue) - } - } + public var graphicsDeviceName: String = String() - public var rawValue: Int { - switch self { - case .reasonInvalid: return 0 - case .adTrackingDisabled: return 1 - case .UNRECOGNIZED(let i): return i - } - } + public var graphicsDeviceType: String = String() - } + public var graphicsShaderLevel: String = String() - public enum DevicePlatform: SwiftProtobuf.Enum { - public typealias RawValue = Int - case platformInvalid // = 0 - case android // = 1 - case ios // = 2 - case UNRECOGNIZED(Int) + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() { - self = .platformInvalid - } + public init() {} +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .platformInvalid - case 1: self = .android - case 2: self = .ios - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct ClientEvolutionQuestTemplateProto { + // 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. - public var rawValue: Int { - switch self { - case .platformInvalid: return 0 - case .android: return 1 - case .ios: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var questTemplateID: String = String() + + public var questType: QuestType = .questUnset + + public var goals: [QuestGoalProto] = [] + + public var context: QuestProto.Context = .unset + public var display: QuestDisplayProto { + get {return _display ?? QuestDisplayProto()} + set {_display = newValue} } + /// Returns true if `display` has been explicitly set. + public var hasDisplay: Bool {return self._display != nil} + /// Clears the value of `display`. Subsequent reads from it will return its default value. + public mutating func clearDisplay() {self._display = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _display: QuestDisplayProto? = nil } -#if swift(>=4.2) +public struct ClientFortModifierProto { + // 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. -extension CollectAdIdRequestProto.CollectionFailedReason: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CollectAdIdRequestProto.CollectionFailedReason] = [ - .reasonInvalid, - .adTrackingDisabled, - ] -} + public var modifierType: Item = .unknown -extension CollectAdIdRequestProto.DevicePlatform: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CollectAdIdRequestProto.DevicePlatform] = [ - .platformInvalid, - .android, - .ios, - ] -} + public var expirationTimeMs: Int64 = 0 -#endif // swift(>=4.2) + public var deployingPlayerCodename: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} -public struct CollectAdIdResponseProto { +public struct ClientGameMasterTemplateProto { // 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. - public var status: CollectAdIdResponseProto.Status = .invalid + public var templateID: String = String() + + public var data: GameMasterClientTemplateProto { + get {return _data ?? GameMasterClientTemplateProto()} + set {_data = newValue} + } + /// Returns true if `data` has been explicitly set. + public var hasData: Bool {return self._data != nil} + /// Clears the value of `data`. Subsequent reads from it will return its default value. + public mutating func clearData() {self._data = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case invalid // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) + public init() {} - public init() { - self = .invalid - } + fileprivate var _data: GameMasterClientTemplateProto? = nil +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .invalid - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct ClientGenderProto { + // 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. - public var rawValue: Int { - switch self { - case .invalid: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var malePercent: Float = 0 - } + public var femalePercent: Float = 0 + + public var genderlessPercent: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) +public struct ClientGenderSettingsProto { + // 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. -extension CollectAdIdResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CollectAdIdResponseProto.Status] = [ - .invalid, - .success, - .error, - ] -} + public var pokemon: HoloPokemonId = .missingno -#endif // swift(>=4.2) + public var gender: ClientGenderProto { + get {return _gender ?? ClientGenderProto()} + set {_gender = newValue} + } + /// Returns true if `gender` has been explicitly set. + public var hasGender: Bool {return self._gender != nil} + /// Clears the value of `gender`. Subsequent reads from it will return its default value. + public mutating func clearGender() {self._gender = nil} -public struct CollectDailyBonusOutProto { + public var form: PokemonDisplayProto.Form = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _gender: ClientGenderProto? = nil +} + +public struct ClientInbox { // 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. - public var result: CollectDailyBonusOutProto.Result = .unset + public var notifications: [ClientInbox.Notification] = [] + + public var builtinVariables: [TemplateVariable] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Label: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case tooSoon // = 3 + case unsetLabel // = 0 + case unread // = 1 + case new // = 2 + case immediate // = 3 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .unsetLabel } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - case 3: self = .tooSoon + case 0: self = .unsetLabel + case 1: self = .unread + case 2: self = .new + case 3: self = .immediate default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .tooSoon: return 3 + case .unsetLabel: return 0 + case .unread: return 1 + case .new: return 2 + case .immediate: return 3 case .UNRECOGNIZED(let i): return i } } } + public struct Notification { + // 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. + + public var notificationID: String = String() + + public var titleKey: String = String() + + public var category: String = String() + + public var createTimestampMs: Int64 = 0 + + public var variables: [TemplateVariable] = [] + + public var labels: [ClientInbox.Label] = [] + + public var expireTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} } #if swift(>=4.2) -extension CollectDailyBonusOutProto.Result: CaseIterable { +extension ClientInbox.Label: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CollectDailyBonusOutProto.Result] = [ - .unset, - .success, - .failure, - .tooSoon, + public static var allCases: [ClientInbox.Label] = [ + .unsetLabel, + .unread, + .new, + .immediate, ] } #endif // swift(>=4.2) -public struct CollectDailyBonusProto { +public struct ClientIncidentProto { // 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. + public var incidentID: String { + get {return _storage._incidentID} + set {_uniqueStorage()._incidentID = newValue} + } + + public var fortID: String { + get {return _storage._fortID} + set {_uniqueStorage()._fortID = newValue} + } + + public var fortName: String { + get {return _storage._fortName} + set {_uniqueStorage()._fortName = newValue} + } + + public var pokestopImageUri: String { + get {return _storage._pokestopImageUri} + set {_uniqueStorage()._pokestopImageUri = newValue} + } + + public var currentStep: Int32 { + get {return _storage._currentStep} + set {_uniqueStorage()._currentStep = newValue} + } + + public var step: [ClientIncidentStepProto] { + get {return _storage._step} + set {_uniqueStorage()._step = newValue} + } + + public var completionDisplay: PokestopIncidentDisplayProto { + get {return _storage._completionDisplay ?? PokestopIncidentDisplayProto()} + set {_uniqueStorage()._completionDisplay = newValue} + } + /// Returns true if `completionDisplay` has been explicitly set. + public var hasCompletionDisplay: Bool {return _storage._completionDisplay != nil} + /// Clears the value of `completionDisplay`. Subsequent reads from it will return its default value. + public mutating func clearCompletionDisplay() {_uniqueStorage()._completionDisplay = nil} + + public var context: EnumWrapper.InvasionContext { + get {return _storage._context} + set {_uniqueStorage()._context = newValue} + } + + public var startPhase: EnumWrapper.IncidentStartPhase { + get {return _storage._startPhase} + set {_uniqueStorage()._startPhase = newValue} + } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct CollectDailyDefenderBonusOutProto { +public struct ClientIncidentStepProto { // 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. - public var result: CollectDailyDefenderBonusOutProto.Result = .unset - - public var currencyType: [String] = [] - - public var currencyAwarded: [Int32] = [] - - public var numDefenders: Int32 = 0 + public var clientIncidentStep: ClientIncidentStepProto.OneOf_ClientIncidentStep? = nil - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var invasionBattle: ClientInvasionBattleStepProto { + get { + if case .invasionBattle(let v)? = clientIncidentStep {return v} + return ClientInvasionBattleStepProto() + } + set {clientIncidentStep = .invasionBattle(newValue)} + } - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case tooSoon // = 3 - case noDefenders // = 4 - case UNRECOGNIZED(Int) + public var invasionEncounter: ClientInvasionEncounterStepProto { + get { + if case .invasionEncounter(let v)? = clientIncidentStep {return v} + return ClientInvasionEncounterStepProto() + } + set {clientIncidentStep = .invasionEncounter(newValue)} + } - public init() { - self = .unset + public var pokestopDialogue: ClientPokestopNpcDialogueStepProto { + get { + if case .pokestopDialogue(let v)? = clientIncidentStep {return v} + return ClientPokestopNpcDialogueStepProto() } + set {clientIncidentStep = .pokestopDialogue(newValue)} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - case 3: self = .tooSoon - case 4: self = .noDefenders - default: self = .UNRECOGNIZED(rawValue) - } + public var pokestopSpin: ClientPokestopSpinStepProto { + get { + if case .pokestopSpin(let v)? = clientIncidentStep {return v} + return ClientPokestopSpinStepProto() } + set {clientIncidentStep = .pokestopSpin(newValue)} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .tooSoon: return 3 - case .noDefenders: return 4 - case .UNRECOGNIZED(let i): return i + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_ClientIncidentStep: Equatable { + case invasionBattle(ClientInvasionBattleStepProto) + case invasionEncounter(ClientInvasionEncounterStepProto) + case pokestopDialogue(ClientPokestopNpcDialogueStepProto) + case pokestopSpin(ClientPokestopSpinStepProto) + + #if !swift(>=4.1) + public static func ==(lhs: ClientIncidentStepProto.OneOf_ClientIncidentStep, rhs: ClientIncidentStepProto.OneOf_ClientIncidentStep) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.invasionBattle, .invasionBattle): return { + guard case .invasionBattle(let l) = lhs, case .invasionBattle(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.invasionEncounter, .invasionEncounter): return { + guard case .invasionEncounter(let l) = lhs, case .invasionEncounter(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokestopDialogue, .pokestopDialogue): return { + guard case .pokestopDialogue(let l) = lhs, case .pokestopDialogue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokestopSpin, .pokestopSpin): return { + guard case .pokestopSpin(let l) = lhs, case .pokestopSpin(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false } } - + #endif } public init() {} } -#if swift(>=4.2) +public struct ClientInvasionBattleStepProto { + // 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. -extension CollectDailyDefenderBonusOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CollectDailyDefenderBonusOutProto.Result] = [ - .unset, - .success, - .failure, - .tooSoon, - .noDefenders, - ] -} + public var character: EnumWrapper.InvasionCharacter = .characterUnset -#endif // swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct CollectDailyDefenderBonusProto { + public init() {} +} + +public struct ClientInvasionEncounterStepProto { // 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. @@ -46193,400 +48112,454 @@ public struct CollectDailyDefenderBonusProto { public init() {} } -public struct CombatActionProto { +public struct ClientMapCellProto { // 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. - public var type: CombatActionProto.ActionType = .unset + public var s2CellID: UInt64 = 0 - public var actionStartTurn: Int32 = 0 + public var asOfTimeMs: Int64 = 0 - public var durationTurns: Int32 = 0 + public var fort: [PokemonFortProto] = [] - public var attackerIndex: Int32 = 0 + public var spawnPoint: [ClientSpawnPointProto] = [] - public var targetIndex: Int32 = 0 + public var wildPokemon: [WildPokemonProto] = [] - public var activePokemonID: UInt64 = 0 + public var deletedObject: [String] = [] - public var targetPokemonID: UInt64 = 0 - - public var minigameScore: Float = 0 + public var isTruncatedList: Bool = false - public var move: HoloPokemonMove = .moveUnset + public var fortSummary: [PokemonSummaryFortProto] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var decimatedSpawnPoint: [ClientSpawnPointProto] = [] - public enum ActionType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case attack // = 1 - case specialAttack // = 2 - case specialAttack2 // = 3 - case minigameOffensiveFinish // = 4 - case minigameDefensiveStart // = 5 - case minigameDefensiveFinish // = 6 - case faint // = 7 - case changePokemon // = 8 - case quickSwapPokemon // = 9 - case UNRECOGNIZED(Int) + public var catchablePokemon: [MapPokemonProto] = [] - public init() { - self = .unset - } + public var nearbyPokemon: [NearbyPokemonProto] = [] - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .attack - case 2: self = .specialAttack - case 3: self = .specialAttack2 - case 4: self = .minigameOffensiveFinish - case 5: self = .minigameDefensiveStart - case 6: self = .minigameDefensiveFinish - case 7: self = .faint - case 8: self = .changePokemon - case 9: self = .quickSwapPokemon - default: self = .UNRECOGNIZED(rawValue) - } - } + public var routeListHash: String = String() - public var rawValue: Int { - switch self { - case .unset: return 0 - case .attack: return 1 - case .specialAttack: return 2 - case .specialAttack2: return 3 - case .minigameOffensiveFinish: return 4 - case .minigameDefensiveStart: return 5 - case .minigameDefensiveFinish: return 6 - case .faint: return 7 - case .changePokemon: return 8 - case .quickSwapPokemon: return 9 - case .UNRECOGNIZED(let i): return i - } - } + public var hyperlocalExperiment: [HyperlocalExperimentClientProto] = [] - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) - -extension CombatActionProto.ActionType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatActionProto.ActionType] = [ - .unset, - .attack, - .specialAttack, - .specialAttack2, - .minigameOffensiveFinish, - .minigameDefensiveStart, - .minigameDefensiveFinish, - .faint, - .changePokemon, - .quickSwapPokemon, - ] -} - -#endif // swift(>=4.2) - -public struct CombatBaseStatsProto { +public struct ClientMapObjectsInteractionRangeSettingsProto { // 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. - public var totalBattles: Int32 = 0 + public var interactionRangeMeters: Double = 0 - public var wins: Int32 = 0 + public var farInteractionRangeMeters: Double = 0 - public var rating: Float = 0 + public var remoteInteractionRangeMeters: Double = 0 + + public var whitePulseRadiusMeters: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatChallengeGlobalSettingsProto { +public struct ClientPerformanceSettingsProto { // 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. - public var distanceCheckOverrideFriendshipLevel: FriendshipLevelMilestone = .friendshipLevelUnset + public var enableLocalDiskCaching: Bool = false - public var getCombatChallengePollingIntervalSec: Int32 = 0 + public var maxNumberLocalBattleParties: Int32 = 0 - public var enableDownstreamDispatch: Bool = false + public var multiPokemonBattlePartySelect: Bool = false - public var enableChallengeNotifications: Bool = false + public var useWholeMatchForFilterKey: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatChallengeProto { +public struct ClientPlayerProto { // 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. - public var challengeID: String = String() + public var creationTimeMs: Int64 { + get {return _storage._creationTimeMs} + set {_uniqueStorage()._creationTimeMs = newValue} + } - public var type: CombatType = .unset + public var name: String { + get {return _storage._name} + set {_uniqueStorage()._name = newValue} + } - public var combatLeagueTemplateID: String = String() + public var team: Team { + get {return _storage._team} + set {_uniqueStorage()._team = newValue} + } - public var challenger: CombatChallengeProto.ChallengePlayer { - get {return _challenger ?? CombatChallengeProto.ChallengePlayer()} - set {_challenger = newValue} + public var tutorialComplete: [TutorialCompletion] { + get {return _storage._tutorialComplete} + set {_uniqueStorage()._tutorialComplete = newValue} } - /// Returns true if `challenger` has been explicitly set. - public var hasChallenger: Bool {return self._challenger != nil} - /// Clears the value of `challenger`. Subsequent reads from it will return its default value. - public mutating func clearChallenger() {self._challenger = nil} - public var opponent: CombatChallengeProto.ChallengePlayer { - get {return _opponent ?? CombatChallengeProto.ChallengePlayer()} - set {_opponent = newValue} + public var playerAvatarProto: PlayerAvatarProto { + get {return _storage._playerAvatarProto ?? PlayerAvatarProto()} + set {_uniqueStorage()._playerAvatarProto = newValue} } - /// Returns true if `opponent` has been explicitly set. - public var hasOpponent: Bool {return self._opponent != nil} - /// Clears the value of `opponent`. Subsequent reads from it will return its default value. - public mutating func clearOpponent() {self._opponent = nil} + /// Returns true if `playerAvatarProto` has been explicitly set. + public var hasPlayerAvatarProto: Bool {return _storage._playerAvatarProto != nil} + /// Clears the value of `playerAvatarProto`. Subsequent reads from it will return its default value. + public mutating func clearPlayerAvatarProto() {_uniqueStorage()._playerAvatarProto = nil} - public var state: CombatChallengeProto.CombatChallengeState = .unset + public var maxPokemonStorage: Int32 { + get {return _storage._maxPokemonStorage} + set {_uniqueStorage()._maxPokemonStorage = newValue} + } - public var createdTimestampMs: Int64 = 0 + public var maxItemStorage: Int32 { + get {return _storage._maxItemStorage} + set {_uniqueStorage()._maxItemStorage = newValue} + } - public var combatID: String = String() + public var dailyBonusProto: DailyBonusProto { + get {return _storage._dailyBonusProto ?? DailyBonusProto()} + set {_uniqueStorage()._dailyBonusProto = newValue} + } + /// Returns true if `dailyBonusProto` has been explicitly set. + public var hasDailyBonusProto: Bool {return _storage._dailyBonusProto != nil} + /// Clears the value of `dailyBonusProto`. Subsequent reads from it will return its default value. + public mutating func clearDailyBonusProto() {_uniqueStorage()._dailyBonusProto = nil} - public var obString: String = String() + public var contactSettingsProto: ContactSettingsProto { + get {return _storage._contactSettingsProto ?? ContactSettingsProto()} + set {_uniqueStorage()._contactSettingsProto = newValue} + } + /// Returns true if `contactSettingsProto` has been explicitly set. + public var hasContactSettingsProto: Bool {return _storage._contactSettingsProto != nil} + /// Clears the value of `contactSettingsProto`. Subsequent reads from it will return its default value. + public mutating func clearContactSettingsProto() {_uniqueStorage()._contactSettingsProto = nil} - public var expirationTimestampMs: Int64 = 0 + public var currencyBalance: [CurrencyQuantityProto] { + get {return _storage._currencyBalance} + set {_uniqueStorage()._currencyBalance = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var remainingCodenameClaims: Int32 { + get {return _storage._remainingCodenameClaims} + set {_uniqueStorage()._remainingCodenameClaims = newValue} + } - public enum CombatChallengeState: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case created // = 1 - case opened // = 2 - case cancelled // = 3 - case accepted // = 4 - case declined // = 5 - case ready // = 6 - case timeout // = 7 - case UNRECOGNIZED(Int) + public var buddyPokemonProto: BuddyPokemonProto { + get {return _storage._buddyPokemonProto ?? BuddyPokemonProto()} + set {_uniqueStorage()._buddyPokemonProto = newValue} + } + /// Returns true if `buddyPokemonProto` has been explicitly set. + public var hasBuddyPokemonProto: Bool {return _storage._buddyPokemonProto != nil} + /// Clears the value of `buddyPokemonProto`. Subsequent reads from it will return its default value. + public mutating func clearBuddyPokemonProto() {_uniqueStorage()._buddyPokemonProto = nil} - public init() { - self = .unset - } + public var battleLockoutEndMs: Int64 { + get {return _storage._battleLockoutEndMs} + set {_uniqueStorage()._battleLockoutEndMs = newValue} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .created - case 2: self = .opened - case 3: self = .cancelled - case 4: self = .accepted - case 5: self = .declined - case 6: self = .ready - case 7: self = .timeout - default: self = .UNRECOGNIZED(rawValue) - } - } + public var secondaryPlayerAvatarProto: PlayerAvatarProto { + get {return _storage._secondaryPlayerAvatarProto ?? PlayerAvatarProto()} + set {_uniqueStorage()._secondaryPlayerAvatarProto = newValue} + } + /// Returns true if `secondaryPlayerAvatarProto` has been explicitly set. + public var hasSecondaryPlayerAvatarProto: Bool {return _storage._secondaryPlayerAvatarProto != nil} + /// Clears the value of `secondaryPlayerAvatarProto`. Subsequent reads from it will return its default value. + public mutating func clearSecondaryPlayerAvatarProto() {_uniqueStorage()._secondaryPlayerAvatarProto = nil} - public var rawValue: Int { - switch self { - case .unset: return 0 - case .created: return 1 - case .opened: return 2 - case .cancelled: return 3 - case .accepted: return 4 - case .declined: return 5 - case .ready: return 6 - case .timeout: return 7 - case .UNRECOGNIZED(let i): return i - } - } + public var nameIsBlacklisted: Bool { + get {return _storage._nameIsBlacklisted} + set {_uniqueStorage()._nameIsBlacklisted = newValue} + } + public var socialPlayerSettings: SocialPlayerSettingsProto { + get {return _storage._socialPlayerSettings ?? SocialPlayerSettingsProto()} + set {_uniqueStorage()._socialPlayerSettings = newValue} } + /// Returns true if `socialPlayerSettings` has been explicitly set. + public var hasSocialPlayerSettings: Bool {return _storage._socialPlayerSettings != nil} + /// Clears the value of `socialPlayerSettings`. Subsequent reads from it will return its default value. + public mutating func clearSocialPlayerSettings() {_uniqueStorage()._socialPlayerSettings = nil} - public struct ChallengePlayer { - // 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. + public var combatPlayerPreferences: CombatPlayerPreferencesProto { + get {return _storage._combatPlayerPreferences ?? CombatPlayerPreferencesProto()} + set {_uniqueStorage()._combatPlayerPreferences = newValue} + } + /// Returns true if `combatPlayerPreferences` has been explicitly set. + public var hasCombatPlayerPreferences: Bool {return _storage._combatPlayerPreferences != nil} + /// Clears the value of `combatPlayerPreferences`. Subsequent reads from it will return its default value. + public mutating func clearCombatPlayerPreferences() {_uniqueStorage()._combatPlayerPreferences = nil} - public var playerID: String { - get {return _storage._playerID} - set {_uniqueStorage()._playerID = newValue} - } + public var playerSupportID: String { + get {return _storage._playerSupportID} + set {_uniqueStorage()._playerSupportID = newValue} + } - public var playerAvatar: PlayerAvatarProto { - get {return _storage._playerAvatar ?? PlayerAvatarProto()} - set {_uniqueStorage()._playerAvatar = newValue} - } - /// Returns true if `playerAvatar` has been explicitly set. - public var hasPlayerAvatar: Bool {return _storage._playerAvatar != nil} - /// Clears the value of `playerAvatar`. Subsequent reads from it will return its default value. - public mutating func clearPlayerAvatar() {_uniqueStorage()._playerAvatar = nil} + public var teamChangeInfo: TeamChangeInfoProto { + get {return _storage._teamChangeInfo ?? TeamChangeInfoProto()} + set {_uniqueStorage()._teamChangeInfo = newValue} + } + /// Returns true if `teamChangeInfo` has been explicitly set. + public var hasTeamChangeInfo: Bool {return _storage._teamChangeInfo != nil} + /// Clears the value of `teamChangeInfo`. Subsequent reads from it will return its default value. + public mutating func clearTeamChangeInfo() {_uniqueStorage()._teamChangeInfo = nil} - public var combatPlayerS2CellID: Int64 { - get {return _storage._combatPlayerS2CellID} - set {_uniqueStorage()._combatPlayerS2CellID = newValue} - } + public var consumedEeveeEasterEggs: [HoloPokemonId] { + get {return _storage._consumedEeveeEasterEggs} + set {_uniqueStorage()._consumedEeveeEasterEggs = newValue} + } - public var attackingPokemonID: [UInt64] { - get {return _storage._attackingPokemonID} - set {_uniqueStorage()._attackingPokemonID = newValue} - } + public var combatLog: CombatLogProto { + get {return _storage._combatLog ?? CombatLogProto()} + set {_uniqueStorage()._combatLog = newValue} + } + /// Returns true if `combatLog` has been explicitly set. + public var hasCombatLog: Bool {return _storage._combatLog != nil} + /// Clears the value of `combatLog`. Subsequent reads from it will return its default value. + public mutating func clearCombatLog() {_uniqueStorage()._combatLog = nil} - public var publicProfile: PlayerPublicProfileProto { - get {return _storage._publicProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._publicProfile = newValue} - } - /// Returns true if `publicProfile` has been explicitly set. - public var hasPublicProfile: Bool {return _storage._publicProfile != nil} - /// Clears the value of `publicProfile`. Subsequent reads from it will return its default value. - public mutating func clearPublicProfile() {_uniqueStorage()._publicProfile = nil} + public var timeZoneOffsetMs: Int64 { + get {return _storage._timeZoneOffsetMs} + set {_uniqueStorage()._timeZoneOffsetMs = newValue} + } - public var obString: String { - get {return _storage._obString} - set {_uniqueStorage()._obString = newValue} - } + public var buddyObservedData: BuddyObservedData { + get {return _storage._buddyObservedData ?? BuddyObservedData()} + set {_uniqueStorage()._buddyObservedData = newValue} + } + /// Returns true if `buddyObservedData` has been explicitly set. + public var hasBuddyObservedData: Bool {return _storage._buddyObservedData != nil} + /// Clears the value of `buddyObservedData`. Subsequent reads from it will return its default value. + public mutating func clearBuddyObservedData() {_uniqueStorage()._buddyObservedData = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var helpshiftUserID: String { + get {return _storage._helpshiftUserID} + set {_uniqueStorage()._helpshiftUserID = newValue} + } - public init() {} + public var playerPreferences: PlayerPreferencesProto { + get {return _storage._playerPreferences ?? PlayerPreferencesProto()} + set {_uniqueStorage()._playerPreferences = newValue} + } + /// Returns true if `playerPreferences` has been explicitly set. + public var hasPlayerPreferences: Bool {return _storage._playerPreferences != nil} + /// Clears the value of `playerPreferences`. Subsequent reads from it will return its default value. + public mutating func clearPlayerPreferences() {_uniqueStorage()._playerPreferences = nil} - fileprivate var _storage = _StorageClass.defaultInstance + public var eventTicketActiveTime: [EventTicketActiveTimeProto] { + get {return _storage._eventTicketActiveTime} + set {_uniqueStorage()._eventTicketActiveTime = newValue} + } + + public var lapsedPlayerReturnedTimeMs: Int64 { + get {return _storage._lapsedPlayerReturnedTimeMs} + set {_uniqueStorage()._lapsedPlayerReturnedTimeMs = newValue} + } + + public var maxPostcardStorage: Int32 { + get {return _storage._maxPostcardStorage} + set {_uniqueStorage()._maxPostcardStorage = newValue} + } + + public var pokecoinCaps: [PlayerPokecoinCapProto] { + get {return _storage._pokecoinCaps} + set {_uniqueStorage()._pokecoinCaps = newValue} + } + + public var obfuscatedPlayerID: String { + get {return _storage._obfuscatedPlayerID} + set {_uniqueStorage()._obfuscatedPlayerID = newValue} + } + + public var ptcOauthLinkedBefore: Bool { + get {return _storage._ptcOauthLinkedBefore} + set {_uniqueStorage()._ptcOauthLinkedBefore = newValue} } + public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} - fileprivate var _challenger: CombatChallengeProto.ChallengePlayer? = nil - fileprivate var _opponent: CombatChallengeProto.ChallengePlayer? = nil + fileprivate var _storage = _StorageClass.defaultInstance } -#if swift(>=4.2) +public struct ClientPoiDecorationGroupProto { + // 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. -extension CombatChallengeProto.CombatChallengeState: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatChallengeProto.CombatChallengeState] = [ - .unset, - .created, - .opened, - .cancelled, - .accepted, - .declined, - .ready, - .timeout, - ] + public var decorationID: String = String() + + public var addressableID: String = String() + + public var decoratedPois: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -#endif // swift(>=4.2) +public struct ClientPokestopNpcDialogueStepProto { + // 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. -public struct CombatCompetitiveSeasonSettingsProto { + public var dialogueLine: [ClientDialogueLineProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ClientPokestopSpinStepProto { // 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. - public var seasonEndTimeTimestamp: [UInt64] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var ratingAdjustmentPercentage: Float = 0 + public init() {} +} - public var rankingAdjustmentPercentage: Float = 0 +public struct ClientPredictionInconsistencyData { + // 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. - public var obInt32: Int32 = 0 + public var hpChange: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatDefensiveInputChallengeSettings { +public struct ClientQuestProto { // 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. - public var fullRotationsForMaxScore: Float = 0 + public var quest: QuestProto { + get {return _quest ?? QuestProto()} + set {_quest = newValue} + } + /// Returns true if `quest` has been explicitly set. + public var hasQuest: Bool {return self._quest != nil} + /// Clears the value of `quest`. Subsequent reads from it will return its default value. + public mutating func clearQuest() {self._quest = nil} + + public var questDisplay: QuestDisplayProto { + get {return _questDisplay ?? QuestDisplayProto()} + set {_questDisplay = newValue} + } + /// Returns true if `questDisplay` has been explicitly set. + public var hasQuestDisplay: Bool {return self._questDisplay != nil} + /// Clears the value of `questDisplay`. Subsequent reads from it will return its default value. + public mutating func clearQuestDisplay() {self._questDisplay = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _quest: QuestProto? = nil + fileprivate var _questDisplay: QuestDisplayProto? = nil } -public struct CombatEndDataProto { +public struct ClientRouteMapCellProto { // 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. - public var endType: CombatEndDataProto.EndType = .noEnd + public var s2CellID: UInt64 = 0 + + public var routeListHash: String = String() + + public var route: [SharedRouteProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum EndType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noEnd // = 0 - case combatStateExit // = 1 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .noEnd - } +public struct ClientSettingsTelemetry { + // 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. - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noEnd - case 1: self = .combatStateExit - default: self = .UNRECOGNIZED(rawValue) - } - } + public var musicVolume: Float = 0 - public var rawValue: Int { - switch self { - case .noEnd: return 0 - case .combatStateExit: return 1 - case .UNRECOGNIZED(let i): return i - } - } + public var soundVolume: Float = 0 - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) +public struct ClientSleepRecord { + // 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. -extension CombatEndDataProto.EndType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatEndDataProto.EndType] = [ - .noEnd, - .combatStateExit, - ] + public var startTimeSec: UInt32 = 0 + + public var durationSec: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -#endif // swift(>=4.2) +public struct ClientSpawnPointProto { + // 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. -public struct CombatFriendRequestOutProto { + public var latitude: Double = 0 + + public var longitude: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ClientTelemetryBatchProto { // 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. - public var result: CombatFriendRequestOutProto.Result = .unset + public var telemetryScopeID: ClientTelemetryBatchProto.TelemetryScopeId = .unset + + public var events: [ClientTelemetryRecordProto] = [] + + public var apiVersion: String = String() + + public var messageVersion: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum TelemetryScopeId: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorCombatNotFound // = 2 - case errorCombatIncomplete // = 3 - case errorPlayerNotInCombat // = 4 - case errorSocialRpc // = 5 + case core // = 1 + case game // = 2 + case titan // = 3 + case common // = 4 + case preAgeGate // = 5 + case preLogin // = 6 + case ardk // = 7 + case marketing // = 8 case UNRECOGNIZED(Int) public init() { @@ -46596,11 +48569,14 @@ public struct CombatFriendRequestOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorCombatNotFound - case 3: self = .errorCombatIncomplete - case 4: self = .errorPlayerNotInCombat - case 5: self = .errorSocialRpc + case 1: self = .core + case 2: self = .game + case 3: self = .titan + case 4: self = .common + case 5: self = .preAgeGate + case 6: self = .preLogin + case 7: self = .ardk + case 8: self = .marketing default: self = .UNRECOGNIZED(rawValue) } } @@ -46608,11 +48584,14 @@ public struct CombatFriendRequestOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorCombatNotFound: return 2 - case .errorCombatIncomplete: return 3 - case .errorPlayerNotInCombat: return 4 - case .errorSocialRpc: return 5 + case .core: return 1 + case .game: return 2 + case .titan: return 3 + case .common: return 4 + case .preAgeGate: return 5 + case .preLogin: return 6 + case .ardk: return 7 + case .marketing: return 8 case .UNRECOGNIZED(let i): return i } } @@ -46624,200 +48603,205 @@ public struct CombatFriendRequestOutProto { #if swift(>=4.2) -extension CombatFriendRequestOutProto.Result: CaseIterable { +extension ClientTelemetryBatchProto.TelemetryScopeId: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatFriendRequestOutProto.Result] = [ + public static var allCases: [ClientTelemetryBatchProto.TelemetryScopeId] = [ .unset, - .success, - .errorCombatNotFound, - .errorCombatIncomplete, - .errorPlayerNotInCombat, - .errorSocialRpc, + .core, + .game, + .titan, + .common, + .preAgeGate, + .preLogin, + .ardk, + .marketing, ] } #endif // swift(>=4.2) -public struct CombatFriendRequestProto { +public struct ClientTelemetryClientSettingsProto { // 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. - public var combatID: String = String() + public var isUploadEnabled: Bool = false + + public var maxUploadSizeInBytes: Int64 = 0 + + public var updateIntervalInSec: Int64 = 0 + + public var settingsUpdateIntervalInSec: Int64 = 0 + + public var maxEnvelopeQueueSize: Int64 = 0 + + public var samplingProbability: Double = 0 + + public var usePlayerBasedSampling: Bool = false + + public var playerHash: Double = 0 + + public var playerExternalOmniID: String = String() + + public var disableOmniSending: Bool = false + + public var specialSamplingProbabilityMap: Dictionary = [:] + + public var playerExternalUaID: String = String() + + public var playerExternalInAppSurveyID: String = String() + + public var playerExternalArdkID: String = String() + + public var enableExperimentalFeatures: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatGlobalSettingsProto { +public struct ClientTelemetryCommonFilterProto { // 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. - public var enableCombat: Bool { - get {return _storage._enableCombat} - set {_uniqueStorage()._enableCombat = newValue} - } + public var applicationIdentifier: String = String() - public var maximumDailyRewardedBattles: Int32 { - get {return _storage._maximumDailyRewardedBattles} - set {_uniqueStorage()._maximumDailyRewardedBattles = newValue} - } + public var operatingSystemName: String = String() - public var enableCombatStatStages: Bool { - get {return _storage._enableCombatStatStages} - set {_uniqueStorage()._enableCombatStatStages = newValue} - } + public var deviceModel: String = String() - public var minimumPlayerLevel: UInt32 { - get {return _storage._minimumPlayerLevel} - set {_uniqueStorage()._minimumPlayerLevel = newValue} - } + public var localeCountryCode: String = String() - public var maximumDailyNpcRewardedBattles: Int32 { - get {return _storage._maximumDailyNpcRewardedBattles} - set {_uniqueStorage()._maximumDailyNpcRewardedBattles = newValue} - } + public var localeLanguageCode: String = String() - public var activeCombatUpdateIntervalMs: Int32 { - get {return _storage._activeCombatUpdateIntervalMs} - set {_uniqueStorage()._activeCombatUpdateIntervalMs = newValue} - } + public var samplingProbability: Double = 0 - public var waitingForPlayerUpdateIntervalMs: Int32 { - get {return _storage._waitingForPlayerUpdateIntervalMs} - set {_uniqueStorage()._waitingForPlayerUpdateIntervalMs = newValue} - } + public var qualityLevel: String = String() - public var readyForBattleUpdateIntervalMs: Int32 { - get {return _storage._readyForBattleUpdateIntervalMs} - set {_uniqueStorage()._readyForBattleUpdateIntervalMs = newValue} - } + public var networkConnectivityType: String = String() - public var preMoveSubmitWindowMs: Int32 { - get {return _storage._preMoveSubmitWindowMs} - set {_uniqueStorage()._preMoveSubmitWindowMs = newValue} - } + public var gameContext: String = String() - public var postMoveSubmitWindowMs: Int32 { - get {return _storage._postMoveSubmitWindowMs} - set {_uniqueStorage()._postMoveSubmitWindowMs = newValue} - } + public var languageCode: String = String() - public var enableSockets: Bool { - get {return _storage._enableSockets} - set {_uniqueStorage()._enableSockets = newValue} - } + public var timezone: String = String() - public var enableSpinMinigame: Bool { - get {return _storage._enableSpinMinigame} - set {_uniqueStorage()._enableSpinMinigame = newValue} - } + public var ipCountryCode: String = String() - public var enableQuickSwapV2: Bool { - get {return _storage._enableQuickSwapV2} - set {_uniqueStorage()._enableQuickSwapV2 = newValue} - } + public var graphicsDeviceVendor: String = String() - public var deprecatedVsSeekerSetting: Bool { - get {return _storage._deprecatedVsSeekerSetting} - set {_uniqueStorage()._deprecatedVsSeekerSetting = newValue} - } + public var graphicsDeviceName: String = String() - public var vsSeekerWalkingDistPollDurationMs: Int32 { - get {return _storage._vsSeekerWalkingDistPollDurationMs} - set {_uniqueStorage()._vsSeekerWalkingDistPollDurationMs = newValue} - } + public var graphicsDeviceType: String = String() - public var vsSeekerPlayerMinLevel: Int32 { - get {return _storage._vsSeekerPlayerMinLevel} - set {_uniqueStorage()._vsSeekerPlayerMinLevel = newValue} - } + public var graphicsShaderLevel: String = String() - public var matchmakingPollDurationMs: Int32 { - get {return _storage._matchmakingPollDurationMs} - set {_uniqueStorage()._matchmakingPollDurationMs = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var enableParticleMinigame: Bool { - get {return _storage._enableParticleMinigame} - set {_uniqueStorage()._enableParticleMinigame = newValue} - } + public init() {} +} - public var enableVsSeekerUpgradeIap: Bool { - get {return _storage._enableVsSeekerUpgradeIap} - set {_uniqueStorage()._enableVsSeekerUpgradeIap = newValue} - } +public struct ClientTelemetryRecordProto { + // 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. - public var enableFlyoutAnimations: Bool { - get {return _storage._enableFlyoutAnimations} - set {_uniqueStorage()._enableFlyoutAnimations = newValue} + public var recordID: String { + get {return _storage._recordID} + set {_uniqueStorage()._recordID = newValue} } - public var enableBattleHub: Bool { - get {return _storage._enableBattleHub} - set {_uniqueStorage()._enableBattleHub = newValue} + public var encodedMessage: HoloholoClientTelemetryOmniProto { + get {return _storage._encodedMessage ?? HoloholoClientTelemetryOmniProto()} + set {_uniqueStorage()._encodedMessage = newValue} } + /// Returns true if `encodedMessage` has been explicitly set. + public var hasEncodedMessage: Bool {return _storage._encodedMessage != nil} + /// Clears the value of `encodedMessage`. Subsequent reads from it will return its default value. + public mutating func clearEncodedMessage() {_uniqueStorage()._encodedMessage = nil} - public var matchmakingTimeoutDurationMs: Int32 { - get {return _storage._matchmakingTimeoutDurationMs} - set {_uniqueStorage()._matchmakingTimeoutDurationMs = newValue} + public var clientTimestampMs: Int64 { + get {return _storage._clientTimestampMs} + set {_uniqueStorage()._clientTimestampMs = newValue} } - public var plannedDowntimeTimestampMs: Int64 { - get {return _storage._plannedDowntimeTimestampMs} - set {_uniqueStorage()._plannedDowntimeTimestampMs = newValue} + public var metricID: Int64 { + get {return _storage._metricID} + set {_uniqueStorage()._metricID = newValue} } - public var latencyCompensationThresholdMs: Int32 { - get {return _storage._latencyCompensationThresholdMs} - set {_uniqueStorage()._latencyCompensationThresholdMs = newValue} + public var eventName: String { + get {return _storage._eventName} + set {_uniqueStorage()._eventName = newValue} } - public var combatDataTypes: [CombatGlobalSettingsProto.CombatDataTypes] { - get {return _storage._combatDataTypes} - set {_uniqueStorage()._combatDataTypes = newValue} + public var commonFilters: ClientTelemetryCommonFilterProto { + get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} + set {_uniqueStorage()._commonFilters = newValue} } + /// Returns true if `commonFilters` has been explicitly set. + public var hasCommonFilters: Bool {return _storage._commonFilters != nil} + /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. + public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} - public var combatLeagueVsSeekerIds: [String] { - get {return _storage._combatLeagueVsSeekerIds} - set {_uniqueStorage()._combatLeagueVsSeekerIds = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct ClientTelemetryRecordResult { + // 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. + + public var recordID: String = String() + + public var status: ClientTelemetryRecordResult.Status = .unset + + public var telemetryTypeName: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum CombatDataTypes: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case none // = 0 - case trainerNpcCombat // = 1 - case invasionGruntCombat // = 2 - case invasionBossCombat // = 3 - case friendCombat // = 4 + case unset // = 0 + case success // = 20 + case errorFamilyUnset // = 21 + case errorFamilyInvalid // = 22 + case errorEncodingInvalid // = 23 + case errorUnsetMetricID // = 24 + case errorEventTelemetryUndefined // = 25 case UNRECOGNIZED(Int) public init() { - self = .none + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .none - case 1: self = .trainerNpcCombat - case 2: self = .invasionGruntCombat - case 3: self = .invasionBossCombat - case 4: self = .friendCombat + case 0: self = .unset + case 20: self = .success + case 21: self = .errorFamilyUnset + case 22: self = .errorFamilyInvalid + case 23: self = .errorEncodingInvalid + case 24: self = .errorUnsetMetricID + case 25: self = .errorEventTelemetryUndefined default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .none: return 0 - case .trainerNpcCombat: return 1 - case .invasionGruntCombat: return 2 - case .invasionBossCombat: return 3 - case .friendCombat: return 4 + case .unset: return 0 + case .success: return 20 + case .errorFamilyUnset: return 21 + case .errorFamilyInvalid: return 22 + case .errorEncodingInvalid: return 23 + case .errorUnsetMetricID: return 24 + case .errorEventTelemetryUndefined: return 25 case .UNRECOGNIZED(let i): return i } } @@ -46825,552 +48809,402 @@ public struct CombatGlobalSettingsProto { } public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension CombatGlobalSettingsProto.CombatDataTypes: CaseIterable { +extension ClientTelemetryRecordResult.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatGlobalSettingsProto.CombatDataTypes] = [ - .none, - .trainerNpcCombat, - .invasionGruntCombat, - .invasionBossCombat, - .friendCombat, + public static var allCases: [ClientTelemetryRecordResult.Status] = [ + .unset, + .success, + .errorFamilyUnset, + .errorFamilyInvalid, + .errorEncodingInvalid, + .errorUnsetMetricID, + .errorEventTelemetryUndefined, ] } #endif // swift(>=4.2) -public struct CombatHubEntranceTelemetry { +public struct ClientTelemetryResponseProto { // 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. - public var combatHubTelemetryID: CombatHubEntranceTelemetryIds = .undefinedEvent + public var status: ClientTelemetryResponseProto.Status = .unset + + public var rowsWritten: Int32 = 0 + + public var nonretryableFailures: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case partialFailure // = 3 + case invalidRequest // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + case 3: self = .partialFailure + case 4: self = .invalidRequest + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .partialFailure: return 3 + case .invalidRequest: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} } -public struct CombatIdMismatchDataProto { +#if swift(>=4.2) + +extension ClientTelemetryResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ClientTelemetryResponseProto.Status] = [ + .unset, + .success, + .failure, + .partialFailure, + .invalidRequest, + ] +} + +#endif // swift(>=4.2) + +public struct ClientTelemetrySettingsRequestProto { // 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. - public var obString: String = String() - - public var type: ObCombatMismatchData.MismatchState.TypeEnum = .noType - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatLeagueProto { +public struct ClientToggleSettingsTelemetry { // 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. - public var title: String = String() - - public var enabled: Bool = false - - public var unlockCondition: [CombatLeagueProto.UnlockConditionProto] = [] - - public var pokemonCondition: [CombatLeagueProto.PokemonConditionProto] = [] - - public var iconURL: String = String() - - public var pokemonCount: Int32 = 0 - - public var bannedPokemon: [HoloPokemonId] = [] - - public var badgeType: HoloBadgeType = .badgeUnset - - public var minigameDefenseChanceLimit: Int32 = 0 - - public var battlePartyCombatLeagueTemplateID: String = String() - - public var leagueType: CombatLeagueProto.LeagueType = .none - - public var borderColorHex: String = String() - - public var allowTempEvos: Bool = false + public var toggleID: ClientToggleSettingsTelemetry.ToggleSettingId = .unset - public var combatRefactorToggle: [CombatRefactorToggleProto] = [] + public var toggleEvent: ClientToggleSettingsTelemetry.ToggleEvent = .undefined public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ConditionType: SwiftProtobuf.Enum { + public enum ToggleEvent: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case withPokemonCpLimit // = 1 - case withPlayerLevel // = 2 - case withPokemonType // = 3 - case withPokemonCategory // = 4 - case withUniquePokemon // = 5 - case pokemonWhitelist // = 6 - case pokemonBanlist // = 7 - case pokemonCaughtTimestamp // = 8 - case pokemonLevelRange // = 9 + case undefined // = 0 + case off // = 1 + case on // = 2 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .undefined } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .withPokemonCpLimit - case 2: self = .withPlayerLevel - case 3: self = .withPokemonType - case 4: self = .withPokemonCategory - case 5: self = .withUniquePokemon - case 6: self = .pokemonWhitelist - case 7: self = .pokemonBanlist - case 8: self = .pokemonCaughtTimestamp - case 9: self = .pokemonLevelRange + case 0: self = .undefined + case 1: self = .off + case 2: self = .on default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .withPokemonCpLimit: return 1 - case .withPlayerLevel: return 2 - case .withPokemonType: return 3 - case .withPokemonCategory: return 4 - case .withUniquePokemon: return 5 - case .pokemonWhitelist: return 6 - case .pokemonBanlist: return 7 - case .pokemonCaughtTimestamp: return 8 - case .pokemonLevelRange: return 9 + case .undefined: return 0 + case .off: return 1 + case .on: return 2 case .UNRECOGNIZED(let i): return i } } } - public enum LeagueType: SwiftProtobuf.Enum { + public enum ToggleSettingId: SwiftProtobuf.Enum { public typealias RawValue = Int - case none // = 0 - case standard // = 1 - case premier // = 2 + case unset // = 0 + case rememberLastPokeball // = 1 + case advancedHaptics // = 2 case UNRECOGNIZED(Int) public init() { - self = .none + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .none - case 1: self = .standard - case 2: self = .premier + case 0: self = .unset + case 1: self = .rememberLastPokeball + case 2: self = .advancedHaptics default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .none: return 0 - case .standard: return 1 - case .premier: return 2 + case .unset: return 0 + case .rememberLastPokeball: return 1 + case .advancedHaptics: return 2 case .UNRECOGNIZED(let i): return i } } } - public struct ObCombatLeagueProto { - // 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. - - public var obData: [CombatLeagueProto.ObCombatLeagueProto.ObData] = [] + public init() {} +} - public var obBool1: Bool = false +#if swift(>=4.2) - public var obBool2: Bool = false +extension ClientToggleSettingsTelemetry.ToggleEvent: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ClientToggleSettingsTelemetry.ToggleEvent] = [ + .undefined, + .off, + .on, + ] +} - public var obBool3: Bool = false +extension ClientToggleSettingsTelemetry.ToggleSettingId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ClientToggleSettingsTelemetry.ToggleSettingId] = [ + .unset, + .rememberLastPokeball, + .advancedHaptics, + ] +} - public var pokemonClass: [HoloPokemonClass] = [] +#endif // swift(>=4.2) - public var pokemonAlignment: [PokemonDisplayProto.Alignment] = [] +public struct ClientUpgradeRequestProto { + // 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. - public var pokemonSize: [HoloPokemonSize] = [] + public var version: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var operatingSystem: ClientOperatingSystem = .osUnknown - public struct ObData { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obInt321: Int32 = 0 + public init() {} +} - public var obInt322: Int32 = 0 +public struct ClientUpgradeResponseProto { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var needsUpgrade: Bool = false - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} - } + public init() {} +} - public struct PokemonBanlist { - // 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. +public struct ClientVersionProto { + // 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. - public var name: String = String() + public var minVersion: String = String() - public var pokemon: [CombatLeagueProto.PokemonWithForm] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obProto: CombatLeagueProto.ObCombatLeagueProto { - get {return _obProto ?? CombatLeagueProto.ObCombatLeagueProto()} - set {_obProto = newValue} - } - /// Returns true if `obProto` has been explicitly set. - public var hasObProto: Bool {return self._obProto != nil} - /// Clears the value of `obProto`. Subsequent reads from it will return its default value. - public mutating func clearObProto() {self._obProto = nil} + public init() {} +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +public struct ClientWeatherProto { + // 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. - public init() {} + public var s2CellID: Int64 = 0 - fileprivate var _obProto: CombatLeagueProto.ObCombatLeagueProto? = nil + public var displayWeather: DisplayWeatherProto { + get {return _displayWeather ?? DisplayWeatherProto()} + set {_displayWeather = newValue} } + /// Returns true if `displayWeather` has been explicitly set. + public var hasDisplayWeather: Bool {return self._displayWeather != nil} + /// Clears the value of `displayWeather`. Subsequent reads from it will return its default value. + public mutating func clearDisplayWeather() {self._displayWeather = nil} - public struct PokemonCaughtTimestamp { - // 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. - - public var afterTimestamp: Int64 = 0 - - public var beforeTimestamp: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} + public var gameplayWeather: GameplayWeatherProto { + get {return _gameplayWeather ?? GameplayWeatherProto()} + set {_gameplayWeather = newValue} } + /// Returns true if `gameplayWeather` has been explicitly set. + public var hasGameplayWeather: Bool {return self._gameplayWeather != nil} + /// Clears the value of `gameplayWeather`. Subsequent reads from it will return its default value. + public mutating func clearGameplayWeather() {self._gameplayWeather = nil} - public struct PokemonConditionProto { - // 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. - - public var condition: CombatLeagueProto.PokemonConditionProto.OneOf_Condition? = nil - - public var withPokemonCpLimit: WithPokemonCpLimitProto { - get { - if case .withPokemonCpLimit(let v)? = condition {return v} - return WithPokemonCpLimitProto() - } - set {condition = .withPokemonCpLimit(newValue)} - } - - public var withPokemonType: WithPokemonTypeProto { - get { - if case .withPokemonType(let v)? = condition {return v} - return WithPokemonTypeProto() - } - set {condition = .withPokemonType(newValue)} - } - - public var withPokemonCategory: WithPokemonCategoryProto { - get { - if case .withPokemonCategory(let v)? = condition {return v} - return WithPokemonCategoryProto() - } - set {condition = .withPokemonCategory(newValue)} - } - - public var pokemonWhitelist: CombatLeagueProto.PokemonWhitelist { - get { - if case .pokemonWhitelist(let v)? = condition {return v} - return CombatLeagueProto.PokemonWhitelist() - } - set {condition = .pokemonWhitelist(newValue)} - } - - public var pokemonBanlist: CombatLeagueProto.PokemonBanlist { - get { - if case .pokemonBanlist(let v)? = condition {return v} - return CombatLeagueProto.PokemonBanlist() - } - set {condition = .pokemonBanlist(newValue)} - } - - public var pokemonCaughtTimestamp: CombatLeagueProto.PokemonCaughtTimestamp { - get { - if case .pokemonCaughtTimestamp(let v)? = condition {return v} - return CombatLeagueProto.PokemonCaughtTimestamp() - } - set {condition = .pokemonCaughtTimestamp(newValue)} - } - - public var pokemonLevelRange: CombatLeagueProto.PokemonLevelRange { - get { - if case .pokemonLevelRange(let v)? = condition {return v} - return CombatLeagueProto.PokemonLevelRange() - } - set {condition = .pokemonLevelRange(newValue)} - } - - public var type: CombatLeagueProto.ConditionType = .unset + public var alerts: [WeatherAlertProto] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Condition: Equatable { - case withPokemonCpLimit(WithPokemonCpLimitProto) - case withPokemonType(WithPokemonTypeProto) - case withPokemonCategory(WithPokemonCategoryProto) - case pokemonWhitelist(CombatLeagueProto.PokemonWhitelist) - case pokemonBanlist(CombatLeagueProto.PokemonBanlist) - case pokemonCaughtTimestamp(CombatLeagueProto.PokemonCaughtTimestamp) - case pokemonLevelRange(CombatLeagueProto.PokemonLevelRange) + public init() {} - #if !swift(>=4.1) - public static func ==(lhs: CombatLeagueProto.PokemonConditionProto.OneOf_Condition, rhs: CombatLeagueProto.PokemonConditionProto.OneOf_Condition) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.withPokemonCpLimit, .withPokemonCpLimit): return { - guard case .withPokemonCpLimit(let l) = lhs, case .withPokemonCpLimit(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonType, .withPokemonType): return { - guard case .withPokemonType(let l) = lhs, case .withPokemonType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonCategory, .withPokemonCategory): return { - guard case .withPokemonCategory(let l) = lhs, case .withPokemonCategory(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonWhitelist, .pokemonWhitelist): return { - guard case .pokemonWhitelist(let l) = lhs, case .pokemonWhitelist(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonBanlist, .pokemonBanlist): return { - guard case .pokemonBanlist(let l) = lhs, case .pokemonBanlist(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonCaughtTimestamp, .pokemonCaughtTimestamp): return { - guard case .pokemonCaughtTimestamp(let l) = lhs, case .pokemonCaughtTimestamp(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonLevelRange, .pokemonLevelRange): return { - guard case .pokemonLevelRange(let l) = lhs, case .pokemonLevelRange(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } + fileprivate var _displayWeather: DisplayWeatherProto? = nil + fileprivate var _gameplayWeather: GameplayWeatherProto? = nil +} - public init() {} - } +public struct CodenameResultProto { + // 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. - public struct PokemonLevelRange { - // 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. + public var codename: String = String() - public var minLevel: Int32 = 0 + public var userMessage: String = String() - public var maxLevel: Int32 = 0 + public var isAssignable: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var status: CodenameResultProto.Status = .unset - public init() {} + public var updatedPlayer: ClientPlayerProto { + get {return _updatedPlayer ?? ClientPlayerProto()} + set {_updatedPlayer = newValue} } + /// Returns true if `updatedPlayer` has been explicitly set. + public var hasUpdatedPlayer: Bool {return self._updatedPlayer != nil} + /// Clears the value of `updatedPlayer`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedPlayer() {self._updatedPlayer = nil} - public struct PokemonWhitelist { - // 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. + public var suggestedCodenames: [String] = [] - public var name: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var pokemon: [CombatLeagueProto.PokemonWithForm] = [] + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case codenameNotAvailable // = 2 + case codenameNotValid // = 3 + case currentOwner // = 4 + case codenameChangeNotAllowed // = 5 + case UNRECOGNIZED(Int) - public var obProto: CombatLeagueProto.ObCombatLeagueProto { - get {return _obProto ?? CombatLeagueProto.ObCombatLeagueProto()} - set {_obProto = newValue} + public init() { + self = .unset } - /// Returns true if `obProto` has been explicitly set. - public var hasObProto: Bool {return self._obProto != nil} - /// Clears the value of `obProto`. Subsequent reads from it will return its default value. - public mutating func clearObProto() {self._obProto = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .codenameNotAvailable + case 3: self = .codenameNotValid + case 4: self = .currentOwner + case 5: self = .codenameChangeNotAllowed + default: self = .UNRECOGNIZED(rawValue) + } + } - public init() {} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .codenameNotAvailable: return 2 + case .codenameNotValid: return 3 + case .currentOwner: return 4 + case .codenameChangeNotAllowed: return 5 + case .UNRECOGNIZED(let i): return i + } + } - fileprivate var _obProto: CombatLeagueProto.ObCombatLeagueProto? = nil } - public struct PokemonWithForm { - // 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. - - public var id: HoloPokemonId = .missingno - - public var form: PokemonDisplayProto.Form = .unset - - public var forms: [PokemonDisplayProto.Form] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } + public init() {} - public struct UnlockConditionProto { - // 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. + fileprivate var _updatedPlayer: ClientPlayerProto? = nil +} - public var condition: CombatLeagueProto.UnlockConditionProto.OneOf_Condition? = nil +#if swift(>=4.2) - public var withPlayerLevel: WithPlayerLevelProto { - get { - if case .withPlayerLevel(let v)? = condition {return v} - return WithPlayerLevelProto() - } - set {condition = .withPlayerLevel(newValue)} - } +extension CodenameResultProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CodenameResultProto.Status] = [ + .unset, + .success, + .codenameNotAvailable, + .codenameNotValid, + .currentOwner, + .codenameChangeNotAllowed, + ] +} - public var withPokemonCpLimit: WithPokemonCpLimitProto { - get { - if case .withPokemonCpLimit(let v)? = condition {return v} - return WithPokemonCpLimitProto() - } - set {condition = .withPokemonCpLimit(newValue)} - } +#endif // swift(>=4.2) - public var withPokemonType: WithPokemonTypeProto { - get { - if case .withPokemonType(let v)? = condition {return v} - return WithPokemonTypeProto() - } - set {condition = .withPokemonType(newValue)} - } +public struct CollectDailyBonusOutProto { + // 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. - public var withPokemonCategory: WithPokemonCategoryProto { - get { - if case .withPokemonCategory(let v)? = condition {return v} - return WithPokemonCategoryProto() - } - set {condition = .withPokemonCategory(newValue)} - } + public var result: CollectDailyBonusOutProto.Result = .unset - public var pokemonWhitelist: CombatLeagueProto.PokemonWhitelist { - get { - if case .pokemonWhitelist(let v)? = condition {return v} - return CombatLeagueProto.PokemonWhitelist() - } - set {condition = .pokemonWhitelist(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var pokemonBanlist: CombatLeagueProto.PokemonBanlist { - get { - if case .pokemonBanlist(let v)? = condition {return v} - return CombatLeagueProto.PokemonBanlist() - } - set {condition = .pokemonBanlist(newValue)} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case tooSoon // = 3 + case UNRECOGNIZED(Int) - public var pokemonCaughtTimestamp: CombatLeagueProto.PokemonCaughtTimestamp { - get { - if case .pokemonCaughtTimestamp(let v)? = condition {return v} - return CombatLeagueProto.PokemonCaughtTimestamp() - } - set {condition = .pokemonCaughtTimestamp(newValue)} + public init() { + self = .unset } - public var pokemonLevelRange: CombatLeagueProto.PokemonLevelRange { - get { - if case .pokemonLevelRange(let v)? = condition {return v} - return CombatLeagueProto.PokemonLevelRange() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + case 3: self = .tooSoon + default: self = .UNRECOGNIZED(rawValue) } - set {condition = .pokemonLevelRange(newValue)} } - public var type: CombatLeagueProto.ConditionType = .unset - - public var minPokemonCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Condition: Equatable { - case withPlayerLevel(WithPlayerLevelProto) - case withPokemonCpLimit(WithPokemonCpLimitProto) - case withPokemonType(WithPokemonTypeProto) - case withPokemonCategory(WithPokemonCategoryProto) - case pokemonWhitelist(CombatLeagueProto.PokemonWhitelist) - case pokemonBanlist(CombatLeagueProto.PokemonBanlist) - case pokemonCaughtTimestamp(CombatLeagueProto.PokemonCaughtTimestamp) - case pokemonLevelRange(CombatLeagueProto.PokemonLevelRange) - - #if !swift(>=4.1) - public static func ==(lhs: CombatLeagueProto.UnlockConditionProto.OneOf_Condition, rhs: CombatLeagueProto.UnlockConditionProto.OneOf_Condition) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.withPlayerLevel, .withPlayerLevel): return { - guard case .withPlayerLevel(let l) = lhs, case .withPlayerLevel(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonCpLimit, .withPokemonCpLimit): return { - guard case .withPokemonCpLimit(let l) = lhs, case .withPokemonCpLimit(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonType, .withPokemonType): return { - guard case .withPokemonType(let l) = lhs, case .withPokemonType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonCategory, .withPokemonCategory): return { - guard case .withPokemonCategory(let l) = lhs, case .withPokemonCategory(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonWhitelist, .pokemonWhitelist): return { - guard case .pokemonWhitelist(let l) = lhs, case .pokemonWhitelist(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonBanlist, .pokemonBanlist): return { - guard case .pokemonBanlist(let l) = lhs, case .pokemonBanlist(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonCaughtTimestamp, .pokemonCaughtTimestamp): return { - guard case .pokemonCaughtTimestamp(let l) = lhs, case .pokemonCaughtTimestamp(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonLevelRange, .pokemonLevelRange): return { - guard case .pokemonLevelRange(let l) = lhs, case .pokemonLevelRange(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .tooSoon: return 3 + case .UNRECOGNIZED(let i): return i } - #endif } - public init() {} } public init() {} @@ -47378,68 +49212,40 @@ public struct CombatLeagueProto { #if swift(>=4.2) -extension CombatLeagueProto.ConditionType: CaseIterable { +extension CollectDailyBonusOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatLeagueProto.ConditionType] = [ + public static var allCases: [CollectDailyBonusOutProto.Result] = [ .unset, - .withPokemonCpLimit, - .withPlayerLevel, - .withPokemonType, - .withPokemonCategory, - .withUniquePokemon, - .pokemonWhitelist, - .pokemonBanlist, - .pokemonCaughtTimestamp, - .pokemonLevelRange, - ] -} - -extension CombatLeagueProto.LeagueType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatLeagueProto.LeagueType] = [ - .none, - .standard, - .premier, + .success, + .failure, + .tooSoon, ] } #endif // swift(>=4.2) -public struct CombatLeagueSettingsProto { +public struct CollectDailyBonusProto { // 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. - public var combatLeagueTemplateID: [String] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatLogEntry { +public struct CollectDailyDefenderBonusOutProto { // 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. - public var result: CombatLogEntry.Result = .unset - - public var finishState: CombatPlayerFinishState = .winner - - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} + public var result: CollectDailyDefenderBonusOutProto.Result = .unset - public var opponent: String = String() + public var currencyType: [String] = [] - public var combatLeagueTemplateID: String = String() + public var currencyAwarded: [Int32] = [] - public var npcTemplateID: String = String() + public var numDefenders: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -47447,6 +49253,9 @@ public struct CombatLogEntry { public typealias RawValue = Int case unset // = 0 case success // = 1 + case failure // = 2 + case tooSoon // = 3 + case noDefenders // = 4 case UNRECOGNIZED(Int) public init() { @@ -47457,6 +49266,9 @@ public struct CombatLogEntry { switch rawValue { case 0: self = .unset case 1: self = .success + case 2: self = .failure + case 3: self = .tooSoon + case 4: self = .noDefenders default: self = .UNRECOGNIZED(rawValue) } } @@ -47465,6 +49277,9 @@ public struct CombatLogEntry { switch self { case .unset: return 0 case .success: return 1 + case .failure: return 2 + case .tooSoon: return 3 + case .noDefenders: return 4 case .UNRECOGNIZED(let i): return i } } @@ -47472,84 +49287,98 @@ public struct CombatLogEntry { } public init() {} - - fileprivate var _rewards: LootProto? = nil } #if swift(>=4.2) -extension CombatLogEntry.Result: CaseIterable { +extension CollectDailyDefenderBonusOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatLogEntry.Result] = [ + public static var allCases: [CollectDailyDefenderBonusOutProto.Result] = [ .unset, .success, + .failure, + .tooSoon, + .noDefenders, ] } #endif // swift(>=4.2) -public struct CombatLogProto { +public struct CollectDailyDefenderBonusProto { // 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. - public var lifetimeResults: CombatSeasonResult { - get {return _storage._lifetimeResults ?? CombatSeasonResult()} - set {_uniqueStorage()._lifetimeResults = newValue} - } - /// Returns true if `lifetimeResults` has been explicitly set. - public var hasLifetimeResults: Bool {return _storage._lifetimeResults != nil} - /// Clears the value of `lifetimeResults`. Subsequent reads from it will return its default value. - public mutating func clearLifetimeResults() {_uniqueStorage()._lifetimeResults = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var currentSeasonResults: CombatSeasonResult { - get {return _storage._currentSeasonResults ?? CombatSeasonResult()} - set {_uniqueStorage()._currentSeasonResults = newValue} - } - /// Returns true if `currentSeasonResults` has been explicitly set. - public var hasCurrentSeasonResults: Bool {return _storage._currentSeasonResults != nil} - /// Clears the value of `currentSeasonResults`. Subsequent reads from it will return its default value. - public mutating func clearCurrentSeasonResults() {_uniqueStorage()._currentSeasonResults = nil} + public init() {} +} - public var currentVsSeekerSetResults: [VsSeekerBattleResult] { - get {return _storage._currentVsSeekerSetResults} - set {_uniqueStorage()._currentVsSeekerSetResults = newValue} - } +public struct CombatActionLogProto { + // 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. - public var previousSeasonResults: CombatSeasonResult { - get {return _storage._previousSeasonResults ?? CombatSeasonResult()} - set {_uniqueStorage()._previousSeasonResults = newValue} - } - /// Returns true if `previousSeasonResults` has been explicitly set. - public var hasPreviousSeasonResults: Bool {return _storage._previousSeasonResults != nil} - /// Clears the value of `previousSeasonResults`. Subsequent reads from it will return its default value. - public mutating func clearPreviousSeasonResults() {_uniqueStorage()._previousSeasonResults = nil} + public var type: CombatActionProto.ActionType = .unset + + public var actionStartTurn: Int32 = 0 + + public var durationTurns: Int32 = 0 + + public var attackerIndex: Int32 = 0 + + public var targetIndex: Int32 = 0 + + public var activePokemonIndex: Int32 = 0 + + public var targetPokemonIndex: Int32 = 0 + + public var minigameScore: Float = 0 + + public var move: HoloPokemonMove = .moveUnset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct CombatMinigameTelemetry { +public struct CombatActionProto { // 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. - public var combatType: CombatMinigameTelemetry.MinigameCombatType = .unset + public var type: CombatActionProto.ActionType = .unset - public var moveType: HoloPokemonType = .pokemonTypeNone + public var actionStartTurn: Int32 = 0 - public var score: Float = 0 + public var durationTurns: Int32 = 0 + + public var attackerIndex: Int32 = 0 + + public var targetIndex: Int32 = 0 + + public var activePokemonID: UInt64 = 0 + + public var targetPokemonID: UInt64 = 0 + + public var minigameScore: Float = 0 + + public var move: HoloPokemonMove = .moveUnset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum MinigameCombatType: SwiftProtobuf.Enum { + public enum ActionType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case pvp // = 1 - case pve // = 2 + case attack // = 1 + case specialAttack // = 2 + case specialAttack2 // = 3 + case minigameOffensiveFinish // = 4 + case minigameDefensiveStart // = 5 + case minigameDefensiveFinish // = 6 + case faint // = 7 + case changePokemon // = 8 + case quickSwapPokemon // = 9 case UNRECOGNIZED(Int) public init() { @@ -47559,8 +49388,15 @@ public struct CombatMinigameTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .pvp - case 2: self = .pve + case 1: self = .attack + case 2: self = .specialAttack + case 3: self = .specialAttack2 + case 4: self = .minigameOffensiveFinish + case 5: self = .minigameDefensiveStart + case 6: self = .minigameDefensiveFinish + case 7: self = .faint + case 8: self = .changePokemon + case 9: self = .quickSwapPokemon default: self = .UNRECOGNIZED(rawValue) } } @@ -47568,8 +49404,15 @@ public struct CombatMinigameTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .pvp: return 1 - case .pve: return 2 + case .attack: return 1 + case .specialAttack: return 2 + case .specialAttack2: return 3 + case .minigameOffensiveFinish: return 4 + case .minigameDefensiveStart: return 5 + case .minigameDefensiveFinish: return 6 + case .faint: return 7 + case .changePokemon: return 8 + case .quickSwapPokemon: return 9 case .UNRECOGNIZED(let i): return i } } @@ -47581,421 +49424,436 @@ public struct CombatMinigameTelemetry { #if swift(>=4.2) -extension CombatMinigameTelemetry.MinigameCombatType: CaseIterable { +extension CombatActionProto.ActionType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatMinigameTelemetry.MinigameCombatType] = [ + public static var allCases: [CombatActionProto.ActionType] = [ .unset, - .pvp, - .pve, + .attack, + .specialAttack, + .specialAttack2, + .minigameOffensiveFinish, + .minigameDefensiveStart, + .minigameDefensiveFinish, + .faint, + .changePokemon, + .quickSwapPokemon, ] } #endif // swift(>=4.2) -public struct CombatMoveSettingsProto { +public struct CombatBaseStatsProto { // 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. - public var uniqueID: HoloPokemonMove = .moveUnset - - public var type: HoloPokemonType = .pokemonTypeNone - - public var power: Float = 0 - - public var vfxName: String = String() - - public var durationTurns: Int32 = 0 - - public var energyDelta: Int32 = 0 + public var totalBattles: Int32 = 0 - public var buffs: CombatMoveSettingsProto.CombatMoveBuffsProto { - get {return _buffs ?? CombatMoveSettingsProto.CombatMoveBuffsProto()} - set {_buffs = newValue} - } - /// Returns true if `buffs` has been explicitly set. - public var hasBuffs: Bool {return self._buffs != nil} - /// Clears the value of `buffs`. Subsequent reads from it will return its default value. - public mutating func clearBuffs() {self._buffs = nil} + public var wins: Int32 = 0 - public var modifier: [MoveModifierProto] = [] + public var rating: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct CombatMoveBuffsProto { - // 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. - - public var attackerAttackStatStageChange: Int32 = 0 + public init() {} +} - public var attackerDefenseStatStageChange: Int32 = 0 +public struct CombatChallengeGlobalSettingsProto { + // 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. - public var targetAttackStatStageChange: Int32 = 0 + public var distanceCheckOverrideFriendshipLevel: FriendshipLevelMilestone = .friendshipLevelUnset - public var targetDefenseStatStageChange: Int32 = 0 + public var getCombatChallengePollingIntervalSec: Int32 = 0 - public var buffActivationChance: Float = 0 + public var enableDownstreamDispatch: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var enableChallengeNotifications: Bool = false - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _buffs: CombatMoveSettingsProto.CombatMoveBuffsProto? = nil } -public struct CombatNpcPersonalityProto { +public struct CombatChallengeLogProto { // 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. - public var personalityName: String = String() - - public var superEffectiveChance: Float = 0 + public var type: CombatType = .unset - public var specialChance: Float = 0 + public var challengerPokemonIndexes: [Int32] = [] - public var defensiveMinimumScore: Float = 0 + public var opponentPokemonIndexes: [Int32] = [] - public var defensiveMaximumScore: Float = 0 + public var state: CombatChallengeProto.CombatChallengeState = .unset - public var offensiveMinimumScore: Float = 0 + public var createdTimestampOffsetMs: UInt32 = 0 - public var offensiveMaximumScore: Float = 0 + public var expirationTimestampOffsetMs: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatNpcTrainerProto { +public struct CombatChallengeProto { // 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. - public var trainerName: String = String() + public var challengeID: String = String() + + public var type: CombatType = .unset public var combatLeagueTemplateID: String = String() - public var combatPersonalityID: String = String() + public var challenger: CombatChallengeProto.ChallengePlayer { + get {return _challenger ?? CombatChallengeProto.ChallengePlayer()} + set {_challenger = newValue} + } + /// Returns true if `challenger` has been explicitly set. + public var hasChallenger: Bool {return self._challenger != nil} + /// Clears the value of `challenger`. Subsequent reads from it will return its default value. + public mutating func clearChallenger() {self._challenger = nil} - public var winLootTableID: String = String() + public var opponent: CombatChallengeProto.ChallengePlayer { + get {return _opponent ?? CombatChallengeProto.ChallengePlayer()} + set {_opponent = newValue} + } + /// Returns true if `opponent` has been explicitly set. + public var hasOpponent: Bool {return self._opponent != nil} + /// Clears the value of `opponent`. Subsequent reads from it will return its default value. + public mutating func clearOpponent() {self._opponent = nil} - public var loseLootTableID: String = String() + public var state: CombatChallengeProto.CombatChallengeState = .unset + + public var createdTimestampMs: Int64 = 0 + + public var combatID: String = String() + + public var gblBattleRealm: String = String() + + public var expirationTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum CombatChallengeState: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case created // = 1 + case opened // = 2 + case cancelled // = 3 + case accepted // = 4 + case declined // = 5 + case ready // = 6 + case timeout // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .created + case 2: self = .opened + case 3: self = .cancelled + case 4: self = .accepted + case 5: self = .declined + case 6: self = .ready + case 7: self = .timeout + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .created: return 1 + case .opened: return 2 + case .cancelled: return 3 + case .accepted: return 4 + case .declined: return 5 + case .ready: return 6 + case .timeout: return 7 + case .UNRECOGNIZED(let i): return i + } + } - public var avatar: PlayerAvatarProto { - get {return _avatar ?? PlayerAvatarProto()} - set {_avatar = newValue} } - /// Returns true if `avatar` has been explicitly set. - public var hasAvatar: Bool {return self._avatar != nil} - /// Clears the value of `avatar`. Subsequent reads from it will return its default value. - public mutating func clearAvatar() {self._avatar = nil} - public var availablePokemon: [NpcPokemonProto] = [] + public struct ChallengePlayer { + // 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. - public var trainerTitle: String = String() + public var playerID: String { + get {return _storage._playerID} + set {_uniqueStorage()._playerID = newValue} + } - public var trainerQuote: String = String() + public var playerAvatar: PlayerAvatarProto { + get {return _storage._playerAvatar ?? PlayerAvatarProto()} + set {_uniqueStorage()._playerAvatar = newValue} + } + /// Returns true if `playerAvatar` has been explicitly set. + public var hasPlayerAvatar: Bool {return _storage._playerAvatar != nil} + /// Clears the value of `playerAvatar`. Subsequent reads from it will return its default value. + public mutating func clearPlayerAvatar() {_uniqueStorage()._playerAvatar = nil} - public var iconURL: String = String() + public var combatPlayerS2CellID: Int64 { + get {return _storage._combatPlayerS2CellID} + set {_uniqueStorage()._combatPlayerS2CellID = newValue} + } - public var backdropImageBundle: String = String() + public var attackingPokemonID: [UInt64] { + get {return _storage._attackingPokemonID} + set {_uniqueStorage()._attackingPokemonID = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var publicProfile: PlayerPublicProfileProto { + get {return _storage._publicProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._publicProfile = newValue} + } + /// Returns true if `publicProfile` has been explicitly set. + public var hasPublicProfile: Bool {return _storage._publicProfile != nil} + /// Clears the value of `publicProfile`. Subsequent reads from it will return its default value. + public mutating func clearPublicProfile() {_uniqueStorage()._publicProfile = nil} + + public var niaAccountID: String { + get {return _storage._niaAccountID} + set {_uniqueStorage()._niaAccountID = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance + } public init() {} - fileprivate var _avatar: PlayerAvatarProto? = nil + fileprivate var _challenger: CombatChallengeProto.ChallengePlayer? = nil + fileprivate var _opponent: CombatChallengeProto.ChallengePlayer? = nil } -public struct CombatOffensiveInputChallengeSettings { +#if swift(>=4.2) + +extension CombatChallengeProto.CombatChallengeState: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatChallengeProto.CombatChallengeState] = [ + .unset, + .created, + .opened, + .cancelled, + .accepted, + .declined, + .ready, + .timeout, + ] +} + +#endif // swift(>=4.2) + +public struct CombatClientLog { // 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. - public var scorePerTap: Float = 0 + public var header: CombatLogHeader { + get {return _header ?? CombatLogHeader()} + set {_header = newValue} + } + /// Returns true if `header` has been explicitly set. + public var hasHeader: Bool {return self._header != nil} + /// Clears the value of `header`. Subsequent reads from it will return its default value. + public mutating func clearHeader() {self._header = nil} - public var scoreDecayPerSecond: Float = 0 + public var entries: [CombatLogData] = [] - public var maxScore: Float = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var highScoreAdditionalDecayPerSecond: Float = 0 + public init() {} - public var maxTimeAdditionalDecayPerSecond: Float = 0 + fileprivate var _header: CombatLogHeader? = nil +} + +public struct CombatClockSynchronization { + // 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. + + public var syncAttemptCount: Int32 = 0 + + public var enabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatPlayerPreferencesProto { +public struct CombatCompetitiveSeasonSettingsProto { // 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. - public var friendsCombatOptOut: Bool = false + public var seasonEndTimeTimestamp: [UInt64] = [] - public var nearbyCombatOptIn: Bool = false + public var ratingAdjustmentPercentage: Float = 0 + + public var rankingAdjustmentPercentage: Float = 0 + + public var playerFacingSeasonNumber: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatPlayerProfileProto { +public struct CombatDefensiveInputChallengeSettings { // 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. - public var playerID: String { - get {return _storage._playerID} - set {_uniqueStorage()._playerID = newValue} - } - - public var publicProfile: PlayerPublicProfileProto { - get {return _storage._publicProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._publicProfile = newValue} - } - /// Returns true if `publicProfile` has been explicitly set. - public var hasPublicProfile: Bool {return _storage._publicProfile != nil} - /// Clears the value of `publicProfile`. Subsequent reads from it will return its default value. - public mutating func clearPublicProfile() {_uniqueStorage()._publicProfile = nil} - - public var combatLeagueTemplateID: [String] { - get {return _storage._combatLeagueTemplateID} - set {_uniqueStorage()._combatLeagueTemplateID = newValue} - } + public var fullRotationsForMaxScore: Float = 0 - public var buddyPokemonID: UInt64 { - get {return _storage._buddyPokemonID} - set {_uniqueStorage()._buddyPokemonID = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var location: CombatPlayerProfileProto.Location { - get {return _storage._location ?? CombatPlayerProfileProto.Location()} - set {_uniqueStorage()._location = newValue} - } - /// Returns true if `location` has been explicitly set. - public var hasLocation: Bool {return _storage._location != nil} - /// Clears the value of `location`. Subsequent reads from it will return its default value. - public mutating func clearLocation() {_uniqueStorage()._location = nil} + public init() {} +} - public var combatPlayerPreferences: CombatPlayerPreferencesProto { - get {return _storage._combatPlayerPreferences ?? CombatPlayerPreferencesProto()} - set {_uniqueStorage()._combatPlayerPreferences = newValue} - } - /// Returns true if `combatPlayerPreferences` has been explicitly set. - public var hasCombatPlayerPreferences: Bool {return _storage._combatPlayerPreferences != nil} - /// Clears the value of `combatPlayerPreferences`. Subsequent reads from it will return its default value. - public mutating func clearCombatPlayerPreferences() {_uniqueStorage()._combatPlayerPreferences = nil} +public struct CombatEndData { + // 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. - public var obString: String { - get {return _storage._obString} - set {_uniqueStorage()._obString = newValue} - } + public var type: CombatEndData.TypeEnum = .noEnd public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct Location { - // 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. + public enum TypeEnum: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noEnd // = 0 + case combatStateExit // = 1 + case UNRECOGNIZED(Int) - public var latDegree: Double = 0 + public init() { + self = .noEnd + } - public var lngDegree: Double = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noEnd + case 1: self = .combatStateExit + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .noEnd: return 0 + case .combatStateExit: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} } public init() {} +} - fileprivate var _storage = _StorageClass.defaultInstance +#if swift(>=4.2) + +extension CombatEndData.TypeEnum: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatEndData.TypeEnum] = [ + .noEnd, + .combatStateExit, + ] } -public struct CombatProto { +#endif // swift(>=4.2) + +public struct CombatFeatureFlags { // 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. - public var combatState: CombatProto.CombatState { - get {return _storage._combatState} - set {_uniqueStorage()._combatState = newValue} - } + public var realDeviceTimeEnabled: Bool = false - public var combatID: String { - get {return _storage._combatID} - set {_uniqueStorage()._combatID = newValue} - } + public var nextAvailableTurnEnabled: Bool = false - public var player: CombatProto.CombatPlayerProto { - get {return _storage._player ?? CombatProto.CombatPlayerProto()} - set {_uniqueStorage()._player = newValue} + public var serverFlyInFlyOutEnabled: Bool = false + + public var clientShieldInstaReportEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct CombatForLogProto { + // 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. + + public var combatState: CombatProto.CombatState = .unset + + public var player: CombatForLogProto.CombatPlayerLogProto { + get {return _player ?? CombatForLogProto.CombatPlayerLogProto()} + set {_player = newValue} } /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return _storage._player != nil} + public var hasPlayer: Bool {return self._player != nil} /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {_uniqueStorage()._player = nil} + public mutating func clearPlayer() {self._player = nil} - public var opponent: CombatProto.CombatPlayerProto { - get {return _storage._opponent ?? CombatProto.CombatPlayerProto()} - set {_uniqueStorage()._opponent = newValue} + public var opponent: CombatForLogProto.CombatPlayerLogProto { + get {return _opponent ?? CombatForLogProto.CombatPlayerLogProto()} + set {_opponent = newValue} } /// Returns true if `opponent` has been explicitly set. - public var hasOpponent: Bool {return _storage._opponent != nil} + public var hasOpponent: Bool {return self._opponent != nil} /// Clears the value of `opponent`. Subsequent reads from it will return its default value. - public mutating func clearOpponent() {_uniqueStorage()._opponent = nil} - - public var combatStartMs: Int64 { - get {return _storage._combatStartMs} - set {_uniqueStorage()._combatStartMs = newValue} - } - - public var combatEndMs: Int64 { - get {return _storage._combatEndMs} - set {_uniqueStorage()._combatEndMs = newValue} - } + public mutating func clearOpponent() {self._opponent = nil} - public var serverMs: Int64 { - get {return _storage._serverMs} - set {_uniqueStorage()._serverMs = newValue} - } + public var serverOffsetMs: UInt32 = 0 - public var currentTurn: Int32 { - get {return _storage._currentTurn} - set {_uniqueStorage()._currentTurn = newValue} - } + public var currentTurn: Int32 = 0 - public var turnStartMs: Int64 { - get {return _storage._turnStartMs} - set {_uniqueStorage()._turnStartMs = newValue} - } + public var turnStartOffsetMs: UInt32 = 0 - public var minigameEndMs: Int64 { - get {return _storage._minigameEndMs} - set {_uniqueStorage()._minigameEndMs = newValue} - } + public var minigameEndOffsetMs: UInt32 = 0 - public var minigameSubmitScoreEndMs: Int64 { - get {return _storage._minigameSubmitScoreEndMs} - set {_uniqueStorage()._minigameSubmitScoreEndMs = newValue} - } + public var minigameSubmitScoreEndOffsetMs: UInt32 = 0 - public var changePokemonEndMs: Int64 { - get {return _storage._changePokemonEndMs} - set {_uniqueStorage()._changePokemonEndMs = newValue} - } + public var changePokemonEndOffsetMs: UInt32 = 0 - public var quickSwapCooldownDurationMs: Int64 { - get {return _storage._quickSwapCooldownDurationMs} - set {_uniqueStorage()._quickSwapCooldownDurationMs = newValue} - } + public var quickSwapCooldownDurationOffsetMs: UInt32 = 0 - public var stateChangeDelayUntilTurn: Int64 { - get {return _storage._stateChangeDelayUntilTurn} - set {_uniqueStorage()._stateChangeDelayUntilTurn = newValue} - } + public var stateChangeDelayUntilTurn: UInt32 = 0 - public var obField: CombatProto.ObCombatField { - get {return _storage._obField ?? CombatProto.ObCombatField()} - set {_uniqueStorage()._obField = newValue} - } - /// Returns true if `obField` has been explicitly set. - public var hasObField: Bool {return _storage._obField != nil} - /// Clears the value of `obField`. Subsequent reads from it will return its default value. - public mutating func clearObField() {_uniqueStorage()._obField = nil} + public var combatRequestCounter: Int32 = 0 - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } + public var opponentTriggered: Bool = false - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } + public var opponentRequestCounter: Int32 = 0 - public var obInt322: Int32 { - get {return _storage._obInt322} - set {_uniqueStorage()._obInt322 = newValue} - } + public var roundTripTimeMs: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum CombatState: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case waitingForPlayers // = 1 - case ready // = 2 - case active // = 3 - case specialAttack // = 4 - case waitingForChangePokemon // = 5 - case finished // = 6 - case playerQuit // = 7 - case timeout // = 8 - case sync // = 9 - case UNRECOGNIZED(Int) + public struct CombatPlayerLogProto { + // 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. - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .waitingForPlayers - case 2: self = .ready - case 3: self = .active - case 4: self = .specialAttack - case 5: self = .waitingForChangePokemon - case 6: self = .finished - case 7: self = .playerQuit - case 8: self = .timeout - case 9: self = .sync - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .waitingForPlayers: return 1 - case .ready: return 2 - case .active: return 3 - case .specialAttack: return 4 - case .waitingForChangePokemon: return 5 - case .finished: return 6 - case .playerQuit: return 7 - case .timeout: return 8 - case .sync: return 9 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct CombatPlayerProto { - // 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. - - public var publicProfile: PlayerPublicProfileProto { - get {return _storage._publicProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._publicProfile = newValue} - } - /// Returns true if `publicProfile` has been explicitly set. - public var hasPublicProfile: Bool {return _storage._publicProfile != nil} - /// Clears the value of `publicProfile`. Subsequent reads from it will return its default value. - public mutating func clearPublicProfile() {_uniqueStorage()._publicProfile = nil} - - public var activePokemon: CombatProto.CombatPokemonProto { - get {return _storage._activePokemon ?? CombatProto.CombatPokemonProto()} + public var activePokemon: CombatForLogProto.CombatPokemonDynamicProto { + get {return _storage._activePokemon ?? CombatForLogProto.CombatPokemonDynamicProto()} set {_uniqueStorage()._activePokemon = newValue} } /// Returns true if `activePokemon` has been explicitly set. @@ -48003,18 +49861,18 @@ public struct CombatProto { /// Clears the value of `activePokemon`. Subsequent reads from it will return its default value. public mutating func clearActivePokemon() {_uniqueStorage()._activePokemon = nil} - public var reservePokemon: [CombatProto.CombatPokemonProto] { + public var reservePokemon: [CombatForLogProto.CombatPokemonDynamicProto] { get {return _storage._reservePokemon} set {_uniqueStorage()._reservePokemon = newValue} } - public var faintedPokemon: [CombatProto.CombatPokemonProto] { + public var faintedPokemon: [CombatForLogProto.CombatPokemonDynamicProto] { get {return _storage._faintedPokemon} set {_uniqueStorage()._faintedPokemon = newValue} } - public var currentAction: CombatActionProto { - get {return _storage._currentAction ?? CombatActionProto()} + public var currentAction: CombatActionLogProto { + get {return _storage._currentAction ?? CombatActionLogProto()} set {_uniqueStorage()._currentAction = newValue} } /// Returns true if `currentAction` has been explicitly set. @@ -48032,8 +49890,8 @@ public struct CombatProto { set {_uniqueStorage()._lastUpdatedTurn = newValue} } - public var minigameAction: CombatActionProto { - get {return _storage._minigameAction ?? CombatActionProto()} + public var minigameAction: CombatActionLogProto { + get {return _storage._minigameAction ?? CombatActionLogProto()} set {_uniqueStorage()._minigameAction = newValue} } /// Returns true if `minigameAction` has been explicitly set. @@ -48041,9 +49899,9 @@ public struct CombatProto { /// Clears the value of `minigameAction`. Subsequent reads from it will return its default value. public mutating func clearMinigameAction() {_uniqueStorage()._minigameAction = nil} - public var quickSwapAvailableMs: Int64 { - get {return _storage._quickSwapAvailableMs} - set {_uniqueStorage()._quickSwapAvailableMs = newValue} + public var quickSwapAvailableOffsetMs: UInt32 { + get {return _storage._quickSwapAvailableOffsetMs} + set {_uniqueStorage()._quickSwapAvailableOffsetMs = newValue} } public var minigameDefenseChancesLeft: Int32 { @@ -48051,167 +49909,6 @@ public struct CombatProto { set {_uniqueStorage()._minigameDefenseChancesLeft = newValue} } - public var combatNpcPersonalityID: String { - get {return _storage._combatNpcPersonalityID} - set {_uniqueStorage()._combatNpcPersonalityID = newValue} - } - - public var timesCombatActionsCalled: Int32 { - get {return _storage._timesCombatActionsCalled} - set {_uniqueStorage()._timesCombatActionsCalled = newValue} - } - - public var lobbyJoinTimeMs: Int64 { - get {return _storage._lobbyJoinTimeMs} - set {_uniqueStorage()._lobbyJoinTimeMs = newValue} - } - - public var superEffectiveChargeAttacksUsed: Int32 { - get {return _storage._superEffectiveChargeAttacksUsed} - set {_uniqueStorage()._superEffectiveChargeAttacksUsed = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance - } - - public struct CombatPokemonProto { - // 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. - - public var pokemonID: UInt64 { - get {return _storage._pokemonID} - set {_uniqueStorage()._pokemonID = newValue} - } - - public var pokedexID: HoloPokemonId { - get {return _storage._pokedexID} - set {_uniqueStorage()._pokedexID = newValue} - } - - public var cp: Int32 { - get {return _storage._cp} - set {_uniqueStorage()._cp = newValue} - } - - public var cpMultiplier: Float { - get {return _storage._cpMultiplier} - set {_uniqueStorage()._cpMultiplier = newValue} - } - - public var stamina: Int32 { - get {return _storage._stamina} - set {_uniqueStorage()._stamina = newValue} - } - - public var maxStamina: Int32 { - get {return _storage._maxStamina} - set {_uniqueStorage()._maxStamina = newValue} - } - - public var move1: HoloPokemonMove { - get {return _storage._move1} - set {_uniqueStorage()._move1 = newValue} - } - - public var move2: HoloPokemonMove { - get {return _storage._move2} - set {_uniqueStorage()._move2 = newValue} - } - - public var move3: HoloPokemonMove { - get {return _storage._move3} - set {_uniqueStorage()._move3 = newValue} - } - - public var energy: Int32 { - get {return _storage._energy} - set {_uniqueStorage()._energy = newValue} - } - - public var pokemonDisplay: PokemonDisplayProto { - get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} - set {_uniqueStorage()._pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} - - public var individualAttack: Int32 { - get {return _storage._individualAttack} - set {_uniqueStorage()._individualAttack = newValue} - } - - public var individualDefense: Int32 { - get {return _storage._individualDefense} - set {_uniqueStorage()._individualDefense = newValue} - } - - public var individualStamina: Int32 { - get {return _storage._individualStamina} - set {_uniqueStorage()._individualStamina = newValue} - } - - public var attackStatStage: Int32 { - get {return _storage._attackStatStage} - set {_uniqueStorage()._attackStatStage = newValue} - } - - public var defenseStatStage: Int32 { - get {return _storage._defenseStatStage} - set {_uniqueStorage()._defenseStatStage = newValue} - } - - public var battlesWon: Int32 { - get {return _storage._battlesWon} - set {_uniqueStorage()._battlesWon = newValue} - } - - public var battlesLost: Int32 { - get {return _storage._battlesLost} - set {_uniqueStorage()._battlesLost = newValue} - } - - public var nickname: String { - get {return _storage._nickname} - set {_uniqueStorage()._nickname = newValue} - } - - public var pokeball: Item { - get {return _storage._pokeball} - set {_uniqueStorage()._pokeball = newValue} - } - - public var height: Float { - get {return _storage._height} - set {_uniqueStorage()._height = newValue} - } - - public var weight: Float { - get {return _storage._weight} - set {_uniqueStorage()._weight = newValue} - } - - public var pokemonSize: HoloPokemonSize { - get {return _storage._pokemonSize} - set {_uniqueStorage()._pokemonSize = newValue} - } - - public var notableActionHistory: [VsActionHistory] { - get {return _storage._notableActionHistory} - set {_uniqueStorage()._notableActionHistory = newValue} - } - - public var vsEffectTag: [VsEffectTag] { - get {return _storage._vsEffectTag} - set {_uniqueStorage()._vsEffectTag = newValue} - } - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} @@ -48219,20 +49916,20 @@ public struct CombatProto { fileprivate var _storage = _StorageClass.defaultInstance } - public struct ObCombatField { + public struct CombatPokemonDynamicProto { // 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. - public var obInt641: Int64 = 0 + public var index: Int32 = 0 - public var obInt642: Int64 = 0 + public var stamina: Int32 = 0 - public var obInt321: Int32 = 0 + public var energy: Int32 = 0 - public var obInt322: Int32 = 0 + public var attackStatStage: Int32 = 0 - public var renderModifier: [FormRenderModifier] = [] + public var defenseStatStage: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -48241,183 +49938,53 @@ public struct CombatProto { public init() {} - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension CombatProto.CombatState: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatProto.CombatState] = [ - .unset, - .waitingForPlayers, - .ready, - .active, - .specialAttack, - .waitingForChangePokemon, - .finished, - .playerQuit, - .timeout, - .sync, - ] + fileprivate var _player: CombatForLogProto.CombatPlayerLogProto? = nil + fileprivate var _opponent: CombatForLogProto.CombatPlayerLogProto? = nil } -#endif // swift(>=4.2) - -public struct CombatPubSubDataProto { +public struct CombatFriendRequestOutProto { // 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. - public var type: CombatPubSubDataProto.TypeEnum = .noType + public var result: CombatFriendRequestOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum TypeEnum: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case noType // = 0 - case endNpcCombat // = 1 - case endInvasionCombat // = 2 - case combatNotify // = 3 - case endPvpCombat // = 4 - case vsSeekerMatchStarted // = 5 - case combatChargeAttackAnimationActiveChange // = 6 - case combatUpdateActionUi // = 7 - case combatExitCombatState // = 8 - case combatSuperEffectiveChargedAttacksUpdate // = 9 - case combatStateEntered // = 10 - case combatStateDone // = 11 - case combatStateExited // = 12 - case combatInitializePresentationDirector // = 13 - case combatShowUi // = 14 - case combatHideUi // = 15 - case combatShowMessage // = 16 - case combatShowToast // = 17 - case combatShowTutorial // = 18 - case combatUpdateIsShowingChargeAnim // = 19 - case combatPlayMiniGame // = 20 - case combatContinueAfterMiniGame // = 21 - case combatShowSpecialAttack // = 22 - case combatSpecialMoveStateEnded // = 23 - case combatCleanUpSpecialMoveState // = 24 - case combatHandleSpecialMoveCameraZoom // = 25 - case combatShieldUsed // = 26 - case combatDefenderFlinch // = 27 - case combatOpponentReact // = 28 - case combatFocusOnPokemon // = 29 - case combatPlayStartFadeTransition // = 30 - case combatPlayEndFadeTransition // = 31 - case combatCountdownStarted // = 32 - case combatPlayBackButtonSfx // = 33 - case combatSetupCombatStageSubscriptions // = 34 - case combatOpponentRetrievePokemon // = 35 - case combatHideNameplate // = 36 - case combatDisplayPhysicalShield // = 37 - case combatUpdateTimer // = 38 - case combatStopChargeAttackEffects // = 39 - case combatDefensiveMiniGameDecided // = 40 - case combatDefensiveMiniGameServerResponse // = 41 - case combatPauseNotifyCombatPokemon // = 42 + case unset // = 0 + case success // = 1 + case errorCombatNotFound // = 2 + case errorCombatIncomplete // = 3 + case errorPlayerNotInCombat // = 4 + case errorSocialRpc // = 5 case UNRECOGNIZED(Int) public init() { - self = .noType + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .noType - case 1: self = .endNpcCombat - case 2: self = .endInvasionCombat - case 3: self = .combatNotify - case 4: self = .endPvpCombat - case 5: self = .vsSeekerMatchStarted - case 6: self = .combatChargeAttackAnimationActiveChange - case 7: self = .combatUpdateActionUi - case 8: self = .combatExitCombatState - case 9: self = .combatSuperEffectiveChargedAttacksUpdate - case 10: self = .combatStateEntered - case 11: self = .combatStateDone - case 12: self = .combatStateExited - case 13: self = .combatInitializePresentationDirector - case 14: self = .combatShowUi - case 15: self = .combatHideUi - case 16: self = .combatShowMessage - case 17: self = .combatShowToast - case 18: self = .combatShowTutorial - case 19: self = .combatUpdateIsShowingChargeAnim - case 20: self = .combatPlayMiniGame - case 21: self = .combatContinueAfterMiniGame - case 22: self = .combatShowSpecialAttack - case 23: self = .combatSpecialMoveStateEnded - case 24: self = .combatCleanUpSpecialMoveState - case 25: self = .combatHandleSpecialMoveCameraZoom - case 26: self = .combatShieldUsed - case 27: self = .combatDefenderFlinch - case 28: self = .combatOpponentReact - case 29: self = .combatFocusOnPokemon - case 30: self = .combatPlayStartFadeTransition - case 31: self = .combatPlayEndFadeTransition - case 32: self = .combatCountdownStarted - case 33: self = .combatPlayBackButtonSfx - case 34: self = .combatSetupCombatStageSubscriptions - case 35: self = .combatOpponentRetrievePokemon - case 36: self = .combatHideNameplate - case 37: self = .combatDisplayPhysicalShield - case 38: self = .combatUpdateTimer - case 39: self = .combatStopChargeAttackEffects - case 40: self = .combatDefensiveMiniGameDecided - case 41: self = .combatDefensiveMiniGameServerResponse - case 42: self = .combatPauseNotifyCombatPokemon + case 0: self = .unset + case 1: self = .success + case 2: self = .errorCombatNotFound + case 3: self = .errorCombatIncomplete + case 4: self = .errorPlayerNotInCombat + case 5: self = .errorSocialRpc default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .noType: return 0 - case .endNpcCombat: return 1 - case .endInvasionCombat: return 2 - case .combatNotify: return 3 - case .endPvpCombat: return 4 - case .vsSeekerMatchStarted: return 5 - case .combatChargeAttackAnimationActiveChange: return 6 - case .combatUpdateActionUi: return 7 - case .combatExitCombatState: return 8 - case .combatSuperEffectiveChargedAttacksUpdate: return 9 - case .combatStateEntered: return 10 - case .combatStateDone: return 11 - case .combatStateExited: return 12 - case .combatInitializePresentationDirector: return 13 - case .combatShowUi: return 14 - case .combatHideUi: return 15 - case .combatShowMessage: return 16 - case .combatShowToast: return 17 - case .combatShowTutorial: return 18 - case .combatUpdateIsShowingChargeAnim: return 19 - case .combatPlayMiniGame: return 20 - case .combatContinueAfterMiniGame: return 21 - case .combatShowSpecialAttack: return 22 - case .combatSpecialMoveStateEnded: return 23 - case .combatCleanUpSpecialMoveState: return 24 - case .combatHandleSpecialMoveCameraZoom: return 25 - case .combatShieldUsed: return 26 - case .combatDefenderFlinch: return 27 - case .combatOpponentReact: return 28 - case .combatFocusOnPokemon: return 29 - case .combatPlayStartFadeTransition: return 30 - case .combatPlayEndFadeTransition: return 31 - case .combatCountdownStarted: return 32 - case .combatPlayBackButtonSfx: return 33 - case .combatSetupCombatStageSubscriptions: return 34 - case .combatOpponentRetrievePokemon: return 35 - case .combatHideNameplate: return 36 - case .combatDisplayPhysicalShield: return 37 - case .combatUpdateTimer: return 38 - case .combatStopChargeAttackEffects: return 39 - case .combatDefensiveMiniGameDecided: return 40 - case .combatDefensiveMiniGameServerResponse: return 41 - case .combatPauseNotifyCombatPokemon: return 42 + case .unset: return 0 + case .success: return 1 + case .errorCombatNotFound: return 2 + case .errorCombatIncomplete: return 3 + case .errorPlayerNotInCombat: return 4 + case .errorSocialRpc: return 5 case .UNRECOGNIZED(let i): return i } } @@ -48429,474 +49996,200 @@ public struct CombatPubSubDataProto { #if swift(>=4.2) -extension CombatPubSubDataProto.TypeEnum: CaseIterable { +extension CombatFriendRequestOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatPubSubDataProto.TypeEnum] = [ - .noType, - .endNpcCombat, - .endInvasionCombat, - .combatNotify, - .endPvpCombat, - .vsSeekerMatchStarted, - .combatChargeAttackAnimationActiveChange, - .combatUpdateActionUi, - .combatExitCombatState, - .combatSuperEffectiveChargedAttacksUpdate, - .combatStateEntered, - .combatStateDone, - .combatStateExited, - .combatInitializePresentationDirector, - .combatShowUi, - .combatHideUi, - .combatShowMessage, - .combatShowToast, - .combatShowTutorial, - .combatUpdateIsShowingChargeAnim, - .combatPlayMiniGame, - .combatContinueAfterMiniGame, - .combatShowSpecialAttack, - .combatSpecialMoveStateEnded, - .combatCleanUpSpecialMoveState, - .combatHandleSpecialMoveCameraZoom, - .combatShieldUsed, - .combatDefenderFlinch, - .combatOpponentReact, - .combatFocusOnPokemon, - .combatPlayStartFadeTransition, - .combatPlayEndFadeTransition, - .combatCountdownStarted, - .combatPlayBackButtonSfx, - .combatSetupCombatStageSubscriptions, - .combatOpponentRetrievePokemon, - .combatHideNameplate, - .combatDisplayPhysicalShield, - .combatUpdateTimer, - .combatStopChargeAttackEffects, - .combatDefensiveMiniGameDecided, - .combatDefensiveMiniGameServerResponse, - .combatPauseNotifyCombatPokemon, + public static var allCases: [CombatFriendRequestOutProto.Result] = [ + .unset, + .success, + .errorCombatNotFound, + .errorCombatIncomplete, + .errorPlayerNotInCombat, + .errorSocialRpc, ] } #endif // swift(>=4.2) -public struct CombatQuestUpdateProto { - // 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. - - public var superEffectiveChargedAttacksUpdate: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct CombatRankingSettingsProto { - // 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. - - public var rankLevel: [CombatRankingSettingsProto.RankLevelProto] = [] - - public var requiredForRewards: CombatRankingSettingsProto.RankLevelProto { - get {return _requiredForRewards ?? CombatRankingSettingsProto.RankLevelProto()} - set {_requiredForRewards = newValue} - } - /// Returns true if `requiredForRewards` has been explicitly set. - public var hasRequiredForRewards: Bool {return self._requiredForRewards != nil} - /// Clears the value of `requiredForRewards`. Subsequent reads from it will return its default value. - public mutating func clearRequiredForRewards() {self._requiredForRewards = nil} - - public var minRankToDisplayRating: Int32 = 0 - - public var minRatingRequired: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct RankLevelProto { - // 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. - - public var rankLevel: Int32 = 0 - - public var additionalTotalBattlesRequired: Int32 = 0 - - public var additionalWinsRequired: Int32 = 0 - - public var minRatingRequired: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _requiredForRewards: CombatRankingSettingsProto.RankLevelProto? = nil -} - -public struct CombatSeasonResult { +public struct CombatFriendRequestProto { // 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. - public var season: Int32 = 0 - - public var rank: Int32 = 0 - - public var totalBattles: Int32 = 0 - - public var totalWins: Int32 = 0 - - public var rating: Float = 0 - - public var longestWinStreak: Int32 = 0 - - public var currentStreak: Int32 = 0 - - public var stardustEarned: Int64 = 0 + public var combatID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CombatSettingsProto { +public struct CombatGlobalSettingsProto { // 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. - public var roundDurationSeconds: Float { - get {return _storage._roundDurationSeconds} - set {_uniqueStorage()._roundDurationSeconds = newValue} - } - - public var turnDurationSeconds: Float { - get {return _storage._turnDurationSeconds} - set {_uniqueStorage()._turnDurationSeconds = newValue} - } - - public var minigameDurationSeconds: Float { - get {return _storage._minigameDurationSeconds} - set {_uniqueStorage()._minigameDurationSeconds = newValue} - } - - public var sameTypeAttackBonusMultiplier: Float { - get {return _storage._sameTypeAttackBonusMultiplier} - set {_uniqueStorage()._sameTypeAttackBonusMultiplier = newValue} - } - - public var fastAttackBonusMultiplier: Float { - get {return _storage._fastAttackBonusMultiplier} - set {_uniqueStorage()._fastAttackBonusMultiplier = newValue} - } - - public var chargeAttackBonusMultiplier: Float { - get {return _storage._chargeAttackBonusMultiplier} - set {_uniqueStorage()._chargeAttackBonusMultiplier = newValue} - } - - public var defenseBonusMultiplier: Float { - get {return _storage._defenseBonusMultiplier} - set {_uniqueStorage()._defenseBonusMultiplier = newValue} - } - - public var minigameBonusBaseMultiplier: Float { - get {return _storage._minigameBonusBaseMultiplier} - set {_uniqueStorage()._minigameBonusBaseMultiplier = newValue} - } - - public var minigameBonusVariableMultiplier: Float { - get {return _storage._minigameBonusVariableMultiplier} - set {_uniqueStorage()._minigameBonusVariableMultiplier = newValue} - } - - public var maxEnergy: Int32 { - get {return _storage._maxEnergy} - set {_uniqueStorage()._maxEnergy = newValue} - } - - public var defenderMinigameMultiplier: Float { - get {return _storage._defenderMinigameMultiplier} - set {_uniqueStorage()._defenderMinigameMultiplier = newValue} - } - - public var changePokemonDurationSeconds: Float { - get {return _storage._changePokemonDurationSeconds} - set {_uniqueStorage()._changePokemonDurationSeconds = newValue} - } - - public var minigameSubmitScoreDurationSeconds: Float { - get {return _storage._minigameSubmitScoreDurationSeconds} - set {_uniqueStorage()._minigameSubmitScoreDurationSeconds = newValue} - } - - public var quickSwapCombatStartAvailableSeconds: Float { - get {return _storage._quickSwapCombatStartAvailableSeconds} - set {_uniqueStorage()._quickSwapCombatStartAvailableSeconds = newValue} - } - - public var quickSwapCooldownDurationSeconds: Float { - get {return _storage._quickSwapCooldownDurationSeconds} - set {_uniqueStorage()._quickSwapCooldownDurationSeconds = newValue} + public var enableCombat: Bool { + get {return _storage._enableCombat} + set {_uniqueStorage()._enableCombat = newValue} } - public var offensiveInputChallengeSettings: CombatOffensiveInputChallengeSettings { - get {return _storage._offensiveInputChallengeSettings ?? CombatOffensiveInputChallengeSettings()} - set {_uniqueStorage()._offensiveInputChallengeSettings = newValue} + public var maximumDailyRewardedBattles: Int32 { + get {return _storage._maximumDailyRewardedBattles} + set {_uniqueStorage()._maximumDailyRewardedBattles = newValue} } - /// Returns true if `offensiveInputChallengeSettings` has been explicitly set. - public var hasOffensiveInputChallengeSettings: Bool {return _storage._offensiveInputChallengeSettings != nil} - /// Clears the value of `offensiveInputChallengeSettings`. Subsequent reads from it will return its default value. - public mutating func clearOffensiveInputChallengeSettings() {_uniqueStorage()._offensiveInputChallengeSettings = nil} - public var defensiveInputChallengeSettings: CombatDefensiveInputChallengeSettings { - get {return _storage._defensiveInputChallengeSettings ?? CombatDefensiveInputChallengeSettings()} - set {_uniqueStorage()._defensiveInputChallengeSettings = newValue} + public var enableCombatStatStages: Bool { + get {return _storage._enableCombatStatStages} + set {_uniqueStorage()._enableCombatStatStages = newValue} } - /// Returns true if `defensiveInputChallengeSettings` has been explicitly set. - public var hasDefensiveInputChallengeSettings: Bool {return _storage._defensiveInputChallengeSettings != nil} - /// Clears the value of `defensiveInputChallengeSettings`. Subsequent reads from it will return its default value. - public mutating func clearDefensiveInputChallengeSettings() {_uniqueStorage()._defensiveInputChallengeSettings = nil} - public var chargeScoreBase: Float { - get {return _storage._chargeScoreBase} - set {_uniqueStorage()._chargeScoreBase = newValue} + public var minimumPlayerLevel: UInt32 { + get {return _storage._minimumPlayerLevel} + set {_uniqueStorage()._minimumPlayerLevel = newValue} } - public var chargeScoreNice: Float { - get {return _storage._chargeScoreNice} - set {_uniqueStorage()._chargeScoreNice = newValue} + public var maximumDailyNpcRewardedBattles: Int32 { + get {return _storage._maximumDailyNpcRewardedBattles} + set {_uniqueStorage()._maximumDailyNpcRewardedBattles = newValue} } - public var chargeScoreGreat: Float { - get {return _storage._chargeScoreGreat} - set {_uniqueStorage()._chargeScoreGreat = newValue} + public var activeCombatUpdateIntervalMs: Int32 { + get {return _storage._activeCombatUpdateIntervalMs} + set {_uniqueStorage()._activeCombatUpdateIntervalMs = newValue} } - public var chargeScoreExcellent: Float { - get {return _storage._chargeScoreExcellent} - set {_uniqueStorage()._chargeScoreExcellent = newValue} + public var waitingForPlayerUpdateIntervalMs: Int32 { + get {return _storage._waitingForPlayerUpdateIntervalMs} + set {_uniqueStorage()._waitingForPlayerUpdateIntervalMs = newValue} } - public var swapAnimationDurationTurns: Int32 { - get {return _storage._swapAnimationDurationTurns} - set {_uniqueStorage()._swapAnimationDurationTurns = newValue} + public var readyForBattleUpdateIntervalMs: Int32 { + get {return _storage._readyForBattleUpdateIntervalMs} + set {_uniqueStorage()._readyForBattleUpdateIntervalMs = newValue} } - public var superEffectiveFlyoutDurationTurns: Int32 { - get {return _storage._superEffectiveFlyoutDurationTurns} - set {_uniqueStorage()._superEffectiveFlyoutDurationTurns = newValue} + public var preMoveSubmitWindowMs: Int32 { + get {return _storage._preMoveSubmitWindowMs} + set {_uniqueStorage()._preMoveSubmitWindowMs = newValue} } - public var notVeryEffectiveFlyoutDurationTurns: Int32 { - get {return _storage._notVeryEffectiveFlyoutDurationTurns} - set {_uniqueStorage()._notVeryEffectiveFlyoutDurationTurns = newValue} + public var postMoveSubmitWindowMs: Int32 { + get {return _storage._postMoveSubmitWindowMs} + set {_uniqueStorage()._postMoveSubmitWindowMs = newValue} } - public var blockedEffectiveFlyoutDurationTurns: Int32 { - get {return _storage._blockedEffectiveFlyoutDurationTurns} - set {_uniqueStorage()._blockedEffectiveFlyoutDurationTurns = newValue} + public var enableSockets: Bool { + get {return _storage._enableSockets} + set {_uniqueStorage()._enableSockets = newValue} } - public var normalEffectiveFlyoutDurationTurns: Int32 { - get {return _storage._normalEffectiveFlyoutDurationTurns} - set {_uniqueStorage()._normalEffectiveFlyoutDurationTurns = newValue} + public var enableSpinMinigame: Bool { + get {return _storage._enableSpinMinigame} + set {_uniqueStorage()._enableSpinMinigame = newValue} } - public var faintAnimationDurationTurns: Int32 { - get {return _storage._faintAnimationDurationTurns} - set {_uniqueStorage()._faintAnimationDurationTurns = newValue} + public var enableQuickSwapV2: Bool { + get {return _storage._enableQuickSwapV2} + set {_uniqueStorage()._enableQuickSwapV2 = newValue} } - public var npcSwapDelayTurns: Int32 { - get {return _storage._npcSwapDelayTurns} - set {_uniqueStorage()._npcSwapDelayTurns = newValue} + public var deprecatedVsSeekerSetting: Bool { + get {return _storage._deprecatedVsSeekerSetting} + set {_uniqueStorage()._deprecatedVsSeekerSetting = newValue} } - public var npcChargedAttackDelayTurns: Int32 { - get {return _storage._npcChargedAttackDelayTurns} - set {_uniqueStorage()._npcChargedAttackDelayTurns = newValue} + public var vsSeekerWalkingDistPollDurationMs: Int32 { + get {return _storage._vsSeekerWalkingDistPollDurationMs} + set {_uniqueStorage()._vsSeekerWalkingDistPollDurationMs = newValue} } - public var shadowPokemonAttackBonusMultiplier: Float { - get {return _storage._shadowPokemonAttackBonusMultiplier} - set {_uniqueStorage()._shadowPokemonAttackBonusMultiplier = newValue} + public var vsSeekerPlayerMinLevel: Int32 { + get {return _storage._vsSeekerPlayerMinLevel} + set {_uniqueStorage()._vsSeekerPlayerMinLevel = newValue} } - public var shadowPokemonDefenseBonusMultiplier: Float { - get {return _storage._shadowPokemonDefenseBonusMultiplier} - set {_uniqueStorage()._shadowPokemonDefenseBonusMultiplier = newValue} + public var matchmakingPollDurationMs: Int32 { + get {return _storage._matchmakingPollDurationMs} + set {_uniqueStorage()._matchmakingPollDurationMs = newValue} } - public var purifiedPokemonAttackMultiplierVsShadow: Float { - get {return _storage._purifiedPokemonAttackMultiplierVsShadow} - set {_uniqueStorage()._purifiedPokemonAttackMultiplierVsShadow = newValue} + public var enableParticleMinigame: Bool { + get {return _storage._enableParticleMinigame} + set {_uniqueStorage()._enableParticleMinigame = newValue} } - public var combatRefactorToggle: [CombatRefactorToggleProto] { - get {return _storage._combatRefactorToggle} - set {_uniqueStorage()._combatRefactorToggle = newValue} + public var enableVsSeekerUpgradeIap: Bool { + get {return _storage._enableVsSeekerUpgradeIap} + set {_uniqueStorage()._enableVsSeekerUpgradeIap = newValue} } - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} + public var enableFlyoutAnimations: Bool { + get {return _storage._enableFlyoutAnimations} + set {_uniqueStorage()._enableFlyoutAnimations = newValue} } - ///todo: not in apk, need look better (maybe bool but i leave as int for look if > 1) - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} + public var enableBattleHub: Bool { + get {return _storage._enableBattleHub} + set {_uniqueStorage()._enableBattleHub = newValue} } - public var obCombatSettings: ObCombatSettings { - get {return _storage._obCombatSettings ?? ObCombatSettings()} - set {_uniqueStorage()._obCombatSettings = newValue} + public var matchmakingTimeoutDurationMs: Int32 { + get {return _storage._matchmakingTimeoutDurationMs} + set {_uniqueStorage()._matchmakingTimeoutDurationMs = newValue} } - /// Returns true if `obCombatSettings` has been explicitly set. - public var hasObCombatSettings: Bool {return _storage._obCombatSettings != nil} - /// Clears the value of `obCombatSettings`. Subsequent reads from it will return its default value. - public mutating func clearObCombatSettings() {_uniqueStorage()._obCombatSettings = nil} - public var obCombatSettings1: ObCombatSettings1 { - get {return _storage._obCombatSettings1 ?? ObCombatSettings1()} - set {_uniqueStorage()._obCombatSettings1 = newValue} + public var plannedDowntimeTimestampMs: Int64 { + get {return _storage._plannedDowntimeTimestampMs} + set {_uniqueStorage()._plannedDowntimeTimestampMs = newValue} } - /// Returns true if `obCombatSettings1` has been explicitly set. - public var hasObCombatSettings1: Bool {return _storage._obCombatSettings1 != nil} - /// Clears the value of `obCombatSettings1`. Subsequent reads from it will return its default value. - public mutating func clearObCombatSettings1() {_uniqueStorage()._obCombatSettings1 = nil} - public var obInt322: Int32 { - get {return _storage._obInt322} - set {_uniqueStorage()._obInt322 = newValue} + public var latencyCompensationThresholdMs: Int32 { + get {return _storage._latencyCompensationThresholdMs} + set {_uniqueStorage()._latencyCompensationThresholdMs = newValue} } - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct CombatSpecialMovePlayerDataProto { - // 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. - - public var player: ObCombatSpecialmovePlayerData { - get {return _player ?? ObCombatSpecialmovePlayerData()} - set {_player = newValue} + public var combatRefactorAllowlistSet1: [CombatGlobalSettingsProto.CombatRefactorFlags] { + get {return _storage._combatRefactorAllowlistSet1} + set {_uniqueStorage()._combatRefactorAllowlistSet1 = newValue} } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} - public var obData: ObCombatSpecialmovePlayerData { - get {return _obData ?? ObCombatSpecialmovePlayerData()} - set {_obData = newValue} + public var combatRefactorAllowlistGblLeagues: [String] { + get {return _storage._combatRefactorAllowlistGblLeagues} + set {_uniqueStorage()._combatRefactorAllowlistGblLeagues = newValue} } - /// Returns true if `obData` has been explicitly set. - public var hasObData: Bool {return self._obData != nil} - /// Clears the value of `obData`. Subsequent reads from it will return its default value. - public mutating func clearObData() {self._obData = nil} - - public var obString: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _player: ObCombatSpecialmovePlayerData? = nil - fileprivate var _obData: ObCombatSpecialmovePlayerData? = nil -} - -public struct CombatStatStageSettingsProto { - // 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. - - public var minimumStatStage: Int32 = 0 - - public var maximumStatStage: Int32 = 0 - - public var attackBuffMultiplier: [Float] = [] - - public var defenseBuffMultiplier: [Float] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct CombatSyncServerDataProto { - // 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. - - public var obInt32: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct CombatSyncServerResponseDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var result: CombatSyncServerResponseStateDataProto.Result = .unset - - public var obUint32: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct CombatSyncServerResponseStateDataProto { - // 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. - - public var obInt64: Int64 = 0 - - public var result: CombatSyncServerResponseStateDataProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { + public enum CombatRefactorFlags: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 + case none // = 0 + case trainerNpcCombat // = 1 + case invasionGruntCombat // = 2 + case invasionBossCombat // = 3 + case friendCombat // = 4 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .none } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure + case 0: self = .none + case 1: self = .trainerNpcCombat + case 2: self = .invasionGruntCombat + case 3: self = .invasionBossCombat + case 4: self = .friendCombat default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 + case .none: return 0 + case .trainerNpcCombat: return 1 + case .invasionGruntCombat: return 2 + case .invasionBossCombat: return 3 + case .friendCombat: return 4 case .UNRECOGNIZED(let i): return i } } @@ -48904,143 +50197,98 @@ public struct CombatSyncServerResponseStateDataProto { } public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension CombatSyncServerResponseStateDataProto.Result: CaseIterable { +extension CombatGlobalSettingsProto.CombatRefactorFlags: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CombatSyncServerResponseStateDataProto.Result] = [ - .unset, - .success, - .failure, + public static var allCases: [CombatGlobalSettingsProto.CombatRefactorFlags] = [ + .none, + .trainerNpcCombat, + .invasionGruntCombat, + .invasionBossCombat, + .friendCombat, ] } #endif // swift(>=4.2) -public struct CombatTypeProto { +public struct CombatHubEntranceTelemetry { // 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. - public var type: HoloPokemonType = .pokemonTypeNone - - public var niceLevelThreshold: Float = 0 - - public var greatLevelThreshold: Float = 0 - - public var excellentLevelThreshold: Float = 0 + public var combatHubTelemetryID: CombatHubEntranceTelemetryIds = .undefinedEvent public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CommonFilterProto { +public struct CombatIdMismatchData { // 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. - public var applicationIdentifier: String = String() - - public var operatingSystemName: String = String() - - public var deviceModel: String = String() - - public var localeCountryCode: String = String() - - public var localeLanguageCode: String = String() - - public var samplingProbability: Double = 0 - - public var qualityLevel: String = String() - - public var networkConnectivityType: String = String() - - public var gameContext: String = String() - - public var languageCode: String = String() - - public var timezone: String = String() - - public var ipCountryCode: String = String() - - public var graphicsDeviceVendor: String = String() - - public var graphicsDeviceName: String = String() - - public var graphicsDeviceType: String = String() + public var nonMatchingCombatID: String = String() - public var graphicsShaderLevel: String = String() + public var logType: CombatLogData.CombatLogDataHeader.LogType = .noType public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CommonTelemetryBootTime { +public struct CombatLeagueProto { // 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. - public var bootPhase: String = String() - - public var durationMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct CommonTelemetryLogIn { - // 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. + public var title: String = String() - public var timestampMs: Int64 = 0 + public var enabled: Bool = false - public var preLoginUserID: String = String() + public var unlockCondition: [CombatLeagueProto.UnlockConditionProto] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemonCondition: [CombatLeagueProto.PokemonConditionProto] = [] - public init() {} -} + public var iconURL: String = String() -public struct CommonTelemetryLogOut { - // 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. + public var pokemonCount: Int32 = 0 - public var timestampMs: Int64 = 0 + public var bannedPokemon: [HoloPokemonId] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var badgeType: HoloBadgeType = .badgeUnset - public init() {} -} + public var minigameDefenseChanceLimit: Int32 = 0 -public struct CommonTelemetryOmniPushEvent { - // 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. + public var battlePartyCombatLeagueTemplateID: String = String() - public var campaignID: String = String() + public var leagueType: CombatLeagueProto.LeagueType = .none - public var treatmentGroup: String = String() + public var borderColorHex: String = String() - public var pushEvent: CommonTelemetryOmniPushEvent.PushEventType = .unset + public var allowTempEvos: Bool = false - public var eventTimestampMs: Int64 = 0 + public var combatExperiment: [CombatExperiment] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum PushEventType: SwiftProtobuf.Enum { + public enum ConditionType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case received // = 1 - case opened // = 2 - case dismissed // = 3 - case bounced // = 4 + case withPokemonCpLimit // = 1 + case withPlayerLevel // = 2 + case withPokemonType // = 3 + case withPokemonCategory // = 4 + case withUniquePokemon // = 5 + case pokemonWhitelist // = 6 + case pokemonBanlist // = 7 + case pokemonCaughtTimestamp // = 8 + case pokemonLevelRange // = 9 case UNRECOGNIZED(Int) public init() { @@ -49050,10 +50298,15 @@ public struct CommonTelemetryOmniPushEvent { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .received - case 2: self = .opened - case 3: self = .dismissed - case 4: self = .bounced + case 1: self = .withPokemonCpLimit + case 2: self = .withPlayerLevel + case 3: self = .withPokemonType + case 4: self = .withPokemonCategory + case 5: self = .withUniquePokemon + case 6: self = .pokemonWhitelist + case 7: self = .pokemonBanlist + case 8: self = .pokemonCaughtTimestamp + case 9: self = .pokemonLevelRange default: self = .UNRECOGNIZED(rawValue) } } @@ -49061,350 +50314,435 @@ public struct CommonTelemetryOmniPushEvent { public var rawValue: Int { switch self { case .unset: return 0 - case .received: return 1 - case .opened: return 2 - case .dismissed: return 3 - case .bounced: return 4 + case .withPokemonCpLimit: return 1 + case .withPlayerLevel: return 2 + case .withPokemonType: return 3 + case .withPokemonCategory: return 4 + case .withUniquePokemon: return 5 + case .pokemonWhitelist: return 6 + case .pokemonBanlist: return 7 + case .pokemonCaughtTimestamp: return 8 + case .pokemonLevelRange: return 9 case .UNRECOGNIZED(let i): return i } } } - public init() {} -} + public enum LeagueType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case none // = 0 + case standard // = 1 + case premier // = 2 + case UNRECOGNIZED(Int) -#if swift(>=4.2) + public init() { + self = .none + } -extension CommonTelemetryOmniPushEvent.PushEventType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CommonTelemetryOmniPushEvent.PushEventType] = [ - .unset, - .received, - .opened, - .dismissed, - .bounced, - ] -} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .none + case 1: self = .standard + case 2: self = .premier + default: self = .UNRECOGNIZED(rawValue) + } + } -#endif // swift(>=4.2) + public var rawValue: Int { + switch self { + case .none: return 0 + case .standard: return 1 + case .premier: return 2 + case .UNRECOGNIZED(let i): return i + } + } -public struct CommonTelemetryOmniPushOpened { - // 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. + } - public var pushID: String = String() + public struct PokemonBanlist { + // 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. - public var openedTimestampMs: Int64 = 0 + public var name: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemon: [CombatLeagueProto.PokemonWithForm] = [] - public init() {} -} + public var groupCondition: CombatLeagueProto.PokemonGroupConditionProto { + get {return _groupCondition ?? CombatLeagueProto.PokemonGroupConditionProto()} + set {_groupCondition = newValue} + } + /// Returns true if `groupCondition` has been explicitly set. + public var hasGroupCondition: Bool {return self._groupCondition != nil} + /// Clears the value of `groupCondition`. Subsequent reads from it will return its default value. + public mutating func clearGroupCondition() {self._groupCondition = nil} -public struct CommonTelemetryOmniPushReceived { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var pushID: String = String() + public init() {} - public var receivedTimestampMs: Int64 = 0 + fileprivate var _groupCondition: CombatLeagueProto.PokemonGroupConditionProto? = nil + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct PokemonCaughtTimestamp { + // 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. - public init() {} -} + public var afterTimestamp: Int64 = 0 -public struct CommonTelemetryShopClick { - // 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. + public var beforeTimestamp: Int64 = 0 - public var shoppingPageClickID: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var skuID: String = String() + public init() {} + } - public var itemID: String = String() - - public var consolidatedItemID: String = String() - - public var currency: String = String() - - public var fiatPrice: Int64 = 0 - - public var inGamePurchaseDetails: [InGamePurchaseDetails] = [] - - public var isItemFreeFiat: Bool = false - - public var isItemFreeIngame: Bool = false - - public var timeElapsedSinceEnterPage: Int64 = 0 - - public var rootStorePageSessionID: String = String() - - public var pairID: Int64 = 0 - - public var storePageName: String = String() - - public var rootStorePageName: String = String() + public struct PokemonConditionProto { + // 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. - public var accessType: CommonTelemetryShopClick.AccessType = .unspecified + public var condition: CombatLeagueProto.PokemonConditionProto.OneOf_Condition? = nil - public var fiatFormattedPrice: String = String() + public var withPokemonCpLimit: WithPokemonCpLimitProto { + get { + if case .withPokemonCpLimit(let v)? = condition {return v} + return WithPokemonCpLimitProto() + } + set {condition = .withPokemonCpLimit(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var withPokemonType: WithPokemonTypeProto { + get { + if case .withPokemonType(let v)? = condition {return v} + return WithPokemonTypeProto() + } + set {condition = .withPokemonType(newValue)} + } - public enum AccessType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unspecified // = 0 - case passive // = 1 - case active // = 2 - case UNRECOGNIZED(Int) + public var withPokemonCategory: WithPokemonCategoryProto { + get { + if case .withPokemonCategory(let v)? = condition {return v} + return WithPokemonCategoryProto() + } + set {condition = .withPokemonCategory(newValue)} + } - public init() { - self = .unspecified + public var pokemonWhitelist: CombatLeagueProto.PokemonWhitelist { + get { + if case .pokemonWhitelist(let v)? = condition {return v} + return CombatLeagueProto.PokemonWhitelist() + } + set {condition = .pokemonWhitelist(newValue)} } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unspecified - case 1: self = .passive - case 2: self = .active - default: self = .UNRECOGNIZED(rawValue) + public var pokemonBanlist: CombatLeagueProto.PokemonBanlist { + get { + if case .pokemonBanlist(let v)? = condition {return v} + return CombatLeagueProto.PokemonBanlist() } + set {condition = .pokemonBanlist(newValue)} } - public var rawValue: Int { - switch self { - case .unspecified: return 0 - case .passive: return 1 - case .active: return 2 - case .UNRECOGNIZED(let i): return i + public var pokemonCaughtTimestamp: CombatLeagueProto.PokemonCaughtTimestamp { + get { + if case .pokemonCaughtTimestamp(let v)? = condition {return v} + return CombatLeagueProto.PokemonCaughtTimestamp() } + set {condition = .pokemonCaughtTimestamp(newValue)} } - } + public var pokemonLevelRange: CombatLeagueProto.PokemonLevelRange { + get { + if case .pokemonLevelRange(let v)? = condition {return v} + return CombatLeagueProto.PokemonLevelRange() + } + set {condition = .pokemonLevelRange(newValue)} + } - public init() {} -} + public var type: CombatLeagueProto.ConditionType = .unset -#if swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() -extension CommonTelemetryShopClick.AccessType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CommonTelemetryShopClick.AccessType] = [ - .unspecified, - .passive, - .active, - ] -} + public enum OneOf_Condition: Equatable { + case withPokemonCpLimit(WithPokemonCpLimitProto) + case withPokemonType(WithPokemonTypeProto) + case withPokemonCategory(WithPokemonCategoryProto) + case pokemonWhitelist(CombatLeagueProto.PokemonWhitelist) + case pokemonBanlist(CombatLeagueProto.PokemonBanlist) + case pokemonCaughtTimestamp(CombatLeagueProto.PokemonCaughtTimestamp) + case pokemonLevelRange(CombatLeagueProto.PokemonLevelRange) -#endif // swift(>=4.2) + #if !swift(>=4.1) + public static func ==(lhs: CombatLeagueProto.PokemonConditionProto.OneOf_Condition, rhs: CombatLeagueProto.PokemonConditionProto.OneOf_Condition) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.withPokemonCpLimit, .withPokemonCpLimit): return { + guard case .withPokemonCpLimit(let l) = lhs, case .withPokemonCpLimit(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonType, .withPokemonType): return { + guard case .withPokemonType(let l) = lhs, case .withPokemonType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonCategory, .withPokemonCategory): return { + guard case .withPokemonCategory(let l) = lhs, case .withPokemonCategory(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonWhitelist, .pokemonWhitelist): return { + guard case .pokemonWhitelist(let l) = lhs, case .pokemonWhitelist(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonBanlist, .pokemonBanlist): return { + guard case .pokemonBanlist(let l) = lhs, case .pokemonBanlist(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonCaughtTimestamp, .pokemonCaughtTimestamp): return { + guard case .pokemonCaughtTimestamp(let l) = lhs, case .pokemonCaughtTimestamp(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonLevelRange, .pokemonLevelRange): return { + guard case .pokemonLevelRange(let l) = lhs, case .pokemonLevelRange(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } -public struct CommonTelemetryShopView { - // 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. + public init() {} + } - public var shoppingPageViewTypeID: String = String() + public struct PokemonGroupConditionProto { + // 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. - public var viewStartTimestampMs: Int64 = 0 + public var pokedexRange: [CombatLeagueProto.PokemonGroupConditionProto.PokedexNumberRange] = [] - public var viewEndTimestampMs: Int64 = 0 + public var canEvolve: Bool = false - public var consolidatedItemID: [String] = [] + public var hasMega_p: Bool = false - public var rootStorePageSessionID: String = String() + public var isEvolved: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemonClass: [HoloPokemonClass] = [] - public init() {} -} + public var alignment: [PokemonDisplayProto.Alignment] = [] -public struct CompleteCompetitiveSeasonOutProto { - // 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. + public var pokemonSize: [HoloPokemonSize] = [] - public var result: CompleteCompetitiveSeasonOutProto.Result = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var lootProto: LootProto { - get {return _lootProto ?? LootProto()} - set {_lootProto = newValue} - } - /// Returns true if `lootProto` has been explicitly set. - public var hasLootProto: Bool {return self._lootProto != nil} - /// Clears the value of `lootProto`. Subsequent reads from it will return its default value. - public mutating func clearLootProto() {self._lootProto = nil} + public struct PokedexNumberRange { + // 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. - public var newRank: Int32 = 0 + public var start: Int32 = 0 - public var newRating: Float = 0 + public var end: Int32 = 0 - public var lastSeasonResult: CombatSeasonResult { - get {return _lastSeasonResult ?? CombatSeasonResult()} - set {_lastSeasonResult = newValue} - } - /// Returns true if `lastSeasonResult` has been explicitly set. - public var hasLastSeasonResult: Bool {return self._lastSeasonResult != nil} - /// Clears the value of `lastSeasonResult`. Subsequent reads from it will return its default value. - public mutating func clearLastSeasonResult() {self._lastSeasonResult = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var wasPlayerActive: Bool = false + public init() {} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPlayerHasNoVsSeeker // = 2 - case errorRewardsAlreadyCollected // = 3 - case UNRECOGNIZED(Int) + public struct PokemonLevelRange { + // 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. - public init() { - self = .unset - } + public var minLevel: Int32 = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPlayerHasNoVsSeeker - case 3: self = .errorRewardsAlreadyCollected - default: self = .UNRECOGNIZED(rawValue) - } - } + public var maxLevel: Int32 = 0 - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPlayerHasNoVsSeeker: return 2 - case .errorRewardsAlreadyCollected: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} } - public init() {} - - fileprivate var _lootProto: LootProto? = nil - fileprivate var _lastSeasonResult: CombatSeasonResult? = nil -} + public struct PokemonWhitelist { + // 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. -#if swift(>=4.2) + public var name: String = String() -extension CompleteCompetitiveSeasonOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteCompetitiveSeasonOutProto.Result] = [ - .unset, - .success, - .errorPlayerHasNoVsSeeker, - .errorRewardsAlreadyCollected, - ] -} + public var pokemon: [CombatLeagueProto.PokemonWithForm] = [] -#endif // swift(>=4.2) + public var groupCondition: CombatLeagueProto.PokemonGroupConditionProto { + get {return _groupCondition ?? CombatLeagueProto.PokemonGroupConditionProto()} + set {_groupCondition = newValue} + } + /// Returns true if `groupCondition` has been explicitly set. + public var hasGroupCondition: Bool {return self._groupCondition != nil} + /// Clears the value of `groupCondition`. Subsequent reads from it will return its default value. + public mutating func clearGroupCondition() {self._groupCondition = nil} -public struct CompleteCompetitiveSeasonProto { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} - public init() {} -} + fileprivate var _groupCondition: CombatLeagueProto.PokemonGroupConditionProto? = nil + } -public struct CompleteInvasionDialogueOutProto { - // 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. + public struct PokemonWithForm { + // 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. - public var status: InvasionStatus.Status = .unset + public var id: HoloPokemonId = .missingno - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var form: PokemonDisplayProto.Form = .unset - public init() {} -} + public var forms: [PokemonDisplayProto.Form] = [] -public struct CompleteInvasionDialogueProto { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var incidentLookup: IncidentLookupProto { - get {return _incidentLookup ?? IncidentLookupProto()} - set {_incidentLookup = newValue} + public init() {} } - /// Returns true if `incidentLookup` has been explicitly set. - public var hasIncidentLookup: Bool {return self._incidentLookup != nil} - /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. - public mutating func clearIncidentLookup() {self._incidentLookup = nil} - public var step: Int32 = 0 + public struct UnlockConditionProto { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var condition: CombatLeagueProto.UnlockConditionProto.OneOf_Condition? = nil - public init() {} + public var withPlayerLevel: WithPlayerLevelProto { + get { + if case .withPlayerLevel(let v)? = condition {return v} + return WithPlayerLevelProto() + } + set {condition = .withPlayerLevel(newValue)} + } - fileprivate var _incidentLookup: IncidentLookupProto? = nil -} + public var withPokemonCpLimit: WithPokemonCpLimitProto { + get { + if case .withPokemonCpLimit(let v)? = condition {return v} + return WithPokemonCpLimitProto() + } + set {condition = .withPokemonCpLimit(newValue)} + } -public struct CompleteMilestoneOutProto { - // 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. + public var withPokemonType: WithPokemonTypeProto { + get { + if case .withPokemonType(let v)? = condition {return v} + return WithPokemonTypeProto() + } + set {condition = .withPokemonType(newValue)} + } - public var status: CompleteMilestoneOutProto.Status = .unset + public var withPokemonCategory: WithPokemonCategoryProto { + get { + if case .withPokemonCategory(let v)? = condition {return v} + return WithPokemonCategoryProto() + } + set {condition = .withPokemonCategory(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemonWhitelist: CombatLeagueProto.PokemonWhitelist { + get { + if case .pokemonWhitelist(let v)? = condition {return v} + return CombatLeagueProto.PokemonWhitelist() + } + set {condition = .pokemonWhitelist(newValue)} + } - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorDisabled // = 2 - case errorMilestoneNotFound // = 3 - case errorMilestoneComplete // = 4 - case errorMilestoneNotAchieved // = 5 - case errorPokemonInventoryFull // = 6 - case UNRECOGNIZED(Int) + public var pokemonBanlist: CombatLeagueProto.PokemonBanlist { + get { + if case .pokemonBanlist(let v)? = condition {return v} + return CombatLeagueProto.PokemonBanlist() + } + set {condition = .pokemonBanlist(newValue)} + } - public init() { - self = .unset + public var pokemonCaughtTimestamp: CombatLeagueProto.PokemonCaughtTimestamp { + get { + if case .pokemonCaughtTimestamp(let v)? = condition {return v} + return CombatLeagueProto.PokemonCaughtTimestamp() + } + set {condition = .pokemonCaughtTimestamp(newValue)} } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorDisabled - case 3: self = .errorMilestoneNotFound - case 4: self = .errorMilestoneComplete - case 5: self = .errorMilestoneNotAchieved - case 6: self = .errorPokemonInventoryFull - default: self = .UNRECOGNIZED(rawValue) + public var pokemonLevelRange: CombatLeagueProto.PokemonLevelRange { + get { + if case .pokemonLevelRange(let v)? = condition {return v} + return CombatLeagueProto.PokemonLevelRange() } + set {condition = .pokemonLevelRange(newValue)} } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorDisabled: return 2 - case .errorMilestoneNotFound: return 3 - case .errorMilestoneComplete: return 4 - case .errorMilestoneNotAchieved: return 5 - case .errorPokemonInventoryFull: return 6 - case .UNRECOGNIZED(let i): return i + public var type: CombatLeagueProto.ConditionType = .unset + + public var minPokemonCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Condition: Equatable { + case withPlayerLevel(WithPlayerLevelProto) + case withPokemonCpLimit(WithPokemonCpLimitProto) + case withPokemonType(WithPokemonTypeProto) + case withPokemonCategory(WithPokemonCategoryProto) + case pokemonWhitelist(CombatLeagueProto.PokemonWhitelist) + case pokemonBanlist(CombatLeagueProto.PokemonBanlist) + case pokemonCaughtTimestamp(CombatLeagueProto.PokemonCaughtTimestamp) + case pokemonLevelRange(CombatLeagueProto.PokemonLevelRange) + + #if !swift(>=4.1) + public static func ==(lhs: CombatLeagueProto.UnlockConditionProto.OneOf_Condition, rhs: CombatLeagueProto.UnlockConditionProto.OneOf_Condition) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.withPlayerLevel, .withPlayerLevel): return { + guard case .withPlayerLevel(let l) = lhs, case .withPlayerLevel(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonCpLimit, .withPokemonCpLimit): return { + guard case .withPokemonCpLimit(let l) = lhs, case .withPokemonCpLimit(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonType, .withPokemonType): return { + guard case .withPokemonType(let l) = lhs, case .withPokemonType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonCategory, .withPokemonCategory): return { + guard case .withPokemonCategory(let l) = lhs, case .withPokemonCategory(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonWhitelist, .pokemonWhitelist): return { + guard case .pokemonWhitelist(let l) = lhs, case .pokemonWhitelist(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonBanlist, .pokemonBanlist): return { + guard case .pokemonBanlist(let l) = lhs, case .pokemonBanlist(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonCaughtTimestamp, .pokemonCaughtTimestamp): return { + guard case .pokemonCaughtTimestamp(let l) = lhs, case .pokemonCaughtTimestamp(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonLevelRange, .pokemonLevelRange): return { + guard case .pokemonLevelRange(let l) = lhs, case .pokemonLevelRange(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } } + #endif } + public init() {} } public init() {} @@ -49412,398 +50750,1053 @@ public struct CompleteMilestoneOutProto { #if swift(>=4.2) -extension CompleteMilestoneOutProto.Status: CaseIterable { +extension CombatLeagueProto.ConditionType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteMilestoneOutProto.Status] = [ + public static var allCases: [CombatLeagueProto.ConditionType] = [ .unset, - .success, - .errorDisabled, - .errorMilestoneNotFound, - .errorMilestoneComplete, - .errorMilestoneNotAchieved, - .errorPokemonInventoryFull, + .withPokemonCpLimit, + .withPlayerLevel, + .withPokemonType, + .withPokemonCategory, + .withUniquePokemon, + .pokemonWhitelist, + .pokemonBanlist, + .pokemonCaughtTimestamp, + .pokemonLevelRange, + ] +} + +extension CombatLeagueProto.LeagueType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatLeagueProto.LeagueType] = [ + .none, + .standard, + .premier, ] } #endif // swift(>=4.2) -public struct CompleteMilestoneProto { +public struct CombatLeagueSettingsProto { // 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. - public var milestoneID: String = String() + public var combatLeagueTemplateID: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CompleteQuestLogEntry { +public struct CombatLogData { // 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. - public var result: CompleteQuestLogEntry.Result = .unset - - public var quest: ClientQuestProto { - get {return _quest ?? ClientQuestProto()} - set {_quest = newValue} + public var data: OneOf_Data? { + get {return _storage._data} + set {_uniqueStorage()._data = newValue} } - /// Returns true if `quest` has been explicitly set. - public var hasQuest: Bool {return self._quest != nil} - /// Clears the value of `quest`. Subsequent reads from it will return its default value. - public mutating func clearQuest() {self._quest = nil} - - public var stamp: [QuestStampProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - public init() { - self = .unset + public var openCombatSessionData: OpenCombatSessionData { + get { + if case .openCombatSessionData(let v)? = _storage._data {return v} + return OpenCombatSessionData() } + set {_uniqueStorage()._data = .openCombatSessionData(newValue)} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } + public var openCombatSessionResponseData: OpenCombatSessionResponseData { + get { + if case .openCombatSessionResponseData(let v)? = _storage._data {return v} + return OpenCombatSessionResponseData() } + set {_uniqueStorage()._data = .openCombatSessionResponseData(newValue)} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } + public var updateCombatData: UpdateCombatData { + get { + if case .updateCombatData(let v)? = _storage._data {return v} + return UpdateCombatData() } - + set {_uniqueStorage()._data = .updateCombatData(newValue)} } - public init() {} - - fileprivate var _quest: ClientQuestProto? = nil -} - -#if swift(>=4.2) - -extension CompleteQuestLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteQuestLogEntry.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct CompleteQuestOutProto { - // 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. - - public var status: CompleteQuestOutProto.Status = .unset - - public var quest: ClientQuestProto { - get {return _quest ?? ClientQuestProto()} - set {_quest = newValue} + public var updateCombatResponseData: UpdateCombatResponseData { + get { + if case .updateCombatResponseData(let v)? = _storage._data {return v} + return UpdateCombatResponseData() + } + set {_uniqueStorage()._data = .updateCombatResponseData(newValue)} } - /// Returns true if `quest` has been explicitly set. - public var hasQuest: Bool {return self._quest != nil} - /// Clears the value of `quest`. Subsequent reads from it will return its default value. - public mutating func clearQuest() {self._quest = nil} - - public var stamp: [QuestStampProto] = [] - public var quests: [ClientQuestProto] = [] + public var quitCombatData: QuitCombatData { + get { + if case .quitCombatData(let v)? = _storage._data {return v} + return QuitCombatData() + } + set {_uniqueStorage()._data = .quitCombatData(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var quitCombatResponseData: QuitCombatResponseData { + get { + if case .quitCombatResponseData(let v)? = _storage._data {return v} + return QuitCombatResponseData() + } + set {_uniqueStorage()._data = .quitCombatResponseData(newValue)} + } - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorQuestNotFound // = 2 - case errorQuestStillInProgress // = 3 - case errorQuestAlreadyCompleted // = 4 - case errorSubquestNotFound // = 5 - case errorSubquestStillInProgress // = 6 - case errorSubquestAlreadyCompleted // = 7 - case errorMultipartStillInProgress // = 8 - case errorMultipartAlreadyCompleted // = 9 - case errorRedeemCompletedQuestStampCardFirst // = 10 - case errorInventoryFull // = 11 - case errorInvalidBranch // = 12 - case errorRewardItemReachLimit // = 13 - case successPartyQuestConcluded // = 14 - case errorPartyQuestClaimRewardsDeadlineExceeded // = 15 - case successPartyQuestForceConcluded // = 16 - case successPartyQuestForceConcludeIgnored // = 17 - case errorPartyQuestForceConcludeStillAwarding // = 18 - case errorPartyQuestForceConcludeAlreadyConcluded // = 19 - case UNRECOGNIZED(Int) + public var webSocketResponseData: WebSocketResponseData { + get { + if case .webSocketResponseData(let v)? = _storage._data {return v} + return WebSocketResponseData() + } + set {_uniqueStorage()._data = .webSocketResponseData(newValue)} + } - public init() { - self = .unset + public var rpcErrorData: RpcErrorData { + get { + if case .rpcErrorData(let v)? = _storage._data {return v} + return RpcErrorData() } + set {_uniqueStorage()._data = .rpcErrorData(newValue)} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorQuestNotFound - case 3: self = .errorQuestStillInProgress - case 4: self = .errorQuestAlreadyCompleted - case 5: self = .errorSubquestNotFound - case 6: self = .errorSubquestStillInProgress - case 7: self = .errorSubquestAlreadyCompleted - case 8: self = .errorMultipartStillInProgress - case 9: self = .errorMultipartAlreadyCompleted - case 10: self = .errorRedeemCompletedQuestStampCardFirst - case 11: self = .errorInventoryFull - case 12: self = .errorInvalidBranch - case 13: self = .errorRewardItemReachLimit - case 14: self = .successPartyQuestConcluded - case 15: self = .errorPartyQuestClaimRewardsDeadlineExceeded - case 16: self = .successPartyQuestForceConcluded - case 17: self = .successPartyQuestForceConcludeIgnored - case 18: self = .errorPartyQuestForceConcludeStillAwarding - case 19: self = .errorPartyQuestForceConcludeAlreadyConcluded - default: self = .UNRECOGNIZED(rawValue) - } + public var getCombatPlayerProfileData: GetCombatPlayerProfileData { + get { + if case .getCombatPlayerProfileData(let v)? = _storage._data {return v} + return GetCombatPlayerProfileData() } + set {_uniqueStorage()._data = .getCombatPlayerProfileData(newValue)} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorQuestNotFound: return 2 - case .errorQuestStillInProgress: return 3 - case .errorQuestAlreadyCompleted: return 4 - case .errorSubquestNotFound: return 5 - case .errorSubquestStillInProgress: return 6 - case .errorSubquestAlreadyCompleted: return 7 - case .errorMultipartStillInProgress: return 8 - case .errorMultipartAlreadyCompleted: return 9 - case .errorRedeemCompletedQuestStampCardFirst: return 10 - case .errorInventoryFull: return 11 - case .errorInvalidBranch: return 12 - case .errorRewardItemReachLimit: return 13 - case .successPartyQuestConcluded: return 14 - case .errorPartyQuestClaimRewardsDeadlineExceeded: return 15 - case .successPartyQuestForceConcluded: return 16 - case .successPartyQuestForceConcludeIgnored: return 17 - case .errorPartyQuestForceConcludeStillAwarding: return 18 - case .errorPartyQuestForceConcludeAlreadyConcluded: return 19 - case .UNRECOGNIZED(let i): return i - } + public var getCombatPlayerProfileResponseData: GetCombatPlayerProfileResponseData { + get { + if case .getCombatPlayerProfileResponseData(let v)? = _storage._data {return v} + return GetCombatPlayerProfileResponseData() } + set {_uniqueStorage()._data = .getCombatPlayerProfileResponseData(newValue)} + } + public var generateCombatChallengeIDData: GenerateCombatChallengeIdData { + get { + if case .generateCombatChallengeIDData(let v)? = _storage._data {return v} + return GenerateCombatChallengeIdData() + } + set {_uniqueStorage()._data = .generateCombatChallengeIDData(newValue)} } - public init() {} + public var generateCombatChallengeIDResponseData: GenerateCombatChallengeIdResponseData { + get { + if case .generateCombatChallengeIDResponseData(let v)? = _storage._data {return v} + return GenerateCombatChallengeIdResponseData() + } + set {_uniqueStorage()._data = .generateCombatChallengeIDResponseData(newValue)} + } - fileprivate var _quest: ClientQuestProto? = nil -} + public var createCombatChallengeData: CreateCombatChallengeData { + get { + if case .createCombatChallengeData(let v)? = _storage._data {return v} + return CreateCombatChallengeData() + } + set {_uniqueStorage()._data = .createCombatChallengeData(newValue)} + } -#if swift(>=4.2) + public var createCombatChallengeResponseData: CreateCombatChallengeResponseData { + get { + if case .createCombatChallengeResponseData(let v)? = _storage._data {return v} + return CreateCombatChallengeResponseData() + } + set {_uniqueStorage()._data = .createCombatChallengeResponseData(newValue)} + } -extension CompleteQuestOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteQuestOutProto.Status] = [ - .unset, - .success, - .errorQuestNotFound, - .errorQuestStillInProgress, - .errorQuestAlreadyCompleted, - .errorSubquestNotFound, - .errorSubquestStillInProgress, - .errorSubquestAlreadyCompleted, - .errorMultipartStillInProgress, - .errorMultipartAlreadyCompleted, - .errorRedeemCompletedQuestStampCardFirst, - .errorInventoryFull, - .errorInvalidBranch, - .errorRewardItemReachLimit, - .successPartyQuestConcluded, - .errorPartyQuestClaimRewardsDeadlineExceeded, - .successPartyQuestForceConcluded, - .successPartyQuestForceConcludeIgnored, - .errorPartyQuestForceConcludeStillAwarding, - .errorPartyQuestForceConcludeAlreadyConcluded, - ] -} + public var openCombatChallengeData: OpenCombatChallengeData { + get { + if case .openCombatChallengeData(let v)? = _storage._data {return v} + return OpenCombatChallengeData() + } + set {_uniqueStorage()._data = .openCombatChallengeData(newValue)} + } -#endif // swift(>=4.2) + public var openCombatChallengeResponseData: OpenCombatChallengeResponseData { + get { + if case .openCombatChallengeResponseData(let v)? = _storage._data {return v} + return OpenCombatChallengeResponseData() + } + set {_uniqueStorage()._data = .openCombatChallengeResponseData(newValue)} + } -public struct CompleteQuestPokemonEncounterLogEntry { - // 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. + public var openNpcCombatSessionData: OpenNpcCombatSessionData { + get { + if case .openNpcCombatSessionData(let v)? = _storage._data {return v} + return OpenNpcCombatSessionData() + } + set {_uniqueStorage()._data = .openNpcCombatSessionData(newValue)} + } - public var result: CompleteQuestPokemonEncounterLogEntry.Result = .unset + public var openNpcCombatSessionResponseData: OpenNpcCombatSessionResponseData { + get { + if case .openNpcCombatSessionResponseData(let v)? = _storage._data {return v} + return OpenNpcCombatSessionResponseData() + } + set {_uniqueStorage()._data = .openNpcCombatSessionResponseData(newValue)} + } - public var pokedexNumber: Int32 = 0 + public var acceptCombatChallengeData: AcceptCombatChallengeData { + get { + if case .acceptCombatChallengeData(let v)? = _storage._data {return v} + return AcceptCombatChallengeData() + } + set {_uniqueStorage()._data = .acceptCombatChallengeData(newValue)} + } - public var combatPoints: Int32 = 0 + public var acceptCombatChallengeResponseData: AcceptCombatChallengeResponseData { + get { + if case .acceptCombatChallengeResponseData(let v)? = _storage._data {return v} + return AcceptCombatChallengeResponseData() + } + set {_uniqueStorage()._data = .acceptCombatChallengeResponseData(newValue)} + } - public var pokemonID: UInt64 = 0 + public var submitCombatChallengePokemonsData: SubmitCombatChallengePokemonsData { + get { + if case .submitCombatChallengePokemonsData(let v)? = _storage._data {return v} + return SubmitCombatChallengePokemonsData() + } + set {_uniqueStorage()._data = .submitCombatChallengePokemonsData(newValue)} + } - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} + public var submitCombatChallengePokemonsResponseData: SubmitCombatChallengePokemonsResponseData { + get { + if case .submitCombatChallengePokemonsResponseData(let v)? = _storage._data {return v} + return SubmitCombatChallengePokemonsResponseData() + } + set {_uniqueStorage()._data = .submitCombatChallengePokemonsResponseData(newValue)} } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public var encounterType: EncounterType = .spawnPoint + public var declineCombatChallengeData: DeclineCombatChallengeData { + get { + if case .declineCombatChallengeData(let v)? = _storage._data {return v} + return DeclineCombatChallengeData() + } + set {_uniqueStorage()._data = .declineCombatChallengeData(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var declineCombatChallengeResponseData: DeclineCombatChallengeResponseData { + get { + if case .declineCombatChallengeResponseData(let v)? = _storage._data {return v} + return DeclineCombatChallengeResponseData() + } + set {_uniqueStorage()._data = .declineCombatChallengeResponseData(newValue)} + } - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case pokemonCaptured // = 1 - case pokemonFled // = 2 - case UNRECOGNIZED(Int) + public var cancelCombatChallengeData: CancelCombatChallengeData { + get { + if case .cancelCombatChallengeData(let v)? = _storage._data {return v} + return CancelCombatChallengeData() + } + set {_uniqueStorage()._data = .cancelCombatChallengeData(newValue)} + } - public init() { - self = .unset + public var cancelCombatChallengeResponseData: CancelCombatChallengeResponseData { + get { + if case .cancelCombatChallengeResponseData(let v)? = _storage._data {return v} + return CancelCombatChallengeResponseData() } + set {_uniqueStorage()._data = .cancelCombatChallengeResponseData(newValue)} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .pokemonCaptured - case 2: self = .pokemonFled - default: self = .UNRECOGNIZED(rawValue) - } + public var getCombatChallengeData: GetCombatChallengeData { + get { + if case .getCombatChallengeData(let v)? = _storage._data {return v} + return GetCombatChallengeData() } + set {_uniqueStorage()._data = .getCombatChallengeData(newValue)} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .pokemonCaptured: return 1 - case .pokemonFled: return 2 - case .UNRECOGNIZED(let i): return i - } + public var getCombatChallengeResponseData: GetCombatChallengeResponseData { + get { + if case .getCombatChallengeResponseData(let v)? = _storage._data {return v} + return GetCombatChallengeResponseData() } + set {_uniqueStorage()._data = .getCombatChallengeResponseData(newValue)} + } + public var vsSeekerStartMatchmakingData: VsSeekerStartMatchmakingData { + get { + if case .vsSeekerStartMatchmakingData(let v)? = _storage._data {return v} + return VsSeekerStartMatchmakingData() + } + set {_uniqueStorage()._data = .vsSeekerStartMatchmakingData(newValue)} } - public init() {} + public var vsSeekerStartMatchmakingResponseData: VsSeekerStartMatchmakingResponseData { + get { + if case .vsSeekerStartMatchmakingResponseData(let v)? = _storage._data {return v} + return VsSeekerStartMatchmakingResponseData() + } + set {_uniqueStorage()._data = .vsSeekerStartMatchmakingResponseData(newValue)} + } - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil -} + public var getMatchmakingStatusData: GetMatchmakingStatusData { + get { + if case .getMatchmakingStatusData(let v)? = _storage._data {return v} + return GetMatchmakingStatusData() + } + set {_uniqueStorage()._data = .getMatchmakingStatusData(newValue)} + } -#if swift(>=4.2) + public var getMatchmakingStatusResponseData: GetMatchmakingStatusResponseData { + get { + if case .getMatchmakingStatusResponseData(let v)? = _storage._data {return v} + return GetMatchmakingStatusResponseData() + } + set {_uniqueStorage()._data = .getMatchmakingStatusResponseData(newValue)} + } -extension CompleteQuestPokemonEncounterLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteQuestPokemonEncounterLogEntry.Result] = [ - .unset, - .pokemonCaptured, - .pokemonFled, - ] -} + public var cancelMatchmakingData: CancelMatchmakingData { + get { + if case .cancelMatchmakingData(let v)? = _storage._data {return v} + return CancelMatchmakingData() + } + set {_uniqueStorage()._data = .cancelMatchmakingData(newValue)} + } -#endif // swift(>=4.2) + public var cancelMatchmakingResponseData: CancelMatchmakingResponseData { + get { + if case .cancelMatchmakingResponseData(let v)? = _storage._data {return v} + return CancelMatchmakingResponseData() + } + set {_uniqueStorage()._data = .cancelMatchmakingResponseData(newValue)} + } -public struct CompleteQuestProto { - // 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. + public var submitCombatAction: SubmitCombatAction { + get { + if case .submitCombatAction(let v)? = _storage._data {return v} + return SubmitCombatAction() + } + set {_uniqueStorage()._data = .submitCombatAction(newValue)} + } - public var questID: String = String() + public var invasionOpenCombatSessionData: InvasionOpenCombatSessionData { + get { + if case .invasionOpenCombatSessionData(let v)? = _storage._data {return v} + return InvasionOpenCombatSessionData() + } + set {_uniqueStorage()._data = .invasionOpenCombatSessionData(newValue)} + } - public var subQuestID: String = String() + public var invasionOpenCombatSessionResponseData: InvasionOpenCombatSessionResponseData { + get { + if case .invasionOpenCombatSessionResponseData(let v)? = _storage._data {return v} + return InvasionOpenCombatSessionResponseData() + } + set {_uniqueStorage()._data = .invasionOpenCombatSessionResponseData(newValue)} + } - public var obInt32: Int32 = 0 + public var invasionBattleUpdate: InvasionBattleUpdate { + get { + if case .invasionBattleUpdate(let v)? = _storage._data {return v} + return InvasionBattleUpdate() + } + set {_uniqueStorage()._data = .invasionBattleUpdate(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var invasionBattleResponseUpdate: InvasionBattleResponseUpdate { + get { + if case .invasionBattleResponseUpdate(let v)? = _storage._data {return v} + return InvasionBattleResponseUpdate() + } + set {_uniqueStorage()._data = .invasionBattleResponseUpdate(newValue)} + } - public init() {} -} + public var combatIDMismatchData: CombatIdMismatchData { + get { + if case .combatIDMismatchData(let v)? = _storage._data {return v} + return CombatIdMismatchData() + } + set {_uniqueStorage()._data = .combatIDMismatchData(newValue)} + } -public struct CompleteQuestStampCardLogEntry { - // 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. + public var leagueIDMismatchData: LeagueIdMismatchData { + get { + if case .leagueIDMismatchData(let v)? = _storage._data {return v} + return LeagueIdMismatchData() + } + set {_uniqueStorage()._data = .leagueIDMismatchData(newValue)} + } - public var result: CompleteQuestStampCardLogEntry.Result = .unset + public var challengeIDMismatchData: ChallengeIdMismatchData { + get { + if case .challengeIDMismatchData(let v)? = _storage._data {return v} + return ChallengeIdMismatchData() + } + set {_uniqueStorage()._data = .challengeIDMismatchData(newValue)} + } - public var reward: [QuestRewardProto] = [] + public var progressTokenData: CombatProgressTokenData { + get { + if case .progressTokenData(let v)? = _storage._data {return v} + return CombatProgressTokenData() + } + set {_uniqueStorage()._data = .progressTokenData(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var onApplicationFocusData: OnApplicationFocusData { + get { + if case .onApplicationFocusData(let v)? = _storage._data {return v} + return OnApplicationFocusData() + } + set {_uniqueStorage()._data = .onApplicationFocusData(newValue)} + } - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) + public var onApplicationPauseData: OnApplicationPauseData { + get { + if case .onApplicationPauseData(let v)? = _storage._data {return v} + return OnApplicationPauseData() + } + set {_uniqueStorage()._data = .onApplicationPauseData(newValue)} + } - public init() { - self = .unset + public var onApplicationQuitData: OnApplicationQuitData { + get { + if case .onApplicationQuitData(let v)? = _storage._data {return v} + return OnApplicationQuitData() } + set {_uniqueStorage()._data = .onApplicationQuitData(newValue)} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } + public var exceptionCaughtData: ExceptionCaughtInCombatData { + get { + if case .exceptionCaughtData(let v)? = _storage._data {return v} + return ExceptionCaughtInCombatData() } + set {_uniqueStorage()._data = .exceptionCaughtData(newValue)} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } + public var combatPubSubData: CombatPubSubData { + get { + if case .combatPubSubData(let v)? = _storage._data {return v} + return CombatPubSubData() } + set {_uniqueStorage()._data = .combatPubSubData(newValue)} + } + public var combatEndData: CombatEndData { + get { + if case .combatEndData(let v)? = _storage._data {return v} + return CombatEndData() + } + set {_uniqueStorage()._data = .combatEndData(newValue)} } - public init() {} -} + public var combatSyncServerData: CombatSyncServerData { + get { + if case .combatSyncServerData(let v)? = _storage._data {return v} + return CombatSyncServerData() + } + set {_uniqueStorage()._data = .combatSyncServerData(newValue)} + } -#if swift(>=4.2) + public var combatSyncServerResponseData: CombatSyncServerResponseData { + get { + if case .combatSyncServerResponseData(let v)? = _storage._data {return v} + return CombatSyncServerResponseData() + } + set {_uniqueStorage()._data = .combatSyncServerResponseData(newValue)} + } -extension CompleteQuestStampCardLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteQuestStampCardLogEntry.Result] = [ - .unset, - .success, - ] -} + public var combatSpecialMovePlayerData: CombatSpecialMovePlayerData { + get { + if case .combatSpecialMovePlayerData(let v)? = _storage._data {return v} + return CombatSpecialMovePlayerData() + } + set {_uniqueStorage()._data = .combatSpecialMovePlayerData(newValue)} + } -#endif // swift(>=4.2) + public var header: CombatLogData.CombatLogDataHeader { + get {return _storage._header ?? CombatLogData.CombatLogDataHeader()} + set {_uniqueStorage()._header = newValue} + } + /// Returns true if `header` has been explicitly set. + public var hasHeader: Bool {return _storage._header != nil} + /// Clears the value of `header`. Subsequent reads from it will return its default value. + public mutating func clearHeader() {_uniqueStorage()._header = nil} -public struct CompleteQuestStampCardOutProto { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var status: CompleteQuestStampCardOutProto.Status = .unset + public enum OneOf_Data: Equatable { + case openCombatSessionData(OpenCombatSessionData) + case openCombatSessionResponseData(OpenCombatSessionResponseData) + case updateCombatData(UpdateCombatData) + case updateCombatResponseData(UpdateCombatResponseData) + case quitCombatData(QuitCombatData) + case quitCombatResponseData(QuitCombatResponseData) + case webSocketResponseData(WebSocketResponseData) + case rpcErrorData(RpcErrorData) + case getCombatPlayerProfileData(GetCombatPlayerProfileData) + case getCombatPlayerProfileResponseData(GetCombatPlayerProfileResponseData) + case generateCombatChallengeIDData(GenerateCombatChallengeIdData) + case generateCombatChallengeIDResponseData(GenerateCombatChallengeIdResponseData) + case createCombatChallengeData(CreateCombatChallengeData) + case createCombatChallengeResponseData(CreateCombatChallengeResponseData) + case openCombatChallengeData(OpenCombatChallengeData) + case openCombatChallengeResponseData(OpenCombatChallengeResponseData) + case openNpcCombatSessionData(OpenNpcCombatSessionData) + case openNpcCombatSessionResponseData(OpenNpcCombatSessionResponseData) + case acceptCombatChallengeData(AcceptCombatChallengeData) + case acceptCombatChallengeResponseData(AcceptCombatChallengeResponseData) + case submitCombatChallengePokemonsData(SubmitCombatChallengePokemonsData) + case submitCombatChallengePokemonsResponseData(SubmitCombatChallengePokemonsResponseData) + case declineCombatChallengeData(DeclineCombatChallengeData) + case declineCombatChallengeResponseData(DeclineCombatChallengeResponseData) + case cancelCombatChallengeData(CancelCombatChallengeData) + case cancelCombatChallengeResponseData(CancelCombatChallengeResponseData) + case getCombatChallengeData(GetCombatChallengeData) + case getCombatChallengeResponseData(GetCombatChallengeResponseData) + case vsSeekerStartMatchmakingData(VsSeekerStartMatchmakingData) + case vsSeekerStartMatchmakingResponseData(VsSeekerStartMatchmakingResponseData) + case getMatchmakingStatusData(GetMatchmakingStatusData) + case getMatchmakingStatusResponseData(GetMatchmakingStatusResponseData) + case cancelMatchmakingData(CancelMatchmakingData) + case cancelMatchmakingResponseData(CancelMatchmakingResponseData) + case submitCombatAction(SubmitCombatAction) + case invasionOpenCombatSessionData(InvasionOpenCombatSessionData) + case invasionOpenCombatSessionResponseData(InvasionOpenCombatSessionResponseData) + case invasionBattleUpdate(InvasionBattleUpdate) + case invasionBattleResponseUpdate(InvasionBattleResponseUpdate) + case combatIDMismatchData(CombatIdMismatchData) + case leagueIDMismatchData(LeagueIdMismatchData) + case challengeIDMismatchData(ChallengeIdMismatchData) + case progressTokenData(CombatProgressTokenData) + case onApplicationFocusData(OnApplicationFocusData) + case onApplicationPauseData(OnApplicationPauseData) + case onApplicationQuitData(OnApplicationQuitData) + case exceptionCaughtData(ExceptionCaughtInCombatData) + case combatPubSubData(CombatPubSubData) + case combatEndData(CombatEndData) + case combatSyncServerData(CombatSyncServerData) + case combatSyncServerResponseData(CombatSyncServerResponseData) + case combatSpecialMovePlayerData(CombatSpecialMovePlayerData) - public var reward: [QuestRewardProto] = [] + #if !swift(>=4.1) + public static func ==(lhs: CombatLogData.OneOf_Data, rhs: CombatLogData.OneOf_Data) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.openCombatSessionData, .openCombatSessionData): return { + guard case .openCombatSessionData(let l) = lhs, case .openCombatSessionData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.openCombatSessionResponseData, .openCombatSessionResponseData): return { + guard case .openCombatSessionResponseData(let l) = lhs, case .openCombatSessionResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.updateCombatData, .updateCombatData): return { + guard case .updateCombatData(let l) = lhs, case .updateCombatData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.updateCombatResponseData, .updateCombatResponseData): return { + guard case .updateCombatResponseData(let l) = lhs, case .updateCombatResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.quitCombatData, .quitCombatData): return { + guard case .quitCombatData(let l) = lhs, case .quitCombatData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.quitCombatResponseData, .quitCombatResponseData): return { + guard case .quitCombatResponseData(let l) = lhs, case .quitCombatResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.webSocketResponseData, .webSocketResponseData): return { + guard case .webSocketResponseData(let l) = lhs, case .webSocketResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.rpcErrorData, .rpcErrorData): return { + guard case .rpcErrorData(let l) = lhs, case .rpcErrorData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getCombatPlayerProfileData, .getCombatPlayerProfileData): return { + guard case .getCombatPlayerProfileData(let l) = lhs, case .getCombatPlayerProfileData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getCombatPlayerProfileResponseData, .getCombatPlayerProfileResponseData): return { + guard case .getCombatPlayerProfileResponseData(let l) = lhs, case .getCombatPlayerProfileResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.generateCombatChallengeIDData, .generateCombatChallengeIDData): return { + guard case .generateCombatChallengeIDData(let l) = lhs, case .generateCombatChallengeIDData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.generateCombatChallengeIDResponseData, .generateCombatChallengeIDResponseData): return { + guard case .generateCombatChallengeIDResponseData(let l) = lhs, case .generateCombatChallengeIDResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.createCombatChallengeData, .createCombatChallengeData): return { + guard case .createCombatChallengeData(let l) = lhs, case .createCombatChallengeData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.createCombatChallengeResponseData, .createCombatChallengeResponseData): return { + guard case .createCombatChallengeResponseData(let l) = lhs, case .createCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.openCombatChallengeData, .openCombatChallengeData): return { + guard case .openCombatChallengeData(let l) = lhs, case .openCombatChallengeData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.openCombatChallengeResponseData, .openCombatChallengeResponseData): return { + guard case .openCombatChallengeResponseData(let l) = lhs, case .openCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.openNpcCombatSessionData, .openNpcCombatSessionData): return { + guard case .openNpcCombatSessionData(let l) = lhs, case .openNpcCombatSessionData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.openNpcCombatSessionResponseData, .openNpcCombatSessionResponseData): return { + guard case .openNpcCombatSessionResponseData(let l) = lhs, case .openNpcCombatSessionResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.acceptCombatChallengeData, .acceptCombatChallengeData): return { + guard case .acceptCombatChallengeData(let l) = lhs, case .acceptCombatChallengeData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.acceptCombatChallengeResponseData, .acceptCombatChallengeResponseData): return { + guard case .acceptCombatChallengeResponseData(let l) = lhs, case .acceptCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.submitCombatChallengePokemonsData, .submitCombatChallengePokemonsData): return { + guard case .submitCombatChallengePokemonsData(let l) = lhs, case .submitCombatChallengePokemonsData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.submitCombatChallengePokemonsResponseData, .submitCombatChallengePokemonsResponseData): return { + guard case .submitCombatChallengePokemonsResponseData(let l) = lhs, case .submitCombatChallengePokemonsResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.declineCombatChallengeData, .declineCombatChallengeData): return { + guard case .declineCombatChallengeData(let l) = lhs, case .declineCombatChallengeData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.declineCombatChallengeResponseData, .declineCombatChallengeResponseData): return { + guard case .declineCombatChallengeResponseData(let l) = lhs, case .declineCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.cancelCombatChallengeData, .cancelCombatChallengeData): return { + guard case .cancelCombatChallengeData(let l) = lhs, case .cancelCombatChallengeData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.cancelCombatChallengeResponseData, .cancelCombatChallengeResponseData): return { + guard case .cancelCombatChallengeResponseData(let l) = lhs, case .cancelCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getCombatChallengeData, .getCombatChallengeData): return { + guard case .getCombatChallengeData(let l) = lhs, case .getCombatChallengeData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getCombatChallengeResponseData, .getCombatChallengeResponseData): return { + guard case .getCombatChallengeResponseData(let l) = lhs, case .getCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.vsSeekerStartMatchmakingData, .vsSeekerStartMatchmakingData): return { + guard case .vsSeekerStartMatchmakingData(let l) = lhs, case .vsSeekerStartMatchmakingData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.vsSeekerStartMatchmakingResponseData, .vsSeekerStartMatchmakingResponseData): return { + guard case .vsSeekerStartMatchmakingResponseData(let l) = lhs, case .vsSeekerStartMatchmakingResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getMatchmakingStatusData, .getMatchmakingStatusData): return { + guard case .getMatchmakingStatusData(let l) = lhs, case .getMatchmakingStatusData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getMatchmakingStatusResponseData, .getMatchmakingStatusResponseData): return { + guard case .getMatchmakingStatusResponseData(let l) = lhs, case .getMatchmakingStatusResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.cancelMatchmakingData, .cancelMatchmakingData): return { + guard case .cancelMatchmakingData(let l) = lhs, case .cancelMatchmakingData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.cancelMatchmakingResponseData, .cancelMatchmakingResponseData): return { + guard case .cancelMatchmakingResponseData(let l) = lhs, case .cancelMatchmakingResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.submitCombatAction, .submitCombatAction): return { + guard case .submitCombatAction(let l) = lhs, case .submitCombatAction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.invasionOpenCombatSessionData, .invasionOpenCombatSessionData): return { + guard case .invasionOpenCombatSessionData(let l) = lhs, case .invasionOpenCombatSessionData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.invasionOpenCombatSessionResponseData, .invasionOpenCombatSessionResponseData): return { + guard case .invasionOpenCombatSessionResponseData(let l) = lhs, case .invasionOpenCombatSessionResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.invasionBattleUpdate, .invasionBattleUpdate): return { + guard case .invasionBattleUpdate(let l) = lhs, case .invasionBattleUpdate(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.invasionBattleResponseUpdate, .invasionBattleResponseUpdate): return { + guard case .invasionBattleResponseUpdate(let l) = lhs, case .invasionBattleResponseUpdate(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.combatIDMismatchData, .combatIDMismatchData): return { + guard case .combatIDMismatchData(let l) = lhs, case .combatIDMismatchData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.leagueIDMismatchData, .leagueIDMismatchData): return { + guard case .leagueIDMismatchData(let l) = lhs, case .leagueIDMismatchData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.challengeIDMismatchData, .challengeIDMismatchData): return { + guard case .challengeIDMismatchData(let l) = lhs, case .challengeIDMismatchData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.progressTokenData, .progressTokenData): return { + guard case .progressTokenData(let l) = lhs, case .progressTokenData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.onApplicationFocusData, .onApplicationFocusData): return { + guard case .onApplicationFocusData(let l) = lhs, case .onApplicationFocusData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.onApplicationPauseData, .onApplicationPauseData): return { + guard case .onApplicationPauseData(let l) = lhs, case .onApplicationPauseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.onApplicationQuitData, .onApplicationQuitData): return { + guard case .onApplicationQuitData(let l) = lhs, case .onApplicationQuitData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.exceptionCaughtData, .exceptionCaughtData): return { + guard case .exceptionCaughtData(let l) = lhs, case .exceptionCaughtData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.combatPubSubData, .combatPubSubData): return { + guard case .combatPubSubData(let l) = lhs, case .combatPubSubData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.combatEndData, .combatEndData): return { + guard case .combatEndData(let l) = lhs, case .combatEndData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.combatSyncServerData, .combatSyncServerData): return { + guard case .combatSyncServerData(let l) = lhs, case .combatSyncServerData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.combatSyncServerResponseData, .combatSyncServerResponseData): return { + guard case .combatSyncServerResponseData(let l) = lhs, case .combatSyncServerResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.combatSpecialMovePlayerData, .combatSpecialMovePlayerData): return { + guard case .combatSpecialMovePlayerData(let l) = lhs, case .combatSpecialMovePlayerData(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public struct CombatLogDataHeader { + // 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. + + public var type: CombatLogData.CombatLogDataHeader.LogType = .noType + + public var timeNowOffsetMs: UInt32 = 0 + + public var clientServerTimeOffsetMs: UInt32 = 0 + + public var frameRate: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum LogType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noType // = 0 + case openCombatSession // = 1 + case openCombatSessionResponse // = 2 + case updateCombat // = 3 + case updateCombatResponse // = 4 + case quitCombat // = 5 + case quitCombatResponse // = 6 + case webSocketResponse // = 7 + case rpcError // = 8 + case getCombatPlayerProfile // = 9 + case getCombatPlayerProfileResponse // = 10 + case generateCombatChallengeID // = 11 + case generateCombatChallengeIDResponse // = 12 + case createCombatChallenge // = 13 + case createCombatChallengeResponse // = 14 + case openCombatChallenge // = 15 + case openCombatChallengeResponse // = 16 + case openNpcCombatSession // = 17 + case openNpcCombatSessionResponse // = 18 + case acceptCombatChallenge // = 19 + case acceptCombatChallengeResponse // = 20 + case submitCombatChallengePokemons // = 21 + case submitCombatChallengePokemonsResponse // = 22 + case declineCombatChallenge // = 23 + case declineCombatChallengeResponse // = 24 + case cancelCombatChallenge // = 25 + case cancelCombatChallengeResponse // = 26 + case getCombatChallenge // = 27 + case getCombatChallengeResponse // = 28 + case vsSeekerStartMatchmaking // = 29 + case vsSeekerStartMatchmakingResponse // = 30 + case getMatchmakingStatus // = 31 + case getMatchmakingStatusResponse // = 32 + case cancelMatchmaking // = 33 + case cancelMatchmakingResponse // = 34 + case submitCombatAction // = 35 + case invasionOpenCombatSession // = 36 + case invasionOpenCombatSessionResponse // = 37 + case invasionBattleUpdate // = 38 + case invasionBattleUpdateResponse // = 39 + case combatIDMismatch // = 40 + case leagueIDMismatch // = 41 + case challengeIDMismatch // = 42 + case progressToken // = 43 + case onApplicationFocus // = 44 + case onApplicationPause // = 45 + case onApplicationQuit // = 46 + case exceptionCaught // = 47 + case pubSubMessage // = 48 + case playerEndCombat // = 49 + case combatSyncServer // = 50 + case combatSyncServerResponse // = 51 + case combatSpecialMovePlayer // = 52 + case UNRECOGNIZED(Int) + + public init() { + self = .noType + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noType + case 1: self = .openCombatSession + case 2: self = .openCombatSessionResponse + case 3: self = .updateCombat + case 4: self = .updateCombatResponse + case 5: self = .quitCombat + case 6: self = .quitCombatResponse + case 7: self = .webSocketResponse + case 8: self = .rpcError + case 9: self = .getCombatPlayerProfile + case 10: self = .getCombatPlayerProfileResponse + case 11: self = .generateCombatChallengeID + case 12: self = .generateCombatChallengeIDResponse + case 13: self = .createCombatChallenge + case 14: self = .createCombatChallengeResponse + case 15: self = .openCombatChallenge + case 16: self = .openCombatChallengeResponse + case 17: self = .openNpcCombatSession + case 18: self = .openNpcCombatSessionResponse + case 19: self = .acceptCombatChallenge + case 20: self = .acceptCombatChallengeResponse + case 21: self = .submitCombatChallengePokemons + case 22: self = .submitCombatChallengePokemonsResponse + case 23: self = .declineCombatChallenge + case 24: self = .declineCombatChallengeResponse + case 25: self = .cancelCombatChallenge + case 26: self = .cancelCombatChallengeResponse + case 27: self = .getCombatChallenge + case 28: self = .getCombatChallengeResponse + case 29: self = .vsSeekerStartMatchmaking + case 30: self = .vsSeekerStartMatchmakingResponse + case 31: self = .getMatchmakingStatus + case 32: self = .getMatchmakingStatusResponse + case 33: self = .cancelMatchmaking + case 34: self = .cancelMatchmakingResponse + case 35: self = .submitCombatAction + case 36: self = .invasionOpenCombatSession + case 37: self = .invasionOpenCombatSessionResponse + case 38: self = .invasionBattleUpdate + case 39: self = .invasionBattleUpdateResponse + case 40: self = .combatIDMismatch + case 41: self = .leagueIDMismatch + case 42: self = .challengeIDMismatch + case 43: self = .progressToken + case 44: self = .onApplicationFocus + case 45: self = .onApplicationPause + case 46: self = .onApplicationQuit + case 47: self = .exceptionCaught + case 48: self = .pubSubMessage + case 49: self = .playerEndCombat + case 50: self = .combatSyncServer + case 51: self = .combatSyncServerResponse + case 52: self = .combatSpecialMovePlayer + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noType: return 0 + case .openCombatSession: return 1 + case .openCombatSessionResponse: return 2 + case .updateCombat: return 3 + case .updateCombatResponse: return 4 + case .quitCombat: return 5 + case .quitCombatResponse: return 6 + case .webSocketResponse: return 7 + case .rpcError: return 8 + case .getCombatPlayerProfile: return 9 + case .getCombatPlayerProfileResponse: return 10 + case .generateCombatChallengeID: return 11 + case .generateCombatChallengeIDResponse: return 12 + case .createCombatChallenge: return 13 + case .createCombatChallengeResponse: return 14 + case .openCombatChallenge: return 15 + case .openCombatChallengeResponse: return 16 + case .openNpcCombatSession: return 17 + case .openNpcCombatSessionResponse: return 18 + case .acceptCombatChallenge: return 19 + case .acceptCombatChallengeResponse: return 20 + case .submitCombatChallengePokemons: return 21 + case .submitCombatChallengePokemonsResponse: return 22 + case .declineCombatChallenge: return 23 + case .declineCombatChallengeResponse: return 24 + case .cancelCombatChallenge: return 25 + case .cancelCombatChallengeResponse: return 26 + case .getCombatChallenge: return 27 + case .getCombatChallengeResponse: return 28 + case .vsSeekerStartMatchmaking: return 29 + case .vsSeekerStartMatchmakingResponse: return 30 + case .getMatchmakingStatus: return 31 + case .getMatchmakingStatusResponse: return 32 + case .cancelMatchmaking: return 33 + case .cancelMatchmakingResponse: return 34 + case .submitCombatAction: return 35 + case .invasionOpenCombatSession: return 36 + case .invasionOpenCombatSessionResponse: return 37 + case .invasionBattleUpdate: return 38 + case .invasionBattleUpdateResponse: return 39 + case .combatIDMismatch: return 40 + case .leagueIDMismatch: return 41 + case .challengeIDMismatch: return 42 + case .progressToken: return 43 + case .onApplicationFocus: return 44 + case .onApplicationPause: return 45 + case .onApplicationQuit: return 46 + case .exceptionCaught: return 47 + case .pubSubMessage: return 48 + case .playerEndCombat: return 49 + case .combatSyncServer: return 50 + case .combatSyncServerResponse: return 51 + case .combatSpecialMovePlayer: return 52 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension CombatLogData.CombatLogDataHeader.LogType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatLogData.CombatLogDataHeader.LogType] = [ + .noType, + .openCombatSession, + .openCombatSessionResponse, + .updateCombat, + .updateCombatResponse, + .quitCombat, + .quitCombatResponse, + .webSocketResponse, + .rpcError, + .getCombatPlayerProfile, + .getCombatPlayerProfileResponse, + .generateCombatChallengeID, + .generateCombatChallengeIDResponse, + .createCombatChallenge, + .createCombatChallengeResponse, + .openCombatChallenge, + .openCombatChallengeResponse, + .openNpcCombatSession, + .openNpcCombatSessionResponse, + .acceptCombatChallenge, + .acceptCombatChallengeResponse, + .submitCombatChallengePokemons, + .submitCombatChallengePokemonsResponse, + .declineCombatChallenge, + .declineCombatChallengeResponse, + .cancelCombatChallenge, + .cancelCombatChallengeResponse, + .getCombatChallenge, + .getCombatChallengeResponse, + .vsSeekerStartMatchmaking, + .vsSeekerStartMatchmakingResponse, + .getMatchmakingStatus, + .getMatchmakingStatusResponse, + .cancelMatchmaking, + .cancelMatchmakingResponse, + .submitCombatAction, + .invasionOpenCombatSession, + .invasionOpenCombatSessionResponse, + .invasionBattleUpdate, + .invasionBattleUpdateResponse, + .combatIDMismatch, + .leagueIDMismatch, + .challengeIDMismatch, + .progressToken, + .onApplicationFocus, + .onApplicationPause, + .onApplicationQuit, + .exceptionCaught, + .pubSubMessage, + .playerEndCombat, + .combatSyncServer, + .combatSyncServerResponse, + .combatSpecialMovePlayer, + ] +} + +#endif // swift(>=4.2) + +public struct CombatLogEntry { + // 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. + + public var result: CombatLogEntry.Result = .unset + + public var finishState: CombatPlayerFinishState = .winner + + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var opponent: String = String() + + public var combatLeagueTemplateID: String = String() + + public var npcTemplateID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorStillInProgress // = 2 case UNRECOGNIZED(Int) public init() { @@ -49814,7 +51807,6 @@ public struct CompleteQuestStampCardOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorStillInProgress default: self = .UNRECOGNIZED(rawValue) } } @@ -49823,7 +51815,6 @@ public struct CompleteQuestStampCardOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorStillInProgress: return 2 case .UNRECOGNIZED(let i): return i } } @@ -49831,144 +51822,122 @@ public struct CompleteQuestStampCardOutProto { } public init() {} + + fileprivate var _rewards: LootProto? = nil } #if swift(>=4.2) -extension CompleteQuestStampCardOutProto.Status: CaseIterable { +extension CombatLogEntry.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteQuestStampCardOutProto.Status] = [ + public static var allCases: [CombatLogEntry.Result] = [ .unset, .success, - .errorStillInProgress, ] } #endif // swift(>=4.2) -public struct CompleteQuestStampCardProto { +public struct CombatLogHeader { // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var combatID: String = String() -public struct CompleteReferralMilestoneLogEntry { - // 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. + public var combatLeagueTemplateID: String = String() - public var milestoneCompleted: CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto { - get {return _milestoneCompleted ?? CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto()} - set {_milestoneCompleted = newValue} - } - /// Returns true if `milestoneCompleted` has been explicitly set. - public var hasMilestoneCompleted: Bool {return self._milestoneCompleted != nil} - /// Clears the value of `milestoneCompleted`. Subsequent reads from it will return its default value. - public mutating func clearMilestoneCompleted() {self._milestoneCompleted = nil} + public var combatChallengeID: String = String() - public var reward: [QuestRewardProto] = [] + public var combatNpcID: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var combatNpcPersonalityID: String = String() - public struct MilestoneLogEntryProto { - // 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. + public var queueID: String = String() - public var nameKey: String = String() + public var challengerPokemon: [CombatPokemonLogProto] = [] - public var nameTemplateVariable: [CompleteReferralMilestoneLogEntry.TemplateVariableProto] = [] + public var opponentPokemon: [CombatPokemonLogProto] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var timeRootMs: Int64 = 0 - public init() {} - } + public var lobbyChallengerJoinTimeMs: Int64 = 0 - public struct TemplateVariableProto { - // 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. + public var lobbyOpponentJoinTimeMs: Int64 = 0 - public var name: String = String() + public var combatStartMs: Int64 = 0 - public var literal: String = String() + public var combatEndMs: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var realm: String = String() - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _milestoneCompleted: CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto? = nil } -public struct CompleteRoutePlayLogEntry { +public struct CombatLogProto { // 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. - public var badgeLevel: RouteBadgeLevel.BadgeLevel = .routeBadgeUnset - - public var routeImageURL: String = String() - - public var awardedItems: LootProto { - get {return _awardedItems ?? LootProto()} - set {_awardedItems = newValue} + public var lifetimeResults: CombatSeasonResult { + get {return _storage._lifetimeResults ?? CombatSeasonResult()} + set {_uniqueStorage()._lifetimeResults = newValue} } - /// Returns true if `awardedItems` has been explicitly set. - public var hasAwardedItems: Bool {return self._awardedItems != nil} - /// Clears the value of `awardedItems`. Subsequent reads from it will return its default value. - public mutating func clearAwardedItems() {self._awardedItems = nil} + /// Returns true if `lifetimeResults` has been explicitly set. + public var hasLifetimeResults: Bool {return _storage._lifetimeResults != nil} + /// Clears the value of `lifetimeResults`. Subsequent reads from it will return its default value. + public mutating func clearLifetimeResults() {_uniqueStorage()._lifetimeResults = nil} - public var bonusAwardedItems: LootProto { - get {return _bonusAwardedItems ?? LootProto()} - set {_bonusAwardedItems = newValue} + public var currentSeasonResults: CombatSeasonResult { + get {return _storage._currentSeasonResults ?? CombatSeasonResult()} + set {_uniqueStorage()._currentSeasonResults = newValue} } - /// Returns true if `bonusAwardedItems` has been explicitly set. - public var hasBonusAwardedItems: Bool {return self._bonusAwardedItems != nil} - /// Clears the value of `bonusAwardedItems`. Subsequent reads from it will return its default value. - public mutating func clearBonusAwardedItems() {self._bonusAwardedItems = nil} + /// Returns true if `currentSeasonResults` has been explicitly set. + public var hasCurrentSeasonResults: Bool {return _storage._currentSeasonResults != nil} + /// Clears the value of `currentSeasonResults`. Subsequent reads from it will return its default value. + public mutating func clearCurrentSeasonResults() {_uniqueStorage()._currentSeasonResults = nil} - public var routeName: String = String() + public var currentVsSeekerSetResults: [VsSeekerBattleResult] { + get {return _storage._currentVsSeekerSetResults} + set {_uniqueStorage()._currentVsSeekerSetResults = newValue} + } - public var routeVisuals: RouteImageProto { - get {return _routeVisuals ?? RouteImageProto()} - set {_routeVisuals = newValue} + public var previousSeasonResults: CombatSeasonResult { + get {return _storage._previousSeasonResults ?? CombatSeasonResult()} + set {_uniqueStorage()._previousSeasonResults = newValue} } - /// Returns true if `routeVisuals` has been explicitly set. - public var hasRouteVisuals: Bool {return self._routeVisuals != nil} - /// Clears the value of `routeVisuals`. Subsequent reads from it will return its default value. - public mutating func clearRouteVisuals() {self._routeVisuals = nil} + /// Returns true if `previousSeasonResults` has been explicitly set. + public var hasPreviousSeasonResults: Bool {return _storage._previousSeasonResults != nil} + /// Clears the value of `previousSeasonResults`. Subsequent reads from it will return its default value. + public mutating func clearPreviousSeasonResults() {_uniqueStorage()._previousSeasonResults = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _awardedItems: LootProto? = nil - fileprivate var _bonusAwardedItems: LootProto? = nil - fileprivate var _routeVisuals: RouteImageProto? = nil + fileprivate var _storage = _StorageClass.defaultInstance } -public struct CompleteSnapshotSessionOutProto { +public struct CombatMinigameTelemetry { // 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. - public var status: CompleteSnapshotSessionOutProto.Status = .unset + public var combatType: CombatMinigameTelemetry.MinigameCombatType = .unset + + public var moveType: HoloPokemonType = .pokemonTypeNone + + public var score: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum MinigameCombatType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorPhotoPokemonInvalid // = 2 - case errorUnknown // = 3 + case pvp // = 1 + case pve // = 2 case UNRECOGNIZED(Int) public init() { @@ -49978,9 +51947,8 @@ public struct CompleteSnapshotSessionOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorPhotoPokemonInvalid - case 3: self = .errorUnknown + case 1: self = .pvp + case 2: self = .pve default: self = .UNRECOGNIZED(rawValue) } } @@ -49988,9 +51956,8 @@ public struct CompleteSnapshotSessionOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorPhotoPokemonInvalid: return 2 - case .errorUnknown: return 3 + case .pvp: return 1 + case .pve: return 2 case .UNRECOGNIZED(let i): return i } } @@ -50002,549 +51969,264 @@ public struct CompleteSnapshotSessionOutProto { #if swift(>=4.2) -extension CompleteSnapshotSessionOutProto.Status: CaseIterable { +extension CombatMinigameTelemetry.MinigameCombatType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteSnapshotSessionOutProto.Status] = [ + public static var allCases: [CombatMinigameTelemetry.MinigameCombatType] = [ .unset, - .success, - .errorPhotoPokemonInvalid, - .errorUnknown, + .pvp, + .pve, ] } #endif // swift(>=4.2) -public struct CompleteSnapshotSessionProto { +public struct CombatMoveSettingsProto { // 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. - public var photoPokemonID: UInt64 = 0 - - public var numPhotosTaken: Int32 = 0 - - public var snapshotSessionStartTime: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var uniqueID: HoloPokemonMove = .moveUnset - public init() {} -} + public var type: HoloPokemonType = .pokemonTypeNone -public struct CompleteVsSeekerAndRestartChargingOutProto { - // 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. + public var power: Float = 0 - public var result: CompleteVsSeekerAndRestartChargingOutProto.Result { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} - } + public var vfxName: String = String() - public var vsSeeker: VsSeekerAttributesProto { - get {return _storage._vsSeeker ?? VsSeekerAttributesProto()} - set {_uniqueStorage()._vsSeeker = newValue} - } - /// Returns true if `vsSeeker` has been explicitly set. - public var hasVsSeeker: Bool {return _storage._vsSeeker != nil} - /// Clears the value of `vsSeeker`. Subsequent reads from it will return its default value. - public mutating func clearVsSeeker() {_uniqueStorage()._vsSeeker = nil} + public var durationTurns: Int32 = 0 - public var lootProto: LootProto { - get {return _storage._lootProto ?? LootProto()} - set {_uniqueStorage()._lootProto = newValue} - } - /// Returns true if `lootProto` has been explicitly set. - public var hasLootProto: Bool {return _storage._lootProto != nil} - /// Clears the value of `lootProto`. Subsequent reads from it will return its default value. - public mutating func clearLootProto() {_uniqueStorage()._lootProto = nil} + public var energyDelta: Int32 = 0 - public var currentSeasonResult: CombatSeasonResult { - get {return _storage._currentSeasonResult ?? CombatSeasonResult()} - set {_uniqueStorage()._currentSeasonResult = newValue} + public var buffs: CombatMoveSettingsProto.CombatMoveBuffsProto { + get {return _buffs ?? CombatMoveSettingsProto.CombatMoveBuffsProto()} + set {_buffs = newValue} } - /// Returns true if `currentSeasonResult` has been explicitly set. - public var hasCurrentSeasonResult: Bool {return _storage._currentSeasonResult != nil} - /// Clears the value of `currentSeasonResult`. Subsequent reads from it will return its default value. - public mutating func clearCurrentSeasonResult() {_uniqueStorage()._currentSeasonResult = nil} + /// Returns true if `buffs` has been explicitly set. + public var hasBuffs: Bool {return self._buffs != nil} + /// Clears the value of `buffs`. Subsequent reads from it will return its default value. + public mutating func clearBuffs() {self._buffs = nil} - public var previousRank: Int32 { - get {return _storage._previousRank} - set {_uniqueStorage()._previousRank = newValue} - } + public var modifier: [MoveModifierProto] = [] - public var previousRating: Float { - get {return _storage._previousRating} - set {_uniqueStorage()._previousRating = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var statsAtRankStart: CombatBaseStatsProto { - get {return _storage._statsAtRankStart ?? CombatBaseStatsProto()} - set {_uniqueStorage()._statsAtRankStart = newValue} - } - /// Returns true if `statsAtRankStart` has been explicitly set. - public var hasStatsAtRankStart: Bool {return _storage._statsAtRankStart != nil} - /// Clears the value of `statsAtRankStart`. Subsequent reads from it will return its default value. - public mutating func clearStatsAtRankStart() {_uniqueStorage()._statsAtRankStart = nil} + public struct CombatMoveBuffsProto { + // 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. - public var avatarTemplateIDRewarded: [String] { - get {return _storage._avatarTemplateIDRewarded} - set {_uniqueStorage()._avatarTemplateIDRewarded = newValue} - } + public var attackerAttackStatStageChange: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var attackerDefenseStatStageChange: Int32 = 0 - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorVsSeekerNotFound // = 2 - case errorVsSeekerAlreadyStartedCharging // = 3 - case errorVsSeekerAlreadyFullyCharged // = 4 - case errorVsSeekerPlayerInWrongSeason // = 5 - case errorPlayerInventoryFull // = 6 - case errorPlayerHasUnclaimedRewards // = 7 - case UNRECOGNIZED(Int) + public var targetAttackStatStageChange: Int32 = 0 - public init() { - self = .unset - } + public var targetDefenseStatStageChange: Int32 = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorVsSeekerNotFound - case 3: self = .errorVsSeekerAlreadyStartedCharging - case 4: self = .errorVsSeekerAlreadyFullyCharged - case 5: self = .errorVsSeekerPlayerInWrongSeason - case 6: self = .errorPlayerInventoryFull - case 7: self = .errorPlayerHasUnclaimedRewards - default: self = .UNRECOGNIZED(rawValue) - } - } + public var buffActivationChance: Float = 0 - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorVsSeekerNotFound: return 2 - case .errorVsSeekerAlreadyStartedCharging: return 3 - case .errorVsSeekerAlreadyFullyCharged: return 4 - case .errorVsSeekerPlayerInWrongSeason: return 5 - case .errorPlayerInventoryFull: return 6 - case .errorPlayerHasUnclaimedRewards: return 7 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} } public init() {} - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension CompleteVsSeekerAndRestartChargingOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteVsSeekerAndRestartChargingOutProto.Result] = [ - .unset, - .success, - .errorVsSeekerNotFound, - .errorVsSeekerAlreadyStartedCharging, - .errorVsSeekerAlreadyFullyCharged, - .errorVsSeekerPlayerInWrongSeason, - .errorPlayerInventoryFull, - .errorPlayerHasUnclaimedRewards, - ] + fileprivate var _buffs: CombatMoveSettingsProto.CombatMoveBuffsProto? = nil } -#endif // swift(>=4.2) - -public struct CompleteVsSeekerAndRestartChargingProto { +public struct CombatNpcPersonalityProto { // 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. + public var personalityName: String = String() + + public var superEffectiveChance: Float = 0 + + public var specialChance: Float = 0 + + public var defensiveMinimumScore: Float = 0 + + public var defensiveMaximumScore: Float = 0 + + public var offensiveMinimumScore: Float = 0 + + public var offensiveMaximumScore: Float = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CompleteWildSnapshotSessionOutProto { +public struct CombatNpcTrainerProto { // 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. - public var status: CompleteWildSnapshotSessionOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var trainerName: String = String() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPhotoPokemonInvalid // = 2 - case errorNoPhotosTaken // = 3 - case errorUnknown // = 4 - case UNRECOGNIZED(Int) + public var combatLeagueTemplateID: String = String() - public init() { - self = .unset - } + public var combatPersonalityID: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPhotoPokemonInvalid - case 3: self = .errorNoPhotosTaken - case 4: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } + public var winLootTableID: String = String() - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPhotoPokemonInvalid: return 2 - case .errorNoPhotosTaken: return 3 - case .errorUnknown: return 4 - case .UNRECOGNIZED(let i): return i - } - } + public var loseLootTableID: String = String() + public var avatar: PlayerAvatarProto { + get {return _avatar ?? PlayerAvatarProto()} + set {_avatar = newValue} } + /// Returns true if `avatar` has been explicitly set. + public var hasAvatar: Bool {return self._avatar != nil} + /// Clears the value of `avatar`. Subsequent reads from it will return its default value. + public mutating func clearAvatar() {self._avatar = nil} - public init() {} -} + public var availablePokemon: [NpcPokemonProto] = [] -#if swift(>=4.2) + public var trainerTitle: String = String() -extension CompleteWildSnapshotSessionOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CompleteWildSnapshotSessionOutProto.Status] = [ - .unset, - .success, - .errorPhotoPokemonInvalid, - .errorNoPhotosTaken, - .errorUnknown, - ] -} + public var trainerQuote: String = String() -#endif // swift(>=4.2) + public var iconURL: String = String() -public struct CompleteWildSnapshotSessionProto { + public var backdropImageBundle: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _avatar: PlayerAvatarProto? = nil +} + +public struct CombatOffensiveInputChallengeSettings { // 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. - public var photoPokedexID: Int32 = 0 - - public var numPhotosTaken: Int32 = 0 + public var scorePerTap: Float = 0 - public var type1: HoloPokemonType = .pokemonTypeNone + public var scoreDecayPerSecond: Float = 0 - public var type2: HoloPokemonType = .pokemonTypeNone + public var maxScore: Float = 0 - public var spawnPointID: String = String() + public var highScoreAdditionalDecayPerSecond: Float = 0 - public var encounterID: UInt64 = 0 + public var maxTimeAdditionalDecayPerSecond: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ConfirmPhotobombOutProto { +public struct CombatPlayerPreferencesProto { // 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. - public var status: ConfirmPhotobombOutProto.Status = .unset + public var friendsCombatOptOut: Bool = false + + public var nearbyCombatOptIn: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPhotobombNotFound // = 2 - case errorPhotobombAlreadyConfirmed // = 3 - case errorUnknown // = 4 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .unset - } +public struct CombatPlayerProfileProto { + // 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. - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPhotobombNotFound - case 3: self = .errorPhotobombAlreadyConfirmed - case 4: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } + public var playerID: String { + get {return _storage._playerID} + set {_uniqueStorage()._playerID = newValue} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPhotobombNotFound: return 2 - case .errorPhotobombAlreadyConfirmed: return 3 - case .errorUnknown: return 4 - case .UNRECOGNIZED(let i): return i - } - } + public var publicProfile: PlayerPublicProfileProto { + get {return _storage._publicProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._publicProfile = newValue} + } + /// Returns true if `publicProfile` has been explicitly set. + public var hasPublicProfile: Bool {return _storage._publicProfile != nil} + /// Clears the value of `publicProfile`. Subsequent reads from it will return its default value. + public mutating func clearPublicProfile() {_uniqueStorage()._publicProfile = nil} + + public var combatLeagueTemplateID: [String] { + get {return _storage._combatLeagueTemplateID} + set {_uniqueStorage()._combatLeagueTemplateID = newValue} + } + public var buddyPokemonID: UInt64 { + get {return _storage._buddyPokemonID} + set {_uniqueStorage()._buddyPokemonID = newValue} } - public init() {} -} + public var location: CombatPlayerProfileProto.Location { + get {return _storage._location ?? CombatPlayerProfileProto.Location()} + set {_uniqueStorage()._location = newValue} + } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return _storage._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {_uniqueStorage()._location = nil} -#if swift(>=4.2) + public var combatPlayerPreferences: CombatPlayerPreferencesProto { + get {return _storage._combatPlayerPreferences ?? CombatPlayerPreferencesProto()} + set {_uniqueStorage()._combatPlayerPreferences = newValue} + } + /// Returns true if `combatPlayerPreferences` has been explicitly set. + public var hasCombatPlayerPreferences: Bool {return _storage._combatPlayerPreferences != nil} + /// Clears the value of `combatPlayerPreferences`. Subsequent reads from it will return its default value. + public mutating func clearCombatPlayerPreferences() {_uniqueStorage()._combatPlayerPreferences = nil} -extension ConfirmPhotobombOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ConfirmPhotobombOutProto.Status] = [ - .unset, - .success, - .errorPhotobombNotFound, - .errorPhotobombAlreadyConfirmed, - .errorUnknown, - ] -} + public var playerNiaID: String { + get {return _storage._playerNiaID} + set {_uniqueStorage()._playerNiaID = newValue} + } -#endif // swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct ConfirmPhotobombProto { - // 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. + public struct Location { + // 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. - public var encounterID: UInt64 = 0 + public var latDegree: Double = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var lngDegree: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct ConfirmTradingOutProto { +public struct CombatPokemonLogProto { // 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. - public var result: ConfirmTradingOutProto.Result = .unset + public var pokemonID: UInt64 = 0 - public var trading: TradingProto { - get {return _trading ?? TradingProto()} - set {_trading = newValue} - } - /// Returns true if `trading` has been explicitly set. - public var hasTrading: Bool {return self._trading != nil} - /// Clears the value of `trading`. Subsequent reads from it will return its default value. - public mutating func clearTrading() {self._trading = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorFriendNotFound // = 3 - case errorInvalidPlayerID // = 4 - case errorInvalidState // = 5 - case errorStateHandler // = 6 - case errorInvalidPokemon // = 7 - case errorInsufficientPayment // = 8 - case errorNoPlayerPokemon // = 9 - case errorNoFriendPokemon // = 10 - case errorPlayerAlreadyConfirmed // = 11 - case errorTransactionLogNotMatch // = 12 - case errorTradingExpired // = 13 - case errorTransaction // = 14 - case errorDailyLimitReached // = 15 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorFriendNotFound - case 4: self = .errorInvalidPlayerID - case 5: self = .errorInvalidState - case 6: self = .errorStateHandler - case 7: self = .errorInvalidPokemon - case 8: self = .errorInsufficientPayment - case 9: self = .errorNoPlayerPokemon - case 10: self = .errorNoFriendPokemon - case 11: self = .errorPlayerAlreadyConfirmed - case 12: self = .errorTransactionLogNotMatch - case 13: self = .errorTradingExpired - case 14: self = .errorTransaction - case 15: self = .errorDailyLimitReached - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorFriendNotFound: return 3 - case .errorInvalidPlayerID: return 4 - case .errorInvalidState: return 5 - case .errorStateHandler: return 6 - case .errorInvalidPokemon: return 7 - case .errorInsufficientPayment: return 8 - case .errorNoPlayerPokemon: return 9 - case .errorNoFriendPokemon: return 10 - case .errorPlayerAlreadyConfirmed: return 11 - case .errorTransactionLogNotMatch: return 12 - case .errorTradingExpired: return 13 - case .errorTransaction: return 14 - case .errorDailyLimitReached: return 15 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _trading: TradingProto? = nil -} - -#if swift(>=4.2) - -extension ConfirmTradingOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ConfirmTradingOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorFriendNotFound, - .errorInvalidPlayerID, - .errorInvalidState, - .errorStateHandler, - .errorInvalidPokemon, - .errorInsufficientPayment, - .errorNoPlayerPokemon, - .errorNoFriendPokemon, - .errorPlayerAlreadyConfirmed, - .errorTransactionLogNotMatch, - .errorTradingExpired, - .errorTransaction, - .errorDailyLimitReached, - ] -} - -#endif // swift(>=4.2) - -public struct ConfirmTradingProto { - // 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. - - public var playerID: String = String() - - public var transactionLog: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ContactSettingsProto { - // 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. - - public var sendMarketingEmails: Bool = false - - public var sendPushNotifications: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ContestBadgeData { - // 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. - - public var numberOfFirstPlaceWins: Int32 = 0 - - public var contestData: [ContestWinDataProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ContestBuddyFocusProto { - // 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. - - public var minBuddyLevel: BuddyLevel = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ContestCycleProto { - // 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. - - public var startTimeMs: Int64 = 0 - - public var endTimeMs: Int64 = 0 - - public var contestOccurrence: ContestOccurrence = .unset - - public var customCycleWarmupDurationMs: Int64 = 0 - - public var customCycleCooldownDurationMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var pokedexID: HoloPokemonId = .missingno -public struct ContestDisplayProto { - // 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. + public var cp: Int32 = 0 - public var style: EnumWrapper.PokestopStyle = .pokestopNormal + public var cpMultiplier: Float = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var maxStamina: Int32 = 0 - public init() {} -} + public var move1: HoloPokemonMove = .moveUnset -public struct ContestEntryProto { - // 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. + public var move2: HoloPokemonMove = .moveUnset - public var pokedexID: HoloPokemonId = .missingno + public var move3: HoloPokemonMove = .moveUnset public var pokemonDisplay: PokemonDisplayProto { get {return _pokemonDisplay ?? PokemonDisplayProto()} @@ -50555,169 +52237,174 @@ public struct ContestEntryProto { /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public var score: Double = 0 - - public var rank: Int32 = 0 + public var individualAttack: Int32 = 0 - public var playerAvatar: PlayerAvatarProto { - get {return _playerAvatar ?? PlayerAvatarProto()} - set {_playerAvatar = newValue} - } - /// Returns true if `playerAvatar` has been explicitly set. - public var hasPlayerAvatar: Bool {return self._playerAvatar != nil} - /// Clears the value of `playerAvatar`. Subsequent reads from it will return its default value. - public mutating func clearPlayerAvatar() {self._playerAvatar = nil} + public var individualDefense: Int32 = 0 - public var trainerName: String = String() + public var individualStamina: Int32 = 0 - public var team: Team = .unset + public var battlesWon: Int32 = 0 - public var pokemonID: UInt64 = 0 + public var battlesLost: Int32 = 0 - public var playerID: String = String() + public var nickname: String = String() - public var pokemonNickname: String = String() + public var pokeball: Item = .unknown public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil - fileprivate var _playerAvatar: PlayerAvatarProto? = nil } -public struct ContestFocusProto { +public struct CombatProgressTokenData { // 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. - public var contestFocus: ContestFocusProto.OneOf_ContestFocus? = nil + public var token: CombatProgressTokenData.OneOf_Token? = nil - public var pokemon: ContestPokemonFocusProto { + public var combatActiveStateFunction: CombatProgressTokenData.CombatActiveStateFunction { get { - if case .pokemon(let v)? = contestFocus {return v} - return ContestPokemonFocusProto() + if case .combatActiveStateFunction(let v)? = token {return v} + return .noneCombatActiveState } - set {contestFocus = .pokemon(newValue)} + set {token = .combatActiveStateFunction(newValue)} } - public var region: ContestRegionFocusProto { + public var combatEndStateFunction: CombatProgressTokenData.CombatEndStateFunction { get { - if case .region(let v)? = contestFocus {return v} - return ContestRegionFocusProto() + if case .combatEndStateFunction(let v)? = token {return v} + return .noneCombatEndState } - set {contestFocus = .region(newValue)} + set {token = .combatEndStateFunction(newValue)} } - public var hatched: ContestHatchedFocusProto { + public var combatReadyStateFunction: CombatProgressTokenData.CombatReadyStateFunction { get { - if case .hatched(let v)? = contestFocus {return v} - return ContestHatchedFocusProto() + if case .combatReadyStateFunction(let v)? = token {return v} + return .noneCombatReadyState } - set {contestFocus = .hatched(newValue)} + set {token = .combatReadyStateFunction(newValue)} } - public var mega: ContestMegaFocusProto { + public var combatSwapStateFunction: CombatProgressTokenData.CombatSwapStateFunction { get { - if case .mega(let v)? = contestFocus {return v} - return ContestMegaFocusProto() + if case .combatSwapStateFunction(let v)? = token {return v} + return .noneCombatSwapState } - set {contestFocus = .mega(newValue)} + set {token = .combatSwapStateFunction(newValue)} } - public var shiny: ContestShinyFocusProto { + public var combatSpecialMoveStateFunction: CombatProgressTokenData.CombatSpecialMoveStateFunction { get { - if case .shiny(let v)? = contestFocus {return v} - return ContestShinyFocusProto() + if case .combatSpecialMoveStateFunction(let v)? = token {return v} + return .noneCombatSpecialMoveState } - set {contestFocus = .shiny(newValue)} + set {token = .combatSpecialMoveStateFunction(newValue)} } - public var type: ContestTypeFocusProto { + public var combatWaitForPlayerStateFunction: CombatProgressTokenData.CombatWaitForPlayerStateFunction { get { - if case .type(let v)? = contestFocus {return v} - return ContestTypeFocusProto() + if case .combatWaitForPlayerStateFunction(let v)? = token {return v} + return .noneCombatWaitForPlayerState } - set {contestFocus = .type(newValue)} + set {token = .combatWaitForPlayerStateFunction(newValue)} } - public var buddy: ContestBuddyFocusProto { + public var combatPresentationDirectorFunction: CombatProgressTokenData.CombatPresentationDirectorFunction { get { - if case .buddy(let v)? = contestFocus {return v} - return ContestBuddyFocusProto() + if case .combatPresentationDirectorFunction(let v)? = token {return v} + return .noneCombatPresentationDirector } - set {contestFocus = .buddy(newValue)} + set {token = .combatPresentationDirectorFunction(newValue)} } - public var pokemonClass: ContestPokemonClassFocusProto { + public var combatDirectorV2Function: CombatProgressTokenData.CombatDirectorV2Function { get { - if case .pokemonClass(let v)? = contestFocus {return v} - return ContestPokemonClassFocusProto() + if case .combatDirectorV2Function(let v)? = token {return v} + return .noneCombatDirectorV2 } - set {contestFocus = .pokemonClass(newValue)} + set {token = .combatDirectorV2Function(newValue)} } - public var pokemonFamily: ContestPokemonFamilyFocusProto { + public var combatStateV2Function: CombatProgressTokenData.CombatStateV2Function { get { - if case .pokemonFamily(let v)? = contestFocus {return v} - return ContestPokemonFamilyFocusProto() + if case .combatStateV2Function(let v)? = token {return v} + return .noneCombatStateV2 } - set {contestFocus = .pokemonFamily(newValue)} + set {token = .combatStateV2Function(newValue)} + } + + public var combatPokemonFunction: CombatProgressTokenData.CombatPokemonFunction { + get { + if case .combatPokemonFunction(let v)? = token {return v} + return .observeAction + } + set {token = .combatPokemonFunction(newValue)} } + public var lineNumber: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_ContestFocus: Equatable { - case pokemon(ContestPokemonFocusProto) - case region(ContestRegionFocusProto) - case hatched(ContestHatchedFocusProto) - case mega(ContestMegaFocusProto) - case shiny(ContestShinyFocusProto) - case type(ContestTypeFocusProto) - case buddy(ContestBuddyFocusProto) - case pokemonClass(ContestPokemonClassFocusProto) - case pokemonFamily(ContestPokemonFamilyFocusProto) + public enum OneOf_Token: Equatable { + case combatActiveStateFunction(CombatProgressTokenData.CombatActiveStateFunction) + case combatEndStateFunction(CombatProgressTokenData.CombatEndStateFunction) + case combatReadyStateFunction(CombatProgressTokenData.CombatReadyStateFunction) + case combatSwapStateFunction(CombatProgressTokenData.CombatSwapStateFunction) + case combatSpecialMoveStateFunction(CombatProgressTokenData.CombatSpecialMoveStateFunction) + case combatWaitForPlayerStateFunction(CombatProgressTokenData.CombatWaitForPlayerStateFunction) + case combatPresentationDirectorFunction(CombatProgressTokenData.CombatPresentationDirectorFunction) + case combatDirectorV2Function(CombatProgressTokenData.CombatDirectorV2Function) + case combatStateV2Function(CombatProgressTokenData.CombatStateV2Function) + case combatPokemonFunction(CombatProgressTokenData.CombatPokemonFunction) #if !swift(>=4.1) - public static func ==(lhs: ContestFocusProto.OneOf_ContestFocus, rhs: ContestFocusProto.OneOf_ContestFocus) -> Bool { + public static func ==(lhs: CombatProgressTokenData.OneOf_Token, rhs: CombatProgressTokenData.OneOf_Token) -> Bool { // The use of inline closures is to circumvent an issue where the compiler // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch (lhs, rhs) { - case (.pokemon, .pokemon): return { - guard case .pokemon(let l) = lhs, case .pokemon(let r) = rhs else { preconditionFailure() } + case (.combatActiveStateFunction, .combatActiveStateFunction): return { + guard case .combatActiveStateFunction(let l) = lhs, case .combatActiveStateFunction(let r) = rhs else { preconditionFailure() } return l == r }() - case (.region, .region): return { - guard case .region(let l) = lhs, case .region(let r) = rhs else { preconditionFailure() } + case (.combatEndStateFunction, .combatEndStateFunction): return { + guard case .combatEndStateFunction(let l) = lhs, case .combatEndStateFunction(let r) = rhs else { preconditionFailure() } return l == r }() - case (.hatched, .hatched): return { - guard case .hatched(let l) = lhs, case .hatched(let r) = rhs else { preconditionFailure() } + case (.combatReadyStateFunction, .combatReadyStateFunction): return { + guard case .combatReadyStateFunction(let l) = lhs, case .combatReadyStateFunction(let r) = rhs else { preconditionFailure() } return l == r }() - case (.mega, .mega): return { - guard case .mega(let l) = lhs, case .mega(let r) = rhs else { preconditionFailure() } + case (.combatSwapStateFunction, .combatSwapStateFunction): return { + guard case .combatSwapStateFunction(let l) = lhs, case .combatSwapStateFunction(let r) = rhs else { preconditionFailure() } return l == r }() - case (.shiny, .shiny): return { - guard case .shiny(let l) = lhs, case .shiny(let r) = rhs else { preconditionFailure() } + case (.combatSpecialMoveStateFunction, .combatSpecialMoveStateFunction): return { + guard case .combatSpecialMoveStateFunction(let l) = lhs, case .combatSpecialMoveStateFunction(let r) = rhs else { preconditionFailure() } return l == r }() - case (.type, .type): return { - guard case .type(let l) = lhs, case .type(let r) = rhs else { preconditionFailure() } + case (.combatWaitForPlayerStateFunction, .combatWaitForPlayerStateFunction): return { + guard case .combatWaitForPlayerStateFunction(let l) = lhs, case .combatWaitForPlayerStateFunction(let r) = rhs else { preconditionFailure() } return l == r }() - case (.buddy, .buddy): return { - guard case .buddy(let l) = lhs, case .buddy(let r) = rhs else { preconditionFailure() } + case (.combatPresentationDirectorFunction, .combatPresentationDirectorFunction): return { + guard case .combatPresentationDirectorFunction(let l) = lhs, case .combatPresentationDirectorFunction(let r) = rhs else { preconditionFailure() } return l == r }() - case (.pokemonClass, .pokemonClass): return { - guard case .pokemonClass(let l) = lhs, case .pokemonClass(let r) = rhs else { preconditionFailure() } + case (.combatDirectorV2Function, .combatDirectorV2Function): return { + guard case .combatDirectorV2Function(let l) = lhs, case .combatDirectorV2Function(let r) = rhs else { preconditionFailure() } return l == r }() - case (.pokemonFamily, .pokemonFamily): return { - guard case .pokemonFamily(let l) = lhs, case .pokemonFamily(let r) = rhs else { preconditionFailure() } + case (.combatStateV2Function, .combatStateV2Function): return { + guard case .combatStateV2Function(let l) = lhs, case .combatStateV2Function(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.combatPokemonFunction, .combatPokemonFunction): return { + guard case .combatPokemonFunction(let l) = lhs, case .combatPokemonFunction(let r) = rhs else { preconditionFailure() } return l == r }() default: return false @@ -50726,666 +52413,1081 @@ public struct ContestFocusProto { #endif } - public init() {} -} - -public struct ContestFriendEntryProto { - // 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. + public enum CombatActiveStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneCombatActiveState // = 0 + case enterCombatActiveState // = 1 + case exitCombatActiveState // = 2 + case doWorkCombatActiveState // = 3 + case UNRECOGNIZED(Int) - public var trainerName: String = String() + public init() { + self = .noneCombatActiveState + } - public var friendshipLevelMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneCombatActiveState + case 1: self = .enterCombatActiveState + case 2: self = .exitCombatActiveState + case 3: self = .doWorkCombatActiveState + default: self = .UNRECOGNIZED(rawValue) + } + } - public var rank: Int32 = 0 + public var rawValue: Int { + switch self { + case .noneCombatActiveState: return 0 + case .enterCombatActiveState: return 1 + case .exitCombatActiveState: return 2 + case .doWorkCombatActiveState: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var playerAvatar: PlayerAvatarProto { - get {return _playerAvatar ?? PlayerAvatarProto()} - set {_playerAvatar = newValue} } - /// Returns true if `playerAvatar` has been explicitly set. - public var hasPlayerAvatar: Bool {return self._playerAvatar != nil} - /// Clears the value of `playerAvatar`. Subsequent reads from it will return its default value. - public mutating func clearPlayerAvatar() {self._playerAvatar = nil} - - public var team: Team = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _playerAvatar: PlayerAvatarProto? = nil -} - -public struct ContestHatchedFocusProto { - // 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. - - public var requireToBeHatched: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ContestInfoProto { - // 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. - public var contestID: String = String() + public enum CombatDirectorV2Function: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneCombatDirectorV2 // = 0 + case tryStartCombat // = 1 + case startCombatError // = 2 + case receiveCombatUpdate // = 3 + case tryFastAttack // = 4 + case swapPokemonTo // = 5 + case queueSpecialAttack // = 6 + case trySpecialAttack // = 7 + case tryExecuteBufferedAction // = 8 + case canActOnTurn // = 9 + case canPerformAttack // = 10 + case checkOpponentChargeMoveChance // = 11 + case UNRECOGNIZED(Int) - public var pokemonID: UInt64 = 0 + public init() { + self = .noneCombatDirectorV2 + } - public var ranking: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneCombatDirectorV2 + case 1: self = .tryStartCombat + case 2: self = .startCombatError + case 3: self = .receiveCombatUpdate + case 4: self = .tryFastAttack + case 5: self = .swapPokemonTo + case 6: self = .queueSpecialAttack + case 7: self = .trySpecialAttack + case 8: self = .tryExecuteBufferedAction + case 9: self = .canActOnTurn + case 10: self = .canPerformAttack + case 11: self = .checkOpponentChargeMoveChance + default: self = .UNRECOGNIZED(rawValue) + } + } - public var fortImageURL: String = String() + public var rawValue: Int { + switch self { + case .noneCombatDirectorV2: return 0 + case .tryStartCombat: return 1 + case .startCombatError: return 2 + case .receiveCombatUpdate: return 3 + case .tryFastAttack: return 4 + case .swapPokemonTo: return 5 + case .queueSpecialAttack: return 6 + case .trySpecialAttack: return 7 + case .tryExecuteBufferedAction: return 8 + case .canActOnTurn: return 9 + case .canPerformAttack: return 10 + case .checkOpponentChargeMoveChance: return 11 + case .UNRECOGNIZED(let i): return i + } + } - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public var fortName: String = String() + public enum CombatEndStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneCombatEndState // = 0 + case enterCombatEndState // = 1 + case exitCombatEndState // = 2 + case doWorkCombatEndState // = 3 + case UNRECOGNIZED(Int) - public var rewardsTemplateID: String = String() + public init() { + self = .noneCombatEndState + } - public var pokedexID: HoloPokemonId = .missingno + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneCombatEndState + case 1: self = .enterCombatEndState + case 2: self = .exitCombatEndState + case 3: self = .doWorkCombatEndState + default: self = .UNRECOGNIZED(rawValue) + } + } - public var localEndTimeMs: Int64 = 0 + public var rawValue: Int { + switch self { + case .noneCombatEndState: return 0 + case .enterCombatEndState: return 1 + case .exitCombatEndState: return 2 + case .doWorkCombatEndState: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var isRankingLocked: Bool = false + } - public var evolvedPokemonID: UInt64 = 0 + public enum CombatPokemonFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case observeAction // = 0 + case executeAction // = 1 + case pauseUpdates // = 2 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .observeAction + } - public init() {} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .observeAction + case 1: self = .executeAction + case 2: self = .pauseUpdates + default: self = .UNRECOGNIZED(rawValue) + } + } - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil -} + public var rawValue: Int { + switch self { + case .observeAction: return 0 + case .executeAction: return 1 + case .pauseUpdates: return 2 + case .UNRECOGNIZED(let i): return i + } + } -public struct ContestInfoSummaryProto { - // 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. + } - public var contestInfo: [ContestInfoProto] = [] + public enum CombatPresentationDirectorFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneCombatPresentationDirector // = 0 + case playMiniGame // = 1 + case UNRECOGNIZED(Int) - public var tradedContestPokemonID: [UInt64] = [] + public init() { + self = .noneCombatPresentationDirector + } - public var isRankingLocked: Bool = false + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneCombatPresentationDirector + case 1: self = .playMiniGame + default: self = .UNRECOGNIZED(rawValue) + } + } - public var endTimeMs: Int64 = 0 + public var rawValue: Int { + switch self { + case .noneCombatPresentationDirector: return 0 + case .playMiniGame: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public var metric: ContestMetricProto { - get {return _metric ?? ContestMetricProto()} - set {_metric = newValue} } - /// Returns true if `metric` has been explicitly set. - public var hasMetric: Bool {return self._metric != nil} - /// Clears the value of `metric`. Subsequent reads from it will return its default value. - public mutating func clearMetric() {self._metric = nil} - - public var numContestsEntered: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + public enum CombatReadyStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneCombatReadyState // = 0 + case enterCombatReadyState // = 1 + case exitCombatReadyState // = 2 + case doWorkCombatReadyState // = 3 + case UNRECOGNIZED(Int) - fileprivate var _metric: ContestMetricProto? = nil -} + public init() { + self = .noneCombatReadyState + } -public struct ContestLengthThresholdsProto { - // 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. + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneCombatReadyState + case 1: self = .enterCombatReadyState + case 2: self = .exitCombatReadyState + case 3: self = .doWorkCombatReadyState + default: self = .UNRECOGNIZED(rawValue) + } + } - public var length: String = String() + public var rawValue: Int { + switch self { + case .noneCombatReadyState: return 0 + case .enterCombatReadyState: return 1 + case .exitCombatReadyState: return 2 + case .doWorkCombatReadyState: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var minDurationMs: Int64 = 0 + } - public var maxDurationMs: Int64 = 0 + public enum CombatSpecialMoveStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneCombatSpecialMoveState // = 0 + case enterCombatSpecialMoveState // = 1 + case exitCombatSpecialMoveState // = 2 + case doWorkCombatSpecialMoveState // = 3 + case performFlyIn // = 4 + case performFlyOut // = 5 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .noneCombatSpecialMoveState + } - public init() {} -} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneCombatSpecialMoveState + case 1: self = .enterCombatSpecialMoveState + case 2: self = .exitCombatSpecialMoveState + case 3: self = .doWorkCombatSpecialMoveState + case 4: self = .performFlyIn + case 5: self = .performFlyOut + default: self = .UNRECOGNIZED(rawValue) + } + } -public struct ContestLimitProto { - // 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. + public var rawValue: Int { + switch self { + case .noneCombatSpecialMoveState: return 0 + case .enterCombatSpecialMoveState: return 1 + case .exitCombatSpecialMoveState: return 2 + case .doWorkCombatSpecialMoveState: return 3 + case .performFlyIn: return 4 + case .performFlyOut: return 5 + case .UNRECOGNIZED(let i): return i + } + } - public var contestMetric: ContestMetricProto { - get {return _contestMetric ?? ContestMetricProto()} - set {_contestMetric = newValue} } - /// Returns true if `contestMetric` has been explicitly set. - public var hasContestMetric: Bool {return self._contestMetric != nil} - /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. - public mutating func clearContestMetric() {self._contestMetric = nil} - public var contestOccurrence: ContestOccurrence = .unset - - public var perContestMaxEntries: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} + public enum CombatStateV2Function: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneCombatStateV2 // = 0 + case observeCombatState // = 1 + case delaySpecialTransition // = 2 + case UNRECOGNIZED(Int) - fileprivate var _contestMetric: ContestMetricProto? = nil -} + public init() { + self = .noneCombatStateV2 + } -public struct ContestMegaFocusProto { - // 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. + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneCombatStateV2 + case 1: self = .observeCombatState + case 2: self = .delaySpecialTransition + default: self = .UNRECOGNIZED(rawValue) + } + } - public var temporaryEvolutionRequired: HoloTemporaryEvolutionId = .tempEvolutionUnset + public var rawValue: Int { + switch self { + case .noneCombatStateV2: return 0 + case .observeCombatState: return 1 + case .delaySpecialTransition: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } - public init() {} -} + public enum CombatSwapStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneCombatSwapState // = 0 + case enterCombatSwapState // = 1 + case exitCombatSwapState // = 2 + case doWorkCombatSwapState // = 3 + case UNRECOGNIZED(Int) -public struct ContestMetricProto { - // 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. + public init() { + self = .noneCombatSwapState + } - public var metric: ContestMetricProto.OneOf_Metric? = nil + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneCombatSwapState + case 1: self = .enterCombatSwapState + case 2: self = .exitCombatSwapState + case 3: self = .doWorkCombatSwapState + default: self = .UNRECOGNIZED(rawValue) + } + } - public var pokemonMetric: ContestPokemonMetric { - get { - if case .pokemonMetric(let v)? = metric {return v} - return .unset + public var rawValue: Int { + switch self { + case .noneCombatSwapState: return 0 + case .enterCombatSwapState: return 1 + case .exitCombatSwapState: return 2 + case .doWorkCombatSwapState: return 3 + case .UNRECOGNIZED(let i): return i + } } - set {metric = .pokemonMetric(newValue)} + } - public var rankingStandard: ContestRankingStandard = .unset + public enum CombatWaitForPlayerStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneCombatWaitForPlayerState // = 0 + case enterCombatWaitForPlayerState // = 1 + case exitCombatWaitForPlayerState // = 2 + case doWorkCombatWaitForPlayerState // = 3 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .noneCombatWaitForPlayerState + } - public enum OneOf_Metric: Equatable { - case pokemonMetric(ContestPokemonMetric) + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneCombatWaitForPlayerState + case 1: self = .enterCombatWaitForPlayerState + case 2: self = .exitCombatWaitForPlayerState + case 3: self = .doWorkCombatWaitForPlayerState + default: self = .UNRECOGNIZED(rawValue) + } + } - #if !swift(>=4.1) - public static func ==(lhs: ContestMetricProto.OneOf_Metric, rhs: ContestMetricProto.OneOf_Metric) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pokemonMetric, .pokemonMetric): return { - guard case .pokemonMetric(let l) = lhs, case .pokemonMetric(let r) = rhs else { preconditionFailure() } - return l == r - }() + public var rawValue: Int { + switch self { + case .noneCombatWaitForPlayerState: return 0 + case .enterCombatWaitForPlayerState: return 1 + case .exitCombatWaitForPlayerState: return 2 + case .doWorkCombatWaitForPlayerState: return 3 + case .UNRECOGNIZED(let i): return i } } - #endif + } public init() {} } -public struct ContestPokemonClassFocusProto { - // 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. - - public var requiredClass: HoloPokemonClass = .pokemonClassNormal - - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension CombatProgressTokenData.CombatActiveStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatActiveStateFunction] = [ + .noneCombatActiveState, + .enterCombatActiveState, + .exitCombatActiveState, + .doWorkCombatActiveState, + ] } -public struct ContestPokemonFamilyFocusProto { - // 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. - - public var requiredFamily: HoloPokemonFamilyId = .familyUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} +extension CombatProgressTokenData.CombatDirectorV2Function: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatDirectorV2Function] = [ + .noneCombatDirectorV2, + .tryStartCombat, + .startCombatError, + .receiveCombatUpdate, + .tryFastAttack, + .swapPokemonTo, + .queueSpecialAttack, + .trySpecialAttack, + .tryExecuteBufferedAction, + .canActOnTurn, + .canPerformAttack, + .checkOpponentChargeMoveChance, + ] } -public struct ContestPokemonFocusProto { - // 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. - - public var pokedexID: HoloPokemonId = .missingno - - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} +extension CombatProgressTokenData.CombatEndStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatEndStateFunction] = [ + .noneCombatEndState, + .enterCombatEndState, + .exitCombatEndState, + .doWorkCombatEndState, + ] +} - public var requireFormToMatch: Bool = false +extension CombatProgressTokenData.CombatPokemonFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatPokemonFunction] = [ + .observeAction, + .executeAction, + .pauseUpdates, + ] +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +extension CombatProgressTokenData.CombatPresentationDirectorFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatPresentationDirectorFunction] = [ + .noneCombatPresentationDirector, + .playMiniGame, + ] +} - public init() {} +extension CombatProgressTokenData.CombatReadyStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatReadyStateFunction] = [ + .noneCombatReadyState, + .enterCombatReadyState, + .exitCombatReadyState, + .doWorkCombatReadyState, + ] +} - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +extension CombatProgressTokenData.CombatSpecialMoveStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatSpecialMoveStateFunction] = [ + .noneCombatSpecialMoveState, + .enterCombatSpecialMoveState, + .exitCombatSpecialMoveState, + .doWorkCombatSpecialMoveState, + .performFlyIn, + .performFlyOut, + ] } -public struct ContestPokemonSectionProto { - // 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. +extension CombatProgressTokenData.CombatStateV2Function: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatStateV2Function] = [ + .noneCombatStateV2, + .observeCombatState, + .delaySpecialTransition, + ] +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +extension CombatProgressTokenData.CombatSwapStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatSwapStateFunction] = [ + .noneCombatSwapState, + .enterCombatSwapState, + .exitCombatSwapState, + .doWorkCombatSwapState, + ] +} - public init() {} +extension CombatProgressTokenData.CombatWaitForPlayerStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProgressTokenData.CombatWaitForPlayerStateFunction] = [ + .noneCombatWaitForPlayerState, + .enterCombatWaitForPlayerState, + .exitCombatWaitForPlayerState, + .doWorkCombatWaitForPlayerState, + ] } -public struct ContestProto { +#endif // swift(>=4.2) + +public struct CombatProto { // 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. - public var contestID: String = String() - - public var focus: ContestFocusProto { - get {return _focus ?? ContestFocusProto()} - set {_focus = newValue} + public var combatState: CombatProto.CombatState { + get {return _storage._combatState} + set {_uniqueStorage()._combatState = newValue} } - /// Returns true if `focus` has been explicitly set. - public var hasFocus: Bool {return self._focus != nil} - /// Clears the value of `focus`. Subsequent reads from it will return its default value. - public mutating func clearFocus() {self._focus = nil} - public var metric: ContestMetricProto { - get {return _metric ?? ContestMetricProto()} - set {_metric = newValue} + public var combatID: String { + get {return _storage._combatID} + set {_uniqueStorage()._combatID = newValue} } - /// Returns true if `metric` has been explicitly set. - public var hasMetric: Bool {return self._metric != nil} - /// Clears the value of `metric`. Subsequent reads from it will return its default value. - public mutating func clearMetric() {self._metric = nil} - public var schedule: ContestScheduleProto { - get {return _schedule ?? ContestScheduleProto()} - set {_schedule = newValue} + public var player: CombatProto.CombatPlayerProto { + get {return _storage._player ?? CombatProto.CombatPlayerProto()} + set {_uniqueStorage()._player = newValue} } - /// Returns true if `schedule` has been explicitly set. - public var hasSchedule: Bool {return self._schedule != nil} - /// Clears the value of `schedule`. Subsequent reads from it will return its default value. - public mutating func clearSchedule() {self._schedule = nil} - - public var rewardsTemplateID: String = String() - - public var focuses: [ContestFocusProto] = [] - - public var focusStringKey: String = String() + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return _storage._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {_uniqueStorage()._player = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var opponent: CombatProto.CombatPlayerProto { + get {return _storage._opponent ?? CombatProto.CombatPlayerProto()} + set {_uniqueStorage()._opponent = newValue} + } + /// Returns true if `opponent` has been explicitly set. + public var hasOpponent: Bool {return _storage._opponent != nil} + /// Clears the value of `opponent`. Subsequent reads from it will return its default value. + public mutating func clearOpponent() {_uniqueStorage()._opponent = nil} - public init() {} + public var combatStartMs: Int64 { + get {return _storage._combatStartMs} + set {_uniqueStorage()._combatStartMs = newValue} + } - fileprivate var _focus: ContestFocusProto? = nil - fileprivate var _metric: ContestMetricProto? = nil - fileprivate var _schedule: ContestScheduleProto? = nil -} + public var combatEndMs: Int64 { + get {return _storage._combatEndMs} + set {_uniqueStorage()._combatEndMs = newValue} + } -public struct ContestRegionFocusProto { - // 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. + public var serverMs: Int64 { + get {return _storage._serverMs} + set {_uniqueStorage()._serverMs = newValue} + } - public var region: PokedexGenerationId = .generationUnset + public var currentTurn: Int32 { + get {return _storage._currentTurn} + set {_uniqueStorage()._currentTurn = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var turnStartMs: Int64 { + get {return _storage._turnStartMs} + set {_uniqueStorage()._turnStartMs = newValue} + } - public init() {} -} + public var minigameEndMs: Int64 { + get {return _storage._minigameEndMs} + set {_uniqueStorage()._minigameEndMs = newValue} + } -public struct ContestScheduleProto { - // 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. + public var minigameSubmitScoreEndMs: Int64 { + get {return _storage._minigameSubmitScoreEndMs} + set {_uniqueStorage()._minigameSubmitScoreEndMs = newValue} + } - public var contestCycle: ContestCycleProto { - get {return _contestCycle ?? ContestCycleProto()} - set {_contestCycle = newValue} + public var changePokemonEndMs: Int64 { + get {return _storage._changePokemonEndMs} + set {_uniqueStorage()._changePokemonEndMs = newValue} } - /// Returns true if `contestCycle` has been explicitly set. - public var hasContestCycle: Bool {return self._contestCycle != nil} - /// Clears the value of `contestCycle`. Subsequent reads from it will return its default value. - public mutating func clearContestCycle() {self._contestCycle = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var quickSwapCooldownDurationMs: Int64 { + get {return _storage._quickSwapCooldownDurationMs} + set {_uniqueStorage()._quickSwapCooldownDurationMs = newValue} + } - public init() {} + public var stateChangeDelayUntilTurn: Int64 { + get {return _storage._stateChangeDelayUntilTurn} + set {_uniqueStorage()._stateChangeDelayUntilTurn = newValue} + } - fileprivate var _contestCycle: ContestCycleProto? = nil -} + public var minigameData: CombatProto.MinigameProto { + get {return _storage._minigameData ?? CombatProto.MinigameProto()} + set {_uniqueStorage()._minigameData = newValue} + } + /// Returns true if `minigameData` has been explicitly set. + public var hasMinigameData: Bool {return _storage._minigameData != nil} + /// Clears the value of `minigameData`. Subsequent reads from it will return its default value. + public mutating func clearMinigameData() {_uniqueStorage()._minigameData = nil} -public struct ContestScoreCoefficientProto { - // 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. + public var combatRequestCounter: Int32 { + get {return _storage._combatRequestCounter} + set {_uniqueStorage()._combatRequestCounter = newValue} + } - public var contestType: ContestScoreCoefficientProto.OneOf_ContestType? = nil + public var opponentTriggered: Bool { + get {return _storage._opponentTriggered} + set {_uniqueStorage()._opponentTriggered = newValue} + } - public var pokemonSize: ContestScoreCoefficientProto.PokemonSize { - get { - if case .pokemonSize(let v)? = contestType {return v} - return ContestScoreCoefficientProto.PokemonSize() - } - set {contestType = .pokemonSize(newValue)} + public var opponentRequestCounter: Int32 { + get {return _storage._opponentRequestCounter} + set {_uniqueStorage()._opponentRequestCounter = newValue} } public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_ContestType: Equatable { - case pokemonSize(ContestScoreCoefficientProto.PokemonSize) + public enum CombatState: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case waitingForPlayers // = 1 + case ready // = 2 + case active // = 3 + case specialAttack // = 4 + case waitingForChangePokemon // = 5 + case finished // = 6 + case playerQuit // = 7 + case timeout // = 8 + case sync // = 9 + case UNRECOGNIZED(Int) - #if !swift(>=4.1) - public static func ==(lhs: ContestScoreCoefficientProto.OneOf_ContestType, rhs: ContestScoreCoefficientProto.OneOf_ContestType) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pokemonSize, .pokemonSize): return { - guard case .pokemonSize(let l) = lhs, case .pokemonSize(let r) = rhs else { preconditionFailure() } - return l == r - }() - } + public init() { + self = .unset } - #endif - } - public struct PokemonSize { - // 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. - - public var heightCoefficient: Double = 0 - - public var weightCoefficient: Double = 0 - - public var ivCoefficient: Double = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .waitingForPlayers + case 2: self = .ready + case 3: self = .active + case 4: self = .specialAttack + case 5: self = .waitingForChangePokemon + case 6: self = .finished + case 7: self = .playerQuit + case 8: self = .timeout + case 9: self = .sync + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .waitingForPlayers: return 1 + case .ready: return 2 + case .active: return 3 + case .specialAttack: return 4 + case .waitingForChangePokemon: return 5 + case .finished: return 6 + case .playerQuit: return 7 + case .timeout: return 8 + case .sync: return 9 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} } - public init() {} -} - -public struct ContestScoreComponentProto { - // 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. + public struct CombatPlayerProto { + // 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. - public var componentType: ContestScoreComponentType = .typeUnset + public var publicProfile: PlayerPublicProfileProto { + get {return _storage._publicProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._publicProfile = newValue} + } + /// Returns true if `publicProfile` has been explicitly set. + public var hasPublicProfile: Bool {return _storage._publicProfile != nil} + /// Clears the value of `publicProfile`. Subsequent reads from it will return its default value. + public mutating func clearPublicProfile() {_uniqueStorage()._publicProfile = nil} - public var coefficientValue: Double = 0 + public var activePokemon: CombatProto.CombatPokemonProto { + get {return _storage._activePokemon ?? CombatProto.CombatPokemonProto()} + set {_uniqueStorage()._activePokemon = newValue} + } + /// Returns true if `activePokemon` has been explicitly set. + public var hasActivePokemon: Bool {return _storage._activePokemon != nil} + /// Clears the value of `activePokemon`. Subsequent reads from it will return its default value. + public mutating func clearActivePokemon() {_uniqueStorage()._activePokemon = nil} - public var isVisible: Bool = false + public var reservePokemon: [CombatProto.CombatPokemonProto] { + get {return _storage._reservePokemon} + set {_uniqueStorage()._reservePokemon = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var faintedPokemon: [CombatProto.CombatPokemonProto] { + get {return _storage._faintedPokemon} + set {_uniqueStorage()._faintedPokemon = newValue} + } - public init() {} -} + public var currentAction: CombatActionProto { + get {return _storage._currentAction ?? CombatActionProto()} + set {_uniqueStorage()._currentAction = newValue} + } + /// Returns true if `currentAction` has been explicitly set. + public var hasCurrentAction: Bool {return _storage._currentAction != nil} + /// Clears the value of `currentAction`. Subsequent reads from it will return its default value. + public mutating func clearCurrentAction() {_uniqueStorage()._currentAction = nil} -public struct ContestScoreFormulaProto { - // 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. + public var lockstepAck: Bool { + get {return _storage._lockstepAck} + set {_uniqueStorage()._lockstepAck = newValue} + } - public var contestType: ContestMetricProto { - get {return _contestType ?? ContestMetricProto()} - set {_contestType = newValue} - } - /// Returns true if `contestType` has been explicitly set. - public var hasContestType: Bool {return self._contestType != nil} - /// Clears the value of `contestType`. Subsequent reads from it will return its default value. - public mutating func clearContestType() {self._contestType = nil} + public var lastUpdatedTurn: Int32 { + get {return _storage._lastUpdatedTurn} + set {_uniqueStorage()._lastUpdatedTurn = newValue} + } - public var scoreComponents: [ContestScoreComponentProto] = [] + public var minigameAction: CombatActionProto { + get {return _storage._minigameAction ?? CombatActionProto()} + set {_uniqueStorage()._minigameAction = newValue} + } + /// Returns true if `minigameAction` has been explicitly set. + public var hasMinigameAction: Bool {return _storage._minigameAction != nil} + /// Clears the value of `minigameAction`. Subsequent reads from it will return its default value. + public mutating func clearMinigameAction() {_uniqueStorage()._minigameAction = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var quickSwapAvailableMs: Int64 { + get {return _storage._quickSwapAvailableMs} + set {_uniqueStorage()._quickSwapAvailableMs = newValue} + } - public init() {} + public var minigameDefenseChancesLeft: Int32 { + get {return _storage._minigameDefenseChancesLeft} + set {_uniqueStorage()._minigameDefenseChancesLeft = newValue} + } - fileprivate var _contestType: ContestMetricProto? = nil -} + public var combatNpcPersonalityID: String { + get {return _storage._combatNpcPersonalityID} + set {_uniqueStorage()._combatNpcPersonalityID = newValue} + } -public struct ContestSettingsProto { - // 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. + public var timesCombatActionsCalled: Int32 { + get {return _storage._timesCombatActionsCalled} + set {_uniqueStorage()._timesCombatActionsCalled = newValue} + } - public var isFeatureEnabled: Bool { - get {return _storage._isFeatureEnabled} - set {_uniqueStorage()._isFeatureEnabled = newValue} - } + public var lobbyJoinTimeMs: Int64 { + get {return _storage._lobbyJoinTimeMs} + set {_uniqueStorage()._lobbyJoinTimeMs = newValue} + } - public var playerContestMaxEntries: Int32 { - get {return _storage._playerContestMaxEntries} - set {_uniqueStorage()._playerContestMaxEntries = newValue} - } + public var superEffectiveChargeAttacksUsed: Int32 { + get {return _storage._superEffectiveChargeAttacksUsed} + set {_uniqueStorage()._superEffectiveChargeAttacksUsed = newValue} + } - public var contestLimits: [ContestLimitProto] { - get {return _storage._contestLimits} - set {_uniqueStorage()._contestLimits = newValue} - } + public var lastSnapshotActionType: CombatActionProto.ActionType { + get {return _storage._lastSnapshotActionType} + set {_uniqueStorage()._lastSnapshotActionType = newValue} + } - public var defaultContestMaxEntries: Int32 { - get {return _storage._defaultContestMaxEntries} - set {_uniqueStorage()._defaultContestMaxEntries = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var minCooldownBeforeSeasonEndMs: Int64 { - get {return _storage._minCooldownBeforeSeasonEndMs} - set {_uniqueStorage()._minCooldownBeforeSeasonEndMs = newValue} - } + public init() {} - public var contestWarmupAndCooldownDurationsMs: [ContestWarmupAndCooldownDurationSettingsProto] { - get {return _storage._contestWarmupAndCooldownDurationsMs} - set {_uniqueStorage()._contestWarmupAndCooldownDurationsMs = newValue} + fileprivate var _storage = _StorageClass.defaultInstance } - public var defaultCycleWarmupDurationMs: Int64 { - get {return _storage._defaultCycleWarmupDurationMs} - set {_uniqueStorage()._defaultCycleWarmupDurationMs = newValue} - } + public struct CombatPokemonProto { + // 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. - public var defaultCycleCooldownDurationMs: Int64 { - get {return _storage._defaultCycleCooldownDurationMs} - set {_uniqueStorage()._defaultCycleCooldownDurationMs = newValue} - } + public var pokemonID: UInt64 { + get {return _storage._pokemonID} + set {_uniqueStorage()._pokemonID = newValue} + } - public var maxCatchPromptRange: Double { - get {return _storage._maxCatchPromptRange} - set {_uniqueStorage()._maxCatchPromptRange = newValue} - } + public var pokedexID: HoloPokemonId { + get {return _storage._pokedexID} + set {_uniqueStorage()._pokedexID = newValue} + } - public var catchPromptTimeoutMs: Float { - get {return _storage._catchPromptTimeoutMs} - set {_uniqueStorage()._catchPromptTimeoutMs = newValue} - } + public var cp: Int32 { + get {return _storage._cp} + set {_uniqueStorage()._cp = newValue} + } - public var contestScoreCoefficient: [ContestScoreCoefficientProto] { - get {return _storage._contestScoreCoefficient} - set {_uniqueStorage()._contestScoreCoefficient = newValue} - } + public var cpMultiplier: Float { + get {return _storage._cpMultiplier} + set {_uniqueStorage()._cpMultiplier = newValue} + } - public var contestLengthThresholds: [ContestLengthThresholdsProto] { - get {return _storage._contestLengthThresholds} - set {_uniqueStorage()._contestLengthThresholds = newValue} - } + public var stamina: Int32 { + get {return _storage._stamina} + set {_uniqueStorage()._stamina = newValue} + } - public var isFriendsDisplayEnabled: Bool { - get {return _storage._isFriendsDisplayEnabled} - set {_uniqueStorage()._isFriendsDisplayEnabled = newValue} - } + public var maxStamina: Int32 { + get {return _storage._maxStamina} + set {_uniqueStorage()._maxStamina = newValue} + } - public var leaderboardCardDisplayCount: Int32 { - get {return _storage._leaderboardCardDisplayCount} - set {_uniqueStorage()._leaderboardCardDisplayCount = newValue} - } + public var move1: HoloPokemonMove { + get {return _storage._move1} + set {_uniqueStorage()._move1 = newValue} + } - public var postcontestLeaderboardCardDisplayCount: Int32 { - get {return _storage._postcontestLeaderboardCardDisplayCount} - set {_uniqueStorage()._postcontestLeaderboardCardDisplayCount = newValue} - } + public var move2: HoloPokemonMove { + get {return _storage._move2} + set {_uniqueStorage()._move2 = newValue} + } - public var contestScoreFormulas: [ContestScoreFormulaProto] { - get {return _storage._contestScoreFormulas} - set {_uniqueStorage()._contestScoreFormulas = newValue} - } + public var move3: HoloPokemonMove { + get {return _storage._move3} + set {_uniqueStorage()._move3 = newValue} + } - public var isV2FeatureEnabled: Bool { - get {return _storage._isV2FeatureEnabled} - set {_uniqueStorage()._isV2FeatureEnabled = newValue} - } + public var energy: Int32 { + get {return _storage._energy} + set {_uniqueStorage()._energy = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemonDisplay: PokemonDisplayProto { + get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} + set {_uniqueStorage()._pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} - public init() {} + public var individualAttack: Int32 { + get {return _storage._individualAttack} + set {_uniqueStorage()._individualAttack = newValue} + } - fileprivate var _storage = _StorageClass.defaultInstance -} + public var individualDefense: Int32 { + get {return _storage._individualDefense} + set {_uniqueStorage()._individualDefense = newValue} + } -public struct ContestShinyFocusProto { - // 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. + public var individualStamina: Int32 { + get {return _storage._individualStamina} + set {_uniqueStorage()._individualStamina = newValue} + } - public var requireToBeShiny: Bool = false + public var attackStatStage: Int32 { + get {return _storage._attackStatStage} + set {_uniqueStorage()._attackStatStage = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var defenseStatStage: Int32 { + get {return _storage._defenseStatStage} + set {_uniqueStorage()._defenseStatStage = newValue} + } - public init() {} -} + public var battlesWon: Int32 { + get {return _storage._battlesWon} + set {_uniqueStorage()._battlesWon = newValue} + } -public struct ContestTypeFocusProto { - // 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. + public var battlesLost: Int32 { + get {return _storage._battlesLost} + set {_uniqueStorage()._battlesLost = newValue} + } - public var type1: HoloPokemonType = .pokemonTypeNone + public var nickname: String { + get {return _storage._nickname} + set {_uniqueStorage()._nickname = newValue} + } - public var type2: HoloPokemonType = .pokemonTypeNone + public var pokeball: Item { + get {return _storage._pokeball} + set {_uniqueStorage()._pokeball = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var heightM: Float { + get {return _storage._heightM} + set {_uniqueStorage()._heightM = newValue} + } - public init() {} -} + public var weightKg: Float { + get {return _storage._weightKg} + set {_uniqueStorage()._weightKg = newValue} + } -public struct ContestWarmupAndCooldownDurationSettingsProto { - // 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. + public var pokemonSize: HoloPokemonSize { + get {return _storage._pokemonSize} + set {_uniqueStorage()._pokemonSize = newValue} + } - public var contestMetric: ContestMetricProto { - get {return _contestMetric ?? ContestMetricProto()} - set {_contestMetric = newValue} - } - /// Returns true if `contestMetric` has been explicitly set. - public var hasContestMetric: Bool {return self._contestMetric != nil} - /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. - public mutating func clearContestMetric() {self._contestMetric = nil} + public var notableActionHistory: [VsActionHistory] { + get {return _storage._notableActionHistory} + set {_uniqueStorage()._notableActionHistory = newValue} + } - public var contestOccurrence: ContestOccurrence = .unset + public var vsEffectTag: [VsEffectTag] { + get {return _storage._vsEffectTag} + set {_uniqueStorage()._vsEffectTag = newValue} + } - public var cycleWarmupDurationMs: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var cycleCooldownDurationMs: Int64 = 0 + public init() {} - public var unknownFields = SwiftProtobuf.UnknownStorage() + fileprivate var _storage = _StorageClass.defaultInstance + } - public init() {} + public struct MinigameProto { + // 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. - fileprivate var _contestMetric: ContestMetricProto? = nil -} + public var minigameEndMs: Int64 = 0 -public struct ContestWinDataProto { - // 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. + public var minigameSubmitScoreEndMs: Int64 = 0 - public var fortName: String = String() + public var flyInCompletionTurn: Int32 = 0 - public var pokemonID: UInt64 = 0 + public var flyOutCompletionTurn: Int32 = 0 - public var contestEndMs: Int64 = 0 + public var renderModifiers: [FormRenderModifier] = [] - public var pokedexID: HoloPokemonId = .missingno + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} -} - -public struct ConversationSettingsProto { - // 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. - public var obString: String = String() + fileprivate var _storage = _StorageClass.defaultInstance +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension CombatProto.CombatState: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CombatProto.CombatState] = [ + .unset, + .waitingForPlayers, + .ready, + .active, + .specialAttack, + .waitingForChangePokemon, + .finished, + .playerQuit, + .timeout, + .sync, + ] } -public struct ConvertCandyToXlCandyOutProto { +#endif // swift(>=4.2) + +public struct CombatPubSubData { // 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. - public var status: ConvertCandyToXlCandyOutProto.Status = .unset + public var messageSent: CombatPubSubData.MessageType = .noType public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum MessageType: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorNotEnoughCandy // = 2 - case errorPlayerLevelTooLow // = 3 + case noType // = 0 + case endNpcCombat // = 1 + case endInvasionCombat // = 2 + case combatNotify // = 3 + case endPvpCombat // = 4 + case vsSeekerMatchStarted // = 5 + case combatChargeAttackAnimationActiveChange // = 6 + case combatUpdateActionUi // = 7 + case combatExitCombatState // = 8 + case combatSuperEffectiveChargedAttacksUpdate // = 9 + case combatStateEntered // = 10 + case combatStateDone // = 11 + case combatStateExited // = 12 + case combatInitializePresentationDirector // = 13 + case combatShowUi // = 14 + case combatHideUi // = 15 + case combatShowMessage // = 16 + case combatShowToast // = 17 + case combatShowTutorial // = 18 + case combatUpdateIsShowingChargeAnim // = 19 + case combatPlayMiniGame // = 20 + case combatContinueAfterMiniGame // = 21 + case combatShowSpecialAttack // = 22 + case combatSpecialMoveStateEnded // = 23 + case combatCleanUpSpecialMoveState // = 24 + case combatHandleSpecialMoveCameraZoom // = 25 + case combatShieldUsed // = 26 + case combatDefenderFlinch // = 27 + case combatOpponentReact // = 28 + case combatFocusOnPokemon // = 29 + case combatPlayStartFadeTransition // = 30 + case combatPlayEndFadeTransition // = 31 + case combatCountdownStarted // = 32 + case combatPlayBackButtonSfx // = 33 + case combatSetupCombatStageSubscriptions // = 34 + case combatOpponentRetrievePokemon // = 35 + case combatHideNameplate // = 36 + case combatDisplayPhysicalShield // = 37 + case combatUpdateTimer // = 38 + case combatStopChargeAttackEffects // = 39 + case combatDefensiveMiniGameDecided // = 40 + case combatDefensiveMiniGameServerResponse // = 41 + case combatPauseNotifyCombatPokemon // = 42 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .noType } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorNotEnoughCandy - case 3: self = .errorPlayerLevelTooLow + case 0: self = .noType + case 1: self = .endNpcCombat + case 2: self = .endInvasionCombat + case 3: self = .combatNotify + case 4: self = .endPvpCombat + case 5: self = .vsSeekerMatchStarted + case 6: self = .combatChargeAttackAnimationActiveChange + case 7: self = .combatUpdateActionUi + case 8: self = .combatExitCombatState + case 9: self = .combatSuperEffectiveChargedAttacksUpdate + case 10: self = .combatStateEntered + case 11: self = .combatStateDone + case 12: self = .combatStateExited + case 13: self = .combatInitializePresentationDirector + case 14: self = .combatShowUi + case 15: self = .combatHideUi + case 16: self = .combatShowMessage + case 17: self = .combatShowToast + case 18: self = .combatShowTutorial + case 19: self = .combatUpdateIsShowingChargeAnim + case 20: self = .combatPlayMiniGame + case 21: self = .combatContinueAfterMiniGame + case 22: self = .combatShowSpecialAttack + case 23: self = .combatSpecialMoveStateEnded + case 24: self = .combatCleanUpSpecialMoveState + case 25: self = .combatHandleSpecialMoveCameraZoom + case 26: self = .combatShieldUsed + case 27: self = .combatDefenderFlinch + case 28: self = .combatOpponentReact + case 29: self = .combatFocusOnPokemon + case 30: self = .combatPlayStartFadeTransition + case 31: self = .combatPlayEndFadeTransition + case 32: self = .combatCountdownStarted + case 33: self = .combatPlayBackButtonSfx + case 34: self = .combatSetupCombatStageSubscriptions + case 35: self = .combatOpponentRetrievePokemon + case 36: self = .combatHideNameplate + case 37: self = .combatDisplayPhysicalShield + case 38: self = .combatUpdateTimer + case 39: self = .combatStopChargeAttackEffects + case 40: self = .combatDefensiveMiniGameDecided + case 41: self = .combatDefensiveMiniGameServerResponse + case 42: self = .combatPauseNotifyCombatPokemon default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .errorNotEnoughCandy: return 2 - case .errorPlayerLevelTooLow: return 3 + case .noType: return 0 + case .endNpcCombat: return 1 + case .endInvasionCombat: return 2 + case .combatNotify: return 3 + case .endPvpCombat: return 4 + case .vsSeekerMatchStarted: return 5 + case .combatChargeAttackAnimationActiveChange: return 6 + case .combatUpdateActionUi: return 7 + case .combatExitCombatState: return 8 + case .combatSuperEffectiveChargedAttacksUpdate: return 9 + case .combatStateEntered: return 10 + case .combatStateDone: return 11 + case .combatStateExited: return 12 + case .combatInitializePresentationDirector: return 13 + case .combatShowUi: return 14 + case .combatHideUi: return 15 + case .combatShowMessage: return 16 + case .combatShowToast: return 17 + case .combatShowTutorial: return 18 + case .combatUpdateIsShowingChargeAnim: return 19 + case .combatPlayMiniGame: return 20 + case .combatContinueAfterMiniGame: return 21 + case .combatShowSpecialAttack: return 22 + case .combatSpecialMoveStateEnded: return 23 + case .combatCleanUpSpecialMoveState: return 24 + case .combatHandleSpecialMoveCameraZoom: return 25 + case .combatShieldUsed: return 26 + case .combatDefenderFlinch: return 27 + case .combatOpponentReact: return 28 + case .combatFocusOnPokemon: return 29 + case .combatPlayStartFadeTransition: return 30 + case .combatPlayEndFadeTransition: return 31 + case .combatCountdownStarted: return 32 + case .combatPlayBackButtonSfx: return 33 + case .combatSetupCombatStageSubscriptions: return 34 + case .combatOpponentRetrievePokemon: return 35 + case .combatHideNameplate: return 36 + case .combatDisplayPhysicalShield: return 37 + case .combatUpdateTimer: return 38 + case .combatStopChargeAttackEffects: return 39 + case .combatDefensiveMiniGameDecided: return 40 + case .combatDefensiveMiniGameServerResponse: return 41 + case .combatPauseNotifyCombatPokemon: return 42 case .UNRECOGNIZED(let i): return i } } @@ -51397,195 +53499,506 @@ public struct ConvertCandyToXlCandyOutProto { #if swift(>=4.2) -extension ConvertCandyToXlCandyOutProto.Status: CaseIterable { +extension CombatPubSubData.MessageType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ConvertCandyToXlCandyOutProto.Status] = [ - .unset, - .success, - .errorNotEnoughCandy, - .errorPlayerLevelTooLow, + public static var allCases: [CombatPubSubData.MessageType] = [ + .noType, + .endNpcCombat, + .endInvasionCombat, + .combatNotify, + .endPvpCombat, + .vsSeekerMatchStarted, + .combatChargeAttackAnimationActiveChange, + .combatUpdateActionUi, + .combatExitCombatState, + .combatSuperEffectiveChargedAttacksUpdate, + .combatStateEntered, + .combatStateDone, + .combatStateExited, + .combatInitializePresentationDirector, + .combatShowUi, + .combatHideUi, + .combatShowMessage, + .combatShowToast, + .combatShowTutorial, + .combatUpdateIsShowingChargeAnim, + .combatPlayMiniGame, + .combatContinueAfterMiniGame, + .combatShowSpecialAttack, + .combatSpecialMoveStateEnded, + .combatCleanUpSpecialMoveState, + .combatHandleSpecialMoveCameraZoom, + .combatShieldUsed, + .combatDefenderFlinch, + .combatOpponentReact, + .combatFocusOnPokemon, + .combatPlayStartFadeTransition, + .combatPlayEndFadeTransition, + .combatCountdownStarted, + .combatPlayBackButtonSfx, + .combatSetupCombatStageSubscriptions, + .combatOpponentRetrievePokemon, + .combatHideNameplate, + .combatDisplayPhysicalShield, + .combatUpdateTimer, + .combatStopChargeAttackEffects, + .combatDefensiveMiniGameDecided, + .combatDefensiveMiniGameServerResponse, + .combatPauseNotifyCombatPokemon, ] } #endif // swift(>=4.2) -public struct ConvertCandyToXlCandyProto { +public struct CombatQuestUpdateProto { // 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. - public var family: HoloPokemonFamilyId = .familyUnset + public var superEffectiveChargedAttacksUpdate: Int32 = 0 - public var numXlCandy: Int32 = 0 + public var faintedOpponentPokemon: [CombatQuestUpdateProto.CombatQuestPokemonProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct CombatQuestPokemonProto { + // 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. + + public var pokemonID: UInt64 = 0 + + public var pokedexID: HoloPokemonId = .missingno + + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil + } + public init() {} } -public struct CopyrightProto { +public struct CombatRankingSettingsProto { // 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. - public var mapDataCopyright: [String] = [] + public var rankLevel: [CombatRankingSettingsProto.RankLevelProto] = [] + + public var requiredForRewards: CombatRankingSettingsProto.RankLevelProto { + get {return _requiredForRewards ?? CombatRankingSettingsProto.RankLevelProto()} + set {_requiredForRewards = newValue} + } + /// Returns true if `requiredForRewards` has been explicitly set. + public var hasRequiredForRewards: Bool {return self._requiredForRewards != nil} + /// Clears the value of `requiredForRewards`. Subsequent reads from it will return its default value. + public mutating func clearRequiredForRewards() {self._requiredForRewards = nil} - public var imageryCopyright: [String] = [] + public var minRankToDisplayRating: Int32 = 0 - public var year: Int32 = 0 + public var seasonNumber: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct RankLevelProto { + // 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. + + public var rankLevel: Int32 = 0 + + public var additionalTotalBattlesRequired: Int32 = 0 + + public var additionalWinsRequired: Int32 = 0 + + public var minRatingRequired: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} + + fileprivate var _requiredForRewards: CombatRankingSettingsProto.RankLevelProto? = nil } -public struct CoveringProto { +public struct CombatSeasonResult { // 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. - public var cellID: [Int64] = [] + public var season: Int32 = 0 + + public var rank: Int32 = 0 + + public var totalBattles: Int32 = 0 + + public var totalWins: Int32 = 0 + + public var rating: Float = 0 + + public var longestWinStreak: Int32 = 0 + + public var currentStreak: Int32 = 0 + + public var stardustEarned: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CrashlyticsSettingsProto { +public struct CombatSettingsProto { // 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. - public var enabled: Bool = false + public var roundDurationSeconds: Float { + get {return _storage._roundDurationSeconds} + set {_uniqueStorage()._roundDurationSeconds = newValue} + } - public var sessionSamplingFraction: Float = 0 + public var turnDurationSeconds: Float { + get {return _storage._turnDurationSeconds} + set {_uniqueStorage()._turnDurationSeconds = newValue} + } + + public var minigameDurationSeconds: Float { + get {return _storage._minigameDurationSeconds} + set {_uniqueStorage()._minigameDurationSeconds = newValue} + } + + public var sameTypeAttackBonusMultiplier: Float { + get {return _storage._sameTypeAttackBonusMultiplier} + set {_uniqueStorage()._sameTypeAttackBonusMultiplier = newValue} + } + + public var fastAttackBonusMultiplier: Float { + get {return _storage._fastAttackBonusMultiplier} + set {_uniqueStorage()._fastAttackBonusMultiplier = newValue} + } + + public var chargeAttackBonusMultiplier: Float { + get {return _storage._chargeAttackBonusMultiplier} + set {_uniqueStorage()._chargeAttackBonusMultiplier = newValue} + } + + public var defenseBonusMultiplier: Float { + get {return _storage._defenseBonusMultiplier} + set {_uniqueStorage()._defenseBonusMultiplier = newValue} + } + + public var minigameBonusBaseMultiplier: Float { + get {return _storage._minigameBonusBaseMultiplier} + set {_uniqueStorage()._minigameBonusBaseMultiplier = newValue} + } + + public var minigameBonusVariableMultiplier: Float { + get {return _storage._minigameBonusVariableMultiplier} + set {_uniqueStorage()._minigameBonusVariableMultiplier = newValue} + } + + public var maxEnergy: Int32 { + get {return _storage._maxEnergy} + set {_uniqueStorage()._maxEnergy = newValue} + } + + public var defenderMinigameMultiplier: Float { + get {return _storage._defenderMinigameMultiplier} + set {_uniqueStorage()._defenderMinigameMultiplier = newValue} + } + + public var changePokemonDurationSeconds: Float { + get {return _storage._changePokemonDurationSeconds} + set {_uniqueStorage()._changePokemonDurationSeconds = newValue} + } + + public var minigameSubmitScoreDurationSeconds: Float { + get {return _storage._minigameSubmitScoreDurationSeconds} + set {_uniqueStorage()._minigameSubmitScoreDurationSeconds = newValue} + } + + public var quickSwapCombatStartAvailableSeconds: Float { + get {return _storage._quickSwapCombatStartAvailableSeconds} + set {_uniqueStorage()._quickSwapCombatStartAvailableSeconds = newValue} + } + + public var quickSwapCooldownDurationSeconds: Float { + get {return _storage._quickSwapCooldownDurationSeconds} + set {_uniqueStorage()._quickSwapCooldownDurationSeconds = newValue} + } + + public var offensiveInputChallengeSettings: CombatOffensiveInputChallengeSettings { + get {return _storage._offensiveInputChallengeSettings ?? CombatOffensiveInputChallengeSettings()} + set {_uniqueStorage()._offensiveInputChallengeSettings = newValue} + } + /// Returns true if `offensiveInputChallengeSettings` has been explicitly set. + public var hasOffensiveInputChallengeSettings: Bool {return _storage._offensiveInputChallengeSettings != nil} + /// Clears the value of `offensiveInputChallengeSettings`. Subsequent reads from it will return its default value. + public mutating func clearOffensiveInputChallengeSettings() {_uniqueStorage()._offensiveInputChallengeSettings = nil} + + public var defensiveInputChallengeSettings: CombatDefensiveInputChallengeSettings { + get {return _storage._defensiveInputChallengeSettings ?? CombatDefensiveInputChallengeSettings()} + set {_uniqueStorage()._defensiveInputChallengeSettings = newValue} + } + /// Returns true if `defensiveInputChallengeSettings` has been explicitly set. + public var hasDefensiveInputChallengeSettings: Bool {return _storage._defensiveInputChallengeSettings != nil} + /// Clears the value of `defensiveInputChallengeSettings`. Subsequent reads from it will return its default value. + public mutating func clearDefensiveInputChallengeSettings() {_uniqueStorage()._defensiveInputChallengeSettings = nil} + + public var chargeScoreBase: Float { + get {return _storage._chargeScoreBase} + set {_uniqueStorage()._chargeScoreBase = newValue} + } + + public var chargeScoreNice: Float { + get {return _storage._chargeScoreNice} + set {_uniqueStorage()._chargeScoreNice = newValue} + } + + public var chargeScoreGreat: Float { + get {return _storage._chargeScoreGreat} + set {_uniqueStorage()._chargeScoreGreat = newValue} + } + + public var chargeScoreExcellent: Float { + get {return _storage._chargeScoreExcellent} + set {_uniqueStorage()._chargeScoreExcellent = newValue} + } + + public var swapAnimationDurationTurns: Int32 { + get {return _storage._swapAnimationDurationTurns} + set {_uniqueStorage()._swapAnimationDurationTurns = newValue} + } + + public var superEffectiveFlyoutDurationTurns: Int32 { + get {return _storage._superEffectiveFlyoutDurationTurns} + set {_uniqueStorage()._superEffectiveFlyoutDurationTurns = newValue} + } + + public var notVeryEffectiveFlyoutDurationTurns: Int32 { + get {return _storage._notVeryEffectiveFlyoutDurationTurns} + set {_uniqueStorage()._notVeryEffectiveFlyoutDurationTurns = newValue} + } + + public var blockedFlyoutDurationTurns: Int32 { + get {return _storage._blockedFlyoutDurationTurns} + set {_uniqueStorage()._blockedFlyoutDurationTurns = newValue} + } + + public var normalEffectiveFlyoutDurationTurns: Int32 { + get {return _storage._normalEffectiveFlyoutDurationTurns} + set {_uniqueStorage()._normalEffectiveFlyoutDurationTurns = newValue} + } + + public var faintAnimationDurationTurns: Int32 { + get {return _storage._faintAnimationDurationTurns} + set {_uniqueStorage()._faintAnimationDurationTurns = newValue} + } + + public var npcSwapDelayTurns: Int32 { + get {return _storage._npcSwapDelayTurns} + set {_uniqueStorage()._npcSwapDelayTurns = newValue} + } + + public var npcChargedAttackDelayTurns: Int32 { + get {return _storage._npcChargedAttackDelayTurns} + set {_uniqueStorage()._npcChargedAttackDelayTurns = newValue} + } + + public var shadowPokemonAttackBonusMultiplier: Float { + get {return _storage._shadowPokemonAttackBonusMultiplier} + set {_uniqueStorage()._shadowPokemonAttackBonusMultiplier = newValue} + } + + public var shadowPokemonDefenseBonusMultiplier: Float { + get {return _storage._shadowPokemonDefenseBonusMultiplier} + set {_uniqueStorage()._shadowPokemonDefenseBonusMultiplier = newValue} + } + + public var purifiedPokemonAttackMultiplierVsShadow: Float { + get {return _storage._purifiedPokemonAttackMultiplierVsShadow} + set {_uniqueStorage()._purifiedPokemonAttackMultiplierVsShadow = newValue} + } + + public var combatExperiment: [CombatExperiment] { + get {return _storage._combatExperiment} + set {_uniqueStorage()._combatExperiment = newValue} + } + + public var showQuickSwapButtonsDuringCountdown: Bool { + get {return _storage._showQuickSwapButtonsDuringCountdown} + set {_uniqueStorage()._showQuickSwapButtonsDuringCountdown = newValue} + } + + public var clockSyncSettings: CombatClockSynchronization { + get {return _storage._clockSyncSettings ?? CombatClockSynchronization()} + set {_uniqueStorage()._clockSyncSettings = newValue} + } + /// Returns true if `clockSyncSettings` has been explicitly set. + public var hasClockSyncSettings: Bool {return _storage._clockSyncSettings != nil} + /// Clears the value of `clockSyncSettings`. Subsequent reads from it will return its default value. + public mutating func clearClockSyncSettings() {_uniqueStorage()._clockSyncSettings = nil} + + public var combatFeatureFlags: CombatFeatureFlags { + get {return _storage._combatFeatureFlags ?? CombatFeatureFlags()} + set {_uniqueStorage()._combatFeatureFlags = newValue} + } + /// Returns true if `combatFeatureFlags` has been explicitly set. + public var hasCombatFeatureFlags: Bool {return _storage._combatFeatureFlags != nil} + /// Clears the value of `combatFeatureFlags`. Subsequent reads from it will return its default value. + public mutating func clearCombatFeatureFlags() {_uniqueStorage()._combatFeatureFlags = nil} + + public var flyinDurationTurns: Int32 { + get {return _storage._flyinDurationTurns} + set {_uniqueStorage()._flyinDurationTurns = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct CreateBuddyMultiplayerSessionOutProto { +public struct CombatSpecialMovePlayerData { // 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. - public var plfeSessionID: String = String() + public var player: CombatSpecialMovePlayerLogProto { + get {return _player ?? CombatSpecialMovePlayerLogProto()} + set {_player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} - public var arbeJoinToken: Data = Data() + public var opponent: CombatSpecialMovePlayerLogProto { + get {return _opponent ?? CombatSpecialMovePlayerLogProto()} + set {_opponent = newValue} + } + /// Returns true if `opponent` has been explicitly set. + public var hasOpponent: Bool {return self._opponent != nil} + /// Clears the value of `opponent`. Subsequent reads from it will return its default value. + public mutating func clearOpponent() {self._opponent = nil} - public var generationTimestamp: Int64 = 0 + public var combatID: String = String() - public var maxPlayers: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var result: CreateBuddyMultiplayerSessionOutProto.Result = .createSuccess + public init() {} - public var unknownFields = SwiftProtobuf.UnknownStorage() + fileprivate var _player: CombatSpecialMovePlayerLogProto? = nil + fileprivate var _opponent: CombatSpecialMovePlayerLogProto? = nil +} - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case createSuccess // = 0 - case createBuddyNotSet // = 1 - case createBuddyNotFound // = 2 - case createBadBuddy // = 3 - case createBuddyV2NotEnabled // = 4 - case createPlayerLevelTooLow // = 5 - case createUnknownError // = 6 - case createU13NoPermission // = 7 - case UNRECOGNIZED(Int) +public struct CombatSpecialMovePlayerLogProto { + // 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. - public init() { - self = .createSuccess - } + public var activePokemonID: Int32 { + get {return _storage._activePokemonID} + set {_uniqueStorage()._activePokemonID = newValue} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .createSuccess - case 1: self = .createBuddyNotSet - case 2: self = .createBuddyNotFound - case 3: self = .createBadBuddy - case 4: self = .createBuddyV2NotEnabled - case 5: self = .createPlayerLevelTooLow - case 6: self = .createUnknownError - case 7: self = .createU13NoPermission - default: self = .UNRECOGNIZED(rawValue) - } - } + public var reservePokemonID: [Int32] { + get {return _storage._reservePokemonID} + set {_uniqueStorage()._reservePokemonID = newValue} + } - public var rawValue: Int { - switch self { - case .createSuccess: return 0 - case .createBuddyNotSet: return 1 - case .createBuddyNotFound: return 2 - case .createBadBuddy: return 3 - case .createBuddyV2NotEnabled: return 4 - case .createPlayerLevelTooLow: return 5 - case .createUnknownError: return 6 - case .createU13NoPermission: return 7 - case .UNRECOGNIZED(let i): return i - } - } + public var faintedPokemonID: [Int32] { + get {return _storage._faintedPokemonID} + set {_uniqueStorage()._faintedPokemonID = newValue} + } + public var currentAction: CombatActionLogProto { + get {return _storage._currentAction ?? CombatActionLogProto()} + set {_uniqueStorage()._currentAction = newValue} } + /// Returns true if `currentAction` has been explicitly set. + public var hasCurrentAction: Bool {return _storage._currentAction != nil} + /// Clears the value of `currentAction`. Subsequent reads from it will return its default value. + public mutating func clearCurrentAction() {_uniqueStorage()._currentAction = nil} - public init() {} -} + public var lastUpdatedTurn: Int32 { + get {return _storage._lastUpdatedTurn} + set {_uniqueStorage()._lastUpdatedTurn = newValue} + } -#if swift(>=4.2) + public var minigameAction: CombatActionLogProto { + get {return _storage._minigameAction ?? CombatActionLogProto()} + set {_uniqueStorage()._minigameAction = newValue} + } + /// Returns true if `minigameAction` has been explicitly set. + public var hasMinigameAction: Bool {return _storage._minigameAction != nil} + /// Clears the value of `minigameAction`. Subsequent reads from it will return its default value. + public mutating func clearMinigameAction() {_uniqueStorage()._minigameAction = nil} -extension CreateBuddyMultiplayerSessionOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CreateBuddyMultiplayerSessionOutProto.Result] = [ - .createSuccess, - .createBuddyNotSet, - .createBuddyNotFound, - .createBadBuddy, - .createBuddyV2NotEnabled, - .createPlayerLevelTooLow, - .createUnknownError, - .createU13NoPermission, - ] -} + public var minigameDefenseChancesLeft: Int32 { + get {return _storage._minigameDefenseChancesLeft} + set {_uniqueStorage()._minigameDefenseChancesLeft = newValue} + } -#endif // swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct CreateBuddyMultiplayerSessionProto { + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct CombatStatStageSettingsProto { // 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. + public var minimumStatStage: Int32 = 0 + + public var maximumStatStage: Int32 = 0 + + public var attackBuffMultiplier: [Float] = [] + + public var defenseBuffMultiplier: [Float] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CreateCombatChallengeDataProto { +public struct CombatSyncServerData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CreateCombatChallengeOutProto { +public struct CombatSyncServerOffsetOutProto { // 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. - public var result: CreateCombatChallengeOutProto.Result = .unset + public var serverTimeMs: Int64 = 0 - public var challenge: CombatChallengeProto { - get {return _challenge ?? CombatChallengeProto()} - set {_challenge = newValue} - } - /// Returns true if `challenge` has been explicitly set. - public var hasChallenge: Bool {return self._challenge != nil} - /// Clears the value of `challenge`. Subsequent reads from it will return its default value. - public mutating func clearChallenge() {self._challenge = nil} + public var result: CombatSyncServerOffsetOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -51593,9 +54006,7 @@ public struct CreateCombatChallengeOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorInvalidChallengeState // = 2 - case errorPlayerBelowMinimumLevel // = 3 - case errorAccessDenied // = 4 + case failure // = 2 case UNRECOGNIZED(Int) public init() { @@ -51606,9 +54017,7 @@ public struct CreateCombatChallengeOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorInvalidChallengeState - case 3: self = .errorPlayerBelowMinimumLevel - case 4: self = .errorAccessDenied + case 2: self = .failure default: self = .UNRECOGNIZED(rawValue) } } @@ -51617,9 +54026,7 @@ public struct CreateCombatChallengeOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorInvalidChallengeState: return 2 - case .errorPlayerBelowMinimumLevel: return 3 - case .errorAccessDenied: return 4 + case .failure: return 2 case .UNRECOGNIZED(let i): return i } } @@ -51627,189 +54034,191 @@ public struct CreateCombatChallengeOutProto { } public init() {} - - fileprivate var _challenge: CombatChallengeProto? = nil } #if swift(>=4.2) -extension CreateCombatChallengeOutProto.Result: CaseIterable { +extension CombatSyncServerOffsetOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CreateCombatChallengeOutProto.Result] = [ + public static var allCases: [CombatSyncServerOffsetOutProto.Result] = [ .unset, .success, - .errorInvalidChallengeState, - .errorPlayerBelowMinimumLevel, - .errorAccessDenied, + .failure, ] } #endif // swift(>=4.2) -public struct CreateCombatChallengeProto { +public struct CombatSyncServerOffsetProto { // 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. - public var challengeID: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CreateCombatChallengeResponseDataProto { +public struct CombatSyncServerResponseData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 - public var obUint32: UInt32 = 0 + public var result: CombatSyncServerOffsetOutProto.Result = .unset - public var result: CreateCombatChallengeOutProto.Result = .unset + public var serverTimeOffsetMs: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CreateGuestLoginSecretTokenRequestProto { +public struct CombatTypeProto { // 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. - public var apiKey: String = String() + public var type: HoloPokemonType = .pokemonTypeNone - public var deviceID: String = String() + public var niceLevelThreshold: Float = 0 + + public var greatLevelThreshold: Float = 0 + + public var excellentLevelThreshold: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CreateGuestLoginSecretTokenResponseProto { +public struct CommonMarketingTelemetryMetadata { // 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. - public var status: CreateGuestLoginSecretTokenResponseProto.Status = .unset + public var eventTimestampMs: Int64 = 0 - public var secret: Data = Data() + public var environmentID: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var environmentProjectID: String = String() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case unknownError // = 2 - case unauthorized // = 3 - case disabled // = 4 - case exceededRateLimit // = 5 - case UNRECOGNIZED(Int) + public var campaignExperimentID: Int64 = 0 - public init() { - self = .unset - } + public var treatmentGroup: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .unknownError - case 3: self = .unauthorized - case 4: self = .disabled - case 5: self = .exceededRateLimit - default: self = .UNRECOGNIZED(rawValue) - } - } + public var localSendTime: String = String() - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .unknownError: return 2 - case .unauthorized: return 3 - case .disabled: return 4 - case .exceededRateLimit: return 5 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - } + public init() {} +} + +public struct CommonTelemetryBootTime { + // 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. + + public var bootPhase: String = String() + + public var durationMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) +public struct CommonTelemetryLogIn { + // 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. -extension CreateGuestLoginSecretTokenResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CreateGuestLoginSecretTokenResponseProto.Status] = [ - .unset, - .success, - .unknownError, - .unauthorized, - .disabled, - .exceededRateLimit, - ] + public var timestampMs: Int64 = 0 + + public var preLoginUserID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -#endif // swift(>=4.2) +public struct CommonTelemetryLogOut { + // 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. -public struct CreatePokemonTagOutProto { + public var timestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct CommonTelemetryShopClick { // 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. - public var result: CreatePokemonTagOutProto.Result = .unset + public var shoppingPageClickID: String = String() - public var createdTag: PokemonTagProto { - get {return _createdTag ?? PokemonTagProto()} - set {_createdTag = newValue} - } - /// Returns true if `createdTag` has been explicitly set. - public var hasCreatedTag: Bool {return self._createdTag != nil} - /// Clears the value of `createdTag`. Subsequent reads from it will return its default value. - public mutating func clearCreatedTag() {self._createdTag = nil} + public var skuID: String = String() + + public var itemID: String = String() + + public var consolidatedItemID: String = String() + + public var currency: String = String() + + public var fiatPrice: Int64 = 0 + + public var inGamePurchaseDetails: [InGamePurchaseDetails] = [] + + public var isItemFreeFiat: Bool = false + + public var isItemFreeIngame: Bool = false + + public var timeElapsedSinceEnterPage: Int64 = 0 + + public var rootStorePageSessionID: String = String() + + public var pairID: Int64 = 0 + + public var storePageName: String = String() + + public var rootStorePageName: String = String() + + public var accessType: CommonTelemetryShopClick.AccessType = .unspecified + + public var fiatFormattedPrice: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum AccessType: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPlayerLevelTooLow // = 2 - case tagAlreadyExists // = 3 - case playerHasMaximumNumberOfTags // = 4 - case tagNameContainsProfanity // = 5 + case unspecified // = 0 + case passive // = 1 + case active // = 2 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .unspecified } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPlayerLevelTooLow - case 3: self = .tagAlreadyExists - case 4: self = .playerHasMaximumNumberOfTags - case 5: self = .tagNameContainsProfanity + case 0: self = .unspecified + case 1: self = .passive + case 2: self = .active default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .errorPlayerLevelTooLow: return 2 - case .tagAlreadyExists: return 3 - case .playerHasMaximumNumberOfTags: return 4 - case .tagNameContainsProfanity: return 5 + case .unspecified: return 0 + case .passive: return 1 + case .active: return 2 case .UNRECOGNIZED(let i): return i } } @@ -51817,64 +54226,91 @@ public struct CreatePokemonTagOutProto { } public init() {} - - fileprivate var _createdTag: PokemonTagProto? = nil } #if swift(>=4.2) -extension CreatePokemonTagOutProto.Result: CaseIterable { +extension CommonTelemetryShopClick.AccessType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CreatePokemonTagOutProto.Result] = [ - .unset, - .success, - .errorPlayerLevelTooLow, - .tagAlreadyExists, - .playerHasMaximumNumberOfTags, - .tagNameContainsProfanity, + public static var allCases: [CommonTelemetryShopClick.AccessType] = [ + .unspecified, + .passive, + .active, ] } #endif // swift(>=4.2) -public struct CreatePokemonTagProto { +public struct CommonTelemetryShopView { // 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. - public var name: String = String() + public var shoppingPageViewTypeID: String = String() - public var color: PokemonTagColor = .unset + public var viewStartTimestampMs: Int64 = 0 + + public var viewEndTimestampMs: Int64 = 0 + + public var consolidatedItemID: [String] = [] + + public var rootStorePageSessionID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CreatePostcardOutProto { +public struct CommonTempEvoSettingsProto { // 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. - public var result: CreatePostcardOutProto.Result = .unset + public var evolutionLengthMs: Int64 = 0 - public var postcard: PostcardDisplayProto { - get {return _postcard ?? PostcardDisplayProto()} - set {_postcard = newValue} + public var enableTempEvoLevel: Bool = false + + public var numTempEvoLevels: Int32 = 0 + + public var enableBuddyWalkingTempEvoEnergyAward: Bool = false + + public var clientMegaCooldownBufferMs: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct CompleteCompetitiveSeasonOutProto { + // 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. + + public var result: CompleteCompetitiveSeasonOutProto.Result = .unset + + public var lootProto: LootProto { + get {return _lootProto ?? LootProto()} + set {_lootProto = newValue} } - /// Returns true if `postcard` has been explicitly set. - public var hasPostcard: Bool {return self._postcard != nil} - /// Clears the value of `postcard`. Subsequent reads from it will return its default value. - public mutating func clearPostcard() {self._postcard = nil} + /// Returns true if `lootProto` has been explicitly set. + public var hasLootProto: Bool {return self._lootProto != nil} + /// Clears the value of `lootProto`. Subsequent reads from it will return its default value. + public mutating func clearLootProto() {self._lootProto = nil} - public var butterflyCollectorUpdatedRegion: ButterflyCollectorRegionMedal { - get {return _butterflyCollectorUpdatedRegion ?? ButterflyCollectorRegionMedal()} - set {_butterflyCollectorUpdatedRegion = newValue} + public var newRank: Int32 = 0 + + public var newRating: Float = 0 + + public var lastSeasonResult: CombatSeasonResult { + get {return _lastSeasonResult ?? CombatSeasonResult()} + set {_lastSeasonResult = newValue} } - /// Returns true if `butterflyCollectorUpdatedRegion` has been explicitly set. - public var hasButterflyCollectorUpdatedRegion: Bool {return self._butterflyCollectorUpdatedRegion != nil} - /// Clears the value of `butterflyCollectorUpdatedRegion`. Subsequent reads from it will return its default value. - public mutating func clearButterflyCollectorUpdatedRegion() {self._butterflyCollectorUpdatedRegion = nil} + /// Returns true if `lastSeasonResult` has been explicitly set. + public var hasLastSeasonResult: Bool {return self._lastSeasonResult != nil} + /// Clears the value of `lastSeasonResult`. Subsequent reads from it will return its default value. + public mutating func clearLastSeasonResult() {self._lastSeasonResult = nil} + + public var wasPlayerActive: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -51882,14 +54318,8 @@ public struct CreatePostcardOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorSenderDoesNotExist // = 2 - case errorGiftDoesNotExist // = 3 - case errorPostcardAlreadyCreated // = 4 - case errorPostcardInventoryFull // = 5 - case errorNotEnabled // = 6 - case errorRateLimited // = 7 - case errorPlayerHasNoStickers // = 8 - case successInventoryDailyButterflyLimit // = 9 + case errorPlayerHasNoVsSeeker // = 2 + case errorRewardsAlreadyCollected // = 3 case UNRECOGNIZED(Int) public init() { @@ -51900,14 +54330,8 @@ public struct CreatePostcardOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorSenderDoesNotExist - case 3: self = .errorGiftDoesNotExist - case 4: self = .errorPostcardAlreadyCreated - case 5: self = .errorPostcardInventoryFull - case 6: self = .errorNotEnabled - case 7: self = .errorRateLimited - case 8: self = .errorPlayerHasNoStickers - case 9: self = .successInventoryDailyButterflyLimit + case 2: self = .errorPlayerHasNoVsSeeker + case 3: self = .errorRewardsAlreadyCollected default: self = .UNRECOGNIZED(rawValue) } } @@ -51916,14 +54340,8 @@ public struct CreatePostcardOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorSenderDoesNotExist: return 2 - case .errorGiftDoesNotExist: return 3 - case .errorPostcardAlreadyCreated: return 4 - case .errorPostcardInventoryFull: return 5 - case .errorNotEnabled: return 6 - case .errorRateLimited: return 7 - case .errorPlayerHasNoStickers: return 8 - case .successInventoryDailyButterflyLimit: return 9 + case .errorPlayerHasNoVsSeeker: return 2 + case .errorRewardsAlreadyCollected: return 3 case .UNRECOGNIZED(let i): return i } } @@ -51932,75 +54350,86 @@ public struct CreatePostcardOutProto { public init() {} - fileprivate var _postcard: PostcardDisplayProto? = nil - fileprivate var _butterflyCollectorUpdatedRegion: ButterflyCollectorRegionMedal? = nil + fileprivate var _lootProto: LootProto? = nil + fileprivate var _lastSeasonResult: CombatSeasonResult? = nil } #if swift(>=4.2) -extension CreatePostcardOutProto.Result: CaseIterable { +extension CompleteCompetitiveSeasonOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CreatePostcardOutProto.Result] = [ + public static var allCases: [CompleteCompetitiveSeasonOutProto.Result] = [ .unset, .success, - .errorSenderDoesNotExist, - .errorGiftDoesNotExist, - .errorPostcardAlreadyCreated, - .errorPostcardInventoryFull, - .errorNotEnabled, - .errorRateLimited, - .errorPlayerHasNoStickers, - .successInventoryDailyButterflyLimit, + .errorPlayerHasNoVsSeeker, + .errorRewardsAlreadyCollected, ] } #endif // swift(>=4.2) -public struct CreatePostcardProto { +public struct CompleteCompetitiveSeasonProto { // 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. - public var giftboxID: UInt64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var senderID: String = String() + public init() {} +} - public var stickerID: [String] = [] +public struct CompleteInvasionDialogueOutProto { + // 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. + + public var status: InvasionStatus.Status = .unset + + public var grantedLoot: LootProto { + get {return _grantedLoot ?? LootProto()} + set {_grantedLoot = newValue} + } + /// Returns true if `grantedLoot` has been explicitly set. + public var hasGrantedLoot: Bool {return self._grantedLoot != nil} + /// Clears the value of `grantedLoot`. Subsequent reads from it will return its default value. + public mutating func clearGrantedLoot() {self._grantedLoot = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _grantedLoot: LootProto? = nil } -public struct CreateSharedLoginTokenRequest { +public struct CompleteInvasionDialogueProto { // 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. - public var deviceID: String = String() + public var incidentLookup: IncidentLookupProto { + get {return _incidentLookup ?? IncidentLookupProto()} + set {_incidentLookup = newValue} + } + /// Returns true if `incidentLookup` has been explicitly set. + public var hasIncidentLookup: Bool {return self._incidentLookup != nil} + /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. + public mutating func clearIncidentLookup() {self._incidentLookup = nil} + + public var step: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _incidentLookup: IncidentLookupProto? = nil } -public struct CreateSharedLoginTokenResponse { +public struct CompleteMilestoneOutProto { // 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. - public var status: CreateSharedLoginTokenResponse.Status = .unset - - public var sharedLoginToken: Data = Data() - - public var tokenMetaData: CreateSharedLoginTokenResponse.TokenMetaData { - get {return _tokenMetaData ?? CreateSharedLoginTokenResponse.TokenMetaData()} - set {_tokenMetaData = newValue} - } - /// Returns true if `tokenMetaData` has been explicitly set. - public var hasTokenMetaData: Bool {return self._tokenMetaData != nil} - /// Clears the value of `tokenMetaData`. Subsequent reads from it will return its default value. - public mutating func clearTokenMetaData() {self._tokenMetaData = nil} + public var status: CompleteMilestoneOutProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -52008,7 +54437,11 @@ public struct CreateSharedLoginTokenResponse { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 + case errorDisabled // = 2 + case errorMilestoneNotFound // = 3 + case errorMilestoneComplete // = 4 + case errorMilestoneNotAchieved // = 5 + case errorPokemonInventoryFull // = 6 case UNRECOGNIZED(Int) public init() { @@ -52019,7 +54452,11 @@ public struct CreateSharedLoginTokenResponse { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown + case 2: self = .errorDisabled + case 3: self = .errorMilestoneNotFound + case 4: self = .errorMilestoneComplete + case 5: self = .errorMilestoneNotAchieved + case 6: self = .errorPokemonInventoryFull default: self = .UNRECOGNIZED(rawValue) } } @@ -52028,96 +54465,94 @@ public struct CreateSharedLoginTokenResponse { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 + case .errorDisabled: return 2 + case .errorMilestoneNotFound: return 3 + case .errorMilestoneComplete: return 4 + case .errorMilestoneNotAchieved: return 5 + case .errorPokemonInventoryFull: return 6 case .UNRECOGNIZED(let i): return i } } } - public struct TokenMetaData { - // 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. - - public var email: String = String() - - public var expirationTimestampMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} - - fileprivate var _tokenMetaData: CreateSharedLoginTokenResponse.TokenMetaData? = nil } #if swift(>=4.2) -extension CreateSharedLoginTokenResponse.Status: CaseIterable { +extension CompleteMilestoneOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CreateSharedLoginTokenResponse.Status] = [ + public static var allCases: [CompleteMilestoneOutProto.Status] = [ .unset, .success, - .errorUnknown, + .errorDisabled, + .errorMilestoneNotFound, + .errorMilestoneComplete, + .errorMilestoneNotAchieved, + .errorPokemonInventoryFull, ] } #endif // swift(>=4.2) -public struct CreatorInfo { - // 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. - - public var creatorPlayerID: String = String() - - public var creatorCodename: String = String() - - public var showCreatorName: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct CrmProxyRequestProto { +public struct CompleteMilestoneProto { // 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. - public var action: UInt32 = 0 - - public var payload: Data = Data() + public var milestoneID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CrmProxyResponseProto { +public struct CompletePartyQuestOutProto { // 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. - public var status: CrmProxyResponseProto.Status = .unset + public var result: CompletePartyQuestOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} + } - public var errorMessage: String = String() + public var claimedQuest: PartyQuestStateProto { + get {return _storage._claimedQuest ?? PartyQuestStateProto()} + set {_uniqueStorage()._claimedQuest = newValue} + } + /// Returns true if `claimedQuest` has been explicitly set. + public var hasClaimedQuest: Bool {return _storage._claimedQuest != nil} + /// Clears the value of `claimedQuest`. Subsequent reads from it will return its default value. + public mutating func clearClaimedQuest() {_uniqueStorage()._claimedQuest = nil} - public var payload: Data = Data() + public var updatedPartyQuest: PartyQuestRpcProto { + get {return _storage._updatedPartyQuest ?? PartyQuestRpcProto()} + set {_uniqueStorage()._updatedPartyQuest = newValue} + } + /// Returns true if `updatedPartyQuest` has been explicitly set. + public var hasUpdatedPartyQuest: Bool {return _storage._updatedPartyQuest != nil} + /// Clears the value of `updatedPartyQuest`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedPartyQuest() {_uniqueStorage()._updatedPartyQuest = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case ok // = 1 - case errorUnknown // = 2 - case errorPermissionDenied // = 3 - case errorUnavailable // = 4 - case errorUnauthenticated // = 5 + case errorUnknown // = 1 + case errorFeatureDisabled // = 2 + case errorPlayerNotInParty // = 3 + case errorPartyNotFound // = 4 + case errorPartyStatusInvalid // = 5 + case errorQuestNotFound // = 6 + case errorQuestStillInProgress // = 7 + case errorPlayerStateNotFound // = 9 + case errorPlayerAlreadyAwarded // = 10 + case errorRewardItemReachLimit // = 11 + case success // = 12 + case errorPlfeRedirectNeeded // = 13 case UNRECOGNIZED(Int) public init() { @@ -52127,11 +54562,18 @@ public struct CrmProxyResponseProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .ok - case 2: self = .errorUnknown - case 3: self = .errorPermissionDenied - case 4: self = .errorUnavailable - case 5: self = .errorUnauthenticated + case 1: self = .errorUnknown + case 2: self = .errorFeatureDisabled + case 3: self = .errorPlayerNotInParty + case 4: self = .errorPartyNotFound + case 5: self = .errorPartyStatusInvalid + case 6: self = .errorQuestNotFound + case 7: self = .errorQuestStillInProgress + case 9: self = .errorPlayerStateNotFound + case 10: self = .errorPlayerAlreadyAwarded + case 11: self = .errorRewardItemReachLimit + case 12: self = .success + case 13: self = .errorPlfeRedirectNeeded default: self = .UNRECOGNIZED(rawValue) } } @@ -52139,11 +54581,18 @@ public struct CrmProxyResponseProto { public var rawValue: Int { switch self { case .unset: return 0 - case .ok: return 1 - case .errorUnknown: return 2 - case .errorPermissionDenied: return 3 - case .errorUnavailable: return 4 - case .errorUnauthenticated: return 5 + case .errorUnknown: return 1 + case .errorFeatureDisabled: return 2 + case .errorPlayerNotInParty: return 3 + case .errorPartyNotFound: return 4 + case .errorPartyStatusInvalid: return 5 + case .errorQuestNotFound: return 6 + case .errorQuestStillInProgress: return 7 + case .errorPlayerStateNotFound: return 9 + case .errorPlayerAlreadyAwarded: return 10 + case .errorRewardItemReachLimit: return 11 + case .success: return 12 + case .errorPlfeRedirectNeeded: return 13 case .UNRECOGNIZED(let i): return i } } @@ -52151,200 +54600,280 @@ public struct CrmProxyResponseProto { } public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension CrmProxyResponseProto.Status: CaseIterable { +extension CompletePartyQuestOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [CrmProxyResponseProto.Status] = [ + public static var allCases: [CompletePartyQuestOutProto.Result] = [ .unset, - .ok, .errorUnknown, - .errorPermissionDenied, - .errorUnavailable, - .errorUnauthenticated, + .errorFeatureDisabled, + .errorPlayerNotInParty, + .errorPartyNotFound, + .errorPartyStatusInvalid, + .errorQuestNotFound, + .errorQuestStillInProgress, + .errorPlayerStateNotFound, + .errorPlayerAlreadyAwarded, + .errorRewardItemReachLimit, + .success, + .errorPlfeRedirectNeeded, ] } #endif // swift(>=4.2) -public struct CrossGameSocialGlobalSettingsProto { +public struct CompletePartyQuestProto { // 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. - public var onlineStatusMinLevel: Int32 = 0 - - public var nianticProfileMinLevel: Int32 = 0 - - public var friendsListMinLevel: Int32 = 0 - - public var maxFriendsPerDetailPage: Int32 = 0 + public var unclaimedQuestID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct CrossGameSocialSettingsProto { +public struct CompleteQuestLogEntry { // 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. - public var onlineStatusEnabledOverrideLevel: Bool = false + public var result: CompleteQuestLogEntry.Result = .unset - public var nianticProfileEnabledOverrideLevel: Bool = false + public var quest: ClientQuestProto { + get {return _quest ?? ClientQuestProto()} + set {_quest = newValue} + } + /// Returns true if `quest` has been explicitly set. + public var hasQuest: Bool {return self._quest != nil} + /// Clears the value of `quest`. Subsequent reads from it will return its default value. + public mutating func clearQuest() {self._quest = nil} - public var friendsListEnabledOverrideLevel: Bool = false + public var stamp: [QuestStampProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) -public struct CuratedLabelSpec { - // 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. + public init() { + self = .unset + } - public var blockedLabels: [LabelBlockSpec] = [] + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } - public var addedLabels: [LabelAdditionSpec] = [] + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} -} -public struct CurrencyQuantityProto { - // 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. - - public var currencyType: String = String() - - public var quantity: Int32 = 0 - - public var fiatPurchasedQuantity: Int32 = 0 - - public var fiatCurrencyType: String = String() - - public var fiatCurrencyCostE6: Int64 = 0 + fileprivate var _quest: ClientQuestProto? = nil +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension CompleteQuestLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CompleteQuestLogEntry.Result] = [ + .unset, + .success, + ] } -public struct CurrencyUpdateProto { +#endif // swift(>=4.2) + +public struct CompleteQuestOutProto { // 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. - public var currencyName: String = String() - - public var currencyDelta: Int32 = 0 - - public var currencyBalance: Int32 = 0 - - public var fiatPurchasedBalance: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var status: CompleteQuestOutProto.Status = .unset - public init() {} -} + public var quest: ClientQuestProto { + get {return _quest ?? ClientQuestProto()} + set {_quest = newValue} + } + /// Returns true if `quest` has been explicitly set. + public var hasQuest: Bool {return self._quest != nil} + /// Clears the value of `quest`. Subsequent reads from it will return its default value. + public mutating func clearQuest() {self._quest = nil} -public struct CurrentEventsSectionProto { - // 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. + public var stamp: [QuestStampProto] = [] - public var events: [EventSectionProto] = [] + public var partyQuestCandidates: [ClientQuestProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct CurrentNewsProto { - // 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. + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorQuestNotFound // = 2 + case errorQuestStillInProgress // = 3 + case errorQuestAlreadyCompleted // = 4 + case errorSubquestNotFound // = 5 + case errorSubquestStillInProgress // = 6 + case errorSubquestAlreadyCompleted // = 7 + case errorMultipartStillInProgress // = 8 + case errorMultipartAlreadyCompleted // = 9 + case errorRedeemCompletedQuestStampCardFirst // = 10 + case errorInventoryFull // = 11 + case errorInvalidBranch // = 12 + case errorRewardItemReachLimit // = 13 + case successPartyQuestConcluded // = 14 + case errorPartyQuestClaimRewardsDeadlineExceeded // = 15 + case successPartyQuestForceConcluded // = 16 + case successPartyQuestForceConcludeIgnored // = 17 + case errorPartyQuestForceConcludeStillAwarding // = 18 + case errorPartyQuestForceConcludeAlreadyConcluded // = 19 + case UNRECOGNIZED(Int) - public var newsArticles: [NewsArticleProto] = [] + public init() { + self = .unset + } - public var newsStringsURL: String = String() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorQuestNotFound + case 3: self = .errorQuestStillInProgress + case 4: self = .errorQuestAlreadyCompleted + case 5: self = .errorSubquestNotFound + case 6: self = .errorSubquestStillInProgress + case 7: self = .errorSubquestAlreadyCompleted + case 8: self = .errorMultipartStillInProgress + case 9: self = .errorMultipartAlreadyCompleted + case 10: self = .errorRedeemCompletedQuestStampCardFirst + case 11: self = .errorInventoryFull + case 12: self = .errorInvalidBranch + case 13: self = .errorRewardItemReachLimit + case 14: self = .successPartyQuestConcluded + case 15: self = .errorPartyQuestClaimRewardsDeadlineExceeded + case 16: self = .successPartyQuestForceConcluded + case 17: self = .successPartyQuestForceConcludeIgnored + case 18: self = .errorPartyQuestForceConcludeStillAwarding + case 19: self = .errorPartyQuestForceConcludeAlreadyConcluded + default: self = .UNRECOGNIZED(rawValue) + } + } - public var lastUpdatedTimestamp: Int64 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorQuestNotFound: return 2 + case .errorQuestStillInProgress: return 3 + case .errorQuestAlreadyCompleted: return 4 + case .errorSubquestNotFound: return 5 + case .errorSubquestStillInProgress: return 6 + case .errorSubquestAlreadyCompleted: return 7 + case .errorMultipartStillInProgress: return 8 + case .errorMultipartAlreadyCompleted: return 9 + case .errorRedeemCompletedQuestStampCardFirst: return 10 + case .errorInventoryFull: return 11 + case .errorInvalidBranch: return 12 + case .errorRewardItemReachLimit: return 13 + case .successPartyQuestConcluded: return 14 + case .errorPartyQuestClaimRewardsDeadlineExceeded: return 15 + case .successPartyQuestForceConcluded: return 16 + case .successPartyQuestForceConcludeIgnored: return 17 + case .errorPartyQuestForceConcludeStillAwarding: return 18 + case .errorPartyQuestForceConcludeAlreadyConcluded: return 19 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} -} - -public struct DailyAdventureIncenseLogEntry { - // 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. - public var dayBucket: UInt64 = 0 + fileprivate var _quest: ClientQuestProto? = nil +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension CompleteQuestOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CompleteQuestOutProto.Status] = [ + .unset, + .success, + .errorQuestNotFound, + .errorQuestStillInProgress, + .errorQuestAlreadyCompleted, + .errorSubquestNotFound, + .errorSubquestStillInProgress, + .errorSubquestAlreadyCompleted, + .errorMultipartStillInProgress, + .errorMultipartAlreadyCompleted, + .errorRedeemCompletedQuestStampCardFirst, + .errorInventoryFull, + .errorInvalidBranch, + .errorRewardItemReachLimit, + .successPartyQuestConcluded, + .errorPartyQuestClaimRewardsDeadlineExceeded, + .successPartyQuestForceConcluded, + .successPartyQuestForceConcludeIgnored, + .errorPartyQuestForceConcludeStillAwarding, + .errorPartyQuestForceConcludeAlreadyConcluded, + ] } -public struct DailyAdventureIncenseSettingsProto { +#endif // swift(>=4.2) + +public struct CompleteQuestPokemonEncounterLogEntry { // 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. - public var enabled: Bool = false - - public var pokeballThresholdToRewardLoot: Int32 = 0 - - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} - - public var dailyAdventureIncenseResetTime: String = String() - - public var obBool2: Bool = false - - public var paceMultiplier: Int32 = 0 - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var result: CompleteQuestPokemonEncounterLogEntry.Result = .unset - public init() {} + public var pokedexNumber: Int32 = 0 - fileprivate var _rewards: LootProto? = nil -} + public var combatPoints: Int32 = 0 -public struct DailyAdventureIncenseTelemetry { - // 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. + public var pokemonID: UInt64 = 0 - public var status: DailyAdventureIncenseTelemetry.Status = .unset + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public var obBool: Bool = false + public var encounterType: EncounterType = .spawnPoint public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case viewRecap // = 1 - case clickShareFromRecap // = 2 - case clickShareFromPhotoCollection // = 3 + case pokemonCaptured // = 1 + case pokemonFled // = 2 case UNRECOGNIZED(Int) public init() { @@ -52354,9 +54883,8 @@ public struct DailyAdventureIncenseTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .viewRecap - case 2: self = .clickShareFromRecap - case 3: self = .clickShareFromPhotoCollection + case 1: self = .pokemonCaptured + case 2: self = .pokemonFled default: self = .UNRECOGNIZED(rawValue) } } @@ -52364,9 +54892,8 @@ public struct DailyAdventureIncenseTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .viewRecap: return 1 - case .clickShareFromRecap: return 2 - case .clickShareFromPhotoCollection: return 3 + case .pokemonCaptured: return 1 + case .pokemonFled: return 2 case .UNRECOGNIZED(let i): return i } } @@ -52374,122 +54901,111 @@ public struct DailyAdventureIncenseTelemetry { } public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil } #if swift(>=4.2) -extension DailyAdventureIncenseTelemetry.Status: CaseIterable { +extension CompleteQuestPokemonEncounterLogEntry.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DailyAdventureIncenseTelemetry.Status] = [ + public static var allCases: [CompleteQuestPokemonEncounterLogEntry.Result] = [ .unset, - .viewRecap, - .clickShareFromRecap, - .clickShareFromPhotoCollection, + .pokemonCaptured, + .pokemonFled, ] } #endif // swift(>=4.2) -public struct DailyBonusProto { +public struct CompleteQuestProto { // 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. - public var nextCollectTimestampMs: Int64 = 0 + public var questID: String = String() - public var nextDefenderBonusCollectTimestampMs: Int64 = 0 + public var subQuestID: String = String() + + public var choiceID: Int32 = 0 + + public var forceConcludePartyQuest: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DailyBuddyAffectionQuestProto { +public struct CompleteQuestStampCardLogEntry { // 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. - public var dailyAffectionCounter: DailyCounterProto { - get {return _dailyAffectionCounter ?? DailyCounterProto()} - set {_dailyAffectionCounter = newValue} - } - /// Returns true if `dailyAffectionCounter` has been explicitly set. - public var hasDailyAffectionCounter: Bool {return self._dailyAffectionCounter != nil} - /// Clears the value of `dailyAffectionCounter`. Subsequent reads from it will return its default value. - public mutating func clearDailyAffectionCounter() {self._dailyAffectionCounter = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var result: CompleteQuestStampCardLogEntry.Result = .unset - public init() {} + public var reward: [QuestRewardProto] = [] - fileprivate var _dailyAffectionCounter: DailyCounterProto? = nil -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct DailyCounterProto { - // 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. + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) - public var window: Int64 = 0 + public init() { + self = .unset + } - public var count: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } - public var bucketsPerDay: Int32 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct DailyEncounterGlobalSettingsProto { - // 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. - - public var enabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension CompleteQuestStampCardLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CompleteQuestStampCardLogEntry.Result] = [ + .unset, + .success, + ] } -public struct DailyEncounterOutProto { +#endif // swift(>=4.2) + +public struct CompleteQuestStampCardOutProto { // 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. - public var result: DailyEncounterOutProto.Result = .unset - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} - } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - - public var activeItem: Item = .unknown + public var status: CompleteQuestStampCardOutProto.Status = .unset - public var arplusAttemptsUntilFlee: Int32 = 0 + public var reward: [QuestRewardProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case encounterNotAvailable // = 2 - case pokemonInventoryFull // = 3 + case errorStillInProgress // = 2 case UNRECOGNIZED(Int) public init() { @@ -52500,8 +55016,7 @@ public struct DailyEncounterOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .encounterNotAvailable - case 3: self = .pokemonInventoryFull + case 2: self = .errorStillInProgress default: self = .UNRECOGNIZED(rawValue) } } @@ -52510,8 +55025,7 @@ public struct DailyEncounterOutProto { switch self { case .unset: return 0 case .success: return 1 - case .encounterNotAvailable: return 2 - case .pokemonInventoryFull: return 3 + case .errorStillInProgress: return 2 case .UNRECOGNIZED(let i): return i } } @@ -52519,96 +55033,71 @@ public struct DailyEncounterOutProto { } public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension DailyEncounterOutProto.Result: CaseIterable { +extension CompleteQuestStampCardOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DailyEncounterOutProto.Result] = [ + public static var allCases: [CompleteQuestStampCardOutProto.Status] = [ .unset, .success, - .encounterNotAvailable, - .pokemonInventoryFull, + .errorStillInProgress, ] } #endif // swift(>=4.2) -public struct DailyEncounterProto { +public struct CompleteQuestStampCardProto { // 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. - public var encounterID: Int64 = 0 - - public var encounterLocation: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DailyQuestProto { +public struct CompleteReferralMilestoneLogEntry { // 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. - public var currentPeriodBucket: Int32 = 0 + public var milestoneCompleted: CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto { + get {return _milestoneCompleted ?? CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto()} + set {_milestoneCompleted = newValue} + } + /// Returns true if `milestoneCompleted` has been explicitly set. + public var hasMilestoneCompleted: Bool {return self._milestoneCompleted != nil} + /// Clears the value of `milestoneCompleted`. Subsequent reads from it will return its default value. + public mutating func clearMilestoneCompleted() {self._milestoneCompleted = nil} - public var currentStreakCount: Int32 = 0 + public var reward: [QuestRewardProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct DailyQuestSettings { - // 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. - - public var bucketsPerDay: Int32 = 0 - - public var streakLength: Int32 = 0 - - public var bonusMultiplier: Float = 0 - - public var streakBonusMultiplier: Float = 0 - - public var disable: Bool = false - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct MilestoneLogEntryProto { + // 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. - public init() {} -} + public var nameKey: String = String() -public struct DailyStreaksProto { - // 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. + public var nameTemplateVariable: [CompleteReferralMilestoneLogEntry.TemplateVariableProto] = [] - public var streaks: [DailyStreaksProto.StreakProto] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } - public struct StreakProto { + public struct TemplateVariableProto { // 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. - public var questType: QuestType = .questUnset - - public var count: Int32 = 0 - - public var target: Int32 = 0 + public var name: String = String() - public var remainingToday: Int32 = 0 + public var literal: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -52616,44 +55105,63 @@ public struct DailyStreaksProto { } public init() {} + + fileprivate var _milestoneCompleted: CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto? = nil } -public struct DamagePropertyProto { +public struct CompleteRoutePlayLogEntry { // 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. - public var superEffectiveChargeMove: Bool = false - - public var weatherBoosted: Bool = false + public var badgeLevel: RouteBadgeLevel.BadgeLevel = .routeBadgeUnset - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var routeImageURL: String = String() - public init() {} -} + public var awardedItems: LootProto { + get {return _awardedItems ?? LootProto()} + set {_awardedItems = newValue} + } + /// Returns true if `awardedItems` has been explicitly set. + public var hasAwardedItems: Bool {return self._awardedItems != nil} + /// Clears the value of `awardedItems`. Subsequent reads from it will return its default value. + public mutating func clearAwardedItems() {self._awardedItems = nil} -public struct DataAccessRequest { - // 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. + public var bonusAwardedItems: LootProto { + get {return _bonusAwardedItems ?? LootProto()} + set {_bonusAwardedItems = newValue} + } + /// Returns true if `bonusAwardedItems` has been explicitly set. + public var hasBonusAwardedItems: Bool {return self._bonusAwardedItems != nil} + /// Clears the value of `bonusAwardedItems`. Subsequent reads from it will return its default value. + public mutating func clearBonusAwardedItems() {self._bonusAwardedItems = nil} - public var email: String = String() + public var routeName: String = String() - public var languageShortCode: String = String() + public var routeVisuals: RouteImageProto { + get {return _routeVisuals ?? RouteImageProto()} + set {_routeVisuals = newValue} + } + /// Returns true if `routeVisuals` has been explicitly set. + public var hasRouteVisuals: Bool {return self._routeVisuals != nil} + /// Clears the value of `routeVisuals`. Subsequent reads from it will return its default value. + public mutating func clearRouteVisuals() {self._routeVisuals = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _awardedItems: LootProto? = nil + fileprivate var _bonusAwardedItems: LootProto? = nil + fileprivate var _routeVisuals: RouteImageProto? = nil } -public struct DataAccessResponse { +public struct CompleteSnapshotSessionOutProto { // 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. - public var status: DataAccessResponse.Status = .unset - - public var errorMessage: String = String() + public var status: CompleteSnapshotSessionOutProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -52661,9 +55169,8 @@ public struct DataAccessResponse { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorInvalidemail // = 2 - case errorInvalidlanguage // = 3 - case errorUnknown // = 4 + case errorPhotoPokemonInvalid // = 2 + case errorUnknown // = 3 case UNRECOGNIZED(Int) public init() { @@ -52674,9 +55181,8 @@ public struct DataAccessResponse { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorInvalidemail - case 3: self = .errorInvalidlanguage - case 4: self = .errorUnknown + case 2: self = .errorPhotoPokemonInvalid + case 3: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -52685,9 +55191,8 @@ public struct DataAccessResponse { switch self { case .unset: return 0 case .success: return 1 - case .errorInvalidemail: return 2 - case .errorInvalidlanguage: return 3 - case .errorUnknown: return 4 + case .errorPhotoPokemonInvalid: return 2 + case .errorUnknown: return 3 case .UNRECOGNIZED(let i): return i } } @@ -52699,111 +55204,137 @@ public struct DataAccessResponse { #if swift(>=4.2) -extension DataAccessResponse.Status: CaseIterable { +extension CompleteSnapshotSessionOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DataAccessResponse.Status] = [ + public static var allCases: [CompleteSnapshotSessionOutProto.Status] = [ .unset, .success, - .errorInvalidemail, - .errorInvalidlanguage, + .errorPhotoPokemonInvalid, .errorUnknown, ] } #endif // swift(>=4.2) -public struct Datapoint { +public struct CompleteSnapshotSessionProto { // 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. - public var value: Datapoint.OneOf_Value? = nil + public var photoPokemonID: UInt64 = 0 - public var long: Int64 { - get { - if case .long(let v)? = value {return v} - return 0 - } - set {value = .long(newValue)} - } + public var numPhotosTaken: Int32 = 0 - public var double: Double { - get { - if case .double(let v)? = value {return v} - return 0 - } - set {value = .double(newValue)} - } + public var snapshotSessionStartTime: Int64 = 0 - public var boolean: Bool { - get { - if case .boolean(let v)? = value {return v} - return false - } - set {value = .boolean(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var kind: Datapoint.Kind = .unspecified + public init() {} +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +public struct CompleteVsSeekerAndRestartChargingOutProto { + // 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. - public enum OneOf_Value: Equatable { - case long(Int64) - case double(Double) - case boolean(Bool) + public var result: CompleteVsSeekerAndRestartChargingOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} + } - #if !swift(>=4.1) - public static func ==(lhs: Datapoint.OneOf_Value, rhs: Datapoint.OneOf_Value) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.long, .long): return { - guard case .long(let l) = lhs, case .long(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.double, .double): return { - guard case .double(let l) = lhs, case .double(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.boolean, .boolean): return { - guard case .boolean(let l) = lhs, case .boolean(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif + public var vsSeeker: VsSeekerAttributesProto { + get {return _storage._vsSeeker ?? VsSeekerAttributesProto()} + set {_uniqueStorage()._vsSeeker = newValue} } + /// Returns true if `vsSeeker` has been explicitly set. + public var hasVsSeeker: Bool {return _storage._vsSeeker != nil} + /// Clears the value of `vsSeeker`. Subsequent reads from it will return its default value. + public mutating func clearVsSeeker() {_uniqueStorage()._vsSeeker = nil} - public enum Kind: SwiftProtobuf.Enum { + public var lootProto: LootProto { + get {return _storage._lootProto ?? LootProto()} + set {_uniqueStorage()._lootProto = newValue} + } + /// Returns true if `lootProto` has been explicitly set. + public var hasLootProto: Bool {return _storage._lootProto != nil} + /// Clears the value of `lootProto`. Subsequent reads from it will return its default value. + public mutating func clearLootProto() {_uniqueStorage()._lootProto = nil} + + public var currentSeasonResult: CombatSeasonResult { + get {return _storage._currentSeasonResult ?? CombatSeasonResult()} + set {_uniqueStorage()._currentSeasonResult = newValue} + } + /// Returns true if `currentSeasonResult` has been explicitly set. + public var hasCurrentSeasonResult: Bool {return _storage._currentSeasonResult != nil} + /// Clears the value of `currentSeasonResult`. Subsequent reads from it will return its default value. + public mutating func clearCurrentSeasonResult() {_uniqueStorage()._currentSeasonResult = nil} + + public var previousRank: Int32 { + get {return _storage._previousRank} + set {_uniqueStorage()._previousRank = newValue} + } + + public var previousRating: Float { + get {return _storage._previousRating} + set {_uniqueStorage()._previousRating = newValue} + } + + public var statsAtRankStart: CombatBaseStatsProto { + get {return _storage._statsAtRankStart ?? CombatBaseStatsProto()} + set {_uniqueStorage()._statsAtRankStart = newValue} + } + /// Returns true if `statsAtRankStart` has been explicitly set. + public var hasStatsAtRankStart: Bool {return _storage._statsAtRankStart != nil} + /// Clears the value of `statsAtRankStart`. Subsequent reads from it will return its default value. + public mutating func clearStatsAtRankStart() {_uniqueStorage()._statsAtRankStart = nil} + + public var avatarTemplateIDRewarded: [String] { + get {return _storage._avatarTemplateIDRewarded} + set {_uniqueStorage()._avatarTemplateIDRewarded = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unspecified // = 0 - case gauge // = 1 - case delta // = 2 - case cumulative // = 3 + case unset // = 0 + case success // = 1 + case errorVsSeekerNotFound // = 2 + case errorVsSeekerAlreadyStartedCharging // = 3 + case errorVsSeekerAlreadyFullyCharged // = 4 + case errorVsSeekerPlayerInWrongSeason // = 5 + case errorPlayerInventoryFull // = 6 + case errorPlayerHasUnclaimedRewards // = 7 case UNRECOGNIZED(Int) public init() { - self = .unspecified + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unspecified - case 1: self = .gauge - case 2: self = .delta - case 3: self = .cumulative + case 0: self = .unset + case 1: self = .success + case 2: self = .errorVsSeekerNotFound + case 3: self = .errorVsSeekerAlreadyStartedCharging + case 4: self = .errorVsSeekerAlreadyFullyCharged + case 5: self = .errorVsSeekerPlayerInWrongSeason + case 6: self = .errorPlayerInventoryFull + case 7: self = .errorPlayerHasUnclaimedRewards default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unspecified: return 0 - case .gauge: return 1 - case .delta: return 2 - case .cumulative: return 3 + case .unset: return 0 + case .success: return 1 + case .errorVsSeekerNotFound: return 2 + case .errorVsSeekerAlreadyStartedCharging: return 3 + case .errorVsSeekerAlreadyFullyCharged: return 4 + case .errorVsSeekerPlayerInWrongSeason: return 5 + case .errorPlayerInventoryFull: return 6 + case .errorPlayerHasUnclaimedRewards: return 7 case .UNRECOGNIZED(let i): return i } } @@ -52811,77 +55342,54 @@ public struct Datapoint { } public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) -extension Datapoint.Kind: CaseIterable { +extension CompleteVsSeekerAndRestartChargingOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Datapoint.Kind] = [ - .unspecified, - .gauge, - .delta, - .cumulative, + public static var allCases: [CompleteVsSeekerAndRestartChargingOutProto.Result] = [ + .unset, + .success, + .errorVsSeekerNotFound, + .errorVsSeekerAlreadyStartedCharging, + .errorVsSeekerAlreadyFullyCharged, + .errorVsSeekerPlayerInWrongSeason, + .errorPlayerInventoryFull, + .errorPlayerHasUnclaimedRewards, ] } #endif // swift(>=4.2) -public struct DaysWithARowQuestProto { - // 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. - - public var lastWindow: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct DebugInfoProto { - // 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. - - public var latitude: Double = 0 - - public var longitude: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct DeclineCombatChallengeDataProto { +public struct CompleteVsSeekerAndRestartChargingProto { // 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. - public var obInt32: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeclineCombatChallengeOutProto { +public struct CompleteWildSnapshotSessionOutProto { // 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. - public var result: DeclineCombatChallengeOutProto.Result = .unset + public var status: CompleteWildSnapshotSessionOutProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorInvalidChallengeState // = 2 - case errorChallengeNotFound // = 3 - case errorAlreadyTimedout // = 4 - case errorAlreadyCancelled // = 5 + case errorPhotoPokemonInvalid // = 2 + case errorNoPhotosTaken // = 3 + case errorUnknown // = 4 case UNRECOGNIZED(Int) public init() { @@ -52892,10 +55400,9 @@ public struct DeclineCombatChallengeOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorInvalidChallengeState - case 3: self = .errorChallengeNotFound - case 4: self = .errorAlreadyTimedout - case 5: self = .errorAlreadyCancelled + case 2: self = .errorPhotoPokemonInvalid + case 3: self = .errorNoPhotosTaken + case 4: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -52904,10 +55411,9 @@ public struct DeclineCombatChallengeOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorInvalidChallengeState: return 2 - case .errorChallengeNotFound: return 3 - case .errorAlreadyTimedout: return 4 - case .errorAlreadyCancelled: return 5 + case .errorPhotoPokemonInvalid: return 2 + case .errorNoPhotosTaken: return 3 + case .errorUnknown: return 4 case .UNRECOGNIZED(let i): return i } } @@ -52919,63 +55425,57 @@ public struct DeclineCombatChallengeOutProto { #if swift(>=4.2) -extension DeclineCombatChallengeOutProto.Result: CaseIterable { +extension CompleteWildSnapshotSessionOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeclineCombatChallengeOutProto.Result] = [ + public static var allCases: [CompleteWildSnapshotSessionOutProto.Status] = [ .unset, .success, - .errorInvalidChallengeState, - .errorChallengeNotFound, - .errorAlreadyTimedout, - .errorAlreadyCancelled, + .errorPhotoPokemonInvalid, + .errorNoPhotosTaken, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct DeclineCombatChallengeProto { +public struct CompleteWildSnapshotSessionProto { // 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. - public var challengeID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var photoPokedexID: Int32 = 0 - public init() {} -} + public var numPhotosTaken: Int32 = 0 -public struct DeclineCombatChallengeResponseDataProto { - // 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. + public var type1: HoloPokemonType = .pokemonTypeNone - public var obInt32: Int32 = 0 + public var type2: HoloPokemonType = .pokemonTypeNone - public var obUint32: UInt32 = 0 + public var spawnPointID: String = String() - public var result: DeclineCombatChallengeOutProto.Result = .unset + public var encounterID: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeclineExRaidPassLogEntry { +public struct ConfirmPhotobombOutProto { // 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. - public var result: DeclineExRaidPassLogEntry.Result = .unset - - public var friendCodename: String = String() + public var status: ConfirmPhotobombOutProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 + case errorPhotobombNotFound // = 2 + case errorPhotobombAlreadyConfirmed // = 3 + case errorUnknown // = 4 case UNRECOGNIZED(Int) public init() { @@ -52986,6 +55486,9 @@ public struct DeclineExRaidPassLogEntry { switch rawValue { case 0: self = .unset case 1: self = .success + case 2: self = .errorPhotobombNotFound + case 3: self = .errorPhotobombAlreadyConfirmed + case 4: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -52994,6 +55497,9 @@ public struct DeclineExRaidPassLogEntry { switch self { case .unset: return 0 case .success: return 1 + case .errorPhotobombNotFound: return 2 + case .errorPhotobombAlreadyConfirmed: return 3 + case .errorUnknown: return 4 case .UNRECOGNIZED(let i): return i } } @@ -53005,22 +55511,46 @@ public struct DeclineExRaidPassLogEntry { #if swift(>=4.2) -extension DeclineExRaidPassLogEntry.Result: CaseIterable { +extension ConfirmPhotobombOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeclineExRaidPassLogEntry.Result] = [ + public static var allCases: [ConfirmPhotobombOutProto.Status] = [ .unset, .success, + .errorPhotobombNotFound, + .errorPhotobombAlreadyConfirmed, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct DeclineExRaidPassOutProto { +public struct ConfirmPhotobombProto { + // 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. + + public var encounterID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ConfirmTradingOutProto { // 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. - public var result: DeclineExRaidPassOutProto.Result = .unset + public var result: ConfirmTradingOutProto.Result = .unset + + public var trading: TradingProto { + get {return _trading ?? TradingProto()} + set {_trading = newValue} + } + /// Returns true if `trading` has been explicitly set. + public var hasTrading: Bool {return self._trading != nil} + /// Clears the value of `trading`. Subsequent reads from it will return its default value. + public mutating func clearTrading() {self._trading = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -53028,8 +55558,20 @@ public struct DeclineExRaidPassOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorExRaidPassNotFound // = 2 - case errorUnknown // = 3 + case errorUnknown // = 2 + case errorFriendNotFound // = 3 + case errorInvalidPlayerID // = 4 + case errorInvalidState // = 5 + case errorStateHandler // = 6 + case errorInvalidPokemon // = 7 + case errorInsufficientPayment // = 8 + case errorNoPlayerPokemon // = 9 + case errorNoFriendPokemon // = 10 + case errorPlayerAlreadyConfirmed // = 11 + case errorTransactionLogNotMatch // = 12 + case errorTradingExpired // = 13 + case errorTransaction // = 14 + case errorDailyLimitReached // = 15 case UNRECOGNIZED(Int) public init() { @@ -53040,8 +55582,20 @@ public struct DeclineExRaidPassOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorExRaidPassNotFound - case 3: self = .errorUnknown + case 2: self = .errorUnknown + case 3: self = .errorFriendNotFound + case 4: self = .errorInvalidPlayerID + case 5: self = .errorInvalidState + case 6: self = .errorStateHandler + case 7: self = .errorInvalidPokemon + case 8: self = .errorInsufficientPayment + case 9: self = .errorNoPlayerPokemon + case 10: self = .errorNoFriendPokemon + case 11: self = .errorPlayerAlreadyConfirmed + case 12: self = .errorTransactionLogNotMatch + case 13: self = .errorTradingExpired + case 14: self = .errorTransaction + case 15: self = .errorDailyLimitReached default: self = .UNRECOGNIZED(rawValue) } } @@ -53050,8 +55604,20 @@ public struct DeclineExRaidPassOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorExRaidPassNotFound: return 2 - case .errorUnknown: return 3 + case .errorUnknown: return 2 + case .errorFriendNotFound: return 3 + case .errorInvalidPlayerID: return 4 + case .errorInvalidState: return 5 + case .errorStateHandler: return 6 + case .errorInvalidPokemon: return 7 + case .errorInsufficientPayment: return 8 + case .errorNoPlayerPokemon: return 9 + case .errorNoFriendPokemon: return 10 + case .errorPlayerAlreadyConfirmed: return 11 + case .errorTransactionLogNotMatch: return 12 + case .errorTradingExpired: return 13 + case .errorTransaction: return 14 + case .errorDailyLimitReached: return 15 case .UNRECOGNIZED(let i): return i } } @@ -53059,52 +55625,67 @@ public struct DeclineExRaidPassOutProto { } public init() {} + + fileprivate var _trading: TradingProto? = nil } #if swift(>=4.2) -extension DeclineExRaidPassOutProto.Result: CaseIterable { +extension ConfirmTradingOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeclineExRaidPassOutProto.Result] = [ + public static var allCases: [ConfirmTradingOutProto.Result] = [ .unset, .success, - .errorExRaidPassNotFound, .errorUnknown, + .errorFriendNotFound, + .errorInvalidPlayerID, + .errorInvalidState, + .errorStateHandler, + .errorInvalidPokemon, + .errorInsufficientPayment, + .errorNoPlayerPokemon, + .errorNoFriendPokemon, + .errorPlayerAlreadyConfirmed, + .errorTransactionLogNotMatch, + .errorTradingExpired, + .errorTransaction, + .errorDailyLimitReached, ] } #endif // swift(>=4.2) -public struct DeclineExRaidPassProto { +public struct ConfirmTradingProto { // 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. - public var fortID: String = String() + public var playerID: String = String() - public var raidSeed: Int64 = 0 + public var transactionLog: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeclineFriendInviteOutProto { +public struct ConsumePartyItemsOutProto { // 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. - public var result: DeclineFriendInviteOutProto.Result = .unset + public var result: ConsumePartyItemsOutProto.Result = .unset + + public var appliedItems: [AppliedItemProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorInviteDoesNotExist // = 3 - case errorInviteAlreadyDeclined // = 4 + case errorUnknown // = 1 + case success // = 2 + case errorPlayerNotInParty // = 3 case UNRECOGNIZED(Int) public init() { @@ -53114,10 +55695,9 @@ public struct DeclineFriendInviteOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorInviteDoesNotExist - case 4: self = .errorInviteAlreadyDeclined + case 1: self = .errorUnknown + case 2: self = .success + case 3: self = .errorPlayerNotInParty default: self = .UNRECOGNIZED(rawValue) } } @@ -53125,10 +55705,9 @@ public struct DeclineFriendInviteOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorInviteDoesNotExist: return 3 - case .errorInviteAlreadyDeclined: return 4 + case .errorUnknown: return 1 + case .success: return 2 + case .errorPlayerNotInParty: return 3 case .UNRECOGNIZED(let i): return i } } @@ -53140,628 +55719,545 @@ public struct DeclineFriendInviteOutProto { #if swift(>=4.2) -extension DeclineFriendInviteOutProto.Result: CaseIterable { +extension ConsumePartyItemsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeclineFriendInviteOutProto.Result] = [ + public static var allCases: [ConsumePartyItemsOutProto.Result] = [ .unset, - .success, .errorUnknown, - .errorInviteDoesNotExist, - .errorInviteAlreadyDeclined, + .success, + .errorPlayerNotInParty, ] } #endif // swift(>=4.2) -public struct DeclineFriendInviteProto { +public struct ConsumePartyItemsProto { // 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. - public var playerID: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var niaAccountID: String = String() + public init() {} +} + +public struct ContactSettingsProto { + // 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. + + public var sendMarketingEmails: Bool = false + + public var sendPushNotifications: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeepLinkingEnumWrapperProto { +public struct ContestBadgeData { // 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. + public var numberOfFirstPlaceWins: Int32 = 0 + + public var contestData: [ContestWinDataProto] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum DeepLinkingActionName: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case openShop // = 1 - case openNews // = 2 - case openBattleLeague // = 3 - case openSettings // = 4 - case openPlayerProfile // = 5 - case openBuddy // = 6 - case openAvatarItems // = 7 - case openQuestList // = 8 - case openPokemonInventory // = 9 - case openNearbyPokemon // = 10 - case openPokedex // = 11 - case openEvents // = 12 - case openJournal // = 13 - case openTips // = 14 - case openItemInventory // = 15 - case fillReferralCode // = 16 - case openAddressBook // = 17 - case openEggHatch // = 18 - case openGym // = 19 - case openRaid // = 20 - case useDailyIncense // = 21 - case openDefendingGym // = 22 - case openNearbyGym // = 23 - case redeemPasscode // = 24 - case openContestReward // = 25 - case addFriend // = 26 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .unset - } +public struct ContestBuddyFocusProto { + // 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. - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .openShop - case 2: self = .openNews - case 3: self = .openBattleLeague - case 4: self = .openSettings - case 5: self = .openPlayerProfile - case 6: self = .openBuddy - case 7: self = .openAvatarItems - case 8: self = .openQuestList - case 9: self = .openPokemonInventory - case 10: self = .openNearbyPokemon - case 11: self = .openPokedex - case 12: self = .openEvents - case 13: self = .openJournal - case 14: self = .openTips - case 15: self = .openItemInventory - case 16: self = .fillReferralCode - case 17: self = .openAddressBook - case 18: self = .openEggHatch - case 19: self = .openGym - case 20: self = .openRaid - case 21: self = .useDailyIncense - case 22: self = .openDefendingGym - case 23: self = .openNearbyGym - case 24: self = .redeemPasscode - case 25: self = .openContestReward - case 26: self = .addFriend - default: self = .UNRECOGNIZED(rawValue) - } - } + public var minBuddyLevel: BuddyLevel = .unset - public var rawValue: Int { - switch self { - case .unset: return 0 - case .openShop: return 1 - case .openNews: return 2 - case .openBattleLeague: return 3 - case .openSettings: return 4 - case .openPlayerProfile: return 5 - case .openBuddy: return 6 - case .openAvatarItems: return 7 - case .openQuestList: return 8 - case .openPokemonInventory: return 9 - case .openNearbyPokemon: return 10 - case .openPokedex: return 11 - case .openEvents: return 12 - case .openJournal: return 13 - case .openTips: return 14 - case .openItemInventory: return 15 - case .fillReferralCode: return 16 - case .openAddressBook: return 17 - case .openEggHatch: return 18 - case .openGym: return 19 - case .openRaid: return 20 - case .useDailyIncense: return 21 - case .openDefendingGym: return 22 - case .openNearbyGym: return 23 - case .redeemPasscode: return 24 - case .openContestReward: return 25 - case .addFriend: return 26 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - } + public init() {} +} - public enum NearbyPokemonTab: SwiftProtobuf.Enum { - public typealias RawValue = Int - case nearbyPokemon // = 0 - case raids // = 1 - case routes // = 2 - case UNRECOGNIZED(Int) +public struct ContestCycleProto { + // 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. - public init() { - self = .nearbyPokemon - } + public var startTimeMs: Int64 = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .nearbyPokemon - case 1: self = .raids - case 2: self = .routes - default: self = .UNRECOGNIZED(rawValue) - } - } + public var endTimeMs: Int64 = 0 - public var rawValue: Int { - switch self { - case .nearbyPokemon: return 0 - case .raids: return 1 - case .routes: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var contestOccurrence: ContestOccurrence = .unset - } + public var customCycleWarmupDurationMs: Int64 = 0 - public enum PlayerProfileTab: SwiftProtobuf.Enum { - public typealias RawValue = Int - case profile // = 0 - case friends // = 1 - case UNRECOGNIZED(Int) + public var customCycleCooldownDurationMs: Int64 = 0 - public init() { - self = .profile - } + public var activateEarlyTermination: Bool = false - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .profile - case 1: self = .friends - default: self = .UNRECOGNIZED(rawValue) - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var rawValue: Int { - switch self { - case .profile: return 0 - case .friends: return 1 - case .UNRECOGNIZED(let i): return i - } - } + public init() {} +} - } +public struct ContestDisplayProto { + // 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. - public enum PokemonInventoryTab: SwiftProtobuf.Enum { - public typealias RawValue = Int - case combatParty // = 0 - case pokemon // = 1 - case eggs // = 2 - case UNRECOGNIZED(Int) + public var style: EnumWrapper.PokestopStyle = .pokestopNormal - public init() { - self = .combatParty - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .combatParty - case 1: self = .pokemon - case 2: self = .eggs - default: self = .UNRECOGNIZED(rawValue) - } - } + public init() {} +} - public var rawValue: Int { - switch self { - case .combatParty: return 0 - case .pokemon: return 1 - case .eggs: return 2 - case .UNRECOGNIZED(let i): return i - } - } +public struct ContestEntryProto { + // 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. + + public var pokedexID: HoloPokemonId = .missingno + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public enum QuestListTab: SwiftProtobuf.Enum { - public typealias RawValue = Int - case todayView // = 0 - case fieldResearch // = 1 - case specialResearch // = 2 - case UNRECOGNIZED(Int) + public var score: Double = 0 - public init() { - self = .todayView - } + public var rank: Int32 = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .todayView - case 1: self = .fieldResearch - case 2: self = .specialResearch - default: self = .UNRECOGNIZED(rawValue) - } - } + public var playerAvatar: PlayerAvatarProto { + get {return _playerAvatar ?? PlayerAvatarProto()} + set {_playerAvatar = newValue} + } + /// Returns true if `playerAvatar` has been explicitly set. + public var hasPlayerAvatar: Bool {return self._playerAvatar != nil} + /// Clears the value of `playerAvatar`. Subsequent reads from it will return its default value. + public mutating func clearPlayerAvatar() {self._playerAvatar = nil} - public var rawValue: Int { - switch self { - case .todayView: return 0 - case .fieldResearch: return 1 - case .specialResearch: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var trainerName: String = String() - } + public var team: Team = .unset - public init() {} -} + public var pokemonID: UInt64 = 0 -#if swift(>=4.2) + public var playerID: String = String() -extension DeepLinkingEnumWrapperProto.DeepLinkingActionName: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeepLinkingEnumWrapperProto.DeepLinkingActionName] = [ - .unset, - .openShop, - .openNews, - .openBattleLeague, - .openSettings, - .openPlayerProfile, - .openBuddy, - .openAvatarItems, - .openQuestList, - .openPokemonInventory, - .openNearbyPokemon, - .openPokedex, - .openEvents, - .openJournal, - .openTips, - .openItemInventory, - .fillReferralCode, - .openAddressBook, - .openEggHatch, - .openGym, - .openRaid, - .useDailyIncense, - .openDefendingGym, - .openNearbyGym, - .redeemPasscode, - .openContestReward, - .addFriend, - ] -} + public var pokemonNickname: String = String() -extension DeepLinkingEnumWrapperProto.NearbyPokemonTab: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeepLinkingEnumWrapperProto.NearbyPokemonTab] = [ - .nearbyPokemon, - .raids, - .routes, - ] -} + public var playerNeutralAvatar: PlayerNeutralAvatarProto { + get {return _playerNeutralAvatar ?? PlayerNeutralAvatarProto()} + set {_playerNeutralAvatar = newValue} + } + /// Returns true if `playerNeutralAvatar` has been explicitly set. + public var hasPlayerNeutralAvatar: Bool {return self._playerNeutralAvatar != nil} + /// Clears the value of `playerNeutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearPlayerNeutralAvatar() {self._playerNeutralAvatar = nil} -extension DeepLinkingEnumWrapperProto.PlayerProfileTab: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeepLinkingEnumWrapperProto.PlayerProfileTab] = [ - .profile, - .friends, - ] -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -extension DeepLinkingEnumWrapperProto.PokemonInventoryTab: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeepLinkingEnumWrapperProto.PokemonInventoryTab] = [ - .combatParty, - .pokemon, - .eggs, - ] -} + public init() {} -extension DeepLinkingEnumWrapperProto.QuestListTab: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeepLinkingEnumWrapperProto.QuestListTab] = [ - .todayView, - .fieldResearch, - .specialResearch, - ] + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil + fileprivate var _playerAvatar: PlayerAvatarProto? = nil + fileprivate var _playerNeutralAvatar: PlayerNeutralAvatarProto? = nil } -#endif // swift(>=4.2) - -public struct DeepLinkingSettingsProto { +public struct ContestFocusProto { // 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. - public var minPlayerLevelForExternalLink: Int32 = 0 + public var contestFocus: ContestFocusProto.OneOf_ContestFocus? = nil - public var minPlayerLevelForNotificationLink: Int32 = 0 + public var pokemon: ContestPokemonFocusProto { + get { + if case .pokemon(let v)? = contestFocus {return v} + return ContestPokemonFocusProto() + } + set {contestFocus = .pokemon(newValue)} + } + + public var generation: ContestGenerationFocusProto { + get { + if case .generation(let v)? = contestFocus {return v} + return ContestGenerationFocusProto() + } + set {contestFocus = .generation(newValue)} + } + + public var hatched: ContestHatchedFocusProto { + get { + if case .hatched(let v)? = contestFocus {return v} + return ContestHatchedFocusProto() + } + set {contestFocus = .hatched(newValue)} + } + + public var mega: ContestTemporaryEvolutionFocusProto { + get { + if case .mega(let v)? = contestFocus {return v} + return ContestTemporaryEvolutionFocusProto() + } + set {contestFocus = .mega(newValue)} + } + + public var shiny: ContestShinyFocusProto { + get { + if case .shiny(let v)? = contestFocus {return v} + return ContestShinyFocusProto() + } + set {contestFocus = .shiny(newValue)} + } + + public var type: ContestPokemonTypeFocusProto { + get { + if case .type(let v)? = contestFocus {return v} + return ContestPokemonTypeFocusProto() + } + set {contestFocus = .type(newValue)} + } + + public var buddy: ContestBuddyFocusProto { + get { + if case .buddy(let v)? = contestFocus {return v} + return ContestBuddyFocusProto() + } + set {contestFocus = .buddy(newValue)} + } - public var externalAction: [DeepLinkingEnumWrapperProto.DeepLinkingActionName] = [] + public var pokemonClass: ContestPokemonClassFocusProto { + get { + if case .pokemonClass(let v)? = contestFocus {return v} + return ContestPokemonClassFocusProto() + } + set {contestFocus = .pokemonClass(newValue)} + } - public var notificationAction: [DeepLinkingEnumWrapperProto.DeepLinkingActionName] = [] + public var pokemonFamily: ContestPokemonFamilyFocusProto { + get { + if case .pokemonFamily(let v)? = contestFocus {return v} + return ContestPokemonFamilyFocusProto() + } + set {contestFocus = .pokemonFamily(newValue)} + } - public var obBool: Bool = false + public var alignment: ContestPokemonAlignmentFocusProto { + get { + if case .alignment(let v)? = contestFocus {return v} + return ContestPokemonAlignmentFocusProto() + } + set {contestFocus = .alignment(newValue)} + } public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_ContestFocus: Equatable { + case pokemon(ContestPokemonFocusProto) + case generation(ContestGenerationFocusProto) + case hatched(ContestHatchedFocusProto) + case mega(ContestTemporaryEvolutionFocusProto) + case shiny(ContestShinyFocusProto) + case type(ContestPokemonTypeFocusProto) + case buddy(ContestBuddyFocusProto) + case pokemonClass(ContestPokemonClassFocusProto) + case pokemonFamily(ContestPokemonFamilyFocusProto) + case alignment(ContestPokemonAlignmentFocusProto) + + #if !swift(>=4.1) + public static func ==(lhs: ContestFocusProto.OneOf_ContestFocus, rhs: ContestFocusProto.OneOf_ContestFocus) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pokemon, .pokemon): return { + guard case .pokemon(let l) = lhs, case .pokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.generation, .generation): return { + guard case .generation(let l) = lhs, case .generation(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.hatched, .hatched): return { + guard case .hatched(let l) = lhs, case .hatched(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.mega, .mega): return { + guard case .mega(let l) = lhs, case .mega(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.shiny, .shiny): return { + guard case .shiny(let l) = lhs, case .shiny(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.type, .type): return { + guard case .type(let l) = lhs, case .type(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.buddy, .buddy): return { + guard case .buddy(let l) = lhs, case .buddy(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonClass, .pokemonClass): return { + guard case .pokemonClass(let l) = lhs, case .pokemonClass(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonFamily, .pokemonFamily): return { + guard case .pokemonFamily(let l) = lhs, case .pokemonFamily(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.alignment, .alignment): return { + guard case .alignment(let l) = lhs, case .alignment(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + public init() {} } -public struct DeepLinkingTelemetry { +public struct ContestFriendEntryProto { // 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. - public var actionName: String = String() - - public var linkSource: DeepLinkingTelemetry.LinkSource = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var trainerName: String = String() - public enum LinkSource: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case url // = 1 - case notification // = 2 - case UNRECOGNIZED(Int) + public var friendshipLevelMilestone: FriendshipLevelMilestone = .friendshipLevelUnset - public init() { - self = .unknown - } + public var rank: Int32 = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .url - case 2: self = .notification - default: self = .UNRECOGNIZED(rawValue) - } - } + public var playerAvatar: PlayerAvatarProto { + get {return _playerAvatar ?? PlayerAvatarProto()} + set {_playerAvatar = newValue} + } + /// Returns true if `playerAvatar` has been explicitly set. + public var hasPlayerAvatar: Bool {return self._playerAvatar != nil} + /// Clears the value of `playerAvatar`. Subsequent reads from it will return its default value. + public mutating func clearPlayerAvatar() {self._playerAvatar = nil} - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .url: return 1 - case .notification: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var team: Team = .unset + public var playerNeutralAvatar: PlayerNeutralAvatarProto { + get {return _playerNeutralAvatar ?? PlayerNeutralAvatarProto()} + set {_playerNeutralAvatar = newValue} } + /// Returns true if `playerNeutralAvatar` has been explicitly set. + public var hasPlayerNeutralAvatar: Bool {return self._playerNeutralAvatar != nil} + /// Clears the value of `playerNeutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearPlayerNeutralAvatar() {self._playerNeutralAvatar = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _playerAvatar: PlayerAvatarProto? = nil + fileprivate var _playerNeutralAvatar: PlayerNeutralAvatarProto? = nil } -#if swift(>=4.2) +public struct ContestGenerationFocusProto { + // 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. -extension DeepLinkingTelemetry.LinkSource: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeepLinkingTelemetry.LinkSource] = [ - .unknown, - .url, - .notification, - ] -} + public var pokemonGeneration: PokedexGenerationId = .generationUnset -#endif // swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct DeleteAccountEmailOnFileRequest { + public init() {} +} + +public struct ContestHatchedFocusProto { // 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. - public var languageShortCode: String = String() + public var requireToBeHatched: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeleteAccountEmailOnFileResponse { +public struct ContestInfoProto { // 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. - public var status: DeleteAccountEmailOnFileResponse.Status = .unset + public var contestID: String = String() - public var errorMessage: String = String() + public var pokemonID: UInt64 = 0 - public var confirmationEmail: String = String() + public var ranking: Int32 = 0 - public var hasAppleProvider_p: Bool = false + public var fortImageURL: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorEmailNotOnFile // = 2 - case errorInvalidLanguage // = 3 - case errorAppNotSupported // = 4 - case errorInvalidPlayer // = 5 - case errorDuplicateRequest // = 6 - case errorHelpshiftError // = 7 - case errorUnknown // = 8 - case errorCodenameNotOnFile // = 9 - case UNRECOGNIZED(Int) + public var fortName: String = String() - public init() { - self = .unset - } + public var rewardsTemplateID: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorEmailNotOnFile - case 3: self = .errorInvalidLanguage - case 4: self = .errorAppNotSupported - case 5: self = .errorInvalidPlayer - case 6: self = .errorDuplicateRequest - case 7: self = .errorHelpshiftError - case 8: self = .errorUnknown - case 9: self = .errorCodenameNotOnFile - default: self = .UNRECOGNIZED(rawValue) - } - } + public var pokedexID: HoloPokemonId = .missingno - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorEmailNotOnFile: return 2 - case .errorInvalidLanguage: return 3 - case .errorAppNotSupported: return 4 - case .errorInvalidPlayer: return 5 - case .errorDuplicateRequest: return 6 - case .errorHelpshiftError: return 7 - case .errorUnknown: return 8 - case .errorCodenameNotOnFile: return 9 - case .UNRECOGNIZED(let i): return i - } - } + public var localEndTimeMs: Int64 = 0 - } + public var isRankingLocked: Bool = false - public init() {} -} + public var evolvedPokemonID: UInt64 = 0 -#if swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() -extension DeleteAccountEmailOnFileResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeleteAccountEmailOnFileResponse.Status] = [ - .unset, - .success, - .errorEmailNotOnFile, - .errorInvalidLanguage, - .errorAppNotSupported, - .errorInvalidPlayer, - .errorDuplicateRequest, - .errorHelpshiftError, - .errorUnknown, - .errorCodenameNotOnFile, - ] -} + public init() {} -#endif // swift(>=4.2) + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +} -public struct DeleteAccountRequest { +public struct ContestInfoSummaryProto { // 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. - public var email: String = String() + public var contestInfo: [ContestInfoProto] = [] - public var languageShortCode: String = String() + public var tradedContestPokemonID: [UInt64] = [] - public var isDryRun: Bool = false + public var isRankingLocked: Bool = false + + public var endTimeMs: Int64 = 0 + + public var metric: ContestMetricProto { + get {return _metric ?? ContestMetricProto()} + set {_metric = newValue} + } + /// Returns true if `metric` has been explicitly set. + public var hasMetric: Bool {return self._metric != nil} + /// Clears the value of `metric`. Subsequent reads from it will return its default value. + public mutating func clearMetric() {self._metric = nil} + + public var numContestsEntered: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _metric: ContestMetricProto? = nil } -public struct DeleteAccountResponse { +public struct ContestLengthThresholdsProto { // 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. - public var status: DeleteAccountResponse.Status = .unset + public var length: String = String() - public var errorMessage: String = String() + public var minDurationMs: Int64 = 0 + + public var maxDurationMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInvalidemail // = 2 - case errorInvalidlanguage // = 3 - case errorUnknown // = 4 - case errorAppNotSupported // = 5 - case errorInvalidPlayer // = 6 - case errorDuplicateRequest // = 7 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .unset - } +public struct ContestLimitProto { + // 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. - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidemail - case 3: self = .errorInvalidlanguage - case 4: self = .errorUnknown - case 5: self = .errorAppNotSupported - case 6: self = .errorInvalidPlayer - case 7: self = .errorDuplicateRequest - default: self = .UNRECOGNIZED(rawValue) - } - } + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInvalidemail: return 2 - case .errorInvalidlanguage: return 3 - case .errorUnknown: return 4 - case .errorAppNotSupported: return 5 - case .errorInvalidPlayer: return 6 - case .errorDuplicateRequest: return 7 - case .UNRECOGNIZED(let i): return i - } - } + public var contestOccurrence: ContestOccurrence = .unset - } + public var perContestMaxEntries: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _contestMetric: ContestMetricProto? = nil } -#if swift(>=4.2) +public struct ContestMetricProto { + // 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. -extension DeleteAccountResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeleteAccountResponse.Status] = [ - .unset, - .success, - .errorInvalidemail, - .errorInvalidlanguage, - .errorUnknown, - .errorAppNotSupported, - .errorInvalidPlayer, - .errorDuplicateRequest, - ] -} + public var metric: ContestMetricProto.OneOf_Metric? = nil -#endif // swift(>=4.2) + public var pokemonMetric: ContestPokemonMetric { + get { + if case .pokemonMetric(let v)? = metric {return v} + return .unset + } + set {metric = .pokemonMetric(newValue)} + } -public struct DeleteGiftFromInventoryOutProto { + public var rankingStandard: ContestRankingStandard = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Metric: Equatable { + case pokemonMetric(ContestPokemonMetric) + + #if !swift(>=4.1) + public static func ==(lhs: ContestMetricProto.OneOf_Metric, rhs: ContestMetricProto.OneOf_Metric) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pokemonMetric, .pokemonMetric): return { + guard case .pokemonMetric(let l) = lhs, case .pokemonMetric(let r) = rhs else { preconditionFailure() } + return l == r + }() + } + } + #endif + } + + public init() {} +} + +public struct ContestPokemonAlignmentFocusProto { // 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. - public var result: DeleteGiftFromInventoryOutProto.Result = .unset + public var requiredAlignment: ContestPokemonAlignmentFocusProto.alignment = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum alignment: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorGiftDoesNotExist // = 3 + case purified // = 1 + case shadow // = 2 case UNRECOGNIZED(Int) public init() { @@ -53771,9 +56267,8 @@ public struct DeleteGiftFromInventoryOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorGiftDoesNotExist + case 1: self = .purified + case 2: self = .shadow default: self = .UNRECOGNIZED(rawValue) } } @@ -53781,9 +56276,8 @@ public struct DeleteGiftFromInventoryOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorGiftDoesNotExist: return 3 + case .purified: return 1 + case .shadow: return 2 case .UNRECOGNIZED(let i): return i } } @@ -53795,273 +56289,425 @@ public struct DeleteGiftFromInventoryOutProto { #if swift(>=4.2) -extension DeleteGiftFromInventoryOutProto.Result: CaseIterable { +extension ContestPokemonAlignmentFocusProto.alignment: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeleteGiftFromInventoryOutProto.Result] = [ + public static var allCases: [ContestPokemonAlignmentFocusProto.alignment] = [ .unset, - .success, - .errorUnknown, - .errorGiftDoesNotExist, + .purified, + .shadow, ] } #endif // swift(>=4.2) -public struct DeleteGiftFromInventoryProto { +public struct ContestPokemonClassFocusProto { // 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. - public var giftboxID: [UInt64] = [] + public var requiredClass: HoloPokemonClass = .pokemonClassNormal public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeleteGiftOutProto { +public struct ContestPokemonFamilyFocusProto { // 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. - public var result: DeleteGiftOutProto.Result = .unset + public var requiredFamily: HoloPokemonFamilyId = .familyUnset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorInvalidPlayerID // = 3 - case errorFriendNotFound // = 4 - case errorGiftDoesNotExist // = 5 - case errorFriendUpdate // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } + public init() {} +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorInvalidPlayerID - case 4: self = .errorFriendNotFound - case 5: self = .errorGiftDoesNotExist - case 6: self = .errorFriendUpdate - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct ContestPokemonFocusProto { + // 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. - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorInvalidPlayerID: return 3 - case .errorFriendNotFound: return 4 - case .errorGiftDoesNotExist: return 5 - case .errorFriendUpdate: return 6 - case .UNRECOGNIZED(let i): return i - } - } + public var pokedexID: HoloPokemonId = .missingno + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + + public var requireFormToMatch: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil } -#if swift(>=4.2) +public struct ContestPokemonSectionProto { + // 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. -extension DeleteGiftOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeleteGiftOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorInvalidPlayerID, - .errorFriendNotFound, - .errorGiftDoesNotExist, - .errorFriendUpdate, - ] -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -#endif // swift(>=4.2) + public init() {} +} -public struct DeleteGiftProto { +public struct ContestPokemonTypeFocusProto { // 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. - public var playerID: String = String() + public var pokemonType1: HoloPokemonType = .pokemonTypeNone - public var giftboxID: UInt64 = 0 + public var pokemonType2: HoloPokemonType = .pokemonTypeNone public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeletePhoneNumberRequest { +public struct ContestProto { // 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. - public var contactID: String = String() + public var contestID: String { + get {return _storage._contestID} + set {_uniqueStorage()._contestID = newValue} + } + + public var focus: ContestFocusProto { + get {return _storage._focus ?? ContestFocusProto()} + set {_uniqueStorage()._focus = newValue} + } + /// Returns true if `focus` has been explicitly set. + public var hasFocus: Bool {return _storage._focus != nil} + /// Clears the value of `focus`. Subsequent reads from it will return its default value. + public mutating func clearFocus() {_uniqueStorage()._focus = nil} + + public var metric: ContestMetricProto { + get {return _storage._metric ?? ContestMetricProto()} + set {_uniqueStorage()._metric = newValue} + } + /// Returns true if `metric` has been explicitly set. + public var hasMetric: Bool {return _storage._metric != nil} + /// Clears the value of `metric`. Subsequent reads from it will return its default value. + public mutating func clearMetric() {_uniqueStorage()._metric = nil} + + public var schedule: ContestScheduleProto { + get {return _storage._schedule ?? ContestScheduleProto()} + set {_uniqueStorage()._schedule = newValue} + } + /// Returns true if `schedule` has been explicitly set. + public var hasSchedule: Bool {return _storage._schedule != nil} + /// Clears the value of `schedule`. Subsequent reads from it will return its default value. + public mutating func clearSchedule() {_uniqueStorage()._schedule = nil} + + public var rewardsTemplateID: String { + get {return _storage._rewardsTemplateID} + set {_uniqueStorage()._rewardsTemplateID = newValue} + } + + public var focuses: [ContestFocusProto] { + get {return _storage._focuses} + set {_uniqueStorage()._focuses = newValue} + } + + public var focusStringKey: String { + get {return _storage._focusStringKey} + set {_uniqueStorage()._focusStringKey = newValue} + } + + public var scalarScoreReferencePokemon: HoloPokemonId { + get {return _storage._scalarScoreReferencePokemon} + set {_uniqueStorage()._scalarScoreReferencePokemon = newValue} + } + + public var scalarScoreReferencePokemonForm: PokemonDisplayProto.Form { + get {return _storage._scalarScoreReferencePokemonForm} + set {_uniqueStorage()._scalarScoreReferencePokemonForm = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct DeletePhoneNumberResponse { +public struct ContestScheduleProto { // 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. - public var status: DeletePhoneNumberResponse.Status = .unset - - public var errorMessage: String = String() + public var contestCycle: ContestCycleProto { + get {return _contestCycle ?? ContestCycleProto()} + set {_contestCycle = newValue} + } + /// Returns true if `contestCycle` has been explicitly set. + public var hasContestCycle: Bool {return self._contestCycle != nil} + /// Clears the value of `contestCycle`. Subsequent reads from it will return its default value. + public mutating func clearContestCycle() {self._contestCycle = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) + public init() {} - public init() { - self = .unset - } + fileprivate var _contestCycle: ContestCycleProto? = nil +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } +public struct ContestScoreCoefficientProto { + // 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. + + public var contestType: ContestScoreCoefficientProto.OneOf_ContestType? = nil + + public var pokemonSize: ContestScoreCoefficientProto.PokemonSize { + get { + if case .pokemonSize(let v)? = contestType {return v} + return ContestScoreCoefficientProto.PokemonSize() } + set {contestType = .pokemonSize(newValue)} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_ContestType: Equatable { + case pokemonSize(ContestScoreCoefficientProto.PokemonSize) + + #if !swift(>=4.1) + public static func ==(lhs: ContestScoreCoefficientProto.OneOf_ContestType, rhs: ContestScoreCoefficientProto.OneOf_ContestType) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pokemonSize, .pokemonSize): return { + guard case .pokemonSize(let l) = lhs, case .pokemonSize(let r) = rhs else { preconditionFailure() } + return l == r + }() } } + #endif + } + + public struct PokemonSize { + // 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. + + public var heightCoefficient: Double = 0 + public var weightCoefficient: Double = 0 + + public var ivCoefficient: Double = 0 + + public var xxlAdjustmentFactor: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } public init() {} } -#if swift(>=4.2) +public struct ContestScoreComponentProto { + // 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. -extension DeletePhoneNumberResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeletePhoneNumberResponse.Status] = [ - .unset, - .success, - .errorUnknown, - ] -} + public var componentType: ContestScoreComponentType = .typeUnset -#endif // swift(>=4.2) + public var coefficientValue: Double = 0 + + public var isVisible: Bool = false -public struct DeletePhotoOutProto { + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ContestScoreFormulaProto { // 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. - public var result: DeletePhotoOutProto.Result = .unset + public var contestType: ContestMetricProto { + get {return _contestType ?? ContestMetricProto()} + set {_contestType = newValue} + } + /// Returns true if `contestType` has been explicitly set. + public var hasContestType: Bool {return self._contestType != nil} + /// Clears the value of `contestType`. Subsequent reads from it will return its default value. + public mutating func clearContestType() {self._contestType = nil} + + public var scoreComponents: [ContestScoreComponentProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case imageNotFound // = 2 - case errorUnknown // = 3 - case UNRECOGNIZED(Int) + public init() {} - public init() { - self = .unset - } + fileprivate var _contestType: ContestMetricProto? = nil +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .imageNotFound - case 3: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct ContestSettingsProto { + // 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. - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .imageNotFound: return 2 - case .errorUnknown: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var isFeatureEnabled: Bool { + get {return _storage._isFeatureEnabled} + set {_uniqueStorage()._isFeatureEnabled = newValue} + } + public var playerContestMaxEntries: Int32 { + get {return _storage._playerContestMaxEntries} + set {_uniqueStorage()._playerContestMaxEntries = newValue} } - public init() {} -} + public var contestLimits: [ContestLimitProto] { + get {return _storage._contestLimits} + set {_uniqueStorage()._contestLimits = newValue} + } -#if swift(>=4.2) + public var defaultContestMaxEntries: Int32 { + get {return _storage._defaultContestMaxEntries} + set {_uniqueStorage()._defaultContestMaxEntries = newValue} + } -extension DeletePhotoOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeletePhotoOutProto.Result] = [ - .unset, - .success, - .imageNotFound, - .errorUnknown, - ] -} + public var minCooldownBeforeSeasonEndMs: Int64 { + get {return _storage._minCooldownBeforeSeasonEndMs} + set {_uniqueStorage()._minCooldownBeforeSeasonEndMs = newValue} + } -#endif // swift(>=4.2) + public var contestWarmupAndCooldownDurationsMs: [ContestWarmupAndCooldownDurationSettingsProto] { + get {return _storage._contestWarmupAndCooldownDurationsMs} + set {_uniqueStorage()._contestWarmupAndCooldownDurationsMs = newValue} + } + + public var defaultCycleWarmupDurationMs: Int64 { + get {return _storage._defaultCycleWarmupDurationMs} + set {_uniqueStorage()._defaultCycleWarmupDurationMs = newValue} + } + + public var defaultCycleCooldownDurationMs: Int64 { + get {return _storage._defaultCycleCooldownDurationMs} + set {_uniqueStorage()._defaultCycleCooldownDurationMs = newValue} + } + + public var maxCatchPromptRange: Double { + get {return _storage._maxCatchPromptRange} + set {_uniqueStorage()._maxCatchPromptRange = newValue} + } + + public var catchPromptTimeoutMs: Float { + get {return _storage._catchPromptTimeoutMs} + set {_uniqueStorage()._catchPromptTimeoutMs = newValue} + } + + public var contestScoreCoefficient: [ContestScoreCoefficientProto] { + get {return _storage._contestScoreCoefficient} + set {_uniqueStorage()._contestScoreCoefficient = newValue} + } + + public var contestLengthThresholds: [ContestLengthThresholdsProto] { + get {return _storage._contestLengthThresholds} + set {_uniqueStorage()._contestLengthThresholds = newValue} + } + + public var isFriendsDisplayEnabled: Bool { + get {return _storage._isFriendsDisplayEnabled} + set {_uniqueStorage()._isFriendsDisplayEnabled = newValue} + } + + public var leaderboardCardDisplayCount: Int32 { + get {return _storage._leaderboardCardDisplayCount} + set {_uniqueStorage()._leaderboardCardDisplayCount = newValue} + } + + public var postcontestLeaderboardCardDisplayCount: Int32 { + get {return _storage._postcontestLeaderboardCardDisplayCount} + set {_uniqueStorage()._postcontestLeaderboardCardDisplayCount = newValue} + } + + public var contestScoreFormulas: [ContestScoreFormulaProto] { + get {return _storage._contestScoreFormulas} + set {_uniqueStorage()._contestScoreFormulas = newValue} + } + + public var isV2FeatureEnabled: Bool { + get {return _storage._isV2FeatureEnabled} + set {_uniqueStorage()._isV2FeatureEnabled = newValue} + } + + public var isAnticheatRemovalEnabled: Bool { + get {return _storage._isAnticheatRemovalEnabled} + set {_uniqueStorage()._isAnticheatRemovalEnabled = newValue} + } + + public var isNormalizedScoreToSpecies: Bool { + get {return _storage._isNormalizedScoreToSpecies} + set {_uniqueStorage()._isNormalizedScoreToSpecies = newValue} + } + + public var isV2FocusesEnabled: Bool { + get {return _storage._isV2FocusesEnabled} + set {_uniqueStorage()._isV2FocusesEnabled = newValue} + } + + public var isContestInNearbyMenu: Bool { + get {return _storage._isContestInNearbyMenu} + set {_uniqueStorage()._isContestInNearbyMenu = newValue} + } + + public var isPokemonScalarEnabled: Bool { + get {return _storage._isPokemonScalarEnabled} + set {_uniqueStorage()._isPokemonScalarEnabled = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} -public struct DeletePhotoProto { +public struct ContestShinyFocusProto { // 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. - public var photoID: String = String() + public var requireToBeShiny: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeletePokemonTagOutProto { +public struct ContestTemporaryEvolutionFocusProto { // 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. - public var result: DeletePokemonTagOutProto.Result = .unset + public var temporaryEvolutionRequired: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var restriction: ContestTemporaryEvolutionFocusProto.Restriction = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Restriction: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorPlayerLevelTooLow // = 2 - case tagDoesNotExist // = 3 + case mega // = 1 + case notTempEvo // = 2 case UNRECOGNIZED(Int) public init() { @@ -54071,9 +56717,8 @@ public struct DeletePokemonTagOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorPlayerLevelTooLow - case 3: self = .tagDoesNotExist + case 1: self = .mega + case 2: self = .notTempEvo default: self = .UNRECOGNIZED(rawValue) } } @@ -54081,9 +56726,8 @@ public struct DeletePokemonTagOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorPlayerLevelTooLow: return 2 - case .tagDoesNotExist: return 3 + case .mega: return 1 + case .notTempEvo: return 2 case .UNRECOGNIZED(let i): return i } } @@ -54095,55 +56739,88 @@ public struct DeletePokemonTagOutProto { #if swift(>=4.2) -extension DeletePokemonTagOutProto.Result: CaseIterable { +extension ContestTemporaryEvolutionFocusProto.Restriction: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeletePokemonTagOutProto.Result] = [ + public static var allCases: [ContestTemporaryEvolutionFocusProto.Restriction] = [ .unset, - .success, - .errorPlayerLevelTooLow, - .tagDoesNotExist, + .mega, + .notTempEvo, ] } #endif // swift(>=4.2) -public struct DeletePokemonTagProto { +public struct ContestWarmupAndCooldownDurationSettingsProto { // 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. - public var tagID: UInt64 = 0 + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} + + public var contestOccurrence: ContestOccurrence = .unset + + public var cycleWarmupDurationMs: Int64 = 0 + + public var cycleCooldownDurationMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _contestMetric: ContestMetricProto? = nil } -public struct DeletePostcardOutProto { +public struct ContestWinDataProto { // 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. - public var result: DeletePostcardOutProto.Result = .unset + public var fortName: String = String() - public var postcard: PostcardDisplayProto { - get {return _postcard ?? PostcardDisplayProto()} - set {_postcard = newValue} + public var pokemonID: UInt64 = 0 + + public var contestEndMs: Int64 = 0 + + public var pokedexID: HoloPokemonId = .missingno + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ContributePartyItemOutProto { + // 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. + + public var result: ContributePartyItemOutProto.Result = .unset + + public var party: PartyRpcProto { + get {return _party ?? PartyRpcProto()} + set {_party = newValue} } - /// Returns true if `postcard` has been explicitly set. - public var hasPostcard: Bool {return self._postcard != nil} - /// Clears the value of `postcard`. Subsequent reads from it will return its default value. - public mutating func clearPostcard() {self._postcard = nil} + /// Returns true if `party` has been explicitly set. + public var hasParty: Bool {return self._party != nil} + /// Clears the value of `party`. Subsequent reads from it will return its default value. + public mutating func clearParty() {self._party = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorPostcardDoesNotExist // = 2 - case errorPostcardFavorited // = 3 - case errorNotEnabled // = 4 + case errorUnknown // = 1 + case success // = 2 + case errorInsufficientInventory // = 3 + case errorPlayerNotInParty // = 4 + case errorUnsanctionedItemType // = 5 case UNRECOGNIZED(Int) public init() { @@ -54153,10 +56830,11 @@ public struct DeletePostcardOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorPostcardDoesNotExist - case 3: self = .errorPostcardFavorited - case 4: self = .errorNotEnabled + case 1: self = .errorUnknown + case 2: self = .success + case 3: self = .errorInsufficientInventory + case 4: self = .errorPlayerNotInParty + case 5: self = .errorUnsanctionedItemType default: self = .UNRECOGNIZED(rawValue) } } @@ -54164,10 +56842,11 @@ public struct DeletePostcardOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorPostcardDoesNotExist: return 2 - case .errorPostcardFavorited: return 3 - case .errorNotEnabled: return 4 + case .errorUnknown: return 1 + case .success: return 2 + case .errorInsufficientInventory: return 3 + case .errorPlayerNotInParty: return 4 + case .errorUnsanctionedItemType: return 5 case .UNRECOGNIZED(let i): return i } } @@ -54176,54 +56855,64 @@ public struct DeletePostcardOutProto { public init() {} - fileprivate var _postcard: PostcardDisplayProto? = nil + fileprivate var _party: PartyRpcProto? = nil } #if swift(>=4.2) -extension DeletePostcardOutProto.Result: CaseIterable { +extension ContributePartyItemOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeletePostcardOutProto.Result] = [ + public static var allCases: [ContributePartyItemOutProto.Result] = [ .unset, + .errorUnknown, .success, - .errorPostcardDoesNotExist, - .errorPostcardFavorited, - .errorNotEnabled, + .errorInsufficientInventory, + .errorPlayerNotInParty, + .errorUnsanctionedItemType, ] } #endif // swift(>=4.2) -public struct DeletePostcardProto { +public struct ContributePartyItemProto { // 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. - public var postcardID: String = String() + public var contributedItems: [ItemProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeletePostcardsOutProto { +public struct ConversationSettingsProto { // 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. - public var result: DeletePostcardsOutProto.Result = .unset + public var appraisalConvOverrideConfig: String = String() - public var postcards: [PostcardDisplayProto] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ConvertCandyToXlCandyOutProto { + // 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. + + public var status: ConvertCandyToXlCandyOutProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorPostcardDoesNotExist // = 2 - case errorPostcardFavorited // = 3 - case errorNotEnabled // = 4 + case errorNotEnoughCandy // = 2 + case errorPlayerLevelTooLow // = 3 case UNRECOGNIZED(Int) public init() { @@ -54234,9 +56923,8 @@ public struct DeletePostcardsOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorPostcardDoesNotExist - case 3: self = .errorPostcardFavorited - case 4: self = .errorNotEnabled + case 2: self = .errorNotEnoughCandy + case 3: self = .errorPlayerLevelTooLow default: self = .UNRECOGNIZED(rawValue) } } @@ -54245,9 +56933,8 @@ public struct DeletePostcardsOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorPostcardDoesNotExist: return 2 - case .errorPostcardFavorited: return 3 - case .errorNotEnabled: return 4 + case .errorNotEnoughCandy: return 2 + case .errorPlayerLevelTooLow: return 3 case .UNRECOGNIZED(let i): return i } } @@ -54259,290 +56946,201 @@ public struct DeletePostcardsOutProto { #if swift(>=4.2) -extension DeletePostcardsOutProto.Result: CaseIterable { +extension ConvertCandyToXlCandyOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeletePostcardsOutProto.Result] = [ + public static var allCases: [ConvertCandyToXlCandyOutProto.Status] = [ .unset, .success, - .errorPostcardDoesNotExist, - .errorPostcardFavorited, - .errorNotEnabled, + .errorNotEnoughCandy, + .errorPlayerLevelTooLow, ] } #endif // swift(>=4.2) -public struct DeletePostcardsProto { +public struct ConvertCandyToXlCandyProto { // 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. - public var postcardIds: [String] = [] + public var family: HoloPokemonFamilyId = .familyUnset + + public var numXlCandy: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeployPokemonTelemetry { +public struct CostSettingsProto { // 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. - public var status: Int32 = 0 - - public var pokemon: PokemonTelemetry { - get {return _pokemon ?? PokemonTelemetry()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var gymID: String = String() - - public var team: Team = .unset + public var candyCost: Int32 = 0 - public var defenderCount: Int32 = 0 + public var stardustCost: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _pokemon: PokemonTelemetry? = nil } -public struct DeploymentTotalsProto { +public struct CoveringProto { // 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. - public var timesFed: Int32 = 0 - - public var battlesWon: Int32 = 0 - - public var battlesLost: Int32 = 0 - - public var deploymentDurationMs: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DescriptorProto { +public struct CrashlyticsSettingsProto { // 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. - public var name: String = String() - - public var field: [FieldDescriptorProto] = [] - - public var nestedType: [DescriptorProto] = [] - - public var enumType: [EnumDescriptorProto] = [] - - public var oneofDecl: [OneofDescriptorProto] = [] + public var enabled: Bool = false - public var options: MessageOptions { - get {return _options ?? MessageOptions()} - set {_options = newValue} - } - /// Returns true if `options` has been explicitly set. - public var hasOptions: Bool {return self._options != nil} - /// Clears the value of `options`. Subsequent reads from it will return its default value. - public mutating func clearOptions() {self._options = nil} + public var sessionSamplingFraction: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct ExtensionRange { - // 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. - - public var start: Int32 = 0 - - public var end: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct ReservedRange { - // 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. - - public var start: Int32 = 0 - - public var end: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} - - fileprivate var _options: MessageOptions? = nil } -public struct Detection { +public struct CreateBuddyMultiplayerSessionOutProto { // 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. - public var label: [String] { - get {return _storage._label} - set {_uniqueStorage()._label = newValue} - } - - public var labelID: [Int32] { - get {return _storage._labelID} - set {_uniqueStorage()._labelID = newValue} - } - - public var score: [Float] { - get {return _storage._score} - set {_uniqueStorage()._score = newValue} - } - - public var locationData: LocationData { - get {return _storage._locationData ?? LocationData()} - set {_uniqueStorage()._locationData = newValue} - } - /// Returns true if `locationData` has been explicitly set. - public var hasLocationData: Bool {return _storage._locationData != nil} - /// Clears the value of `locationData`. Subsequent reads from it will return its default value. - public mutating func clearLocationData() {_uniqueStorage()._locationData = nil} - - public var featureTag: String { - get {return _storage._featureTag ?? String()} - set {_uniqueStorage()._featureTag = newValue} - } - /// Returns true if `featureTag` has been explicitly set. - public var hasFeatureTag: Bool {return _storage._featureTag != nil} - /// Clears the value of `featureTag`. Subsequent reads from it will return its default value. - public mutating func clearFeatureTag() {_uniqueStorage()._featureTag = nil} - - public var trackID: String { - get {return _storage._trackID ?? String()} - set {_uniqueStorage()._trackID = newValue} - } - /// Returns true if `trackID` has been explicitly set. - public var hasTrackID: Bool {return _storage._trackID != nil} - /// Clears the value of `trackID`. Subsequent reads from it will return its default value. - public mutating func clearTrackID() {_uniqueStorage()._trackID = nil} + public var plfeSessionID: String = String() - public var detectionID: Int64 { - get {return _storage._detectionID ?? 0} - set {_uniqueStorage()._detectionID = newValue} - } - /// Returns true if `detectionID` has been explicitly set. - public var hasDetectionID: Bool {return _storage._detectionID != nil} - /// Clears the value of `detectionID`. Subsequent reads from it will return its default value. - public mutating func clearDetectionID() {_uniqueStorage()._detectionID = nil} + public var arbeJoinToken: Data = Data() - public var associatedDetections: [Detection.AssociatedDetection] { - get {return _storage._associatedDetections} - set {_uniqueStorage()._associatedDetections = newValue} - } + public var generationTimestamp: Int64 = 0 - public var displayName: [String] { - get {return _storage._displayName} - set {_uniqueStorage()._displayName = newValue} - } + public var maxPlayers: Int32 = 0 - public var timestampUsec: Int64 { - get {return _storage._timestampUsec ?? 0} - set {_uniqueStorage()._timestampUsec = newValue} - } - /// Returns true if `timestampUsec` has been explicitly set. - public var hasTimestampUsec: Bool {return _storage._timestampUsec != nil} - /// Clears the value of `timestampUsec`. Subsequent reads from it will return its default value. - public mutating func clearTimestampUsec() {_uniqueStorage()._timestampUsec = nil} + public var result: CreateBuddyMultiplayerSessionOutProto.Result = .createSuccess public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct AssociatedDetection { - // 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. + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case createSuccess // = 0 + case createBuddyNotSet // = 1 + case createBuddyNotFound // = 2 + case createBadBuddy // = 3 + case createBuddyV2NotEnabled // = 4 + case createPlayerLevelTooLow // = 5 + case createUnknownError // = 6 + case createU13NoPermission // = 7 + case UNRECOGNIZED(Int) - public var id: Int32 { - get {return _id ?? 0} - set {_id = newValue} + public init() { + self = .createSuccess } - /// Returns true if `id` has been explicitly set. - public var hasID: Bool {return self._id != nil} - /// Clears the value of `id`. Subsequent reads from it will return its default value. - public mutating func clearID() {self._id = nil} - public var confidence: Float { - get {return _confidence ?? 0} - set {_confidence = newValue} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .createSuccess + case 1: self = .createBuddyNotSet + case 2: self = .createBuddyNotFound + case 3: self = .createBadBuddy + case 4: self = .createBuddyV2NotEnabled + case 5: self = .createPlayerLevelTooLow + case 6: self = .createUnknownError + case 7: self = .createU13NoPermission + default: self = .UNRECOGNIZED(rawValue) + } } - /// Returns true if `confidence` has been explicitly set. - public var hasConfidence: Bool {return self._confidence != nil} - /// Clears the value of `confidence`. Subsequent reads from it will return its default value. - public mutating func clearConfidence() {self._confidence = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + public var rawValue: Int { + switch self { + case .createSuccess: return 0 + case .createBuddyNotSet: return 1 + case .createBuddyNotFound: return 2 + case .createBadBuddy: return 3 + case .createBuddyV2NotEnabled: return 4 + case .createPlayerLevelTooLow: return 5 + case .createUnknownError: return 6 + case .createU13NoPermission: return 7 + case .UNRECOGNIZED(let i): return i + } + } - fileprivate var _id: Int32? = nil - fileprivate var _confidence: Float? = nil } public init() {} +} - fileprivate var _storage = _StorageClass.defaultInstance +#if swift(>=4.2) + +extension CreateBuddyMultiplayerSessionOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CreateBuddyMultiplayerSessionOutProto.Result] = [ + .createSuccess, + .createBuddyNotSet, + .createBuddyNotFound, + .createBadBuddy, + .createBuddyV2NotEnabled, + .createPlayerLevelTooLow, + .createUnknownError, + .createU13NoPermission, + ] } -public struct DetectionList { +#endif // swift(>=4.2) + +public struct CreateBuddyMultiplayerSessionProto { // 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. - public var detection: [Detection] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeveloperToken { +public struct CreateCombatChallengeData { // 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. - public var idToken: String = String() - - public var ownerEmail: String = String() + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeviceOSTelemetry { +public struct CreateCombatChallengeOutProto { // 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. - public var architecture: DeviceOSTelemetry.OSArchitecture = .unset + public var result: CreateCombatChallengeOutProto.Result = .unset + + public var challenge: CombatChallengeProto { + get {return _challenge ?? CombatChallengeProto()} + set {_challenge = newValue} + } + /// Returns true if `challenge` has been explicitly set. + public var hasChallenge: Bool {return self._challenge != nil} + /// Clears the value of `challenge`. Subsequent reads from it will return its default value. + public mutating func clearChallenge() {self._challenge = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OSArchitecture: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case arch32Bit // = 1 - case arch64Bit // = 2 + case success // = 1 + case errorInvalidChallengeState // = 2 + case errorPlayerBelowMinimumLevel // = 3 + case errorAccessDenied // = 4 case UNRECOGNIZED(Int) public init() { @@ -54552,8 +57150,10 @@ public struct DeviceOSTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .arch32Bit - case 2: self = .arch64Bit + case 1: self = .success + case 2: self = .errorInvalidChallengeState + case 3: self = .errorPlayerBelowMinimumLevel + case 4: self = .errorAccessDenied default: self = .UNRECOGNIZED(rawValue) } } @@ -54561,8 +57161,10 @@ public struct DeviceOSTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .arch32Bit: return 1 - case .arch64Bit: return 2 + case .success: return 1 + case .errorInvalidChallengeState: return 2 + case .errorPlayerBelowMinimumLevel: return 3 + case .errorAccessDenied: return 4 case .UNRECOGNIZED(let i): return i } } @@ -54570,98 +57172,86 @@ public struct DeviceOSTelemetry { } public init() {} + + fileprivate var _challenge: CombatChallengeProto? = nil } #if swift(>=4.2) -extension DeviceOSTelemetry.OSArchitecture: CaseIterable { +extension CreateCombatChallengeOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DeviceOSTelemetry.OSArchitecture] = [ + public static var allCases: [CreateCombatChallengeOutProto.Result] = [ .unset, - .arch32Bit, - .arch64Bit, + .success, + .errorInvalidChallengeState, + .errorPlayerBelowMinimumLevel, + .errorAccessDenied, ] } #endif // swift(>=4.2) -public struct DeviceServiceToggleTelemetry { +public struct CreateCombatChallengeProto { // 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. - public var deviceServiceTelemetryID: DeviceServiceTelemetryIds = .undefinedDeviceService - - public var wasEnabled: Bool = false - - public var wasSubsequent: Bool = false + public var challengeID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DeviceSpecificationsTelemetry { +public struct CreateCombatChallengeResponseData { // 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. - public var deviceWidth: Int32 = 0 - - public var deviceHeight: Int32 = 0 - - public var cameraWidth: Int32 = 0 - - public var cameraHeight: Int32 = 0 - - public var cameraFocalLengthFx: Float = 0 + public var rpcID: Int32 = 0 - public var cameraFocalLengthFy: Float = 0 + public var roundTripTimeMs: UInt32 = 0 - public var cameraRefreshRate: Int32 = 0 + public var result: CreateCombatChallengeOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DialogueLineProto { +public struct CreateGuestLoginSecretTokenRequestProto { // 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. - public var text: String = String() + public var apiKey: String = String() - public var npc: DialogueNpcProto { - get {return _npc ?? DialogueNpcProto()} - set {_npc = newValue} - } - /// Returns true if `npc` has been explicitly set. - public var hasNpc: Bool {return self._npc != nil} - /// Clears the value of `npc`. Subsequent reads from it will return its default value. - public mutating func clearNpc() {self._npc = nil} + public var deviceID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _npc: DialogueNpcProto? = nil } -public struct DialogueNpcProto { +public struct CreateGuestLoginSecretTokenResponseProto { // 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. - public var character: DialogueNpcProto.Character = .unset + public var status: CreateGuestLoginSecretTokenResponseProto.Status = .unset - public var expression: DialogueNpcProto.Expression = .unset + public var secret: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Character: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 + case success // = 1 + case unknownError // = 2 + case unauthorized // = 3 + case disabled // = 4 + case exceededRateLimit // = 5 case UNRECOGNIZED(Int) public init() { @@ -54671,6 +57261,11 @@ public struct DialogueNpcProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset + case 1: self = .success + case 2: self = .unknownError + case 3: self = .unauthorized + case 4: self = .disabled + case 5: self = .exceededRateLimit default: self = .UNRECOGNIZED(rawValue) } } @@ -54678,15 +57273,67 @@ public struct DialogueNpcProto { public var rawValue: Int { switch self { case .unset: return 0 + case .success: return 1 + case .unknownError: return 2 + case .unauthorized: return 3 + case .disabled: return 4 + case .exceededRateLimit: return 5 case .UNRECOGNIZED(let i): return i } } } - public enum Expression: SwiftProtobuf.Enum { + public init() {} +} + +#if swift(>=4.2) + +extension CreateGuestLoginSecretTokenResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [CreateGuestLoginSecretTokenResponseProto.Status] = [ + .unset, + .success, + .unknownError, + .unauthorized, + .disabled, + .exceededRateLimit, + ] +} + +#endif // swift(>=4.2) + +public struct CreatePartyOutProto { + // 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. + + public var party: PartyRpcProto { + get {return _party ?? PartyRpcProto()} + set {_party = newValue} + } + /// Returns true if `party` has been explicitly set. + public var hasParty: Bool {return self._party != nil} + /// Clears the value of `party`. Subsequent reads from it will return its default value. + public mutating func clearParty() {self._party = nil} + + public var result: CreatePartyOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 + case errorUnknown // = 1 + case success // = 2 + case errorAlreadyInParty // = 3 + case errorPlayerLevelTooLow // = 4 + case errorFeatureDisabled // = 5 + case errorDarkLaunchNotEnabledForPlayer // = 6 + case errorRedisException // = 7 + case errorU13NoPermission // = 8 + case errorNoLocation // = 9 + case errorPlfeRedirectNeeded // = 10 case UNRECOGNIZED(Int) public init() { @@ -54696,6 +57343,16 @@ public struct DialogueNpcProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset + case 1: self = .errorUnknown + case 2: self = .success + case 3: self = .errorAlreadyInParty + case 4: self = .errorPlayerLevelTooLow + case 5: self = .errorFeatureDisabled + case 6: self = .errorDarkLaunchNotEnabledForPlayer + case 7: self = .errorRedisException + case 8: self = .errorU13NoPermission + case 9: self = .errorNoLocation + case 10: self = .errorPlfeRedirectNeeded default: self = .UNRECOGNIZED(rawValue) } } @@ -54703,6 +57360,16 @@ public struct DialogueNpcProto { public var rawValue: Int { switch self { case .unset: return 0 + case .errorUnknown: return 1 + case .success: return 2 + case .errorAlreadyInParty: return 3 + case .errorPlayerLevelTooLow: return 4 + case .errorFeatureDisabled: return 5 + case .errorDarkLaunchNotEnabledForPlayer: return 6 + case .errorRedisException: return 7 + case .errorU13NoPermission: return 8 + case .errorNoLocation: return 9 + case .errorPlfeRedirectNeeded: return 10 case .UNRECOGNIZED(let i): return i } } @@ -54710,105 +57377,95 @@ public struct DialogueNpcProto { } public init() {} + + fileprivate var _party: PartyRpcProto? = nil } #if swift(>=4.2) -extension DialogueNpcProto.Character: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DialogueNpcProto.Character] = [ - .unset, - ] -} - -extension DialogueNpcProto.Expression: CaseIterable { +extension CreatePartyOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DialogueNpcProto.Expression] = [ + public static var allCases: [CreatePartyOutProto.Result] = [ .unset, + .errorUnknown, + .success, + .errorAlreadyInParty, + .errorPlayerLevelTooLow, + .errorFeatureDisabled, + .errorDarkLaunchNotEnabledForPlayer, + .errorRedisException, + .errorU13NoPermission, + .errorNoLocation, + .errorPlfeRedirectNeeded, ] } #endif // swift(>=4.2) -public struct DiffInventoryProto { +public struct CreatePartyProto { // 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. - public var compactedItem: [InventoryItemProto] = [] - - public var lastCompactionMs: Int64 = 0 + public var isDarkLaunchRequest: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DiskEncounterOutProto { +public struct CreatePokemonTagOutProto { // 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. - public var result: DiskEncounterOutProto.Result = .unknown - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} + public var result: CreatePokemonTagOutProto.Result = .unset - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} + public var createdTag: PokemonTagProto { + get {return _createdTag ?? PokemonTagProto()} + set {_createdTag = newValue} } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - - public var activeItem: Item = .unknown - - public var arplusAttemptsUntilFlee: Int32 = 0 + /// Returns true if `createdTag` has been explicitly set. + public var hasCreatedTag: Bool {return self._createdTag != nil} + /// Clears the value of `createdTag`. Subsequent reads from it will return its default value. + public mutating func clearCreatedTag() {self._createdTag = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 + case unset // = 0 case success // = 1 - case notAvailable // = 2 - case notInRange // = 3 - case encounterAlreadyFinished // = 4 - case pokemonInventoryFull // = 5 + case errorPlayerLevelTooLow // = 2 + case tagAlreadyExists // = 3 + case playerHasMaximumNumberOfTags // = 4 + case tagNameContainsProfanity // = 5 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown + case 0: self = .unset case 1: self = .success - case 2: self = .notAvailable - case 3: self = .notInRange - case 4: self = .encounterAlreadyFinished - case 5: self = .pokemonInventoryFull + case 2: self = .errorPlayerLevelTooLow + case 3: self = .tagAlreadyExists + case 4: self = .playerHasMaximumNumberOfTags + case 5: self = .tagNameContainsProfanity default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 + case .unset: return 0 case .success: return 1 - case .notAvailable: return 2 - case .notInRange: return 3 - case .encounterAlreadyFinished: return 4 - case .pokemonInventoryFull: return 5 + case .errorPlayerLevelTooLow: return 2 + case .tagAlreadyExists: return 3 + case .playerHasMaximumNumberOfTags: return 4 + case .tagNameContainsProfanity: return 5 case .UNRECOGNIZED(let i): return i } } @@ -54817,64 +57474,63 @@ public struct DiskEncounterOutProto { public init() {} - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _captureProbability: CaptureProbabilityProto? = nil + fileprivate var _createdTag: PokemonTagProto? = nil } #if swift(>=4.2) -extension DiskEncounterOutProto.Result: CaseIterable { +extension CreatePokemonTagOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DiskEncounterOutProto.Result] = [ - .unknown, + public static var allCases: [CreatePokemonTagOutProto.Result] = [ + .unset, .success, - .notAvailable, - .notInRange, - .encounterAlreadyFinished, - .pokemonInventoryFull, + .errorPlayerLevelTooLow, + .tagAlreadyExists, + .playerHasMaximumNumberOfTags, + .tagNameContainsProfanity, ] } #endif // swift(>=4.2) -public struct DiskEncounterProto { +public struct CreatePokemonTagProto { // 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. - public var encounterID: Int64 = 0 - - public var fortID: String = String() - - public var playerLatDegrees: Double = 0 - - public var playerLngDegrees: Double = 0 - - public var gymLatDegrees: Double = 0 + public var name: String = String() - public var gymLngDegrees: Double = 0 + public var color: PokemonTagColor = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DismissContactListUpdateRequest { +public struct CreatePostcardOutProto { // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var result: CreatePostcardOutProto.Result = .unset -public struct DismissContactListUpdateResponse { - // 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. + public var postcard: PostcardDisplayProto { + get {return _postcard ?? PostcardDisplayProto()} + set {_postcard = newValue} + } + /// Returns true if `postcard` has been explicitly set. + public var hasPostcard: Bool {return self._postcard != nil} + /// Clears the value of `postcard`. Subsequent reads from it will return its default value. + public mutating func clearPostcard() {self._postcard = nil} - public var result: DismissContactListUpdateResponse.Result = .unset + public var butterflyCollectorUpdatedRegion: ButterflyCollectorRegionMedal { + get {return _butterflyCollectorUpdatedRegion ?? ButterflyCollectorRegionMedal()} + set {_butterflyCollectorUpdatedRegion = newValue} + } + /// Returns true if `butterflyCollectorUpdatedRegion` has been explicitly set. + public var hasButterflyCollectorUpdatedRegion: Bool {return self._butterflyCollectorUpdatedRegion != nil} + /// Clears the value of `butterflyCollectorUpdatedRegion`. Subsequent reads from it will return its default value. + public mutating func clearButterflyCollectorUpdatedRegion() {self._butterflyCollectorUpdatedRegion = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -54882,7 +57538,14 @@ public struct DismissContactListUpdateResponse { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 + case errorSenderDoesNotExist // = 2 + case errorGiftDoesNotExist // = 3 + case errorPostcardAlreadyCreated // = 4 + case errorPostcardInventoryFull // = 5 + case errorNotEnabled // = 6 + case errorRateLimited // = 7 + case errorPlayerHasNoStickers // = 8 + case successInventoryDailyButterflyLimit // = 9 case UNRECOGNIZED(Int) public init() { @@ -54893,7 +57556,14 @@ public struct DismissContactListUpdateResponse { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown + case 2: self = .errorSenderDoesNotExist + case 3: self = .errorGiftDoesNotExist + case 4: self = .errorPostcardAlreadyCreated + case 5: self = .errorPostcardInventoryFull + case 6: self = .errorNotEnabled + case 7: self = .errorRateLimited + case 8: self = .errorPlayerHasNoStickers + case 9: self = .successInventoryDailyButterflyLimit default: self = .UNRECOGNIZED(rawValue) } } @@ -54902,7 +57572,14 @@ public struct DismissContactListUpdateResponse { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 + case .errorSenderDoesNotExist: return 2 + case .errorGiftDoesNotExist: return 3 + case .errorPostcardAlreadyCreated: return 4 + case .errorPostcardInventoryFull: return 5 + case .errorNotEnabled: return 6 + case .errorRateLimited: return 7 + case .errorPlayerHasNoStickers: return 8 + case .successInventoryDailyButterflyLimit: return 9 case .UNRECOGNIZED(let i): return i } } @@ -54910,43 +57587,64 @@ public struct DismissContactListUpdateResponse { } public init() {} + + fileprivate var _postcard: PostcardDisplayProto? = nil + fileprivate var _butterflyCollectorUpdatedRegion: ButterflyCollectorRegionMedal? = nil } #if swift(>=4.2) -extension DismissContactListUpdateResponse.Result: CaseIterable { +extension CreatePostcardOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DismissContactListUpdateResponse.Result] = [ + public static var allCases: [CreatePostcardOutProto.Result] = [ .unset, .success, - .errorUnknown, + .errorSenderDoesNotExist, + .errorGiftDoesNotExist, + .errorPostcardAlreadyCreated, + .errorPostcardInventoryFull, + .errorNotEnabled, + .errorRateLimited, + .errorPlayerHasNoStickers, + .successInventoryDailyButterflyLimit, ] } #endif // swift(>=4.2) -public struct DismissOutgoingGameInvitesRequest { +public struct CreatePostcardProto { // 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. - public var friendID: String = String() + public var giftboxID: UInt64 = 0 - public var appKey: [String] = [] + public var senderID: String = String() - public var friendNiaAccountID: String = String() + public var stickerID: [String] = [] + + public var encounterID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DismissOutgoingGameInvitesResponse { +public struct CreateRouteDraftOutProto { // 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. - public var result: DismissOutgoingGameInvitesResponse.Result = .unset + public var result: CreateRouteDraftOutProto.Result = .unset + + public var updatedRoute: RouteCreationProto { + get {return _updatedRoute ?? RouteCreationProto()} + set {_updatedRoute = newValue} + } + /// Returns true if `updatedRoute` has been explicitly set. + public var hasUpdatedRoute: Bool {return self._updatedRoute != nil} + /// Clears the value of `updatedRoute`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedRoute() {self._updatedRoute = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -54954,6 +57652,12 @@ public struct DismissOutgoingGameInvitesResponse { public typealias RawValue = Int case unset // = 0 case success // = 1 + case errorUnknown // = 2 + case errorTooManyInProgress // = 3 + case errorMinor // = 4 + case errorLevelTooLow // = 5 + case errorInvalidStartAnchor // = 6 + case errorCreationLimit // = 7 case UNRECOGNIZED(Int) public init() { @@ -54964,6 +57668,12 @@ public struct DismissOutgoingGameInvitesResponse { switch rawValue { case 0: self = .unset case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorTooManyInProgress + case 4: self = .errorMinor + case 5: self = .errorLevelTooLow + case 6: self = .errorInvalidStartAnchor + case 7: self = .errorCreationLimit default: self = .UNRECOGNIZED(rawValue) } } @@ -54972,6 +57682,12 @@ public struct DismissOutgoingGameInvitesResponse { switch self { case .unset: return 0 case .success: return 1 + case .errorUnknown: return 2 + case .errorTooManyInProgress: return 3 + case .errorMinor: return 4 + case .errorLevelTooLow: return 5 + case .errorInvalidStartAnchor: return 6 + case .errorCreationLimit: return 7 case .UNRECOGNIZED(let i): return i } } @@ -54979,281 +57695,132 @@ public struct DismissOutgoingGameInvitesResponse { } public init() {} + + fileprivate var _updatedRoute: RouteCreationProto? = nil } #if swift(>=4.2) -extension DismissOutgoingGameInvitesResponse.Result: CaseIterable { +extension CreateRouteDraftOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DismissOutgoingGameInvitesResponse.Result] = [ + public static var allCases: [CreateRouteDraftOutProto.Result] = [ .unset, .success, + .errorUnknown, + .errorTooManyInProgress, + .errorMinor, + .errorLevelTooLow, + .errorInvalidStartAnchor, + .errorCreationLimit, ] } #endif // swift(>=4.2) -public struct DisplayWeatherProto { +public struct CreateRouteDraftProto { // 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. - public var cloudLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var rainLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var windLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var snowLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var fogLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var windDirection: Int32 = 0 - - public var specialEffectLevel: DisplayWeatherProto.DisplayLevel = .level0 + public var startAnchor: RouteWaypointProto { + get {return _startAnchor ?? RouteWaypointProto()} + set {_startAnchor = newValue} + } + /// Returns true if `startAnchor` has been explicitly set. + public var hasStartAnchor: Bool {return self._startAnchor != nil} + /// Clears the value of `startAnchor`. Subsequent reads from it will return its default value. + public mutating func clearStartAnchor() {self._startAnchor = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum DisplayLevel: SwiftProtobuf.Enum { - public typealias RawValue = Int - case level0 // = 0 - case level1 // = 1 - case level2 // = 2 - case level3 // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .level0 - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .level0 - case 1: self = .level1 - case 2: self = .level2 - case 3: self = .level3 - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .level0: return 0 - case .level1: return 1 - case .level2: return 2 - case .level3: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - public init() {} -} - -#if swift(>=4.2) -extension DisplayWeatherProto.DisplayLevel: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DisplayWeatherProto.DisplayLevel] = [ - .level0, - .level1, - .level2, - .level3, - ] + fileprivate var _startAnchor: RouteWaypointProto? = nil } -#endif // swift(>=4.2) - -public struct Distribution { +public struct CreatorInfo { // 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. - public var count: Int64 = 0 - - public var mean: Float = 0 - - public var sumOfSquaredDeviation: Double = 0 + public var creatorPlayerID: String { + get {return _storage._creatorPlayerID} + set {_uniqueStorage()._creatorPlayerID = newValue} + } - public var range: Distribution.Range { - get {return _range ?? Distribution.Range()} - set {_range = newValue} + public var creatorCodename: String { + get {return _storage._creatorCodename} + set {_uniqueStorage()._creatorCodename = newValue} } - /// Returns true if `range` has been explicitly set. - public var hasRange: Bool {return self._range != nil} - /// Clears the value of `range`. Subsequent reads from it will return its default value. - public mutating func clearRange() {self._range = nil} - public var bucketOptions: Distribution.BucketOptions { - get {return _bucketOptions ?? Distribution.BucketOptions()} - set {_bucketOptions = newValue} + public var showCreatorName: Bool { + get {return _storage._showCreatorName} + set {_uniqueStorage()._showCreatorName = newValue} } - /// Returns true if `bucketOptions` has been explicitly set. - public var hasBucketOptions: Bool {return self._bucketOptions != nil} - /// Clears the value of `bucketOptions`. Subsequent reads from it will return its default value. - public mutating func clearBucketOptions() {self._bucketOptions = nil} - public var bucketCounts: [Int64] = [] + public var publicProfile: PlayerPublicProfileProto { + get {return _storage._publicProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._publicProfile = newValue} + } + /// Returns true if `publicProfile` has been explicitly set. + public var hasPublicProfile: Bool {return _storage._publicProfile != nil} + /// Clears the value of `publicProfile`. Subsequent reads from it will return its default value. + public mutating func clearPublicProfile() {_uniqueStorage()._publicProfile = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct BucketOptions { - // 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. - - public var bucketType: Distribution.BucketOptions.OneOf_BucketType? = nil - - public var linearBuckets: Distribution.BucketOptions.LinearBuckets { - get { - if case .linearBuckets(let v)? = bucketType {return v} - return Distribution.BucketOptions.LinearBuckets() - } - set {bucketType = .linearBuckets(newValue)} - } - - public var exponentialBuckets: Distribution.BucketOptions.ExponentialBuckets { - get { - if case .exponentialBuckets(let v)? = bucketType {return v} - return Distribution.BucketOptions.ExponentialBuckets() - } - set {bucketType = .exponentialBuckets(newValue)} - } - - public var explicitBuckets: Distribution.BucketOptions.ExplicitBuckets { - get { - if case .explicitBuckets(let v)? = bucketType {return v} - return Distribution.BucketOptions.ExplicitBuckets() - } - set {bucketType = .explicitBuckets(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_BucketType: Equatable { - case linearBuckets(Distribution.BucketOptions.LinearBuckets) - case exponentialBuckets(Distribution.BucketOptions.ExponentialBuckets) - case explicitBuckets(Distribution.BucketOptions.ExplicitBuckets) - - #if !swift(>=4.1) - public static func ==(lhs: Distribution.BucketOptions.OneOf_BucketType, rhs: Distribution.BucketOptions.OneOf_BucketType) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.linearBuckets, .linearBuckets): return { - guard case .linearBuckets(let l) = lhs, case .linearBuckets(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.exponentialBuckets, .exponentialBuckets): return { - guard case .exponentialBuckets(let l) = lhs, case .exponentialBuckets(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.explicitBuckets, .explicitBuckets): return { - guard case .explicitBuckets(let l) = lhs, case .explicitBuckets(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public struct ExplicitBuckets { - // 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. - - public var bounds: [Int64] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct ExponentialBuckets { - // 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. - - public var numFiniteBuckets: Int64 = 0 - - public var growthFactor: Float = 0 - - public var scale: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct LinearBuckets { - // 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. - - public var numFiniteBuckets: Int64 = 0 - - public var width: Int64 = 0 - - public var offset: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - } - - public struct Range { - // 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. + public init() {} - public var min: Int64 = 0 + fileprivate var _storage = _StorageClass.defaultInstance +} - public var max: Int64 = 0 +public struct CriticalReticleSettingsProto { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var criticalReticleSettingsEnabled: Bool = false - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _range: Distribution.Range? = nil - fileprivate var _bucketOptions: Distribution.BucketOptions? = nil } -public struct DoubleValue { +public struct CrmProxyRequestProto { // 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. - public var value: Double = 0 + public var action: UInt32 = 0 + + public var payload: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DownloadAllAssetsTelemetry { +public struct CrmProxyResponseProto { // 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. - public var downloadAllAssetsEventID: DownloadAllAssetsTelemetry.DownloadAllAssetsEventId = .unset + public var status: CrmProxyResponseProto.Status = .unset + + public var errorMessage: String = String() + + public var payload: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum DownloadAllAssetsEventId: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case downloadStarted // = 1 - case downloadPaused // = 2 - case downloadCompleted // = 3 + case ok // = 1 + case errorUnknown // = 2 + case errorPermissionDenied // = 3 + case errorUnavailable // = 4 + case errorUnauthenticated // = 5 case UNRECOGNIZED(Int) public init() { @@ -55263,9 +57830,11 @@ public struct DownloadAllAssetsTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .downloadStarted - case 2: self = .downloadPaused - case 3: self = .downloadCompleted + case 1: self = .ok + case 2: self = .errorUnknown + case 3: self = .errorPermissionDenied + case 4: self = .errorUnavailable + case 5: self = .errorUnauthenticated default: self = .UNRECOGNIZED(rawValue) } } @@ -55273,9 +57842,11 @@ public struct DownloadAllAssetsTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .downloadStarted: return 1 - case .downloadPaused: return 2 - case .downloadCompleted: return 3 + case .ok: return 1 + case .errorUnknown: return 2 + case .errorPermissionDenied: return 3 + case .errorUnavailable: return 4 + case .errorUnauthenticated: return 5 case .UNRECOGNIZED(let i): return i } } @@ -55287,529 +57858,194 @@ public struct DownloadAllAssetsTelemetry { #if swift(>=4.2) -extension DownloadAllAssetsTelemetry.DownloadAllAssetsEventId: CaseIterable { +extension CrmProxyResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DownloadAllAssetsTelemetry.DownloadAllAssetsEventId] = [ + public static var allCases: [CrmProxyResponseProto.Status] = [ .unset, - .downloadStarted, - .downloadPaused, - .downloadCompleted, + .ok, + .errorUnknown, + .errorPermissionDenied, + .errorUnavailable, + .errorUnauthenticated, ] } #endif // swift(>=4.2) -public struct DownloadGmTemplatesRequestProto { +public struct CrossGameSocialGlobalSettingsProto { // 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. - public var basisBatchID: Int64 = 0 - - public var batchID: Int64 = 0 - - public var pageOffset: Int32 = 0 + public var onlineStatusMinLevel: Int32 = 0 - public var applyExperiments: Bool = false + public var nianticProfileMinLevel: Int32 = 0 - public var basisExperimentID: [Int32] = [] + public var friendsListMinLevel: Int32 = 0 - public var experimentID: [Int32] = [] + public var maxFriendsPerDetailPage: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DownloadGmTemplatesResponseProto { +public struct CrossGameSocialSettingsProto { // 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. - public var result: DownloadGmTemplatesResponseProto.Result = .unset - - public var template: [ClientGameMasterTemplateProto] = [] - - public var deletedTemplate: [String] = [] - - public var batchID: UInt64 = 0 + public var onlineStatusEnabledOverrideLevel: Bool = false - public var pageOffset: Int32 = 0 + public var nianticProfileEnabledOverrideLevel: Bool = false - public var experimentID: [Int32] = [] + public var friendsListEnabledOverrideLevel: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case complete // = 1 - case moreResults // = 2 - case batchIDNotLive // = 3 - case invalidBasisBatchID // = 4 - case wrongExperiments // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .complete - case 2: self = .moreResults - case 3: self = .batchIDNotLive - case 4: self = .invalidBasisBatchID - case 5: self = .wrongExperiments - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .complete: return 1 - case .moreResults: return 2 - case .batchIDNotLive: return 3 - case .invalidBasisBatchID: return 4 - case .wrongExperiments: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - public init() {} } -#if swift(>=4.2) - -extension DownloadGmTemplatesResponseProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DownloadGmTemplatesResponseProto.Result] = [ - .unset, - .complete, - .moreResults, - .batchIDNotLive, - .invalidBasisBatchID, - .wrongExperiments, - ] -} - -#endif // swift(>=4.2) - -public struct DownloadSettingsActionProto { +public struct CurrencyQuantityProto { // 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. - public var sha1: String = String() + public var currencyType: String = String() + + public var quantity: Int32 = 0 + + public var fiatPurchasedQuantity: Int32 = 0 + + public var fiatCurrencyType: String = String() + + public var fiatCurrencyCostE6: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DownloadSettingsResponseProto { +public struct CurrentEventsSectionProto { // 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. - public var error: String = String() - - public var sha1: String = String() - - public var values: GlobalSettingsProto { - get {return _values ?? GlobalSettingsProto()} - set {_values = newValue} - } - /// Returns true if `values` has been explicitly set. - public var hasValues: Bool {return self._values != nil} - /// Clears the value of `values`. Subsequent reads from it will return its default value. - public mutating func clearValues() {self._values = nil} + public var events: [EventSectionProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _values: GlobalSettingsProto? = nil } -public struct DownloadUrlEntryProto { +public struct CurrentNewsProto { // 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. - public var assetID: String = String() - - public var url: String = String() + public var newsArticles: [NewsArticleProto] = [] - public var size: Int32 = 0 + public var newsStringsURL: String = String() - public var checksum: UInt32 = 0 + public var lastUpdatedTimestamp: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DownloadUrlOutProto { +public struct CustomizeQuestTabProto { // 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. - public var downloadUrls: [DownloadUrlEntryProto] = [] + public var sections: [TodayViewSectionProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct DownloadUrlRequestProto { +public struct DailyAdventureIncenseLogEntry { // 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. - public var assetID: [String] = [] + public var dayBucket: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct Downstream { +public struct DailyAdventureIncenseRecapDayDisplayProto { // 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. - public var message: Downstream.OneOf_Message? = nil - - public var downstream: DownstreamActionMessages { - get { - if case .downstream(let v)? = message {return v} - return DownstreamActionMessages() - } - set {message = .downstream(newValue)} - } - - public var response: Downstream.ResponseWithStatus { - get { - if case .response(let v)? = message {return v} - return Downstream.ResponseWithStatus() - } - set {message = .response(newValue)} - } + public var distanceWalkedKm: Float = 0 - public var probe: Downstream.ProbeRequest { - get { - if case .probe(let v)? = message {return v} - return Downstream.ProbeRequest() - } - set {message = .probe(newValue)} - } + public var pokemonCaptured: [PokemonDisplayProto] = [] - public var drain: Downstream.Drain { - get { - if case .drain(let v)? = message {return v} - return Downstream.Drain() - } - set {message = .drain(newValue)} - } + public var pokemonFled: [PokemonDisplayProto] = [] - public var connected: Downstream.Connected { - get { - if case .connected(let v)? = message {return v} - return Downstream.Connected() - } - set {message = .connected(newValue)} - } + public var distinctPokestopsVisited: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Message: Equatable { - case downstream(DownstreamActionMessages) - case response(Downstream.ResponseWithStatus) - case probe(Downstream.ProbeRequest) - case drain(Downstream.Drain) - case connected(Downstream.Connected) - - #if !swift(>=4.1) - public static func ==(lhs: Downstream.OneOf_Message, rhs: Downstream.OneOf_Message) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.downstream, .downstream): return { - guard case .downstream(let l) = lhs, case .downstream(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.response, .response): return { - guard case .response(let l) = lhs, case .response(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.probe, .probe): return { - guard case .probe(let l) = lhs, case .probe(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.drain, .drain): return { - guard case .drain(let l) = lhs, case .drain(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.connected, .connected): return { - guard case .connected(let l) = lhs, case .connected(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public struct Connected { - // 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. - - public var debugMessage: String = String() - - public var ttlSeconds: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct Drain { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct ProbeRequest { - // 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. - - public var probeStartMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct ResponseWithStatus { - // 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. - - public var response: Downstream.ResponseWithStatus.OneOf_Response? = nil - - public var subscribe: Downstream.SubscriptionResponse { - get { - if case .subscribe(let v)? = response {return v} - return Downstream.SubscriptionResponse() - } - set {response = .subscribe(newValue)} - } - - public var requestID: Int64 = 0 - - public var responseStatus: Downstream.ResponseWithStatus.Status = .unset - - public var debugMessage: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Response: Equatable { - case subscribe(Downstream.SubscriptionResponse) - - #if !swift(>=4.1) - public static func ==(lhs: Downstream.ResponseWithStatus.OneOf_Response, rhs: Downstream.ResponseWithStatus.OneOf_Response) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.subscribe, .subscribe): return { - guard case .subscribe(let l) = lhs, case .subscribe(let r) = rhs else { preconditionFailure() } - return l == r - }() - } - } - #endif - } - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case ok // = 1 - case unknown // = 2 - case unauthenticated // = 3 - case unauthorized // = 4 - case badRequest // = 5 - case unimplemented // = 6 - case rateLimited // = 7 - case connectionLimited // = 8 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .ok - case 2: self = .unknown - case 3: self = .unauthenticated - case 4: self = .unauthorized - case 5: self = .badRequest - case 6: self = .unimplemented - case 7: self = .rateLimited - case 8: self = .connectionLimited - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .ok: return 1 - case .unknown: return 2 - case .unauthenticated: return 3 - case .unauthorized: return 4 - case .badRequest: return 5 - case .unimplemented: return 6 - case .rateLimited: return 7 - case .connectionLimited: return 8 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public struct SubscriptionResponse { - // 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. - - public var status: Downstream.SubscriptionResponse.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case ok // = 1 - case unknown // = 2 - case topicLimited // = 3 - case maximumTopicIDLengthExceeded // = 4 - case topicIDInvalid // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .ok - case 2: self = .unknown - case 3: self = .topicLimited - case 4: self = .maximumTopicIDLengthExceeded - case 5: self = .topicIDInvalid - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .ok: return 1 - case .unknown: return 2 - case .topicLimited: return 3 - case .maximumTopicIDLengthExceeded: return 4 - case .topicIDInvalid: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - public init() {} } -#if swift(>=4.2) +public struct DailyAdventureIncenseSettingsProto { + // 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. -extension Downstream.ResponseWithStatus.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Downstream.ResponseWithStatus.Status] = [ - .unset, - .ok, - .unknown, - .unauthenticated, - .unauthorized, - .badRequest, - .unimplemented, - .rateLimited, - .connectionLimited, - ] -} + public var enabled: Bool = false -extension Downstream.SubscriptionResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Downstream.SubscriptionResponse.Status] = [ - .unset, - .ok, - .unknown, - .topicLimited, - .maximumTopicIDLengthExceeded, - .topicIDInvalid, - ] -} + public var pokeballGrantThreshold: Int32 = 0 -#endif // swift(>=4.2) + public var pokeballGrant: LootProto { + get {return _pokeballGrant ?? LootProto()} + set {_pokeballGrant = newValue} + } + /// Returns true if `pokeballGrant` has been explicitly set. + public var hasPokeballGrant: Bool {return self._pokeballGrant != nil} + /// Clears the value of `pokeballGrant`. Subsequent reads from it will return its default value. + public mutating func clearPokeballGrant() {self._pokeballGrant = nil} -public struct DownstreamAction { - // 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. + public var localDeliveryTime: String = String() - public var actionID: Int64 = 0 + public var enablePushNotification: Bool = false - public var method: Int32 = 0 + public var pushNotificationHourOfDay: Int32 = 0 - public var payload: Data = Data() + public var canBePaused: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _pokeballGrant: LootProto? = nil } -public struct DownstreamActionMessages { +public struct DailyAdventureIncenseTelemetry { // 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. - public var messages: [DownstreamAction] = [] + public var eventID: DailyAdventureIncenseTelemetry.TelemetryIds = .unset + + public var fromJournal: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum MessageId: SwiftProtobuf.Enum { + public enum TelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case downstreamActionMessageID // = 2147483647 + case viewRecap // = 1 + case clickShareFromRecap // = 2 + case clickShareFromPhotoCollection // = 3 case UNRECOGNIZED(Int) public init() { @@ -55819,7 +58055,9 @@ public struct DownstreamActionMessages { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 2147483647: self = .downstreamActionMessageID + case 1: self = .viewRecap + case 2: self = .clickShareFromRecap + case 3: self = .clickShareFromPhotoCollection default: self = .UNRECOGNIZED(rawValue) } } @@ -55827,7 +58065,9 @@ public struct DownstreamActionMessages { public var rawValue: Int { switch self { case .unset: return 0 - case .downstreamActionMessageID: return 2147483647 + case .viewRecap: return 1 + case .clickShareFromRecap: return 2 + case .clickShareFromPhotoCollection: return 3 case .UNRECOGNIZED(let i): return i } } @@ -55839,68 +58079,109 @@ public struct DownstreamActionMessages { #if swift(>=4.2) -extension DownstreamActionMessages.MessageId: CaseIterable { +extension DailyAdventureIncenseTelemetry.TelemetryIds: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [DownstreamActionMessages.MessageId] = [ + public static var allCases: [DailyAdventureIncenseTelemetry.TelemetryIds] = [ .unset, - .downstreamActionMessageID, + .viewRecap, + .clickShareFromRecap, + .clickShareFromPhotoCollection, ] } #endif // swift(>=4.2) -public struct DumbBeaconProto { +public struct DailyBonusProto { // 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. + public var nextCollectTimestampMs: Int64 = 0 + + public var nextDefenderBonusCollectTimestampMs: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct Duration { +public struct DailyBuddyAffectionQuestProto { // 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. - public var seconds: Int64 = 0 - - public var nanos: Int32 = 0 + public var dailyAffectionCounter: DailyCounterProto { + get {return _dailyAffectionCounter ?? DailyCounterProto()} + set {_dailyAffectionCounter = newValue} + } + /// Returns true if `dailyAffectionCounter` has been explicitly set. + public var hasDailyAffectionCounter: Bool {return self._dailyAffectionCounter != nil} + /// Clears the value of `dailyAffectionCounter`. Subsequent reads from it will return its default value. + public mutating func clearDailyAffectionCounter() {self._dailyAffectionCounter = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _dailyAffectionCounter: DailyCounterProto? = nil } -public struct EchoOutProto { +public struct DailyCounterProto { // 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. - public var context: String = String() + public var window: Int64 = 0 + + public var count: Int32 = 0 + + public var bucketsPerDay: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EchoProto { +public struct DailyEncounterGlobalSettingsProto { // 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. + public var enabled: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EditPokemonTagOutProto { +public struct DailyEncounterOutProto { // 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. - public var editResult: [EditPokemonTagOutProto.Result] = [] + public var result: DailyEncounterOutProto.Result = .unset + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var arplusAttemptsUntilFlee: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -55908,11 +58189,8 @@ public struct EditPokemonTagOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorPlayerLevelTooLow // = 2 - case tagDoesNotExist // = 3 - case invalidTagName // = 4 - case invalidTagSortIndex // = 5 - case tagNameContainsProfanity // = 6 + case encounterNotAvailable // = 2 + case pokemonInventoryFull // = 3 case UNRECOGNIZED(Int) public init() { @@ -55923,11 +58201,8 @@ public struct EditPokemonTagOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorPlayerLevelTooLow - case 3: self = .tagDoesNotExist - case 4: self = .invalidTagName - case 5: self = .invalidTagSortIndex - case 6: self = .tagNameContainsProfanity + case 2: self = .encounterNotAvailable + case 3: self = .pokemonInventoryFull default: self = .UNRECOGNIZED(rawValue) } } @@ -55936,11 +58211,8 @@ public struct EditPokemonTagOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorPlayerLevelTooLow: return 2 - case .tagDoesNotExist: return 3 - case .invalidTagName: return 4 - case .invalidTagSortIndex: return 5 - case .tagNameContainsProfanity: return 6 + case .encounterNotAvailable: return 2 + case .pokemonInventoryFull: return 3 case .UNRECOGNIZED(let i): return i } } @@ -55948,402 +58220,516 @@ public struct EditPokemonTagOutProto { } public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension EditPokemonTagOutProto.Result: CaseIterable { +extension DailyEncounterOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EditPokemonTagOutProto.Result] = [ + public static var allCases: [DailyEncounterOutProto.Result] = [ .unset, .success, - .errorPlayerLevelTooLow, - .tagDoesNotExist, - .invalidTagName, - .invalidTagSortIndex, - .tagNameContainsProfanity, + .encounterNotAvailable, + .pokemonInventoryFull, ] } #endif // swift(>=4.2) -public struct EditPokemonTagProto { +public struct DailyEncounterProto { // 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. - public var tagToEdit: [PokemonTagProto] = [] + public var encounterID: Int64 = 0 + + public var encounterLocation: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EfficientMapPointProto { +public struct DailyQuestProto { // 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. - public var latitude: Int32 = 0 + public var currentPeriodBucket: Int32 = 0 - public var longitude: Int32 = 0 + public var currentStreakCount: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EggCreateDetail { +public struct DailyQuestSettings { // 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. - public var hatchedTimeMs: Int64 = 0 + public var bucketsPerDay: Int32 = 0 - public var playerHatchedS2CellID: Int64 = 0 + public var streakLength: Int32 = 0 - public var receivedTimeMs: Int64 = 0 + public var bonusMultiplier: Float = 0 + + public var streakBonusMultiplier: Float = 0 + + public var disable: Bool = false + + public var preventStreakBroken: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EggDistributionProto { +public struct DailyStreaksProto { // 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. - public var eggDistribution: [EggDistributionProto.EggDistributionEntryProto] = [] + public var streaks: [DailyStreaksProto.StreakProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct EggDistributionEntryProto { + public struct StreakProto { // 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. - public var rarity: HoloPokemonClass = .pokemonClassNormal + public var questType: QuestType = .questUnset - public var pokemonID: HoloPokemonId = .missingno + public var count: Int32 = 0 - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + public var target: Int32 = 0 + + public var remainingToday: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil } public init() {} } -public struct EggHatchImprovementsSettings { +public struct DamagePropertyProto { // 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. - public var featureEnabled: Bool = false - - public var eggHatchAnimationDelayMs: Int32 = 0 + public var superEffectiveChargeMove: Bool = false - public var eggHatchAnimationInteruptionDelayMs: Int32 = 0 + public var weatherBoosted: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EggHatchTelemetry { +public struct DawnDuskSettingsProto { // 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. - public var numEggsHatched: Int32 = 0 + public var dawnStartOffsetBeforeSunriseMs: Int64 = 0 - public var numAnimationsSkipped: Int32 = 0 + public var dawnEndOffsetAfterSunriseMs: Int64 = 0 + + public var duskStartOffsetBeforeSunsetMs: Int64 = 0 + + public var duskEndOffsetAfterSunsetMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EggIncubatorAttributesProto { +public struct DaysWithARowQuestProto { // 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. - public var incubatorType: EggIncubatorType = .incubatorUnset - - public var uses: Int32 = 0 - - public var distanceMultiplier: Float = 0 + public var lastWindow: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EggIncubatorProto { +public struct DebugEvolvePreviewProto { // 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. - public var itemID: String = String() - - public var item: Item = .unknown - - public var incubatorType: EggIncubatorType = .incubatorUnset - - public var usesRemaining: Int32 = 0 - - public var pokemonID: Int64 = 0 - - public var startKmWalked: Double = 0 + public var expectedBuddyKmWalked: Float = 0 - public var targetKmWalked: Double = 0 + public var expectedDistanceProgressKmSinceSetOrCandyAward: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EggIncubatorsProto { - // 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. - - public var eggIncubator: [EggIncubatorProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct EggTelemetryProto { +public struct DebugInfoProto { // 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. - public var eggLootTableID: String = String() + public var latitude: Double = 0 - public var originalEggSlotType: EggSlotType = .eggSlotDefault + public var longitude: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EggTransparencySettingsProto { +public struct DeclineCombatChallengeData { // 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. - public var enableEggDistribution: Bool = false + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EligibleContestPoolSettingsProto { +public struct DeclineCombatChallengeOutProto { // 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. - public var contest: [EligibleContestProto] = [] + public var result: DeclineCombatChallengeOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidChallengeState // = 2 + case errorChallengeNotFound // = 3 + case errorAlreadyTimedout // = 4 + case errorAlreadyCancelled // = 5 + case UNRECOGNIZED(Int) -public struct EligibleContestProto { - // 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. + public init() { + self = .unset + } - public var contest: ContestProto { - get {return _contest ?? ContestProto()} - set {_contest = newValue} - } - /// Returns true if `contest` has been explicitly set. - public var hasContest: Bool {return self._contest != nil} - /// Clears the value of `contest`. Subsequent reads from it will return its default value. - public mutating func clearContest() {self._contest = nil} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidChallengeState + case 3: self = .errorChallengeNotFound + case 4: self = .errorAlreadyTimedout + case 5: self = .errorAlreadyCancelled + default: self = .UNRECOGNIZED(rawValue) + } + } - public var weight: Float = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidChallengeState: return 2 + case .errorChallengeNotFound: return 3 + case .errorAlreadyTimedout: return 4 + case .errorAlreadyCancelled: return 5 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} +} - fileprivate var _contest: ContestProto? = nil +#if swift(>=4.2) + +extension DeclineCombatChallengeOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeclineCombatChallengeOutProto.Result] = [ + .unset, + .success, + .errorInvalidChallengeState, + .errorChallengeNotFound, + .errorAlreadyTimedout, + .errorAlreadyCancelled, + ] } -public struct Empty { +#endif // swift(>=4.2) + +public struct DeclineCombatChallengeProto { // 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. + public var challengeID: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EnabledContextualAwarenessEvent { +public struct DeclineCombatChallengeResponseData { // 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. - public var meshing: Bool = false + public var rpcID: Int32 = 0 - public var fusion: Bool = false + public var roundTripTimeMs: UInt32 = 0 - public var depth: Bool = false - - public var semantics: Bool = false + public var result: DeclineCombatChallengeOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EnabledPokemonSettingsProto { +public struct DeepLinkingEnumWrapperProto { // 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. - public var enabledPokemonRange: [EnabledPokemonSettingsProto.Range] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct Range { - // 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. + public enum DeepLinkingActionName: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case openShop // = 1 + case openNews // = 2 + case openBattleLeague // = 3 + case openSettings // = 4 + case openPlayerProfile // = 5 + case openBuddy // = 6 + case openAvatarItems // = 7 + case openQuestList // = 8 + case openPokemonInventory // = 9 + case openNearbyPokemon // = 10 + case openPokedex // = 11 + case openEvents // = 12 + case openJournal // = 13 + case openTips // = 14 + case openItemInventory // = 15 + case fillReferralCode // = 16 + case openAddressBook // = 17 + case openEggHatch // = 18 + case openGym // = 19 + case openRaid // = 20 + case useDailyIncense // = 21 + case openDefendingGym // = 22 + case openNearbyGym // = 23 + case redeemPasscode // = 24 + case openContestReward // = 25 + case addFriend // = 26 + case openCampfire // = 27 + case openParty // = 28 + case UNRECOGNIZED(Int) - public var start: Int32 = 0 + public init() { + self = .unset + } - public var end: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .openShop + case 2: self = .openNews + case 3: self = .openBattleLeague + case 4: self = .openSettings + case 5: self = .openPlayerProfile + case 6: self = .openBuddy + case 7: self = .openAvatarItems + case 8: self = .openQuestList + case 9: self = .openPokemonInventory + case 10: self = .openNearbyPokemon + case 11: self = .openPokedex + case 12: self = .openEvents + case 13: self = .openJournal + case 14: self = .openTips + case 15: self = .openItemInventory + case 16: self = .fillReferralCode + case 17: self = .openAddressBook + case 18: self = .openEggHatch + case 19: self = .openGym + case 20: self = .openRaid + case 21: self = .useDailyIncense + case 22: self = .openDefendingGym + case 23: self = .openNearbyGym + case 24: self = .redeemPasscode + case 25: self = .openContestReward + case 26: self = .addFriend + case 27: self = .openCampfire + case 28: self = .openParty + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .openShop: return 1 + case .openNews: return 2 + case .openBattleLeague: return 3 + case .openSettings: return 4 + case .openPlayerProfile: return 5 + case .openBuddy: return 6 + case .openAvatarItems: return 7 + case .openQuestList: return 8 + case .openPokemonInventory: return 9 + case .openNearbyPokemon: return 10 + case .openPokedex: return 11 + case .openEvents: return 12 + case .openJournal: return 13 + case .openTips: return 14 + case .openItemInventory: return 15 + case .fillReferralCode: return 16 + case .openAddressBook: return 17 + case .openEggHatch: return 18 + case .openGym: return 19 + case .openRaid: return 20 + case .useDailyIncense: return 21 + case .openDefendingGym: return 22 + case .openNearbyGym: return 23 + case .redeemPasscode: return 24 + case .openContestReward: return 25 + case .addFriend: return 26 + case .openCampfire: return 27 + case .openParty: return 28 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} } - public init() {} -} - -public struct EncounterOutProto { - // 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. + public enum NearbyPokemonTab: SwiftProtobuf.Enum { + public typealias RawValue = Int + case nearbyPokemon // = 0 + case raids // = 1 + case routes // = 2 + case UNRECOGNIZED(Int) - public var pokemon: WildPokemonProto { - get {return _pokemon ?? WildPokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} + public init() { + self = .nearbyPokemon + } - public var background: EncounterOutProto.Background = .park + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .nearbyPokemon + case 1: self = .raids + case 2: self = .routes + default: self = .UNRECOGNIZED(rawValue) + } + } - public var status: EncounterOutProto.Status = .encounterError + public var rawValue: Int { + switch self { + case .nearbyPokemon: return 0 + case .raids: return 1 + case .routes: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - public var activeItem: Item = .unknown + public enum PlayerProfileTab: SwiftProtobuf.Enum { + public typealias RawValue = Int + case profile // = 0 + case friends // = 1 + case UNRECOGNIZED(Int) - public var arplusAttemptsUntilFlee: Int32 = 0 + public init() { + self = .profile + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .profile + case 1: self = .friends + default: self = .UNRECOGNIZED(rawValue) + } + } - public enum Background: SwiftProtobuf.Enum { + public var rawValue: Int { + switch self { + case .profile: return 0 + case .friends: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum PokemonInventoryTab: SwiftProtobuf.Enum { public typealias RawValue = Int - case park // = 0 - case desert // = 1 + case combatParty // = 0 + case pokemon // = 1 + case eggs // = 2 case UNRECOGNIZED(Int) public init() { - self = .park + self = .combatParty } public init?(rawValue: Int) { switch rawValue { - case 0: self = .park - case 1: self = .desert + case 0: self = .combatParty + case 1: self = .pokemon + case 2: self = .eggs default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .park: return 0 - case .desert: return 1 + case .combatParty: return 0 + case .pokemon: return 1 + case .eggs: return 2 case .UNRECOGNIZED(let i): return i } } } - public enum Status: SwiftProtobuf.Enum { + public enum QuestListTab: SwiftProtobuf.Enum { public typealias RawValue = Int - case encounterError // = 0 - case encounterSuccess // = 1 - case encounterNotFound // = 2 - case encounterClosed // = 3 - case encounterPokemonFled // = 4 - case encounterNotInRange // = 5 - case encounterAlreadyHappened // = 6 - case pokemonInventoryFull // = 7 + case todayView // = 0 + case fieldResearch // = 1 + case specialResearch // = 2 case UNRECOGNIZED(Int) public init() { - self = .encounterError + self = .todayView } public init?(rawValue: Int) { switch rawValue { - case 0: self = .encounterError - case 1: self = .encounterSuccess - case 2: self = .encounterNotFound - case 3: self = .encounterClosed - case 4: self = .encounterPokemonFled - case 5: self = .encounterNotInRange - case 6: self = .encounterAlreadyHappened - case 7: self = .pokemonInventoryFull + case 0: self = .todayView + case 1: self = .fieldResearch + case 2: self = .specialResearch default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .encounterError: return 0 - case .encounterSuccess: return 1 - case .encounterNotFound: return 2 - case .encounterClosed: return 3 - case .encounterPokemonFled: return 4 - case .encounterNotInRange: return 5 - case .encounterAlreadyHappened: return 6 - case .pokemonInventoryFull: return 7 + case .todayView: return 0 + case .fieldResearch: return 1 + case .specialResearch: return 2 case .UNRECOGNIZED(let i): return i } } @@ -56351,65 +58737,166 @@ public struct EncounterOutProto { } public init() {} - - fileprivate var _pokemon: WildPokemonProto? = nil - fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension EncounterOutProto.Background: CaseIterable { +extension DeepLinkingEnumWrapperProto.DeepLinkingActionName: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EncounterOutProto.Background] = [ - .park, - .desert, + public static var allCases: [DeepLinkingEnumWrapperProto.DeepLinkingActionName] = [ + .unset, + .openShop, + .openNews, + .openBattleLeague, + .openSettings, + .openPlayerProfile, + .openBuddy, + .openAvatarItems, + .openQuestList, + .openPokemonInventory, + .openNearbyPokemon, + .openPokedex, + .openEvents, + .openJournal, + .openTips, + .openItemInventory, + .fillReferralCode, + .openAddressBook, + .openEggHatch, + .openGym, + .openRaid, + .useDailyIncense, + .openDefendingGym, + .openNearbyGym, + .redeemPasscode, + .openContestReward, + .addFriend, + .openCampfire, + .openParty, ] } -extension EncounterOutProto.Status: CaseIterable { +extension DeepLinkingEnumWrapperProto.NearbyPokemonTab: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EncounterOutProto.Status] = [ - .encounterError, - .encounterSuccess, - .encounterNotFound, - .encounterClosed, - .encounterPokemonFled, - .encounterNotInRange, - .encounterAlreadyHappened, - .pokemonInventoryFull, + public static var allCases: [DeepLinkingEnumWrapperProto.NearbyPokemonTab] = [ + .nearbyPokemon, + .raids, + .routes, + ] +} + +extension DeepLinkingEnumWrapperProto.PlayerProfileTab: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeepLinkingEnumWrapperProto.PlayerProfileTab] = [ + .profile, + .friends, + ] +} + +extension DeepLinkingEnumWrapperProto.PokemonInventoryTab: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeepLinkingEnumWrapperProto.PokemonInventoryTab] = [ + .combatParty, + .pokemon, + .eggs, + ] +} + +extension DeepLinkingEnumWrapperProto.QuestListTab: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeepLinkingEnumWrapperProto.QuestListTab] = [ + .todayView, + .fieldResearch, + .specialResearch, ] } #endif // swift(>=4.2) -public struct EncounterPhotobombOutProto { +public struct DeepLinkingSettingsProto { // 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. - public var result: EncounterPhotobombOutProto.Result = .unset + public var minPlayerLevelForExternalLink: Int32 = 0 - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} + public var minPlayerLevelForNotificationLink: Int32 = 0 + + public var actionsThatIgnoreMinLevel: [DeepLinkingEnumWrapperProto.DeepLinkingActionName] = [] + + public var actionsThatExecuteBeforeMapLoads: [DeepLinkingEnumWrapperProto.DeepLinkingActionName] = [] + + public var iosActionButtonEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct DeepLinkingTelemetry { + // 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. + + public var actionName: String = String() + + public var linkSource: DeepLinkingTelemetry.LinkSource = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum LinkSource: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case url // = 1 + case notification // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .url + case 2: self = .notification + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .url: return 1 + case .notification: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - public var activeItem: Item = .unknown + public init() {} +} - public var arplusAttemptsUntilFlee: Int32 = 0 +#if swift(>=4.2) + +extension DeepLinkingTelemetry.LinkSource: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeepLinkingTelemetry.LinkSource] = [ + .unknown, + .url, + .notification, + ] +} + +#endif // swift(>=4.2) + +public struct DeleteGiftFromInventoryOutProto { + // 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. + + public var result: DeleteGiftFromInventoryOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -56417,9 +58904,8 @@ public struct EncounterPhotobombOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case noEncounterAvailable // = 2 - case pokemonInventoryFull // = 3 - case errorUnknown // = 4 + case errorUnknown // = 2 + case errorGiftDoesNotExist // = 3 case UNRECOGNIZED(Int) public init() { @@ -56430,9 +58916,8 @@ public struct EncounterPhotobombOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .noEncounterAvailable - case 3: self = .pokemonInventoryFull - case 4: self = .errorUnknown + case 2: self = .errorUnknown + case 3: self = .errorGiftDoesNotExist default: self = .UNRECOGNIZED(rawValue) } } @@ -56441,9 +58926,8 @@ public struct EncounterPhotobombOutProto { switch self { case .unset: return 0 case .success: return 1 - case .noEncounterAvailable: return 2 - case .pokemonInventoryFull: return 3 - case .errorUnknown: return 4 + case .errorUnknown: return 2 + case .errorGiftDoesNotExist: return 3 case .UNRECOGNIZED(let i): return i } } @@ -56451,93 +58935,40 @@ public struct EncounterPhotobombOutProto { } public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension EncounterPhotobombOutProto.Result: CaseIterable { +extension DeleteGiftFromInventoryOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EncounterPhotobombOutProto.Result] = [ + public static var allCases: [DeleteGiftFromInventoryOutProto.Result] = [ .unset, .success, - .noEncounterAvailable, - .pokemonInventoryFull, .errorUnknown, + .errorGiftDoesNotExist, ] } #endif // swift(>=4.2) -public struct EncounterPhotobombProto { - // 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. - - public var encounterID: UInt64 = 0 - - public var encounterLocation: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct EncounterPokemonTelemetry { +public struct DeleteGiftFromInventoryProto { // 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. - public var pokemon: PokemonTelemetry { - get {return _pokemon ?? PokemonTelemetry()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var mapPokemonType: String = String() - - public var arEnabled: Bool = false - - public var arPlusEnabled: Bool = false + public var giftboxID: [UInt64] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _pokemon: PokemonTelemetry? = nil } -public struct EncounterPokestopEncounterOutProto { +public struct DeleteGiftOutProto { // 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. - public var result: EncounterPokestopEncounterOutProto.Result = .unset - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} - } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - - public var activeItem: Item = .unknown + public var result: DeleteGiftOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -56545,9 +58976,11 @@ public struct EncounterPokestopEncounterOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case noEncounterAvailable // = 2 - case pokemonInventoryFull // = 3 - case errorUnknown // = 4 + case errorUnknown // = 2 + case errorInvalidPlayerID // = 3 + case errorFriendNotFound // = 4 + case errorGiftDoesNotExist // = 5 + case errorFriendUpdate // = 6 case UNRECOGNIZED(Int) public init() { @@ -56558,9 +58991,11 @@ public struct EncounterPokestopEncounterOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .noEncounterAvailable - case 3: self = .pokemonInventoryFull - case 4: self = .errorUnknown + case 2: self = .errorUnknown + case 3: self = .errorInvalidPlayerID + case 4: self = .errorFriendNotFound + case 5: self = .errorGiftDoesNotExist + case 6: self = .errorFriendUpdate default: self = .UNRECOGNIZED(rawValue) } } @@ -56569,9 +59004,11 @@ public struct EncounterPokestopEncounterOutProto { switch self { case .unset: return 0 case .success: return 1 - case .noEncounterAvailable: return 2 - case .pokemonInventoryFull: return 3 - case .errorUnknown: return 4 + case .errorUnknown: return 2 + case .errorInvalidPlayerID: return 3 + case .errorFriendNotFound: return 4 + case .errorGiftDoesNotExist: return 5 + case .errorFriendUpdate: return 6 case .UNRECOGNIZED(let i): return i } } @@ -56579,224 +59016,206 @@ public struct EncounterPokestopEncounterOutProto { } public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension EncounterPokestopEncounterOutProto.Result: CaseIterable { +extension DeleteGiftOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EncounterPokestopEncounterOutProto.Result] = [ + public static var allCases: [DeleteGiftOutProto.Result] = [ .unset, .success, - .noEncounterAvailable, - .pokemonInventoryFull, .errorUnknown, + .errorInvalidPlayerID, + .errorFriendNotFound, + .errorGiftDoesNotExist, + .errorFriendUpdate, ] } #endif // swift(>=4.2) -public struct EncounterPokestopEncounterProto { +public struct DeleteGiftProto { // 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. - public var encounterID: UInt64 = 0 + public var playerID: String = String() - public var encounterLocation: String = String() + public var giftboxID: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EncounterProto { +public struct DeletePokemonTagOutProto { // 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. - public var encounterID: UInt64 = 0 - - public var spawnpointID: String = String() - - public var playerLatDegrees: Double = 0 - - public var playerLngDegrees: Double = 0 + public var result: DeletePokemonTagOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPlayerLevelTooLow // = 2 + case tagDoesNotExist // = 3 + case UNRECOGNIZED(Int) -public struct EncounterSettingsProto { - // 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. + public init() { + self = .unset + } - public var spinBonusThreshold: Float { - get {return _storage._spinBonusThreshold} - set {_uniqueStorage()._spinBonusThreshold = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPlayerLevelTooLow + case 3: self = .tagDoesNotExist + default: self = .UNRECOGNIZED(rawValue) + } + } - public var excellentThrowThreshold: Float { - get {return _storage._excellentThrowThreshold} - set {_uniqueStorage()._excellentThrowThreshold = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPlayerLevelTooLow: return 2 + case .tagDoesNotExist: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var greatThrowThreshold: Float { - get {return _storage._greatThrowThreshold} - set {_uniqueStorage()._greatThrowThreshold = newValue} } - public var niceThrowThreshold: Float { - get {return _storage._niceThrowThreshold} - set {_uniqueStorage()._niceThrowThreshold = newValue} - } + public init() {} +} - public var milestoneThreshold: Int32 { - get {return _storage._milestoneThreshold} - set {_uniqueStorage()._milestoneThreshold = newValue} - } +#if swift(>=4.2) - public var arPlusModeEnabled: Bool { - get {return _storage._arPlusModeEnabled} - set {_uniqueStorage()._arPlusModeEnabled = newValue} - } +extension DeletePokemonTagOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeletePokemonTagOutProto.Result] = [ + .unset, + .success, + .errorPlayerLevelTooLow, + .tagDoesNotExist, + ] +} - public var arCloseProximityThreshold: Float { - get {return _storage._arCloseProximityThreshold} - set {_uniqueStorage()._arCloseProximityThreshold = newValue} - } +#endif // swift(>=4.2) - public var arLowAwarenessThreshold: Float { - get {return _storage._arLowAwarenessThreshold} - set {_uniqueStorage()._arLowAwarenessThreshold = newValue} - } +public struct DeletePokemonTagProto { + // 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. - public var arCloseProximityMultiplier: Float { - get {return _storage._arCloseProximityMultiplier} - set {_uniqueStorage()._arCloseProximityMultiplier = newValue} - } + public var tagID: UInt64 = 0 - public var arAwarenessPenaltyThreshold: Float { - get {return _storage._arAwarenessPenaltyThreshold} - set {_uniqueStorage()._arAwarenessPenaltyThreshold = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var arLowAwarenessMaxMultiplier: Float { - get {return _storage._arLowAwarenessMaxMultiplier} - set {_uniqueStorage()._arLowAwarenessMaxMultiplier = newValue} - } + public init() {} +} - public var arHighAwarenessMinPenaltyMultiplier: Float { - get {return _storage._arHighAwarenessMinPenaltyMultiplier} - set {_uniqueStorage()._arHighAwarenessMinPenaltyMultiplier = newValue} - } +public struct DeletePostcardOutProto { + // 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. - public var arPlusAttemptsUntilFleeMax: Int32 { - get {return _storage._arPlusAttemptsUntilFleeMax} - set {_uniqueStorage()._arPlusAttemptsUntilFleeMax = newValue} - } + public var result: DeletePostcardOutProto.Result = .unset - public var arPlusAttemptsUntilFleeInfinite: Int32 { - get {return _storage._arPlusAttemptsUntilFleeInfinite} - set {_uniqueStorage()._arPlusAttemptsUntilFleeInfinite = newValue} + public var postcard: PostcardDisplayProto { + get {return _postcard ?? PostcardDisplayProto()} + set {_postcard = newValue} } + /// Returns true if `postcard` has been explicitly set. + public var hasPostcard: Bool {return self._postcard != nil} + /// Clears the value of `postcard`. Subsequent reads from it will return its default value. + public mutating func clearPostcard() {self._postcard = nil} - public var escapedBonusMultiplierMax: Float { - get {return _storage._escapedBonusMultiplierMax} - set {_uniqueStorage()._escapedBonusMultiplierMax = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var escapedBonusMultiplierByExcellentThrow: Float { - get {return _storage._escapedBonusMultiplierByExcellentThrow} - set {_uniqueStorage()._escapedBonusMultiplierByExcellentThrow = newValue} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPostcardDoesNotExist // = 2 + case errorPostcardFavorited // = 3 + case errorNotEnabled // = 4 + case UNRECOGNIZED(Int) - public var escapedBonusMultiplierByGreatThrow: Float { - get {return _storage._escapedBonusMultiplierByGreatThrow} - set {_uniqueStorage()._escapedBonusMultiplierByGreatThrow = newValue} - } + public init() { + self = .unset + } - public var escapedBonusMultiplierByNiceThrow: Float { - get {return _storage._escapedBonusMultiplierByNiceThrow} - set {_uniqueStorage()._escapedBonusMultiplierByNiceThrow = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPostcardDoesNotExist + case 3: self = .errorPostcardFavorited + case 4: self = .errorNotEnabled + default: self = .UNRECOGNIZED(rawValue) + } + } - public var obString: String { - get {return _storage._obString} - set {_uniqueStorage()._obString = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPostcardDoesNotExist: return 2 + case .errorPostcardFavorited: return 3 + case .errorNotEnabled: return 4 + case .UNRECOGNIZED(let i): return i + } + } - public var globalStardustMultiplier: Float { - get {return _storage._globalStardustMultiplier} - set {_uniqueStorage()._globalStardustMultiplier = newValue} } - public var globalCandyMultiplier: Float { - get {return _storage._globalCandyMultiplier} - set {_uniqueStorage()._globalCandyMultiplier = newValue} - } + public init() {} - public var obFloat1: Float { - get {return _storage._obFloat1} - set {_uniqueStorage()._obFloat1 = newValue} - } + fileprivate var _postcard: PostcardDisplayProto? = nil +} - public var obFloat2: Float { - get {return _storage._obFloat2} - set {_uniqueStorage()._obFloat2 = newValue} - } +#if swift(>=4.2) - public var obFloat3: Float { - get {return _storage._obFloat3} - set {_uniqueStorage()._obFloat3 = newValue} - } +extension DeletePostcardOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeletePostcardOutProto.Result] = [ + .unset, + .success, + .errorPostcardDoesNotExist, + .errorPostcardFavorited, + .errorNotEnabled, + ] +} - public var obFloat4: Float { - get {return _storage._obFloat4} - set {_uniqueStorage()._obFloat4 = newValue} - } +#endif // swift(>=4.2) - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } +public struct DeletePostcardProto { + // 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. + + public var postcardID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct EncounterTutorialCompleteOutProto { +public struct DeletePostcardsOutProto { // 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. - public var result: EncounterTutorialCompleteOutProto.Result = .unset - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} + public var result: DeletePostcardsOutProto.Result = .unset - public var scores: CaptureScoreProto { - get {return _scores ?? CaptureScoreProto()} - set {_scores = newValue} - } - /// Returns true if `scores` has been explicitly set. - public var hasScores: Bool {return self._scores != nil} - /// Clears the value of `scores`. Subsequent reads from it will return its default value. - public mutating func clearScores() {self._scores = nil} + public var postcards: [PostcardDisplayProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -56804,7 +59223,9 @@ public struct EncounterTutorialCompleteOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorInvalidPokemon // = 2 + case errorPostcardDoesNotExist // = 2 + case errorPostcardFavorited // = 3 + case errorNotEnabled // = 4 case UNRECOGNIZED(Int) public init() { @@ -56815,7 +59236,9 @@ public struct EncounterTutorialCompleteOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorInvalidPokemon + case 2: self = .errorPostcardDoesNotExist + case 3: self = .errorPostcardFavorited + case 4: self = .errorNotEnabled default: self = .UNRECOGNIZED(rawValue) } } @@ -56824,7 +59247,9 @@ public struct EncounterTutorialCompleteOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorInvalidPokemon: return 2 + case .errorPostcardDoesNotExist: return 2 + case .errorPostcardFavorited: return 3 + case .errorNotEnabled: return 4 case .UNRECOGNIZED(let i): return i } } @@ -56832,131 +59257,175 @@ public struct EncounterTutorialCompleteOutProto { } public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _scores: CaptureScoreProto? = nil } #if swift(>=4.2) -extension EncounterTutorialCompleteOutProto.Result: CaseIterable { +extension DeletePostcardsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EncounterTutorialCompleteOutProto.Result] = [ + public static var allCases: [DeletePostcardsOutProto.Result] = [ .unset, .success, - .errorInvalidPokemon, + .errorPostcardDoesNotExist, + .errorPostcardFavorited, + .errorNotEnabled, ] } #endif // swift(>=4.2) -public struct EncounterTutorialCompleteProto { +public struct DeletePostcardsProto { // 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. - public var pokedexID: HoloPokemonId = .missingno + public var postcardIds: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct Enum { +public struct DeleteRouteDraftOutProto { // 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. - public var name: String = String() + public var result: DeleteRouteDraftOutProto.Result = .unset - public var enumvalue: [EnumValue] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var options: [Option] = [] + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case successRouteNotFound // = -1 + case errorUnknown // = 3 + case errorRouteNotEditable // = 4 + case UNRECOGNIZED(Int) - public var sourceContext: SourceContext { - get {return _sourceContext ?? SourceContext()} - set {_sourceContext = newValue} - } - /// Returns true if `sourceContext` has been explicitly set. - public var hasSourceContext: Bool {return self._sourceContext != nil} - /// Clears the value of `sourceContext`. Subsequent reads from it will return its default value. - public mutating func clearSourceContext() {self._sourceContext = nil} + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case -1: self = .successRouteNotFound + case 0: self = .unset + case 1: self = .success + case 3: self = .errorUnknown + case 4: self = .errorRouteNotEditable + default: self = .UNRECOGNIZED(rawValue) + } + } - public var syntax: Syntax = .proto2 + public var rawValue: Int { + switch self { + case .successRouteNotFound: return -1 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 3 + case .errorRouteNotEditable: return 4 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} +} + +#if swift(>=4.2) - fileprivate var _sourceContext: SourceContext? = nil +extension DeleteRouteDraftOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeleteRouteDraftOutProto.Result] = [ + .unset, + .success, + .successRouteNotFound, + .errorUnknown, + .errorRouteNotEditable, + ] } -public struct EnumDescriptorProto { +#endif // swift(>=4.2) + +public struct DeleteRouteDraftProto { // 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. - public var name: String = String() - - public var value: [EnumValueDescriptorProto] = [] - - public var options: EnumOptions { - get {return _options ?? EnumOptions()} - set {_options = newValue} - } - /// Returns true if `options` has been explicitly set. - public var hasOptions: Bool {return self._options != nil} - /// Clears the value of `options`. Subsequent reads from it will return its default value. - public mutating func clearOptions() {self._options = nil} + public var routeID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _options: EnumOptions? = nil } -public struct EnumOptions { +public struct DeployPokemonTelemetry { // 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. - public var allowAlias: Bool = false + public var status: Int32 = 0 - public var deprecated: Bool = false + public var pokemon: PokemonTelemetry { + get {return _pokemon ?? PokemonTelemetry()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var gymID: String = String() + + public var team: Team = .unset + + public var defenderCount: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _pokemon: PokemonTelemetry? = nil } -public struct EnumValue { +public struct DeploymentTotalsProto { // 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. - public var name: String = String() + public var timesFed: Int32 = 0 - public var number: Int32 = 0 + public var battlesWon: Int32 = 0 + + public var battlesLost: Int32 = 0 - public var options: [Option] = [] + public var deploymentDurationMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EnumValueDescriptorProto { +public struct DescriptorProto { // 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. public var name: String = String() - public var number: Int32 = 0 + public var field: [FieldDescriptorProto] = [] - public var options: EnumValueOptions { - get {return _options ?? EnumValueOptions()} + public var nestedType: [DescriptorProto] = [] + + public var enumType: [EnumDescriptorProto] = [] + + public var oneofDecl: [OneofDescriptorProto] = [] + + public var options: MessageOptions { + get {return _options ?? MessageOptions()} set {_options = newValue} } /// Returns true if `options` has been explicitly set. @@ -56966,456 +59435,53 @@ public struct EnumValueDescriptorProto { public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + public struct ExtensionRange { + // 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. - fileprivate var _options: EnumValueOptions? = nil -} + public var start: Int32 = 0 -public struct EnumValueOptions { - // 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. + public var end: Int32 = 0 - public var deprecated: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } - public init() {} -} + public struct ReservedRange { + // 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. -public struct EnumWrapper { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum InvasionCharacter: SwiftProtobuf.Enum { - public typealias RawValue = Int - case characterUnset // = 0 - case characterBlanche // = 1 - case characterCandela // = 2 - case characterSpark // = 3 - case characterGruntMale // = 4 - case characterGruntFemale // = 5 - case characterBugGruntFemale // = 6 - case characterBugGruntMale // = 7 - case characterDarknessGruntFemale // = 8 - case characterDarknessGruntMale // = 9 - case characterDarkGruntFemale // = 10 - case characterDarkGruntMale // = 11 - case characterDragonGruntFemale // = 12 - case characterDragonGruntMale // = 13 - case characterFairyGruntFemale // = 14 - case characterFairyGruntMale // = 15 - case characterFightingGruntFemale // = 16 - case characterFightingGruntMale // = 17 - case characterFireGruntFemale // = 18 - case characterFireGruntMale // = 19 - case characterFlyingGruntFemale // = 20 - case characterFlyingGruntMale // = 21 - case characterGrassGruntFemale // = 22 - case characterGrassGruntMale // = 23 - case characterGroundGruntFemale // = 24 - case characterGroundGruntMale // = 25 - case characterIceGruntFemale // = 26 - case characterIceGruntMale // = 27 - case characterMetalGruntFemale // = 28 - case characterMetalGruntMale // = 29 - case characterNormalGruntFemale // = 30 - case characterNormalGruntMale // = 31 - case characterPoisonGruntFemale // = 32 - case characterPoisonGruntMale // = 33 - case characterPsychicGruntFemale // = 34 - case characterPsychicGruntMale // = 35 - case characterRockGruntFemale // = 36 - case characterRockGruntMale // = 37 - case characterWaterGruntFemale // = 38 - case characterWaterGruntMale // = 39 - case characterPlayerTeamLeader // = 40 - case characterExecutiveCliff // = 41 - case characterExecutiveArlo // = 42 - case characterExecutiveSierra // = 43 - case characterGiovanni // = 44 - case characterDecoyGruntMale // = 45 - case characterDecoyGruntFemale // = 46 - case characterGhostGruntFemale // = 47 - case characterGhostGruntMale // = 48 - case characterElectricGruntFemale // = 49 - case characterElectricGruntMale // = 50 - case characterBalloonGruntFemale // = 51 - case characterBalloonGruntMale // = 52 - case characterGruntbFemale // = 53 - case characterGruntbMale // = 54 - case characterBugBalloonGruntFemale // = 55 - case characterBugBalloonGruntMale // = 56 - case characterDarkBalloonGruntFemale // = 57 - case characterDarkBalloonGruntMale // = 58 - case characterDragonBalloonGruntFemale // = 59 - case characterDragonBalloonGruntMale // = 60 - case characterFairyBalloonGruntFemale // = 61 - case characterFairyBalloonGruntMale // = 62 - case characterFightingBalloonGruntFemale // = 63 - case characterFightingBalloonGruntMale // = 64 - case characterFireBalloonGruntFemale // = 65 - case characterFireBalloonGruntMale // = 66 - case characterFlyingBalloonGruntFemale // = 67 - case characterFlyingBalloonGruntMale // = 68 - case characterGrassBalloonGruntFemale // = 69 - case characterGrassBalloonGruntMale // = 70 - case characterGroundBalloonGruntFemale // = 71 - case characterGroundBalloonGruntMale // = 72 - case characterIceBalloonGruntFemale // = 73 - case characterIceBalloonGruntMale // = 74 - case characterMetalBalloonGruntFemale // = 75 - case characterMetalBalloonGruntMale // = 76 - case characterNormalBalloonGruntFemale // = 77 - case characterNormalBalloonGruntMale // = 78 - case characterPoisonBalloonGruntFemale // = 79 - case characterPoisonBalloonGruntMale // = 80 - case characterPsychicBalloonGruntFemale // = 81 - case characterPsychicBalloonGruntMale // = 82 - case characterRockBalloonGruntFemale // = 83 - case characterRockBalloonGruntMale // = 84 - case characterWaterBalloonGruntFemale // = 85 - case characterWaterBalloonGruntMale // = 86 - case characterGhostBalloonGruntFemale // = 87 - case characterGhostBalloonGruntMale // = 88 - case characterElectricBalloonGruntFemale // = 89 - case characterElectricBalloonGruntMale // = 90 - case characterWillow // = 91 - case characterWillowb // = 92 - case characterTraveler // = 93 - case characterExplorer // = 94 - case characterEventNpc0 // = 500 - case characterEventNpc1 // = 501 - case characterEventNpc2 // = 502 - case characterEventNpc3 // = 503 - case characterEventNpc4 // = 504 - case characterEventNpc5 // = 505 - case characterEventNpc6 // = 506 - case characterEventNpc7 // = 507 - case characterEventNpc8 // = 508 - case characterEventNpc9 // = 509 - case characterEventNpc10 // = 510 - case characterEventNpcBlanche // = 511 - case characterEventNpcCandela // = 512 - case characterEventNpcSpark // = 513 - case characterEventNpc11 // = 514 - case characterEventNpc12 // = 515 - case characterEventNpc13 // = 516 - case characterEventNpc14 // = 517 - case characterEventNpc15 // = 518 - case characterEventNpc16 // = 519 - case characterEventNpc17 // = 520 - case characterEventNpc18 // = 521 - case characterEventNpc19 // = 522 - case characterEventNpc20 // = 523 - case UNRECOGNIZED(Int) - - public init() { - self = .characterUnset - } + public var start: Int32 = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .characterUnset - case 1: self = .characterBlanche - case 2: self = .characterCandela - case 3: self = .characterSpark - case 4: self = .characterGruntMale - case 5: self = .characterGruntFemale - case 6: self = .characterBugGruntFemale - case 7: self = .characterBugGruntMale - case 8: self = .characterDarknessGruntFemale - case 9: self = .characterDarknessGruntMale - case 10: self = .characterDarkGruntFemale - case 11: self = .characterDarkGruntMale - case 12: self = .characterDragonGruntFemale - case 13: self = .characterDragonGruntMale - case 14: self = .characterFairyGruntFemale - case 15: self = .characterFairyGruntMale - case 16: self = .characterFightingGruntFemale - case 17: self = .characterFightingGruntMale - case 18: self = .characterFireGruntFemale - case 19: self = .characterFireGruntMale - case 20: self = .characterFlyingGruntFemale - case 21: self = .characterFlyingGruntMale - case 22: self = .characterGrassGruntFemale - case 23: self = .characterGrassGruntMale - case 24: self = .characterGroundGruntFemale - case 25: self = .characterGroundGruntMale - case 26: self = .characterIceGruntFemale - case 27: self = .characterIceGruntMale - case 28: self = .characterMetalGruntFemale - case 29: self = .characterMetalGruntMale - case 30: self = .characterNormalGruntFemale - case 31: self = .characterNormalGruntMale - case 32: self = .characterPoisonGruntFemale - case 33: self = .characterPoisonGruntMale - case 34: self = .characterPsychicGruntFemale - case 35: self = .characterPsychicGruntMale - case 36: self = .characterRockGruntFemale - case 37: self = .characterRockGruntMale - case 38: self = .characterWaterGruntFemale - case 39: self = .characterWaterGruntMale - case 40: self = .characterPlayerTeamLeader - case 41: self = .characterExecutiveCliff - case 42: self = .characterExecutiveArlo - case 43: self = .characterExecutiveSierra - case 44: self = .characterGiovanni - case 45: self = .characterDecoyGruntMale - case 46: self = .characterDecoyGruntFemale - case 47: self = .characterGhostGruntFemale - case 48: self = .characterGhostGruntMale - case 49: self = .characterElectricGruntFemale - case 50: self = .characterElectricGruntMale - case 51: self = .characterBalloonGruntFemale - case 52: self = .characterBalloonGruntMale - case 53: self = .characterGruntbFemale - case 54: self = .characterGruntbMale - case 55: self = .characterBugBalloonGruntFemale - case 56: self = .characterBugBalloonGruntMale - case 57: self = .characterDarkBalloonGruntFemale - case 58: self = .characterDarkBalloonGruntMale - case 59: self = .characterDragonBalloonGruntFemale - case 60: self = .characterDragonBalloonGruntMale - case 61: self = .characterFairyBalloonGruntFemale - case 62: self = .characterFairyBalloonGruntMale - case 63: self = .characterFightingBalloonGruntFemale - case 64: self = .characterFightingBalloonGruntMale - case 65: self = .characterFireBalloonGruntFemale - case 66: self = .characterFireBalloonGruntMale - case 67: self = .characterFlyingBalloonGruntFemale - case 68: self = .characterFlyingBalloonGruntMale - case 69: self = .characterGrassBalloonGruntFemale - case 70: self = .characterGrassBalloonGruntMale - case 71: self = .characterGroundBalloonGruntFemale - case 72: self = .characterGroundBalloonGruntMale - case 73: self = .characterIceBalloonGruntFemale - case 74: self = .characterIceBalloonGruntMale - case 75: self = .characterMetalBalloonGruntFemale - case 76: self = .characterMetalBalloonGruntMale - case 77: self = .characterNormalBalloonGruntFemale - case 78: self = .characterNormalBalloonGruntMale - case 79: self = .characterPoisonBalloonGruntFemale - case 80: self = .characterPoisonBalloonGruntMale - case 81: self = .characterPsychicBalloonGruntFemale - case 82: self = .characterPsychicBalloonGruntMale - case 83: self = .characterRockBalloonGruntFemale - case 84: self = .characterRockBalloonGruntMale - case 85: self = .characterWaterBalloonGruntFemale - case 86: self = .characterWaterBalloonGruntMale - case 87: self = .characterGhostBalloonGruntFemale - case 88: self = .characterGhostBalloonGruntMale - case 89: self = .characterElectricBalloonGruntFemale - case 90: self = .characterElectricBalloonGruntMale - case 91: self = .characterWillow - case 92: self = .characterWillowb - case 93: self = .characterTraveler - case 94: self = .characterExplorer - case 500: self = .characterEventNpc0 - case 501: self = .characterEventNpc1 - case 502: self = .characterEventNpc2 - case 503: self = .characterEventNpc3 - case 504: self = .characterEventNpc4 - case 505: self = .characterEventNpc5 - case 506: self = .characterEventNpc6 - case 507: self = .characterEventNpc7 - case 508: self = .characterEventNpc8 - case 509: self = .characterEventNpc9 - case 510: self = .characterEventNpc10 - case 511: self = .characterEventNpcBlanche - case 512: self = .characterEventNpcCandela - case 513: self = .characterEventNpcSpark - case 514: self = .characterEventNpc11 - case 515: self = .characterEventNpc12 - case 516: self = .characterEventNpc13 - case 517: self = .characterEventNpc14 - case 518: self = .characterEventNpc15 - case 519: self = .characterEventNpc16 - case 520: self = .characterEventNpc17 - case 521: self = .characterEventNpc18 - case 522: self = .characterEventNpc19 - case 523: self = .characterEventNpc20 - default: self = .UNRECOGNIZED(rawValue) - } - } + public var end: Int32 = 0 - public var rawValue: Int { - switch self { - case .characterUnset: return 0 - case .characterBlanche: return 1 - case .characterCandela: return 2 - case .characterSpark: return 3 - case .characterGruntMale: return 4 - case .characterGruntFemale: return 5 - case .characterBugGruntFemale: return 6 - case .characterBugGruntMale: return 7 - case .characterDarknessGruntFemale: return 8 - case .characterDarknessGruntMale: return 9 - case .characterDarkGruntFemale: return 10 - case .characterDarkGruntMale: return 11 - case .characterDragonGruntFemale: return 12 - case .characterDragonGruntMale: return 13 - case .characterFairyGruntFemale: return 14 - case .characterFairyGruntMale: return 15 - case .characterFightingGruntFemale: return 16 - case .characterFightingGruntMale: return 17 - case .characterFireGruntFemale: return 18 - case .characterFireGruntMale: return 19 - case .characterFlyingGruntFemale: return 20 - case .characterFlyingGruntMale: return 21 - case .characterGrassGruntFemale: return 22 - case .characterGrassGruntMale: return 23 - case .characterGroundGruntFemale: return 24 - case .characterGroundGruntMale: return 25 - case .characterIceGruntFemale: return 26 - case .characterIceGruntMale: return 27 - case .characterMetalGruntFemale: return 28 - case .characterMetalGruntMale: return 29 - case .characterNormalGruntFemale: return 30 - case .characterNormalGruntMale: return 31 - case .characterPoisonGruntFemale: return 32 - case .characterPoisonGruntMale: return 33 - case .characterPsychicGruntFemale: return 34 - case .characterPsychicGruntMale: return 35 - case .characterRockGruntFemale: return 36 - case .characterRockGruntMale: return 37 - case .characterWaterGruntFemale: return 38 - case .characterWaterGruntMale: return 39 - case .characterPlayerTeamLeader: return 40 - case .characterExecutiveCliff: return 41 - case .characterExecutiveArlo: return 42 - case .characterExecutiveSierra: return 43 - case .characterGiovanni: return 44 - case .characterDecoyGruntMale: return 45 - case .characterDecoyGruntFemale: return 46 - case .characterGhostGruntFemale: return 47 - case .characterGhostGruntMale: return 48 - case .characterElectricGruntFemale: return 49 - case .characterElectricGruntMale: return 50 - case .characterBalloonGruntFemale: return 51 - case .characterBalloonGruntMale: return 52 - case .characterGruntbFemale: return 53 - case .characterGruntbMale: return 54 - case .characterBugBalloonGruntFemale: return 55 - case .characterBugBalloonGruntMale: return 56 - case .characterDarkBalloonGruntFemale: return 57 - case .characterDarkBalloonGruntMale: return 58 - case .characterDragonBalloonGruntFemale: return 59 - case .characterDragonBalloonGruntMale: return 60 - case .characterFairyBalloonGruntFemale: return 61 - case .characterFairyBalloonGruntMale: return 62 - case .characterFightingBalloonGruntFemale: return 63 - case .characterFightingBalloonGruntMale: return 64 - case .characterFireBalloonGruntFemale: return 65 - case .characterFireBalloonGruntMale: return 66 - case .characterFlyingBalloonGruntFemale: return 67 - case .characterFlyingBalloonGruntMale: return 68 - case .characterGrassBalloonGruntFemale: return 69 - case .characterGrassBalloonGruntMale: return 70 - case .characterGroundBalloonGruntFemale: return 71 - case .characterGroundBalloonGruntMale: return 72 - case .characterIceBalloonGruntFemale: return 73 - case .characterIceBalloonGruntMale: return 74 - case .characterMetalBalloonGruntFemale: return 75 - case .characterMetalBalloonGruntMale: return 76 - case .characterNormalBalloonGruntFemale: return 77 - case .characterNormalBalloonGruntMale: return 78 - case .characterPoisonBalloonGruntFemale: return 79 - case .characterPoisonBalloonGruntMale: return 80 - case .characterPsychicBalloonGruntFemale: return 81 - case .characterPsychicBalloonGruntMale: return 82 - case .characterRockBalloonGruntFemale: return 83 - case .characterRockBalloonGruntMale: return 84 - case .characterWaterBalloonGruntFemale: return 85 - case .characterWaterBalloonGruntMale: return 86 - case .characterGhostBalloonGruntFemale: return 87 - case .characterGhostBalloonGruntMale: return 88 - case .characterElectricBalloonGruntFemale: return 89 - case .characterElectricBalloonGruntMale: return 90 - case .characterWillow: return 91 - case .characterWillowb: return 92 - case .characterTraveler: return 93 - case .characterExplorer: return 94 - case .characterEventNpc0: return 500 - case .characterEventNpc1: return 501 - case .characterEventNpc2: return 502 - case .characterEventNpc3: return 503 - case .characterEventNpc4: return 504 - case .characterEventNpc5: return 505 - case .characterEventNpc6: return 506 - case .characterEventNpc7: return 507 - case .characterEventNpc8: return 508 - case .characterEventNpc9: return 509 - case .characterEventNpc10: return 510 - case .characterEventNpcBlanche: return 511 - case .characterEventNpcCandela: return 512 - case .characterEventNpcSpark: return 513 - case .characterEventNpc11: return 514 - case .characterEventNpc12: return 515 - case .characterEventNpc13: return 516 - case .characterEventNpc14: return 517 - case .characterEventNpc15: return 518 - case .characterEventNpc16: return 519 - case .characterEventNpc17: return 520 - case .characterEventNpc18: return 521 - case .characterEventNpc19: return 522 - case .characterEventNpc20: return 523 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} } - public enum InvasionContext: SwiftProtobuf.Enum { - public typealias RawValue = Int - case pokestopIncident // = 0 - case rocketBalloon // = 1 - case questRewardIncident // = 2 - case crossPokestopIncident // = 3 - case UNRECOGNIZED(Int) + public init() {} - public init() { - self = .pokestopIncident - } + fileprivate var _options: MessageOptions? = nil +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .pokestopIncident - case 1: self = .rocketBalloon - case 2: self = .questRewardIncident - case 3: self = .crossPokestopIncident - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct DeviceOSTelemetry { + // 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. - public var rawValue: Int { - switch self { - case .pokestopIncident: return 0 - case .rocketBalloon: return 1 - case .questRewardIncident: return 2 - case .crossPokestopIncident: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var architecture: DeviceOSTelemetry.OSArchitecture = .unset - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum CharacterCategory: SwiftProtobuf.Enum { + public enum OSArchitecture: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case teamLeader // = 1 - case grunt // = 2 - case arlo // = 3 - case cliff // = 4 - case sierra // = 5 - case giovanni // = 6 - case gruntbf // = 7 - case gruntbm // = 8 - case eventNpc // = 9 - case playerTeamLeader // = 10 + case arch32Bit // = 1 + case arch64Bit // = 2 case UNRECOGNIZED(Int) public init() { @@ -57425,16 +59491,8 @@ public struct EnumWrapper { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .teamLeader - case 2: self = .grunt - case 3: self = .arlo - case 4: self = .cliff - case 5: self = .sierra - case 6: self = .giovanni - case 7: self = .gruntbf - case 8: self = .gruntbm - case 9: self = .eventNpc - case 10: self = .playerTeamLeader + case 1: self = .arch32Bit + case 2: self = .arch64Bit default: self = .UNRECOGNIZED(rawValue) } } @@ -57442,375 +59500,149 @@ public struct EnumWrapper { public var rawValue: Int { switch self { case .unset: return 0 - case .teamLeader: return 1 - case .grunt: return 2 - case .arlo: return 3 - case .cliff: return 4 - case .sierra: return 5 - case .giovanni: return 6 - case .gruntbf: return 7 - case .gruntbm: return 8 - case .eventNpc: return 9 - case .playerTeamLeader: return 10 + case .arch32Bit: return 1 + case .arch64Bit: return 2 case .UNRECOGNIZED(let i): return i } } } - public enum PokestopStyle: SwiftProtobuf.Enum { - public typealias RawValue = Int - case pokestopNormal // = 0 - case pokestopRocketInvasion // = 1 - case pokestopRocketVictory // = 2 - case pokestopContest // = 3 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .pokestopNormal - } +#if swift(>=4.2) - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .pokestopNormal - case 1: self = .pokestopRocketInvasion - case 2: self = .pokestopRocketVictory - case 3: self = .pokestopContest - default: self = .UNRECOGNIZED(rawValue) - } - } +extension DeviceOSTelemetry.OSArchitecture: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DeviceOSTelemetry.OSArchitecture] = [ + .unset, + .arch32Bit, + .arch64Bit, + ] +} - public var rawValue: Int { - switch self { - case .pokestopNormal: return 0 - case .pokestopRocketInvasion: return 1 - case .pokestopRocketVictory: return 2 - case .pokestopContest: return 3 - case .UNRECOGNIZED(let i): return i - } - } +#endif // swift(>=4.2) - } +public struct DeviceServiceToggleTelemetry { + // 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. - public enum InvasionCharacterExpression: SwiftProtobuf.Enum { - public typealias RawValue = Int - case expressionUnset // = 0 - case placeholder1 // = 1 - case placeholder2 // = 2 - case placeholder3 // = 3 - case placeholder4 // = 4 - case greeting // = 5 - case challenge // = 6 - case victory // = 7 - case defeat // = 8 - case UNRECOGNIZED(Int) + public var deviceServiceTelemetryID: DeviceServiceTelemetryIds = .undefinedDeviceService - public init() { - self = .expressionUnset - } + public var wasEnabled: Bool = false - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .expressionUnset - case 1: self = .placeholder1 - case 2: self = .placeholder2 - case 3: self = .placeholder3 - case 4: self = .placeholder4 - case 5: self = .greeting - case 6: self = .challenge - case 7: self = .victory - case 8: self = .defeat - default: self = .UNRECOGNIZED(rawValue) - } - } + public var wasSubsequent: Bool = false - public var rawValue: Int { - switch self { - case .expressionUnset: return 0 - case .placeholder1: return 1 - case .placeholder2: return 2 - case .placeholder3: return 3 - case .placeholder4: return 4 - case .greeting: return 5 - case .challenge: return 6 - case .victory: return 7 - case .defeat: return 8 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - } + public init() {} +} - public enum IncidentStartPhase: SwiftProtobuf.Enum { - public typealias RawValue = Int - case incidentStartOnSpinOrExit // = 0 - case incidentStartOnSpinNotExit // = 1 - case incidentStartOnExitNotSpin // = 2 - case UNRECOGNIZED(Int) +public struct DeviceSpecificationsTelemetry { + // 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. - public init() { - self = .incidentStartOnSpinOrExit - } + public var deviceWidth: Int32 = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .incidentStartOnSpinOrExit - case 1: self = .incidentStartOnSpinNotExit - case 2: self = .incidentStartOnExitNotSpin - default: self = .UNRECOGNIZED(rawValue) - } - } + public var deviceHeight: Int32 = 0 - public var rawValue: Int { - switch self { - case .incidentStartOnSpinOrExit: return 0 - case .incidentStartOnSpinNotExit: return 1 - case .incidentStartOnExitNotSpin: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var cameraWidth: Int32 = 0 - } + public var cameraHeight: Int32 = 0 - public init() {} -} + public var cameraFocalLengthFx: Float = 0 -#if swift(>=4.2) + public var cameraFocalLengthFy: Float = 0 -extension EnumWrapper.InvasionCharacter: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EnumWrapper.InvasionCharacter] = [ - .characterUnset, - .characterBlanche, - .characterCandela, - .characterSpark, - .characterGruntMale, - .characterGruntFemale, - .characterBugGruntFemale, - .characterBugGruntMale, - .characterDarknessGruntFemale, - .characterDarknessGruntMale, - .characterDarkGruntFemale, - .characterDarkGruntMale, - .characterDragonGruntFemale, - .characterDragonGruntMale, - .characterFairyGruntFemale, - .characterFairyGruntMale, - .characterFightingGruntFemale, - .characterFightingGruntMale, - .characterFireGruntFemale, - .characterFireGruntMale, - .characterFlyingGruntFemale, - .characterFlyingGruntMale, - .characterGrassGruntFemale, - .characterGrassGruntMale, - .characterGroundGruntFemale, - .characterGroundGruntMale, - .characterIceGruntFemale, - .characterIceGruntMale, - .characterMetalGruntFemale, - .characterMetalGruntMale, - .characterNormalGruntFemale, - .characterNormalGruntMale, - .characterPoisonGruntFemale, - .characterPoisonGruntMale, - .characterPsychicGruntFemale, - .characterPsychicGruntMale, - .characterRockGruntFemale, - .characterRockGruntMale, - .characterWaterGruntFemale, - .characterWaterGruntMale, - .characterPlayerTeamLeader, - .characterExecutiveCliff, - .characterExecutiveArlo, - .characterExecutiveSierra, - .characterGiovanni, - .characterDecoyGruntMale, - .characterDecoyGruntFemale, - .characterGhostGruntFemale, - .characterGhostGruntMale, - .characterElectricGruntFemale, - .characterElectricGruntMale, - .characterBalloonGruntFemale, - .characterBalloonGruntMale, - .characterGruntbFemale, - .characterGruntbMale, - .characterBugBalloonGruntFemale, - .characterBugBalloonGruntMale, - .characterDarkBalloonGruntFemale, - .characterDarkBalloonGruntMale, - .characterDragonBalloonGruntFemale, - .characterDragonBalloonGruntMale, - .characterFairyBalloonGruntFemale, - .characterFairyBalloonGruntMale, - .characterFightingBalloonGruntFemale, - .characterFightingBalloonGruntMale, - .characterFireBalloonGruntFemale, - .characterFireBalloonGruntMale, - .characterFlyingBalloonGruntFemale, - .characterFlyingBalloonGruntMale, - .characterGrassBalloonGruntFemale, - .characterGrassBalloonGruntMale, - .characterGroundBalloonGruntFemale, - .characterGroundBalloonGruntMale, - .characterIceBalloonGruntFemale, - .characterIceBalloonGruntMale, - .characterMetalBalloonGruntFemale, - .characterMetalBalloonGruntMale, - .characterNormalBalloonGruntFemale, - .characterNormalBalloonGruntMale, - .characterPoisonBalloonGruntFemale, - .characterPoisonBalloonGruntMale, - .characterPsychicBalloonGruntFemale, - .characterPsychicBalloonGruntMale, - .characterRockBalloonGruntFemale, - .characterRockBalloonGruntMale, - .characterWaterBalloonGruntFemale, - .characterWaterBalloonGruntMale, - .characterGhostBalloonGruntFemale, - .characterGhostBalloonGruntMale, - .characterElectricBalloonGruntFemale, - .characterElectricBalloonGruntMale, - .characterWillow, - .characterWillowb, - .characterTraveler, - .characterExplorer, - .characterEventNpc0, - .characterEventNpc1, - .characterEventNpc2, - .characterEventNpc3, - .characterEventNpc4, - .characterEventNpc5, - .characterEventNpc6, - .characterEventNpc7, - .characterEventNpc8, - .characterEventNpc9, - .characterEventNpc10, - .characterEventNpcBlanche, - .characterEventNpcCandela, - .characterEventNpcSpark, - .characterEventNpc11, - .characterEventNpc12, - .characterEventNpc13, - .characterEventNpc14, - .characterEventNpc15, - .characterEventNpc16, - .characterEventNpc17, - .characterEventNpc18, - .characterEventNpc19, - .characterEventNpc20, - ] -} + public var cameraRefreshRate: Int32 = 0 -extension EnumWrapper.InvasionContext: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EnumWrapper.InvasionContext] = [ - .pokestopIncident, - .rocketBalloon, - .questRewardIncident, - .crossPokestopIncident, - ] -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -extension EnumWrapper.CharacterCategory: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EnumWrapper.CharacterCategory] = [ - .unset, - .teamLeader, - .grunt, - .arlo, - .cliff, - .sierra, - .giovanni, - .gruntbf, - .gruntbm, - .eventNpc, - .playerTeamLeader, - ] + public init() {} } -extension EnumWrapper.PokestopStyle: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EnumWrapper.PokestopStyle] = [ - .pokestopNormal, - .pokestopRocketInvasion, - .pokestopRocketVictory, - .pokestopContest, - ] -} +public struct DiffInventoryProto { + // 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. -extension EnumWrapper.InvasionCharacterExpression: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EnumWrapper.InvasionCharacterExpression] = [ - .expressionUnset, - .placeholder1, - .placeholder2, - .placeholder3, - .placeholder4, - .greeting, - .challenge, - .victory, - .defeat, - ] -} + public var compactedItem: [InventoryItemProto] = [] -extension EnumWrapper.IncidentStartPhase: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EnumWrapper.IncidentStartPhase] = [ - .incidentStartOnSpinOrExit, - .incidentStartOnSpinNotExit, - .incidentStartOnExitNotSpin, - ] -} + public var lastCompactionMs: Int64 = 0 -#endif // swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} -public struct EquipBadgeOutProto { +public struct DiskEncounterOutProto { // 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. - public var result: EquipBadgeOutProto.Result = .unset + public var result: DiskEncounterOutProto.Result = .unknown + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var equipped: EquippedBadgeProto { - get {return _equipped ?? EquippedBadgeProto()} - set {_equipped = newValue} + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} } - /// Returns true if `equipped` has been explicitly set. - public var hasEquipped: Bool {return self._equipped != nil} - /// Clears the value of `equipped`. Subsequent reads from it will return its default value. - public mutating func clearEquipped() {self._equipped = nil} + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var arplusAttemptsUntilFlee: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 + case unknown // = 0 case success // = 1 - case cooldownActive // = 2 - case notQualified // = 3 + case notAvailable // = 2 + case notInRange // = 3 + case encounterAlreadyFinished // = 4 + case pokemonInventoryFull // = 5 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .unknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset + case 0: self = .unknown case 1: self = .success - case 2: self = .cooldownActive - case 3: self = .notQualified + case 2: self = .notAvailable + case 3: self = .notInRange + case 4: self = .encounterAlreadyFinished + case 5: self = .pokemonInventoryFull default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 + case .unknown: return 0 case .success: return 1 - case .cooldownActive: return 2 - case .notQualified: return 3 + case .notAvailable: return 2 + case .notInRange: return 3 + case .encounterAlreadyFinished: return 4 + case .pokemonInventoryFull: return 5 case .UNRECOGNIZED(let i): return i } } @@ -57819,717 +59651,966 @@ public struct EquipBadgeOutProto { public init() {} - fileprivate var _equipped: EquippedBadgeProto? = nil + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension EquipBadgeOutProto.Result: CaseIterable { +extension DiskEncounterOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EquipBadgeOutProto.Result] = [ - .unset, + public static var allCases: [DiskEncounterOutProto.Result] = [ + .unknown, .success, - .cooldownActive, - .notQualified, + .notAvailable, + .notInRange, + .encounterAlreadyFinished, + .pokemonInventoryFull, ] } #endif // swift(>=4.2) -public struct EquipBadgeProto { +public struct DiskEncounterProto { // 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. - public var badge: HoloBadgeType = .badgeUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var encounterID: Int64 = 0 - public init() {} -} + public var fortID: String = String() -public struct EquippedBadgeProto { - // 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. + public var playerLatDegrees: Double = 0 - public var equippedBadge: HoloBadgeType = .badgeUnset + public var playerLngDegrees: Double = 0 - public var level: Int32 = 0 + public var gymLatDegrees: Double = 0 - public var nextEquipChangeAllowedTimestampMs: Int64 = 0 + public var gymLngDegrees: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EquippedBadgeSettingsProto { +public struct DisplayWeatherProto { // 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. - public var equipBadgeCooldownMs: Int64 = 0 - - public var catchProbabilityBonus: [Float] = [] - - public var fleeProbabilityBonus: [Float] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var cloudLevel: DisplayWeatherProto.DisplayLevel = .level0 - public init() {} -} + public var rainLevel: DisplayWeatherProto.DisplayLevel = .level0 -public struct EventBadgeSettingsProto { - // 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. + public var windLevel: DisplayWeatherProto.DisplayLevel = .level0 - public var validFromMs: Int64 = 0 + public var snowLevel: DisplayWeatherProto.DisplayLevel = .level0 - public var validToMs: Int64 = 0 + public var fogLevel: DisplayWeatherProto.DisplayLevel = .level0 - public var mutuallyExclusiveBadges: [HoloBadgeType] = [] + public var windDirection: Int32 = 0 - public var automaticallyAwardBadge: Bool = false + public var specialEffectLevel: DisplayWeatherProto.DisplayLevel = .level0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct EventBannerSectionProto { - // 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. - - public var eventIcon: String = String() - - public var titleText: String = String() - - public var bodyText: String = String() - - public var imageURL: String = String() - - public var headerImageURL: String = String() - - public var imageOverlayText: String = String() - - public var linkFromImage: String = String() + public enum DisplayLevel: SwiftProtobuf.Enum { + public typealias RawValue = Int + case level0 // = 0 + case level1 // = 1 + case level2 // = 2 + case level3 // = 3 + case UNRECOGNIZED(Int) - public var imageSubText: String = String() + public init() { + self = .level0 + } - public var imageUrls: [String] = [] + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .level0 + case 1: self = .level1 + case 2: self = .level2 + case 3: self = .level3 + default: self = .UNRECOGNIZED(rawValue) + } + } - public var imageAutoScrollMs: Int64 = 0 + public var rawValue: Int { + switch self { + case .level0: return 0 + case .level1: return 1 + case .level2: return 2 + case .level3: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct EventInfoProto { - // 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. - - public var imageURL: String = String() - - public var iconURL: String = String() - - public var nameKey: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension DisplayWeatherProto.DisplayLevel: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DisplayWeatherProto.DisplayLevel] = [ + .level0, + .level1, + .level2, + .level3, + ] } -public struct EventSectionProto { +#endif // swift(>=4.2) + +public struct Distribution { // 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. - public var obString1: String { - get {return _storage._obString1} - set {_uniqueStorage()._obString1 = newValue} - } - - public var localTime1: GetLocalTimeOutProto.LocalTimeProto { - get {return _storage._localTime1 ?? GetLocalTimeOutProto.LocalTimeProto()} - set {_uniqueStorage()._localTime1 = newValue} - } - /// Returns true if `localTime1` has been explicitly set. - public var hasLocalTime1: Bool {return _storage._localTime1 != nil} - /// Clears the value of `localTime1`. Subsequent reads from it will return its default value. - public mutating func clearLocalTime1() {_uniqueStorage()._localTime1 = nil} - - public var obString2: String { - get {return _storage._obString2} - set {_uniqueStorage()._obString2 = newValue} - } - - public var bonusBox: [BonusBoxProto] { - get {return _storage._bonusBox} - set {_uniqueStorage()._bonusBox = newValue} - } + public var count: Int64 = 0 - public var localTime2: GetLocalTimeOutProto.LocalTimeProto { - get {return _storage._localTime2 ?? GetLocalTimeOutProto.LocalTimeProto()} - set {_uniqueStorage()._localTime2 = newValue} - } - /// Returns true if `localTime2` has been explicitly set. - public var hasLocalTime2: Bool {return _storage._localTime2 != nil} - /// Clears the value of `localTime2`. Subsequent reads from it will return its default value. - public mutating func clearLocalTime2() {_uniqueStorage()._localTime2 = nil} + public var mean: Float = 0 - public var obString3: String { - get {return _storage._obString3} - set {_uniqueStorage()._obString3 = newValue} - } + public var sumOfSquaredDeviation: Double = 0 - public var obString4: String { - get {return _storage._obString4} - set {_uniqueStorage()._obString4 = newValue} + public var range: Distribution.Range { + get {return _range ?? Distribution.Range()} + set {_range = newValue} } + /// Returns true if `range` has been explicitly set. + public var hasRange: Bool {return self._range != nil} + /// Clears the value of `range`. Subsequent reads from it will return its default value. + public mutating func clearRange() {self._range = nil} - public var obString5: String { - get {return _storage._obString5} - set {_uniqueStorage()._obString5 = newValue} + public var bucketOptions: Distribution.BucketOptions { + get {return _bucketOptions ?? Distribution.BucketOptions()} + set {_bucketOptions = newValue} } + /// Returns true if `bucketOptions` has been explicitly set. + public var hasBucketOptions: Bool {return self._bucketOptions != nil} + /// Clears the value of `bucketOptions`. Subsequent reads from it will return its default value. + public mutating func clearBucketOptions() {self._bucketOptions = nil} - public var timeStampMs: Int64 { - get {return _storage._timeStampMs} - set {_uniqueStorage()._timeStampMs = newValue} - } + public var bucketCounts: [Int64] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + public struct BucketOptions { + // 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. - fileprivate var _storage = _StorageClass.defaultInstance -} + public var bucketType: Distribution.BucketOptions.OneOf_BucketType? = nil -public struct EventSettingsProto { - // 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. + public var linearBuckets: Distribution.BucketOptions.LinearBuckets { + get { + if case .linearBuckets(let v)? = bucketType {return v} + return Distribution.BucketOptions.LinearBuckets() + } + set {bucketType = .linearBuckets(newValue)} + } - public var condolenceRibbonCountry: [String] = [] + public var exponentialBuckets: Distribution.BucketOptions.ExponentialBuckets { + get { + if case .exponentialBuckets(let v)? = bucketType {return v} + return Distribution.BucketOptions.ExponentialBuckets() + } + set {bucketType = .exponentialBuckets(newValue)} + } - public var enableEventLink: Bool = false + public var explicitBuckets: Distribution.BucketOptions.ExplicitBuckets { + get { + if case .explicitBuckets(let v)? = bucketType {return v} + return Distribution.BucketOptions.ExplicitBuckets() + } + set {bucketType = .explicitBuckets(newValue)} + } - public var enableEventLinkForChildren: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var eventWebtokenServerURL: String = String() + public enum OneOf_BucketType: Equatable { + case linearBuckets(Distribution.BucketOptions.LinearBuckets) + case exponentialBuckets(Distribution.BucketOptions.ExponentialBuckets) + case explicitBuckets(Distribution.BucketOptions.ExplicitBuckets) - public var enableEventLnt: Bool = false + #if !swift(>=4.1) + public static func ==(lhs: Distribution.BucketOptions.OneOf_BucketType, rhs: Distribution.BucketOptions.OneOf_BucketType) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.linearBuckets, .linearBuckets): return { + guard case .linearBuckets(let l) = lhs, case .linearBuckets(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.exponentialBuckets, .exponentialBuckets): return { + guard case .exponentialBuckets(let l) = lhs, case .exponentialBuckets(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.explicitBuckets, .explicitBuckets): return { + guard case .explicitBuckets(let l) = lhs, case .explicitBuckets(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } - public var eventLntURL: String = String() + public struct ExplicitBuckets { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var bounds: [Int64] = [] - public init() {} -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct EventTicketActiveTimeProto { - // 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. + public init() {} + } - public var eventTicket: Item = .unknown + public struct ExponentialBuckets { + // 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. - public var eventStartMs: Int64 = 0 + public var numFiniteBuckets: Int64 = 0 - public var eventEndMs: Int64 = 0 + public var growthFactor: Float = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var scale: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct LinearBuckets { + // 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. + + public var numFiniteBuckets: Int64 = 0 + + public var width: Int64 = 0 + + public var offset: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + } + + public struct Range { + // 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. + + public var min: Int64 = 0 + + public var max: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } public init() {} + + fileprivate var _range: Distribution.Range? = nil + fileprivate var _bucketOptions: Distribution.BucketOptions? = nil } -public struct EvolePreviewSettings { +public struct DojoSettingsProto { // 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. - public var enableEvolutionPreview: Bool = false - - public var enableMegaEvolutionPreview: Bool = false - - public var obBool: Bool = false + public var dojoEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EvolutionBranchProto { +public struct DownloadAllAssetsSettingsProto { // 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. - public var evolution: HoloPokemonId { - get {return _storage._evolution} - set {_uniqueStorage()._evolution = newValue} - } + public var enabled: Bool = false - public var evolutionItemRequirement: Item { - get {return _storage._evolutionItemRequirement} - set {_uniqueStorage()._evolutionItemRequirement = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var candyCost: Int32 { - get {return _storage._candyCost} - set {_uniqueStorage()._candyCost = newValue} - } + public init() {} +} - public var kmBuddyDistanceRequirement: Float { - get {return _storage._kmBuddyDistanceRequirement} - set {_uniqueStorage()._kmBuddyDistanceRequirement = newValue} - } +public struct DownloadAllAssetsTelemetry { + // 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. - public var form: PokemonDisplayProto.Form { - get {return _storage._form} - set {_uniqueStorage()._form = newValue} - } + public var downloadAllAssetsEventID: DownloadAllAssetsTelemetry.DownloadAllAssetsEventId = .unset - public var genderRequirement: PokemonDisplayProto.Gender { - get {return _storage._genderRequirement} - set {_uniqueStorage()._genderRequirement = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var lureItemRequirement: Item { - get {return _storage._lureItemRequirement} - set {_uniqueStorage()._lureItemRequirement = newValue} - } + public enum DownloadAllAssetsEventId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case downloadStarted // = 1 + case downloadPaused // = 2 + case downloadCompleted // = 3 + case UNRECOGNIZED(Int) - public var mustBeBuddy: Bool { - get {return _storage._mustBeBuddy} - set {_uniqueStorage()._mustBeBuddy = newValue} - } + public init() { + self = .unset + } - public var onlyDaytime: Bool { - get {return _storage._onlyDaytime} - set {_uniqueStorage()._onlyDaytime = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .downloadStarted + case 2: self = .downloadPaused + case 3: self = .downloadCompleted + default: self = .UNRECOGNIZED(rawValue) + } + } - public var onlyNighttime: Bool { - get {return _storage._onlyNighttime} - set {_uniqueStorage()._onlyNighttime = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .downloadStarted: return 1 + case .downloadPaused: return 2 + case .downloadCompleted: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var priority: Int32 { - get {return _storage._priority} - set {_uniqueStorage()._priority = newValue} } - public var noCandyCostViaTrade: Bool { - get {return _storage._noCandyCostViaTrade} - set {_uniqueStorage()._noCandyCostViaTrade = newValue} - } + public init() {} +} - public var temporaryEvolution: HoloTemporaryEvolutionId { - get {return _storage._temporaryEvolution} - set {_uniqueStorage()._temporaryEvolution = newValue} - } +#if swift(>=4.2) - public var temporaryEvolutionEnergyCost: Int32 { - get {return _storage._temporaryEvolutionEnergyCost} - set {_uniqueStorage()._temporaryEvolutionEnergyCost = newValue} - } +extension DownloadAllAssetsTelemetry.DownloadAllAssetsEventId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DownloadAllAssetsTelemetry.DownloadAllAssetsEventId] = [ + .unset, + .downloadStarted, + .downloadPaused, + .downloadCompleted, + ] +} - public var temporaryEvolutionEnergyCostSubsequent: Int32 { - get {return _storage._temporaryEvolutionEnergyCostSubsequent} - set {_uniqueStorage()._temporaryEvolutionEnergyCostSubsequent = newValue} - } +#endif // swift(>=4.2) - public var questDisplay: [EvolutionQuestInfoProto] { - get {return _storage._questDisplay} - set {_uniqueStorage()._questDisplay = newValue} - } +public struct DownloadGmTemplatesRequestProto { + // 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. - public var onlyUpsideDown: Bool { - get {return _storage._onlyUpsideDown} - set {_uniqueStorage()._onlyUpsideDown = newValue} - } + public var basisBatchID: Int64 = 0 - public var purificationEvolutionCandyCost: Int32 { - get {return _storage._purificationEvolutionCandyCost} - set {_uniqueStorage()._purificationEvolutionCandyCost = newValue} - } + public var batchID: Int64 = 0 - public var obBool1: Bool { - get {return _storage._obBool1} - set {_uniqueStorage()._obBool1 = newValue} - } + public var pageOffset: Int32 = 0 - public var obBool2: Bool { - get {return _storage._obBool2} - set {_uniqueStorage()._obBool2 = newValue} - } + public var applyExperiments: Bool = false - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } + public var basisExperimentID: [Int32] = [] - public var move: HoloPokemonMove { - get {return _storage._move} - set {_uniqueStorage()._move = newValue} - } + public var experimentID: [Int32] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct EvolutionChainDataProto { +public struct DownloadGmTemplatesResponseProto { // 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. - public var pokedexHeader: String = String() + public var result: DownloadGmTemplatesResponseProto.Result = .unset + + public var template: [ClientGameMasterTemplateProto] = [] + + public var deletedTemplate: [String] = [] + + public var batchID: UInt64 = 0 + + public var pageOffset: Int32 = 0 - public var evolutionChainEntry: [EvolutionChainEntryProto] = [] + public var experimentID: [Int32] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case complete // = 1 + case moreResults // = 2 + case batchIDNotLive // = 3 + case invalidBasisBatchID // = 4 + case wrongExperiments // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .complete + case 2: self = .moreResults + case 3: self = .batchIDNotLive + case 4: self = .invalidBasisBatchID + case 5: self = .wrongExperiments + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .complete: return 1 + case .moreResults: return 2 + case .batchIDNotLive: return 3 + case .invalidBasisBatchID: return 4 + case .wrongExperiments: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} } -public struct EvolutionChainDisplaySettingsProto { +#if swift(>=4.2) + +extension DownloadGmTemplatesResponseProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [DownloadGmTemplatesResponseProto.Result] = [ + .unset, + .complete, + .moreResults, + .batchIDNotLive, + .invalidBasisBatchID, + .wrongExperiments, + ] +} + +#endif // swift(>=4.2) + +public struct DownloadSettingsActionProto { // 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. - public var pokemon: HoloPokemonId = .missingno - - public var chain: [EvolutionChainDataProto] = [] + public var sha1: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EvolutionChainEntryProto { +public struct DownloadSettingsResponseProto { // 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. - public var pokemon: HoloPokemonId = .missingno - - public var megaEvolution: HoloTemporaryEvolutionId = .tempEvolutionUnset + public var error: String = String() - public var form: PokemonDisplayProto.Form = .unset + public var sha1: String = String() - public var gender: PokemonDisplayProto.Gender = .unset + public var values: GlobalSettingsProto { + get {return _values ?? GlobalSettingsProto()} + set {_values = newValue} + } + /// Returns true if `values` has been explicitly set. + public var hasValues: Bool {return self._values != nil} + /// Clears the value of `values`. Subsequent reads from it will return its default value. + public mutating func clearValues() {self._values = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _values: GlobalSettingsProto? = nil } -public struct EvolutionQuestInfoProto { +public struct DownloadUrlEntryProto { // 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. - public var questRequirementTemplateID: String = String() + public var assetID: String = String() - public var description_p: String = String() + public var url: String = String() - public var target: Int32 = 0 + public var size: Int32 = 0 + + public var checksum: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EvolutionV2SettingsProto { +public struct DownloadUrlOutProto { // 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. - public var isEnabled: Bool = false + public var downloadUrls: [DownloadUrlEntryProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EvolveIntoPokemonQuestProto { +public struct DownloadUrlRequestProto { // 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. - public var uniquePokemonID: [HoloPokemonId] = [] + public var assetID: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct EvolvePokemonOutProto { +public struct Downstream { // 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. - public var result: EvolvePokemonOutProto.Result = .unset + public var message: Downstream.OneOf_Message? = nil - public var evolvedPokemon: PokemonProto { - get {return _evolvedPokemon ?? PokemonProto()} - set {_evolvedPokemon = newValue} + public var downstream: DownstreamActionMessages { + get { + if case .downstream(let v)? = message {return v} + return DownstreamActionMessages() + } + set {message = .downstream(newValue)} } - /// Returns true if `evolvedPokemon` has been explicitly set. - public var hasEvolvedPokemon: Bool {return self._evolvedPokemon != nil} - /// Clears the value of `evolvedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearEvolvedPokemon() {self._evolvedPokemon = nil} - public var expAwarded: Int32 = 0 + public var response: Downstream.ResponseWithStatus { + get { + if case .response(let v)? = message {return v} + return Downstream.ResponseWithStatus() + } + set {message = .response(newValue)} + } - public var candyAwarded: Int32 = 0 + public var probe: Downstream.ProbeRequest { + get { + if case .probe(let v)? = message {return v} + return Downstream.ProbeRequest() + } + set {message = .probe(newValue)} + } + + public var drain: Downstream.Drain { + get { + if case .drain(let v)? = message {return v} + return Downstream.Drain() + } + set {message = .drain(newValue)} + } - public var obMegaEvolePokemon: ObMegaEvolvePokemonProtoField { - get {return _obMegaEvolePokemon ?? ObMegaEvolvePokemonProtoField()} - set {_obMegaEvolePokemon = newValue} + public var connected: Downstream.Connected { + get { + if case .connected(let v)? = message {return v} + return Downstream.Connected() + } + set {message = .connected(newValue)} } - /// Returns true if `obMegaEvolePokemon` has been explicitly set. - public var hasObMegaEvolePokemon: Bool {return self._obMegaEvolePokemon != nil} - /// Clears the value of `obMegaEvolePokemon`. Subsequent reads from it will return its default value. - public mutating func clearObMegaEvolePokemon() {self._obMegaEvolePokemon = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failedPokemonMissing // = 2 - case failedInsufficientResources // = 3 - case failedPokemonCannotEvolve // = 4 - case failedPokemonIsDeployed // = 5 - case failedInvalidItemRequirement // = 6 - case UNRECOGNIZED(Int) + public enum OneOf_Message: Equatable { + case downstream(DownstreamActionMessages) + case response(Downstream.ResponseWithStatus) + case probe(Downstream.ProbeRequest) + case drain(Downstream.Drain) + case connected(Downstream.Connected) - public init() { - self = .unset + #if !swift(>=4.1) + public static func ==(lhs: Downstream.OneOf_Message, rhs: Downstream.OneOf_Message) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.downstream, .downstream): return { + guard case .downstream(let l) = lhs, case .downstream(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.response, .response): return { + guard case .response(let l) = lhs, case .response(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.probe, .probe): return { + guard case .probe(let l) = lhs, case .probe(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.drain, .drain): return { + guard case .drain(let l) = lhs, case .drain(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.connected, .connected): return { + guard case .connected(let l) = lhs, case .connected(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } } + #endif + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failedPokemonMissing - case 3: self = .failedInsufficientResources - case 4: self = .failedPokemonCannotEvolve - case 5: self = .failedPokemonIsDeployed - case 6: self = .failedInvalidItemRequirement - default: self = .UNRECOGNIZED(rawValue) + public struct Connected { + // 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. + + public var debugMessage: String = String() + + public var ttlSeconds: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct Drain { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct ProbeRequest { + // 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. + + public var probeStartMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct ResponseWithStatus { + // 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. + + public var response: Downstream.ResponseWithStatus.OneOf_Response? = nil + + public var subscribe: Downstream.SubscriptionResponse { + get { + if case .subscribe(let v)? = response {return v} + return Downstream.SubscriptionResponse() } + set {response = .subscribe(newValue)} } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failedPokemonMissing: return 2 - case .failedInsufficientResources: return 3 - case .failedPokemonCannotEvolve: return 4 - case .failedPokemonIsDeployed: return 5 - case .failedInvalidItemRequirement: return 6 - case .UNRECOGNIZED(let i): return i + public var requestID: Int64 = 0 + + public var responseStatus: Downstream.ResponseWithStatus.Status = .unset + + public var debugMessage: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Response: Equatable { + case subscribe(Downstream.SubscriptionResponse) + + #if !swift(>=4.1) + public static func ==(lhs: Downstream.ResponseWithStatus.OneOf_Response, rhs: Downstream.ResponseWithStatus.OneOf_Response) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.subscribe, .subscribe): return { + guard case .subscribe(let l) = lhs, case .subscribe(let r) = rhs else { preconditionFailure() } + return l == r + }() + } + } + #endif + } + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case ok // = 1 + case unknown // = 2 + case unauthenticated // = 3 + case unauthorized // = 4 + case badRequest // = 5 + case unimplemented // = 6 + case rateLimited // = 7 + case connectionLimited // = 8 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .ok + case 2: self = .unknown + case 3: self = .unauthenticated + case 4: self = .unauthorized + case 5: self = .badRequest + case 6: self = .unimplemented + case 7: self = .rateLimited + case 8: self = .connectionLimited + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .ok: return 1 + case .unknown: return 2 + case .unauthenticated: return 3 + case .unauthorized: return 4 + case .badRequest: return 5 + case .unimplemented: return 6 + case .rateLimited: return 7 + case .connectionLimited: return 8 + case .UNRECOGNIZED(let i): return i + } } + } + public init() {} } - public init() {} + public struct SubscriptionResponse { + // 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. - fileprivate var _evolvedPokemon: PokemonProto? = nil - fileprivate var _obMegaEvolePokemon: ObMegaEvolvePokemonProtoField? = nil + public var status: Downstream.SubscriptionResponse.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case ok // = 1 + case unknown // = 2 + case topicLimited // = 3 + case maximumTopicIDLengthExceeded // = 4 + case topicIDInvalid // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .ok + case 2: self = .unknown + case 3: self = .topicLimited + case 4: self = .maximumTopicIDLengthExceeded + case 5: self = .topicIDInvalid + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .ok: return 1 + case .unknown: return 2 + case .topicLimited: return 3 + case .maximumTopicIDLengthExceeded: return 4 + case .topicIDInvalid: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public init() {} } #if swift(>=4.2) -extension EvolvePokemonOutProto.Result: CaseIterable { +extension Downstream.ResponseWithStatus.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [EvolvePokemonOutProto.Result] = [ + public static var allCases: [Downstream.ResponseWithStatus.Status] = [ .unset, - .success, - .failedPokemonMissing, - .failedInsufficientResources, - .failedPokemonCannotEvolve, - .failedPokemonIsDeployed, - .failedInvalidItemRequirement, + .ok, + .unknown, + .unauthenticated, + .unauthorized, + .badRequest, + .unimplemented, + .rateLimited, + .connectionLimited, + ] +} + +extension Downstream.SubscriptionResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [Downstream.SubscriptionResponse.Status] = [ + .unset, + .ok, + .unknown, + .topicLimited, + .maximumTopicIDLengthExceeded, + .topicIDInvalid, ] } #endif // swift(>=4.2) -public struct EvolvePokemonProto { +public struct DownstreamAction { // 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. - public var pokemonID: UInt64 = 0 - - public var evolutionItemRequirement: Item = .unknown - - public var targetPokemonID: HoloPokemonId = .missingno - - public var targetPokemonForm: PokemonDisplayProto.Form = .unset - - public var useSpecial: Bool = false - - public var obMegaEvolePokemon: Bool = false + public var method: Int32 = 0 - public var obEvoleField: ObEvoleField { - get {return _obEvoleField ?? ObEvoleField()} - set {_obEvoleField = newValue} - } - /// Returns true if `obEvoleField` has been explicitly set. - public var hasObEvoleField: Bool {return self._obEvoleField != nil} - /// Clears the value of `obEvoleField`. Subsequent reads from it will return its default value. - public mutating func clearObEvoleField() {self._obEvoleField = nil} + public var payload: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _obEvoleField: ObEvoleField? = nil } -public struct EvolvePokemonTelemetry { +public struct DownstreamActionMessages { // 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. - public var pokemon: PokemonTelemetry { - get {return _pokemon ?? PokemonTelemetry()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var evolvedPokemon: PokemonTelemetry { - get {return _evolvedPokemon ?? PokemonTelemetry()} - set {_evolvedPokemon = newValue} - } - /// Returns true if `evolvedPokemon` has been explicitly set. - public var hasEvolvedPokemon: Bool {return self._evolvedPokemon != nil} - /// Clears the value of `evolvedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearEvolvedPokemon() {self._evolvedPokemon = nil} + public var messages: [DownstreamAction] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _pokemon: PokemonTelemetry? = nil - fileprivate var _evolvedPokemon: PokemonTelemetry? = nil } -public struct ExRaidSettingsProto { +public struct DumbBeaconProto { // 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. - public var minimumExRaidShareLevel: FriendshipLevelMilestone = .friendshipLevelUnset - - ///todo: not in apk, need look better (maybe bool but i leave as int for look if > 1) - public var obExRaidSetting: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ExceptionCaugthDataProto { +public struct Duration { // 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. - public var obExceptionInt32: Int32 = 0 + public var seconds: Int64 = 0 - public var obException: ExceptionCaugthDataProto.ExceptionType = .noException + public var nanos: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ExceptionType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noException // = 0 - case UNRECOGNIZED(Int) - - public init() { - self = .noException - } + public init() {} +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noException - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct EchoOutProto { + // 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. - public var rawValue: Int { - switch self { - case .noException: return 0 - case .UNRECOGNIZED(let i): return i - } - } + public var context: String = String() - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) +public struct EchoProto { + // 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. -extension ExceptionCaugthDataProto.ExceptionType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ExceptionCaugthDataProto.ExceptionType] = [ - .noException, - ] -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -#endif // swift(>=4.2) + public init() {} +} -public struct ExceptionCaugthDataV2Proto { +public struct EditPokemonTagOutProto { // 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. - public var obInt32: Int32 = 0 - - public var type: ExceptionCaugthDataV2Proto.ExceptionType = .noException + public var editResult: [EditPokemonTagOutProto.Result] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ExceptionType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case noException // = 0 - case combatPubSub // = 1 + case unset // = 0 + case success // = 1 + case errorPlayerLevelTooLow // = 2 + case tagDoesNotExist // = 3 + case invalidTagName // = 4 + case invalidTagSortIndex // = 5 + case tagNameContainsProfanity // = 6 case UNRECOGNIZED(Int) public init() { - self = .noException + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .noException - case 1: self = .combatPubSub + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPlayerLevelTooLow + case 3: self = .tagDoesNotExist + case 4: self = .invalidTagName + case 5: self = .invalidTagSortIndex + case 6: self = .tagNameContainsProfanity default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .noException: return 0 - case .combatPubSub: return 1 + case .unset: return 0 + case .success: return 1 + case .errorPlayerLevelTooLow: return 2 + case .tagDoesNotExist: return 3 + case .invalidTagName: return 4 + case .invalidTagSortIndex: return 5 + case .tagNameContainsProfanity: return 6 case .UNRECOGNIZED(let i): return i } } @@ -58541,436 +60622,368 @@ public struct ExceptionCaugthDataV2Proto { #if swift(>=4.2) -extension ExceptionCaugthDataV2Proto.ExceptionType: CaseIterable { +extension EditPokemonTagOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ExceptionCaugthDataV2Proto.ExceptionType] = [ - .noException, - .combatPubSub, + public static var allCases: [EditPokemonTagOutProto.Result] = [ + .unset, + .success, + .errorPlayerLevelTooLow, + .tagDoesNotExist, + .invalidTagName, + .invalidTagSortIndex, + .tagNameContainsProfanity, ] } #endif // swift(>=4.2) -public struct ExclusiveRaidCancellationProto { +public struct EditPokemonTagProto { // 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. - public var fortID: String = String() - - public var startTimeMs: Int64 = 0 + public var tagToEdit: [PokemonTagProto] = [] - public var endTimeMs: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var imageURL: String = String() + public init() {} +} - public var latitude: Double = 0 +public struct EggCreateDetail { + // 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. - public var longitude: Double = 0 + public var hatchedTimeMs: Int64 = 0 - public var gymName: String = String() + public var playerHatchedS2CellID: Int64 = 0 - public var rewards: [LootItemProto] = [] + public var receivedTimeMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ExclusiveTicketInfoProto { +public struct EggDistributionProto { // 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. - public var raidSeed: Int64 { - get {return _storage._raidSeed} - set {_uniqueStorage()._raidSeed = newValue} - } + public var eggDistribution: [EggDistributionProto.EggDistributionEntryProto] = [] - public var fortID: String { - get {return _storage._fortID} - set {_uniqueStorage()._fortID = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var startTimeMs: Int64 { - get {return _storage._startTimeMs} - set {_uniqueStorage()._startTimeMs = newValue} - } + public struct EggDistributionEntryProto { + // 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. - public var endTimeMs: Int64 { - get {return _storage._endTimeMs} - set {_uniqueStorage()._endTimeMs = newValue} - } + public var rarity: HoloPokemonClass = .pokemonClassNormal - public var imageURL: String { - get {return _storage._imageURL} - set {_uniqueStorage()._imageURL = newValue} - } + public var pokemonID: HoloPokemonId = .missingno - public var latitude: Double { - get {return _storage._latitude} - set {_uniqueStorage()._latitude = newValue} - } + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - public var longitude: Double { - get {return _storage._longitude} - set {_uniqueStorage()._longitude = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var gymName: String { - get {return _storage._gymName} - set {_uniqueStorage()._gymName = newValue} - } + public init() {} - public var spawnTimeMs: Int64 { - get {return _storage._spawnTimeMs} - set {_uniqueStorage()._spawnTimeMs = newValue} + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil } - public var isCancelled: Bool { - get {return _storage._isCancelled} - set {_uniqueStorage()._isCancelled = newValue} - } + public init() {} +} - public var raidPokemon: PokemonProto { - get {return _storage._raidPokemon ?? PokemonProto()} - set {_uniqueStorage()._raidPokemon = newValue} - } - /// Returns true if `raidPokemon` has been explicitly set. - public var hasRaidPokemon: Bool {return _storage._raidPokemon != nil} - /// Clears the value of `raidPokemon`. Subsequent reads from it will return its default value. - public mutating func clearRaidPokemon() {_uniqueStorage()._raidPokemon = nil} +public struct EggHatchImprovementsSettingsProto { + // 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. - public var inviter: SharedExclusiveTicketTrainerInfo { - get {return _storage._inviter ?? SharedExclusiveTicketTrainerInfo()} - set {_uniqueStorage()._inviter = newValue} - } - /// Returns true if `inviter` has been explicitly set. - public var hasInviter: Bool {return _storage._inviter != nil} - /// Clears the value of `inviter`. Subsequent reads from it will return its default value. - public mutating func clearInviter() {_uniqueStorage()._inviter = nil} + public var featureEnabled: Bool = false - public var invitee: SharedExclusiveTicketTrainerInfo { - get {return _storage._invitee ?? SharedExclusiveTicketTrainerInfo()} - set {_uniqueStorage()._invitee = newValue} - } - /// Returns true if `invitee` has been explicitly set. - public var hasInvitee: Bool {return _storage._invitee != nil} - /// Clears the value of `invitee`. Subsequent reads from it will return its default value. - public mutating func clearInvitee() {_uniqueStorage()._invitee = nil} + public var bootDelayMs: Int32 = 0 + + public var raidInviteHardCapMs: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct ExperienceBoostAttributesProto { +public struct EggHatchTelemetry { // 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. - public var xpMultiplier: Float = 0 + public var numEggsHatched: Int32 = 0 - public var boostDurationMs: Int32 = 0 + public var numAnimationsSkipped: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ExtendedOverrideSettingsProto { +public struct EggIncubatorAttributesProto { // 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. - public var tempEvolutionID: HoloTemporaryEvolutionId = .tempEvolutionUnset + public var incubatorType: EggIncubatorType = .incubatorUnset + + public var uses: Int32 = 0 - public var pokemonSizeSettings: PokemonSizeSettingsProto { - get {return _pokemonSizeSettings ?? PokemonSizeSettingsProto()} - set {_pokemonSizeSettings = newValue} - } - /// Returns true if `pokemonSizeSettings` has been explicitly set. - public var hasPokemonSizeSettings: Bool {return self._pokemonSizeSettings != nil} - /// Clears the value of `pokemonSizeSettings`. Subsequent reads from it will return its default value. - public mutating func clearPokemonSizeSettings() {self._pokemonSizeSettings = nil} + public var distanceMultiplier: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _pokemonSizeSettings: PokemonSizeSettingsProto? = nil } -public struct ExtendedPrimalSettingsProto { +public struct EggIncubatorProto { // 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. - public var enabled: Bool = false + public var itemID: String = String() + + public var item: Item = .unknown + + public var incubatorType: EggIncubatorType = .incubatorUnset + + public var usesRemaining: Int32 = 0 + + public var pokemonID: Int64 = 0 + + public var startKmWalked: Double = 0 + + public var targetKmWalked: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ExtensionRangeOptions { +public struct EggIncubatorsProto { // 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. + public var eggIncubator: [EggIncubatorProto] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ExternalAddressableAssetsSettings { +public struct EggTelemetryProto { // 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. - public var obInt321: Int32 = 0 + public var eggLootTableID: String = String() - public var obInt322: Int32 = 0 + public var originalEggSlotType: EggSlotType = .eggSlotDefault public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FakeDataProto { +public struct EggTransparencySettingsProto { // 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. - public var fakePokemon: PokemonProto { - get {return _fakePokemon ?? PokemonProto()} - set {_fakePokemon = newValue} - } - /// Returns true if `fakePokemon` has been explicitly set. - public var hasFakePokemon: Bool {return self._fakePokemon != nil} - /// Clears the value of `fakePokemon`. Subsequent reads from it will return its default value. - public mutating func clearFakePokemon() {self._fakePokemon = nil} + public var enableEggDistribution: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} +} - fileprivate var _fakePokemon: PokemonProto? = nil +public struct EligibleContestPoolSettingsProto { + // 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. + + public var contest: [EligibleContestProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -public struct FavoritePokemonTelemetry { +public struct EligibleContestProto { // 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. - public var pokemon: PokemonTelemetry { - get {return _pokemon ?? PokemonTelemetry()} - set {_pokemon = newValue} + public var contest: ContestProto { + get {return _contest ?? ContestProto()} + set {_contest = newValue} } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} + /// Returns true if `contest` has been explicitly set. + public var hasContest: Bool {return self._contest != nil} + /// Clears the value of `contest`. Subsequent reads from it will return its default value. + public mutating func clearContest() {self._contest = nil} - public var favored: Bool = false + public var weight: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _pokemon: PokemonTelemetry? = nil + fileprivate var _contest: ContestProto? = nil } -public struct FbTokenProto { +public struct EnabledPokemonSettingsProto { // 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. - public var token: String = String() + public var enabledPokemonRange: [EnabledPokemonSettingsProto.Range] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct Range { + // 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. + + public var start: Int32 = 0 + + public var end: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} } -public struct Feature { +public struct EncounterOutProto { // 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. - public var metadata: Feature.OneOf_Metadata? = nil - - public var buildingMetadata: BuildingMetadata { - get { - if case .buildingMetadata(let v)? = metadata {return v} - return BuildingMetadata() - } - set {metadata = .buildingMetadata(newValue)} + public var pokemon: WildPokemonProto { + get {return _pokemon ?? WildPokemonProto()} + set {_pokemon = newValue} } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var roadMetadata: RoadMetadata { - get { - if case .roadMetadata(let v)? = metadata {return v} - return RoadMetadata() - } - set {metadata = .roadMetadata(newValue)} - } + public var background: EncounterOutProto.Background = .park - public var transitMetadata: TransitMetadata { - get { - if case .transitMetadata(let v)? = metadata {return v} - return TransitMetadata() - } - set {metadata = .transitMetadata(newValue)} - } + public var status: EncounterOutProto.Status = .encounterError - public var geometry: Geometry { - get {return _geometry ?? Geometry()} - set {_geometry = newValue} + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} } - /// Returns true if `geometry` has been explicitly set. - public var hasGeometry: Bool {return self._geometry != nil} - /// Clears the value of `geometry`. Subsequent reads from it will return its default value. - public mutating func clearGeometry() {self._geometry = nil} + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} - public var label: Label { - get {return _label ?? Label()} - set {_label = newValue} - } - /// Returns true if `label` has been explicitly set. - public var hasLabel: Bool {return self._label != nil} - /// Clears the value of `label`. Subsequent reads from it will return its default value. - public mutating func clearLabel() {self._label = nil} + public var activeItem: Item = .unknown + + public var arplusAttemptsUntilFlee: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Metadata: Equatable { - case buildingMetadata(BuildingMetadata) - case roadMetadata(RoadMetadata) - case transitMetadata(TransitMetadata) + public enum Background: SwiftProtobuf.Enum { + public typealias RawValue = Int + case park // = 0 + case desert // = 1 + case beach // = 2 + case lake // = 3 + case river // = 4 + case ocean // = 5 + case UNRECOGNIZED(Int) - #if !swift(>=4.1) - public static func ==(lhs: Feature.OneOf_Metadata, rhs: Feature.OneOf_Metadata) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.buildingMetadata, .buildingMetadata): return { - guard case .buildingMetadata(let l) = lhs, case .buildingMetadata(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.roadMetadata, .roadMetadata): return { - guard case .roadMetadata(let l) = lhs, case .roadMetadata(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.transitMetadata, .transitMetadata): return { - guard case .transitMetadata(let l) = lhs, case .transitMetadata(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } + public init() { + self = .park } - #endif - } - - public init() {} - - fileprivate var _geometry: Geometry? = nil - fileprivate var _label: Label? = nil -} - -public struct FeatureUnlockLevelSettings { - // 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. - - public var bulkPostcardDeleteEnabled: Int32 = 0 - - public var obInt322: Int32 = 0 - - public var obInt323: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} -public struct FeedPokemonTelemetry { - // 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. + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .park + case 1: self = .desert + case 2: self = .beach + case 3: self = .lake + case 4: self = .river + case 5: self = .ocean + default: self = .UNRECOGNIZED(rawValue) + } + } - public var status: Int32 = 0 + public var rawValue: Int { + switch self { + case .park: return 0 + case .desert: return 1 + case .beach: return 2 + case .lake: return 3 + case .river: return 4 + case .ocean: return 5 + case .UNRECOGNIZED(let i): return i + } + } - public var pokemon: PokemonTelemetry { - get {return _pokemon ?? PokemonTelemetry()} - set {_pokemon = newValue} } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var gymID: String = String() - - public var team: Team = .unset - - public var defenderCount: Int32 = 0 - - public var motivation: Int32 = 0 - - public var cpNow: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} - - fileprivate var _pokemon: PokemonTelemetry? = nil -} - -public struct FestivalSettingsProto { - // 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. - - public var festivalType: FestivalSettingsProto.FestivalType = .none - - public var key: String = String() - - public var vector: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum FestivalType: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case none // = 0 - case halloween // = 1 - case holiday // = 2 - case rocket // = 3 + case encounterError // = 0 + case encounterSuccess // = 1 + case encounterNotFound // = 2 + case encounterClosed // = 3 + case encounterPokemonFled // = 4 + case encounterNotInRange // = 5 + case encounterAlreadyHappened // = 6 + case pokemonInventoryFull // = 7 case UNRECOGNIZED(Int) public init() { - self = .none + self = .encounterError } public init?(rawValue: Int) { switch rawValue { - case 0: self = .none - case 1: self = .halloween - case 2: self = .holiday - case 3: self = .rocket + case 0: self = .encounterError + case 1: self = .encounterSuccess + case 2: self = .encounterNotFound + case 3: self = .encounterClosed + case 4: self = .encounterPokemonFled + case 5: self = .encounterNotInRange + case 6: self = .encounterAlreadyHappened + case 7: self = .pokemonInventoryFull default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .none: return 0 - case .halloween: return 1 - case .holiday: return 2 - case .rocket: return 3 + case .encounterError: return 0 + case .encounterSuccess: return 1 + case .encounterNotFound: return 2 + case .encounterClosed: return 3 + case .encounterPokemonFled: return 4 + case .encounterNotInRange: return 5 + case .encounterAlreadyHappened: return 6 + case .pokemonInventoryFull: return 7 case .UNRECOGNIZED(let i): return i } } @@ -58978,37 +60991,69 @@ public struct FestivalSettingsProto { } public init() {} + + fileprivate var _pokemon: WildPokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension FestivalSettingsProto.FestivalType: CaseIterable { +extension EncounterOutProto.Background: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FestivalSettingsProto.FestivalType] = [ - .none, - .halloween, - .holiday, - .rocket, + public static var allCases: [EncounterOutProto.Background] = [ + .park, + .desert, + .beach, + .lake, + .river, + .ocean, + ] +} + +extension EncounterOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [EncounterOutProto.Status] = [ + .encounterError, + .encounterSuccess, + .encounterNotFound, + .encounterClosed, + .encounterPokemonFled, + .encounterNotInRange, + .encounterAlreadyHappened, + .pokemonInventoryFull, ] } #endif // swift(>=4.2) -public struct FetchAllNewsOutProto { +public struct EncounterPhotobombOutProto { // 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. - public var result: FetchAllNewsOutProto.Result = .unset + public var result: EncounterPhotobombOutProto.Result = .unset - public var currentNews: CurrentNewsProto { - get {return _currentNews ?? CurrentNewsProto()} - set {_currentNews = newValue} + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} } - /// Returns true if `currentNews` has been explicitly set. - public var hasCurrentNews: Bool {return self._currentNews != nil} - /// Clears the value of `currentNews`. Subsequent reads from it will return its default value. - public mutating func clearCurrentNews() {self._currentNews = nil} + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var arplusAttemptsUntilFlee: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -59016,7 +61061,9 @@ public struct FetchAllNewsOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case noNewsFound // = 2 + case noEncounterAvailable // = 2 + case pokemonInventoryFull // = 3 + case errorUnknown // = 4 case UNRECOGNIZED(Int) public init() { @@ -59027,7 +61074,9 @@ public struct FetchAllNewsOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .noNewsFound + case 2: self = .noEncounterAvailable + case 3: self = .pokemonInventoryFull + case 4: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -59036,7 +61085,9 @@ public struct FetchAllNewsOutProto { switch self { case .unset: return 0 case .success: return 1 - case .noNewsFound: return 2 + case .noEncounterAvailable: return 2 + case .pokemonInventoryFull: return 3 + case .errorUnknown: return 4 case .UNRECOGNIZED(let i): return i } } @@ -59045,58 +61096,92 @@ public struct FetchAllNewsOutProto { public init() {} - fileprivate var _currentNews: CurrentNewsProto? = nil + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension FetchAllNewsOutProto.Result: CaseIterable { +extension EncounterPhotobombOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FetchAllNewsOutProto.Result] = [ + public static var allCases: [EncounterPhotobombOutProto.Result] = [ .unset, .success, - .noNewsFound, + .noEncounterAvailable, + .pokemonInventoryFull, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct FetchAllNewsProto { +public struct EncounterPhotobombProto { // 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. + public var encounterID: UInt64 = 0 + + public var encounterLocation: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FetchNewsfeedRequest { +public struct EncounterPokemonTelemetry { // 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. - public var newsfeedChannel: [NewsfeedPost.NewsfeedChannel] = [] + public var pokemon: PokemonTelemetry { + get {return _pokemon ?? PokemonTelemetry()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var languageVersion: String = String() + public var mapPokemonType: String = String() - public var countryCode: String = String() + public var arEnabled: Bool = false + + public var arPlusEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _pokemon: PokemonTelemetry? = nil } -public struct FetchNewsfeedResponse { +public struct EncounterPokestopEncounterOutProto { // 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. - public var result: FetchNewsfeedResponse.Result = .unset + public var result: EncounterPokestopEncounterOutProto.Result = .unset - public var postRecord: [NewsfeedPostRecord] = [] + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var nextPageToken: String = String() + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -59104,8 +61189,9 @@ public struct FetchNewsfeedResponse { public typealias RawValue = Int case unset // = 0 case success // = 1 - case internalError // = 2 - case channelNotDefined // = 3 + case noEncounterAvailable // = 2 + case pokemonInventoryFull // = 3 + case errorUnknown // = 4 case UNRECOGNIZED(Int) public init() { @@ -59116,8 +61202,9 @@ public struct FetchNewsfeedResponse { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .internalError - case 3: self = .channelNotDefined + case 2: self = .noEncounterAvailable + case 3: self = .pokemonInventoryFull + case 4: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -59126,8 +61213,9 @@ public struct FetchNewsfeedResponse { switch self { case .unset: return 0 case .success: return 1 - case .internalError: return 2 - case .channelNotDefined: return 3 + case .noEncounterAvailable: return 2 + case .pokemonInventoryFull: return 3 + case .errorUnknown: return 4 case .UNRECOGNIZED(let i): return i } } @@ -59135,474 +61223,252 @@ public struct FetchNewsfeedResponse { } public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension FetchNewsfeedResponse.Result: CaseIterable { +extension EncounterPokestopEncounterOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FetchNewsfeedResponse.Result] = [ + public static var allCases: [EncounterPokestopEncounterOutProto.Result] = [ .unset, .success, - .internalError, - .channelNotDefined, + .noEncounterAvailable, + .pokemonInventoryFull, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct Field { +public struct EncounterPokestopEncounterProto { // 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. - public var kind: Field.Kind = .typeUnknown - - public var cardinality: Field.Cardinality = .unknown - - public var number: Int32 = 0 - - public var name: String = String() - - public var typeURL: String = String() - - public var oneofIndex: Int32 = 0 - - public var packed: Bool = false - - public var options: [Option] = [] - - public var jsonName: String = String() + public var encounterID: UInt64 = 0 - public var defaultValue: String = String() + public var encounterLocation: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Cardinality: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case `optional` // = 1 - case `required` // = 2 - case repeated // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .optional - case 2: self = .required - case 3: self = .repeated - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .optional: return 1 - case .required: return 2 - case .repeated: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public init() {} +} - } +public struct EncounterProto { + // 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. - public enum Kind: SwiftProtobuf.Enum { - public typealias RawValue = Int - case typeUnknown // = 0 - case typeDouble // = 1 - case typeFloat // = 2 - case typeInt64 // = 3 - case typeUint64 // = 4 - case typeInt32 // = 5 - case typeFixed64 // = 6 - case typeFixed32 // = 7 - case typeBool // = 8 - case typeString // = 9 - case typeGroup // = 10 - case typeMessage // = 11 - case typeBytes // = 12 - case typeUint32 // = 13 - case typeEnum // = 14 - case typeSfixed32 // = 15 - case typeSfixed64 // = 16 - case typeSint32 // = 17 - case typeSint64 // = 18 - case UNRECOGNIZED(Int) + public var encounterID: UInt64 = 0 - public init() { - self = .typeUnknown - } + public var spawnpointID: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .typeUnknown - case 1: self = .typeDouble - case 2: self = .typeFloat - case 3: self = .typeInt64 - case 4: self = .typeUint64 - case 5: self = .typeInt32 - case 6: self = .typeFixed64 - case 7: self = .typeFixed32 - case 8: self = .typeBool - case 9: self = .typeString - case 10: self = .typeGroup - case 11: self = .typeMessage - case 12: self = .typeBytes - case 13: self = .typeUint32 - case 14: self = .typeEnum - case 15: self = .typeSfixed32 - case 16: self = .typeSfixed64 - case 17: self = .typeSint32 - case 18: self = .typeSint64 - default: self = .UNRECOGNIZED(rawValue) - } - } + public var playerLatDegrees: Double = 0 - public var rawValue: Int { - switch self { - case .typeUnknown: return 0 - case .typeDouble: return 1 - case .typeFloat: return 2 - case .typeInt64: return 3 - case .typeUint64: return 4 - case .typeInt32: return 5 - case .typeFixed64: return 6 - case .typeFixed32: return 7 - case .typeBool: return 8 - case .typeString: return 9 - case .typeGroup: return 10 - case .typeMessage: return 11 - case .typeBytes: return 12 - case .typeUint32: return 13 - case .typeEnum: return 14 - case .typeSfixed32: return 15 - case .typeSfixed64: return 16 - case .typeSint32: return 17 - case .typeSint64: return 18 - case .UNRECOGNIZED(let i): return i - } - } + public var playerLngDegrees: Double = 0 - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) - -extension Field.Cardinality: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Field.Cardinality] = [ - .unknown, - .optional, - .required, - .repeated, - ] -} - -extension Field.Kind: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Field.Kind] = [ - .typeUnknown, - .typeDouble, - .typeFloat, - .typeInt64, - .typeUint64, - .typeInt32, - .typeFixed64, - .typeFixed32, - .typeBool, - .typeString, - .typeGroup, - .typeMessage, - .typeBytes, - .typeUint32, - .typeEnum, - .typeSfixed32, - .typeSfixed64, - .typeSint32, - .typeSint64, - ] -} - -#endif // swift(>=4.2) - -public struct FieldDescriptorProto { +public struct EncounterSettingsProto { // 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. - public var name: String = String() - - public var number: Int32 = 0 + public var spinBonusThreshold: Float { + get {return _storage._spinBonusThreshold} + set {_uniqueStorage()._spinBonusThreshold = newValue} + } - public var typeName: String = String() + public var excellentThrowThreshold: Float { + get {return _storage._excellentThrowThreshold} + set {_uniqueStorage()._excellentThrowThreshold = newValue} + } - public var extendee: String = String() + public var greatThrowThreshold: Float { + get {return _storage._greatThrowThreshold} + set {_uniqueStorage()._greatThrowThreshold = newValue} + } - public var defaultValue: String = String() + public var niceThrowThreshold: Float { + get {return _storage._niceThrowThreshold} + set {_uniqueStorage()._niceThrowThreshold = newValue} + } - public var oneofIndex: Int32 = 0 + public var milestoneThreshold: Int32 { + get {return _storage._milestoneThreshold} + set {_uniqueStorage()._milestoneThreshold = newValue} + } - public var jsonName: String = String() + public var arPlusModeEnabled: Bool { + get {return _storage._arPlusModeEnabled} + set {_uniqueStorage()._arPlusModeEnabled = newValue} + } - public var options: FieldOptions { - get {return _options ?? FieldOptions()} - set {_options = newValue} + public var arCloseProximityThreshold: Float { + get {return _storage._arCloseProximityThreshold} + set {_uniqueStorage()._arCloseProximityThreshold = newValue} } - /// Returns true if `options` has been explicitly set. - public var hasOptions: Bool {return self._options != nil} - /// Clears the value of `options`. Subsequent reads from it will return its default value. - public mutating func clearOptions() {self._options = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var arLowAwarenessThreshold: Float { + get {return _storage._arLowAwarenessThreshold} + set {_uniqueStorage()._arLowAwarenessThreshold = newValue} + } - public enum Label: SwiftProtobuf.Enum { - public typealias RawValue = Int - case autoInvalid // = 0 - case `optional` // = 1 - case `required` // = 2 - case repeated // = 3 - case UNRECOGNIZED(Int) + public var arCloseProximityMultiplier: Float { + get {return _storage._arCloseProximityMultiplier} + set {_uniqueStorage()._arCloseProximityMultiplier = newValue} + } - public init() { - self = .autoInvalid - } + public var arAwarenessPenaltyThreshold: Float { + get {return _storage._arAwarenessPenaltyThreshold} + set {_uniqueStorage()._arAwarenessPenaltyThreshold = newValue} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .autoInvalid - case 1: self = .optional - case 2: self = .required - case 3: self = .repeated - default: self = .UNRECOGNIZED(rawValue) - } - } + public var arLowAwarenessMaxMultiplier: Float { + get {return _storage._arLowAwarenessMaxMultiplier} + set {_uniqueStorage()._arLowAwarenessMaxMultiplier = newValue} + } - public var rawValue: Int { - switch self { - case .autoInvalid: return 0 - case .optional: return 1 - case .required: return 2 - case .repeated: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var arHighAwarenessMinPenaltyMultiplier: Float { + get {return _storage._arHighAwarenessMinPenaltyMultiplier} + set {_uniqueStorage()._arHighAwarenessMinPenaltyMultiplier = newValue} + } + public var arPlusAttemptsUntilFleeMax: Int32 { + get {return _storage._arPlusAttemptsUntilFleeMax} + set {_uniqueStorage()._arPlusAttemptsUntilFleeMax = newValue} } - public enum TypeEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case autoInvalid // = 0 - case double // = 1 - case float // = 2 - case int64 // = 3 - case uint64 // = 4 - case int32 // = 5 - case fixed64 // = 6 - case fixed32 // = 7 - case bool // = 8 - case string // = 9 - case group // = 10 - case message // = 11 - case bytes // = 12 - case uint32 // = 13 - case `enum` // = 14 - case sfixed32 // = 15 - case sfixed64 // = 16 - case sint32 // = 17 - case sint64 // = 18 - case UNRECOGNIZED(Int) + public var arPlusAttemptsUntilFleeInfinite: Int32 { + get {return _storage._arPlusAttemptsUntilFleeInfinite} + set {_uniqueStorage()._arPlusAttemptsUntilFleeInfinite = newValue} + } - public init() { - self = .autoInvalid - } + public var escapedBonusMultiplierMax: Float { + get {return _storage._escapedBonusMultiplierMax} + set {_uniqueStorage()._escapedBonusMultiplierMax = newValue} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .autoInvalid - case 1: self = .double - case 2: self = .float - case 3: self = .int64 - case 4: self = .uint64 - case 5: self = .int32 - case 6: self = .fixed64 - case 7: self = .fixed32 - case 8: self = .bool - case 9: self = .string - case 10: self = .group - case 11: self = .message - case 12: self = .bytes - case 13: self = .uint32 - case 14: self = .enum - case 15: self = .sfixed32 - case 16: self = .sfixed64 - case 17: self = .sint32 - case 18: self = .sint64 - default: self = .UNRECOGNIZED(rawValue) - } - } + public var escapedBonusMultiplierByExcellentThrow: Float { + get {return _storage._escapedBonusMultiplierByExcellentThrow} + set {_uniqueStorage()._escapedBonusMultiplierByExcellentThrow = newValue} + } - public var rawValue: Int { - switch self { - case .autoInvalid: return 0 - case .double: return 1 - case .float: return 2 - case .int64: return 3 - case .uint64: return 4 - case .int32: return 5 - case .fixed64: return 6 - case .fixed32: return 7 - case .bool: return 8 - case .string: return 9 - case .group: return 10 - case .message: return 11 - case .bytes: return 12 - case .uint32: return 13 - case .enum: return 14 - case .sfixed32: return 15 - case .sfixed64: return 16 - case .sint32: return 17 - case .sint64: return 18 - case .UNRECOGNIZED(let i): return i - } - } + public var escapedBonusMultiplierByGreatThrow: Float { + get {return _storage._escapedBonusMultiplierByGreatThrow} + set {_uniqueStorage()._escapedBonusMultiplierByGreatThrow = newValue} + } + public var escapedBonusMultiplierByNiceThrow: Float { + get {return _storage._escapedBonusMultiplierByNiceThrow} + set {_uniqueStorage()._escapedBonusMultiplierByNiceThrow = newValue} } - public init() {} + public var encounterArenaSceneAssetName: String { + get {return _storage._encounterArenaSceneAssetName} + set {_uniqueStorage()._encounterArenaSceneAssetName = newValue} + } - fileprivate var _options: FieldOptions? = nil -} + public var globalStardustMultiplier: Float { + get {return _storage._globalStardustMultiplier} + set {_uniqueStorage()._globalStardustMultiplier = newValue} + } -#if swift(>=4.2) + public var globalCandyMultiplier: Float { + get {return _storage._globalCandyMultiplier} + set {_uniqueStorage()._globalCandyMultiplier = newValue} + } -extension FieldDescriptorProto.Label: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FieldDescriptorProto.Label] = [ - .autoInvalid, - .optional, - .required, - .repeated, - ] -} + public var criticalReticleThreshold: Float { + get {return _storage._criticalReticleThreshold} + set {_uniqueStorage()._criticalReticleThreshold = newValue} + } -extension FieldDescriptorProto.TypeEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FieldDescriptorProto.TypeEnum] = [ - .autoInvalid, - .double, - .float, - .int64, - .uint64, - .int32, - .fixed64, - .fixed32, - .bool, - .string, - .group, - .message, - .bytes, - .uint32, - .enum, - .sfixed32, - .sfixed64, - .sint32, - .sint64, - ] -} + public var criticalReticleCatchMultiplier: Float { + get {return _storage._criticalReticleCatchMultiplier} + set {_uniqueStorage()._criticalReticleCatchMultiplier = newValue} + } -#endif // swift(>=4.2) + public var criticalReticleCaptureRateThreshold: Float { + get {return _storage._criticalReticleCaptureRateThreshold} + set {_uniqueStorage()._criticalReticleCaptureRateThreshold = newValue} + } -public struct FieldMask { - // 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. + public var criticalReticleFallbackCatchMultiplier: Float { + get {return _storage._criticalReticleFallbackCatchMultiplier} + set {_uniqueStorage()._criticalReticleFallbackCatchMultiplier = newValue} + } - public var paths: [String] = [] + public var showLastThrowAnimation: Bool { + get {return _storage._showLastThrowAnimation} + set {_uniqueStorage()._showLastThrowAnimation = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct FieldOptions { +public struct EncounterTutorialCompleteOutProto { // 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. - public var packed: Bool = false - - public var lazy: Bool = false + public var result: EncounterTutorialCompleteOutProto.Result = .unset - public var deprecated: Bool = false + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var weak: Bool = false + public var scores: CaptureScoreProto { + get {return _scores ?? CaptureScoreProto()} + set {_scores = newValue} + } + /// Returns true if `scores` has been explicitly set. + public var hasScores: Bool {return self._scores != nil} + /// Clears the value of `scores`. Subsequent reads from it will return its default value. + public mutating func clearScores() {self._scores = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum CType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case string // = 0 - case cord // = 1 - case stringPiece // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .string - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .string - case 1: self = .cord - case 2: self = .stringPiece - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .string: return 0 - case .cord: return 1 - case .stringPiece: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum JSType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case jsNormal // = 0 - case jsString // = 1 - case jsNumber // = 2 + case unset // = 0 + case success // = 1 + case errorInvalidPokemon // = 2 case UNRECOGNIZED(Int) public init() { - self = .jsNormal + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .jsNormal - case 1: self = .jsString - case 2: self = .jsNumber + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidPokemon default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .jsNormal: return 0 - case .jsString: return 1 - case .jsNumber: return 2 + case .unset: return 0 + case .success: return 1 + case .errorInvalidPokemon: return 2 case .UNRECOGNIZED(let i): return i } } @@ -59610,546 +61476,707 @@ public struct FieldOptions { } public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _scores: CaptureScoreProto? = nil } #if swift(>=4.2) -extension FieldOptions.CType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FieldOptions.CType] = [ - .string, - .cord, - .stringPiece, - ] -} - -extension FieldOptions.JSType: CaseIterable { +extension EncounterTutorialCompleteOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FieldOptions.JSType] = [ - .jsNormal, - .jsString, - .jsNumber, + public static var allCases: [EncounterTutorialCompleteOutProto.Result] = [ + .unset, + .success, + .errorInvalidPokemon, ] } #endif // swift(>=4.2) -public struct FileDescriptorProto { +public struct EncounterTutorialCompleteProto { // 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. - public var name: String { - get {return _storage._name} - set {_uniqueStorage()._name = newValue} - } - - public var package: String { - get {return _storage._package} - set {_uniqueStorage()._package = newValue} - } + public var pokedexID: HoloPokemonId = .missingno - public var dependency: [String] { - get {return _storage._dependency} - set {_uniqueStorage()._dependency = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var publicDependency: [Int32] { - get {return _storage._publicDependency} - set {_uniqueStorage()._publicDependency = newValue} - } + public init() {} +} - public var messageType: [DescriptorProto] { - get {return _storage._messageType} - set {_uniqueStorage()._messageType = newValue} - } +public struct EnumDescriptorProto { + // 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. - public var enumType: [EnumDescriptorProto] { - get {return _storage._enumType} - set {_uniqueStorage()._enumType = newValue} - } + public var name: String = String() - public var service: [ServiceDescriptorProto] { - get {return _storage._service} - set {_uniqueStorage()._service = newValue} - } + public var value: [EnumValueDescriptorProto] = [] - public var options: FileOptions { - get {return _storage._options ?? FileOptions()} - set {_uniqueStorage()._options = newValue} + public var options: EnumOptions { + get {return _options ?? EnumOptions()} + set {_options = newValue} } /// Returns true if `options` has been explicitly set. - public var hasOptions: Bool {return _storage._options != nil} + public var hasOptions: Bool {return self._options != nil} /// Clears the value of `options`. Subsequent reads from it will return its default value. - public mutating func clearOptions() {_uniqueStorage()._options = nil} - - public var sourceCodeInfo: SourceCodeInfo { - get {return _storage._sourceCodeInfo ?? SourceCodeInfo()} - set {_uniqueStorage()._sourceCodeInfo = newValue} - } - /// Returns true if `sourceCodeInfo` has been explicitly set. - public var hasSourceCodeInfo: Bool {return _storage._sourceCodeInfo != nil} - /// Clears the value of `sourceCodeInfo`. Subsequent reads from it will return its default value. - public mutating func clearSourceCodeInfo() {_uniqueStorage()._sourceCodeInfo = nil} - - public var syntax: String { - get {return _storage._syntax} - set {_uniqueStorage()._syntax = newValue} - } + public mutating func clearOptions() {self._options = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _storage = _StorageClass.defaultInstance + fileprivate var _options: EnumOptions? = nil } -public struct FileDescriptorSet { +public struct EnumOptions { // 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. + public var allowAlias: Bool = false + + public var deprecated: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FileOptions { +public struct EnumValueDescriptorProto { // 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. - public var javaPackage: String = String() - - public var javaOuterClassname: String = String() - - public var javaMultipleFiles: Bool = false + public var name: String = String() - public var javaGenerateEqualsAndHash: Bool = false + public var number: Int32 = 0 - public var javaStringCheckUtf8: Bool = false + public var options: EnumValueOptions { + get {return _options ?? EnumValueOptions()} + set {_options = newValue} + } + /// Returns true if `options` has been explicitly set. + public var hasOptions: Bool {return self._options != nil} + /// Clears the value of `options`. Subsequent reads from it will return its default value. + public mutating func clearOptions() {self._options = nil} - public var goPackage: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var ccGenericServices: Bool = false + public init() {} - public var javaGenericServices: Bool = false + fileprivate var _options: EnumValueOptions? = nil +} - public var pyGenericServices: Bool = false +public struct EnumValueOptions { + // 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. public var deprecated: Bool = false - public var ccEnableArenas: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var objcClassPrefix: String = String() + public init() {} +} - public var csharpNamespace: String = String() +public struct EnumWrapper { + // 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. public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OptimizeMode: SwiftProtobuf.Enum { + public enum CharacterCategory: SwiftProtobuf.Enum { public typealias RawValue = Int - case autoInvalid // = 0 - case speed // = 1 - case codeSize // = 2 - case liteRuntime // = 3 + case unset // = 0 + case teamLeader // = 1 + case grunt // = 2 + case arlo // = 3 + case cliff // = 4 + case sierra // = 5 + case giovanni // = 6 + case gruntbf // = 7 + case gruntbm // = 8 + case eventNpc // = 9 + case playerTeamLeader // = 10 case UNRECOGNIZED(Int) public init() { - self = .autoInvalid + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .autoInvalid - case 1: self = .speed - case 2: self = .codeSize - case 3: self = .liteRuntime + case 0: self = .unset + case 1: self = .teamLeader + case 2: self = .grunt + case 3: self = .arlo + case 4: self = .cliff + case 5: self = .sierra + case 6: self = .giovanni + case 7: self = .gruntbf + case 8: self = .gruntbm + case 9: self = .eventNpc + case 10: self = .playerTeamLeader default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .autoInvalid: return 0 - case .speed: return 1 - case .codeSize: return 2 - case .liteRuntime: return 3 + case .unset: return 0 + case .teamLeader: return 1 + case .grunt: return 2 + case .arlo: return 3 + case .cliff: return 4 + case .sierra: return 5 + case .giovanni: return 6 + case .gruntbf: return 7 + case .gruntbm: return 8 + case .eventNpc: return 9 + case .playerTeamLeader: return 10 case .UNRECOGNIZED(let i): return i } } } - public init() {} -} - -#if swift(>=4.2) - -extension FileOptions.OptimizeMode: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FileOptions.OptimizeMode] = [ - .autoInvalid, - .speed, - .codeSize, - .liteRuntime, - ] -} - -#endif // swift(>=4.2) - -public struct FitnessMetricsProto { - // 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. - - public var distanceWalkedMeters: Double = 0 - - public var stepCount: Int32 = 0 - - public var caloriesBurnedKcals: Double = 0 - - public var exerciseDurationMi: Int64 = 0 - - public var wheelchairDistanceMeters: Double = 0 - - public var wheelchairPushCount: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct FitnessMetricsReportHistory { - // 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. - - public var weeklyHistory: [FitnessMetricsReportHistory.MetricsHistory] = [] - - public var dailyHistory: [FitnessMetricsReportHistory.MetricsHistory] = [] - - public var hourlyHistory: [FitnessMetricsReportHistory.MetricsHistory] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct MetricsHistory { - // 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. - - public var bucket: Int64 = 0 + public enum IncidentStartPhase: SwiftProtobuf.Enum { + public typealias RawValue = Int + case incidentStartOnSpinOrExit // = 0 + case incidentStartOnSpinNotExit // = 1 + case incidentStartOnExitNotSpin // = 2 + case UNRECOGNIZED(Int) - public var metrics: FitnessMetricsProto { - get {return _metrics ?? FitnessMetricsProto()} - set {_metrics = newValue} + public init() { + self = .incidentStartOnSpinOrExit } - /// Returns true if `metrics` has been explicitly set. - public var hasMetrics: Bool {return self._metrics != nil} - /// Clears the value of `metrics`. Subsequent reads from it will return its default value. - public mutating func clearMetrics() {self._metrics = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _metrics: FitnessMetricsProto? = nil - } - - public init() {} -} -public struct FitnessRecordProto { - // 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. + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .incidentStartOnSpinOrExit + case 1: self = .incidentStartOnSpinNotExit + case 2: self = .incidentStartOnExitNotSpin + default: self = .UNRECOGNIZED(rawValue) + } + } - public var hourlyReports: Dictionary { - get {return _storage._hourlyReports} - set {_uniqueStorage()._hourlyReports = newValue} - } + public var rawValue: Int { + switch self { + case .incidentStartOnSpinOrExit: return 0 + case .incidentStartOnSpinNotExit: return 1 + case .incidentStartOnExitNotSpin: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var rawSamples: [FitnessSample] { - get {return _storage._rawSamples} - set {_uniqueStorage()._rawSamples = newValue} } - public var lastAggregationTimestampMs: Int64 { - get {return _storage._lastAggregationTimestampMs} - set {_uniqueStorage()._lastAggregationTimestampMs = newValue} - } - - public var fitnessStats: FitnessStatsProto { - get {return _storage._fitnessStats ?? FitnessStatsProto()} - set {_uniqueStorage()._fitnessStats = newValue} - } - /// Returns true if `fitnessStats` has been explicitly set. - public var hasFitnessStats: Bool {return _storage._fitnessStats != nil} - /// Clears the value of `fitnessStats`. Subsequent reads from it will return its default value. - public mutating func clearFitnessStats() {_uniqueStorage()._fitnessStats = nil} - - public var reportHistory: FitnessMetricsReportHistory { - get {return _storage._reportHistory ?? FitnessMetricsReportHistory()} - set {_uniqueStorage()._reportHistory = newValue} - } - /// Returns true if `reportHistory` has been explicitly set. - public var hasReportHistory: Bool {return _storage._reportHistory != nil} - /// Clears the value of `reportHistory`. Subsequent reads from it will return its default value. - public mutating func clearReportHistory() {_uniqueStorage()._reportHistory = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct FitnessReportProto { - // 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. - - public var window: FitnessReportProto.OneOf_Window? = nil - - public var dayOffsetFromNow: Int32 { - get { - if case .dayOffsetFromNow(let v)? = window {return v} - return 0 - } - set {window = .dayOffsetFromNow(newValue)} - } + public enum InvasionCharacter: SwiftProtobuf.Enum { + public typealias RawValue = Int + case characterUnset // = 0 + case characterBlanche // = 1 + case characterCandela // = 2 + case characterSpark // = 3 + case characterGruntMale // = 4 + case characterGruntFemale // = 5 + case characterBugGruntFemale // = 6 + case characterBugGruntMale // = 7 + case characterDarknessGruntFemale // = 8 + case characterDarknessGruntMale // = 9 + case characterDarkGruntFemale // = 10 + case characterDarkGruntMale // = 11 + case characterDragonGruntFemale // = 12 + case characterDragonGruntMale // = 13 + case characterFairyGruntFemale // = 14 + case characterFairyGruntMale // = 15 + case characterFightingGruntFemale // = 16 + case characterFightingGruntMale // = 17 + case characterFireGruntFemale // = 18 + case characterFireGruntMale // = 19 + case characterFlyingGruntFemale // = 20 + case characterFlyingGruntMale // = 21 + case characterGrassGruntFemale // = 22 + case characterGrassGruntMale // = 23 + case characterGroundGruntFemale // = 24 + case characterGroundGruntMale // = 25 + case characterIceGruntFemale // = 26 + case characterIceGruntMale // = 27 + case characterMetalGruntFemale // = 28 + case characterMetalGruntMale // = 29 + case characterNormalGruntFemale // = 30 + case characterNormalGruntMale // = 31 + case characterPoisonGruntFemale // = 32 + case characterPoisonGruntMale // = 33 + case characterPsychicGruntFemale // = 34 + case characterPsychicGruntMale // = 35 + case characterRockGruntFemale // = 36 + case characterRockGruntMale // = 37 + case characterWaterGruntFemale // = 38 + case characterWaterGruntMale // = 39 + case characterPlayerTeamLeader // = 40 + case characterExecutiveCliff // = 41 + case characterExecutiveArlo // = 42 + case characterExecutiveSierra // = 43 + case characterGiovanni // = 44 + case characterDecoyGruntMale // = 45 + case characterDecoyGruntFemale // = 46 + case characterGhostGruntFemale // = 47 + case characterGhostGruntMale // = 48 + case characterElectricGruntFemale // = 49 + case characterElectricGruntMale // = 50 + case characterBalloonGruntFemale // = 51 + case characterBalloonGruntMale // = 52 + case characterGruntbFemale // = 53 + case characterGruntbMale // = 54 + case characterBugBalloonGruntFemale // = 55 + case characterBugBalloonGruntMale // = 56 + case characterDarkBalloonGruntFemale // = 57 + case characterDarkBalloonGruntMale // = 58 + case characterDragonBalloonGruntFemale // = 59 + case characterDragonBalloonGruntMale // = 60 + case characterFairyBalloonGruntFemale // = 61 + case characterFairyBalloonGruntMale // = 62 + case characterFightingBalloonGruntFemale // = 63 + case characterFightingBalloonGruntMale // = 64 + case characterFireBalloonGruntFemale // = 65 + case characterFireBalloonGruntMale // = 66 + case characterFlyingBalloonGruntFemale // = 67 + case characterFlyingBalloonGruntMale // = 68 + case characterGrassBalloonGruntFemale // = 69 + case characterGrassBalloonGruntMale // = 70 + case characterGroundBalloonGruntFemale // = 71 + case characterGroundBalloonGruntMale // = 72 + case characterIceBalloonGruntFemale // = 73 + case characterIceBalloonGruntMale // = 74 + case characterMetalBalloonGruntFemale // = 75 + case characterMetalBalloonGruntMale // = 76 + case characterNormalBalloonGruntFemale // = 77 + case characterNormalBalloonGruntMale // = 78 + case characterPoisonBalloonGruntFemale // = 79 + case characterPoisonBalloonGruntMale // = 80 + case characterPsychicBalloonGruntFemale // = 81 + case characterPsychicBalloonGruntMale // = 82 + case characterRockBalloonGruntFemale // = 83 + case characterRockBalloonGruntMale // = 84 + case characterWaterBalloonGruntFemale // = 85 + case characterWaterBalloonGruntMale // = 86 + case characterGhostBalloonGruntFemale // = 87 + case characterGhostBalloonGruntMale // = 88 + case characterElectricBalloonGruntFemale // = 89 + case characterElectricBalloonGruntMale // = 90 + case characterWillow // = 91 + case characterWillowb // = 92 + case characterTraveler // = 93 + case characterExplorer // = 94 + case characterEventNpc0 // = 500 + case characterEventNpc1 // = 501 + case characterEventNpc2 // = 502 + case characterEventNpc3 // = 503 + case characterEventNpc4 // = 504 + case characterEventNpc5 // = 505 + case characterEventNpc6 // = 506 + case characterEventNpc7 // = 507 + case characterEventNpc8 // = 508 + case characterEventNpc9 // = 509 + case characterEventNpc10 // = 510 + case characterEventNpcBlanche // = 511 + case characterEventNpcCandela // = 512 + case characterEventNpcSpark // = 513 + case characterEventNpc11 // = 514 + case characterEventNpc12 // = 515 + case characterEventNpc13 // = 516 + case characterEventNpc14 // = 517 + case characterEventNpc15 // = 518 + case characterEventNpc16 // = 519 + case characterEventNpc17 // = 520 + case characterEventNpc18 // = 521 + case characterEventNpc19 // = 522 + case characterEventNpc20 // = 523 + case characterEventGiovanniUnticketed // = 524 + case characterEventSierraUnticketed // = 525 + case characterEventArloUnticketed // = 526 + case characterEventCliffUnticketed // = 527 + case UNRECOGNIZED(Int) - public var weekOffsetFromNow: Int32 { - get { - if case .weekOffsetFromNow(let v)? = window {return v} - return 0 + public init() { + self = .characterUnset } - set {window = .weekOffsetFromNow(newValue)} - } - public var hourOffsetFromNow: Int32 { - get { - if case .hourOffsetFromNow(let v)? = window {return v} - return 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .characterUnset + case 1: self = .characterBlanche + case 2: self = .characterCandela + case 3: self = .characterSpark + case 4: self = .characterGruntMale + case 5: self = .characterGruntFemale + case 6: self = .characterBugGruntFemale + case 7: self = .characterBugGruntMale + case 8: self = .characterDarknessGruntFemale + case 9: self = .characterDarknessGruntMale + case 10: self = .characterDarkGruntFemale + case 11: self = .characterDarkGruntMale + case 12: self = .characterDragonGruntFemale + case 13: self = .characterDragonGruntMale + case 14: self = .characterFairyGruntFemale + case 15: self = .characterFairyGruntMale + case 16: self = .characterFightingGruntFemale + case 17: self = .characterFightingGruntMale + case 18: self = .characterFireGruntFemale + case 19: self = .characterFireGruntMale + case 20: self = .characterFlyingGruntFemale + case 21: self = .characterFlyingGruntMale + case 22: self = .characterGrassGruntFemale + case 23: self = .characterGrassGruntMale + case 24: self = .characterGroundGruntFemale + case 25: self = .characterGroundGruntMale + case 26: self = .characterIceGruntFemale + case 27: self = .characterIceGruntMale + case 28: self = .characterMetalGruntFemale + case 29: self = .characterMetalGruntMale + case 30: self = .characterNormalGruntFemale + case 31: self = .characterNormalGruntMale + case 32: self = .characterPoisonGruntFemale + case 33: self = .characterPoisonGruntMale + case 34: self = .characterPsychicGruntFemale + case 35: self = .characterPsychicGruntMale + case 36: self = .characterRockGruntFemale + case 37: self = .characterRockGruntMale + case 38: self = .characterWaterGruntFemale + case 39: self = .characterWaterGruntMale + case 40: self = .characterPlayerTeamLeader + case 41: self = .characterExecutiveCliff + case 42: self = .characterExecutiveArlo + case 43: self = .characterExecutiveSierra + case 44: self = .characterGiovanni + case 45: self = .characterDecoyGruntMale + case 46: self = .characterDecoyGruntFemale + case 47: self = .characterGhostGruntFemale + case 48: self = .characterGhostGruntMale + case 49: self = .characterElectricGruntFemale + case 50: self = .characterElectricGruntMale + case 51: self = .characterBalloonGruntFemale + case 52: self = .characterBalloonGruntMale + case 53: self = .characterGruntbFemale + case 54: self = .characterGruntbMale + case 55: self = .characterBugBalloonGruntFemale + case 56: self = .characterBugBalloonGruntMale + case 57: self = .characterDarkBalloonGruntFemale + case 58: self = .characterDarkBalloonGruntMale + case 59: self = .characterDragonBalloonGruntFemale + case 60: self = .characterDragonBalloonGruntMale + case 61: self = .characterFairyBalloonGruntFemale + case 62: self = .characterFairyBalloonGruntMale + case 63: self = .characterFightingBalloonGruntFemale + case 64: self = .characterFightingBalloonGruntMale + case 65: self = .characterFireBalloonGruntFemale + case 66: self = .characterFireBalloonGruntMale + case 67: self = .characterFlyingBalloonGruntFemale + case 68: self = .characterFlyingBalloonGruntMale + case 69: self = .characterGrassBalloonGruntFemale + case 70: self = .characterGrassBalloonGruntMale + case 71: self = .characterGroundBalloonGruntFemale + case 72: self = .characterGroundBalloonGruntMale + case 73: self = .characterIceBalloonGruntFemale + case 74: self = .characterIceBalloonGruntMale + case 75: self = .characterMetalBalloonGruntFemale + case 76: self = .characterMetalBalloonGruntMale + case 77: self = .characterNormalBalloonGruntFemale + case 78: self = .characterNormalBalloonGruntMale + case 79: self = .characterPoisonBalloonGruntFemale + case 80: self = .characterPoisonBalloonGruntMale + case 81: self = .characterPsychicBalloonGruntFemale + case 82: self = .characterPsychicBalloonGruntMale + case 83: self = .characterRockBalloonGruntFemale + case 84: self = .characterRockBalloonGruntMale + case 85: self = .characterWaterBalloonGruntFemale + case 86: self = .characterWaterBalloonGruntMale + case 87: self = .characterGhostBalloonGruntFemale + case 88: self = .characterGhostBalloonGruntMale + case 89: self = .characterElectricBalloonGruntFemale + case 90: self = .characterElectricBalloonGruntMale + case 91: self = .characterWillow + case 92: self = .characterWillowb + case 93: self = .characterTraveler + case 94: self = .characterExplorer + case 500: self = .characterEventNpc0 + case 501: self = .characterEventNpc1 + case 502: self = .characterEventNpc2 + case 503: self = .characterEventNpc3 + case 504: self = .characterEventNpc4 + case 505: self = .characterEventNpc5 + case 506: self = .characterEventNpc6 + case 507: self = .characterEventNpc7 + case 508: self = .characterEventNpc8 + case 509: self = .characterEventNpc9 + case 510: self = .characterEventNpc10 + case 511: self = .characterEventNpcBlanche + case 512: self = .characterEventNpcCandela + case 513: self = .characterEventNpcSpark + case 514: self = .characterEventNpc11 + case 515: self = .characterEventNpc12 + case 516: self = .characterEventNpc13 + case 517: self = .characterEventNpc14 + case 518: self = .characterEventNpc15 + case 519: self = .characterEventNpc16 + case 520: self = .characterEventNpc17 + case 521: self = .characterEventNpc18 + case 522: self = .characterEventNpc19 + case 523: self = .characterEventNpc20 + case 524: self = .characterEventGiovanniUnticketed + case 525: self = .characterEventSierraUnticketed + case 526: self = .characterEventArloUnticketed + case 527: self = .characterEventCliffUnticketed + default: self = .UNRECOGNIZED(rawValue) + } } - set {window = .hourOffsetFromNow(newValue)} - } - - public var metrics: FitnessMetricsProto { - get {return _metrics ?? FitnessMetricsProto()} - set {_metrics = newValue} - } - /// Returns true if `metrics` has been explicitly set. - public var hasMetrics: Bool {return self._metrics != nil} - /// Clears the value of `metrics`. Subsequent reads from it will return its default value. - public mutating func clearMetrics() {self._metrics = nil} - - public var gameData: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Window: Equatable { - case dayOffsetFromNow(Int32) - case weekOffsetFromNow(Int32) - case hourOffsetFromNow(Int32) - #if !swift(>=4.1) - public static func ==(lhs: FitnessReportProto.OneOf_Window, rhs: FitnessReportProto.OneOf_Window) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.dayOffsetFromNow, .dayOffsetFromNow): return { - guard case .dayOffsetFromNow(let l) = lhs, case .dayOffsetFromNow(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.weekOffsetFromNow, .weekOffsetFromNow): return { - guard case .weekOffsetFromNow(let l) = lhs, case .weekOffsetFromNow(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.hourOffsetFromNow, .hourOffsetFromNow): return { - guard case .hourOffsetFromNow(let l) = lhs, case .hourOffsetFromNow(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false + public var rawValue: Int { + switch self { + case .characterUnset: return 0 + case .characterBlanche: return 1 + case .characterCandela: return 2 + case .characterSpark: return 3 + case .characterGruntMale: return 4 + case .characterGruntFemale: return 5 + case .characterBugGruntFemale: return 6 + case .characterBugGruntMale: return 7 + case .characterDarknessGruntFemale: return 8 + case .characterDarknessGruntMale: return 9 + case .characterDarkGruntFemale: return 10 + case .characterDarkGruntMale: return 11 + case .characterDragonGruntFemale: return 12 + case .characterDragonGruntMale: return 13 + case .characterFairyGruntFemale: return 14 + case .characterFairyGruntMale: return 15 + case .characterFightingGruntFemale: return 16 + case .characterFightingGruntMale: return 17 + case .characterFireGruntFemale: return 18 + case .characterFireGruntMale: return 19 + case .characterFlyingGruntFemale: return 20 + case .characterFlyingGruntMale: return 21 + case .characterGrassGruntFemale: return 22 + case .characterGrassGruntMale: return 23 + case .characterGroundGruntFemale: return 24 + case .characterGroundGruntMale: return 25 + case .characterIceGruntFemale: return 26 + case .characterIceGruntMale: return 27 + case .characterMetalGruntFemale: return 28 + case .characterMetalGruntMale: return 29 + case .characterNormalGruntFemale: return 30 + case .characterNormalGruntMale: return 31 + case .characterPoisonGruntFemale: return 32 + case .characterPoisonGruntMale: return 33 + case .characterPsychicGruntFemale: return 34 + case .characterPsychicGruntMale: return 35 + case .characterRockGruntFemale: return 36 + case .characterRockGruntMale: return 37 + case .characterWaterGruntFemale: return 38 + case .characterWaterGruntMale: return 39 + case .characterPlayerTeamLeader: return 40 + case .characterExecutiveCliff: return 41 + case .characterExecutiveArlo: return 42 + case .characterExecutiveSierra: return 43 + case .characterGiovanni: return 44 + case .characterDecoyGruntMale: return 45 + case .characterDecoyGruntFemale: return 46 + case .characterGhostGruntFemale: return 47 + case .characterGhostGruntMale: return 48 + case .characterElectricGruntFemale: return 49 + case .characterElectricGruntMale: return 50 + case .characterBalloonGruntFemale: return 51 + case .characterBalloonGruntMale: return 52 + case .characterGruntbFemale: return 53 + case .characterGruntbMale: return 54 + case .characterBugBalloonGruntFemale: return 55 + case .characterBugBalloonGruntMale: return 56 + case .characterDarkBalloonGruntFemale: return 57 + case .characterDarkBalloonGruntMale: return 58 + case .characterDragonBalloonGruntFemale: return 59 + case .characterDragonBalloonGruntMale: return 60 + case .characterFairyBalloonGruntFemale: return 61 + case .characterFairyBalloonGruntMale: return 62 + case .characterFightingBalloonGruntFemale: return 63 + case .characterFightingBalloonGruntMale: return 64 + case .characterFireBalloonGruntFemale: return 65 + case .characterFireBalloonGruntMale: return 66 + case .characterFlyingBalloonGruntFemale: return 67 + case .characterFlyingBalloonGruntMale: return 68 + case .characterGrassBalloonGruntFemale: return 69 + case .characterGrassBalloonGruntMale: return 70 + case .characterGroundBalloonGruntFemale: return 71 + case .characterGroundBalloonGruntMale: return 72 + case .characterIceBalloonGruntFemale: return 73 + case .characterIceBalloonGruntMale: return 74 + case .characterMetalBalloonGruntFemale: return 75 + case .characterMetalBalloonGruntMale: return 76 + case .characterNormalBalloonGruntFemale: return 77 + case .characterNormalBalloonGruntMale: return 78 + case .characterPoisonBalloonGruntFemale: return 79 + case .characterPoisonBalloonGruntMale: return 80 + case .characterPsychicBalloonGruntFemale: return 81 + case .characterPsychicBalloonGruntMale: return 82 + case .characterRockBalloonGruntFemale: return 83 + case .characterRockBalloonGruntMale: return 84 + case .characterWaterBalloonGruntFemale: return 85 + case .characterWaterBalloonGruntMale: return 86 + case .characterGhostBalloonGruntFemale: return 87 + case .characterGhostBalloonGruntMale: return 88 + case .characterElectricBalloonGruntFemale: return 89 + case .characterElectricBalloonGruntMale: return 90 + case .characterWillow: return 91 + case .characterWillowb: return 92 + case .characterTraveler: return 93 + case .characterExplorer: return 94 + case .characterEventNpc0: return 500 + case .characterEventNpc1: return 501 + case .characterEventNpc2: return 502 + case .characterEventNpc3: return 503 + case .characterEventNpc4: return 504 + case .characterEventNpc5: return 505 + case .characterEventNpc6: return 506 + case .characterEventNpc7: return 507 + case .characterEventNpc8: return 508 + case .characterEventNpc9: return 509 + case .characterEventNpc10: return 510 + case .characterEventNpcBlanche: return 511 + case .characterEventNpcCandela: return 512 + case .characterEventNpcSpark: return 513 + case .characterEventNpc11: return 514 + case .characterEventNpc12: return 515 + case .characterEventNpc13: return 516 + case .characterEventNpc14: return 517 + case .characterEventNpc15: return 518 + case .characterEventNpc16: return 519 + case .characterEventNpc17: return 520 + case .characterEventNpc18: return 521 + case .characterEventNpc19: return 522 + case .characterEventNpc20: return 523 + case .characterEventGiovanniUnticketed: return 524 + case .characterEventSierraUnticketed: return 525 + case .characterEventArloUnticketed: return 526 + case .characterEventCliffUnticketed: return 527 + case .UNRECOGNIZED(let i): return i } } - #endif - } - public init() {} - - fileprivate var _metrics: FitnessMetricsProto? = nil -} - -public struct FitnessRewardsLogEntry { - // 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. - - public var result: FitnessRewardsLogEntry.Result = .unset - - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} - - public var distanceWalkedKm: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum InvasionCharacterExpression: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 + case expressionUnset // = 0 + case placeholder1 // = 1 + case placeholder2 // = 2 + case placeholder3 // = 3 + case placeholder4 // = 4 + case greeting // = 5 + case challenge // = 6 + case victory // = 7 + case defeat // = 8 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .expressionUnset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success + case 0: self = .expressionUnset + case 1: self = .placeholder1 + case 2: self = .placeholder2 + case 3: self = .placeholder3 + case 4: self = .placeholder4 + case 5: self = .greeting + case 6: self = .challenge + case 7: self = .victory + case 8: self = .defeat default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 + case .expressionUnset: return 0 + case .placeholder1: return 1 + case .placeholder2: return 2 + case .placeholder3: return 3 + case .placeholder4: return 4 + case .greeting: return 5 + case .challenge: return 6 + case .victory: return 7 + case .defeat: return 8 case .UNRECOGNIZED(let i): return i } } } - public init() {} - - fileprivate var _rewards: LootProto? = nil -} - -#if swift(>=4.2) - -extension FitnessRewardsLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FitnessRewardsLogEntry.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct FitnessSample { - // 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. - - public var sampleType: FitnessSample.FitnessSampleType = .sampleUnset - - public var sampleStartTimestampMs: Int64 = 0 - - public var sampleEndTimestampMs: Int64 = 0 - - public var value: Double = 0 - - public var sourceType: FitnessSample.FitnessSourceType = .sourceUnset - - public var metadata: FitnessSampleMetadata { - get {return _metadata ?? FitnessSampleMetadata()} - set {_metadata = newValue} - } - /// Returns true if `metadata` has been explicitly set. - public var hasMetadata: Bool {return self._metadata != nil} - /// Clears the value of `metadata`. Subsequent reads from it will return its default value. - public mutating func clearMetadata() {self._metadata = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum FitnessSampleType: SwiftProtobuf.Enum { + public enum InvasionContext: SwiftProtobuf.Enum { public typealias RawValue = Int - case sampleUnset // = 0 - case steps // = 1 - case walkingDistanceMeters // = 2 - case wheelchairDistanceMeters // = 3 - case caloriesKcals // = 4 - case wheelchairPushCount // = 5 - case exerciseTimeMi // = 6 + case pokestopIncident // = 0 + case rocketBalloon // = 1 + case questRewardIncident // = 2 + case crossPokestopIncident // = 3 case UNRECOGNIZED(Int) public init() { - self = .sampleUnset + self = .pokestopIncident } public init?(rawValue: Int) { switch rawValue { - case 0: self = .sampleUnset - case 1: self = .steps - case 2: self = .walkingDistanceMeters - case 3: self = .wheelchairDistanceMeters - case 4: self = .caloriesKcals - case 5: self = .wheelchairPushCount - case 6: self = .exerciseTimeMi + case 0: self = .pokestopIncident + case 1: self = .rocketBalloon + case 2: self = .questRewardIncident + case 3: self = .crossPokestopIncident default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .sampleUnset: return 0 - case .steps: return 1 - case .walkingDistanceMeters: return 2 - case .wheelchairDistanceMeters: return 3 - case .caloriesKcals: return 4 - case .wheelchairPushCount: return 5 - case .exerciseTimeMi: return 6 + case .pokestopIncident: return 0 + case .rocketBalloon: return 1 + case .questRewardIncident: return 2 + case .crossPokestopIncident: return 3 case .UNRECOGNIZED(let i): return i } } } - public enum FitnessSourceType: SwiftProtobuf.Enum { + public enum PokestopStyle: SwiftProtobuf.Enum { public typealias RawValue = Int - case sourceUnset // = 0 - case healthkit // = 1 - case googleFit // = 2 - case appleWatch // = 3 - case gps // = 4 - case androidSensorHub // = 5 + case pokestopNormal // = 0 + case pokestopRocketInvasion // = 1 + case pokestopRocketVictory // = 2 + case pokestopContest // = 3 case UNRECOGNIZED(Int) public init() { - self = .sourceUnset + self = .pokestopNormal } public init?(rawValue: Int) { switch rawValue { - case 0: self = .sourceUnset - case 1: self = .healthkit - case 2: self = .googleFit - case 3: self = .appleWatch - case 4: self = .gps - case 5: self = .androidSensorHub + case 0: self = .pokestopNormal + case 1: self = .pokestopRocketInvasion + case 2: self = .pokestopRocketVictory + case 3: self = .pokestopContest default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .sourceUnset: return 0 - case .healthkit: return 1 - case .googleFit: return 2 - case .appleWatch: return 3 - case .gps: return 4 - case .androidSensorHub: return 5 + case .pokestopNormal: return 0 + case .pokestopRocketInvasion: return 1 + case .pokestopRocketVictory: return 2 + case .pokestopContest: return 3 case .UNRECOGNIZED(let i): return i } } @@ -60157,491 +62184,627 @@ public struct FitnessSample { } public init() {} - - fileprivate var _metadata: FitnessSampleMetadata? = nil } #if swift(>=4.2) -extension FitnessSample.FitnessSampleType: CaseIterable { +extension EnumWrapper.CharacterCategory: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FitnessSample.FitnessSampleType] = [ - .sampleUnset, - .steps, - .walkingDistanceMeters, - .wheelchairDistanceMeters, - .caloriesKcals, - .wheelchairPushCount, - .exerciseTimeMi, + public static var allCases: [EnumWrapper.CharacterCategory] = [ + .unset, + .teamLeader, + .grunt, + .arlo, + .cliff, + .sierra, + .giovanni, + .gruntbf, + .gruntbm, + .eventNpc, + .playerTeamLeader, ] } -extension FitnessSample.FitnessSourceType: CaseIterable { +extension EnumWrapper.IncidentStartPhase: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FitnessSample.FitnessSourceType] = [ - .sourceUnset, - .healthkit, - .googleFit, - .appleWatch, - .gps, - .androidSensorHub, + public static var allCases: [EnumWrapper.IncidentStartPhase] = [ + .incidentStartOnSpinOrExit, + .incidentStartOnSpinNotExit, + .incidentStartOnExitNotSpin, + ] +} + +extension EnumWrapper.InvasionCharacter: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [EnumWrapper.InvasionCharacter] = [ + .characterUnset, + .characterBlanche, + .characterCandela, + .characterSpark, + .characterGruntMale, + .characterGruntFemale, + .characterBugGruntFemale, + .characterBugGruntMale, + .characterDarknessGruntFemale, + .characterDarknessGruntMale, + .characterDarkGruntFemale, + .characterDarkGruntMale, + .characterDragonGruntFemale, + .characterDragonGruntMale, + .characterFairyGruntFemale, + .characterFairyGruntMale, + .characterFightingGruntFemale, + .characterFightingGruntMale, + .characterFireGruntFemale, + .characterFireGruntMale, + .characterFlyingGruntFemale, + .characterFlyingGruntMale, + .characterGrassGruntFemale, + .characterGrassGruntMale, + .characterGroundGruntFemale, + .characterGroundGruntMale, + .characterIceGruntFemale, + .characterIceGruntMale, + .characterMetalGruntFemale, + .characterMetalGruntMale, + .characterNormalGruntFemale, + .characterNormalGruntMale, + .characterPoisonGruntFemale, + .characterPoisonGruntMale, + .characterPsychicGruntFemale, + .characterPsychicGruntMale, + .characterRockGruntFemale, + .characterRockGruntMale, + .characterWaterGruntFemale, + .characterWaterGruntMale, + .characterPlayerTeamLeader, + .characterExecutiveCliff, + .characterExecutiveArlo, + .characterExecutiveSierra, + .characterGiovanni, + .characterDecoyGruntMale, + .characterDecoyGruntFemale, + .characterGhostGruntFemale, + .characterGhostGruntMale, + .characterElectricGruntFemale, + .characterElectricGruntMale, + .characterBalloonGruntFemale, + .characterBalloonGruntMale, + .characterGruntbFemale, + .characterGruntbMale, + .characterBugBalloonGruntFemale, + .characterBugBalloonGruntMale, + .characterDarkBalloonGruntFemale, + .characterDarkBalloonGruntMale, + .characterDragonBalloonGruntFemale, + .characterDragonBalloonGruntMale, + .characterFairyBalloonGruntFemale, + .characterFairyBalloonGruntMale, + .characterFightingBalloonGruntFemale, + .characterFightingBalloonGruntMale, + .characterFireBalloonGruntFemale, + .characterFireBalloonGruntMale, + .characterFlyingBalloonGruntFemale, + .characterFlyingBalloonGruntMale, + .characterGrassBalloonGruntFemale, + .characterGrassBalloonGruntMale, + .characterGroundBalloonGruntFemale, + .characterGroundBalloonGruntMale, + .characterIceBalloonGruntFemale, + .characterIceBalloonGruntMale, + .characterMetalBalloonGruntFemale, + .characterMetalBalloonGruntMale, + .characterNormalBalloonGruntFemale, + .characterNormalBalloonGruntMale, + .characterPoisonBalloonGruntFemale, + .characterPoisonBalloonGruntMale, + .characterPsychicBalloonGruntFemale, + .characterPsychicBalloonGruntMale, + .characterRockBalloonGruntFemale, + .characterRockBalloonGruntMale, + .characterWaterBalloonGruntFemale, + .characterWaterBalloonGruntMale, + .characterGhostBalloonGruntFemale, + .characterGhostBalloonGruntMale, + .characterElectricBalloonGruntFemale, + .characterElectricBalloonGruntMale, + .characterWillow, + .characterWillowb, + .characterTraveler, + .characterExplorer, + .characterEventNpc0, + .characterEventNpc1, + .characterEventNpc2, + .characterEventNpc3, + .characterEventNpc4, + .characterEventNpc5, + .characterEventNpc6, + .characterEventNpc7, + .characterEventNpc8, + .characterEventNpc9, + .characterEventNpc10, + .characterEventNpcBlanche, + .characterEventNpcCandela, + .characterEventNpcSpark, + .characterEventNpc11, + .characterEventNpc12, + .characterEventNpc13, + .characterEventNpc14, + .characterEventNpc15, + .characterEventNpc16, + .characterEventNpc17, + .characterEventNpc18, + .characterEventNpc19, + .characterEventNpc20, + .characterEventGiovanniUnticketed, + .characterEventSierraUnticketed, + .characterEventArloUnticketed, + .characterEventCliffUnticketed, + ] +} + +extension EnumWrapper.InvasionCharacterExpression: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [EnumWrapper.InvasionCharacterExpression] = [ + .expressionUnset, + .placeholder1, + .placeholder2, + .placeholder3, + .placeholder4, + .greeting, + .challenge, + .victory, + .defeat, + ] +} + +extension EnumWrapper.InvasionContext: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [EnumWrapper.InvasionContext] = [ + .pokestopIncident, + .rocketBalloon, + .questRewardIncident, + .crossPokestopIncident, + ] +} + +extension EnumWrapper.PokestopStyle: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [EnumWrapper.PokestopStyle] = [ + .pokestopNormal, + .pokestopRocketInvasion, + .pokestopRocketVictory, + .pokestopContest, ] } #endif // swift(>=4.2) -public struct FitnessSampleMetadata { +public struct EventBadgeSettingsProto { // 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. - public var originalDataSource: AndroidDataSource { - get {return _storage._originalDataSource ?? AndroidDataSource()} - set {_uniqueStorage()._originalDataSource = newValue} - } - /// Returns true if `originalDataSource` has been explicitly set. - public var hasOriginalDataSource: Bool {return _storage._originalDataSource != nil} - /// Clears the value of `originalDataSource`. Subsequent reads from it will return its default value. - public mutating func clearOriginalDataSource() {_uniqueStorage()._originalDataSource = nil} - - public var dataSource: AndroidDataSource { - get {return _storage._dataSource ?? AndroidDataSource()} - set {_uniqueStorage()._dataSource = newValue} - } - /// Returns true if `dataSource` has been explicitly set. - public var hasDataSource: Bool {return _storage._dataSource != nil} - /// Clears the value of `dataSource`. Subsequent reads from it will return its default value. - public mutating func clearDataSource() {_uniqueStorage()._dataSource = nil} + public var validFromMs: Int64 = 0 - public var sourceRevision: IosSourceRevision { - get {return _storage._sourceRevision ?? IosSourceRevision()} - set {_uniqueStorage()._sourceRevision = newValue} - } - /// Returns true if `sourceRevision` has been explicitly set. - public var hasSourceRevision: Bool {return _storage._sourceRevision != nil} - /// Clears the value of `sourceRevision`. Subsequent reads from it will return its default value. - public mutating func clearSourceRevision() {_uniqueStorage()._sourceRevision = nil} + public var validToMs: Int64 = 0 - public var device: IosDevice { - get {return _storage._device ?? IosDevice()} - set {_uniqueStorage()._device = newValue} - } - /// Returns true if `device` has been explicitly set. - public var hasDevice: Bool {return _storage._device != nil} - /// Clears the value of `device`. Subsequent reads from it will return its default value. - public mutating func clearDevice() {_uniqueStorage()._device = nil} + public var mutuallyExclusiveBadges: [HoloBadgeType] = [] - public var userEntered: Bool { - get {return _storage._userEntered} - set {_uniqueStorage()._userEntered = newValue} - } + public var automaticallyAwardBadge: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct FitnessStatsProto { +public struct EventBannerSectionProto { // 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. - public var lastAccumulatedTimestampMs: Int64 = 0 + public var eventIcon: String = String() - public var accumulated: FitnessMetricsProto { - get {return _accumulated ?? FitnessMetricsProto()} - set {_accumulated = newValue} - } - /// Returns true if `accumulated` has been explicitly set. - public var hasAccumulated: Bool {return self._accumulated != nil} - /// Clears the value of `accumulated`. Subsequent reads from it will return its default value. - public mutating func clearAccumulated() {self._accumulated = nil} + public var titleText: String = String() - public var pending: FitnessMetricsProto { - get {return _pending ?? FitnessMetricsProto()} - set {_pending = newValue} - } - /// Returns true if `pending` has been explicitly set. - public var hasPending: Bool {return self._pending != nil} - /// Clears the value of `pending`. Subsequent reads from it will return its default value. - public mutating func clearPending() {self._pending = nil} + public var bodyText: String = String() - public var playerInitialWalkKm: Double = 0 + public var imageURL: String = String() - public var playerTotalWalkKm: Double = 0 + public var headerImageURL: String = String() - public var playerTotalSteps: Int64 = 0 + public var imageOverlayText: String = String() + + public var linkFromImage: String = String() + + public var imageSubText: String = String() + + public var imageUrls: [String] = [] + + public var imageAutoScrollMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _accumulated: FitnessMetricsProto? = nil - fileprivate var _pending: FitnessMetricsProto? = nil } -public struct FitnessUpdateOutProto { +public struct EventInfoProto { // 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. - public var status: FitnessUpdateOutProto.Status = .unset + public var imageURL: String = String() + + public var iconURL: String = String() + + public var nameKey: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .unset - } +public struct EventSectionProto { + // 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. - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } + public var eventName: String { + get {return _storage._eventName} + set {_uniqueStorage()._eventName = newValue} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var endTime: GetLocalTimeOutProto.LocalTimeProto { + get {return _storage._endTime ?? GetLocalTimeOutProto.LocalTimeProto()} + set {_uniqueStorage()._endTime = newValue} + } + /// Returns true if `endTime` has been explicitly set. + public var hasEndTime: Bool {return _storage._endTime != nil} + /// Clears the value of `endTime`. Subsequent reads from it will return its default value. + public mutating func clearEndTime() {_uniqueStorage()._endTime = nil} + public var refNewsID: String { + get {return _storage._refNewsID} + set {_uniqueStorage()._refNewsID = newValue} } - public init() {} -} + public var bonusBoxes: [BonusBoxProto] { + get {return _storage._bonusBoxes} + set {_uniqueStorage()._bonusBoxes = newValue} + } -#if swift(>=4.2) + public var startTime: GetLocalTimeOutProto.LocalTimeProto { + get {return _storage._startTime ?? GetLocalTimeOutProto.LocalTimeProto()} + set {_uniqueStorage()._startTime = newValue} + } + /// Returns true if `startTime` has been explicitly set. + public var hasStartTime: Bool {return _storage._startTime != nil} + /// Clears the value of `startTime`. Subsequent reads from it will return its default value. + public mutating func clearStartTime() {_uniqueStorage()._startTime = nil} -extension FitnessUpdateOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FitnessUpdateOutProto.Status] = [ - .unset, - .success, - .errorUnknown, - ] -} + public var bannerURL: String { + get {return _storage._bannerURL} + set {_uniqueStorage()._bannerURL = newValue} + } -#endif // swift(>=4.2) + public var iconURL: String { + get {return _storage._iconURL} + set {_uniqueStorage()._iconURL = newValue} + } -public struct FitnessUpdateProto { - // 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. + public var blogURL: String { + get {return _storage._blogURL} + set {_uniqueStorage()._blogURL = newValue} + } - public var fitnessSamples: [FitnessSample] = [] + public var priority: Int64 { + get {return _storage._priority} + set {_uniqueStorage()._priority = newValue} + } + + public var enableLocalTimezone: Bool { + get {return _storage._enableLocalTimezone} + set {_uniqueStorage()._enableLocalTimezone = newValue} + } + + public var bannerDisplayOffsetDays: Int64 { + get {return _storage._bannerDisplayOffsetDays} + set {_uniqueStorage()._bannerDisplayOffsetDays = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct FlagCategory { +public struct EventSettingsProto { // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var condolenceRibbonCountry: [String] = [] - public enum Category: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case threat // = 100 - case selfHarm // = 101 - case nudity // = 102 - case violence // = 103 - case drugs // = 104 - case childSafety // = 105 - case extremism // = 106 - case weaponsAndSolicitation // = 107 - case publicThreat // = 108 - case inappropriate // = 200 - case hateSpeech // = 201 - case privacyInvasion // = 202 - case sexual // = 203 - case ipViolation // = 204 - case hacking // = 205 - case bullying // = 300 - case spam // = 301 - case otherViolation // = 302 - case UNRECOGNIZED(Int) + public var enableEventLink: Bool = false - public init() { - self = .undefined - } + public var enableEventLinkForChildren: Bool = false - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 100: self = .threat - case 101: self = .selfHarm - case 102: self = .nudity - case 103: self = .violence - case 104: self = .drugs - case 105: self = .childSafety - case 106: self = .extremism - case 107: self = .weaponsAndSolicitation - case 108: self = .publicThreat - case 200: self = .inappropriate - case 201: self = .hateSpeech - case 202: self = .privacyInvasion - case 203: self = .sexual - case 204: self = .ipViolation - case 205: self = .hacking - case 300: self = .bullying - case 301: self = .spam - case 302: self = .otherViolation - default: self = .UNRECOGNIZED(rawValue) - } - } + public var eventWebtokenServerURL: String = String() - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .threat: return 100 - case .selfHarm: return 101 - case .nudity: return 102 - case .violence: return 103 - case .drugs: return 104 - case .childSafety: return 105 - case .extremism: return 106 - case .weaponsAndSolicitation: return 107 - case .publicThreat: return 108 - case .inappropriate: return 200 - case .hateSpeech: return 201 - case .privacyInvasion: return 202 - case .sexual: return 203 - case .ipViolation: return 204 - case .hacking: return 205 - case .bullying: return 300 - case .spam: return 301 - case .otherViolation: return 302 - case .UNRECOGNIZED(let i): return i - } - } + public var enableEventLnt: Bool = false - } + public var eventLntURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) +public struct EventTicketActiveTimeProto { + // 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. -extension FlagCategory.Category: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FlagCategory.Category] = [ - .undefined, - .threat, - .selfHarm, - .nudity, - .violence, - .drugs, - .childSafety, - .extremism, - .weaponsAndSolicitation, - .publicThreat, - .inappropriate, - .hateSpeech, - .privacyInvasion, - .sexual, - .ipViolation, - .hacking, - .bullying, - .spam, - .otherViolation, - ] -} + public var eventTicket: Item = .unknown -#endif // swift(>=4.2) + public var eventStartMs: Int64 = 0 -public struct FlagPhotoRequest { + public var eventEndMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct EvolutionBranchProto { // 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. - public var reportedPlayerID: String = String() + public var evolution: HoloPokemonId { + get {return _storage._evolution} + set {_uniqueStorage()._evolution = newValue} + } - public var photoID: String = String() + public var evolutionItemRequirement: Item { + get {return _storage._evolutionItemRequirement} + set {_uniqueStorage()._evolutionItemRequirement = newValue} + } + + public var candyCost: Int32 { + get {return _storage._candyCost} + set {_uniqueStorage()._candyCost = newValue} + } + + public var kmBuddyDistanceRequirement: Float { + get {return _storage._kmBuddyDistanceRequirement} + set {_uniqueStorage()._kmBuddyDistanceRequirement = newValue} + } + + public var form: PokemonDisplayProto.Form { + get {return _storage._form} + set {_uniqueStorage()._form = newValue} + } + + public var genderRequirement: PokemonDisplayProto.Gender { + get {return _storage._genderRequirement} + set {_uniqueStorage()._genderRequirement = newValue} + } + + public var lureItemRequirement: Item { + get {return _storage._lureItemRequirement} + set {_uniqueStorage()._lureItemRequirement = newValue} + } + + public var mustBeBuddy: Bool { + get {return _storage._mustBeBuddy} + set {_uniqueStorage()._mustBeBuddy = newValue} + } + + public var onlyDaytime: Bool { + get {return _storage._onlyDaytime} + set {_uniqueStorage()._onlyDaytime = newValue} + } + + public var onlyNighttime: Bool { + get {return _storage._onlyNighttime} + set {_uniqueStorage()._onlyNighttime = newValue} + } + + public var priority: Int32 { + get {return _storage._priority} + set {_uniqueStorage()._priority = newValue} + } + + public var noCandyCostViaTrade: Bool { + get {return _storage._noCandyCostViaTrade} + set {_uniqueStorage()._noCandyCostViaTrade = newValue} + } + + public var temporaryEvolution: HoloTemporaryEvolutionId { + get {return _storage._temporaryEvolution} + set {_uniqueStorage()._temporaryEvolution = newValue} + } + + public var temporaryEvolutionEnergyCost: Int32 { + get {return _storage._temporaryEvolutionEnergyCost} + set {_uniqueStorage()._temporaryEvolutionEnergyCost = newValue} + } + + public var temporaryEvolutionEnergyCostSubsequent: Int32 { + get {return _storage._temporaryEvolutionEnergyCostSubsequent} + set {_uniqueStorage()._temporaryEvolutionEnergyCostSubsequent = newValue} + } + + public var questDisplay: [EvolutionQuestInfoProto] { + get {return _storage._questDisplay} + set {_uniqueStorage()._questDisplay = newValue} + } + + public var onlyUpsideDown: Bool { + get {return _storage._onlyUpsideDown} + set {_uniqueStorage()._onlyUpsideDown = newValue} + } + + public var candyCostPurified: Int32 { + get {return _storage._candyCostPurified} + set {_uniqueStorage()._candyCostPurified = newValue} + } + + public var onlyDuskPeriod: Bool { + get {return _storage._onlyDuskPeriod} + set {_uniqueStorage()._onlyDuskPeriod = newValue} + } - public var origin: ReportAttributeData.Origin = .undefinedOrigin + public var onlyFullMoon: Bool { + get {return _storage._onlyFullMoon} + set {_uniqueStorage()._onlyFullMoon = newValue} + } - public var category: FlagCategory.Category = .undefined + public var evolutionItemRequirementCost: Int32 { + get {return _storage._evolutionItemRequirementCost} + set {_uniqueStorage()._evolutionItemRequirementCost = newValue} + } - public var reportedNiaAccountID: String = String() + public var evolutionMoveRequirement: HoloPokemonMove { + get {return _storage._evolutionMoveRequirement} + set {_uniqueStorage()._evolutionMoveRequirement = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct FlagPhotoResponse { +public struct EvolutionChainDisplayProto { // 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. - public var result: FlagPhotoResponse.Result = .unset + public var headerMessage: String = String() + + public var evolutionInfos: [EvolutionDisplayInfoProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case imageNotFound // = 2 - case errorUnknown // = 3 - case errorFilingReport // = 4 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .unset - } +public struct EvolutionChainDisplaySettingsProto { + // 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. - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .imageNotFound - case 3: self = .errorUnknown - case 4: self = .errorFilingReport - default: self = .UNRECOGNIZED(rawValue) - } - } + public var pokemon: HoloPokemonId = .missingno - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .imageNotFound: return 2 - case .errorUnknown: return 3 - case .errorFilingReport: return 4 - case .UNRECOGNIZED(let i): return i - } - } + public var evolutionChains: [EvolutionChainDisplayProto] = [] - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) +public struct EvolutionDisplayInfoProto { + // 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. -extension FlagPhotoResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FlagPhotoResponse.Result] = [ - .unset, - .success, - .imageNotFound, - .errorUnknown, - .errorFilingReport, - ] -} + public var pokemon: HoloPokemonId = .missingno -#endif // swift(>=4.2) + public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var form: PokemonDisplayProto.Form = .unset -public struct FloatValue { + public var gender: PokemonDisplayProto.Gender = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct EvolutionQuestInfoProto { // 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. - public var value: Float = 0 + public var questRequirementTemplateID: String = String() + + public var description_p: String = String() + + public var target: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FollowerDataProto { +public struct EvolutionV2SettingsProto { // 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. - public var pokemonFollowers: [FollowerPokemonProto] = [] + public var isEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FollowerPokemonProto { +public struct EvolveIntoPokemonQuestProto { // 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. - public var pokemonData: FollowerPokemonProto.OneOf_PokemonData? = nil + public var uniquePokemonID: [HoloPokemonId] = [] - public var pokemonID: HoloPokemonId { - get { - if case .pokemonID(let v)? = pokemonData {return v} - return .missingno - } - set {pokemonData = .pokemonID(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var address: String { - get { - if case .address(let v)? = pokemonData {return v} - return String() - } - set {pokemonData = .address(newValue)} - } + public init() {} +} - public var display: PokemonDisplayProto { - get {return _display ?? PokemonDisplayProto()} - set {_display = newValue} - } - /// Returns true if `display` has been explicitly set. - public var hasDisplay: Bool {return self._display != nil} - /// Clears the value of `display`. Subsequent reads from it will return its default value. - public mutating func clearDisplay() {self._display = nil} +public struct EvolvePokemonOutProto { + // 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. - public var endMs: Int64 = 0 + public var result: EvolvePokemonOutProto.Result = .unset - public var id: FollowerPokemonProto.FollowerId = .unset + public var evolvedPokemon: PokemonProto { + get {return _evolvedPokemon ?? PokemonProto()} + set {_evolvedPokemon = newValue} + } + /// Returns true if `evolvedPokemon` has been explicitly set. + public var hasEvolvedPokemon: Bool {return self._evolvedPokemon != nil} + /// Clears the value of `evolvedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearEvolvedPokemon() {self._evolvedPokemon = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var expAwarded: Int32 = 0 - public enum OneOf_PokemonData: Equatable { - case pokemonID(HoloPokemonId) - case address(String) + public var candyAwarded: Int32 = 0 - #if !swift(>=4.1) - public static func ==(lhs: FollowerPokemonProto.OneOf_PokemonData, rhs: FollowerPokemonProto.OneOf_PokemonData) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pokemonID, .pokemonID): return { - guard case .pokemonID(let l) = lhs, case .pokemonID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.address, .address): return { - guard case .address(let l) = lhs, case .address(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif + public var preview: PreviewProto { + get {return _preview ?? PreviewProto()} + set {_preview = newValue} } + /// Returns true if `preview` has been explicitly set. + public var hasPreview: Bool {return self._preview != nil} + /// Clears the value of `preview`. Subsequent reads from it will return its default value. + public mutating func clearPreview() {self._preview = nil} - public enum FollowerId: SwiftProtobuf.Enum { + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case id1 // = 1 + case success // = 1 + case failedPokemonMissing // = 2 + case failedInsufficientResources // = 3 + case failedPokemonCannotEvolve // = 4 + case failedPokemonIsDeployed // = 5 + case failedInvalidItemRequirement // = 6 case UNRECOGNIZED(Int) public init() { @@ -60651,7 +62814,12 @@ public struct FollowerPokemonProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .id1 + case 1: self = .success + case 2: self = .failedPokemonMissing + case 3: self = .failedInsufficientResources + case 4: self = .failedPokemonCannotEvolve + case 5: self = .failedPokemonIsDeployed + case 6: self = .failedInvalidItemRequirement default: self = .UNRECOGNIZED(rawValue) } } @@ -60659,7 +62827,12 @@ public struct FollowerPokemonProto { public var rawValue: Int { switch self { case .unset: return 0 - case .id1: return 1 + case .success: return 1 + case .failedPokemonMissing: return 2 + case .failedInsufficientResources: return 3 + case .failedPokemonCannotEvolve: return 4 + case .failedPokemonIsDeployed: return 5 + case .failedInvalidItemRequirement: return 6 case .UNRECOGNIZED(let i): return i } } @@ -60668,298 +62841,192 @@ public struct FollowerPokemonProto { public init() {} - fileprivate var _display: PokemonDisplayProto? = nil + fileprivate var _evolvedPokemon: PokemonProto? = nil + fileprivate var _preview: PreviewProto? = nil } #if swift(>=4.2) -extension FollowerPokemonProto.FollowerId: CaseIterable { +extension EvolvePokemonOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FollowerPokemonProto.FollowerId] = [ + public static var allCases: [EvolvePokemonOutProto.Result] = [ .unset, - .id1, + .success, + .failedPokemonMissing, + .failedInsufficientResources, + .failedPokemonCannotEvolve, + .failedPokemonIsDeployed, + .failedInvalidItemRequirement, ] } #endif // swift(>=4.2) -public struct FollowerPokemonTappedTelemetry { +public struct EvolvePokemonProto { // 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. - public var pokemonData: FollowerPokemonTappedTelemetry.OneOf_PokemonData? = nil + public var pokemonID: UInt64 = 0 - public var followerHoloPokemonID: HoloPokemonId { - get { - if case .followerHoloPokemonID(let v)? = pokemonData {return v} - return .missingno - } - set {pokemonData = .followerHoloPokemonID(newValue)} - } + public var evolutionItemRequirement: Item = .unknown - public var followerAddress: String { - get { - if case .followerAddress(let v)? = pokemonData {return v} - return String() - } - set {pokemonData = .followerAddress(newValue)} - } + public var targetPokemonID: HoloPokemonId = .missingno - public var followerID: FollowerPokemonProto.FollowerId = .unset + public var targetPokemonForm: PokemonDisplayProto.Form = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var useSpecial: Bool = false - public enum OneOf_PokemonData: Equatable { - case followerHoloPokemonID(HoloPokemonId) - case followerAddress(String) + public var preview: Bool = false - #if !swift(>=4.1) - public static func ==(lhs: FollowerPokemonTappedTelemetry.OneOf_PokemonData, rhs: FollowerPokemonTappedTelemetry.OneOf_PokemonData) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.followerHoloPokemonID, .followerHoloPokemonID): return { - guard case .followerHoloPokemonID(let l) = lhs, case .followerHoloPokemonID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.followerAddress, .followerAddress): return { - guard case .followerAddress(let l) = lhs, case .followerAddress(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif + public var debugProto: DebugEvolvePreviewProto { + get {return _debugProto ?? DebugEvolvePreviewProto()} + set {_debugProto = newValue} } + /// Returns true if `debugProto` has been explicitly set. + public var hasDebugProto: Bool {return self._debugProto != nil} + /// Clears the value of `debugProto`. Subsequent reads from it will return its default value. + public mutating func clearDebugProto() {self._debugProto = nil} - public init() {} -} - -public struct FoodAttributesProto { - // 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. - - public var itemEffect: [HoloItemEffect] = [] - - public var itemEffectPercent: [Float] = [] - - public var growthPercent: Float = 0 - - public var berryMultiplier: Float = 0 - - public var remoteBerryMultiplier: Float = 0 - - public var numBuddyAffectionPoints: Int32 = 0 - - public var mapDurationMs: Int64 = 0 - - public var activeDurationMs: Int64 = 0 - - public var numBuddyHungerPoints: Int32 = 0 + public var evolutionItemRequirementCount: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} -} - -public struct FoodValue { - // 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. - - public var motivationIncrease: Float = 0 - - public var cpIncrease: Int32 = 0 - - public var foodItem: Item = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + fileprivate var _debugProto: DebugEvolvePreviewProto? = nil } -public struct FormChangeProto { +public struct EvolvePokemonTelemetry { // 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. - public var availableForm: [PokemonDisplayProto.Form] = [] - - public var candyCost: Int32 = 0 - - public var stardustCost: Int32 = 0 - - public var itemCost: Item = .unknown - - public var questRequirement: [EvolutionQuestInfoProto] = [] + public var pokemon: PokemonTelemetry { + get {return _pokemon ?? PokemonTelemetry()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var obInt32: Int32 = 0 + public var evolvedPokemon: PokemonTelemetry { + get {return _evolvedPokemon ?? PokemonTelemetry()} + set {_evolvedPokemon = newValue} + } + /// Returns true if `evolvedPokemon` has been explicitly set. + public var hasEvolvedPokemon: Bool {return self._evolvedPokemon != nil} + /// Clears the value of `evolvedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearEvolvedPokemon() {self._evolvedPokemon = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} -} - -public struct FormChangeSettingsProto { - // 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. - - public var enabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + fileprivate var _pokemon: PokemonTelemetry? = nil + fileprivate var _evolvedPokemon: PokemonTelemetry? = nil } -public struct FormProto { +public struct EvolvePreviewSettingsProto { // 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. - public var form: PokemonDisplayProto.Form = .unset - - public var assetBundleValue: Int32 = 0 - - public var assetBundleSuffix: String = String() + public var enableNormalEvolvePreview: Bool = false - public var isCostume: Bool = false + public var enableMegaEvolvePreview: Bool = false - public var obFormData: ObFormProto { - get {return _obFormData ?? ObFormProto()} - set {_obFormData = newValue} - } - /// Returns true if `obFormData` has been explicitly set. - public var hasObFormData: Bool {return self._obFormData != nil} - /// Clears the value of `obFormData`. Subsequent reads from it will return its default value. - public mutating func clearObFormData() {self._obFormData = nil} + public var enableEvolvePreviewDebugLogging: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _obFormData: ObFormProto? = nil } -public struct FormRenderModifier { +public struct ExceptionCaughtData { // 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. - public var type: [FormRenderModifier.RenderModifierType] = [] - - public var effectTarget: FormRenderModifier.EffectTarget = .unsetTarget - - public var pokemonID: UInt64 = 0 - - public var pokedexID: HoloPokemonId = .missingno - - public var pokemonForm: PokemonDisplayProto.Form = .unset - - public var alignment: PokemonDisplayProto.Alignment = .unset - - public var transitionVfxKey: FormRenderModifier.TransitionVfxKey = .defaultTransition + public var exceptionCode: Int32 = 0 - public var obInt64: Int64 = 0 + public var location: ExceptionCaughtData.ExceptionLocation = .noException public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum RenderModifierType: SwiftProtobuf.Enum { + public enum ExceptionLocation: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case suppressSelf // = 1 - case suppressOpponent // = 2 - case displayChange // = 3 + case noException // = 0 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .noException } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .suppressSelf - case 2: self = .suppressOpponent - case 3: self = .displayChange + case 0: self = .noException default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .suppressSelf: return 1 - case .suppressOpponent: return 2 - case .displayChange: return 3 + case .noException: return 0 case .UNRECOGNIZED(let i): return i } } } - public enum EffectTarget: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetTarget // = 0 - case defender // = 1 - case attacker // = 2 - case allPlayers // = 3 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .unsetTarget - } +#if swift(>=4.2) - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetTarget - case 1: self = .defender - case 2: self = .attacker - case 3: self = .allPlayers - default: self = .UNRECOGNIZED(rawValue) - } - } +extension ExceptionCaughtData.ExceptionLocation: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ExceptionCaughtData.ExceptionLocation] = [ + .noException, + ] +} - public var rawValue: Int { - switch self { - case .unsetTarget: return 0 - case .defender: return 1 - case .attacker: return 2 - case .allPlayers: return 3 - case .UNRECOGNIZED(let i): return i - } - } +#endif // swift(>=4.2) - } +public struct ExceptionCaughtInCombatData { + // 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. - public enum TransitionVfxKey: SwiftProtobuf.Enum { + public var exceptionCode: Int32 = 0 + + public var location: ExceptionCaughtInCombatData.ExceptionLocation = .noException + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ExceptionLocation: SwiftProtobuf.Enum { public typealias RawValue = Int - case defaultTransition // = 0 - case shadowEnrage // = 1 - case shadowSuppress // = 2 + case noException // = 0 + case combatPubSub // = 1 case UNRECOGNIZED(Int) public init() { - self = .defaultTransition + self = .noException } public init?(rawValue: Int) { switch rawValue { - case 0: self = .defaultTransition - case 1: self = .shadowEnrage - case 2: self = .shadowSuppress + case 0: self = .noException + case 1: self = .combatPubSub default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .defaultTransition: return 0 - case .shadowEnrage: return 1 - case .shadowSuppress: return 2 + case .noException: return 0 + case .combatPubSub: return 1 case .UNRECOGNIZED(let i): return i } } @@ -60971,437 +63038,288 @@ public struct FormRenderModifier { #if swift(>=4.2) -extension FormRenderModifier.RenderModifierType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FormRenderModifier.RenderModifierType] = [ - .unset, - .suppressSelf, - .suppressOpponent, - .displayChange, - ] -} - -extension FormRenderModifier.EffectTarget: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FormRenderModifier.EffectTarget] = [ - .unsetTarget, - .defender, - .attacker, - .allPlayers, - ] -} - -extension FormRenderModifier.TransitionVfxKey: CaseIterable { +extension ExceptionCaughtInCombatData.ExceptionLocation: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FormRenderModifier.TransitionVfxKey] = [ - .defaultTransition, - .shadowEnrage, - .shadowSuppress, + public static var allCases: [ExceptionCaughtInCombatData.ExceptionLocation] = [ + .noException, + .combatPubSub, ] } #endif // swift(>=4.2) -public struct FormSettingsProto { +public struct ExperienceBoostAttributesProto { // 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. - public var pokemon: HoloPokemonId = .missingno + public var xpMultiplier: Float = 0 - public var forms: [FormProto] = [] + public var boostDurationMs: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FormsRefactorSettings { +public struct ExtendedPrimalSettingsProto { // 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. - public var obFormsRefactorSettingsBool1: Bool = false - - public var obFormsRefactorSettingsBool2: Bool = false - - public var obFormsRefactorSettingsBool3: Bool = false - - public var enableSingularShadowForm: Bool = false + public var extendedPrimalsEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FortDeployOutProto { +public struct ExternalAddressableAssetsProto { // 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. - public var result: FortDeployOutProto.Result = .noResultSet - - public var fortDetailsOutProto: FortDetailsOutProto { - get {return _fortDetailsOutProto ?? FortDetailsOutProto()} - set {_fortDetailsOutProto = newValue} - } - /// Returns true if `fortDetailsOutProto` has been explicitly set. - public var hasFortDetailsOutProto: Bool {return self._fortDetailsOutProto != nil} - /// Clears the value of `fortDetailsOutProto`. Subsequent reads from it will return its default value. - public mutating func clearFortDetailsOutProto() {self._fortDetailsOutProto = nil} - - public var eggPokemon: PokemonProto { - get {return _eggPokemon ?? PokemonProto()} - set {_eggPokemon = newValue} - } - /// Returns true if `eggPokemon` has been explicitly set. - public var hasEggPokemon: Bool {return self._eggPokemon != nil} - /// Clears the value of `eggPokemon`. Subsequent reads from it will return its default value. - public mutating func clearEggPokemon() {self._eggPokemon = nil} + public var mainCatalogID: Int32 = 0 - public var gymStateProto: GymStateProto { - get {return _gymStateProto ?? GymStateProto()} - set {_gymStateProto = newValue} - } - /// Returns true if `gymStateProto` has been explicitly set. - public var hasGymStateProto: Bool {return self._gymStateProto != nil} - /// Clears the value of `gymStateProto`. Subsequent reads from it will return its default value. - public mutating func clearGymStateProto() {self._gymStateProto = nil} + public var avatarCatalogID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noResultSet // = 0 - case success // = 1 - case errorAlreadyHasPokemonOnFort // = 2 - case errorOpposingTeamOwnsFort // = 3 - case errorFortIsFull // = 4 - case errorNotInRange // = 5 - case errorPlayerHasNoTeam // = 6 - case errorPokemonNotFullHp // = 7 - case errorPlayerBelowMinimumLevel // = 8 - case errorPokemonIsBuddy // = 9 - case errorFortDeployLockout // = 10 - case errorPlayerHasNoNickname // = 11 - case errorPoiInaccessible // = 12 - case errorLegendaryPokemon // = 13 - case errorInvalidPokemon // = 14 - case UNRECOGNIZED(Int) - - public init() { - self = .noResultSet - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noResultSet - case 1: self = .success - case 2: self = .errorAlreadyHasPokemonOnFort - case 3: self = .errorOpposingTeamOwnsFort - case 4: self = .errorFortIsFull - case 5: self = .errorNotInRange - case 6: self = .errorPlayerHasNoTeam - case 7: self = .errorPokemonNotFullHp - case 8: self = .errorPlayerBelowMinimumLevel - case 9: self = .errorPokemonIsBuddy - case 10: self = .errorFortDeployLockout - case 11: self = .errorPlayerHasNoNickname - case 12: self = .errorPoiInaccessible - case 13: self = .errorLegendaryPokemon - case 14: self = .errorInvalidPokemon - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noResultSet: return 0 - case .success: return 1 - case .errorAlreadyHasPokemonOnFort: return 2 - case .errorOpposingTeamOwnsFort: return 3 - case .errorFortIsFull: return 4 - case .errorNotInRange: return 5 - case .errorPlayerHasNoTeam: return 6 - case .errorPokemonNotFullHp: return 7 - case .errorPlayerBelowMinimumLevel: return 8 - case .errorPokemonIsBuddy: return 9 - case .errorFortDeployLockout: return 10 - case .errorPlayerHasNoNickname: return 11 - case .errorPoiInaccessible: return 12 - case .errorLegendaryPokemon: return 13 - case .errorInvalidPokemon: return 14 - case .UNRECOGNIZED(let i): return i - } - } - - } - public init() {} - - fileprivate var _fortDetailsOutProto: FortDetailsOutProto? = nil - fileprivate var _eggPokemon: PokemonProto? = nil - fileprivate var _gymStateProto: GymStateProto? = nil -} - -#if swift(>=4.2) - -extension FortDeployOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FortDeployOutProto.Result] = [ - .noResultSet, - .success, - .errorAlreadyHasPokemonOnFort, - .errorOpposingTeamOwnsFort, - .errorFortIsFull, - .errorNotInRange, - .errorPlayerHasNoTeam, - .errorPokemonNotFullHp, - .errorPlayerBelowMinimumLevel, - .errorPokemonIsBuddy, - .errorFortDeployLockout, - .errorPlayerHasNoNickname, - .errorPoiInaccessible, - .errorLegendaryPokemon, - .errorInvalidPokemon, - ] } -#endif // swift(>=4.2) - -public struct FortDeployProto { +public struct FakeDataProto { // 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. - public var fortID: String = String() - - public var pokemonID: UInt64 = 0 - - public var playerLatDegrees: Double = 0 - - public var playerLngDegrees: Double = 0 + public var fakePokemon: PokemonProto { + get {return _fakePokemon ?? PokemonProto()} + set {_fakePokemon = newValue} + } + /// Returns true if `fakePokemon` has been explicitly set. + public var hasFakePokemon: Bool {return self._fakePokemon != nil} + /// Clears the value of `fakePokemon`. Subsequent reads from it will return its default value. + public mutating func clearFakePokemon() {self._fakePokemon = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _fakePokemon: PokemonProto? = nil } -public struct FortDetailsOutProto { +public struct FavoritePokemonTelemetry { // 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. - public var id: String { - get {return _storage._id} - set {_uniqueStorage()._id = newValue} - } - - public var team: Team { - get {return _storage._team} - set {_uniqueStorage()._team = newValue} - } - - public var pokemon: [PokemonProto] { - get {return _storage._pokemon} - set {_uniqueStorage()._pokemon = newValue} - } - - public var name: String { - get {return _storage._name} - set {_uniqueStorage()._name = newValue} - } - - public var imageURL: [String] { - get {return _storage._imageURL} - set {_uniqueStorage()._imageURL = newValue} - } - - public var fp: Int32 { - get {return _storage._fp} - set {_uniqueStorage()._fp = newValue} - } - - public var stamina: Int32 { - get {return _storage._stamina} - set {_uniqueStorage()._stamina = newValue} + public var pokemon: PokemonTelemetry { + get {return _pokemon ?? PokemonTelemetry()} + set {_pokemon = newValue} } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var maxStamina: Int32 { - get {return _storage._maxStamina} - set {_uniqueStorage()._maxStamina = newValue} - } + public var favored: Bool = false - public var fortType: FortType { - get {return _storage._fortType} - set {_uniqueStorage()._fortType = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var latitude: Double { - get {return _storage._latitude} - set {_uniqueStorage()._latitude = newValue} - } + public init() {} - public var longitude: Double { - get {return _storage._longitude} - set {_uniqueStorage()._longitude = newValue} - } + fileprivate var _pokemon: PokemonTelemetry? = nil +} - public var description_p: String { - get {return _storage._description_p} - set {_uniqueStorage()._description_p = newValue} - } +public struct FbTokenProto { + // 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. - public var modifier: [ClientFortModifierProto] { - get {return _storage._modifier} - set {_uniqueStorage()._modifier = newValue} - } + public var token: String = String() - public var closeSoon: Bool { - get {return _storage._closeSoon} - set {_uniqueStorage()._closeSoon = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var checkinImageURL: String { - get {return _storage._checkinImageURL} - set {_uniqueStorage()._checkinImageURL = newValue} - } + public init() {} +} - public var eventInfo: EventInfoProto { - get {return _storage._eventInfo ?? EventInfoProto()} - set {_uniqueStorage()._eventInfo = newValue} - } - /// Returns true if `eventInfo` has been explicitly set. - public var hasEventInfo: Bool {return _storage._eventInfo != nil} - /// Clears the value of `eventInfo`. Subsequent reads from it will return its default value. - public mutating func clearEventInfo() {_uniqueStorage()._eventInfo = nil} +public struct Feature { + // 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. - public var promoDescription: [String] { - get {return _storage._promoDescription} - set {_uniqueStorage()._promoDescription = newValue} - } + public var metadata: Feature.OneOf_Metadata? = nil - public var callToActionLink: String { - get {return _storage._callToActionLink} - set {_uniqueStorage()._callToActionLink = newValue} + public var buildingMetadata: BuildingMetadata { + get { + if case .buildingMetadata(let v)? = metadata {return v} + return BuildingMetadata() + } + set {metadata = .buildingMetadata(newValue)} } - public var sponsoredDetails: SponsoredDetailsProto { - get {return _storage._sponsoredDetails ?? SponsoredDetailsProto()} - set {_uniqueStorage()._sponsoredDetails = newValue} + public var roadMetadata: RoadMetadata { + get { + if case .roadMetadata(let v)? = metadata {return v} + return RoadMetadata() + } + set {metadata = .roadMetadata(newValue)} } - /// Returns true if `sponsoredDetails` has been explicitly set. - public var hasSponsoredDetails: Bool {return _storage._sponsoredDetails != nil} - /// Clears the value of `sponsoredDetails`. Subsequent reads from it will return its default value. - public mutating func clearSponsoredDetails() {_uniqueStorage()._sponsoredDetails = nil} - public var geostoreTombstoneMessageKey: String { - get {return _storage._geostoreTombstoneMessageKey} - set {_uniqueStorage()._geostoreTombstoneMessageKey = newValue} + public var transitMetadata: TransitMetadata { + get { + if case .transitMetadata(let v)? = metadata {return v} + return TransitMetadata() + } + set {metadata = .transitMetadata(newValue)} } - public var geostoreSuspensionMessageKey: String { - get {return _storage._geostoreSuspensionMessageKey} - set {_uniqueStorage()._geostoreSuspensionMessageKey = newValue} + public var geometry: Geometry { + get {return _geometry ?? Geometry()} + set {_geometry = newValue} } + /// Returns true if `geometry` has been explicitly set. + public var hasGeometry: Bool {return self._geometry != nil} + /// Clears the value of `geometry`. Subsequent reads from it will return its default value. + public mutating func clearGeometry() {self._geometry = nil} - public var poiImagesCount: Int32 { - get {return _storage._poiImagesCount} - set {_uniqueStorage()._poiImagesCount = newValue} + public var label: Label { + get {return _label ?? Label()} + set {_label = newValue} } + /// Returns true if `label` has been explicitly set. + public var hasLabel: Bool {return self._label != nil} + /// Clears the value of `label`. Subsequent reads from it will return its default value. + public mutating func clearLabel() {self._label = nil} - public var powerUpProgressPoints: Int32 { - get {return _storage._powerUpProgressPoints} - set {_uniqueStorage()._powerUpProgressPoints = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var powerUpLevelExpirationMs: Int64 { - get {return _storage._powerUpLevelExpirationMs} - set {_uniqueStorage()._powerUpLevelExpirationMs = newValue} - } + public enum OneOf_Metadata: Equatable { + case buildingMetadata(BuildingMetadata) + case roadMetadata(RoadMetadata) + case transitMetadata(TransitMetadata) - public var nextFortCloseMs: Int64 { - get {return _storage._nextFortCloseMs} - set {_uniqueStorage()._nextFortCloseMs = newValue} + #if !swift(>=4.1) + public static func ==(lhs: Feature.OneOf_Metadata, rhs: Feature.OneOf_Metadata) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.buildingMetadata, .buildingMetadata): return { + guard case .buildingMetadata(let l) = lhs, case .buildingMetadata(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.roadMetadata, .roadMetadata): return { + guard case .roadMetadata(let l) = lhs, case .roadMetadata(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.transitMetadata, .transitMetadata): return { + guard case .transitMetadata(let l) = lhs, case .transitMetadata(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif } - public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} - fileprivate var _storage = _StorageClass.defaultInstance + fileprivate var _geometry: Geometry? = nil + fileprivate var _label: Label? = nil } -public struct FortDetailsProto { +public struct FeatureUnlockLevelSettings { // 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. - public var id: String = String() + public var luresUnlockLevel: Int32 = 0 - public var latitude: Double = 0 + public var tradingUnlockLevel: Int32 = 0 - public var longitude: Double = 0 + public var rareCandyConversionUnlockLevel: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FortModifierAttributesProto { +public struct FeedPokemonTelemetry { // 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. - public var modifierLifetimeSeconds: Int32 = 0 + public var status: Int32 = 0 - public var troyDiskNumPokemonSpawned: Int32 = 0 + public var pokemon: PokemonTelemetry { + get {return _pokemon ?? PokemonTelemetry()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var gymID: String = String() + + public var team: Team = .unset + + public var defenderCount: Int32 = 0 + + public var motivation: Int32 = 0 + + public var cpNow: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _pokemon: PokemonTelemetry? = nil } -public struct FortPokemonProto { +public struct FestivalSettingsProto { // 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. - public var pokemonProto: MapPokemonProto { - get {return _pokemonProto ?? MapPokemonProto()} - set {_pokemonProto = newValue} - } - /// Returns true if `pokemonProto` has been explicitly set. - public var hasPokemonProto: Bool {return self._pokemonProto != nil} - /// Clears the value of `pokemonProto`. Subsequent reads from it will return its default value. - public mutating func clearPokemonProto() {self._pokemonProto = nil} + public var festivalType: FestivalSettingsProto.FestivalType = .none - public var spawnType: FortPokemonProto.SpawnType = .lure + public var key: String = String() + + public var vector: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum SpawnType: SwiftProtobuf.Enum { + public enum FestivalType: SwiftProtobuf.Enum { public typealias RawValue = Int - case lure // = 0 - case powerUp // = 1 + case none // = 0 + case halloween // = 1 + case holiday // = 2 + case rocket // = 3 case UNRECOGNIZED(Int) public init() { - self = .lure + self = .none } public init?(rawValue: Int) { switch rawValue { - case 0: self = .lure - case 1: self = .powerUp + case 0: self = .none + case 1: self = .halloween + case 2: self = .holiday + case 3: self = .rocket default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .lure: return 0 - case .powerUp: return 1 + case .none: return 0 + case .halloween: return 1 + case .holiday: return 2 + case .rocket: return 3 case .UNRECOGNIZED(let i): return i } } @@ -61409,89 +63327,65 @@ public struct FortPokemonProto { } public init() {} - - fileprivate var _pokemonProto: MapPokemonProto? = nil } #if swift(>=4.2) -extension FortPokemonProto.SpawnType: CaseIterable { +extension FestivalSettingsProto.FestivalType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FortPokemonProto.SpawnType] = [ - .lure, - .powerUp, + public static var allCases: [FestivalSettingsProto.FestivalType] = [ + .none, + .halloween, + .holiday, + .rocket, ] } #endif // swift(>=4.2) -public struct FortPowerUpLevelSettings { - // 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. - - public var level: FortPowerUpLevel = .unset - - public var pointsNeededForLevelUp: Int32 = 0 - - public var powerUpReward: [FortPowerUpLevelReward] = [] - - public var durationOfPowerUpMs: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct FortRecallOutProto { +public struct FetchAllNewsOutProto { // 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. - public var result: FortRecallOutProto.Result = .noResultSet + public var result: FetchAllNewsOutProto.Result = .unset - public var fortDetailsOutProto: FortDetailsOutProto { - get {return _fortDetailsOutProto ?? FortDetailsOutProto()} - set {_fortDetailsOutProto = newValue} + public var currentNews: CurrentNewsProto { + get {return _currentNews ?? CurrentNewsProto()} + set {_currentNews = newValue} } - /// Returns true if `fortDetailsOutProto` has been explicitly set. - public var hasFortDetailsOutProto: Bool {return self._fortDetailsOutProto != nil} - /// Clears the value of `fortDetailsOutProto`. Subsequent reads from it will return its default value. - public mutating func clearFortDetailsOutProto() {self._fortDetailsOutProto = nil} + /// Returns true if `currentNews` has been explicitly set. + public var hasCurrentNews: Bool {return self._currentNews != nil} + /// Clears the value of `currentNews`. Subsequent reads from it will return its default value. + public mutating func clearCurrentNews() {self._currentNews = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case noResultSet // = 0 + case unset // = 0 case success // = 1 - case errorNotInRange // = 2 - case errorPokemonNotOnFort // = 3 - case errorNoPlayer // = 4 + case noNewsFound // = 2 case UNRECOGNIZED(Int) public init() { - self = .noResultSet + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .noResultSet + case 0: self = .unset case 1: self = .success - case 2: self = .errorNotInRange - case 3: self = .errorPokemonNotOnFort - case 4: self = .errorNoPlayer + case 2: self = .noNewsFound default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .noResultSet: return 0 + case .unset: return 0 case .success: return 1 - case .errorNotInRange: return 2 - case .errorPokemonNotOnFort: return 3 - case .errorNoPlayer: return 4 + case .noNewsFound: return 2 case .UNRECOGNIZED(let i): return i } } @@ -61500,73 +63394,73 @@ public struct FortRecallOutProto { public init() {} - fileprivate var _fortDetailsOutProto: FortDetailsOutProto? = nil + fileprivate var _currentNews: CurrentNewsProto? = nil } #if swift(>=4.2) -extension FortRecallOutProto.Result: CaseIterable { +extension FetchAllNewsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FortRecallOutProto.Result] = [ - .noResultSet, + public static var allCases: [FetchAllNewsOutProto.Result] = [ + .unset, .success, - .errorNotInRange, - .errorPokemonNotOnFort, - .errorNoPlayer, + .noNewsFound, ] } #endif // swift(>=4.2) -public struct FortRecallProto { +public struct FetchAllNewsProto { // 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. - public var fortID: String = String() - - public var pokemonID: UInt64 = 0 - - public var playerLatDegrees: Double = 0 - - public var playerLngDegrees: Double = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FortRenderingType { +public struct FetchNewsfeedResponse { // 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. - public var renderingType: FortRenderingType.RenderingType = .default + public var result: FetchNewsfeedResponse.Result = .unset + + public var postRecord: [NewsfeedPostRecord] = [] + + public var nextPageToken: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum RenderingType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case `default` // = 0 - case internalTest // = 1 + case unset // = 0 + case success // = 1 + case internalError // = 2 + case channelNotDefined // = 3 case UNRECOGNIZED(Int) public init() { - self = .default + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .default - case 1: self = .internalTest + case 0: self = .unset + case 1: self = .success + case 2: self = .internalError + case 3: self = .channelNotDefined default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .default: return 0 - case .internalTest: return 1 + case .unset: return 0 + case .success: return 1 + case .internalError: return 2 + case .channelNotDefined: return 3 case .UNRECOGNIZED(let i): return i } } @@ -61578,69 +63472,155 @@ public struct FortRenderingType { #if swift(>=4.2) -extension FortRenderingType.RenderingType: CaseIterable { +extension FetchNewsfeedResponse.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FortRenderingType.RenderingType] = [ - .default, - .internalTest, + public static var allCases: [FetchNewsfeedResponse.Result] = [ + .unset, + .success, + .internalError, + .channelNotDefined, ] } #endif // swift(>=4.2) -public struct FortSearchLogEntry { +public struct FieldDescriptorProto { // 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. - public var result: FortSearchLogEntry.Result = .unset + public var name: String = String() - public var fortID: String = String() + public var number: Int32 = 0 - public var items: [ItemProto] = [] + public var typeName: String = String() - public var eggs: Int32 = 0 + public var extendee: String = String() - public var pokemonEggs: [PokemonProto] = [] + public var defaultValue: String = String() - public var fortType: FortType = .gym + public var oneofIndex: Int32 = 0 - public var awardedItems: [ItemProto] = [] + public var jsonName: String = String() - public var bonusItems: [ItemProto] = [] + public var options: FieldOptions { + get {return _options ?? FieldOptions()} + set {_options = newValue} + } + /// Returns true if `options` has been explicitly set. + public var hasOptions: Bool {return self._options != nil} + /// Clears the value of `options`. Subsequent reads from it will return its default value. + public mutating func clearOptions() {self._options = nil} - public var teamBonusItems: [ItemProto] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var giftBoxes: [GiftBoxProto] = [] + public enum Label: SwiftProtobuf.Enum { + public typealias RawValue = Int + case autoInvalid // = 0 + case `optional` // = 1 + case `required` // = 2 + case repeated // = 3 + case UNRECOGNIZED(Int) - public var stickers: [LootItemProto] = [] + public init() { + self = .autoInvalid + } - public var poweredUpStopBonusItems: [ItemProto] = [] + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .autoInvalid + case 1: self = .optional + case 2: self = .required + case 3: self = .repeated + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .autoInvalid: return 0 + case .optional: return 1 + case .required: return 2 + case .repeated: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public enum Result: SwiftProtobuf.Enum { + } + + public enum TypeEnum: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 + case autoInvalid // = 0 + case double // = 1 + case float // = 2 + case int64 // = 3 + case uint64 // = 4 + case int32 // = 5 + case fixed64 // = 6 + case fixed32 // = 7 + case bool // = 8 + case string // = 9 + case group // = 10 + case message // = 11 + case bytes // = 12 + case uint32 // = 13 + case `enum` // = 14 + case sfixed32 // = 15 + case sfixed64 // = 16 + case sint32 // = 17 + case sint64 // = 18 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .autoInvalid } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success + case 0: self = .autoInvalid + case 1: self = .double + case 2: self = .float + case 3: self = .int64 + case 4: self = .uint64 + case 5: self = .int32 + case 6: self = .fixed64 + case 7: self = .fixed32 + case 8: self = .bool + case 9: self = .string + case 10: self = .group + case 11: self = .message + case 12: self = .bytes + case 13: self = .uint32 + case 14: self = .enum + case 15: self = .sfixed32 + case 16: self = .sfixed64 + case 17: self = .sint32 + case 18: self = .sint64 default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 + case .autoInvalid: return 0 + case .double: return 1 + case .float: return 2 + case .int64: return 3 + case .uint64: return 4 + case .int32: return 5 + case .fixed64: return 6 + case .fixed32: return 7 + case .bool: return 8 + case .string: return 9 + case .group: return 10 + case .message: return 11 + case .bytes: return 12 + case .uint32: return 13 + case .enum: return 14 + case .sfixed32: return 15 + case .sfixed64: return 16 + case .sint32: return 17 + case .sint64: return 18 case .UNRECOGNIZED(let i): return i } } @@ -61648,390 +63628,378 @@ public struct FortSearchLogEntry { } public init() {} + + fileprivate var _options: FieldOptions? = nil } #if swift(>=4.2) -extension FortSearchLogEntry.Result: CaseIterable { +extension FieldDescriptorProto.Label: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FortSearchLogEntry.Result] = [ - .unset, - .success, + public static var allCases: [FieldDescriptorProto.Label] = [ + .autoInvalid, + .optional, + .required, + .repeated, + ] +} + +extension FieldDescriptorProto.TypeEnum: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FieldDescriptorProto.TypeEnum] = [ + .autoInvalid, + .double, + .float, + .int64, + .uint64, + .int32, + .fixed64, + .fixed32, + .bool, + .string, + .group, + .message, + .bytes, + .uint32, + .enum, + .sfixed32, + .sfixed64, + .sint32, + .sint64, ] } #endif // swift(>=4.2) -public struct FortSearchOutProto { +public struct FieldEffectTelemetry { // 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. - public var result: FortSearchOutProto.Result { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} - } + public var fieldEffectSourceID: FieldEffectTelemetry.FieldEffectSourceId = .undefined - public var items: [AwardItemProto] { - get {return _storage._items} - set {_uniqueStorage()._items = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var gemsAwarded: Int32 { - get {return _storage._gemsAwarded} - set {_uniqueStorage()._gemsAwarded = newValue} - } + public enum FieldEffectSourceId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case fromPokemonInfoPanel // = 1 + case fromBuddyPage // = 2 + case fromIapUsage // = 3 + case UNRECOGNIZED(Int) - public var eggPokemon: PokemonProto { - get {return _storage._eggPokemon ?? PokemonProto()} - set {_uniqueStorage()._eggPokemon = newValue} - } - /// Returns true if `eggPokemon` has been explicitly set. - public var hasEggPokemon: Bool {return _storage._eggPokemon != nil} - /// Clears the value of `eggPokemon`. Subsequent reads from it will return its default value. - public mutating func clearEggPokemon() {_uniqueStorage()._eggPokemon = nil} + public init() { + self = .undefined + } - public var xpAwarded: Int32 { - get {return _storage._xpAwarded} - set {_uniqueStorage()._xpAwarded = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .fromPokemonInfoPanel + case 2: self = .fromBuddyPage + case 3: self = .fromIapUsage + default: self = .UNRECOGNIZED(rawValue) + } + } - public var cooldownComplete: Int64 { - get {return _storage._cooldownComplete} - set {_uniqueStorage()._cooldownComplete = newValue} - } + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .fromPokemonInfoPanel: return 1 + case .fromBuddyPage: return 2 + case .fromIapUsage: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var chainHackSequenceNumber: Int32 { - get {return _storage._chainHackSequenceNumber} - set {_uniqueStorage()._chainHackSequenceNumber = newValue} } - public var awardedGymBadge: AwardedGymBadge { - get {return _storage._awardedGymBadge ?? AwardedGymBadge()} - set {_uniqueStorage()._awardedGymBadge = newValue} - } - /// Returns true if `awardedGymBadge` has been explicitly set. - public var hasAwardedGymBadge: Bool {return _storage._awardedGymBadge != nil} - /// Clears the value of `awardedGymBadge`. Subsequent reads from it will return its default value. - public mutating func clearAwardedGymBadge() {_uniqueStorage()._awardedGymBadge = nil} + public init() {} +} - public var loot: LootProto { - get {return _storage._loot ?? LootProto()} - set {_uniqueStorage()._loot = newValue} - } - /// Returns true if `loot` has been explicitly set. - public var hasLoot: Bool {return _storage._loot != nil} - /// Clears the value of `loot`. Subsequent reads from it will return its default value. - public mutating func clearLoot() {_uniqueStorage()._loot = nil} +#if swift(>=4.2) - public var bonusLoot: LootProto { - get {return _storage._bonusLoot ?? LootProto()} - set {_uniqueStorage()._bonusLoot = newValue} - } - /// Returns true if `bonusLoot` has been explicitly set. - public var hasBonusLoot: Bool {return _storage._bonusLoot != nil} - /// Clears the value of `bonusLoot`. Subsequent reads from it will return its default value. - public mutating func clearBonusLoot() {_uniqueStorage()._bonusLoot = nil} +extension FieldEffectTelemetry.FieldEffectSourceId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FieldEffectTelemetry.FieldEffectSourceId] = [ + .undefined, + .fromPokemonInfoPanel, + .fromBuddyPage, + .fromIapUsage, + ] +} - public var raidTickets: Int32 { - get {return _storage._raidTickets} - set {_uniqueStorage()._raidTickets = newValue} - } +#endif // swift(>=4.2) - public var teamBonusLoot: LootProto { - get {return _storage._teamBonusLoot ?? LootProto()} - set {_uniqueStorage()._teamBonusLoot = newValue} - } - /// Returns true if `teamBonusLoot` has been explicitly set. - public var hasTeamBonusLoot: Bool {return _storage._teamBonusLoot != nil} - /// Clears the value of `teamBonusLoot`. Subsequent reads from it will return its default value. - public mutating func clearTeamBonusLoot() {_uniqueStorage()._teamBonusLoot = nil} +public struct FieldMask { + // 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. - public var fortID: String { - get {return _storage._fortID} - set {_uniqueStorage()._fortID = newValue} - } + public var paths: [String] = [] - public var challengeQuest: ClientQuestProto { - get {return _storage._challengeQuest ?? ClientQuestProto()} - set {_uniqueStorage()._challengeQuest = newValue} - } - /// Returns true if `challengeQuest` has been explicitly set. - public var hasChallengeQuest: Bool {return _storage._challengeQuest != nil} - /// Clears the value of `challengeQuest`. Subsequent reads from it will return its default value. - public mutating func clearChallengeQuest() {_uniqueStorage()._challengeQuest = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var giftBox: GiftBoxProto { - get {return _storage._giftBox ?? GiftBoxProto()} - set {_uniqueStorage()._giftBox = newValue} - } - /// Returns true if `giftBox` has been explicitly set. - public var hasGiftBox: Bool {return _storage._giftBox != nil} - /// Clears the value of `giftBox`. Subsequent reads from it will return its default value. - public mutating func clearGiftBox() {_uniqueStorage()._giftBox = nil} + public init() {} +} - public var sponsoredGift: AdDetails { - get {return _storage._sponsoredGift ?? AdDetails()} - set {_uniqueStorage()._sponsoredGift = newValue} - } - /// Returns true if `sponsoredGift` has been explicitly set. - public var hasSponsoredGift: Bool {return _storage._sponsoredGift != nil} - /// Clears the value of `sponsoredGift`. Subsequent reads from it will return its default value. - public mutating func clearSponsoredGift() {_uniqueStorage()._sponsoredGift = nil} +public struct FieldOptions { + // 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. - public var powerUpStopBonusLoot: LootProto { - get {return _storage._powerUpStopBonusLoot ?? LootProto()} - set {_uniqueStorage()._powerUpStopBonusLoot = newValue} - } - /// Returns true if `powerUpStopBonusLoot` has been explicitly set. - public var hasPowerUpStopBonusLoot: Bool {return _storage._powerUpStopBonusLoot != nil} - /// Clears the value of `powerUpStopBonusLoot`. Subsequent reads from it will return its default value. - public mutating func clearPowerUpStopBonusLoot() {_uniqueStorage()._powerUpStopBonusLoot = nil} + public var packed: Bool = false - public var ad: AdProto { - get {return _storage._ad ?? AdProto()} - set {_uniqueStorage()._ad = newValue} - } - /// Returns true if `ad` has been explicitly set. - public var hasAd: Bool {return _storage._ad != nil} - /// Clears the value of `ad`. Subsequent reads from it will return its default value. - public mutating func clearAd() {_uniqueStorage()._ad = nil} + public var lazy: Bool = false + + public var deprecated: Bool = false + + public var weak: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum CType: SwiftProtobuf.Enum { public typealias RawValue = Int - case noResultSet // = 0 - case success // = 1 - case outOfRange // = 2 - case inCooldownPeriod // = 3 - case inventoryFull // = 4 - case exceededDailyLimit // = 5 - case poiInaccessible // = 6 + case string // = 0 + case cord // = 1 + case stringPiece // = 2 case UNRECOGNIZED(Int) public init() { - self = .noResultSet + self = .string } public init?(rawValue: Int) { switch rawValue { - case 0: self = .noResultSet - case 1: self = .success - case 2: self = .outOfRange - case 3: self = .inCooldownPeriod - case 4: self = .inventoryFull - case 5: self = .exceededDailyLimit - case 6: self = .poiInaccessible + case 0: self = .string + case 1: self = .cord + case 2: self = .stringPiece default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .noResultSet: return 0 - case .success: return 1 - case .outOfRange: return 2 - case .inCooldownPeriod: return 3 - case .inventoryFull: return 4 - case .exceededDailyLimit: return 5 - case .poiInaccessible: return 6 + case .string: return 0 + case .cord: return 1 + case .stringPiece: return 2 case .UNRECOGNIZED(let i): return i } } } - public init() {} + public enum JSType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case jsNormal // = 0 + case jsString // = 1 + case jsNumber // = 2 + case UNRECOGNIZED(Int) - fileprivate var _storage = _StorageClass.defaultInstance + public init() { + self = .jsNormal + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .jsNormal + case 1: self = .jsString + case 2: self = .jsNumber + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .jsNormal: return 0 + case .jsString: return 1 + case .jsNumber: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} } #if swift(>=4.2) -extension FortSearchOutProto.Result: CaseIterable { +extension FieldOptions.CType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FortSearchOutProto.Result] = [ - .noResultSet, - .success, - .outOfRange, - .inCooldownPeriod, - .inventoryFull, - .exceededDailyLimit, - .poiInaccessible, + public static var allCases: [FieldOptions.CType] = [ + .string, + .cord, + .stringPiece, + ] +} + +extension FieldOptions.JSType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FieldOptions.JSType] = [ + .jsNormal, + .jsString, + .jsNumber, ] } #endif // swift(>=4.2) -public struct FortSearchProto { +public struct FileCacheSizeSettingsProto { // 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. - public var id: String = String() + public var totalCacheSizeMaxMegabytes: Int32 = 0 - public var playerLatDegrees: Double = 0 + public var imageCacheSizeMaxMegabytes: Int32 = 0 - public var playerLngDegrees: Double = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var fortLatDegrees: Double = 0 + public init() {} +} - public var fortLngDegrees: Double = 0 +public struct FileDescriptorProto { + // 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. - public var adTargetingInfo: AdTargetingInfoProto { - get {return _adTargetingInfo ?? AdTargetingInfoProto()} - set {_adTargetingInfo = newValue} + public var name: String { + get {return _storage._name} + set {_uniqueStorage()._name = newValue} } - /// Returns true if `adTargetingInfo` has been explicitly set. - public var hasAdTargetingInfo: Bool {return self._adTargetingInfo != nil} - /// Clears the value of `adTargetingInfo`. Subsequent reads from it will return its default value. - public mutating func clearAdTargetingInfo() {self._adTargetingInfo = nil} - public var isPlayerEligibleForGeotargetedQuest: Bool = false + public var package: String { + get {return _storage._package} + set {_uniqueStorage()._package = newValue} + } - public var isFromWearableDevice: Bool = false + public var dependency: [String] { + get {return _storage._dependency} + set {_uniqueStorage()._dependency = newValue} + } + + public var publicDependency: [Int32] { + get {return _storage._publicDependency} + set {_uniqueStorage()._publicDependency = newValue} + } + + public var messageType: [DescriptorProto] { + get {return _storage._messageType} + set {_uniqueStorage()._messageType = newValue} + } + + public var enumType: [EnumDescriptorProto] { + get {return _storage._enumType} + set {_uniqueStorage()._enumType = newValue} + } + + public var service: [ServiceDescriptorProto] { + get {return _storage._service} + set {_uniqueStorage()._service = newValue} + } + + public var options: FileOptions { + get {return _storage._options ?? FileOptions()} + set {_uniqueStorage()._options = newValue} + } + /// Returns true if `options` has been explicitly set. + public var hasOptions: Bool {return _storage._options != nil} + /// Clears the value of `options`. Subsequent reads from it will return its default value. + public mutating func clearOptions() {_uniqueStorage()._options = nil} + + public var sourceCodeInfo: SourceCodeInfo { + get {return _storage._sourceCodeInfo ?? SourceCodeInfo()} + set {_uniqueStorage()._sourceCodeInfo = newValue} + } + /// Returns true if `sourceCodeInfo` has been explicitly set. + public var hasSourceCodeInfo: Bool {return _storage._sourceCodeInfo != nil} + /// Clears the value of `sourceCodeInfo`. Subsequent reads from it will return its default value. + public mutating func clearSourceCodeInfo() {_uniqueStorage()._sourceCodeInfo = nil} + + public var syntax: String { + get {return _storage._syntax} + set {_uniqueStorage()._syntax = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _adTargetingInfo: AdTargetingInfoProto? = nil + fileprivate var _storage = _StorageClass.defaultInstance } -public struct FortSettingsProto { +public struct FileDescriptorSet { // 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. - public var interactionRangeMeters: Double = 0 - - public var maxTotalDeployedPokemon: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var maxPlayerDeployedPokemon: Int32 = 0 + public init() {} +} - public var deployStaminaMultiplier: Double = 0 +public struct FileOptions { + // 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. - public var deployAttackMultiplier: Double = 0 + public var javaPackage: String = String() - public var farInteractionRangeMeters: Double = 0 + public var javaOuterClassname: String = String() - public var disableGyms: Bool = false + public var javaMultipleFiles: Bool = false - public var maxSamePokemonAtFort: Int32 = 0 + public var javaGenerateEqualsAndHash: Bool = false - public var maxPlayerTotalDeployedPokemon: Int32 = 0 + public var javaStringCheckUtf8: Bool = false - public var enableHyperlinksInPoiDescriptions: Bool = false + public var goPackage: String = String() - public var enableRightToLeftTextDisplay: Bool = false + public var ccGenericServices: Bool = false - public var enableSponsoredPoiDecorators: Bool = false + public var javaGenericServices: Bool = false - public var remoteInteractionRangeMeters: Double = 0 + public var pyGenericServices: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var deprecated: Bool = false - public init() {} -} + public var ccEnableArenas: Bool = false -public struct FortSponsor { - // 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. + public var objcClassPrefix: String = String() - public var sponsor: FortSponsor.Sponsor = .unset + public var csharpNamespace: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Sponsor: SwiftProtobuf.Enum { + public enum OptimizeMode: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case mcdonalds // = 1 - case pokemonStore // = 2 - case toho // = 3 - case softbank // = 4 - case globe // = 5 - case spatula // = 6 - case thermometer // = 7 - case knife // = 8 - case grill // = 9 - case smoker // = 10 - case pan // = 11 - case bbq // = 12 - case fryer // = 13 - case steamer // = 14 - case hood // = 15 - case slowcooker // = 16 - case mixer // = 17 - case scooper // = 18 - case muffintin // = 19 - case salamander // = 20 - case plancha // = 21 - case niaOps // = 22 - case whisk // = 23 + case autoInvalid // = 0 + case speed // = 1 + case codeSize // = 2 + case liteRuntime // = 3 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .autoInvalid } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .mcdonalds - case 2: self = .pokemonStore - case 3: self = .toho - case 4: self = .softbank - case 5: self = .globe - case 6: self = .spatula - case 7: self = .thermometer - case 8: self = .knife - case 9: self = .grill - case 10: self = .smoker - case 11: self = .pan - case 12: self = .bbq - case 13: self = .fryer - case 14: self = .steamer - case 15: self = .hood - case 16: self = .slowcooker - case 17: self = .mixer - case 18: self = .scooper - case 19: self = .muffintin - case 20: self = .salamander - case 21: self = .plancha - case 22: self = .niaOps - case 23: self = .whisk + case 0: self = .autoInvalid + case 1: self = .speed + case 2: self = .codeSize + case 3: self = .liteRuntime default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .mcdonalds: return 1 - case .pokemonStore: return 2 - case .toho: return 3 - case .softbank: return 4 - case .globe: return 5 - case .spatula: return 6 - case .thermometer: return 7 - case .knife: return 8 - case .grill: return 9 - case .smoker: return 10 - case .pan: return 11 - case .bbq: return 12 - case .fryer: return 13 - case .steamer: return 14 - case .hood: return 15 - case .slowcooker: return 16 - case .mixer: return 17 - case .scooper: return 18 - case .muffintin: return 19 - case .salamander: return 20 - case .plancha: return 21 - case .niaOps: return 22 - case .whisk: return 23 + case .autoInvalid: return 0 + case .speed: return 1 + case .codeSize: return 2 + case .liteRuntime: return 3 case .UNRECOGNIZED(let i): return i } } @@ -62043,151 +64011,226 @@ public struct FortSponsor { #if swift(>=4.2) -extension FortSponsor.Sponsor: CaseIterable { +extension FileOptions.OptimizeMode: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FortSponsor.Sponsor] = [ - .unset, - .mcdonalds, - .pokemonStore, - .toho, - .softbank, - .globe, - .spatula, - .thermometer, - .knife, - .grill, - .smoker, - .pan, - .bbq, - .fryer, - .steamer, - .hood, - .slowcooker, - .mixer, - .scooper, - .muffintin, - .salamander, - .plancha, - .niaOps, - .whisk, + public static var allCases: [FileOptions.OptimizeMode] = [ + .autoInvalid, + .speed, + .codeSize, + .liteRuntime, ] } #endif // swift(>=4.2) -public struct FortUpdateLatencyTelemetry { +public struct FitnessMetricsProto { // 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. - public var latencyMs: Int32 = 0 + public var distanceWalkedMeters: Double = 0 - public var fortType: Int32 = 0 + public var stepCount: Int32 = 0 - public var distance: Float = 0 + public var caloriesBurnedKcals: Double = 0 - public var context: String = String() + public var exerciseDurationMi: Int64 = 0 + + public var wheelchairDistanceMeters: Double = 0 + + public var wheelchairPushCount: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FrameRate { +public struct FitnessMetricsReportHistory { // 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. - public var sampledFrameRate: MetricData { - get {return _sampledFrameRate ?? MetricData()} - set {_sampledFrameRate = newValue} - } - /// Returns true if `sampledFrameRate` has been explicitly set. - public var hasSampledFrameRate: Bool {return self._sampledFrameRate != nil} - /// Clears the value of `sampledFrameRate`. Subsequent reads from it will return its default value. - public mutating func clearSampledFrameRate() {self._sampledFrameRate = nil} + public var weeklyHistory: [FitnessMetricsReportHistory.MetricsHistory] = [] + + public var dailyHistory: [FitnessMetricsReportHistory.MetricsHistory] = [] + + public var hourlyHistory: [FitnessMetricsReportHistory.MetricsHistory] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + public struct MetricsHistory { + // 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. + + public var bucket: Int64 = 0 + + public var metrics: FitnessMetricsProto { + get {return _metrics ?? FitnessMetricsProto()} + set {_metrics = newValue} + } + /// Returns true if `metrics` has been explicitly set. + public var hasMetrics: Bool {return self._metrics != nil} + /// Clears the value of `metrics`. Subsequent reads from it will return its default value. + public mutating func clearMetrics() {self._metrics = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} - fileprivate var _sampledFrameRate: MetricData? = nil + fileprivate var _metrics: FitnessMetricsProto? = nil + } + + public init() {} } -public struct FriendDetailsProto { +public struct FitnessRecordProto { // 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. - public var player: PlayerSummaryProto { - get {return _storage._player ?? PlayerSummaryProto()} - set {_uniqueStorage()._player = newValue} + public var hourlyReports: Dictionary { + get {return _storage._hourlyReports} + set {_uniqueStorage()._hourlyReports = newValue} } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return _storage._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {_uniqueStorage()._player = nil} - public var friendVisibleData: Data { - get {return _storage._friendVisibleData} - set {_uniqueStorage()._friendVisibleData = newValue} + public var rawSamples: [FitnessSample] { + get {return _storage._rawSamples} + set {_uniqueStorage()._rawSamples = newValue} } - public var score: Int32 { - get {return _storage._score} - set {_uniqueStorage()._score = newValue} + public var lastAggregationTimestampMs: Int64 { + get {return _storage._lastAggregationTimestampMs} + set {_uniqueStorage()._lastAggregationTimestampMs = newValue} } - public var dataWithMe: FriendshipDataProto { - get {return _storage._dataWithMe ?? FriendshipDataProto()} - set {_uniqueStorage()._dataWithMe = newValue} + public var fitnessStats: FitnessStatsProto { + get {return _storage._fitnessStats ?? FitnessStatsProto()} + set {_uniqueStorage()._fitnessStats = newValue} } - /// Returns true if `dataWithMe` has been explicitly set. - public var hasDataWithMe: Bool {return _storage._dataWithMe != nil} - /// Clears the value of `dataWithMe`. Subsequent reads from it will return its default value. - public mutating func clearDataWithMe() {_uniqueStorage()._dataWithMe = nil} + /// Returns true if `fitnessStats` has been explicitly set. + public var hasFitnessStats: Bool {return _storage._fitnessStats != nil} + /// Clears the value of `fitnessStats`. Subsequent reads from it will return its default value. + public mutating func clearFitnessStats() {_uniqueStorage()._fitnessStats = nil} - public var onlineStatus: FriendDetailsProto.OnlineStatus { - get {return _storage._onlineStatus} - set {_uniqueStorage()._onlineStatus = newValue} + public var reportHistory: FitnessMetricsReportHistory { + get {return _storage._reportHistory ?? FitnessMetricsReportHistory()} + set {_uniqueStorage()._reportHistory = newValue} } + /// Returns true if `reportHistory` has been explicitly set. + public var hasReportHistory: Bool {return _storage._reportHistory != nil} + /// Clears the value of `reportHistory`. Subsequent reads from it will return its default value. + public mutating func clearReportHistory() {_uniqueStorage()._reportHistory = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct FitnessReportProto { + // 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. + + public var window: FitnessReportProto.OneOf_Window? = nil - public var createdMs: Int64 { - get {return _storage._createdMs} - set {_uniqueStorage()._createdMs = newValue} + public var dayOffsetFromNow: Int32 { + get { + if case .dayOffsetFromNow(let v)? = window {return v} + return 0 + } + set {window = .dayOffsetFromNow(newValue)} } - public var sharedData: Data { - get {return _storage._sharedData} - set {_uniqueStorage()._sharedData = newValue} + public var weekOffsetFromNow: Int32 { + get { + if case .weekOffsetFromNow(let v)? = window {return v} + return 0 + } + set {window = .weekOffsetFromNow(newValue)} } - public var dataFromMe: OneWaySharedFriendshipDataProto { - get {return _storage._dataFromMe ?? OneWaySharedFriendshipDataProto()} - set {_uniqueStorage()._dataFromMe = newValue} + public var hourOffsetFromNow: Int32 { + get { + if case .hourOffsetFromNow(let v)? = window {return v} + return 0 + } + set {window = .hourOffsetFromNow(newValue)} } - /// Returns true if `dataFromMe` has been explicitly set. - public var hasDataFromMe: Bool {return _storage._dataFromMe != nil} - /// Clears the value of `dataFromMe`. Subsequent reads from it will return its default value. - public mutating func clearDataFromMe() {_uniqueStorage()._dataFromMe = nil} - public var dataToMe: OneWaySharedFriendshipDataProto { - get {return _storage._dataToMe ?? OneWaySharedFriendshipDataProto()} - set {_uniqueStorage()._dataToMe = newValue} + public var metrics: FitnessMetricsProto { + get {return _metrics ?? FitnessMetricsProto()} + set {_metrics = newValue} } - /// Returns true if `dataToMe` has been explicitly set. - public var hasDataToMe: Bool {return _storage._dataToMe != nil} - /// Clears the value of `dataToMe`. Subsequent reads from it will return its default value. - public mutating func clearDataToMe() {_uniqueStorage()._dataToMe = nil} + /// Returns true if `metrics` has been explicitly set. + public var hasMetrics: Bool {return self._metrics != nil} + /// Clears the value of `metrics`. Subsequent reads from it will return its default value. + public mutating func clearMetrics() {self._metrics = nil} + + public var gameData: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OnlineStatus: SwiftProtobuf.Enum { + public enum OneOf_Window: Equatable { + case dayOffsetFromNow(Int32) + case weekOffsetFromNow(Int32) + case hourOffsetFromNow(Int32) + + #if !swift(>=4.1) + public static func ==(lhs: FitnessReportProto.OneOf_Window, rhs: FitnessReportProto.OneOf_Window) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.dayOffsetFromNow, .dayOffsetFromNow): return { + guard case .dayOffsetFromNow(let l) = lhs, case .dayOffsetFromNow(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.weekOffsetFromNow, .weekOffsetFromNow): return { + guard case .weekOffsetFromNow(let l) = lhs, case .weekOffsetFromNow(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.hourOffsetFromNow, .hourOffsetFromNow): return { + guard case .hourOffsetFromNow(let l) = lhs, case .hourOffsetFromNow(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _metrics: FitnessMetricsProto? = nil +} + +public struct FitnessRewardsLogEntry { + // 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. + + public var result: FitnessRewardsLogEntry.Result = .unset + + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var distanceWalkedKm: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case statusUnknown // = 1 - case statusOnline // = 2 - case statusOffline // = 3 + case success // = 1 case UNRECOGNIZED(Int) public init() { @@ -62197,9 +64240,7 @@ public struct FriendDetailsProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .statusUnknown - case 2: self = .statusOnline - case 3: self = .statusOffline + case 1: self = .success default: self = .UNRECOGNIZED(rawValue) } } @@ -62207,9 +64248,7 @@ public struct FriendDetailsProto { public var rawValue: Int { switch self { case .unset: return 0 - case .statusUnknown: return 1 - case .statusOnline: return 2 - case .statusOffline: return 3 + case .success: return 1 case .UNRECOGNIZED(let i): return i } } @@ -62218,109 +64257,124 @@ public struct FriendDetailsProto { public init() {} - fileprivate var _storage = _StorageClass.defaultInstance + fileprivate var _rewards: LootProto? = nil } #if swift(>=4.2) -extension FriendDetailsProto.OnlineStatus: CaseIterable { +extension FitnessRewardsLogEntry.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FriendDetailsProto.OnlineStatus] = [ + public static var allCases: [FitnessRewardsLogEntry.Result] = [ .unset, - .statusUnknown, - .statusOnline, - .statusOffline, + .success, ] } #endif // swift(>=4.2) -public struct FriendProfileSettingsProto { - // 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. - - public var enableSwiping: Bool = false - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct FriendRecommendation { +public struct FitnessSample { // 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. - public var niaAccountID: String = String() - - public var recommendationScore: Double = 0 + public var sampleType: FitnessSample.FitnessSampleType = .sampleUnset - public var reason: FriendRecommendationAttributeData.Reason = .unsetReason + public var sampleStartTimestampMs: Int64 = 0 - public var recommendationID: String = String() + public var sampleEndTimestampMs: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var value: Double = 0 - public init() {} -} + public var sourceType: FitnessSample.FitnessSourceType = .sourceUnset -public struct FriendRecommendationAttributeData { - // 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. + public var metadata: FitnessSampleMetadata { + get {return _metadata ?? FitnessSampleMetadata()} + set {_metadata = newValue} + } + /// Returns true if `metadata` has been explicitly set. + public var hasMetadata: Bool {return self._metadata != nil} + /// Clears the value of `metadata`. Subsequent reads from it will return its default value. + public mutating func clearMetadata() {self._metadata = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Reason: SwiftProtobuf.Enum { + public enum FitnessSampleType: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetReason // = 0 + case sampleUnset // = 0 + case steps // = 1 + case walkingDistanceMeters // = 2 + case wheelchairDistanceMeters // = 3 + case caloriesKcals // = 4 + case wheelchairPushCount // = 5 + case exerciseTimeMi // = 6 case UNRECOGNIZED(Int) public init() { - self = .unsetReason + self = .sampleUnset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetReason + case 0: self = .sampleUnset + case 1: self = .steps + case 2: self = .walkingDistanceMeters + case 3: self = .wheelchairDistanceMeters + case 4: self = .caloriesKcals + case 5: self = .wheelchairPushCount + case 6: self = .exerciseTimeMi default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetReason: return 0 + case .sampleUnset: return 0 + case .steps: return 1 + case .walkingDistanceMeters: return 2 + case .wheelchairDistanceMeters: return 3 + case .caloriesKcals: return 4 + case .wheelchairPushCount: return 5 + case .exerciseTimeMi: return 6 case .UNRECOGNIZED(let i): return i } } } - public enum TypeEnum: SwiftProtobuf.Enum { + public enum FitnessSourceType: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetType // = 0 - case newAppFriendType // = 1 + case sourceUnset // = 0 + case healthkit // = 1 + case googleFit // = 2 + case appleWatch // = 3 + case gps // = 4 + case androidSensorHub // = 5 case UNRECOGNIZED(Int) public init() { - self = .unsetType + self = .sourceUnset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetType - case 1: self = .newAppFriendType + case 0: self = .sourceUnset + case 1: self = .healthkit + case 2: self = .googleFit + case 3: self = .appleWatch + case 4: self = .gps + case 5: self = .androidSensorHub default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetType: return 0 - case .newAppFriendType: return 1 + case .sourceUnset: return 0 + case .healthkit: return 1 + case .googleFit: return 2 + case .appleWatch: return 3 + case .gps: return 4 + case .androidSensorHub: return 5 case .UNRECOGNIZED(let i): return i } } @@ -62328,111 +64382,145 @@ public struct FriendRecommendationAttributeData { } public init() {} + + fileprivate var _metadata: FitnessSampleMetadata? = nil } #if swift(>=4.2) -extension FriendRecommendationAttributeData.Reason: CaseIterable { +extension FitnessSample.FitnessSampleType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FriendRecommendationAttributeData.Reason] = [ - .unsetReason, + public static var allCases: [FitnessSample.FitnessSampleType] = [ + .sampleUnset, + .steps, + .walkingDistanceMeters, + .wheelchairDistanceMeters, + .caloriesKcals, + .wheelchairPushCount, + .exerciseTimeMi, ] } -extension FriendRecommendationAttributeData.TypeEnum: CaseIterable { +extension FitnessSample.FitnessSourceType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FriendRecommendationAttributeData.TypeEnum] = [ - .unsetType, - .newAppFriendType, + public static var allCases: [FitnessSample.FitnessSourceType] = [ + .sourceUnset, + .healthkit, + .googleFit, + .appleWatch, + .gps, + .androidSensorHub, ] } #endif // swift(>=4.2) -public struct FriendshipDataProto { +public struct FitnessSampleMetadata { // 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. - public var friendshipLevelData: FriendshipLevelDataProto { - get {return _friendshipLevelData ?? FriendshipLevelDataProto()} - set {_friendshipLevelData = newValue} - } - /// Returns true if `friendshipLevelData` has been explicitly set. - public var hasFriendshipLevelData: Bool {return self._friendshipLevelData != nil} - /// Clears the value of `friendshipLevelData`. Subsequent reads from it will return its default value. - public mutating func clearFriendshipLevelData() {self._friendshipLevelData = nil} - - public var giftboxDetails: [GiftBoxDetailsProto] = [] - - public var codename: String = String() + public var originalDataSource: AndroidDataSource { + get {return _storage._originalDataSource ?? AndroidDataSource()} + set {_uniqueStorage()._originalDataSource = newValue} + } + /// Returns true if `originalDataSource` has been explicitly set. + public var hasOriginalDataSource: Bool {return _storage._originalDataSource != nil} + /// Clears the value of `originalDataSource`. Subsequent reads from it will return its default value. + public mutating func clearOriginalDataSource() {_uniqueStorage()._originalDataSource = nil} - public var nickname: String = String() + public var dataSource: AndroidDataSource { + get {return _storage._dataSource ?? AndroidDataSource()} + set {_uniqueStorage()._dataSource = newValue} + } + /// Returns true if `dataSource` has been explicitly set. + public var hasDataSource: Bool {return _storage._dataSource != nil} + /// Clears the value of `dataSource`. Subsequent reads from it will return its default value. + public mutating func clearDataSource() {_uniqueStorage()._dataSource = nil} - public var openTradeExpireMs: Int64 = 0 + public var sourceRevision: IosSourceRevision { + get {return _storage._sourceRevision ?? IosSourceRevision()} + set {_uniqueStorage()._sourceRevision = newValue} + } + /// Returns true if `sourceRevision` has been explicitly set. + public var hasSourceRevision: Bool {return _storage._sourceRevision != nil} + /// Clears the value of `sourceRevision`. Subsequent reads from it will return its default value. + public mutating func clearSourceRevision() {_uniqueStorage()._sourceRevision = nil} - public var isLucky: Bool = false + public var device: IosDevice { + get {return _storage._device ?? IosDevice()} + set {_uniqueStorage()._device = newValue} + } + /// Returns true if `device` has been explicitly set. + public var hasDevice: Bool {return _storage._device != nil} + /// Clears the value of `device`. Subsequent reads from it will return its default value. + public mutating func clearDevice() {_uniqueStorage()._device = nil} - public var luckyCount: Int32 = 0 + public var userEntered: Bool { + get {return _storage._userEntered} + set {_uniqueStorage()._userEntered = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _friendshipLevelData: FriendshipLevelDataProto? = nil + fileprivate var _storage = _StorageClass.defaultInstance } -public struct FriendshipLevelDataProto { +public struct FitnessStatsProto { // 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. - public var bucket: Int64 = 0 + public var lastAccumulatedTimestampMs: Int64 = 0 - public var pointsEarnedToday: Int32 = 0 + public var accumulated: FitnessMetricsProto { + get {return _accumulated ?? FitnessMetricsProto()} + set {_accumulated = newValue} + } + /// Returns true if `accumulated` has been explicitly set. + public var hasAccumulated: Bool {return self._accumulated != nil} + /// Clears the value of `accumulated`. Subsequent reads from it will return its default value. + public mutating func clearAccumulated() {self._accumulated = nil} - public var awardedFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + public var pending: FitnessMetricsProto { + get {return _pending ?? FitnessMetricsProto()} + set {_pending = newValue} + } + /// Returns true if `pending` has been explicitly set. + public var hasPending: Bool {return self._pending != nil} + /// Clears the value of `pending`. Subsequent reads from it will return its default value. + public mutating func clearPending() {self._pending = nil} - public var currentFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + public var playerInitialWalkKm: Double = 0 - public var nextFriendshipMilestoneProgressPercentage: Double = 0 + public var playerTotalWalkKm: Double = 0 - public var pointsTowardNextMilestone: Int32 = 0 + public var playerTotalSteps: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _accumulated: FitnessMetricsProto? = nil + fileprivate var _pending: FitnessMetricsProto? = nil } -public struct FriendshipLevelMilestoneSettingsProto { +public struct FitnessUpdateOutProto { // 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. - public var minPointsToReach: Int32 = 0 - - public var milestoneXpReward: Int32 = 0 - - public var attackBonusPercentage: Float = 0 - - public var raidBallBonus: Int32 = 0 - - public var unlockedTrading: [FriendshipLevelMilestoneSettingsProto.PokemonTradingType] = [] - - public var tradingDiscount: Float = 0 + public var status: FitnessUpdateOutProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum PokemonTradingType: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case regularInPokedex // = 1 - case specialInPokedex // = 2 - case regularNonPokedex // = 3 - case regionalNonPokedex // = 4 - case formNonPokedex // = 5 - case legendaryNonPokedex // = 6 - case shinyNonPokedex // = 7 + case success // = 1 + case errorUnknown // = 2 case UNRECOGNIZED(Int) public init() { @@ -62442,13 +64530,8 @@ public struct FriendshipLevelMilestoneSettingsProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .regularInPokedex - case 2: self = .specialInPokedex - case 3: self = .regularNonPokedex - case 4: self = .regionalNonPokedex - case 5: self = .formNonPokedex - case 6: self = .legendaryNonPokedex - case 7: self = .shinyNonPokedex + case 1: self = .success + case 2: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -62456,13 +64539,8 @@ public struct FriendshipLevelMilestoneSettingsProto { public var rawValue: Int { switch self { case .unset: return 0 - case .regularInPokedex: return 1 - case .specialInPokedex: return 2 - case .regularNonPokedex: return 3 - case .regionalNonPokedex: return 4 - case .formNonPokedex: return 5 - case .legendaryNonPokedex: return 6 - case .shinyNonPokedex: return 7 + case .success: return 1 + case .errorUnknown: return 2 case .UNRECOGNIZED(let i): return i } } @@ -62474,93 +64552,107 @@ public struct FriendshipLevelMilestoneSettingsProto { #if swift(>=4.2) -extension FriendshipLevelMilestoneSettingsProto.PokemonTradingType: CaseIterable { +extension FitnessUpdateOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [FriendshipLevelMilestoneSettingsProto.PokemonTradingType] = [ + public static var allCases: [FitnessUpdateOutProto.Status] = [ .unset, - .regularInPokedex, - .specialInPokedex, - .regularNonPokedex, - .regionalNonPokedex, - .formNonPokedex, - .legendaryNonPokedex, - .shinyNonPokedex, + .success, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct FriendshipMilestoneRewardNotificationProto { +public struct FitnessUpdateProto { // 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. - public var friendID: String = String() - - public var friendCodename: String = String() - - public var friendshipMilestoneLevel: Int32 = 0 - - public var xpReward: Int64 = 0 + public var fitnessSamples: [FitnessSample] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct FriendshipMilestoneRewardProto { +public struct FollowerDataProto { // 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. - public var friendID: String = String() - - public var friendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset - - public var niaAccountID: String = String() + public var pokemonFollowers: [FollowerPokemonProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM11SettingsProto { +public struct FollowerPokemonProto { // 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. - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 - - public var obInt323: Int32 = 0 - - public var obInt324: Int32 = 0 + public var pokemonData: FollowerPokemonProto.OneOf_PokemonData? = nil - public var obFloat: Float = 0 + public var pokemonID: HoloPokemonId { + get { + if case .pokemonID(let v)? = pokemonData {return v} + return .missingno + } + set {pokemonData = .pokemonID(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var address: String { + get { + if case .address(let v)? = pokemonData {return v} + return String() + } + set {pokemonData = .address(newValue)} + } - public init() {} -} + public var display: PokemonDisplayProto { + get {return _display ?? PokemonDisplayProto()} + set {_display = newValue} + } + /// Returns true if `display` has been explicitly set. + public var hasDisplay: Bool {return self._display != nil} + /// Clears the value of `display`. Subsequent reads from it will return its default value. + public mutating func clearDisplay() {self._display = nil} -public struct GM1SettingsProto { - // 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. + public var endMs: Int64 = 0 - public var activity: GM1SettingsProto.Activity = .unset + public var id: FollowerPokemonProto.FollowerId = .unset - public var obInt321: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obInt322: Int32 = 0 + public enum OneOf_PokemonData: Equatable { + case pokemonID(HoloPokemonId) + case address(String) - public var unknownFields = SwiftProtobuf.UnknownStorage() + #if !swift(>=4.1) + public static func ==(lhs: FollowerPokemonProto.OneOf_PokemonData, rhs: FollowerPokemonProto.OneOf_PokemonData) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pokemonID, .pokemonID): return { + guard case .pokemonID(let l) = lhs, case .pokemonID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.address, .address): return { + guard case .address(let l) = lhs, case .address(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } - public enum Activity: SwiftProtobuf.Enum { + public enum FollowerId: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case fortPowerUpActivityArScan // = 1 + case id1 // = 1 case UNRECOGNIZED(Int) public init() { @@ -62570,7 +64662,7 @@ public struct GM1SettingsProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .fortPowerUpActivityArScan + case 1: self = .id1 default: self = .UNRECOGNIZED(rawValue) } } @@ -62578,7 +64670,7 @@ public struct GM1SettingsProto { public var rawValue: Int { switch self { case .unset: return 0 - case .fortPowerUpActivityArScan: return 1 + case .id1: return 1 case .UNRECOGNIZED(let i): return i } } @@ -62586,213 +64678,313 @@ public struct GM1SettingsProto { } public init() {} + + fileprivate var _display: PokemonDisplayProto? = nil } #if swift(>=4.2) -extension GM1SettingsProto.Activity: CaseIterable { +extension FollowerPokemonProto.FollowerId: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GM1SettingsProto.Activity] = [ + public static var allCases: [FollowerPokemonProto.FollowerId] = [ .unset, - .fortPowerUpActivityArScan, + .id1, ] } #endif // swift(>=4.2) -public struct GM27SettingsProto { +public struct FollowerPokemonTappedTelemetry { // 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. - public var enabled: Bool = false + public var pokemonData: FollowerPokemonTappedTelemetry.OneOf_PokemonData? = nil + + public var followerHoloPokemonID: HoloPokemonId { + get { + if case .followerHoloPokemonID(let v)? = pokemonData {return v} + return .missingno + } + set {pokemonData = .followerHoloPokemonID(newValue)} + } + + public var followerAddress: String { + get { + if case .followerAddress(let v)? = pokemonData {return v} + return String() + } + set {pokemonData = .followerAddress(newValue)} + } + + public var followerID: FollowerPokemonProto.FollowerId = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_PokemonData: Equatable { + case followerHoloPokemonID(HoloPokemonId) + case followerAddress(String) + + #if !swift(>=4.1) + public static func ==(lhs: FollowerPokemonTappedTelemetry.OneOf_PokemonData, rhs: FollowerPokemonTappedTelemetry.OneOf_PokemonData) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.followerHoloPokemonID, .followerHoloPokemonID): return { + guard case .followerHoloPokemonID(let l) = lhs, case .followerHoloPokemonID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.followerAddress, .followerAddress): return { + guard case .followerAddress(let l) = lhs, case .followerAddress(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + public init() {} } -public struct GM29SettingsProto { +public struct FoodAttributesProto { // 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. - public var obEnabled: Bool = false + public var itemEffect: [HoloItemEffect] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var itemEffectPercent: [Float] = [] - public init() {} -} + public var growthPercent: Float = 0 -public struct GM2SettingsProto { - // 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. + public var berryMultiplier: Float = 0 - public var obInt32: Int32 = 0 + public var remoteBerryMultiplier: Float = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var numBuddyAffectionPoints: Int32 = 0 - public init() {} -} + public var mapDurationMs: Int64 = 0 -public struct GM30SettingsProto { - // 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. + public var activeDurationMs: Int64 = 0 - public var obEnabled: Bool = false + public var numBuddyHungerPoints: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM37SettingsProto { +public struct FoodValue { // 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. - public var enabled: Bool = false + public var motivationIncrease: Float = 0 + + public var cpIncrease: Int32 = 0 + + public var foodItem: Item = .unknown public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM39SettingsProto { +public struct FormChangeProto { // 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. - public var obInt321: Int32 = 0 + public var availableForm: [PokemonDisplayProto.Form] = [] + + public var candyCost: Int32 = 0 + + public var stardustCost: Int32 = 0 + + public var itemCost: Item = .unknown - public var obInt322: Int32 = 0 + public var questRequirement: [EvolutionQuestInfoProto] = [] - public var obQuestReward: [QuestRewardProto] = [] + public var itemCostCount: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM3SettingsProto { +public struct FormChangeSettingsProto { // 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. - public var obString: [String] = [] + public var enabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM43SettingsProto { +public struct FormPokedexSizeProto { // 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. - public var obBool1: Bool = false + public var isAlias: Bool = false - public var obBool2: Bool = false + public var aliasForm: PokemonDisplayProto.Form = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM44SettingsProto { +public struct FormProto { // 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. - public var obInt32: Int32 = 0 + public var form: PokemonDisplayProto.Form = .unset + + public var assetBundleValue: Int32 = 0 + + public var assetBundleSuffix: String = String() - public var obBool: Bool = false + public var isCostume: Bool = false - public var item: [Item] = [] + public var sizeData: FormPokedexSizeProto { + get {return _sizeData ?? FormPokedexSizeProto()} + set {_sizeData = newValue} + } + /// Returns true if `sizeData` has been explicitly set. + public var hasSizeData: Bool {return self._sizeData != nil} + /// Clears the value of `sizeData`. Subsequent reads from it will return its default value. + public mutating func clearSizeData() {self._sizeData = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _sizeData: FormPokedexSizeProto? = nil } -public struct GM45SettingsProto { +public struct FormRenderModifier { // 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. - public var enabled: Bool = false + public var type: [FormRenderModifier.RenderModifierType] = [] + + public var effectTarget: FormRenderModifier.EffectTarget = .unsetTarget + + public var pokemonID: UInt64 = 0 + + public var pokedexID: HoloPokemonId = .missingno - public var obInt32: Int32 = 0 + public var pokemonForm: PokemonDisplayProto.Form = .unset - public var obType1: [GM45SettingsProto.Generator] = [] + public var alignment: PokemonDisplayProto.Alignment = .unset - public var obType2: [GM45SettingsProto.Generator] = [] + public var transitionVfxKey: FormRenderModifier.TransitionVfxKey = .defaultTransition - public var obType3: [GM45SettingsProto.Generator] = [] + public var eventTriggerTime: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Generator: SwiftProtobuf.Enum { + public enum EffectTarget: SwiftProtobuf.Enum { public typealias RawValue = Int - case eventSectionGenerator // = 0 - case pokecoinSectionGenerator // = 1 - case dailyStreakSectionGenerator // = 2 - case gymPokemonSectionGenerator // = 3 - case upcomingEventsSectionGenerator // = 4 - case upNextSectionGenerator // = 5 - case stampCardSectionGenerator // = 6 - case eventBannerSectionGenerator // = 7 - case timedStoryQuestSectionGenerator // = 8 - case timedGroupChallengeSectionGenerator // = 9 - case miniCollectionSectionGenerator // = 10 - case challengeQuestSectionGenerator // = 11 - case storyQuestSectionGenerator // = 12 - case contestPokemonSectionGenerator // = 13 + case unsetTarget // = 0 + case defender // = 1 + case attacker // = 2 + case allPlayers // = 3 case UNRECOGNIZED(Int) public init() { - self = .eventSectionGenerator + self = .unsetTarget } public init?(rawValue: Int) { switch rawValue { - case 0: self = .eventSectionGenerator - case 1: self = .pokecoinSectionGenerator - case 2: self = .dailyStreakSectionGenerator - case 3: self = .gymPokemonSectionGenerator - case 4: self = .upcomingEventsSectionGenerator - case 5: self = .upNextSectionGenerator - case 6: self = .stampCardSectionGenerator - case 7: self = .eventBannerSectionGenerator - case 8: self = .timedStoryQuestSectionGenerator - case 9: self = .timedGroupChallengeSectionGenerator - case 10: self = .miniCollectionSectionGenerator - case 11: self = .challengeQuestSectionGenerator - case 12: self = .storyQuestSectionGenerator - case 13: self = .contestPokemonSectionGenerator + case 0: self = .unsetTarget + case 1: self = .defender + case 2: self = .attacker + case 3: self = .allPlayers default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .eventSectionGenerator: return 0 - case .pokecoinSectionGenerator: return 1 - case .dailyStreakSectionGenerator: return 2 - case .gymPokemonSectionGenerator: return 3 - case .upcomingEventsSectionGenerator: return 4 - case .upNextSectionGenerator: return 5 - case .stampCardSectionGenerator: return 6 - case .eventBannerSectionGenerator: return 7 - case .timedStoryQuestSectionGenerator: return 8 - case .timedGroupChallengeSectionGenerator: return 9 - case .miniCollectionSectionGenerator: return 10 - case .challengeQuestSectionGenerator: return 11 - case .storyQuestSectionGenerator: return 12 - case .contestPokemonSectionGenerator: return 13 + case .unsetTarget: return 0 + case .defender: return 1 + case .attacker: return 2 + case .allPlayers: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum RenderModifierType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case suppressSelf // = 1 + case suppressOpponent // = 2 + case displayChange // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .suppressSelf + case 2: self = .suppressOpponent + case 3: self = .displayChange + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .suppressSelf: return 1 + case .suppressOpponent: return 2 + case .displayChange: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum TransitionVfxKey: SwiftProtobuf.Enum { + public typealias RawValue = Int + case defaultTransition // = 0 + case shadowEnrage // = 1 + case shadowSuppress // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .defaultTransition + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .defaultTransition + case 1: self = .shadowEnrage + case 2: self = .shadowSuppress + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .defaultTransition: return 0 + case .shadowEnrage: return 1 + case .shadowSuppress: return 2 case .UNRECOGNIZED(let i): return i } } @@ -62804,475 +64996,1459 @@ public struct GM45SettingsProto { #if swift(>=4.2) -extension GM45SettingsProto.Generator: CaseIterable { +extension FormRenderModifier.EffectTarget: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GM45SettingsProto.Generator] = [ - .eventSectionGenerator, - .pokecoinSectionGenerator, - .dailyStreakSectionGenerator, - .gymPokemonSectionGenerator, - .upcomingEventsSectionGenerator, - .upNextSectionGenerator, - .stampCardSectionGenerator, - .eventBannerSectionGenerator, - .timedStoryQuestSectionGenerator, - .timedGroupChallengeSectionGenerator, - .miniCollectionSectionGenerator, - .challengeQuestSectionGenerator, - .storyQuestSectionGenerator, - .contestPokemonSectionGenerator, + public static var allCases: [FormRenderModifier.EffectTarget] = [ + .unsetTarget, + .defender, + .attacker, + .allPlayers, + ] +} + +extension FormRenderModifier.RenderModifierType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FormRenderModifier.RenderModifierType] = [ + .unset, + .suppressSelf, + .suppressOpponent, + .displayChange, + ] +} + +extension FormRenderModifier.TransitionVfxKey: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FormRenderModifier.TransitionVfxKey] = [ + .defaultTransition, + .shadowEnrage, + .shadowSuppress, ] } #endif // swift(>=4.2) -public struct GM46SettingsProto { +public struct FormSettingsProto { // 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. - public var enabled: Bool = false + public var pokemon: HoloPokemonId = .missingno - public var obBool: Bool = false + public var forms: [FormProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM47SettingsProto { +public struct FormsRefactorSettingsProto { // 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. - public var obInt32: Int32 = 0 - - public var obFloat1: Float = 0 + public var enableShadowV2Gmts: Bool = false - public var obFloat2: Float = 0 + public var readFromNewPokedexEntryFields: Bool = false - public var obListString1: [String] = [] + public var validateNoShadowsInQuestOrInvasionGmts: Bool = false - public var obListString2: [String] = [] - - public var obListString3: [String] = [] + public var validateNoShadowOrPurifiedInGmts: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM49SettingsProto { +public struct FortDeployOutProto { // 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. - public var enabled: Bool = false - - public var obInt32: Int32 = 0 - - public var obInt64: Int64 = 0 + public var result: FortDeployOutProto.Result = .noResultSet - public var obBool1: Bool = false + public var fortDetailsOutProto: FortDetailsOutProto { + get {return _fortDetailsOutProto ?? FortDetailsOutProto()} + set {_fortDetailsOutProto = newValue} + } + /// Returns true if `fortDetailsOutProto` has been explicitly set. + public var hasFortDetailsOutProto: Bool {return self._fortDetailsOutProto != nil} + /// Clears the value of `fortDetailsOutProto`. Subsequent reads from it will return its default value. + public mutating func clearFortDetailsOutProto() {self._fortDetailsOutProto = nil} - public var obBool2: Bool = false + public var eggPokemon: PokemonProto { + get {return _eggPokemon ?? PokemonProto()} + set {_eggPokemon = newValue} + } + /// Returns true if `eggPokemon` has been explicitly set. + public var hasEggPokemon: Bool {return self._eggPokemon != nil} + /// Clears the value of `eggPokemon`. Subsequent reads from it will return its default value. + public mutating func clearEggPokemon() {self._eggPokemon = nil} - public var obInt321: Int32 = 0 + public var gymStateProto: GymStateProto { + get {return _gymStateProto ?? GymStateProto()} + set {_gymStateProto = newValue} + } + /// Returns true if `gymStateProto` has been explicitly set. + public var hasGymStateProto: Bool {return self._gymStateProto != nil} + /// Clears the value of `gymStateProto`. Subsequent reads from it will return its default value. + public mutating func clearGymStateProto() {self._gymStateProto = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noResultSet // = 0 + case success // = 1 + case errorAlreadyHasPokemonOnFort // = 2 + case errorOpposingTeamOwnsFort // = 3 + case errorFortIsFull // = 4 + case errorNotInRange // = 5 + case errorPlayerHasNoTeam // = 6 + case errorPokemonNotFullHp // = 7 + case errorPlayerBelowMinimumLevel // = 8 + case errorPokemonIsBuddy // = 9 + case errorFortDeployLockout // = 10 + case errorPlayerHasNoNickname // = 11 + case errorPoiInaccessible // = 12 + case errorLegendaryPokemon // = 13 + case errorInvalidPokemon // = 14 + case UNRECOGNIZED(Int) -public struct GM51SettingsProto { - // 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. + public init() { + self = .noResultSet + } - public var enabled: Bool = false + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noResultSet + case 1: self = .success + case 2: self = .errorAlreadyHasPokemonOnFort + case 3: self = .errorOpposingTeamOwnsFort + case 4: self = .errorFortIsFull + case 5: self = .errorNotInRange + case 6: self = .errorPlayerHasNoTeam + case 7: self = .errorPokemonNotFullHp + case 8: self = .errorPlayerBelowMinimumLevel + case 9: self = .errorPokemonIsBuddy + case 10: self = .errorFortDeployLockout + case 11: self = .errorPlayerHasNoNickname + case 12: self = .errorPoiInaccessible + case 13: self = .errorLegendaryPokemon + case 14: self = .errorInvalidPokemon + default: self = .UNRECOGNIZED(rawValue) + } + } - public var obBool: Bool = false + public var rawValue: Int { + switch self { + case .noResultSet: return 0 + case .success: return 1 + case .errorAlreadyHasPokemonOnFort: return 2 + case .errorOpposingTeamOwnsFort: return 3 + case .errorFortIsFull: return 4 + case .errorNotInRange: return 5 + case .errorPlayerHasNoTeam: return 6 + case .errorPokemonNotFullHp: return 7 + case .errorPlayerBelowMinimumLevel: return 8 + case .errorPokemonIsBuddy: return 9 + case .errorFortDeployLockout: return 10 + case .errorPlayerHasNoNickname: return 11 + case .errorPoiInaccessible: return 12 + case .errorLegendaryPokemon: return 13 + case .errorInvalidPokemon: return 14 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} -} - -public struct GM53SettingsProto { - // 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. - public var obSetting: [GM53SettingsProto2] = [] + fileprivate var _fortDetailsOutProto: FortDetailsOutProto? = nil + fileprivate var _eggPokemon: PokemonProto? = nil + fileprivate var _gymStateProto: GymStateProto? = nil +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension FortDeployOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FortDeployOutProto.Result] = [ + .noResultSet, + .success, + .errorAlreadyHasPokemonOnFort, + .errorOpposingTeamOwnsFort, + .errorFortIsFull, + .errorNotInRange, + .errorPlayerHasNoTeam, + .errorPokemonNotFullHp, + .errorPlayerBelowMinimumLevel, + .errorPokemonIsBuddy, + .errorFortDeployLockout, + .errorPlayerHasNoNickname, + .errorPoiInaccessible, + .errorLegendaryPokemon, + .errorInvalidPokemon, + ] } -public struct GM53SettingsProto2 { +#endif // swift(>=4.2) + +public struct FortDeployProto { // 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. - public var obInt32: Int32 = 0 + public var fortID: String = String() - public var questType: QuestType = .questUnset + public var pokemonID: UInt64 = 0 - public var questCondition: [QuestConditionProto] = [] + public var playerLatDegrees: Double = 0 - public var obInt64: Int64 = 0 + public var playerLngDegrees: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM55SettingsProto { +public struct FortDetailsOutProto { // 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. - public var obInt321: Int32 = 0 + public var id: String { + get {return _storage._id} + set {_uniqueStorage()._id = newValue} + } + + public var team: Team { + get {return _storage._team} + set {_uniqueStorage()._team = newValue} + } + + public var pokemon: [PokemonProto] { + get {return _storage._pokemon} + set {_uniqueStorage()._pokemon = newValue} + } - public var obInt322: Int32 = 0 + public var name: String { + get {return _storage._name} + set {_uniqueStorage()._name = newValue} + } - public var obInt323: Int32 = 0 + public var imageURL: [String] { + get {return _storage._imageURL} + set {_uniqueStorage()._imageURL = newValue} + } - public var obInt324: Int32 = 0 + public var fp: Int32 { + get {return _storage._fp} + set {_uniqueStorage()._fp = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var stamina: Int32 { + get {return _storage._stamina} + set {_uniqueStorage()._stamina = newValue} + } - public init() {} -} + public var maxStamina: Int32 { + get {return _storage._maxStamina} + set {_uniqueStorage()._maxStamina = newValue} + } -public struct GM56SettingsProto { - // 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. + public var fortType: FortType { + get {return _storage._fortType} + set {_uniqueStorage()._fortType = newValue} + } - public var obField: [GM56SettingsProto2] = [] + public var latitude: Double { + get {return _storage._latitude} + set {_uniqueStorage()._latitude = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var longitude: Double { + get {return _storage._longitude} + set {_uniqueStorage()._longitude = newValue} + } - public init() {} -} + public var description_p: String { + get {return _storage._description_p} + set {_uniqueStorage()._description_p = newValue} + } -public struct GM56SettingsProto2 { - // 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. + public var modifier: [ClientFortModifierProto] { + get {return _storage._modifier} + set {_uniqueStorage()._modifier = newValue} + } - public var pokecoinSource: PokecoinSource = .sourceUnset + public var closeSoon: Bool { + get {return _storage._closeSoon} + set {_uniqueStorage()._closeSoon = newValue} + } - public var pokecoinCapResetFrequency: PokecoinCapResetFrequency = .frequencyUnset + public var checkinImageURL: String { + get {return _storage._checkinImageURL} + set {_uniqueStorage()._checkinImageURL = newValue} + } - public var obInt64: Int64 = 0 + public var eventInfo: EventInfoProto { + get {return _storage._eventInfo ?? EventInfoProto()} + set {_uniqueStorage()._eventInfo = newValue} + } + /// Returns true if `eventInfo` has been explicitly set. + public var hasEventInfo: Bool {return _storage._eventInfo != nil} + /// Clears the value of `eventInfo`. Subsequent reads from it will return its default value. + public mutating func clearEventInfo() {_uniqueStorage()._eventInfo = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var promoDescription: [String] { + get {return _storage._promoDescription} + set {_uniqueStorage()._promoDescription = newValue} + } - public init() {} -} + public var callToActionLink: String { + get {return _storage._callToActionLink} + set {_uniqueStorage()._callToActionLink = newValue} + } -public struct GM57SettingsProto { - // 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. + public var sponsoredDetails: SponsoredDetailsProto { + get {return _storage._sponsoredDetails ?? SponsoredDetailsProto()} + set {_uniqueStorage()._sponsoredDetails = newValue} + } + /// Returns true if `sponsoredDetails` has been explicitly set. + public var hasSponsoredDetails: Bool {return _storage._sponsoredDetails != nil} + /// Clears the value of `sponsoredDetails`. Subsequent reads from it will return its default value. + public mutating func clearSponsoredDetails() {_uniqueStorage()._sponsoredDetails = nil} + + public var geostoreTombstoneMessageKey: String { + get {return _storage._geostoreTombstoneMessageKey} + set {_uniqueStorage()._geostoreTombstoneMessageKey = newValue} + } + + public var geostoreSuspensionMessageKey: String { + get {return _storage._geostoreSuspensionMessageKey} + set {_uniqueStorage()._geostoreSuspensionMessageKey = newValue} + } + + public var poiImagesCount: Int32 { + get {return _storage._poiImagesCount} + set {_uniqueStorage()._poiImagesCount = newValue} + } - public var obString1: String = String() + public var powerUpProgressPoints: Int32 { + get {return _storage._powerUpProgressPoints} + set {_uniqueStorage()._powerUpProgressPoints = newValue} + } - public var obString2: String = String() + public var powerUpLevelExpirationMs: Int64 { + get {return _storage._powerUpLevelExpirationMs} + set {_uniqueStorage()._powerUpLevelExpirationMs = newValue} + } - public var obListString: [String] = [] + public var nextFortCloseMs: Int64 { + get {return _storage._nextFortCloseMs} + set {_uniqueStorage()._nextFortCloseMs = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct GM58SettingsProto { +public struct FortDetailsProto { // 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. - public var obString1: String = String() - - public var obString2: String = String() + public var id: String = String() - public var obDouble1: Double = 0 + public var latitude: Double = 0 - public var obDouble2: Double = 0 + public var longitude: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM59SettingsProto { +public struct FortModifierAttributesProto { // 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. - public var enabled: Bool = false + public var modifierLifetimeSeconds: Int32 = 0 + + public var troyDiskNumPokemonSpawned: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GM60SettingsProto { +public struct FortPokemonProto { // 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. - public var obBool1: Bool = false - - public var obInt321: Int32 = 0 - - public var obGm60Data1: [GM60SettingsProto.ObGm60Data1] = [] - - public var obInt322: Int32 = 0 - - public var obGm60Data: [GM60SettingsProto.ObGm60Data] = [] - - public var obBool2: Bool = false + public var pokemonProto: MapPokemonProto { + get {return _pokemonProto ?? MapPokemonProto()} + set {_pokemonProto = newValue} + } + /// Returns true if `pokemonProto` has been explicitly set. + public var hasPokemonProto: Bool {return self._pokemonProto != nil} + /// Clears the value of `pokemonProto`. Subsequent reads from it will return its default value. + public mutating func clearPokemonProto() {self._pokemonProto = nil} - public var obInt323: Int32 = 0 + public var spawnType: FortPokemonProto.SpawnType = .lure public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct ObGm60Data { - // 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. + public enum SpawnType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case lure // = 0 + case powerUp // = 1 + case UNRECOGNIZED(Int) - public var obInt321: Int32 = 0 + public init() { + self = .lure + } - public var obInt322: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .lure + case 1: self = .powerUp + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .lure: return 0 + case .powerUp: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} } - public struct ObGm60Data1 { - // 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. - - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 + public init() {} - public var unknownFields = SwiftProtobuf.UnknownStorage() + fileprivate var _pokemonProto: MapPokemonProto? = nil +} - public init() {} - } +#if swift(>=4.2) - public init() {} +extension FortPokemonProto.SpawnType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FortPokemonProto.SpawnType] = [ + .lure, + .powerUp, + ] } -public struct GM6SettingsProto { +#endif // swift(>=4.2) + +public struct FortPowerUpActivitySettings { // 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. - public var obBool: Bool = false + public var activity: FortPowerUpActivitySettings.FortPowerUpActivity = .unset - public var obString: [String] = [] + public var numPointsPerActivity: Int32 = 0 + + public var maxDailyLimitPerPlayer: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum FortPowerUpActivity: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case arScan // = 1 + case UNRECOGNIZED(Int) -public struct GM9SettingsProto { - // 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. + public init() { + self = .unset + } - public var obInt321: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .arScan + default: self = .UNRECOGNIZED(rawValue) + } + } - public var obInt322: Int32 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .arScan: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct GamDetails { +#if swift(>=4.2) + +extension FortPowerUpActivitySettings.FortPowerUpActivity: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FortPowerUpActivitySettings.FortPowerUpActivity] = [ + .unset, + .arScan, + ] +} + +#endif // swift(>=4.2) + +public struct FortPowerUpLevelSettings { // 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. - public var gamRequestKeywords: [String] = [] + public var level: FortPowerUpLevel = .unset - public var gamRequestExtras: Dictionary = [:] + public var minPowerUpPointsRequired: Int32 = 0 + + public var powerupLevelRewards: [FortPowerUpLevelReward] = [] + + public var additionalLevelPowerupDurationMs: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GameClientPhotoGalleryPoiImageProto { +public struct FortPowerUpSpawnSettings { // 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. - public var imageID: String = String() - - public var poiID: String = String() - - public var submitterCodename: String = String() - - public var imageURL: String = String() - - public var creationTimestampMs: Int64 = 0 - - public var hasPlayerVoted_p: Bool = false - - public var numVotesFromGame: Int32 = 0 + public var fortPowerUpPokemonSpawnCount: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GameClientTelemetryOmniProto { +public struct FortRecallOutProto { // 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. - public var telemetryData: GameClientTelemetryOmniProto.OneOf_TelemetryData? = nil - - public var poiSubmissionTelemetry: PoiSubmissionTelemetry { - get { - if case .poiSubmissionTelemetry(let v)? = telemetryData {return v} - return PoiSubmissionTelemetry() - } - set {telemetryData = .poiSubmissionTelemetry(newValue)} - } + public var result: FortRecallOutProto.Result = .noResultSet - public var poiSubmissionPhotoUploadErrorTelemetry: PoiSubmissionPhotoUploadErrorTelemetry { - get { - if case .poiSubmissionPhotoUploadErrorTelemetry(let v)? = telemetryData {return v} - return PoiSubmissionPhotoUploadErrorTelemetry() - } - set {telemetryData = .poiSubmissionPhotoUploadErrorTelemetry(newValue)} + public var fortDetailsOutProto: FortDetailsOutProto { + get {return _fortDetailsOutProto ?? FortDetailsOutProto()} + set {_fortDetailsOutProto = newValue} } + /// Returns true if `fortDetailsOutProto` has been explicitly set. + public var hasFortDetailsOutProto: Bool {return self._fortDetailsOutProto != nil} + /// Clears the value of `fortDetailsOutProto`. Subsequent reads from it will return its default value. + public mutating func clearFortDetailsOutProto() {self._fortDetailsOutProto = nil} - public var playerMetadataTelemetry: PoiPlayerMetadataTelemetry { - get { - if case .playerMetadataTelemetry(let v)? = telemetryData {return v} - return PoiPlayerMetadataTelemetry() - } - set {telemetryData = .playerMetadataTelemetry(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var serverData: TelemetryServerData { - get {return _serverData ?? TelemetryServerData()} - set {_serverData = newValue} - } - /// Returns true if `serverData` has been explicitly set. - public var hasServerData: Bool {return self._serverData != nil} - /// Clears the value of `serverData`. Subsequent reads from it will return its default value. - public mutating func clearServerData() {self._serverData = nil} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noResultSet // = 0 + case success // = 1 + case errorNotInRange // = 2 + case errorPokemonNotOnFort // = 3 + case errorNoPlayer // = 4 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .noResultSet + } - public enum OneOf_TelemetryData: Equatable { - case poiSubmissionTelemetry(PoiSubmissionTelemetry) - case poiSubmissionPhotoUploadErrorTelemetry(PoiSubmissionPhotoUploadErrorTelemetry) - case playerMetadataTelemetry(PoiPlayerMetadataTelemetry) + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noResultSet + case 1: self = .success + case 2: self = .errorNotInRange + case 3: self = .errorPokemonNotOnFort + case 4: self = .errorNoPlayer + default: self = .UNRECOGNIZED(rawValue) + } + } - #if !swift(>=4.1) - public static func ==(lhs: GameClientTelemetryOmniProto.OneOf_TelemetryData, rhs: GameClientTelemetryOmniProto.OneOf_TelemetryData) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.poiSubmissionTelemetry, .poiSubmissionTelemetry): return { - guard case .poiSubmissionTelemetry(let l) = lhs, case .poiSubmissionTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.poiSubmissionPhotoUploadErrorTelemetry, .poiSubmissionPhotoUploadErrorTelemetry): return { - guard case .poiSubmissionPhotoUploadErrorTelemetry(let l) = lhs, case .poiSubmissionPhotoUploadErrorTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.playerMetadataTelemetry, .playerMetadataTelemetry): return { - guard case .playerMetadataTelemetry(let l) = lhs, case .playerMetadataTelemetry(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false + public var rawValue: Int { + switch self { + case .noResultSet: return 0 + case .success: return 1 + case .errorNotInRange: return 2 + case .errorPokemonNotOnFort: return 3 + case .errorNoPlayer: return 4 + case .UNRECOGNIZED(let i): return i } } - #endif + } public init() {} - fileprivate var _serverData: TelemetryServerData? = nil + fileprivate var _fortDetailsOutProto: FortDetailsOutProto? = nil +} + +#if swift(>=4.2) + +extension FortRecallOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FortRecallOutProto.Result] = [ + .noResultSet, + .success, + .errorNotInRange, + .errorPokemonNotOnFort, + .errorNoPlayer, + ] } -public struct GameItemContentProto { +#endif // swift(>=4.2) + +public struct FortRecallProto { // 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. - public var type: String = String() + public var fortID: String = String() - public var quantity: Int32 = 0 + public var pokemonID: UInt64 = 0 + + public var playerLatDegrees: Double = 0 + + public var playerLngDegrees: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GameMasterClientTemplateProto { +public struct FortRenderingType { // 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. - public var templateID: String { - get {return _storage._templateID} - set {_uniqueStorage()._templateID = newValue} - } - - public var pokemonSettings: PokemonSettingsProto { - get {return _storage._pokemonSettings ?? PokemonSettingsProto()} - set {_uniqueStorage()._pokemonSettings = newValue} - } - /// Returns true if `pokemonSettings` has been explicitly set. - public var hasPokemonSettings: Bool {return _storage._pokemonSettings != nil} - /// Clears the value of `pokemonSettings`. Subsequent reads from it will return its default value. - public mutating func clearPokemonSettings() {_uniqueStorage()._pokemonSettings = nil} - - public var itemSettings: ItemSettingsProto { - get {return _storage._itemSettings ?? ItemSettingsProto()} - set {_uniqueStorage()._itemSettings = newValue} - } - /// Returns true if `itemSettings` has been explicitly set. - public var hasItemSettings: Bool {return _storage._itemSettings != nil} - /// Clears the value of `itemSettings`. Subsequent reads from it will return its default value. - public mutating func clearItemSettings() {_uniqueStorage()._itemSettings = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum RenderingType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case `default` // = 0 + case internalTest // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .default + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .default + case 1: self = .internalTest + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .default: return 0 + case .internalTest: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension FortRenderingType.RenderingType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FortRenderingType.RenderingType] = [ + .default, + .internalTest, + ] +} + +#endif // swift(>=4.2) + +public struct FortSearchLogEntry { + // 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. + + public var result: FortSearchLogEntry.Result = .unset + + public var fortID: String = String() + + public var items: [ItemProto] = [] + + public var eggs: Int32 = 0 + + public var pokemonEggs: [PokemonProto] = [] + + public var fortType: FortType = .gym + + public var awardedItems: [ItemProto] = [] + + public var bonusItems: [ItemProto] = [] + + public var teamBonusItems: [ItemProto] = [] + + public var giftBoxes: [GiftBoxProto] = [] + + public var stickers: [LootItemProto] = [] + + public var poweredUpStopBonusItems: [ItemProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension FortSearchLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FortSearchLogEntry.Result] = [ + .unset, + .success, + ] +} + +#endif // swift(>=4.2) + +public struct FortSearchOutProto { + // 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. + + public var result: FortSearchOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} + } + + public var items: [AwardItemProto] { + get {return _storage._items} + set {_uniqueStorage()._items = newValue} + } + + public var gemsAwarded: Int32 { + get {return _storage._gemsAwarded} + set {_uniqueStorage()._gemsAwarded = newValue} + } + + public var eggPokemon: PokemonProto { + get {return _storage._eggPokemon ?? PokemonProto()} + set {_uniqueStorage()._eggPokemon = newValue} + } + /// Returns true if `eggPokemon` has been explicitly set. + public var hasEggPokemon: Bool {return _storage._eggPokemon != nil} + /// Clears the value of `eggPokemon`. Subsequent reads from it will return its default value. + public mutating func clearEggPokemon() {_uniqueStorage()._eggPokemon = nil} + + public var xpAwarded: Int32 { + get {return _storage._xpAwarded} + set {_uniqueStorage()._xpAwarded = newValue} + } + + public var cooldownComplete: Int64 { + get {return _storage._cooldownComplete} + set {_uniqueStorage()._cooldownComplete = newValue} + } + + public var chainHackSequenceNumber: Int32 { + get {return _storage._chainHackSequenceNumber} + set {_uniqueStorage()._chainHackSequenceNumber = newValue} + } + + public var awardedGymBadge: AwardedGymBadge { + get {return _storage._awardedGymBadge ?? AwardedGymBadge()} + set {_uniqueStorage()._awardedGymBadge = newValue} + } + /// Returns true if `awardedGymBadge` has been explicitly set. + public var hasAwardedGymBadge: Bool {return _storage._awardedGymBadge != nil} + /// Clears the value of `awardedGymBadge`. Subsequent reads from it will return its default value. + public mutating func clearAwardedGymBadge() {_uniqueStorage()._awardedGymBadge = nil} + + public var loot: LootProto { + get {return _storage._loot ?? LootProto()} + set {_uniqueStorage()._loot = newValue} + } + /// Returns true if `loot` has been explicitly set. + public var hasLoot: Bool {return _storage._loot != nil} + /// Clears the value of `loot`. Subsequent reads from it will return its default value. + public mutating func clearLoot() {_uniqueStorage()._loot = nil} + + public var bonusLoot: LootProto { + get {return _storage._bonusLoot ?? LootProto()} + set {_uniqueStorage()._bonusLoot = newValue} + } + /// Returns true if `bonusLoot` has been explicitly set. + public var hasBonusLoot: Bool {return _storage._bonusLoot != nil} + /// Clears the value of `bonusLoot`. Subsequent reads from it will return its default value. + public mutating func clearBonusLoot() {_uniqueStorage()._bonusLoot = nil} + + public var raidTickets: Int32 { + get {return _storage._raidTickets} + set {_uniqueStorage()._raidTickets = newValue} + } + + public var teamBonusLoot: LootProto { + get {return _storage._teamBonusLoot ?? LootProto()} + set {_uniqueStorage()._teamBonusLoot = newValue} + } + /// Returns true if `teamBonusLoot` has been explicitly set. + public var hasTeamBonusLoot: Bool {return _storage._teamBonusLoot != nil} + /// Clears the value of `teamBonusLoot`. Subsequent reads from it will return its default value. + public mutating func clearTeamBonusLoot() {_uniqueStorage()._teamBonusLoot = nil} + + public var fortID: String { + get {return _storage._fortID} + set {_uniqueStorage()._fortID = newValue} + } + + public var challengeQuest: ClientQuestProto { + get {return _storage._challengeQuest ?? ClientQuestProto()} + set {_uniqueStorage()._challengeQuest = newValue} + } + /// Returns true if `challengeQuest` has been explicitly set. + public var hasChallengeQuest: Bool {return _storage._challengeQuest != nil} + /// Clears the value of `challengeQuest`. Subsequent reads from it will return its default value. + public mutating func clearChallengeQuest() {_uniqueStorage()._challengeQuest = nil} + + public var giftBox: GiftBoxProto { + get {return _storage._giftBox ?? GiftBoxProto()} + set {_uniqueStorage()._giftBox = newValue} + } + /// Returns true if `giftBox` has been explicitly set. + public var hasGiftBox: Bool {return _storage._giftBox != nil} + /// Clears the value of `giftBox`. Subsequent reads from it will return its default value. + public mutating func clearGiftBox() {_uniqueStorage()._giftBox = nil} + + public var sponsoredGift: AdDetails { + get {return _storage._sponsoredGift ?? AdDetails()} + set {_uniqueStorage()._sponsoredGift = newValue} + } + /// Returns true if `sponsoredGift` has been explicitly set. + public var hasSponsoredGift: Bool {return _storage._sponsoredGift != nil} + /// Clears the value of `sponsoredGift`. Subsequent reads from it will return its default value. + public mutating func clearSponsoredGift() {_uniqueStorage()._sponsoredGift = nil} + + public var powerUpStopBonusLoot: LootProto { + get {return _storage._powerUpStopBonusLoot ?? LootProto()} + set {_uniqueStorage()._powerUpStopBonusLoot = newValue} + } + /// Returns true if `powerUpStopBonusLoot` has been explicitly set. + public var hasPowerUpStopBonusLoot: Bool {return _storage._powerUpStopBonusLoot != nil} + /// Clears the value of `powerUpStopBonusLoot`. Subsequent reads from it will return its default value. + public mutating func clearPowerUpStopBonusLoot() {_uniqueStorage()._powerUpStopBonusLoot = nil} + + public var ad: AdProto { + get {return _storage._ad ?? AdProto()} + set {_uniqueStorage()._ad = newValue} + } + /// Returns true if `ad` has been explicitly set. + public var hasAd: Bool {return _storage._ad != nil} + /// Clears the value of `ad`. Subsequent reads from it will return its default value. + public mutating func clearAd() {_uniqueStorage()._ad = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noResultSet // = 0 + case success // = 1 + case outOfRange // = 2 + case inCooldownPeriod // = 3 + case inventoryFull // = 4 + case exceededDailyLimit // = 5 + case poiInaccessible // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .noResultSet + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noResultSet + case 1: self = .success + case 2: self = .outOfRange + case 3: self = .inCooldownPeriod + case 4: self = .inventoryFull + case 5: self = .exceededDailyLimit + case 6: self = .poiInaccessible + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noResultSet: return 0 + case .success: return 1 + case .outOfRange: return 2 + case .inCooldownPeriod: return 3 + case .inventoryFull: return 4 + case .exceededDailyLimit: return 5 + case .poiInaccessible: return 6 + case .UNRECOGNIZED(let i): return i + } + } - public var moveSettings: MoveSettingsProto { - get {return _storage._moveSettings ?? MoveSettingsProto()} - set {_uniqueStorage()._moveSettings = newValue} } - /// Returns true if `moveSettings` has been explicitly set. - public var hasMoveSettings: Bool {return _storage._moveSettings != nil} - /// Clears the value of `moveSettings`. Subsequent reads from it will return its default value. - public mutating func clearMoveSettings() {_uniqueStorage()._moveSettings = nil} - public var moveSequenceSettings: MoveSequenceSettingsProto { - get {return _storage._moveSequenceSettings ?? MoveSequenceSettingsProto()} - set {_uniqueStorage()._moveSequenceSettings = newValue} + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension FortSearchOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FortSearchOutProto.Result] = [ + .noResultSet, + .success, + .outOfRange, + .inCooldownPeriod, + .inventoryFull, + .exceededDailyLimit, + .poiInaccessible, + ] +} + +#endif // swift(>=4.2) + +public struct FortSearchProto { + // 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. + + public var id: String = String() + + public var playerLatDegrees: Double = 0 + + public var playerLngDegrees: Double = 0 + + public var fortLatDegrees: Double = 0 + + public var fortLngDegrees: Double = 0 + + public var adTargetingInfo: AdTargetingInfoProto { + get {return _adTargetingInfo ?? AdTargetingInfoProto()} + set {_adTargetingInfo = newValue} } - /// Returns true if `moveSequenceSettings` has been explicitly set. - public var hasMoveSequenceSettings: Bool {return _storage._moveSequenceSettings != nil} - /// Clears the value of `moveSequenceSettings`. Subsequent reads from it will return its default value. - public mutating func clearMoveSequenceSettings() {_uniqueStorage()._moveSequenceSettings = nil} + /// Returns true if `adTargetingInfo` has been explicitly set. + public var hasAdTargetingInfo: Bool {return self._adTargetingInfo != nil} + /// Clears the value of `adTargetingInfo`. Subsequent reads from it will return its default value. + public mutating func clearAdTargetingInfo() {self._adTargetingInfo = nil} + + public var isPlayerEligibleForGeotargetedQuest: Bool = false + + public var isFromWearableDevice: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _adTargetingInfo: AdTargetingInfoProto? = nil +} + +public struct FortSettingsProto { + // 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. + + public var interactionRangeMeters: Double = 0 + + public var maxTotalDeployedPokemon: Int32 = 0 + + public var maxPlayerDeployedPokemon: Int32 = 0 + + public var deployStaminaMultiplier: Double = 0 + + public var deployAttackMultiplier: Double = 0 + + public var farInteractionRangeMeters: Double = 0 + + public var disableGyms: Bool = false + + public var maxSamePokemonAtFort: Int32 = 0 + + public var maxPlayerTotalDeployedPokemon: Int32 = 0 + + public var enableHyperlinksInPoiDescriptions: Bool = false + + public var enableRightToLeftTextDisplay: Bool = false + + public var enableSponsoredPoiDecorators: Bool = false + + public var remoteInteractionRangeMeters: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct FortSponsor { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Sponsor: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case mcdonalds // = 1 + case pokemonStore // = 2 + case toho // = 3 + case softbank // = 4 + case globe // = 5 + case spatula // = 6 + case thermometer // = 7 + case knife // = 8 + case grill // = 9 + case smoker // = 10 + case pan // = 11 + case bbq // = 12 + case fryer // = 13 + case steamer // = 14 + case hood // = 15 + case slowcooker // = 16 + case mixer // = 17 + case scooper // = 18 + case muffintin // = 19 + case salamander // = 20 + case plancha // = 21 + case niaOps // = 22 + case whisk // = 23 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .mcdonalds + case 2: self = .pokemonStore + case 3: self = .toho + case 4: self = .softbank + case 5: self = .globe + case 6: self = .spatula + case 7: self = .thermometer + case 8: self = .knife + case 9: self = .grill + case 10: self = .smoker + case 11: self = .pan + case 12: self = .bbq + case 13: self = .fryer + case 14: self = .steamer + case 15: self = .hood + case 16: self = .slowcooker + case 17: self = .mixer + case 18: self = .scooper + case 19: self = .muffintin + case 20: self = .salamander + case 21: self = .plancha + case 22: self = .niaOps + case 23: self = .whisk + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .mcdonalds: return 1 + case .pokemonStore: return 2 + case .toho: return 3 + case .softbank: return 4 + case .globe: return 5 + case .spatula: return 6 + case .thermometer: return 7 + case .knife: return 8 + case .grill: return 9 + case .smoker: return 10 + case .pan: return 11 + case .bbq: return 12 + case .fryer: return 13 + case .steamer: return 14 + case .hood: return 15 + case .slowcooker: return 16 + case .mixer: return 17 + case .scooper: return 18 + case .muffintin: return 19 + case .salamander: return 20 + case .plancha: return 21 + case .niaOps: return 22 + case .whisk: return 23 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension FortSponsor.Sponsor: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FortSponsor.Sponsor] = [ + .unset, + .mcdonalds, + .pokemonStore, + .toho, + .softbank, + .globe, + .spatula, + .thermometer, + .knife, + .grill, + .smoker, + .pan, + .bbq, + .fryer, + .steamer, + .hood, + .slowcooker, + .mixer, + .scooper, + .muffintin, + .salamander, + .plancha, + .niaOps, + .whisk, + ] +} + +#endif // swift(>=4.2) + +public struct FortUpdateLatencyTelemetry { + // 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. + + public var latencyMs: Int32 = 0 + + public var fortType: Int32 = 0 + + public var distance: Float = 0 + + public var context: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct FrameRate { + // 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. + + public var sampledFrameRate: PlatformMetricData { + get {return _sampledFrameRate ?? PlatformMetricData()} + set {_sampledFrameRate = newValue} + } + /// Returns true if `sampledFrameRate` has been explicitly set. + public var hasSampledFrameRate: Bool {return self._sampledFrameRate != nil} + /// Clears the value of `sampledFrameRate`. Subsequent reads from it will return its default value. + public mutating func clearSampledFrameRate() {self._sampledFrameRate = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _sampledFrameRate: PlatformMetricData? = nil +} + +public struct FriendProfileSettingsProto { + // 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. + + public var enableTrainerCodeTabV2: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct FriendshipDataProto { + // 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. + + public var friendshipLevelData: FriendshipLevelDataProto { + get {return _friendshipLevelData ?? FriendshipLevelDataProto()} + set {_friendshipLevelData = newValue} + } + /// Returns true if `friendshipLevelData` has been explicitly set. + public var hasFriendshipLevelData: Bool {return self._friendshipLevelData != nil} + /// Clears the value of `friendshipLevelData`. Subsequent reads from it will return its default value. + public mutating func clearFriendshipLevelData() {self._friendshipLevelData = nil} + + public var giftboxDetails: [GiftBoxDetailsProto] = [] + + public var codename: String = String() + + public var nickname: String = String() + + public var openTradeExpireMs: Int64 = 0 + + public var isLucky: Bool = false + + public var luckyCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _friendshipLevelData: FriendshipLevelDataProto? = nil +} + +public struct FriendshipLevelDataProto { + // 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. + + public var bucket: Int64 = 0 + + public var pointsEarnedToday: Int32 = 0 + + public var awardedFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + + public var currentFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + + public var nextFriendshipMilestoneProgressPercentage: Double = 0 + + public var pointsTowardNextMilestone: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct FriendshipLevelMilestoneSettingsProto { + // 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. + + public var minPointsToReach: Int32 = 0 + + public var milestoneXpReward: Int32 = 0 + + public var attackBonusPercentage: Float = 0 + + public var raidBallBonus: Int32 = 0 + + public var unlockedTrading: [FriendshipLevelMilestoneSettingsProto.PokemonTradingType] = [] + + public var tradingDiscount: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PokemonTradingType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case regularInPokedex // = 1 + case specialInPokedex // = 2 + case regularNonPokedex // = 3 + case regionalNonPokedex // = 4 + case formNonPokedex // = 5 + case legendaryNonPokedex // = 6 + case shinyNonPokedex // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .regularInPokedex + case 2: self = .specialInPokedex + case 3: self = .regularNonPokedex + case 4: self = .regionalNonPokedex + case 5: self = .formNonPokedex + case 6: self = .legendaryNonPokedex + case 7: self = .shinyNonPokedex + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .regularInPokedex: return 1 + case .specialInPokedex: return 2 + case .regularNonPokedex: return 3 + case .regionalNonPokedex: return 4 + case .formNonPokedex: return 5 + case .legendaryNonPokedex: return 6 + case .shinyNonPokedex: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension FriendshipLevelMilestoneSettingsProto.PokemonTradingType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [FriendshipLevelMilestoneSettingsProto.PokemonTradingType] = [ + .unset, + .regularInPokedex, + .specialInPokedex, + .regularNonPokedex, + .regionalNonPokedex, + .formNonPokedex, + .legendaryNonPokedex, + .shinyNonPokedex, + ] +} + +#endif // swift(>=4.2) + +public struct FriendshipMilestoneRewardNotificationProto { + // 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. + + public var friendID: String = String() + + public var friendCodename: String = String() + + public var friendshipMilestoneLevel: Int32 = 0 + + public var xpReward: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct FriendshipMilestoneRewardProto { + // 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. + + public var friendID: String = String() + + public var friendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + + public var niaAccountID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct GamDetails { + // 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. + + public var gamRequestKeywords: [String] = [] + + public var gamRequestExtras: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct GameMasterClientTemplateProto { + // 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. + + public var templateID: String { + get {return _storage._templateID} + set {_uniqueStorage()._templateID = newValue} + } + + public var pokemon: PokemonSettingsProto { + get {return _storage._pokemon ?? PokemonSettingsProto()} + set {_uniqueStorage()._pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return _storage._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {_uniqueStorage()._pokemon = nil} + + public var item: ItemSettingsProto { + get {return _storage._item ?? ItemSettingsProto()} + set {_uniqueStorage()._item = newValue} + } + /// Returns true if `item` has been explicitly set. + public var hasItem: Bool {return _storage._item != nil} + /// Clears the value of `item`. Subsequent reads from it will return its default value. + public mutating func clearItem() {_uniqueStorage()._item = nil} + + public var move: MoveSettingsProto { + get {return _storage._move ?? MoveSettingsProto()} + set {_uniqueStorage()._move = newValue} + } + /// Returns true if `move` has been explicitly set. + public var hasMove: Bool {return _storage._move != nil} + /// Clears the value of `move`. Subsequent reads from it will return its default value. + public mutating func clearMove() {_uniqueStorage()._move = nil} + + public var moveSequence: MoveSequenceSettingsProto { + get {return _storage._moveSequence ?? MoveSequenceSettingsProto()} + set {_uniqueStorage()._moveSequence = newValue} + } + /// Returns true if `moveSequence` has been explicitly set. + public var hasMoveSequence: Bool {return _storage._moveSequence != nil} + /// Clears the value of `moveSequence`. Subsequent reads from it will return its default value. + public mutating func clearMoveSequence() {_uniqueStorage()._moveSequence = nil} public var typeEffective: TypeEffectiveSettingsProto { get {return _storage._typeEffective ?? TypeEffectiveSettingsProto()} @@ -63283,14 +66459,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `typeEffective`. Subsequent reads from it will return its default value. public mutating func clearTypeEffective() {_uniqueStorage()._typeEffective = nil} - public var badgeSettings: BadgeSettingsProto { - get {return _storage._badgeSettings ?? BadgeSettingsProto()} - set {_uniqueStorage()._badgeSettings = newValue} + public var badge: BadgeSettingsProto { + get {return _storage._badge ?? BadgeSettingsProto()} + set {_uniqueStorage()._badge = newValue} } - /// Returns true if `badgeSettings` has been explicitly set. - public var hasBadgeSettings: Bool {return _storage._badgeSettings != nil} - /// Clears the value of `badgeSettings`. Subsequent reads from it will return its default value. - public mutating func clearBadgeSettings() {_uniqueStorage()._badgeSettings = nil} + /// Returns true if `badge` has been explicitly set. + public var hasBadge: Bool {return _storage._badge != nil} + /// Clears the value of `badge`. Subsequent reads from it will return its default value. + public mutating func clearBadge() {_uniqueStorage()._badge = nil} public var camera: CameraSettingsProto { get {return _storage._camera ?? CameraSettingsProto()} @@ -63364,15 +66540,6 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `pokemonUpgrades`. Subsequent reads from it will return its default value. public mutating func clearPokemonUpgrades() {_uniqueStorage()._pokemonUpgrades = nil} - public var equippedBadges: EquippedBadgeSettingsProto { - get {return _storage._equippedBadges ?? EquippedBadgeSettingsProto()} - set {_uniqueStorage()._equippedBadges = newValue} - } - /// Returns true if `equippedBadges` has been explicitly set. - public var hasEquippedBadges: Bool {return _storage._equippedBadges != nil} - /// Clears the value of `equippedBadges`. Subsequent reads from it will return its default value. - public mutating func clearEquippedBadges() {_uniqueStorage()._equippedBadges = nil} - public var questSettings: QuestSettingsProto { get {return _storage._questSettings ?? QuestSettingsProto()} set {_uniqueStorage()._questSettings = newValue} @@ -63517,15 +66684,6 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `combatLeague`. Subsequent reads from it will return its default value. public mutating func clearCombatLeague() {_uniqueStorage()._combatLeague = nil} - public var exRaidSettings: ExRaidSettingsProto { - get {return _storage._exRaidSettings ?? ExRaidSettingsProto()} - set {_uniqueStorage()._exRaidSettings = newValue} - } - /// Returns true if `exRaidSettings` has been explicitly set. - public var hasExRaidSettings: Bool {return _storage._exRaidSettings != nil} - /// Clears the value of `exRaidSettings`. Subsequent reads from it will return its default value. - public mutating func clearExRaidSettings() {_uniqueStorage()._exRaidSettings = nil} - public var combatMove: CombatMoveSettingsProto { get {return _storage._combatMove ?? CombatMoveSettingsProto()} set {_uniqueStorage()._combatMove = newValue} @@ -63760,14 +66918,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `buddyInteractionSettings`. Subsequent reads from it will return its default value. public mutating func clearBuddyInteractionSettings() {_uniqueStorage()._buddyInteractionSettings = nil} - public var vsSeekerLoot: VsSeekerLootProto { - get {return _storage._vsSeekerLoot ?? VsSeekerLootProto()} - set {_uniqueStorage()._vsSeekerLoot = newValue} + public var vsSeekerLootProto: VsSeekerLootProto { + get {return _storage._vsSeekerLootProto ?? VsSeekerLootProto()} + set {_uniqueStorage()._vsSeekerLootProto = newValue} } - /// Returns true if `vsSeekerLoot` has been explicitly set. - public var hasVsSeekerLoot: Bool {return _storage._vsSeekerLoot != nil} - /// Clears the value of `vsSeekerLoot`. Subsequent reads from it will return its default value. - public mutating func clearVsSeekerLoot() {_uniqueStorage()._vsSeekerLoot = nil} + /// Returns true if `vsSeekerLootProto` has been explicitly set. + public var hasVsSeekerLootProto: Bool {return _storage._vsSeekerLootProto != nil} + /// Clears the value of `vsSeekerLootProto`. Subsequent reads from it will return its default value. + public mutating func clearVsSeekerLootProto() {_uniqueStorage()._vsSeekerLootProto = nil} public var vsSeekerPokemonRewards: VsSeekerPokemonRewardsProto { get {return _storage._vsSeekerPokemonRewards ?? VsSeekerPokemonRewardsProto()} @@ -63859,14 +67017,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `temporaryEvolutionSettings`. Subsequent reads from it will return its default value. public mutating func clearTemporaryEvolutionSettings() {_uniqueStorage()._temporaryEvolutionSettings = nil} - public var avatarGroupOrderSettings: AvatarGroupOrderSettingsProto { - get {return _storage._avatarGroupOrderSettings ?? AvatarGroupOrderSettingsProto()} - set {_uniqueStorage()._avatarGroupOrderSettings = newValue} + public var avatarGroupSettings: AvatarGroupSettingsProto { + get {return _storage._avatarGroupSettings ?? AvatarGroupSettingsProto()} + set {_uniqueStorage()._avatarGroupSettings = newValue} } - /// Returns true if `avatarGroupOrderSettings` has been explicitly set. - public var hasAvatarGroupOrderSettings: Bool {return _storage._avatarGroupOrderSettings != nil} - /// Clears the value of `avatarGroupOrderSettings`. Subsequent reads from it will return its default value. - public mutating func clearAvatarGroupOrderSettings() {_uniqueStorage()._avatarGroupOrderSettings = nil} + /// Returns true if `avatarGroupSettings` has been explicitly set. + public var hasAvatarGroupSettings: Bool {return _storage._avatarGroupSettings != nil} + /// Clears the value of `avatarGroupSettings`. Subsequent reads from it will return its default value. + public mutating func clearAvatarGroupSettings() {_uniqueStorage()._avatarGroupSettings = nil} public var pokemonFamily: PokemonFamilySettingsProto { get {return _storage._pokemonFamily ?? PokemonFamilySettingsProto()} @@ -63886,23 +67044,23 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `monodepthSettings`. Subsequent reads from it will return its default value. public mutating func clearMonodepthSettings() {_uniqueStorage()._monodepthSettings = nil} - public var levelUpRewardSettings: LevelUpRewardsSettingsProto { - get {return _storage._levelUpRewardSettings ?? LevelUpRewardsSettingsProto()} - set {_uniqueStorage()._levelUpRewardSettings = newValue} + public var levelUpRewards: LevelUpRewardsSettingsProto { + get {return _storage._levelUpRewards ?? LevelUpRewardsSettingsProto()} + set {_uniqueStorage()._levelUpRewards = newValue} } - /// Returns true if `levelUpRewardSettings` has been explicitly set. - public var hasLevelUpRewardSettings: Bool {return _storage._levelUpRewardSettings != nil} - /// Clears the value of `levelUpRewardSettings`. Subsequent reads from it will return its default value. - public mutating func clearLevelUpRewardSettings() {_uniqueStorage()._levelUpRewardSettings = nil} + /// Returns true if `levelUpRewards` has been explicitly set. + public var hasLevelUpRewards: Bool {return _storage._levelUpRewards != nil} + /// Clears the value of `levelUpRewards`. Subsequent reads from it will return its default value. + public mutating func clearLevelUpRewards() {_uniqueStorage()._levelUpRewards = nil} - public var raidSettings: RaidClientSettingsProto { - get {return _storage._raidSettings ?? RaidClientSettingsProto()} - set {_uniqueStorage()._raidSettings = newValue} + public var raidSettingsProto: RaidClientSettingsProto { + get {return _storage._raidSettingsProto ?? RaidClientSettingsProto()} + set {_uniqueStorage()._raidSettingsProto = newValue} } - /// Returns true if `raidSettings` has been explicitly set. - public var hasRaidSettings: Bool {return _storage._raidSettings != nil} - /// Clears the value of `raidSettings`. Subsequent reads from it will return its default value. - public mutating func clearRaidSettings() {_uniqueStorage()._raidSettings = nil} + /// Returns true if `raidSettingsProto` has been explicitly set. + public var hasRaidSettingsProto: Bool {return _storage._raidSettingsProto != nil} + /// Clears the value of `raidSettingsProto`. Subsequent reads from it will return its default value. + public mutating func clearRaidSettingsProto() {_uniqueStorage()._raidSettingsProto = nil} public var tappableSettings: TappableSettingsProto { get {return _storage._tappableSettings ?? TappableSettingsProto()} @@ -64003,14 +67161,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `questEvolutionSettings`. Subsequent reads from it will return its default value. public mutating func clearQuestEvolutionSettings() {_uniqueStorage()._questEvolutionSettings = nil} - public var pokemonHomeFormReversions: PokemonHomeFormReversionProto { - get {return _storage._pokemonHomeFormReversions ?? PokemonHomeFormReversionProto()} - set {_uniqueStorage()._pokemonHomeFormReversions = newValue} + public var pokemonHomeFormReversion: PokemonHomeFormReversionProto { + get {return _storage._pokemonHomeFormReversion ?? PokemonHomeFormReversionProto()} + set {_uniqueStorage()._pokemonHomeFormReversion = newValue} } - /// Returns true if `pokemonHomeFormReversions` has been explicitly set. - public var hasPokemonHomeFormReversions: Bool {return _storage._pokemonHomeFormReversions != nil} - /// Clears the value of `pokemonHomeFormReversions`. Subsequent reads from it will return its default value. - public mutating func clearPokemonHomeFormReversions() {_uniqueStorage()._pokemonHomeFormReversions = nil} + /// Returns true if `pokemonHomeFormReversion` has been explicitly set. + public var hasPokemonHomeFormReversion: Bool {return _storage._pokemonHomeFormReversion != nil} + /// Clears the value of `pokemonHomeFormReversion`. Subsequent reads from it will return its default value. + public mutating func clearPokemonHomeFormReversion() {_uniqueStorage()._pokemonHomeFormReversion = nil} public var deepLinkingSettings: DeepLinkingSettingsProto { get {return _storage._deepLinkingSettings ?? DeepLinkingSettingsProto()} @@ -64075,14 +67233,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `pokemonTagSettings`. Subsequent reads from it will return its default value. public mutating func clearPokemonTagSettings() {_uniqueStorage()._pokemonTagSettings = nil} - public var recommendedSearchSettings: RecommendedSearchProto { - get {return _storage._recommendedSearchSettings ?? RecommendedSearchProto()} - set {_uniqueStorage()._recommendedSearchSettings = newValue} + public var recommendedSearchProto: RecommendedSearchProto { + get {return _storage._recommendedSearchProto ?? RecommendedSearchProto()} + set {_uniqueStorage()._recommendedSearchProto = newValue} } - /// Returns true if `recommendedSearchSettings` has been explicitly set. - public var hasRecommendedSearchSettings: Bool {return _storage._recommendedSearchSettings != nil} - /// Clears the value of `recommendedSearchSettings`. Subsequent reads from it will return its default value. - public mutating func clearRecommendedSearchSettings() {_uniqueStorage()._recommendedSearchSettings = nil} + /// Returns true if `recommendedSearchProto` has been explicitly set. + public var hasRecommendedSearchProto: Bool {return _storage._recommendedSearchProto != nil} + /// Clears the value of `recommendedSearchProto`. Subsequent reads from it will return its default value. + public mutating func clearRecommendedSearchProto() {_uniqueStorage()._recommendedSearchProto = nil} public var inventorySettings: InventorySettingsProto { get {return _storage._inventorySettings ?? InventorySettingsProto()} @@ -64120,14 +67278,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `fortPowerUpLevelSettings`. Subsequent reads from it will return its default value. public mutating func clearFortPowerUpLevelSettings() {_uniqueStorage()._fortPowerUpLevelSettings = nil} - public var powerUpPokestopSharedSettings: PowerUpPokestopSharedSettings { - get {return _storage._powerUpPokestopSharedSettings ?? PowerUpPokestopSharedSettings()} - set {_uniqueStorage()._powerUpPokestopSharedSettings = newValue} + public var powerUpPokestopsSettings: PowerUpPokestopsSharedSettingsProto { + get {return _storage._powerUpPokestopsSettings ?? PowerUpPokestopsSharedSettingsProto()} + set {_uniqueStorage()._powerUpPokestopsSettings = newValue} } - /// Returns true if `powerUpPokestopSharedSettings` has been explicitly set. - public var hasPowerUpPokestopSharedSettings: Bool {return _storage._powerUpPokestopSharedSettings != nil} - /// Clears the value of `powerUpPokestopSharedSettings`. Subsequent reads from it will return its default value. - public mutating func clearPowerUpPokestopSharedSettings() {_uniqueStorage()._powerUpPokestopSharedSettings = nil} + /// Returns true if `powerUpPokestopsSettings` has been explicitly set. + public var hasPowerUpPokestopsSettings: Bool {return _storage._powerUpPokestopsSettings != nil} + /// Clears the value of `powerUpPokestopsSettings`. Subsequent reads from it will return its default value. + public mutating func clearPowerUpPokestopsSettings() {_uniqueStorage()._powerUpPokestopsSettings = nil} public var incidentPrioritySettings: IncidentPrioritySettingsProto { get {return _storage._incidentPrioritySettings ?? IncidentPrioritySettingsProto()} @@ -64147,23 +67305,23 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `referralSettings`. Subsequent reads from it will return its default value. public mutating func clearReferralSettings() {_uniqueStorage()._referralSettings = nil} - public var obGm1Settings: GM1SettingsProto { - get {return _storage._obGm1Settings ?? GM1SettingsProto()} - set {_uniqueStorage()._obGm1Settings = newValue} + public var fortPowerUpActivitySettings: FortPowerUpActivitySettings { + get {return _storage._fortPowerUpActivitySettings ?? FortPowerUpActivitySettings()} + set {_uniqueStorage()._fortPowerUpActivitySettings = newValue} } - /// Returns true if `obGm1Settings` has been explicitly set. - public var hasObGm1Settings: Bool {return _storage._obGm1Settings != nil} - /// Clears the value of `obGm1Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm1Settings() {_uniqueStorage()._obGm1Settings = nil} + /// Returns true if `fortPowerUpActivitySettings` has been explicitly set. + public var hasFortPowerUpActivitySettings: Bool {return _storage._fortPowerUpActivitySettings != nil} + /// Clears the value of `fortPowerUpActivitySettings`. Subsequent reads from it will return its default value. + public mutating func clearFortPowerUpActivitySettings() {_uniqueStorage()._fortPowerUpActivitySettings = nil} - public var obGm2Settings: GM2SettingsProto { - get {return _storage._obGm2Settings ?? GM2SettingsProto()} - set {_uniqueStorage()._obGm2Settings = newValue} + public var fortPowerUpSpawnSettings: FortPowerUpSpawnSettings { + get {return _storage._fortPowerUpSpawnSettings ?? FortPowerUpSpawnSettings()} + set {_uniqueStorage()._fortPowerUpSpawnSettings = newValue} } - /// Returns true if `obGm2Settings` has been explicitly set. - public var hasObGm2Settings: Bool {return _storage._obGm2Settings != nil} - /// Clears the value of `obGm2Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm2Settings() {_uniqueStorage()._obGm2Settings = nil} + /// Returns true if `fortPowerUpSpawnSettings` has been explicitly set. + public var hasFortPowerUpSpawnSettings: Bool {return _storage._fortPowerUpSpawnSettings != nil} + /// Clears the value of `fortPowerUpSpawnSettings`. Subsequent reads from it will return its default value. + public mutating func clearFortPowerUpSpawnSettings() {_uniqueStorage()._fortPowerUpSpawnSettings = nil} public var appraisalStarThresholdSettings: AppraisalStarThresholdSettings { get {return _storage._appraisalStarThresholdSettings ?? AppraisalStarThresholdSettings()} @@ -64174,8 +67332,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `appraisalStarThresholdSettings`. Subsequent reads from it will return its default value. public mutating func clearAppraisalStarThresholdSettings() {_uniqueStorage()._appraisalStarThresholdSettings = nil} - public var pokedexCategoriesSettings: PokedexCategoriesSettings { - get {return _storage._pokedexCategoriesSettings ?? PokedexCategoriesSettings()} + public var pokedexCategoriesSettings: PokedexCategoriesSettingsProto { + get {return _storage._pokedexCategoriesSettings ?? PokedexCategoriesSettingsProto()} set {_uniqueStorage()._pokedexCategoriesSettings = newValue} } /// Returns true if `pokedexCategoriesSettings` has been explicitly set. @@ -64183,8 +67341,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `pokedexCategoriesSettings`. Subsequent reads from it will return its default value. public mutating func clearPokedexCategoriesSettings() {_uniqueStorage()._pokedexCategoriesSettings = nil} - public var battleVisualSettings: BattleVisualSettings { - get {return _storage._battleVisualSettings ?? BattleVisualSettings()} + public var battleVisualSettings: BattleVisualSettingsProto { + get {return _storage._battleVisualSettings ?? BattleVisualSettingsProto()} set {_uniqueStorage()._battleVisualSettings = newValue} } /// Returns true if `battleVisualSettings` has been explicitly set. @@ -64192,8 +67350,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `battleVisualSettings`. Subsequent reads from it will return its default value. public mutating func clearBattleVisualSettings() {_uniqueStorage()._battleVisualSettings = nil} - public var addressablePokemonSettings: AddressablePokemonSettings { - get {return _storage._addressablePokemonSettings ?? AddressablePokemonSettings()} + public var addressablePokemonSettings: AddressablePokemonProto { + get {return _storage._addressablePokemonSettings ?? AddressablePokemonProto()} set {_uniqueStorage()._addressablePokemonSettings = newValue} } /// Returns true if `addressablePokemonSettings` has been explicitly set. @@ -64201,8 +67359,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `addressablePokemonSettings`. Subsequent reads from it will return its default value. public mutating func clearAddressablePokemonSettings() {_uniqueStorage()._addressablePokemonSettings = nil} - public var verboseLogRaidSettings: VerboseLogRaidSettings { - get {return _storage._verboseLogRaidSettings ?? VerboseLogRaidSettings()} + public var verboseLogRaidSettings: VerboseLogRaidProto { + get {return _storage._verboseLogRaidSettings ?? VerboseLogRaidProto()} set {_uniqueStorage()._verboseLogRaidSettings = newValue} } /// Returns true if `verboseLogRaidSettings` has been explicitly set. @@ -64210,8 +67368,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `verboseLogRaidSettings`. Subsequent reads from it will return its default value. public mutating func clearVerboseLogRaidSettings() {_uniqueStorage()._verboseLogRaidSettings = nil} - public var formsRefactorSettings: FormsRefactorSettings { - get {return _storage._formsRefactorSettings ?? FormsRefactorSettings()} + public var formsRefactorSettings: FormsRefactorSettingsProto { + get {return _storage._formsRefactorSettings ?? FormsRefactorSettingsProto()} set {_uniqueStorage()._formsRefactorSettings = newValue} } /// Returns true if `formsRefactorSettings` has been explicitly set. @@ -64219,8 +67377,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `formsRefactorSettings`. Subsequent reads from it will return its default value. public mutating func clearFormsRefactorSettings() {_uniqueStorage()._formsRefactorSettings = nil} - public var sharedMoveSettings: SharedMoveSettings { - get {return _storage._sharedMoveSettings ?? SharedMoveSettings()} + public var sharedMoveSettings: SharedMoveSettingsProto { + get {return _storage._sharedMoveSettings ?? SharedMoveSettingsProto()} set {_uniqueStorage()._sharedMoveSettings = newValue} } /// Returns true if `sharedMoveSettings` has been explicitly set. @@ -64237,8 +67395,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `addressBookImportSettings`. Subsequent reads from it will return its default value. public mutating func clearAddressBookImportSettings() {_uniqueStorage()._addressBookImportSettings = nil} - public var musicSettings: MusicSettings { - get {return _storage._musicSettings ?? MusicSettings()} + public var musicSettings: MusicSettingsProto { + get {return _storage._musicSettings ?? MusicSettingsProto()} set {_uniqueStorage()._musicSettings = newValue} } /// Returns true if `musicSettings` has been explicitly set. @@ -64246,8 +67404,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `musicSettings`. Subsequent reads from it will return its default value. public mutating func clearMusicSettings() {_uniqueStorage()._musicSettings = nil} - public var newsFeedClientSettings: NewsFeedClientSettings { - get {return _storage._newsFeedClientSettings ?? NewsFeedClientSettings()} + public var newsFeedClientSettings: NewsFeedClientSettingsProto { + get {return _storage._newsFeedClientSettings ?? NewsFeedClientSettingsProto()} set {_uniqueStorage()._newsFeedClientSettings = newValue} } /// Returns true if `newsFeedClientSettings` has been explicitly set. @@ -64255,8 +67413,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `newsFeedClientSettings`. Subsequent reads from it will return its default value. public mutating func clearNewsFeedClientSettings() {_uniqueStorage()._newsFeedClientSettings = nil} - public var mapObjectsInteractionRangeSettings: MapObjectsInteractionRangeSettings { - get {return _storage._mapObjectsInteractionRangeSettings ?? MapObjectsInteractionRangeSettings()} + public var mapObjectsInteractionRangeSettings: ClientMapObjectsInteractionRangeSettingsProto { + get {return _storage._mapObjectsInteractionRangeSettings ?? ClientMapObjectsInteractionRangeSettingsProto()} set {_uniqueStorage()._mapObjectsInteractionRangeSettings = newValue} } /// Returns true if `mapObjectsInteractionRangeSettings` has been explicitly set. @@ -64264,8 +67422,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `mapObjectsInteractionRangeSettings`. Subsequent reads from it will return its default value. public mutating func clearMapObjectsInteractionRangeSettings() {_uniqueStorage()._mapObjectsInteractionRangeSettings = nil} - public var externalAddressableAssetsSettings: ExternalAddressableAssetsSettings { - get {return _storage._externalAddressableAssetsSettings ?? ExternalAddressableAssetsSettings()} + public var externalAddressableAssetsSettings: ExternalAddressableAssetsProto { + get {return _storage._externalAddressableAssetsSettings ?? ExternalAddressableAssetsProto()} set {_uniqueStorage()._externalAddressableAssetsSettings = newValue} } /// Returns true if `externalAddressableAssetsSettings` has been explicitly set. @@ -64273,8 +67431,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `externalAddressableAssetsSettings`. Subsequent reads from it will return its default value. public mutating func clearExternalAddressableAssetsSettings() {_uniqueStorage()._externalAddressableAssetsSettings = nil} - public var evolvePreviewSettings: EvolePreviewSettings { - get {return _storage._evolvePreviewSettings ?? EvolePreviewSettings()} + public var evolvePreviewSettings: EvolvePreviewSettingsProto { + get {return _storage._evolvePreviewSettings ?? EvolvePreviewSettingsProto()} set {_uniqueStorage()._evolvePreviewSettings = newValue} } /// Returns true if `evolvePreviewSettings` has been explicitly set. @@ -64282,26 +67440,17 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `evolvePreviewSettings`. Subsequent reads from it will return its default value. public mutating func clearEvolvePreviewSettings() {_uniqueStorage()._evolvePreviewSettings = nil} - public var obGm3Settings: GM3SettingsProto { - get {return _storage._obGm3Settings ?? GM3SettingsProto()} - set {_uniqueStorage()._obGm3Settings = newValue} - } - /// Returns true if `obGm3Settings` has been explicitly set. - public var hasObGm3Settings: Bool {return _storage._obGm3Settings != nil} - /// Clears the value of `obGm3Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm3Settings() {_uniqueStorage()._obGm3Settings = nil} - - public var pushGatewaySettings: PushGatewaySettings { - get {return _storage._pushGatewaySettings ?? PushGatewaySettings()} - set {_uniqueStorage()._pushGatewaySettings = newValue} + public var loadingScreenTipsSettings: LoadingScreenTipsSettingsProto { + get {return _storage._loadingScreenTipsSettings ?? LoadingScreenTipsSettingsProto()} + set {_uniqueStorage()._loadingScreenTipsSettings = newValue} } - /// Returns true if `pushGatewaySettings` has been explicitly set. - public var hasPushGatewaySettings: Bool {return _storage._pushGatewaySettings != nil} - /// Clears the value of `pushGatewaySettings`. Subsequent reads from it will return its default value. - public mutating func clearPushGatewaySettings() {_uniqueStorage()._pushGatewaySettings = nil} + /// Returns true if `loadingScreenTipsSettings` has been explicitly set. + public var hasLoadingScreenTipsSettings: Bool {return _storage._loadingScreenTipsSettings != nil} + /// Clears the value of `loadingScreenTipsSettings`. Subsequent reads from it will return its default value. + public mutating func clearLoadingScreenTipsSettings() {_uniqueStorage()._loadingScreenTipsSettings = nil} - public var usernameSuggestionSettings: UsernameSuggestionSettings { - get {return _storage._usernameSuggestionSettings ?? UsernameSuggestionSettings()} + public var usernameSuggestionSettings: UsernameSuggestionSettingsProto { + get {return _storage._usernameSuggestionSettings ?? UsernameSuggestionSettingsProto()} set {_uniqueStorage()._usernameSuggestionSettings = newValue} } /// Returns true if `usernameSuggestionSettings` has been explicitly set. @@ -64309,17 +67458,17 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `usernameSuggestionSettings`. Subsequent reads from it will return its default value. public mutating func clearUsernameSuggestionSettings() {_uniqueStorage()._usernameSuggestionSettings = nil} - public var tutorialsSettings: TutorialsSettings { - get {return _storage._tutorialsSettings ?? TutorialsSettings()} - set {_uniqueStorage()._tutorialsSettings = newValue} + public var tutorialSettings: TutorialsSettingsProto { + get {return _storage._tutorialSettings ?? TutorialsSettingsProto()} + set {_uniqueStorage()._tutorialSettings = newValue} } - /// Returns true if `tutorialsSettings` has been explicitly set. - public var hasTutorialsSettings: Bool {return _storage._tutorialsSettings != nil} - /// Clears the value of `tutorialsSettings`. Subsequent reads from it will return its default value. - public mutating func clearTutorialsSettings() {_uniqueStorage()._tutorialsSettings = nil} + /// Returns true if `tutorialSettings` has been explicitly set. + public var hasTutorialSettings: Bool {return _storage._tutorialSettings != nil} + /// Clears the value of `tutorialSettings`. Subsequent reads from it will return its default value. + public mutating func clearTutorialSettings() {_uniqueStorage()._tutorialSettings = nil} - public var eggHatchImprovementsSettings: EggHatchImprovementsSettings { - get {return _storage._eggHatchImprovementsSettings ?? EggHatchImprovementsSettings()} + public var eggHatchImprovementsSettings: EggHatchImprovementsSettingsProto { + get {return _storage._eggHatchImprovementsSettings ?? EggHatchImprovementsSettingsProto()} set {_uniqueStorage()._eggHatchImprovementsSettings = newValue} } /// Returns true if `eggHatchImprovementsSettings` has been explicitly set. @@ -64336,14 +67485,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `featureUnlockLevelSettings`. Subsequent reads from it will return its default value. public mutating func clearFeatureUnlockLevelSettings() {_uniqueStorage()._featureUnlockLevelSettings = nil} - public var surveySettings: SurveySettings { - get {return _storage._surveySettings ?? SurveySettings()} - set {_uniqueStorage()._surveySettings = newValue} + public var inAppSurveySettings: InAppSurveySettingsProto { + get {return _storage._inAppSurveySettings ?? InAppSurveySettingsProto()} + set {_uniqueStorage()._inAppSurveySettings = newValue} } - /// Returns true if `surveySettings` has been explicitly set. - public var hasSurveySettings: Bool {return _storage._surveySettings != nil} - /// Clears the value of `surveySettings`. Subsequent reads from it will return its default value. - public mutating func clearSurveySettings() {_uniqueStorage()._surveySettings = nil} + /// Returns true if `inAppSurveySettings` has been explicitly set. + public var hasInAppSurveySettings: Bool {return _storage._inAppSurveySettings != nil} + /// Clears the value of `inAppSurveySettings`. Subsequent reads from it will return its default value. + public mutating func clearInAppSurveySettings() {_uniqueStorage()._inAppSurveySettings = nil} public var incidentVisibilitySettings: IncidentVisibilitySettingsProto { get {return _storage._incidentVisibilitySettings ?? IncidentVisibilitySettingsProto()} @@ -64354,8 +67503,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `incidentVisibilitySettings`. Subsequent reads from it will return its default value. public mutating func clearIncidentVisibilitySettings() {_uniqueStorage()._incidentVisibilitySettings = nil} - public var postcardCollectionSettings: PostcardCollectionSettings { - get {return _storage._postcardCollectionSettings ?? PostcardCollectionSettings()} + public var postcardCollectionSettings: PostcardCollectionGmtSettingsProto { + get {return _storage._postcardCollectionSettings ?? PostcardCollectionGmtSettingsProto()} set {_uniqueStorage()._postcardCollectionSettings = newValue} } /// Returns true if `postcardCollectionSettings` has been explicitly set. @@ -64363,17 +67512,17 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `postcardCollectionSettings`. Subsequent reads from it will return its default value. public mutating func clearPostcardCollectionSettings() {_uniqueStorage()._postcardCollectionSettings = nil} - public var obGm6Settings: GM6SettingsProto { - get {return _storage._obGm6Settings ?? GM6SettingsProto()} - set {_uniqueStorage()._obGm6Settings = newValue} + public var berryFarmingSettings: BerryFarmingSettingsProto { + get {return _storage._berryFarmingSettings ?? BerryFarmingSettingsProto()} + set {_uniqueStorage()._berryFarmingSettings = newValue} } - /// Returns true if `obGm6Settings` has been explicitly set. - public var hasObGm6Settings: Bool {return _storage._obGm6Settings != nil} - /// Clears the value of `obGm6Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm6Settings() {_uniqueStorage()._obGm6Settings = nil} + /// Returns true if `berryFarmingSettings` has been explicitly set. + public var hasBerryFarmingSettings: Bool {return _storage._berryFarmingSettings != nil} + /// Clears the value of `berryFarmingSettings`. Subsequent reads from it will return its default value. + public mutating func clearBerryFarmingSettings() {_uniqueStorage()._berryFarmingSettings = nil} - public var verboseLogCombatSettings: VerboseLogCombatSettingsProto { - get {return _storage._verboseLogCombatSettings ?? VerboseLogCombatSettingsProto()} + public var verboseLogCombatSettings: VerboseLogCombatProto { + get {return _storage._verboseLogCombatSettings ?? VerboseLogCombatProto()} set {_uniqueStorage()._verboseLogCombatSettings = newValue} } /// Returns true if `verboseLogCombatSettings` has been explicitly set. @@ -64381,14 +67530,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `verboseLogCombatSettings`. Subsequent reads from it will return its default value. public mutating func clearVerboseLogCombatSettings() {_uniqueStorage()._verboseLogCombatSettings = nil} - public var megaLevelSettings: MegaLevelSettingsProto { - get {return _storage._megaLevelSettings ?? MegaLevelSettingsProto()} - set {_uniqueStorage()._megaLevelSettings = newValue} + public var megaEvoLevelSettings: MegaEvolutionLevelSettingsProto { + get {return _storage._megaEvoLevelSettings ?? MegaEvolutionLevelSettingsProto()} + set {_uniqueStorage()._megaEvoLevelSettings = newValue} } - /// Returns true if `megaLevelSettings` has been explicitly set. - public var hasMegaLevelSettings: Bool {return _storage._megaLevelSettings != nil} - /// Clears the value of `megaLevelSettings`. Subsequent reads from it will return its default value. - public mutating func clearMegaLevelSettings() {_uniqueStorage()._megaLevelSettings = nil} + /// Returns true if `megaEvoLevelSettings` has been explicitly set. + public var hasMegaEvoLevelSettings: Bool {return _storage._megaEvoLevelSettings != nil} + /// Clears the value of `megaEvoLevelSettings`. Subsequent reads from it will return its default value. + public mutating func clearMegaEvoLevelSettings() {_uniqueStorage()._megaEvoLevelSettings = nil} public var advancedSettings: AdvancedSettingsProto { get {return _storage._advancedSettings ?? AdvancedSettingsProto()} @@ -64399,32 +67548,32 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `advancedSettings`. Subsequent reads from it will return its default value. public mutating func clearAdvancedSettings() {_uniqueStorage()._advancedSettings = nil} - public var obGm9Settings: GM9SettingsProto { - get {return _storage._obGm9Settings ?? GM9SettingsProto()} - set {_uniqueStorage()._obGm9Settings = newValue} + public var fileCacheSizeSettings: FileCacheSizeSettingsProto { + get {return _storage._fileCacheSizeSettings ?? FileCacheSizeSettingsProto()} + set {_uniqueStorage()._fileCacheSizeSettings = newValue} } - /// Returns true if `obGm9Settings` has been explicitly set. - public var hasObGm9Settings: Bool {return _storage._obGm9Settings != nil} - /// Clears the value of `obGm9Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm9Settings() {_uniqueStorage()._obGm9Settings = nil} + /// Returns true if `fileCacheSizeSettings` has been explicitly set. + public var hasFileCacheSizeSettings: Bool {return _storage._fileCacheSizeSettings != nil} + /// Clears the value of `fileCacheSizeSettings`. Subsequent reads from it will return its default value. + public mutating func clearFileCacheSizeSettings() {_uniqueStorage()._fileCacheSizeSettings = nil} - public var impressionTrackingSetting: ImpressionTrackingSettingsProto { - get {return _storage._impressionTrackingSetting ?? ImpressionTrackingSettingsProto()} - set {_uniqueStorage()._impressionTrackingSetting = newValue} + public var impressionTrackingSettings: ImpressionTrackingSettingsProto { + get {return _storage._impressionTrackingSettings ?? ImpressionTrackingSettingsProto()} + set {_uniqueStorage()._impressionTrackingSettings = newValue} } - /// Returns true if `impressionTrackingSetting` has been explicitly set. - public var hasImpressionTrackingSetting: Bool {return _storage._impressionTrackingSetting != nil} - /// Clears the value of `impressionTrackingSetting`. Subsequent reads from it will return its default value. - public mutating func clearImpressionTrackingSetting() {_uniqueStorage()._impressionTrackingSetting = nil} + /// Returns true if `impressionTrackingSettings` has been explicitly set. + public var hasImpressionTrackingSettings: Bool {return _storage._impressionTrackingSettings != nil} + /// Clears the value of `impressionTrackingSettings`. Subsequent reads from it will return its default value. + public mutating func clearImpressionTrackingSettings() {_uniqueStorage()._impressionTrackingSettings = nil} - public var obGm11Settings: GM11SettingsProto { - get {return _storage._obGm11Settings ?? GM11SettingsProto()} - set {_uniqueStorage()._obGm11Settings = newValue} + public var garbageCollectionSettings: GarbageCollectionSettingsProto { + get {return _storage._garbageCollectionSettings ?? GarbageCollectionSettingsProto()} + set {_uniqueStorage()._garbageCollectionSettings = newValue} } - /// Returns true if `obGm11Settings` has been explicitly set. - public var hasObGm11Settings: Bool {return _storage._obGm11Settings != nil} - /// Clears the value of `obGm11Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm11Settings() {_uniqueStorage()._obGm11Settings = nil} + /// Returns true if `garbageCollectionSettings` has been explicitly set. + public var hasGarbageCollectionSettings: Bool {return _storage._garbageCollectionSettings != nil} + /// Clears the value of `garbageCollectionSettings`. Subsequent reads from it will return its default value. + public mutating func clearGarbageCollectionSettings() {_uniqueStorage()._garbageCollectionSettings = nil} public var evolutionChainDisplaySettings: EvolutionChainDisplaySettingsProto { get {return _storage._evolutionChainDisplaySettings ?? EvolutionChainDisplaySettingsProto()} @@ -64534,8 +67683,8 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `homeWidgetSettings`. Subsequent reads from it will return its default value. public mutating func clearHomeWidgetSettings() {_uniqueStorage()._homeWidgetSettings = nil} - public var vsSeekerScheduleSettings: VSSeekerScheduleSettingsProto { - get {return _storage._vsSeekerScheduleSettings ?? VSSeekerScheduleSettingsProto()} + public var vsSeekerScheduleSettings: VsSeekerScheduleSettingsProto { + get {return _storage._vsSeekerScheduleSettings ?? VsSeekerScheduleSettingsProto()} set {_uniqueStorage()._vsSeekerScheduleSettings = newValue} } /// Returns true if `vsSeekerScheduleSettings` has been explicitly set. @@ -64543,26 +67692,26 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `vsSeekerScheduleSettings`. Subsequent reads from it will return its default value. public mutating func clearVsSeekerScheduleSettings() {_uniqueStorage()._vsSeekerScheduleSettings = nil} - public var pokedexSizeStatsSettings: PokedexSizeStatsSettingsProto { - get {return _storage._pokedexSizeStatsSettings ?? PokedexSizeStatsSettingsProto()} - set {_uniqueStorage()._pokedexSizeStatsSettings = newValue} + public var pokedexSizeStatsSystemSettings: PokedexSizeStatsSystemSettingsProto { + get {return _storage._pokedexSizeStatsSystemSettings ?? PokedexSizeStatsSystemSettingsProto()} + set {_uniqueStorage()._pokedexSizeStatsSystemSettings = newValue} } - /// Returns true if `pokedexSizeStatsSettings` has been explicitly set. - public var hasPokedexSizeStatsSettings: Bool {return _storage._pokedexSizeStatsSettings != nil} - /// Clears the value of `pokedexSizeStatsSettings`. Subsequent reads from it will return its default value. - public mutating func clearPokedexSizeStatsSettings() {_uniqueStorage()._pokedexSizeStatsSettings = nil} + /// Returns true if `pokedexSizeStatsSystemSettings` has been explicitly set. + public var hasPokedexSizeStatsSystemSettings: Bool {return _storage._pokedexSizeStatsSystemSettings != nil} + /// Clears the value of `pokedexSizeStatsSystemSettings`. Subsequent reads from it will return its default value. + public mutating func clearPokedexSizeStatsSystemSettings() {_uniqueStorage()._pokedexSizeStatsSystemSettings = nil} - public var assetRefreshSettings: AssetRefreshSettingsProto { - get {return _storage._assetRefreshSettings ?? AssetRefreshSettingsProto()} - set {_uniqueStorage()._assetRefreshSettings = newValue} + public var assetRefreshProto: AssetRefreshProto { + get {return _storage._assetRefreshProto ?? AssetRefreshProto()} + set {_uniqueStorage()._assetRefreshProto = newValue} } - /// Returns true if `assetRefreshSettings` has been explicitly set. - public var hasAssetRefreshSettings: Bool {return _storage._assetRefreshSettings != nil} - /// Clears the value of `assetRefreshSettings`. Subsequent reads from it will return its default value. - public mutating func clearAssetRefreshSettings() {_uniqueStorage()._assetRefreshSettings = nil} + /// Returns true if `assetRefreshProto` has been explicitly set. + public var hasAssetRefreshProto: Bool {return _storage._assetRefreshProto != nil} + /// Clears the value of `assetRefreshProto`. Subsequent reads from it will return its default value. + public mutating func clearAssetRefreshProto() {_uniqueStorage()._assetRefreshProto = nil} - public var pokemonFxSettings: PokemonFXSettingsSettingsProto { - get {return _storage._pokemonFxSettings ?? PokemonFXSettingsSettingsProto()} + public var pokemonFxSettings: PokemonFxSettingsProto { + get {return _storage._pokemonFxSettings ?? PokemonFxSettingsProto()} set {_uniqueStorage()._pokemonFxSettings = newValue} } /// Returns true if `pokemonFxSettings` has been explicitly set. @@ -64579,14 +67728,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `butterflyCollectorSettings`. Subsequent reads from it will return its default value. public mutating func clearButterflyCollectorSettings() {_uniqueStorage()._butterflyCollectorSettings = nil} - public var gameMasterLanguageSettings: GameMasterLanguageSettingsProto { - get {return _storage._gameMasterLanguageSettings ?? GameMasterLanguageSettingsProto()} - set {_uniqueStorage()._gameMasterLanguageSettings = newValue} + public var languageSettings: LanguageSettingsProto { + get {return _storage._languageSettings ?? LanguageSettingsProto()} + set {_uniqueStorage()._languageSettings = newValue} } - /// Returns true if `gameMasterLanguageSettings` has been explicitly set. - public var hasGameMasterLanguageSettings: Bool {return _storage._gameMasterLanguageSettings != nil} - /// Clears the value of `gameMasterLanguageSettings`. Subsequent reads from it will return its default value. - public mutating func clearGameMasterLanguageSettings() {_uniqueStorage()._gameMasterLanguageSettings = nil} + /// Returns true if `languageSettings` has been explicitly set. + public var hasLanguageSettings: Bool {return _storage._languageSettings != nil} + /// Clears the value of `languageSettings`. Subsequent reads from it will return its default value. + public mutating func clearLanguageSettings() {_uniqueStorage()._languageSettings = nil} public var pokemonExtendedSettings: PokemonExtendedSettingsProto { get {return _storage._pokemonExtendedSettings ?? PokemonExtendedSettingsProto()} @@ -64597,14 +67746,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `pokemonExtendedSettings`. Subsequent reads from it will return its default value. public mutating func clearPokemonExtendedSettings() {_uniqueStorage()._pokemonExtendedSettings = nil} - public var obGm27Settings: GM27SettingsProto { - get {return _storage._obGm27Settings ?? GM27SettingsProto()} - set {_uniqueStorage()._obGm27Settings = newValue} + public var dojoSettings: DojoSettingsProto { + get {return _storage._dojoSettings ?? DojoSettingsProto()} + set {_uniqueStorage()._dojoSettings = newValue} } - /// Returns true if `obGm27Settings` has been explicitly set. - public var hasObGm27Settings: Bool {return _storage._obGm27Settings != nil} - /// Clears the value of `obGm27Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm27Settings() {_uniqueStorage()._obGm27Settings = nil} + /// Returns true if `dojoSettings` has been explicitly set. + public var hasDojoSettings: Bool {return _storage._dojoSettings != nil} + /// Clears the value of `dojoSettings`. Subsequent reads from it will return its default value. + public mutating func clearDojoSettings() {_uniqueStorage()._dojoSettings = nil} public var incubatorFlowSettings: IncubatorFlowSettingsProto { get {return _storage._incubatorFlowSettings ?? IncubatorFlowSettingsProto()} @@ -64624,23 +67773,23 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `primalEvoSettings`. Subsequent reads from it will return its default value. public mutating func clearPrimalEvoSettings() {_uniqueStorage()._primalEvoSettings = nil} - public var obGm29Settings: GM29SettingsProto { - get {return _storage._obGm29Settings ?? GM29SettingsProto()} - set {_uniqueStorage()._obGm29Settings = newValue} + public var niaIDMigrationSettings: NiaIdMigrationSettingsProto { + get {return _storage._niaIDMigrationSettings ?? NiaIdMigrationSettingsProto()} + set {_uniqueStorage()._niaIDMigrationSettings = newValue} } - /// Returns true if `obGm29Settings` has been explicitly set. - public var hasObGm29Settings: Bool {return _storage._obGm29Settings != nil} - /// Clears the value of `obGm29Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm29Settings() {_uniqueStorage()._obGm29Settings = nil} + /// Returns true if `niaIDMigrationSettings` has been explicitly set. + public var hasNiaIDMigrationSettings: Bool {return _storage._niaIDMigrationSettings != nil} + /// Clears the value of `niaIDMigrationSettings`. Subsequent reads from it will return its default value. + public mutating func clearNiaIDMigrationSettings() {_uniqueStorage()._niaIDMigrationSettings = nil} - public var obGm30Settings: GM30SettingsProto { - get {return _storage._obGm30Settings ?? GM30SettingsProto()} - set {_uniqueStorage()._obGm30Settings = newValue} + public var criticalReticleSettings: CriticalReticleSettingsProto { + get {return _storage._criticalReticleSettings ?? CriticalReticleSettingsProto()} + set {_uniqueStorage()._criticalReticleSettings = newValue} } - /// Returns true if `obGm30Settings` has been explicitly set. - public var hasObGm30Settings: Bool {return _storage._obGm30Settings != nil} - /// Clears the value of `obGm30Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm30Settings() {_uniqueStorage()._obGm30Settings = nil} + /// Returns true if `criticalReticleSettings` has been explicitly set. + public var hasCriticalReticleSettings: Bool {return _storage._criticalReticleSettings != nil} + /// Clears the value of `criticalReticleSettings`. Subsequent reads from it will return its default value. + public mutating func clearCriticalReticleSettings() {_uniqueStorage()._criticalReticleSettings = nil} public var locationCardFeatureSettings: LocationCardFeatureSettingsProto { get {return _storage._locationCardFeatureSettings ?? LocationCardFeatureSettingsProto()} @@ -64687,14 +67836,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `catchRadiusMultiplierSettings`. Subsequent reads from it will return its default value. public mutating func clearCatchRadiusMultiplierSettings() {_uniqueStorage()._catchRadiusMultiplierSettings = nil} - public var obGm37Settings: GM37SettingsProto { - get {return _storage._obGm37Settings ?? GM37SettingsProto()} - set {_uniqueStorage()._obGm37Settings = newValue} + public var hapticsSettings: HapticsSettingsProto { + get {return _storage._hapticsSettings ?? HapticsSettingsProto()} + set {_uniqueStorage()._hapticsSettings = newValue} } - /// Returns true if `obGm37Settings` has been explicitly set. - public var hasObGm37Settings: Bool {return _storage._obGm37Settings != nil} - /// Clears the value of `obGm37Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm37Settings() {_uniqueStorage()._obGm37Settings = nil} + /// Returns true if `hapticsSettings` has been explicitly set. + public var hasHapticsSettings: Bool {return _storage._hapticsSettings != nil} + /// Clears the value of `hapticsSettings`. Subsequent reads from it will return its default value. + public mutating func clearHapticsSettings() {_uniqueStorage()._hapticsSettings = nil} public var raidLobbyCounterSettings: RaidLobbyCounterSettingsProto { get {return _storage._raidLobbyCounterSettings ?? RaidLobbyCounterSettingsProto()} @@ -64714,14 +67863,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `contestSettings`. Subsequent reads from it will return its default value. public mutating func clearContestSettings() {_uniqueStorage()._contestSettings = nil} - public var obGm39Settings: GM39SettingsProto { - get {return _storage._obGm39Settings ?? GM39SettingsProto()} - set {_uniqueStorage()._obGm39Settings = newValue} + public var guestAccountGameSettingsProto: GuestAccountGameSettingsProto { + get {return _storage._guestAccountGameSettingsProto ?? GuestAccountGameSettingsProto()} + set {_uniqueStorage()._guestAccountGameSettingsProto = newValue} } - /// Returns true if `obGm39Settings` has been explicitly set. - public var hasObGm39Settings: Bool {return _storage._obGm39Settings != nil} - /// Clears the value of `obGm39Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm39Settings() {_uniqueStorage()._obGm39Settings = nil} + /// Returns true if `guestAccountGameSettingsProto` has been explicitly set. + public var hasGuestAccountGameSettingsProto: Bool {return _storage._guestAccountGameSettingsProto != nil} + /// Clears the value of `guestAccountGameSettingsProto`. Subsequent reads from it will return its default value. + public mutating func clearGuestAccountGameSettingsProto() {_uniqueStorage()._guestAccountGameSettingsProto = nil} public var neutralAvatarSettings: NeutralAvatarSettingsProto { get {return _storage._neutralAvatarSettings ?? NeutralAvatarSettingsProto()} @@ -64732,59 +67881,50 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `neutralAvatarSettings`. Subsequent reads from it will return its default value. public mutating func clearNeutralAvatarSettings() {_uniqueStorage()._neutralAvatarSettings = nil} - public var remoteRaidLimitSettings: RemoteRaidLimitSettingsProto { - get {return _storage._remoteRaidLimitSettings ?? RemoteRaidLimitSettingsProto()} - set {_uniqueStorage()._remoteRaidLimitSettings = newValue} - } - /// Returns true if `remoteRaidLimitSettings` has been explicitly set. - public var hasRemoteRaidLimitSettings: Bool {return _storage._remoteRaidLimitSettings != nil} - /// Clears the value of `remoteRaidLimitSettings`. Subsequent reads from it will return its default value. - public mutating func clearRemoteRaidLimitSettings() {_uniqueStorage()._remoteRaidLimitSettings = nil} - - public var obGm43Settings: GM43SettingsProto { - get {return _storage._obGm43Settings ?? GM43SettingsProto()} - set {_uniqueStorage()._obGm43Settings = newValue} + public var squashSettings: SquashSettingsProto { + get {return _storage._squashSettings ?? SquashSettingsProto()} + set {_uniqueStorage()._squashSettings = newValue} } - /// Returns true if `obGm43Settings` has been explicitly set. - public var hasObGm43Settings: Bool {return _storage._obGm43Settings != nil} - /// Clears the value of `obGm43Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm43Settings() {_uniqueStorage()._obGm43Settings = nil} + /// Returns true if `squashSettings` has been explicitly set. + public var hasSquashSettings: Bool {return _storage._squashSettings != nil} + /// Clears the value of `squashSettings`. Subsequent reads from it will return its default value. + public mutating func clearSquashSettings() {_uniqueStorage()._squashSettings = nil} - public var obGm44Settings: GM44SettingsProto { - get {return _storage._obGm44Settings ?? GM44SettingsProto()} - set {_uniqueStorage()._obGm44Settings = newValue} + public var buffSettings: BuffSettingsProto { + get {return _storage._buffSettings ?? BuffSettingsProto()} + set {_uniqueStorage()._buffSettings = newValue} } - /// Returns true if `obGm44Settings` has been explicitly set. - public var hasObGm44Settings: Bool {return _storage._obGm44Settings != nil} - /// Clears the value of `obGm44Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm44Settings() {_uniqueStorage()._obGm44Settings = nil} + /// Returns true if `buffSettings` has been explicitly set. + public var hasBuffSettings: Bool {return _storage._buffSettings != nil} + /// Clears the value of `buffSettings`. Subsequent reads from it will return its default value. + public mutating func clearBuffSettings() {_uniqueStorage()._buffSettings = nil} - public var obGm45Settings: GM45SettingsProto { - get {return _storage._obGm45Settings ?? GM45SettingsProto()} - set {_uniqueStorage()._obGm45Settings = newValue} + public var todayViewSettings: TodayViewSettingsProto { + get {return _storage._todayViewSettings ?? TodayViewSettingsProto()} + set {_uniqueStorage()._todayViewSettings = newValue} } - /// Returns true if `obGm45Settings` has been explicitly set. - public var hasObGm45Settings: Bool {return _storage._obGm45Settings != nil} - /// Clears the value of `obGm45Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm45Settings() {_uniqueStorage()._obGm45Settings = nil} + /// Returns true if `todayViewSettings` has been explicitly set. + public var hasTodayViewSettings: Bool {return _storage._todayViewSettings != nil} + /// Clears the value of `todayViewSettings`. Subsequent reads from it will return its default value. + public mutating func clearTodayViewSettings() {_uniqueStorage()._todayViewSettings = nil} - public var obGm46Settings: GM46SettingsProto { - get {return _storage._obGm46Settings ?? GM46SettingsProto()} - set {_uniqueStorage()._obGm46Settings = newValue} + public var pokemonFilterSettings: PokemonFilterSettingsProto { + get {return _storage._pokemonFilterSettings ?? PokemonFilterSettingsProto()} + set {_uniqueStorage()._pokemonFilterSettings = newValue} } - /// Returns true if `obGm46Settings` has been explicitly set. - public var hasObGm46Settings: Bool {return _storage._obGm46Settings != nil} - /// Clears the value of `obGm46Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm46Settings() {_uniqueStorage()._obGm46Settings = nil} + /// Returns true if `pokemonFilterSettings` has been explicitly set. + public var hasPokemonFilterSettings: Bool {return _storage._pokemonFilterSettings != nil} + /// Clears the value of `pokemonFilterSettings`. Subsequent reads from it will return its default value. + public mutating func clearPokemonFilterSettings() {_uniqueStorage()._pokemonFilterSettings = nil} - public var obGm47Settings: GM47SettingsProto { - get {return _storage._obGm47Settings ?? GM47SettingsProto()} - set {_uniqueStorage()._obGm47Settings = newValue} + public var routePinSettings: RoutePinSettingsProto { + get {return _storage._routePinSettings ?? RoutePinSettingsProto()} + set {_uniqueStorage()._routePinSettings = newValue} } - /// Returns true if `obGm47Settings` has been explicitly set. - public var hasObGm47Settings: Bool {return _storage._obGm47Settings != nil} - /// Clears the value of `obGm47Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm47Settings() {_uniqueStorage()._obGm47Settings = nil} + /// Returns true if `routePinSettings` has been explicitly set. + public var hasRoutePinSettings: Bool {return _storage._routePinSettings != nil} + /// Clears the value of `routePinSettings`. Subsequent reads from it will return its default value. + public mutating func clearRoutePinSettings() {_uniqueStorage()._routePinSettings = nil} public var styleShopSettings: StyleShopSettingsProto { get {return _storage._styleShopSettings ?? StyleShopSettingsProto()} @@ -64795,14 +67935,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `styleShopSettings`. Subsequent reads from it will return its default value. public mutating func clearStyleShopSettings() {_uniqueStorage()._styleShopSettings = nil} - public var obGm49Settings: GM49SettingsProto { - get {return _storage._obGm49Settings ?? GM49SettingsProto()} - set {_uniqueStorage()._obGm49Settings = newValue} + public var partyPlayGeneralSettings: PartyPlayGeneralSettingsProto { + get {return _storage._partyPlayGeneralSettings ?? PartyPlayGeneralSettingsProto()} + set {_uniqueStorage()._partyPlayGeneralSettings = newValue} } - /// Returns true if `obGm49Settings` has been explicitly set. - public var hasObGm49Settings: Bool {return _storage._obGm49Settings != nil} - /// Clears the value of `obGm49Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm49Settings() {_uniqueStorage()._obGm49Settings = nil} + /// Returns true if `partyPlayGeneralSettings` has been explicitly set. + public var hasPartyPlayGeneralSettings: Bool {return _storage._partyPlayGeneralSettings != nil} + /// Clears the value of `partyPlayGeneralSettings`. Subsequent reads from it will return its default value. + public mutating func clearPartyPlayGeneralSettings() {_uniqueStorage()._partyPlayGeneralSettings = nil} public var bootSettings: BootSettingsProto { get {return _storage._bootSettings ?? BootSettingsProto()} @@ -64813,17 +67953,17 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `bootSettings`. Subsequent reads from it will return its default value. public mutating func clearBootSettings() {_uniqueStorage()._bootSettings = nil} - public var obGm51Settings: GM51SettingsProto { - get {return _storage._obGm51Settings ?? GM51SettingsProto()} - set {_uniqueStorage()._obGm51Settings = newValue} + public var optimizationsProto: OptimizationsProto { + get {return _storage._optimizationsProto ?? OptimizationsProto()} + set {_uniqueStorage()._optimizationsProto = newValue} } - /// Returns true if `obGm51Settings` has been explicitly set. - public var hasObGm51Settings: Bool {return _storage._obGm51Settings != nil} - /// Clears the value of `obGm51Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm51Settings() {_uniqueStorage()._obGm51Settings = nil} + /// Returns true if `optimizationsProto` has been explicitly set. + public var hasOptimizationsProto: Bool {return _storage._optimizationsProto != nil} + /// Clears the value of `optimizationsProto`. Subsequent reads from it will return its default value. + public mutating func clearOptimizationsProto() {_uniqueStorage()._optimizationsProto = nil} - public var nearbyPokemonSettings: NearbyPokemonSettingsProto { - get {return _storage._nearbyPokemonSettings ?? NearbyPokemonSettingsProto()} + public var nearbyPokemonSettings: NearbyPokemonSettings { + get {return _storage._nearbyPokemonSettings ?? NearbyPokemonSettings()} set {_uniqueStorage()._nearbyPokemonSettings = newValue} } /// Returns true if `nearbyPokemonSettings` has been explicitly set. @@ -64831,14 +67971,14 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `nearbyPokemonSettings`. Subsequent reads from it will return its default value. public mutating func clearNearbyPokemonSettings() {_uniqueStorage()._nearbyPokemonSettings = nil} - public var obGm53Settings: GM53SettingsProto { - get {return _storage._obGm53Settings ?? GM53SettingsProto()} - set {_uniqueStorage()._obGm53Settings = newValue} + public var partyPlayerSummarySettings: PartySummarySettingsProto { + get {return _storage._partyPlayerSummarySettings ?? PartySummarySettingsProto()} + set {_uniqueStorage()._partyPlayerSummarySettings = newValue} } - /// Returns true if `obGm53Settings` has been explicitly set. - public var hasObGm53Settings: Bool {return _storage._obGm53Settings != nil} - /// Clears the value of `obGm53Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm53Settings() {_uniqueStorage()._obGm53Settings = nil} + /// Returns true if `partyPlayerSummarySettings` has been explicitly set. + public var hasPartyPlayerSummarySettings: Bool {return _storage._partyPlayerSummarySettings != nil} + /// Clears the value of `partyPlayerSummarySettings`. Subsequent reads from it will return its default value. + public mutating func clearPartyPlayerSummarySettings() {_uniqueStorage()._partyPlayerSummarySettings = nil} public var extendedPrimalSettings: ExtendedPrimalSettingsProto { get {return _storage._extendedPrimalSettings ?? ExtendedPrimalSettingsProto()} @@ -64849,50 +67989,50 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `extendedPrimalSettings`. Subsequent reads from it will return its default value. public mutating func clearExtendedPrimalSettings() {_uniqueStorage()._extendedPrimalSettings = nil} - public var obGm55Settings: GM55SettingsProto { - get {return _storage._obGm55Settings ?? GM55SettingsProto()} - set {_uniqueStorage()._obGm55Settings = newValue} + public var partySharedQuestSettings: PartySharedQuestSettingsProto { + get {return _storage._partySharedQuestSettings ?? PartySharedQuestSettingsProto()} + set {_uniqueStorage()._partySharedQuestSettings = newValue} } - /// Returns true if `obGm55Settings` has been explicitly set. - public var hasObGm55Settings: Bool {return _storage._obGm55Settings != nil} - /// Clears the value of `obGm55Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm55Settings() {_uniqueStorage()._obGm55Settings = nil} + /// Returns true if `partySharedQuestSettings` has been explicitly set. + public var hasPartySharedQuestSettings: Bool {return _storage._partySharedQuestSettings != nil} + /// Clears the value of `partySharedQuestSettings`. Subsequent reads from it will return its default value. + public mutating func clearPartySharedQuestSettings() {_uniqueStorage()._partySharedQuestSettings = nil} - public var obGm56Settings: GM56SettingsProto { - get {return _storage._obGm56Settings ?? GM56SettingsProto()} - set {_uniqueStorage()._obGm56Settings = newValue} + public var pokecoinCapSettings: PokecoinCapSettings { + get {return _storage._pokecoinCapSettings ?? PokecoinCapSettings()} + set {_uniqueStorage()._pokecoinCapSettings = newValue} } - /// Returns true if `obGm56Settings` has been explicitly set. - public var hasObGm56Settings: Bool {return _storage._obGm56Settings != nil} - /// Clears the value of `obGm56Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm56Settings() {_uniqueStorage()._obGm56Settings = nil} + /// Returns true if `pokecoinCapSettings` has been explicitly set. + public var hasPokecoinCapSettings: Bool {return _storage._pokecoinCapSettings != nil} + /// Clears the value of `pokecoinCapSettings`. Subsequent reads from it will return its default value. + public mutating func clearPokecoinCapSettings() {_uniqueStorage()._pokecoinCapSettings = nil} - public var obGm57Settings: GM57SettingsProto { - get {return _storage._obGm57Settings ?? GM57SettingsProto()} - set {_uniqueStorage()._obGm57Settings = newValue} + public var clientPoiDecorationGroup: ClientPoiDecorationGroupProto { + get {return _storage._clientPoiDecorationGroup ?? ClientPoiDecorationGroupProto()} + set {_uniqueStorage()._clientPoiDecorationGroup = newValue} } - /// Returns true if `obGm57Settings` has been explicitly set. - public var hasObGm57Settings: Bool {return _storage._obGm57Settings != nil} - /// Clears the value of `obGm57Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm57Settings() {_uniqueStorage()._obGm57Settings = nil} + /// Returns true if `clientPoiDecorationGroup` has been explicitly set. + public var hasClientPoiDecorationGroup: Bool {return _storage._clientPoiDecorationGroup != nil} + /// Clears the value of `clientPoiDecorationGroup`. Subsequent reads from it will return its default value. + public mutating func clearClientPoiDecorationGroup() {_uniqueStorage()._clientPoiDecorationGroup = nil} - public var obGm58Settings: GM58SettingsProto { - get {return _storage._obGm58Settings ?? GM58SettingsProto()} - set {_uniqueStorage()._obGm58Settings = newValue} + public var mapCoordOverlay: MapCoordOverlayProto { + get {return _storage._mapCoordOverlay ?? MapCoordOverlayProto()} + set {_uniqueStorage()._mapCoordOverlay = newValue} } - /// Returns true if `obGm58Settings` has been explicitly set. - public var hasObGm58Settings: Bool {return _storage._obGm58Settings != nil} - /// Clears the value of `obGm58Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm58Settings() {_uniqueStorage()._obGm58Settings = nil} + /// Returns true if `mapCoordOverlay` has been explicitly set. + public var hasMapCoordOverlay: Bool {return _storage._mapCoordOverlay != nil} + /// Clears the value of `mapCoordOverlay`. Subsequent reads from it will return its default value. + public mutating func clearMapCoordOverlay() {_uniqueStorage()._mapCoordOverlay = nil} - public var obGm59Settings: GM59SettingsProto { - get {return _storage._obGm59Settings ?? GM59SettingsProto()} - set {_uniqueStorage()._obGm59Settings = newValue} + public var vistaGeneralSettings: VistaGeneralSettingsProto { + get {return _storage._vistaGeneralSettings ?? VistaGeneralSettingsProto()} + set {_uniqueStorage()._vistaGeneralSettings = newValue} } - /// Returns true if `obGm59Settings` has been explicitly set. - public var hasObGm59Settings: Bool {return _storage._obGm59Settings != nil} - /// Clears the value of `obGm59Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm59Settings() {_uniqueStorage()._obGm59Settings = nil} + /// Returns true if `vistaGeneralSettings` has been explicitly set. + public var hasVistaGeneralSettings: Bool {return _storage._vistaGeneralSettings != nil} + /// Clears the value of `vistaGeneralSettings`. Subsequent reads from it will return its default value. + public mutating func clearVistaGeneralSettings() {_uniqueStorage()._vistaGeneralSettings = nil} public var routeBadgeSettings: RouteBadgeSettingsProto { get {return _storage._routeBadgeSettings ?? RouteBadgeSettingsProto()} @@ -64903,36 +68043,128 @@ public struct GameMasterClientTemplateProto { /// Clears the value of `routeBadgeSettings`. Subsequent reads from it will return its default value. public mutating func clearRouteBadgeSettings() {_uniqueStorage()._routeBadgeSettings = nil} - public var obGm60Settings: GM60SettingsProto { - get {return _storage._obGm60Settings ?? GM60SettingsProto()} - set {_uniqueStorage()._obGm60Settings = newValue} + public var partyDarkLaunchSettings: PartyDarkLaunchSettingsProto { + get {return _storage._partyDarkLaunchSettings ?? PartyDarkLaunchSettingsProto()} + set {_uniqueStorage()._partyDarkLaunchSettings = newValue} + } + /// Returns true if `partyDarkLaunchSettings` has been explicitly set. + public var hasPartyDarkLaunchSettings: Bool {return _storage._partyDarkLaunchSettings != nil} + /// Clears the value of `partyDarkLaunchSettings`. Subsequent reads from it will return its default value. + public mutating func clearPartyDarkLaunchSettings() {_uniqueStorage()._partyDarkLaunchSettings = nil} + + public var routesPartyPlayInteropSettings: RoutesPartyPlayInteroperabilitySettingsProto { + get {return _storage._routesPartyPlayInteropSettings ?? RoutesPartyPlayInteroperabilitySettingsProto()} + set {_uniqueStorage()._routesPartyPlayInteropSettings = newValue} + } + /// Returns true if `routesPartyPlayInteropSettings` has been explicitly set. + public var hasRoutesPartyPlayInteropSettings: Bool {return _storage._routesPartyPlayInteropSettings != nil} + /// Clears the value of `routesPartyPlayInteropSettings`. Subsequent reads from it will return its default value. + public mutating func clearRoutesPartyPlayInteropSettings() {_uniqueStorage()._routesPartyPlayInteropSettings = nil} + + public var routesNearbyNotifSettings: RoutesNearbyNotifSettingsProto { + get {return _storage._routesNearbyNotifSettings ?? RoutesNearbyNotifSettingsProto()} + set {_uniqueStorage()._routesNearbyNotifSettings = newValue} } - /// Returns true if `obGm60Settings` has been explicitly set. - public var hasObGm60Settings: Bool {return _storage._obGm60Settings != nil} - /// Clears the value of `obGm60Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm60Settings() {_uniqueStorage()._obGm60Settings = nil} + /// Returns true if `routesNearbyNotifSettings` has been explicitly set. + public var hasRoutesNearbyNotifSettings: Bool {return _storage._routesNearbyNotifSettings != nil} + /// Clears the value of `routesNearbyNotifSettings`. Subsequent reads from it will return its default value. + public mutating func clearRoutesNearbyNotifSettings() {_uniqueStorage()._routesNearbyNotifSettings = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var dawnDuskSettings: DawnDuskSettingsProto { + get {return _storage._dawnDuskSettings ?? DawnDuskSettingsProto()} + set {_uniqueStorage()._dawnDuskSettings = newValue} + } + /// Returns true if `dawnDuskSettings` has been explicitly set. + public var hasDawnDuskSettings: Bool {return _storage._dawnDuskSettings != nil} + /// Clears the value of `dawnDuskSettings`. Subsequent reads from it will return its default value. + public mutating func clearDawnDuskSettings() {_uniqueStorage()._dawnDuskSettings = nil} - public init() {} + public var nonCombatMoveSettings: NonCombatMoveSettingsProto { + get {return _storage._nonCombatMoveSettings ?? NonCombatMoveSettingsProto()} + set {_uniqueStorage()._nonCombatMoveSettings = newValue} + } + /// Returns true if `nonCombatMoveSettings` has been explicitly set. + public var hasNonCombatMoveSettings: Bool {return _storage._nonCombatMoveSettings != nil} + /// Clears the value of `nonCombatMoveSettings`. Subsequent reads from it will return its default value. + public mutating func clearNonCombatMoveSettings() {_uniqueStorage()._nonCombatMoveSettings = nil} - fileprivate var _storage = _StorageClass.defaultInstance -} + public var routeNpcGiftSettings: RouteNpcGiftSettingsProto { + get {return _storage._routeNpcGiftSettings ?? RouteNpcGiftSettingsProto()} + set {_uniqueStorage()._routeNpcGiftSettings = newValue} + } + /// Returns true if `routeNpcGiftSettings` has been explicitly set. + public var hasRouteNpcGiftSettings: Bool {return _storage._routeNpcGiftSettings != nil} + /// Clears the value of `routeNpcGiftSettings`. Subsequent reads from it will return its default value. + public mutating func clearRouteNpcGiftSettings() {_uniqueStorage()._routeNpcGiftSettings = nil} -public struct GameMasterLanguageSettingsProto { - // 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. + public var ptcOauthSettings: PtcOAuthSettingsProto { + get {return _storage._ptcOauthSettings ?? PtcOAuthSettingsProto()} + set {_uniqueStorage()._ptcOauthSettings = newValue} + } + /// Returns true if `ptcOauthSettings` has been explicitly set. + public var hasPtcOauthSettings: Bool {return _storage._ptcOauthSettings != nil} + /// Clears the value of `ptcOauthSettings`. Subsequent reads from it will return its default value. + public mutating func clearPtcOauthSettings() {_uniqueStorage()._ptcOauthSettings = nil} - public var language: String = String() + public var sharedNonCombatMoveSettings: SharedNonCombatMoveSettingsProto { + get {return _storage._sharedNonCombatMoveSettings ?? SharedNonCombatMoveSettingsProto()} + set {_uniqueStorage()._sharedNonCombatMoveSettings = newValue} + } + /// Returns true if `sharedNonCombatMoveSettings` has been explicitly set. + public var hasSharedNonCombatMoveSettings: Bool {return _storage._sharedNonCombatMoveSettings != nil} + /// Clears the value of `sharedNonCombatMoveSettings`. Subsequent reads from it will return its default value. + public mutating func clearSharedNonCombatMoveSettings() {_uniqueStorage()._sharedNonCombatMoveSettings = nil} - public var isEnabled: Bool = false + public var graphicsCapabilitiesSettings: GraphicsCapabilitiesSettingsProto { + get {return _storage._graphicsCapabilitiesSettings ?? GraphicsCapabilitiesSettingsProto()} + set {_uniqueStorage()._graphicsCapabilitiesSettings = newValue} + } + /// Returns true if `graphicsCapabilitiesSettings` has been explicitly set. + public var hasGraphicsCapabilitiesSettings: Bool {return _storage._graphicsCapabilitiesSettings != nil} + /// Clears the value of `graphicsCapabilitiesSettings`. Subsequent reads from it will return its default value. + public mutating func clearGraphicsCapabilitiesSettings() {_uniqueStorage()._graphicsCapabilitiesSettings = nil} - public var isBetaLanguage: Bool = false + public var partyIapBoostsSettings: PartyIapBoostsSettingsProto { + get {return _storage._partyIapBoostsSettings ?? PartyIapBoostsSettingsProto()} + set {_uniqueStorage()._partyIapBoostsSettings = newValue} + } + /// Returns true if `partyIapBoostsSettings` has been explicitly set. + public var hasPartyIapBoostsSettings: Bool {return _storage._partyIapBoostsSettings != nil} + /// Clears the value of `partyIapBoostsSettings`. Subsequent reads from it will return its default value. + public mutating func clearPartyIapBoostsSettings() {_uniqueStorage()._partyIapBoostsSettings = nil} + + public var languageBundle: LanguageBundleProto { + get {return _storage._languageBundle ?? LanguageBundleProto()} + set {_uniqueStorage()._languageBundle = newValue} + } + /// Returns true if `languageBundle` has been explicitly set. + public var hasLanguageBundle: Bool {return _storage._languageBundle != nil} + /// Clears the value of `languageBundle`. Subsequent reads from it will return its default value. + public mutating func clearLanguageBundle() {_uniqueStorage()._languageBundle = nil} + + public var bulkHealingSettings: BulkHealingSettingsProto { + get {return _storage._bulkHealingSettings ?? BulkHealingSettingsProto()} + set {_uniqueStorage()._bulkHealingSettings = newValue} + } + /// Returns true if `bulkHealingSettings` has been explicitly set. + public var hasBulkHealingSettings: Bool {return _storage._bulkHealingSettings != nil} + /// Clears the value of `bulkHealingSettings`. Subsequent reads from it will return its default value. + public mutating func clearBulkHealingSettings() {_uniqueStorage()._bulkHealingSettings = nil} + + public var pokemonCutsceneRefactorSettings: PokemonCutsceneRefactorSettingsProto { + get {return _storage._pokemonCutsceneRefactorSettings ?? PokemonCutsceneRefactorSettingsProto()} + set {_uniqueStorage()._pokemonCutsceneRefactorSettings = newValue} + } + /// Returns true if `pokemonCutsceneRefactorSettings` has been explicitly set. + public var hasPokemonCutsceneRefactorSettings: Bool {return _storage._pokemonCutsceneRefactorSettings != nil} + /// Clears the value of `pokemonCutsceneRefactorSettings`. Subsequent reads from it will return its default value. + public mutating func clearPokemonCutsceneRefactorSettings() {_uniqueStorage()._pokemonCutsceneRefactorSettings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } public struct GameMasterLocalProto { @@ -64963,6 +68195,15 @@ public struct GameObjectLocationData { /// Clears the value of `offset`. Subsequent reads from it will return its default value. public mutating func clearOffset() {self._offset = nil} + public var offsetRotation: GameObjectLocationData.OffsetRotation { + get {return _offsetRotation ?? GameObjectLocationData.OffsetRotation()} + set {_offsetRotation = newValue} + } + /// Returns true if `offsetRotation` has been explicitly set. + public var hasOffsetRotation: Bool {return self._offsetRotation != nil} + /// Clears the value of `offsetRotation`. Subsequent reads from it will return its default value. + public mutating func clearOffsetRotation() {self._offsetRotation = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() public struct OffsetPosition { @@ -64981,9 +68222,28 @@ public struct GameObjectLocationData { public init() {} } + public struct OffsetRotation { + // 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. + + public var offsetW: Double = 0 + + public var offsetX: Double = 0 + + public var offsetY: Double = 0 + + public var offsetZ: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} fileprivate var _offset: GameObjectLocationData.OffsetPosition? = nil + fileprivate var _offsetRotation: GameObjectLocationData.OffsetRotation? = nil } public struct GameboardSettings { @@ -65084,20 +68344,6 @@ extension GameplayWeatherProto.WeatherCondition: CaseIterable { #endif // swift(>=4.2) -public struct GarAccountInfoProto { - // 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. - - public var nianticID: String = String() - - public var displayName: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - public struct GarProxyRequestProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -65180,6 +68426,26 @@ extension GarProxyResponseProto.Status: CaseIterable { #endif // swift(>=4.2) +public struct GarbageCollectionSettingsProto { + // 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. + + public var playerIdleThresholdMs: Int32 = 0 + + public var normalUnloadUnusedAssetsThreshold: Int32 = 0 + + public var lowUnloadUnusedAssetsThreshold: Int32 = 0 + + public var extraLowUnloadUnusedAssetsThreshold: Int32 = 0 + + public var forceUnloadUnusedAssetsFactor: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + public struct GcmToken { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -65194,12 +68460,12 @@ public struct GcmToken { public init() {} } -public struct GenerateCombatChallengeIdDataProto { +public struct GenerateCombatChallengeIdData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -65273,21 +68539,19 @@ public struct GenerateCombatChallengeIdProto { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var obString: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GenerateCombatChallengeIdResponseDataProto { +public struct GenerateCombatChallengeIdResponseData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 - public var obUint32: UInt32 = 0 + public var roundTripTimeMs: UInt32 = 0 public var result: GenerateCombatChallengeIdOutProto.Result = .unset @@ -65391,32 +68655,9 @@ public struct GenerateGmapSignedUrlProto { public var iconParams: String = String() - public var isMultiMarkerMap: Bool = false - - public var originalLocation: LocationE6Proto { - get {return _originalLocation ?? LocationE6Proto()} - set {_originalLocation = newValue} - } - /// Returns true if `originalLocation` has been explicitly set. - public var hasOriginalLocation: Bool {return self._originalLocation != nil} - /// Clears the value of `originalLocation`. Subsequent reads from it will return its default value. - public mutating func clearOriginalLocation() {self._originalLocation = nil} - - public var proposedLocation: LocationE6Proto { - get {return _proposedLocation ?? LocationE6Proto()} - set {_proposedLocation = newValue} - } - /// Returns true if `proposedLocation` has been explicitly set. - public var hasProposedLocation: Bool {return self._proposedLocation != nil} - /// Clears the value of `proposedLocation`. Subsequent reads from it will return its default value. - public mutating func clearProposedLocation() {self._proposedLocation = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _originalLocation: LocationE6Proto? = nil - fileprivate var _proposedLocation: LocationE6Proto? = nil } public struct GeneratedCodeInfo { @@ -65424,8 +68665,6 @@ public struct GeneratedCodeInfo { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var annotation: [GeneratedCodeInfo.Annotation] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() public struct Annotation { @@ -65459,90 +68698,6 @@ public struct GenericClickTelemetry { public init() {} } -public struct GenericReportData { - // 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. - - public var itemProto: [ItemRapportDataProto] = [] - - public var origin: ReportAttributeData.Origin = .undefinedOrigin - - public var contentUnitID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GeoAssociation { - // 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. - - public var rotation: Quaternion { - get {return _rotation ?? Quaternion()} - set {_rotation = newValue} - } - /// Returns true if `rotation` has been explicitly set. - public var hasRotation: Bool {return self._rotation != nil} - /// Clears the value of `rotation`. Subsequent reads from it will return its default value. - public mutating func clearRotation() {self._rotation = nil} - - public var latitudeDegrees: Double = 0 - - public var longitudeDegrees: Double = 0 - - public var altitudeMetres: Double = 0 - - public var placementAccuracy: PlacementAccuracy { - get {return _placementAccuracy ?? PlacementAccuracy()} - set {_placementAccuracy = newValue} - } - /// Returns true if `placementAccuracy` has been explicitly set. - public var hasPlacementAccuracy: Bool {return self._placementAccuracy != nil} - /// Clears the value of `placementAccuracy`. Subsequent reads from it will return its default value. - public mutating func clearPlacementAccuracy() {self._placementAccuracy = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _rotation: Quaternion? = nil - fileprivate var _placementAccuracy: PlacementAccuracy? = nil -} - -public struct GeodataServiceGameClientPoiProto { - // 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. - - public var poiID: String = String() - - public var title: String = String() - - public var description_p: String = String() - - public var location: LocationE6Proto { - get {return _location ?? LocationE6Proto()} - set {_location = newValue} - } - /// Returns true if `location` has been explicitly set. - public var hasLocation: Bool {return self._location != nil} - /// Clears the value of `location`. Subsequent reads from it will return its default value. - public mutating func clearLocation() {self._location = nil} - - public var imageURL: String = String() - - public var isInGame: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _location: LocationE6Proto? = nil -} - public struct GeofenceMetadata { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -65706,177 +68861,6 @@ public struct GeotargetedQuestValidation { public init() {} } -public struct GetARMappingSettingsOutProto { - // 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. - - public var isClientScanValidationEnabled: Bool = false - - public var clientScanValidationBlockedOs: [String] = [] - - public var clientScanValidationBlockedDeviceID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetARMappingSettingsProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetAccountSettingsOutProto { - // 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. - - public var result: GetAccountSettingsOutProto.Result = .unset - - public var settings: AccountSettingsProto { - get {return _settings ?? AccountSettingsProto()} - set {_settings = newValue} - } - /// Returns true if `settings` has been explicitly set. - public var hasSettings: Bool {return self._settings != nil} - /// Clears the value of `settings`. Subsequent reads from it will return its default value. - public mutating func clearSettings() {self._settings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _settings: AccountSettingsProto? = nil -} - -#if swift(>=4.2) - -extension GetAccountSettingsOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetAccountSettingsOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct GetAccountSettingsProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetAckwowledgeInsenceRecapOutProto { - // 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. - - public var result: GetAckwowledgeInsenceRecapOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorRecapAlreadyAcknowledged // = 2 - case errorFeatureDisabled // = 3 - case errorNoLogToday // = 4 - case errorActiveIncense // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorRecapAlreadyAcknowledged - case 3: self = .errorFeatureDisabled - case 4: self = .errorNoLogToday - case 5: self = .errorActiveIncense - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorRecapAlreadyAcknowledged: return 2 - case .errorFeatureDisabled: return 3 - case .errorNoLogToday: return 4 - case .errorActiveIncense: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetAckwowledgeInsenceRecapOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetAckwowledgeInsenceRecapOutProto.Result] = [ - .unset, - .success, - .errorRecapAlreadyAcknowledged, - .errorFeatureDisabled, - .errorNoLogToday, - .errorActiveIncense, - ] -} - -#endif // swift(>=4.2) - public struct GetActionLogRequest { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -65941,22 +68925,24 @@ extension GetActionLogResponse.Result: CaseIterable { #endif // swift(>=4.2) -public struct GetActiveSubscriptionsRequestProto { +public struct GetAdditionalPokemonDetailsOutProto { // 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. + public var originPartyNicknames: [String] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetActiveSubscriptionsResponseProto { +public struct GetAdditionalPokemonDetailsProto { // 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. - public var subscription: [InAppPurchaseSubscriptionInfo] = [] + public var id: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -66215,22 +69201,51 @@ extension GetAdventureSyncSettingsResponseProto.Status: CaseIterable { #endif // swift(>=4.2) -public struct GetAvailableSkusAndBalancesOutProto { +public struct GetAvailableSubmissionsOutProto { // 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. - public var status: GetAvailableSkusAndBalancesOutProto.Status = .unset + public var submissionsLeft: Int32 = 0 + + public var minPlayerLevel: Int32 = 0 - public var availableSku: [AvailableSkuProto] = [] + public var hasValidEmail_p: Bool = false - public var balance: [CurrencyQuantityProto] = [] + public var isFeatureEnabled: Bool = false - public var playerToken: String = String() + public var timeWindowForSubmissionsLimitMs: Int64 = 0 - public var blockedSku: [AvailableSkuProto] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var processedAtMs: UInt64 = 0 + public init() {} +} + +public struct GetAvailableSubmissionsProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct GetBackgroundModeSettingsOutProto { + // 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. + + public var status: GetBackgroundModeSettingsOutProto.Status = .unset + + public var settings: BackgroundModeClientSettingsProto { + get {return _settings ?? BackgroundModeClientSettingsProto()} + set {_settings = newValue} + } + /// Returns true if `settings` has been explicitly set. + public var hasSettings: Bool {return self._settings != nil} + /// Clears the value of `settings`. Subsequent reads from it will return its default value. + public mutating func clearSettings() {self._settings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -66238,7 +69253,7 @@ public struct GetAvailableSkusAndBalancesOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case failure // = 2 + case errorUnknown // = 2 case UNRECOGNIZED(Int) public init() { @@ -66249,7 +69264,7 @@ public struct GetAvailableSkusAndBalancesOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .failure + case 2: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -66258,7 +69273,7 @@ public struct GetAvailableSkusAndBalancesOutProto { switch self { case .unset: return 0 case .success: return 1 - case .failure: return 2 + case .errorUnknown: return 2 case .UNRECOGNIZED(let i): return i } } @@ -66266,82 +69281,24 @@ public struct GetAvailableSkusAndBalancesOutProto { } public init() {} + + fileprivate var _settings: BackgroundModeClientSettingsProto? = nil } #if swift(>=4.2) -extension GetAvailableSkusAndBalancesOutProto.Status: CaseIterable { +extension GetBackgroundModeSettingsOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetAvailableSkusAndBalancesOutProto.Status] = [ + public static var allCases: [GetBackgroundModeSettingsOutProto.Status] = [ .unset, .success, - .failure, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct GetAvailableSkusAndBalancesProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetAvailableSubmissionsOutProto { - // 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. - - public var submissionsLeft: Int32 = 0 - - public var minPlayerLevel: Int32 = 0 - - public var hasValidEmail_p: Bool = false - - public var isFeatureEnabled: Bool = false - - public var timeWindowForSubmissionsLimitMs: Int64 = 0 - - public var maxPoiDistanceInMeters: Int32 = 0 - - public var availabilityResultPerType: [AvailableSubmissionsPerSubmissionType] = [] - - public var maxPoiLocationEditMoveDistanceMeters: Int32 = 0 - - public var isUploadLaterEnabled: Bool = false - - public var categoryCloudStorageDirectoryPath: String = String() - - public var urbanTypologyCloudStoragePath: String = String() - - public var hasWayfarerAccount_p: Bool = false - - public var passedWayfarerQuiz: Bool = false - - public var isPoiSubmissionCategoryEnabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetAvailableSubmissionsProto { - // 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. - - public var submissionTypes: [PlayerSubmissionTypeProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetAvailableSubscriptionsRequestProto { +public struct GetBackgroundModeSettingsProto { // 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. @@ -66351,16 +69308,14 @@ public struct GetAvailableSubscriptionsRequestProto { public init() {} } -public struct GetAvailableSubscriptionsResponseProto { +public struct GetBonusAttractedPokemonOutProto { // 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. - public var status: GetAvailableSubscriptionsResponseProto.Status = .unset + public var result: GetBonusAttractedPokemonOutProto.Status = .unset - public var playerToken: String = String() - - public var availableSubscription: [AvailableSkuProto] = [] + public var bonusAttractedPokemon: [AttractedPokemonClientProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -66368,7 +69323,6 @@ public struct GetAvailableSubscriptionsResponseProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case failure // = 2 case UNRECOGNIZED(Int) public init() { @@ -66379,7 +69333,6 @@ public struct GetAvailableSubscriptionsResponseProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .failure default: self = .UNRECOGNIZED(rawValue) } } @@ -66388,7 +69341,6 @@ public struct GetAvailableSubscriptionsResponseProto { switch self { case .unset: return 0 case .success: return 1 - case .failure: return 2 case .UNRECOGNIZED(let i): return i } } @@ -66400,40 +69352,42 @@ public struct GetAvailableSubscriptionsResponseProto { #if swift(>=4.2) -extension GetAvailableSubscriptionsResponseProto.Status: CaseIterable { +extension GetBonusAttractedPokemonOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetAvailableSubscriptionsResponseProto.Status] = [ + public static var allCases: [GetBonusAttractedPokemonOutProto.Status] = [ .unset, .success, - .failure, ] } #endif // swift(>=4.2) -public struct GetBackgroundModeSettingsOutProto { +public struct GetBonusAttractedPokemonProto { // 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. - public var status: GetBackgroundModeSettingsOutProto.Status = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var settings: BackgroundModeClientSettingsProto { - get {return _settings ?? BackgroundModeClientSettingsProto()} - set {_settings = newValue} - } - /// Returns true if `settings` has been explicitly set. - public var hasSettings: Bool {return self._settings != nil} - /// Clears the value of `settings`. Subsequent reads from it will return its default value. - public mutating func clearSettings() {self._settings = nil} + public init() {} +} + +public struct GetBonusesOutProto { + // 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. + + public var result: GetBonusesOutProto.Result = .unset + + public var bonusBoxes: [BonusBoxProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 + case errorNoLocation // = 2 case UNRECOGNIZED(Int) public init() { @@ -66444,7 +69398,7 @@ public struct GetBackgroundModeSettingsOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown + case 2: self = .errorNoLocation default: self = .UNRECOGNIZED(rawValue) } } @@ -66453,7 +69407,7 @@ public struct GetBackgroundModeSettingsOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 + case .errorNoLocation: return 2 case .UNRECOGNIZED(let i): return i } } @@ -66461,24 +69415,22 @@ public struct GetBackgroundModeSettingsOutProto { } public init() {} - - fileprivate var _settings: BackgroundModeClientSettingsProto? = nil } #if swift(>=4.2) -extension GetBackgroundModeSettingsOutProto.Status: CaseIterable { +extension GetBonusesOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetBackgroundModeSettingsOutProto.Status] = [ + public static var allCases: [GetBonusesOutProto.Result] = [ .unset, .success, - .errorUnknown, + .errorNoLocation, ] } #endif // swift(>=4.2) -public struct GetBackgroundModeSettingsProto { +public struct GetBonusesProto { // 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. @@ -66605,100 +69557,12 @@ public struct GetBuddyWalkedProto { public init() {} } -public struct GetClientFeatureFlagsRequest { +public struct GetCombatChallengeData { // 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. - public var countryCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetClientFeatureFlagsResponse { - // 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. - - public var featureFlags: SocialClientFeatures { - get {return _featureFlags ?? SocialClientFeatures()} - set {_featureFlags = newValue} - } - /// Returns true if `featureFlags` has been explicitly set. - public var hasFeatureFlags: Bool {return self._featureFlags != nil} - /// Clears the value of `featureFlags`. Subsequent reads from it will return its default value. - public mutating func clearFeatureFlags() {self._featureFlags = nil} - - public var globalSettings: SocialClientGlobalSettings { - get {return _globalSettings ?? SocialClientGlobalSettings()} - set {_globalSettings = newValue} - } - /// Returns true if `globalSettings` has been explicitly set. - public var hasGlobalSettings: Bool {return self._globalSettings != nil} - /// Clears the value of `globalSettings`. Subsequent reads from it will return its default value. - public mutating func clearGlobalSettings() {self._globalSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _featureFlags: SocialClientFeatures? = nil - fileprivate var _globalSettings: SocialClientGlobalSettings? = nil -} - -public struct GetClientSettingsRequest { - // 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. - - public var countryCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetClientSettingsResponse { - // 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. - - public var phoneNumberSettings: GetClientSettingsResponse.PhoneNumberSettings { - get {return _phoneNumberSettings ?? GetClientSettingsResponse.PhoneNumberSettings()} - set {_phoneNumberSettings = newValue} - } - /// Returns true if `phoneNumberSettings` has been explicitly set. - public var hasPhoneNumberSettings: Bool {return self._phoneNumberSettings != nil} - /// Clears the value of `phoneNumberSettings`. Subsequent reads from it will return its default value. - public mutating func clearPhoneNumberSettings() {self._phoneNumberSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct PhoneNumberSettings { - // 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. - - public var country: [PhoneNumberCountryProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _phoneNumberSettings: GetClientSettingsResponse.PhoneNumberSettings? = nil -} - -public struct GetCombatChallengeDataProto { - // 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. - - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -66784,19 +69648,19 @@ public struct GetCombatChallengeProto { public init() {} } -public struct GetCombatChallengeResponseDataProto { +public struct GetCombatChallengeResponseData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 - public var obUint32: UInt32 = 0 + public var roundTripTimeMs: UInt32 = 0 public var result: GetCombatChallengeOutProto.Result = .unset - public var challenge: ObCommunCombatChallengeDataProto { - get {return _challenge ?? ObCommunCombatChallengeDataProto()} + public var challenge: CombatChallengeLogProto { + get {return _challenge ?? CombatChallengeLogProto()} set {_challenge = newValue} } /// Returns true if `challenge` has been explicitly set. @@ -66808,15 +69672,15 @@ public struct GetCombatChallengeResponseDataProto { public init() {} - fileprivate var _challenge: ObCommunCombatChallengeDataProto? = nil + fileprivate var _challenge: CombatChallengeLogProto? = nil } -public struct GetCombatPlayerProfileDataProto { +public struct GetCombatPlayerProfileData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -66839,7 +69703,7 @@ public struct GetCombatPlayerProfileOutProto { /// Clears the value of `profile`. Subsequent reads from it will return its default value. public mutating func clearProfile() {self._profile = nil} - public var obStringList: [String] = [] + public var callingPlayerEligibleLeagues: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -66908,14 +69772,14 @@ public struct GetCombatPlayerProfileProto { public init() {} } -public struct GetCombatPlayerProfileResponseDataProto { +public struct GetCombatPlayerProfileResponseData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 - public var obUint32: UInt32 = 0 + public var roundTripTimeMs: UInt32 = 0 public var result: GetCombatPlayerProfileOutProto.Result = .unset @@ -67051,28 +69915,6 @@ public struct GetCombatResultsProto { public init() {} } -public struct GetContactListInfoRequest { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetContactListInfoResponse { - // 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. - - public var hasNewAccountMatching_p: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - public struct GetContestDataOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -67160,6 +70002,190 @@ public struct GetContestDataProto { public init() {} } +public struct GetContestEntryOutProto { + // 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. + + public var status: GetContestEntryOutProto.Status = .unset + + public var totalEntries: Int32 = 0 + + public var contestEntries: [ContestEntryProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case invalidIndex // = 3 + case entryNotFound // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .invalidIndex + case 4: self = .entryNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .invalidIndex: return 3 + case .entryNotFound: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension GetContestEntryOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GetContestEntryOutProto.Status] = [ + .unset, + .success, + .error, + .invalidIndex, + .entryNotFound, + ] +} + +#endif // swift(>=4.2) + +public struct GetContestEntryProto { + // 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. + + public var contestID: String = String() + + public var startIndex: Int32 = 0 + + public var endIndex: Int32 = 0 + + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} + + public var isRelativeToPlayer: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _contestMetric: ContestMetricProto? = nil +} + +public struct GetContestFriendEntryOutProto { + // 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. + + public var status: GetContestFriendEntryOutProto.Status = .unset + + public var totalFriendEntries: Int32 = 0 + + public var contestFriendEntries: [ContestFriendEntryProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case accessDenied // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .accessDenied + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .accessDenied: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension GetContestFriendEntryOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GetContestFriendEntryOutProto.Status] = [ + .unset, + .success, + .error, + .accessDenied, + ] +} + +#endif // swift(>=4.2) + +public struct GetContestFriendEntryProto { + // 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. + + public var contestID: String = String() + + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _contestMetric: ContestMetricProto? = nil +} + public struct GetContestsUnclaimedRewardsOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -67333,22 +70359,34 @@ public struct GetDailyEncounterProto { public init() {} } -public struct GetEnteredContestOutProto { +public struct GetEligibleCombatLeaguesOutProto { // 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. - public var status: GetEnteredContestOutProto.Status = .unset + public var result: GetEligibleCombatLeaguesOutProto.Result = .unset - public var contestInfo: [ContestInfoProto] = [] + public var playerEligibleLeagues: GetEligibleCombatLeaguesOutProto.PlayerEligibleCombatLeaguesProto { + get {return _playerEligibleLeagues ?? GetEligibleCombatLeaguesOutProto.PlayerEligibleCombatLeaguesProto()} + set {_playerEligibleLeagues = newValue} + } + /// Returns true if `playerEligibleLeagues` has been explicitly set. + public var hasPlayerEligibleLeagues: Bool {return self._playerEligibleLeagues != nil} + /// Clears the value of `playerEligibleLeagues`. Subsequent reads from it will return its default value. + public mutating func clearPlayerEligibleLeagues() {self._playerEligibleLeagues = nil} + + public var otherPlayersEligibleLeagues: [GetEligibleCombatLeaguesOutProto.PlayerEligibleCombatLeaguesProto] = [] + + public var skippedPlayerIds: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case error // = 2 + case errorAccessDenied // = 2 + case errorTooManyPlayerIds // = 3 case UNRECOGNIZED(Int) public init() { @@ -67359,7 +70397,8 @@ public struct GetEnteredContestOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .error + case 2: self = .errorAccessDenied + case 3: self = .errorTooManyPlayerIds default: self = .UNRECOGNIZED(rawValue) } } @@ -67368,61 +70407,86 @@ public struct GetEnteredContestOutProto { switch self { case .unset: return 0 case .success: return 1 - case .error: return 2 + case .errorAccessDenied: return 2 + case .errorTooManyPlayerIds: return 3 case .UNRECOGNIZED(let i): return i } } } + public struct PlayerEligibleCombatLeaguesProto { + // 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. + + public var playerID: String = String() + + public var combatPlayerPreferences: CombatPlayerPreferencesProto { + get {return _combatPlayerPreferences ?? CombatPlayerPreferencesProto()} + set {_combatPlayerPreferences = newValue} + } + /// Returns true if `combatPlayerPreferences` has been explicitly set. + public var hasCombatPlayerPreferences: Bool {return self._combatPlayerPreferences != nil} + /// Clears the value of `combatPlayerPreferences`. Subsequent reads from it will return its default value. + public mutating func clearCombatPlayerPreferences() {self._combatPlayerPreferences = nil} + + public var eligibleCombatLeagues: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _combatPlayerPreferences: CombatPlayerPreferencesProto? = nil + } + public init() {} + + fileprivate var _playerEligibleLeagues: GetEligibleCombatLeaguesOutProto.PlayerEligibleCombatLeaguesProto? = nil } #if swift(>=4.2) -extension GetEnteredContestOutProto.Status: CaseIterable { +extension GetEligibleCombatLeaguesOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetEnteredContestOutProto.Status] = [ + public static var allCases: [GetEligibleCombatLeaguesOutProto.Result] = [ .unset, .success, - .error, + .errorAccessDenied, + .errorTooManyPlayerIds, ] } #endif // swift(>=4.2) -public struct GetEnteredContestProto { +public struct GetEligibleCombatLeaguesProto { // 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. + public var playerIds: [String] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetFacebookFriendListOutProto { +public struct GetEnteredContestOutProto { // 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. - public var result: GetFacebookFriendListOutProto.Result = .unset - - public var friend: [GetFacebookFriendListOutProto.FacebookFriendProto] = [] + public var status: GetEnteredContestOutProto.Status = .unset - public var nextCursor: String = String() + public var contestInfo: [ContestInfoProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 - case errorFacebookApi // = 3 - case errorFacebookPermissions // = 4 - case errorNoFacebookID // = 5 - case errorPlayerNotFound // = 6 + case error // = 2 case UNRECOGNIZED(Int) public init() { @@ -67433,11 +70497,7 @@ public struct GetFacebookFriendListOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorFacebookApi - case 4: self = .errorFacebookPermissions - case 5: self = .errorNoFacebookID - case 6: self = .errorPlayerNotFound + case 2: self = .error default: self = .UNRECOGNIZED(rawValue) } } @@ -67446,70 +70506,35 @@ public struct GetFacebookFriendListOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 - case .errorFacebookApi: return 3 - case .errorFacebookPermissions: return 4 - case .errorNoFacebookID: return 5 - case .errorPlayerNotFound: return 6 + case .error: return 2 case .UNRECOGNIZED(let i): return i } } } - public struct FacebookFriendProto { - // 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. - - public var player: PlayerSummaryProto { - get {return _player ?? PlayerSummaryProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} - - public var fullName: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _player: PlayerSummaryProto? = nil - } - public init() {} } #if swift(>=4.2) -extension GetFacebookFriendListOutProto.Result: CaseIterable { +extension GetEnteredContestOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetFacebookFriendListOutProto.Result] = [ + public static var allCases: [GetEnteredContestOutProto.Status] = [ .unset, .success, - .errorUnknown, - .errorFacebookApi, - .errorFacebookPermissions, - .errorNoFacebookID, - .errorPlayerNotFound, + .error, ] } #endif // swift(>=4.2) -public struct GetFacebookFriendListProto { +public struct GetEnteredContestProto { // 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. - public var fbAccessToken: String = String() - - public var limit: Int32 = 0 - - public var cursor: String = String() + public var includeRanking: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -67689,713 +70714,6 @@ public struct GetFitnessRewardsProto { public init() {} } -public struct GetFriendCodeOutProto { - // 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. - - public var result: GetFriendCodeOutProto.Result = .unset - - public var friendCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetFriendCodeOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetFriendCodeOutProto.Result] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct GetFriendCodeProto { - // 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. - - public var forceGenerateCode: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetFriendDetailsOutProto { - // 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. - - public var result: GetFriendDetailsOutProto.Result = .unset - - public var friend: [FriendDetailsProto] = [] - - public var friendDetailsDebugInfo: GetFriendDetailsOutProto.DebugProto { - get {return _friendDetailsDebugInfo ?? GetFriendDetailsOutProto.DebugProto()} - set {_friendDetailsDebugInfo = newValue} - } - /// Returns true if `friendDetailsDebugInfo` has been explicitly set. - public var hasFriendDetailsDebugInfo: Bool {return self._friendDetailsDebugInfo != nil} - /// Clears the value of `friendDetailsDebugInfo`. Subsequent reads from it will return its default value. - public mutating func clearFriendDetailsDebugInfo() {self._friendDetailsDebugInfo = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case exceedsMaxPlayersPerQuery // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .exceedsMaxPlayersPerQuery - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .exceedsMaxPlayersPerQuery: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct DebugProto { - // 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. - - public var fetchedFromDb: Int32 = 0 - - public var fetchedFromFanout: Int32 = 0 - - public var fetchedFromPlayerMapper: Int32 = 0 - - public var fetchedFromStatusCache: Int32 = 0 - - public var failedToFetch: Int32 = 0 - - public var fetchedFromSameServerAsPlayer: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct Callee { - // 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. - - public var playerID: String = String() - - public var niaAccountID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - } - - public init() {} - - fileprivate var _friendDetailsDebugInfo: GetFriendDetailsOutProto.DebugProto? = nil -} - -#if swift(>=4.2) - -extension GetFriendDetailsOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetFriendDetailsOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .exceedsMaxPlayersPerQuery, - ] -} - -#endif // swift(>=4.2) - -public struct GetFriendDetailsProto { - // 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. - - public var playerID: [String] = [] - - public var niaAccountID: [String] = [] - - public var includeOnlineStatus: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetFriendDetailsRequest { - // 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. - - public var friendID: [String] = [] - - public var feature: SocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType = .unset - - public var friendNiaAccountID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetFriendDetailsResponse { - // 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. - - public var result: GetFriendDetailsResponse.Result = .unset - - public var friendDetails: [GetFriendDetailsResponse.FriendDetailsEntryProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorExceedsMaxFriendsPerQuery // = 3 - case errorFeatureDisabled // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorExceedsMaxFriendsPerQuery - case 4: self = .errorFeatureDisabled - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorExceedsMaxFriendsPerQuery: return 3 - case .errorFeatureDisabled: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct FriendDetailsEntryProto { - // 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. - - public var playerID: String = String() - - public var profile: ProfileDetailsProto { - get {return _profile ?? ProfileDetailsProto()} - set {_profile = newValue} - } - /// Returns true if `profile` has been explicitly set. - public var hasProfile: Bool {return self._profile != nil} - /// Clears the value of `profile`. Subsequent reads from it will return its default value. - public mutating func clearProfile() {self._profile = nil} - - public var playerStatus: GetFriendDetailsResponse.PlayerStatusDetailsProto { - get {return _playerStatus ?? GetFriendDetailsResponse.PlayerStatusDetailsProto()} - set {_playerStatus = newValue} - } - /// Returns true if `playerStatus` has been explicitly set. - public var hasPlayerStatus: Bool {return self._playerStatus != nil} - /// Clears the value of `playerStatus`. Subsequent reads from it will return its default value. - public mutating func clearPlayerStatus() {self._playerStatus = nil} - - public var callingGameData: FriendDetailsProto { - get {return _callingGameData ?? FriendDetailsProto()} - set {_callingGameData = newValue} - } - /// Returns true if `callingGameData` has been explicitly set. - public var hasCallingGameData: Bool {return self._callingGameData != nil} - /// Clears the value of `callingGameData`. Subsequent reads from it will return its default value. - public mutating func clearCallingGameData() {self._callingGameData = nil} - - public var outgoingGameInviteStatus: [GetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus] = [] - - public var dismissedOutgoingGameInviteAppKeys: [String] = [] - - public var niaAccountID: String = String() - - public var garAccountInfo: GarAccountInfoProto { - get {return _garAccountInfo ?? GarAccountInfoProto()} - set {_garAccountInfo = newValue} - } - /// Returns true if `garAccountInfo` has been explicitly set. - public var hasGarAccountInfo: Bool {return self._garAccountInfo != nil} - /// Clears the value of `garAccountInfo`. Subsequent reads from it will return its default value. - public mutating func clearGarAccountInfo() {self._garAccountInfo = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct OutgoingGameInviteStatus { - // 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. - - public var appKey: String = String() - - public var invitationStatus: SocialV2Enum.InvitationStatus = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _profile: ProfileDetailsProto? = nil - fileprivate var _playerStatus: GetFriendDetailsResponse.PlayerStatusDetailsProto? = nil - fileprivate var _callingGameData: FriendDetailsProto? = nil - fileprivate var _garAccountInfo: GarAccountInfoProto? = nil - } - - public struct PlayerStatusDetailsProto { - // 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. - - public var result: GetFriendDetailsResponse.PlayerStatusDetailsProto.Result = .unset - - public var onlineStatus: SocialV2Enum.OnlineStatus = .statusUnset - - public var lastPlayedAppKey: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorStatusUnknown // = 3 - case errorStaleData // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorStatusUnknown - case 4: self = .errorStaleData - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorStatusUnknown: return 3 - case .errorStaleData: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetFriendDetailsResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetFriendDetailsResponse.Result] = [ - .unset, - .success, - .errorUnknown, - .errorExceedsMaxFriendsPerQuery, - .errorFeatureDisabled, - ] -} - -extension GetFriendDetailsResponse.PlayerStatusDetailsProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetFriendDetailsResponse.PlayerStatusDetailsProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorStatusUnknown, - .errorStaleData, - ] -} - -#endif // swift(>=4.2) - -public struct GetFriendRecommendationRequest { - // 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. - - public var type: FriendRecommendationAttributeData.TypeEnum = .unsetType - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetFriendRecommendationResponse { - // 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. - - public var result: GetFriendRecommendationResponse.Result = .unset - - public var friendRecommendation: [FriendRecommendation] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetFriendRecommendationResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetFriendRecommendationResponse.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct GetFriendsListOutProto { - // 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. - - public var result: GetFriendsListOutProto.Result = .unset - - public var friend: [GetFriendsListOutProto.FriendProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct FriendProto { - // 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. - - public var playerID: String { - get {return _storage._playerID} - set {_uniqueStorage()._playerID = newValue} - } - - public var codename: String { - get {return _storage._codename} - set {_uniqueStorage()._codename = newValue} - } - - public var team: String { - get {return _storage._team} - set {_uniqueStorage()._team = newValue} - } - - public var score: Int32 { - get {return _storage._score} - set {_uniqueStorage()._score = newValue} - } - - public var dataWithMe: FriendshipDataProto { - get {return _storage._dataWithMe ?? FriendshipDataProto()} - set {_uniqueStorage()._dataWithMe = newValue} - } - /// Returns true if `dataWithMe` has been explicitly set. - public var hasDataWithMe: Bool {return _storage._dataWithMe != nil} - /// Clears the value of `dataWithMe`. Subsequent reads from it will return its default value. - public mutating func clearDataWithMe() {_uniqueStorage()._dataWithMe = nil} - - public var version: Int64 { - get {return _storage._version} - set {_uniqueStorage()._version = newValue} - } - - public var createdMs: Int64 { - get {return _storage._createdMs} - set {_uniqueStorage()._createdMs = newValue} - } - - public var fbUserID: String { - get {return _storage._fbUserID} - set {_uniqueStorage()._fbUserID = newValue} - } - - public var isFacebookFriendship: Bool { - get {return _storage._isFacebookFriendship} - set {_uniqueStorage()._isFacebookFriendship = newValue} - } - - public var sharedData: GetFriendsListOutProto.SharedFriendshipProto { - get {return _storage._sharedData ?? GetFriendsListOutProto.SharedFriendshipProto()} - set {_uniqueStorage()._sharedData = newValue} - } - /// Returns true if `sharedData` has been explicitly set. - public var hasSharedData: Bool {return _storage._sharedData != nil} - /// Clears the value of `sharedData`. Subsequent reads from it will return its default value. - public mutating func clearSharedData() {_uniqueStorage()._sharedData = nil} - - public var onlineStatus: GetFriendsListOutProto.FriendProto.OnlineStatus { - get {return _storage._onlineStatus} - set {_uniqueStorage()._onlineStatus = newValue} - } - - public var niaAccountID: String { - get {return _storage._niaAccountID} - set {_uniqueStorage()._niaAccountID = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OnlineStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case statusUnknown // = 1 - case statusOnline // = 2 - case statusOffline // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .statusUnknown - case 2: self = .statusOnline - case 3: self = .statusOffline - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .statusUnknown: return 1 - case .statusOnline: return 2 - case .statusOffline: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance - } - - public struct SharedFriendshipProto { - // 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. - - public var sharedData: Data = Data() - - public var version: Int64 = 0 - - public var dataFromMe: OneWaySharedFriendshipDataProto { - get {return _dataFromMe ?? OneWaySharedFriendshipDataProto()} - set {_dataFromMe = newValue} - } - /// Returns true if `dataFromMe` has been explicitly set. - public var hasDataFromMe: Bool {return self._dataFromMe != nil} - /// Clears the value of `dataFromMe`. Subsequent reads from it will return its default value. - public mutating func clearDataFromMe() {self._dataFromMe = nil} - - public var dataToMe: OneWaySharedFriendshipDataProto { - get {return _dataToMe ?? OneWaySharedFriendshipDataProto()} - set {_dataToMe = newValue} - } - /// Returns true if `dataToMe` has been explicitly set. - public var hasDataToMe: Bool {return self._dataToMe != nil} - /// Clears the value of `dataToMe`. Subsequent reads from it will return its default value. - public mutating func clearDataToMe() {self._dataToMe = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _dataFromMe: OneWaySharedFriendshipDataProto? = nil - fileprivate var _dataToMe: OneWaySharedFriendshipDataProto? = nil - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetFriendsListOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetFriendsListOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - ] -} - -extension GetFriendsListOutProto.FriendProto.OnlineStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetFriendsListOutProto.FriendProto.OnlineStatus] = [ - .unset, - .statusUnknown, - .statusOnline, - .statusOffline, - ] -} - -#endif // swift(>=4.2) - -public struct GetFriendsListProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - public struct GetFriendshipRewardsOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -68480,145 +70798,6 @@ public struct GetFriendshipRewardsProto { public init() {} } -public struct GetGameAccessTokenOutProto { - // 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. - - public var values: GetGameAccessTokenOutProto.Values { - get {return _values ?? GetGameAccessTokenOutProto.Values()} - set {_values = newValue} - } - /// Returns true if `values` has been explicitly set. - public var hasValues: Bool {return self._values != nil} - /// Clears the value of `values`. Subsequent reads from it will return its default value. - public mutating func clearValues() {self._values = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct Values { - // 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. - - public var result: GetGameAccessTokenOutProto.Values.Result = .unset - - public var token: String = String() - - public var userData: GetGameAccessTokenOutProto.Values.User { - get {return _userData ?? GetGameAccessTokenOutProto.Values.User()} - set {_userData = newValue} - } - /// Returns true if `userData` has been explicitly set. - public var hasUserData: Bool {return self._userData != nil} - /// Clears the value of `userData`. Subsequent reads from it will return its default value. - public mutating func clearUserData() {self._userData = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct User { - // 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. - - public var mail: String = String() - - public var tokenExpireTimestamp: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _userData: GetGameAccessTokenOutProto.Values.User? = nil - } - - public init() {} - - fileprivate var _values: GetGameAccessTokenOutProto.Values? = nil -} - -#if swift(>=4.2) - -extension GetGameAccessTokenOutProto.Values.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetGameAccessTokenOutProto.Values.Result] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct GetGameAccessTokenProto { - // 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. - - public var type: Int32 = 0 - - public var tokenID: GetGameAccessTokenProto.TokenId { - get {return _tokenID ?? GetGameAccessTokenProto.TokenId()} - set {_tokenID = newValue} - } - /// Returns true if `tokenID` has been explicitly set. - public var hasTokenID: Bool {return self._tokenID != nil} - /// Clears the value of `tokenID`. Subsequent reads from it will return its default value. - public mutating func clearTokenID() {self._tokenID = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct TokenId { - // 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. - - public var id: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _tokenID: GetGameAccessTokenProto.TokenId? = nil -} - public struct GetGameMasterClientTemplatesOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -68918,10 +71097,6 @@ public struct GetGmapSettingsOutProto { public var maxPoiDistanceInMeters: Int32 = 0 - public var minZoom: Int32 = 0 - - public var maxZoom: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { @@ -68989,100 +71164,6 @@ public struct GetGmapSettingsProto { public init() {} } -public struct GetGrapeshotUploadUrlOutProto { - // 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. - - public var status: GetGrapeshotUploadUrlOutProto.Status = .unset - - public var fileContextToGrapeshotData: Dictionary = [:] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case failure // = 1 - case success // = 2 - case missingFileContexts // = 3 - case duplicateFileContext // = 4 - case missingSubmissionType // = 5 - case missingSubmissionID // = 6 - case alreadyUploaded // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .failure - case 2: self = .success - case 3: self = .missingFileContexts - case 4: self = .duplicateFileContext - case 5: self = .missingSubmissionType - case 6: self = .missingSubmissionID - case 7: self = .alreadyUploaded - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .failure: return 1 - case .success: return 2 - case .missingFileContexts: return 3 - case .duplicateFileContext: return 4 - case .missingSubmissionType: return 5 - case .missingSubmissionID: return 6 - case .alreadyUploaded: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetGrapeshotUploadUrlOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetGrapeshotUploadUrlOutProto.Status] = [ - .unset, - .failure, - .success, - .missingFileContexts, - .duplicateFileContext, - .missingSubmissionType, - .missingSubmissionID, - .alreadyUploaded, - ] -} - -#endif // swift(>=4.2) - -public struct GetGrapeshotUploadUrlProto { - // 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. - - public var submissionID: String = String() - - public var fileUploadContext: [String] = [] - - public var developerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - public struct GetGymBadgeDetailsOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -69314,104 +71395,6 @@ public struct GetHoloholoInventoryProto { public init() {} } -public struct GetImageGallerySettingsOutProto { - // 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. - - public var isImageGalleryEnabled: Bool = false - - public var maxPeriodicImageLoadedCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetImageGallerySettingsProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetImagesForPoiOutProto { - // 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. - - public var status: GetImagesForPoiOutProto.Status = .unset - - public var photoGalleryPoiImages: [GameClientPhotoGalleryPoiImageProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case poiNotFound // = 2 - case invalidRequest // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .poiNotFound - case 3: self = .invalidRequest - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .poiNotFound: return 2 - case .invalidRequest: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetImagesForPoiOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetImagesForPoiOutProto.Status] = [ - .unset, - .success, - .poiNotFound, - .invalidRequest, - ] -} - -#endif // swift(>=4.2) - -public struct GetImagesForPoiProto { - // 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. - - public var poiID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - public struct GetInboxOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -69499,22 +71482,6 @@ public struct GetInboxProto { public init() {} } -public struct GetInboxV2Proto { - // 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. - - public var isHistory: Bool = false - - public var isReverse: Bool = false - - public var notBeforeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - public struct GetIncensePokemonOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -69608,14 +71575,14 @@ public struct GetIncensePokemonProto { public init() {} } -public struct GetIncomingFriendInvitesOutProto { +public struct GetIncenseRecapOutProto { // 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. - public var result: GetIncomingFriendInvitesOutProto.Result = .unset + public var result: GetIncenseRecapOutProto.Result = .unset - public var invites: [IncomingFriendInviteDisplayProto] = [] + public var displayProtos: [DailyAdventureIncenseRecapDayDisplayProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -69623,7 +71590,9 @@ public struct GetIncomingFriendInvitesOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 + case errorAlreadySeen // = 2 + case errorInvalidDayBucket // = 3 + case errorFeatureDisabled // = 4 case UNRECOGNIZED(Int) public init() { @@ -69634,7 +71603,9 @@ public struct GetIncomingFriendInvitesOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown + case 2: self = .errorAlreadySeen + case 3: self = .errorInvalidDayBucket + case 4: self = .errorFeatureDisabled default: self = .UNRECOGNIZED(rawValue) } } @@ -69643,7 +71614,9 @@ public struct GetIncomingFriendInvitesOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 + case .errorAlreadySeen: return 2 + case .errorInvalidDayBucket: return 3 + case .errorFeatureDisabled: return 4 case .UNRECOGNIZED(let i): return i } } @@ -69655,272 +71628,78 @@ public struct GetIncomingFriendInvitesOutProto { #if swift(>=4.2) -extension GetIncomingFriendInvitesOutProto.Result: CaseIterable { +extension GetIncenseRecapOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetIncomingFriendInvitesOutProto.Result] = [ + public static var allCases: [GetIncenseRecapOutProto.Result] = [ .unset, .success, - .errorUnknown, + .errorAlreadySeen, + .errorInvalidDayBucket, + .errorFeatureDisabled, ] } #endif // swift(>=4.2) -public struct GetIncomingFriendInvitesProto { +public struct GetIncenseRecapProto { + // 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. + + public var dayBucket: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct GetInventoryProto { // 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. + public var timestampMillis: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetIncomingGameInvitesRequest { +public struct GetInventoryResponseProto { // 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. + public var success: Bool = false + + public var inventoryDelta: InventoryDeltaProto { + get {return _inventoryDelta ?? InventoryDeltaProto()} + set {_inventoryDelta = newValue} + } + /// Returns true if `inventoryDelta` has been explicitly set. + public var hasInventoryDelta: Bool {return self._inventoryDelta != nil} + /// Clears the value of `inventoryDelta`. Subsequent reads from it will return its default value. + public mutating func clearInventoryDelta() {self._inventoryDelta = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _inventoryDelta: InventoryDeltaProto? = nil } -public struct GetIncomingGameInvitesResponse { +public struct GetLocalTimeOutProto { // 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. - public var invites: [GetIncomingGameInvitesResponse.IncomingGameInvite] = [] + public var status: GetLocalTimeOutProto.Status = .unset - public var result: GetIncomingGameInvitesResponse.Result = .unset + public var localTimes: [GetLocalTimeOutProto.LocalTimeProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorFeatureDisabled // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorFeatureDisabled - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorFeatureDisabled: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct IncomingGameInvite { - // 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. - - public var appKey: String = String() - - public var friendProfileNames: [String] = [] - - public var status: GetIncomingGameInvitesResponse.IncomingGameInvite.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case new // = 1 - case seen // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .new - case 2: self = .seen - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .new: return 1 - case .seen: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetIncomingGameInvitesResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetIncomingGameInvitesResponse.Result] = [ - .unset, - .success, - .errorUnknown, - .errorFeatureDisabled, - ] -} - -extension GetIncomingGameInvitesResponse.IncomingGameInvite.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetIncomingGameInvitesResponse.IncomingGameInvite.Status] = [ - .unset, - .new, - .seen, - ] -} - -#endif // swift(>=4.2) - -public struct GetInsenceRecapOutProto { - // 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. - - public var status: GetInsenceRecapOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case disabled // = 1 - case wait // = 2 - case active // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .disabled - case 2: self = .wait - case 3: self = .active - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .disabled: return 1 - case .wait: return 2 - case .active: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetInsenceRecapOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetInsenceRecapOutProto.Status] = [ - .unset, - .disabled, - .wait, - .active, - ] -} - -#endif // swift(>=4.2) - -public struct GetInsenceRecapProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetInventoryProto { - // 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. - - public var timestampMillis: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetInventoryResponseProto { - // 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. - - public var success: Bool = false - - public var inventoryDelta: InventoryDeltaProto { - get {return _inventoryDelta ?? InventoryDeltaProto()} - set {_inventoryDelta = newValue} - } - /// Returns true if `inventoryDelta` has been explicitly set. - public var hasInventoryDelta: Bool {return self._inventoryDelta != nil} - /// Clears the value of `inventoryDelta`. Subsequent reads from it will return its default value. - public mutating func clearInventoryDelta() {self._inventoryDelta = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _inventoryDelta: InventoryDeltaProto? = nil -} - -public struct GetLocalTimeOutProto { - // 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. - - public var status: GetLocalTimeOutProto.Status = .unset - - public var localTimes: [GetLocalTimeOutProto.LocalTimeProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 @@ -70009,103 +71788,6 @@ public struct GetLocalTimeProto { public init() {} } -public struct GetMapDataOutProto { - // 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. - - public var status: GetMapDataOutProto.Status = .unset - - public var pois: [GeodataServiceGameClientPoiProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case invalidRequest // = 2 - case internalError // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .invalidRequest - case 3: self = .internalError - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .invalidRequest: return 2 - case .internalError: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetMapDataOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetMapDataOutProto.Status] = [ - .unset, - .success, - .invalidRequest, - .internalError, - ] -} - -#endif // swift(>=4.2) - -public struct GetMapDataProto { - // 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. - - public var geodataTypes: [GeodataType] = [] - - public var northeastPoint: LocationE6Proto { - get {return _northeastPoint ?? LocationE6Proto()} - set {_northeastPoint = newValue} - } - /// Returns true if `northeastPoint` has been explicitly set. - public var hasNortheastPoint: Bool {return self._northeastPoint != nil} - /// Clears the value of `northeastPoint`. Subsequent reads from it will return its default value. - public mutating func clearNortheastPoint() {self._northeastPoint = nil} - - public var southwestPoint: LocationE6Proto { - get {return _southwestPoint ?? LocationE6Proto()} - set {_southwestPoint = newValue} - } - /// Returns true if `southwestPoint` has been explicitly set. - public var hasSouthwestPoint: Bool {return self._southwestPoint != nil} - /// Clears the value of `southwestPoint`. Subsequent reads from it will return its default value. - public mutating func clearSouthwestPoint() {self._southwestPoint = nil} - - public var apiKey: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _northeastPoint: LocationE6Proto? = nil - fileprivate var _southwestPoint: LocationE6Proto? = nil -} - public struct GetMapFortsOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -70223,10 +71905,40 @@ public struct GetMapObjectsOutProto { public var clientWeather: [ClientWeatherProto] = [] - public var obOther: GetMapObjectsOutProto.ObOtherProto = .notSet + public var moonPhase: GetMapObjectsOutProto.MoonPhase = .notSet + + public var twilightPeriod: GetMapObjectsOutProto.TwilightPeriod = .noneTwilightPeriod public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum MoonPhase: SwiftProtobuf.Enum { + public typealias RawValue = Int + case notSet // = 0 + case full // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .notSet + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .notSet + case 1: self = .full + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .notSet: return 0 + case .full: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 @@ -70292,28 +72004,31 @@ public struct GetMapObjectsOutProto { } - public enum ObOtherProto: SwiftProtobuf.Enum { + public enum TwilightPeriod: SwiftProtobuf.Enum { public typealias RawValue = Int - case notSet // = 0 - case full // = 1 + case noneTwilightPeriod // = 0 + case dusk // = 1 + case dawn // = 2 case UNRECOGNIZED(Int) public init() { - self = .notSet + self = .noneTwilightPeriod } public init?(rawValue: Int) { switch rawValue { - case 0: self = .notSet - case 1: self = .full + case 0: self = .noneTwilightPeriod + case 1: self = .dusk + case 2: self = .dawn default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .notSet: return 0 - case .full: return 1 + case .noneTwilightPeriod: return 0 + case .dusk: return 1 + case .dawn: return 2 case .UNRECOGNIZED(let i): return i } } @@ -70325,6 +72040,14 @@ public struct GetMapObjectsOutProto { #if swift(>=4.2) +extension GetMapObjectsOutProto.MoonPhase: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GetMapObjectsOutProto.MoonPhase] = [ + .notSet, + .full, + ] +} + extension GetMapObjectsOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. public static var allCases: [GetMapObjectsOutProto.Status] = [ @@ -70344,11 +72067,12 @@ extension GetMapObjectsOutProto.TimeOfDay: CaseIterable { ] } -extension GetMapObjectsOutProto.ObOtherProto: CaseIterable { +extension GetMapObjectsOutProto.TwilightPeriod: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetMapObjectsOutProto.ObOtherProto] = [ - .notSet, - .full, + public static var allCases: [GetMapObjectsOutProto.TwilightPeriod] = [ + .noneTwilightPeriod, + .dusk, + .dawn, ] } @@ -70553,12 +72277,12 @@ extension GetMaptilesSettingsResponse.Status: CaseIterable { #endif // swift(>=4.2) -public struct GetMatchmakingStatusDataProto { +public struct GetMatchmakingStatusData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -70662,19 +72386,19 @@ public struct GetMatchmakingStatusProto { public init() {} } -public struct GetMatchmakingStatusResponseDataProto { +public struct GetMatchmakingStatusResponseData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 - public var obUint32: UInt32 = 0 + public var roundTripTimeMs: UInt32 = 0 public var result: GetMatchmakingStatusOutProto.Result = .unset - public var challenge: ObCommunCombatChallengeDataProto { - get {return _challenge ?? ObCommunCombatChallengeDataProto()} + public var challenge: CombatChallengeLogProto { + get {return _challenge ?? CombatChallengeLogProto()} set {_challenge = newValue} } /// Returns true if `challenge` has been explicitly set. @@ -70686,7 +72410,7 @@ public struct GetMatchmakingStatusResponseDataProto { public init() {} - fileprivate var _challenge: ObCommunCombatChallengeDataProto? = nil + fileprivate var _challenge: CombatChallengeLogProto? = nil } public struct GetMementoListOutProto { @@ -70928,134 +72652,6 @@ public struct GetMilestonesProto { public init() {} } -public struct GetMyAccountRequest { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetMyAccountResponse { - // 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. - - public var status: GetMyAccountResponse.Status = .unset - - public var contact: [GetMyAccountResponse.ContactProto] = [] - - public var fullName: String = String() - - public var contactImportDiscoverabilityConsent: AccountContactSettings.ConsentStatus = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorNotFound // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorNotFound - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorNotFound: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct ContactProto { - // 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. - - public var contactID: String = String() - - public var type: GetMyAccountResponse.ContactProto.TypeEnum = .unset - - public var contact: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum TypeEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case maskedPhoneNumber // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .maskedPhoneNumber - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .maskedPhoneNumber: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetMyAccountResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetMyAccountResponse.Status] = [ - .unset, - .success, - .errorUnknown, - .errorNotFound, - ] -} - -extension GetMyAccountResponse.ContactProto.TypeEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetMyAccountResponse.ContactProto.TypeEnum] = [ - .unset, - .maskedPhoneNumber, - ] -} - -#endif // swift(>=4.2) - public struct GetNewQuestsOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -71284,73 +72880,6 @@ public struct GetNintendoOAuth2UrlProto { public init() {} } -public struct GetNotificationInboxOutProto { - // 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. - - public var result: GetNotificationInboxOutProto.Result = .unset - - public var inbox: ClientInbox { - get {return _inbox ?? ClientInbox()} - set {_inbox = newValue} - } - /// Returns true if `inbox` has been explicitly set. - public var hasInbox: Bool {return self._inbox != nil} - /// Clears the value of `inbox`. Subsequent reads from it will return its default value. - public mutating func clearInbox() {self._inbox = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _inbox: ClientInbox? = nil -} - -#if swift(>=4.2) - -extension GetNotificationInboxOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetNotificationInboxOutProto.Result] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - public struct GetNpcCombatRewardsOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -71451,44 +72980,71 @@ public struct GetNpcCombatRewardsProto { fileprivate var _combatQuestUpdate: CombatQuestUpdateProto? = nil } -public struct GetOutgoingBlocksOutProto { +public struct GetOutstandingWarningsRequestProto { // 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. - public var blockeeNiaAccountIds: [String] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetOutgoingBlocksProto { +public struct GetOutstandingWarningsResponseProto { // 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. + public var outstandingWarning: [GetOutstandingWarningsResponseProto.WarningInfo] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct WarningInfo { + // 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. + + public var type: PlatformWarningType = .platformWarningUnset + + public var source: Source = .defaultUnset + + public var startTimestampMs: Int64 = 0 + + public var endTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} } -public struct GetOutgoingFriendInvitesOutProto { +public struct GetPartyHistoryOutProto { // 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. - public var result: GetOutgoingFriendInvitesOutProto.Result = .unset + public var result: GetPartyHistoryOutProto.Result = .unset - public var invites: [OutgoingFriendInviteDisplayProto] = [] + public var partyHistory: PartyHistoryRpcProto { + get {return _partyHistory ?? PartyHistoryRpcProto()} + set {_partyHistory = newValue} + } + /// Returns true if `partyHistory` has been explicitly set. + public var hasPartyHistory: Bool {return self._partyHistory != nil} + /// Clears the value of `partyHistory`. Subsequent reads from it will return its default value. + public mutating func clearPartyHistory() {self._partyHistory = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorUnknown // = 2 + case errorUnknown // = 1 + case success // = 2 + case errorPartyHistoryNotFound // = 3 + case errorPlayerNotInParty // = 4 case UNRECOGNIZED(Int) public init() { @@ -71498,8 +73054,10 @@ public struct GetOutgoingFriendInvitesOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown + case 1: self = .errorUnknown + case 2: self = .success + case 3: self = .errorPartyHistoryNotFound + case 4: self = .errorPlayerNotInParty default: self = .UNRECOGNIZED(rawValue) } } @@ -71507,8 +73065,10 @@ public struct GetOutgoingFriendInvitesOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 + case .errorUnknown: return 1 + case .success: return 2 + case .errorPartyHistoryNotFound: return 3 + case .errorPlayerNotInParty: return 4 case .UNRECOGNIZED(let i): return i } } @@ -71516,61 +73076,170 @@ public struct GetOutgoingFriendInvitesOutProto { } public init() {} + + fileprivate var _partyHistory: PartyHistoryRpcProto? = nil } #if swift(>=4.2) -extension GetOutgoingFriendInvitesOutProto.Result: CaseIterable { +extension GetPartyHistoryOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetOutgoingFriendInvitesOutProto.Result] = [ + public static var allCases: [GetPartyHistoryOutProto.Result] = [ .unset, - .success, .errorUnknown, + .success, + .errorPartyHistoryNotFound, + .errorPlayerNotInParty, ] } #endif // swift(>=4.2) -public struct GetOutgoingFriendInvitesProto { +public struct GetPartyHistoryProto { // 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. + public var partyID: Int64 = 0 + + public var partySeed: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetOutstandingWarningsRequestProto { +public struct GetPartyOutProto { // 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. + public var party: PartyRpcProto { + get {return _party ?? PartyRpcProto()} + set {_party = newValue} + } + /// Returns true if `party` has been explicitly set. + public var hasParty: Bool {return self._party != nil} + /// Clears the value of `party`. Subsequent reads from it will return its default value. + public mutating func clearParty() {self._party = nil} + + public var result: GetPartyOutProto.Result = .unset + + public var playerLocations: PartyLocationsRpcProto { + get {return _playerLocations ?? PartyLocationsRpcProto()} + set {_playerLocations = newValue} + } + /// Returns true if `playerLocations` has been explicitly set. + public var hasPlayerLocations: Bool {return self._playerLocations != nil} + /// Clears the value of `playerLocations`. Subsequent reads from it will return its default value. + public mutating func clearPlayerLocations() {self._playerLocations = nil} + + public var activitySummary: PartyActivitySummaryRpcProto { + get {return _activitySummary ?? PartyActivitySummaryRpcProto()} + set {_activitySummary = newValue} + } + /// Returns true if `activitySummary` has been explicitly set. + public var hasActivitySummary: Bool {return self._activitySummary != nil} + /// Clears the value of `activitySummary`. Subsequent reads from it will return its default value. + public mutating func clearActivitySummary() {self._activitySummary = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case errorUnknown // = 1 + case success // = 2 + case errorPartyNotFound // = 3 + case errorPlayerNotInParty // = 4 + case errorFeatureDisabled // = 5 + case errorPlayerLevelTooLow // = 6 + case errorRedisException // = 7 + case errorPartyTimedOut // = 8 + case errorPlfeRedirectNeeded // = 9 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .errorUnknown + case 2: self = .success + case 3: self = .errorPartyNotFound + case 4: self = .errorPlayerNotInParty + case 5: self = .errorFeatureDisabled + case 6: self = .errorPlayerLevelTooLow + case 7: self = .errorRedisException + case 8: self = .errorPartyTimedOut + case 9: self = .errorPlfeRedirectNeeded + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .errorUnknown: return 1 + case .success: return 2 + case .errorPartyNotFound: return 3 + case .errorPlayerNotInParty: return 4 + case .errorFeatureDisabled: return 5 + case .errorPlayerLevelTooLow: return 6 + case .errorRedisException: return 7 + case .errorPartyTimedOut: return 8 + case .errorPlfeRedirectNeeded: return 9 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} + + fileprivate var _party: PartyRpcProto? = nil + fileprivate var _playerLocations: PartyLocationsRpcProto? = nil + fileprivate var _activitySummary: PartyActivitySummaryRpcProto? = nil } -public struct GetOutstandingWarningsResponseProto { +#if swift(>=4.2) + +extension GetPartyOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [GetPartyOutProto.Result] = [ + .unset, + .errorUnknown, + .success, + .errorPartyNotFound, + .errorPlayerNotInParty, + .errorFeatureDisabled, + .errorPlayerLevelTooLow, + .errorRedisException, + .errorPartyTimedOut, + .errorPlfeRedirectNeeded, + ] +} + +#endif // swift(>=4.2) + +public struct GetPartyProto { // 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. - public var outstandingWarning: [GetOutstandingWarningsResponseProto.WarningInfo] = [] + public var partyID: [Int32] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var partySeed: Int64 = 0 - public struct WarningInfo { - // 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. + public var activitySummaryRequested: Bool = false - public var type: WarningType = .platformWarningTypePlatformWarningUnset + public var playerLocationsRequested: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var partyRpcNotRequested: Bool = false - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } @@ -71672,152 +73341,6 @@ public struct GetPhotobombProto { public init() {} } -public struct GetPhotosOutProto { - // 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. - - public var result: GetPhotosOutProto.Result = .unset - - public var photos: [PhotoRecord] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetPhotosOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetPhotosOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct GetPhotosProto { - // 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. - - public var photoIds: [String] = [] - - public var photoSpecs: [GetPhotosProto.PhotoSpec] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct PhotoSpec { - // 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. - - public var photoID: String = String() - - public var mode: GetPhotosProto.PhotoSpec.GetPhotosMode = .original - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum GetPhotosMode: SwiftProtobuf.Enum { - public typealias RawValue = Int - case original // = 0 - case size64 // = 1 - case size256 // = 2 - case size1080 // = 3 - case minSize64 // = 4 - case minSize256 // = 5 - case minSize1080 // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .original - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .original - case 1: self = .size64 - case 2: self = .size256 - case 3: self = .size1080 - case 4: self = .minSize64 - case 5: self = .minSize256 - case 6: self = .minSize1080 - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .original: return 0 - case .size64: return 1 - case .size256: return 2 - case .size1080: return 3 - case .minSize64: return 4 - case .minSize256: return 5 - case .minSize1080: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public init() {} -} - -#if swift(>=4.2) - -extension GetPhotosProto.PhotoSpec.GetPhotosMode: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetPhotosProto.PhotoSpec.GetPhotosMode] = [ - .original, - .size64, - .size256, - .size1080, - .minSize64, - .minSize256, - .minSize1080, - ] -} - -#endif // swift(>=4.2) - public struct GetPlayerDayOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -71948,30 +73471,26 @@ public struct GetPlayerProto { fileprivate var _playerLocale: PlayerLocaleProto? = nil } -public struct GetPlayerSettingsOutProto { +public struct GetPokemonSizeLeaderboardEntryOutProto { // 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. - public var result: GetPlayerSettingsOutProto.Result = .unset + public var status: GetPokemonSizeLeaderboardEntryOutProto.Status = .unset - public var settings: PlayerSettingsProto { - get {return _settings ?? PlayerSettingsProto()} - set {_settings = newValue} - } - /// Returns true if `settings` has been explicitly set. - public var hasSettings: Bool {return self._settings != nil} - /// Clears the value of `settings`. Subsequent reads from it will return its default value. - public mutating func clearSettings() {self._settings = nil} + public var totalEntries: Int32 = 0 + + public var contestEntries: [ContestEntryProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 - case errorPlayerNotFound // = 3 + case error // = 2 + case invalidIndex // = 3 + case entryNotFound // = 4 case UNRECOGNIZED(Int) public init() { @@ -71982,8 +73501,9 @@ public struct GetPlayerSettingsOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerNotFound + case 2: self = .error + case 3: self = .invalidIndex + case 4: self = .entryNotFound default: self = .UNRECOGNIZED(rawValue) } } @@ -71992,8 +73512,9 @@ public struct GetPlayerSettingsOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerNotFound: return 3 + case .error: return 2 + case .invalidIndex: return 3 + case .entryNotFound: return 4 case .UNRECOGNIZED(let i): return i } } @@ -72001,145 +73522,62 @@ public struct GetPlayerSettingsOutProto { } public init() {} - - fileprivate var _settings: PlayerSettingsProto? = nil } #if swift(>=4.2) -extension GetPlayerSettingsOutProto.Result: CaseIterable { +extension GetPokemonSizeLeaderboardEntryOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetPlayerSettingsOutProto.Result] = [ + public static var allCases: [GetPokemonSizeLeaderboardEntryOutProto.Status] = [ .unset, .success, - .errorUnknown, - .errorPlayerNotFound, + .error, + .invalidIndex, + .entryNotFound, ] } #endif // swift(>=4.2) -public struct GetPlayerSettingsProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetPlayerSubmissionValidationSettingsOutProto { +public struct GetPokemonSizeLeaderboardEntryProto { // 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. - public var bannedMetadataText: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetPlayerSubmissionValidationSettingsProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetPoisInRadiusOutProto { - // 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. - - public var status: GetPoisInRadiusOutProto.Status = .unset - - public var pois: [GeodataServiceGameClientPoiProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case internalError // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } + public var contestID: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .internalError - default: self = .UNRECOGNIZED(rawValue) - } - } + public var startIndex: Int32 = 0 - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .internalError: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var endIndex: Int32 = 0 + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} - public init() {} -} - -#if swift(>=4.2) - -extension GetPoisInRadiusOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetPoisInRadiusOutProto.Status] = [ - .unset, - .success, - .internalError, - ] -} - -#endif // swift(>=4.2) - -public struct GetPoisInRadiusProto { - // 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. - - public var location: LocationE6Proto { - get {return _location ?? LocationE6Proto()} - set {_location = newValue} - } - /// Returns true if `location` has been explicitly set. - public var hasLocation: Bool {return self._location != nil} - /// Clears the value of `location`. Subsequent reads from it will return its default value. - public mutating func clearLocation() {self._location = nil} + public var isRelativeToPlayer: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _location: LocationE6Proto? = nil + fileprivate var _contestMetric: ContestMetricProto? = nil } -public struct GetPokemonSizeContestEntryOutProto { +public struct GetPokemonSizeLeaderboardFriendEntryOutProto { // 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. - public var status: GetPokemonSizeContestEntryOutProto.Status = .unset + public var status: GetPokemonSizeLeaderboardFriendEntryOutProto.Status = .unset - public var totalEntries: Int32 = 0 + public var totalFriendEntries: Int32 = 0 - public var contestEntries: [ContestEntryProto] = [] + public var contestFriendEntries: [ContestFriendEntryProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -72148,8 +73586,7 @@ public struct GetPokemonSizeContestEntryOutProto { case unset // = 0 case success // = 1 case error // = 2 - case invalidIndex // = 3 - case entryNotFound // = 4 + case accessDenied // = 3 case UNRECOGNIZED(Int) public init() { @@ -72161,8 +73598,7 @@ public struct GetPokemonSizeContestEntryOutProto { case 0: self = .unset case 1: self = .success case 2: self = .error - case 3: self = .invalidIndex - case 4: self = .entryNotFound + case 3: self = .accessDenied default: self = .UNRECOGNIZED(rawValue) } } @@ -72172,8 +73608,7 @@ public struct GetPokemonSizeContestEntryOutProto { case .unset: return 0 case .success: return 1 case .error: return 2 - case .invalidIndex: return 3 - case .entryNotFound: return 4 + case .accessDenied: return 3 case .UNRECOGNIZED(let i): return i } } @@ -72185,30 +73620,25 @@ public struct GetPokemonSizeContestEntryOutProto { #if swift(>=4.2) -extension GetPokemonSizeContestEntryOutProto.Status: CaseIterable { +extension GetPokemonSizeLeaderboardFriendEntryOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetPokemonSizeContestEntryOutProto.Status] = [ + public static var allCases: [GetPokemonSizeLeaderboardFriendEntryOutProto.Status] = [ .unset, .success, .error, - .invalidIndex, - .entryNotFound, + .accessDenied, ] } #endif // swift(>=4.2) -public struct GetPokemonSizeContestEntryProto { +public struct GetPokemonSizeLeaderboardFriendEntryProto { // 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. public var contestID: String = String() - public var obInt32: Int32 = 0 - - public var entryCount: Int32 = 0 - public var contestMetric: ContestMetricProto { get {return _contestMetric ?? ContestMetricProto()} set {_contestMetric = newValue} @@ -72218,8 +73648,6 @@ public struct GetPokemonSizeContestEntryProto { /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. public mutating func clearContestMetric() {self._contestMetric = nil} - public var obBool: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} @@ -72402,37 +73830,16 @@ public struct GetPokestopEncounterProto { public init() {} } -public struct GetProfileRequest { - // 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. - - public var playerID: String = String() - - public var niaAccountID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetProfileResponse { +public struct GetPublishedRoutesOutProto { // 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. - public var result: GetProfileResponse.Result = .unset + public var result: GetPublishedRoutesOutProto.Result = .unset - public var profileDetails: ProfileDetailsProto { - get {return _profileDetails ?? ProfileDetailsProto()} - set {_profileDetails = newValue} - } - /// Returns true if `profileDetails` has been explicitly set. - public var hasProfileDetails: Bool {return self._profileDetails != nil} - /// Clears the value of `profileDetails`. Subsequent reads from it will return its default value. - public mutating func clearProfileDetails() {self._profileDetails = nil} + public var routes: [SharedRouteProto] = [] - public var playerProfileDetails: [GetProfileResponse.PlayerProfileDetailsProto] = [] + public var unseenUpdates: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -72441,7 +73848,6 @@ public struct GetProfileResponse { case unset // = 0 case success // = 1 case errorUnknown // = 2 - case errorNotFriend // = 3 case UNRECOGNIZED(Int) public init() { @@ -72453,7 +73859,6 @@ public struct GetProfileResponse { case 0: self = .unset case 1: self = .success case 2: self = .errorUnknown - case 3: self = .errorNotFriend default: self = .UNRECOGNIZED(rawValue) } } @@ -72463,74 +73868,55 @@ public struct GetProfileResponse { case .unset: return 0 case .success: return 1 case .errorUnknown: return 2 - case .errorNotFriend: return 3 case .UNRECOGNIZED(let i): return i } } } - public struct PlayerProfileDetailsProto { - // 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. - - public var appKey: String = String() - - public var codename: String = String() - - public var faction: String = String() - - public var level: Int32 = 0 - - public var experience: Int64 = 0 - - public var signedUpTimestampMs: Int64 = 0 - - public var lastPlayedTimestampMs: Int64 = 0 - - public var playerTotalWalkKm: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} - - fileprivate var _profileDetails: ProfileDetailsProto? = nil } #if swift(>=4.2) -extension GetProfileResponse.Result: CaseIterable { +extension GetPublishedRoutesOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetProfileResponse.Result] = [ + public static var allCases: [GetPublishedRoutesOutProto.Result] = [ .unset, .success, .errorUnknown, - .errorNotFriend, ] } #endif // swift(>=4.2) -public struct GetPublishedRoutesOutProto { +public struct GetPublishedRoutesProto { // 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. - public var result: GetPublishedRoutesOutProto.Result = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var routes: [ClientRouteProto] = [] + public init() {} +} + +public struct GetQuestDetailsOutProto { + // 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. + + public var status: GetQuestDetailsOutProto.Status = .unset + + public var quests: [ClientQuestProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 + case errorQuestNotFound // = 2 + case errorInvalidDisplay // = 3 case UNRECOGNIZED(Int) public init() { @@ -72541,7 +73927,8 @@ public struct GetPublishedRoutesOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown + case 2: self = .errorQuestNotFound + case 3: self = .errorInvalidDisplay default: self = .UNRECOGNIZED(rawValue) } } @@ -72550,7 +73937,8 @@ public struct GetPublishedRoutesOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 + case .errorQuestNotFound: return 2 + case .errorInvalidDisplay: return 3 case .UNRECOGNIZED(let i): return i } } @@ -72562,35 +73950,63 @@ public struct GetPublishedRoutesOutProto { #if swift(>=4.2) -extension GetPublishedRoutesOutProto.Result: CaseIterable { +extension GetQuestDetailsOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetPublishedRoutesOutProto.Result] = [ + public static var allCases: [GetQuestDetailsOutProto.Status] = [ .unset, .success, - .errorUnknown, + .errorQuestNotFound, + .errorInvalidDisplay, ] } #endif // swift(>=4.2) -public struct GetPublishedRoutesProto { +public struct GetQuestDetailsProto { // 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. + public var questID: [String] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetQuestDetailsOutProto { +public struct GetQuestUiOutProto { // 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. - public var status: GetQuestDetailsOutProto.Status = .unset + public var status: GetQuestUiOutProto.Status = .unset - public var quests: [ClientQuestProto] = [] + public var seasonView: CustomizeQuestTabProto { + get {return _seasonView ?? CustomizeQuestTabProto()} + set {_seasonView = newValue} + } + /// Returns true if `seasonView` has been explicitly set. + public var hasSeasonView: Bool {return self._seasonView != nil} + /// Clears the value of `seasonView`. Subsequent reads from it will return its default value. + public mutating func clearSeasonView() {self._seasonView = nil} + + public var todayView: CustomizeQuestTabProto { + get {return _todayView ?? CustomizeQuestTabProto()} + set {_todayView = newValue} + } + /// Returns true if `todayView` has been explicitly set. + public var hasTodayView: Bool {return self._todayView != nil} + /// Clears the value of `todayView`. Subsequent reads from it will return its default value. + public mutating func clearTodayView() {self._todayView = nil} + + public var specialView: CustomizeQuestTabProto { + get {return _specialView ?? CustomizeQuestTabProto()} + set {_specialView = newValue} + } + /// Returns true if `specialView` has been explicitly set. + public var hasSpecialView: Bool {return self._specialView != nil} + /// Clears the value of `specialView`. Subsequent reads from it will return its default value. + public mutating func clearSpecialView() {self._specialView = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -72598,8 +74014,7 @@ public struct GetQuestDetailsOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorQuestNotFound // = 2 - case errorInvalidDisplay // = 3 + case error // = 2 case UNRECOGNIZED(Int) public init() { @@ -72610,8 +74025,7 @@ public struct GetQuestDetailsOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorQuestNotFound - case 3: self = .errorInvalidDisplay + case 2: self = .error default: self = .UNRECOGNIZED(rawValue) } } @@ -72620,8 +74034,7 @@ public struct GetQuestDetailsOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorQuestNotFound: return 2 - case .errorInvalidDisplay: return 3 + case .error: return 2 case .UNRECOGNIZED(let i): return i } } @@ -72629,40 +74042,41 @@ public struct GetQuestDetailsOutProto { } public init() {} + + fileprivate var _seasonView: CustomizeQuestTabProto? = nil + fileprivate var _todayView: CustomizeQuestTabProto? = nil + fileprivate var _specialView: CustomizeQuestTabProto? = nil } #if swift(>=4.2) -extension GetQuestDetailsOutProto.Status: CaseIterable { +extension GetQuestUiOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetQuestDetailsOutProto.Status] = [ + public static var allCases: [GetQuestUiOutProto.Status] = [ .unset, .success, - .errorQuestNotFound, - .errorInvalidDisplay, + .error, ] } #endif // swift(>=4.2) -public struct GetQuestDetailsProto { +public struct GetQuestUiProto { // 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. - public var questID: [String] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetRaidDetailsDataProto { +public struct GetRaidDetailsData { // 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. - public var obInt32: Int32 = 0 + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -72766,19 +74180,19 @@ public struct GetRaidDetailsOutProto { set {_uniqueStorage()._isWithinPlfeRange = newValue} } - public var item: Item { - get {return _storage._item} - set {_uniqueStorage()._item = newValue} + public var activeItem: Item { + get {return _storage._activeItem} + set {_uniqueStorage()._activeItem = newValue} } - public var lobbyStartMs: Int64 { - get {return _storage._lobbyStartMs} - set {_uniqueStorage()._lobbyStartMs = newValue} + public var lobbyCreationMs: Int64 { + get {return _storage._lobbyCreationMs} + set {_uniqueStorage()._lobbyCreationMs = newValue} } - public var lobbyJoinUntilMs: Int64 { - get {return _storage._lobbyJoinUntilMs} - set {_uniqueStorage()._lobbyJoinUntilMs = newValue} + public var lobbyJoinEndMs: Int64 { + get {return _storage._lobbyJoinEndMs} + set {_uniqueStorage()._lobbyJoinEndMs = newValue} } public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -72874,34 +74288,34 @@ public struct GetRaidDetailsProto { public init() {} } -public struct GetRaidDetailsResponseDataProto { +public struct GetRaidDetailsResponseData { // 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. public var result: GetRaidDetailsOutProto.Result = .unset - public var obGetRaidDetailsDataBool1: Bool = false + public var ticketUsed: Bool = false - public var obGetRaidDetailsDataBool2: Bool = false + public var freeTicketAvailable: Bool = false - public var obGetRaidDetailsDataInt321: Int32 = 0 + public var throwsRemaining: Int32 = 0 - public var obGetRaidDetailsDataBool3: Bool = false + public var receivedRewards: Bool = false - public var obGetRaidDetailsDataInt322: Int32 = 0 + public var numPlayersInLobby: Int32 = 0 - public var obGetRaidDetailsDataUint32: UInt32 = 0 + public var serverOffsetMs: UInt32 = 0 - public var obGetRaidDetailsDataInt323: Int32 = 0 + public var serverInstance: Int32 = 0 - public var obGetRaidDetailsDataBool4: Bool = false + public var remoteTicketUsed: Bool = false - public var obGetRaidDetailsDataBool5: Bool = false + public var isWithinPlfeRange: Bool = false - public var obGetRaidDetailsDataInt324: Int32 = 0 + public var rpcID: Int32 = 0 - public var obGetRaidDetailsDataUint322: UInt32 = 0 + public var roundTripTimeMs: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -72915,7 +74329,7 @@ public struct GetRaidLobbyCounterOutProto { public var result: GetRaidLobbyCounterOutProto.Result = .unset - public var raidLobbyPlayerCount: [RaidLobbyPlayerCountProto] = [] + public var counterResponses: [RaidLobbyCounterData] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -72975,7 +74389,7 @@ public struct GetRaidLobbyCounterProto { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var gym: [Gym] = [] + public var counterRequests: [RaidLobbyCounterRequest] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -73137,7 +74551,7 @@ public struct GetRemoteConfigVersionsProto { public var carrier: String = String() - public var obString: String = String() + public var userDateOfBirth: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -73239,22 +74653,24 @@ public struct GetRocketBalloonProto { public init() {} } -public struct GetRoutesOutProto { +public struct GetRouteCreationsOutProto { // 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. - public var routeMapCell: [ClientRouteMapCellProto] = [] + public var result: GetRouteCreationsOutProto.Result = .unset - public var status: GetRoutesOutProto.Status = .unset + public var routes: [RouteCreationProto] = [] + + public var unseenUpdates: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case error // = 2 + case errorUnknown // = 2 case UNRECOGNIZED(Int) public init() { @@ -73265,7 +74681,7 @@ public struct GetRoutesOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .error + case 2: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -73274,7 +74690,7 @@ public struct GetRoutesOutProto { switch self { case .unset: return 0 case .success: return 1 - case .error: return 2 + case .errorUnknown: return 2 case .UNRECOGNIZED(let i): return i } } @@ -73286,37 +74702,37 @@ public struct GetRoutesOutProto { #if swift(>=4.2) -extension GetRoutesOutProto.Status: CaseIterable { +extension GetRouteCreationsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetRoutesOutProto.Status] = [ + public static var allCases: [GetRouteCreationsOutProto.Result] = [ .unset, .success, - .error, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct GetRoutesProto { +public struct GetRouteCreationsProto { // 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. - public var cellID: [UInt64] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetServerTimeOutProto { +public struct GetRoutesOutProto { // 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. - public var status: GetServerTimeOutProto.Status = .unset + public var routeMapCell: [ClientRouteMapCellProto] = [] - public var serverTimeMs: Int64 = 0 + public var status: GetRoutesOutProto.Status = .unset + + public var routeTabs: [GetRoutesOutProto.RouteTab] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -73324,6 +74740,7 @@ public struct GetServerTimeOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 + case error // = 2 case UNRECOGNIZED(Int) public init() { @@ -73334,6 +74751,7 @@ public struct GetServerTimeOutProto { switch rawValue { case 0: self = .unset case 1: self = .success + case 2: self = .error default: self = .UNRECOGNIZED(rawValue) } } @@ -73342,55 +74760,70 @@ public struct GetServerTimeOutProto { switch self { case .unset: return 0 case .success: return 1 + case .error: return 2 case .UNRECOGNIZED(let i): return i } } } + public struct RouteTab { + // 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. + + public var titleStringID: String = String() + + public var routeIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} } #if swift(>=4.2) -extension GetServerTimeOutProto.Status: CaseIterable { +extension GetRoutesOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetServerTimeOutProto.Status] = [ + public static var allCases: [GetRoutesOutProto.Status] = [ .unset, .success, + .error, ] } #endif // swift(>=4.2) -public struct GetServerTimeProto { +public struct GetRoutesProto { // 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. + public var cellID: [UInt64] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetSignedUrlOutProto { +public struct GetServerTimeOutProto { // 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. - public var result: GetSignedUrlOutProto.Result = .unset - - public var signedURL: String = String() + public var status: GetServerTimeOutProto.Status = .unset - public var photoID: String = String() + public var serverTimeMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 case UNRECOGNIZED(Int) public init() { @@ -73401,7 +74834,6 @@ public struct GetSignedUrlOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -73410,7 +74842,6 @@ public struct GetSignedUrlOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 case .UNRECOGNIZED(let i): return i } } @@ -73422,18 +74853,17 @@ public struct GetSignedUrlOutProto { #if swift(>=4.2) -extension GetSignedUrlOutProto.Result: CaseIterable { +extension GetServerTimeOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetSignedUrlOutProto.Result] = [ + public static var allCases: [GetServerTimeOutProto.Status] = [ .unset, .success, - .errorUnknown, ] } #endif // swift(>=4.2) -public struct GetSignedUrlProto { +public struct GetServerTimeProto { // 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. @@ -73460,24 +74890,39 @@ public struct GetTimedGroupChallengeOutProto { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var status: GetTimedGroupChallengeOutProto.Status = .unset + public var status: GetTimedGroupChallengeOutProto.Status { + get {return _storage._status} + set {_uniqueStorage()._status = newValue} + } public var challengeDefinition: TimedGroupChallengeDefinitionProto { - get {return _challengeDefinition ?? TimedGroupChallengeDefinitionProto()} - set {_challengeDefinition = newValue} + get {return _storage._challengeDefinition ?? TimedGroupChallengeDefinitionProto()} + set {_uniqueStorage()._challengeDefinition = newValue} } /// Returns true if `challengeDefinition` has been explicitly set. - public var hasChallengeDefinition: Bool {return self._challengeDefinition != nil} + public var hasChallengeDefinition: Bool {return _storage._challengeDefinition != nil} /// Clears the value of `challengeDefinition`. Subsequent reads from it will return its default value. - public mutating func clearChallengeDefinition() {self._challengeDefinition = nil} + public mutating func clearChallengeDefinition() {_uniqueStorage()._challengeDefinition = nil} - public var currentScore: Int32 = 0 + public var currentScore: Int32 { + get {return _storage._currentScore} + set {_uniqueStorage()._currentScore = newValue} + } - public var playerScore: Int32 = 0 + public var playerScore: Int32 { + get {return _storage._playerScore} + set {_uniqueStorage()._playerScore = newValue} + } - public var activeCityHash: String = String() + public var activeCityHash: String { + get {return _storage._activeCityHash} + set {_uniqueStorage()._activeCityHash = newValue} + } - public var activeCityLocalizationKeyChanges: [String] = [] + public var activeCityLocalizationKeyChanges: [String] { + get {return _storage._activeCityLocalizationKeyChanges} + set {_uniqueStorage()._activeCityLocalizationKeyChanges = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -73517,7 +74962,7 @@ public struct GetTimedGroupChallengeOutProto { public init() {} - fileprivate var _challengeDefinition: TimedGroupChallengeDefinitionProto? = nil + fileprivate var _storage = _StorageClass.defaultInstance } #if swift(>=4.2) @@ -73805,8 +75250,6 @@ public struct GetUploadUrlOutProto { public var supportingImageSignedURL: String = String() - public var contextSignedUrls: Dictionary = [:] - public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { @@ -73814,9 +75257,6 @@ public struct GetUploadUrlOutProto { case unset // = 0 case failures // = 1 case success // = 2 - case missingImageContexts // = 3 - case duplicateImageContexts // = 4 - case alreadyUploaded // = 5 case UNRECOGNIZED(Int) public init() { @@ -73828,9 +75268,6 @@ public struct GetUploadUrlOutProto { case 0: self = .unset case 1: self = .failures case 2: self = .success - case 3: self = .missingImageContexts - case 4: self = .duplicateImageContexts - case 5: self = .alreadyUploaded default: self = .UNRECOGNIZED(rawValue) } } @@ -73840,9 +75277,6 @@ public struct GetUploadUrlOutProto { case .unset: return 0 case .failures: return 1 case .success: return 2 - case .missingImageContexts: return 3 - case .duplicateImageContexts: return 4 - case .alreadyUploaded: return 5 case .UNRECOGNIZED(let i): return i } } @@ -73860,9 +75294,6 @@ extension GetUploadUrlOutProto.Status: CaseIterable { .unset, .failures, .success, - .missingImageContexts, - .duplicateImageContexts, - .alreadyUploaded, ] } @@ -73877,104 +75308,11 @@ public struct GetUploadUrlProto { public var gameUniqueID: String = String() - public var submissionType: PlayerSubmissionTypeProto = .typeUnspecified - - public var submissionID: String = String() - - public var imageContexts: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct GetUserRequestProto { - // 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. - - public var niaAccountID: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GetUserResponseProto { - // 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. - - public var status: GetUserResponseProto.Status = .unset - - public var userGameData: UserGameDataProto { - get {return _userGameData ?? UserGameDataProto()} - set {_userGameData = newValue} - } - /// Returns true if `userGameData` has been explicitly set. - public var hasUserGameData: Bool {return self._userGameData != nil} - /// Clears the value of `userGameData`. Subsequent reads from it will return its default value. - public mutating func clearUserGameData() {self._userGameData = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case playerNotFound // = 3 - case disallowIapPlayer // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - case 3: self = .playerNotFound - case 4: self = .disallowIapPlayer - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .playerNotFound: return 3 - case .disallowIapPlayer: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _userGameData: UserGameDataProto? = nil -} - -#if swift(>=4.2) - -extension GetUserResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [GetUserResponseProto.Status] = [ - .unset, - .success, - .failure, - .playerNotFound, - .disallowIapPlayer, - ] -} - -#endif // swift(>=4.2) - public struct GetVpsEventOutProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -74298,6 +75636,18 @@ public struct GetWebTokenProto { public init() {} } +public struct GhostWayspotSettings { + // 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. + + public var ghostWayspotEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + public struct GiftBoxDetailsProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -74415,31 +75765,101 @@ public struct GiftBoxProto { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var giftboxID: UInt64 = 0 + public var giftboxID: UInt64 { + get {return _storage._giftboxID} + set {_uniqueStorage()._giftboxID = newValue} + } - public var senderID: String = String() + public var senderID: String { + get {return _storage._senderID} + set {_uniqueStorage()._senderID = newValue} + } - public var receiverID: String = String() + public var receiverID: String { + get {return _storage._receiverID} + set {_uniqueStorage()._receiverID = newValue} + } - public var fortID: String = String() + public var fortID: String { + get {return _storage._fortID} + set {_uniqueStorage()._fortID = newValue} + } - public var fortLat: Double = 0 + public var fortLat: Double { + get {return _storage._fortLat} + set {_uniqueStorage()._fortLat = newValue} + } - public var fortLng: Double = 0 + public var fortLng: Double { + get {return _storage._fortLng} + set {_uniqueStorage()._fortLng = newValue} + } - public var creationTimestamp: Int64 = 0 + public var creationTimestamp: Int64 { + get {return _storage._creationTimestamp} + set {_uniqueStorage()._creationTimestamp = newValue} + } - public var sentTimestamp: Int64 = 0 + public var sentTimestamp: Int64 { + get {return _storage._sentTimestamp} + set {_uniqueStorage()._sentTimestamp = newValue} + } - public var sentBucket: Int64 = 0 + public var sentBucket: Int64 { + get {return _storage._sentBucket} + set {_uniqueStorage()._sentBucket = newValue} + } - public var saturdayClaimed: Bool = false + public var saturdayClaimed: Bool { + get {return _storage._saturdayClaimed} + set {_uniqueStorage()._saturdayClaimed = newValue} + } + + public var senderNiaID: String { + get {return _storage._senderNiaID} + set {_uniqueStorage()._senderNiaID = newValue} + } + + public var senderCodename: String { + get {return _storage._senderCodename} + set {_uniqueStorage()._senderCodename = newValue} + } - public var senderNiaID: String = String() + public var receiverCodename: String { + get {return _storage._receiverCodename} + set {_uniqueStorage()._receiverCodename = newValue} + } + + public var fortName: String { + get {return _storage._fortName} + set {_uniqueStorage()._fortName = newValue} + } + + public var fortImageURL: String { + get {return _storage._fortImageURL} + set {_uniqueStorage()._fortImageURL = newValue} + } + + public var stickersSent: [String] { + get {return _storage._stickersSent} + set {_uniqueStorage()._stickersSent = newValue} + } + + public var shareTrainerInfoWithPostcard: Bool { + get {return _storage._shareTrainerInfoWithPostcard} + set {_uniqueStorage()._shareTrainerInfoWithPostcard = newValue} + } + + public var pinnedPostcardID: String { + get {return _storage._pinnedPostcardID} + set {_uniqueStorage()._pinnedPostcardID = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } public struct GiftBoxesProto { @@ -74454,6 +75874,46 @@ public struct GiftBoxesProto { public init() {} } +public struct GiftExchangeEntryProto { + // 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. + + public var giftBox: GiftBoxProto { + get {return _storage._giftBox ?? GiftBoxProto()} + set {_uniqueStorage()._giftBox = newValue} + } + /// Returns true if `giftBox` has been explicitly set. + public var hasGiftBox: Bool {return _storage._giftBox != nil} + /// Clears the value of `giftBox`. Subsequent reads from it will return its default value. + public mutating func clearGiftBox() {_uniqueStorage()._giftBox = nil} + + public var senderProfile: PlayerPublicProfileProto { + get {return _storage._senderProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._senderProfile = newValue} + } + /// Returns true if `senderProfile` has been explicitly set. + public var hasSenderProfile: Bool {return _storage._senderProfile != nil} + /// Clears the value of `senderProfile`. Subsequent reads from it will return its default value. + public mutating func clearSenderProfile() {_uniqueStorage()._senderProfile = nil} + + public var sourceRouteID: String { + get {return _storage._sourceRouteID} + set {_uniqueStorage()._sourceRouteID = newValue} + } + + public var routeName: String { + get {return _storage._routeName} + set {_uniqueStorage()._routeName = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + public struct GiftingEligibilityStatusProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -74565,9 +76025,9 @@ public struct GiftingSettingsProto { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var convertItemsToStardustWhenFullEnabled: Bool = false + public var enableGiftToStardust: Bool = false - public var stardustToRewardWhenFull: Int32 = 0 + public var stardustPerGift: Int32 = 0 public var stardustMultiplier: [GiftingSettingsProto.StardustMultiplier] = [] @@ -74578,9 +76038,9 @@ public struct GiftingSettingsProto { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var stardustBaseMultiplier: Float = 0 + public var multiplier: Float = 0 - public var stardustMultiplierProbability: Float = 0 + public var randomWeight: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -74645,39 +76105,79 @@ public struct GlobalEventTicketAttributesProto { set {_uniqueStorage()._eventVariantButtonStringKeys = newValue} } - public var isTicketEligibleForGifting: Bool { - get {return _storage._isTicketEligibleForGifting} - set {_uniqueStorage()._isTicketEligibleForGifting = newValue} + public var giftable: Bool { + get {return _storage._giftable} + set {_uniqueStorage()._giftable = newValue} } - public var ticket: Item { - get {return _storage._ticket} - set {_uniqueStorage()._ticket = newValue} + public var ticketItem: Item { + get {return _storage._ticketItem} + set {_uniqueStorage()._ticketItem = newValue} } - public var ticketToGift: Item { - get {return _storage._ticketToGift} - set {_uniqueStorage()._ticketToGift = newValue} + public var giftItem: Item { + get {return _storage._giftItem} + set {_uniqueStorage()._giftItem = newValue} } - public var obStringEvent1: String { - get {return _storage._obStringEvent1} - set {_uniqueStorage()._obStringEvent1 = newValue} + public var eventTitleStringKey: String { + get {return _storage._eventTitleStringKey} + set {_uniqueStorage()._eventTitleStringKey = newValue} } - public var ticketShopImageURL: String { - get {return _storage._ticketShopImageURL} - set {_uniqueStorage()._ticketShopImageURL = newValue} + public var eventBannerURL: String { + get {return _storage._eventBannerURL} + set {_uniqueStorage()._eventBannerURL = newValue} } - public var isTicketEligibleForDiscountedRate: Bool { - get {return _storage._isTicketEligibleForDiscountedRate} - set {_uniqueStorage()._isTicketEligibleForDiscountedRate = newValue} + public var requireOriginalTicketForGift: Bool { + get {return _storage._requireOriginalTicketForGift} + set {_uniqueStorage()._requireOriginalTicketForGift = newValue} } - public var discountedTicketPurchaseLimit: Int32 { - get {return _storage._discountedTicketPurchaseLimit} - set {_uniqueStorage()._discountedTicketPurchaseLimit = newValue} + public var giftPurchaseLimit: Int32 { + get {return _storage._giftPurchaseLimit} + set {_uniqueStorage()._giftPurchaseLimit = newValue} + } + + public var conflictStoryQuestIds: [String] { + get {return _storage._conflictStoryQuestIds} + set {_uniqueStorage()._conflictStoryQuestIds = newValue} + } + + public var displayV2Enabled: Bool { + get {return _storage._displayV2Enabled} + set {_uniqueStorage()._displayV2Enabled = newValue} + } + + public var backgroundImageURL: String { + get {return _storage._backgroundImageURL} + set {_uniqueStorage()._backgroundImageURL = newValue} + } + + public var titleImageURL: String { + get {return _storage._titleImageURL} + set {_uniqueStorage()._titleImageURL = newValue} + } + + public var eventDatetimeRangeKey: String { + get {return _storage._eventDatetimeRangeKey} + set {_uniqueStorage()._eventDatetimeRangeKey = newValue} + } + + public var textRewardsKey: String { + get {return _storage._textRewardsKey} + set {_uniqueStorage()._textRewardsKey = newValue} + } + + public var iconRewards: [QuestRewardProto] { + get {return _storage._iconRewards} + set {_uniqueStorage()._iconRewards = newValue} + } + + public var detailsLinkKey: String { + get {return _storage._detailsLinkKey} + set {_uniqueStorage()._detailsLinkKey = newValue} } public var clientEventStartTimeUtcMs: Int64 { @@ -74697,27 +76197,6 @@ public struct GlobalEventTicketAttributesProto { fileprivate var _storage = _StorageClass.defaultInstance } -public struct GlobalMetrics { - // 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. - - public var storageMetrics: StorageMetrics { - get {return _storageMetrics ?? StorageMetrics()} - set {_storageMetrics = newValue} - } - /// Returns true if `storageMetrics` has been explicitly set. - public var hasStorageMetrics: Bool {return self._storageMetrics != nil} - /// Clears the value of `storageMetrics`. Subsequent reads from it will return its default value. - public mutating func clearStorageMetrics() {self._storageMetrics = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storageMetrics: StorageMetrics? = nil -} - public struct GlobalSettingsProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -75275,14 +76754,14 @@ public struct GlobalSettingsProto { set {_uniqueStorage()._iapSettings = newValue} } - public var obNewGlobalSetting: ObNewGlobalSetting { - get {return _storage._obNewGlobalSetting ?? ObNewGlobalSetting()} - set {_uniqueStorage()._obNewGlobalSetting = newValue} + public var powerUpPokestopsGlobalSettings: PowerUpPokestopsGlobalSettingsProto { + get {return _storage._powerUpPokestopsGlobalSettings ?? PowerUpPokestopsGlobalSettingsProto()} + set {_uniqueStorage()._powerUpPokestopsGlobalSettings = newValue} } - /// Returns true if `obNewGlobalSetting` has been explicitly set. - public var hasObNewGlobalSetting: Bool {return _storage._obNewGlobalSetting != nil} - /// Clears the value of `obNewGlobalSetting`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting() {_uniqueStorage()._obNewGlobalSetting = nil} + /// Returns true if `powerUpPokestopsGlobalSettings` has been explicitly set. + public var hasPowerUpPokestopsGlobalSettings: Bool {return _storage._powerUpPokestopsGlobalSettings != nil} + /// Clears the value of `powerUpPokestopsGlobalSettings`. Subsequent reads from it will return its default value. + public mutating func clearPowerUpPokestopsGlobalSettings() {_uniqueStorage()._powerUpPokestopsGlobalSettings = nil} public var uploadManagementSettings: UploadManagementSettings { get {return _storage._uploadManagementSettings ?? UploadManagementSettings()} @@ -75293,17 +76772,17 @@ public struct GlobalSettingsProto { /// Clears the value of `uploadManagementSettings`. Subsequent reads from it will return its default value. public mutating func clearUploadManagementSettings() {_uniqueStorage()._uploadManagementSettings = nil} - public var raidLoggingSettings: RaidLoggingSettingsProto { - get {return _storage._raidLoggingSettings ?? RaidLoggingSettingsProto()} - set {_uniqueStorage()._raidLoggingSettings = newValue} + public var raidPlayerStatsSettings: RaidPlayerStatsGlobalSettingsProto { + get {return _storage._raidPlayerStatsSettings ?? RaidPlayerStatsGlobalSettingsProto()} + set {_uniqueStorage()._raidPlayerStatsSettings = newValue} } - /// Returns true if `raidLoggingSettings` has been explicitly set. - public var hasRaidLoggingSettings: Bool {return _storage._raidLoggingSettings != nil} - /// Clears the value of `raidLoggingSettings`. Subsequent reads from it will return its default value. - public mutating func clearRaidLoggingSettings() {_uniqueStorage()._raidLoggingSettings = nil} + /// Returns true if `raidPlayerStatsSettings` has been explicitly set. + public var hasRaidPlayerStatsSettings: Bool {return _storage._raidPlayerStatsSettings != nil} + /// Clears the value of `raidPlayerStatsSettings`. Subsequent reads from it will return its default value. + public mutating func clearRaidPlayerStatsSettings() {_uniqueStorage()._raidPlayerStatsSettings = nil} - public var postcardCollectionSettings: PostcardCollectionGlobalSettingsProto { - get {return _storage._postcardCollectionSettings ?? PostcardCollectionGlobalSettingsProto()} + public var postcardCollectionSettings: PostcardCollectionSettingsProto { + get {return _storage._postcardCollectionSettings ?? PostcardCollectionSettingsProto()} set {_uniqueStorage()._postcardCollectionSettings = newValue} } /// Returns true if `postcardCollectionSettings` has been explicitly set. @@ -75311,113 +76790,113 @@ public struct GlobalSettingsProto { /// Clears the value of `postcardCollectionSettings`. Subsequent reads from it will return its default value. public mutating func clearPostcardCollectionSettings() {_uniqueStorage()._postcardCollectionSettings = nil} - public var pushGatewaySettings: PushGateWaySettingsProto { - get {return _storage._pushGatewaySettings ?? PushGateWaySettingsProto()} - set {_uniqueStorage()._pushGatewaySettings = newValue} - } - /// Returns true if `pushGatewaySettings` has been explicitly set. - public var hasPushGatewaySettings: Bool {return _storage._pushGatewaySettings != nil} - /// Clears the value of `pushGatewaySettings`. Subsequent reads from it will return its default value. - public mutating func clearPushGatewaySettings() {_uniqueStorage()._pushGatewaySettings = nil} - - public var obNewGlobalSetting2: ObNewGlobalSetting2 { - get {return _storage._obNewGlobalSetting2 ?? ObNewGlobalSetting2()} - set {_uniqueStorage()._obNewGlobalSetting2 = newValue} + public var pushGatewayGlobalSettings: PushGatewayGlobalSettingsProto { + get {return _storage._pushGatewayGlobalSettings ?? PushGatewayGlobalSettingsProto()} + set {_uniqueStorage()._pushGatewayGlobalSettings = newValue} + } + /// Returns true if `pushGatewayGlobalSettings` has been explicitly set. + public var hasPushGatewayGlobalSettings: Bool {return _storage._pushGatewayGlobalSettings != nil} + /// Clears the value of `pushGatewayGlobalSettings`. Subsequent reads from it will return its default value. + public mutating func clearPushGatewayGlobalSettings() {_uniqueStorage()._pushGatewayGlobalSettings = nil} + + public var submissionCounterSettings: SubmissionCounterSettings { + get {return _storage._submissionCounterSettings ?? SubmissionCounterSettings()} + set {_uniqueStorage()._submissionCounterSettings = newValue} } - /// Returns true if `obNewGlobalSetting2` has been explicitly set. - public var hasObNewGlobalSetting2: Bool {return _storage._obNewGlobalSetting2 != nil} - /// Clears the value of `obNewGlobalSetting2`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting2() {_uniqueStorage()._obNewGlobalSetting2 = nil} + /// Returns true if `submissionCounterSettings` has been explicitly set. + public var hasSubmissionCounterSettings: Bool {return _storage._submissionCounterSettings != nil} + /// Clears the value of `submissionCounterSettings`. Subsequent reads from it will return its default value. + public mutating func clearSubmissionCounterSettings() {_uniqueStorage()._submissionCounterSettings = nil} - public var obNewGlobalSetting4: ObNewGlobalSetting4 { - get {return _storage._obNewGlobalSetting4 ?? ObNewGlobalSetting4()} - set {_uniqueStorage()._obNewGlobalSetting4 = newValue} + public var ghostWayspotSettings: GhostWayspotSettings { + get {return _storage._ghostWayspotSettings ?? GhostWayspotSettings()} + set {_uniqueStorage()._ghostWayspotSettings = newValue} } - /// Returns true if `obNewGlobalSetting4` has been explicitly set. - public var hasObNewGlobalSetting4: Bool {return _storage._obNewGlobalSetting4 != nil} - /// Clears the value of `obNewGlobalSetting4`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting4() {_uniqueStorage()._obNewGlobalSetting4 = nil} + /// Returns true if `ghostWayspotSettings` has been explicitly set. + public var hasGhostWayspotSettings: Bool {return _storage._ghostWayspotSettings != nil} + /// Clears the value of `ghostWayspotSettings`. Subsequent reads from it will return its default value. + public mutating func clearGhostWayspotSettings() {_uniqueStorage()._ghostWayspotSettings = nil} - public var obNewGlobalSetting5: ObNewGlobalSetting5 { - get {return _storage._obNewGlobalSetting5 ?? ObNewGlobalSetting5()} - set {_uniqueStorage()._obNewGlobalSetting5 = newValue} + public var iapDisclosureDisplaySettings: IapDisclosureDisplaySettingsProto { + get {return _storage._iapDisclosureDisplaySettings ?? IapDisclosureDisplaySettingsProto()} + set {_uniqueStorage()._iapDisclosureDisplaySettings = newValue} } - /// Returns true if `obNewGlobalSetting5` has been explicitly set. - public var hasObNewGlobalSetting5: Bool {return _storage._obNewGlobalSetting5 != nil} - /// Clears the value of `obNewGlobalSetting5`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting5() {_uniqueStorage()._obNewGlobalSetting5 = nil} + /// Returns true if `iapDisclosureDisplaySettings` has been explicitly set. + public var hasIapDisclosureDisplaySettings: Bool {return _storage._iapDisclosureDisplaySettings != nil} + /// Clears the value of `iapDisclosureDisplaySettings`. Subsequent reads from it will return its default value. + public mutating func clearIapDisclosureDisplaySettings() {_uniqueStorage()._iapDisclosureDisplaySettings = nil} - public var obNewGlobalSetting6: ObNewGlobalSetting6 { - get {return _storage._obNewGlobalSetting6 ?? ObNewGlobalSetting6()} - set {_uniqueStorage()._obNewGlobalSetting6 = newValue} + public var downloadAllAssetsSettings: DownloadAllAssetsSettingsProto { + get {return _storage._downloadAllAssetsSettings ?? DownloadAllAssetsSettingsProto()} + set {_uniqueStorage()._downloadAllAssetsSettings = newValue} } - /// Returns true if `obNewGlobalSetting6` has been explicitly set. - public var hasObNewGlobalSetting6: Bool {return _storage._obNewGlobalSetting6 != nil} - /// Clears the value of `obNewGlobalSetting6`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting6() {_uniqueStorage()._obNewGlobalSetting6 = nil} + /// Returns true if `downloadAllAssetsSettings` has been explicitly set. + public var hasDownloadAllAssetsSettings: Bool {return _storage._downloadAllAssetsSettings != nil} + /// Clears the value of `downloadAllAssetsSettings`. Subsequent reads from it will return its default value. + public mutating func clearDownloadAllAssetsSettings() {_uniqueStorage()._downloadAllAssetsSettings = nil} - public var obNewGlobalSetting7: ObNewGlobalSetting7 { - get {return _storage._obNewGlobalSetting7 ?? ObNewGlobalSetting7()} - set {_uniqueStorage()._obNewGlobalSetting7 = newValue} + public var ticketGiftingFeatureSettings: TicketGiftingFeatureSettingsProto { + get {return _storage._ticketGiftingFeatureSettings ?? TicketGiftingFeatureSettingsProto()} + set {_uniqueStorage()._ticketGiftingFeatureSettings = newValue} } - /// Returns true if `obNewGlobalSetting7` has been explicitly set. - public var hasObNewGlobalSetting7: Bool {return _storage._obNewGlobalSetting7 != nil} - /// Clears the value of `obNewGlobalSetting7`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting7() {_uniqueStorage()._obNewGlobalSetting7 = nil} + /// Returns true if `ticketGiftingFeatureSettings` has been explicitly set. + public var hasTicketGiftingFeatureSettings: Bool {return _storage._ticketGiftingFeatureSettings != nil} + /// Clears the value of `ticketGiftingFeatureSettings`. Subsequent reads from it will return its default value. + public mutating func clearTicketGiftingFeatureSettings() {_uniqueStorage()._ticketGiftingFeatureSettings = nil} - public var obNewGlobalSetting8: ObNewGlobalSetting8 { - get {return _storage._obNewGlobalSetting8 ?? ObNewGlobalSetting8()} - set {_uniqueStorage()._obNewGlobalSetting8 = newValue} + public var mapIconsSettings: MapIconsSettingsProto { + get {return _storage._mapIconsSettings ?? MapIconsSettingsProto()} + set {_uniqueStorage()._mapIconsSettings = newValue} } - /// Returns true if `obNewGlobalSetting8` has been explicitly set. - public var hasObNewGlobalSetting8: Bool {return _storage._obNewGlobalSetting8 != nil} - /// Clears the value of `obNewGlobalSetting8`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting8() {_uniqueStorage()._obNewGlobalSetting8 = nil} + /// Returns true if `mapIconsSettings` has been explicitly set. + public var hasMapIconsSettings: Bool {return _storage._mapIconsSettings != nil} + /// Clears the value of `mapIconsSettings`. Subsequent reads from it will return its default value. + public mutating func clearMapIconsSettings() {_uniqueStorage()._mapIconsSettings = nil} - public var obNewGlobalSetting9: ObNewGlobalSetting9 { - get {return _storage._obNewGlobalSetting9 ?? ObNewGlobalSetting9()} - set {_uniqueStorage()._obNewGlobalSetting9 = newValue} + public var settingsVersionController: SettingsVersionControllerProto { + get {return _storage._settingsVersionController ?? SettingsVersionControllerProto()} + set {_uniqueStorage()._settingsVersionController = newValue} } - /// Returns true if `obNewGlobalSetting9` has been explicitly set. - public var hasObNewGlobalSetting9: Bool {return _storage._obNewGlobalSetting9 != nil} - /// Clears the value of `obNewGlobalSetting9`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting9() {_uniqueStorage()._obNewGlobalSetting9 = nil} + /// Returns true if `settingsVersionController` has been explicitly set. + public var hasSettingsVersionController: Bool {return _storage._settingsVersionController != nil} + /// Clears the value of `settingsVersionController`. Subsequent reads from it will return its default value. + public mutating func clearSettingsVersionController() {_uniqueStorage()._settingsVersionController = nil} - public var obNewGlobalSetting10: ObNewGlobalSetting10 { - get {return _storage._obNewGlobalSetting10 ?? ObNewGlobalSetting10()} - set {_uniqueStorage()._obNewGlobalSetting10 = newValue} + public var guestAccountSettings: GuestAccountSettingsProto { + get {return _storage._guestAccountSettings ?? GuestAccountSettingsProto()} + set {_uniqueStorage()._guestAccountSettings = newValue} } - /// Returns true if `obNewGlobalSetting10` has been explicitly set. - public var hasObNewGlobalSetting10: Bool {return _storage._obNewGlobalSetting10 != nil} - /// Clears the value of `obNewGlobalSetting10`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting10() {_uniqueStorage()._obNewGlobalSetting10 = nil} + /// Returns true if `guestAccountSettings` has been explicitly set. + public var hasGuestAccountSettings: Bool {return _storage._guestAccountSettings != nil} + /// Clears the value of `guestAccountSettings`. Subsequent reads from it will return its default value. + public mutating func clearGuestAccountSettings() {_uniqueStorage()._guestAccountSettings = nil} - public var obNewGlobalSetting14: ObNewGlobalSetting14 { - get {return _storage._obNewGlobalSetting14 ?? ObNewGlobalSetting14()} - set {_uniqueStorage()._obNewGlobalSetting14 = newValue} + public var tempEvoSettings: TempEvoGlobalSettingsProto { + get {return _storage._tempEvoSettings ?? TempEvoGlobalSettingsProto()} + set {_uniqueStorage()._tempEvoSettings = newValue} } - /// Returns true if `obNewGlobalSetting14` has been explicitly set. - public var hasObNewGlobalSetting14: Bool {return _storage._obNewGlobalSetting14 != nil} - /// Clears the value of `obNewGlobalSetting14`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting14() {_uniqueStorage()._obNewGlobalSetting14 = nil} + /// Returns true if `tempEvoSettings` has been explicitly set. + public var hasTempEvoSettings: Bool {return _storage._tempEvoSettings != nil} + /// Clears the value of `tempEvoSettings`. Subsequent reads from it will return its default value. + public mutating func clearTempEvoSettings() {_uniqueStorage()._tempEvoSettings = nil} - public var obNewGlobalSetting13: ObNewGlobalSetting13 { - get {return _storage._obNewGlobalSetting13 ?? ObNewGlobalSetting13()} - set {_uniqueStorage()._obNewGlobalSetting13 = newValue} + public var saturdaySettings: SaturdaySettingsProto { + get {return _storage._saturdaySettings ?? SaturdaySettingsProto()} + set {_uniqueStorage()._saturdaySettings = newValue} } - /// Returns true if `obNewGlobalSetting13` has been explicitly set. - public var hasObNewGlobalSetting13: Bool {return _storage._obNewGlobalSetting13 != nil} - /// Clears the value of `obNewGlobalSetting13`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting13() {_uniqueStorage()._obNewGlobalSetting13 = nil} + /// Returns true if `saturdaySettings` has been explicitly set. + public var hasSaturdaySettings: Bool {return _storage._saturdaySettings != nil} + /// Clears the value of `saturdaySettings`. Subsequent reads from it will return its default value. + public mutating func clearSaturdaySettings() {_uniqueStorage()._saturdaySettings = nil} - public var obNewGlobalSetting15: ObNewGlobalSetting15 { - get {return _storage._obNewGlobalSetting15 ?? ObNewGlobalSetting15()} - set {_uniqueStorage()._obNewGlobalSetting15 = newValue} + public var partyPlaySettings: PartyPlayGlobalSettingsProto { + get {return _storage._partyPlaySettings ?? PartyPlayGlobalSettingsProto()} + set {_uniqueStorage()._partyPlaySettings = newValue} } - /// Returns true if `obNewGlobalSetting15` has been explicitly set. - public var hasObNewGlobalSetting15: Bool {return _storage._obNewGlobalSetting15 != nil} - /// Clears the value of `obNewGlobalSetting15`. Subsequent reads from it will return its default value. - public mutating func clearObNewGlobalSetting15() {_uniqueStorage()._obNewGlobalSetting15 = nil} + /// Returns true if `partyPlaySettings` has been explicitly set. + public var hasPartyPlaySettings: Bool {return _storage._partyPlaySettings != nil} + /// Clears the value of `partyPlaySettings`. Subsequent reads from it will return its default value. + public mutating func clearPartyPlaySettings() {_uniqueStorage()._partyPlaySettings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -75426,50 +76905,34 @@ public struct GlobalSettingsProto { fileprivate var _storage = _StorageClass.defaultInstance } -public struct GmmSettings { +public struct GlowFxPokemonProto { // 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. - public var layerRules: [LayerRule] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemonID: HoloPokemonId = .missingno - public init() {} -} + public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset -public struct GmtSettingsProto { - // 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. + public var form: PokemonDisplayProto.Form = .unset - public var enableGmtdownloadV2: Bool = false + public var costume: PokemonDisplayProto.Costume = .unset - public var downloadPollPeriodMs: Int32 = 0 + public var gender: PokemonDisplayProto.Gender = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GoogleMethodProto { +public struct GmtSettingsProto { // 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. - public var name: String = String() - - public var requestTypeURL: String = String() - - public var requestStreaming: Bool = false - - public var responseTypeURL: String = String() - - public var responseStreaming: Bool = false - - public var options: [Option] = [] + public var enableGmtdownloadV2: Bool = false - public var syntax: Syntax = .proto2 + public var downloadPollPeriodMs: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -75514,140 +76977,105 @@ public struct GpsSettingsProto { public init() {} } -public struct GrapeshotAuthenticationDataProto { +public struct GraphicsCapabilitiesSettingsProto { // 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. - public var authorization: String = String() - - public var date: String = String() + public var graphicsCapabilitiesTelemetryEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct GrapeshotChunkDataProto { +public struct GraphicsCapabilitiesTelemetry { // 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. - public var chunkFilePath: String = String() - - public var chunkNumber: UInt32 = 0 - - public var uploadAuthentication: GrapeshotAuthenticationDataProto { - get {return _uploadAuthentication ?? GrapeshotAuthenticationDataProto()} - set {_uploadAuthentication = newValue} - } - /// Returns true if `uploadAuthentication` has been explicitly set. - public var hasUploadAuthentication: Bool {return self._uploadAuthentication != nil} - /// Clears the value of `uploadAuthentication`. Subsequent reads from it will return its default value. - public mutating func clearUploadAuthentication() {self._uploadAuthentication = nil} - - public var deleteAuthentication: GrapeshotAuthenticationDataProto { - get {return _deleteAuthentication ?? GrapeshotAuthenticationDataProto()} - set {_deleteAuthentication = newValue} - } - /// Returns true if `deleteAuthentication` has been explicitly set. - public var hasDeleteAuthentication: Bool {return self._deleteAuthentication != nil} - /// Clears the value of `deleteAuthentication`. Subsequent reads from it will return its default value. - public mutating func clearDeleteAuthentication() {self._deleteAuthentication = nil} + public var supportsComputeShaders: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _uploadAuthentication: GrapeshotAuthenticationDataProto? = nil - fileprivate var _deleteAuthentication: GrapeshotAuthenticationDataProto? = nil } -public struct GrapeshotComposeDataProto { +public struct GroupChallengeCriteriaProto { // 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. - public var targetFilePath: String = String() + public var challengeType: QuestType = .questUnset - public var authentication: GrapeshotAuthenticationDataProto { - get {return _authentication ?? GrapeshotAuthenticationDataProto()} - set {_authentication = newValue} + public var challengeGoal: QuestGoalProto { + get {return _challengeGoal ?? QuestGoalProto()} + set {_challengeGoal = newValue} } - /// Returns true if `authentication` has been explicitly set. - public var hasAuthentication: Bool {return self._authentication != nil} - /// Clears the value of `authentication`. Subsequent reads from it will return its default value. - public mutating func clearAuthentication() {self._authentication = nil} + /// Returns true if `challengeGoal` has been explicitly set. + public var hasChallengeGoal: Bool {return self._challengeGoal != nil} + /// Clears the value of `challengeGoal`. Subsequent reads from it will return its default value. + public mutating func clearChallengeGoal() {self._challengeGoal = nil} - public var hash: String = String() + public var ignoreGlobalGoal: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _authentication: GrapeshotAuthenticationDataProto? = nil + fileprivate var _challengeGoal: QuestGoalProto? = nil } -public struct GrapeshotUploadingDataProto { +public struct GroupChallengeDisplayProto { // 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. - public var chunkData: [GrapeshotChunkDataProto] = [] + public var title: String = String() - public var composeData: GrapeshotComposeDataProto { - get {return _composeData ?? GrapeshotComposeDataProto()} - set {_composeData = newValue} - } - /// Returns true if `composeData` has been explicitly set. - public var hasComposeData: Bool {return self._composeData != nil} - /// Clears the value of `composeData`. Subsequent reads from it will return its default value. - public mutating func clearComposeData() {self._composeData = nil} + public var boostRewards: [BonusBoxProto] = [] - public var gcsBucket: String = String() + public var customChallengeTypeKey: String = String() - public var numberOfChunks: Int32 = 0 + public var customWorkTogetherKey: String = String() + + public var customBonusModalTitleKey: String = String() + + public var customBonusModalDescriptionKey: String = String() + + public var customPlayerScoreKeyNone: String = String() + + public var customPlayerScoreKeySingular: String = String() + + public var customPlayerScoreKeyPlural: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _composeData: GrapeshotComposeDataProto? = nil } -public struct GroupChallengeCriteriaProto { +public struct GuestAccountGameSettingsProto { // 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. - public var challengeType: QuestType = .questUnset + public var maxNumPokemonCaughtForPopup: Int32 = 0 - public var challengeGoal: QuestGoalProto { - get {return _challengeGoal ?? QuestGoalProto()} - set {_challengeGoal = newValue} - } - /// Returns true if `challengeGoal` has been explicitly set. - public var hasChallengeGoal: Bool {return self._challengeGoal != nil} - /// Clears the value of `challengeGoal`. Subsequent reads from it will return its default value. - public mutating func clearChallengeGoal() {self._challengeGoal = nil} + public var maxPlayerLevelGate: Int32 = 0 - public var obBool: Bool = false + public var signUpRewards: [QuestRewardProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _challengeGoal: QuestGoalProto? = nil } -public struct GroupChallengeDisplayProto { +public struct GuestAccountSettingsProto { // 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. - public var title: String = String() - - public var boostRewards: [BonusBoxProto.IconType] = [] + public var enabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -75701,17 +77129,7 @@ public struct GuiSearchSettingsProto { public var maxQueryLength: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct Gym { - // 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. - - public var gymID: String = String() + public var showAllButtonEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -76673,7 +78091,7 @@ public struct GymLevelSettingsProto { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var requiredExperience: [Int32] = [] + public var requiredExp: [Int32] = [] public var leaderSlots: [Int32] = [] @@ -76958,6 +78376,18 @@ public struct HappeningNowSectionProto { public init() {} } +public struct HapticsSettingsProto { + // 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. + + public var advancedHapticsEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + public struct HashedKeyProto { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -77273,6 +78703,14 @@ public struct HoloInventoryItemProto { set {type = .neutralAvatarItem(newValue)} } + public var appliedBonuses: AppliedBonusesProto { + get { + if case .appliedBonuses(let v)? = type {return v} + return AppliedBonusesProto() + } + set {type = .appliedBonuses(newValue)} + } + public var unknownFields = SwiftProtobuf.UnknownStorage() public enum OneOf_Type: Equatable { @@ -77309,6 +78747,7 @@ public struct HoloInventoryItemProto { case routeCreations(RouteCreationsProto) case neutralAvatar(PlayerNeutralAvatarProto) case neutralAvatarItem(NeutralAvatarItemProto) + case appliedBonuses(AppliedBonusesProto) #if !swift(>=4.1) public static func ==(lhs: HoloInventoryItemProto.OneOf_Type, rhs: HoloInventoryItemProto.OneOf_Type) -> Bool { @@ -77448,6 +78887,10 @@ public struct HoloInventoryItemProto { guard case .neutralAvatarItem(let l) = lhs, case .neutralAvatarItem(let r) = rhs else { preconditionFailure() } return l == r }() + case (.appliedBonuses, .appliedBonuses): return { + guard case .appliedBonuses(let l) = lhs, case .appliedBonuses(let r) = rhs else { preconditionFailure() } + return l == r + }() default: return false } } @@ -77744,6 +79187,14 @@ public struct HoloInventoryKeyProto { set {type = .neutralAvatarItemTemplateID(newValue)} } + public var appliedBonuses: Bool { + get { + if case .appliedBonuses(let v)? = type {return v} + return false + } + set {type = .appliedBonuses(newValue)} + } + public var unknownFields = SwiftProtobuf.UnknownStorage() public enum OneOf_Type: Equatable { @@ -77782,6 +79233,7 @@ public struct HoloInventoryKeyProto { case routeCreation(Bool) case neutralAvatar(Bool) case neutralAvatarItemTemplateID(String) + case appliedBonuses(Bool) #if !swift(>=4.1) public static func ==(lhs: HoloInventoryKeyProto.OneOf_Type, rhs: HoloInventoryKeyProto.OneOf_Type) -> Bool { @@ -77929,6 +79381,10 @@ public struct HoloInventoryKeyProto { guard case .neutralAvatarItemTemplateID(let l) = lhs, case .neutralAvatarItemTemplateID(let r) = rhs else { preconditionFailure() } return l == r }() + case (.appliedBonuses, .appliedBonuses): return { + guard case .appliedBonuses(let l) = lhs, case .appliedBonuses(let r) = rhs else { preconditionFailure() } + return l == r + }() default: return false } } @@ -78764,10 +80220,10 @@ public struct HoloholoClientTelemetryOmniProto { set {_uniqueStorage()._telemetryData = .sizeRecordBreakTelemetry(newValue)} } - public var timeToPlayableTelemetry: TimeToPlayableTelemetry { + public var timeToPlayableTelemetry: TimeToPlayable { get { if case .timeToPlayableTelemetry(let v)? = _storage._telemetryData {return v} - return TimeToPlayableTelemetry() + return TimeToPlayable() } set {_uniqueStorage()._telemetryData = .timeToPlayableTelemetry(newValue)} } @@ -78836,8 +80292,24 @@ public struct HoloholoClientTelemetryOmniProto { set {_uniqueStorage()._telemetryData = .routeErrorTelemetry(newValue)} } - public var serverData: TelemetryServerData { - get {return _storage._serverData ?? TelemetryServerData()} + public var fieldEffectTelemetry: FieldEffectTelemetry { + get { + if case .fieldEffectTelemetry(let v)? = _storage._telemetryData {return v} + return FieldEffectTelemetry() + } + set {_uniqueStorage()._telemetryData = .fieldEffectTelemetry(newValue)} + } + + public var graphicsCapabilitiesTelemetry: GraphicsCapabilitiesTelemetry { + get { + if case .graphicsCapabilitiesTelemetry(let v)? = _storage._telemetryData {return v} + return GraphicsCapabilitiesTelemetry() + } + set {_uniqueStorage()._telemetryData = .graphicsCapabilitiesTelemetry(newValue)} + } + + public var serverData: PlatformServerData { + get {return _storage._serverData ?? PlatformServerData()} set {_uniqueStorage()._serverData = newValue} } /// Returns true if `serverData` has been explicitly set. @@ -78845,8 +80317,8 @@ public struct HoloholoClientTelemetryOmniProto { /// Clears the value of `serverData`. Subsequent reads from it will return its default value. public mutating func clearServerData() {_uniqueStorage()._serverData = nil} - public var commonFilters: TelemetryCommonFilterProto { - get {return _storage._commonFilters ?? TelemetryCommonFilterProto()} + public var commonFilters: PlatformCommonFilterProto { + get {return _storage._commonFilters ?? PlatformCommonFilterProto()} set {_uniqueStorage()._commonFilters = newValue} } /// Returns true if `commonFilters` has been explicitly set. @@ -78959,7 +80431,7 @@ public struct HoloholoClientTelemetryOmniProto { case catchCardTelemetry(CatchCardTelemetry) case followerPokemonTappedTelemetry(FollowerPokemonTappedTelemetry) case sizeRecordBreakTelemetry(SizeRecordBreakTelemetry) - case timeToPlayableTelemetry(TimeToPlayableTelemetry) + case timeToPlayableTelemetry(TimeToPlayable) case languageTelemetry(LanguageTelemetry) case questListTelemetry(QuestListTelemetry) case mapRighthandIconsTelemetry(MapRighthandIconsTelemetry) @@ -78968,6 +80440,8 @@ public struct HoloholoClientTelemetryOmniProto { case routeDiscoveryTelemetry(RouteDiscoveryTelemetry) case routePlayTappableSpawnedTelemetry(RoutePlayTappableSpawnedTelemetry) case routeErrorTelemetry(RouteErrorTelemetry) + case fieldEffectTelemetry(FieldEffectTelemetry) + case graphicsCapabilitiesTelemetry(GraphicsCapabilitiesTelemetry) #if !swift(>=4.1) public static func ==(lhs: HoloholoClientTelemetryOmniProto.OneOf_TelemetryData, rhs: HoloholoClientTelemetryOmniProto.OneOf_TelemetryData) -> Bool { @@ -79419,6 +80893,14 @@ public struct HoloholoClientTelemetryOmniProto { guard case .routeErrorTelemetry(let l) = lhs, case .routeErrorTelemetry(let r) = rhs else { preconditionFailure() } return l == r }() + case (.fieldEffectTelemetry, .fieldEffectTelemetry): return { + guard case .fieldEffectTelemetry(let l) = lhs, case .fieldEffectTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.graphicsCapabilitiesTelemetry, .graphicsCapabilitiesTelemetry): return { + guard case .graphicsCapabilitiesTelemetry(let l) = lhs, case .graphicsCapabilitiesTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() default: return false } } @@ -79435,54 +80917,54 @@ public struct HomeWidgetSettingsProto { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var enabled: Bool = false + public var eggsWidgetRewardsEnabled: Bool = false - public var obHomeWidgetSettings1: HomeWidgetSettingsProto.HomeWidgetSettings_1 { - get {return _obHomeWidgetSettings1 ?? HomeWidgetSettingsProto.HomeWidgetSettings_1()} - set {_obHomeWidgetSettings1 = newValue} + public var eggsWidgetRewards: HomeWidgetSettingsProto.EggsWidgetRewards { + get {return _eggsWidgetRewards ?? HomeWidgetSettingsProto.EggsWidgetRewards()} + set {_eggsWidgetRewards = newValue} } - /// Returns true if `obHomeWidgetSettings1` has been explicitly set. - public var hasObHomeWidgetSettings1: Bool {return self._obHomeWidgetSettings1 != nil} - /// Clears the value of `obHomeWidgetSettings1`. Subsequent reads from it will return its default value. - public mutating func clearObHomeWidgetSettings1() {self._obHomeWidgetSettings1 = nil} + /// Returns true if `eggsWidgetRewards` has been explicitly set. + public var hasEggsWidgetRewards: Bool {return self._eggsWidgetRewards != nil} + /// Clears the value of `eggsWidgetRewards`. Subsequent reads from it will return its default value. + public mutating func clearEggsWidgetRewards() {self._eggsWidgetRewards = nil} - public var obBool2: Bool = false + public var buddyWidgetRewardsEnabled: Bool = false - public var obHomeWidgetSettings2: HomeWidgetSettingsProto.HomeWidgetSettings_2 { - get {return _obHomeWidgetSettings2 ?? HomeWidgetSettingsProto.HomeWidgetSettings_2()} - set {_obHomeWidgetSettings2 = newValue} + public var buddyWidgetRewards: HomeWidgetSettingsProto.BuddyWidgetRewards { + get {return _buddyWidgetRewards ?? HomeWidgetSettingsProto.BuddyWidgetRewards()} + set {_buddyWidgetRewards = newValue} } - /// Returns true if `obHomeWidgetSettings2` has been explicitly set. - public var hasObHomeWidgetSettings2: Bool {return self._obHomeWidgetSettings2 != nil} - /// Clears the value of `obHomeWidgetSettings2`. Subsequent reads from it will return its default value. - public mutating func clearObHomeWidgetSettings2() {self._obHomeWidgetSettings2 = nil} + /// Returns true if `buddyWidgetRewards` has been explicitly set. + public var hasBuddyWidgetRewards: Bool {return self._buddyWidgetRewards != nil} + /// Clears the value of `buddyWidgetRewards`. Subsequent reads from it will return its default value. + public mutating func clearBuddyWidgetRewards() {self._buddyWidgetRewards = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct HomeWidgetSettings_1 { + public struct BuddyWidgetRewards { // 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. - public var distanceMultiplier: Float = 0 - - public var obInt32: Int32 = 0 + public var affectionDistanceMultiplier: Float = 0 - public var obString: String = String() + public var bonusCandies: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } - public struct HomeWidgetSettings_2 { + public struct EggsWidgetRewards { // 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. - public var obFloat: Float = 0 + public var distanceMultiplier: Float = 0 + + public var rewardHatchCount: Int32 = 0 - public var obInt32: Int32 = 0 + public var counterAttributeKey: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -79491,8 +80973,8 @@ public struct HomeWidgetSettingsProto { public init() {} - fileprivate var _obHomeWidgetSettings1: HomeWidgetSettingsProto.HomeWidgetSettings_1? = nil - fileprivate var _obHomeWidgetSettings2: HomeWidgetSettingsProto.HomeWidgetSettings_2? = nil + fileprivate var _eggsWidgetRewards: HomeWidgetSettingsProto.EggsWidgetRewards? = nil + fileprivate var _buddyWidgetRewards: HomeWidgetSettingsProto.BuddyWidgetRewards? = nil } public struct HomeWidgetTelemetry { @@ -79500,7 +80982,7 @@ public struct HomeWidgetTelemetry { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var widgetType: WidgetsProto.WidgetType = .unset + public var widgetType: AdventureSyncProgressRequest.WidgetType = .unset public var status: HomeWidgetTelemetry.Status = .unused @@ -79555,482 +81037,237 @@ extension HomeWidgetTelemetry.Status: CaseIterable { #endif // swift(>=4.2) -public struct IapItemCategoryDisplayProto { +public struct HyperlocalExperimentClientProto { // 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. - public var category: HoloIapItemCategory = .iapCategoryNone - - public var name: String = String() - - public var hidden: Bool = false - - public var sortOrder: Int32 = 0 + public var experimentID: Int32 = 0 - public var bannerEnabled: Bool = false + public var startMs: Int64 = 0 - public var bannerTitle: String = String() + public var endMs: Int64 = 0 - public var imageURL: String = String() + public var latDegrees: Double = 0 - public var description_p: String = String() + public var lngDegrees: Double = 0 - public var displayRows: Int32 = 0 + public var eventRadiusM: Double = 0 - public var subcategory: String = String() + public var challengeBonusKey: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IapItemDisplayProto { +public struct IapAvailableSkuProto { // 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. - public var sku: String { - get {return _storage._sku} - set {_uniqueStorage()._sku = newValue} - } - - public var category: HoloIapItemCategory { - get {return _storage._category} - set {_uniqueStorage()._category = newValue} - } + public var id: String = String() - public var sortOrder: Int32 { - get {return _storage._sortOrder} - set {_uniqueStorage()._sortOrder = newValue} - } + public var isThirdPartyVendorItem: Bool = false - public var hidden: Bool { - get {return _storage._hidden} - set {_uniqueStorage()._hidden = newValue} - } + public var price: [IapCurrencyQuantityProto] = [] - public var sale: Bool { - get {return _storage._sale} - set {_uniqueStorage()._sale = newValue} - } + public var currencyGranted: [IapCurrencyQuantityProto] = [] - public var spriteID: String { - get {return _storage._spriteID} - set {_uniqueStorage()._spriteID = newValue} - } + public var gameItemContent: [IapGameItemContentProto] = [] - public var title: String { - get {return _storage._title} - set {_uniqueStorage()._title = newValue} - } + public var presentationData: [IapSkuPresentationProto] = [] - public var description_p: String { - get {return _storage._description_p} - set {_uniqueStorage()._description_p = newValue} - } - - public var skuEnableTime: String { - get {return _storage._skuEnableTime} - set {_uniqueStorage()._skuEnableTime = newValue} - } - - public var skuDisableTime: String { - get {return _storage._skuDisableTime} - set {_uniqueStorage()._skuDisableTime = newValue} - } - - public var skuEnableTimeUtcMs: Int64 { - get {return _storage._skuEnableTimeUtcMs} - set {_uniqueStorage()._skuEnableTimeUtcMs = newValue} - } + public var canBePurchased: Bool = false - public var skuDisableTimeUtcMs: Int64 { - get {return _storage._skuDisableTimeUtcMs} - set {_uniqueStorage()._skuDisableTimeUtcMs = newValue} - } + public var subscriptionID: String = String() - public var subcategories: [String] { - get {return _storage._subcategories} - set {_uniqueStorage()._subcategories = newValue} - } + public var ruleData: [IapStoreRuleDataProto] = [] - public var imageURL: String { - get {return _storage._imageURL} - set {_uniqueStorage()._imageURL = newValue} - } - - public var obInt32: Int32 { - get {return _storage._obInt32} - set {_uniqueStorage()._obInt32 = newValue} - } + public var offerID: String = String() - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } + public var hasPurchasedSubscription_p: Bool = false - public var obBool1: Bool { - get {return _storage._obBool1} - set {_uniqueStorage()._obBool1 = newValue} - } + public var subscriptionGroupID: String = String() - public var obBool2: Bool { - get {return _storage._obBool2} - set {_uniqueStorage()._obBool2 = newValue} - } + public var subscriptionLevel: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct IapSettingsProto { +public struct IapCurrencyQuantityProto { // 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. - public var dailyBonusCoins: Int32 = 0 - - public var dailyDefenderBonusPerPokemon: [Int32] = [] - - public var dailyDefenderBonusMaxDefenders: Int32 = 0 - - public var dailyDefenderBonusCurrency: [String] = [] - - public var minTimeBetweenClaimsMs: Int64 = 0 - - public var dailyBonusEnabled: Bool = false - - public var dailyDefenderBonusEnabled: Bool = false + public var currencyType: String = String() - public var obBool: Bool = false + public var quantity: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IdfaSettingsProto { +public struct IapCurrencyUpdateProto { // 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. - public var optinEnabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var currencyName: String = String() - public init() {} -} + public var currencyDelta: Int32 = 0 -public struct ImageGalleryTelemetry { - // 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. + public var currencyBalance: Int32 = 0 - public var imageGalleryTelemetryID: ImageGalleryTelemetry.ImageGalleryEventId = .unknown + public var fiatPurchasedBalance: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ImageGalleryEventId: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case enterImageGallery // = 1 - case enterImageDetailsPage // = 2 - case voteFromMainGalleryPage // = 3 - case unvoteFromMainGalleryPage // = 4 - case voteFromImageDetailsPage // = 5 - case unvoteFromImageDetailsPage // = 6 - case enterImageEditFromGallery // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .enterImageGallery - case 2: self = .enterImageDetailsPage - case 3: self = .voteFromMainGalleryPage - case 4: self = .unvoteFromMainGalleryPage - case 5: self = .voteFromImageDetailsPage - case 6: self = .unvoteFromImageDetailsPage - case 7: self = .enterImageEditFromGallery - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .enterImageGallery: return 1 - case .enterImageDetailsPage: return 2 - case .voteFromMainGalleryPage: return 3 - case .unvoteFromMainGalleryPage: return 4 - case .voteFromImageDetailsPage: return 5 - case .unvoteFromImageDetailsPage: return 6 - case .enterImageEditFromGallery: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - public init() {} } -#if swift(>=4.2) - -extension ImageGalleryTelemetry.ImageGalleryEventId: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ImageGalleryTelemetry.ImageGalleryEventId] = [ - .unknown, - .enterImageGallery, - .enterImageDetailsPage, - .voteFromMainGalleryPage, - .unvoteFromMainGalleryPage, - .voteFromImageDetailsPage, - .unvoteFromImageDetailsPage, - .enterImageEditFromGallery, - ] -} - -#endif // swift(>=4.2) - -public struct ImageLogReportData { +public struct IapDisclosureDisplaySettingsProto { // 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. - public var imageID: String = String() - - public var category: [FlagCategory.Category] = [] - - public var reporterName: [String] = [] + public var enabledCurrencyLanguagePair: [IapDisclosureDisplaySettingsProto.CurrencyLanguagePairProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct ImageModerationAttributes { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct CurrencyLanguagePairProto { + // 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. - public enum DetectionLikelihood: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case veryUnlikely // = 1 - case unlikely // = 2 - case possible // = 3 - case likely // = 4 - case veryLikely // = 5 - case UNRECOGNIZED(Int) + public var currency: String = String() - public init() { - self = .unknown - } + public var language: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .veryUnlikely - case 2: self = .unlikely - case 3: self = .possible - case 4: self = .likely - case 5: self = .veryLikely - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .veryUnlikely: return 1 - case .unlikely: return 2 - case .possible: return 3 - case .likely: return 4 - case .veryLikely: return 5 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} } public init() {} } -#if swift(>=4.2) - -extension ImageModerationAttributes.DetectionLikelihood: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ImageModerationAttributes.DetectionLikelihood] = [ - .unknown, - .veryUnlikely, - .unlikely, - .possible, - .likely, - .veryLikely, - ] -} - -#endif // swift(>=4.2) - -public struct ImageProfanityReportData { +public struct IapGameItemContentProto { // 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. - public var flagCategory: [FlagCategory.Category] = [] - - public var imageID: String = String() - - public var reporterName: [String] = [] + public var type: String = String() - public var saferTicketID: String = String() + public var quantity: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ImageTextCreativeProto { +public struct IapGetActiveSubscriptionsRequestProto { // 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. - public var name: String = String() - - public var title: String = String() - - public var description_p: String = String() - - public var previewImageURL: String = String() - - public var fullscreenImageURL: String = String() - - public var ctaLink: String = String() - - public var webArURL: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ImplicitLocationProto { +public struct IapGetActiveSubscriptionsResponseProto { // 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. - public var center: MapPointProto { - get {return _center ?? MapPointProto()} - set {_center = newValue} - } - /// Returns true if `center` has been explicitly set. - public var hasCenter: Bool {return self._center != nil} - /// Clears the value of `center`. Subsequent reads from it will return its default value. - public mutating func clearCenter() {self._center = nil} - - public var accuracyMeters: Float = 0 - - public var ageSeconds: Float = 0 + public var subscription: [IapInAppPurchaseSubscriptionInfo] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _center: MapPointProto? = nil } -public struct ImpressionTrackingSettingsProto { +public struct IapGetAvailableSkusAndBalancesOutProto { // 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. - public var obBool1: Bool = false + public var status: IapGetAvailableSkusAndBalancesOutProto.Status = .unset - public var obBool2: Bool = false + public var availableSku: [IapAvailableSkuProto] = [] - public var obBool3: Bool = false + public var balance: [IapCurrencyQuantityProto] = [] - public var obBool4: Bool = false + public var playerToken: String = String() - public var obBool5: Bool = false + public var blockedSku: [IapAvailableSkuProto] = [] - public var obBool6: Bool = false + public var processedAtMs: UInt64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct ImpressionTrackingTag { - // 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. - - public var tagID: String = String() - - public var baseURL: String = String() + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case UNRECOGNIZED(Int) - public var staticTags: Dictionary = [:] + public init() { + self = .unset + } - public var serverTags: Dictionary = [:] + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } - public var clientTags: Dictionary = [:] + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct InAppPurchaseBalanceProto { - // 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. - - public var currencyType: String = String() - - public var purchasedBalance: Int32 = 0 - - public var lastModifiedTimestampMs: Int64 = 0 - - public var fiatPurchasedBalance: Int32 = 0 - - public var fiatCurrencyCostE6PerInGameUnit: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension IapGetAvailableSkusAndBalancesOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [IapGetAvailableSkusAndBalancesOutProto.Status] = [ + .unset, + .success, + .failure, + ] } -public struct InAppPurchaseSubscriptionEntry { +#endif // swift(>=4.2) + +public struct IapGetAvailableSkusAndBalancesProto { // 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. - public var instanceID: String = String() - - public var playerID: String = String() - - public var startTime: Int64 = 0 - - public var endTime: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InAppPurchaseSubscriptionInfo { +public struct IapInAppPurchaseSubscriptionInfo { // 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. @@ -80039,13 +81276,13 @@ public struct InAppPurchaseSubscriptionInfo { public var skuID: String = String() - public var purchasePeriod: [InAppPurchaseSubscriptionInfo.PurchasePeriod] = [] + public var purchasePeriod: [IapInAppPurchaseSubscriptionInfo.PurchasePeriod] = [] public var lastNotificationTimeMs: Int64 = 0 public var lookupID: String = String() - public var tieredSubPrice: Dictionary = [:] + public var tieredSubPrice: Dictionary = [:] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -80177,8 +81414,8 @@ public struct InAppPurchaseSubscriptionInfo { public var receipt: String = String() - public var storePrice: SkuStorePrice { - get {return _storePrice ?? SkuStorePrice()} + public var storePrice: IapSkuStorePrice { + get {return _storePrice ?? IapSkuStorePrice()} set {_storePrice = newValue} } /// Returns true if `storePrice` has been explicitly set. @@ -80194,7 +81431,7 @@ public struct InAppPurchaseSubscriptionInfo { public init() {} - fileprivate var _storePrice: SkuStorePrice? = nil + fileprivate var _storePrice: IapSkuStorePrice? = nil } public init() {} @@ -80202,9 +81439,9 @@ public struct InAppPurchaseSubscriptionInfo { #if swift(>=4.2) -extension InAppPurchaseSubscriptionInfo.NativeStoreVendor: CaseIterable { +extension IapInAppPurchaseSubscriptionInfo.NativeStoreVendor: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [InAppPurchaseSubscriptionInfo.NativeStoreVendor] = [ + public static var allCases: [IapInAppPurchaseSubscriptionInfo.NativeStoreVendor] = [ .unknownStore, .google, .apple, @@ -80212,18 +81449,18 @@ extension InAppPurchaseSubscriptionInfo.NativeStoreVendor: CaseIterable { ] } -extension InAppPurchaseSubscriptionInfo.PaymentState: CaseIterable { +extension IapInAppPurchaseSubscriptionInfo.PaymentState: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [InAppPurchaseSubscriptionInfo.PaymentState] = [ + public static var allCases: [IapInAppPurchaseSubscriptionInfo.PaymentState] = [ .unknownState, .success, .billingIssue, ] } -extension InAppPurchaseSubscriptionInfo.State: CaseIterable { +extension IapInAppPurchaseSubscriptionInfo.State: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [InAppPurchaseSubscriptionInfo.State] = [ + public static var allCases: [IapInAppPurchaseSubscriptionInfo.State] = [ .unknown, .active, .cancelled, @@ -80239,111 +81476,189 @@ extension InAppPurchaseSubscriptionInfo.State: CaseIterable { #endif // swift(>=4.2) -public struct InGamePurchaseDetails { +public struct IapItemCategoryDisplayProto { // 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. - public var ingameType: String = String() + public var category: HoloIapItemCategory = .iapCategoryNone - public var ingamePrice: Int64 = 0 + public var name: String = String() - public var remainingIngameBalance: Int64 = 0 + public var hidden: Bool = false + + public var sortOrder: Int32 = 0 + + public var bannerEnabled: Bool = false + + public var bannerTitle: String = String() + + public var imageURL: String = String() + + public var description_p: String = String() + + public var displayRows: Int32 = 0 + + public var subcategory: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IncenseAttributesProto { +public struct IapItemDisplayProto { // 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. - public var incenseLifetimeSeconds: Int32 = 0 + public var sku: String { + get {return _storage._sku} + set {_uniqueStorage()._sku = newValue} + } - public var pokemonType: [HoloPokemonType] = [] + public var category: HoloIapItemCategory { + get {return _storage._category} + set {_uniqueStorage()._category = newValue} + } - public var pokemonIncenseTypeProbability: Float = 0 + public var sortOrder: Int32 { + get {return _storage._sortOrder} + set {_uniqueStorage()._sortOrder = newValue} + } - public var standingTimeBetweenEncountersSec: Int32 = 0 + public var hidden: Bool { + get {return _storage._hidden} + set {_uniqueStorage()._hidden = newValue} + } - public var movingTimeBetweenEncounterSec: Int32 = 0 + public var sale: Bool { + get {return _storage._sale} + set {_uniqueStorage()._sale = newValue} + } - public var distanceRequiredForShorterIntervalMeters: Int32 = 0 + public var spriteID: String { + get {return _storage._spriteID} + set {_uniqueStorage()._spriteID = newValue} + } - public var pokemonAttractedLengthSec: Int32 = 0 + public var title: String { + get {return _storage._title} + set {_uniqueStorage()._title = newValue} + } - public var spawnTable: [SpawnTablePokemonProto] = [] + public var description_p: String { + get {return _storage._description_p} + set {_uniqueStorage()._description_p = newValue} + } - public var spawnTableProbability: Float = 0 + public var skuEnableTime: String { + get {return _storage._skuEnableTime} + set {_uniqueStorage()._skuEnableTime = newValue} + } - public var obFloat: Float = 0 + public var skuDisableTime: String { + get {return _storage._skuDisableTime} + set {_uniqueStorage()._skuDisableTime = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var skuEnableTimeUtcMs: Int64 { + get {return _storage._skuEnableTimeUtcMs} + set {_uniqueStorage()._skuEnableTimeUtcMs = newValue} + } - public init() {} -} + public var skuDisableTimeUtcMs: Int64 { + get {return _storage._skuDisableTimeUtcMs} + set {_uniqueStorage()._skuDisableTimeUtcMs = newValue} + } -public struct IncenseEncounterOutProto { - // 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. + public var subcategories: [String] { + get {return _storage._subcategories} + set {_uniqueStorage()._subcategories = newValue} + } - public var result: IncenseEncounterOutProto.Result = .incenseEncounterUnknown + public var imageURL: String { + get {return _storage._imageURL} + set {_uniqueStorage()._imageURL = newValue} + } - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} + public var minLevel: Int32 { + get {return _storage._minLevel} + set {_uniqueStorage()._minLevel = newValue} } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} + public var maxLevel: Int32 { + get {return _storage._maxLevel} + set {_uniqueStorage()._maxLevel = newValue} } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - public var activeItem: Item = .unknown + public var showDiscountTag: Bool { + get {return _storage._showDiscountTag} + set {_uniqueStorage()._showDiscountTag = newValue} + } - public var arplusAttemptsUntilFlee: Int32 = 0 + public var showStrikethroughPrice: Bool { + get {return _storage._showStrikethroughPrice} + set {_uniqueStorage()._showStrikethroughPrice = newValue} + } + + public var totalValue: Int32 { + get {return _storage._totalValue} + set {_uniqueStorage()._totalValue = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct IapPurchaseSkuOutProto { + // 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. + + public var status: IapPurchaseSkuOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case incenseEncounterUnknown // = 0 - case incenseEncounterSuccess // = 1 - case incenseEncounterNotAvailable // = 2 - case pokemonInventoryFull // = 3 + case unset // = 0 + case success // = 1 + case failure // = 2 + case balanceTooLow // = 3 + case skuNotAvailable // = 4 + case overInventoryLimit // = 5 + case offerNotAvailable // = 6 case UNRECOGNIZED(Int) public init() { - self = .incenseEncounterUnknown + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .incenseEncounterUnknown - case 1: self = .incenseEncounterSuccess - case 2: self = .incenseEncounterNotAvailable - case 3: self = .pokemonInventoryFull + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + case 3: self = .balanceTooLow + case 4: self = .skuNotAvailable + case 5: self = .overInventoryLimit + case 6: self = .offerNotAvailable default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .incenseEncounterUnknown: return 0 - case .incenseEncounterSuccess: return 1 - case .incenseEncounterNotAvailable: return 2 - case .pokemonInventoryFull: return 3 + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .balanceTooLow: return 3 + case .skuNotAvailable: return 4 + case .overInventoryLimit: return 5 + case .offerNotAvailable: return 6 case .UNRECOGNIZED(let i): return i } } @@ -80351,220 +81666,340 @@ public struct IncenseEncounterOutProto { } public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension IncenseEncounterOutProto.Result: CaseIterable { +extension IapPurchaseSkuOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [IncenseEncounterOutProto.Result] = [ - .incenseEncounterUnknown, - .incenseEncounterSuccess, - .incenseEncounterNotAvailable, - .pokemonInventoryFull, + public static var allCases: [IapPurchaseSkuOutProto.Status] = [ + .unset, + .success, + .failure, + .balanceTooLow, + .skuNotAvailable, + .overInventoryLimit, + .offerNotAvailable, ] } #endif // swift(>=4.2) -public struct IncenseEncounterProto { +public struct IapPurchaseSkuProto { // 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. - public var encounterID: Int64 = 0 + public var skuID: String = String() - public var encounterLocation: String = String() + public var offerID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IncidentGlobalSettingsProto { +public struct IapRedeemGoogleReceiptOutProto { // 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. - public var minPlayerLevel: Int32 = 0 + public var status: IapRedeemGoogleReceiptOutProto.Status = .unset - public var minPlayerLevelForV2: Int32 = 0 + public var transactionToken: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} } -public struct IncidentLookupProto { +#if swift(>=4.2) + +extension IapRedeemGoogleReceiptOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [IapRedeemGoogleReceiptOutProto.Status] = [ + .unset, + .success, + .failure, + ] +} + +#endif // swift(>=4.2) + +public struct IapRedeemGoogleReceiptProto { // 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. - public var incidentID: String = String() + public var receipt: String = String() - public var fortID: String = String() + public var receiptSignature: String = String() - public var fortLat: Double = 0 + public var purchaseCurrency: String = String() - public var fortLng: Double = 0 + public var pricePaidE6: Int32 = 0 - public var context: EnumWrapper.InvasionContext = .pokestopIncident + public var pricePaidE6Long: Int64 = 0 + + public var countryCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IncidentPrioritySettingsProto { +public struct IapRedeemSamsungReceiptOutProto { // 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. - public var incidentPriority: [IncidentPrioritySettingsProto.IncidentPriority] = [] + public var status: IapRedeemSamsungReceiptOutProto.Status = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var purchaseID: String = String() - public struct IncidentPriority { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var priority: Int32 = 0 + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case UNRECOGNIZED(Int) - public var displayType: IncidentDisplayType = .none + public init() { + self = .unset + } - public var oneOfBadgeTypes: [HoloBadgeType] = [] + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} } public init() {} } -public struct IncidentRewardProto { +#if swift(>=4.2) + +extension IapRedeemSamsungReceiptOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [IapRedeemSamsungReceiptOutProto.Status] = [ + .unset, + .success, + .failure, + ] +} + +#endif // swift(>=4.2) + +public struct IapRedeemSamsungReceiptProto { // 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. - public var invasionSpawnGroupTemplateID: String = String() + public var purchaseData: String = String() + + public var purchaseID: String = String() + + public var purchaseCurrency: String = String() + + public var pricePaidE6Long: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IncidentTicketAttributesProto { +public struct IapSettingsProto { // 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. - public var ignoreFullInventory: Bool = false + public var dailyBonusCoins: Int32 = 0 - public var upgradeRequirementCount: Int32 = 0 + public var dailyDefenderBonusPerPokemon: [Int32] = [] - public var upgradedItem: Item = .unknown + public var dailyDefenderBonusMaxDefenders: Int32 = 0 + + public var dailyDefenderBonusCurrency: [String] = [] + + public var minTimeBetweenClaimsMs: Int64 = 0 + + public var dailyBonusEnabled: Bool = false + + public var dailyDefenderBonusEnabled: Bool = false + + public var prohibitPurchaseInTestEnvirnment: Bool = false + + public var mlBundleTimerEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IncidentVisibilitySettingsProto { +public struct IapSkuPresentationProto { // 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. - public var visibilityCharacter: [EnumWrapper.InvasionCharacter] = [] + public var key: String = String() + + public var value: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IncomingFriendInviteDisplayProto { +public struct IapSkuStorePrice { // 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. - public var invite: IncomingFriendInviteProto { - get {return _invite ?? IncomingFriendInviteProto()} - set {_invite = newValue} - } - /// Returns true if `invite` has been explicitly set. - public var hasInvite: Bool {return self._invite != nil} - /// Clears the value of `invite`. Subsequent reads from it will return its default value. - public mutating func clearInvite() {self._invite = nil} + public var currencyCode: String = String() - public var player: PlayerSummaryProto { - get {return _player ?? PlayerSummaryProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} + public var pricePaidE6: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _invite: IncomingFriendInviteProto? = nil - fileprivate var _player: PlayerSummaryProto? = nil } -public struct IncomingFriendInviteProto { +public struct IapStoreRuleDataProto { // 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. - public var status: IncomingFriendInviteProto.Status = .unset + public var ruleName: String = String() - public var playerID: String = String() + public var entry: [IapStoreRuleDataProto.RuleEntry] = [] - public var createdMs: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var invitationType: InvitationType = .unset + public struct RuleEntry { + // 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. - public var fullName: String = String() + public var key: String = String() - /// repeated SocialProto.AppKey niantic_social_graph_app_keys = 6; - public var niaAccountID: String = String() + public var value: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct IdfaSettingsProto { + // 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. + + public var optinEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public init() {} +} + +public struct ImageGalleryTelemetry { + // 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. + + public var imageGalleryTelemetryID: ImageGalleryTelemetry.ImageGalleryEventId = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ImageGalleryEventId: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case pending // = 1 - case declined // = 2 - case cancelled // = 3 + case unknown // = 0 + case enterImageGallery // = 1 + case enterImageDetailsPage // = 2 + case voteFromMainGalleryPage // = 3 + case unvoteFromMainGalleryPage // = 4 + case voteFromImageDetailsPage // = 5 + case unvoteFromImageDetailsPage // = 6 + case enterImageEditFromGallery // = 7 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .unknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .pending - case 2: self = .declined - case 3: self = .cancelled + case 0: self = .unknown + case 1: self = .enterImageGallery + case 2: self = .enterImageDetailsPage + case 3: self = .voteFromMainGalleryPage + case 4: self = .unvoteFromMainGalleryPage + case 5: self = .voteFromImageDetailsPage + case 6: self = .unvoteFromImageDetailsPage + case 7: self = .enterImageEditFromGallery default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .pending: return 1 - case .declined: return 2 - case .cancelled: return 3 + case .unknown: return 0 + case .enterImageGallery: return 1 + case .enterImageDetailsPage: return 2 + case .voteFromMainGalleryPage: return 3 + case .unvoteFromMainGalleryPage: return 4 + case .voteFromImageDetailsPage: return 5 + case .unvoteFromImageDetailsPage: return 6 + case .enterImageEditFromGallery: return 7 case .UNRECOGNIZED(let i): return i } } @@ -80576,177 +82011,207 @@ public struct IncomingFriendInviteProto { #if swift(>=4.2) -extension IncomingFriendInviteProto.Status: CaseIterable { +extension ImageGalleryTelemetry.ImageGalleryEventId: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [IncomingFriendInviteProto.Status] = [ - .unset, - .pending, - .declined, - .cancelled, + public static var allCases: [ImageGalleryTelemetry.ImageGalleryEventId] = [ + .unknown, + .enterImageGallery, + .enterImageDetailsPage, + .voteFromMainGalleryPage, + .unvoteFromMainGalleryPage, + .voteFromImageDetailsPage, + .unvoteFromImageDetailsPage, + .enterImageEditFromGallery, ] } #endif // swift(>=4.2) -public struct IncubatorFlowSettingsProto { +public struct ImageTextCreativeProto { // 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. - public var enbled: Bool = false + public var name: String = String() + + public var title: String = String() + + public var description_p: String = String() + + public var previewImageURL: String = String() + + public var fullscreenImageURL: String = String() + + public var ctaLink: String = String() - public var obBool: Bool = false + public var webArURL: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IndividualValueSettings { +public struct ImpressionTrackingSettingsProto { // 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. - public var enabled: Bool = false + public var impressionTrackingEnabled: Bool = false - public var atkFloor: Int32 = 0 + public var fullScreenAdViewTrackingEnabled: Bool = false - public var defFloor: Int32 = 0 + public var fullScreenPoiInspectionTrackingEnabled: Bool = false - public var staFloor: Int32 = 0 + public var pokestopSpinnerInteractionTrackingEnabled: Bool = false + + public var approachGymTrackingEnabled: Bool = false + + public var approachRaidTrackingEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InitializationEvent { +public struct ImpressionTrackingTag { // 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. - public var installMode: String = String() + public var tagID: String = String() + + public var baseURL: String = String() - public var localeRegion: String = String() + public var staticTags: Dictionary = [:] - public var arcoreVersion: String = String() + public var serverTags: Dictionary = [:] - public var arkitVersion: String = String() + public var clientTags: Dictionary = [:] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InputSettingsProto { +public struct InAppSurveySettingsProto { // 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. - public var enableFrameIndependentSpin: Bool = false - - public var millisecondsProcessedSpinForce: Int32 = 0 + public var featureEnabled: Bool = false - public var spinSpeedMultiplier: Float = 0 + public var surveyPollFrequencyS: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct Int32Value { +public struct InGamePurchaseDetails { // 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. - public var value: Int32 = 0 + public var ingameType: String = String() + + public var ingamePrice: Int64 = 0 + + public var remainingIngameBalance: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct Int64Value { +public struct IncenseAttributesProto { // 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. - public var value: Int64 = 0 + public var incenseLifetimeSeconds: Int32 = 0 + + public var pokemonType: [HoloPokemonType] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemonIncenseTypeProbability: Float = 0 - public init() {} -} + public var standingTimeBetweenEncountersSec: Int32 = 0 -public struct InternalAuthProto { - // 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. + public var movingTimeBetweenEncounterSec: Int32 = 0 - public var email: String = String() + public var distanceRequiredForShorterIntervalMeters: Int32 = 0 - public var playerID: String = String() + public var pokemonAttractedLengthSec: Int32 = 0 - public var appID: String = String() + public var spawnTable: [SpawnTablePokemonProto] = [] - public var key: String = String() + public var spawnTableProbability: Float = 0 + + public var regionalPokemonProbability: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InvasionAvailabilitySettingsProto { +public struct IncenseEncounterOutProto { // 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. - public var availabilityStartMinute: Int64 = 0 + public var result: IncenseEncounterOutProto.Result = .incenseEncounterUnknown - public var availabilityEndMinute: Int64 = 0 + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var arplusAttemptsUntilFlee: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum InvasionAvailabilitySettingsId: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case invasionAvailabilitySettingsUnset // = 0 - case invasionAvailabilitySettingsMonday // = 1 - case invasionAvailabilitySettingsTuesday // = 2 - case invasionAvailabilitySettingsWednesday // = 3 - case invasionAvailabilitySettingsThursday // = 4 - case invasionAvailabilitySettingsFriday // = 5 - case invasionAvailabilitySettingsSaturday // = 6 - case invasionAvailabilitySettingsSunday // = 7 + case incenseEncounterUnknown // = 0 + case incenseEncounterSuccess // = 1 + case incenseEncounterNotAvailable // = 2 + case pokemonInventoryFull // = 3 case UNRECOGNIZED(Int) public init() { - self = .invasionAvailabilitySettingsUnset + self = .incenseEncounterUnknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .invasionAvailabilitySettingsUnset - case 1: self = .invasionAvailabilitySettingsMonday - case 2: self = .invasionAvailabilitySettingsTuesday - case 3: self = .invasionAvailabilitySettingsWednesday - case 4: self = .invasionAvailabilitySettingsThursday - case 5: self = .invasionAvailabilitySettingsFriday - case 6: self = .invasionAvailabilitySettingsSaturday - case 7: self = .invasionAvailabilitySettingsSunday + case 0: self = .incenseEncounterUnknown + case 1: self = .incenseEncounterSuccess + case 2: self = .incenseEncounterNotAvailable + case 3: self = .pokemonInventoryFull default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .invasionAvailabilitySettingsUnset: return 0 - case .invasionAvailabilitySettingsMonday: return 1 - case .invasionAvailabilitySettingsTuesday: return 2 - case .invasionAvailabilitySettingsWednesday: return 3 - case .invasionAvailabilitySettingsThursday: return 4 - case .invasionAvailabilitySettingsFriday: return 5 - case .invasionAvailabilitySettingsSaturday: return 6 - case .invasionAvailabilitySettingsSunday: return 7 + case .incenseEncounterUnknown: return 0 + case .incenseEncounterSuccess: return 1 + case .incenseEncounterNotAvailable: return 2 + case .pokemonInventoryFull: return 3 case .UNRECOGNIZED(let i): return i } } @@ -80754,130 +82219,92 @@ public struct InvasionAvailabilitySettingsProto { } public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil } #if swift(>=4.2) -extension InvasionAvailabilitySettingsProto.InvasionAvailabilitySettingsId: CaseIterable { +extension IncenseEncounterOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [InvasionAvailabilitySettingsProto.InvasionAvailabilitySettingsId] = [ - .invasionAvailabilitySettingsUnset, - .invasionAvailabilitySettingsMonday, - .invasionAvailabilitySettingsTuesday, - .invasionAvailabilitySettingsWednesday, - .invasionAvailabilitySettingsThursday, - .invasionAvailabilitySettingsFriday, - .invasionAvailabilitySettingsSaturday, - .invasionAvailabilitySettingsSunday, + public static var allCases: [IncenseEncounterOutProto.Result] = [ + .incenseEncounterUnknown, + .incenseEncounterSuccess, + .incenseEncounterNotAvailable, + .pokemonInventoryFull, ] } #endif // swift(>=4.2) -public struct InvasionBattleResponseUpdateProto { +public struct IncenseEncounterProto { // 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. - public var obInt32: Int32 = 0 - - public var obUint32: UInt32 = 0 + public var encounterID: Int64 = 0 - public var status: InvasionStatus.Status = .unset + public var encounterLocation: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InvasionBattleUpdateProto { +public struct IncidentGlobalSettingsProto { // 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. - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 - - public var obBool: Bool = false - - public var updateType: UpdateInvasionBattleProto.UpdateType = .pokemonHealth + public var minPlayerLevel: Int32 = 0 - public var obUint32: UInt32 = 0 + public var minPlayerLevelForV2: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InvasionCreateDetail { +public struct IncidentLookupProto { // 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. - public var origin: EnumWrapper.InvasionCharacter = .characterUnset + public var incidentID: String = String() + + public var fortID: String = String() + + public var fortLat: Double = 0 + + public var fortLng: Double = 0 + + public var context: EnumWrapper.InvasionContext = .pokestopIncident public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InvasionEncounterOutProto { +public struct IncidentPrioritySettingsProto { // 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. - public var status: InvasionStatus.Status = .unset - - public var encounterPokemon: PokemonProto { - get {return _encounterPokemon ?? PokemonProto()} - set {_encounterPokemon = newValue} - } - /// Returns true if `encounterPokemon` has been explicitly set. - public var hasEncounterPokemon: Bool {return self._encounterPokemon != nil} - /// Clears the value of `encounterPokemon`. Subsequent reads from it will return its default value. - public mutating func clearEncounterPokemon() {self._encounterPokemon = nil} - - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} - } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - - public var activeItem: Item = .unknown - - public var throwsRemaining: Int32 = 0 - - public var encounterID: UInt64 = 0 - - public var spawnPointGuid: String = String() - - public var ballsDisplay: InvasionEncounterOutProto.PremierBallsDisplayProto { - get {return _ballsDisplay ?? InvasionEncounterOutProto.PremierBallsDisplayProto()} - set {_ballsDisplay = newValue} - } - /// Returns true if `ballsDisplay` has been explicitly set. - public var hasBallsDisplay: Bool {return self._ballsDisplay != nil} - /// Clears the value of `ballsDisplay`. Subsequent reads from it will return its default value. - public mutating func clearBallsDisplay() {self._ballsDisplay = nil} + public var incidentPriority: [IncidentPrioritySettingsProto.IncidentPriority] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct PremierBallsDisplayProto { + public struct IncidentPriority { // 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. - public var baseNumBalls: Int32 = 0 - - public var pokemonPurifiedNumBalls: Int32 = 0 + public var priority: Int32 = 0 - public var gruntsDefeatedNumBalls: Int32 = 0 + public var displayType: IncidentDisplayType = .none - public var pokemonRemainingNumBalls: Int32 = 0 + public var oneOfBadgeTypes: [HoloBadgeType] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -80885,170 +82312,213 @@ public struct InvasionEncounterOutProto { } public init() {} - - fileprivate var _encounterPokemon: PokemonProto? = nil - fileprivate var _captureProbability: CaptureProbabilityProto? = nil - fileprivate var _ballsDisplay: InvasionEncounterOutProto.PremierBallsDisplayProto? = nil } -public struct InvasionEncounterProto { +public struct IncidentRewardProto { // 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. - public var incidentLookup: IncidentLookupProto { - get {return _incidentLookup ?? IncidentLookupProto()} - set {_incidentLookup = newValue} - } - /// Returns true if `incidentLookup` has been explicitly set. - public var hasIncidentLookup: Bool {return self._incidentLookup != nil} - /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. - public mutating func clearIncidentLookup() {self._incidentLookup = nil} - - public var step: Int32 = 0 + public var invasionSpawnGroupTemplateID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _incidentLookup: IncidentLookupProto? = nil } -public struct InvasionFinishedDisplayProto { +public struct IncidentTicketAttributesProto { // 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. - public var style: EnumWrapper.PokestopStyle = .pokestopNormal + public var ignoreFullInventory: Bool = false + + public var upgradeRequirementCount: Int32 = 0 + + public var upgradedItem: Item = .unknown public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InvasionNpcDisplaySettingsProto { +public struct IncidentVisibilitySettingsProto { // 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. - public var trainerName: String = String() + public var hideIncidentForCharacter: [EnumWrapper.InvasionCharacter] = [] - public var avatar: PlayerAvatarProto { - get {return _avatar ?? PlayerAvatarProto()} - set {_avatar = newValue} - } - /// Returns true if `avatar` has been explicitly set. - public var hasAvatar: Bool {return self._avatar != nil} - /// Clears the value of `avatar`. Subsequent reads from it will return its default value. - public mutating func clearAvatar() {self._avatar = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var trainerTitle: String = String() + public init() {} +} - public var trainerQuote: String = String() +public struct IncubatorFlowSettingsProto { + // 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. - public var iconURL: String = String() + public var mainMapIconEnabled: Bool = false - public var backdropImageBundle: String = String() + public var pokemonPageIconEnabled: Bool = false - public var modelName: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var tutorialOnLossString: String = String() + public init() {} +} - public var isMale: Bool = false +public struct IndividualValueSettings { + // 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. + + public var enabled: Bool = false - public var partySelectionMusic: String = String() + public var atkFloor: Int32 = 0 + + public var defFloor: Int32 = 0 - public var combatMusic: String = String() + public var staFloor: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _avatar: PlayerAvatarProto? = nil } -public struct InvasionOpenCombatSessionDataProto { +public struct InitializationEvent { // 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. - public var obInt321: Int32 = 0 + public var installMode: String = String() + + public var processor: String = String() - public var type: CombatType = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct InputSettingsProto { + // 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. - public var obListInt32: [Int32] = [] + public var enableFrameIndependentSpin: Bool = false - public var obUint32: UInt32 = 0 + public var millisecondsProcessedSpinForce: Int32 = 0 - public var obInt322: Int32 = 0 + public var spinSpeedMultiplier: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InvasionOpenCombatSessionResponseDataProto { +public struct InstallTime { // 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. - public var obInt32: Int32 { - get {return _storage._obInt32} - set {_uniqueStorage()._obInt32 = newValue} - } + public var duration: Double = 0 - public var obUint32: UInt32 { - get {return _storage._obUint32} - set {_uniqueStorage()._obUint32 = newValue} - } + public var installPhase: InstallTime.InstallPhase = .undefined - public var result: InvasionStatus.Status { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obCommunWebCombatState: ObCommunWebCombatStateProto { - get {return _storage._obCommunWebCombatState ?? ObCommunWebCombatStateProto()} - set {_uniqueStorage()._obCommunWebCombatState = newValue} - } - /// Returns true if `obCommunWebCombatState` has been explicitly set. - public var hasObCommunWebCombatState: Bool {return _storage._obCommunWebCombatState != nil} - /// Clears the value of `obCommunWebCombatState`. Subsequent reads from it will return its default value. - public mutating func clearObCommunWebCombatState() {_uniqueStorage()._obCommunWebCombatState = nil} + public enum InstallPhase: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case bootUtil // = 1 + case bootMetrics // = 2 + case bootNetwork // = 3 + case bootStorage // = 4 + case bootLocation // = 5 + case bootAuth // = 6 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .undefined + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .bootUtil + case 2: self = .bootMetrics + case 3: self = .bootNetwork + case 4: self = .bootStorage + case 5: self = .bootLocation + case 6: self = .bootAuth + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .bootUtil: return 1 + case .bootMetrics: return 2 + case .bootNetwork: return 3 + case .bootStorage: return 4 + case .bootLocation: return 5 + case .bootAuth: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } public init() {} +} - fileprivate var _storage = _StorageClass.defaultInstance +#if swift(>=4.2) + +extension InstallTime.InstallPhase: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InstallTime.InstallPhase] = [ + .undefined, + .bootUtil, + .bootMetrics, + .bootNetwork, + .bootStorage, + .bootLocation, + .bootAuth, + ] } -public struct InvasionStatus { +#endif // swift(>=4.2) + +public struct InternalAcceptFriendInviteOutProto { // 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. - public var status: InvasionStatus.Status = .unset + public var result: InternalAcceptFriendInviteOutProto.Result = .unset + + public var friend: InternalPlayerSummaryProto { + get {return _friend ?? InternalPlayerSummaryProto()} + set {_friend = newValue} + } + /// Returns true if `friend` has been explicitly set. + public var hasFriend: Bool {return self._friend != nil} + /// Clears the value of `friend`. Subsequent reads from it will return its default value. + public mutating func clearFriend() {self._friend = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case error // = 2 - case errorFortNotFound // = 3 - case errorIncidentNotFound // = 4 - case errorStepAlreadyCompleted // = 5 - case errorWrongStep // = 6 - case errorPlayerBelowMinLevel // = 7 - case errorIncidentExpired // = 8 - case errorMissingIncidentTicket // = 9 - case errorEncounterPokemonInventoryFull // = 10 - case errorPlayerBelowV2MinLevel // = 11 - case errorRetry // = 12 - case errorInvalidHealthUpdates // = 20 - case errorAttackingPokemonInvalid // = 30 + case errorUnknown // = 2 + case errorInviteDoesNotExist // = 3 + case errorMaxFriendsLimitReachedDeleted // = 4 + case errorInviteHasBeenCancelled // = 5 + case errorSenderHasMaxFriends // = 6 + case errorReceiverHasMaxFriends // = 7 + case errorSenderIsBlocked // = 8 case UNRECOGNIZED(Int) public init() { @@ -81059,19 +82529,13 @@ public struct InvasionStatus { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .error - case 3: self = .errorFortNotFound - case 4: self = .errorIncidentNotFound - case 5: self = .errorStepAlreadyCompleted - case 6: self = .errorWrongStep - case 7: self = .errorPlayerBelowMinLevel - case 8: self = .errorIncidentExpired - case 9: self = .errorMissingIncidentTicket - case 10: self = .errorEncounterPokemonInventoryFull - case 11: self = .errorPlayerBelowV2MinLevel - case 12: self = .errorRetry - case 20: self = .errorInvalidHealthUpdates - case 30: self = .errorAttackingPokemonInvalid + case 2: self = .errorUnknown + case 3: self = .errorInviteDoesNotExist + case 4: self = .errorMaxFriendsLimitReachedDeleted + case 5: self = .errorInviteHasBeenCancelled + case 6: self = .errorSenderHasMaxFriends + case 7: self = .errorReceiverHasMaxFriends + case 8: self = .errorSenderIsBlocked default: self = .UNRECOGNIZED(rawValue) } } @@ -81080,19 +82544,13 @@ public struct InvasionStatus { switch self { case .unset: return 0 case .success: return 1 - case .error: return 2 - case .errorFortNotFound: return 3 - case .errorIncidentNotFound: return 4 - case .errorStepAlreadyCompleted: return 5 - case .errorWrongStep: return 6 - case .errorPlayerBelowMinLevel: return 7 - case .errorIncidentExpired: return 8 - case .errorMissingIncidentTicket: return 9 - case .errorEncounterPokemonInventoryFull: return 10 - case .errorPlayerBelowV2MinLevel: return 11 - case .errorRetry: return 12 - case .errorInvalidHealthUpdates: return 20 - case .errorAttackingPokemonInvalid: return 30 + case .errorUnknown: return 2 + case .errorInviteDoesNotExist: return 3 + case .errorMaxFriendsLimitReachedDeleted: return 4 + case .errorInviteHasBeenCancelled: return 5 + case .errorSenderHasMaxFriends: return 6 + case .errorReceiverHasMaxFriends: return 7 + case .errorSenderIsBlocked: return 8 case .UNRECOGNIZED(let i): return i } } @@ -81100,415 +82558,558 @@ public struct InvasionStatus { } public init() {} + + fileprivate var _friend: InternalPlayerSummaryProto? = nil } #if swift(>=4.2) -extension InvasionStatus.Status: CaseIterable { +extension InternalAcceptFriendInviteOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [InvasionStatus.Status] = [ + public static var allCases: [InternalAcceptFriendInviteOutProto.Result] = [ .unset, .success, - .error, - .errorFortNotFound, - .errorIncidentNotFound, - .errorStepAlreadyCompleted, - .errorWrongStep, - .errorPlayerBelowMinLevel, - .errorIncidentExpired, - .errorMissingIncidentTicket, - .errorEncounterPokemonInventoryFull, - .errorPlayerBelowV2MinLevel, - .errorRetry, - .errorInvalidHealthUpdates, - .errorAttackingPokemonInvalid, + .errorUnknown, + .errorInviteDoesNotExist, + .errorMaxFriendsLimitReachedDeleted, + .errorInviteHasBeenCancelled, + .errorSenderHasMaxFriends, + .errorReceiverHasMaxFriends, + .errorSenderIsBlocked, ] } #endif // swift(>=4.2) -public struct InvasionTelemetry { +public struct InternalAcceptFriendInviteProto { // 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. - public var invasionTelemetryID: InvasionTelemetryIds = .undefinedInvasionEvent + public var playerID: String = String() - public var npcID: EnumWrapper.InvasionCharacter = .characterUnset + public var niaAccountID: String = String() - public var battleSuccess: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var postBattleFriendlyRemaining: Int32 = 0 + public init() {} +} - public var postBattleEnemyRemaining: Int32 = 0 +public struct InternalAccountContactSettings { + // 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. - public var encounterPokemon: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var encounterSuccess: Bool = false + public enum ConsentStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case optIn // = 1 + case optOut // = 2 + case UNRECOGNIZED(Int) - public var invasionID: String = String() + public init() { + self = .unknown + } - public var playerTappedNpc: Bool = false + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .optIn + case 2: self = .optOut + default: self = .UNRECOGNIZED(rawValue) + } + } - public var radar: String = String() + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .optIn: return 1 + case .optOut: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var curfew: Bool = false + } - public var duration: Float = 0 + public init() {} +} - public var distance: Float = 0 +#if swift(>=4.2) - public var invasionContext: EnumWrapper.InvasionContext = .pokestopIncident +extension InternalAccountContactSettings.ConsentStatus: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalAccountContactSettings.ConsentStatus] = [ + .unknown, + .optIn, + .optOut, + ] +} - public var balloonType: RocketBalloonDisplayProto.BalloonType = .rocket +#endif // swift(>=4.2) + +public struct InternalAccountSettingsProto { + // 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. + + public var optOutSocialGraphImport: Bool = false + + public var onlineStatusConsent: InternalSocialSettings.ConsentStatus = .unknown + + public var lastPlayedDateConsent: InternalSocialSettings.ConsentStatus = .unknown + + public var codenameConsent: InternalSocialSettings.ConsentStatus = .unknown + + public var contactListConsent: InternalSocialSettings.ConsentStatus = .unknown + + public var fullName: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InvasionVictoryLogEntry { +public struct InternalAddLoginActionOutProto { // 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. - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} + public var success: Bool = false - public var invasionNpc: EnumWrapper.InvasionCharacter = .characterUnset + public var loginDetail: [InternalLoginDetail] = [] + + public var status: InternalAddLoginActionOutProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case authFailure // = 1 + case loginTaken // = 2 + case errorUnknown // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .authFailure + case 2: self = .loginTaken + case 3: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .authFailure: return 1 + case .loginTaken: return 2 + case .errorUnknown: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} +} - fileprivate var _rewards: LootProto? = nil +#if swift(>=4.2) + +extension InternalAddLoginActionOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalAddLoginActionOutProto.Status] = [ + .unset, + .authFailure, + .loginTaken, + .errorUnknown, + ] } -public struct InventoryDeltaProto { +#endif // swift(>=4.2) + +public struct InternalAddLoginActionProto { // 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. - public var originalTimestamp: Int64 = 0 + public var identityProvider: AuthIdentityProvider = .unsetIdentityProvider - public var newTimestamp: Int64 = 0 + public var innerMessage: Data = Data() - public var inventoryItem: [InventoryItemProto] = [] + public var authProviderID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InventoryItemProto { +public struct InternalAdventureSyncSettingsProto { // 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. - public var inventoryItem: InventoryItemProto.OneOf_InventoryItem? = nil + public var fitnessServiceEnabled: Bool = false - public var deletedItemKey: HoloInventoryKeyProto { - get { - if case .deletedItemKey(let v)? = inventoryItem {return v} - return HoloInventoryKeyProto() - } - set {inventoryItem = .deletedItemKey(newValue)} - } + public var awarenessServiceEnabled: Bool = false - public var inventoryItemData: HoloInventoryItemProto { - get { - if case .inventoryItemData(let v)? = inventoryItem {return v} - return HoloInventoryItemProto() - } - set {inventoryItem = .inventoryItemData(newValue)} - } + public var persistentBreadcrumbServiceEnabled: Bool = false - public var modifiedTimestamp: Int64 = 0 + public var sensorServiceEnabled: Bool = false + + public var persistentLocationServiceEnabled: Bool = false + + public var breadcrumbServiceEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_InventoryItem: Equatable { - case deletedItemKey(HoloInventoryKeyProto) - case inventoryItemData(HoloInventoryItemProto) + public init() {} +} - #if !swift(>=4.1) - public static func ==(lhs: InventoryItemProto.OneOf_InventoryItem, rhs: InventoryItemProto.OneOf_InventoryItem) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.deletedItemKey, .deletedItemKey): return { - guard case .deletedItemKey(let l) = lhs, case .deletedItemKey(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.inventoryItemData, .inventoryItemData): return { - guard case .inventoryItemData(let l) = lhs, case .inventoryItemData(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } +public struct InternalApnToken { + // 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. + + public var registrationID: String = String() + + public var bundleIdentifier: String = String() + + public var payloadByteSize: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InventoryProto { +public struct InternalAuthProto { // 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. - public var inventoryItem: [InventoryItemProto] = [] + public var email: String = String() - public var diffInventory: InventoryProto.DiffInventoryProto { - get {return _diffInventory ?? InventoryProto.DiffInventoryProto()} - set {_diffInventory = newValue} - } - /// Returns true if `diffInventory` has been explicitly set. - public var hasDiffInventory: Bool {return self._diffInventory != nil} - /// Clears the value of `diffInventory`. Subsequent reads from it will return its default value. - public mutating func clearDiffInventory() {self._diffInventory = nil} + public var playerID: String = String() - public var inventoryType: InventoryProto.InventoryType = .binaryBlob + public var appID: String = String() + + public var key: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum InventoryType: SwiftProtobuf.Enum { + public init() {} +} + +public struct InternalBreadcrumbRecordProto { + // 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. + + public var timestampMs: Int64 = 0 + + public var latitudeDeg: Double = 0 + + public var longitudeDeg: Double = 0 + + public var appIsForegrounded: Bool = false + + public var altitudeM: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct InternalCancelFriendInviteOutProto { + // 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. + + public var result: InternalCancelFriendInviteOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case binaryBlob // = 0 - case diff // = 1 - case composite // = 2 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorInviteDoesNotExist // = 3 + case errorAlreadyCancelled // = 4 case UNRECOGNIZED(Int) public init() { - self = .binaryBlob + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .binaryBlob - case 1: self = .diff - case 2: self = .composite + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorInviteDoesNotExist + case 4: self = .errorAlreadyCancelled default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .binaryBlob: return 0 - case .diff: return 1 - case .composite: return 2 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorInviteDoesNotExist: return 3 + case .errorAlreadyCancelled: return 4 case .UNRECOGNIZED(let i): return i } } } - public struct DiffInventoryProto { - // 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. - - public var itemChangelog: [InventoryItemProto] = [] - - public var diffInventoryEntityLastCompactionMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} - - fileprivate var _diffInventory: InventoryProto.DiffInventoryProto? = nil } #if swift(>=4.2) -extension InventoryProto.InventoryType: CaseIterable { +extension InternalCancelFriendInviteOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [InventoryProto.InventoryType] = [ - .binaryBlob, - .diff, - .composite, + public static var allCases: [InternalCancelFriendInviteOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorInviteDoesNotExist, + .errorAlreadyCancelled, ] } #endif // swift(>=4.2) -public struct InventorySettingsProto { +public struct InternalCancelFriendInviteProto { // 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. - public var maxPokemon: Int32 { - get {return _storage._maxPokemon} - set {_uniqueStorage()._maxPokemon = newValue} - } + public var playerID: String = String() - public var maxBagItems: Int32 { - get {return _storage._maxBagItems} - set {_uniqueStorage()._maxBagItems = newValue} - } + public var niaAccountID: String = String() - public var basePokemon: Int32 { - get {return _storage._basePokemon} - set {_uniqueStorage()._basePokemon = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var baseBagItems: Int32 { - get {return _storage._baseBagItems} - set {_uniqueStorage()._baseBagItems = newValue} - } + public init() {} +} - public var baseEggs: Int32 { - get {return _storage._baseEggs} - set {_uniqueStorage()._baseEggs = newValue} - } +public struct InternalClientInbox { + // 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. - public var maxTeamChanges: Int32 { - get {return _storage._maxTeamChanges} - set {_uniqueStorage()._maxTeamChanges = newValue} - } + public var notifications: [InternalClientInbox.Notification] = [] - public var teamChangeItemResetPeriodInDays: Int64 { - get {return _storage._teamChangeItemResetPeriodInDays} - set {_uniqueStorage()._teamChangeItemResetPeriodInDays = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var maxItemBoostDurationMs: Int64 { - get {return _storage._maxItemBoostDurationMs} - set {_uniqueStorage()._maxItemBoostDurationMs = newValue} - } + public enum Label: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetLabel // = 0 + case unread // = 1 + case new // = 2 + case immediate // = 3 + case UNRECOGNIZED(Int) - public var defaultStickerMaxCount: Int32 { - get {return _storage._defaultStickerMaxCount} - set {_uniqueStorage()._defaultStickerMaxCount = newValue} - } + public init() { + self = .unsetLabel + } - public var enableEggsNotInventory: Bool { - get {return _storage._enableEggsNotInventory} - set {_uniqueStorage()._enableEggsNotInventory = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetLabel + case 1: self = .unread + case 2: self = .new + case 3: self = .immediate + default: self = .UNRECOGNIZED(rawValue) + } + } - public var specialEggOverflowSpots: Int32 { - get {return _storage._specialEggOverflowSpots} - set {_uniqueStorage()._specialEggOverflowSpots = newValue} - } + public var rawValue: Int { + switch self { + case .unsetLabel: return 0 + case .unread: return 1 + case .new: return 2 + case .immediate: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var enableOverflowSpotSliding: Bool { - get {return _storage._enableOverflowSpotSliding} - set {_uniqueStorage()._enableOverflowSpotSliding = newValue} } - public var enableRaidPassOverflow: Bool { - get {return _storage._enableRaidPassOverflow} - set {_uniqueStorage()._enableRaidPassOverflow = newValue} - } + public struct Notification { + // 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. - public var basePostcardStorage: Int32 { - get {return _storage._basePostcardStorage} - set {_uniqueStorage()._basePostcardStorage = newValue} - } + public var notificationID: String = String() - public var maxPostcardStorage: Int32 { - get {return _storage._maxPostcardStorage} - set {_uniqueStorage()._maxPostcardStorage = newValue} - } + public var titleKey: String = String() - public var evolutionStoneAMaxCount: Int32 { - get {return _storage._evolutionStoneAMaxCount} - set {_uniqueStorage()._evolutionStoneAMaxCount = newValue} - } + public var category: String = String() - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } + public var createTimestampMs: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var variables: [InternalTemplateVariable] = [] + + public var labels: [InternalClientInbox.Label] = [] + + public var expireTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } public init() {} +} - fileprivate var _storage = _StorageClass.defaultInstance +#if swift(>=4.2) + +extension InternalClientInbox.Label: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalClientInbox.Label] = [ + .unsetLabel, + .unread, + .new, + .immediate, + ] } -public struct InventoryUpgradeAttributesProto { +#endif // swift(>=4.2) + +public struct InternalCreateGuestLoginSecretTokenRequestProto { // 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. - public var additionalStorage: Int32 = 0 + public var apiKey: String = String() - public var upgradeType: InventoryUpgradeType = .upgradeUnset + public var deviceID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InventoryUpgradeProto { +public struct InternalCreateGuestLoginSecretTokenResponseProto { // 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. - public var item: Item = .unknown - - public var upgradeType: InventoryUpgradeType = .upgradeUnset + public var status: InternalCreateGuestLoginSecretTokenResponseProto.Status = .unset - public var additionalStorage: Int32 = 0 + public var secret: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case unknownError // = 2 + case unauthorized // = 3 + case disabled // = 4 + case exceededRateLimit // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .unknownError + case 3: self = .unauthorized + case 4: self = .disabled + case 5: self = .exceededRateLimit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .unknownError: return 2 + case .unauthorized: return 3 + case .disabled: return 4 + case .exceededRateLimit: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} } -public struct InventoryUpgradesProto { +#if swift(>=4.2) + +extension InternalCreateGuestLoginSecretTokenResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalCreateGuestLoginSecretTokenResponseProto.Status] = [ + .unset, + .success, + .unknownError, + .unauthorized, + .disabled, + .exceededRateLimit, + ] +} + +#endif // swift(>=4.2) + +public struct InternalCreateSharedLoginTokenRequest { // 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. - public var inventoryUpgrade: [InventoryUpgradeProto] = [] + public var deviceID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InviteFacebookFriendOutProto { +public struct InternalCreateSharedLoginTokenResponse { // 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. - public var result: InviteFacebookFriendOutProto.Result = .unset + public var status: InternalCreateSharedLoginTokenResponse.Status = .unset + + public var sharedLoginToken: Data = Data() + + public var tokenMetaData: InternalCreateSharedLoginTokenResponse.TokenMetaData { + get {return _tokenMetaData ?? InternalCreateSharedLoginTokenResponse.TokenMetaData()} + set {_tokenMetaData = newValue} + } + /// Returns true if `tokenMetaData` has been explicitly set. + public var hasTokenMetaData: Bool {return self._tokenMetaData != nil} + /// Clears the value of `tokenMetaData`. Subsequent reads from it will return its default value. + public mutating func clearTokenMetaData() {self._tokenMetaData = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 case errorUnknown // = 2 - case errorPlayerNotFound // = 3 - case errorPlayerOutboxFull // = 4 - case errorPlayerInboxFull // = 5 - case errorSenderHasMaxFriends // = 6 - case errorReceiverHasMaxFriends // = 7 - case errorAlreadyAFriend // = 8 - case errorInviteAlreadySent // = 9 - case errorInviteAlreadyReceived // = 10 - case errorCannotSendInvitesToYourself // = 11 - case errorFriendCacheExpired // = 12 - case errorFriendNotCached // = 13 - case errorInvalidSenderFacebookID // = 14 - case errorSendToBlockedUser // = 15 case UNRECOGNIZED(Int) public init() { @@ -81520,19 +83121,6 @@ public struct InviteFacebookFriendOutProto { case 0: self = .unset case 1: self = .success case 2: self = .errorUnknown - case 3: self = .errorPlayerNotFound - case 4: self = .errorPlayerOutboxFull - case 5: self = .errorPlayerInboxFull - case 6: self = .errorSenderHasMaxFriends - case 7: self = .errorReceiverHasMaxFriends - case 8: self = .errorAlreadyAFriend - case 9: self = .errorInviteAlreadySent - case 10: self = .errorInviteAlreadyReceived - case 11: self = .errorCannotSendInvitesToYourself - case 12: self = .errorFriendCacheExpired - case 13: self = .errorFriendNotCached - case 14: self = .errorInvalidSenderFacebookID - case 15: self = .errorSendToBlockedUser default: self = .UNRECOGNIZED(rawValue) } } @@ -81542,113 +83130,79 @@ public struct InviteFacebookFriendOutProto { case .unset: return 0 case .success: return 1 case .errorUnknown: return 2 - case .errorPlayerNotFound: return 3 - case .errorPlayerOutboxFull: return 4 - case .errorPlayerInboxFull: return 5 - case .errorSenderHasMaxFriends: return 6 - case .errorReceiverHasMaxFriends: return 7 - case .errorAlreadyAFriend: return 8 - case .errorInviteAlreadySent: return 9 - case .errorInviteAlreadyReceived: return 10 - case .errorCannotSendInvitesToYourself: return 11 - case .errorFriendCacheExpired: return 12 - case .errorFriendNotCached: return 13 - case .errorInvalidSenderFacebookID: return 14 - case .errorSendToBlockedUser: return 15 case .UNRECOGNIZED(let i): return i } } } + public struct TokenMetaData { + // 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. + + public var email: String = String() + + public var expirationTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} + + fileprivate var _tokenMetaData: InternalCreateSharedLoginTokenResponse.TokenMetaData? = nil } #if swift(>=4.2) -extension InviteFacebookFriendOutProto.Result: CaseIterable { +extension InternalCreateSharedLoginTokenResponse.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [InviteFacebookFriendOutProto.Result] = [ + public static var allCases: [InternalCreateSharedLoginTokenResponse.Status] = [ .unset, .success, .errorUnknown, - .errorPlayerNotFound, - .errorPlayerOutboxFull, - .errorPlayerInboxFull, - .errorSenderHasMaxFriends, - .errorReceiverHasMaxFriends, - .errorAlreadyAFriend, - .errorInviteAlreadySent, - .errorInviteAlreadyReceived, - .errorCannotSendInvitesToYourself, - .errorFriendCacheExpired, - .errorFriendNotCached, - .errorInvalidSenderFacebookID, - .errorSendToBlockedUser, ] } #endif // swift(>=4.2) -public struct InviteFacebookFriendProto { +public struct InternalCrmProxyRequestProto { // 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. - public var fbAccessToken: String = String() + public var action: UInt32 = 0 - public var friendFbUserID: String = String() + public var payload: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct InviteGameRequest { +public struct InternalCrmProxyResponseProto { // 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. - public var friendID: String = String() - - public var appKey: String = String() - - public var friendNiaAccountID: String = String() - - public var referral: ReferralProto { - get {return _referral ?? ReferralProto()} - set {_referral = newValue} - } - /// Returns true if `referral` has been explicitly set. - public var hasReferral: Bool {return self._referral != nil} - /// Clears the value of `referral`. Subsequent reads from it will return its default value. - public mutating func clearReferral() {self._referral = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _referral: ReferralProto? = nil -} + public var status: InternalCrmProxyResponseProto.Status = .unset -public struct InviteGameResponse { - // 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. + public var errorMessage: String = String() - public var status: InviteGameResponse.Status = .unset + public var payload: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 + case ok // = 1 case errorUnknown // = 2 - case errorNotFriend // = 3 - case errorExceedLimit // = 4 - case errorAlreadySignedUp // = 5 - case errorEmailFailed // = 6 + case errorPermissionDenied // = 3 + case errorUnavailable // = 4 + case errorUnauthenticated // = 5 case UNRECOGNIZED(Int) public init() { @@ -81658,12 +83212,11 @@ public struct InviteGameResponse { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success + case 1: self = .ok case 2: self = .errorUnknown - case 3: self = .errorNotFriend - case 4: self = .errorExceedLimit - case 5: self = .errorAlreadySignedUp - case 6: self = .errorEmailFailed + case 3: self = .errorPermissionDenied + case 4: self = .errorUnavailable + case 5: self = .errorUnauthenticated default: self = .UNRECOGNIZED(rawValue) } } @@ -81671,12 +83224,11 @@ public struct InviteGameResponse { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 + case .ok: return 1 case .errorUnknown: return 2 - case .errorNotFriend: return 3 - case .errorExceedLimit: return 4 - case .errorAlreadySignedUp: return 5 - case .errorEmailFailed: return 6 + case .errorPermissionDenied: return 3 + case .errorUnavailable: return 4 + case .errorUnauthenticated: return 5 case .UNRECOGNIZED(let i): return i } } @@ -81688,93 +83240,120 @@ public struct InviteGameResponse { #if swift(>=4.2) -extension InviteGameResponse.Status: CaseIterable { +extension InternalCrmProxyResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [InviteGameResponse.Status] = [ + public static var allCases: [InternalCrmProxyResponseProto.Status] = [ .unset, - .success, + .ok, .errorUnknown, - .errorNotFriend, - .errorExceedLimit, - .errorAlreadySignedUp, - .errorEmailFailed, + .errorPermissionDenied, + .errorUnavailable, + .errorUnauthenticated, ] } #endif // swift(>=4.2) -public struct IosDevice { +public struct InternalDataAccessRequest { // 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. - public var name: String = String() - - public var manufacturer: String = String() - - public var model: String = String() - - public var hardware: String = String() + public var email: String = String() - public var software: String = String() + public var languageShortCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IosSourceRevision { +public struct InternalDataAccessResponse { // 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. - public var name: String = String() + public var status: InternalDataAccessResponse.Status = .unset - public var bundle: String = String() + public var errorMessage: String = String() - public var version: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var product: String = String() + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidemail // = 2 + case errorInvalidlanguage // = 3 + case errorUnknown // = 4 + case UNRECOGNIZED(Int) - public var os: String = String() + public init() { + self = .unset + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidemail + case 3: self = .errorInvalidlanguage + case 4: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } - public init() {} -} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidemail: return 2 + case .errorInvalidlanguage: return 3 + case .errorUnknown: return 4 + case .UNRECOGNIZED(let i): return i + } + } -public struct IsAccountBlockedOutProto { - // 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. + } - public var isBlocked: Bool = false + public init() {} +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalDataAccessResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalDataAccessResponse.Status] = [ + .unset, + .success, + .errorInvalidemail, + .errorInvalidlanguage, + .errorUnknown, + ] } -public struct IsAccountBlockedProto { +#endif // swift(>=4.2) + +public struct InternalDebugInfoProto { // 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. - public var blockeeNiaAccountID: String = String() + public var latitude: Double = 0 + + public var longitude: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IsMyFriendOutProto { +public struct InternalDeclineFriendInviteOutProto { // 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. - public var result: IsMyFriendOutProto.Result = .unset - - public var isFriend: Bool = false + public var result: InternalDeclineFriendInviteOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -81783,7 +83362,8 @@ public struct IsMyFriendOutProto { case unset // = 0 case success // = 1 case errorUnknown // = 2 - case errorPlayerNotFoundDeleted // = 3 + case errorInviteDoesNotExist // = 3 + case errorInviteAlreadyDeclined // = 4 case UNRECOGNIZED(Int) public init() { @@ -81795,7 +83375,8 @@ public struct IsMyFriendOutProto { case 0: self = .unset case 1: self = .success case 2: self = .errorUnknown - case 3: self = .errorPlayerNotFoundDeleted + case 3: self = .errorInviteDoesNotExist + case 4: self = .errorInviteAlreadyDeclined default: self = .UNRECOGNIZED(rawValue) } } @@ -81805,7 +83386,8 @@ public struct IsMyFriendOutProto { case .unset: return 0 case .success: return 1 case .errorUnknown: return 2 - case .errorPlayerNotFoundDeleted: return 3 + case .errorInviteDoesNotExist: return 3 + case .errorInviteAlreadyDeclined: return 4 case .UNRECOGNIZED(let i): return i } } @@ -81817,19 +83399,20 @@ public struct IsMyFriendOutProto { #if swift(>=4.2) -extension IsMyFriendOutProto.Result: CaseIterable { +extension InternalDeclineFriendInviteOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [IsMyFriendOutProto.Result] = [ + public static var allCases: [InternalDeclineFriendInviteOutProto.Result] = [ .unset, .success, .errorUnknown, - .errorPlayerNotFoundDeleted, + .errorInviteDoesNotExist, + .errorInviteAlreadyDeclined, ] } #endif // swift(>=4.2) -public struct IsMyFriendProto { +public struct InternalDeclineFriendInviteProto { // 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. @@ -81843,167 +83426,145 @@ public struct IsMyFriendProto { public init() {} } -public struct IsSkuAvailableOutProto { +public struct InternalDeleteAccountEmailOnFileRequest { // 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. - public var isSkuAvailable: Bool = false + public var languageShortCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct IsSkuAvailableProto { +public struct InternalDeleteAccountEmailOnFileResponse { // 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. - public var skuID: String = String() - - public var verifyPrice: Bool = false - - public var coinCost: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var status: InternalDeleteAccountEmailOnFileResponse.Status = .unset -public struct ItemInventoryUpdateSettingsProto { - // 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. + public var errorMessage: String = String() - public var enabled: Bool = false + public var confirmationEmail: String = String() - public var itemCategories: [ItemInventoryUpdateSettingsProto.ItemCategories] = [] + public var hasAppleProvider_p: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct ItemCategories { - // 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. - - public var itemCategory: [HoloItemCategory] = [] + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorEmailNotOnFile // = 2 + case errorInvalidLanguage // = 3 + case errorAppNotSupported // = 4 + case errorInvalidPlayer // = 5 + case errorDuplicateRequest // = 6 + case errorHelpshiftError // = 7 + case errorUnknown // = 8 + case errorCodenameNotOnFile // = 9 + case UNRECOGNIZED(Int) - public var categoryName: String = String() + public init() { + self = .unset + } - public var sortOder: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorEmailNotOnFile + case 3: self = .errorInvalidLanguage + case 4: self = .errorAppNotSupported + case 5: self = .errorInvalidPlayer + case 6: self = .errorDuplicateRequest + case 7: self = .errorHelpshiftError + case 8: self = .errorUnknown + case 9: self = .errorCodenameNotOnFile + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorEmailNotOnFile: return 2 + case .errorInvalidLanguage: return 3 + case .errorAppNotSupported: return 4 + case .errorInvalidPlayer: return 5 + case .errorDuplicateRequest: return 6 + case .errorHelpshiftError: return 7 + case .errorUnknown: return 8 + case .errorCodenameNotOnFile: return 9 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} } public init() {} } -public struct ItemProto { +#if swift(>=4.2) + +extension InternalDeleteAccountEmailOnFileResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalDeleteAccountEmailOnFileResponse.Status] = [ + .unset, + .success, + .errorEmailNotOnFile, + .errorInvalidLanguage, + .errorAppNotSupported, + .errorInvalidPlayer, + .errorDuplicateRequest, + .errorHelpshiftError, + .errorUnknown, + .errorCodenameNotOnFile, + ] +} + +#endif // swift(>=4.2) + +public struct InternalDeleteAccountRequest { // 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. - public var itemID: Item = .unknown + public var email: String = String() - public var count: Int32 = 0 + public var languageShortCode: String = String() - public var unseen: Bool = false + public var isDryRun: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ItemRapportDataProto { +public struct InternalDeleteAccountResponse { // 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. - public var data: ItemRapportDataProto.OneOf_Data? = nil - - public var text: String { - get { - if case .text(let v)? = data {return v} - return String() - } - set {data = .text(newValue)} - } - - public var imageURL: String { - get { - if case .imageURL(let v)? = data {return v} - return String() - } - set {data = .imageURL(newValue)} - } - - public var videoURL: String { - get { - if case .videoURL(let v)? = data {return v} - return String() - } - set {data = .videoURL(newValue)} - } - - public var textLanguage: LanguageData { - get {return _textLanguage ?? LanguageData()} - set {_textLanguage = newValue} - } - /// Returns true if `textLanguage` has been explicitly set. - public var hasTextLanguage: Bool {return self._textLanguage != nil} - /// Clears the value of `textLanguage`. Subsequent reads from it will return its default value. - public mutating func clearTextLanguage() {self._textLanguage = nil} - - public var itemStatus: ItemRapportDataProto.ItemStatus = .unset - - public var imageCsamViolation: Bool = false - - public var flagCategory: [FlagCategory.Category] = [] + public var status: InternalDeleteAccountResponse.Status = .unset - public var reporterName: [String] = [] - - public var moderationEligible: Bool = false + public var errorMessage: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Data: Equatable { - case text(String) - case imageURL(String) - case videoURL(String) - - #if !swift(>=4.1) - public static func ==(lhs: ItemRapportDataProto.OneOf_Data, rhs: ItemRapportDataProto.OneOf_Data) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.text, .text): return { - guard case .text(let l) = lhs, case .text(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.imageURL, .imageURL): return { - guard case .imageURL(let l) = lhs, case .imageURL(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoURL, .videoURL): return { - guard case .videoURL(let l) = lhs, case .videoURL(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum ItemStatus: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case allow // = 1 - case reject // = 2 - case pending // = 3 + case success // = 1 + case errorInvalidemail // = 2 + case errorInvalidlanguage // = 3 + case errorUnknown // = 4 + case errorAppNotSupported // = 5 + case errorInvalidPlayer // = 6 + case errorDuplicateRequest // = 7 case UNRECOGNIZED(Int) public init() { @@ -82013,9 +83574,13 @@ public struct ItemRapportDataProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .allow - case 2: self = .reject - case 3: self = .pending + case 1: self = .success + case 2: self = .errorInvalidemail + case 3: self = .errorInvalidlanguage + case 4: self = .errorUnknown + case 5: self = .errorAppNotSupported + case 6: self = .errorInvalidPlayer + case 7: self = .errorDuplicateRequest default: self = .UNRECOGNIZED(rawValue) } } @@ -82023,9 +83588,13 @@ public struct ItemRapportDataProto { public var rawValue: Int { switch self { case .unset: return 0 - case .allow: return 1 - case .reject: return 2 - case .pending: return 3 + case .success: return 1 + case .errorInvalidemail: return 2 + case .errorInvalidlanguage: return 3 + case .errorUnknown: return 4 + case .errorAppNotSupported: return 5 + case .errorInvalidPlayer: return 6 + case .errorDuplicateRequest: return 7 case .UNRECOGNIZED(let i): return i } } @@ -82033,306 +83602,139 @@ public struct ItemRapportDataProto { } public init() {} - - fileprivate var _textLanguage: LanguageData? = nil } #if swift(>=4.2) -extension ItemRapportDataProto.ItemStatus: CaseIterable { +extension InternalDeleteAccountResponse.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ItemRapportDataProto.ItemStatus] = [ + public static var allCases: [InternalDeleteAccountResponse.Status] = [ .unset, - .allow, - .reject, - .pending, + .success, + .errorInvalidemail, + .errorInvalidlanguage, + .errorUnknown, + .errorAppNotSupported, + .errorInvalidPlayer, + .errorDuplicateRequest, ] } #endif // swift(>=4.2) -public struct ItemRewardProto { +public struct InternalDismissContactListUpdateRequest { // 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. - public var item: Item = .unknown - - public var amount: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ItemSettingsProto { +public struct InternalDismissContactListUpdateResponse { // 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. - public var itemID: Item { - get {return _storage._itemID} - set {_uniqueStorage()._itemID = newValue} - } - - public var itemType: HoloItemType { - get {return _storage._itemType} - set {_uniqueStorage()._itemType = newValue} - } - - public var category: HoloItemCategory { - get {return _storage._category} - set {_uniqueStorage()._category = newValue} - } - - public var dropFreq: Float { - get {return _storage._dropFreq} - set {_uniqueStorage()._dropFreq = newValue} - } - - public var dropTrainerLevel: Int32 { - get {return _storage._dropTrainerLevel} - set {_uniqueStorage()._dropTrainerLevel = newValue} - } - - public var pokeball: PokeBallAttributesProto { - get {return _storage._pokeball ?? PokeBallAttributesProto()} - set {_uniqueStorage()._pokeball = newValue} - } - /// Returns true if `pokeball` has been explicitly set. - public var hasPokeball: Bool {return _storage._pokeball != nil} - /// Clears the value of `pokeball`. Subsequent reads from it will return its default value. - public mutating func clearPokeball() {_uniqueStorage()._pokeball = nil} - - public var potion: PotionAttributesProto { - get {return _storage._potion ?? PotionAttributesProto()} - set {_uniqueStorage()._potion = newValue} - } - /// Returns true if `potion` has been explicitly set. - public var hasPotion: Bool {return _storage._potion != nil} - /// Clears the value of `potion`. Subsequent reads from it will return its default value. - public mutating func clearPotion() {_uniqueStorage()._potion = nil} - - public var revive: ReviveAttributesProto { - get {return _storage._revive ?? ReviveAttributesProto()} - set {_uniqueStorage()._revive = newValue} - } - /// Returns true if `revive` has been explicitly set. - public var hasRevive: Bool {return _storage._revive != nil} - /// Clears the value of `revive`. Subsequent reads from it will return its default value. - public mutating func clearRevive() {_uniqueStorage()._revive = nil} - - public var battle: BattleAttributesProto { - get {return _storage._battle ?? BattleAttributesProto()} - set {_uniqueStorage()._battle = newValue} - } - /// Returns true if `battle` has been explicitly set. - public var hasBattle: Bool {return _storage._battle != nil} - /// Clears the value of `battle`. Subsequent reads from it will return its default value. - public mutating func clearBattle() {_uniqueStorage()._battle = nil} - - public var food: FoodAttributesProto { - get {return _storage._food ?? FoodAttributesProto()} - set {_uniqueStorage()._food = newValue} - } - /// Returns true if `food` has been explicitly set. - public var hasFood: Bool {return _storage._food != nil} - /// Clears the value of `food`. Subsequent reads from it will return its default value. - public mutating func clearFood() {_uniqueStorage()._food = nil} - - public var inventoryUpgrade: InventoryUpgradeAttributesProto { - get {return _storage._inventoryUpgrade ?? InventoryUpgradeAttributesProto()} - set {_uniqueStorage()._inventoryUpgrade = newValue} - } - /// Returns true if `inventoryUpgrade` has been explicitly set. - public var hasInventoryUpgrade: Bool {return _storage._inventoryUpgrade != nil} - /// Clears the value of `inventoryUpgrade`. Subsequent reads from it will return its default value. - public mutating func clearInventoryUpgrade() {_uniqueStorage()._inventoryUpgrade = nil} - - public var xpBoost: ExperienceBoostAttributesProto { - get {return _storage._xpBoost ?? ExperienceBoostAttributesProto()} - set {_uniqueStorage()._xpBoost = newValue} - } - /// Returns true if `xpBoost` has been explicitly set. - public var hasXpBoost: Bool {return _storage._xpBoost != nil} - /// Clears the value of `xpBoost`. Subsequent reads from it will return its default value. - public mutating func clearXpBoost() {_uniqueStorage()._xpBoost = nil} - - public var incense: IncenseAttributesProto { - get {return _storage._incense ?? IncenseAttributesProto()} - set {_uniqueStorage()._incense = newValue} - } - /// Returns true if `incense` has been explicitly set. - public var hasIncense: Bool {return _storage._incense != nil} - /// Clears the value of `incense`. Subsequent reads from it will return its default value. - public mutating func clearIncense() {_uniqueStorage()._incense = nil} - - public var eggIncubator: EggIncubatorAttributesProto { - get {return _storage._eggIncubator ?? EggIncubatorAttributesProto()} - set {_uniqueStorage()._eggIncubator = newValue} - } - /// Returns true if `eggIncubator` has been explicitly set. - public var hasEggIncubator: Bool {return _storage._eggIncubator != nil} - /// Clears the value of `eggIncubator`. Subsequent reads from it will return its default value. - public mutating func clearEggIncubator() {_uniqueStorage()._eggIncubator = nil} - - public var fortModifier: FortModifierAttributesProto { - get {return _storage._fortModifier ?? FortModifierAttributesProto()} - set {_uniqueStorage()._fortModifier = newValue} - } - /// Returns true if `fortModifier` has been explicitly set. - public var hasFortModifier: Bool {return _storage._fortModifier != nil} - /// Clears the value of `fortModifier`. Subsequent reads from it will return its default value. - public mutating func clearFortModifier() {_uniqueStorage()._fortModifier = nil} - - public var stardustBoost: StardustBoostAttributesProto { - get {return _storage._stardustBoost ?? StardustBoostAttributesProto()} - set {_uniqueStorage()._stardustBoost = newValue} - } - /// Returns true if `stardustBoost` has been explicitly set. - public var hasStardustBoost: Bool {return _storage._stardustBoost != nil} - /// Clears the value of `stardustBoost`. Subsequent reads from it will return its default value. - public mutating func clearStardustBoost() {_uniqueStorage()._stardustBoost = nil} - - public var incidentTicket: IncidentTicketAttributesProto { - get {return _storage._incidentTicket ?? IncidentTicketAttributesProto()} - set {_uniqueStorage()._incidentTicket = newValue} - } - /// Returns true if `incidentTicket` has been explicitly set. - public var hasIncidentTicket: Bool {return _storage._incidentTicket != nil} - /// Clears the value of `incidentTicket`. Subsequent reads from it will return its default value. - public mutating func clearIncidentTicket() {_uniqueStorage()._incidentTicket = nil} - - public var globalEventTicket: GlobalEventTicketAttributesProto { - get {return _storage._globalEventTicket ?? GlobalEventTicketAttributesProto()} - set {_uniqueStorage()._globalEventTicket = newValue} - } - /// Returns true if `globalEventTicket` has been explicitly set. - public var hasGlobalEventTicket: Bool {return _storage._globalEventTicket != nil} - /// Clears the value of `globalEventTicket`. Subsequent reads from it will return its default value. - public mutating func clearGlobalEventTicket() {_uniqueStorage()._globalEventTicket = nil} + public var result: InternalDismissContactListUpdateResponse.Result = .unset - public var ignoreInventorySpace: Bool { - get {return _storage._ignoreInventorySpace} - set {_uniqueStorage()._ignoreInventorySpace = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obInt32: Int32 { - get {return _storage._obInt32} - set {_uniqueStorage()._obInt32 = newValue} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) - public var moveModifier: [MoveModifierProto] { - get {return _storage._moveModifier} - set {_uniqueStorage()._moveModifier = newValue} - } + public init() { + self = .unset + } - public var obString1: String { - get {return _storage._obString1} - set {_uniqueStorage()._obString1 = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } - public var obString2: String { - get {return _storage._obString2} - set {_uniqueStorage()._obString2 = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var obString3: String { - get {return _storage._obString3} - set {_uniqueStorage()._obString3 = newValue} } - public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} +} - fileprivate var _storage = _StorageClass.defaultInstance +#if swift(>=4.2) + +extension InternalDismissContactListUpdateResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalDismissContactListUpdateResponse.Result] = [ + .unset, + .success, + .errorUnknown, + ] } -public struct ItemTelemetry { +#endif // swift(>=4.2) + +public struct InternalDismissOutgoingGameInvitesRequest { // 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. - public var itemUseClickID: ItemUseTelemetryIds = .undefinedItemEvent - - public var itemID: Item = .unknown - - public var equipped: Bool = false + public var friendID: String = String() - public var fromInventory: Bool = false + public var appKey: [String] = [] - public var itemIDString: String = String() + public var friendNiaAccountID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct JoinBuddyMultiplayerSessionOutProto { +public struct InternalDismissOutgoingGameInvitesResponse { // 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. - public var result: JoinBuddyMultiplayerSessionOutProto.Result = .joinSuccess - - public var arbeJoinToken: Data = Data() - - public var generationTimestamp: Int64 = 0 - - public var maxPlayers: Int32 = 0 + public var result: InternalDismissOutgoingGameInvitesResponse.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case joinSuccess // = 0 - case joinLobbyFull // = 1 - case joinHostTooFar // = 2 - case joinLobbyNotFound // = 3 - case joinBuddyNotSet // = 4 - case joinBuddyNotFound // = 5 - case joinBadBuddy // = 6 - case joinBuddyV2NotEnabled // = 7 - case joinPlayerLevelTooLow // = 8 - case joinUnknownError // = 9 - case joinU13NoPermission // = 10 + case unset // = 0 + case success // = 1 case UNRECOGNIZED(Int) public init() { - self = .joinSuccess + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .joinSuccess - case 1: self = .joinLobbyFull - case 2: self = .joinHostTooFar - case 3: self = .joinLobbyNotFound - case 4: self = .joinBuddyNotSet - case 5: self = .joinBuddyNotFound - case 6: self = .joinBadBuddy - case 7: self = .joinBuddyV2NotEnabled - case 8: self = .joinPlayerLevelTooLow - case 9: self = .joinUnknownError - case 10: self = .joinU13NoPermission + case 0: self = .unset + case 1: self = .success default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .joinSuccess: return 0 - case .joinLobbyFull: return 1 - case .joinHostTooFar: return 2 - case .joinLobbyNotFound: return 3 - case .joinBuddyNotSet: return 4 - case .joinBuddyNotFound: return 5 - case .joinBadBuddy: return 6 - case .joinBuddyV2NotEnabled: return 7 - case .joinPlayerLevelTooLow: return 8 - case .joinUnknownError: return 9 - case .joinU13NoPermission: return 10 + case .unset: return 0 + case .success: return 1 case .UNRECOGNIZED(let i): return i } } @@ -82344,104 +83746,182 @@ public struct JoinBuddyMultiplayerSessionOutProto { #if swift(>=4.2) -extension JoinBuddyMultiplayerSessionOutProto.Result: CaseIterable { +extension InternalDismissOutgoingGameInvitesResponse.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [JoinBuddyMultiplayerSessionOutProto.Result] = [ - .joinSuccess, - .joinLobbyFull, - .joinHostTooFar, - .joinLobbyNotFound, - .joinBuddyNotSet, - .joinBuddyNotFound, - .joinBadBuddy, - .joinBuddyV2NotEnabled, - .joinPlayerLevelTooLow, - .joinUnknownError, - .joinU13NoPermission, + public static var allCases: [InternalDismissOutgoingGameInvitesResponse.Result] = [ + .unset, + .success, ] } #endif // swift(>=4.2) -public struct JoinBuddyMultiplayerSessionProto { +public struct InternalDownloadSettingsActionProto { // 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. - public var plfeSessionID: String = String() + public var sha1: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct JoinInformationProto { +public struct InternalDownloadSettingsResponseProto { // 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. - public var obInt641: Int64 = 0 + public var error: String = String() + + public var sha1: String = String() - public var obInt642: Int64 = 0 + public var values: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct JoinLobbyDataProto { +public struct InternalFitnessMetricsProto { // 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. - public var obJoinLobbyDataBool1: Bool = false + public var distanceWalkedMeters: Double = 0 - public var obJoinLobbyDataBool2: Bool = false + public var stepCount: Int32 = 0 - public var obJoinLobbyDataInt32: Int32 = 0 + public var caloriesBurnedKcals: Double = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var exerciseDurationMi: Int64 = 0 - public init() {} -} + public var wheelchairDistanceMeters: Double = 0 -public struct JoinLobbyOutProto { + public var wheelchairPushCount: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct InternalFitnessReportProto { // 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. - public var result: JoinLobbyOutProto.Result = .unset + public var window: InternalFitnessReportProto.OneOf_Window? = nil - public var lobby: LobbyProto { - get {return _lobby ?? LobbyProto()} - set {_lobby = newValue} + public var dayOffsetFromNow: Int32 { + get { + if case .dayOffsetFromNow(let v)? = window {return v} + return 0 + } + set {window = .dayOffsetFromNow(newValue)} } - /// Returns true if `lobby` has been explicitly set. - public var hasLobby: Bool {return self._lobby != nil} - /// Clears the value of `lobby`. Subsequent reads from it will return its default value. - public mutating func clearLobby() {self._lobby = nil} + + public var weekOffsetFromNow: Int32 { + get { + if case .weekOffsetFromNow(let v)? = window {return v} + return 0 + } + set {window = .weekOffsetFromNow(newValue)} + } + + public var hourOffsetFromNow: Int32 { + get { + if case .hourOffsetFromNow(let v)? = window {return v} + return 0 + } + set {window = .hourOffsetFromNow(newValue)} + } + + public var metrics: InternalFitnessMetricsProto { + get {return _metrics ?? InternalFitnessMetricsProto()} + set {_metrics = newValue} + } + /// Returns true if `metrics` has been explicitly set. + public var hasMetrics: Bool {return self._metrics != nil} + /// Clears the value of `metrics`. Subsequent reads from it will return its default value. + public mutating func clearMetrics() {self._metrics = nil} + + public var gameData: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum OneOf_Window: Equatable { + case dayOffsetFromNow(Int32) + case weekOffsetFromNow(Int32) + case hourOffsetFromNow(Int32) + + #if !swift(>=4.1) + public static func ==(lhs: InternalFitnessReportProto.OneOf_Window, rhs: InternalFitnessReportProto.OneOf_Window) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.dayOffsetFromNow, .dayOffsetFromNow): return { + guard case .dayOffsetFromNow(let l) = lhs, case .dayOffsetFromNow(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.weekOffsetFromNow, .weekOffsetFromNow): return { + guard case .weekOffsetFromNow(let l) = lhs, case .weekOffsetFromNow(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.hourOffsetFromNow, .hourOffsetFromNow): return { + guard case .hourOffsetFromNow(let l) = lhs, case .hourOffsetFromNow(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _metrics: InternalFitnessMetricsProto? = nil +} + +public struct InternalFriendDetailsProto { + // 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. + + public var player: InternalPlayerSummaryProto { + get {return _player ?? InternalPlayerSummaryProto()} + set {_player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} + + public var friendVisibleData: Data = Data() + + public var score: Int32 = 0 + + public var dataWithMe: Data = Data() + + public var onlineStatus: InternalFriendDetailsProto.OnlineStatus = .unset + + public var createdMs: Int64 = 0 + + public var sharedData: Data = Data() + + public var dataFromMe: Data = Data() + + public var dataToMe: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OnlineStatus: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorNotInRange // = 2 - case errorRaidUnavailable // = 3 - case errorRaidCompleted // = 4 - case errorNoAvailableLobbies // = 5 - case errorPlayerBelowMinimumLevel // = 6 - case errorPoiInaccessible // = 7 - case errorGymLockout // = 8 - case errorNoTicket // = 9 - case errorNoRemoteTicket // = 10 - case errorNoInvite // = 11 - case errorNoRemoteSlotsRemaining // = 12 - case errorLobbyFull // = 13 - case errorLobbyExpired // = 14 - case errorData // = 15 - case errorMaxLobbiesReached // = 16 + case statusUnknown // = 1 + case statusOnline // = 2 + case statusOffline // = 3 case UNRECOGNIZED(Int) public init() { @@ -82451,22 +83931,9 @@ public struct JoinLobbyOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorNotInRange - case 3: self = .errorRaidUnavailable - case 4: self = .errorRaidCompleted - case 5: self = .errorNoAvailableLobbies - case 6: self = .errorPlayerBelowMinimumLevel - case 7: self = .errorPoiInaccessible - case 8: self = .errorGymLockout - case 9: self = .errorNoTicket - case 10: self = .errorNoRemoteTicket - case 11: self = .errorNoInvite - case 12: self = .errorNoRemoteSlotsRemaining - case 13: self = .errorLobbyFull - case 14: self = .errorLobbyExpired - case 15: self = .errorData - case 16: self = .errorMaxLobbiesReached + case 1: self = .statusUnknown + case 2: self = .statusOnline + case 3: self = .statusOffline default: self = .UNRECOGNIZED(rawValue) } } @@ -82474,22 +83941,9 @@ public struct JoinLobbyOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorNotInRange: return 2 - case .errorRaidUnavailable: return 3 - case .errorRaidCompleted: return 4 - case .errorNoAvailableLobbies: return 5 - case .errorPlayerBelowMinimumLevel: return 6 - case .errorPoiInaccessible: return 7 - case .errorGymLockout: return 8 - case .errorNoTicket: return 9 - case .errorNoRemoteTicket: return 10 - case .errorNoInvite: return 11 - case .errorNoRemoteSlotsRemaining: return 12 - case .errorLobbyFull: return 13 - case .errorLobbyExpired: return 14 - case .errorData: return 15 - case .errorMaxLobbiesReached: return 16 + case .statusUnknown: return 1 + case .statusOnline: return 2 + case .statusOffline: return 3 case .UNRECOGNIZED(let i): return i } } @@ -82498,617 +83952,476 @@ public struct JoinLobbyOutProto { public init() {} - fileprivate var _lobby: LobbyProto? = nil + fileprivate var _player: InternalPlayerSummaryProto? = nil } #if swift(>=4.2) -extension JoinLobbyOutProto.Result: CaseIterable { +extension InternalFriendDetailsProto.OnlineStatus: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [JoinLobbyOutProto.Result] = [ + public static var allCases: [InternalFriendDetailsProto.OnlineStatus] = [ .unset, - .success, - .errorNotInRange, - .errorRaidUnavailable, - .errorRaidCompleted, - .errorNoAvailableLobbies, - .errorPlayerBelowMinimumLevel, - .errorPoiInaccessible, - .errorGymLockout, - .errorNoTicket, - .errorNoRemoteTicket, - .errorNoInvite, - .errorNoRemoteSlotsRemaining, - .errorLobbyFull, - .errorLobbyExpired, - .errorData, - .errorMaxLobbiesReached, + .statusUnknown, + .statusOnline, + .statusOffline, ] } #endif // swift(>=4.2) -public struct JoinLobbyProto { +public struct InternalGarAccountInfoProto { // 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. - public var raidSeed: Int64 = 0 - - public var gymID: String = String() - - public var lobbyID: [Int32] = [] - - public var `private`: Bool = false - - public var playerLatDegrees: Double = 0 - - public var playerLngDegrees: Double = 0 - - public var gymLatDegrees: Double = 0 - - public var gymLngDegrees: Double = 0 - - public var useRemotePass: Bool = false + public var nianticID: String = String() - public var inviterID: String = String() + public var displayName: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct JoinLobbyResponseDataProto { +public struct InternalGarProxyRequestProto { // 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. - public var result: JoinLobbyOutProto.Result = .unset - - public var obJoinLobbyDataRepeatedInt321: [Int32] = [] - - public var obJoinLobbyDataInt321: Int32 = 0 - - public var obJoinLobbyDataUint321: UInt32 = 0 - - public var obJoinLobbyDataUint322: UInt32 = 0 - - public var obJoinLobbyDataUint323: UInt32 = 0 - - public var obJoinLobbyDataUint324: UInt32 = 0 - - public var obJoinLobbyDataString: String = String() - - public var obJoinLobbyDataBool: Bool = false - - public var obJoinLobbyDataUint325: UInt32 = 0 - - public var obJoinLobbyDataInt322: Int32 = 0 - - public var weatherCondition: GameplayWeatherProto.WeatherCondition = .none - - public var obJoinLobbyDataInt323: Int32 = 0 + public var action: UInt32 = 0 - public var obJoinLobbyDataUint326: UInt32 = 0 + public var payload: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct JournalAddEntryProto { +public struct InternalGarProxyResponseProto { // 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. - public var hashedKey: HashedKeyProto { - get {return _hashedKey ?? HashedKeyProto()} - set {_hashedKey = newValue} - } - /// Returns true if `hashedKey` has been explicitly set. - public var hasHashedKey: Bool {return self._hashedKey != nil} - /// Clears the value of `hashedKey`. Subsequent reads from it will return its default value. - public mutating func clearHashedKey() {self._hashedKey = nil} - - public var entrySize: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} + public var status: InternalGarProxyResponseProto.Status = .ok - fileprivate var _hashedKey: HashedKeyProto? = nil -} + public var errorMessage: String = String() -public struct JournalEntryProto { - // 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. + public var payload: Data = Data() - public var subentry: JournalEntryProto.OneOf_Subentry? = nil + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var addEntry: JournalAddEntryProto { - get { - if case .addEntry(let v)? = subentry {return v} - return JournalAddEntryProto() - } - set {subentry = .addEntry(newValue)} - } + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case ok // = 0 + case errorUnknown // = 2 + case errorPermissionDenied // = 7 + case errorUnavailable // = 14 + case errorUnauthenticated // = 16 + case UNRECOGNIZED(Int) - public var readEntry: JournalReadEntryProto { - get { - if case .readEntry(let v)? = subentry {return v} - return JournalReadEntryProto() + public init() { + self = .ok } - set {subentry = .readEntry(newValue)} - } - public var removeEntry: JournalRemoveEntryProto { - get { - if case .removeEntry(let v)? = subentry {return v} - return JournalRemoveEntryProto() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .ok + case 2: self = .errorUnknown + case 7: self = .errorPermissionDenied + case 14: self = .errorUnavailable + case 16: self = .errorUnauthenticated + default: self = .UNRECOGNIZED(rawValue) + } } - set {subentry = .removeEntry(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Subentry: Equatable { - case addEntry(JournalAddEntryProto) - case readEntry(JournalReadEntryProto) - case removeEntry(JournalRemoveEntryProto) - #if !swift(>=4.1) - public static func ==(lhs: JournalEntryProto.OneOf_Subentry, rhs: JournalEntryProto.OneOf_Subentry) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.addEntry, .addEntry): return { - guard case .addEntry(let l) = lhs, case .addEntry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.readEntry, .readEntry): return { - guard case .readEntry(let l) = lhs, case .readEntry(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.removeEntry, .removeEntry): return { - guard case .removeEntry(let l) = lhs, case .removeEntry(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false + public var rawValue: Int { + switch self { + case .ok: return 0 + case .errorUnknown: return 2 + case .errorPermissionDenied: return 7 + case .errorUnavailable: return 14 + case .errorUnauthenticated: return 16 + case .UNRECOGNIZED(let i): return i } } - #endif + } public init() {} } -public struct JournalReadEntryProto { +#if swift(>=4.2) + +extension InternalGarProxyResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGarProxyResponseProto.Status] = [ + .ok, + .errorUnknown, + .errorPermissionDenied, + .errorUnavailable, + .errorUnauthenticated, + ] +} + +#endif // swift(>=4.2) + +public struct InternalGcmToken { // 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. - public var hashedKey: HashedKeyProto { - get {return _hashedKey ?? HashedKeyProto()} - set {_hashedKey = newValue} - } - /// Returns true if `hashedKey` has been explicitly set. - public var hasHashedKey: Bool {return self._hashedKey != nil} - /// Clears the value of `hashedKey`. Subsequent reads from it will return its default value. - public mutating func clearHashedKey() {self._hashedKey = nil} + public var registrationID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _hashedKey: HashedKeyProto? = nil } -public struct JournalRemoveEntryProto { +public struct InternalGetAccountSettingsOutProto { // 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. - public var hashedKey: HashedKeyProto { - get {return _hashedKey ?? HashedKeyProto()} - set {_hashedKey = newValue} + public var result: InternalGetAccountSettingsOutProto.Result = .unset + + public var settings: InternalAccountSettingsProto { + get {return _settings ?? InternalAccountSettingsProto()} + set {_settings = newValue} } - /// Returns true if `hashedKey` has been explicitly set. - public var hasHashedKey: Bool {return self._hashedKey != nil} - /// Clears the value of `hashedKey`. Subsequent reads from it will return its default value. - public mutating func clearHashedKey() {self._hashedKey = nil} + /// Returns true if `settings` has been explicitly set. + public var hasSettings: Bool {return self._settings != nil} + /// Clears the value of `settings`. Subsequent reads from it will return its default value. + public mutating func clearSettings() {self._settings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) - fileprivate var _hashedKey: HashedKeyProto? = nil -} + public init() { + self = .unset + } -public struct JournalVersionProto { - // 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. + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } - public var version: Int32 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} -} - -public struct KangarooSettingsProto { - // 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. - public var enableKangarooV2: Bool = false + fileprivate var _settings: InternalAccountSettingsProto? = nil +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalGetAccountSettingsOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetAccountSettingsOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + ] } -public struct KoalaSettingsProto { +#endif // swift(>=4.2) + +public struct InternalGetAccountSettingsProto { // 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. - public var appID: String = String() - - public var useSandbox: Bool = false - - public var useKoala: Bool = false - - public var obKoalaBool: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct Label { +public struct InternalGetAdventureSyncSettingsRequestProto { // 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. - public var minZoom: Int32 = 0 - - public var maxZoom: Int32 = 0 - - public var priority: Int32 = 0 - - public var localizations: [LabelContentLocalization] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LabelAdditionSpec { +public struct InternalGetAdventureSyncSettingsResponseProto { // 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. - public var priority: Int32 = 0 - - public var minZoom: Int32 = 0 - - public var maxZoom: Int32 = 0 - - public var point: MapPointProto { - get {return _point ?? MapPointProto()} - set {_point = newValue} - } - /// Returns true if `point` has been explicitly set. - public var hasPoint: Bool {return self._point != nil} - /// Clears the value of `point`. Subsequent reads from it will return its default value. - public mutating func clearPoint() {self._point = nil} + public var status: InternalGetAdventureSyncSettingsResponseProto.Status = .unset - public var content: LabelContent { - get {return _content ?? LabelContent()} - set {_content = newValue} + public var adventureSyncSettings: InternalAdventureSyncSettingsProto { + get {return _adventureSyncSettings ?? InternalAdventureSyncSettingsProto()} + set {_adventureSyncSettings = newValue} } - /// Returns true if `content` has been explicitly set. - public var hasContent: Bool {return self._content != nil} - /// Clears the value of `content`. Subsequent reads from it will return its default value. - public mutating func clearContent() {self._content = nil} + /// Returns true if `adventureSyncSettings` has been explicitly set. + public var hasAdventureSyncSettings: Bool {return self._adventureSyncSettings != nil} + /// Clears the value of `adventureSyncSettings`. Subsequent reads from it will return its default value. + public mutating func clearAdventureSyncSettings() {self._adventureSyncSettings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} - - fileprivate var _point: MapPointProto? = nil - fileprivate var _content: LabelContent? = nil -} - -public struct LabelBlockSpec { - // 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. + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 + case UNRECOGNIZED(Int) - public var minZoom: Int32 = 0 + public init() { + self = .unset + } - public var maxZoom: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } - public var boundingBox: LatLongBoundingBox { - get {return _boundingBox ?? LatLongBoundingBox()} - set {_boundingBox = newValue} - } - /// Returns true if `boundingBox` has been explicitly set. - public var hasBoundingBox: Bool {return self._boundingBox != nil} - /// Clears the value of `boundingBox`. Subsequent reads from it will return its default value. - public mutating func clearBoundingBox() {self._boundingBox = nil} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var matchCriterion: LabelContentLocalization { - get {return _matchCriterion ?? LabelContentLocalization()} - set {_matchCriterion = newValue} } - /// Returns true if `matchCriterion` has been explicitly set. - public var hasMatchCriterion: Bool {return self._matchCriterion != nil} - /// Clears the value of `matchCriterion`. Subsequent reads from it will return its default value. - public mutating func clearMatchCriterion() {self._matchCriterion = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _boundingBox: LatLongBoundingBox? = nil - fileprivate var _matchCriterion: LabelContentLocalization? = nil + fileprivate var _adventureSyncSettings: InternalAdventureSyncSettingsProto? = nil } -public struct LabelContent { - // 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. - - public var layer: MapLayer = .undefined - - public var featureKind: FeatureKind = .undefined - - public var localizations: [LabelContentLocalization] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalGetAdventureSyncSettingsResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetAdventureSyncSettingsResponseProto.Status] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerNotFound, + ] } -public struct LabelContentLocalization { +#endif // swift(>=4.2) + +public struct InternalGetClientFeatureFlagsRequest { // 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. - public var language: String = String() - - public var name: String = String() + public var countryCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LabelGeometry { +public struct InternalGetClientFeatureFlagsResponse { // 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. - public var point: PixelPointProto { - get {return _point ?? PixelPointProto()} - set {_point = newValue} + public var featureFlags: InternalSocialClientFeatures { + get {return _featureFlags ?? InternalSocialClientFeatures()} + set {_featureFlags = newValue} } - /// Returns true if `point` has been explicitly set. - public var hasPoint: Bool {return self._point != nil} - /// Clears the value of `point`. Subsequent reads from it will return its default value. - public mutating func clearPoint() {self._point = nil} - - public var minZoom: Int32 = 0 + /// Returns true if `featureFlags` has been explicitly set. + public var hasFeatureFlags: Bool {return self._featureFlags != nil} + /// Clears the value of `featureFlags`. Subsequent reads from it will return its default value. + public mutating func clearFeatureFlags() {self._featureFlags = nil} - public var maxZoom: Int32 = 0 + public var globalSettings: InternalSocialClientGlobalSettings { + get {return _globalSettings ?? InternalSocialClientGlobalSettings()} + set {_globalSettings = newValue} + } + /// Returns true if `globalSettings` has been explicitly set. + public var hasGlobalSettings: Bool {return self._globalSettings != nil} + /// Clears the value of `globalSettings`. Subsequent reads from it will return its default value. + public mutating func clearGlobalSettings() {self._globalSettings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _point: PixelPointProto? = nil + fileprivate var _featureFlags: InternalSocialClientFeatures? = nil + fileprivate var _globalSettings: InternalSocialClientGlobalSettings? = nil } -public struct LabelTile { +public struct InternalGetClientSettingsRequest { // 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. - public var labels: [Label] = [] + public var countryCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LanguageData { +public struct InternalGetClientSettingsResponse { // 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. - public var code: String = String() - - public var name: String = String() + public var phoneNumberSettings: InternalGetClientSettingsResponse.PhoneNumberSettings { + get {return _phoneNumberSettings ?? InternalGetClientSettingsResponse.PhoneNumberSettings()} + set {_phoneNumberSettings = newValue} + } + /// Returns true if `phoneNumberSettings` has been explicitly set. + public var hasPhoneNumberSettings: Bool {return self._phoneNumberSettings != nil} + /// Clears the value of `phoneNumberSettings`. Subsequent reads from it will return its default value. + public mutating func clearPhoneNumberSettings() {self._phoneNumberSettings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public struct PhoneNumberSettings { + // 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. -public struct LanguageSelectorSettingsProto { - // 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. + public var country: [InternalPhoneNumberCountryProto] = [] - public var languageSelectorEnabled: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} -} - -public struct LanguageTelemetry { - // 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. - - public var selectedLanguage: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + fileprivate var _phoneNumberSettings: InternalGetClientSettingsResponse.PhoneNumberSettings? = nil } -public struct LatLongBoundingBox { +public struct InternalGetContactListInfoRequest { // 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. - public var sw: MapPointProto { - get {return _sw ?? MapPointProto()} - set {_sw = newValue} - } - /// Returns true if `sw` has been explicitly set. - public var hasSw: Bool {return self._sw != nil} - /// Clears the value of `sw`. Subsequent reads from it will return its default value. - public mutating func clearSw() {self._sw = nil} - - public var ne: MapPointProto { - get {return _ne ?? MapPointProto()} - set {_ne = newValue} - } - /// Returns true if `ne` has been explicitly set. - public var hasNe: Bool {return self._ne != nil} - /// Clears the value of `ne`. Subsequent reads from it will return its default value. - public mutating func clearNe() {self._ne = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _sw: MapPointProto? = nil - fileprivate var _ne: MapPointProto? = nil } -public struct Layer { +public struct InternalGetContactListInfoResponse { // 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. - public var features: [Feature] = [] + public var hasNewAccountMatching_p: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LayerRule { +public struct InternalGetFacebookFriendListOutProto { // 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. - public var type: LayerRule.GmmLayerType = .area - - public var fillColors: [MaskedColor] = [] - - public var roadPriority: [LayerRule.GmmRoadPriority] = [] + public var result: InternalGetFacebookFriendListOutProto.Result = .unset - public var roadAttributeBitfield: UInt32 = 0 + public var friend: [InternalGetFacebookFriendListOutProto.FacebookFriendProto] = [] - public var layer: MapLayer = .undefined - - public var kind: FeatureKind = .undefined + public var nextCursor: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum GmmLayerType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case area // = 0 - case road // = 1 - case building // = 2 - case lineMesh // = 3 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorFacebookApi // = 3 + case errorFacebookPermissions // = 4 + case errorNoFacebookID // = 5 + case errorPlayerNotFound // = 6 case UNRECOGNIZED(Int) public init() { - self = .area + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .area - case 1: self = .road - case 2: self = .building - case 3: self = .lineMesh + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorFacebookApi + case 4: self = .errorFacebookPermissions + case 5: self = .errorNoFacebookID + case 6: self = .errorPlayerNotFound default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .area: return 0 - case .road: return 1 - case .building: return 2 - case .lineMesh: return 3 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorFacebookApi: return 3 + case .errorFacebookPermissions: return 4 + case .errorNoFacebookID: return 5 + case .errorPlayerNotFound: return 6 case .UNRECOGNIZED(let i): return i } } } - public enum GmmRoadPriority: SwiftProtobuf.Enum { - public typealias RawValue = Int - case priorityNone // = 0 - case priorityTerminal // = 1 - case priorityLocal // = 2 - case priorityMinorArterial // = 3 - case priorityMajorArterial // = 4 - case prioritySecondaryRoad // = 5 - case priorityPrimaryHighway // = 6 - case priorityLimitedAccess // = 7 - case priorityControlledAccess // = 8 - case priorityNonTraffic // = 9 - case UNRECOGNIZED(Int) + public struct FacebookFriendProto { + // 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. - public init() { - self = .priorityNone + public var player: InternalPlayerSummaryProto { + get {return _player ?? InternalPlayerSummaryProto()} + set {_player = newValue} } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .priorityNone - case 1: self = .priorityTerminal - case 2: self = .priorityLocal - case 3: self = .priorityMinorArterial - case 4: self = .priorityMajorArterial - case 5: self = .prioritySecondaryRoad - case 6: self = .priorityPrimaryHighway - case 7: self = .priorityLimitedAccess - case 8: self = .priorityControlledAccess - case 9: self = .priorityNonTraffic - default: self = .UNRECOGNIZED(rawValue) - } - } + public var fullName: String = String() - public var rawValue: Int { - switch self { - case .priorityNone: return 0 - case .priorityTerminal: return 1 - case .priorityLocal: return 2 - case .priorityMinorArterial: return 3 - case .priorityMajorArterial: return 4 - case .prioritySecondaryRoad: return 5 - case .priorityPrimaryHighway: return 6 - case .priorityLimitedAccess: return 7 - case .priorityControlledAccess: return 8 - case .priorityNonTraffic: return 9 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + fileprivate var _player: InternalPlayerSummaryProto? = nil } public init() {} @@ -83116,85 +84429,88 @@ public struct LayerRule { #if swift(>=4.2) -extension LayerRule.GmmLayerType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LayerRule.GmmLayerType] = [ - .area, - .road, - .building, - .lineMesh, - ] -} - -extension LayerRule.GmmRoadPriority: CaseIterable { +extension InternalGetFacebookFriendListOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LayerRule.GmmRoadPriority] = [ - .priorityNone, - .priorityTerminal, - .priorityLocal, - .priorityMinorArterial, - .priorityMajorArterial, - .prioritySecondaryRoad, - .priorityPrimaryHighway, - .priorityLimitedAccess, - .priorityControlledAccess, - .priorityNonTraffic, + public static var allCases: [InternalGetFacebookFriendListOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorFacebookApi, + .errorFacebookPermissions, + .errorNoFacebookID, + .errorPlayerNotFound, ] } #endif // swift(>=4.2) -public struct LeagueIdMismatchDataProto { +public struct InternalGetFacebookFriendListProto { // 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. - public var obString: String = String() + public var fbAccessToken: String = String() + + public var limit: Int32 = 0 - public var type: ObCombatMismatchData.MismatchState.TypeEnum = .noType + public var cursor: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LeaveBuddyMultiplayerSessionOutProto { +public struct InternalGetFitnessReportOutProto { // 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. - public var result: LeaveBuddyMultiplayerSessionOutProto.Result = .leaveSuccess + public var status: InternalGetFitnessReportOutProto.Status = .unset + + public var dailyReports: [InternalFitnessReportProto] = [] + + public var weeklyReports: [InternalFitnessReportProto] = [] + + public var weekResetTimestampSinceMondayMs: Int64 = 0 + + public var hourlyReports: [InternalFitnessReportProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case leaveSuccess // = 0 - case leaveNotInLobby // = 1 - case leaveLobbyNotFound // = 2 - case leaveUnknownError // = 3 + case unset // = 0 + case success // = 1 + case errorPlayerNotFound // = 2 + case errorRecordsNotFound // = 3 + case errorInvalidWindow // = 4 + case errorUnknown // = 5 case UNRECOGNIZED(Int) public init() { - self = .leaveSuccess + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .leaveSuccess - case 1: self = .leaveNotInLobby - case 2: self = .leaveLobbyNotFound - case 3: self = .leaveUnknownError + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPlayerNotFound + case 3: self = .errorRecordsNotFound + case 4: self = .errorInvalidWindow + case 5: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .leaveSuccess: return 0 - case .leaveNotInLobby: return 1 - case .leaveLobbyNotFound: return 2 - case .leaveUnknownError: return 3 + case .unset: return 0 + case .success: return 1 + case .errorPlayerNotFound: return 2 + case .errorRecordsNotFound: return 3 + case .errorInvalidWindow: return 4 + case .errorUnknown: return 5 case .UNRECOGNIZED(let i): return i } } @@ -83206,81 +84522,44 @@ public struct LeaveBuddyMultiplayerSessionOutProto { #if swift(>=4.2) -extension LeaveBuddyMultiplayerSessionOutProto.Result: CaseIterable { +extension InternalGetFitnessReportOutProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LeaveBuddyMultiplayerSessionOutProto.Result] = [ - .leaveSuccess, - .leaveNotInLobby, - .leaveLobbyNotFound, - .leaveUnknownError, + public static var allCases: [InternalGetFitnessReportOutProto.Status] = [ + .unset, + .success, + .errorPlayerNotFound, + .errorRecordsNotFound, + .errorInvalidWindow, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct LeaveBuddyMultiplayerSessionProto { - // 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. - - public var plfeSessionID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LeaveInteractionRangeTelemetry { +public struct InternalGetFitnessReportProto { // 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. - public var result: String = String() - - public var fortID: String = String() - - public var fortType: Int32 = 0 - - public var clientTimestamp: Int64 = 0 - - public var partnerID: String = String() - - public var timeSpent: Int64 = 0 - - public var campaignID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var numOfDays: Int32 = 0 -public struct LeaveLobbyDataProto { - // 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. + public var numOfWeeks: Int32 = 0 - public var obInt32: Int32 = 0 + public var numOfHours: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LeaveLobbyOutProto { +public struct InternalGetFriendCodeOutProto { // 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. - public var result: LeaveLobbyOutProto.Result = .unset + public var result: InternalGetFriendCodeOutProto.Result = .unset - public var lobby: LobbyProto { - get {return _lobby ?? LobbyProto()} - set {_lobby = newValue} - } - /// Returns true if `lobby` has been explicitly set. - public var hasLobby: Bool {return self._lobby != nil} - /// Clears the value of `lobby`. Subsequent reads from it will return its default value. - public mutating func clearLobby() {self._lobby = nil} + public var friendCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -83288,8 +84567,7 @@ public struct LeaveLobbyOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorRaidUnavailable // = 2 - case errorLobbyNotFound // = 3 + case error // = 2 case UNRECOGNIZED(Int) public init() { @@ -83300,8 +84578,7 @@ public struct LeaveLobbyOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorRaidUnavailable - case 3: self = .errorLobbyNotFound + case 2: self = .error default: self = .UNRECOGNIZED(rawValue) } } @@ -83310,8 +84587,7 @@ public struct LeaveLobbyOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorRaidUnavailable: return 2 - case .errorLobbyNotFound: return 3 + case .error: return 2 case .UNRECOGNIZED(let i): return i } } @@ -83319,126 +84595,50 @@ public struct LeaveLobbyOutProto { } public init() {} - - fileprivate var _lobby: LobbyProto? = nil } #if swift(>=4.2) -extension LeaveLobbyOutProto.Result: CaseIterable { +extension InternalGetFriendCodeOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LeaveLobbyOutProto.Result] = [ + public static var allCases: [InternalGetFriendCodeOutProto.Result] = [ .unset, .success, - .errorRaidUnavailable, - .errorLobbyNotFound, + .error, ] } #endif // swift(>=4.2) -public struct LeaveLobbyProto { - // 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. - - public var raidSeed: Int64 = 0 - - public var gymID: String = String() - - public var lobbyID: [Int32] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LeaveLobbyResponseDataProto { - // 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. - - public var result: LeaveLobbyOutProto.Result = .unset - - public var obInt32: Int32 = 0 - - public var obUint32: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LeavePointOfInterestTelemetry { - // 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. - - public var result: String = String() - - public var fortID: String = String() - - public var fortType: Int32 = 0 - - public var clientTimestamp: Int64 = 0 - - public var partnerID: String = String() - - public var timeSpent: Int64 = 0 - - public var campaignID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LegalHold { - // 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. - - public var legalHoldValue: Bool = false - - public var startingTimestampMs: Int64 = 0 - - public var endingTimestampMs: Int64 = 0 - - public var reason: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LevelSettingsProto { +public struct InternalGetFriendCodeProto { // 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. - public var trainerCpModifier: Double = 0 - - public var trainerDifficultyModifier: Double = 0 + public var forceGenerateCode: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LevelUpRewardsOutProto { +public struct InternalGetFriendDetailsOutProto { // 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. - public var result: LevelUpRewardsOutProto.Result = .unset - - public var items: [AwardItemProto] = [] - - public var itemsUnlocked: [Item] = [] + public var result: InternalGetFriendDetailsOutProto.Result = .unset - public var avatarTemplateIds: [String] = [] + public var friend: [InternalFriendDetailsProto] = [] - public var obInt32: Int32 = 0 + public var friendDetailsDebugInfo: InternalGetFriendDetailsOutProto.DebugProto { + get {return _friendDetailsDebugInfo ?? InternalGetFriendDetailsOutProto.DebugProto()} + set {_friendDetailsDebugInfo = newValue} + } + /// Returns true if `friendDetailsDebugInfo` has been explicitly set. + public var hasFriendDetailsDebugInfo: Bool {return self._friendDetailsDebugInfo != nil} + /// Clears the value of `friendDetailsDebugInfo`. Subsequent reads from it will return its default value. + public mutating func clearFriendDetailsDebugInfo() {self._friendDetailsDebugInfo = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -83446,7 +84646,8 @@ public struct LevelUpRewardsOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case awardedAlready // = 2 + case errorUnknown // = 2 + case exceedsMaxPlayersPerQuery // = 3 case UNRECOGNIZED(Int) public init() { @@ -83457,7 +84658,8 @@ public struct LevelUpRewardsOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .awardedAlready + case 2: self = .errorUnknown + case 3: self = .exceedsMaxPlayersPerQuery default: self = .UNRECOGNIZED(rawValue) } } @@ -83466,179 +84668,119 @@ public struct LevelUpRewardsOutProto { switch self { case .unset: return 0 case .success: return 1 - case .awardedAlready: return 2 + case .errorUnknown: return 2 + case .exceedsMaxPlayersPerQuery: return 3 case .UNRECOGNIZED(let i): return i } } } - public init() {} -} - -#if swift(>=4.2) - -extension LevelUpRewardsOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LevelUpRewardsOutProto.Result] = [ - .unset, - .success, - .awardedAlready, - ] -} + public struct DebugProto { + // 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. -#endif // swift(>=4.2) + public var fetchedFromDb: Int32 = 0 -public struct LevelUpRewardsProto { - // 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. + public var fetchedFromFanout: Int32 = 0 - public var level: Int32 = 0 + public var fetchedFromPlayerMapper: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var fetchedFromStatusCache: Int32 = 0 - public init() {} -} + public var failedToFetch: Int32 = 0 -public struct LevelUpRewardsSettingsProto { - // 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. + public var fetchedFromSameServerAsPlayer: Int32 = 0 - public var level: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var items: [Item] = [] + public struct Callee { + // 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. - public var itemsCount: [Int32] = [] + public var playerID: String = String() - public var itemsUnlocked: [Item] = [] + public var niaAccountID: String = String() - public var avatarTemplateIds: [String] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obInt32: Int32 = 0 + public init() {} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} -} - -public struct LeveledUpFriendsProto { - // 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. - public var friendProfiles: [PlayerPublicProfileProto] = [] - - public var friendMilestoneLevels: [FriendshipLevelDataProto] = [] + fileprivate var _friendDetailsDebugInfo: InternalGetFriendDetailsOutProto.DebugProto? = nil +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalGetFriendDetailsOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetFriendDetailsOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .exceedsMaxPlayersPerQuery, + ] } -public struct LightshipServiceEvent { +#endif // swift(>=4.2) + +public struct InternalGetFriendDetailsProto { // 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. - public var apiMethodName: String = String() - - public var isRequest: Bool = false - - public var response: String = String() + public var playerID: [String] = [] - public var success: Bool = false + public var niaAccountID: [String] = [] - public var httpStatus: String = String() + public var includeOnlineStatus: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LimitedEditionPokemonEncounterRewardProto { +public struct InternalGetFriendDetailsRequest { // 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. - public var limit: LimitedEditionPokemonEncounterRewardProto.OneOf_Limit? = nil - - public var lifetimeMaxCount: Int32 { - get { - if case .lifetimeMaxCount(let v)? = limit {return v} - return 0 - } - set {limit = .lifetimeMaxCount(newValue)} - } - - public var perCompetitiveCombatSeasonMaxCount: Int32 { - get { - if case .perCompetitiveCombatSeasonMaxCount(let v)? = limit {return v} - return 0 - } - set {limit = .perCompetitiveCombatSeasonMaxCount(newValue)} - } + public var friendID: [String] = [] - public var pokemon: PokemonEncounterRewardProto { - get {return _pokemon ?? PokemonEncounterRewardProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} + public var feature: InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType = .unset - public var identifier: String = String() + public var friendNiaAccountID: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Limit: Equatable { - case lifetimeMaxCount(Int32) - case perCompetitiveCombatSeasonMaxCount(Int32) - - #if !swift(>=4.1) - public static func ==(lhs: LimitedEditionPokemonEncounterRewardProto.OneOf_Limit, rhs: LimitedEditionPokemonEncounterRewardProto.OneOf_Limit) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.lifetimeMaxCount, .lifetimeMaxCount): return { - guard case .lifetimeMaxCount(let l) = lhs, case .lifetimeMaxCount(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.perCompetitiveCombatSeasonMaxCount, .perCompetitiveCombatSeasonMaxCount): return { - guard case .perCompetitiveCombatSeasonMaxCount(let l) = lhs, case .perCompetitiveCombatSeasonMaxCount(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - public init() {} - - fileprivate var _pokemon: PokemonEncounterRewardProto? = nil } -public struct LimitedPurchaseSkuRecordProto { +public struct InternalGetFriendDetailsResponse { // 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. - public var purchases: Dictionary = [:] + public var result: InternalGetFriendDetailsResponse.Result = .unset + + public var friendDetails: [InternalGetFriendDetailsResponse.FriendDetailsEntryProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ChronoUnit: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case minute // = 1 - case hour // = 2 - case day // = 3 - case week // = 4 - case month // = 5 + case success // = 1 + case errorUnknown // = 2 + case errorExceedsMaxFriendsPerQuery // = 3 + case errorFeatureDisabled // = 4 case UNRECOGNIZED(Int) public init() { @@ -83648,11 +84790,10 @@ public struct LimitedPurchaseSkuRecordProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .minute - case 2: self = .hour - case 3: self = .day - case 4: self = .week - case 5: self = .month + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorExceedsMaxFriendsPerQuery + case 4: self = .errorFeatureDisabled default: self = .UNRECOGNIZED(rawValue) } } @@ -83660,139 +84801,191 @@ public struct LimitedPurchaseSkuRecordProto { public var rawValue: Int { switch self { case .unset: return 0 - case .minute: return 1 - case .hour: return 2 - case .day: return 3 - case .week: return 4 - case .month: return 5 + case .success: return 1 + case .errorUnknown: return 2 + case .errorExceedsMaxFriendsPerQuery: return 3 + case .errorFeatureDisabled: return 4 case .UNRECOGNIZED(let i): return i } } } - public struct PurchaseProto { + public struct FriendDetailsEntryProto { // 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. - public var version: Int32 = 0 + public var playerID: String { + get {return _storage._playerID} + set {_uniqueStorage()._playerID = newValue} + } - public var numPurchases: Int32 = 0 - - public var lastPurchaseMs: Int64 = 0 - - public var totalNumPurchases: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var profile: InternalProfileDetailsProto { + get {return _storage._profile ?? InternalProfileDetailsProto()} + set {_uniqueStorage()._profile = newValue} + } + /// Returns true if `profile` has been explicitly set. + public var hasProfile: Bool {return _storage._profile != nil} + /// Clears the value of `profile`. Subsequent reads from it will return its default value. + public mutating func clearProfile() {_uniqueStorage()._profile = nil} - public init() {} - } + public var playerStatus: InternalGetFriendDetailsResponse.PlayerStatusDetailsProto { + get {return _storage._playerStatus ?? InternalGetFriendDetailsResponse.PlayerStatusDetailsProto()} + set {_uniqueStorage()._playerStatus = newValue} + } + /// Returns true if `playerStatus` has been explicitly set. + public var hasPlayerStatus: Bool {return _storage._playerStatus != nil} + /// Clears the value of `playerStatus`. Subsequent reads from it will return its default value. + public mutating func clearPlayerStatus() {_uniqueStorage()._playerStatus = nil} - public init() {} -} + public var callingGameData: InternalFriendDetailsProto { + get {return _storage._callingGameData ?? InternalFriendDetailsProto()} + set {_uniqueStorage()._callingGameData = newValue} + } + /// Returns true if `callingGameData` has been explicitly set. + public var hasCallingGameData: Bool {return _storage._callingGameData != nil} + /// Clears the value of `callingGameData`. Subsequent reads from it will return its default value. + public mutating func clearCallingGameData() {_uniqueStorage()._callingGameData = nil} -#if swift(>=4.2) + public var outgoingGameInviteStatus: [InternalGetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus] { + get {return _storage._outgoingGameInviteStatus} + set {_uniqueStorage()._outgoingGameInviteStatus = newValue} + } -extension LimitedPurchaseSkuRecordProto.ChronoUnit: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LimitedPurchaseSkuRecordProto.ChronoUnit] = [ - .unset, - .minute, - .hour, - .day, - .week, - .month, - ] -} + public var niaAccountID: String { + get {return _storage._niaAccountID} + set {_uniqueStorage()._niaAccountID = newValue} + } -#endif // swift(>=4.2) + public var garAccountInfo: InternalGarAccountInfoProto { + get {return _storage._garAccountInfo ?? InternalGarAccountInfoProto()} + set {_uniqueStorage()._garAccountInfo = newValue} + } + /// Returns true if `garAccountInfo` has been explicitly set. + public var hasGarAccountInfo: Bool {return _storage._garAccountInfo != nil} + /// Clears the value of `garAccountInfo`. Subsequent reads from it will return its default value. + public mutating func clearGarAccountInfo() {_uniqueStorage()._garAccountInfo = nil} -public struct LimitedPurchaseSkuSettingsProto { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var purchaseLimit: Int32 = 0 + public struct OutgoingGameInviteStatus { + // 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. - public var version: Int32 = 0 + public var appKey: String = String() - public var chronoUnit: LimitedPurchaseSkuRecordProto.ChronoUnit = .unset + public var invitationStatus: InternalSocialV2Enum.InvitationStatus = .unset - public var lootTableID: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var resetInterval: Int32 = 0 + public init() {} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} - public init() {} -} + fileprivate var _storage = _StorageClass.defaultInstance + } -public struct LineProto { - // 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. + public struct PlayerStatusDetailsProto { + // 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. - public var vertex: [PointProto] = [] + public var result: InternalGetFriendDetailsResponse.PlayerStatusDetailsProto.Result = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var onlineStatus: InternalSocialV2Enum.OnlineStatus = .statusUnset - public init() {} -} + public var lastPlayedAppKey: String = String() -public struct LinkLoginTelemetry { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var linked: Bool = false + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorStatusUnknown // = 3 + case errorStaleData // = 4 + case UNRECOGNIZED(Int) - public var success: String = String() + public init() { + self = .unset + } - public var error: String = String() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorStatusUnknown + case 4: self = .errorStaleData + default: self = .UNRECOGNIZED(rawValue) + } + } - public var activeAuthProviderID: String = String() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorStatusUnknown: return 3 + case .errorStaleData: return 4 + case .UNRECOGNIZED(let i): return i + } + } - public var provider: String = String() + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} } -public struct LinkToAccountLoginRequestProto { - // 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. - - public var newAuthToken: Data = Data() - - public var newAuthProviderID: String = String() +#if swift(>=4.2) - public var unknownFields = SwiftProtobuf.UnknownStorage() +extension InternalGetFriendDetailsResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetFriendDetailsResponse.Result] = [ + .unset, + .success, + .errorUnknown, + .errorExceedsMaxFriendsPerQuery, + .errorFeatureDisabled, + ] +} - public init() {} +extension InternalGetFriendDetailsResponse.PlayerStatusDetailsProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetFriendDetailsResponse.PlayerStatusDetailsProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorStatusUnknown, + .errorStaleData, + ] } -public struct LinkToAccountLoginResponseProto { +#endif // swift(>=4.2) + +public struct InternalGetFriendsListOutProto { // 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. - public var success: Bool = false + public var result: InternalGetFriendsListOutProto.Result = .unset - public var status: LinkToAccountLoginResponseProto.Status = .unset + public var friend: [InternalGetFriendsListOutProto.FriendProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case unknownError // = 1 - case authFailure // = 2 - case loginTaken // = 3 - case guestLoginDisabled // = 4 - case successAlreadyLinked // = 5 + case success // = 1 + case errorUnknown // = 2 case UNRECOGNIZED(Int) public init() { @@ -83802,11 +84995,8 @@ public struct LinkToAccountLoginResponseProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .unknownError - case 2: self = .authFailure - case 3: self = .loginTaken - case 4: self = .guestLoginDisabled - case 5: self = .successAlreadyLinked + case 1: self = .success + case 2: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -83814,216 +85004,103 @@ public struct LinkToAccountLoginResponseProto { public var rawValue: Int { switch self { case .unset: return 0 - case .unknownError: return 1 - case .authFailure: return 2 - case .loginTaken: return 3 - case .guestLoginDisabled: return 4 - case .successAlreadyLinked: return 5 + case .success: return 1 + case .errorUnknown: return 2 case .UNRECOGNIZED(let i): return i } } } - public init() {} -} - -#if swift(>=4.2) - -extension LinkToAccountLoginResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LinkToAccountLoginResponseProto.Status] = [ - .unset, - .unknownError, - .authFailure, - .loginTaken, - .guestLoginDisabled, - .successAlreadyLinked, - ] -} + public struct FriendProto { + // 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. -#endif // swift(>=4.2) + public var playerID: String = String() -public struct LiquidAttribute { - // 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. + public var codename: String = String() - public var value: LiquidAttribute.OneOf_Value? = nil + public var team: String = String() - public var intValue: Int64 { - get { - if case .intValue(let v)? = value {return v} - return 0 - } - set {value = .intValue(newValue)} - } + public var score: Int32 = 0 - public var doubleValue: Double { - get { - if case .doubleValue(let v)? = value {return v} - return 0 - } - set {value = .doubleValue(newValue)} - } + public var dataWithMe: Data = Data() - public var stringValue: String { - get { - if case .stringValue(let v)? = value {return v} - return String() - } - set {value = .stringValue(newValue)} - } + public var version: Int64 = 0 - public var boolValue: Bool { - get { - if case .boolValue(let v)? = value {return v} - return false - } - set {value = .boolValue(newValue)} - } + public var createdMs: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var fbUserID: String = String() - public enum OneOf_Value: Equatable { - case intValue(Int64) - case doubleValue(Double) - case stringValue(String) - case boolValue(Bool) + public var isFacebookFriendship: Bool = false - #if !swift(>=4.1) - public static func ==(lhs: LiquidAttribute.OneOf_Value, rhs: LiquidAttribute.OneOf_Value) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.intValue, .intValue): return { - guard case .intValue(let l) = lhs, case .intValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.doubleValue, .doubleValue): return { - guard case .doubleValue(let l) = lhs, case .doubleValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.stringValue, .stringValue): return { - guard case .stringValue(let l) = lhs, case .stringValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.boolValue, .boolValue): return { - guard case .boolValue(let l) = lhs, case .boolValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } + public var sharedData: InternalGetFriendsListOutProto.SharedFriendshipProto { + get {return _sharedData ?? InternalGetFriendsListOutProto.SharedFriendshipProto()} + set {_sharedData = newValue} } - #endif - } - - public init() {} -} - -public struct ListAvatarCustomizationsOutProto { - // 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. - - public var result: ListAvatarCustomizationsOutProto.Result = .unset + /// Returns true if `sharedData` has been explicitly set. + public var hasSharedData: Bool {return self._sharedData != nil} + /// Clears the value of `sharedData`. Subsequent reads from it will return its default value. + public mutating func clearSharedData() {self._sharedData = nil} - public var avatarCustomizations: [ListAvatarCustomizationsOutProto.AvatarCustomization] = [] + public var onlineStatus: InternalGetFriendsListOutProto.FriendProto.OnlineStatus = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var niaAccountID: String = String() - public enum Label: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetLabel // = 0 - case `default` // = 1 - case owned // = 2 - case featured // = 3 - case new // = 4 - case sale // = 5 - case purchasable // = 6 - case unlockable // = 7 - case viewed // = 8 - case lockedPurchasable // = 9 - case UNRECOGNIZED(Int) + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() { - self = .unsetLabel - } + public enum OnlineStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case statusUnknown // = 1 + case statusOnline // = 2 + case statusOffline // = 3 + case UNRECOGNIZED(Int) - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetLabel - case 1: self = .default - case 2: self = .owned - case 3: self = .featured - case 4: self = .new - case 5: self = .sale - case 6: self = .purchasable - case 7: self = .unlockable - case 8: self = .viewed - case 9: self = .lockedPurchasable - default: self = .UNRECOGNIZED(rawValue) + public init() { + self = .unset } - } - public var rawValue: Int { - switch self { - case .unsetLabel: return 0 - case .default: return 1 - case .owned: return 2 - case .featured: return 3 - case .new: return 4 - case .sale: return 5 - case .purchasable: return 6 - case .unlockable: return 7 - case .viewed: return 8 - case .lockedPurchasable: return 9 - case .UNRECOGNIZED(let i): return i + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .statusUnknown + case 2: self = .statusOnline + case 3: self = .statusOffline + default: self = .UNRECOGNIZED(rawValue) + } } - } - - } - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) + public var rawValue: Int { + switch self { + case .unset: return 0 + case .statusUnknown: return 1 + case .statusOnline: return 2 + case .statusOffline: return 3 + case .UNRECOGNIZED(let i): return i + } } - } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } } + public init() {} + + fileprivate var _sharedData: InternalGetFriendsListOutProto.SharedFriendshipProto? = nil } - public struct AvatarCustomization { + public struct SharedFriendshipProto { // 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. - public var avatarTemplateID: String = String() + public var sharedData: Data = Data() - public var labels: [ListAvatarCustomizationsOutProto.Label] = [] + public var version: Int64 = 0 + + public var dataFromMe: Data = Data() + + public var dataToMe: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -84035,59 +85112,69 @@ public struct ListAvatarCustomizationsOutProto { #if swift(>=4.2) -extension ListAvatarCustomizationsOutProto.Label: CaseIterable { +extension InternalGetFriendsListOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ListAvatarCustomizationsOutProto.Label] = [ - .unsetLabel, - .default, - .owned, - .featured, - .new, - .sale, - .purchasable, - .unlockable, - .viewed, - .lockedPurchasable, + public static var allCases: [InternalGetFriendsListOutProto.Result] = [ + .unset, + .success, + .errorUnknown, ] } -extension ListAvatarCustomizationsOutProto.Result: CaseIterable { +extension InternalGetFriendsListOutProto.FriendProto.OnlineStatus: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ListAvatarCustomizationsOutProto.Result] = [ + public static var allCases: [InternalGetFriendsListOutProto.FriendProto.OnlineStatus] = [ .unset, - .success, - .failure, + .statusUnknown, + .statusOnline, + .statusOffline, ] } #endif // swift(>=4.2) -public struct ListAvatarCustomizationsProto { +public struct InternalGetFriendsListProto { // 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. - public var avatarType: PlayerAvatarType = .playerAvatarMale + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var slot: [AvatarCustomizationProto.Slot] = [] + public init() {} +} - public var filters: [ListAvatarCustomizationsProto.Filter] = [] +public struct InternalGetInboxV2Proto { + // 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. - public var start: Int32 = 0 + public var isHistory: Bool = false - public var limit: Int32 = 0 + public var isReverse: Bool = false + + public var notBeforeMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Filter: SwiftProtobuf.Enum { + public init() {} +} + +public struct InternalGetIncomingFriendInvitesOutProto { + // 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. + + public var result: InternalGetIncomingFriendInvitesOutProto.Result = .unset + + public var invites: [InternalIncomingFriendInviteDisplayProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case all // = 1 - case `default` // = 2 - case owned // = 3 - case featured // = 4 - case purchasable // = 5 - case unlockable // = 6 + case success // = 1 + case errorUnknown // = 2 case UNRECOGNIZED(Int) public init() { @@ -84097,12 +85184,8 @@ public struct ListAvatarCustomizationsProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .all - case 2: self = .default - case 3: self = .owned - case 4: self = .featured - case 5: self = .purchasable - case 6: self = .unlockable + case 1: self = .success + case 2: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -84110,12 +85193,8 @@ public struct ListAvatarCustomizationsProto { public var rawValue: Int { switch self { case .unset: return 0 - case .all: return 1 - case .default: return 2 - case .owned: return 3 - case .featured: return 4 - case .purchasable: return 5 - case .unlockable: return 6 + case .success: return 1 + case .errorUnknown: return 2 case .UNRECOGNIZED(let i): return i } } @@ -84127,41 +85206,45 @@ public struct ListAvatarCustomizationsProto { #if swift(>=4.2) -extension ListAvatarCustomizationsProto.Filter: CaseIterable { +extension InternalGetIncomingFriendInvitesOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ListAvatarCustomizationsProto.Filter] = [ + public static var allCases: [InternalGetIncomingFriendInvitesOutProto.Result] = [ .unset, - .all, - .default, - .owned, - .featured, - .purchasable, - .unlockable, + .success, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct ListFriendsRequest { +public struct InternalGetIncomingFriendInvitesProto { // 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. - public var feature: SocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct InternalGetIncomingGameInvitesRequest { + // 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. public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ListFriendsResponse { +public struct InternalGetIncomingGameInvitesResponse { // 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. - public var result: ListFriendsResponse.Result = .unset + public var invites: [InternalGetIncomingGameInvitesResponse.IncomingGameInvite] = [] - public var friendSummary: [ListFriendsResponse.FriendSummaryProto] = [] + public var result: InternalGetIncomingGameInvitesResponse.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -84199,85 +85282,24 @@ public struct ListFriendsResponse { } - public struct FriendSummaryProto { - // 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. - - public var playerID: String = String() - - public var isCallingAppFriend: Bool = false - - public var callingGameData: GetFriendsListOutProto.FriendProto { - get {return _callingGameData ?? GetFriendsListOutProto.FriendProto()} - set {_callingGameData = newValue} - } - /// Returns true if `callingGameData` has been explicitly set. - public var hasCallingGameData: Bool {return self._callingGameData != nil} - /// Clears the value of `callingGameData`. Subsequent reads from it will return its default value. - public mutating func clearCallingGameData() {self._callingGameData = nil} - - public var profile: ListFriendsResponse.ProfileSummaryProto { - get {return _profile ?? ListFriendsResponse.ProfileSummaryProto()} - set {_profile = newValue} - } - /// Returns true if `profile` has been explicitly set. - public var hasProfile: Bool {return self._profile != nil} - /// Clears the value of `profile`. Subsequent reads from it will return its default value. - public mutating func clearProfile() {self._profile = nil} - - public var playerStatus: ListFriendsResponse.PlayerStatusSummaryProto { - get {return _playerStatus ?? ListFriendsResponse.PlayerStatusSummaryProto()} - set {_playerStatus = newValue} - } - /// Returns true if `playerStatus` has been explicitly set. - public var hasPlayerStatus: Bool {return self._playerStatus != nil} - /// Clears the value of `playerStatus`. Subsequent reads from it will return its default value. - public mutating func clearPlayerStatus() {self._playerStatus = nil} - - public var invitationStatus: SocialV2Enum.InvitationStatus = .unset - - public var niaAccountID: String = String() - - public var garAccountInfo: GarAccountInfoProto { - get {return _garAccountInfo ?? GarAccountInfoProto()} - set {_garAccountInfo = newValue} - } - /// Returns true if `garAccountInfo` has been explicitly set. - public var hasGarAccountInfo: Bool {return self._garAccountInfo != nil} - /// Clears the value of `garAccountInfo`. Subsequent reads from it will return its default value. - public mutating func clearGarAccountInfo() {self._garAccountInfo = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _callingGameData: GetFriendsListOutProto.FriendProto? = nil - fileprivate var _profile: ListFriendsResponse.ProfileSummaryProto? = nil - fileprivate var _playerStatus: ListFriendsResponse.PlayerStatusSummaryProto? = nil - fileprivate var _garAccountInfo: GarAccountInfoProto? = nil - } - - public struct PlayerStatusSummaryProto { + public struct IncomingGameInvite { // 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. - public var result: ListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult = .unset + public var appKey: String = String() - public var onlineStatus: SocialV2Enum.OnlineStatus = .statusUnset + public var friendProfileNames: [String] = [] - public var lastPlayedAppKey: String = String() + public var status: InternalGetIncomingGameInvitesResponse.IncomingGameInvite.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum PlayerStatusResult: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorStatusUnknown // = 3 - case errorStaleData // = 4 + case new // = 1 + case seen // = 2 case UNRECOGNIZED(Int) public init() { @@ -84287,10 +85309,8 @@ public struct ListFriendsResponse { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorStatusUnknown - case 4: self = .errorStaleData + case 1: self = .new + case 2: self = .seen default: self = .UNRECOGNIZED(rawValue) } } @@ -84298,10 +85318,8 @@ public struct ListFriendsResponse { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorStatusUnknown: return 3 - case .errorStaleData: return 4 + case .new: return 1 + case .seen: return 2 case .UNRECOGNIZED(let i): return i } } @@ -84311,28 +85329,14 @@ public struct ListFriendsResponse { public init() {} } - public struct ProfileSummaryProto { - // 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. - - public var name: String = String() - - public var nickname: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} } #if swift(>=4.2) -extension ListFriendsResponse.Result: CaseIterable { +extension InternalGetIncomingGameInvitesResponse.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ListFriendsResponse.Result] = [ + public static var allCases: [InternalGetIncomingGameInvitesResponse.Result] = [ .unset, .success, .errorUnknown, @@ -84340,600 +85344,168 @@ extension ListFriendsResponse.Result: CaseIterable { ] } -extension ListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult: CaseIterable { +extension InternalGetIncomingGameInvitesResponse.IncomingGameInvite.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult] = [ + public static var allCases: [InternalGetIncomingGameInvitesResponse.IncomingGameInvite.Status] = [ .unset, - .success, - .errorUnknown, - .errorStatusUnknown, - .errorStaleData, + .new, + .seen, ] } #endif // swift(>=4.2) -public struct ListGymBadgesOutProto { - // 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. - - public var gymBadge: [AwardedGymBadge] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ListGymBadgesProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ListLoginActionOutProto { - // 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. - - public var success: Bool = false - - public var loginDetail: [LoginDetail] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ListLoginActionProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ListRouteBadgesOutProto { - // 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. - - public var routeBadges: [RouteBadgeListEntry] = [] - - public var obRouteBadgesInfoData: [AwardedRouteBadge] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ListRouteBadgesProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ListValue { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LoadingScreenProto { - // 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. - - public var url: String = String() - - public var displayAfterTimestampMs: Int64 = 0 - - public var colorSettings: Dictionary = [:] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LobbyAvailabilityProto { - // 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. - - public var available: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LobbyClientSettingsProto { - // 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. - - public var lobbyRefreshIntervalMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LobbyPokemonProto { - // 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. - - public var id: Int64 = 0 - - public var pokedexID: HoloPokemonId = .missingno - - public var cp: Int32 = 0 - - public var percentHealth: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LobbyProto { - // 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. - - public var lobbyID: [Int32] = [] - - public var players: [BattleParticipantProto] = [] - - public var playerJoinEndMs: Int64 = 0 - - public var pokemonSelectionEndMs: Int64 = 0 - - public var raidBattleStartMs: Int64 = 0 - - public var raidBattleEndMs: Int64 = 0 - - public var raidBattleID: String = String() - - public var ownerNickname: String = String() - - public var `private`: Bool = false - - public var creationMs: Int64 = 0 - - public var battlePlfeInstance: Int32 = 0 - - public var weatherCondition: GameplayWeatherProto.WeatherCondition = .none - - public var invitedPlayerIds: [String] = [] - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LobbyVisibilityDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LobbyVisibilityResponseDataProto { - // 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. - - public var result: SetLobbyVisibilityOutProto.Result = .unset - - public var obInt32: Int32 = 0 - - public var obUint32: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LocationCardDisplayProto { - // 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. - - public var locationCard: LocationCard = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LocationCardFeatureSettingsProto { - // 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. - - public var enabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct LocationCardSettingsProto { +public struct InternalGetMyAccountRequest { // 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. - public var locationCard: LocationCard = .unset - - public var imageURL: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LocationData { +public struct InternalGetMyAccountResponse { // 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. - public var format: LocationData.Format { - get {return _format ?? .global} - set {_format = newValue} - } - /// Returns true if `format` has been explicitly set. - public var hasFormat: Bool {return self._format != nil} - /// Clears the value of `format`. Subsequent reads from it will return its default value. - public mutating func clearFormat() {self._format = nil} - - public var boundingBox: LocationData.BoundingBox { - get {return _boundingBox ?? LocationData.BoundingBox()} - set {_boundingBox = newValue} - } - /// Returns true if `boundingBox` has been explicitly set. - public var hasBoundingBox: Bool {return self._boundingBox != nil} - /// Clears the value of `boundingBox`. Subsequent reads from it will return its default value. - public mutating func clearBoundingBox() {self._boundingBox = nil} + public var status: InternalGetMyAccountResponse.Status = .unset - public var relativeBoundingBox: LocationData.RelativeBoundingBox { - get {return _relativeBoundingBox ?? LocationData.RelativeBoundingBox()} - set {_relativeBoundingBox = newValue} - } - /// Returns true if `relativeBoundingBox` has been explicitly set. - public var hasRelativeBoundingBox: Bool {return self._relativeBoundingBox != nil} - /// Clears the value of `relativeBoundingBox`. Subsequent reads from it will return its default value. - public mutating func clearRelativeBoundingBox() {self._relativeBoundingBox = nil} + public var contact: [InternalGetMyAccountResponse.ContactProto] = [] - public var mask: LocationData.BinaryMask { - get {return _mask ?? LocationData.BinaryMask()} - set {_mask = newValue} - } - /// Returns true if `mask` has been explicitly set. - public var hasMask: Bool {return self._mask != nil} - /// Clears the value of `mask`. Subsequent reads from it will return its default value. - public mutating func clearMask() {self._mask = nil} + public var fullName: String = String() - public var relativeKeypoints: [LocationData.RelativeKeypoint] = [] + public var contactImportDiscoverabilityConsent: InternalAccountContactSettings.ConsentStatus = .unknown public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Format: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case global // = 0 - case boundingBox // = 1 - case relativeBoundingBox // = 2 - case mask // = 3 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorNotFound // = 3 case UNRECOGNIZED(Int) public init() { - self = .global + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .global - case 1: self = .boundingBox - case 2: self = .relativeBoundingBox - case 3: self = .mask + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorNotFound default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .global: return 0 - case .boundingBox: return 1 - case .relativeBoundingBox: return 2 - case .mask: return 3 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorNotFound: return 3 case .UNRECOGNIZED(let i): return i } } } - public struct BoundingBox { - // 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. - - public var xmin: Int32 { - get {return _xmin ?? 0} - set {_xmin = newValue} - } - /// Returns true if `xmin` has been explicitly set. - public var hasXmin: Bool {return self._xmin != nil} - /// Clears the value of `xmin`. Subsequent reads from it will return its default value. - public mutating func clearXmin() {self._xmin = nil} - - public var ymin: Int32 { - get {return _ymin ?? 0} - set {_ymin = newValue} - } - /// Returns true if `ymin` has been explicitly set. - public var hasYmin: Bool {return self._ymin != nil} - /// Clears the value of `ymin`. Subsequent reads from it will return its default value. - public mutating func clearYmin() {self._ymin = nil} - - public var width: Int32 { - get {return _width ?? 0} - set {_width = newValue} - } - /// Returns true if `width` has been explicitly set. - public var hasWidth: Bool {return self._width != nil} - /// Clears the value of `width`. Subsequent reads from it will return its default value. - public mutating func clearWidth() {self._width = nil} - - public var height: Int32 { - get {return _height ?? 0} - set {_height = newValue} - } - /// Returns true if `height` has been explicitly set. - public var hasHeight: Bool {return self._height != nil} - /// Clears the value of `height`. Subsequent reads from it will return its default value. - public mutating func clearHeight() {self._height = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _xmin: Int32? = nil - fileprivate var _ymin: Int32? = nil - fileprivate var _width: Int32? = nil - fileprivate var _height: Int32? = nil - } - - public struct RelativeBoundingBox { - // 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. - - public var xmin: Float { - get {return _xmin ?? 0} - set {_xmin = newValue} - } - /// Returns true if `xmin` has been explicitly set. - public var hasXmin: Bool {return self._xmin != nil} - /// Clears the value of `xmin`. Subsequent reads from it will return its default value. - public mutating func clearXmin() {self._xmin = nil} - - public var ymin: Float { - get {return _ymin ?? 0} - set {_ymin = newValue} - } - /// Returns true if `ymin` has been explicitly set. - public var hasYmin: Bool {return self._ymin != nil} - /// Clears the value of `ymin`. Subsequent reads from it will return its default value. - public mutating func clearYmin() {self._ymin = nil} - - public var width: Float { - get {return _width ?? 0} - set {_width = newValue} - } - /// Returns true if `width` has been explicitly set. - public var hasWidth: Bool {return self._width != nil} - /// Clears the value of `width`. Subsequent reads from it will return its default value. - public mutating func clearWidth() {self._width = nil} - - public var height: Float { - get {return _height ?? 0} - set {_height = newValue} - } - /// Returns true if `height` has been explicitly set. - public var hasHeight: Bool {return self._height != nil} - /// Clears the value of `height`. Subsequent reads from it will return its default value. - public mutating func clearHeight() {self._height = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _xmin: Float? = nil - fileprivate var _ymin: Float? = nil - fileprivate var _width: Float? = nil - fileprivate var _height: Float? = nil - } - - public struct BinaryMask { + public struct ContactProto { // 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. - public var width: Int32 { - get {return _width ?? 0} - set {_width = newValue} - } - /// Returns true if `width` has been explicitly set. - public var hasWidth: Bool {return self._width != nil} - /// Clears the value of `width`. Subsequent reads from it will return its default value. - public mutating func clearWidth() {self._width = nil} + public var contactID: String = String() - public var height: Int32 { - get {return _height ?? 0} - set {_height = newValue} - } - /// Returns true if `height` has been explicitly set. - public var hasHeight: Bool {return self._height != nil} - /// Clears the value of `height`. Subsequent reads from it will return its default value. - public mutating func clearHeight() {self._height = nil} + public var type: InternalGetMyAccountResponse.ContactProto.TypeEnum = .unset - public var rasterization: Rasterization { - get {return _rasterization ?? Rasterization()} - set {_rasterization = newValue} - } - /// Returns true if `rasterization` has been explicitly set. - public var hasRasterization: Bool {return self._rasterization != nil} - /// Clears the value of `rasterization`. Subsequent reads from it will return its default value. - public mutating func clearRasterization() {self._rasterization = nil} + public var contact: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} - - fileprivate var _width: Int32? = nil - fileprivate var _height: Int32? = nil - fileprivate var _rasterization: Rasterization? = nil - } - - public struct RelativeKeypoint { - // 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. + public enum TypeEnum: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case maskedPhoneNumber // = 1 + case UNRECOGNIZED(Int) - public var x: Float { - get {return _x ?? 0} - set {_x = newValue} - } - /// Returns true if `x` has been explicitly set. - public var hasX: Bool {return self._x != nil} - /// Clears the value of `x`. Subsequent reads from it will return its default value. - public mutating func clearX() {self._x = nil} + public init() { + self = .unset + } - public var y: Float { - get {return _y ?? 0} - set {_y = newValue} - } - /// Returns true if `y` has been explicitly set. - public var hasY: Bool {return self._y != nil} - /// Clears the value of `y`. Subsequent reads from it will return its default value. - public mutating func clearY() {self._y = nil} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .maskedPhoneNumber + default: self = .UNRECOGNIZED(rawValue) + } + } - public var keypointLabel: String { - get {return _keypointLabel ?? String()} - set {_keypointLabel = newValue} - } - /// Returns true if `keypointLabel` has been explicitly set. - public var hasKeypointLabel: Bool {return self._keypointLabel != nil} - /// Clears the value of `keypointLabel`. Subsequent reads from it will return its default value. - public mutating func clearKeypointLabel() {self._keypointLabel = nil} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .maskedPhoneNumber: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public var score: Float { - get {return _score ?? 0} - set {_score = newValue} } - /// Returns true if `score` has been explicitly set. - public var hasScore: Bool {return self._score != nil} - /// Clears the value of `score`. Subsequent reads from it will return its default value. - public mutating func clearScore() {self._score = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _x: Float? = nil - fileprivate var _y: Float? = nil - fileprivate var _keypointLabel: String? = nil - fileprivate var _score: Float? = nil } public init() {} - - fileprivate var _format: LocationData.Format? = nil - fileprivate var _boundingBox: LocationData.BoundingBox? = nil - fileprivate var _relativeBoundingBox: LocationData.RelativeBoundingBox? = nil - fileprivate var _mask: LocationData.BinaryMask? = nil } #if swift(>=4.2) -extension LocationData.Format: CaseIterable { +extension InternalGetMyAccountResponse.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LocationData.Format] = [ - .global, - .boundingBox, - .relativeBoundingBox, - .mask, + public static var allCases: [InternalGetMyAccountResponse.Status] = [ + .unset, + .success, + .errorUnknown, + .errorNotFound, ] } -#endif // swift(>=4.2) - -public struct LocationE6Proto { - // 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. - - public var latitudeE6: Int32 = 0 - - public var longitudeE6: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} +extension InternalGetMyAccountResponse.ContactProto.TypeEnum: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetMyAccountResponse.ContactProto.TypeEnum] = [ + .unset, + .maskedPhoneNumber, + ] } -public struct LocationPingOutProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} +#endif // swift(>=4.2) -public struct LocationPingProto { +public struct InternalGetNotificationInboxOutProto { // 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. - public var geofenceIdentifier: String = String() + public var result: InternalGetNotificationInboxOutProto.Result = .unset - public var reason: LocationPingProto.PingReason = .unset + public var inbox: InternalClientInbox { + get {return _inbox ?? InternalClientInbox()} + set {_inbox = newValue} + } + /// Returns true if `inbox` has been explicitly set. + public var hasInbox: Bool {return self._inbox != nil} + /// Clears the value of `inbox`. Subsequent reads from it will return its default value. + public mutating func clearInbox() {self._inbox = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum PingReason: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case entranceEvent // = 1 - case exitEvent // = 2 - case dwellEvent // = 3 - case visitEvent // = 4 - case fitnessWakeup // = 5 - case otherWakeup // = 6 + case success // = 1 + case failure // = 2 case UNRECOGNIZED(Int) public init() { @@ -84943,12 +85515,8 @@ public struct LocationPingProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .entranceEvent - case 2: self = .exitEvent - case 3: self = .dwellEvent - case 4: self = .visitEvent - case 5: self = .fitnessWakeup - case 6: self = .otherWakeup + case 1: self = .success + case 2: self = .failure default: self = .UNRECOGNIZED(rawValue) } } @@ -84956,12 +85524,8 @@ public struct LocationPingProto { public var rawValue: Int { switch self { case .unset: return 0 - case .entranceEvent: return 1 - case .exitEvent: return 2 - case .dwellEvent: return 3 - case .visitEvent: return 4 - case .fitnessWakeup: return 5 - case .otherWakeup: return 6 + case .success: return 1 + case .failure: return 2 case .UNRECOGNIZED(let i): return i } } @@ -84969,75 +85533,59 @@ public struct LocationPingProto { } public init() {} + + fileprivate var _inbox: InternalClientInbox? = nil } #if swift(>=4.2) -extension LocationPingProto.PingReason: CaseIterable { +extension InternalGetNotificationInboxOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LocationPingProto.PingReason] = [ + public static var allCases: [InternalGetNotificationInboxOutProto.Result] = [ .unset, - .entranceEvent, - .exitEvent, - .dwellEvent, - .visitEvent, - .fitnessWakeup, - .otherWakeup, + .success, + .failure, ] } #endif // swift(>=4.2) -public struct LogEventDropped { +public struct InternalGetOutgoingFriendInvitesOutProto { // 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. - /// A count of how many log event have been dropped on the client. - public var eventsDroppedCount: Int64 = 0 + public var result: InternalGetOutgoingFriendInvitesOutProto.Result = .unset - /// The reason why log events have been dropped on the client. - public var reason: LogEventDropped.Reason = .unknown + public var invites: [InternalOutgoingFriendInviteDisplayProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Reason: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 - case messageTooOld // = 1 - case cacheFull // = 2 - case payloadTooBig // = 3 - case maxRetriesReached // = 4 - case invalidPaylod // = 5 - case serverError // = 6 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown - case 1: self = .messageTooOld - case 2: self = .cacheFull - case 3: self = .payloadTooBig - case 4: self = .maxRetriesReached - case 5: self = .invalidPaylod - case 6: self = .serverError + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 - case .messageTooOld: return 1 - case .cacheFull: return 2 - case .payloadTooBig: return 3 - case .maxRetriesReached: return 4 - case .invalidPaylod: return 5 - case .serverError: return 6 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 case .UNRECOGNIZED(let i): return i } } @@ -85049,46 +85597,43 @@ public struct LogEventDropped { #if swift(>=4.2) -extension LogEventDropped.Reason: CaseIterable { +extension InternalGetOutgoingFriendInvitesOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LogEventDropped.Reason] = [ - .unknown, - .messageTooOld, - .cacheFull, - .payloadTooBig, - .maxRetriesReached, - .invalidPaylod, - .serverError, + public static var allCases: [InternalGetOutgoingFriendInvitesOutProto.Result] = [ + .unset, + .success, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct LogMessage { +public struct InternalGetOutgoingFriendInvitesProto { // 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. - public var timestampMs: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var logLevel: LogMessage.LogLevel = .unset + public init() {} +} - public var logChannel: String = String() +public struct InternalGetPhotosOutProto { + // 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. - public var message: String = String() + public var result: InternalGetPhotosOutProto.Result = .unset + + public var photos: [InternalPhotoRecord] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum LogLevel: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case fatal // = 1 - case error // = 2 - case warning // = 3 - case info // = 4 - case verbose // = 5 - case trace // = 6 - case disabled // = 7 + case success // = 1 + case errorUnknown // = 2 case UNRECOGNIZED(Int) public init() { @@ -85098,13 +85643,8 @@ public struct LogMessage { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .fatal - case 2: self = .error - case 3: self = .warning - case 4: self = .info - case 5: self = .verbose - case 6: self = .trace - case 7: self = .disabled + case 1: self = .success + case 2: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -85112,13 +85652,8 @@ public struct LogMessage { public var rawValue: Int { switch self { case .unset: return 0 - case .fatal: return 1 - case .error: return 2 - case .warning: return 3 - case .info: return 4 - case .verbose: return 5 - case .trace: return 6 - case .disabled: return 7 + case .success: return 1 + case .errorUnknown: return 2 case .UNRECOGNIZED(let i): return i } } @@ -85130,701 +85665,629 @@ public struct LogMessage { #if swift(>=4.2) -extension LogMessage.LogLevel: CaseIterable { +extension InternalGetPhotosOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [LogMessage.LogLevel] = [ + public static var allCases: [InternalGetPhotosOutProto.Result] = [ .unset, - .fatal, - .error, - .warning, - .info, - .verbose, - .trace, - .disabled, + .success, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct LogReportData { - // 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. - - public var contentType: LogReportData.OneOf_ContentType? = nil - - public var textContent: MessageLogReportData { - get { - if case .textContent(let v)? = contentType {return v} - return MessageLogReportData() - } - set {contentType = .textContent(newValue)} - } - - public var imageContent: ImageLogReportData { - get { - if case .imageContent(let v)? = contentType {return v} - return ImageLogReportData() - } - set {contentType = .imageContent(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_ContentType: Equatable { - case textContent(MessageLogReportData) - case imageContent(ImageLogReportData) - - #if !swift(>=4.1) - public static func ==(lhs: LogReportData.OneOf_ContentType, rhs: LogReportData.OneOf_ContentType) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.textContent, .textContent): return { - guard case .textContent(let l) = lhs, case .textContent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.imageContent, .imageContent): return { - guard case .imageContent(let l) = lhs, case .imageContent(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} -} - -public struct LogSourceMetrics { +public struct InternalGetPhotosProto { // 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. - /// A LogSource uniquely identifies a logging configuration. log_source should - /// contains a string value of the LogSource from - /// google3/wireless/android/play/playlog/proto/clientanalytics.proto - public var logSource: String = String() + public var photoIds: [String] = [] - public var logEventDropped: [LogEventDropped] = [] + public var photoSpecs: [InternalGetPhotosProto.PhotoSpec] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public struct PhotoSpec { + // 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. -public struct LoginActionTelemetry { - // 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. + public var photoID: String = String() - public var loginActionID: LoginActionTelemetryIds = .undefinedLoginAction + public var mode: InternalGetPhotosProto.PhotoSpec.GetPhotosMode = .original - public var firstTime: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var success: Bool = false + public enum GetPhotosMode: SwiftProtobuf.Enum { + public typealias RawValue = Int + case original // = 0 + case size64 // = 1 + case size256 // = 2 + case size1080 // = 3 + case minSize64 // = 4 + case minSize256 // = 5 + case minSize1080 // = 6 + case UNRECOGNIZED(Int) - public var intentExisting: Bool = false + public init() { + self = .original + } - public var error: String = String() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .original + case 1: self = .size64 + case 2: self = .size256 + case 3: self = .size1080 + case 4: self = .minSize64 + case 5: self = .minSize256 + case 6: self = .minSize1080 + default: self = .UNRECOGNIZED(rawValue) + } + } - public var authStatus: String = String() + public var rawValue: Int { + switch self { + case .original: return 0 + case .size64: return 1 + case .size256: return 2 + case .size1080: return 3 + case .minSize64: return 4 + case .minSize256: return 5 + case .minSize1080: return 6 + case .UNRECOGNIZED(let i): return i + } + } - public var selectionTime: Int64 = 0 + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} } -public struct LoginDetail { - // 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. - - public var identityProvider: IdentityProvider = .unsetIdentityProvider - - public var email: String = String() - - public var authProviderID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalGetPhotosProto.PhotoSpec.GetPhotosMode: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetPhotosProto.PhotoSpec.GetPhotosMode] = [ + .original, + .size64, + .size256, + .size1080, + .minSize64, + .minSize256, + .minSize1080, + ] } -public struct LoginNewPlayer { - // 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. - - public var methodName: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} +#endif // swift(>=4.2) -public struct LoginNewPlayerCreateAccount { +public struct InternalGetPlayerSettingsOutProto { // 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. - public var methodName: String = String() + public var result: InternalGetPlayerSettingsOutProto.Result = .unset + + public var settings: InternalPlayerSettingsProto { + get {return _settings ?? InternalPlayerSettingsProto()} + set {_settings = newValue} + } + /// Returns true if `settings` has been explicitly set. + public var hasSettings: Bool {return self._settings != nil} + /// Clears the value of `settings`. Subsequent reads from it will return its default value. + public mutating func clearSettings() {self._settings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 + case UNRECOGNIZED(Int) -public struct LoginReturningPlayer { - // 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. + public init() { + self = .unset + } - public var methodName: String = String() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} -} + } -public struct LoginReturningPlayerSignIn { - // 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. + public init() {} - public var methodName: String = String() + fileprivate var _settings: InternalPlayerSettingsProto? = nil +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalGetPlayerSettingsOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetPlayerSettingsOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerNotFound, + ] } -public struct LoginSettingsProto { +#endif // swift(>=4.2) + +public struct InternalGetPlayerSettingsProto { // 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. - public var enableMultiLoginLinking: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LoginStartup { +public struct InternalGetProfileRequest { // 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. - public var methodName: String = String() + public var playerID: String = String() + + public var niaAccountID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct LoopProto { +public struct InternalGetProfileResponse { // 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. - public var vertex: [PointProto] = [] + public var result: InternalGetProfileResponse.Result = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var profileDetails: InternalProfileDetailsProto { + get {return _profileDetails ?? InternalProfileDetailsProto()} + set {_profileDetails = newValue} + } + /// Returns true if `profileDetails` has been explicitly set. + public var hasProfileDetails: Bool {return self._profileDetails != nil} + /// Clears the value of `profileDetails`. Subsequent reads from it will return its default value. + public mutating func clearProfileDetails() {self._profileDetails = nil} - public init() {} -} + public var playerProfileDetails: [InternalGetProfileResponse.PlayerProfileDetailsProto] = [] -public struct LootItemProto { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var type: LootItemProto.OneOf_Type? = nil + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorNotFriend // = 3 + case UNRECOGNIZED(Int) - public var item: Item { - get { - if case .item(let v)? = type {return v} - return .unknown + public init() { + self = .unset } - set {type = .item(newValue)} - } - public var stardust: Bool { - get { - if case .stardust(let v)? = type {return v} - return false + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorNotFriend + default: self = .UNRECOGNIZED(rawValue) + } } - set {type = .stardust(newValue)} - } - public var pokecoin: Bool { - get { - if case .pokecoin(let v)? = type {return v} - return false + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorNotFriend: return 3 + case .UNRECOGNIZED(let i): return i + } } - set {type = .pokecoin(newValue)} - } - public var pokemonCandy: HoloPokemonId { - get { - if case .pokemonCandy(let v)? = type {return v} - return .missingno - } - set {type = .pokemonCandy(newValue)} } - public var experience: Bool { - get { - if case .experience(let v)? = type {return v} - return false - } - set {type = .experience(newValue)} - } + public struct PlayerProfileDetailsProto { + // 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. - public var pokemonEgg: PokemonProto { - get { - if case .pokemonEgg(let v)? = type {return v} - return PokemonProto() - } - set {type = .pokemonEgg(newValue)} - } + public var appKey: String = String() - public var avatarTemplateID: String { - get { - if case .avatarTemplateID(let v)? = type {return v} - return String() - } - set {type = .avatarTemplateID(newValue)} - } + public var codename: String = String() - public var stickerID: String { - get { - if case .stickerID(let v)? = type {return v} - return String() - } - set {type = .stickerID(newValue)} - } + public var faction: String = String() - public var megaEnergyPokemonID: HoloPokemonId { - get { - if case .megaEnergyPokemonID(let v)? = type {return v} - return .missingno - } - set {type = .megaEnergyPokemonID(newValue)} - } + public var level: Int32 = 0 - public var xlCandy: HoloPokemonId { - get { - if case .xlCandy(let v)? = type {return v} - return .missingno - } - set {type = .xlCandy(newValue)} - } + public var experience: Int64 = 0 - public var followerPokemon: FollowerPokemonProto { - get { - if case .followerPokemon(let v)? = type {return v} - return FollowerPokemonProto() - } - set {type = .followerPokemon(newValue)} - } + public var signedUpTimestampMs: Int64 = 0 - public var count: Int32 = 0 + public var lastPlayedTimestampMs: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var playerTotalWalkKm: Double = 0 - public enum OneOf_Type: Equatable { - case item(Item) - case stardust(Bool) - case pokecoin(Bool) - case pokemonCandy(HoloPokemonId) - case experience(Bool) - case pokemonEgg(PokemonProto) - case avatarTemplateID(String) - case stickerID(String) - case megaEnergyPokemonID(HoloPokemonId) - case xlCandy(HoloPokemonId) - case followerPokemon(FollowerPokemonProto) + public var unknownFields = SwiftProtobuf.UnknownStorage() - #if !swift(>=4.1) - public static func ==(lhs: LootItemProto.OneOf_Type, rhs: LootItemProto.OneOf_Type) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.item, .item): return { - guard case .item(let l) = lhs, case .item(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.stardust, .stardust): return { - guard case .stardust(let l) = lhs, case .stardust(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokecoin, .pokecoin): return { - guard case .pokecoin(let l) = lhs, case .pokecoin(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonCandy, .pokemonCandy): return { - guard case .pokemonCandy(let l) = lhs, case .pokemonCandy(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.experience, .experience): return { - guard case .experience(let l) = lhs, case .experience(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonEgg, .pokemonEgg): return { - guard case .pokemonEgg(let l) = lhs, case .pokemonEgg(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.avatarTemplateID, .avatarTemplateID): return { - guard case .avatarTemplateID(let l) = lhs, case .avatarTemplateID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.stickerID, .stickerID): return { - guard case .stickerID(let l) = lhs, case .stickerID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.megaEnergyPokemonID, .megaEnergyPokemonID): return { - guard case .megaEnergyPokemonID(let l) = lhs, case .megaEnergyPokemonID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.xlCandy, .xlCandy): return { - guard case .xlCandy(let l) = lhs, case .xlCandy(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.followerPokemon, .followerPokemon): return { - guard case .followerPokemon(let l) = lhs, case .followerPokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif + public init() {} } public init() {} -} - -public struct LootProto { - // 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. - public var lootItem: [LootItemProto] = [] + fileprivate var _profileDetails: InternalProfileDetailsProto? = nil +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalGetProfileResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetProfileResponse.Result] = [ + .unset, + .success, + .errorUnknown, + .errorNotFriend, + ] } -public struct LuckyPokemonSettingsProto { +#endif // swift(>=4.2) + +public struct InternalGetSignedUrlOutProto { // 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. - public var powerUpStardustDiscountPercent: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var result: InternalGetSignedUrlOutProto.Result = .unset - public init() {} -} + public var signedURL: String = String() -public struct ManagedPoseData { - // 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. + public var photoID: String = String() - public var identifier: UUID { - get {return _storage._identifier ?? UUID()} - set {_uniqueStorage()._identifier = newValue} - } - /// Returns true if `identifier` has been explicitly set. - public var hasIdentifier: Bool {return _storage._identifier != nil} - /// Clears the value of `identifier`. Subsequent reads from it will return its default value. - public mutating func clearIdentifier() {_uniqueStorage()._identifier = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var version: UInt32 { - get {return _storage._version} - set {_uniqueStorage()._version = newValue} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) - public var creationTimeMs: UInt64 { - get {return _storage._creationTimeMs} - set {_uniqueStorage()._creationTimeMs = newValue} - } + public init() { + self = .unset + } - public var placementAccuracy: PlacementAccuracy { - get {return _storage._placementAccuracy ?? PlacementAccuracy()} - set {_uniqueStorage()._placementAccuracy = newValue} - } - /// Returns true if `placementAccuracy` has been explicitly set. - public var hasPlacementAccuracy: Bool {return _storage._placementAccuracy != nil} - /// Clears the value of `placementAccuracy`. Subsequent reads from it will return its default value. - public mutating func clearPlacementAccuracy() {_uniqueStorage()._placementAccuracy = nil} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } - public var nodeAssociations: [NodeAssociation] { - get {return _storage._nodeAssociations} - set {_uniqueStorage()._nodeAssociations = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var geoAssociation: GeoAssociation { - get {return _storage._geoAssociation ?? GeoAssociation()} - set {_uniqueStorage()._geoAssociation = newValue} } - /// Returns true if `geoAssociation` has been explicitly set. - public var hasGeoAssociation: Bool {return _storage._geoAssociation != nil} - /// Clears the value of `geoAssociation`. Subsequent reads from it will return its default value. - public mutating func clearGeoAssociation() {_uniqueStorage()._geoAssociation = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} +} - fileprivate var _storage = _StorageClass.defaultInstance +#if swift(>=4.2) + +extension InternalGetSignedUrlOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetSignedUrlOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + ] } -public struct ManualReportData { +#endif // swift(>=4.2) + +public struct InternalGetSignedUrlProto { // 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. - public var description_p: String = String() - - public var link: String = String() - - public var origin: ReportAttributeData.Origin = .undefinedOrigin - - public var severity: ReportAttributeData.Severity = .undefinedSeverity - - public var category: FlagCategory.Category = .undefined - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MapArea { +public struct InternalGetWebTokenActionOutProto { // 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. - public var description_p: String = String() + public var status: InternalGetWebTokenActionOutProto.Status = .unset - public var epoch: Int32 = 0 + public var accessToken: String = String() - public var mapProvider: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var boundingRect: [BoundingRect] = [] + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) - public var minimumClientVersion: String = String() + public init() { + self = .unset + } - public var tileEncryptionKey: Data = Data() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } public init() {} } -public struct MapBuddySettingsProto { - // 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. - - public var forBuddyGroupNumber: Int32 = 0 +#if swift(>=4.2) - public var targetOffsetMin: Float = 0 +extension InternalGetWebTokenActionOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalGetWebTokenActionOutProto.Status] = [ + .unset, + .success, + .errorUnknown, + ] +} - public var targetOffsetMax: Float = 0 +#endif // swift(>=4.2) - public var leashDistance: Float = 0 +public struct InternalGetWebTokenActionProto { + // 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. - public var maxSecondsToIdle: Float = 0 + public var clientID: String = String() - public var maxRotationSpeed: Float = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var walkThreshold: Float = 0 + public init() {} +} - public var runThreshold: Float = 0 +public struct InternalGuestLoginAuthToken { + // 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. - public var shouldGlide: Bool = false + public var secret: Data = Data() - public var glideSmoothTime: Float = 0 + public var apiKey: String = String() - public var glideMaxSpeed: Float = 0 + public var deviceID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MapCompositionRoot { +public struct InternalIncomingFriendInviteDisplayProto { // 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. - public var mapArea: [MapArea] = [] + public var invite: InternalIncomingFriendInviteProto { + get {return _invite ?? InternalIncomingFriendInviteProto()} + set {_invite = newValue} + } + /// Returns true if `invite` has been explicitly set. + public var hasInvite: Bool {return self._invite != nil} + /// Clears the value of `invite`. Subsequent reads from it will return its default value. + public mutating func clearInvite() {self._invite = nil} - public var mapProvider: [MapProvider] = [] + public var player: InternalPlayerSummaryProto { + get {return _player ?? InternalPlayerSummaryProto()} + set {_player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _invite: InternalIncomingFriendInviteProto? = nil + fileprivate var _player: InternalPlayerSummaryProto? = nil } -public struct MapDisplaySettingsProto { +public struct InternalIncomingFriendInviteProto { // 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. - public var mapEffect: MapDisplaySettingsProto.MapEffect = .effectNone - - public var researchIconURL: String = String() - - public var bgm: MapDisplaySettingsProto.MusicType = .bgmUnset - - public var showEnhancedSky: Bool = false - - public var eventSkydome1: String = String() + public var status: InternalIncomingFriendInviteProto.Status = .unset - public var eventSkydome2: String = String() + public var playerID: String = String() - public var fxMapVisualEffect: String = String() + public var createdMs: Int64 = 0 - public var isEventFx: Bool = false + public var invitationType: InternalInvitationType = .invitationTypeUnset - public var eventFxVisualEffect: String = String() + public var fullName: String = String() - public var eventFxName: String = String() + public var niaAccountID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum MapEffect: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case effectNone // = 0 - case effectConfettiBasic // = 1 - case effectConfettiFire // = 2 - case effectConfettiWater // = 3 - case effectConfettiGrass // = 4 - case effectConfettiRaidBattle // = 5 - case effectConfettiFriendship // = 6 - case effectConfettiRocket // = 7 - case effectFireworksPlain // = 8 - case effectConfettiFlower // = 9 - case effectConfettiPlains // = 10 - case effectConfettiCity // = 11 - case effectConfettiTundra // = 12 - case effectConfettiRainforest // = 13 + case unset // = 0 + case pending // = 1 + case declined // = 2 + case cancelled // = 3 case UNRECOGNIZED(Int) public init() { - self = .effectNone + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .effectNone - case 1: self = .effectConfettiBasic - case 2: self = .effectConfettiFire - case 3: self = .effectConfettiWater - case 4: self = .effectConfettiGrass - case 5: self = .effectConfettiRaidBattle - case 6: self = .effectConfettiFriendship - case 7: self = .effectConfettiRocket - case 8: self = .effectFireworksPlain - case 9: self = .effectConfettiFlower - case 10: self = .effectConfettiPlains - case 11: self = .effectConfettiCity - case 12: self = .effectConfettiTundra - case 13: self = .effectConfettiRainforest + case 0: self = .unset + case 1: self = .pending + case 2: self = .declined + case 3: self = .cancelled default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .effectNone: return 0 - case .effectConfettiBasic: return 1 - case .effectConfettiFire: return 2 - case .effectConfettiWater: return 3 - case .effectConfettiGrass: return 4 - case .effectConfettiRaidBattle: return 5 - case .effectConfettiFriendship: return 6 - case .effectConfettiRocket: return 7 - case .effectFireworksPlain: return 8 - case .effectConfettiFlower: return 9 - case .effectConfettiPlains: return 10 - case .effectConfettiCity: return 11 - case .effectConfettiTundra: return 12 - case .effectConfettiRainforest: return 13 + case .unset: return 0 + case .pending: return 1 + case .declined: return 2 + case .cancelled: return 3 case .UNRECOGNIZED(let i): return i } } } - public enum MusicType: SwiftProtobuf.Enum { + public init() {} +} + +#if swift(>=4.2) + +extension InternalIncomingFriendInviteProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalIncomingFriendInviteProto.Status] = [ + .unset, + .pending, + .declined, + .cancelled, + ] +} + +#endif // swift(>=4.2) + +public struct InternalInviteFacebookFriendOutProto { + // 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. + + public var result: InternalInviteFacebookFriendOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case bgmUnset // = 0 - case bgmEvent // = 101 - case bgmHalloween // = 200 - case bgmGoTour00 // = 201 - case bgmGoTour01 // = 202 - case bgmGoTour02 // = 203 - case bgmGoTour03 // = 204 - case bgmGoTour04 // = 205 - case bgmGoTour05 // = 206 - case bgmGoTour06 // = 207 - case bgmGoTour07 // = 208 - case bgmGoTour08 // = 209 - case bgmGoTour09 // = 210 - case bgmTeamRocketDefault // = 300 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 + case errorPlayerOutboxFull // = 4 + case errorPlayerInboxFull // = 5 + case errorSenderHasMaxFriends // = 6 + case errorReceiverHasMaxFriends // = 7 + case errorAlreadyAFriend // = 8 + case errorInviteAlreadySent // = 9 + case errorInviteAlreadyReceived // = 10 + case errorCannotSendInvitesToYourself // = 11 + case errorFriendCacheExpired // = 12 + case errorFriendNotCached // = 13 + case errorInvalidSenderFacebookID // = 14 + case errorSendToBlockedUser // = 15 case UNRECOGNIZED(Int) public init() { - self = .bgmUnset + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .bgmUnset - case 101: self = .bgmEvent - case 200: self = .bgmHalloween - case 201: self = .bgmGoTour00 - case 202: self = .bgmGoTour01 - case 203: self = .bgmGoTour02 - case 204: self = .bgmGoTour03 - case 205: self = .bgmGoTour04 - case 206: self = .bgmGoTour05 - case 207: self = .bgmGoTour06 - case 208: self = .bgmGoTour07 - case 209: self = .bgmGoTour08 - case 210: self = .bgmGoTour09 - case 300: self = .bgmTeamRocketDefault + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound + case 4: self = .errorPlayerOutboxFull + case 5: self = .errorPlayerInboxFull + case 6: self = .errorSenderHasMaxFriends + case 7: self = .errorReceiverHasMaxFriends + case 8: self = .errorAlreadyAFriend + case 9: self = .errorInviteAlreadySent + case 10: self = .errorInviteAlreadyReceived + case 11: self = .errorCannotSendInvitesToYourself + case 12: self = .errorFriendCacheExpired + case 13: self = .errorFriendNotCached + case 14: self = .errorInvalidSenderFacebookID + case 15: self = .errorSendToBlockedUser default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .bgmUnset: return 0 - case .bgmEvent: return 101 - case .bgmHalloween: return 200 - case .bgmGoTour00: return 201 - case .bgmGoTour01: return 202 - case .bgmGoTour02: return 203 - case .bgmGoTour03: return 204 - case .bgmGoTour04: return 205 - case .bgmGoTour05: return 206 - case .bgmGoTour06: return 207 - case .bgmGoTour07: return 208 - case .bgmGoTour08: return 209 - case .bgmGoTour09: return 210 - case .bgmTeamRocketDefault: return 300 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 + case .errorPlayerOutboxFull: return 4 + case .errorPlayerInboxFull: return 5 + case .errorSenderHasMaxFriends: return 6 + case .errorReceiverHasMaxFriends: return 7 + case .errorAlreadyAFriend: return 8 + case .errorInviteAlreadySent: return 9 + case .errorInviteAlreadyReceived: return 10 + case .errorCannotSendInvitesToYourself: return 11 + case .errorFriendCacheExpired: return 12 + case .errorFriendNotCached: return 13 + case .errorInvalidSenderFacebookID: return 14 + case .errorSendToBlockedUser: return 15 case .UNRECOGNIZED(let i): return i } } @@ -85836,182 +86299,160 @@ public struct MapDisplaySettingsProto { #if swift(>=4.2) -extension MapDisplaySettingsProto.MapEffect: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapDisplaySettingsProto.MapEffect] = [ - .effectNone, - .effectConfettiBasic, - .effectConfettiFire, - .effectConfettiWater, - .effectConfettiGrass, - .effectConfettiRaidBattle, - .effectConfettiFriendship, - .effectConfettiRocket, - .effectFireworksPlain, - .effectConfettiFlower, - .effectConfettiPlains, - .effectConfettiCity, - .effectConfettiTundra, - .effectConfettiRainforest, - ] -} - -extension MapDisplaySettingsProto.MusicType: CaseIterable { +extension InternalInviteFacebookFriendOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapDisplaySettingsProto.MusicType] = [ - .bgmUnset, - .bgmEvent, - .bgmHalloween, - .bgmGoTour00, - .bgmGoTour01, - .bgmGoTour02, - .bgmGoTour03, - .bgmGoTour04, - .bgmGoTour05, - .bgmGoTour06, - .bgmGoTour07, - .bgmGoTour08, - .bgmGoTour09, - .bgmTeamRocketDefault, + public static var allCases: [InternalInviteFacebookFriendOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerNotFound, + .errorPlayerOutboxFull, + .errorPlayerInboxFull, + .errorSenderHasMaxFriends, + .errorReceiverHasMaxFriends, + .errorAlreadyAFriend, + .errorInviteAlreadySent, + .errorInviteAlreadyReceived, + .errorCannotSendInvitesToYourself, + .errorFriendCacheExpired, + .errorFriendNotCached, + .errorInvalidSenderFacebookID, + .errorSendToBlockedUser, ] } #endif // swift(>=4.2) -public struct MapEventsTelemetry { +public struct InternalInviteFacebookFriendProto { // 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. - public var mapEventClickID: MapEventsTelemetryIds = .undefinedMapEvent - - public var fortID: String = String() - - public var guardPokemonLevel: [Int32] = [] - - public var team: Team = .unset + public var fbAccessToken: String = String() - public var isPlayerInRange: Bool = false + public var friendFbUserID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MapInfoProto { +public struct InternalInviteGameRequest { // 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. - public var center: MapPointProto { - get {return _center ?? MapPointProto()} - set {_center = newValue} - } - /// Returns true if `center` has been explicitly set. - public var hasCenter: Bool {return self._center != nil} - /// Clears the value of `center`. Subsequent reads from it will return its default value. - public mutating func clearCenter() {self._center = nil} + public var friendID: String = String() - public var latitudeSpan: Int32 = 0 + public var friendNiaAccountID: String = String() - public var longitudeSpan: Int32 = 0 + public var appKey: String = String() - public var zoomLevel: Int32 = 0 + public var referral: InternalReferralProto { + get {return _referral ?? InternalReferralProto()} + set {_referral = newValue} + } + /// Returns true if `referral` has been explicitly set. + public var hasReferral: Bool {return self._referral != nil} + /// Clears the value of `referral`. Subsequent reads from it will return its default value. + public mutating func clearReferral() {self._referral = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _center: MapPointProto? = nil + fileprivate var _referral: InternalReferralProto? = nil } -public struct MapObjectsInteractionRangeSettings { +public struct InternalInviteGameResponse { // 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. - public var interactionRangeMeters: Double = 0 - - public var farInteractionRangeMeters: Double = 0 - - public var remoteInteractionRangeMeters: Double = 0 + public var status: InternalInviteGameResponse.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorNotFriend // = 3 + case errorExceedLimit // = 4 + case errorAlreadySignedUp // = 5 + case errorEmailFailed // = 6 + case UNRECOGNIZED(Int) -public struct MapPointProto { - // 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. + public init() { + self = .unset + } - public var latitudeE6: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorNotFriend + case 4: self = .errorExceedLimit + case 5: self = .errorAlreadySignedUp + case 6: self = .errorEmailFailed + default: self = .UNRECOGNIZED(rawValue) + } + } - public var longitudeE6: Int32 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorNotFriend: return 3 + case .errorExceedLimit: return 4 + case .errorAlreadySignedUp: return 5 + case .errorEmailFailed: return 6 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct MapPokemonProto { - // 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. - - public var spawnpointID: String = String() - - public var encounterID: UInt64 = 0 - - public var pokedexTypeID: Int32 = 0 - - public var expirationTimeMs: Int64 = 0 - - public var latitude: Double = 0 - - public var longitude: Double = 0 - - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} +#if swift(>=4.2) - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +extension InternalInviteGameResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalInviteGameResponse.Status] = [ + .unset, + .success, + .errorUnknown, + .errorNotFriend, + .errorExceedLimit, + .errorAlreadySignedUp, + .errorEmailFailed, + ] } -public struct MapProvider { +#endif // swift(>=4.2) + +public struct InternalIsMyFriendOutProto { // 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. - public var name: String = String() - - public var baseURL: String = String() - - public var queryFormat: String = String() - - public var mapType: MapProvider.MapType = .unset - - public var minTileLevel: Int32 = 0 + public var result: InternalIsMyFriendOutProto.Result = .unset - public var maxTileLevel: Int32 = 0 + public var isFriend: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum MapType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case blank // = 3 - case nianticBundle // = 5 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFoundDeleted // = 3 case UNRECOGNIZED(Int) public init() { @@ -86021,8 +86462,9 @@ public struct MapProvider { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 3: self = .blank - case 5: self = .nianticBundle + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFoundDeleted default: self = .UNRECOGNIZED(rawValue) } } @@ -86030,8 +86472,9 @@ public struct MapProvider { public var rawValue: Int { switch self { case .unset: return 0 - case .blank: return 3 - case .nianticBundle: return 5 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFoundDeleted: return 3 case .UNRECOGNIZED(let i): return i } } @@ -86043,309 +86486,396 @@ public struct MapProvider { #if swift(>=4.2) -extension MapProvider.MapType: CaseIterable { +extension InternalIsMyFriendOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapProvider.MapType] = [ + public static var allCases: [InternalIsMyFriendOutProto.Result] = [ .unset, - .blank, - .nianticBundle, + .success, + .errorUnknown, + .errorPlayerNotFoundDeleted, ] } #endif // swift(>=4.2) -public struct MapQueryRequestProto { +public struct InternalIsMyFriendProto { // 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. - public var queryS2CellIds: [UInt64] = [] + public var playerID: String = String() - public var queryS2CellTimestamps: [UInt64] = [] + public var niaAccountID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MapQueryResponseProto { +public struct InternalLinkToAccountLoginRequestProto { // 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. - public var s2Cells: [MapS2Cell] = [] - - public var entities: [MapS2CellEntity] = [] + public var newAuthToken: Data = Data() - public var deletedEntities: [String] = [] + public var newAuthProviderID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MapRighthandIconsTelemetry { +public struct InternalLinkToAccountLoginResponseProto { // 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. - public var mapRighthandIconsEventIds: MapRighthandIconsTelemetry.IconEvents = .undefinedMapRighthandIconEvent + public var success: Bool = false - public var numberIconsInGrid: Int32 = 0 + public var status: InternalLinkToAccountLoginResponseProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum IconEvents: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefinedMapRighthandIconEvent // = 0 - case iconGridExpansionButtonAppeared // = 1 - case iconGridNumberColumnsIncreased // = 2 - case iconGridExpandedByClick // = 3 + case unset // = 0 + case unknownError // = 1 + case authFailure // = 2 + case loginTaken // = 3 + case guestLoginDisabled // = 4 + case successAlreadyLinked // = 5 case UNRECOGNIZED(Int) public init() { - self = .undefinedMapRighthandIconEvent + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefinedMapRighthandIconEvent - case 1: self = .iconGridExpansionButtonAppeared - case 2: self = .iconGridNumberColumnsIncreased - case 3: self = .iconGridExpandedByClick + case 0: self = .unset + case 1: self = .unknownError + case 2: self = .authFailure + case 3: self = .loginTaken + case 4: self = .guestLoginDisabled + case 5: self = .successAlreadyLinked default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefinedMapRighthandIconEvent: return 0 - case .iconGridExpansionButtonAppeared: return 1 - case .iconGridNumberColumnsIncreased: return 2 - case .iconGridExpandedByClick: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } + case .unset: return 0 + case .unknownError: return 1 + case .authFailure: return 2 + case .loginTaken: return 3 + case .guestLoginDisabled: return 4 + case .successAlreadyLinked: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } public init() {} } #if swift(>=4.2) -extension MapRighthandIconsTelemetry.IconEvents: CaseIterable { +extension InternalLinkToAccountLoginResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapRighthandIconsTelemetry.IconEvents] = [ - .undefinedMapRighthandIconEvent, - .iconGridExpansionButtonAppeared, - .iconGridNumberColumnsIncreased, - .iconGridExpandedByClick, + public static var allCases: [InternalLinkToAccountLoginResponseProto.Status] = [ + .unset, + .unknownError, + .authFailure, + .loginTaken, + .guestLoginDisabled, + .successAlreadyLinked, ] } #endif // swift(>=4.2) -public struct MapS2Cell { +public struct InternalListFriendsRequest { // 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. - public var s2CellID: UInt64 = 0 - - public var s2CellBaseTimestamp: UInt64 = 0 - - public var s2CellTimestamp: UInt64 = 0 - - public var entityKey: [String] = [] - - public var deletedEntityKey: [String] = [] + public var feature: InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MapS2CellEntity { +public struct InternalListFriendsResponse { // 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. - public var key: String = String() + public var result: InternalListFriendsResponse.Result = .unset - public var timestamp: UInt64 = 0 + public var friendSummary: [InternalListFriendsResponse.FriendSummaryProto] = [] - public var payload: Data = Data() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var newShape: ShapeProto { - get {return _newShape ?? ShapeProto()} - set {_newShape = newValue} - } - /// Returns true if `newShape` has been explicitly set. - public var hasNewShape: Bool {return self._newShape != nil} - /// Clears the value of `newShape`. Subsequent reads from it will return its default value. - public mutating func clearNewShape() {self._newShape = nil} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorFeatureDisabled // = 3 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .unset + } - public struct Location { + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorFeatureDisabled + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorFeatureDisabled: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct FriendSummaryProto { // 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. - public var latitude: Double = 0 + public var playerID: String { + get {return _storage._playerID} + set {_uniqueStorage()._playerID = newValue} + } - public var longitude: Double = 0 + public var isCallingAppFriend: Bool { + get {return _storage._isCallingAppFriend} + set {_uniqueStorage()._isCallingAppFriend = newValue} + } - public var altitude: Double = 0 + public var callingGameData: InternalGetFriendsListOutProto.FriendProto { + get {return _storage._callingGameData ?? InternalGetFriendsListOutProto.FriendProto()} + set {_uniqueStorage()._callingGameData = newValue} + } + /// Returns true if `callingGameData` has been explicitly set. + public var hasCallingGameData: Bool {return _storage._callingGameData != nil} + /// Clears the value of `callingGameData`. Subsequent reads from it will return its default value. + public mutating func clearCallingGameData() {_uniqueStorage()._callingGameData = nil} + + public var profile: InternalListFriendsResponse.ProfileSummaryProto { + get {return _storage._profile ?? InternalListFriendsResponse.ProfileSummaryProto()} + set {_uniqueStorage()._profile = newValue} + } + /// Returns true if `profile` has been explicitly set. + public var hasProfile: Bool {return _storage._profile != nil} + /// Clears the value of `profile`. Subsequent reads from it will return its default value. + public mutating func clearProfile() {_uniqueStorage()._profile = nil} + + public var playerStatus: InternalListFriendsResponse.PlayerStatusSummaryProto { + get {return _storage._playerStatus ?? InternalListFriendsResponse.PlayerStatusSummaryProto()} + set {_uniqueStorage()._playerStatus = newValue} + } + /// Returns true if `playerStatus` has been explicitly set. + public var hasPlayerStatus: Bool {return _storage._playerStatus != nil} + /// Clears the value of `playerStatus`. Subsequent reads from it will return its default value. + public mutating func clearPlayerStatus() {_uniqueStorage()._playerStatus = nil} + + public var invitationStatus: InternalSocialV2Enum.InvitationStatus { + get {return _storage._invitationStatus} + set {_uniqueStorage()._invitationStatus = newValue} + } + + public var niaAccountID: String { + get {return _storage._niaAccountID} + set {_uniqueStorage()._niaAccountID = newValue} + } + + public var garAccountInfo: InternalGarAccountInfoProto { + get {return _storage._garAccountInfo ?? InternalGarAccountInfoProto()} + set {_uniqueStorage()._garAccountInfo = newValue} + } + /// Returns true if `garAccountInfo` has been explicitly set. + public var hasGarAccountInfo: Bool {return _storage._garAccountInfo != nil} + /// Clears the value of `garAccountInfo`. Subsequent reads from it will return its default value. + public mutating func clearGarAccountInfo() {_uniqueStorage()._garAccountInfo = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - } - public init() {} + fileprivate var _storage = _StorageClass.defaultInstance + } - fileprivate var _newShape: ShapeProto? = nil -} + public struct PlayerStatusSummaryProto { + // 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. -public struct MapSettingsProto { - // 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. + public var result: InternalListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult = .unset - public var pokemonVisibleRange: Double = 0 + public var onlineStatus: InternalSocialV2Enum.OnlineStatus = .statusUnset - public var pokeNavRangeMeters: Double = 0 + public var lastPlayedAppKey: String = String() - public var encounterRangeMeters: Double = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var getMapObjectsMinRefreshSeconds: Float = 0 + public enum PlayerStatusResult: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorStatusUnknown // = 3 + case errorStaleData // = 4 + case UNRECOGNIZED(Int) - public var getMapObjectsMaxRefreshSeconds: Float = 0 + public init() { + self = .unset + } - public var getMapObjectsMinDistanceMeters: Float = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorStatusUnknown + case 4: self = .errorStaleData + default: self = .UNRECOGNIZED(rawValue) + } + } - public var googleMapsApiKey: String = String() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorStatusUnknown: return 3 + case .errorStaleData: return 4 + case .UNRECOGNIZED(let i): return i + } + } - public var minNearbyHideSightings: Int32 = 0 + } - public var enableSpecialWeather: Bool = false + public init() {} + } - public var specialWeatherProbability: Float = 0 + public struct ProfileSummaryProto { + // 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. - public var googleMapsClientID: String = String() + public var name: String = String() - public var enableEncounterV2: Bool = false + public var nickname: String = String() - public var obDouble: Double = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} } -public struct MapTile { +#if swift(>=4.2) + +extension InternalListFriendsResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalListFriendsResponse.Result] = [ + .unset, + .success, + .errorUnknown, + .errorFeatureDisabled, + ] +} + +extension InternalListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult] = [ + .unset, + .success, + .errorUnknown, + .errorStatusUnknown, + .errorStaleData, + ] +} + +#endif // swift(>=4.2) + +public struct InternalListLoginActionOutProto { // 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. - public var zoom: Int32 = 0 - - public var x: Int32 = 0 - - public var y: Int32 = 0 + public var success: Bool = false - public var layers: [Layer] = [] + public var loginDetail: [InternalLoginDetail] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MapTile3RequestProto { +public struct InternalLocationPingProto { // 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. + public var geofenceIdentifier: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum TileFormat: SwiftProtobuf.Enum { + public enum PingReason: SwiftProtobuf.Enum { public typealias RawValue = Int - case compact0 // = 0 - case compact3 // = 1 - case png // = 2 - case jpeg // = 3 - case gif // = 4 - case cjpg0 // = 5 - case bvg0 // = 6 - case trafficVector2 // = 7 - case vectorAtlasDriveaboutV1 // = 8 - case trafficVector3 // = 9 - case vectorAtlasEncryptedProto // = 10 - case layerData // = 11 - case onlyRasterTilesAndLabels // = 12 - case tileInLocalLanguage // = 13 - case roadGraphProto // = 14 - case includeCopyrights // = 15 - case fetchTypeMinBit // = 16 - case fetchTypeMaxBit // = 19 - case vectorAtlasDriveaboutV2 // = 20 - case vectorAtlasDriveaboutV3 // = 21 + case unset // = 0 + case entranceEvent // = 1 + case exitEvent // = 2 + case dwellEvent // = 3 + case visitEvent // = 4 + case fitnessWakeup // = 5 + case otherWakeup // = 6 case UNRECOGNIZED(Int) public init() { - self = .compact0 + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .compact0 - case 1: self = .compact3 - case 2: self = .png - case 3: self = .jpeg - case 4: self = .gif - case 5: self = .cjpg0 - case 6: self = .bvg0 - case 7: self = .trafficVector2 - case 8: self = .vectorAtlasDriveaboutV1 - case 9: self = .trafficVector3 - case 10: self = .vectorAtlasEncryptedProto - case 11: self = .layerData - case 12: self = .onlyRasterTilesAndLabels - case 13: self = .tileInLocalLanguage - case 14: self = .roadGraphProto - case 15: self = .includeCopyrights - case 16: self = .fetchTypeMinBit - case 19: self = .fetchTypeMaxBit - case 20: self = .vectorAtlasDriveaboutV2 - case 21: self = .vectorAtlasDriveaboutV3 + case 0: self = .unset + case 1: self = .entranceEvent + case 2: self = .exitEvent + case 3: self = .dwellEvent + case 4: self = .visitEvent + case 5: self = .fitnessWakeup + case 6: self = .otherWakeup default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .compact0: return 0 - case .compact3: return 1 - case .png: return 2 - case .jpeg: return 3 - case .gif: return 4 - case .cjpg0: return 5 - case .bvg0: return 6 - case .trafficVector2: return 7 - case .vectorAtlasDriveaboutV1: return 8 - case .trafficVector3: return 9 - case .vectorAtlasEncryptedProto: return 10 - case .layerData: return 11 - case .onlyRasterTilesAndLabels: return 12 - case .tileInLocalLanguage: return 13 - case .roadGraphProto: return 14 - case .includeCopyrights: return 15 - case .fetchTypeMinBit: return 16 - case .fetchTypeMaxBit: return 19 - case .vectorAtlasDriveaboutV2: return 20 - case .vectorAtlasDriveaboutV3: return 21 + case .unset: return 0 + case .entranceEvent: return 1 + case .exitEvent: return 2 + case .dwellEvent: return 3 + case .visitEvent: return 4 + case .fitnessWakeup: return 5 + case .otherWakeup: return 6 case .UNRECOGNIZED(let i): return i } } @@ -86357,478 +86887,314 @@ public struct MapTile3RequestProto { #if swift(>=4.2) -extension MapTile3RequestProto.TileFormat: CaseIterable { +extension InternalLocationPingProto.PingReason: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapTile3RequestProto.TileFormat] = [ - .compact0, - .compact3, - .png, - .jpeg, - .gif, - .cjpg0, - .bvg0, - .trafficVector2, - .vectorAtlasDriveaboutV1, - .trafficVector3, - .vectorAtlasEncryptedProto, - .layerData, - .onlyRasterTilesAndLabels, - .tileInLocalLanguage, - .roadGraphProto, - .includeCopyrights, - .fetchTypeMinBit, - .fetchTypeMaxBit, - .vectorAtlasDriveaboutV2, - .vectorAtlasDriveaboutV3, + public static var allCases: [InternalLocationPingProto.PingReason] = [ + .unset, + .entranceEvent, + .exitEvent, + .dwellEvent, + .visitEvent, + .fitnessWakeup, + .otherWakeup, ] } #endif // swift(>=4.2) -public struct MapTileBundle { +public struct InternalLoginDetail { // 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. - public var formatVersion: Int32 = 0 - - public var tileZoom: Int32 = 0 - - public var bundleZoom: Int32 = 0 - - public var bundleX: Int32 = 0 + public var identityProvider: AuthIdentityProvider = .unsetIdentityProvider - public var bundleY: Int32 = 0 + public var email: String = String() - public var epoch: Int32 = 0 + public var authProviderID: String = String() - public var tiles: [MapTile] = [] + public var thirdPartyUsername: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MapTileDataProto { +public struct InternalMarketingTelemetry { // 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. - public var mapTile: MapTileProto { - get {return _mapTile ?? MapTileProto()} - set {_mapTile = newValue} + public var event: OneOf_Event? { + get {return _storage._event} + set {_uniqueStorage()._event = newValue} + } + + public var newsfeedEvent: MarketingTelemetryNewsfeedEvent { + get { + if case .newsfeedEvent(let v)? = _storage._event {return v} + return MarketingTelemetryNewsfeedEvent() + } + set {_uniqueStorage()._event = .newsfeedEvent(newValue)} + } + + public var pushNotificationEvent: MarketingTelemetryPushNotificationEvent { + get { + if case .pushNotificationEvent(let v)? = _storage._event {return v} + return MarketingTelemetryPushNotificationEvent() + } + set {_uniqueStorage()._event = .pushNotificationEvent(newValue)} + } + + public var metadata: InternalMarketingTelemetryMetadata { + get {return _storage._metadata ?? InternalMarketingTelemetryMetadata()} + set {_uniqueStorage()._metadata = newValue} } - /// Returns true if `mapTile` has been explicitly set. - public var hasMapTile: Bool {return self._mapTile != nil} - /// Clears the value of `mapTile`. Subsequent reads from it will return its default value. - public mutating func clearMapTile() {self._mapTile = nil} + /// Returns true if `metadata` has been explicitly set. + public var hasMetadata: Bool {return _storage._metadata != nil} + /// Clears the value of `metadata`. Subsequent reads from it will return its default value. + public mutating func clearMetadata() {_uniqueStorage()._metadata = nil} - public var tileData: MapCompositionRoot { - get {return _tileData ?? MapCompositionRoot()} - set {_tileData = newValue} + public var serverData: ServerRecordMetadata { + get {return _storage._serverData ?? ServerRecordMetadata()} + set {_uniqueStorage()._serverData = newValue} } - /// Returns true if `tileData` has been explicitly set. - public var hasTileData: Bool {return self._tileData != nil} - /// Clears the value of `tileData`. Subsequent reads from it will return its default value. - public mutating func clearTileData() {self._tileData = nil} + /// Returns true if `serverData` has been explicitly set. + public var hasServerData: Bool {return _storage._serverData != nil} + /// Clears the value of `serverData`. Subsequent reads from it will return its default value. + public mutating func clearServerData() {_uniqueStorage()._serverData = nil} - public var labelData: LabelTile { - get {return _labelData ?? LabelTile()} - set {_labelData = newValue} + public var commonFilters: ClientTelemetryCommonFilterProto { + get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} + set {_uniqueStorage()._commonFilters = newValue} } - /// Returns true if `labelData` has been explicitly set. - public var hasLabelData: Bool {return self._labelData != nil} - /// Clears the value of `labelData`. Subsequent reads from it will return its default value. - public mutating func clearLabelData() {self._labelData = nil} + /// Returns true if `commonFilters` has been explicitly set. + public var hasCommonFilters: Bool {return _storage._commonFilters != nil} + /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. + public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_Event: Equatable { + case newsfeedEvent(MarketingTelemetryNewsfeedEvent) + case pushNotificationEvent(MarketingTelemetryPushNotificationEvent) + + #if !swift(>=4.1) + public static func ==(lhs: InternalMarketingTelemetry.OneOf_Event, rhs: InternalMarketingTelemetry.OneOf_Event) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.newsfeedEvent, .newsfeedEvent): return { + guard case .newsfeedEvent(let l) = lhs, case .newsfeedEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pushNotificationEvent, .pushNotificationEvent): return { + guard case .pushNotificationEvent(let l) = lhs, case .pushNotificationEvent(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + public init() {} - fileprivate var _mapTile: MapTileProto? = nil - fileprivate var _tileData: MapCompositionRoot? = nil - fileprivate var _labelData: LabelTile? = nil + fileprivate var _storage = _StorageClass.defaultInstance } -public struct MapTileProto { +public struct InternalMarketingTelemetryMetadata { // 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. - public var tileType: MapTileProto.TileTypeEnum = .unset - - public var tileIndexX: Int32 = 0 + public var commonMetadata: CommonMarketingTelemetryMetadata { + get {return _commonMetadata ?? CommonMarketingTelemetryMetadata()} + set {_commonMetadata = newValue} + } + /// Returns true if `commonMetadata` has been explicitly set. + public var hasCommonMetadata: Bool {return self._commonMetadata != nil} + /// Clears the value of `commonMetadata`. Subsequent reads from it will return its default value. + public mutating func clearCommonMetadata() {self._commonMetadata = nil} - public var tileIndexY: Int32 = 0 + public var userID: String = String() - public var zoomLevel: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var textSize: MapTileProto.TextSizeEnum = .unset + public init() {} - public var indoorLevelID: String = String() + fileprivate var _commonMetadata: CommonMarketingTelemetryMetadata? = nil +} - public var tileVariant: UInt32 = 0 +public struct InternalMarketingTelemetryWrapper { + // 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. - public var pertileEpoch: Int32 = 0 + public var internalMarketingTelemetry: InternalMarketingTelemetry { + get {return _internalMarketingTelemetry ?? InternalMarketingTelemetry()} + set {_internalMarketingTelemetry = newValue} + } + /// Returns true if `internalMarketingTelemetry` has been explicitly set. + public var hasInternalMarketingTelemetry: Bool {return self._internalMarketingTelemetry != nil} + /// Clears the value of `internalMarketingTelemetry`. Subsequent reads from it will return its default value. + public mutating func clearInternalMarketingTelemetry() {self._internalMarketingTelemetry = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum TextSizeEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case small // = 1 - case medium // = 2 - case large // = 3 - case UNRECOGNIZED(Int) + public init() {} - public init() { - self = .unset - } + fileprivate var _internalMarketingTelemetry: InternalMarketingTelemetry? = nil +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .small - case 2: self = .medium - case 3: self = .large - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct InternalNianticPublicSharedLoginTokenSettings { + // 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. - public var rawValue: Int { - switch self { - case .unset: return 0 - case .small: return 1 - case .medium: return 2 - case .large: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var appSettings: [InternalNianticPublicSharedLoginTokenSettings.AppSettings] = [] + public var clientSettings: InternalNianticPublicSharedLoginTokenSettings.ClientSettings { + get {return _clientSettings ?? InternalNianticPublicSharedLoginTokenSettings.ClientSettings()} + set {_clientSettings = newValue} } + /// Returns true if `clientSettings` has been explicitly set. + public var hasClientSettings: Bool {return self._clientSettings != nil} + /// Clears the value of `clientSettings`. Subsequent reads from it will return its default value. + public mutating func clearClientSettings() {self._clientSettings = nil} - public enum TileTypeEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case mapAtlas // = 2 - case satellite // = 3 - case traffic // = 4 - case gifAtlas // = 5 - case hybrid // = 6 - case terrain // = 7 - case clickableLayer // = 8 - case streetView // = 9 - case vectorAtlas // = 10 - case roadGraph // = 11 - case terrainNoLabels // = 12 - case vectorTransit // = 13 - case indoor // = 14 - case labelsOnly // = 15 - case personalizedSmartmaps // = 16 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 2: self = .mapAtlas - case 3: self = .satellite - case 4: self = .traffic - case 5: self = .gifAtlas - case 6: self = .hybrid - case 7: self = .terrain - case 8: self = .clickableLayer - case 9: self = .streetView - case 10: self = .vectorAtlas - case 11: self = .roadGraph - case 12: self = .terrainNoLabels - case 13: self = .vectorTransit - case 14: self = .indoor - case 15: self = .labelsOnly - case 16: self = .personalizedSmartmaps - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .mapAtlas: return 2 - case .satellite: return 3 - case .traffic: return 4 - case .gifAtlas: return 5 - case .hybrid: return 6 - case .terrain: return 7 - case .clickableLayer: return 8 - case .streetView: return 9 - case .vectorAtlas: return 10 - case .roadGraph: return 11 - case .terrainNoLabels: return 12 - case .vectorTransit: return 13 - case .indoor: return 14 - case .labelsOnly: return 15 - case .personalizedSmartmaps: return 16 - case .UNRECOGNIZED(let i): return i - } - } - - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum TileTypeVariantEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case bicycling // = 7 - case UNRECOGNIZED(Int) + public struct AppSettings { + // 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. - public init() { - self = .unset - } + public var appKey: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 7: self = .bicycling - default: self = .UNRECOGNIZED(rawValue) - } + public var tokenProducerSettings: InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings { + get {return _tokenProducerSettings ?? InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings()} + set {_tokenProducerSettings = newValue} } + /// Returns true if `tokenProducerSettings` has been explicitly set. + public var hasTokenProducerSettings: Bool {return self._tokenProducerSettings != nil} + /// Clears the value of `tokenProducerSettings`. Subsequent reads from it will return its default value. + public mutating func clearTokenProducerSettings() {self._tokenProducerSettings = nil} - public var rawValue: Int { - switch self { - case .unset: return 0 - case .bicycling: return 7 - case .UNRECOGNIZED(let i): return i - } + public var tokenConsumerSettings: InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings { + get {return _tokenConsumerSettings ?? InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings()} + set {_tokenConsumerSettings = newValue} } + /// Returns true if `tokenConsumerSettings` has been explicitly set. + public var hasTokenConsumerSettings: Bool {return self._tokenConsumerSettings != nil} + /// Clears the value of `tokenConsumerSettings`. Subsequent reads from it will return its default value. + public mutating func clearTokenConsumerSettings() {self._tokenConsumerSettings = nil} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public struct TokenConsumerSettings { + // 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. -#if swift(>=4.2) + public var enabled: Bool = false -extension MapTileProto.TextSizeEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapTileProto.TextSizeEnum] = [ - .unset, - .small, - .medium, - .large, - ] -} + public var allowOriginatingAuthProviderID: [String] = [] -extension MapTileProto.TileTypeEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapTileProto.TileTypeEnum] = [ - .unset, - .mapAtlas, - .satellite, - .traffic, - .gifAtlas, - .hybrid, - .terrain, - .clickableLayer, - .streetView, - .vectorAtlas, - .roadGraph, - .terrainNoLabels, - .vectorTransit, - .indoor, - .labelsOnly, - .personalizedSmartmaps, - ] -} - -extension MapTileProto.TileTypeVariantEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapTileProto.TileTypeVariantEnum] = [ - .unset, - .bicycling, - ] -} + public var allowOriginatingAppKey: [String] = [] -#endif // swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct MapTileRequestHeader { - // 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. + public init() {} + } - public var tileSize: UInt32 = 0 + public struct TokenProducerSettings { + // 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. - public var tileFormat: [MapTileRequestHeader.TileFormat] = [] + public var enabled: Bool = false - public var tileOption: [MapTileRequestHeader.TileOption] = [] + public var allowAuthProviderID: [String] = [] - public var textSize: MapTileRequestHeader.TextSize = .desktop + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var fetchType: MapTileRequestHeader.FetchType = .unset + public init() {} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} - public enum FetchType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case normal // = 1 - case prefetchOfflineMap // = 4 - case prefetchRoute // = 6 - case prefetchArea // = 12 - case UNRECOGNIZED(Int) + fileprivate var _tokenProducerSettings: InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings? = nil + fileprivate var _tokenConsumerSettings: InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings? = nil + } - public init() { - self = .unset - } + public struct ClientSettings { + // 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. - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .normal - case 4: self = .prefetchOfflineMap - case 6: self = .prefetchRoute - case 12: self = .prefetchArea - default: self = .UNRECOGNIZED(rawValue) - } - } + public var androidProviderID: [String] = [] - public var rawValue: Int { - switch self { - case .unset: return 0 - case .normal: return 1 - case .prefetchOfflineMap: return 4 - case .prefetchRoute: return 6 - case .prefetchArea: return 12 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} } - public enum TextSize: SwiftProtobuf.Enum { - public typealias RawValue = Int - case desktop // = 0 - case small // = 1 - case medium // = 2 - case large // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .desktop - } + public init() {} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .desktop - case 1: self = .small - case 2: self = .medium - case 3: self = .large - default: self = .UNRECOGNIZED(rawValue) - } - } + fileprivate var _clientSettings: InternalNianticPublicSharedLoginTokenSettings.ClientSettings? = nil +} - public var rawValue: Int { - switch self { - case .desktop: return 0 - case .small: return 1 - case .medium: return 2 - case .large: return 3 - case .UNRECOGNIZED(let i): return i - } - } +public struct InternalNotifyContactListFriendsRequest { + // 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. - } + public var notifyTimestampMs: Int64 = 0 - public enum TileFormat: SwiftProtobuf.Enum { - public typealias RawValue = Int - case compact0 // = 0 - case compact3 // = 1 - case png // = 2 - case jpeg // = 3 - case gif // = 4 - case cjpg0 // = 5 - case trafficVector2 // = 6 - case vectorAtlasDriveaboutV1 // = 7 - case trafficVector3 // = 8 - case roadGraphProto // = 9 - case vectorAtlasDriveaboutV2 // = 10 - case vectorAtlasDriveaboutV3 // = 11 - case UNRECOGNIZED(Int) + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() { - self = .compact0 - } + public init() {} +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .compact0 - case 1: self = .compact3 - case 2: self = .png - case 3: self = .jpeg - case 4: self = .gif - case 5: self = .cjpg0 - case 6: self = .trafficVector2 - case 7: self = .vectorAtlasDriveaboutV1 - case 8: self = .trafficVector3 - case 9: self = .roadGraphProto - case 10: self = .vectorAtlasDriveaboutV2 - case 11: self = .vectorAtlasDriveaboutV3 - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct InternalNotifyContactListFriendsResponse { + // 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. - public var rawValue: Int { - switch self { - case .compact0: return 0 - case .compact3: return 1 - case .png: return 2 - case .jpeg: return 3 - case .gif: return 4 - case .cjpg0: return 5 - case .trafficVector2: return 6 - case .vectorAtlasDriveaboutV1: return 7 - case .trafficVector3: return 8 - case .roadGraphProto: return 9 - case .vectorAtlasDriveaboutV2: return 10 - case .vectorAtlasDriveaboutV3: return 11 - case .UNRECOGNIZED(let i): return i - } - } + public var result: InternalNotifyContactListFriendsResponse.Result = .unset - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum TileOption: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case includeCopyrights // = 0 - case includeClickableAreas // = 1 - case tileInLocalLanguageOnly // = 2 - case onlyRasterTilesAndLabels // = 3 - case checkPerTile // = 4 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorAlreadySent // = 3 case UNRECOGNIZED(Int) public init() { - self = .includeCopyrights + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .includeCopyrights - case 1: self = .includeClickableAreas - case 2: self = .tileInLocalLanguageOnly - case 3: self = .onlyRasterTilesAndLabels - case 4: self = .checkPerTile + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorAlreadySent default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .includeCopyrights: return 0 - case .includeClickableAreas: return 1 - case .tileInLocalLanguageOnly: return 2 - case .onlyRasterTilesAndLabels: return 3 - case .checkPerTile: return 4 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorAlreadySent: return 3 case .UNRECOGNIZED(let i): return i } } @@ -86840,120 +87206,108 @@ public struct MapTileRequestHeader { #if swift(>=4.2) -extension MapTileRequestHeader.FetchType: CaseIterable { +extension InternalNotifyContactListFriendsResponse.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapTileRequestHeader.FetchType] = [ + public static var allCases: [InternalNotifyContactListFriendsResponse.Result] = [ .unset, - .normal, - .prefetchOfflineMap, - .prefetchRoute, - .prefetchArea, + .success, + .errorUnknown, + .errorAlreadySent, ] } -extension MapTileRequestHeader.TextSize: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapTileRequestHeader.TextSize] = [ - .desktop, - .small, - .medium, - .large, - ] -} +#endif // swift(>=4.2) -extension MapTileRequestHeader.TileFormat: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapTileRequestHeader.TileFormat] = [ - .compact0, - .compact3, - .png, - .jpeg, - .gif, - .cjpg0, - .trafficVector2, - .vectorAtlasDriveaboutV1, - .trafficVector3, - .roadGraphProto, - .vectorAtlasDriveaboutV2, - .vectorAtlasDriveaboutV3, - ] -} - -extension MapTileRequestHeader.TileOption: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapTileRequestHeader.TileOption] = [ - .includeCopyrights, - .includeClickableAreas, - .tileInLocalLanguageOnly, - .onlyRasterTilesAndLabels, - .checkPerTile, - ] -} +public struct InternalOptOutProto { + // 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. -#endif // swift(>=4.2) + public var categories: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} -public struct MapTileRequestProto { +public struct InternalOutgoingFriendInviteDisplayProto { // 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. - public var header: MapTileRequestHeader { - get {return _header ?? MapTileRequestHeader()} - set {_header = newValue} + public var invite: InternalOutgoingFriendInviteProto { + get {return _invite ?? InternalOutgoingFriendInviteProto()} + set {_invite = newValue} } - /// Returns true if `header` has been explicitly set. - public var hasHeader: Bool {return self._header != nil} - /// Clears the value of `header`. Subsequent reads from it will return its default value. - public mutating func clearHeader() {self._header = nil} + /// Returns true if `invite` has been explicitly set. + public var hasInvite: Bool {return self._invite != nil} + /// Clears the value of `invite`. Subsequent reads from it will return its default value. + public mutating func clearInvite() {self._invite = nil} - public var mapTile: [MapTileProto] = [] + public var player: InternalPlayerSummaryProto { + get {return _player ?? InternalPlayerSummaryProto()} + set {_player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _header: MapTileRequestHeader? = nil + fileprivate var _invite: InternalOutgoingFriendInviteProto? = nil + fileprivate var _player: InternalPlayerSummaryProto? = nil } -public struct MapTileResponseHeader { +public struct InternalOutgoingFriendInviteProto { // 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. - public var tileEdition: UInt32 = 0 + public var status: InternalOutgoingFriendInviteProto.Status = .unset + + public var playerID: String = String() + + public var createdMs: Int64 = 0 + + public var invitationType: InternalInvitationType = .invitationTypeUnset + + public var fullName: String = String() - public var responseCode: MapTileResponseHeader.ResponseCode = .tileOk + public var niaAccountID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ResponseCode: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case tileOk // = 0 - case tileSizeUnavailable // = 1 - case tileFormatUnavailableForTileSpec // = 2 - case generalError // = 100 + case unset // = 0 + case pending // = 1 + case cancelled // = 2 + case declined // = 3 case UNRECOGNIZED(Int) public init() { - self = .tileOk + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .tileOk - case 1: self = .tileSizeUnavailable - case 2: self = .tileFormatUnavailableForTileSpec - case 100: self = .generalError + case 0: self = .unset + case 1: self = .pending + case 2: self = .cancelled + case 3: self = .declined default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .tileOk: return 0 - case .tileSizeUnavailable: return 1 - case .tileFormatUnavailableForTileSpec: return 2 - case .generalError: return 100 + case .unset: return 0 + case .pending: return 1 + case .cancelled: return 2 + case .declined: return 3 case .UNRECOGNIZED(let i): return i } } @@ -86965,101 +87319,48 @@ public struct MapTileResponseHeader { #if swift(>=4.2) -extension MapTileResponseHeader.ResponseCode: CaseIterable { +extension InternalOutgoingFriendInviteProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MapTileResponseHeader.ResponseCode] = [ - .tileOk, - .tileSizeUnavailable, - .tileFormatUnavailableForTileSpec, - .generalError, + public static var allCases: [InternalOutgoingFriendInviteProto.Status] = [ + .unset, + .pending, + .cancelled, + .declined, ] } #endif // swift(>=4.2) -public struct MapTileResponseProto { +public struct InternalPhoneNumberCountryProto { // 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. - public var header: MapTileResponseHeader { - get {return _header ?? MapTileResponseHeader()} - set {_header = newValue} - } - /// Returns true if `header` has been explicitly set. - public var hasHeader: Bool {return self._header != nil} - /// Clears the value of `header`. Subsequent reads from it will return its default value. - public mutating func clearHeader() {self._header = nil} + public var englishName: String = String() + + public var localizedName: String = String() - public var mapTile: [MapTileDataProto] = [] + public var countryCode: String = String() + + public var callingCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _header: MapTileResponseHeader? = nil } -public struct MapsClientTelemetryOmniProto { +public struct InternalPhotoRecord { // 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. - public var telemetryEvent: MapsClientTelemetryOmniProto.OneOf_TelemetryEvent? = nil - - public var assertionFailed: AssertionFailed { - get { - if case .assertionFailed(let v)? = telemetryEvent {return v} - return AssertionFailed() - } - set {telemetryEvent = .assertionFailed(newValue)} - } - - public var logMessage: LogMessage { - get { - if case .logMessage(let v)? = telemetryEvent {return v} - return LogMessage() - } - set {telemetryEvent = .logMessage(newValue)} - } - - public var timestampMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_TelemetryEvent: Equatable { - case assertionFailed(AssertionFailed) - case logMessage(LogMessage) - - #if !swift(>=4.1) - public static func ==(lhs: MapsClientTelemetryOmniProto.OneOf_TelemetryEvent, rhs: MapsClientTelemetryOmniProto.OneOf_TelemetryEvent) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.assertionFailed, .assertionFailed): return { - guard case .assertionFailed(let l) = lhs, case .assertionFailed(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.logMessage, .logMessage): return { - guard case .logMessage(let l) = lhs, case .logMessage(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } + public var creationTimeMs: Int64 = 0 - public init() {} -} + public var transientPhotoURL: String = String() -public struct MarkMilestoneAsViewedOutProto { - // 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. + public var photoID: String = String() - public var status: MarkMilestoneAsViewedOutProto.Status = .unset + public var status: InternalPhotoRecord.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -87067,8 +87368,8 @@ public struct MarkMilestoneAsViewedOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorDisabled // = 2 - case errorMilestoneNotFound // = 3 + case photoFlagged // = 2 + case errorUnknown // = 3 case UNRECOGNIZED(Int) public init() { @@ -87079,8 +87380,8 @@ public struct MarkMilestoneAsViewedOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorDisabled - case 3: self = .errorMilestoneNotFound + case 2: self = .photoFlagged + case 3: self = .errorUnknown default: self = .UNRECOGNIZED(rawValue) } } @@ -87089,8 +87390,8 @@ public struct MarkMilestoneAsViewedOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorDisabled: return 2 - case .errorMilestoneNotFound: return 3 + case .photoFlagged: return 2 + case .errorUnknown: return 3 case .UNRECOGNIZED(let i): return i } } @@ -87102,76 +87403,116 @@ public struct MarkMilestoneAsViewedOutProto { #if swift(>=4.2) -extension MarkMilestoneAsViewedOutProto.Status: CaseIterable { +extension InternalPhotoRecord.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MarkMilestoneAsViewedOutProto.Status] = [ + public static var allCases: [InternalPhotoRecord.Status] = [ .unset, .success, - .errorDisabled, - .errorMilestoneNotFound, + .photoFlagged, + .errorUnknown, ] } #endif // swift(>=4.2) -public struct MarkMilestoneAsViewedProto { +public struct InternalPlayerSettingsProto { // 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. - public var referrerMilestonesToMark: [MarkMilestoneAsViewedProto.MilestoneLookupProto] = [] + public var optOutOnlineStatus: Bool = false - public var refereeMilestonesToMark: [MarkMilestoneAsViewedProto.MilestoneLookupProto] = [] + public var completedTutorials: [InternalSocialSettings.TutorialType] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct MilestoneLookupProto { - // 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. + public init() {} +} - public var playerID: String = String() +public struct InternalPlayerSummaryProto { + // 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. - public var milestoneID: String = String() + public var playerID: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var codename: String = String() - public init() {} - } + public var publicData: Data = Data() + + public var team: String = String() + + public var fbUserID: String = String() + + public var level: Int32 = 0 + + public var experience: Int64 = 0 + + public var niaAccountID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MarkNewsfeedReadRequest { +public struct InternalProfileDetailsProto { // 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. - public var newsfeedPostID: [String] = [] + public var profileNameAppKey: String = String() + + public var nickname: String = String() + + public var profileName: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MarkNewsfeedReadResponse { +public struct InternalProxyRequestProto { // 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. - public var result: MarkNewsfeedReadResponse.Result = .unset + public var action: UInt32 = 0 + + public var host: String = String() + + public var payload: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public init() {} +} + +public struct InternalProxyResponseProto { + // 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. + + public var status: InternalProxyResponseProto.Status = .unset + + public var assignedHost: String = String() + + public var payload: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case internalError // = 2 - case channelNotDefined // = 3 - case emptyNewsfeedList // = 4 - case emptyPlayerID // = 5 - case emptyAppID // = 6 + case completed // = 1 + case completedAndReassigned // = 2 + case actionNotFound // = 3 + case assignmentError // = 4 + case proxyUnauthorizedError // = 5 + case internalError // = 6 + case badRequest // = 7 + case accessDenied // = 8 + case timeoutError // = 9 + case rateLimited // = 10 case UNRECOGNIZED(Int) public init() { @@ -87181,12 +87522,16 @@ public struct MarkNewsfeedReadResponse { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .internalError - case 3: self = .channelNotDefined - case 4: self = .emptyNewsfeedList - case 5: self = .emptyPlayerID - case 6: self = .emptyAppID + case 1: self = .completed + case 2: self = .completedAndReassigned + case 3: self = .actionNotFound + case 4: self = .assignmentError + case 5: self = .proxyUnauthorizedError + case 6: self = .internalError + case 7: self = .badRequest + case 8: self = .accessDenied + case 9: self = .timeoutError + case 10: self = .rateLimited default: self = .UNRECOGNIZED(rawValue) } } @@ -87194,12 +87539,16 @@ public struct MarkNewsfeedReadResponse { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .internalError: return 2 - case .channelNotDefined: return 3 - case .emptyNewsfeedList: return 4 - case .emptyPlayerID: return 5 - case .emptyAppID: return 6 + case .completed: return 1 + case .completedAndReassigned: return 2 + case .actionNotFound: return 3 + case .assignmentError: return 4 + case .proxyUnauthorizedError: return 5 + case .internalError: return 6 + case .badRequest: return 7 + case .accessDenied: return 8 + case .timeoutError: return 9 + case .rateLimited: return 10 case .UNRECOGNIZED(let i): return i } } @@ -87211,27 +87560,31 @@ public struct MarkNewsfeedReadResponse { #if swift(>=4.2) -extension MarkNewsfeedReadResponse.Result: CaseIterable { +extension InternalProxyResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MarkNewsfeedReadResponse.Result] = [ + public static var allCases: [InternalProxyResponseProto.Status] = [ .unset, - .success, + .completed, + .completedAndReassigned, + .actionNotFound, + .assignmentError, + .proxyUnauthorizedError, .internalError, - .channelNotDefined, - .emptyNewsfeedList, - .emptyPlayerID, - .emptyAppID, + .badRequest, + .accessDenied, + .timeoutError, + .rateLimited, ] } #endif // swift(>=4.2) -public struct MarkReadNewsArticleOutProto { +public struct InternalPushNotificationRegistryOutProto { // 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. - public var result: MarkReadNewsArticleOutProto.Result = .unset + public var result: InternalPushNotificationRegistryOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -87239,7 +87592,7 @@ public struct MarkReadNewsArticleOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case noNewsFound // = 2 + case noChange // = 2 case UNRECOGNIZED(Int) public init() { @@ -87250,7 +87603,7 @@ public struct MarkReadNewsArticleOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .noNewsFound + case 2: self = .noChange default: self = .UNRECOGNIZED(rawValue) } } @@ -87259,7 +87612,7 @@ public struct MarkReadNewsArticleOutProto { switch self { case .unset: return 0 case .success: return 1 - case .noNewsFound: return 2 + case .noChange: return 2 case .UNRECOGNIZED(let i): return i } } @@ -87271,174 +87624,195 @@ public struct MarkReadNewsArticleOutProto { #if swift(>=4.2) -extension MarkReadNewsArticleOutProto.Result: CaseIterable { +extension InternalPushNotificationRegistryOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MarkReadNewsArticleOutProto.Result] = [ + public static var allCases: [InternalPushNotificationRegistryOutProto.Result] = [ .unset, .success, - .noNewsFound, + .noChange, ] } #endif // swift(>=4.2) -public struct MarkReadNewsArticleProto { - // 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. - - public var newsIds: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct MarkTutorialCompleteOutProto { +public struct InternalPushNotificationRegistryProto { // 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. - public var success: Bool = false + public var apnToken: InternalApnToken { + get {return _apnToken ?? InternalApnToken()} + set {_apnToken = newValue} + } + /// Returns true if `apnToken` has been explicitly set. + public var hasApnToken: Bool {return self._apnToken != nil} + /// Clears the value of `apnToken`. Subsequent reads from it will return its default value. + public mutating func clearApnToken() {self._apnToken = nil} - public var player: ClientPlayerProto { - get {return _player ?? ClientPlayerProto()} - set {_player = newValue} + public var gcmToken: InternalGcmToken { + get {return _gcmToken ?? InternalGcmToken()} + set {_gcmToken = newValue} } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} + /// Returns true if `gcmToken` has been explicitly set. + public var hasGcmToken: Bool {return self._gcmToken != nil} + /// Clears the value of `gcmToken`. Subsequent reads from it will return its default value. + public mutating func clearGcmToken() {self._gcmToken = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _player: ClientPlayerProto? = nil + fileprivate var _apnToken: InternalApnToken? = nil + fileprivate var _gcmToken: InternalGcmToken? = nil } -public struct MarkTutorialCompleteProto { +public struct InternalReferContactListFriendRequest { // 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. - public var tutorialComplete: [TutorialCompletion] = [] - - public var sendMarketingEmails: Bool = false + public var contactMethod: InternalSocialV2Enum.ContactMethod = .unset - public var sendPushNotifications: Bool = false + public var contactInfo: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var contactID: String = String() - public init() {} -} + public var receiverName: String = String() -public struct MaskedColor { - // 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. + public var appStoreLink: String = String() - public var colorArgb: UInt32 = 0 + public var referral: InternalReferContactListFriendRequest.ReferralProto { + get {return _referral ?? InternalReferContactListFriendRequest.ReferralProto()} + set {_referral = newValue} + } + /// Returns true if `referral` has been explicitly set. + public var hasReferral: Bool {return self._referral != nil} + /// Clears the value of `referral`. Subsequent reads from it will return its default value. + public mutating func clearReferral() {self._referral = nil} - public var colorMaskArgb: UInt32 = 0 + public var countryCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct MegaEvoGlobalSettingsProto { - // 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. - - public var enabled: Bool = false + public struct ReferralProto { + // 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. - public var enableFriendsListMegaInfo: Bool = false + public var referralCode: String = String() - public var obMegaEvoBool1: Bool = false + public var referralLink: String = String() - public var obMegaEvoBool2: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} + + fileprivate var _referral: InternalReferContactListFriendRequest.ReferralProto? = nil } -public struct MegaEvoInfoProto { +public struct InternalReferContactListFriendResponse { // 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. - public var pokedexID: HoloPokemonId = .missingno - - public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset - - public var evoExpirationTimeMs: Int64 = 0 + public var result: InternalReferContactListFriendResponse.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct MegaEvoSettingsProto { - // 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. + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorContactNotFound // = 3 + case errorFailedToSendEmail // = 4 + case errorExceedLimit // = 5 + case errorNoSenderName // = 6 + case errorInappropriateReceiverName // = 7 + case errorAlreadySignedUp // = 8 + case UNRECOGNIZED(Int) - public var evolutionLengthMs: Int64 = 0 + public init() { + self = .unset + } - public var attackBoostFromMegaDifferentType: Float = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorContactNotFound + case 4: self = .errorFailedToSendEmail + case 5: self = .errorExceedLimit + case 6: self = .errorNoSenderName + case 7: self = .errorInappropriateReceiverName + case 8: self = .errorAlreadySignedUp + default: self = .UNRECOGNIZED(rawValue) + } + } - public var attackBoostFromMegaSameType: Float = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorContactNotFound: return 3 + case .errorFailedToSendEmail: return 4 + case .errorExceedLimit: return 5 + case .errorNoSenderName: return 6 + case .errorInappropriateReceiverName: return 7 + case .errorAlreadySignedUp: return 8 + case .UNRECOGNIZED(let i): return i + } + } - public var maxCandyHoardSize: Int32 = 0 + } - public var enableBuddyWalkingMegaEnergyAward: Bool = false + public init() {} +} - public var activeMegaBonusCatchCandy: Int32 = 0 +#if swift(>=4.2) - public var obMegaEvoBool1: Bool = false +extension InternalReferContactListFriendResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalReferContactListFriendResponse.Result] = [ + .unset, + .success, + .errorUnknown, + .errorContactNotFound, + .errorFailedToSendEmail, + .errorExceedLimit, + .errorNoSenderName, + .errorInappropriateReceiverName, + .errorAlreadySignedUp, + ] +} - public var obMegaEvoBool2: Bool = false +#endif // swift(>=4.2) - public var maxMegaLevels: Int32 = 0 +public struct InternalReferralProto { + // 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. - public var obMegaEvoInt322: Int32 = 0 + public var referralCode: String = String() - public var megaLevelEnabled: Bool = false + public var referralLink: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MegaEvolvePokemonOutProto { +public struct InternalRemoveFriendOutProto { // 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. - public var result: MegaEvolvePokemonOutProto.Result = .unset - - public var evolvedPokemon: PokemonProto { - get {return _evolvedPokemon ?? PokemonProto()} - set {_evolvedPokemon = newValue} - } - /// Returns true if `evolvedPokemon` has been explicitly set. - public var hasEvolvedPokemon: Bool {return self._evolvedPokemon != nil} - /// Clears the value of `evolvedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearEvolvedPokemon() {self._evolvedPokemon = nil} - - public var expAwarded: Int32 = 0 - - public var obMegaEvolePokemon: ObMegaEvolvePokemonProtoField { - get {return _obMegaEvolePokemon ?? ObMegaEvolvePokemonProtoField()} - set {_obMegaEvolePokemon = newValue} - } - /// Returns true if `obMegaEvolePokemon` has been explicitly set. - public var hasObMegaEvolePokemon: Bool {return self._obMegaEvolePokemon != nil} - /// Clears the value of `obMegaEvolePokemon`. Subsequent reads from it will return its default value. - public mutating func clearObMegaEvolePokemon() {self._obMegaEvolePokemon = nil} + public var result: InternalRemoveFriendOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -87446,12 +87820,8 @@ public struct MegaEvolvePokemonOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case failedPokemonMissing // = 2 - case failedInsufficientResources // = 3 - case failedPokemonCannotEvolve // = 4 - case failedPokemonIsDeployed // = 5 - case failedInvalidItemRequirement // = 6 - case failedPokemonAlreadyMegaEvolved // = 7 + case errorPlayerDoesNotExistDeleted // = 2 + case errorPlayerNotAFriend // = 3 case UNRECOGNIZED(Int) public init() { @@ -87462,12 +87832,8 @@ public struct MegaEvolvePokemonOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .failedPokemonMissing - case 3: self = .failedInsufficientResources - case 4: self = .failedPokemonCannotEvolve - case 5: self = .failedPokemonIsDeployed - case 6: self = .failedInvalidItemRequirement - case 7: self = .failedPokemonAlreadyMegaEvolved + case 2: self = .errorPlayerDoesNotExistDeleted + case 3: self = .errorPlayerNotAFriend default: self = .UNRECOGNIZED(rawValue) } } @@ -87476,12 +87842,8 @@ public struct MegaEvolvePokemonOutProto { switch self { case .unset: return 0 case .success: return 1 - case .failedPokemonMissing: return 2 - case .failedInsufficientResources: return 3 - case .failedPokemonCannotEvolve: return 4 - case .failedPokemonIsDeployed: return 5 - case .failedInvalidItemRequirement: return 6 - case .failedPokemonAlreadyMegaEvolved: return 7 + case .errorPlayerDoesNotExistDeleted: return 2 + case .errorPlayerNotAFriend: return 3 case .UNRECOGNIZED(let i): return i } } @@ -87489,487 +87851,454 @@ public struct MegaEvolvePokemonOutProto { } public init() {} - - fileprivate var _evolvedPokemon: PokemonProto? = nil - fileprivate var _obMegaEvolePokemon: ObMegaEvolvePokemonProtoField? = nil } #if swift(>=4.2) -extension MegaEvolvePokemonOutProto.Result: CaseIterable { +extension InternalRemoveFriendOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MegaEvolvePokemonOutProto.Result] = [ + public static var allCases: [InternalRemoveFriendOutProto.Result] = [ .unset, .success, - .failedPokemonMissing, - .failedInsufficientResources, - .failedPokemonCannotEvolve, - .failedPokemonIsDeployed, - .failedInvalidItemRequirement, - .failedPokemonAlreadyMegaEvolved, + .errorPlayerDoesNotExistDeleted, + .errorPlayerNotAFriend, ] } #endif // swift(>=4.2) -public struct MegaEvolvePokemonProto { +public struct InternalRemoveFriendProto { // 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. - public var pokemonID: UInt64 = 0 - - public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset - - public var obMegaEvolePokemon: Bool = false + public var playerID: String = String() - public var obMode: ObMegaEvolvePokemon1Proto.ObMode = .unset + public var niaAccountID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MegaEvolvePokemonSpeciesProto { +public struct InternalRemoveLoginActionOutProto { // 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. - public var energyCount: Int32 = 0 + public var success: Bool = false - public var pokemonSpeciesID: Int32 = 0 + public var loginDetail: [InternalLoginDetail] = [] + + public var status: InternalRemoveLoginActionOutProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case loginNotRemovable // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) -public struct MegaLevelCooldownSettingsProto { - // 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. + public init() { + self = .unset + } - public var durationMs: Int64 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .loginNotRemovable + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } - public var maxMegaCandyRequired: Int32 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .loginNotRemovable: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var obInt322: Int32 = 0 + } - public var obInt323: Int32 = 0 + public init() {} +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalRemoveLoginActionOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalRemoveLoginActionOutProto.Status] = [ + .unset, + .loginNotRemovable, + .errorUnknown, + ] } -public struct MegaLevelPerksProto { +#endif // swift(>=4.2) + +public struct InternalRemoveLoginActionProto { // 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. - public var megaPerkAttackBoostFromMegaDifferentType: Float = 0 - - public var megaPerkAttackBoostFromMegaSameType: Float = 0 + public var identityProvider: AuthIdentityProvider = .unsetIdentityProvider - public var megaPerkActiveMegaBonusCatchCandy: Int32 = 0 - - public var megaPerkXpCatchBonus: Int32 = 0 - - public var megaPerkXlCandyBonusChance: Float = 0 + public var authProviderID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MegaLevelSettingsProto { +public struct InternalSavePlayerSettingsOutProto { // 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. - public var level: Int32 = 0 - - public var pokemonID: HoloPokemonId = .missingno - - public var megaLevelUnlockSettings: MegaLevelUnlockSettingsProto { - get {return _megaLevelUnlockSettings ?? MegaLevelUnlockSettingsProto()} - set {_megaLevelUnlockSettings = newValue} - } - /// Returns true if `megaLevelUnlockSettings` has been explicitly set. - public var hasMegaLevelUnlockSettings: Bool {return self._megaLevelUnlockSettings != nil} - /// Clears the value of `megaLevelUnlockSettings`. Subsequent reads from it will return its default value. - public mutating func clearMegaLevelUnlockSettings() {self._megaLevelUnlockSettings = nil} - - public var megaLevelCooldownSettings: MegaLevelCooldownSettingsProto { - get {return _megaLevelCooldownSettings ?? MegaLevelCooldownSettingsProto()} - set {_megaLevelCooldownSettings = newValue} - } - /// Returns true if `megaLevelCooldownSettings` has been explicitly set. - public var hasMegaLevelCooldownSettings: Bool {return self._megaLevelCooldownSettings != nil} - /// Clears the value of `megaLevelCooldownSettings`. Subsequent reads from it will return its default value. - public mutating func clearMegaLevelCooldownSettings() {self._megaLevelCooldownSettings = nil} - - public var megaLevelPerks: MegaLevelPerksProto { - get {return _megaLevelPerks ?? MegaLevelPerksProto()} - set {_megaLevelPerks = newValue} - } - /// Returns true if `megaLevelPerks` has been explicitly set. - public var hasMegaLevelPerks: Bool {return self._megaLevelPerks != nil} - /// Clears the value of `megaLevelPerks`. Subsequent reads from it will return its default value. - public mutating func clearMegaLevelPerks() {self._megaLevelPerks = nil} + public var result: InternalSavePlayerSettingsOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) - fileprivate var _megaLevelUnlockSettings: MegaLevelUnlockSettingsProto? = nil - fileprivate var _megaLevelCooldownSettings: MegaLevelCooldownSettingsProto? = nil - fileprivate var _megaLevelPerks: MegaLevelPerksProto? = nil -} + public init() { + self = .unset + } -public struct MegaLevelUnlockSettingsProto { - // 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. + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } - public var megaEvolutionsRequiredToUnlock: Int32 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var obInt322: Int32 = 0 + } - public var obInt323: Int32 = 0 + public init() {} +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalSavePlayerSettingsOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSavePlayerSettingsOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + ] } -public struct MementoAttributesProto { +#endif // swift(>=4.2) + +public struct InternalSavePlayerSettingsProto { // 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. - public var type: MementoAttributesProto.OneOf_Type? = nil - - public var postcardDisplay: PostcardDisplayProto { - get { - if case .postcardDisplay(let v)? = type {return v} - return PostcardDisplayProto() - } - set {type = .postcardDisplay(newValue)} + public var settings: InternalPlayerSettingsProto { + get {return _settings ?? InternalPlayerSettingsProto()} + set {_settings = newValue} } - - public var mementoType: MementoType = .mementoPostcard - - public var latitude: Double = 0 - - public var longitude: Double = 0 - - public var addedTimestampMs: Int64 = 0 - - public var mementoHash: String = String() + /// Returns true if `settings` has been explicitly set. + public var hasSettings: Bool {return self._settings != nil} + /// Clears the value of `settings`. Subsequent reads from it will return its default value. + public mutating func clearSettings() {self._settings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Type: Equatable { - case postcardDisplay(PostcardDisplayProto) - - #if !swift(>=4.1) - public static func ==(lhs: MementoAttributesProto.OneOf_Type, rhs: MementoAttributesProto.OneOf_Type) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.postcardDisplay, .postcardDisplay): return { - guard case .postcardDisplay(let l) = lhs, case .postcardDisplay(let r) = rhs else { preconditionFailure() } - return l == r - }() - } - } - #endif - } - public init() {} + + fileprivate var _settings: InternalPlayerSettingsProto? = nil } -public struct MessageFlag { +public struct InternalSearchPlayerOutProto { // 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. - public var content: MessageFlag.OneOf_Content? = nil - - public var text: String { - get { - if case .text(let v)? = content {return v} - return String() - } - set {content = .text(newValue)} - } + public var result: InternalSearchPlayerOutProto.Result = .unset - public var imageID: String { - get { - if case .imageID(let v)? = content {return v} - return String() - } - set {content = .imageID(newValue)} + public var player: InternalPlayerSummaryProto { + get {return _player ?? InternalPlayerSummaryProto()} + set {_player = newValue} } - - public var channelURL: String = String() - - public var messageID: Int64 = 0 - - public var flagCategory: FlagCategory.Category = .undefined + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Content: Equatable { - case text(String) - case imageID(String) + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 + case UNRECOGNIZED(Int) - #if !swift(>=4.1) - public static func ==(lhs: MessageFlag.OneOf_Content, rhs: MessageFlag.OneOf_Content) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.text, .text): return { - guard case .text(let l) = lhs, case .text(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.imageID, .imageID): return { - guard case .imageID(let l) = lhs, case .imageID(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } + public init() { + self = .unset } - #endif - } - public init() {} -} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } -public struct MessageFlags { - // 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. + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var flag: MessageFlag { - get {return _flag ?? MessageFlag()} - set {_flag = newValue} } - /// Returns true if `flag` has been explicitly set. - public var hasFlag: Bool {return self._flag != nil} - /// Clears the value of `flag`. Subsequent reads from it will return its default value. - public mutating func clearFlag() {self._flag = nil} - - public var flaggerPlayerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _flag: MessageFlag? = nil + fileprivate var _player: InternalPlayerSummaryProto? = nil } -public struct MessageLogReportData { - // 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. - - public var message: String = String() - - public var languageCode: String = String() - - public var category: [FlagCategory.Category] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension InternalSearchPlayerOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSearchPlayerOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerNotFound, + ] } -public struct MessageOptions { +#endif // swift(>=4.2) + +public struct InternalSearchPlayerProto { // 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. - public var messageSetWireFormat: Bool = false - - public var noStandardDescriptorAccessor: Bool = false - - public var deprecated: Bool = false - - public var mapEntry: Bool = false + public var friendCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MessageProfanityReportData { +public struct InternalSendContactListFriendInviteRequest { // 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. - public var reportedMessage: String = String() + public var emails: [String] = [] - public var languageCode: String = String() + public var phoneNumbers: [String] = [] - public var category: [FlagCategory.Category] = [] + public var countryCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MessagingClientEvent { +public struct InternalSendContactListFriendInviteResponse { // 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. - /// The project number used to send the message. - public var projectNumber: Int64 = 0 - - /// The message id aka persistent id. - public var messageID: String = String() - - /// The instance id or fid of the app the message is sent to. - public var instanceID: String = String() - - /// The type of the message. - public var messageType: MessagingClientEvent.MessageType = .unknown - - /// The platform of the recipient. - public var sdkPlatform: MessagingClientEvent.SDKPlatform = .unknownOs - - /// The package name for Android apps or the bundle id for iOS apps. - public var packageName: String = String() - - /// The collapse key set for this message. - public var collapseKey: String = String() - - /// Priority level of the message. - /// 5 = normal, 10 = high - public var priority: Int32 = 0 - - /// TTL for the message, if set. - public var ttl: Int32 = 0 - - /// The topic the message is sent to. - public var topic: String = String() - - /// An id generated by the server to group all messages belonging to a single - /// request together. - public var bulkID: Int64 = 0 - - /// The status for the event being logged. - public var event: MessagingClientEvent.Event = .unknownEvent - - /// Label provided by developer for analytics purposes. - public var analyticsLabel: String = String() - - /// The id of the Firebase notifications campaign - public var campaignID: Int64 = 0 - - /// The name of the Firebase notifications campaign ("Notification name" - /// parameter set in campaign composer in Firebase console). - public var composerLabel: String = String() + public var result: InternalSendContactListFriendInviteResponse.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum MessageType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 - case dataMessage // = 1 - case topic // = 2 - case displayNotification // = 3 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerOutboxFull // = 3 + case errorPlayerInboxFull // = 4 + case errorSenderHasMaxFriends // = 5 + case errorReceiverHasMaxFriends // = 6 + case errorAlreadyAFriend // = 7 + case errorInviteAlreadySent // = 8 + case errorInviteAlreadyReceived // = 9 + case errorCannotSendInvitesToYourself // = 10 + case errorContactNotFound // = 11 + case errorReceiverNotFound // = 12 + case errorNoSenderName // = 13 + case errorSendToBlockedUser // = 14 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown - case 1: self = .dataMessage - case 2: self = .topic - case 3: self = .displayNotification + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerOutboxFull + case 4: self = .errorPlayerInboxFull + case 5: self = .errorSenderHasMaxFriends + case 6: self = .errorReceiverHasMaxFriends + case 7: self = .errorAlreadyAFriend + case 8: self = .errorInviteAlreadySent + case 9: self = .errorInviteAlreadyReceived + case 10: self = .errorCannotSendInvitesToYourself + case 11: self = .errorContactNotFound + case 12: self = .errorReceiverNotFound + case 13: self = .errorNoSenderName + case 14: self = .errorSendToBlockedUser default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 - case .dataMessage: return 1 - case .topic: return 2 - case .displayNotification: return 3 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerOutboxFull: return 3 + case .errorPlayerInboxFull: return 4 + case .errorSenderHasMaxFriends: return 5 + case .errorReceiverHasMaxFriends: return 6 + case .errorAlreadyAFriend: return 7 + case .errorInviteAlreadySent: return 8 + case .errorInviteAlreadyReceived: return 9 + case .errorCannotSendInvitesToYourself: return 10 + case .errorContactNotFound: return 11 + case .errorReceiverNotFound: return 12 + case .errorNoSenderName: return 13 + case .errorSendToBlockedUser: return 14 case .UNRECOGNIZED(let i): return i } } } - public enum SDKPlatform: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknownOs // = 0 - case android // = 1 - case ios // = 2 - case web // = 3 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .unknownOs - } +#if swift(>=4.2) - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknownOs - case 1: self = .android - case 2: self = .ios - case 3: self = .web - default: self = .UNRECOGNIZED(rawValue) - } - } +extension InternalSendContactListFriendInviteResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSendContactListFriendInviteResponse.Result] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerOutboxFull, + .errorPlayerInboxFull, + .errorSenderHasMaxFriends, + .errorReceiverHasMaxFriends, + .errorAlreadyAFriend, + .errorInviteAlreadySent, + .errorInviteAlreadyReceived, + .errorCannotSendInvitesToYourself, + .errorContactNotFound, + .errorReceiverNotFound, + .errorNoSenderName, + .errorSendToBlockedUser, + ] +} - public var rawValue: Int { - switch self { - case .unknownOs: return 0 - case .android: return 1 - case .ios: return 2 - case .web: return 3 - case .UNRECOGNIZED(let i): return i - } - } +#endif // swift(>=4.2) - } +public struct InternalSendFriendInviteOutProto { + // 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. - public enum Event: SwiftProtobuf.Enum { + public var result: InternalSendFriendInviteOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknownEvent // = 0 - case messageDelivered // = 1 - case messageOpen // = 2 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorAlreadyAFriend // = 3 + case errorPlayerDoesNotExistDeleted // = 4 + case errorPlayerInboxFull // = 5 + case errorPlayerOutboxFull // = 6 + case errorSenderHasMaxFriends // = 7 + case errorInviteAlreadySent // = 8 + case errorCannotSendInvitesToYourself // = 9 + case errorInviteAlreadyReceived // = 10 + case errorReceiverHasMaxFriends // = 11 + case errorSendToBlockedUser // = 12 case UNRECOGNIZED(Int) public init() { - self = .unknownEvent + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknownEvent - case 1: self = .messageDelivered - case 2: self = .messageOpen + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorAlreadyAFriend + case 4: self = .errorPlayerDoesNotExistDeleted + case 5: self = .errorPlayerInboxFull + case 6: self = .errorPlayerOutboxFull + case 7: self = .errorSenderHasMaxFriends + case 8: self = .errorInviteAlreadySent + case 9: self = .errorCannotSendInvitesToYourself + case 10: self = .errorInviteAlreadyReceived + case 11: self = .errorReceiverHasMaxFriends + case 12: self = .errorSendToBlockedUser default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknownEvent: return 0 - case .messageDelivered: return 1 - case .messageOpen: return 2 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorAlreadyAFriend: return 3 + case .errorPlayerDoesNotExistDeleted: return 4 + case .errorPlayerInboxFull: return 5 + case .errorPlayerOutboxFull: return 6 + case .errorSenderHasMaxFriends: return 7 + case .errorInviteAlreadySent: return 8 + case .errorCannotSendInvitesToYourself: return 9 + case .errorInviteAlreadyReceived: return 10 + case .errorReceiverHasMaxFriends: return 11 + case .errorSendToBlockedUser: return 12 case .UNRECOGNIZED(let i): return i } } @@ -87981,215 +88310,104 @@ public struct MessagingClientEvent { #if swift(>=4.2) -extension MessagingClientEvent.MessageType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MessagingClientEvent.MessageType] = [ - .unknown, - .dataMessage, - .topic, - .displayNotification, - ] -} - -extension MessagingClientEvent.SDKPlatform: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MessagingClientEvent.SDKPlatform] = [ - .unknownOs, - .android, - .ios, - .web, - ] -} - -extension MessagingClientEvent.Event: CaseIterable { +extension InternalSendFriendInviteOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MessagingClientEvent.Event] = [ - .unknownEvent, - .messageDelivered, - .messageOpen, + public static var allCases: [InternalSendFriendInviteOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorAlreadyAFriend, + .errorPlayerDoesNotExistDeleted, + .errorPlayerInboxFull, + .errorPlayerOutboxFull, + .errorSenderHasMaxFriends, + .errorInviteAlreadySent, + .errorCannotSendInvitesToYourself, + .errorInviteAlreadyReceived, + .errorReceiverHasMaxFriends, + .errorSendToBlockedUser, ] } #endif // swift(>=4.2) -public struct MessagingClientEventExtension { - // 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. - - public var messagingClientEvent: MessagingClientEvent { - get {return _messagingClientEvent ?? MessagingClientEvent()} - set {_messagingClientEvent = newValue} - } - /// Returns true if `messagingClientEvent` has been explicitly set. - public var hasMessagingClientEvent: Bool {return self._messagingClientEvent != nil} - /// Clears the value of `messagingClientEvent`. Subsequent reads from it will return its default value. - public mutating func clearMessagingClientEvent() {self._messagingClientEvent = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _messagingClientEvent: MessagingClientEvent? = nil -} - -public struct MethodDescriptorProto { +public struct InternalSendFriendInviteProto { // 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. - public var name: String = String() - - public var inputType: String = String() - - public var outputType: String = String() + public var playerID: String = String() - public var options: MethodOptions { - get {return _options ?? MethodOptions()} - set {_options = newValue} - } - /// Returns true if `options` has been explicitly set. - public var hasOptions: Bool {return self._options != nil} - /// Clears the value of `options`. Subsequent reads from it will return its default value. - public mutating func clearOptions() {self._options = nil} + public var friendCode: String = String() - public var clientStreaming: Bool = false + public var readOnly: Bool = false - public var serverStreaming: Bool = false + public var niaAccountID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _options: MethodOptions? = nil } -public struct MethodOptions { +public struct InternalSendSmsVerificationCodeRequest { // 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. - public var deprecated: Bool = false + public var phoneNumber: String = String() + + public var countryCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct MetricData { +public struct InternalSendSmsVerificationCodeResponse { // 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. - public var datapointValue: MetricData.OneOf_DatapointValue? = nil - - public var longValue: Int64 { - get { - if case .longValue(let v)? = datapointValue {return v} - return 0 - } - set {datapointValue = .longValue(newValue)} - } - - public var doubleValue: Double { - get { - if case .doubleValue(let v)? = datapointValue {return v} - return 0 - } - set {datapointValue = .doubleValue(newValue)} - } - - public var booleanValue: Bool { - get { - if case .booleanValue(let v)? = datapointValue {return v} - return false - } - set {datapointValue = .booleanValue(newValue)} - } - - public var distribution: Distribution { - get { - if case .distribution(let v)? = datapointValue {return v} - return Distribution() - } - set {datapointValue = .distribution(newValue)} - } - - public var commonTelemetry: TelemetryCommon { - get {return _commonTelemetry ?? TelemetryCommon()} - set {_commonTelemetry = newValue} - } - /// Returns true if `commonTelemetry` has been explicitly set. - public var hasCommonTelemetry: Bool {return self._commonTelemetry != nil} - /// Clears the value of `commonTelemetry`. Subsequent reads from it will return its default value. - public mutating func clearCommonTelemetry() {self._commonTelemetry = nil} + public var status: InternalSendSmsVerificationCodeResponse.Status = .unset - public var metricKind: MetricData.Kind = .unspecified + public var errorMessage: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_DatapointValue: Equatable { - case longValue(Int64) - case doubleValue(Double) - case booleanValue(Bool) - case distribution(Distribution) - - #if !swift(>=4.1) - public static func ==(lhs: MetricData.OneOf_DatapointValue, rhs: MetricData.OneOf_DatapointValue) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.longValue, .longValue): return { - guard case .longValue(let l) = lhs, case .longValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.doubleValue, .doubleValue): return { - guard case .doubleValue(let l) = lhs, case .doubleValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.booleanValue, .booleanValue): return { - guard case .booleanValue(let l) = lhs, case .booleanValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.distribution, .distribution): return { - guard case .distribution(let l) = lhs, case .distribution(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum Kind: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case unspecified // = 0 - case gauge // = 1 - case delta // = 2 - case cumulative // = 3 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorTooFrequentAttempts // = 3 + case errorTooManyAttempts // = 4 + case errorInvalidPhoneNumber // = 5 case UNRECOGNIZED(Int) public init() { - self = .unspecified + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unspecified - case 1: self = .gauge - case 2: self = .delta - case 3: self = .cumulative + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorTooFrequentAttempts + case 4: self = .errorTooManyAttempts + case 5: self = .errorInvalidPhoneNumber default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unspecified: return 0 - case .gauge: return 1 - case .delta: return 2 - case .cumulative: return 3 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorTooFrequentAttempts: return 3 + case .errorTooManyAttempts: return 4 + case .errorInvalidPhoneNumber: return 5 case .UNRECOGNIZED(let i): return i } } @@ -88197,144 +88415,156 @@ public struct MetricData { } public init() {} - - fileprivate var _commonTelemetry: TelemetryCommon? = nil } #if swift(>=4.2) -extension MetricData.Kind: CaseIterable { +extension InternalSendSmsVerificationCodeResponse.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MetricData.Kind] = [ - .unspecified, - .gauge, - .delta, - .cumulative, + public static var allCases: [InternalSendSmsVerificationCodeResponse.Status] = [ + .unset, + .success, + .errorUnknown, + .errorTooFrequentAttempts, + .errorTooManyAttempts, + .errorInvalidPhoneNumber, ] } #endif // swift(>=4.2) -public struct MetricRecord { +public struct InternalSetAccountContactSettingsRequest { // 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. - public var serverData: ServerRecordMetadata { - get {return _storage._serverData ?? ServerRecordMetadata()} - set {_uniqueStorage()._serverData = newValue} - } - /// Returns true if `serverData` has been explicitly set. - public var hasServerData: Bool {return _storage._serverData != nil} - /// Clears the value of `serverData`. Subsequent reads from it will return its default value. - public mutating func clearServerData() {_uniqueStorage()._serverData = nil} + public var fullName: String = String() - public var datapoint: Datapoint { - get {return _storage._datapoint ?? Datapoint()} - set {_uniqueStorage()._datapoint = newValue} - } - /// Returns true if `datapoint` has been explicitly set. - public var hasDatapoint: Bool {return _storage._datapoint != nil} - /// Clears the value of `datapoint`. Subsequent reads from it will return its default value. - public mutating func clearDatapoint() {_uniqueStorage()._datapoint = nil} + public var contactImportDiscoverabilityConsent: InternalAccountContactSettings.ConsentStatus = .unknown - public var commonFilters: ClientTelemetryCommonFilterProto { - get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} - set {_uniqueStorage()._commonFilters = newValue} + public var updateFieldMask: FieldMask { + get {return _updateFieldMask ?? FieldMask()} + set {_updateFieldMask = newValue} } - /// Returns true if `commonFilters` has been explicitly set. - public var hasCommonFilters: Bool {return _storage._commonFilters != nil} - /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. - public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} + /// Returns true if `updateFieldMask` has been explicitly set. + public var hasUpdateFieldMask: Bool {return self._updateFieldMask != nil} + /// Clears the value of `updateFieldMask`. Subsequent reads from it will return its default value. + public mutating func clearUpdateFieldMask() {self._updateFieldMask = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _storage = _StorageClass.defaultInstance + fileprivate var _updateFieldMask: FieldMask? = nil } -public struct MiniCollectionBadgeData { +public struct InternalSetAccountContactSettingsResponse { // 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. - public var event: [MiniCollectionBadgeEvent] = [] + public var status: InternalSetAccountContactSettingsResponse.Status = .unset + + public var errorMessage: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case nameNotAllowed // = 3 + case nameAbusive // = 4 + case nameInvalid // = 5 + case UNRECOGNIZED(Int) -public struct MiniCollectionBadgeEvent { - // 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. + public init() { + self = .unset + } - public var eventID: String = String() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .nameNotAllowed + case 4: self = .nameAbusive + case 5: self = .nameInvalid + default: self = .UNRECOGNIZED(rawValue) + } + } - public var completedTimestamp: Int64 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .nameNotAllowed: return 3 + case .nameAbusive: return 4 + case .nameInvalid: return 5 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct MiniCollectionPokemon { - // 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. - - public var pokedexID: HoloPokemonId = .missingno +#if swift(>=4.2) - public var display: PokemonDisplayProto { - get {return _display ?? PokemonDisplayProto()} - set {_display = newValue} - } - /// Returns true if `display` has been explicitly set. - public var hasDisplay: Bool {return self._display != nil} - /// Clears the value of `display`. Subsequent reads from it will return its default value. - public mutating func clearDisplay() {self._display = nil} +extension InternalSetAccountContactSettingsResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSetAccountContactSettingsResponse.Status] = [ + .unset, + .success, + .errorUnknown, + .nameNotAllowed, + .nameAbusive, + .nameInvalid, + ] +} - public var caught: Bool = false +#endif // swift(>=4.2) - public var collectionType: MiniCollectionPokemon.CollectType = .catch +public struct InternalSetAccountSettingsOutProto { + // 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. - public var requireAlignmentToMatch: Bool = false + public var result: InternalSetAccountSettingsOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum CollectType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case `catch` // = 0 - case trade // = 1 - case evolve // = 2 - case catchFromRaid // = 3 - case hatch // = 4 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorInappropriateName // = 3 case UNRECOGNIZED(Int) public init() { - self = .catch + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .catch - case 1: self = .trade - case 2: self = .evolve - case 3: self = .catchFromRaid - case 4: self = .hatch + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorInappropriateName default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .catch: return 0 - case .trade: return 1 - case .evolve: return 2 - case .catchFromRaid: return 3 - case .hatch: return 4 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorInappropriateName: return 3 case .UNRECOGNIZED(let i): return i } } @@ -88342,297 +88572,341 @@ public struct MiniCollectionPokemon { } public init() {} - - fileprivate var _display: PokemonDisplayProto? = nil } #if swift(>=4.2) -extension MiniCollectionPokemon.CollectType: CaseIterable { +extension InternalSetAccountSettingsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MiniCollectionPokemon.CollectType] = [ - .catch, - .trade, - .evolve, - .catchFromRaid, - .hatch, + public static var allCases: [InternalSetAccountSettingsOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorInappropriateName, ] } #endif // swift(>=4.2) -public struct MiniCollectionProto { +public struct InternalSetAccountSettingsProto { // 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. - public var pokemon: [MiniCollectionPokemon] = [] - - public var completed: Bool = false + public var settings: InternalAccountSettingsProto { + get {return _settings ?? InternalAccountSettingsProto()} + set {_settings = newValue} + } + /// Returns true if `settings` has been explicitly set. + public var hasSettings: Bool {return self._settings != nil} + /// Clears the value of `settings`. Subsequent reads from it will return its default value. + public mutating func clearSettings() {self._settings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} -} - -public struct MiniCollectionSectionProto { - // 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. - - public var questID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + fileprivate var _settings: InternalAccountSettingsProto? = nil } -public struct MissingTranslationTelemetry { +public struct InternalSocialClientFeatures { // 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. - public var obMissingTranslationTelemetry1: String = String() - - public var obMissingTranslationTelemetry2: String = String() + public var crossGameSocialSettings: InternalSocialClientFeatures.CrossGameSocialClientSettingsProto { + get {return _crossGameSocialSettings ?? InternalSocialClientFeatures.CrossGameSocialClientSettingsProto()} + set {_crossGameSocialSettings = newValue} + } + /// Returns true if `crossGameSocialSettings` has been explicitly set. + public var hasCrossGameSocialSettings: Bool {return self._crossGameSocialSettings != nil} + /// Clears the value of `crossGameSocialSettings`. Subsequent reads from it will return its default value. + public mutating func clearCrossGameSocialSettings() {self._crossGameSocialSettings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct Mixin { - // 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. - - public var name: String = String() + public struct CrossGameSocialClientSettingsProto { + // 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. - public var root: String = String() + public var disabledFeatures: [InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var appLink: InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType = .noLink - public init() {} -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct MonodepthDownloadTelemetry { - // 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. + public enum AppLinkType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noLink // = 0 + case webLink // = 1 + case appStoreLink // = 2 + case UNRECOGNIZED(Int) - public var downloadedPackage: Bool = false + public init() { + self = .noLink + } - public var skippedPackage: Bool = false + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noLink + case 1: self = .webLink + case 2: self = .appStoreLink + default: self = .UNRECOGNIZED(rawValue) + } + } - public var modelDownloaded: String = String() + public var rawValue: Int { + switch self { + case .noLink: return 0 + case .webLink: return 1 + case .appStoreLink: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } - public init() {} -} + public enum FeatureType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case nianticProfile // = 1 + case onlineStatus // = 2 + case crossGameFriendList // = 3 + case gameInviteSender // = 4 + case sharedFriendGraph // = 5 + case nickname // = 6 + case crossGameOnlineStatus // = 7 + case gameInviteReceiver // = 8 + case addressBookImport // = 9 + case UNRECOGNIZED(Int) -public struct MonodepthSettingsProto { - // 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. + public init() { + self = .unset + } - public var enableOcclusions: Bool = false + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .nianticProfile + case 2: self = .onlineStatus + case 3: self = .crossGameFriendList + case 4: self = .gameInviteSender + case 5: self = .sharedFriendGraph + case 6: self = .nickname + case 7: self = .crossGameOnlineStatus + case 8: self = .gameInviteReceiver + case 9: self = .addressBookImport + default: self = .UNRECOGNIZED(rawValue) + } + } - public var occlusionsDefaultOn: Bool = false + public var rawValue: Int { + switch self { + case .unset: return 0 + case .nianticProfile: return 1 + case .onlineStatus: return 2 + case .crossGameFriendList: return 3 + case .gameInviteSender: return 4 + case .sharedFriendGraph: return 5 + case .nickname: return 6 + case .crossGameOnlineStatus: return 7 + case .gameInviteReceiver: return 8 + case .addressBookImport: return 9 + case .UNRECOGNIZED(let i): return i + } + } - public var occlusionsToggleVisible: Bool = false + } - public var enableGroundSuppression: Bool = false + public init() {} + } - public var minGroundSuppressionThresh: Float = 0 + public init() {} - public var suppressionChannelID: UInt32 = 0 + fileprivate var _crossGameSocialSettings: InternalSocialClientFeatures.CrossGameSocialClientSettingsProto? = nil +} - public var suppressionChannelName: String = String() +#if swift(>=4.2) - public var unknownFields = SwiftProtobuf.UnknownStorage() +extension InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType] = [ + .noLink, + .webLink, + .appStoreLink, + ] +} - public init() {} +extension InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType] = [ + .unset, + .nianticProfile, + .onlineStatus, + .crossGameFriendList, + .gameInviteSender, + .sharedFriendGraph, + .nickname, + .crossGameOnlineStatus, + .gameInviteReceiver, + .addressBookImport, + ] } -public struct MotivatedPokemonProto { +#endif // swift(>=4.2) + +public struct InternalSocialClientGlobalSettings { // 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. - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} + public var crossGameSocialSettings: InternalSocialClientGlobalSettings.CrossGameSocialSettingsProto { + get {return _crossGameSocialSettings ?? InternalSocialClientGlobalSettings.CrossGameSocialSettingsProto()} + set {_crossGameSocialSettings = newValue} } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var deployMs: Int64 = 0 - - public var cpWhenDeployed: Int32 = 0 + /// Returns true if `crossGameSocialSettings` has been explicitly set. + public var hasCrossGameSocialSettings: Bool {return self._crossGameSocialSettings != nil} + /// Clears the value of `crossGameSocialSettings`. Subsequent reads from it will return its default value. + public mutating func clearCrossGameSocialSettings() {self._crossGameSocialSettings = nil} - public var motivationNow: Double = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var cpNow: Int32 = 0 + public struct CrossGameSocialSettingsProto { + // 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. - public var berryValue: Float = 0 + public var nianticProfileCodenameOptOutEnabled: Bool = false - public var feedCooldownDurationMillis: Int64 = 0 + public var disabledOutgoingGameInviteAppKey: [String] = [] - public var foodValue: [FoodValue] = [] + public var unreleasedAppKey: [String] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var contactListSyncPageSize: Int32 = 0 - public init() {} + public var contactListSyncIntervalMs: Int64 = 0 - fileprivate var _pokemon: PokemonProto? = nil -} + public var maxFriends: Int32 = 0 -public struct MoveModifierGroup { - // 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. + public var contactListConcurrentRpcSize: Int32 = 0 - public var moveModifier: [MoveModifierProto] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} + + fileprivate var _crossGameSocialSettings: InternalSocialClientGlobalSettings.CrossGameSocialSettingsProto? = nil } -public struct MoveModifierProto { +public struct InternalSocialProto { // 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. - public var mode: MoveModifierProto.MoveModifierMode = .unsetMoveModifierMode - - public var type: MoveModifierProto.MoveModifierType = .unsetMoveModifierType - - public var value: Float = 0 - - public var condition: [MoveModifierProto.ModifierCondition] = [] - - public var renderModifier: [FormRenderModifier] = [] - - public var duration: Int64 = 0 - - public var stringValue: String = String() - - public var bestEffort: Bool = false - - public var modifierTarget: MoveModifierProto.MoveModifierTarget = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum MoveModifierMode: SwiftProtobuf.Enum { + public enum AppKey: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetMoveModifierMode // = 0 - case formChange // = 1 - case directDamage // = 2 - case defenderDamageDealt // = 3 - case defenderDamageTaken // = 4 - case attackerArbitraryCounter // = 5 - case attackerFormReversion // = 6 - case defenderFormReversion // = 7 - case defenderArbitraryCounter // = 8 - case applyVsEffectTag // = 9 - case removeVsEffectTag // = 10 - case attackStatChange // = 11 - case defenseStatChange // = 12 - case staminaStatChange // = 13 - case statChange // = 14 - case groupPointer // = 15 + case invalid // = 0 + case ingressDeleted // = 1 + case holoholoDeleted // = 2 + case lexiconDeleted // = 3 case UNRECOGNIZED(Int) public init() { - self = .unsetMoveModifierMode + self = .invalid } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetMoveModifierMode - case 1: self = .formChange - case 2: self = .directDamage - case 3: self = .defenderDamageDealt - case 4: self = .defenderDamageTaken - case 5: self = .attackerArbitraryCounter - case 6: self = .attackerFormReversion - case 7: self = .defenderFormReversion - case 8: self = .defenderArbitraryCounter - case 9: self = .applyVsEffectTag - case 10: self = .removeVsEffectTag - case 11: self = .attackStatChange - case 12: self = .defenseStatChange - case 13: self = .staminaStatChange - case 14: self = .statChange - case 15: self = .groupPointer + case 0: self = .invalid + case 1: self = .ingressDeleted + case 2: self = .holoholoDeleted + case 3: self = .lexiconDeleted default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetMoveModifierMode: return 0 - case .formChange: return 1 - case .directDamage: return 2 - case .defenderDamageDealt: return 3 - case .defenderDamageTaken: return 4 - case .attackerArbitraryCounter: return 5 - case .attackerFormReversion: return 6 - case .defenderFormReversion: return 7 - case .defenderArbitraryCounter: return 8 - case .applyVsEffectTag: return 9 - case .removeVsEffectTag: return 10 - case .attackStatChange: return 11 - case .defenseStatChange: return 12 - case .staminaStatChange: return 13 - case .statChange: return 14 - case .groupPointer: return 15 + case .invalid: return 0 + case .ingressDeleted: return 1 + case .holoholoDeleted: return 2 + case .lexiconDeleted: return 3 case .UNRECOGNIZED(let i): return i } } } - public enum MoveModifierType: SwiftProtobuf.Enum { + public init() {} +} + +#if swift(>=4.2) + +extension InternalSocialProto.AppKey: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSocialProto.AppKey] = [ + .invalid, + .ingressDeleted, + .holoholoDeleted, + .lexiconDeleted, + ] +} + +#endif // swift(>=4.2) + +public struct InternalSocialSettings { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ConsentStatus: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetMoveModifierType // = 0 - case percentage // = 1 - case flatValue // = 2 + case unknown // = 0 + case optIn // = 1 + case optOut // = 2 case UNRECOGNIZED(Int) public init() { - self = .unsetMoveModifierType + self = .unknown } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetMoveModifierType - case 1: self = .percentage - case 2: self = .flatValue + case 0: self = .unknown + case 1: self = .optIn + case 2: self = .optOut default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetMoveModifierType: return 0 - case .percentage: return 1 - case .flatValue: return 2 + case .unknown: return 0 + case .optIn: return 1 + case .optOut: return 2 case .UNRECOGNIZED(let i): return i } } } - public enum MoveModifierTarget: SwiftProtobuf.Enum { + public enum TutorialType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case attacker // = 1 - case defender // = 2 + case profile // = 1 + case crossGameFriendList // = 2 + case onlineStatusOverview // = 3 + case onlineStatusToggle // = 4 + case addressBookImport // = 5 + case addressBookDiscoverability // = 6 + case addressBookPhoneNumberRegistration // = 7 case UNRECOGNIZED(Int) public init() { @@ -88642,8 +88916,13 @@ public struct MoveModifierProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .attacker - case 2: self = .defender + case 1: self = .profile + case 2: self = .crossGameFriendList + case 3: self = .onlineStatusOverview + case 4: self = .onlineStatusToggle + case 5: self = .addressBookImport + case 6: self = .addressBookDiscoverability + case 7: self = .addressBookPhoneNumberRegistration default: self = .UNRECOGNIZED(rawValue) } } @@ -88651,82 +88930,147 @@ public struct MoveModifierProto { public var rawValue: Int { switch self { case .unset: return 0 - case .attacker: return 1 - case .defender: return 2 + case .profile: return 1 + case .crossGameFriendList: return 2 + case .onlineStatusOverview: return 3 + case .onlineStatusToggle: return 4 + case .addressBookImport: return 5 + case .addressBookDiscoverability: return 6 + case .addressBookPhoneNumberRegistration: return 7 case .UNRECOGNIZED(let i): return i } } } - public struct ModifierCondition { - // 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. + public init() {} +} - public var conditionType: MoveModifierProto.ModifierCondition.ConditionType = .unset +#if swift(>=4.2) - public var value: Int64 = 0 +extension InternalSocialSettings.ConsentStatus: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSocialSettings.ConsentStatus] = [ + .unknown, + .optIn, + .optOut, + ] +} - public var deviation: Float = 0 +extension InternalSocialSettings.TutorialType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSocialSettings.TutorialType] = [ + .unset, + .profile, + .crossGameFriendList, + .onlineStatusOverview, + .onlineStatusToggle, + .addressBookImport, + .addressBookDiscoverability, + .addressBookPhoneNumberRegistration, + ] +} - public var stringLookup: String = String() +#endif // swift(>=4.2) - public var unknownFields = SwiftProtobuf.UnknownStorage() +public struct InternalSocialV2Enum { + // 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. - public enum ConditionType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case pveNpc // = 1 - case hpPercent // = 2 - case invocationLimit // = 3 - case cooldownMs // = 4 - case defenderAlignmentShadow // = 5 - case defenderVsTag // = 6 - case attackerArbitraryCounterMinimum // = 7 - case defenderArbitraryCounterMinimum // = 8 - case attackerVsTag // = 9 - case UNRECOGNIZED(Int) + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() { - self = .unset + public enum ContactMethod: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case email // = 1 + case sms // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .email + case 2: self = .sms + default: self = .UNRECOGNIZED(rawValue) } + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .pveNpc - case 2: self = .hpPercent - case 3: self = .invocationLimit - case 4: self = .cooldownMs - case 5: self = .defenderAlignmentShadow - case 6: self = .defenderVsTag - case 7: self = .attackerArbitraryCounterMinimum - case 8: self = .defenderArbitraryCounterMinimum - case 9: self = .attackerVsTag - default: self = .UNRECOGNIZED(rawValue) - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .email: return 1 + case .sms: return 2 + case .UNRECOGNIZED(let i): return i } + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .pveNpc: return 1 - case .hpPercent: return 2 - case .invocationLimit: return 3 - case .cooldownMs: return 4 - case .defenderAlignmentShadow: return 5 - case .defenderVsTag: return 6 - case .attackerArbitraryCounterMinimum: return 7 - case .defenderArbitraryCounterMinimum: return 8 - case .attackerVsTag: return 9 - case .UNRECOGNIZED(let i): return i - } + } + + public enum InvitationStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case invited // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .invited + default: self = .UNRECOGNIZED(rawValue) } + } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .invited: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum OnlineStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case statusUnset // = 0 + case statusUnknown // = 1 + case statusOnline // = 2 + case statusOffline // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .statusUnset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .statusUnset + case 1: self = .statusUnknown + case 2: self = .statusOnline + case 3: self = .statusOffline + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .statusUnset: return 0 + case .statusUnknown: return 1 + case .statusOnline: return 2 + case .statusOffline: return 3 + case .UNRECOGNIZED(let i): return i + } } - public init() {} } public init() {} @@ -88734,387 +89078,373 @@ public struct MoveModifierProto { #if swift(>=4.2) -extension MoveModifierProto.MoveModifierMode: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MoveModifierProto.MoveModifierMode] = [ - .unsetMoveModifierMode, - .formChange, - .directDamage, - .defenderDamageDealt, - .defenderDamageTaken, - .attackerArbitraryCounter, - .attackerFormReversion, - .defenderFormReversion, - .defenderArbitraryCounter, - .applyVsEffectTag, - .removeVsEffectTag, - .attackStatChange, - .defenseStatChange, - .staminaStatChange, - .statChange, - .groupPointer, - ] -} - -extension MoveModifierProto.MoveModifierType: CaseIterable { +extension InternalSocialV2Enum.ContactMethod: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MoveModifierProto.MoveModifierType] = [ - .unsetMoveModifierType, - .percentage, - .flatValue, + public static var allCases: [InternalSocialV2Enum.ContactMethod] = [ + .unset, + .email, + .sms, ] } -extension MoveModifierProto.MoveModifierTarget: CaseIterable { +extension InternalSocialV2Enum.InvitationStatus: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MoveModifierProto.MoveModifierTarget] = [ + public static var allCases: [InternalSocialV2Enum.InvitationStatus] = [ .unset, - .attacker, - .defender, + .invited, ] } -extension MoveModifierProto.ModifierCondition.ConditionType: CaseIterable { +extension InternalSocialV2Enum.OnlineStatus: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [MoveModifierProto.ModifierCondition.ConditionType] = [ - .unset, - .pveNpc, - .hpPercent, - .invocationLimit, - .cooldownMs, - .defenderAlignmentShadow, - .defenderVsTag, - .attackerArbitraryCounterMinimum, - .defenderArbitraryCounterMinimum, - .attackerVsTag, + public static var allCases: [InternalSocialV2Enum.OnlineStatus] = [ + .statusUnset, + .statusUnknown, + .statusOnline, + .statusOffline, ] } #endif // swift(>=4.2) -public struct MoveSequenceSettingsProto { - // 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. - - public var sequence: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct MoveSettingsProto { +public struct InternalSubmitImageOutProto { // 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. - public var movementID: HoloPokemonMove { - get {return _storage._movementID} - set {_uniqueStorage()._movementID = newValue} - } - - public var animationID: Int32 { - get {return _storage._animationID} - set {_uniqueStorage()._animationID = newValue} - } + public var result: InternalSubmitImageOutProto.Result = .unset - public var pokemonType: HoloPokemonType { - get {return _storage._pokemonType} - set {_uniqueStorage()._pokemonType = newValue} - } + public var transientPhotoURL: String = String() - public var power: Float { - get {return _storage._power} - set {_uniqueStorage()._power = newValue} - } + public var photoID: String = String() - public var accuracyChance: Float { - get {return _storage._accuracyChance} - set {_uniqueStorage()._accuracyChance = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var criticalChance: Float { - get {return _storage._criticalChance} - set {_uniqueStorage()._criticalChance = newValue} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case imageDoesNotExist // = 2 + case inappropriateContent // = 3 + case errorUnknown // = 4 + case photoIDAlreadySubmitted // = 5 + case matchingImageFlagged // = 6 + case UNRECOGNIZED(Int) - public var healScalar: Float { - get {return _storage._healScalar} - set {_uniqueStorage()._healScalar = newValue} - } + public init() { + self = .unset + } - public var staminaLossScalar: Float { - get {return _storage._staminaLossScalar} - set {_uniqueStorage()._staminaLossScalar = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .imageDoesNotExist + case 3: self = .inappropriateContent + case 4: self = .errorUnknown + case 5: self = .photoIDAlreadySubmitted + case 6: self = .matchingImageFlagged + default: self = .UNRECOGNIZED(rawValue) + } + } - public var trainerLevelMin: Int32 { - get {return _storage._trainerLevelMin} - set {_uniqueStorage()._trainerLevelMin = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .imageDoesNotExist: return 2 + case .inappropriateContent: return 3 + case .errorUnknown: return 4 + case .photoIDAlreadySubmitted: return 5 + case .matchingImageFlagged: return 6 + case .UNRECOGNIZED(let i): return i + } + } - public var trainerLevelMax: Int32 { - get {return _storage._trainerLevelMax} - set {_uniqueStorage()._trainerLevelMax = newValue} } - public var vfxName: String { - get {return _storage._vfxName} - set {_uniqueStorage()._vfxName = newValue} - } + public init() {} +} - public var durationMs: Int32 { - get {return _storage._durationMs} - set {_uniqueStorage()._durationMs = newValue} - } +#if swift(>=4.2) - public var damageWindowStartMs: Int32 { - get {return _storage._damageWindowStartMs} - set {_uniqueStorage()._damageWindowStartMs = newValue} - } +extension InternalSubmitImageOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSubmitImageOutProto.Result] = [ + .unset, + .success, + .imageDoesNotExist, + .inappropriateContent, + .errorUnknown, + .photoIDAlreadySubmitted, + .matchingImageFlagged, + ] +} - public var damageWindowEndMs: Int32 { - get {return _storage._damageWindowEndMs} - set {_uniqueStorage()._damageWindowEndMs = newValue} - } +#endif // swift(>=4.2) - public var energyDelta: Int32 { - get {return _storage._energyDelta} - set {_uniqueStorage()._energyDelta = newValue} - } +public struct InternalSubmitImageProto { + // 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. - public var isLocked: Bool { - get {return _storage._isLocked} - set {_uniqueStorage()._isLocked = newValue} - } + public var photoID: String = String() - public var modifier: [MoveModifierProto] { - get {return _storage._modifier} - set {_uniqueStorage()._modifier = newValue} - } + public var metadata: Dictionary = [:] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct MultiPartQuestProto { +public struct InternalSyncContactListRequest { // 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. - public var subQuests: [QuestProto] = [] + public var contact: [InternalSyncContactListRequest.ContactProto] = [] + + public var countryCode: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct ContactProto { + // 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. + + public var contactID: String = String() + + public var email: [String] = [] + + public var phoneNumber: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} } -public struct MultiplayerColocalizationEvent { +public struct InternalSyncContactListResponse { // 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. - public var arbeIssuedClientID: String = String() + public var result: InternalSyncContactListResponse.Result = .unset - public var mpSessionID: String = String() + public var contactPlayer: [InternalSyncContactListResponse.ContactPlayerProto] = [] - public var clientType: String = String() - - public var colocalizationState: String = String() - - public var colocalizationEvent: MultiplayerColocalizationEvent.OneOf_ColocalizationEvent? = nil + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var adHocTimeWaitingForLocalizationDataMs: UInt64 { - get { - if case .adHocTimeWaitingForLocalizationDataMs(let v)? = colocalizationEvent {return v} - return 0 - } - set {colocalizationEvent = .adHocTimeWaitingForLocalizationDataMs(newValue)} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 + case errorExceedsMaxContactsPerQuery // = 4 + case UNRECOGNIZED(Int) - public var adHocTimeToLocalizeMs: UInt64 { - get { - if case .adHocTimeToLocalizeMs(let v)? = colocalizationEvent {return v} - return 0 + public init() { + self = .unset } - set {colocalizationEvent = .adHocTimeToLocalizeMs(newValue)} - } - public var adHocMapUploadEvent: String { - get { - if case .adHocMapUploadEvent(let v)? = colocalizationEvent {return v} - return String() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound + case 4: self = .errorExceedsMaxContactsPerQuery + default: self = .UNRECOGNIZED(rawValue) + } } - set {colocalizationEvent = .adHocMapUploadEvent(newValue)} - } - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_ColocalizationEvent: Equatable { - case adHocTimeWaitingForLocalizationDataMs(UInt64) - case adHocTimeToLocalizeMs(UInt64) - case adHocMapUploadEvent(String) - - #if !swift(>=4.1) - public static func ==(lhs: MultiplayerColocalizationEvent.OneOf_ColocalizationEvent, rhs: MultiplayerColocalizationEvent.OneOf_ColocalizationEvent) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.adHocTimeWaitingForLocalizationDataMs, .adHocTimeWaitingForLocalizationDataMs): return { - guard case .adHocTimeWaitingForLocalizationDataMs(let l) = lhs, case .adHocTimeWaitingForLocalizationDataMs(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.adHocTimeToLocalizeMs, .adHocTimeToLocalizeMs): return { - guard case .adHocTimeToLocalizeMs(let l) = lhs, case .adHocTimeToLocalizeMs(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.adHocMapUploadEvent, .adHocMapUploadEvent): return { - guard case .adHocMapUploadEvent(let l) = lhs, case .adHocMapUploadEvent(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 + case .errorExceedsMaxContactsPerQuery: return 4 + case .UNRECOGNIZED(let i): return i } } - #endif - } - public init() {} -} + } -public struct MultiplayerColocalizationInitializationEvent { - // 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. + public struct ContactPlayerProto { + // 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. - public var colocalizationType: String = String() + public var contactID: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var player: [InternalSyncContactListResponse.ContactPlayerProto.PlayerProto] = [] - public init() {} -} + public var status: InternalSyncContactListResponse.ContactPlayerProto.ContactStatus = .unset -public struct MultiplayerConnectionEvent { - // 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. + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var arbeIssuedClientID: String = String() + public enum ContactStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case invited // = 1 + case removed // = 2 + case UNRECOGNIZED(Int) - public var mpSessionID: String = String() + public init() { + self = .unset + } - public var connectState: String = String() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .invited + case 2: self = .removed + default: self = .UNRECOGNIZED(rawValue) + } + } - public var arbeResponse: Int64 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .invited: return 1 + case .removed: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } - public init() {} -} + public struct PlayerProto { + // 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. -public struct MusicSettings { - // 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. + public var isCallingGamePlayer: Bool = false - public var specialEventMusic1: String = String() + public var isNewlySignedUpPlayer: Bool = false - public var mapMusicOverride: String = String() + public var isSelf: Bool = false - public var eventMusic3: String = String() + public var isFriend: Bool = false - public var eventMusic4: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var secondSpecialEventMusicChoice: String = String() + public init() {} + } - public var specialEventMusicEnabled: Bool = false + public init() {} + } - public var obString1: String = String() + public init() {} +} - public var obString2: String = String() +#if swift(>=4.2) - public var unknownFields = SwiftProtobuf.UnknownStorage() +extension InternalSyncContactListResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSyncContactListResponse.Result] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerNotFound, + .errorExceedsMaxContactsPerQuery, + ] +} - public init() {} +extension InternalSyncContactListResponse.ContactPlayerProto.ContactStatus: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalSyncContactListResponse.ContactPlayerProto.ContactStatus] = [ + .unset, + .invited, + .removed, + ] } -public struct NMAClientPlayerProto { +#endif // swift(>=4.2) + +public struct InternalTemplateVariable { // 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. - public var playerID: String = String() - - public var creationTimeMs: Int64 = 0 - - public var email: String = String() + public var name: String = String() - public var roles: [NMARole] = [] + public var literal: String = String() - public var developerKeys: [String] = [] + public var key: String = String() - public var accounts: [NMAThe8thWallAccountProto] = [] + public var lookupTable: String = String() - public var onboardingComplete: [NMAOnboardingCompletion] = [] + public var byteValue: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NMAGetPlayerOutProto { +public struct InternalUpdateAdventureSyncSettingsRequestProto { // 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. - public var status: NMAGetPlayerOutProto.Status = .unknownStatus + public var adventureSyncSettings: InternalAdventureSyncSettingsProto { + get {return _adventureSyncSettings ?? InternalAdventureSyncSettingsProto()} + set {_adventureSyncSettings = newValue} + } + /// Returns true if `adventureSyncSettings` has been explicitly set. + public var hasAdventureSyncSettings: Bool {return self._adventureSyncSettings != nil} + /// Clears the value of `adventureSyncSettings`. Subsequent reads from it will return its default value. + public mutating func clearAdventureSyncSettings() {self._adventureSyncSettings = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var errorMessage: String = String() + public init() {} - public var player: NMAClientPlayerProto { - get {return _player ?? NMAClientPlayerProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} + fileprivate var _adventureSyncSettings: InternalAdventureSyncSettingsProto? = nil +} - public var wasCreated: Bool = false +public struct InternalUpdateAdventureSyncSettingsResponseProto { + // 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. - public var jwt: String = String() + public var status: InternalUpdateAdventureSyncSettingsResponseProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknownStatus // = 0 + case unset // = 0 case success // = 1 - case error // = 2 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 case UNRECOGNIZED(Int) public init() { - self = .unknownStatus + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknownStatus + case 0: self = .unset case 1: self = .success - case 2: self = .error + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknownStatus: return 0 + case .unset: return 0 case .success: return 1 - case .error: return 2 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 case .UNRECOGNIZED(let i): return i } } @@ -89122,115 +89452,75 @@ public struct NMAGetPlayerOutProto { } public init() {} - - fileprivate var _player: NMAClientPlayerProto? = nil } #if swift(>=4.2) -extension NMAGetPlayerOutProto.Status: CaseIterable { +extension InternalUpdateAdventureSyncSettingsResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMAGetPlayerOutProto.Status] = [ - .unknownStatus, + public static var allCases: [InternalUpdateAdventureSyncSettingsResponseProto.Status] = [ + .unset, .success, - .error, + .errorUnknown, + .errorPlayerNotFound, ] } #endif // swift(>=4.2) -public struct NMAGetPlayerProto { +public struct InternalUpdateBreadcrumbHistoryRequestProto { // 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. - public var userToken: NMAGetPlayerProto.OneOf_UserToken? = nil + public var sessionContext: String = String() - public var lightshipToken: NMALightshipTokenProto { - get { - if case .lightshipToken(let v)? = userToken {return v} - return NMALightshipTokenProto() - } - set {userToken = .lightshipToken(newValue)} - } + public var breadcrumbHistory: [InternalBreadcrumbRecordProto] = [] - public var the8ThWallToken: NMAThe8thWallTokenProto { - get { - if case .the8ThWallToken(let v)? = userToken {return v} - return NMAThe8thWallTokenProto() - } - set {userToken = .the8ThWallToken(newValue)} - } + public var initialUpdate: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_UserToken: Equatable { - case lightshipToken(NMALightshipTokenProto) - case the8ThWallToken(NMAThe8thWallTokenProto) - - #if !swift(>=4.1) - public static func ==(lhs: NMAGetPlayerProto.OneOf_UserToken, rhs: NMAGetPlayerProto.OneOf_UserToken) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.lightshipToken, .lightshipToken): return { - guard case .lightshipToken(let l) = lhs, case .lightshipToken(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.the8ThWallToken, .the8ThWallToken): return { - guard case .the8ThWallToken(let l) = lhs, case .the8ThWallToken(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - public init() {} } -public struct NMAGetServerConfigOutProto { +public struct InternalUpdateBreadcrumbHistoryResponseProto { // 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. - public var status: NMAGetServerConfigOutProto.Status = .unknownStatus - - public var errorMessage: String = String() - - public var vpsURL: String = String() - - public var useLegacyScanningSystem: Bool = false + public var status: InternalUpdateBreadcrumbHistoryResponseProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknownStatus // = 0 + case unset // = 0 case success // = 1 - case error // = 2 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 case UNRECOGNIZED(Int) public init() { - self = .unknownStatus + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknownStatus + case 0: self = .unset case 1: self = .success - case 2: self = .error + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknownStatus: return 0 + case .unset: return 0 case .success: return 1 - case .error: return 2 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 case .UNRECOGNIZED(let i): return i } } @@ -89242,65 +89532,61 @@ public struct NMAGetServerConfigOutProto { #if swift(>=4.2) -extension NMAGetServerConfigOutProto.Status: CaseIterable { +extension InternalUpdateBreadcrumbHistoryResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMAGetServerConfigOutProto.Status] = [ - .unknownStatus, + public static var allCases: [InternalUpdateBreadcrumbHistoryResponseProto.Status] = [ + .unset, .success, - .error, + .errorUnknown, + .errorPlayerNotFound, ] } #endif // swift(>=4.2) -public struct NMAGetServerConfigProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct NMAGetSurveyorProjectsOutProto { +public struct InternalUpdateFacebookStatusOutProto { // 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. - public var errorStatus: NMAGetSurveyorProjectsOutProto.ErrorStatus = .undefined - - public var errorMsg: String = String() - - public var projects: [NMASurveyorProjectProto] = [] + public var result: InternalUpdateFacebookStatusOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ErrorStatus: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefined // = 0 - case error // = 1 - case success // = 2 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 + case errorFacebookApi // = 4 + case errorAlreadyExists // = 5 case UNRECOGNIZED(Int) public init() { - self = .undefined + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefined - case 1: self = .error - case 2: self = .success + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound + case 4: self = .errorFacebookApi + case 5: self = .errorAlreadyExists default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefined: return 0 - case .error: return 1 - case .success: return 2 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 + case .errorFacebookApi: return 4 + case .errorAlreadyExists: return 5 case .UNRECOGNIZED(let i): return i } } @@ -89312,88 +89598,117 @@ public struct NMAGetSurveyorProjectsOutProto { #if swift(>=4.2) -extension NMAGetSurveyorProjectsOutProto.ErrorStatus: CaseIterable { +extension InternalUpdateFacebookStatusOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMAGetSurveyorProjectsOutProto.ErrorStatus] = [ - .undefined, - .error, + public static var allCases: [InternalUpdateFacebookStatusOutProto.Result] = [ + .unset, .success, + .errorUnknown, + .errorPlayerNotFound, + .errorFacebookApi, + .errorAlreadyExists, ] } #endif // swift(>=4.2) -public struct NMAGetSurveyorProjectsProto { +public struct InternalUpdateFacebookStatusProto { // 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. + public var fbAccessToken: String = String() + + public var forceUpdate: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NMALightshipTokenProto { +public struct InternalUpdateFriendshipRequest { // 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. - public var authorizationToken: String = String() + public var friendID: String = String() + + public var friendNiaAccountID: String = String() - public var codeVerifier: String = String() + public var friendProfile: InternalUpdateFriendshipRequest.FriendProfileProto { + get {return _friendProfile ?? InternalUpdateFriendshipRequest.FriendProfileProto()} + set {_friendProfile = newValue} + } + /// Returns true if `friendProfile` has been explicitly set. + public var hasFriendProfile: Bool {return self._friendProfile != nil} + /// Clears the value of `friendProfile`. Subsequent reads from it will return its default value. + public mutating func clearFriendProfile() {self._friendProfile = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct FriendProfileProto { + // 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. + + public var nickname: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} + + fileprivate var _friendProfile: InternalUpdateFriendshipRequest.FriendProfileProto? = nil } -public struct NMAProjectTaskProto { +public struct InternalUpdateFriendshipResponse { // 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. - public var taskID: String = String() - - public var isCompleted: Bool = false - - public var taskType: NMAProjectTaskProto.TaskType = .undefined - - public var poi: NMASlimPoiProto { - get {return _poi ?? NMASlimPoiProto()} - set {_poi = newValue} - } - /// Returns true if `poi` has been explicitly set. - public var hasPoi: Bool {return self._poi != nil} - /// Clears the value of `poi`. Subsequent reads from it will return its default value. - public mutating func clearPoi() {self._poi = nil} + public var result: InternalUpdateFriendshipResponse.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum TaskType: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefined // = 0 - case mapping // = 1 - case validation // = 2 + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorNotFriend // = 3 + case errorNicknameWrongFormat // = 4 + case errorFilteredNickname // = 5 + case errorExceededChangeLimit // = 6 case UNRECOGNIZED(Int) public init() { - self = .undefined + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefined - case 1: self = .mapping - case 2: self = .validation + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorNotFriend + case 4: self = .errorNicknameWrongFormat + case 5: self = .errorFilteredNickname + case 6: self = .errorExceededChangeLimit default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefined: return 0 - case .mapping: return 1 - case .validation: return 2 + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorNotFriend: return 3 + case .errorNicknameWrongFormat: return 4 + case .errorFilteredNickname: return 5 + case .errorExceededChangeLimit: return 6 case .UNRECOGNIZED(let i): return i } } @@ -89401,97 +89716,114 @@ public struct NMAProjectTaskProto { } public init() {} - - fileprivate var _poi: NMASlimPoiProto? = nil } #if swift(>=4.2) -extension NMAProjectTaskProto.TaskType: CaseIterable { +extension InternalUpdateFriendshipResponse.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMAProjectTaskProto.TaskType] = [ - .undefined, - .mapping, - .validation, + public static var allCases: [InternalUpdateFriendshipResponse.Result] = [ + .unset, + .success, + .errorUnknown, + .errorNotFriend, + .errorNicknameWrongFormat, + .errorFilteredNickname, + .errorExceededChangeLimit, ] } #endif // swift(>=4.2) -public struct NMASlimPoiImageData { +public struct InternalUpdateIncomingGameInviteRequest { // 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. - public var imageID: String = String() + public var appKey: String = String() - public var imageURL: String = String() + public var newStatus: InternalUpdateIncomingGameInviteRequest.NewStatus = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct NMASlimPoiProto { - // 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. + public enum NewStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case seen // = 1 + case read // = 2 + case UNRECOGNIZED(Int) - public var poiID: String = String() + public init() { + self = .unset + } - public var title: String = String() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .seen + case 2: self = .read + default: self = .UNRECOGNIZED(rawValue) + } + } - public var images: [NMASlimPoiImageData] = [] + public var rawValue: Int { + switch self { + case .unset: return 0 + case .seen: return 1 + case .read: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct NMASurveyorProjectProto { - // 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. - - public var projectID: String = String() - - public var projectName: String = String() +#if swift(>=4.2) - public var status: NMASurveyorProjectProto.ProjectStatus = .undefined +extension InternalUpdateIncomingGameInviteRequest.NewStatus: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [InternalUpdateIncomingGameInviteRequest.NewStatus] = [ + .unset, + .seen, + .read, + ] +} - public var notes: String = String() +#endif // swift(>=4.2) - public var estimatedCompletionTimestampMs: Int64 = 0 +public struct InternalUpdateIncomingGameInviteResponse { + // 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. - public var tasks: [NMAProjectTaskProto] = [] + public var result: InternalUpdateIncomingGameInviteResponse.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ProjectStatus: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefined // = 0 - case active // = 1 - case inactive // = 2 + case unset // = 0 + case success // = 1 case UNRECOGNIZED(Int) public init() { - self = .undefined + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefined - case 1: self = .active - case 2: self = .inactive + case 0: self = .unset + case 1: self = .success default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefined: return 0 - case .active: return 1 - case .inactive: return 2 + case .unset: return 0 + case .success: return 1 case .UNRECOGNIZED(let i): return i } } @@ -89503,130 +89835,108 @@ public struct NMASurveyorProjectProto { #if swift(>=4.2) -extension NMASurveyorProjectProto.ProjectStatus: CaseIterable { +extension InternalUpdateIncomingGameInviteResponse.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMASurveyorProjectProto.ProjectStatus] = [ - .undefined, - .active, - .inactive, + public static var allCases: [InternalUpdateIncomingGameInviteResponse.Result] = [ + .unset, + .success, ] } #endif // swift(>=4.2) -public struct NMAThe8thWallAccessTokenProto { +public struct InternalUpdateNotificationOutProto { // 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. - public var uid: String = String() - - public var name: String = String() - - public var email: String = String() - - public var emailVerified: Bool = false - - public var metadata: NMAThe8thWallMetadataProto { - get {return _metadata ?? NMAThe8thWallMetadataProto()} - set {_metadata = newValue} - } - /// Returns true if `metadata` has been explicitly set. - public var hasMetadata: Bool {return self._metadata != nil} - /// Clears the value of `metadata`. Subsequent reads from it will return its default value. - public mutating func clearMetadata() {self._metadata = nil} - - public var disabled: Bool = false - - public var accounts: [NMAThe8thWallAccountProto] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _metadata: NMAThe8thWallMetadataProto? = nil } -public struct NMAThe8thWallAccountProto { +public struct InternalUpdateNotificationProto { // 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. - public var name: String = String() - - public var uid: String = String() - - public var status: String = String() + public var notificationIds: [String] = [] - public var accountType: String = String() + public var createTimestampMs: [Int64] = [] - public var violationStatus: String = String() + public var state: InternalNotificationState = .unsetState public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NMAThe8thWallMetadataProto { +public struct InternalUpdatePhoneNumberRequest { // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var phoneNumber: String = String() -public struct NMAThe8thWallTokenProto { - // 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. + public var verificationCode: String = String() - public var authorizationToken: String = String() + public var countryCode: String = String() - public var codeVerifier: String = String() + public var contactID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NMAUpdateSurveyorProjectOutProto { +public struct InternalUpdatePhoneNumberResponse { // 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. - public var errorStatus: NMAUpdateSurveyorProjectOutProto.ErrorStatus = .undefined + public var status: InternalUpdatePhoneNumberResponse.Status = .unset - public var errorMsg: String = String() + public var errorMessage: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ErrorStatus: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefined // = 0 - case error // = 1 - case success // = 2 + case unset // = 0 + case success // = 1 + case errorWrongVerificationCode // = 2 + case errorUnknown // = 3 + case errorContactNotFound // = 4 + case errorTooFrequentAttempts // = 5 + case errorTooManyAttempts // = 6 case UNRECOGNIZED(Int) public init() { - self = .undefined + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefined - case 1: self = .error - case 2: self = .success + case 0: self = .unset + case 1: self = .success + case 2: self = .errorWrongVerificationCode + case 3: self = .errorUnknown + case 4: self = .errorContactNotFound + case 5: self = .errorTooFrequentAttempts + case 6: self = .errorTooManyAttempts default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefined: return 0 - case .error: return 1 - case .success: return 2 + case .unset: return 0 + case .success: return 1 + case .errorWrongVerificationCode: return 2 + case .errorUnknown: return 3 + case .errorContactNotFound: return 4 + case .errorTooFrequentAttempts: return 5 + case .errorTooManyAttempts: return 6 case .UNRECOGNIZED(let i): return i } } @@ -89638,76 +89948,91 @@ public struct NMAUpdateSurveyorProjectOutProto { #if swift(>=4.2) -extension NMAUpdateSurveyorProjectOutProto.ErrorStatus: CaseIterable { +extension InternalUpdatePhoneNumberResponse.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMAUpdateSurveyorProjectOutProto.ErrorStatus] = [ - .undefined, - .error, + public static var allCases: [InternalUpdatePhoneNumberResponse.Status] = [ + .unset, .success, + .errorWrongVerificationCode, + .errorUnknown, + .errorContactNotFound, + .errorTooFrequentAttempts, + .errorTooManyAttempts, ] } #endif // swift(>=4.2) -public struct NMAUpdateSurveyorProjectProto { +public struct InternalUpdateProfileRequest { // 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. - public var projectTaskID: String = String() - - public var completed: Bool = false + public var profile: InternalUpdateProfileRequest.ProfileProto { + get {return _profile ?? InternalUpdateProfileRequest.ProfileProto()} + set {_profile = newValue} + } + /// Returns true if `profile` has been explicitly set. + public var hasProfile: Bool {return self._profile != nil} + /// Clears the value of `profile`. Subsequent reads from it will return its default value. + public mutating func clearProfile() {self._profile = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct ProfileProto { + // 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. + + public var profileNameAppKey: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} + + fileprivate var _profile: InternalUpdateProfileRequest.ProfileProto? = nil } -public struct NMAUpdateUserOnboardingOutProto { +public struct InternalUpdateProfileResponse { // 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. - public var status: NMAUpdateUserOnboardingOutProto.Status = .unknownStatus - - public var errorMessage: String = String() - - public var player: NMAClientPlayerProto { - get {return _player ?? NMAClientPlayerProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} + public var result: InternalUpdateProfileResponse.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknownStatus // = 0 + case unset // = 0 case success // = 1 - case error // = 2 + case errorUnknown // = 2 + case errorEmptyProfileName // = 3 case UNRECOGNIZED(Int) public init() { - self = .unknownStatus + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknownStatus + case 0: self = .unset case 1: self = .success - case 2: self = .error + case 2: self = .errorUnknown + case 3: self = .errorEmptyProfileName default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknownStatus: return 0 + case .unset: return 0 case .success: return 1 - case .error: return 2 + case .errorUnknown: return 2 + case .errorEmptyProfileName: return 3 case .UNRECOGNIZED(let i): return i } } @@ -89715,211 +90040,73 @@ public struct NMAUpdateUserOnboardingOutProto { } public init() {} - - fileprivate var _player: NMAClientPlayerProto? = nil } #if swift(>=4.2) -extension NMAUpdateUserOnboardingOutProto.Status: CaseIterable { +extension InternalUpdateProfileResponse.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NMAUpdateUserOnboardingOutProto.Status] = [ - .unknownStatus, + public static var allCases: [InternalUpdateProfileResponse.Result] = [ + .unset, .success, - .error, + .errorUnknown, + .errorEmptyProfileName, ] } #endif // swift(>=4.2) -public struct NMAUpdateUserOnboardingProto { - // 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. - - public var onboardingComplete: [NMAOnboardingCompletion] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct NamedMapSettings { +public struct InvasionAvailabilitySettingsProto { // 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. - public var name: String = String() + public var availabilityStartMinute: Int64 = 0 - public var gmmSettings: GmmSettings { - get {return _gmmSettings ?? GmmSettings()} - set {_gmmSettings = newValue} - } - /// Returns true if `gmmSettings` has been explicitly set. - public var hasGmmSettings: Bool {return self._gmmSettings != nil} - /// Clears the value of `gmmSettings`. Subsequent reads from it will return its default value. - public mutating func clearGmmSettings() {self._gmmSettings = nil} + public var availabilityEndMinute: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} - - fileprivate var _gmmSettings: GmmSettings? = nil -} - -public struct NearbyPokemonProto { - // 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. - - public var pokedexNumber: Int32 = 0 - - public var distanceMeters: Float = 0 - - public var encounterID: UInt64 = 0 - - public var fortID: String = String() - - public var fortImageURL: String = String() - - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil -} - -public struct NearbyPokemonSettingsProto { - // 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. - - public var enabled: Bool = false - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct NetworkTelemetry { - // 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. - - public var networkType: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct NeutralAvatarItemProto { - // 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. - - public var neutralAvatarArticleTemplateID: String = String() - - public var gainedMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct NeutralAvatarSettingsProto { - // 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. - - public var enabled: Bool = false - - public var playerNeutralAvatar: PlayerNeutralAvatarProto { - get {return _playerNeutralAvatar ?? PlayerNeutralAvatarProto()} - set {_playerNeutralAvatar = newValue} - } - /// Returns true if `playerNeutralAvatar` has been explicitly set. - public var hasPlayerNeutralAvatar: Bool {return self._playerNeutralAvatar != nil} - /// Clears the value of `playerNeutralAvatar`. Subsequent reads from it will return its default value. - public mutating func clearPlayerNeutralAvatar() {self._playerNeutralAvatar = nil} - - public var obInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _playerNeutralAvatar: PlayerNeutralAvatarProto? = nil -} - -public struct NewInboxMessage { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct NewsArticleProto { - // 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. - - public var id: String = String() - - public var imageURL: [String] = [] - - public var headerKey: String = String() - - public var subheaderKey: String = String() - - public var mainTextKey: String = String() - - public var timestamp: Int64 = 0 - - public var template: NewsArticleProto.NewsTemplate = .unset - - public var enabled: Bool = false - - public var articleRead: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum NewsTemplate: SwiftProtobuf.Enum { + public enum InvasionAvailabilitySettingsId: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case defaultTemplate // = 1 + case invasionAvailabilitySettingsUnset // = 0 + case invasionAvailabilitySettingsMonday // = 1 + case invasionAvailabilitySettingsTuesday // = 2 + case invasionAvailabilitySettingsWednesday // = 3 + case invasionAvailabilitySettingsThursday // = 4 + case invasionAvailabilitySettingsFriday // = 5 + case invasionAvailabilitySettingsSaturday // = 6 + case invasionAvailabilitySettingsSunday // = 7 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .invasionAvailabilitySettingsUnset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .defaultTemplate + case 0: self = .invasionAvailabilitySettingsUnset + case 1: self = .invasionAvailabilitySettingsMonday + case 2: self = .invasionAvailabilitySettingsTuesday + case 3: self = .invasionAvailabilitySettingsWednesday + case 4: self = .invasionAvailabilitySettingsThursday + case 5: self = .invasionAvailabilitySettingsFriday + case 6: self = .invasionAvailabilitySettingsSaturday + case 7: self = .invasionAvailabilitySettingsSunday default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .defaultTemplate: return 1 + case .invasionAvailabilitySettingsUnset: return 0 + case .invasionAvailabilitySettingsMonday: return 1 + case .invasionAvailabilitySettingsTuesday: return 2 + case .invasionAvailabilitySettingsWednesday: return 3 + case .invasionAvailabilitySettingsThursday: return 4 + case .invasionAvailabilitySettingsFriday: return 5 + case .invasionAvailabilitySettingsSaturday: return 6 + case .invasionAvailabilitySettingsSunday: return 7 case .UNRECOGNIZED(let i): return i } } @@ -89931,219 +90118,126 @@ public struct NewsArticleProto { #if swift(>=4.2) -extension NewsArticleProto.NewsTemplate: CaseIterable { +extension InvasionAvailabilitySettingsProto.InvasionAvailabilitySettingsId: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NewsArticleProto.NewsTemplate] = [ - .unset, - .defaultTemplate, + public static var allCases: [InvasionAvailabilitySettingsProto.InvasionAvailabilitySettingsId] = [ + .invasionAvailabilitySettingsUnset, + .invasionAvailabilitySettingsMonday, + .invasionAvailabilitySettingsTuesday, + .invasionAvailabilitySettingsWednesday, + .invasionAvailabilitySettingsThursday, + .invasionAvailabilitySettingsFriday, + .invasionAvailabilitySettingsSaturday, + .invasionAvailabilitySettingsSunday, ] } #endif // swift(>=4.2) -public struct NewsFeedClientSettings { - // 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. - - public var isNewsFeedPollingEnabled: Bool = false - - public var getNewsFeedPollingRateMinutes: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct NewsGlobalSettingsProto { +public struct InvasionBattleResponseUpdate { // 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. - public var enableNews: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var rpcID: Int32 = 0 -public struct NewsPageTelemetry { - // 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. + public var roundTripTimeMs: UInt32 = 0 - public var newsPageClickID: NewsPageTelemetryIds = .undefinedNewsEvent + public var status: InvasionStatus.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NewsProto { +public struct InvasionBattleUpdate { // 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. - public var newsBundleID: String = String() - - public var exclusiveCountries: [String] = [] + public var rpcID: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var step: Int32 = 0 - public init() {} -} + public var completeBattle: Bool = false -public struct NewsSettingProto { - // 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. + public var updateType: UpdateInvasionBattleProto.UpdateType = .pokemonHealth - public var newsProtos: [NewsProto] = [] + public var lobbyJoinTimeOffsetMs: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NewsfeedMetadata { +public struct InvasionCreateDetail { // 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. - public var createdTimeMs: Int64 = 0 - - public var expiredTimeMs: Int64 = 0 + public var origin: EnumWrapper.InvasionCharacter = .characterUnset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NewsfeedPost { +public struct InvasionEncounterOutProto { // 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. - public var title: String { - get {return _storage._title} - set {_uniqueStorage()._title = newValue} - } - - public var previewText: String { - get {return _storage._previewText} - set {_uniqueStorage()._previewText = newValue} - } - - public var thumbnailImageURL: String { - get {return _storage._thumbnailImageURL} - set {_uniqueStorage()._thumbnailImageURL = newValue} - } - - public var newsfeedChannel: [NewsfeedPost.NewsfeedChannel] { - get {return _storage._newsfeedChannel} - set {_uniqueStorage()._newsfeedChannel = newValue} - } - - public var postContent: String { - get {return _storage._postContent} - set {_uniqueStorage()._postContent = newValue} - } - - public var newsfeedMetadata: NewsfeedMetadata { - get {return _storage._newsfeedMetadata ?? NewsfeedMetadata()} - set {_uniqueStorage()._newsfeedMetadata = newValue} - } - /// Returns true if `newsfeedMetadata` has been explicitly set. - public var hasNewsfeedMetadata: Bool {return _storage._newsfeedMetadata != nil} - /// Clears the value of `newsfeedMetadata`. Subsequent reads from it will return its default value. - public mutating func clearNewsfeedMetadata() {_uniqueStorage()._newsfeedMetadata = nil} + public var status: InvasionStatus.Status = .unset - public var keyValuePairs: Dictionary { - get {return _storage._keyValuePairs} - set {_uniqueStorage()._keyValuePairs = newValue} + public var encounterPokemon: PokemonProto { + get {return _encounterPokemon ?? PokemonProto()} + set {_encounterPokemon = newValue} } + /// Returns true if `encounterPokemon` has been explicitly set. + public var hasEncounterPokemon: Bool {return self._encounterPokemon != nil} + /// Clears the value of `encounterPokemon`. Subsequent reads from it will return its default value. + public mutating func clearEncounterPokemon() {self._encounterPokemon = nil} - public var startTimestamp: Int64 { - get {return _storage._startTimestamp} - set {_uniqueStorage()._startTimestamp = newValue} + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} - public var expirationTimestamp: Int64 { - get {return _storage._expirationTimestamp} - set {_uniqueStorage()._expirationTimestamp = newValue} - } + public var activeItem: Item = .unknown - public var creationTimestamp: Int64 { - get {return _storage._creationTimestamp} - set {_uniqueStorage()._creationTimestamp = newValue} - } + public var throwsRemaining: Int32 = 0 - public var priorityFlag: Bool { - get {return _storage._priorityFlag} - set {_uniqueStorage()._priorityFlag = newValue} - } + public var encounterID: UInt64 = 0 - public var readFlag: Bool { - get {return _storage._readFlag} - set {_uniqueStorage()._readFlag = newValue} - } + public var spawnPointGuid: String = String() - public var previewMetadata: NewsfeedPost.PreviewMetadata { - get {return _storage._previewMetadata ?? NewsfeedPost.PreviewMetadata()} - set {_uniqueStorage()._previewMetadata = newValue} + public var ballsDisplay: InvasionEncounterOutProto.PremierBallsDisplayProto { + get {return _ballsDisplay ?? InvasionEncounterOutProto.PremierBallsDisplayProto()} + set {_ballsDisplay = newValue} } - /// Returns true if `previewMetadata` has been explicitly set. - public var hasPreviewMetadata: Bool {return _storage._previewMetadata != nil} - /// Clears the value of `previewMetadata`. Subsequent reads from it will return its default value. - public mutating func clearPreviewMetadata() {_uniqueStorage()._previewMetadata = nil} + /// Returns true if `ballsDisplay` has been explicitly set. + public var hasBallsDisplay: Bool {return self._ballsDisplay != nil} + /// Clears the value of `ballsDisplay`. Subsequent reads from it will return its default value. + public mutating func clearBallsDisplay() {self._ballsDisplay = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum NewsfeedChannel: SwiftProtobuf.Enum { - public typealias RawValue = Int - case notDefined // = 0 - case newsfeedMessageChannel // = 1 - case inAppMessageChannel // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .notDefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .notDefined - case 1: self = .newsfeedMessageChannel - case 2: self = .inAppMessageChannel - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .notDefined: return 0 - case .newsfeedMessageChannel: return 1 - case .inAppMessageChannel: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct PreviewMetadata { + public struct PremierBallsDisplayProto { // 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. - public var attributes: Dictionary = [:] - - public var playerHashedID: String = String() + public var baseNumBalls: Int32 = 0 - public var renderedTitle: String = String() + public var pokemonPurifiedNumBalls: Int32 = 0 - public var renderedPreviewText: String = String() + public var gruntsDefeatedNumBalls: Int32 = 0 - public var renderedPostContent: String = String() + public var pokemonRemainingNumBalls: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -90152,262 +90246,169 @@ public struct NewsfeedPost { public init() {} - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension NewsfeedPost.NewsfeedChannel: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NewsfeedPost.NewsfeedChannel] = [ - .notDefined, - .newsfeedMessageChannel, - .inAppMessageChannel, - ] + fileprivate var _encounterPokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil + fileprivate var _ballsDisplay: InvasionEncounterOutProto.PremierBallsDisplayProto? = nil } -#endif // swift(>=4.2) - -public struct NewsfeedPostRecord { +public struct InvasionEncounterProto { // 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. - public var newsfeedPost: NewsfeedPost { - get {return _newsfeedPost ?? NewsfeedPost()} - set {_newsfeedPost = newValue} + public var incidentLookup: IncidentLookupProto { + get {return _incidentLookup ?? IncidentLookupProto()} + set {_incidentLookup = newValue} } - /// Returns true if `newsfeedPost` has been explicitly set. - public var hasNewsfeedPost: Bool {return self._newsfeedPost != nil} - /// Clears the value of `newsfeedPost`. Subsequent reads from it will return its default value. - public mutating func clearNewsfeedPost() {self._newsfeedPost = nil} - - public var newsfeedPostID: String = String() + /// Returns true if `incidentLookup` has been explicitly set. + public var hasIncidentLookup: Bool {return self._incidentLookup != nil} + /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. + public mutating func clearIncidentLookup() {self._incidentLookup = nil} - public var newsfeedPostCampaignID: Int64 = 0 + public var step: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _newsfeedPost: NewsfeedPost? = nil + fileprivate var _incidentLookup: IncidentLookupProto? = nil } -public struct NewsfeedTrackingRecordsMetadata { +public struct InvasionFinishedDisplayProto { // 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. - public var environmentID: String = String() - - public var campaignID: Int64 = 0 + public var style: EnumWrapper.PokestopStyle = .pokestopNormal public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NiaAny { +public struct InvasionNpcDisplaySettingsProto { // 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. - public var typeURL: String = String() + public var trainerName: String = String() - public var value: Data = Data() + public var avatar: PlayerAvatarProto { + get {return _avatar ?? PlayerAvatarProto()} + set {_avatar = newValue} + } + /// Returns true if `avatar` has been explicitly set. + public var hasAvatar: Bool {return self._avatar != nil} + /// Clears the value of `avatar`. Subsequent reads from it will return its default value. + public mutating func clearAvatar() {self._avatar = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var trainerTitle: String = String() - public init() {} -} + public var trainerQuote: String = String() -public struct NianticProfileTelemetry { - // 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. + public var iconURL: String = String() - public var nianticProfileTelemetryID: NianticProfileTelemetry.NianticProfileTelemetryIds = .undefined + public var backdropImageBundle: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var modelName: String = String() - public enum NianticProfileTelemetryIds: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case openMyProfile // = 1 - case openFriendProfile // = 2 - case UNRECOGNIZED(Int) + public var tutorialOnLossString: String = String() - public init() { - self = .undefined - } + public var isMale: Bool = false - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 1: self = .openMyProfile - case 2: self = .openFriendProfile - default: self = .UNRECOGNIZED(rawValue) - } - } + public var customIncidentMusic: String = String() - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .openMyProfile: return 1 - case .openFriendProfile: return 2 - case .UNRECOGNIZED(let i): return i - } - } + public var customCombatMusic: String = String() - } + public var tipsType: HoloPokemonType = .pokemonTypeNone - public init() {} -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -#if swift(>=4.2) + public init() {} -extension NianticProfileTelemetry.NianticProfileTelemetryIds: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NianticProfileTelemetry.NianticProfileTelemetryIds] = [ - .undefined, - .openMyProfile, - .openFriendProfile, - ] + fileprivate var _avatar: PlayerAvatarProto? = nil } -#endif // swift(>=4.2) - -public struct NianticPublicSharedLoginTokenSettings { +public struct InvasionOpenCombatSessionData { // 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. - public var appSettings: [NianticPublicSharedLoginTokenSettings.AppSettings] = [] - - public var clientSettings: NianticPublicSharedLoginTokenSettings.ClientSettings { - get {return _clientSettings ?? NianticPublicSharedLoginTokenSettings.ClientSettings()} - set {_clientSettings = newValue} - } - /// Returns true if `clientSettings` has been explicitly set. - public var hasClientSettings: Bool {return self._clientSettings != nil} - /// Clears the value of `clientSettings`. Subsequent reads from it will return its default value. - public mutating func clearClientSettings() {self._clientSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct AppSettings { - // 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. - - public var appKey: String = String() - - public var tokenProducerSettings: NianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings { - get {return _tokenProducerSettings ?? NianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings()} - set {_tokenProducerSettings = newValue} - } - /// Returns true if `tokenProducerSettings` has been explicitly set. - public var hasTokenProducerSettings: Bool {return self._tokenProducerSettings != nil} - /// Clears the value of `tokenProducerSettings`. Subsequent reads from it will return its default value. - public mutating func clearTokenProducerSettings() {self._tokenProducerSettings = nil} - - public var tokenConsumerSettings: NianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings { - get {return _tokenConsumerSettings ?? NianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings()} - set {_tokenConsumerSettings = newValue} - } - /// Returns true if `tokenConsumerSettings` has been explicitly set. - public var hasTokenConsumerSettings: Bool {return self._tokenConsumerSettings != nil} - /// Clears the value of `tokenConsumerSettings`. Subsequent reads from it will return its default value. - public mutating func clearTokenConsumerSettings() {self._tokenConsumerSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct TokenConsumerSettings { - // 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. - - public var enabled: Bool = false - - public var allowOriginatingAuthProviderID: [String] = [] - - public var allowOriginatingAppKey: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct TokenProducerSettings { - // 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. - - public var enabled: Bool = false - - public var allowAuthProviderID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} + public var rpcID: Int32 = 0 - fileprivate var _tokenProducerSettings: NianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings? = nil - fileprivate var _tokenConsumerSettings: NianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings? = nil - } + public var type: CombatType = .unset - public struct ClientSettings { - // 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. + public var attackingPokemonIndexes: [Int32] = [] - /// repeated string ios_bundle_ids = 2; - public var androidProviderID: [String] = [] + public var lobbyJoinTimeOffsetMs: UInt32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var step: Int32 = 0 - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _clientSettings: NianticPublicSharedLoginTokenSettings.ClientSettings? = nil } -public struct NianticSharedLoginProto { +public struct InvasionOpenCombatSessionResponseData { // 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. - public var token: Data = Data() + public var rpcID: Int32 { + get {return _storage._rpcID} + set {_uniqueStorage()._rpcID = newValue} + } - public var deviceID: String = String() + public var roundTripTimeMs: UInt32 { + get {return _storage._roundTripTimeMs} + set {_uniqueStorage()._roundTripTimeMs = newValue} + } + + public var result: InvasionStatus.Status { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} + } + + public var combat: CombatForLogProto { + get {return _storage._combat ?? CombatForLogProto()} + set {_uniqueStorage()._combat = newValue} + } + /// Returns true if `combat` has been explicitly set. + public var hasCombat: Bool {return _storage._combat != nil} + /// Clears the value of `combat`. Subsequent reads from it will return its default value. + public mutating func clearCombat() {_uniqueStorage()._combat = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct NicknamePokemonOutProto { +public struct InvasionStatus { // 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. - public var result: NicknamePokemonOutProto.Result = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorInvalidNickname // = 2 - case errorPokemonNotFound // = 3 - case errorPokemonIsEgg // = 4 - case errorFilteredNickname // = 5 - case errorExceededChangeLimit // = 6 + case error // = 2 + case errorFortNotFound // = 3 + case errorIncidentNotFound // = 4 + case errorStepAlreadyCompleted // = 5 + case errorWrongStep // = 6 + case errorPlayerBelowMinLevel // = 7 + case errorIncidentExpired // = 8 + case errorMissingIncidentTicket // = 9 + case errorEncounterPokemonInventoryFull // = 10 + case errorPlayerBelowV2MinLevel // = 11 + case errorRetry // = 12 + case errorInvalidHealthUpdates // = 20 + case errorAttackingPokemonInvalid // = 30 case UNRECOGNIZED(Int) public init() { @@ -90418,11 +90419,19 @@ public struct NicknamePokemonOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorInvalidNickname - case 3: self = .errorPokemonNotFound - case 4: self = .errorPokemonIsEgg - case 5: self = .errorFilteredNickname - case 6: self = .errorExceededChangeLimit + case 2: self = .error + case 3: self = .errorFortNotFound + case 4: self = .errorIncidentNotFound + case 5: self = .errorStepAlreadyCompleted + case 6: self = .errorWrongStep + case 7: self = .errorPlayerBelowMinLevel + case 8: self = .errorIncidentExpired + case 9: self = .errorMissingIncidentTicket + case 10: self = .errorEncounterPokemonInventoryFull + case 11: self = .errorPlayerBelowV2MinLevel + case 12: self = .errorRetry + case 20: self = .errorInvalidHealthUpdates + case 30: self = .errorAttackingPokemonInvalid default: self = .UNRECOGNIZED(rawValue) } } @@ -90431,11 +90440,19 @@ public struct NicknamePokemonOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorInvalidNickname: return 2 - case .errorPokemonNotFound: return 3 - case .errorPokemonIsEgg: return 4 - case .errorFilteredNickname: return 5 - case .errorExceededChangeLimit: return 6 + case .error: return 2 + case .errorFortNotFound: return 3 + case .errorIncidentNotFound: return 4 + case .errorStepAlreadyCompleted: return 5 + case .errorWrongStep: return 6 + case .errorPlayerBelowMinLevel: return 7 + case .errorIncidentExpired: return 8 + case .errorMissingIncidentTicket: return 9 + case .errorEncounterPokemonInventoryFull: return 10 + case .errorPlayerBelowV2MinLevel: return 11 + case .errorRetry: return 12 + case .errorInvalidHealthUpdates: return 20 + case .errorAttackingPokemonInvalid: return 30 case .UNRECOGNIZED(let i): return i } } @@ -90447,610 +90464,810 @@ public struct NicknamePokemonOutProto { #if swift(>=4.2) -extension NicknamePokemonOutProto.Result: CaseIterable { +extension InvasionStatus.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NicknamePokemonOutProto.Result] = [ + public static var allCases: [InvasionStatus.Status] = [ .unset, .success, - .errorInvalidNickname, - .errorPokemonNotFound, - .errorPokemonIsEgg, - .errorFilteredNickname, - .errorExceededChangeLimit, + .error, + .errorFortNotFound, + .errorIncidentNotFound, + .errorStepAlreadyCompleted, + .errorWrongStep, + .errorPlayerBelowMinLevel, + .errorIncidentExpired, + .errorMissingIncidentTicket, + .errorEncounterPokemonInventoryFull, + .errorPlayerBelowV2MinLevel, + .errorRetry, + .errorInvalidHealthUpdates, + .errorAttackingPokemonInvalid, ] } #endif // swift(>=4.2) -public struct NicknamePokemonProto { +public struct InvasionTelemetry { // 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. - public var pokemonID: UInt64 = 0 + public var invasionTelemetryID: InvasionTelemetryIds = .undefinedInvasionEvent - public var nickname: String = String() + public var npcID: EnumWrapper.InvasionCharacter = .characterUnset + + public var battleSuccess: Bool = false + + public var postBattleFriendlyRemaining: Int32 = 0 + + public var postBattleEnemyRemaining: Int32 = 0 + + public var encounterPokemon: Int32 = 0 + + public var encounterSuccess: Bool = false + + public var invasionID: String = String() + + public var playerTappedNpc: Bool = false + + public var radar: String = String() + + public var curfew: Bool = false + + public var duration: Float = 0 + + public var distance: Float = 0 + + public var invasionContext: EnumWrapper.InvasionContext = .pokestopIncident + + public var balloonType: RocketBalloonDisplayProto.BalloonType = .rocket public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NicknamePokemonTelemetry { +public struct InvasionVictoryLogEntry { // 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. - public var pokemon: PokemonTelemetry { - get {return _pokemon ?? PokemonTelemetry()} - set {_pokemon = newValue} + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} - public var nickname: String = String() + public var invasionNpc: EnumWrapper.InvasionCharacter = .characterUnset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _pokemon: PokemonTelemetry? = nil + fileprivate var _rewards: LootProto? = nil } -public struct NodeAssociation { +public struct InventoryDeltaProto { // 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. - public var identifier: UUID { - get {return _identifier ?? UUID()} - set {_identifier = newValue} - } - /// Returns true if `identifier` has been explicitly set. - public var hasIdentifier: Bool {return self._identifier != nil} - /// Clears the value of `identifier`. Subsequent reads from it will return its default value. - public mutating func clearIdentifier() {self._identifier = nil} - - public var managedPoseToNode: Transform { - get {return _managedPoseToNode ?? Transform()} - set {_managedPoseToNode = newValue} - } - /// Returns true if `managedPoseToNode` has been explicitly set. - public var hasManagedPoseToNode: Bool {return self._managedPoseToNode != nil} - /// Clears the value of `managedPoseToNode`. Subsequent reads from it will return its default value. - public mutating func clearManagedPoseToNode() {self._managedPoseToNode = nil} + public var originalTimestamp: Int64 = 0 - public var weight: Float = 0 + public var newTimestamp: Int64 = 0 - public var placementAccuracy: PlacementAccuracy { - get {return _placementAccuracy ?? PlacementAccuracy()} - set {_placementAccuracy = newValue} - } - /// Returns true if `placementAccuracy` has been explicitly set. - public var hasPlacementAccuracy: Bool {return self._placementAccuracy != nil} - /// Clears the value of `placementAccuracy`. Subsequent reads from it will return its default value. - public mutating func clearPlacementAccuracy() {self._placementAccuracy = nil} + public var inventoryItem: [InventoryItemProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _identifier: UUID? = nil - fileprivate var _managedPoseToNode: Transform? = nil - fileprivate var _placementAccuracy: PlacementAccuracy? = nil } -public struct NonMaxSuppressionCalculatorOptions { +public struct InventoryItemProto { // 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. - public var numDetectionStreams: Int32 { - get {return _numDetectionStreams ?? 0} - set {_numDetectionStreams = newValue} - } - /// Returns true if `numDetectionStreams` has been explicitly set. - public var hasNumDetectionStreams: Bool {return self._numDetectionStreams != nil} - /// Clears the value of `numDetectionStreams`. Subsequent reads from it will return its default value. - public mutating func clearNumDetectionStreams() {self._numDetectionStreams = nil} + public var inventoryItem: InventoryItemProto.OneOf_InventoryItem? = nil - public var maxNumDetections: Int32 { - get {return _maxNumDetections ?? 0} - set {_maxNumDetections = newValue} + public var deletedItemKey: HoloInventoryKeyProto { + get { + if case .deletedItemKey(let v)? = inventoryItem {return v} + return HoloInventoryKeyProto() + } + set {inventoryItem = .deletedItemKey(newValue)} } - /// Returns true if `maxNumDetections` has been explicitly set. - public var hasMaxNumDetections: Bool {return self._maxNumDetections != nil} - /// Clears the value of `maxNumDetections`. Subsequent reads from it will return its default value. - public mutating func clearMaxNumDetections() {self._maxNumDetections = nil} - public var minScoreThreshold: Float { - get {return _minScoreThreshold ?? 0} - set {_minScoreThreshold = newValue} + public var inventoryItemData: HoloInventoryItemProto { + get { + if case .inventoryItemData(let v)? = inventoryItem {return v} + return HoloInventoryItemProto() + } + set {inventoryItem = .inventoryItemData(newValue)} } - /// Returns true if `minScoreThreshold` has been explicitly set. - public var hasMinScoreThreshold: Bool {return self._minScoreThreshold != nil} - /// Clears the value of `minScoreThreshold`. Subsequent reads from it will return its default value. - public mutating func clearMinScoreThreshold() {self._minScoreThreshold = nil} - public var minSuppressionThreshold: Float { - get {return _minSuppressionThreshold ?? 0} - set {_minSuppressionThreshold = newValue} - } - /// Returns true if `minSuppressionThreshold` has been explicitly set. - public var hasMinSuppressionThreshold: Bool {return self._minSuppressionThreshold != nil} - /// Clears the value of `minSuppressionThreshold`. Subsequent reads from it will return its default value. - public mutating func clearMinSuppressionThreshold() {self._minSuppressionThreshold = nil} + public var modifiedTimestamp: Int64 = 0 - public var overlapType: NonMaxSuppressionCalculatorOptions.OverlapType { - get {return _overlapType ?? .unspecifiedOverlapType} - set {_overlapType = newValue} - } - /// Returns true if `overlapType` has been explicitly set. - public var hasOverlapType: Bool {return self._overlapType != nil} - /// Clears the value of `overlapType`. Subsequent reads from it will return its default value. - public mutating func clearOverlapType() {self._overlapType = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_InventoryItem: Equatable { + case deletedItemKey(HoloInventoryKeyProto) + case inventoryItemData(HoloInventoryItemProto) - public var returnEmptyDetections: Bool { - get {return _returnEmptyDetections ?? false} - set {_returnEmptyDetections = newValue} + #if !swift(>=4.1) + public static func ==(lhs: InventoryItemProto.OneOf_InventoryItem, rhs: InventoryItemProto.OneOf_InventoryItem) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.deletedItemKey, .deletedItemKey): return { + guard case .deletedItemKey(let l) = lhs, case .deletedItemKey(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.inventoryItemData, .inventoryItemData): return { + guard case .inventoryItemData(let l) = lhs, case .inventoryItemData(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif } - /// Returns true if `returnEmptyDetections` has been explicitly set. - public var hasReturnEmptyDetections: Bool {return self._returnEmptyDetections != nil} - /// Clears the value of `returnEmptyDetections`. Subsequent reads from it will return its default value. - public mutating func clearReturnEmptyDetections() {self._returnEmptyDetections = nil} - /// extend CalculatorOptions { - /// optional NonMaxSuppressionCalculatorOptions ext = 55383100; - /// } - public var algorithm: NonMaxSuppressionCalculatorOptions.NmsAlgorithm { - get {return _algorithm ?? .default} - set {_algorithm = newValue} + public init() {} +} + +public struct InventoryProto { + // 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. + + public var inventoryItem: [InventoryItemProto] = [] + + public var diffInventory: InventoryProto.DiffInventoryProto { + get {return _diffInventory ?? InventoryProto.DiffInventoryProto()} + set {_diffInventory = newValue} } - /// Returns true if `algorithm` has been explicitly set. - public var hasAlgorithm: Bool {return self._algorithm != nil} - /// Clears the value of `algorithm`. Subsequent reads from it will return its default value. - public mutating func clearAlgorithm() {self._algorithm = nil} + /// Returns true if `diffInventory` has been explicitly set. + public var hasDiffInventory: Bool {return self._diffInventory != nil} + /// Clears the value of `diffInventory`. Subsequent reads from it will return its default value. + public mutating func clearDiffInventory() {self._diffInventory = nil} + + public var inventoryType: InventoryProto.InventoryType = .binaryBlob public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OverlapType: SwiftProtobuf.Enum { + public enum InventoryType: SwiftProtobuf.Enum { public typealias RawValue = Int - case unspecifiedOverlapType // = 0 - case jaccard // = 1 - case modifiedJaccard // = 2 - case intersectionOverUnion // = 3 + case binaryBlob // = 0 + case diff // = 1 + case composite // = 2 case UNRECOGNIZED(Int) public init() { - self = .unspecifiedOverlapType + self = .binaryBlob } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unspecifiedOverlapType - case 1: self = .jaccard - case 2: self = .modifiedJaccard - case 3: self = .intersectionOverUnion + case 0: self = .binaryBlob + case 1: self = .diff + case 2: self = .composite default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unspecifiedOverlapType: return 0 - case .jaccard: return 1 - case .modifiedJaccard: return 2 - case .intersectionOverUnion: return 3 + case .binaryBlob: return 0 + case .diff: return 1 + case .composite: return 2 case .UNRECOGNIZED(let i): return i } } } - public enum NmsAlgorithm: SwiftProtobuf.Enum { - public typealias RawValue = Int - case `default` // = 0 - case weighted // = 1 - case UNRECOGNIZED(Int) + public struct DiffInventoryProto { + // 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. - public init() { - self = .default - } + public var itemChangelog: [InventoryItemProto] = [] - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .default - case 1: self = .weighted - default: self = .UNRECOGNIZED(rawValue) - } - } + public var diffInventoryEntityLastCompactionMs: Int64 = 0 - public var rawValue: Int { - switch self { - case .default: return 0 - case .weighted: return 1 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} } public init() {} - fileprivate var _numDetectionStreams: Int32? = nil - fileprivate var _maxNumDetections: Int32? = nil - fileprivate var _minScoreThreshold: Float? = nil - fileprivate var _minSuppressionThreshold: Float? = nil - fileprivate var _overlapType: NonMaxSuppressionCalculatorOptions.OverlapType? = nil - fileprivate var _returnEmptyDetections: Bool? = nil - fileprivate var _algorithm: NonMaxSuppressionCalculatorOptions.NmsAlgorithm? = nil + fileprivate var _diffInventory: InventoryProto.DiffInventoryProto? = nil } #if swift(>=4.2) -extension NonMaxSuppressionCalculatorOptions.OverlapType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NonMaxSuppressionCalculatorOptions.OverlapType] = [ - .unspecifiedOverlapType, - .jaccard, - .modifiedJaccard, - .intersectionOverUnion, - ] -} - -extension NonMaxSuppressionCalculatorOptions.NmsAlgorithm: CaseIterable { +extension InventoryProto.InventoryType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NonMaxSuppressionCalculatorOptions.NmsAlgorithm] = [ - .default, - .weighted, + public static var allCases: [InventoryProto.InventoryType] = [ + .binaryBlob, + .diff, + .composite, ] } #endif // swift(>=4.2) -public struct NotificationPermissionsTelemetry { +public struct InventorySettingsProto { // 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. - public var systemSettingsEnabled: Bool = false + public var maxPokemon: Int32 { + get {return _storage._maxPokemon} + set {_uniqueStorage()._maxPokemon = newValue} + } - public var eventsOffersUpdatesEmailEnabled: Bool = false + public var maxBagItems: Int32 { + get {return _storage._maxBagItems} + set {_uniqueStorage()._maxBagItems = newValue} + } - public var combineResearchUpdatesInAppEnabled: Bool = false + public var basePokemon: Int32 { + get {return _storage._basePokemon} + set {_uniqueStorage()._basePokemon = newValue} + } - public var nearbyRaidsInAppEnabled: Bool = false + public var baseBagItems: Int32 { + get {return _storage._baseBagItems} + set {_uniqueStorage()._baseBagItems = newValue} + } - public var pokemonReturnInAppEnabled: Bool = false + public var baseEggs: Int32 { + get {return _storage._baseEggs} + set {_uniqueStorage()._baseEggs = newValue} + } - public var openedGiftInAppEnabled: Bool = false + public var maxTeamChanges: Int32 { + get {return _storage._maxTeamChanges} + set {_uniqueStorage()._maxTeamChanges = newValue} + } - public var giftReceivedInAppEnabled: Bool = false + public var teamChangeItemResetPeriodInDays: Int64 { + get {return _storage._teamChangeItemResetPeriodInDays} + set {_uniqueStorage()._teamChangeItemResetPeriodInDays = newValue} + } - public var buddyCandiesInAppEnabled: Bool = false + public var maxItemBoostDurationMs: Int64 { + get {return _storage._maxItemBoostDurationMs} + set {_uniqueStorage()._maxItemBoostDurationMs = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var defaultStickerMaxCount: Int32 { + get {return _storage._defaultStickerMaxCount} + set {_uniqueStorage()._defaultStickerMaxCount = newValue} + } - public init() {} -} + public var enableEggsNotInventory: Bool { + get {return _storage._enableEggsNotInventory} + set {_uniqueStorage()._enableEggsNotInventory = newValue} + } -public struct NotificationSettingsProto { - // 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. + public var specialEggOverflowSpots: Int32 { + get {return _storage._specialEggOverflowSpots} + set {_uniqueStorage()._specialEggOverflowSpots = newValue} + } - public var pullNotifications: Bool = false + public var enableOverflowSpotSliding: Bool { + get {return _storage._enableOverflowSpotSliding} + set {_uniqueStorage()._enableOverflowSpotSliding = newValue} + } - public var showNotifications: Bool = false + public var canRaidPassOverflowBagSpace: Bool { + get {return _storage._canRaidPassOverflowBagSpace} + set {_uniqueStorage()._canRaidPassOverflowBagSpace = newValue} + } - public var obAvailable: Int32 = 0 + public var basePostcards: Int32 { + get {return _storage._basePostcards} + set {_uniqueStorage()._basePostcards = newValue} + } - public var imageURL: String = String() + public var maxPostcards: Int32 { + get {return _storage._maxPostcards} + set {_uniqueStorage()._maxPostcards = newValue} + } + + public var maxStoneAcount: Int32 { + get {return _storage._maxStoneAcount} + set {_uniqueStorage()._maxStoneAcount = newValue} + } + + public var postcardExpansionEnabled: Bool { + get {return _storage._postcardExpansionEnabled} + set {_uniqueStorage()._postcardExpansionEnabled = newValue} + } + + public var fortItemFullModalEnabled: Bool { + get {return _storage._fortItemFullModalEnabled} + set {_uniqueStorage()._fortItemFullModalEnabled = newValue} + } public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct NotifyContactListFriendsRequest { +public struct InventoryUpgradeAttributesProto { // 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. - public var notifyTimestampMs: Int64 = 0 + public var additionalStorage: Int32 = 0 + + public var upgradeType: InventoryUpgradeType = .upgradeUnset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NotifyContactListFriendsResponse { +public struct InventoryUpgradeProto { // 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. - public var result: NotifyContactListFriendsResponse.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorAlreadySent // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } + public var item: Item = .unknown - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorAlreadySent - default: self = .UNRECOGNIZED(rawValue) - } - } + public var upgradeType: InventoryUpgradeType = .upgradeUnset - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorAlreadySent: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var additionalStorage: Int32 = 0 - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) - -extension NotifyContactListFriendsResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [NotifyContactListFriendsResponse.Result] = [ - .unset, - .success, - .errorUnknown, - .errorAlreadySent, - ] -} - -#endif // swift(>=4.2) - -public struct NpcDialogueProto { +public struct InventoryUpgradesProto { // 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. - public var dialogueLine: [DialogueLineProto] = [] + public var inventoryUpgrade: [InventoryUpgradeProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct NpcPokemonProto { +public struct IosDevice { // 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. - public var pokemonType: HoloPokemonId = .missingno + public var name: String = String() - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + public var manufacturer: String = String() + + public var model: String = String() + + public var hardware: String = String() + + public var software: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil } -public struct OBOtherParty { +public struct IosSourceRevision { // 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. - public var obOther: Dictionary = [:] + public var name: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var bundle: String = String() - public init() {} -} + public var version: String = String() -public struct OBOtherParty2 { - // 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. + public var product: String = String() - public var obDic: Dictionary = [:] + public var os: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OBOtherPartyMode { +public struct IrisPokemonObjectProto { // 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. - public var obString: String { - get {return _storage._obString} - set {_uniqueStorage()._obString = newValue} - } - - public var playerPublicProfile: PlayerPublicProfileProto { - get {return _storage._playerPublicProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._playerPublicProfile = newValue} - } - /// Returns true if `playerPublicProfile` has been explicitly set. - public var hasPlayerPublicProfile: Bool {return _storage._playerPublicProfile != nil} - /// Clears the value of `playerPublicProfile`. Subsequent reads from it will return its default value. - public mutating func clearPlayerPublicProfile() {_uniqueStorage()._playerPublicProfile = nil} - - public var obInt32: Int32 { - get {return _storage._obInt32} - set {_uniqueStorage()._obInt32 = newValue} - } - - public var pokemonDisplay: PokemonDisplayProto { - get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} - set {_uniqueStorage()._pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} - - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } - - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } - - public var obDouble: Double { - get {return _storage._obDouble} - set {_uniqueStorage()._obDouble = newValue} - } - - public var obDouble1: Double { - get {return _storage._obDouble1} - set {_uniqueStorage()._obDouble1 = newValue} - } - - public var zoneType: ZoneType { - get {return _storage._zoneType} - set {_uniqueStorage()._zoneType = newValue} - } + public var objectID: String = String() - public var obString2: String { - get {return _storage._obString2} - set {_uniqueStorage()._obString2 = newValue} - } + public var displayID: HoloPokemonId = .missingno - public var obOtherField: [OBOtherPartyMode1] { - get {return _storage._obOtherField} - set {_uniqueStorage()._obOtherField = newValue} + public var location: GameObjectLocationData { + get {return _location ?? GameObjectLocationData()} + set {_location = newValue} } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return self._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {self._location = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _storage = _StorageClass.defaultInstance + fileprivate var _location: GameObjectLocationData? = nil } -public struct OBOtherPartyMode1 { +public struct IsSkuAvailableOutProto { // 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. - public var timestampMs: Int64 = 0 - - public var obDouble: Double = 0 - - public var obDouble1: Double = 0 + public var isSkuAvailable: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OBOtherPartyUnkProto { +public struct IsSkuAvailableProto { // 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. - public var obString1: String = String() + public var skuID: String = String() + + public var verifyPrice: Bool = false - public var obString2: String = String() + public var coinCost: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OBPartyPlayOutProto { +public struct ItemInventoryUpdateSettingsProto { // 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. - public var partyPlay: PartyPlayProto { - get {return _partyPlay ?? PartyPlayProto()} - set {_partyPlay = newValue} + public var featureEnabled: Bool = false + + public var categoryProto: [ItemInventoryUpdateSettingsProto.CategoryProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct CategoryProto { + // 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. + + public var category: [HoloItemCategory] = [] + + public var categoryName: String = String() + + public var sortOrder: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } - /// Returns true if `partyPlay` has been explicitly set. - public var hasPartyPlay: Bool {return self._partyPlay != nil} - /// Clears the value of `partyPlay`. Subsequent reads from it will return its default value. - public mutating func clearPartyPlay() {self._partyPlay = nil} - public var result: OBPartyPlayOutProto.Status = .unset + public init() {} +} + +public struct ItemProto { + // 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. + + public var itemID: Item = .unknown + + public var count: Int32 = 0 + + public var unseen: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public init() {} +} + +public struct ItemRewardProto { + // 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. + + public var item: Item = .unknown + + public var amount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ItemSettingsProto { + // 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. + + public var uniqueID: Item { + get {return _storage._uniqueID} + set {_uniqueStorage()._uniqueID = newValue} + } + + public var itemType: HoloItemType { + get {return _storage._itemType} + set {_uniqueStorage()._itemType = newValue} + } + + public var category: HoloItemCategory { + get {return _storage._category} + set {_uniqueStorage()._category = newValue} + } + + public var dropFreq: Float { + get {return _storage._dropFreq} + set {_uniqueStorage()._dropFreq = newValue} + } + + public var dropTrainerLevel: Int32 { + get {return _storage._dropTrainerLevel} + set {_uniqueStorage()._dropTrainerLevel = newValue} + } + + public var pokeball: PokeBallAttributesProto { + get {return _storage._pokeball ?? PokeBallAttributesProto()} + set {_uniqueStorage()._pokeball = newValue} + } + /// Returns true if `pokeball` has been explicitly set. + public var hasPokeball: Bool {return _storage._pokeball != nil} + /// Clears the value of `pokeball`. Subsequent reads from it will return its default value. + public mutating func clearPokeball() {_uniqueStorage()._pokeball = nil} + + public var potion: PotionAttributesProto { + get {return _storage._potion ?? PotionAttributesProto()} + set {_uniqueStorage()._potion = newValue} + } + /// Returns true if `potion` has been explicitly set. + public var hasPotion: Bool {return _storage._potion != nil} + /// Clears the value of `potion`. Subsequent reads from it will return its default value. + public mutating func clearPotion() {_uniqueStorage()._potion = nil} + + public var revive: ReviveAttributesProto { + get {return _storage._revive ?? ReviveAttributesProto()} + set {_uniqueStorage()._revive = newValue} + } + /// Returns true if `revive` has been explicitly set. + public var hasRevive: Bool {return _storage._revive != nil} + /// Clears the value of `revive`. Subsequent reads from it will return its default value. + public mutating func clearRevive() {_uniqueStorage()._revive = nil} + + public var battle: BattleAttributesProto { + get {return _storage._battle ?? BattleAttributesProto()} + set {_uniqueStorage()._battle = newValue} + } + /// Returns true if `battle` has been explicitly set. + public var hasBattle: Bool {return _storage._battle != nil} + /// Clears the value of `battle`. Subsequent reads from it will return its default value. + public mutating func clearBattle() {_uniqueStorage()._battle = nil} + + public var food: FoodAttributesProto { + get {return _storage._food ?? FoodAttributesProto()} + set {_uniqueStorage()._food = newValue} + } + /// Returns true if `food` has been explicitly set. + public var hasFood: Bool {return _storage._food != nil} + /// Clears the value of `food`. Subsequent reads from it will return its default value. + public mutating func clearFood() {_uniqueStorage()._food = nil} + + public var inventoryUpgrade: InventoryUpgradeAttributesProto { + get {return _storage._inventoryUpgrade ?? InventoryUpgradeAttributesProto()} + set {_uniqueStorage()._inventoryUpgrade = newValue} + } + /// Returns true if `inventoryUpgrade` has been explicitly set. + public var hasInventoryUpgrade: Bool {return _storage._inventoryUpgrade != nil} + /// Clears the value of `inventoryUpgrade`. Subsequent reads from it will return its default value. + public mutating func clearInventoryUpgrade() {_uniqueStorage()._inventoryUpgrade = nil} + + public var xpBoost: ExperienceBoostAttributesProto { + get {return _storage._xpBoost ?? ExperienceBoostAttributesProto()} + set {_uniqueStorage()._xpBoost = newValue} + } + /// Returns true if `xpBoost` has been explicitly set. + public var hasXpBoost: Bool {return _storage._xpBoost != nil} + /// Clears the value of `xpBoost`. Subsequent reads from it will return its default value. + public mutating func clearXpBoost() {_uniqueStorage()._xpBoost = nil} + + public var incense: IncenseAttributesProto { + get {return _storage._incense ?? IncenseAttributesProto()} + set {_uniqueStorage()._incense = newValue} + } + /// Returns true if `incense` has been explicitly set. + public var hasIncense: Bool {return _storage._incense != nil} + /// Clears the value of `incense`. Subsequent reads from it will return its default value. + public mutating func clearIncense() {_uniqueStorage()._incense = nil} + + public var eggIncubator: EggIncubatorAttributesProto { + get {return _storage._eggIncubator ?? EggIncubatorAttributesProto()} + set {_uniqueStorage()._eggIncubator = newValue} + } + /// Returns true if `eggIncubator` has been explicitly set. + public var hasEggIncubator: Bool {return _storage._eggIncubator != nil} + /// Clears the value of `eggIncubator`. Subsequent reads from it will return its default value. + public mutating func clearEggIncubator() {_uniqueStorage()._eggIncubator = nil} + + public var fortModifier: FortModifierAttributesProto { + get {return _storage._fortModifier ?? FortModifierAttributesProto()} + set {_uniqueStorage()._fortModifier = newValue} + } + /// Returns true if `fortModifier` has been explicitly set. + public var hasFortModifier: Bool {return _storage._fortModifier != nil} + /// Clears the value of `fortModifier`. Subsequent reads from it will return its default value. + public mutating func clearFortModifier() {_uniqueStorage()._fortModifier = nil} + + public var stardustBoost: StardustBoostAttributesProto { + get {return _storage._stardustBoost ?? StardustBoostAttributesProto()} + set {_uniqueStorage()._stardustBoost = newValue} + } + /// Returns true if `stardustBoost` has been explicitly set. + public var hasStardustBoost: Bool {return _storage._stardustBoost != nil} + /// Clears the value of `stardustBoost`. Subsequent reads from it will return its default value. + public mutating func clearStardustBoost() {_uniqueStorage()._stardustBoost = nil} + + public var incidentTicket: IncidentTicketAttributesProto { + get {return _storage._incidentTicket ?? IncidentTicketAttributesProto()} + set {_uniqueStorage()._incidentTicket = newValue} + } + /// Returns true if `incidentTicket` has been explicitly set. + public var hasIncidentTicket: Bool {return _storage._incidentTicket != nil} + /// Clears the value of `incidentTicket`. Subsequent reads from it will return its default value. + public mutating func clearIncidentTicket() {_uniqueStorage()._incidentTicket = nil} + + public var globalEventTicket: GlobalEventTicketAttributesProto { + get {return _storage._globalEventTicket ?? GlobalEventTicketAttributesProto()} + set {_uniqueStorage()._globalEventTicket = newValue} + } + /// Returns true if `globalEventTicket` has been explicitly set. + public var hasGlobalEventTicket: Bool {return _storage._globalEventTicket != nil} + /// Clears the value of `globalEventTicket`. Subsequent reads from it will return its default value. + public mutating func clearGlobalEventTicket() {_uniqueStorage()._globalEventTicket = nil} + + public var ignoreInventorySpace: Bool { + get {return _storage._ignoreInventorySpace} + set {_uniqueStorage()._ignoreInventorySpace = newValue} + } + + public var itemCap: Int32 { + get {return _storage._itemCap} + set {_uniqueStorage()._itemCap = newValue} + } + + public var vsEffect: [MoveModifierProto] { + get {return _storage._vsEffect} + set {_uniqueStorage()._vsEffect = newValue} + } + + public var nameOverride: String { + get {return _storage._nameOverride} + set {_uniqueStorage()._nameOverride = newValue} + } + + public var namePluralOverride: String { + get {return _storage._namePluralOverride} + set {_uniqueStorage()._namePluralOverride = newValue} + } + + public var descriptionOverride: String { + get {return _storage._descriptionOverride} + set {_uniqueStorage()._descriptionOverride = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct ItemTelemetry { + // 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. + + public var itemUseClickID: ItemUseTelemetryIds = .undefinedItemEvent + + public var itemID: Item = .unknown + + public var equipped: Bool = false + + public var fromInventory: Bool = false + + public var itemIDString: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct JoinBuddyMultiplayerSessionOutProto { + // 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. + + public var result: JoinBuddyMultiplayerSessionOutProto.Result = .joinSuccess + + public var arbeJoinToken: Data = Data() + + public var generationTimestamp: Int64 = 0 + + public var maxPlayers: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case errorUnknown // = 1 - case success // = 2 - case errorPlayerLevelTooLow // = 3 - case errorFeatureDisabled // = 4 - case errorAlreadyInParty // = 5 - case errorNoSuchParty // = 6 - case errorPartyIsFull // = 7 - case errorNotInRange // = 8 + case joinSuccess // = 0 + case joinLobbyFull // = 1 + case joinHostTooFar // = 2 + case joinLobbyNotFound // = 3 + case joinBuddyNotSet // = 4 + case joinBuddyNotFound // = 5 + case joinBadBuddy // = 6 + case joinBuddyV2NotEnabled // = 7 + case joinPlayerLevelTooLow // = 8 + case joinUnknownError // = 9 + case joinU13NoPermission // = 10 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .joinSuccess } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .errorUnknown - case 2: self = .success - case 3: self = .errorPlayerLevelTooLow - case 4: self = .errorFeatureDisabled - case 5: self = .errorAlreadyInParty - case 6: self = .errorNoSuchParty - case 7: self = .errorPartyIsFull - case 8: self = .errorNotInRange + case 0: self = .joinSuccess + case 1: self = .joinLobbyFull + case 2: self = .joinHostTooFar + case 3: self = .joinLobbyNotFound + case 4: self = .joinBuddyNotSet + case 5: self = .joinBuddyNotFound + case 6: self = .joinBadBuddy + case 7: self = .joinBuddyV2NotEnabled + case 8: self = .joinPlayerLevelTooLow + case 9: self = .joinUnknownError + case 10: self = .joinU13NoPermission default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .errorUnknown: return 1 - case .success: return 2 - case .errorPlayerLevelTooLow: return 3 - case .errorFeatureDisabled: return 4 - case .errorAlreadyInParty: return 5 - case .errorNoSuchParty: return 6 - case .errorPartyIsFull: return 7 - case .errorNotInRange: return 8 + case .joinSuccess: return 0 + case .joinLobbyFull: return 1 + case .joinHostTooFar: return 2 + case .joinLobbyNotFound: return 3 + case .joinBuddyNotSet: return 4 + case .joinBuddyNotFound: return 5 + case .joinBadBuddy: return 6 + case .joinBuddyV2NotEnabled: return 7 + case .joinPlayerLevelTooLow: return 8 + case .joinUnknownError: return 9 + case .joinU13NoPermission: return 10 case .UNRECOGNIZED(let i): return i } } @@ -91058,53 +91275,72 @@ public struct OBPartyPlayOutProto { } public init() {} - - fileprivate var _partyPlay: PartyPlayProto? = nil } #if swift(>=4.2) -extension OBPartyPlayOutProto.Status: CaseIterable { +extension JoinBuddyMultiplayerSessionOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OBPartyPlayOutProto.Status] = [ - .unset, - .errorUnknown, - .success, - .errorPlayerLevelTooLow, - .errorFeatureDisabled, - .errorAlreadyInParty, - .errorNoSuchParty, - .errorPartyIsFull, - .errorNotInRange, + public static var allCases: [JoinBuddyMultiplayerSessionOutProto.Result] = [ + .joinSuccess, + .joinLobbyFull, + .joinHostTooFar, + .joinLobbyNotFound, + .joinBuddyNotSet, + .joinBuddyNotFound, + .joinBadBuddy, + .joinBuddyV2NotEnabled, + .joinPlayerLevelTooLow, + .joinUnknownError, + .joinU13NoPermission, ] } #endif // swift(>=4.2) -public struct OBPartyPlayProtoField { +public struct JoinBuddyMultiplayerSessionProto { // 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. - public var timestampMs: Int64 = 0 + public var plfeSessionID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct JoinLobbyData { + // 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. + + public var `private`: Bool = false - public var obDouble: Double = 0 + public var useRemotePass: Bool = false - public var obDouble1: Double = 0 + public var rpcID: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObAttractedPokemonOutProto { +public struct JoinLobbyOutProto { // 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. - public var result: ObAttractedPokemonOutProto.Result = .unset + public var result: JoinLobbyOutProto.Result = .unset - public var attractedPokemons: [AttractedPokemonClientProto] = [] + public var lobby: LobbyProto { + get {return _lobby ?? LobbyProto()} + set {_lobby = newValue} + } + /// Returns true if `lobby` has been explicitly set. + public var hasLobby: Bool {return self._lobby != nil} + /// Clears the value of `lobby`. Subsequent reads from it will return its default value. + public mutating func clearLobby() {self._lobby = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -91112,6 +91348,21 @@ public struct ObAttractedPokemonOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 + case errorNotInRange // = 2 + case errorRaidUnavailable // = 3 + case errorRaidCompleted // = 4 + case errorNoAvailableLobbies // = 5 + case errorPlayerBelowMinimumLevel // = 6 + case errorPoiInaccessible // = 7 + case errorGymLockout // = 8 + case errorNoTicket // = 9 + case errorNoRemoteTicket // = 10 + case errorNoInvite // = 11 + case errorNoRemoteSlotsRemaining // = 12 + case errorLobbyFull // = 13 + case errorLobbyExpired // = 14 + case errorData // = 15 + case errorMaxLobbiesReached // = 16 case UNRECOGNIZED(Int) public init() { @@ -91122,6 +91373,21 @@ public struct ObAttractedPokemonOutProto { switch rawValue { case 0: self = .unset case 1: self = .success + case 2: self = .errorNotInRange + case 3: self = .errorRaidUnavailable + case 4: self = .errorRaidCompleted + case 5: self = .errorNoAvailableLobbies + case 6: self = .errorPlayerBelowMinimumLevel + case 7: self = .errorPoiInaccessible + case 8: self = .errorGymLockout + case 9: self = .errorNoTicket + case 10: self = .errorNoRemoteTicket + case 11: self = .errorNoInvite + case 12: self = .errorNoRemoteSlotsRemaining + case 13: self = .errorLobbyFull + case 14: self = .errorLobbyExpired + case 15: self = .errorData + case 16: self = .errorMaxLobbiesReached default: self = .UNRECOGNIZED(rawValue) } } @@ -91130,6 +91396,21 @@ public struct ObAttractedPokemonOutProto { switch self { case .unset: return 0 case .success: return 1 + case .errorNotInRange: return 2 + case .errorRaidUnavailable: return 3 + case .errorRaidCompleted: return 4 + case .errorNoAvailableLobbies: return 5 + case .errorPlayerBelowMinimumLevel: return 6 + case .errorPoiInaccessible: return 7 + case .errorGymLockout: return 8 + case .errorNoTicket: return 9 + case .errorNoRemoteTicket: return 10 + case .errorNoInvite: return 11 + case .errorNoRemoteSlotsRemaining: return 12 + case .errorLobbyFull: return 13 + case .errorLobbyExpired: return 14 + case .errorData: return 15 + case .errorMaxLobbiesReached: return 16 case .UNRECOGNIZED(let i): return i } } @@ -91137,747 +91418,353 @@ public struct ObAttractedPokemonOutProto { } public init() {} + + fileprivate var _lobby: LobbyProto? = nil } #if swift(>=4.2) -extension ObAttractedPokemonOutProto.Result: CaseIterable { +extension JoinLobbyOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObAttractedPokemonOutProto.Result] = [ + public static var allCases: [JoinLobbyOutProto.Result] = [ .unset, .success, + .errorNotInRange, + .errorRaidUnavailable, + .errorRaidCompleted, + .errorNoAvailableLobbies, + .errorPlayerBelowMinimumLevel, + .errorPoiInaccessible, + .errorGymLockout, + .errorNoTicket, + .errorNoRemoteTicket, + .errorNoInvite, + .errorNoRemoteSlotsRemaining, + .errorLobbyFull, + .errorLobbyExpired, + .errorData, + .errorMaxLobbiesReached, ] } #endif // swift(>=4.2) -public struct ObClientMapCellProto { +public struct JoinLobbyProto { // 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. - public var obInt32: Int32 = 0 + public var raidSeed: Int64 = 0 + + public var gymID: String = String() + + public var lobbyID: [Int32] = [] + + public var `private`: Bool = false - public var obInt641: Int64 = 0 + public var playerLatDegrees: Double = 0 - public var obInt642: Int64 = 0 + public var playerLngDegrees: Double = 0 - public var obDouble1: Double = 0 + public var gymLatDegrees: Double = 0 - public var obDouble2: Double = 0 + public var gymLngDegrees: Double = 0 - public var obDouble3: Double = 0 + public var useRemotePass: Bool = false - public var obString: String = String() + public var inviterID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObCombatMismatchData { +public struct JoinLobbyResponseData { // 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. - public var data: OneOf_Data? { - get {return _storage._data} - set {_uniqueStorage()._data = newValue} - } + public var result: JoinLobbyOutProto.Result = .unset - public var openCombatSessionData: OpenCombatSessionDataProto { - get { - if case .openCombatSessionData(let v)? = _storage._data {return v} - return OpenCombatSessionDataProto() - } - set {_uniqueStorage()._data = .openCombatSessionData(newValue)} - } + public var lobbyID: [Int32] = [] - public var openCombatSessionResponseData: OpenCombatSessionResponseDataProto { - get { - if case .openCombatSessionResponseData(let v)? = _storage._data {return v} - return OpenCombatSessionResponseDataProto() - } - set {_uniqueStorage()._data = .openCombatSessionResponseData(newValue)} - } + public var playerCount: Int32 = 0 - public var updateCombatData: UpdateCombatDataProto { - get { - if case .updateCombatData(let v)? = _storage._data {return v} - return UpdateCombatDataProto() - } - set {_uniqueStorage()._data = .updateCombatData(newValue)} - } + public var playerJoinEndOffsetMs: UInt32 = 0 - public var updateCombatResponseData: UpdateCombatResponseDataProto { - get { - if case .updateCombatResponseData(let v)? = _storage._data {return v} - return UpdateCombatResponseDataProto() - } - set {_uniqueStorage()._data = .updateCombatResponseData(newValue)} - } + public var pokemonSelectionEndOffsetMs: UInt32 = 0 - public var quitCombatData: QuitCombatDataProto { - get { - if case .quitCombatData(let v)? = _storage._data {return v} - return QuitCombatDataProto() - } - set {_uniqueStorage()._data = .quitCombatData(newValue)} - } + public var raidBattleStartOffsetMs: UInt32 = 0 - public var quitCombatResponseData: QuitCombatResponseDataProto { - get { - if case .quitCombatResponseData(let v)? = _storage._data {return v} - return QuitCombatResponseDataProto() - } - set {_uniqueStorage()._data = .quitCombatResponseData(newValue)} - } + public var raidBattleEndOffsetMs: UInt32 = 0 - public var webSocketResponseData: WebSocketResponseDataProto { - get { - if case .webSocketResponseData(let v)? = _storage._data {return v} - return WebSocketResponseDataProto() - } - set {_uniqueStorage()._data = .webSocketResponseData(newValue)} - } + public var raidBattleID: String = String() - public var rpcErrorData: RpcErrorDataProto { - get { - if case .rpcErrorData(let v)? = _storage._data {return v} - return RpcErrorDataProto() - } - set {_uniqueStorage()._data = .rpcErrorData(newValue)} - } + public var `private`: Bool = false - public var getCombatPlayerProfileData: GetCombatPlayerProfileDataProto { - get { - if case .getCombatPlayerProfileData(let v)? = _storage._data {return v} - return GetCombatPlayerProfileDataProto() - } - set {_uniqueStorage()._data = .getCombatPlayerProfileData(newValue)} - } + public var creationOffsetMs: UInt32 = 0 - public var getCombatPlayerProfileResponseData: GetCombatPlayerProfileResponseDataProto { - get { - if case .getCombatPlayerProfileResponseData(let v)? = _storage._data {return v} - return GetCombatPlayerProfileResponseDataProto() - } - set {_uniqueStorage()._data = .getCombatPlayerProfileResponseData(newValue)} - } + public var battlePlfeInstance: Int32 = 0 - public var generateCombatChallengeIDData: GenerateCombatChallengeIdDataProto { - get { - if case .generateCombatChallengeIDData(let v)? = _storage._data {return v} - return GenerateCombatChallengeIdDataProto() - } - set {_uniqueStorage()._data = .generateCombatChallengeIDData(newValue)} - } + public var weatherCondition: GameplayWeatherProto.WeatherCondition = .none - public var generateCombatChallengeIDResponseData: GenerateCombatChallengeIdResponseDataProto { - get { - if case .generateCombatChallengeIDResponseData(let v)? = _storage._data {return v} - return GenerateCombatChallengeIdResponseDataProto() - } - set {_uniqueStorage()._data = .generateCombatChallengeIDResponseData(newValue)} - } + public var rpcID: Int32 = 0 - public var createCombatChallengeData: CreateCombatChallengeDataProto { - get { - if case .createCombatChallengeData(let v)? = _storage._data {return v} - return CreateCombatChallengeDataProto() - } - set {_uniqueStorage()._data = .createCombatChallengeData(newValue)} - } + public var roundTripTimeMs: UInt32 = 0 - public var createCombatChallengeResponseData: CreateCombatChallengeResponseDataProto { - get { - if case .createCombatChallengeResponseData(let v)? = _storage._data {return v} - return CreateCombatChallengeResponseDataProto() - } - set {_uniqueStorage()._data = .createCombatChallengeResponseData(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var openCombatChallengeData: OpenCombatChallengeDataProto { - get { - if case .openCombatChallengeData(let v)? = _storage._data {return v} - return OpenCombatChallengeDataProto() - } - set {_uniqueStorage()._data = .openCombatChallengeData(newValue)} - } + public init() {} +} - public var openCombatChallengeResponseData: OpenCombatChallengeResponseDataProto { - get { - if case .openCombatChallengeResponseData(let v)? = _storage._data {return v} - return OpenCombatChallengeResponseDataProto() - } - set {_uniqueStorage()._data = .openCombatChallengeResponseData(newValue)} - } +public struct JoinPartyOutProto { + // 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. - public var openNpcCombatSessionData: OpenNpcCombatSessionDataProto { - get { - if case .openNpcCombatSessionData(let v)? = _storage._data {return v} - return OpenNpcCombatSessionDataProto() - } - set {_uniqueStorage()._data = .openNpcCombatSessionData(newValue)} + public var party: PartyRpcProto { + get {return _party ?? PartyRpcProto()} + set {_party = newValue} } + /// Returns true if `party` has been explicitly set. + public var hasParty: Bool {return self._party != nil} + /// Clears the value of `party`. Subsequent reads from it will return its default value. + public mutating func clearParty() {self._party = nil} - public var openNpcCombatSessionResponseData: OpenNpcCombatSessionResponseDataProto { - get { - if case .openNpcCombatSessionResponseData(let v)? = _storage._data {return v} - return OpenNpcCombatSessionResponseDataProto() - } - set {_uniqueStorage()._data = .openNpcCombatSessionResponseData(newValue)} - } + public var result: JoinPartyOutProto.Result = .unset - public var acceptCombatChallengeData: AcceptCombatChallengeDataProto { - get { - if case .acceptCombatChallengeData(let v)? = _storage._data {return v} - return AcceptCombatChallengeDataProto() - } - set {_uniqueStorage()._data = .acceptCombatChallengeData(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var acceptCombatChallengeResponseData: AcceptCombatChallengeResponseDataProto { - get { - if case .acceptCombatChallengeResponseData(let v)? = _storage._data {return v} - return AcceptCombatChallengeResponseDataProto() - } - set {_uniqueStorage()._data = .acceptCombatChallengeResponseData(newValue)} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case errorUnknown // = 1 + case success // = 2 + case errorPlayerLevelTooLow // = 3 + case errorFeatureDisabled // = 4 + case errorAlreadyInParty // = 5 + case errorNoSuchParty // = 6 + case errorPartyIsFull // = 7 + case errorNotInRange // = 8 + case errorPartyDarkLaunchQueueEmpty // = 9 + case errorDarkLaunchNotEnabledForPlayer // = 10 + case errorRedisException // = 11 + case errorU13NoPermission // = 12 + case errorU13NotFriendsWithHost // = 13 + case errorPartyTimedOut // = 14 + case errorNoLocation // = 15 + case errorPlfeRedirectNeeded // = 16 + case UNRECOGNIZED(Int) - public var submitCombatChallengePokemonsData: SubmitCombatChallengePokemonsDataProto { - get { - if case .submitCombatChallengePokemonsData(let v)? = _storage._data {return v} - return SubmitCombatChallengePokemonsDataProto() + public init() { + self = .unset } - set {_uniqueStorage()._data = .submitCombatChallengePokemonsData(newValue)} - } - public var submitCombatChallengePokemonsResponseData: SubmitCombatChallengePokemonsResponseDataProto { - get { - if case .submitCombatChallengePokemonsResponseData(let v)? = _storage._data {return v} - return SubmitCombatChallengePokemonsResponseDataProto() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .errorUnknown + case 2: self = .success + case 3: self = .errorPlayerLevelTooLow + case 4: self = .errorFeatureDisabled + case 5: self = .errorAlreadyInParty + case 6: self = .errorNoSuchParty + case 7: self = .errorPartyIsFull + case 8: self = .errorNotInRange + case 9: self = .errorPartyDarkLaunchQueueEmpty + case 10: self = .errorDarkLaunchNotEnabledForPlayer + case 11: self = .errorRedisException + case 12: self = .errorU13NoPermission + case 13: self = .errorU13NotFriendsWithHost + case 14: self = .errorPartyTimedOut + case 15: self = .errorNoLocation + case 16: self = .errorPlfeRedirectNeeded + default: self = .UNRECOGNIZED(rawValue) + } } - set {_uniqueStorage()._data = .submitCombatChallengePokemonsResponseData(newValue)} - } - public var declineCombatChallengeData: DeclineCombatChallengeDataProto { - get { - if case .declineCombatChallengeData(let v)? = _storage._data {return v} - return DeclineCombatChallengeDataProto() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .errorUnknown: return 1 + case .success: return 2 + case .errorPlayerLevelTooLow: return 3 + case .errorFeatureDisabled: return 4 + case .errorAlreadyInParty: return 5 + case .errorNoSuchParty: return 6 + case .errorPartyIsFull: return 7 + case .errorNotInRange: return 8 + case .errorPartyDarkLaunchQueueEmpty: return 9 + case .errorDarkLaunchNotEnabledForPlayer: return 10 + case .errorRedisException: return 11 + case .errorU13NoPermission: return 12 + case .errorU13NotFriendsWithHost: return 13 + case .errorPartyTimedOut: return 14 + case .errorNoLocation: return 15 + case .errorPlfeRedirectNeeded: return 16 + case .UNRECOGNIZED(let i): return i + } } - set {_uniqueStorage()._data = .declineCombatChallengeData(newValue)} - } - public var declineCombatChallengeResponseData: DeclineCombatChallengeResponseDataProto { - get { - if case .declineCombatChallengeResponseData(let v)? = _storage._data {return v} - return DeclineCombatChallengeResponseDataProto() - } - set {_uniqueStorage()._data = .declineCombatChallengeResponseData(newValue)} } - public var cancelCombatChallengeData: CancelCombatChallengeDataProto { - get { - if case .cancelCombatChallengeData(let v)? = _storage._data {return v} - return CancelCombatChallengeDataProto() - } - set {_uniqueStorage()._data = .cancelCombatChallengeData(newValue)} - } + public init() {} - public var cancelCombatChallengeResponseData: CancelCombatChallengeResponseDataProto { - get { - if case .cancelCombatChallengeResponseData(let v)? = _storage._data {return v} - return CancelCombatChallengeResponseDataProto() - } - set {_uniqueStorage()._data = .cancelCombatChallengeResponseData(newValue)} - } + fileprivate var _party: PartyRpcProto? = nil +} - public var getCombatChallengeData: GetCombatChallengeDataProto { - get { - if case .getCombatChallengeData(let v)? = _storage._data {return v} - return GetCombatChallengeDataProto() - } - set {_uniqueStorage()._data = .getCombatChallengeData(newValue)} - } +#if swift(>=4.2) - public var getCombatChallengeResponseData: GetCombatChallengeResponseDataProto { - get { - if case .getCombatChallengeResponseData(let v)? = _storage._data {return v} - return GetCombatChallengeResponseDataProto() - } - set {_uniqueStorage()._data = .getCombatChallengeResponseData(newValue)} - } +extension JoinPartyOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [JoinPartyOutProto.Result] = [ + .unset, + .errorUnknown, + .success, + .errorPlayerLevelTooLow, + .errorFeatureDisabled, + .errorAlreadyInParty, + .errorNoSuchParty, + .errorPartyIsFull, + .errorNotInRange, + .errorPartyDarkLaunchQueueEmpty, + .errorDarkLaunchNotEnabledForPlayer, + .errorRedisException, + .errorU13NoPermission, + .errorU13NotFriendsWithHost, + .errorPartyTimedOut, + .errorNoLocation, + .errorPlfeRedirectNeeded, + ] +} - public var vsSeekerStartMatchmakingData: VsSeekerStartMatchmakingDataProto { - get { - if case .vsSeekerStartMatchmakingData(let v)? = _storage._data {return v} - return VsSeekerStartMatchmakingDataProto() - } - set {_uniqueStorage()._data = .vsSeekerStartMatchmakingData(newValue)} - } +#endif // swift(>=4.2) - public var vsSeekerStartMatchmakingResponseData: VsSeekerStartMatchmakingResponseDataProto { - get { - if case .vsSeekerStartMatchmakingResponseData(let v)? = _storage._data {return v} - return VsSeekerStartMatchmakingResponseDataProto() - } - set {_uniqueStorage()._data = .vsSeekerStartMatchmakingResponseData(newValue)} - } +public struct JoinPartyProto { + // 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. - public var getMatchmakingStatusData: GetMatchmakingStatusDataProto { - get { - if case .getMatchmakingStatusData(let v)? = _storage._data {return v} - return GetMatchmakingStatusDataProto() - } - set {_uniqueStorage()._data = .getMatchmakingStatusData(newValue)} - } + public var partyID: [Int32] = [] - public var getMatchmakingStatusResponseData: GetMatchmakingStatusResponseDataProto { - get { - if case .getMatchmakingStatusResponseData(let v)? = _storage._data {return v} - return GetMatchmakingStatusResponseDataProto() - } - set {_uniqueStorage()._data = .getMatchmakingStatusResponseData(newValue)} - } + public var invitingPlayerID: String = String() - public var cancelMatchmakingData: CancelMatchmakingDataProto { - get { - if case .cancelMatchmakingData(let v)? = _storage._data {return v} - return CancelMatchmakingDataProto() - } - set {_uniqueStorage()._data = .cancelMatchmakingData(newValue)} - } + public var id: Int64 = 0 - public var cancelMatchmakingResponseData: CancelMatchmakingResponseDataProto { - get { - if case .cancelMatchmakingResponseData(let v)? = _storage._data {return v} - return CancelMatchmakingResponseDataProto() - } - set {_uniqueStorage()._data = .cancelMatchmakingResponseData(newValue)} - } + public var isDarkLaunchRequest: Bool = false - public var submitCombatAction: SubmitCombatActionProto { - get { - if case .submitCombatAction(let v)? = _storage._data {return v} - return SubmitCombatActionProto() - } - set {_uniqueStorage()._data = .submitCombatAction(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var invasionOpenCombatSessionData: InvasionOpenCombatSessionDataProto { - get { - if case .invasionOpenCombatSessionData(let v)? = _storage._data {return v} - return InvasionOpenCombatSessionDataProto() - } - set {_uniqueStorage()._data = .invasionOpenCombatSessionData(newValue)} - } + public init() {} +} - public var invasionOpenCombatSessionResponseData: InvasionOpenCombatSessionResponseDataProto { - get { - if case .invasionOpenCombatSessionResponseData(let v)? = _storage._data {return v} - return InvasionOpenCombatSessionResponseDataProto() - } - set {_uniqueStorage()._data = .invasionOpenCombatSessionResponseData(newValue)} - } +public struct JoinedPlayerObfuscationEntryProto { + // 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. - public var invasionBattleUpdate: InvasionBattleUpdateProto { - get { - if case .invasionBattleUpdate(let v)? = _storage._data {return v} - return InvasionBattleUpdateProto() - } - set {_uniqueStorage()._data = .invasionBattleUpdate(newValue)} - } + public var participantPlayerID: String = String() - public var invasionBattleResponseUpdate: InvasionBattleResponseUpdateProto { - get { - if case .invasionBattleResponseUpdate(let v)? = _storage._data {return v} - return InvasionBattleResponseUpdateProto() - } - set {_uniqueStorage()._data = .invasionBattleResponseUpdate(newValue)} - } + public var joinedPlayerIDPlayerObfuscated: String = String() - public var combatIDMismatchData: CombatIdMismatchDataProto { - get { - if case .combatIDMismatchData(let v)? = _storage._data {return v} - return CombatIdMismatchDataProto() - } - set {_uniqueStorage()._data = .combatIDMismatchData(newValue)} - } + public var joinedNiaAccountIDPlayerObfuscated: String = String() - public var leagueIDMismatchData: LeagueIdMismatchDataProto { - get { - if case .leagueIDMismatchData(let v)? = _storage._data {return v} - return LeagueIdMismatchDataProto() - } - set {_uniqueStorage()._data = .leagueIDMismatchData(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var challengeIDMismatchData: ChallengeIdMismatchDataProto { - get { - if case .challengeIDMismatchData(let v)? = _storage._data {return v} - return ChallengeIdMismatchDataProto() - } - set {_uniqueStorage()._data = .challengeIDMismatchData(newValue)} - } + public init() {} +} - public var progressTokenData: ProgressTokenDataV2 { - get { - if case .progressTokenData(let v)? = _storage._data {return v} - return ProgressTokenDataV2() - } - set {_uniqueStorage()._data = .progressTokenData(newValue)} - } +public struct JoinedPlayerObfuscationMapProto { + // 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. - public var onApplicationFocusData: OnApplicationFocusDataProto { - get { - if case .onApplicationFocusData(let v)? = _storage._data {return v} - return OnApplicationFocusDataProto() - } - set {_uniqueStorage()._data = .onApplicationFocusData(newValue)} - } + public var joinedPlayerID: String = String() - public var onApplicationPauseData: OnApplicationPauseDataProto { - get { - if case .onApplicationPauseData(let v)? = _storage._data {return v} - return OnApplicationPauseDataProto() - } - set {_uniqueStorage()._data = .onApplicationPauseData(newValue)} - } + public var obfuscationEntries: [JoinedPlayerObfuscationEntryProto] = [] - public var onApplicationQuitData: OnApplicationQuitDataProto { - get { - if case .onApplicationQuitData(let v)? = _storage._data {return v} - return OnApplicationQuitDataProto() - } - set {_uniqueStorage()._data = .onApplicationQuitData(newValue)} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var exceptionCaughtData: ExceptionCaugthDataV2Proto { - get { - if case .exceptionCaughtData(let v)? = _storage._data {return v} - return ExceptionCaugthDataV2Proto() - } - set {_uniqueStorage()._data = .exceptionCaughtData(newValue)} - } + public init() {} +} - public var combatPubSubData: CombatPubSubDataProto { - get { - if case .combatPubSubData(let v)? = _storage._data {return v} - return CombatPubSubDataProto() - } - set {_uniqueStorage()._data = .combatPubSubData(newValue)} - } +public struct JournalAddEntryProto { + // 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. - public var combatEndData: CombatEndDataProto { - get { - if case .combatEndData(let v)? = _storage._data {return v} - return CombatEndDataProto() - } - set {_uniqueStorage()._data = .combatEndData(newValue)} + public var hashedKey: HashedKeyProto { + get {return _hashedKey ?? HashedKeyProto()} + set {_hashedKey = newValue} } + /// Returns true if `hashedKey` has been explicitly set. + public var hasHashedKey: Bool {return self._hashedKey != nil} + /// Clears the value of `hashedKey`. Subsequent reads from it will return its default value. + public mutating func clearHashedKey() {self._hashedKey = nil} + + public var entrySize: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _hashedKey: HashedKeyProto? = nil +} + +public struct JournalEntryProto { + // 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. + + public var subentry: JournalEntryProto.OneOf_Subentry? = nil - public var combatSyncServerData: CombatSyncServerDataProto { + public var addEntry: JournalAddEntryProto { get { - if case .combatSyncServerData(let v)? = _storage._data {return v} - return CombatSyncServerDataProto() + if case .addEntry(let v)? = subentry {return v} + return JournalAddEntryProto() } - set {_uniqueStorage()._data = .combatSyncServerData(newValue)} + set {subentry = .addEntry(newValue)} } - public var combatSyncServerResponseData: CombatSyncServerResponseDataProto { + public var readEntry: JournalReadEntryProto { get { - if case .combatSyncServerResponseData(let v)? = _storage._data {return v} - return CombatSyncServerResponseDataProto() + if case .readEntry(let v)? = subentry {return v} + return JournalReadEntryProto() } - set {_uniqueStorage()._data = .combatSyncServerResponseData(newValue)} + set {subentry = .readEntry(newValue)} } - public var combatSpecialMovePlayerData: CombatSpecialMovePlayerDataProto { + public var removeEntry: JournalRemoveEntryProto { get { - if case .combatSpecialMovePlayerData(let v)? = _storage._data {return v} - return CombatSpecialMovePlayerDataProto() + if case .removeEntry(let v)? = subentry {return v} + return JournalRemoveEntryProto() } - set {_uniqueStorage()._data = .combatSpecialMovePlayerData(newValue)} - } - - public var state: ObCombatMismatchData.MismatchState { - get {return _storage._state ?? ObCombatMismatchData.MismatchState()} - set {_uniqueStorage()._state = newValue} + set {subentry = .removeEntry(newValue)} } - /// Returns true if `state` has been explicitly set. - public var hasState: Bool {return _storage._state != nil} - /// Clears the value of `state`. Subsequent reads from it will return its default value. - public mutating func clearState() {_uniqueStorage()._state = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Data: Equatable { - case openCombatSessionData(OpenCombatSessionDataProto) - case openCombatSessionResponseData(OpenCombatSessionResponseDataProto) - case updateCombatData(UpdateCombatDataProto) - case updateCombatResponseData(UpdateCombatResponseDataProto) - case quitCombatData(QuitCombatDataProto) - case quitCombatResponseData(QuitCombatResponseDataProto) - case webSocketResponseData(WebSocketResponseDataProto) - case rpcErrorData(RpcErrorDataProto) - case getCombatPlayerProfileData(GetCombatPlayerProfileDataProto) - case getCombatPlayerProfileResponseData(GetCombatPlayerProfileResponseDataProto) - case generateCombatChallengeIDData(GenerateCombatChallengeIdDataProto) - case generateCombatChallengeIDResponseData(GenerateCombatChallengeIdResponseDataProto) - case createCombatChallengeData(CreateCombatChallengeDataProto) - case createCombatChallengeResponseData(CreateCombatChallengeResponseDataProto) - case openCombatChallengeData(OpenCombatChallengeDataProto) - case openCombatChallengeResponseData(OpenCombatChallengeResponseDataProto) - case openNpcCombatSessionData(OpenNpcCombatSessionDataProto) - case openNpcCombatSessionResponseData(OpenNpcCombatSessionResponseDataProto) - case acceptCombatChallengeData(AcceptCombatChallengeDataProto) - case acceptCombatChallengeResponseData(AcceptCombatChallengeResponseDataProto) - case submitCombatChallengePokemonsData(SubmitCombatChallengePokemonsDataProto) - case submitCombatChallengePokemonsResponseData(SubmitCombatChallengePokemonsResponseDataProto) - case declineCombatChallengeData(DeclineCombatChallengeDataProto) - case declineCombatChallengeResponseData(DeclineCombatChallengeResponseDataProto) - case cancelCombatChallengeData(CancelCombatChallengeDataProto) - case cancelCombatChallengeResponseData(CancelCombatChallengeResponseDataProto) - case getCombatChallengeData(GetCombatChallengeDataProto) - case getCombatChallengeResponseData(GetCombatChallengeResponseDataProto) - case vsSeekerStartMatchmakingData(VsSeekerStartMatchmakingDataProto) - case vsSeekerStartMatchmakingResponseData(VsSeekerStartMatchmakingResponseDataProto) - case getMatchmakingStatusData(GetMatchmakingStatusDataProto) - case getMatchmakingStatusResponseData(GetMatchmakingStatusResponseDataProto) - case cancelMatchmakingData(CancelMatchmakingDataProto) - case cancelMatchmakingResponseData(CancelMatchmakingResponseDataProto) - case submitCombatAction(SubmitCombatActionProto) - case invasionOpenCombatSessionData(InvasionOpenCombatSessionDataProto) - case invasionOpenCombatSessionResponseData(InvasionOpenCombatSessionResponseDataProto) - case invasionBattleUpdate(InvasionBattleUpdateProto) - case invasionBattleResponseUpdate(InvasionBattleResponseUpdateProto) - case combatIDMismatchData(CombatIdMismatchDataProto) - case leagueIDMismatchData(LeagueIdMismatchDataProto) - case challengeIDMismatchData(ChallengeIdMismatchDataProto) - case progressTokenData(ProgressTokenDataV2) - case onApplicationFocusData(OnApplicationFocusDataProto) - case onApplicationPauseData(OnApplicationPauseDataProto) - case onApplicationQuitData(OnApplicationQuitDataProto) - case exceptionCaughtData(ExceptionCaugthDataV2Proto) - case combatPubSubData(CombatPubSubDataProto) - case combatEndData(CombatEndDataProto) - case combatSyncServerData(CombatSyncServerDataProto) - case combatSyncServerResponseData(CombatSyncServerResponseDataProto) - case combatSpecialMovePlayerData(CombatSpecialMovePlayerDataProto) + public enum OneOf_Subentry: Equatable { + case addEntry(JournalAddEntryProto) + case readEntry(JournalReadEntryProto) + case removeEntry(JournalRemoveEntryProto) #if !swift(>=4.1) - public static func ==(lhs: ObCombatMismatchData.OneOf_Data, rhs: ObCombatMismatchData.OneOf_Data) -> Bool { + public static func ==(lhs: JournalEntryProto.OneOf_Subentry, rhs: JournalEntryProto.OneOf_Subentry) -> Bool { // The use of inline closures is to circumvent an issue where the compiler // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch (lhs, rhs) { - case (.openCombatSessionData, .openCombatSessionData): return { - guard case .openCombatSessionData(let l) = lhs, case .openCombatSessionData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.openCombatSessionResponseData, .openCombatSessionResponseData): return { - guard case .openCombatSessionResponseData(let l) = lhs, case .openCombatSessionResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.updateCombatData, .updateCombatData): return { - guard case .updateCombatData(let l) = lhs, case .updateCombatData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.updateCombatResponseData, .updateCombatResponseData): return { - guard case .updateCombatResponseData(let l) = lhs, case .updateCombatResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.quitCombatData, .quitCombatData): return { - guard case .quitCombatData(let l) = lhs, case .quitCombatData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.quitCombatResponseData, .quitCombatResponseData): return { - guard case .quitCombatResponseData(let l) = lhs, case .quitCombatResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.webSocketResponseData, .webSocketResponseData): return { - guard case .webSocketResponseData(let l) = lhs, case .webSocketResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.rpcErrorData, .rpcErrorData): return { - guard case .rpcErrorData(let l) = lhs, case .rpcErrorData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getCombatPlayerProfileData, .getCombatPlayerProfileData): return { - guard case .getCombatPlayerProfileData(let l) = lhs, case .getCombatPlayerProfileData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getCombatPlayerProfileResponseData, .getCombatPlayerProfileResponseData): return { - guard case .getCombatPlayerProfileResponseData(let l) = lhs, case .getCombatPlayerProfileResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.generateCombatChallengeIDData, .generateCombatChallengeIDData): return { - guard case .generateCombatChallengeIDData(let l) = lhs, case .generateCombatChallengeIDData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.generateCombatChallengeIDResponseData, .generateCombatChallengeIDResponseData): return { - guard case .generateCombatChallengeIDResponseData(let l) = lhs, case .generateCombatChallengeIDResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.createCombatChallengeData, .createCombatChallengeData): return { - guard case .createCombatChallengeData(let l) = lhs, case .createCombatChallengeData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.createCombatChallengeResponseData, .createCombatChallengeResponseData): return { - guard case .createCombatChallengeResponseData(let l) = lhs, case .createCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.openCombatChallengeData, .openCombatChallengeData): return { - guard case .openCombatChallengeData(let l) = lhs, case .openCombatChallengeData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.openCombatChallengeResponseData, .openCombatChallengeResponseData): return { - guard case .openCombatChallengeResponseData(let l) = lhs, case .openCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.openNpcCombatSessionData, .openNpcCombatSessionData): return { - guard case .openNpcCombatSessionData(let l) = lhs, case .openNpcCombatSessionData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.openNpcCombatSessionResponseData, .openNpcCombatSessionResponseData): return { - guard case .openNpcCombatSessionResponseData(let l) = lhs, case .openNpcCombatSessionResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.acceptCombatChallengeData, .acceptCombatChallengeData): return { - guard case .acceptCombatChallengeData(let l) = lhs, case .acceptCombatChallengeData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.acceptCombatChallengeResponseData, .acceptCombatChallengeResponseData): return { - guard case .acceptCombatChallengeResponseData(let l) = lhs, case .acceptCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.submitCombatChallengePokemonsData, .submitCombatChallengePokemonsData): return { - guard case .submitCombatChallengePokemonsData(let l) = lhs, case .submitCombatChallengePokemonsData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.submitCombatChallengePokemonsResponseData, .submitCombatChallengePokemonsResponseData): return { - guard case .submitCombatChallengePokemonsResponseData(let l) = lhs, case .submitCombatChallengePokemonsResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.declineCombatChallengeData, .declineCombatChallengeData): return { - guard case .declineCombatChallengeData(let l) = lhs, case .declineCombatChallengeData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.declineCombatChallengeResponseData, .declineCombatChallengeResponseData): return { - guard case .declineCombatChallengeResponseData(let l) = lhs, case .declineCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.cancelCombatChallengeData, .cancelCombatChallengeData): return { - guard case .cancelCombatChallengeData(let l) = lhs, case .cancelCombatChallengeData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.cancelCombatChallengeResponseData, .cancelCombatChallengeResponseData): return { - guard case .cancelCombatChallengeResponseData(let l) = lhs, case .cancelCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getCombatChallengeData, .getCombatChallengeData): return { - guard case .getCombatChallengeData(let l) = lhs, case .getCombatChallengeData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getCombatChallengeResponseData, .getCombatChallengeResponseData): return { - guard case .getCombatChallengeResponseData(let l) = lhs, case .getCombatChallengeResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.vsSeekerStartMatchmakingData, .vsSeekerStartMatchmakingData): return { - guard case .vsSeekerStartMatchmakingData(let l) = lhs, case .vsSeekerStartMatchmakingData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.vsSeekerStartMatchmakingResponseData, .vsSeekerStartMatchmakingResponseData): return { - guard case .vsSeekerStartMatchmakingResponseData(let l) = lhs, case .vsSeekerStartMatchmakingResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getMatchmakingStatusData, .getMatchmakingStatusData): return { - guard case .getMatchmakingStatusData(let l) = lhs, case .getMatchmakingStatusData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getMatchmakingStatusResponseData, .getMatchmakingStatusResponseData): return { - guard case .getMatchmakingStatusResponseData(let l) = lhs, case .getMatchmakingStatusResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.cancelMatchmakingData, .cancelMatchmakingData): return { - guard case .cancelMatchmakingData(let l) = lhs, case .cancelMatchmakingData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.cancelMatchmakingResponseData, .cancelMatchmakingResponseData): return { - guard case .cancelMatchmakingResponseData(let l) = lhs, case .cancelMatchmakingResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.submitCombatAction, .submitCombatAction): return { - guard case .submitCombatAction(let l) = lhs, case .submitCombatAction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.invasionOpenCombatSessionData, .invasionOpenCombatSessionData): return { - guard case .invasionOpenCombatSessionData(let l) = lhs, case .invasionOpenCombatSessionData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.invasionOpenCombatSessionResponseData, .invasionOpenCombatSessionResponseData): return { - guard case .invasionOpenCombatSessionResponseData(let l) = lhs, case .invasionOpenCombatSessionResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.invasionBattleUpdate, .invasionBattleUpdate): return { - guard case .invasionBattleUpdate(let l) = lhs, case .invasionBattleUpdate(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.invasionBattleResponseUpdate, .invasionBattleResponseUpdate): return { - guard case .invasionBattleResponseUpdate(let l) = lhs, case .invasionBattleResponseUpdate(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatIDMismatchData, .combatIDMismatchData): return { - guard case .combatIDMismatchData(let l) = lhs, case .combatIDMismatchData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.leagueIDMismatchData, .leagueIDMismatchData): return { - guard case .leagueIDMismatchData(let l) = lhs, case .leagueIDMismatchData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.challengeIDMismatchData, .challengeIDMismatchData): return { - guard case .challengeIDMismatchData(let l) = lhs, case .challengeIDMismatchData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.progressTokenData, .progressTokenData): return { - guard case .progressTokenData(let l) = lhs, case .progressTokenData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.onApplicationFocusData, .onApplicationFocusData): return { - guard case .onApplicationFocusData(let l) = lhs, case .onApplicationFocusData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.onApplicationPauseData, .onApplicationPauseData): return { - guard case .onApplicationPauseData(let l) = lhs, case .onApplicationPauseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.onApplicationQuitData, .onApplicationQuitData): return { - guard case .onApplicationQuitData(let l) = lhs, case .onApplicationQuitData(let r) = rhs else { preconditionFailure() } + case (.addEntry, .addEntry): return { + guard case .addEntry(let l) = lhs, case .addEntry(let r) = rhs else { preconditionFailure() } return l == r }() - case (.exceptionCaughtData, .exceptionCaughtData): return { - guard case .exceptionCaughtData(let l) = lhs, case .exceptionCaughtData(let r) = rhs else { preconditionFailure() } + case (.readEntry, .readEntry): return { + guard case .readEntry(let l) = lhs, case .readEntry(let r) = rhs else { preconditionFailure() } return l == r }() - case (.combatPubSubData, .combatPubSubData): return { - guard case .combatPubSubData(let l) = lhs, case .combatPubSubData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatEndData, .combatEndData): return { - guard case .combatEndData(let l) = lhs, case .combatEndData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatSyncServerData, .combatSyncServerData): return { - guard case .combatSyncServerData(let l) = lhs, case .combatSyncServerData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatSyncServerResponseData, .combatSyncServerResponseData): return { - guard case .combatSyncServerResponseData(let l) = lhs, case .combatSyncServerResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatSpecialMovePlayerData, .combatSpecialMovePlayerData): return { - guard case .combatSpecialMovePlayerData(let l) = lhs, case .combatSpecialMovePlayerData(let r) = rhs else { preconditionFailure() } + case (.removeEntry, .removeEntry): return { + guard case .removeEntry(let l) = lhs, case .removeEntry(let r) = rhs else { preconditionFailure() } return l == r }() default: return false @@ -91886,810 +91773,240 @@ public struct ObCombatMismatchData { #endif } - public struct MismatchState { - // 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. - - public var type: ObCombatMismatchData.MismatchState.TypeEnum = .noType - - public var obUint321: UInt32 = 0 - - public var obUint322: UInt32 = 0 - - public var obFloat: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum TypeEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noType // = 0 - case openCombatSession // = 1 - case openCombatSessionResponse // = 2 - case updateCombat // = 3 - case updateCombatResponse // = 4 - case quitCombat // = 5 - case quitCombatResponse // = 6 - case webSocketResponse // = 7 - case rpcError // = 8 - case getCombatPlayerProfile // = 9 - case getCombatPlayerProfileResponse // = 10 - case generateCombatChallengeID // = 11 - case generateCombatChallengeIDResponse // = 12 - case createCombatChallenge // = 13 - case createCombatChallengeResponse // = 14 - case openCombatChallenge // = 15 - case openCombatChallengeResponse // = 16 - case openNpcCombatSession // = 17 - case openNpcCombatSessionResponse // = 18 - case acceptCombatChallenge // = 19 - case acceptCombatChallengeResponse // = 20 - case submitCombatChallengePokemons // = 21 - case submitCombatChallengePokemonsResponse // = 22 - case declineCombatChallenge // = 23 - case declineCombatChallengeResponse // = 24 - case cancelCombatChallenge // = 25 - case cancelCombatChallengeResponse // = 26 - case getCombatChallenge // = 27 - case getCombatChallengeResponse // = 28 - case vsSeekerStartMatchmaking // = 29 - case vsSeekerStartMatchmakingResponse // = 30 - case getMatchmakingStatus // = 31 - case getMatchmakingStatusResponse // = 32 - case cancelMatchmaking // = 33 - case cancelMatchmakingResponse // = 34 - case submitCombatAction // = 35 - case invasionOpenCombatSession // = 36 - case invasionOpenCombatSessionResponse // = 37 - case invasionBattleUpdate // = 38 - case invasionBattleUpdateResponse // = 39 - case combatIDMismatch // = 40 - case leagueIDMismatch // = 41 - case challengeIDMismatch // = 42 - case progressToken // = 43 - case onApplicationFocus // = 44 - case onApplicationPause // = 45 - case onApplicationQuit // = 46 - case exceptionCaught // = 47 - case pubSubMessage // = 48 - case playerEndCombat // = 49 - case combatSyncServer // = 50 - case combatSyncServerResponse // = 51 - case combatSpecialMovePlayer // = 52 - case UNRECOGNIZED(Int) - - public init() { - self = .noType - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noType - case 1: self = .openCombatSession - case 2: self = .openCombatSessionResponse - case 3: self = .updateCombat - case 4: self = .updateCombatResponse - case 5: self = .quitCombat - case 6: self = .quitCombatResponse - case 7: self = .webSocketResponse - case 8: self = .rpcError - case 9: self = .getCombatPlayerProfile - case 10: self = .getCombatPlayerProfileResponse - case 11: self = .generateCombatChallengeID - case 12: self = .generateCombatChallengeIDResponse - case 13: self = .createCombatChallenge - case 14: self = .createCombatChallengeResponse - case 15: self = .openCombatChallenge - case 16: self = .openCombatChallengeResponse - case 17: self = .openNpcCombatSession - case 18: self = .openNpcCombatSessionResponse - case 19: self = .acceptCombatChallenge - case 20: self = .acceptCombatChallengeResponse - case 21: self = .submitCombatChallengePokemons - case 22: self = .submitCombatChallengePokemonsResponse - case 23: self = .declineCombatChallenge - case 24: self = .declineCombatChallengeResponse - case 25: self = .cancelCombatChallenge - case 26: self = .cancelCombatChallengeResponse - case 27: self = .getCombatChallenge - case 28: self = .getCombatChallengeResponse - case 29: self = .vsSeekerStartMatchmaking - case 30: self = .vsSeekerStartMatchmakingResponse - case 31: self = .getMatchmakingStatus - case 32: self = .getMatchmakingStatusResponse - case 33: self = .cancelMatchmaking - case 34: self = .cancelMatchmakingResponse - case 35: self = .submitCombatAction - case 36: self = .invasionOpenCombatSession - case 37: self = .invasionOpenCombatSessionResponse - case 38: self = .invasionBattleUpdate - case 39: self = .invasionBattleUpdateResponse - case 40: self = .combatIDMismatch - case 41: self = .leagueIDMismatch - case 42: self = .challengeIDMismatch - case 43: self = .progressToken - case 44: self = .onApplicationFocus - case 45: self = .onApplicationPause - case 46: self = .onApplicationQuit - case 47: self = .exceptionCaught - case 48: self = .pubSubMessage - case 49: self = .playerEndCombat - case 50: self = .combatSyncServer - case 51: self = .combatSyncServerResponse - case 52: self = .combatSpecialMovePlayer - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noType: return 0 - case .openCombatSession: return 1 - case .openCombatSessionResponse: return 2 - case .updateCombat: return 3 - case .updateCombatResponse: return 4 - case .quitCombat: return 5 - case .quitCombatResponse: return 6 - case .webSocketResponse: return 7 - case .rpcError: return 8 - case .getCombatPlayerProfile: return 9 - case .getCombatPlayerProfileResponse: return 10 - case .generateCombatChallengeID: return 11 - case .generateCombatChallengeIDResponse: return 12 - case .createCombatChallenge: return 13 - case .createCombatChallengeResponse: return 14 - case .openCombatChallenge: return 15 - case .openCombatChallengeResponse: return 16 - case .openNpcCombatSession: return 17 - case .openNpcCombatSessionResponse: return 18 - case .acceptCombatChallenge: return 19 - case .acceptCombatChallengeResponse: return 20 - case .submitCombatChallengePokemons: return 21 - case .submitCombatChallengePokemonsResponse: return 22 - case .declineCombatChallenge: return 23 - case .declineCombatChallengeResponse: return 24 - case .cancelCombatChallenge: return 25 - case .cancelCombatChallengeResponse: return 26 - case .getCombatChallenge: return 27 - case .getCombatChallengeResponse: return 28 - case .vsSeekerStartMatchmaking: return 29 - case .vsSeekerStartMatchmakingResponse: return 30 - case .getMatchmakingStatus: return 31 - case .getMatchmakingStatusResponse: return 32 - case .cancelMatchmaking: return 33 - case .cancelMatchmakingResponse: return 34 - case .submitCombatAction: return 35 - case .invasionOpenCombatSession: return 36 - case .invasionOpenCombatSessionResponse: return 37 - case .invasionBattleUpdate: return 38 - case .invasionBattleUpdateResponse: return 39 - case .combatIDMismatch: return 40 - case .leagueIDMismatch: return 41 - case .challengeIDMismatch: return 42 - case .progressToken: return 43 - case .onApplicationFocus: return 44 - case .onApplicationPause: return 45 - case .onApplicationQuit: return 46 - case .exceptionCaught: return 47 - case .pubSubMessage: return 48 - case .playerEndCombat: return 49 - case .combatSyncServer: return 50 - case .combatSyncServerResponse: return 51 - case .combatSpecialMovePlayer: return 52 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension ObCombatMismatchData.MismatchState.TypeEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObCombatMismatchData.MismatchState.TypeEnum] = [ - .noType, - .openCombatSession, - .openCombatSessionResponse, - .updateCombat, - .updateCombatResponse, - .quitCombat, - .quitCombatResponse, - .webSocketResponse, - .rpcError, - .getCombatPlayerProfile, - .getCombatPlayerProfileResponse, - .generateCombatChallengeID, - .generateCombatChallengeIDResponse, - .createCombatChallenge, - .createCombatChallengeResponse, - .openCombatChallenge, - .openCombatChallengeResponse, - .openNpcCombatSession, - .openNpcCombatSessionResponse, - .acceptCombatChallenge, - .acceptCombatChallengeResponse, - .submitCombatChallengePokemons, - .submitCombatChallengePokemonsResponse, - .declineCombatChallenge, - .declineCombatChallengeResponse, - .cancelCombatChallenge, - .cancelCombatChallengeResponse, - .getCombatChallenge, - .getCombatChallengeResponse, - .vsSeekerStartMatchmaking, - .vsSeekerStartMatchmakingResponse, - .getMatchmakingStatus, - .getMatchmakingStatusResponse, - .cancelMatchmaking, - .cancelMatchmakingResponse, - .submitCombatAction, - .invasionOpenCombatSession, - .invasionOpenCombatSessionResponse, - .invasionBattleUpdate, - .invasionBattleUpdateResponse, - .combatIDMismatch, - .leagueIDMismatch, - .challengeIDMismatch, - .progressToken, - .onApplicationFocus, - .onApplicationPause, - .onApplicationQuit, - .exceptionCaught, - .pubSubMessage, - .playerEndCombat, - .combatSyncServer, - .combatSyncServerResponse, - .combatSpecialMovePlayer, - ] } -#endif // swift(>=4.2) - -public struct ObCombatProto { +public struct JournalReadEntryProto { // 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. - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 - - public var obInt64: Int64 = 0 - - public var obRepeatedList: [String] = [] + public var hashedKey: HashedKeyProto { + get {return _hashedKey ?? HashedKeyProto()} + set {_hashedKey = newValue} + } + /// Returns true if `hashedKey` has been explicitly set. + public var hasHashedKey: Bool {return self._hashedKey != nil} + /// Clears the value of `hashedKey`. Subsequent reads from it will return its default value. + public mutating func clearHashedKey() {self._hashedKey = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _hashedKey: HashedKeyProto? = nil } -public struct ObCombatSettings { +public struct JournalRemoveEntryProto { // 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. - public var obInt32: Int32 = 0 - - public var enabled: Bool = false + public var hashedKey: HashedKeyProto { + get {return _hashedKey ?? HashedKeyProto()} + set {_hashedKey = newValue} + } + /// Returns true if `hashedKey` has been explicitly set. + public var hasHashedKey: Bool {return self._hashedKey != nil} + /// Clears the value of `hashedKey`. Subsequent reads from it will return its default value. + public mutating func clearHashedKey() {self._hashedKey = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _hashedKey: HashedKeyProto? = nil } -public struct ObCombatSettings1 { +public struct JournalVersionProto { // 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. - public var obBool1: Bool = false - - public var obBool2: Bool = false - - public var obBool3: Bool = false - - public var obBool4: Bool = false + public var version: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObCombatSpecialmovePlayerData { +public struct KangarooSettingsProto { // 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. - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } - - public var obListInt321: [Int32] { - get {return _storage._obListInt321} - set {_uniqueStorage()._obListInt321 = newValue} - } - - public var obListInt322: [Int32] { - get {return _storage._obListInt322} - set {_uniqueStorage()._obListInt322 = newValue} - } - - public var obCommunData1: ObCommunCombatDataProto { - get {return _storage._obCommunData1 ?? ObCommunCombatDataProto()} - set {_uniqueStorage()._obCommunData1 = newValue} - } - /// Returns true if `obCommunData1` has been explicitly set. - public var hasObCommunData1: Bool {return _storage._obCommunData1 != nil} - /// Clears the value of `obCommunData1`. Subsequent reads from it will return its default value. - public mutating func clearObCommunData1() {_uniqueStorage()._obCommunData1 = nil} - - public var obInt322: Int32 { - get {return _storage._obInt322} - set {_uniqueStorage()._obInt322 = newValue} - } - - public var obCommunData2: ObCommunCombatDataProto { - get {return _storage._obCommunData2 ?? ObCommunCombatDataProto()} - set {_uniqueStorage()._obCommunData2 = newValue} - } - /// Returns true if `obCommunData2` has been explicitly set. - public var hasObCommunData2: Bool {return _storage._obCommunData2 != nil} - /// Clears the value of `obCommunData2`. Subsequent reads from it will return its default value. - public mutating func clearObCommunData2() {_uniqueStorage()._obCommunData2 = nil} - - public var obInt323: Int32 { - get {return _storage._obInt323} - set {_uniqueStorage()._obInt323 = newValue} - } + public var enableKangarooV2: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct ObCommunCombatChallengeDataProto { +public struct KoalaSettingsProto { // 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. - public var type: CombatType = .unset - - public var obInt32List1: [Int32] = [] - - public var obInt32List2: [Int32] = [] + public var appID: String = String() - public var state: CombatChallengeProto.CombatChallengeState = .unset + public var useSandbox: Bool = false - public var obUint321: UInt32 = 0 + public var useKoala: Bool = false - public var obUint322: UInt32 = 0 + public var useAdjust: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObCommunCombatDataProto { +public struct Label { // 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. - public var type: CombatActionProto.ActionType = .unset - - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 - - public var obInt323: Int32 = 0 - - public var obInt324: Int32 = 0 - - public var obInt325: Int32 = 0 + public var minZoom: Int32 = 0 - public var obInt326: Int32 = 0 + public var maxZoom: Int32 = 0 - public var obFloat: Float = 0 + public var priority: Int32 = 0 - public var move: HoloPokemonMove = .moveUnset + public var localizations: [LabelContentLocalization] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObCommunWebCombatStateProto { +public struct LabelContentLocalization { // 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. - public var obCombatState: CombatProto.CombatState = .unset - - public var player: ObCommunWebCombatStateProto.ObCommunWebCombatDataProto { - get {return _player ?? ObCommunWebCombatStateProto.ObCommunWebCombatDataProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} - - public var obCommunWebCombatData2: ObCommunWebCombatStateProto.ObCommunWebCombatDataProto { - get {return _obCommunWebCombatData2 ?? ObCommunWebCombatStateProto.ObCommunWebCombatDataProto()} - set {_obCommunWebCombatData2 = newValue} - } - /// Returns true if `obCommunWebCombatData2` has been explicitly set. - public var hasObCommunWebCombatData2: Bool {return self._obCommunWebCombatData2 != nil} - /// Clears the value of `obCommunWebCombatData2`. Subsequent reads from it will return its default value. - public mutating func clearObCommunWebCombatData2() {self._obCommunWebCombatData2 = nil} - - public var obUint321: UInt32 = 0 - - public var obInt32: Int32 = 0 - - public var obUint322: UInt32 = 0 - - public var obUint323: UInt32 = 0 - - public var obUint324: UInt32 = 0 - - public var obUint325: UInt32 = 0 - - public var obUint326: UInt32 = 0 - - public var obUint327: UInt32 = 0 - - public var obInt322: Int32 = 0 - - public var obBool: Bool = false - - public var obInt323: Int32 = 0 + public var language: String = String() - public var obUint328: UInt32 = 0 + public var name: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct ObMaybePokemonData { - // 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. - - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 - - public var obInt323: Int32 = 0 - - public var obInt324: Int32 = 0 - - public var obInt325: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct ObCommunWebCombatDataProto { - // 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. - - public var obActivePokemon: ObCommunWebCombatStateProto.ObMaybePokemonData { - get {return _storage._obActivePokemon ?? ObCommunWebCombatStateProto.ObMaybePokemonData()} - set {_uniqueStorage()._obActivePokemon = newValue} - } - /// Returns true if `obActivePokemon` has been explicitly set. - public var hasObActivePokemon: Bool {return _storage._obActivePokemon != nil} - /// Clears the value of `obActivePokemon`. Subsequent reads from it will return its default value. - public mutating func clearObActivePokemon() {_uniqueStorage()._obActivePokemon = nil} - - public var obActivePokemonList1: [ObCommunWebCombatStateProto.ObMaybePokemonData] { - get {return _storage._obActivePokemonList1} - set {_uniqueStorage()._obActivePokemonList1 = newValue} - } - - public var obActivePokemonList2: [ObCommunWebCombatStateProto.ObMaybePokemonData] { - get {return _storage._obActivePokemonList2} - set {_uniqueStorage()._obActivePokemonList2 = newValue} - } - - public var obCommunCombatData1: ObCommunCombatDataProto { - get {return _storage._obCommunCombatData1 ?? ObCommunCombatDataProto()} - set {_uniqueStorage()._obCommunCombatData1 = newValue} - } - /// Returns true if `obCommunCombatData1` has been explicitly set. - public var hasObCommunCombatData1: Bool {return _storage._obCommunCombatData1 != nil} - /// Clears the value of `obCommunCombatData1`. Subsequent reads from it will return its default value. - public mutating func clearObCommunCombatData1() {_uniqueStorage()._obCommunCombatData1 = nil} - - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } - - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } - - public var obCommunCombatData2: ObCommunCombatDataProto { - get {return _storage._obCommunCombatData2 ?? ObCommunCombatDataProto()} - set {_uniqueStorage()._obCommunCombatData2 = newValue} - } - /// Returns true if `obCommunCombatData2` has been explicitly set. - public var hasObCommunCombatData2: Bool {return _storage._obCommunCombatData2 != nil} - /// Clears the value of `obCommunCombatData2`. Subsequent reads from it will return its default value. - public mutating func clearObCommunCombatData2() {_uniqueStorage()._obCommunCombatData2 = nil} - - public var obUint32: UInt32 { - get {return _storage._obUint32} - set {_uniqueStorage()._obUint32 = newValue} - } - - public var obInt322: Int32 { - get {return _storage._obInt322} - set {_uniqueStorage()._obInt322 = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance - } - public init() {} - - fileprivate var _player: ObCommunWebCombatStateProto.ObCommunWebCombatDataProto? = nil - fileprivate var _obCommunWebCombatData2: ObCommunWebCombatStateProto.ObCommunWebCombatDataProto? = nil } -public struct ObContestUnknownProto2 { +public struct LanguageBundleProto { // 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. - public var obString1: String = String() - - public var schedule: ContestScheduleProto { - get {return _schedule ?? ContestScheduleProto()} - set {_schedule = newValue} - } - /// Returns true if `schedule` has been explicitly set. - public var hasSchedule: Bool {return self._schedule != nil} - /// Clears the value of `schedule`. Subsequent reads from it will return its default value. - public mutating func clearSchedule() {self._schedule = nil} - - public var obString2: String = String() - - public var metric: ContestMetricProto { - get {return _metric ?? ContestMetricProto()} - set {_metric = newValue} - } - /// Returns true if `metric` has been explicitly set. - public var hasMetric: Bool {return self._metric != nil} - /// Clears the value of `metric`. Subsequent reads from it will return its default value. - public mutating func clearMetric() {self._metric = nil} - - public var obUint641: UInt64 = 0 - - public var obUint642: UInt64 = 0 - - public var obDouble1: Double = 0 - - public var obDouble2: Double = 0 - - public var obUint643: UInt64 = 0 - - public var obEntry: ContestEntrysProto = .entryPointUnset + public var bundleName: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _schedule: ContestScheduleProto? = nil - fileprivate var _metric: ContestMetricProto? = nil } -public struct ObEggIncubators1 { +public struct LanguageSelectorSettingsProto { // 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. - public var obFloat1: Float = 0 - - public var obFloat2: Float = 0 - - public var obBuddyShowHeartType: [BuddyStatsShownHearts.BuddyShownHeartType] = [] - - public var obBuddyEmotionLeve: BuddyEmotionLevel = .unset - - public var obInt641: Int64 = 0 - - public var obInt642: Int64 = 0 - - public var obBool: Bool = false + public var languageSelectorEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObEggIncubatorsInfos { +public struct LanguageSettingsProto { // 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. - public var obEggIncubatorStatus: ObEggIncubatorsStatus { - get {return _storage._obEggIncubatorStatus ?? ObEggIncubatorsStatus()} - set {_uniqueStorage()._obEggIncubatorStatus = newValue} - } - /// Returns true if `obEggIncubatorStatus` has been explicitly set. - public var hasObEggIncubatorStatus: Bool {return _storage._obEggIncubatorStatus != nil} - /// Clears the value of `obEggIncubatorStatus`. Subsequent reads from it will return its default value. - public mutating func clearObEggIncubatorStatus() {_uniqueStorage()._obEggIncubatorStatus = nil} + public var language: String = String() - public var obEggIncubators1: ObEggIncubators1 { - get {return _storage._obEggIncubators1 ?? ObEggIncubators1()} - set {_uniqueStorage()._obEggIncubators1 = newValue} - } - /// Returns true if `obEggIncubators1` has been explicitly set. - public var hasObEggIncubators1: Bool {return _storage._obEggIncubators1 != nil} - /// Clears the value of `obEggIncubators1`. Subsequent reads from it will return its default value. - public mutating func clearObEggIncubators1() {_uniqueStorage()._obEggIncubators1 = nil} + public var isEnabled: Bool = false - public var obEggIncubatorState: ObEggIncubatorsState { - get {return _storage._obEggIncubatorState ?? ObEggIncubatorsState()} - set {_uniqueStorage()._obEggIncubatorState = newValue} - } - /// Returns true if `obEggIncubatorState` has been explicitly set. - public var hasObEggIncubatorState: Bool {return _storage._obEggIncubatorState != nil} - /// Clears the value of `obEggIncubatorState`. Subsequent reads from it will return its default value. - public mutating func clearObEggIncubatorState() {_uniqueStorage()._obEggIncubatorState = nil} + public var isEarlyAccess: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct ObEggIncubatorsState { +public struct LanguageTelemetry { // 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. - public var obFloat: Float = 0 - - public var obListFloat: [Float] = [] - - public var obEggStatus: ObEggStatus { - get {return _obEggStatus ?? ObEggStatus()} - set {_obEggStatus = newValue} - } - /// Returns true if `obEggStatus` has been explicitly set. - public var hasObEggStatus: Bool {return self._obEggStatus != nil} - /// Clears the value of `obEggStatus`. Subsequent reads from it will return its default value. - public mutating func clearObEggStatus() {self._obEggStatus = nil} - - public var obEggIncubators1: ObEggIncubators1 { - get {return _obEggIncubators1 ?? ObEggIncubators1()} - set {_obEggIncubators1 = newValue} - } - /// Returns true if `obEggIncubators1` has been explicitly set. - public var hasObEggIncubators1: Bool {return self._obEggIncubators1 != nil} - /// Clears the value of `obEggIncubators1`. Subsequent reads from it will return its default value. - public mutating func clearObEggIncubators1() {self._obEggIncubators1 = nil} + public var selectedLanguage: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _obEggStatus: ObEggStatus? = nil - fileprivate var _obEggIncubators1: ObEggIncubators1? = nil } -public struct ObEggIncubatorsStatus { +public struct Layer { // 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. - public var obEggStatus: [ObEggStatus] = [] + public var features: [Feature] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObEggStatus { +public struct LeagueIdMismatchData { // 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. - public var status: ObEggStatus.Status = .unset + public var nonMatchingLeagueID: String = String() - public var obFloat1: Float = 0 - - public var obFloat2: Float = 0 - - public var obType: ObEggStatus.TypeEnum = .unknown - - public var obFloat3: Float = 0 + public var logType: CombatLogData.CombatLogDataHeader.LogType = .noType public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case hatching // = 1 - case notHatching // = 2 - case hatched // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } + public init() {} +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .hatching - case 2: self = .notHatching - case 3: self = .hatched - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct LeaveBuddyMultiplayerSessionOutProto { + // 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. - public var rawValue: Int { - switch self { - case .unset: return 0 - case .hatching: return 1 - case .notHatching: return 2 - case .hatched: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var result: LeaveBuddyMultiplayerSessionOutProto.Result = .leaveSuccess - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum TypeEnum: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 - case unlimited // = 901 - case basic // = 902 - case `super` // = 903 + case leaveSuccess // = 0 + case leaveNotInLobby // = 1 + case leaveLobbyNotFound // = 2 + case leaveUnknownError // = 3 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .leaveSuccess } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown - case 901: self = .unlimited - case 902: self = .basic - case 903: self = .super + case 0: self = .leaveSuccess + case 1: self = .leaveNotInLobby + case 2: self = .leaveLobbyNotFound + case 3: self = .leaveUnknownError default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 - case .unlimited: return 901 - case .basic: return 902 - case .super: return 903 + case .leaveSuccess: return 0 + case .leaveNotInLobby: return 1 + case .leaveLobbyNotFound: return 2 + case .leaveUnknownError: return 3 case .UNRECOGNIZED(let i): return i } } @@ -92701,229 +92018,209 @@ public struct ObEggStatus { #if swift(>=4.2) -extension ObEggStatus.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObEggStatus.Status] = [ - .unset, - .hatching, - .notHatching, - .hatched, - ] -} - -extension ObEggStatus.TypeEnum: CaseIterable { +extension LeaveBuddyMultiplayerSessionOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObEggStatus.TypeEnum] = [ - .unknown, - .unlimited, - .basic, - .super, + public static var allCases: [LeaveBuddyMultiplayerSessionOutProto.Result] = [ + .leaveSuccess, + .leaveNotInLobby, + .leaveLobbyNotFound, + .leaveUnknownError, ] } #endif // swift(>=4.2) -public struct ObEvoleField { +public struct LeaveBuddyMultiplayerSessionProto { // 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. - public var obFloat1: Float = 0 - - public var obFloat2: Float = 0 + public var plfeSessionID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObFieldMessageOrResponseProto { +public struct LeaveInteractionRangeTelemetry { // 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. - public var obString1: String = String() - - public var obString2: String = String() - - public var obString3: String = String() - - public var obString4: String = String() - - public var obString5: String = String() - - public var obString6: String = String() - - public var obFieldMessageOrResponseOne1: [ObFieldMessageOrResponseProtoOne] = [] + public var result: String = String() - public var obFieldMessageOrResponseOne2: [ObFieldMessageOrResponseProtoOne] = [] + public var fortID: String = String() - public var obInt641: Int64 = 0 + public var fortType: Int32 = 0 - public var obInt642: Int64 = 0 + public var clientTimestamp: Int64 = 0 - public var obInt643: Int64 = 0 + public var partnerID: String = String() - public var obInt644: Int64 = 0 + public var timeSpent: Int64 = 0 - public var obInt645: Int64 = 0 + public var campaignID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObFieldMessageOrResponseProtoOne { +public struct LeaveLobbyData { // 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. - public var obUint64: UInt64 = 0 + public var rpcID: Int32 = 0 - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 - - public var obFloat: Float = 0 - - public var obInt323: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obInt324: Int32 = 0 + public init() {} +} - public var obInt325: Int32 = 0 +public struct LeaveLobbyOutProto { + // 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. - public var obInt326: Int32 = 0 + public var result: LeaveLobbyOutProto.Result = .unset - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} + public var lobby: LobbyProto { + get {return _lobby ?? LobbyProto()} + set {_lobby = newValue} } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + /// Returns true if `lobby` has been explicitly set. + public var hasLobby: Bool {return self._lobby != nil} + /// Clears the value of `lobby`. Subsequent reads from it will return its default value. + public mutating func clearLobby() {self._lobby = nil} - public var obInt327: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obInt328: Int32 = 0 + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorRaidUnavailable // = 2 + case errorLobbyNotFound // = 3 + case UNRECOGNIZED(Int) - public var obInt329: Int32 = 0 + public init() { + self = .unset + } - public var obInt3210: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorRaidUnavailable + case 3: self = .errorLobbyNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } - public var obInt3211: Int32 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorRaidUnavailable: return 2 + case .errorLobbyNotFound: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var obString: String = String() + } - public var pokeball: Item = .unknown + public init() {} - public var unknownFields = SwiftProtobuf.UnknownStorage() + fileprivate var _lobby: LobbyProto? = nil +} - public init() {} +#if swift(>=4.2) - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +extension LeaveLobbyOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [LeaveLobbyOutProto.Result] = [ + .unset, + .success, + .errorRaidUnavailable, + .errorLobbyNotFound, + ] } -public struct ObFieldMessageOrResponseProtoTwo { +#endif // swift(>=4.2) + +public struct LeaveLobbyProto { // 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. - public var obFieldMessageOrResponse: ObFieldMessageOrResponseProto { - get {return _obFieldMessageOrResponse ?? ObFieldMessageOrResponseProto()} - set {_obFieldMessageOrResponse = newValue} - } - /// Returns true if `obFieldMessageOrResponse` has been explicitly set. - public var hasObFieldMessageOrResponse: Bool {return self._obFieldMessageOrResponse != nil} - /// Clears the value of `obFieldMessageOrResponse`. Subsequent reads from it will return its default value. - public mutating func clearObFieldMessageOrResponse() {self._obFieldMessageOrResponse = nil} + public var raidSeed: Int64 = 0 - public var obCombatMismatchData: [ObCombatMismatchData] = [] + public var gymID: String = String() + + public var lobbyID: [Int32] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _obFieldMessageOrResponse: ObFieldMessageOrResponseProto? = nil } -public struct ObFormProto { +public struct LeaveLobbyResponseData { // 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. - public var obBool: Bool = false + public var result: LeaveLobbyOutProto.Result = .unset - public var form: PokemonDisplayProto.Form = .unset + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObFortModesProto { +public struct LeavePartyOutProto { // 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. - public var obString: String = String() - - public var obType: ObFortModesProto.TypeEnum = .pokestop - - public var obMode: ObFortModesProto.Mode = .click + public var result: LeavePartyOutProto.Result = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Mode: SwiftProtobuf.Enum { - public typealias RawValue = Int - case click // = 0 - case spin // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .click - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .click - case 1: self = .spin - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .click: return 0 - case .spin: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum TypeEnum: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case pokestop // = 0 - case gym // = 1 + case unset // = 0 + case errorUnknown // = 1 + case success // = 2 + case errorFeatureDisabled // = 3 + case errorPlayerNotInParty // = 4 case UNRECOGNIZED(Int) public init() { - self = .pokestop + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .pokestop - case 1: self = .gym + case 0: self = .unset + case 1: self = .errorUnknown + case 2: self = .success + case 3: self = .errorFeatureDisabled + case 4: self = .errorPlayerNotInParty default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .pokestop: return 0 - case .gym: return 1 + case .unset: return 0 + case .errorUnknown: return 1 + case .success: return 2 + case .errorFeatureDisabled: return 3 + case .errorPlayerNotInParty: return 4 case .UNRECOGNIZED(let i): return i } } @@ -92935,39 +92232,42 @@ public struct ObFortModesProto { #if swift(>=4.2) -extension ObFortModesProto.Mode: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObFortModesProto.Mode] = [ - .click, - .spin, - ] -} - -extension ObFortModesProto.TypeEnum: CaseIterable { +extension LeavePartyOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObFortModesProto.TypeEnum] = [ - .pokestop, - .gym, + public static var allCases: [LeavePartyOutProto.Result] = [ + .unset, + .errorUnknown, + .success, + .errorFeatureDisabled, + .errorPlayerNotInParty, ] } #endif // swift(>=4.2) -public struct ObMegaEvolvePokemon1Proto { +public struct LeavePartyProto { // 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. + public var partyID: [Int32] = [] + + public var isDarkLaunchRequest: Bool = false + + public var reasonToLeave: LeavePartyProto.ReasonToLeave = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum ObMode: SwiftProtobuf.Enum { + public enum ReasonToLeave: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case pokemonDetails // = 1 - case raidLobby // = 2 - case gymBattleLobby // = 3 - case npcCombatLobby // = 4 - case playerCombatLobby // = 5 + case pressedButton // = 1 + case u13HostNotFriend // = 2 + case tooFarAway // = 3 + case disbanded // = 4 + case expired // = 5 + case declinedRejoin // = 6 + case featureDisabled // = 7 case UNRECOGNIZED(Int) public init() { @@ -92977,11 +92277,13 @@ public struct ObMegaEvolvePokemon1Proto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .pokemonDetails - case 2: self = .raidLobby - case 3: self = .gymBattleLobby - case 4: self = .npcCombatLobby - case 5: self = .playerCombatLobby + case 1: self = .pressedButton + case 2: self = .u13HostNotFriend + case 3: self = .tooFarAway + case 4: self = .disbanded + case 5: self = .expired + case 6: self = .declinedRejoin + case 7: self = .featureDisabled default: self = .UNRECOGNIZED(rawValue) } } @@ -92989,11 +92291,13 @@ public struct ObMegaEvolvePokemon1Proto { public var rawValue: Int { switch self { case .unset: return 0 - case .pokemonDetails: return 1 - case .raidLobby: return 2 - case .gymBattleLobby: return 3 - case .npcCombatLobby: return 4 - case .playerCombatLobby: return 5 + case .pressedButton: return 1 + case .u13HostNotFriend: return 2 + case .tooFarAway: return 3 + case .disbanded: return 4 + case .expired: return 5 + case .declinedRejoin: return 6 + case .featureDisabled: return 7 case .UNRECOGNIZED(let i): return i } } @@ -93005,84 +92309,74 @@ public struct ObMegaEvolvePokemon1Proto { #if swift(>=4.2) -extension ObMegaEvolvePokemon1Proto.ObMode: CaseIterable { +extension LeavePartyProto.ReasonToLeave: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObMegaEvolvePokemon1Proto.ObMode] = [ + public static var allCases: [LeavePartyProto.ReasonToLeave] = [ .unset, - .pokemonDetails, - .raidLobby, - .gymBattleLobby, - .npcCombatLobby, - .playerCombatLobby, + .pressedButton, + .u13HostNotFriend, + .tooFarAway, + .disbanded, + .expired, + .declinedRejoin, + .featureDisabled, ] } #endif // swift(>=4.2) -public struct ObMegaEvolvePokemonProtoField { +public struct LeavePointOfInterestTelemetry { // 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. - public var obField1: ObMegaEvolvePokemonProtoField.ObField { - get {return _obField1 ?? ObMegaEvolvePokemonProtoField.ObField()} - set {_obField1 = newValue} - } - /// Returns true if `obField1` has been explicitly set. - public var hasObField1: Bool {return self._obField1 != nil} - /// Clears the value of `obField1`. Subsequent reads from it will return its default value. - public mutating func clearObField1() {self._obField1 = nil} + public var result: String = String() - public var obField2: ObMegaEvolvePokemonProtoField.ObField { - get {return _obField2 ?? ObMegaEvolvePokemonProtoField.ObField()} - set {_obField2 = newValue} - } - /// Returns true if `obField2` has been explicitly set. - public var hasObField2: Bool {return self._obField2 != nil} - /// Clears the value of `obField2`. Subsequent reads from it will return its default value. - public mutating func clearObField2() {self._obField2 = nil} + public var fortID: String = String() + + public var fortType: Int32 = 0 + + public var clientTimestamp: Int64 = 0 + + public var partnerID: String = String() - public var obFieldInt321: Int32 = 0 + public var timeSpent: Int64 = 0 - public var obFieldInt322: Int32 = 0 + public var campaignID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct ObField { - // 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. + public init() {} +} - public var obFieldInt321: Int32 = 0 +public struct LevelSettingsProto { + // 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. - public var obFieldInt322: Int32 = 0 + public var trainerCpModifier: Double = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var trainerDifficultyModifier: Double = 0 - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _obField1: ObMegaEvolvePokemonProtoField.ObField? = nil - fileprivate var _obField2: ObMegaEvolvePokemonProtoField.ObField? = nil } -public struct ObMethodUpdatePostcardOutProto { +public struct LevelUpRewardsOutProto { // 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. - public var result: ObMethodUpdatePostcardOutProto.Result = .unset + public var result: LevelUpRewardsOutProto.Result = .unset - public var obPostcardDisplay: PostcardDisplayProto { - get {return _obPostcardDisplay ?? PostcardDisplayProto()} - set {_obPostcardDisplay = newValue} - } - /// Returns true if `obPostcardDisplay` has been explicitly set. - public var hasObPostcardDisplay: Bool {return self._obPostcardDisplay != nil} - /// Clears the value of `obPostcardDisplay`. Subsequent reads from it will return its default value. - public mutating func clearObPostcardDisplay() {self._obPostcardDisplay = nil} + public var items: [AwardItemProto] = [] + + public var itemsUnlocked: [Item] = [] + + public var avatarTemplateIds: [String] = [] + + public var pokecoins: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -93090,9 +92384,7 @@ public struct ObMethodUpdatePostcardOutProto { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorPostcardDoesNotExist // = 2 - case errorNotEnabled // = 4 - case errorRateLimited // = 5 + case awardedAlready // = 2 case UNRECOGNIZED(Int) public init() { @@ -93103,9 +92395,7 @@ public struct ObMethodUpdatePostcardOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorPostcardDoesNotExist - case 4: self = .errorNotEnabled - case 5: self = .errorRateLimited + case 2: self = .awardedAlready default: self = .UNRECOGNIZED(rawValue) } } @@ -93114,9 +92404,7 @@ public struct ObMethodUpdatePostcardOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorPostcardDoesNotExist: return 2 - case .errorNotEnabled: return 4 - case .errorRateLimited: return 5 + case .awardedAlready: return 2 case .UNRECOGNIZED(let i): return i } } @@ -93124,152 +92412,195 @@ public struct ObMethodUpdatePostcardOutProto { } public init() {} - - fileprivate var _obPostcardDisplay: PostcardDisplayProto? = nil } #if swift(>=4.2) -extension ObMethodUpdatePostcardOutProto.Result: CaseIterable { +extension LevelUpRewardsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObMethodUpdatePostcardOutProto.Result] = [ + public static var allCases: [LevelUpRewardsOutProto.Result] = [ .unset, .success, - .errorPostcardDoesNotExist, - .errorNotEnabled, - .errorRateLimited, + .awardedAlready, ] } #endif // swift(>=4.2) -public struct ObNewGlobalSetting { +public struct LevelUpRewardsProto { // 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. - public var obBool: Bool = false - - public var obInt32: Int32 = 0 + public var level: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObNewGlobalSetting10 { +public struct LevelUpRewardsSettingsProto { // 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. - public var enabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var level: Int32 = 0 - public init() {} -} + public var items: [Item] = [] -public struct ObNewGlobalSetting13 { - // 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. + public var itemsCount: [Int32] = [] - public var obEnabled: Bool = false + public var itemsUnlocked: [Item] = [] - public var obInt321: Int32 = 0 + public var avatarTemplateIds: [String] = [] - public var obInt322: Int32 = 0 + public var pokecoins: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObNewGlobalSetting14 { +public struct LeveledUpFriendsProto { // 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. - public var enabled: Bool = false + public var friendProfiles: [PlayerPublicProfileProto] = [] + + public var friendMilestoneLevels: [FriendshipLevelDataProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObNewGlobalSetting15 { +public struct LimitedEditionPokemonEncounterRewardProto { // 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. - public var enabled: Bool = false - - public var obInt32: Int32 = 0 - - public var obBool: Bool = false - - public var obString: String = String() - - public var obInt321: Int32 = 0 - - public var obBool1: Bool = false - - public var obInt322: Int32 = 0 + public var limit: LimitedEditionPokemonEncounterRewardProto.OneOf_Limit? = nil - public var obInt323: Int32 = 0 + public var lifetimeMaxCount: Int32 { + get { + if case .lifetimeMaxCount(let v)? = limit {return v} + return 0 + } + set {limit = .lifetimeMaxCount(newValue)} + } - public var obInt324: Int32 = 0 + public var perCompetitiveCombatSeasonMaxCount: Int32 { + get { + if case .perCompetitiveCombatSeasonMaxCount(let v)? = limit {return v} + return 0 + } + set {limit = .perCompetitiveCombatSeasonMaxCount(newValue)} + } - public var obInt325: Int32 = 0 + public var pokemon: PokemonEncounterRewardProto { + get {return _pokemon ?? PokemonEncounterRewardProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var obBool2: Bool = false + public var identifier: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} - -public struct ObNewGlobalSetting2 { - // 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. - - public var enabled: Bool = false + public enum OneOf_Limit: Equatable { + case lifetimeMaxCount(Int32) + case perCompetitiveCombatSeasonMaxCount(Int32) - public var unknownFields = SwiftProtobuf.UnknownStorage() + #if !swift(>=4.1) + public static func ==(lhs: LimitedEditionPokemonEncounterRewardProto.OneOf_Limit, rhs: LimitedEditionPokemonEncounterRewardProto.OneOf_Limit) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.lifetimeMaxCount, .lifetimeMaxCount): return { + guard case .lifetimeMaxCount(let l) = lhs, case .lifetimeMaxCount(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.perCompetitiveCombatSeasonMaxCount, .perCompetitiveCombatSeasonMaxCount): return { + guard case .perCompetitiveCombatSeasonMaxCount(let l) = lhs, case .perCompetitiveCombatSeasonMaxCount(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } public init() {} + + fileprivate var _pokemon: PokemonEncounterRewardProto? = nil } -public struct ObNewGlobalSetting4 { +public struct LimitedPurchaseSkuRecordProto { // 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. - public var obEnable: Bool = false + public var purchases: Dictionary = [:] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum ChronoUnit: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case minute // = 1 + case hour // = 2 + case day // = 3 + case week // = 4 + case month // = 5 + case UNRECOGNIZED(Int) -public struct ObNewGlobalSetting5 { - // 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. + public init() { + self = .unset + } - public var obRepeatedStuff: [ObNewGlobalSetting5.ObMessage5] = [] + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .minute + case 2: self = .hour + case 3: self = .day + case 4: self = .week + case 5: self = .month + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .minute: return 1 + case .hour: return 2 + case .day: return 3 + case .week: return 4 + case .month: return 5 + case .UNRECOGNIZED(let i): return i + } + } - public struct ObMessage5 { + } + + public struct PurchaseProto { // 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. - public var obString1: String = String() + public var version: Int32 = 0 + + public var numPurchases: Int32 = 0 + + public var lastPurchaseMs: Int64 = 0 - public var obString2: String = String() + public var totalNumPurchases: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -93279,294 +92610,292 @@ public struct ObNewGlobalSetting5 { public init() {} } -public struct ObNewGlobalSetting6 { - // 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. - - public var obEnabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension LimitedPurchaseSkuRecordProto.ChronoUnit: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [LimitedPurchaseSkuRecordProto.ChronoUnit] = [ + .unset, + .minute, + .hour, + .day, + .week, + .month, + ] } -public struct ObNewGlobalSetting7 { +#endif // swift(>=4.2) + +public struct LimitedPurchaseSkuSettingsProto { // 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. - public var obEnabled: Bool = false - - public var obBool: Bool = false + public var purchaseLimit: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var version: Int32 = 0 - public init() {} -} + public var chronoUnit: LimitedPurchaseSkuRecordProto.ChronoUnit = .unset -public struct ObNewGlobalSetting8 { - // 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. + public var lootTableID: String = String() - public var enabled: Bool = false + public var resetInterval: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObNewGlobalSetting9 { +public struct LineProto { // 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. - public var enabled: Bool = false + public var vertex: [PointProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObPartyPlayProto2 { +public struct LinkLoginTelemetry { // 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. - public var obMap1: Dictionary = [:] + public var linked: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var success: String = String() - public init() {} -} + public var error: String = String() -public struct ObPartyPlayProto3 { - // 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. + public var activeAuthProviderID: String = String() - public var obMap3: Dictionary = [:] + public var provider: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObPartyPlayQuest2Proto { +public struct LinkToAccountLoginRequestProto { // 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. - public var status: PartyQuestStatus = .partyQuestUnknown - - public var quests: [ClientQuestProto] = [] + public var newAuthToken: Data = Data() - public var obPartyQuestOut: ObPartyPlayQuestOutProto { - get {return _obPartyQuestOut ?? ObPartyPlayQuestOutProto()} - set {_obPartyQuestOut = newValue} - } - /// Returns true if `obPartyQuestOut` has been explicitly set. - public var hasObPartyQuestOut: Bool {return self._obPartyQuestOut != nil} - /// Clears the value of `obPartyQuestOut`. Subsequent reads from it will return its default value. - public mutating func clearObPartyQuestOut() {self._obPartyQuestOut = nil} + public var newAuthProviderID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _obPartyQuestOut: ObPartyPlayQuestOutProto? = nil } -public struct ObPartyPlayQuestOutProto { +public struct LinkToAccountLoginResponseProto { // 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. - public var quest: ClientQuestProto { - get {return _quest ?? ClientQuestProto()} - set {_quest = newValue} - } - /// Returns true if `quest` has been explicitly set. - public var hasQuest: Bool {return self._quest != nil} - /// Clears the value of `quest`. Subsequent reads from it will return its default value. - public mutating func clearQuest() {self._quest = nil} + public var success: Bool = false - public var obInt32: Int32 = 0 + public var loginDetail: [LoginDetail] = [] - public var obDataMap: Dictionary = [:] + public var status: LinkToAccountLoginResponseProto.Status = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct ObQuestData { - // 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. - - public var status: ObPartyPlayQuestOutProto.ObQuestData.Status = .playerUnknown - - public var obInt32: Int32 = 0 + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case unknownError // = 1 + case authFailure // = 2 + case loginTaken // = 3 + case guestLoginDisabled // = 4 + case successAlreadyLinked // = 5 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .unset + } - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case playerUnknown // = 0 - case playerWaitingPartyQuestToStart // = 1 - case playerActive // = 2 - case playerCompletedPartyQuestAndAwarded // = 3 - case playerAbandonedPartyQuest // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .playerUnknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .playerUnknown - case 1: self = .playerWaitingPartyQuestToStart - case 2: self = .playerActive - case 3: self = .playerCompletedPartyQuestAndAwarded - case 4: self = .playerAbandonedPartyQuest - default: self = .UNRECOGNIZED(rawValue) - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .unknownError + case 2: self = .authFailure + case 3: self = .loginTaken + case 4: self = .guestLoginDisabled + case 5: self = .successAlreadyLinked + default: self = .UNRECOGNIZED(rawValue) } + } - public var rawValue: Int { - switch self { - case .playerUnknown: return 0 - case .playerWaitingPartyQuestToStart: return 1 - case .playerActive: return 2 - case .playerCompletedPartyQuestAndAwarded: return 3 - case .playerAbandonedPartyQuest: return 4 - case .UNRECOGNIZED(let i): return i - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .unknownError: return 1 + case .authFailure: return 2 + case .loginTaken: return 3 + case .guestLoginDisabled: return 4 + case .successAlreadyLinked: return 5 + case .UNRECOGNIZED(let i): return i } - } - public init() {} } public init() {} - - fileprivate var _quest: ClientQuestProto? = nil } #if swift(>=4.2) -extension ObPartyPlayQuestOutProto.ObQuestData.Status: CaseIterable { +extension LinkToAccountLoginResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObPartyPlayQuestOutProto.ObQuestData.Status] = [ - .playerUnknown, - .playerWaitingPartyQuestToStart, - .playerActive, - .playerCompletedPartyQuestAndAwarded, - .playerAbandonedPartyQuest, + public static var allCases: [LinkToAccountLoginResponseProto.Status] = [ + .unset, + .unknownError, + .authFailure, + .loginTaken, + .guestLoginDisabled, + .successAlreadyLinked, ] } #endif // swift(>=4.2) -public struct ObPartyPlayQuestProto { +public struct ListAvatarAppearanceItemsOutProto { // 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. - public var obInt32: Int32 = 0 - - public var type: QuestType = .questUnset + public var result: ListAvatarAppearanceItemsOutProto.Result = .unset - public var conditions: [QuestConditionProto] = [] - - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 + public var appearances: [AvatarStoreListingProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) -public struct ObPogoProtoUnknowProto { - // 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. + public init() { + self = .unset + } - public var obDataEnum: ObPogoProtoDataEnum = .data0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } - public var obInt64: Int64 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public var obString1: String = String() + } - public var obString2: String = String() + public init() {} +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension ListAvatarAppearanceItemsOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ListAvatarAppearanceItemsOutProto.Result] = [ + .unset, + .success, + ] } -public struct ObRaidClientSetting { +#endif // swift(>=4.2) + +public struct ListAvatarAppearanceItemsProto { // 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. - public var raidLevel: RaidLevel = .unset - - public var musicID: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObRaidClientSetting1 { +public struct ListAvatarCustomizationsOutProto { // 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. - public var enabled: Bool = false - - public var battleExperiment: [BattleExperiment] = [] - - public var item: [ItemProto] = [] + public var result: ListAvatarCustomizationsOutProto.Result = .unset - public var trainerAbility: [TrainerAbility] = [] + public var avatarCustomizations: [ListAvatarCustomizationsOutProto.AvatarCustomization] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum Label: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetLabel // = 0 + case `default` // = 1 + case owned // = 2 + case featured // = 3 + case new // = 4 + case sale // = 5 + case purchasable // = 6 + case unlockable // = 7 + case viewed // = 8 + case lockedPurchasable // = 9 + case UNRECOGNIZED(Int) -public struct ObRouteCreationOutProto { - // 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. + public init() { + self = .unsetLabel + } - public var result: ObRouteCreationOutProto.Result = .unset + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetLabel + case 1: self = .default + case 2: self = .owned + case 3: self = .featured + case 4: self = .new + case 5: self = .sale + case 6: self = .purchasable + case 7: self = .unlockable + case 8: self = .viewed + case 9: self = .lockedPurchasable + default: self = .UNRECOGNIZED(rawValue) + } + } - public var routeCreation: RouteCreationProto { - get {return _routeCreation ?? RouteCreationProto()} - set {_routeCreation = newValue} - } - /// Returns true if `routeCreation` has been explicitly set. - public var hasRouteCreation: Bool {return self._routeCreation != nil} - /// Clears the value of `routeCreation`. Subsequent reads from it will return its default value. - public mutating func clearRouteCreation() {self._routeCreation = nil} + public var rawValue: Int { + switch self { + case .unsetLabel: return 0 + case .default: return 1 + case .owned: return 2 + case .featured: return 3 + case .new: return 4 + case .sale: return 5 + case .purchasable: return 6 + case .unlockable: return 7 + case .viewed: return 8 + case .lockedPurchasable: return 9 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorUnknown // = 2 - case errorTooManyInProgress // = 3 - case errorMinor // = 4 - case errorLevelTooLow // = 5 - case errorInvalidStartAnchor // = 6 - case errorCreationLimit // = 7 + case failure // = 2 case UNRECOGNIZED(Int) public init() { @@ -93577,12 +92906,7 @@ public struct ObRouteCreationOutProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorTooManyInProgress - case 4: self = .errorMinor - case 5: self = .errorLevelTooLow - case 6: self = .errorInvalidStartAnchor - case 7: self = .errorCreationLimit + case 2: self = .failure default: self = .UNRECOGNIZED(rawValue) } } @@ -93591,80 +92915,113 @@ public struct ObRouteCreationOutProto { switch self { case .unset: return 0 case .success: return 1 - case .errorUnknown: return 2 - case .errorTooManyInProgress: return 3 - case .errorMinor: return 4 - case .errorLevelTooLow: return 5 - case .errorInvalidStartAnchor: return 6 - case .errorCreationLimit: return 7 + case .failure: return 2 case .UNRECOGNIZED(let i): return i } } } - public init() {} + public struct AvatarCustomization { + // 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. + + public var avatarTemplateID: String = String() + + public var labels: [ListAvatarCustomizationsOutProto.Label] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } - fileprivate var _routeCreation: RouteCreationProto? = nil + public init() {} } #if swift(>=4.2) -extension ObRouteCreationOutProto.Result: CaseIterable { +extension ListAvatarCustomizationsOutProto.Label: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ListAvatarCustomizationsOutProto.Label] = [ + .unsetLabel, + .default, + .owned, + .featured, + .new, + .sale, + .purchasable, + .unlockable, + .viewed, + .lockedPurchasable, + ] +} + +extension ListAvatarCustomizationsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObRouteCreationOutProto.Result] = [ + public static var allCases: [ListAvatarCustomizationsOutProto.Result] = [ .unset, .success, - .errorUnknown, - .errorTooManyInProgress, - .errorMinor, - .errorLevelTooLow, - .errorInvalidStartAnchor, - .errorCreationLimit, + .failure, ] } #endif // swift(>=4.2) -public struct ObRoutesModesProto { +public struct ListAvatarCustomizationsProto { // 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. - public var item: Item = .unknown + public var avatarType: PlayerAvatarType = .playerAvatarMale + + public var slot: [AvatarCustomizationProto.Slot] = [] + + public var filters: [ListAvatarCustomizationsProto.Filter] = [] + + public var start: Int32 = 0 - public var mode: ObRoutesModesProto.Mode = .unknown + public var limit: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Mode: SwiftProtobuf.Enum { + public enum Filter: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 - case use // = 1 - case pause // = 2 - case resume // = 3 + case unset // = 0 + case all // = 1 + case `default` // = 2 + case owned // = 3 + case featured // = 4 + case purchasable // = 5 + case unlockable // = 6 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown - case 1: self = .use - case 2: self = .pause - case 3: self = .resume + case 0: self = .unset + case 1: self = .all + case 2: self = .default + case 3: self = .owned + case 4: self = .featured + case 5: self = .purchasable + case 6: self = .unlockable default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 - case .use: return 1 - case .pause: return 2 - case .resume: return 3 + case .unset: return 0 + case .all: return 1 + case .default: return 2 + case .owned: return 3 + case .featured: return 4 + case .purchasable: return 5 + case .unlockable: return 6 case .UNRECOGNIZED(let i): return i } } @@ -93676,102 +93033,36 @@ public struct ObRoutesModesProto { #if swift(>=4.2) -extension ObRoutesModesProto.Mode: CaseIterable { +extension ListAvatarCustomizationsProto.Filter: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObRoutesModesProto.Mode] = [ - .unknown, - .use, - .pause, - .resume, + public static var allCases: [ListAvatarCustomizationsProto.Filter] = [ + .unset, + .all, + .default, + .owned, + .featured, + .purchasable, + .unlockable, ] } #endif // swift(>=4.2) -public struct ObSharedRouteProto { - // 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. - - public var status: ObSharedRouteProto.OneOf_Status? = nil - - public var pause: Bool { - get { - if case .pause(let v)? = status {return v} - return false - } - set {status = .pause(newValue)} - } - - public var sharedRoute: SharedRouteProto { - get {return _sharedRoute ?? SharedRouteProto()} - set {_sharedRoute = newValue} - } - /// Returns true if `sharedRoute` has been explicitly set. - public var hasSharedRoute: Bool {return self._sharedRoute != nil} - /// Clears the value of `sharedRoute`. Subsequent reads from it will return its default value. - public mutating func clearSharedRoute() {self._sharedRoute = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Status: Equatable { - case pause(Bool) - - #if !swift(>=4.1) - public static func ==(lhs: ObSharedRouteProto.OneOf_Status, rhs: ObSharedRouteProto.OneOf_Status) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pause, .pause): return { - guard case .pause(let l) = lhs, case .pause(let r) = rhs else { preconditionFailure() } - return l == r - }() - } - } - #endif - } - - public init() {} - - fileprivate var _sharedRoute: SharedRouteProto? = nil -} - -public struct ObSponsoredBalloon { - // 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. - - public var obString1: String = String() - - public var obString2: String = String() - - public var obString3: String = String() - - public var obString4: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ObUnkRoutesProto { +public struct ListAvatarStoreItemsOutProto { // 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. - public var status: ObUnkRoutesProto.Status = .unset + public var result: ListAvatarStoreItemsOutProto.Result = .unset - public var rewards: [LootProto] = [] + public var listings: [AvatarStoreListingProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 - case errorNotFound // = 2 - case errorRoute // = 3 case UNRECOGNIZED(Int) public init() { @@ -93782,8 +93073,6 @@ public struct ObUnkRoutesProto { switch rawValue { case 0: self = .unset case 1: self = .success - case 2: self = .errorNotFound - case 3: self = .errorRoute default: self = .UNRECOGNIZED(rawValue) } } @@ -93792,8 +93081,6 @@ public struct ObUnkRoutesProto { switch self { case .unset: return 0 case .success: return 1 - case .errorNotFound: return 2 - case .errorRoute: return 3 case .UNRECOGNIZED(let i): return i } } @@ -93805,774 +93092,295 @@ public struct ObUnkRoutesProto { #if swift(>=4.2) -extension ObUnkRoutesProto.Status: CaseIterable { +extension ListAvatarStoreItemsOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObUnkRoutesProto.Status] = [ + public static var allCases: [ListAvatarStoreItemsOutProto.Result] = [ .unset, .success, - .errorNotFound, - .errorRoute, ] } #endif // swift(>=4.2) -public struct ObUnknownOneOfProto { +public struct ListAvatarStoreItemsProto { // 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. - public var update: ObUnknownOneOfProto.OneOf_Update? = nil - - public var mapObjectsUpdate: ObUnknownOneOfProto.MapObjectsUpdateProto { - get { - if case .mapObjectsUpdate(let v)? = update {return v} - return ObUnknownOneOfProto.MapObjectsUpdateProto() - } - set {update = .mapObjectsUpdate(newValue)} - } - - public var raidLobbyPlayerCount: RaidLobbyPlayerCountProto { - get { - if case .raidLobbyPlayerCount(let v)? = update {return v} - return RaidLobbyPlayerCountProto() - } - set {update = .raidLobbyPlayerCount(newValue)} - } - - public var bootRaidUpdate: ObUnknownOneOfProto.BootRaidUpdateProto { - get { - if case .bootRaidUpdate(let v)? = update {return v} - return ObUnknownOneOfProto.BootRaidUpdateProto() - } - set {update = .bootRaidUpdate(newValue)} - } - - public var partyPlayProto: PartyPlayProto { - get { - if case .partyPlayProto(let v)? = update {return v} - return PartyPlayProto() - } - set {update = .partyPlayProto(newValue)} - } - - public var partyUpdate: ObUnknownOneOfProto.PartyUpdateProto { - get { - if case .partyUpdate(let v)? = update {return v} - return ObUnknownOneOfProto.PartyUpdateProto() - } - set {update = .partyUpdate(newValue)} - } - - public var raidParticipantProto: RaidParticipantProto { - get { - if case .raidParticipantProto(let v)? = update {return v} - return RaidParticipantProto() - } - set {update = .raidParticipantProto(newValue)} - } - - public var obInt64: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_Update: Equatable { - case mapObjectsUpdate(ObUnknownOneOfProto.MapObjectsUpdateProto) - case raidLobbyPlayerCount(RaidLobbyPlayerCountProto) - case bootRaidUpdate(ObUnknownOneOfProto.BootRaidUpdateProto) - case partyPlayProto(PartyPlayProto) - case partyUpdate(ObUnknownOneOfProto.PartyUpdateProto) - case raidParticipantProto(RaidParticipantProto) - - #if !swift(>=4.1) - public static func ==(lhs: ObUnknownOneOfProto.OneOf_Update, rhs: ObUnknownOneOfProto.OneOf_Update) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.mapObjectsUpdate, .mapObjectsUpdate): return { - guard case .mapObjectsUpdate(let l) = lhs, case .mapObjectsUpdate(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidLobbyPlayerCount, .raidLobbyPlayerCount): return { - guard case .raidLobbyPlayerCount(let l) = lhs, case .raidLobbyPlayerCount(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.bootRaidUpdate, .bootRaidUpdate): return { - guard case .bootRaidUpdate(let l) = lhs, case .bootRaidUpdate(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.partyPlayProto, .partyPlayProto): return { - guard case .partyPlayProto(let l) = lhs, case .partyPlayProto(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.partyUpdate, .partyUpdate): return { - guard case .partyUpdate(let l) = lhs, case .partyUpdate(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidParticipantProto, .raidParticipantProto): return { - guard case .raidParticipantProto(let l) = lhs, case .raidParticipantProto(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public struct PartyUpdateProto { - // 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. - - public var update: ObUnknownOneOfProto.PartyUpdateProto.OneOf_Update? = nil - - public var partyPlayProto: PartyPlayProto { - get { - if case .partyPlayProto(let v)? = update {return v} - return PartyPlayProto() - } - set {update = .partyPlayProto(newValue)} - } - - public var location: PartyPlayLocationProto { - get { - if case .location(let v)? = update {return v} - return PartyPlayLocationProto() - } - set {update = .location(newValue)} - } - - public var zone: ZoneProto { - get { - if case .zone(let v)? = update {return v} - return ZoneProto() - } - set {update = .zone(newValue)} - } - - public var otherProtoUnk: ObUnknownPartyObProto { - get {return _otherProtoUnk ?? ObUnknownPartyObProto()} - set {_otherProtoUnk = newValue} - } - /// Returns true if `otherProtoUnk` has been explicitly set. - public var hasOtherProtoUnk: Bool {return self._otherProtoUnk != nil} - /// Clears the value of `otherProtoUnk`. Subsequent reads from it will return its default value. - public mutating func clearOtherProtoUnk() {self._otherProtoUnk = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Update: Equatable { - case partyPlayProto(PartyPlayProto) - case location(PartyPlayLocationProto) - case zone(ZoneProto) - - #if !swift(>=4.1) - public static func ==(lhs: ObUnknownOneOfProto.PartyUpdateProto.OneOf_Update, rhs: ObUnknownOneOfProto.PartyUpdateProto.OneOf_Update) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.partyPlayProto, .partyPlayProto): return { - guard case .partyPlayProto(let l) = lhs, case .partyPlayProto(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.location, .location): return { - guard case .location(let l) = lhs, case .location(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.zone, .zone): return { - guard case .zone(let l) = lhs, case .zone(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} - - fileprivate var _otherProtoUnk: ObUnknownPartyObProto? = nil - } - - public struct BootRaidUpdateProto { - // 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. - - public var obInt64: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct MapObjectsUpdateProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} } -public struct ObUnknownPartyObOneProto { +public struct ListGymBadgesOutProto { // 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. - public var obString1: String = String() - - public var obString2: String = String() + public var gymBadge: [AwardedGymBadge] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObUnknownPartyObProto { +public struct ListGymBadgesProto { // 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. - public var obString: String = String() - - public var obFieldProto: [ObUnknownPartyObOneProto] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObUnknownProto { +public struct ListLoginActionOutProto { // 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. - public var obString1: String = String() - - public var obBoxes: [BonusBoxProto] = [] - - public var obString2: String = String() - - public var obString3: String = String() - - public var obString4: String = String() - - public var obString5: String = String() - - public var obString6: String = String() - - public var obString7: String = String() + public var success: Bool = false - public var obString8: String = String() + public var loginDetail: [LoginDetail] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObUnknownProto2 { +public struct ListRouteBadgesOutProto { // 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. - public var obString1: String = String() - - public var display: ObUnknownProto { - get {return _display ?? ObUnknownProto()} - set {_display = newValue} - } - /// Returns true if `display` has been explicitly set. - public var hasDisplay: Bool {return self._display != nil} - /// Clears the value of `display`. Subsequent reads from it will return its default value. - public mutating func clearDisplay() {self._display = nil} - - public var obInt641: Int64 = 0 - - public var obInt642: Int64 = 0 + public var routeBadges: [RouteBadgeListEntry] = [] - public var challengeCriteria: GroupChallengeCriteriaProto { - get {return _challengeCriteria ?? GroupChallengeCriteriaProto()} - set {_challengeCriteria = newValue} - } - /// Returns true if `challengeCriteria` has been explicitly set. - public var hasChallengeCriteria: Bool {return self._challengeCriteria != nil} - /// Clears the value of `challengeCriteria`. Subsequent reads from it will return its default value. - public mutating func clearChallengeCriteria() {self._challengeCriteria = nil} + public var awardedRouteBadges: [AwardedRouteBadge] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _display: ObUnknownProto? = nil - fileprivate var _challengeCriteria: GroupChallengeCriteriaProto? = nil } -public struct ObUnkownEventFortProtoOneOutProto { +public struct ListRouteBadgesProto { // 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. - public var status: ObUnkownEventFortProtoOneOutProto.Status = .unset - - public var obData: [ObUnkownEventProtoOne] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorFortIDNotFound // = 3 - case errorVpsNotEnabledAtFort // = 4 - case errorNoEventsAtFortFound // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorFortIDNotFound - case 4: self = .errorVpsNotEnabledAtFort - case 5: self = .errorNoEventsAtFortFound - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorFortIDNotFound: return 3 - case .errorVpsNotEnabledAtFort: return 4 - case .errorNoEventsAtFortFound: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - public init() {} } -#if swift(>=4.2) - -extension ObUnkownEventFortProtoOneOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObUnkownEventFortProtoOneOutProto.Status] = [ - .unset, - .success, - .errorUnknown, - .errorFortIDNotFound, - .errorVpsNotEnabledAtFort, - .errorNoEventsAtFortFound, - ] -} - -#endif // swift(>=4.2) - -public struct ObUnkownEventProtoOne { +public struct ListRouteStampsOutProto { // 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. - public var eventTypeStatus: EventTypeStatus = .eventUnset - - public var obInt32: Int32 = 0 - - public var obEventDepOne: ObUnkownEventProtoOne.ObUnkownEventProtoOneDepOne { - get {return _obEventDepOne ?? ObUnkownEventProtoOne.ObUnkownEventProtoOneDepOne()} - set {_obEventDepOne = newValue} - } - /// Returns true if `obEventDepOne` has been explicitly set. - public var hasObEventDepOne: Bool {return self._obEventDepOne != nil} - /// Clears the value of `obEventDepOne`. Subsequent reads from it will return its default value. - public mutating func clearObEventDepOne() {self._obEventDepOne = nil} - - public var obEventDepTwo: [ObUnkownEventProtoOneDepTwo] = [] + public var routeStamps: [AwardedRouteStamp] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct ObUnkownEventProtoOneDepOne { - // 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. - - public var obBool: Bool = false - - public var obInt641: Int64 = 0 - - public var obInt642: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} - - fileprivate var _obEventDepOne: ObUnkownEventProtoOne.ObUnkownEventProtoOneDepOne? = nil } -public struct ObUnkownEventProtoOneDepTwo { +public struct ListRouteStampsProto { // 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. - public var obString: String = String() - - public var payload: Data = Data() - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObUnkownEventProtoOneOutProto { +public struct ListValue { // 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. - public var status: ObUnkownEventProtoOneOutProto.Status = .unset - - public var obData: [ObUnkownEventProtoOne] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorFortIDNotFound // = 3 - case errorVpsNotEnabledAtFort // = 4 - case errorVpsEventNotFound // = 5 - case errorAddAnchorIDAlreadyExists // = 6 - case errorUpdateAnchorIDDoesNotExist // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorFortIDNotFound - case 4: self = .errorVpsNotEnabledAtFort - case 5: self = .errorVpsEventNotFound - case 6: self = .errorAddAnchorIDAlreadyExists - case 7: self = .errorUpdateAnchorIDDoesNotExist - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorFortIDNotFound: return 3 - case .errorVpsNotEnabledAtFort: return 4 - case .errorVpsEventNotFound: return 5 - case .errorAddAnchorIDAlreadyExists: return 6 - case .errorUpdateAnchorIDDoesNotExist: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - public init() {} } -#if swift(>=4.2) - -extension ObUnkownEventProtoOneOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObUnkownEventProtoOneOutProto.Status] = [ - .unset, - .success, - .errorUnknown, - .errorFortIDNotFound, - .errorVpsNotEnabledAtFort, - .errorVpsEventNotFound, - .errorAddAnchorIDAlreadyExists, - .errorUpdateAnchorIDDoesNotExist, - ] -} - -#endif // swift(>=4.2) - -public struct ObUnkownEventProtoTwo { +public struct LoadingScreenProto { // 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. - public var obString: String = String() + public var url: String = String() - public var eventTypeStatus: EventTypeStatus = .eventUnset + public var displayAfterTimestampMs: Int64 = 0 - public var obInt32: Int32 = 0 + public var colorSettings: Dictionary = [:] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObUnkownOtherEventProtoOne { +public struct LoadingScreenTipsSettingsProto { // 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. - public var updateType: ObUnkownOtherEventProtoOne.UpdateType = .unset - - public var mdepghbddnc: ObUnkownEventProtoOneDepTwo { - get {return _mdepghbddnc ?? ObUnkownEventProtoOneDepTwo()} - set {_mdepghbddnc = newValue} - } - /// Returns true if `mdepghbddnc` has been explicitly set. - public var hasMdepghbddnc: Bool {return self._mdepghbddnc != nil} - /// Clears the value of `mdepghbddnc`. Subsequent reads from it will return its default value. - public mutating func clearMdepghbddnc() {self._mdepghbddnc = nil} + public var tipStringKeys: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum UpdateType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case add // = 1 - case edit // = 2 - case remove // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } + public init() {} +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .add - case 2: self = .edit - case 3: self = .remove - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct LobbyClientSettingsProto { + // 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. - public var rawValue: Int { - switch self { - case .unset: return 0 - case .add: return 1 - case .edit: return 2 - case .remove: return 3 - case .UNRECOGNIZED(let i): return i - } - } + public var lobbyRefreshIntervalMs: Int64 = 0 - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _mdepghbddnc: ObUnkownEventProtoOneDepTwo? = nil -} - -#if swift(>=4.2) - -extension ObUnkownOtherEventProtoOne.UpdateType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ObUnkownOtherEventProtoOne.UpdateType] = [ - .unset, - .add, - .edit, - .remove, - ] } -#endif // swift(>=4.2) - -public struct ObUnkownOtherEventProtoTwo { +public struct LobbyPokemonProto { // 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. - public var obString: String = String() + public var id: Int64 = 0 + + public var pokedexID: HoloPokemonId = .missingno - public var obData: [ObUnkownOtherEventProtoOne] = [] + public var cp: Int32 = 0 - public var obInt32: Int32 = 0 + public var percentHealth: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct ObUploadRaidClientLogRequest { +public struct LobbyProto { // 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. - public var obUploadRaidClientLog: UploadRaidClientLogProto { - get {return _obUploadRaidClientLog ?? UploadRaidClientLogProto()} - set {_obUploadRaidClientLog = newValue} - } - /// Returns true if `obUploadRaidClientLog` has been explicitly set. - public var hasObUploadRaidClientLog: Bool {return self._obUploadRaidClientLog != nil} - /// Clears the value of `obUploadRaidClientLog`. Subsequent reads from it will return its default value. - public mutating func clearObUploadRaidClientLog() {self._obUploadRaidClientLog = nil} + public var lobbyID: [Int32] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var players: [BattleParticipantProto] = [] - public init() {} + public var playerJoinEndMs: Int64 = 0 - fileprivate var _obUploadRaidClientLog: UploadRaidClientLogProto? = nil -} + public var pokemonSelectionEndMs: Int64 = 0 -public struct OnApplicationFocusDataProto { - // 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. + public var raidBattleStartMs: Int64 = 0 - public var obOnApplicationFocusBool: Bool = false + public var raidBattleEndMs: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var raidBattleID: String = String() - public init() {} -} + public var ownerNickname: String = String() -public struct OnApplicationPauseDataProto { - // 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. + public var `private`: Bool = false + + public var creationMs: Int64 = 0 + + public var battlePlfeInstance: Int32 = 0 + + public var weatherCondition: GameplayWeatherProto.WeatherCondition = .none + + public var invitedPlayerIds: [String] = [] - public var obOnApplicationPauseBool: Bool = false + public var isShardManagerBattleEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OnApplicationQuitDataProto { +public struct LobbyVisibilityData { // 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. + public var rpcID: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OnboardingSettingsProto { +public struct LobbyVisibilityResponseData { // 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. - public var skipAvatarCustomization: Bool = false - - public var disableInitialArPrompt: Bool = false - - public var arPromptPlayerLevel: UInt32 = 0 + public var result: SetLobbyVisibilityOutProto.Result = .unset - public var obInt321: Int32 = 0 + public var rpcID: Int32 = 0 - public var obInt322: Int32 = 0 + public var roundTripTimeMs: UInt32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OnboardingTelemetry { +public struct LocationCardDisplayProto { // 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. - public var onboardingPath: OnboardingPathIds = .v1 - - public var eventID: OnboardingEventIds = .tosAccepted - - public var data: Int32 = 0 - - public var conversation: String = String() - - public var arStatus: OnboardingArStatus = .unset + public var locationCard: LocationCard = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OnboardingV2SettingsProto { +public struct LocationCardFeatureSettingsProto { // 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. - public var enableOnboardingV2: Bool = false - - public var pokedexID: [HoloPokemonId] = [] - - public var onboardingEggPokemon: HoloPokemonId = .missingno - - public var eggKmUntilHatch: Int32 = 0 + public var enabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OneWaySharedFriendshipDataProto { +public struct LocationCardSettingsProto { // 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. - public var giftboxDetails: [GiftBoxDetailsProto] = [] + public var locationCard: LocationCard = .unset - public var openTradeExpireMs: Int64 = 0 + public var imageURL: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OneofDescriptorProto { +public struct LocationE6Proto { // 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. - public var name: String = String() + public var latitudeE6: Int32 = 0 - public var options: OneofOptions { - get {return _options ?? OneofOptions()} - set {_options = newValue} - } - /// Returns true if `options` has been explicitly set. - public var hasOptions: Bool {return self._options != nil} - /// Clears the value of `options`. Subsequent reads from it will return its default value. - public mutating func clearOptions() {self._options = nil} + public var longitudeE6: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _options: OneofOptions? = nil } -public struct OneofOptions { +public struct LocationPingOutProto { // 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. @@ -94582,44 +93390,26 @@ public struct OneofOptions { public init() {} } -public struct OpenBuddyGiftOutProto { +public struct LocationPingProto { // 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. - public var result: OpenBuddyGiftOutProto.Result = .unset - - public var buddyGift: BuddyGiftProto { - get {return _buddyGift ?? BuddyGiftProto()} - set {_buddyGift = newValue} - } - /// Returns true if `buddyGift` has been explicitly set. - public var hasBuddyGift: Bool {return self._buddyGift != nil} - /// Clears the value of `buddyGift`. Subsequent reads from it will return its default value. - public mutating func clearBuddyGift() {self._buddyGift = nil} - - public var observedData: BuddyObservedData { - get {return _observedData ?? BuddyObservedData()} - set {_observedData = newValue} - } - /// Returns true if `observedData` has been explicitly set. - public var hasObservedData: Bool {return self._observedData != nil} - /// Clears the value of `observedData`. Subsequent reads from it will return its default value. - public mutating func clearObservedData() {self._observedData = nil} + public var geofenceIdentifier: String = String() - public var shownHearts: BuddyStatsShownHearts.BuddyShownHeartType = .buddyHeartUnset + public var reason: LocationPingProto.PingReason = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum PingReason: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case errorBuddyNotValid // = 1 - case successAddedLootToInventory // = 2 - case successAddedSouvenirToCollections // = 3 - case errorBuddyHasNotPickedUpAnySouvenirs // = 4 - case errorInventoryIsFull // = 5 - case errorBuddyNotOnMap // = 6 + case entranceEvent // = 1 + case exitEvent // = 2 + case dwellEvent // = 3 + case visitEvent // = 4 + case fitnessWakeup // = 5 + case otherWakeup // = 6 case UNRECOGNIZED(Int) public init() { @@ -94629,12 +93419,12 @@ public struct OpenBuddyGiftOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .errorBuddyNotValid - case 2: self = .successAddedLootToInventory - case 3: self = .successAddedSouvenirToCollections - case 4: self = .errorBuddyHasNotPickedUpAnySouvenirs - case 5: self = .errorInventoryIsFull - case 6: self = .errorBuddyNotOnMap + case 1: self = .entranceEvent + case 2: self = .exitEvent + case 3: self = .dwellEvent + case 4: self = .visitEvent + case 5: self = .fitnessWakeup + case 6: self = .otherWakeup default: self = .UNRECOGNIZED(rawValue) } } @@ -94642,12 +93432,12 @@ public struct OpenBuddyGiftOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .errorBuddyNotValid: return 1 - case .successAddedLootToInventory: return 2 - case .successAddedSouvenirToCollections: return 3 - case .errorBuddyHasNotPickedUpAnySouvenirs: return 4 - case .errorInventoryIsFull: return 5 - case .errorBuddyNotOnMap: return 6 + case .entranceEvent: return 1 + case .exitEvent: return 2 + case .dwellEvent: return 3 + case .visitEvent: return 4 + case .fitnessWakeup: return 5 + case .otherWakeup: return 6 case .UNRECOGNIZED(let i): return i } } @@ -94655,83 +93445,85 @@ public struct OpenBuddyGiftOutProto { } public init() {} - - fileprivate var _buddyGift: BuddyGiftProto? = nil - fileprivate var _observedData: BuddyObservedData? = nil } #if swift(>=4.2) -extension OpenBuddyGiftOutProto.Result: CaseIterable { +extension LocationPingProto.PingReason: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OpenBuddyGiftOutProto.Result] = [ + public static var allCases: [LocationPingProto.PingReason] = [ .unset, - .errorBuddyNotValid, - .successAddedLootToInventory, - .successAddedSouvenirToCollections, - .errorBuddyHasNotPickedUpAnySouvenirs, - .errorInventoryIsFull, - .errorBuddyNotOnMap, + .entranceEvent, + .exitEvent, + .dwellEvent, + .visitEvent, + .fitnessWakeup, + .otherWakeup, ] } #endif // swift(>=4.2) -public struct OpenBuddyGiftProto { +public struct LocationPingUpdateProto { // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var geofenceIdentifier: String = String() - public init() {} -} + public var reason: LocationPingUpdateProto.PingReason = .unset -public struct OpenCampfireMapTelemetry { - // 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. + public var timestampMs: Int64 = 0 - public var source: OpenCampfireMapTelemetry.SourcePage = .unknown + public var latitudeDeg: Double = 0 - public var isStandalone: Bool = false + public var longitudeDeg: Double = 0 + + public var appIsForegrounded: Bool = false + + public var timeZone: String = String() + + public var timeZoneOffsetMin: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum SourcePage: SwiftProtobuf.Enum { + public enum PingReason: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 - case map // = 1 - case nearbyRaids // = 2 - case gymApproach // = 3 - case raidApproach // = 4 - case catchCard // = 5 + case unset // = 0 + case entranceEvent // = 1 + case exitEvent // = 2 + case dwellEvent // = 3 + case visitEvent // = 4 + case fitnessWakeup // = 5 + case otherWakeup // = 6 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown - case 1: self = .map - case 2: self = .nearbyRaids - case 3: self = .gymApproach - case 4: self = .raidApproach - case 5: self = .catchCard + case 0: self = .unset + case 1: self = .entranceEvent + case 2: self = .exitEvent + case 3: self = .dwellEvent + case 4: self = .visitEvent + case 5: self = .fitnessWakeup + case 6: self = .otherWakeup default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 - case .map: return 1 - case .nearbyRaids: return 2 - case .gymApproach: return 3 - case .raidApproach: return 4 - case .catchCard: return 5 + case .unset: return 0 + case .entranceEvent: return 1 + case .exitEvent: return 2 + case .dwellEvent: return 3 + case .visitEvent: return 4 + case .fitnessWakeup: return 5 + case .otherWakeup: return 6 case .UNRECOGNIZED(let i): return i } } @@ -94743,247 +93535,516 @@ public struct OpenCampfireMapTelemetry { #if swift(>=4.2) -extension OpenCampfireMapTelemetry.SourcePage: CaseIterable { +extension LocationPingUpdateProto.PingReason: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OpenCampfireMapTelemetry.SourcePage] = [ - .unknown, - .map, - .nearbyRaids, - .gymApproach, - .raidApproach, - .catchCard, + public static var allCases: [LocationPingUpdateProto.PingReason] = [ + .unset, + .entranceEvent, + .exitEvent, + .dwellEvent, + .visitEvent, + .fitnessWakeup, + .otherWakeup, ] } #endif // swift(>=4.2) -public struct OpenCombatChallengeDataProto { +public struct LogEntry { // 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. - public var obInt32: Int32 = 0 + public var data: OneOf_Data? { + get {return _storage._data} + set {_uniqueStorage()._data = newValue} + } - public var type: CombatType = .unset + public var joinLobbyData: JoinLobbyData { + get { + if case .joinLobbyData(let v)? = _storage._data {return v} + return JoinLobbyData() + } + set {_uniqueStorage()._data = .joinLobbyData(newValue)} + } - public var obListInt32: [Int32] = [] + public var joinLobbyResponseData: JoinLobbyResponseData { + get { + if case .joinLobbyResponseData(let v)? = _storage._data {return v} + return JoinLobbyResponseData() + } + set {_uniqueStorage()._data = .joinLobbyResponseData(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var leaveLobbyData: LeaveLobbyData { + get { + if case .leaveLobbyData(let v)? = _storage._data {return v} + return LeaveLobbyData() + } + set {_uniqueStorage()._data = .leaveLobbyData(newValue)} + } - public init() {} -} + public var leaveLobbyResponseData: LeaveLobbyResponseData { + get { + if case .leaveLobbyResponseData(let v)? = _storage._data {return v} + return LeaveLobbyResponseData() + } + set {_uniqueStorage()._data = .leaveLobbyResponseData(newValue)} + } -public struct OpenCombatChallengeOutProto { - // 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. + public var lobbyVisibilityData: LobbyVisibilityData { + get { + if case .lobbyVisibilityData(let v)? = _storage._data {return v} + return LobbyVisibilityData() + } + set {_uniqueStorage()._data = .lobbyVisibilityData(newValue)} + } - public var result: OpenCombatChallengeOutProto.Result = .unset + public var lobbyVisibilityResponseData: LobbyVisibilityResponseData { + get { + if case .lobbyVisibilityResponseData(let v)? = _storage._data {return v} + return LobbyVisibilityResponseData() + } + set {_uniqueStorage()._data = .lobbyVisibilityResponseData(newValue)} + } - public var challenge: CombatChallengeProto { - get {return _challenge ?? CombatChallengeProto()} - set {_challenge = newValue} + public var getRaidDetailsData: GetRaidDetailsData { + get { + if case .getRaidDetailsData(let v)? = _storage._data {return v} + return GetRaidDetailsData() + } + set {_uniqueStorage()._data = .getRaidDetailsData(newValue)} } - /// Returns true if `challenge` has been explicitly set. - public var hasChallenge: Bool {return self._challenge != nil} - /// Clears the value of `challenge`. Subsequent reads from it will return its default value. - public mutating func clearChallenge() {self._challenge = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var getRaidDetailsResponseData: GetRaidDetailsResponseData { + get { + if case .getRaidDetailsResponseData(let v)? = _storage._data {return v} + return GetRaidDetailsResponseData() + } + set {_uniqueStorage()._data = .getRaidDetailsResponseData(newValue)} + } - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInvalidChallengeState // = 2 - case errorChallengeNotFound // = 3 - case errorPokemonNotInInventory // = 4 - case errorNotEligibleLeague // = 5 - case errorPlayerBelowMinimumLevel // = 6 - case errorAlreadyTimedout // = 8 - case errorAlreadyCancelled // = 9 - case errorFriendNotFound // = 10 - case errorFailedToSendNotification // = 11 - case errorAccessDenied // = 12 - case errorIneligibleOpponent // = 13 - case UNRECOGNIZED(Int) - - public init() { - self = .unset + public var startRaidBattleData: StartRaidBattleData { + get { + if case .startRaidBattleData(let v)? = _storage._data {return v} + return StartRaidBattleData() } + set {_uniqueStorage()._data = .startRaidBattleData(newValue)} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidChallengeState - case 3: self = .errorChallengeNotFound - case 4: self = .errorPokemonNotInInventory - case 5: self = .errorNotEligibleLeague - case 6: self = .errorPlayerBelowMinimumLevel - case 8: self = .errorAlreadyTimedout - case 9: self = .errorAlreadyCancelled - case 10: self = .errorFriendNotFound - case 11: self = .errorFailedToSendNotification - case 12: self = .errorAccessDenied - case 13: self = .errorIneligibleOpponent - default: self = .UNRECOGNIZED(rawValue) - } + public var startRaidBattleResponseData: StartRaidBattleResponseData { + get { + if case .startRaidBattleResponseData(let v)? = _storage._data {return v} + return StartRaidBattleResponseData() } + set {_uniqueStorage()._data = .startRaidBattleResponseData(newValue)} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInvalidChallengeState: return 2 - case .errorChallengeNotFound: return 3 - case .errorPokemonNotInInventory: return 4 - case .errorNotEligibleLeague: return 5 - case .errorPlayerBelowMinimumLevel: return 6 - case .errorAlreadyTimedout: return 8 - case .errorAlreadyCancelled: return 9 - case .errorFriendNotFound: return 10 - case .errorFailedToSendNotification: return 11 - case .errorAccessDenied: return 12 - case .errorIneligibleOpponent: return 13 - case .UNRECOGNIZED(let i): return i - } + public var attackRaidData: AttackRaidData { + get { + if case .attackRaidData(let v)? = _storage._data {return v} + return AttackRaidData() } + set {_uniqueStorage()._data = .attackRaidData(newValue)} + } + public var attackRaidResponseData: AttackRaidResponseData { + get { + if case .attackRaidResponseData(let v)? = _storage._data {return v} + return AttackRaidResponseData() + } + set {_uniqueStorage()._data = .attackRaidResponseData(newValue)} } - public init() {} + public var sendRaidInvitationData: SendRaidInvitationData { + get { + if case .sendRaidInvitationData(let v)? = _storage._data {return v} + return SendRaidInvitationData() + } + set {_uniqueStorage()._data = .sendRaidInvitationData(newValue)} + } - fileprivate var _challenge: CombatChallengeProto? = nil -} + public var sendRaidInvitationResponseData: SendRaidInvitationResponseData { + get { + if case .sendRaidInvitationResponseData(let v)? = _storage._data {return v} + return SendRaidInvitationResponseData() + } + set {_uniqueStorage()._data = .sendRaidInvitationResponseData(newValue)} + } -#if swift(>=4.2) + public var onApplicationFocusData: OnApplicationFocusData { + get { + if case .onApplicationFocusData(let v)? = _storage._data {return v} + return OnApplicationFocusData() + } + set {_uniqueStorage()._data = .onApplicationFocusData(newValue)} + } -extension OpenCombatChallengeOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OpenCombatChallengeOutProto.Result] = [ - .unset, - .success, - .errorInvalidChallengeState, - .errorChallengeNotFound, - .errorPokemonNotInInventory, - .errorNotEligibleLeague, - .errorPlayerBelowMinimumLevel, - .errorAlreadyTimedout, - .errorAlreadyCancelled, - .errorFriendNotFound, - .errorFailedToSendNotification, - .errorAccessDenied, - .errorIneligibleOpponent, - ] -} + public var onApplicationPauseData: OnApplicationPauseData { + get { + if case .onApplicationPauseData(let v)? = _storage._data {return v} + return OnApplicationPauseData() + } + set {_uniqueStorage()._data = .onApplicationPauseData(newValue)} + } -#endif // swift(>=4.2) + public var onApplicationQuitData: OnApplicationQuitData { + get { + if case .onApplicationQuitData(let v)? = _storage._data {return v} + return OnApplicationQuitData() + } + set {_uniqueStorage()._data = .onApplicationQuitData(newValue)} + } -public struct OpenCombatChallengeProto { - // 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. + public var exceptionCaughtData: ExceptionCaughtData { + get { + if case .exceptionCaughtData(let v)? = _storage._data {return v} + return ExceptionCaughtData() + } + set {_uniqueStorage()._data = .exceptionCaughtData(newValue)} + } - public var type: CombatType = .unset + public var progressTokenData: ProgressTokenData { + get { + if case .progressTokenData(let v)? = _storage._data {return v} + return ProgressTokenData() + } + set {_uniqueStorage()._data = .progressTokenData(newValue)} + } - public var challengeID: String = String() + public var rpcErrorData: RpcErrorData { + get { + if case .rpcErrorData(let v)? = _storage._data {return v} + return RpcErrorData() + } + set {_uniqueStorage()._data = .rpcErrorData(newValue)} + } - public var combatLeagueTemplateID: String = String() + public var clientPredictionInconsistencyData: ClientPredictionInconsistencyData { + get { + if case .clientPredictionInconsistencyData(let v)? = _storage._data {return v} + return ClientPredictionInconsistencyData() + } + set {_uniqueStorage()._data = .clientPredictionInconsistencyData(newValue)} + } - public var opponentPlayerID: String = String() + public var raidEndData: RaidEndData { + get { + if case .raidEndData(let v)? = _storage._data {return v} + return RaidEndData() + } + set {_uniqueStorage()._data = .raidEndData(newValue)} + } - public var attackingPokemonID: [UInt64] = [] + public var header: LogEntry.LogEntryHeader { + get {return _storage._header ?? LogEntry.LogEntryHeader()} + set {_uniqueStorage()._header = newValue} + } + /// Returns true if `header` has been explicitly set. + public var hasHeader: Bool {return _storage._header != nil} + /// Clears the value of `header`. Subsequent reads from it will return its default value. + public mutating func clearHeader() {_uniqueStorage()._header = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum OneOf_Data: Equatable { + case joinLobbyData(JoinLobbyData) + case joinLobbyResponseData(JoinLobbyResponseData) + case leaveLobbyData(LeaveLobbyData) + case leaveLobbyResponseData(LeaveLobbyResponseData) + case lobbyVisibilityData(LobbyVisibilityData) + case lobbyVisibilityResponseData(LobbyVisibilityResponseData) + case getRaidDetailsData(GetRaidDetailsData) + case getRaidDetailsResponseData(GetRaidDetailsResponseData) + case startRaidBattleData(StartRaidBattleData) + case startRaidBattleResponseData(StartRaidBattleResponseData) + case attackRaidData(AttackRaidData) + case attackRaidResponseData(AttackRaidResponseData) + case sendRaidInvitationData(SendRaidInvitationData) + case sendRaidInvitationResponseData(SendRaidInvitationResponseData) + case onApplicationFocusData(OnApplicationFocusData) + case onApplicationPauseData(OnApplicationPauseData) + case onApplicationQuitData(OnApplicationQuitData) + case exceptionCaughtData(ExceptionCaughtData) + case progressTokenData(ProgressTokenData) + case rpcErrorData(RpcErrorData) + case clientPredictionInconsistencyData(ClientPredictionInconsistencyData) + case raidEndData(RaidEndData) -public struct OpenCombatChallengeResponseDataProto { - // 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. + #if !swift(>=4.1) + public static func ==(lhs: LogEntry.OneOf_Data, rhs: LogEntry.OneOf_Data) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.joinLobbyData, .joinLobbyData): return { + guard case .joinLobbyData(let l) = lhs, case .joinLobbyData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.joinLobbyResponseData, .joinLobbyResponseData): return { + guard case .joinLobbyResponseData(let l) = lhs, case .joinLobbyResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.leaveLobbyData, .leaveLobbyData): return { + guard case .leaveLobbyData(let l) = lhs, case .leaveLobbyData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.leaveLobbyResponseData, .leaveLobbyResponseData): return { + guard case .leaveLobbyResponseData(let l) = lhs, case .leaveLobbyResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.lobbyVisibilityData, .lobbyVisibilityData): return { + guard case .lobbyVisibilityData(let l) = lhs, case .lobbyVisibilityData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.lobbyVisibilityResponseData, .lobbyVisibilityResponseData): return { + guard case .lobbyVisibilityResponseData(let l) = lhs, case .lobbyVisibilityResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getRaidDetailsData, .getRaidDetailsData): return { + guard case .getRaidDetailsData(let l) = lhs, case .getRaidDetailsData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getRaidDetailsResponseData, .getRaidDetailsResponseData): return { + guard case .getRaidDetailsResponseData(let l) = lhs, case .getRaidDetailsResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.startRaidBattleData, .startRaidBattleData): return { + guard case .startRaidBattleData(let l) = lhs, case .startRaidBattleData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.startRaidBattleResponseData, .startRaidBattleResponseData): return { + guard case .startRaidBattleResponseData(let l) = lhs, case .startRaidBattleResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.attackRaidData, .attackRaidData): return { + guard case .attackRaidData(let l) = lhs, case .attackRaidData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.attackRaidResponseData, .attackRaidResponseData): return { + guard case .attackRaidResponseData(let l) = lhs, case .attackRaidResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.sendRaidInvitationData, .sendRaidInvitationData): return { + guard case .sendRaidInvitationData(let l) = lhs, case .sendRaidInvitationData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.sendRaidInvitationResponseData, .sendRaidInvitationResponseData): return { + guard case .sendRaidInvitationResponseData(let l) = lhs, case .sendRaidInvitationResponseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.onApplicationFocusData, .onApplicationFocusData): return { + guard case .onApplicationFocusData(let l) = lhs, case .onApplicationFocusData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.onApplicationPauseData, .onApplicationPauseData): return { + guard case .onApplicationPauseData(let l) = lhs, case .onApplicationPauseData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.onApplicationQuitData, .onApplicationQuitData): return { + guard case .onApplicationQuitData(let l) = lhs, case .onApplicationQuitData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.exceptionCaughtData, .exceptionCaughtData): return { + guard case .exceptionCaughtData(let l) = lhs, case .exceptionCaughtData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.progressTokenData, .progressTokenData): return { + guard case .progressTokenData(let l) = lhs, case .progressTokenData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.rpcErrorData, .rpcErrorData): return { + guard case .rpcErrorData(let l) = lhs, case .rpcErrorData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.clientPredictionInconsistencyData, .clientPredictionInconsistencyData): return { + guard case .clientPredictionInconsistencyData(let l) = lhs, case .clientPredictionInconsistencyData(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidEndData, .raidEndData): return { + guard case .raidEndData(let l) = lhs, case .raidEndData(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } - public var obInt32: Int32 = 0 + public struct LogEntryHeader { + // 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. - public var obUint32: UInt32 = 0 + public var type: LogEntry.LogEntryHeader.LogType = .noType - public var result: OpenCombatChallengeOutProto.Result = .unset + public var timeNowOffsetMs: UInt32 = 0 - public var challenge: ObCommunCombatChallengeDataProto { - get {return _challenge ?? ObCommunCombatChallengeDataProto()} - set {_challenge = newValue} - } - /// Returns true if `challenge` has been explicitly set. - public var hasChallenge: Bool {return self._challenge != nil} - /// Clears the value of `challenge`. Subsequent reads from it will return its default value. - public mutating func clearChallenge() {self._challenge = nil} + public var clientServerTimeOffsetMs: UInt32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var playerDistanceToGym: Float = 0 - public init() {} + public var frameRate: Float = 0 - fileprivate var _challenge: ObCommunCombatChallengeDataProto? = nil -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -public struct OpenCombatSessionDataProto { - // 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. + public enum LogType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noType // = 0 + case joinLobbyRequest // = 1 + case joinLobbyResponse // = 2 + case leaveLobbyRequest // = 3 + case leaveLobbyResponse // = 4 + case lobbyVisibilityRequest // = 5 + case lobbyVisibilityResponse // = 6 + case getRaidDetailsRequest // = 7 + case getRaidDetailsResponse // = 8 + case startRaidBattleRequest // = 9 + case startRaidBattleResponse // = 10 + case attackRaidRequest // = 11 + case attackRaidResponse // = 12 + case sendRaidInvitationRequest // = 13 + case sendRaidInvitationResponse // = 14 + case onApplicationFocus // = 15 + case onApplicationPause // = 16 + case onApplicationQuit // = 17 + case exceptionCaught // = 18 + case progressToken // = 19 + case rpcError // = 20 + case clientPredictionInconsistency // = 21 + case playerEndRaid // = 22 + case UNRECOGNIZED(Int) - public var obInt32: Int32 = 0 + public init() { + self = .noType + } - public var obListInt32: [Int32] = [] + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noType + case 1: self = .joinLobbyRequest + case 2: self = .joinLobbyResponse + case 3: self = .leaveLobbyRequest + case 4: self = .leaveLobbyResponse + case 5: self = .lobbyVisibilityRequest + case 6: self = .lobbyVisibilityResponse + case 7: self = .getRaidDetailsRequest + case 8: self = .getRaidDetailsResponse + case 9: self = .startRaidBattleRequest + case 10: self = .startRaidBattleResponse + case 11: self = .attackRaidRequest + case 12: self = .attackRaidResponse + case 13: self = .sendRaidInvitationRequest + case 14: self = .sendRaidInvitationResponse + case 15: self = .onApplicationFocus + case 16: self = .onApplicationPause + case 17: self = .onApplicationQuit + case 18: self = .exceptionCaught + case 19: self = .progressToken + case 20: self = .rpcError + case 21: self = .clientPredictionInconsistency + case 22: self = .playerEndRaid + default: self = .UNRECOGNIZED(rawValue) + } + } - public var obUint32: UInt32 = 0 + public var rawValue: Int { + switch self { + case .noType: return 0 + case .joinLobbyRequest: return 1 + case .joinLobbyResponse: return 2 + case .leaveLobbyRequest: return 3 + case .leaveLobbyResponse: return 4 + case .lobbyVisibilityRequest: return 5 + case .lobbyVisibilityResponse: return 6 + case .getRaidDetailsRequest: return 7 + case .getRaidDetailsResponse: return 8 + case .startRaidBattleRequest: return 9 + case .startRaidBattleResponse: return 10 + case .attackRaidRequest: return 11 + case .attackRaidResponse: return 12 + case .sendRaidInvitationRequest: return 13 + case .sendRaidInvitationResponse: return 14 + case .onApplicationFocus: return 15 + case .onApplicationPause: return 16 + case .onApplicationQuit: return 17 + case .exceptionCaught: return 18 + case .progressToken: return 19 + case .rpcError: return 20 + case .clientPredictionInconsistency: return 21 + case .playerEndRaid: return 22 + case .UNRECOGNIZED(let i): return i + } + } - public var combatType: CombatType = .unset + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct OpenCombatSessionOutProto { +#if swift(>=4.2) + +extension LogEntry.LogEntryHeader.LogType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [LogEntry.LogEntryHeader.LogType] = [ + .noType, + .joinLobbyRequest, + .joinLobbyResponse, + .leaveLobbyRequest, + .leaveLobbyResponse, + .lobbyVisibilityRequest, + .lobbyVisibilityResponse, + .getRaidDetailsRequest, + .getRaidDetailsResponse, + .startRaidBattleRequest, + .startRaidBattleResponse, + .attackRaidRequest, + .attackRaidResponse, + .sendRaidInvitationRequest, + .sendRaidInvitationResponse, + .onApplicationFocus, + .onApplicationPause, + .onApplicationQuit, + .exceptionCaught, + .progressToken, + .rpcError, + .clientPredictionInconsistency, + .playerEndRaid, + ] +} + +#endif // swift(>=4.2) + +public struct LogMessage { // 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. - public var result: OpenCombatSessionOutProto.Result = .unset - - public var combat: CombatProto { - get {return _combat ?? CombatProto()} - set {_combat = newValue} - } - /// Returns true if `combat` has been explicitly set. - public var hasCombat: Bool {return self._combat != nil} - /// Clears the value of `combat`. Subsequent reads from it will return its default value. - public mutating func clearCombat() {self._combat = nil} + public var timestampMs: Int64 = 0 - public var shouldDebugLog: Bool = false + public var logLevel: LogMessage.LogLevel = .unset - public var combatRefactorToggle: [CombatRefactorToggleProto] = [] + public var logChannel: String = String() - public var obString: String = String() + public var message: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum LogLevel: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorInvalidCombatState // = 2 - case errorCombatSessionFull // = 3 - case errorPokemonNotInInventory // = 4 - case errorOpponentNotInRange // = 5 - case errorChallengeExpired // = 6 - case errorPlayerBelowMinimumLevel // = 7 - case errorOpponentQuit // = 8 - case errorPokemonLineupIneligibleForLeague // = 9 - case errorCombatLeagueUnspecified // = 10 - case errorAccessDenied // = 11 - case errorPlayerHasNoBattlePasses // = 12 + case fatal // = 1 + case error // = 2 + case warning // = 3 + case info // = 4 + case verbose // = 5 + case trace // = 6 + case disabled // = 7 case UNRECOGNIZED(Int) public init() { @@ -94993,18 +94054,13 @@ public struct OpenCombatSessionOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidCombatState - case 3: self = .errorCombatSessionFull - case 4: self = .errorPokemonNotInInventory - case 5: self = .errorOpponentNotInRange - case 6: self = .errorChallengeExpired - case 7: self = .errorPlayerBelowMinimumLevel - case 8: self = .errorOpponentQuit - case 9: self = .errorPokemonLineupIneligibleForLeague - case 10: self = .errorCombatLeagueUnspecified - case 11: self = .errorAccessDenied - case 12: self = .errorPlayerHasNoBattlePasses + case 1: self = .fatal + case 2: self = .error + case 3: self = .warning + case 4: self = .info + case 5: self = .verbose + case 6: self = .trace + case 7: self = .disabled default: self = .UNRECOGNIZED(rawValue) } } @@ -95012,18 +94068,13 @@ public struct OpenCombatSessionOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorInvalidCombatState: return 2 - case .errorCombatSessionFull: return 3 - case .errorPokemonNotInInventory: return 4 - case .errorOpponentNotInRange: return 5 - case .errorChallengeExpired: return 6 - case .errorPlayerBelowMinimumLevel: return 7 - case .errorOpponentQuit: return 8 - case .errorPokemonLineupIneligibleForLeague: return 9 - case .errorCombatLeagueUnspecified: return 10 - case .errorAccessDenied: return 11 - case .errorPlayerHasNoBattlePasses: return 12 + case .fatal: return 1 + case .error: return 2 + case .warning: return 3 + case .info: return 4 + case .verbose: return 5 + case .trace: return 6 + case .disabled: return 7 case .UNRECOGNIZED(let i): return i } } @@ -95031,601 +94082,727 @@ public struct OpenCombatSessionOutProto { } public init() {} - - fileprivate var _combat: CombatProto? = nil } #if swift(>=4.2) -extension OpenCombatSessionOutProto.Result: CaseIterable { +extension LogMessage.LogLevel: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OpenCombatSessionOutProto.Result] = [ + public static var allCases: [LogMessage.LogLevel] = [ .unset, - .success, - .errorInvalidCombatState, - .errorCombatSessionFull, - .errorPokemonNotInInventory, - .errorOpponentNotInRange, - .errorChallengeExpired, - .errorPlayerBelowMinimumLevel, - .errorOpponentQuit, - .errorPokemonLineupIneligibleForLeague, - .errorCombatLeagueUnspecified, - .errorAccessDenied, - .errorPlayerHasNoBattlePasses, + .fatal, + .error, + .warning, + .info, + .verbose, + .trace, + .disabled, ] } #endif // swift(>=4.2) -public struct OpenCombatSessionProto { +public struct LoginActionTelemetry { // 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. - public var combatID: String = String() + public var loginActionID: LoginActionTelemetryIds = .undefinedLoginAction - public var attackingPokemonID: [UInt64] = [] + public var firstTime: Bool = false - public var combatLeagueTemplateID: String = String() + public var success: Bool = false - public var lobbyJoinTimeMs: Int64 = 0 + public var intentExisting: Bool = false - public var combatType: CombatType = .unset + public var error: String = String() + + public var authStatus: String = String() + + public var selectionTime: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OpenCombatSessionResponseDataProto { +public struct LoginDetail { // 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. - public var obInt32: Int32 = 0 + public var identityProvider: AuthIdentityProvider = .unsetIdentityProvider - public var obUint32: UInt32 = 0 + public var email: String = String() - public var obOpenCombatSessionResponse: OpenCombatSessionOutProto { - get {return _obOpenCombatSessionResponse ?? OpenCombatSessionOutProto()} - set {_obOpenCombatSessionResponse = newValue} - } - /// Returns true if `obOpenCombatSessionResponse` has been explicitly set. - public var hasObOpenCombatSessionResponse: Bool {return self._obOpenCombatSessionResponse != nil} - /// Clears the value of `obOpenCombatSessionResponse`. Subsequent reads from it will return its default value. - public mutating func clearObOpenCombatSessionResponse() {self._obOpenCombatSessionResponse = nil} + public var authProviderID: String = String() + + public var thirdPartyUsername: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _obOpenCombatSessionResponse: OpenCombatSessionOutProto? = nil } -public struct OpenGiftLogEntry { +public struct LoginNewPlayer { // 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. - public var result: OpenGiftLogEntry.Result = .unset + public var methodName: String = String() - public var friendCodename: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var items: LootProto { - get {return _items ?? LootProto()} - set {_items = newValue} - } - /// Returns true if `items` has been explicitly set. - public var hasItems: Bool {return self._items != nil} - /// Clears the value of `items`. Subsequent reads from it will return its default value. - public mutating func clearItems() {self._items = nil} + public init() {} +} - public var pokemonEggs: [PokemonProto] = [] +public struct LoginNewPlayerCreateAccount { + // 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. + + public var methodName: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) + public init() {} +} - public init() { - self = .unset - } +public struct LoginReturningPlayer { + // 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. - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } + public var methodName: String = String() - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - } + public init() {} +} + +public struct LoginReturningPlayerSignIn { + // 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. + + public var methodName: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} +} - fileprivate var _items: LootProto? = nil +public struct LoginSettingsProto { + // 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. + + public var enableMultiLoginLinking: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -#if swift(>=4.2) +public struct LoginStartup { + // 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. -extension OpenGiftLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OpenGiftLogEntry.Result] = [ - .unset, - .success, - ] + public var methodName: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -#endif // swift(>=4.2) +public struct LoopProto { + // 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. -public struct OpenGiftOutProto { + public var vertex: [PointProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct LootItemProto { // 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. - public var result: OpenGiftOutProto.Result { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} + public var type: LootItemProto.OneOf_Type? = nil + + public var item: Item { + get { + if case .item(let v)? = type {return v} + return .unknown + } + set {type = .item(newValue)} } - public var items: LootProto { - get {return _storage._items ?? LootProto()} - set {_uniqueStorage()._items = newValue} + public var stardust: Bool { + get { + if case .stardust(let v)? = type {return v} + return false + } + set {type = .stardust(newValue)} } - /// Returns true if `items` has been explicitly set. - public var hasItems: Bool {return _storage._items != nil} - /// Clears the value of `items`. Subsequent reads from it will return its default value. - public mutating func clearItems() {_uniqueStorage()._items = nil} - public var eggPokemon: PokemonProto { - get {return _storage._eggPokemon ?? PokemonProto()} - set {_uniqueStorage()._eggPokemon = newValue} + public var pokecoin: Bool { + get { + if case .pokecoin(let v)? = type {return v} + return false + } + set {type = .pokecoin(newValue)} } - /// Returns true if `eggPokemon` has been explicitly set. - public var hasEggPokemon: Bool {return _storage._eggPokemon != nil} - /// Clears the value of `eggPokemon`. Subsequent reads from it will return its default value. - public mutating func clearEggPokemon() {_uniqueStorage()._eggPokemon = nil} - public var updatedFriendshipData: FriendshipLevelDataProto { - get {return _storage._updatedFriendshipData ?? FriendshipLevelDataProto()} - set {_uniqueStorage()._updatedFriendshipData = newValue} + public var pokemonCandy: HoloPokemonId { + get { + if case .pokemonCandy(let v)? = type {return v} + return .missingno + } + set {type = .pokemonCandy(newValue)} } - /// Returns true if `updatedFriendshipData` has been explicitly set. - public var hasUpdatedFriendshipData: Bool {return _storage._updatedFriendshipData != nil} - /// Clears the value of `updatedFriendshipData`. Subsequent reads from it will return its default value. - public mutating func clearUpdatedFriendshipData() {_uniqueStorage()._updatedFriendshipData = nil} - public var friendProfile: PlayerPublicProfileProto { - get {return _storage._friendProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._friendProfile = newValue} + public var experience: Bool { + get { + if case .experience(let v)? = type {return v} + return false + } + set {type = .experience(newValue)} } - /// Returns true if `friendProfile` has been explicitly set. - public var hasFriendProfile: Bool {return _storage._friendProfile != nil} - /// Clears the value of `friendProfile`. Subsequent reads from it will return its default value. - public mutating func clearFriendProfile() {_uniqueStorage()._friendProfile = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var pokemonEgg: PokemonProto { + get { + if case .pokemonEgg(let v)? = type {return v} + return PokemonProto() + } + set {type = .pokemonEgg(newValue)} + } - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerBagFull // = 3 - case errorPlayerLimitReached // = 4 - case errorGiftDoesNotExist // = 5 - case errorFriendNotFound // = 6 - case errorInvalidPlayerID // = 7 - case errorFriendUpdate // = 8 - case UNRECOGNIZED(Int) + public var avatarTemplateID: String { + get { + if case .avatarTemplateID(let v)? = type {return v} + return String() + } + set {type = .avatarTemplateID(newValue)} + } - public init() { - self = .unset + public var stickerID: String { + get { + if case .stickerID(let v)? = type {return v} + return String() } + set {type = .stickerID(newValue)} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerBagFull - case 4: self = .errorPlayerLimitReached - case 5: self = .errorGiftDoesNotExist - case 6: self = .errorFriendNotFound - case 7: self = .errorInvalidPlayerID - case 8: self = .errorFriendUpdate - default: self = .UNRECOGNIZED(rawValue) - } + public var megaEnergyPokemonID: HoloPokemonId { + get { + if case .megaEnergyPokemonID(let v)? = type {return v} + return .missingno } + set {type = .megaEnergyPokemonID(newValue)} + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerBagFull: return 3 - case .errorPlayerLimitReached: return 4 - case .errorGiftDoesNotExist: return 5 - case .errorFriendNotFound: return 6 - case .errorInvalidPlayerID: return 7 - case .errorFriendUpdate: return 8 - case .UNRECOGNIZED(let i): return i - } + public var xlCandy: HoloPokemonId { + get { + if case .xlCandy(let v)? = type {return v} + return .missingno } + set {type = .xlCandy(newValue)} + } + public var followerPokemon: FollowerPokemonProto { + get { + if case .followerPokemon(let v)? = type {return v} + return FollowerPokemonProto() + } + set {type = .followerPokemon(newValue)} } - public init() {} + public var count: Int32 = 0 - fileprivate var _storage = _StorageClass.defaultInstance -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -#if swift(>=4.2) + public enum OneOf_Type: Equatable { + case item(Item) + case stardust(Bool) + case pokecoin(Bool) + case pokemonCandy(HoloPokemonId) + case experience(Bool) + case pokemonEgg(PokemonProto) + case avatarTemplateID(String) + case stickerID(String) + case megaEnergyPokemonID(HoloPokemonId) + case xlCandy(HoloPokemonId) + case followerPokemon(FollowerPokemonProto) -extension OpenGiftOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OpenGiftOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorPlayerBagFull, - .errorPlayerLimitReached, - .errorGiftDoesNotExist, - .errorFriendNotFound, - .errorInvalidPlayerID, - .errorFriendUpdate, - ] -} + #if !swift(>=4.1) + public static func ==(lhs: LootItemProto.OneOf_Type, rhs: LootItemProto.OneOf_Type) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.item, .item): return { + guard case .item(let l) = lhs, case .item(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.stardust, .stardust): return { + guard case .stardust(let l) = lhs, case .stardust(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokecoin, .pokecoin): return { + guard case .pokecoin(let l) = lhs, case .pokecoin(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonCandy, .pokemonCandy): return { + guard case .pokemonCandy(let l) = lhs, case .pokemonCandy(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.experience, .experience): return { + guard case .experience(let l) = lhs, case .experience(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonEgg, .pokemonEgg): return { + guard case .pokemonEgg(let l) = lhs, case .pokemonEgg(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.avatarTemplateID, .avatarTemplateID): return { + guard case .avatarTemplateID(let l) = lhs, case .avatarTemplateID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.stickerID, .stickerID): return { + guard case .stickerID(let l) = lhs, case .stickerID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.megaEnergyPokemonID, .megaEnergyPokemonID): return { + guard case .megaEnergyPokemonID(let l) = lhs, case .megaEnergyPokemonID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.xlCandy, .xlCandy): return { + guard case .xlCandy(let l) = lhs, case .xlCandy(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.followerPokemon, .followerPokemon): return { + guard case .followerPokemon(let l) = lhs, case .followerPokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } -#endif // swift(>=4.2) + public init() {} +} -public struct OpenGiftProto { +public struct LootProto { // 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. - public var playerID: String = String() - - public var giftboxID: UInt64 = 0 - - public var convertToStardust: Bool = false + public var lootItem: [LootItemProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OpenInvasionCombatSessionOutProto { +public struct LuckyPokemonSettingsProto { // 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. - public var status: InvasionStatus.Status = .unset - - public var combat: CombatProto { - get {return _combat ?? CombatProto()} - set {_combat = newValue} - } - /// Returns true if `combat` has been explicitly set. - public var hasCombat: Bool {return self._combat != nil} - /// Clears the value of `combat`. Subsequent reads from it will return its default value. - public mutating func clearCombat() {self._combat = nil} + public var powerUpStardustDiscountPercent: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _combat: CombatProto? = nil } -public struct OpenInvasionCombatSessionProto { +public struct MapArea { // 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. - public var incidentLookup: IncidentLookupProto { - get {return _incidentLookup ?? IncidentLookupProto()} - set {_incidentLookup = newValue} - } - /// Returns true if `incidentLookup` has been explicitly set. - public var hasIncidentLookup: Bool {return self._incidentLookup != nil} - /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. - public mutating func clearIncidentLookup() {self._incidentLookup = nil} - - public var step: Int32 = 0 - - public var attackingPokemonID: [UInt64] = [] - - public var lobbyJoinTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var description_p: String = String() - public init() {} + public var epoch: Int32 = 0 - fileprivate var _incidentLookup: IncidentLookupProto? = nil -} + public var mapProvider: String = String() -public struct OpenNpcCombatSessionDataProto { - // 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. + public var boundingRect: [BoundingRect] = [] - public var obInt32: Int32 = 0 + public var blockedLabelName: [String] = [] - public var obListInt32: [Int32] = [] + public var minimumClientVersion: String = String() - public var obUint32: UInt32 = 0 + public var tileEncryptionKey: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OpenNpcCombatSessionOutProto { +public struct MapBuddySettingsProto { // 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. - public var result: OpenNpcCombatSessionOutProto.Result = .unset + public var forBuddyGroupNumber: Int32 = 0 - public var combat: CombatProto { - get {return _combat ?? CombatProto()} - set {_combat = newValue} - } - /// Returns true if `combat` has been explicitly set. - public var hasCombat: Bool {return self._combat != nil} - /// Clears the value of `combat`. Subsequent reads from it will return its default value. - public mutating func clearCombat() {self._combat = nil} + public var targetOffsetMin: Float = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var targetOffsetMax: Float = 0 - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPlayerBelowMinimumLevel // = 2 - case errorPokemonLineupIneligibleForLeague // = 3 - case errorAccessDenied // = 4 - case UNRECOGNIZED(Int) + public var leashDistance: Float = 0 - public init() { - self = .unset - } + public var maxSecondsToIdle: Float = 0 - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPlayerBelowMinimumLevel - case 3: self = .errorPokemonLineupIneligibleForLeague - case 4: self = .errorAccessDenied - default: self = .UNRECOGNIZED(rawValue) - } - } + public var maxRotationSpeed: Float = 0 - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPlayerBelowMinimumLevel: return 2 - case .errorPokemonLineupIneligibleForLeague: return 3 - case .errorAccessDenied: return 4 - case .UNRECOGNIZED(let i): return i - } - } + public var walkThreshold: Float = 0 - } + public var runThreshold: Float = 0 - public init() {} + public var shouldGlide: Bool = false - fileprivate var _combat: CombatProto? = nil -} + public var glideSmoothTime: Float = 0 -#if swift(>=4.2) + public var glideMaxSpeed: Float = 0 -extension OpenNpcCombatSessionOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OpenNpcCombatSessionOutProto.Result] = [ - .unset, - .success, - .errorPlayerBelowMinimumLevel, - .errorPokemonLineupIneligibleForLeague, - .errorAccessDenied, - ] -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -#endif // swift(>=4.2) + public init() {} +} -public struct OpenNpcCombatSessionProto { +public struct MapCompositionRoot { // 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. - public var attackingPokemonID: [UInt64] = [] + public var mapArea: [MapArea] = [] - public var combatNpcTemplateID: String = String() + public var biomeMapArea: [MapArea] = [] - public var lobbyJoinTimeMs: Int64 = 0 + public var mapProvider: [MapProvider] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OpenNpcCombatSessionResponseDataProto { +public struct MapCoordOverlayProto { // 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. - public var obInt32: Int32 { - get {return _storage._obInt32} - set {_uniqueStorage()._obInt32 = newValue} - } + public var mapOverlayID: String = String() - public var obUint32: UInt32 { - get {return _storage._obUint32} - set {_uniqueStorage()._obUint32 = newValue} - } + public var addressableID: String = String() - public var result: OpenNpcCombatSessionOutProto.Result { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} - } + public var anchorLatitude: Double = 0 - public var obCommunWebCombatState: ObCommunWebCombatStateProto { - get {return _storage._obCommunWebCombatState ?? ObCommunWebCombatStateProto()} - set {_uniqueStorage()._obCommunWebCombatState = newValue} - } - /// Returns true if `obCommunWebCombatState` has been explicitly set. - public var hasObCommunWebCombatState: Bool {return _storage._obCommunWebCombatState != nil} - /// Clears the value of `obCommunWebCombatState`. Subsequent reads from it will return its default value. - public mutating func clearObCommunWebCombatState() {_uniqueStorage()._obCommunWebCombatState = nil} + public var anchorLongitude: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct OpenSponsoredGiftOutProto { +public struct MapDisplaySettingsProto { // 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. - public var result: OpenSponsoredGiftOutProto.Result = .unset + public var mapEffect: MapDisplaySettingsProto.MapEffect = .effectNone - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} + public var researchIconURL: String = String() + + public var bgm: MapDisplaySettingsProto.MusicType = .bgmUnset + + public var showEnhancedSky: Bool = false + + public var skyOverride: String = String() + + public var musicName: String = String() + + public var mapEffectName: String = String() + + public var showMapShoreLines: Bool = false + + public var skyEffectName: String = String() + + public var eventThemeName: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum MapEffect: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerBagFull // = 3 - case errorGiftRedeemed // = 4 + case effectNone // = 0 + case effectConfettiBasic // = 1 + case effectConfettiFire // = 2 + case effectConfettiWater // = 3 + case effectConfettiGrass // = 4 + case effectConfettiRaidBattle // = 5 + case effectConfettiFriendship // = 6 + case effectConfettiRocket // = 7 + case effectFireworksPlain // = 8 + case effectConfettiFlower // = 9 + case effectConfettiPlains // = 10 + case effectConfettiCity // = 11 + case effectConfettiTundra // = 12 + case effectConfettiRainforest // = 13 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .effectNone } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerBagFull - case 4: self = .errorGiftRedeemed + case 0: self = .effectNone + case 1: self = .effectConfettiBasic + case 2: self = .effectConfettiFire + case 3: self = .effectConfettiWater + case 4: self = .effectConfettiGrass + case 5: self = .effectConfettiRaidBattle + case 6: self = .effectConfettiFriendship + case 7: self = .effectConfettiRocket + case 8: self = .effectFireworksPlain + case 9: self = .effectConfettiFlower + case 10: self = .effectConfettiPlains + case 11: self = .effectConfettiCity + case 12: self = .effectConfettiTundra + case 13: self = .effectConfettiRainforest default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerBagFull: return 3 - case .errorGiftRedeemed: return 4 + case .effectNone: return 0 + case .effectConfettiBasic: return 1 + case .effectConfettiFire: return 2 + case .effectConfettiWater: return 3 + case .effectConfettiGrass: return 4 + case .effectConfettiRaidBattle: return 5 + case .effectConfettiFriendship: return 6 + case .effectConfettiRocket: return 7 + case .effectFireworksPlain: return 8 + case .effectConfettiFlower: return 9 + case .effectConfettiPlains: return 10 + case .effectConfettiCity: return 11 + case .effectConfettiTundra: return 12 + case .effectConfettiRainforest: return 13 case .UNRECOGNIZED(let i): return i } } } - public init() {} + public enum MusicType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case bgmUnset // = 0 + case bgmEvent // = 101 + case bgmHalloween // = 200 + case bgmGoTour00 // = 201 + case bgmGoTour01 // = 202 + case bgmGoTour02 // = 203 + case bgmGoTour03 // = 204 + case bgmGoTour04 // = 205 + case bgmGoTour05 // = 206 + case bgmGoTour06 // = 207 + case bgmGoTour07 // = 208 + case bgmGoTour08 // = 209 + case bgmGoTour09 // = 210 + case bgmTeamRocketDefault // = 300 + case UNRECOGNIZED(Int) - fileprivate var _rewards: LootProto? = nil + public init() { + self = .bgmUnset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .bgmUnset + case 101: self = .bgmEvent + case 200: self = .bgmHalloween + case 201: self = .bgmGoTour00 + case 202: self = .bgmGoTour01 + case 203: self = .bgmGoTour02 + case 204: self = .bgmGoTour03 + case 205: self = .bgmGoTour04 + case 206: self = .bgmGoTour05 + case 207: self = .bgmGoTour06 + case 208: self = .bgmGoTour07 + case 209: self = .bgmGoTour08 + case 210: self = .bgmGoTour09 + case 300: self = .bgmTeamRocketDefault + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .bgmUnset: return 0 + case .bgmEvent: return 101 + case .bgmHalloween: return 200 + case .bgmGoTour00: return 201 + case .bgmGoTour01: return 202 + case .bgmGoTour02: return 203 + case .bgmGoTour03: return 204 + case .bgmGoTour04: return 205 + case .bgmGoTour05: return 206 + case .bgmGoTour06: return 207 + case .bgmGoTour07: return 208 + case .bgmGoTour08: return 209 + case .bgmGoTour09: return 210 + case .bgmTeamRocketDefault: return 300 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} } #if swift(>=4.2) -extension OpenSponsoredGiftOutProto.Result: CaseIterable { +extension MapDisplaySettingsProto.MapEffect: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OpenSponsoredGiftOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorPlayerBagFull, - .errorGiftRedeemed, + public static var allCases: [MapDisplaySettingsProto.MapEffect] = [ + .effectNone, + .effectConfettiBasic, + .effectConfettiFire, + .effectConfettiWater, + .effectConfettiGrass, + .effectConfettiRaidBattle, + .effectConfettiFriendship, + .effectConfettiRocket, + .effectFireworksPlain, + .effectConfettiFlower, + .effectConfettiPlains, + .effectConfettiCity, + .effectConfettiTundra, + .effectConfettiRainforest, + ] +} + +extension MapDisplaySettingsProto.MusicType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MapDisplaySettingsProto.MusicType] = [ + .bgmUnset, + .bgmEvent, + .bgmHalloween, + .bgmGoTour00, + .bgmGoTour01, + .bgmGoTour02, + .bgmGoTour03, + .bgmGoTour04, + .bgmGoTour05, + .bgmGoTour06, + .bgmGoTour07, + .bgmGoTour08, + .bgmGoTour09, + .bgmTeamRocketDefault, ] } #endif // swift(>=4.2) -public struct OpenSponsoredGiftProto { +public struct MapEventsTelemetry { // 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. - public var encryptedAdToken: Data = Data() + public var mapEventClickID: MapEventsTelemetryIds = .undefinedMapEvent - public var giftToken: Data = Data() + public var fortID: String = String() + + public var guardPokemonLevel: [Int32] = [] + + public var team: Team = .unset + + public var isPlayerInRange: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct OpenTradingOutProto { +public struct MapIconsSettingsProto { // 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. - public var result: OpenTradingOutProto.Result = .unset + public var enableMapExpandableRighthandIcons: Bool = false - public var trading: TradingProto { - get {return _trading ?? TradingProto()} - set {_trading = newValue} + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct MapPokemonProto { + // 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. + + public var spawnpointID: String = String() + + public var encounterID: UInt64 = 0 + + public var pokedexTypeID: Int32 = 0 + + public var expirationTimeMs: Int64 = 0 + + public var latitude: Double = 0 + + public var longitude: Double = 0 + + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} } - /// Returns true if `trading` has been explicitly set. - public var hasTrading: Bool {return self._trading != nil} - /// Clears the value of `trading`. Subsequent reads from it will return its default value. - public mutating func clearTrading() {self._trading = nil} + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +} + +public struct MapProvider { + // 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. + + public var name: String = String() + + public var baseURL: String = String() + + public var queryFormat: String = String() + + public var minTileLevel: Int32 = 0 + + public var maxTileLevel: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum MapType: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorFriendNotFound // = 3 - case errorInvalidPlayerID // = 4 - case errorInvalidState // = 5 - case errorStateHandler // = 6 - case errorTradingExpired // = 7 - case errorTradingCooldown // = 8 - case errorPlayerAlreadyOpened // = 9 - case errorFriendOutOfRange // = 10 - case errorPlayerBelowMinimumLevel // = 11 - case errorPlayerReachedDailyLimit // = 12 - case errorFriendReachedDailyLimit // = 13 - case errorPlayerNotEnoughStardust // = 14 - case errorFriendNotEnoughStardust // = 15 - case errorFriendBelowMinimumLevel // = 16 + case blank // = 3 + case nianticBundle // = 5 + case biomeRaster // = 6 case UNRECOGNIZED(Int) public init() { @@ -95635,22 +94812,9 @@ public struct OpenTradingOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorFriendNotFound - case 4: self = .errorInvalidPlayerID - case 5: self = .errorInvalidState - case 6: self = .errorStateHandler - case 7: self = .errorTradingExpired - case 8: self = .errorTradingCooldown - case 9: self = .errorPlayerAlreadyOpened - case 10: self = .errorFriendOutOfRange - case 11: self = .errorPlayerBelowMinimumLevel - case 12: self = .errorPlayerReachedDailyLimit - case 13: self = .errorFriendReachedDailyLimit - case 14: self = .errorPlayerNotEnoughStardust - case 15: self = .errorFriendNotEnoughStardust - case 16: self = .errorFriendBelowMinimumLevel + case 3: self = .blank + case 5: self = .nianticBundle + case 6: self = .biomeRaster default: self = .UNRECOGNIZED(rawValue) } } @@ -95658,22 +94822,9 @@ public struct OpenTradingOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorFriendNotFound: return 3 - case .errorInvalidPlayerID: return 4 - case .errorInvalidState: return 5 - case .errorStateHandler: return 6 - case .errorTradingExpired: return 7 - case .errorTradingCooldown: return 8 - case .errorPlayerAlreadyOpened: return 9 - case .errorFriendOutOfRange: return 10 - case .errorPlayerBelowMinimumLevel: return 11 - case .errorPlayerReachedDailyLimit: return 12 - case .errorFriendReachedDailyLimit: return 13 - case .errorPlayerNotEnoughStardust: return 14 - case .errorFriendNotEnoughStardust: return 15 - case .errorFriendBelowMinimumLevel: return 16 + case .blank: return 3 + case .nianticBundle: return 5 + case .biomeRaster: return 6 case .UNRECOGNIZED(let i): return i } } @@ -95681,172 +94832,91 @@ public struct OpenTradingOutProto { } public init() {} - - fileprivate var _trading: TradingProto? = nil } #if swift(>=4.2) -extension OpenTradingOutProto.Result: CaseIterable { +extension MapProvider.MapType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OpenTradingOutProto.Result] = [ + public static var allCases: [MapProvider.MapType] = [ .unset, - .success, - .errorUnknown, - .errorFriendNotFound, - .errorInvalidPlayerID, - .errorInvalidState, - .errorStateHandler, - .errorTradingExpired, - .errorTradingCooldown, - .errorPlayerAlreadyOpened, - .errorFriendOutOfRange, - .errorPlayerBelowMinimumLevel, - .errorPlayerReachedDailyLimit, - .errorFriendReachedDailyLimit, - .errorPlayerNotEnoughStardust, - .errorFriendNotEnoughStardust, - .errorFriendBelowMinimumLevel, + .blank, + .nianticBundle, + .biomeRaster, ] } #endif // swift(>=4.2) -public struct OpenTradingProto { - // 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. - - public var playerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct OptOutProto { +public struct MapQueryRequestProto { // 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. - public var categories: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} + public var queryS2CellIds: [UInt64] = [] -public struct OptProto { - // 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. + public var queryS2CellTimestamps: [UInt64] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct Option { +public struct MapQueryResponseProto { // 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. - public var name: String = String() - - public var value: NiaAny { - get {return _value ?? NiaAny()} - set {_value = newValue} - } - /// Returns true if `value` has been explicitly set. - public var hasValue: Bool {return self._value != nil} - /// Clears the value of `value`. Subsequent reads from it will return its default value. - public mutating func clearValue() {self._value = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _value: NiaAny? = nil -} - -public struct OutgoingFriendInviteDisplayProto { - // 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. + public var s2Cells: [MapS2Cell] = [] - public var invite: OutgoingFriendInviteProto { - get {return _invite ?? OutgoingFriendInviteProto()} - set {_invite = newValue} - } - /// Returns true if `invite` has been explicitly set. - public var hasInvite: Bool {return self._invite != nil} - /// Clears the value of `invite`. Subsequent reads from it will return its default value. - public mutating func clearInvite() {self._invite = nil} + public var entities: [MapS2CellEntity] = [] - public var player: PlayerSummaryProto { - get {return _player ?? PlayerSummaryProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} + public var deletedEntities: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _invite: OutgoingFriendInviteProto? = nil - fileprivate var _player: PlayerSummaryProto? = nil } -public struct OutgoingFriendInviteProto { +public struct MapRighthandIconsTelemetry { // 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. - public var status: OutgoingFriendInviteProto.Status = .unset - - public var playerID: String = String() - - public var createdMs: Int64 = 0 - - public var invitationType: InvitationType = .unset - - public var fullName: String = String() + public var mapRighthandIconsEventIds: MapRighthandIconsTelemetry.IconEvents = .undefinedMapRighthandIconEvent - public var niaAccountID: String = String() + public var numberIconsInGrid: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum IconEvents: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case pending // = 1 - case cancelled // = 2 - case declined // = 3 + case undefinedMapRighthandIconEvent // = 0 + case iconGridExpansionButtonAppeared // = 1 + case iconGridNumberColumnsIncreased // = 2 + case iconGridExpandedByClick // = 3 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .undefinedMapRighthandIconEvent } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .pending - case 2: self = .cancelled - case 3: self = .declined + case 0: self = .undefinedMapRighthandIconEvent + case 1: self = .iconGridExpansionButtonAppeared + case 2: self = .iconGridNumberColumnsIncreased + case 3: self = .iconGridExpandedByClick default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .pending: return 1 - case .cancelled: return 2 - case .declined: return 3 + case .undefinedMapRighthandIconEvent: return 0 + case .iconGridExpansionButtonAppeared: return 1 + case .iconGridNumberColumnsIncreased: return 2 + case .iconGridExpandedByClick: return 3 case .UNRECOGNIZED(let i): return i } } @@ -95858,488 +94928,439 @@ public struct OutgoingFriendInviteProto { #if swift(>=4.2) -extension OutgoingFriendInviteProto.Status: CaseIterable { +extension MapRighthandIconsTelemetry.IconEvents: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [OutgoingFriendInviteProto.Status] = [ - .unset, - .pending, - .cancelled, - .declined, + public static var allCases: [MapRighthandIconsTelemetry.IconEvents] = [ + .undefinedMapRighthandIconEvent, + .iconGridExpansionButtonAppeared, + .iconGridNumberColumnsIncreased, + .iconGridExpandedByClick, ] } #endif // swift(>=4.2) -public struct ParticipationProto { +public struct MapS2Cell { // 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. - public var individualDamagePokeballs: Int32 = 0 + public var s2CellID: UInt64 = 0 - public var teamDamagePokeballs: Int32 = 0 + public var s2CellBaseTimestamp: UInt64 = 0 - public var gymOwnershipPokeballs: Int32 = 0 + public var s2CellTimestamp: UInt64 = 0 - public var basePokeballs: Int32 = 0 + public var entityKey: [String] = [] - public var bluePercentage: Double = 0 + public var deletedEntityKey: [String] = [] - public var redPercentage: Double = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var yellowPercentage: Double = 0 + public init() {} +} - public var bonusItemMultiplier: Float = 0 +public struct MapS2CellEntity { + // 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. - public var highestFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + public var key: String = String() - public var highestFriendshipPokeballs: Int32 = 0 + public var timestamp: UInt64 = 0 - public var speedCompletionPokeballs: Int32 = 0 + public var payload: Data = Data() - public var speedCompletionMegaResource: Int32 = 0 + public var newShape: ShapeProto { + get {return _newShape ?? ShapeProto()} + set {_newShape = newValue} + } + /// Returns true if `newShape` has been explicitly set. + public var hasNewShape: Bool {return self._newShape != nil} + /// Clears the value of `newShape`. Subsequent reads from it will return its default value. + public mutating func clearNewShape() {self._newShape = nil} - public var megaResourceCapped: Bool = false + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var fortPowerupPokeballs: Int32 = 0 + public struct Location { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var latitude: Double = 0 + + public var longitude: Double = 0 + + public var altitude: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } public init() {} + + fileprivate var _newShape: ShapeProto? = nil } -public struct PartyPlayInvitationDetails { +public struct MapSettingsProto { // 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. - public var partyID: [Int32] = [] + public var pokemonVisibleRange: Double = 0 - public var inviterID: String = String() + public var pokeNavRangeMeters: Double = 0 - public var inviterNickname: String = String() + public var encounterRangeMeters: Double = 0 - public var inviterAvatar: PlayerAvatarProto { - get {return _inviterAvatar ?? PlayerAvatarProto()} - set {_inviterAvatar = newValue} - } - /// Returns true if `inviterAvatar` has been explicitly set. - public var hasInviterAvatar: Bool {return self._inviterAvatar != nil} - /// Clears the value of `inviterAvatar`. Subsequent reads from it will return its default value. - public mutating func clearInviterAvatar() {self._inviterAvatar = nil} + public var getMapObjectsMinRefreshSeconds: Float = 0 - public var partySeed: Int64 = 0 + public var getMapObjectsMaxRefreshSeconds: Float = 0 + + public var getMapObjectsMinDistanceMeters: Float = 0 + + public var googleMapsApiKey: String = String() + + public var minNearbyHideSightings: Int32 = 0 + + public var enableSpecialWeather: Bool = false + + public var specialWeatherProbability: Float = 0 + + public var googleMapsClientID: String = String() + + public var enableEncounterV2: Bool = false + + public var pokemonDespawnRange: Double = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _inviterAvatar: PlayerAvatarProto? = nil } -public struct PartyPlayLocationProto { +public struct MapTile { // 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. - public var obString: String = String() + public var zoom: Int32 = 0 + + public var x: Int32 = 0 + + public var y: Int32 = 0 - public var obFiled: [OBPartyPlayProtoField] = [] + public var layers: [Layer] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PartyPlayProto { +public struct MapTileBundle { // 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. - public var obListInt32: [Int32] { - get {return _storage._obListInt32} - set {_uniqueStorage()._obListInt32 = newValue} - } - - public var obInt641: Int64 { - get {return _storage._obInt641} - set {_uniqueStorage()._obInt641 = newValue} - } + public var formatVersion: Int32 = 0 - public var obInt642: Int64 { - get {return _storage._obInt642} - set {_uniqueStorage()._obInt642 = newValue} - } + public var tileZoom: Int32 = 0 - public var obInt643: Int64 { - get {return _storage._obInt643} - set {_uniqueStorage()._obInt643 = newValue} - } + public var bundleZoom: Int32 = 0 - public var obInt644: Int64 { - get {return _storage._obInt644} - set {_uniqueStorage()._obInt644 = newValue} - } + public var bundleX: Int32 = 0 - public var id: Int64 { - get {return _storage._id} - set {_uniqueStorage()._id = newValue} - } + public var bundleY: Int32 = 0 - public var status: PartyStatus { - get {return _storage._status} - set {_uniqueStorage()._status = newValue} - } + public var epoch: Int32 = 0 - public var obGlobalSetting: ObNewGlobalSetting15 { - get {return _storage._obGlobalSetting ?? ObNewGlobalSetting15()} - set {_uniqueStorage()._obGlobalSetting = newValue} - } - /// Returns true if `obGlobalSetting` has been explicitly set. - public var hasObGlobalSetting: Bool {return _storage._obGlobalSetting != nil} - /// Clears the value of `obGlobalSetting`. Subsequent reads from it will return its default value. - public mutating func clearObGlobalSetting() {_uniqueStorage()._obGlobalSetting = nil} + public var tiles: [MapTile] = [] - public var obPartyQuest: [ObPartyPlayQuestProto] { - get {return _storage._obPartyQuest} - set {_uniqueStorage()._obPartyQuest = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obInt64: Int64 { - get {return _storage._obInt64} - set {_uniqueStorage()._obInt64 = newValue} - } + public init() {} +} - public var obGm55Settings: GM55SettingsProto { - get {return _storage._obGm55Settings ?? GM55SettingsProto()} - set {_uniqueStorage()._obGm55Settings = newValue} - } - /// Returns true if `obGm55Settings` has been explicitly set. - public var hasObGm55Settings: Bool {return _storage._obGm55Settings != nil} - /// Clears the value of `obGm55Settings`. Subsequent reads from it will return its default value. - public mutating func clearObGm55Settings() {_uniqueStorage()._obGm55Settings = nil} +public struct MapTilesProcessed { + // 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. - public var obField: ObPartyPlayQuest2Proto { - get {return _storage._obField ?? ObPartyPlayQuest2Proto()} - set {_uniqueStorage()._obField = newValue} - } - /// Returns true if `obField` has been explicitly set. - public var hasObField: Bool {return _storage._obField != nil} - /// Clears the value of `obField`. Subsequent reads from it will return its default value. - public mutating func clearObField() {_uniqueStorage()._obField = nil} + public var numTiles: Int32 = 0 - public var obOthers: [OBOtherPartyMode] { - get {return _storage._obOthers} - set {_uniqueStorage()._obOthers = newValue} - } + public var queueTimeMs: Int64 = 0 - public var obOther: OBOtherParty { - get {return _storage._obOther ?? OBOtherParty()} - set {_uniqueStorage()._obOther = newValue} - } - /// Returns true if `obOther` has been explicitly set. - public var hasObOther: Bool {return _storage._obOther != nil} - /// Clears the value of `obOther`. Subsequent reads from it will return its default value. - public mutating func clearObOther() {_uniqueStorage()._obOther = nil} + public var buildTimeMs: Int64 = 0 - public var obProtoFlied: [OBOtherPartyUnkProto] { - get {return _storage._obProtoFlied} - set {_uniqueStorage()._obProtoFlied = newValue} - } + public var mainThreadBuildTimeMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct PartyRecommendationSettingsProto { +public struct MapsClientTelemetryClientSettingsProto { // 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. - public var mode: PartyRecommendationSettingsProto.PartyRcommendationMode = .unset + public var isUploadEnabled: Bool = false - public var variance: Float = 0 + public var maxUploadSizeInBytes: Int64 = 0 - public var thirdMoveWeight: Float = 0 + public var updateIntervalInSec: Int64 = 0 - public var megaEvoCombatRatingScale: Float = 0 + public var settingsUpdateIntervalInSec: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var maxEnvelopeQueueSize: Int64 = 0 - public enum PartyRcommendationMode: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case partyRecommendationMode1 // = 1 - case partyRecommendationMode2 // = 2 - case partyRecommendationMode3 // = 3 - case partyRecommendationMode4 // = 4 - case UNRECOGNIZED(Int) + public var samplingProbability: Double = 0 - public init() { - self = .unset - } + public var usePlayerBasedSampling: Bool = false - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .partyRecommendationMode1 - case 2: self = .partyRecommendationMode2 - case 3: self = .partyRecommendationMode3 - case 4: self = .partyRecommendationMode4 - default: self = .UNRECOGNIZED(rawValue) - } - } + public var playerHash: Double = 0 - public var rawValue: Int { - switch self { - case .unset: return 0 - case .partyRecommendationMode1: return 1 - case .partyRecommendationMode2: return 2 - case .partyRecommendationMode3: return 3 - case .partyRecommendationMode4: return 4 - case .UNRECOGNIZED(let i): return i - } - } + public var playerExternalOmniID: String = String() - } + public var disableOmniSending: Bool = false - public init() {} -} + public var specialSamplingProbabilityMap: Dictionary = [:] -#if swift(>=4.2) + public var playerExternalUaID: String = String() -extension PartyRecommendationSettingsProto.PartyRcommendationMode: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PartyRecommendationSettingsProto.PartyRcommendationMode] = [ - .unset, - .partyRecommendationMode1, - .partyRecommendationMode2, - .partyRecommendationMode3, - .partyRecommendationMode4, - ] -} + public var playerExternalInAppSurveyID: String = String() -#endif // swift(>=4.2) + public var playerExternalArdkID: String = String() -public struct PasscodeRedeemTelemetry { + public var enableExperimentalFeatures: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct MapsClientTelemetryCommonFilterProto { // 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. - public var result: String = String() + public var applicationIdentifier: String = String() - public var passcode: String = String() + public var operatingSystemName: String = String() - public var countryCode: String = String() + public var deviceModel: String = String() + + public var localeCountryCode: String = String() + + public var localeLanguageCode: String = String() + + public var samplingProbability: Double = 0 + + public var qualityLevel: String = String() + + public var networkConnectivityType: String = String() + + public var gameContext: String = String() public var languageCode: String = String() - public var bundleVersion: String = String() + public var timezone: String = String() + + public var ipCountryCode: String = String() + + public var graphicsDeviceVendor: String = String() + + public var graphicsDeviceName: String = String() + + public var graphicsDeviceType: String = String() + + public var graphicsShaderLevel: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PasscodeRedemptionFlowRequest { +public struct MapsClientTelemetryOmniProto { // 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. - public var passcode: String = String() + public var telemetryEvent: OneOf_TelemetryEvent? { + get {return _storage._telemetryEvent} + set {_uniqueStorage()._telemetryEvent = newValue} + } - public var poiGuid: String = String() + public var assertionFailed: AssertionFailed { + get { + if case .assertionFailed(let v)? = _storage._telemetryEvent {return v} + return AssertionFailed() + } + set {_uniqueStorage()._telemetryEvent = .assertionFailed(newValue)} + } - public var devicePlatform: PasscodeRedemptionFlowRequest.DevicePlatform = .platformUnknown + public var logMessage: LogMessage { + get { + if case .logMessage(let v)? = _storage._telemetryEvent {return v} + return LogMessage() + } + set {_uniqueStorage()._telemetryEvent = .logMessage(newValue)} + } - public var carrier: String = String() + public var maptilesProcessed: MapTilesProcessed { + get { + if case .maptilesProcessed(let v)? = _storage._telemetryEvent {return v} + return MapTilesProcessed() + } + set {_uniqueStorage()._telemetryEvent = .maptilesProcessed(newValue)} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var timestampMs: Int64 { + get {return _storage._timestampMs} + set {_uniqueStorage()._timestampMs = newValue} + } - public enum DevicePlatform: SwiftProtobuf.Enum { - public typealias RawValue = Int - case platformUnknown // = 0 - case platformAndroid // = 1 - case platformIos // = 2 - case platformWeb // = 3 - case UNRECOGNIZED(Int) + public var commonFilters: MapsTelemetryCommonFilterProto { + get {return _storage._commonFilters ?? MapsTelemetryCommonFilterProto()} + set {_uniqueStorage()._commonFilters = newValue} + } + /// Returns true if `commonFilters` has been explicitly set. + public var hasCommonFilters: Bool {return _storage._commonFilters != nil} + /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. + public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} - public init() { - self = .platformUnknown - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .platformUnknown - case 1: self = .platformAndroid - case 2: self = .platformIos - case 3: self = .platformWeb - default: self = .UNRECOGNIZED(rawValue) - } - } + public enum OneOf_TelemetryEvent: Equatable { + case assertionFailed(AssertionFailed) + case logMessage(LogMessage) + case maptilesProcessed(MapTilesProcessed) - public var rawValue: Int { - switch self { - case .platformUnknown: return 0 - case .platformAndroid: return 1 - case .platformIos: return 2 - case .platformWeb: return 3 - case .UNRECOGNIZED(let i): return i + #if !swift(>=4.1) + public static func ==(lhs: MapsClientTelemetryOmniProto.OneOf_TelemetryEvent, rhs: MapsClientTelemetryOmniProto.OneOf_TelemetryEvent) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.assertionFailed, .assertionFailed): return { + guard case .assertionFailed(let l) = lhs, case .assertionFailed(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.logMessage, .logMessage): return { + guard case .logMessage(let l) = lhs, case .logMessage(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.maptilesProcessed, .maptilesProcessed): return { + guard case .maptilesProcessed(let l) = lhs, case .maptilesProcessed(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false } } - + #endif } public init() {} -} - -#if swift(>=4.2) -extension PasscodeRedemptionFlowRequest.DevicePlatform: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PasscodeRedemptionFlowRequest.DevicePlatform] = [ - .platformUnknown, - .platformAndroid, - .platformIos, - .platformWeb, - ] + fileprivate var _storage = _StorageClass.defaultInstance } -#endif // swift(>=4.2) - -public struct PasscodeRedemptionFlowResponse { +public struct MapsClientTelemetryRecordResult { // 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. - public var status: PasscodeRedemptionFlowResponse.Status = .unknown - - public var inventoryCheckFailedReason: Int32 = 0 - - public var rewards: [PasscodeRedemptionFlowResponse.Reward] = [] + public var recordID: String = String() - public var passcodeBatchID: String = String() + public var status: MapsClientTelemetryRecordResult.Status = .unset - public var inGameReward: Data = Data() + public var telemetryTypeName: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case unknown // = 0 - case success // = 1 - case alreadyRedeemed // = 2 - case failedInventoryCheck // = 3 - case outOfRange // = 4 - case wrongLocation // = 5 - case rateLimited // = 6 - case invalid // = 7 - case fullyRedeemed // = 8 - case expired // = 9 + case unset // = 0 + case success // = 20 + case errorFamilyUnset // = 21 + case errorFamilyInvalid // = 22 + case errorEncodingInvalid // = 23 + case errorUnsetMetricID // = 24 + case errorEventTelemetryUndefined // = 25 case UNRECOGNIZED(Int) public init() { - self = .unknown + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unknown - case 1: self = .success - case 2: self = .alreadyRedeemed - case 3: self = .failedInventoryCheck - case 4: self = .outOfRange - case 5: self = .wrongLocation - case 6: self = .rateLimited - case 7: self = .invalid - case 8: self = .fullyRedeemed - case 9: self = .expired + case 0: self = .unset + case 20: self = .success + case 21: self = .errorFamilyUnset + case 22: self = .errorFamilyInvalid + case 23: self = .errorEncodingInvalid + case 24: self = .errorUnsetMetricID + case 25: self = .errorEventTelemetryUndefined default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unknown: return 0 - case .success: return 1 - case .alreadyRedeemed: return 2 - case .failedInventoryCheck: return 3 - case .outOfRange: return 4 - case .wrongLocation: return 5 - case .rateLimited: return 6 - case .invalid: return 7 - case .fullyRedeemed: return 8 - case .expired: return 9 + case .unset: return 0 + case .success: return 20 + case .errorFamilyUnset: return 21 + case .errorFamilyInvalid: return 22 + case .errorEncodingInvalid: return 23 + case .errorUnsetMetricID: return 24 + case .errorEventTelemetryUndefined: return 25 case .UNRECOGNIZED(let i): return i } } } - public struct Reward { - // 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. - - public var item: String = String() - - public var count: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} } #if swift(>=4.2) -extension PasscodeRedemptionFlowResponse.Status: CaseIterable { +extension MapsClientTelemetryRecordResult.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PasscodeRedemptionFlowResponse.Status] = [ - .unknown, + public static var allCases: [MapsClientTelemetryRecordResult.Status] = [ + .unset, .success, - .alreadyRedeemed, - .failedInventoryCheck, - .outOfRange, - .wrongLocation, - .rateLimited, - .invalid, - .fullyRedeemed, - .expired, + .errorFamilyUnset, + .errorFamilyInvalid, + .errorEncodingInvalid, + .errorUnsetMetricID, + .errorEventTelemetryUndefined, ] } #endif // swift(>=4.2) -public struct PasscodeRewardsLogEntry { +public struct MapsClientTelemetryResponseProto { // 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. - public var result: PasscodeRewardsLogEntry.Result = .unset + public var status: MapsClientTelemetryResponseProto.Status = .unset - public var passcode: String = String() + public var rowsWritten: Int32 = 0 - public var rewards: RedeemPasscodeRewardProto { - get {return _rewards ?? RedeemPasscodeRewardProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} + public var nonretryableFailures: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Result: SwiftProtobuf.Enum { + public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 case success // = 1 + case failure // = 2 + case partialFailure // = 3 + case invalidRequest // = 4 case UNRECOGNIZED(Int) public init() { @@ -96350,6 +95371,9 @@ public struct PasscodeRewardsLogEntry { switch rawValue { case 0: self = .unset case 1: self = .success + case 2: self = .failure + case 3: self = .partialFailure + case 4: self = .invalidRequest default: self = .UNRECOGNIZED(rawValue) } } @@ -96358,6 +95382,9 @@ public struct PasscodeRewardsLogEntry { switch self { case .unset: return 0 case .success: return 1 + case .failure: return 2 + case .partialFailure: return 3 + case .invalidRequest: return 4 case .UNRECOGNIZED(let i): return i } } @@ -96365,949 +95392,1397 @@ public struct PasscodeRewardsLogEntry { } public init() {} - - fileprivate var _rewards: RedeemPasscodeRewardProto? = nil } #if swift(>=4.2) -extension PasscodeRewardsLogEntry.Result: CaseIterable { +extension MapsClientTelemetryResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PasscodeRewardsLogEntry.Result] = [ + public static var allCases: [MapsClientTelemetryResponseProto.Status] = [ .unset, .success, + .failure, + .partialFailure, + .invalidRequest, ] } #endif // swift(>=4.2) -public struct PasscodeSettingsProto { +public struct MapsPlatformPlayerInfo { // 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. - public var showPasscodeInStore: Bool = false + public var identityProvider: String = String() - public var usePasscodeV2: Bool = false + public var profileCreationTimestampMs: Int64 = 0 + + public var playerLevel: Int32 = 0 + + public var teamID: Int32 = 0 + + public var lifetimeKmWalked: Double = 0 + + public var lifetimeStepsWalked: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PercentScrolledTelemetry { +public struct MapsTelemetryAttribute { // 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. - public var percentScrolledTelemetryDouble: Double = 0 + public var field: MapsTelemetryField { + get {return _field ?? MapsTelemetryField()} + set {_field = newValue} + } + /// Returns true if `field` has been explicitly set. + public var hasField: Bool {return self._field != nil} + /// Clears the value of `field`. Subsequent reads from it will return its default value. + public mutating func clearField() {self._field = nil} + + public var value: MapsTelemetryValue { + get {return _value ?? MapsTelemetryValue()} + set {_value = newValue} + } + /// Returns true if `value` has been explicitly set. + public var hasValue: Bool {return self._value != nil} + /// Clears the value of `value`. Subsequent reads from it will return its default value. + public mutating func clearValue() {self._value = nil} - public var percentScrolledTelemetryString: String = String() + public var timestamp: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct Label { + // 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. + + public var field: MapsTelemetryField { + get {return _field ?? MapsTelemetryField()} + set {_field = newValue} + } + /// Returns true if `field` has been explicitly set. + public var hasField: Bool {return self._field != nil} + /// Clears the value of `field`. Subsequent reads from it will return its default value. + public mutating func clearField() {self._field = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _field: MapsTelemetryField? = nil + } + public init() {} + + fileprivate var _field: MapsTelemetryField? = nil + fileprivate var _value: MapsTelemetryValue? = nil } -public struct PermissionsFlowTelemetry { +public struct MapsTelemetryAttributeRecordProto { // 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. - public var permissionContextTelemetryIds: PermissionContextTelemetryIds = .undefinedPermissionContext + public var metadata: MapsTelemetryAttributeRecordProto.OneOf_Metadata? = nil - public var deviceServiceTelemetryIds: DeviceServiceTelemetryIds = .undefinedDeviceService + public var common: MapsTelemetryMetadataProto { + get { + if case .common(let v)? = metadata {return v} + return MapsTelemetryMetadataProto() + } + set {metadata = .common(newValue)} + } - public var permissionFlowStepTelemetryIds: PermissionFlowStepTelemetryIds = .undefinedPermissionFlowStep + public var compressedCommon: Data { + get { + if case .compressedCommon(let v)? = metadata {return v} + return Data() + } + set {metadata = .compressedCommon(newValue)} + } - public var success: Bool = false + public var attribute: MapsTelemetryAttribute { + get {return _attribute ?? MapsTelemetryAttribute()} + set {_attribute = newValue} + } + /// Returns true if `attribute` has been explicitly set. + public var hasAttribute: Bool {return self._attribute != nil} + /// Clears the value of `attribute`. Subsequent reads from it will return its default value. + public mutating func clearAttribute() {self._attribute = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_Metadata: Equatable { + case common(MapsTelemetryMetadataProto) + case compressedCommon(Data) + + #if !swift(>=4.1) + public static func ==(lhs: MapsTelemetryAttributeRecordProto.OneOf_Metadata, rhs: MapsTelemetryAttributeRecordProto.OneOf_Metadata) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.common, .common): return { + guard case .common(let l) = lhs, case .common(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.compressedCommon, .compressedCommon): return { + guard case .compressedCommon(let l) = lhs, case .compressedCommon(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + public init() {} + + fileprivate var _attribute: MapsTelemetryAttribute? = nil } -public struct PgoAsyncFileUploadCompleteProto { +public struct MapsTelemetryBatchProto { // 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. - public var powerUpPointsAdded: Int32 = 0 - - public var powerUpProgressPoints: Int32 = 0 - - public var powerUpLevelExpirationMs: Int64 = 0 + public var environmentID: String = String() - public var nextFortCloseMs: Int64 = 0 + public var events: [MapsTelemetryEventRecordProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PhoneNumberCountryProto { +public struct MapsTelemetryCommonFilterProto { // 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. - public var englishName: String = String() + public var applicationIdentifier: String = String() - public var localizedName: String = String() + public var operatingSystemName: String = String() - public var countryCode: String = String() + public var deviceModel: String = String() - public var callingCode: String = String() + public var localeCountryCode: String = String() + + public var localeLanguageCode: String = String() + + public var qualityLevel: String = String() + + public var networkConnectivityType: String = String() + + public var gameContext: String = String() + + public var timezone: String = String() + + public var clientVersion: String = String() + + public var sdkVersion: String = String() + + public var unityVersion: String = String() + + public var graphicsDeviceVendor: String = String() + + public var graphicsDeviceName: String = String() + + public var graphicsDeviceType: String = String() + + public var graphicsShaderLevel: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PhotoRecord { +public struct MapsTelemetryEventRecordProto { // 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. - public var creationTimeMs: Int64 = 0 + public var message: MapsTelemetryEventRecordProto.OneOf_Message? = nil - public var transientPhotoURL: String = String() + public var encodedMessage: Data { + get { + if case .encodedMessage(let v)? = message {return v} + return Data() + } + set {message = .encodedMessage(newValue)} + } - public var photoID: String = String() + public var compressedMessage: Data { + get { + if case .compressedMessage(let v)? = message {return v} + return Data() + } + set {message = .compressedMessage(newValue)} + } - public var status: PhotoRecord.Status = .unset + public var metadata: MapsTelemetryEventRecordProto.OneOf_Metadata? = nil - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var common: MapsTelemetryMetadataProto { + get { + if case .common(let v)? = metadata {return v} + return MapsTelemetryMetadataProto() + } + set {metadata = .common(newValue)} + } - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case photoFlagged // = 2 - case errorUnknown // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset + public var compressedCommon: Data { + get { + if case .compressedCommon(let v)? = metadata {return v} + return Data() } + set {metadata = .compressedCommon(newValue)} + } - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .photoFlagged - case 3: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) + public var eventName: String = String() + + public var facetDetailName: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Message: Equatable { + case encodedMessage(Data) + case compressedMessage(Data) + + #if !swift(>=4.1) + public static func ==(lhs: MapsTelemetryEventRecordProto.OneOf_Message, rhs: MapsTelemetryEventRecordProto.OneOf_Message) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.encodedMessage, .encodedMessage): return { + guard case .encodedMessage(let l) = lhs, case .encodedMessage(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.compressedMessage, .compressedMessage): return { + guard case .compressedMessage(let l) = lhs, case .compressedMessage(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false } } + #endif + } - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .photoFlagged: return 2 - case .errorUnknown: return 3 - case .UNRECOGNIZED(let i): return i + public enum OneOf_Metadata: Equatable { + case common(MapsTelemetryMetadataProto) + case compressedCommon(Data) + + #if !swift(>=4.1) + public static func ==(lhs: MapsTelemetryEventRecordProto.OneOf_Metadata, rhs: MapsTelemetryEventRecordProto.OneOf_Metadata) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.common, .common): return { + guard case .common(let l) = lhs, case .common(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.compressedCommon, .compressedCommon): return { + guard case .compressedCommon(let l) = lhs, case .compressedCommon(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false } } - + #endif } public init() {} } -#if swift(>=4.2) - -extension PhotoRecord.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PhotoRecord.Status] = [ - .unset, - .success, - .photoFlagged, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct PhotoSettingsProto { +public struct MapsTelemetryField { // 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. - public var resolutionSaveMultiplier: Float = 0 + public var entityName: String = String() + + public var fieldPath: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PhotobombCreateDetail { +public struct MapsTelemetryKey { // 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. - public var caughtInPhotobomb: Bool = false + public var keyName: String = String() + + public var value: MapsTelemetryValue { + get {return _value ?? MapsTelemetryValue()} + set {_value = newValue} + } + /// Returns true if `value` has been explicitly set. + public var hasValue: Bool {return self._value != nil} + /// Clears the value of `value`. Subsequent reads from it will return its default value. + public mutating func clearValue() {self._value = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _value: MapsTelemetryValue? = nil } -public struct PingRequestProto { +public struct MapsTelemetryMetadataProto { // 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. - public var responseSizeBytes: Int32 = 0 + public var userID: String { + get {return _storage._userID} + set {_uniqueStorage()._userID = newValue} + } - public var randomRequestBytes: String = String() + public var sessionID: Int64 { + get {return _storage._sessionID} + set {_uniqueStorage()._sessionID = newValue} + } - public var useCacheForRandomRequestBytes: Bool = false + public var recordID: String { + get {return _storage._recordID} + set {_uniqueStorage()._recordID = newValue} + } - public var returnValue: String = String() + public var telemetryScopeID: MapsTelemetryMetadataProto.TelemetryScopeId { + get {return _storage._telemetryScopeID} + set {_uniqueStorage()._telemetryScopeID = newValue} + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var isQueryable: Bool { + get {return _storage._isQueryable} + set {_uniqueStorage()._isQueryable = newValue} + } - public init() {} -} + public var keyvalueColumn: String { + get {return _storage._keyvalueColumn} + set {_uniqueStorage()._keyvalueColumn = newValue} + } -public struct PingResponseProto { - // 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. + public var processingAttemptsCount: UInt32 { + get {return _storage._processingAttemptsCount} + set {_uniqueStorage()._processingAttemptsCount = newValue} + } - public var userInfo: String = String() + public var pubSubMessageID: String { + get {return _storage._pubSubMessageID} + set {_uniqueStorage()._pubSubMessageID = newValue} + } - public var serverInfo: String = String() + public var sourcePublishedTimestampMillis: Int64 { + get {return _storage._sourcePublishedTimestampMillis} + set {_uniqueStorage()._sourcePublishedTimestampMillis = newValue} + } - public var randomResponseBytes: String = String() + public var anfePublishedTimestampMillis: Int64 { + get {return _storage._anfePublishedTimestampMillis} + set {_uniqueStorage()._anfePublishedTimestampMillis = newValue} + } - public var returnValue: String = String() + public var platformPlayerInfo: MapsPlatformPlayerInfo { + get {return _storage._platformPlayerInfo ?? MapsPlatformPlayerInfo()} + set {_uniqueStorage()._platformPlayerInfo = newValue} + } + /// Returns true if `platformPlayerInfo` has been explicitly set. + public var hasPlatformPlayerInfo: Bool {return _storage._platformPlayerInfo != nil} + /// Clears the value of `platformPlayerInfo`. Subsequent reads from it will return its default value. + public mutating func clearPlatformPlayerInfo() {_uniqueStorage()._platformPlayerInfo = nil} + + public var deviceInfo: MapsClientTelemetryCommonFilterProto { + get {return _storage._deviceInfo ?? MapsClientTelemetryCommonFilterProto()} + set {_uniqueStorage()._deviceInfo = newValue} + } + /// Returns true if `deviceInfo` has been explicitly set. + public var hasDeviceInfo: Bool {return _storage._deviceInfo != nil} + /// Clears the value of `deviceInfo`. Subsequent reads from it will return its default value. + public mutating func clearDeviceInfo() {_uniqueStorage()._deviceInfo = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum TelemetryScopeId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case platformServer // = 1 + case platformClient // = 2 + case gameServer // = 3 + case gameClient // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .platformServer + case 2: self = .platformClient + case 3: self = .gameServer + case 4: self = .gameClient + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .platformServer: return 1 + case .platformClient: return 2 + case .gameServer: return 3 + case .gameClient: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance } -public struct PixelPointProto { +#if swift(>=4.2) + +extension MapsTelemetryMetadataProto.TelemetryScopeId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MapsTelemetryMetadataProto.TelemetryScopeId] = [ + .unset, + .platformServer, + .platformClient, + .gameServer, + .gameClient, + ] +} + +#endif // swift(>=4.2) + +public struct MapsTelemetryMetricRecordProto { // 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. - public var pixelX: Int32 = 0 + public var metadata: MapsTelemetryMetricRecordProto.OneOf_Metadata? = nil + + public var common: MapsTelemetryMetadataProto { + get { + if case .common(let v)? = metadata {return v} + return MapsTelemetryMetadataProto() + } + set {metadata = .common(newValue)} + } - public var pixelY: Int32 = 0 + public var compressedCommon: Data { + get { + if case .compressedCommon(let v)? = metadata {return v} + return Data() + } + set {metadata = .compressedCommon(newValue)} + } - public var zoomLevel: Int32 = 0 + public var value: MapsTelemetryMetricRecordProto.OneOf_Value? = nil - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var long: Int64 { + get { + if case .long(let v)? = value {return v} + return 0 + } + set {value = .long(newValue)} + } - public init() {} -} + public var double: Double { + get { + if case .double(let v)? = value {return v} + return 0 + } + set {value = .double(newValue)} + } -public struct PlaceholderMessage { - // 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. + public var boolean: Bool { + get { + if case .boolean(let v)? = value {return v} + return false + } + set {value = .boolean(newValue)} + } - public var placeholder: String = String() + public var metricID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum OneOf_Metadata: Equatable { + case common(MapsTelemetryMetadataProto) + case compressedCommon(Data) -public struct PlacementAccuracy { - // 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. + #if !swift(>=4.1) + public static func ==(lhs: MapsTelemetryMetricRecordProto.OneOf_Metadata, rhs: MapsTelemetryMetricRecordProto.OneOf_Metadata) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.common, .common): return { + guard case .common(let l) = lhs, case .common(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.compressedCommon, .compressedCommon): return { + guard case .compressedCommon(let l) = lhs, case .compressedCommon(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum OneOf_Value: Equatable { + case long(Int64) + case double(Double) + case boolean(Bool) + + #if !swift(>=4.1) + public static func ==(lhs: MapsTelemetryMetricRecordProto.OneOf_Value, rhs: MapsTelemetryMetricRecordProto.OneOf_Value) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.long, .long): return { + guard case .long(let l) = lhs, case .long(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.double, .double): return { + guard case .double(let l) = lhs, case .double(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.boolean, .boolean): return { + guard case .boolean(let l) = lhs, case .boolean(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } - public var horizontalSdmeters: Float = 0 + public enum Kind: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unspecified // = 0 + case gauge // = 1 + case delta // = 2 + case cumulative // = 3 + case UNRECOGNIZED(Int) - public var verticalSdmeters: Float = 0 + public init() { + self = .unspecified + } - public var horizontalAngleSdrads: Float = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unspecified + case 1: self = .gauge + case 2: self = .delta + case 3: self = .cumulative + default: self = .UNRECOGNIZED(rawValue) + } + } - public var verticalAngleSdrads: Float = 0 + public var rawValue: Int { + switch self { + case .unspecified: return 0 + case .gauge: return 1 + case .delta: return 2 + case .cumulative: return 3 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct PlannedDowntimeSettingsProto { +#if swift(>=4.2) + +extension MapsTelemetryMetricRecordProto.Kind: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MapsTelemetryMetricRecordProto.Kind] = [ + .unspecified, + .gauge, + .delta, + .cumulative, + ] +} + +#endif // swift(>=4.2) + +public struct MapsTelemetryRequestProto { // 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. - public var downtimeTimestampMs: Int64 = 0 + public var apiVersion: String = String() - public var noActionsWindowSecFromDowntime: Int64 = 0 + public var messageVersion: String = String() + + public var telemetryBatch: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlatypusRolloutSettingsProto { +public struct MapsTelemetryValue { // 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. - public var buddyV2MinPlayerLevel: Int32 = 0 + public var value: MapsTelemetryValue.OneOf_Value? = nil - public var buddyMultiplayerMinPlayerLevel: Int32 = 0 + public var intValue: Int64 { + get { + if case .intValue(let v)? = value {return v} + return 0 + } + set {value = .intValue(newValue)} + } - public var enableMonodepth: Bool = false + public var doubleValue: Double { + get { + if case .doubleValue(let v)? = value {return v} + return 0 + } + set {value = .doubleValue(newValue)} + } - public var wallabySettings: WallabySettingsProto { - get {return _wallabySettings ?? WallabySettingsProto()} - set {_wallabySettings = newValue} + public var stringValue: String { + get { + if case .stringValue(let v)? = value {return v} + return String() + } + set {value = .stringValue(newValue)} + } + + public var boolValue: Bool { + get { + if case .boolValue(let v)? = value {return v} + return false + } + set {value = .boolValue(newValue)} } - /// Returns true if `wallabySettings` has been explicitly set. - public var hasWallabySettings: Bool {return self._wallabySettings != nil} - /// Clears the value of `wallabySettings`. Subsequent reads from it will return its default value. - public mutating func clearWallabySettings() {self._wallabySettings = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} + public enum OneOf_Value: Equatable { + case intValue(Int64) + case doubleValue(Double) + case stringValue(String) + case boolValue(Bool) - fileprivate var _wallabySettings: WallabySettingsProto? = nil + #if !swift(>=4.1) + public static func ==(lhs: MapsTelemetryValue.OneOf_Value, rhs: MapsTelemetryValue.OneOf_Value) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.intValue, .intValue): return { + guard case .intValue(let l) = lhs, case .intValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.doubleValue, .doubleValue): return { + guard case .doubleValue(let l) = lhs, case .doubleValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.stringValue, .stringValue): return { + guard case .stringValue(let l) = lhs, case .stringValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.boolValue, .boolValue): return { + guard case .boolValue(let l) = lhs, case .boolValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} } -public struct PlayerAttributeRewardProto { +public struct MarkMilestoneAsViewedOutProto { // 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. - public var key: String = String() + public var status: MarkMilestoneAsViewedOutProto.Status = .unset - public var value: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var overwriteExistingAttribute: Bool = false + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorDisabled // = 2 + case errorMilestoneNotFound // = 3 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorDisabled + case 3: self = .errorMilestoneNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorDisabled: return 2 + case .errorMilestoneNotFound: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } public init() {} } -public struct PlayerAttributesProto { +#if swift(>=4.2) + +extension MarkMilestoneAsViewedOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MarkMilestoneAsViewedOutProto.Status] = [ + .unset, + .success, + .errorDisabled, + .errorMilestoneNotFound, + ] +} + +#endif // swift(>=4.2) + +public struct MarkMilestoneAsViewedProto { // 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. - public var attributes: Dictionary = [:] + public var referrerMilestonesToMark: [MarkMilestoneAsViewedProto.MilestoneLookupProto] = [] + + public var refereeMilestonesToMark: [MarkMilestoneAsViewedProto.MilestoneLookupProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() + public struct MilestoneLookupProto { + // 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. + + public var playerID: String = String() + + public var milestoneID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + public init() {} } -public struct PlayerAvatarProto { +public struct MarkNewsfeedReadResponse { // 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. - public var skin: Int32 { - get {return _storage._skin} - set {_uniqueStorage()._skin = newValue} - } + public var result: MarkNewsfeedReadResponse.Result = .unset - public var hair: Int32 { - get {return _storage._hair} - set {_uniqueStorage()._hair = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var shirt: Int32 { - get {return _storage._shirt} - set {_uniqueStorage()._shirt = newValue} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case internalError // = 2 + case channelNotDefined // = 3 + case emptyNewsfeedList // = 4 + case emptyPlayerID // = 5 + case emptyAppID // = 6 + case UNRECOGNIZED(Int) - public var pants: Int32 { - get {return _storage._pants} - set {_uniqueStorage()._pants = newValue} - } + public init() { + self = .unset + } - public var hat: Int32 { - get {return _storage._hat} - set {_uniqueStorage()._hat = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .internalError + case 3: self = .channelNotDefined + case 4: self = .emptyNewsfeedList + case 5: self = .emptyPlayerID + case 6: self = .emptyAppID + default: self = .UNRECOGNIZED(rawValue) + } + } - public var shoes: Int32 { - get {return _storage._shoes} - set {_uniqueStorage()._shoes = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .internalError: return 2 + case .channelNotDefined: return 3 + case .emptyNewsfeedList: return 4 + case .emptyPlayerID: return 5 + case .emptyAppID: return 6 + case .UNRECOGNIZED(let i): return i + } + } - public var avatar: Int32 { - get {return _storage._avatar} - set {_uniqueStorage()._avatar = newValue} } - public var eyes: Int32 { - get {return _storage._eyes} - set {_uniqueStorage()._eyes = newValue} - } + public init() {} +} - public var backpack: Int32 { - get {return _storage._backpack} - set {_uniqueStorage()._backpack = newValue} - } +#if swift(>=4.2) - public var avatarHair: String { - get {return _storage._avatarHair} - set {_uniqueStorage()._avatarHair = newValue} - } +extension MarkNewsfeedReadResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MarkNewsfeedReadResponse.Result] = [ + .unset, + .success, + .internalError, + .channelNotDefined, + .emptyNewsfeedList, + .emptyPlayerID, + .emptyAppID, + ] +} - public var avatarShirt: String { - get {return _storage._avatarShirt} - set {_uniqueStorage()._avatarShirt = newValue} - } +#endif // swift(>=4.2) - public var avatarPants: String { - get {return _storage._avatarPants} - set {_uniqueStorage()._avatarPants = newValue} - } +public struct MarkReadNewsArticleOutProto { + // 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. - public var avatarHat: String { - get {return _storage._avatarHat} - set {_uniqueStorage()._avatarHat = newValue} - } + public var result: MarkReadNewsArticleOutProto.Result = .unset - public var avatarShoes: String { - get {return _storage._avatarShoes} - set {_uniqueStorage()._avatarShoes = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var avatarEyes: String { - get {return _storage._avatarEyes} - set {_uniqueStorage()._avatarEyes = newValue} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case noNewsFound // = 2 + case UNRECOGNIZED(Int) - public var avatarBackpack: String { - get {return _storage._avatarBackpack} - set {_uniqueStorage()._avatarBackpack = newValue} - } + public init() { + self = .unset + } - public var avatarGloves: String { - get {return _storage._avatarGloves} - set {_uniqueStorage()._avatarGloves = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .noNewsFound + default: self = .UNRECOGNIZED(rawValue) + } + } - public var avatarSocks: String { - get {return _storage._avatarSocks} - set {_uniqueStorage()._avatarSocks = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .noNewsFound: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var avatarBelt: String { - get {return _storage._avatarBelt} - set {_uniqueStorage()._avatarBelt = newValue} } - public var avatarGlasses: String { - get {return _storage._avatarGlasses} - set {_uniqueStorage()._avatarGlasses = newValue} - } + public init() {} +} - public var avatarNecklace: String { - get {return _storage._avatarNecklace} - set {_uniqueStorage()._avatarNecklace = newValue} - } +#if swift(>=4.2) - public var avatarSkin: String { - get {return _storage._avatarSkin} - set {_uniqueStorage()._avatarSkin = newValue} - } +extension MarkReadNewsArticleOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MarkReadNewsArticleOutProto.Result] = [ + .unset, + .success, + .noNewsFound, + ] +} - public var avatarPose: String { - get {return _storage._avatarPose} - set {_uniqueStorage()._avatarPose = newValue} - } +#endif // swift(>=4.2) - public var avatarFace: String { - get {return _storage._avatarFace} - set {_uniqueStorage()._avatarFace = newValue} - } +public struct MarkReadNewsArticleProto { + // 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. - public var avatarProp: String { - get {return _storage._avatarProp} - set {_uniqueStorage()._avatarProp = newValue} - } + public var newsIds: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct PlayerBadgeProto { +public struct MarkTutorialCompleteOutProto { // 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. - public var badgeType: HoloBadgeType = .badgeUnset - - public var rank: Int32 = 0 - - public var startValue: Int32 = 0 - - public var endValue: Int32 = 0 + public var success: Bool = false - public var currentValue: Double = 0 + public var player: ClientPlayerProto { + get {return _player ?? ClientPlayerProto()} + set {_player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _player: ClientPlayerProto? = nil } -public struct PlayerCameraProto { +public struct MarkTutorialCompleteProto { // 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. - public var defaultCamera: Bool = false + public var tutorialComplete: [TutorialCompletion] = [] + + public var sendMarketingEmails: Bool = false + + public var sendPushNotifications: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerCombatBadgeStatsProto { +public struct MarketingTelemetryNewsfeedEvent { // 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. - public var numWon: Int32 = 0 - - public var numTotal: Int32 = 0 + public var eventType: MarketingTelemetryNewsfeedEvent.NewsfeedEventType = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum NewsfeedEventType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case received // = 1 + case read // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .received + case 2: self = .read + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .received: return 1 + case .read: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + public init() {} } -public struct PlayerCombatStatsProto { +#if swift(>=4.2) + +extension MarketingTelemetryNewsfeedEvent.NewsfeedEventType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MarketingTelemetryNewsfeedEvent.NewsfeedEventType] = [ + .unset, + .received, + .read, + ] +} + +#endif // swift(>=4.2) + +public struct MarketingTelemetryPushNotificationEvent { // 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. - public var badges: Dictionary = [:] + public var eventType: MarketingTelemetryPushNotificationEvent.PushNotificationEventType = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() {} -} + public enum PushNotificationEventType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case processed // = 1 + case received // = 2 + case opened // = 3 + case dismissed // = 4 + case bounced // = 5 + case UNRECOGNIZED(Int) -public struct PlayerContestBadgeStatsProto { - // 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. + public init() { + self = .unset + } - public var numWonFirstPlace: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .processed + case 2: self = .received + case 3: self = .opened + case 4: self = .dismissed + case 5: self = .bounced + default: self = .UNRECOGNIZED(rawValue) + } + } - public var numTotal: Int32 = 0 + public var rawValue: Int { + switch self { + case .unset: return 0 + case .processed: return 1 + case .received: return 2 + case .opened: return 3 + case .dismissed: return 4 + case .bounced: return 5 + case .UNRECOGNIZED(let i): return i + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + } public init() {} } -public struct PlayerContestStatsProto { +#if swift(>=4.2) + +extension MarketingTelemetryPushNotificationEvent.PushNotificationEventType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MarketingTelemetryPushNotificationEvent.PushNotificationEventType] = [ + .unset, + .processed, + .received, + .opened, + .dismissed, + .bounced, + ] +} + +#endif // swift(>=4.2) + +public struct MegaEvoGlobalSettingsProto { // 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. - public var badgeStats: Dictionary = [:] + public var enabled: Bool = false + + public var enableFriendsListMegaInfo: Bool = false + + public var enableMegaLevel: Bool = false + + public var enableMegaEvolveInLobby: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerCurrencyProto { +public struct MegaEvoInfoProto { // 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. - public var gems: Int32 = 0 + public var pokedexID: HoloPokemonId = .missingno + + public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var evoExpirationTimeMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerFriendDisplayProto { +public struct MegaEvoSettingsProto { // 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. - public var buddy: PokemonDisplayProto { - get {return _buddy ?? PokemonDisplayProto()} - set {_buddy = newValue} - } - /// Returns true if `buddy` has been explicitly set. - public var hasBuddy: Bool {return self._buddy != nil} - /// Clears the value of `buddy`. Subsequent reads from it will return its default value. - public mutating func clearBuddy() {self._buddy = nil} + public var evolutionLengthMs: Int64 = 0 - public var buddyDisplayPokemonID: Int32 = 0 + public var attackBoostFromMegaDifferentType: Float = 0 - public var buddyPokemonNickname: String = String() + public var attackBoostFromMegaSameType: Float = 0 - public var lastPokemonCaught: PokemonDisplayProto { - get {return _lastPokemonCaught ?? PokemonDisplayProto()} - set {_lastPokemonCaught = newValue} - } - /// Returns true if `lastPokemonCaught` has been explicitly set. - public var hasLastPokemonCaught: Bool {return self._lastPokemonCaught != nil} - /// Clears the value of `lastPokemonCaught`. Subsequent reads from it will return its default value. - public mutating func clearLastPokemonCaught() {self._lastPokemonCaught = nil} + public var maxCandyHoardSize: Int32 = 0 - public var lastPokemonCaughtDisplayID: Int32 = 0 + public var enableBuddyWalkingMegaEnergyAward: Bool = false - public var lastPokemonCaughtTimestamp: Int64 = 0 + public var activeMegaBonusCatchCandy: Int32 = 0 - public var buddyCandyAwarded: Int32 = 0 + public var enableMegaLevel: Bool = false - public var activeMegaEvoInfo: MegaEvoInfoProto { - get {return _activeMegaEvoInfo ?? MegaEvoInfoProto()} - set {_activeMegaEvoInfo = newValue} - } - /// Returns true if `activeMegaEvoInfo` has been explicitly set. - public var hasActiveMegaEvoInfo: Bool {return self._activeMegaEvoInfo != nil} - /// Clears the value of `activeMegaEvoInfo`. Subsequent reads from it will return its default value. - public mutating func clearActiveMegaEvoInfo() {self._activeMegaEvoInfo = nil} + public var enableMegaEvolveInLobby: Bool = false - public var buddyHeightM: Float = 0 + public var numMegaLevels: Int32 = 0 - public var buddyWeightKg: Float = 0 + public var clientMegaCooldownBufferMs: Int32 = 0 - public var buddySize: HoloPokemonSize = .pokemonSizeUnset + public var enableMegaLevelLegacyAward: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _buddy: PokemonDisplayProto? = nil - fileprivate var _lastPokemonCaught: PokemonDisplayProto? = nil - fileprivate var _activeMegaEvoInfo: MegaEvoInfoProto? = nil } -public struct PlayerHudNotificationClickTelemetry { +public struct MegaEvolutionCooldownSettingsProto { // 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. - public var notificationCategory: String = String() + public var durationMs: Int64 = 0 + + public var bypassCostInitial: Int32 = 0 + + public var bypassCostFinal: Int32 = 0 + + public var bypassCostRoundingValue: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerInfo { +public struct MegaEvolutionEffectsSettingsProto { // 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. - public var identityProvider: String = String() - - public var profileCreationTimestampMs: Int64 = 0 + public var differentTypeAttackBoost: Float = 0 - public var playerLevel: Int32 = 0 + public var sameTypeAttackBoost: Float = 0 - public var teamID: Int32 = 0 + public var sameTypeExtraCatchCandy: Int32 = 0 - public var lifetimeKmWalked: Double = 0 + public var sameTypeExtraCatchXp: Int32 = 0 - public var lifetimeStepsWalked: Int64 = 0 + public var sameTypeExtraCatchCandyXlChance: Float = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerLevelSettingsProto { +public struct MegaEvolutionLevelSettingsProto { // 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. - public var rankNum: [Int32] = [] - - public var requiredExperience: [Int32] = [] - - public var cpMultiplier: [Float] = [] - - public var maxEggPlayerLevel: Int32 = 0 - - public var maxEncounterPlayerLevel: Int32 = 0 + public var level: Int32 = 0 - public var maxRaidEncounterPlayerLevel: Int32 = 0 + public var pokemonID: HoloPokemonId = .missingno - public var maxQuestEncounterPlayerLevel: Int32 = 0 + public var progression: MegaEvolutionProgressionSettingsProto { + get {return _progression ?? MegaEvolutionProgressionSettingsProto()} + set {_progression = newValue} + } + /// Returns true if `progression` has been explicitly set. + public var hasProgression: Bool {return self._progression != nil} + /// Clears the value of `progression`. Subsequent reads from it will return its default value. + public mutating func clearProgression() {self._progression = nil} - public var maxVsSeekerEncounterPlayerLevel: Int32 = 0 + public var cooldown: MegaEvolutionCooldownSettingsProto { + get {return _cooldown ?? MegaEvolutionCooldownSettingsProto()} + set {_cooldown = newValue} + } + /// Returns true if `cooldown` has been explicitly set. + public var hasCooldown: Bool {return self._cooldown != nil} + /// Clears the value of `cooldown`. Subsequent reads from it will return its default value. + public mutating func clearCooldown() {self._cooldown = nil} - public var maxMegaLevel: Int32 = 0 + public var effects: MegaEvolutionEffectsSettingsProto { + get {return _effects ?? MegaEvolutionEffectsSettingsProto()} + set {_effects = newValue} + } + /// Returns true if `effects` has been explicitly set. + public var hasEffects: Bool {return self._effects != nil} + /// Clears the value of `effects`. Subsequent reads from it will return its default value. + public mutating func clearEffects() {self._effects = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _progression: MegaEvolutionProgressionSettingsProto? = nil + fileprivate var _cooldown: MegaEvolutionCooldownSettingsProto? = nil + fileprivate var _effects: MegaEvolutionEffectsSettingsProto? = nil } -public struct PlayerLocaleProto { +public struct MegaEvolutionProgressionSettingsProto { // 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. - public var country: String = String() + public var pointsRequired: Int32 = 0 - public var language: String = String() + public var pointsLimitPerPeriod: Int32 = 0 - public var timezone: String = String() + public var pointsPerMegaEvoAction: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerNeutralAvatarArticleConfiguration { +public struct MegaEvolvePokemonClientContextHelper { // 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. - public var hair: AvatarArticleProto { - get {return _storage._hair ?? AvatarArticleProto()} - set {_uniqueStorage()._hair = newValue} - } - /// Returns true if `hair` has been explicitly set. - public var hasHair: Bool {return _storage._hair != nil} - /// Clears the value of `hair`. Subsequent reads from it will return its default value. - public mutating func clearHair() {_uniqueStorage()._hair = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var shirt: AvatarArticleProto { - get {return _storage._shirt ?? AvatarArticleProto()} - set {_uniqueStorage()._shirt = newValue} - } - /// Returns true if `shirt` has been explicitly set. - public var hasShirt: Bool {return _storage._shirt != nil} - /// Clears the value of `shirt`. Subsequent reads from it will return its default value. - public mutating func clearShirt() {_uniqueStorage()._shirt = nil} + public enum MegaEvolvePokemonClientContext: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case pokemonDetails // = 1 + case raidLobby // = 2 + case gymBattleLobby // = 3 + case npcCombatLobby // = 4 + case playerCombatLobby // = 5 + case UNRECOGNIZED(Int) - public var pants: AvatarArticleProto { - get {return _storage._pants ?? AvatarArticleProto()} - set {_uniqueStorage()._pants = newValue} - } - /// Returns true if `pants` has been explicitly set. - public var hasPants: Bool {return _storage._pants != nil} - /// Clears the value of `pants`. Subsequent reads from it will return its default value. - public mutating func clearPants() {_uniqueStorage()._pants = nil} + public init() { + self = .unset + } - public var hat: AvatarArticleProto { - get {return _storage._hat ?? AvatarArticleProto()} - set {_uniqueStorage()._hat = newValue} - } - /// Returns true if `hat` has been explicitly set. - public var hasHat: Bool {return _storage._hat != nil} - /// Clears the value of `hat`. Subsequent reads from it will return its default value. - public mutating func clearHat() {_uniqueStorage()._hat = nil} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .pokemonDetails + case 2: self = .raidLobby + case 3: self = .gymBattleLobby + case 4: self = .npcCombatLobby + case 5: self = .playerCombatLobby + default: self = .UNRECOGNIZED(rawValue) + } + } - public var shoes: AvatarArticleProto { - get {return _storage._shoes ?? AvatarArticleProto()} - set {_uniqueStorage()._shoes = newValue} - } - /// Returns true if `shoes` has been explicitly set. - public var hasShoes: Bool {return _storage._shoes != nil} - /// Clears the value of `shoes`. Subsequent reads from it will return its default value. - public mutating func clearShoes() {_uniqueStorage()._shoes = nil} + public var rawValue: Int { + switch self { + case .unset: return 0 + case .pokemonDetails: return 1 + case .raidLobby: return 2 + case .gymBattleLobby: return 3 + case .npcCombatLobby: return 4 + case .playerCombatLobby: return 5 + case .UNRECOGNIZED(let i): return i + } + } - public var eyes: AvatarArticleProto { - get {return _storage._eyes ?? AvatarArticleProto()} - set {_uniqueStorage()._eyes = newValue} } - /// Returns true if `eyes` has been explicitly set. - public var hasEyes: Bool {return _storage._eyes != nil} - /// Clears the value of `eyes`. Subsequent reads from it will return its default value. - public mutating func clearEyes() {_uniqueStorage()._eyes = nil} - public var backpack: AvatarArticleProto { - get {return _storage._backpack ?? AvatarArticleProto()} - set {_uniqueStorage()._backpack = newValue} - } - /// Returns true if `backpack` has been explicitly set. - public var hasBackpack: Bool {return _storage._backpack != nil} - /// Clears the value of `backpack`. Subsequent reads from it will return its default value. - public mutating func clearBackpack() {_uniqueStorage()._backpack = nil} + public init() {} +} - public var gloves: AvatarArticleProto { - get {return _storage._gloves ?? AvatarArticleProto()} - set {_uniqueStorage()._gloves = newValue} - } - /// Returns true if `gloves` has been explicitly set. - public var hasGloves: Bool {return _storage._gloves != nil} - /// Clears the value of `gloves`. Subsequent reads from it will return its default value. - public mutating func clearGloves() {_uniqueStorage()._gloves = nil} - - public var socks: AvatarArticleProto { - get {return _storage._socks ?? AvatarArticleProto()} - set {_uniqueStorage()._socks = newValue} - } - /// Returns true if `socks` has been explicitly set. - public var hasSocks: Bool {return _storage._socks != nil} - /// Clears the value of `socks`. Subsequent reads from it will return its default value. - public mutating func clearSocks() {_uniqueStorage()._socks = nil} - - public var belt: AvatarArticleProto { - get {return _storage._belt ?? AvatarArticleProto()} - set {_uniqueStorage()._belt = newValue} - } - /// Returns true if `belt` has been explicitly set. - public var hasBelt: Bool {return _storage._belt != nil} - /// Clears the value of `belt`. Subsequent reads from it will return its default value. - public mutating func clearBelt() {_uniqueStorage()._belt = nil} - - public var glasses: AvatarArticleProto { - get {return _storage._glasses ?? AvatarArticleProto()} - set {_uniqueStorage()._glasses = newValue} - } - /// Returns true if `glasses` has been explicitly set. - public var hasGlasses: Bool {return _storage._glasses != nil} - /// Clears the value of `glasses`. Subsequent reads from it will return its default value. - public mutating func clearGlasses() {_uniqueStorage()._glasses = nil} - - public var necklace: AvatarArticleProto { - get {return _storage._necklace ?? AvatarArticleProto()} - set {_uniqueStorage()._necklace = newValue} - } - /// Returns true if `necklace` has been explicitly set. - public var hasNecklace: Bool {return _storage._necklace != nil} - /// Clears the value of `necklace`. Subsequent reads from it will return its default value. - public mutating func clearNecklace() {_uniqueStorage()._necklace = nil} - - public var skin: AvatarArticleProto { - get {return _storage._skin ?? AvatarArticleProto()} - set {_uniqueStorage()._skin = newValue} - } - /// Returns true if `skin` has been explicitly set. - public var hasSkin: Bool {return _storage._skin != nil} - /// Clears the value of `skin`. Subsequent reads from it will return its default value. - public mutating func clearSkin() {_uniqueStorage()._skin = nil} - - public var pose: AvatarArticleProto { - get {return _storage._pose ?? AvatarArticleProto()} - set {_uniqueStorage()._pose = newValue} - } - /// Returns true if `pose` has been explicitly set. - public var hasPose: Bool {return _storage._pose != nil} - /// Clears the value of `pose`. Subsequent reads from it will return its default value. - public mutating func clearPose() {_uniqueStorage()._pose = nil} - - public var mask: AvatarArticleProto { - get {return _storage._mask ?? AvatarArticleProto()} - set {_uniqueStorage()._mask = newValue} - } - /// Returns true if `mask` has been explicitly set. - public var hasMask: Bool {return _storage._mask != nil} - /// Clears the value of `mask`. Subsequent reads from it will return its default value. - public mutating func clearMask() {_uniqueStorage()._mask = nil} - - public var prop: AvatarArticleProto { - get {return _storage._prop ?? AvatarArticleProto()} - set {_uniqueStorage()._prop = newValue} - } - /// Returns true if `prop` has been explicitly set. - public var hasProp: Bool {return _storage._prop != nil} - /// Clears the value of `prop`. Subsequent reads from it will return its default value. - public mutating func clearProp() {_uniqueStorage()._prop = nil} - - public var facialHair: AvatarArticleProto { - get {return _storage._facialHair ?? AvatarArticleProto()} - set {_uniqueStorage()._facialHair = newValue} - } - /// Returns true if `facialHair` has been explicitly set. - public var hasFacialHair: Bool {return _storage._facialHair != nil} - /// Clears the value of `facialHair`. Subsequent reads from it will return its default value. - public mutating func clearFacialHair() {_uniqueStorage()._facialHair = nil} - - public var facePaint: AvatarArticleProto { - get {return _storage._facePaint ?? AvatarArticleProto()} - set {_uniqueStorage()._facePaint = newValue} - } - /// Returns true if `facePaint` has been explicitly set. - public var hasFacePaint: Bool {return _storage._facePaint != nil} - /// Clears the value of `facePaint`. Subsequent reads from it will return its default value. - public mutating func clearFacePaint() {_uniqueStorage()._facePaint = nil} - - public var onesie: AvatarArticleProto { - get {return _storage._onesie ?? AvatarArticleProto()} - set {_uniqueStorage()._onesie = newValue} - } - /// Returns true if `onesie` has been explicitly set. - public var hasOnesie: Bool {return _storage._onesie != nil} - /// Clears the value of `onesie`. Subsequent reads from it will return its default value. - public mutating func clearOnesie() {_uniqueStorage()._onesie = nil} - - public var eyeBrow: AvatarArticleProto { - get {return _storage._eyeBrow ?? AvatarArticleProto()} - set {_uniqueStorage()._eyeBrow = newValue} - } - /// Returns true if `eyeBrow` has been explicitly set. - public var hasEyeBrow: Bool {return _storage._eyeBrow != nil} - /// Clears the value of `eyeBrow`. Subsequent reads from it will return its default value. - public mutating func clearEyeBrow() {_uniqueStorage()._eyeBrow = nil} - - public var eyeLash: AvatarArticleProto { - get {return _storage._eyeLash ?? AvatarArticleProto()} - set {_uniqueStorage()._eyeLash = newValue} - } - /// Returns true if `eyeLash` has been explicitly set. - public var hasEyeLash: Bool {return _storage._eyeLash != nil} - /// Clears the value of `eyeLash`. Subsequent reads from it will return its default value. - public mutating func clearEyeLash() {_uniqueStorage()._eyeLash = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} +#if swift(>=4.2) - fileprivate var _storage = _StorageClass.defaultInstance +extension MegaEvolvePokemonClientContextHelper.MegaEvolvePokemonClientContext: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MegaEvolvePokemonClientContextHelper.MegaEvolvePokemonClientContext] = [ + .unset, + .pokemonDetails, + .raidLobby, + .gymBattleLobby, + .npcCombatLobby, + .playerCombatLobby, + ] } -public struct PlayerNeutralAvatarBodyBlendParameters { +#endif // swift(>=4.2) + +public struct MegaEvolvePokemonOutProto { // 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. - public var size: Float = 0 - - public var musculature: Float = 0 - - public var bust: Float = 0 - - public var hips: Float = 0 - - public var shoulders: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var result: MegaEvolvePokemonOutProto.Result = .unset - public init() {} -} + public var evolvedPokemon: PokemonProto { + get {return _evolvedPokemon ?? PokemonProto()} + set {_evolvedPokemon = newValue} + } + /// Returns true if `evolvedPokemon` has been explicitly set. + public var hasEvolvedPokemon: Bool {return self._evolvedPokemon != nil} + /// Clears the value of `evolvedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearEvolvedPokemon() {self._evolvedPokemon = nil} -public struct PlayerNeutralAvatarEarSelectionParameters { - // 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. + public var expAwarded: Int32 = 0 - public var selection: PlayerNeutralAvatarEarSelectionParameters.Shape = .unset + public var preview: PreviewProto { + get {return _preview ?? PreviewProto()} + set {_preview = newValue} + } + /// Returns true if `preview` has been explicitly set. + public var hasPreview: Bool {return self._preview != nil} + /// Clears the value of `preview`. Subsequent reads from it will return its default value. + public mutating func clearPreview() {self._preview = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Shape: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case `default` // = 1 - case optionOne // = 5000 - case optionTwo // = 5001 + case success // = 1 + case failedPokemonMissing // = 2 + case failedInsufficientResources // = 3 + case failedPokemonCannotEvolve // = 4 + case failedPokemonIsDeployed // = 5 + case failedInvalidItemRequirement // = 6 + case failedPokemonAlreadyMegaEvolved // = 7 case UNRECOGNIZED(Int) public init() { @@ -97317,9 +96792,13 @@ public struct PlayerNeutralAvatarEarSelectionParameters { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .default - case 5000: self = .optionOne - case 5001: self = .optionTwo + case 1: self = .success + case 2: self = .failedPokemonMissing + case 3: self = .failedInsufficientResources + case 4: self = .failedPokemonCannotEvolve + case 5: self = .failedPokemonIsDeployed + case 6: self = .failedInvalidItemRequirement + case 7: self = .failedPokemonAlreadyMegaEvolved default: self = .UNRECOGNIZED(rawValue) } } @@ -97327,9 +96806,13 @@ public struct PlayerNeutralAvatarEarSelectionParameters { public var rawValue: Int { switch self { case .unset: return 0 - case .default: return 1 - case .optionOne: return 5000 - case .optionTwo: return 5001 + case .success: return 1 + case .failedPokemonMissing: return 2 + case .failedInsufficientResources: return 3 + case .failedPokemonCannotEvolve: return 4 + case .failedPokemonIsDeployed: return 5 + case .failedInvalidItemRequirement: return 6 + case .failedPokemonAlreadyMegaEvolved: return 7 case .UNRECOGNIZED(let i): return i } } @@ -97337,278 +96820,251 @@ public struct PlayerNeutralAvatarEarSelectionParameters { } public init() {} + + fileprivate var _evolvedPokemon: PokemonProto? = nil + fileprivate var _preview: PreviewProto? = nil } #if swift(>=4.2) -extension PlayerNeutralAvatarEarSelectionParameters.Shape: CaseIterable { +extension MegaEvolvePokemonOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerNeutralAvatarEarSelectionParameters.Shape] = [ + public static var allCases: [MegaEvolvePokemonOutProto.Result] = [ .unset, - .default, - .optionOne, - .optionTwo, + .success, + .failedPokemonMissing, + .failedInsufficientResources, + .failedPokemonCannotEvolve, + .failedPokemonIsDeployed, + .failedInvalidItemRequirement, + .failedPokemonAlreadyMegaEvolved, ] } #endif // swift(>=4.2) -public struct PlayerNeutralAvatarEyeSelectionParameters { +public struct MegaEvolvePokemonProto { // 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. - public var selection: PlayerNeutralAvatarEyeSelectionParameters.Shape = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Shape: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case `default` // = 1 - case optionOne // = 5000 - case optionTwo // = 5001 - case optionThree // = 5002 - case optionFive // = 5004 - case optionFour // = 50003 - case UNRECOGNIZED(Int) + public var pokemonID: UInt64 = 0 - public init() { - self = .unset - } + public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .default - case 5000: self = .optionOne - case 5001: self = .optionTwo - case 5002: self = .optionThree - case 5004: self = .optionFive - case 50003: self = .optionFour - default: self = .UNRECOGNIZED(rawValue) - } - } + public var preview: Bool = false - public var rawValue: Int { - switch self { - case .unset: return 0 - case .default: return 1 - case .optionOne: return 5000 - case .optionTwo: return 5001 - case .optionThree: return 5002 - case .optionFive: return 5004 - case .optionFour: return 50003 - case .UNRECOGNIZED(let i): return i - } - } + public var clientContext: MegaEvolvePokemonClientContextHelper.MegaEvolvePokemonClientContext = .unset - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) - -extension PlayerNeutralAvatarEyeSelectionParameters.Shape: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerNeutralAvatarEyeSelectionParameters.Shape] = [ - .unset, - .default, - .optionOne, - .optionTwo, - .optionThree, - .optionFive, - .optionFour, - ] -} - -#endif // swift(>=4.2) - -public struct PlayerNeutralAvatarFacePositionParameters { +public struct MegaEvolvePokemonSpeciesProto { // 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. - public var browDepth: Float = 0 + public var energyCount: Int32 = 0 - public var browHorizontal: Float = 0 + public var pokemonSpeciesID: Int32 = 0 - public var browVertical: Float = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var eyeDepth: Float = 0 + public init() {} +} - public var eyeHorizontal: Float = 0 +public struct MementoAttributesProto { + // 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. - public var eyeVertical: Float = 0 + public var type: MementoAttributesProto.OneOf_Type? = nil - public var mouthDepth: Float = 0 + public var postcardDisplay: PostcardDisplayProto { + get { + if case .postcardDisplay(let v)? = type {return v} + return PostcardDisplayProto() + } + set {type = .postcardDisplay(newValue)} + } - public var mouthHorizontal: Float = 0 + public var mementoType: MementoType = .mementoPostcard - public var mouthVertical: Float = 0 + public var latitude: Double = 0 - public var noseDepth: Float = 0 + public var longitude: Double = 0 - public var noseVertical: Float = 0 + public var addedTimestampMs: Int64 = 0 + + public var mementoHash: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() + public enum OneOf_Type: Equatable { + case postcardDisplay(PostcardDisplayProto) + + #if !swift(>=4.1) + public static func ==(lhs: MementoAttributesProto.OneOf_Type, rhs: MementoAttributesProto.OneOf_Type) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.postcardDisplay, .postcardDisplay): return { + guard case .postcardDisplay(let l) = lhs, case .postcardDisplay(let r) = rhs else { preconditionFailure() } + return l == r + }() + } + } + #endif + } + public init() {} } -public struct PlayerNeutralAvatarGradient { +public struct MessageOptions { // 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. - public var colorKeys: [PlayerNeutralColorKey] = [] + public var messageSetWireFormat: Bool = false + + public var noStandardDescriptorAccessor: Bool = false + + public var deprecated: Bool = false + + public var mapEntry: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerNeutralAvatarHeadBlendParameters { +public struct MethodDescriptorProto { // 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. - public var diamond: Float = 0 + public var name: String = String() - public var kite: Float = 0 + public var inputType: String = String() - public var triangle: Float = 0 + public var outputType: String = String() - public var square: Float = 0 + public var options: MethodOptions { + get {return _options ?? MethodOptions()} + set {_options = newValue} + } + /// Returns true if `options` has been explicitly set. + public var hasOptions: Bool {return self._options != nil} + /// Clears the value of `options`. Subsequent reads from it will return its default value. + public mutating func clearOptions() {self._options = nil} - public var circle: Float = 0 + public var clientStreaming: Bool = false - public var oval: Float = 0 + public var serverStreaming: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _options: MethodOptions? = nil } -public struct PlayerNeutralAvatarHeadSelectionParameters { +public struct MethodOptions { // 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. - public var selection: PlayerNeutralAvatarHeadSelectionParameters.Shape = .unset + public var deprecated: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Shape: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case diamond // = 1 - case kite // = 2 - case triangle // = 3 - case square // = 4 - case circle // = 5 - case oval // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } + public init() {} +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .diamond - case 2: self = .kite - case 3: self = .triangle - case 4: self = .square - case 5: self = .circle - case 6: self = .oval - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct MiniCollectionBadgeData { + // 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. - public var rawValue: Int { - switch self { - case .unset: return 0 - case .diamond: return 1 - case .kite: return 2 - case .triangle: return 3 - case .square: return 4 - case .circle: return 5 - case .oval: return 6 - case .UNRECOGNIZED(let i): return i - } - } + public var event: [MiniCollectionBadgeEvent] = [] - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) +public struct MiniCollectionBadgeEvent { + // 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. -extension PlayerNeutralAvatarHeadSelectionParameters.Shape: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerNeutralAvatarHeadSelectionParameters.Shape] = [ - .unset, - .diamond, - .kite, - .triangle, - .square, - .circle, - .oval, - ] -} + public var eventID: String = String() -#endif // swift(>=4.2) + public var completedTimestamp: Int64 = 0 -public struct PlayerNeutralAvatarMouthSelectionParameters { + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct MiniCollectionPokemon { // 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. - public var selection: PlayerNeutralAvatarMouthSelectionParameters.Shape = .unset + public var pokedexID: HoloPokemonId = .missingno + + public var display: PokemonDisplayProto { + get {return _display ?? PokemonDisplayProto()} + set {_display = newValue} + } + /// Returns true if `display` has been explicitly set. + public var hasDisplay: Bool {return self._display != nil} + /// Clears the value of `display`. Subsequent reads from it will return its default value. + public mutating func clearDisplay() {self._display = nil} + + public var caught: Bool = false + + public var collectionType: MiniCollectionPokemon.CollectType = .catch + + public var requireAlignmentToMatch: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Shape: SwiftProtobuf.Enum { + public enum CollectType: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case `default` // = 1 - case optionOne // = 5000 - case optionTwo // = 5001 - case optionThree // = 5002 - case optionFive // = 5004 - case optionFour // = 50003 + case `catch` // = 0 + case trade // = 1 + case evolve // = 2 + case catchFromRaid // = 3 + case hatch // = 4 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .catch } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .default - case 5000: self = .optionOne - case 5001: self = .optionTwo - case 5002: self = .optionThree - case 5004: self = .optionFive - case 50003: self = .optionFour + case 0: self = .catch + case 1: self = .trade + case 2: self = .evolve + case 3: self = .catchFromRaid + case 4: self = .hatch default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .default: return 1 - case .optionOne: return 5000 - case .optionTwo: return 5001 - case .optionThree: return 5002 - case .optionFive: return 5004 - case .optionFour: return 50003 + case .catch: return 0 + case .trade: return 1 + case .evolve: return 2 + case .catchFromRaid: return 3 + case .hatch: return 4 case .UNRECOGNIZED(let i): return i } } @@ -97616,410 +97072,252 @@ public struct PlayerNeutralAvatarMouthSelectionParameters { } public init() {} + + fileprivate var _display: PokemonDisplayProto? = nil } #if swift(>=4.2) -extension PlayerNeutralAvatarMouthSelectionParameters.Shape: CaseIterable { +extension MiniCollectionPokemon.CollectType: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerNeutralAvatarMouthSelectionParameters.Shape] = [ - .unset, - .default, - .optionOne, - .optionTwo, - .optionThree, - .optionFive, - .optionFour, + public static var allCases: [MiniCollectionPokemon.CollectType] = [ + .catch, + .trade, + .evolve, + .catchFromRaid, + .hatch, ] } #endif // swift(>=4.2) -public struct PlayerNeutralAvatarNoseSelectionParameters { +public struct MiniCollectionProto { // 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. - public var selection: PlayerNeutralAvatarNoseSelectionParameters.Shape = .unset + public var pokemon: [MiniCollectionPokemon] = [] - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var completed: Bool = false - public enum Shape: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case `default` // = 1 - case optionOne // = 5000 - case optionTwo // = 5001 - case optionThree // = 5002 - case optionFive // = 5004 - case optionFour // = 50003 - case UNRECOGNIZED(Int) + public var unknownFields = SwiftProtobuf.UnknownStorage() - public init() { - self = .unset - } + public init() {} +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .default - case 5000: self = .optionOne - case 5001: self = .optionTwo - case 5002: self = .optionThree - case 5004: self = .optionFive - case 50003: self = .optionFour - default: self = .UNRECOGNIZED(rawValue) - } - } +public struct MiniCollectionSectionProto { + // 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. - public var rawValue: Int { - switch self { - case .unset: return 0 - case .default: return 1 - case .optionOne: return 5000 - case .optionTwo: return 5001 - case .optionThree: return 5002 - case .optionFive: return 5004 - case .optionFour: return 50003 - case .UNRECOGNIZED(let i): return i - } - } + public var questID: String = String() - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -#if swift(>=4.2) - -extension PlayerNeutralAvatarNoseSelectionParameters.Shape: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerNeutralAvatarNoseSelectionParameters.Shape] = [ - .unset, - .default, - .optionOne, - .optionTwo, - .optionThree, - .optionFive, - .optionFour, - ] -} - -#endif // swift(>=4.2) - -public struct PlayerNeutralAvatarProto { +public struct MissingTranslationTelemetry { // 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. - public var articles: PlayerNeutralAvatarArticleConfiguration { - get {return _storage._articles ?? PlayerNeutralAvatarArticleConfiguration()} - set {_uniqueStorage()._articles = newValue} - } - /// Returns true if `articles` has been explicitly set. - public var hasArticles: Bool {return _storage._articles != nil} - /// Clears the value of `articles`. Subsequent reads from it will return its default value. - public mutating func clearArticles() {_uniqueStorage()._articles = nil} + public var key: String = String() - public var bodyBlend: PlayerNeutralAvatarBodyBlendParameters { - get {return _storage._bodyBlend ?? PlayerNeutralAvatarBodyBlendParameters()} - set {_uniqueStorage()._bodyBlend = newValue} - } - /// Returns true if `bodyBlend` has been explicitly set. - public var hasBodyBlend: Bool {return _storage._bodyBlend != nil} - /// Clears the value of `bodyBlend`. Subsequent reads from it will return its default value. - public mutating func clearBodyBlend() {_uniqueStorage()._bodyBlend = nil} + public var language: String = String() - public var skinGradient: PlayerNeutralAvatarGradient { - get {return _storage._skinGradient ?? PlayerNeutralAvatarGradient()} - set {_uniqueStorage()._skinGradient = newValue} - } - /// Returns true if `skinGradient` has been explicitly set. - public var hasSkinGradient: Bool {return _storage._skinGradient != nil} - /// Clears the value of `skinGradient`. Subsequent reads from it will return its default value. - public mutating func clearSkinGradient() {_uniqueStorage()._skinGradient = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var hairGradient: PlayerNeutralAvatarGradient { - get {return _storage._hairGradient ?? PlayerNeutralAvatarGradient()} - set {_uniqueStorage()._hairGradient = newValue} - } - /// Returns true if `hairGradient` has been explicitly set. - public var hasHairGradient: Bool {return _storage._hairGradient != nil} - /// Clears the value of `hairGradient`. Subsequent reads from it will return its default value. - public mutating func clearHairGradient() {_uniqueStorage()._hairGradient = nil} + public init() {} +} - public var noseSelection: PlayerNeutralAvatarNoseSelectionParameters { - get {return _storage._noseSelection ?? PlayerNeutralAvatarNoseSelectionParameters()} - set {_uniqueStorage()._noseSelection = newValue} - } - /// Returns true if `noseSelection` has been explicitly set. - public var hasNoseSelection: Bool {return _storage._noseSelection != nil} - /// Clears the value of `noseSelection`. Subsequent reads from it will return its default value. - public mutating func clearNoseSelection() {_uniqueStorage()._noseSelection = nil} +public struct MonodepthDownloadTelemetry { + // 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. - public var earSelection: PlayerNeutralAvatarEarSelectionParameters { - get {return _storage._earSelection ?? PlayerNeutralAvatarEarSelectionParameters()} - set {_uniqueStorage()._earSelection = newValue} - } - /// Returns true if `earSelection` has been explicitly set. - public var hasEarSelection: Bool {return _storage._earSelection != nil} - /// Clears the value of `earSelection`. Subsequent reads from it will return its default value. - public mutating func clearEarSelection() {_uniqueStorage()._earSelection = nil} + public var downloadedPackage: Bool = false - public var mouthSelection: PlayerNeutralAvatarMouthSelectionParameters { - get {return _storage._mouthSelection ?? PlayerNeutralAvatarMouthSelectionParameters()} - set {_uniqueStorage()._mouthSelection = newValue} - } - /// Returns true if `mouthSelection` has been explicitly set. - public var hasMouthSelection: Bool {return _storage._mouthSelection != nil} - /// Clears the value of `mouthSelection`. Subsequent reads from it will return its default value. - public mutating func clearMouthSelection() {_uniqueStorage()._mouthSelection = nil} + public var skippedPackage: Bool = false - public var facialHairGradient: PlayerNeutralAvatarGradient { - get {return _storage._facialHairGradient ?? PlayerNeutralAvatarGradient()} - set {_uniqueStorage()._facialHairGradient = newValue} - } - /// Returns true if `facialHairGradient` has been explicitly set. - public var hasFacialHairGradient: Bool {return _storage._facialHairGradient != nil} - /// Clears the value of `facialHairGradient`. Subsequent reads from it will return its default value. - public mutating func clearFacialHairGradient() {_uniqueStorage()._facialHairGradient = nil} + public var modelDownloaded: String = String() - public var facePositions: PlayerNeutralAvatarFacePositionParameters { - get {return _storage._facePositions ?? PlayerNeutralAvatarFacePositionParameters()} - set {_uniqueStorage()._facePositions = newValue} - } - /// Returns true if `facePositions` has been explicitly set. - public var hasFacePositions: Bool {return _storage._facePositions != nil} - /// Clears the value of `facePositions`. Subsequent reads from it will return its default value. - public mutating func clearFacePositions() {_uniqueStorage()._facePositions = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var eyeGradient: PlayerNeutralAvatarGradient { - get {return _storage._eyeGradient ?? PlayerNeutralAvatarGradient()} - set {_uniqueStorage()._eyeGradient = newValue} - } - /// Returns true if `eyeGradient` has been explicitly set. - public var hasEyeGradient: Bool {return _storage._eyeGradient != nil} - /// Clears the value of `eyeGradient`. Subsequent reads from it will return its default value. - public mutating func clearEyeGradient() {_uniqueStorage()._eyeGradient = nil} + public init() {} +} - public var eyeSelection: PlayerNeutralAvatarEyeSelectionParameters { - get {return _storage._eyeSelection ?? PlayerNeutralAvatarEyeSelectionParameters()} - set {_uniqueStorage()._eyeSelection = newValue} - } - /// Returns true if `eyeSelection` has been explicitly set. - public var hasEyeSelection: Bool {return _storage._eyeSelection != nil} - /// Clears the value of `eyeSelection`. Subsequent reads from it will return its default value. - public mutating func clearEyeSelection() {_uniqueStorage()._eyeSelection = nil} +public struct MonodepthSettingsProto { + // 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. - public var neutralAvatarLegacyMappingVersion: Int32 { - get {return _storage._neutralAvatarLegacyMappingVersion} - set {_uniqueStorage()._neutralAvatarLegacyMappingVersion = newValue} - } + public var enableOcclusions: Bool = false - public var head: OneOf_Head? { - get {return _storage._head} - set {_uniqueStorage()._head = newValue} - } + public var occlusionsDefaultOn: Bool = false - public var headBlend: PlayerNeutralAvatarHeadBlendParameters { - get { - if case .headBlend(let v)? = _storage._head {return v} - return PlayerNeutralAvatarHeadBlendParameters() - } - set {_uniqueStorage()._head = .headBlend(newValue)} - } + public var occlusionsToggleVisible: Bool = false - public var headSelection: PlayerNeutralAvatarHeadSelectionParameters { - get { - if case .headSelection(let v)? = _storage._head {return v} - return PlayerNeutralAvatarHeadSelectionParameters() - } - set {_uniqueStorage()._head = .headSelection(newValue)} - } + public var enableGroundSuppression: Bool = false - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var minGroundSuppressionThresh: Float = 0 - public enum OneOf_Head: Equatable { - case headBlend(PlayerNeutralAvatarHeadBlendParameters) - case headSelection(PlayerNeutralAvatarHeadSelectionParameters) + public var suppressionChannelID: UInt32 = 0 - #if !swift(>=4.1) - public static func ==(lhs: PlayerNeutralAvatarProto.OneOf_Head, rhs: PlayerNeutralAvatarProto.OneOf_Head) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.headBlend, .headBlend): return { - guard case .headBlend(let l) = lhs, case .headBlend(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.headSelection, .headSelection): return { - guard case .headSelection(let l) = lhs, case .headSelection(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } + public var suppressionChannelName: String = String() - public init() {} + public var unknownFields = SwiftProtobuf.UnknownStorage() - fileprivate var _storage = _StorageClass.defaultInstance + public init() {} } -public struct PlayerNeutralColorKey { +public struct MotivatedPokemonProto { // 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. - public var keyPosition: Float = 0 + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} - public var red: Float = 0 + public var deployMs: Int64 = 0 - public var green: Float = 0 + public var cpWhenDeployed: Int32 = 0 - public var blue: Float = 0 + public var motivationNow: Double = 0 + + public var cpNow: Int32 = 0 + + public var berryValue: Float = 0 + + public var feedCooldownDurationMillis: Int64 = 0 + + public var foodValue: [FoodValue] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _pokemon: PokemonProto? = nil } -public struct PlayerPokecoinCapProto { +public struct MoveModifierGroup { // 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. - public var pokecoinSource: PokecoinSource = .sourceUnset - - public var lastCollectionTimestampMs: Int64 = 0 - - public var currentAmountCollected: Int64 = 0 + public var moveModifier: [MoveModifierProto] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerPreferencesProto { +public struct MoveModifierProto { // 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. - public var optOutOfSponsoredGifts: Bool = false + public var mode: MoveModifierProto.MoveModifierMode = .unsetMoveModifierMode - public var battleParties: BattlePartiesProto { - get {return _battleParties ?? BattlePartiesProto()} - set {_battleParties = newValue} - } - /// Returns true if `battleParties` has been explicitly set. - public var hasBattleParties: Bool {return self._battleParties != nil} - /// Clears the value of `battleParties`. Subsequent reads from it will return its default value. - public mutating func clearBattleParties() {self._battleParties = nil} + public var type: MoveModifierProto.MoveModifierType = .unsetMoveModifierType - public var searchFilterPreferenceBase64: String = String() + public var value: Float = 0 - public var postcardTrainerInfoSharingPreference: PlayerPreferencesProto.PostcardTrainerInfoSharingPreference = .unset + public var condition: [MoveModifierProto.ModifierCondition] = [] - public var wainaPreference: WainaPreferences { - get {return _wainaPreference ?? WainaPreferences()} - set {_wainaPreference = newValue} - } - /// Returns true if `wainaPreference` has been explicitly set. - public var hasWainaPreference: Bool {return self._wainaPreference != nil} - /// Clears the value of `wainaPreference`. Subsequent reads from it will return its default value. - public mutating func clearWainaPreference() {self._wainaPreference = nil} + public var renderModifier: [FormRenderModifier] = [] + + public var duration: Int64 = 0 + + public var stringValue: String = String() + + public var bestEffort: Bool = false - public var optOutOfReceivingTicketGifts: Bool = false + public var modifierTarget: MoveModifierProto.MoveModifierTarget = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum PostcardTrainerInfoSharingPreference: SwiftProtobuf.Enum { + public enum MoveModifierMode: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case shareWithFriends // = 1 - case doNotShare // = 2 + case unsetMoveModifierMode // = 0 + case formChange // = 1 + case directDamage // = 2 + case defenderDamageDealt // = 3 + case defenderDamageTaken // = 4 + case attackerArbitraryCounter // = 5 + case attackerFormReversion // = 6 + case defenderFormReversion // = 7 + case defenderArbitraryCounter // = 8 + case applyVsEffectTag // = 9 + case removeVsEffectTag // = 10 + case attackStatChange // = 11 + case defenseStatChange // = 12 + case staminaStatChange // = 13 + case statChange // = 14 + case groupPointer // = 15 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .unsetMoveModifierMode } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .shareWithFriends - case 2: self = .doNotShare + case 0: self = .unsetMoveModifierMode + case 1: self = .formChange + case 2: self = .directDamage + case 3: self = .defenderDamageDealt + case 4: self = .defenderDamageTaken + case 5: self = .attackerArbitraryCounter + case 6: self = .attackerFormReversion + case 7: self = .defenderFormReversion + case 8: self = .defenderArbitraryCounter + case 9: self = .applyVsEffectTag + case 10: self = .removeVsEffectTag + case 11: self = .attackStatChange + case 12: self = .defenseStatChange + case 13: self = .staminaStatChange + case 14: self = .statChange + case 15: self = .groupPointer default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .shareWithFriends: return 1 - case .doNotShare: return 2 + case .unsetMoveModifierMode: return 0 + case .formChange: return 1 + case .directDamage: return 2 + case .defenderDamageDealt: return 3 + case .defenderDamageTaken: return 4 + case .attackerArbitraryCounter: return 5 + case .attackerFormReversion: return 6 + case .defenderFormReversion: return 7 + case .defenderArbitraryCounter: return 8 + case .applyVsEffectTag: return 9 + case .removeVsEffectTag: return 10 + case .attackStatChange: return 11 + case .defenseStatChange: return 12 + case .staminaStatChange: return 13 + case .statChange: return 14 + case .groupPointer: return 15 case .UNRECOGNIZED(let i): return i } } } - public init() {} - - fileprivate var _battleParties: BattlePartiesProto? = nil - fileprivate var _wainaPreference: WainaPreferences? = nil -} - -#if swift(>=4.2) - -extension PlayerPreferencesProto.PostcardTrainerInfoSharingPreference: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerPreferencesProto.PostcardTrainerInfoSharingPreference] = [ - .unset, - .shareWithFriends, - .doNotShare, - ] -} - -#endif // swift(>=4.2) - -public struct PlayerProfileOutProto { - // 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. - - public var result: PlayerProfileOutProto.Result = .unset - - public var startTime: Int64 = 0 - - public var badges: [PlayerBadgeProto] = [] - - public var gymBadges: PlayerProfileOutProto.GymBadges { - get {return _gymBadges ?? PlayerProfileOutProto.GymBadges()} - set {_gymBadges = newValue} - } - /// Returns true if `gymBadges` has been explicitly set. - public var hasGymBadges: Bool {return self._gymBadges != nil} - /// Clears the value of `gymBadges`. Subsequent reads from it will return its default value. - public mutating func clearGymBadges() {self._gymBadges = nil} - - public var routeBadges: PlayerProfileOutProto.RouteBadges { - get {return _routeBadges ?? PlayerProfileOutProto.RouteBadges()} - set {_routeBadges = newValue} - } - /// Returns true if `routeBadges` has been explicitly set. - public var hasRouteBadges: Bool {return self._routeBadges != nil} - /// Clears the value of `routeBadges`. Subsequent reads from it will return its default value. - public mutating func clearRouteBadges() {self._routeBadges = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { + public enum MoveModifierTarget: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case success // = 1 + case attacker // = 1 + case defender // = 2 case UNRECOGNIZED(Int) public init() { @@ -98029,7 +97327,8 @@ public struct PlayerProfileOutProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .success + case 1: self = .attacker + case 2: self = .defender default: self = .UNRECOGNIZED(rawValue) } } @@ -98037,174 +97336,447 @@ public struct PlayerProfileOutProto { public var rawValue: Int { switch self { case .unset: return 0 - case .success: return 1 + case .attacker: return 1 + case .defender: return 2 case .UNRECOGNIZED(let i): return i } } } - public struct GymBadges { - // 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. + public enum MoveModifierType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetMoveModifierType // = 0 + case percentage // = 1 + case flatValue // = 2 + case UNRECOGNIZED(Int) - public var gymBadge: [AwardedGymBadge] = [] + public init() { + self = .unsetMoveModifierType + } - public var total: Int32 = 0 + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetMoveModifierType + case 1: self = .percentage + case 2: self = .flatValue + default: self = .UNRECOGNIZED(rawValue) + } + } - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var rawValue: Int { + switch self { + case .unsetMoveModifierType: return 0 + case .percentage: return 1 + case .flatValue: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public init() {} } - public struct RouteBadges { + public struct ModifierCondition { // 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. - public var routeBadge: [AwardedRouteBadge] = [] - - public var total: Int32 = 0 + public var conditionType: MoveModifierProto.ModifierCondition.ConditionType = .unset - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var value: Int64 = 0 - public init() {} - } + public var deviation: Float = 0 - public init() {} + public var stringLookup: String = String() - fileprivate var _gymBadges: PlayerProfileOutProto.GymBadges? = nil - fileprivate var _routeBadges: PlayerProfileOutProto.RouteBadges? = nil -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -#if swift(>=4.2) + public enum ConditionType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case pveNpc // = 1 + case hpPercent // = 2 + case invocationLimit // = 3 + case cooldownMs // = 4 + case defenderAlignmentShadow // = 5 + case defenderVsTag // = 6 + case attackerArbitraryCounterMinimum // = 7 + case defenderArbitraryCounterMinimum // = 8 + case attackerVsTag // = 9 + case UNRECOGNIZED(Int) -extension PlayerProfileOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerProfileOutProto.Result] = [ - .unset, - .success, - ] -} + public init() { + self = .unset + } -#endif // swift(>=4.2) + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .pveNpc + case 2: self = .hpPercent + case 3: self = .invocationLimit + case 4: self = .cooldownMs + case 5: self = .defenderAlignmentShadow + case 6: self = .defenderVsTag + case 7: self = .attackerArbitraryCounterMinimum + case 8: self = .defenderArbitraryCounterMinimum + case 9: self = .attackerVsTag + default: self = .UNRECOGNIZED(rawValue) + } + } -public struct PlayerProfileProto { + public var rawValue: Int { + switch self { + case .unset: return 0 + case .pveNpc: return 1 + case .hpPercent: return 2 + case .invocationLimit: return 3 + case .cooldownMs: return 4 + case .defenderAlignmentShadow: return 5 + case .defenderVsTag: return 6 + case .attackerArbitraryCounterMinimum: return 7 + case .defenderArbitraryCounterMinimum: return 8 + case .attackerVsTag: return 9 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public init() {} +} + +#if swift(>=4.2) + +extension MoveModifierProto.MoveModifierMode: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MoveModifierProto.MoveModifierMode] = [ + .unsetMoveModifierMode, + .formChange, + .directDamage, + .defenderDamageDealt, + .defenderDamageTaken, + .attackerArbitraryCounter, + .attackerFormReversion, + .defenderFormReversion, + .defenderArbitraryCounter, + .applyVsEffectTag, + .removeVsEffectTag, + .attackStatChange, + .defenseStatChange, + .staminaStatChange, + .statChange, + .groupPointer, + ] +} + +extension MoveModifierProto.MoveModifierTarget: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MoveModifierProto.MoveModifierTarget] = [ + .unset, + .attacker, + .defender, + ] +} + +extension MoveModifierProto.MoveModifierType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MoveModifierProto.MoveModifierType] = [ + .unsetMoveModifierType, + .percentage, + .flatValue, + ] +} + +extension MoveModifierProto.ModifierCondition.ConditionType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [MoveModifierProto.ModifierCondition.ConditionType] = [ + .unset, + .pveNpc, + .hpPercent, + .invocationLimit, + .cooldownMs, + .defenderAlignmentShadow, + .defenderVsTag, + .attackerArbitraryCounterMinimum, + .defenderArbitraryCounterMinimum, + .attackerVsTag, + ] +} + +#endif // swift(>=4.2) + +public struct MoveSequenceSettingsProto { // 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. - public var playerName: String = String() + public var sequence: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerPublicProfileProto { +public struct MoveSettingsProto { // 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. - public var name: String = String() + public var uniqueID: HoloPokemonMove { + get {return _storage._uniqueID} + set {_uniqueStorage()._uniqueID = newValue} + } - public var level: Int32 = 0 + public var animationID: Int32 { + get {return _storage._animationID} + set {_uniqueStorage()._animationID = newValue} + } - public var avatar: PlayerAvatarProto { - get {return _avatar ?? PlayerAvatarProto()} - set {_avatar = newValue} + public var pokemonType: HoloPokemonType { + get {return _storage._pokemonType} + set {_uniqueStorage()._pokemonType = newValue} } - /// Returns true if `avatar` has been explicitly set. - public var hasAvatar: Bool {return self._avatar != nil} - /// Clears the value of `avatar`. Subsequent reads from it will return its default value. - public mutating func clearAvatar() {self._avatar = nil} - public var team: Team = .unset + public var power: Float { + get {return _storage._power} + set {_uniqueStorage()._power = newValue} + } - public var battlesWon: Int32 = 0 + public var accuracyChance: Float { + get {return _storage._accuracyChance} + set {_uniqueStorage()._accuracyChance = newValue} + } - public var kmWalked: Float = 0 + public var criticalChance: Float { + get {return _storage._criticalChance} + set {_uniqueStorage()._criticalChance = newValue} + } - public var caughtPokemon: Int32 = 0 + public var healScalar: Float { + get {return _storage._healScalar} + set {_uniqueStorage()._healScalar = newValue} + } - public var gymBadgeType: GymBadgeType = .gymBadgeUnset + public var staminaLossScalar: Float { + get {return _storage._staminaLossScalar} + set {_uniqueStorage()._staminaLossScalar = newValue} + } - public var badges: [PlayerBadgeProto] = [] + public var trainerLevelMin: Int32 { + get {return _storage._trainerLevelMin} + set {_uniqueStorage()._trainerLevelMin = newValue} + } - public var experience: Int64 = 0 + public var trainerLevelMax: Int32 { + get {return _storage._trainerLevelMax} + set {_uniqueStorage()._trainerLevelMax = newValue} + } - public var hasSharedExPass_p: Bool = false + public var vfxName: String { + get {return _storage._vfxName} + set {_uniqueStorage()._vfxName = newValue} + } - public var combatRank: Int32 = 0 + public var durationMs: Int32 { + get {return _storage._durationMs} + set {_uniqueStorage()._durationMs = newValue} + } - public var combatRating: Float = 0 + public var damageWindowStartMs: Int32 { + get {return _storage._damageWindowStartMs} + set {_uniqueStorage()._damageWindowStartMs = newValue} + } - public var timedGroupChallengeStats: TimedGroupChallengePlayerStatsProto { - get {return _timedGroupChallengeStats ?? TimedGroupChallengePlayerStatsProto()} - set {_timedGroupChallengeStats = newValue} + public var damageWindowEndMs: Int32 { + get {return _storage._damageWindowEndMs} + set {_uniqueStorage()._damageWindowEndMs = newValue} } - /// Returns true if `timedGroupChallengeStats` has been explicitly set. - public var hasTimedGroupChallengeStats: Bool {return self._timedGroupChallengeStats != nil} - /// Clears the value of `timedGroupChallengeStats`. Subsequent reads from it will return its default value. - public mutating func clearTimedGroupChallengeStats() {self._timedGroupChallengeStats = nil} - public var neutralAvatar: PlayerNeutralAvatarProto { - get {return _neutralAvatar ?? PlayerNeutralAvatarProto()} - set {_neutralAvatar = newValue} + public var energyDelta: Int32 { + get {return _storage._energyDelta} + set {_uniqueStorage()._energyDelta = newValue} + } + + public var isLocked: Bool { + get {return _storage._isLocked} + set {_uniqueStorage()._isLocked = newValue} + } + + public var modifier: [MoveModifierProto] { + get {return _storage._modifier} + set {_uniqueStorage()._modifier = newValue} } - /// Returns true if `neutralAvatar` has been explicitly set. - public var hasNeutralAvatar: Bool {return self._neutralAvatar != nil} - /// Clears the value of `neutralAvatar`. Subsequent reads from it will return its default value. - public mutating func clearNeutralAvatar() {self._neutralAvatar = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - fileprivate var _avatar: PlayerAvatarProto? = nil - fileprivate var _timedGroupChallengeStats: TimedGroupChallengePlayerStatsProto? = nil - fileprivate var _neutralAvatar: PlayerNeutralAvatarProto? = nil + fileprivate var _storage = _StorageClass.defaultInstance } -public struct PlayerRaidInfoProto { +public struct MultiPartQuestProto { // 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. - public var totalCompletedRaids: Int32 = 0 + public var subQuests: [QuestProto] = [] - public var totalCompletedLegendaryRaids: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var raids: [RaidProto] = [] + public init() {} +} - public var totalRemoteRaids: Int32 = 0 +public struct MultiSelectorProto { + // 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. + + public var keys: [String] = [] + + public var nextSteps: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerReputationProto { +public struct MusicSettingsProto { // 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. - public var accountAgeMs: Int64 = 0 + public var mapMusicDayOverride: String = String() - public var playerLevel: Int64 = 0 + public var mapMusicNightOverride: String = String() - public var cheatReputation: [PlayerReputationProto.CheatReputation] = [] + public var encounterMusicDayOverride: String = String() - public var isMinor: Bool = false + public var encounterMusicNightOverride: String = String() + + public var mapMusicMeloettaBuddyOverride: String = String() + + public var startTimesEnabled: Bool = false + + public var encounterRaidMusicDayOverride: String = String() + + public var encounterRaidMusicNightOverride: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum CheatReputation: SwiftProtobuf.Enum { + public init() {} +} + +public struct NativeAdUnitSettingsProto { + // 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. + + public var iosAdUnitID: String = String() + + public var androidAdUnitID: String = String() + + public var otherAdUnitID: String = String() + + public var adTemplateID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct NearbyPokemonProto { + // 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. + + public var pokedexNumber: Int32 = 0 + + public var distanceMeters: Float = 0 + + public var encounterID: UInt64 = 0 + + public var fortID: String = String() + + public var fortImageURL: String = String() + + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +} + +public struct NearbyPokemonSettings { + // 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. + + public var pokemonPriorities: [NearbyPokemonSettings.PokemonPriority] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct PokemonPriority { + // 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. + + public var pokemonID: HoloPokemonId = .missingno + + public var form: PokemonDisplayProto.Form = .unset + + public var costume: PokemonDisplayProto.Costume = .unset + + public var priority: Int32 = 0 + + public var maxDuplicates: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct NetworkTelemetry { + // 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. + + public var networkType: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct NeutralAvatarBadgeRewardOutProto { + // 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. + + public var result: NeutralAvatarBadgeRewardOutProto.Result = .unset + + public var avatarCustomizationProto: [AvatarCustomizationProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case bot // = 1 - case spoofer // = 2 + case success // = 1 case UNRECOGNIZED(Int) public init() { @@ -98214,8 +97786,7 @@ public struct PlayerReputationProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .bot - case 2: self = .spoofer + case 1: self = .success default: self = .UNRECOGNIZED(rawValue) } } @@ -98223,8 +97794,7 @@ public struct PlayerReputationProto { public var rawValue: Int { switch self { case .unset: return 0 - case .bot: return 1 - case .spoofer: return 2 + case .success: return 1 case .UNRECOGNIZED(let i): return i } } @@ -98236,74 +97806,88 @@ public struct PlayerReputationProto { #if swift(>=4.2) -extension PlayerReputationProto.CheatReputation: CaseIterable { +extension NeutralAvatarBadgeRewardOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerReputationProto.CheatReputation] = [ + public static var allCases: [NeutralAvatarBadgeRewardOutProto.Result] = [ .unset, - .bot, - .spoofer, + .success, ] } #endif // swift(>=4.2) -public struct PlayerRouteStats { +public struct NeutralAvatarBadgeRewardProto { // 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. - public var numCompletions: Int64 = 0 - - public var cooldownFinishMs: Int64 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerSettingsProto { +public struct NeutralAvatarItemProto { // 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. - public var optOutOnlineStatus: Bool = false + public var neutralAvatarArticleTemplateID: String = String() - public var completedTutorials: [SocialSettings.TutorialType] = [] + public var gainedMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PlayerShownLevelUpShareScreenTelemetry { +public struct NeutralAvatarSettingsProto { // 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. - public var playerViewedPhoto: Bool = false - - public var playerSharedPhoto: Bool = false + public var neutralAvatarSettingsEnabled: Bool = false - public var playerLevel: Int32 = 0 + public var neutralAvatarSettingsSentinelValue: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var defaultNeutralAvatar: PlayerNeutralAvatarProto { + get {return _defaultNeutralAvatar ?? PlayerNeutralAvatarProto()} + set {_defaultNeutralAvatar = newValue} + } + /// Returns true if `defaultNeutralAvatar` has been explicitly set. + public var hasDefaultNeutralAvatar: Bool {return self._defaultNeutralAvatar != nil} + /// Clears the value of `defaultNeutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearDefaultNeutralAvatar() {self._defaultNeutralAvatar = nil} - public init() {} -} + public var femaleNeutralAvatar: PlayerNeutralAvatarProto { + get {return _femaleNeutralAvatar ?? PlayerNeutralAvatarProto()} + set {_femaleNeutralAvatar = newValue} + } + /// Returns true if `femaleNeutralAvatar` has been explicitly set. + public var hasFemaleNeutralAvatar: Bool {return self._femaleNeutralAvatar != nil} + /// Clears the value of `femaleNeutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearFemaleNeutralAvatar() {self._femaleNeutralAvatar = nil} -public struct PlayerSpawnablePokemonOutProto { - // 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. + public var maleNeutralAvatar: PlayerNeutralAvatarProto { + get {return _maleNeutralAvatar ?? PlayerNeutralAvatarProto()} + set {_maleNeutralAvatar = newValue} + } + /// Returns true if `maleNeutralAvatar` has been explicitly set. + public var hasMaleNeutralAvatar: Bool {return self._maleNeutralAvatar != nil} + /// Clears the value of `maleNeutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearMaleNeutralAvatar() {self._maleNeutralAvatar = nil} - public var spawnablePokemons: [SpawnablePokemon] = [] + public var neutralAvatarLegacyMappingVersion: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _defaultNeutralAvatar: PlayerNeutralAvatarProto? = nil + fileprivate var _femaleNeutralAvatar: PlayerNeutralAvatarProto? = nil + fileprivate var _maleNeutralAvatar: PlayerNeutralAvatarProto? = nil } -public struct PlayerSpawnablePokemonProto { +public struct NewInboxMessage { // 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. @@ -98313,491 +97897,393 @@ public struct PlayerSpawnablePokemonProto { public init() {} } -public struct PlayerStatsProto { +public struct NewsArticleProto { // 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. - public var level: Int32 { - get {return _storage._level} - set {_uniqueStorage()._level = newValue} - } + public var id: String = String() - public var experience: Int64 { - get {return _storage._experience} - set {_uniqueStorage()._experience = newValue} - } + public var imageURL: [String] = [] - public var prevLevelExp: Int64 { - get {return _storage._prevLevelExp} - set {_uniqueStorage()._prevLevelExp = newValue} - } + public var headerKey: String = String() - public var nextLevelExp: Int64 { - get {return _storage._nextLevelExp} - set {_uniqueStorage()._nextLevelExp = newValue} - } + public var subheaderKey: String = String() - public var kmWalked: Float { - get {return _storage._kmWalked} - set {_uniqueStorage()._kmWalked = newValue} - } + public var mainTextKey: String = String() - public var numPokemonEncountered: Int32 { - get {return _storage._numPokemonEncountered} - set {_uniqueStorage()._numPokemonEncountered = newValue} - } + public var timestamp: Int64 = 0 - public var numUniquePokedexEntries: Int32 { - get {return _storage._numUniquePokedexEntries} - set {_uniqueStorage()._numUniquePokedexEntries = newValue} - } + public var template: NewsArticleProto.NewsTemplate = .unset - public var numPokemonCaptured: Int32 { - get {return _storage._numPokemonCaptured} - set {_uniqueStorage()._numPokemonCaptured = newValue} - } + public var enabled: Bool = false - public var numEvolutions: Int32 { - get {return _storage._numEvolutions} - set {_uniqueStorage()._numEvolutions = newValue} - } + public var articleRead: Bool = false - public var pokeStopVisits: Int32 { - get {return _storage._pokeStopVisits} - set {_uniqueStorage()._pokeStopVisits = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var numberOfPokeballThrown: Int32 { - get {return _storage._numberOfPokeballThrown} - set {_uniqueStorage()._numberOfPokeballThrown = newValue} - } + public enum NewsTemplate: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case defaultTemplate // = 1 + case UNRECOGNIZED(Int) - public var numEggsHatched: Int32 { - get {return _storage._numEggsHatched} - set {_uniqueStorage()._numEggsHatched = newValue} - } + public init() { + self = .unset + } - public var bigMagikarpCaught: Int32 { - get {return _storage._bigMagikarpCaught} - set {_uniqueStorage()._bigMagikarpCaught = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .defaultTemplate + default: self = .UNRECOGNIZED(rawValue) + } + } - public var numBattleAttackWon: Int32 { - get {return _storage._numBattleAttackWon} - set {_uniqueStorage()._numBattleAttackWon = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .defaultTemplate: return 1 + case .UNRECOGNIZED(let i): return i + } + } - public var numBattleAttackTotal: Int32 { - get {return _storage._numBattleAttackTotal} - set {_uniqueStorage()._numBattleAttackTotal = newValue} } - public var numBattleDefendedWon: Int32 { - get {return _storage._numBattleDefendedWon} - set {_uniqueStorage()._numBattleDefendedWon = newValue} - } + public init() {} +} - public var numBattleTrainingWon: Int32 { - get {return _storage._numBattleTrainingWon} - set {_uniqueStorage()._numBattleTrainingWon = newValue} - } +#if swift(>=4.2) - public var numBattleTrainingTotal: Int32 { - get {return _storage._numBattleTrainingTotal} - set {_uniqueStorage()._numBattleTrainingTotal = newValue} - } +extension NewsArticleProto.NewsTemplate: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [NewsArticleProto.NewsTemplate] = [ + .unset, + .defaultTemplate, + ] +} - public var prestigeRaisedTotal: Int32 { - get {return _storage._prestigeRaisedTotal} - set {_uniqueStorage()._prestigeRaisedTotal = newValue} - } +#endif // swift(>=4.2) - public var prestigeDroppedTotal: Int32 { - get {return _storage._prestigeDroppedTotal} - set {_uniqueStorage()._prestigeDroppedTotal = newValue} - } +public struct NewsFeedClientSettingsProto { + // 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. - public var numPokemonDeployed: Int32 { - get {return _storage._numPokemonDeployed} - set {_uniqueStorage()._numPokemonDeployed = newValue} - } + public var newsFeedPollingEnabled: Bool = false - public var numPokemonCaughtByType: [Int32] { - get {return _storage._numPokemonCaughtByType} - set {_uniqueStorage()._numPokemonCaughtByType = newValue} - } + public var newsFeedPollingRateMinutes: Int32 = 0 - public var smallRattataCaught: Int32 { - get {return _storage._smallRattataCaught} - set {_uniqueStorage()._smallRattataCaught = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var usedKmPool: Double { - get {return _storage._usedKmPool} - set {_uniqueStorage()._usedKmPool = newValue} - } + public init() {} +} - public var lastKmRefillMs: Int64 { - get {return _storage._lastKmRefillMs} - set {_uniqueStorage()._lastKmRefillMs = newValue} - } +public struct NewsGlobalSettingsProto { + // 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. - public var numRaidBattleWon: Int32 { - get {return _storage._numRaidBattleWon} - set {_uniqueStorage()._numRaidBattleWon = newValue} - } + public var enableNews: Bool = false - public var numRaidBattleTotal: Int32 { - get {return _storage._numRaidBattleTotal} - set {_uniqueStorage()._numRaidBattleTotal = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var numLegendaryBattleWon: Int32 { - get {return _storage._numLegendaryBattleWon} - set {_uniqueStorage()._numLegendaryBattleWon = newValue} - } + public init() {} +} - public var numLegendaryBattleTotal: Int32 { - get {return _storage._numLegendaryBattleTotal} - set {_uniqueStorage()._numLegendaryBattleTotal = newValue} - } +public struct NewsPageTelemetry { + // 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. - public var numBerriesFed: Int32 { - get {return _storage._numBerriesFed} - set {_uniqueStorage()._numBerriesFed = newValue} - } + public var newsPageClickID: NewsPageTelemetryIds = .undefinedNewsEvent - public var totalDefendedMs: Int64 { - get {return _storage._totalDefendedMs} - set {_uniqueStorage()._totalDefendedMs = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var eventBadges: [HoloBadgeType] { - get {return _storage._eventBadges} - set {_uniqueStorage()._eventBadges = newValue} - } + public init() {} +} - public var kmWalkedPastActiveDay: Float { - get {return _storage._kmWalkedPastActiveDay} - set {_uniqueStorage()._kmWalkedPastActiveDay = newValue} - } +public struct NewsProto { + // 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. - public var numChallengeQuestsCompleted: Int32 { - get {return _storage._numChallengeQuestsCompleted} - set {_uniqueStorage()._numChallengeQuestsCompleted = newValue} - } + public var newsBundleID: String = String() - public var numTrades: Int32 { - get {return _storage._numTrades} - set {_uniqueStorage()._numTrades = newValue} - } + public var exclusiveCountries: [String] = [] - public var numMaxLevelFriends: Int32 { - get {return _storage._numMaxLevelFriends} - set {_uniqueStorage()._numMaxLevelFriends = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var tradeAccumulatedDistanceKm: Int64 { - get {return _storage._tradeAccumulatedDistanceKm} - set {_uniqueStorage()._tradeAccumulatedDistanceKm = newValue} - } + public init() {} +} - public var fitnessReportLastCheckBucket: Int64 { - get {return _storage._fitnessReportLastCheckBucket} - set {_uniqueStorage()._fitnessReportLastCheckBucket = newValue} - } +public struct NewsSettingProto { + // 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. - public var combatStats: PlayerCombatStatsProto { - get {return _storage._combatStats ?? PlayerCombatStatsProto()} - set {_uniqueStorage()._combatStats = newValue} - } - /// Returns true if `combatStats` has been explicitly set. - public var hasCombatStats: Bool {return _storage._combatStats != nil} - /// Clears the value of `combatStats`. Subsequent reads from it will return its default value. - public mutating func clearCombatStats() {_uniqueStorage()._combatStats = nil} + public var newsProtos: [NewsProto] = [] - public var numNpcCombatsWon: Int32 { - get {return _storage._numNpcCombatsWon} - set {_uniqueStorage()._numNpcCombatsWon = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var numNpcCombatsTotal: Int32 { - get {return _storage._numNpcCombatsTotal} - set {_uniqueStorage()._numNpcCombatsTotal = newValue} - } + public init() {} +} - public var numPhotobombSeen: Int32 { - get {return _storage._numPhotobombSeen} - set {_uniqueStorage()._numPhotobombSeen = newValue} - } +public struct NewsfeedMetadata { + // 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. - public var numPokemonPurified: Int32 { - get {return _storage._numPokemonPurified} - set {_uniqueStorage()._numPokemonPurified = newValue} - } + public var createdTimeMs: Int64 = 0 - public var numGruntsDefeated: Int32 { - get {return _storage._numGruntsDefeated} - set {_uniqueStorage()._numGruntsDefeated = newValue} - } + public var expiredTimeMs: Int64 = 0 - public var numBestBuddies: Int32 { - get {return _storage._numBestBuddies} - set {_uniqueStorage()._numBestBuddies = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var levelCap: Int32 { - get {return _storage._levelCap} - set {_uniqueStorage()._levelCap = newValue} - } + public init() {} +} - public var sevenDayStreaks: Int32 { - get {return _storage._sevenDayStreaks} - set {_uniqueStorage()._sevenDayStreaks = newValue} - } +public struct NewsfeedPost { + // 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. - public var uniqueRaidBossesDefeated: Int32 { - get {return _storage._uniqueRaidBossesDefeated} - set {_uniqueStorage()._uniqueRaidBossesDefeated = newValue} + public var title: String { + get {return _storage._title} + set {_uniqueStorage()._title = newValue} } - public var uniquePokestopsVisited: Int32 { - get {return _storage._uniquePokestopsVisited} - set {_uniqueStorage()._uniquePokestopsVisited = newValue} + public var previewText: String { + get {return _storage._previewText} + set {_uniqueStorage()._previewText = newValue} } - public var raidsWonWithFriends: Int32 { - get {return _storage._raidsWonWithFriends} - set {_uniqueStorage()._raidsWonWithFriends = newValue} + public var thumbnailImageURL: String { + get {return _storage._thumbnailImageURL} + set {_uniqueStorage()._thumbnailImageURL = newValue} } - public var pokemonCaughtAtYourLures: Int32 { - get {return _storage._pokemonCaughtAtYourLures} - set {_uniqueStorage()._pokemonCaughtAtYourLures = newValue} + public var newsfeedChannel: [NewsfeedPost.NewsfeedChannel] { + get {return _storage._newsfeedChannel} + set {_uniqueStorage()._newsfeedChannel = newValue} } - public var numWayfarerAgreement: Int32 { - get {return _storage._numWayfarerAgreement} - set {_uniqueStorage()._numWayfarerAgreement = newValue} + public var postContent: String { + get {return _storage._postContent} + set {_uniqueStorage()._postContent = newValue} } - public var wayfarerAgreementUpdateMs: Int64 { - get {return _storage._wayfarerAgreementUpdateMs} - set {_uniqueStorage()._wayfarerAgreementUpdateMs = newValue} + public var newsfeedMetadata: NewsfeedMetadata { + get {return _storage._newsfeedMetadata ?? NewsfeedMetadata()} + set {_uniqueStorage()._newsfeedMetadata = newValue} } + /// Returns true if `newsfeedMetadata` has been explicitly set. + public var hasNewsfeedMetadata: Bool {return _storage._newsfeedMetadata != nil} + /// Clears the value of `newsfeedMetadata`. Subsequent reads from it will return its default value. + public mutating func clearNewsfeedMetadata() {_uniqueStorage()._newsfeedMetadata = nil} - public var numTotalMegaEvolutions: Int32 { - get {return _storage._numTotalMegaEvolutions} - set {_uniqueStorage()._numTotalMegaEvolutions = newValue} + public var keyValuePairs: Dictionary { + get {return _storage._keyValuePairs} + set {_uniqueStorage()._keyValuePairs = newValue} } - public var numUniqueMegaEvolutions: Int32 { - get {return _storage._numUniqueMegaEvolutions} - set {_uniqueStorage()._numUniqueMegaEvolutions = newValue} + public var startTimestamp: Int64 { + get {return _storage._startTimestamp} + set {_uniqueStorage()._startTimestamp = newValue} } - public var numMiniCollectionEventCompleted: Int32 { - get {return _storage._numMiniCollectionEventCompleted} - set {_uniqueStorage()._numMiniCollectionEventCompleted = newValue} + public var expirationTimestamp: Int64 { + get {return _storage._expirationTimestamp} + set {_uniqueStorage()._expirationTimestamp = newValue} } - public var numPokemonFormChanges: Int32 { - get {return _storage._numPokemonFormChanges} - set {_uniqueStorage()._numPokemonFormChanges = newValue} + public var creationTimestamp: Int64 { + get {return _storage._creationTimestamp} + set {_uniqueStorage()._creationTimestamp = newValue} } - public var numRocketBalloonBattlesWon: Int32 { - get {return _storage._numRocketBalloonBattlesWon} - set {_uniqueStorage()._numRocketBalloonBattlesWon = newValue} + public var priorityFlag: Bool { + get {return _storage._priorityFlag} + set {_uniqueStorage()._priorityFlag = newValue} } - public var numRocketBalloonBattlesTotal: Int32 { - get {return _storage._numRocketBalloonBattlesTotal} - set {_uniqueStorage()._numRocketBalloonBattlesTotal = newValue} + public var readFlag: Bool { + get {return _storage._readFlag} + set {_uniqueStorage()._readFlag = newValue} } - public var numRoutesAccepted: Int32 { - get {return _storage._numRoutesAccepted} - set {_uniqueStorage()._numRoutesAccepted = newValue} + public var previewMetadata: NewsfeedPost.PreviewMetadata { + get {return _storage._previewMetadata ?? NewsfeedPost.PreviewMetadata()} + set {_uniqueStorage()._previewMetadata = newValue} } + /// Returns true if `previewMetadata` has been explicitly set. + public var hasPreviewMetadata: Bool {return _storage._previewMetadata != nil} + /// Clears the value of `previewMetadata`. Subsequent reads from it will return its default value. + public mutating func clearPreviewMetadata() {_uniqueStorage()._previewMetadata = nil} - public var numPlayersReferred: Int32 { - get {return _storage._numPlayersReferred} - set {_uniqueStorage()._numPlayersReferred = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var numPokestopsArVideoScanned: Int32 { - get {return _storage._numPokestopsArVideoScanned} - set {_uniqueStorage()._numPokestopsArVideoScanned = newValue} - } + public enum NewsfeedChannel: SwiftProtobuf.Enum { + public typealias RawValue = Int + case notDefined // = 0 + case newsfeedMessageChannel // = 1 + case inAppMessageChannel // = 2 + case UNRECOGNIZED(Int) - ///todo: not in apk, need look better - public var numOnRaidAchievementsScreen: Int32 { - get {return _storage._numOnRaidAchievementsScreen} - set {_uniqueStorage()._numOnRaidAchievementsScreen = newValue} - } + public init() { + self = .notDefined + } - public var numTotalRoutePlay: Int32 { - get {return _storage._numTotalRoutePlay} - set {_uniqueStorage()._numTotalRoutePlay = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .notDefined + case 1: self = .newsfeedMessageChannel + case 2: self = .inAppMessageChannel + default: self = .UNRECOGNIZED(rawValue) + } + } - public var numUniqueRoutePlay: Int32 { - get {return _storage._numUniqueRoutePlay} - set {_uniqueStorage()._numUniqueRoutePlay = newValue} - } + public var rawValue: Int { + switch self { + case .notDefined: return 0 + case .newsfeedMessageChannel: return 1 + case .inAppMessageChannel: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var numButterflyCollector: Int32 { - get {return _storage._numButterflyCollector} - set {_uniqueStorage()._numButterflyCollector = newValue} } - public var currentPostcardCount: Int32 { - get {return _storage._currentPostcardCount} - set {_uniqueStorage()._currentPostcardCount = newValue} - } + public struct PreviewMetadata { + // 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. - public var maxPostcardCount: Int32 { - get {return _storage._maxPostcardCount} - set {_uniqueStorage()._maxPostcardCount = newValue} - } + public var attributes: Dictionary = [:] - public var contestStats: PlayerContestStatsProto { - get {return _storage._contestStats ?? PlayerContestStatsProto()} - set {_uniqueStorage()._contestStats = newValue} - } - /// Returns true if `contestStats` has been explicitly set. - public var hasContestStats: Bool {return _storage._contestStats != nil} - /// Clears the value of `contestStats`. Subsequent reads from it will return its default value. - public mutating func clearContestStats() {_uniqueStorage()._contestStats = nil} + public var playerHashedID: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var renderedTitle: String = String() + + public var renderedPreviewText: String = String() + + public var renderedPostContent: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } public init() {} fileprivate var _storage = _StorageClass.defaultInstance } -public struct PlayerStatsSnapshotsProto { +#if swift(>=4.2) + +extension NewsfeedPost.NewsfeedChannel: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [NewsfeedPost.NewsfeedChannel] = [ + .notDefined, + .newsfeedMessageChannel, + .inAppMessageChannel, + ] +} + +#endif // swift(>=4.2) + +public struct NewsfeedPostRecord { // 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. - public var snapShot: [PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto] = [] + public var newsfeedPost: NewsfeedPost { + get {return _newsfeedPost ?? NewsfeedPost()} + set {_newsfeedPost = newValue} + } + /// Returns true if `newsfeedPost` has been explicitly set. + public var hasNewsfeedPost: Bool {return self._newsfeedPost != nil} + /// Clears the value of `newsfeedPost`. Subsequent reads from it will return its default value. + public mutating func clearNewsfeedPost() {self._newsfeedPost = nil} - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var newsfeedPostID: String = String() - public struct PlayerStatsSnapshotProto { - // 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. + public var newsfeedPostCampaignID: Int64 = 0 - public var reason: PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto.Reason = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var stats: PlayerStatsProto { - get {return _stats ?? PlayerStatsProto()} - set {_stats = newValue} - } - /// Returns true if `stats` has been explicitly set. - public var hasStats: Bool {return self._stats != nil} - /// Clears the value of `stats`. Subsequent reads from it will return its default value. - public mutating func clearStats() {self._stats = nil} + public init() {} - public var unknownFields = SwiftProtobuf.UnknownStorage() + fileprivate var _newsfeedPost: NewsfeedPost? = nil +} - public enum Reason: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case levelUp // = 1 - case UNRECOGNIZED(Int) +public struct NiaAny { + // 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. - public init() { - self = .unset - } + public var typeURL: String = String() - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .levelUp - default: self = .UNRECOGNIZED(rawValue) - } - } + public var value: Data = Data() - public var rawValue: Int { - switch self { - case .unset: return 0 - case .levelUp: return 1 - case .UNRECOGNIZED(let i): return i - } - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - } + public init() {} +} - public init() {} +public struct NiaAuthAuthenticateAppleSignInRequestProto { + // 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. - fileprivate var _stats: PlayerStatsProto? = nil - } + public var appleIDToken: Data = Data() - public init() {} -} + public var authCode: Data = Data() -#if swift(>=4.2) + public var unknownFields = SwiftProtobuf.UnknownStorage() -extension PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto.Reason: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto.Reason] = [ - .unset, - .levelUp, - ] + public init() {} } -#endif // swift(>=4.2) - -public struct PlayerStatus { +public struct NiaAuthAuthenticateAppleSignInResponseProto { // 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. + public var status: NiaAuthAuthenticateAppleSignInResponseProto.Status = .unset + + public var niaAppleAuthToken: Data = Data() + public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case undefinedStatus // = 0 - case active // = 1 - case warned // = 100 - case warnedTwice // = 101 - case suspended // = 200 - case suspendedTwice // = 201 - case banned // = 300 + case unset // = 0 + case success // = 1 + case invalidAuth // = 2 + case serverError // = 3 case UNRECOGNIZED(Int) public init() { - self = .undefinedStatus + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .undefinedStatus - case 1: self = .active - case 100: self = .warned - case 101: self = .warnedTwice - case 200: self = .suspended - case 201: self = .suspendedTwice - case 300: self = .banned + case 0: self = .unset + case 1: self = .success + case 2: self = .invalidAuth + case 3: self = .serverError default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .undefinedStatus: return 0 - case .active: return 1 - case .warned: return 100 - case .warnedTwice: return 101 - case .suspended: return 200 - case .suspendedTwice: return 201 - case .banned: return 300 + case .unset: return 0 + case .success: return 1 + case .invalidAuth: return 2 + case .serverError: return 3 case .UNRECOGNIZED(let i): return i } } @@ -98809,80 +98295,76 @@ public struct PlayerStatus { #if swift(>=4.2) -extension PlayerStatus.Status: CaseIterable { +extension NiaAuthAuthenticateAppleSignInResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerStatus.Status] = [ - .undefinedStatus, - .active, - .warned, - .warnedTwice, - .suspended, - .suspendedTwice, - .banned, + public static var allCases: [NiaAuthAuthenticateAppleSignInResponseProto.Status] = [ + .unset, + .success, + .invalidAuth, + .serverError, ] } #endif // swift(>=4.2) -public struct PlayerSubmissionResponseProto { +public struct NiaAuthValidateNiaAppleAuthTokenRequestProto { // 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. - public var status: PlayerSubmissionResponseProto.Status = .unspecified + public var niaAppleAuthToken: Data = Data() - public var submissionID: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var messages: [String] = [] + public init() {} +} + +public struct NiaAuthValidateNiaAppleAuthTokenResponseProto { + // 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. + + public var status: NiaAuthValidateNiaAppleAuthTokenResponseProto.Status = .unset + + public var appleUserID: String = String() + + public var appleEmail: String = String() + + public var appleClientID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public enum Status: SwiftProtobuf.Enum { public typealias RawValue = Int - case unspecified // = 0 + case unset // = 0 case success // = 1 - case internalError // = 2 - case tooManyRecentSubmissions // = 3 - case minor // = 4 - case notAvailable // = 5 - case invalidInput // = 6 - case missingImage // = 7 - case distanceValidationFailed // = 8 - case activationRequestFailed // = 9 + case invalidAuth // = 2 + case expiredAuth // = 3 + case serverError // = 4 case UNRECOGNIZED(Int) public init() { - self = .unspecified + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unspecified + case 0: self = .unset case 1: self = .success - case 2: self = .internalError - case 3: self = .tooManyRecentSubmissions - case 4: self = .minor - case 5: self = .notAvailable - case 6: self = .invalidInput - case 7: self = .missingImage - case 8: self = .distanceValidationFailed - case 9: self = .activationRequestFailed + case 2: self = .invalidAuth + case 3: self = .expiredAuth + case 4: self = .serverError default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unspecified: return 0 + case .unset: return 0 case .success: return 1 - case .internalError: return 2 - case .tooManyRecentSubmissions: return 3 - case .minor: return 4 - case .notAvailable: return 5 - case .invalidInput: return 6 - case .missingImage: return 7 - case .distanceValidationFailed: return 8 - case .activationRequestFailed: return 9 + case .invalidAuth: return 2 + case .expiredAuth: return 3 + case .serverError: return 4 case .UNRECOGNIZED(let i): return i } } @@ -98894,118 +98376,65 @@ public struct PlayerSubmissionResponseProto { #if swift(>=4.2) -extension PlayerSubmissionResponseProto.Status: CaseIterable { +extension NiaAuthValidateNiaAppleAuthTokenResponseProto.Status: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PlayerSubmissionResponseProto.Status] = [ - .unspecified, + public static var allCases: [NiaAuthValidateNiaAppleAuthTokenResponseProto.Status] = [ + .unset, .success, - .internalError, - .tooManyRecentSubmissions, - .minor, - .notAvailable, - .invalidInput, - .missingImage, - .distanceValidationFailed, - .activationRequestFailed, + .invalidAuth, + .expiredAuth, + .serverError, ] } #endif // swift(>=4.2) -public struct PlayerSummaryProto { +public struct NiaIdMigrationSettingsProto { // 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. - public var playerID: String { - get {return _storage._playerID} - set {_uniqueStorage()._playerID = newValue} - } + public var useNiaAccountID: Bool = false - public var codename: String { - get {return _storage._codename} - set {_uniqueStorage()._codename = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var publicData: PlayerPublicProfileProto { - get {return _storage._publicData ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._publicData = newValue} - } - /// Returns true if `publicData` has been explicitly set. - public var hasPublicData: Bool {return _storage._publicData != nil} - /// Clears the value of `publicData`. Subsequent reads from it will return its default value. - public mutating func clearPublicData() {_uniqueStorage()._publicData = nil} + public init() {} +} - public var team: String { - get {return _storage._team} - set {_uniqueStorage()._team = newValue} - } +public struct NianticProfileTelemetry { + // 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. - public var fbUserID: String { - get {return _storage._fbUserID} - set {_uniqueStorage()._fbUserID = newValue} - } - - public var level: Int32 { - get {return _storage._level} - set {_uniqueStorage()._level = newValue} - } - - public var experience: Int64 { - get {return _storage._experience} - set {_uniqueStorage()._experience = newValue} - } - - public var niaAccountID: String { - get {return _storage._niaAccountID} - set {_uniqueStorage()._niaAccountID = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PoiCategorizationEntryTelemetry { - // 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. - - public var entryType: PoiCategorizationEntryTelemetry.EntryType = .unset - - public var sessionStartTime: Int64 = 0 - - public var langCountryCode: String = String() + public var nianticProfileTelemetryID: NianticProfileTelemetry.NianticProfileTelemetryIds = .undefined public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum EntryType: SwiftProtobuf.Enum { + public enum NianticProfileTelemetryIds: SwiftProtobuf.Enum { public typealias RawValue = Int - case unset // = 0 - case edit // = 1 - case nomination // = 2 + case undefined // = 0 + case openMyProfile // = 1 + case openFriendProfile // = 2 case UNRECOGNIZED(Int) public init() { - self = .unset + self = .undefined } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unset - case 1: self = .edit - case 2: self = .nomination + case 0: self = .undefined + case 1: self = .openMyProfile + case 2: self = .openFriendProfile default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unset: return 0 - case .edit: return 1 - case .nomination: return 2 + case .undefined: return 0 + case .openMyProfile: return 1 + case .openFriendProfile: return 2 case .UNRECOGNIZED(let i): return i } } @@ -99017,39 +98446,104 @@ public struct PoiCategorizationEntryTelemetry { #if swift(>=4.2) -extension PoiCategorizationEntryTelemetry.EntryType: CaseIterable { +extension NianticProfileTelemetry.NianticProfileTelemetryIds: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PoiCategorizationEntryTelemetry.EntryType] = [ - .unset, - .edit, - .nomination, + public static var allCases: [NianticProfileTelemetry.NianticProfileTelemetryIds] = [ + .undefined, + .openMyProfile, + .openFriendProfile, ] } #endif // swift(>=4.2) -public struct PoiCategorizationOperationTelemetry { +public struct NianticSharedLoginProto { // 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. - public var operationType: PoiCategorizationOperationTelemetry.OperationType = .unset + public var token: Data = Data() - public var sessionStartTime: Int64 = 0 + public var deviceID: String = String() - public var selectedIds: [String] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var langCountryCode: String = String() + public init() {} +} + +public struct NianticToken { + // 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. + + public var token: Data = Data() + + public var tokenV2: Data = Data() + + public var expirationTime: Int64 = 0 + + public var iv: Data = Data() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OperationType: SwiftProtobuf.Enum { + public init() {} +} + +public struct NianticTokenRequest { + // 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. + + public var authID: String = String() + + public var innerMessage: Data = Data() + + public var options: NianticTokenRequest.SessionOptions { + get {return _options ?? NianticTokenRequest.SessionOptions()} + set {_options = newValue} + } + /// Returns true if `options` has been explicitly set. + public var hasOptions: Bool {return self._options != nil} + /// Clears the value of `options`. Subsequent reads from it will return its default value. + public mutating func clearOptions() {self._options = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct SessionOptions { + // 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. + + public var preventAccountCreation: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _options: NianticTokenRequest.SessionOptions? = nil +} + +public struct NicknamePokemonOutProto { + // 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. + + public var result: NicknamePokemonOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case editSubmitted // = 1 - case editCancelled // = 2 - case nominationExitForward // = 3 - case nominationExitBackward // = 4 + case success // = 1 + case errorInvalidNickname // = 2 + case errorPokemonNotFound // = 3 + case errorPokemonIsEgg // = 4 + case errorFilteredNickname // = 5 + case errorExceededChangeLimit // = 6 case UNRECOGNIZED(Int) public init() { @@ -99059,10 +98553,12 @@ public struct PoiCategorizationOperationTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .editSubmitted - case 2: self = .editCancelled - case 3: self = .nominationExitForward - case 4: self = .nominationExitBackward + case 1: self = .success + case 2: self = .errorInvalidNickname + case 3: self = .errorPokemonNotFound + case 4: self = .errorPokemonIsEgg + case 5: self = .errorFilteredNickname + case 6: self = .errorExceededChangeLimit default: self = .UNRECOGNIZED(rawValue) } } @@ -99070,10 +98566,12 @@ public struct PoiCategorizationOperationTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .editSubmitted: return 1 - case .editCancelled: return 2 - case .nominationExitForward: return 3 - case .nominationExitBackward: return 4 + case .success: return 1 + case .errorInvalidNickname: return 2 + case .errorPokemonNotFound: return 3 + case .errorPokemonIsEgg: return 4 + case .errorFilteredNickname: return 5 + case .errorExceededChangeLimit: return 6 case .UNRECOGNIZED(let i): return i } } @@ -99085,105 +98583,292 @@ public struct PoiCategorizationOperationTelemetry { #if swift(>=4.2) -extension PoiCategorizationOperationTelemetry.OperationType: CaseIterable { +extension NicknamePokemonOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PoiCategorizationOperationTelemetry.OperationType] = [ + public static var allCases: [NicknamePokemonOutProto.Result] = [ .unset, - .editSubmitted, - .editCancelled, - .nominationExitForward, - .nominationExitBackward, + .success, + .errorInvalidNickname, + .errorPokemonNotFound, + .errorPokemonIsEgg, + .errorFilteredNickname, + .errorExceededChangeLimit, ] } #endif // swift(>=4.2) -public struct PoiCategoryRemovedTelemetry { +public struct NicknamePokemonProto { // 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. - public var sessionStartTime: Int64 = 0 + public var pokemonID: UInt64 = 0 - public var removedID: String = String() + public var nickname: String = String() - public var remainingIds: [String] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var langCountryCode: String = String() + public init() {} +} + +public struct NicknamePokemonTelemetry { + // 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. + + public var pokemon: PokemonTelemetry { + get {return _pokemon ?? PokemonTelemetry()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var nickname: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _pokemon: PokemonTelemetry? = nil } -public struct PoiCategorySelectedTelemetry { +public struct NonCombatMoveSettingsProto { // 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. - public var sessionStartTime: Int64 = 0 + public var uniqueID: HoloPokemonMove = .moveUnset - public var selectedID: String = String() + public var cost: CostSettingsProto { + get {return _cost ?? CostSettingsProto()} + set {_cost = newValue} + } + /// Returns true if `cost` has been explicitly set. + public var hasCost: Bool {return self._cost != nil} + /// Clears the value of `cost`. Subsequent reads from it will return its default value. + public mutating func clearCost() {self._cost = nil} - public var selectedIndex: Int32 = 0 + public var bonusEffect: BonusEffectSettingsProto { + get {return _bonusEffect ?? BonusEffectSettingsProto()} + set {_bonusEffect = newValue} + } + /// Returns true if `bonusEffect` has been explicitly set. + public var hasBonusEffect: Bool {return self._bonusEffect != nil} + /// Clears the value of `bonusEffect`. Subsequent reads from it will return its default value. + public mutating func clearBonusEffect() {self._bonusEffect = nil} - public var searchEntered: Bool = false + public var durationMs: Int64 = 0 - public var parentSelected: Bool = false + public var bonusType: PlayerBonusType = .playerBonusUnset - public var langCountryCode: String = String() + public var enableMultiUse: Bool = false + + public var extraDurationMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _cost: CostSettingsProto? = nil + fileprivate var _bonusEffect: BonusEffectSettingsProto? = nil } -public struct PoiGlobalSettingsProto { +public struct NotificationPermissionsTelemetry { // 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. - public var isEnabled: Bool = false + public var systemSettingsEnabled: Bool = false - public var playerSubmissionTypeEnabled: [String] = [] + public var eventsOffersUpdatesEmailEnabled: Bool = false + + public var combineResearchUpdatesInAppEnabled: Bool = false + + public var nearbyRaidsInAppEnabled: Bool = false + + public var pokemonReturnInAppEnabled: Bool = false + + public var openedGiftInAppEnabled: Bool = false + + public var giftReceivedInAppEnabled: Bool = false + + public var buddyCandiesInAppEnabled: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PoiPlayerMetadataTelemetry { +public struct NotificationSettingsProto { // 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. - public var deviceModel: String = String() + public var pullNotifications: Bool = false - public var deviceOs: String = String() + public var showNotifications: Bool = false + + public var promptEnablePushNotificationsIntervalSeconds: Int32 = 0 + + public var promptEnablePushNotificationsImageURL: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PoiSubmissionPhotoUploadErrorTelemetry { +public struct NpcEncounterProto { // 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. - public var errorID: PoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds = .unset + public var encounterID: String = String() - public var imageType: PoiImageType = .unset + public var character: EnumWrapper.InvasionCharacter = .characterUnset - public var errorMessage: String = String() + public var steps: [NpcEncounterProto.NpcEncounterStep] = [] + + public var currentStep: String = String() + + public var mapCharacter: QuestDialogProto.Character = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum PoiSubmissionPhotoUploadErrorIds: SwiftProtobuf.Enum { + public struct NpcEncounterStep { + // 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. + + public var stepID: String = String() + + public var dialog: [ClientDialogueLineProto] = [] + + public var event: NpcEventProto { + get {return _event ?? NpcEventProto()} + set {_event = newValue} + } + /// Returns true if `event` has been explicitly set. + public var hasEvent: Bool {return self._event != nil} + /// Clears the value of `event`. Subsequent reads from it will return its default value. + public mutating func clearEvent() {self._event = nil} + + public var nextStep: [String] = [] + + public var npcDialog: [QuestDialogProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _event: NpcEventProto? = nil + } + + public init() {} +} + +public struct NpcEventProto { + // 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. + + public var state: NpcEventProto.OneOf_State? = nil + + public var cachedGiftExchangeEntry: GiftExchangeEntryProto { + get { + if case .cachedGiftExchangeEntry(let v)? = state {return v} + return GiftExchangeEntryProto() + } + set {state = .cachedGiftExchangeEntry(newValue)} + } + + public var cachedPokemonExchangeEntry: PokemonExchangeEntryProto { + get { + if case .cachedPokemonExchangeEntry(let v)? = state {return v} + return PokemonExchangeEntryProto() + } + set {state = .cachedPokemonExchangeEntry(newValue)} + } + + public var yesNoSelector: YesNoSelectorProto { + get { + if case .yesNoSelector(let v)? = state {return v} + return YesNoSelectorProto() + } + set {state = .yesNoSelector(newValue)} + } + + public var multiSelector: MultiSelectorProto { + get { + if case .multiSelector(let v)? = state {return v} + return MultiSelectorProto() + } + set {state = .multiSelector(newValue)} + } + + public var tutorialFlag: TutorialCompletion { + get { + if case .tutorialFlag(let v)? = state {return v} + return .legalScreen + } + set {state = .tutorialFlag(newValue)} + } + + public var event: NpcEventProto.Event = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_State: Equatable { + case cachedGiftExchangeEntry(GiftExchangeEntryProto) + case cachedPokemonExchangeEntry(PokemonExchangeEntryProto) + case yesNoSelector(YesNoSelectorProto) + case multiSelector(MultiSelectorProto) + case tutorialFlag(TutorialCompletion) + + #if !swift(>=4.1) + public static func ==(lhs: NpcEventProto.OneOf_State, rhs: NpcEventProto.OneOf_State) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.cachedGiftExchangeEntry, .cachedGiftExchangeEntry): return { + guard case .cachedGiftExchangeEntry(let l) = lhs, case .cachedGiftExchangeEntry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.cachedPokemonExchangeEntry, .cachedPokemonExchangeEntry): return { + guard case .cachedPokemonExchangeEntry(let l) = lhs, case .cachedPokemonExchangeEntry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.yesNoSelector, .yesNoSelector): return { + guard case .yesNoSelector(let l) = lhs, case .yesNoSelector(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.multiSelector, .multiSelector): return { + guard case .multiSelector(let l) = lhs, case .multiSelector(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.tutorialFlag, .tutorialFlag): return { + guard case .tutorialFlag(let l) = lhs, case .tutorialFlag(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum Event: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case poiPhotoUploadError // = 1 - case poiPhotoUploadTimeout // = 2 + case terminateEncounter // = 1 + case giftExchange // = 2 + case pokemonTrade // = 3 + case despawnNpc // = 4 + case yesNoSelect // = 5 + case multiSelect // = 6 + case setTutorialFlag // = 7 case UNRECOGNIZED(Int) public init() { @@ -99193,8 +98878,13 @@ public struct PoiSubmissionPhotoUploadErrorTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .poiPhotoUploadError - case 2: self = .poiPhotoUploadTimeout + case 1: self = .terminateEncounter + case 2: self = .giftExchange + case 3: self = .pokemonTrade + case 4: self = .despawnNpc + case 5: self = .yesNoSelect + case 6: self = .multiSelect + case 7: self = .setTutorialFlag default: self = .UNRECOGNIZED(rawValue) } } @@ -99202,8 +98892,13 @@ public struct PoiSubmissionPhotoUploadErrorTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .poiPhotoUploadError: return 1 - case .poiPhotoUploadTimeout: return 2 + case .terminateEncounter: return 1 + case .giftExchange: return 2 + case .pokemonTrade: return 3 + case .despawnNpc: return 4 + case .yesNoSelect: return 5 + case .multiSelect: return 6 + case .setTutorialFlag: return 7 case .UNRECOGNIZED(let i): return i } } @@ -99215,39 +98910,51 @@ public struct PoiSubmissionPhotoUploadErrorTelemetry { #if swift(>=4.2) -extension PoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds: CaseIterable { +extension NpcEventProto.Event: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds] = [ + public static var allCases: [NpcEventProto.Event] = [ .unset, - .poiPhotoUploadError, - .poiPhotoUploadTimeout, + .terminateEncounter, + .giftExchange, + .pokemonTrade, + .despawnNpc, + .yesNoSelect, + .multiSelect, + .setTutorialFlag, ] } #endif // swift(>=4.2) -public struct PoiSubmissionTelemetry { +public struct NpcOpenGiftOutProto { // 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. - public var guiEventID: PoiSubmissionTelemetry.PoiSubmissionGuiEventId = .unknown - - public var imageType: PoiImageType = .unset + public var result: NpcOpenGiftOutProto.Result = .unset - public var cameraStepID: PoiSubmissionTelemetry.PoiCameraStepIds = .unset + public var loot: LootProto { + get {return _loot ?? LootProto()} + set {_loot = newValue} + } + /// Returns true if `loot` has been explicitly set. + public var hasLoot: Bool {return self._loot != nil} + /// Clears the value of `loot`. Subsequent reads from it will return its default value. + public mutating func clearLoot() {self._loot = nil} - public var poiID: String = String() + public var currentStep: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum PoiCameraStepIds: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case enter // = 1 - case retake // = 2 - case confirm // = 3 - case exit // = 4 + case success // = 1 + case errorUnknown // = 2 + case errorEncounterNotFound // = 3 + case errorGiftNotFound // = 4 + case errorGiftAlreadyOpened // = 5 + case errorPlayerBagFull // = 6 case UNRECOGNIZED(Int) public init() { @@ -99257,10 +98964,12 @@ public struct PoiSubmissionTelemetry { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .enter - case 2: self = .retake - case 3: self = .confirm - case 4: self = .exit + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorEncounterNotFound + case 4: self = .errorGiftNotFound + case 5: self = .errorGiftAlreadyOpened + case 6: self = .errorPlayerBagFull default: self = .UNRECOGNIZED(rawValue) } } @@ -99268,101 +98977,12 @@ public struct PoiSubmissionTelemetry { public var rawValue: Int { switch self { case .unset: return 0 - case .enter: return 1 - case .retake: return 2 - case .confirm: return 3 - case .exit: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum PoiSubmissionGuiEventId: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case poiNominationEnter // = 1 - case poiTutorialComplete // = 2 - case poiMapChangedviewMap // = 3 - case poiMapChangedviewSatellite // = 4 - case poiMapCenterLocation // = 5 - case poiLocationSet // = 6 - case poiPhotoCameraEnter // = 7 - case poiPhotoCameraExit // = 8 - case poiTitleEntered // = 9 - case poiDescriptionEnter // = 10 - case poiDetailsConfirm // = 11 - case poiSupportinginfoEnter // = 12 - case poiSubmitButtonHit // = 13 - case poiExitButtonHit // = 14 - case poiNominationGuidelinesHit // = 15 - case poiMapTogglePoisOff // = 16 - case poiMapTogglePoisOn // = 17 - case poiMapWayspotsLoaded // = 18 - case poiMapSelectPoi // = 19 - case poiMapSelectPoiAbandon // = 20 - case poiMapSelectPoiCompleted // = 21 - case poiMapTutorialSelected // = 22 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .poiNominationEnter - case 2: self = .poiTutorialComplete - case 3: self = .poiMapChangedviewMap - case 4: self = .poiMapChangedviewSatellite - case 5: self = .poiMapCenterLocation - case 6: self = .poiLocationSet - case 7: self = .poiPhotoCameraEnter - case 8: self = .poiPhotoCameraExit - case 9: self = .poiTitleEntered - case 10: self = .poiDescriptionEnter - case 11: self = .poiDetailsConfirm - case 12: self = .poiSupportinginfoEnter - case 13: self = .poiSubmitButtonHit - case 14: self = .poiExitButtonHit - case 15: self = .poiNominationGuidelinesHit - case 16: self = .poiMapTogglePoisOff - case 17: self = .poiMapTogglePoisOn - case 18: self = .poiMapWayspotsLoaded - case 19: self = .poiMapSelectPoi - case 20: self = .poiMapSelectPoiAbandon - case 21: self = .poiMapSelectPoiCompleted - case 22: self = .poiMapTutorialSelected - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .poiNominationEnter: return 1 - case .poiTutorialComplete: return 2 - case .poiMapChangedviewMap: return 3 - case .poiMapChangedviewSatellite: return 4 - case .poiMapCenterLocation: return 5 - case .poiLocationSet: return 6 - case .poiPhotoCameraEnter: return 7 - case .poiPhotoCameraExit: return 8 - case .poiTitleEntered: return 9 - case .poiDescriptionEnter: return 10 - case .poiDetailsConfirm: return 11 - case .poiSupportinginfoEnter: return 12 - case .poiSubmitButtonHit: return 13 - case .poiExitButtonHit: return 14 - case .poiNominationGuidelinesHit: return 15 - case .poiMapTogglePoisOff: return 16 - case .poiMapTogglePoisOn: return 17 - case .poiMapWayspotsLoaded: return 18 - case .poiMapSelectPoi: return 19 - case .poiMapSelectPoiAbandon: return 20 - case .poiMapSelectPoiCompleted: return 21 - case .poiMapTutorialSelected: return 22 + case .success: return 1 + case .errorUnknown: return 2 + case .errorEncounterNotFound: return 3 + case .errorGiftNotFound: return 4 + case .errorGiftAlreadyOpened: return 5 + case .errorPlayerBagFull: return 6 case .UNRECOGNIZED(let i): return i } } @@ -99370,263 +98990,216 @@ public struct PoiSubmissionTelemetry { } public init() {} + + fileprivate var _loot: LootProto? = nil } #if swift(>=4.2) -extension PoiSubmissionTelemetry.PoiCameraStepIds: CaseIterable { +extension NpcOpenGiftOutProto.Result: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PoiSubmissionTelemetry.PoiCameraStepIds] = [ + public static var allCases: [NpcOpenGiftOutProto.Result] = [ .unset, - .enter, - .retake, - .confirm, - .exit, - ] -} - -extension PoiSubmissionTelemetry.PoiSubmissionGuiEventId: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PoiSubmissionTelemetry.PoiSubmissionGuiEventId] = [ - .unknown, - .poiNominationEnter, - .poiTutorialComplete, - .poiMapChangedviewMap, - .poiMapChangedviewSatellite, - .poiMapCenterLocation, - .poiLocationSet, - .poiPhotoCameraEnter, - .poiPhotoCameraExit, - .poiTitleEntered, - .poiDescriptionEnter, - .poiDetailsConfirm, - .poiSupportinginfoEnter, - .poiSubmitButtonHit, - .poiExitButtonHit, - .poiNominationGuidelinesHit, - .poiMapTogglePoisOff, - .poiMapTogglePoisOn, - .poiMapWayspotsLoaded, - .poiMapSelectPoi, - .poiMapSelectPoiAbandon, - .poiMapSelectPoiCompleted, - .poiMapTutorialSelected, + .success, + .errorUnknown, + .errorEncounterNotFound, + .errorGiftNotFound, + .errorGiftAlreadyOpened, + .errorPlayerBagFull, ] } #endif // swift(>=4.2) -public struct PoiVideoSubmissionMetadataProto { +public struct NpcOpenGiftProto { // 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. - public var poiID: String { - get {return _storage._poiID} - set {_uniqueStorage()._poiID = newValue} - } - - public var location: LocationE6Proto { - get {return _storage._location ?? LocationE6Proto()} - set {_uniqueStorage()._location = newValue} - } - /// Returns true if `location` has been explicitly set. - public var hasLocation: Bool {return _storage._location != nil} - /// Clears the value of `location`. Subsequent reads from it will return its default value. - public mutating func clearLocation() {_uniqueStorage()._location = nil} - - public var playerLevel: Int32 { - get {return _storage._playerLevel} - set {_uniqueStorage()._playerLevel = newValue} - } - - public var isPrivate: Bool { - get {return _storage._isPrivate} - set {_uniqueStorage()._isPrivate = newValue} - } - - public var geographicCoverage: String { - get {return _storage._geographicCoverage} - set {_uniqueStorage()._geographicCoverage = newValue} - } - - public var developerID: String { - get {return _storage._developerID} - set {_uniqueStorage()._developerID = newValue} - } - - public var arCommonMetadata: ARCommonMetadata { - get {return _storage._arCommonMetadata ?? ARCommonMetadata()} - set {_uniqueStorage()._arCommonMetadata = newValue} - } - /// Returns true if `arCommonMetadata` has been explicitly set. - public var hasArCommonMetadata: Bool {return _storage._arCommonMetadata != nil} - /// Clears the value of `arCommonMetadata`. Subsequent reads from it will return its default value. - public mutating func clearArCommonMetadata() {_uniqueStorage()._arCommonMetadata = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PointList { - // 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. + public var encounterID: String = String() - public var coords: [UInt32] = [] + public var convertToStardust: Bool = false public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PointProto { +public struct NpcPokemonProto { // 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. - public var latDegrees: Double = 0 + public var pokemonType: HoloPokemonId = .missingno - public var lngDegrees: Double = 0 + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil } -public struct PokeBallAttributesProto { +public struct NpcRouteGiftOutProto { // 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. - public var itemEffect: HoloItemEffect = .itemEffectNone + public var routePoiDetails: [NpcRouteGiftOutProto.RouteFortDetails] = [] - public var captureMulti: Float = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var captureMultiEffect: Float = 0 + public struct RouteFortDetails { + // 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. - public var itemEffectMod: Float = 0 + public var id: String = String() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var name: String = String() - public init() {} -} + public var latitude: Double = 0 -public struct PokeCandyProto { - // 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. + public var longitude: Double = 0 - public var pokemonID: UInt64 = 0 + public var imageURL: String = String() - public var candyCount: Int32 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() {} + } public init() {} } -public struct PokecoinPurchaseDisplayGmtProto { +public struct NpcRouteGiftProto { // 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. - public var featureEnabled: Bool = false + public var encounterID: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PokecoinPurchaseDisplaySettingsProto { +public struct NpcSendGiftOutProto { // 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. - public var featureEnabled: Bool = false + public var result: NpcSendGiftOutProto.Result = .unset - public var enabledCountries: [String] = [] + public var retrivedGiftbox: GiftExchangeEntryProto { + get {return _retrivedGiftbox ?? GiftExchangeEntryProto()} + set {_retrivedGiftbox = newValue} + } + /// Returns true if `retrivedGiftbox` has been explicitly set. + public var hasRetrivedGiftbox: Bool {return self._retrivedGiftbox != nil} + /// Clears the value of `retrivedGiftbox`. Subsequent reads from it will return its default value. + public mutating func clearRetrivedGiftbox() {self._retrivedGiftbox = nil} - public var enabledCurrencies: [String] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var usePokecoinPurchaseDisplayGmt: Bool = false + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorGiftLimit // = 3 + case errorPlayerHasNoStickers // = 4 + case UNRECOGNIZED(Int) - public var unknownFields = SwiftProtobuf.UnknownStorage() + public init() { + self = .unset + } - public init() {} -} + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorGiftLimit + case 4: self = .errorPlayerHasNoStickers + default: self = .UNRECOGNIZED(rawValue) + } + } -public struct PokecoinSectionProto { - // 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. + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorGiftLimit: return 3 + case .errorPlayerHasNoStickers: return 4 + case .UNRECOGNIZED(let i): return i + } + } - public var coinsEarnedToday: Int32 = 0 + } - public var maxCoinsPerDay: Int32 = 0 + public init() {} - public var coinsQuestID: String = String() + fileprivate var _retrivedGiftbox: GiftExchangeEntryProto? = nil +} - public var unknownFields = SwiftProtobuf.UnknownStorage() +#if swift(>=4.2) - public init() {} +extension NpcSendGiftOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [NpcSendGiftOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorGiftLimit, + .errorPlayerHasNoStickers, + ] } -public struct PokedexCategoriesSettings { +#endif // swift(>=4.2) + +public struct NpcSendGiftProto { // 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. - public var featureEnabled: Bool = false - - public var pokedexCategoryData: [PokedexCategoriesSettings.PokedexCategoryData] = [] + public var encounterID: String = String() - public var obBool: Bool = false + public var fortID: String = String() - public var enablePokedexSearch: Bool = false + public var stickersSent: [String] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct PokedexCategoryData { - // 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. - - public var pokedexCategory: PokedexCategory = .unset - - public var requirementsToUnlock: Int32 = 0 - - public var unlocked: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - public init() {} } -public struct PokedexCategoryMilestoneProto { +public struct NpcUpdateStateOutProto { // 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. - public var pokedexCategory: PokedexCategory = .unset - - public var status: PokedexCategoryMilestoneProto.Status = .unset + public var state: NpcUpdateStateOutProto.State = .unset - public var progress: Int32 = 0 + public var currentStep: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Status: SwiftProtobuf.Enum { + public enum State: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case active // = 1 - case unlocked // = 2 + case success // = 1 + case npcNotFound // = 2 + case stepInvalid // = 3 case UNRECOGNIZED(Int) public init() { @@ -99636,8 +99209,9 @@ public struct PokedexCategoryMilestoneProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .active - case 2: self = .unlocked + case 1: self = .success + case 2: self = .npcNotFound + case 3: self = .stepInvalid default: self = .UNRECOGNIZED(rawValue) } } @@ -99645,8 +99219,9 @@ public struct PokedexCategoryMilestoneProto { public var rawValue: Int { switch self { case .unset: return 0 - case .active: return 1 - case .unlocked: return 2 + case .success: return 1 + case .npcNotFound: return 2 + case .stepInvalid: return 3 case .UNRECOGNIZED(let i): return i } } @@ -99658,422 +99233,354 @@ public struct PokedexCategoryMilestoneProto { #if swift(>=4.2) -extension PokedexCategoryMilestoneProto.Status: CaseIterable { +extension NpcUpdateStateOutProto.State: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokedexCategoryMilestoneProto.Status] = [ + public static var allCases: [NpcUpdateStateOutProto.State] = [ .unset, - .active, - .unlocked, + .success, + .npcNotFound, + .stepInvalid, ] } #endif // swift(>=4.2) -public struct PokedexCategorySelectedTelemetry { +public struct NpcUpdateStateProto { // 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. - public var pokedexCategory: PokedexCategory = .unset + public var encounterID: String = String() + + public var setCurrentStep: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PokedexEntryProto { +public struct OAuthTokenRequest { // 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. - public var pokedexEntryNumber: Int32 { - get {return _storage._pokedexEntryNumber} - set {_uniqueStorage()._pokedexEntryNumber = newValue} - } - - public var timesEncountered: Int32 { - get {return _storage._timesEncountered} - set {_uniqueStorage()._timesEncountered = newValue} - } - - public var timesCaptured: Int32 { - get {return _storage._timesCaptured} - set {_uniqueStorage()._timesCaptured = newValue} - } - - public var evolutionStonePieces: Int32 { - get {return _storage._evolutionStonePieces} - set {_uniqueStorage()._evolutionStonePieces = newValue} - } - - public var evolutionStones: Int32 { - get {return _storage._evolutionStones} - set {_uniqueStorage()._evolutionStones = newValue} - } - - public var capturedCostumes: [PokemonDisplayProto.Costume] { - get {return _storage._capturedCostumes} - set {_uniqueStorage()._capturedCostumes = newValue} - } - - public var capturedForms: [PokemonDisplayProto.Form] { - get {return _storage._capturedForms} - set {_uniqueStorage()._capturedForms = newValue} - } - - public var capturedGenders: [PokemonDisplayProto.Gender] { - get {return _storage._capturedGenders} - set {_uniqueStorage()._capturedGenders = newValue} - } - - public var capturedShiny: Bool { - get {return _storage._capturedShiny} - set {_uniqueStorage()._capturedShiny = newValue} - } - - public var encounteredCostumes: [PokemonDisplayProto.Costume] { - get {return _storage._encounteredCostumes} - set {_uniqueStorage()._encounteredCostumes = newValue} - } - - public var encounteredForms: [PokemonDisplayProto.Form] { - get {return _storage._encounteredForms} - set {_uniqueStorage()._encounteredForms = newValue} - } - - public var encounteredGenders: [PokemonDisplayProto.Gender] { - get {return _storage._encounteredGenders} - set {_uniqueStorage()._encounteredGenders = newValue} - } - - public var encounteredShiny: Bool { - get {return _storage._encounteredShiny} - set {_uniqueStorage()._encounteredShiny = newValue} - } - - public var timesLuckyReceived: Int32 { - get {return _storage._timesLuckyReceived} - set {_uniqueStorage()._timesLuckyReceived = newValue} - } - - public var timesPurified: Int32 { - get {return _storage._timesPurified} - set {_uniqueStorage()._timesPurified = newValue} - } - - public var tempEvoData: [PokedexEntryProto.TempEvoData] { - get {return _storage._tempEvoData} - set {_uniqueStorage()._tempEvoData = newValue} - } - - public var capturedShinyForms: [PokemonDisplayProto.Form] { - get {return _storage._capturedShinyForms} - set {_uniqueStorage()._capturedShinyForms = newValue} - } - - public var categoryStatus: Dictionary { - get {return _storage._categoryStatus} - set {_uniqueStorage()._categoryStatus = newValue} - } - - public var capturedShinyAlignments: [PokemonDisplayProto.Alignment] { - get {return _storage._capturedShinyAlignments} - set {_uniqueStorage()._capturedShinyAlignments = newValue} - } - - public var stats: PokedexStatsProto { - get {return _storage._stats ?? PokedexStatsProto()} - set {_uniqueStorage()._stats = newValue} - } - /// Returns true if `stats` has been explicitly set. - public var hasStats: Bool {return _storage._stats != nil} - /// Clears the value of `stats`. Subsequent reads from it will return its default value. - public mutating func clearStats() {_uniqueStorage()._stats = nil} - - public var statsForForms: Dictionary { - get {return _storage._statsForForms} - set {_uniqueStorage()._statsForForms = newValue} - } - - public var locationCards: [LocationCard] { - get {return _storage._locationCards} - set {_uniqueStorage()._locationCards = newValue} - } + public var accessToken: String = String() public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct PokedexCategoryStatus { - // 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. - - public var pokedexCategory: PokedexCategory = .unset - - public var encountered: Bool = false - - public var acquired: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } + public init() {} +} - public struct TempEvoData { - // 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. +public struct OfferRecord { + // 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. - public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset + public var offerID: String = String() - public var timesEncountered: Int32 = 0 + public var purchaseTimeMs: [Int64] = [] - public var timesObtained: Int32 = 0 + public var totalPurchases: Int32 = 0 - public var gendersEncountered: [PokemonDisplayProto.Gender] = [] + public var associatedSkuID: [String] = [] - public var gendersObtained: [PokemonDisplayProto.Gender] = [] + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var timesEncounteredShiny: Int32 = 0 + public init() {} +} - public var timesObtainedShiny: Int32 = 0 +public struct OnApplicationFocusData { + // 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. - public var unknownFields = SwiftProtobuf.UnknownStorage() + public var hasFocus_p: Bool = false - public init() {} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance } -public struct PokedexSizeStatsSettingsProto { +public struct OnApplicationPauseData { // 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. - public var obBool1: Bool = false - - public var pokedexSizeStatFeatureEnabled: Bool = false + public var pauseStatus: Bool = false - public var pokemonSizeCatchRequirementToUnlockStats: Int32 = 0 - - public var pokemonWeightCatchRequirementToUnlockStats: Int32 = 0 - - public var obInt64: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var obFloat: Float = 0 + public init() {} +} - public var obBool: Bool = false +public struct OnApplicationQuitData { + // 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. public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PokedexStatProto { +public struct OnboardingSettingsProto { // 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. - public var minValue: PokemonStatValueProto { - get {return _minValue ?? PokemonStatValueProto()} - set {_minValue = newValue} - } - /// Returns true if `minValue` has been explicitly set. - public var hasMinValue: Bool {return self._minValue != nil} - /// Clears the value of `minValue`. Subsequent reads from it will return its default value. - public mutating func clearMinValue() {self._minValue = nil} + public var skipAvatarCustomization: Bool = false - public var maxValue: PokemonStatValueProto { - get {return _maxValue ?? PokemonStatValueProto()} - set {_maxValue = newValue} - } - /// Returns true if `maxValue` has been explicitly set. - public var hasMaxValue: Bool {return self._maxValue != nil} - /// Clears the value of `maxValue`. Subsequent reads from it will return its default value. - public mutating func clearMaxValue() {self._maxValue = nil} + public var disableInitialArPrompt: Bool = false + + public var arPromptPlayerLevel: UInt32 = 0 + + public var adventureSyncPromptStep: Int32 = 0 + + public var adventureSyncPromptLevel: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _minValue: PokemonStatValueProto? = nil - fileprivate var _maxValue: PokemonStatValueProto? = nil } -public struct PokedexStatsProto { +public struct OnboardingTelemetry { // 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. - public var numPokemonTracked: Int32 = 0 + public var onboardingPath: OnboardingPathIds = .v1 - public var height: PokedexStatProto { - get {return _height ?? PokedexStatProto()} - set {_height = newValue} - } - /// Returns true if `height` has been explicitly set. - public var hasHeight: Bool {return self._height != nil} - /// Clears the value of `height`. Subsequent reads from it will return its default value. - public mutating func clearHeight() {self._height = nil} + public var eventID: OnboardingEventIds = .tosAccepted - public var weight: PokedexStatProto { - get {return _weight ?? PokedexStatProto()} - set {_weight = newValue} - } - /// Returns true if `weight` has been explicitly set. - public var hasWeight: Bool {return self._weight != nil} - /// Clears the value of `weight`. Subsequent reads from it will return its default value. - public mutating func clearWeight() {self._weight = nil} + public var data: Int32 = 0 + + public var conversation: String = String() + + public var arStatus: OnboardingArStatus = .unset public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} - - fileprivate var _height: PokedexStatProto? = nil - fileprivate var _weight: PokedexStatProto? = nil } -public struct PokemonBulkUpgradeSettingsProto { +public struct OnboardingV2SettingsProto { // 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. - public var enableClientSideChange: Bool = false + public var enableOnboardingV2: Bool = false + + public var pokedexID: [HoloPokemonId] = [] + + public var onboardingEggPokemon: HoloPokemonId = .missingno + + public var eggKmUntilHatch: Int32 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PokemonCameraAttributesProto { +public struct OneWaySharedFriendshipDataProto { // 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. - public var diskRadiusM: Float = 0 - - public var cylinderRadiusM: Float = 0 - - public var cylinderHeightM: Float = 0 - - public var cylinderGroundM: Float = 0 + public var giftboxDetails: [GiftBoxDetailsProto] = [] - public var shoulderModeScale: Float = 0 + public var openTradeExpireMs: Int64 = 0 public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PokemonCandyRewardProto { +public struct OneofDescriptorProto { // 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. - public var pokemonID: HoloPokemonId = .missingno + public var name: String = String() - public var amount: Int32 = 0 + public var options: OneofOptions { + get {return _options ?? OneofOptions()} + set {_options = newValue} + } + /// Returns true if `options` has been explicitly set. + public var hasOptions: Bool {return self._options != nil} + /// Clears the value of `options`. Subsequent reads from it will return its default value. + public mutating func clearOptions() {self._options = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _options: OneofOptions? = nil } -public struct PokemonCombatStatsProto { +public struct OneofOptions { // 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. - public var numWon: Int32 = 0 - - public var numTotal: Int32 = 0 - public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PokemonCompareChallenge { +public struct OpenBuddyGiftOutProto { // 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. - public var compareStat: PokemonCompareChallenge.CompareStat = .unsetStat + public var result: OpenBuddyGiftOutProto.Result = .unset - public var compareOperation: PokemonCompareChallenge.CompareOperation = .unsetOperation + public var buddyGift: BuddyGiftProto { + get {return _buddyGift ?? BuddyGiftProto()} + set {_buddyGift = newValue} + } + /// Returns true if `buddyGift` has been explicitly set. + public var hasBuddyGift: Bool {return self._buddyGift != nil} + /// Clears the value of `buddyGift`. Subsequent reads from it will return its default value. + public mutating func clearBuddyGift() {self._buddyGift = nil} + + public var observedData: BuddyObservedData { + get {return _observedData ?? BuddyObservedData()} + set {_observedData = newValue} + } + /// Returns true if `observedData` has been explicitly set. + public var hasObservedData: Bool {return self._observedData != nil} + /// Clears the value of `observedData`. Subsequent reads from it will return its default value. + public mutating func clearObservedData() {self._observedData = nil} + + public var shownHearts: BuddyStatsShownHearts.BuddyShownHeartType = .buddyHeartUnset public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum CompareOperation: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int - case unsetOperation // = 0 - case greaterWin // = 1 - case lesserWin // = 2 + case unset // = 0 + case errorBuddyNotValid // = 1 + case successAddedLootToInventory // = 2 + case successAddedSouvenirToCollections // = 3 + case errorBuddyHasNotPickedUpAnySouvenirs // = 4 + case errorInventoryIsFull // = 5 + case errorBuddyNotOnMap // = 6 case UNRECOGNIZED(Int) public init() { - self = .unsetOperation + self = .unset } public init?(rawValue: Int) { switch rawValue { - case 0: self = .unsetOperation - case 1: self = .greaterWin - case 2: self = .lesserWin + case 0: self = .unset + case 1: self = .errorBuddyNotValid + case 2: self = .successAddedLootToInventory + case 3: self = .successAddedSouvenirToCollections + case 4: self = .errorBuddyHasNotPickedUpAnySouvenirs + case 5: self = .errorInventoryIsFull + case 6: self = .errorBuddyNotOnMap default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetOperation: return 0 - case .greaterWin: return 1 - case .lesserWin: return 2 + case .unset: return 0 + case .errorBuddyNotValid: return 1 + case .successAddedLootToInventory: return 2 + case .successAddedSouvenirToCollections: return 3 + case .errorBuddyHasNotPickedUpAnySouvenirs: return 4 + case .errorInventoryIsFull: return 5 + case .errorBuddyNotOnMap: return 6 case .UNRECOGNIZED(let i): return i } } } - public enum CompareStat: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetStat // = 0 - case weight // = 1 - case height // = 2 - case age // = 3 - case walkedDistanceKm // = 4 - case cp // = 5 - case maxHp // = 6 - case UNRECOGNIZED(Int) + public init() {} - public init() { - self = .unsetStat - } + fileprivate var _buddyGift: BuddyGiftProto? = nil + fileprivate var _observedData: BuddyObservedData? = nil +} - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetStat - case 1: self = .weight - case 2: self = .height - case 3: self = .age - case 4: self = .walkedDistanceKm - case 5: self = .cp - case 6: self = .maxHp +#if swift(>=4.2) + +extension OpenBuddyGiftOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [OpenBuddyGiftOutProto.Result] = [ + .unset, + .errorBuddyNotValid, + .successAddedLootToInventory, + .successAddedSouvenirToCollections, + .errorBuddyHasNotPickedUpAnySouvenirs, + .errorInventoryIsFull, + .errorBuddyNotOnMap, + ] +} + +#endif // swift(>=4.2) + +public struct OpenBuddyGiftProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct OpenCampfireMapTelemetry { + // 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. + + public var source: OpenCampfireMapTelemetry.SourcePage = .unknown + + public var isStandalone: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum SourcePage: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case map // = 1 + case nearbyRaids // = 2 + case gymApproach // = 3 + case raidApproach // = 4 + case catchCard // = 5 + case nearbyRoutes // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .map + case 2: self = .nearbyRaids + case 3: self = .gymApproach + case 4: self = .raidApproach + case 5: self = .catchCard + case 6: self = .nearbyRoutes default: self = .UNRECOGNIZED(rawValue) } } public var rawValue: Int { switch self { - case .unsetStat: return 0 - case .weight: return 1 - case .height: return 2 - case .age: return 3 - case .walkedDistanceKm: return 4 - case .cp: return 5 - case .maxHp: return 6 + case .unknown: return 0 + case .map: return 1 + case .nearbyRaids: return 2 + case .gymApproach: return 3 + case .raidApproach: return 4 + case .catchCard: return 5 + case .nearbyRoutes: return 6 case .UNRECOGNIZED(let i): return i } } @@ -100085,284 +99592,499 @@ public struct PokemonCompareChallenge { #if swift(>=4.2) -extension PokemonCompareChallenge.CompareOperation: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonCompareChallenge.CompareOperation] = [ - .unsetOperation, - .greaterWin, - .lesserWin, - ] -} - -extension PokemonCompareChallenge.CompareStat: CaseIterable { +extension OpenCampfireMapTelemetry.SourcePage: CaseIterable { // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonCompareChallenge.CompareStat] = [ - .unsetStat, - .weight, - .height, - .age, - .walkedDistanceKm, - .cp, - .maxHp, + public static var allCases: [OpenCampfireMapTelemetry.SourcePage] = [ + .unknown, + .map, + .nearbyRaids, + .gymApproach, + .raidApproach, + .catchCard, + .nearbyRoutes, ] } #endif // swift(>=4.2) -public struct PokemonContestInfoProto { +public struct OpenCombatChallengeData { // 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. - public var contestID: String = String() + public var rpcID: Int32 = 0 - public var contestEndTimeMs: Int64 = 0 + public var type: CombatType = .unset - public var freeUpTimeMs: Int64 = 0 + public var attackingPokemonIndexes: [Int32] = [] public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} } -public struct PokemonCreateDetail { +public struct OpenCombatChallengeOutProto { // 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. - public var originDetail: PokemonCreateDetail.OneOf_OriginDetail? = nil + public var result: OpenCombatChallengeOutProto.Result = .unset - public var wildDetail: WildCreateDetail { - get { - if case .wildDetail(let v)? = originDetail {return v} - return WildCreateDetail() - } - set {originDetail = .wildDetail(newValue)} + public var challenge: CombatChallengeProto { + get {return _challenge ?? CombatChallengeProto()} + set {_challenge = newValue} } + /// Returns true if `challenge` has been explicitly set. + public var hasChallenge: Bool {return self._challenge != nil} + /// Clears the value of `challenge`. Subsequent reads from it will return its default value. + public mutating func clearChallenge() {self._challenge = nil} - public var eggDetail: EggCreateDetail { - get { - if case .eggDetail(let v)? = originDetail {return v} - return EggCreateDetail() + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidChallengeState // = 2 + case errorChallengeNotFound // = 3 + case errorPokemonNotInInventory // = 4 + case errorNotEligibleLeague // = 5 + case errorPlayerBelowMinimumLevel // = 6 + case errorAlreadyTimedout // = 8 + case errorAlreadyCancelled // = 9 + case errorFriendNotFound // = 10 + case errorFailedToSendNotification // = 11 + case errorAccessDenied // = 12 + case errorIneligibleOpponent // = 13 + case UNRECOGNIZED(Int) + + public init() { + self = .unset } - set {originDetail = .eggDetail(newValue)} - } - public var raidDetail: RaidCreateDetail { - get { - if case .raidDetail(let v)? = originDetail {return v} - return RaidCreateDetail() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidChallengeState + case 3: self = .errorChallengeNotFound + case 4: self = .errorPokemonNotInInventory + case 5: self = .errorNotEligibleLeague + case 6: self = .errorPlayerBelowMinimumLevel + case 8: self = .errorAlreadyTimedout + case 9: self = .errorAlreadyCancelled + case 10: self = .errorFriendNotFound + case 11: self = .errorFailedToSendNotification + case 12: self = .errorAccessDenied + case 13: self = .errorIneligibleOpponent + default: self = .UNRECOGNIZED(rawValue) + } } - set {originDetail = .raidDetail(newValue)} - } - public var questDetail: QuestCreateDetail { - get { - if case .questDetail(let v)? = originDetail {return v} - return QuestCreateDetail() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidChallengeState: return 2 + case .errorChallengeNotFound: return 3 + case .errorPokemonNotInInventory: return 4 + case .errorNotEligibleLeague: return 5 + case .errorPlayerBelowMinimumLevel: return 6 + case .errorAlreadyTimedout: return 8 + case .errorAlreadyCancelled: return 9 + case .errorFriendNotFound: return 10 + case .errorFailedToSendNotification: return 11 + case .errorAccessDenied: return 12 + case .errorIneligibleOpponent: return 13 + case .UNRECOGNIZED(let i): return i + } } - set {originDetail = .questDetail(newValue)} + } - public var vsSeekerDetail: VsSeekerCreateDetail { - get { - if case .vsSeekerDetail(let v)? = originDetail {return v} - return VsSeekerCreateDetail() - } - set {originDetail = .vsSeekerDetail(newValue)} + public init() {} + + fileprivate var _challenge: CombatChallengeProto? = nil +} + +#if swift(>=4.2) + +extension OpenCombatChallengeOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [OpenCombatChallengeOutProto.Result] = [ + .unset, + .success, + .errorInvalidChallengeState, + .errorChallengeNotFound, + .errorPokemonNotInInventory, + .errorNotEligibleLeague, + .errorPlayerBelowMinimumLevel, + .errorAlreadyTimedout, + .errorAlreadyCancelled, + .errorFriendNotFound, + .errorFailedToSendNotification, + .errorAccessDenied, + .errorIneligibleOpponent, + ] +} + +#endif // swift(>=4.2) + +public struct OpenCombatChallengeProto { + // 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. + + public var type: CombatType = .unset + + public var challengeID: String = String() + + public var combatLeagueTemplateID: String = String() + + public var opponentPlayerID: String = String() + + public var attackingPokemonID: [UInt64] = [] + + public var opponentNiaID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct OpenCombatChallengeResponseData { + // 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. + + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 + + public var result: OpenCombatChallengeOutProto.Result = .unset + + public var challenge: CombatChallengeLogProto { + get {return _challenge ?? CombatChallengeLogProto()} + set {_challenge = newValue} } + /// Returns true if `challenge` has been explicitly set. + public var hasChallenge: Bool {return self._challenge != nil} + /// Clears the value of `challenge`. Subsequent reads from it will return its default value. + public mutating func clearChallenge() {self._challenge = nil} - public var invasionDetail: InvasionCreateDetail { - get { - if case .invasionDetail(let v)? = originDetail {return v} - return InvasionCreateDetail() - } - set {originDetail = .invasionDetail(newValue)} + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _challenge: CombatChallengeLogProto? = nil +} + +public struct OpenCombatSessionData { + // 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. + + public var rpcID: Int32 = 0 + + public var attackingPokemonIndexes: [Int32] = [] + + public var lobbyJoinTimeOffsetMs: UInt32 = 0 + + public var combatType: CombatType = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct OpenCombatSessionOutProto { + // 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. + + public var result: OpenCombatSessionOutProto.Result = .unset + + public var combat: CombatProto { + get {return _combat ?? CombatProto()} + set {_combat = newValue} } + /// Returns true if `combat` has been explicitly set. + public var hasCombat: Bool {return self._combat != nil} + /// Clears the value of `combat`. Subsequent reads from it will return its default value. + public mutating func clearCombat() {self._combat = nil} - public var photobombDetail: PhotobombCreateDetail { - get { - if case .photobombDetail(let v)? = originDetail {return v} - return PhotobombCreateDetail() + public var shouldDebugLog: Bool = false + + public var combatExperiment: [CombatExperiment] = [] + + public var realm: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidCombatState // = 2 + case errorCombatSessionFull // = 3 + case errorPokemonNotInInventory // = 4 + case errorOpponentNotInRange // = 5 + case errorChallengeExpired // = 6 + case errorPlayerBelowMinimumLevel // = 7 + case errorOpponentQuit // = 8 + case errorPokemonLineupIneligibleForLeague // = 9 + case errorCombatLeagueUnspecified // = 10 + case errorAccessDenied // = 11 + case errorPlayerHasNoBattlePasses // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .unset } - set {originDetail = .photobombDetail(newValue)} - } - public var tutorialDetail: TutorialCreateDetail { - get { - if case .tutorialDetail(let v)? = originDetail {return v} - return TutorialCreateDetail() + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidCombatState + case 3: self = .errorCombatSessionFull + case 4: self = .errorPokemonNotInInventory + case 5: self = .errorOpponentNotInRange + case 6: self = .errorChallengeExpired + case 7: self = .errorPlayerBelowMinimumLevel + case 8: self = .errorOpponentQuit + case 9: self = .errorPokemonLineupIneligibleForLeague + case 10: self = .errorCombatLeagueUnspecified + case 11: self = .errorAccessDenied + case 12: self = .errorPlayerHasNoBattlePasses + default: self = .UNRECOGNIZED(rawValue) + } } - set {originDetail = .tutorialDetail(newValue)} - } - public var postcardDetail: PostcardCreateDetail { - get { - if case .postcardDetail(let v)? = originDetail {return v} - return PostcardCreateDetail() + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidCombatState: return 2 + case .errorCombatSessionFull: return 3 + case .errorPokemonNotInInventory: return 4 + case .errorOpponentNotInRange: return 5 + case .errorChallengeExpired: return 6 + case .errorPlayerBelowMinimumLevel: return 7 + case .errorOpponentQuit: return 8 + case .errorPokemonLineupIneligibleForLeague: return 9 + case .errorCombatLeagueUnspecified: return 10 + case .errorAccessDenied: return 11 + case .errorPlayerHasNoBattlePasses: return 12 + case .UNRECOGNIZED(let i): return i + } } - set {originDetail = .postcardDetail(newValue)} + } + public init() {} + + fileprivate var _combat: CombatProto? = nil +} + +#if swift(>=4.2) + +extension OpenCombatSessionOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [OpenCombatSessionOutProto.Result] = [ + .unset, + .success, + .errorInvalidCombatState, + .errorCombatSessionFull, + .errorPokemonNotInInventory, + .errorOpponentNotInRange, + .errorChallengeExpired, + .errorPlayerBelowMinimumLevel, + .errorOpponentQuit, + .errorPokemonLineupIneligibleForLeague, + .errorCombatLeagueUnspecified, + .errorAccessDenied, + .errorPlayerHasNoBattlePasses, + ] +} + +#endif // swift(>=4.2) + +public struct OpenCombatSessionProto { + // 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. + + public var combatID: String = String() + + public var attackingPokemonID: [UInt64] = [] + + public var combatLeagueTemplateID: String = String() + + public var lobbyJoinTimeMs: Int64 = 0 + + public var combatType: CombatType = .unset + public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum OneOf_OriginDetail: Equatable { - case wildDetail(WildCreateDetail) - case eggDetail(EggCreateDetail) - case raidDetail(RaidCreateDetail) - case questDetail(QuestCreateDetail) - case vsSeekerDetail(VsSeekerCreateDetail) - case invasionDetail(InvasionCreateDetail) - case photobombDetail(PhotobombCreateDetail) - case tutorialDetail(TutorialCreateDetail) - case postcardDetail(PostcardCreateDetail) + public init() {} +} - #if !swift(>=4.1) - public static func ==(lhs: PokemonCreateDetail.OneOf_OriginDetail, rhs: PokemonCreateDetail.OneOf_OriginDetail) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.wildDetail, .wildDetail): return { - guard case .wildDetail(let l) = lhs, case .wildDetail(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.eggDetail, .eggDetail): return { - guard case .eggDetail(let l) = lhs, case .eggDetail(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidDetail, .raidDetail): return { - guard case .raidDetail(let l) = lhs, case .raidDetail(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.questDetail, .questDetail): return { - guard case .questDetail(let l) = lhs, case .questDetail(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.vsSeekerDetail, .vsSeekerDetail): return { - guard case .vsSeekerDetail(let l) = lhs, case .vsSeekerDetail(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.invasionDetail, .invasionDetail): return { - guard case .invasionDetail(let l) = lhs, case .invasionDetail(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.photobombDetail, .photobombDetail): return { - guard case .photobombDetail(let l) = lhs, case .photobombDetail(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.tutorialDetail, .tutorialDetail): return { - guard case .tutorialDetail(let l) = lhs, case .tutorialDetail(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.postcardDetail, .postcardDetail): return { - guard case .postcardDetail(let l) = lhs, case .postcardDetail(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif +public struct OpenCombatSessionResponseData { + // 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. + + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 + + public var openCombatSessionOutProto: OpenCombatSessionOutProto { + get {return _openCombatSessionOutProto ?? OpenCombatSessionOutProto()} + set {_openCombatSessionOutProto = newValue} } + /// Returns true if `openCombatSessionOutProto` has been explicitly set. + public var hasOpenCombatSessionOutProto: Bool {return self._openCombatSessionOutProto != nil} + /// Clears the value of `openCombatSessionOutProto`. Subsequent reads from it will return its default value. + public mutating func clearOpenCombatSessionOutProto() {self._openCombatSessionOutProto = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} + + fileprivate var _openCombatSessionOutProto: OpenCombatSessionOutProto? = nil } -public struct PokemonDisplayProto { +public struct OpenGiftLogEntry { // 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. - public var costume: PokemonDisplayProto.Costume { - get {return _storage._costume} - set {_uniqueStorage()._costume = newValue} - } + public var result: OpenGiftLogEntry.Result = .unset - public var gender: PokemonDisplayProto.Gender { - get {return _storage._gender} - set {_uniqueStorage()._gender = newValue} - } + public var friendCodename: String = String() - public var shiny: Bool { - get {return _storage._shiny} - set {_uniqueStorage()._shiny = newValue} + public var items: LootProto { + get {return _items ?? LootProto()} + set {_items = newValue} } + /// Returns true if `items` has been explicitly set. + public var hasItems: Bool {return self._items != nil} + /// Clears the value of `items`. Subsequent reads from it will return its default value. + public mutating func clearItems() {self._items = nil} - public var form: PokemonDisplayProto.Form { - get {return _storage._form} - set {_uniqueStorage()._form = newValue} - } + public var pokemonEggs: [PokemonProto] = [] - public var weatherBoostedCondition: GameplayWeatherProto.WeatherCondition { - get {return _storage._weatherBoostedCondition} - set {_uniqueStorage()._weatherBoostedCondition = newValue} - } + public var unknownFields = SwiftProtobuf.UnknownStorage() - public var alignment: PokemonDisplayProto.Alignment { - get {return _storage._alignment} - set {_uniqueStorage()._alignment = newValue} - } + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case npcTrade // = 2 + case UNRECOGNIZED(Int) - public var pokemonBadge: PokemonBadge { - get {return _storage._pokemonBadge} - set {_uniqueStorage()._pokemonBadge = newValue} - } + public init() { + self = .unset + } - public var currentTempEvolution: HoloTemporaryEvolutionId { - get {return _storage._currentTempEvolution} - set {_uniqueStorage()._currentTempEvolution = newValue} - } + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .npcTrade + default: self = .UNRECOGNIZED(rawValue) + } + } - public var temporaryEvolutionFinishMs: Int64 { - get {return _storage._temporaryEvolutionFinishMs} - set {_uniqueStorage()._temporaryEvolutionFinishMs = newValue} - } + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .npcTrade: return 2 + case .UNRECOGNIZED(let i): return i + } + } - public var tempEvolutionIsLocked: Bool { - get {return _storage._tempEvolutionIsLocked} - set {_uniqueStorage()._tempEvolutionIsLocked = newValue} } - public var lockedTempEvolution: HoloTemporaryEvolutionId { - get {return _storage._lockedTempEvolution} - set {_uniqueStorage()._lockedTempEvolution = newValue} + public init() {} + + fileprivate var _items: LootProto? = nil +} + +#if swift(>=4.2) + +extension OpenGiftLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [OpenGiftLogEntry.Result] = [ + .unset, + .success, + .npcTrade, + ] +} + +#endif // swift(>=4.2) + +public struct OpenGiftOutProto { + // 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. + + public var result: OpenGiftOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} } - public var originalCostume: PokemonDisplayProto.Costume { - get {return _storage._originalCostume} - set {_uniqueStorage()._originalCostume = newValue} + public var items: LootProto { + get {return _storage._items ?? LootProto()} + set {_uniqueStorage()._items = newValue} } + /// Returns true if `items` has been explicitly set. + public var hasItems: Bool {return _storage._items != nil} + /// Clears the value of `items`. Subsequent reads from it will return its default value. + public mutating func clearItems() {_uniqueStorage()._items = nil} - public var displayID: Int64 { - get {return _storage._displayID} - set {_uniqueStorage()._displayID = newValue} + public var eggPokemon: PokemonProto { + get {return _storage._eggPokemon ?? PokemonProto()} + set {_uniqueStorage()._eggPokemon = newValue} } + /// Returns true if `eggPokemon` has been explicitly set. + public var hasEggPokemon: Bool {return _storage._eggPokemon != nil} + /// Clears the value of `eggPokemon`. Subsequent reads from it will return its default value. + public mutating func clearEggPokemon() {_uniqueStorage()._eggPokemon = nil} - public var megaEvolutionLevel: PokemonMegaEvolutionLevelProto { - get {return _storage._megaEvolutionLevel ?? PokemonMegaEvolutionLevelProto()} - set {_uniqueStorage()._megaEvolutionLevel = newValue} + public var updatedFriendshipData: FriendshipLevelDataProto { + get {return _storage._updatedFriendshipData ?? FriendshipLevelDataProto()} + set {_uniqueStorage()._updatedFriendshipData = newValue} } - /// Returns true if `megaEvolutionLevel` has been explicitly set. - public var hasMegaEvolutionLevel: Bool {return _storage._megaEvolutionLevel != nil} - /// Clears the value of `megaEvolutionLevel`. Subsequent reads from it will return its default value. - public mutating func clearMegaEvolutionLevel() {_uniqueStorage()._megaEvolutionLevel = nil} + /// Returns true if `updatedFriendshipData` has been explicitly set. + public var hasUpdatedFriendshipData: Bool {return _storage._updatedFriendshipData != nil} + /// Clears the value of `updatedFriendshipData`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedFriendshipData() {_uniqueStorage()._updatedFriendshipData = nil} - public var locationCard: LocationCardDisplayProto { - get {return _storage._locationCard ?? LocationCardDisplayProto()} - set {_uniqueStorage()._locationCard = newValue} + public var friendProfile: PlayerPublicProfileProto { + get {return _storage._friendProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._friendProfile = newValue} } - /// Returns true if `locationCard` has been explicitly set. - public var hasLocationCard: Bool {return _storage._locationCard != nil} - /// Clears the value of `locationCard`. Subsequent reads from it will return its default value. - public mutating func clearLocationCard() {_uniqueStorage()._locationCard = nil} + /// Returns true if `friendProfile` has been explicitly set. + public var hasFriendProfile: Bool {return _storage._friendProfile != nil} + /// Clears the value of `friendProfile`. Subsequent reads from it will return its default value. + public mutating func clearFriendProfile() {_uniqueStorage()._friendProfile = nil} public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Alignment: SwiftProtobuf.Enum { + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case shadow // = 1 - case purified // = 2 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerBagFull // = 3 + case errorPlayerLimitReached // = 4 + case errorGiftDoesNotExist // = 5 + case errorFriendNotFound // = 6 + case errorInvalidPlayerID // = 7 + case errorFriendUpdate // = 8 case UNRECOGNIZED(Int) public init() { @@ -100372,8 +100094,14 @@ public struct PokemonDisplayProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .shadow - case 2: self = .purified + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerBagFull + case 4: self = .errorPlayerLimitReached + case 5: self = .errorGiftDoesNotExist + case 6: self = .errorFriendNotFound + case 7: self = .errorInvalidPlayerID + case 8: self = .errorFriendUpdate default: self = .UNRECOGNIZED(rawValue) } } @@ -100381,86 +100109,151 @@ public struct PokemonDisplayProto { public var rawValue: Int { switch self { case .unset: return 0 - case .shadow: return 1 - case .purified: return 2 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerBagFull: return 3 + case .errorPlayerLimitReached: return 4 + case .errorGiftDoesNotExist: return 5 + case .errorFriendNotFound: return 6 + case .errorInvalidPlayerID: return 7 + case .errorFriendUpdate: return 8 case .UNRECOGNIZED(let i): return i } } } - public enum Costume: SwiftProtobuf.Enum { + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension OpenGiftOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [OpenGiftOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerBagFull, + .errorPlayerLimitReached, + .errorGiftDoesNotExist, + .errorFriendNotFound, + .errorInvalidPlayerID, + .errorFriendUpdate, + ] +} + +#endif // swift(>=4.2) + +public struct OpenGiftProto { + // 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. + + public var playerID: String = String() + + public var giftboxID: UInt64 = 0 + + public var convertToStardust: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct OpenInvasionCombatSessionOutProto { + // 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. + + public var status: InvasionStatus.Status = .unset + + public var combat: CombatProto { + get {return _combat ?? CombatProto()} + set {_combat = newValue} + } + /// Returns true if `combat` has been explicitly set. + public var hasCombat: Bool {return self._combat != nil} + /// Clears the value of `combat`. Subsequent reads from it will return its default value. + public mutating func clearCombat() {self._combat = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _combat: CombatProto? = nil +} + +public struct OpenInvasionCombatSessionProto { + // 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. + + public var incidentLookup: IncidentLookupProto { + get {return _incidentLookup ?? IncidentLookupProto()} + set {_incidentLookup = newValue} + } + /// Returns true if `incidentLookup` has been explicitly set. + public var hasIncidentLookup: Bool {return self._incidentLookup != nil} + /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. + public mutating func clearIncidentLookup() {self._incidentLookup = nil} + + public var step: Int32 = 0 + + public var attackingPokemonID: [UInt64] = [] + + public var lobbyJoinTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _incidentLookup: IncidentLookupProto? = nil +} + +public struct OpenNpcCombatSessionData { + // 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. + + public var rpcID: Int32 = 0 + + public var attackingPokemonIndexes: [Int32] = [] + + public var lobbyJoinTimeOffsetMs: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct OpenNpcCombatSessionOutProto { + // 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. + + public var result: OpenNpcCombatSessionOutProto.Result = .unset + + public var combat: CombatProto { + get {return _combat ?? CombatProto()} + set {_combat = newValue} + } + /// Returns true if `combat` has been explicitly set. + public var hasCombat: Bool {return self._combat != nil} + /// Clears the value of `combat`. Subsequent reads from it will return its default value. + public mutating func clearCombat() {self._combat = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { public typealias RawValue = Int case unset // = 0 - case holiday2016 // = 1 - case anniversary // = 2 - case oneYearAnniversary // = 3 - case halloween2017 // = 4 - case summer2018 // = 5 - case fall2018 // = 6 - case november2018 // = 7 - case winter2018 // = 8 - case feb2019 // = 9 - case may2019Noevolve // = 10 - case jan2020Noevolve // = 11 - case april2020Noevolve // = 12 - case safari2020Noevolve // = 13 - case spring2020Noevolve // = 14 - case summer2020Noevolve // = 15 - case fall2020Noevolve // = 16 - case winter2020Noevolve // = 17 - case notForReleaseAlpha // = 18 - case notForReleaseBeta // = 19 - case notForReleaseGamma // = 20 - case notForReleaseNoevolve // = 21 - case kanto2020Noevolve // = 22 - case johto2020Noevolve // = 23 - case hoenn2020Noevolve // = 24 - case sinnoh2020Noevolve // = 25 - case halloween2020Noevolve // = 26 - case costume1 // = 27 - case costume2 // = 28 - case costume3 // = 29 - case costume4 // = 30 - case costume5 // = 31 - case costume6 // = 32 - case costume7 // = 33 - case costume8 // = 34 - case costume9 // = 35 - case costume10 // = 36 - case costume1Noevolve // = 37 - case costume2Noevolve // = 38 - case costume3Noevolve // = 39 - case costume4Noevolve // = 40 - case costume5Noevolve // = 41 - case costume6Noevolve // = 42 - case costume7Noevolve // = 43 - case costume8Noevolve // = 44 - case costume9Noevolve // = 45 - case costume10Noevolve // = 46 - case gofest2021Noevolve // = 47 - case fashion2021Noevolve // = 48 - case halloween2021Noevolve // = 49 - case gems12021Noevolve // = 50 - case gems22021Noevolve // = 51 - case holiday2021Noevolve // = 52 - case tcg2022Noevolve // = 53 - case jan2022Noevolve // = 54 - case gofest2022Noevolve // = 55 - case anniversary2022Noevolve // = 56 - case fall2022 // = 57 - case fall2022Noevolve // = 58 - case holiday2022 // = 59 - case jan2023Noevolve // = 60 - case gotour2023BandanaNoevolve // = 61 - case gotour2023HatNoevolve // = 62 - case spring2023 // = 63 - case spring2023Mystic // = 64 - case spring2023Valor // = 65 - case spring2023Instinct // = 66 - case nightcap // = 67 - case may2023 // = 68 - case pi // = 69 + case success // = 1 + case errorPlayerBelowMinimumLevel // = 2 + case errorPokemonLineupIneligibleForLeague // = 3 + case errorAccessDenied // = 4 case UNRECOGNIZED(Int) public init() { @@ -100470,75 +100263,10 @@ public struct PokemonDisplayProto { public init?(rawValue: Int) { switch rawValue { case 0: self = .unset - case 1: self = .holiday2016 - case 2: self = .anniversary - case 3: self = .oneYearAnniversary - case 4: self = .halloween2017 - case 5: self = .summer2018 - case 6: self = .fall2018 - case 7: self = .november2018 - case 8: self = .winter2018 - case 9: self = .feb2019 - case 10: self = .may2019Noevolve - case 11: self = .jan2020Noevolve - case 12: self = .april2020Noevolve - case 13: self = .safari2020Noevolve - case 14: self = .spring2020Noevolve - case 15: self = .summer2020Noevolve - case 16: self = .fall2020Noevolve - case 17: self = .winter2020Noevolve - case 18: self = .notForReleaseAlpha - case 19: self = .notForReleaseBeta - case 20: self = .notForReleaseGamma - case 21: self = .notForReleaseNoevolve - case 22: self = .kanto2020Noevolve - case 23: self = .johto2020Noevolve - case 24: self = .hoenn2020Noevolve - case 25: self = .sinnoh2020Noevolve - case 26: self = .halloween2020Noevolve - case 27: self = .costume1 - case 28: self = .costume2 - case 29: self = .costume3 - case 30: self = .costume4 - case 31: self = .costume5 - case 32: self = .costume6 - case 33: self = .costume7 - case 34: self = .costume8 - case 35: self = .costume9 - case 36: self = .costume10 - case 37: self = .costume1Noevolve - case 38: self = .costume2Noevolve - case 39: self = .costume3Noevolve - case 40: self = .costume4Noevolve - case 41: self = .costume5Noevolve - case 42: self = .costume6Noevolve - case 43: self = .costume7Noevolve - case 44: self = .costume8Noevolve - case 45: self = .costume9Noevolve - case 46: self = .costume10Noevolve - case 47: self = .gofest2021Noevolve - case 48: self = .fashion2021Noevolve - case 49: self = .halloween2021Noevolve - case 50: self = .gems12021Noevolve - case 51: self = .gems22021Noevolve - case 52: self = .holiday2021Noevolve - case 53: self = .tcg2022Noevolve - case 54: self = .jan2022Noevolve - case 55: self = .gofest2022Noevolve - case 56: self = .anniversary2022Noevolve - case 57: self = .fall2022 - case 58: self = .fall2022Noevolve - case 59: self = .holiday2022 - case 60: self = .jan2023Noevolve - case 61: self = .gotour2023BandanaNoevolve - case 62: self = .gotour2023HatNoevolve - case 63: self = .spring2023 - case 64: self = .spring2023Mystic - case 65: self = .spring2023Valor - case 66: self = .spring2023Instinct - case 67: self = .nightcap - case 68: self = .may2023 - case 69: self = .pi + case 1: self = .success + case 2: self = .errorPlayerBelowMinimumLevel + case 3: self = .errorPokemonLineupIneligibleForLeague + case 4: self = .errorAccessDenied default: self = .UNRECOGNIZED(rawValue) } } @@ -100546,56221 +100274,59572 @@ public struct PokemonDisplayProto { public var rawValue: Int { switch self { case .unset: return 0 - case .holiday2016: return 1 - case .anniversary: return 2 - case .oneYearAnniversary: return 3 - case .halloween2017: return 4 - case .summer2018: return 5 - case .fall2018: return 6 - case .november2018: return 7 - case .winter2018: return 8 - case .feb2019: return 9 - case .may2019Noevolve: return 10 - case .jan2020Noevolve: return 11 - case .april2020Noevolve: return 12 - case .safari2020Noevolve: return 13 - case .spring2020Noevolve: return 14 - case .summer2020Noevolve: return 15 - case .fall2020Noevolve: return 16 - case .winter2020Noevolve: return 17 - case .notForReleaseAlpha: return 18 - case .notForReleaseBeta: return 19 - case .notForReleaseGamma: return 20 - case .notForReleaseNoevolve: return 21 - case .kanto2020Noevolve: return 22 - case .johto2020Noevolve: return 23 - case .hoenn2020Noevolve: return 24 - case .sinnoh2020Noevolve: return 25 - case .halloween2020Noevolve: return 26 - case .costume1: return 27 - case .costume2: return 28 - case .costume3: return 29 - case .costume4: return 30 - case .costume5: return 31 - case .costume6: return 32 - case .costume7: return 33 - case .costume8: return 34 - case .costume9: return 35 - case .costume10: return 36 - case .costume1Noevolve: return 37 - case .costume2Noevolve: return 38 - case .costume3Noevolve: return 39 - case .costume4Noevolve: return 40 - case .costume5Noevolve: return 41 - case .costume6Noevolve: return 42 - case .costume7Noevolve: return 43 - case .costume8Noevolve: return 44 - case .costume9Noevolve: return 45 - case .costume10Noevolve: return 46 - case .gofest2021Noevolve: return 47 - case .fashion2021Noevolve: return 48 - case .halloween2021Noevolve: return 49 - case .gems12021Noevolve: return 50 - case .gems22021Noevolve: return 51 - case .holiday2021Noevolve: return 52 - case .tcg2022Noevolve: return 53 - case .jan2022Noevolve: return 54 - case .gofest2022Noevolve: return 55 - case .anniversary2022Noevolve: return 56 - case .fall2022: return 57 - case .fall2022Noevolve: return 58 - case .holiday2022: return 59 - case .jan2023Noevolve: return 60 - case .gotour2023BandanaNoevolve: return 61 - case .gotour2023HatNoevolve: return 62 - case .spring2023: return 63 - case .spring2023Mystic: return 64 - case .spring2023Valor: return 65 - case .spring2023Instinct: return 66 - case .nightcap: return 67 - case .may2023: return 68 - case .pi: return 69 + case .success: return 1 + case .errorPlayerBelowMinimumLevel: return 2 + case .errorPokemonLineupIneligibleForLeague: return 3 + case .errorAccessDenied: return 4 case .UNRECOGNIZED(let i): return i } } } - public enum Form: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case unownA // = 1 - case unownB // = 2 - case unownC // = 3 - case unownD // = 4 - case unownE // = 5 - case unownF // = 6 - case unownG // = 7 - case unownH // = 8 - case unownI // = 9 - case unownJ // = 10 - case unownK // = 11 - case unownL // = 12 - case unownM // = 13 - case unownN // = 14 - case unownO // = 15 - case unownP // = 16 - case unownQ // = 17 - case unownR // = 18 - case unownS // = 19 - case unownT // = 20 - case unownU // = 21 - case unownV // = 22 - case unownW // = 23 - case unownX // = 24 - case unownY // = 25 - case unownZ // = 26 - case unownExclamationPoint // = 27 - case unownQuestionMark // = 28 - case castformNormal // = 29 - case castformSunny // = 30 - case castformRainy // = 31 - case castformSnowy // = 32 - case deoxysNormal // = 33 - case deoxysAttack // = 34 - case deoxysDefense // = 35 - case deoxysSpeed // = 36 - case spinda00 // = 37 - case spinda01 // = 38 - case spinda02 // = 39 - case spinda03 // = 40 - case spinda04 // = 41 - case spinda05 // = 42 - case spinda06 // = 43 - case spinda07 // = 44 - case rattataNormal // = 45 - case rattataAlola // = 46 - case raticateNormal // = 47 - case raticateAlola // = 48 - case raichuNormal // = 49 - case raichuAlola // = 50 - case sandshrewNormal // = 51 - case sandshrewAlola // = 52 - case sandslashNormal // = 53 - case sandslashAlola // = 54 - case vulpixNormal // = 55 - case vulpixAlola // = 56 - case ninetalesNormal // = 57 - case ninetalesAlola // = 58 - case diglettNormal // = 59 - case diglettAlola // = 60 - case dugtrioNormal // = 61 - case dugtrioAlola // = 62 - case meowthNormal // = 63 - case meowthAlola // = 64 - case persianNormal // = 65 - case persianAlola // = 66 - case geodudeNormal // = 67 - case geodudeAlola // = 68 - case gravelerNormal // = 69 - case gravelerAlola // = 70 - case golemNormal // = 71 - case golemAlola // = 72 - case grimerNormal // = 73 - case grimerAlola // = 74 - case mukNormal // = 75 - case mukAlola // = 76 - case exeggutorNormal // = 77 - case exeggutorAlola // = 78 - case marowakNormal // = 79 - case marowakAlola // = 80 - case rotomNormal // = 81 - case rotomFrost // = 82 - case rotomFan // = 83 - case rotomMow // = 84 - case rotomWash // = 85 - case rotomHeat // = 86 - case wormadamPlant // = 87 - case wormadamSandy // = 88 - case wormadamTrash // = 89 - case giratinaAltered // = 90 - case giratinaOrigin // = 91 - case shayminSky // = 92 - case shayminLand // = 93 - case cherrimOvercast // = 94 - case cherrimSunny // = 95 - case shellosWestSea // = 96 - case shellosEastSea // = 97 - case gastrodonWestSea // = 98 - case gastrodonEastSea // = 99 - case arceusNormal // = 100 - case arceusFighting // = 101 - case arceusFlying // = 102 - case arceusPoison // = 103 - case arceusGround // = 104 - case arceusRock // = 105 - case arceusBug // = 106 - case arceusGhost // = 107 - case arceusSteel // = 108 - case arceusFire // = 109 - case arceusWater // = 110 - case arceusGrass // = 111 - case arceusElectric // = 112 - case arceusPsychic // = 113 - case arceusIce // = 114 - case arceusDragon // = 115 - case arceusDark // = 116 - case arceusFairy // = 117 - case burmyPlant // = 118 - case burmySandy // = 119 - case burmyTrash // = 120 - case spinda08 // = 121 - case spinda09 // = 122 - case spinda10 // = 123 - case spinda11 // = 124 - case spinda12 // = 125 - case spinda13 // = 126 - case spinda14 // = 127 - case spinda15 // = 128 - case spinda16 // = 129 - case spinda17 // = 130 - case spinda18 // = 131 - case spinda19 // = 132 - case mewtwoA // = 133 - case mewtwoNormal // = 135 - case basculinRedStriped // = 136 - case basculinBlueStriped // = 137 - case darmanitanStandard // = 138 - case darmanitanZen // = 139 - case tornadusIncarnate // = 140 - case tornadusTherian // = 141 - case thundurusIncarnate // = 142 - case thundurusTherian // = 143 - case landorusIncarnate // = 144 - case landorusTherian // = 145 - case kyuremNormal // = 146 - case kyuremBlack // = 147 - case kyuremWhite // = 148 - case keldeoOrdinary // = 149 - case keldeoResolute // = 150 - case meloettaAria // = 151 - case meloettaPirouette // = 152 - case rattataShadow // = 153 - case rattataPurified // = 154 - case raticateShadow // = 155 - case raticatePurified // = 156 - case zubatNormal // = 157 - case zubatShadow // = 158 - case zubatPurified // = 159 - case golbatNormal // = 160 - case golbatShadow // = 161 - case golbatPurified // = 162 - case bulbasaurNormal // = 163 - case bulbasaurShadow // = 164 - case bulbasaurPurified // = 165 - case ivysaurNormal // = 166 - case ivysaurShadow // = 167 - case ivysaurPurified // = 168 - case venusaurNormal // = 169 - case venusaurShadow // = 170 - case venusaurPurified // = 171 - case charmanderNormal // = 172 - case charmanderShadow // = 173 - case charmanderPurified // = 174 - case charmeleonNormal // = 175 - case charmeleonShadow // = 176 - case charmeleonPurified // = 177 - case charizardNormal // = 178 - case charizardShadow // = 179 - case charizardPurified // = 180 - case squirtleNormal // = 181 - case squirtleShadow // = 182 - case squirtlePurified // = 183 - case wartortleNormal // = 184 - case wartortleShadow // = 185 - case wartortlePurified // = 186 - case blastoiseNormal // = 187 - case blastoiseShadow // = 188 - case blastoisePurified // = 189 - case dratiniNormal // = 190 - case dratiniShadow // = 191 - case dratiniPurified // = 192 - case dragonairNormal // = 193 - case dragonairShadow // = 194 - case dragonairPurified // = 195 - case dragoniteNormal // = 196 - case dragoniteShadow // = 197 - case dragonitePurified // = 198 - case snorlaxNormal // = 199 - case snorlaxShadow // = 200 - case snorlaxPurified // = 201 - case crobatNormal // = 202 - case crobatShadow // = 203 - case crobatPurified // = 204 - case mudkipNormal // = 205 - case mudkipShadow // = 206 - case mudkipPurified // = 207 - case marshtompNormal // = 208 - case marshtompShadow // = 209 - case marshtompPurified // = 210 - case swampertNormal // = 211 - case swampertShadow // = 212 - case swampertPurified // = 213 - case drowzeeNormal // = 214 - case drowzeeShadow // = 215 - case drowzeePurified // = 216 - case hypnoNormal // = 217 - case hypnoShadow // = 218 - case hypnoPurified // = 219 - case grimerShadow // = 220 - case grimerPurified // = 221 - case mukShadow // = 222 - case mukPurified // = 223 - case cuboneNormal // = 224 - case cuboneShadow // = 225 - case cubonePurified // = 226 - case marowakShadow // = 227 - case marowakPurified // = 228 - case houndourNormal // = 229 - case houndourShadow // = 230 - case houndourPurified // = 231 - case houndoomNormal // = 232 - case houndoomShadow // = 233 - case houndoomPurified // = 234 - case poliwagNormal // = 235 - case poliwagShadow // = 236 - case poliwagPurified // = 237 - case poliwhirlNormal // = 238 - case poliwhirlShadow // = 239 - case poliwhirlPurified // = 240 - case poliwrathNormal // = 241 - case poliwrathShadow // = 242 - case poliwrathPurified // = 243 - case politoedNormal // = 244 - case politoedShadow // = 245 - case politoedPurified // = 246 - case scytherNormal // = 247 - case scytherShadow // = 248 - case scytherPurified // = 249 - case scizorNormal // = 250 - case scizorShadow // = 251 - case scizorPurified // = 252 - case magikarpNormal // = 253 - case magikarpShadow // = 254 - case magikarpPurified // = 255 - case gyaradosNormal // = 256 - case gyaradosShadow // = 257 - case gyaradosPurified // = 258 - case venonatNormal // = 259 - case venonatShadow // = 260 - case venonatPurified // = 261 - case venomothNormal // = 262 - case venomothShadow // = 263 - case venomothPurified // = 264 - case oddishNormal // = 265 - case oddishShadow // = 266 - case oddishPurified // = 267 - case gloomNormal // = 268 - case gloomShadow // = 269 - case gloomPurified // = 270 - case vileplumeNormal // = 271 - case vileplumeShadow // = 272 - case vileplumePurified // = 273 - case bellossomNormal // = 274 - case bellossomShadow // = 275 - case bellossomPurified // = 276 - case hitmonchanNormal // = 277 - case hitmonchanShadow // = 278 - case hitmonchanPurified // = 279 - case growlitheNormal // = 280 - case growlitheShadow // = 281 - case growlithePurified // = 282 - case arcanineNormal // = 283 - case arcanineShadow // = 284 - case arcaninePurified // = 285 - case psyduckNormal // = 286 - case psyduckShadow // = 287 - case psyduckPurified // = 288 - case golduckNormal // = 289 - case golduckShadow // = 290 - case golduckPurified // = 291 - case raltsNormal // = 292 - case raltsShadow // = 293 - case raltsPurified // = 294 - case kirliaNormal // = 295 - case kirliaShadow // = 296 - case kirliaPurified // = 297 - case gardevoirNormal // = 298 - case gardevoirShadow // = 299 - case gardevoirPurified // = 300 - case galladeNormal // = 301 - case galladeShadow // = 302 - case galladePurified // = 303 - case abraNormal // = 304 - case abraShadow // = 305 - case abraPurified // = 306 - case kadabraNormal // = 307 - case kadabraShadow // = 308 - case kadabraPurified // = 309 - case alakazamNormal // = 310 - case alakazamShadow // = 311 - case alakazamPurified // = 312 - case larvitarNormal // = 313 - case larvitarShadow // = 314 - case larvitarPurified // = 315 - case pupitarNormal // = 316 - case pupitarShadow // = 317 - case pupitarPurified // = 318 - case tyranitarNormal // = 319 - case tyranitarShadow // = 320 - case tyranitarPurified // = 321 - case laprasNormal // = 322 - case laprasShadow // = 323 - case laprasPurified // = 324 - case deerlingSpring // = 585 - case deerlingSummer // = 586 - case deerlingAutumn // = 587 - case deerlingWinter // = 588 - case sawsbuckSpring // = 589 - case sawsbuckSummer // = 590 - case sawsbuckAutumn // = 591 - case sawsbuckWinter // = 592 - case genesectNormal // = 593 - case genesectShock // = 594 - case genesectBurn // = 595 - case genesectChill // = 596 - case genesectDouse // = 597 - case pikachuNormal // = 598 - case wurmpleNormal // = 600 - case wobbuffetNormal // = 602 - case cacneaNormal // = 610 - case cacneaShadow // = 611 - case cacneaPurified // = 612 - case cacturneNormal // = 613 - case cacturneShadow // = 614 - case cacturnePurified // = 615 - case weedleNormal // = 616 - case weedleShadow // = 617 - case weedlePurified // = 618 - case kakunaNormal // = 619 - case kakunaShadow // = 620 - case kakunaPurified // = 621 - case beedrillNormal // = 622 - case beedrillShadow // = 623 - case beedrillPurified // = 624 - case seedotNormal // = 625 - case seedotShadow // = 626 - case seedotPurified // = 627 - case nuzleafNormal // = 628 - case nuzleafShadow // = 629 - case nuzleafPurified // = 630 - case shiftryNormal // = 631 - case shiftryShadow // = 632 - case shiftryPurified // = 633 - case magmarNormal // = 634 - case magmarShadow // = 635 - case magmarPurified // = 636 - case magmortarNormal // = 637 - case magmortarShadow // = 638 - case magmortarPurified // = 639 - case electabuzzNormal // = 640 - case electabuzzShadow // = 641 - case electabuzzPurified // = 642 - case electivireNormal // = 643 - case electivireShadow // = 644 - case electivirePurified // = 645 - case mareepNormal // = 646 - case mareepShadow // = 647 - case mareepPurified // = 648 - case flaaffyNormal // = 649 - case flaaffyShadow // = 650 - case flaaffyPurified // = 651 - case ampharosNormal // = 652 - case ampharosShadow // = 653 - case ampharosPurified // = 654 - case magnemiteNormal // = 655 - case magnemiteShadow // = 656 - case magnemitePurified // = 657 - case magnetonNormal // = 658 - case magnetonShadow // = 659 - case magnetonPurified // = 660 - case magnezoneNormal // = 661 - case magnezoneShadow // = 662 - case magnezonePurified // = 663 - case bellsproutNormal // = 664 - case bellsproutShadow // = 665 - case bellsproutPurified // = 666 - case weepinbellNormal // = 667 - case weepinbellShadow // = 668 - case weepinbellPurified // = 669 - case victreebelNormal // = 670 - case victreebelShadow // = 671 - case victreebelPurified // = 672 - case sandshrewShadow // = 673 - case sandshrewPurified // = 674 - case sandslashShadow // = 675 - case sandslashPurified // = 676 - case porygonNormal // = 677 - case porygonShadow // = 678 - case porygonPurified // = 679 - case porygon2Normal // = 680 - case porygon2Shadow // = 681 - case porygon2Purified // = 682 - case porygonZNormal // = 683 - case porygonZShadow // = 684 - case porygonZPurified // = 685 - case wobbuffetShadow // = 686 - case wobbuffetPurified // = 687 - case turtwigNormal // = 688 - case turtwigShadow // = 689 - case turtwigPurified // = 690 - case grotleNormal // = 691 - case grotleShadow // = 692 - case grotlePurified // = 693 - case torterraNormal // = 694 - case torterraShadow // = 695 - case torterraPurified // = 696 - case ekansNormal // = 697 - case ekansShadow // = 698 - case ekansPurified // = 699 - case arbokNormal // = 700 - case arbokShadow // = 701 - case arbokPurified // = 702 - case koffingNormal // = 703 - case koffingShadow // = 704 - case koffingPurified // = 705 - case weezingNormal // = 706 - case weezingShadow // = 707 - case weezingPurified // = 708 - case meowthShadow // = 709 - case meowthPurified // = 710 - case persianShadow // = 711 - case persianPurified // = 712 - case hitmonleeNormal // = 713 - case hitmonleeShadow // = 714 - case hitmonleePurified // = 715 - case articunoNormal // = 716 - case articunoShadow // = 717 - case articunoPurified // = 718 - case misdreavusNormal // = 719 - case misdreavusShadow // = 720 - case misdreavusPurified // = 721 - case mismagiusNormal // = 722 - case mismagiusShadow // = 723 - case mismagiusPurified // = 724 - case vulpixShadow // = 725 - case vulpixPurified // = 726 - case ninetalesShadow // = 727 - case ninetalesPurified // = 728 - case exeggcuteNormal // = 729 - case exeggcuteShadow // = 730 - case exeggcutePurified // = 731 - case exeggutorShadow // = 732 - case exeggutorPurified // = 733 - case carvanhaNormal // = 734 - case carvanhaShadow // = 735 - case carvanhaPurified // = 736 - case sharpedoNormal // = 737 - case sharpedoShadow // = 738 - case sharpedoPurified // = 739 - case omanyteNormal // = 740 - case omanyteShadow // = 741 - case omanytePurified // = 742 - case omastarNormal // = 743 - case omastarShadow // = 744 - case omastarPurified // = 745 - case trapinchNormal // = 746 - case trapinchShadow // = 747 - case trapinchPurified // = 748 - case vibravaNormal // = 749 - case vibravaShadow // = 750 - case vibravaPurified // = 751 - case flygonNormal // = 752 - case flygonShadow // = 753 - case flygonPurified // = 754 - case bagonNormal // = 755 - case bagonShadow // = 756 - case bagonPurified // = 757 - case shelgonNormal // = 758 - case shelgonShadow // = 759 - case shelgonPurified // = 760 - case salamenceNormal // = 761 - case salamenceShadow // = 762 - case salamencePurified // = 763 - case beldumNormal // = 764 - case beldumShadow // = 765 - case beldumPurified // = 766 - case metangNormal // = 767 - case metangShadow // = 768 - case metangPurified // = 769 - case metagrossNormal // = 770 - case metagrossShadow // = 771 - case metagrossPurified // = 772 - case zapdosNormal // = 773 - case zapdosShadow // = 774 - case zapdosPurified // = 775 - case nidoranNormal // = 776 - case nidoranShadow // = 777 - case nidoranPurified // = 778 - case nidorinaNormal // = 779 - case nidorinaShadow // = 780 - case nidorinaPurified // = 781 - case nidoqueenNormal // = 782 - case nidoqueenShadow // = 783 - case nidoqueenPurified // = 784 - case nidorinoNormal // = 785 - case nidorinoShadow // = 786 - case nidorinoPurified // = 787 - case nidokingNormal // = 788 - case nidokingShadow // = 789 - case nidokingPurified // = 790 - case stunkyNormal // = 791 - case stunkyShadow // = 792 - case stunkyPurified // = 793 - case skuntankNormal // = 794 - case skuntankShadow // = 795 - case skuntankPurified // = 796 - case sneaselNormal // = 797 - case sneaselShadow // = 798 - case sneaselPurified // = 799 - case weavileNormal // = 800 - case weavileShadow // = 801 - case weavilePurified // = 802 - case gligarNormal // = 803 - case gligarShadow // = 804 - case gligarPurified // = 805 - case gliscorNormal // = 806 - case gliscorShadow // = 807 - case gliscorPurified // = 808 - case machopNormal // = 809 - case machopShadow // = 810 - case machopPurified // = 811 - case machokeNormal // = 812 - case machokeShadow // = 813 - case machokePurified // = 814 - case machampNormal // = 815 - case machampShadow // = 816 - case machampPurified // = 817 - case chimcharNormal // = 818 - case chimcharShadow // = 819 - case chimcharPurified // = 820 - case monfernoNormal // = 821 - case monfernoShadow // = 822 - case monfernoPurified // = 823 - case infernapeNormal // = 824 - case infernapeShadow // = 825 - case infernapePurified // = 826 - case shuckleNormal // = 827 - case shuckleShadow // = 828 - case shucklePurified // = 829 - case absolNormal // = 830 - case absolShadow // = 831 - case absolPurified // = 832 - case mawileNormal // = 833 - case mawileShadow // = 834 - case mawilePurified // = 835 - case moltresNormal // = 836 - case moltresShadow // = 837 - case moltresPurified // = 838 - case kangaskhanNormal // = 839 - case kangaskhanShadow // = 840 - case kangaskhanPurified // = 841 - case diglettShadow // = 842 - case diglettPurified // = 843 - case dugtrioShadow // = 844 - case dugtrioPurified // = 845 - case rhyhornNormal // = 846 - case rhyhornShadow // = 847 - case rhyhornPurified // = 848 - case rhydonNormal // = 849 - case rhydonShadow // = 850 - case rhydonPurified // = 851 - case rhyperiorNormal // = 852 - case rhyperiorShadow // = 853 - case rhyperiorPurified // = 854 - case murkrowNormal // = 855 - case murkrowShadow // = 856 - case murkrowPurified // = 857 - case honchkrowNormal // = 858 - case honchkrowShadow // = 859 - case honchkrowPurified // = 860 - case gibleNormal // = 861 - case gibleShadow // = 862 - case giblePurified // = 863 - case gabiteNormal // = 864 - case gabiteShadow // = 865 - case gabitePurified // = 866 - case garchompNormal // = 867 - case garchompShadow // = 868 - case garchompPurified // = 869 - case krabbyNormal // = 870 - case krabbyShadow // = 871 - case krabbyPurified // = 872 - case kinglerNormal // = 873 - case kinglerShadow // = 874 - case kinglerPurified // = 875 - case shellderNormal // = 876 - case shellderShadow // = 877 - case shellderPurified // = 878 - case cloysterNormal // = 879 - case cloysterShadow // = 880 - case cloysterPurified // = 881 - case geodudeShadow // = 882 - case geodudePurified // = 883 - case gravelerShadow // = 884 - case gravelerPurified // = 885 - case golemShadow // = 886 - case golemPurified // = 887 - case hippopotasNormal // = 888 - case hippopotasShadow // = 889 - case hippopotasPurified // = 890 - case hippowdonNormal // = 891 - case hippowdonShadow // = 892 - case hippowdonPurified // = 893 - case pikachuFall2019 // = 894 - case squirtleFall2019 // = 895 - case charmanderFall2019 // = 896 - case bulbasaurFall2019 // = 897 - case pinsirNormal // = 898 - case pinsirShadow // = 899 - case pinsirPurified // = 900 - case pikachuVs2019 // = 901 - case onixNormal // = 902 - case onixShadow // = 903 - case onixPurified // = 904 - case steelixNormal // = 905 - case steelixShadow // = 906 - case steelixPurified // = 907 - case shuppetNormal // = 908 - case shuppetShadow // = 909 - case shuppetPurified // = 910 - case banetteNormal // = 911 - case banetteShadow // = 912 - case banettePurified // = 913 - case duskullNormal // = 914 - case duskullShadow // = 915 - case duskullPurified // = 916 - case dusclopsNormal // = 917 - case dusclopsShadow // = 918 - case dusclopsPurified // = 919 - case dusknoirNormal // = 920 - case dusknoirShadow // = 921 - case dusknoirPurified // = 922 - case sableyeNormal // = 923 - case sableyeShadow // = 924 - case sableyePurified // = 925 - case snoruntNormal // = 926 - case snoruntShadow // = 927 - case snoruntPurified // = 928 - case glalieNormal // = 929 - case glalieShadow // = 930 - case glaliePurified // = 931 - case snoverNormal // = 932 - case snoverShadow // = 933 - case snoverPurified // = 934 - case abomasnowNormal // = 935 - case abomasnowShadow // = 936 - case abomasnowPurified // = 937 - case delibirdNormal // = 938 - case delibirdShadow // = 939 - case delibirdPurified // = 940 - case stantlerNormal // = 941 - case stantlerShadow // = 942 - case stantlerPurified // = 943 - case weezingGalarian // = 944 - case zigzagoonNormal // = 945 - case zigzagoonGalarian // = 946 - case linooneNormal // = 947 - case linooneGalarian // = 948 - case pikachuCopy2019 // = 949 - case venusaurCopy2019 // = 950 - case charizardCopy2019 // = 951 - case blastoiseCopy2019 // = 952 - case caterpieNormal // = 953 - case caterpieShadow // = 954 - case caterpiePurified // = 955 - case metapodNormal // = 956 - case metapodShadow // = 957 - case metapodPurified // = 958 - case butterfreeNormal // = 959 - case butterfreeShadow // = 960 - case butterfreePurified // = 961 - case pidgeyNormal // = 962 - case pidgeyShadow // = 963 - case pidgeyPurified // = 964 - case pidgeottoNormal // = 965 - case pidgeottoShadow // = 966 - case pidgeottoPurified // = 967 - case pidgeotNormal // = 968 - case pidgeotShadow // = 969 - case pidgeotPurified // = 970 - case spearowNormal // = 971 - case spearowShadow // = 972 - case spearowPurified // = 973 - case fearowNormal // = 974 - case fearowShadow // = 975 - case fearowPurified // = 976 - case pikachuShadow // = 977 - case pikachuPurified // = 978 - case raichuShadow // = 979 - case raichuPurified // = 980 - case clefairyNormal // = 981 - case clefairyShadow // = 982 - case clefairyPurified // = 983 - case clefableNormal // = 984 - case clefableShadow // = 985 - case clefablePurified // = 986 - case jigglypuffNormal // = 987 - case jigglypuffShadow // = 988 - case jigglypuffPurified // = 989 - case wigglytuffNormal // = 990 - case wigglytuffShadow // = 991 - case wigglytuffPurified // = 992 - case parasNormal // = 993 - case parasShadow // = 994 - case parasPurified // = 995 - case parasectNormal // = 996 - case parasectShadow // = 997 - case parasectPurified // = 998 - case mankeyNormal // = 999 - case mankeyShadow // = 1000 - case mankeyPurified // = 1001 - case primeapeNormal // = 1002 - case primeapeShadow // = 1003 - case primeapePurified // = 1004 - case tentacoolNormal // = 1005 - case tentacoolShadow // = 1006 - case tentacoolPurified // = 1007 - case tentacruelNormal // = 1008 - case tentacruelShadow // = 1009 - case tentacruelPurified // = 1010 - case ponytaNormal // = 1011 - case ponytaShadow // = 1012 - case ponytaPurified // = 1013 - case rapidashNormal // = 1014 - case rapidashShadow // = 1015 - case rapidashPurified // = 1016 - case slowpokeNormal // = 1017 - case slowpokeShadow // = 1018 - case slowpokePurified // = 1019 - case slowbroNormal // = 1020 - case slowbroShadow // = 1021 - case slowbroPurified // = 1022 - case farfetchdNormal // = 1023 - case farfetchdShadow // = 1024 - case farfetchdPurified // = 1025 - case doduoNormal // = 1026 - case doduoShadow // = 1027 - case doduoPurified // = 1028 - case dodrioNormal // = 1029 - case dodrioShadow // = 1030 - case dodrioPurified // = 1031 - case seelNormal // = 1032 - case seelShadow // = 1033 - case seelPurified // = 1034 - case dewgongNormal // = 1035 - case dewgongShadow // = 1036 - case dewgongPurified // = 1037 - case gastlyNormal // = 1038 - case gastlyShadow // = 1039 - case gastlyPurified // = 1040 - case haunterNormal // = 1041 - case haunterShadow // = 1042 - case haunterPurified // = 1043 - case gengarNormal // = 1044 - case gengarShadow // = 1045 - case gengarPurified // = 1046 - case voltorbNormal // = 1047 - case voltorbShadow // = 1048 - case voltorbPurified // = 1049 - case electrodeNormal // = 1050 - case electrodeShadow // = 1051 - case electrodePurified // = 1052 - case lickitungNormal // = 1053 - case lickitungShadow // = 1054 - case lickitungPurified // = 1055 - case chanseyNormal // = 1056 - case chanseyShadow // = 1057 - case chanseyPurified // = 1058 - case tangelaNormal // = 1059 - case tangelaShadow // = 1060 - case tangelaPurified // = 1061 - case horseaNormal // = 1062 - case horseaShadow // = 1063 - case horseaPurified // = 1064 - case seadraNormal // = 1065 - case seadraShadow // = 1066 - case seadraPurified // = 1067 - case goldeenNormal // = 1068 - case goldeenShadow // = 1069 - case goldeenPurified // = 1070 - case seakingNormal // = 1071 - case seakingShadow // = 1072 - case seakingPurified // = 1073 - case staryuNormal // = 1074 - case staryuShadow // = 1075 - case staryuPurified // = 1076 - case starmieNormal // = 1077 - case starmieShadow // = 1078 - case starmiePurified // = 1079 - case mrMimeNormal // = 1080 - case mrMimeShadow // = 1081 - case mrMimePurified // = 1082 - case jynxNormal // = 1083 - case jynxShadow // = 1084 - case jynxPurified // = 1085 - case taurosNormal // = 1086 - case taurosShadow // = 1087 - case taurosPurified // = 1088 - case dittoNormal // = 1089 - case dittoShadow // = 1090 - case dittoPurified // = 1091 - case eeveeNormal // = 1092 - case eeveeShadow // = 1093 - case eeveePurified // = 1094 - case vaporeonNormal // = 1095 - case vaporeonShadow // = 1096 - case vaporeonPurified // = 1097 - case jolteonNormal // = 1098 - case jolteonShadow // = 1099 - case jolteonPurified // = 1100 - case flareonNormal // = 1101 - case flareonShadow // = 1102 - case flareonPurified // = 1103 - case kabutoNormal // = 1104 - case kabutoShadow // = 1105 - case kabutoPurified // = 1106 - case kabutopsNormal // = 1107 - case kabutopsShadow // = 1108 - case kabutopsPurified // = 1109 - case aerodactylNormal // = 1110 - case aerodactylShadow // = 1111 - case aerodactylPurified // = 1112 - case mewtwoShadow // = 1113 - case mewtwoPurified // = 1114 - case mewNormal // = 1115 - case mewShadow // = 1116 - case mewPurified // = 1117 - case chikoritaNormal // = 1118 - case chikoritaShadow // = 1119 - case chikoritaPurified // = 1120 - case bayleefNormal // = 1121 - case bayleefShadow // = 1122 - case bayleefPurified // = 1123 - case meganiumNormal // = 1124 - case meganiumShadow // = 1125 - case meganiumPurified // = 1126 - case cyndaquilNormal // = 1127 - case cyndaquilShadow // = 1128 - case cyndaquilPurified // = 1129 - case quilavaNormal // = 1130 - case quilavaShadow // = 1131 - case quilavaPurified // = 1132 - case typhlosionNormal // = 1133 - case typhlosionShadow // = 1134 - case typhlosionPurified // = 1135 - case totodileNormal // = 1136 - case totodileShadow // = 1137 - case totodilePurified // = 1138 - case croconawNormal // = 1139 - case croconawShadow // = 1140 - case croconawPurified // = 1141 - case feraligatrNormal // = 1142 - case feraligatrShadow // = 1143 - case feraligatrPurified // = 1144 - case sentretNormal // = 1145 - case sentretShadow // = 1146 - case sentretPurified // = 1147 - case furretNormal // = 1148 - case furretShadow // = 1149 - case furretPurified // = 1150 - case hoothootNormal // = 1151 - case hoothootShadow // = 1152 - case hoothootPurified // = 1153 - case noctowlNormal // = 1154 - case noctowlShadow // = 1155 - case noctowlPurified // = 1156 - case ledybaNormal // = 1157 - case ledybaShadow // = 1158 - case ledybaPurified // = 1159 - case ledianNormal // = 1160 - case ledianShadow // = 1161 - case ledianPurified // = 1162 - case spinarakNormal // = 1163 - case spinarakShadow // = 1164 - case spinarakPurified // = 1165 - case ariadosNormal // = 1166 - case ariadosShadow // = 1167 - case ariadosPurified // = 1168 - case chinchouNormal // = 1169 - case chinchouShadow // = 1170 - case chinchouPurified // = 1171 - case lanturnNormal // = 1172 - case lanturnShadow // = 1173 - case lanturnPurified // = 1174 - case pichuNormal // = 1175 - case pichuShadow // = 1176 - case pichuPurified // = 1177 - case cleffaNormal // = 1178 - case cleffaShadow // = 1179 - case cleffaPurified // = 1180 - case igglybuffNormal // = 1181 - case igglybuffShadow // = 1182 - case igglybuffPurified // = 1183 - case togepiNormal // = 1184 - case togepiShadow // = 1185 - case togepiPurified // = 1186 - case togeticNormal // = 1187 - case togeticShadow // = 1188 - case togeticPurified // = 1189 - case natuNormal // = 1190 - case natuShadow // = 1191 - case natuPurified // = 1192 - case xatuNormal // = 1193 - case xatuShadow // = 1194 - case xatuPurified // = 1195 - case marillNormal // = 1196 - case marillShadow // = 1197 - case marillPurified // = 1198 - case azumarillNormal // = 1199 - case azumarillShadow // = 1200 - case azumarillPurified // = 1201 - case sudowoodoNormal // = 1202 - case sudowoodoShadow // = 1203 - case sudowoodoPurified // = 1204 - case hoppipNormal // = 1205 - case hoppipShadow // = 1206 - case hoppipPurified // = 1207 - case skiploomNormal // = 1208 - case skiploomShadow // = 1209 - case skiploomPurified // = 1210 - case jumpluffNormal // = 1211 - case jumpluffShadow // = 1212 - case jumpluffPurified // = 1213 - case aipomNormal // = 1214 - case aipomShadow // = 1215 - case aipomPurified // = 1216 - case sunkernNormal // = 1217 - case sunkernShadow // = 1218 - case sunkernPurified // = 1219 - case sunfloraNormal // = 1220 - case sunfloraShadow // = 1221 - case sunfloraPurified // = 1222 - case yanmaNormal // = 1223 - case yanmaShadow // = 1224 - case yanmaPurified // = 1225 - case wooperNormal // = 1226 - case wooperShadow // = 1227 - case wooperPurified // = 1228 - case quagsireNormal // = 1229 - case quagsireShadow // = 1230 - case quagsirePurified // = 1231 - case espeonNormal // = 1232 - case espeonShadow // = 1233 - case espeonPurified // = 1234 - case umbreonNormal // = 1235 - case umbreonShadow // = 1236 - case umbreonPurified // = 1237 - case slowkingNormal // = 1238 - case slowkingShadow // = 1239 - case slowkingPurified // = 1240 - case girafarigNormal // = 1241 - case girafarigShadow // = 1242 - case girafarigPurified // = 1243 - case pinecoNormal // = 1244 - case pinecoShadow // = 1245 - case pinecoPurified // = 1246 - case forretressNormal // = 1247 - case forretressShadow // = 1248 - case forretressPurified // = 1249 - case dunsparceNormal // = 1250 - case dunsparceShadow // = 1251 - case dunsparcePurified // = 1252 - case snubbullNormal // = 1253 - case snubbullShadow // = 1254 - case snubbullPurified // = 1255 - case granbullNormal // = 1256 - case granbullShadow // = 1257 - case granbullPurified // = 1258 - case qwilfishNormal // = 1259 - case qwilfishShadow // = 1260 - case qwilfishPurified // = 1261 - case heracrossNormal // = 1262 - case heracrossShadow // = 1263 - case heracrossPurified // = 1264 - case teddiursaNormal // = 1265 - case teddiursaShadow // = 1266 - case teddiursaPurified // = 1267 - case ursaringNormal // = 1268 - case ursaringShadow // = 1269 - case ursaringPurified // = 1270 - case slugmaNormal // = 1271 - case slugmaShadow // = 1272 - case slugmaPurified // = 1273 - case magcargoNormal // = 1274 - case magcargoShadow // = 1275 - case magcargoPurified // = 1276 - case swinubNormal // = 1277 - case swinubShadow // = 1278 - case swinubPurified // = 1279 - case piloswineNormal // = 1280 - case piloswineShadow // = 1281 - case piloswinePurified // = 1282 - case corsolaNormal // = 1283 - case corsolaShadow // = 1284 - case corsolaPurified // = 1285 - case remoraidNormal // = 1286 - case remoraidShadow // = 1287 - case remoraidPurified // = 1288 - case octilleryNormal // = 1289 - case octilleryShadow // = 1290 - case octilleryPurified // = 1291 - case mantineNormal // = 1292 - case mantineShadow // = 1293 - case mantinePurified // = 1294 - case skarmoryNormal // = 1295 - case skarmoryShadow // = 1296 - case skarmoryPurified // = 1297 - case kingdraNormal // = 1298 - case kingdraShadow // = 1299 - case kingdraPurified // = 1300 - case phanpyNormal // = 1301 - case phanpyShadow // = 1302 - case phanpyPurified // = 1303 - case donphanNormal // = 1304 - case donphanShadow // = 1305 - case donphanPurified // = 1306 - case smeargleNormal // = 1307 - case smeargleShadow // = 1308 - case smearglePurified // = 1309 - case tyrogueNormal // = 1310 - case tyrogueShadow // = 1311 - case tyroguePurified // = 1312 - case hitmontopNormal // = 1313 - case hitmontopShadow // = 1314 - case hitmontopPurified // = 1315 - case smoochumNormal // = 1316 - case smoochumShadow // = 1317 - case smoochumPurified // = 1318 - case elekidNormal // = 1319 - case elekidShadow // = 1320 - case elekidPurified // = 1321 - case magbyNormal // = 1322 - case magbyShadow // = 1323 - case magbyPurified // = 1324 - case miltankNormal // = 1325 - case miltankShadow // = 1326 - case miltankPurified // = 1327 - case blisseyNormal // = 1328 - case blisseyShadow // = 1329 - case blisseyPurified // = 1330 - case raikouNormal // = 1331 - case raikouShadow // = 1332 - case raikouPurified // = 1333 - case enteiNormal // = 1334 - case enteiShadow // = 1335 - case enteiPurified // = 1336 - case suicuneNormal // = 1337 - case suicuneShadow // = 1338 - case suicunePurified // = 1339 - case lugiaNormal // = 1340 - case lugiaShadow // = 1341 - case lugiaPurified // = 1342 - case hoOhNormal // = 1343 - case hoOhShadow // = 1344 - case hoOhPurified // = 1345 - case celebiNormal // = 1346 - case celebiShadow // = 1347 - case celebiPurified // = 1348 - case treeckoNormal // = 1349 - case treeckoShadow // = 1350 - case treeckoPurified // = 1351 - case grovyleNormal // = 1352 - case grovyleShadow // = 1353 - case grovylePurified // = 1354 - case sceptileNormal // = 1355 - case sceptileShadow // = 1356 - case sceptilePurified // = 1357 - case torchicNormal // = 1358 - case torchicShadow // = 1359 - case torchicPurified // = 1360 - case combuskenNormal // = 1361 - case combuskenShadow // = 1362 - case combuskenPurified // = 1363 - case blazikenNormal // = 1364 - case blazikenShadow // = 1365 - case blazikenPurified // = 1366 - case poochyenaNormal // = 1367 - case poochyenaShadow // = 1368 - case poochyenaPurified // = 1369 - case mightyenaNormal // = 1370 - case mightyenaShadow // = 1371 - case mightyenaPurified // = 1372 - case zigzagoonShadow // = 1373 - case zigzagoonPurified // = 1374 - case linooneShadow // = 1375 - case linoonePurified // = 1376 - case wurmpleShadow // = 1377 - case wurmplePurified // = 1378 - case silcoonNormal // = 1379 - case silcoonShadow // = 1380 - case silcoonPurified // = 1381 - case beautiflyNormal // = 1382 - case beautiflyShadow // = 1383 - case beautiflyPurified // = 1384 - case cascoonNormal // = 1385 - case cascoonShadow // = 1386 - case cascoonPurified // = 1387 - case dustoxNormal // = 1388 - case dustoxShadow // = 1389 - case dustoxPurified // = 1390 - case lotadNormal // = 1391 - case lotadShadow // = 1392 - case lotadPurified // = 1393 - case lombreNormal // = 1394 - case lombreShadow // = 1395 - case lombrePurified // = 1396 - case ludicoloNormal // = 1397 - case ludicoloShadow // = 1398 - case ludicoloPurified // = 1399 - case taillowNormal // = 1400 - case taillowShadow // = 1401 - case taillowPurified // = 1402 - case swellowNormal // = 1403 - case swellowShadow // = 1404 - case swellowPurified // = 1405 - case wingullNormal // = 1406 - case wingullShadow // = 1407 - case wingullPurified // = 1408 - case pelipperNormal // = 1409 - case pelipperShadow // = 1410 - case pelipperPurified // = 1411 - case surskitNormal // = 1412 - case surskitShadow // = 1413 - case surskitPurified // = 1414 - case masquerainNormal // = 1415 - case masquerainShadow // = 1416 - case masquerainPurified // = 1417 - case shroomishNormal // = 1418 - case shroomishShadow // = 1419 - case shroomishPurified // = 1420 - case breloomNormal // = 1421 - case breloomShadow // = 1422 - case breloomPurified // = 1423 - case slakothNormal // = 1424 - case slakothShadow // = 1425 - case slakothPurified // = 1426 - case vigorothNormal // = 1427 - case vigorothShadow // = 1428 - case vigorothPurified // = 1429 - case slakingNormal // = 1430 - case slakingShadow // = 1431 - case slakingPurified // = 1432 - case nincadaNormal // = 1433 - case nincadaShadow // = 1434 - case nincadaPurified // = 1435 - case ninjaskNormal // = 1436 - case ninjaskShadow // = 1437 - case ninjaskPurified // = 1438 - case shedinjaNormal // = 1439 - case shedinjaShadow // = 1440 - case shedinjaPurified // = 1441 - case whismurNormal // = 1442 - case whismurShadow // = 1443 - case whismurPurified // = 1444 - case loudredNormal // = 1445 - case loudredShadow // = 1446 - case loudredPurified // = 1447 - case exploudNormal // = 1448 - case exploudShadow // = 1449 - case exploudPurified // = 1450 - case makuhitaNormal // = 1451 - case makuhitaShadow // = 1452 - case makuhitaPurified // = 1453 - case hariyamaNormal // = 1454 - case hariyamaShadow // = 1455 - case hariyamaPurified // = 1456 - case azurillNormal // = 1457 - case azurillShadow // = 1458 - case azurillPurified // = 1459 - case nosepassNormal // = 1460 - case nosepassShadow // = 1461 - case nosepassPurified // = 1462 - case skittyNormal // = 1463 - case skittyShadow // = 1464 - case skittyPurified // = 1465 - case delcattyNormal // = 1466 - case delcattyShadow // = 1467 - case delcattyPurified // = 1468 - case aronNormal // = 1469 - case aronShadow // = 1470 - case aronPurified // = 1471 - case laironNormal // = 1472 - case laironShadow // = 1473 - case laironPurified // = 1474 - case aggronNormal // = 1475 - case aggronShadow // = 1476 - case aggronPurified // = 1477 - case medititeNormal // = 1478 - case medititeShadow // = 1479 - case medititePurified // = 1480 - case medichamNormal // = 1481 - case medichamShadow // = 1482 - case medichamPurified // = 1483 - case electrikeNormal // = 1484 - case electrikeShadow // = 1485 - case electrikePurified // = 1486 - case manectricNormal // = 1487 - case manectricShadow // = 1488 - case manectricPurified // = 1489 - case plusleNormal // = 1490 - case plusleShadow // = 1491 - case pluslePurified // = 1492 - case minunNormal // = 1493 - case minunShadow // = 1494 - case minunPurified // = 1495 - case volbeatNormal // = 1496 - case volbeatShadow // = 1497 - case volbeatPurified // = 1498 - case illumiseNormal // = 1499 - case illumiseShadow // = 1500 - case illumisePurified // = 1501 - case roseliaNormal // = 1502 - case roseliaShadow // = 1503 - case roseliaPurified // = 1504 - case gulpinNormal // = 1505 - case gulpinShadow // = 1506 - case gulpinPurified // = 1507 - case swalotNormal // = 1508 - case swalotShadow // = 1509 - case swalotPurified // = 1510 - case wailmerNormal // = 1511 - case wailmerShadow // = 1512 - case wailmerPurified // = 1513 - case wailordNormal // = 1514 - case wailordShadow // = 1515 - case wailordPurified // = 1516 - case numelNormal // = 1517 - case numelShadow // = 1518 - case numelPurified // = 1519 - case cameruptNormal // = 1520 - case cameruptShadow // = 1521 - case cameruptPurified // = 1522 - case torkoalNormal // = 1523 - case torkoalShadow // = 1524 - case torkoalPurified // = 1525 - case spoinkNormal // = 1526 - case spoinkShadow // = 1527 - case spoinkPurified // = 1528 - case grumpigNormal // = 1529 - case grumpigShadow // = 1530 - case grumpigPurified // = 1531 - case swabluNormal // = 1532 - case swabluShadow // = 1533 - case swabluPurified // = 1534 - case altariaNormal // = 1535 - case altariaShadow // = 1536 - case altariaPurified // = 1537 - case zangooseNormal // = 1538 - case zangooseShadow // = 1539 - case zangoosePurified // = 1540 - case seviperNormal // = 1541 - case seviperShadow // = 1542 - case seviperPurified // = 1543 - case lunatoneNormal // = 1544 - case lunatoneShadow // = 1545 - case lunatonePurified // = 1546 - case solrockNormal // = 1547 - case solrockShadow // = 1548 - case solrockPurified // = 1549 - case barboachNormal // = 1550 - case barboachShadow // = 1551 - case barboachPurified // = 1552 - case whiscashNormal // = 1553 - case whiscashShadow // = 1554 - case whiscashPurified // = 1555 - case corphishNormal // = 1556 - case corphishShadow // = 1557 - case corphishPurified // = 1558 - case crawdauntNormal // = 1559 - case crawdauntShadow // = 1560 - case crawdauntPurified // = 1561 - case baltoyNormal // = 1562 - case baltoyShadow // = 1563 - case baltoyPurified // = 1564 - case claydolNormal // = 1565 - case claydolShadow // = 1566 - case claydolPurified // = 1567 - case lileepNormal // = 1568 - case lileepShadow // = 1569 - case lileepPurified // = 1570 - case cradilyNormal // = 1571 - case cradilyShadow // = 1572 - case cradilyPurified // = 1573 - case anorithNormal // = 1574 - case anorithShadow // = 1575 - case anorithPurified // = 1576 - case armaldoNormal // = 1577 - case armaldoShadow // = 1578 - case armaldoPurified // = 1579 - case feebasNormal // = 1580 - case feebasShadow // = 1581 - case feebasPurified // = 1582 - case miloticNormal // = 1583 - case miloticShadow // = 1584 - case miloticPurified // = 1585 - case kecleonNormal // = 1586 - case kecleonShadow // = 1587 - case kecleonPurified // = 1588 - case tropiusNormal // = 1589 - case tropiusShadow // = 1590 - case tropiusPurified // = 1591 - case chimechoNormal // = 1592 - case chimechoShadow // = 1593 - case chimechoPurified // = 1594 - case wynautNormal // = 1595 - case wynautShadow // = 1596 - case wynautPurified // = 1597 - case sphealNormal // = 1598 - case sphealShadow // = 1599 - case sphealPurified // = 1600 - case sealeoNormal // = 1601 - case sealeoShadow // = 1602 - case sealeoPurified // = 1603 - case walreinNormal // = 1604 - case walreinShadow // = 1605 - case walreinPurified // = 1606 - case clamperlNormal // = 1607 - case clamperlShadow // = 1608 - case clamperlPurified // = 1609 - case huntailNormal // = 1610 - case huntailShadow // = 1611 - case huntailPurified // = 1612 - case gorebyssNormal // = 1613 - case gorebyssShadow // = 1614 - case gorebyssPurified // = 1615 - case relicanthNormal // = 1616 - case relicanthShadow // = 1617 - case relicanthPurified // = 1618 - case luvdiscNormal // = 1619 - case luvdiscShadow // = 1620 - case luvdiscPurified // = 1621 - case regirockNormal // = 1622 - case regirockShadow // = 1623 - case regirockPurified // = 1624 - case regiceNormal // = 1625 - case regiceShadow // = 1626 - case regicePurified // = 1627 - case registeelNormal // = 1628 - case registeelShadow // = 1629 - case registeelPurified // = 1630 - case latiasNormal // = 1631 - case latiasShadow // = 1632 - case latiasPurified // = 1633 - case latiosNormal // = 1634 - case latiosShadow // = 1635 - case latiosPurified // = 1636 - case kyogreNormal // = 1637 - case kyogreShadow // = 1638 - case kyogrePurified // = 1639 - case groudonNormal // = 1640 - case groudonShadow // = 1641 - case groudonPurified // = 1642 - case rayquazaNormal // = 1643 - case rayquazaShadow // = 1644 - case rayquazaPurified // = 1645 - case jirachiNormal // = 1646 - case jirachiShadow // = 1647 - case jirachiPurified // = 1648 - case piplupNormal // = 1649 - case piplupShadow // = 1650 - case piplupPurified // = 1651 - case prinplupNormal // = 1652 - case prinplupShadow // = 1653 - case prinplupPurified // = 1654 - case empoleonNormal // = 1655 - case empoleonShadow // = 1656 - case empoleonPurified // = 1657 - case starlyNormal // = 1658 - case starlyShadow // = 1659 - case starlyPurified // = 1660 - case staraviaNormal // = 1661 - case staraviaShadow // = 1662 - case staraviaPurified // = 1663 - case staraptorNormal // = 1664 - case staraptorShadow // = 1665 - case staraptorPurified // = 1666 - case bidoofNormal // = 1667 - case bidoofShadow // = 1668 - case bidoofPurified // = 1669 - case bibarelNormal // = 1670 - case bibarelShadow // = 1671 - case bibarelPurified // = 1672 - case kricketotNormal // = 1673 - case kricketotShadow // = 1674 - case kricketotPurified // = 1675 - case kricketuneNormal // = 1676 - case kricketuneShadow // = 1677 - case kricketunePurified // = 1678 - case shinxNormal // = 1679 - case shinxShadow // = 1680 - case shinxPurified // = 1681 - case luxioNormal // = 1682 - case luxioShadow // = 1683 - case luxioPurified // = 1684 - case luxrayNormal // = 1685 - case luxrayShadow // = 1686 - case luxrayPurified // = 1687 - case budewNormal // = 1688 - case budewShadow // = 1689 - case budewPurified // = 1690 - case roseradeNormal // = 1691 - case roseradeShadow // = 1692 - case roseradePurified // = 1693 - case cranidosNormal // = 1694 - case cranidosShadow // = 1695 - case cranidosPurified // = 1696 - case rampardosNormal // = 1697 - case rampardosShadow // = 1698 - case rampardosPurified // = 1699 - case shieldonNormal // = 1700 - case shieldonShadow // = 1701 - case shieldonPurified // = 1702 - case bastiodonNormal // = 1703 - case bastiodonShadow // = 1704 - case bastiodonPurified // = 1705 - case burmyNormal // = 1706 - case burmyShadow // = 1707 - case burmyPurified // = 1708 - case wormadamNormal // = 1709 - case wormadamShadow // = 1710 - case wormadamPurified // = 1711 - case mothimNormal // = 1712 - case mothimShadow // = 1713 - case mothimPurified // = 1714 - case combeeNormal // = 1715 - case combeeShadow // = 1716 - case combeePurified // = 1717 - case vespiquenNormal // = 1718 - case vespiquenShadow // = 1719 - case vespiquenPurified // = 1720 - case pachirisuNormal // = 1721 - case pachirisuShadow // = 1722 - case pachirisuPurified // = 1723 - case buizelNormal // = 1724 - case buizelShadow // = 1725 - case buizelPurified // = 1726 - case floatzelNormal // = 1727 - case floatzelShadow // = 1728 - case floatzelPurified // = 1729 - case cherubiNormal // = 1730 - case cherubiShadow // = 1731 - case cherubiPurified // = 1732 - case cherrimNormal // = 1733 - case cherrimShadow // = 1734 - case cherrimPurified // = 1735 - case shellosNormal // = 1736 - case shellosShadow // = 1737 - case shellosPurified // = 1738 - case gastrodonNormal // = 1739 - case gastrodonShadow // = 1740 - case gastrodonPurified // = 1741 - case ambipomNormal // = 1742 - case ambipomShadow // = 1743 - case ambipomPurified // = 1744 - case drifloonNormal // = 1745 - case drifloonShadow // = 1746 - case drifloonPurified // = 1747 - case drifblimNormal // = 1748 - case drifblimShadow // = 1749 - case drifblimPurified // = 1750 - case bunearyNormal // = 1751 - case bunearyShadow // = 1752 - case bunearyPurified // = 1753 - case lopunnyNormal // = 1754 - case lopunnyShadow // = 1755 - case lopunnyPurified // = 1756 - case glameowNormal // = 1757 - case glameowShadow // = 1758 - case glameowPurified // = 1759 - case puruglyNormal // = 1760 - case puruglyShadow // = 1761 - case puruglyPurified // = 1762 - case chinglingNormal // = 1763 - case chinglingShadow // = 1764 - case chinglingPurified // = 1765 - case bronzorNormal // = 1766 - case bronzorShadow // = 1767 - case bronzorPurified // = 1768 - case bronzongNormal // = 1769 - case bronzongShadow // = 1770 - case bronzongPurified // = 1771 - case bonslyNormal // = 1772 - case bonslyShadow // = 1773 - case bonslyPurified // = 1774 - case mimeJrNormal // = 1775 - case mimeJrShadow // = 1776 - case mimeJrPurified // = 1777 - case happinyNormal // = 1778 - case happinyShadow // = 1779 - case happinyPurified // = 1780 - case chatotNormal // = 1781 - case chatotShadow // = 1782 - case chatotPurified // = 1783 - case spiritombNormal // = 1784 - case spiritombShadow // = 1785 - case spiritombPurified // = 1786 - case munchlaxNormal // = 1787 - case munchlaxShadow // = 1788 - case munchlaxPurified // = 1789 - case rioluNormal // = 1790 - case rioluShadow // = 1791 - case rioluPurified // = 1792 - case lucarioNormal // = 1793 - case lucarioShadow // = 1794 - case lucarioPurified // = 1795 - case skorupiNormal // = 1796 - case skorupiShadow // = 1797 - case skorupiPurified // = 1798 - case drapionNormal // = 1799 - case drapionShadow // = 1800 - case drapionPurified // = 1801 - case croagunkNormal // = 1802 - case croagunkShadow // = 1803 - case croagunkPurified // = 1804 - case toxicroakNormal // = 1805 - case toxicroakShadow // = 1806 - case toxicroakPurified // = 1807 - case carnivineNormal // = 1808 - case carnivineShadow // = 1809 - case carnivinePurified // = 1810 - case finneonNormal // = 1811 - case finneonShadow // = 1812 - case finneonPurified // = 1813 - case lumineonNormal // = 1814 - case lumineonShadow // = 1815 - case lumineonPurified // = 1816 - case mantykeNormal // = 1817 - case mantykeShadow // = 1818 - case mantykePurified // = 1819 - case lickilickyNormal // = 1820 - case lickilickyShadow // = 1821 - case lickilickyPurified // = 1822 - case tangrowthNormal // = 1823 - case tangrowthShadow // = 1824 - case tangrowthPurified // = 1825 - case togekissNormal // = 1826 - case togekissShadow // = 1827 - case togekissPurified // = 1828 - case yanmegaNormal // = 1829 - case yanmegaShadow // = 1830 - case yanmegaPurified // = 1831 - case leafeonNormal // = 1832 - case leafeonShadow // = 1833 - case leafeonPurified // = 1834 - case glaceonNormal // = 1835 - case glaceonShadow // = 1836 - case glaceonPurified // = 1837 - case mamoswineNormal // = 1838 - case mamoswineShadow // = 1839 - case mamoswinePurified // = 1840 - case probopassNormal // = 1841 - case probopassShadow // = 1842 - case probopassPurified // = 1843 - case froslassNormal // = 1844 - case froslassShadow // = 1845 - case froslassPurified // = 1846 - case uxieNormal // = 1847 - case uxieShadow // = 1848 - case uxiePurified // = 1849 - case mespritNormal // = 1850 - case mespritShadow // = 1851 - case mespritPurified // = 1852 - case azelfNormal // = 1853 - case azelfShadow // = 1854 - case azelfPurified // = 1855 - case dialgaNormal // = 1856 - case dialgaShadow // = 1857 - case dialgaPurified // = 1858 - case palkiaNormal // = 1859 - case palkiaShadow // = 1860 - case palkiaPurified // = 1861 - case heatranNormal // = 1862 - case heatranShadow // = 1863 - case heatranPurified // = 1864 - case regigigasNormal // = 1865 - case regigigasShadow // = 1866 - case regigigasPurified // = 1867 - case giratinaNormal // = 1868 - case giratinaShadow // = 1869 - case giratinaPurified // = 1870 - case cresseliaNormal // = 1871 - case cresseliaShadow // = 1872 - case cresseliaPurified // = 1873 - case phioneNormal // = 1874 - case phioneShadow // = 1875 - case phionePurified // = 1876 - case manaphyNormal // = 1877 - case manaphyShadow // = 1878 - case manaphyPurified // = 1879 - case darkraiNormal // = 1880 - case darkraiShadow // = 1881 - case darkraiPurified // = 1882 - case shayminNormal // = 1883 - case shayminShadow // = 1884 - case shayminPurified // = 1885 - case victiniNormal // = 1886 - case victiniShadow // = 1887 - case victiniPurified // = 1888 - case snivyNormal // = 1889 - case snivyShadow // = 1890 - case snivyPurified // = 1891 - case servineNormal // = 1892 - case servineShadow // = 1893 - case servinePurified // = 1894 - case serperiorNormal // = 1895 - case serperiorShadow // = 1896 - case serperiorPurified // = 1897 - case tepigNormal // = 1898 - case tepigShadow // = 1899 - case tepigPurified // = 1900 - case pigniteNormal // = 1901 - case pigniteShadow // = 1902 - case pignitePurified // = 1903 - case emboarNormal // = 1904 - case emboarShadow // = 1905 - case emboarPurified // = 1906 - case oshawottNormal // = 1907 - case oshawottShadow // = 1908 - case oshawottPurified // = 1909 - case dewottNormal // = 1910 - case dewottShadow // = 1911 - case dewottPurified // = 1912 - case samurottNormal // = 1913 - case samurottShadow // = 1914 - case samurottPurified // = 1915 - case patratNormal // = 1916 - case patratShadow // = 1917 - case patratPurified // = 1918 - case watchogNormal // = 1919 - case watchogShadow // = 1920 - case watchogPurified // = 1921 - case lillipupNormal // = 1922 - case lillipupShadow // = 1923 - case lillipupPurified // = 1924 - case herdierNormal // = 1925 - case herdierShadow // = 1926 - case herdierPurified // = 1927 - case stoutlandNormal // = 1928 - case stoutlandShadow // = 1929 - case stoutlandPurified // = 1930 - case purrloinNormal // = 1931 - case purrloinShadow // = 1932 - case purrloinPurified // = 1933 - case liepardNormal // = 1934 - case liepardShadow // = 1935 - case liepardPurified // = 1936 - case pansageNormal // = 1937 - case pansageShadow // = 1938 - case pansagePurified // = 1939 - case simisageNormal // = 1940 - case simisageShadow // = 1941 - case simisagePurified // = 1942 - case pansearNormal // = 1943 - case pansearShadow // = 1944 - case pansearPurified // = 1945 - case simisearNormal // = 1946 - case simisearShadow // = 1947 - case simisearPurified // = 1948 - case panpourNormal // = 1949 - case panpourShadow // = 1950 - case panpourPurified // = 1951 - case simipourNormal // = 1952 - case simipourShadow // = 1953 - case simipourPurified // = 1954 - case munnaNormal // = 1955 - case munnaShadow // = 1956 - case munnaPurified // = 1957 - case musharnaNormal // = 1958 - case musharnaShadow // = 1959 - case musharnaPurified // = 1960 - case pidoveNormal // = 1961 - case pidoveShadow // = 1962 - case pidovePurified // = 1963 - case tranquillNormal // = 1964 - case tranquillShadow // = 1965 - case tranquillPurified // = 1966 - case unfezantNormal // = 1967 - case unfezantShadow // = 1968 - case unfezantPurified // = 1969 - case blitzleNormal // = 1970 - case blitzleShadow // = 1971 - case blitzlePurified // = 1972 - case zebstrikaNormal // = 1973 - case zebstrikaShadow // = 1974 - case zebstrikaPurified // = 1975 - case roggenrolaNormal // = 1976 - case roggenrolaShadow // = 1977 - case roggenrolaPurified // = 1978 - case boldoreNormal // = 1979 - case boldoreShadow // = 1980 - case boldorePurified // = 1981 - case gigalithNormal // = 1982 - case gigalithShadow // = 1983 - case gigalithPurified // = 1984 - case woobatNormal // = 1985 - case woobatShadow // = 1986 - case woobatPurified // = 1987 - case swoobatNormal // = 1988 - case swoobatShadow // = 1989 - case swoobatPurified // = 1990 - case drilburNormal // = 1991 - case drilburShadow // = 1992 - case drilburPurified // = 1993 - case excadrillNormal // = 1994 - case excadrillShadow // = 1995 - case excadrillPurified // = 1996 - case audinoNormal // = 1997 - case audinoShadow // = 1998 - case audinoPurified // = 1999 - case timburrNormal // = 2000 - case timburrShadow // = 2001 - case timburrPurified // = 2002 - case gurdurrNormal // = 2003 - case gurdurrShadow // = 2004 - case gurdurrPurified // = 2005 - case conkeldurrNormal // = 2006 - case conkeldurrShadow // = 2007 - case conkeldurrPurified // = 2008 - case tympoleNormal // = 2009 - case tympoleShadow // = 2010 - case tympolePurified // = 2011 - case palpitoadNormal // = 2012 - case palpitoadShadow // = 2013 - case palpitoadPurified // = 2014 - case seismitoadNormal // = 2015 - case seismitoadShadow // = 2016 - case seismitoadPurified // = 2017 - case throhNormal // = 2018 - case throhShadow // = 2019 - case throhPurified // = 2020 - case sawkNormal // = 2021 - case sawkShadow // = 2022 - case sawkPurified // = 2023 - case sewaddleNormal // = 2024 - case sewaddleShadow // = 2025 - case sewaddlePurified // = 2026 - case swadloonNormal // = 2027 - case swadloonShadow // = 2028 - case swadloonPurified // = 2029 - case leavannyNormal // = 2030 - case leavannyShadow // = 2031 - case leavannyPurified // = 2032 - case venipedeNormal // = 2033 - case venipedeShadow // = 2034 - case venipedePurified // = 2035 - case whirlipedeNormal // = 2036 - case whirlipedeShadow // = 2037 - case whirlipedePurified // = 2038 - case scolipedeNormal // = 2039 - case scolipedeShadow // = 2040 - case scolipedePurified // = 2041 - case cottoneeNormal // = 2042 - case cottoneeShadow // = 2043 - case cottoneePurified // = 2044 - case whimsicottNormal // = 2045 - case whimsicottShadow // = 2046 - case whimsicottPurified // = 2047 - case petililNormal // = 2048 - case petililShadow // = 2049 - case petililPurified // = 2050 - case lilligantNormal // = 2051 - case lilligantShadow // = 2052 - case lilligantPurified // = 2053 - case sandileNormal // = 2054 - case sandileShadow // = 2055 - case sandilePurified // = 2056 - case krokorokNormal // = 2057 - case krokorokShadow // = 2058 - case krokorokPurified // = 2059 - case krookodileNormal // = 2060 - case krookodileShadow // = 2061 - case krookodilePurified // = 2062 - case darumakaNormal // = 2063 - case darumakaShadow // = 2064 - case darumakaPurified // = 2065 - case maractusNormal // = 2066 - case maractusShadow // = 2067 - case maractusPurified // = 2068 - case dwebbleNormal // = 2069 - case dwebbleShadow // = 2070 - case dwebblePurified // = 2071 - case crustleNormal // = 2072 - case crustleShadow // = 2073 - case crustlePurified // = 2074 - case scraggyNormal // = 2075 - case scraggyShadow // = 2076 - case scraggyPurified // = 2077 - case scraftyNormal // = 2078 - case scraftyShadow // = 2079 - case scraftyPurified // = 2080 - case sigilyphNormal // = 2081 - case sigilyphShadow // = 2082 - case sigilyphPurified // = 2083 - case yamaskNormal // = 2084 - case yamaskShadow // = 2085 - case yamaskPurified // = 2086 - case cofagrigusNormal // = 2087 - case cofagrigusShadow // = 2088 - case cofagrigusPurified // = 2089 - case tirtougaNormal // = 2090 - case tirtougaShadow // = 2091 - case tirtougaPurified // = 2092 - case carracostaNormal // = 2093 - case carracostaShadow // = 2094 - case carracostaPurified // = 2095 - case archenNormal // = 2096 - case archenShadow // = 2097 - case archenPurified // = 2098 - case archeopsNormal // = 2099 - case archeopsShadow // = 2100 - case archeopsPurified // = 2101 - case trubbishNormal // = 2102 - case trubbishShadow // = 2103 - case trubbishPurified // = 2104 - case garbodorNormal // = 2105 - case garbodorShadow // = 2106 - case garbodorPurified // = 2107 - case zoruaNormal // = 2108 - case zoruaShadow // = 2109 - case zoruaPurified // = 2110 - case zoroarkNormal // = 2111 - case zoroarkShadow // = 2112 - case zoroarkPurified // = 2113 - case minccinoNormal // = 2114 - case minccinoShadow // = 2115 - case minccinoPurified // = 2116 - case cinccinoNormal // = 2117 - case cinccinoShadow // = 2118 - case cinccinoPurified // = 2119 - case gothitaNormal // = 2120 - case gothitaShadow // = 2121 - case gothitaPurified // = 2122 - case gothoritaNormal // = 2123 - case gothoritaShadow // = 2124 - case gothoritaPurified // = 2125 - case gothitelleNormal // = 2126 - case gothitelleShadow // = 2127 - case gothitellePurified // = 2128 - case solosisNormal // = 2129 - case solosisShadow // = 2130 - case solosisPurified // = 2131 - case duosionNormal // = 2132 - case duosionShadow // = 2133 - case duosionPurified // = 2134 - case reuniclusNormal // = 2135 - case reuniclusShadow // = 2136 - case reuniclusPurified // = 2137 - case ducklettNormal // = 2138 - case ducklettShadow // = 2139 - case ducklettPurified // = 2140 - case swannaNormal // = 2141 - case swannaShadow // = 2142 - case swannaPurified // = 2143 - case vanilliteNormal // = 2144 - case vanilliteShadow // = 2145 - case vanillitePurified // = 2146 - case vanillishNormal // = 2147 - case vanillishShadow // = 2148 - case vanillishPurified // = 2149 - case vanilluxeNormal // = 2150 - case vanilluxeShadow // = 2151 - case vanilluxePurified // = 2152 - case emolgaNormal // = 2153 - case emolgaShadow // = 2154 - case emolgaPurified // = 2155 - case karrablastNormal // = 2156 - case karrablastShadow // = 2157 - case karrablastPurified // = 2158 - case escavalierNormal // = 2159 - case escavalierShadow // = 2160 - case escavalierPurified // = 2161 - case foongusNormal // = 2162 - case foongusShadow // = 2163 - case foongusPurified // = 2164 - case amoongussNormal // = 2165 - case amoongussShadow // = 2166 - case amoongussPurified // = 2167 - case frillishNormal // = 2168 - case frillishShadow // = 2169 - case frillishPurified // = 2170 - case jellicentNormal // = 2171 - case jellicentShadow // = 2172 - case jellicentPurified // = 2173 - case alomomolaNormal // = 2174 - case alomomolaShadow // = 2175 - case alomomolaPurified // = 2176 - case joltikNormal // = 2177 - case joltikShadow // = 2178 - case joltikPurified // = 2179 - case galvantulaNormal // = 2180 - case galvantulaShadow // = 2181 - case galvantulaPurified // = 2182 - case ferroseedNormal // = 2183 - case ferroseedShadow // = 2184 - case ferroseedPurified // = 2185 - case ferrothornNormal // = 2186 - case ferrothornShadow // = 2187 - case ferrothornPurified // = 2188 - case klinkNormal // = 2189 - case klinkShadow // = 2190 - case klinkPurified // = 2191 - case klangNormal // = 2192 - case klangShadow // = 2193 - case klangPurified // = 2194 - case klinklangNormal // = 2195 - case klinklangShadow // = 2196 - case klinklangPurified // = 2197 - case tynamoNormal // = 2198 - case tynamoShadow // = 2199 - case tynamoPurified // = 2200 - case eelektrikNormal // = 2201 - case eelektrikShadow // = 2202 - case eelektrikPurified // = 2203 - case eelektrossNormal // = 2204 - case eelektrossShadow // = 2205 - case eelektrossPurified // = 2206 - case elgyemNormal // = 2207 - case elgyemShadow // = 2208 - case elgyemPurified // = 2209 - case beheeyemNormal // = 2210 - case beheeyemShadow // = 2211 - case beheeyemPurified // = 2212 - case litwickNormal // = 2213 - case litwickShadow // = 2214 - case litwickPurified // = 2215 - case lampentNormal // = 2216 - case lampentShadow // = 2217 - case lampentPurified // = 2218 - case chandelureNormal // = 2219 - case chandelureShadow // = 2220 - case chandelurePurified // = 2221 - case axewNormal // = 2222 - case axewShadow // = 2223 - case axewPurified // = 2224 - case fraxureNormal // = 2225 - case fraxureShadow // = 2226 - case fraxurePurified // = 2227 - case haxorusNormal // = 2228 - case haxorusShadow // = 2229 - case haxorusPurified // = 2230 - case cubchooNormal // = 2231 - case cubchooShadow // = 2232 - case cubchooPurified // = 2233 - case bearticNormal // = 2234 - case bearticShadow // = 2235 - case bearticPurified // = 2236 - case cryogonalNormal // = 2237 - case cryogonalShadow // = 2238 - case cryogonalPurified // = 2239 - case shelmetNormal // = 2240 - case shelmetShadow // = 2241 - case shelmetPurified // = 2242 - case accelgorNormal // = 2243 - case accelgorShadow // = 2244 - case accelgorPurified // = 2245 - case stunfiskNormal // = 2246 - case stunfiskShadow // = 2247 - case stunfiskPurified // = 2248 - case mienfooNormal // = 2249 - case mienfooShadow // = 2250 - case mienfooPurified // = 2251 - case mienshaoNormal // = 2252 - case mienshaoShadow // = 2253 - case mienshaoPurified // = 2254 - case druddigonNormal // = 2255 - case druddigonShadow // = 2256 - case druddigonPurified // = 2257 - case golettNormal // = 2258 - case golettShadow // = 2259 - case golettPurified // = 2260 - case golurkNormal // = 2261 - case golurkShadow // = 2262 - case golurkPurified // = 2263 - case pawniardNormal // = 2264 - case pawniardShadow // = 2265 - case pawniardPurified // = 2266 - case bisharpNormal // = 2267 - case bisharpShadow // = 2268 - case bisharpPurified // = 2269 - case bouffalantNormal // = 2270 - case bouffalantShadow // = 2271 - case bouffalantPurified // = 2272 - case ruffletNormal // = 2273 - case ruffletShadow // = 2274 - case ruffletPurified // = 2275 - case braviaryNormal // = 2276 - case braviaryShadow // = 2277 - case braviaryPurified // = 2278 - case vullabyNormal // = 2279 - case vullabyShadow // = 2280 - case vullabyPurified // = 2281 - case mandibuzzNormal // = 2282 - case mandibuzzShadow // = 2283 - case mandibuzzPurified // = 2284 - case heatmorNormal // = 2285 - case heatmorShadow // = 2286 - case heatmorPurified // = 2287 - case durantNormal // = 2288 - case durantShadow // = 2289 - case durantPurified // = 2290 - case deinoNormal // = 2291 - case deinoShadow // = 2292 - case deinoPurified // = 2293 - case zweilousNormal // = 2294 - case zweilousShadow // = 2295 - case zweilousPurified // = 2296 - case hydreigonNormal // = 2297 - case hydreigonShadow // = 2298 - case hydreigonPurified // = 2299 - case larvestaNormal // = 2300 - case larvestaShadow // = 2301 - case larvestaPurified // = 2302 - case volcaronaNormal // = 2303 - case volcaronaShadow // = 2304 - case volcaronaPurified // = 2305 - case cobalionNormal // = 2306 - case cobalionShadow // = 2307 - case cobalionPurified // = 2308 - case terrakionNormal // = 2309 - case terrakionShadow // = 2310 - case terrakionPurified // = 2311 - case virizionNormal // = 2312 - case virizionShadow // = 2313 - case virizionPurified // = 2314 - case reshiramNormal // = 2315 - case reshiramShadow // = 2316 - case reshiramPurified // = 2317 - case zekromNormal // = 2318 - case zekromShadow // = 2319 - case zekromPurified // = 2320 - case meltanNormal // = 2321 - case meltanShadow // = 2322 - case meltanPurified // = 2323 - case melmetalNormal // = 2324 - case melmetalShadow // = 2325 - case melmetalPurified // = 2326 - case wurmpleSpring2020 // = 2327 - case wobbuffetSpring2020 // = 2328 - case raticateSpring2020 // = 2329 - case frillishFemale // = 2330 - case jellicentFemale // = 2331 - case pikachuCostume2020 // = 2332 - case dragoniteCostume2020 // = 2333 - case onixCostume2020 // = 2334 - case meowthGalarian // = 2335 - case ponytaGalarian // = 2336 - case rapidashGalarian // = 2337 - case farfetchdGalarian // = 2338 - case mrMimeGalarian // = 2339 - case corsolaGalarian // = 2340 - case darumakaGalarian // = 2341 - case darmanitanGalarianStandard // = 2342 - case darmanitanGalarianZen // = 2343 - case yamaskGalarian // = 2344 - case stunfiskGalarian // = 2345 - case toxtricityLowKey // = 2463 - case toxtricityAmped // = 2464 - case sinisteaPhony // = 2477 - case sinisteaAntique // = 2478 - case polteageistPhony // = 2480 - case polteageistAntique // = 2481 - case obstagoonNormal // = 2501 - case obstagoonShadow // = 2502 - case obstagoonPurified // = 2503 - case perrserkerNormal // = 2504 - case perrserkerShadow // = 2505 - case perrserkerPurified // = 2506 - case cursolaNormal // = 2507 - case cursolaShadow // = 2508 - case cursolaPurified // = 2509 - case sirfetchdNormal // = 2510 - case sirfetchdShadow // = 2511 - case sirfetchdPurified // = 2512 - case mrRimeNormal // = 2513 - case mrRimeShadow // = 2514 - case mrRimePurified // = 2515 - case runerigusNormal // = 2516 - case runerigusShadow // = 2517 - case runerigusPurified // = 2518 - case eiscueIce // = 2540 - case eiscueNoice // = 2541 - case indeedeeMale // = 2542 - case indeedeeFemale // = 2543 - case morpekoFullBelly // = 2544 - case morpekoHangry // = 2545 - case zacianCrownedSword // = 2576 - case zacianHero // = 2577 - case zamazentaCrownedShield // = 2578 - case zamazentaHero // = 2579 - case eternatusEternamax // = 2580 - case eternatusNormal // = 2581 - case slowpokeGalarian // = 2582 - case slowbroGalarian // = 2583 - case slowkingGalarian // = 2584 - case laprasCostume2020 // = 2585 - case gengarCostume2020 // = 2586 - case pyroarNormal // = 2587 - case pyroarFemale // = 2588 - case meowsticNormal // = 2589 - case meowsticFemale // = 2590 - case zygardeTenPercent // = 2591 - case zygardeFiftyPercent // = 2592 - case zygardeComplete // = 2593 - case vivillonArchipelago // = 2594 - case vivillonContinental // = 2595 - case vivillonElegant // = 2596 - case vivillonFancy // = 2597 - case vivillonGarden // = 2598 - case vivillonHighPlains // = 2599 - case vivillonIcySnow // = 2600 - case vivillonJungle // = 2601 - case vivillonMarine // = 2602 - case vivillonMeadow // = 2603 - case vivillonModern // = 2604 - case vivillonMonsoon // = 2605 - case vivillonOcean // = 2606 - case vivillonPokeball // = 2607 - case vivillonPolar // = 2608 - case vivillonRiver // = 2609 - case vivillonSandstorm // = 2610 - case vivillonSavanna // = 2611 - case vivillonSun // = 2612 - case vivillonTundra // = 2613 - case flabebeRed // = 2614 - case flabebeYellow // = 2615 - case flabebeOrange // = 2616 - case flabebeBlue // = 2617 - case flabebeWhite // = 2618 - case floetteRed // = 2619 - case floetteYellow // = 2620 - case floetteOrange // = 2621 - case floetteBlue // = 2622 - case floetteWhite // = 2623 - case florgesRed // = 2624 - case florgesYellow // = 2625 - case florgesOrange // = 2626 - case florgesBlue // = 2627 - case florgesWhite // = 2628 - case furfrouNatural // = 2629 - case furfrouHeart // = 2630 - case furfrouStar // = 2631 - case furfrouDiamond // = 2632 - case furfrouDebutante // = 2633 - case furfrouMatron // = 2634 - case furfrouDandy // = 2635 - case furfrouLaReine // = 2636 - case furfrouKabuki // = 2637 - case furfrouPharaoh // = 2638 - case aegislashShield // = 2639 - case aegislashBlade // = 2640 - case pumpkabooSmall // = 2641 - case pumpkabooAverage // = 2642 - case pumpkabooLarge // = 2643 - case pumpkabooSuper // = 2644 - case gourgeistSmall // = 2645 - case gourgeistAverage // = 2646 - case gourgeistLarge // = 2647 - case gourgeistSuper // = 2648 - case xerneasNeutral // = 2649 - case xerneasActive // = 2650 - case hoopaConfined // = 2651 - case hoopaUnbound // = 2652 - case sableyeCostume2020Deprecated // = 2666 - case sableyeCostume2020 // = 2668 - case pikachuAdventureHat2020 // = 2669 - case pikachuWinter2020 // = 2670 - case delibirdWinter2020 // = 2671 - case cubchooWinter2020 // = 2672 - case slowpoke2020 // = 2673 - case slowbro2021 // = 2674 - case pikachuKariyushi // = 2675 - case pikachuPopStar // = 2676 - case pikachuRockStar // = 2677 - case pikachuFlying5ThAnniv // = 2678 - case oricorioBaile // = 2679 - case oricorioPompom // = 2680 - case oricorioPau // = 2681 - case oricorioSensu // = 2683 - case lycanrocMidday // = 2684 - case lycanrocMidnight // = 2685 - case lycanrocDusk // = 2686 - case wishiwashiSolo // = 2687 - case wishiwashiSchool // = 2688 - case silvallyNormal // = 2689 - case silvallyBug // = 2690 - case silvallyDark // = 2691 - case silvallyDragon // = 2692 - case silvallyElectric // = 2693 - case silvallyFairy // = 2694 - case silvallyFighting // = 2695 - case silvallyFire // = 2696 - case silvallyFlying // = 2697 - case silvallyGhost // = 2698 - case silvallyGrass // = 2699 - case silvallyGround // = 2700 - case silvallyIce // = 2701 - case silvallyPoison // = 2702 - case silvallyPsychic // = 2703 - case silvallyRock // = 2704 - case silvallySteel // = 2705 - case silvallyWater // = 2706 - case miniorMeteorBlue // = 2707 - case miniorBlue // = 2708 - case miniorGreen // = 2709 - case miniorIndigo // = 2710 - case miniorOrange // = 2711 - case miniorRed // = 2712 - case miniorViolet // = 2713 - case miniorYellow // = 2714 - case mimikyuBusted // = 2715 - case mimikyuDisguised // = 2716 - case necrozmaNormal // = 2717 - case necrozmaDuskMane // = 2718 - case necrozmaDawnWings // = 2719 - case necrozmaUltra // = 2720 - case magearnaNormal // = 2721 - case magearnaOriginalColor // = 2722 - case urshifuSingleStrike // = 2723 - case urshifuRapidStrike // = 2724 - case calyrexNormal // = 2725 - case calyrexIceRider // = 2726 - case calyrexShadowRider // = 2727 - case voltorbHisuian // = 2728 - case lugiaS // = 2729 - case hoOhS // = 2730 - case raikouS // = 2731 - case enteiS // = 2732 - case suicuneS // = 2733 - case slowking2022 // = 2734 - case electrodeHisuian // = 2735 - case pikachuFlyingOkinawa // = 2736 - case rockruffDusk // = 2737 - case miniorMeteorGreen // = 2739 - case miniorMeteorIndigo // = 2740 - case miniorMeteorOrange // = 2741 - case miniorMeteorRed // = 2742 - case miniorMeteorViolet // = 2743 - case miniorMeteorYellow // = 2744 - case scatterbugArchipelago // = 2745 - case scatterbugContinental // = 2746 - case scatterbugElegant // = 2747 - case scatterbugFancy // = 2748 - case scatterbugGarden // = 2749 - case scatterbugHighPlains // = 2750 - case scatterbugIcySnow // = 2751 - case scatterbugJungle // = 2752 - case scatterbugMarine // = 2753 - case scatterbugMeadow // = 2754 - case scatterbugModern // = 2755 - case scatterbugMonsoon // = 2756 - case scatterbugOcean // = 2757 - case scatterbugPokeball // = 2758 - case scatterbugPolar // = 2759 - case scatterbugRiver // = 2760 - case scatterbugSandstorm // = 2761 - case scatterbugSavanna // = 2762 - case scatterbugSun // = 2763 - case scatterbugTundra // = 2764 - case spewpaArchipelago // = 2765 - case spewpaContinental // = 2766 - case spewpaElegant // = 2767 - case spewpaFancy // = 2768 - case spewpaGarden // = 2769 - case spewpaHighPlains // = 2770 - case spewpaIcySnow // = 2771 - case spewpaJungle // = 2772 - case spewpaMarine // = 2773 - case spewpaMeadow // = 2774 - case spewpaModern // = 2775 - case spewpaMonsoon // = 2776 - case spewpaOcean // = 2777 - case spewpaPokeball // = 2778 - case spewpaPolar // = 2779 - case spewpaRiver // = 2780 - case spewpaSandstorm // = 2781 - case spewpaSavanna // = 2782 - case spewpaSun // = 2783 - case spewpaTundra // = 2784 - case decidueyeHisuian // = 2785 - case typhlosionHisuian // = 2786 - case samurottHisuian // = 2787 - case qwilfishHisuian // = 2788 - case lilligantHisuian // = 2789 - case sliggooHisuian // = 2790 - case goodraHisuian // = 2791 - case growlitheHisuian // = 2792 - case arcanineHisuian // = 2793 - case sneaselHisuian // = 2794 - case avaluggHisuian // = 2795 - case zoruaHisuian // = 2796 - case zoroarkHisuian // = 2797 - case braviaryHisuian // = 2798 - case moltresGalarian // = 2799 - case zapdosGalarian // = 2800 - case articunoGalarian // = 2801 - case enamorusIncarnate // = 2802 - case enamorusTherian // = 2803 - case basculinWhiteStriped // = 2804 - case pikachuGofest2022 // = 2805 - case pikachuWcs2022 // = 2806 - case basculegionNormal // = 2807 - case basculegionFemale // = 2808 - case decidueyeNormal // = 2809 - case sliggooNormal // = 2810 - case goodraNormal // = 2811 - case avaluggNormal // = 2812 - case pikachuTshirt01 // = 2813 - case pikachuTshirt02 // = 2814 - case pikachuFlying01 // = 2815 - case pikachuFlying02 // = 2816 - case ursalunaNormal // = 2817 - case ursalunaShadow // = 2818 - case ursalunaPurified // = 2819 - case bearticWinter2020 // = 2820 - case latiasS // = 2821 - case latiosS // = 2822 - case zygardeCompleteTenPercent // = 2823 - case zygardeCompleteFiftyPercent // = 2824 - case oinkologneNormal // = 2981 - case oinkologneFemale // = 2982 - case mausholdFamilyOfThree // = 2983 - case mausholdFamilyOfFour // = 2984 - case squawkabillyGreen // = 2985 - case squawkabillyBlue // = 2986 - case squawkabillyYellow // = 2987 - case squawkabillyWhite // = 2988 - case palafinZero // = 2989 - case palafinHero // = 2990 - case tatsugiriCurly // = 2991 - case tatsugiriDroopy // = 2992 - case tatsugiriStretchy // = 2993 - case dudunsparceTwo // = 2994 - case dudunsparceThree // = 2995 - case koraidonApex // = 2996 - case miraidonUltimate // = 2997 - case gimmighoulNormal // = 2998 - case gholdengoNormal // = 3000 - case aerodactylSummer2023 // = 3001 - case pikachuSummer2023A // = 3002 - case pikachuSummer2023B // = 3003 - case pikachuSummer2023C // = 3004 - case pikachuSummer2023D // = 3005 - case taurosPaldeaCombat // = 3006 - case taurosPaldeaBlaze // = 3007 - case taurosPaldeaAqua // = 3008 - case wooperPaldea // = 3009 - case pikachuSummer2023E // = 3010 - case pikachuFlying03 // = 3011 - case pikachuJeju // = 3012 - case pikachuDoctor // = 3013 - case pikachuWcs2023 // = 3014 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .unownA - case 2: self = .unownB - case 3: self = .unownC - case 4: self = .unownD - case 5: self = .unownE - case 6: self = .unownF - case 7: self = .unownG - case 8: self = .unownH - case 9: self = .unownI - case 10: self = .unownJ - case 11: self = .unownK - case 12: self = .unownL - case 13: self = .unownM - case 14: self = .unownN - case 15: self = .unownO - case 16: self = .unownP - case 17: self = .unownQ - case 18: self = .unownR - case 19: self = .unownS - case 20: self = .unownT - case 21: self = .unownU - case 22: self = .unownV - case 23: self = .unownW - case 24: self = .unownX - case 25: self = .unownY - case 26: self = .unownZ - case 27: self = .unownExclamationPoint - case 28: self = .unownQuestionMark - case 29: self = .castformNormal - case 30: self = .castformSunny - case 31: self = .castformRainy - case 32: self = .castformSnowy - case 33: self = .deoxysNormal - case 34: self = .deoxysAttack - case 35: self = .deoxysDefense - case 36: self = .deoxysSpeed - case 37: self = .spinda00 - case 38: self = .spinda01 - case 39: self = .spinda02 - case 40: self = .spinda03 - case 41: self = .spinda04 - case 42: self = .spinda05 - case 43: self = .spinda06 - case 44: self = .spinda07 - case 45: self = .rattataNormal - case 46: self = .rattataAlola - case 47: self = .raticateNormal - case 48: self = .raticateAlola - case 49: self = .raichuNormal - case 50: self = .raichuAlola - case 51: self = .sandshrewNormal - case 52: self = .sandshrewAlola - case 53: self = .sandslashNormal - case 54: self = .sandslashAlola - case 55: self = .vulpixNormal - case 56: self = .vulpixAlola - case 57: self = .ninetalesNormal - case 58: self = .ninetalesAlola - case 59: self = .diglettNormal - case 60: self = .diglettAlola - case 61: self = .dugtrioNormal - case 62: self = .dugtrioAlola - case 63: self = .meowthNormal - case 64: self = .meowthAlola - case 65: self = .persianNormal - case 66: self = .persianAlola - case 67: self = .geodudeNormal - case 68: self = .geodudeAlola - case 69: self = .gravelerNormal - case 70: self = .gravelerAlola - case 71: self = .golemNormal - case 72: self = .golemAlola - case 73: self = .grimerNormal - case 74: self = .grimerAlola - case 75: self = .mukNormal - case 76: self = .mukAlola - case 77: self = .exeggutorNormal - case 78: self = .exeggutorAlola - case 79: self = .marowakNormal - case 80: self = .marowakAlola - case 81: self = .rotomNormal - case 82: self = .rotomFrost - case 83: self = .rotomFan - case 84: self = .rotomMow - case 85: self = .rotomWash - case 86: self = .rotomHeat - case 87: self = .wormadamPlant - case 88: self = .wormadamSandy - case 89: self = .wormadamTrash - case 90: self = .giratinaAltered - case 91: self = .giratinaOrigin - case 92: self = .shayminSky - case 93: self = .shayminLand - case 94: self = .cherrimOvercast - case 95: self = .cherrimSunny - case 96: self = .shellosWestSea - case 97: self = .shellosEastSea - case 98: self = .gastrodonWestSea - case 99: self = .gastrodonEastSea - case 100: self = .arceusNormal - case 101: self = .arceusFighting - case 102: self = .arceusFlying - case 103: self = .arceusPoison - case 104: self = .arceusGround - case 105: self = .arceusRock - case 106: self = .arceusBug - case 107: self = .arceusGhost - case 108: self = .arceusSteel - case 109: self = .arceusFire - case 110: self = .arceusWater - case 111: self = .arceusGrass - case 112: self = .arceusElectric - case 113: self = .arceusPsychic - case 114: self = .arceusIce - case 115: self = .arceusDragon - case 116: self = .arceusDark - case 117: self = .arceusFairy - case 118: self = .burmyPlant - case 119: self = .burmySandy - case 120: self = .burmyTrash - case 121: self = .spinda08 - case 122: self = .spinda09 - case 123: self = .spinda10 - case 124: self = .spinda11 - case 125: self = .spinda12 - case 126: self = .spinda13 - case 127: self = .spinda14 - case 128: self = .spinda15 - case 129: self = .spinda16 - case 130: self = .spinda17 - case 131: self = .spinda18 - case 132: self = .spinda19 - case 133: self = .mewtwoA - case 135: self = .mewtwoNormal - case 136: self = .basculinRedStriped - case 137: self = .basculinBlueStriped - case 138: self = .darmanitanStandard - case 139: self = .darmanitanZen - case 140: self = .tornadusIncarnate - case 141: self = .tornadusTherian - case 142: self = .thundurusIncarnate - case 143: self = .thundurusTherian - case 144: self = .landorusIncarnate - case 145: self = .landorusTherian - case 146: self = .kyuremNormal - case 147: self = .kyuremBlack - case 148: self = .kyuremWhite - case 149: self = .keldeoOrdinary - case 150: self = .keldeoResolute - case 151: self = .meloettaAria - case 152: self = .meloettaPirouette - case 153: self = .rattataShadow - case 154: self = .rattataPurified - case 155: self = .raticateShadow - case 156: self = .raticatePurified - case 157: self = .zubatNormal - case 158: self = .zubatShadow - case 159: self = .zubatPurified - case 160: self = .golbatNormal - case 161: self = .golbatShadow - case 162: self = .golbatPurified - case 163: self = .bulbasaurNormal - case 164: self = .bulbasaurShadow - case 165: self = .bulbasaurPurified - case 166: self = .ivysaurNormal - case 167: self = .ivysaurShadow - case 168: self = .ivysaurPurified - case 169: self = .venusaurNormal - case 170: self = .venusaurShadow - case 171: self = .venusaurPurified - case 172: self = .charmanderNormal - case 173: self = .charmanderShadow - case 174: self = .charmanderPurified - case 175: self = .charmeleonNormal - case 176: self = .charmeleonShadow - case 177: self = .charmeleonPurified - case 178: self = .charizardNormal - case 179: self = .charizardShadow - case 180: self = .charizardPurified - case 181: self = .squirtleNormal - case 182: self = .squirtleShadow - case 183: self = .squirtlePurified - case 184: self = .wartortleNormal - case 185: self = .wartortleShadow - case 186: self = .wartortlePurified - case 187: self = .blastoiseNormal - case 188: self = .blastoiseShadow - case 189: self = .blastoisePurified - case 190: self = .dratiniNormal - case 191: self = .dratiniShadow - case 192: self = .dratiniPurified - case 193: self = .dragonairNormal - case 194: self = .dragonairShadow - case 195: self = .dragonairPurified - case 196: self = .dragoniteNormal - case 197: self = .dragoniteShadow - case 198: self = .dragonitePurified - case 199: self = .snorlaxNormal - case 200: self = .snorlaxShadow - case 201: self = .snorlaxPurified - case 202: self = .crobatNormal - case 203: self = .crobatShadow - case 204: self = .crobatPurified - case 205: self = .mudkipNormal - case 206: self = .mudkipShadow - case 207: self = .mudkipPurified - case 208: self = .marshtompNormal - case 209: self = .marshtompShadow - case 210: self = .marshtompPurified - case 211: self = .swampertNormal - case 212: self = .swampertShadow - case 213: self = .swampertPurified - case 214: self = .drowzeeNormal - case 215: self = .drowzeeShadow - case 216: self = .drowzeePurified - case 217: self = .hypnoNormal - case 218: self = .hypnoShadow - case 219: self = .hypnoPurified - case 220: self = .grimerShadow - case 221: self = .grimerPurified - case 222: self = .mukShadow - case 223: self = .mukPurified - case 224: self = .cuboneNormal - case 225: self = .cuboneShadow - case 226: self = .cubonePurified - case 227: self = .marowakShadow - case 228: self = .marowakPurified - case 229: self = .houndourNormal - case 230: self = .houndourShadow - case 231: self = .houndourPurified - case 232: self = .houndoomNormal - case 233: self = .houndoomShadow - case 234: self = .houndoomPurified - case 235: self = .poliwagNormal - case 236: self = .poliwagShadow - case 237: self = .poliwagPurified - case 238: self = .poliwhirlNormal - case 239: self = .poliwhirlShadow - case 240: self = .poliwhirlPurified - case 241: self = .poliwrathNormal - case 242: self = .poliwrathShadow - case 243: self = .poliwrathPurified - case 244: self = .politoedNormal - case 245: self = .politoedShadow - case 246: self = .politoedPurified - case 247: self = .scytherNormal - case 248: self = .scytherShadow - case 249: self = .scytherPurified - case 250: self = .scizorNormal - case 251: self = .scizorShadow - case 252: self = .scizorPurified - case 253: self = .magikarpNormal - case 254: self = .magikarpShadow - case 255: self = .magikarpPurified - case 256: self = .gyaradosNormal - case 257: self = .gyaradosShadow - case 258: self = .gyaradosPurified - case 259: self = .venonatNormal - case 260: self = .venonatShadow - case 261: self = .venonatPurified - case 262: self = .venomothNormal - case 263: self = .venomothShadow - case 264: self = .venomothPurified - case 265: self = .oddishNormal - case 266: self = .oddishShadow - case 267: self = .oddishPurified - case 268: self = .gloomNormal - case 269: self = .gloomShadow - case 270: self = .gloomPurified - case 271: self = .vileplumeNormal - case 272: self = .vileplumeShadow - case 273: self = .vileplumePurified - case 274: self = .bellossomNormal - case 275: self = .bellossomShadow - case 276: self = .bellossomPurified - case 277: self = .hitmonchanNormal - case 278: self = .hitmonchanShadow - case 279: self = .hitmonchanPurified - case 280: self = .growlitheNormal - case 281: self = .growlitheShadow - case 282: self = .growlithePurified - case 283: self = .arcanineNormal - case 284: self = .arcanineShadow - case 285: self = .arcaninePurified - case 286: self = .psyduckNormal - case 287: self = .psyduckShadow - case 288: self = .psyduckPurified - case 289: self = .golduckNormal - case 290: self = .golduckShadow - case 291: self = .golduckPurified - case 292: self = .raltsNormal - case 293: self = .raltsShadow - case 294: self = .raltsPurified - case 295: self = .kirliaNormal - case 296: self = .kirliaShadow - case 297: self = .kirliaPurified - case 298: self = .gardevoirNormal - case 299: self = .gardevoirShadow - case 300: self = .gardevoirPurified - case 301: self = .galladeNormal - case 302: self = .galladeShadow - case 303: self = .galladePurified - case 304: self = .abraNormal - case 305: self = .abraShadow - case 306: self = .abraPurified - case 307: self = .kadabraNormal - case 308: self = .kadabraShadow - case 309: self = .kadabraPurified - case 310: self = .alakazamNormal - case 311: self = .alakazamShadow - case 312: self = .alakazamPurified - case 313: self = .larvitarNormal - case 314: self = .larvitarShadow - case 315: self = .larvitarPurified - case 316: self = .pupitarNormal - case 317: self = .pupitarShadow - case 318: self = .pupitarPurified - case 319: self = .tyranitarNormal - case 320: self = .tyranitarShadow - case 321: self = .tyranitarPurified - case 322: self = .laprasNormal - case 323: self = .laprasShadow - case 324: self = .laprasPurified - case 585: self = .deerlingSpring - case 586: self = .deerlingSummer - case 587: self = .deerlingAutumn - case 588: self = .deerlingWinter - case 589: self = .sawsbuckSpring - case 590: self = .sawsbuckSummer - case 591: self = .sawsbuckAutumn - case 592: self = .sawsbuckWinter - case 593: self = .genesectNormal - case 594: self = .genesectShock - case 595: self = .genesectBurn - case 596: self = .genesectChill - case 597: self = .genesectDouse - case 598: self = .pikachuNormal - case 600: self = .wurmpleNormal - case 602: self = .wobbuffetNormal - case 610: self = .cacneaNormal - case 611: self = .cacneaShadow - case 612: self = .cacneaPurified - case 613: self = .cacturneNormal - case 614: self = .cacturneShadow - case 615: self = .cacturnePurified - case 616: self = .weedleNormal - case 617: self = .weedleShadow - case 618: self = .weedlePurified - case 619: self = .kakunaNormal - case 620: self = .kakunaShadow - case 621: self = .kakunaPurified - case 622: self = .beedrillNormal - case 623: self = .beedrillShadow - case 624: self = .beedrillPurified - case 625: self = .seedotNormal - case 626: self = .seedotShadow - case 627: self = .seedotPurified - case 628: self = .nuzleafNormal - case 629: self = .nuzleafShadow - case 630: self = .nuzleafPurified - case 631: self = .shiftryNormal - case 632: self = .shiftryShadow - case 633: self = .shiftryPurified - case 634: self = .magmarNormal - case 635: self = .magmarShadow - case 636: self = .magmarPurified - case 637: self = .magmortarNormal - case 638: self = .magmortarShadow - case 639: self = .magmortarPurified - case 640: self = .electabuzzNormal - case 641: self = .electabuzzShadow - case 642: self = .electabuzzPurified - case 643: self = .electivireNormal - case 644: self = .electivireShadow - case 645: self = .electivirePurified - case 646: self = .mareepNormal - case 647: self = .mareepShadow - case 648: self = .mareepPurified - case 649: self = .flaaffyNormal - case 650: self = .flaaffyShadow - case 651: self = .flaaffyPurified - case 652: self = .ampharosNormal - case 653: self = .ampharosShadow - case 654: self = .ampharosPurified - case 655: self = .magnemiteNormal - case 656: self = .magnemiteShadow - case 657: self = .magnemitePurified - case 658: self = .magnetonNormal - case 659: self = .magnetonShadow - case 660: self = .magnetonPurified - case 661: self = .magnezoneNormal - case 662: self = .magnezoneShadow - case 663: self = .magnezonePurified - case 664: self = .bellsproutNormal - case 665: self = .bellsproutShadow - case 666: self = .bellsproutPurified - case 667: self = .weepinbellNormal - case 668: self = .weepinbellShadow - case 669: self = .weepinbellPurified - case 670: self = .victreebelNormal - case 671: self = .victreebelShadow - case 672: self = .victreebelPurified - case 673: self = .sandshrewShadow - case 674: self = .sandshrewPurified - case 675: self = .sandslashShadow - case 676: self = .sandslashPurified - case 677: self = .porygonNormal - case 678: self = .porygonShadow - case 679: self = .porygonPurified - case 680: self = .porygon2Normal - case 681: self = .porygon2Shadow - case 682: self = .porygon2Purified - case 683: self = .porygonZNormal - case 684: self = .porygonZShadow - case 685: self = .porygonZPurified - case 686: self = .wobbuffetShadow - case 687: self = .wobbuffetPurified - case 688: self = .turtwigNormal - case 689: self = .turtwigShadow - case 690: self = .turtwigPurified - case 691: self = .grotleNormal - case 692: self = .grotleShadow - case 693: self = .grotlePurified - case 694: self = .torterraNormal - case 695: self = .torterraShadow - case 696: self = .torterraPurified - case 697: self = .ekansNormal - case 698: self = .ekansShadow - case 699: self = .ekansPurified - case 700: self = .arbokNormal - case 701: self = .arbokShadow - case 702: self = .arbokPurified - case 703: self = .koffingNormal - case 704: self = .koffingShadow - case 705: self = .koffingPurified - case 706: self = .weezingNormal - case 707: self = .weezingShadow - case 708: self = .weezingPurified - case 709: self = .meowthShadow - case 710: self = .meowthPurified - case 711: self = .persianShadow - case 712: self = .persianPurified - case 713: self = .hitmonleeNormal - case 714: self = .hitmonleeShadow - case 715: self = .hitmonleePurified - case 716: self = .articunoNormal - case 717: self = .articunoShadow - case 718: self = .articunoPurified - case 719: self = .misdreavusNormal - case 720: self = .misdreavusShadow - case 721: self = .misdreavusPurified - case 722: self = .mismagiusNormal - case 723: self = .mismagiusShadow - case 724: self = .mismagiusPurified - case 725: self = .vulpixShadow - case 726: self = .vulpixPurified - case 727: self = .ninetalesShadow - case 728: self = .ninetalesPurified - case 729: self = .exeggcuteNormal - case 730: self = .exeggcuteShadow - case 731: self = .exeggcutePurified - case 732: self = .exeggutorShadow - case 733: self = .exeggutorPurified - case 734: self = .carvanhaNormal - case 735: self = .carvanhaShadow - case 736: self = .carvanhaPurified - case 737: self = .sharpedoNormal - case 738: self = .sharpedoShadow - case 739: self = .sharpedoPurified - case 740: self = .omanyteNormal - case 741: self = .omanyteShadow - case 742: self = .omanytePurified - case 743: self = .omastarNormal - case 744: self = .omastarShadow - case 745: self = .omastarPurified - case 746: self = .trapinchNormal - case 747: self = .trapinchShadow - case 748: self = .trapinchPurified - case 749: self = .vibravaNormal - case 750: self = .vibravaShadow - case 751: self = .vibravaPurified - case 752: self = .flygonNormal - case 753: self = .flygonShadow - case 754: self = .flygonPurified - case 755: self = .bagonNormal - case 756: self = .bagonShadow - case 757: self = .bagonPurified - case 758: self = .shelgonNormal - case 759: self = .shelgonShadow - case 760: self = .shelgonPurified - case 761: self = .salamenceNormal - case 762: self = .salamenceShadow - case 763: self = .salamencePurified - case 764: self = .beldumNormal - case 765: self = .beldumShadow - case 766: self = .beldumPurified - case 767: self = .metangNormal - case 768: self = .metangShadow - case 769: self = .metangPurified - case 770: self = .metagrossNormal - case 771: self = .metagrossShadow - case 772: self = .metagrossPurified - case 773: self = .zapdosNormal - case 774: self = .zapdosShadow - case 775: self = .zapdosPurified - case 776: self = .nidoranNormal - case 777: self = .nidoranShadow - case 778: self = .nidoranPurified - case 779: self = .nidorinaNormal - case 780: self = .nidorinaShadow - case 781: self = .nidorinaPurified - case 782: self = .nidoqueenNormal - case 783: self = .nidoqueenShadow - case 784: self = .nidoqueenPurified - case 785: self = .nidorinoNormal - case 786: self = .nidorinoShadow - case 787: self = .nidorinoPurified - case 788: self = .nidokingNormal - case 789: self = .nidokingShadow - case 790: self = .nidokingPurified - case 791: self = .stunkyNormal - case 792: self = .stunkyShadow - case 793: self = .stunkyPurified - case 794: self = .skuntankNormal - case 795: self = .skuntankShadow - case 796: self = .skuntankPurified - case 797: self = .sneaselNormal - case 798: self = .sneaselShadow - case 799: self = .sneaselPurified - case 800: self = .weavileNormal - case 801: self = .weavileShadow - case 802: self = .weavilePurified - case 803: self = .gligarNormal - case 804: self = .gligarShadow - case 805: self = .gligarPurified - case 806: self = .gliscorNormal - case 807: self = .gliscorShadow - case 808: self = .gliscorPurified - case 809: self = .machopNormal - case 810: self = .machopShadow - case 811: self = .machopPurified - case 812: self = .machokeNormal - case 813: self = .machokeShadow - case 814: self = .machokePurified - case 815: self = .machampNormal - case 816: self = .machampShadow - case 817: self = .machampPurified - case 818: self = .chimcharNormal - case 819: self = .chimcharShadow - case 820: self = .chimcharPurified - case 821: self = .monfernoNormal - case 822: self = .monfernoShadow - case 823: self = .monfernoPurified - case 824: self = .infernapeNormal - case 825: self = .infernapeShadow - case 826: self = .infernapePurified - case 827: self = .shuckleNormal - case 828: self = .shuckleShadow - case 829: self = .shucklePurified - case 830: self = .absolNormal - case 831: self = .absolShadow - case 832: self = .absolPurified - case 833: self = .mawileNormal - case 834: self = .mawileShadow - case 835: self = .mawilePurified - case 836: self = .moltresNormal - case 837: self = .moltresShadow - case 838: self = .moltresPurified - case 839: self = .kangaskhanNormal - case 840: self = .kangaskhanShadow - case 841: self = .kangaskhanPurified - case 842: self = .diglettShadow - case 843: self = .diglettPurified - case 844: self = .dugtrioShadow - case 845: self = .dugtrioPurified - case 846: self = .rhyhornNormal - case 847: self = .rhyhornShadow - case 848: self = .rhyhornPurified - case 849: self = .rhydonNormal - case 850: self = .rhydonShadow - case 851: self = .rhydonPurified - case 852: self = .rhyperiorNormal - case 853: self = .rhyperiorShadow - case 854: self = .rhyperiorPurified - case 855: self = .murkrowNormal - case 856: self = .murkrowShadow - case 857: self = .murkrowPurified - case 858: self = .honchkrowNormal - case 859: self = .honchkrowShadow - case 860: self = .honchkrowPurified - case 861: self = .gibleNormal - case 862: self = .gibleShadow - case 863: self = .giblePurified - case 864: self = .gabiteNormal - case 865: self = .gabiteShadow - case 866: self = .gabitePurified - case 867: self = .garchompNormal - case 868: self = .garchompShadow - case 869: self = .garchompPurified - case 870: self = .krabbyNormal - case 871: self = .krabbyShadow - case 872: self = .krabbyPurified - case 873: self = .kinglerNormal - case 874: self = .kinglerShadow - case 875: self = .kinglerPurified - case 876: self = .shellderNormal - case 877: self = .shellderShadow - case 878: self = .shellderPurified - case 879: self = .cloysterNormal - case 880: self = .cloysterShadow - case 881: self = .cloysterPurified - case 882: self = .geodudeShadow - case 883: self = .geodudePurified - case 884: self = .gravelerShadow - case 885: self = .gravelerPurified - case 886: self = .golemShadow - case 887: self = .golemPurified - case 888: self = .hippopotasNormal - case 889: self = .hippopotasShadow - case 890: self = .hippopotasPurified - case 891: self = .hippowdonNormal - case 892: self = .hippowdonShadow - case 893: self = .hippowdonPurified - case 894: self = .pikachuFall2019 - case 895: self = .squirtleFall2019 - case 896: self = .charmanderFall2019 - case 897: self = .bulbasaurFall2019 - case 898: self = .pinsirNormal - case 899: self = .pinsirShadow - case 900: self = .pinsirPurified - case 901: self = .pikachuVs2019 - case 902: self = .onixNormal - case 903: self = .onixShadow - case 904: self = .onixPurified - case 905: self = .steelixNormal - case 906: self = .steelixShadow - case 907: self = .steelixPurified - case 908: self = .shuppetNormal - case 909: self = .shuppetShadow - case 910: self = .shuppetPurified - case 911: self = .banetteNormal - case 912: self = .banetteShadow - case 913: self = .banettePurified - case 914: self = .duskullNormal - case 915: self = .duskullShadow - case 916: self = .duskullPurified - case 917: self = .dusclopsNormal - case 918: self = .dusclopsShadow - case 919: self = .dusclopsPurified - case 920: self = .dusknoirNormal - case 921: self = .dusknoirShadow - case 922: self = .dusknoirPurified - case 923: self = .sableyeNormal - case 924: self = .sableyeShadow - case 925: self = .sableyePurified - case 926: self = .snoruntNormal - case 927: self = .snoruntShadow - case 928: self = .snoruntPurified - case 929: self = .glalieNormal - case 930: self = .glalieShadow - case 931: self = .glaliePurified - case 932: self = .snoverNormal - case 933: self = .snoverShadow - case 934: self = .snoverPurified - case 935: self = .abomasnowNormal - case 936: self = .abomasnowShadow - case 937: self = .abomasnowPurified - case 938: self = .delibirdNormal - case 939: self = .delibirdShadow - case 940: self = .delibirdPurified - case 941: self = .stantlerNormal - case 942: self = .stantlerShadow - case 943: self = .stantlerPurified - case 944: self = .weezingGalarian - case 945: self = .zigzagoonNormal - case 946: self = .zigzagoonGalarian - case 947: self = .linooneNormal - case 948: self = .linooneGalarian - case 949: self = .pikachuCopy2019 - case 950: self = .venusaurCopy2019 - case 951: self = .charizardCopy2019 - case 952: self = .blastoiseCopy2019 - case 953: self = .caterpieNormal - case 954: self = .caterpieShadow - case 955: self = .caterpiePurified - case 956: self = .metapodNormal - case 957: self = .metapodShadow - case 958: self = .metapodPurified - case 959: self = .butterfreeNormal - case 960: self = .butterfreeShadow - case 961: self = .butterfreePurified - case 962: self = .pidgeyNormal - case 963: self = .pidgeyShadow - case 964: self = .pidgeyPurified - case 965: self = .pidgeottoNormal - case 966: self = .pidgeottoShadow - case 967: self = .pidgeottoPurified - case 968: self = .pidgeotNormal - case 969: self = .pidgeotShadow - case 970: self = .pidgeotPurified - case 971: self = .spearowNormal - case 972: self = .spearowShadow - case 973: self = .spearowPurified - case 974: self = .fearowNormal - case 975: self = .fearowShadow - case 976: self = .fearowPurified - case 977: self = .pikachuShadow - case 978: self = .pikachuPurified - case 979: self = .raichuShadow - case 980: self = .raichuPurified - case 981: self = .clefairyNormal - case 982: self = .clefairyShadow - case 983: self = .clefairyPurified - case 984: self = .clefableNormal - case 985: self = .clefableShadow - case 986: self = .clefablePurified - case 987: self = .jigglypuffNormal - case 988: self = .jigglypuffShadow - case 989: self = .jigglypuffPurified - case 990: self = .wigglytuffNormal - case 991: self = .wigglytuffShadow - case 992: self = .wigglytuffPurified - case 993: self = .parasNormal - case 994: self = .parasShadow - case 995: self = .parasPurified - case 996: self = .parasectNormal - case 997: self = .parasectShadow - case 998: self = .parasectPurified - case 999: self = .mankeyNormal - case 1000: self = .mankeyShadow - case 1001: self = .mankeyPurified - case 1002: self = .primeapeNormal - case 1003: self = .primeapeShadow - case 1004: self = .primeapePurified - case 1005: self = .tentacoolNormal - case 1006: self = .tentacoolShadow - case 1007: self = .tentacoolPurified - case 1008: self = .tentacruelNormal - case 1009: self = .tentacruelShadow - case 1010: self = .tentacruelPurified - case 1011: self = .ponytaNormal - case 1012: self = .ponytaShadow - case 1013: self = .ponytaPurified - case 1014: self = .rapidashNormal - case 1015: self = .rapidashShadow - case 1016: self = .rapidashPurified - case 1017: self = .slowpokeNormal - case 1018: self = .slowpokeShadow - case 1019: self = .slowpokePurified - case 1020: self = .slowbroNormal - case 1021: self = .slowbroShadow - case 1022: self = .slowbroPurified - case 1023: self = .farfetchdNormal - case 1024: self = .farfetchdShadow - case 1025: self = .farfetchdPurified - case 1026: self = .doduoNormal - case 1027: self = .doduoShadow - case 1028: self = .doduoPurified - case 1029: self = .dodrioNormal - case 1030: self = .dodrioShadow - case 1031: self = .dodrioPurified - case 1032: self = .seelNormal - case 1033: self = .seelShadow - case 1034: self = .seelPurified - case 1035: self = .dewgongNormal - case 1036: self = .dewgongShadow - case 1037: self = .dewgongPurified - case 1038: self = .gastlyNormal - case 1039: self = .gastlyShadow - case 1040: self = .gastlyPurified - case 1041: self = .haunterNormal - case 1042: self = .haunterShadow - case 1043: self = .haunterPurified - case 1044: self = .gengarNormal - case 1045: self = .gengarShadow - case 1046: self = .gengarPurified - case 1047: self = .voltorbNormal - case 1048: self = .voltorbShadow - case 1049: self = .voltorbPurified - case 1050: self = .electrodeNormal - case 1051: self = .electrodeShadow - case 1052: self = .electrodePurified - case 1053: self = .lickitungNormal - case 1054: self = .lickitungShadow - case 1055: self = .lickitungPurified - case 1056: self = .chanseyNormal - case 1057: self = .chanseyShadow - case 1058: self = .chanseyPurified - case 1059: self = .tangelaNormal - case 1060: self = .tangelaShadow - case 1061: self = .tangelaPurified - case 1062: self = .horseaNormal - case 1063: self = .horseaShadow - case 1064: self = .horseaPurified - case 1065: self = .seadraNormal - case 1066: self = .seadraShadow - case 1067: self = .seadraPurified - case 1068: self = .goldeenNormal - case 1069: self = .goldeenShadow - case 1070: self = .goldeenPurified - case 1071: self = .seakingNormal - case 1072: self = .seakingShadow - case 1073: self = .seakingPurified - case 1074: self = .staryuNormal - case 1075: self = .staryuShadow - case 1076: self = .staryuPurified - case 1077: self = .starmieNormal - case 1078: self = .starmieShadow - case 1079: self = .starmiePurified - case 1080: self = .mrMimeNormal - case 1081: self = .mrMimeShadow - case 1082: self = .mrMimePurified - case 1083: self = .jynxNormal - case 1084: self = .jynxShadow - case 1085: self = .jynxPurified - case 1086: self = .taurosNormal - case 1087: self = .taurosShadow - case 1088: self = .taurosPurified - case 1089: self = .dittoNormal - case 1090: self = .dittoShadow - case 1091: self = .dittoPurified - case 1092: self = .eeveeNormal - case 1093: self = .eeveeShadow - case 1094: self = .eeveePurified - case 1095: self = .vaporeonNormal - case 1096: self = .vaporeonShadow - case 1097: self = .vaporeonPurified - case 1098: self = .jolteonNormal - case 1099: self = .jolteonShadow - case 1100: self = .jolteonPurified - case 1101: self = .flareonNormal - case 1102: self = .flareonShadow - case 1103: self = .flareonPurified - case 1104: self = .kabutoNormal - case 1105: self = .kabutoShadow - case 1106: self = .kabutoPurified - case 1107: self = .kabutopsNormal - case 1108: self = .kabutopsShadow - case 1109: self = .kabutopsPurified - case 1110: self = .aerodactylNormal - case 1111: self = .aerodactylShadow - case 1112: self = .aerodactylPurified - case 1113: self = .mewtwoShadow - case 1114: self = .mewtwoPurified - case 1115: self = .mewNormal - case 1116: self = .mewShadow - case 1117: self = .mewPurified - case 1118: self = .chikoritaNormal - case 1119: self = .chikoritaShadow - case 1120: self = .chikoritaPurified - case 1121: self = .bayleefNormal - case 1122: self = .bayleefShadow - case 1123: self = .bayleefPurified - case 1124: self = .meganiumNormal - case 1125: self = .meganiumShadow - case 1126: self = .meganiumPurified - case 1127: self = .cyndaquilNormal - case 1128: self = .cyndaquilShadow - case 1129: self = .cyndaquilPurified - case 1130: self = .quilavaNormal - case 1131: self = .quilavaShadow - case 1132: self = .quilavaPurified - case 1133: self = .typhlosionNormal - case 1134: self = .typhlosionShadow - case 1135: self = .typhlosionPurified - case 1136: self = .totodileNormal - case 1137: self = .totodileShadow - case 1138: self = .totodilePurified - case 1139: self = .croconawNormal - case 1140: self = .croconawShadow - case 1141: self = .croconawPurified - case 1142: self = .feraligatrNormal - case 1143: self = .feraligatrShadow - case 1144: self = .feraligatrPurified - case 1145: self = .sentretNormal - case 1146: self = .sentretShadow - case 1147: self = .sentretPurified - case 1148: self = .furretNormal - case 1149: self = .furretShadow - case 1150: self = .furretPurified - case 1151: self = .hoothootNormal - case 1152: self = .hoothootShadow - case 1153: self = .hoothootPurified - case 1154: self = .noctowlNormal - case 1155: self = .noctowlShadow - case 1156: self = .noctowlPurified - case 1157: self = .ledybaNormal - case 1158: self = .ledybaShadow - case 1159: self = .ledybaPurified - case 1160: self = .ledianNormal - case 1161: self = .ledianShadow - case 1162: self = .ledianPurified - case 1163: self = .spinarakNormal - case 1164: self = .spinarakShadow - case 1165: self = .spinarakPurified - case 1166: self = .ariadosNormal - case 1167: self = .ariadosShadow - case 1168: self = .ariadosPurified - case 1169: self = .chinchouNormal - case 1170: self = .chinchouShadow - case 1171: self = .chinchouPurified - case 1172: self = .lanturnNormal - case 1173: self = .lanturnShadow - case 1174: self = .lanturnPurified - case 1175: self = .pichuNormal - case 1176: self = .pichuShadow - case 1177: self = .pichuPurified - case 1178: self = .cleffaNormal - case 1179: self = .cleffaShadow - case 1180: self = .cleffaPurified - case 1181: self = .igglybuffNormal - case 1182: self = .igglybuffShadow - case 1183: self = .igglybuffPurified - case 1184: self = .togepiNormal - case 1185: self = .togepiShadow - case 1186: self = .togepiPurified - case 1187: self = .togeticNormal - case 1188: self = .togeticShadow - case 1189: self = .togeticPurified - case 1190: self = .natuNormal - case 1191: self = .natuShadow - case 1192: self = .natuPurified - case 1193: self = .xatuNormal - case 1194: self = .xatuShadow - case 1195: self = .xatuPurified - case 1196: self = .marillNormal - case 1197: self = .marillShadow - case 1198: self = .marillPurified - case 1199: self = .azumarillNormal - case 1200: self = .azumarillShadow - case 1201: self = .azumarillPurified - case 1202: self = .sudowoodoNormal - case 1203: self = .sudowoodoShadow - case 1204: self = .sudowoodoPurified - case 1205: self = .hoppipNormal - case 1206: self = .hoppipShadow - case 1207: self = .hoppipPurified - case 1208: self = .skiploomNormal - case 1209: self = .skiploomShadow - case 1210: self = .skiploomPurified - case 1211: self = .jumpluffNormal - case 1212: self = .jumpluffShadow - case 1213: self = .jumpluffPurified - case 1214: self = .aipomNormal - case 1215: self = .aipomShadow - case 1216: self = .aipomPurified - case 1217: self = .sunkernNormal - case 1218: self = .sunkernShadow - case 1219: self = .sunkernPurified - case 1220: self = .sunfloraNormal - case 1221: self = .sunfloraShadow - case 1222: self = .sunfloraPurified - case 1223: self = .yanmaNormal - case 1224: self = .yanmaShadow - case 1225: self = .yanmaPurified - case 1226: self = .wooperNormal - case 1227: self = .wooperShadow - case 1228: self = .wooperPurified - case 1229: self = .quagsireNormal - case 1230: self = .quagsireShadow - case 1231: self = .quagsirePurified - case 1232: self = .espeonNormal - case 1233: self = .espeonShadow - case 1234: self = .espeonPurified - case 1235: self = .umbreonNormal - case 1236: self = .umbreonShadow - case 1237: self = .umbreonPurified - case 1238: self = .slowkingNormal - case 1239: self = .slowkingShadow - case 1240: self = .slowkingPurified - case 1241: self = .girafarigNormal - case 1242: self = .girafarigShadow - case 1243: self = .girafarigPurified - case 1244: self = .pinecoNormal - case 1245: self = .pinecoShadow - case 1246: self = .pinecoPurified - case 1247: self = .forretressNormal - case 1248: self = .forretressShadow - case 1249: self = .forretressPurified - case 1250: self = .dunsparceNormal - case 1251: self = .dunsparceShadow - case 1252: self = .dunsparcePurified - case 1253: self = .snubbullNormal - case 1254: self = .snubbullShadow - case 1255: self = .snubbullPurified - case 1256: self = .granbullNormal - case 1257: self = .granbullShadow - case 1258: self = .granbullPurified - case 1259: self = .qwilfishNormal - case 1260: self = .qwilfishShadow - case 1261: self = .qwilfishPurified - case 1262: self = .heracrossNormal - case 1263: self = .heracrossShadow - case 1264: self = .heracrossPurified - case 1265: self = .teddiursaNormal - case 1266: self = .teddiursaShadow - case 1267: self = .teddiursaPurified - case 1268: self = .ursaringNormal - case 1269: self = .ursaringShadow - case 1270: self = .ursaringPurified - case 1271: self = .slugmaNormal - case 1272: self = .slugmaShadow - case 1273: self = .slugmaPurified - case 1274: self = .magcargoNormal - case 1275: self = .magcargoShadow - case 1276: self = .magcargoPurified - case 1277: self = .swinubNormal - case 1278: self = .swinubShadow - case 1279: self = .swinubPurified - case 1280: self = .piloswineNormal - case 1281: self = .piloswineShadow - case 1282: self = .piloswinePurified - case 1283: self = .corsolaNormal - case 1284: self = .corsolaShadow - case 1285: self = .corsolaPurified - case 1286: self = .remoraidNormal - case 1287: self = .remoraidShadow - case 1288: self = .remoraidPurified - case 1289: self = .octilleryNormal - case 1290: self = .octilleryShadow - case 1291: self = .octilleryPurified - case 1292: self = .mantineNormal - case 1293: self = .mantineShadow - case 1294: self = .mantinePurified - case 1295: self = .skarmoryNormal - case 1296: self = .skarmoryShadow - case 1297: self = .skarmoryPurified - case 1298: self = .kingdraNormal - case 1299: self = .kingdraShadow - case 1300: self = .kingdraPurified - case 1301: self = .phanpyNormal - case 1302: self = .phanpyShadow - case 1303: self = .phanpyPurified - case 1304: self = .donphanNormal - case 1305: self = .donphanShadow - case 1306: self = .donphanPurified - case 1307: self = .smeargleNormal - case 1308: self = .smeargleShadow - case 1309: self = .smearglePurified - case 1310: self = .tyrogueNormal - case 1311: self = .tyrogueShadow - case 1312: self = .tyroguePurified - case 1313: self = .hitmontopNormal - case 1314: self = .hitmontopShadow - case 1315: self = .hitmontopPurified - case 1316: self = .smoochumNormal - case 1317: self = .smoochumShadow - case 1318: self = .smoochumPurified - case 1319: self = .elekidNormal - case 1320: self = .elekidShadow - case 1321: self = .elekidPurified - case 1322: self = .magbyNormal - case 1323: self = .magbyShadow - case 1324: self = .magbyPurified - case 1325: self = .miltankNormal - case 1326: self = .miltankShadow - case 1327: self = .miltankPurified - case 1328: self = .blisseyNormal - case 1329: self = .blisseyShadow - case 1330: self = .blisseyPurified - case 1331: self = .raikouNormal - case 1332: self = .raikouShadow - case 1333: self = .raikouPurified - case 1334: self = .enteiNormal - case 1335: self = .enteiShadow - case 1336: self = .enteiPurified - case 1337: self = .suicuneNormal - case 1338: self = .suicuneShadow - case 1339: self = .suicunePurified - case 1340: self = .lugiaNormal - case 1341: self = .lugiaShadow - case 1342: self = .lugiaPurified - case 1343: self = .hoOhNormal - case 1344: self = .hoOhShadow - case 1345: self = .hoOhPurified - case 1346: self = .celebiNormal - case 1347: self = .celebiShadow - case 1348: self = .celebiPurified - case 1349: self = .treeckoNormal - case 1350: self = .treeckoShadow - case 1351: self = .treeckoPurified - case 1352: self = .grovyleNormal - case 1353: self = .grovyleShadow - case 1354: self = .grovylePurified - case 1355: self = .sceptileNormal - case 1356: self = .sceptileShadow - case 1357: self = .sceptilePurified - case 1358: self = .torchicNormal - case 1359: self = .torchicShadow - case 1360: self = .torchicPurified - case 1361: self = .combuskenNormal - case 1362: self = .combuskenShadow - case 1363: self = .combuskenPurified - case 1364: self = .blazikenNormal - case 1365: self = .blazikenShadow - case 1366: self = .blazikenPurified - case 1367: self = .poochyenaNormal - case 1368: self = .poochyenaShadow - case 1369: self = .poochyenaPurified - case 1370: self = .mightyenaNormal - case 1371: self = .mightyenaShadow - case 1372: self = .mightyenaPurified - case 1373: self = .zigzagoonShadow - case 1374: self = .zigzagoonPurified - case 1375: self = .linooneShadow - case 1376: self = .linoonePurified - case 1377: self = .wurmpleShadow - case 1378: self = .wurmplePurified - case 1379: self = .silcoonNormal - case 1380: self = .silcoonShadow - case 1381: self = .silcoonPurified - case 1382: self = .beautiflyNormal - case 1383: self = .beautiflyShadow - case 1384: self = .beautiflyPurified - case 1385: self = .cascoonNormal - case 1386: self = .cascoonShadow - case 1387: self = .cascoonPurified - case 1388: self = .dustoxNormal - case 1389: self = .dustoxShadow - case 1390: self = .dustoxPurified - case 1391: self = .lotadNormal - case 1392: self = .lotadShadow - case 1393: self = .lotadPurified - case 1394: self = .lombreNormal - case 1395: self = .lombreShadow - case 1396: self = .lombrePurified - case 1397: self = .ludicoloNormal - case 1398: self = .ludicoloShadow - case 1399: self = .ludicoloPurified - case 1400: self = .taillowNormal - case 1401: self = .taillowShadow - case 1402: self = .taillowPurified - case 1403: self = .swellowNormal - case 1404: self = .swellowShadow - case 1405: self = .swellowPurified - case 1406: self = .wingullNormal - case 1407: self = .wingullShadow - case 1408: self = .wingullPurified - case 1409: self = .pelipperNormal - case 1410: self = .pelipperShadow - case 1411: self = .pelipperPurified - case 1412: self = .surskitNormal - case 1413: self = .surskitShadow - case 1414: self = .surskitPurified - case 1415: self = .masquerainNormal - case 1416: self = .masquerainShadow - case 1417: self = .masquerainPurified - case 1418: self = .shroomishNormal - case 1419: self = .shroomishShadow - case 1420: self = .shroomishPurified - case 1421: self = .breloomNormal - case 1422: self = .breloomShadow - case 1423: self = .breloomPurified - case 1424: self = .slakothNormal - case 1425: self = .slakothShadow - case 1426: self = .slakothPurified - case 1427: self = .vigorothNormal - case 1428: self = .vigorothShadow - case 1429: self = .vigorothPurified - case 1430: self = .slakingNormal - case 1431: self = .slakingShadow - case 1432: self = .slakingPurified - case 1433: self = .nincadaNormal - case 1434: self = .nincadaShadow - case 1435: self = .nincadaPurified - case 1436: self = .ninjaskNormal - case 1437: self = .ninjaskShadow - case 1438: self = .ninjaskPurified - case 1439: self = .shedinjaNormal - case 1440: self = .shedinjaShadow - case 1441: self = .shedinjaPurified - case 1442: self = .whismurNormal - case 1443: self = .whismurShadow - case 1444: self = .whismurPurified - case 1445: self = .loudredNormal - case 1446: self = .loudredShadow - case 1447: self = .loudredPurified - case 1448: self = .exploudNormal - case 1449: self = .exploudShadow - case 1450: self = .exploudPurified - case 1451: self = .makuhitaNormal - case 1452: self = .makuhitaShadow - case 1453: self = .makuhitaPurified - case 1454: self = .hariyamaNormal - case 1455: self = .hariyamaShadow - case 1456: self = .hariyamaPurified - case 1457: self = .azurillNormal - case 1458: self = .azurillShadow - case 1459: self = .azurillPurified - case 1460: self = .nosepassNormal - case 1461: self = .nosepassShadow - case 1462: self = .nosepassPurified - case 1463: self = .skittyNormal - case 1464: self = .skittyShadow - case 1465: self = .skittyPurified - case 1466: self = .delcattyNormal - case 1467: self = .delcattyShadow - case 1468: self = .delcattyPurified - case 1469: self = .aronNormal - case 1470: self = .aronShadow - case 1471: self = .aronPurified - case 1472: self = .laironNormal - case 1473: self = .laironShadow - case 1474: self = .laironPurified - case 1475: self = .aggronNormal - case 1476: self = .aggronShadow - case 1477: self = .aggronPurified - case 1478: self = .medititeNormal - case 1479: self = .medititeShadow - case 1480: self = .medititePurified - case 1481: self = .medichamNormal - case 1482: self = .medichamShadow - case 1483: self = .medichamPurified - case 1484: self = .electrikeNormal - case 1485: self = .electrikeShadow - case 1486: self = .electrikePurified - case 1487: self = .manectricNormal - case 1488: self = .manectricShadow - case 1489: self = .manectricPurified - case 1490: self = .plusleNormal - case 1491: self = .plusleShadow - case 1492: self = .pluslePurified - case 1493: self = .minunNormal - case 1494: self = .minunShadow - case 1495: self = .minunPurified - case 1496: self = .volbeatNormal - case 1497: self = .volbeatShadow - case 1498: self = .volbeatPurified - case 1499: self = .illumiseNormal - case 1500: self = .illumiseShadow - case 1501: self = .illumisePurified - case 1502: self = .roseliaNormal - case 1503: self = .roseliaShadow - case 1504: self = .roseliaPurified - case 1505: self = .gulpinNormal - case 1506: self = .gulpinShadow - case 1507: self = .gulpinPurified - case 1508: self = .swalotNormal - case 1509: self = .swalotShadow - case 1510: self = .swalotPurified - case 1511: self = .wailmerNormal - case 1512: self = .wailmerShadow - case 1513: self = .wailmerPurified - case 1514: self = .wailordNormal - case 1515: self = .wailordShadow - case 1516: self = .wailordPurified - case 1517: self = .numelNormal - case 1518: self = .numelShadow - case 1519: self = .numelPurified - case 1520: self = .cameruptNormal - case 1521: self = .cameruptShadow - case 1522: self = .cameruptPurified - case 1523: self = .torkoalNormal - case 1524: self = .torkoalShadow - case 1525: self = .torkoalPurified - case 1526: self = .spoinkNormal - case 1527: self = .spoinkShadow - case 1528: self = .spoinkPurified - case 1529: self = .grumpigNormal - case 1530: self = .grumpigShadow - case 1531: self = .grumpigPurified - case 1532: self = .swabluNormal - case 1533: self = .swabluShadow - case 1534: self = .swabluPurified - case 1535: self = .altariaNormal - case 1536: self = .altariaShadow - case 1537: self = .altariaPurified - case 1538: self = .zangooseNormal - case 1539: self = .zangooseShadow - case 1540: self = .zangoosePurified - case 1541: self = .seviperNormal - case 1542: self = .seviperShadow - case 1543: self = .seviperPurified - case 1544: self = .lunatoneNormal - case 1545: self = .lunatoneShadow - case 1546: self = .lunatonePurified - case 1547: self = .solrockNormal - case 1548: self = .solrockShadow - case 1549: self = .solrockPurified - case 1550: self = .barboachNormal - case 1551: self = .barboachShadow - case 1552: self = .barboachPurified - case 1553: self = .whiscashNormal - case 1554: self = .whiscashShadow - case 1555: self = .whiscashPurified - case 1556: self = .corphishNormal - case 1557: self = .corphishShadow - case 1558: self = .corphishPurified - case 1559: self = .crawdauntNormal - case 1560: self = .crawdauntShadow - case 1561: self = .crawdauntPurified - case 1562: self = .baltoyNormal - case 1563: self = .baltoyShadow - case 1564: self = .baltoyPurified - case 1565: self = .claydolNormal - case 1566: self = .claydolShadow - case 1567: self = .claydolPurified - case 1568: self = .lileepNormal - case 1569: self = .lileepShadow - case 1570: self = .lileepPurified - case 1571: self = .cradilyNormal - case 1572: self = .cradilyShadow - case 1573: self = .cradilyPurified - case 1574: self = .anorithNormal - case 1575: self = .anorithShadow - case 1576: self = .anorithPurified - case 1577: self = .armaldoNormal - case 1578: self = .armaldoShadow - case 1579: self = .armaldoPurified - case 1580: self = .feebasNormal - case 1581: self = .feebasShadow - case 1582: self = .feebasPurified - case 1583: self = .miloticNormal - case 1584: self = .miloticShadow - case 1585: self = .miloticPurified - case 1586: self = .kecleonNormal - case 1587: self = .kecleonShadow - case 1588: self = .kecleonPurified - case 1589: self = .tropiusNormal - case 1590: self = .tropiusShadow - case 1591: self = .tropiusPurified - case 1592: self = .chimechoNormal - case 1593: self = .chimechoShadow - case 1594: self = .chimechoPurified - case 1595: self = .wynautNormal - case 1596: self = .wynautShadow - case 1597: self = .wynautPurified - case 1598: self = .sphealNormal - case 1599: self = .sphealShadow - case 1600: self = .sphealPurified - case 1601: self = .sealeoNormal - case 1602: self = .sealeoShadow - case 1603: self = .sealeoPurified - case 1604: self = .walreinNormal - case 1605: self = .walreinShadow - case 1606: self = .walreinPurified - case 1607: self = .clamperlNormal - case 1608: self = .clamperlShadow - case 1609: self = .clamperlPurified - case 1610: self = .huntailNormal - case 1611: self = .huntailShadow - case 1612: self = .huntailPurified - case 1613: self = .gorebyssNormal - case 1614: self = .gorebyssShadow - case 1615: self = .gorebyssPurified - case 1616: self = .relicanthNormal - case 1617: self = .relicanthShadow - case 1618: self = .relicanthPurified - case 1619: self = .luvdiscNormal - case 1620: self = .luvdiscShadow - case 1621: self = .luvdiscPurified - case 1622: self = .regirockNormal - case 1623: self = .regirockShadow - case 1624: self = .regirockPurified - case 1625: self = .regiceNormal - case 1626: self = .regiceShadow - case 1627: self = .regicePurified - case 1628: self = .registeelNormal - case 1629: self = .registeelShadow - case 1630: self = .registeelPurified - case 1631: self = .latiasNormal - case 1632: self = .latiasShadow - case 1633: self = .latiasPurified - case 1634: self = .latiosNormal - case 1635: self = .latiosShadow - case 1636: self = .latiosPurified - case 1637: self = .kyogreNormal - case 1638: self = .kyogreShadow - case 1639: self = .kyogrePurified - case 1640: self = .groudonNormal - case 1641: self = .groudonShadow - case 1642: self = .groudonPurified - case 1643: self = .rayquazaNormal - case 1644: self = .rayquazaShadow - case 1645: self = .rayquazaPurified - case 1646: self = .jirachiNormal - case 1647: self = .jirachiShadow - case 1648: self = .jirachiPurified - case 1649: self = .piplupNormal - case 1650: self = .piplupShadow - case 1651: self = .piplupPurified - case 1652: self = .prinplupNormal - case 1653: self = .prinplupShadow - case 1654: self = .prinplupPurified - case 1655: self = .empoleonNormal - case 1656: self = .empoleonShadow - case 1657: self = .empoleonPurified - case 1658: self = .starlyNormal - case 1659: self = .starlyShadow - case 1660: self = .starlyPurified - case 1661: self = .staraviaNormal - case 1662: self = .staraviaShadow - case 1663: self = .staraviaPurified - case 1664: self = .staraptorNormal - case 1665: self = .staraptorShadow - case 1666: self = .staraptorPurified - case 1667: self = .bidoofNormal - case 1668: self = .bidoofShadow - case 1669: self = .bidoofPurified - case 1670: self = .bibarelNormal - case 1671: self = .bibarelShadow - case 1672: self = .bibarelPurified - case 1673: self = .kricketotNormal - case 1674: self = .kricketotShadow - case 1675: self = .kricketotPurified - case 1676: self = .kricketuneNormal - case 1677: self = .kricketuneShadow - case 1678: self = .kricketunePurified - case 1679: self = .shinxNormal - case 1680: self = .shinxShadow - case 1681: self = .shinxPurified - case 1682: self = .luxioNormal - case 1683: self = .luxioShadow - case 1684: self = .luxioPurified - case 1685: self = .luxrayNormal - case 1686: self = .luxrayShadow - case 1687: self = .luxrayPurified - case 1688: self = .budewNormal - case 1689: self = .budewShadow - case 1690: self = .budewPurified - case 1691: self = .roseradeNormal - case 1692: self = .roseradeShadow - case 1693: self = .roseradePurified - case 1694: self = .cranidosNormal - case 1695: self = .cranidosShadow - case 1696: self = .cranidosPurified - case 1697: self = .rampardosNormal - case 1698: self = .rampardosShadow - case 1699: self = .rampardosPurified - case 1700: self = .shieldonNormal - case 1701: self = .shieldonShadow - case 1702: self = .shieldonPurified - case 1703: self = .bastiodonNormal - case 1704: self = .bastiodonShadow - case 1705: self = .bastiodonPurified - case 1706: self = .burmyNormal - case 1707: self = .burmyShadow - case 1708: self = .burmyPurified - case 1709: self = .wormadamNormal - case 1710: self = .wormadamShadow - case 1711: self = .wormadamPurified - case 1712: self = .mothimNormal - case 1713: self = .mothimShadow - case 1714: self = .mothimPurified - case 1715: self = .combeeNormal - case 1716: self = .combeeShadow - case 1717: self = .combeePurified - case 1718: self = .vespiquenNormal - case 1719: self = .vespiquenShadow - case 1720: self = .vespiquenPurified - case 1721: self = .pachirisuNormal - case 1722: self = .pachirisuShadow - case 1723: self = .pachirisuPurified - case 1724: self = .buizelNormal - case 1725: self = .buizelShadow - case 1726: self = .buizelPurified - case 1727: self = .floatzelNormal - case 1728: self = .floatzelShadow - case 1729: self = .floatzelPurified - case 1730: self = .cherubiNormal - case 1731: self = .cherubiShadow - case 1732: self = .cherubiPurified - case 1733: self = .cherrimNormal - case 1734: self = .cherrimShadow - case 1735: self = .cherrimPurified - case 1736: self = .shellosNormal - case 1737: self = .shellosShadow - case 1738: self = .shellosPurified - case 1739: self = .gastrodonNormal - case 1740: self = .gastrodonShadow - case 1741: self = .gastrodonPurified - case 1742: self = .ambipomNormal - case 1743: self = .ambipomShadow - case 1744: self = .ambipomPurified - case 1745: self = .drifloonNormal - case 1746: self = .drifloonShadow - case 1747: self = .drifloonPurified - case 1748: self = .drifblimNormal - case 1749: self = .drifblimShadow - case 1750: self = .drifblimPurified - case 1751: self = .bunearyNormal - case 1752: self = .bunearyShadow - case 1753: self = .bunearyPurified - case 1754: self = .lopunnyNormal - case 1755: self = .lopunnyShadow - case 1756: self = .lopunnyPurified - case 1757: self = .glameowNormal - case 1758: self = .glameowShadow - case 1759: self = .glameowPurified - case 1760: self = .puruglyNormal - case 1761: self = .puruglyShadow - case 1762: self = .puruglyPurified - case 1763: self = .chinglingNormal - case 1764: self = .chinglingShadow - case 1765: self = .chinglingPurified - case 1766: self = .bronzorNormal - case 1767: self = .bronzorShadow - case 1768: self = .bronzorPurified - case 1769: self = .bronzongNormal - case 1770: self = .bronzongShadow - case 1771: self = .bronzongPurified - case 1772: self = .bonslyNormal - case 1773: self = .bonslyShadow - case 1774: self = .bonslyPurified - case 1775: self = .mimeJrNormal - case 1776: self = .mimeJrShadow - case 1777: self = .mimeJrPurified - case 1778: self = .happinyNormal - case 1779: self = .happinyShadow - case 1780: self = .happinyPurified - case 1781: self = .chatotNormal - case 1782: self = .chatotShadow - case 1783: self = .chatotPurified - case 1784: self = .spiritombNormal - case 1785: self = .spiritombShadow - case 1786: self = .spiritombPurified - case 1787: self = .munchlaxNormal - case 1788: self = .munchlaxShadow - case 1789: self = .munchlaxPurified - case 1790: self = .rioluNormal - case 1791: self = .rioluShadow - case 1792: self = .rioluPurified - case 1793: self = .lucarioNormal - case 1794: self = .lucarioShadow - case 1795: self = .lucarioPurified - case 1796: self = .skorupiNormal - case 1797: self = .skorupiShadow - case 1798: self = .skorupiPurified - case 1799: self = .drapionNormal - case 1800: self = .drapionShadow - case 1801: self = .drapionPurified - case 1802: self = .croagunkNormal - case 1803: self = .croagunkShadow - case 1804: self = .croagunkPurified - case 1805: self = .toxicroakNormal - case 1806: self = .toxicroakShadow - case 1807: self = .toxicroakPurified - case 1808: self = .carnivineNormal - case 1809: self = .carnivineShadow - case 1810: self = .carnivinePurified - case 1811: self = .finneonNormal - case 1812: self = .finneonShadow - case 1813: self = .finneonPurified - case 1814: self = .lumineonNormal - case 1815: self = .lumineonShadow - case 1816: self = .lumineonPurified - case 1817: self = .mantykeNormal - case 1818: self = .mantykeShadow - case 1819: self = .mantykePurified - case 1820: self = .lickilickyNormal - case 1821: self = .lickilickyShadow - case 1822: self = .lickilickyPurified - case 1823: self = .tangrowthNormal - case 1824: self = .tangrowthShadow - case 1825: self = .tangrowthPurified - case 1826: self = .togekissNormal - case 1827: self = .togekissShadow - case 1828: self = .togekissPurified - case 1829: self = .yanmegaNormal - case 1830: self = .yanmegaShadow - case 1831: self = .yanmegaPurified - case 1832: self = .leafeonNormal - case 1833: self = .leafeonShadow - case 1834: self = .leafeonPurified - case 1835: self = .glaceonNormal - case 1836: self = .glaceonShadow - case 1837: self = .glaceonPurified - case 1838: self = .mamoswineNormal - case 1839: self = .mamoswineShadow - case 1840: self = .mamoswinePurified - case 1841: self = .probopassNormal - case 1842: self = .probopassShadow - case 1843: self = .probopassPurified - case 1844: self = .froslassNormal - case 1845: self = .froslassShadow - case 1846: self = .froslassPurified - case 1847: self = .uxieNormal - case 1848: self = .uxieShadow - case 1849: self = .uxiePurified - case 1850: self = .mespritNormal - case 1851: self = .mespritShadow - case 1852: self = .mespritPurified - case 1853: self = .azelfNormal - case 1854: self = .azelfShadow - case 1855: self = .azelfPurified - case 1856: self = .dialgaNormal - case 1857: self = .dialgaShadow - case 1858: self = .dialgaPurified - case 1859: self = .palkiaNormal - case 1860: self = .palkiaShadow - case 1861: self = .palkiaPurified - case 1862: self = .heatranNormal - case 1863: self = .heatranShadow - case 1864: self = .heatranPurified - case 1865: self = .regigigasNormal - case 1866: self = .regigigasShadow - case 1867: self = .regigigasPurified - case 1868: self = .giratinaNormal - case 1869: self = .giratinaShadow - case 1870: self = .giratinaPurified - case 1871: self = .cresseliaNormal - case 1872: self = .cresseliaShadow - case 1873: self = .cresseliaPurified - case 1874: self = .phioneNormal - case 1875: self = .phioneShadow - case 1876: self = .phionePurified - case 1877: self = .manaphyNormal - case 1878: self = .manaphyShadow - case 1879: self = .manaphyPurified - case 1880: self = .darkraiNormal - case 1881: self = .darkraiShadow - case 1882: self = .darkraiPurified - case 1883: self = .shayminNormal - case 1884: self = .shayminShadow - case 1885: self = .shayminPurified - case 1886: self = .victiniNormal - case 1887: self = .victiniShadow - case 1888: self = .victiniPurified - case 1889: self = .snivyNormal - case 1890: self = .snivyShadow - case 1891: self = .snivyPurified - case 1892: self = .servineNormal - case 1893: self = .servineShadow - case 1894: self = .servinePurified - case 1895: self = .serperiorNormal - case 1896: self = .serperiorShadow - case 1897: self = .serperiorPurified - case 1898: self = .tepigNormal - case 1899: self = .tepigShadow - case 1900: self = .tepigPurified - case 1901: self = .pigniteNormal - case 1902: self = .pigniteShadow - case 1903: self = .pignitePurified - case 1904: self = .emboarNormal - case 1905: self = .emboarShadow - case 1906: self = .emboarPurified - case 1907: self = .oshawottNormal - case 1908: self = .oshawottShadow - case 1909: self = .oshawottPurified - case 1910: self = .dewottNormal - case 1911: self = .dewottShadow - case 1912: self = .dewottPurified - case 1913: self = .samurottNormal - case 1914: self = .samurottShadow - case 1915: self = .samurottPurified - case 1916: self = .patratNormal - case 1917: self = .patratShadow - case 1918: self = .patratPurified - case 1919: self = .watchogNormal - case 1920: self = .watchogShadow - case 1921: self = .watchogPurified - case 1922: self = .lillipupNormal - case 1923: self = .lillipupShadow - case 1924: self = .lillipupPurified - case 1925: self = .herdierNormal - case 1926: self = .herdierShadow - case 1927: self = .herdierPurified - case 1928: self = .stoutlandNormal - case 1929: self = .stoutlandShadow - case 1930: self = .stoutlandPurified - case 1931: self = .purrloinNormal - case 1932: self = .purrloinShadow - case 1933: self = .purrloinPurified - case 1934: self = .liepardNormal - case 1935: self = .liepardShadow - case 1936: self = .liepardPurified - case 1937: self = .pansageNormal - case 1938: self = .pansageShadow - case 1939: self = .pansagePurified - case 1940: self = .simisageNormal - case 1941: self = .simisageShadow - case 1942: self = .simisagePurified - case 1943: self = .pansearNormal - case 1944: self = .pansearShadow - case 1945: self = .pansearPurified - case 1946: self = .simisearNormal - case 1947: self = .simisearShadow - case 1948: self = .simisearPurified - case 1949: self = .panpourNormal - case 1950: self = .panpourShadow - case 1951: self = .panpourPurified - case 1952: self = .simipourNormal - case 1953: self = .simipourShadow - case 1954: self = .simipourPurified - case 1955: self = .munnaNormal - case 1956: self = .munnaShadow - case 1957: self = .munnaPurified - case 1958: self = .musharnaNormal - case 1959: self = .musharnaShadow - case 1960: self = .musharnaPurified - case 1961: self = .pidoveNormal - case 1962: self = .pidoveShadow - case 1963: self = .pidovePurified - case 1964: self = .tranquillNormal - case 1965: self = .tranquillShadow - case 1966: self = .tranquillPurified - case 1967: self = .unfezantNormal - case 1968: self = .unfezantShadow - case 1969: self = .unfezantPurified - case 1970: self = .blitzleNormal - case 1971: self = .blitzleShadow - case 1972: self = .blitzlePurified - case 1973: self = .zebstrikaNormal - case 1974: self = .zebstrikaShadow - case 1975: self = .zebstrikaPurified - case 1976: self = .roggenrolaNormal - case 1977: self = .roggenrolaShadow - case 1978: self = .roggenrolaPurified - case 1979: self = .boldoreNormal - case 1980: self = .boldoreShadow - case 1981: self = .boldorePurified - case 1982: self = .gigalithNormal - case 1983: self = .gigalithShadow - case 1984: self = .gigalithPurified - case 1985: self = .woobatNormal - case 1986: self = .woobatShadow - case 1987: self = .woobatPurified - case 1988: self = .swoobatNormal - case 1989: self = .swoobatShadow - case 1990: self = .swoobatPurified - case 1991: self = .drilburNormal - case 1992: self = .drilburShadow - case 1993: self = .drilburPurified - case 1994: self = .excadrillNormal - case 1995: self = .excadrillShadow - case 1996: self = .excadrillPurified - case 1997: self = .audinoNormal - case 1998: self = .audinoShadow - case 1999: self = .audinoPurified - case 2000: self = .timburrNormal - case 2001: self = .timburrShadow - case 2002: self = .timburrPurified - case 2003: self = .gurdurrNormal - case 2004: self = .gurdurrShadow - case 2005: self = .gurdurrPurified - case 2006: self = .conkeldurrNormal - case 2007: self = .conkeldurrShadow - case 2008: self = .conkeldurrPurified - case 2009: self = .tympoleNormal - case 2010: self = .tympoleShadow - case 2011: self = .tympolePurified - case 2012: self = .palpitoadNormal - case 2013: self = .palpitoadShadow - case 2014: self = .palpitoadPurified - case 2015: self = .seismitoadNormal - case 2016: self = .seismitoadShadow - case 2017: self = .seismitoadPurified - case 2018: self = .throhNormal - case 2019: self = .throhShadow - case 2020: self = .throhPurified - case 2021: self = .sawkNormal - case 2022: self = .sawkShadow - case 2023: self = .sawkPurified - case 2024: self = .sewaddleNormal - case 2025: self = .sewaddleShadow - case 2026: self = .sewaddlePurified - case 2027: self = .swadloonNormal - case 2028: self = .swadloonShadow - case 2029: self = .swadloonPurified - case 2030: self = .leavannyNormal - case 2031: self = .leavannyShadow - case 2032: self = .leavannyPurified - case 2033: self = .venipedeNormal - case 2034: self = .venipedeShadow - case 2035: self = .venipedePurified - case 2036: self = .whirlipedeNormal - case 2037: self = .whirlipedeShadow - case 2038: self = .whirlipedePurified - case 2039: self = .scolipedeNormal - case 2040: self = .scolipedeShadow - case 2041: self = .scolipedePurified - case 2042: self = .cottoneeNormal - case 2043: self = .cottoneeShadow - case 2044: self = .cottoneePurified - case 2045: self = .whimsicottNormal - case 2046: self = .whimsicottShadow - case 2047: self = .whimsicottPurified - case 2048: self = .petililNormal - case 2049: self = .petililShadow - case 2050: self = .petililPurified - case 2051: self = .lilligantNormal - case 2052: self = .lilligantShadow - case 2053: self = .lilligantPurified - case 2054: self = .sandileNormal - case 2055: self = .sandileShadow - case 2056: self = .sandilePurified - case 2057: self = .krokorokNormal - case 2058: self = .krokorokShadow - case 2059: self = .krokorokPurified - case 2060: self = .krookodileNormal - case 2061: self = .krookodileShadow - case 2062: self = .krookodilePurified - case 2063: self = .darumakaNormal - case 2064: self = .darumakaShadow - case 2065: self = .darumakaPurified - case 2066: self = .maractusNormal - case 2067: self = .maractusShadow - case 2068: self = .maractusPurified - case 2069: self = .dwebbleNormal - case 2070: self = .dwebbleShadow - case 2071: self = .dwebblePurified - case 2072: self = .crustleNormal - case 2073: self = .crustleShadow - case 2074: self = .crustlePurified - case 2075: self = .scraggyNormal - case 2076: self = .scraggyShadow - case 2077: self = .scraggyPurified - case 2078: self = .scraftyNormal - case 2079: self = .scraftyShadow - case 2080: self = .scraftyPurified - case 2081: self = .sigilyphNormal - case 2082: self = .sigilyphShadow - case 2083: self = .sigilyphPurified - case 2084: self = .yamaskNormal - case 2085: self = .yamaskShadow - case 2086: self = .yamaskPurified - case 2087: self = .cofagrigusNormal - case 2088: self = .cofagrigusShadow - case 2089: self = .cofagrigusPurified - case 2090: self = .tirtougaNormal - case 2091: self = .tirtougaShadow - case 2092: self = .tirtougaPurified - case 2093: self = .carracostaNormal - case 2094: self = .carracostaShadow - case 2095: self = .carracostaPurified - case 2096: self = .archenNormal - case 2097: self = .archenShadow - case 2098: self = .archenPurified - case 2099: self = .archeopsNormal - case 2100: self = .archeopsShadow - case 2101: self = .archeopsPurified - case 2102: self = .trubbishNormal - case 2103: self = .trubbishShadow - case 2104: self = .trubbishPurified - case 2105: self = .garbodorNormal - case 2106: self = .garbodorShadow - case 2107: self = .garbodorPurified - case 2108: self = .zoruaNormal - case 2109: self = .zoruaShadow - case 2110: self = .zoruaPurified - case 2111: self = .zoroarkNormal - case 2112: self = .zoroarkShadow - case 2113: self = .zoroarkPurified - case 2114: self = .minccinoNormal - case 2115: self = .minccinoShadow - case 2116: self = .minccinoPurified - case 2117: self = .cinccinoNormal - case 2118: self = .cinccinoShadow - case 2119: self = .cinccinoPurified - case 2120: self = .gothitaNormal - case 2121: self = .gothitaShadow - case 2122: self = .gothitaPurified - case 2123: self = .gothoritaNormal - case 2124: self = .gothoritaShadow - case 2125: self = .gothoritaPurified - case 2126: self = .gothitelleNormal - case 2127: self = .gothitelleShadow - case 2128: self = .gothitellePurified - case 2129: self = .solosisNormal - case 2130: self = .solosisShadow - case 2131: self = .solosisPurified - case 2132: self = .duosionNormal - case 2133: self = .duosionShadow - case 2134: self = .duosionPurified - case 2135: self = .reuniclusNormal - case 2136: self = .reuniclusShadow - case 2137: self = .reuniclusPurified - case 2138: self = .ducklettNormal - case 2139: self = .ducklettShadow - case 2140: self = .ducklettPurified - case 2141: self = .swannaNormal - case 2142: self = .swannaShadow - case 2143: self = .swannaPurified - case 2144: self = .vanilliteNormal - case 2145: self = .vanilliteShadow - case 2146: self = .vanillitePurified - case 2147: self = .vanillishNormal - case 2148: self = .vanillishShadow - case 2149: self = .vanillishPurified - case 2150: self = .vanilluxeNormal - case 2151: self = .vanilluxeShadow - case 2152: self = .vanilluxePurified - case 2153: self = .emolgaNormal - case 2154: self = .emolgaShadow - case 2155: self = .emolgaPurified - case 2156: self = .karrablastNormal - case 2157: self = .karrablastShadow - case 2158: self = .karrablastPurified - case 2159: self = .escavalierNormal - case 2160: self = .escavalierShadow - case 2161: self = .escavalierPurified - case 2162: self = .foongusNormal - case 2163: self = .foongusShadow - case 2164: self = .foongusPurified - case 2165: self = .amoongussNormal - case 2166: self = .amoongussShadow - case 2167: self = .amoongussPurified - case 2168: self = .frillishNormal - case 2169: self = .frillishShadow - case 2170: self = .frillishPurified - case 2171: self = .jellicentNormal - case 2172: self = .jellicentShadow - case 2173: self = .jellicentPurified - case 2174: self = .alomomolaNormal - case 2175: self = .alomomolaShadow - case 2176: self = .alomomolaPurified - case 2177: self = .joltikNormal - case 2178: self = .joltikShadow - case 2179: self = .joltikPurified - case 2180: self = .galvantulaNormal - case 2181: self = .galvantulaShadow - case 2182: self = .galvantulaPurified - case 2183: self = .ferroseedNormal - case 2184: self = .ferroseedShadow - case 2185: self = .ferroseedPurified - case 2186: self = .ferrothornNormal - case 2187: self = .ferrothornShadow - case 2188: self = .ferrothornPurified - case 2189: self = .klinkNormal - case 2190: self = .klinkShadow - case 2191: self = .klinkPurified - case 2192: self = .klangNormal - case 2193: self = .klangShadow - case 2194: self = .klangPurified - case 2195: self = .klinklangNormal - case 2196: self = .klinklangShadow - case 2197: self = .klinklangPurified - case 2198: self = .tynamoNormal - case 2199: self = .tynamoShadow - case 2200: self = .tynamoPurified - case 2201: self = .eelektrikNormal - case 2202: self = .eelektrikShadow - case 2203: self = .eelektrikPurified - case 2204: self = .eelektrossNormal - case 2205: self = .eelektrossShadow - case 2206: self = .eelektrossPurified - case 2207: self = .elgyemNormal - case 2208: self = .elgyemShadow - case 2209: self = .elgyemPurified - case 2210: self = .beheeyemNormal - case 2211: self = .beheeyemShadow - case 2212: self = .beheeyemPurified - case 2213: self = .litwickNormal - case 2214: self = .litwickShadow - case 2215: self = .litwickPurified - case 2216: self = .lampentNormal - case 2217: self = .lampentShadow - case 2218: self = .lampentPurified - case 2219: self = .chandelureNormal - case 2220: self = .chandelureShadow - case 2221: self = .chandelurePurified - case 2222: self = .axewNormal - case 2223: self = .axewShadow - case 2224: self = .axewPurified - case 2225: self = .fraxureNormal - case 2226: self = .fraxureShadow - case 2227: self = .fraxurePurified - case 2228: self = .haxorusNormal - case 2229: self = .haxorusShadow - case 2230: self = .haxorusPurified - case 2231: self = .cubchooNormal - case 2232: self = .cubchooShadow - case 2233: self = .cubchooPurified - case 2234: self = .bearticNormal - case 2235: self = .bearticShadow - case 2236: self = .bearticPurified - case 2237: self = .cryogonalNormal - case 2238: self = .cryogonalShadow - case 2239: self = .cryogonalPurified - case 2240: self = .shelmetNormal - case 2241: self = .shelmetShadow - case 2242: self = .shelmetPurified - case 2243: self = .accelgorNormal - case 2244: self = .accelgorShadow - case 2245: self = .accelgorPurified - case 2246: self = .stunfiskNormal - case 2247: self = .stunfiskShadow - case 2248: self = .stunfiskPurified - case 2249: self = .mienfooNormal - case 2250: self = .mienfooShadow - case 2251: self = .mienfooPurified - case 2252: self = .mienshaoNormal - case 2253: self = .mienshaoShadow - case 2254: self = .mienshaoPurified - case 2255: self = .druddigonNormal - case 2256: self = .druddigonShadow - case 2257: self = .druddigonPurified - case 2258: self = .golettNormal - case 2259: self = .golettShadow - case 2260: self = .golettPurified - case 2261: self = .golurkNormal - case 2262: self = .golurkShadow - case 2263: self = .golurkPurified - case 2264: self = .pawniardNormal - case 2265: self = .pawniardShadow - case 2266: self = .pawniardPurified - case 2267: self = .bisharpNormal - case 2268: self = .bisharpShadow - case 2269: self = .bisharpPurified - case 2270: self = .bouffalantNormal - case 2271: self = .bouffalantShadow - case 2272: self = .bouffalantPurified - case 2273: self = .ruffletNormal - case 2274: self = .ruffletShadow - case 2275: self = .ruffletPurified - case 2276: self = .braviaryNormal - case 2277: self = .braviaryShadow - case 2278: self = .braviaryPurified - case 2279: self = .vullabyNormal - case 2280: self = .vullabyShadow - case 2281: self = .vullabyPurified - case 2282: self = .mandibuzzNormal - case 2283: self = .mandibuzzShadow - case 2284: self = .mandibuzzPurified - case 2285: self = .heatmorNormal - case 2286: self = .heatmorShadow - case 2287: self = .heatmorPurified - case 2288: self = .durantNormal - case 2289: self = .durantShadow - case 2290: self = .durantPurified - case 2291: self = .deinoNormal - case 2292: self = .deinoShadow - case 2293: self = .deinoPurified - case 2294: self = .zweilousNormal - case 2295: self = .zweilousShadow - case 2296: self = .zweilousPurified - case 2297: self = .hydreigonNormal - case 2298: self = .hydreigonShadow - case 2299: self = .hydreigonPurified - case 2300: self = .larvestaNormal - case 2301: self = .larvestaShadow - case 2302: self = .larvestaPurified - case 2303: self = .volcaronaNormal - case 2304: self = .volcaronaShadow - case 2305: self = .volcaronaPurified - case 2306: self = .cobalionNormal - case 2307: self = .cobalionShadow - case 2308: self = .cobalionPurified - case 2309: self = .terrakionNormal - case 2310: self = .terrakionShadow - case 2311: self = .terrakionPurified - case 2312: self = .virizionNormal - case 2313: self = .virizionShadow - case 2314: self = .virizionPurified - case 2315: self = .reshiramNormal - case 2316: self = .reshiramShadow - case 2317: self = .reshiramPurified - case 2318: self = .zekromNormal - case 2319: self = .zekromShadow - case 2320: self = .zekromPurified - case 2321: self = .meltanNormal - case 2322: self = .meltanShadow - case 2323: self = .meltanPurified - case 2324: self = .melmetalNormal - case 2325: self = .melmetalShadow - case 2326: self = .melmetalPurified - case 2327: self = .wurmpleSpring2020 - case 2328: self = .wobbuffetSpring2020 - case 2329: self = .raticateSpring2020 - case 2330: self = .frillishFemale - case 2331: self = .jellicentFemale - case 2332: self = .pikachuCostume2020 - case 2333: self = .dragoniteCostume2020 - case 2334: self = .onixCostume2020 - case 2335: self = .meowthGalarian - case 2336: self = .ponytaGalarian - case 2337: self = .rapidashGalarian - case 2338: self = .farfetchdGalarian - case 2339: self = .mrMimeGalarian - case 2340: self = .corsolaGalarian - case 2341: self = .darumakaGalarian - case 2342: self = .darmanitanGalarianStandard - case 2343: self = .darmanitanGalarianZen - case 2344: self = .yamaskGalarian - case 2345: self = .stunfiskGalarian - case 2463: self = .toxtricityLowKey - case 2464: self = .toxtricityAmped - case 2477: self = .sinisteaPhony - case 2478: self = .sinisteaAntique - case 2480: self = .polteageistPhony - case 2481: self = .polteageistAntique - case 2501: self = .obstagoonNormal - case 2502: self = .obstagoonShadow - case 2503: self = .obstagoonPurified - case 2504: self = .perrserkerNormal - case 2505: self = .perrserkerShadow - case 2506: self = .perrserkerPurified - case 2507: self = .cursolaNormal - case 2508: self = .cursolaShadow - case 2509: self = .cursolaPurified - case 2510: self = .sirfetchdNormal - case 2511: self = .sirfetchdShadow - case 2512: self = .sirfetchdPurified - case 2513: self = .mrRimeNormal - case 2514: self = .mrRimeShadow - case 2515: self = .mrRimePurified - case 2516: self = .runerigusNormal - case 2517: self = .runerigusShadow - case 2518: self = .runerigusPurified - case 2540: self = .eiscueIce - case 2541: self = .eiscueNoice - case 2542: self = .indeedeeMale - case 2543: self = .indeedeeFemale - case 2544: self = .morpekoFullBelly - case 2545: self = .morpekoHangry - case 2576: self = .zacianCrownedSword - case 2577: self = .zacianHero - case 2578: self = .zamazentaCrownedShield - case 2579: self = .zamazentaHero - case 2580: self = .eternatusEternamax - case 2581: self = .eternatusNormal - case 2582: self = .slowpokeGalarian - case 2583: self = .slowbroGalarian - case 2584: self = .slowkingGalarian - case 2585: self = .laprasCostume2020 - case 2586: self = .gengarCostume2020 - case 2587: self = .pyroarNormal - case 2588: self = .pyroarFemale - case 2589: self = .meowsticNormal - case 2590: self = .meowsticFemale - case 2591: self = .zygardeTenPercent - case 2592: self = .zygardeFiftyPercent - case 2593: self = .zygardeComplete - case 2594: self = .vivillonArchipelago - case 2595: self = .vivillonContinental - case 2596: self = .vivillonElegant - case 2597: self = .vivillonFancy - case 2598: self = .vivillonGarden - case 2599: self = .vivillonHighPlains - case 2600: self = .vivillonIcySnow - case 2601: self = .vivillonJungle - case 2602: self = .vivillonMarine - case 2603: self = .vivillonMeadow - case 2604: self = .vivillonModern - case 2605: self = .vivillonMonsoon - case 2606: self = .vivillonOcean - case 2607: self = .vivillonPokeball - case 2608: self = .vivillonPolar - case 2609: self = .vivillonRiver - case 2610: self = .vivillonSandstorm - case 2611: self = .vivillonSavanna - case 2612: self = .vivillonSun - case 2613: self = .vivillonTundra - case 2614: self = .flabebeRed - case 2615: self = .flabebeYellow - case 2616: self = .flabebeOrange - case 2617: self = .flabebeBlue - case 2618: self = .flabebeWhite - case 2619: self = .floetteRed - case 2620: self = .floetteYellow - case 2621: self = .floetteOrange - case 2622: self = .floetteBlue - case 2623: self = .floetteWhite - case 2624: self = .florgesRed - case 2625: self = .florgesYellow - case 2626: self = .florgesOrange - case 2627: self = .florgesBlue - case 2628: self = .florgesWhite - case 2629: self = .furfrouNatural - case 2630: self = .furfrouHeart - case 2631: self = .furfrouStar - case 2632: self = .furfrouDiamond - case 2633: self = .furfrouDebutante - case 2634: self = .furfrouMatron - case 2635: self = .furfrouDandy - case 2636: self = .furfrouLaReine - case 2637: self = .furfrouKabuki - case 2638: self = .furfrouPharaoh - case 2639: self = .aegislashShield - case 2640: self = .aegislashBlade - case 2641: self = .pumpkabooSmall - case 2642: self = .pumpkabooAverage - case 2643: self = .pumpkabooLarge - case 2644: self = .pumpkabooSuper - case 2645: self = .gourgeistSmall - case 2646: self = .gourgeistAverage - case 2647: self = .gourgeistLarge - case 2648: self = .gourgeistSuper - case 2649: self = .xerneasNeutral - case 2650: self = .xerneasActive - case 2651: self = .hoopaConfined - case 2652: self = .hoopaUnbound - case 2666: self = .sableyeCostume2020Deprecated - case 2668: self = .sableyeCostume2020 - case 2669: self = .pikachuAdventureHat2020 - case 2670: self = .pikachuWinter2020 - case 2671: self = .delibirdWinter2020 - case 2672: self = .cubchooWinter2020 - case 2673: self = .slowpoke2020 - case 2674: self = .slowbro2021 - case 2675: self = .pikachuKariyushi - case 2676: self = .pikachuPopStar - case 2677: self = .pikachuRockStar - case 2678: self = .pikachuFlying5ThAnniv - case 2679: self = .oricorioBaile - case 2680: self = .oricorioPompom - case 2681: self = .oricorioPau - case 2683: self = .oricorioSensu - case 2684: self = .lycanrocMidday - case 2685: self = .lycanrocMidnight - case 2686: self = .lycanrocDusk - case 2687: self = .wishiwashiSolo - case 2688: self = .wishiwashiSchool - case 2689: self = .silvallyNormal - case 2690: self = .silvallyBug - case 2691: self = .silvallyDark - case 2692: self = .silvallyDragon - case 2693: self = .silvallyElectric - case 2694: self = .silvallyFairy - case 2695: self = .silvallyFighting - case 2696: self = .silvallyFire - case 2697: self = .silvallyFlying - case 2698: self = .silvallyGhost - case 2699: self = .silvallyGrass - case 2700: self = .silvallyGround - case 2701: self = .silvallyIce - case 2702: self = .silvallyPoison - case 2703: self = .silvallyPsychic - case 2704: self = .silvallyRock - case 2705: self = .silvallySteel - case 2706: self = .silvallyWater - case 2707: self = .miniorMeteorBlue - case 2708: self = .miniorBlue - case 2709: self = .miniorGreen - case 2710: self = .miniorIndigo - case 2711: self = .miniorOrange - case 2712: self = .miniorRed - case 2713: self = .miniorViolet - case 2714: self = .miniorYellow - case 2715: self = .mimikyuBusted - case 2716: self = .mimikyuDisguised - case 2717: self = .necrozmaNormal - case 2718: self = .necrozmaDuskMane - case 2719: self = .necrozmaDawnWings - case 2720: self = .necrozmaUltra - case 2721: self = .magearnaNormal - case 2722: self = .magearnaOriginalColor - case 2723: self = .urshifuSingleStrike - case 2724: self = .urshifuRapidStrike - case 2725: self = .calyrexNormal - case 2726: self = .calyrexIceRider - case 2727: self = .calyrexShadowRider - case 2728: self = .voltorbHisuian - case 2729: self = .lugiaS - case 2730: self = .hoOhS - case 2731: self = .raikouS - case 2732: self = .enteiS - case 2733: self = .suicuneS - case 2734: self = .slowking2022 - case 2735: self = .electrodeHisuian - case 2736: self = .pikachuFlyingOkinawa - case 2737: self = .rockruffDusk - case 2739: self = .miniorMeteorGreen - case 2740: self = .miniorMeteorIndigo - case 2741: self = .miniorMeteorOrange - case 2742: self = .miniorMeteorRed - case 2743: self = .miniorMeteorViolet - case 2744: self = .miniorMeteorYellow - case 2745: self = .scatterbugArchipelago - case 2746: self = .scatterbugContinental - case 2747: self = .scatterbugElegant - case 2748: self = .scatterbugFancy - case 2749: self = .scatterbugGarden - case 2750: self = .scatterbugHighPlains - case 2751: self = .scatterbugIcySnow - case 2752: self = .scatterbugJungle - case 2753: self = .scatterbugMarine - case 2754: self = .scatterbugMeadow - case 2755: self = .scatterbugModern - case 2756: self = .scatterbugMonsoon - case 2757: self = .scatterbugOcean - case 2758: self = .scatterbugPokeball - case 2759: self = .scatterbugPolar - case 2760: self = .scatterbugRiver - case 2761: self = .scatterbugSandstorm - case 2762: self = .scatterbugSavanna - case 2763: self = .scatterbugSun - case 2764: self = .scatterbugTundra - case 2765: self = .spewpaArchipelago - case 2766: self = .spewpaContinental - case 2767: self = .spewpaElegant - case 2768: self = .spewpaFancy - case 2769: self = .spewpaGarden - case 2770: self = .spewpaHighPlains - case 2771: self = .spewpaIcySnow - case 2772: self = .spewpaJungle - case 2773: self = .spewpaMarine - case 2774: self = .spewpaMeadow - case 2775: self = .spewpaModern - case 2776: self = .spewpaMonsoon - case 2777: self = .spewpaOcean - case 2778: self = .spewpaPokeball - case 2779: self = .spewpaPolar - case 2780: self = .spewpaRiver - case 2781: self = .spewpaSandstorm - case 2782: self = .spewpaSavanna - case 2783: self = .spewpaSun - case 2784: self = .spewpaTundra - case 2785: self = .decidueyeHisuian - case 2786: self = .typhlosionHisuian - case 2787: self = .samurottHisuian - case 2788: self = .qwilfishHisuian - case 2789: self = .lilligantHisuian - case 2790: self = .sliggooHisuian - case 2791: self = .goodraHisuian - case 2792: self = .growlitheHisuian - case 2793: self = .arcanineHisuian - case 2794: self = .sneaselHisuian - case 2795: self = .avaluggHisuian - case 2796: self = .zoruaHisuian - case 2797: self = .zoroarkHisuian - case 2798: self = .braviaryHisuian - case 2799: self = .moltresGalarian - case 2800: self = .zapdosGalarian - case 2801: self = .articunoGalarian - case 2802: self = .enamorusIncarnate - case 2803: self = .enamorusTherian - case 2804: self = .basculinWhiteStriped - case 2805: self = .pikachuGofest2022 - case 2806: self = .pikachuWcs2022 - case 2807: self = .basculegionNormal - case 2808: self = .basculegionFemale - case 2809: self = .decidueyeNormal - case 2810: self = .sliggooNormal - case 2811: self = .goodraNormal - case 2812: self = .avaluggNormal - case 2813: self = .pikachuTshirt01 - case 2814: self = .pikachuTshirt02 - case 2815: self = .pikachuFlying01 - case 2816: self = .pikachuFlying02 - case 2817: self = .ursalunaNormal - case 2818: self = .ursalunaShadow - case 2819: self = .ursalunaPurified - case 2820: self = .bearticWinter2020 - case 2821: self = .latiasS - case 2822: self = .latiosS - case 2823: self = .zygardeCompleteTenPercent - case 2824: self = .zygardeCompleteFiftyPercent - case 2981: self = .oinkologneNormal - case 2982: self = .oinkologneFemale - case 2983: self = .mausholdFamilyOfThree - case 2984: self = .mausholdFamilyOfFour - case 2985: self = .squawkabillyGreen - case 2986: self = .squawkabillyBlue - case 2987: self = .squawkabillyYellow - case 2988: self = .squawkabillyWhite - case 2989: self = .palafinZero - case 2990: self = .palafinHero - case 2991: self = .tatsugiriCurly - case 2992: self = .tatsugiriDroopy - case 2993: self = .tatsugiriStretchy - case 2994: self = .dudunsparceTwo - case 2995: self = .dudunsparceThree - case 2996: self = .koraidonApex - case 2997: self = .miraidonUltimate - case 2998: self = .gimmighoulNormal - case 3000: self = .gholdengoNormal - case 3001: self = .aerodactylSummer2023 - case 3002: self = .pikachuSummer2023A - case 3003: self = .pikachuSummer2023B - case 3004: self = .pikachuSummer2023C - case 3005: self = .pikachuSummer2023D - case 3006: self = .taurosPaldeaCombat - case 3007: self = .taurosPaldeaBlaze - case 3008: self = .taurosPaldeaAqua - case 3009: self = .wooperPaldea - case 3010: self = .pikachuSummer2023E - case 3011: self = .pikachuFlying03 - case 3012: self = .pikachuJeju - case 3013: self = .pikachuDoctor - case 3014: self = .pikachuWcs2023 - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .unownA: return 1 - case .unownB: return 2 - case .unownC: return 3 - case .unownD: return 4 - case .unownE: return 5 - case .unownF: return 6 - case .unownG: return 7 - case .unownH: return 8 - case .unownI: return 9 - case .unownJ: return 10 - case .unownK: return 11 - case .unownL: return 12 - case .unownM: return 13 - case .unownN: return 14 - case .unownO: return 15 - case .unownP: return 16 - case .unownQ: return 17 - case .unownR: return 18 - case .unownS: return 19 - case .unownT: return 20 - case .unownU: return 21 - case .unownV: return 22 - case .unownW: return 23 - case .unownX: return 24 - case .unownY: return 25 - case .unownZ: return 26 - case .unownExclamationPoint: return 27 - case .unownQuestionMark: return 28 - case .castformNormal: return 29 - case .castformSunny: return 30 - case .castformRainy: return 31 - case .castformSnowy: return 32 - case .deoxysNormal: return 33 - case .deoxysAttack: return 34 - case .deoxysDefense: return 35 - case .deoxysSpeed: return 36 - case .spinda00: return 37 - case .spinda01: return 38 - case .spinda02: return 39 - case .spinda03: return 40 - case .spinda04: return 41 - case .spinda05: return 42 - case .spinda06: return 43 - case .spinda07: return 44 - case .rattataNormal: return 45 - case .rattataAlola: return 46 - case .raticateNormal: return 47 - case .raticateAlola: return 48 - case .raichuNormal: return 49 - case .raichuAlola: return 50 - case .sandshrewNormal: return 51 - case .sandshrewAlola: return 52 - case .sandslashNormal: return 53 - case .sandslashAlola: return 54 - case .vulpixNormal: return 55 - case .vulpixAlola: return 56 - case .ninetalesNormal: return 57 - case .ninetalesAlola: return 58 - case .diglettNormal: return 59 - case .diglettAlola: return 60 - case .dugtrioNormal: return 61 - case .dugtrioAlola: return 62 - case .meowthNormal: return 63 - case .meowthAlola: return 64 - case .persianNormal: return 65 - case .persianAlola: return 66 - case .geodudeNormal: return 67 - case .geodudeAlola: return 68 - case .gravelerNormal: return 69 - case .gravelerAlola: return 70 - case .golemNormal: return 71 - case .golemAlola: return 72 - case .grimerNormal: return 73 - case .grimerAlola: return 74 - case .mukNormal: return 75 - case .mukAlola: return 76 - case .exeggutorNormal: return 77 - case .exeggutorAlola: return 78 - case .marowakNormal: return 79 - case .marowakAlola: return 80 - case .rotomNormal: return 81 - case .rotomFrost: return 82 - case .rotomFan: return 83 - case .rotomMow: return 84 - case .rotomWash: return 85 - case .rotomHeat: return 86 - case .wormadamPlant: return 87 - case .wormadamSandy: return 88 - case .wormadamTrash: return 89 - case .giratinaAltered: return 90 - case .giratinaOrigin: return 91 - case .shayminSky: return 92 - case .shayminLand: return 93 - case .cherrimOvercast: return 94 - case .cherrimSunny: return 95 - case .shellosWestSea: return 96 - case .shellosEastSea: return 97 - case .gastrodonWestSea: return 98 - case .gastrodonEastSea: return 99 - case .arceusNormal: return 100 - case .arceusFighting: return 101 - case .arceusFlying: return 102 - case .arceusPoison: return 103 - case .arceusGround: return 104 - case .arceusRock: return 105 - case .arceusBug: return 106 - case .arceusGhost: return 107 - case .arceusSteel: return 108 - case .arceusFire: return 109 - case .arceusWater: return 110 - case .arceusGrass: return 111 - case .arceusElectric: return 112 - case .arceusPsychic: return 113 - case .arceusIce: return 114 - case .arceusDragon: return 115 - case .arceusDark: return 116 - case .arceusFairy: return 117 - case .burmyPlant: return 118 - case .burmySandy: return 119 - case .burmyTrash: return 120 - case .spinda08: return 121 - case .spinda09: return 122 - case .spinda10: return 123 - case .spinda11: return 124 - case .spinda12: return 125 - case .spinda13: return 126 - case .spinda14: return 127 - case .spinda15: return 128 - case .spinda16: return 129 - case .spinda17: return 130 - case .spinda18: return 131 - case .spinda19: return 132 - case .mewtwoA: return 133 - case .mewtwoNormal: return 135 - case .basculinRedStriped: return 136 - case .basculinBlueStriped: return 137 - case .darmanitanStandard: return 138 - case .darmanitanZen: return 139 - case .tornadusIncarnate: return 140 - case .tornadusTherian: return 141 - case .thundurusIncarnate: return 142 - case .thundurusTherian: return 143 - case .landorusIncarnate: return 144 - case .landorusTherian: return 145 - case .kyuremNormal: return 146 - case .kyuremBlack: return 147 - case .kyuremWhite: return 148 - case .keldeoOrdinary: return 149 - case .keldeoResolute: return 150 - case .meloettaAria: return 151 - case .meloettaPirouette: return 152 - case .rattataShadow: return 153 - case .rattataPurified: return 154 - case .raticateShadow: return 155 - case .raticatePurified: return 156 - case .zubatNormal: return 157 - case .zubatShadow: return 158 - case .zubatPurified: return 159 - case .golbatNormal: return 160 - case .golbatShadow: return 161 - case .golbatPurified: return 162 - case .bulbasaurNormal: return 163 - case .bulbasaurShadow: return 164 - case .bulbasaurPurified: return 165 - case .ivysaurNormal: return 166 - case .ivysaurShadow: return 167 - case .ivysaurPurified: return 168 - case .venusaurNormal: return 169 - case .venusaurShadow: return 170 - case .venusaurPurified: return 171 - case .charmanderNormal: return 172 - case .charmanderShadow: return 173 - case .charmanderPurified: return 174 - case .charmeleonNormal: return 175 - case .charmeleonShadow: return 176 - case .charmeleonPurified: return 177 - case .charizardNormal: return 178 - case .charizardShadow: return 179 - case .charizardPurified: return 180 - case .squirtleNormal: return 181 - case .squirtleShadow: return 182 - case .squirtlePurified: return 183 - case .wartortleNormal: return 184 - case .wartortleShadow: return 185 - case .wartortlePurified: return 186 - case .blastoiseNormal: return 187 - case .blastoiseShadow: return 188 - case .blastoisePurified: return 189 - case .dratiniNormal: return 190 - case .dratiniShadow: return 191 - case .dratiniPurified: return 192 - case .dragonairNormal: return 193 - case .dragonairShadow: return 194 - case .dragonairPurified: return 195 - case .dragoniteNormal: return 196 - case .dragoniteShadow: return 197 - case .dragonitePurified: return 198 - case .snorlaxNormal: return 199 - case .snorlaxShadow: return 200 - case .snorlaxPurified: return 201 - case .crobatNormal: return 202 - case .crobatShadow: return 203 - case .crobatPurified: return 204 - case .mudkipNormal: return 205 - case .mudkipShadow: return 206 - case .mudkipPurified: return 207 - case .marshtompNormal: return 208 - case .marshtompShadow: return 209 - case .marshtompPurified: return 210 - case .swampertNormal: return 211 - case .swampertShadow: return 212 - case .swampertPurified: return 213 - case .drowzeeNormal: return 214 - case .drowzeeShadow: return 215 - case .drowzeePurified: return 216 - case .hypnoNormal: return 217 - case .hypnoShadow: return 218 - case .hypnoPurified: return 219 - case .grimerShadow: return 220 - case .grimerPurified: return 221 - case .mukShadow: return 222 - case .mukPurified: return 223 - case .cuboneNormal: return 224 - case .cuboneShadow: return 225 - case .cubonePurified: return 226 - case .marowakShadow: return 227 - case .marowakPurified: return 228 - case .houndourNormal: return 229 - case .houndourShadow: return 230 - case .houndourPurified: return 231 - case .houndoomNormal: return 232 - case .houndoomShadow: return 233 - case .houndoomPurified: return 234 - case .poliwagNormal: return 235 - case .poliwagShadow: return 236 - case .poliwagPurified: return 237 - case .poliwhirlNormal: return 238 - case .poliwhirlShadow: return 239 - case .poliwhirlPurified: return 240 - case .poliwrathNormal: return 241 - case .poliwrathShadow: return 242 - case .poliwrathPurified: return 243 - case .politoedNormal: return 244 - case .politoedShadow: return 245 - case .politoedPurified: return 246 - case .scytherNormal: return 247 - case .scytherShadow: return 248 - case .scytherPurified: return 249 - case .scizorNormal: return 250 - case .scizorShadow: return 251 - case .scizorPurified: return 252 - case .magikarpNormal: return 253 - case .magikarpShadow: return 254 - case .magikarpPurified: return 255 - case .gyaradosNormal: return 256 - case .gyaradosShadow: return 257 - case .gyaradosPurified: return 258 - case .venonatNormal: return 259 - case .venonatShadow: return 260 - case .venonatPurified: return 261 - case .venomothNormal: return 262 - case .venomothShadow: return 263 - case .venomothPurified: return 264 - case .oddishNormal: return 265 - case .oddishShadow: return 266 - case .oddishPurified: return 267 - case .gloomNormal: return 268 - case .gloomShadow: return 269 - case .gloomPurified: return 270 - case .vileplumeNormal: return 271 - case .vileplumeShadow: return 272 - case .vileplumePurified: return 273 - case .bellossomNormal: return 274 - case .bellossomShadow: return 275 - case .bellossomPurified: return 276 - case .hitmonchanNormal: return 277 - case .hitmonchanShadow: return 278 - case .hitmonchanPurified: return 279 - case .growlitheNormal: return 280 - case .growlitheShadow: return 281 - case .growlithePurified: return 282 - case .arcanineNormal: return 283 - case .arcanineShadow: return 284 - case .arcaninePurified: return 285 - case .psyduckNormal: return 286 - case .psyduckShadow: return 287 - case .psyduckPurified: return 288 - case .golduckNormal: return 289 - case .golduckShadow: return 290 - case .golduckPurified: return 291 - case .raltsNormal: return 292 - case .raltsShadow: return 293 - case .raltsPurified: return 294 - case .kirliaNormal: return 295 - case .kirliaShadow: return 296 - case .kirliaPurified: return 297 - case .gardevoirNormal: return 298 - case .gardevoirShadow: return 299 - case .gardevoirPurified: return 300 - case .galladeNormal: return 301 - case .galladeShadow: return 302 - case .galladePurified: return 303 - case .abraNormal: return 304 - case .abraShadow: return 305 - case .abraPurified: return 306 - case .kadabraNormal: return 307 - case .kadabraShadow: return 308 - case .kadabraPurified: return 309 - case .alakazamNormal: return 310 - case .alakazamShadow: return 311 - case .alakazamPurified: return 312 - case .larvitarNormal: return 313 - case .larvitarShadow: return 314 - case .larvitarPurified: return 315 - case .pupitarNormal: return 316 - case .pupitarShadow: return 317 - case .pupitarPurified: return 318 - case .tyranitarNormal: return 319 - case .tyranitarShadow: return 320 - case .tyranitarPurified: return 321 - case .laprasNormal: return 322 - case .laprasShadow: return 323 - case .laprasPurified: return 324 - case .deerlingSpring: return 585 - case .deerlingSummer: return 586 - case .deerlingAutumn: return 587 - case .deerlingWinter: return 588 - case .sawsbuckSpring: return 589 - case .sawsbuckSummer: return 590 - case .sawsbuckAutumn: return 591 - case .sawsbuckWinter: return 592 - case .genesectNormal: return 593 - case .genesectShock: return 594 - case .genesectBurn: return 595 - case .genesectChill: return 596 - case .genesectDouse: return 597 - case .pikachuNormal: return 598 - case .wurmpleNormal: return 600 - case .wobbuffetNormal: return 602 - case .cacneaNormal: return 610 - case .cacneaShadow: return 611 - case .cacneaPurified: return 612 - case .cacturneNormal: return 613 - case .cacturneShadow: return 614 - case .cacturnePurified: return 615 - case .weedleNormal: return 616 - case .weedleShadow: return 617 - case .weedlePurified: return 618 - case .kakunaNormal: return 619 - case .kakunaShadow: return 620 - case .kakunaPurified: return 621 - case .beedrillNormal: return 622 - case .beedrillShadow: return 623 - case .beedrillPurified: return 624 - case .seedotNormal: return 625 - case .seedotShadow: return 626 - case .seedotPurified: return 627 - case .nuzleafNormal: return 628 - case .nuzleafShadow: return 629 - case .nuzleafPurified: return 630 - case .shiftryNormal: return 631 - case .shiftryShadow: return 632 - case .shiftryPurified: return 633 - case .magmarNormal: return 634 - case .magmarShadow: return 635 - case .magmarPurified: return 636 - case .magmortarNormal: return 637 - case .magmortarShadow: return 638 - case .magmortarPurified: return 639 - case .electabuzzNormal: return 640 - case .electabuzzShadow: return 641 - case .electabuzzPurified: return 642 - case .electivireNormal: return 643 - case .electivireShadow: return 644 - case .electivirePurified: return 645 - case .mareepNormal: return 646 - case .mareepShadow: return 647 - case .mareepPurified: return 648 - case .flaaffyNormal: return 649 - case .flaaffyShadow: return 650 - case .flaaffyPurified: return 651 - case .ampharosNormal: return 652 - case .ampharosShadow: return 653 - case .ampharosPurified: return 654 - case .magnemiteNormal: return 655 - case .magnemiteShadow: return 656 - case .magnemitePurified: return 657 - case .magnetonNormal: return 658 - case .magnetonShadow: return 659 - case .magnetonPurified: return 660 - case .magnezoneNormal: return 661 - case .magnezoneShadow: return 662 - case .magnezonePurified: return 663 - case .bellsproutNormal: return 664 - case .bellsproutShadow: return 665 - case .bellsproutPurified: return 666 - case .weepinbellNormal: return 667 - case .weepinbellShadow: return 668 - case .weepinbellPurified: return 669 - case .victreebelNormal: return 670 - case .victreebelShadow: return 671 - case .victreebelPurified: return 672 - case .sandshrewShadow: return 673 - case .sandshrewPurified: return 674 - case .sandslashShadow: return 675 - case .sandslashPurified: return 676 - case .porygonNormal: return 677 - case .porygonShadow: return 678 - case .porygonPurified: return 679 - case .porygon2Normal: return 680 - case .porygon2Shadow: return 681 - case .porygon2Purified: return 682 - case .porygonZNormal: return 683 - case .porygonZShadow: return 684 - case .porygonZPurified: return 685 - case .wobbuffetShadow: return 686 - case .wobbuffetPurified: return 687 - case .turtwigNormal: return 688 - case .turtwigShadow: return 689 - case .turtwigPurified: return 690 - case .grotleNormal: return 691 - case .grotleShadow: return 692 - case .grotlePurified: return 693 - case .torterraNormal: return 694 - case .torterraShadow: return 695 - case .torterraPurified: return 696 - case .ekansNormal: return 697 - case .ekansShadow: return 698 - case .ekansPurified: return 699 - case .arbokNormal: return 700 - case .arbokShadow: return 701 - case .arbokPurified: return 702 - case .koffingNormal: return 703 - case .koffingShadow: return 704 - case .koffingPurified: return 705 - case .weezingNormal: return 706 - case .weezingShadow: return 707 - case .weezingPurified: return 708 - case .meowthShadow: return 709 - case .meowthPurified: return 710 - case .persianShadow: return 711 - case .persianPurified: return 712 - case .hitmonleeNormal: return 713 - case .hitmonleeShadow: return 714 - case .hitmonleePurified: return 715 - case .articunoNormal: return 716 - case .articunoShadow: return 717 - case .articunoPurified: return 718 - case .misdreavusNormal: return 719 - case .misdreavusShadow: return 720 - case .misdreavusPurified: return 721 - case .mismagiusNormal: return 722 - case .mismagiusShadow: return 723 - case .mismagiusPurified: return 724 - case .vulpixShadow: return 725 - case .vulpixPurified: return 726 - case .ninetalesShadow: return 727 - case .ninetalesPurified: return 728 - case .exeggcuteNormal: return 729 - case .exeggcuteShadow: return 730 - case .exeggcutePurified: return 731 - case .exeggutorShadow: return 732 - case .exeggutorPurified: return 733 - case .carvanhaNormal: return 734 - case .carvanhaShadow: return 735 - case .carvanhaPurified: return 736 - case .sharpedoNormal: return 737 - case .sharpedoShadow: return 738 - case .sharpedoPurified: return 739 - case .omanyteNormal: return 740 - case .omanyteShadow: return 741 - case .omanytePurified: return 742 - case .omastarNormal: return 743 - case .omastarShadow: return 744 - case .omastarPurified: return 745 - case .trapinchNormal: return 746 - case .trapinchShadow: return 747 - case .trapinchPurified: return 748 - case .vibravaNormal: return 749 - case .vibravaShadow: return 750 - case .vibravaPurified: return 751 - case .flygonNormal: return 752 - case .flygonShadow: return 753 - case .flygonPurified: return 754 - case .bagonNormal: return 755 - case .bagonShadow: return 756 - case .bagonPurified: return 757 - case .shelgonNormal: return 758 - case .shelgonShadow: return 759 - case .shelgonPurified: return 760 - case .salamenceNormal: return 761 - case .salamenceShadow: return 762 - case .salamencePurified: return 763 - case .beldumNormal: return 764 - case .beldumShadow: return 765 - case .beldumPurified: return 766 - case .metangNormal: return 767 - case .metangShadow: return 768 - case .metangPurified: return 769 - default: break - } - switch self { - case .metagrossNormal: return 770 - case .metagrossShadow: return 771 - case .metagrossPurified: return 772 - case .zapdosNormal: return 773 - case .zapdosShadow: return 774 - case .zapdosPurified: return 775 - case .nidoranNormal: return 776 - case .nidoranShadow: return 777 - case .nidoranPurified: return 778 - case .nidorinaNormal: return 779 - case .nidorinaShadow: return 780 - case .nidorinaPurified: return 781 - case .nidoqueenNormal: return 782 - case .nidoqueenShadow: return 783 - case .nidoqueenPurified: return 784 - case .nidorinoNormal: return 785 - case .nidorinoShadow: return 786 - case .nidorinoPurified: return 787 - case .nidokingNormal: return 788 - case .nidokingShadow: return 789 - case .nidokingPurified: return 790 - case .stunkyNormal: return 791 - case .stunkyShadow: return 792 - case .stunkyPurified: return 793 - case .skuntankNormal: return 794 - case .skuntankShadow: return 795 - case .skuntankPurified: return 796 - case .sneaselNormal: return 797 - case .sneaselShadow: return 798 - case .sneaselPurified: return 799 - case .weavileNormal: return 800 - case .weavileShadow: return 801 - case .weavilePurified: return 802 - case .gligarNormal: return 803 - case .gligarShadow: return 804 - case .gligarPurified: return 805 - case .gliscorNormal: return 806 - case .gliscorShadow: return 807 - case .gliscorPurified: return 808 - case .machopNormal: return 809 - case .machopShadow: return 810 - case .machopPurified: return 811 - case .machokeNormal: return 812 - case .machokeShadow: return 813 - case .machokePurified: return 814 - case .machampNormal: return 815 - case .machampShadow: return 816 - case .machampPurified: return 817 - case .chimcharNormal: return 818 - case .chimcharShadow: return 819 - case .chimcharPurified: return 820 - case .monfernoNormal: return 821 - case .monfernoShadow: return 822 - case .monfernoPurified: return 823 - case .infernapeNormal: return 824 - case .infernapeShadow: return 825 - case .infernapePurified: return 826 - case .shuckleNormal: return 827 - case .shuckleShadow: return 828 - case .shucklePurified: return 829 - case .absolNormal: return 830 - case .absolShadow: return 831 - case .absolPurified: return 832 - case .mawileNormal: return 833 - case .mawileShadow: return 834 - case .mawilePurified: return 835 - case .moltresNormal: return 836 - case .moltresShadow: return 837 - case .moltresPurified: return 838 - case .kangaskhanNormal: return 839 - case .kangaskhanShadow: return 840 - case .kangaskhanPurified: return 841 - case .diglettShadow: return 842 - case .diglettPurified: return 843 - case .dugtrioShadow: return 844 - case .dugtrioPurified: return 845 - case .rhyhornNormal: return 846 - case .rhyhornShadow: return 847 - case .rhyhornPurified: return 848 - case .rhydonNormal: return 849 - case .rhydonShadow: return 850 - case .rhydonPurified: return 851 - case .rhyperiorNormal: return 852 - case .rhyperiorShadow: return 853 - case .rhyperiorPurified: return 854 - case .murkrowNormal: return 855 - case .murkrowShadow: return 856 - case .murkrowPurified: return 857 - case .honchkrowNormal: return 858 - case .honchkrowShadow: return 859 - case .honchkrowPurified: return 860 - case .gibleNormal: return 861 - case .gibleShadow: return 862 - case .giblePurified: return 863 - case .gabiteNormal: return 864 - case .gabiteShadow: return 865 - case .gabitePurified: return 866 - case .garchompNormal: return 867 - case .garchompShadow: return 868 - case .garchompPurified: return 869 - case .krabbyNormal: return 870 - case .krabbyShadow: return 871 - case .krabbyPurified: return 872 - case .kinglerNormal: return 873 - case .kinglerShadow: return 874 - case .kinglerPurified: return 875 - case .shellderNormal: return 876 - case .shellderShadow: return 877 - case .shellderPurified: return 878 - case .cloysterNormal: return 879 - case .cloysterShadow: return 880 - case .cloysterPurified: return 881 - case .geodudeShadow: return 882 - case .geodudePurified: return 883 - case .gravelerShadow: return 884 - case .gravelerPurified: return 885 - case .golemShadow: return 886 - case .golemPurified: return 887 - case .hippopotasNormal: return 888 - case .hippopotasShadow: return 889 - case .hippopotasPurified: return 890 - case .hippowdonNormal: return 891 - case .hippowdonShadow: return 892 - case .hippowdonPurified: return 893 - case .pikachuFall2019: return 894 - case .squirtleFall2019: return 895 - case .charmanderFall2019: return 896 - case .bulbasaurFall2019: return 897 - case .pinsirNormal: return 898 - case .pinsirShadow: return 899 - case .pinsirPurified: return 900 - case .pikachuVs2019: return 901 - case .onixNormal: return 902 - case .onixShadow: return 903 - case .onixPurified: return 904 - case .steelixNormal: return 905 - case .steelixShadow: return 906 - case .steelixPurified: return 907 - case .shuppetNormal: return 908 - case .shuppetShadow: return 909 - case .shuppetPurified: return 910 - case .banetteNormal: return 911 - case .banetteShadow: return 912 - case .banettePurified: return 913 - case .duskullNormal: return 914 - case .duskullShadow: return 915 - case .duskullPurified: return 916 - case .dusclopsNormal: return 917 - case .dusclopsShadow: return 918 - case .dusclopsPurified: return 919 - case .dusknoirNormal: return 920 - case .dusknoirShadow: return 921 - case .dusknoirPurified: return 922 - case .sableyeNormal: return 923 - case .sableyeShadow: return 924 - case .sableyePurified: return 925 - case .snoruntNormal: return 926 - case .snoruntShadow: return 927 - case .snoruntPurified: return 928 - case .glalieNormal: return 929 - case .glalieShadow: return 930 - case .glaliePurified: return 931 - case .snoverNormal: return 932 - case .snoverShadow: return 933 - case .snoverPurified: return 934 - case .abomasnowNormal: return 935 - case .abomasnowShadow: return 936 - case .abomasnowPurified: return 937 - case .delibirdNormal: return 938 - case .delibirdShadow: return 939 - case .delibirdPurified: return 940 - case .stantlerNormal: return 941 - case .stantlerShadow: return 942 - case .stantlerPurified: return 943 - case .weezingGalarian: return 944 - case .zigzagoonNormal: return 945 - case .zigzagoonGalarian: return 946 - case .linooneNormal: return 947 - case .linooneGalarian: return 948 - case .pikachuCopy2019: return 949 - case .venusaurCopy2019: return 950 - case .charizardCopy2019: return 951 - case .blastoiseCopy2019: return 952 - case .caterpieNormal: return 953 - case .caterpieShadow: return 954 - case .caterpiePurified: return 955 - case .metapodNormal: return 956 - case .metapodShadow: return 957 - case .metapodPurified: return 958 - case .butterfreeNormal: return 959 - case .butterfreeShadow: return 960 - case .butterfreePurified: return 961 - case .pidgeyNormal: return 962 - case .pidgeyShadow: return 963 - case .pidgeyPurified: return 964 - case .pidgeottoNormal: return 965 - case .pidgeottoShadow: return 966 - case .pidgeottoPurified: return 967 - case .pidgeotNormal: return 968 - case .pidgeotShadow: return 969 - case .pidgeotPurified: return 970 - case .spearowNormal: return 971 - case .spearowShadow: return 972 - case .spearowPurified: return 973 - case .fearowNormal: return 974 - case .fearowShadow: return 975 - case .fearowPurified: return 976 - case .pikachuShadow: return 977 - case .pikachuPurified: return 978 - case .raichuShadow: return 979 - case .raichuPurified: return 980 - case .clefairyNormal: return 981 - case .clefairyShadow: return 982 - case .clefairyPurified: return 983 - case .clefableNormal: return 984 - case .clefableShadow: return 985 - case .clefablePurified: return 986 - case .jigglypuffNormal: return 987 - case .jigglypuffShadow: return 988 - case .jigglypuffPurified: return 989 - case .wigglytuffNormal: return 990 - case .wigglytuffShadow: return 991 - case .wigglytuffPurified: return 992 - case .parasNormal: return 993 - case .parasShadow: return 994 - case .parasPurified: return 995 - case .parasectNormal: return 996 - case .parasectShadow: return 997 - case .parasectPurified: return 998 - case .mankeyNormal: return 999 - case .mankeyShadow: return 1000 - case .mankeyPurified: return 1001 - case .primeapeNormal: return 1002 - case .primeapeShadow: return 1003 - case .primeapePurified: return 1004 - case .tentacoolNormal: return 1005 - case .tentacoolShadow: return 1006 - case .tentacoolPurified: return 1007 - case .tentacruelNormal: return 1008 - case .tentacruelShadow: return 1009 - case .tentacruelPurified: return 1010 - case .ponytaNormal: return 1011 - case .ponytaShadow: return 1012 - case .ponytaPurified: return 1013 - case .rapidashNormal: return 1014 - case .rapidashShadow: return 1015 - case .rapidashPurified: return 1016 - case .slowpokeNormal: return 1017 - case .slowpokeShadow: return 1018 - case .slowpokePurified: return 1019 - case .slowbroNormal: return 1020 - case .slowbroShadow: return 1021 - case .slowbroPurified: return 1022 - case .farfetchdNormal: return 1023 - case .farfetchdShadow: return 1024 - case .farfetchdPurified: return 1025 - case .doduoNormal: return 1026 - case .doduoShadow: return 1027 - case .doduoPurified: return 1028 - case .dodrioNormal: return 1029 - case .dodrioShadow: return 1030 - case .dodrioPurified: return 1031 - case .seelNormal: return 1032 - case .seelShadow: return 1033 - case .seelPurified: return 1034 - case .dewgongNormal: return 1035 - case .dewgongShadow: return 1036 - case .dewgongPurified: return 1037 - case .gastlyNormal: return 1038 - case .gastlyShadow: return 1039 - case .gastlyPurified: return 1040 - case .haunterNormal: return 1041 - case .haunterShadow: return 1042 - case .haunterPurified: return 1043 - case .gengarNormal: return 1044 - case .gengarShadow: return 1045 - case .gengarPurified: return 1046 - case .voltorbNormal: return 1047 - case .voltorbShadow: return 1048 - case .voltorbPurified: return 1049 - case .electrodeNormal: return 1050 - case .electrodeShadow: return 1051 - case .electrodePurified: return 1052 - case .lickitungNormal: return 1053 - case .lickitungShadow: return 1054 - case .lickitungPurified: return 1055 - case .chanseyNormal: return 1056 - case .chanseyShadow: return 1057 - case .chanseyPurified: return 1058 - case .tangelaNormal: return 1059 - case .tangelaShadow: return 1060 - case .tangelaPurified: return 1061 - case .horseaNormal: return 1062 - case .horseaShadow: return 1063 - case .horseaPurified: return 1064 - case .seadraNormal: return 1065 - case .seadraShadow: return 1066 - case .seadraPurified: return 1067 - case .goldeenNormal: return 1068 - case .goldeenShadow: return 1069 - case .goldeenPurified: return 1070 - case .seakingNormal: return 1071 - case .seakingShadow: return 1072 - case .seakingPurified: return 1073 - case .staryuNormal: return 1074 - case .staryuShadow: return 1075 - case .staryuPurified: return 1076 - case .starmieNormal: return 1077 - case .starmieShadow: return 1078 - case .starmiePurified: return 1079 - case .mrMimeNormal: return 1080 - case .mrMimeShadow: return 1081 - case .mrMimePurified: return 1082 - case .jynxNormal: return 1083 - case .jynxShadow: return 1084 - case .jynxPurified: return 1085 - case .taurosNormal: return 1086 - case .taurosShadow: return 1087 - case .taurosPurified: return 1088 - case .dittoNormal: return 1089 - case .dittoShadow: return 1090 - case .dittoPurified: return 1091 - case .eeveeNormal: return 1092 - case .eeveeShadow: return 1093 - case .eeveePurified: return 1094 - case .vaporeonNormal: return 1095 - case .vaporeonShadow: return 1096 - case .vaporeonPurified: return 1097 - case .jolteonNormal: return 1098 - case .jolteonShadow: return 1099 - case .jolteonPurified: return 1100 - case .flareonNormal: return 1101 - case .flareonShadow: return 1102 - case .flareonPurified: return 1103 - case .kabutoNormal: return 1104 - case .kabutoShadow: return 1105 - case .kabutoPurified: return 1106 - case .kabutopsNormal: return 1107 - case .kabutopsShadow: return 1108 - case .kabutopsPurified: return 1109 - case .aerodactylNormal: return 1110 - case .aerodactylShadow: return 1111 - case .aerodactylPurified: return 1112 - case .mewtwoShadow: return 1113 - case .mewtwoPurified: return 1114 - case .mewNormal: return 1115 - case .mewShadow: return 1116 - case .mewPurified: return 1117 - case .chikoritaNormal: return 1118 - case .chikoritaShadow: return 1119 - case .chikoritaPurified: return 1120 - case .bayleefNormal: return 1121 - case .bayleefShadow: return 1122 - case .bayleefPurified: return 1123 - case .meganiumNormal: return 1124 - case .meganiumShadow: return 1125 - case .meganiumPurified: return 1126 - case .cyndaquilNormal: return 1127 - case .cyndaquilShadow: return 1128 - case .cyndaquilPurified: return 1129 - case .quilavaNormal: return 1130 - case .quilavaShadow: return 1131 - case .quilavaPurified: return 1132 - case .typhlosionNormal: return 1133 - case .typhlosionShadow: return 1134 - case .typhlosionPurified: return 1135 - case .totodileNormal: return 1136 - case .totodileShadow: return 1137 - case .totodilePurified: return 1138 - case .croconawNormal: return 1139 - case .croconawShadow: return 1140 - case .croconawPurified: return 1141 - case .feraligatrNormal: return 1142 - case .feraligatrShadow: return 1143 - case .feraligatrPurified: return 1144 - case .sentretNormal: return 1145 - case .sentretShadow: return 1146 - case .sentretPurified: return 1147 - case .furretNormal: return 1148 - case .furretShadow: return 1149 - case .furretPurified: return 1150 - case .hoothootNormal: return 1151 - case .hoothootShadow: return 1152 - case .hoothootPurified: return 1153 - case .noctowlNormal: return 1154 - case .noctowlShadow: return 1155 - case .noctowlPurified: return 1156 - case .ledybaNormal: return 1157 - case .ledybaShadow: return 1158 - case .ledybaPurified: return 1159 - case .ledianNormal: return 1160 - case .ledianShadow: return 1161 - case .ledianPurified: return 1162 - case .spinarakNormal: return 1163 - case .spinarakShadow: return 1164 - case .spinarakPurified: return 1165 - case .ariadosNormal: return 1166 - case .ariadosShadow: return 1167 - case .ariadosPurified: return 1168 - case .chinchouNormal: return 1169 - case .chinchouShadow: return 1170 - case .chinchouPurified: return 1171 - case .lanturnNormal: return 1172 - case .lanturnShadow: return 1173 - case .lanturnPurified: return 1174 - case .pichuNormal: return 1175 - case .pichuShadow: return 1176 - case .pichuPurified: return 1177 - case .cleffaNormal: return 1178 - case .cleffaShadow: return 1179 - case .cleffaPurified: return 1180 - case .igglybuffNormal: return 1181 - case .igglybuffShadow: return 1182 - case .igglybuffPurified: return 1183 - case .togepiNormal: return 1184 - case .togepiShadow: return 1185 - case .togepiPurified: return 1186 - case .togeticNormal: return 1187 - case .togeticShadow: return 1188 - case .togeticPurified: return 1189 - case .natuNormal: return 1190 - case .natuShadow: return 1191 - case .natuPurified: return 1192 - case .xatuNormal: return 1193 - case .xatuShadow: return 1194 - case .xatuPurified: return 1195 - case .marillNormal: return 1196 - case .marillShadow: return 1197 - case .marillPurified: return 1198 - case .azumarillNormal: return 1199 - case .azumarillShadow: return 1200 - case .azumarillPurified: return 1201 - case .sudowoodoNormal: return 1202 - case .sudowoodoShadow: return 1203 - case .sudowoodoPurified: return 1204 - case .hoppipNormal: return 1205 - case .hoppipShadow: return 1206 - case .hoppipPurified: return 1207 - case .skiploomNormal: return 1208 - case .skiploomShadow: return 1209 - case .skiploomPurified: return 1210 - case .jumpluffNormal: return 1211 - case .jumpluffShadow: return 1212 - case .jumpluffPurified: return 1213 - case .aipomNormal: return 1214 - case .aipomShadow: return 1215 - case .aipomPurified: return 1216 - case .sunkernNormal: return 1217 - case .sunkernShadow: return 1218 - case .sunkernPurified: return 1219 - case .sunfloraNormal: return 1220 - case .sunfloraShadow: return 1221 - case .sunfloraPurified: return 1222 - case .yanmaNormal: return 1223 - case .yanmaShadow: return 1224 - case .yanmaPurified: return 1225 - case .wooperNormal: return 1226 - case .wooperShadow: return 1227 - case .wooperPurified: return 1228 - case .quagsireNormal: return 1229 - case .quagsireShadow: return 1230 - case .quagsirePurified: return 1231 - case .espeonNormal: return 1232 - case .espeonShadow: return 1233 - case .espeonPurified: return 1234 - case .umbreonNormal: return 1235 - case .umbreonShadow: return 1236 - case .umbreonPurified: return 1237 - case .slowkingNormal: return 1238 - case .slowkingShadow: return 1239 - case .slowkingPurified: return 1240 - case .girafarigNormal: return 1241 - case .girafarigShadow: return 1242 - case .girafarigPurified: return 1243 - case .pinecoNormal: return 1244 - case .pinecoShadow: return 1245 - case .pinecoPurified: return 1246 - case .forretressNormal: return 1247 - case .forretressShadow: return 1248 - case .forretressPurified: return 1249 - case .dunsparceNormal: return 1250 - case .dunsparceShadow: return 1251 - case .dunsparcePurified: return 1252 - case .snubbullNormal: return 1253 - case .snubbullShadow: return 1254 - case .snubbullPurified: return 1255 - case .granbullNormal: return 1256 - case .granbullShadow: return 1257 - case .granbullPurified: return 1258 - case .qwilfishNormal: return 1259 - case .qwilfishShadow: return 1260 - case .qwilfishPurified: return 1261 - case .heracrossNormal: return 1262 - case .heracrossShadow: return 1263 - case .heracrossPurified: return 1264 - case .teddiursaNormal: return 1265 - case .teddiursaShadow: return 1266 - case .teddiursaPurified: return 1267 - case .ursaringNormal: return 1268 - case .ursaringShadow: return 1269 - default: break - } - switch self { - case .ursaringPurified: return 1270 - case .slugmaNormal: return 1271 - case .slugmaShadow: return 1272 - case .slugmaPurified: return 1273 - case .magcargoNormal: return 1274 - case .magcargoShadow: return 1275 - case .magcargoPurified: return 1276 - case .swinubNormal: return 1277 - case .swinubShadow: return 1278 - case .swinubPurified: return 1279 - case .piloswineNormal: return 1280 - case .piloswineShadow: return 1281 - case .piloswinePurified: return 1282 - case .corsolaNormal: return 1283 - case .corsolaShadow: return 1284 - case .corsolaPurified: return 1285 - case .remoraidNormal: return 1286 - case .remoraidShadow: return 1287 - case .remoraidPurified: return 1288 - case .octilleryNormal: return 1289 - case .octilleryShadow: return 1290 - case .octilleryPurified: return 1291 - case .mantineNormal: return 1292 - case .mantineShadow: return 1293 - case .mantinePurified: return 1294 - case .skarmoryNormal: return 1295 - case .skarmoryShadow: return 1296 - case .skarmoryPurified: return 1297 - case .kingdraNormal: return 1298 - case .kingdraShadow: return 1299 - case .kingdraPurified: return 1300 - case .phanpyNormal: return 1301 - case .phanpyShadow: return 1302 - case .phanpyPurified: return 1303 - case .donphanNormal: return 1304 - case .donphanShadow: return 1305 - case .donphanPurified: return 1306 - case .smeargleNormal: return 1307 - case .smeargleShadow: return 1308 - case .smearglePurified: return 1309 - case .tyrogueNormal: return 1310 - case .tyrogueShadow: return 1311 - case .tyroguePurified: return 1312 - case .hitmontopNormal: return 1313 - case .hitmontopShadow: return 1314 - case .hitmontopPurified: return 1315 - case .smoochumNormal: return 1316 - case .smoochumShadow: return 1317 - case .smoochumPurified: return 1318 - case .elekidNormal: return 1319 - case .elekidShadow: return 1320 - case .elekidPurified: return 1321 - case .magbyNormal: return 1322 - case .magbyShadow: return 1323 - case .magbyPurified: return 1324 - case .miltankNormal: return 1325 - case .miltankShadow: return 1326 - case .miltankPurified: return 1327 - case .blisseyNormal: return 1328 - case .blisseyShadow: return 1329 - case .blisseyPurified: return 1330 - case .raikouNormal: return 1331 - case .raikouShadow: return 1332 - case .raikouPurified: return 1333 - case .enteiNormal: return 1334 - case .enteiShadow: return 1335 - case .enteiPurified: return 1336 - case .suicuneNormal: return 1337 - case .suicuneShadow: return 1338 - case .suicunePurified: return 1339 - case .lugiaNormal: return 1340 - case .lugiaShadow: return 1341 - case .lugiaPurified: return 1342 - case .hoOhNormal: return 1343 - case .hoOhShadow: return 1344 - case .hoOhPurified: return 1345 - case .celebiNormal: return 1346 - case .celebiShadow: return 1347 - case .celebiPurified: return 1348 - case .treeckoNormal: return 1349 - case .treeckoShadow: return 1350 - case .treeckoPurified: return 1351 - case .grovyleNormal: return 1352 - case .grovyleShadow: return 1353 - case .grovylePurified: return 1354 - case .sceptileNormal: return 1355 - case .sceptileShadow: return 1356 - case .sceptilePurified: return 1357 - case .torchicNormal: return 1358 - case .torchicShadow: return 1359 - case .torchicPurified: return 1360 - case .combuskenNormal: return 1361 - case .combuskenShadow: return 1362 - case .combuskenPurified: return 1363 - case .blazikenNormal: return 1364 - case .blazikenShadow: return 1365 - case .blazikenPurified: return 1366 - case .poochyenaNormal: return 1367 - case .poochyenaShadow: return 1368 - case .poochyenaPurified: return 1369 - case .mightyenaNormal: return 1370 - case .mightyenaShadow: return 1371 - case .mightyenaPurified: return 1372 - case .zigzagoonShadow: return 1373 - case .zigzagoonPurified: return 1374 - case .linooneShadow: return 1375 - case .linoonePurified: return 1376 - case .wurmpleShadow: return 1377 - case .wurmplePurified: return 1378 - case .silcoonNormal: return 1379 - case .silcoonShadow: return 1380 - case .silcoonPurified: return 1381 - case .beautiflyNormal: return 1382 - case .beautiflyShadow: return 1383 - case .beautiflyPurified: return 1384 - case .cascoonNormal: return 1385 - case .cascoonShadow: return 1386 - case .cascoonPurified: return 1387 - case .dustoxNormal: return 1388 - case .dustoxShadow: return 1389 - case .dustoxPurified: return 1390 - case .lotadNormal: return 1391 - case .lotadShadow: return 1392 - case .lotadPurified: return 1393 - case .lombreNormal: return 1394 - case .lombreShadow: return 1395 - case .lombrePurified: return 1396 - case .ludicoloNormal: return 1397 - case .ludicoloShadow: return 1398 - case .ludicoloPurified: return 1399 - case .taillowNormal: return 1400 - case .taillowShadow: return 1401 - case .taillowPurified: return 1402 - case .swellowNormal: return 1403 - case .swellowShadow: return 1404 - case .swellowPurified: return 1405 - case .wingullNormal: return 1406 - case .wingullShadow: return 1407 - case .wingullPurified: return 1408 - case .pelipperNormal: return 1409 - case .pelipperShadow: return 1410 - case .pelipperPurified: return 1411 - case .surskitNormal: return 1412 - case .surskitShadow: return 1413 - case .surskitPurified: return 1414 - case .masquerainNormal: return 1415 - case .masquerainShadow: return 1416 - case .masquerainPurified: return 1417 - case .shroomishNormal: return 1418 - case .shroomishShadow: return 1419 - case .shroomishPurified: return 1420 - case .breloomNormal: return 1421 - case .breloomShadow: return 1422 - case .breloomPurified: return 1423 - case .slakothNormal: return 1424 - case .slakothShadow: return 1425 - case .slakothPurified: return 1426 - case .vigorothNormal: return 1427 - case .vigorothShadow: return 1428 - case .vigorothPurified: return 1429 - case .slakingNormal: return 1430 - case .slakingShadow: return 1431 - case .slakingPurified: return 1432 - case .nincadaNormal: return 1433 - case .nincadaShadow: return 1434 - case .nincadaPurified: return 1435 - case .ninjaskNormal: return 1436 - case .ninjaskShadow: return 1437 - case .ninjaskPurified: return 1438 - case .shedinjaNormal: return 1439 - case .shedinjaShadow: return 1440 - case .shedinjaPurified: return 1441 - case .whismurNormal: return 1442 - case .whismurShadow: return 1443 - case .whismurPurified: return 1444 - case .loudredNormal: return 1445 - case .loudredShadow: return 1446 - case .loudredPurified: return 1447 - case .exploudNormal: return 1448 - case .exploudShadow: return 1449 - case .exploudPurified: return 1450 - case .makuhitaNormal: return 1451 - case .makuhitaShadow: return 1452 - case .makuhitaPurified: return 1453 - case .hariyamaNormal: return 1454 - case .hariyamaShadow: return 1455 - case .hariyamaPurified: return 1456 - case .azurillNormal: return 1457 - case .azurillShadow: return 1458 - case .azurillPurified: return 1459 - case .nosepassNormal: return 1460 - case .nosepassShadow: return 1461 - case .nosepassPurified: return 1462 - case .skittyNormal: return 1463 - case .skittyShadow: return 1464 - case .skittyPurified: return 1465 - case .delcattyNormal: return 1466 - case .delcattyShadow: return 1467 - case .delcattyPurified: return 1468 - case .aronNormal: return 1469 - case .aronShadow: return 1470 - case .aronPurified: return 1471 - case .laironNormal: return 1472 - case .laironShadow: return 1473 - case .laironPurified: return 1474 - case .aggronNormal: return 1475 - case .aggronShadow: return 1476 - case .aggronPurified: return 1477 - case .medititeNormal: return 1478 - case .medititeShadow: return 1479 - case .medititePurified: return 1480 - case .medichamNormal: return 1481 - case .medichamShadow: return 1482 - case .medichamPurified: return 1483 - case .electrikeNormal: return 1484 - case .electrikeShadow: return 1485 - case .electrikePurified: return 1486 - case .manectricNormal: return 1487 - case .manectricShadow: return 1488 - case .manectricPurified: return 1489 - case .plusleNormal: return 1490 - case .plusleShadow: return 1491 - case .pluslePurified: return 1492 - case .minunNormal: return 1493 - case .minunShadow: return 1494 - case .minunPurified: return 1495 - case .volbeatNormal: return 1496 - case .volbeatShadow: return 1497 - case .volbeatPurified: return 1498 - case .illumiseNormal: return 1499 - case .illumiseShadow: return 1500 - case .illumisePurified: return 1501 - case .roseliaNormal: return 1502 - case .roseliaShadow: return 1503 - case .roseliaPurified: return 1504 - case .gulpinNormal: return 1505 - case .gulpinShadow: return 1506 - case .gulpinPurified: return 1507 - case .swalotNormal: return 1508 - case .swalotShadow: return 1509 - case .swalotPurified: return 1510 - case .wailmerNormal: return 1511 - case .wailmerShadow: return 1512 - case .wailmerPurified: return 1513 - case .wailordNormal: return 1514 - case .wailordShadow: return 1515 - case .wailordPurified: return 1516 - case .numelNormal: return 1517 - case .numelShadow: return 1518 - case .numelPurified: return 1519 - case .cameruptNormal: return 1520 - case .cameruptShadow: return 1521 - case .cameruptPurified: return 1522 - case .torkoalNormal: return 1523 - case .torkoalShadow: return 1524 - case .torkoalPurified: return 1525 - case .spoinkNormal: return 1526 - case .spoinkShadow: return 1527 - case .spoinkPurified: return 1528 - case .grumpigNormal: return 1529 - case .grumpigShadow: return 1530 - case .grumpigPurified: return 1531 - case .swabluNormal: return 1532 - case .swabluShadow: return 1533 - case .swabluPurified: return 1534 - case .altariaNormal: return 1535 - case .altariaShadow: return 1536 - case .altariaPurified: return 1537 - case .zangooseNormal: return 1538 - case .zangooseShadow: return 1539 - case .zangoosePurified: return 1540 - case .seviperNormal: return 1541 - case .seviperShadow: return 1542 - case .seviperPurified: return 1543 - case .lunatoneNormal: return 1544 - case .lunatoneShadow: return 1545 - case .lunatonePurified: return 1546 - case .solrockNormal: return 1547 - case .solrockShadow: return 1548 - case .solrockPurified: return 1549 - case .barboachNormal: return 1550 - case .barboachShadow: return 1551 - case .barboachPurified: return 1552 - case .whiscashNormal: return 1553 - case .whiscashShadow: return 1554 - case .whiscashPurified: return 1555 - case .corphishNormal: return 1556 - case .corphishShadow: return 1557 - case .corphishPurified: return 1558 - case .crawdauntNormal: return 1559 - case .crawdauntShadow: return 1560 - case .crawdauntPurified: return 1561 - case .baltoyNormal: return 1562 - case .baltoyShadow: return 1563 - case .baltoyPurified: return 1564 - case .claydolNormal: return 1565 - case .claydolShadow: return 1566 - case .claydolPurified: return 1567 - case .lileepNormal: return 1568 - case .lileepShadow: return 1569 - case .lileepPurified: return 1570 - case .cradilyNormal: return 1571 - case .cradilyShadow: return 1572 - case .cradilyPurified: return 1573 - case .anorithNormal: return 1574 - case .anorithShadow: return 1575 - case .anorithPurified: return 1576 - case .armaldoNormal: return 1577 - case .armaldoShadow: return 1578 - case .armaldoPurified: return 1579 - case .feebasNormal: return 1580 - case .feebasShadow: return 1581 - case .feebasPurified: return 1582 - case .miloticNormal: return 1583 - case .miloticShadow: return 1584 - case .miloticPurified: return 1585 - case .kecleonNormal: return 1586 - case .kecleonShadow: return 1587 - case .kecleonPurified: return 1588 - case .tropiusNormal: return 1589 - case .tropiusShadow: return 1590 - case .tropiusPurified: return 1591 - case .chimechoNormal: return 1592 - case .chimechoShadow: return 1593 - case .chimechoPurified: return 1594 - case .wynautNormal: return 1595 - case .wynautShadow: return 1596 - case .wynautPurified: return 1597 - case .sphealNormal: return 1598 - case .sphealShadow: return 1599 - case .sphealPurified: return 1600 - case .sealeoNormal: return 1601 - case .sealeoShadow: return 1602 - case .sealeoPurified: return 1603 - case .walreinNormal: return 1604 - case .walreinShadow: return 1605 - case .walreinPurified: return 1606 - case .clamperlNormal: return 1607 - case .clamperlShadow: return 1608 - case .clamperlPurified: return 1609 - case .huntailNormal: return 1610 - case .huntailShadow: return 1611 - case .huntailPurified: return 1612 - case .gorebyssNormal: return 1613 - case .gorebyssShadow: return 1614 - case .gorebyssPurified: return 1615 - case .relicanthNormal: return 1616 - case .relicanthShadow: return 1617 - case .relicanthPurified: return 1618 - case .luvdiscNormal: return 1619 - case .luvdiscShadow: return 1620 - case .luvdiscPurified: return 1621 - case .regirockNormal: return 1622 - case .regirockShadow: return 1623 - case .regirockPurified: return 1624 - case .regiceNormal: return 1625 - case .regiceShadow: return 1626 - case .regicePurified: return 1627 - case .registeelNormal: return 1628 - case .registeelShadow: return 1629 - case .registeelPurified: return 1630 - case .latiasNormal: return 1631 - case .latiasShadow: return 1632 - case .latiasPurified: return 1633 - case .latiosNormal: return 1634 - case .latiosShadow: return 1635 - case .latiosPurified: return 1636 - case .kyogreNormal: return 1637 - case .kyogreShadow: return 1638 - case .kyogrePurified: return 1639 - case .groudonNormal: return 1640 - case .groudonShadow: return 1641 - case .groudonPurified: return 1642 - case .rayquazaNormal: return 1643 - case .rayquazaShadow: return 1644 - case .rayquazaPurified: return 1645 - case .jirachiNormal: return 1646 - case .jirachiShadow: return 1647 - case .jirachiPurified: return 1648 - case .piplupNormal: return 1649 - case .piplupShadow: return 1650 - case .piplupPurified: return 1651 - case .prinplupNormal: return 1652 - case .prinplupShadow: return 1653 - case .prinplupPurified: return 1654 - case .empoleonNormal: return 1655 - case .empoleonShadow: return 1656 - case .empoleonPurified: return 1657 - case .starlyNormal: return 1658 - case .starlyShadow: return 1659 - case .starlyPurified: return 1660 - case .staraviaNormal: return 1661 - case .staraviaShadow: return 1662 - case .staraviaPurified: return 1663 - case .staraptorNormal: return 1664 - case .staraptorShadow: return 1665 - case .staraptorPurified: return 1666 - case .bidoofNormal: return 1667 - case .bidoofShadow: return 1668 - case .bidoofPurified: return 1669 - case .bibarelNormal: return 1670 - case .bibarelShadow: return 1671 - case .bibarelPurified: return 1672 - case .kricketotNormal: return 1673 - case .kricketotShadow: return 1674 - case .kricketotPurified: return 1675 - case .kricketuneNormal: return 1676 - case .kricketuneShadow: return 1677 - case .kricketunePurified: return 1678 - case .shinxNormal: return 1679 - case .shinxShadow: return 1680 - case .shinxPurified: return 1681 - case .luxioNormal: return 1682 - case .luxioShadow: return 1683 - case .luxioPurified: return 1684 - case .luxrayNormal: return 1685 - case .luxrayShadow: return 1686 - case .luxrayPurified: return 1687 - case .budewNormal: return 1688 - case .budewShadow: return 1689 - case .budewPurified: return 1690 - case .roseradeNormal: return 1691 - case .roseradeShadow: return 1692 - case .roseradePurified: return 1693 - case .cranidosNormal: return 1694 - case .cranidosShadow: return 1695 - case .cranidosPurified: return 1696 - case .rampardosNormal: return 1697 - case .rampardosShadow: return 1698 - case .rampardosPurified: return 1699 - case .shieldonNormal: return 1700 - case .shieldonShadow: return 1701 - case .shieldonPurified: return 1702 - case .bastiodonNormal: return 1703 - case .bastiodonShadow: return 1704 - case .bastiodonPurified: return 1705 - case .burmyNormal: return 1706 - case .burmyShadow: return 1707 - case .burmyPurified: return 1708 - case .wormadamNormal: return 1709 - case .wormadamShadow: return 1710 - case .wormadamPurified: return 1711 - case .mothimNormal: return 1712 - case .mothimShadow: return 1713 - case .mothimPurified: return 1714 - case .combeeNormal: return 1715 - case .combeeShadow: return 1716 - case .combeePurified: return 1717 - case .vespiquenNormal: return 1718 - case .vespiquenShadow: return 1719 - case .vespiquenPurified: return 1720 - case .pachirisuNormal: return 1721 - case .pachirisuShadow: return 1722 - case .pachirisuPurified: return 1723 - case .buizelNormal: return 1724 - case .buizelShadow: return 1725 - case .buizelPurified: return 1726 - case .floatzelNormal: return 1727 - case .floatzelShadow: return 1728 - case .floatzelPurified: return 1729 - case .cherubiNormal: return 1730 - case .cherubiShadow: return 1731 - case .cherubiPurified: return 1732 - case .cherrimNormal: return 1733 - case .cherrimShadow: return 1734 - case .cherrimPurified: return 1735 - case .shellosNormal: return 1736 - case .shellosShadow: return 1737 - case .shellosPurified: return 1738 - case .gastrodonNormal: return 1739 - case .gastrodonShadow: return 1740 - case .gastrodonPurified: return 1741 - case .ambipomNormal: return 1742 - case .ambipomShadow: return 1743 - case .ambipomPurified: return 1744 - case .drifloonNormal: return 1745 - case .drifloonShadow: return 1746 - case .drifloonPurified: return 1747 - case .drifblimNormal: return 1748 - case .drifblimShadow: return 1749 - case .drifblimPurified: return 1750 - case .bunearyNormal: return 1751 - case .bunearyShadow: return 1752 - case .bunearyPurified: return 1753 - case .lopunnyNormal: return 1754 - case .lopunnyShadow: return 1755 - case .lopunnyPurified: return 1756 - case .glameowNormal: return 1757 - case .glameowShadow: return 1758 - case .glameowPurified: return 1759 - case .puruglyNormal: return 1760 - case .puruglyShadow: return 1761 - case .puruglyPurified: return 1762 - case .chinglingNormal: return 1763 - case .chinglingShadow: return 1764 - case .chinglingPurified: return 1765 - case .bronzorNormal: return 1766 - case .bronzorShadow: return 1767 - case .bronzorPurified: return 1768 - case .bronzongNormal: return 1769 - default: break - } - switch self { - case .bronzongShadow: return 1770 - case .bronzongPurified: return 1771 - case .bonslyNormal: return 1772 - case .bonslyShadow: return 1773 - case .bonslyPurified: return 1774 - case .mimeJrNormal: return 1775 - case .mimeJrShadow: return 1776 - case .mimeJrPurified: return 1777 - case .happinyNormal: return 1778 - case .happinyShadow: return 1779 - case .happinyPurified: return 1780 - case .chatotNormal: return 1781 - case .chatotShadow: return 1782 - case .chatotPurified: return 1783 - case .spiritombNormal: return 1784 - case .spiritombShadow: return 1785 - case .spiritombPurified: return 1786 - case .munchlaxNormal: return 1787 - case .munchlaxShadow: return 1788 - case .munchlaxPurified: return 1789 - case .rioluNormal: return 1790 - case .rioluShadow: return 1791 - case .rioluPurified: return 1792 - case .lucarioNormal: return 1793 - case .lucarioShadow: return 1794 - case .lucarioPurified: return 1795 - case .skorupiNormal: return 1796 - case .skorupiShadow: return 1797 - case .skorupiPurified: return 1798 - case .drapionNormal: return 1799 - case .drapionShadow: return 1800 - case .drapionPurified: return 1801 - case .croagunkNormal: return 1802 - case .croagunkShadow: return 1803 - case .croagunkPurified: return 1804 - case .toxicroakNormal: return 1805 - case .toxicroakShadow: return 1806 - case .toxicroakPurified: return 1807 - case .carnivineNormal: return 1808 - case .carnivineShadow: return 1809 - case .carnivinePurified: return 1810 - case .finneonNormal: return 1811 - case .finneonShadow: return 1812 - case .finneonPurified: return 1813 - case .lumineonNormal: return 1814 - case .lumineonShadow: return 1815 - case .lumineonPurified: return 1816 - case .mantykeNormal: return 1817 - case .mantykeShadow: return 1818 - case .mantykePurified: return 1819 - case .lickilickyNormal: return 1820 - case .lickilickyShadow: return 1821 - case .lickilickyPurified: return 1822 - case .tangrowthNormal: return 1823 - case .tangrowthShadow: return 1824 - case .tangrowthPurified: return 1825 - case .togekissNormal: return 1826 - case .togekissShadow: return 1827 - case .togekissPurified: return 1828 - case .yanmegaNormal: return 1829 - case .yanmegaShadow: return 1830 - case .yanmegaPurified: return 1831 - case .leafeonNormal: return 1832 - case .leafeonShadow: return 1833 - case .leafeonPurified: return 1834 - case .glaceonNormal: return 1835 - case .glaceonShadow: return 1836 - case .glaceonPurified: return 1837 - case .mamoswineNormal: return 1838 - case .mamoswineShadow: return 1839 - case .mamoswinePurified: return 1840 - case .probopassNormal: return 1841 - case .probopassShadow: return 1842 - case .probopassPurified: return 1843 - case .froslassNormal: return 1844 - case .froslassShadow: return 1845 - case .froslassPurified: return 1846 - case .uxieNormal: return 1847 - case .uxieShadow: return 1848 - case .uxiePurified: return 1849 - case .mespritNormal: return 1850 - case .mespritShadow: return 1851 - case .mespritPurified: return 1852 - case .azelfNormal: return 1853 - case .azelfShadow: return 1854 - case .azelfPurified: return 1855 - case .dialgaNormal: return 1856 - case .dialgaShadow: return 1857 - case .dialgaPurified: return 1858 - case .palkiaNormal: return 1859 - case .palkiaShadow: return 1860 - case .palkiaPurified: return 1861 - case .heatranNormal: return 1862 - case .heatranShadow: return 1863 - case .heatranPurified: return 1864 - case .regigigasNormal: return 1865 - case .regigigasShadow: return 1866 - case .regigigasPurified: return 1867 - case .giratinaNormal: return 1868 - case .giratinaShadow: return 1869 - case .giratinaPurified: return 1870 - case .cresseliaNormal: return 1871 - case .cresseliaShadow: return 1872 - case .cresseliaPurified: return 1873 - case .phioneNormal: return 1874 - case .phioneShadow: return 1875 - case .phionePurified: return 1876 - case .manaphyNormal: return 1877 - case .manaphyShadow: return 1878 - case .manaphyPurified: return 1879 - case .darkraiNormal: return 1880 - case .darkraiShadow: return 1881 - case .darkraiPurified: return 1882 - case .shayminNormal: return 1883 - case .shayminShadow: return 1884 - case .shayminPurified: return 1885 - case .victiniNormal: return 1886 - case .victiniShadow: return 1887 - case .victiniPurified: return 1888 - case .snivyNormal: return 1889 - case .snivyShadow: return 1890 - case .snivyPurified: return 1891 - case .servineNormal: return 1892 - case .servineShadow: return 1893 - case .servinePurified: return 1894 - case .serperiorNormal: return 1895 - case .serperiorShadow: return 1896 - case .serperiorPurified: return 1897 - case .tepigNormal: return 1898 - case .tepigShadow: return 1899 - case .tepigPurified: return 1900 - case .pigniteNormal: return 1901 - case .pigniteShadow: return 1902 - case .pignitePurified: return 1903 - case .emboarNormal: return 1904 - case .emboarShadow: return 1905 - case .emboarPurified: return 1906 - case .oshawottNormal: return 1907 - case .oshawottShadow: return 1908 - case .oshawottPurified: return 1909 - case .dewottNormal: return 1910 - case .dewottShadow: return 1911 - case .dewottPurified: return 1912 - case .samurottNormal: return 1913 - case .samurottShadow: return 1914 - case .samurottPurified: return 1915 - case .patratNormal: return 1916 - case .patratShadow: return 1917 - case .patratPurified: return 1918 - case .watchogNormal: return 1919 - case .watchogShadow: return 1920 - case .watchogPurified: return 1921 - case .lillipupNormal: return 1922 - case .lillipupShadow: return 1923 - case .lillipupPurified: return 1924 - case .herdierNormal: return 1925 - case .herdierShadow: return 1926 - case .herdierPurified: return 1927 - case .stoutlandNormal: return 1928 - case .stoutlandShadow: return 1929 - case .stoutlandPurified: return 1930 - case .purrloinNormal: return 1931 - case .purrloinShadow: return 1932 - case .purrloinPurified: return 1933 - case .liepardNormal: return 1934 - case .liepardShadow: return 1935 - case .liepardPurified: return 1936 - case .pansageNormal: return 1937 - case .pansageShadow: return 1938 - case .pansagePurified: return 1939 - case .simisageNormal: return 1940 - case .simisageShadow: return 1941 - case .simisagePurified: return 1942 - case .pansearNormal: return 1943 - case .pansearShadow: return 1944 - case .pansearPurified: return 1945 - case .simisearNormal: return 1946 - case .simisearShadow: return 1947 - case .simisearPurified: return 1948 - case .panpourNormal: return 1949 - case .panpourShadow: return 1950 - case .panpourPurified: return 1951 - case .simipourNormal: return 1952 - case .simipourShadow: return 1953 - case .simipourPurified: return 1954 - case .munnaNormal: return 1955 - case .munnaShadow: return 1956 - case .munnaPurified: return 1957 - case .musharnaNormal: return 1958 - case .musharnaShadow: return 1959 - case .musharnaPurified: return 1960 - case .pidoveNormal: return 1961 - case .pidoveShadow: return 1962 - case .pidovePurified: return 1963 - case .tranquillNormal: return 1964 - case .tranquillShadow: return 1965 - case .tranquillPurified: return 1966 - case .unfezantNormal: return 1967 - case .unfezantShadow: return 1968 - case .unfezantPurified: return 1969 - case .blitzleNormal: return 1970 - case .blitzleShadow: return 1971 - case .blitzlePurified: return 1972 - case .zebstrikaNormal: return 1973 - case .zebstrikaShadow: return 1974 - case .zebstrikaPurified: return 1975 - case .roggenrolaNormal: return 1976 - case .roggenrolaShadow: return 1977 - case .roggenrolaPurified: return 1978 - case .boldoreNormal: return 1979 - case .boldoreShadow: return 1980 - case .boldorePurified: return 1981 - case .gigalithNormal: return 1982 - case .gigalithShadow: return 1983 - case .gigalithPurified: return 1984 - case .woobatNormal: return 1985 - case .woobatShadow: return 1986 - case .woobatPurified: return 1987 - case .swoobatNormal: return 1988 - case .swoobatShadow: return 1989 - case .swoobatPurified: return 1990 - case .drilburNormal: return 1991 - case .drilburShadow: return 1992 - case .drilburPurified: return 1993 - case .excadrillNormal: return 1994 - case .excadrillShadow: return 1995 - case .excadrillPurified: return 1996 - case .audinoNormal: return 1997 - case .audinoShadow: return 1998 - case .audinoPurified: return 1999 - case .timburrNormal: return 2000 - case .timburrShadow: return 2001 - case .timburrPurified: return 2002 - case .gurdurrNormal: return 2003 - case .gurdurrShadow: return 2004 - case .gurdurrPurified: return 2005 - case .conkeldurrNormal: return 2006 - case .conkeldurrShadow: return 2007 - case .conkeldurrPurified: return 2008 - case .tympoleNormal: return 2009 - case .tympoleShadow: return 2010 - case .tympolePurified: return 2011 - case .palpitoadNormal: return 2012 - case .palpitoadShadow: return 2013 - case .palpitoadPurified: return 2014 - case .seismitoadNormal: return 2015 - case .seismitoadShadow: return 2016 - case .seismitoadPurified: return 2017 - case .throhNormal: return 2018 - case .throhShadow: return 2019 - case .throhPurified: return 2020 - case .sawkNormal: return 2021 - case .sawkShadow: return 2022 - case .sawkPurified: return 2023 - case .sewaddleNormal: return 2024 - case .sewaddleShadow: return 2025 - case .sewaddlePurified: return 2026 - case .swadloonNormal: return 2027 - case .swadloonShadow: return 2028 - case .swadloonPurified: return 2029 - case .leavannyNormal: return 2030 - case .leavannyShadow: return 2031 - case .leavannyPurified: return 2032 - case .venipedeNormal: return 2033 - case .venipedeShadow: return 2034 - case .venipedePurified: return 2035 - case .whirlipedeNormal: return 2036 - case .whirlipedeShadow: return 2037 - case .whirlipedePurified: return 2038 - case .scolipedeNormal: return 2039 - case .scolipedeShadow: return 2040 - case .scolipedePurified: return 2041 - case .cottoneeNormal: return 2042 - case .cottoneeShadow: return 2043 - case .cottoneePurified: return 2044 - case .whimsicottNormal: return 2045 - case .whimsicottShadow: return 2046 - case .whimsicottPurified: return 2047 - case .petililNormal: return 2048 - case .petililShadow: return 2049 - case .petililPurified: return 2050 - case .lilligantNormal: return 2051 - case .lilligantShadow: return 2052 - case .lilligantPurified: return 2053 - case .sandileNormal: return 2054 - case .sandileShadow: return 2055 - case .sandilePurified: return 2056 - case .krokorokNormal: return 2057 - case .krokorokShadow: return 2058 - case .krokorokPurified: return 2059 - case .krookodileNormal: return 2060 - case .krookodileShadow: return 2061 - case .krookodilePurified: return 2062 - case .darumakaNormal: return 2063 - case .darumakaShadow: return 2064 - case .darumakaPurified: return 2065 - case .maractusNormal: return 2066 - case .maractusShadow: return 2067 - case .maractusPurified: return 2068 - case .dwebbleNormal: return 2069 - case .dwebbleShadow: return 2070 - case .dwebblePurified: return 2071 - case .crustleNormal: return 2072 - case .crustleShadow: return 2073 - case .crustlePurified: return 2074 - case .scraggyNormal: return 2075 - case .scraggyShadow: return 2076 - case .scraggyPurified: return 2077 - case .scraftyNormal: return 2078 - case .scraftyShadow: return 2079 - case .scraftyPurified: return 2080 - case .sigilyphNormal: return 2081 - case .sigilyphShadow: return 2082 - case .sigilyphPurified: return 2083 - case .yamaskNormal: return 2084 - case .yamaskShadow: return 2085 - case .yamaskPurified: return 2086 - case .cofagrigusNormal: return 2087 - case .cofagrigusShadow: return 2088 - case .cofagrigusPurified: return 2089 - case .tirtougaNormal: return 2090 - case .tirtougaShadow: return 2091 - case .tirtougaPurified: return 2092 - case .carracostaNormal: return 2093 - case .carracostaShadow: return 2094 - case .carracostaPurified: return 2095 - case .archenNormal: return 2096 - case .archenShadow: return 2097 - case .archenPurified: return 2098 - case .archeopsNormal: return 2099 - case .archeopsShadow: return 2100 - case .archeopsPurified: return 2101 - case .trubbishNormal: return 2102 - case .trubbishShadow: return 2103 - case .trubbishPurified: return 2104 - case .garbodorNormal: return 2105 - case .garbodorShadow: return 2106 - case .garbodorPurified: return 2107 - case .zoruaNormal: return 2108 - case .zoruaShadow: return 2109 - case .zoruaPurified: return 2110 - case .zoroarkNormal: return 2111 - case .zoroarkShadow: return 2112 - case .zoroarkPurified: return 2113 - case .minccinoNormal: return 2114 - case .minccinoShadow: return 2115 - case .minccinoPurified: return 2116 - case .cinccinoNormal: return 2117 - case .cinccinoShadow: return 2118 - case .cinccinoPurified: return 2119 - case .gothitaNormal: return 2120 - case .gothitaShadow: return 2121 - case .gothitaPurified: return 2122 - case .gothoritaNormal: return 2123 - case .gothoritaShadow: return 2124 - case .gothoritaPurified: return 2125 - case .gothitelleNormal: return 2126 - case .gothitelleShadow: return 2127 - case .gothitellePurified: return 2128 - case .solosisNormal: return 2129 - case .solosisShadow: return 2130 - case .solosisPurified: return 2131 - case .duosionNormal: return 2132 - case .duosionShadow: return 2133 - case .duosionPurified: return 2134 - case .reuniclusNormal: return 2135 - case .reuniclusShadow: return 2136 - case .reuniclusPurified: return 2137 - case .ducklettNormal: return 2138 - case .ducklettShadow: return 2139 - case .ducklettPurified: return 2140 - case .swannaNormal: return 2141 - case .swannaShadow: return 2142 - case .swannaPurified: return 2143 - case .vanilliteNormal: return 2144 - case .vanilliteShadow: return 2145 - case .vanillitePurified: return 2146 - case .vanillishNormal: return 2147 - case .vanillishShadow: return 2148 - case .vanillishPurified: return 2149 - case .vanilluxeNormal: return 2150 - case .vanilluxeShadow: return 2151 - case .vanilluxePurified: return 2152 - case .emolgaNormal: return 2153 - case .emolgaShadow: return 2154 - case .emolgaPurified: return 2155 - case .karrablastNormal: return 2156 - case .karrablastShadow: return 2157 - case .karrablastPurified: return 2158 - case .escavalierNormal: return 2159 - case .escavalierShadow: return 2160 - case .escavalierPurified: return 2161 - case .foongusNormal: return 2162 - case .foongusShadow: return 2163 - case .foongusPurified: return 2164 - case .amoongussNormal: return 2165 - case .amoongussShadow: return 2166 - case .amoongussPurified: return 2167 - case .frillishNormal: return 2168 - case .frillishShadow: return 2169 - case .frillishPurified: return 2170 - case .jellicentNormal: return 2171 - case .jellicentShadow: return 2172 - case .jellicentPurified: return 2173 - case .alomomolaNormal: return 2174 - case .alomomolaShadow: return 2175 - case .alomomolaPurified: return 2176 - case .joltikNormal: return 2177 - case .joltikShadow: return 2178 - case .joltikPurified: return 2179 - case .galvantulaNormal: return 2180 - case .galvantulaShadow: return 2181 - case .galvantulaPurified: return 2182 - case .ferroseedNormal: return 2183 - case .ferroseedShadow: return 2184 - case .ferroseedPurified: return 2185 - case .ferrothornNormal: return 2186 - case .ferrothornShadow: return 2187 - case .ferrothornPurified: return 2188 - case .klinkNormal: return 2189 - case .klinkShadow: return 2190 - case .klinkPurified: return 2191 - case .klangNormal: return 2192 - case .klangShadow: return 2193 - case .klangPurified: return 2194 - case .klinklangNormal: return 2195 - case .klinklangShadow: return 2196 - case .klinklangPurified: return 2197 - case .tynamoNormal: return 2198 - case .tynamoShadow: return 2199 - case .tynamoPurified: return 2200 - case .eelektrikNormal: return 2201 - case .eelektrikShadow: return 2202 - case .eelektrikPurified: return 2203 - case .eelektrossNormal: return 2204 - case .eelektrossShadow: return 2205 - case .eelektrossPurified: return 2206 - case .elgyemNormal: return 2207 - case .elgyemShadow: return 2208 - case .elgyemPurified: return 2209 - case .beheeyemNormal: return 2210 - case .beheeyemShadow: return 2211 - case .beheeyemPurified: return 2212 - case .litwickNormal: return 2213 - case .litwickShadow: return 2214 - case .litwickPurified: return 2215 - case .lampentNormal: return 2216 - case .lampentShadow: return 2217 - case .lampentPurified: return 2218 - case .chandelureNormal: return 2219 - case .chandelureShadow: return 2220 - case .chandelurePurified: return 2221 - case .axewNormal: return 2222 - case .axewShadow: return 2223 - case .axewPurified: return 2224 - case .fraxureNormal: return 2225 - case .fraxureShadow: return 2226 - case .fraxurePurified: return 2227 - case .haxorusNormal: return 2228 - case .haxorusShadow: return 2229 - case .haxorusPurified: return 2230 - case .cubchooNormal: return 2231 - case .cubchooShadow: return 2232 - case .cubchooPurified: return 2233 - case .bearticNormal: return 2234 - case .bearticShadow: return 2235 - case .bearticPurified: return 2236 - case .cryogonalNormal: return 2237 - case .cryogonalShadow: return 2238 - case .cryogonalPurified: return 2239 - case .shelmetNormal: return 2240 - case .shelmetShadow: return 2241 - case .shelmetPurified: return 2242 - case .accelgorNormal: return 2243 - case .accelgorShadow: return 2244 - case .accelgorPurified: return 2245 - case .stunfiskNormal: return 2246 - case .stunfiskShadow: return 2247 - case .stunfiskPurified: return 2248 - case .mienfooNormal: return 2249 - case .mienfooShadow: return 2250 - case .mienfooPurified: return 2251 - case .mienshaoNormal: return 2252 - case .mienshaoShadow: return 2253 - case .mienshaoPurified: return 2254 - case .druddigonNormal: return 2255 - case .druddigonShadow: return 2256 - case .druddigonPurified: return 2257 - case .golettNormal: return 2258 - case .golettShadow: return 2259 - case .golettPurified: return 2260 - case .golurkNormal: return 2261 - case .golurkShadow: return 2262 - case .golurkPurified: return 2263 - case .pawniardNormal: return 2264 - case .pawniardShadow: return 2265 - case .pawniardPurified: return 2266 - case .bisharpNormal: return 2267 - case .bisharpShadow: return 2268 - case .bisharpPurified: return 2269 - default: break - } - switch self { - case .bouffalantNormal: return 2270 - case .bouffalantShadow: return 2271 - case .bouffalantPurified: return 2272 - case .ruffletNormal: return 2273 - case .ruffletShadow: return 2274 - case .ruffletPurified: return 2275 - case .braviaryNormal: return 2276 - case .braviaryShadow: return 2277 - case .braviaryPurified: return 2278 - case .vullabyNormal: return 2279 - case .vullabyShadow: return 2280 - case .vullabyPurified: return 2281 - case .mandibuzzNormal: return 2282 - case .mandibuzzShadow: return 2283 - case .mandibuzzPurified: return 2284 - case .heatmorNormal: return 2285 - case .heatmorShadow: return 2286 - case .heatmorPurified: return 2287 - case .durantNormal: return 2288 - case .durantShadow: return 2289 - case .durantPurified: return 2290 - case .deinoNormal: return 2291 - case .deinoShadow: return 2292 - case .deinoPurified: return 2293 - case .zweilousNormal: return 2294 - case .zweilousShadow: return 2295 - case .zweilousPurified: return 2296 - case .hydreigonNormal: return 2297 - case .hydreigonShadow: return 2298 - case .hydreigonPurified: return 2299 - case .larvestaNormal: return 2300 - case .larvestaShadow: return 2301 - case .larvestaPurified: return 2302 - case .volcaronaNormal: return 2303 - case .volcaronaShadow: return 2304 - case .volcaronaPurified: return 2305 - case .cobalionNormal: return 2306 - case .cobalionShadow: return 2307 - case .cobalionPurified: return 2308 - case .terrakionNormal: return 2309 - case .terrakionShadow: return 2310 - case .terrakionPurified: return 2311 - case .virizionNormal: return 2312 - case .virizionShadow: return 2313 - case .virizionPurified: return 2314 - case .reshiramNormal: return 2315 - case .reshiramShadow: return 2316 - case .reshiramPurified: return 2317 - case .zekromNormal: return 2318 - case .zekromShadow: return 2319 - case .zekromPurified: return 2320 - case .meltanNormal: return 2321 - case .meltanShadow: return 2322 - case .meltanPurified: return 2323 - case .melmetalNormal: return 2324 - case .melmetalShadow: return 2325 - case .melmetalPurified: return 2326 - case .wurmpleSpring2020: return 2327 - case .wobbuffetSpring2020: return 2328 - case .raticateSpring2020: return 2329 - case .frillishFemale: return 2330 - case .jellicentFemale: return 2331 - case .pikachuCostume2020: return 2332 - case .dragoniteCostume2020: return 2333 - case .onixCostume2020: return 2334 - case .meowthGalarian: return 2335 - case .ponytaGalarian: return 2336 - case .rapidashGalarian: return 2337 - case .farfetchdGalarian: return 2338 - case .mrMimeGalarian: return 2339 - case .corsolaGalarian: return 2340 - case .darumakaGalarian: return 2341 - case .darmanitanGalarianStandard: return 2342 - case .darmanitanGalarianZen: return 2343 - case .yamaskGalarian: return 2344 - case .stunfiskGalarian: return 2345 - case .toxtricityLowKey: return 2463 - case .toxtricityAmped: return 2464 - case .sinisteaPhony: return 2477 - case .sinisteaAntique: return 2478 - case .polteageistPhony: return 2480 - case .polteageistAntique: return 2481 - case .obstagoonNormal: return 2501 - case .obstagoonShadow: return 2502 - case .obstagoonPurified: return 2503 - case .perrserkerNormal: return 2504 - case .perrserkerShadow: return 2505 - case .perrserkerPurified: return 2506 - case .cursolaNormal: return 2507 - case .cursolaShadow: return 2508 - case .cursolaPurified: return 2509 - case .sirfetchdNormal: return 2510 - case .sirfetchdShadow: return 2511 - case .sirfetchdPurified: return 2512 - case .mrRimeNormal: return 2513 - case .mrRimeShadow: return 2514 - case .mrRimePurified: return 2515 - case .runerigusNormal: return 2516 - case .runerigusShadow: return 2517 - case .runerigusPurified: return 2518 - case .eiscueIce: return 2540 - case .eiscueNoice: return 2541 - case .indeedeeMale: return 2542 - case .indeedeeFemale: return 2543 - case .morpekoFullBelly: return 2544 - case .morpekoHangry: return 2545 - case .zacianCrownedSword: return 2576 - case .zacianHero: return 2577 - case .zamazentaCrownedShield: return 2578 - case .zamazentaHero: return 2579 - case .eternatusEternamax: return 2580 - case .eternatusNormal: return 2581 - case .slowpokeGalarian: return 2582 - case .slowbroGalarian: return 2583 - case .slowkingGalarian: return 2584 - case .laprasCostume2020: return 2585 - case .gengarCostume2020: return 2586 - case .pyroarNormal: return 2587 - case .pyroarFemale: return 2588 - case .meowsticNormal: return 2589 - case .meowsticFemale: return 2590 - case .zygardeTenPercent: return 2591 - case .zygardeFiftyPercent: return 2592 - case .zygardeComplete: return 2593 - case .vivillonArchipelago: return 2594 - case .vivillonContinental: return 2595 - case .vivillonElegant: return 2596 - case .vivillonFancy: return 2597 - case .vivillonGarden: return 2598 - case .vivillonHighPlains: return 2599 - case .vivillonIcySnow: return 2600 - case .vivillonJungle: return 2601 - case .vivillonMarine: return 2602 - case .vivillonMeadow: return 2603 - case .vivillonModern: return 2604 - case .vivillonMonsoon: return 2605 - case .vivillonOcean: return 2606 - case .vivillonPokeball: return 2607 - case .vivillonPolar: return 2608 - case .vivillonRiver: return 2609 - case .vivillonSandstorm: return 2610 - case .vivillonSavanna: return 2611 - case .vivillonSun: return 2612 - case .vivillonTundra: return 2613 - case .flabebeRed: return 2614 - case .flabebeYellow: return 2615 - case .flabebeOrange: return 2616 - case .flabebeBlue: return 2617 - case .flabebeWhite: return 2618 - case .floetteRed: return 2619 - case .floetteYellow: return 2620 - case .floetteOrange: return 2621 - case .floetteBlue: return 2622 - case .floetteWhite: return 2623 - case .florgesRed: return 2624 - case .florgesYellow: return 2625 - case .florgesOrange: return 2626 - case .florgesBlue: return 2627 - case .florgesWhite: return 2628 - case .furfrouNatural: return 2629 - case .furfrouHeart: return 2630 - case .furfrouStar: return 2631 - case .furfrouDiamond: return 2632 - case .furfrouDebutante: return 2633 - case .furfrouMatron: return 2634 - case .furfrouDandy: return 2635 - case .furfrouLaReine: return 2636 - case .furfrouKabuki: return 2637 - case .furfrouPharaoh: return 2638 - case .aegislashShield: return 2639 - case .aegislashBlade: return 2640 - case .pumpkabooSmall: return 2641 - case .pumpkabooAverage: return 2642 - case .pumpkabooLarge: return 2643 - case .pumpkabooSuper: return 2644 - case .gourgeistSmall: return 2645 - case .gourgeistAverage: return 2646 - case .gourgeistLarge: return 2647 - case .gourgeistSuper: return 2648 - case .xerneasNeutral: return 2649 - case .xerneasActive: return 2650 - case .hoopaConfined: return 2651 - case .hoopaUnbound: return 2652 - case .sableyeCostume2020Deprecated: return 2666 - case .sableyeCostume2020: return 2668 - case .pikachuAdventureHat2020: return 2669 - case .pikachuWinter2020: return 2670 - case .delibirdWinter2020: return 2671 - case .cubchooWinter2020: return 2672 - case .slowpoke2020: return 2673 - case .slowbro2021: return 2674 - case .pikachuKariyushi: return 2675 - case .pikachuPopStar: return 2676 - case .pikachuRockStar: return 2677 - case .pikachuFlying5ThAnniv: return 2678 - case .oricorioBaile: return 2679 - case .oricorioPompom: return 2680 - case .oricorioPau: return 2681 - case .oricorioSensu: return 2683 - case .lycanrocMidday: return 2684 - case .lycanrocMidnight: return 2685 - case .lycanrocDusk: return 2686 - case .wishiwashiSolo: return 2687 - case .wishiwashiSchool: return 2688 - case .silvallyNormal: return 2689 - case .silvallyBug: return 2690 - case .silvallyDark: return 2691 - case .silvallyDragon: return 2692 - case .silvallyElectric: return 2693 - case .silvallyFairy: return 2694 - case .silvallyFighting: return 2695 - case .silvallyFire: return 2696 - case .silvallyFlying: return 2697 - case .silvallyGhost: return 2698 - case .silvallyGrass: return 2699 - case .silvallyGround: return 2700 - case .silvallyIce: return 2701 - case .silvallyPoison: return 2702 - case .silvallyPsychic: return 2703 - case .silvallyRock: return 2704 - case .silvallySteel: return 2705 - case .silvallyWater: return 2706 - case .miniorMeteorBlue: return 2707 - case .miniorBlue: return 2708 - case .miniorGreen: return 2709 - case .miniorIndigo: return 2710 - case .miniorOrange: return 2711 - case .miniorRed: return 2712 - case .miniorViolet: return 2713 - case .miniorYellow: return 2714 - case .mimikyuBusted: return 2715 - case .mimikyuDisguised: return 2716 - case .necrozmaNormal: return 2717 - case .necrozmaDuskMane: return 2718 - case .necrozmaDawnWings: return 2719 - case .necrozmaUltra: return 2720 - case .magearnaNormal: return 2721 - case .magearnaOriginalColor: return 2722 - case .urshifuSingleStrike: return 2723 - case .urshifuRapidStrike: return 2724 - case .calyrexNormal: return 2725 - case .calyrexIceRider: return 2726 - case .calyrexShadowRider: return 2727 - case .voltorbHisuian: return 2728 - case .lugiaS: return 2729 - case .hoOhS: return 2730 - case .raikouS: return 2731 - case .enteiS: return 2732 - case .suicuneS: return 2733 - case .slowking2022: return 2734 - case .electrodeHisuian: return 2735 - case .pikachuFlyingOkinawa: return 2736 - case .rockruffDusk: return 2737 - case .miniorMeteorGreen: return 2739 - case .miniorMeteorIndigo: return 2740 - case .miniorMeteorOrange: return 2741 - case .miniorMeteorRed: return 2742 - case .miniorMeteorViolet: return 2743 - case .miniorMeteorYellow: return 2744 - case .scatterbugArchipelago: return 2745 - case .scatterbugContinental: return 2746 - case .scatterbugElegant: return 2747 - case .scatterbugFancy: return 2748 - case .scatterbugGarden: return 2749 - case .scatterbugHighPlains: return 2750 - case .scatterbugIcySnow: return 2751 - case .scatterbugJungle: return 2752 - case .scatterbugMarine: return 2753 - case .scatterbugMeadow: return 2754 - case .scatterbugModern: return 2755 - case .scatterbugMonsoon: return 2756 - case .scatterbugOcean: return 2757 - case .scatterbugPokeball: return 2758 - case .scatterbugPolar: return 2759 - case .scatterbugRiver: return 2760 - case .scatterbugSandstorm: return 2761 - case .scatterbugSavanna: return 2762 - case .scatterbugSun: return 2763 - case .scatterbugTundra: return 2764 - case .spewpaArchipelago: return 2765 - case .spewpaContinental: return 2766 - case .spewpaElegant: return 2767 - case .spewpaFancy: return 2768 - case .spewpaGarden: return 2769 - case .spewpaHighPlains: return 2770 - case .spewpaIcySnow: return 2771 - case .spewpaJungle: return 2772 - case .spewpaMarine: return 2773 - case .spewpaMeadow: return 2774 - case .spewpaModern: return 2775 - case .spewpaMonsoon: return 2776 - case .spewpaOcean: return 2777 - case .spewpaPokeball: return 2778 - case .spewpaPolar: return 2779 - case .spewpaRiver: return 2780 - case .spewpaSandstorm: return 2781 - case .spewpaSavanna: return 2782 - case .spewpaSun: return 2783 - case .spewpaTundra: return 2784 - case .decidueyeHisuian: return 2785 - case .typhlosionHisuian: return 2786 - case .samurottHisuian: return 2787 - case .qwilfishHisuian: return 2788 - case .lilligantHisuian: return 2789 - case .sliggooHisuian: return 2790 - case .goodraHisuian: return 2791 - case .growlitheHisuian: return 2792 - case .arcanineHisuian: return 2793 - case .sneaselHisuian: return 2794 - case .avaluggHisuian: return 2795 - case .zoruaHisuian: return 2796 - case .zoroarkHisuian: return 2797 - case .braviaryHisuian: return 2798 - case .moltresGalarian: return 2799 - case .zapdosGalarian: return 2800 - case .articunoGalarian: return 2801 - case .enamorusIncarnate: return 2802 - case .enamorusTherian: return 2803 - case .basculinWhiteStriped: return 2804 - case .pikachuGofest2022: return 2805 - case .pikachuWcs2022: return 2806 - case .basculegionNormal: return 2807 - case .basculegionFemale: return 2808 - case .decidueyeNormal: return 2809 - case .sliggooNormal: return 2810 - case .goodraNormal: return 2811 - case .avaluggNormal: return 2812 - case .pikachuTshirt01: return 2813 - case .pikachuTshirt02: return 2814 - case .pikachuFlying01: return 2815 - case .pikachuFlying02: return 2816 - case .ursalunaNormal: return 2817 - case .ursalunaShadow: return 2818 - case .ursalunaPurified: return 2819 - case .bearticWinter2020: return 2820 - case .latiasS: return 2821 - case .latiosS: return 2822 - case .zygardeCompleteTenPercent: return 2823 - case .zygardeCompleteFiftyPercent: return 2824 - case .oinkologneNormal: return 2981 - case .oinkologneFemale: return 2982 - case .mausholdFamilyOfThree: return 2983 - case .mausholdFamilyOfFour: return 2984 - case .squawkabillyGreen: return 2985 - case .squawkabillyBlue: return 2986 - case .squawkabillyYellow: return 2987 - case .squawkabillyWhite: return 2988 - case .palafinZero: return 2989 - case .palafinHero: return 2990 - case .tatsugiriCurly: return 2991 - case .tatsugiriDroopy: return 2992 - case .tatsugiriStretchy: return 2993 - case .dudunsparceTwo: return 2994 - case .dudunsparceThree: return 2995 - case .koraidonApex: return 2996 - case .miraidonUltimate: return 2997 - case .gimmighoulNormal: return 2998 - case .gholdengoNormal: return 3000 - case .aerodactylSummer2023: return 3001 - case .pikachuSummer2023A: return 3002 - case .pikachuSummer2023B: return 3003 - case .pikachuSummer2023C: return 3004 - case .pikachuSummer2023D: return 3005 - case .taurosPaldeaCombat: return 3006 - case .taurosPaldeaBlaze: return 3007 - case .taurosPaldeaAqua: return 3008 - case .wooperPaldea: return 3009 - case .pikachuSummer2023E: return 3010 - case .pikachuFlying03: return 3011 - case .pikachuJeju: return 3012 - case .pikachuDoctor: return 3013 - case .pikachuWcs2023: return 3014 - case .UNRECOGNIZED(let i): return i - default: break - } - - // Can't get here, all the cases are listed in the above switches. - // See https://github.com/apple/swift-protobuf/issues/904 for more details. - fatalError() - } - - } - - public enum Gender: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case male // = 1 - case female // = 2 - case less // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .male - case 2: self = .female - case 3: self = .less - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .male: return 1 - case .female: return 2 - case .less: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension PokemonDisplayProto.Alignment: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonDisplayProto.Alignment] = [ - .unset, - .shadow, - .purified, - ] -} - -extension PokemonDisplayProto.Costume: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonDisplayProto.Costume] = [ - .unset, - .holiday2016, - .anniversary, - .oneYearAnniversary, - .halloween2017, - .summer2018, - .fall2018, - .november2018, - .winter2018, - .feb2019, - .may2019Noevolve, - .jan2020Noevolve, - .april2020Noevolve, - .safari2020Noevolve, - .spring2020Noevolve, - .summer2020Noevolve, - .fall2020Noevolve, - .winter2020Noevolve, - .notForReleaseAlpha, - .notForReleaseBeta, - .notForReleaseGamma, - .notForReleaseNoevolve, - .kanto2020Noevolve, - .johto2020Noevolve, - .hoenn2020Noevolve, - .sinnoh2020Noevolve, - .halloween2020Noevolve, - .costume1, - .costume2, - .costume3, - .costume4, - .costume5, - .costume6, - .costume7, - .costume8, - .costume9, - .costume10, - .costume1Noevolve, - .costume2Noevolve, - .costume3Noevolve, - .costume4Noevolve, - .costume5Noevolve, - .costume6Noevolve, - .costume7Noevolve, - .costume8Noevolve, - .costume9Noevolve, - .costume10Noevolve, - .gofest2021Noevolve, - .fashion2021Noevolve, - .halloween2021Noevolve, - .gems12021Noevolve, - .gems22021Noevolve, - .holiday2021Noevolve, - .tcg2022Noevolve, - .jan2022Noevolve, - .gofest2022Noevolve, - .anniversary2022Noevolve, - .fall2022, - .fall2022Noevolve, - .holiday2022, - .jan2023Noevolve, - .gotour2023BandanaNoevolve, - .gotour2023HatNoevolve, - .spring2023, - .spring2023Mystic, - .spring2023Valor, - .spring2023Instinct, - .nightcap, - .may2023, - .pi, - ] -} - -extension PokemonDisplayProto.Form: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonDisplayProto.Form] = [ - .unset, - .unownA, - .unownB, - .unownC, - .unownD, - .unownE, - .unownF, - .unownG, - .unownH, - .unownI, - .unownJ, - .unownK, - .unownL, - .unownM, - .unownN, - .unownO, - .unownP, - .unownQ, - .unownR, - .unownS, - .unownT, - .unownU, - .unownV, - .unownW, - .unownX, - .unownY, - .unownZ, - .unownExclamationPoint, - .unownQuestionMark, - .castformNormal, - .castformSunny, - .castformRainy, - .castformSnowy, - .deoxysNormal, - .deoxysAttack, - .deoxysDefense, - .deoxysSpeed, - .spinda00, - .spinda01, - .spinda02, - .spinda03, - .spinda04, - .spinda05, - .spinda06, - .spinda07, - .rattataNormal, - .rattataAlola, - .raticateNormal, - .raticateAlola, - .raichuNormal, - .raichuAlola, - .sandshrewNormal, - .sandshrewAlola, - .sandslashNormal, - .sandslashAlola, - .vulpixNormal, - .vulpixAlola, - .ninetalesNormal, - .ninetalesAlola, - .diglettNormal, - .diglettAlola, - .dugtrioNormal, - .dugtrioAlola, - .meowthNormal, - .meowthAlola, - .persianNormal, - .persianAlola, - .geodudeNormal, - .geodudeAlola, - .gravelerNormal, - .gravelerAlola, - .golemNormal, - .golemAlola, - .grimerNormal, - .grimerAlola, - .mukNormal, - .mukAlola, - .exeggutorNormal, - .exeggutorAlola, - .marowakNormal, - .marowakAlola, - .rotomNormal, - .rotomFrost, - .rotomFan, - .rotomMow, - .rotomWash, - .rotomHeat, - .wormadamPlant, - .wormadamSandy, - .wormadamTrash, - .giratinaAltered, - .giratinaOrigin, - .shayminSky, - .shayminLand, - .cherrimOvercast, - .cherrimSunny, - .shellosWestSea, - .shellosEastSea, - .gastrodonWestSea, - .gastrodonEastSea, - .arceusNormal, - .arceusFighting, - .arceusFlying, - .arceusPoison, - .arceusGround, - .arceusRock, - .arceusBug, - .arceusGhost, - .arceusSteel, - .arceusFire, - .arceusWater, - .arceusGrass, - .arceusElectric, - .arceusPsychic, - .arceusIce, - .arceusDragon, - .arceusDark, - .arceusFairy, - .burmyPlant, - .burmySandy, - .burmyTrash, - .spinda08, - .spinda09, - .spinda10, - .spinda11, - .spinda12, - .spinda13, - .spinda14, - .spinda15, - .spinda16, - .spinda17, - .spinda18, - .spinda19, - .mewtwoA, - .mewtwoNormal, - .basculinRedStriped, - .basculinBlueStriped, - .darmanitanStandard, - .darmanitanZen, - .tornadusIncarnate, - .tornadusTherian, - .thundurusIncarnate, - .thundurusTherian, - .landorusIncarnate, - .landorusTherian, - .kyuremNormal, - .kyuremBlack, - .kyuremWhite, - .keldeoOrdinary, - .keldeoResolute, - .meloettaAria, - .meloettaPirouette, - .rattataShadow, - .rattataPurified, - .raticateShadow, - .raticatePurified, - .zubatNormal, - .zubatShadow, - .zubatPurified, - .golbatNormal, - .golbatShadow, - .golbatPurified, - .bulbasaurNormal, - .bulbasaurShadow, - .bulbasaurPurified, - .ivysaurNormal, - .ivysaurShadow, - .ivysaurPurified, - .venusaurNormal, - .venusaurShadow, - .venusaurPurified, - .charmanderNormal, - .charmanderShadow, - .charmanderPurified, - .charmeleonNormal, - .charmeleonShadow, - .charmeleonPurified, - .charizardNormal, - .charizardShadow, - .charizardPurified, - .squirtleNormal, - .squirtleShadow, - .squirtlePurified, - .wartortleNormal, - .wartortleShadow, - .wartortlePurified, - .blastoiseNormal, - .blastoiseShadow, - .blastoisePurified, - .dratiniNormal, - .dratiniShadow, - .dratiniPurified, - .dragonairNormal, - .dragonairShadow, - .dragonairPurified, - .dragoniteNormal, - .dragoniteShadow, - .dragonitePurified, - .snorlaxNormal, - .snorlaxShadow, - .snorlaxPurified, - .crobatNormal, - .crobatShadow, - .crobatPurified, - .mudkipNormal, - .mudkipShadow, - .mudkipPurified, - .marshtompNormal, - .marshtompShadow, - .marshtompPurified, - .swampertNormal, - .swampertShadow, - .swampertPurified, - .drowzeeNormal, - .drowzeeShadow, - .drowzeePurified, - .hypnoNormal, - .hypnoShadow, - .hypnoPurified, - .grimerShadow, - .grimerPurified, - .mukShadow, - .mukPurified, - .cuboneNormal, - .cuboneShadow, - .cubonePurified, - .marowakShadow, - .marowakPurified, - .houndourNormal, - .houndourShadow, - .houndourPurified, - .houndoomNormal, - .houndoomShadow, - .houndoomPurified, - .poliwagNormal, - .poliwagShadow, - .poliwagPurified, - .poliwhirlNormal, - .poliwhirlShadow, - .poliwhirlPurified, - .poliwrathNormal, - .poliwrathShadow, - .poliwrathPurified, - .politoedNormal, - .politoedShadow, - .politoedPurified, - .scytherNormal, - .scytherShadow, - .scytherPurified, - .scizorNormal, - .scizorShadow, - .scizorPurified, - .magikarpNormal, - .magikarpShadow, - .magikarpPurified, - .gyaradosNormal, - .gyaradosShadow, - .gyaradosPurified, - .venonatNormal, - .venonatShadow, - .venonatPurified, - .venomothNormal, - .venomothShadow, - .venomothPurified, - .oddishNormal, - .oddishShadow, - .oddishPurified, - .gloomNormal, - .gloomShadow, - .gloomPurified, - .vileplumeNormal, - .vileplumeShadow, - .vileplumePurified, - .bellossomNormal, - .bellossomShadow, - .bellossomPurified, - .hitmonchanNormal, - .hitmonchanShadow, - .hitmonchanPurified, - .growlitheNormal, - .growlitheShadow, - .growlithePurified, - .arcanineNormal, - .arcanineShadow, - .arcaninePurified, - .psyduckNormal, - .psyduckShadow, - .psyduckPurified, - .golduckNormal, - .golduckShadow, - .golduckPurified, - .raltsNormal, - .raltsShadow, - .raltsPurified, - .kirliaNormal, - .kirliaShadow, - .kirliaPurified, - .gardevoirNormal, - .gardevoirShadow, - .gardevoirPurified, - .galladeNormal, - .galladeShadow, - .galladePurified, - .abraNormal, - .abraShadow, - .abraPurified, - .kadabraNormal, - .kadabraShadow, - .kadabraPurified, - .alakazamNormal, - .alakazamShadow, - .alakazamPurified, - .larvitarNormal, - .larvitarShadow, - .larvitarPurified, - .pupitarNormal, - .pupitarShadow, - .pupitarPurified, - .tyranitarNormal, - .tyranitarShadow, - .tyranitarPurified, - .laprasNormal, - .laprasShadow, - .laprasPurified, - .deerlingSpring, - .deerlingSummer, - .deerlingAutumn, - .deerlingWinter, - .sawsbuckSpring, - .sawsbuckSummer, - .sawsbuckAutumn, - .sawsbuckWinter, - .genesectNormal, - .genesectShock, - .genesectBurn, - .genesectChill, - .genesectDouse, - .pikachuNormal, - .wurmpleNormal, - .wobbuffetNormal, - .cacneaNormal, - .cacneaShadow, - .cacneaPurified, - .cacturneNormal, - .cacturneShadow, - .cacturnePurified, - .weedleNormal, - .weedleShadow, - .weedlePurified, - .kakunaNormal, - .kakunaShadow, - .kakunaPurified, - .beedrillNormal, - .beedrillShadow, - .beedrillPurified, - .seedotNormal, - .seedotShadow, - .seedotPurified, - .nuzleafNormal, - .nuzleafShadow, - .nuzleafPurified, - .shiftryNormal, - .shiftryShadow, - .shiftryPurified, - .magmarNormal, - .magmarShadow, - .magmarPurified, - .magmortarNormal, - .magmortarShadow, - .magmortarPurified, - .electabuzzNormal, - .electabuzzShadow, - .electabuzzPurified, - .electivireNormal, - .electivireShadow, - .electivirePurified, - .mareepNormal, - .mareepShadow, - .mareepPurified, - .flaaffyNormal, - .flaaffyShadow, - .flaaffyPurified, - .ampharosNormal, - .ampharosShadow, - .ampharosPurified, - .magnemiteNormal, - .magnemiteShadow, - .magnemitePurified, - .magnetonNormal, - .magnetonShadow, - .magnetonPurified, - .magnezoneNormal, - .magnezoneShadow, - .magnezonePurified, - .bellsproutNormal, - .bellsproutShadow, - .bellsproutPurified, - .weepinbellNormal, - .weepinbellShadow, - .weepinbellPurified, - .victreebelNormal, - .victreebelShadow, - .victreebelPurified, - .sandshrewShadow, - .sandshrewPurified, - .sandslashShadow, - .sandslashPurified, - .porygonNormal, - .porygonShadow, - .porygonPurified, - .porygon2Normal, - .porygon2Shadow, - .porygon2Purified, - .porygonZNormal, - .porygonZShadow, - .porygonZPurified, - .wobbuffetShadow, - .wobbuffetPurified, - .turtwigNormal, - .turtwigShadow, - .turtwigPurified, - .grotleNormal, - .grotleShadow, - .grotlePurified, - .torterraNormal, - .torterraShadow, - .torterraPurified, - .ekansNormal, - .ekansShadow, - .ekansPurified, - .arbokNormal, - .arbokShadow, - .arbokPurified, - .koffingNormal, - .koffingShadow, - .koffingPurified, - .weezingNormal, - .weezingShadow, - .weezingPurified, - .meowthShadow, - .meowthPurified, - .persianShadow, - .persianPurified, - .hitmonleeNormal, - .hitmonleeShadow, - .hitmonleePurified, - .articunoNormal, - .articunoShadow, - .articunoPurified, - .misdreavusNormal, - .misdreavusShadow, - .misdreavusPurified, - .mismagiusNormal, - .mismagiusShadow, - .mismagiusPurified, - .vulpixShadow, - .vulpixPurified, - .ninetalesShadow, - .ninetalesPurified, - .exeggcuteNormal, - .exeggcuteShadow, - .exeggcutePurified, - .exeggutorShadow, - .exeggutorPurified, - .carvanhaNormal, - .carvanhaShadow, - .carvanhaPurified, - .sharpedoNormal, - .sharpedoShadow, - .sharpedoPurified, - .omanyteNormal, - .omanyteShadow, - .omanytePurified, - .omastarNormal, - .omastarShadow, - .omastarPurified, - .trapinchNormal, - .trapinchShadow, - .trapinchPurified, - .vibravaNormal, - .vibravaShadow, - .vibravaPurified, - .flygonNormal, - .flygonShadow, - .flygonPurified, - .bagonNormal, - .bagonShadow, - .bagonPurified, - .shelgonNormal, - .shelgonShadow, - .shelgonPurified, - .salamenceNormal, - .salamenceShadow, - .salamencePurified, - .beldumNormal, - .beldumShadow, - .beldumPurified, - .metangNormal, - .metangShadow, - .metangPurified, - .metagrossNormal, - .metagrossShadow, - .metagrossPurified, - .zapdosNormal, - .zapdosShadow, - .zapdosPurified, - .nidoranNormal, - .nidoranShadow, - .nidoranPurified, - .nidorinaNormal, - .nidorinaShadow, - .nidorinaPurified, - .nidoqueenNormal, - .nidoqueenShadow, - .nidoqueenPurified, - .nidorinoNormal, - .nidorinoShadow, - .nidorinoPurified, - .nidokingNormal, - .nidokingShadow, - .nidokingPurified, - .stunkyNormal, - .stunkyShadow, - .stunkyPurified, - .skuntankNormal, - .skuntankShadow, - .skuntankPurified, - .sneaselNormal, - .sneaselShadow, - .sneaselPurified, - .weavileNormal, - .weavileShadow, - .weavilePurified, - .gligarNormal, - .gligarShadow, - .gligarPurified, - .gliscorNormal, - .gliscorShadow, - .gliscorPurified, - .machopNormal, - .machopShadow, - .machopPurified, - .machokeNormal, - .machokeShadow, - .machokePurified, - .machampNormal, - .machampShadow, - .machampPurified, - .chimcharNormal, - .chimcharShadow, - .chimcharPurified, - .monfernoNormal, - .monfernoShadow, - .monfernoPurified, - .infernapeNormal, - .infernapeShadow, - .infernapePurified, - .shuckleNormal, - .shuckleShadow, - .shucklePurified, - .absolNormal, - .absolShadow, - .absolPurified, - .mawileNormal, - .mawileShadow, - .mawilePurified, - .moltresNormal, - .moltresShadow, - .moltresPurified, - .kangaskhanNormal, - .kangaskhanShadow, - .kangaskhanPurified, - .diglettShadow, - .diglettPurified, - .dugtrioShadow, - .dugtrioPurified, - .rhyhornNormal, - .rhyhornShadow, - .rhyhornPurified, - .rhydonNormal, - .rhydonShadow, - .rhydonPurified, - .rhyperiorNormal, - .rhyperiorShadow, - .rhyperiorPurified, - .murkrowNormal, - .murkrowShadow, - .murkrowPurified, - .honchkrowNormal, - .honchkrowShadow, - .honchkrowPurified, - .gibleNormal, - .gibleShadow, - .giblePurified, - .gabiteNormal, - .gabiteShadow, - .gabitePurified, - .garchompNormal, - .garchompShadow, - .garchompPurified, - .krabbyNormal, - .krabbyShadow, - .krabbyPurified, - .kinglerNormal, - .kinglerShadow, - .kinglerPurified, - .shellderNormal, - .shellderShadow, - .shellderPurified, - .cloysterNormal, - .cloysterShadow, - .cloysterPurified, - .geodudeShadow, - .geodudePurified, - .gravelerShadow, - .gravelerPurified, - .golemShadow, - .golemPurified, - .hippopotasNormal, - .hippopotasShadow, - .hippopotasPurified, - .hippowdonNormal, - .hippowdonShadow, - .hippowdonPurified, - .pikachuFall2019, - .squirtleFall2019, - .charmanderFall2019, - .bulbasaurFall2019, - .pinsirNormal, - .pinsirShadow, - .pinsirPurified, - .pikachuVs2019, - .onixNormal, - .onixShadow, - .onixPurified, - .steelixNormal, - .steelixShadow, - .steelixPurified, - .shuppetNormal, - .shuppetShadow, - .shuppetPurified, - .banetteNormal, - .banetteShadow, - .banettePurified, - .duskullNormal, - .duskullShadow, - .duskullPurified, - .dusclopsNormal, - .dusclopsShadow, - .dusclopsPurified, - .dusknoirNormal, - .dusknoirShadow, - .dusknoirPurified, - .sableyeNormal, - .sableyeShadow, - .sableyePurified, - .snoruntNormal, - .snoruntShadow, - .snoruntPurified, - .glalieNormal, - .glalieShadow, - .glaliePurified, - .snoverNormal, - .snoverShadow, - .snoverPurified, - .abomasnowNormal, - .abomasnowShadow, - .abomasnowPurified, - .delibirdNormal, - .delibirdShadow, - .delibirdPurified, - .stantlerNormal, - .stantlerShadow, - .stantlerPurified, - .weezingGalarian, - .zigzagoonNormal, - .zigzagoonGalarian, - .linooneNormal, - .linooneGalarian, - .pikachuCopy2019, - .venusaurCopy2019, - .charizardCopy2019, - .blastoiseCopy2019, - .caterpieNormal, - .caterpieShadow, - .caterpiePurified, - .metapodNormal, - .metapodShadow, - .metapodPurified, - .butterfreeNormal, - .butterfreeShadow, - .butterfreePurified, - .pidgeyNormal, - .pidgeyShadow, - .pidgeyPurified, - .pidgeottoNormal, - .pidgeottoShadow, - .pidgeottoPurified, - .pidgeotNormal, - .pidgeotShadow, - .pidgeotPurified, - .spearowNormal, - .spearowShadow, - .spearowPurified, - .fearowNormal, - .fearowShadow, - .fearowPurified, - .pikachuShadow, - .pikachuPurified, - .raichuShadow, - .raichuPurified, - .clefairyNormal, - .clefairyShadow, - .clefairyPurified, - .clefableNormal, - .clefableShadow, - .clefablePurified, - .jigglypuffNormal, - .jigglypuffShadow, - .jigglypuffPurified, - .wigglytuffNormal, - .wigglytuffShadow, - .wigglytuffPurified, - .parasNormal, - .parasShadow, - .parasPurified, - .parasectNormal, - .parasectShadow, - .parasectPurified, - .mankeyNormal, - .mankeyShadow, - .mankeyPurified, - .primeapeNormal, - .primeapeShadow, - .primeapePurified, - .tentacoolNormal, - .tentacoolShadow, - .tentacoolPurified, - .tentacruelNormal, - .tentacruelShadow, - .tentacruelPurified, - .ponytaNormal, - .ponytaShadow, - .ponytaPurified, - .rapidashNormal, - .rapidashShadow, - .rapidashPurified, - .slowpokeNormal, - .slowpokeShadow, - .slowpokePurified, - .slowbroNormal, - .slowbroShadow, - .slowbroPurified, - .farfetchdNormal, - .farfetchdShadow, - .farfetchdPurified, - .doduoNormal, - .doduoShadow, - .doduoPurified, - .dodrioNormal, - .dodrioShadow, - .dodrioPurified, - .seelNormal, - .seelShadow, - .seelPurified, - .dewgongNormal, - .dewgongShadow, - .dewgongPurified, - .gastlyNormal, - .gastlyShadow, - .gastlyPurified, - .haunterNormal, - .haunterShadow, - .haunterPurified, - .gengarNormal, - .gengarShadow, - .gengarPurified, - .voltorbNormal, - .voltorbShadow, - .voltorbPurified, - .electrodeNormal, - .electrodeShadow, - .electrodePurified, - .lickitungNormal, - .lickitungShadow, - .lickitungPurified, - .chanseyNormal, - .chanseyShadow, - .chanseyPurified, - .tangelaNormal, - .tangelaShadow, - .tangelaPurified, - .horseaNormal, - .horseaShadow, - .horseaPurified, - .seadraNormal, - .seadraShadow, - .seadraPurified, - .goldeenNormal, - .goldeenShadow, - .goldeenPurified, - .seakingNormal, - .seakingShadow, - .seakingPurified, - .staryuNormal, - .staryuShadow, - .staryuPurified, - .starmieNormal, - .starmieShadow, - .starmiePurified, - .mrMimeNormal, - .mrMimeShadow, - .mrMimePurified, - .jynxNormal, - .jynxShadow, - .jynxPurified, - .taurosNormal, - .taurosShadow, - .taurosPurified, - .dittoNormal, - .dittoShadow, - .dittoPurified, - .eeveeNormal, - .eeveeShadow, - .eeveePurified, - .vaporeonNormal, - .vaporeonShadow, - .vaporeonPurified, - .jolteonNormal, - .jolteonShadow, - .jolteonPurified, - .flareonNormal, - .flareonShadow, - .flareonPurified, - .kabutoNormal, - .kabutoShadow, - .kabutoPurified, - .kabutopsNormal, - .kabutopsShadow, - .kabutopsPurified, - .aerodactylNormal, - .aerodactylShadow, - .aerodactylPurified, - .mewtwoShadow, - .mewtwoPurified, - .mewNormal, - .mewShadow, - .mewPurified, - .chikoritaNormal, - .chikoritaShadow, - .chikoritaPurified, - .bayleefNormal, - .bayleefShadow, - .bayleefPurified, - .meganiumNormal, - .meganiumShadow, - .meganiumPurified, - .cyndaquilNormal, - .cyndaquilShadow, - .cyndaquilPurified, - .quilavaNormal, - .quilavaShadow, - .quilavaPurified, - .typhlosionNormal, - .typhlosionShadow, - .typhlosionPurified, - .totodileNormal, - .totodileShadow, - .totodilePurified, - .croconawNormal, - .croconawShadow, - .croconawPurified, - .feraligatrNormal, - .feraligatrShadow, - .feraligatrPurified, - .sentretNormal, - .sentretShadow, - .sentretPurified, - .furretNormal, - .furretShadow, - .furretPurified, - .hoothootNormal, - .hoothootShadow, - .hoothootPurified, - .noctowlNormal, - .noctowlShadow, - .noctowlPurified, - .ledybaNormal, - .ledybaShadow, - .ledybaPurified, - .ledianNormal, - .ledianShadow, - .ledianPurified, - .spinarakNormal, - .spinarakShadow, - .spinarakPurified, - .ariadosNormal, - .ariadosShadow, - .ariadosPurified, - .chinchouNormal, - .chinchouShadow, - .chinchouPurified, - .lanturnNormal, - .lanturnShadow, - .lanturnPurified, - .pichuNormal, - .pichuShadow, - .pichuPurified, - .cleffaNormal, - .cleffaShadow, - .cleffaPurified, - .igglybuffNormal, - .igglybuffShadow, - .igglybuffPurified, - .togepiNormal, - .togepiShadow, - .togepiPurified, - .togeticNormal, - .togeticShadow, - .togeticPurified, - .natuNormal, - .natuShadow, - .natuPurified, - .xatuNormal, - .xatuShadow, - .xatuPurified, - .marillNormal, - .marillShadow, - .marillPurified, - .azumarillNormal, - .azumarillShadow, - .azumarillPurified, - .sudowoodoNormal, - .sudowoodoShadow, - .sudowoodoPurified, - .hoppipNormal, - .hoppipShadow, - .hoppipPurified, - .skiploomNormal, - .skiploomShadow, - .skiploomPurified, - .jumpluffNormal, - .jumpluffShadow, - .jumpluffPurified, - .aipomNormal, - .aipomShadow, - .aipomPurified, - .sunkernNormal, - .sunkernShadow, - .sunkernPurified, - .sunfloraNormal, - .sunfloraShadow, - .sunfloraPurified, - .yanmaNormal, - .yanmaShadow, - .yanmaPurified, - .wooperNormal, - .wooperShadow, - .wooperPurified, - .quagsireNormal, - .quagsireShadow, - .quagsirePurified, - .espeonNormal, - .espeonShadow, - .espeonPurified, - .umbreonNormal, - .umbreonShadow, - .umbreonPurified, - .slowkingNormal, - .slowkingShadow, - .slowkingPurified, - .girafarigNormal, - .girafarigShadow, - .girafarigPurified, - .pinecoNormal, - .pinecoShadow, - .pinecoPurified, - .forretressNormal, - .forretressShadow, - .forretressPurified, - .dunsparceNormal, - .dunsparceShadow, - .dunsparcePurified, - .snubbullNormal, - .snubbullShadow, - .snubbullPurified, - .granbullNormal, - .granbullShadow, - .granbullPurified, - .qwilfishNormal, - .qwilfishShadow, - .qwilfishPurified, - .heracrossNormal, - .heracrossShadow, - .heracrossPurified, - .teddiursaNormal, - .teddiursaShadow, - .teddiursaPurified, - .ursaringNormal, - .ursaringShadow, - .ursaringPurified, - .slugmaNormal, - .slugmaShadow, - .slugmaPurified, - .magcargoNormal, - .magcargoShadow, - .magcargoPurified, - .swinubNormal, - .swinubShadow, - .swinubPurified, - .piloswineNormal, - .piloswineShadow, - .piloswinePurified, - .corsolaNormal, - .corsolaShadow, - .corsolaPurified, - .remoraidNormal, - .remoraidShadow, - .remoraidPurified, - .octilleryNormal, - .octilleryShadow, - .octilleryPurified, - .mantineNormal, - .mantineShadow, - .mantinePurified, - .skarmoryNormal, - .skarmoryShadow, - .skarmoryPurified, - .kingdraNormal, - .kingdraShadow, - .kingdraPurified, - .phanpyNormal, - .phanpyShadow, - .phanpyPurified, - .donphanNormal, - .donphanShadow, - .donphanPurified, - .smeargleNormal, - .smeargleShadow, - .smearglePurified, - .tyrogueNormal, - .tyrogueShadow, - .tyroguePurified, - .hitmontopNormal, - .hitmontopShadow, - .hitmontopPurified, - .smoochumNormal, - .smoochumShadow, - .smoochumPurified, - .elekidNormal, - .elekidShadow, - .elekidPurified, - .magbyNormal, - .magbyShadow, - .magbyPurified, - .miltankNormal, - .miltankShadow, - .miltankPurified, - .blisseyNormal, - .blisseyShadow, - .blisseyPurified, - .raikouNormal, - .raikouShadow, - .raikouPurified, - .enteiNormal, - .enteiShadow, - .enteiPurified, - .suicuneNormal, - .suicuneShadow, - .suicunePurified, - .lugiaNormal, - .lugiaShadow, - .lugiaPurified, - .hoOhNormal, - .hoOhShadow, - .hoOhPurified, - .celebiNormal, - .celebiShadow, - .celebiPurified, - .treeckoNormal, - .treeckoShadow, - .treeckoPurified, - .grovyleNormal, - .grovyleShadow, - .grovylePurified, - .sceptileNormal, - .sceptileShadow, - .sceptilePurified, - .torchicNormal, - .torchicShadow, - .torchicPurified, - .combuskenNormal, - .combuskenShadow, - .combuskenPurified, - .blazikenNormal, - .blazikenShadow, - .blazikenPurified, - .poochyenaNormal, - .poochyenaShadow, - .poochyenaPurified, - .mightyenaNormal, - .mightyenaShadow, - .mightyenaPurified, - .zigzagoonShadow, - .zigzagoonPurified, - .linooneShadow, - .linoonePurified, - .wurmpleShadow, - .wurmplePurified, - .silcoonNormal, - .silcoonShadow, - .silcoonPurified, - .beautiflyNormal, - .beautiflyShadow, - .beautiflyPurified, - .cascoonNormal, - .cascoonShadow, - .cascoonPurified, - .dustoxNormal, - .dustoxShadow, - .dustoxPurified, - .lotadNormal, - .lotadShadow, - .lotadPurified, - .lombreNormal, - .lombreShadow, - .lombrePurified, - .ludicoloNormal, - .ludicoloShadow, - .ludicoloPurified, - .taillowNormal, - .taillowShadow, - .taillowPurified, - .swellowNormal, - .swellowShadow, - .swellowPurified, - .wingullNormal, - .wingullShadow, - .wingullPurified, - .pelipperNormal, - .pelipperShadow, - .pelipperPurified, - .surskitNormal, - .surskitShadow, - .surskitPurified, - .masquerainNormal, - .masquerainShadow, - .masquerainPurified, - .shroomishNormal, - .shroomishShadow, - .shroomishPurified, - .breloomNormal, - .breloomShadow, - .breloomPurified, - .slakothNormal, - .slakothShadow, - .slakothPurified, - .vigorothNormal, - .vigorothShadow, - .vigorothPurified, - .slakingNormal, - .slakingShadow, - .slakingPurified, - .nincadaNormal, - .nincadaShadow, - .nincadaPurified, - .ninjaskNormal, - .ninjaskShadow, - .ninjaskPurified, - .shedinjaNormal, - .shedinjaShadow, - .shedinjaPurified, - .whismurNormal, - .whismurShadow, - .whismurPurified, - .loudredNormal, - .loudredShadow, - .loudredPurified, - .exploudNormal, - .exploudShadow, - .exploudPurified, - .makuhitaNormal, - .makuhitaShadow, - .makuhitaPurified, - .hariyamaNormal, - .hariyamaShadow, - .hariyamaPurified, - .azurillNormal, - .azurillShadow, - .azurillPurified, - .nosepassNormal, - .nosepassShadow, - .nosepassPurified, - .skittyNormal, - .skittyShadow, - .skittyPurified, - .delcattyNormal, - .delcattyShadow, - .delcattyPurified, - .aronNormal, - .aronShadow, - .aronPurified, - .laironNormal, - .laironShadow, - .laironPurified, - .aggronNormal, - .aggronShadow, - .aggronPurified, - .medititeNormal, - .medititeShadow, - .medititePurified, - .medichamNormal, - .medichamShadow, - .medichamPurified, - .electrikeNormal, - .electrikeShadow, - .electrikePurified, - .manectricNormal, - .manectricShadow, - .manectricPurified, - .plusleNormal, - .plusleShadow, - .pluslePurified, - .minunNormal, - .minunShadow, - .minunPurified, - .volbeatNormal, - .volbeatShadow, - .volbeatPurified, - .illumiseNormal, - .illumiseShadow, - .illumisePurified, - .roseliaNormal, - .roseliaShadow, - .roseliaPurified, - .gulpinNormal, - .gulpinShadow, - .gulpinPurified, - .swalotNormal, - .swalotShadow, - .swalotPurified, - .wailmerNormal, - .wailmerShadow, - .wailmerPurified, - .wailordNormal, - .wailordShadow, - .wailordPurified, - .numelNormal, - .numelShadow, - .numelPurified, - .cameruptNormal, - .cameruptShadow, - .cameruptPurified, - .torkoalNormal, - .torkoalShadow, - .torkoalPurified, - .spoinkNormal, - .spoinkShadow, - .spoinkPurified, - .grumpigNormal, - .grumpigShadow, - .grumpigPurified, - .swabluNormal, - .swabluShadow, - .swabluPurified, - .altariaNormal, - .altariaShadow, - .altariaPurified, - .zangooseNormal, - .zangooseShadow, - .zangoosePurified, - .seviperNormal, - .seviperShadow, - .seviperPurified, - .lunatoneNormal, - .lunatoneShadow, - .lunatonePurified, - .solrockNormal, - .solrockShadow, - .solrockPurified, - .barboachNormal, - .barboachShadow, - .barboachPurified, - .whiscashNormal, - .whiscashShadow, - .whiscashPurified, - .corphishNormal, - .corphishShadow, - .corphishPurified, - .crawdauntNormal, - .crawdauntShadow, - .crawdauntPurified, - .baltoyNormal, - .baltoyShadow, - .baltoyPurified, - .claydolNormal, - .claydolShadow, - .claydolPurified, - .lileepNormal, - .lileepShadow, - .lileepPurified, - .cradilyNormal, - .cradilyShadow, - .cradilyPurified, - .anorithNormal, - .anorithShadow, - .anorithPurified, - .armaldoNormal, - .armaldoShadow, - .armaldoPurified, - .feebasNormal, - .feebasShadow, - .feebasPurified, - .miloticNormal, - .miloticShadow, - .miloticPurified, - .kecleonNormal, - .kecleonShadow, - .kecleonPurified, - .tropiusNormal, - .tropiusShadow, - .tropiusPurified, - .chimechoNormal, - .chimechoShadow, - .chimechoPurified, - .wynautNormal, - .wynautShadow, - .wynautPurified, - .sphealNormal, - .sphealShadow, - .sphealPurified, - .sealeoNormal, - .sealeoShadow, - .sealeoPurified, - .walreinNormal, - .walreinShadow, - .walreinPurified, - .clamperlNormal, - .clamperlShadow, - .clamperlPurified, - .huntailNormal, - .huntailShadow, - .huntailPurified, - .gorebyssNormal, - .gorebyssShadow, - .gorebyssPurified, - .relicanthNormal, - .relicanthShadow, - .relicanthPurified, - .luvdiscNormal, - .luvdiscShadow, - .luvdiscPurified, - .regirockNormal, - .regirockShadow, - .regirockPurified, - .regiceNormal, - .regiceShadow, - .regicePurified, - .registeelNormal, - .registeelShadow, - .registeelPurified, - .latiasNormal, - .latiasShadow, - .latiasPurified, - .latiosNormal, - .latiosShadow, - .latiosPurified, - .kyogreNormal, - .kyogreShadow, - .kyogrePurified, - .groudonNormal, - .groudonShadow, - .groudonPurified, - .rayquazaNormal, - .rayquazaShadow, - .rayquazaPurified, - .jirachiNormal, - .jirachiShadow, - .jirachiPurified, - .piplupNormal, - .piplupShadow, - .piplupPurified, - .prinplupNormal, - .prinplupShadow, - .prinplupPurified, - .empoleonNormal, - .empoleonShadow, - .empoleonPurified, - .starlyNormal, - .starlyShadow, - .starlyPurified, - .staraviaNormal, - .staraviaShadow, - .staraviaPurified, - .staraptorNormal, - .staraptorShadow, - .staraptorPurified, - .bidoofNormal, - .bidoofShadow, - .bidoofPurified, - .bibarelNormal, - .bibarelShadow, - .bibarelPurified, - .kricketotNormal, - .kricketotShadow, - .kricketotPurified, - .kricketuneNormal, - .kricketuneShadow, - .kricketunePurified, - .shinxNormal, - .shinxShadow, - .shinxPurified, - .luxioNormal, - .luxioShadow, - .luxioPurified, - .luxrayNormal, - .luxrayShadow, - .luxrayPurified, - .budewNormal, - .budewShadow, - .budewPurified, - .roseradeNormal, - .roseradeShadow, - .roseradePurified, - .cranidosNormal, - .cranidosShadow, - .cranidosPurified, - .rampardosNormal, - .rampardosShadow, - .rampardosPurified, - .shieldonNormal, - .shieldonShadow, - .shieldonPurified, - .bastiodonNormal, - .bastiodonShadow, - .bastiodonPurified, - .burmyNormal, - .burmyShadow, - .burmyPurified, - .wormadamNormal, - .wormadamShadow, - .wormadamPurified, - .mothimNormal, - .mothimShadow, - .mothimPurified, - .combeeNormal, - .combeeShadow, - .combeePurified, - .vespiquenNormal, - .vespiquenShadow, - .vespiquenPurified, - .pachirisuNormal, - .pachirisuShadow, - .pachirisuPurified, - .buizelNormal, - .buizelShadow, - .buizelPurified, - .floatzelNormal, - .floatzelShadow, - .floatzelPurified, - .cherubiNormal, - .cherubiShadow, - .cherubiPurified, - .cherrimNormal, - .cherrimShadow, - .cherrimPurified, - .shellosNormal, - .shellosShadow, - .shellosPurified, - .gastrodonNormal, - .gastrodonShadow, - .gastrodonPurified, - .ambipomNormal, - .ambipomShadow, - .ambipomPurified, - .drifloonNormal, - .drifloonShadow, - .drifloonPurified, - .drifblimNormal, - .drifblimShadow, - .drifblimPurified, - .bunearyNormal, - .bunearyShadow, - .bunearyPurified, - .lopunnyNormal, - .lopunnyShadow, - .lopunnyPurified, - .glameowNormal, - .glameowShadow, - .glameowPurified, - .puruglyNormal, - .puruglyShadow, - .puruglyPurified, - .chinglingNormal, - .chinglingShadow, - .chinglingPurified, - .bronzorNormal, - .bronzorShadow, - .bronzorPurified, - .bronzongNormal, - .bronzongShadow, - .bronzongPurified, - .bonslyNormal, - .bonslyShadow, - .bonslyPurified, - .mimeJrNormal, - .mimeJrShadow, - .mimeJrPurified, - .happinyNormal, - .happinyShadow, - .happinyPurified, - .chatotNormal, - .chatotShadow, - .chatotPurified, - .spiritombNormal, - .spiritombShadow, - .spiritombPurified, - .munchlaxNormal, - .munchlaxShadow, - .munchlaxPurified, - .rioluNormal, - .rioluShadow, - .rioluPurified, - .lucarioNormal, - .lucarioShadow, - .lucarioPurified, - .skorupiNormal, - .skorupiShadow, - .skorupiPurified, - .drapionNormal, - .drapionShadow, - .drapionPurified, - .croagunkNormal, - .croagunkShadow, - .croagunkPurified, - .toxicroakNormal, - .toxicroakShadow, - .toxicroakPurified, - .carnivineNormal, - .carnivineShadow, - .carnivinePurified, - .finneonNormal, - .finneonShadow, - .finneonPurified, - .lumineonNormal, - .lumineonShadow, - .lumineonPurified, - .mantykeNormal, - .mantykeShadow, - .mantykePurified, - .lickilickyNormal, - .lickilickyShadow, - .lickilickyPurified, - .tangrowthNormal, - .tangrowthShadow, - .tangrowthPurified, - .togekissNormal, - .togekissShadow, - .togekissPurified, - .yanmegaNormal, - .yanmegaShadow, - .yanmegaPurified, - .leafeonNormal, - .leafeonShadow, - .leafeonPurified, - .glaceonNormal, - .glaceonShadow, - .glaceonPurified, - .mamoswineNormal, - .mamoswineShadow, - .mamoswinePurified, - .probopassNormal, - .probopassShadow, - .probopassPurified, - .froslassNormal, - .froslassShadow, - .froslassPurified, - .uxieNormal, - .uxieShadow, - .uxiePurified, - .mespritNormal, - .mespritShadow, - .mespritPurified, - .azelfNormal, - .azelfShadow, - .azelfPurified, - .dialgaNormal, - .dialgaShadow, - .dialgaPurified, - .palkiaNormal, - .palkiaShadow, - .palkiaPurified, - .heatranNormal, - .heatranShadow, - .heatranPurified, - .regigigasNormal, - .regigigasShadow, - .regigigasPurified, - .giratinaNormal, - .giratinaShadow, - .giratinaPurified, - .cresseliaNormal, - .cresseliaShadow, - .cresseliaPurified, - .phioneNormal, - .phioneShadow, - .phionePurified, - .manaphyNormal, - .manaphyShadow, - .manaphyPurified, - .darkraiNormal, - .darkraiShadow, - .darkraiPurified, - .shayminNormal, - .shayminShadow, - .shayminPurified, - .victiniNormal, - .victiniShadow, - .victiniPurified, - .snivyNormal, - .snivyShadow, - .snivyPurified, - .servineNormal, - .servineShadow, - .servinePurified, - .serperiorNormal, - .serperiorShadow, - .serperiorPurified, - .tepigNormal, - .tepigShadow, - .tepigPurified, - .pigniteNormal, - .pigniteShadow, - .pignitePurified, - .emboarNormal, - .emboarShadow, - .emboarPurified, - .oshawottNormal, - .oshawottShadow, - .oshawottPurified, - .dewottNormal, - .dewottShadow, - .dewottPurified, - .samurottNormal, - .samurottShadow, - .samurottPurified, - .patratNormal, - .patratShadow, - .patratPurified, - .watchogNormal, - .watchogShadow, - .watchogPurified, - .lillipupNormal, - .lillipupShadow, - .lillipupPurified, - .herdierNormal, - .herdierShadow, - .herdierPurified, - .stoutlandNormal, - .stoutlandShadow, - .stoutlandPurified, - .purrloinNormal, - .purrloinShadow, - .purrloinPurified, - .liepardNormal, - .liepardShadow, - .liepardPurified, - .pansageNormal, - .pansageShadow, - .pansagePurified, - .simisageNormal, - .simisageShadow, - .simisagePurified, - .pansearNormal, - .pansearShadow, - .pansearPurified, - .simisearNormal, - .simisearShadow, - .simisearPurified, - .panpourNormal, - .panpourShadow, - .panpourPurified, - .simipourNormal, - .simipourShadow, - .simipourPurified, - .munnaNormal, - .munnaShadow, - .munnaPurified, - .musharnaNormal, - .musharnaShadow, - .musharnaPurified, - .pidoveNormal, - .pidoveShadow, - .pidovePurified, - .tranquillNormal, - .tranquillShadow, - .tranquillPurified, - .unfezantNormal, - .unfezantShadow, - .unfezantPurified, - .blitzleNormal, - .blitzleShadow, - .blitzlePurified, - .zebstrikaNormal, - .zebstrikaShadow, - .zebstrikaPurified, - .roggenrolaNormal, - .roggenrolaShadow, - .roggenrolaPurified, - .boldoreNormal, - .boldoreShadow, - .boldorePurified, - .gigalithNormal, - .gigalithShadow, - .gigalithPurified, - .woobatNormal, - .woobatShadow, - .woobatPurified, - .swoobatNormal, - .swoobatShadow, - .swoobatPurified, - .drilburNormal, - .drilburShadow, - .drilburPurified, - .excadrillNormal, - .excadrillShadow, - .excadrillPurified, - .audinoNormal, - .audinoShadow, - .audinoPurified, - .timburrNormal, - .timburrShadow, - .timburrPurified, - .gurdurrNormal, - .gurdurrShadow, - .gurdurrPurified, - .conkeldurrNormal, - .conkeldurrShadow, - .conkeldurrPurified, - .tympoleNormal, - .tympoleShadow, - .tympolePurified, - .palpitoadNormal, - .palpitoadShadow, - .palpitoadPurified, - .seismitoadNormal, - .seismitoadShadow, - .seismitoadPurified, - .throhNormal, - .throhShadow, - .throhPurified, - .sawkNormal, - .sawkShadow, - .sawkPurified, - .sewaddleNormal, - .sewaddleShadow, - .sewaddlePurified, - .swadloonNormal, - .swadloonShadow, - .swadloonPurified, - .leavannyNormal, - .leavannyShadow, - .leavannyPurified, - .venipedeNormal, - .venipedeShadow, - .venipedePurified, - .whirlipedeNormal, - .whirlipedeShadow, - .whirlipedePurified, - .scolipedeNormal, - .scolipedeShadow, - .scolipedePurified, - .cottoneeNormal, - .cottoneeShadow, - .cottoneePurified, - .whimsicottNormal, - .whimsicottShadow, - .whimsicottPurified, - .petililNormal, - .petililShadow, - .petililPurified, - .lilligantNormal, - .lilligantShadow, - .lilligantPurified, - .sandileNormal, - .sandileShadow, - .sandilePurified, - .krokorokNormal, - .krokorokShadow, - .krokorokPurified, - .krookodileNormal, - .krookodileShadow, - .krookodilePurified, - .darumakaNormal, - .darumakaShadow, - .darumakaPurified, - .maractusNormal, - .maractusShadow, - .maractusPurified, - .dwebbleNormal, - .dwebbleShadow, - .dwebblePurified, - .crustleNormal, - .crustleShadow, - .crustlePurified, - .scraggyNormal, - .scraggyShadow, - .scraggyPurified, - .scraftyNormal, - .scraftyShadow, - .scraftyPurified, - .sigilyphNormal, - .sigilyphShadow, - .sigilyphPurified, - .yamaskNormal, - .yamaskShadow, - .yamaskPurified, - .cofagrigusNormal, - .cofagrigusShadow, - .cofagrigusPurified, - .tirtougaNormal, - .tirtougaShadow, - .tirtougaPurified, - .carracostaNormal, - .carracostaShadow, - .carracostaPurified, - .archenNormal, - .archenShadow, - .archenPurified, - .archeopsNormal, - .archeopsShadow, - .archeopsPurified, - .trubbishNormal, - .trubbishShadow, - .trubbishPurified, - .garbodorNormal, - .garbodorShadow, - .garbodorPurified, - .zoruaNormal, - .zoruaShadow, - .zoruaPurified, - .zoroarkNormal, - .zoroarkShadow, - .zoroarkPurified, - .minccinoNormal, - .minccinoShadow, - .minccinoPurified, - .cinccinoNormal, - .cinccinoShadow, - .cinccinoPurified, - .gothitaNormal, - .gothitaShadow, - .gothitaPurified, - .gothoritaNormal, - .gothoritaShadow, - .gothoritaPurified, - .gothitelleNormal, - .gothitelleShadow, - .gothitellePurified, - .solosisNormal, - .solosisShadow, - .solosisPurified, - .duosionNormal, - .duosionShadow, - .duosionPurified, - .reuniclusNormal, - .reuniclusShadow, - .reuniclusPurified, - .ducklettNormal, - .ducklettShadow, - .ducklettPurified, - .swannaNormal, - .swannaShadow, - .swannaPurified, - .vanilliteNormal, - .vanilliteShadow, - .vanillitePurified, - .vanillishNormal, - .vanillishShadow, - .vanillishPurified, - .vanilluxeNormal, - .vanilluxeShadow, - .vanilluxePurified, - .emolgaNormal, - .emolgaShadow, - .emolgaPurified, - .karrablastNormal, - .karrablastShadow, - .karrablastPurified, - .escavalierNormal, - .escavalierShadow, - .escavalierPurified, - .foongusNormal, - .foongusShadow, - .foongusPurified, - .amoongussNormal, - .amoongussShadow, - .amoongussPurified, - .frillishNormal, - .frillishShadow, - .frillishPurified, - .jellicentNormal, - .jellicentShadow, - .jellicentPurified, - .alomomolaNormal, - .alomomolaShadow, - .alomomolaPurified, - .joltikNormal, - .joltikShadow, - .joltikPurified, - .galvantulaNormal, - .galvantulaShadow, - .galvantulaPurified, - .ferroseedNormal, - .ferroseedShadow, - .ferroseedPurified, - .ferrothornNormal, - .ferrothornShadow, - .ferrothornPurified, - .klinkNormal, - .klinkShadow, - .klinkPurified, - .klangNormal, - .klangShadow, - .klangPurified, - .klinklangNormal, - .klinklangShadow, - .klinklangPurified, - .tynamoNormal, - .tynamoShadow, - .tynamoPurified, - .eelektrikNormal, - .eelektrikShadow, - .eelektrikPurified, - .eelektrossNormal, - .eelektrossShadow, - .eelektrossPurified, - .elgyemNormal, - .elgyemShadow, - .elgyemPurified, - .beheeyemNormal, - .beheeyemShadow, - .beheeyemPurified, - .litwickNormal, - .litwickShadow, - .litwickPurified, - .lampentNormal, - .lampentShadow, - .lampentPurified, - .chandelureNormal, - .chandelureShadow, - .chandelurePurified, - .axewNormal, - .axewShadow, - .axewPurified, - .fraxureNormal, - .fraxureShadow, - .fraxurePurified, - .haxorusNormal, - .haxorusShadow, - .haxorusPurified, - .cubchooNormal, - .cubchooShadow, - .cubchooPurified, - .bearticNormal, - .bearticShadow, - .bearticPurified, - .cryogonalNormal, - .cryogonalShadow, - .cryogonalPurified, - .shelmetNormal, - .shelmetShadow, - .shelmetPurified, - .accelgorNormal, - .accelgorShadow, - .accelgorPurified, - .stunfiskNormal, - .stunfiskShadow, - .stunfiskPurified, - .mienfooNormal, - .mienfooShadow, - .mienfooPurified, - .mienshaoNormal, - .mienshaoShadow, - .mienshaoPurified, - .druddigonNormal, - .druddigonShadow, - .druddigonPurified, - .golettNormal, - .golettShadow, - .golettPurified, - .golurkNormal, - .golurkShadow, - .golurkPurified, - .pawniardNormal, - .pawniardShadow, - .pawniardPurified, - .bisharpNormal, - .bisharpShadow, - .bisharpPurified, - .bouffalantNormal, - .bouffalantShadow, - .bouffalantPurified, - .ruffletNormal, - .ruffletShadow, - .ruffletPurified, - .braviaryNormal, - .braviaryShadow, - .braviaryPurified, - .vullabyNormal, - .vullabyShadow, - .vullabyPurified, - .mandibuzzNormal, - .mandibuzzShadow, - .mandibuzzPurified, - .heatmorNormal, - .heatmorShadow, - .heatmorPurified, - .durantNormal, - .durantShadow, - .durantPurified, - .deinoNormal, - .deinoShadow, - .deinoPurified, - .zweilousNormal, - .zweilousShadow, - .zweilousPurified, - .hydreigonNormal, - .hydreigonShadow, - .hydreigonPurified, - .larvestaNormal, - .larvestaShadow, - .larvestaPurified, - .volcaronaNormal, - .volcaronaShadow, - .volcaronaPurified, - .cobalionNormal, - .cobalionShadow, - .cobalionPurified, - .terrakionNormal, - .terrakionShadow, - .terrakionPurified, - .virizionNormal, - .virizionShadow, - .virizionPurified, - .reshiramNormal, - .reshiramShadow, - .reshiramPurified, - .zekromNormal, - .zekromShadow, - .zekromPurified, - .meltanNormal, - .meltanShadow, - .meltanPurified, - .melmetalNormal, - .melmetalShadow, - .melmetalPurified, - .wurmpleSpring2020, - .wobbuffetSpring2020, - .raticateSpring2020, - .frillishFemale, - .jellicentFemale, - .pikachuCostume2020, - .dragoniteCostume2020, - .onixCostume2020, - .meowthGalarian, - .ponytaGalarian, - .rapidashGalarian, - .farfetchdGalarian, - .mrMimeGalarian, - .corsolaGalarian, - .darumakaGalarian, - .darmanitanGalarianStandard, - .darmanitanGalarianZen, - .yamaskGalarian, - .stunfiskGalarian, - .toxtricityLowKey, - .toxtricityAmped, - .sinisteaPhony, - .sinisteaAntique, - .polteageistPhony, - .polteageistAntique, - .obstagoonNormal, - .obstagoonShadow, - .obstagoonPurified, - .perrserkerNormal, - .perrserkerShadow, - .perrserkerPurified, - .cursolaNormal, - .cursolaShadow, - .cursolaPurified, - .sirfetchdNormal, - .sirfetchdShadow, - .sirfetchdPurified, - .mrRimeNormal, - .mrRimeShadow, - .mrRimePurified, - .runerigusNormal, - .runerigusShadow, - .runerigusPurified, - .eiscueIce, - .eiscueNoice, - .indeedeeMale, - .indeedeeFemale, - .morpekoFullBelly, - .morpekoHangry, - .zacianCrownedSword, - .zacianHero, - .zamazentaCrownedShield, - .zamazentaHero, - .eternatusEternamax, - .eternatusNormal, - .slowpokeGalarian, - .slowbroGalarian, - .slowkingGalarian, - .laprasCostume2020, - .gengarCostume2020, - .pyroarNormal, - .pyroarFemale, - .meowsticNormal, - .meowsticFemale, - .zygardeTenPercent, - .zygardeFiftyPercent, - .zygardeComplete, - .vivillonArchipelago, - .vivillonContinental, - .vivillonElegant, - .vivillonFancy, - .vivillonGarden, - .vivillonHighPlains, - .vivillonIcySnow, - .vivillonJungle, - .vivillonMarine, - .vivillonMeadow, - .vivillonModern, - .vivillonMonsoon, - .vivillonOcean, - .vivillonPokeball, - .vivillonPolar, - .vivillonRiver, - .vivillonSandstorm, - .vivillonSavanna, - .vivillonSun, - .vivillonTundra, - .flabebeRed, - .flabebeYellow, - .flabebeOrange, - .flabebeBlue, - .flabebeWhite, - .floetteRed, - .floetteYellow, - .floetteOrange, - .floetteBlue, - .floetteWhite, - .florgesRed, - .florgesYellow, - .florgesOrange, - .florgesBlue, - .florgesWhite, - .furfrouNatural, - .furfrouHeart, - .furfrouStar, - .furfrouDiamond, - .furfrouDebutante, - .furfrouMatron, - .furfrouDandy, - .furfrouLaReine, - .furfrouKabuki, - .furfrouPharaoh, - .aegislashShield, - .aegislashBlade, - .pumpkabooSmall, - .pumpkabooAverage, - .pumpkabooLarge, - .pumpkabooSuper, - .gourgeistSmall, - .gourgeistAverage, - .gourgeistLarge, - .gourgeistSuper, - .xerneasNeutral, - .xerneasActive, - .hoopaConfined, - .hoopaUnbound, - .sableyeCostume2020Deprecated, - .sableyeCostume2020, - .pikachuAdventureHat2020, - .pikachuWinter2020, - .delibirdWinter2020, - .cubchooWinter2020, - .slowpoke2020, - .slowbro2021, - .pikachuKariyushi, - .pikachuPopStar, - .pikachuRockStar, - .pikachuFlying5ThAnniv, - .oricorioBaile, - .oricorioPompom, - .oricorioPau, - .oricorioSensu, - .lycanrocMidday, - .lycanrocMidnight, - .lycanrocDusk, - .wishiwashiSolo, - .wishiwashiSchool, - .silvallyNormal, - .silvallyBug, - .silvallyDark, - .silvallyDragon, - .silvallyElectric, - .silvallyFairy, - .silvallyFighting, - .silvallyFire, - .silvallyFlying, - .silvallyGhost, - .silvallyGrass, - .silvallyGround, - .silvallyIce, - .silvallyPoison, - .silvallyPsychic, - .silvallyRock, - .silvallySteel, - .silvallyWater, - .miniorMeteorBlue, - .miniorBlue, - .miniorGreen, - .miniorIndigo, - .miniorOrange, - .miniorRed, - .miniorViolet, - .miniorYellow, - .mimikyuBusted, - .mimikyuDisguised, - .necrozmaNormal, - .necrozmaDuskMane, - .necrozmaDawnWings, - .necrozmaUltra, - .magearnaNormal, - .magearnaOriginalColor, - .urshifuSingleStrike, - .urshifuRapidStrike, - .calyrexNormal, - .calyrexIceRider, - .calyrexShadowRider, - .voltorbHisuian, - .lugiaS, - .hoOhS, - .raikouS, - .enteiS, - .suicuneS, - .slowking2022, - .electrodeHisuian, - .pikachuFlyingOkinawa, - .rockruffDusk, - .miniorMeteorGreen, - .miniorMeteorIndigo, - .miniorMeteorOrange, - .miniorMeteorRed, - .miniorMeteorViolet, - .miniorMeteorYellow, - .scatterbugArchipelago, - .scatterbugContinental, - .scatterbugElegant, - .scatterbugFancy, - .scatterbugGarden, - .scatterbugHighPlains, - .scatterbugIcySnow, - .scatterbugJungle, - .scatterbugMarine, - .scatterbugMeadow, - .scatterbugModern, - .scatterbugMonsoon, - .scatterbugOcean, - .scatterbugPokeball, - .scatterbugPolar, - .scatterbugRiver, - .scatterbugSandstorm, - .scatterbugSavanna, - .scatterbugSun, - .scatterbugTundra, - .spewpaArchipelago, - .spewpaContinental, - .spewpaElegant, - .spewpaFancy, - .spewpaGarden, - .spewpaHighPlains, - .spewpaIcySnow, - .spewpaJungle, - .spewpaMarine, - .spewpaMeadow, - .spewpaModern, - .spewpaMonsoon, - .spewpaOcean, - .spewpaPokeball, - .spewpaPolar, - .spewpaRiver, - .spewpaSandstorm, - .spewpaSavanna, - .spewpaSun, - .spewpaTundra, - .decidueyeHisuian, - .typhlosionHisuian, - .samurottHisuian, - .qwilfishHisuian, - .lilligantHisuian, - .sliggooHisuian, - .goodraHisuian, - .growlitheHisuian, - .arcanineHisuian, - .sneaselHisuian, - .avaluggHisuian, - .zoruaHisuian, - .zoroarkHisuian, - .braviaryHisuian, - .moltresGalarian, - .zapdosGalarian, - .articunoGalarian, - .enamorusIncarnate, - .enamorusTherian, - .basculinWhiteStriped, - .pikachuGofest2022, - .pikachuWcs2022, - .basculegionNormal, - .basculegionFemale, - .decidueyeNormal, - .sliggooNormal, - .goodraNormal, - .avaluggNormal, - .pikachuTshirt01, - .pikachuTshirt02, - .pikachuFlying01, - .pikachuFlying02, - .ursalunaNormal, - .ursalunaShadow, - .ursalunaPurified, - .bearticWinter2020, - .latiasS, - .latiosS, - .zygardeCompleteTenPercent, - .zygardeCompleteFiftyPercent, - .oinkologneNormal, - .oinkologneFemale, - .mausholdFamilyOfThree, - .mausholdFamilyOfFour, - .squawkabillyGreen, - .squawkabillyBlue, - .squawkabillyYellow, - .squawkabillyWhite, - .palafinZero, - .palafinHero, - .tatsugiriCurly, - .tatsugiriDroopy, - .tatsugiriStretchy, - .dudunsparceTwo, - .dudunsparceThree, - .koraidonApex, - .miraidonUltimate, - .gimmighoulNormal, - .gholdengoNormal, - .aerodactylSummer2023, - .pikachuSummer2023A, - .pikachuSummer2023B, - .pikachuSummer2023C, - .pikachuSummer2023D, - .taurosPaldeaCombat, - .taurosPaldeaBlaze, - .taurosPaldeaAqua, - .wooperPaldea, - .pikachuSummer2023E, - .pikachuFlying03, - .pikachuJeju, - .pikachuDoctor, - .pikachuWcs2023, - ] -} - -extension PokemonDisplayProto.Gender: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonDisplayProto.Gender] = [ - .unset, - .male, - .female, - .less, - ] -} - -#endif // swift(>=4.2) - -public struct PokemonEncounterAttributesProto { - // 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. - - public var baseCaptureRate: Float { - get {return _storage._baseCaptureRate} - set {_uniqueStorage()._baseCaptureRate = newValue} - } - - public var baseFleeRate: Float { - get {return _storage._baseFleeRate} - set {_uniqueStorage()._baseFleeRate = newValue} - } - - public var collisionRadiusM: Float { - get {return _storage._collisionRadiusM} - set {_uniqueStorage()._collisionRadiusM = newValue} - } - - public var collisionHeightM: Float { - get {return _storage._collisionHeightM} - set {_uniqueStorage()._collisionHeightM = newValue} - } - - public var collisionHeadRadiusM: Float { - get {return _storage._collisionHeadRadiusM} - set {_uniqueStorage()._collisionHeadRadiusM = newValue} - } - - public var movementType: HoloPokemonMovementType { - get {return _storage._movementType} - set {_uniqueStorage()._movementType = newValue} - } - - public var movementTimerS: Float { - get {return _storage._movementTimerS} - set {_uniqueStorage()._movementTimerS = newValue} - } - - public var jumpTimeS: Float { - get {return _storage._jumpTimeS} - set {_uniqueStorage()._jumpTimeS = newValue} - } - - public var attackTimerS: Float { - get {return _storage._attackTimerS} - set {_uniqueStorage()._attackTimerS = newValue} - } - - public var bonusCandyCaptureReward: Int32 { - get {return _storage._bonusCandyCaptureReward} - set {_uniqueStorage()._bonusCandyCaptureReward = newValue} - } - - public var bonusStardustCaptureReward: Int32 { - get {return _storage._bonusStardustCaptureReward} - set {_uniqueStorage()._bonusStardustCaptureReward = newValue} - } - - public var attackProbability: Float { - get {return _storage._attackProbability} - set {_uniqueStorage()._attackProbability = newValue} - } - - public var dodgeProbability: Float { - get {return _storage._dodgeProbability} - set {_uniqueStorage()._dodgeProbability = newValue} - } - - public var dodgeDurationS: Float { - get {return _storage._dodgeDurationS} - set {_uniqueStorage()._dodgeDurationS = newValue} - } - - public var dodgeDistance: Float { - get {return _storage._dodgeDistance} - set {_uniqueStorage()._dodgeDistance = newValue} - } - - public var cameraDistance: Float { - get {return _storage._cameraDistance} - set {_uniqueStorage()._cameraDistance = newValue} - } - - public var minPokemonActionFrequencyS: Float { - get {return _storage._minPokemonActionFrequencyS} - set {_uniqueStorage()._minPokemonActionFrequencyS = newValue} - } - - public var maxPokemonActionFrequencyS: Float { - get {return _storage._maxPokemonActionFrequencyS} - set {_uniqueStorage()._maxPokemonActionFrequencyS = newValue} - } - - public var bonusXlCandyCaptureReward: Int32 { - get {return _storage._bonusXlCandyCaptureReward} - set {_uniqueStorage()._bonusXlCandyCaptureReward = newValue} - } - - public var shadowFormBaseCaptureRate: Float { - get {return _storage._shadowFormBaseCaptureRate} - set {_uniqueStorage()._shadowFormBaseCaptureRate = newValue} - } - - public var shadowFormAttackProbability: Float { - get {return _storage._shadowFormAttackProbability} - set {_uniqueStorage()._shadowFormAttackProbability = newValue} - } - - public var shadowFormDodgeProbability: Float { - get {return _storage._shadowFormDodgeProbability} - set {_uniqueStorage()._shadowFormDodgeProbability = newValue} - } - - public var obFloat: Float { - get {return _storage._obFloat} - set {_uniqueStorage()._obFloat = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PokemonEncounterRewardProto { - // 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. - - public var type: PokemonEncounterRewardProto.OneOf_Type? = nil - - public var pokemonID: HoloPokemonId { - get { - if case .pokemonID(let v)? = type {return v} - return .missingno - } - set {type = .pokemonID(newValue)} - } - - public var useQuestPokemonEncounterDistribuition: Bool { - get { - if case .useQuestPokemonEncounterDistribuition(let v)? = type {return v} - return false - } - set {type = .useQuestPokemonEncounterDistribuition(newValue)} - } - - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - - public var isHiddenDitto: Bool = false - - public var dittoDisplay: PokemonDisplayProto { - get {return _dittoDisplay ?? PokemonDisplayProto()} - set {_dittoDisplay = newValue} - } - /// Returns true if `dittoDisplay` has been explicitly set. - public var hasDittoDisplay: Bool {return self._dittoDisplay != nil} - /// Clears the value of `dittoDisplay`. Subsequent reads from it will return its default value. - public mutating func clearDittoDisplay() {self._dittoDisplay = nil} - - public var pokeBallOverride: Item = .unknown - - public var shinyProbability: Float = 0 - - public var sizeOverride: HoloPokemonSize = .pokemonSizeUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Type: Equatable { - case pokemonID(HoloPokemonId) - case useQuestPokemonEncounterDistribuition(Bool) - - #if !swift(>=4.1) - public static func ==(lhs: PokemonEncounterRewardProto.OneOf_Type, rhs: PokemonEncounterRewardProto.OneOf_Type) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pokemonID, .pokemonID): return { - guard case .pokemonID(let l) = lhs, case .pokemonID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.useQuestPokemonEncounterDistribuition, .useQuestPokemonEncounterDistribuition): return { - guard case .useQuestPokemonEncounterDistribuition(let l) = lhs, case .useQuestPokemonEncounterDistribuition(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} - - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil - fileprivate var _dittoDisplay: PokemonDisplayProto? = nil -} - -public struct PokemonEvolutionQuestProto { - // 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. - - public var questRequirement: QuestProto { - get {return _questRequirement ?? QuestProto()} - set {_questRequirement = newValue} - } - /// Returns true if `questRequirement` has been explicitly set. - public var hasQuestRequirement: Bool {return self._questRequirement != nil} - /// Clears the value of `questRequirement`. Subsequent reads from it will return its default value. - public mutating func clearQuestRequirement() {self._questRequirement = nil} - - public var questInfo: EvolutionQuestInfoProto { - get {return _questInfo ?? EvolutionQuestInfoProto()} - set {_questInfo = newValue} - } - /// Returns true if `questInfo` has been explicitly set. - public var hasQuestInfo: Bool {return self._questInfo != nil} - /// Clears the value of `questInfo`. Subsequent reads from it will return its default value. - public mutating func clearQuestInfo() {self._questInfo = nil} - - public var evolution: HoloPokemonId = .missingno - - public var form: PokemonDisplayProto.Form = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _questRequirement: QuestProto? = nil - fileprivate var _questInfo: EvolutionQuestInfoProto? = nil -} - -public struct PokemonExtendedSettingsProto { - // 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. - - public var uniqueID: HoloPokemonId { - get {return _storage._uniqueID} - set {_uniqueStorage()._uniqueID = newValue} - } - - public var form: PokemonDisplayProto.Form { - get {return _storage._form} - set {_uniqueStorage()._form = newValue} - } - - public var extendedOverrideSettings: [ExtendedOverrideSettingsProto] { - get {return _storage._extendedOverrideSettings} - set {_uniqueStorage()._extendedOverrideSettings = newValue} - } - - public var pokemonSizeSettings: PokemonSizeSettingsProto { - get {return _storage._pokemonSizeSettings ?? PokemonSizeSettingsProto()} - set {_uniqueStorage()._pokemonSizeSettings = newValue} - } - /// Returns true if `pokemonSizeSettings` has been explicitly set. - public var hasPokemonSizeSettings: Bool {return _storage._pokemonSizeSettings != nil} - /// Clears the value of `pokemonSizeSettings`. Subsequent reads from it will return its default value. - public mutating func clearPokemonSizeSettings() {_uniqueStorage()._pokemonSizeSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PokemonFXDisplayProto { - // 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. - - public var pokemonID: HoloPokemonId = .missingno - - public var temporaryEvo: HoloTemporaryEvolutionId = .tempEvolutionUnset - - public var form: PokemonDisplayProto.Form = .unset - - public var costume: PokemonDisplayProto.Costume = .unset - - public var gender: PokemonDisplayProto.Gender = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonFXSettingsSettingsProto { - // 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. - - public var obPokemonGlowBool1: Bool = false - - public var obPokemonGlowBool2: Bool = false - - public var obPokemonGlowBool3: Bool = false - - public var obPokemonGlowBool4: Bool = false - - public var obPokemonGlowBool5: Bool = false - - public var obPokemonGlowBool6: Bool = false - - public var obPokemonGlowBool7: Bool = false - - public var pokemonFxDisplay: [PokemonFXDisplayProto] = [] - - public var obPokemonGlowBool8: Bool = false - - public var obPokemonGlowBool9: Bool = false - - public var obPokemonGlowBool10: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonFamilyProto { - // 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. - - public var familyID: HoloPokemonFamilyId = .familyUnset - - public var candy: Int32 = 0 - - public var megaEvolutionResources: [TemporaryEvolutionResourceProto] = [] - - public var xlCandy: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonFamilySettingsProto { - // 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. - - public var familyID: HoloPokemonFamilyId = .familyUnset - - public var candyPerXlCandy: Int32 = 0 - - public var megaEvolvablePokemonID: HoloPokemonId = .missingno - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonFortProto { - // 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. - - public var fortID: String { - get {return _storage._fortID} - set {_uniqueStorage()._fortID = newValue} - } - - public var lastModifiedMs: Int64 { - get {return _storage._lastModifiedMs} - set {_uniqueStorage()._lastModifiedMs = newValue} - } - - public var latitude: Double { - get {return _storage._latitude} - set {_uniqueStorage()._latitude = newValue} - } - - public var longitude: Double { - get {return _storage._longitude} - set {_uniqueStorage()._longitude = newValue} - } - - public var team: Team { - get {return _storage._team} - set {_uniqueStorage()._team = newValue} - } - - public var guardPokemonID: HoloPokemonId { - get {return _storage._guardPokemonID} - set {_uniqueStorage()._guardPokemonID = newValue} - } - - public var guardPokemonLevel: Int32 { - get {return _storage._guardPokemonLevel} - set {_uniqueStorage()._guardPokemonLevel = newValue} - } - - public var enabled: Bool { - get {return _storage._enabled} - set {_uniqueStorage()._enabled = newValue} - } - - public var fortType: FortType { - get {return _storage._fortType} - set {_uniqueStorage()._fortType = newValue} - } - - public var gymPoints: Int64 { - get {return _storage._gymPoints} - set {_uniqueStorage()._gymPoints = newValue} - } - - public var isInBattle: Bool { - get {return _storage._isInBattle} - set {_uniqueStorage()._isInBattle = newValue} - } - - public var activeFortModifier: [Item] { - get {return _storage._activeFortModifier} - set {_uniqueStorage()._activeFortModifier = newValue} - } - - public var activePokemon: MapPokemonProto { - get {return _storage._activePokemon ?? MapPokemonProto()} - set {_uniqueStorage()._activePokemon = newValue} - } - /// Returns true if `activePokemon` has been explicitly set. - public var hasActivePokemon: Bool {return _storage._activePokemon != nil} - /// Clears the value of `activePokemon`. Subsequent reads from it will return its default value. - public mutating func clearActivePokemon() {_uniqueStorage()._activePokemon = nil} - - public var cooldownCompleteMs: Int64 { - get {return _storage._cooldownCompleteMs} - set {_uniqueStorage()._cooldownCompleteMs = newValue} - } - - public var sponsor: FortSponsor.Sponsor { - get {return _storage._sponsor} - set {_uniqueStorage()._sponsor = newValue} - } - - public var renderingType: FortRenderingType.RenderingType { - get {return _storage._renderingType} - set {_uniqueStorage()._renderingType = newValue} - } - - public var deployLockoutEndMs: Int64 { - get {return _storage._deployLockoutEndMs} - set {_uniqueStorage()._deployLockoutEndMs = newValue} - } - - public var guardPokemonDisplay: PokemonDisplayProto { - get {return _storage._guardPokemonDisplay ?? PokemonDisplayProto()} - set {_uniqueStorage()._guardPokemonDisplay = newValue} - } - /// Returns true if `guardPokemonDisplay` has been explicitly set. - public var hasGuardPokemonDisplay: Bool {return _storage._guardPokemonDisplay != nil} - /// Clears the value of `guardPokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearGuardPokemonDisplay() {_uniqueStorage()._guardPokemonDisplay = nil} - - public var closed: Bool { - get {return _storage._closed} - set {_uniqueStorage()._closed = newValue} - } - - public var raidInfo: RaidInfoProto { - get {return _storage._raidInfo ?? RaidInfoProto()} - set {_uniqueStorage()._raidInfo = newValue} - } - /// Returns true if `raidInfo` has been explicitly set. - public var hasRaidInfo: Bool {return _storage._raidInfo != nil} - /// Clears the value of `raidInfo`. Subsequent reads from it will return its default value. - public mutating func clearRaidInfo() {_uniqueStorage()._raidInfo = nil} - - public var gymDisplay: GymDisplayProto { - get {return _storage._gymDisplay ?? GymDisplayProto()} - set {_uniqueStorage()._gymDisplay = newValue} - } - /// Returns true if `gymDisplay` has been explicitly set. - public var hasGymDisplay: Bool {return _storage._gymDisplay != nil} - /// Clears the value of `gymDisplay`. Subsequent reads from it will return its default value. - public mutating func clearGymDisplay() {_uniqueStorage()._gymDisplay = nil} - - public var visited: Bool { - get {return _storage._visited} - set {_uniqueStorage()._visited = newValue} - } - - public var sameTeamDeployLockoutEndMs: Int64 { - get {return _storage._sameTeamDeployLockoutEndMs} - set {_uniqueStorage()._sameTeamDeployLockoutEndMs = newValue} - } - - public var allowCheckin: Bool { - get {return _storage._allowCheckin} - set {_uniqueStorage()._allowCheckin = newValue} - } - - public var imageURL: String { - get {return _storage._imageURL} - set {_uniqueStorage()._imageURL = newValue} - } - - public var inEvent: Bool { - get {return _storage._inEvent} - set {_uniqueStorage()._inEvent = newValue} - } - - public var bannerURL: String { - get {return _storage._bannerURL} - set {_uniqueStorage()._bannerURL = newValue} - } - - public var partnerID: String { - get {return _storage._partnerID} - set {_uniqueStorage()._partnerID = newValue} - } - - public var challengeQuestCompleted: Bool { - get {return _storage._challengeQuestCompleted} - set {_uniqueStorage()._challengeQuestCompleted = newValue} - } - - public var isExRaidEligible: Bool { - get {return _storage._isExRaidEligible} - set {_uniqueStorage()._isExRaidEligible = newValue} - } - - public var pokestopDisplay: PokestopIncidentDisplayProto { - get {return _storage._pokestopDisplay ?? PokestopIncidentDisplayProto()} - set {_uniqueStorage()._pokestopDisplay = newValue} - } - /// Returns true if `pokestopDisplay` has been explicitly set. - public var hasPokestopDisplay: Bool {return _storage._pokestopDisplay != nil} - /// Clears the value of `pokestopDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokestopDisplay() {_uniqueStorage()._pokestopDisplay = nil} - - public var pokestopDisplays: [PokestopIncidentDisplayProto] { - get {return _storage._pokestopDisplays} - set {_uniqueStorage()._pokestopDisplays = newValue} - } - - public var isArScanEligible: Bool { - get {return _storage._isArScanEligible} - set {_uniqueStorage()._isArScanEligible = newValue} - } - - public var geostoreTombstoneMessageKey: String { - get {return _storage._geostoreTombstoneMessageKey} - set {_uniqueStorage()._geostoreTombstoneMessageKey = newValue} - } - - public var geostoreSuspensionMessageKey: String { - get {return _storage._geostoreSuspensionMessageKey} - set {_uniqueStorage()._geostoreSuspensionMessageKey = newValue} - } - - public var powerUpProgressPoints: Int32 { - get {return _storage._powerUpProgressPoints} - set {_uniqueStorage()._powerUpProgressPoints = newValue} - } - - public var powerUpLevelExpirationMs: Int64 { - get {return _storage._powerUpLevelExpirationMs} - set {_uniqueStorage()._powerUpLevelExpirationMs = newValue} - } - - public var nextFortOpenMs: Int64 { - get {return _storage._nextFortOpenMs} - set {_uniqueStorage()._nextFortOpenMs = newValue} - } - - public var nextFortCloseMs: Int64 { - get {return _storage._nextFortCloseMs} - set {_uniqueStorage()._nextFortCloseMs = newValue} - } - - public var activeFortPokemon: [FortPokemonProto] { - get {return _storage._activeFortPokemon} - set {_uniqueStorage()._activeFortPokemon = newValue} - } - - public var isRouteEligible: Bool { - get {return _storage._isRouteEligible} - set {_uniqueStorage()._isRouteEligible = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PokemonGlobalSettingsProto { - // 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. - - public var enableCamoShader: Bool = false - - public var displayPokemonBadgeOnModel: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonGoPlusTelemetry { - // 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. - - public var pgpEventIds: PokemonGoPlusIds = .undefinedPokemonGoPlusEvent - - public var count: Int32 = 0 - - public var version: Int32 = 0 - - public var deviceKind: String = String() - - public var connectionState: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonHomeEnergyCostsProto { - // 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. - - public var pokemonClass: HoloPokemonClass = .pokemonClassNormal - - public var base: Int32 = 0 - - public var shiny: Int32 = 0 - - public var cp0To1000: Int32 = 0 - - public var cp1001To2000: Int32 = 0 - - public var cp2001ToInf: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonHomeFormReversionProto { - // 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. - - public var pokemonID: HoloPokemonId = .missingno - - public var formMapping: [PokemonHomeFormReversionProto.FormMappingProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct FormMappingProto { - // 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. - - public var revertedForm: PokemonDisplayProto.Form = .unset - - public var unauthorizedForms: [PokemonDisplayProto.Form] = [] - - public var revertedFormString: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct PokemonHomeProto { - // 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. - - public var transporterEnergy: Int32 = 0 - - public var transporterFullyChargedMs: Int64 = 0 - - public var lastPassiveTransporterEnergyGainHour: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonHomeSettingsProto { - // 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. - - public var playerMinLevel: Int32 = 0 - - public var transporterMaxEnergy: Int32 = 0 - - public var energySkuID: String = String() - - public var transporterEnergyGainPerHour: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonHomeTelemetry { - // 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. - - public var pokemonHomeClickIds: PokemonHomeTelemetryIds = .undefinedPokemonHomeEvent - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonInfo { - // 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. - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var currentHealth: Int32 = 0 - - public var currentEnergy: Int32 = 0 - - public var notableActionHistory: [VsActionHistory] = [] - - public var statModifiers: Dictionary = [:] - - public var vsEffectTag: [VsEffectTag] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct StatModifierContainer { - // 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. - - public var statModifier: [PokemonInfo.StatModifierContainer.StatModifier] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct StatModifier { - // 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. - - public var value: Int64 = 0 - - public var expiryTimeMs: Int64 = 0 - - public var type: MoveModifierProto.MoveModifierType = .unsetMoveModifierType - - public var stringValue: String = String() - - public var expiryType: PokemonInfo.StatModifierContainer.StatModifier.ExpiryType = .unsetExpiryType - - public var condition: [PokemonInfo.StatModifierContainer.StatModifier.Condition] = [] - - public var expiryValue: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ExpiryType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetExpiryType // = 0 - case expiryTime // = 1 - case chargesRemaining // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetExpiryType - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetExpiryType - case 1: self = .expiryTime - case 2: self = .chargesRemaining - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetExpiryType: return 0 - case .expiryTime: return 1 - case .chargesRemaining: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum Condition: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetCondition // = 0 - case chargeMove // = 1 - case fastMove // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetCondition - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetCondition - case 1: self = .chargeMove - case 2: self = .fastMove - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetCondition: return 0 - case .chargeMove: return 1 - case .fastMove: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public init() {} - } - - public init() {} - - fileprivate var _pokemon: PokemonProto? = nil -} - -#if swift(>=4.2) - -extension PokemonInfo.StatModifierContainer.StatModifier.ExpiryType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonInfo.StatModifierContainer.StatModifier.ExpiryType] = [ - .unsetExpiryType, - .expiryTime, - .chargesRemaining, - ] -} - -extension PokemonInfo.StatModifierContainer.StatModifier.Condition: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonInfo.StatModifierContainer.StatModifier.Condition] = [ - .unsetCondition, - .chargeMove, - .fastMove, - ] -} - -#endif // swift(>=4.2) - -public struct PokemonInventoryTelemetry { - // 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. - - public var pokemonInventoryClickIds: PokemonInventoryTelemetryIds = .undefinedPokemonInventoryEvent - - public var sortID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonLoadDelay { - // 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. - - public var pokemon: PokemonLoadTelemetry { - get {return _pokemon ?? PokemonLoadTelemetry()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var loadDelay: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _pokemon: PokemonLoadTelemetry? = nil -} - -public struct PokemonLoadTelemetry { - // 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. - - public var pokemonID: HoloPokemonId = .missingno - - public var costume: PokemonDisplayProto.Costume = .unset - - public var gender: PokemonDisplayProto.Gender = .unset - - public var shiny: Bool = false - - public var form: PokemonDisplayProto.Form = .unset - - public var alignment: PokemonDisplayProto.Alignment = .unset - - public var temporaryEvolutionID: HoloTemporaryEvolutionId = .tempEvolutionUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonMegaEvolutionLevelProto { - // 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. - - public var points: Int64 = 0 - - public var level: Int32 = 0 - - public var megaPointDailyCounters: PokemonMegaEvolutionPointDailyCountersProto { - get {return _megaPointDailyCounters ?? PokemonMegaEvolutionPointDailyCountersProto()} - set {_megaPointDailyCounters = newValue} - } - /// Returns true if `megaPointDailyCounters` has been explicitly set. - public var hasMegaPointDailyCounters: Bool {return self._megaPointDailyCounters != nil} - /// Clears the value of `megaPointDailyCounters`. Subsequent reads from it will return its default value. - public mutating func clearMegaPointDailyCounters() {self._megaPointDailyCounters = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _megaPointDailyCounters: PokemonMegaEvolutionPointDailyCountersProto? = nil -} - -public struct PokemonMegaEvolutionPointDailyCountersProto { - // 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. - - public var megaEvo: DailyCounterProto { - get {return _megaEvo ?? DailyCounterProto()} - set {_megaEvo = newValue} - } - /// Returns true if `megaEvo` has been explicitly set. - public var hasMegaEvo: Bool {return self._megaEvo != nil} - /// Clears the value of `megaEvo`. Subsequent reads from it will return its default value. - public mutating func clearMegaEvo() {self._megaEvo = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _megaEvo: DailyCounterProto? = nil -} - -public struct PokemonProto { - // 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. - - public var id: UInt64 { - get {return _storage._id} - set {_uniqueStorage()._id = newValue} - } - - public var pokemonID: HoloPokemonId { - get {return _storage._pokemonID} - set {_uniqueStorage()._pokemonID = newValue} - } - - public var cp: Int32 { - get {return _storage._cp} - set {_uniqueStorage()._cp = newValue} - } - - public var stamina: Int32 { - get {return _storage._stamina} - set {_uniqueStorage()._stamina = newValue} - } - - public var maxStamina: Int32 { - get {return _storage._maxStamina} - set {_uniqueStorage()._maxStamina = newValue} - } - - public var move1: HoloPokemonMove { - get {return _storage._move1} - set {_uniqueStorage()._move1 = newValue} - } - - public var move2: HoloPokemonMove { - get {return _storage._move2} - set {_uniqueStorage()._move2 = newValue} - } - - public var deployedFortID: String { - get {return _storage._deployedFortID} - set {_uniqueStorage()._deployedFortID = newValue} - } - - public var ownerName: String { - get {return _storage._ownerName} - set {_uniqueStorage()._ownerName = newValue} - } - - public var isEgg: Bool { - get {return _storage._isEgg} - set {_uniqueStorage()._isEgg = newValue} - } - - public var eggKmWalkedTarget: Double { - get {return _storage._eggKmWalkedTarget} - set {_uniqueStorage()._eggKmWalkedTarget = newValue} - } - - public var eggKmWalkedStart: Double { - get {return _storage._eggKmWalkedStart} - set {_uniqueStorage()._eggKmWalkedStart = newValue} - } - - public var heightM: Float { - get {return _storage._heightM} - set {_uniqueStorage()._heightM = newValue} - } - - public var weightKg: Float { - get {return _storage._weightKg} - set {_uniqueStorage()._weightKg = newValue} - } - - public var individualAttack: Int32 { - get {return _storage._individualAttack} - set {_uniqueStorage()._individualAttack = newValue} - } - - public var individualDefense: Int32 { - get {return _storage._individualDefense} - set {_uniqueStorage()._individualDefense = newValue} - } - - public var individualStamina: Int32 { - get {return _storage._individualStamina} - set {_uniqueStorage()._individualStamina = newValue} - } - - public var cpMultiplier: Float { - get {return _storage._cpMultiplier} - set {_uniqueStorage()._cpMultiplier = newValue} - } - - public var pokeball: Item { - get {return _storage._pokeball} - set {_uniqueStorage()._pokeball = newValue} - } - - public var capturedS2CellID: Int64 { - get {return _storage._capturedS2CellID} - set {_uniqueStorage()._capturedS2CellID = newValue} - } - - public var battlesAttacked: Int32 { - get {return _storage._battlesAttacked} - set {_uniqueStorage()._battlesAttacked = newValue} - } - - public var battlesDefended: Int32 { - get {return _storage._battlesDefended} - set {_uniqueStorage()._battlesDefended = newValue} - } - - public var eggIncubatorID: String { - get {return _storage._eggIncubatorID} - set {_uniqueStorage()._eggIncubatorID = newValue} - } - - public var creationTimeMs: Int64 { - get {return _storage._creationTimeMs} - set {_uniqueStorage()._creationTimeMs = newValue} - } - - public var numUpgrades: Int32 { - get {return _storage._numUpgrades} - set {_uniqueStorage()._numUpgrades = newValue} - } - - public var additionalCpMultiplier: Float { - get {return _storage._additionalCpMultiplier} - set {_uniqueStorage()._additionalCpMultiplier = newValue} - } - - public var favorite: Bool { - get {return _storage._favorite} - set {_uniqueStorage()._favorite = newValue} - } - - public var nickname: String { - get {return _storage._nickname} - set {_uniqueStorage()._nickname = newValue} - } - - public var fromFort: Bool { - get {return _storage._fromFort} - set {_uniqueStorage()._fromFort = newValue} - } - - public var buddyCandyAwarded: Int32 { - get {return _storage._buddyCandyAwarded} - set {_uniqueStorage()._buddyCandyAwarded = newValue} - } - - public var buddyKmWalked: Float { - get {return _storage._buddyKmWalked} - set {_uniqueStorage()._buddyKmWalked = newValue} - } - - public var displayPokemonID: Int32 { - get {return _storage._displayPokemonID} - set {_uniqueStorage()._displayPokemonID = newValue} - } - - public var displayCp: Int32 { - get {return _storage._displayCp} - set {_uniqueStorage()._displayCp = newValue} - } - - public var pokemonDisplay: PokemonDisplayProto { - get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} - set {_uniqueStorage()._pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} - - public var isBad: Bool { - get {return _storage._isBad} - set {_uniqueStorage()._isBad = newValue} - } - - public var hatchedFromEgg: Bool { - get {return _storage._hatchedFromEgg} - set {_uniqueStorage()._hatchedFromEgg = newValue} - } - - public var coinsReturned: Int32 { - get {return _storage._coinsReturned} - set {_uniqueStorage()._coinsReturned = newValue} - } - - public var deployedDurationMs: Int64 { - get {return _storage._deployedDurationMs} - set {_uniqueStorage()._deployedDurationMs = newValue} - } - - public var deployedReturnedTimestampMs: Int64 { - get {return _storage._deployedReturnedTimestampMs} - set {_uniqueStorage()._deployedReturnedTimestampMs = newValue} - } - - public var cpMultiplierBeforeTrading: Float { - get {return _storage._cpMultiplierBeforeTrading} - set {_uniqueStorage()._cpMultiplierBeforeTrading = newValue} - } - - public var tradingOriginalOwnerHash: Int32 { - get {return _storage._tradingOriginalOwnerHash} - set {_uniqueStorage()._tradingOriginalOwnerHash = newValue} - } - - public var originalOwnerNickname: String { - get {return _storage._originalOwnerNickname} - set {_uniqueStorage()._originalOwnerNickname = newValue} - } - - public var tradedTimeMs: Int64 { - get {return _storage._tradedTimeMs} - set {_uniqueStorage()._tradedTimeMs = newValue} - } - - public var isLucky: Bool { - get {return _storage._isLucky} - set {_uniqueStorage()._isLucky = newValue} - } - - public var move3: HoloPokemonMove { - get {return _storage._move3} - set {_uniqueStorage()._move3 = newValue} - } - - public var pvpCombatStats: PokemonCombatStatsProto { - get {return _storage._pvpCombatStats ?? PokemonCombatStatsProto()} - set {_uniqueStorage()._pvpCombatStats = newValue} - } - /// Returns true if `pvpCombatStats` has been explicitly set. - public var hasPvpCombatStats: Bool {return _storage._pvpCombatStats != nil} - /// Clears the value of `pvpCombatStats`. Subsequent reads from it will return its default value. - public mutating func clearPvpCombatStats() {_uniqueStorage()._pvpCombatStats = nil} - - public var npcCombatStats: PokemonCombatStatsProto { - get {return _storage._npcCombatStats ?? PokemonCombatStatsProto()} - set {_uniqueStorage()._npcCombatStats = newValue} - } - /// Returns true if `npcCombatStats` has been explicitly set. - public var hasNpcCombatStats: Bool {return _storage._npcCombatStats != nil} - /// Clears the value of `npcCombatStats`. Subsequent reads from it will return its default value. - public mutating func clearNpcCombatStats() {_uniqueStorage()._npcCombatStats = nil} - - public var move2IsPurifiedExclusive: Bool { - get {return _storage._move2IsPurifiedExclusive} - set {_uniqueStorage()._move2IsPurifiedExclusive = newValue} - } - - public var limitedPokemonIdentifier: String { - get {return _storage._limitedPokemonIdentifier} - set {_uniqueStorage()._limitedPokemonIdentifier = newValue} - } - - public var preBoostedCp: Int32 { - get {return _storage._preBoostedCp} - set {_uniqueStorage()._preBoostedCp = newValue} - } - - public var preBoostedAdditionalCpMultiplier: Float { - get {return _storage._preBoostedAdditionalCpMultiplier} - set {_uniqueStorage()._preBoostedAdditionalCpMultiplier = newValue} - } - - public var deployedGymLatDegree: Double { - get {return _storage._deployedGymLatDegree} - set {_uniqueStorage()._deployedGymLatDegree = newValue} - } - - public var deployedGymLngDegree: Double { - get {return _storage._deployedGymLngDegree} - set {_uniqueStorage()._deployedGymLngDegree = newValue} - } - - public var hasMegaEvolved_p: Bool { - get {return _storage._hasMegaEvolved_p} - set {_uniqueStorage()._hasMegaEvolved_p = newValue} - } - - public var eggType: HoloPokemonEggType { - get {return _storage._eggType} - set {_uniqueStorage()._eggType = newValue} - } - - public var tempEvoCp: Int32 { - get {return _storage._tempEvoCp} - set {_uniqueStorage()._tempEvoCp = newValue} - } - - public var tempEvoStaminaModifier: Float { - get {return _storage._tempEvoStaminaModifier} - set {_uniqueStorage()._tempEvoStaminaModifier = newValue} - } - - public var tempEvoCpMultiplier: Float { - get {return _storage._tempEvoCpMultiplier} - set {_uniqueStorage()._tempEvoCpMultiplier = newValue} - } - - public var megaEvolvedForms: [HoloTemporaryEvolutionId] { - get {return _storage._megaEvolvedForms} - set {_uniqueStorage()._megaEvolvedForms = newValue} - } - - public var evolutionQuestInfo: [PokemonEvolutionQuestProto] { - get {return _storage._evolutionQuestInfo} - set {_uniqueStorage()._evolutionQuestInfo = newValue} - } - - public var originDetail: PokemonCreateDetail { - get {return _storage._originDetail ?? PokemonCreateDetail()} - set {_uniqueStorage()._originDetail = newValue} - } - /// Returns true if `originDetail` has been explicitly set. - public var hasOriginDetail: Bool {return _storage._originDetail != nil} - /// Clears the value of `originDetail`. Subsequent reads from it will return its default value. - public mutating func clearOriginDetail() {_uniqueStorage()._originDetail = nil} - - public var pokemonTagIds: [UInt64] { - get {return _storage._pokemonTagIds} - set {_uniqueStorage()._pokemonTagIds = newValue} - } - - public var originEvents: [String] { - get {return _storage._originEvents} - set {_uniqueStorage()._originEvents = newValue} - } - - public var eggSlotType: EggSlotType { - get {return _storage._eggSlotType} - set {_uniqueStorage()._eggSlotType = newValue} - } - - public var eggTelemetry: EggTelemetryProto { - get {return _storage._eggTelemetry ?? EggTelemetryProto()} - set {_uniqueStorage()._eggTelemetry = newValue} - } - /// Returns true if `eggTelemetry` has been explicitly set. - public var hasEggTelemetry: Bool {return _storage._eggTelemetry != nil} - /// Clears the value of `eggTelemetry`. Subsequent reads from it will return its default value. - public mutating func clearEggTelemetry() {_uniqueStorage()._eggTelemetry = nil} - - public var eggDistribution: EggDistributionProto { - get {return _storage._eggDistribution ?? EggDistributionProto()} - set {_uniqueStorage()._eggDistribution = newValue} - } - /// Returns true if `eggDistribution` has been explicitly set. - public var hasEggDistribution: Bool {return _storage._eggDistribution != nil} - /// Clears the value of `eggDistribution`. Subsequent reads from it will return its default value. - public mutating func clearEggDistribution() {_uniqueStorage()._eggDistribution = nil} - - public var size: HoloPokemonSize { - get {return _storage._size} - set {_uniqueStorage()._size = newValue} - } - - public var pokemonContestInfo: PokemonContestInfoProto { - get {return _storage._pokemonContestInfo ?? PokemonContestInfoProto()} - set {_uniqueStorage()._pokemonContestInfo = newValue} - } - /// Returns true if `pokemonContestInfo` has been explicitly set. - public var hasPokemonContestInfo: Bool {return _storage._pokemonContestInfo != nil} - /// Clears the value of `pokemonContestInfo`. Subsequent reads from it will return its default value. - public mutating func clearPokemonContestInfo() {_uniqueStorage()._pokemonContestInfo = nil} - - public var caughtInParty: Bool { - get {return _storage._caughtInParty} - set {_uniqueStorage()._caughtInParty = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PokemonScaleSettingProto { - // 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. - - public var pokemonScaleMode: PokemonScaleSettingProto.PokemonScaleMode = .naturalScale - - public var minHeight: Float = 0 - - public var maxHeight: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum PokemonScaleMode: SwiftProtobuf.Enum { - public typealias RawValue = Int - case naturalScale // = 0 - case guiScale // = 1 - case battlePokemonScale // = 2 - case raidBossScale // = 3 - case gymTopperScale // = 4 - case mapPokemonScale // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .naturalScale - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .naturalScale - case 1: self = .guiScale - case 2: self = .battlePokemonScale - case 3: self = .raidBossScale - case 4: self = .gymTopperScale - case 5: self = .mapPokemonScale - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .naturalScale: return 0 - case .guiScale: return 1 - case .battlePokemonScale: return 2 - case .raidBossScale: return 3 - case .gymTopperScale: return 4 - case .mapPokemonScale: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension PokemonScaleSettingProto.PokemonScaleMode: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonScaleSettingProto.PokemonScaleMode] = [ - .naturalScale, - .guiScale, - .battlePokemonScale, - .raidBossScale, - .gymTopperScale, - .mapPokemonScale, - ] -} - -#endif // swift(>=4.2) - -public struct PokemonSearchTelemetry { - // 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. - - public var pokemonSearchSourceID: PokemonSearchTelemetry.PokemonSearchSourceIds = .undefined - - public var prependedSearchString: String = String() - - public var searchTermString: String = String() - - public var appendedSearchString: String = String() - - public var experimentID: [Int32] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum PokemonSearchSourceIds: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case fromSearchPillClick // = 1 - case latestSearchEntryClick // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .undefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 1: self = .fromSearchPillClick - case 2: self = .latestSearchEntryClick - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .fromSearchPillClick: return 1 - case .latestSearchEntryClick: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension PokemonSearchTelemetry.PokemonSearchSourceIds: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonSearchTelemetry.PokemonSearchSourceIds] = [ - .undefined, - .fromSearchPillClick, - .latestSearchEntryClick, - ] -} - -#endif // swift(>=4.2) - -public struct PokemonSettingsProto { - // 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. - - public var pokemonID: HoloPokemonId { - get {return _storage._pokemonID} - set {_uniqueStorage()._pokemonID = newValue} - } - - public var modelScale: Float { - get {return _storage._modelScale} - set {_uniqueStorage()._modelScale = newValue} - } - - public var type: HoloPokemonType { - get {return _storage._type} - set {_uniqueStorage()._type = newValue} - } - - public var type2: HoloPokemonType { - get {return _storage._type2} - set {_uniqueStorage()._type2 = newValue} - } - - public var camera: PokemonCameraAttributesProto { - get {return _storage._camera ?? PokemonCameraAttributesProto()} - set {_uniqueStorage()._camera = newValue} - } - /// Returns true if `camera` has been explicitly set. - public var hasCamera: Bool {return _storage._camera != nil} - /// Clears the value of `camera`. Subsequent reads from it will return its default value. - public mutating func clearCamera() {_uniqueStorage()._camera = nil} - - public var encounter: PokemonEncounterAttributesProto { - get {return _storage._encounter ?? PokemonEncounterAttributesProto()} - set {_uniqueStorage()._encounter = newValue} - } - /// Returns true if `encounter` has been explicitly set. - public var hasEncounter: Bool {return _storage._encounter != nil} - /// Clears the value of `encounter`. Subsequent reads from it will return its default value. - public mutating func clearEncounter() {_uniqueStorage()._encounter = nil} - - public var stats: PokemonStatsAttributesProto { - get {return _storage._stats ?? PokemonStatsAttributesProto()} - set {_uniqueStorage()._stats = newValue} - } - /// Returns true if `stats` has been explicitly set. - public var hasStats: Bool {return _storage._stats != nil} - /// Clears the value of `stats`. Subsequent reads from it will return its default value. - public mutating func clearStats() {_uniqueStorage()._stats = nil} - - public var quickMoves: [HoloPokemonMove] { - get {return _storage._quickMoves} - set {_uniqueStorage()._quickMoves = newValue} - } - - public var cinematicMoves: [HoloPokemonMove] { - get {return _storage._cinematicMoves} - set {_uniqueStorage()._cinematicMoves = newValue} - } - - public var animationTime: [Float] { - get {return _storage._animationTime} - set {_uniqueStorage()._animationTime = newValue} - } - - public var evolutionIds: [HoloPokemonId] { - get {return _storage._evolutionIds} - set {_uniqueStorage()._evolutionIds = newValue} - } - - public var evolutionPips: Int32 { - get {return _storage._evolutionPips} - set {_uniqueStorage()._evolutionPips = newValue} - } - - public var pokemonClass: HoloPokemonClass { - get {return _storage._pokemonClass} - set {_uniqueStorage()._pokemonClass = newValue} - } - - public var pokedexHeightM: Float { - get {return _storage._pokedexHeightM} - set {_uniqueStorage()._pokedexHeightM = newValue} - } - - public var pokedexWeightKg: Float { - get {return _storage._pokedexWeightKg} - set {_uniqueStorage()._pokedexWeightKg = newValue} - } - - public var parentPokemonID: HoloPokemonId { - get {return _storage._parentPokemonID} - set {_uniqueStorage()._parentPokemonID = newValue} - } - - public var heightStdDev: Float { - get {return _storage._heightStdDev} - set {_uniqueStorage()._heightStdDev = newValue} - } - - public var weightStdDev: Float { - get {return _storage._weightStdDev} - set {_uniqueStorage()._weightStdDev = newValue} - } - - public var kmDistanceToHatch: Float { - get {return _storage._kmDistanceToHatch} - set {_uniqueStorage()._kmDistanceToHatch = newValue} - } - - public var familyID: HoloPokemonFamilyId { - get {return _storage._familyID} - set {_uniqueStorage()._familyID = newValue} - } - - public var candyToEvolve: Int32 { - get {return _storage._candyToEvolve} - set {_uniqueStorage()._candyToEvolve = newValue} - } - - public var kmBuddyDistance: Float { - get {return _storage._kmBuddyDistance} - set {_uniqueStorage()._kmBuddyDistance = newValue} - } - - public var buddySize: PokemonSettingsProto.BuddySize { - get {return _storage._buddySize} - set {_uniqueStorage()._buddySize = newValue} - } - - public var modelHeight: Float { - get {return _storage._modelHeight} - set {_uniqueStorage()._modelHeight = newValue} - } - - public var evolutionBranch: [EvolutionBranchProto] { - get {return _storage._evolutionBranch} - set {_uniqueStorage()._evolutionBranch = newValue} - } - - public var modelScaleV2: Float { - get {return _storage._modelScaleV2} - set {_uniqueStorage()._modelScaleV2 = newValue} - } - - public var form: PokemonDisplayProto.Form { - get {return _storage._form} - set {_uniqueStorage()._form = newValue} - } - - public var eventQuickMove: HoloPokemonMove { - get {return _storage._eventQuickMove} - set {_uniqueStorage()._eventQuickMove = newValue} - } - - public var eventCinematicMove: HoloPokemonMove { - get {return _storage._eventCinematicMove} - set {_uniqueStorage()._eventCinematicMove = newValue} - } - - public var buddyOffsetMale: [Float] { - get {return _storage._buddyOffsetMale} - set {_uniqueStorage()._buddyOffsetMale = newValue} - } - - public var buddyOffsetFemale: [Float] { - get {return _storage._buddyOffsetFemale} - set {_uniqueStorage()._buddyOffsetFemale = newValue} - } - - public var buddyScale: Float { - get {return _storage._buddyScale} - set {_uniqueStorage()._buddyScale = newValue} - } - - public var buddyPortraitOffset: [Float] { - get {return _storage._buddyPortraitOffset} - set {_uniqueStorage()._buddyPortraitOffset = newValue} - } - - public var parentForm: PokemonDisplayProto.Form { - get {return _storage._parentForm} - set {_uniqueStorage()._parentForm = newValue} - } - - public var thirdMove: PokemonThirdMoveAttributesProto { - get {return _storage._thirdMove ?? PokemonThirdMoveAttributesProto()} - set {_uniqueStorage()._thirdMove = newValue} - } - /// Returns true if `thirdMove` has been explicitly set. - public var hasThirdMove: Bool {return _storage._thirdMove != nil} - /// Clears the value of `thirdMove`. Subsequent reads from it will return its default value. - public mutating func clearThirdMove() {_uniqueStorage()._thirdMove = nil} - - public var isTransferable: Bool { - get {return _storage._isTransferable} - set {_uniqueStorage()._isTransferable = newValue} - } - - public var isDeployable: Bool { - get {return _storage._isDeployable} - set {_uniqueStorage()._isDeployable = newValue} - } - - public var combatShoulderCameraAngle: [Float] { - get {return _storage._combatShoulderCameraAngle} - set {_uniqueStorage()._combatShoulderCameraAngle = newValue} - } - - public var isTradable: Bool { - get {return _storage._isTradable} - set {_uniqueStorage()._isTradable = newValue} - } - - public var combatDefaultCameraAngle: [Float] { - get {return _storage._combatDefaultCameraAngle} - set {_uniqueStorage()._combatDefaultCameraAngle = newValue} - } - - public var combatOpponentFocusCameraAngle: [Float] { - get {return _storage._combatOpponentFocusCameraAngle} - set {_uniqueStorage()._combatOpponentFocusCameraAngle = newValue} - } - - public var combatPlayerFocusCameraAngle: [Float] { - get {return _storage._combatPlayerFocusCameraAngle} - set {_uniqueStorage()._combatPlayerFocusCameraAngle = newValue} - } - - public var combatPlayerPokemonPositionOffset: [Float] { - get {return _storage._combatPlayerPokemonPositionOffset} - set {_uniqueStorage()._combatPlayerPokemonPositionOffset = newValue} - } - - public var photobombAnimationOverrides: [AnimationOverrideProto] { - get {return _storage._photobombAnimationOverrides} - set {_uniqueStorage()._photobombAnimationOverrides = newValue} - } - - public var shadow: ShadowAttributesProto { - get {return _storage._shadow ?? ShadowAttributesProto()} - set {_uniqueStorage()._shadow = newValue} - } - /// Returns true if `shadow` has been explicitly set. - public var hasShadow: Bool {return _storage._shadow != nil} - /// Clears the value of `shadow`. Subsequent reads from it will return its default value. - public mutating func clearShadow() {_uniqueStorage()._shadow = nil} - - public var buddyGroupNumber: Int32 { - get {return _storage._buddyGroupNumber} - set {_uniqueStorage()._buddyGroupNumber = newValue} - } - - public var additionalCpBoostLevel: Int32 { - get {return _storage._additionalCpBoostLevel} - set {_uniqueStorage()._additionalCpBoostLevel = newValue} - } - - public var eliteQuickMove: [HoloPokemonMove] { - get {return _storage._eliteQuickMove} - set {_uniqueStorage()._eliteQuickMove = newValue} - } - - public var eliteCinematicMove: [HoloPokemonMove] { - get {return _storage._eliteCinematicMove} - set {_uniqueStorage()._eliteCinematicMove = newValue} - } - - public var tempEvoOverrides: [TempEvoOverrideProto] { - get {return _storage._tempEvoOverrides} - set {_uniqueStorage()._tempEvoOverrides = newValue} - } - - public var buddyWalkedMegaEnergyAward: Int32 { - get {return _storage._buddyWalkedMegaEnergyAward} - set {_uniqueStorage()._buddyWalkedMegaEnergyAward = newValue} - } - - public var disableTransferToPokemonHome: Bool { - get {return _storage._disableTransferToPokemonHome} - set {_uniqueStorage()._disableTransferToPokemonHome = newValue} - } - - public var raidBossDistanceOffset: Float { - get {return _storage._raidBossDistanceOffset} - set {_uniqueStorage()._raidBossDistanceOffset = newValue} - } - - public var formChange: [FormChangeProto] { - get {return _storage._formChange} - set {_uniqueStorage()._formChange = newValue} - } - - public var buddyEncounterCameoLocalPosition: [Float] { - get {return _storage._buddyEncounterCameoLocalPosition} - set {_uniqueStorage()._buddyEncounterCameoLocalPosition = newValue} - } - - public var buddyEncounterCameoLocalRotation: [Float] { - get {return _storage._buddyEncounterCameoLocalRotation} - set {_uniqueStorage()._buddyEncounterCameoLocalRotation = newValue} - } - - public var pokemonSizeSettings: PokemonSizeSettingsProto { - get {return _storage._pokemonSizeSettings ?? PokemonSizeSettingsProto()} - set {_uniqueStorage()._pokemonSizeSettings = newValue} - } - /// Returns true if `pokemonSizeSettings` has been explicitly set. - public var hasPokemonSizeSettings: Bool {return _storage._pokemonSizeSettings != nil} - /// Clears the value of `pokemonSizeSettings`. Subsequent reads from it will return its default value. - public mutating func clearPokemonSizeSettings() {_uniqueStorage()._pokemonSizeSettings = nil} - - public var costumeEvolution: [PokemonDisplayProto.Costume] { - get {return _storage._costumeEvolution} - set {_uniqueStorage()._costumeEvolution = newValue} - } - - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } - - public var obListFloat: [Float] { - get {return _storage._obListFloat} - set {_uniqueStorage()._obListFloat = newValue} - } - - public var moves: [HoloPokemonMove] { - get {return _storage._moves} - set {_uniqueStorage()._moves = newValue} - } - - public var item: Item { - get {return _storage._item} - set {_uniqueStorage()._item = newValue} - } - - public var rewardItem: ItemRewardProto { - get {return _storage._rewardItem ?? ItemRewardProto()} - set {_uniqueStorage()._rewardItem = newValue} - } - /// Returns true if `rewardItem` has been explicitly set. - public var hasRewardItem: Bool {return _storage._rewardItem != nil} - /// Clears the value of `rewardItem`. Subsequent reads from it will return its default value. - public mutating func clearRewardItem() {_uniqueStorage()._rewardItem = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum BuddySize: SwiftProtobuf.Enum { - public typealias RawValue = Int - case buddyMedium // = 0 - case buddyShoulder // = 1 - case buddyBig // = 2 - case buddyFlying // = 3 - case buddyBaby // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .buddyMedium - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .buddyMedium - case 1: self = .buddyShoulder - case 2: self = .buddyBig - case 3: self = .buddyFlying - case 4: self = .buddyBaby - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .buddyMedium: return 0 - case .buddyShoulder: return 1 - case .buddyBig: return 2 - case .buddyFlying: return 3 - case .buddyBaby: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension PokemonSettingsProto.BuddySize: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PokemonSettingsProto.BuddySize] = [ - .buddyMedium, - .buddyShoulder, - .buddyBig, - .buddyFlying, - .buddyBaby, - ] -} - -#endif // swift(>=4.2) - -public struct PokemonSizeSettingsProto { - // 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. - - public var pokemonSizeMultiplierScale1: Float = 0 - - public var pokemonSizeMultiplierScale2: Float = 0 - - public var pokemonSizeMultiplierScale3: Float = 0 - - public var pokemonSizeMultiplierScale4: Float = 0 - - public var pokemonSizeMultiplierScale5: Float = 0 - - public var pokemonSizeMultiplierScale6: Float = 0 - - public var pokemonSizeMultiplierScale7: Float = 0 - - public var pokemonSizeMultiplierScale8: Float = 0 - - public var pokemonSizeMultiplierScale9: Float = 0 - - public var pokemonSizeMultiplierScale10: Float = 0 - - public var obBool1: Bool = false - - public var obBool2: Bool = false - - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonStaminaUpdateProto { - // 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. - - public var pokemonID: UInt64 = 0 - - public var updatedStamina: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonStatValueProto { - // 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. - - public var pokemonID: Int64 = 0 - - public var value: Double = 0 - - public var pokemonCreationTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonStatsAttributesProto { - // 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. - - public var baseStamina: Int32 = 0 - - public var baseAttack: Int32 = 0 - - public var baseDefense: Int32 = 0 - - public var dodgeEnergyDelta: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonSummaryFortProto { - // 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. - - public var fortSummaryID: String = String() - - public var lastModifiedMs: Int64 = 0 - - public var latitude: Double = 0 - - public var longitude: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonSurvivalTimeInfo { - // 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. - - public var longestBattleDurationPokemonTimeMs: Int32 = 0 - - public var activePokemonEnterBattleTimeMs: Int64 = 0 - - public var longestBattleDurationPokemonID: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonTagColorBinding { - // 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. - - public var color: PokemonTagColor = .unset - - public var hexCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonTagProto { - // 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. - - public var id: UInt64 = 0 - - public var name: String = String() - - public var color: PokemonTagColor = .unset - - public var sortIndex: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonTagSettingsProto { - // 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. - - public var minPlayerLevelForPokemonTagging: Int32 = 0 - - public var colorBinding: [PokemonTagColorBinding] = [] - - public var maxNumTagsAllowed: Int32 = 0 - - public var tagNameCharacterLimit: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonTelemetry { - // 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. - - public var pokemonID: HoloPokemonId = .missingno - - public var cp: Int32 = 0 - - public var weightKg: Float = 0 - - public var heightM: Float = 0 - - public var pokemonLevel: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonThirdMoveAttributesProto { - // 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. - - public var stardustToUnlock: Int32 = 0 - - public var candyToUnlock: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokemonUpgradeSettingsProto { - // 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. - - public var upgradesPerLevel: Int32 = 0 - - public var allowedLevelsAbovePlayer: Int32 = 0 - - public var candyCost: [Int32] = [] - - public var stardustCost: [Int32] = [] - - public var shadowStardustMultiplier: Float = 0 - - public var shadowCandyMultiplier: Float = 0 - - public var purifiedStardustMultiplier: Float = 0 - - public var purifiedCandyMultiplier: Float = 0 - - public var maxNormalUpgradeLevel: Int32 = 0 - - public var defaultCpBoostAdditionalLevel: Int32 = 0 - - public var xlCandyMinPlayerLevel: Int32 = 0 - - public var xlCandyCost: [Int32] = [] - - public var maxMegaLevel: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokestopDisplayProto { - // 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. - - public var styleConfigAddress: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PokestopIncidentDisplayProto { - // 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. - - public var mapDisplay: PokestopIncidentDisplayProto.OneOf_MapDisplay? = nil - - public var characterDisplay: CharacterDisplayProto { - get { - if case .characterDisplay(let v)? = mapDisplay {return v} - return CharacterDisplayProto() - } - set {mapDisplay = .characterDisplay(newValue)} - } - - public var invasionFinished: InvasionFinishedDisplayProto { - get { - if case .invasionFinished(let v)? = mapDisplay {return v} - return InvasionFinishedDisplayProto() - } - set {mapDisplay = .invasionFinished(newValue)} - } - - public var contestDisplay: ContestDisplayProto { - get { - if case .contestDisplay(let v)? = mapDisplay {return v} - return ContestDisplayProto() - } - set {mapDisplay = .contestDisplay(newValue)} - } - - public var incidentID: String = String() - - public var incidentStartMs: Int64 = 0 - - public var incidentExpirationMs: Int64 = 0 - - public var hideIncident: Bool = false - - public var incidentCompleted: Bool = false - - public var incidentDisplayType: IncidentDisplayType = .none - - public var incidentDisplayOrderPriority: Int32 = 0 - - public var continueDisplayingIncident: Bool = false - - public var customDisplay: PokestopDisplayProto { - get {return _customDisplay ?? PokestopDisplayProto()} - set {_customDisplay = newValue} - } - /// Returns true if `customDisplay` has been explicitly set. - public var hasCustomDisplay: Bool {return self._customDisplay != nil} - /// Clears the value of `customDisplay`. Subsequent reads from it will return its default value. - public mutating func clearCustomDisplay() {self._customDisplay = nil} - - public var isCrossStopIncident: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_MapDisplay: Equatable { - case characterDisplay(CharacterDisplayProto) - case invasionFinished(InvasionFinishedDisplayProto) - case contestDisplay(ContestDisplayProto) - - #if !swift(>=4.1) - public static func ==(lhs: PokestopIncidentDisplayProto.OneOf_MapDisplay, rhs: PokestopIncidentDisplayProto.OneOf_MapDisplay) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.characterDisplay, .characterDisplay): return { - guard case .characterDisplay(let l) = lhs, case .characterDisplay(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.invasionFinished, .invasionFinished): return { - guard case .invasionFinished(let l) = lhs, case .invasionFinished(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.contestDisplay, .contestDisplay): return { - guard case .contestDisplay(let l) = lhs, case .contestDisplay(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} - - fileprivate var _customDisplay: PokestopDisplayProto? = nil -} - -public struct PokestopReward { - // 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. - - public var itemID: Item = .unknown - - public var itemCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PolygonProto { - // 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. - - public var loop: [LoopProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct Polyline { - // 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. - - public var coords: [UInt32] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PolylineList { - // 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. - - public var polylines: [Polyline] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PopupControlSettingsProto { - // 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. - - public var enabled: Bool { - get {return _storage._enabled} - set {_uniqueStorage()._enabled = newValue} - } - - public var obBool1: Bool { - get {return _storage._obBool1} - set {_uniqueStorage()._obBool1 = newValue} - } - - public var minKmWalkedToShowFitnessNotification: Double { - get {return _storage._minKmWalkedToShowFitnessNotification} - set {_uniqueStorage()._minKmWalkedToShowFitnessNotification = newValue} - } - - public var numSessionsToShowArPrompt: Int32 { - get {return _storage._numSessionsToShowArPrompt} - set {_uniqueStorage()._numSessionsToShowArPrompt = newValue} - } - - public var obBool2: Bool { - get {return _storage._obBool2} - set {_uniqueStorage()._obBool2 = newValue} - } - - public var obBool3: Bool { - get {return _storage._obBool3} - set {_uniqueStorage()._obBool3 = newValue} - } - - public var obBool4: Bool { - get {return _storage._obBool4} - set {_uniqueStorage()._obBool4 = newValue} - } - - public var obBool5: Bool { - get {return _storage._obBool5} - set {_uniqueStorage()._obBool5 = newValue} - } - - public var obBool6: Bool { - get {return _storage._obBool6} - set {_uniqueStorage()._obBool6 = newValue} - } - - public var obBool7: Bool { - get {return _storage._obBool7} - set {_uniqueStorage()._obBool7 = newValue} - } - - public var obBool8: Bool { - get {return _storage._obBool8} - set {_uniqueStorage()._obBool8 = newValue} - } - - public var obBool9: Bool { - get {return _storage._obBool9} - set {_uniqueStorage()._obBool9 = newValue} - } - - public var obBool10: Bool { - get {return _storage._obBool10} - set {_uniqueStorage()._obBool10 = newValue} - } - - public var obBool11: Bool { - get {return _storage._obBool11} - set {_uniqueStorage()._obBool11 = newValue} - } - - public var obBool12: Bool { - get {return _storage._obBool12} - set {_uniqueStorage()._obBool12 = newValue} - } - - public var obBool13: Bool { - get {return _storage._obBool13} - set {_uniqueStorage()._obBool13 = newValue} - } - - public var obBool14: Bool { - get {return _storage._obBool14} - set {_uniqueStorage()._obBool14 = newValue} - } - - public var obBool15: Bool { - get {return _storage._obBool15} - set {_uniqueStorage()._obBool15 = newValue} - } - - public var obBool16: Bool { - get {return _storage._obBool16} - set {_uniqueStorage()._obBool16 = newValue} - } - - public var obBool17: Bool { - get {return _storage._obBool17} - set {_uniqueStorage()._obBool17 = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PortalCurationImageResult { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case featureDisabled // = 2 - case alreadyUploaded // = 3 - case imageNotFound // = 4 - case imageTooBig // = 5 - case imageNotServable // = 6 - case portalNotFound // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .featureDisabled - case 3: self = .alreadyUploaded - case 4: self = .imageNotFound - case 5: self = .imageTooBig - case 6: self = .imageNotServable - case 7: self = .portalNotFound - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .featureDisabled: return 2 - case .alreadyUploaded: return 3 - case .imageNotFound: return 4 - case .imageTooBig: return 5 - case .imageNotServable: return 6 - case .portalNotFound: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension PortalCurationImageResult.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PortalCurationImageResult.Result] = [ - .unset, - .success, - .featureDisabled, - .alreadyUploaded, - .imageNotFound, - .imageTooBig, - .imageNotServable, - .portalNotFound, - ] -} - -#endif // swift(>=4.2) - -public struct PostStaticNewsfeedRequest { - // 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. - - public var appID: String = String() - - public var newsfeedPost: NewsfeedPost { - get {return _newsfeedPost ?? NewsfeedPost()} - set {_newsfeedPost = newValue} - } - /// Returns true if `newsfeedPost` has been explicitly set. - public var hasNewsfeedPost: Bool {return self._newsfeedPost != nil} - /// Clears the value of `newsfeedPost`. Subsequent reads from it will return its default value. - public mutating func clearNewsfeedPost() {self._newsfeedPost = nil} - - public var liquidAttributes: Dictionary = [:] - - public var bucketName: String = String() - - public var environmentID: String = String() - - public var campaignID: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _newsfeedPost: NewsfeedPost? = nil -} - -public struct PostStaticNewsfeedResponse { - // 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. - - public var result: PostStaticNewsfeedResponse.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case invalidPostTimestamp // = 2 - case invalidAppID // = 3 - case invalidNewsfeedTitle // = 4 - case invalidNewsfeedContent // = 5 - case sendFailed // = 6 - case liquidLogicError // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .invalidPostTimestamp - case 3: self = .invalidAppID - case 4: self = .invalidNewsfeedTitle - case 5: self = .invalidNewsfeedContent - case 6: self = .sendFailed - case 7: self = .liquidLogicError - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .invalidPostTimestamp: return 2 - case .invalidAppID: return 3 - case .invalidNewsfeedTitle: return 4 - case .invalidNewsfeedContent: return 5 - case .sendFailed: return 6 - case .liquidLogicError: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension PostStaticNewsfeedResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PostStaticNewsfeedResponse.Result] = [ - .unset, - .success, - .invalidPostTimestamp, - .invalidAppID, - .invalidNewsfeedTitle, - .invalidNewsfeedContent, - .sendFailed, - .liquidLogicError, - ] -} - -#endif // swift(>=4.2) - -public struct PostcardBookTelemetry { - // 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. - - public var status: PostcardBookTelemetry.Status = .open - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case `open` // = 0 - case UNRECOGNIZED(Int) - - public init() { - self = .open - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .open - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .open: return 0 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension PostcardBookTelemetry.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PostcardBookTelemetry.Status] = [ - .open, - ] -} - -#endif // swift(>=4.2) - -public struct PostcardCollectionGlobalSettingsProto { - // 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. - - public var enabled: Bool = false - - public var obCount: Int32 = 0 - - public var enabledPostcard: Bool = false - - public var sendEnabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PostcardCollectionSettings { - // 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. - - public var enabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PostcardCreateDetail { - // 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. - - public var postcardOrigin: Int64 = 0 - - public var receivedTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PostcardDisplayProto { - // 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. - - public var postcardID: String { - get {return _storage._postcardID} - set {_uniqueStorage()._postcardID = newValue} - } - - public var fortID: String { - get {return _storage._fortID} - set {_uniqueStorage()._fortID = newValue} - } - - public var fortLat: Double { - get {return _storage._fortLat} - set {_uniqueStorage()._fortLat = newValue} - } - - public var fortLng: Double { - get {return _storage._fortLng} - set {_uniqueStorage()._fortLng = newValue} - } - - public var creationTimestampMs: Int64 { - get {return _storage._creationTimestampMs} - set {_uniqueStorage()._creationTimestampMs = newValue} - } - - public var imageURL: String { - get {return _storage._imageURL} - set {_uniqueStorage()._imageURL = newValue} - } - - public var favorite: Bool { - get {return _storage._favorite} - set {_uniqueStorage()._favorite = newValue} - } - - public var postcardCreatorID: String { - get {return _storage._postcardCreatorID} - set {_uniqueStorage()._postcardCreatorID = newValue} - } - - public var postcardCreatorNickname: String { - get {return _storage._postcardCreatorNickname} - set {_uniqueStorage()._postcardCreatorNickname = newValue} - } - - public var stickerID: [String] { - get {return _storage._stickerID} - set {_uniqueStorage()._stickerID = newValue} - } - - public var note: String { - get {return _storage._note} - set {_uniqueStorage()._note = newValue} - } - - public var fortName: String { - get {return _storage._fortName} - set {_uniqueStorage()._fortName = newValue} - } - - public var postcardSource: PostcardSource { - get {return _storage._postcardSource} - set {_uniqueStorage()._postcardSource = newValue} - } - - public var giftboxID: UInt64 { - get {return _storage._giftboxID} - set {_uniqueStorage()._giftboxID = newValue} - } - - public var postcardCreatorCodename: String { - get {return _storage._postcardCreatorCodename} - set {_uniqueStorage()._postcardCreatorCodename = newValue} - } - - public var sourceGiftboxID: UInt64 { - get {return _storage._sourceGiftboxID} - set {_uniqueStorage()._sourceGiftboxID = newValue} - } - - public var isSponsored: Bool { - get {return _storage._isSponsored} - set {_uniqueStorage()._isSponsored = newValue} - } - - public var alreadyShared: Bool { - get {return _storage._alreadyShared} - set {_uniqueStorage()._alreadyShared = newValue} - } - - public var postcardCreatorNiaAccountID: String { - get {return _storage._postcardCreatorNiaAccountID} - set {_uniqueStorage()._postcardCreatorNiaAccountID = newValue} - } - - public var receivedInParty: Bool { - get {return _storage._receivedInParty} - set {_uniqueStorage()._receivedInParty = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PotionAttributesProto { - // 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. - - public var staPercent: Float = 0 - - public var staAmount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PowerUpPokestopSharedSettings { - // 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. - - public var featureEnabled: Bool = false - - public var minPlayerLevelForScanning: Int32 = 0 - - public var pointsMultiplier: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PreAgeGateMetadata { - // 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. - - public var timestampMs: Int64 { - get {return _storage._timestampMs} - set {_uniqueStorage()._timestampMs = newValue} - } - - public var clientTimestampMs: Int64 { - get {return _storage._clientTimestampMs} - set {_uniqueStorage()._clientTimestampMs = newValue} - } - - /// repeated int32 experiment_ids = 6; - public var preLoginUserID: String { - get {return _storage._preLoginUserID} - set {_uniqueStorage()._preLoginUserID = newValue} - } - - public var minor: Bool { - get {return _storage._minor} - set {_uniqueStorage()._minor = newValue} - } - - public var numStarts: Int64 { - get {return _storage._numStarts} - set {_uniqueStorage()._numStarts = newValue} - } - - public var clientEnvironment: ClientEnvironmentProto { - get {return _storage._clientEnvironment ?? ClientEnvironmentProto()} - set {_uniqueStorage()._clientEnvironment = newValue} - } - /// Returns true if `clientEnvironment` has been explicitly set. - public var hasClientEnvironment: Bool {return _storage._clientEnvironment != nil} - /// Clears the value of `clientEnvironment`. Subsequent reads from it will return its default value. - public mutating func clearClientEnvironment() {_uniqueStorage()._clientEnvironment = nil} - - public var startupMeasurement: StartupMeasurementProto { - get {return _storage._startupMeasurement ?? StartupMeasurementProto()} - set {_uniqueStorage()._startupMeasurement = newValue} - } - /// Returns true if `startupMeasurement` has been explicitly set. - public var hasStartupMeasurement: Bool {return _storage._startupMeasurement != nil} - /// Clears the value of `startupMeasurement`. Subsequent reads from it will return its default value. - public mutating func clearStartupMeasurement() {_uniqueStorage()._startupMeasurement = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PreAgeGateTrackingOmniproto { - // 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. - - public var preAgeGateEvent: OneOf_PreAgeGateEvent? { - get {return _storage._preAgeGateEvent} - set {_uniqueStorage()._preAgeGateEvent = newValue} - } - - public var ageGateStartup: AgeGateStartup { - get { - if case .ageGateStartup(let v)? = _storage._preAgeGateEvent {return v} - return AgeGateStartup() - } - set {_uniqueStorage()._preAgeGateEvent = .ageGateStartup(newValue)} - } - - public var ageGateResult: AgeGateResult { - get { - if case .ageGateResult(let v)? = _storage._preAgeGateEvent {return v} - return AgeGateResult() - } - set {_uniqueStorage()._preAgeGateEvent = .ageGateResult(newValue)} - } - - public var preAgeGateMetadata: PreAgeGateMetadata { - get {return _storage._preAgeGateMetadata ?? PreAgeGateMetadata()} - set {_uniqueStorage()._preAgeGateMetadata = newValue} - } - /// Returns true if `preAgeGateMetadata` has been explicitly set. - public var hasPreAgeGateMetadata: Bool {return _storage._preAgeGateMetadata != nil} - /// Clears the value of `preAgeGateMetadata`. Subsequent reads from it will return its default value. - public mutating func clearPreAgeGateMetadata() {_uniqueStorage()._preAgeGateMetadata = nil} - - public var commonFilters: ClientTelemetryCommonFilterProto { - get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} - set {_uniqueStorage()._commonFilters = newValue} - } - /// Returns true if `commonFilters` has been explicitly set. - public var hasCommonFilters: Bool {return _storage._commonFilters != nil} - /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. - public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_PreAgeGateEvent: Equatable { - case ageGateStartup(AgeGateStartup) - case ageGateResult(AgeGateResult) - - #if !swift(>=4.1) - public static func ==(lhs: PreAgeGateTrackingOmniproto.OneOf_PreAgeGateEvent, rhs: PreAgeGateTrackingOmniproto.OneOf_PreAgeGateEvent) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.ageGateStartup, .ageGateStartup): return { - guard case .ageGateStartup(let l) = lhs, case .ageGateStartup(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.ageGateResult, .ageGateResult): return { - guard case .ageGateResult(let l) = lhs, case .ageGateResult(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PreLoginMetadata { - // 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. - - public var userID: String = String() - - public var timestampMs: Int64 = 0 - - public var clientTimestampMs: Int64 = 0 - - /// repeated int32 experiment_ids = 6; - public var preLoginUserID: String = String() - - public var numStarts: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PreLoginTrackingOmniproto { - // 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. - - public var preLoginEvent: OneOf_PreLoginEvent? { - get {return _storage._preLoginEvent} - set {_uniqueStorage()._preLoginEvent = newValue} - } - - public var loginStartup: LoginStartup { - get { - if case .loginStartup(let v)? = _storage._preLoginEvent {return v} - return LoginStartup() - } - set {_uniqueStorage()._preLoginEvent = .loginStartup(newValue)} - } - - public var loginNewPlayer: LoginNewPlayer { - get { - if case .loginNewPlayer(let v)? = _storage._preLoginEvent {return v} - return LoginNewPlayer() - } - set {_uniqueStorage()._preLoginEvent = .loginNewPlayer(newValue)} - } - - public var loginReturningPlayer: LoginReturningPlayer { - get { - if case .loginReturningPlayer(let v)? = _storage._preLoginEvent {return v} - return LoginReturningPlayer() - } - set {_uniqueStorage()._preLoginEvent = .loginReturningPlayer(newValue)} - } - - public var loginNewPlayerCreateAccount: LoginNewPlayerCreateAccount { - get { - if case .loginNewPlayerCreateAccount(let v)? = _storage._preLoginEvent {return v} - return LoginNewPlayerCreateAccount() - } - set {_uniqueStorage()._preLoginEvent = .loginNewPlayerCreateAccount(newValue)} - } - - public var loginReturningPlayerSignIn: LoginReturningPlayerSignIn { - get { - if case .loginReturningPlayerSignIn(let v)? = _storage._preLoginEvent {return v} - return LoginReturningPlayerSignIn() - } - set {_uniqueStorage()._preLoginEvent = .loginReturningPlayerSignIn(newValue)} - } - - public var preLoginMetadata: PreLoginMetadata { - get {return _storage._preLoginMetadata ?? PreLoginMetadata()} - set {_uniqueStorage()._preLoginMetadata = newValue} - } - /// Returns true if `preLoginMetadata` has been explicitly set. - public var hasPreLoginMetadata: Bool {return _storage._preLoginMetadata != nil} - /// Clears the value of `preLoginMetadata`. Subsequent reads from it will return its default value. - public mutating func clearPreLoginMetadata() {_uniqueStorage()._preLoginMetadata = nil} - - public var commonFilters: ClientTelemetryCommonFilterProto { - get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} - set {_uniqueStorage()._commonFilters = newValue} - } - /// Returns true if `commonFilters` has been explicitly set. - public var hasCommonFilters: Bool {return _storage._commonFilters != nil} - /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. - public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_PreLoginEvent: Equatable { - case loginStartup(LoginStartup) - case loginNewPlayer(LoginNewPlayer) - case loginReturningPlayer(LoginReturningPlayer) - case loginNewPlayerCreateAccount(LoginNewPlayerCreateAccount) - case loginReturningPlayerSignIn(LoginReturningPlayerSignIn) - - #if !swift(>=4.1) - public static func ==(lhs: PreLoginTrackingOmniproto.OneOf_PreLoginEvent, rhs: PreLoginTrackingOmniproto.OneOf_PreLoginEvent) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.loginStartup, .loginStartup): return { - guard case .loginStartup(let l) = lhs, case .loginStartup(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.loginNewPlayer, .loginNewPlayer): return { - guard case .loginNewPlayer(let l) = lhs, case .loginNewPlayer(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.loginReturningPlayer, .loginReturningPlayer): return { - guard case .loginReturningPlayer(let l) = lhs, case .loginReturningPlayer(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.loginNewPlayerCreateAccount, .loginNewPlayerCreateAccount): return { - guard case .loginNewPlayerCreateAccount(let l) = lhs, case .loginNewPlayerCreateAccount(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.loginReturningPlayerSignIn, .loginReturningPlayerSignIn): return { - guard case .loginReturningPlayerSignIn(let l) = lhs, case .loginReturningPlayerSignIn(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct PrimalBoostSettingsProto { - // 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. - - public var evolutionLengthMs: Int64 = 0 - - public var obBool1: Bool = false - - public var obInt321: Int32 = 0 - - public var primalTypeBoostEnabled: Bool = false - - public var obInt322: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PrimalEvoSettingsProto { - // 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. - - public var primalBoostSettings: PrimalBoostSettingsProto { - get {return _primalBoostSettings ?? PrimalBoostSettingsProto()} - set {_primalBoostSettings = newValue} - } - /// Returns true if `primalBoostSettings` has been explicitly set. - public var hasPrimalBoostSettings: Bool {return self._primalBoostSettings != nil} - /// Clears the value of `primalBoostSettings`. Subsequent reads from it will return its default value. - public mutating func clearPrimalBoostSettings() {self._primalBoostSettings = nil} - - public var primalMaxCandyHoardSize: Int32 = 0 - - public var primalTypeBoostBonusSettings: [PrimalTypeBoostBonusSettingsProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _primalBoostSettings: PrimalBoostSettingsProto? = nil -} - -public struct PrimalTypeBoostBonusSettingsProto { - // 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. - - public var pokemonID: HoloPokemonId = .missingno - - public var pokemonType: [HoloPokemonType] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProbeProto { - // 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. - - public var id: String = String() - - public var payload: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProbeSettingsProto { - // 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. - - public var enableSidechannel: Bool = false - - public var enableAdhoc: Bool = false - - public var adhocFrequencySec: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProcessRouteTappableOutProto { - // 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. - - public var status: RoutePlayStatus.Status = .unset - - public var reward: LootProto { - get {return _reward ?? LootProto()} - set {_reward = newValue} - } - /// Returns true if `reward` has been explicitly set. - public var hasReward: Bool {return self._reward != nil} - /// Clears the value of `reward`. Subsequent reads from it will return its default value. - public mutating func clearReward() {self._reward = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _reward: LootProto? = nil -} - -public struct ProcessRouteTappableProto { - // 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. - - public var routeID: String = String() - - public var waypointIndex: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProcessRouteWaypointInteractionOutProto { - // 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. - - public var activity: ProcessRouteWaypointInteractionOutProto.OneOf_Activity? = nil - - public var pokemonTrade: ProcessRouteWaypointInteractionOutProto.PokemonTradeActivity { - get { - if case .pokemonTrade(let v)? = activity {return v} - return ProcessRouteWaypointInteractionOutProto.PokemonTradeActivity() - } - set {activity = .pokemonTrade(newValue)} - } - - public var pokemonCompare: ProcessRouteWaypointInteractionOutProto.PokemonCompareActivity { - get { - if case .pokemonCompare(let v)? = activity {return v} - return ProcessRouteWaypointInteractionOutProto.PokemonCompareActivity() - } - set {activity = .pokemonCompare(newValue)} - } - - public var giftTrade: ProcessRouteWaypointInteractionOutProto.GiftTradeActivity { - get { - if case .giftTrade(let v)? = activity {return v} - return ProcessRouteWaypointInteractionOutProto.GiftTradeActivity() - } - set {activity = .giftTrade(newValue)} - } - - public var activityType: RouteActivityType.ActivityType = .unset - - public var dialog: NpcDialogueProto { - get {return _dialog ?? NpcDialogueProto()} - set {_dialog = newValue} - } - /// Returns true if `dialog` has been explicitly set. - public var hasDialog: Bool {return self._dialog != nil} - /// Clears the value of `dialog`. Subsequent reads from it will return its default value. - public mutating func clearDialog() {self._dialog = nil} - - public var routeStamp: RouteStamp { - get {return _routeStamp ?? RouteStamp()} - set {_routeStamp = newValue} - } - /// Returns true if `routeStamp` has been explicitly set. - public var hasRouteStamp: Bool {return self._routeStamp != nil} - /// Clears the value of `routeStamp`. Subsequent reads from it will return its default value. - public mutating func clearRouteStamp() {self._routeStamp = nil} - - public var status: RoutePlayStatus.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Activity: Equatable { - case pokemonTrade(ProcessRouteWaypointInteractionOutProto.PokemonTradeActivity) - case pokemonCompare(ProcessRouteWaypointInteractionOutProto.PokemonCompareActivity) - case giftTrade(ProcessRouteWaypointInteractionOutProto.GiftTradeActivity) - - #if !swift(>=4.1) - public static func ==(lhs: ProcessRouteWaypointInteractionOutProto.OneOf_Activity, rhs: ProcessRouteWaypointInteractionOutProto.OneOf_Activity) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pokemonTrade, .pokemonTrade): return { - guard case .pokemonTrade(let l) = lhs, case .pokemonTrade(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonCompare, .pokemonCompare): return { - guard case .pokemonCompare(let l) = lhs, case .pokemonCompare(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.giftTrade, .giftTrade): return { - guard case .giftTrade(let l) = lhs, case .giftTrade(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public struct GiftTradeActivity { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct PokemonCompareActivity { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct PokemonTradeActivity { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _dialog: NpcDialogueProto? = nil - fileprivate var _routeStamp: RouteStamp? = nil -} - -public struct ProcessRouteWaypointInteractionProto { - // 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. - - public var routeID: String = String() - - public var waypointFortID: String = String() - - public var waypointIndex: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProfanityCheckOutProto { - // 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. - - public var result: ProfanityCheckOutProto.Result = .unset - - public var invalidContentsIndexes: [Int32] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ProfanityCheckOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProfanityCheckOutProto.Result] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct ProfanityCheckProto { - // 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. - - public var contents: [String] = [] - - public var acceptAuthorOnly: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProfanityReportData { - // 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. - - public var contentType: ProfanityReportData.OneOf_ContentType? = nil - - public var textContent: MessageProfanityReportData { - get { - if case .textContent(let v)? = contentType {return v} - return MessageProfanityReportData() - } - set {contentType = .textContent(newValue)} - } - - public var imageContent: ImageProfanityReportData { - get { - if case .imageContent(let v)? = contentType {return v} - return ImageProfanityReportData() - } - set {contentType = .imageContent(newValue)} - } - - public var channelURL: String = String() - - public var messageID: Int64 = 0 - - public var origin: ReportAttributeData.Origin = .undefinedOrigin - - public var messageContext: [ChatMessageContext] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_ContentType: Equatable { - case textContent(MessageProfanityReportData) - case imageContent(ImageProfanityReportData) - - #if !swift(>=4.1) - public static func ==(lhs: ProfanityReportData.OneOf_ContentType, rhs: ProfanityReportData.OneOf_ContentType) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.textContent, .textContent): return { - guard case .textContent(let l) = lhs, case .textContent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.imageContent, .imageContent): return { - guard case .imageContent(let l) = lhs, case .imageContent(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} -} - -public struct ProfileDetailsProto { - // 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. - - public var profileNameAppKey: String = String() - - public var nickname: String = String() - - public var profileName: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProfilePageTelemetry { - // 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. - - public var profilePageClickID: ProfilePageTelemetryIds = .undefinedProfilePage - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProgressQuestOutProto { - // 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. - - public var status: ProgressQuestOutProto.Status = .unset - - public var quest: ClientQuestProto { - get {return _quest ?? ClientQuestProto()} - set {_quest = newValue} - } - /// Returns true if `quest` has been explicitly set. - public var hasQuest: Bool {return self._quest != nil} - /// Clears the value of `quest`. Subsequent reads from it will return its default value. - public mutating func clearQuest() {self._quest = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorQuestNotFound // = 2 - case errorExceededGeotargetedSubmissionLimit // = 3 - case errorValidationFailed // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorQuestNotFound - case 3: self = .errorExceededGeotargetedSubmissionLimit - case 4: self = .errorValidationFailed - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorQuestNotFound: return 2 - case .errorExceededGeotargetedSubmissionLimit: return 3 - case .errorValidationFailed: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _quest: ClientQuestProto? = nil -} - -#if swift(>=4.2) - -extension ProgressQuestOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressQuestOutProto.Status] = [ - .unset, - .success, - .errorQuestNotFound, - .errorExceededGeotargetedSubmissionLimit, - .errorValidationFailed, - ] -} - -#endif // swift(>=4.2) - -public struct ProgressQuestProto { - // 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. - - public var validation: ProgressQuestProto.OneOf_Validation? = nil - - public var geotargetedQuestValidation: GeotargetedQuestValidation { - get { - if case .geotargetedQuestValidation(let v)? = validation {return v} - return GeotargetedQuestValidation() - } - set {validation = .geotargetedQuestValidation(newValue)} - } - - public var questID: String = String() - - public var currentProgress: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Validation: Equatable { - case geotargetedQuestValidation(GeotargetedQuestValidation) - - #if !swift(>=4.1) - public static func ==(lhs: ProgressQuestProto.OneOf_Validation, rhs: ProgressQuestProto.OneOf_Validation) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.geotargetedQuestValidation, .geotargetedQuestValidation): return { - guard case .geotargetedQuestValidation(let l) = lhs, case .geotargetedQuestValidation(let r) = rhs else { preconditionFailure() } - return l == r - }() - } - } - #endif - } - - public init() {} -} - -public struct ProgressRouteOutProto { - // 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. - - public var progressionState: ProgressRouteOutProto.ProgressionState = .unset - - public var status: RoutePlayStatus.Status = .unset - - public var routePlay: RoutePlayProto { - get {return _routePlay ?? RoutePlayProto()} - set {_routePlay = newValue} - } - /// Returns true if `routePlay` has been explicitly set. - public var hasRoutePlay: Bool {return self._routePlay != nil} - /// Clears the value of `routePlay`. Subsequent reads from it will return its default value. - public mutating func clearRoutePlay() {self._routePlay = nil} - - public var activityOutput: RouteActivityResponseProto { - get {return _activityOutput ?? RouteActivityResponseProto()} - set {_activityOutput = newValue} - } - /// Returns true if `activityOutput` has been explicitly set. - public var hasActivityOutput: Bool {return self._activityOutput != nil} - /// Clears the value of `activityOutput`. Subsequent reads from it will return its default value. - public mutating func clearActivityOutput() {self._activityOutput = nil} - - public var cooldownFinishMs: Int64 = 0 - - public var obLoot: LootProto { - get {return _obLoot ?? LootProto()} - set {_obLoot = newValue} - } - /// Returns true if `obLoot` has been explicitly set. - public var hasObLoot: Bool {return self._obLoot != nil} - /// Clears the value of `obLoot`. Subsequent reads from it will return its default value. - public mutating func clearObLoot() {self._obLoot = nil} - - public var obRouteBadgesInfoData: AwardedRouteBadge { - get {return _obRouteBadgesInfoData ?? AwardedRouteBadge()} - set {_obRouteBadgesInfoData = newValue} - } - /// Returns true if `obRouteBadgesInfoData` has been explicitly set. - public var hasObRouteBadgesInfoData: Bool {return self._obRouteBadgesInfoData != nil} - /// Clears the value of `obRouteBadgesInfoData`. Subsequent reads from it will return its default value. - public mutating func clearObRouteBadgesInfoData() {self._obRouteBadgesInfoData = nil} - - public var obLoot2: LootProto { - get {return _obLoot2 ?? LootProto()} - set {_obLoot2 = newValue} - } - /// Returns true if `obLoot2` has been explicitly set. - public var hasObLoot2: Bool {return self._obLoot2 != nil} - /// Clears the value of `obLoot2`. Subsequent reads from it will return its default value. - public mutating func clearObLoot2() {self._obLoot2 = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ProgressionState: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case inProgress // = 1 - case complete // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .inProgress - case 2: self = .complete - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .inProgress: return 1 - case .complete: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _routePlay: RoutePlayProto? = nil - fileprivate var _activityOutput: RouteActivityResponseProto? = nil - fileprivate var _obLoot: LootProto? = nil - fileprivate var _obRouteBadgesInfoData: AwardedRouteBadge? = nil - fileprivate var _obLoot2: LootProto? = nil -} - -#if swift(>=4.2) - -extension ProgressRouteOutProto.ProgressionState: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressRouteOutProto.ProgressionState] = [ - .unset, - .inProgress, - .complete, - ] -} - -#endif // swift(>=4.2) - -public struct ProgressRouteProto { - // 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. - - public var isPaused: ProgressRouteProto.OneOf_IsPaused? = nil - - public var pause: Bool { - get { - if case .pause(let v)? = isPaused {return v} - return false - } - set {isPaused = .pause(newValue)} - } - - public var waypointIndex: Int32 = 0 - - public var skipActivity: Bool = false - - public var activityType: RouteActivityType.ActivityType = .unset - - public var activityInput: RouteActivityRequestProto { - get {return _activityInput ?? RouteActivityRequestProto()} - set {_activityInput = newValue} - } - /// Returns true if `activityInput` has been explicitly set. - public var hasActivityInput: Bool {return self._activityInput != nil} - /// Clears the value of `activityInput`. Subsequent reads from it will return its default value. - public mutating func clearActivityInput() {self._activityInput = nil} - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_IsPaused: Equatable { - case pause(Bool) - - #if !swift(>=4.1) - public static func ==(lhs: ProgressRouteProto.OneOf_IsPaused, rhs: ProgressRouteProto.OneOf_IsPaused) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pause, .pause): return { - guard case .pause(let l) = lhs, case .pause(let r) = rhs else { preconditionFailure() } - return l == r - }() - } - } - #endif - } - - public init() {} - - fileprivate var _activityInput: RouteActivityRequestProto? = nil -} - -public struct ProgressTokenDataProto { - // 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. - - public var function: ProgressTokenDataProto.OneOf_Function? = nil - - public var gymRootControllerFunction: ProgressTokenDataProto.GymRootControllerFunction { - get { - if case .gymRootControllerFunction(let v)? = function {return v} - return .noneGymGymRootController - } - set {function = .gymRootControllerFunction(newValue)} - } - - public var raidStateFunction: ProgressTokenDataProto.RaidStateFunction { - get { - if case .raidStateFunction(let v)? = function {return v} - return .noneRaidState - } - set {function = .raidStateFunction(newValue)} - } - - public var raidLobbyStateFunction: ProgressTokenDataProto.RaidLobbyStateFunction { - get { - if case .raidLobbyStateFunction(let v)? = function {return v} - return .noneRaidLobbyState - } - set {function = .raidLobbyStateFunction(newValue)} - } - - public var raidLobbyGuiControllerFunction: ProgressTokenDataProto.RaidLobbyGuiControllerFunction { - get { - if case .raidLobbyGuiControllerFunction(let v)? = function {return v} - return .noneRaidLobbyGuiController - } - set {function = .raidLobbyGuiControllerFunction(newValue)} - } - - public var raidBattleStateFunction: ProgressTokenDataProto.RaidBattleStateFunction { - get { - if case .raidBattleStateFunction(let v)? = function {return v} - return .noneRaidBattleState - } - set {function = .raidBattleStateFunction(newValue)} - } - - public var raidResolveStateFunction: ProgressTokenDataProto.RaidResolveStateFunction { - get { - if case .raidResolveStateFunction(let v)? = function {return v} - return .noneRaidResolveState - } - set {function = .raidResolveStateFunction(newValue)} - } - - public var raidResolveUicontrollerFunction: ProgressTokenDataProto.RaidResolveUicontrollerFunction { - get { - if case .raidResolveUicontrollerFunction(let v)? = function {return v} - return .noneRaidResolveUiController - } - set {function = .raidResolveUicontrollerFunction(newValue)} - } - - public var encounterStateFunction: ProgressTokenDataProto.EncounterStateFunction { - get { - if case .encounterStateFunction(let v)? = function {return v} - return .noneEncounterState - } - set {function = .encounterStateFunction(newValue)} - } - - public var mapExploreStateFunction: ProgressTokenDataProto.MapExploreStateFunction { - get { - if case .mapExploreStateFunction(let v)? = function {return v} - return .noneMapExploreState - } - set {function = .mapExploreStateFunction(newValue)} - } - - public var obProgressTokenInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Function: Equatable { - case gymRootControllerFunction(ProgressTokenDataProto.GymRootControllerFunction) - case raidStateFunction(ProgressTokenDataProto.RaidStateFunction) - case raidLobbyStateFunction(ProgressTokenDataProto.RaidLobbyStateFunction) - case raidLobbyGuiControllerFunction(ProgressTokenDataProto.RaidLobbyGuiControllerFunction) - case raidBattleStateFunction(ProgressTokenDataProto.RaidBattleStateFunction) - case raidResolveStateFunction(ProgressTokenDataProto.RaidResolveStateFunction) - case raidResolveUicontrollerFunction(ProgressTokenDataProto.RaidResolveUicontrollerFunction) - case encounterStateFunction(ProgressTokenDataProto.EncounterStateFunction) - case mapExploreStateFunction(ProgressTokenDataProto.MapExploreStateFunction) - - #if !swift(>=4.1) - public static func ==(lhs: ProgressTokenDataProto.OneOf_Function, rhs: ProgressTokenDataProto.OneOf_Function) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.gymRootControllerFunction, .gymRootControllerFunction): return { - guard case .gymRootControllerFunction(let l) = lhs, case .gymRootControllerFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidStateFunction, .raidStateFunction): return { - guard case .raidStateFunction(let l) = lhs, case .raidStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidLobbyStateFunction, .raidLobbyStateFunction): return { - guard case .raidLobbyStateFunction(let l) = lhs, case .raidLobbyStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidLobbyGuiControllerFunction, .raidLobbyGuiControllerFunction): return { - guard case .raidLobbyGuiControllerFunction(let l) = lhs, case .raidLobbyGuiControllerFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidBattleStateFunction, .raidBattleStateFunction): return { - guard case .raidBattleStateFunction(let l) = lhs, case .raidBattleStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidResolveStateFunction, .raidResolveStateFunction): return { - guard case .raidResolveStateFunction(let l) = lhs, case .raidResolveStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidResolveUicontrollerFunction, .raidResolveUicontrollerFunction): return { - guard case .raidResolveUicontrollerFunction(let l) = lhs, case .raidResolveUicontrollerFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.encounterStateFunction, .encounterStateFunction): return { - guard case .encounterStateFunction(let l) = lhs, case .encounterStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.mapExploreStateFunction, .mapExploreStateFunction): return { - guard case .mapExploreStateFunction(let l) = lhs, case .mapExploreStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum EncounterStateFunction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneEncounterState // = 0 - case setupEncounter // = 1 - case beginEncounterApproach // = 2 - case encounterStateComplete // = 3 - case exitEncounterState // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .noneEncounterState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneEncounterState - case 1: self = .setupEncounter - case 2: self = .beginEncounterApproach - case 3: self = .encounterStateComplete - case 4: self = .exitEncounterState - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneEncounterState: return 0 - case .setupEncounter: return 1 - case .beginEncounterApproach: return 2 - case .encounterStateComplete: return 3 - case .exitEncounterState: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum RaidBattleStateFunction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneRaidBattleState // = 0 - case enterRaidBattleState // = 1 - case exitRaidBattleState // = 2 - case observeBattleFrames // = 3 - case startRaidBattle // = 4 - case startRaidBattleWhenReady // = 5 - case endBattleWhenReady // = 6 - case getRaidBossProto // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .noneRaidBattleState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneRaidBattleState - case 1: self = .enterRaidBattleState - case 2: self = .exitRaidBattleState - case 3: self = .observeBattleFrames - case 4: self = .startRaidBattle - case 5: self = .startRaidBattleWhenReady - case 6: self = .endBattleWhenReady - case 7: self = .getRaidBossProto - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneRaidBattleState: return 0 - case .enterRaidBattleState: return 1 - case .exitRaidBattleState: return 2 - case .observeBattleFrames: return 3 - case .startRaidBattle: return 4 - case .startRaidBattleWhenReady: return 5 - case .endBattleWhenReady: return 6 - case .getRaidBossProto: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum RaidStateFunction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneRaidState // = 0 - case exitGymRaidState // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .noneRaidState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneRaidState - case 1: self = .exitGymRaidState - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneRaidState: return 0 - case .exitGymRaidState: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum MapExploreStateFunction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneMapExploreState // = 0 - case gymRootComplete // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .noneMapExploreState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneMapExploreState - case 1: self = .gymRootComplete - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneMapExploreState: return 0 - case .gymRootComplete: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum RaidLobbyStateFunction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneRaidLobbyState // = 0 - case enterRaidLobbyState // = 1 - case exitRaidLobbyState // = 2 - case createLobby // = 3 - case createLobbyForReal // = 4 - case startRaidBattleState // = 5 - case cancelRaidBattleTransition // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .noneRaidLobbyState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneRaidLobbyState - case 1: self = .enterRaidLobbyState - case 2: self = .exitRaidLobbyState - case 3: self = .createLobby - case 4: self = .createLobbyForReal - case 5: self = .startRaidBattleState - case 6: self = .cancelRaidBattleTransition - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneRaidLobbyState: return 0 - case .enterRaidLobbyState: return 1 - case .exitRaidLobbyState: return 2 - case .createLobby: return 3 - case .createLobbyForReal: return 4 - case .startRaidBattleState: return 5 - case .cancelRaidBattleTransition: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum RaidResolveStateFunction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneRaidResolveState // = 0 - case enterRaidResolveState // = 1 - case exitRaidResolveState // = 2 - case initRaidResolveState // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .noneRaidResolveState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneRaidResolveState - case 1: self = .enterRaidResolveState - case 2: self = .exitRaidResolveState - case 3: self = .initRaidResolveState - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneRaidResolveState: return 0 - case .enterRaidResolveState: return 1 - case .exitRaidResolveState: return 2 - case .initRaidResolveState: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum RaidLobbyGuiControllerFunction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneRaidLobbyGuiController // = 0 - case initRaidLobbyGuiController // = 1 - case setDependantVisuals // = 2 - case startLobbyIntro // = 3 - case lobbyIntro // = 4 - case onLobbyIntroComplete // = 5 - case showBattlePrepGui // = 6 - case handleDismissComplete // = 7 - case startTimeoutScreen // = 8 - case rejoinBattle // = 9 - case updateAvatars // = 10 - case startPollingGetRaidDetails // = 11 - case playBattleIntro // = 12 - case leaveLobby // = 13 - case onPokemonInventoryOpened // = 14 - case onClickInventory // = 15 - case onTap // = 16 - case handleRaidBattleComplete // = 17 - case UNRECOGNIZED(Int) - - public init() { - self = .noneRaidLobbyGuiController - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneRaidLobbyGuiController - case 1: self = .initRaidLobbyGuiController - case 2: self = .setDependantVisuals - case 3: self = .startLobbyIntro - case 4: self = .lobbyIntro - case 5: self = .onLobbyIntroComplete - case 6: self = .showBattlePrepGui - case 7: self = .handleDismissComplete - case 8: self = .startTimeoutScreen - case 9: self = .rejoinBattle - case 10: self = .updateAvatars - case 11: self = .startPollingGetRaidDetails - case 12: self = .playBattleIntro - case 13: self = .leaveLobby - case 14: self = .onPokemonInventoryOpened - case 15: self = .onClickInventory - case 16: self = .onTap - case 17: self = .handleRaidBattleComplete - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneRaidLobbyGuiController: return 0 - case .initRaidLobbyGuiController: return 1 - case .setDependantVisuals: return 2 - case .startLobbyIntro: return 3 - case .lobbyIntro: return 4 - case .onLobbyIntroComplete: return 5 - case .showBattlePrepGui: return 6 - case .handleDismissComplete: return 7 - case .startTimeoutScreen: return 8 - case .rejoinBattle: return 9 - case .updateAvatars: return 10 - case .startPollingGetRaidDetails: return 11 - case .playBattleIntro: return 12 - case .leaveLobby: return 13 - case .onPokemonInventoryOpened: return 14 - case .onClickInventory: return 15 - case .onTap: return 16 - case .handleRaidBattleComplete: return 17 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum GymRootControllerFunction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneGymGymRootController // = 0 - case exitGymGymRootController // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .noneGymGymRootController - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneGymGymRootController - case 1: self = .exitGymGymRootController - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneGymGymRootController: return 0 - case .exitGymGymRootController: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum RaidResolveUicontrollerFunction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneRaidResolveUiController // = 0 - case initRaidResolveUiController // = 1 - case closeRaidResolveUiController // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .noneRaidResolveUiController - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneRaidResolveUiController - case 1: self = .initRaidResolveUiController - case 2: self = .closeRaidResolveUiController - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneRaidResolveUiController: return 0 - case .initRaidResolveUiController: return 1 - case .closeRaidResolveUiController: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ProgressTokenDataProto.EncounterStateFunction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataProto.EncounterStateFunction] = [ - .noneEncounterState, - .setupEncounter, - .beginEncounterApproach, - .encounterStateComplete, - .exitEncounterState, - ] -} - -extension ProgressTokenDataProto.RaidBattleStateFunction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataProto.RaidBattleStateFunction] = [ - .noneRaidBattleState, - .enterRaidBattleState, - .exitRaidBattleState, - .observeBattleFrames, - .startRaidBattle, - .startRaidBattleWhenReady, - .endBattleWhenReady, - .getRaidBossProto, - ] -} - -extension ProgressTokenDataProto.RaidStateFunction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataProto.RaidStateFunction] = [ - .noneRaidState, - .exitGymRaidState, - ] -} - -extension ProgressTokenDataProto.MapExploreStateFunction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataProto.MapExploreStateFunction] = [ - .noneMapExploreState, - .gymRootComplete, - ] -} - -extension ProgressTokenDataProto.RaidLobbyStateFunction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataProto.RaidLobbyStateFunction] = [ - .noneRaidLobbyState, - .enterRaidLobbyState, - .exitRaidLobbyState, - .createLobby, - .createLobbyForReal, - .startRaidBattleState, - .cancelRaidBattleTransition, - ] -} - -extension ProgressTokenDataProto.RaidResolveStateFunction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataProto.RaidResolveStateFunction] = [ - .noneRaidResolveState, - .enterRaidResolveState, - .exitRaidResolveState, - .initRaidResolveState, - ] -} - -extension ProgressTokenDataProto.RaidLobbyGuiControllerFunction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataProto.RaidLobbyGuiControllerFunction] = [ - .noneRaidLobbyGuiController, - .initRaidLobbyGuiController, - .setDependantVisuals, - .startLobbyIntro, - .lobbyIntro, - .onLobbyIntroComplete, - .showBattlePrepGui, - .handleDismissComplete, - .startTimeoutScreen, - .rejoinBattle, - .updateAvatars, - .startPollingGetRaidDetails, - .playBattleIntro, - .leaveLobby, - .onPokemonInventoryOpened, - .onClickInventory, - .onTap, - .handleRaidBattleComplete, - ] -} - -extension ProgressTokenDataProto.GymRootControllerFunction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataProto.GymRootControllerFunction] = [ - .noneGymGymRootController, - .exitGymGymRootController, - ] -} - -extension ProgressTokenDataProto.RaidResolveUicontrollerFunction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataProto.RaidResolveUicontrollerFunction] = [ - .noneRaidResolveUiController, - .initRaidResolveUiController, - .closeRaidResolveUiController, - ] -} - -#endif // swift(>=4.2) - -public struct ProgressTokenDataV2 { - // 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. - - public var combatFunction: ProgressTokenDataV2.OneOf_CombatFunction? = nil - - public var combatActiveStateFunction: ProgressTokenDataV2.CombatActiveStateFunctionProto { - get { - if case .combatActiveStateFunction(let v)? = combatFunction {return v} - return .noneCombatActiveState - } - set {combatFunction = .combatActiveStateFunction(newValue)} - } - - public var combatEndStateFunction: ProgressTokenDataV2.CombatEndStateFunctionProto { - get { - if case .combatEndStateFunction(let v)? = combatFunction {return v} - return .noneCombatEndState - } - set {combatFunction = .combatEndStateFunction(newValue)} - } - - public var combatReadyStateFunction: ProgressTokenDataV2.CombatReadyStateFunctionProto { - get { - if case .combatReadyStateFunction(let v)? = combatFunction {return v} - return .noneCombatReadyState - } - set {combatFunction = .combatReadyStateFunction(newValue)} - } - - public var combatSwapStateFunction: ProgressTokenDataV2.CombatSwapStateFunctionProto { - get { - if case .combatSwapStateFunction(let v)? = combatFunction {return v} - return .noneCombatSwapState - } - set {combatFunction = .combatSwapStateFunction(newValue)} - } - - public var combatSpecialMoveStateFunction: ProgressTokenDataV2.CombatSpecialMoveStateFunctionProto { - get { - if case .combatSpecialMoveStateFunction(let v)? = combatFunction {return v} - return .noneCombatSpecialMoveState - } - set {combatFunction = .combatSpecialMoveStateFunction(newValue)} - } - - public var combatWaitForPlayerStateFunction: ProgressTokenDataV2.CombatWaitForPlayerStateFunctionProto { - get { - if case .combatWaitForPlayerStateFunction(let v)? = combatFunction {return v} - return .noneCombatWaitForPlayerState - } - set {combatFunction = .combatWaitForPlayerStateFunction(newValue)} - } - - public var combatPresentationDirectorFunction: ProgressTokenDataV2.CombatPresentationDirectorFunctionProto { - get { - if case .combatPresentationDirectorFunction(let v)? = combatFunction {return v} - return .noneCombatPresentationDirector - } - set {combatFunction = .combatPresentationDirectorFunction(newValue)} - } - - public var combatDirectorV2Function: ProgressTokenDataV2.CombatDirectorV2FunctionProto { - get { - if case .combatDirectorV2Function(let v)? = combatFunction {return v} - return .noneCombatDirectorV2 - } - set {combatFunction = .combatDirectorV2Function(newValue)} - } - - public var combatStateV2Function: ProgressTokenDataV2.CombatStateV2FunctionProto { - get { - if case .combatStateV2Function(let v)? = combatFunction {return v} - return .noneCombatStateV2 - } - set {combatFunction = .combatStateV2Function(newValue)} - } - - public var combatPokemonFunction: ProgressTokenDataV2.CombatPokemonFunctionProto { - get { - if case .combatPokemonFunction(let v)? = combatFunction {return v} - return .observeAction - } - set {combatFunction = .combatPokemonFunction(newValue)} - } - - public var obInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_CombatFunction: Equatable { - case combatActiveStateFunction(ProgressTokenDataV2.CombatActiveStateFunctionProto) - case combatEndStateFunction(ProgressTokenDataV2.CombatEndStateFunctionProto) - case combatReadyStateFunction(ProgressTokenDataV2.CombatReadyStateFunctionProto) - case combatSwapStateFunction(ProgressTokenDataV2.CombatSwapStateFunctionProto) - case combatSpecialMoveStateFunction(ProgressTokenDataV2.CombatSpecialMoveStateFunctionProto) - case combatWaitForPlayerStateFunction(ProgressTokenDataV2.CombatWaitForPlayerStateFunctionProto) - case combatPresentationDirectorFunction(ProgressTokenDataV2.CombatPresentationDirectorFunctionProto) - case combatDirectorV2Function(ProgressTokenDataV2.CombatDirectorV2FunctionProto) - case combatStateV2Function(ProgressTokenDataV2.CombatStateV2FunctionProto) - case combatPokemonFunction(ProgressTokenDataV2.CombatPokemonFunctionProto) - - #if !swift(>=4.1) - public static func ==(lhs: ProgressTokenDataV2.OneOf_CombatFunction, rhs: ProgressTokenDataV2.OneOf_CombatFunction) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.combatActiveStateFunction, .combatActiveStateFunction): return { - guard case .combatActiveStateFunction(let l) = lhs, case .combatActiveStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatEndStateFunction, .combatEndStateFunction): return { - guard case .combatEndStateFunction(let l) = lhs, case .combatEndStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatReadyStateFunction, .combatReadyStateFunction): return { - guard case .combatReadyStateFunction(let l) = lhs, case .combatReadyStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatSwapStateFunction, .combatSwapStateFunction): return { - guard case .combatSwapStateFunction(let l) = lhs, case .combatSwapStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatSpecialMoveStateFunction, .combatSpecialMoveStateFunction): return { - guard case .combatSpecialMoveStateFunction(let l) = lhs, case .combatSpecialMoveStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatWaitForPlayerStateFunction, .combatWaitForPlayerStateFunction): return { - guard case .combatWaitForPlayerStateFunction(let l) = lhs, case .combatWaitForPlayerStateFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatPresentationDirectorFunction, .combatPresentationDirectorFunction): return { - guard case .combatPresentationDirectorFunction(let l) = lhs, case .combatPresentationDirectorFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatDirectorV2Function, .combatDirectorV2Function): return { - guard case .combatDirectorV2Function(let l) = lhs, case .combatDirectorV2Function(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatStateV2Function, .combatStateV2Function): return { - guard case .combatStateV2Function(let l) = lhs, case .combatStateV2Function(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.combatPokemonFunction, .combatPokemonFunction): return { - guard case .combatPokemonFunction(let l) = lhs, case .combatPokemonFunction(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum CombatPokemonFunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case observeAction // = 0 - case executeAction // = 1 - case pauseUpdates // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .observeAction - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .observeAction - case 1: self = .executeAction - case 2: self = .pauseUpdates - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .observeAction: return 0 - case .executeAction: return 1 - case .pauseUpdates: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CombatSwapStateFunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneCombatSwapState // = 0 - case enterCombatSwapState // = 1 - case exitCombatSwapState // = 2 - case doWorkCombatSwapState // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .noneCombatSwapState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneCombatSwapState - case 1: self = .enterCombatSwapState - case 2: self = .exitCombatSwapState - case 3: self = .doWorkCombatSwapState - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneCombatSwapState: return 0 - case .enterCombatSwapState: return 1 - case .exitCombatSwapState: return 2 - case .doWorkCombatSwapState: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CombatStateV2FunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneCombatStateV2 // = 0 - case observeCombatState // = 1 - case delaySpecialTransition // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .noneCombatStateV2 - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneCombatStateV2 - case 1: self = .observeCombatState - case 2: self = .delaySpecialTransition - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneCombatStateV2: return 0 - case .observeCombatState: return 1 - case .delaySpecialTransition: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CombatSpecialMoveStateFunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneCombatSpecialMoveState // = 0 - case enterCombatSpecialMoveState // = 1 - case exitCombatSpecialMoveState // = 2 - case doWorkCombatSpecialMoveState // = 3 - case performFlyIn // = 4 - case performFlyOut // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .noneCombatSpecialMoveState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneCombatSpecialMoveState - case 1: self = .enterCombatSpecialMoveState - case 2: self = .exitCombatSpecialMoveState - case 3: self = .doWorkCombatSpecialMoveState - case 4: self = .performFlyIn - case 5: self = .performFlyOut - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneCombatSpecialMoveState: return 0 - case .enterCombatSpecialMoveState: return 1 - case .exitCombatSpecialMoveState: return 2 - case .doWorkCombatSpecialMoveState: return 3 - case .performFlyIn: return 4 - case .performFlyOut: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CombatActiveStateFunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneCombatActiveState // = 0 - case enterCombatActiveState // = 1 - case exitCombatActiveState // = 2 - case doWorkCombatActiveState // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .noneCombatActiveState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneCombatActiveState - case 1: self = .enterCombatActiveState - case 2: self = .exitCombatActiveState - case 3: self = .doWorkCombatActiveState - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneCombatActiveState: return 0 - case .enterCombatActiveState: return 1 - case .exitCombatActiveState: return 2 - case .doWorkCombatActiveState: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CombatReadyStateFunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneCombatReadyState // = 0 - case enterCombatReadyState // = 1 - case exitCombatReadyState // = 2 - case doWorkCombatReadyState // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .noneCombatReadyState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneCombatReadyState - case 1: self = .enterCombatReadyState - case 2: self = .exitCombatReadyState - case 3: self = .doWorkCombatReadyState - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneCombatReadyState: return 0 - case .enterCombatReadyState: return 1 - case .exitCombatReadyState: return 2 - case .doWorkCombatReadyState: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CombatEndStateFunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneCombatEndState // = 0 - case enterCombatEndState // = 1 - case exitCombatEndState // = 2 - case doWorkCombatEndState // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .noneCombatEndState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneCombatEndState - case 1: self = .enterCombatEndState - case 2: self = .exitCombatEndState - case 3: self = .doWorkCombatEndState - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneCombatEndState: return 0 - case .enterCombatEndState: return 1 - case .exitCombatEndState: return 2 - case .doWorkCombatEndState: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CombatDirectorV2FunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneCombatDirectorV2 // = 0 - case tryStartCombat // = 1 - case startCombatError // = 2 - case receiveCombatUpdate // = 3 - case tryFastAttack // = 4 - case swapPokemonTo // = 5 - case queueSpecialAttack // = 6 - case trySpecialAttack // = 7 - case tryExecuteBufferedAction // = 8 - case canActOnTurn // = 9 - case canPerformAttack // = 10 - case checkOpponentChargeMoveChance // = 11 - case UNRECOGNIZED(Int) - - public init() { - self = .noneCombatDirectorV2 - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneCombatDirectorV2 - case 1: self = .tryStartCombat - case 2: self = .startCombatError - case 3: self = .receiveCombatUpdate - case 4: self = .tryFastAttack - case 5: self = .swapPokemonTo - case 6: self = .queueSpecialAttack - case 7: self = .trySpecialAttack - case 8: self = .tryExecuteBufferedAction - case 9: self = .canActOnTurn - case 10: self = .canPerformAttack - case 11: self = .checkOpponentChargeMoveChance - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneCombatDirectorV2: return 0 - case .tryStartCombat: return 1 - case .startCombatError: return 2 - case .receiveCombatUpdate: return 3 - case .tryFastAttack: return 4 - case .swapPokemonTo: return 5 - case .queueSpecialAttack: return 6 - case .trySpecialAttack: return 7 - case .tryExecuteBufferedAction: return 8 - case .canActOnTurn: return 9 - case .canPerformAttack: return 10 - case .checkOpponentChargeMoveChance: return 11 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CombatWaitForPlayerStateFunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneCombatWaitForPlayerState // = 0 - case enterCombatWaitForPlayerState // = 1 - case exitCombatWaitForPlayerState // = 2 - case doWorkCombatWaitForPlayerState // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .noneCombatWaitForPlayerState - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneCombatWaitForPlayerState - case 1: self = .enterCombatWaitForPlayerState - case 2: self = .exitCombatWaitForPlayerState - case 3: self = .doWorkCombatWaitForPlayerState - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneCombatWaitForPlayerState: return 0 - case .enterCombatWaitForPlayerState: return 1 - case .exitCombatWaitForPlayerState: return 2 - case .doWorkCombatWaitForPlayerState: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CombatPresentationDirectorFunctionProto: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noneCombatPresentationDirector // = 0 - case playMiniGame // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .noneCombatPresentationDirector - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noneCombatPresentationDirector - case 1: self = .playMiniGame - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noneCombatPresentationDirector: return 0 - case .playMiniGame: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ProgressTokenDataV2.CombatPokemonFunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatPokemonFunctionProto] = [ - .observeAction, - .executeAction, - .pauseUpdates, - ] -} - -extension ProgressTokenDataV2.CombatSwapStateFunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatSwapStateFunctionProto] = [ - .noneCombatSwapState, - .enterCombatSwapState, - .exitCombatSwapState, - .doWorkCombatSwapState, - ] -} - -extension ProgressTokenDataV2.CombatStateV2FunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatStateV2FunctionProto] = [ - .noneCombatStateV2, - .observeCombatState, - .delaySpecialTransition, - ] -} - -extension ProgressTokenDataV2.CombatSpecialMoveStateFunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatSpecialMoveStateFunctionProto] = [ - .noneCombatSpecialMoveState, - .enterCombatSpecialMoveState, - .exitCombatSpecialMoveState, - .doWorkCombatSpecialMoveState, - .performFlyIn, - .performFlyOut, - ] -} - -extension ProgressTokenDataV2.CombatActiveStateFunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatActiveStateFunctionProto] = [ - .noneCombatActiveState, - .enterCombatActiveState, - .exitCombatActiveState, - .doWorkCombatActiveState, - ] -} - -extension ProgressTokenDataV2.CombatReadyStateFunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatReadyStateFunctionProto] = [ - .noneCombatReadyState, - .enterCombatReadyState, - .exitCombatReadyState, - .doWorkCombatReadyState, - ] -} - -extension ProgressTokenDataV2.CombatEndStateFunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatEndStateFunctionProto] = [ - .noneCombatEndState, - .enterCombatEndState, - .exitCombatEndState, - .doWorkCombatEndState, - ] -} - -extension ProgressTokenDataV2.CombatDirectorV2FunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatDirectorV2FunctionProto] = [ - .noneCombatDirectorV2, - .tryStartCombat, - .startCombatError, - .receiveCombatUpdate, - .tryFastAttack, - .swapPokemonTo, - .queueSpecialAttack, - .trySpecialAttack, - .tryExecuteBufferedAction, - .canActOnTurn, - .canPerformAttack, - .checkOpponentChargeMoveChance, - ] -} - -extension ProgressTokenDataV2.CombatWaitForPlayerStateFunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatWaitForPlayerStateFunctionProto] = [ - .noneCombatWaitForPlayerState, - .enterCombatWaitForPlayerState, - .exitCombatWaitForPlayerState, - .doWorkCombatWaitForPlayerState, - ] -} - -extension ProgressTokenDataV2.CombatPresentationDirectorFunctionProto: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProgressTokenDataV2.CombatPresentationDirectorFunctionProto] = [ - .noneCombatPresentationDirector, - .playMiniGame, - ] -} - -#endif // swift(>=4.2) - -public struct ProjectVacationProto { - // 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. - - public var enable2020: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProvisionedAppleTransactionProto { - // 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. - - public var status: ProvisionedAppleTransactionProto.Status = .unset - - public var transactionToken: String = String() - - public var productID: String = String() - - public var isSubscription: Bool = false - - public var currencyCode: String = String() - - public var pricePaid: Int64 = 0 - - public var purchaseTimeMs: Int64 = 0 - - public var subscriptionReceiptID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case unprocessed // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - case 3: self = .unprocessed - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .unprocessed: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ProvisionedAppleTransactionProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProvisionedAppleTransactionProto.Status] = [ - .unset, - .success, - .failure, - .unprocessed, - ] -} - -#endif // swift(>=4.2) - -public struct ProximityContact { - // 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. - - public var proximityToken: ProximityToken { - get {return _proximityToken ?? ProximityToken()} - set {_proximityToken = newValue} - } - /// Returns true if `proximityToken` has been explicitly set. - public var hasProximityToken: Bool {return self._proximityToken != nil} - /// Clears the value of `proximityToken`. Subsequent reads from it will return its default value. - public mutating func clearProximityToken() {self._proximityToken = nil} - - public var timestampMs: Int64 = 0 - - public var latitudeDeg: Double = 0 - - public var longitudeDeg: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _proximityToken: ProximityToken? = nil -} - -public struct ProximityToken { - // 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. - - public var token: Data = Data() - - public var startTimeMs: Int64 = 0 - - public var expirationTimeMs: Int64 = 0 - - public var iv: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProximityTokenInternal { - // 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. - - public var playerID: String = String() - - public var startTimeMs: Int64 = 0 - - public var expirationTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProxyRequestProto { - // 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. - - public var action: UInt32 = 0 - - public var host: String = String() - - public var payload: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ProxyResponseProto { - // 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. - - public var status: ProxyResponseProto.Status = .unset - - public var assignedHost: String = String() - - public var payload: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case completed // = 1 - case completedAndReassigned // = 2 - case actionNotFound // = 3 - case assignmentError // = 4 - case proxyUnauthorizedError // = 5 - case internalError // = 6 - case badRequest // = 7 - case accessDenied // = 8 - case timeoutError // = 9 - case rateLimited // = 10 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .completed - case 2: self = .completedAndReassigned - case 3: self = .actionNotFound - case 4: self = .assignmentError - case 5: self = .proxyUnauthorizedError - case 6: self = .internalError - case 7: self = .badRequest - case 8: self = .accessDenied - case 9: self = .timeoutError - case 10: self = .rateLimited - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .completed: return 1 - case .completedAndReassigned: return 2 - case .actionNotFound: return 3 - case .assignmentError: return 4 - case .proxyUnauthorizedError: return 5 - case .internalError: return 6 - case .badRequest: return 7 - case .accessDenied: return 8 - case .timeoutError: return 9 - case .rateLimited: return 10 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ProxyResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ProxyResponseProto.Status] = [ - .unset, - .completed, - .completedAndReassigned, - .actionNotFound, - .assignmentError, - .proxyUnauthorizedError, - .internalError, - .badRequest, - .accessDenied, - .timeoutError, - .rateLimited, - ] -} - -#endif // swift(>=4.2) - -public struct PtcToken { - // 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. - - public var token: String = String() - - public var expiration: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PurchaseSkuOutProto { - // 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. - - /// repeated bytes added_inventory_item = 2; - /// repeated CurrencyUpdateProto currency_update = 3; - public var status: PurchaseSkuOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case balanceTooLow // = 3 - case skuNotAvailable // = 4 - case overInventoryLimit // = 5 - case offerNotAvailable // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - case 3: self = .balanceTooLow - case 4: self = .skuNotAvailable - case 5: self = .overInventoryLimit - case 6: self = .offerNotAvailable - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .balanceTooLow: return 3 - case .skuNotAvailable: return 4 - case .overInventoryLimit: return 5 - case .offerNotAvailable: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension PurchaseSkuOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PurchaseSkuOutProto.Status] = [ - .unset, - .success, - .failure, - .balanceTooLow, - .skuNotAvailable, - .overInventoryLimit, - .offerNotAvailable, - ] -} - -#endif // swift(>=4.2) - -public struct PurchaseSkuProto { - // 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. - - public var skuID: String = String() - - public var offerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PurifyPokemonLogEntry { - // 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. - - public var pokemonID: HoloPokemonId = .missingno - - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - - public var purifiedPokemonUuid: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil -} - -public struct PurifyPokemonOutProto { - // 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. - - public var status: PurifyPokemonOutProto.Status = .unset - - public var purifiedPokemon: PokemonProto { - get {return _purifiedPokemon ?? PokemonProto()} - set {_purifiedPokemon = newValue} - } - /// Returns true if `purifiedPokemon` has been explicitly set. - public var hasPurifiedPokemon: Bool {return self._purifiedPokemon != nil} - /// Clears the value of `purifiedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearPurifiedPokemon() {self._purifiedPokemon = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInsufficientFunds // = 3 - case errorPokemonDeployed // = 4 - case errorPokemonNotFound // = 5 - case errorPokemonNotShadow // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 3: self = .errorInsufficientFunds - case 4: self = .errorPokemonDeployed - case 5: self = .errorPokemonNotFound - case 6: self = .errorPokemonNotShadow - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInsufficientFunds: return 3 - case .errorPokemonDeployed: return 4 - case .errorPokemonNotFound: return 5 - case .errorPokemonNotShadow: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _purifiedPokemon: PokemonProto? = nil -} - -#if swift(>=4.2) - -extension PurifyPokemonOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PurifyPokemonOutProto.Status] = [ - .unset, - .success, - .errorInsufficientFunds, - .errorPokemonDeployed, - .errorPokemonNotFound, - .errorPokemonNotShadow, - ] -} - -#endif // swift(>=4.2) - -public struct PurifyPokemonProto { - // 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. - - public var pokemonID: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PushGateWaySettingsProto { - // 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. - - public var enabled: Bool = false - - public var obNewGlobalSettingBool2: Bool = false - - public var gatewayHost: String = String() - - public var obNewGlobalSettingBool3: Bool = false - - public var obNewGlobalSettingInt32: Int32 = 0 - - public var obNewGlobalSettingFloat: Float = 0 - - public var path: String = String() - - public var obNewGlobalSettingInt321: Int32 = 0 - - public var obString: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PushGatewaySettings { - // 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. - - public var pushGatewayMinLevel1: Int32 = 0 - - public var pushGatewayMinLevel2: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PushGatewayTelemetry { - // 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. - - public var pushGatewayTelemetryID: PushGatewayTelemetryIds = .undefinedPushGatewayEvent - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PushGatewayUpstreamErrorTelemetry { - // 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. - - public var upstreamResponseStatus: Int32 = 0 - - public var tokenExpireTimestamp: Int64 = 0 - - public var clientTimestamp: Int64 = 0 - - public var serverTimestamp: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct PushNotificationRegistryOutProto { - // 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. - - public var result: PushNotificationRegistryOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case noChange // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .noChange - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .noChange: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension PushNotificationRegistryOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [PushNotificationRegistryOutProto.Result] = [ - .unset, - .success, - .noChange, - ] -} - -#endif // swift(>=4.2) - -public struct PushNotificationRegistryProto { - // 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. - - public var apnToken: ApnToken { - get {return _apnToken ?? ApnToken()} - set {_apnToken = newValue} - } - /// Returns true if `apnToken` has been explicitly set. - public var hasApnToken: Bool {return self._apnToken != nil} - /// Clears the value of `apnToken`. Subsequent reads from it will return its default value. - public mutating func clearApnToken() {self._apnToken = nil} - - public var gcmToken: GcmToken { - get {return _gcmToken ?? GcmToken()} - set {_gcmToken = newValue} - } - /// Returns true if `gcmToken` has been explicitly set. - public var hasGcmToken: Bool {return self._gcmToken != nil} - /// Clears the value of `gcmToken`. Subsequent reads from it will return its default value. - public mutating func clearGcmToken() {self._gcmToken = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _apnToken: ApnToken? = nil - fileprivate var _gcmToken: GcmToken? = nil -} - -public struct PushNotificationTelemetry { - // 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. - - public var notificationID: PushNotificationTelemetryIds = .undefinedPushNotificationEvent - - public var category: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct Quaternion { - // 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. - - public var x: Float = 0 - - public var y: Float = 0 - - public var z: Float = 0 - - public var w: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestBranchDisplayProto { - // 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. - - public var titleKey: String = String() - - public var descriptionKey: String = String() - - public var imageURL: String = String() - - public var buttonBackgroundColor: String = String() - - public var buttonTextKey: String = String() - - public var buttonBackgroundImageURL: String = String() - - public var buttonTextColor: String = String() - - public var buttonTextOffset: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestBranchRewardProto { - // 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. - - public var rewards: [QuestRewardProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestConditionProto { - // 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. - - public var condition: QuestConditionProto.OneOf_Condition? = nil - - public var withPokemonType: WithPokemonTypeProto { - get { - if case .withPokemonType(let v)? = condition {return v} - return WithPokemonTypeProto() - } - set {condition = .withPokemonType(newValue)} - } - - public var withPokemonCategory: WithPokemonCategoryProto { - get { - if case .withPokemonCategory(let v)? = condition {return v} - return WithPokemonCategoryProto() - } - set {condition = .withPokemonCategory(newValue)} - } - - public var withWeatherBoost: WithWeatherBoostProto { - get { - if case .withWeatherBoost(let v)? = condition {return v} - return WithWeatherBoostProto() - } - set {condition = .withWeatherBoost(newValue)} - } - - public var withDailyCaptureBonus: WithDailyCaptureBonusProto { - get { - if case .withDailyCaptureBonus(let v)? = condition {return v} - return WithDailyCaptureBonusProto() - } - set {condition = .withDailyCaptureBonus(newValue)} - } - - public var withDailySpinBonus: WithDailySpinBonusProto { - get { - if case .withDailySpinBonus(let v)? = condition {return v} - return WithDailySpinBonusProto() - } - set {condition = .withDailySpinBonus(newValue)} - } - - public var withWinRaidStatus: WithWinRaidStatusProto { - get { - if case .withWinRaidStatus(let v)? = condition {return v} - return WithWinRaidStatusProto() - } - set {condition = .withWinRaidStatus(newValue)} - } - - public var withRaidLevel: WithRaidLevelProto { - get { - if case .withRaidLevel(let v)? = condition {return v} - return WithRaidLevelProto() - } - set {condition = .withRaidLevel(newValue)} - } - - public var withThrowType: WithThrowTypeProto { - get { - if case .withThrowType(let v)? = condition {return v} - return WithThrowTypeProto() - } - set {condition = .withThrowType(newValue)} - } - - public var withWinGymBattleStatus: WithWinGymBattleStatusProto { - get { - if case .withWinGymBattleStatus(let v)? = condition {return v} - return WithWinGymBattleStatusProto() - } - set {condition = .withWinGymBattleStatus(newValue)} - } - - public var withSuperEffectiveChargeMove: WithSuperEffectiveChargeMoveProto { - get { - if case .withSuperEffectiveChargeMove(let v)? = condition {return v} - return WithSuperEffectiveChargeMoveProto() - } - set {condition = .withSuperEffectiveChargeMove(newValue)} - } - - public var withItem: WithItemProto { - get { - if case .withItem(let v)? = condition {return v} - return WithItemProto() - } - set {condition = .withItem(newValue)} - } - - public var withUniquePokestop: WithUniquePokestopProto { - get { - if case .withUniquePokestop(let v)? = condition {return v} - return WithUniquePokestopProto() - } - set {condition = .withUniquePokestop(newValue)} - } - - public var withQuestContext: WithQuestContextProto { - get { - if case .withQuestContext(let v)? = condition {return v} - return WithQuestContextProto() - } - set {condition = .withQuestContext(newValue)} - } - - public var withBadgeType: WithBadgeTypeProto { - get { - if case .withBadgeType(let v)? = condition {return v} - return WithBadgeTypeProto() - } - set {condition = .withBadgeType(newValue)} - } - - public var withPlayerLevel: WithPlayerLevelProto { - get { - if case .withPlayerLevel(let v)? = condition {return v} - return WithPlayerLevelProto() - } - set {condition = .withPlayerLevel(newValue)} - } - - public var withWinBattleStatus: WithWinBattleStatusProto { - get { - if case .withWinBattleStatus(let v)? = condition {return v} - return WithWinBattleStatusProto() - } - set {condition = .withWinBattleStatus(newValue)} - } - - public var withUniquePokemon: WithUniquePokemonProto { - get { - if case .withUniquePokemon(let v)? = condition {return v} - return WithUniquePokemonProto() - } - set {condition = .withUniquePokemon(newValue)} - } - - public var withNpcCombat: WithNpcCombatProto { - get { - if case .withNpcCombat(let v)? = condition {return v} - return WithNpcCombatProto() - } - set {condition = .withNpcCombat(newValue)} - } - - public var withPvpCombat: WithPvpCombatProto { - get { - if case .withPvpCombat(let v)? = condition {return v} - return WithPvpCombatProto() - } - set {condition = .withPvpCombat(newValue)} - } - - public var withLocation: WithLocationProto { - get { - if case .withLocation(let v)? = condition {return v} - return WithLocationProto() - } - set {condition = .withLocation(newValue)} - } - - public var withDistance: WithDistanceProto { - get { - if case .withDistance(let v)? = condition {return v} - return WithDistanceProto() - } - set {condition = .withDistance(newValue)} - } - - public var withInvasionCharacter: WithInvasionCharacterProto { - get { - if case .withInvasionCharacter(let v)? = condition {return v} - return WithInvasionCharacterProto() - } - set {condition = .withInvasionCharacter(newValue)} - } - - public var withPokemonAlignment: WithPokemonAlignmentProto { - get { - if case .withPokemonAlignment(let v)? = condition {return v} - return WithPokemonAlignmentProto() - } - set {condition = .withPokemonAlignment(newValue)} - } - - public var withBuddy: WithBuddyProto { - get { - if case .withBuddy(let v)? = condition {return v} - return WithBuddyProto() - } - set {condition = .withBuddy(newValue)} - } - - public var withDailyBuddyAffection: WithDailyBuddyAffectionProto { - get { - if case .withDailyBuddyAffection(let v)? = condition {return v} - return WithDailyBuddyAffectionProto() - } - set {condition = .withDailyBuddyAffection(newValue)} - } - - public var withPokemonLevel: WithPokemonLevelProto { - get { - if case .withPokemonLevel(let v)? = condition {return v} - return WithPokemonLevelProto() - } - set {condition = .withPokemonLevel(newValue)} - } - - public var withMaxCp: WithMaxCpProto { - get { - if case .withMaxCp(let v)? = condition {return v} - return WithMaxCpProto() - } - set {condition = .withMaxCp(newValue)} - } - - public var withTempEvoID: WithTempEvoIdProto { - get { - if case .withTempEvoID(let v)? = condition {return v} - return WithTempEvoIdProto() - } - set {condition = .withTempEvoID(newValue)} - } - - public var withGblRank: WithGblRankProto { - get { - if case .withGblRank(let v)? = condition {return v} - return WithGblRankProto() - } - set {condition = .withGblRank(newValue)} - } - - public var withEncounterType: WithEncounterTypeProto { - get { - if case .withEncounterType(let v)? = condition {return v} - return WithEncounterTypeProto() - } - set {condition = .withEncounterType(newValue)} - } - - public var withCombatType: WithCombatTypeProto { - get { - if case .withCombatType(let v)? = condition {return v} - return WithCombatTypeProto() - } - set {condition = .withCombatType(newValue)} - } - - public var withItemType: WithItemTypeProto { - get { - if case .withItemType(let v)? = condition {return v} - return WithItemTypeProto() - } - set {condition = .withItemType(newValue)} - } - - public var withElapsedTime: WithElapsedTimeProto { - get { - if case .withElapsedTime(let v)? = condition {return v} - return WithElapsedTimeProto() - } - set {condition = .withElapsedTime(newValue)} - } - - public var withFriendLevel: WithFriendLevelProto { - get { - if case .withFriendLevel(let v)? = condition {return v} - return WithFriendLevelProto() - } - set {condition = .withFriendLevel(newValue)} - } - - public var withPokemonCp: WithPokemonCpProto { - get { - if case .withPokemonCp(let v)? = condition {return v} - return WithPokemonCpProto() - } - set {condition = .withPokemonCp(newValue)} - } - - public var withRaidLocation: WithRaidLocationProto { - get { - if case .withRaidLocation(let v)? = condition {return v} - return WithRaidLocationProto() - } - set {condition = .withRaidLocation(newValue)} - } - - public var withFriendsRaid: WithFriendsRaidProto { - get { - if case .withFriendsRaid(let v)? = condition {return v} - return WithFriendsRaidProto() - } - set {condition = .withFriendsRaid(newValue)} - } - - public var withPokemonCostume: WithPokemonCostumeProto { - get { - if case .withPokemonCostume(let v)? = condition {return v} - return WithPokemonCostumeProto() - } - set {condition = .withPokemonCostume(newValue)} - } - - public var withPokemonSize: WithPokemonSizeProto { - get { - if case .withPokemonSize(let v)? = condition {return v} - return WithPokemonSizeProto() - } - set {condition = .withPokemonSize(newValue)} - } - - public var withDeviceType: WithDeviceTypeProto { - get { - if case .withDeviceType(let v)? = condition {return v} - return WithDeviceTypeProto() - } - set {condition = .withDeviceType(newValue)} - } - - public var withRouteTravel: WithRouteTravelProto { - get { - if case .withRouteTravel(let v)? = condition {return v} - return WithRouteTravelProto() - } - set {condition = .withRouteTravel(newValue)} - } - - public var withUniqueRoute: WithUniqueRouteTravelProto { - get { - if case .withUniqueRoute(let v)? = condition {return v} - return WithUniqueRouteTravelProto() - } - set {condition = .withUniqueRoute(newValue)} - } - - public var withTappableType: WithTappableTypeProto { - get { - if case .withTappableType(let v)? = condition {return v} - return WithTappableTypeProto() - } - set {condition = .withTappableType(newValue)} - } - - public var type: QuestConditionProto.ConditionType = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Condition: Equatable { - case withPokemonType(WithPokemonTypeProto) - case withPokemonCategory(WithPokemonCategoryProto) - case withWeatherBoost(WithWeatherBoostProto) - case withDailyCaptureBonus(WithDailyCaptureBonusProto) - case withDailySpinBonus(WithDailySpinBonusProto) - case withWinRaidStatus(WithWinRaidStatusProto) - case withRaidLevel(WithRaidLevelProto) - case withThrowType(WithThrowTypeProto) - case withWinGymBattleStatus(WithWinGymBattleStatusProto) - case withSuperEffectiveChargeMove(WithSuperEffectiveChargeMoveProto) - case withItem(WithItemProto) - case withUniquePokestop(WithUniquePokestopProto) - case withQuestContext(WithQuestContextProto) - case withBadgeType(WithBadgeTypeProto) - case withPlayerLevel(WithPlayerLevelProto) - case withWinBattleStatus(WithWinBattleStatusProto) - case withUniquePokemon(WithUniquePokemonProto) - case withNpcCombat(WithNpcCombatProto) - case withPvpCombat(WithPvpCombatProto) - case withLocation(WithLocationProto) - case withDistance(WithDistanceProto) - case withInvasionCharacter(WithInvasionCharacterProto) - case withPokemonAlignment(WithPokemonAlignmentProto) - case withBuddy(WithBuddyProto) - case withDailyBuddyAffection(WithDailyBuddyAffectionProto) - case withPokemonLevel(WithPokemonLevelProto) - case withMaxCp(WithMaxCpProto) - case withTempEvoID(WithTempEvoIdProto) - case withGblRank(WithGblRankProto) - case withEncounterType(WithEncounterTypeProto) - case withCombatType(WithCombatTypeProto) - case withItemType(WithItemTypeProto) - case withElapsedTime(WithElapsedTimeProto) - case withFriendLevel(WithFriendLevelProto) - case withPokemonCp(WithPokemonCpProto) - case withRaidLocation(WithRaidLocationProto) - case withFriendsRaid(WithFriendsRaidProto) - case withPokemonCostume(WithPokemonCostumeProto) - case withPokemonSize(WithPokemonSizeProto) - case withDeviceType(WithDeviceTypeProto) - case withRouteTravel(WithRouteTravelProto) - case withUniqueRoute(WithUniqueRouteTravelProto) - case withTappableType(WithTappableTypeProto) - - #if !swift(>=4.1) - public static func ==(lhs: QuestConditionProto.OneOf_Condition, rhs: QuestConditionProto.OneOf_Condition) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.withPokemonType, .withPokemonType): return { - guard case .withPokemonType(let l) = lhs, case .withPokemonType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonCategory, .withPokemonCategory): return { - guard case .withPokemonCategory(let l) = lhs, case .withPokemonCategory(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withWeatherBoost, .withWeatherBoost): return { - guard case .withWeatherBoost(let l) = lhs, case .withWeatherBoost(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withDailyCaptureBonus, .withDailyCaptureBonus): return { - guard case .withDailyCaptureBonus(let l) = lhs, case .withDailyCaptureBonus(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withDailySpinBonus, .withDailySpinBonus): return { - guard case .withDailySpinBonus(let l) = lhs, case .withDailySpinBonus(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withWinRaidStatus, .withWinRaidStatus): return { - guard case .withWinRaidStatus(let l) = lhs, case .withWinRaidStatus(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withRaidLevel, .withRaidLevel): return { - guard case .withRaidLevel(let l) = lhs, case .withRaidLevel(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withThrowType, .withThrowType): return { - guard case .withThrowType(let l) = lhs, case .withThrowType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withWinGymBattleStatus, .withWinGymBattleStatus): return { - guard case .withWinGymBattleStatus(let l) = lhs, case .withWinGymBattleStatus(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withSuperEffectiveChargeMove, .withSuperEffectiveChargeMove): return { - guard case .withSuperEffectiveChargeMove(let l) = lhs, case .withSuperEffectiveChargeMove(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withItem, .withItem): return { - guard case .withItem(let l) = lhs, case .withItem(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withUniquePokestop, .withUniquePokestop): return { - guard case .withUniquePokestop(let l) = lhs, case .withUniquePokestop(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withQuestContext, .withQuestContext): return { - guard case .withQuestContext(let l) = lhs, case .withQuestContext(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withBadgeType, .withBadgeType): return { - guard case .withBadgeType(let l) = lhs, case .withBadgeType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPlayerLevel, .withPlayerLevel): return { - guard case .withPlayerLevel(let l) = lhs, case .withPlayerLevel(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withWinBattleStatus, .withWinBattleStatus): return { - guard case .withWinBattleStatus(let l) = lhs, case .withWinBattleStatus(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withUniquePokemon, .withUniquePokemon): return { - guard case .withUniquePokemon(let l) = lhs, case .withUniquePokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withNpcCombat, .withNpcCombat): return { - guard case .withNpcCombat(let l) = lhs, case .withNpcCombat(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPvpCombat, .withPvpCombat): return { - guard case .withPvpCombat(let l) = lhs, case .withPvpCombat(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withLocation, .withLocation): return { - guard case .withLocation(let l) = lhs, case .withLocation(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withDistance, .withDistance): return { - guard case .withDistance(let l) = lhs, case .withDistance(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withInvasionCharacter, .withInvasionCharacter): return { - guard case .withInvasionCharacter(let l) = lhs, case .withInvasionCharacter(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonAlignment, .withPokemonAlignment): return { - guard case .withPokemonAlignment(let l) = lhs, case .withPokemonAlignment(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withBuddy, .withBuddy): return { - guard case .withBuddy(let l) = lhs, case .withBuddy(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withDailyBuddyAffection, .withDailyBuddyAffection): return { - guard case .withDailyBuddyAffection(let l) = lhs, case .withDailyBuddyAffection(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonLevel, .withPokemonLevel): return { - guard case .withPokemonLevel(let l) = lhs, case .withPokemonLevel(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withMaxCp, .withMaxCp): return { - guard case .withMaxCp(let l) = lhs, case .withMaxCp(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withTempEvoID, .withTempEvoID): return { - guard case .withTempEvoID(let l) = lhs, case .withTempEvoID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withGblRank, .withGblRank): return { - guard case .withGblRank(let l) = lhs, case .withGblRank(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withEncounterType, .withEncounterType): return { - guard case .withEncounterType(let l) = lhs, case .withEncounterType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withCombatType, .withCombatType): return { - guard case .withCombatType(let l) = lhs, case .withCombatType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withItemType, .withItemType): return { - guard case .withItemType(let l) = lhs, case .withItemType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withElapsedTime, .withElapsedTime): return { - guard case .withElapsedTime(let l) = lhs, case .withElapsedTime(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withFriendLevel, .withFriendLevel): return { - guard case .withFriendLevel(let l) = lhs, case .withFriendLevel(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonCp, .withPokemonCp): return { - guard case .withPokemonCp(let l) = lhs, case .withPokemonCp(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withRaidLocation, .withRaidLocation): return { - guard case .withRaidLocation(let l) = lhs, case .withRaidLocation(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withFriendsRaid, .withFriendsRaid): return { - guard case .withFriendsRaid(let l) = lhs, case .withFriendsRaid(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonCostume, .withPokemonCostume): return { - guard case .withPokemonCostume(let l) = lhs, case .withPokemonCostume(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withPokemonSize, .withPokemonSize): return { - guard case .withPokemonSize(let l) = lhs, case .withPokemonSize(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withDeviceType, .withDeviceType): return { - guard case .withDeviceType(let l) = lhs, case .withDeviceType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withRouteTravel, .withRouteTravel): return { - guard case .withRouteTravel(let l) = lhs, case .withRouteTravel(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withUniqueRoute, .withUniqueRoute): return { - guard case .withUniqueRoute(let l) = lhs, case .withUniqueRoute(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.withTappableType, .withTappableType): return { - guard case .withTappableType(let l) = lhs, case .withTappableType(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum ConditionType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case withPokemonType // = 1 - case withPokemonCategory // = 2 - case withWeatherBoost // = 3 - case withDailyCaptureBonus // = 4 - case withDailySpinBonus // = 5 - case withWinRaidStatus // = 6 - case withRaidLevel // = 7 - case withThrowType // = 8 - case withWinGymBattleStatus // = 9 - case withSuperEffectiveCharge // = 10 - case withItem // = 11 - case withUniquePokestop // = 12 - case withQuestContext // = 13 - case withThrowTypeInARow // = 14 - case withCurveBall // = 15 - case withBadgeType // = 16 - case withPlayerLevel // = 17 - case withWinBattleStatus // = 18 - case withNewFriend // = 19 - case withDaysInARow // = 20 - case withUniquePokemon // = 21 - case withNpcCombat // = 22 - case withPvpCombat // = 23 - case withLocation // = 24 - case withDistance // = 25 - case withPokemonAlignment // = 26 - case withInvasionCharacter // = 27 - case withBuddy // = 28 - case withBuddyInterestingPoi // = 29 - case withDailyBuddyAffection // = 30 - case withPokemonLevel // = 31 - case withSingleDay // = 32 - case withUniquePokemonTeam // = 33 - case withMaxCp // = 34 - case withLuckyPokemon // = 35 - case withLegendaryPokemon // = 36 - case withTempEvoPokemon // = 37 - case withGblRank // = 38 - case withCatchesInARow // = 39 - case withEncounterType // = 40 - case withCombatType // = 41 - case withGeotargetedPoi // = 42 - case withItemType // = 43 - case withRaidElapsedTime // = 44 - case withFriendLevel // = 45 - case withSticker // = 46 - case withPokemonCp // = 47 - case withRaidLocation // = 48 - case withFriendsRaid // = 49 - case withPokemonCostume // = 50 - case withAppliedItem // = 51 - case withPokemonSize // = 52 - case withTotalDays // = 53 - case withDeviceType // = 54 - case withRouteTravel // = 55 - case withUniqueRouteTravel // = 56 - case withTappableType // = 57 - case withInParty // = 58 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .withPokemonType - case 2: self = .withPokemonCategory - case 3: self = .withWeatherBoost - case 4: self = .withDailyCaptureBonus - case 5: self = .withDailySpinBonus - case 6: self = .withWinRaidStatus - case 7: self = .withRaidLevel - case 8: self = .withThrowType - case 9: self = .withWinGymBattleStatus - case 10: self = .withSuperEffectiveCharge - case 11: self = .withItem - case 12: self = .withUniquePokestop - case 13: self = .withQuestContext - case 14: self = .withThrowTypeInARow - case 15: self = .withCurveBall - case 16: self = .withBadgeType - case 17: self = .withPlayerLevel - case 18: self = .withWinBattleStatus - case 19: self = .withNewFriend - case 20: self = .withDaysInARow - case 21: self = .withUniquePokemon - case 22: self = .withNpcCombat - case 23: self = .withPvpCombat - case 24: self = .withLocation - case 25: self = .withDistance - case 26: self = .withPokemonAlignment - case 27: self = .withInvasionCharacter - case 28: self = .withBuddy - case 29: self = .withBuddyInterestingPoi - case 30: self = .withDailyBuddyAffection - case 31: self = .withPokemonLevel - case 32: self = .withSingleDay - case 33: self = .withUniquePokemonTeam - case 34: self = .withMaxCp - case 35: self = .withLuckyPokemon - case 36: self = .withLegendaryPokemon - case 37: self = .withTempEvoPokemon - case 38: self = .withGblRank - case 39: self = .withCatchesInARow - case 40: self = .withEncounterType - case 41: self = .withCombatType - case 42: self = .withGeotargetedPoi - case 43: self = .withItemType - case 44: self = .withRaidElapsedTime - case 45: self = .withFriendLevel - case 46: self = .withSticker - case 47: self = .withPokemonCp - case 48: self = .withRaidLocation - case 49: self = .withFriendsRaid - case 50: self = .withPokemonCostume - case 51: self = .withAppliedItem - case 52: self = .withPokemonSize - case 53: self = .withTotalDays - case 54: self = .withDeviceType - case 55: self = .withRouteTravel - case 56: self = .withUniqueRouteTravel - case 57: self = .withTappableType - case 58: self = .withInParty - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .withPokemonType: return 1 - case .withPokemonCategory: return 2 - case .withWeatherBoost: return 3 - case .withDailyCaptureBonus: return 4 - case .withDailySpinBonus: return 5 - case .withWinRaidStatus: return 6 - case .withRaidLevel: return 7 - case .withThrowType: return 8 - case .withWinGymBattleStatus: return 9 - case .withSuperEffectiveCharge: return 10 - case .withItem: return 11 - case .withUniquePokestop: return 12 - case .withQuestContext: return 13 - case .withThrowTypeInARow: return 14 - case .withCurveBall: return 15 - case .withBadgeType: return 16 - case .withPlayerLevel: return 17 - case .withWinBattleStatus: return 18 - case .withNewFriend: return 19 - case .withDaysInARow: return 20 - case .withUniquePokemon: return 21 - case .withNpcCombat: return 22 - case .withPvpCombat: return 23 - case .withLocation: return 24 - case .withDistance: return 25 - case .withPokemonAlignment: return 26 - case .withInvasionCharacter: return 27 - case .withBuddy: return 28 - case .withBuddyInterestingPoi: return 29 - case .withDailyBuddyAffection: return 30 - case .withPokemonLevel: return 31 - case .withSingleDay: return 32 - case .withUniquePokemonTeam: return 33 - case .withMaxCp: return 34 - case .withLuckyPokemon: return 35 - case .withLegendaryPokemon: return 36 - case .withTempEvoPokemon: return 37 - case .withGblRank: return 38 - case .withCatchesInARow: return 39 - case .withEncounterType: return 40 - case .withCombatType: return 41 - case .withGeotargetedPoi: return 42 - case .withItemType: return 43 - case .withRaidElapsedTime: return 44 - case .withFriendLevel: return 45 - case .withSticker: return 46 - case .withPokemonCp: return 47 - case .withRaidLocation: return 48 - case .withFriendsRaid: return 49 - case .withPokemonCostume: return 50 - case .withAppliedItem: return 51 - case .withPokemonSize: return 52 - case .withTotalDays: return 53 - case .withDeviceType: return 54 - case .withRouteTravel: return 55 - case .withUniqueRouteTravel: return 56 - case .withTappableType: return 57 - case .withInParty: return 58 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension QuestConditionProto.ConditionType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestConditionProto.ConditionType] = [ - .unset, - .withPokemonType, - .withPokemonCategory, - .withWeatherBoost, - .withDailyCaptureBonus, - .withDailySpinBonus, - .withWinRaidStatus, - .withRaidLevel, - .withThrowType, - .withWinGymBattleStatus, - .withSuperEffectiveCharge, - .withItem, - .withUniquePokestop, - .withQuestContext, - .withThrowTypeInARow, - .withCurveBall, - .withBadgeType, - .withPlayerLevel, - .withWinBattleStatus, - .withNewFriend, - .withDaysInARow, - .withUniquePokemon, - .withNpcCombat, - .withPvpCombat, - .withLocation, - .withDistance, - .withPokemonAlignment, - .withInvasionCharacter, - .withBuddy, - .withBuddyInterestingPoi, - .withDailyBuddyAffection, - .withPokemonLevel, - .withSingleDay, - .withUniquePokemonTeam, - .withMaxCp, - .withLuckyPokemon, - .withLegendaryPokemon, - .withTempEvoPokemon, - .withGblRank, - .withCatchesInARow, - .withEncounterType, - .withCombatType, - .withGeotargetedPoi, - .withItemType, - .withRaidElapsedTime, - .withFriendLevel, - .withSticker, - .withPokemonCp, - .withRaidLocation, - .withFriendsRaid, - .withPokemonCostume, - .withAppliedItem, - .withPokemonSize, - .withTotalDays, - .withDeviceType, - .withRouteTravel, - .withUniqueRouteTravel, - .withTappableType, - .withInParty, - ] -} - -#endif // swift(>=4.2) - -public struct QuestCreateDetail { - // 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. - - public var origin: EncounterType = .spawnPoint - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestDialogProto { - // 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. - - public var text: String = String() - - public var expression: QuestDialogProto.CharacterExpression = .expressionUnset - - public var imageUri: String = String() - - public var character: QuestDialogProto.Character = .unset - - public var characterOffset: [Float] = [] - - public var textBackgroundColor: String = String() - - public var characterTint: String = String() - - public var questMusicOverrideKey: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Character: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case professorWillow // = 1 - case specialGuest1 // = 2 - case specialGuest2 // = 3 - case specialGuest3 // = 4 - case specialGuest4 // = 5 - case specialGuest5 // = 6 - case specialGuestRhi // = 7 - case specialGuestRhi2 // = 8 - case specialGuestExecblue // = 9 - case specialGuestExecred // = 10 - case specialGuestExecyellow // = 11 - case specialGuestMystic // = 12 - case specialGuestValor // = 13 - case specialGuestInstinct // = 14 - case specialGuestTraveler // = 15 - case specialGuestExplorer // = 16 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .professorWillow - case 2: self = .specialGuest1 - case 3: self = .specialGuest2 - case 4: self = .specialGuest3 - case 5: self = .specialGuest4 - case 6: self = .specialGuest5 - case 7: self = .specialGuestRhi - case 8: self = .specialGuestRhi2 - case 9: self = .specialGuestExecblue - case 10: self = .specialGuestExecred - case 11: self = .specialGuestExecyellow - case 12: self = .specialGuestMystic - case 13: self = .specialGuestValor - case 14: self = .specialGuestInstinct - case 15: self = .specialGuestTraveler - case 16: self = .specialGuestExplorer - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .professorWillow: return 1 - case .specialGuest1: return 2 - case .specialGuest2: return 3 - case .specialGuest3: return 4 - case .specialGuest4: return 5 - case .specialGuest5: return 6 - case .specialGuestRhi: return 7 - case .specialGuestRhi2: return 8 - case .specialGuestExecblue: return 9 - case .specialGuestExecred: return 10 - case .specialGuestExecyellow: return 11 - case .specialGuestMystic: return 12 - case .specialGuestValor: return 13 - case .specialGuestInstinct: return 14 - case .specialGuestTraveler: return 15 - case .specialGuestExplorer: return 16 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum CharacterExpression: SwiftProtobuf.Enum { - public typealias RawValue = Int - case expressionUnset // = 0 - case happy // = 1 - case sympathetic // = 2 - case energetic // = 3 - case pushy // = 4 - case impatient // = 5 - case admiration // = 6 - case sad // = 7 - case idle // = 8 - case idleB // = 9 - case greeting // = 10 - case greetingB // = 11 - case reactAngry // = 12 - case reactCelebration // = 13 - case reactHappy // = 14 - case reactLaugh // = 15 - case reactSad // = 16 - case reactScared // = 17 - case reactSurprised // = 18 - case UNRECOGNIZED(Int) - - public init() { - self = .expressionUnset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .expressionUnset - case 1: self = .happy - case 2: self = .sympathetic - case 3: self = .energetic - case 4: self = .pushy - case 5: self = .impatient - case 6: self = .admiration - case 7: self = .sad - case 8: self = .idle - case 9: self = .idleB - case 10: self = .greeting - case 11: self = .greetingB - case 12: self = .reactAngry - case 13: self = .reactCelebration - case 14: self = .reactHappy - case 15: self = .reactLaugh - case 16: self = .reactSad - case 17: self = .reactScared - case 18: self = .reactSurprised - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .expressionUnset: return 0 - case .happy: return 1 - case .sympathetic: return 2 - case .energetic: return 3 - case .pushy: return 4 - case .impatient: return 5 - case .admiration: return 6 - case .sad: return 7 - case .idle: return 8 - case .idleB: return 9 - case .greeting: return 10 - case .greetingB: return 11 - case .reactAngry: return 12 - case .reactCelebration: return 13 - case .reactHappy: return 14 - case .reactLaugh: return 15 - case .reactSad: return 16 - case .reactScared: return 17 - case .reactSurprised: return 18 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension QuestDialogProto.Character: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestDialogProto.Character] = [ - .unset, - .professorWillow, - .specialGuest1, - .specialGuest2, - .specialGuest3, - .specialGuest4, - .specialGuest5, - .specialGuestRhi, - .specialGuestRhi2, - .specialGuestExecblue, - .specialGuestExecred, - .specialGuestExecyellow, - .specialGuestMystic, - .specialGuestValor, - .specialGuestInstinct, - .specialGuestTraveler, - .specialGuestExplorer, - ] -} - -extension QuestDialogProto.CharacterExpression: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestDialogProto.CharacterExpression] = [ - .expressionUnset, - .happy, - .sympathetic, - .energetic, - .pushy, - .impatient, - .admiration, - .sad, - .idle, - .idleB, - .greeting, - .greetingB, - .reactAngry, - .reactCelebration, - .reactHappy, - .reactLaugh, - .reactSad, - .reactScared, - .reactSurprised, - ] -} - -#endif // swift(>=4.2) - -public struct QuestDisplayProto { - // 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. - - public var questID: String { - get {return _storage._questID} - set {_uniqueStorage()._questID = newValue} - } - - public var dialog: [QuestDialogProto] { - get {return _storage._dialog} - set {_uniqueStorage()._dialog = newValue} - } - - public var description_p: String { - get {return _storage._description_p} - set {_uniqueStorage()._description_p = newValue} - } - - public var title: String { - get {return _storage._title} - set {_uniqueStorage()._title = newValue} - } - - public var slot: Int32 { - get {return _storage._slot} - set {_uniqueStorage()._slot = newValue} - } - - public var subquestDisplays: [QuestDisplayProto] { - get {return _storage._subquestDisplays} - set {_uniqueStorage()._subquestDisplays = newValue} - } - - public var storyEndingQuest: Bool { - get {return _storage._storyEndingQuest} - set {_uniqueStorage()._storyEndingQuest = newValue} - } - - public var storyEndingDescription: String { - get {return _storage._storyEndingDescription} - set {_uniqueStorage()._storyEndingDescription = newValue} - } - - public var tagColor: String { - get {return _storage._tagColor} - set {_uniqueStorage()._tagColor = newValue} - } - - public var tagString: String { - get {return _storage._tagString} - set {_uniqueStorage()._tagString = newValue} - } - - public var sponsorString: String { - get {return _storage._sponsorString} - set {_uniqueStorage()._sponsorString = newValue} - } - - public var partnerID: String { - get {return _storage._partnerID} - set {_uniqueStorage()._partnerID = newValue} - } - - public var iconName: String { - get {return _storage._iconName} - set {_uniqueStorage()._iconName = newValue} - } - - public var backgroundName: String { - get {return _storage._backgroundName} - set {_uniqueStorage()._backgroundName = newValue} - } - - public var foregroundName: String { - get {return _storage._foregroundName} - set {_uniqueStorage()._foregroundName = newValue} - } - - public var progressInterval: Int32 { - get {return _storage._progressInterval} - set {_uniqueStorage()._progressInterval = newValue} - } - - public var branches: [QuestBranchDisplayProto] { - get {return _storage._branches} - set {_uniqueStorage()._branches = newValue} - } - - public var forceReshowBranchingQuestDialogCooldownMs: Int64 { - get {return _storage._forceReshowBranchingQuestDialogCooldownMs} - set {_uniqueStorage()._forceReshowBranchingQuestDialogCooldownMs = newValue} - } - - public var branchingQuestStoryViewButtonKey: String { - get {return _storage._branchingQuestStoryViewButtonKey} - set {_uniqueStorage()._branchingQuestStoryViewButtonKey = newValue} - } - - public var branchingQuestStoryViewImageURL: String { - get {return _storage._branchingQuestStoryViewImageURL} - set {_uniqueStorage()._branchingQuestStoryViewImageURL = newValue} - } - - public var questBranchChoiceViewBackgroundImageURL: String { - get {return _storage._questBranchChoiceViewBackgroundImageURL} - set {_uniqueStorage()._questBranchChoiceViewBackgroundImageURL = newValue} - } - - public var questBranchChoiceViewBackgroundColor: String { - get {return _storage._questBranchChoiceViewBackgroundColor} - set {_uniqueStorage()._questBranchChoiceViewBackgroundColor = newValue} - } - - public var propName: String { - get {return _storage._propName} - set {_uniqueStorage()._propName = newValue} - } - - public var questBranchChoiceViewHeaderBackgroundColor: String { - get {return _storage._questBranchChoiceViewHeaderBackgroundColor} - set {_uniqueStorage()._questBranchChoiceViewHeaderBackgroundColor = newValue} - } - - public var questBranchChoiceViewBottomGradientColor: String { - get {return _storage._questBranchChoiceViewBottomGradientColor} - set {_uniqueStorage()._questBranchChoiceViewBottomGradientColor = newValue} - } - - public var sortOrder: Int32 { - get {return _storage._sortOrder} - set {_uniqueStorage()._sortOrder = newValue} - } - - public var storyQuestlineTitle: String { - get {return _storage._storyQuestlineTitle} - set {_uniqueStorage()._storyQuestlineTitle = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct QuestEncounterOutProto { - // 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. - - public var result: QuestEncounterOutProto.Result = .questEncounterUnknown - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} - } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - - public var activeItem: Item = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case questEncounterUnknown // = 0 - case questEncounterSuccess // = 1 - case questEncounterNotAvailable // = 2 - case questEncounterAlreadyFinished // = 3 - case pokemonInventoryFull // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .questEncounterUnknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .questEncounterUnknown - case 1: self = .questEncounterSuccess - case 2: self = .questEncounterNotAvailable - case 3: self = .questEncounterAlreadyFinished - case 4: self = .pokemonInventoryFull - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .questEncounterUnknown: return 0 - case .questEncounterSuccess: return 1 - case .questEncounterNotAvailable: return 2 - case .questEncounterAlreadyFinished: return 3 - case .pokemonInventoryFull: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _captureProbability: CaptureProbabilityProto? = nil -} - -#if swift(>=4.2) - -extension QuestEncounterOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestEncounterOutProto.Result] = [ - .questEncounterUnknown, - .questEncounterSuccess, - .questEncounterNotAvailable, - .questEncounterAlreadyFinished, - .pokemonInventoryFull, - ] -} - -#endif // swift(>=4.2) - -public struct QuestEncounterProto { - // 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. - - public var pokemonID: UInt64 = 0 - - public var questID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestEvolutionGlobalSettingsProto { - // 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. - - public var enableQuestEvolutions: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestEvolutionSettingsProto { - // 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. - - public var enableQuestEvolutions: Bool = false - - public var enableWalkingQuestEvolutions: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestGlobalSettingsProto { - // 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. - - public var enableQuests: Bool = false - - public var maxChallengeQuests: Int32 = 0 - - public var enableShowSponsorName: Bool = false - - public var elapsedTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestGoalProto { - // 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. - - public var condition: [QuestConditionProto] = [] - - public var target: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestIncidentProto { - // 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. - - public var questID: String = String() - - public var context: QuestIncidentProto.Context = .unset - - public var incidentLookup: IncidentLookupProto { - get {return _incidentLookup ?? IncidentLookupProto()} - set {_incidentLookup = newValue} - } - /// Returns true if `incidentLookup` has been explicitly set. - public var hasIncidentLookup: Bool {return self._incidentLookup != nil} - /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. - public mutating func clearIncidentLookup() {self._incidentLookup = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Context: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case storyQuestBattle // = 1 - case timedQuestBattle // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .storyQuestBattle - case 2: self = .timedQuestBattle - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .storyQuestBattle: return 1 - case .timedQuestBattle: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _incidentLookup: IncidentLookupProto? = nil -} - -#if swift(>=4.2) - -extension QuestIncidentProto.Context: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestIncidentProto.Context] = [ - .unset, - .storyQuestBattle, - .timedQuestBattle, - ] -} - -#endif // swift(>=4.2) - -public struct QuestListTelemetry { - // 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. - - public var clientTimestamp: Int64 = 0 - - public var interactionType: QuestListTelemetry.QuestListInteraction = .open - - public var questListTab: QuestListTelemetry.QuestListTab = .tabOne - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum QuestListInteraction: SwiftProtobuf.Enum { - public typealias RawValue = Int - case `open` // = 0 - case closed // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .open - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .open - case 1: self = .closed - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .open: return 0 - case .closed: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum QuestListTab: SwiftProtobuf.Enum { - public typealias RawValue = Int - case tabOne // = 0 - case tabTwo // = 1 - case tabThree // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .tabOne - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .tabOne - case 1: self = .tabTwo - case 2: self = .tabThree - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .tabOne: return 0 - case .tabTwo: return 1 - case .tabThree: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension QuestListTelemetry.QuestListInteraction: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestListTelemetry.QuestListInteraction] = [ - .open, - .closed, - ] -} - -extension QuestListTelemetry.QuestListTab: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestListTelemetry.QuestListTab] = [ - .tabOne, - .tabTwo, - .tabThree, - ] -} - -#endif // swift(>=4.2) - -public struct QuestPokemonEncounterProto { - // 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. - - public var questID: String = String() - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var encounterType: EncounterType = .spawnPoint - - public var isHiddenDitto: Bool = false - - public var ditto: PokemonProto { - get {return _ditto ?? PokemonProto()} - set {_ditto = newValue} - } - /// Returns true if `ditto` has been explicitly set. - public var hasDitto: Bool {return self._ditto != nil} - /// Clears the value of `ditto`. Subsequent reads from it will return its default value. - public mutating func clearDitto() {self._ditto = nil} - - public var pokeBallOverride: Item = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _ditto: PokemonProto? = nil -} - -public struct QuestPreconditionProto { - // 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. - - public var condition: QuestPreconditionProto.OneOf_Condition? = nil - - public var questTemplateID: String { - get { - if case .questTemplateID(let v)? = condition {return v} - return String() - } - set {condition = .questTemplateID(newValue)} - } - - public var level: QuestPreconditionProto.Level { - get { - if case .level(let v)? = condition {return v} - return QuestPreconditionProto.Level() - } - set {condition = .level(newValue)} - } - - public var medal: QuestPreconditionProto.Medal { - get { - if case .medal(let v)? = condition {return v} - return QuestPreconditionProto.Medal() - } - set {condition = .medal(newValue)} - } - - public var quests: QuestPreconditionProto.Quests { - get { - if case .quests(let v)? = condition {return v} - return QuestPreconditionProto.Quests() - } - set {condition = .quests(newValue)} - } - - public var monthYearBucket: QuestPreconditionProto.MonthYearBucket { - get { - if case .monthYearBucket(let v)? = condition {return v} - return QuestPreconditionProto.MonthYearBucket() - } - set {condition = .monthYearBucket(newValue)} - } - - public var group: QuestPreconditionProto.Group { - get { - if case .group(let v)? = condition {return v} - return QuestPreconditionProto.Group() - } - set {condition = .group(newValue)} - } - - public var storyLine: QuestPreconditionProto.StorylineProgressConditionProto { - get { - if case .storyLine(let v)? = condition {return v} - return QuestPreconditionProto.StorylineProgressConditionProto() - } - set {condition = .storyLine(newValue)} - } - - public var team: QuestPreconditionProto.TeamProto { - get { - if case .team(let v)? = condition {return v} - return QuestPreconditionProto.TeamProto() - } - set {condition = .team(newValue)} - } - - public var type: QuestPreconditionProto.QuestPreconditionType = .questPreconditionUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Condition: Equatable { - case questTemplateID(String) - case level(QuestPreconditionProto.Level) - case medal(QuestPreconditionProto.Medal) - case quests(QuestPreconditionProto.Quests) - case monthYearBucket(QuestPreconditionProto.MonthYearBucket) - case group(QuestPreconditionProto.Group) - case storyLine(QuestPreconditionProto.StorylineProgressConditionProto) - case team(QuestPreconditionProto.TeamProto) - - #if !swift(>=4.1) - public static func ==(lhs: QuestPreconditionProto.OneOf_Condition, rhs: QuestPreconditionProto.OneOf_Condition) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.questTemplateID, .questTemplateID): return { - guard case .questTemplateID(let l) = lhs, case .questTemplateID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.level, .level): return { - guard case .level(let l) = lhs, case .level(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.medal, .medal): return { - guard case .medal(let l) = lhs, case .medal(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.quests, .quests): return { - guard case .quests(let l) = lhs, case .quests(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.monthYearBucket, .monthYearBucket): return { - guard case .monthYearBucket(let l) = lhs, case .monthYearBucket(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.group, .group): return { - guard case .group(let l) = lhs, case .group(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.storyLine, .storyLine): return { - guard case .storyLine(let l) = lhs, case .storyLine(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.team, .team): return { - guard case .team(let l) = lhs, case .team(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum Operator: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case equals // = 1 - case greaterThan // = 2 - case lessThan // = 3 - case notEquals // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .equals - case 2: self = .greaterThan - case 3: self = .lessThan - case 4: self = .notEquals - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .equals: return 1 - case .greaterThan: return 2 - case .lessThan: return 3 - case .notEquals: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum QuestPreconditionType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case questPreconditionUnset // = 0 - case questPreconditionQuest // = 1 - case questPreconditionLevel // = 2 - case questPreconditionMedal // = 3 - case questPreconditionIsMinor // = 4 - case questPreconditionExclusiveQuests // = 5 - case questPreconditionNever // = 6 - case questPreconditionReceivedAnyListedQuest // = 7 - case questPreconditionMonthYearBucket // = 8 - case questPreconditionExclusiveInProgressGroup // = 9 - case questPreconditionStorylineProgress // = 10 - case questPreconditionTeam // = 11 - case UNRECOGNIZED(Int) - - public init() { - self = .questPreconditionUnset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .questPreconditionUnset - case 1: self = .questPreconditionQuest - case 2: self = .questPreconditionLevel - case 3: self = .questPreconditionMedal - case 4: self = .questPreconditionIsMinor - case 5: self = .questPreconditionExclusiveQuests - case 6: self = .questPreconditionNever - case 7: self = .questPreconditionReceivedAnyListedQuest - case 8: self = .questPreconditionMonthYearBucket - case 9: self = .questPreconditionExclusiveInProgressGroup - case 10: self = .questPreconditionStorylineProgress - case 11: self = .questPreconditionTeam - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .questPreconditionUnset: return 0 - case .questPreconditionQuest: return 1 - case .questPreconditionLevel: return 2 - case .questPreconditionMedal: return 3 - case .questPreconditionIsMinor: return 4 - case .questPreconditionExclusiveQuests: return 5 - case .questPreconditionNever: return 6 - case .questPreconditionReceivedAnyListedQuest: return 7 - case .questPreconditionMonthYearBucket: return 8 - case .questPreconditionExclusiveInProgressGroup: return 9 - case .questPreconditionStorylineProgress: return 10 - case .questPreconditionTeam: return 11 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct TeamProto { - // 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. - - public var `operator`: QuestPreconditionProto.Operator = .unset - - public var team: Team = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct Group { - // 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. - - public var name: QuestPreconditionProto.Group.Name = .unsetName - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Name: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetName // = 0 - case giovanni // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetName - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetName - case 1: self = .giovanni - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetName: return 0 - case .giovanni: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public struct Level { - // 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. - - public var `operator`: QuestPreconditionProto.Operator = .unset - - public var level: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct Medal { - // 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. - - public var type: HoloBadgeType = .badgeUnset - - public var `operator`: QuestPreconditionProto.Operator = .unset - - public var badgeRank: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct MonthYearBucket { - // 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. - - public var year: Int32 = 0 - - public var month: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct Quests { - // 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. - - public var questTemplateIds: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct StorylineProgressConditionProto { - // 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. - - public var mandatoryQuestTemplateID: [String] = [] - - public var optionalQuestTemplateID: [String] = [] - - public var optionalQuestsCompletedMin: Int32 = 0 - - public var optionalQuestsCompletedMax: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -#if swift(>=4.2) - -extension QuestPreconditionProto.Operator: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestPreconditionProto.Operator] = [ - .unset, - .equals, - .greaterThan, - .lessThan, - .notEquals, - ] -} - -extension QuestPreconditionProto.QuestPreconditionType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestPreconditionProto.QuestPreconditionType] = [ - .questPreconditionUnset, - .questPreconditionQuest, - .questPreconditionLevel, - .questPreconditionMedal, - .questPreconditionIsMinor, - .questPreconditionExclusiveQuests, - .questPreconditionNever, - .questPreconditionReceivedAnyListedQuest, - .questPreconditionMonthYearBucket, - .questPreconditionExclusiveInProgressGroup, - .questPreconditionStorylineProgress, - .questPreconditionTeam, - ] -} - -extension QuestPreconditionProto.Group.Name: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestPreconditionProto.Group.Name] = [ - .unsetName, - .giovanni, - ] -} - -#endif // swift(>=4.2) - -public struct QuestProto { - // 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. - - public var quest: OneOf_Quest? { - get {return _storage._quest} - set {_uniqueStorage()._quest = newValue} - } - - public var dailyQuest: DailyQuestProto { - get { - if case .dailyQuest(let v)? = _storage._quest {return v} - return DailyQuestProto() - } - set {_uniqueStorage()._quest = .dailyQuest(newValue)} - } - - public var multiPart: MultiPartQuestProto { - get { - if case .multiPart(let v)? = _storage._quest {return v} - return MultiPartQuestProto() - } - set {_uniqueStorage()._quest = .multiPart(newValue)} - } - - public var catchPokemon: CatchPokemonQuestProto { - get { - if case .catchPokemon(let v)? = _storage._quest {return v} - return CatchPokemonQuestProto() - } - set {_uniqueStorage()._quest = .catchPokemon(newValue)} - } - - public var addFriend: AddFriendQuestProto { - get { - if case .addFriend(let v)? = _storage._quest {return v} - return AddFriendQuestProto() - } - set {_uniqueStorage()._quest = .addFriend(newValue)} - } - - public var tradePokemon: TradePokemonQuestProto { - get { - if case .tradePokemon(let v)? = _storage._quest {return v} - return TradePokemonQuestProto() - } - set {_uniqueStorage()._quest = .tradePokemon(newValue)} - } - - public var dailyBuddyAffection: DailyBuddyAffectionQuestProto { - get { - if case .dailyBuddyAffection(let v)? = _storage._quest {return v} - return DailyBuddyAffectionQuestProto() - } - set {_uniqueStorage()._quest = .dailyBuddyAffection(newValue)} - } - - public var questWalk: QuestWalkProto { - get { - if case .questWalk(let v)? = _storage._quest {return v} - return QuestWalkProto() - } - set {_uniqueStorage()._quest = .questWalk(newValue)} - } - - public var evolveIntoPokemon: EvolveIntoPokemonQuestProto { - get { - if case .evolveIntoPokemon(let v)? = _storage._quest {return v} - return EvolveIntoPokemonQuestProto() - } - set {_uniqueStorage()._quest = .evolveIntoPokemon(newValue)} - } - - public var getStardust: GetStardustQuestProto { - get { - if case .getStardust(let v)? = _storage._quest {return v} - return GetStardustQuestProto() - } - set {_uniqueStorage()._quest = .getStardust(newValue)} - } - - public var miniCollection: MiniCollectionProto { - get { - if case .miniCollection(let v)? = _storage._quest {return v} - return MiniCollectionProto() - } - set {_uniqueStorage()._quest = .miniCollection(newValue)} - } - - public var geotargetedQuest: GeotargetedQuestProto { - get { - if case .geotargetedQuest(let v)? = _storage._quest {return v} - return GeotargetedQuestProto() - } - set {_uniqueStorage()._quest = .geotargetedQuest(newValue)} - } - - public var buddyEvolutionWalk: BuddyEvolutionWalkQuestProto { - get { - if case .buddyEvolutionWalk(let v)? = _storage._quest {return v} - return BuddyEvolutionWalkQuestProto() - } - set {_uniqueStorage()._quest = .buddyEvolutionWalk(newValue)} - } - - public var battle: BattleQuestProto { - get { - if case .battle(let v)? = _storage._quest {return v} - return BattleQuestProto() - } - set {_uniqueStorage()._quest = .battle(newValue)} - } - - public var takeSnapshot: TakeSnapshotQuestProto { - get { - if case .takeSnapshot(let v)? = _storage._quest {return v} - return TakeSnapshotQuestProto() - } - set {_uniqueStorage()._quest = .takeSnapshot(newValue)} - } - - public var submitSleepRecords: SubmitSleepRecordsQuestProto { - get { - if case .submitSleepRecords(let v)? = _storage._quest {return v} - return SubmitSleepRecordsQuestProto() - } - set {_uniqueStorage()._quest = .submitSleepRecords(newValue)} - } - - public var travelRoute: TravelRouteQuestProto { - get { - if case .travelRoute(let v)? = _storage._quest {return v} - return TravelRouteQuestProto() - } - set {_uniqueStorage()._quest = .travelRoute(newValue)} - } - - public var questType: QuestType { - get {return _storage._questType} - set {_uniqueStorage()._questType = newValue} - } - - public var withSingleDay: WithSingleDayProto { - get {return _storage._withSingleDay ?? WithSingleDayProto()} - set {_uniqueStorage()._withSingleDay = newValue} - } - /// Returns true if `withSingleDay` has been explicitly set. - public var hasWithSingleDay: Bool {return _storage._withSingleDay != nil} - /// Clears the value of `withSingleDay`. Subsequent reads from it will return its default value. - public mutating func clearWithSingleDay() {_uniqueStorage()._withSingleDay = nil} - - public var daysInARow: DaysWithARowQuestProto { - get {return _storage._daysInARow ?? DaysWithARowQuestProto()} - set {_uniqueStorage()._daysInARow = newValue} - } - /// Returns true if `daysInARow` has been explicitly set. - public var hasDaysInARow: Bool {return _storage._daysInARow != nil} - /// Clears the value of `daysInARow`. Subsequent reads from it will return its default value. - public mutating func clearDaysInARow() {_uniqueStorage()._daysInARow = nil} - - public var questID: String { - get {return _storage._questID} - set {_uniqueStorage()._questID = newValue} - } - - public var questSeed: Int64 { - get {return _storage._questSeed} - set {_uniqueStorage()._questSeed = newValue} - } - - public var questContext: QuestProto.Context { - get {return _storage._questContext} - set {_uniqueStorage()._questContext = newValue} - } - - public var templateID: String { - get {return _storage._templateID} - set {_uniqueStorage()._templateID = newValue} - } - - public var progress: Int32 { - get {return _storage._progress} - set {_uniqueStorage()._progress = newValue} - } - - public var goal: QuestGoalProto { - get {return _storage._goal ?? QuestGoalProto()} - set {_uniqueStorage()._goal = newValue} - } - /// Returns true if `goal` has been explicitly set. - public var hasGoal: Bool {return _storage._goal != nil} - /// Clears the value of `goal`. Subsequent reads from it will return its default value. - public mutating func clearGoal() {_uniqueStorage()._goal = nil} - - public var status: QuestProto.Status { - get {return _storage._status} - set {_uniqueStorage()._status = newValue} - } - - public var questRewards: [QuestRewardProto] { - get {return _storage._questRewards} - set {_uniqueStorage()._questRewards = newValue} - } - - public var creationTimestampMs: Int64 { - get {return _storage._creationTimestampMs} - set {_uniqueStorage()._creationTimestampMs = newValue} - } - - public var lastUpdateTimestampMs: Int64 { - get {return _storage._lastUpdateTimestampMs} - set {_uniqueStorage()._lastUpdateTimestampMs = newValue} - } - - public var completionTimestampMs: Int64 { - get {return _storage._completionTimestampMs} - set {_uniqueStorage()._completionTimestampMs = newValue} - } - - public var fortID: String { - get {return _storage._fortID} - set {_uniqueStorage()._fortID = newValue} - } - - public var adminGenerated: Bool { - get {return _storage._adminGenerated} - set {_uniqueStorage()._adminGenerated = newValue} - } - - public var stampCountOverrideEnabled: Bool { - get {return _storage._stampCountOverrideEnabled} - set {_uniqueStorage()._stampCountOverrideEnabled = newValue} - } - - public var stampCountOverride: Int32 { - get {return _storage._stampCountOverride} - set {_uniqueStorage()._stampCountOverride = newValue} - } - - public var s2CellID: Int64 { - get {return _storage._s2CellID} - set {_uniqueStorage()._s2CellID = newValue} - } - - public var storyQuestTemplateVersion: Int32 { - get {return _storage._storyQuestTemplateVersion} - set {_uniqueStorage()._storyQuestTemplateVersion = newValue} - } - - public var dailyCounter: DailyCounterProto { - get {return _storage._dailyCounter ?? DailyCounterProto()} - set {_uniqueStorage()._dailyCounter = newValue} - } - /// Returns true if `dailyCounter` has been explicitly set. - public var hasDailyCounter: Bool {return _storage._dailyCounter != nil} - /// Clears the value of `dailyCounter`. Subsequent reads from it will return its default value. - public mutating func clearDailyCounter() {_uniqueStorage()._dailyCounter = nil} - - public var rewardPokemonIconURL: String { - get {return _storage._rewardPokemonIconURL} - set {_uniqueStorage()._rewardPokemonIconURL = newValue} - } - - public var endTimestampMs: Int64 { - get {return _storage._endTimestampMs} - set {_uniqueStorage()._endTimestampMs = newValue} - } - - public var isBonusChallenge: Bool { - get {return _storage._isBonusChallenge} - set {_uniqueStorage()._isBonusChallenge = newValue} - } - - public var referralInfo: QuestProto.ReferralInfoProto { - get {return _storage._referralInfo ?? QuestProto.ReferralInfoProto()} - set {_uniqueStorage()._referralInfo = newValue} - } - /// Returns true if `referralInfo` has been explicitly set. - public var hasReferralInfo: Bool {return _storage._referralInfo != nil} - /// Clears the value of `referralInfo`. Subsequent reads from it will return its default value. - public mutating func clearReferralInfo() {_uniqueStorage()._referralInfo = nil} - - public var branchRewards: [QuestBranchRewardProto] { - get {return _storage._branchRewards} - set {_uniqueStorage()._branchRewards = newValue} - } - - public var dialogRead: Bool { - get {return _storage._dialogRead} - set {_uniqueStorage()._dialogRead = newValue} - } - - public var startTimestampMs: Int64 { - get {return _storage._startTimestampMs} - set {_uniqueStorage()._startTimestampMs = newValue} - } - - public var withTotalDays: WithTotalDaysProto { - get {return _storage._withTotalDays ?? WithTotalDaysProto()} - set {_uniqueStorage()._withTotalDays = newValue} - } - /// Returns true if `withTotalDays` has been explicitly set. - public var hasWithTotalDays: Bool {return _storage._withTotalDays != nil} - /// Clears the value of `withTotalDays`. Subsequent reads from it will return its default value. - public mutating func clearWithTotalDays() {_uniqueStorage()._withTotalDays = nil} - - public var phaseNumber: Int32 { - get {return _storage._phaseNumber} - set {_uniqueStorage()._phaseNumber = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Quest: Equatable { - case dailyQuest(DailyQuestProto) - case multiPart(MultiPartQuestProto) - case catchPokemon(CatchPokemonQuestProto) - case addFriend(AddFriendQuestProto) - case tradePokemon(TradePokemonQuestProto) - case dailyBuddyAffection(DailyBuddyAffectionQuestProto) - case questWalk(QuestWalkProto) - case evolveIntoPokemon(EvolveIntoPokemonQuestProto) - case getStardust(GetStardustQuestProto) - case miniCollection(MiniCollectionProto) - case geotargetedQuest(GeotargetedQuestProto) - case buddyEvolutionWalk(BuddyEvolutionWalkQuestProto) - case battle(BattleQuestProto) - case takeSnapshot(TakeSnapshotQuestProto) - case submitSleepRecords(SubmitSleepRecordsQuestProto) - case travelRoute(TravelRouteQuestProto) - - #if !swift(>=4.1) - public static func ==(lhs: QuestProto.OneOf_Quest, rhs: QuestProto.OneOf_Quest) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.dailyQuest, .dailyQuest): return { - guard case .dailyQuest(let l) = lhs, case .dailyQuest(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.multiPart, .multiPart): return { - guard case .multiPart(let l) = lhs, case .multiPart(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.catchPokemon, .catchPokemon): return { - guard case .catchPokemon(let l) = lhs, case .catchPokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.addFriend, .addFriend): return { - guard case .addFriend(let l) = lhs, case .addFriend(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.tradePokemon, .tradePokemon): return { - guard case .tradePokemon(let l) = lhs, case .tradePokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.dailyBuddyAffection, .dailyBuddyAffection): return { - guard case .dailyBuddyAffection(let l) = lhs, case .dailyBuddyAffection(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.questWalk, .questWalk): return { - guard case .questWalk(let l) = lhs, case .questWalk(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.evolveIntoPokemon, .evolveIntoPokemon): return { - guard case .evolveIntoPokemon(let l) = lhs, case .evolveIntoPokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getStardust, .getStardust): return { - guard case .getStardust(let l) = lhs, case .getStardust(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.miniCollection, .miniCollection): return { - guard case .miniCollection(let l) = lhs, case .miniCollection(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.geotargetedQuest, .geotargetedQuest): return { - guard case .geotargetedQuest(let l) = lhs, case .geotargetedQuest(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.buddyEvolutionWalk, .buddyEvolutionWalk): return { - guard case .buddyEvolutionWalk(let l) = lhs, case .buddyEvolutionWalk(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.battle, .battle): return { - guard case .battle(let l) = lhs, case .battle(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.takeSnapshot, .takeSnapshot): return { - guard case .takeSnapshot(let l) = lhs, case .takeSnapshot(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.submitSleepRecords, .submitSleepRecords): return { - guard case .submitSleepRecords(let l) = lhs, case .submitSleepRecords(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.travelRoute, .travelRoute): return { - guard case .travelRoute(let l) = lhs, case .travelRoute(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum Context: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case storyQuest // = 1 - case challengeQuest // = 2 - case dailyCoinQuest // = 3 - case timedStoryQuest // = 4 - case nonNarrativeStoryQuest // = 5 - case levelUpQuest // = 6 - case tgcTrackingQuest // = 7 - case evolutionQuest // = 8 - case timedMiniCollectionQuest // = 9 - case referralQuest // = 10 - case branchingQuest // = 11 - case partyQuest // = 12 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .storyQuest - case 2: self = .challengeQuest - case 3: self = .dailyCoinQuest - case 4: self = .timedStoryQuest - case 5: self = .nonNarrativeStoryQuest - case 6: self = .levelUpQuest - case 7: self = .tgcTrackingQuest - case 8: self = .evolutionQuest - case 9: self = .timedMiniCollectionQuest - case 10: self = .referralQuest - case 11: self = .branchingQuest - case 12: self = .partyQuest - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .storyQuest: return 1 - case .challengeQuest: return 2 - case .dailyCoinQuest: return 3 - case .timedStoryQuest: return 4 - case .nonNarrativeStoryQuest: return 5 - case .levelUpQuest: return 6 - case .tgcTrackingQuest: return 7 - case .evolutionQuest: return 8 - case .timedMiniCollectionQuest: return 9 - case .referralQuest: return 10 - case .branchingQuest: return 11 - case .partyQuest: return 12 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case active // = 1 - case completed // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .undefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 1: self = .active - case 2: self = .completed - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .active: return 1 - case .completed: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct ReferralInfoProto { - // 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. - - public var referrerID: String = String() - - public var completionMessageSent: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension QuestProto.Context: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestProto.Context] = [ - .unset, - .storyQuest, - .challengeQuest, - .dailyCoinQuest, - .timedStoryQuest, - .nonNarrativeStoryQuest, - .levelUpQuest, - .tgcTrackingQuest, - .evolutionQuest, - .timedMiniCollectionQuest, - .referralQuest, - .branchingQuest, - .partyQuest, - ] -} - -extension QuestProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestProto.Status] = [ - .undefined, - .active, - .completed, - ] -} - -#endif // swift(>=4.2) - -public struct QuestRewardProto { - // 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. - - public var reward: QuestRewardProto.OneOf_Reward? = nil - - public var exp: Int32 { - get { - if case .exp(let v)? = reward {return v} - return 0 - } - set {reward = .exp(newValue)} - } - - public var item: ItemRewardProto { - get { - if case .item(let v)? = reward {return v} - return ItemRewardProto() - } - set {reward = .item(newValue)} - } - - public var stardust: Int32 { - get { - if case .stardust(let v)? = reward {return v} - return 0 - } - set {reward = .stardust(newValue)} - } - - public var candy: PokemonCandyRewardProto { - get { - if case .candy(let v)? = reward {return v} - return PokemonCandyRewardProto() - } - set {reward = .candy(newValue)} - } - - public var avatarTemplateID: String { - get { - if case .avatarTemplateID(let v)? = reward {return v} - return String() - } - set {reward = .avatarTemplateID(newValue)} - } - - public var questTemplateID: String { - get { - if case .questTemplateID(let v)? = reward {return v} - return String() - } - set {reward = .questTemplateID(newValue)} - } - - public var pokemonEncounter: PokemonEncounterRewardProto { - get { - if case .pokemonEncounter(let v)? = reward {return v} - return PokemonEncounterRewardProto() - } - set {reward = .pokemonEncounter(newValue)} - } - - public var pokecoin: Int32 { - get { - if case .pokecoin(let v)? = reward {return v} - return 0 - } - set {reward = .pokecoin(newValue)} - } - - public var xlCandy: PokemonCandyRewardProto { - get { - if case .xlCandy(let v)? = reward {return v} - return PokemonCandyRewardProto() - } - set {reward = .xlCandy(newValue)} - } - - public var levelCap: Int32 { - get { - if case .levelCap(let v)? = reward {return v} - return 0 - } - set {reward = .levelCap(newValue)} - } - - public var sticker: StickerRewardProto { - get { - if case .sticker(let v)? = reward {return v} - return StickerRewardProto() - } - set {reward = .sticker(newValue)} - } - - public var megaResource: PokemonCandyRewardProto { - get { - if case .megaResource(let v)? = reward {return v} - return PokemonCandyRewardProto() - } - set {reward = .megaResource(newValue)} - } - - public var incident: IncidentRewardProto { - get { - if case .incident(let v)? = reward {return v} - return IncidentRewardProto() - } - set {reward = .incident(newValue)} - } - - public var playerAttribute: PlayerAttributeRewardProto { - get { - if case .playerAttribute(let v)? = reward {return v} - return PlayerAttributeRewardProto() - } - set {reward = .playerAttribute(newValue)} - } - - public var type: QuestRewardProto.TypeEnum = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Reward: Equatable { - case exp(Int32) - case item(ItemRewardProto) - case stardust(Int32) - case candy(PokemonCandyRewardProto) - case avatarTemplateID(String) - case questTemplateID(String) - case pokemonEncounter(PokemonEncounterRewardProto) - case pokecoin(Int32) - case xlCandy(PokemonCandyRewardProto) - case levelCap(Int32) - case sticker(StickerRewardProto) - case megaResource(PokemonCandyRewardProto) - case incident(IncidentRewardProto) - case playerAttribute(PlayerAttributeRewardProto) - - #if !swift(>=4.1) - public static func ==(lhs: QuestRewardProto.OneOf_Reward, rhs: QuestRewardProto.OneOf_Reward) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.exp, .exp): return { - guard case .exp(let l) = lhs, case .exp(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.item, .item): return { - guard case .item(let l) = lhs, case .item(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.stardust, .stardust): return { - guard case .stardust(let l) = lhs, case .stardust(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.candy, .candy): return { - guard case .candy(let l) = lhs, case .candy(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.avatarTemplateID, .avatarTemplateID): return { - guard case .avatarTemplateID(let l) = lhs, case .avatarTemplateID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.questTemplateID, .questTemplateID): return { - guard case .questTemplateID(let l) = lhs, case .questTemplateID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonEncounter, .pokemonEncounter): return { - guard case .pokemonEncounter(let l) = lhs, case .pokemonEncounter(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokecoin, .pokecoin): return { - guard case .pokecoin(let l) = lhs, case .pokecoin(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.xlCandy, .xlCandy): return { - guard case .xlCandy(let l) = lhs, case .xlCandy(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.levelCap, .levelCap): return { - guard case .levelCap(let l) = lhs, case .levelCap(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.sticker, .sticker): return { - guard case .sticker(let l) = lhs, case .sticker(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.megaResource, .megaResource): return { - guard case .megaResource(let l) = lhs, case .megaResource(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.incident, .incident): return { - guard case .incident(let l) = lhs, case .incident(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.playerAttribute, .playerAttribute): return { - guard case .playerAttribute(let l) = lhs, case .playerAttribute(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum TypeEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case experience // = 1 - case item // = 2 - case stardust // = 3 - case candy // = 4 - case avatarClothing // = 5 - case quest // = 6 - case pokemonEncounter // = 7 - case pokecoin // = 8 - case xlCandy // = 9 - case levelCap // = 10 - case sticker // = 11 - case megaResource // = 12 - case incident // = 13 - case playerAttribute // = 14 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .experience - case 2: self = .item - case 3: self = .stardust - case 4: self = .candy - case 5: self = .avatarClothing - case 6: self = .quest - case 7: self = .pokemonEncounter - case 8: self = .pokecoin - case 9: self = .xlCandy - case 10: self = .levelCap - case 11: self = .sticker - case 12: self = .megaResource - case 13: self = .incident - case 14: self = .playerAttribute - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .experience: return 1 - case .item: return 2 - case .stardust: return 3 - case .candy: return 4 - case .avatarClothing: return 5 - case .quest: return 6 - case .pokemonEncounter: return 7 - case .pokecoin: return 8 - case .xlCandy: return 9 - case .levelCap: return 10 - case .sticker: return 11 - case .megaResource: return 12 - case .incident: return 13 - case .playerAttribute: return 14 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension QuestRewardProto.TypeEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuestRewardProto.TypeEnum] = [ - .unset, - .experience, - .item, - .stardust, - .candy, - .avatarClothing, - .quest, - .pokemonEncounter, - .pokecoin, - .xlCandy, - .levelCap, - .sticker, - .megaResource, - .incident, - .playerAttribute, - ] -} - -#endif // swift(>=4.2) - -public struct QuestSettingsProto { - // 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. - - public var questType: QuestType = .questUnset - - public var dailyQuest: DailyQuestSettings { - get {return _dailyQuest ?? DailyQuestSettings()} - set {_dailyQuest = newValue} - } - /// Returns true if `dailyQuest` has been explicitly set. - public var hasDailyQuest: Bool {return self._dailyQuest != nil} - /// Clears the value of `dailyQuest`. Subsequent reads from it will return its default value. - public mutating func clearDailyQuest() {self._dailyQuest = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _dailyQuest: DailyQuestSettings? = nil -} - -public struct QuestStampCardProto { - // 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. - - public var stamp: [QuestStampProto] = [] - - public var target: Int32 = 0 - - public var remainingDailyStamps: Int32 = 0 - - public var id: String = String() - - public var iconURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestStampProto { - // 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. - - public var context: QuestProto.Context = .unset - - public var timestampMs: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestWalkProto { - // 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. - - public var questStartKmWalked: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuestsProto { - // 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. - - public var quest: [QuestProto] = [] - - public var completedStoryQuest: [String] = [] - - public var questPokemonEncounter: [QuestPokemonEncounterProto] = [] - - public var stampCard: QuestStampCardProto { - get {return _stampCard ?? QuestStampCardProto()} - set {_stampCard = newValue} - } - /// Returns true if `stampCard` has been explicitly set. - public var hasStampCard: Bool {return self._stampCard != nil} - /// Clears the value of `stampCard`. Subsequent reads from it will return its default value. - public mutating func clearStampCard() {self._stampCard = nil} - - public var questIncident: [QuestIncidentProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _stampCard: QuestStampCardProto? = nil -} - -public struct QuitCombatDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuitCombatOutProto { - // 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. - - public var result: QuitCombatOutProto.Result = .unset - - public var combat: CombatProto { - get {return _combat ?? CombatProto()} - set {_combat = newValue} - } - /// Returns true if `combat` has been explicitly set. - public var hasCombat: Bool {return self._combat != nil} - /// Clears the value of `combat`. Subsequent reads from it will return its default value. - public mutating func clearCombat() {self._combat = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorCombatNotFound // = 2 - case errorInvalidCombatState // = 3 - case errorPlayerNotInCombat // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorCombatNotFound - case 3: self = .errorInvalidCombatState - case 4: self = .errorPlayerNotInCombat - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorCombatNotFound: return 2 - case .errorInvalidCombatState: return 3 - case .errorPlayerNotInCombat: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _combat: CombatProto? = nil -} - -#if swift(>=4.2) - -extension QuitCombatOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [QuitCombatOutProto.Result] = [ - .unset, - .success, - .errorCombatNotFound, - .errorInvalidCombatState, - .errorPlayerNotInCombat, - ] -} - -#endif // swift(>=4.2) - -public struct QuitCombatProto { - // 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. - - public var combatID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct QuitCombatResponseDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var obUint32: UInt32 = 0 - - public var obQuitCombatResponse: QuitCombatOutProto { - get {return _obQuitCombatResponse ?? QuitCombatOutProto()} - set {_obQuitCombatResponse = newValue} - } - /// Returns true if `obQuitCombatResponse` has been explicitly set. - public var hasObQuitCombatResponse: Bool {return self._obQuitCombatResponse != nil} - /// Clears the value of `obQuitCombatResponse`. Subsequent reads from it will return its default value. - public mutating func clearObQuitCombatResponse() {self._obQuitCombatResponse = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _obQuitCombatResponse: QuitCombatOutProto? = nil -} - -public struct RaidClientLogInfoProto { - // 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. - - public var obRaidClientLogInfoString1: String = String() - - public var obRaidClientLogInfoInt641: Int64 = 0 - - public var obRaidClientLogInfoDouble1: Double = 0 - - public var obRaidClientLogInfoDouble2: Double = 0 - - public var obRaidClientLogInfoInt642: Int64 = 0 - - public var obRaidClientLogInfoString2: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidClientLogsProto { - // 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. - - public var logData: OneOf_LogData? { - get {return _storage._logData} - set {_uniqueStorage()._logData = newValue} - } - - public var joinLobbyData: JoinLobbyDataProto { - get { - if case .joinLobbyData(let v)? = _storage._logData {return v} - return JoinLobbyDataProto() - } - set {_uniqueStorage()._logData = .joinLobbyData(newValue)} - } - - public var joinLobbyResponseData: JoinLobbyResponseDataProto { - get { - if case .joinLobbyResponseData(let v)? = _storage._logData {return v} - return JoinLobbyResponseDataProto() - } - set {_uniqueStorage()._logData = .joinLobbyResponseData(newValue)} - } - - public var leaveLobbyData: LeaveLobbyDataProto { - get { - if case .leaveLobbyData(let v)? = _storage._logData {return v} - return LeaveLobbyDataProto() - } - set {_uniqueStorage()._logData = .leaveLobbyData(newValue)} - } - - public var leaveLobbyResponseData: LeaveLobbyResponseDataProto { - get { - if case .leaveLobbyResponseData(let v)? = _storage._logData {return v} - return LeaveLobbyResponseDataProto() - } - set {_uniqueStorage()._logData = .leaveLobbyResponseData(newValue)} - } - - public var lobbyVisibilityData: LobbyVisibilityDataProto { - get { - if case .lobbyVisibilityData(let v)? = _storage._logData {return v} - return LobbyVisibilityDataProto() - } - set {_uniqueStorage()._logData = .lobbyVisibilityData(newValue)} - } - - public var lobbyVisibilityResponseData: LobbyVisibilityResponseDataProto { - get { - if case .lobbyVisibilityResponseData(let v)? = _storage._logData {return v} - return LobbyVisibilityResponseDataProto() - } - set {_uniqueStorage()._logData = .lobbyVisibilityResponseData(newValue)} - } - - public var getRaidDetailsData: GetRaidDetailsDataProto { - get { - if case .getRaidDetailsData(let v)? = _storage._logData {return v} - return GetRaidDetailsDataProto() - } - set {_uniqueStorage()._logData = .getRaidDetailsData(newValue)} - } - - public var getRaidDetailsResponseData: GetRaidDetailsResponseDataProto { - get { - if case .getRaidDetailsResponseData(let v)? = _storage._logData {return v} - return GetRaidDetailsResponseDataProto() - } - set {_uniqueStorage()._logData = .getRaidDetailsResponseData(newValue)} - } - - public var startRaidBattleData: StartRaidBattleDataProto { - get { - if case .startRaidBattleData(let v)? = _storage._logData {return v} - return StartRaidBattleDataProto() - } - set {_uniqueStorage()._logData = .startRaidBattleData(newValue)} - } - - public var startRaidBattleResponseData: StartRaidBattleResponseDataProto { - get { - if case .startRaidBattleResponseData(let v)? = _storage._logData {return v} - return StartRaidBattleResponseDataProto() - } - set {_uniqueStorage()._logData = .startRaidBattleResponseData(newValue)} - } - - public var attackRaidData: AttackRaidDataProto { - get { - if case .attackRaidData(let v)? = _storage._logData {return v} - return AttackRaidDataProto() - } - set {_uniqueStorage()._logData = .attackRaidData(newValue)} - } - - public var attackRaidResponseData: AttackRaidResponseDataProto { - get { - if case .attackRaidResponseData(let v)? = _storage._logData {return v} - return AttackRaidResponseDataProto() - } - set {_uniqueStorage()._logData = .attackRaidResponseData(newValue)} - } - - public var sendRaidInvitationData: SendRaidInvitationDataProto { - get { - if case .sendRaidInvitationData(let v)? = _storage._logData {return v} - return SendRaidInvitationDataProto() - } - set {_uniqueStorage()._logData = .sendRaidInvitationData(newValue)} - } - - public var sendRaidInvitationResponseData: SendRaidInvitationResponseDataProto { - get { - if case .sendRaidInvitationResponseData(let v)? = _storage._logData {return v} - return SendRaidInvitationResponseDataProto() - } - set {_uniqueStorage()._logData = .sendRaidInvitationResponseData(newValue)} - } - - public var onApplicationFocusData: OnApplicationFocusDataProto { - get { - if case .onApplicationFocusData(let v)? = _storage._logData {return v} - return OnApplicationFocusDataProto() - } - set {_uniqueStorage()._logData = .onApplicationFocusData(newValue)} - } - - public var onApplicationPauseData: OnApplicationPauseDataProto { - get { - if case .onApplicationPauseData(let v)? = _storage._logData {return v} - return OnApplicationPauseDataProto() - } - set {_uniqueStorage()._logData = .onApplicationPauseData(newValue)} - } - - public var onApplicationQuitData: OnApplicationQuitDataProto { - get { - if case .onApplicationQuitData(let v)? = _storage._logData {return v} - return OnApplicationQuitDataProto() - } - set {_uniqueStorage()._logData = .onApplicationQuitData(newValue)} - } - - public var exceptionCaughtData: ExceptionCaugthDataProto { - get { - if case .exceptionCaughtData(let v)? = _storage._logData {return v} - return ExceptionCaugthDataProto() - } - set {_uniqueStorage()._logData = .exceptionCaughtData(newValue)} - } - - public var progressTokenData: ProgressTokenDataProto { - get { - if case .progressTokenData(let v)? = _storage._logData {return v} - return ProgressTokenDataProto() - } - set {_uniqueStorage()._logData = .progressTokenData(newValue)} - } - - public var rpcErrorData: RpcErrorDataProto { - get { - if case .rpcErrorData(let v)? = _storage._logData {return v} - return RpcErrorDataProto() - } - set {_uniqueStorage()._logData = .rpcErrorData(newValue)} - } - - public var clientPredictionInconsistencyData: ClientPredictionInconsistencyDataProto { - get { - if case .clientPredictionInconsistencyData(let v)? = _storage._logData {return v} - return ClientPredictionInconsistencyDataProto() - } - set {_uniqueStorage()._logData = .clientPredictionInconsistencyData(newValue)} - } - - public var raidEndData: RaidEndDataProto { - get { - if case .raidEndData(let v)? = _storage._logData {return v} - return RaidEndDataProto() - } - set {_uniqueStorage()._logData = .raidEndData(newValue)} - } - - public var obRaidLogClientInfo: RaidClientLogsProto.RaidClientLogInfo { - get {return _storage._obRaidLogClientInfo ?? RaidClientLogsProto.RaidClientLogInfo()} - set {_uniqueStorage()._obRaidLogClientInfo = newValue} - } - /// Returns true if `obRaidLogClientInfo` has been explicitly set. - public var hasObRaidLogClientInfo: Bool {return _storage._obRaidLogClientInfo != nil} - /// Clears the value of `obRaidLogClientInfo`. Subsequent reads from it will return its default value. - public mutating func clearObRaidLogClientInfo() {_uniqueStorage()._obRaidLogClientInfo = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_LogData: Equatable { - case joinLobbyData(JoinLobbyDataProto) - case joinLobbyResponseData(JoinLobbyResponseDataProto) - case leaveLobbyData(LeaveLobbyDataProto) - case leaveLobbyResponseData(LeaveLobbyResponseDataProto) - case lobbyVisibilityData(LobbyVisibilityDataProto) - case lobbyVisibilityResponseData(LobbyVisibilityResponseDataProto) - case getRaidDetailsData(GetRaidDetailsDataProto) - case getRaidDetailsResponseData(GetRaidDetailsResponseDataProto) - case startRaidBattleData(StartRaidBattleDataProto) - case startRaidBattleResponseData(StartRaidBattleResponseDataProto) - case attackRaidData(AttackRaidDataProto) - case attackRaidResponseData(AttackRaidResponseDataProto) - case sendRaidInvitationData(SendRaidInvitationDataProto) - case sendRaidInvitationResponseData(SendRaidInvitationResponseDataProto) - case onApplicationFocusData(OnApplicationFocusDataProto) - case onApplicationPauseData(OnApplicationPauseDataProto) - case onApplicationQuitData(OnApplicationQuitDataProto) - case exceptionCaughtData(ExceptionCaugthDataProto) - case progressTokenData(ProgressTokenDataProto) - case rpcErrorData(RpcErrorDataProto) - case clientPredictionInconsistencyData(ClientPredictionInconsistencyDataProto) - case raidEndData(RaidEndDataProto) - - #if !swift(>=4.1) - public static func ==(lhs: RaidClientLogsProto.OneOf_LogData, rhs: RaidClientLogsProto.OneOf_LogData) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.joinLobbyData, .joinLobbyData): return { - guard case .joinLobbyData(let l) = lhs, case .joinLobbyData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.joinLobbyResponseData, .joinLobbyResponseData): return { - guard case .joinLobbyResponseData(let l) = lhs, case .joinLobbyResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.leaveLobbyData, .leaveLobbyData): return { - guard case .leaveLobbyData(let l) = lhs, case .leaveLobbyData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.leaveLobbyResponseData, .leaveLobbyResponseData): return { - guard case .leaveLobbyResponseData(let l) = lhs, case .leaveLobbyResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.lobbyVisibilityData, .lobbyVisibilityData): return { - guard case .lobbyVisibilityData(let l) = lhs, case .lobbyVisibilityData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.lobbyVisibilityResponseData, .lobbyVisibilityResponseData): return { - guard case .lobbyVisibilityResponseData(let l) = lhs, case .lobbyVisibilityResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getRaidDetailsData, .getRaidDetailsData): return { - guard case .getRaidDetailsData(let l) = lhs, case .getRaidDetailsData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getRaidDetailsResponseData, .getRaidDetailsResponseData): return { - guard case .getRaidDetailsResponseData(let l) = lhs, case .getRaidDetailsResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.startRaidBattleData, .startRaidBattleData): return { - guard case .startRaidBattleData(let l) = lhs, case .startRaidBattleData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.startRaidBattleResponseData, .startRaidBattleResponseData): return { - guard case .startRaidBattleResponseData(let l) = lhs, case .startRaidBattleResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.attackRaidData, .attackRaidData): return { - guard case .attackRaidData(let l) = lhs, case .attackRaidData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.attackRaidResponseData, .attackRaidResponseData): return { - guard case .attackRaidResponseData(let l) = lhs, case .attackRaidResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.sendRaidInvitationData, .sendRaidInvitationData): return { - guard case .sendRaidInvitationData(let l) = lhs, case .sendRaidInvitationData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.sendRaidInvitationResponseData, .sendRaidInvitationResponseData): return { - guard case .sendRaidInvitationResponseData(let l) = lhs, case .sendRaidInvitationResponseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.onApplicationFocusData, .onApplicationFocusData): return { - guard case .onApplicationFocusData(let l) = lhs, case .onApplicationFocusData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.onApplicationPauseData, .onApplicationPauseData): return { - guard case .onApplicationPauseData(let l) = lhs, case .onApplicationPauseData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.onApplicationQuitData, .onApplicationQuitData): return { - guard case .onApplicationQuitData(let l) = lhs, case .onApplicationQuitData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.exceptionCaughtData, .exceptionCaughtData): return { - guard case .exceptionCaughtData(let l) = lhs, case .exceptionCaughtData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.progressTokenData, .progressTokenData): return { - guard case .progressTokenData(let l) = lhs, case .progressTokenData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.rpcErrorData, .rpcErrorData): return { - guard case .rpcErrorData(let l) = lhs, case .rpcErrorData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.clientPredictionInconsistencyData, .clientPredictionInconsistencyData): return { - guard case .clientPredictionInconsistencyData(let l) = lhs, case .clientPredictionInconsistencyData(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.raidEndData, .raidEndData): return { - guard case .raidEndData(let l) = lhs, case .raidEndData(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public struct RaidClientLogInfo { - // 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. - - public var obLogType: RaidClientLogsProto.RaidClientLogInfo.LogType = .noType - - public var obRaidClientLogInfoUint321: UInt32 = 0 - - public var obRaidClientLogInfoUint322: UInt32 = 0 - - public var obRaidClientLogInfoFloat1: Float = 0 - - public var obRaidClientLogInfoFloat2: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum LogType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noType // = 0 - case joinLobbyRequest // = 1 - case joinLobbyResponse // = 2 - case leaveLobbyRequest // = 3 - case leaveLobbyResponse // = 4 - case lobbyVisibilityRequest // = 5 - case lobbyVisibilityResponse // = 6 - case getRaidDetailsRequest // = 7 - case getRaidDetailsResponse // = 8 - case startRaidBattleRequest // = 9 - case startRaidBattleResponse // = 10 - case attackRaidRequest // = 11 - case attackRaidResponse // = 12 - case sendRaidInvitationRequest // = 13 - case sendRaidInvitationResponse // = 14 - case onApplicationFocus // = 15 - case onApplicationPause // = 16 - case onApplicationQuit // = 17 - case exceptionCaught // = 18 - case progressToken // = 19 - case rpcError // = 20 - case clientPredictionInconsistency // = 21 - case playerEndRaid // = 22 - case UNRECOGNIZED(Int) - - public init() { - self = .noType - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noType - case 1: self = .joinLobbyRequest - case 2: self = .joinLobbyResponse - case 3: self = .leaveLobbyRequest - case 4: self = .leaveLobbyResponse - case 5: self = .lobbyVisibilityRequest - case 6: self = .lobbyVisibilityResponse - case 7: self = .getRaidDetailsRequest - case 8: self = .getRaidDetailsResponse - case 9: self = .startRaidBattleRequest - case 10: self = .startRaidBattleResponse - case 11: self = .attackRaidRequest - case 12: self = .attackRaidResponse - case 13: self = .sendRaidInvitationRequest - case 14: self = .sendRaidInvitationResponse - case 15: self = .onApplicationFocus - case 16: self = .onApplicationPause - case 17: self = .onApplicationQuit - case 18: self = .exceptionCaught - case 19: self = .progressToken - case 20: self = .rpcError - case 21: self = .clientPredictionInconsistency - case 22: self = .playerEndRaid - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noType: return 0 - case .joinLobbyRequest: return 1 - case .joinLobbyResponse: return 2 - case .leaveLobbyRequest: return 3 - case .leaveLobbyResponse: return 4 - case .lobbyVisibilityRequest: return 5 - case .lobbyVisibilityResponse: return 6 - case .getRaidDetailsRequest: return 7 - case .getRaidDetailsResponse: return 8 - case .startRaidBattleRequest: return 9 - case .startRaidBattleResponse: return 10 - case .attackRaidRequest: return 11 - case .attackRaidResponse: return 12 - case .sendRaidInvitationRequest: return 13 - case .sendRaidInvitationResponse: return 14 - case .onApplicationFocus: return 15 - case .onApplicationPause: return 16 - case .onApplicationQuit: return 17 - case .exceptionCaught: return 18 - case .progressToken: return 19 - case .rpcError: return 20 - case .clientPredictionInconsistency: return 21 - case .playerEndRaid: return 22 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension RaidClientLogsProto.RaidClientLogInfo.LogType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RaidClientLogsProto.RaidClientLogInfo.LogType] = [ - .noType, - .joinLobbyRequest, - .joinLobbyResponse, - .leaveLobbyRequest, - .leaveLobbyResponse, - .lobbyVisibilityRequest, - .lobbyVisibilityResponse, - .getRaidDetailsRequest, - .getRaidDetailsResponse, - .startRaidBattleRequest, - .startRaidBattleResponse, - .attackRaidRequest, - .attackRaidResponse, - .sendRaidInvitationRequest, - .sendRaidInvitationResponse, - .onApplicationFocus, - .onApplicationPause, - .onApplicationQuit, - .exceptionCaught, - .progressToken, - .rpcError, - .clientPredictionInconsistency, - .playerEndRaid, - ] -} - -#endif // swift(>=4.2) - -public struct RaidClientSettingsProto { - // 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. - - public var remoteRaidEnabled: Bool { - get {return _storage._remoteRaidEnabled} - set {_uniqueStorage()._remoteRaidEnabled = newValue} - } - - public var maxRemoteRaidPasses: Int32 { - get {return _storage._maxRemoteRaidPasses} - set {_uniqueStorage()._maxRemoteRaidPasses = newValue} - } - - public var remoteDamageModifier: Float { - get {return _storage._remoteDamageModifier} - set {_uniqueStorage()._remoteDamageModifier = newValue} - } - - public var remoteRaidsMinPlayerLevel: Int32 { - get {return _storage._remoteRaidsMinPlayerLevel} - set {_uniqueStorage()._remoteRaidsMinPlayerLevel = newValue} - } - - public var maxNumFriendInvites: Int32 { - get {return _storage._maxNumFriendInvites} - set {_uniqueStorage()._maxNumFriendInvites = newValue} - } - - public var friendInviteCutoffTimeSec: Int32 { - get {return _storage._friendInviteCutoffTimeSec} - set {_uniqueStorage()._friendInviteCutoffTimeSec = newValue} - } - - public var canInviteFriendsInPerson: Bool { - get {return _storage._canInviteFriendsInPerson} - set {_uniqueStorage()._canInviteFriendsInPerson = newValue} - } - - public var canInviteFriendsRemotely: Bool { - get {return _storage._canInviteFriendsRemotely} - set {_uniqueStorage()._canInviteFriendsRemotely = newValue} - } - - public var maxPlayersPerLobby: Int32 { - get {return _storage._maxPlayersPerLobby} - set {_uniqueStorage()._maxPlayersPerLobby = newValue} - } - - public var maxRemotePlayersPerLobby: Int32 { - get {return _storage._maxRemotePlayersPerLobby} - set {_uniqueStorage()._maxRemotePlayersPerLobby = newValue} - } - - public var inviteCooldownDurationMillis: Int64 { - get {return _storage._inviteCooldownDurationMillis} - set {_uniqueStorage()._inviteCooldownDurationMillis = newValue} - } - - public var maxNumFriendInvitesPerAction: Int32 { - get {return _storage._maxNumFriendInvitesPerAction} - set {_uniqueStorage()._maxNumFriendInvitesPerAction = newValue} - } - - public var unsupportedRaidLevelsForFriendInvites: [RaidLevel] { - get {return _storage._unsupportedRaidLevelsForFriendInvites} - set {_uniqueStorage()._unsupportedRaidLevelsForFriendInvites = newValue} - } - - public var unsupportedRemoteRaidLevels: [RaidLevel] { - get {return _storage._unsupportedRemoteRaidLevels} - set {_uniqueStorage()._unsupportedRemoteRaidLevels = newValue} - } - - public var isNearbyRaidNotificationDisabled: Bool { - get {return _storage._isNearbyRaidNotificationDisabled} - set {_uniqueStorage()._isNearbyRaidNotificationDisabled = newValue} - } - - public var obRepeatedString: [String] { - get {return _storage._obRepeatedString} - set {_uniqueStorage()._obRepeatedString = newValue} - } - - public var obRaidClientSetting: [ObRaidClientSetting] { - get {return _storage._obRaidClientSetting} - set {_uniqueStorage()._obRaidClientSetting = newValue} - } - - public var obRaidClientSetting1: ObRaidClientSetting1 { - get {return _storage._obRaidClientSetting1 ?? ObRaidClientSetting1()} - set {_uniqueStorage()._obRaidClientSetting1 = newValue} - } - /// Returns true if `obRaidClientSetting1` has been explicitly set. - public var hasObRaidClientSetting1: Bool {return _storage._obRaidClientSetting1 != nil} - /// Clears the value of `obRaidClientSetting1`. Subsequent reads from it will return its default value. - public mutating func clearObRaidClientSetting1() {_uniqueStorage()._obRaidClientSetting1 = nil} - - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } - - public var obBool2: Bool { - get {return _storage._obBool2} - set {_uniqueStorage()._obBool2 = newValue} - } - - public var obBool3: Bool { - get {return _storage._obBool3} - set {_uniqueStorage()._obBool3 = newValue} - } - - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } - - public var obBool4: Bool { - get {return _storage._obBool4} - set {_uniqueStorage()._obBool4 = newValue} - } - - public var obInt322: Int32 { - get {return _storage._obInt322} - set {_uniqueStorage()._obInt322 = newValue} - } - - public var obBool5: Bool { - get {return _storage._obBool5} - set {_uniqueStorage()._obBool5 = newValue} - } - - public var obInt323: Int32 { - get {return _storage._obInt323} - set {_uniqueStorage()._obInt323 = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct RaidCreateDetail { - // 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. - - public var isExclusive: Bool = false - - public var isMega: Bool = false - - public var playerCapturedS2CellID: Int64 = 0 - - public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidEncounterProto { - // 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. - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var encounterID: Int64 = 0 - - public var spawnpointID: String = String() - - public var captureProbabilities: CaptureProbabilityProto { - get {return _captureProbabilities ?? CaptureProbabilityProto()} - set {_captureProbabilities = newValue} - } - /// Returns true if `captureProbabilities` has been explicitly set. - public var hasCaptureProbabilities: Bool {return self._captureProbabilities != nil} - /// Clears the value of `captureProbabilities`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbabilities() {self._captureProbabilities = nil} - - public var throwsRemaining: Int32 = 0 - - public var raidLevel: RaidLevel = .unset - - public var fortID: String = String() - - public var isExclusive: Bool = false - - public var isEventLegendary: Bool = false - - public var raidBall: Item = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _captureProbabilities: CaptureProbabilityProto? = nil -} - -public struct RaidEndDataProto { - // 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. - - public var obRaidEndType: RaidEndDataProto.RaidEndType = .noEnd - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum RaidEndType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noEnd // = 0 - case leaveLobby // = 1 - case timeOut // = 2 - case encounterPokemonNotCaught // = 3 - case encounterPokemonCaught // = 4 - case withError // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .noEnd - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noEnd - case 1: self = .leaveLobby - case 2: self = .timeOut - case 3: self = .encounterPokemonNotCaught - case 4: self = .encounterPokemonCaught - case 5: self = .withError - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noEnd: return 0 - case .leaveLobby: return 1 - case .timeOut: return 2 - case .encounterPokemonNotCaught: return 3 - case .encounterPokemonCaught: return 4 - case .withError: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RaidEndDataProto.RaidEndType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RaidEndDataProto.RaidEndType] = [ - .noEnd, - .leaveLobby, - .timeOut, - .encounterPokemonNotCaught, - .encounterPokemonCaught, - .withError, - ] -} - -#endif // swift(>=4.2) - -public struct RaidInfoProto { - // 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. - - public var raidSeed: Int64 { - get {return _storage._raidSeed} - set {_uniqueStorage()._raidSeed = newValue} - } - - public var raidSpawnMs: Int64 { - get {return _storage._raidSpawnMs} - set {_uniqueStorage()._raidSpawnMs = newValue} - } - - public var raidBattleMs: Int64 { - get {return _storage._raidBattleMs} - set {_uniqueStorage()._raidBattleMs = newValue} - } - - public var raidEndMs: Int64 { - get {return _storage._raidEndMs} - set {_uniqueStorage()._raidEndMs = newValue} - } - - public var raidPokemon: PokemonProto { - get {return _storage._raidPokemon ?? PokemonProto()} - set {_uniqueStorage()._raidPokemon = newValue} - } - /// Returns true if `raidPokemon` has been explicitly set. - public var hasRaidPokemon: Bool {return _storage._raidPokemon != nil} - /// Clears the value of `raidPokemon`. Subsequent reads from it will return its default value. - public mutating func clearRaidPokemon() {_uniqueStorage()._raidPokemon = nil} - - public var raidLevel: RaidLevel { - get {return _storage._raidLevel} - set {_uniqueStorage()._raidLevel = newValue} - } - - public var complete: Bool { - get {return _storage._complete} - set {_uniqueStorage()._complete = newValue} - } - - public var isExclusive: Bool { - get {return _storage._isExclusive} - set {_uniqueStorage()._isExclusive = newValue} - } - - public var isRaidHidden: Bool { - get {return _storage._isRaidHidden} - set {_uniqueStorage()._isRaidHidden = newValue} - } - - public var isScheduledRaid: Bool { - get {return _storage._isScheduledRaid} - set {_uniqueStorage()._isScheduledRaid = newValue} - } - - public var isFree: Bool { - get {return _storage._isFree} - set {_uniqueStorage()._isFree = newValue} - } - - public var campaignID: String { - get {return _storage._campaignID} - set {_uniqueStorage()._campaignID = newValue} - } - - public var raidBall: Item { - get {return _storage._raidBall} - set {_uniqueStorage()._raidBall = newValue} - } - - public var visualEffects: [RaidVisualEffect] { - get {return _storage._visualEffects} - set {_uniqueStorage()._visualEffects = newValue} - } - - public var raidVisualLevel: Int64 { - get {return _storage._raidVisualLevel} - set {_uniqueStorage()._raidVisualLevel = newValue} - } - - public var raidVisualPlaqueType: RaidVisualType { - get {return _storage._raidVisualPlaqueType} - set {_uniqueStorage()._raidVisualPlaqueType = newValue} - } - - public var raidPlaquePipStyle: RaidPlaquePipStyle { - get {return _storage._raidPlaquePipStyle} - set {_uniqueStorage()._raidPlaquePipStyle = newValue} - } - - public var mascotCharacter: EnumWrapper.InvasionCharacter { - get {return _storage._mascotCharacter} - set {_uniqueStorage()._mascotCharacter = newValue} - } - - public var bootRaidEnabled: Bool { - get {return _storage._bootRaidEnabled} - set {_uniqueStorage()._bootRaidEnabled = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct RaidInvitationDetails { - // 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. - - public var gymID: String { - get {return _storage._gymID} - set {_uniqueStorage()._gymID = newValue} - } - - public var lobbyID: [Int32] { - get {return _storage._lobbyID} - set {_uniqueStorage()._lobbyID = newValue} - } - - public var raidSeed: Int64 { - get {return _storage._raidSeed} - set {_uniqueStorage()._raidSeed = newValue} - } - - public var raidInvitationExpireMs: Int64 { - get {return _storage._raidInvitationExpireMs} - set {_uniqueStorage()._raidInvitationExpireMs = newValue} - } - - public var raidLevel: RaidLevel { - get {return _storage._raidLevel} - set {_uniqueStorage()._raidLevel = newValue} - } - - public var gymName: String { - get {return _storage._gymName} - set {_uniqueStorage()._gymName = newValue} - } - - public var imageURL: String { - get {return _storage._imageURL} - set {_uniqueStorage()._imageURL = newValue} - } - - public var latitude: Double { - get {return _storage._latitude} - set {_uniqueStorage()._latitude = newValue} - } - - public var longitude: Double { - get {return _storage._longitude} - set {_uniqueStorage()._longitude = newValue} - } - - public var raidPokemonID: HoloPokemonId { - get {return _storage._raidPokemonID} - set {_uniqueStorage()._raidPokemonID = newValue} - } - - public var raidPokemonForm: PokemonDisplayProto.Form { - get {return _storage._raidPokemonForm} - set {_uniqueStorage()._raidPokemonForm = newValue} - } - - public var inviterID: String { - get {return _storage._inviterID} - set {_uniqueStorage()._inviterID = newValue} - } - - public var inviterNickname: String { - get {return _storage._inviterNickname} - set {_uniqueStorage()._inviterNickname = newValue} - } - - public var inviterAvatar: PlayerAvatarProto { - get {return _storage._inviterAvatar ?? PlayerAvatarProto()} - set {_uniqueStorage()._inviterAvatar = newValue} - } - /// Returns true if `inviterAvatar` has been explicitly set. - public var hasInviterAvatar: Bool {return _storage._inviterAvatar != nil} - /// Clears the value of `inviterAvatar`. Subsequent reads from it will return its default value. - public mutating func clearInviterAvatar() {_uniqueStorage()._inviterAvatar = nil} - - public var inviterTeam: Team { - get {return _storage._inviterTeam} - set {_uniqueStorage()._inviterTeam = newValue} - } - - public var raidPokemonTempEvoID: HoloTemporaryEvolutionId { - get {return _storage._raidPokemonTempEvoID} - set {_uniqueStorage()._raidPokemonTempEvoID = newValue} - } - - public var raidPokemonCostume: PokemonDisplayProto.Costume { - get {return _storage._raidPokemonCostume} - set {_uniqueStorage()._raidPokemonCostume = newValue} - } - - public var raidVisualLevel: Int64 { - get {return _storage._raidVisualLevel} - set {_uniqueStorage()._raidVisualLevel = newValue} - } - - public var inviterNeutralAvatar: PlayerNeutralAvatarProto { - get {return _storage._inviterNeutralAvatar ?? PlayerNeutralAvatarProto()} - set {_uniqueStorage()._inviterNeutralAvatar = newValue} - } - /// Returns true if `inviterNeutralAvatar` has been explicitly set. - public var hasInviterNeutralAvatar: Bool {return _storage._inviterNeutralAvatar != nil} - /// Clears the value of `inviterNeutralAvatar`. Subsequent reads from it will return its default value. - public mutating func clearInviterNeutralAvatar() {_uniqueStorage()._inviterNeutralAvatar = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct RaidInviteFriendsSettingsProto { - // 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. - - public var raidInviteMinLevel: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidLobbyCounterSettingsProto { - // 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. - - public var obBool1: Bool = false - - public var obInt321: Int32 = 0 - - public var obBool2: Bool = false - - public var obBool3: Bool = false - - public var obBool4: Bool = false - - public var obBool5: Bool = false - - public var obFloat: Float = 0 - - public var obInt322: Int32 = 0 - - public var obInt323: Int32 = 0 - - public var obString: String = String() - - public var obFloat1: Float = 0 - - public var obInt324: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidLobbyPlayerCountProto { - // 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. - - public var gymID: String = String() - - public var playerCount: Int32 = 0 - - public var lobbyJoinUntilMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidLoggingSettingsProto { - // 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. - - public var enabled: Bool = false - - public var enabledPokemon: Bool = false - - public var enabledLogging: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidParticipantProto { - // 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. - - public var data: RaidParticipantProto.OneOf_Data? = nil - - public var joinInformation: JoinInformationProto { - get { - if case .joinInformation(let v)? = data {return v} - return JoinInformationProto() - } - set {data = .joinInformation(newValue)} - } - - public var lobbyAvailability: LobbyAvailabilityProto { - get { - if case .lobbyAvailability(let v)? = data {return v} - return LobbyAvailabilityProto() - } - set {data = .lobbyAvailability(newValue)} - } - - public var obString: String = String() - - public var obInt64: Int64 = 0 - - public var obString1: String = String() - - public var obListInt32: [Int32] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Data: Equatable { - case joinInformation(JoinInformationProto) - case lobbyAvailability(LobbyAvailabilityProto) - - #if !swift(>=4.1) - public static func ==(lhs: RaidParticipantProto.OneOf_Data, rhs: RaidParticipantProto.OneOf_Data) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.joinInformation, .joinInformation): return { - guard case .joinInformation(let l) = lhs, case .joinInformation(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.lobbyAvailability, .lobbyAvailability): return { - guard case .lobbyAvailability(let l) = lhs, case .lobbyAvailability(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} -} - -public struct RaidPlayerStatProto { - // 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. - - public var statID: RaidPlayerStatProto.StatType { - get {return _storage._statID} - set {_uniqueStorage()._statID = newValue} - } - - public var playerProfile: PlayerPublicProfileProto { - get {return _storage._playerProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._playerProfile = newValue} - } - /// Returns true if `playerProfile` has been explicitly set. - public var hasPlayerProfile: Bool {return _storage._playerProfile != nil} - /// Clears the value of `playerProfile`. Subsequent reads from it will return its default value. - public mutating func clearPlayerProfile() {_uniqueStorage()._playerProfile = nil} - - public var statValue: Double { - get {return _storage._statValue} - set {_uniqueStorage()._statValue = newValue} - } - - public var pokemon: RaidPlayerStatsPokemonProto { - get {return _storage._pokemon ?? RaidPlayerStatsPokemonProto()} - set {_uniqueStorage()._pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return _storage._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {_uniqueStorage()._pokemon = nil} - - public var featured: Bool { - get {return _storage._featured} - set {_uniqueStorage()._featured = newValue} - } - - public var attackerIndex: Int32 { - get {return _storage._attackerIndex} - set {_uniqueStorage()._attackerIndex = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum StatType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetRaidStat // = 0 - case finalStrikePlayer // = 1 - case damageDealtPlayer // = 2 - case remoteDistancePlayer // = 4 - case useMegaEvoPlayer // = 5 - case useBuddyPlayer // = 6 - case customizeAvatarPlayer // = 7 - case numFriendsInRaidPlayer // = 8 - case recentWalkingDistancePlayer // = 10 - case numChargedAttacksPlayer // = 11 - case survivalDurationPokemon // = 15 - case pokemonHeightPokemon // = 22 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetRaidStat - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetRaidStat - case 1: self = .finalStrikePlayer - case 2: self = .damageDealtPlayer - case 4: self = .remoteDistancePlayer - case 5: self = .useMegaEvoPlayer - case 6: self = .useBuddyPlayer - case 7: self = .customizeAvatarPlayer - case 8: self = .numFriendsInRaidPlayer - case 10: self = .recentWalkingDistancePlayer - case 11: self = .numChargedAttacksPlayer - case 15: self = .survivalDurationPokemon - case 22: self = .pokemonHeightPokemon - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetRaidStat: return 0 - case .finalStrikePlayer: return 1 - case .damageDealtPlayer: return 2 - case .remoteDistancePlayer: return 4 - case .useMegaEvoPlayer: return 5 - case .useBuddyPlayer: return 6 - case .customizeAvatarPlayer: return 7 - case .numFriendsInRaidPlayer: return 8 - case .recentWalkingDistancePlayer: return 10 - case .numChargedAttacksPlayer: return 11 - case .survivalDurationPokemon: return 15 - case .pokemonHeightPokemon: return 22 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension RaidPlayerStatProto.StatType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RaidPlayerStatProto.StatType] = [ - .unsetRaidStat, - .finalStrikePlayer, - .damageDealtPlayer, - .remoteDistancePlayer, - .useMegaEvoPlayer, - .useBuddyPlayer, - .customizeAvatarPlayer, - .numFriendsInRaidPlayer, - .recentWalkingDistancePlayer, - .numChargedAttacksPlayer, - .survivalDurationPokemon, - .pokemonHeightPokemon, - ] -} - -#endif // swift(>=4.2) - -public struct RaidPlayerStatsPokemonProto { - // 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. - - public var holoPokemonID: HoloPokemonId = .missingno - - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil -} - -public struct RaidPlayerStatsProto { - // 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. - - public var stats: [RaidPlayerStatProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidProto { - // 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. - - public var raidSeed: Int64 = 0 - - public var startedMs: Int64 = 0 - - public var completedMs: Int64 = 0 - - public var encounterPokemonID: HoloPokemonId = .missingno - - public var completedBattle: Bool = false - - public var receivedRewards: Bool = false - - public var finishedEncounter: Bool = false - - public var receivedDefaultRewards: Bool = false - - public var incrementedRaidFriends: Bool = false - - public var completedBattleMs: Int64 = 0 - - public var isRemote: Bool = false - - public var rewardPokemon: PokemonProto { - get {return _rewardPokemon ?? PokemonProto()} - set {_rewardPokemon = newValue} - } - /// Returns true if `rewardPokemon` has been explicitly set. - public var hasRewardPokemon: Bool {return self._rewardPokemon != nil} - /// Clears the value of `rewardPokemon`. Subsequent reads from it will return its default value. - public mutating func clearRewardPokemon() {self._rewardPokemon = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _rewardPokemon: PokemonProto? = nil -} - -public struct RaidRewardsLogEntry { - // 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. - - public var result: RaidRewardsLogEntry.Result = .unset - - public var isExclusive: Bool = false - - public var items: [ItemProto] = [] - - public var defaultRewards: [ItemProto] = [] - - public var stardust: Int32 = 0 - - public var stickers: [LootItemProto] = [] - - public var isMega: Bool = false - - public var megaResource: PokemonCandyRewardProto { - get {return _megaResource ?? PokemonCandyRewardProto()} - set {_megaResource = newValue} - } - /// Returns true if `megaResource` has been explicitly set. - public var hasMegaResource: Bool {return self._megaResource != nil} - /// Clears the value of `megaResource`. Subsequent reads from it will return its default value. - public mutating func clearMegaResource() {self._megaResource = nil} - - public var tempEvoRaidStatus: RaidRewardsLogEntry.TempEvoRaidStatus = .none - - public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset - - public var defenderAlignment: PokemonDisplayProto.Alignment = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum TempEvoRaidStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case none // = 0 - case isMega // = 1 - case isPrimal // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .none - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .none - case 1: self = .isMega - case 2: self = .isPrimal - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .none: return 0 - case .isMega: return 1 - case .isPrimal: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _megaResource: PokemonCandyRewardProto? = nil -} - -#if swift(>=4.2) - -extension RaidRewardsLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RaidRewardsLogEntry.Result] = [ - .unset, - .success, - ] -} - -extension RaidRewardsLogEntry.TempEvoRaidStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RaidRewardsLogEntry.TempEvoRaidStatus] = [ - .none, - .isMega, - .isPrimal, - ] -} - -#endif // swift(>=4.2) - -public struct RaidTelemetry { - // 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. - - public var raidTelemetryID: RaidTelemetryIds = .undefinedRaidEvent - - public var bundleVersion: String = String() - - public var timeSinceEnterRaid: Float = 0 - - public var timeSinceLastRaidTelemetry: Float = 0 - - public var raidLevel: Int32 = 0 - - public var privateLobby: Bool = false - - public var ticketItem: String = String() - - public var numPlayersInLobby: Int32 = 0 - - public var battlePartyNumber: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidTicketProto { - // 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. - - public var ticketID: String = String() - - public var item: Item = .unknown - - public var exclusiveInfo: ExclusiveTicketInfoProto { - get {return _exclusiveInfo ?? ExclusiveTicketInfoProto()} - set {_exclusiveInfo = newValue} - } - /// Returns true if `exclusiveInfo` has been explicitly set. - public var hasExclusiveInfo: Bool {return self._exclusiveInfo != nil} - /// Clears the value of `exclusiveInfo`. Subsequent reads from it will return its default value. - public mutating func clearExclusiveInfo() {self._exclusiveInfo = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _exclusiveInfo: ExclusiveTicketInfoProto? = nil -} - -public struct RaidTicketSettingsProto { - // 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. - - public var consumeRaidTicketUponBattleStart: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidTicketsProto { - // 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. - - public var raidTicket: [RaidTicketProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RaidVisualEffect { - // 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. - - public var effectAssetKey: String = String() - - public var startMillis: Int64 = 0 - - public var stopMillis: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RangeProto { - // 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. - - public var min: Int32 = 0 - - public var max: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct Rasterization { - // 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. - - public var interval: [Rasterization.Interval] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct Interval { - // 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. - - public var y: Int32 = 0 - - public var leftX: Int32 = 0 - - public var rightX: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct ReadPointOfInterestDescriptionTelemetry { - // 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. - - public var result: String = String() - - public var fortID: String = String() - - public var fortType: Int32 = 0 - - public var partnerID: String = String() - - public var campaignID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ReassignPlayerOutProto { - // 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. - - public var result: ReassignPlayerOutProto.Result = .unset - - public var reassignedInstance: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ReassignPlayerOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReassignPlayerOutProto.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct ReassignPlayerProto { - // 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. - - public var currentInstance: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RecommendedSearchProto { - // 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. - - public var searchLabel: String = String() - - public var prependedSearchString: String = String() - - public var searchKey: String = String() - - public var appendedSearchString: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RectProto { - // 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. - - public var lo: PointProto { - get {return _lo ?? PointProto()} - set {_lo = newValue} - } - /// Returns true if `lo` has been explicitly set. - public var hasLo: Bool {return self._lo != nil} - /// Clears the value of `lo`. Subsequent reads from it will return its default value. - public mutating func clearLo() {self._lo = nil} - - public var hi: PointProto { - get {return _hi ?? PointProto()} - set {_hi = newValue} - } - /// Returns true if `hi` has been explicitly set. - public var hasHi: Bool {return self._hi != nil} - /// Clears the value of `hi`. Subsequent reads from it will return its default value. - public mutating func clearHi() {self._hi = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _lo: PointProto? = nil - fileprivate var _hi: PointProto? = nil -} - -public struct RecycleItemOutProto { - // 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. - - public var result: RecycleItemOutProto.Result = .unset - - public var newCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorNotEnoughCopies // = 2 - case errorCannotRecycleIncubators // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorNotEnoughCopies - case 3: self = .errorCannotRecycleIncubators - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorNotEnoughCopies: return 2 - case .errorCannotRecycleIncubators: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RecycleItemOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RecycleItemOutProto.Result] = [ - .unset, - .success, - .errorNotEnoughCopies, - .errorCannotRecycleIncubators, - ] -} - -#endif // swift(>=4.2) - -public struct RecycleItemProto { - // 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. - - public var item: Item = .unknown - - public var count: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RedeemAppleReceiptOutProto { - // 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. - - public var status: RedeemAppleReceiptOutProto.Status = .unset - - public var provisionedTransactionTokens: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RedeemAppleReceiptOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RedeemAppleReceiptOutProto.Status] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct RedeemAppleReceiptProto { - // 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. - - public var receipt: String = String() - - public var purchaseCurrency: String = String() - - public var pricePaidE6: Int32 = 0 - - public var pricePaidE6Long: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RedeemDesktopReceiptOutProto { - // 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. - - public var status: RedeemDesktopReceiptOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RedeemDesktopReceiptOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RedeemDesktopReceiptOutProto.Status] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct RedeemDesktopReceiptProto { - // 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. - - public var skuID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RedeemGoogleReceiptOutProto { - // 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. - - public var status: RedeemGoogleReceiptOutProto.Status = .unset - - public var transactionToken: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RedeemGoogleReceiptOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RedeemGoogleReceiptOutProto.Status] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct RedeemGoogleReceiptProto { - // 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. - - public var receipt: String = String() - - public var receiptSignature: String = String() - - public var purchaseCurrency: String = String() - - public var pricePaidE6: Int32 = 0 - - public var pricePaidE6Long: Int64 = 0 - - public var countryCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RedeemPasscodeRequestProto { - // 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. - - public var passcode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RedeemPasscodeResponseProto { - // 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. - - public var result: RedeemPasscodeResponseProto.Result = .unset - - public var acquiredItem: [RedeemPasscodeResponseProto.AcquiredItem] = [] - - public var acquiredItemsProto: Data = Data() - - public var passcode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case notAvailable // = 2 - case overInventoryLimit // = 3 - case alreadyRedeemed // = 4 - case overPlayerRedemptionLimit // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .notAvailable - case 3: self = .overInventoryLimit - case 4: self = .alreadyRedeemed - case 5: self = .overPlayerRedemptionLimit - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .notAvailable: return 2 - case .overInventoryLimit: return 3 - case .alreadyRedeemed: return 4 - case .overPlayerRedemptionLimit: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct AcquiredItem { - // 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. - - public var item: String = String() - - public var count: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -#if swift(>=4.2) - -extension RedeemPasscodeResponseProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RedeemPasscodeResponseProto.Result] = [ - .unset, - .success, - .notAvailable, - .overInventoryLimit, - .alreadyRedeemed, - .overPlayerRedemptionLimit, - ] -} - -#endif // swift(>=4.2) - -public struct RedeemPasscodeRewardProto { - // 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. - - public var items: [RedeemedItemProto] = [] - - public var avatarItems: [RedeemedAvatarItemProto] = [] - - public var eggPokemon: [PokemonProto] = [] - - public var pokemon: [PokemonProto] = [] - - public var pokeCandy: [PokeCandyProto] = [] - - public var stardust: Int32 = 0 - - public var pokecoins: Int32 = 0 - - public var badges: [HoloBadgeType] = [] - - public var redeemedStickers: [RedeemedStickerProto] = [] - - public var questIds: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RedeemSamsungReceiptOutProto { - // 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. - - public var status: RedeemSamsungReceiptOutProto.Status = .unset - - public var purchaseID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RedeemSamsungReceiptOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RedeemSamsungReceiptOutProto.Status] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct RedeemSamsungReceiptProto { - // 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. - - public var purchaseData: String = String() - - public var purchaseID: String = String() - - public var purchaseCurrency: String = String() - - public var pricePaidE6Long: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RedeemTicketGiftForFriendOutProto { - // 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. - - public var status: RedeemTicketGiftForFriendOutProto.Status = .unset - - public var giftingEligibility: GiftingEligibilityStatusProto { - get {return _giftingEligibility ?? GiftingEligibilityStatusProto()} - set {_giftingEligibility = newValue} - } - /// Returns true if `giftingEligibility` has been explicitly set. - public var hasGiftingEligibility: Bool {return self._giftingEligibility != nil} - /// Clears the value of `giftingEligibility`. Subsequent reads from it will return its default value. - public mutating func clearGiftingEligibility() {self._giftingEligibility = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case failureEligibility // = 3 - case failureGiftNotFound // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .failureEligibility - case 4: self = .failureGiftNotFound - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .failureEligibility: return 3 - case .failureGiftNotFound: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _giftingEligibility: GiftingEligibilityStatusProto? = nil -} - -#if swift(>=4.2) - -extension RedeemTicketGiftForFriendOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RedeemTicketGiftForFriendOutProto.Status] = [ - .unset, - .success, - .errorUnknown, - .failureEligibility, - .failureGiftNotFound, - ] -} - -#endif // swift(>=4.2) - -public struct RedeemTicketGiftForFriendProto { - // 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. - - public var giftingIapItem: GiftingIapItemProto { - get {return _giftingIapItem ?? GiftingIapItemProto()} - set {_giftingIapItem = newValue} - } - /// Returns true if `giftingIapItem` has been explicitly set. - public var hasGiftingIapItem: Bool {return self._giftingIapItem != nil} - /// Clears the value of `giftingIapItem`. Subsequent reads from it will return its default value. - public mutating func clearGiftingIapItem() {self._giftingIapItem = nil} - - public var recipientFriendID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _giftingIapItem: GiftingIapItemProto? = nil -} - -public struct RedeemXsollaReceiptRequestProto { - // 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. - - public var niaAccountID: String = String() - - public var receiptID: String = String() - - public var receiptContent: [RedeemXsollaReceiptRequestProto.ReceiptContent] = [] - - public var country: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct ReceiptContent { - // 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. - - public var skuID: String = String() - - public var quantity: Int32 = 0 - - public var storePrice: SkuStorePrice { - get {return _storePrice ?? SkuStorePrice()} - set {_storePrice = newValue} - } - /// Returns true if `storePrice` has been explicitly set. - public var hasStorePrice: Bool {return self._storePrice != nil} - /// Clears the value of `storePrice`. Subsequent reads from it will return its default value. - public mutating func clearStorePrice() {self._storePrice = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storePrice: SkuStorePrice? = nil - } - - public init() {} -} - -public struct RedeemXsollaReceiptResponseProto { - // 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. - - public var status: RedeemXsollaReceiptResponseProto.Status = .unset - - public var items: [GameItemContentProto] = [] - - public var currency: [CurrencyQuantityProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RedeemXsollaReceiptResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RedeemXsollaReceiptResponseProto.Status] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct RedeemedAvatarItemProto { - // 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. - - public var avatarTemplateID: String = String() - - public var itemCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RedeemedItemProto { - // 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. - - public var item: Item = .unknown - - public var itemCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RedeemedStickerProto { - // 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. - - public var stickerID: String = String() - - public var count: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ReferContactListFriendRequest { - // 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. - - public var contactMethod: SocialV2Enum.ContactMethod = .unset - - public var contactInfo: String = String() - - public var contactID: String = String() - - public var receiverName: String = String() - - public var appStoreLink: String = String() - - public var referral: ReferContactListFriendRequest.ReferralProto { - get {return _referral ?? ReferContactListFriendRequest.ReferralProto()} - set {_referral = newValue} - } - /// Returns true if `referral` has been explicitly set. - public var hasReferral: Bool {return self._referral != nil} - /// Clears the value of `referral`. Subsequent reads from it will return its default value. - public mutating func clearReferral() {self._referral = nil} - - public var countryCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct ReferralProto { - // 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. - - public var referralCode: String = String() - - public var referralLink: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _referral: ReferContactListFriendRequest.ReferralProto? = nil -} - -public struct ReferContactListFriendResponse { - // 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. - - public var result: ReferContactListFriendResponse.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorContactNotFound // = 3 - case errorFailedToSendEmail // = 4 - case errorExceedLimit // = 5 - case errorNoSenderName // = 6 - case errorInappropriateReceiverName // = 7 - case errorAlreadySignedUp // = 8 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorContactNotFound - case 4: self = .errorFailedToSendEmail - case 5: self = .errorExceedLimit - case 6: self = .errorNoSenderName - case 7: self = .errorInappropriateReceiverName - case 8: self = .errorAlreadySignedUp - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorContactNotFound: return 3 - case .errorFailedToSendEmail: return 4 - case .errorExceedLimit: return 5 - case .errorNoSenderName: return 6 - case .errorInappropriateReceiverName: return 7 - case .errorAlreadySignedUp: return 8 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ReferContactListFriendResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReferContactListFriendResponse.Result] = [ - .unset, - .success, - .errorUnknown, - .errorContactNotFound, - .errorFailedToSendEmail, - .errorExceedLimit, - .errorNoSenderName, - .errorInappropriateReceiverName, - .errorAlreadySignedUp, - ] -} - -#endif // swift(>=4.2) - -public struct ReferralMilestonesProto { - // 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. - - public var playerID: ReferralMilestonesProto.OneOf_PlayerID? = nil - - public var referrerPlayerID: String { - get { - if case .referrerPlayerID(let v)? = playerID {return v} - return String() - } - set {playerID = .referrerPlayerID(newValue)} - } - - public var refereePlayerID: String { - get { - if case .refereePlayerID(let v)? = playerID {return v} - return String() - } - set {playerID = .refereePlayerID(newValue)} - } - - public var milestonesTemplateID: String = String() - - public var version: Int32 = 0 - - public var milestone: Dictionary = [:] - - public var playerNiaID: ReferralMilestonesProto.OneOf_PlayerNiaID? = nil - - public var referrerNianticID: String { - get { - if case .referrerNianticID(let v)? = playerNiaID {return v} - return String() - } - set {playerNiaID = .referrerNianticID(newValue)} - } - - public var refereeNianticID: String { - get { - if case .refereeNianticID(let v)? = playerNiaID {return v} - return String() - } - set {playerNiaID = .refereeNianticID(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_PlayerID: Equatable { - case referrerPlayerID(String) - case refereePlayerID(String) - - #if !swift(>=4.1) - public static func ==(lhs: ReferralMilestonesProto.OneOf_PlayerID, rhs: ReferralMilestonesProto.OneOf_PlayerID) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.referrerPlayerID, .referrerPlayerID): return { - guard case .referrerPlayerID(let l) = lhs, case .referrerPlayerID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.refereePlayerID, .refereePlayerID): return { - guard case .refereePlayerID(let l) = lhs, case .refereePlayerID(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum OneOf_PlayerNiaID: Equatable { - case referrerNianticID(String) - case refereeNianticID(String) - - #if !swift(>=4.1) - public static func ==(lhs: ReferralMilestonesProto.OneOf_PlayerNiaID, rhs: ReferralMilestonesProto.OneOf_PlayerNiaID) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.referrerNianticID, .referrerNianticID): return { - guard case .referrerNianticID(let l) = lhs, case .referrerNianticID(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.refereeNianticID, .refereeNianticID): return { - guard case .refereeNianticID(let l) = lhs, case .refereeNianticID(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public struct MilestoneProto { - // 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. - - public var nameKey: String = String() - - public var status: ReferralMilestonesProto.MilestoneProto.Status = .unset - - public var reward: [Data] = [] - - public var milestoneTemplateID: String = String() - - public var version: Int32 = 0 - - public var nameTemplateVariable: [ReferralMilestonesProto.MilestoneProto.TemplateVariableProto] = [] - - public var viewedByClient: Bool = false - - public var createdTimestampMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case active // = 1 - case achieved // = 2 - case activeHidden // = 3 - case achievedHidden // = 4 - case rewardsClaimed // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .active - case 2: self = .achieved - case 3: self = .activeHidden - case 4: self = .achievedHidden - case 5: self = .rewardsClaimed - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .active: return 1 - case .achieved: return 2 - case .activeHidden: return 3 - case .achievedHidden: return 4 - case .rewardsClaimed: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct TemplateVariableProto { - // 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. - - public var name: String = String() - - public var literal: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - } - - public init() {} -} - -#if swift(>=4.2) - -extension ReferralMilestonesProto.MilestoneProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReferralMilestonesProto.MilestoneProto.Status] = [ - .unset, - .active, - .achieved, - .activeHidden, - .achievedHidden, - .rewardsClaimed, - ] -} - -#endif // swift(>=4.2) - -public struct ReferralProto { - // 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. - - public var referralCode: String = String() - - public var referralLink: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ReferralSettingsProto { - // 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. - - public var featureEnabled: Bool = false - - public var recentFeatures: [ReferralSettingsProto.RecentFeatureProto] = [] - - public var addReferrerGracePeriodMs: Int64 = 0 - - public var clientGetMilestoneIntervalMs: Int64 = 0 - - public var minNumDaysWithoutSessionForLapsedPlayer: Int32 = 0 - - public var referralLinkURL: String = String() - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct RecentFeatureProto { - // 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. - - public var iconType: BonusBoxProto.IconType = .unset - - public var featureName: String = String() - - public var description_p: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct ReferralTelemetry { - // 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. - - public var referralTelemetryID: ReferralTelemetryIds = .undefinedReferralEvent - - public var referralRole: ReferralRole = .undefined - - public var milestoneDescriptionStringKey: String = String() - - public var referralTelemetrySource: ReferralTelemetrySource = .undefinedSource - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RefreshProximityTokensRequestProto { - // 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. - - public var firstTokenStartTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RefreshProximityTokensResponseProto { - // 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. - - public var proximityToken: [ProximityToken] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RegisterBackgroundDeviceActionProto { - // 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. - - public var deviceType: String = String() - - public var deviceID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RegisterBackgroundDeviceResponseProto { - // 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. - - public var status: RegisterBackgroundDeviceResponseProto.Status = .unset - - public var token: BackgroundToken { - get {return _token ?? BackgroundToken()} - set {_token = newValue} - } - /// Returns true if `token` has been explicitly set. - public var hasToken: Bool {return self._token != nil} - /// Clears the value of `token`. Subsequent reads from it will return its default value. - public mutating func clearToken() {self._token = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _token: BackgroundToken? = nil -} - -#if swift(>=4.2) - -extension RegisterBackgroundDeviceResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RegisterBackgroundDeviceResponseProto.Status] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct RegisterBackgroundServiceRequestProto { - // 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. - - public var serviceName: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RegisterBackgroundServiceResponseProto { - // 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. - - public var status: RegisterBackgroundServiceResponseProto.Status = .unset - - public var data: RegisterBackgroundServiceResponseProto.RegisterData { - get {return _data ?? RegisterBackgroundServiceResponseProto.RegisterData()} - set {_data = newValue} - } - /// Returns true if `data` has been explicitly set. - public var hasData: Bool {return self._data != nil} - /// Clears the value of `data`. Subsequent reads from it will return its default value. - public mutating func clearData() {self._data = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct RegisterData { - // 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. - - public var token: Data = Data() - - public var expirationTime: Int64 = 0 - - public var iv: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _data: RegisterBackgroundServiceResponseProto.RegisterData? = nil -} - -#if swift(>=4.2) - -extension RegisterBackgroundServiceResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RegisterBackgroundServiceResponseProto.Status] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct RegisterSfidaRequest { - // 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. - - public var sfidaID: String = String() - - public var deviceType: RegisterSfidaRequest.DeviceType = .sfida - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum DeviceType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case sfida // = 0 - case palma // = 1 - case waina // = 2 - case unset // = -1 - case UNRECOGNIZED(Int) - - public init() { - self = .sfida - } - - public init?(rawValue: Int) { - switch rawValue { - case -1: self = .unset - case 0: self = .sfida - case 1: self = .palma - case 2: self = .waina - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return -1 - case .sfida: return 0 - case .palma: return 1 - case .waina: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RegisterSfidaRequest.DeviceType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RegisterSfidaRequest.DeviceType] = [ - .sfida, - .palma, - .waina, - .unset, - ] -} - -#endif // swift(>=4.2) - -public struct RegisterSfidaResponse { - // 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. - - public var accessToken: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ReleasePokemonOutProto { - // 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. - - public var status: ReleasePokemonOutProto.Status = .unset - - public var candyAwarded: Int32 = 0 - - public var xlCandyAwarded: Int32 = 0 - - public var xlCandyAwardedPerID: Dictionary = [:] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case pokemonDeployed // = 2 - case failed // = 3 - case errorPokemonIsEgg // = 4 - case errorPokemonIsBuddy // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .pokemonDeployed - case 3: self = .failed - case 4: self = .errorPokemonIsEgg - case 5: self = .errorPokemonIsBuddy - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .pokemonDeployed: return 2 - case .failed: return 3 - case .errorPokemonIsEgg: return 4 - case .errorPokemonIsBuddy: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ReleasePokemonOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReleasePokemonOutProto.Status] = [ - .unset, - .success, - .pokemonDeployed, - .failed, - .errorPokemonIsEgg, - .errorPokemonIsBuddy, - ] -} - -#endif // swift(>=4.2) - -public struct ReleasePokemonProto { - // 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. - - public var pokemonID: UInt64 = 0 - - public var pokemonIds: [UInt64] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ReleasePokemonTelemetry { - // 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. - - public var pokemon: PokemonTelemetry { - get {return _pokemon ?? PokemonTelemetry()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _pokemon: PokemonTelemetry? = nil -} - -public struct RemoteGiftPingRequestProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RemoteGiftPingResponseProto { - // 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. - - public var result: RemoteGiftPingResponseProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case stillInCoolDown // = 2 - case buddyNotSet // = 3 - case errorInventoryFull // = 4 - case errorNoRemoteGifts // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .stillInCoolDown - case 3: self = .buddyNotSet - case 4: self = .errorInventoryFull - case 5: self = .errorNoRemoteGifts - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .stillInCoolDown: return 2 - case .buddyNotSet: return 3 - case .errorInventoryFull: return 4 - case .errorNoRemoteGifts: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RemoteGiftPingResponseProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RemoteGiftPingResponseProto.Result] = [ - .unset, - .success, - .stillInCoolDown, - .buddyNotSet, - .errorInventoryFull, - .errorNoRemoteGifts, - ] -} - -#endif // swift(>=4.2) - -public struct RemoteRaidLimitSettingsProto { - // 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. - - public var enabled: Bool = false - - public var limit: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RemoteRaidTelemetry { - // 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. - - public var remoteRaidTelemetryID: RemoteRaidTelemetryIds = .undefinedRemoteRaidEvent - - public var remoteRaidJoinSource: RemoteRaidJoinSource = .undefinedRemoteRaidJoinSource - - public var remoteRaidInviteAcceptSource: RemoteRaidInviteAcceptSource = .undefinedRemoteRaidInviteAcceptSource - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RemoveFavoriteFriendRequest { - // 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. - - public var friendID: String = String() - - public var friendNiaAccountID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RemoveFavoriteFriendResponse { - // 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. - - public var result: RemoveFavoriteFriendResponse.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RemoveFavoriteFriendResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RemoveFavoriteFriendResponse.Result] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct RemoveFriendOutProto { - // 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. - - public var result: RemoveFriendOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPlayerDoesNotExistDeleted // = 2 - case errorPlayerNotAFriend // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPlayerDoesNotExistDeleted - case 3: self = .errorPlayerNotAFriend - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPlayerDoesNotExistDeleted: return 2 - case .errorPlayerNotAFriend: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RemoveFriendOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RemoveFriendOutProto.Result] = [ - .unset, - .success, - .errorPlayerDoesNotExistDeleted, - .errorPlayerNotAFriend, - ] -} - -#endif // swift(>=4.2) - -public struct RemoveFriendProto { - // 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. - - public var playerID: String = String() - - public var niaAccountID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RemoveLoginActionOutProto { - // 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. - - public var success: Bool = false - - public var loginDetail: [LoginDetail] = [] - - public var status: RemoveLoginActionOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case loginNotRemovable // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .loginNotRemovable - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .loginNotRemovable: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RemoveLoginActionOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RemoveLoginActionOutProto.Status] = [ - .unset, - .loginNotRemovable, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct RemoveLoginActionProto { - // 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. - - public var identityProvider: IdentityProvider = .unsetIdentityProvider - - public var authProviderID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RemoveQuestOutProto { - // 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. - - public var status: RemoveQuestOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorQuestNotFound // = 2 - case errorStoryQuestNotRemovable // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorQuestNotFound - case 3: self = .errorStoryQuestNotRemovable - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorQuestNotFound: return 2 - case .errorStoryQuestNotRemovable: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RemoveQuestOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RemoveQuestOutProto.Status] = [ - .unset, - .success, - .errorQuestNotFound, - .errorStoryQuestNotRemovable, - ] -} - -#endif // swift(>=4.2) - -public struct RemoveQuestProto { - // 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. - - public var questID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ReplaceLoginActionOutProto { - // 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. - - public var success: Bool = false - - public var loginDetail: [LoginDetail] = [] - - public var status: ReplaceLoginActionOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case authFailure // = 1 - case loginTaken // = 2 - case loginAlreadyHave // = 3 - case loginNotReplaceable // = 4 - case errorUnknown // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .authFailure - case 2: self = .loginTaken - case 3: self = .loginAlreadyHave - case 4: self = .loginNotReplaceable - case 5: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .authFailure: return 1 - case .loginTaken: return 2 - case .loginAlreadyHave: return 3 - case .loginNotReplaceable: return 4 - case .errorUnknown: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ReplaceLoginActionOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReplaceLoginActionOutProto.Status] = [ - .unset, - .authFailure, - .loginTaken, - .loginAlreadyHave, - .loginNotReplaceable, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct ReplaceLoginActionProto { - // 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. - - public var existingIdentityProvider: IdentityProvider = .unsetIdentityProvider - - public var newLogin: AddLoginActionProto { - get {return _newLogin ?? AddLoginActionProto()} - set {_newLogin = newValue} - } - /// Returns true if `newLogin` has been explicitly set. - public var hasNewLogin: Bool {return self._newLogin != nil} - /// Clears the value of `newLogin`. Subsequent reads from it will return its default value. - public mutating func clearNewLogin() {self._newLogin = nil} - - public var authProviderID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _newLogin: AddLoginActionProto? = nil -} - -public struct ReportAdFeedbackRequest { - // 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. - - public var gameID: String = String() - - public var userID: String = String() - - public var guid: String = String() - - public var encryptedAdToken: Data = Data() - - public var adFeedbackReport: ReportAdInteractionProto.AdFeedbackReport { - get {return _adFeedbackReport ?? ReportAdInteractionProto.AdFeedbackReport()} - set {_adFeedbackReport = newValue} - } - /// Returns true if `adFeedbackReport` has been explicitly set. - public var hasAdFeedbackReport: Bool {return self._adFeedbackReport != nil} - /// Clears the value of `adFeedbackReport`. Subsequent reads from it will return its default value. - public mutating func clearAdFeedbackReport() {self._adFeedbackReport = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _adFeedbackReport: ReportAdInteractionProto.AdFeedbackReport? = nil -} - -public struct ReportAdFeedbackResponse { - // 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. - - public var status: ReportAdFeedbackResponse.Status = .success - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case success // = 0 - case error // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .success - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .success - case 1: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .success: return 0 - case .error: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ReportAdFeedbackResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAdFeedbackResponse.Status] = [ - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct ReportAdInteractionProto { - // 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. - - public var interactionType: ReportAdInteractionProto.OneOf_InteractionType? = nil - - public var viewImpression: ReportAdInteractionProto.ViewImpressionInteraction { - get { - if case .viewImpression(let v)? = interactionType {return v} - return ReportAdInteractionProto.ViewImpressionInteraction() - } - set {interactionType = .viewImpression(newValue)} - } - - public var viewFullscreen: ReportAdInteractionProto.ViewFullscreenInteraction { - get { - if case .viewFullscreen(let v)? = interactionType {return v} - return ReportAdInteractionProto.ViewFullscreenInteraction() - } - set {interactionType = .viewFullscreen(newValue)} - } - - public var fullscreenInteraction: ReportAdInteractionProto.FullScreenInteraction { - get { - if case .fullscreenInteraction(let v)? = interactionType {return v} - return ReportAdInteractionProto.FullScreenInteraction() - } - set {interactionType = .fullscreenInteraction(newValue)} - } - - public var viewWebAr: ReportAdInteractionProto.ViewWebArInteraction { - get { - if case .viewWebAr(let v)? = interactionType {return v} - return ReportAdInteractionProto.ViewWebArInteraction() - } - set {interactionType = .viewWebAr(newValue)} - } - - public var ctaClicked: ReportAdInteractionProto.CTAClickInteraction { - get { - if case .ctaClicked(let v)? = interactionType {return v} - return ReportAdInteractionProto.CTAClickInteraction() - } - set {interactionType = .ctaClicked(newValue)} - } - - public var adSpawned: ReportAdInteractionProto.AdSpawnInteraction { - get { - if case .adSpawned(let v)? = interactionType {return v} - return ReportAdInteractionProto.AdSpawnInteraction() - } - set {interactionType = .adSpawned(newValue)} - } - - public var adDismissed: ReportAdInteractionProto.AdDismissalInteraction { - get { - if case .adDismissed(let v)? = interactionType {return v} - return ReportAdInteractionProto.AdDismissalInteraction() - } - set {interactionType = .adDismissed(newValue)} - } - - public var videoAdLoaded: ReportAdInteractionProto.VideoAdLoaded { - get { - if case .videoAdLoaded(let v)? = interactionType {return v} - return ReportAdInteractionProto.VideoAdLoaded() - } - set {interactionType = .videoAdLoaded(newValue)} - } - - public var videoAdBalloonOpened: ReportAdInteractionProto.VideoAdBalloonOpened { - get { - if case .videoAdBalloonOpened(let v)? = interactionType {return v} - return ReportAdInteractionProto.VideoAdBalloonOpened() - } - set {interactionType = .videoAdBalloonOpened(newValue)} - } - - public var videoAdClickedOnBalloonCta: ReportAdInteractionProto.VideoAdClickedOnBalloonCta { - get { - if case .videoAdClickedOnBalloonCta(let v)? = interactionType {return v} - return ReportAdInteractionProto.VideoAdClickedOnBalloonCta() - } - set {interactionType = .videoAdClickedOnBalloonCta(newValue)} - } - - public var videoAdOpened: ReportAdInteractionProto.VideoAdOpened { - get { - if case .videoAdOpened(let v)? = interactionType {return v} - return ReportAdInteractionProto.VideoAdOpened() - } - set {interactionType = .videoAdOpened(newValue)} - } - - public var videoAdClosed: ReportAdInteractionProto.VideoAdClosed { - get { - if case .videoAdClosed(let v)? = interactionType {return v} - return ReportAdInteractionProto.VideoAdClosed() - } - set {interactionType = .videoAdClosed(newValue)} - } - - public var videoAdPlayerRewarded: ReportAdInteractionProto.VideoAdPlayerRewarded { - get { - if case .videoAdPlayerRewarded(let v)? = interactionType {return v} - return ReportAdInteractionProto.VideoAdPlayerRewarded() - } - set {interactionType = .videoAdPlayerRewarded(newValue)} - } - - public var videoAdCtaClicked: ReportAdInteractionProto.VideoAdCTAClicked { - get { - if case .videoAdCtaClicked(let v)? = interactionType {return v} - return ReportAdInteractionProto.VideoAdCTAClicked() - } - set {interactionType = .videoAdCtaClicked(newValue)} - } - - public var videoAdRewardEligible: ReportAdInteractionProto.VideoAdRewardEligible { - get { - if case .videoAdRewardEligible(let v)? = interactionType {return v} - return ReportAdInteractionProto.VideoAdRewardEligible() - } - set {interactionType = .videoAdRewardEligible(newValue)} - } - - public var videoAdFailure: ReportAdInteractionProto.VideoAdFailure { - get { - if case .videoAdFailure(let v)? = interactionType {return v} - return ReportAdInteractionProto.VideoAdFailure() - } - set {interactionType = .videoAdFailure(newValue)} - } - - public var getRewardInfo: ReportAdInteractionProto.GetRewardInfo { - get { - if case .getRewardInfo(let v)? = interactionType {return v} - return ReportAdInteractionProto.GetRewardInfo() - } - set {interactionType = .getRewardInfo(newValue)} - } - - public var webArCameraPermissionResponse: ReportAdInteractionProto.WebArCameraPermissionResponse { - get { - if case .webArCameraPermissionResponse(let v)? = interactionType {return v} - return ReportAdInteractionProto.WebArCameraPermissionResponse() - } - set {interactionType = .webArCameraPermissionResponse(newValue)} - } - - public var webArCameraPermissionRequestSent: ReportAdInteractionProto.WebArCameraPermissionRequestSent { - get { - if case .webArCameraPermissionRequestSent(let v)? = interactionType {return v} - return ReportAdInteractionProto.WebArCameraPermissionRequestSent() - } - set {interactionType = .webArCameraPermissionRequestSent(newValue)} - } - - public var webArAudienceDeviceStatus: ReportAdInteractionProto.WebArAudienceDeviceStatus { - get { - if case .webArAudienceDeviceStatus(let v)? = interactionType {return v} - return ReportAdInteractionProto.WebArAudienceDeviceStatus() - } - set {interactionType = .webArAudienceDeviceStatus(newValue)} - } - - public var gameID: String = String() - - public var userID: String = String() - - public var guid: String = String() - - public var encryptedAdToken: Data = Data() - - public var adType: ReportAdInteractionProto.AdType = .unknown - - public var googleManagedAd: ReportAdInteractionProto.GoogleManagedAdDetails { - get {return _googleManagedAd ?? ReportAdInteractionProto.GoogleManagedAdDetails()} - set {_googleManagedAd = newValue} - } - /// Returns true if `googleManagedAd` has been explicitly set. - public var hasGoogleManagedAd: Bool {return self._googleManagedAd != nil} - /// Clears the value of `googleManagedAd`. Subsequent reads from it will return its default value. - public mutating func clearGoogleManagedAd() {self._googleManagedAd = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_InteractionType: Equatable { - case viewImpression(ReportAdInteractionProto.ViewImpressionInteraction) - case viewFullscreen(ReportAdInteractionProto.ViewFullscreenInteraction) - case fullscreenInteraction(ReportAdInteractionProto.FullScreenInteraction) - case viewWebAr(ReportAdInteractionProto.ViewWebArInteraction) - case ctaClicked(ReportAdInteractionProto.CTAClickInteraction) - case adSpawned(ReportAdInteractionProto.AdSpawnInteraction) - case adDismissed(ReportAdInteractionProto.AdDismissalInteraction) - case videoAdLoaded(ReportAdInteractionProto.VideoAdLoaded) - case videoAdBalloonOpened(ReportAdInteractionProto.VideoAdBalloonOpened) - case videoAdClickedOnBalloonCta(ReportAdInteractionProto.VideoAdClickedOnBalloonCta) - case videoAdOpened(ReportAdInteractionProto.VideoAdOpened) - case videoAdClosed(ReportAdInteractionProto.VideoAdClosed) - case videoAdPlayerRewarded(ReportAdInteractionProto.VideoAdPlayerRewarded) - case videoAdCtaClicked(ReportAdInteractionProto.VideoAdCTAClicked) - case videoAdRewardEligible(ReportAdInteractionProto.VideoAdRewardEligible) - case videoAdFailure(ReportAdInteractionProto.VideoAdFailure) - case getRewardInfo(ReportAdInteractionProto.GetRewardInfo) - case webArCameraPermissionResponse(ReportAdInteractionProto.WebArCameraPermissionResponse) - case webArCameraPermissionRequestSent(ReportAdInteractionProto.WebArCameraPermissionRequestSent) - case webArAudienceDeviceStatus(ReportAdInteractionProto.WebArAudienceDeviceStatus) - - #if !swift(>=4.1) - public static func ==(lhs: ReportAdInteractionProto.OneOf_InteractionType, rhs: ReportAdInteractionProto.OneOf_InteractionType) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.viewImpression, .viewImpression): return { - guard case .viewImpression(let l) = lhs, case .viewImpression(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.viewFullscreen, .viewFullscreen): return { - guard case .viewFullscreen(let l) = lhs, case .viewFullscreen(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.fullscreenInteraction, .fullscreenInteraction): return { - guard case .fullscreenInteraction(let l) = lhs, case .fullscreenInteraction(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.viewWebAr, .viewWebAr): return { - guard case .viewWebAr(let l) = lhs, case .viewWebAr(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.ctaClicked, .ctaClicked): return { - guard case .ctaClicked(let l) = lhs, case .ctaClicked(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.adSpawned, .adSpawned): return { - guard case .adSpawned(let l) = lhs, case .adSpawned(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.adDismissed, .adDismissed): return { - guard case .adDismissed(let l) = lhs, case .adDismissed(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoAdLoaded, .videoAdLoaded): return { - guard case .videoAdLoaded(let l) = lhs, case .videoAdLoaded(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoAdBalloonOpened, .videoAdBalloonOpened): return { - guard case .videoAdBalloonOpened(let l) = lhs, case .videoAdBalloonOpened(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoAdClickedOnBalloonCta, .videoAdClickedOnBalloonCta): return { - guard case .videoAdClickedOnBalloonCta(let l) = lhs, case .videoAdClickedOnBalloonCta(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoAdOpened, .videoAdOpened): return { - guard case .videoAdOpened(let l) = lhs, case .videoAdOpened(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoAdClosed, .videoAdClosed): return { - guard case .videoAdClosed(let l) = lhs, case .videoAdClosed(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoAdPlayerRewarded, .videoAdPlayerRewarded): return { - guard case .videoAdPlayerRewarded(let l) = lhs, case .videoAdPlayerRewarded(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoAdCtaClicked, .videoAdCtaClicked): return { - guard case .videoAdCtaClicked(let l) = lhs, case .videoAdCtaClicked(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoAdRewardEligible, .videoAdRewardEligible): return { - guard case .videoAdRewardEligible(let l) = lhs, case .videoAdRewardEligible(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.videoAdFailure, .videoAdFailure): return { - guard case .videoAdFailure(let l) = lhs, case .videoAdFailure(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.getRewardInfo, .getRewardInfo): return { - guard case .getRewardInfo(let l) = lhs, case .getRewardInfo(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.webArCameraPermissionResponse, .webArCameraPermissionResponse): return { - guard case .webArCameraPermissionResponse(let l) = lhs, case .webArCameraPermissionResponse(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.webArCameraPermissionRequestSent, .webArCameraPermissionRequestSent): return { - guard case .webArCameraPermissionRequestSent(let l) = lhs, case .webArCameraPermissionRequestSent(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.webArAudienceDeviceStatus, .webArAudienceDeviceStatus): return { - guard case .webArAudienceDeviceStatus(let l) = lhs, case .webArAudienceDeviceStatus(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum AdType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case sponsoredGift // = 1 - case sponsoredBalloon // = 2 - case sponsoredBalloonWasabi // = 3 - case sponsoredBalloonGoogleManagedAd // = 4 - case sponsoredBalloonArAd // = 5 - case sponsoredBalloonVideoAd // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .sponsoredGift - case 2: self = .sponsoredBalloon - case 3: self = .sponsoredBalloonWasabi - case 4: self = .sponsoredBalloonGoogleManagedAd - case 5: self = .sponsoredBalloonArAd - case 6: self = .sponsoredBalloonVideoAd - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .sponsoredGift: return 1 - case .sponsoredBalloon: return 2 - case .sponsoredBalloonWasabi: return 3 - case .sponsoredBalloonGoogleManagedAd: return 4 - case .sponsoredBalloonArAd: return 5 - case .sponsoredBalloonVideoAd: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct GoogleManagedAdDetails { - // 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. - - public var gamOrderID: String = String() - - public var gamLineItemID: String = String() - - public var gamCreativeID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct WebArCameraPermissionResponse { - // 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. - - public var allowCameraPermission: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct WebArCameraPermissionRequestSent { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct WebArAudienceDeviceStatus { - // 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. - - public var isWebcamEnabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct GetRewardInfo { - // 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. - - public var validGiftToken: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct AdFeedbackReport { - // 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. - - public var gamAdResponseID: String = String() - - public var feedback: [ReportAdInteractionProto.AdFeedback] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct AdFeedback { - // 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. - - public var content: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct ViewImpressionInteraction { - // 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. - - public var previewImageURL: String = String() - - public var isPersistedGift: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct ViewFullscreenInteraction { - // 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. - - public var fullscreenImageURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct ViewWebArInteraction { - // 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. - - public var webArURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct FullScreenInteraction { - // 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. - - public var fullscreenImageURL: String = String() - - public var totalResidenceTimeMs: Int64 = 0 - - public var timeAwayMs: Int64 = 0 - - public var tookScreenshot: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct CTAClickInteraction { - // 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. - - public var ctaURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct AdSpawnInteraction { - // 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. - - public var spawnSuccess: Bool = false - - public var adInhibitionType: ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType = .adInhibitionUnknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum AdInhibitionType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case adInhibitionUnknown // = 0 - case adInhibitionTrPreventsBalloonSpawn // = 1 - case adInhibitionClientError // = 2 - case adInhibitionDisabledInGmt // = 3 - case adInhibitionPlayerOptedOutOfAds // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .adInhibitionUnknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .adInhibitionUnknown - case 1: self = .adInhibitionTrPreventsBalloonSpawn - case 2: self = .adInhibitionClientError - case 3: self = .adInhibitionDisabledInGmt - case 4: self = .adInhibitionPlayerOptedOutOfAds - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .adInhibitionUnknown: return 0 - case .adInhibitionTrPreventsBalloonSpawn: return 1 - case .adInhibitionClientError: return 2 - case .adInhibitionDisabledInGmt: return 3 - case .adInhibitionPlayerOptedOutOfAds: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public struct AdDismissalInteraction { - // 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. - - public var adDismissalType: ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType = .adDismissalUnknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum AdDismissalType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case adDismissalUnknown // = 0 - case adDismissalTrDisplacesAdBalloon // = 1 - case adDismissalNewAdBalloonDisplacesOld // = 2 - case adDismissalAdBalloonAutoDismiss // = 3 - case adDismissalPlayerOptedOutOfAds // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .adDismissalUnknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .adDismissalUnknown - case 1: self = .adDismissalTrDisplacesAdBalloon - case 2: self = .adDismissalNewAdBalloonDisplacesOld - case 3: self = .adDismissalAdBalloonAutoDismiss - case 4: self = .adDismissalPlayerOptedOutOfAds - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .adDismissalUnknown: return 0 - case .adDismissalTrDisplacesAdBalloon: return 1 - case .adDismissalNewAdBalloonDisplacesOld: return 2 - case .adDismissalAdBalloonAutoDismiss: return 3 - case .adDismissalPlayerOptedOutOfAds: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public struct VideoAdLoaded { - // 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. - - public var totalLoadTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct VideoAdBalloonOpened { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct VideoAdClickedOnBalloonCta { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct VideoAdOpened { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct VideoAdClosed { - // 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. - - public var completeVideoWatched: Bool = false - - public var totalWatchTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct VideoAdPlayerRewarded { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct VideoAdCTAClicked { - // 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. - - public var ctaURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct VideoAdRewardEligible { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct VideoAdFailure { - // 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. - - public var failureType: ReportAdInteractionProto.VideoAdFailure.FailureType = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum FailureType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case videoLoadFailure // = 1 - case videoRewardFailure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .videoLoadFailure - case 2: self = .videoRewardFailure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .videoLoadFailure: return 1 - case .videoRewardFailure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public init() {} - - fileprivate var _googleManagedAd: ReportAdInteractionProto.GoogleManagedAdDetails? = nil -} - -#if swift(>=4.2) - -extension ReportAdInteractionProto.AdType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAdInteractionProto.AdType] = [ - .unknown, - .sponsoredGift, - .sponsoredBalloon, - .sponsoredBalloonWasabi, - .sponsoredBalloonGoogleManagedAd, - .sponsoredBalloonArAd, - .sponsoredBalloonVideoAd, - ] -} - -extension ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType] = [ - .adInhibitionUnknown, - .adInhibitionTrPreventsBalloonSpawn, - .adInhibitionClientError, - .adInhibitionDisabledInGmt, - .adInhibitionPlayerOptedOutOfAds, - ] -} - -extension ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType] = [ - .adDismissalUnknown, - .adDismissalTrDisplacesAdBalloon, - .adDismissalNewAdBalloonDisplacesOld, - .adDismissalAdBalloonAutoDismiss, - .adDismissalPlayerOptedOutOfAds, - ] -} - -extension ReportAdInteractionProto.VideoAdFailure.FailureType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAdInteractionProto.VideoAdFailure.FailureType] = [ - .unknown, - .videoLoadFailure, - .videoRewardFailure, - ] -} - -#endif // swift(>=4.2) - -public struct ReportAdInteractionResponse { - // 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. - - public var status: ReportAdInteractionResponse.Status = .success - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case success // = 0 - case malformed // = 1 - case expired // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .success - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .success - case 1: self = .malformed - case 2: self = .expired - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .success: return 0 - case .malformed: return 1 - case .expired: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ReportAdInteractionResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAdInteractionResponse.Status] = [ - .success, - .malformed, - .expired, - ] -} - -#endif // swift(>=4.2) - -public struct ReportAttributeData { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ContentType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefinedContent // = 0 - case text // = 1 - case image // = 2 - case generic // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .undefinedContent - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefinedContent - case 1: self = .text - case 2: self = .image - case 3: self = .generic - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefinedContent: return 0 - case .text: return 1 - case .image: return 2 - case .generic: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum Origin: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefinedOrigin // = 0 - case publicChat // = 1 - case privateChat // = 2 - case generalImage // = 3 - case codename // = 4 - case name // = 5 - case post // = 6 - case privateGroupChat // = 7 - case flareChat // = 8 - case user // = 9 - case group // = 10 - case event // = 11 - case channel // = 12 - case UNRECOGNIZED(Int) - - public init() { - self = .undefinedOrigin - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefinedOrigin - case 1: self = .publicChat - case 2: self = .privateChat - case 3: self = .generalImage - case 4: self = .codename - case 5: self = .name - case 6: self = .post - case 7: self = .privateGroupChat - case 8: self = .flareChat - case 9: self = .user - case 10: self = .group - case 11: self = .event - case 12: self = .channel - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefinedOrigin: return 0 - case .publicChat: return 1 - case .privateChat: return 2 - case .generalImage: return 3 - case .codename: return 4 - case .name: return 5 - case .post: return 6 - case .privateGroupChat: return 7 - case .flareChat: return 8 - case .user: return 9 - case .group: return 10 - case .event: return 11 - case .channel: return 12 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum Severity: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefinedSeverity // = 0 - case low // = 1 - case medium // = 2 - case high // = 3 - case extreme // = 4 - case none // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .undefinedSeverity - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefinedSeverity - case 1: self = .low - case 2: self = .medium - case 3: self = .high - case 4: self = .extreme - case 5: self = .none - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefinedSeverity: return 0 - case .low: return 1 - case .medium: return 2 - case .high: return 3 - case .extreme: return 4 - case .none: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefinedStatus // = 0 - case `open` // = 1 - case reviewed // = 2 - case closed // = 3 - case escalated // = 4 - case openAssigned // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .undefinedStatus - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefinedStatus - case 1: self = .open - case 2: self = .reviewed - case 3: self = .closed - case 4: self = .escalated - case 5: self = .openAssigned - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefinedStatus: return 0 - case .open: return 1 - case .reviewed: return 2 - case .closed: return 3 - case .escalated: return 4 - case .openAssigned: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum TypeEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefinedReport // = 0 - case blockReport // = 1 - case profanityReport // = 2 - case flagReport // = 3 - case logReport // = 4 - case opsManual // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .undefinedReport - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefinedReport - case 1: self = .blockReport - case 2: self = .profanityReport - case 3: self = .flagReport - case 4: self = .logReport - case 5: self = .opsManual - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefinedReport: return 0 - case .blockReport: return 1 - case .profanityReport: return 2 - case .flagReport: return 3 - case .logReport: return 4 - case .opsManual: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ReportAttributeData.ContentType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAttributeData.ContentType] = [ - .undefinedContent, - .text, - .image, - .generic, - ] -} - -extension ReportAttributeData.Origin: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAttributeData.Origin] = [ - .undefinedOrigin, - .publicChat, - .privateChat, - .generalImage, - .codename, - .name, - .post, - .privateGroupChat, - .flareChat, - .user, - .group, - .event, - .channel, - ] -} - -extension ReportAttributeData.Severity: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAttributeData.Severity] = [ - .undefinedSeverity, - .low, - .medium, - .high, - .extreme, - .none, - ] -} - -extension ReportAttributeData.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAttributeData.Status] = [ - .undefinedStatus, - .open, - .reviewed, - .closed, - .escalated, - .openAssigned, - ] -} - -extension ReportAttributeData.TypeEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReportAttributeData.TypeEnum] = [ - .undefinedReport, - .blockReport, - .profanityReport, - .flagReport, - .logReport, - .opsManual, - ] -} - -#endif // swift(>=4.2) - -public struct ReportInfoWrapper { - // 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. - - public var appID: String = String() - - public var reportUuid: String = String() - - public var offenderID: String = String() - - public var severity: ReportAttributeData.Severity = .undefinedSeverity - - public var type: ReportAttributeData.TypeEnum = .undefinedReport - - public var offendingMessage: String = String() - - public var createdTimestampMs: Int64 = 0 - - public var languageCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ReportProximityContactsRequestProto { - // 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. - - public var contacts: [ProximityContact] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ReportProximityContactsResponseProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ReputationSystemAttributes { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum SystemType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefinedSystemType // = 0 - case chat // = 1 - case imageOnly // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .undefinedSystemType - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefinedSystemType - case 1: self = .chat - case 2: self = .imageOnly - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefinedSystemType: return 0 - case .chat: return 1 - case .imageOnly: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ReputationSystemAttributes.SystemType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ReputationSystemAttributes.SystemType] = [ - .undefinedSystemType, - .chat, - .imageOnly, - ] -} - -#endif // swift(>=4.2) - -public struct Response { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case appNotFound // = 2 - case playerDataNotFound // = 3 - case reportNotFound // = 4 - case failure // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .appNotFound - case 3: self = .playerDataNotFound - case 4: self = .reportNotFound - case 5: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .appNotFound: return 2 - case .playerDataNotFound: return 3 - case .reportNotFound: return 4 - case .failure: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension Response.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Response.Status] = [ - .unset, - .success, - .appNotFound, - .playerDataNotFound, - .reportNotFound, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct ReviveAttributesProto { - // 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. - - public var staPercent: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RewardsPerContestProto { - // 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. - - public var contestID: String = String() - - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _rewards: LootProto? = nil -} - -public struct RoadMetadata { - // 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. - - public var isTunnel: Bool = false - - public var railwayIsSiding: Bool = false - - public var network: String = String() - - public var shieldText: String = String() - - public var route: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RocketBalloonDisplayProto { - // 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. - - public var type: RocketBalloonDisplayProto.BalloonType = .rocket - - public var incidentDisplay: RocketBalloonIncidentDisplayProto { - get {return _incidentDisplay ?? RocketBalloonIncidentDisplayProto()} - set {_incidentDisplay = newValue} - } - /// Returns true if `incidentDisplay` has been explicitly set. - public var hasIncidentDisplay: Bool {return self._incidentDisplay != nil} - /// Clears the value of `incidentDisplay`. Subsequent reads from it will return its default value. - public mutating func clearIncidentDisplay() {self._incidentDisplay = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum BalloonType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case rocket // = 0 - case rocketB // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .rocket - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .rocket - case 1: self = .rocketB - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .rocket: return 0 - case .rocketB: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _incidentDisplay: RocketBalloonIncidentDisplayProto? = nil -} - -#if swift(>=4.2) - -extension RocketBalloonDisplayProto.BalloonType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RocketBalloonDisplayProto.BalloonType] = [ - .rocket, - .rocketB, - ] -} - -#endif // swift(>=4.2) - -public struct RocketBalloonGlobalSettingsProto { - // 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. - - public var minPlayerLevel: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RocketBalloonIncidentDisplayProto { - // 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. - - public var incidentID: String = String() - - public var incidentDisplayType: IncidentDisplayType = .none - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RotateGuestLoginSecretTokenRequestProto { - // 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. - - public var secret: Data = Data() - - public var apiKey: String = String() - - public var deviceID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RotateGuestLoginSecretTokenResponseProto { - // 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. - - public var status: RotateGuestLoginSecretTokenResponseProto.Status = .unset - - public var newSecret: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case unknownError // = 2 - case unauthorized // = 3 - case invalidAuthToken // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .unknownError - case 3: self = .unauthorized - case 4: self = .invalidAuthToken - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .unknownError: return 2 - case .unauthorized: return 3 - case .invalidAuthToken: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RotateGuestLoginSecretTokenResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RotateGuestLoginSecretTokenResponseProto.Status] = [ - .unset, - .success, - .unknownError, - .unauthorized, - .invalidAuthToken, - ] -} - -#endif // swift(>=4.2) - -public struct RouteActivityRequestProto { - // 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. - - public var requestData: RouteActivityRequestProto.OneOf_RequestData? = nil - - public var pokemonTradeRequest: RouteActivityRequestProto.PokemonTradeRequest { - get { - if case .pokemonTradeRequest(let v)? = requestData {return v} - return RouteActivityRequestProto.PokemonTradeRequest() - } - set {requestData = .pokemonTradeRequest(newValue)} - } - - public var pokemonCompareRequest: RouteActivityRequestProto.PokemonCompareRequest { - get { - if case .pokemonCompareRequest(let v)? = requestData {return v} - return RouteActivityRequestProto.PokemonCompareRequest() - } - set {requestData = .pokemonCompareRequest(newValue)} - } - - public var giftTradeRequest: RouteActivityRequestProto.GiftTradeRequest { - get { - if case .giftTradeRequest(let v)? = requestData {return v} - return RouteActivityRequestProto.GiftTradeRequest() - } - set {requestData = .giftTradeRequest(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_RequestData: Equatable { - case pokemonTradeRequest(RouteActivityRequestProto.PokemonTradeRequest) - case pokemonCompareRequest(RouteActivityRequestProto.PokemonCompareRequest) - case giftTradeRequest(RouteActivityRequestProto.GiftTradeRequest) - - #if !swift(>=4.1) - public static func ==(lhs: RouteActivityRequestProto.OneOf_RequestData, rhs: RouteActivityRequestProto.OneOf_RequestData) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pokemonTradeRequest, .pokemonTradeRequest): return { - guard case .pokemonTradeRequest(let l) = lhs, case .pokemonTradeRequest(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonCompareRequest, .pokemonCompareRequest): return { - guard case .pokemonCompareRequest(let l) = lhs, case .pokemonCompareRequest(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.giftTradeRequest, .giftTradeRequest): return { - guard case .giftTradeRequest(let l) = lhs, case .giftTradeRequest(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public struct GiftTradeRequest { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct PokemonCompareRequest { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct PokemonTradeRequest { - // 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. - - public var pokemonID: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct RouteActivityResponseProto { - // 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. - - public var responseData: RouteActivityResponseProto.OneOf_ResponseData? = nil - - public var pokemonTradeResponse: RouteActivityResponseProto.PokemonTradeResponse { - get { - if case .pokemonTradeResponse(let v)? = responseData {return v} - return RouteActivityResponseProto.PokemonTradeResponse() - } - set {responseData = .pokemonTradeResponse(newValue)} - } - - public var pokemonCompareResponse: RouteActivityResponseProto.PokemonCompareResponse { - get { - if case .pokemonCompareResponse(let v)? = responseData {return v} - return RouteActivityResponseProto.PokemonCompareResponse() - } - set {responseData = .pokemonCompareResponse(newValue)} - } - - public var giftTradeResponse: RouteActivityResponseProto.GiftTradeResponse { - get { - if case .giftTradeResponse(let v)? = responseData {return v} - return RouteActivityResponseProto.GiftTradeResponse() - } - set {responseData = .giftTradeResponse(newValue)} - } - - public var activityReward: LootProto { - get {return _activityReward ?? LootProto()} - set {_activityReward = newValue} - } - /// Returns true if `activityReward` has been explicitly set. - public var hasActivityReward: Bool {return self._activityReward != nil} - /// Clears the value of `activityReward`. Subsequent reads from it will return its default value. - public mutating func clearActivityReward() {self._activityReward = nil} - - public var postcardData: ActivityPostcardData { - get {return _postcardData ?? ActivityPostcardData()} - set {_postcardData = newValue} - } - /// Returns true if `postcardData` has been explicitly set. - public var hasPostcardData: Bool {return self._postcardData != nil} - /// Clears the value of `postcardData`. Subsequent reads from it will return its default value. - public mutating func clearPostcardData() {self._postcardData = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_ResponseData: Equatable { - case pokemonTradeResponse(RouteActivityResponseProto.PokemonTradeResponse) - case pokemonCompareResponse(RouteActivityResponseProto.PokemonCompareResponse) - case giftTradeResponse(RouteActivityResponseProto.GiftTradeResponse) - - #if !swift(>=4.1) - public static func ==(lhs: RouteActivityResponseProto.OneOf_ResponseData, rhs: RouteActivityResponseProto.OneOf_ResponseData) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pokemonTradeResponse, .pokemonTradeResponse): return { - guard case .pokemonTradeResponse(let l) = lhs, case .pokemonTradeResponse(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonCompareResponse, .pokemonCompareResponse): return { - guard case .pokemonCompareResponse(let l) = lhs, case .pokemonCompareResponse(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.giftTradeResponse, .giftTradeResponse): return { - guard case .giftTradeResponse(let l) = lhs, case .giftTradeResponse(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public struct GiftTradeResponse { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct PokemonCompareResponse { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct PokemonTradeResponse { - // 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. - - public var result: RouteActivityResponseProto.PokemonTradeResponse.Result = .unset - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInvalidPokemon // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidPokemon - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInvalidPokemon: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - } - - public init() {} - - fileprivate var _activityReward: LootProto? = nil - fileprivate var _postcardData: ActivityPostcardData? = nil -} - -#if swift(>=4.2) - -extension RouteActivityResponseProto.PokemonTradeResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteActivityResponseProto.PokemonTradeResponse.Result] = [ - .unset, - .success, - .errorInvalidPokemon, - ] -} - -#endif // swift(>=4.2) - -public struct RouteActivityType { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ActivityType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case noActivity // = 1 - case activityPokemonTrade // = 2 - case activityPokemonCompare // = 3 - case activityGiftTrade // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .noActivity - case 2: self = .activityPokemonTrade - case 3: self = .activityPokemonCompare - case 4: self = .activityGiftTrade - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .noActivity: return 1 - case .activityPokemonTrade: return 2 - case .activityPokemonCompare: return 3 - case .activityGiftTrade: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RouteActivityType.ActivityType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteActivityType.ActivityType] = [ - .unset, - .noActivity, - .activityPokemonTrade, - .activityPokemonCompare, - .activityGiftTrade, - ] -} - -#endif // swift(>=4.2) - -public struct RouteBadgeLevel { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum BadgeLevel: SwiftProtobuf.Enum { - public typealias RawValue = Int - case routeBadgeUnset // = 0 - case routeBadgeBronze // = 1 - case routeBadgeSilver // = 2 - case routeBadgeGold // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .routeBadgeUnset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .routeBadgeUnset - case 1: self = .routeBadgeBronze - case 2: self = .routeBadgeSilver - case 3: self = .routeBadgeGold - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .routeBadgeUnset: return 0 - case .routeBadgeBronze: return 1 - case .routeBadgeSilver: return 2 - case .routeBadgeGold: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RouteBadgeLevel.BadgeLevel: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteBadgeLevel.BadgeLevel] = [ - .routeBadgeUnset, - .routeBadgeBronze, - .routeBadgeSilver, - .routeBadgeGold, - ] -} - -#endif // swift(>=4.2) - -public struct RouteBadgeListEntry { - // 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. - - public var routeID: String = String() - - public var routeType: RouteType = .unset - - public var startLat: Double = 0 - - public var startLng: Double = 0 - - public var routeName: String = String() - - public var routeImageURL: String = String() - - public var lastPlayEndTime: Int64 = 0 - - public var numCompletions: Int32 = 0 - - public var routeDurationSeconds: Int64 = 0 - - public var numUniqueStampsCollected: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteBadgeSettingsProto { - // 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. - - public var targets: [Int32] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteCreationProto { - // 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. - - public var createdTime: Int64 = 0 - - public var lastUpdateTime: Int64 = 0 - - public var status: RouteCreationProto.Status = .unset - - public var rejectionReason: [RouteCreationProto.RejectionReason] = [] - - public var rejectedHash: [Int64] = [] - - public var route: SharedRouteProto { - get {return _route ?? SharedRouteProto()} - set {_route = newValue} - } - /// Returns true if `route` has been explicitly set. - public var hasRoute: Bool {return self._route != nil} - /// Clears the value of `route`. Subsequent reads from it will return its default value. - public mutating func clearRoute() {self._route = nil} - - public var paused: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case inProgress // = 1 - case submitted // = 2 - case rejected // = 3 - case submittedPendingReview // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .inProgress - case 2: self = .submitted - case 3: self = .rejected - case 4: self = .submittedPendingReview - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .inProgress: return 1 - case .submitted: return 2 - case .rejected: return 3 - case .submittedPendingReview: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct RejectionReason { - // 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. - - public var reasonCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _route: SharedRouteProto? = nil -} - -#if swift(>=4.2) - -extension RouteCreationProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteCreationProto.Status] = [ - .unset, - .inProgress, - .submitted, - .rejected, - .submittedPendingReview, - ] -} - -#endif // swift(>=4.2) - -public struct RouteCreationsProto { - // 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. - - public var route: [RouteCreationProto] = [] - - public var isOfficialCreator: Bool = false - - public var recentlySubmittedRoute: [RouteCreationProto] = [] - - public var notEligible: Bool = false - - public var recentlySubmittedRoutesLastRefreshTimestampMs: Int64 = 0 - - public var moderationRetryTimestampMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteDiscoverySettingsProto { - // 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. - - public var nearbyVisibleRadiusMeters: Float = 0 - - public var minPlayerLevel: Int32 = 0 - - public var obFloat: Float = 0 - - public var obInt32: Int32 = 0 - - public var obInt321: Int32 = 0 - - public var obFloat1: Float = 0 - - public var obInt322: Int32 = 0 - - public var obInt323: Int32 = 0 - - public var obInt324: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteDiscoveryTelemetry { - // 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. - - public var routeDiscoveryTelemetryID: RouteDiscoveryTelemetryIds = .routeDiscoveryOpen - - public var percent: Double = 0 - - public var routeID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteErrorTelemetry { - // 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. - - public var routeErrorTelemetryID: RouteErrorTelemetryIds = .routeErrorDefault - - public var errorDescription: String = String() - - public var timestamp: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteGlobalSettingsProto { - // 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. - - public var enableRoutes: Bool = false - - public var enablePoiDetailCaching: Bool = false - - public var enableRoutePlay: Bool = false - - public var enableRouteTappables: Bool = false - - public var routeRatio: Float = 0 - - public var obFloat: Float = 0 - - public var minimumClientVersion: String = String() - - public var obString: String = String() - - public var obString1: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteImageProto { - // 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. - - public var imageURL: String = String() - - public var borderColorHex: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteMakerProto { - // 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. - - public var route: [RouteCreationProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RoutePin { - // 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. - - public var pinID: String = String() - - public var pinTag: String = String() - - public var frameID: String = String() - - public var latDegrees: Double = 0 - - public var lngDegrees: Double = 0 - - public var creatorInfo: CreatorInfo { - get {return _creatorInfo ?? CreatorInfo()} - set {_creatorInfo = newValue} - } - /// Returns true if `creatorInfo` has been explicitly set. - public var hasCreatorInfo: Bool {return self._creatorInfo != nil} - /// Clears the value of `creatorInfo`. Subsequent reads from it will return its default value. - public mutating func clearCreatorInfo() {self._creatorInfo = nil} - - public var lastUpdatedTimestampMs: Int64 = 0 - - public var likeVoteTotal: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _creatorInfo: CreatorInfo? = nil -} - -public struct RoutePlayProto { - // 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. - - public var route: SharedRouteProto { - get {return _storage._route ?? SharedRouteProto()} - set {_uniqueStorage()._route = newValue} - } - /// Returns true if `route` has been explicitly set. - public var hasRoute: Bool {return _storage._route != nil} - /// Clears the value of `route`. Subsequent reads from it will return its default value. - public mutating func clearRoute() {_uniqueStorage()._route = nil} - - public var playerBreadcrumbs: [RouteWaypointProto] { - get {return _storage._playerBreadcrumbs} - set {_uniqueStorage()._playerBreadcrumbs = newValue} - } - - public var playVersion: Int32 { - get {return _storage._playVersion} - set {_uniqueStorage()._playVersion = newValue} - } - - public var expirationTimeMs: Int64 { - get {return _storage._expirationTimeMs} - set {_uniqueStorage()._expirationTimeMs = newValue} - } - - public var startTimeMs: Int64 { - get {return _storage._startTimeMs} - set {_uniqueStorage()._startTimeMs = newValue} - } - - public var uniquelyAcquiredStampCount: Int32 { - get {return _storage._uniquelyAcquiredStampCount} - set {_uniqueStorage()._uniquelyAcquiredStampCount = newValue} - } - - public var completedWalk: Bool { - get {return _storage._completedWalk} - set {_uniqueStorage()._completedWalk = newValue} - } - - public var paused: Bool { - get {return _storage._paused} - set {_uniqueStorage()._paused = newValue} - } - - public var acquiredReward: Bool { - get {return _storage._acquiredReward} - set {_uniqueStorage()._acquiredReward = newValue} - } - - public var hasRated_p: Bool { - get {return _storage._hasRated_p} - set {_uniqueStorage()._hasRated_p = newValue} - } - - public var lastProgressTimeMs: Int64 { - get {return _storage._lastProgressTimeMs} - set {_uniqueStorage()._lastProgressTimeMs = newValue} - } - - public var isFirstTime: Bool { - get {return _storage._isFirstTime} - set {_uniqueStorage()._isFirstTime = newValue} - } - - public var activeBonuses: [BonusBoxProto] { - get {return _storage._activeBonuses} - set {_uniqueStorage()._activeBonuses = newValue} - } - - public var totalDistanceTravelledMeters: Double { - get {return _storage._totalDistanceTravelledMeters} - set {_uniqueStorage()._totalDistanceTravelledMeters = newValue} - } - - public var bonusDistanceTravelledMeters: Double { - get {return _storage._bonusDistanceTravelledMeters} - set {_uniqueStorage()._bonusDistanceTravelledMeters = newValue} - } - - public var spawnedTappables: [Tappable] { - get {return _storage._spawnedTappables} - set {_uniqueStorage()._spawnedTappables = newValue} - } - - public var travelInReverse: Bool { - get {return _storage._travelInReverse} - set {_uniqueStorage()._travelInReverse = newValue} - } - - public var isFirstTravelToday: Bool { - get {return _storage._isFirstTravelToday} - set {_uniqueStorage()._isFirstTravelToday = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct RoutePlaySettingsProto { - // 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. - - public var minPlayerLevel: Int32 { - get {return _storage._minPlayerLevel} - set {_uniqueStorage()._minPlayerLevel = newValue} - } - - public var routeCooldownMinutes: Int32 { - get {return _storage._routeCooldownMinutes} - set {_uniqueStorage()._routeCooldownMinutes = newValue} - } - - public var routeExpirationMinutes: Int32 { - get {return _storage._routeExpirationMinutes} - set {_uniqueStorage()._routeExpirationMinutes = newValue} - } - - public var routePauseDistanceM: Int32 { - get {return _storage._routePauseDistanceM} - set {_uniqueStorage()._routePauseDistanceM = newValue} - } - - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } - - public var obInt322: Int32 { - get {return _storage._obInt322} - set {_uniqueStorage()._obInt322 = newValue} - } - - public var obFloat1: Float { - get {return _storage._obFloat1} - set {_uniqueStorage()._obFloat1 = newValue} - } - - public var obFloat2: Float { - get {return _storage._obFloat2} - set {_uniqueStorage()._obFloat2 = newValue} - } - - public var obFloat3: Float { - get {return _storage._obFloat3} - set {_uniqueStorage()._obFloat3 = newValue} - } - - public var obEventList1: [BonusBoxProto] { - get {return _storage._obEventList1} - set {_uniqueStorage()._obEventList1 = newValue} - } - - public var obEventList2: [BonusBoxProto] { - get {return _storage._obEventList2} - set {_uniqueStorage()._obEventList2 = newValue} - } - - public var obInt32List1: [Int32] { - get {return _storage._obInt32List1} - set {_uniqueStorage()._obInt32List1 = newValue} - } - - public var obInt32List2: [Int32] { - get {return _storage._obInt32List2} - set {_uniqueStorage()._obInt32List2 = newValue} - } - - public var obInt323: Int32 { - get {return _storage._obInt323} - set {_uniqueStorage()._obInt323 = newValue} - } - - public var obInt324: Int32 { - get {return _storage._obInt324} - set {_uniqueStorage()._obInt324 = newValue} - } - - public var obFloat4: Float { - get {return _storage._obFloat4} - set {_uniqueStorage()._obFloat4 = newValue} - } - - public var obInt325: Int32 { - get {return _storage._obInt325} - set {_uniqueStorage()._obInt325 = newValue} - } - - public var obInt326: Int32 { - get {return _storage._obInt326} - set {_uniqueStorage()._obInt326 = newValue} - } - - public var obInt327: Int32 { - get {return _storage._obInt327} - set {_uniqueStorage()._obInt327 = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct RoutePlayStatus { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorRouteNotFound // = 3 - case errorFortNotFound // = 4 - case errorInvalidStartFort // = 5 - case errorWrongWaypoint // = 6 - case errorRoutePlayExpired // = 7 - case errorRouteInCooldown // = 8 - case errorRoutePlayNotFound // = 9 - case errorPlayerLevelTooLow // = 10 - case errorU13NoPermission // = 11 - case errorRouteClosed // = 12 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorRouteNotFound - case 4: self = .errorFortNotFound - case 5: self = .errorInvalidStartFort - case 6: self = .errorWrongWaypoint - case 7: self = .errorRoutePlayExpired - case 8: self = .errorRouteInCooldown - case 9: self = .errorRoutePlayNotFound - case 10: self = .errorPlayerLevelTooLow - case 11: self = .errorU13NoPermission - case 12: self = .errorRouteClosed - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorRouteNotFound: return 3 - case .errorFortNotFound: return 4 - case .errorInvalidStartFort: return 5 - case .errorWrongWaypoint: return 6 - case .errorRoutePlayExpired: return 7 - case .errorRouteInCooldown: return 8 - case .errorRoutePlayNotFound: return 9 - case .errorPlayerLevelTooLow: return 10 - case .errorU13NoPermission: return 11 - case .errorRouteClosed: return 12 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RoutePlayStatus.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RoutePlayStatus.Status] = [ - .unset, - .success, - .errorUnknown, - .errorRouteNotFound, - .errorFortNotFound, - .errorInvalidStartFort, - .errorWrongWaypoint, - .errorRoutePlayExpired, - .errorRouteInCooldown, - .errorRoutePlayNotFound, - .errorPlayerLevelTooLow, - .errorU13NoPermission, - .errorRouteClosed, - ] -} - -#endif // swift(>=4.2) - -public struct RoutePlayTappableSpawnedTelemetry { - // 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. - - public var type: Tappable.TappableType = .unset - - public var tappableID: Int64 = 0 - - public var routeID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RoutePoiAnchor { - // 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. - - public var anchor: RouteWaypointProto { - get {return _anchor ?? RouteWaypointProto()} - set {_anchor = newValue} - } - /// Returns true if `anchor` has been explicitly set. - public var hasAnchor: Bool {return self._anchor != nil} - /// Clears the value of `anchor`. Subsequent reads from it will return its default value. - public mutating func clearAnchor() {self._anchor = nil} - - public var imageURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _anchor: RouteWaypointProto? = nil -} - -public struct RouteSimplificationAlgorithm { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum SimplificationAlgorithm: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case douglasPeucker // = 1 - case visvalingamWhyatt // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .douglasPeucker - case 2: self = .visvalingamWhyatt - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .douglasPeucker: return 1 - case .visvalingamWhyatt: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RouteSimplificationAlgorithm.SimplificationAlgorithm: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteSimplificationAlgorithm.SimplificationAlgorithm] = [ - .unset, - .douglasPeucker, - .visvalingamWhyatt, - ] -} - -#endif // swift(>=4.2) - -public struct RouteStamp { - // 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. - - public var type: RouteStamp.TypeEnum = .unset - - public var color: RouteStamp.Color = .unset - - public var stampID: String = String() - - public var assetID: String = String() - - public var category: String = String() - - public var stampIndex: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Color: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case color179D62 // = 1 - case e10012 // = 2 - case color1365Ae // = 3 - case e89A05 // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .color179D62 - case 2: self = .e10012 - case 3: self = .color1365Ae - case 4: self = .e89A05 - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .color179D62: return 1 - case .e10012: return 2 - case .color1365Ae: return 3 - case .e89A05: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum TypeEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RouteStamp.Color: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteStamp.Color] = [ - .unset, - .color179D62, - .e10012, - .color1365Ae, - .e89A05, - ] -} - -extension RouteStamp.TypeEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteStamp.TypeEnum] = [ - .unset, - ] -} - -#endif // swift(>=4.2) - -public struct RouteStampCategorySettingsProto { - // 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. - - public var obString: String = String() - - public var category: String = String() - - public var obInt32: Int32 = 0 - - public var sortOrder: Int32 = 0 - - public var isRouteStampCategoryDefault: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteStats { - // 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. - - public var numCompletions: Int64 = 0 - - public var routeLevel: Int64 = 0 - - public var numFiveStars: Int64 = 0 - - public var numFourStars: Int64 = 0 - - public var numThreeStars: Int64 = 0 - - public var numTwoStars: Int64 = 0 - - public var numOneStars: Int64 = 0 - - public var numRatings: Int64 = 0 - - public var firstPlayedTimeMs: Int64 = 0 - - public var lastPlayedTimeMs: Int64 = 0 - - public var weeklyNumCompletions: Int64 = 0 - - public var totalDistanceTravelledMeters: Double = 0 - - public var weeklyDistanceTravelledMeters: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteSubmissionStats { - // 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. - - public var status: RouteSubmissionStats.Status = .unset - - public var submissionStatusUpdateTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case underReview // = 1 - case published // = 2 - case decayed // = 3 - case rejected // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .underReview - case 2: self = .published - case 3: self = .decayed - case 4: self = .rejected - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .underReview: return 1 - case .published: return 2 - case .decayed: return 3 - case .rejected: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RouteSubmissionStats.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteSubmissionStats.Status] = [ - .unset, - .underReview, - .published, - .decayed, - .rejected, - ] -} - -#endif // swift(>=4.2) - -public struct RouteSubmissionStatus { - // 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. - - public var status: RouteSubmissionStatus.Status = .unset - - public var submissionStatusUpdateTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case underReview // = 1 - case published // = 2 - case decayed // = 3 - case rejected // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .underReview - case 2: self = .published - case 3: self = .decayed - case 4: self = .rejected - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .underReview: return 1 - case .published: return 2 - case .decayed: return 3 - case .rejected: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RouteSubmissionStatus.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteSubmissionStatus.Status] = [ - .unset, - .underReview, - .published, - .decayed, - .rejected, - ] -} - -#endif // swift(>=4.2) - -public struct RouteValidation { - // 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. - - public var error: [RouteValidation.Error] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Error: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case invalidNumForts // = 1 - case invalidNumCheckpoints // = 2 - case invalidTotalDistance // = 3 - case invalidDistanceBetweenForts // = 4 - case invalidDistanceBetweenCheckpoints // = 5 - case invalidFort // = 6 - case duplicateForts // = 7 - case invalidStartOrEnd // = 8 - case invalidNameLength // = 9 - case invalidDescriptionLength // = 10 - case tooManyCheckpointsBetweenForts // = 11 - case invalidMainImage // = 12 - case badName // = 13 - case badDescription // = 14 - case endAnchorTooFar // = 15 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .invalidNumForts - case 2: self = .invalidNumCheckpoints - case 3: self = .invalidTotalDistance - case 4: self = .invalidDistanceBetweenForts - case 5: self = .invalidDistanceBetweenCheckpoints - case 6: self = .invalidFort - case 7: self = .duplicateForts - case 8: self = .invalidStartOrEnd - case 9: self = .invalidNameLength - case 10: self = .invalidDescriptionLength - case 11: self = .tooManyCheckpointsBetweenForts - case 12: self = .invalidMainImage - case 13: self = .badName - case 14: self = .badDescription - case 15: self = .endAnchorTooFar - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .invalidNumForts: return 1 - case .invalidNumCheckpoints: return 2 - case .invalidTotalDistance: return 3 - case .invalidDistanceBetweenForts: return 4 - case .invalidDistanceBetweenCheckpoints: return 5 - case .invalidFort: return 6 - case .duplicateForts: return 7 - case .invalidStartOrEnd: return 8 - case .invalidNameLength: return 9 - case .invalidDescriptionLength: return 10 - case .tooManyCheckpointsBetweenForts: return 11 - case .invalidMainImage: return 12 - case .badName: return 13 - case .badDescription: return 14 - case .endAnchorTooFar: return 15 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RouteValidation.Error: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RouteValidation.Error] = [ - .unset, - .invalidNumForts, - .invalidNumCheckpoints, - .invalidTotalDistance, - .invalidDistanceBetweenForts, - .invalidDistanceBetweenCheckpoints, - .invalidFort, - .duplicateForts, - .invalidStartOrEnd, - .invalidNameLength, - .invalidDescriptionLength, - .tooManyCheckpointsBetweenForts, - .invalidMainImage, - .badName, - .badDescription, - .endAnchorTooFar, - ] -} - -#endif // swift(>=4.2) - -public struct RouteWaypointProto { - // 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. - - public var fortID: String = String() - - public var latDegrees: Double = 0 - - public var lngDegrees: Double = 0 - - public var elevationInMeters: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RouteZoneUnkProto { - // 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. - - public var type: ZoneType = .unsetZone - - public var obInt32: Int32 = 0 - - public var status: PartyStatus = .partyUnknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RoutesCreationSettingsProto { - // 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. - - public var maxOpenRoutes: Int32 { - get {return _storage._maxOpenRoutes} - set {_uniqueStorage()._maxOpenRoutes = newValue} - } - - public var minStopsAmount: Int32 { - get {return _storage._minStopsAmount} - set {_uniqueStorage()._minStopsAmount = newValue} - } - - public var maxStopsAmount: Int32 { - get {return _storage._maxStopsAmount} - set {_uniqueStorage()._maxStopsAmount = newValue} - } - - public var minTotalDistanceM: Float { - get {return _storage._minTotalDistanceM} - set {_uniqueStorage()._minTotalDistanceM = newValue} - } - - public var maxTotalDistanceM: Float { - get {return _storage._maxTotalDistanceM} - set {_uniqueStorage()._maxTotalDistanceM = newValue} - } - - public var minDistanceBetweenStopsM: Float { - get {return _storage._minDistanceBetweenStopsM} - set {_uniqueStorage()._minDistanceBetweenStopsM = newValue} - } - - public var maxDistanceBetweenStopsM: Float { - get {return _storage._maxDistanceBetweenStopsM} - set {_uniqueStorage()._maxDistanceBetweenStopsM = newValue} - } - - public var maxTotalCheckpointAmount: Int32 { - get {return _storage._maxTotalCheckpointAmount} - set {_uniqueStorage()._maxTotalCheckpointAmount = newValue} - } - - public var maxCheckpointAmountBetweenTwoPoi: Int32 { - get {return _storage._maxCheckpointAmountBetweenTwoPoi} - set {_uniqueStorage()._maxCheckpointAmountBetweenTwoPoi = newValue} - } - - public var minDistanceBetweenCheckpointsM: Float { - get {return _storage._minDistanceBetweenCheckpointsM} - set {_uniqueStorage()._minDistanceBetweenCheckpointsM = newValue} - } - - public var maxDistanceBetweenCheckpointsM: Float { - get {return _storage._maxDistanceBetweenCheckpointsM} - set {_uniqueStorage()._maxDistanceBetweenCheckpointsM = newValue} - } - - public var allowCheckpointPerRouteDistance: Float { - get {return _storage._allowCheckpointPerRouteDistance} - set {_uniqueStorage()._allowCheckpointPerRouteDistance = newValue} - } - - public var checkpointRecommendationDistanceBetweenPois: Float { - get {return _storage._checkpointRecommendationDistanceBetweenPois} - set {_uniqueStorage()._checkpointRecommendationDistanceBetweenPois = newValue} - } - - public var maxNameLength: Int32 { - get {return _storage._maxNameLength} - set {_uniqueStorage()._maxNameLength = newValue} - } - - public var maxDescriptionLength: Int32 { - get {return _storage._maxDescriptionLength} - set {_uniqueStorage()._maxDescriptionLength = newValue} - } - - public var minPlayerLevel: UInt32 { - get {return _storage._minPlayerLevel} - set {_uniqueStorage()._minPlayerLevel = newValue} - } - - public var enabled: Bool { - get {return _storage._enabled} - set {_uniqueStorage()._enabled = newValue} - } - - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } - - public var obInt32: Int32 { - get {return _storage._obInt32} - set {_uniqueStorage()._obInt32 = newValue} - } - - public var obInt325: Int32 { - get {return _storage._obInt325} - set {_uniqueStorage()._obInt325 = newValue} - } - - public var obInt326: Int32 { - get {return _storage._obInt326} - set {_uniqueStorage()._obInt326 = newValue} - } - - public var obInt64: Int64 { - get {return _storage._obInt64} - set {_uniqueStorage()._obInt64 = newValue} - } - - public var obFloat3: Float { - get {return _storage._obFloat3} - set {_uniqueStorage()._obFloat3 = newValue} - } - - public var simplificationAlgorithm: RouteSimplificationAlgorithm.SimplificationAlgorithm { - get {return _storage._simplificationAlgorithm} - set {_uniqueStorage()._simplificationAlgorithm = newValue} - } - - public var obFloat4: Float { - get {return _storage._obFloat4} - set {_uniqueStorage()._obFloat4 = newValue} - } - - public var obInt327: Int32 { - get {return _storage._obInt327} - set {_uniqueStorage()._obInt327 = newValue} - } - - public var obInt328: Int32 { - get {return _storage._obInt328} - set {_uniqueStorage()._obInt328 = newValue} - } - - public var obBool3: Bool { - get {return _storage._obBool3} - set {_uniqueStorage()._obBool3 = newValue} - } - - public var obRoutesCreationProto2: RoutesCreationSettingsProto2 { - get {return _storage._obRoutesCreationProto2 ?? RoutesCreationSettingsProto2()} - set {_uniqueStorage()._obRoutesCreationProto2 = newValue} - } - /// Returns true if `obRoutesCreationProto2` has been explicitly set. - public var hasObRoutesCreationProto2: Bool {return _storage._obRoutesCreationProto2 != nil} - /// Clears the value of `obRoutesCreationProto2`. Subsequent reads from it will return its default value. - public mutating func clearObRoutesCreationProto2() {_uniqueStorage()._obRoutesCreationProto2 = nil} - - public var obListString: [String] { - get {return _storage._obListString} - set {_uniqueStorage()._obListString = newValue} - } - - public var obFloat: Float { - get {return _storage._obFloat} - set {_uniqueStorage()._obFloat = newValue} - } - - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } - - public var obInt329: Int32 { - get {return _storage._obInt329} - set {_uniqueStorage()._obInt329 = newValue} - } - - public var obInt3210: Int32 { - get {return _storage._obInt3210} - set {_uniqueStorage()._obInt3210 = newValue} - } - - public var obInt3211: Int32 { - get {return _storage._obInt3211} - set {_uniqueStorage()._obInt3211 = newValue} - } - - public var obFloat5: Float { - get {return _storage._obFloat5} - set {_uniqueStorage()._obFloat5 = newValue} - } - - public var obInt3212: Int32 { - get {return _storage._obInt3212} - set {_uniqueStorage()._obInt3212 = newValue} - } - - public var obFiled: RoutesCreationSettingsProto3 { - get {return _storage._obFiled ?? RoutesCreationSettingsProto3()} - set {_uniqueStorage()._obFiled = newValue} - } - /// Returns true if `obFiled` has been explicitly set. - public var hasObFiled: Bool {return _storage._obFiled != nil} - /// Clears the value of `obFiled`. Subsequent reads from it will return its default value. - public mutating func clearObFiled() {_uniqueStorage()._obFiled = nil} - - public var obInt641: Int64 { - get {return _storage._obInt641} - set {_uniqueStorage()._obInt641 = newValue} - } - - public var obInt642: Int64 { - get {return _storage._obInt642} - set {_uniqueStorage()._obInt642 = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct RoutesCreationSettingsProto2 { - // 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. - - public var obFloat1: Float = 0 - - public var obFloat2: Float = 0 - - public var obFloat3: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RoutesCreationSettingsProto3 { - // 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. - - public var obBool: Bool = false - - public var obInt321: Int32 = 0 - - public var obInt322: Int32 = 0 - - public var obFloat: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RpcErrorDataProto { - // 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. - - public var method: Method = .unset - - public var status: RpcErrorDataProto.Status = .undefined - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case success // = 1 - case badResponse // = 3 - case actionError // = 4 - case dispatchError // = 5 - case serverError // = 6 - case assignmentError // = 7 - case protocolError // = 8 - case authenticationError // = 9 - case cancelledRequest // = 10 - case unknownError // = 11 - case noretriesError // = 12 - case unauthorizedError // = 13 - case parsingError // = 14 - case accessDenied // = 15 - case accessSuspended // = 16 - case UNRECOGNIZED(Int) - - public init() { - self = .undefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 1: self = .success - case 3: self = .badResponse - case 4: self = .actionError - case 5: self = .dispatchError - case 6: self = .serverError - case 7: self = .assignmentError - case 8: self = .protocolError - case 9: self = .authenticationError - case 10: self = .cancelledRequest - case 11: self = .unknownError - case 12: self = .noretriesError - case 13: self = .unauthorizedError - case 14: self = .parsingError - case 15: self = .accessDenied - case 16: self = .accessSuspended - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .success: return 1 - case .badResponse: return 3 - case .actionError: return 4 - case .dispatchError: return 5 - case .serverError: return 6 - case .assignmentError: return 7 - case .protocolError: return 8 - case .authenticationError: return 9 - case .cancelledRequest: return 10 - case .unknownError: return 11 - case .noretriesError: return 12 - case .unauthorizedError: return 13 - case .parsingError: return 14 - case .accessDenied: return 15 - case .accessSuspended: return 16 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RpcErrorDataProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RpcErrorDataProto.Status] = [ - .undefined, - .success, - .badResponse, - .actionError, - .dispatchError, - .serverError, - .assignmentError, - .protocolError, - .authenticationError, - .cancelledRequest, - .unknownError, - .noretriesError, - .unauthorizedError, - .parsingError, - .accessDenied, - .accessSuspended, - ] -} - -#endif // swift(>=4.2) - -public struct RpcResponseTelemetry { - // 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. - - public var windowDuration: Float = 0 - - public var responseTimings: [RpcResponseTime] = [] - - public var connectionType: RpcResponseTelemetry.ConnectionType = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ConnectionType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case wifi // = 1 - case cellDefault // = 2 - case cell1G // = 3 - case cell2G // = 4 - case cell3G // = 5 - case cell4G // = 6 - case cell5G // = 7 - case cell6G // = 8 - case cell7G // = 9 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .wifi - case 2: self = .cellDefault - case 3: self = .cell1G - case 4: self = .cell2G - case 5: self = .cell3G - case 6: self = .cell4G - case 7: self = .cell5G - case 8: self = .cell6G - case 9: self = .cell7G - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .wifi: return 1 - case .cellDefault: return 2 - case .cell1G: return 3 - case .cell2G: return 4 - case .cell3G: return 5 - case .cell4G: return 6 - case .cell5G: return 7 - case .cell6G: return 8 - case .cell7G: return 9 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension RpcResponseTelemetry.ConnectionType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [RpcResponseTelemetry.ConnectionType] = [ - .unknown, - .wifi, - .cellDefault, - .cell1G, - .cell2G, - .cell3G, - .cell4G, - .cell5G, - .cell6G, - .cell7G, - ] -} - -#endif // swift(>=4.2) - -public struct RpcResponseTime { - // 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. - - public var rpcID: Method = .unset - - public var countCall: Int32 = 0 - - public var averageResponseTime: Float = 0 - - public var timeoutCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RpcSocketResponseTelemetry { - // 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. - - public var windowDuration: Float = 0 - - public var responseTimings: [RpcSocketResponseTime] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct RpcSocketResponseTime { - // 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. - - public var requestID: UInt64 = 0 - - public var probeID: String = String() - - public var responseTime: Float = 0 - - public var sideChannel: Bool = false - - public var adHoc: Bool = false - - public var adHocDelay: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SaveCombatPlayerPreferencesOutProto { - // 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. - - public var result: SaveCombatPlayerPreferencesOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SaveCombatPlayerPreferencesOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SaveCombatPlayerPreferencesOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct SaveCombatPlayerPreferencesProto { - // 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. - - public var preferences: CombatPlayerPreferencesProto { - get {return _preferences ?? CombatPlayerPreferencesProto()} - set {_preferences = newValue} - } - /// Returns true if `preferences` has been explicitly set. - public var hasPreferences: Bool {return self._preferences != nil} - /// Clears the value of `preferences`. Subsequent reads from it will return its default value. - public mutating func clearPreferences() {self._preferences = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _preferences: CombatPlayerPreferencesProto? = nil -} - -public struct SavePlayerPreferencesOutProto { - // 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. - - public var result: SavePlayerPreferencesOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SavePlayerPreferencesOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SavePlayerPreferencesOutProto.Result] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct SavePlayerPreferencesProto { - // 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. - - public var playerPreferencesProto: PlayerPreferencesProto { - get {return _playerPreferencesProto ?? PlayerPreferencesProto()} - set {_playerPreferencesProto = newValue} - } - /// Returns true if `playerPreferencesProto` has been explicitly set. - public var hasPlayerPreferencesProto: Bool {return self._playerPreferencesProto != nil} - /// Clears the value of `playerPreferencesProto`. Subsequent reads from it will return its default value. - public mutating func clearPlayerPreferencesProto() {self._playerPreferencesProto = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _playerPreferencesProto: PlayerPreferencesProto? = nil -} - -public struct SavePlayerSettingsOutProto { - // 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. - - public var result: SavePlayerSettingsOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SavePlayerSettingsOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SavePlayerSettingsOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct SavePlayerSettingsProto { - // 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. - - public var settings: PlayerSettingsProto { - get {return _settings ?? PlayerSettingsProto()} - set {_settings = newValue} - } - /// Returns true if `settings` has been explicitly set. - public var hasSettings: Bool {return self._settings != nil} - /// Clears the value of `settings`. Subsequent reads from it will return its default value. - public mutating func clearSettings() {self._settings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _settings: PlayerSettingsProto? = nil -} - -public struct SavePlayerSnapshotOutProto { - // 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. - - public var result: SavePlayerSnapshotOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case tooSoonToUpdate // = 2 - case errorFailedToUpdate // = 3 - case errorRequestTimedOut // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .tooSoonToUpdate - case 3: self = .errorFailedToUpdate - case 4: self = .errorRequestTimedOut - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .tooSoonToUpdate: return 2 - case .errorFailedToUpdate: return 3 - case .errorRequestTimedOut: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SavePlayerSnapshotOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SavePlayerSnapshotOutProto.Result] = [ - .unset, - .success, - .tooSoonToUpdate, - .errorFailedToUpdate, - .errorRequestTimedOut, - ] -} - -#endif // swift(>=4.2) - -public struct SavePlayerSnapshotProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SaveSocialPlayerSettingsOutProto { - // 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. - - public var result: SaveSocialPlayerSettingsOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SaveSocialPlayerSettingsOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SaveSocialPlayerSettingsOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct SaveSocialPlayerSettingsProto { - // 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. - - public var settings: SocialPlayerSettingsProto { - get {return _settings ?? SocialPlayerSettingsProto()} - set {_settings = newValue} - } - /// Returns true if `settings` has been explicitly set. - public var hasSettings: Bool {return self._settings != nil} - /// Clears the value of `settings`. Subsequent reads from it will return its default value. - public mutating func clearSettings() {self._settings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _settings: SocialPlayerSettingsProto? = nil -} - -public struct ScanCaptureEvent { - // 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. - - public var scanID: String = String() - - public var depthType: ScanCaptureEvent.Depth = .unknown - - public var scanTotalArea: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Depth: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case lidar // = 1 - case multidepth // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .lidar - case 2: self = .multidepth - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .lidar: return 1 - case .multidepth: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ScanCaptureEvent.Depth: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ScanCaptureEvent.Depth] = [ - .unknown, - .lidar, - .multidepth, - ] -} - -#endif // swift(>=4.2) - -public struct ScanProcessEvent { - // 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. - - public var scanID: String = String() - - public var reconstructionAlgo: String = String() - - public var meshFileSize: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ScanSaveEvent { - // 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. - - public var scanID: String = String() - - public var scanFileSize: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ScanUploadEvent { - // 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. - - public var scanID: String = String() - - public var scanChunkUuid: String = String() - - public var chunkOrder: Int32 = 0 - - public var internetType: ScanUploadEvent.Internet = .unknown - - public var fileSize: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Internet: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case mobile // = 1 - case wifi // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .mobile - case 2: self = .wifi - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .mobile: return 1 - case .wifi: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ScanUploadEvent.Internet: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ScanUploadEvent.Internet] = [ - .unknown, - .mobile, - .wifi, - ] -} - -#endif // swift(>=4.2) - -public struct ScanningFrameworkEvent { - // 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. - - public var scanID: String = String() - - public var operation: ScanningFrameworkEvent.Operation = .none - - public var operationState: ScanningFrameworkEvent.State = .unknown - - public var errorString: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Operation: SwiftProtobuf.Enum { - public typealias RawValue = Int - case none // = 0 - case initialization // = 1 - case capture // = 2 - case save // = 3 - case process // = 4 - case upload // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .none - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .none - case 1: self = .initialization - case 2: self = .capture - case 3: self = .save - case 4: self = .process - case 5: self = .upload - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .none: return 0 - case .initialization: return 1 - case .capture: return 2 - case .save: return 3 - case .process: return 4 - case .upload: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum State: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case started // = 1 - case paused // = 2 - case finished // = 4 - case canceled // = 5 - case error // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .started - case 2: self = .paused - case 4: self = .finished - case 5: self = .canceled - case 6: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .started: return 1 - case .paused: return 2 - case .finished: return 4 - case .canceled: return 5 - case .error: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ScanningFrameworkEvent.Operation: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ScanningFrameworkEvent.Operation] = [ - .none, - .initialization, - .capture, - .save, - .process, - .upload, - ] -} - -extension ScanningFrameworkEvent.State: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ScanningFrameworkEvent.State] = [ - .unknown, - .started, - .paused, - .finished, - .canceled, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct ScoreAdjustment { - // 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. - - public var isResolved: Bool = false - - public var details: String = String() - - public var adjustmentTimestampMs: Int64 = 0 - - public var author: String = String() - - public var adjustmentValue: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ScreenResolutionTelemetry { - // 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. - - public var deviceWidth: Int32 = 0 - - public var deviceHeight: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SearchFilterPreferenceProto { - // 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. - - public var recentSearches: [SearchFilterPreferenceProto.SearchFilterQueryProto] = [] - - public var favoriteSearches: [SearchFilterPreferenceProto.SearchFilterQueryProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct SearchFilterQueryProto { - // 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. - - public var title: String = String() - - public var query: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct SearchPlayerOutProto { - // 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. - - public var result: SearchPlayerOutProto.Result = .unset - - public var player: PlayerSummaryProto { - get {return _player ?? PlayerSummaryProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerNotFound // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerNotFound - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerNotFound: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _player: PlayerSummaryProto? = nil -} - -#if swift(>=4.2) - -extension SearchPlayerOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SearchPlayerOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorPlayerNotFound, - ] -} - -#endif // swift(>=4.2) - -public struct SearchPlayerProto { - // 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. - - public var friendCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SeasonContestsDefinitionSettingsProto { - // 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. - - public var seasonStartTimeMs: Int64 = 0 - - public var seasonEndTimeMs: Int64 = 0 - - public var cycle: [ContestCycleProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendContactListFriendInviteRequest { - // 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. - - public var emails: [String] = [] - - public var phoneNumbers: [String] = [] - - public var countryCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendContactListFriendInviteResponse { - // 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. - - public var result: SendContactListFriendInviteResponse.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerOutboxFull // = 3 - case errorPlayerInboxFull // = 4 - case errorSenderHasMaxFriends // = 5 - case errorReceiverHasMaxFriends // = 6 - case errorAlreadyAFriend // = 7 - case errorInviteAlreadySent // = 8 - case errorInviteAlreadyReceived // = 9 - case errorCannotSendInvitesToYourself // = 10 - case errorContactNotFound // = 11 - case errorReceiverNotFound // = 12 - case errorNoSenderName // = 13 - case errorSendToBlockedUser // = 14 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerOutboxFull - case 4: self = .errorPlayerInboxFull - case 5: self = .errorSenderHasMaxFriends - case 6: self = .errorReceiverHasMaxFriends - case 7: self = .errorAlreadyAFriend - case 8: self = .errorInviteAlreadySent - case 9: self = .errorInviteAlreadyReceived - case 10: self = .errorCannotSendInvitesToYourself - case 11: self = .errorContactNotFound - case 12: self = .errorReceiverNotFound - case 13: self = .errorNoSenderName - case 14: self = .errorSendToBlockedUser - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerOutboxFull: return 3 - case .errorPlayerInboxFull: return 4 - case .errorSenderHasMaxFriends: return 5 - case .errorReceiverHasMaxFriends: return 6 - case .errorAlreadyAFriend: return 7 - case .errorInviteAlreadySent: return 8 - case .errorInviteAlreadyReceived: return 9 - case .errorCannotSendInvitesToYourself: return 10 - case .errorContactNotFound: return 11 - case .errorReceiverNotFound: return 12 - case .errorNoSenderName: return 13 - case .errorSendToBlockedUser: return 14 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SendContactListFriendInviteResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SendContactListFriendInviteResponse.Result] = [ - .unset, - .success, - .errorUnknown, - .errorPlayerOutboxFull, - .errorPlayerInboxFull, - .errorSenderHasMaxFriends, - .errorReceiverHasMaxFriends, - .errorAlreadyAFriend, - .errorInviteAlreadySent, - .errorInviteAlreadyReceived, - .errorCannotSendInvitesToYourself, - .errorContactNotFound, - .errorReceiverNotFound, - .errorNoSenderName, - .errorSendToBlockedUser, - ] -} - -#endif // swift(>=4.2) - -public struct SendFriendInviteOutProto { - // 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. - - public var result: SendFriendInviteOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorAlreadyAFriend // = 3 - case errorPlayerDoesNotExistDeleted // = 4 - case errorPlayerInboxFull // = 5 - case errorPlayerOutboxFull // = 6 - case errorSenderHasMaxFriends // = 7 - case errorInviteAlreadySent // = 8 - case errorCannotSendInvitesToYourself // = 9 - case errorInviteAlreadyReceived // = 10 - case errorReceiverHasMaxFriends // = 11 - case errorSendToBlockedUser // = 12 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorAlreadyAFriend - case 4: self = .errorPlayerDoesNotExistDeleted - case 5: self = .errorPlayerInboxFull - case 6: self = .errorPlayerOutboxFull - case 7: self = .errorSenderHasMaxFriends - case 8: self = .errorInviteAlreadySent - case 9: self = .errorCannotSendInvitesToYourself - case 10: self = .errorInviteAlreadyReceived - case 11: self = .errorReceiverHasMaxFriends - case 12: self = .errorSendToBlockedUser - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorAlreadyAFriend: return 3 - case .errorPlayerDoesNotExistDeleted: return 4 - case .errorPlayerInboxFull: return 5 - case .errorPlayerOutboxFull: return 6 - case .errorSenderHasMaxFriends: return 7 - case .errorInviteAlreadySent: return 8 - case .errorCannotSendInvitesToYourself: return 9 - case .errorInviteAlreadyReceived: return 10 - case .errorReceiverHasMaxFriends: return 11 - case .errorSendToBlockedUser: return 12 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SendFriendInviteOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SendFriendInviteOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorAlreadyAFriend, - .errorPlayerDoesNotExistDeleted, - .errorPlayerInboxFull, - .errorPlayerOutboxFull, - .errorSenderHasMaxFriends, - .errorInviteAlreadySent, - .errorCannotSendInvitesToYourself, - .errorInviteAlreadyReceived, - .errorReceiverHasMaxFriends, - .errorSendToBlockedUser, - ] -} - -#endif // swift(>=4.2) - -public struct SendFriendInviteProto { - // 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. - - public var playerID: String = String() - - public var friendCode: String = String() - - public var readOnly: Bool = false - - public var niaAccountID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendFriendInviteViaReferralCodeOutProto { - // 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. - - public var status: SendFriendInviteViaReferralCodeOutProto.Status = .unset - - public var message: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case sent // = 1 - case errorUnknown // = 2 - case errorDisabled // = 3 - case errorInvalidReferralCode // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .sent - case 2: self = .errorUnknown - case 3: self = .errorDisabled - case 4: self = .errorInvalidReferralCode - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .sent: return 1 - case .errorUnknown: return 2 - case .errorDisabled: return 3 - case .errorInvalidReferralCode: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SendFriendInviteViaReferralCodeOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SendFriendInviteViaReferralCodeOutProto.Status] = [ - .unset, - .sent, - .errorUnknown, - .errorDisabled, - .errorInvalidReferralCode, - ] -} - -#endif // swift(>=4.2) - -public struct SendFriendInviteViaReferralCodeProto { - // 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. - - public var referralCode: String = String() - - public var readOnly: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendFriendRequestViaPlayerIdOutProto { - // 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. - - public var result: SendFriendRequestViaPlayerIdOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorInvalidPlayerID // = 3 - case errorFriendRequestsDisabled // = 4 - case errorAlreadyAFriend // = 5 - case errorPlayerDoesNotExistDeleted // = 6 - case errorPlayerInboxFull // = 7 - case errorPlayerOutboxFull // = 8 - case errorSenderHasMaxFriends // = 9 - case errorInviteAlreadySent // = 10 - case errorCannotSendInvitesToYourself // = 11 - case errorInviteAlreadyReceived // = 12 - case errorReceiverHasMaxFriends // = 13 - case errorSendToBlockedUser // = 14 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorInvalidPlayerID - case 4: self = .errorFriendRequestsDisabled - case 5: self = .errorAlreadyAFriend - case 6: self = .errorPlayerDoesNotExistDeleted - case 7: self = .errorPlayerInboxFull - case 8: self = .errorPlayerOutboxFull - case 9: self = .errorSenderHasMaxFriends - case 10: self = .errorInviteAlreadySent - case 11: self = .errorCannotSendInvitesToYourself - case 12: self = .errorInviteAlreadyReceived - case 13: self = .errorReceiverHasMaxFriends - case 14: self = .errorSendToBlockedUser - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorInvalidPlayerID: return 3 - case .errorFriendRequestsDisabled: return 4 - case .errorAlreadyAFriend: return 5 - case .errorPlayerDoesNotExistDeleted: return 6 - case .errorPlayerInboxFull: return 7 - case .errorPlayerOutboxFull: return 8 - case .errorSenderHasMaxFriends: return 9 - case .errorInviteAlreadySent: return 10 - case .errorCannotSendInvitesToYourself: return 11 - case .errorInviteAlreadyReceived: return 12 - case .errorReceiverHasMaxFriends: return 13 - case .errorSendToBlockedUser: return 14 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SendFriendRequestViaPlayerIdOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SendFriendRequestViaPlayerIdOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorInvalidPlayerID, - .errorFriendRequestsDisabled, - .errorAlreadyAFriend, - .errorPlayerDoesNotExistDeleted, - .errorPlayerInboxFull, - .errorPlayerOutboxFull, - .errorSenderHasMaxFriends, - .errorInviteAlreadySent, - .errorCannotSendInvitesToYourself, - .errorInviteAlreadyReceived, - .errorReceiverHasMaxFriends, - .errorSendToBlockedUser, - ] -} - -#endif // swift(>=4.2) - -public struct SendFriendRequestViaPlayerIdProto { - // 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. - - public var playerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendGiftLogEntry { - // 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. - - public var result: SendGiftLogEntry.Result = .unset - - public var friendCodename: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SendGiftLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SendGiftLogEntry.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct SendGiftOutProto { - // 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. - - public var result: SendGiftOutProto.Result = .unset - - public var awardedXp: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerDoesNotExist // = 3 - case errorGiftDoesNotExist // = 4 - case errorGiftAlreadySentToday // = 5 - case errorPlayerHasUnopenedGift // = 6 - case errorFriendUpdate // = 7 - case errorPlayerHasNoStickers // = 8 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerDoesNotExist - case 4: self = .errorGiftDoesNotExist - case 5: self = .errorGiftAlreadySentToday - case 6: self = .errorPlayerHasUnopenedGift - case 7: self = .errorFriendUpdate - case 8: self = .errorPlayerHasNoStickers - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerDoesNotExist: return 3 - case .errorGiftDoesNotExist: return 4 - case .errorGiftAlreadySentToday: return 5 - case .errorPlayerHasUnopenedGift: return 6 - case .errorFriendUpdate: return 7 - case .errorPlayerHasNoStickers: return 8 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SendGiftOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SendGiftOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorPlayerDoesNotExist, - .errorGiftDoesNotExist, - .errorGiftAlreadySentToday, - .errorPlayerHasUnopenedGift, - .errorFriendUpdate, - .errorPlayerHasNoStickers, - ] -} - -#endif // swift(>=4.2) - -public struct SendGiftProto { - // 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. - - public var giftboxID: UInt64 = 0 - - public var playerID: String = String() - - public var stickersSent: [StickerSentProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendProbeOutProto { - // 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. - - public var result: SendProbeOutProto.Result = .unset - - public var id: String = String() - - public var serverTimestampMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SendProbeOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SendProbeOutProto.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct SendProbeProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendRaidInvitationDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendRaidInvitationOutProto { - // 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. - - public var result: SendRaidInvitationOutProto.Result = .unset - - public var numFriendInvitesRemaining: Int32 = 0 - - public var friendsOverDailyLimit: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorNoPermission // = 2 - case errorGymNotFound // = 3 - case errorLobbyNotFound // = 4 - case errorPastCutOffTime // = 5 - case errorNoInvitesRemaining // = 6 - case errorLobbyFull // = 7 - case errorInviterNotFound // = 8 - case errorNoRemoteSlotsRemaining // = 9 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorNoPermission - case 3: self = .errorGymNotFound - case 4: self = .errorLobbyNotFound - case 5: self = .errorPastCutOffTime - case 6: self = .errorNoInvitesRemaining - case 7: self = .errorLobbyFull - case 8: self = .errorInviterNotFound - case 9: self = .errorNoRemoteSlotsRemaining - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorNoPermission: return 2 - case .errorGymNotFound: return 3 - case .errorLobbyNotFound: return 4 - case .errorPastCutOffTime: return 5 - case .errorNoInvitesRemaining: return 6 - case .errorLobbyFull: return 7 - case .errorInviterNotFound: return 8 - case .errorNoRemoteSlotsRemaining: return 9 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SendRaidInvitationOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SendRaidInvitationOutProto.Result] = [ - .unset, - .success, - .errorNoPermission, - .errorGymNotFound, - .errorLobbyNotFound, - .errorPastCutOffTime, - .errorNoInvitesRemaining, - .errorLobbyFull, - .errorInviterNotFound, - .errorNoRemoteSlotsRemaining, - ] -} - -#endif // swift(>=4.2) - -public struct SendRaidInvitationProto { - // 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. - - public var inviteeIds: [String] = [] - - public var gymID: String = String() - - public var lobbyID: [Int32] = [] - - public var gymLatDegrees: Double = 0 - - public var gymLngDegrees: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendRaidInvitationResponseDataProto { - // 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. - - public var result: SendRaidInvitationOutProto.Result = .unset - - public var obSendRaidInvitationDataInt32: Int32 = 0 - - public var obSendRaidInvitationDataInt322: Int32 = 0 - - public var obSendRaidInvitationDataUint32: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendSmsVerificationCodeRequest { - // 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. - - public var phoneNumber: String = String() - - public var countryCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SendSmsVerificationCodeResponse { - // 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. - - public var status: SendSmsVerificationCodeResponse.Status = .unset - - public var errorMessage: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorTooFrequentAttempts // = 3 - case errorTooManyAttempts // = 4 - case errorInvalidPhoneNumber // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorTooFrequentAttempts - case 4: self = .errorTooManyAttempts - case 5: self = .errorInvalidPhoneNumber - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorTooFrequentAttempts: return 3 - case .errorTooManyAttempts: return 4 - case .errorInvalidPhoneNumber: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SendSmsVerificationCodeResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SendSmsVerificationCodeResponse.Status] = [ - .unset, - .success, - .errorUnknown, - .errorTooFrequentAttempts, - .errorTooManyAttempts, - .errorInvalidPhoneNumber, - ] -} - -#endif // swift(>=4.2) - -public struct ServerData { - // 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. - - public var userID: String = String() - - public var telemetryID: String = String() - - public var sessionID: String = String() - - public var requestID: String = String() - - public var serverTimestampMs: Int64 = 0 - - public var clientRequestID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ServerRecordMetadata { - // 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. - - public var userID: String = String() - - public var telemetryName: String = String() - - public var sessionID: String = String() - - public var experimentIds: [Int32] = [] - - public var requestID: String = String() - - public var serverTimestampMs: Int64 = 0 - - public var analyticsExperimentIds: [String] = [] - - public var clientRequestID: String = String() - - public var userPopulationGroupIds: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ServiceDescriptorProto { - // 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. - - public var name: String = String() - - public var method: [MethodDescriptorProto] = [] - - public var options: ServiceOptions { - get {return _options ?? ServiceOptions()} - set {_options = newValue} - } - /// Returns true if `options` has been explicitly set. - public var hasOptions: Bool {return self._options != nil} - /// Clears the value of `options`. Subsequent reads from it will return its default value. - public mutating func clearOptions() {self._options = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _options: ServiceOptions? = nil -} - -public struct ServiceOptions { - // 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. - - public var deprecated: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetAccountContactSettingsRequest { - // 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. - - public var fullName: String = String() - - public var contactImportDiscoverabilityConsent: AccountContactSettings.ConsentStatus = .unknown - - public var updateFieldMask: FieldMask { - get {return _updateFieldMask ?? FieldMask()} - set {_updateFieldMask = newValue} - } - /// Returns true if `updateFieldMask` has been explicitly set. - public var hasUpdateFieldMask: Bool {return self._updateFieldMask != nil} - /// Clears the value of `updateFieldMask`. Subsequent reads from it will return its default value. - public mutating func clearUpdateFieldMask() {self._updateFieldMask = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _updateFieldMask: FieldMask? = nil -} - -public struct SetAccountContactSettingsResponse { - // 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. - - public var status: SetAccountContactSettingsResponse.Status = .unset - - public var errorMessage: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case nameNotAllowed // = 3 - case nameAbusive // = 4 - case nameInvalid // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .nameNotAllowed - case 4: self = .nameAbusive - case 5: self = .nameInvalid - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .nameNotAllowed: return 3 - case .nameAbusive: return 4 - case .nameInvalid: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SetAccountContactSettingsResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetAccountContactSettingsResponse.Status] = [ - .unset, - .success, - .errorUnknown, - .nameNotAllowed, - .nameAbusive, - .nameInvalid, - ] -} - -#endif // swift(>=4.2) - -public struct SetAccountSettingsOutProto { - // 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. - - public var result: SetAccountSettingsOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorInappropriateName // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorInappropriateName - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorInappropriateName: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SetAccountSettingsOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetAccountSettingsOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorInappropriateName, - ] -} - -#endif // swift(>=4.2) - -public struct SetAccountSettingsProto { - // 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. - - public var settings: AccountSettingsProto { - get {return _settings ?? AccountSettingsProto()} - set {_settings = newValue} - } - /// Returns true if `settings` has been explicitly set. - public var hasSettings: Bool {return self._settings != nil} - /// Clears the value of `settings`. Subsequent reads from it will return its default value. - public mutating func clearSettings() {self._settings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _settings: AccountSettingsProto? = nil -} - -public struct SetAvatarItemAsViewedOutProto { - // 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. - - public var result: SetAvatarItemAsViewedOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SetAvatarItemAsViewedOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetAvatarItemAsViewedOutProto.Result] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct SetAvatarItemAsViewedProto { - // 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. - - public var avatarTemplateID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetAvatarOutProto { - // 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. - - public var status: SetAvatarOutProto.Status = .unset - - public var player: ClientPlayerProto { - get {return _player ?? ClientPlayerProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case avatarAlreadySet // = 2 - case failure // = 3 - case slotNotAllowed // = 4 - case itemNotOwned // = 5 - case invalidAvatarType // = 6 - case avatarReset // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .avatarAlreadySet - case 3: self = .failure - case 4: self = .slotNotAllowed - case 5: self = .itemNotOwned - case 6: self = .invalidAvatarType - case 7: self = .avatarReset - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .avatarAlreadySet: return 2 - case .failure: return 3 - case .slotNotAllowed: return 4 - case .itemNotOwned: return 5 - case .invalidAvatarType: return 6 - case .avatarReset: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _player: ClientPlayerProto? = nil -} - -#if swift(>=4.2) - -extension SetAvatarOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetAvatarOutProto.Status] = [ - .unset, - .success, - .avatarAlreadySet, - .failure, - .slotNotAllowed, - .itemNotOwned, - .invalidAvatarType, - .avatarReset, - ] -} - -#endif // swift(>=4.2) - -public struct SetAvatarProto { - // 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. - - public var playerAvatarProto: PlayerAvatarProto { - get {return _playerAvatarProto ?? PlayerAvatarProto()} - set {_playerAvatarProto = newValue} - } - /// Returns true if `playerAvatarProto` has been explicitly set. - public var hasPlayerAvatarProto: Bool {return self._playerAvatarProto != nil} - /// Clears the value of `playerAvatarProto`. Subsequent reads from it will return its default value. - public mutating func clearPlayerAvatarProto() {self._playerAvatarProto = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _playerAvatarProto: PlayerAvatarProto? = nil -} - -public struct SetBirthdayRequestProto { - // 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. - - public var birthday: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetBirthdayResponseProto { - // 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. - - public var status: SetBirthdayResponseProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case invalidBirthday // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .invalidBirthday - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .invalidBirthday: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SetBirthdayResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetBirthdayResponseProto.Status] = [ - .unset, - .success, - .errorUnknown, - .invalidBirthday, - ] -} - -#endif // swift(>=4.2) - -public struct SetBuddyPokemonOutProto { - // 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. - - public var result: SetBuddyPokemonOutProto.Result = .unest - - public var updatedBuddy: BuddyPokemonProto { - get {return _updatedBuddy ?? BuddyPokemonProto()} - set {_updatedBuddy = newValue} - } - /// Returns true if `updatedBuddy` has been explicitly set. - public var hasUpdatedBuddy: Bool {return self._updatedBuddy != nil} - /// Clears the value of `updatedBuddy`. Subsequent reads from it will return its default value. - public mutating func clearUpdatedBuddy() {self._updatedBuddy = nil} - - public var observedData: BuddyObservedData { - get {return _observedData ?? BuddyObservedData()} - set {_observedData = newValue} - } - /// Returns true if `observedData` has been explicitly set. - public var hasObservedData: Bool {return self._observedData != nil} - /// Clears the value of `observedData`. Subsequent reads from it will return its default value. - public mutating func clearObservedData() {self._observedData = nil} - - public var kmRemaining: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unest // = 0 - case success // = 1 - case errorPokemonDeployed // = 2 - case errorPokemonNotOwned // = 3 - case errorPokemonIsEgg // = 4 - case errorInvalidPokemon // = 5 - case errorBuddySwapLimitExceeded // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unest - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unest - case 1: self = .success - case 2: self = .errorPokemonDeployed - case 3: self = .errorPokemonNotOwned - case 4: self = .errorPokemonIsEgg - case 5: self = .errorInvalidPokemon - case 6: self = .errorBuddySwapLimitExceeded - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unest: return 0 - case .success: return 1 - case .errorPokemonDeployed: return 2 - case .errorPokemonNotOwned: return 3 - case .errorPokemonIsEgg: return 4 - case .errorInvalidPokemon: return 5 - case .errorBuddySwapLimitExceeded: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _updatedBuddy: BuddyPokemonProto? = nil - fileprivate var _observedData: BuddyObservedData? = nil -} - -#if swift(>=4.2) - -extension SetBuddyPokemonOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetBuddyPokemonOutProto.Result] = [ - .unest, - .success, - .errorPokemonDeployed, - .errorPokemonNotOwned, - .errorPokemonIsEgg, - .errorInvalidPokemon, - .errorBuddySwapLimitExceeded, - ] -} - -#endif // swift(>=4.2) - -public struct SetBuddyPokemonProto { - // 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. - - public var pokemonID: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetContactSettingsOutProto { - // 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. - - public var status: SetContactSettingsOutProto.Status = .unset - - public var player: ClientPlayerProto { - get {return _player ?? ClientPlayerProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _player: ClientPlayerProto? = nil -} - -#if swift(>=4.2) - -extension SetContactSettingsOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetContactSettingsOutProto.Status] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct SetContactSettingsProto { - // 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. - - public var contactSettingsProto: ContactSettingsProto { - get {return _contactSettingsProto ?? ContactSettingsProto()} - set {_contactSettingsProto = newValue} - } - /// Returns true if `contactSettingsProto` has been explicitly set. - public var hasContactSettingsProto: Bool {return self._contactSettingsProto != nil} - /// Clears the value of `contactSettingsProto`. Subsequent reads from it will return its default value. - public mutating func clearContactSettingsProto() {self._contactSettingsProto = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _contactSettingsProto: ContactSettingsProto? = nil -} - -public struct SetFavoritePokemonOutProto { - // 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. - - public var result: SetFavoritePokemonOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPokemonNotFound // = 2 - case errorPokemonIsEgg // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPokemonNotFound - case 3: self = .errorPokemonIsEgg - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPokemonNotFound: return 2 - case .errorPokemonIsEgg: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SetFavoritePokemonOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetFavoritePokemonOutProto.Result] = [ - .unset, - .success, - .errorPokemonNotFound, - .errorPokemonIsEgg, - ] -} - -#endif // swift(>=4.2) - -public struct SetFavoritePokemonProto { - // 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. - - public var pokemonID: Int64 = 0 - - public var isFavorite: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetFriendNicknameOutProto { - // 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. - - public var result: SetFriendNicknameOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorNotFriends // = 3 - case errorExceededNicknameLength // = 4 - case errorSocialUpdate // = 5 - case errorFilteredNickname // = 6 - case errorExceededChangeLimit // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorNotFriends - case 4: self = .errorExceededNicknameLength - case 5: self = .errorSocialUpdate - case 6: self = .errorFilteredNickname - case 7: self = .errorExceededChangeLimit - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorNotFriends: return 3 - case .errorExceededNicknameLength: return 4 - case .errorSocialUpdate: return 5 - case .errorFilteredNickname: return 6 - case .errorExceededChangeLimit: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SetFriendNicknameOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetFriendNicknameOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorNotFriends, - .errorExceededNicknameLength, - .errorSocialUpdate, - .errorFilteredNickname, - .errorExceededChangeLimit, - ] -} - -#endif // swift(>=4.2) - -public struct SetFriendNicknameProto { - // 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. - - public var friendID: String = String() - - public var friendNickname: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetInGameCurrencyExchangeRateOutProto { - // 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. - - public var status: SetInGameCurrencyExchangeRateOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SetInGameCurrencyExchangeRateOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetInGameCurrencyExchangeRateOutProto.Status] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct SetInGameCurrencyExchangeRateProto { - // 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. - - public var inGameCurrency: String = String() - - public var fiatCurrency: String = String() - - public var fiatCurrencyCostE6PerInGameUnit: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetInGameCurrencyExchangeRateTrackingProto { - // 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. - - public var inGameCurrency: String = String() - - public var fiatCurrency: String = String() - - public var fiatCurrencyCostE6PerInGameUnit: Int64 = 0 - - public var status: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetLobbyPokemonOutProto { - // 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. - - public var result: SetLobbyPokemonOutProto.Result = .unset - - public var lobby: LobbyProto { - get {return _lobby ?? LobbyProto()} - set {_lobby = newValue} - } - /// Returns true if `lobby` has been explicitly set. - public var hasLobby: Bool {return self._lobby != nil} - /// Clears the value of `lobby`. Subsequent reads from it will return its default value. - public mutating func clearLobby() {self._lobby = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorLobbyNotFound // = 2 - case errorRaidUnavailable // = 3 - case errorInvalidPokemon // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorLobbyNotFound - case 3: self = .errorRaidUnavailable - case 4: self = .errorInvalidPokemon - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorLobbyNotFound: return 2 - case .errorRaidUnavailable: return 3 - case .errorInvalidPokemon: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _lobby: LobbyProto? = nil -} - -#if swift(>=4.2) - -extension SetLobbyPokemonOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetLobbyPokemonOutProto.Result] = [ - .unset, - .success, - .errorLobbyNotFound, - .errorRaidUnavailable, - .errorInvalidPokemon, - ] -} - -#endif // swift(>=4.2) - -public struct SetLobbyPokemonProto { - // 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. - - public var raidSeed: Int64 = 0 - - public var gymID: String = String() - - public var lobbyID: [Int32] = [] - - public var pokemonID: [UInt64] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetLobbyVisibilityOutProto { - // 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. - - public var result: SetLobbyVisibilityOutProto.Result = .unset - - public var lobby: LobbyProto { - get {return _lobby ?? LobbyProto()} - set {_lobby = newValue} - } - /// Returns true if `lobby` has been explicitly set. - public var hasLobby: Bool {return self._lobby != nil} - /// Clears the value of `lobby`. Subsequent reads from it will return its default value. - public mutating func clearLobby() {self._lobby = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorNotLobbyCreator // = 2 - case errorLobbyNotFound // = 3 - case errorRaidUnavailable // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorNotLobbyCreator - case 3: self = .errorLobbyNotFound - case 4: self = .errorRaidUnavailable - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorNotLobbyCreator: return 2 - case .errorLobbyNotFound: return 3 - case .errorRaidUnavailable: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _lobby: LobbyProto? = nil -} - -#if swift(>=4.2) - -extension SetLobbyVisibilityOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetLobbyVisibilityOutProto.Result] = [ - .unset, - .success, - .errorNotLobbyCreator, - .errorLobbyNotFound, - .errorRaidUnavailable, - ] -} - -#endif // swift(>=4.2) - -public struct SetLobbyVisibilityProto { - // 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. - - public var raidSeed: Int64 = 0 - - public var gymID: String = String() - - public var lobbyID: [Int32] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetNeutralAvatarOutProto { - // 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. - - public var status: SetNeutralAvatarOutProto.Status = .unset - - public var player: ClientPlayerProto { - get {return _player ?? ClientPlayerProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} - - public var neutralAvatar: PlayerNeutralAvatarProto { - get {return _neutralAvatar ?? PlayerNeutralAvatarProto()} - set {_neutralAvatar = newValue} - } - /// Returns true if `neutralAvatar` has been explicitly set. - public var hasNeutralAvatar: Bool {return self._neutralAvatar != nil} - /// Clears the value of `neutralAvatar`. Subsequent reads from it will return its default value. - public mutating func clearNeutralAvatar() {self._neutralAvatar = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case avatarAlreadySet // = 2 - case failure // = 3 - case slotNotAllowed // = 4 - case itemNotOwned // = 5 - case avatarReset // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .avatarAlreadySet - case 3: self = .failure - case 4: self = .slotNotAllowed - case 5: self = .itemNotOwned - case 6: self = .avatarReset - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .avatarAlreadySet: return 2 - case .failure: return 3 - case .slotNotAllowed: return 4 - case .itemNotOwned: return 5 - case .avatarReset: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _player: ClientPlayerProto? = nil - fileprivate var _neutralAvatar: PlayerNeutralAvatarProto? = nil -} - -#if swift(>=4.2) - -extension SetNeutralAvatarOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetNeutralAvatarOutProto.Status] = [ - .unset, - .success, - .avatarAlreadySet, - .failure, - .slotNotAllowed, - .itemNotOwned, - .avatarReset, - ] -} - -#endif // swift(>=4.2) - -public struct SetNeutralAvatarProto { - // 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. - - public var playerNeutralAvatarProto: PlayerNeutralAvatarProto { - get {return _playerNeutralAvatarProto ?? PlayerNeutralAvatarProto()} - set {_playerNeutralAvatarProto = newValue} - } - /// Returns true if `playerNeutralAvatarProto` has been explicitly set. - public var hasPlayerNeutralAvatarProto: Bool {return self._playerNeutralAvatarProto != nil} - /// Clears the value of `playerNeutralAvatarProto`. Subsequent reads from it will return its default value. - public mutating func clearPlayerNeutralAvatarProto() {self._playerNeutralAvatarProto = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _playerNeutralAvatarProto: PlayerNeutralAvatarProto? = nil -} - -public struct SetPlayerTeamOutProto { - // 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. - - public var status: SetPlayerTeamOutProto.Status = .unset - - public var player: ClientPlayerProto { - get {return _player ?? ClientPlayerProto()} - set {_player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return self._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {self._player = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case teamAlreadySet // = 2 - case failure // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .teamAlreadySet - case 3: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .teamAlreadySet: return 2 - case .failure: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _player: ClientPlayerProto? = nil -} - -#if swift(>=4.2) - -extension SetPlayerTeamOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetPlayerTeamOutProto.Status] = [ - .unset, - .success, - .teamAlreadySet, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct SetPlayerTeamProto { - // 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. - - public var team: Team = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SetPokemonTagsForPokemonOutProto { - // 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. - - public var status: SetPokemonTagsForPokemonOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPlayerLevelTooLow // = 2 - case errorPokemonNotFound // = 3 - case errorTagInvalid // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPlayerLevelTooLow - case 3: self = .errorPokemonNotFound - case 4: self = .errorTagInvalid - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPlayerLevelTooLow: return 2 - case .errorPokemonNotFound: return 3 - case .errorTagInvalid: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SetPokemonTagsForPokemonOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SetPokemonTagsForPokemonOutProto.Status] = [ - .unset, - .success, - .errorPlayerLevelTooLow, - .errorPokemonNotFound, - .errorTagInvalid, - ] -} - -#endif // swift(>=4.2) - -public struct SetPokemonTagsForPokemonProto { - // 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. - - public var tagChanges: [SetPokemonTagsForPokemonProto.PokemonTagChangeProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct PokemonTagChangeProto { - // 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. - - public var pokemonID: Int64 = 0 - - public var tagsToAdd: [UInt64] = [] - - public var tagsToRemove: [UInt64] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct SfidaAssociateRequest { - // 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. - - public var btAddress: Data = Data() - - public var pairingCode: UInt32 = 0 - - public var btSignature: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaAssociateResponse { - // 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. - - public var status: SfidaAssociateResponse.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SfidaAssociateResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SfidaAssociateResponse.Status] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct SfidaAuthToken { - // 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. - - public var responseToken: Data = Data() - - public var sfidaID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaCaptureRequest { - // 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. - - public var spawnpointID: String = String() - - public var encounterID: Int64 = 0 - - public var playerLat: Double = 0 - - public var playerLng: Double = 0 - - public var encounterType: EncounterType = .spawnPoint - - public var gymLat: Double = 0 - - public var gymLng: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaCaptureResponse { - // 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. - - public var result: SfidaCaptureResponse.Result = .unset - - public var xpGain: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case pokemonCaptured // = 1 - case pokemonFled // = 2 - case notFound // = 3 - case noMorePokeballs // = 4 - case pokemonInventoryFull // = 5 - case notInRange // = 6 - case encounterAlreadyFinished // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .pokemonCaptured - case 2: self = .pokemonFled - case 3: self = .notFound - case 4: self = .noMorePokeballs - case 5: self = .pokemonInventoryFull - case 6: self = .notInRange - case 7: self = .encounterAlreadyFinished - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .pokemonCaptured: return 1 - case .pokemonFled: return 2 - case .notFound: return 3 - case .noMorePokeballs: return 4 - case .pokemonInventoryFull: return 5 - case .notInRange: return 6 - case .encounterAlreadyFinished: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SfidaCaptureResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SfidaCaptureResponse.Result] = [ - .unset, - .pokemonCaptured, - .pokemonFled, - .notFound, - .noMorePokeballs, - .pokemonInventoryFull, - .notInRange, - .encounterAlreadyFinished, - ] -} - -#endif // swift(>=4.2) - -public struct SfidaCertificationRequest { - // 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. - - public var stage: SfidaCertificationRequest.SfidaCertificationStage = .unset - - public var payload: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum SfidaCertificationStage: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case stage1 // = 1 - case stage2 // = 2 - case stage3 // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .stage1 - case 2: self = .stage2 - case 3: self = .stage3 - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .stage1: return 1 - case .stage2: return 2 - case .stage3: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SfidaCertificationRequest.SfidaCertificationStage: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SfidaCertificationRequest.SfidaCertificationStage] = [ - .unset, - .stage1, - .stage2, - .stage3, - ] -} - -#endif // swift(>=4.2) - -public struct SfidaCertificationResponse { - // 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. - - public var payload: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaCheckPairingRequest { - // 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. - - public var btAddress: Data = Data() - - public var pairingCode: UInt32 = 0 - - public var btSignature: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaCheckPairingResponse { - // 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. - - public var status: SfidaCheckPairingResponse.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPairing // = 2 - case errorUnknown // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPairing - case 3: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPairing: return 2 - case .errorUnknown: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SfidaCheckPairingResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SfidaCheckPairingResponse.Status] = [ - .unset, - .success, - .errorPairing, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct SfidaClearSleepRecordsRequest { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaClearSleepRecordsResponse { - // 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. - - public var status: SfidaClearSleepRecordsResponse.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SfidaClearSleepRecordsResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SfidaClearSleepRecordsResponse.Status] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct SfidaDisassociateRequest { - // 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. - - public var btAddress: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaDisassociateResponse { - // 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. - - public var status: SfidaDisassociateResponse.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SfidaDisassociateResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SfidaDisassociateResponse.Status] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct SfidaDowserRequest { - // 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. - - public var encounterID: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaDowserResponse { - // 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. - - public var result: SfidaDowserResponse.Result = .unset - - public var proximity: Int32 = 0 - - public var spawnpointID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case found // = 1 - case nearby // = 2 - case outOfRange // = 3 - case alreadyCaught // = 4 - case notAvailable // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .found - case 2: self = .nearby - case 3: self = .outOfRange - case 4: self = .alreadyCaught - case 5: self = .notAvailable - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .found: return 1 - case .nearby: return 2 - case .outOfRange: return 3 - case .alreadyCaught: return 4 - case .notAvailable: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SfidaDowserResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SfidaDowserResponse.Result] = [ - .unset, - .found, - .nearby, - .outOfRange, - .alreadyCaught, - .notAvailable, - ] -} - -#endif // swift(>=4.2) - -public struct SfidaGlobalSettingsProto { - // 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. - - public var lowBatteryThreshold: Float = 0 - - public var obBool: Bool = false - - public var obInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaMetrics { - // 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. - - public var distanceWalkedKm: Double = 0 - - public var stepCount: Int32 = 0 - - public var caloriesBurned: Double = 0 - - public var exerciseTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaMetricsUpdate { - // 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. - - public var updateType: SfidaMetricsUpdate.UpdateType = .unset - - public var timestampMs: Int64 = 0 - - public var metrics: SfidaMetrics { - get {return _metrics ?? SfidaMetrics()} - set {_metrics = newValue} - } - /// Returns true if `metrics` has been explicitly set. - public var hasMetrics: Bool {return self._metrics != nil} - /// Clears the value of `metrics`. Subsequent reads from it will return its default value. - public mutating func clearMetrics() {self._metrics = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum UpdateType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case initialization // = 1 - case accumulation // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .initialization - case 2: self = .accumulation - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .initialization: return 1 - case .accumulation: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _metrics: SfidaMetrics? = nil -} - -#if swift(>=4.2) - -extension SfidaMetricsUpdate.UpdateType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SfidaMetricsUpdate.UpdateType] = [ - .unset, - .initialization, - .accumulation, - ] -} - -#endif // swift(>=4.2) - -public struct SfidaUpdateRequest { - // 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. - - public var playerLat: Double = 0 - - public var playerLng: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SfidaUpdateResponse { - // 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. - - public var status: SfidaUpdateResponse.Status = .unset - - public var nearbyPokemon: Bool = false - - public var uncaughtPokemon: Bool = false - - public var legendaryPokemon: Bool = false - - public var spawnpointID: String = String() - - public var encounterID: Int64 = 0 - - public var nearbyPokestop: Bool = false - - public var pokestopID: String = String() - - public var encounterType: EncounterType = .spawnPoint - - public var pokedexNumber: Int32 = 0 - - public var autospin: Bool = false - - public var autocatch: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SfidaUpdateResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SfidaUpdateResponse.Status] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct ShadowAttributesProto { - // 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. - - public var purificationStardustNeeded: UInt32 = 0 - - public var purificationCandyNeeded: UInt32 = 0 - - public var purifiedChargeMove: HoloPokemonMove = .moveUnset - - public var shadowChargeMove: HoloPokemonMove = .moveUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ShapeCollectionProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ShapeProto { - // 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. - - public var point: PointProto { - get {return _point ?? PointProto()} - set {_point = newValue} - } - /// Returns true if `point` has been explicitly set. - public var hasPoint: Bool {return self._point != nil} - /// Clears the value of `point`. Subsequent reads from it will return its default value. - public mutating func clearPoint() {self._point = nil} - - public var rect: RectProto { - get {return _rect ?? RectProto()} - set {_rect = newValue} - } - /// Returns true if `rect` has been explicitly set. - public var hasRect: Bool {return self._rect != nil} - /// Clears the value of `rect`. Subsequent reads from it will return its default value. - public mutating func clearRect() {self._rect = nil} - - public var cap: CapProto { - get {return _cap ?? CapProto()} - set {_cap = newValue} - } - /// Returns true if `cap` has been explicitly set. - public var hasCap: Bool {return self._cap != nil} - /// Clears the value of `cap`. Subsequent reads from it will return its default value. - public mutating func clearCap() {self._cap = nil} - - public var covering: CoveringProto { - get {return _covering ?? CoveringProto()} - set {_covering = newValue} - } - /// Returns true if `covering` has been explicitly set. - public var hasCovering: Bool {return self._covering != nil} - /// Clears the value of `covering`. Subsequent reads from it will return its default value. - public mutating func clearCovering() {self._covering = nil} - - public var line: LineProto { - get {return _line ?? LineProto()} - set {_line = newValue} - } - /// Returns true if `line` has been explicitly set. - public var hasLine: Bool {return self._line != nil} - /// Clears the value of `line`. Subsequent reads from it will return its default value. - public mutating func clearLine() {self._line = nil} - - public var polygon: PolygonProto { - get {return _polygon ?? PolygonProto()} - set {_polygon = newValue} - } - /// Returns true if `polygon` has been explicitly set. - public var hasPolygon: Bool {return self._polygon != nil} - /// Clears the value of `polygon`. Subsequent reads from it will return its default value. - public mutating func clearPolygon() {self._polygon = nil} - - public var collection: ShapeCollectionProto { - get {return _collection ?? ShapeCollectionProto()} - set {_collection = newValue} - } - /// Returns true if `collection` has been explicitly set. - public var hasCollection: Bool {return self._collection != nil} - /// Clears the value of `collection`. Subsequent reads from it will return its default value. - public mutating func clearCollection() {self._collection = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _point: PointProto? = nil - fileprivate var _rect: RectProto? = nil - fileprivate var _cap: CapProto? = nil - fileprivate var _covering: CoveringProto? = nil - fileprivate var _line: LineProto? = nil - fileprivate var _polygon: PolygonProto? = nil - fileprivate var _collection: ShapeCollectionProto? = nil -} - -public struct ShareExRaidPassLogEntry { - // 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. - - public var result: ShareExRaidPassLogEntry.Result = .unset - - public var friendCodename: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ShareExRaidPassLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ShareExRaidPassLogEntry.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct ShareExRaidPassOutProto { - // 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. - - public var result: ShareExRaidPassResult { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} - } - - public var updatedFriendshipData: FriendshipLevelDataProto { - get {return _storage._updatedFriendshipData ?? FriendshipLevelDataProto()} - set {_uniqueStorage()._updatedFriendshipData = newValue} - } - /// Returns true if `updatedFriendshipData` has been explicitly set. - public var hasUpdatedFriendshipData: Bool {return _storage._updatedFriendshipData != nil} - /// Clears the value of `updatedFriendshipData`. Subsequent reads from it will return its default value. - public mutating func clearUpdatedFriendshipData() {_uniqueStorage()._updatedFriendshipData = nil} - - public var friendProfile: PlayerPublicProfileProto { - get {return _storage._friendProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._friendProfile = newValue} - } - /// Returns true if `friendProfile` has been explicitly set. - public var hasFriendProfile: Bool {return _storage._friendProfile != nil} - /// Clears the value of `friendProfile`. Subsequent reads from it will return its default value. - public mutating func clearFriendProfile() {_uniqueStorage()._friendProfile = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct ShareExRaidPassProto { - // 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. - - public var friendID: String = String() - - public var fortID: String = String() - - public var raidSeed: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SharedExclusiveTicketTrainerInfo { - // 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. - - public var codename: String = String() - - public var playerID: String = String() - - public var niaAccountID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SharedMoveSettings { - // 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. - - public var staPercent: Float = 0 - - public var atkPercent: Float = 0 - - public var defPercent: Float = 0 - - public var durationS: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SharedRouteProto { - // 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. - - public var id: String { - get {return _storage._id} - set {_uniqueStorage()._id = newValue} - } - - public var waypoints: [RouteWaypointProto] { - get {return _storage._waypoints} - set {_uniqueStorage()._waypoints = newValue} - } - - public var type: RouteType { - get {return _storage._type} - set {_uniqueStorage()._type = newValue} - } - - public var pathType: PathType { - get {return _storage._pathType} - set {_uniqueStorage()._pathType = newValue} - } - - public var name: String { - get {return _storage._name} - set {_uniqueStorage()._name = newValue} - } - - public var version: Int64 { - get {return _storage._version} - set {_uniqueStorage()._version = newValue} - } - - public var description_p: String { - get {return _storage._description_p} - set {_uniqueStorage()._description_p = newValue} - } - - public var creatorInfo: CreatorInfo { - get {return _storage._creatorInfo ?? CreatorInfo()} - set {_uniqueStorage()._creatorInfo = newValue} - } - /// Returns true if `creatorInfo` has been explicitly set. - public var hasCreatorInfo: Bool {return _storage._creatorInfo != nil} - /// Clears the value of `creatorInfo`. Subsequent reads from it will return its default value. - public mutating func clearCreatorInfo() {_uniqueStorage()._creatorInfo = nil} - - public var reversible: Bool { - get {return _storage._reversible} - set {_uniqueStorage()._reversible = newValue} - } - - public var submissionTime: Int64 { - get {return _storage._submissionTime} - set {_uniqueStorage()._submissionTime = newValue} - } - - public var routeDistanceMeters: Int64 { - get {return _storage._routeDistanceMeters} - set {_uniqueStorage()._routeDistanceMeters = newValue} - } - - public var routeDurationSeconds: Int64 { - get {return _storage._routeDurationSeconds} - set {_uniqueStorage()._routeDurationSeconds = newValue} - } - - public var pins: [RoutePin] { - get {return _storage._pins} - set {_uniqueStorage()._pins = newValue} - } - - public var tags: [String] { - get {return _storage._tags} - set {_uniqueStorage()._tags = newValue} - } - - public var sponsorMetadata: SponsoredDetailsProto { - get {return _storage._sponsorMetadata ?? SponsoredDetailsProto()} - set {_uniqueStorage()._sponsorMetadata = newValue} - } - /// Returns true if `sponsorMetadata` has been explicitly set. - public var hasSponsorMetadata: Bool {return _storage._sponsorMetadata != nil} - /// Clears the value of `sponsorMetadata`. Subsequent reads from it will return its default value. - public mutating func clearSponsorMetadata() {_uniqueStorage()._sponsorMetadata = nil} - - public var aggregatedStats: RouteStats { - get {return _storage._aggregatedStats ?? RouteStats()} - set {_uniqueStorage()._aggregatedStats = newValue} - } - /// Returns true if `aggregatedStats` has been explicitly set. - public var hasAggregatedStats: Bool {return _storage._aggregatedStats != nil} - /// Clears the value of `aggregatedStats`. Subsequent reads from it will return its default value. - public mutating func clearAggregatedStats() {_uniqueStorage()._aggregatedStats = nil} - - public var playerStats: PlayerRouteStats { - get {return _storage._playerStats ?? PlayerRouteStats()} - set {_uniqueStorage()._playerStats = newValue} - } - /// Returns true if `playerStats` has been explicitly set. - public var hasPlayerStats: Bool {return _storage._playerStats != nil} - /// Clears the value of `playerStats`. Subsequent reads from it will return its default value. - public mutating func clearPlayerStats() {_uniqueStorage()._playerStats = nil} - - public var image: RouteImageProto { - get {return _storage._image ?? RouteImageProto()} - set {_uniqueStorage()._image = newValue} - } - /// Returns true if `image` has been explicitly set. - public var hasImage: Bool {return _storage._image != nil} - /// Clears the value of `image`. Subsequent reads from it will return its default value. - public mutating func clearImage() {_uniqueStorage()._image = nil} - - public var routeSubmissionStatus: RouteSubmissionStatus { - get {return _storage._routeSubmissionStatus ?? RouteSubmissionStatus()} - set {_uniqueStorage()._routeSubmissionStatus = newValue} - } - /// Returns true if `routeSubmissionStatus` has been explicitly set. - public var hasRouteSubmissionStatus: Bool {return _storage._routeSubmissionStatus != nil} - /// Clears the value of `routeSubmissionStatus`. Subsequent reads from it will return its default value. - public mutating func clearRouteSubmissionStatus() {_uniqueStorage()._routeSubmissionStatus = nil} - - public var startPoi: RoutePoiAnchor { - get {return _storage._startPoi ?? RoutePoiAnchor()} - set {_uniqueStorage()._startPoi = newValue} - } - /// Returns true if `startPoi` has been explicitly set. - public var hasStartPoi: Bool {return _storage._startPoi != nil} - /// Clears the value of `startPoi`. Subsequent reads from it will return its default value. - public mutating func clearStartPoi() {_uniqueStorage()._startPoi = nil} - - public var endPoi: RoutePoiAnchor { - get {return _storage._endPoi ?? RoutePoiAnchor()} - set {_uniqueStorage()._endPoi = newValue} - } - /// Returns true if `endPoi` has been explicitly set. - public var hasEndPoi: Bool {return _storage._endPoi != nil} - /// Clears the value of `endPoi`. Subsequent reads from it will return its default value. - public mutating func clearEndPoi() {_uniqueStorage()._endPoi = nil} - - public var s2GroundCells: [UInt64] { - get {return _storage._s2GroundCells} - set {_uniqueStorage()._s2GroundCells = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct ShoppingPageClickTelemetry { - // 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. - - public var shoppingPageClickID: ShoppingPageTelemetryIds = .undefinedShoppingPageEvent - - public var shoppingPageClickSource: ShoppingPageTelemetrySource = .undefinedShoppingPageSource - - public var itemSku: String = String() - - public var hasItem_p: Bool = false - - public var mlBundleTrackingID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ShoppingPageScrollTelemetry { - // 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. - - public var scrollType: ShoppingPageScrollIds = .undefinedShoppingPageScrollType - - public var scrollRow: Int32 = 0 - - public var totalRows: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ShoppingPageTelemetry { - // 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. - - public var shoppingPageClickID: ShoppingPageTelemetryIds = .undefinedShoppingPageEvent - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ShowcaseDetailsTelemetry { - // 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. - - public var playerAction: ShowcaseDetailsTelemetry.ActionTaken = .unset - - public var entryPoint: ShowcaseDetailsTelemetry.EntryPoint = .unsetEntry - - public var showcaseID: String = String() - - public var entryBarrier: ShowcaseDetailsTelemetry.EntryBarrier = .unsetBarrier - - public var wasAlreadyEntered: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ActionTaken: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case viewContestDetails // = 1 - case viewAllEntrants // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .viewContestDetails - case 2: self = .viewAllEntrants - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .viewContestDetails: return 1 - case .viewAllEntrants: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum EntryBarrier: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetBarrier // = 0 - case enteredMaxContests // = 1 - case contestFull // = 2 - case noEligiblePokemon // = 3 - case outOfRange // = 4 - case none // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetBarrier - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetBarrier - case 1: self = .enteredMaxContests - case 2: self = .contestFull - case 3: self = .noEligiblePokemon - case 4: self = .outOfRange - case 5: self = .none - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetBarrier: return 0 - case .enteredMaxContests: return 1 - case .contestFull: return 2 - case .noEligiblePokemon: return 3 - case .outOfRange: return 4 - case .none: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum EntryPoint: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetEntry // = 0 - case pokestop // = 1 - case todayViewWidget // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetEntry - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetEntry - case 1: self = .pokestop - case 2: self = .todayViewWidget - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetEntry: return 0 - case .pokestop: return 1 - case .todayViewWidget: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ShowcaseDetailsTelemetry.ActionTaken: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ShowcaseDetailsTelemetry.ActionTaken] = [ - .unset, - .viewContestDetails, - .viewAllEntrants, - ] -} - -extension ShowcaseDetailsTelemetry.EntryBarrier: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ShowcaseDetailsTelemetry.EntryBarrier] = [ - .unsetBarrier, - .enteredMaxContests, - .contestFull, - .noEligiblePokemon, - .outOfRange, - .none, - ] -} - -extension ShowcaseDetailsTelemetry.EntryPoint: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ShowcaseDetailsTelemetry.EntryPoint] = [ - .unsetEntry, - .pokestop, - .todayViewWidget, - ] -} - -#endif // swift(>=4.2) - -public struct ShowcaseRewardTelemetry { - // 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. - - public var playerSharedPhoto: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SizeRecordBreakTelemetry { - // 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. - - public var recordBreakType: SizeRecordBreakTelemetry.RecordBreakType = .recordBreakUnset - - public var pokemonID: HoloPokemonId = .missingno - - public var heightM: Float = 0 - - public var weightKg: Float = 0 - - public var isHeightRecord: Bool = false - - public var isWeightRecord: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum RecordBreakType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case recordBreakUnset // = 0 - case recordBreakXxs // = 1 - case recordBreakXs // = 2 - case recordBreakM // = 3 - case recordBreakXl // = 4 - case recordBreakXxl // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .recordBreakUnset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .recordBreakUnset - case 1: self = .recordBreakXxs - case 2: self = .recordBreakXs - case 3: self = .recordBreakM - case 4: self = .recordBreakXl - case 5: self = .recordBreakXxl - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .recordBreakUnset: return 0 - case .recordBreakXxs: return 1 - case .recordBreakXs: return 2 - case .recordBreakM: return 3 - case .recordBreakXl: return 4 - case .recordBreakXxl: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SizeRecordBreakTelemetry.RecordBreakType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SizeRecordBreakTelemetry.RecordBreakType] = [ - .recordBreakUnset, - .recordBreakXxs, - .recordBreakXs, - .recordBreakM, - .recordBreakXl, - .recordBreakXxl, - ] -} - -#endif // swift(>=4.2) - -public struct SkuContentProto { - // 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. - - public var itemType: String = String() - - public var quantity: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SkuDataProto { - // 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. - - public var id: String = String() - - public var isEnabled: Bool = false - - public var content: [SkuContentProto] = [] - - public var price: [SkuPriceProto] = [] - - public var paymentType: SkuDataProto.SkuPaymentType = .unset - - public var lastModifiedTimestampMs: Int64 = 0 - - public var presentationData: [SkuPresentationDataProto] = [] - - public var enabledWindowStartMs: Int64 = 0 - - public var enabledWindowEndMs: Int64 = 0 - - public var subscriptionID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum SkuPaymentType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case thirdParty // = 1 - case inGame // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .thirdParty - case 2: self = .inGame - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .thirdParty: return 1 - case .inGame: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SkuDataProto.SkuPaymentType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SkuDataProto.SkuPaymentType] = [ - .unset, - .thirdParty, - .inGame, - ] -} - -#endif // swift(>=4.2) - -public struct SkuPresentationDataProto { - // 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. - - public var key: String = String() - - public var value: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SkuPresentationProto { - // 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. - - public var key: String = String() - - public var value: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SkuPriceProto { - // 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. - - public var currencyType: String = String() - - public var price: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SkuStorePrice { - // 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. - - public var currencyCode: String = String() - - public var pricePaidE6: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SleepDayRecordProto { - // 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. - - public var sleepDay: UInt32 = 0 - - public var sleepDurationSec: UInt32 = 0 - - public var rewarded: Bool = false - - public var startTimeSec: [UInt32] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SleepRecordsProto { - // 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. - - public var sleepRecord: [SleepDayRecordProto] = [] - - public var sleepRecordLastUpdateMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SmeargleMovesSettingsProto { - // 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. - - public var quickMoves: [HoloPokemonMove] = [] - - public var cinematicMoves: [HoloPokemonMove] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SocialClientFeatures { - // 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. - - public var crossGameSocialSettings: SocialClientFeatures.CrossGameSocialClientSettingsProto { - get {return _crossGameSocialSettings ?? SocialClientFeatures.CrossGameSocialClientSettingsProto()} - set {_crossGameSocialSettings = newValue} - } - /// Returns true if `crossGameSocialSettings` has been explicitly set. - public var hasCrossGameSocialSettings: Bool {return self._crossGameSocialSettings != nil} - /// Clears the value of `crossGameSocialSettings`. Subsequent reads from it will return its default value. - public mutating func clearCrossGameSocialSettings() {self._crossGameSocialSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct CrossGameSocialClientSettingsProto { - // 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. - - public var disabledFeatures: [SocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType] = [] - - public var appLink: SocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType = .noLink - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum AppLinkType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noLink // = 0 - case webLink // = 1 - case appStoreLink // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .noLink - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noLink - case 1: self = .webLink - case 2: self = .appStoreLink - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noLink: return 0 - case .webLink: return 1 - case .appStoreLink: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum FeatureType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case nianticProfile // = 1 - case onlineStatus // = 2 - case crossGameFriendList // = 3 - case gameInviteSender // = 4 - case sharedFriendGraph // = 5 - case nickname // = 6 - case crossGameOnlineStatus // = 7 - case gameInviteReceiver // = 8 - case addressBookImport // = 9 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .nianticProfile - case 2: self = .onlineStatus - case 3: self = .crossGameFriendList - case 4: self = .gameInviteSender - case 5: self = .sharedFriendGraph - case 6: self = .nickname - case 7: self = .crossGameOnlineStatus - case 8: self = .gameInviteReceiver - case 9: self = .addressBookImport - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .nianticProfile: return 1 - case .onlineStatus: return 2 - case .crossGameFriendList: return 3 - case .gameInviteSender: return 4 - case .sharedFriendGraph: return 5 - case .nickname: return 6 - case .crossGameOnlineStatus: return 7 - case .gameInviteReceiver: return 8 - case .addressBookImport: return 9 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public init() {} - - fileprivate var _crossGameSocialSettings: SocialClientFeatures.CrossGameSocialClientSettingsProto? = nil -} - -#if swift(>=4.2) - -extension SocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType] = [ - .noLink, - .webLink, - .appStoreLink, - ] -} - -extension SocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType] = [ - .unset, - .nianticProfile, - .onlineStatus, - .crossGameFriendList, - .gameInviteSender, - .sharedFriendGraph, - .nickname, - .crossGameOnlineStatus, - .gameInviteReceiver, - .addressBookImport, - ] -} - -#endif // swift(>=4.2) - -public struct SocialClientGlobalSettings { - // 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. - - public var crossGameSocialSettings: SocialClientGlobalSettings.CrossGameSocialSettingsProto { - get {return _crossGameSocialSettings ?? SocialClientGlobalSettings.CrossGameSocialSettingsProto()} - set {_crossGameSocialSettings = newValue} - } - /// Returns true if `crossGameSocialSettings` has been explicitly set. - public var hasCrossGameSocialSettings: Bool {return self._crossGameSocialSettings != nil} - /// Clears the value of `crossGameSocialSettings`. Subsequent reads from it will return its default value. - public mutating func clearCrossGameSocialSettings() {self._crossGameSocialSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct CrossGameSocialSettingsProto { - // 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. - - public var nianticProfileCodenameOptOutEnabled: Bool = false - - public var disabledOutgoingGameInviteAppKey: [String] = [] - - public var unreleasedAppKey: [String] = [] - - public var contactListSyncPageSize: Int32 = 0 - - public var contactListSyncIntervalMs: Int64 = 0 - - public var maxFriends: Int32 = 0 - - public var contactListConcurrentRpcSize: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _crossGameSocialSettings: SocialClientGlobalSettings.CrossGameSocialSettingsProto? = nil -} - -public struct SocialClientSettingsProto { - // 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. - - public var enableSocial: Bool { - get {return _storage._enableSocial} - set {_uniqueStorage()._enableSocial = newValue} - } - - public var maxFriendDetails: Int32 { - get {return _storage._maxFriendDetails} - set {_uniqueStorage()._maxFriendDetails = newValue} - } - - public var playerLevelGate: Int32 { - get {return _storage._playerLevelGate} - set {_uniqueStorage()._playerLevelGate = newValue} - } - - public var maxFriendNicknameLength: Int32 { - get {return _storage._maxFriendNicknameLength} - set {_uniqueStorage()._maxFriendNicknameLength = newValue} - } - - public var enableAddFriendViaQrCode: Bool { - get {return _storage._enableAddFriendViaQrCode} - set {_uniqueStorage()._enableAddFriendViaQrCode = newValue} - } - - public var enableShareExPass: Bool { - get {return _storage._enableShareExPass} - set {_uniqueStorage()._enableShareExPass = newValue} - } - - public var enableFacebookFriends: Bool { - get {return _storage._enableFacebookFriends} - set {_uniqueStorage()._enableFacebookFriends = newValue} - } - - public var facebookFriendLimitPerRequest: Int32 { - get {return _storage._facebookFriendLimitPerRequest} - set {_uniqueStorage()._facebookFriendLimitPerRequest = newValue} - } - - public var disableFacebookFriendsOpeningPrompt: Bool { - get {return _storage._disableFacebookFriendsOpeningPrompt} - set {_uniqueStorage()._disableFacebookFriendsOpeningPrompt = newValue} - } - - public var enableGiftabilityV2: Bool { - get {return _storage._enableGiftabilityV2} - set {_uniqueStorage()._enableGiftabilityV2 = newValue} - } - - public var enableRemoteGifting: Bool { - get {return _storage._enableRemoteGifting} - set {_uniqueStorage()._enableRemoteGifting = newValue} - } - - public var enableSticker: Bool { - get {return _storage._enableSticker} - set {_uniqueStorage()._enableSticker = newValue} - } - - public var crossGameSocialSettings: CrossGameSocialGlobalSettingsProto { - get {return _storage._crossGameSocialSettings ?? CrossGameSocialGlobalSettingsProto()} - set {_uniqueStorage()._crossGameSocialSettings = newValue} - } - /// Returns true if `crossGameSocialSettings` has been explicitly set. - public var hasCrossGameSocialSettings: Bool {return _storage._crossGameSocialSettings != nil} - /// Clears the value of `crossGameSocialSettings`. Subsequent reads from it will return its default value. - public mutating func clearCrossGameSocialSettings() {_uniqueStorage()._crossGameSocialSettings = nil} - - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } - - public var obBool1: Bool { - get {return _storage._obBool1} - set {_uniqueStorage()._obBool1 = newValue} - } - - public var obBool2: Bool { - get {return _storage._obBool2} - set {_uniqueStorage()._obBool2 = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct SocialGiftCountTelemetry { - // 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. - - public var unopenedGiftCount: Int32 = 0 - - public var unsentGiftCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SocialInboxLatencyTelemetry { - // 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. - - public var latencyMs: Int32 = 0 - - public var category: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SocialPlayerSettingsProto { - // 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. - - public var disableLastPokemonCaught: Bool = false - - public var enableRaidFriendRequests: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SocialProto { - // 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. - - public var appKey: SocialProto.AppKey = .invalid - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum AppKey: SwiftProtobuf.Enum { - public typealias RawValue = Int - case invalid // = 0 - case ingressDeleted // = 1 - case holoholoDeleted // = 2 - case lexiconDeleted // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .invalid - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .invalid - case 1: self = .ingressDeleted - case 2: self = .holoholoDeleted - case 3: self = .lexiconDeleted - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .invalid: return 0 - case .ingressDeleted: return 1 - case .holoholoDeleted: return 2 - case .lexiconDeleted: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SocialProto.AppKey: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SocialProto.AppKey] = [ - .invalid, - .ingressDeleted, - .holoholoDeleted, - .lexiconDeleted, - ] -} - -#endif // swift(>=4.2) - -public struct SocialSettings { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ConsentStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case optIn // = 1 - case optOut // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .optIn - case 2: self = .optOut - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .optIn: return 1 - case .optOut: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum TutorialType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case profile // = 1 - case crossGameFriendList // = 2 - case onlineStatusOverview // = 3 - case onlineStatusToggle // = 4 - case addressBookImport // = 5 - case addressBookDiscoverability // = 6 - case addressBookPhoneNumberRegistration // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .profile - case 2: self = .crossGameFriendList - case 3: self = .onlineStatusOverview - case 4: self = .onlineStatusToggle - case 5: self = .addressBookImport - case 6: self = .addressBookDiscoverability - case 7: self = .addressBookPhoneNumberRegistration - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .profile: return 1 - case .crossGameFriendList: return 2 - case .onlineStatusOverview: return 3 - case .onlineStatusToggle: return 4 - case .addressBookImport: return 5 - case .addressBookDiscoverability: return 6 - case .addressBookPhoneNumberRegistration: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SocialSettings.ConsentStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SocialSettings.ConsentStatus] = [ - .unknown, - .optIn, - .optOut, - ] -} - -extension SocialSettings.TutorialType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SocialSettings.TutorialType] = [ - .unset, - .profile, - .crossGameFriendList, - .onlineStatusOverview, - .onlineStatusToggle, - .addressBookImport, - .addressBookDiscoverability, - .addressBookPhoneNumberRegistration, - ] -} - -#endif // swift(>=4.2) - -public struct SocialTelemetry { - // 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. - - public var socialClickID: SocialTelemetryIds = .undefinedSocial - - public var pagesScrolledInFriendsList: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SocialV2Enum { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ContactMethod: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case email // = 1 - case sms // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .email - case 2: self = .sms - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .email: return 1 - case .sms: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum InvitationStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case invited // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .invited - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .invited: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum OnlineStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case statusUnset // = 0 - case statusUnknown // = 1 - case statusOnline // = 2 - case statusOffline // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .statusUnset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .statusUnset - case 1: self = .statusUnknown - case 2: self = .statusOnline - case 3: self = .statusOffline - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .statusUnset: return 0 - case .statusUnknown: return 1 - case .statusOnline: return 2 - case .statusOffline: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SocialV2Enum.ContactMethod: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SocialV2Enum.ContactMethod] = [ - .unset, - .email, - .sms, - ] -} - -extension SocialV2Enum.InvitationStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SocialV2Enum.InvitationStatus] = [ - .unset, - .invited, - ] -} - -extension SocialV2Enum.OnlineStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SocialV2Enum.OnlineStatus] = [ - .statusUnset, - .statusUnknown, - .statusOnline, - .statusOffline, - ] -} - -#endif // swift(>=4.2) - -public struct SourceCodeInfo { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct Location { - // 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. - - public var leadingComments: String = String() - - public var trailingComments: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct SourceContext { - // 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. - - public var fileName: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SouvenirProto { - // 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. - - public var souvenirTypeID: SouvenirTypeId = .souvenirUnset - - public var souvenirsDetails: [SouvenirProto.SouvenirDetails] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct SouvenirDetails { - // 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. - - public var timePickedUp: Int64 = 0 - - public var latitude: Double = 0 - - public var longitude: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct SpawnTablePokemonProto { - // 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. - - public var pokemonID: HoloPokemonId = .missingno - - public var weight: Float = 0 - - public var form: PokemonDisplayProto.Form = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SpawnablePokemon { - // 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. - - public var status: SpawnablePokemon.Status = .unset - - public var pokemonID: HoloPokemonId = .missingno - - public var lat: Double = 0 - - public var lng: Double = 0 - - public var encounterID: UInt64 = 0 - - public var encounterLocation: String = String() - - public var disappearTimeMs: Int64 = 0 - - public var pokemonDisplay: PokemonDisplayProto { - get {return _pokemonDisplay ?? PokemonDisplayProto()} - set {_pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} - - public var type: SpawnablePokemon.SpawnableType = .untyped - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case encounterNotAvailable // = 2 - case encounterAlreadyCompleted // = 3 - case errorUnknown // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .encounterNotAvailable - case 3: self = .encounterAlreadyCompleted - case 4: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .encounterNotAvailable: return 2 - case .encounterAlreadyCompleted: return 3 - case .errorUnknown: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public enum SpawnableType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case untyped // = 0 - case pokestopEncounter // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .untyped - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .untyped - case 1: self = .pokestopEncounter - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .untyped: return 0 - case .pokestopEncounter: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil -} - -#if swift(>=4.2) - -extension SpawnablePokemon.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SpawnablePokemon.Status] = [ - .unset, - .success, - .encounterNotAvailable, - .encounterAlreadyCompleted, - .errorUnknown, - ] -} - -extension SpawnablePokemon.SpawnableType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SpawnablePokemon.SpawnableType] = [ - .untyped, - .pokestopEncounter, - ] -} - -#endif // swift(>=4.2) - -public struct SpinPokestopTelemetry { - // 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. - - public var result: String = String() - - public var fortID: String = String() - - public var fortType: Int32 = 0 - - public var pokestopRewards: [PokestopReward] = [] - - public var totalRewards: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SponsoredDetailsProto { - // 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. - - public var promoImageURL: [String] = [] - - public var promoDescription: [String] = [] - - public var callToActionLink: String = String() - - public var promoButtonMessageType: SponsoredDetailsProto.PromoButtonMessageType = .unset - - public var campaignID: String = String() - - public var promoImageCreative: ImageTextCreativeProto { - get {return _promoImageCreative ?? ImageTextCreativeProto()} - set {_promoImageCreative = newValue} - } - /// Returns true if `promoImageCreative` has been explicitly set. - public var hasPromoImageCreative: Bool {return self._promoImageCreative != nil} - /// Clears the value of `promoImageCreative`. Subsequent reads from it will return its default value. - public mutating func clearPromoImageCreative() {self._promoImageCreative = nil} - - public var impressionTrackingTag: [ImpressionTrackingTag] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum PromoButtonMessageType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case learnMore // = 1 - case offer // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .learnMore - case 2: self = .offer - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .learnMore: return 1 - case .offer: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _promoImageCreative: ImageTextCreativeProto? = nil -} - -#if swift(>=4.2) - -extension SponsoredDetailsProto.PromoButtonMessageType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SponsoredDetailsProto.PromoButtonMessageType] = [ - .unset, - .learnMore, - .offer, - ] -} - -#endif // swift(>=4.2) - -public struct SponsoredGeofenceGiftSettingsProto { - // 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. - - public var giftPersistenceEnabled: Bool { - get {return _storage._giftPersistenceEnabled} - set {_uniqueStorage()._giftPersistenceEnabled = newValue} - } - - public var giftPersistenceTimeMs: Int32 { - get {return _storage._giftPersistenceTimeMs} - set {_uniqueStorage()._giftPersistenceTimeMs = newValue} - } - - public var mapPresentationTimeMs: Int32 { - get {return _storage._mapPresentationTimeMs} - set {_uniqueStorage()._mapPresentationTimeMs = newValue} - } - - public var enableSponsoredGeofenceGift: Bool { - get {return _storage._enableSponsoredGeofenceGift} - set {_uniqueStorage()._enableSponsoredGeofenceGift = newValue} - } - - public var enableDarkLaunch: Bool { - get {return _storage._enableDarkLaunch} - set {_uniqueStorage()._enableDarkLaunch = newValue} - } - - public var enablePoiGift: Bool { - get {return _storage._enablePoiGift} - set {_uniqueStorage()._enablePoiGift = newValue} - } - - public var enableRaidGift: Bool { - get {return _storage._enableRaidGift} - set {_uniqueStorage()._enableRaidGift = newValue} - } - - public var enableIncidentGift: Bool { - get {return _storage._enableIncidentGift} - set {_uniqueStorage()._enableIncidentGift = newValue} - } - - public var fullscreenDisableExitButtonTimeMs: Int32 { - get {return _storage._fullscreenDisableExitButtonTimeMs} - set {_uniqueStorage()._fullscreenDisableExitButtonTimeMs = newValue} - } - - public var balloonGiftSettings: SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto { - get {return _storage._balloonGiftSettings ?? SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto()} - set {_uniqueStorage()._balloonGiftSettings = newValue} - } - /// Returns true if `balloonGiftSettings` has been explicitly set. - public var hasBalloonGiftSettings: Bool {return _storage._balloonGiftSettings != nil} - /// Clears the value of `balloonGiftSettings`. Subsequent reads from it will return its default value. - public mutating func clearBalloonGiftSettings() {_uniqueStorage()._balloonGiftSettings = nil} - - public var obBool: Bool { - get {return _storage._obBool} - set {_uniqueStorage()._obBool = newValue} - } - - public var obSponsoredBalloon: ObSponsoredBalloon { - get {return _storage._obSponsoredBalloon ?? ObSponsoredBalloon()} - set {_uniqueStorage()._obSponsoredBalloon = newValue} - } - /// Returns true if `obSponsoredBalloon` has been explicitly set. - public var hasObSponsoredBalloon: Bool {return _storage._obSponsoredBalloon != nil} - /// Clears the value of `obSponsoredBalloon`. Subsequent reads from it will return its default value. - public mutating func clearObSponsoredBalloon() {_uniqueStorage()._obSponsoredBalloon = nil} - - public var sponsoredGeofenceGiftDetails: SponsoredGeofenceGiftSettingsProto.SponsoredGeofenceGiftDetailsProto { - get {return _storage._sponsoredGeofenceGiftDetails ?? SponsoredGeofenceGiftSettingsProto.SponsoredGeofenceGiftDetailsProto()} - set {_uniqueStorage()._sponsoredGeofenceGiftDetails = newValue} - } - /// Returns true if `sponsoredGeofenceGiftDetails` has been explicitly set. - public var hasSponsoredGeofenceGiftDetails: Bool {return _storage._sponsoredGeofenceGiftDetails != nil} - /// Clears the value of `sponsoredGeofenceGiftDetails`. Subsequent reads from it will return its default value. - public mutating func clearSponsoredGeofenceGiftDetails() {_uniqueStorage()._sponsoredGeofenceGiftDetails = nil} - - public var obInt321: Int32 { - get {return _storage._obInt321} - set {_uniqueStorage()._obInt321 = newValue} - } - - public var obInt322: Int32 { - get {return _storage._obInt322} - set {_uniqueStorage()._obInt322 = newValue} - } - - public var obBool1: Bool { - get {return _storage._obBool1} - set {_uniqueStorage()._obBool1 = newValue} - } - - public var obSponsoredGeofence: SponsoredGeofenceGiftSettingsProto.ObSponsoredGeofence { - get {return _storage._obSponsoredGeofence ?? SponsoredGeofenceGiftSettingsProto.ObSponsoredGeofence()} - set {_uniqueStorage()._obSponsoredGeofence = newValue} - } - /// Returns true if `obSponsoredGeofence` has been explicitly set. - public var hasObSponsoredGeofence: Bool {return _storage._obSponsoredGeofence != nil} - /// Clears the value of `obSponsoredGeofence`. Subsequent reads from it will return its default value. - public mutating func clearObSponsoredGeofence() {_uniqueStorage()._obSponsoredGeofence = nil} - - public var obBool2: Bool { - get {return _storage._obBool2} - set {_uniqueStorage()._obBool2 = newValue} - } - - public var obBool3: Bool { - get {return _storage._obBool3} - set {_uniqueStorage()._obBool3 = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct SponsoredBalloonGiftSettingsProto { - // 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. - - public var enableBalloonGift: Bool = false - - public var balloonAutoDismissTimeMs: Int32 = 0 - - public var incidentBalloonPreventsSponsoredBalloon: Bool = false - - public var incidentBalloonDismissesSponsoredBalloon: Bool = false - - public var getWasabiAdRpcIntervalMs: Int32 = 0 - - public var balloonMovementSettings: SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto.SponsoredBalloonMovementSettingsProto { - get {return _balloonMovementSettings ?? SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto.SponsoredBalloonMovementSettingsProto()} - set {_balloonMovementSettings = newValue} - } - /// Returns true if `balloonMovementSettings` has been explicitly set. - public var hasBalloonMovementSettings: Bool {return self._balloonMovementSettings != nil} - /// Clears the value of `balloonMovementSettings`. Subsequent reads from it will return its default value. - public mutating func clearBalloonMovementSettings() {self._balloonMovementSettings = nil} - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct SponsoredBalloonMovementSettingsProto { - // 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. - - public var wanderMinDistance: Float = 0 - - public var wanderMaxDistance: Float = 0 - - public var wanderIntervalMin: Float = 0 - - public var wanderIntervalMax: Float = 0 - - public var maxSpeed: Float = 0 - - public var targetCameraDistance: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _balloonMovementSettings: SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto.SponsoredBalloonMovementSettingsProto? = nil - } - - public struct SponsoredGeofenceGiftDetailsProto { - // 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. - - public var adsLogo: String = String() - - public var partnerName: String = String() - - public var fullScreenStaticImage: String = String() - - public var title: String = String() - - public var description_p: String = String() - - public var ctaURL: String = String() - - public var campaignIdentifier: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct ObSponsoredGeofence { - // 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. - - public var obString1: String = String() - - public var obString2: String = String() - - public var obString3: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct SponsoredPoiFeedbackSettingsProto { - // 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. - - public var enabled: Bool = false - - public var enableReportAd: Bool = false - - public var enableNotInterested: Bool = false - - public var enableSeeMore: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SsdAnchorsCalculatorOptions { - // 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. - - public var inputSizeWidth: Int32 { - get {return _inputSizeWidth ?? 0} - set {_inputSizeWidth = newValue} - } - /// Returns true if `inputSizeWidth` has been explicitly set. - public var hasInputSizeWidth: Bool {return self._inputSizeWidth != nil} - /// Clears the value of `inputSizeWidth`. Subsequent reads from it will return its default value. - public mutating func clearInputSizeWidth() {self._inputSizeWidth = nil} - - public var inputSizeHeight: Int32 { - get {return _inputSizeHeight ?? 0} - set {_inputSizeHeight = newValue} - } - /// Returns true if `inputSizeHeight` has been explicitly set. - public var hasInputSizeHeight: Bool {return self._inputSizeHeight != nil} - /// Clears the value of `inputSizeHeight`. Subsequent reads from it will return its default value. - public mutating func clearInputSizeHeight() {self._inputSizeHeight = nil} - - public var minScale: Float { - get {return _minScale ?? 0} - set {_minScale = newValue} - } - /// Returns true if `minScale` has been explicitly set. - public var hasMinScale: Bool {return self._minScale != nil} - /// Clears the value of `minScale`. Subsequent reads from it will return its default value. - public mutating func clearMinScale() {self._minScale = nil} - - public var maxScale: Float { - get {return _maxScale ?? 0} - set {_maxScale = newValue} - } - /// Returns true if `maxScale` has been explicitly set. - public var hasMaxScale: Bool {return self._maxScale != nil} - /// Clears the value of `maxScale`. Subsequent reads from it will return its default value. - public mutating func clearMaxScale() {self._maxScale = nil} - - public var anchorOffsetX: Float { - get {return _anchorOffsetX ?? 0} - set {_anchorOffsetX = newValue} - } - /// Returns true if `anchorOffsetX` has been explicitly set. - public var hasAnchorOffsetX: Bool {return self._anchorOffsetX != nil} - /// Clears the value of `anchorOffsetX`. Subsequent reads from it will return its default value. - public mutating func clearAnchorOffsetX() {self._anchorOffsetX = nil} - - public var anchorOffsetY: Float { - get {return _anchorOffsetY ?? 0} - set {_anchorOffsetY = newValue} - } - /// Returns true if `anchorOffsetY` has been explicitly set. - public var hasAnchorOffsetY: Bool {return self._anchorOffsetY != nil} - /// Clears the value of `anchorOffsetY`. Subsequent reads from it will return its default value. - public mutating func clearAnchorOffsetY() {self._anchorOffsetY = nil} - - public var numLayers: Int32 { - get {return _numLayers ?? 0} - set {_numLayers = newValue} - } - /// Returns true if `numLayers` has been explicitly set. - public var hasNumLayers: Bool {return self._numLayers != nil} - /// Clears the value of `numLayers`. Subsequent reads from it will return its default value. - public mutating func clearNumLayers() {self._numLayers = nil} - - public var featureMapWidth: [Int32] = [] - - public var featureMapHeight: [Int32] = [] - - public var strides: [Int32] = [] - - public var aspectRatios: [Float] = [] - - public var reduceBoxesInLowestLayer: Bool { - get {return _reduceBoxesInLowestLayer ?? false} - set {_reduceBoxesInLowestLayer = newValue} - } - /// Returns true if `reduceBoxesInLowestLayer` has been explicitly set. - public var hasReduceBoxesInLowestLayer: Bool {return self._reduceBoxesInLowestLayer != nil} - /// Clears the value of `reduceBoxesInLowestLayer`. Subsequent reads from it will return its default value. - public mutating func clearReduceBoxesInLowestLayer() {self._reduceBoxesInLowestLayer = nil} - - public var interpolatedScaleAspectRatio: Float { - get {return _interpolatedScaleAspectRatio ?? 0} - set {_interpolatedScaleAspectRatio = newValue} - } - /// Returns true if `interpolatedScaleAspectRatio` has been explicitly set. - public var hasInterpolatedScaleAspectRatio: Bool {return self._interpolatedScaleAspectRatio != nil} - /// Clears the value of `interpolatedScaleAspectRatio`. Subsequent reads from it will return its default value. - public mutating func clearInterpolatedScaleAspectRatio() {self._interpolatedScaleAspectRatio = nil} - - /// extend CalculatorOptions { - /// optional SsdAnchorsCalculatorOptions ext = 247258239; - /// } - public var fixedAnchorSize: Bool { - get {return _fixedAnchorSize ?? false} - set {_fixedAnchorSize = newValue} - } - /// Returns true if `fixedAnchorSize` has been explicitly set. - public var hasFixedAnchorSize: Bool {return self._fixedAnchorSize != nil} - /// Clears the value of `fixedAnchorSize`. Subsequent reads from it will return its default value. - public mutating func clearFixedAnchorSize() {self._fixedAnchorSize = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _inputSizeWidth: Int32? = nil - fileprivate var _inputSizeHeight: Int32? = nil - fileprivate var _minScale: Float? = nil - fileprivate var _maxScale: Float? = nil - fileprivate var _anchorOffsetX: Float? = nil - fileprivate var _anchorOffsetY: Float? = nil - fileprivate var _numLayers: Int32? = nil - fileprivate var _reduceBoxesInLowestLayer: Bool? = nil - fileprivate var _interpolatedScaleAspectRatio: Float? = nil - fileprivate var _fixedAnchorSize: Bool? = nil -} - -public struct StampCardsSectionProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StardustBoostAttributesProto { - // 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. - - public var stardustMultiplier: Float = 0 - - public var boostDurationMs: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StartGymBattleOutProto { - // 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. - - public var result: StartGymBattleOutProto.Result { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} - } - - public var battleStartMs: Int64 { - get {return _storage._battleStartMs} - set {_uniqueStorage()._battleStartMs = newValue} - } - - public var battleEndMs: Int64 { - get {return _storage._battleEndMs} - set {_uniqueStorage()._battleEndMs = newValue} - } - - public var battleID: String { - get {return _storage._battleID} - set {_uniqueStorage()._battleID = newValue} - } - - public var defender: BattleParticipantProto { - get {return _storage._defender ?? BattleParticipantProto()} - set {_uniqueStorage()._defender = newValue} - } - /// Returns true if `defender` has been explicitly set. - public var hasDefender: Bool {return _storage._defender != nil} - /// Clears the value of `defender`. Subsequent reads from it will return its default value. - public mutating func clearDefender() {_uniqueStorage()._defender = nil} - - public var battleLog: BattleLogProto { - get {return _storage._battleLog ?? BattleLogProto()} - set {_uniqueStorage()._battleLog = newValue} - } - /// Returns true if `battleLog` has been explicitly set. - public var hasBattleLog: Bool {return _storage._battleLog != nil} - /// Clears the value of `battleLog`. Subsequent reads from it will return its default value. - public mutating func clearBattleLog() {_uniqueStorage()._battleLog = nil} - - public var attacker: BattleParticipantProto { - get {return _storage._attacker ?? BattleParticipantProto()} - set {_uniqueStorage()._attacker = newValue} - } - /// Returns true if `attacker` has been explicitly set. - public var hasAttacker: Bool {return _storage._attacker != nil} - /// Clears the value of `attacker`. Subsequent reads from it will return its default value. - public mutating func clearAttacker() {_uniqueStorage()._attacker = nil} - - public var battle: BattleProto { - get {return _storage._battle ?? BattleProto()} - set {_uniqueStorage()._battle = newValue} - } - /// Returns true if `battle` has been explicitly set. - public var hasBattle: Bool {return _storage._battle != nil} - /// Clears the value of `battle`. Subsequent reads from it will return its default value. - public mutating func clearBattle() {_uniqueStorage()._battle = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorGymNotFound // = 2 - case errorGymNeutral // = 3 - case errorGymWrongTeam // = 4 - case errorGymEmpty // = 5 - case errorInvalidDefender // = 6 - case errorTrainingInvalidAttackerCount // = 7 - case errorAllPokemonFainted // = 8 - case errorTooManyBattles // = 9 - case errorTooManyPlayers // = 10 - case errorGymBattleLockout // = 11 - case errorPlayerBelowMinimumLevel // = 12 - case errorNotInRange // = 13 - case errorPoiInaccessible // = 14 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorGymNotFound - case 3: self = .errorGymNeutral - case 4: self = .errorGymWrongTeam - case 5: self = .errorGymEmpty - case 6: self = .errorInvalidDefender - case 7: self = .errorTrainingInvalidAttackerCount - case 8: self = .errorAllPokemonFainted - case 9: self = .errorTooManyBattles - case 10: self = .errorTooManyPlayers - case 11: self = .errorGymBattleLockout - case 12: self = .errorPlayerBelowMinimumLevel - case 13: self = .errorNotInRange - case 14: self = .errorPoiInaccessible - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorGymNotFound: return 2 - case .errorGymNeutral: return 3 - case .errorGymWrongTeam: return 4 - case .errorGymEmpty: return 5 - case .errorInvalidDefender: return 6 - case .errorTrainingInvalidAttackerCount: return 7 - case .errorAllPokemonFainted: return 8 - case .errorTooManyBattles: return 9 - case .errorTooManyPlayers: return 10 - case .errorGymBattleLockout: return 11 - case .errorPlayerBelowMinimumLevel: return 12 - case .errorNotInRange: return 13 - case .errorPoiInaccessible: return 14 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension StartGymBattleOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [StartGymBattleOutProto.Result] = [ - .unset, - .success, - .errorGymNotFound, - .errorGymNeutral, - .errorGymWrongTeam, - .errorGymEmpty, - .errorInvalidDefender, - .errorTrainingInvalidAttackerCount, - .errorAllPokemonFainted, - .errorTooManyBattles, - .errorTooManyPlayers, - .errorGymBattleLockout, - .errorPlayerBelowMinimumLevel, - .errorNotInRange, - .errorPoiInaccessible, - ] -} - -#endif // swift(>=4.2) - -public struct StartGymBattleProto { - // 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. - - public var gymID: String = String() - - public var attackingPokemonID: [UInt64] = [] - - public var defendingPokemonID: UInt64 = 0 - - public var playerLatDegrees: Double = 0 - - public var playerLngDegrees: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StartIncidentOutProto { - // 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. - - public var status: StartIncidentOutProto.Status = .unset - - public var incident: ClientIncidentProto { - get {return _incident ?? ClientIncidentProto()} - set {_incident = newValue} - } - /// Returns true if `incident` has been explicitly set. - public var hasIncident: Bool {return self._incident != nil} - /// Clears the value of `incident`. Subsequent reads from it will return its default value. - public mutating func clearIncident() {self._incident = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorNotInRange // = 2 - case errorIncidentCompleted // = 3 - case errorIncidentNotFound // = 4 - case errorPlayerBelowMinLevel // = 5 - case error // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorNotInRange - case 3: self = .errorIncidentCompleted - case 4: self = .errorIncidentNotFound - case 5: self = .errorPlayerBelowMinLevel - case 6: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorNotInRange: return 2 - case .errorIncidentCompleted: return 3 - case .errorIncidentNotFound: return 4 - case .errorPlayerBelowMinLevel: return 5 - case .error: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _incident: ClientIncidentProto? = nil -} - -#if swift(>=4.2) - -extension StartIncidentOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [StartIncidentOutProto.Status] = [ - .unset, - .success, - .errorNotInRange, - .errorIncidentCompleted, - .errorIncidentNotFound, - .errorPlayerBelowMinLevel, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct StartIncidentProto { - // 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. - - public var incidentLookup: IncidentLookupProto { - get {return _incidentLookup ?? IncidentLookupProto()} - set {_incidentLookup = newValue} - } - /// Returns true if `incidentLookup` has been explicitly set. - public var hasIncidentLookup: Bool {return self._incidentLookup != nil} - /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. - public mutating func clearIncidentLookup() {self._incidentLookup = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _incidentLookup: IncidentLookupProto? = nil -} - -public struct StartPartyOutProto { - // 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. - - public var partyPlay: PartyPlayProto { - get {return _partyPlay ?? PartyPlayProto()} - set {_partyPlay = newValue} - } - /// Returns true if `partyPlay` has been explicitly set. - public var hasPartyPlay: Bool {return self._partyPlay != nil} - /// Clears the value of `partyPlay`. Subsequent reads from it will return its default value. - public mutating func clearPartyPlay() {self._partyPlay = nil} - - public var result: StartPartyOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case errorUnknown // = 1 - case success // = 2 - case errorFeatureDisabled // = 3 - case errorPlayerNotInParty // = 4 - case errorPartyNotReadyToStart // = 5 - case errorPlayerIsNotHost // = 6 - case errorNotEnoughPlayers // = 7 - case errorPartyTimedOut // = 8 - case errorPlayersNotInRange // = 9 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .errorUnknown - case 2: self = .success - case 3: self = .errorFeatureDisabled - case 4: self = .errorPlayerNotInParty - case 5: self = .errorPartyNotReadyToStart - case 6: self = .errorPlayerIsNotHost - case 7: self = .errorNotEnoughPlayers - case 8: self = .errorPartyTimedOut - case 9: self = .errorPlayersNotInRange - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .errorUnknown: return 1 - case .success: return 2 - case .errorFeatureDisabled: return 3 - case .errorPlayerNotInParty: return 4 - case .errorPartyNotReadyToStart: return 5 - case .errorPlayerIsNotHost: return 6 - case .errorNotEnoughPlayers: return 7 - case .errorPartyTimedOut: return 8 - case .errorPlayersNotInRange: return 9 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _partyPlay: PartyPlayProto? = nil -} - -#if swift(>=4.2) - -extension StartPartyOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [StartPartyOutProto.Result] = [ - .unset, - .errorUnknown, - .success, - .errorFeatureDisabled, - .errorPlayerNotInParty, - .errorPartyNotReadyToStart, - .errorPlayerIsNotHost, - .errorNotEnoughPlayers, - .errorPartyTimedOut, - .errorPlayersNotInRange, - ] -} - -#endif // swift(>=4.2) - -public struct StartRaidBattleDataProto { - // 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. - - public var obStartRaidBattleDataUint64: [UInt64] = [] - - public var obStartRaidBattleDataInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StartRaidBattleOutProto { - // 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. - - public var result: StartRaidBattleOutProto.Result { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} - } - - public var battle: BattleProto { - get {return _storage._battle ?? BattleProto()} - set {_uniqueStorage()._battle = newValue} - } - /// Returns true if `battle` has been explicitly set. - public var hasBattle: Bool {return _storage._battle != nil} - /// Clears the value of `battle`. Subsequent reads from it will return its default value. - public mutating func clearBattle() {_uniqueStorage()._battle = nil} - - public var battleExperiment: [BattleExperiment] { - get {return _storage._battleExperiment} - set {_uniqueStorage()._battleExperiment = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorGymNotFound // = 2 - case errorRaidUnavailable // = 3 - case errorRaidCompleted // = 4 - case errorInvalidAttackers // = 5 - case errorPlayerBelowMinimumLevel // = 6 - case errorNotInRange // = 7 - case errorPoiInaccessible // = 8 - case errorLobbyNotFound // = 9 - case errorNoTicket // = 10 - case errorInvalidServer // = 11 - case errorNeverJoinedBattle // = 12 - case errorData // = 13 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorGymNotFound - case 3: self = .errorRaidUnavailable - case 4: self = .errorRaidCompleted - case 5: self = .errorInvalidAttackers - case 6: self = .errorPlayerBelowMinimumLevel - case 7: self = .errorNotInRange - case 8: self = .errorPoiInaccessible - case 9: self = .errorLobbyNotFound - case 10: self = .errorNoTicket - case 11: self = .errorInvalidServer - case 12: self = .errorNeverJoinedBattle - case 13: self = .errorData - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorGymNotFound: return 2 - case .errorRaidUnavailable: return 3 - case .errorRaidCompleted: return 4 - case .errorInvalidAttackers: return 5 - case .errorPlayerBelowMinimumLevel: return 6 - case .errorNotInRange: return 7 - case .errorPoiInaccessible: return 8 - case .errorLobbyNotFound: return 9 - case .errorNoTicket: return 10 - case .errorInvalidServer: return 11 - case .errorNeverJoinedBattle: return 12 - case .errorData: return 13 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension StartRaidBattleOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [StartRaidBattleOutProto.Result] = [ - .unset, - .success, - .errorGymNotFound, - .errorRaidUnavailable, - .errorRaidCompleted, - .errorInvalidAttackers, - .errorPlayerBelowMinimumLevel, - .errorNotInRange, - .errorPoiInaccessible, - .errorLobbyNotFound, - .errorNoTicket, - .errorInvalidServer, - .errorNeverJoinedBattle, - .errorData, - ] -} - -#endif // swift(>=4.2) - -public struct StartRaidBattleProto { - // 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. - - public var gymID: String = String() - - public var raidSeed: Int64 = 0 - - public var lobbyID: [Int32] = [] - - public var attackingPokemonID: [UInt64] = [] - - public var playerLatDegrees: Double = 0 - - public var playerLngDegrees: Double = 0 - - public var gymLatDegrees: Double = 0 - - public var gymLngDegrees: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StartRaidBattleResponseDataProto { - // 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. - - public var result: StartRaidBattleOutProto.Result = .unset - - public var obInt32: Int32 = 0 - - public var obUint32: UInt32 = 0 - - public var friendshipLevelMilestone: FriendshipLevelMilestone = .friendshipLevelUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StartRocketBalloonIncidentProto { - // 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. - - public var incidentLookup: IncidentLookupProto { - get {return _incidentLookup ?? IncidentLookupProto()} - set {_incidentLookup = newValue} - } - /// Returns true if `incidentLookup` has been explicitly set. - public var hasIncidentLookup: Bool {return self._incidentLookup != nil} - /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. - public mutating func clearIncidentLookup() {self._incidentLookup = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _incidentLookup: IncidentLookupProto? = nil -} - -public struct StartRouteOutProto { - // 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. - - public var status: RoutePlayStatus.Status = .unset - - public var routePlay: RoutePlayProto { - get {return _routePlay ?? RoutePlayProto()} - set {_routePlay = newValue} - } - /// Returns true if `routePlay` has been explicitly set. - public var hasRoutePlay: Bool {return self._routePlay != nil} - /// Clears the value of `routePlay`. Subsequent reads from it will return its default value. - public mutating func clearRoutePlay() {self._routePlay = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _routePlay: RoutePlayProto? = nil -} - -public struct StartRouteProto { - // 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. - - public var routeID: String = String() - - public var entryFortID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StartTutorialOutProto { - // 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. - - public var result: StartTutorialOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPlayerAlreadyStartedTutorial // = 2 - case errorFailedToStart // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPlayerAlreadyStartedTutorial - case 3: self = .errorFailedToStart - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPlayerAlreadyStartedTutorial: return 2 - case .errorFailedToStart: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension StartTutorialOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [StartTutorialOutProto.Result] = [ - .unset, - .success, - .errorPlayerAlreadyStartedTutorial, - .errorFailedToStart, - ] -} - -#endif // swift(>=4.2) - -public struct StartTutorialProto { - // 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. - - public var onboardingV2Enabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StartupMeasurementProto { - // 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. - - public var numStarts: Int64 = 0 - - public var loadToTosLoginDurationMs: Int64 = 0 - - /// repeated ComponentLoadDurations load_durations = 10; - public var loadToMapDurationMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct ComponentLoadDurations { - // 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. - - public var componentName: String = String() - - public var loadDurationMs: Int64 = 0 - - public var absoluteDurationMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct StickerCategorySettingsProto { - // 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. - - public var enabled: Bool = false - - public var stickerCategory: [StickerCategorySettingsProto.StikerCategory] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct StikerCategory { - // 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. - - public var category: String = String() - - public var sortOrder: Int32 = 0 - - public var stickerCategoryEnabled: Bool = false - - public var stickerIds: [String] = [] - - public var stickerCategoryIconAssetBundle: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct StickerMetadataProto { - // 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. - - public var stickerID: String = String() - - public var stickerURL: String = String() - - public var maxCount: Int32 = 0 - - public var pokemonID: HoloPokemonId = .missingno - - public var stickerCategory: [String] = [] - - public var stickerDate: Int32 = 0 - - public var stickerSortOrder: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StickerProto { - // 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. - - public var stickerID: String = String() - - public var count: Int32 = 0 - - public var used: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StickerRewardProto { - // 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. - - public var stickerID: String = String() - - public var amount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StickerSentProto { - // 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. - - public var stickerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StorageMetrics { - // 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. - - /// The number of bytes of storage the event cache was consuming on the client - /// at the time the request was sent. - public var currentCacheSizeBytes: Int64 = 0 - - /// The maximum number of bytes to which the event cache is allowed to grow. - public var maxCacheSizeBytes: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StoreIapSettingsProto { - // 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. - - public var forStore: Store = .unset - - public var libraryVersion: IapLibraryVersion = .default - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StoreRuleDataProto { - // 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. - - public var ruleName: String = String() - - public var entry: [StoreRuleDataProto.RuleEntry] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct RuleEntry { - // 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. - - public var key: String = String() - - public var value: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct StoryQuestsSectionProto { - // 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. - - public var obStringList: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StringValue { - // 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. - - public var value: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct Struct { - // 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. - - public var fields: Dictionary = [:] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct StyleShopSettingsProto { - // 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. - - public var enabled: Bool = false - - public var obBool2: Bool = false - - public var modes: [String] = [] - - public var status: StyleShopSettingsProto.Status = .unset - - public var obBool3: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case itemBubbleOnly // = 1 - case redDotOnly // = 2 - case allOn // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .itemBubbleOnly - case 2: self = .redDotOnly - case 3: self = .allOn - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .itemBubbleOnly: return 1 - case .redDotOnly: return 2 - case .allOn: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension StyleShopSettingsProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [StyleShopSettingsProto.Status] = [ - .unset, - .itemBubbleOnly, - .redDotOnly, - .allOn, - ] -} - -#endif // swift(>=4.2) - -public struct SubmitCombatActionProto { - // 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. - - public var obCommunCombatData: ObCommunCombatDataProto { - get {return _obCommunCombatData ?? ObCommunCombatDataProto()} - set {_obCommunCombatData = newValue} - } - /// Returns true if `obCommunCombatData` has been explicitly set. - public var hasObCommunCombatData: Bool {return self._obCommunCombatData != nil} - /// Clears the value of `obCommunCombatData`. Subsequent reads from it will return its default value. - public mutating func clearObCommunCombatData() {self._obCommunCombatData = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _obCommunCombatData: ObCommunCombatDataProto? = nil -} - -public struct SubmitCombatChallengePokemonsDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var obListInt32: [Int32] = [] - - public var obUint32: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitCombatChallengePokemonsOutProto { - // 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. - - public var result: SubmitCombatChallengePokemonsOutProto.Result = .unset - - public var challenge: CombatChallengeProto { - get {return _challenge ?? CombatChallengeProto()} - set {_challenge = newValue} - } - /// Returns true if `challenge` has been explicitly set. - public var hasChallenge: Bool {return self._challenge != nil} - /// Clears the value of `challenge`. Subsequent reads from it will return its default value. - public mutating func clearChallenge() {self._challenge = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInvalidChallengeState // = 2 - case errorChallengeNotFound // = 3 - case errorPokemonNotInInventory // = 4 - case errorNotEligibleLeague // = 5 - case errorAlreadyTimedout // = 6 - case errorAlreadyCancelled // = 7 - case errorAccessDenied // = 8 - case errorAlreadyDeclined // = 9 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidChallengeState - case 3: self = .errorChallengeNotFound - case 4: self = .errorPokemonNotInInventory - case 5: self = .errorNotEligibleLeague - case 6: self = .errorAlreadyTimedout - case 7: self = .errorAlreadyCancelled - case 8: self = .errorAccessDenied - case 9: self = .errorAlreadyDeclined - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInvalidChallengeState: return 2 - case .errorChallengeNotFound: return 3 - case .errorPokemonNotInInventory: return 4 - case .errorNotEligibleLeague: return 5 - case .errorAlreadyTimedout: return 6 - case .errorAlreadyCancelled: return 7 - case .errorAccessDenied: return 8 - case .errorAlreadyDeclined: return 9 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _challenge: CombatChallengeProto? = nil -} - -#if swift(>=4.2) - -extension SubmitCombatChallengePokemonsOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SubmitCombatChallengePokemonsOutProto.Result] = [ - .unset, - .success, - .errorInvalidChallengeState, - .errorChallengeNotFound, - .errorPokemonNotInInventory, - .errorNotEligibleLeague, - .errorAlreadyTimedout, - .errorAlreadyCancelled, - .errorAccessDenied, - .errorAlreadyDeclined, - ] -} - -#endif // swift(>=4.2) - -public struct SubmitCombatChallengePokemonsProto { - // 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. - - public var challengeID: String = String() - - public var attackingPokemonID: [UInt64] = [] - - public var lobbyJoinTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitCombatChallengePokemonsResponseDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var obUint32: UInt32 = 0 - - public var result: SubmitCombatChallengePokemonsOutProto.Result = .unset - - public var challenge: ObCommunCombatChallengeDataProto { - get {return _challenge ?? ObCommunCombatChallengeDataProto()} - set {_challenge = newValue} - } - /// Returns true if `challenge` has been explicitly set. - public var hasChallenge: Bool {return self._challenge != nil} - /// Clears the value of `challenge`. Subsequent reads from it will return its default value. - public mutating func clearChallenge() {self._challenge = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _challenge: ObCommunCombatChallengeDataProto? = nil -} - -public struct SubmitImageOutProto { - // 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. - - public var result: SubmitImageOutProto.Result = .unset - - public var transientPhotoURL: String = String() - - public var photoID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case imageDoesNotExist // = 2 - case inappropriateContent // = 3 - case errorUnknown // = 4 - case photoIDAlreadySubmitted // = 5 - case matchingImageFlagged // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .imageDoesNotExist - case 3: self = .inappropriateContent - case 4: self = .errorUnknown - case 5: self = .photoIDAlreadySubmitted - case 6: self = .matchingImageFlagged - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .imageDoesNotExist: return 2 - case .inappropriateContent: return 3 - case .errorUnknown: return 4 - case .photoIDAlreadySubmitted: return 5 - case .matchingImageFlagged: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SubmitImageOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SubmitImageOutProto.Result] = [ - .unset, - .success, - .imageDoesNotExist, - .inappropriateContent, - .errorUnknown, - .photoIDAlreadySubmitted, - .matchingImageFlagged, - ] -} - -#endif // swift(>=4.2) - -public struct SubmitImageProto { - // 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. - - public var photoID: String = String() - - public var metadata: Dictionary = [:] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitMappingRequestProto { - // 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. - - public var poiID: String = String() - - public var nominationType: NominationType = .regular - - public var developerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitNewPoiOutProto { - // 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. - - public var status: SubmitNewPoiOutProto.Status = .unset - - public var submissionID: String = String() - - public var messages: [String] = [] - - public var poiID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case internalError // = 3 - case tooManyRecentSubmissions // = 4 - case invalidInput // = 5 - case minor // = 6 - case notAvailable // = 7 - case alreadyExists // = 8 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - case 3: self = .internalError - case 4: self = .tooManyRecentSubmissions - case 5: self = .invalidInput - case 6: self = .minor - case 7: self = .notAvailable - case 8: self = .alreadyExists - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .internalError: return 3 - case .tooManyRecentSubmissions: return 4 - case .invalidInput: return 5 - case .minor: return 6 - case .notAvailable: return 7 - case .alreadyExists: return 8 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SubmitNewPoiOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SubmitNewPoiOutProto.Status] = [ - .unset, - .success, - .failure, - .internalError, - .tooManyRecentSubmissions, - .invalidInput, - .minor, - .notAvailable, - .alreadyExists, - ] -} - -#endif // swift(>=4.2) - -public struct SubmitNewPoiProto { - // 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. - - public var title: String = String() - - public var longDescription: String = String() - - public var latE6: Int32 = 0 - - public var lngE6: Int32 = 0 - - public var supportingStatement: String = String() - - public var asyncFileUpload: Bool = false - - public var playerSubmittedCategoryIds: [String] = [] - - public var categorySuggestion: String = String() - - public var developerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitPlayerImageVoteForPoiOutProto { - // 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. - - public var status: SubmitPlayerImageVoteForPoiOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case poiNotFound // = 2 - case poiImageNotFound // = 3 - case invalidRequest // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .poiNotFound - case 3: self = .poiImageNotFound - case 6: self = .invalidRequest - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .poiNotFound: return 2 - case .poiImageNotFound: return 3 - case .invalidRequest: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SubmitPlayerImageVoteForPoiOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SubmitPlayerImageVoteForPoiOutProto.Status] = [ - .unset, - .success, - .poiNotFound, - .poiImageNotFound, - .invalidRequest, - ] -} - -#endif // swift(>=4.2) - -public struct SubmitPlayerImageVoteForPoiProto { - // 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. - - public var imageIdsToVoteFor: [String] = [] - - public var imageIdsToUnvote: [String] = [] - - public var poiID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitPoiCategoryVoteRecordProto { - // 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. - - public var poiID: String = String() - - public var playerSubmittedCategoryIds: [String] = [] - - public var categorySuggestion: String = String() - - public var developerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitPoiImageProto { - // 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. - - public var poiID: String = String() - - public var asyncFileUpload: Bool = false - - /// NominationType nomination_type = 21; - public var developerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitPoiLocationUpdateProto { - // 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. - - public var poiID: String = String() - - public var location: LocationE6Proto { - get {return _location ?? LocationE6Proto()} - set {_location = newValue} - } - /// Returns true if `location` has been explicitly set. - public var hasLocation: Bool {return self._location != nil} - /// Clears the value of `location`. Subsequent reads from it will return its default value. - public mutating func clearLocation() {self._location = nil} - - public var developerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _location: LocationE6Proto? = nil -} - -public struct SubmitPoiTakedownRequestProto { - // 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. - - public var poiID: String = String() - - public var invalidReason: PoiInvalidReason = .invalidReasonUnspecified - - public var developerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitPoiTextMetadataUpdateProto { - // 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. - - public var poiID: String = String() - - public var title: String = String() - - public var description_p: String = String() - - public var developerID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitRouteDraftOutProto { - // 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. - - public var result: SubmitRouteDraftOutProto.Result = .unset - - public var submittedRoute: RouteCreationProto { - get {return _submittedRoute ?? RouteCreationProto()} - set {_submittedRoute = newValue} - } - /// Returns true if `submittedRoute` has been explicitly set. - public var hasSubmittedRoute: Bool {return self._submittedRoute != nil} - /// Clears the value of `submittedRoute`. Subsequent reads from it will return its default value. - public mutating func clearSubmittedRoute() {self._submittedRoute = nil} - - public var validationResult: RouteValidation { - get {return _validationResult ?? RouteValidation()} - set {_validationResult = newValue} - } - /// Returns true if `validationResult` has been explicitly set. - public var hasValidationResult: Bool {return self._validationResult != nil} - /// Clears the value of `validationResult`. Subsequent reads from it will return its default value. - public mutating func clearValidationResult() {self._validationResult = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorInvalidRoute // = 3 - case errorOldVersion // = 4 - case errorRouteStateNotInProgress // = 5 - case errorTooManyRecentSubmissions // = 6 - case errorRouteSubmissionUnavailable // = 7 - case errorUnvisitedFort // = 8 - case errorMatchesRejection // = 9 - case errorModerationRejection // = 10 - case pendingModerationResult // = 11 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorInvalidRoute - case 4: self = .errorOldVersion - case 5: self = .errorRouteStateNotInProgress - case 6: self = .errorTooManyRecentSubmissions - case 7: self = .errorRouteSubmissionUnavailable - case 8: self = .errorUnvisitedFort - case 9: self = .errorMatchesRejection - case 10: self = .errorModerationRejection - case 11: self = .pendingModerationResult - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorInvalidRoute: return 3 - case .errorOldVersion: return 4 - case .errorRouteStateNotInProgress: return 5 - case .errorTooManyRecentSubmissions: return 6 - case .errorRouteSubmissionUnavailable: return 7 - case .errorUnvisitedFort: return 8 - case .errorMatchesRejection: return 9 - case .errorModerationRejection: return 10 - case .pendingModerationResult: return 11 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _submittedRoute: RouteCreationProto? = nil - fileprivate var _validationResult: RouteValidation? = nil -} - -#if swift(>=4.2) - -extension SubmitRouteDraftOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SubmitRouteDraftOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorInvalidRoute, - .errorOldVersion, - .errorRouteStateNotInProgress, - .errorTooManyRecentSubmissions, - .errorRouteSubmissionUnavailable, - .errorUnvisitedFort, - .errorMatchesRejection, - .errorModerationRejection, - .pendingModerationResult, - ] -} - -#endif // swift(>=4.2) - -public struct SubmitRouteDraftProto { - // 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. - - public var routeID: Int64 = 0 - - public var routeVersion: Int64 = 0 - - public var approvalOverride: SubmitRouteDraftProto.ApprovalOverride = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ApprovalOverride: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case approve // = 1 - case reject // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .approve - case 2: self = .reject - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .approve: return 1 - case .reject: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension SubmitRouteDraftProto.ApprovalOverride: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SubmitRouteDraftProto.ApprovalOverride] = [ - .unset, - .approve, - .reject, - ] -} - -#endif // swift(>=4.2) - -public struct SubmitSleepRecordsQuestProto { - // 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. - - public var numDays: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SubmitSponsorPoiLocationUpdateProto { - // 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. - - public var poiID: String = String() - - public var location: LocationE6Proto { - get {return _location ?? LocationE6Proto()} - set {_location = newValue} - } - /// Returns true if `location` has been explicitly set. - public var hasLocation: Bool {return self._location != nil} - /// Clears the value of `location`. Subsequent reads from it will return its default value. - public mutating func clearLocation() {self._location = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _location: LocationE6Proto? = nil -} - -public struct SubmitSponsorPoiReportProto { - // 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. - - public var poiID: String = String() - - public var invalidReason: SponsorPoiInvalidReason = .sponsorPoiReasonUnspecified - - public var additionalDetails: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SuperAwesomeTokenProto { - // 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. - - public var token: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SupportedContestTypesSettingsProto { - // 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. - - public var contestTypes: [SupportedContestTypesSettingsProto.ContestTypeProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct ContestTypeProto { - // 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. - - public var contestMetricType: ContestMetricProto { - get {return _contestMetricType ?? ContestMetricProto()} - set {_contestMetricType = newValue} - } - /// Returns true if `contestMetricType` has been explicitly set. - public var hasContestMetricType: Bool {return self._contestMetricType != nil} - /// Clears the value of `contestMetricType`. Subsequent reads from it will return its default value. - public mutating func clearContestMetricType() {self._contestMetricType = nil} - - public var badgeType: HoloBadgeType = .badgeUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _contestMetricType: ContestMetricProto? = nil - } - - public init() {} -} - -public struct SurveySettings { - // 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. - - public var obSurveySettingsBool: Bool = false - - public var obSurveySettingsInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct SyncContactListRequest { - // 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. - - public var contact: [SyncContactListRequest.ContactProto] = [] - - public var countryCode: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct ContactProto { - // 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. - - public var contactID: String = String() - - public var email: [String] = [] - - public var phoneNumber: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct SyncContactListResponse { - // 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. - - public var result: SyncContactListResponse.Result = .unset - - public var contactPlayer: [SyncContactListResponse.ContactPlayerProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerNotFound // = 3 - case errorExceedsMaxContactsPerQuery // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerNotFound - case 4: self = .errorExceedsMaxContactsPerQuery - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerNotFound: return 3 - case .errorExceedsMaxContactsPerQuery: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct ContactPlayerProto { - // 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. - - public var contactID: String = String() - - public var player: [SyncContactListResponse.ContactPlayerProto.PlayerProto] = [] - - public var status: SyncContactListResponse.ContactPlayerProto.ContactStatus = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ContactStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case invited // = 1 - case removed // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .invited - case 2: self = .removed - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .invited: return 1 - case .removed: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct PlayerProto { - // 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. - - public var isCallingGamePlayer: Bool = false - - public var isNewlySignedUpPlayer: Bool = false - - public var isSelf: Bool = false - - public var isFriend: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - } - - public init() {} -} - -#if swift(>=4.2) - -extension SyncContactListResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SyncContactListResponse.Result] = [ - .unset, - .success, - .errorUnknown, - .errorPlayerNotFound, - .errorExceedsMaxContactsPerQuery, - ] -} - -extension SyncContactListResponse.ContactPlayerProto.ContactStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [SyncContactListResponse.ContactPlayerProto.ContactStatus] = [ - .unset, - .invited, - .removed, - ] -} - -#endif // swift(>=4.2) - -public struct TakeSnapshotQuestProto { - // 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. - - public var uniquePokemonID: [HoloPokemonId] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct Tappable { - // 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. - - public var type: Tappable.TappableType = .unset - - public var id: Int32 = 0 - - public var count: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum TappableType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case breakfast // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .breakfast - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .breakfast: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension Tappable.TappableType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Tappable.TappableType] = [ - .unset, - .breakfast, - ] -} - -#endif // swift(>=4.2) - -public struct TappableSettingsProto { - // 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. - - public var visibleRadiusMeters: Float = 0 - - public var spawnAngleDegrees: Float = 0 - - public var movementRespawnThresholdMeters: Float = 0 - - public var buddyFovDegrees: Float = 0 - - public var buddyCollectProbability: Float = 0 - - public var disablePlayerCollection: Bool = false - - public var avgTappablesInView: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TeamChangeInfoProto { - // 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. - - public var lastAcquiredTime: Int64 = 0 - - public var numItemsAcquired: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TelemetryAttribute { - // 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. - - public var field: TelemetryField { - get {return _field ?? TelemetryField()} - set {_field = newValue} - } - /// Returns true if `field` has been explicitly set. - public var hasField: Bool {return self._field != nil} - /// Clears the value of `field`. Subsequent reads from it will return its default value. - public mutating func clearField() {self._field = nil} - - public var value: TelemetryValue { - get {return _value ?? TelemetryValue()} - set {_value = newValue} - } - /// Returns true if `value` has been explicitly set. - public var hasValue: Bool {return self._value != nil} - /// Clears the value of `value`. Subsequent reads from it will return its default value. - public mutating func clearValue() {self._value = nil} - - /// repeated Label labels = 4; - public var timestamp: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct Label { - // 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. - - /// repeated TelemetryValue values = 2; - public var field: TelemetryField { - get {return _field ?? TelemetryField()} - set {_field = newValue} - } - /// Returns true if `field` has been explicitly set. - public var hasField: Bool {return self._field != nil} - /// Clears the value of `field`. Subsequent reads from it will return its default value. - public mutating func clearField() {self._field = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _field: TelemetryField? = nil - } - - public init() {} - - fileprivate var _field: TelemetryField? = nil - fileprivate var _value: TelemetryValue? = nil -} - -public struct TelemetryAttributeRecordProto { - // 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. - - public var metadata: TelemetryAttributeRecordProto.OneOf_Metadata? = nil - - public var common: TelemetryMetadataProto { - get { - if case .common(let v)? = metadata {return v} - return TelemetryMetadataProto() - } - set {metadata = .common(newValue)} - } - - public var compressedCommon: Data { - get { - if case .compressedCommon(let v)? = metadata {return v} - return Data() - } - set {metadata = .compressedCommon(newValue)} - } - - public var attribute: TelemetryAttribute { - get {return _attribute ?? TelemetryAttribute()} - set {_attribute = newValue} - } - /// Returns true if `attribute` has been explicitly set. - public var hasAttribute: Bool {return self._attribute != nil} - /// Clears the value of `attribute`. Subsequent reads from it will return its default value. - public mutating func clearAttribute() {self._attribute = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Metadata: Equatable { - case common(TelemetryMetadataProto) - case compressedCommon(Data) - - #if !swift(>=4.1) - public static func ==(lhs: TelemetryAttributeRecordProto.OneOf_Metadata, rhs: TelemetryAttributeRecordProto.OneOf_Metadata) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.common, .common): return { - guard case .common(let l) = lhs, case .common(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.compressedCommon, .compressedCommon): return { - guard case .compressedCommon(let l) = lhs, case .compressedCommon(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} - - fileprivate var _attribute: TelemetryAttribute? = nil -} - -public struct TelemetryBatchProto { - // 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. - - public var environmentID: String = String() - - public var events: [TelemetryEventRecordProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TelemetryCommon { - // 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. - - public var timestamp: Int64 = 0 - - public var correlationVector: String = String() - - public var eventID: String = String() - - public var clientTimestampMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TelemetryCommonFilterProto { - // 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. - - public var applicationIdentifier: String = String() - - public var operatingSystemName: String = String() - - public var deviceModel: String = String() - - public var localeCountryCode: String = String() - - public var localeLanguageCode: String = String() - - public var samplingProbability: Double = 0 - - public var qualityLevel: String = String() - - public var networkConnectivityType: String = String() - - public var gameContext: String = String() - - public var languageCode: String = String() - - public var timezone: String = String() - - public var ipCountryCode: String = String() - - public var graphicsDeviceVendor: String = String() - - public var graphicsDeviceName: String = String() - - public var graphicsDeviceType: String = String() - - public var graphicsShaderLevel: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TelemetryEventRecordProto { - // 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. - - public var message: TelemetryEventRecordProto.OneOf_Message? = nil - - public var encodedMessage: Data { - get { - if case .encodedMessage(let v)? = message {return v} - return Data() - } - set {message = .encodedMessage(newValue)} - } - - public var compressedMessage: Data { - get { - if case .compressedMessage(let v)? = message {return v} - return Data() - } - set {message = .compressedMessage(newValue)} - } - - public var metadata: TelemetryEventRecordProto.OneOf_Metadata? = nil - - public var common: TelemetryMetadataProto { - get { - if case .common(let v)? = metadata {return v} - return TelemetryMetadataProto() - } - set {metadata = .common(newValue)} - } - - public var compressedCommon: Data { - get { - if case .compressedCommon(let v)? = metadata {return v} - return Data() - } - set {metadata = .compressedCommon(newValue)} - } - - public var eventName: String = String() - - public var facetDetailName: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Message: Equatable { - case encodedMessage(Data) - case compressedMessage(Data) - - #if !swift(>=4.1) - public static func ==(lhs: TelemetryEventRecordProto.OneOf_Message, rhs: TelemetryEventRecordProto.OneOf_Message) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.encodedMessage, .encodedMessage): return { - guard case .encodedMessage(let l) = lhs, case .encodedMessage(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.compressedMessage, .compressedMessage): return { - guard case .compressedMessage(let l) = lhs, case .compressedMessage(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum OneOf_Metadata: Equatable { - case common(TelemetryMetadataProto) - case compressedCommon(Data) - - #if !swift(>=4.1) - public static func ==(lhs: TelemetryEventRecordProto.OneOf_Metadata, rhs: TelemetryEventRecordProto.OneOf_Metadata) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.common, .common): return { - guard case .common(let l) = lhs, case .common(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.compressedCommon, .compressedCommon): return { - guard case .compressedCommon(let l) = lhs, case .compressedCommon(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} -} - -public struct TelemetryField { - // 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. - - public var entityName: String = String() - - /// repeated TelemetryKey keys = 3; - public var fieldPath: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TelemetryGlobalSettingsProto { - // 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. - - public var enabled: Bool = false - - public var sessionSamplingFraction: Double = 0 - - public var maxBufferSizeKb: Int32 = 0 - - public var batchSize: Int32 = 0 - - public var updateIntervalMs: Int64 = 0 - - public var frameRateSampleIntervalMs: Int64 = 0 - - public var frameRateSamplePeriodMs: Int64 = 0 - - public var enableOmniWrapperSending: Bool = false - - public var obFloat: Float = 0 - - public var enableFrameRateSample: Bool = false - - public var obListString: [String] = [] - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TelemetryKey { - // 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. - - public var keyName: String = String() - - public var value: TelemetryValue { - get {return _value ?? TelemetryValue()} - set {_value = newValue} - } - /// Returns true if `value` has been explicitly set. - public var hasValue: Bool {return self._value != nil} - /// Clears the value of `value`. Subsequent reads from it will return its default value. - public mutating func clearValue() {self._value = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _value: TelemetryValue? = nil -} - -public struct TelemetryMetadataProto { - // 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. - - public var userID: String { - get {return _storage._userID} - set {_uniqueStorage()._userID = newValue} - } - - public var sessionID: Int64 { - get {return _storage._sessionID} - set {_uniqueStorage()._sessionID = newValue} - } - - public var recordID: String { - get {return _storage._recordID} - set {_uniqueStorage()._recordID = newValue} - } - - public var telemetryScopeID: TelemetryMetadataProto.TelemetryScopeId { - get {return _storage._telemetryScopeID} - set {_uniqueStorage()._telemetryScopeID = newValue} - } - - public var isQueryable: Bool { - get {return _storage._isQueryable} - set {_uniqueStorage()._isQueryable = newValue} - } - - public var keyvalueColumn: String { - get {return _storage._keyvalueColumn} - set {_uniqueStorage()._keyvalueColumn = newValue} - } - - public var processingAttemptsCount: UInt32 { - get {return _storage._processingAttemptsCount} - set {_uniqueStorage()._processingAttemptsCount = newValue} - } - - public var pubSubMessageID: String { - get {return _storage._pubSubMessageID} - set {_uniqueStorage()._pubSubMessageID = newValue} - } - - public var sourcePublishedTimestampMillis: Int64 { - get {return _storage._sourcePublishedTimestampMillis} - set {_uniqueStorage()._sourcePublishedTimestampMillis = newValue} - } - - public var anfePublishedTimestampMillis: Int64 { - get {return _storage._anfePublishedTimestampMillis} - set {_uniqueStorage()._anfePublishedTimestampMillis = newValue} - } - - public var platformPlayerInfo: PlayerInfo { - get {return _storage._platformPlayerInfo ?? PlayerInfo()} - set {_uniqueStorage()._platformPlayerInfo = newValue} - } - /// Returns true if `platformPlayerInfo` has been explicitly set. - public var hasPlatformPlayerInfo: Bool {return _storage._platformPlayerInfo != nil} - /// Clears the value of `platformPlayerInfo`. Subsequent reads from it will return its default value. - public mutating func clearPlatformPlayerInfo() {_uniqueStorage()._platformPlayerInfo = nil} - - public var deviceInfo: ClientTelemetryCommonFilterProto { - get {return _storage._deviceInfo ?? ClientTelemetryCommonFilterProto()} - set {_uniqueStorage()._deviceInfo = newValue} - } - /// Returns true if `deviceInfo` has been explicitly set. - public var hasDeviceInfo: Bool {return _storage._deviceInfo != nil} - /// Clears the value of `deviceInfo`. Subsequent reads from it will return its default value. - public mutating func clearDeviceInfo() {_uniqueStorage()._deviceInfo = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum TelemetryScopeId: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case platformServer // = 1 - case platformClient // = 2 - case gameServer // = 3 - case gameClient // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .platformServer - case 2: self = .platformClient - case 3: self = .gameServer - case 4: self = .gameClient - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .platformServer: return 1 - case .platformClient: return 2 - case .gameServer: return 3 - case .gameClient: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension TelemetryMetadataProto.TelemetryScopeId: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TelemetryMetadataProto.TelemetryScopeId] = [ - .unset, - .platformServer, - .platformClient, - .gameServer, - .gameClient, - ] -} - -#endif // swift(>=4.2) - -public struct TelemetryMetricRecordProto { - // 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. - - public var metadata: TelemetryMetricRecordProto.OneOf_Metadata? = nil - - public var common: TelemetryMetadataProto { - get { - if case .common(let v)? = metadata {return v} - return TelemetryMetadataProto() - } - set {metadata = .common(newValue)} - } - - public var compressedCommon: Data { - get { - if case .compressedCommon(let v)? = metadata {return v} - return Data() - } - set {metadata = .compressedCommon(newValue)} - } - - public var value: TelemetryMetricRecordProto.OneOf_Value? = nil - - public var long: Int64 { - get { - if case .long(let v)? = value {return v} - return 0 - } - set {value = .long(newValue)} - } - - public var double: Double { - get { - if case .double(let v)? = value {return v} - return 0 - } - set {value = .double(newValue)} - } - - public var boolean: Bool { - get { - if case .boolean(let v)? = value {return v} - return false - } - set {value = .boolean(newValue)} - } - - public var metricID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Metadata: Equatable { - case common(TelemetryMetadataProto) - case compressedCommon(Data) - - #if !swift(>=4.1) - public static func ==(lhs: TelemetryMetricRecordProto.OneOf_Metadata, rhs: TelemetryMetricRecordProto.OneOf_Metadata) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.common, .common): return { - guard case .common(let l) = lhs, case .common(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.compressedCommon, .compressedCommon): return { - guard case .compressedCommon(let l) = lhs, case .compressedCommon(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum OneOf_Value: Equatable { - case long(Int64) - case double(Double) - case boolean(Bool) - - #if !swift(>=4.1) - public static func ==(lhs: TelemetryMetricRecordProto.OneOf_Value, rhs: TelemetryMetricRecordProto.OneOf_Value) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.long, .long): return { - guard case .long(let l) = lhs, case .long(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.double, .double): return { - guard case .double(let l) = lhs, case .double(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.boolean, .boolean): return { - guard case .boolean(let l) = lhs, case .boolean(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public enum Kind: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unspecified // = 0 - case gauge // = 1 - case delta // = 2 - case cumulative // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unspecified - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unspecified - case 1: self = .gauge - case 2: self = .delta - case 3: self = .cumulative - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unspecified: return 0 - case .gauge: return 1 - case .delta: return 2 - case .cumulative: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension TelemetryMetricRecordProto.Kind: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TelemetryMetricRecordProto.Kind] = [ - .unspecified, - .gauge, - .delta, - .cumulative, - ] -} - -#endif // swift(>=4.2) - -public struct TelemetryRecordResult { - // 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. - - public var recordID: String = String() - - public var status: TelemetryRecordResult.Status = .unset - - public var telemetryTypeName: String = String() - - public var failureDetail: String = String() - - public var retryAfterMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case invalidRequest // = 10 - case accessDenied // = 11 - case notApprovedEvent // = 12 - case backendError // = 20 - case throttled // = 30 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 10: self = .invalidRequest - case 11: self = .accessDenied - case 12: self = .notApprovedEvent - case 20: self = .backendError - case 30: self = .throttled - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .invalidRequest: return 10 - case .accessDenied: return 11 - case .notApprovedEvent: return 12 - case .backendError: return 20 - case .throttled: return 30 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension TelemetryRecordResult.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TelemetryRecordResult.Status] = [ - .unset, - .invalidRequest, - .accessDenied, - .notApprovedEvent, - .backendError, - .throttled, - ] -} - -#endif // swift(>=4.2) - -public struct TelemetryRequestMetadata { - // 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. - - public var userID: String = String() - - public var isMinor: Bool = false - - public var envID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TelemetryRequestProto { - // 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. - - public var apiVersion: String = String() - - public var messageVersion: String = String() - - public var telemetryBatch: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TelemetryResponseProto { - // 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. - - public var status: TelemetryResponseProto.Status = .unset - - public var rowsWritten: Int32 = 0 - - public var failureDetail: String = String() - - public var retryableFailures: [TelemetryRecordResult] = [] - - public var nonRetryableFailures: [TelemetryRecordResult] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case partialFailure // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - case 3: self = .partialFailure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .partialFailure: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension TelemetryResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TelemetryResponseProto.Status] = [ - .unset, - .success, - .failure, - .partialFailure, - ] -} - -#endif // swift(>=4.2) - -public struct TelemetryServerData { - // 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. - - public var userID: String = String() - - public var telemetryID: String = String() - - public var sessionID: String = String() - - public var experimentIds: [Int32] = [] - - public var eventRequestID: String = String() - - public var serverTimestampMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TelemetryValue { - // 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. - - public var value: TelemetryValue.OneOf_Value? = nil - - public var intValue: Int64 { - get { - if case .intValue(let v)? = value {return v} - return 0 - } - set {value = .intValue(newValue)} - } - - public var doubleValue: Double { - get { - if case .doubleValue(let v)? = value {return v} - return 0 - } - set {value = .doubleValue(newValue)} - } - - public var stringValue: String { - get { - if case .stringValue(let v)? = value {return v} - return String() - } - set {value = .stringValue(newValue)} - } - - public var boolValue: Bool { - get { - if case .boolValue(let v)? = value {return v} - return false - } - set {value = .boolValue(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Value: Equatable { - case intValue(Int64) - case doubleValue(Double) - case stringValue(String) - case boolValue(Bool) - - #if !swift(>=4.1) - public static func ==(lhs: TelemetryValue.OneOf_Value, rhs: TelemetryValue.OneOf_Value) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.intValue, .intValue): return { - guard case .intValue(let l) = lhs, case .intValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.doubleValue, .doubleValue): return { - guard case .doubleValue(let l) = lhs, case .doubleValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.stringValue, .stringValue): return { - guard case .stringValue(let l) = lhs, case .stringValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.boolValue, .boolValue): return { - guard case .boolValue(let l) = lhs, case .boolValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} -} - -public struct TempEvoOverrideProto { - // 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. - - public var tempEvoID: HoloTemporaryEvolutionId { - get {return _storage._tempEvoID} - set {_uniqueStorage()._tempEvoID = newValue} - } - - public var stats: PokemonStatsAttributesProto { - get {return _storage._stats ?? PokemonStatsAttributesProto()} - set {_uniqueStorage()._stats = newValue} - } - /// Returns true if `stats` has been explicitly set. - public var hasStats: Bool {return _storage._stats != nil} - /// Clears the value of `stats`. Subsequent reads from it will return its default value. - public mutating func clearStats() {_uniqueStorage()._stats = nil} - - public var averageHeightM: Float { - get {return _storage._averageHeightM} - set {_uniqueStorage()._averageHeightM = newValue} - } - - public var averageWeightKg: Float { - get {return _storage._averageWeightKg} - set {_uniqueStorage()._averageWeightKg = newValue} - } - - public var typeOverride1: HoloPokemonType { - get {return _storage._typeOverride1} - set {_uniqueStorage()._typeOverride1 = newValue} - } - - public var typeOverride2: HoloPokemonType { - get {return _storage._typeOverride2} - set {_uniqueStorage()._typeOverride2 = newValue} - } - - public var cpMultiplierOverride: Float { - get {return _storage._cpMultiplierOverride} - set {_uniqueStorage()._cpMultiplierOverride = newValue} - } - - public var camera: PokemonCameraAttributesProto { - get {return _storage._camera ?? PokemonCameraAttributesProto()} - set {_uniqueStorage()._camera = newValue} - } - /// Returns true if `camera` has been explicitly set. - public var hasCamera: Bool {return _storage._camera != nil} - /// Clears the value of `camera`. Subsequent reads from it will return its default value. - public mutating func clearCamera() {_uniqueStorage()._camera = nil} - - public var encounter: PokemonEncounterAttributesProto { - get {return _storage._encounter ?? PokemonEncounterAttributesProto()} - set {_uniqueStorage()._encounter = newValue} - } - /// Returns true if `encounter` has been explicitly set. - public var hasEncounter: Bool {return _storage._encounter != nil} - /// Clears the value of `encounter`. Subsequent reads from it will return its default value. - public mutating func clearEncounter() {_uniqueStorage()._encounter = nil} - - public var modelScaleV2: Float { - get {return _storage._modelScaleV2} - set {_uniqueStorage()._modelScaleV2 = newValue} - } - - public var modelHeight: Float { - get {return _storage._modelHeight} - set {_uniqueStorage()._modelHeight = newValue} - } - - public var buddyOffsetMale: [Float] { - get {return _storage._buddyOffsetMale} - set {_uniqueStorage()._buddyOffsetMale = newValue} - } - - public var buddyOffsetFemale: [Float] { - get {return _storage._buddyOffsetFemale} - set {_uniqueStorage()._buddyOffsetFemale = newValue} - } - - public var buddyPortraitOffset: [Float] { - get {return _storage._buddyPortraitOffset} - set {_uniqueStorage()._buddyPortraitOffset = newValue} - } - - public var raidBossDistanceOffset: Float { - get {return _storage._raidBossDistanceOffset} - set {_uniqueStorage()._raidBossDistanceOffset = newValue} - } - - public var pokemonSizeSettings: PokemonSizeSettingsProto { - get {return _storage._pokemonSizeSettings ?? PokemonSizeSettingsProto()} - set {_uniqueStorage()._pokemonSizeSettings = newValue} - } - /// Returns true if `pokemonSizeSettings` has been explicitly set. - public var hasPokemonSizeSettings: Bool {return _storage._pokemonSizeSettings != nil} - /// Clears the value of `pokemonSizeSettings`. Subsequent reads from it will return its default value. - public mutating func clearPokemonSizeSettings() {_uniqueStorage()._pokemonSizeSettings = nil} - - public var obFloatList: [Float] { - get {return _storage._obFloatList} - set {_uniqueStorage()._obFloatList = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct TemplateVariable { - // 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. - - public var name: String = String() - - public var literal: String = String() - - public var key: String = String() - - public var lookupTable: String = String() - - public var byteValue: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TemporaryEvolutionProto { - // 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. - - public var temporaryEvolutionID: HoloTemporaryEvolutionId = .tempEvolutionUnset - - public var assetBundleValue: Int32 = 0 - - public var assetBundleSuffix: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TemporaryEvolutionResourceProto { - // 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. - - public var temporaryEvolutionID: HoloTemporaryEvolutionId = .tempEvolutionUnset - - public var energyCount: Int32 = 0 - - public var maxEnergyCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TemporaryEvolutionSettingsProto { - // 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. - - public var pokemonID: HoloPokemonId = .missingno - - public var temporaryEvolutions: [TemporaryEvolutionProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TfLiteTensorsToDetectionsCalculatorOptions { - // 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. - - public var numClasses: Int32 { - get {return _storage._numClasses ?? 0} - set {_uniqueStorage()._numClasses = newValue} - } - /// Returns true if `numClasses` has been explicitly set. - public var hasNumClasses: Bool {return _storage._numClasses != nil} - /// Clears the value of `numClasses`. Subsequent reads from it will return its default value. - public mutating func clearNumClasses() {_uniqueStorage()._numClasses = nil} - - public var numBoxes: Int32 { - get {return _storage._numBoxes ?? 0} - set {_uniqueStorage()._numBoxes = newValue} - } - /// Returns true if `numBoxes` has been explicitly set. - public var hasNumBoxes: Bool {return _storage._numBoxes != nil} - /// Clears the value of `numBoxes`. Subsequent reads from it will return its default value. - public mutating func clearNumBoxes() {_uniqueStorage()._numBoxes = nil} - - public var numCoords: Int32 { - get {return _storage._numCoords ?? 0} - set {_uniqueStorage()._numCoords = newValue} - } - /// Returns true if `numCoords` has been explicitly set. - public var hasNumCoords: Bool {return _storage._numCoords != nil} - /// Clears the value of `numCoords`. Subsequent reads from it will return its default value. - public mutating func clearNumCoords() {_uniqueStorage()._numCoords = nil} - - public var keypointCoordOffset: Int32 { - get {return _storage._keypointCoordOffset ?? 0} - set {_uniqueStorage()._keypointCoordOffset = newValue} - } - /// Returns true if `keypointCoordOffset` has been explicitly set. - public var hasKeypointCoordOffset: Bool {return _storage._keypointCoordOffset != nil} - /// Clears the value of `keypointCoordOffset`. Subsequent reads from it will return its default value. - public mutating func clearKeypointCoordOffset() {_uniqueStorage()._keypointCoordOffset = nil} - - public var numKeypoints: Int32 { - get {return _storage._numKeypoints ?? 0} - set {_uniqueStorage()._numKeypoints = newValue} - } - /// Returns true if `numKeypoints` has been explicitly set. - public var hasNumKeypoints: Bool {return _storage._numKeypoints != nil} - /// Clears the value of `numKeypoints`. Subsequent reads from it will return its default value. - public mutating func clearNumKeypoints() {_uniqueStorage()._numKeypoints = nil} - - public var numValuesPerKeypoint: Int32 { - get {return _storage._numValuesPerKeypoint ?? 0} - set {_uniqueStorage()._numValuesPerKeypoint = newValue} - } - /// Returns true if `numValuesPerKeypoint` has been explicitly set. - public var hasNumValuesPerKeypoint: Bool {return _storage._numValuesPerKeypoint != nil} - /// Clears the value of `numValuesPerKeypoint`. Subsequent reads from it will return its default value. - public mutating func clearNumValuesPerKeypoint() {_uniqueStorage()._numValuesPerKeypoint = nil} - - public var boxCoordOffset: Int32 { - get {return _storage._boxCoordOffset ?? 0} - set {_uniqueStorage()._boxCoordOffset = newValue} - } - /// Returns true if `boxCoordOffset` has been explicitly set. - public var hasBoxCoordOffset: Bool {return _storage._boxCoordOffset != nil} - /// Clears the value of `boxCoordOffset`. Subsequent reads from it will return its default value. - public mutating func clearBoxCoordOffset() {_uniqueStorage()._boxCoordOffset = nil} - - public var xScale: Float { - get {return _storage._xScale ?? 0} - set {_uniqueStorage()._xScale = newValue} - } - /// Returns true if `xScale` has been explicitly set. - public var hasXScale: Bool {return _storage._xScale != nil} - /// Clears the value of `xScale`. Subsequent reads from it will return its default value. - public mutating func clearXScale() {_uniqueStorage()._xScale = nil} - - public var yScale: Float { - get {return _storage._yScale ?? 0} - set {_uniqueStorage()._yScale = newValue} - } - /// Returns true if `yScale` has been explicitly set. - public var hasYScale: Bool {return _storage._yScale != nil} - /// Clears the value of `yScale`. Subsequent reads from it will return its default value. - public mutating func clearYScale() {_uniqueStorage()._yScale = nil} - - public var wScale: Float { - get {return _storage._wScale ?? 0} - set {_uniqueStorage()._wScale = newValue} - } - /// Returns true if `wScale` has been explicitly set. - public var hasWScale: Bool {return _storage._wScale != nil} - /// Clears the value of `wScale`. Subsequent reads from it will return its default value. - public mutating func clearWScale() {_uniqueStorage()._wScale = nil} - - public var hScale: Float { - get {return _storage._hScale ?? 0} - set {_uniqueStorage()._hScale = newValue} - } - /// Returns true if `hScale` has been explicitly set. - public var hasHScale: Bool {return _storage._hScale != nil} - /// Clears the value of `hScale`. Subsequent reads from it will return its default value. - public mutating func clearHScale() {_uniqueStorage()._hScale = nil} - - public var applyExponentialOnBoxSize: Bool { - get {return _storage._applyExponentialOnBoxSize ?? false} - set {_uniqueStorage()._applyExponentialOnBoxSize = newValue} - } - /// Returns true if `applyExponentialOnBoxSize` has been explicitly set. - public var hasApplyExponentialOnBoxSize: Bool {return _storage._applyExponentialOnBoxSize != nil} - /// Clears the value of `applyExponentialOnBoxSize`. Subsequent reads from it will return its default value. - public mutating func clearApplyExponentialOnBoxSize() {_uniqueStorage()._applyExponentialOnBoxSize = nil} - - public var reverseOutputOrder: Bool { - get {return _storage._reverseOutputOrder ?? false} - set {_uniqueStorage()._reverseOutputOrder = newValue} - } - /// Returns true if `reverseOutputOrder` has been explicitly set. - public var hasReverseOutputOrder: Bool {return _storage._reverseOutputOrder != nil} - /// Clears the value of `reverseOutputOrder`. Subsequent reads from it will return its default value. - public mutating func clearReverseOutputOrder() {_uniqueStorage()._reverseOutputOrder = nil} - - public var ignoreClasses: [Int32] { - get {return _storage._ignoreClasses} - set {_uniqueStorage()._ignoreClasses = newValue} - } - - public var sigmoidScore: Bool { - get {return _storage._sigmoidScore ?? false} - set {_uniqueStorage()._sigmoidScore = newValue} - } - /// Returns true if `sigmoidScore` has been explicitly set. - public var hasSigmoidScore: Bool {return _storage._sigmoidScore != nil} - /// Clears the value of `sigmoidScore`. Subsequent reads from it will return its default value. - public mutating func clearSigmoidScore() {_uniqueStorage()._sigmoidScore = nil} - - public var scoreClippingThresh: Float { - get {return _storage._scoreClippingThresh ?? 0} - set {_uniqueStorage()._scoreClippingThresh = newValue} - } - /// Returns true if `scoreClippingThresh` has been explicitly set. - public var hasScoreClippingThresh: Bool {return _storage._scoreClippingThresh != nil} - /// Clears the value of `scoreClippingThresh`. Subsequent reads from it will return its default value. - public mutating func clearScoreClippingThresh() {_uniqueStorage()._scoreClippingThresh = nil} - - public var flipVertically: Bool { - get {return _storage._flipVertically ?? false} - set {_uniqueStorage()._flipVertically = newValue} - } - /// Returns true if `flipVertically` has been explicitly set. - public var hasFlipVertically: Bool {return _storage._flipVertically != nil} - /// Clears the value of `flipVertically`. Subsequent reads from it will return its default value. - public mutating func clearFlipVertically() {_uniqueStorage()._flipVertically = nil} - - /// extend CalculatorOptions { - /// optional TfLiteTensorsToDetectionsCalculatorOptions ext = 246514968; - /// } - public var minScoreThresh: Float { - get {return _storage._minScoreThresh ?? 0} - set {_uniqueStorage()._minScoreThresh = newValue} - } - /// Returns true if `minScoreThresh` has been explicitly set. - public var hasMinScoreThresh: Bool {return _storage._minScoreThresh != nil} - /// Clears the value of `minScoreThresh`. Subsequent reads from it will return its default value. - public mutating func clearMinScoreThresh() {_uniqueStorage()._minScoreThresh = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct ThirdMoveGlobalSettingsProto { - // 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. - - public var unlockEnabled: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TicketGiftingSettingsProto { - // 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. - - public var minPlayerLevel: Int32 = 0 - - public var maxNumberOfGiftsPerDay: Int32 = 0 - - public var friendShipLevel: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TiledBlob { - // 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. - - public var formatVersion: Int32 = 0 - - public var zoom: Int32 = 0 - - public var x: Int32 = 0 - - public var y: Int32 = 0 - - public var epoch: Int32 = 0 - - public var encodedData: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TimeToPlayableTelemetry { - // 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. - - public var status: TimeToPlayableTelemetry.Status = .undefined - - public var obFloat: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case warm // = 1 - case cold // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .undefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 1: self = .warm - case 2: self = .cold - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .warm: return 1 - case .cold: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension TimeToPlayableTelemetry.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TimeToPlayableTelemetry.Status] = [ - .undefined, - .warm, - .cold, - ] -} - -#endif // swift(>=4.2) - -public struct TimeWindow { - // 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. - - /// The time that the window first starts. - /// start_ms is the number of milliseconds since the UNIX epoch - /// (January 1, 1970 00:00:00 UTC) - public var startMs: Int64 = 0 - - /// The time that the window ends. - /// end_ms is the number of milliseconds since the UNIX epoch - /// (January 1, 1970 00:00:00 UTC) - public var endMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TimedGroupChallengeDefinitionProto { - // 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. - - public var challengeID: String = String() - - public var display: GroupChallengeDisplayProto { - get {return _display ?? GroupChallengeDisplayProto()} - set {_display = newValue} - } - /// Returns true if `display` has been explicitly set. - public var hasDisplay: Bool {return self._display != nil} - /// Clears the value of `display`. Subsequent reads from it will return its default value. - public mutating func clearDisplay() {self._display = nil} - - public var startTimeMsInclusive: Int64 = 0 - - public var endTimeMsExclusive: Int64 = 0 - - public var challengeCriteria: GroupChallengeCriteriaProto { - get {return _challengeCriteria ?? GroupChallengeCriteriaProto()} - set {_challengeCriteria = newValue} - } - /// Returns true if `challengeCriteria` has been explicitly set. - public var hasChallengeCriteria: Bool {return self._challengeCriteria != nil} - /// Clears the value of `challengeCriteria`. Subsequent reads from it will return its default value. - public mutating func clearChallengeCriteria() {self._challengeCriteria = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _display: GroupChallengeDisplayProto? = nil - fileprivate var _challengeCriteria: GroupChallengeCriteriaProto? = nil -} - -public struct TimedGroupChallengePlayerStatsProto { - // 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. - - public var challenges: [TimedGroupChallengePlayerStatsProto.IndividualChallengeStats] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct IndividualChallengeStats { - // 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. - - public var challengeID: String = String() - - public var playerScore: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct TimedGroupChallengeSectionProto { - // 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. - - public var challengeID: String = String() - - public var headerImageURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TimedGroupChallengeSettingsProto { - // 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. - - public var widgetAutoUpdatePeriodMs: Int32 = 0 - - public var friendLeaderboardBackgroundUpdatePeriodMs: Int64 = 0 - - public var friendLeaderboardFriendsPerRpc: Int32 = 0 - - public var refreshOfflineFriendsModulus: Int32 = 0 - - public var refreshNonEventFriendsModulus: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TimedQuestSectionProto { - // 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. - - public var questID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct Timestamp { - // 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. - - public var seconds: Int64 = 0 - - public var nanos: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TodayViewProto { - // 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. - - public var sections: [TodayViewSectionProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TodayViewSectionProto { - // 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. - - public var section: TodayViewSectionProto.OneOf_Section? = nil - - public var pokecoin: PokecoinSectionProto { - get { - if case .pokecoin(let v)? = section {return v} - return PokecoinSectionProto() - } - set {section = .pokecoin(newValue)} - } - - public var gymPokemon: GymPokemonSectionProto { - get { - if case .gymPokemon(let v)? = section {return v} - return GymPokemonSectionProto() - } - set {section = .gymPokemon(newValue)} - } - - public var streaks: DailyStreaksProto { - get { - if case .streaks(let v)? = section {return v} - return DailyStreaksProto() - } - set {section = .streaks(newValue)} - } - - public var event: EventSectionProto { - get { - if case .event(let v)? = section {return v} - return EventSectionProto() - } - set {section = .event(newValue)} - } - - public var upNext: UpNextSectionProto { - get { - if case .upNext(let v)? = section {return v} - return UpNextSectionProto() - } - set {section = .upNext(newValue)} - } - - public var timedQuest: TimedQuestSectionProto { - get { - if case .timedQuest(let v)? = section {return v} - return TimedQuestSectionProto() - } - set {section = .timedQuest(newValue)} - } - - public var eventBanner: EventBannerSectionProto { - get { - if case .eventBanner(let v)? = section {return v} - return EventBannerSectionProto() - } - set {section = .eventBanner(newValue)} - } - - public var timedGroupChallenge: TimedGroupChallengeSectionProto { - get { - if case .timedGroupChallenge(let v)? = section {return v} - return TimedGroupChallengeSectionProto() - } - set {section = .timedGroupChallenge(newValue)} - } - - public var miniCollection: MiniCollectionSectionProto { - get { - if case .miniCollection(let v)? = section {return v} - return MiniCollectionSectionProto() - } - set {section = .miniCollection(newValue)} - } - - public var stampCards: StampCardsSectionProto { - get { - if case .stampCards(let v)? = section {return v} - return StampCardsSectionProto() - } - set {section = .stampCards(newValue)} - } - - public var challengeQuests: ChallengeQuestsSectionProto { - get { - if case .challengeQuests(let v)? = section {return v} - return ChallengeQuestsSectionProto() - } - set {section = .challengeQuests(newValue)} - } - - public var storyQuests: StoryQuestsSectionProto { - get { - if case .storyQuests(let v)? = section {return v} - return StoryQuestsSectionProto() - } - set {section = .storyQuests(newValue)} - } - - public var happeningNow: HappeningNowSectionProto { - get { - if case .happeningNow(let v)? = section {return v} - return HappeningNowSectionProto() - } - set {section = .happeningNow(newValue)} - } - - public var currentEvents: CurrentEventsSectionProto { - get { - if case .currentEvents(let v)? = section {return v} - return CurrentEventsSectionProto() - } - set {section = .currentEvents(newValue)} - } - - public var upcomingEvents: UpcomingEventsSectionProto { - get { - if case .upcomingEvents(let v)? = section {return v} - return UpcomingEventsSectionProto() - } - set {section = .upcomingEvents(newValue)} - } - - public var contestPokemon: ContestPokemonSectionProto { - get { - if case .contestPokemon(let v)? = section {return v} - return ContestPokemonSectionProto() - } - set {section = .contestPokemon(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Section: Equatable { - case pokecoin(PokecoinSectionProto) - case gymPokemon(GymPokemonSectionProto) - case streaks(DailyStreaksProto) - case event(EventSectionProto) - case upNext(UpNextSectionProto) - case timedQuest(TimedQuestSectionProto) - case eventBanner(EventBannerSectionProto) - case timedGroupChallenge(TimedGroupChallengeSectionProto) - case miniCollection(MiniCollectionSectionProto) - case stampCards(StampCardsSectionProto) - case challengeQuests(ChallengeQuestsSectionProto) - case storyQuests(StoryQuestsSectionProto) - case happeningNow(HappeningNowSectionProto) - case currentEvents(CurrentEventsSectionProto) - case upcomingEvents(UpcomingEventsSectionProto) - case contestPokemon(ContestPokemonSectionProto) - - #if !swift(>=4.1) - public static func ==(lhs: TodayViewSectionProto.OneOf_Section, rhs: TodayViewSectionProto.OneOf_Section) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pokecoin, .pokecoin): return { - guard case .pokecoin(let l) = lhs, case .pokecoin(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.gymPokemon, .gymPokemon): return { - guard case .gymPokemon(let l) = lhs, case .gymPokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.streaks, .streaks): return { - guard case .streaks(let l) = lhs, case .streaks(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.event, .event): return { - guard case .event(let l) = lhs, case .event(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.upNext, .upNext): return { - guard case .upNext(let l) = lhs, case .upNext(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.timedQuest, .timedQuest): return { - guard case .timedQuest(let l) = lhs, case .timedQuest(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.eventBanner, .eventBanner): return { - guard case .eventBanner(let l) = lhs, case .eventBanner(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.timedGroupChallenge, .timedGroupChallenge): return { - guard case .timedGroupChallenge(let l) = lhs, case .timedGroupChallenge(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.miniCollection, .miniCollection): return { - guard case .miniCollection(let l) = lhs, case .miniCollection(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.stampCards, .stampCards): return { - guard case .stampCards(let l) = lhs, case .stampCards(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.challengeQuests, .challengeQuests): return { - guard case .challengeQuests(let l) = lhs, case .challengeQuests(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.storyQuests, .storyQuests): return { - guard case .storyQuests(let l) = lhs, case .storyQuests(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.happeningNow, .happeningNow): return { - guard case .happeningNow(let l) = lhs, case .happeningNow(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.currentEvents, .currentEvents): return { - guard case .currentEvents(let l) = lhs, case .currentEvents(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.upcomingEvents, .upcomingEvents): return { - guard case .upcomingEvents(let l) = lhs, case .upcomingEvents(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.contestPokemon, .contestPokemon): return { - guard case .contestPokemon(let l) = lhs, case .contestPokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} -} - -public struct TopicProto { - // 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. - - public var topicID: String = String() - - public var namespace: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TradePokemonQuestProto { - // 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. - - public var friendID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TradingGlobalSettingsProto { - // 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. - - public var enableTrading: Bool = false - - public var minPlayerLevel: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TradingLogEntry { - // 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. - - public var result: TradingLogEntry.Result = .unset - - public var friendCodename: String = String() - - public var tradeOutPokemon: PokemonProto { - get {return _tradeOutPokemon ?? PokemonProto()} - set {_tradeOutPokemon = newValue} - } - /// Returns true if `tradeOutPokemon` has been explicitly set. - public var hasTradeOutPokemon: Bool {return self._tradeOutPokemon != nil} - /// Clears the value of `tradeOutPokemon`. Subsequent reads from it will return its default value. - public mutating func clearTradeOutPokemon() {self._tradeOutPokemon = nil} - - public var tradeInPokemon: PokemonProto { - get {return _tradeInPokemon ?? PokemonProto()} - set {_tradeInPokemon = newValue} - } - /// Returns true if `tradeInPokemon` has been explicitly set. - public var hasTradeInPokemon: Bool {return self._tradeInPokemon != nil} - /// Clears the value of `tradeInPokemon`. Subsequent reads from it will return its default value. - public mutating func clearTradeInPokemon() {self._tradeInPokemon = nil} - - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} - - public var price: LootProto { - get {return _price ?? LootProto()} - set {_price = newValue} - } - /// Returns true if `price` has been explicitly set. - public var hasPrice: Bool {return self._price != nil} - /// Clears the value of `price`. Subsequent reads from it will return its default value. - public mutating func clearPrice() {self._price = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _tradeOutPokemon: PokemonProto? = nil - fileprivate var _tradeInPokemon: PokemonProto? = nil - fileprivate var _rewards: LootProto? = nil - fileprivate var _price: LootProto? = nil -} - -#if swift(>=4.2) - -extension TradingLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TradingLogEntry.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct TradingProto { - // 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. - - public var state: TradingProto.TradingState { - get {return _storage._state} - set {_uniqueStorage()._state = newValue} - } - - public var expirationMs: UInt64 { - get {return _storage._expirationMs} - set {_uniqueStorage()._expirationMs = newValue} - } - - public var player: TradingProto.TradingPlayerProto { - get {return _storage._player ?? TradingProto.TradingPlayerProto()} - set {_uniqueStorage()._player = newValue} - } - /// Returns true if `player` has been explicitly set. - public var hasPlayer: Bool {return _storage._player != nil} - /// Clears the value of `player`. Subsequent reads from it will return its default value. - public mutating func clearPlayer() {_uniqueStorage()._player = nil} - - public var friend: TradingProto.TradingPlayerProto { - get {return _storage._friend ?? TradingProto.TradingPlayerProto()} - set {_uniqueStorage()._friend = newValue} - } - /// Returns true if `friend` has been explicitly set. - public var hasFriend: Bool {return _storage._friend != nil} - /// Clears the value of `friend`. Subsequent reads from it will return its default value. - public mutating func clearFriend() {_uniqueStorage()._friend = nil} - - public var tradingS2CellID: Int64 { - get {return _storage._tradingS2CellID} - set {_uniqueStorage()._tradingS2CellID = newValue} - } - - public var transactionLog: String { - get {return _storage._transactionLog} - set {_uniqueStorage()._transactionLog = newValue} - } - - public var friendshipLevelData: FriendshipLevelDataProto { - get {return _storage._friendshipLevelData ?? FriendshipLevelDataProto()} - set {_uniqueStorage()._friendshipLevelData = newValue} - } - /// Returns true if `friendshipLevelData` has been explicitly set. - public var hasFriendshipLevelData: Bool {return _storage._friendshipLevelData != nil} - /// Clears the value of `friendshipLevelData`. Subsequent reads from it will return its default value. - public mutating func clearFriendshipLevelData() {_uniqueStorage()._friendshipLevelData = nil} - - public var isSpecialTrading: Bool { - get {return _storage._isSpecialTrading} - set {_uniqueStorage()._isSpecialTrading = newValue} - } - - public var preTradingFriendshipLevel: FriendshipLevelDataProto { - get {return _storage._preTradingFriendshipLevel ?? FriendshipLevelDataProto()} - set {_uniqueStorage()._preTradingFriendshipLevel = newValue} - } - /// Returns true if `preTradingFriendshipLevel` has been explicitly set. - public var hasPreTradingFriendshipLevel: Bool {return _storage._preTradingFriendshipLevel != nil} - /// Clears the value of `preTradingFriendshipLevel`. Subsequent reads from it will return its default value. - public mutating func clearPreTradingFriendshipLevel() {_uniqueStorage()._preTradingFriendshipLevel = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum TradingState: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetTradingstate // = 0 - case primordial // = 1 - case wait // = 2 - case active // = 3 - case confirmed // = 4 - case finished // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetTradingstate - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetTradingstate - case 1: self = .primordial - case 2: self = .wait - case 3: self = .active - case 4: self = .confirmed - case 5: self = .finished - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetTradingstate: return 0 - case .primordial: return 1 - case .wait: return 2 - case .active: return 3 - case .confirmed: return 4 - case .finished: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct TradingPlayerProto { - // 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. - - public var playerID: String { - get {return _storage._playerID} - set {_uniqueStorage()._playerID = newValue} - } - - public var publicProfile: PlayerPublicProfileProto { - get {return _storage._publicProfile ?? PlayerPublicProfileProto()} - set {_uniqueStorage()._publicProfile = newValue} - } - /// Returns true if `publicProfile` has been explicitly set. - public var hasPublicProfile: Bool {return _storage._publicProfile != nil} - /// Clears the value of `publicProfile`. Subsequent reads from it will return its default value. - public mutating func clearPublicProfile() {_uniqueStorage()._publicProfile = nil} - - public var excludedPokemon: [TradingProto.TradingPlayerProto.ExcludedPokemon] { - get {return _storage._excludedPokemon} - set {_uniqueStorage()._excludedPokemon = newValue} - } - - public var tradingPokemon: TradingProto.TradingPokemonProto { - get {return _storage._tradingPokemon ?? TradingProto.TradingPokemonProto()} - set {_uniqueStorage()._tradingPokemon = newValue} - } - /// Returns true if `tradingPokemon` has been explicitly set. - public var hasTradingPokemon: Bool {return _storage._tradingPokemon != nil} - /// Clears the value of `tradingPokemon`. Subsequent reads from it will return its default value. - public mutating func clearTradingPokemon() {_uniqueStorage()._tradingPokemon = nil} - - public var bonus: LootProto { - get {return _storage._bonus ?? LootProto()} - set {_uniqueStorage()._bonus = newValue} - } - /// Returns true if `bonus` has been explicitly set. - public var hasBonus: Bool {return _storage._bonus != nil} - /// Clears the value of `bonus`. Subsequent reads from it will return its default value. - public mutating func clearBonus() {_uniqueStorage()._bonus = nil} - - public var price: LootProto { - get {return _storage._price ?? LootProto()} - set {_uniqueStorage()._price = newValue} - } - /// Returns true if `price` has been explicitly set. - public var hasPrice: Bool {return _storage._price != nil} - /// Clears the value of `price`. Subsequent reads from it will return its default value. - public mutating func clearPrice() {_uniqueStorage()._price = nil} - - public var canAffordTrading: Bool { - get {return _storage._canAffordTrading} - set {_uniqueStorage()._canAffordTrading = newValue} - } - - public var hasConfirmed_p: Bool { - get {return _storage._hasConfirmed_p} - set {_uniqueStorage()._hasConfirmed_p = newValue} - } - - public var niaAccountID: String { - get {return _storage._niaAccountID} - set {_uniqueStorage()._niaAccountID = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct ExcludedPokemon { - // 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. - - public var pokemonID: UInt64 = 0 - - public var exclusionReason: TradingProto.TradingPlayerProto.ExcludedPokemon.ExclusionReason = .unsetExclusionreason - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ExclusionReason: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unsetExclusionreason // = 0 - case mythicalPokemon // = 1 - case slashed // = 2 - case gymDeployed // = 3 - case buddy // = 4 - case staminaNotFull // = 5 - case eggNotHatched // = 6 - case friendshipLevelLow // = 7 - case friendCannotAfford // = 8 - case friendReachedDailyLimit // = 9 - case alreadyTraded // = 10 - case playerCannotAfford // = 11 - case playerReachedDailyLimit // = 12 - case favorite // = 13 - case tempEvolved // = 14 - case UNRECOGNIZED(Int) - - public init() { - self = .unsetExclusionreason - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unsetExclusionreason - case 1: self = .mythicalPokemon - case 2: self = .slashed - case 3: self = .gymDeployed - case 4: self = .buddy - case 5: self = .staminaNotFull - case 6: self = .eggNotHatched - case 7: self = .friendshipLevelLow - case 8: self = .friendCannotAfford - case 9: self = .friendReachedDailyLimit - case 10: self = .alreadyTraded - case 11: self = .playerCannotAfford - case 12: self = .playerReachedDailyLimit - case 13: self = .favorite - case 14: self = .tempEvolved - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unsetExclusionreason: return 0 - case .mythicalPokemon: return 1 - case .slashed: return 2 - case .gymDeployed: return 3 - case .buddy: return 4 - case .staminaNotFull: return 5 - case .eggNotHatched: return 6 - case .friendshipLevelLow: return 7 - case .friendCannotAfford: return 8 - case .friendReachedDailyLimit: return 9 - case .alreadyTraded: return 10 - case .playerCannotAfford: return 11 - case .playerReachedDailyLimit: return 12 - case .favorite: return 13 - case .tempEvolved: return 14 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance - } - - public struct TradingPokemonProto { - // 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. - - public var pokemonID: UInt64 { - get {return _storage._pokemonID} - set {_uniqueStorage()._pokemonID = newValue} - } - - public var pokedexEntryNumber: Int32 { - get {return _storage._pokedexEntryNumber} - set {_uniqueStorage()._pokedexEntryNumber = newValue} - } - - public var originalCp: Int32 { - get {return _storage._originalCp} - set {_uniqueStorage()._originalCp = newValue} - } - - public var adjustedCpMin: Int32 { - get {return _storage._adjustedCpMin} - set {_uniqueStorage()._adjustedCpMin = newValue} - } - - public var adjustedCpMax: Int32 { - get {return _storage._adjustedCpMax} - set {_uniqueStorage()._adjustedCpMax = newValue} - } - - public var originalStamina: Int32 { - get {return _storage._originalStamina} - set {_uniqueStorage()._originalStamina = newValue} - } - - public var adjustedStaminaMin: Int32 { - get {return _storage._adjustedStaminaMin} - set {_uniqueStorage()._adjustedStaminaMin = newValue} - } - - public var adjustedStaminaMax: Int32 { - get {return _storage._adjustedStaminaMax} - set {_uniqueStorage()._adjustedStaminaMax = newValue} - } - - public var friendLevelCap: Bool { - get {return _storage._friendLevelCap} - set {_uniqueStorage()._friendLevelCap = newValue} - } - - public var move1: HoloPokemonMove { - get {return _storage._move1} - set {_uniqueStorage()._move1 = newValue} - } - - public var move2: HoloPokemonMove { - get {return _storage._move2} - set {_uniqueStorage()._move2 = newValue} - } - - public var pokemonDisplay: PokemonDisplayProto { - get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} - set {_uniqueStorage()._pokemonDisplay = newValue} - } - /// Returns true if `pokemonDisplay` has been explicitly set. - public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} - /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. - public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} - - public var capturedS2CellID: Int64 { - get {return _storage._capturedS2CellID} - set {_uniqueStorage()._capturedS2CellID = newValue} - } - - public var tradedPokemon: PokemonProto { - get {return _storage._tradedPokemon ?? PokemonProto()} - set {_uniqueStorage()._tradedPokemon = newValue} - } - /// Returns true if `tradedPokemon` has been explicitly set. - public var hasTradedPokemon: Bool {return _storage._tradedPokemon != nil} - /// Clears the value of `tradedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearTradedPokemon() {_uniqueStorage()._tradedPokemon = nil} - - public var pokeball: Item { - get {return _storage._pokeball} - set {_uniqueStorage()._pokeball = newValue} - } - - public var individualAttack: Int32 { - get {return _storage._individualAttack} - set {_uniqueStorage()._individualAttack = newValue} - } - - public var individualDefense: Int32 { - get {return _storage._individualDefense} - set {_uniqueStorage()._individualDefense = newValue} - } - - public var individualStamina: Int32 { - get {return _storage._individualStamina} - set {_uniqueStorage()._individualStamina = newValue} - } - - public var nickname: String { - get {return _storage._nickname} - set {_uniqueStorage()._nickname = newValue} - } - - public var favorite: Bool { - get {return _storage._favorite} - set {_uniqueStorage()._favorite = newValue} - } - - public var move3: HoloPokemonMove { - get {return _storage._move3} - set {_uniqueStorage()._move3 = newValue} - } - - public var creationTimeMs: Int64 { - get {return _storage._creationTimeMs} - set {_uniqueStorage()._creationTimeMs = newValue} - } - - public var heightM: Float { - get {return _storage._heightM} - set {_uniqueStorage()._heightM = newValue} - } - - public var weightKg: Float { - get {return _storage._weightKg} - set {_uniqueStorage()._weightKg = newValue} - } - - public var pokemonSize: HoloPokemonSize { - get {return _storage._pokemonSize} - set {_uniqueStorage()._pokemonSize = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -#if swift(>=4.2) - -extension TradingProto.TradingState: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TradingProto.TradingState] = [ - .unsetTradingstate, - .primordial, - .wait, - .active, - .confirmed, - .finished, - ] -} - -extension TradingProto.TradingPlayerProto.ExcludedPokemon.ExclusionReason: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TradingProto.TradingPlayerProto.ExcludedPokemon.ExclusionReason] = [ - .unsetExclusionreason, - .mythicalPokemon, - .slashed, - .gymDeployed, - .buddy, - .staminaNotFull, - .eggNotHatched, - .friendshipLevelLow, - .friendCannotAfford, - .friendReachedDailyLimit, - .alreadyTraded, - .playerCannotAfford, - .playerReachedDailyLimit, - .favorite, - .tempEvolved, - ] -} - -#endif // swift(>=4.2) - -public struct TransferPokemonToPokemonHomeOutProto { - // 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. - - public var status: TransferPokemonToPokemonHomeOutProto.Status = .unset - - public var candyAwarded: Int32 = 0 - - public var xlCandyAwarded: Int32 = 0 - - public var xlCandyAwardedPerID: Dictionary = [:] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPlayerLevelTooLow // = 2 - case errorNoNaidLinked // = 3 - case errorTooManyPokemon // = 4 - case errorServerClientEnergyCostMismatch // = 5 - case errorInsufficientEnergy // = 6 - case errorTransferInProgress // = 7 - case errorPokemonDeployed // = 10 - case errorPokemonIsEgg // = 11 - case errorPokemonIsBuddy // = 12 - case errorPokemonBad // = 13 - case errorPokemonIsMega // = 14 - case errorPokemonFavorited // = 15 - case errorPokemonNotFound // = 16 - case errorValidationUnknown // = 17 - case errorPokemonHasCostume // = 21 - case errorPokemonIsShadow // = 22 - case errorPokemonDisallowed // = 23 - case errorPhapiRequestBodyFalse // = 30 - case errorPhapiRequestParametersDne // = 31 - case errorPhapiRequestParametersFalse // = 32 - case errorPhapiMaintenance // = 33 - case errorPhapiServiceEnded // = 34 - case errorPhapiUnknown // = 35 - case errorPhapiNaidDoesNotExist // = 36 - case errorPhapiNoSpaceInBox // = 37 - case errorPhapiDataConversionFailure // = 38 - case errorPhapiWaitingForReceipt // = 39 - case errorPhapiPlayerNotUsingPhApp // = 40 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPlayerLevelTooLow - case 3: self = .errorNoNaidLinked - case 4: self = .errorTooManyPokemon - case 5: self = .errorServerClientEnergyCostMismatch - case 6: self = .errorInsufficientEnergy - case 7: self = .errorTransferInProgress - case 10: self = .errorPokemonDeployed - case 11: self = .errorPokemonIsEgg - case 12: self = .errorPokemonIsBuddy - case 13: self = .errorPokemonBad - case 14: self = .errorPokemonIsMega - case 15: self = .errorPokemonFavorited - case 16: self = .errorPokemonNotFound - case 17: self = .errorValidationUnknown - case 21: self = .errorPokemonHasCostume - case 22: self = .errorPokemonIsShadow - case 23: self = .errorPokemonDisallowed - case 30: self = .errorPhapiRequestBodyFalse - case 31: self = .errorPhapiRequestParametersDne - case 32: self = .errorPhapiRequestParametersFalse - case 33: self = .errorPhapiMaintenance - case 34: self = .errorPhapiServiceEnded - case 35: self = .errorPhapiUnknown - case 36: self = .errorPhapiNaidDoesNotExist - case 37: self = .errorPhapiNoSpaceInBox - case 38: self = .errorPhapiDataConversionFailure - case 39: self = .errorPhapiWaitingForReceipt - case 40: self = .errorPhapiPlayerNotUsingPhApp - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPlayerLevelTooLow: return 2 - case .errorNoNaidLinked: return 3 - case .errorTooManyPokemon: return 4 - case .errorServerClientEnergyCostMismatch: return 5 - case .errorInsufficientEnergy: return 6 - case .errorTransferInProgress: return 7 - case .errorPokemonDeployed: return 10 - case .errorPokemonIsEgg: return 11 - case .errorPokemonIsBuddy: return 12 - case .errorPokemonBad: return 13 - case .errorPokemonIsMega: return 14 - case .errorPokemonFavorited: return 15 - case .errorPokemonNotFound: return 16 - case .errorValidationUnknown: return 17 - case .errorPokemonHasCostume: return 21 - case .errorPokemonIsShadow: return 22 - case .errorPokemonDisallowed: return 23 - case .errorPhapiRequestBodyFalse: return 30 - case .errorPhapiRequestParametersDne: return 31 - case .errorPhapiRequestParametersFalse: return 32 - case .errorPhapiMaintenance: return 33 - case .errorPhapiServiceEnded: return 34 - case .errorPhapiUnknown: return 35 - case .errorPhapiNaidDoesNotExist: return 36 - case .errorPhapiNoSpaceInBox: return 37 - case .errorPhapiDataConversionFailure: return 38 - case .errorPhapiWaitingForReceipt: return 39 - case .errorPhapiPlayerNotUsingPhApp: return 40 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension TransferPokemonToPokemonHomeOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TransferPokemonToPokemonHomeOutProto.Status] = [ - .unset, - .success, - .errorPlayerLevelTooLow, - .errorNoNaidLinked, - .errorTooManyPokemon, - .errorServerClientEnergyCostMismatch, - .errorInsufficientEnergy, - .errorTransferInProgress, - .errorPokemonDeployed, - .errorPokemonIsEgg, - .errorPokemonIsBuddy, - .errorPokemonBad, - .errorPokemonIsMega, - .errorPokemonFavorited, - .errorPokemonNotFound, - .errorValidationUnknown, - .errorPokemonHasCostume, - .errorPokemonIsShadow, - .errorPokemonDisallowed, - .errorPhapiRequestBodyFalse, - .errorPhapiRequestParametersDne, - .errorPhapiRequestParametersFalse, - .errorPhapiMaintenance, - .errorPhapiServiceEnded, - .errorPhapiUnknown, - .errorPhapiNaidDoesNotExist, - .errorPhapiNoSpaceInBox, - .errorPhapiDataConversionFailure, - .errorPhapiWaitingForReceipt, - .errorPhapiPlayerNotUsingPhApp, - ] -} - -#endif // swift(>=4.2) - -public struct TransferPokemonToPokemonHomeProto { - // 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. - - public var totalEnergyCost: Int32 = 0 - - public var pokemonUuid: [UInt64] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct Transform { - // 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. - - public var translation: Vector3 { - get {return _translation ?? Vector3()} - set {_translation = newValue} - } - /// Returns true if `translation` has been explicitly set. - public var hasTranslation: Bool {return self._translation != nil} - /// Clears the value of `translation`. Subsequent reads from it will return its default value. - public mutating func clearTranslation() {self._translation = nil} - - public var rotation: Quaternion { - get {return _rotation ?? Quaternion()} - set {_rotation = newValue} - } - /// Returns true if `rotation` has been explicitly set. - public var hasRotation: Bool {return self._rotation != nil} - /// Clears the value of `rotation`. Subsequent reads from it will return its default value. - public mutating func clearRotation() {self._rotation = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _translation: Vector3? = nil - fileprivate var _rotation: Quaternion? = nil -} - -public struct TransitMetadata { - // 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. - - public var route: String = String() - - public var agency: String = String() - - public var colorName: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TranslationSettingsProto { - // 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. - - public var translationBundleIds: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TravelRouteQuestProto { - // 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. - - public var routeID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TriangleList { - // 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. - - public var coords: [UInt32] = [] - - public var exteriorEdges: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ExteriorEdgeBit: SwiftProtobuf.Enum { - public typealias RawValue = Int - case noBit // = 0 - case edgeV0V1 // = 1 - case edgeV1V2 // = 2 - case edgeV2V0 // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .noBit - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .noBit - case 1: self = .edgeV0V1 - case 2: self = .edgeV1V2 - case 4: self = .edgeV2V0 - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .noBit: return 0 - case .edgeV0V1: return 1 - case .edgeV1V2: return 2 - case .edgeV2V0: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension TriangleList.ExteriorEdgeBit: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TriangleList.ExteriorEdgeBit] = [ - .noBit, - .edgeV0V1, - .edgeV1V2, - .edgeV2V0, - ] -} - -#endif // swift(>=4.2) - -public struct TutorialCompletRewards { - // 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. - - public var tutorialCompletation: TutorialCompletion = .legalScreen - - public var itemReward: [ItemProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TutorialCreateDetail { - // 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. - - public var caughtInWild: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TutorialTelemetry { - // 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. - - public var telemetryID: TutorialTelemetry.TutorialTelemetryId = .undefined - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum TutorialTelemetryId: SwiftProtobuf.Enum { - public typealias RawValue = Int - case undefined // = 0 - case tagLearnMoreButtonClicked // = 1 - case tagPopupTutorialShown // = 2 - case friendListLearnMoreButtonClicked // = 3 - case friendDetailHelpButtonClicked // = 4 - case taskTutorialCurveBallViewed // = 5 - case taskTutorialThrowTypeViewed // = 6 - case taskTutorialGiftViewed // = 7 - case taskTutorialTradingViewed // = 8 - case taskTutorialSnapshotWildViewed // = 9 - case taskTutorialSnapshotInventoryViewed // = 10 - case taskTutorialSnapshotBuddyViewed // = 11 - case giftTutorialIntroductionShown // = 12 - case playerViewedGiftTutorial // = 13 - case playerSkippedGiftTutorial // = 14 - case playerCompletedGiftTutorial // = 15 - case lureTutorialIntroductionShown // = 16 - case playerViewedLureTutorial // = 17 - case playerSkippedLureTutorial // = 18 - case playerCompletedLureTutorial // = 19 - case gymTutorialButtonClicked // = 20 - case raidTutorialButtonClicked // = 21 - case potionAndReviveTutorialIntroductionShown // = 22 - case playerCompletedReviveTutorial // = 23 - case playerCompletedPotionTutorial // = 24 - case berryCatchTutorialShown // = 25 - case tradeTutorialIntroductionShown // = 26 - case playerViewedTradingTutorial // = 27 - case playerSkippedTradingTutorial // = 28 - case playerCompletedTradingTutorial // = 29 - case luckyTradeTutorialShown // = 30 - case luckyFriendsUnlockedTutorialShown // = 31 - case luckyFriendsTutorialButtonClicked // = 32 - case UNRECOGNIZED(Int) - - public init() { - self = .undefined - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .undefined - case 1: self = .tagLearnMoreButtonClicked - case 2: self = .tagPopupTutorialShown - case 3: self = .friendListLearnMoreButtonClicked - case 4: self = .friendDetailHelpButtonClicked - case 5: self = .taskTutorialCurveBallViewed - case 6: self = .taskTutorialThrowTypeViewed - case 7: self = .taskTutorialGiftViewed - case 8: self = .taskTutorialTradingViewed - case 9: self = .taskTutorialSnapshotWildViewed - case 10: self = .taskTutorialSnapshotInventoryViewed - case 11: self = .taskTutorialSnapshotBuddyViewed - case 12: self = .giftTutorialIntroductionShown - case 13: self = .playerViewedGiftTutorial - case 14: self = .playerSkippedGiftTutorial - case 15: self = .playerCompletedGiftTutorial - case 16: self = .lureTutorialIntroductionShown - case 17: self = .playerViewedLureTutorial - case 18: self = .playerSkippedLureTutorial - case 19: self = .playerCompletedLureTutorial - case 20: self = .gymTutorialButtonClicked - case 21: self = .raidTutorialButtonClicked - case 22: self = .potionAndReviveTutorialIntroductionShown - case 23: self = .playerCompletedReviveTutorial - case 24: self = .playerCompletedPotionTutorial - case 25: self = .berryCatchTutorialShown - case 26: self = .tradeTutorialIntroductionShown - case 27: self = .playerViewedTradingTutorial - case 28: self = .playerSkippedTradingTutorial - case 29: self = .playerCompletedTradingTutorial - case 30: self = .luckyTradeTutorialShown - case 31: self = .luckyFriendsUnlockedTutorialShown - case 32: self = .luckyFriendsTutorialButtonClicked - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .undefined: return 0 - case .tagLearnMoreButtonClicked: return 1 - case .tagPopupTutorialShown: return 2 - case .friendListLearnMoreButtonClicked: return 3 - case .friendDetailHelpButtonClicked: return 4 - case .taskTutorialCurveBallViewed: return 5 - case .taskTutorialThrowTypeViewed: return 6 - case .taskTutorialGiftViewed: return 7 - case .taskTutorialTradingViewed: return 8 - case .taskTutorialSnapshotWildViewed: return 9 - case .taskTutorialSnapshotInventoryViewed: return 10 - case .taskTutorialSnapshotBuddyViewed: return 11 - case .giftTutorialIntroductionShown: return 12 - case .playerViewedGiftTutorial: return 13 - case .playerSkippedGiftTutorial: return 14 - case .playerCompletedGiftTutorial: return 15 - case .lureTutorialIntroductionShown: return 16 - case .playerViewedLureTutorial: return 17 - case .playerSkippedLureTutorial: return 18 - case .playerCompletedLureTutorial: return 19 - case .gymTutorialButtonClicked: return 20 - case .raidTutorialButtonClicked: return 21 - case .potionAndReviveTutorialIntroductionShown: return 22 - case .playerCompletedReviveTutorial: return 23 - case .playerCompletedPotionTutorial: return 24 - case .berryCatchTutorialShown: return 25 - case .tradeTutorialIntroductionShown: return 26 - case .playerViewedTradingTutorial: return 27 - case .playerSkippedTradingTutorial: return 28 - case .playerCompletedTradingTutorial: return 29 - case .luckyTradeTutorialShown: return 30 - case .luckyFriendsUnlockedTutorialShown: return 31 - case .luckyFriendsTutorialButtonClicked: return 32 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension TutorialTelemetry.TutorialTelemetryId: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [TutorialTelemetry.TutorialTelemetryId] = [ - .undefined, - .tagLearnMoreButtonClicked, - .tagPopupTutorialShown, - .friendListLearnMoreButtonClicked, - .friendDetailHelpButtonClicked, - .taskTutorialCurveBallViewed, - .taskTutorialThrowTypeViewed, - .taskTutorialGiftViewed, - .taskTutorialTradingViewed, - .taskTutorialSnapshotWildViewed, - .taskTutorialSnapshotInventoryViewed, - .taskTutorialSnapshotBuddyViewed, - .giftTutorialIntroductionShown, - .playerViewedGiftTutorial, - .playerSkippedGiftTutorial, - .playerCompletedGiftTutorial, - .lureTutorialIntroductionShown, - .playerViewedLureTutorial, - .playerSkippedLureTutorial, - .playerCompletedLureTutorial, - .gymTutorialButtonClicked, - .raidTutorialButtonClicked, - .potionAndReviveTutorialIntroductionShown, - .playerCompletedReviveTutorial, - .playerCompletedPotionTutorial, - .berryCatchTutorialShown, - .tradeTutorialIntroductionShown, - .playerViewedTradingTutorial, - .playerSkippedTradingTutorial, - .playerCompletedTradingTutorial, - .luckyTradeTutorialShown, - .luckyFriendsUnlockedTutorialShown, - .luckyFriendsTutorialButtonClicked, - ] -} - -#endif // swift(>=4.2) - -public struct TutorialsSettings { - // 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. - - public var tutorialSettingsBool1: Bool = false - - public var tutorialSettingsBool2: Bool = false - - public var tutorialSettingsBool3: Bool = false - - public var tutorialSettingsBool4: Bool = false - - public var tutorialSettingsBool5: Bool = false - - public var tutorialSettingsBool6: Bool = false - - public var tutorialSettingsBool7: Bool = false - - public var tutorialSettingsBool8: Bool = false - - public var tutorialSettingsBool9: Bool = false - - public var tutorialSettingsBool10: Bool = false - - public var tutorialSettingsBool11: Bool = false - - public var tutorialCompleteReward: [TutorialCompletRewards] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct TwoWaySharedFriendshipDataProto { - // 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. - - public var isLucky: Bool = false - - public var luckyCount: Int32 = 0 - - public var sharedMigrations: TwoWaySharedFriendshipDataProto.SharedMigrations { - get {return _sharedMigrations ?? TwoWaySharedFriendshipDataProto.SharedMigrations()} - set {_sharedMigrations = newValue} - } - /// Returns true if `sharedMigrations` has been explicitly set. - public var hasSharedMigrations: Bool {return self._sharedMigrations != nil} - /// Clears the value of `sharedMigrations`. Subsequent reads from it will return its default value. - public mutating func clearSharedMigrations() {self._sharedMigrations = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct SharedMigrations { - // 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. - - public var isGiftingMigrated: Bool = false - - public var isLuckyDataMigrated: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _sharedMigrations: TwoWaySharedFriendshipDataProto.SharedMigrations? = nil -} - -public struct Type { - // 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. - - public var name: String = String() - - public var fields: [Field] = [] - - public var oneofs: [String] = [] - - public var options: [Option] = [] - - public var sourceContext: SourceContext { - get {return _sourceContext ?? SourceContext()} - set {_sourceContext = newValue} - } - /// Returns true if `sourceContext` has been explicitly set. - public var hasSourceContext: Bool {return self._sourceContext != nil} - /// Clears the value of `sourceContext`. Subsequent reads from it will return its default value. - public mutating func clearSourceContext() {self._sourceContext = nil} - - public var syntax: Syntax = .proto2 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _sourceContext: SourceContext? = nil -} - -public struct TypeEffectiveSettingsProto { - // 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. - - public var attackScalar: [Float] = [] - - public var attackType: HoloPokemonType = .pokemonTypeNone - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UInt32Value { - // 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. - - public var value: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UInt64Value { - // 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. - - public var value: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UUID { - // 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. - - public var upper: UInt64 = 0 - - public var lower: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UnblockAccountOutProto { - // 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. - - public var result: UnblockAccountOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorNotBlocked // = 2 - case errorPlayerDoesNotExist // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorNotBlocked - case 3: self = .errorPlayerDoesNotExist - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorNotBlocked: return 2 - case .errorPlayerDoesNotExist: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UnblockAccountOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UnblockAccountOutProto.Result] = [ - .unset, - .success, - .errorNotBlocked, - .errorPlayerDoesNotExist, - ] -} - -#endif // swift(>=4.2) - -public struct UnblockAccountProto { - // 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. - - public var blockeeNiaAccountID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UncommentAnnotationTestProto { - // 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. - - public var stringProperty: String = String() - - public var longProperty: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UninterpretedOption { - // 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. - - public var identifierValue: String = String() - - public var positiveIntValue: UInt64 = 0 - - public var negativeIntValue: Int64 = 0 - - public var doubleValue: Double = 0 - - public var stringValue: Data = Data() - - public var aggregateValue: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct NamePart { - // 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. - - public var namePart: String = String() - - public var isExtension: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -public struct UnlinkNintendoAccountOutProto { - // 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. - - public var status: UnlinkNintendoAccountOutProto.Status = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case success // = 1 - case errorPlayerLevelTooLow // = 2 - case errorNoLinkedNaid // = 3 - case errorTransferInProgress // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .success - case 2: self = .errorPlayerLevelTooLow - case 3: self = .errorNoLinkedNaid - case 4: self = .errorTransferInProgress - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .success: return 1 - case .errorPlayerLevelTooLow: return 2 - case .errorNoLinkedNaid: return 3 - case .errorTransferInProgress: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UnlinkNintendoAccountOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UnlinkNintendoAccountOutProto.Status] = [ - .unknown, - .success, - .errorPlayerLevelTooLow, - .errorNoLinkedNaid, - .errorTransferInProgress, - ] -} - -#endif // swift(>=4.2) - -public struct UnlinkNintendoAccountProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UnlockPokemonMoveOutProto { - // 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. - - public var result: UnlockPokemonMoveOutProto.Result = .unset - - public var unlockedPokemon: PokemonProto { - get {return _unlockedPokemon ?? PokemonProto()} - set {_unlockedPokemon = newValue} - } - /// Returns true if `unlockedPokemon` has been explicitly set. - public var hasUnlockedPokemon: Bool {return self._unlockedPokemon != nil} - /// Clears the value of `unlockedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearUnlockedPokemon() {self._unlockedPokemon = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPokemonNotFound // = 2 - case errorUnlockNotAvailable // = 3 - case errorAlreadyUnlocked // = 4 - case errorInsufficientResources // = 5 - case errorDisabled // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPokemonNotFound - case 3: self = .errorUnlockNotAvailable - case 4: self = .errorAlreadyUnlocked - case 5: self = .errorInsufficientResources - case 6: self = .errorDisabled - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPokemonNotFound: return 2 - case .errorUnlockNotAvailable: return 3 - case .errorAlreadyUnlocked: return 4 - case .errorInsufficientResources: return 5 - case .errorDisabled: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _unlockedPokemon: PokemonProto? = nil -} - -#if swift(>=4.2) - -extension UnlockPokemonMoveOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UnlockPokemonMoveOutProto.Result] = [ - .unset, - .success, - .errorPokemonNotFound, - .errorUnlockNotAvailable, - .errorAlreadyUnlocked, - .errorInsufficientResources, - .errorDisabled, - ] -} - -#endif // swift(>=4.2) - -public struct UnlockPokemonMoveProto { - // 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. - - public var pokemonID: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpNextSectionProto { - // 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. - - public var eventID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpcomingEventsSectionProto { - // 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. - - public var events: [EventSectionProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdateAdventureSyncFitnessRequestProto { - // 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. - - public var fitnessSamples: [FitnessSample] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdateAdventureSyncFitnessResponseProto { - // 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. - - public var status: UpdateAdventureSyncFitnessResponseProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdateAdventureSyncFitnessResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateAdventureSyncFitnessResponseProto.Status] = [ - .unset, - .success, - .errorUnknown, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateAdventureSyncSettingsRequestProto { - // 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. - - public var adventureSyncSettings: AdventureSyncSettingsProto { - get {return _adventureSyncSettings ?? AdventureSyncSettingsProto()} - set {_adventureSyncSettings = newValue} - } - /// Returns true if `adventureSyncSettings` has been explicitly set. - public var hasAdventureSyncSettings: Bool {return self._adventureSyncSettings != nil} - /// Clears the value of `adventureSyncSettings`. Subsequent reads from it will return its default value. - public mutating func clearAdventureSyncSettings() {self._adventureSyncSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _adventureSyncSettings: AdventureSyncSettingsProto? = nil -} - -public struct UpdateAdventureSyncSettingsResponseProto { - // 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. - - public var status: UpdateAdventureSyncSettingsResponseProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerNotFound // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerNotFound - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerNotFound: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdateAdventureSyncSettingsResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateAdventureSyncSettingsResponseProto.Status] = [ - .unset, - .success, - .errorUnknown, - .errorPlayerNotFound, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateBreadcrumbHistoryRequestProto { - // 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. - - public var sessionContext: String = String() - - public var breadcrumbHistory: [BreadcrumbRecordProto] = [] - - public var initialUpdate: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdateBreadcrumbHistoryResponseProto { - // 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. - - public var status: UpdateBreadcrumbHistoryResponseProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerNotFound // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerNotFound - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerNotFound: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdateBreadcrumbHistoryResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateBreadcrumbHistoryResponseProto.Status] = [ - .unset, - .success, - .errorUnknown, - .errorPlayerNotFound, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateCombatDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var obCommunCombatData: ObCommunCombatDataProto { - get {return _obCommunCombatData ?? ObCommunCombatDataProto()} - set {_obCommunCombatData = newValue} - } - /// Returns true if `obCommunCombatData` has been explicitly set. - public var hasObCommunCombatData: Bool {return self._obCommunCombatData != nil} - /// Clears the value of `obCommunCombatData`. Subsequent reads from it will return its default value. - public mutating func clearObCommunCombatData() {self._obCommunCombatData = nil} - - public var obInt322: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _obCommunCombatData: ObCommunCombatDataProto? = nil -} - -public struct UpdateCombatOutProto { - // 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. - - public var result: UpdateCombatOutProto.Result = .unset - - public var combat: CombatProto { - get {return _combat ?? CombatProto()} - set {_combat = newValue} - } - /// Returns true if `combat` has been explicitly set. - public var hasCombat: Bool {return self._combat != nil} - /// Clears the value of `combat`. Subsequent reads from it will return its default value. - public mutating func clearCombat() {self._combat = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInvalidCombatState // = 2 - case errorCombatNotFound // = 3 - case errorPlayerNotInCombat // = 4 - case errorIllegalAction // = 5 - case errorInvalidSubmitTime // = 6 - case errorPlayerInMinigame // = 7 - case errorExistingQueuedAttack // = 8 - case errorInvalidChangePokemon // = 9 - case errorInsufficientEnergy // = 10 - case errorInvalidMove // = 11 - case errorInvalidDurationTurns // = 12 - case errorInvalidMinigameState // = 13 - case errorInvalidQuickSwapPokemon // = 14 - case errorQuickSwapNotAvailable // = 15 - case errorInvalidSubmitTimeBeforeLastUpdatedTurn // = 16 - case errorInvalidSubmitTimeDuringStateChange // = 17 - case errorInvalidSubmitTimeOpponentChargeMove // = 18 - case errorInvalidSubmitTimeCmpTieSwap // = 19 - case errorInvalidMinigameStateOffensiveFinish // = 20 - case errorInvalidMinigameStateDefensiveStart // = 21 - case errorInvalidMinigameStateDefensiveFinish // = 22 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidCombatState - case 3: self = .errorCombatNotFound - case 4: self = .errorPlayerNotInCombat - case 5: self = .errorIllegalAction - case 6: self = .errorInvalidSubmitTime - case 7: self = .errorPlayerInMinigame - case 8: self = .errorExistingQueuedAttack - case 9: self = .errorInvalidChangePokemon - case 10: self = .errorInsufficientEnergy - case 11: self = .errorInvalidMove - case 12: self = .errorInvalidDurationTurns - case 13: self = .errorInvalidMinigameState - case 14: self = .errorInvalidQuickSwapPokemon - case 15: self = .errorQuickSwapNotAvailable - case 16: self = .errorInvalidSubmitTimeBeforeLastUpdatedTurn - case 17: self = .errorInvalidSubmitTimeDuringStateChange - case 18: self = .errorInvalidSubmitTimeOpponentChargeMove - case 19: self = .errorInvalidSubmitTimeCmpTieSwap - case 20: self = .errorInvalidMinigameStateOffensiveFinish - case 21: self = .errorInvalidMinigameStateDefensiveStart - case 22: self = .errorInvalidMinigameStateDefensiveFinish - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInvalidCombatState: return 2 - case .errorCombatNotFound: return 3 - case .errorPlayerNotInCombat: return 4 - case .errorIllegalAction: return 5 - case .errorInvalidSubmitTime: return 6 - case .errorPlayerInMinigame: return 7 - case .errorExistingQueuedAttack: return 8 - case .errorInvalidChangePokemon: return 9 - case .errorInsufficientEnergy: return 10 - case .errorInvalidMove: return 11 - case .errorInvalidDurationTurns: return 12 - case .errorInvalidMinigameState: return 13 - case .errorInvalidQuickSwapPokemon: return 14 - case .errorQuickSwapNotAvailable: return 15 - case .errorInvalidSubmitTimeBeforeLastUpdatedTurn: return 16 - case .errorInvalidSubmitTimeDuringStateChange: return 17 - case .errorInvalidSubmitTimeOpponentChargeMove: return 18 - case .errorInvalidSubmitTimeCmpTieSwap: return 19 - case .errorInvalidMinigameStateOffensiveFinish: return 20 - case .errorInvalidMinigameStateDefensiveStart: return 21 - case .errorInvalidMinigameStateDefensiveFinish: return 22 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _combat: CombatProto? = nil -} - -#if swift(>=4.2) - -extension UpdateCombatOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateCombatOutProto.Result] = [ - .unset, - .success, - .errorInvalidCombatState, - .errorCombatNotFound, - .errorPlayerNotInCombat, - .errorIllegalAction, - .errorInvalidSubmitTime, - .errorPlayerInMinigame, - .errorExistingQueuedAttack, - .errorInvalidChangePokemon, - .errorInsufficientEnergy, - .errorInvalidMove, - .errorInvalidDurationTurns, - .errorInvalidMinigameState, - .errorInvalidQuickSwapPokemon, - .errorQuickSwapNotAvailable, - .errorInvalidSubmitTimeBeforeLastUpdatedTurn, - .errorInvalidSubmitTimeDuringStateChange, - .errorInvalidSubmitTimeOpponentChargeMove, - .errorInvalidSubmitTimeCmpTieSwap, - .errorInvalidMinigameStateOffensiveFinish, - .errorInvalidMinigameStateDefensiveStart, - .errorInvalidMinigameStateDefensiveFinish, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateCombatProto { - // 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. - - public var combatID: String = String() - - public var action: CombatActionProto { - get {return _action ?? CombatActionProto()} - set {_action = newValue} - } - /// Returns true if `action` has been explicitly set. - public var hasAction: Bool {return self._action != nil} - /// Clears the value of `action`. Subsequent reads from it will return its default value. - public mutating func clearAction() {self._action = nil} - - public var debugLog: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _action: CombatActionProto? = nil -} - -public struct UpdateCombatResponseDataProto { - // 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. - - public var obInt32: Int32 { - get {return _storage._obInt32} - set {_uniqueStorage()._obInt32 = newValue} - } - - public var obUint32: UInt32 { - get {return _storage._obUint32} - set {_uniqueStorage()._obUint32 = newValue} - } - - public var result: UpdateCombatOutProto.Result { - get {return _storage._result} - set {_uniqueStorage()._result = newValue} - } - - public var obCommunWebCombatState: ObCommunWebCombatStateProto { - get {return _storage._obCommunWebCombatState ?? ObCommunWebCombatStateProto()} - set {_uniqueStorage()._obCommunWebCombatState = newValue} - } - /// Returns true if `obCommunWebCombatState` has been explicitly set. - public var hasObCommunWebCombatState: Bool {return _storage._obCommunWebCombatState != nil} - /// Clears the value of `obCommunWebCombatState`. Subsequent reads from it will return its default value. - public mutating func clearObCommunWebCombatState() {_uniqueStorage()._obCommunWebCombatState = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct UpdateCombatResponseTimeTelemetry { - // 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. - - public var windowDuration: Float = 0 - - public var countCall: Int32 = 0 - - public var averageResponseTime: Float = 0 - - public var timeoutCount: Int32 = 0 - - public var combatType: CombatType = .unset - - public var realm: String = String() - - public var medianResponseTime: Float = 0 - - public var minResponseTime: Float = 0 - - public var maxResponseTime: Float = 0 - - public var p90ResponseTime: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdateFacebookStatusOutProto { - // 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. - - public var result: UpdateFacebookStatusOutProto.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorPlayerNotFound // = 3 - case errorFacebookApi // = 4 - case errorAlreadyExists // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorPlayerNotFound - case 4: self = .errorFacebookApi - case 5: self = .errorAlreadyExists - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorPlayerNotFound: return 3 - case .errorFacebookApi: return 4 - case .errorAlreadyExists: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdateFacebookStatusOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateFacebookStatusOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorPlayerNotFound, - .errorFacebookApi, - .errorAlreadyExists, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateFacebookStatusProto { - // 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. - - public var fbAccessToken: String = String() - - public var forceUpdate: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdateFriendshipRequest { - // 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. - - public var friendID: String = String() - - public var friendProfile: UpdateFriendshipRequest.FriendProfileProto { - get {return _friendProfile ?? UpdateFriendshipRequest.FriendProfileProto()} - set {_friendProfile = newValue} - } - /// Returns true if `friendProfile` has been explicitly set. - public var hasFriendProfile: Bool {return self._friendProfile != nil} - /// Clears the value of `friendProfile`. Subsequent reads from it will return its default value. - public mutating func clearFriendProfile() {self._friendProfile = nil} - - public var friendNiaAccountID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct FriendProfileProto { - // 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. - - public var nickname: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _friendProfile: UpdateFriendshipRequest.FriendProfileProto? = nil -} - -public struct UpdateFriendshipResponse { - // 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. - - public var result: UpdateFriendshipResponse.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorNotFriend // = 3 - case errorNicknameWrongFormat // = 4 - case errorFilteredNickname // = 5 - case errorExceededChangeLimit // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorNotFriend - case 4: self = .errorNicknameWrongFormat - case 5: self = .errorFilteredNickname - case 6: self = .errorExceededChangeLimit - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorNotFriend: return 3 - case .errorNicknameWrongFormat: return 4 - case .errorFilteredNickname: return 5 - case .errorExceededChangeLimit: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdateFriendshipResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateFriendshipResponse.Result] = [ - .unset, - .success, - .errorUnknown, - .errorNotFriend, - .errorNicknameWrongFormat, - .errorFilteredNickname, - .errorExceededChangeLimit, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateIncomingGameInviteRequest { - // 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. - - public var appKey: String = String() - - public var newStatus: UpdateIncomingGameInviteRequest.NewStatus = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum NewStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case seen // = 1 - case read // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .seen - case 2: self = .read - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .seen: return 1 - case .read: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdateIncomingGameInviteRequest.NewStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateIncomingGameInviteRequest.NewStatus] = [ - .unset, - .seen, - .read, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateIncomingGameInviteResponse { - // 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. - - public var result: UpdateIncomingGameInviteResponse.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdateIncomingGameInviteResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateIncomingGameInviteResponse.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateInvasionBattleOutProto { - // 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. - - public var status: InvasionStatus.Status = .unset - - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} - - public var mapFragmentUpgraded: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _rewards: LootProto? = nil -} - -public struct UpdateInvasionBattleProto { - // 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. - - public var incidentLookup: IncidentLookupProto { - get {return _incidentLookup ?? IncidentLookupProto()} - set {_incidentLookup = newValue} - } - /// Returns true if `incidentLookup` has been explicitly set. - public var hasIncidentLookup: Bool {return self._incidentLookup != nil} - /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. - public mutating func clearIncidentLookup() {self._incidentLookup = nil} - - public var step: Int32 = 0 - - public var healthUpdate: [PokemonStaminaUpdateProto] = [] - - public var completeBattle: Bool = false - - public var updateType: UpdateInvasionBattleProto.UpdateType = .pokemonHealth - - public var lobbyJoinTimeMs: Int64 = 0 - - public var combatQuestUpdate: CombatQuestUpdateProto { - get {return _combatQuestUpdate ?? CombatQuestUpdateProto()} - set {_combatQuestUpdate = newValue} - } - /// Returns true if `combatQuestUpdate` has been explicitly set. - public var hasCombatQuestUpdate: Bool {return self._combatQuestUpdate != nil} - /// Clears the value of `combatQuestUpdate`. Subsequent reads from it will return its default value. - public mutating func clearCombatQuestUpdate() {self._combatQuestUpdate = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum UpdateType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case pokemonHealth // = 0 - case winBattle // = 1 - case loseBattle // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .pokemonHealth - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .pokemonHealth - case 1: self = .winBattle - case 2: self = .loseBattle - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .pokemonHealth: return 0 - case .winBattle: return 1 - case .loseBattle: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _incidentLookup: IncidentLookupProto? = nil - fileprivate var _combatQuestUpdate: CombatQuestUpdateProto? = nil -} - -#if swift(>=4.2) - -extension UpdateInvasionBattleProto.UpdateType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateInvasionBattleProto.UpdateType] = [ - .pokemonHealth, - .winBattle, - .loseBattle, - ] -} - -#endif // swift(>=4.2) - -/// repeated string notification_ids = 1; -/// repeated int64 create_timestamp_ms = 2; -/// NotificationState state = 3; -public struct UpdateNotificationOutProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdateNotificationProto { - // 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. - - public var notificationIds: [String] = [] - - public var createTimestampMs: [Int64] = [] - - public var state: NotificationState = .unsetState - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdatePhoneNumberRequest { - // 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. - - public var phoneNumber: String = String() - - public var verificationCode: String = String() - - public var countryCode: String = String() - - public var contactID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdatePhoneNumberResponse { - // 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. - - public var status: UpdatePhoneNumberResponse.Status = .unset - - public var errorMessage: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorWrongVerificationCode // = 2 - case errorUnknown // = 3 - case errorContactNotFound // = 4 - case errorTooFrequentAttempts // = 5 - case errorTooManyAttempts // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorWrongVerificationCode - case 3: self = .errorUnknown - case 4: self = .errorContactNotFound - case 5: self = .errorTooFrequentAttempts - case 6: self = .errorTooManyAttempts - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorWrongVerificationCode: return 2 - case .errorUnknown: return 3 - case .errorContactNotFound: return 4 - case .errorTooFrequentAttempts: return 5 - case .errorTooManyAttempts: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdatePhoneNumberResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdatePhoneNumberResponse.Status] = [ - .unset, - .success, - .errorWrongVerificationCode, - .errorUnknown, - .errorContactNotFound, - .errorTooFrequentAttempts, - .errorTooManyAttempts, - ] -} - -#endif // swift(>=4.2) - -public struct UpdatePokemonSizeContestEntryOutProto { - // 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. - - public var status: UpdatePokemonSizeContestEntryOutProto.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case outOfRange // = 3 - case enteredPokemonNotAvailable // = 4 - case pokemonIDToReplaceMissing // = 5 - case pokemonToReplaceDifferent // = 6 - case playerLimitReached // = 7 - case contestLimitReached // = 8 - case sameCycleTradeNotAllowed // = 9 - case sameSeasonWinnerNotAllowed // = 10 - case pokemonToReplaceNotFound // = 11 - case pendingRewardEntryNotAllowed // = 12 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - case 3: self = .outOfRange - case 4: self = .enteredPokemonNotAvailable - case 5: self = .pokemonIDToReplaceMissing - case 6: self = .pokemonToReplaceDifferent - case 7: self = .playerLimitReached - case 8: self = .contestLimitReached - case 9: self = .sameCycleTradeNotAllowed - case 10: self = .sameSeasonWinnerNotAllowed - case 11: self = .pokemonToReplaceNotFound - case 12: self = .pendingRewardEntryNotAllowed - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .outOfRange: return 3 - case .enteredPokemonNotAvailable: return 4 - case .pokemonIDToReplaceMissing: return 5 - case .pokemonToReplaceDifferent: return 6 - case .playerLimitReached: return 7 - case .contestLimitReached: return 8 - case .sameCycleTradeNotAllowed: return 9 - case .sameSeasonWinnerNotAllowed: return 10 - case .pokemonToReplaceNotFound: return 11 - case .pendingRewardEntryNotAllowed: return 12 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdatePokemonSizeContestEntryOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdatePokemonSizeContestEntryOutProto.Status] = [ - .unset, - .success, - .error, - .outOfRange, - .enteredPokemonNotAvailable, - .pokemonIDToReplaceMissing, - .pokemonToReplaceDifferent, - .playerLimitReached, - .contestLimitReached, - .sameCycleTradeNotAllowed, - .sameSeasonWinnerNotAllowed, - .pokemonToReplaceNotFound, - .pendingRewardEntryNotAllowed, - ] -} - -#endif // swift(>=4.2) - -public struct UpdatePokemonSizeContestEntryProto { - // 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. - - public var fortID: String = String() - - public var schedule: ContestScheduleProto { - get {return _schedule ?? ContestScheduleProto()} - set {_schedule = newValue} - } - /// Returns true if `schedule` has been explicitly set. - public var hasSchedule: Bool {return self._schedule != nil} - /// Clears the value of `schedule`. Subsequent reads from it will return its default value. - public mutating func clearSchedule() {self._schedule = nil} - - public var contestMetric: ContestMetricProto { - get {return _contestMetric ?? ContestMetricProto()} - set {_contestMetric = newValue} - } - /// Returns true if `contestMetric` has been explicitly set. - public var hasContestMetric: Bool {return self._contestMetric != nil} - /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. - public mutating func clearContestMetric() {self._contestMetric = nil} - - public var pokemonID: UInt64 = 0 - - public var replacedPokemonID: UInt64 = 0 - - public var fortLatDegrees: Double = 0 - - public var fortLngDegrees: Double = 0 - - public var contestEntry: ContestEntrysProto = .entryPointUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _schedule: ContestScheduleProto? = nil - fileprivate var _contestMetric: ContestMetricProto? = nil -} - -public struct UpdatePostcardOutProto { - // 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. - - public var result: UpdatePostcardOutProto.Result = .unset - - public var postcard: PostcardDisplayProto { - get {return _postcard ?? PostcardDisplayProto()} - set {_postcard = newValue} - } - /// Returns true if `postcard` has been explicitly set. - public var hasPostcard: Bool {return self._postcard != nil} - /// Clears the value of `postcard`. Subsequent reads from it will return its default value. - public mutating func clearPostcard() {self._postcard = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPostcardDoesNotExist // = 2 - case errorNotEnabled // = 4 - case errorRateLimited // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPostcardDoesNotExist - case 4: self = .errorNotEnabled - case 5: self = .errorRateLimited - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPostcardDoesNotExist: return 2 - case .errorNotEnabled: return 4 - case .errorRateLimited: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _postcard: PostcardDisplayProto? = nil -} - -#if swift(>=4.2) - -extension UpdatePostcardOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdatePostcardOutProto.Result] = [ - .unset, - .success, - .errorPostcardDoesNotExist, - .errorNotEnabled, - .errorRateLimited, - ] -} - -#endif // swift(>=4.2) - -public struct UpdatePostcardProto { - // 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. - - public var postcardID: String = String() - - public var favorite: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdateProfileRequest { - // 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. - - public var profile: UpdateProfileRequest.ProfileProto { - get {return _profile ?? UpdateProfileRequest.ProfileProto()} - set {_profile = newValue} - } - /// Returns true if `profile` has been explicitly set. - public var hasProfile: Bool {return self._profile != nil} - /// Clears the value of `profile`. Subsequent reads from it will return its default value. - public mutating func clearProfile() {self._profile = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct ProfileProto { - // 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. - - public var profileNameAppKey: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _profile: UpdateProfileRequest.ProfileProto? = nil -} - -public struct UpdateProfileResponse { - // 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. - - public var result: UpdateProfileResponse.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorEmptyProfileName // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorEmptyProfileName - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorEmptyProfileName: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdateProfileResponse.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateProfileResponse.Result] = [ - .unset, - .success, - .errorUnknown, - .errorEmptyProfileName, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateRouteDraftOutProto { - // 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. - - public var result: UpdateRouteDraftOutProto.Result = .unset - - public var updatedRoute: RouteCreationProto { - get {return _updatedRoute ?? RouteCreationProto()} - set {_updatedRoute = newValue} - } - /// Returns true if `updatedRoute` has been explicitly set. - public var hasUpdatedRoute: Bool {return self._updatedRoute != nil} - /// Clears the value of `updatedRoute`. Subsequent reads from it will return its default value. - public mutating func clearUpdatedRoute() {self._updatedRoute = nil} - - public var validationResult: RouteValidation { - get {return _validationResult ?? RouteValidation()} - set {_validationResult = newValue} - } - /// Returns true if `validationResult` has been explicitly set. - public var hasValidationResult: Bool {return self._validationResult != nil} - /// Clears the value of `validationResult`. Subsequent reads from it will return its default value. - public mutating func clearValidationResult() {self._validationResult = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorInvalidRoute // = 3 - case errorOldVersion // = 4 - case errorRouteNotEditable // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorInvalidRoute - case 4: self = .errorOldVersion - case 5: self = .errorRouteNotEditable - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorInvalidRoute: return 3 - case .errorOldVersion: return 4 - case .errorRouteNotEditable: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _updatedRoute: RouteCreationProto? = nil - fileprivate var _validationResult: RouteValidation? = nil -} - -#if swift(>=4.2) - -extension UpdateRouteDraftOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateRouteDraftOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorInvalidRoute, - .errorOldVersion, - .errorRouteNotEditable, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateRouteDraftProto { - // 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. - - public var routeID: Int64 = 0 - - public var routeVersion: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdateTradingOutProto { - // 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. - - public var result: UpdateTradingOutProto.Result = .unset - - public var trading: TradingProto { - get {return _trading ?? TradingProto()} - set {_trading = newValue} - } - /// Returns true if `trading` has been explicitly set. - public var hasTrading: Bool {return self._trading != nil} - /// Clears the value of `trading`. Subsequent reads from it will return its default value. - public mutating func clearTrading() {self._trading = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorFriendNotFound // = 3 - case errorInvalidPlayerID // = 4 - case errorInvalidState // = 5 - case errorStateHandler // = 6 - case errorInvalidPokemon // = 7 - case errorInsufficientPayment // = 8 - case errorTradingExpired // = 9 - case errorTradingFinished // = 10 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorFriendNotFound - case 4: self = .errorInvalidPlayerID - case 5: self = .errorInvalidState - case 6: self = .errorStateHandler - case 7: self = .errorInvalidPokemon - case 8: self = .errorInsufficientPayment - case 9: self = .errorTradingExpired - case 10: self = .errorTradingFinished - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorFriendNotFound: return 3 - case .errorInvalidPlayerID: return 4 - case .errorInvalidState: return 5 - case .errorStateHandler: return 6 - case .errorInvalidPokemon: return 7 - case .errorInsufficientPayment: return 8 - case .errorTradingExpired: return 9 - case .errorTradingFinished: return 10 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _trading: TradingProto? = nil -} - -#if swift(>=4.2) - -extension UpdateTradingOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateTradingOutProto.Result] = [ - .unset, - .success, - .errorUnknown, - .errorFriendNotFound, - .errorInvalidPlayerID, - .errorInvalidState, - .errorStateHandler, - .errorInvalidPokemon, - .errorInsufficientPayment, - .errorTradingExpired, - .errorTradingFinished, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateTradingProto { - // 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. - - public var playerID: String = String() - - public var pokemonID: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpdateVpsEventOutProto { - // 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. - - public var status: UpdateVpsEventOutProto.Status = .unset - - public var vpsEventWrapper: [VpsEventWrapperProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorUnknown // = 2 - case errorFortIDNotFound // = 3 - case errorVpsNotEnabledAtFort // = 4 - case errorVpsEventNotFound // = 5 - case errorAddAnchorIDAlreadyExists // = 6 - case errorUpdateAnchorIDDoesNotExist // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorUnknown - case 3: self = .errorFortIDNotFound - case 4: self = .errorVpsNotEnabledAtFort - case 5: self = .errorVpsEventNotFound - case 6: self = .errorAddAnchorIDAlreadyExists - case 7: self = .errorUpdateAnchorIDDoesNotExist - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorUnknown: return 2 - case .errorFortIDNotFound: return 3 - case .errorVpsNotEnabledAtFort: return 4 - case .errorVpsEventNotFound: return 5 - case .errorAddAnchorIDAlreadyExists: return 6 - case .errorUpdateAnchorIDDoesNotExist: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UpdateVpsEventOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpdateVpsEventOutProto.Status] = [ - .unset, - .success, - .errorUnknown, - .errorFortIDNotFound, - .errorVpsNotEnabledAtFort, - .errorVpsEventNotFound, - .errorAddAnchorIDAlreadyExists, - .errorUpdateAnchorIDDoesNotExist, - ] -} - -#endif // swift(>=4.2) - -public struct UpdateVpsEventProto { - // 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. - - public var fortID: String = String() - - public var updatedAnchors: [AnchorUpdateProto] = [] - - public var eventID: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UpgradePokemonOutProto { - // 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. - - public var result: UpgradePokemonOutProto.Result = .unset - - public var upgradedPokemon: PokemonProto { - get {return _upgradedPokemon ?? PokemonProto()} - set {_upgradedPokemon = newValue} - } - /// Returns true if `upgradedPokemon` has been explicitly set. - public var hasUpgradedPokemon: Bool {return self._upgradedPokemon != nil} - /// Clears the value of `upgradedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearUpgradedPokemon() {self._upgradedPokemon = nil} - - public var nextUpgradedPokemon: PokemonProto { - get {return _nextUpgradedPokemon ?? PokemonProto()} - set {_nextUpgradedPokemon = newValue} - } - /// Returns true if `nextUpgradedPokemon` has been explicitly set. - public var hasNextUpgradedPokemon: Bool {return self._nextUpgradedPokemon != nil} - /// Clears the value of `nextUpgradedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearNextUpgradedPokemon() {self._nextUpgradedPokemon = nil} - - public var bulkUpgradesCostTable: [UpgradePokemonOutProto.BulkUpgradesCost] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorPokemonNotFound // = 2 - case errorInsufficientResources // = 3 - case errorUpgradeNotAvailable // = 4 - case errorPokemonIsDeployed // = 5 - case errorDuplicateRequest // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorPokemonNotFound - case 3: self = .errorInsufficientResources - case 4: self = .errorUpgradeNotAvailable - case 5: self = .errorPokemonIsDeployed - case 6: self = .errorDuplicateRequest - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorPokemonNotFound: return 2 - case .errorInsufficientResources: return 3 - case .errorUpgradeNotAvailable: return 4 - case .errorPokemonIsDeployed: return 5 - case .errorDuplicateRequest: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public struct BulkUpgradesCost { - // 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. - - public var numberOfUpgrades: Int32 = 0 - - public var pokemonLevel: Int32 = 0 - - public var pokemonCp: Int32 = 0 - - public var totalStardustCost: Int32 = 0 - - public var totalCandyCost: Int32 = 0 - - public var totalCpMultiplier: Float = 0 - - public var totalXlCandyCost: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _upgradedPokemon: PokemonProto? = nil - fileprivate var _nextUpgradedPokemon: PokemonProto? = nil -} - -#if swift(>=4.2) - -extension UpgradePokemonOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UpgradePokemonOutProto.Result] = [ - .unset, - .success, - .errorPokemonNotFound, - .errorInsufficientResources, - .errorUpgradeNotAvailable, - .errorPokemonIsDeployed, - .errorDuplicateRequest, - ] -} - -#endif // swift(>=4.2) - -public struct UpgradePokemonProto { - // 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. - - public var pokemonID: UInt64 = 0 - - public var preview: Bool = false - - public var numberOfUpgrades: UInt32 = 0 - - public var pokemonCurrentCp: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UploadManagementSettings { - // 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. - - public var uploadManagementEnabled: Bool = false - - public var uploadManagementTextureSize: Int32 = 0 - - public var obBool: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UploadManagementTelemetry { - // 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. - - public var uploadManagementTelemetryID: UploadManagementTelemetry.UploadManagementEventId = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum UploadManagementEventId: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case uploadAllFromEntryPoint // = 1 - case uploadAllFromUploadMgmtMenu // = 2 - case cancelAllFromEntryPoint // = 3 - case cancelAllFromUploadMgmtMenu // = 4 - case cancelIndividualUpload // = 5 - case deleteIndividualUpload // = 6 - case uploadAllSuccess // = 7 - case uploadAllFailure // = 8 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .uploadAllFromEntryPoint - case 2: self = .uploadAllFromUploadMgmtMenu - case 3: self = .cancelAllFromEntryPoint - case 4: self = .cancelAllFromUploadMgmtMenu - case 5: self = .cancelIndividualUpload - case 6: self = .deleteIndividualUpload - case 7: self = .uploadAllSuccess - case 8: self = .uploadAllFailure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .uploadAllFromEntryPoint: return 1 - case .uploadAllFromUploadMgmtMenu: return 2 - case .cancelAllFromEntryPoint: return 3 - case .cancelAllFromUploadMgmtMenu: return 4 - case .cancelIndividualUpload: return 5 - case .deleteIndividualUpload: return 6 - case .uploadAllSuccess: return 7 - case .uploadAllFailure: return 8 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UploadManagementTelemetry.UploadManagementEventId: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UploadManagementTelemetry.UploadManagementEventId] = [ - .unknown, - .uploadAllFromEntryPoint, - .uploadAllFromUploadMgmtMenu, - .cancelAllFromEntryPoint, - .cancelAllFromUploadMgmtMenu, - .cancelIndividualUpload, - .deleteIndividualUpload, - .uploadAllSuccess, - .uploadAllFailure, - ] -} - -#endif // swift(>=4.2) - -public struct UploadPoiPhotoByUrlOutProto { - // 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. - - public var status: PortalCurationImageResult.Result = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UploadPoiPhotoByUrlProto { - // 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. - - public var requestID: String = String() - - public var imageURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UploadRaidClientLogOutProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UploadRaidClientLogProto { - // 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. - - public var obRaidClientInfo: RaidClientLogInfoProto { - get {return _obRaidClientInfo ?? RaidClientLogInfoProto()} - set {_obRaidClientInfo = newValue} - } - /// Returns true if `obRaidClientInfo` has been explicitly set. - public var hasObRaidClientInfo: Bool {return self._obRaidClientInfo != nil} - /// Clears the value of `obRaidClientInfo`. Subsequent reads from it will return its default value. - public mutating func clearObRaidClientInfo() {self._obRaidClientInfo = nil} - - public var obRaidClientLogs: [RaidClientLogsProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _obRaidClientInfo: RaidClientLogInfoProto? = nil -} - -public struct UpsightLoggingSettingsProto { - // 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. - - public var useVerboseLogging: Bool = false - - public var loggingPercentage: Int32 = 0 - - public var disableLogging: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct Upstream { - // 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. - - public var message: Upstream.OneOf_Message? = nil - - public var subscribe: Upstream.SubscriptionRequest { - get { - if case .subscribe(let v)? = message {return v} - return Upstream.SubscriptionRequest() - } - set {message = .subscribe(newValue)} - } - - public var probe: Upstream.ProbeResponse { - get { - if case .probe(let v)? = message {return v} - return Upstream.ProbeResponse() - } - set {message = .probe(newValue)} - } - - public var requestID: Int64 = 0 - - public var token: Data = Data() - - public var clientOs: ClientOperatingSystem = .osUnknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Message: Equatable { - case subscribe(Upstream.SubscriptionRequest) - case probe(Upstream.ProbeResponse) - - #if !swift(>=4.1) - public static func ==(lhs: Upstream.OneOf_Message, rhs: Upstream.OneOf_Message) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.subscribe, .subscribe): return { - guard case .subscribe(let l) = lhs, case .subscribe(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.probe, .probe): return { - guard case .probe(let l) = lhs, case .probe(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public struct ProbeResponse { - // 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. - - public var probeStartMs: Int64 = 0 - - public var gameContext: String = String() - - public var networkType: Upstream.ProbeResponse.NetworkType = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum NetworkType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case data // = 1 - case wifi // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .data - case 2: self = .wifi - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .data: return 1 - case .wifi: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - } - - public struct SubscriptionRequest { - // 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. - - public var topics: [TopicProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} -} - -#if swift(>=4.2) - -extension Upstream.ProbeResponse.NetworkType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [Upstream.ProbeResponse.NetworkType] = [ - .unset, - .data, - .wifi, - ] -} - -#endif // swift(>=4.2) - -public struct UseIncenseActionOutProto { - // 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. - - public var result: UseIncenseActionOutProto.Result = .unknown - - public var appliedIncense: AppliedItemProto { - get {return _appliedIncense ?? AppliedItemProto()} - set {_appliedIncense = newValue} - } - /// Returns true if `appliedIncense` has been explicitly set. - public var hasAppliedIncense: Bool {return self._appliedIncense != nil} - /// Clears the value of `appliedIncense`. Subsequent reads from it will return its default value. - public mutating func clearAppliedIncense() {self._appliedIncense = nil} - - public var obLoot: LootProto { - get {return _obLoot ?? LootProto()} - set {_obLoot = newValue} - } - /// Returns true if `obLoot` has been explicitly set. - public var hasObLoot: Bool {return self._obLoot != nil} - /// Clears the value of `obLoot`. Subsequent reads from it will return its default value. - public mutating func clearObLoot() {self._obLoot = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case success // = 1 - case incenseAlreadyActive // = 2 - case noneInInventory // = 3 - case locationUnset // = 4 - case incenseDisabled // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .success - case 2: self = .incenseAlreadyActive - case 3: self = .noneInInventory - case 4: self = .locationUnset - case 5: self = .incenseDisabled - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .success: return 1 - case .incenseAlreadyActive: return 2 - case .noneInInventory: return 3 - case .locationUnset: return 4 - case .incenseDisabled: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _appliedIncense: AppliedItemProto? = nil - fileprivate var _obLoot: LootProto? = nil -} - -#if swift(>=4.2) - -extension UseIncenseActionOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UseIncenseActionOutProto.Result] = [ - .unknown, - .success, - .incenseAlreadyActive, - .noneInInventory, - .locationUnset, - .incenseDisabled, - ] -} - -#endif // swift(>=4.2) - -public struct UseIncenseActionProto { - // 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. - - public var incenseType: Item = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemCaptureOutProto { - // 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. - - public var success: Bool = false - - public var itemCaptureMult: Double = 0 - - public var itemFleeMult: Double = 0 - - public var stopMovement: Bool = false - - public var stopAttack: Bool = false - - public var targetMax: Bool = false - - public var targetSlow: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemCaptureProto { - // 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. - - public var item: Item = .unknown - - public var encounterID: UInt64 = 0 - - public var spawnPointGuid: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemEggIncubatorOutProto { - // 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. - - public var result: UseItemEggIncubatorOutProto.Result = .unset - - public var eggIncubator: EggIncubatorProto { - get {return _eggIncubator ?? EggIncubatorProto()} - set {_eggIncubator = newValue} - } - /// Returns true if `eggIncubator` has been explicitly set. - public var hasEggIncubator: Bool {return self._eggIncubator != nil} - /// Clears the value of `eggIncubator`. Subsequent reads from it will return its default value. - public mutating func clearEggIncubator() {self._eggIncubator = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorIncubatorNotFound // = 2 - case errorPokemonEggNotFound // = 3 - case errorPokemonIDNotEgg // = 4 - case errorIncubatorAlreadyInUse // = 5 - case errorPokemonAlreadyIncubating // = 6 - case errorIncubatorNoUsesRemaining // = 7 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorIncubatorNotFound - case 3: self = .errorPokemonEggNotFound - case 4: self = .errorPokemonIDNotEgg - case 5: self = .errorIncubatorAlreadyInUse - case 6: self = .errorPokemonAlreadyIncubating - case 7: self = .errorIncubatorNoUsesRemaining - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorIncubatorNotFound: return 2 - case .errorPokemonEggNotFound: return 3 - case .errorPokemonIDNotEgg: return 4 - case .errorIncubatorAlreadyInUse: return 5 - case .errorPokemonAlreadyIncubating: return 6 - case .errorIncubatorNoUsesRemaining: return 7 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _eggIncubator: EggIncubatorProto? = nil -} - -#if swift(>=4.2) - -extension UseItemEggIncubatorOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UseItemEggIncubatorOutProto.Result] = [ - .unset, - .success, - .errorIncubatorNotFound, - .errorPokemonEggNotFound, - .errorPokemonIDNotEgg, - .errorIncubatorAlreadyInUse, - .errorPokemonAlreadyIncubating, - .errorIncubatorNoUsesRemaining, - ] -} - -#endif // swift(>=4.2) - -public struct UseItemEggIncubatorProto { - // 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. - - public var itemID: String = String() - - public var pokemondID: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemEncounterOutProto { - // 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. - - public var status: UseItemEncounterOutProto.Status = .success - - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} - } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - - public var activeItem: Item = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case success // = 0 - case alreadyCompleted // = 1 - case activeItemExists // = 2 - case noItemInInventory // = 3 - case invalidItemCategory // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .success - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .success - case 1: self = .alreadyCompleted - case 2: self = .activeItemExists - case 3: self = .noItemInInventory - case 4: self = .invalidItemCategory - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .success: return 0 - case .alreadyCompleted: return 1 - case .activeItemExists: return 2 - case .noItemInInventory: return 3 - case .invalidItemCategory: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _captureProbability: CaptureProbabilityProto? = nil -} - -#if swift(>=4.2) - -extension UseItemEncounterOutProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UseItemEncounterOutProto.Status] = [ - .success, - .alreadyCompleted, - .activeItemExists, - .noItemInInventory, - .invalidItemCategory, - ] -} - -#endif // swift(>=4.2) - -public struct UseItemEncounterProto { - // 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. - - public var item: Item = .unknown - - public var encounterID: UInt64 = 0 - - public var spawnPointGuid: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemMoveRerollOutProto { - // 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. - - public var result: UseItemMoveRerollOutProto.Result = .unset - - public var updatedPokemon: PokemonProto { - get {return _updatedPokemon ?? PokemonProto()} - set {_updatedPokemon = newValue} - } - /// Returns true if `updatedPokemon` has been explicitly set. - public var hasUpdatedPokemon: Bool {return self._updatedPokemon != nil} - /// Clears the value of `updatedPokemon`. Subsequent reads from it will return its default value. - public mutating func clearUpdatedPokemon() {self._updatedPokemon = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case noPokemon // = 2 - case noOtherMoves // = 3 - case noPlayer // = 4 - case wrongItemType // = 5 - case itemNotInInventory // = 6 - case invalidPokemon // = 7 - case moveLocked // = 8 - case moveCannotBeRerolled // = 9 - case invalidEliteMove // = 10 - case notEnoughItems // = 11 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .noPokemon - case 3: self = .noOtherMoves - case 4: self = .noPlayer - case 5: self = .wrongItemType - case 6: self = .itemNotInInventory - case 7: self = .invalidPokemon - case 8: self = .moveLocked - case 9: self = .moveCannotBeRerolled - case 10: self = .invalidEliteMove - case 11: self = .notEnoughItems - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .noPokemon: return 2 - case .noOtherMoves: return 3 - case .noPlayer: return 4 - case .wrongItemType: return 5 - case .itemNotInInventory: return 6 - case .invalidPokemon: return 7 - case .moveLocked: return 8 - case .moveCannotBeRerolled: return 9 - case .invalidEliteMove: return 10 - case .notEnoughItems: return 11 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _updatedPokemon: PokemonProto? = nil -} - -#if swift(>=4.2) - -extension UseItemMoveRerollOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UseItemMoveRerollOutProto.Result] = [ - .unset, - .success, - .noPokemon, - .noOtherMoves, - .noPlayer, - .wrongItemType, - .itemNotInInventory, - .invalidPokemon, - .moveLocked, - .moveCannotBeRerolled, - .invalidEliteMove, - .notEnoughItems, - ] -} - -#endif // swift(>=4.2) - -public struct UseItemMoveRerollProto { - // 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. - - public var item: Item = .unknown - - public var pokemonID: UInt64 = 0 - - public var rerollUnlockedMove: Bool = false - - public var targetEliteMove: HoloPokemonMove = .moveUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemPotionOutProto { - // 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. - - public var result: UseItemPotionOutProto.Result = .unset - - public var stamina: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorNoPokemon // = 2 - case errorCannotUse // = 3 - case errorDeployedToFort // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorNoPokemon - case 3: self = .errorCannotUse - case 4: self = .errorDeployedToFort - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorNoPokemon: return 2 - case .errorCannotUse: return 3 - case .errorDeployedToFort: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UseItemPotionOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UseItemPotionOutProto.Result] = [ - .unset, - .success, - .errorNoPokemon, - .errorCannotUse, - .errorDeployedToFort, - ] -} - -#endif // swift(>=4.2) - -public struct UseItemPotionProto { - // 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. - - public var item: Item = .unknown - - public var pokemonID: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemRareCandyOutProto { - // 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. - - public var result: UseItemRareCandyOutProto.Result = .unset - - public var pokemonID: HoloPokemonId = .missingno - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case invalidPokemonID // = 2 - case noPlayer // = 3 - case wrongItemType // = 4 - case itemNotInInventory // = 5 - case notEnoughItems // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .invalidPokemonID - case 3: self = .noPlayer - case 4: self = .wrongItemType - case 5: self = .itemNotInInventory - case 6: self = .notEnoughItems - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .invalidPokemonID: return 2 - case .noPlayer: return 3 - case .wrongItemType: return 4 - case .itemNotInInventory: return 5 - case .notEnoughItems: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UseItemRareCandyOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UseItemRareCandyOutProto.Result] = [ - .unset, - .success, - .invalidPokemonID, - .noPlayer, - .wrongItemType, - .itemNotInInventory, - .notEnoughItems, - ] -} - -#endif // swift(>=4.2) - -public struct UseItemRareCandyProto { - // 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. - - public var item: Item = .unknown - - public var pokemonID: HoloPokemonId = .missingno - - public var candyCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemReviveOutProto { - // 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. - - public var result: UseItemReviveOutProto.Result = .unset - - public var stamina: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorNoPokemon // = 2 - case errorCannotUse // = 3 - case errorDeployedToFort // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorNoPokemon - case 3: self = .errorCannotUse - case 4: self = .errorDeployedToFort - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorNoPokemon: return 2 - case .errorCannotUse: return 3 - case .errorDeployedToFort: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension UseItemReviveOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UseItemReviveOutProto.Result] = [ - .unset, - .success, - .errorNoPokemon, - .errorCannotUse, - .errorDeployedToFort, - ] -} - -#endif // swift(>=4.2) - -public struct UseItemReviveProto { - // 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. - - public var item: Item = .unknown - - public var pokemonID: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemStardustBoostOutProto { - // 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. - - public var result: UseItemStardustBoostOutProto.Result = .unset - - public var appliedItems: AppliedItemsProto { - get {return _appliedItems ?? AppliedItemsProto()} - set {_appliedItems = newValue} - } - /// Returns true if `appliedItems` has been explicitly set. - public var hasAppliedItems: Bool {return self._appliedItems != nil} - /// Clears the value of `appliedItems`. Subsequent reads from it will return its default value. - public mutating func clearAppliedItems() {self._appliedItems = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInvalidItemType // = 2 - case errorStardustBoostAlreadyActive // = 3 - case errorNoItemsRemaining // = 4 - case errorLocationUnset // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidItemType - case 3: self = .errorStardustBoostAlreadyActive - case 4: self = .errorNoItemsRemaining - case 5: self = .errorLocationUnset - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInvalidItemType: return 2 - case .errorStardustBoostAlreadyActive: return 3 - case .errorNoItemsRemaining: return 4 - case .errorLocationUnset: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _appliedItems: AppliedItemsProto? = nil -} - -#if swift(>=4.2) - -extension UseItemStardustBoostOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UseItemStardustBoostOutProto.Result] = [ - .unset, - .success, - .errorInvalidItemType, - .errorStardustBoostAlreadyActive, - .errorNoItemsRemaining, - .errorLocationUnset, - ] -} - -#endif // swift(>=4.2) - -public struct UseItemStardustBoostProto { - // 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. - - public var item: Item = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UseItemXpBoostOutProto { - // 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. - - public var result: UseItemXpBoostOutProto.Result = .unset - - public var appliedItems: AppliedItemsProto { - get {return _appliedItems ?? AppliedItemsProto()} - set {_appliedItems = newValue} - } - /// Returns true if `appliedItems` has been explicitly set. - public var hasAppliedItems: Bool {return self._appliedItems != nil} - /// Clears the value of `appliedItems`. Subsequent reads from it will return its default value. - public mutating func clearAppliedItems() {self._appliedItems = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case errorInvalidItemType // = 2 - case errorXpBoostAlreadyActive // = 3 - case errorNoItemsRemaining // = 4 - case errorLocationUnset // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .errorInvalidItemType - case 3: self = .errorXpBoostAlreadyActive - case 4: self = .errorNoItemsRemaining - case 5: self = .errorLocationUnset - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .errorInvalidItemType: return 2 - case .errorXpBoostAlreadyActive: return 3 - case .errorNoItemsRemaining: return 4 - case .errorLocationUnset: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _appliedItems: AppliedItemsProto? = nil -} - -#if swift(>=4.2) - -extension UseItemXpBoostOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [UseItemXpBoostOutProto.Result] = [ - .unset, - .success, - .errorInvalidItemType, - .errorXpBoostAlreadyActive, - .errorNoItemsRemaining, - .errorLocationUnset, - ] -} - -#endif // swift(>=4.2) - -public struct UseItemXpBoostProto { - // 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. - - public var item: Item = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UserAttributesProto { - // 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. - - public var level: Int32 { - get {return _storage._level} - set {_uniqueStorage()._level = newValue} - } - - public var xpPercentage: Int64 { - get {return _storage._xpPercentage} - set {_uniqueStorage()._xpPercentage = newValue} - } - - public var pokecoinCount: Int64 { - get {return _storage._pokecoinCount} - set {_uniqueStorage()._pokecoinCount = newValue} - } - - public var team: Team { - get {return _storage._team} - set {_uniqueStorage()._team = newValue} - } - - public var catchStreak: Int32 { - get {return _storage._catchStreak} - set {_uniqueStorage()._catchStreak = newValue} - } - - public var spinStreak: Int32 { - get {return _storage._spinStreak} - set {_uniqueStorage()._spinStreak = newValue} - } - - public var buddyName: String { - get {return _storage._buddyName} - set {_uniqueStorage()._buddyName = newValue} - } - - public var isEggIncubating: Bool { - get {return _storage._isEggIncubating} - set {_uniqueStorage()._isEggIncubating = newValue} - } - - public var hasEggs_p: Bool { - get {return _storage._hasEggs_p} - set {_uniqueStorage()._hasEggs_p = newValue} - } - - public var starPieceCount: Int32 { - get {return _storage._starPieceCount} - set {_uniqueStorage()._starPieceCount = newValue} - } - - public var luckyEggCount: Int32 { - get {return _storage._luckyEggCount} - set {_uniqueStorage()._luckyEggCount = newValue} - } - - public var incenseOrdinaryCount: Int32 { - get {return _storage._incenseOrdinaryCount} - set {_uniqueStorage()._incenseOrdinaryCount = newValue} - } - - public var incenseSpicyCount: Int32 { - get {return _storage._incenseSpicyCount} - set {_uniqueStorage()._incenseSpicyCount = newValue} - } - - public var incenseCoolCount: Int32 { - get {return _storage._incenseCoolCount} - set {_uniqueStorage()._incenseCoolCount = newValue} - } - - public var incenseFloralCount: Int32 { - get {return _storage._incenseFloralCount} - set {_uniqueStorage()._incenseFloralCount = newValue} - } - - public var lureOrdinaryCount: Int32 { - get {return _storage._lureOrdinaryCount} - set {_uniqueStorage()._lureOrdinaryCount = newValue} - } - - public var lureMossyCount: Int32 { - get {return _storage._lureMossyCount} - set {_uniqueStorage()._lureMossyCount = newValue} - } - - public var lureGlacialCount: Int32 { - get {return _storage._lureGlacialCount} - set {_uniqueStorage()._lureGlacialCount = newValue} - } - - public var lureMagneticCount: Int32 { - get {return _storage._lureMagneticCount} - set {_uniqueStorage()._lureMagneticCount = newValue} - } - - public var usingStarPiece: Bool { - get {return _storage._usingStarPiece} - set {_uniqueStorage()._usingStarPiece = newValue} - } - - public var usingLuckyEgg: Bool { - get {return _storage._usingLuckyEgg} - set {_uniqueStorage()._usingLuckyEgg = newValue} - } - - public var usingIncenseOrdinary: Bool { - get {return _storage._usingIncenseOrdinary} - set {_uniqueStorage()._usingIncenseOrdinary = newValue} - } - - public var usingIncenseSpicy: Bool { - get {return _storage._usingIncenseSpicy} - set {_uniqueStorage()._usingIncenseSpicy = newValue} - } - - public var usingIncenseCool: Bool { - get {return _storage._usingIncenseCool} - set {_uniqueStorage()._usingIncenseCool = newValue} - } - - public var usingIncenseFloral: Bool { - get {return _storage._usingIncenseFloral} - set {_uniqueStorage()._usingIncenseFloral = newValue} - } - - public var usingLureOrdinary: Bool { - get {return _storage._usingLureOrdinary} - set {_uniqueStorage()._usingLureOrdinary = newValue} - } - - public var usingLureMossy: Bool { - get {return _storage._usingLureMossy} - set {_uniqueStorage()._usingLureMossy = newValue} - } - - public var usingLureGlacial: Bool { - get {return _storage._usingLureGlacial} - set {_uniqueStorage()._usingLureGlacial = newValue} - } - - public var usingLureMagnetic: Bool { - get {return _storage._usingLureMagnetic} - set {_uniqueStorage()._usingLureMagnetic = newValue} - } - - public var adventureSyncOptIn: Bool { - get {return _storage._adventureSyncOptIn} - set {_uniqueStorage()._adventureSyncOptIn = newValue} - } - - public var geoFenceOptIn: Bool { - get {return _storage._geoFenceOptIn} - set {_uniqueStorage()._geoFenceOptIn = newValue} - } - - public var kantoDexCount: Int32 { - get {return _storage._kantoDexCount} - set {_uniqueStorage()._kantoDexCount = newValue} - } - - public var johtoDexCount: Int32 { - get {return _storage._johtoDexCount} - set {_uniqueStorage()._johtoDexCount = newValue} - } - - public var hoennDexCount: Int32 { - get {return _storage._hoennDexCount} - set {_uniqueStorage()._hoennDexCount = newValue} - } - - public var sinnohDexCount: Int32 { - get {return _storage._sinnohDexCount} - set {_uniqueStorage()._sinnohDexCount = newValue} - } - - public var friendCount: Int32 { - get {return _storage._friendCount} - set {_uniqueStorage()._friendCount = newValue} - } - - public var fieldResearchStampProgress: Int32 { - get {return _storage._fieldResearchStampProgress} - set {_uniqueStorage()._fieldResearchStampProgress = newValue} - } - - public var levelUp: Int32 { - get {return _storage._levelUp} - set {_uniqueStorage()._levelUp = newValue} - } - - public var sentFriendRequest: Bool { - get {return _storage._sentFriendRequest} - set {_uniqueStorage()._sentFriendRequest = newValue} - } - - public var isEggIncubatingV2: String { - get {return _storage._isEggIncubatingV2} - set {_uniqueStorage()._isEggIncubatingV2 = newValue} - } - - public var hasEggsV2_p: String { - get {return _storage._hasEggsV2_p} - set {_uniqueStorage()._hasEggsV2_p = newValue} - } - - public var usingStarPieceV2: String { - get {return _storage._usingStarPieceV2} - set {_uniqueStorage()._usingStarPieceV2 = newValue} - } - - public var usingLuckyEggV2: String { - get {return _storage._usingLuckyEggV2} - set {_uniqueStorage()._usingLuckyEggV2 = newValue} - } - - public var usingIncenseOrdinaryV2: String { - get {return _storage._usingIncenseOrdinaryV2} - set {_uniqueStorage()._usingIncenseOrdinaryV2 = newValue} - } - - public var usingIncenseSpicyV2: String { - get {return _storage._usingIncenseSpicyV2} - set {_uniqueStorage()._usingIncenseSpicyV2 = newValue} - } - - public var usingIncenseCoolV2: String { - get {return _storage._usingIncenseCoolV2} - set {_uniqueStorage()._usingIncenseCoolV2 = newValue} - } - - public var usingIncenseFloralV2: String { - get {return _storage._usingIncenseFloralV2} - set {_uniqueStorage()._usingIncenseFloralV2 = newValue} - } - - public var usingLureOrdinaryV2: String { - get {return _storage._usingLureOrdinaryV2} - set {_uniqueStorage()._usingLureOrdinaryV2 = newValue} - } - - public var usingLureMossyV2: String { - get {return _storage._usingLureMossyV2} - set {_uniqueStorage()._usingLureMossyV2 = newValue} - } - - public var usingLureGlacialV2: String { - get {return _storage._usingLureGlacialV2} - set {_uniqueStorage()._usingLureGlacialV2 = newValue} - } - - public var usingLureMagneticV2: String { - get {return _storage._usingLureMagneticV2} - set {_uniqueStorage()._usingLureMagneticV2 = newValue} - } - - public var adventureSyncOptInV2: String { - get {return _storage._adventureSyncOptInV2} - set {_uniqueStorage()._adventureSyncOptInV2 = newValue} - } - - public var geoFenceOptInV2: String { - get {return _storage._geoFenceOptInV2} - set {_uniqueStorage()._geoFenceOptInV2 = newValue} - } - - public var unovaDexCount: Int32 { - get {return _storage._unovaDexCount} - set {_uniqueStorage()._unovaDexCount = newValue} - } - - public var balloonBattlesCompleted: Int32 { - get {return _storage._balloonBattlesCompleted} - set {_uniqueStorage()._balloonBattlesCompleted = newValue} - } - - public var balloonBattlesWon: Int32 { - get {return _storage._balloonBattlesWon} - set {_uniqueStorage()._balloonBattlesWon = newValue} - } - - public var kalosDexCount: Int32 { - get {return _storage._kalosDexCount} - set {_uniqueStorage()._kalosDexCount = newValue} - } - - public var alolaDexCount: Int32 { - get {return _storage._alolaDexCount} - set {_uniqueStorage()._alolaDexCount = newValue} - } - - public var galarDexCount: Int32 { - get {return _storage._galarDexCount} - set {_uniqueStorage()._galarDexCount = newValue} - } - - public var lureSparklyCount: Int32 { - get {return _storage._lureSparklyCount} - set {_uniqueStorage()._lureSparklyCount = newValue} - } - - public var usingLureSparkly: String { - get {return _storage._usingLureSparkly} - set {_uniqueStorage()._usingLureSparkly = newValue} - } - - public var paldeaDexCount: Int32 { - get {return _storage._paldeaDexCount} - set {_uniqueStorage()._paldeaDexCount = newValue} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance -} - -public struct UserGameDataProto { - // 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. - - public var codeName: String = String() - - public var locale: PlayerLocaleProto { - get {return _locale ?? PlayerLocaleProto()} - set {_locale = newValue} - } - /// Returns true if `locale` has been explicitly set. - public var hasLocale: Bool {return self._locale != nil} - /// Clears the value of `locale`. Subsequent reads from it will return its default value. - public mutating func clearLocale() {self._locale = nil} - - public var virtualCurrency: [VirtualCurrencyBalanceProto] = [] - - public var plfeInstance: UInt32 = 0 - - public var email: String = String() - - public var gameValues: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _locale: PlayerLocaleProto? = nil -} - -public struct UserIssueWeatherReport { - // 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. - - public var gameplayerWeather: String = String() - - public var alertActive: Bool = false - - public var severity: WeatherAlertProto.Severity = .none - - public var userReport: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UsernameSuggestionSettings { - // 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. - - public var featureEnabled: Bool = false - - public var min: Int32 = 0 - - public var max: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct UsernameSuggestionTelemetry { - // 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. - - public var obSuggest1: SuggestionsEvents = .undefinedUsernameSuggestionEvent - - public var obSuggest2: ObSuggestionsEntry = .suggestionEntryUndefinedUsernameEntryMode - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VSSeekerScheduleProto { - // 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. - - public var vsSeekerSeasonName: String = String() - - public var descriptionKey: String = String() - - public var vsSeekerScheduleWindowDetails: [VSSeekerScheduleWindowDetailsProto] = [] - - public var vsSeekerSeasonBlogURL: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VSSeekerScheduleSettingsProto { - // 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. - - public var vsSeekerScheduleSettingEnabled: Bool = false - - public var obBool2: Bool = false - - public var obBool3: Bool = false - - public var vsSeekerSchedule: [VSSeekerScheduleProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VSSeekerScheduleWindowDetailsProto { - // 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. - - public var startTimeMs: Int64 = 0 - - public var endTimeMs: Int64 = 0 - - public var vsSeekerCupsInWindow: [String] = [] - - public var vsSeekerScheduleWindowDetailsSubEntrys: [VSSeekerScheduleWindowDetailsSubEntrysProto] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VSSeekerScheduleWindowDetailsSubEntrysProto { - // 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. - - public var obString: String = String() - - public var obInt641: Int64 = 0 - - public var obInt642: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ValidateNiaAppleAuthTokenRequestProto { - // 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. - - public var niaAppleAuthToken: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ValidateNiaAppleAuthTokenResponseProto { - // 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. - - public var status: ValidateNiaAppleAuthTokenResponseProto.Status = .unset - - public var appleUserID: String = String() - - public var appleEmail: String = String() - - public var appleClientID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case invalidAuth // = 2 - case expiredAuth // = 3 - case serverError // = 4 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .invalidAuth - case 3: self = .expiredAuth - case 4: self = .serverError - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .invalidAuth: return 2 - case .expiredAuth: return 3 - case .serverError: return 4 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension ValidateNiaAppleAuthTokenResponseProto.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [ValidateNiaAppleAuthTokenResponseProto.Status] = [ - .unset, - .success, - .invalidAuth, - .expiredAuth, - .serverError, - ] -} - -#endif // swift(>=4.2) - -public struct Value { - // 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. - - public var kind: Value.OneOf_Kind? = nil - - public var nullValue: NullValue { - get { - if case .nullValue(let v)? = kind {return v} - return .nullValue - } - set {kind = .nullValue(newValue)} - } - - public var numberValue: Double { - get { - if case .numberValue(let v)? = kind {return v} - return 0 - } - set {kind = .numberValue(newValue)} - } - - public var stringValue: String { - get { - if case .stringValue(let v)? = kind {return v} - return String() - } - set {kind = .stringValue(newValue)} - } - - public var boolValue: Bool { - get { - if case .boolValue(let v)? = kind {return v} - return false - } - set {kind = .boolValue(newValue)} - } - - public var structValue: Struct { - get { - if case .structValue(let v)? = kind {return v} - return Struct() - } - set {kind = .structValue(newValue)} - } - - public var listValue: ListValue { - get { - if case .listValue(let v)? = kind {return v} - return ListValue() - } - set {kind = .listValue(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Kind: Equatable { - case nullValue(NullValue) - case numberValue(Double) - case stringValue(String) - case boolValue(Bool) - case structValue(Struct) - case listValue(ListValue) - - #if !swift(>=4.1) - public static func ==(lhs: Value.OneOf_Kind, rhs: Value.OneOf_Kind) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.nullValue, .nullValue): return { - guard case .nullValue(let l) = lhs, case .nullValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.numberValue, .numberValue): return { - guard case .numberValue(let l) = lhs, case .numberValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.stringValue, .stringValue): return { - guard case .stringValue(let l) = lhs, case .stringValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.boolValue, .boolValue): return { - guard case .boolValue(let l) = lhs, case .boolValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.structValue, .structValue): return { - guard case .structValue(let l) = lhs, case .structValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.listValue, .listValue): return { - guard case .listValue(let l) = lhs, case .listValue(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} -} - -public struct VasaClientAction { - // 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. - - public var action: VasaClientAction.ActionEnum = .invalidVasaClientAction - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum ActionEnum: SwiftProtobuf.Enum { - public typealias RawValue = Int - case invalidVasaClientAction // = 0 - case collectAdid // = 8000 - case UNRECOGNIZED(Int) - - public init() { - self = .invalidVasaClientAction - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .invalidVasaClientAction - case 8000: self = .collectAdid - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .invalidVasaClientAction: return 0 - case .collectAdid: return 8000 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension VasaClientAction.ActionEnum: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [VasaClientAction.ActionEnum] = [ - .invalidVasaClientAction, - .collectAdid, - ] -} - -#endif // swift(>=4.2) - -public struct Vector3 { - // 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. - - public var x: Float = 0 - - public var y: Float = 0 - - public var z: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VerboseLogCombatSettingsProto { - // 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. - - public var obBool1: Bool = false - - public var obBool2: Bool = false - - public var obBool3: Bool = false - - public var obBool4: Bool = false - - public var obBool5: Bool = false - - public var obBool6: Bool = false - - public var obBool7: Bool = false - - public var obBool8: Bool = false - - public var obBool9: Bool = false - - public var obInt321: Int32 = 0 - - public var obBool10: Bool = false - - public var obInt322: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VerboseLogRaidSettings { - // 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. - - public var verboseRaidBool1: Bool = false - - public var verboseRaidBool2: Bool = false - - public var verboseRaidBool3: Bool = false - - public var verboseRaidBool4: Bool = false - - public var verboseRaidBool5: Bool = false - - public var verboseRaidBool6: Bool = false - - public var verboseRaidBool7: Bool = false - - public var verboseRaidBool8: Bool = false - - public var verboseRaidBool9: Bool = false - - public var verboseRaidBool10: Bool = false - - public var verboseRaidBool11: Bool = false - - public var verboseRaidBool12: Bool = false - - public var verboseRaidBool13: Bool = false - - public var verboseRaidBool14: Bool = false - - public var verboseRaidBool15: Bool = false - - public var verboseRaidInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VerifyChallengeOutProto { - // 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. - - public var success: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VerifyChallengeProto { - // 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. - - public var token: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ViewPointOfInterestImageTelemetry { - // 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. - - public var result: String = String() - - public var fortID: String = String() - - public var fortType: Int32 = 0 - - public var inRange: Bool = false - - public var wasGymInterior: Bool = false - - public var partnerID: String = String() - - public var campaignID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VirtualCurrencyBalanceProto { - // 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. - - public var currencyType: String = String() - - public var balance: Int32 = 0 - - public var fiatPurchasedBalance: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VpsAnchor { - // 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. - - public var id: String = String() - - public var payload: Data = Data() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VpsEventMapDisplayProto { - // 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. - - public var eventType: VpsEventType = .vpsEventUnset - - public var eventID: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VpsEventSettingsProto { - // 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. - - public var fortVpsEvents: [VpsEventSettingsProto.FortVpsEvent] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct FortVpsEvent { - // 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. - - public var fortID: String = String() - - public var startTimeMs: Int64 = 0 - - public var endTimeMs: Int64 = 0 - - public var vpsEvent: VpsEventMapDisplayProto { - get {return _vpsEvent ?? VpsEventMapDisplayProto()} - set {_vpsEvent = newValue} - } - /// Returns true if `vpsEvent` has been explicitly set. - public var hasVpsEvent: Bool {return self._vpsEvent != nil} - /// Clears the value of `vpsEvent`. Subsequent reads from it will return its default value. - public mutating func clearVpsEvent() {self._vpsEvent = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _vpsEvent: VpsEventMapDisplayProto? = nil - } - - public init() {} -} - -public struct VpsEventWrapperProto { - // 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. - - public var eventType: VpsEventType = .vpsEventUnset - - public var eventID: Int32 = 0 - - public var eventDuration: VpsEventWrapperProto.EventDurationProto { - get {return _eventDuration ?? VpsEventWrapperProto.EventDurationProto()} - set {_eventDuration = newValue} - } - /// Returns true if `eventDuration` has been explicitly set. - public var hasEventDuration: Bool {return self._eventDuration != nil} - /// Clears the value of `eventDuration`. Subsequent reads from it will return its default value. - public mutating func clearEventDuration() {self._eventDuration = nil} - - public var anchors: [VpsAnchor] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct EventDurationProto { - // 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. - - public var permanent: Bool = false - - public var startMs: Int64 = 0 - - public var endMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _eventDuration: VpsEventWrapperProto.EventDurationProto? = nil -} - -public struct VpsSessionSummaryEvent { - // 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. - - public var anchorCreateAttemptCount: Int32 = 0 - - public var anchorCreateSuccessCount: Int32 = 0 - - public var anchorCreateFailureCount: Int32 = 0 - - public var anchorResolveAttemptCount: Int32 = 0 - - public var anchorResolveSuccessCount: Int32 = 0 - - public var anchorResolveFailureCount: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VpsStateChangeEvent { - // 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. - - public var vpsState: String = String() - - public var localizationFailureReason: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VsActionHistory { - // 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. - - public var invokeTimeMs: Int64 = 0 - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var moveModifier: MoveModifierProto { - get {return _moveModifier ?? MoveModifierProto()} - set {_moveModifier = newValue} - } - /// Returns true if `moveModifier` has been explicitly set. - public var hasMoveModifier: Bool {return self._moveModifier != nil} - /// Clears the value of `moveModifier`. Subsequent reads from it will return its default value. - public mutating func clearMoveModifier() {self._moveModifier = nil} - - public var item: Item = .unknown - - public var move: HoloPokemonMove = .moveUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _moveModifier: MoveModifierProto? = nil -} - -public struct VsSeekerAttributesProto { - // 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. - - public var vsSeekerStatus: VsSeekerAttributesProto.VsSeekerStatus = .unset - - public var startKmWalked: Double = 0 - - public var targetKmWalked: Double = 0 - - public var battleGrantedRemaining: Int32 = 0 - - public var maxBattlesInSet: Int32 = 0 - - public var rewardTrack: VsSeekerRewardTrack = .free - - public var battleNowSkuID: String = String() - - public var additionalBattlesGranted: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum VsSeekerStatus: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case startedCharging // = 1 - case fullyCharged // = 2 - case activated // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .startedCharging - case 2: self = .fullyCharged - case 3: self = .activated - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .startedCharging: return 1 - case .fullyCharged: return 2 - case .activated: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension VsSeekerAttributesProto.VsSeekerStatus: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [VsSeekerAttributesProto.VsSeekerStatus] = [ - .unset, - .startedCharging, - .fullyCharged, - .activated, - ] -} - -#endif // swift(>=4.2) - -public struct VsSeekerBattleResult { - // 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. - - public var battleResult: CombatPlayerFinishState = .winner - - public var rewardsClaimed: Bool = false - - public var isPendingPokemonReward: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VsSeekerClientSettingsProto { - // 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. - - public var upgradeIapSkuID: String = String() - - public var allowedVsSeekerLeagueTemplateID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VsSeekerCompleteSeasonLogEntry { - // 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. - - public var result: VsSeekerCompleteSeasonLogEntry.Result = .unset - - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} - - public var rank: Int32 = 0 - - public var rating: Float = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _rewards: LootProto? = nil -} - -#if swift(>=4.2) - -extension VsSeekerCompleteSeasonLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [VsSeekerCompleteSeasonLogEntry.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct VsSeekerCreateDetail { - // 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. - - public var season: Int32 = 0 - - public var league: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VsSeekerLootProto { - // 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. - - public var rankLevel: Int32 = 0 - - public var reward: [VsSeekerLootProto.RewardProto] = [] - - public var rewardTrack: VsSeekerRewardTrack = .free - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct RewardProto { - // 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. - - public var rewardType: VsSeekerLootProto.RewardProto.OneOf_RewardType? = nil - - public var item: LootItemProto { - get { - if case .item(let v)? = rewardType {return v} - return LootItemProto() - } - set {rewardType = .item(newValue)} - } - - public var pokemonReward: Bool { - get { - if case .pokemonReward(let v)? = rewardType {return v} - return false - } - set {rewardType = .pokemonReward(newValue)} - } - - public var itemLootTable: Bool { - get { - if case .itemLootTable(let v)? = rewardType {return v} - return false - } - set {rewardType = .itemLootTable(newValue)} - } - - public var itemLootTableCount: Int32 { - get { - if case .itemLootTableCount(let v)? = rewardType {return v} - return 0 - } - set {rewardType = .itemLootTableCount(newValue)} - } - - public var itemRankingLootTableCount: Int32 { - get { - if case .itemRankingLootTableCount(let v)? = rewardType {return v} - return 0 - } - set {rewardType = .itemRankingLootTableCount(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_RewardType: Equatable { - case item(LootItemProto) - case pokemonReward(Bool) - case itemLootTable(Bool) - case itemLootTableCount(Int32) - case itemRankingLootTableCount(Int32) - - #if !swift(>=4.1) - public static func ==(lhs: VsSeekerLootProto.RewardProto.OneOf_RewardType, rhs: VsSeekerLootProto.RewardProto.OneOf_RewardType) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.item, .item): return { - guard case .item(let l) = lhs, case .item(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.pokemonReward, .pokemonReward): return { - guard case .pokemonReward(let l) = lhs, case .pokemonReward(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.itemLootTable, .itemLootTable): return { - guard case .itemLootTable(let l) = lhs, case .itemLootTable(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.itemLootTableCount, .itemLootTableCount): return { - guard case .itemLootTableCount(let l) = lhs, case .itemLootTableCount(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.itemRankingLootTableCount, .itemRankingLootTableCount): return { - guard case .itemRankingLootTableCount(let l) = lhs, case .itemRankingLootTableCount(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} - } - - public init() {} -} - -public struct VsSeekerPokemonRewardsProto { - // 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. - - public var availablePokemon: [VsSeekerPokemonRewardsProto.PokemonUnlockProto] = [] - - public var rewardTrack: VsSeekerRewardTrack = .free - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct OverrideIvRangeProto { - // 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. - - public var overrideType: VsSeekerPokemonRewardsProto.OverrideIvRangeProto.OneOf_OverrideType? = nil - - public var range: RangeProto { - get { - if case .range(let v)? = overrideType {return v} - return RangeProto() - } - set {overrideType = .range(newValue)} - } - - public var zero: Bool { - get { - if case .zero(let v)? = overrideType {return v} - return false - } - set {overrideType = .zero(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_OverrideType: Equatable { - case range(RangeProto) - case zero(Bool) - - #if !swift(>=4.1) - public static func ==(lhs: VsSeekerPokemonRewardsProto.OverrideIvRangeProto.OneOf_OverrideType, rhs: VsSeekerPokemonRewardsProto.OverrideIvRangeProto.OneOf_OverrideType) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.range, .range): return { - guard case .range(let l) = lhs, case .range(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.zero, .zero): return { - guard case .zero(let l) = lhs, case .zero(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} - } - - public struct PokemonUnlockProto { - // 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. - - public var rewardType: OneOf_RewardType? { - get {return _storage._rewardType} - set {_uniqueStorage()._rewardType = newValue} - } - - public var pokemon: PokemonEncounterRewardProto { - get { - if case .pokemon(let v)? = _storage._rewardType {return v} - return PokemonEncounterRewardProto() - } - set {_uniqueStorage()._rewardType = .pokemon(newValue)} - } - - public var limitedPokemonReward: LimitedEditionPokemonEncounterRewardProto { - get { - if case .limitedPokemonReward(let v)? = _storage._rewardType {return v} - return LimitedEditionPokemonEncounterRewardProto() - } - set {_uniqueStorage()._rewardType = .limitedPokemonReward(newValue)} - } - - public var guaranteedLimitedPokemonReward: LimitedEditionPokemonEncounterRewardProto { - get { - if case .guaranteedLimitedPokemonReward(let v)? = _storage._rewardType {return v} - return LimitedEditionPokemonEncounterRewardProto() - } - set {_uniqueStorage()._rewardType = .guaranteedLimitedPokemonReward(newValue)} - } - - public var unlockedAtRank: Int32 { - get {return _storage._unlockedAtRank} - set {_uniqueStorage()._unlockedAtRank = newValue} - } - - public var weight: Float { - get {return _storage._weight} - set {_uniqueStorage()._weight = newValue} - } - - public var attackIvOverride: VsSeekerPokemonRewardsProto.OverrideIvRangeProto { - get {return _storage._attackIvOverride ?? VsSeekerPokemonRewardsProto.OverrideIvRangeProto()} - set {_uniqueStorage()._attackIvOverride = newValue} - } - /// Returns true if `attackIvOverride` has been explicitly set. - public var hasAttackIvOverride: Bool {return _storage._attackIvOverride != nil} - /// Clears the value of `attackIvOverride`. Subsequent reads from it will return its default value. - public mutating func clearAttackIvOverride() {_uniqueStorage()._attackIvOverride = nil} - - public var defenseIvOverride: VsSeekerPokemonRewardsProto.OverrideIvRangeProto { - get {return _storage._defenseIvOverride ?? VsSeekerPokemonRewardsProto.OverrideIvRangeProto()} - set {_uniqueStorage()._defenseIvOverride = newValue} - } - /// Returns true if `defenseIvOverride` has been explicitly set. - public var hasDefenseIvOverride: Bool {return _storage._defenseIvOverride != nil} - /// Clears the value of `defenseIvOverride`. Subsequent reads from it will return its default value. - public mutating func clearDefenseIvOverride() {_uniqueStorage()._defenseIvOverride = nil} - - public var staminaIvOverride: VsSeekerPokemonRewardsProto.OverrideIvRangeProto { - get {return _storage._staminaIvOverride ?? VsSeekerPokemonRewardsProto.OverrideIvRangeProto()} - set {_uniqueStorage()._staminaIvOverride = newValue} - } - /// Returns true if `staminaIvOverride` has been explicitly set. - public var hasStaminaIvOverride: Bool {return _storage._staminaIvOverride != nil} - /// Clears the value of `staminaIvOverride`. Subsequent reads from it will return its default value. - public mutating func clearStaminaIvOverride() {_uniqueStorage()._staminaIvOverride = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_RewardType: Equatable { - case pokemon(PokemonEncounterRewardProto) - case limitedPokemonReward(LimitedEditionPokemonEncounterRewardProto) - case guaranteedLimitedPokemonReward(LimitedEditionPokemonEncounterRewardProto) - - #if !swift(>=4.1) - public static func ==(lhs: VsSeekerPokemonRewardsProto.PokemonUnlockProto.OneOf_RewardType, rhs: VsSeekerPokemonRewardsProto.PokemonUnlockProto.OneOf_RewardType) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.pokemon, .pokemon): return { - guard case .pokemon(let l) = lhs, case .pokemon(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.limitedPokemonReward, .limitedPokemonReward): return { - guard case .limitedPokemonReward(let l) = lhs, case .limitedPokemonReward(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.guaranteedLimitedPokemonReward, .guaranteedLimitedPokemonReward): return { - guard case .guaranteedLimitedPokemonReward(let l) = lhs, case .guaranteedLimitedPokemonReward(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} - - fileprivate var _storage = _StorageClass.defaultInstance - } - - public init() {} -} - -public struct VsSeekerRewardEncounterOutProto { - // 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. - - public var result: VsSeekerRewardEncounterOutProto.Result = .vsSeekerEncounterUnknown - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var captureProbability: CaptureProbabilityProto { - get {return _captureProbability ?? CaptureProbabilityProto()} - set {_captureProbability = newValue} - } - /// Returns true if `captureProbability` has been explicitly set. - public var hasCaptureProbability: Bool {return self._captureProbability != nil} - /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. - public mutating func clearCaptureProbability() {self._captureProbability = nil} - - public var activeItem: Item = .unknown - - public var encounterID: UInt64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case vsSeekerEncounterUnknown // = 0 - case vsSeekerEncounterSuccess // = 1 - case vsSeekerEncounterAlreadyFinished // = 2 - case errorPlayerNotEnoughVictories // = 3 - case errorPokemonInventoryFull // = 4 - case errorRedeemItem // = 5 - case UNRECOGNIZED(Int) - - public init() { - self = .vsSeekerEncounterUnknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .vsSeekerEncounterUnknown - case 1: self = .vsSeekerEncounterSuccess - case 2: self = .vsSeekerEncounterAlreadyFinished - case 3: self = .errorPlayerNotEnoughVictories - case 4: self = .errorPokemonInventoryFull - case 5: self = .errorRedeemItem - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .vsSeekerEncounterUnknown: return 0 - case .vsSeekerEncounterSuccess: return 1 - case .vsSeekerEncounterAlreadyFinished: return 2 - case .errorPlayerNotEnoughVictories: return 3 - case .errorPokemonInventoryFull: return 4 - case .errorRedeemItem: return 5 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _pokemon: PokemonProto? = nil - fileprivate var _captureProbability: CaptureProbabilityProto? = nil -} - -#if swift(>=4.2) - -extension VsSeekerRewardEncounterOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [VsSeekerRewardEncounterOutProto.Result] = [ - .vsSeekerEncounterUnknown, - .vsSeekerEncounterSuccess, - .vsSeekerEncounterAlreadyFinished, - .errorPlayerNotEnoughVictories, - .errorPokemonInventoryFull, - .errorRedeemItem, - ] -} - -#endif // swift(>=4.2) - -public struct VsSeekerRewardEncounterProto { - // 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. - - public var winIndex: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VsSeekerSetLogEntry { - // 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. - - public var result: VsSeekerSetLogEntry.Result = .unset - - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} - - public var newRank: Int32 = 0 - - public var newRating: Float = 0 - - public var previousRank: Int32 = 0 - - public var previousRating: Float = 0 - - public var numberOfWins: Int32 = 0 - - public var numberOfBattles: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _rewards: LootProto? = nil -} - -#if swift(>=4.2) - -extension VsSeekerSetLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [VsSeekerSetLogEntry.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct VsSeekerStartMatchmakingDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var obListInt32: [Int32] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VsSeekerStartMatchmakingOutProto { - // 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. - - public var result: VsSeekerStartMatchmakingOutProto.Result = .unset - - public var challenge: CombatChallengeProto { - get {return _challenge ?? CombatChallengeProto()} - set {_challenge = newValue} - } - /// Returns true if `challenge` has been explicitly set. - public var hasChallenge: Bool {return self._challenge != nil} - /// Clears the value of `challenge`. Subsequent reads from it will return its default value. - public mutating func clearChallenge() {self._challenge = nil} - - public var queueID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case successOpponentFound // = 1 - case successQueued // = 2 - case errorNoBattlePassesLeft // = 3 - case errorAlreadyInQueue // = 4 - case errorVsSeekerPlayerInWrongSeason // = 5 - case errorPlayerHasNoVsSeeker // = 6 - case errorAccessDenied // = 7 - case errorPokemonLineupIneligibleForLeague // = 8 - case errorVsSeekerNotActivated // = 9 - case errorTemporarilyUnavailable // = 10 - case errorExceededLimit // = 11 - case errorQueueTooFull // = 12 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .successOpponentFound - case 2: self = .successQueued - case 3: self = .errorNoBattlePassesLeft - case 4: self = .errorAlreadyInQueue - case 5: self = .errorVsSeekerPlayerInWrongSeason - case 6: self = .errorPlayerHasNoVsSeeker - case 7: self = .errorAccessDenied - case 8: self = .errorPokemonLineupIneligibleForLeague - case 9: self = .errorVsSeekerNotActivated - case 10: self = .errorTemporarilyUnavailable - case 11: self = .errorExceededLimit - case 12: self = .errorQueueTooFull - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .successOpponentFound: return 1 - case .successQueued: return 2 - case .errorNoBattlePassesLeft: return 3 - case .errorAlreadyInQueue: return 4 - case .errorVsSeekerPlayerInWrongSeason: return 5 - case .errorPlayerHasNoVsSeeker: return 6 - case .errorAccessDenied: return 7 - case .errorPokemonLineupIneligibleForLeague: return 8 - case .errorVsSeekerNotActivated: return 9 - case .errorTemporarilyUnavailable: return 10 - case .errorExceededLimit: return 11 - case .errorQueueTooFull: return 12 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _challenge: CombatChallengeProto? = nil -} - -#if swift(>=4.2) - -extension VsSeekerStartMatchmakingOutProto.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [VsSeekerStartMatchmakingOutProto.Result] = [ - .unset, - .successOpponentFound, - .successQueued, - .errorNoBattlePassesLeft, - .errorAlreadyInQueue, - .errorVsSeekerPlayerInWrongSeason, - .errorPlayerHasNoVsSeeker, - .errorAccessDenied, - .errorPokemonLineupIneligibleForLeague, - .errorVsSeekerNotActivated, - .errorTemporarilyUnavailable, - .errorExceededLimit, - .errorQueueTooFull, - ] -} - -#endif // swift(>=4.2) - -public struct VsSeekerStartMatchmakingProto { - // 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. - - public var combatLeagueTemplateID: String = String() - - public var attackingPokemonID: [UInt64] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct VsSeekerStartMatchmakingResponseDataProto { - // 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. - - public var obInt32: Int32 = 0 - - public var obUint32: UInt32 = 0 - - public var result: VsSeekerStartMatchmakingOutProto.Result = .unset - - public var challenge: ObCommunCombatChallengeDataProto { - get {return _challenge ?? ObCommunCombatChallengeDataProto()} - set {_challenge = newValue} - } - /// Returns true if `challenge` has been explicitly set. - public var hasChallenge: Bool {return self._challenge != nil} - /// Clears the value of `challenge`. Subsequent reads from it will return its default value. - public mutating func clearChallenge() {self._challenge = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _challenge: ObCommunCombatChallengeDataProto? = nil -} - -public struct VsSeekerWinRewardsLogEntry { - // 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. - - public var result: VsSeekerWinRewardsLogEntry.Result = .unset - - public var rewards: LootProto { - get {return _rewards ?? LootProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} - - public var rank: Int32 = 0 - - public var winNumber: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _rewards: LootProto? = nil -} - -#if swift(>=4.2) - -extension VsSeekerWinRewardsLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [VsSeekerWinRewardsLogEntry.Result] = [ - .unset, - .success, - ] -} - -#endif // swift(>=4.2) - -public struct WainaGetRewardsRequest { - // 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. - - public var sleepDay: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WainaGetRewardsResponse { - // 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. - - public var status: WainaGetRewardsResponse.Status = .unset - - public var lootProto: LootProto { - get {return _lootProto ?? LootProto()} - set {_lootProto = newValue} - } - /// Returns true if `lootProto` has been explicitly set. - public var hasLootProto: Bool {return self._lootProto != nil} - /// Clears the value of `lootProto`. Subsequent reads from it will return its default value. - public mutating func clearLootProto() {self._lootProto = nil} - - public var rewardTierSec: UInt32 = 0 - - public var buddyBonusHeart: UInt32 = 0 - - public var buddy: PokemonProto { - get {return _buddy ?? PokemonProto()} - set {_buddy = newValue} - } - /// Returns true if `buddy` has been explicitly set. - public var hasBuddy: Bool {return self._buddy != nil} - /// Clears the value of `buddy`. Subsequent reads from it will return its default value. - public mutating func clearBuddy() {self._buddy = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case errorAlreadyRewarded // = 3 - case errorSleepRecordsNotAfterTimestamp // = 4 - case errorMissingSleepRecord // = 5 - case errorNotification // = 6 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - case 3: self = .errorAlreadyRewarded - case 4: self = .errorSleepRecordsNotAfterTimestamp - case 5: self = .errorMissingSleepRecord - case 6: self = .errorNotification - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .errorAlreadyRewarded: return 3 - case .errorSleepRecordsNotAfterTimestamp: return 4 - case .errorMissingSleepRecord: return 5 - case .errorNotification: return 6 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _lootProto: LootProto? = nil - fileprivate var _buddy: PokemonProto? = nil -} - -#if swift(>=4.2) - -extension WainaGetRewardsResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [WainaGetRewardsResponse.Status] = [ - .unset, - .success, - .error, - .errorAlreadyRewarded, - .errorSleepRecordsNotAfterTimestamp, - .errorMissingSleepRecord, - .errorNotification, - ] -} - -#endif // swift(>=4.2) - -public struct WainaPreferences { - // 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. - - public var ball: Item = .unknown - - public var autocatch: Bool = false - - public var autospin: Bool = false - - public var notifySpin: Bool = false - - public var notifyCatch: Bool = false - - public var notifyPush: Bool = false - - public var alwaysAdvertise: Bool = false - - public var sleepTracking: Bool = false - - public var sleepRewardTimeSec: Int32 = 0 - - public var voiceEffect: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WainaSubmitSleepDataRequest { - // 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. - - public var sleepRecord: [ClientSleepRecord] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WainaSubmitSleepDataResponse { - // 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. - - public var status: WainaSubmitSleepDataResponse.Status = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Status: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case error // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .error - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .error: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension WainaSubmitSleepDataResponse.Status: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [WainaSubmitSleepDataResponse.Status] = [ - .unset, - .success, - .error, - ] -} - -#endif // swift(>=4.2) - -public struct WallabySettingsProto { - // 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. - - public var enable: Bool = false - - public var activityLengthS: Float = 0 - - public var testMask: UInt32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WayfarerOnboardingFlowTelemetry { - // 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. - - public var eventType: WayfarerOnboardingFlowTelemetry.EventType = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum EventType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case enterWayfarerWebsite // = 1 - case deferWayfarerOnboarding // = 2 - case simplifiedOnboardingOk // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .enterWayfarerWebsite - case 2: self = .deferWayfarerOnboarding - case 3: self = .simplifiedOnboardingOk - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .enterWayfarerWebsite: return 1 - case .deferWayfarerOnboarding: return 2 - case .simplifiedOnboardingOk: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension WayfarerOnboardingFlowTelemetry.EventType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [WayfarerOnboardingFlowTelemetry.EventType] = [ - .unset, - .enterWayfarerWebsite, - .deferWayfarerOnboarding, - .simplifiedOnboardingOk, - ] -} - -#endif // swift(>=4.2) - -public struct WayspotAnchorStateChangeEvent { - // 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. - - public var anchorID: String = String() - - public var anchorState: String = String() - - public var action: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WayspotEditTelemetry { - // 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. - - public var wayspotEditTelemetryID: WayspotEditTelemetry.WayspotEditEventId = .unknown - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum WayspotEditEventId: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unknown // = 0 - case editImageUploadNow // = 1 - case editImageUploadLater // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unknown - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unknown - case 1: self = .editImageUploadNow - case 2: self = .editImageUploadLater - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unknown: return 0 - case .editImageUploadNow: return 1 - case .editImageUploadLater: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension WayspotEditTelemetry.WayspotEditEventId: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [WayspotEditTelemetry.WayspotEditEventId] = [ - .unknown, - .editImageUploadNow, - .editImageUploadLater, - ] -} - -#endif // swift(>=4.2) - -public struct WeatherAffinityProto { - // 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. - - public var weatherCondition: GameplayWeatherProto.WeatherCondition = .none - - public var pokemonType: [HoloPokemonType] = [] - - public var weaknessPokemonType: [HoloPokemonType] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WeatherAlertProto { - // 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. - - public var severity: WeatherAlertProto.Severity = .none - - public var warnWeather: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Severity: SwiftProtobuf.Enum { - public typealias RawValue = Int - case none // = 0 - case moderate // = 1 - case extreme // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .none - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .none - case 1: self = .moderate - case 2: self = .extreme - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .none: return 0 - case .moderate: return 1 - case .extreme: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension WeatherAlertProto.Severity: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [WeatherAlertProto.Severity] = [ - .none, - .moderate, - .extreme, - ] -} - -#endif // swift(>=4.2) - -public struct WeatherAlertSettingsProto { - // 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. - - public var warnWeather: Bool = false - - public var defaultSeverity: WeatherAlertProto.Severity = .none - - public var ignores: [WeatherAlertSettingsProto.AlertIgnoreSettings] = [] - - public var enforces: [WeatherAlertSettingsProto.AlertEnforceSettings] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct AlertEnforceSettings { - // 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. - - public var countryCode: String = String() - - public var when: WeatherAlertSettingsProto.AlertEnforceSettings.EnforceCondition { - get {return _when ?? WeatherAlertSettingsProto.AlertEnforceSettings.EnforceCondition()} - set {_when = newValue} - } - /// Returns true if `when` has been explicitly set. - public var hasWhen: Bool {return self._when != nil} - /// Clears the value of `when`. Subsequent reads from it will return its default value. - public mutating func clearWhen() {self._when = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct EnforceCondition { - // 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. - - public var color: [String] = [] - - public var type: [String] = [] - - public var category: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _when: WeatherAlertSettingsProto.AlertEnforceSettings.EnforceCondition? = nil - } - - public struct AlertIgnoreSettings { - // 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. - - public var countryCode: String = String() - - public var when: WeatherAlertSettingsProto.AlertIgnoreSettings.OverrideCondition { - get {return _when ?? WeatherAlertSettingsProto.AlertIgnoreSettings.OverrideCondition()} - set {_when = newValue} - } - /// Returns true if `when` has been explicitly set. - public var hasWhen: Bool {return self._when != nil} - /// Clears the value of `when`. Subsequent reads from it will return its default value. - public mutating func clearWhen() {self._when = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct OverrideCondition { - // 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. - - public var color: [String] = [] - - public var type: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _when: WeatherAlertSettingsProto.AlertIgnoreSettings.OverrideCondition? = nil - } - - public init() {} -} - -public struct WeatherBonusProto { - // 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. - - public var cpBaseLevelBonus: Int32 = 0 - - public var guaranteedIndividualValues: Int32 = 0 - - public var stardustBonusMultiplier: Double = 0 - - public var attackBonusMultiplier: Double = 0 - - public var raidEncounterCpBaseLevelBonus: Int32 = 0 - - public var raidEncounterGuaranteedIndividualValues: Int32 = 0 - - public var buddyEmotionFavoriteWeatherIncrement: Int32 = 0 - - public var buddyEmotionDislikeWeatherDecrement: Int32 = 0 - - public var obInt32: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WeatherDetailClickTelemetry { - // 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. - - public var gameplayWeatherType: String = String() - - public var alertActive: Bool = false - - public var severity: WeatherAlertProto.Severity = .none - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WeatherSettingsProto { - // 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. - - public var gameplaySettings: WeatherSettingsProto.GameplayWeatherSettingsProto { - get {return _gameplaySettings ?? WeatherSettingsProto.GameplayWeatherSettingsProto()} - set {_gameplaySettings = newValue} - } - /// Returns true if `gameplaySettings` has been explicitly set. - public var hasGameplaySettings: Bool {return self._gameplaySettings != nil} - /// Clears the value of `gameplaySettings`. Subsequent reads from it will return its default value. - public mutating func clearGameplaySettings() {self._gameplaySettings = nil} - - public var displaySettings: WeatherSettingsProto.DisplayWeatherSettingsProto { - get {return _displaySettings ?? WeatherSettingsProto.DisplayWeatherSettingsProto()} - set {_displaySettings = newValue} - } - /// Returns true if `displaySettings` has been explicitly set. - public var hasDisplaySettings: Bool {return self._displaySettings != nil} - /// Clears the value of `displaySettings`. Subsequent reads from it will return its default value. - public mutating func clearDisplaySettings() {self._displaySettings = nil} - - public var alertSettings: WeatherAlertSettingsProto { - get {return _alertSettings ?? WeatherAlertSettingsProto()} - set {_alertSettings = newValue} - } - /// Returns true if `alertSettings` has been explicitly set. - public var hasAlertSettings: Bool {return self._alertSettings != nil} - /// Clears the value of `alertSettings`. Subsequent reads from it will return its default value. - public mutating func clearAlertSettings() {self._alertSettings = nil} - - public var staleSettings: WeatherSettingsProto.StaleWeatherSettingsProto { - get {return _staleSettings ?? WeatherSettingsProto.StaleWeatherSettingsProto()} - set {_staleSettings = newValue} - } - /// Returns true if `staleSettings` has been explicitly set. - public var hasStaleSettings: Bool {return self._staleSettings != nil} - /// Clears the value of `staleSettings`. Subsequent reads from it will return its default value. - public mutating func clearStaleSettings() {self._staleSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct DisplayWeatherSettingsProto { - // 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. - - public var displayLevelSettings: [WeatherSettingsProto.DisplayWeatherSettingsProto.DisplayLevelSettings] = [] - - public var windLevelSettings: WeatherSettingsProto.DisplayWeatherSettingsProto.WindLevelSettings { - get {return _windLevelSettings ?? WeatherSettingsProto.DisplayWeatherSettingsProto.WindLevelSettings()} - set {_windLevelSettings = newValue} - } - /// Returns true if `windLevelSettings` has been explicitly set. - public var hasWindLevelSettings: Bool {return self._windLevelSettings != nil} - /// Clears the value of `windLevelSettings`. Subsequent reads from it will return its default value. - public mutating func clearWindLevelSettings() {self._windLevelSettings = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct DisplayLevelSettings { - // 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. - - public var conditionEnums: [String] = [] - - public var cloudLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var rainLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var snowLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var fogLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var specialEffectLevel: DisplayWeatherProto.DisplayLevel = .level0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct WindLevelSettings { - // 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. - - public var windLevel1Speed: Int32 = 0 - - public var windLevel2Speed: Int32 = 0 - - public var windLevel3Speed: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _windLevelSettings: WeatherSettingsProto.DisplayWeatherSettingsProto.WindLevelSettings? = nil - } - - public struct GameplayWeatherSettingsProto { - // 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. - - public var conditionMap: [WeatherSettingsProto.GameplayWeatherSettingsProto.ConditionMapSettings] = [] - - public var minSpeedForWindy: Int32 = 0 - - public var conditionsForWindy: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct ConditionMapSettings { - // 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. - - public var gameplayCondition: GameplayWeatherProto.WeatherCondition = .none - - public var providerEnums: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - } - - public struct StaleWeatherSettingsProto { - // 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. - - public var maxStaleWeatherThresholdInHrs: Int32 = 0 - - public var defaultWeatherConditionCode: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public init() {} - - fileprivate var _gameplaySettings: WeatherSettingsProto.GameplayWeatherSettingsProto? = nil - fileprivate var _displaySettings: WeatherSettingsProto.DisplayWeatherSettingsProto? = nil - fileprivate var _alertSettings: WeatherAlertSettingsProto? = nil - fileprivate var _staleSettings: WeatherSettingsProto.StaleWeatherSettingsProto? = nil -} - -public struct WebSocketResponseDataProto { - // 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. - - public var obCommunWebCombatState: ObCommunWebCombatStateProto { - get {return _obCommunWebCombatState ?? ObCommunWebCombatStateProto()} - set {_obCommunWebCombatState = newValue} - } - /// Returns true if `obCommunWebCombatState` has been explicitly set. - public var hasObCommunWebCombatState: Bool {return self._obCommunWebCombatState != nil} - /// Clears the value of `obCommunWebCombatState`. Subsequent reads from it will return its default value. - public mutating func clearObCommunWebCombatState() {self._obCommunWebCombatState = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _obCommunWebCombatState: ObCommunWebCombatStateProto? = nil -} - -public struct WebTelemetry { - // 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. - - public var webClickIds: WebTelemetryIds = .undefinedWebEvent - - public var url: String = String() - - public var fortID: String = String() - - public var partnerID: String = String() - - public var campaignID: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WebstoreRewardsLogEntry { - // 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. - - public var result: WebstoreRewardsLogEntry.Result = .unset - - public var name: String = String() - - public var imageURL: String = String() - - public var rewards: RedeemPasscodeRewardProto { - get {return _rewards ?? RedeemPasscodeRewardProto()} - set {_rewards = newValue} - } - /// Returns true if `rewards` has been explicitly set. - public var hasRewards: Bool {return self._rewards != nil} - /// Clears the value of `rewards`. Subsequent reads from it will return its default value. - public mutating func clearRewards() {self._rewards = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Result: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case success // = 1 - case failure // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .success - case 2: self = .failure - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .success: return 1 - case .failure: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} - - fileprivate var _rewards: RedeemPasscodeRewardProto? = nil -} - -#if swift(>=4.2) - -extension WebstoreRewardsLogEntry.Result: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [WebstoreRewardsLogEntry.Result] = [ - .unset, - .success, - .failure, - ] -} - -#endif // swift(>=4.2) - -public struct WidgetsProto { - // 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. - - public var widgets: [WidgetsProto.WidgetType] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum WidgetType: SwiftProtobuf.Enum { - public typealias RawValue = Int - case unset // = 0 - case eggIncubators // = 1 - case buddyStats // = 2 - case activitySummary // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .unset - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .unset - case 1: self = .eggIncubators - case 2: self = .buddyStats - case 3: self = .activitySummary - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .unset: return 0 - case .eggIncubators: return 1 - case .buddyStats: return 2 - case .activitySummary: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - } - - public init() {} -} - -#if swift(>=4.2) - -extension WidgetsProto.WidgetType: CaseIterable { - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static var allCases: [WidgetsProto.WidgetType] = [ - .unset, - .eggIncubators, - .buddyStats, - .activitySummary, - ] -} - -#endif // swift(>=4.2) - -public struct WildCreateDetail { - // 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. - - public var caughtInWild: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WildPokemonProto { - // 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. - - public var encounterID: UInt64 = 0 - - public var lastModifiedMs: Int64 = 0 - - public var latitude: Double = 0 - - public var longitude: Double = 0 - - public var spawnPointID: String = String() - - public var pokemon: PokemonProto { - get {return _pokemon ?? PokemonProto()} - set {_pokemon = newValue} - } - /// Returns true if `pokemon` has been explicitly set. - public var hasPokemon: Bool {return self._pokemon != nil} - /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. - public mutating func clearPokemon() {self._pokemon = nil} - - public var timeTillHiddenMs: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - - fileprivate var _pokemon: PokemonProto? = nil -} - -public struct WithBadgeTypeProto { - // 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. - - public var badgeType: [HoloBadgeType] = [] - - public var badgeRank: Int32 = 0 - - public var amount: Int32 = 0 - - public var badgeTypesToExclude: [HoloBadgeType] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithBuddyProto { - // 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. - - public var minBuddyLevel: BuddyLevel = .unset - - public var mustBeOnMap: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithCombatTypeProto { - // 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. - - public var combatType: [CombatType] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithCurveBallProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithDailyBuddyAffectionProto { - // 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. - - public var minBuddyAffectionEarnedToday: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithDailyCaptureBonusProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithDailySpinBonusProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithDeviceTypeProto { - // 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. - - public var deviceType: [DeviceType] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithDistanceProto { - // 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. - - public var distanceKm: Double = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithElapsedTimeProto { - // 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. - - public var elapsedTimeMs: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithEncounterTypeProto { - // 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. - - public var encounterType: [EncounterType] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithFriendLevelProto { - // 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. - - public var friendshipLevelMilestone: [FriendshipLevelMilestone] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithFriendsRaidProto { - // 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. - - public var friendLocation: RaidLocationRequirement = .raidLocationRequerimentBoth - - public var minFriendsInRaid: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithGblRankProto { - // 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. - - public var rank: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithInPartyProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithInvasionCharacterProto { - // 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. - - public var category: [EnumWrapper.CharacterCategory] = [] - - public var invasionCharacter: [EnumWrapper.InvasionCharacter] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithItemProto { - // 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. - - public var item: Item = .unknown - - public var items: [Item] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithItemTypeProto { - // 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. - - public var itemType: [HoloItemType] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithLocationProto { - // 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. - - public var s2CellID: [Int64] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithMaxCpProto { - // 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. - - public var maxCp: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithNpcCombatProto { - // 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. - - public var requiresWin: Bool = false - - public var combatNpcTrainerID: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPlayerLevelProto { - // 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. - - public var level: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPokemonAlignmentProto { - // 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. - - public var alignment: [PokemonDisplayProto.Alignment] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPokemonCategoryProto { - // 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. - - public var categoryName: String = String() - - public var pokemonIds: [HoloPokemonId] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPokemonCostumeProto { - // 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. - - public var requireNoCostume: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPokemonCpLimitProto { - // 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. - - public var minCp: Int32 = 0 - - public var maxCp: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPokemonCpProto { - // 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. - - public var maxCp: Int32 = 0 - - public var minCp: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPokemonLevelProto { - // 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. - - public var maxLevel: Bool = false - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPokemonSizeProto { - // 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. - - public var pokemonSize: [HoloPokemonSize] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPokemonTypeProto { - // 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. - - public var pokemonType: [HoloPokemonType] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithPvpCombatProto { - // 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. - - public var requiresWin: Bool = false - - public var combatLeagueTemplateID: [String] = [] - - public var combatLeagueBadge: HoloBadgeType = .badgeUnset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithQuestContextProto { - // 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. - - public var context: QuestProto.Context = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithRaidLevelProto { - // 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. - - public var raidLevel: [RaidLevel] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithRaidLocationProto { - // 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. - - public var location: RaidLocationRequirement = .raidLocationRequerimentBoth - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithRouteTravelProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithSingleDayProto { - // 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. - - public var lastWindow: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithSuperEffectiveChargeMoveProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithTappableTypeProto { - // 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. - - public var tappableType: Tappable.TappableType = .unset - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithTempEvoIdProto { - // 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. - - public var megaForm: [HoloTemporaryEvolutionId] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithThrowTypeProto { - // 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. - - public var `throw`: WithThrowTypeProto.OneOf_Throw? = nil - - public var throwType: HoloActivityType { - get { - if case .throwType(let v)? = `throw` {return v} - return .activityUnknown - } - set {`throw` = .throwType(newValue)} - } - - public var hit: Bool { - get { - if case .hit(let v)? = `throw` {return v} - return false - } - set {`throw` = .hit(newValue)} - } - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum OneOf_Throw: Equatable { - case throwType(HoloActivityType) - case hit(Bool) - - #if !swift(>=4.1) - public static func ==(lhs: WithThrowTypeProto.OneOf_Throw, rhs: WithThrowTypeProto.OneOf_Throw) -> Bool { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch (lhs, rhs) { - case (.throwType, .throwType): return { - guard case .throwType(let l) = lhs, case .throwType(let r) = rhs else { preconditionFailure() } - return l == r - }() - case (.hit, .hit): return { - guard case .hit(let l) = lhs, case .hit(let r) = rhs else { preconditionFailure() } - return l == r - }() - default: return false - } - } - #endif - } - - public init() {} -} - -public struct WithTotalDaysProto { - // 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. - - public var lastWindow: Int32 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithUniquePokemonProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithUniquePokestopProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithUniqueRouteTravelProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithWeatherBoostProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithWinBattleStatusProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithWinGymBattleStatusProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct WithWinRaidStatusProto { - // 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. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -public struct ZoneProto { - // 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. - - public var obString: String = String() - - public var zoneType: ZoneType = .unsetZone - - public var obInt64: Int64 = 0 - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} -} - -#if swift(>=5.5) && canImport(_Concurrency) -extension ASPermissionStatusTelemetryIds: @unchecked Sendable {} -extension ASPermissionTelemetryIds: @unchecked Sendable {} -extension ASServiceTelemetryIds: @unchecked Sendable {} -extension AdResponseStatus: @unchecked Sendable {} -extension AdType: @unchecked Sendable {} -extension AssetTelemetryIds: @unchecked Sendable {} -extension AttractedPokemonContext: @unchecked Sendable {} -extension AvatarCustomizationTelemetryIds: @unchecked Sendable {} -extension AvatarGender: @unchecked Sendable {} -extension BattleExperiment: @unchecked Sendable {} -extension BattleHubSection: @unchecked Sendable {} -extension BattleHubSubsection: @unchecked Sendable {} -extension BattlePartyTelemetryIds: @unchecked Sendable {} -extension BuddyActivity: @unchecked Sendable {} -extension BuddyActivityCategory: @unchecked Sendable {} -extension BuddyAnimation: @unchecked Sendable {} -extension BuddyEmotionLevel: @unchecked Sendable {} -extension BuddyLevel: @unchecked Sendable {} -extension CameraInterpolation: @unchecked Sendable {} -extension CameraTarget: @unchecked Sendable {} -extension ClientAction: @unchecked Sendable {} -extension ClientOperatingSystem: @unchecked Sendable {} -extension CombatHubEntranceTelemetryIds: @unchecked Sendable {} -extension CombatPlayerFinishState: @unchecked Sendable {} -extension CombatRefactorToggleProto: @unchecked Sendable {} -extension CombatRewardStatus: @unchecked Sendable {} -extension CombatType: @unchecked Sendable {} -extension ContestEntrysProto: @unchecked Sendable {} -extension ContestOccurrence: @unchecked Sendable {} -extension ContestPokemonMetric: @unchecked Sendable {} -extension ContestRankingStandard: @unchecked Sendable {} -extension ContestScoreComponentType: @unchecked Sendable {} -extension DeviceServiceTelemetryIds: @unchecked Sendable {} -extension DeviceType: @unchecked Sendable {} -extension EggIncubatorType: @unchecked Sendable {} -extension EggSlotType: @unchecked Sendable {} -extension EncounterType: @unchecked Sendable {} -extension EventTypeStatus: @unchecked Sendable {} -extension FeatureKind: @unchecked Sendable {} -extension FortPowerUpLevel: @unchecked Sendable {} -extension FortPowerUpLevelReward: @unchecked Sendable {} -extension FortType: @unchecked Sendable {} -extension FriendshipLevelMilestone: @unchecked Sendable {} -extension GameAction: @unchecked Sendable {} -extension GameActionClient: @unchecked Sendable {} -extension GameAdventureSyncAction: @unchecked Sendable {} -extension GameFitnessAction: @unchecked Sendable {} -extension GameOthersAction: @unchecked Sendable {} -extension GenericClickTelemetryIds: @unchecked Sendable {} -extension GeodataType: @unchecked Sendable {} -extension GymBadgeType: @unchecked Sendable {} -extension HoloActivityType: @unchecked Sendable {} -extension HoloBadgeType: @unchecked Sendable {} -extension HoloIapItemCategory: @unchecked Sendable {} -extension HoloItemCategory: @unchecked Sendable {} -extension HoloItemEffect: @unchecked Sendable {} -extension HoloItemType: @unchecked Sendable {} -extension HoloPokemonClass: @unchecked Sendable {} -extension HoloPokemonEggType: @unchecked Sendable {} -extension HoloPokemonFamilyId: @unchecked Sendable {} -extension HoloPokemonId: @unchecked Sendable {} -extension HoloPokemonMove: @unchecked Sendable {} -extension HoloPokemonMovementType: @unchecked Sendable {} -extension HoloPokemonNature: @unchecked Sendable {} -extension HoloPokemonSize: @unchecked Sendable {} -extension HoloPokemonType: @unchecked Sendable {} -extension HoloTemporaryEvolutionId: @unchecked Sendable {} -extension IapLibraryVersion: @unchecked Sendable {} -extension IdentityProvider: @unchecked Sendable {} -extension IncidentDisplayType: @unchecked Sendable {} -extension InvasionTelemetryIds: @unchecked Sendable {} -extension InventoryUpgradeType: @unchecked Sendable {} -extension InvitationType: @unchecked Sendable {} -extension Item: @unchecked Sendable {} -extension ItemUseTelemetryIds: @unchecked Sendable {} -extension LayerKind: @unchecked Sendable {} -extension LocationCard: @unchecked Sendable {} -extension LoginActionTelemetryIds: @unchecked Sendable {} -extension MapEventsTelemetryIds: @unchecked Sendable {} -extension MapLayer: @unchecked Sendable {} -extension MementoType: @unchecked Sendable {} -extension Method: @unchecked Sendable {} -extension NMAMethod: @unchecked Sendable {} -extension NMAOnboardingCompletion: @unchecked Sendable {} -extension NMARole: @unchecked Sendable {} -extension NewsPageTelemetryIds: @unchecked Sendable {} -extension NominationType: @unchecked Sendable {} -extension NotificationState: @unchecked Sendable {} -extension NullValue: @unchecked Sendable {} -extension ObPogoProtoDataEnum: @unchecked Sendable {} -extension ObSuggestionsEntry: @unchecked Sendable {} -extension OnboardingArStatus: @unchecked Sendable {} -extension OnboardingEventIds: @unchecked Sendable {} -extension OnboardingPathIds: @unchecked Sendable {} -extension PartyQuestStatus: @unchecked Sendable {} -extension PartyStatus: @unchecked Sendable {} -extension PathType: @unchecked Sendable {} -extension PermissionContextTelemetryIds: @unchecked Sendable {} -extension PermissionFlowStepTelemetryIds: @unchecked Sendable {} -extension PermissionType: @unchecked Sendable {} -extension Platform: @unchecked Sendable {} -extension PlayerAvatarType: @unchecked Sendable {} -extension PlayerSubmissionAction: @unchecked Sendable {} -extension PlayerSubmissionTypeProto: @unchecked Sendable {} -extension PoiImageType: @unchecked Sendable {} -extension PoiInvalidReason: @unchecked Sendable {} -extension PokecoinCapResetFrequency: @unchecked Sendable {} -extension PokecoinSource: @unchecked Sendable {} -extension PokedexCategory: @unchecked Sendable {} -extension PokedexGenerationId: @unchecked Sendable {} -extension PokemonBadge: @unchecked Sendable {} -extension PokemonCreateContext: @unchecked Sendable {} -extension PokemonGoPlusIds: @unchecked Sendable {} -extension PokemonHomeTelemetryIds: @unchecked Sendable {} -extension PokemonInventoryTelemetryIds: @unchecked Sendable {} -extension PokemonTagColor: @unchecked Sendable {} -extension PostcardSource: @unchecked Sendable {} -extension ProfilePageTelemetryIds: @unchecked Sendable {} -extension PushGatewayTelemetryIds: @unchecked Sendable {} -extension PushNotificationTelemetryIds: @unchecked Sendable {} -extension QuestType: @unchecked Sendable {} -extension RaidLevel: @unchecked Sendable {} -extension RaidLocationRequirement: @unchecked Sendable {} -extension RaidPlaquePipStyle: @unchecked Sendable {} -extension RaidTelemetryIds: @unchecked Sendable {} -extension RaidVisualType: @unchecked Sendable {} -extension ReferralRole: @unchecked Sendable {} -extension ReferralTelemetryIds: @unchecked Sendable {} -extension ReferralTelemetrySource: @unchecked Sendable {} -extension RemoteRaidInviteAcceptSource: @unchecked Sendable {} -extension RemoteRaidJoinSource: @unchecked Sendable {} -extension RemoteRaidTelemetryIds: @unchecked Sendable {} -extension RouteDiscoveryTelemetryIds: @unchecked Sendable {} -extension RouteErrorTelemetryIds: @unchecked Sendable {} -extension RouteType: @unchecked Sendable {} -extension ScanTag: @unchecked Sendable {} -extension ShareExRaidPassResult: @unchecked Sendable {} -extension ShoppingPageScrollIds: @unchecked Sendable {} -extension ShoppingPageTelemetryIds: @unchecked Sendable {} -extension ShoppingPageTelemetrySource: @unchecked Sendable {} -extension SocialAction: @unchecked Sendable {} -extension SocialTelemetryIds: @unchecked Sendable {} -extension SouvenirTypeId: @unchecked Sendable {} -extension SponsorPoiInvalidReason: @unchecked Sendable {} -extension StatModifierType: @unchecked Sendable {} -extension Store: @unchecked Sendable {} -extension SuggestionsEvents: @unchecked Sendable {} -extension Syntax: @unchecked Sendable {} -extension Team: @unchecked Sendable {} -extension TrainerAbility: @unchecked Sendable {} -extension TutorialCompletion: @unchecked Sendable {} -extension TweenAction: @unchecked Sendable {} -extension UserType: @unchecked Sendable {} -extension VivillonRegion: @unchecked Sendable {} -extension VpsEventType: @unchecked Sendable {} -extension VsEffectTag: @unchecked Sendable {} -extension VsSeekerRewardTrack: @unchecked Sendable {} -extension WarningType: @unchecked Sendable {} -extension WebTelemetryIds: @unchecked Sendable {} -extension ZoneType: @unchecked Sendable {} -extension ARBuddyMultiplayerSessionTelemetry: @unchecked Sendable {} -extension ARClientEnvelope: @unchecked Sendable {} -extension ARClientEnvelope.AgeLevel: @unchecked Sendable {} -extension ARCommonMetadata: @unchecked Sendable {} -extension ARDKTelemetryOmniProto: @unchecked Sendable {} -extension ARDKTelemetryOmniProto.OneOf_TelemetryEvent: @unchecked Sendable {} -extension ARPlusEncounterValuesProto: @unchecked Sendable {} -extension ARSessionEvent: @unchecked Sendable {} -extension ARSessionEvent.State: @unchecked Sendable {} -extension ASPermissionFlowTelemetry: @unchecked Sendable {} -extension AbilityEnergyMetadata: @unchecked Sendable {} -extension AbilityEnergyMetadata.ChargeType: @unchecked Sendable {} -extension AbilityEnergyMetadata.ChargeMultiplier: @unchecked Sendable {} -extension AbilityEnergyMetadata.ChargeRateSetting: @unchecked Sendable {} -extension AbilityLookupMap: @unchecked Sendable {} -extension AbilityLookupMap.AbilityLookupLocation: @unchecked Sendable {} -extension AcceptCombatChallengeDataProto: @unchecked Sendable {} -extension AcceptCombatChallengeOutProto: @unchecked Sendable {} -extension AcceptCombatChallengeOutProto.Result: @unchecked Sendable {} -extension AcceptCombatChallengeProto: @unchecked Sendable {} -extension AcceptCombatChallengeResponseDataProto: @unchecked Sendable {} -extension AcceptFriendInviteOutProto: @unchecked Sendable {} -extension AcceptFriendInviteOutProto.Result: @unchecked Sendable {} -extension AcceptFriendInviteProto: @unchecked Sendable {} -extension AccountContactSettings: @unchecked Sendable {} -extension AccountContactSettings.ConsentStatus: @unchecked Sendable {} -extension AccountDeletionInitiatedTelemetry: @unchecked Sendable {} -extension AccountSettingsDataProto: @unchecked Sendable {} -extension AccountSettingsDataProto.Consent: @unchecked Sendable {} -extension AccountSettingsDataProto.Consent.Status: @unchecked Sendable {} -extension AccountSettingsDataProto.GameSettings: @unchecked Sendable {} -extension AccountSettingsDataProto.Onboarded: @unchecked Sendable {} -extension AccountSettingsDataProto.Onboarded.Status: @unchecked Sendable {} -extension AccountSettingsDataProto.Visibility: @unchecked Sendable {} -extension AccountSettingsDataProto.Visibility.Status: @unchecked Sendable {} -extension AccountSettingsProto: @unchecked Sendable {} -extension AcknowledgePunishmentOutProto: @unchecked Sendable {} -extension AcknowledgePunishmentOutProto.Result: @unchecked Sendable {} -extension AcknowledgePunishmentProto: @unchecked Sendable {} -extension AcknowledgeWarningsRequestProto: @unchecked Sendable {} -extension AcknowledgeWarningsResponseProto: @unchecked Sendable {} -extension ActionExecution: @unchecked Sendable {} -extension ActionExecution.ExecutionMethod: @unchecked Sendable {} -extension ActionLogEntry: @unchecked Sendable {} -extension ActionLogEntry.OneOf_Action: @unchecked Sendable {} -extension ActivateVsSeekerOutProto: @unchecked Sendable {} -extension ActivateVsSeekerOutProto.Result: @unchecked Sendable {} -extension ActivateVsSeekerProto: @unchecked Sendable {} -extension ActivityPostcardData: @unchecked Sendable {} -extension ActivityPostcardData.BuddyData: @unchecked Sendable {} -extension ActivityPostcardData.FortData: @unchecked Sendable {} -extension ActivityReportProto: @unchecked Sendable {} -extension ActivityReportProto.FriendProto: @unchecked Sendable {} -extension AdDetails: @unchecked Sendable {} -extension AdFeedbackSettingsProto: @unchecked Sendable {} -extension AdProto: @unchecked Sendable {} -extension AdRequestDeviceInfo: @unchecked Sendable {} -extension AdRequestDeviceInfo.OperatingSystem: @unchecked Sendable {} -extension AdTargetingInfoProto: @unchecked Sendable {} -extension AddFavoriteFriendRequest: @unchecked Sendable {} -extension AddFavoriteFriendResponse: @unchecked Sendable {} -extension AddFavoriteFriendResponse.Result: @unchecked Sendable {} -extension AddFortModifierOutProto: @unchecked Sendable {} -extension AddFortModifierOutProto.Result: @unchecked Sendable {} -extension AddFortModifierProto: @unchecked Sendable {} -extension AddFriendQuestProto: @unchecked Sendable {} -extension AddLoginActionOutProto: @unchecked Sendable {} -extension AddLoginActionOutProto.Status: @unchecked Sendable {} -extension AddLoginActionProto: @unchecked Sendable {} -extension AddReferrerOutProto: @unchecked Sendable {} -extension AddReferrerOutProto.Status: @unchecked Sendable {} -extension AddReferrerProto: @unchecked Sendable {} -extension AddressBookImportSettingsProto: @unchecked Sendable {} -extension AddressBookImportTelemetry: @unchecked Sendable {} -extension AddressBookImportTelemetry.AddressBookImportTelemetryId: @unchecked Sendable {} -extension AddressablePokemonSettings: @unchecked Sendable {} -extension AdvancedPerformanceTelemetry: @unchecked Sendable {} -extension AdvancedPerformanceTelemetry.PerformanceLevels: @unchecked Sendable {} -extension AdvancedPerformanceTelemetry.PerformancePresetLevels: @unchecked Sendable {} -extension AdvancedSettingsProto: @unchecked Sendable {} -extension AdventureSyncProgress: @unchecked Sendable {} -extension AdventureSyncSettingsProto: @unchecked Sendable {} -extension AdventureSyncV2GmtProto: @unchecked Sendable {} -extension AgeGateResult: @unchecked Sendable {} -extension AgeGateStartup: @unchecked Sendable {} -extension AllTypesAndMessagesResponsesProto: @unchecked Sendable {} -extension AllTypesAndMessagesResponsesProto.AllResquestTypesProto: @unchecked Sendable {} -extension AllTypesAndMessagesResponsesProto.AllMessagesProto: @unchecked Sendable {} -extension AllTypesAndMessagesResponsesProto.AllResponsesProto: @unchecked Sendable {} -extension AllTypesAndMessagesResponsesProto.Message: @unchecked Sendable {} -extension AllTypesAndMessagesResponsesProto.Response: @unchecked Sendable {} -extension Anchor: @unchecked Sendable {} -extension AnchorUpdateProto: @unchecked Sendable {} -extension AnchorUpdateProto.AnchorUpdateType: @unchecked Sendable {} -extension AndroidDataSource: @unchecked Sendable {} -extension AndroidDevice: @unchecked Sendable {} -extension AndroidDevice.DeviceType: @unchecked Sendable {} -extension AnimationOverrideProto: @unchecked Sendable {} -extension AnimationOverrideProto.PokemonAnim: @unchecked Sendable {} -extension Api: @unchecked Sendable {} -extension ApnToken: @unchecked Sendable {} -extension AppleToken: @unchecked Sendable {} -extension AppliedItemProto: @unchecked Sendable {} -extension AppliedItemsProto: @unchecked Sendable {} -extension AppraisalStarThresholdSettings: @unchecked Sendable {} -extension ApprovedCommonTelemetryProto: @unchecked Sendable {} -extension ApprovedCommonTelemetryProto.OneOf_TelemetryData: @unchecked Sendable {} -extension ArMappingSessionTelemetryProto: @unchecked Sendable {} -extension ArMappingSettingsProto: @unchecked Sendable {} -extension ArMappingTelemetryProto: @unchecked Sendable {} -extension ArMappingTelemetryProto.ArMappingEntryPoint: @unchecked Sendable {} -extension ArMappingTelemetryProto.ArMappingEventId: @unchecked Sendable {} -extension ArMappingTelemetryProto.ArMappingValidationFailureReason: @unchecked Sendable {} -extension ArPhotoGlobalSettings: @unchecked Sendable {} -extension ArPhotoSessionProto: @unchecked Sendable {} -extension ArPhotoSessionProto.ArContext: @unchecked Sendable {} -extension ArPhotoSessionProto.ArType: @unchecked Sendable {} -extension ArPhotoSessionProto.BatteryStatus: @unchecked Sendable {} -extension ArPhotoSessionProto.Step: @unchecked Sendable {} -extension ArPhotoSessionProto.ArConditions: @unchecked Sendable {} -extension ArPhotoSessionProto.BatterySample: @unchecked Sendable {} -extension ArPhotoSessionProto.FramerateSample: @unchecked Sendable {} -extension ArPhotoSessionProto.ProcessorSample: @unchecked Sendable {} -extension ArTelemetrySettingsProto: @unchecked Sendable {} -extension ArdkConfigSettingsProto: @unchecked Sendable {} -extension ArdkConfigSettingsProto.ArContext: @unchecked Sendable {} -extension AssertionFailed: @unchecked Sendable {} -extension AssetBundleDownloadTelemetry: @unchecked Sendable {} -extension AssetDigestEntryProto: @unchecked Sendable {} -extension AssetDigestOutProto: @unchecked Sendable {} -extension AssetDigestOutProto.Result: @unchecked Sendable {} -extension AssetDigestRequestProto: @unchecked Sendable {} -extension AssetPoiDownloadTelemetry: @unchecked Sendable {} -extension AssetRefreshSettingsProto: @unchecked Sendable {} -extension AssetRefreshTelemetry: @unchecked Sendable {} -extension AssetStreamCacheCulledTelemetry: @unchecked Sendable {} -extension AssetStreamDownloadTelemetry: @unchecked Sendable {} -extension AssetVersionOutProto: @unchecked Sendable {} -extension AssetVersionOutProto.Result: @unchecked Sendable {} -extension AssetVersionOutProto.AssetVersionResponseProto: @unchecked Sendable {} -extension AssetVersionProto: @unchecked Sendable {} -extension AssetVersionProto.AssetVersionRequestProto: @unchecked Sendable {} -extension AsyncFileUploadCompleteOutProto: @unchecked Sendable {} -extension AsyncFileUploadCompleteOutProto.ErrorStatus: @unchecked Sendable {} -extension AsyncFileUploadCompleteProto: @unchecked Sendable {} -extension AsyncFileUploadCompleteProto.Status: @unchecked Sendable {} -extension AsynchronousJobData: @unchecked Sendable {} -extension AttackGymOutProto: @unchecked Sendable {} -extension AttackGymOutProto.Result: @unchecked Sendable {} -extension AttackGymProto: @unchecked Sendable {} -extension AttackRaidBattleOutProto: @unchecked Sendable {} -extension AttackRaidBattleOutProto.Result: @unchecked Sendable {} -extension AttackRaidBattleProto: @unchecked Sendable {} -extension AttackRaidDataLogDetails: @unchecked Sendable {} -extension AttackRaidDataProto: @unchecked Sendable {} -extension AttackRaidResponseDataProto: @unchecked Sendable {} -extension AttractedPokemonClientProto: @unchecked Sendable {} -extension AuthenticateAppleSignInRequestProto: @unchecked Sendable {} -extension AuthenticateAppleSignInResponseProto: @unchecked Sendable {} -extension AuthenticateAppleSignInResponseProto.Status: @unchecked Sendable {} -extension AvailableSkuProto: @unchecked Sendable {} -extension AvailableSubmissionsPerSubmissionType: @unchecked Sendable {} -extension AvatarArticleProto: @unchecked Sendable {} -extension AvatarCustomizationProto: @unchecked Sendable {} -extension AvatarCustomizationProto.AvatarCustomizationPromoType: @unchecked Sendable {} -extension AvatarCustomizationProto.AvatarCustomizationUnlockType: @unchecked Sendable {} -extension AvatarCustomizationProto.Slot: @unchecked Sendable {} -extension AvatarCustomizationTelemetry: @unchecked Sendable {} -extension AvatarGlobalSettingsProto: @unchecked Sendable {} -extension AvatarGroupOrderSettingsProto: @unchecked Sendable {} -extension AvatarGroupOrderSettingsProto.AvatarGroupOrderProto: @unchecked Sendable {} -extension AvatarItemProto: @unchecked Sendable {} -extension AwardFreeRaidTicketOutProto: @unchecked Sendable {} -extension AwardFreeRaidTicketOutProto.Result: @unchecked Sendable {} -extension AwardFreeRaidTicketProto: @unchecked Sendable {} -extension AwardItemProto: @unchecked Sendable {} -extension AwardedGymBadge: @unchecked Sendable {} -extension AwardedRouteBadge: @unchecked Sendable {} -extension AwardedRouteBadge.RouteBadgeType: @unchecked Sendable {} -extension AwardedRouteBadge.RouteBadgeWaypoint: @unchecked Sendable {} -extension AwardedRouteStamp: @unchecked Sendable {} -extension AwardedRouteStamps: @unchecked Sendable {} -extension BackgroundModeClientSettingsProto: @unchecked Sendable {} -extension BackgroundModeClientSettingsProto.ProximitySettingsProto: @unchecked Sendable {} -extension BackgroundModeGlobalSettingsProto: @unchecked Sendable {} -extension BackgroundModeSettingsProto: @unchecked Sendable {} -extension BackgroundToken: @unchecked Sendable {} -extension BadgeCaptureReward: @unchecked Sendable {} -extension BadgeData: @unchecked Sendable {} -extension BadgeData.OneOf_Data: @unchecked Sendable {} -extension BadgeSettingsProto: @unchecked Sendable {} -extension BattleActionProto: @unchecked Sendable {} -extension BattleActionProto.ActionType: @unchecked Sendable {} -extension BattleAttributesProto: @unchecked Sendable {} -extension BattleHubBadgeSettings: @unchecked Sendable {} -extension BattleHubOrderSettings: @unchecked Sendable {} -extension BattleHubOrderSettings.SectionGroup: @unchecked Sendable {} -extension BattleHubOrderSettings.SectionSettings: @unchecked Sendable {} -extension BattleLogProto: @unchecked Sendable {} -extension BattleLogProto.BattleType: @unchecked Sendable {} -extension BattleLogProto.State: @unchecked Sendable {} -extension BattleParticipantProto: @unchecked Sendable {} -extension BattlePartiesProto: @unchecked Sendable {} -extension BattlePartyProto: @unchecked Sendable {} -extension BattlePartySettingsProto: @unchecked Sendable {} -extension BattlePartyTelemetry: @unchecked Sendable {} -extension BattleProto: @unchecked Sendable {} -extension BattleQuestProto: @unchecked Sendable {} -extension BattleResultsProto: @unchecked Sendable {} -extension BattleUpdateProto: @unchecked Sendable {} -extension BattleUpdateProto.AvailableItem: @unchecked Sendable {} -extension BattleUpdateProto.ActiveItem: @unchecked Sendable {} -extension BattleVisualSettings: @unchecked Sendable {} -extension BelugaBleCompleteTransferRequestProto: @unchecked Sendable {} -extension BelugaBleFinalizeTransfer: @unchecked Sendable {} -extension BelugaBleTransferCompleteProto: @unchecked Sendable {} -extension BelugaBleTransferPrepProto: @unchecked Sendable {} -extension BelugaBleTransferProto: @unchecked Sendable {} -extension BelugaDailyTransferLogEntry: @unchecked Sendable {} -extension BelugaDailyTransferLogEntry.Result: @unchecked Sendable {} -extension BelugaGlobalSettingsProto: @unchecked Sendable {} -extension BelugaIncenseBoxProto: @unchecked Sendable {} -extension BelugaPokemonProto: @unchecked Sendable {} -extension BelugaPokemonProto.PokemonCostume: @unchecked Sendable {} -extension BelugaPokemonProto.PokemonForm: @unchecked Sendable {} -extension BelugaPokemonProto.PokemonGender: @unchecked Sendable {} -extension BelugaPokemonProto.Team: @unchecked Sendable {} -extension BelugaPokemonProto.TrainerGender: @unchecked Sendable {} -extension BelugaPokemonWhitelist: @unchecked Sendable {} -extension BelugaTransactionCompleteOutProto: @unchecked Sendable {} -extension BelugaTransactionCompleteOutProto.Status: @unchecked Sendable {} -extension BelugaTransactionCompleteProto: @unchecked Sendable {} -extension BelugaTransactionStartOutProto: @unchecked Sendable {} -extension BelugaTransactionStartOutProto.Status: @unchecked Sendable {} -extension BelugaTransactionStartProto: @unchecked Sendable {} -extension BlockAccountOutProto: @unchecked Sendable {} -extension BlockAccountOutProto.Result: @unchecked Sendable {} -extension BlockAccountProto: @unchecked Sendable {} -extension BonusBoxProto: @unchecked Sendable {} -extension BonusBoxProto.IconType: @unchecked Sendable {} -extension BoolValue: @unchecked Sendable {} -extension BootSettingsProto: @unchecked Sendable {} -extension BootTelemetry: @unchecked Sendable {} -extension BootTime: @unchecked Sendable {} -extension BootTime.BootPhase: @unchecked Sendable {} -extension BootTime.AccountType: @unchecked Sendable {} -extension BoundingRect: @unchecked Sendable {} -extension BreadcrumbRecordProto: @unchecked Sendable {} -extension BuddyActivityCategorySettings: @unchecked Sendable {} -extension BuddyActivitySettings: @unchecked Sendable {} -extension BuddyConsumablesLogEntry: @unchecked Sendable {} -extension BuddyDataProto: @unchecked Sendable {} -extension BuddyDataProto.BuddyStoredStats: @unchecked Sendable {} -extension BuddyEmotionLevelSettings: @unchecked Sendable {} -extension BuddyEncounterCameoSettings: @unchecked Sendable {} -extension BuddyEncounterHelpTelemetry: @unchecked Sendable {} -extension BuddyEvolutionWalkQuestProto: @unchecked Sendable {} -extension BuddyFeedingOutProto: @unchecked Sendable {} -extension BuddyFeedingOutProto.Result: @unchecked Sendable {} -extension BuddyFeedingProto: @unchecked Sendable {} -extension BuddyGiftProto: @unchecked Sendable {} -extension BuddyGlobalSettingsProto: @unchecked Sendable {} -extension BuddyHistoryData: @unchecked Sendable {} -extension BuddyHungerSettings: @unchecked Sendable {} -extension BuddyInteractionSettings: @unchecked Sendable {} -extension BuddyLevelSettings: @unchecked Sendable {} -extension BuddyLevelSettings.BuddyTrait: @unchecked Sendable {} -extension BuddyMapEmotionCheckTelemetry: @unchecked Sendable {} -extension BuddyMapOutProto: @unchecked Sendable {} -extension BuddyMapOutProto.Result: @unchecked Sendable {} -extension BuddyMapProto: @unchecked Sendable {} -extension BuddyMultiplayerConnectionFailedProto: @unchecked Sendable {} -extension BuddyMultiplayerConnectionSucceededProto: @unchecked Sendable {} -extension BuddyMultiplayerTimeToGetSessionProto: @unchecked Sendable {} -extension BuddyNotificationClickTelemetry: @unchecked Sendable {} -extension BuddyObservedData: @unchecked Sendable {} -extension BuddyObservedData.BuddyValidationResult: @unchecked Sendable {} -extension BuddyObservedData.BuddyFeedStats: @unchecked Sendable {} -extension BuddyPettingOutProto: @unchecked Sendable {} -extension BuddyPettingOutProto.Result: @unchecked Sendable {} -extension BuddyPettingProto: @unchecked Sendable {} -extension BuddyPokemonLogEntry: @unchecked Sendable {} -extension BuddyPokemonLogEntry.Result: @unchecked Sendable {} -extension BuddyPokemonProto: @unchecked Sendable {} -extension BuddyStats: @unchecked Sendable {} -extension BuddyStatsOutProto: @unchecked Sendable {} -extension BuddyStatsOutProto.Result: @unchecked Sendable {} -extension BuddyStatsProto: @unchecked Sendable {} -extension BuddyStatsShownHearts: @unchecked Sendable {} -extension BuddyStatsShownHearts.BuddyShownHeartType: @unchecked Sendable {} -extension BuddyStatsShownHearts.BuddyShownHeartsList: @unchecked Sendable {} -extension BuddySwapSettings: @unchecked Sendable {} -extension BuddyWalkSettings: @unchecked Sendable {} -extension BuildingMetadata: @unchecked Sendable {} -extension ButterflyCollectorBadgeData: @unchecked Sendable {} -extension ButterflyCollectorRegionMedal: @unchecked Sendable {} -extension ButterflyCollectorRegionMedal.State: @unchecked Sendable {} -extension ButterflyCollectorRewardsLogEntry: @unchecked Sendable {} -extension ButterflyCollectorRewardsLogEntry.Result: @unchecked Sendable {} -extension ButterflyCollectorSettings: @unchecked Sendable {} -extension BytesValue: @unchecked Sendable {} -extension CalculatorOptions: @unchecked Sendable {} -extension CameraSettingsProto: @unchecked Sendable {} -extension CampfireSettingsProto: @unchecked Sendable {} -extension CancelCombatChallengeDataProto: @unchecked Sendable {} -extension CancelCombatChallengeOutProto: @unchecked Sendable {} -extension CancelCombatChallengeOutProto.Result: @unchecked Sendable {} -extension CancelCombatChallengeProto: @unchecked Sendable {} -extension CancelCombatChallengeResponseDataProto: @unchecked Sendable {} -extension CancelFriendInviteOutProto: @unchecked Sendable {} -extension CancelFriendInviteOutProto.Result: @unchecked Sendable {} -extension CancelFriendInviteProto: @unchecked Sendable {} -extension CancelMatchmakingDataProto: @unchecked Sendable {} -extension CancelMatchmakingOutProto: @unchecked Sendable {} -extension CancelMatchmakingOutProto.Result: @unchecked Sendable {} -extension CancelMatchmakingProto: @unchecked Sendable {} -extension CancelMatchmakingResponseDataProto: @unchecked Sendable {} -extension CancelRouteOutProto: @unchecked Sendable {} -extension CancelRouteProto: @unchecked Sendable {} -extension CancelTradingOutProto: @unchecked Sendable {} -extension CancelTradingOutProto.Result: @unchecked Sendable {} -extension CancelTradingProto: @unchecked Sendable {} -extension CapProto: @unchecked Sendable {} -extension CaptureProbabilityProto: @unchecked Sendable {} -extension CaptureScoreProto: @unchecked Sendable {} -extension CaptureScoreProto.ScoreData: @unchecked Sendable {} -extension CatchCardTelemetry: @unchecked Sendable {} -extension CatchCardTelemetry.PhotoType: @unchecked Sendable {} -extension CatchPokemonGlobalSettingsProto: @unchecked Sendable {} -extension CatchPokemonLogEntry: @unchecked Sendable {} -extension CatchPokemonLogEntry.Result: @unchecked Sendable {} -extension CatchPokemonOutProto: @unchecked Sendable {} -extension CatchPokemonOutProto.CaptureReason: @unchecked Sendable {} -extension CatchPokemonOutProto.Status: @unchecked Sendable {} -extension CatchPokemonProto: @unchecked Sendable {} -extension CatchPokemonQuestProto: @unchecked Sendable {} -extension CatchPokemonTelemetry: @unchecked Sendable {} -extension CatchRadiusMultiplierSettingsProto: @unchecked Sendable {} -extension ChallengeIdMismatchDataProto: @unchecked Sendable {} -extension ChallengeQuestsSectionProto: @unchecked Sendable {} -extension ChangeArTelemetry: @unchecked Sendable {} -extension ChangeOnlineStatusTelemetry: @unchecked Sendable {} -extension ChangePokemonFormOutProto: @unchecked Sendable {} -extension ChangePokemonFormOutProto.Result: @unchecked Sendable {} -extension ChangePokemonFormProto: @unchecked Sendable {} -extension ChangeTeamOutProto: @unchecked Sendable {} -extension ChangeTeamOutProto.Status: @unchecked Sendable {} -extension ChangeTeamProto: @unchecked Sendable {} -extension CharacterDisplayProto: @unchecked Sendable {} -extension ChatMessageContext: @unchecked Sendable {} -extension ChatMessageContext.OneOf_FlagContent: @unchecked Sendable {} -extension CheckAwardedBadgesOutProto: @unchecked Sendable {} -extension CheckAwardedBadgesProto: @unchecked Sendable {} -extension CheckChallengeOutProto: @unchecked Sendable {} -extension CheckChallengeProto: @unchecked Sendable {} -extension CheckEncounterTrayInfoTelemetry: @unchecked Sendable {} -extension CheckGiftingEligibilityOutProto: @unchecked Sendable {} -extension CheckGiftingEligibilityProto: @unchecked Sendable {} -extension CheckPhotobombOutProto: @unchecked Sendable {} -extension CheckPhotobombOutProto.Status: @unchecked Sendable {} -extension CheckPhotobombProto: @unchecked Sendable {} -extension CheckPokemonSizeContestEligibilityProto: @unchecked Sendable {} -extension CheckSendGiftOutProto: @unchecked Sendable {} -extension CheckSendGiftOutProto.Result: @unchecked Sendable {} -extension CheckSendGiftProto: @unchecked Sendable {} -extension CheckShareExRaidPassOutProto: @unchecked Sendable {} -extension CheckShareExRaidPassProto: @unchecked Sendable {} -extension ChooseGlobalTicketedEventVariantOutProto: @unchecked Sendable {} -extension ChooseGlobalTicketedEventVariantOutProto.Status: @unchecked Sendable {} -extension ChooseGlobalTicketedEventVariantProto: @unchecked Sendable {} -extension ClaimCodenameRequestProto: @unchecked Sendable {} -extension ClaimContestsRewardsOutProto: @unchecked Sendable {} -extension ClaimContestsRewardsOutProto.Status: @unchecked Sendable {} -extension ClaimContestsRewardsProto: @unchecked Sendable {} -extension ClaimVsSeekerRewardsOutProto: @unchecked Sendable {} -extension ClaimVsSeekerRewardsOutProto.Result: @unchecked Sendable {} -extension ClaimVsSeekerRewardsProto: @unchecked Sendable {} -extension ClientApiSettingsProto: @unchecked Sendable {} -extension ClientApiSettingsProto.SettingsType: @unchecked Sendable {} -extension ClientContestIncidentProto: @unchecked Sendable {} -extension ClientDialogueLineProto: @unchecked Sendable {} -extension ClientDialogueLineProto.DialogueLineStatus: @unchecked Sendable {} -extension ClientEnvironmentProto: @unchecked Sendable {} -extension ClientEvolutionQuestTemplateProto: @unchecked Sendable {} -extension ClientFortModifierProto: @unchecked Sendable {} -extension ClientGameMasterTemplateProto: @unchecked Sendable {} -extension ClientGenderProto: @unchecked Sendable {} -extension ClientGenderSettingsProto: @unchecked Sendable {} -extension ClientInbox: @unchecked Sendable {} -extension ClientInbox.Label: @unchecked Sendable {} -extension ClientInbox.Notification: @unchecked Sendable {} -extension ClientIncidentProto: @unchecked Sendable {} -extension ClientIncidentStepProto: @unchecked Sendable {} -extension ClientIncidentStepProto.OneOf_ClientIncidentStep: @unchecked Sendable {} -extension ClientInvasionBattleStepProto: @unchecked Sendable {} -extension ClientInvasionEncounterStepProto: @unchecked Sendable {} -extension ClientMapCellProto: @unchecked Sendable {} -extension ClientMetrics: @unchecked Sendable {} -extension ClientPerformanceSettingsProto: @unchecked Sendable {} -extension ClientPlayerProto: @unchecked Sendable {} -extension ClientPokestopNpcDialogueStepProto: @unchecked Sendable {} -extension ClientPokestopSpinStepProto: @unchecked Sendable {} -extension ClientPredictionInconsistencyDataProto: @unchecked Sendable {} -extension ClientQuestProto: @unchecked Sendable {} -extension ClientRouteMapCellProto: @unchecked Sendable {} -extension ClientRouteProto: @unchecked Sendable {} -extension ClientRouteProto.ImageProto: @unchecked Sendable {} -extension ClientRouteProto.WaypointProto: @unchecked Sendable {} -extension ClientSettingsTelemetry: @unchecked Sendable {} -extension ClientSleepRecord: @unchecked Sendable {} -extension ClientSpawnPointProto: @unchecked Sendable {} -extension ClientTelemetryBatchOutProto: @unchecked Sendable {} -extension ClientTelemetryBatchOutProto.Status: @unchecked Sendable {} -extension ClientTelemetryBatchProto: @unchecked Sendable {} -extension ClientTelemetryBatchProto.TelemetryScopeId: @unchecked Sendable {} -extension ClientTelemetryClientSettingsProto: @unchecked Sendable {} -extension ClientTelemetryCommonFilterProto: @unchecked Sendable {} -extension ClientTelemetryRecordProto: @unchecked Sendable {} -extension ClientTelemetryRecordResult: @unchecked Sendable {} -extension ClientTelemetryRecordResult.Status: @unchecked Sendable {} -extension ClientTelemetryResponseProto: @unchecked Sendable {} -extension ClientTelemetryResponseProto.Status: @unchecked Sendable {} -extension ClientTelemetrySettingsRequestProto: @unchecked Sendable {} -extension ClientTelemetryV2Request: @unchecked Sendable {} -extension ClientToggleSettingsTelemetry: @unchecked Sendable {} -extension ClientToggleSettingsTelemetry.ToggleEvent: @unchecked Sendable {} -extension ClientToggleSettingsTelemetry.ToggleSettingId: @unchecked Sendable {} -extension ClientUpgradeRequestProto: @unchecked Sendable {} -extension ClientUpgradeResponseProto: @unchecked Sendable {} -extension ClientVersionProto: @unchecked Sendable {} -extension ClientWeatherProto: @unchecked Sendable {} -extension CodenameResultProto: @unchecked Sendable {} -extension CodenameResultProto.Status: @unchecked Sendable {} -extension CollectAdIdRequestProto: @unchecked Sendable {} -extension CollectAdIdRequestProto.CollectionFailedReason: @unchecked Sendable {} -extension CollectAdIdRequestProto.DevicePlatform: @unchecked Sendable {} -extension CollectAdIdResponseProto: @unchecked Sendable {} -extension CollectAdIdResponseProto.Status: @unchecked Sendable {} -extension CollectDailyBonusOutProto: @unchecked Sendable {} -extension CollectDailyBonusOutProto.Result: @unchecked Sendable {} -extension CollectDailyBonusProto: @unchecked Sendable {} -extension CollectDailyDefenderBonusOutProto: @unchecked Sendable {} -extension CollectDailyDefenderBonusOutProto.Result: @unchecked Sendable {} -extension CollectDailyDefenderBonusProto: @unchecked Sendable {} -extension CombatActionProto: @unchecked Sendable {} -extension CombatActionProto.ActionType: @unchecked Sendable {} -extension CombatBaseStatsProto: @unchecked Sendable {} -extension CombatChallengeGlobalSettingsProto: @unchecked Sendable {} -extension CombatChallengeProto: @unchecked Sendable {} -extension CombatChallengeProto.CombatChallengeState: @unchecked Sendable {} -extension CombatChallengeProto.ChallengePlayer: @unchecked Sendable {} -extension CombatCompetitiveSeasonSettingsProto: @unchecked Sendable {} -extension CombatDefensiveInputChallengeSettings: @unchecked Sendable {} -extension CombatEndDataProto: @unchecked Sendable {} -extension CombatEndDataProto.EndType: @unchecked Sendable {} -extension CombatFriendRequestOutProto: @unchecked Sendable {} -extension CombatFriendRequestOutProto.Result: @unchecked Sendable {} -extension CombatFriendRequestProto: @unchecked Sendable {} -extension CombatGlobalSettingsProto: @unchecked Sendable {} -extension CombatGlobalSettingsProto.CombatDataTypes: @unchecked Sendable {} -extension CombatHubEntranceTelemetry: @unchecked Sendable {} -extension CombatIdMismatchDataProto: @unchecked Sendable {} -extension CombatLeagueProto: @unchecked Sendable {} -extension CombatLeagueProto.ConditionType: @unchecked Sendable {} -extension CombatLeagueProto.LeagueType: @unchecked Sendable {} -extension CombatLeagueProto.ObCombatLeagueProto: @unchecked Sendable {} -extension CombatLeagueProto.ObCombatLeagueProto.ObData: @unchecked Sendable {} -extension CombatLeagueProto.PokemonBanlist: @unchecked Sendable {} -extension CombatLeagueProto.PokemonCaughtTimestamp: @unchecked Sendable {} -extension CombatLeagueProto.PokemonConditionProto: @unchecked Sendable {} -extension CombatLeagueProto.PokemonConditionProto.OneOf_Condition: @unchecked Sendable {} -extension CombatLeagueProto.PokemonLevelRange: @unchecked Sendable {} -extension CombatLeagueProto.PokemonWhitelist: @unchecked Sendable {} -extension CombatLeagueProto.PokemonWithForm: @unchecked Sendable {} -extension CombatLeagueProto.UnlockConditionProto: @unchecked Sendable {} -extension CombatLeagueProto.UnlockConditionProto.OneOf_Condition: @unchecked Sendable {} -extension CombatLeagueSettingsProto: @unchecked Sendable {} -extension CombatLogEntry: @unchecked Sendable {} -extension CombatLogEntry.Result: @unchecked Sendable {} -extension CombatLogProto: @unchecked Sendable {} -extension CombatMinigameTelemetry: @unchecked Sendable {} -extension CombatMinigameTelemetry.MinigameCombatType: @unchecked Sendable {} -extension CombatMoveSettingsProto: @unchecked Sendable {} -extension CombatMoveSettingsProto.CombatMoveBuffsProto: @unchecked Sendable {} -extension CombatNpcPersonalityProto: @unchecked Sendable {} -extension CombatNpcTrainerProto: @unchecked Sendable {} -extension CombatOffensiveInputChallengeSettings: @unchecked Sendable {} -extension CombatPlayerPreferencesProto: @unchecked Sendable {} -extension CombatPlayerProfileProto: @unchecked Sendable {} -extension CombatPlayerProfileProto.Location: @unchecked Sendable {} -extension CombatProto: @unchecked Sendable {} -extension CombatProto.CombatState: @unchecked Sendable {} -extension CombatProto.CombatPlayerProto: @unchecked Sendable {} -extension CombatProto.CombatPokemonProto: @unchecked Sendable {} -extension CombatProto.ObCombatField: @unchecked Sendable {} -extension CombatPubSubDataProto: @unchecked Sendable {} -extension CombatPubSubDataProto.TypeEnum: @unchecked Sendable {} -extension CombatQuestUpdateProto: @unchecked Sendable {} -extension CombatRankingSettingsProto: @unchecked Sendable {} -extension CombatRankingSettingsProto.RankLevelProto: @unchecked Sendable {} -extension CombatSeasonResult: @unchecked Sendable {} -extension CombatSettingsProto: @unchecked Sendable {} -extension CombatSpecialMovePlayerDataProto: @unchecked Sendable {} -extension CombatStatStageSettingsProto: @unchecked Sendable {} -extension CombatSyncServerDataProto: @unchecked Sendable {} -extension CombatSyncServerResponseDataProto: @unchecked Sendable {} -extension CombatSyncServerResponseStateDataProto: @unchecked Sendable {} -extension CombatSyncServerResponseStateDataProto.Result: @unchecked Sendable {} -extension CombatTypeProto: @unchecked Sendable {} -extension CommonFilterProto: @unchecked Sendable {} -extension CommonTelemetryBootTime: @unchecked Sendable {} -extension CommonTelemetryLogIn: @unchecked Sendable {} -extension CommonTelemetryLogOut: @unchecked Sendable {} -extension CommonTelemetryOmniPushEvent: @unchecked Sendable {} -extension CommonTelemetryOmniPushEvent.PushEventType: @unchecked Sendable {} -extension CommonTelemetryOmniPushOpened: @unchecked Sendable {} -extension CommonTelemetryOmniPushReceived: @unchecked Sendable {} -extension CommonTelemetryShopClick: @unchecked Sendable {} -extension CommonTelemetryShopClick.AccessType: @unchecked Sendable {} -extension CommonTelemetryShopView: @unchecked Sendable {} -extension CompleteCompetitiveSeasonOutProto: @unchecked Sendable {} -extension CompleteCompetitiveSeasonOutProto.Result: @unchecked Sendable {} -extension CompleteCompetitiveSeasonProto: @unchecked Sendable {} -extension CompleteInvasionDialogueOutProto: @unchecked Sendable {} -extension CompleteInvasionDialogueProto: @unchecked Sendable {} -extension CompleteMilestoneOutProto: @unchecked Sendable {} -extension CompleteMilestoneOutProto.Status: @unchecked Sendable {} -extension CompleteMilestoneProto: @unchecked Sendable {} -extension CompleteQuestLogEntry: @unchecked Sendable {} -extension CompleteQuestLogEntry.Result: @unchecked Sendable {} -extension CompleteQuestOutProto: @unchecked Sendable {} -extension CompleteQuestOutProto.Status: @unchecked Sendable {} -extension CompleteQuestPokemonEncounterLogEntry: @unchecked Sendable {} -extension CompleteQuestPokemonEncounterLogEntry.Result: @unchecked Sendable {} -extension CompleteQuestProto: @unchecked Sendable {} -extension CompleteQuestStampCardLogEntry: @unchecked Sendable {} -extension CompleteQuestStampCardLogEntry.Result: @unchecked Sendable {} -extension CompleteQuestStampCardOutProto: @unchecked Sendable {} -extension CompleteQuestStampCardOutProto.Status: @unchecked Sendable {} -extension CompleteQuestStampCardProto: @unchecked Sendable {} -extension CompleteReferralMilestoneLogEntry: @unchecked Sendable {} -extension CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto: @unchecked Sendable {} -extension CompleteReferralMilestoneLogEntry.TemplateVariableProto: @unchecked Sendable {} -extension CompleteRoutePlayLogEntry: @unchecked Sendable {} -extension CompleteSnapshotSessionOutProto: @unchecked Sendable {} -extension CompleteSnapshotSessionOutProto.Status: @unchecked Sendable {} -extension CompleteSnapshotSessionProto: @unchecked Sendable {} -extension CompleteVsSeekerAndRestartChargingOutProto: @unchecked Sendable {} -extension CompleteVsSeekerAndRestartChargingOutProto.Result: @unchecked Sendable {} -extension CompleteVsSeekerAndRestartChargingProto: @unchecked Sendable {} -extension CompleteWildSnapshotSessionOutProto: @unchecked Sendable {} -extension CompleteWildSnapshotSessionOutProto.Status: @unchecked Sendable {} -extension CompleteWildSnapshotSessionProto: @unchecked Sendable {} -extension ConfirmPhotobombOutProto: @unchecked Sendable {} -extension ConfirmPhotobombOutProto.Status: @unchecked Sendable {} -extension ConfirmPhotobombProto: @unchecked Sendable {} -extension ConfirmTradingOutProto: @unchecked Sendable {} -extension ConfirmTradingOutProto.Result: @unchecked Sendable {} -extension ConfirmTradingProto: @unchecked Sendable {} -extension ContactSettingsProto: @unchecked Sendable {} -extension ContestBadgeData: @unchecked Sendable {} -extension ContestBuddyFocusProto: @unchecked Sendable {} -extension ContestCycleProto: @unchecked Sendable {} -extension ContestDisplayProto: @unchecked Sendable {} -extension ContestEntryProto: @unchecked Sendable {} -extension ContestFocusProto: @unchecked Sendable {} -extension ContestFocusProto.OneOf_ContestFocus: @unchecked Sendable {} -extension ContestFriendEntryProto: @unchecked Sendable {} -extension ContestHatchedFocusProto: @unchecked Sendable {} -extension ContestInfoProto: @unchecked Sendable {} -extension ContestInfoSummaryProto: @unchecked Sendable {} -extension ContestLengthThresholdsProto: @unchecked Sendable {} -extension ContestLimitProto: @unchecked Sendable {} -extension ContestMegaFocusProto: @unchecked Sendable {} -extension ContestMetricProto: @unchecked Sendable {} -extension ContestMetricProto.OneOf_Metric: @unchecked Sendable {} -extension ContestPokemonClassFocusProto: @unchecked Sendable {} -extension ContestPokemonFamilyFocusProto: @unchecked Sendable {} -extension ContestPokemonFocusProto: @unchecked Sendable {} -extension ContestPokemonSectionProto: @unchecked Sendable {} -extension ContestProto: @unchecked Sendable {} -extension ContestRegionFocusProto: @unchecked Sendable {} -extension ContestScheduleProto: @unchecked Sendable {} -extension ContestScoreCoefficientProto: @unchecked Sendable {} -extension ContestScoreCoefficientProto.OneOf_ContestType: @unchecked Sendable {} -extension ContestScoreCoefficientProto.PokemonSize: @unchecked Sendable {} -extension ContestScoreComponentProto: @unchecked Sendable {} -extension ContestScoreFormulaProto: @unchecked Sendable {} -extension ContestSettingsProto: @unchecked Sendable {} -extension ContestShinyFocusProto: @unchecked Sendable {} -extension ContestTypeFocusProto: @unchecked Sendable {} -extension ContestWarmupAndCooldownDurationSettingsProto: @unchecked Sendable {} -extension ContestWinDataProto: @unchecked Sendable {} -extension ConversationSettingsProto: @unchecked Sendable {} -extension ConvertCandyToXlCandyOutProto: @unchecked Sendable {} -extension ConvertCandyToXlCandyOutProto.Status: @unchecked Sendable {} -extension ConvertCandyToXlCandyProto: @unchecked Sendable {} -extension CopyrightProto: @unchecked Sendable {} -extension CoveringProto: @unchecked Sendable {} -extension CrashlyticsSettingsProto: @unchecked Sendable {} -extension CreateBuddyMultiplayerSessionOutProto: @unchecked Sendable {} -extension CreateBuddyMultiplayerSessionOutProto.Result: @unchecked Sendable {} -extension CreateBuddyMultiplayerSessionProto: @unchecked Sendable {} -extension CreateCombatChallengeDataProto: @unchecked Sendable {} -extension CreateCombatChallengeOutProto: @unchecked Sendable {} -extension CreateCombatChallengeOutProto.Result: @unchecked Sendable {} -extension CreateCombatChallengeProto: @unchecked Sendable {} -extension CreateCombatChallengeResponseDataProto: @unchecked Sendable {} -extension CreateGuestLoginSecretTokenRequestProto: @unchecked Sendable {} -extension CreateGuestLoginSecretTokenResponseProto: @unchecked Sendable {} -extension CreateGuestLoginSecretTokenResponseProto.Status: @unchecked Sendable {} -extension CreatePokemonTagOutProto: @unchecked Sendable {} -extension CreatePokemonTagOutProto.Result: @unchecked Sendable {} -extension CreatePokemonTagProto: @unchecked Sendable {} -extension CreatePostcardOutProto: @unchecked Sendable {} -extension CreatePostcardOutProto.Result: @unchecked Sendable {} -extension CreatePostcardProto: @unchecked Sendable {} -extension CreateSharedLoginTokenRequest: @unchecked Sendable {} -extension CreateSharedLoginTokenResponse: @unchecked Sendable {} -extension CreateSharedLoginTokenResponse.Status: @unchecked Sendable {} -extension CreateSharedLoginTokenResponse.TokenMetaData: @unchecked Sendable {} -extension CreatorInfo: @unchecked Sendable {} -extension CrmProxyRequestProto: @unchecked Sendable {} -extension CrmProxyResponseProto: @unchecked Sendable {} -extension CrmProxyResponseProto.Status: @unchecked Sendable {} -extension CrossGameSocialGlobalSettingsProto: @unchecked Sendable {} -extension CrossGameSocialSettingsProto: @unchecked Sendable {} -extension CuratedLabelSpec: @unchecked Sendable {} -extension CurrencyQuantityProto: @unchecked Sendable {} -extension CurrencyUpdateProto: @unchecked Sendable {} -extension CurrentEventsSectionProto: @unchecked Sendable {} -extension CurrentNewsProto: @unchecked Sendable {} -extension DailyAdventureIncenseLogEntry: @unchecked Sendable {} -extension DailyAdventureIncenseSettingsProto: @unchecked Sendable {} -extension DailyAdventureIncenseTelemetry: @unchecked Sendable {} -extension DailyAdventureIncenseTelemetry.Status: @unchecked Sendable {} -extension DailyBonusProto: @unchecked Sendable {} -extension DailyBuddyAffectionQuestProto: @unchecked Sendable {} -extension DailyCounterProto: @unchecked Sendable {} -extension DailyEncounterGlobalSettingsProto: @unchecked Sendable {} -extension DailyEncounterOutProto: @unchecked Sendable {} -extension DailyEncounterOutProto.Result: @unchecked Sendable {} -extension DailyEncounterProto: @unchecked Sendable {} -extension DailyQuestProto: @unchecked Sendable {} -extension DailyQuestSettings: @unchecked Sendable {} -extension DailyStreaksProto: @unchecked Sendable {} -extension DailyStreaksProto.StreakProto: @unchecked Sendable {} -extension DamagePropertyProto: @unchecked Sendable {} -extension DataAccessRequest: @unchecked Sendable {} -extension DataAccessResponse: @unchecked Sendable {} -extension DataAccessResponse.Status: @unchecked Sendable {} -extension Datapoint: @unchecked Sendable {} -extension Datapoint.OneOf_Value: @unchecked Sendable {} -extension Datapoint.Kind: @unchecked Sendable {} -extension DaysWithARowQuestProto: @unchecked Sendable {} -extension DebugInfoProto: @unchecked Sendable {} -extension DeclineCombatChallengeDataProto: @unchecked Sendable {} -extension DeclineCombatChallengeOutProto: @unchecked Sendable {} -extension DeclineCombatChallengeOutProto.Result: @unchecked Sendable {} -extension DeclineCombatChallengeProto: @unchecked Sendable {} -extension DeclineCombatChallengeResponseDataProto: @unchecked Sendable {} -extension DeclineExRaidPassLogEntry: @unchecked Sendable {} -extension DeclineExRaidPassLogEntry.Result: @unchecked Sendable {} -extension DeclineExRaidPassOutProto: @unchecked Sendable {} -extension DeclineExRaidPassOutProto.Result: @unchecked Sendable {} -extension DeclineExRaidPassProto: @unchecked Sendable {} -extension DeclineFriendInviteOutProto: @unchecked Sendable {} -extension DeclineFriendInviteOutProto.Result: @unchecked Sendable {} -extension DeclineFriendInviteProto: @unchecked Sendable {} -extension DeepLinkingEnumWrapperProto: @unchecked Sendable {} -extension DeepLinkingEnumWrapperProto.DeepLinkingActionName: @unchecked Sendable {} -extension DeepLinkingEnumWrapperProto.NearbyPokemonTab: @unchecked Sendable {} -extension DeepLinkingEnumWrapperProto.PlayerProfileTab: @unchecked Sendable {} -extension DeepLinkingEnumWrapperProto.PokemonInventoryTab: @unchecked Sendable {} -extension DeepLinkingEnumWrapperProto.QuestListTab: @unchecked Sendable {} -extension DeepLinkingSettingsProto: @unchecked Sendable {} -extension DeepLinkingTelemetry: @unchecked Sendable {} -extension DeepLinkingTelemetry.LinkSource: @unchecked Sendable {} -extension DeleteAccountEmailOnFileRequest: @unchecked Sendable {} -extension DeleteAccountEmailOnFileResponse: @unchecked Sendable {} -extension DeleteAccountEmailOnFileResponse.Status: @unchecked Sendable {} -extension DeleteAccountRequest: @unchecked Sendable {} -extension DeleteAccountResponse: @unchecked Sendable {} -extension DeleteAccountResponse.Status: @unchecked Sendable {} -extension DeleteGiftFromInventoryOutProto: @unchecked Sendable {} -extension DeleteGiftFromInventoryOutProto.Result: @unchecked Sendable {} -extension DeleteGiftFromInventoryProto: @unchecked Sendable {} -extension DeleteGiftOutProto: @unchecked Sendable {} -extension DeleteGiftOutProto.Result: @unchecked Sendable {} -extension DeleteGiftProto: @unchecked Sendable {} -extension DeletePhoneNumberRequest: @unchecked Sendable {} -extension DeletePhoneNumberResponse: @unchecked Sendable {} -extension DeletePhoneNumberResponse.Status: @unchecked Sendable {} -extension DeletePhotoOutProto: @unchecked Sendable {} -extension DeletePhotoOutProto.Result: @unchecked Sendable {} -extension DeletePhotoProto: @unchecked Sendable {} -extension DeletePokemonTagOutProto: @unchecked Sendable {} -extension DeletePokemonTagOutProto.Result: @unchecked Sendable {} -extension DeletePokemonTagProto: @unchecked Sendable {} -extension DeletePostcardOutProto: @unchecked Sendable {} -extension DeletePostcardOutProto.Result: @unchecked Sendable {} -extension DeletePostcardProto: @unchecked Sendable {} -extension DeletePostcardsOutProto: @unchecked Sendable {} -extension DeletePostcardsOutProto.Result: @unchecked Sendable {} -extension DeletePostcardsProto: @unchecked Sendable {} -extension DeployPokemonTelemetry: @unchecked Sendable {} -extension DeploymentTotalsProto: @unchecked Sendable {} -extension DescriptorProto: @unchecked Sendable {} -extension DescriptorProto.ExtensionRange: @unchecked Sendable {} -extension DescriptorProto.ReservedRange: @unchecked Sendable {} -extension Detection: @unchecked Sendable {} -extension Detection.AssociatedDetection: @unchecked Sendable {} -extension DetectionList: @unchecked Sendable {} -extension DeveloperToken: @unchecked Sendable {} -extension DeviceOSTelemetry: @unchecked Sendable {} -extension DeviceOSTelemetry.OSArchitecture: @unchecked Sendable {} -extension DeviceServiceToggleTelemetry: @unchecked Sendable {} -extension DeviceSpecificationsTelemetry: @unchecked Sendable {} -extension DialogueLineProto: @unchecked Sendable {} -extension DialogueNpcProto: @unchecked Sendable {} -extension DialogueNpcProto.Character: @unchecked Sendable {} -extension DialogueNpcProto.Expression: @unchecked Sendable {} -extension DiffInventoryProto: @unchecked Sendable {} -extension DiskEncounterOutProto: @unchecked Sendable {} -extension DiskEncounterOutProto.Result: @unchecked Sendable {} -extension DiskEncounterProto: @unchecked Sendable {} -extension DismissContactListUpdateRequest: @unchecked Sendable {} -extension DismissContactListUpdateResponse: @unchecked Sendable {} -extension DismissContactListUpdateResponse.Result: @unchecked Sendable {} -extension DismissOutgoingGameInvitesRequest: @unchecked Sendable {} -extension DismissOutgoingGameInvitesResponse: @unchecked Sendable {} -extension DismissOutgoingGameInvitesResponse.Result: @unchecked Sendable {} -extension DisplayWeatherProto: @unchecked Sendable {} -extension DisplayWeatherProto.DisplayLevel: @unchecked Sendable {} -extension Distribution: @unchecked Sendable {} -extension Distribution.BucketOptions: @unchecked Sendable {} -extension Distribution.BucketOptions.OneOf_BucketType: @unchecked Sendable {} -extension Distribution.BucketOptions.ExplicitBuckets: @unchecked Sendable {} -extension Distribution.BucketOptions.ExponentialBuckets: @unchecked Sendable {} -extension Distribution.BucketOptions.LinearBuckets: @unchecked Sendable {} -extension Distribution.Range: @unchecked Sendable {} -extension DoubleValue: @unchecked Sendable {} -extension DownloadAllAssetsTelemetry: @unchecked Sendable {} -extension DownloadAllAssetsTelemetry.DownloadAllAssetsEventId: @unchecked Sendable {} -extension DownloadGmTemplatesRequestProto: @unchecked Sendable {} -extension DownloadGmTemplatesResponseProto: @unchecked Sendable {} -extension DownloadGmTemplatesResponseProto.Result: @unchecked Sendable {} -extension DownloadSettingsActionProto: @unchecked Sendable {} -extension DownloadSettingsResponseProto: @unchecked Sendable {} -extension DownloadUrlEntryProto: @unchecked Sendable {} -extension DownloadUrlOutProto: @unchecked Sendable {} -extension DownloadUrlRequestProto: @unchecked Sendable {} -extension Downstream: @unchecked Sendable {} -extension Downstream.OneOf_Message: @unchecked Sendable {} -extension Downstream.Connected: @unchecked Sendable {} -extension Downstream.Drain: @unchecked Sendable {} -extension Downstream.ProbeRequest: @unchecked Sendable {} -extension Downstream.ResponseWithStatus: @unchecked Sendable {} -extension Downstream.ResponseWithStatus.OneOf_Response: @unchecked Sendable {} -extension Downstream.ResponseWithStatus.Status: @unchecked Sendable {} -extension Downstream.SubscriptionResponse: @unchecked Sendable {} -extension Downstream.SubscriptionResponse.Status: @unchecked Sendable {} -extension DownstreamAction: @unchecked Sendable {} -extension DownstreamActionMessages: @unchecked Sendable {} -extension DownstreamActionMessages.MessageId: @unchecked Sendable {} -extension DumbBeaconProto: @unchecked Sendable {} -extension Duration: @unchecked Sendable {} -extension EchoOutProto: @unchecked Sendable {} -extension EchoProto: @unchecked Sendable {} -extension EditPokemonTagOutProto: @unchecked Sendable {} -extension EditPokemonTagOutProto.Result: @unchecked Sendable {} -extension EditPokemonTagProto: @unchecked Sendable {} -extension EfficientMapPointProto: @unchecked Sendable {} -extension EggCreateDetail: @unchecked Sendable {} -extension EggDistributionProto: @unchecked Sendable {} -extension EggDistributionProto.EggDistributionEntryProto: @unchecked Sendable {} -extension EggHatchImprovementsSettings: @unchecked Sendable {} -extension EggHatchTelemetry: @unchecked Sendable {} -extension EggIncubatorAttributesProto: @unchecked Sendable {} -extension EggIncubatorProto: @unchecked Sendable {} -extension EggIncubatorsProto: @unchecked Sendable {} -extension EggTelemetryProto: @unchecked Sendable {} -extension EggTransparencySettingsProto: @unchecked Sendable {} -extension EligibleContestPoolSettingsProto: @unchecked Sendable {} -extension EligibleContestProto: @unchecked Sendable {} -extension Empty: @unchecked Sendable {} -extension EnabledContextualAwarenessEvent: @unchecked Sendable {} -extension EnabledPokemonSettingsProto: @unchecked Sendable {} -extension EnabledPokemonSettingsProto.Range: @unchecked Sendable {} -extension EncounterOutProto: @unchecked Sendable {} -extension EncounterOutProto.Background: @unchecked Sendable {} -extension EncounterOutProto.Status: @unchecked Sendable {} -extension EncounterPhotobombOutProto: @unchecked Sendable {} -extension EncounterPhotobombOutProto.Result: @unchecked Sendable {} -extension EncounterPhotobombProto: @unchecked Sendable {} -extension EncounterPokemonTelemetry: @unchecked Sendable {} -extension EncounterPokestopEncounterOutProto: @unchecked Sendable {} -extension EncounterPokestopEncounterOutProto.Result: @unchecked Sendable {} -extension EncounterPokestopEncounterProto: @unchecked Sendable {} -extension EncounterProto: @unchecked Sendable {} -extension EncounterSettingsProto: @unchecked Sendable {} -extension EncounterTutorialCompleteOutProto: @unchecked Sendable {} -extension EncounterTutorialCompleteOutProto.Result: @unchecked Sendable {} -extension EncounterTutorialCompleteProto: @unchecked Sendable {} -extension Enum: @unchecked Sendable {} -extension EnumDescriptorProto: @unchecked Sendable {} -extension EnumOptions: @unchecked Sendable {} -extension EnumValue: @unchecked Sendable {} -extension EnumValueDescriptorProto: @unchecked Sendable {} -extension EnumValueOptions: @unchecked Sendable {} -extension EnumWrapper: @unchecked Sendable {} -extension EnumWrapper.InvasionCharacter: @unchecked Sendable {} -extension EnumWrapper.InvasionContext: @unchecked Sendable {} -extension EnumWrapper.CharacterCategory: @unchecked Sendable {} -extension EnumWrapper.PokestopStyle: @unchecked Sendable {} -extension EnumWrapper.InvasionCharacterExpression: @unchecked Sendable {} -extension EnumWrapper.IncidentStartPhase: @unchecked Sendable {} -extension EquipBadgeOutProto: @unchecked Sendable {} -extension EquipBadgeOutProto.Result: @unchecked Sendable {} -extension EquipBadgeProto: @unchecked Sendable {} -extension EquippedBadgeProto: @unchecked Sendable {} -extension EquippedBadgeSettingsProto: @unchecked Sendable {} -extension EventBadgeSettingsProto: @unchecked Sendable {} -extension EventBannerSectionProto: @unchecked Sendable {} -extension EventInfoProto: @unchecked Sendable {} -extension EventSectionProto: @unchecked Sendable {} -extension EventSettingsProto: @unchecked Sendable {} -extension EventTicketActiveTimeProto: @unchecked Sendable {} -extension EvolePreviewSettings: @unchecked Sendable {} -extension EvolutionBranchProto: @unchecked Sendable {} -extension EvolutionChainDataProto: @unchecked Sendable {} -extension EvolutionChainDisplaySettingsProto: @unchecked Sendable {} -extension EvolutionChainEntryProto: @unchecked Sendable {} -extension EvolutionQuestInfoProto: @unchecked Sendable {} -extension EvolutionV2SettingsProto: @unchecked Sendable {} -extension EvolveIntoPokemonQuestProto: @unchecked Sendable {} -extension EvolvePokemonOutProto: @unchecked Sendable {} -extension EvolvePokemonOutProto.Result: @unchecked Sendable {} -extension EvolvePokemonProto: @unchecked Sendable {} -extension EvolvePokemonTelemetry: @unchecked Sendable {} -extension ExRaidSettingsProto: @unchecked Sendable {} -extension ExceptionCaugthDataProto: @unchecked Sendable {} -extension ExceptionCaugthDataProto.ExceptionType: @unchecked Sendable {} -extension ExceptionCaugthDataV2Proto: @unchecked Sendable {} -extension ExceptionCaugthDataV2Proto.ExceptionType: @unchecked Sendable {} -extension ExclusiveRaidCancellationProto: @unchecked Sendable {} -extension ExclusiveTicketInfoProto: @unchecked Sendable {} -extension ExperienceBoostAttributesProto: @unchecked Sendable {} -extension ExtendedOverrideSettingsProto: @unchecked Sendable {} -extension ExtendedPrimalSettingsProto: @unchecked Sendable {} -extension ExtensionRangeOptions: @unchecked Sendable {} -extension ExternalAddressableAssetsSettings: @unchecked Sendable {} -extension FakeDataProto: @unchecked Sendable {} -extension FavoritePokemonTelemetry: @unchecked Sendable {} -extension FbTokenProto: @unchecked Sendable {} -extension Feature: @unchecked Sendable {} -extension Feature.OneOf_Metadata: @unchecked Sendable {} -extension FeatureUnlockLevelSettings: @unchecked Sendable {} -extension FeedPokemonTelemetry: @unchecked Sendable {} -extension FestivalSettingsProto: @unchecked Sendable {} -extension FestivalSettingsProto.FestivalType: @unchecked Sendable {} -extension FetchAllNewsOutProto: @unchecked Sendable {} -extension FetchAllNewsOutProto.Result: @unchecked Sendable {} -extension FetchAllNewsProto: @unchecked Sendable {} -extension FetchNewsfeedRequest: @unchecked Sendable {} -extension FetchNewsfeedResponse: @unchecked Sendable {} -extension FetchNewsfeedResponse.Result: @unchecked Sendable {} -extension Field: @unchecked Sendable {} -extension Field.Cardinality: @unchecked Sendable {} -extension Field.Kind: @unchecked Sendable {} -extension FieldDescriptorProto: @unchecked Sendable {} -extension FieldDescriptorProto.Label: @unchecked Sendable {} -extension FieldDescriptorProto.TypeEnum: @unchecked Sendable {} -extension FieldMask: @unchecked Sendable {} -extension FieldOptions: @unchecked Sendable {} -extension FieldOptions.CType: @unchecked Sendable {} -extension FieldOptions.JSType: @unchecked Sendable {} -extension FileDescriptorProto: @unchecked Sendable {} -extension FileDescriptorSet: @unchecked Sendable {} -extension FileOptions: @unchecked Sendable {} -extension FileOptions.OptimizeMode: @unchecked Sendable {} -extension FitnessMetricsProto: @unchecked Sendable {} -extension FitnessMetricsReportHistory: @unchecked Sendable {} -extension FitnessMetricsReportHistory.MetricsHistory: @unchecked Sendable {} -extension FitnessRecordProto: @unchecked Sendable {} -extension FitnessReportProto: @unchecked Sendable {} -extension FitnessReportProto.OneOf_Window: @unchecked Sendable {} -extension FitnessRewardsLogEntry: @unchecked Sendable {} -extension FitnessRewardsLogEntry.Result: @unchecked Sendable {} -extension FitnessSample: @unchecked Sendable {} -extension FitnessSample.FitnessSampleType: @unchecked Sendable {} -extension FitnessSample.FitnessSourceType: @unchecked Sendable {} -extension FitnessSampleMetadata: @unchecked Sendable {} -extension FitnessStatsProto: @unchecked Sendable {} -extension FitnessUpdateOutProto: @unchecked Sendable {} -extension FitnessUpdateOutProto.Status: @unchecked Sendable {} -extension FitnessUpdateProto: @unchecked Sendable {} -extension FlagCategory: @unchecked Sendable {} -extension FlagCategory.Category: @unchecked Sendable {} -extension FlagPhotoRequest: @unchecked Sendable {} -extension FlagPhotoResponse: @unchecked Sendable {} -extension FlagPhotoResponse.Result: @unchecked Sendable {} -extension FloatValue: @unchecked Sendable {} -extension FollowerDataProto: @unchecked Sendable {} -extension FollowerPokemonProto: @unchecked Sendable {} -extension FollowerPokemonProto.OneOf_PokemonData: @unchecked Sendable {} -extension FollowerPokemonProto.FollowerId: @unchecked Sendable {} -extension FollowerPokemonTappedTelemetry: @unchecked Sendable {} -extension FollowerPokemonTappedTelemetry.OneOf_PokemonData: @unchecked Sendable {} -extension FoodAttributesProto: @unchecked Sendable {} -extension FoodValue: @unchecked Sendable {} -extension FormChangeProto: @unchecked Sendable {} -extension FormChangeSettingsProto: @unchecked Sendable {} -extension FormProto: @unchecked Sendable {} -extension FormRenderModifier: @unchecked Sendable {} -extension FormRenderModifier.RenderModifierType: @unchecked Sendable {} -extension FormRenderModifier.EffectTarget: @unchecked Sendable {} -extension FormRenderModifier.TransitionVfxKey: @unchecked Sendable {} -extension FormSettingsProto: @unchecked Sendable {} -extension FormsRefactorSettings: @unchecked Sendable {} -extension FortDeployOutProto: @unchecked Sendable {} -extension FortDeployOutProto.Result: @unchecked Sendable {} -extension FortDeployProto: @unchecked Sendable {} -extension FortDetailsOutProto: @unchecked Sendable {} -extension FortDetailsProto: @unchecked Sendable {} -extension FortModifierAttributesProto: @unchecked Sendable {} -extension FortPokemonProto: @unchecked Sendable {} -extension FortPokemonProto.SpawnType: @unchecked Sendable {} -extension FortPowerUpLevelSettings: @unchecked Sendable {} -extension FortRecallOutProto: @unchecked Sendable {} -extension FortRecallOutProto.Result: @unchecked Sendable {} -extension FortRecallProto: @unchecked Sendable {} -extension FortRenderingType: @unchecked Sendable {} -extension FortRenderingType.RenderingType: @unchecked Sendable {} -extension FortSearchLogEntry: @unchecked Sendable {} -extension FortSearchLogEntry.Result: @unchecked Sendable {} -extension FortSearchOutProto: @unchecked Sendable {} -extension FortSearchOutProto.Result: @unchecked Sendable {} -extension FortSearchProto: @unchecked Sendable {} -extension FortSettingsProto: @unchecked Sendable {} -extension FortSponsor: @unchecked Sendable {} -extension FortSponsor.Sponsor: @unchecked Sendable {} -extension FortUpdateLatencyTelemetry: @unchecked Sendable {} -extension FrameRate: @unchecked Sendable {} -extension FriendDetailsProto: @unchecked Sendable {} -extension FriendDetailsProto.OnlineStatus: @unchecked Sendable {} -extension FriendProfileSettingsProto: @unchecked Sendable {} -extension FriendRecommendation: @unchecked Sendable {} -extension FriendRecommendationAttributeData: @unchecked Sendable {} -extension FriendRecommendationAttributeData.Reason: @unchecked Sendable {} -extension FriendRecommendationAttributeData.TypeEnum: @unchecked Sendable {} -extension FriendshipDataProto: @unchecked Sendable {} -extension FriendshipLevelDataProto: @unchecked Sendable {} -extension FriendshipLevelMilestoneSettingsProto: @unchecked Sendable {} -extension FriendshipLevelMilestoneSettingsProto.PokemonTradingType: @unchecked Sendable {} -extension FriendshipMilestoneRewardNotificationProto: @unchecked Sendable {} -extension FriendshipMilestoneRewardProto: @unchecked Sendable {} -extension GM11SettingsProto: @unchecked Sendable {} -extension GM1SettingsProto: @unchecked Sendable {} -extension GM1SettingsProto.Activity: @unchecked Sendable {} -extension GM27SettingsProto: @unchecked Sendable {} -extension GM29SettingsProto: @unchecked Sendable {} -extension GM2SettingsProto: @unchecked Sendable {} -extension GM30SettingsProto: @unchecked Sendable {} -extension GM37SettingsProto: @unchecked Sendable {} -extension GM39SettingsProto: @unchecked Sendable {} -extension GM3SettingsProto: @unchecked Sendable {} -extension GM43SettingsProto: @unchecked Sendable {} -extension GM44SettingsProto: @unchecked Sendable {} -extension GM45SettingsProto: @unchecked Sendable {} -extension GM45SettingsProto.Generator: @unchecked Sendable {} -extension GM46SettingsProto: @unchecked Sendable {} -extension GM47SettingsProto: @unchecked Sendable {} -extension GM49SettingsProto: @unchecked Sendable {} -extension GM51SettingsProto: @unchecked Sendable {} -extension GM53SettingsProto: @unchecked Sendable {} -extension GM53SettingsProto2: @unchecked Sendable {} -extension GM55SettingsProto: @unchecked Sendable {} -extension GM56SettingsProto: @unchecked Sendable {} -extension GM56SettingsProto2: @unchecked Sendable {} -extension GM57SettingsProto: @unchecked Sendable {} -extension GM58SettingsProto: @unchecked Sendable {} -extension GM59SettingsProto: @unchecked Sendable {} -extension GM60SettingsProto: @unchecked Sendable {} -extension GM60SettingsProto.ObGm60Data: @unchecked Sendable {} -extension GM60SettingsProto.ObGm60Data1: @unchecked Sendable {} -extension GM6SettingsProto: @unchecked Sendable {} -extension GM9SettingsProto: @unchecked Sendable {} -extension GamDetails: @unchecked Sendable {} -extension GameClientPhotoGalleryPoiImageProto: @unchecked Sendable {} -extension GameClientTelemetryOmniProto: @unchecked Sendable {} -extension GameClientTelemetryOmniProto.OneOf_TelemetryData: @unchecked Sendable {} -extension GameItemContentProto: @unchecked Sendable {} -extension GameMasterClientTemplateProto: @unchecked Sendable {} -extension GameMasterLanguageSettingsProto: @unchecked Sendable {} -extension GameMasterLocalProto: @unchecked Sendable {} -extension GameObjectLocationData: @unchecked Sendable {} -extension GameObjectLocationData.OffsetPosition: @unchecked Sendable {} -extension GameboardSettings: @unchecked Sendable {} -extension GameplayWeatherProto: @unchecked Sendable {} -extension GameplayWeatherProto.WeatherCondition: @unchecked Sendable {} -extension GarAccountInfoProto: @unchecked Sendable {} -extension GarProxyRequestProto: @unchecked Sendable {} -extension GarProxyResponseProto: @unchecked Sendable {} -extension GarProxyResponseProto.Status: @unchecked Sendable {} -extension GcmToken: @unchecked Sendable {} -extension GenerateCombatChallengeIdDataProto: @unchecked Sendable {} -extension GenerateCombatChallengeIdOutProto: @unchecked Sendable {} -extension GenerateCombatChallengeIdOutProto.Result: @unchecked Sendable {} -extension GenerateCombatChallengeIdProto: @unchecked Sendable {} -extension GenerateCombatChallengeIdResponseDataProto: @unchecked Sendable {} -extension GenerateGmapSignedUrlOutProto: @unchecked Sendable {} -extension GenerateGmapSignedUrlOutProto.Result: @unchecked Sendable {} -extension GenerateGmapSignedUrlProto: @unchecked Sendable {} -extension GeneratedCodeInfo: @unchecked Sendable {} -extension GeneratedCodeInfo.Annotation: @unchecked Sendable {} -extension GenericClickTelemetry: @unchecked Sendable {} -extension GenericReportData: @unchecked Sendable {} -extension GeoAssociation: @unchecked Sendable {} -extension GeodataServiceGameClientPoiProto: @unchecked Sendable {} -extension GeofenceMetadata: @unchecked Sendable {} -extension GeofenceUpdateOutProto: @unchecked Sendable {} -extension GeofenceUpdateProto: @unchecked Sendable {} -extension Geometry: @unchecked Sendable {} -extension Geometry.OneOf_Geometry: @unchecked Sendable {} -extension GeotargetedQuestProto: @unchecked Sendable {} -extension GeotargetedQuestSettingsProto: @unchecked Sendable {} -extension GeotargetedQuestValidation: @unchecked Sendable {} -extension GetARMappingSettingsOutProto: @unchecked Sendable {} -extension GetARMappingSettingsProto: @unchecked Sendable {} -extension GetAccountSettingsOutProto: @unchecked Sendable {} -extension GetAccountSettingsOutProto.Result: @unchecked Sendable {} -extension GetAccountSettingsProto: @unchecked Sendable {} -extension GetAckwowledgeInsenceRecapOutProto: @unchecked Sendable {} -extension GetAckwowledgeInsenceRecapOutProto.Result: @unchecked Sendable {} -extension GetActionLogRequest: @unchecked Sendable {} -extension GetActionLogResponse: @unchecked Sendable {} -extension GetActionLogResponse.Result: @unchecked Sendable {} -extension GetActiveSubscriptionsRequestProto: @unchecked Sendable {} -extension GetActiveSubscriptionsResponseProto: @unchecked Sendable {} -extension GetAdventureSyncFitnessReportRequestProto: @unchecked Sendable {} -extension GetAdventureSyncFitnessReportResponseProto: @unchecked Sendable {} -extension GetAdventureSyncFitnessReportResponseProto.Status: @unchecked Sendable {} -extension GetAdventureSyncProgressOutProto: @unchecked Sendable {} -extension GetAdventureSyncProgressOutProto.Status: @unchecked Sendable {} -extension GetAdventureSyncProgressProto: @unchecked Sendable {} -extension GetAdventureSyncSettingsRequestProto: @unchecked Sendable {} -extension GetAdventureSyncSettingsResponseProto: @unchecked Sendable {} -extension GetAdventureSyncSettingsResponseProto.Status: @unchecked Sendable {} -extension GetAvailableSkusAndBalancesOutProto: @unchecked Sendable {} -extension GetAvailableSkusAndBalancesOutProto.Status: @unchecked Sendable {} -extension GetAvailableSkusAndBalancesProto: @unchecked Sendable {} -extension GetAvailableSubmissionsOutProto: @unchecked Sendable {} -extension GetAvailableSubmissionsProto: @unchecked Sendable {} -extension GetAvailableSubscriptionsRequestProto: @unchecked Sendable {} -extension GetAvailableSubscriptionsResponseProto: @unchecked Sendable {} -extension GetAvailableSubscriptionsResponseProto.Status: @unchecked Sendable {} -extension GetBackgroundModeSettingsOutProto: @unchecked Sendable {} -extension GetBackgroundModeSettingsOutProto.Status: @unchecked Sendable {} -extension GetBackgroundModeSettingsProto: @unchecked Sendable {} -extension GetBuddyHistoryOutProto: @unchecked Sendable {} -extension GetBuddyHistoryOutProto.Result: @unchecked Sendable {} -extension GetBuddyHistoryProto: @unchecked Sendable {} -extension GetBuddyWalkedOutProto: @unchecked Sendable {} -extension GetBuddyWalkedProto: @unchecked Sendable {} -extension GetClientFeatureFlagsRequest: @unchecked Sendable {} -extension GetClientFeatureFlagsResponse: @unchecked Sendable {} -extension GetClientSettingsRequest: @unchecked Sendable {} -extension GetClientSettingsResponse: @unchecked Sendable {} -extension GetClientSettingsResponse.PhoneNumberSettings: @unchecked Sendable {} -extension GetCombatChallengeDataProto: @unchecked Sendable {} -extension GetCombatChallengeOutProto: @unchecked Sendable {} -extension GetCombatChallengeOutProto.Result: @unchecked Sendable {} -extension GetCombatChallengeProto: @unchecked Sendable {} -extension GetCombatChallengeResponseDataProto: @unchecked Sendable {} -extension GetCombatPlayerProfileDataProto: @unchecked Sendable {} -extension GetCombatPlayerProfileOutProto: @unchecked Sendable {} -extension GetCombatPlayerProfileOutProto.Result: @unchecked Sendable {} -extension GetCombatPlayerProfileProto: @unchecked Sendable {} -extension GetCombatPlayerProfileResponseDataProto: @unchecked Sendable {} -extension GetCombatResultsOutProto: @unchecked Sendable {} -extension GetCombatResultsOutProto.Result: @unchecked Sendable {} -extension GetCombatResultsOutProto.CombatRematchProto: @unchecked Sendable {} -extension GetCombatResultsProto: @unchecked Sendable {} -extension GetContactListInfoRequest: @unchecked Sendable {} -extension GetContactListInfoResponse: @unchecked Sendable {} -extension GetContestDataOutProto: @unchecked Sendable {} -extension GetContestDataOutProto.Status: @unchecked Sendable {} -extension GetContestDataProto: @unchecked Sendable {} -extension GetContestsUnclaimedRewardsOutProto: @unchecked Sendable {} -extension GetContestsUnclaimedRewardsOutProto.Status: @unchecked Sendable {} -extension GetContestsUnclaimedRewardsProto: @unchecked Sendable {} -extension GetDailyEncounterOutProto: @unchecked Sendable {} -extension GetDailyEncounterOutProto.Result: @unchecked Sendable {} -extension GetDailyEncounterProto: @unchecked Sendable {} -extension GetEnteredContestOutProto: @unchecked Sendable {} -extension GetEnteredContestOutProto.Status: @unchecked Sendable {} -extension GetEnteredContestProto: @unchecked Sendable {} -extension GetFacebookFriendListOutProto: @unchecked Sendable {} -extension GetFacebookFriendListOutProto.Result: @unchecked Sendable {} -extension GetFacebookFriendListOutProto.FacebookFriendProto: @unchecked Sendable {} -extension GetFacebookFriendListProto: @unchecked Sendable {} -extension GetFitnessReportOutProto: @unchecked Sendable {} -extension GetFitnessReportOutProto.Status: @unchecked Sendable {} -extension GetFitnessReportProto: @unchecked Sendable {} -extension GetFitnessRewardsOutProto: @unchecked Sendable {} -extension GetFitnessRewardsOutProto.Result: @unchecked Sendable {} -extension GetFitnessRewardsProto: @unchecked Sendable {} -extension GetFriendCodeOutProto: @unchecked Sendable {} -extension GetFriendCodeOutProto.Result: @unchecked Sendable {} -extension GetFriendCodeProto: @unchecked Sendable {} -extension GetFriendDetailsOutProto: @unchecked Sendable {} -extension GetFriendDetailsOutProto.Result: @unchecked Sendable {} -extension GetFriendDetailsOutProto.DebugProto: @unchecked Sendable {} -extension GetFriendDetailsOutProto.DebugProto.Callee: @unchecked Sendable {} -extension GetFriendDetailsProto: @unchecked Sendable {} -extension GetFriendDetailsRequest: @unchecked Sendable {} -extension GetFriendDetailsResponse: @unchecked Sendable {} -extension GetFriendDetailsResponse.Result: @unchecked Sendable {} -extension GetFriendDetailsResponse.FriendDetailsEntryProto: @unchecked Sendable {} -extension GetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus: @unchecked Sendable {} -extension GetFriendDetailsResponse.PlayerStatusDetailsProto: @unchecked Sendable {} -extension GetFriendDetailsResponse.PlayerStatusDetailsProto.Result: @unchecked Sendable {} -extension GetFriendRecommendationRequest: @unchecked Sendable {} -extension GetFriendRecommendationResponse: @unchecked Sendable {} -extension GetFriendRecommendationResponse.Result: @unchecked Sendable {} -extension GetFriendsListOutProto: @unchecked Sendable {} -extension GetFriendsListOutProto.Result: @unchecked Sendable {} -extension GetFriendsListOutProto.FriendProto: @unchecked Sendable {} -extension GetFriendsListOutProto.FriendProto.OnlineStatus: @unchecked Sendable {} -extension GetFriendsListOutProto.SharedFriendshipProto: @unchecked Sendable {} -extension GetFriendsListProto: @unchecked Sendable {} -extension GetFriendshipRewardsOutProto: @unchecked Sendable {} -extension GetFriendshipRewardsOutProto.Result: @unchecked Sendable {} -extension GetFriendshipRewardsProto: @unchecked Sendable {} -extension GetGameAccessTokenOutProto: @unchecked Sendable {} -extension GetGameAccessTokenOutProto.Values: @unchecked Sendable {} -extension GetGameAccessTokenOutProto.Values.Result: @unchecked Sendable {} -extension GetGameAccessTokenOutProto.Values.User: @unchecked Sendable {} -extension GetGameAccessTokenProto: @unchecked Sendable {} -extension GetGameAccessTokenProto.TokenId: @unchecked Sendable {} -extension GetGameMasterClientTemplatesOutProto: @unchecked Sendable {} -extension GetGameMasterClientTemplatesOutProto.Result: @unchecked Sendable {} -extension GetGameMasterClientTemplatesProto: @unchecked Sendable {} -extension GetGeofencedAdOutProto: @unchecked Sendable {} -extension GetGeofencedAdOutProto.Result: @unchecked Sendable {} -extension GetGeofencedAdProto: @unchecked Sendable {} -extension GetGiftBoxDetailsOutProto: @unchecked Sendable {} -extension GetGiftBoxDetailsOutProto.Result: @unchecked Sendable {} -extension GetGiftBoxDetailsProto: @unchecked Sendable {} -extension GetGmapSettingsOutProto: @unchecked Sendable {} -extension GetGmapSettingsOutProto.Result: @unchecked Sendable {} -extension GetGmapSettingsProto: @unchecked Sendable {} -extension GetGrapeshotUploadUrlOutProto: @unchecked Sendable {} -extension GetGrapeshotUploadUrlOutProto.Status: @unchecked Sendable {} -extension GetGrapeshotUploadUrlProto: @unchecked Sendable {} -extension GetGymBadgeDetailsOutProto: @unchecked Sendable {} -extension GetGymBadgeDetailsProto: @unchecked Sendable {} -extension GetGymDetailsOutProto: @unchecked Sendable {} -extension GetGymDetailsOutProto.Result: @unchecked Sendable {} -extension GetGymDetailsProto: @unchecked Sendable {} -extension GetHatchedEggsOutProto: @unchecked Sendable {} -extension GetHatchedEggsProto: @unchecked Sendable {} -extension GetHoloholoInventoryOutProto: @unchecked Sendable {} -extension GetHoloholoInventoryProto: @unchecked Sendable {} -extension GetImageGallerySettingsOutProto: @unchecked Sendable {} -extension GetImageGallerySettingsProto: @unchecked Sendable {} -extension GetImagesForPoiOutProto: @unchecked Sendable {} -extension GetImagesForPoiOutProto.Status: @unchecked Sendable {} -extension GetImagesForPoiProto: @unchecked Sendable {} -extension GetInboxOutProto: @unchecked Sendable {} -extension GetInboxOutProto.Result: @unchecked Sendable {} -extension GetInboxProto: @unchecked Sendable {} -extension GetInboxV2Proto: @unchecked Sendable {} -extension GetIncensePokemonOutProto: @unchecked Sendable {} -extension GetIncensePokemonOutProto.Result: @unchecked Sendable {} -extension GetIncensePokemonProto: @unchecked Sendable {} -extension GetIncomingFriendInvitesOutProto: @unchecked Sendable {} -extension GetIncomingFriendInvitesOutProto.Result: @unchecked Sendable {} -extension GetIncomingFriendInvitesProto: @unchecked Sendable {} -extension GetIncomingGameInvitesRequest: @unchecked Sendable {} -extension GetIncomingGameInvitesResponse: @unchecked Sendable {} -extension GetIncomingGameInvitesResponse.Result: @unchecked Sendable {} -extension GetIncomingGameInvitesResponse.IncomingGameInvite: @unchecked Sendable {} -extension GetIncomingGameInvitesResponse.IncomingGameInvite.Status: @unchecked Sendable {} -extension GetInsenceRecapOutProto: @unchecked Sendable {} -extension GetInsenceRecapOutProto.Status: @unchecked Sendable {} -extension GetInsenceRecapProto: @unchecked Sendable {} -extension GetInventoryProto: @unchecked Sendable {} -extension GetInventoryResponseProto: @unchecked Sendable {} -extension GetLocalTimeOutProto: @unchecked Sendable {} -extension GetLocalTimeOutProto.Status: @unchecked Sendable {} -extension GetLocalTimeOutProto.LocalTimeProto: @unchecked Sendable {} -extension GetLocalTimeProto: @unchecked Sendable {} -extension GetMapDataOutProto: @unchecked Sendable {} -extension GetMapDataOutProto.Status: @unchecked Sendable {} -extension GetMapDataProto: @unchecked Sendable {} -extension GetMapFortsOutProto: @unchecked Sendable {} -extension GetMapFortsOutProto.Status: @unchecked Sendable {} -extension GetMapFortsOutProto.FortProto: @unchecked Sendable {} -extension GetMapFortsOutProto.Image: @unchecked Sendable {} -extension GetMapFortsProto: @unchecked Sendable {} -extension GetMapObjectsOutProto: @unchecked Sendable {} -extension GetMapObjectsOutProto.Status: @unchecked Sendable {} -extension GetMapObjectsOutProto.TimeOfDay: @unchecked Sendable {} -extension GetMapObjectsOutProto.ObOtherProto: @unchecked Sendable {} -extension GetMapObjectsProto: @unchecked Sendable {} -extension GetMapObjectsTriggerTelemetry: @unchecked Sendable {} -extension GetMapObjectsTriggerTelemetry.TriggerType: @unchecked Sendable {} -extension GetMaptilesSettingsRequest: @unchecked Sendable {} -extension GetMaptilesSettingsRequest.OneOf_ClientVersion: @unchecked Sendable {} -extension GetMaptilesSettingsResponse: @unchecked Sendable {} -extension GetMaptilesSettingsResponse.Status: @unchecked Sendable {} -extension GetMatchmakingStatusDataProto: @unchecked Sendable {} -extension GetMatchmakingStatusOutProto: @unchecked Sendable {} -extension GetMatchmakingStatusOutProto.Result: @unchecked Sendable {} -extension GetMatchmakingStatusProto: @unchecked Sendable {} -extension GetMatchmakingStatusResponseDataProto: @unchecked Sendable {} -extension GetMementoListOutProto: @unchecked Sendable {} -extension GetMementoListOutProto.Status: @unchecked Sendable {} -extension GetMementoListProto: @unchecked Sendable {} -extension GetMilestonesOutProto: @unchecked Sendable {} -extension GetMilestonesOutProto.Status: @unchecked Sendable {} -extension GetMilestonesPreviewOutProto: @unchecked Sendable {} -extension GetMilestonesPreviewOutProto.Status: @unchecked Sendable {} -extension GetMilestonesPreviewProto: @unchecked Sendable {} -extension GetMilestonesProto: @unchecked Sendable {} -extension GetMyAccountRequest: @unchecked Sendable {} -extension GetMyAccountResponse: @unchecked Sendable {} -extension GetMyAccountResponse.Status: @unchecked Sendable {} -extension GetMyAccountResponse.ContactProto: @unchecked Sendable {} -extension GetMyAccountResponse.ContactProto.TypeEnum: @unchecked Sendable {} -extension GetNewQuestsOutProto: @unchecked Sendable {} -extension GetNewQuestsOutProto.Status: @unchecked Sendable {} -extension GetNewQuestsProto: @unchecked Sendable {} -extension GetNintendoAccountOutProto: @unchecked Sendable {} -extension GetNintendoAccountOutProto.Status: @unchecked Sendable {} -extension GetNintendoAccountProto: @unchecked Sendable {} -extension GetNintendoOAuth2UrlOutProto: @unchecked Sendable {} -extension GetNintendoOAuth2UrlOutProto.Status: @unchecked Sendable {} -extension GetNintendoOAuth2UrlProto: @unchecked Sendable {} -extension GetNotificationInboxOutProto: @unchecked Sendable {} -extension GetNotificationInboxOutProto.Result: @unchecked Sendable {} -extension GetNpcCombatRewardsOutProto: @unchecked Sendable {} -extension GetNpcCombatRewardsOutProto.Result: @unchecked Sendable {} -extension GetNpcCombatRewardsProto: @unchecked Sendable {} -extension GetOutgoingBlocksOutProto: @unchecked Sendable {} -extension GetOutgoingBlocksProto: @unchecked Sendable {} -extension GetOutgoingFriendInvitesOutProto: @unchecked Sendable {} -extension GetOutgoingFriendInvitesOutProto.Result: @unchecked Sendable {} -extension GetOutgoingFriendInvitesProto: @unchecked Sendable {} -extension GetOutstandingWarningsRequestProto: @unchecked Sendable {} -extension GetOutstandingWarningsResponseProto: @unchecked Sendable {} -extension GetOutstandingWarningsResponseProto.WarningInfo: @unchecked Sendable {} -extension GetPhotobombOutProto: @unchecked Sendable {} -extension GetPhotobombOutProto.Status: @unchecked Sendable {} -extension GetPhotobombProto: @unchecked Sendable {} -extension GetPhotosOutProto: @unchecked Sendable {} -extension GetPhotosOutProto.Result: @unchecked Sendable {} -extension GetPhotosProto: @unchecked Sendable {} -extension GetPhotosProto.PhotoSpec: @unchecked Sendable {} -extension GetPhotosProto.PhotoSpec.GetPhotosMode: @unchecked Sendable {} -extension GetPlayerDayOutProto: @unchecked Sendable {} -extension GetPlayerDayOutProto.Result: @unchecked Sendable {} -extension GetPlayerDayProto: @unchecked Sendable {} -extension GetPlayerOutProto: @unchecked Sendable {} -extension GetPlayerProto: @unchecked Sendable {} -extension GetPlayerSettingsOutProto: @unchecked Sendable {} -extension GetPlayerSettingsOutProto.Result: @unchecked Sendable {} -extension GetPlayerSettingsProto: @unchecked Sendable {} -extension GetPlayerSubmissionValidationSettingsOutProto: @unchecked Sendable {} -extension GetPlayerSubmissionValidationSettingsProto: @unchecked Sendable {} -extension GetPoisInRadiusOutProto: @unchecked Sendable {} -extension GetPoisInRadiusOutProto.Status: @unchecked Sendable {} -extension GetPoisInRadiusProto: @unchecked Sendable {} -extension GetPokemonSizeContestEntryOutProto: @unchecked Sendable {} -extension GetPokemonSizeContestEntryOutProto.Status: @unchecked Sendable {} -extension GetPokemonSizeContestEntryProto: @unchecked Sendable {} -extension GetPokemonTagsOutProto: @unchecked Sendable {} -extension GetPokemonTagsOutProto.Result: @unchecked Sendable {} -extension GetPokemonTagsProto: @unchecked Sendable {} -extension GetPokestopEncounterOutProto: @unchecked Sendable {} -extension GetPokestopEncounterOutProto.Status: @unchecked Sendable {} -extension GetPokestopEncounterProto: @unchecked Sendable {} -extension GetProfileRequest: @unchecked Sendable {} -extension GetProfileResponse: @unchecked Sendable {} -extension GetProfileResponse.Result: @unchecked Sendable {} -extension GetProfileResponse.PlayerProfileDetailsProto: @unchecked Sendable {} -extension GetPublishedRoutesOutProto: @unchecked Sendable {} -extension GetPublishedRoutesOutProto.Result: @unchecked Sendable {} -extension GetPublishedRoutesProto: @unchecked Sendable {} -extension GetQuestDetailsOutProto: @unchecked Sendable {} -extension GetQuestDetailsOutProto.Status: @unchecked Sendable {} -extension GetQuestDetailsProto: @unchecked Sendable {} -extension GetRaidDetailsDataProto: @unchecked Sendable {} -extension GetRaidDetailsOutProto: @unchecked Sendable {} -extension GetRaidDetailsOutProto.Result: @unchecked Sendable {} -extension GetRaidDetailsProto: @unchecked Sendable {} -extension GetRaidDetailsResponseDataProto: @unchecked Sendable {} -extension GetRaidLobbyCounterOutProto: @unchecked Sendable {} -extension GetRaidLobbyCounterOutProto.Result: @unchecked Sendable {} -extension GetRaidLobbyCounterProto: @unchecked Sendable {} -extension GetReferralCodeOutProto: @unchecked Sendable {} -extension GetReferralCodeOutProto.Status: @unchecked Sendable {} -extension GetReferralCodeProto: @unchecked Sendable {} -extension GetRemoteConfigVersionsOutProto: @unchecked Sendable {} -extension GetRemoteConfigVersionsOutProto.Result: @unchecked Sendable {} -extension GetRemoteConfigVersionsProto: @unchecked Sendable {} -extension GetRocketBalloonOutProto: @unchecked Sendable {} -extension GetRocketBalloonOutProto.Status: @unchecked Sendable {} -extension GetRocketBalloonProto: @unchecked Sendable {} -extension GetRoutesOutProto: @unchecked Sendable {} -extension GetRoutesOutProto.Status: @unchecked Sendable {} -extension GetRoutesProto: @unchecked Sendable {} -extension GetServerTimeOutProto: @unchecked Sendable {} -extension GetServerTimeOutProto.Status: @unchecked Sendable {} -extension GetServerTimeProto: @unchecked Sendable {} -extension GetSignedUrlOutProto: @unchecked Sendable {} -extension GetSignedUrlOutProto.Result: @unchecked Sendable {} -extension GetSignedUrlProto: @unchecked Sendable {} -extension GetStardustQuestProto: @unchecked Sendable {} -extension GetTimedGroupChallengeOutProto: @unchecked Sendable {} -extension GetTimedGroupChallengeOutProto.Status: @unchecked Sendable {} -extension GetTimedGroupChallengeProto: @unchecked Sendable {} -extension GetTodayViewOutProto: @unchecked Sendable {} -extension GetTodayViewOutProto.Status: @unchecked Sendable {} -extension GetTodayViewProto: @unchecked Sendable {} -extension GetTradingOutProto: @unchecked Sendable {} -extension GetTradingOutProto.Result: @unchecked Sendable {} -extension GetTradingProto: @unchecked Sendable {} -extension GetTutorialEggOutProto: @unchecked Sendable {} -extension GetTutorialEggOutProto.Result: @unchecked Sendable {} -extension GetTutorialEggProto: @unchecked Sendable {} -extension GetUploadUrlOutProto: @unchecked Sendable {} -extension GetUploadUrlOutProto.Status: @unchecked Sendable {} -extension GetUploadUrlProto: @unchecked Sendable {} -extension GetUserRequestProto: @unchecked Sendable {} -extension GetUserResponseProto: @unchecked Sendable {} -extension GetUserResponseProto.Status: @unchecked Sendable {} -extension GetVpsEventOutProto: @unchecked Sendable {} -extension GetVpsEventOutProto.Status: @unchecked Sendable {} -extension GetVpsEventProto: @unchecked Sendable {} -extension GetVsSeekerStatusOutProto: @unchecked Sendable {} -extension GetVsSeekerStatusOutProto.Result: @unchecked Sendable {} -extension GetVsSeekerStatusProto: @unchecked Sendable {} -extension GetWebTokenActionOutProto: @unchecked Sendable {} -extension GetWebTokenActionOutProto.Status: @unchecked Sendable {} -extension GetWebTokenActionProto: @unchecked Sendable {} -extension GetWebTokenOutProto: @unchecked Sendable {} -extension GetWebTokenOutProto.Status: @unchecked Sendable {} -extension GetWebTokenProto: @unchecked Sendable {} -extension GiftBoxDetailsProto: @unchecked Sendable {} -extension GiftBoxProto: @unchecked Sendable {} -extension GiftBoxesProto: @unchecked Sendable {} -extension GiftingEligibilityStatusProto: @unchecked Sendable {} -extension GiftingEligibilityStatusProto.Status: @unchecked Sendable {} -extension GiftingIapItemProto: @unchecked Sendable {} -extension GiftingSettingsProto: @unchecked Sendable {} -extension GiftingSettingsProto.StardustMultiplier: @unchecked Sendable {} -extension GlobalEventTicketAttributesProto: @unchecked Sendable {} -extension GlobalMetrics: @unchecked Sendable {} -extension GlobalSettingsProto: @unchecked Sendable {} -extension GmmSettings: @unchecked Sendable {} -extension GmtSettingsProto: @unchecked Sendable {} -extension GoogleMethodProto: @unchecked Sendable {} -extension GoogleToken: @unchecked Sendable {} -extension GpsSettingsProto: @unchecked Sendable {} -extension GrapeshotAuthenticationDataProto: @unchecked Sendable {} -extension GrapeshotChunkDataProto: @unchecked Sendable {} -extension GrapeshotComposeDataProto: @unchecked Sendable {} -extension GrapeshotUploadingDataProto: @unchecked Sendable {} -extension GroupChallengeCriteriaProto: @unchecked Sendable {} -extension GroupChallengeDisplayProto: @unchecked Sendable {} -extension GuestLoginAuthToken: @unchecked Sendable {} -extension GuestLoginSecretToken: @unchecked Sendable {} -extension GuiSearchSettingsProto: @unchecked Sendable {} -extension Gym: @unchecked Sendable {} -extension GymBadgeGmtSettingsProto: @unchecked Sendable {} -extension GymBadgeStats: @unchecked Sendable {} -extension GymBattleAttackOutProto: @unchecked Sendable {} -extension GymBattleAttackOutProto.Result: @unchecked Sendable {} -extension GymBattleAttackProto: @unchecked Sendable {} -extension GymBattleProto: @unchecked Sendable {} -extension GymBattleSettingsProto: @unchecked Sendable {} -extension GymDefenderProto: @unchecked Sendable {} -extension GymDeployOutProto: @unchecked Sendable {} -extension GymDeployOutProto.Result: @unchecked Sendable {} -extension GymDeployProto: @unchecked Sendable {} -extension GymDisplayProto: @unchecked Sendable {} -extension GymEventProto: @unchecked Sendable {} -extension GymEventProto.Event: @unchecked Sendable {} -extension GymFeedPokemonOutProto: @unchecked Sendable {} -extension GymFeedPokemonOutProto.Result: @unchecked Sendable {} -extension GymFeedPokemonProto: @unchecked Sendable {} -extension GymGetInfoOutProto: @unchecked Sendable {} -extension GymGetInfoOutProto.Result: @unchecked Sendable {} -extension GymGetInfoProto: @unchecked Sendable {} -extension GymLevelSettingsProto: @unchecked Sendable {} -extension GymMembershipProto: @unchecked Sendable {} -extension GymPokemonSectionProto: @unchecked Sendable {} -extension GymPokemonSectionProto.GymPokemonProto: @unchecked Sendable {} -extension GymStartSessionOutProto: @unchecked Sendable {} -extension GymStartSessionOutProto.Result: @unchecked Sendable {} -extension GymStartSessionProto: @unchecked Sendable {} -extension GymStateProto: @unchecked Sendable {} -extension GymStatusAndDefendersProto: @unchecked Sendable {} -extension HappeningNowSectionProto: @unchecked Sendable {} -extension HashedKeyProto: @unchecked Sendable {} -extension HelpshiftSettingsProto: @unchecked Sendable {} -extension HoloFitnessReportProto: @unchecked Sendable {} -extension HoloInventoryItemProto: @unchecked Sendable {} -extension HoloInventoryItemProto.OneOf_Type: @unchecked Sendable {} -extension HoloInventoryKeyProto: @unchecked Sendable {} -extension HoloInventoryKeyProto.OneOf_Type: @unchecked Sendable {} -extension HoloholoClientTelemetryOmniProto: @unchecked Sendable {} -extension HoloholoClientTelemetryOmniProto.OneOf_TelemetryData: @unchecked Sendable {} -extension HomeWidgetSettingsProto: @unchecked Sendable {} -extension HomeWidgetSettingsProto.HomeWidgetSettings_1: @unchecked Sendable {} -extension HomeWidgetSettingsProto.HomeWidgetSettings_2: @unchecked Sendable {} -extension HomeWidgetTelemetry: @unchecked Sendable {} -extension HomeWidgetTelemetry.Status: @unchecked Sendable {} -extension IapItemCategoryDisplayProto: @unchecked Sendable {} -extension IapItemDisplayProto: @unchecked Sendable {} -extension IapSettingsProto: @unchecked Sendable {} -extension IdfaSettingsProto: @unchecked Sendable {} -extension ImageGalleryTelemetry: @unchecked Sendable {} -extension ImageGalleryTelemetry.ImageGalleryEventId: @unchecked Sendable {} -extension ImageLogReportData: @unchecked Sendable {} -extension ImageModerationAttributes: @unchecked Sendable {} -extension ImageModerationAttributes.DetectionLikelihood: @unchecked Sendable {} -extension ImageProfanityReportData: @unchecked Sendable {} -extension ImageTextCreativeProto: @unchecked Sendable {} -extension ImplicitLocationProto: @unchecked Sendable {} -extension ImpressionTrackingSettingsProto: @unchecked Sendable {} -extension ImpressionTrackingTag: @unchecked Sendable {} -extension InAppPurchaseBalanceProto: @unchecked Sendable {} -extension InAppPurchaseSubscriptionEntry: @unchecked Sendable {} -extension InAppPurchaseSubscriptionInfo: @unchecked Sendable {} -extension InAppPurchaseSubscriptionInfo.NativeStoreVendor: @unchecked Sendable {} -extension InAppPurchaseSubscriptionInfo.PaymentState: @unchecked Sendable {} -extension InAppPurchaseSubscriptionInfo.State: @unchecked Sendable {} -extension InAppPurchaseSubscriptionInfo.PurchasePeriod: @unchecked Sendable {} -extension InGamePurchaseDetails: @unchecked Sendable {} -extension IncenseAttributesProto: @unchecked Sendable {} -extension IncenseEncounterOutProto: @unchecked Sendable {} -extension IncenseEncounterOutProto.Result: @unchecked Sendable {} -extension IncenseEncounterProto: @unchecked Sendable {} -extension IncidentGlobalSettingsProto: @unchecked Sendable {} -extension IncidentLookupProto: @unchecked Sendable {} -extension IncidentPrioritySettingsProto: @unchecked Sendable {} -extension IncidentPrioritySettingsProto.IncidentPriority: @unchecked Sendable {} -extension IncidentRewardProto: @unchecked Sendable {} -extension IncidentTicketAttributesProto: @unchecked Sendable {} -extension IncidentVisibilitySettingsProto: @unchecked Sendable {} -extension IncomingFriendInviteDisplayProto: @unchecked Sendable {} -extension IncomingFriendInviteProto: @unchecked Sendable {} -extension IncomingFriendInviteProto.Status: @unchecked Sendable {} -extension IncubatorFlowSettingsProto: @unchecked Sendable {} -extension IndividualValueSettings: @unchecked Sendable {} -extension InitializationEvent: @unchecked Sendable {} -extension InputSettingsProto: @unchecked Sendable {} -extension Int32Value: @unchecked Sendable {} -extension Int64Value: @unchecked Sendable {} -extension InternalAuthProto: @unchecked Sendable {} -extension InvasionAvailabilitySettingsProto: @unchecked Sendable {} -extension InvasionAvailabilitySettingsProto.InvasionAvailabilitySettingsId: @unchecked Sendable {} -extension InvasionBattleResponseUpdateProto: @unchecked Sendable {} -extension InvasionBattleUpdateProto: @unchecked Sendable {} -extension InvasionCreateDetail: @unchecked Sendable {} -extension InvasionEncounterOutProto: @unchecked Sendable {} -extension InvasionEncounterOutProto.PremierBallsDisplayProto: @unchecked Sendable {} -extension InvasionEncounterProto: @unchecked Sendable {} -extension InvasionFinishedDisplayProto: @unchecked Sendable {} -extension InvasionNpcDisplaySettingsProto: @unchecked Sendable {} -extension InvasionOpenCombatSessionDataProto: @unchecked Sendable {} -extension InvasionOpenCombatSessionResponseDataProto: @unchecked Sendable {} -extension InvasionStatus: @unchecked Sendable {} -extension InvasionStatus.Status: @unchecked Sendable {} -extension InvasionTelemetry: @unchecked Sendable {} -extension InvasionVictoryLogEntry: @unchecked Sendable {} -extension InventoryDeltaProto: @unchecked Sendable {} -extension InventoryItemProto: @unchecked Sendable {} -extension InventoryItemProto.OneOf_InventoryItem: @unchecked Sendable {} -extension InventoryProto: @unchecked Sendable {} -extension InventoryProto.InventoryType: @unchecked Sendable {} -extension InventoryProto.DiffInventoryProto: @unchecked Sendable {} -extension InventorySettingsProto: @unchecked Sendable {} -extension InventoryUpgradeAttributesProto: @unchecked Sendable {} -extension InventoryUpgradeProto: @unchecked Sendable {} -extension InventoryUpgradesProto: @unchecked Sendable {} -extension InviteFacebookFriendOutProto: @unchecked Sendable {} -extension InviteFacebookFriendOutProto.Result: @unchecked Sendable {} -extension InviteFacebookFriendProto: @unchecked Sendable {} -extension InviteGameRequest: @unchecked Sendable {} -extension InviteGameResponse: @unchecked Sendable {} -extension InviteGameResponse.Status: @unchecked Sendable {} -extension IosDevice: @unchecked Sendable {} -extension IosSourceRevision: @unchecked Sendable {} -extension IsAccountBlockedOutProto: @unchecked Sendable {} -extension IsAccountBlockedProto: @unchecked Sendable {} -extension IsMyFriendOutProto: @unchecked Sendable {} -extension IsMyFriendOutProto.Result: @unchecked Sendable {} -extension IsMyFriendProto: @unchecked Sendable {} -extension IsSkuAvailableOutProto: @unchecked Sendable {} -extension IsSkuAvailableProto: @unchecked Sendable {} -extension ItemInventoryUpdateSettingsProto: @unchecked Sendable {} -extension ItemInventoryUpdateSettingsProto.ItemCategories: @unchecked Sendable {} -extension ItemProto: @unchecked Sendable {} -extension ItemRapportDataProto: @unchecked Sendable {} -extension ItemRapportDataProto.OneOf_Data: @unchecked Sendable {} -extension ItemRapportDataProto.ItemStatus: @unchecked Sendable {} -extension ItemRewardProto: @unchecked Sendable {} -extension ItemSettingsProto: @unchecked Sendable {} -extension ItemTelemetry: @unchecked Sendable {} -extension JoinBuddyMultiplayerSessionOutProto: @unchecked Sendable {} -extension JoinBuddyMultiplayerSessionOutProto.Result: @unchecked Sendable {} -extension JoinBuddyMultiplayerSessionProto: @unchecked Sendable {} -extension JoinInformationProto: @unchecked Sendable {} -extension JoinLobbyDataProto: @unchecked Sendable {} -extension JoinLobbyOutProto: @unchecked Sendable {} -extension JoinLobbyOutProto.Result: @unchecked Sendable {} -extension JoinLobbyProto: @unchecked Sendable {} -extension JoinLobbyResponseDataProto: @unchecked Sendable {} -extension JournalAddEntryProto: @unchecked Sendable {} -extension JournalEntryProto: @unchecked Sendable {} -extension JournalEntryProto.OneOf_Subentry: @unchecked Sendable {} -extension JournalReadEntryProto: @unchecked Sendable {} -extension JournalRemoveEntryProto: @unchecked Sendable {} -extension JournalVersionProto: @unchecked Sendable {} -extension KangarooSettingsProto: @unchecked Sendable {} -extension KoalaSettingsProto: @unchecked Sendable {} -extension Label: @unchecked Sendable {} -extension LabelAdditionSpec: @unchecked Sendable {} -extension LabelBlockSpec: @unchecked Sendable {} -extension LabelContent: @unchecked Sendable {} -extension LabelContentLocalization: @unchecked Sendable {} -extension LabelGeometry: @unchecked Sendable {} -extension LabelTile: @unchecked Sendable {} -extension LanguageData: @unchecked Sendable {} -extension LanguageSelectorSettingsProto: @unchecked Sendable {} -extension LanguageTelemetry: @unchecked Sendable {} -extension LatLongBoundingBox: @unchecked Sendable {} -extension Layer: @unchecked Sendable {} -extension LayerRule: @unchecked Sendable {} -extension LayerRule.GmmLayerType: @unchecked Sendable {} -extension LayerRule.GmmRoadPriority: @unchecked Sendable {} -extension LeagueIdMismatchDataProto: @unchecked Sendable {} -extension LeaveBuddyMultiplayerSessionOutProto: @unchecked Sendable {} -extension LeaveBuddyMultiplayerSessionOutProto.Result: @unchecked Sendable {} -extension LeaveBuddyMultiplayerSessionProto: @unchecked Sendable {} -extension LeaveInteractionRangeTelemetry: @unchecked Sendable {} -extension LeaveLobbyDataProto: @unchecked Sendable {} -extension LeaveLobbyOutProto: @unchecked Sendable {} -extension LeaveLobbyOutProto.Result: @unchecked Sendable {} -extension LeaveLobbyProto: @unchecked Sendable {} -extension LeaveLobbyResponseDataProto: @unchecked Sendable {} -extension LeavePointOfInterestTelemetry: @unchecked Sendable {} -extension LegalHold: @unchecked Sendable {} -extension LevelSettingsProto: @unchecked Sendable {} -extension LevelUpRewardsOutProto: @unchecked Sendable {} -extension LevelUpRewardsOutProto.Result: @unchecked Sendable {} -extension LevelUpRewardsProto: @unchecked Sendable {} -extension LevelUpRewardsSettingsProto: @unchecked Sendable {} -extension LeveledUpFriendsProto: @unchecked Sendable {} -extension LightshipServiceEvent: @unchecked Sendable {} -extension LimitedEditionPokemonEncounterRewardProto: @unchecked Sendable {} -extension LimitedEditionPokemonEncounterRewardProto.OneOf_Limit: @unchecked Sendable {} -extension LimitedPurchaseSkuRecordProto: @unchecked Sendable {} -extension LimitedPurchaseSkuRecordProto.ChronoUnit: @unchecked Sendable {} -extension LimitedPurchaseSkuRecordProto.PurchaseProto: @unchecked Sendable {} -extension LimitedPurchaseSkuSettingsProto: @unchecked Sendable {} -extension LineProto: @unchecked Sendable {} -extension LinkLoginTelemetry: @unchecked Sendable {} -extension LinkToAccountLoginRequestProto: @unchecked Sendable {} -extension LinkToAccountLoginResponseProto: @unchecked Sendable {} -extension LinkToAccountLoginResponseProto.Status: @unchecked Sendable {} -extension LiquidAttribute: @unchecked Sendable {} -extension LiquidAttribute.OneOf_Value: @unchecked Sendable {} -extension ListAvatarCustomizationsOutProto: @unchecked Sendable {} -extension ListAvatarCustomizationsOutProto.Label: @unchecked Sendable {} -extension ListAvatarCustomizationsOutProto.Result: @unchecked Sendable {} -extension ListAvatarCustomizationsOutProto.AvatarCustomization: @unchecked Sendable {} -extension ListAvatarCustomizationsProto: @unchecked Sendable {} -extension ListAvatarCustomizationsProto.Filter: @unchecked Sendable {} -extension ListFriendsRequest: @unchecked Sendable {} -extension ListFriendsResponse: @unchecked Sendable {} -extension ListFriendsResponse.Result: @unchecked Sendable {} -extension ListFriendsResponse.FriendSummaryProto: @unchecked Sendable {} -extension ListFriendsResponse.PlayerStatusSummaryProto: @unchecked Sendable {} -extension ListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult: @unchecked Sendable {} -extension ListFriendsResponse.ProfileSummaryProto: @unchecked Sendable {} -extension ListGymBadgesOutProto: @unchecked Sendable {} -extension ListGymBadgesProto: @unchecked Sendable {} -extension ListLoginActionOutProto: @unchecked Sendable {} -extension ListLoginActionProto: @unchecked Sendable {} -extension ListRouteBadgesOutProto: @unchecked Sendable {} -extension ListRouteBadgesProto: @unchecked Sendable {} -extension ListValue: @unchecked Sendable {} -extension LoadingScreenProto: @unchecked Sendable {} -extension LobbyAvailabilityProto: @unchecked Sendable {} -extension LobbyClientSettingsProto: @unchecked Sendable {} -extension LobbyPokemonProto: @unchecked Sendable {} -extension LobbyProto: @unchecked Sendable {} -extension LobbyVisibilityDataProto: @unchecked Sendable {} -extension LobbyVisibilityResponseDataProto: @unchecked Sendable {} -extension LocationCardDisplayProto: @unchecked Sendable {} -extension LocationCardFeatureSettingsProto: @unchecked Sendable {} -extension LocationCardSettingsProto: @unchecked Sendable {} -extension LocationData: @unchecked Sendable {} -extension LocationData.Format: @unchecked Sendable {} -extension LocationData.BoundingBox: @unchecked Sendable {} -extension LocationData.RelativeBoundingBox: @unchecked Sendable {} -extension LocationData.BinaryMask: @unchecked Sendable {} -extension LocationData.RelativeKeypoint: @unchecked Sendable {} -extension LocationE6Proto: @unchecked Sendable {} -extension LocationPingOutProto: @unchecked Sendable {} -extension LocationPingProto: @unchecked Sendable {} -extension LocationPingProto.PingReason: @unchecked Sendable {} -extension LogEventDropped: @unchecked Sendable {} -extension LogEventDropped.Reason: @unchecked Sendable {} -extension LogMessage: @unchecked Sendable {} -extension LogMessage.LogLevel: @unchecked Sendable {} -extension LogReportData: @unchecked Sendable {} -extension LogReportData.OneOf_ContentType: @unchecked Sendable {} -extension LogSourceMetrics: @unchecked Sendable {} -extension LoginActionTelemetry: @unchecked Sendable {} -extension LoginDetail: @unchecked Sendable {} -extension LoginNewPlayer: @unchecked Sendable {} -extension LoginNewPlayerCreateAccount: @unchecked Sendable {} -extension LoginReturningPlayer: @unchecked Sendable {} -extension LoginReturningPlayerSignIn: @unchecked Sendable {} -extension LoginSettingsProto: @unchecked Sendable {} -extension LoginStartup: @unchecked Sendable {} -extension LoopProto: @unchecked Sendable {} -extension LootItemProto: @unchecked Sendable {} -extension LootItemProto.OneOf_Type: @unchecked Sendable {} -extension LootProto: @unchecked Sendable {} -extension LuckyPokemonSettingsProto: @unchecked Sendable {} -extension ManagedPoseData: @unchecked Sendable {} -extension ManualReportData: @unchecked Sendable {} -extension MapArea: @unchecked Sendable {} -extension MapBuddySettingsProto: @unchecked Sendable {} -extension MapCompositionRoot: @unchecked Sendable {} -extension MapDisplaySettingsProto: @unchecked Sendable {} -extension MapDisplaySettingsProto.MapEffect: @unchecked Sendable {} -extension MapDisplaySettingsProto.MusicType: @unchecked Sendable {} -extension MapEventsTelemetry: @unchecked Sendable {} -extension MapInfoProto: @unchecked Sendable {} -extension MapObjectsInteractionRangeSettings: @unchecked Sendable {} -extension MapPointProto: @unchecked Sendable {} -extension MapPokemonProto: @unchecked Sendable {} -extension MapProvider: @unchecked Sendable {} -extension MapProvider.MapType: @unchecked Sendable {} -extension MapQueryRequestProto: @unchecked Sendable {} -extension MapQueryResponseProto: @unchecked Sendable {} -extension MapRighthandIconsTelemetry: @unchecked Sendable {} -extension MapRighthandIconsTelemetry.IconEvents: @unchecked Sendable {} -extension MapS2Cell: @unchecked Sendable {} -extension MapS2CellEntity: @unchecked Sendable {} -extension MapS2CellEntity.Location: @unchecked Sendable {} -extension MapSettingsProto: @unchecked Sendable {} -extension MapTile: @unchecked Sendable {} -extension MapTile3RequestProto: @unchecked Sendable {} -extension MapTile3RequestProto.TileFormat: @unchecked Sendable {} -extension MapTileBundle: @unchecked Sendable {} -extension MapTileDataProto: @unchecked Sendable {} -extension MapTileProto: @unchecked Sendable {} -extension MapTileProto.TextSizeEnum: @unchecked Sendable {} -extension MapTileProto.TileTypeEnum: @unchecked Sendable {} -extension MapTileProto.TileTypeVariantEnum: @unchecked Sendable {} -extension MapTileRequestHeader: @unchecked Sendable {} -extension MapTileRequestHeader.FetchType: @unchecked Sendable {} -extension MapTileRequestHeader.TextSize: @unchecked Sendable {} -extension MapTileRequestHeader.TileFormat: @unchecked Sendable {} -extension MapTileRequestHeader.TileOption: @unchecked Sendable {} -extension MapTileRequestProto: @unchecked Sendable {} -extension MapTileResponseHeader: @unchecked Sendable {} -extension MapTileResponseHeader.ResponseCode: @unchecked Sendable {} -extension MapTileResponseProto: @unchecked Sendable {} -extension MapsClientTelemetryOmniProto: @unchecked Sendable {} -extension MapsClientTelemetryOmniProto.OneOf_TelemetryEvent: @unchecked Sendable {} -extension MarkMilestoneAsViewedOutProto: @unchecked Sendable {} -extension MarkMilestoneAsViewedOutProto.Status: @unchecked Sendable {} -extension MarkMilestoneAsViewedProto: @unchecked Sendable {} -extension MarkMilestoneAsViewedProto.MilestoneLookupProto: @unchecked Sendable {} -extension MarkNewsfeedReadRequest: @unchecked Sendable {} -extension MarkNewsfeedReadResponse: @unchecked Sendable {} -extension MarkNewsfeedReadResponse.Result: @unchecked Sendable {} -extension MarkReadNewsArticleOutProto: @unchecked Sendable {} -extension MarkReadNewsArticleOutProto.Result: @unchecked Sendable {} -extension MarkReadNewsArticleProto: @unchecked Sendable {} -extension MarkTutorialCompleteOutProto: @unchecked Sendable {} -extension MarkTutorialCompleteProto: @unchecked Sendable {} -extension MaskedColor: @unchecked Sendable {} -extension MegaEvoGlobalSettingsProto: @unchecked Sendable {} -extension MegaEvoInfoProto: @unchecked Sendable {} -extension MegaEvoSettingsProto: @unchecked Sendable {} -extension MegaEvolvePokemonOutProto: @unchecked Sendable {} -extension MegaEvolvePokemonOutProto.Result: @unchecked Sendable {} -extension MegaEvolvePokemonProto: @unchecked Sendable {} -extension MegaEvolvePokemonSpeciesProto: @unchecked Sendable {} -extension MegaLevelCooldownSettingsProto: @unchecked Sendable {} -extension MegaLevelPerksProto: @unchecked Sendable {} -extension MegaLevelSettingsProto: @unchecked Sendable {} -extension MegaLevelUnlockSettingsProto: @unchecked Sendable {} -extension MementoAttributesProto: @unchecked Sendable {} -extension MementoAttributesProto.OneOf_Type: @unchecked Sendable {} -extension MessageFlag: @unchecked Sendable {} -extension MessageFlag.OneOf_Content: @unchecked Sendable {} -extension MessageFlags: @unchecked Sendable {} -extension MessageLogReportData: @unchecked Sendable {} -extension MessageOptions: @unchecked Sendable {} -extension MessageProfanityReportData: @unchecked Sendable {} -extension MessagingClientEvent: @unchecked Sendable {} -extension MessagingClientEvent.MessageType: @unchecked Sendable {} -extension MessagingClientEvent.SDKPlatform: @unchecked Sendable {} -extension MessagingClientEvent.Event: @unchecked Sendable {} -extension MessagingClientEventExtension: @unchecked Sendable {} -extension MethodDescriptorProto: @unchecked Sendable {} -extension MethodOptions: @unchecked Sendable {} -extension MetricData: @unchecked Sendable {} -extension MetricData.OneOf_DatapointValue: @unchecked Sendable {} -extension MetricData.Kind: @unchecked Sendable {} -extension MetricRecord: @unchecked Sendable {} -extension MiniCollectionBadgeData: @unchecked Sendable {} -extension MiniCollectionBadgeEvent: @unchecked Sendable {} -extension MiniCollectionPokemon: @unchecked Sendable {} -extension MiniCollectionPokemon.CollectType: @unchecked Sendable {} -extension MiniCollectionProto: @unchecked Sendable {} -extension MiniCollectionSectionProto: @unchecked Sendable {} -extension MissingTranslationTelemetry: @unchecked Sendable {} -extension Mixin: @unchecked Sendable {} -extension MonodepthDownloadTelemetry: @unchecked Sendable {} -extension MonodepthSettingsProto: @unchecked Sendable {} -extension MotivatedPokemonProto: @unchecked Sendable {} -extension MoveModifierGroup: @unchecked Sendable {} -extension MoveModifierProto: @unchecked Sendable {} -extension MoveModifierProto.MoveModifierMode: @unchecked Sendable {} -extension MoveModifierProto.MoveModifierType: @unchecked Sendable {} -extension MoveModifierProto.MoveModifierTarget: @unchecked Sendable {} -extension MoveModifierProto.ModifierCondition: @unchecked Sendable {} -extension MoveModifierProto.ModifierCondition.ConditionType: @unchecked Sendable {} -extension MoveSequenceSettingsProto: @unchecked Sendable {} -extension MoveSettingsProto: @unchecked Sendable {} -extension MultiPartQuestProto: @unchecked Sendable {} -extension MultiplayerColocalizationEvent: @unchecked Sendable {} -extension MultiplayerColocalizationEvent.OneOf_ColocalizationEvent: @unchecked Sendable {} -extension MultiplayerColocalizationInitializationEvent: @unchecked Sendable {} -extension MultiplayerConnectionEvent: @unchecked Sendable {} -extension MusicSettings: @unchecked Sendable {} -extension NMAClientPlayerProto: @unchecked Sendable {} -extension NMAGetPlayerOutProto: @unchecked Sendable {} -extension NMAGetPlayerOutProto.Status: @unchecked Sendable {} -extension NMAGetPlayerProto: @unchecked Sendable {} -extension NMAGetPlayerProto.OneOf_UserToken: @unchecked Sendable {} -extension NMAGetServerConfigOutProto: @unchecked Sendable {} -extension NMAGetServerConfigOutProto.Status: @unchecked Sendable {} -extension NMAGetServerConfigProto: @unchecked Sendable {} -extension NMAGetSurveyorProjectsOutProto: @unchecked Sendable {} -extension NMAGetSurveyorProjectsOutProto.ErrorStatus: @unchecked Sendable {} -extension NMAGetSurveyorProjectsProto: @unchecked Sendable {} -extension NMALightshipTokenProto: @unchecked Sendable {} -extension NMAProjectTaskProto: @unchecked Sendable {} -extension NMAProjectTaskProto.TaskType: @unchecked Sendable {} -extension NMASlimPoiImageData: @unchecked Sendable {} -extension NMASlimPoiProto: @unchecked Sendable {} -extension NMASurveyorProjectProto: @unchecked Sendable {} -extension NMASurveyorProjectProto.ProjectStatus: @unchecked Sendable {} -extension NMAThe8thWallAccessTokenProto: @unchecked Sendable {} -extension NMAThe8thWallAccountProto: @unchecked Sendable {} -extension NMAThe8thWallMetadataProto: @unchecked Sendable {} -extension NMAThe8thWallTokenProto: @unchecked Sendable {} -extension NMAUpdateSurveyorProjectOutProto: @unchecked Sendable {} -extension NMAUpdateSurveyorProjectOutProto.ErrorStatus: @unchecked Sendable {} -extension NMAUpdateSurveyorProjectProto: @unchecked Sendable {} -extension NMAUpdateUserOnboardingOutProto: @unchecked Sendable {} -extension NMAUpdateUserOnboardingOutProto.Status: @unchecked Sendable {} -extension NMAUpdateUserOnboardingProto: @unchecked Sendable {} -extension NamedMapSettings: @unchecked Sendable {} -extension NearbyPokemonProto: @unchecked Sendable {} -extension NearbyPokemonSettingsProto: @unchecked Sendable {} -extension NetworkTelemetry: @unchecked Sendable {} -extension NeutralAvatarItemProto: @unchecked Sendable {} -extension NeutralAvatarSettingsProto: @unchecked Sendable {} -extension NewInboxMessage: @unchecked Sendable {} -extension NewsArticleProto: @unchecked Sendable {} -extension NewsArticleProto.NewsTemplate: @unchecked Sendable {} -extension NewsFeedClientSettings: @unchecked Sendable {} -extension NewsGlobalSettingsProto: @unchecked Sendable {} -extension NewsPageTelemetry: @unchecked Sendable {} -extension NewsProto: @unchecked Sendable {} -extension NewsSettingProto: @unchecked Sendable {} -extension NewsfeedMetadata: @unchecked Sendable {} -extension NewsfeedPost: @unchecked Sendable {} -extension NewsfeedPost.NewsfeedChannel: @unchecked Sendable {} -extension NewsfeedPost.PreviewMetadata: @unchecked Sendable {} -extension NewsfeedPostRecord: @unchecked Sendable {} -extension NewsfeedTrackingRecordsMetadata: @unchecked Sendable {} -extension NiaAny: @unchecked Sendable {} -extension NianticProfileTelemetry: @unchecked Sendable {} -extension NianticProfileTelemetry.NianticProfileTelemetryIds: @unchecked Sendable {} -extension NianticPublicSharedLoginTokenSettings: @unchecked Sendable {} -extension NianticPublicSharedLoginTokenSettings.AppSettings: @unchecked Sendable {} -extension NianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings: @unchecked Sendable {} -extension NianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings: @unchecked Sendable {} -extension NianticPublicSharedLoginTokenSettings.ClientSettings: @unchecked Sendable {} -extension NianticSharedLoginProto: @unchecked Sendable {} -extension NicknamePokemonOutProto: @unchecked Sendable {} -extension NicknamePokemonOutProto.Result: @unchecked Sendable {} -extension NicknamePokemonProto: @unchecked Sendable {} -extension NicknamePokemonTelemetry: @unchecked Sendable {} -extension NodeAssociation: @unchecked Sendable {} -extension NonMaxSuppressionCalculatorOptions: @unchecked Sendable {} -extension NonMaxSuppressionCalculatorOptions.OverlapType: @unchecked Sendable {} -extension NonMaxSuppressionCalculatorOptions.NmsAlgorithm: @unchecked Sendable {} -extension NotificationPermissionsTelemetry: @unchecked Sendable {} -extension NotificationSettingsProto: @unchecked Sendable {} -extension NotifyContactListFriendsRequest: @unchecked Sendable {} -extension NotifyContactListFriendsResponse: @unchecked Sendable {} -extension NotifyContactListFriendsResponse.Result: @unchecked Sendable {} -extension NpcDialogueProto: @unchecked Sendable {} -extension NpcPokemonProto: @unchecked Sendable {} -extension OBOtherParty: @unchecked Sendable {} -extension OBOtherParty2: @unchecked Sendable {} -extension OBOtherPartyMode: @unchecked Sendable {} -extension OBOtherPartyMode1: @unchecked Sendable {} -extension OBOtherPartyUnkProto: @unchecked Sendable {} -extension OBPartyPlayOutProto: @unchecked Sendable {} -extension OBPartyPlayOutProto.Status: @unchecked Sendable {} -extension OBPartyPlayProtoField: @unchecked Sendable {} -extension ObAttractedPokemonOutProto: @unchecked Sendable {} -extension ObAttractedPokemonOutProto.Result: @unchecked Sendable {} -extension ObClientMapCellProto: @unchecked Sendable {} -extension ObCombatMismatchData: @unchecked Sendable {} -extension ObCombatMismatchData.OneOf_Data: @unchecked Sendable {} -extension ObCombatMismatchData.MismatchState: @unchecked Sendable {} -extension ObCombatMismatchData.MismatchState.TypeEnum: @unchecked Sendable {} -extension ObCombatProto: @unchecked Sendable {} -extension ObCombatSettings: @unchecked Sendable {} -extension ObCombatSettings1: @unchecked Sendable {} -extension ObCombatSpecialmovePlayerData: @unchecked Sendable {} -extension ObCommunCombatChallengeDataProto: @unchecked Sendable {} -extension ObCommunCombatDataProto: @unchecked Sendable {} -extension ObCommunWebCombatStateProto: @unchecked Sendable {} -extension ObCommunWebCombatStateProto.ObMaybePokemonData: @unchecked Sendable {} -extension ObCommunWebCombatStateProto.ObCommunWebCombatDataProto: @unchecked Sendable {} -extension ObContestUnknownProto2: @unchecked Sendable {} -extension ObEggIncubators1: @unchecked Sendable {} -extension ObEggIncubatorsInfos: @unchecked Sendable {} -extension ObEggIncubatorsState: @unchecked Sendable {} -extension ObEggIncubatorsStatus: @unchecked Sendable {} -extension ObEggStatus: @unchecked Sendable {} -extension ObEggStatus.Status: @unchecked Sendable {} -extension ObEggStatus.TypeEnum: @unchecked Sendable {} -extension ObEvoleField: @unchecked Sendable {} -extension ObFieldMessageOrResponseProto: @unchecked Sendable {} -extension ObFieldMessageOrResponseProtoOne: @unchecked Sendable {} -extension ObFieldMessageOrResponseProtoTwo: @unchecked Sendable {} -extension ObFormProto: @unchecked Sendable {} -extension ObFortModesProto: @unchecked Sendable {} -extension ObFortModesProto.Mode: @unchecked Sendable {} -extension ObFortModesProto.TypeEnum: @unchecked Sendable {} -extension ObMegaEvolvePokemon1Proto: @unchecked Sendable {} -extension ObMegaEvolvePokemon1Proto.ObMode: @unchecked Sendable {} -extension ObMegaEvolvePokemonProtoField: @unchecked Sendable {} -extension ObMegaEvolvePokemonProtoField.ObField: @unchecked Sendable {} -extension ObMethodUpdatePostcardOutProto: @unchecked Sendable {} -extension ObMethodUpdatePostcardOutProto.Result: @unchecked Sendable {} -extension ObNewGlobalSetting: @unchecked Sendable {} -extension ObNewGlobalSetting10: @unchecked Sendable {} -extension ObNewGlobalSetting13: @unchecked Sendable {} -extension ObNewGlobalSetting14: @unchecked Sendable {} -extension ObNewGlobalSetting15: @unchecked Sendable {} -extension ObNewGlobalSetting2: @unchecked Sendable {} -extension ObNewGlobalSetting4: @unchecked Sendable {} -extension ObNewGlobalSetting5: @unchecked Sendable {} -extension ObNewGlobalSetting5.ObMessage5: @unchecked Sendable {} -extension ObNewGlobalSetting6: @unchecked Sendable {} -extension ObNewGlobalSetting7: @unchecked Sendable {} -extension ObNewGlobalSetting8: @unchecked Sendable {} -extension ObNewGlobalSetting9: @unchecked Sendable {} -extension ObPartyPlayProto2: @unchecked Sendable {} -extension ObPartyPlayProto3: @unchecked Sendable {} -extension ObPartyPlayQuest2Proto: @unchecked Sendable {} -extension ObPartyPlayQuestOutProto: @unchecked Sendable {} -extension ObPartyPlayQuestOutProto.ObQuestData: @unchecked Sendable {} -extension ObPartyPlayQuestOutProto.ObQuestData.Status: @unchecked Sendable {} -extension ObPartyPlayQuestProto: @unchecked Sendable {} -extension ObPogoProtoUnknowProto: @unchecked Sendable {} -extension ObRaidClientSetting: @unchecked Sendable {} -extension ObRaidClientSetting1: @unchecked Sendable {} -extension ObRouteCreationOutProto: @unchecked Sendable {} -extension ObRouteCreationOutProto.Result: @unchecked Sendable {} -extension ObRoutesModesProto: @unchecked Sendable {} -extension ObRoutesModesProto.Mode: @unchecked Sendable {} -extension ObSharedRouteProto: @unchecked Sendable {} -extension ObSharedRouteProto.OneOf_Status: @unchecked Sendable {} -extension ObSponsoredBalloon: @unchecked Sendable {} -extension ObUnkRoutesProto: @unchecked Sendable {} -extension ObUnkRoutesProto.Status: @unchecked Sendable {} -extension ObUnknownOneOfProto: @unchecked Sendable {} -extension ObUnknownOneOfProto.OneOf_Update: @unchecked Sendable {} -extension ObUnknownOneOfProto.PartyUpdateProto: @unchecked Sendable {} -extension ObUnknownOneOfProto.PartyUpdateProto.OneOf_Update: @unchecked Sendable {} -extension ObUnknownOneOfProto.BootRaidUpdateProto: @unchecked Sendable {} -extension ObUnknownOneOfProto.MapObjectsUpdateProto: @unchecked Sendable {} -extension ObUnknownPartyObOneProto: @unchecked Sendable {} -extension ObUnknownPartyObProto: @unchecked Sendable {} -extension ObUnknownProto: @unchecked Sendable {} -extension ObUnknownProto2: @unchecked Sendable {} -extension ObUnkownEventFortProtoOneOutProto: @unchecked Sendable {} -extension ObUnkownEventFortProtoOneOutProto.Status: @unchecked Sendable {} -extension ObUnkownEventProtoOne: @unchecked Sendable {} -extension ObUnkownEventProtoOne.ObUnkownEventProtoOneDepOne: @unchecked Sendable {} -extension ObUnkownEventProtoOneDepTwo: @unchecked Sendable {} -extension ObUnkownEventProtoOneOutProto: @unchecked Sendable {} -extension ObUnkownEventProtoOneOutProto.Status: @unchecked Sendable {} -extension ObUnkownEventProtoTwo: @unchecked Sendable {} -extension ObUnkownOtherEventProtoOne: @unchecked Sendable {} -extension ObUnkownOtherEventProtoOne.UpdateType: @unchecked Sendable {} -extension ObUnkownOtherEventProtoTwo: @unchecked Sendable {} -extension ObUploadRaidClientLogRequest: @unchecked Sendable {} -extension OnApplicationFocusDataProto: @unchecked Sendable {} -extension OnApplicationPauseDataProto: @unchecked Sendable {} -extension OnApplicationQuitDataProto: @unchecked Sendable {} -extension OnboardingSettingsProto: @unchecked Sendable {} -extension OnboardingTelemetry: @unchecked Sendable {} -extension OnboardingV2SettingsProto: @unchecked Sendable {} -extension OneWaySharedFriendshipDataProto: @unchecked Sendable {} -extension OneofDescriptorProto: @unchecked Sendable {} -extension OneofOptions: @unchecked Sendable {} -extension OpenBuddyGiftOutProto: @unchecked Sendable {} -extension OpenBuddyGiftOutProto.Result: @unchecked Sendable {} -extension OpenBuddyGiftProto: @unchecked Sendable {} -extension OpenCampfireMapTelemetry: @unchecked Sendable {} -extension OpenCampfireMapTelemetry.SourcePage: @unchecked Sendable {} -extension OpenCombatChallengeDataProto: @unchecked Sendable {} -extension OpenCombatChallengeOutProto: @unchecked Sendable {} -extension OpenCombatChallengeOutProto.Result: @unchecked Sendable {} -extension OpenCombatChallengeProto: @unchecked Sendable {} -extension OpenCombatChallengeResponseDataProto: @unchecked Sendable {} -extension OpenCombatSessionDataProto: @unchecked Sendable {} -extension OpenCombatSessionOutProto: @unchecked Sendable {} -extension OpenCombatSessionOutProto.Result: @unchecked Sendable {} -extension OpenCombatSessionProto: @unchecked Sendable {} -extension OpenCombatSessionResponseDataProto: @unchecked Sendable {} -extension OpenGiftLogEntry: @unchecked Sendable {} -extension OpenGiftLogEntry.Result: @unchecked Sendable {} -extension OpenGiftOutProto: @unchecked Sendable {} -extension OpenGiftOutProto.Result: @unchecked Sendable {} -extension OpenGiftProto: @unchecked Sendable {} -extension OpenInvasionCombatSessionOutProto: @unchecked Sendable {} -extension OpenInvasionCombatSessionProto: @unchecked Sendable {} -extension OpenNpcCombatSessionDataProto: @unchecked Sendable {} -extension OpenNpcCombatSessionOutProto: @unchecked Sendable {} -extension OpenNpcCombatSessionOutProto.Result: @unchecked Sendable {} -extension OpenNpcCombatSessionProto: @unchecked Sendable {} -extension OpenNpcCombatSessionResponseDataProto: @unchecked Sendable {} -extension OpenSponsoredGiftOutProto: @unchecked Sendable {} -extension OpenSponsoredGiftOutProto.Result: @unchecked Sendable {} -extension OpenSponsoredGiftProto: @unchecked Sendable {} -extension OpenTradingOutProto: @unchecked Sendable {} -extension OpenTradingOutProto.Result: @unchecked Sendable {} -extension OpenTradingProto: @unchecked Sendable {} -extension OptOutProto: @unchecked Sendable {} -extension OptProto: @unchecked Sendable {} -extension Option: @unchecked Sendable {} -extension OutgoingFriendInviteDisplayProto: @unchecked Sendable {} -extension OutgoingFriendInviteProto: @unchecked Sendable {} -extension OutgoingFriendInviteProto.Status: @unchecked Sendable {} -extension ParticipationProto: @unchecked Sendable {} -extension PartyPlayInvitationDetails: @unchecked Sendable {} -extension PartyPlayLocationProto: @unchecked Sendable {} -extension PartyPlayProto: @unchecked Sendable {} -extension PartyRecommendationSettingsProto: @unchecked Sendable {} -extension PartyRecommendationSettingsProto.PartyRcommendationMode: @unchecked Sendable {} -extension PasscodeRedeemTelemetry: @unchecked Sendable {} -extension PasscodeRedemptionFlowRequest: @unchecked Sendable {} -extension PasscodeRedemptionFlowRequest.DevicePlatform: @unchecked Sendable {} -extension PasscodeRedemptionFlowResponse: @unchecked Sendable {} -extension PasscodeRedemptionFlowResponse.Status: @unchecked Sendable {} -extension PasscodeRedemptionFlowResponse.Reward: @unchecked Sendable {} -extension PasscodeRewardsLogEntry: @unchecked Sendable {} -extension PasscodeRewardsLogEntry.Result: @unchecked Sendable {} -extension PasscodeSettingsProto: @unchecked Sendable {} -extension PercentScrolledTelemetry: @unchecked Sendable {} -extension PermissionsFlowTelemetry: @unchecked Sendable {} -extension PgoAsyncFileUploadCompleteProto: @unchecked Sendable {} -extension PhoneNumberCountryProto: @unchecked Sendable {} -extension PhotoRecord: @unchecked Sendable {} -extension PhotoRecord.Status: @unchecked Sendable {} -extension PhotoSettingsProto: @unchecked Sendable {} -extension PhotobombCreateDetail: @unchecked Sendable {} -extension PingRequestProto: @unchecked Sendable {} -extension PingResponseProto: @unchecked Sendable {} -extension PixelPointProto: @unchecked Sendable {} -extension PlaceholderMessage: @unchecked Sendable {} -extension PlacementAccuracy: @unchecked Sendable {} -extension PlannedDowntimeSettingsProto: @unchecked Sendable {} -extension PlatypusRolloutSettingsProto: @unchecked Sendable {} -extension PlayerAttributeRewardProto: @unchecked Sendable {} -extension PlayerAttributesProto: @unchecked Sendable {} -extension PlayerAvatarProto: @unchecked Sendable {} -extension PlayerBadgeProto: @unchecked Sendable {} -extension PlayerCameraProto: @unchecked Sendable {} -extension PlayerCombatBadgeStatsProto: @unchecked Sendable {} -extension PlayerCombatStatsProto: @unchecked Sendable {} -extension PlayerContestBadgeStatsProto: @unchecked Sendable {} -extension PlayerContestStatsProto: @unchecked Sendable {} -extension PlayerCurrencyProto: @unchecked Sendable {} -extension PlayerFriendDisplayProto: @unchecked Sendable {} -extension PlayerHudNotificationClickTelemetry: @unchecked Sendable {} -extension PlayerInfo: @unchecked Sendable {} -extension PlayerLevelSettingsProto: @unchecked Sendable {} -extension PlayerLocaleProto: @unchecked Sendable {} -extension PlayerNeutralAvatarArticleConfiguration: @unchecked Sendable {} -extension PlayerNeutralAvatarBodyBlendParameters: @unchecked Sendable {} -extension PlayerNeutralAvatarEarSelectionParameters: @unchecked Sendable {} -extension PlayerNeutralAvatarEarSelectionParameters.Shape: @unchecked Sendable {} -extension PlayerNeutralAvatarEyeSelectionParameters: @unchecked Sendable {} -extension PlayerNeutralAvatarEyeSelectionParameters.Shape: @unchecked Sendable {} -extension PlayerNeutralAvatarFacePositionParameters: @unchecked Sendable {} -extension PlayerNeutralAvatarGradient: @unchecked Sendable {} -extension PlayerNeutralAvatarHeadBlendParameters: @unchecked Sendable {} -extension PlayerNeutralAvatarHeadSelectionParameters: @unchecked Sendable {} -extension PlayerNeutralAvatarHeadSelectionParameters.Shape: @unchecked Sendable {} -extension PlayerNeutralAvatarMouthSelectionParameters: @unchecked Sendable {} -extension PlayerNeutralAvatarMouthSelectionParameters.Shape: @unchecked Sendable {} -extension PlayerNeutralAvatarNoseSelectionParameters: @unchecked Sendable {} -extension PlayerNeutralAvatarNoseSelectionParameters.Shape: @unchecked Sendable {} -extension PlayerNeutralAvatarProto: @unchecked Sendable {} -extension PlayerNeutralAvatarProto.OneOf_Head: @unchecked Sendable {} -extension PlayerNeutralColorKey: @unchecked Sendable {} -extension PlayerPokecoinCapProto: @unchecked Sendable {} -extension PlayerPreferencesProto: @unchecked Sendable {} -extension PlayerPreferencesProto.PostcardTrainerInfoSharingPreference: @unchecked Sendable {} -extension PlayerProfileOutProto: @unchecked Sendable {} -extension PlayerProfileOutProto.Result: @unchecked Sendable {} -extension PlayerProfileOutProto.GymBadges: @unchecked Sendable {} -extension PlayerProfileOutProto.RouteBadges: @unchecked Sendable {} -extension PlayerProfileProto: @unchecked Sendable {} -extension PlayerPublicProfileProto: @unchecked Sendable {} -extension PlayerRaidInfoProto: @unchecked Sendable {} -extension PlayerReputationProto: @unchecked Sendable {} -extension PlayerReputationProto.CheatReputation: @unchecked Sendable {} -extension PlayerRouteStats: @unchecked Sendable {} -extension PlayerSettingsProto: @unchecked Sendable {} -extension PlayerShownLevelUpShareScreenTelemetry: @unchecked Sendable {} -extension PlayerSpawnablePokemonOutProto: @unchecked Sendable {} -extension PlayerSpawnablePokemonProto: @unchecked Sendable {} -extension PlayerStatsProto: @unchecked Sendable {} -extension PlayerStatsSnapshotsProto: @unchecked Sendable {} -extension PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto: @unchecked Sendable {} -extension PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto.Reason: @unchecked Sendable {} -extension PlayerStatus: @unchecked Sendable {} -extension PlayerStatus.Status: @unchecked Sendable {} -extension PlayerSubmissionResponseProto: @unchecked Sendable {} -extension PlayerSubmissionResponseProto.Status: @unchecked Sendable {} -extension PlayerSummaryProto: @unchecked Sendable {} -extension PoiCategorizationEntryTelemetry: @unchecked Sendable {} -extension PoiCategorizationEntryTelemetry.EntryType: @unchecked Sendable {} -extension PoiCategorizationOperationTelemetry: @unchecked Sendable {} -extension PoiCategorizationOperationTelemetry.OperationType: @unchecked Sendable {} -extension PoiCategoryRemovedTelemetry: @unchecked Sendable {} -extension PoiCategorySelectedTelemetry: @unchecked Sendable {} -extension PoiGlobalSettingsProto: @unchecked Sendable {} -extension PoiPlayerMetadataTelemetry: @unchecked Sendable {} -extension PoiSubmissionPhotoUploadErrorTelemetry: @unchecked Sendable {} -extension PoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds: @unchecked Sendable {} -extension PoiSubmissionTelemetry: @unchecked Sendable {} -extension PoiSubmissionTelemetry.PoiCameraStepIds: @unchecked Sendable {} -extension PoiSubmissionTelemetry.PoiSubmissionGuiEventId: @unchecked Sendable {} -extension PoiVideoSubmissionMetadataProto: @unchecked Sendable {} -extension PointList: @unchecked Sendable {} -extension PointProto: @unchecked Sendable {} -extension PokeBallAttributesProto: @unchecked Sendable {} -extension PokeCandyProto: @unchecked Sendable {} -extension PokecoinPurchaseDisplayGmtProto: @unchecked Sendable {} -extension PokecoinPurchaseDisplaySettingsProto: @unchecked Sendable {} -extension PokecoinSectionProto: @unchecked Sendable {} -extension PokedexCategoriesSettings: @unchecked Sendable {} -extension PokedexCategoriesSettings.PokedexCategoryData: @unchecked Sendable {} -extension PokedexCategoryMilestoneProto: @unchecked Sendable {} -extension PokedexCategoryMilestoneProto.Status: @unchecked Sendable {} -extension PokedexCategorySelectedTelemetry: @unchecked Sendable {} -extension PokedexEntryProto: @unchecked Sendable {} -extension PokedexEntryProto.PokedexCategoryStatus: @unchecked Sendable {} -extension PokedexEntryProto.TempEvoData: @unchecked Sendable {} -extension PokedexSizeStatsSettingsProto: @unchecked Sendable {} -extension PokedexStatProto: @unchecked Sendable {} -extension PokedexStatsProto: @unchecked Sendable {} -extension PokemonBulkUpgradeSettingsProto: @unchecked Sendable {} -extension PokemonCameraAttributesProto: @unchecked Sendable {} -extension PokemonCandyRewardProto: @unchecked Sendable {} -extension PokemonCombatStatsProto: @unchecked Sendable {} -extension PokemonCompareChallenge: @unchecked Sendable {} -extension PokemonCompareChallenge.CompareOperation: @unchecked Sendable {} -extension PokemonCompareChallenge.CompareStat: @unchecked Sendable {} -extension PokemonContestInfoProto: @unchecked Sendable {} -extension PokemonCreateDetail: @unchecked Sendable {} -extension PokemonCreateDetail.OneOf_OriginDetail: @unchecked Sendable {} -extension PokemonDisplayProto: @unchecked Sendable {} -extension PokemonDisplayProto.Alignment: @unchecked Sendable {} -extension PokemonDisplayProto.Costume: @unchecked Sendable {} -extension PokemonDisplayProto.Form: @unchecked Sendable {} -extension PokemonDisplayProto.Gender: @unchecked Sendable {} -extension PokemonEncounterAttributesProto: @unchecked Sendable {} -extension PokemonEncounterRewardProto: @unchecked Sendable {} -extension PokemonEncounterRewardProto.OneOf_Type: @unchecked Sendable {} -extension PokemonEvolutionQuestProto: @unchecked Sendable {} -extension PokemonExtendedSettingsProto: @unchecked Sendable {} -extension PokemonFXDisplayProto: @unchecked Sendable {} -extension PokemonFXSettingsSettingsProto: @unchecked Sendable {} -extension PokemonFamilyProto: @unchecked Sendable {} -extension PokemonFamilySettingsProto: @unchecked Sendable {} -extension PokemonFortProto: @unchecked Sendable {} -extension PokemonGlobalSettingsProto: @unchecked Sendable {} -extension PokemonGoPlusTelemetry: @unchecked Sendable {} -extension PokemonHomeEnergyCostsProto: @unchecked Sendable {} -extension PokemonHomeFormReversionProto: @unchecked Sendable {} -extension PokemonHomeFormReversionProto.FormMappingProto: @unchecked Sendable {} -extension PokemonHomeProto: @unchecked Sendable {} -extension PokemonHomeSettingsProto: @unchecked Sendable {} -extension PokemonHomeTelemetry: @unchecked Sendable {} -extension PokemonInfo: @unchecked Sendable {} -extension PokemonInfo.StatModifierContainer: @unchecked Sendable {} -extension PokemonInfo.StatModifierContainer.StatModifier: @unchecked Sendable {} -extension PokemonInfo.StatModifierContainer.StatModifier.ExpiryType: @unchecked Sendable {} -extension PokemonInfo.StatModifierContainer.StatModifier.Condition: @unchecked Sendable {} -extension PokemonInventoryTelemetry: @unchecked Sendable {} -extension PokemonLoadDelay: @unchecked Sendable {} -extension PokemonLoadTelemetry: @unchecked Sendable {} -extension PokemonMegaEvolutionLevelProto: @unchecked Sendable {} -extension PokemonMegaEvolutionPointDailyCountersProto: @unchecked Sendable {} -extension PokemonProto: @unchecked Sendable {} -extension PokemonScaleSettingProto: @unchecked Sendable {} -extension PokemonScaleSettingProto.PokemonScaleMode: @unchecked Sendable {} -extension PokemonSearchTelemetry: @unchecked Sendable {} -extension PokemonSearchTelemetry.PokemonSearchSourceIds: @unchecked Sendable {} -extension PokemonSettingsProto: @unchecked Sendable {} -extension PokemonSettingsProto.BuddySize: @unchecked Sendable {} -extension PokemonSizeSettingsProto: @unchecked Sendable {} -extension PokemonStaminaUpdateProto: @unchecked Sendable {} -extension PokemonStatValueProto: @unchecked Sendable {} -extension PokemonStatsAttributesProto: @unchecked Sendable {} -extension PokemonSummaryFortProto: @unchecked Sendable {} -extension PokemonSurvivalTimeInfo: @unchecked Sendable {} -extension PokemonTagColorBinding: @unchecked Sendable {} -extension PokemonTagProto: @unchecked Sendable {} -extension PokemonTagSettingsProto: @unchecked Sendable {} -extension PokemonTelemetry: @unchecked Sendable {} -extension PokemonThirdMoveAttributesProto: @unchecked Sendable {} -extension PokemonUpgradeSettingsProto: @unchecked Sendable {} -extension PokestopDisplayProto: @unchecked Sendable {} -extension PokestopIncidentDisplayProto: @unchecked Sendable {} -extension PokestopIncidentDisplayProto.OneOf_MapDisplay: @unchecked Sendable {} -extension PokestopReward: @unchecked Sendable {} -extension PolygonProto: @unchecked Sendable {} -extension Polyline: @unchecked Sendable {} -extension PolylineList: @unchecked Sendable {} -extension PopupControlSettingsProto: @unchecked Sendable {} -extension PortalCurationImageResult: @unchecked Sendable {} -extension PortalCurationImageResult.Result: @unchecked Sendable {} -extension PostStaticNewsfeedRequest: @unchecked Sendable {} -extension PostStaticNewsfeedResponse: @unchecked Sendable {} -extension PostStaticNewsfeedResponse.Result: @unchecked Sendable {} -extension PostcardBookTelemetry: @unchecked Sendable {} -extension PostcardBookTelemetry.Status: @unchecked Sendable {} -extension PostcardCollectionGlobalSettingsProto: @unchecked Sendable {} -extension PostcardCollectionSettings: @unchecked Sendable {} -extension PostcardCreateDetail: @unchecked Sendable {} -extension PostcardDisplayProto: @unchecked Sendable {} -extension PotionAttributesProto: @unchecked Sendable {} -extension PowerUpPokestopSharedSettings: @unchecked Sendable {} -extension PreAgeGateMetadata: @unchecked Sendable {} -extension PreAgeGateTrackingOmniproto: @unchecked Sendable {} -extension PreAgeGateTrackingOmniproto.OneOf_PreAgeGateEvent: @unchecked Sendable {} -extension PreLoginMetadata: @unchecked Sendable {} -extension PreLoginTrackingOmniproto: @unchecked Sendable {} -extension PreLoginTrackingOmniproto.OneOf_PreLoginEvent: @unchecked Sendable {} -extension PrimalBoostSettingsProto: @unchecked Sendable {} -extension PrimalEvoSettingsProto: @unchecked Sendable {} -extension PrimalTypeBoostBonusSettingsProto: @unchecked Sendable {} -extension ProbeProto: @unchecked Sendable {} -extension ProbeSettingsProto: @unchecked Sendable {} -extension ProcessRouteTappableOutProto: @unchecked Sendable {} -extension ProcessRouteTappableProto: @unchecked Sendable {} -extension ProcessRouteWaypointInteractionOutProto: @unchecked Sendable {} -extension ProcessRouteWaypointInteractionOutProto.OneOf_Activity: @unchecked Sendable {} -extension ProcessRouteWaypointInteractionOutProto.GiftTradeActivity: @unchecked Sendable {} -extension ProcessRouteWaypointInteractionOutProto.PokemonCompareActivity: @unchecked Sendable {} -extension ProcessRouteWaypointInteractionOutProto.PokemonTradeActivity: @unchecked Sendable {} -extension ProcessRouteWaypointInteractionProto: @unchecked Sendable {} -extension ProfanityCheckOutProto: @unchecked Sendable {} -extension ProfanityCheckOutProto.Result: @unchecked Sendable {} -extension ProfanityCheckProto: @unchecked Sendable {} -extension ProfanityReportData: @unchecked Sendable {} -extension ProfanityReportData.OneOf_ContentType: @unchecked Sendable {} -extension ProfileDetailsProto: @unchecked Sendable {} -extension ProfilePageTelemetry: @unchecked Sendable {} -extension ProgressQuestOutProto: @unchecked Sendable {} -extension ProgressQuestOutProto.Status: @unchecked Sendable {} -extension ProgressQuestProto: @unchecked Sendable {} -extension ProgressQuestProto.OneOf_Validation: @unchecked Sendable {} -extension ProgressRouteOutProto: @unchecked Sendable {} -extension ProgressRouteOutProto.ProgressionState: @unchecked Sendable {} -extension ProgressRouteProto: @unchecked Sendable {} -extension ProgressRouteProto.OneOf_IsPaused: @unchecked Sendable {} -extension ProgressTokenDataProto: @unchecked Sendable {} -extension ProgressTokenDataProto.OneOf_Function: @unchecked Sendable {} -extension ProgressTokenDataProto.EncounterStateFunction: @unchecked Sendable {} -extension ProgressTokenDataProto.RaidBattleStateFunction: @unchecked Sendable {} -extension ProgressTokenDataProto.RaidStateFunction: @unchecked Sendable {} -extension ProgressTokenDataProto.MapExploreStateFunction: @unchecked Sendable {} -extension ProgressTokenDataProto.RaidLobbyStateFunction: @unchecked Sendable {} -extension ProgressTokenDataProto.RaidResolveStateFunction: @unchecked Sendable {} -extension ProgressTokenDataProto.RaidLobbyGuiControllerFunction: @unchecked Sendable {} -extension ProgressTokenDataProto.GymRootControllerFunction: @unchecked Sendable {} -extension ProgressTokenDataProto.RaidResolveUicontrollerFunction: @unchecked Sendable {} -extension ProgressTokenDataV2: @unchecked Sendable {} -extension ProgressTokenDataV2.OneOf_CombatFunction: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatPokemonFunctionProto: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatSwapStateFunctionProto: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatStateV2FunctionProto: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatSpecialMoveStateFunctionProto: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatActiveStateFunctionProto: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatReadyStateFunctionProto: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatEndStateFunctionProto: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatDirectorV2FunctionProto: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatWaitForPlayerStateFunctionProto: @unchecked Sendable {} -extension ProgressTokenDataV2.CombatPresentationDirectorFunctionProto: @unchecked Sendable {} -extension ProjectVacationProto: @unchecked Sendable {} -extension ProvisionedAppleTransactionProto: @unchecked Sendable {} -extension ProvisionedAppleTransactionProto.Status: @unchecked Sendable {} -extension ProximityContact: @unchecked Sendable {} -extension ProximityToken: @unchecked Sendable {} -extension ProximityTokenInternal: @unchecked Sendable {} -extension ProxyRequestProto: @unchecked Sendable {} -extension ProxyResponseProto: @unchecked Sendable {} -extension ProxyResponseProto.Status: @unchecked Sendable {} -extension PtcToken: @unchecked Sendable {} -extension PurchaseSkuOutProto: @unchecked Sendable {} -extension PurchaseSkuOutProto.Status: @unchecked Sendable {} -extension PurchaseSkuProto: @unchecked Sendable {} -extension PurifyPokemonLogEntry: @unchecked Sendable {} -extension PurifyPokemonOutProto: @unchecked Sendable {} -extension PurifyPokemonOutProto.Status: @unchecked Sendable {} -extension PurifyPokemonProto: @unchecked Sendable {} -extension PushGateWaySettingsProto: @unchecked Sendable {} -extension PushGatewaySettings: @unchecked Sendable {} -extension PushGatewayTelemetry: @unchecked Sendable {} -extension PushGatewayUpstreamErrorTelemetry: @unchecked Sendable {} -extension PushNotificationRegistryOutProto: @unchecked Sendable {} -extension PushNotificationRegistryOutProto.Result: @unchecked Sendable {} -extension PushNotificationRegistryProto: @unchecked Sendable {} -extension PushNotificationTelemetry: @unchecked Sendable {} -extension Quaternion: @unchecked Sendable {} -extension QuestBranchDisplayProto: @unchecked Sendable {} -extension QuestBranchRewardProto: @unchecked Sendable {} -extension QuestConditionProto: @unchecked Sendable {} -extension QuestConditionProto.OneOf_Condition: @unchecked Sendable {} -extension QuestConditionProto.ConditionType: @unchecked Sendable {} -extension QuestCreateDetail: @unchecked Sendable {} -extension QuestDialogProto: @unchecked Sendable {} -extension QuestDialogProto.Character: @unchecked Sendable {} -extension QuestDialogProto.CharacterExpression: @unchecked Sendable {} -extension QuestDisplayProto: @unchecked Sendable {} -extension QuestEncounterOutProto: @unchecked Sendable {} -extension QuestEncounterOutProto.Result: @unchecked Sendable {} -extension QuestEncounterProto: @unchecked Sendable {} -extension QuestEvolutionGlobalSettingsProto: @unchecked Sendable {} -extension QuestEvolutionSettingsProto: @unchecked Sendable {} -extension QuestGlobalSettingsProto: @unchecked Sendable {} -extension QuestGoalProto: @unchecked Sendable {} -extension QuestIncidentProto: @unchecked Sendable {} -extension QuestIncidentProto.Context: @unchecked Sendable {} -extension QuestListTelemetry: @unchecked Sendable {} -extension QuestListTelemetry.QuestListInteraction: @unchecked Sendable {} -extension QuestListTelemetry.QuestListTab: @unchecked Sendable {} -extension QuestPokemonEncounterProto: @unchecked Sendable {} -extension QuestPreconditionProto: @unchecked Sendable {} -extension QuestPreconditionProto.OneOf_Condition: @unchecked Sendable {} -extension QuestPreconditionProto.Operator: @unchecked Sendable {} -extension QuestPreconditionProto.QuestPreconditionType: @unchecked Sendable {} -extension QuestPreconditionProto.TeamProto: @unchecked Sendable {} -extension QuestPreconditionProto.Group: @unchecked Sendable {} -extension QuestPreconditionProto.Group.Name: @unchecked Sendable {} -extension QuestPreconditionProto.Level: @unchecked Sendable {} -extension QuestPreconditionProto.Medal: @unchecked Sendable {} -extension QuestPreconditionProto.MonthYearBucket: @unchecked Sendable {} -extension QuestPreconditionProto.Quests: @unchecked Sendable {} -extension QuestPreconditionProto.StorylineProgressConditionProto: @unchecked Sendable {} -extension QuestProto: @unchecked Sendable {} -extension QuestProto.OneOf_Quest: @unchecked Sendable {} -extension QuestProto.Context: @unchecked Sendable {} -extension QuestProto.Status: @unchecked Sendable {} -extension QuestProto.ReferralInfoProto: @unchecked Sendable {} -extension QuestRewardProto: @unchecked Sendable {} -extension QuestRewardProto.OneOf_Reward: @unchecked Sendable {} -extension QuestRewardProto.TypeEnum: @unchecked Sendable {} -extension QuestSettingsProto: @unchecked Sendable {} -extension QuestStampCardProto: @unchecked Sendable {} -extension QuestStampProto: @unchecked Sendable {} -extension QuestWalkProto: @unchecked Sendable {} -extension QuestsProto: @unchecked Sendable {} -extension QuitCombatDataProto: @unchecked Sendable {} -extension QuitCombatOutProto: @unchecked Sendable {} -extension QuitCombatOutProto.Result: @unchecked Sendable {} -extension QuitCombatProto: @unchecked Sendable {} -extension QuitCombatResponseDataProto: @unchecked Sendable {} -extension RaidClientLogInfoProto: @unchecked Sendable {} -extension RaidClientLogsProto: @unchecked Sendable {} -extension RaidClientLogsProto.OneOf_LogData: @unchecked Sendable {} -extension RaidClientLogsProto.RaidClientLogInfo: @unchecked Sendable {} -extension RaidClientLogsProto.RaidClientLogInfo.LogType: @unchecked Sendable {} -extension RaidClientSettingsProto: @unchecked Sendable {} -extension RaidCreateDetail: @unchecked Sendable {} -extension RaidEncounterProto: @unchecked Sendable {} -extension RaidEndDataProto: @unchecked Sendable {} -extension RaidEndDataProto.RaidEndType: @unchecked Sendable {} -extension RaidInfoProto: @unchecked Sendable {} -extension RaidInvitationDetails: @unchecked Sendable {} -extension RaidInviteFriendsSettingsProto: @unchecked Sendable {} -extension RaidLobbyCounterSettingsProto: @unchecked Sendable {} -extension RaidLobbyPlayerCountProto: @unchecked Sendable {} -extension RaidLoggingSettingsProto: @unchecked Sendable {} -extension RaidParticipantProto: @unchecked Sendable {} -extension RaidParticipantProto.OneOf_Data: @unchecked Sendable {} -extension RaidPlayerStatProto: @unchecked Sendable {} -extension RaidPlayerStatProto.StatType: @unchecked Sendable {} -extension RaidPlayerStatsPokemonProto: @unchecked Sendable {} -extension RaidPlayerStatsProto: @unchecked Sendable {} -extension RaidProto: @unchecked Sendable {} -extension RaidRewardsLogEntry: @unchecked Sendable {} -extension RaidRewardsLogEntry.Result: @unchecked Sendable {} -extension RaidRewardsLogEntry.TempEvoRaidStatus: @unchecked Sendable {} -extension RaidTelemetry: @unchecked Sendable {} -extension RaidTicketProto: @unchecked Sendable {} -extension RaidTicketSettingsProto: @unchecked Sendable {} -extension RaidTicketsProto: @unchecked Sendable {} -extension RaidVisualEffect: @unchecked Sendable {} -extension RangeProto: @unchecked Sendable {} -extension Rasterization: @unchecked Sendable {} -extension Rasterization.Interval: @unchecked Sendable {} -extension ReadPointOfInterestDescriptionTelemetry: @unchecked Sendable {} -extension ReassignPlayerOutProto: @unchecked Sendable {} -extension ReassignPlayerOutProto.Result: @unchecked Sendable {} -extension ReassignPlayerProto: @unchecked Sendable {} -extension RecommendedSearchProto: @unchecked Sendable {} -extension RectProto: @unchecked Sendable {} -extension RecycleItemOutProto: @unchecked Sendable {} -extension RecycleItemOutProto.Result: @unchecked Sendable {} -extension RecycleItemProto: @unchecked Sendable {} -extension RedeemAppleReceiptOutProto: @unchecked Sendable {} -extension RedeemAppleReceiptOutProto.Status: @unchecked Sendable {} -extension RedeemAppleReceiptProto: @unchecked Sendable {} -extension RedeemDesktopReceiptOutProto: @unchecked Sendable {} -extension RedeemDesktopReceiptOutProto.Status: @unchecked Sendable {} -extension RedeemDesktopReceiptProto: @unchecked Sendable {} -extension RedeemGoogleReceiptOutProto: @unchecked Sendable {} -extension RedeemGoogleReceiptOutProto.Status: @unchecked Sendable {} -extension RedeemGoogleReceiptProto: @unchecked Sendable {} -extension RedeemPasscodeRequestProto: @unchecked Sendable {} -extension RedeemPasscodeResponseProto: @unchecked Sendable {} -extension RedeemPasscodeResponseProto.Result: @unchecked Sendable {} -extension RedeemPasscodeResponseProto.AcquiredItem: @unchecked Sendable {} -extension RedeemPasscodeRewardProto: @unchecked Sendable {} -extension RedeemSamsungReceiptOutProto: @unchecked Sendable {} -extension RedeemSamsungReceiptOutProto.Status: @unchecked Sendable {} -extension RedeemSamsungReceiptProto: @unchecked Sendable {} -extension RedeemTicketGiftForFriendOutProto: @unchecked Sendable {} -extension RedeemTicketGiftForFriendOutProto.Status: @unchecked Sendable {} -extension RedeemTicketGiftForFriendProto: @unchecked Sendable {} -extension RedeemXsollaReceiptRequestProto: @unchecked Sendable {} -extension RedeemXsollaReceiptRequestProto.ReceiptContent: @unchecked Sendable {} -extension RedeemXsollaReceiptResponseProto: @unchecked Sendable {} -extension RedeemXsollaReceiptResponseProto.Status: @unchecked Sendable {} -extension RedeemedAvatarItemProto: @unchecked Sendable {} -extension RedeemedItemProto: @unchecked Sendable {} -extension RedeemedStickerProto: @unchecked Sendable {} -extension ReferContactListFriendRequest: @unchecked Sendable {} -extension ReferContactListFriendRequest.ReferralProto: @unchecked Sendable {} -extension ReferContactListFriendResponse: @unchecked Sendable {} -extension ReferContactListFriendResponse.Result: @unchecked Sendable {} -extension ReferralMilestonesProto: @unchecked Sendable {} -extension ReferralMilestonesProto.OneOf_PlayerID: @unchecked Sendable {} -extension ReferralMilestonesProto.OneOf_PlayerNiaID: @unchecked Sendable {} -extension ReferralMilestonesProto.MilestoneProto: @unchecked Sendable {} -extension ReferralMilestonesProto.MilestoneProto.Status: @unchecked Sendable {} -extension ReferralMilestonesProto.MilestoneProto.TemplateVariableProto: @unchecked Sendable {} -extension ReferralProto: @unchecked Sendable {} -extension ReferralSettingsProto: @unchecked Sendable {} -extension ReferralSettingsProto.RecentFeatureProto: @unchecked Sendable {} -extension ReferralTelemetry: @unchecked Sendable {} -extension RefreshProximityTokensRequestProto: @unchecked Sendable {} -extension RefreshProximityTokensResponseProto: @unchecked Sendable {} -extension RegisterBackgroundDeviceActionProto: @unchecked Sendable {} -extension RegisterBackgroundDeviceResponseProto: @unchecked Sendable {} -extension RegisterBackgroundDeviceResponseProto.Status: @unchecked Sendable {} -extension RegisterBackgroundServiceRequestProto: @unchecked Sendable {} -extension RegisterBackgroundServiceResponseProto: @unchecked Sendable {} -extension RegisterBackgroundServiceResponseProto.Status: @unchecked Sendable {} -extension RegisterBackgroundServiceResponseProto.RegisterData: @unchecked Sendable {} -extension RegisterSfidaRequest: @unchecked Sendable {} -extension RegisterSfidaRequest.DeviceType: @unchecked Sendable {} -extension RegisterSfidaResponse: @unchecked Sendable {} -extension ReleasePokemonOutProto: @unchecked Sendable {} -extension ReleasePokemonOutProto.Status: @unchecked Sendable {} -extension ReleasePokemonProto: @unchecked Sendable {} -extension ReleasePokemonTelemetry: @unchecked Sendable {} -extension RemoteGiftPingRequestProto: @unchecked Sendable {} -extension RemoteGiftPingResponseProto: @unchecked Sendable {} -extension RemoteGiftPingResponseProto.Result: @unchecked Sendable {} -extension RemoteRaidLimitSettingsProto: @unchecked Sendable {} -extension RemoteRaidTelemetry: @unchecked Sendable {} -extension RemoveFavoriteFriendRequest: @unchecked Sendable {} -extension RemoveFavoriteFriendResponse: @unchecked Sendable {} -extension RemoveFavoriteFriendResponse.Result: @unchecked Sendable {} -extension RemoveFriendOutProto: @unchecked Sendable {} -extension RemoveFriendOutProto.Result: @unchecked Sendable {} -extension RemoveFriendProto: @unchecked Sendable {} -extension RemoveLoginActionOutProto: @unchecked Sendable {} -extension RemoveLoginActionOutProto.Status: @unchecked Sendable {} -extension RemoveLoginActionProto: @unchecked Sendable {} -extension RemoveQuestOutProto: @unchecked Sendable {} -extension RemoveQuestOutProto.Status: @unchecked Sendable {} -extension RemoveQuestProto: @unchecked Sendable {} -extension ReplaceLoginActionOutProto: @unchecked Sendable {} -extension ReplaceLoginActionOutProto.Status: @unchecked Sendable {} -extension ReplaceLoginActionProto: @unchecked Sendable {} -extension ReportAdFeedbackRequest: @unchecked Sendable {} -extension ReportAdFeedbackResponse: @unchecked Sendable {} -extension ReportAdFeedbackResponse.Status: @unchecked Sendable {} -extension ReportAdInteractionProto: @unchecked Sendable {} -extension ReportAdInteractionProto.OneOf_InteractionType: @unchecked Sendable {} -extension ReportAdInteractionProto.AdType: @unchecked Sendable {} -extension ReportAdInteractionProto.GoogleManagedAdDetails: @unchecked Sendable {} -extension ReportAdInteractionProto.WebArCameraPermissionResponse: @unchecked Sendable {} -extension ReportAdInteractionProto.WebArCameraPermissionRequestSent: @unchecked Sendable {} -extension ReportAdInteractionProto.WebArAudienceDeviceStatus: @unchecked Sendable {} -extension ReportAdInteractionProto.GetRewardInfo: @unchecked Sendable {} -extension ReportAdInteractionProto.AdFeedbackReport: @unchecked Sendable {} -extension ReportAdInteractionProto.AdFeedback: @unchecked Sendable {} -extension ReportAdInteractionProto.ViewImpressionInteraction: @unchecked Sendable {} -extension ReportAdInteractionProto.ViewFullscreenInteraction: @unchecked Sendable {} -extension ReportAdInteractionProto.ViewWebArInteraction: @unchecked Sendable {} -extension ReportAdInteractionProto.FullScreenInteraction: @unchecked Sendable {} -extension ReportAdInteractionProto.CTAClickInteraction: @unchecked Sendable {} -extension ReportAdInteractionProto.AdSpawnInteraction: @unchecked Sendable {} -extension ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType: @unchecked Sendable {} -extension ReportAdInteractionProto.AdDismissalInteraction: @unchecked Sendable {} -extension ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdLoaded: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdBalloonOpened: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdClickedOnBalloonCta: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdOpened: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdClosed: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdPlayerRewarded: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdCTAClicked: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdRewardEligible: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdFailure: @unchecked Sendable {} -extension ReportAdInteractionProto.VideoAdFailure.FailureType: @unchecked Sendable {} -extension ReportAdInteractionResponse: @unchecked Sendable {} -extension ReportAdInteractionResponse.Status: @unchecked Sendable {} -extension ReportAttributeData: @unchecked Sendable {} -extension ReportAttributeData.ContentType: @unchecked Sendable {} -extension ReportAttributeData.Origin: @unchecked Sendable {} -extension ReportAttributeData.Severity: @unchecked Sendable {} -extension ReportAttributeData.Status: @unchecked Sendable {} -extension ReportAttributeData.TypeEnum: @unchecked Sendable {} -extension ReportInfoWrapper: @unchecked Sendable {} -extension ReportProximityContactsRequestProto: @unchecked Sendable {} -extension ReportProximityContactsResponseProto: @unchecked Sendable {} -extension ReputationSystemAttributes: @unchecked Sendable {} -extension ReputationSystemAttributes.SystemType: @unchecked Sendable {} -extension Response: @unchecked Sendable {} -extension Response.Status: @unchecked Sendable {} -extension ReviveAttributesProto: @unchecked Sendable {} -extension RewardsPerContestProto: @unchecked Sendable {} -extension RoadMetadata: @unchecked Sendable {} -extension RocketBalloonDisplayProto: @unchecked Sendable {} -extension RocketBalloonDisplayProto.BalloonType: @unchecked Sendable {} -extension RocketBalloonGlobalSettingsProto: @unchecked Sendable {} -extension RocketBalloonIncidentDisplayProto: @unchecked Sendable {} -extension RotateGuestLoginSecretTokenRequestProto: @unchecked Sendable {} -extension RotateGuestLoginSecretTokenResponseProto: @unchecked Sendable {} -extension RotateGuestLoginSecretTokenResponseProto.Status: @unchecked Sendable {} -extension RouteActivityRequestProto: @unchecked Sendable {} -extension RouteActivityRequestProto.OneOf_RequestData: @unchecked Sendable {} -extension RouteActivityRequestProto.GiftTradeRequest: @unchecked Sendable {} -extension RouteActivityRequestProto.PokemonCompareRequest: @unchecked Sendable {} -extension RouteActivityRequestProto.PokemonTradeRequest: @unchecked Sendable {} -extension RouteActivityResponseProto: @unchecked Sendable {} -extension RouteActivityResponseProto.OneOf_ResponseData: @unchecked Sendable {} -extension RouteActivityResponseProto.GiftTradeResponse: @unchecked Sendable {} -extension RouteActivityResponseProto.PokemonCompareResponse: @unchecked Sendable {} -extension RouteActivityResponseProto.PokemonTradeResponse: @unchecked Sendable {} -extension RouteActivityResponseProto.PokemonTradeResponse.Result: @unchecked Sendable {} -extension RouteActivityType: @unchecked Sendable {} -extension RouteActivityType.ActivityType: @unchecked Sendable {} -extension RouteBadgeLevel: @unchecked Sendable {} -extension RouteBadgeLevel.BadgeLevel: @unchecked Sendable {} -extension RouteBadgeListEntry: @unchecked Sendable {} -extension RouteBadgeSettingsProto: @unchecked Sendable {} -extension RouteCreationProto: @unchecked Sendable {} -extension RouteCreationProto.Status: @unchecked Sendable {} -extension RouteCreationProto.RejectionReason: @unchecked Sendable {} -extension RouteCreationsProto: @unchecked Sendable {} -extension RouteDiscoverySettingsProto: @unchecked Sendable {} -extension RouteDiscoveryTelemetry: @unchecked Sendable {} -extension RouteErrorTelemetry: @unchecked Sendable {} -extension RouteGlobalSettingsProto: @unchecked Sendable {} -extension RouteImageProto: @unchecked Sendable {} -extension RouteMakerProto: @unchecked Sendable {} -extension RoutePin: @unchecked Sendable {} -extension RoutePlayProto: @unchecked Sendable {} -extension RoutePlaySettingsProto: @unchecked Sendable {} -extension RoutePlayStatus: @unchecked Sendable {} -extension RoutePlayStatus.Status: @unchecked Sendable {} -extension RoutePlayTappableSpawnedTelemetry: @unchecked Sendable {} -extension RoutePoiAnchor: @unchecked Sendable {} -extension RouteSimplificationAlgorithm: @unchecked Sendable {} -extension RouteSimplificationAlgorithm.SimplificationAlgorithm: @unchecked Sendable {} -extension RouteStamp: @unchecked Sendable {} -extension RouteStamp.Color: @unchecked Sendable {} -extension RouteStamp.TypeEnum: @unchecked Sendable {} -extension RouteStampCategorySettingsProto: @unchecked Sendable {} -extension RouteStats: @unchecked Sendable {} -extension RouteSubmissionStats: @unchecked Sendable {} -extension RouteSubmissionStats.Status: @unchecked Sendable {} -extension RouteSubmissionStatus: @unchecked Sendable {} -extension RouteSubmissionStatus.Status: @unchecked Sendable {} -extension RouteValidation: @unchecked Sendable {} -extension RouteValidation.Error: @unchecked Sendable {} -extension RouteWaypointProto: @unchecked Sendable {} -extension RouteZoneUnkProto: @unchecked Sendable {} -extension RoutesCreationSettingsProto: @unchecked Sendable {} -extension RoutesCreationSettingsProto2: @unchecked Sendable {} -extension RoutesCreationSettingsProto3: @unchecked Sendable {} -extension RpcErrorDataProto: @unchecked Sendable {} -extension RpcErrorDataProto.Status: @unchecked Sendable {} -extension RpcResponseTelemetry: @unchecked Sendable {} -extension RpcResponseTelemetry.ConnectionType: @unchecked Sendable {} -extension RpcResponseTime: @unchecked Sendable {} -extension RpcSocketResponseTelemetry: @unchecked Sendable {} -extension RpcSocketResponseTime: @unchecked Sendable {} -extension SaveCombatPlayerPreferencesOutProto: @unchecked Sendable {} -extension SaveCombatPlayerPreferencesOutProto.Result: @unchecked Sendable {} -extension SaveCombatPlayerPreferencesProto: @unchecked Sendable {} -extension SavePlayerPreferencesOutProto: @unchecked Sendable {} -extension SavePlayerPreferencesOutProto.Result: @unchecked Sendable {} -extension SavePlayerPreferencesProto: @unchecked Sendable {} -extension SavePlayerSettingsOutProto: @unchecked Sendable {} -extension SavePlayerSettingsOutProto.Result: @unchecked Sendable {} -extension SavePlayerSettingsProto: @unchecked Sendable {} -extension SavePlayerSnapshotOutProto: @unchecked Sendable {} -extension SavePlayerSnapshotOutProto.Result: @unchecked Sendable {} -extension SavePlayerSnapshotProto: @unchecked Sendable {} -extension SaveSocialPlayerSettingsOutProto: @unchecked Sendable {} -extension SaveSocialPlayerSettingsOutProto.Result: @unchecked Sendable {} -extension SaveSocialPlayerSettingsProto: @unchecked Sendable {} -extension ScanCaptureEvent: @unchecked Sendable {} -extension ScanCaptureEvent.Depth: @unchecked Sendable {} -extension ScanProcessEvent: @unchecked Sendable {} -extension ScanSaveEvent: @unchecked Sendable {} -extension ScanUploadEvent: @unchecked Sendable {} -extension ScanUploadEvent.Internet: @unchecked Sendable {} -extension ScanningFrameworkEvent: @unchecked Sendable {} -extension ScanningFrameworkEvent.Operation: @unchecked Sendable {} -extension ScanningFrameworkEvent.State: @unchecked Sendable {} -extension ScoreAdjustment: @unchecked Sendable {} -extension ScreenResolutionTelemetry: @unchecked Sendable {} -extension SearchFilterPreferenceProto: @unchecked Sendable {} -extension SearchFilterPreferenceProto.SearchFilterQueryProto: @unchecked Sendable {} -extension SearchPlayerOutProto: @unchecked Sendable {} -extension SearchPlayerOutProto.Result: @unchecked Sendable {} -extension SearchPlayerProto: @unchecked Sendable {} -extension SeasonContestsDefinitionSettingsProto: @unchecked Sendable {} -extension SendContactListFriendInviteRequest: @unchecked Sendable {} -extension SendContactListFriendInviteResponse: @unchecked Sendable {} -extension SendContactListFriendInviteResponse.Result: @unchecked Sendable {} -extension SendFriendInviteOutProto: @unchecked Sendable {} -extension SendFriendInviteOutProto.Result: @unchecked Sendable {} -extension SendFriendInviteProto: @unchecked Sendable {} -extension SendFriendInviteViaReferralCodeOutProto: @unchecked Sendable {} -extension SendFriendInviteViaReferralCodeOutProto.Status: @unchecked Sendable {} -extension SendFriendInviteViaReferralCodeProto: @unchecked Sendable {} -extension SendFriendRequestViaPlayerIdOutProto: @unchecked Sendable {} -extension SendFriendRequestViaPlayerIdOutProto.Result: @unchecked Sendable {} -extension SendFriendRequestViaPlayerIdProto: @unchecked Sendable {} -extension SendGiftLogEntry: @unchecked Sendable {} -extension SendGiftLogEntry.Result: @unchecked Sendable {} -extension SendGiftOutProto: @unchecked Sendable {} -extension SendGiftOutProto.Result: @unchecked Sendable {} -extension SendGiftProto: @unchecked Sendable {} -extension SendProbeOutProto: @unchecked Sendable {} -extension SendProbeOutProto.Result: @unchecked Sendable {} -extension SendProbeProto: @unchecked Sendable {} -extension SendRaidInvitationDataProto: @unchecked Sendable {} -extension SendRaidInvitationOutProto: @unchecked Sendable {} -extension SendRaidInvitationOutProto.Result: @unchecked Sendable {} -extension SendRaidInvitationProto: @unchecked Sendable {} -extension SendRaidInvitationResponseDataProto: @unchecked Sendable {} -extension SendSmsVerificationCodeRequest: @unchecked Sendable {} -extension SendSmsVerificationCodeResponse: @unchecked Sendable {} -extension SendSmsVerificationCodeResponse.Status: @unchecked Sendable {} -extension ServerData: @unchecked Sendable {} -extension ServerRecordMetadata: @unchecked Sendable {} -extension ServiceDescriptorProto: @unchecked Sendable {} -extension ServiceOptions: @unchecked Sendable {} -extension SetAccountContactSettingsRequest: @unchecked Sendable {} -extension SetAccountContactSettingsResponse: @unchecked Sendable {} -extension SetAccountContactSettingsResponse.Status: @unchecked Sendable {} -extension SetAccountSettingsOutProto: @unchecked Sendable {} -extension SetAccountSettingsOutProto.Result: @unchecked Sendable {} -extension SetAccountSettingsProto: @unchecked Sendable {} -extension SetAvatarItemAsViewedOutProto: @unchecked Sendable {} -extension SetAvatarItemAsViewedOutProto.Result: @unchecked Sendable {} -extension SetAvatarItemAsViewedProto: @unchecked Sendable {} -extension SetAvatarOutProto: @unchecked Sendable {} -extension SetAvatarOutProto.Status: @unchecked Sendable {} -extension SetAvatarProto: @unchecked Sendable {} -extension SetBirthdayRequestProto: @unchecked Sendable {} -extension SetBirthdayResponseProto: @unchecked Sendable {} -extension SetBirthdayResponseProto.Status: @unchecked Sendable {} -extension SetBuddyPokemonOutProto: @unchecked Sendable {} -extension SetBuddyPokemonOutProto.Result: @unchecked Sendable {} -extension SetBuddyPokemonProto: @unchecked Sendable {} -extension SetContactSettingsOutProto: @unchecked Sendable {} -extension SetContactSettingsOutProto.Status: @unchecked Sendable {} -extension SetContactSettingsProto: @unchecked Sendable {} -extension SetFavoritePokemonOutProto: @unchecked Sendable {} -extension SetFavoritePokemonOutProto.Result: @unchecked Sendable {} -extension SetFavoritePokemonProto: @unchecked Sendable {} -extension SetFriendNicknameOutProto: @unchecked Sendable {} -extension SetFriendNicknameOutProto.Result: @unchecked Sendable {} -extension SetFriendNicknameProto: @unchecked Sendable {} -extension SetInGameCurrencyExchangeRateOutProto: @unchecked Sendable {} -extension SetInGameCurrencyExchangeRateOutProto.Status: @unchecked Sendable {} -extension SetInGameCurrencyExchangeRateProto: @unchecked Sendable {} -extension SetInGameCurrencyExchangeRateTrackingProto: @unchecked Sendable {} -extension SetLobbyPokemonOutProto: @unchecked Sendable {} -extension SetLobbyPokemonOutProto.Result: @unchecked Sendable {} -extension SetLobbyPokemonProto: @unchecked Sendable {} -extension SetLobbyVisibilityOutProto: @unchecked Sendable {} -extension SetLobbyVisibilityOutProto.Result: @unchecked Sendable {} -extension SetLobbyVisibilityProto: @unchecked Sendable {} -extension SetNeutralAvatarOutProto: @unchecked Sendable {} -extension SetNeutralAvatarOutProto.Status: @unchecked Sendable {} -extension SetNeutralAvatarProto: @unchecked Sendable {} -extension SetPlayerTeamOutProto: @unchecked Sendable {} -extension SetPlayerTeamOutProto.Status: @unchecked Sendable {} -extension SetPlayerTeamProto: @unchecked Sendable {} -extension SetPokemonTagsForPokemonOutProto: @unchecked Sendable {} -extension SetPokemonTagsForPokemonOutProto.Status: @unchecked Sendable {} -extension SetPokemonTagsForPokemonProto: @unchecked Sendable {} -extension SetPokemonTagsForPokemonProto.PokemonTagChangeProto: @unchecked Sendable {} -extension SfidaAssociateRequest: @unchecked Sendable {} -extension SfidaAssociateResponse: @unchecked Sendable {} -extension SfidaAssociateResponse.Status: @unchecked Sendable {} -extension SfidaAuthToken: @unchecked Sendable {} -extension SfidaCaptureRequest: @unchecked Sendable {} -extension SfidaCaptureResponse: @unchecked Sendable {} -extension SfidaCaptureResponse.Result: @unchecked Sendable {} -extension SfidaCertificationRequest: @unchecked Sendable {} -extension SfidaCertificationRequest.SfidaCertificationStage: @unchecked Sendable {} -extension SfidaCertificationResponse: @unchecked Sendable {} -extension SfidaCheckPairingRequest: @unchecked Sendable {} -extension SfidaCheckPairingResponse: @unchecked Sendable {} -extension SfidaCheckPairingResponse.Status: @unchecked Sendable {} -extension SfidaClearSleepRecordsRequest: @unchecked Sendable {} -extension SfidaClearSleepRecordsResponse: @unchecked Sendable {} -extension SfidaClearSleepRecordsResponse.Status: @unchecked Sendable {} -extension SfidaDisassociateRequest: @unchecked Sendable {} -extension SfidaDisassociateResponse: @unchecked Sendable {} -extension SfidaDisassociateResponse.Status: @unchecked Sendable {} -extension SfidaDowserRequest: @unchecked Sendable {} -extension SfidaDowserResponse: @unchecked Sendable {} -extension SfidaDowserResponse.Result: @unchecked Sendable {} -extension SfidaGlobalSettingsProto: @unchecked Sendable {} -extension SfidaMetrics: @unchecked Sendable {} -extension SfidaMetricsUpdate: @unchecked Sendable {} -extension SfidaMetricsUpdate.UpdateType: @unchecked Sendable {} -extension SfidaUpdateRequest: @unchecked Sendable {} -extension SfidaUpdateResponse: @unchecked Sendable {} -extension SfidaUpdateResponse.Status: @unchecked Sendable {} -extension ShadowAttributesProto: @unchecked Sendable {} -extension ShapeCollectionProto: @unchecked Sendable {} -extension ShapeProto: @unchecked Sendable {} -extension ShareExRaidPassLogEntry: @unchecked Sendable {} -extension ShareExRaidPassLogEntry.Result: @unchecked Sendable {} -extension ShareExRaidPassOutProto: @unchecked Sendable {} -extension ShareExRaidPassProto: @unchecked Sendable {} -extension SharedExclusiveTicketTrainerInfo: @unchecked Sendable {} -extension SharedMoveSettings: @unchecked Sendable {} -extension SharedRouteProto: @unchecked Sendable {} -extension ShoppingPageClickTelemetry: @unchecked Sendable {} -extension ShoppingPageScrollTelemetry: @unchecked Sendable {} -extension ShoppingPageTelemetry: @unchecked Sendable {} -extension ShowcaseDetailsTelemetry: @unchecked Sendable {} -extension ShowcaseDetailsTelemetry.ActionTaken: @unchecked Sendable {} -extension ShowcaseDetailsTelemetry.EntryBarrier: @unchecked Sendable {} -extension ShowcaseDetailsTelemetry.EntryPoint: @unchecked Sendable {} -extension ShowcaseRewardTelemetry: @unchecked Sendable {} -extension SizeRecordBreakTelemetry: @unchecked Sendable {} -extension SizeRecordBreakTelemetry.RecordBreakType: @unchecked Sendable {} -extension SkuContentProto: @unchecked Sendable {} -extension SkuDataProto: @unchecked Sendable {} -extension SkuDataProto.SkuPaymentType: @unchecked Sendable {} -extension SkuPresentationDataProto: @unchecked Sendable {} -extension SkuPresentationProto: @unchecked Sendable {} -extension SkuPriceProto: @unchecked Sendable {} -extension SkuStorePrice: @unchecked Sendable {} -extension SleepDayRecordProto: @unchecked Sendable {} -extension SleepRecordsProto: @unchecked Sendable {} -extension SmeargleMovesSettingsProto: @unchecked Sendable {} -extension SocialClientFeatures: @unchecked Sendable {} -extension SocialClientFeatures.CrossGameSocialClientSettingsProto: @unchecked Sendable {} -extension SocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType: @unchecked Sendable {} -extension SocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType: @unchecked Sendable {} -extension SocialClientGlobalSettings: @unchecked Sendable {} -extension SocialClientGlobalSettings.CrossGameSocialSettingsProto: @unchecked Sendable {} -extension SocialClientSettingsProto: @unchecked Sendable {} -extension SocialGiftCountTelemetry: @unchecked Sendable {} -extension SocialInboxLatencyTelemetry: @unchecked Sendable {} -extension SocialPlayerSettingsProto: @unchecked Sendable {} -extension SocialProto: @unchecked Sendable {} -extension SocialProto.AppKey: @unchecked Sendable {} -extension SocialSettings: @unchecked Sendable {} -extension SocialSettings.ConsentStatus: @unchecked Sendable {} -extension SocialSettings.TutorialType: @unchecked Sendable {} -extension SocialTelemetry: @unchecked Sendable {} -extension SocialV2Enum: @unchecked Sendable {} -extension SocialV2Enum.ContactMethod: @unchecked Sendable {} -extension SocialV2Enum.InvitationStatus: @unchecked Sendable {} -extension SocialV2Enum.OnlineStatus: @unchecked Sendable {} -extension SourceCodeInfo: @unchecked Sendable {} -extension SourceCodeInfo.Location: @unchecked Sendable {} -extension SourceContext: @unchecked Sendable {} -extension SouvenirProto: @unchecked Sendable {} -extension SouvenirProto.SouvenirDetails: @unchecked Sendable {} -extension SpawnTablePokemonProto: @unchecked Sendable {} -extension SpawnablePokemon: @unchecked Sendable {} -extension SpawnablePokemon.Status: @unchecked Sendable {} -extension SpawnablePokemon.SpawnableType: @unchecked Sendable {} -extension SpinPokestopTelemetry: @unchecked Sendable {} -extension SponsoredDetailsProto: @unchecked Sendable {} -extension SponsoredDetailsProto.PromoButtonMessageType: @unchecked Sendable {} -extension SponsoredGeofenceGiftSettingsProto: @unchecked Sendable {} -extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto: @unchecked Sendable {} -extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto.SponsoredBalloonMovementSettingsProto: @unchecked Sendable {} -extension SponsoredGeofenceGiftSettingsProto.SponsoredGeofenceGiftDetailsProto: @unchecked Sendable {} -extension SponsoredGeofenceGiftSettingsProto.ObSponsoredGeofence: @unchecked Sendable {} -extension SponsoredPoiFeedbackSettingsProto: @unchecked Sendable {} -extension SsdAnchorsCalculatorOptions: @unchecked Sendable {} -extension StampCardsSectionProto: @unchecked Sendable {} -extension StardustBoostAttributesProto: @unchecked Sendable {} -extension StartGymBattleOutProto: @unchecked Sendable {} -extension StartGymBattleOutProto.Result: @unchecked Sendable {} -extension StartGymBattleProto: @unchecked Sendable {} -extension StartIncidentOutProto: @unchecked Sendable {} -extension StartIncidentOutProto.Status: @unchecked Sendable {} -extension StartIncidentProto: @unchecked Sendable {} -extension StartPartyOutProto: @unchecked Sendable {} -extension StartPartyOutProto.Result: @unchecked Sendable {} -extension StartRaidBattleDataProto: @unchecked Sendable {} -extension StartRaidBattleOutProto: @unchecked Sendable {} -extension StartRaidBattleOutProto.Result: @unchecked Sendable {} -extension StartRaidBattleProto: @unchecked Sendable {} -extension StartRaidBattleResponseDataProto: @unchecked Sendable {} -extension StartRocketBalloonIncidentProto: @unchecked Sendable {} -extension StartRouteOutProto: @unchecked Sendable {} -extension StartRouteProto: @unchecked Sendable {} -extension StartTutorialOutProto: @unchecked Sendable {} -extension StartTutorialOutProto.Result: @unchecked Sendable {} -extension StartTutorialProto: @unchecked Sendable {} -extension StartupMeasurementProto: @unchecked Sendable {} -extension StartupMeasurementProto.ComponentLoadDurations: @unchecked Sendable {} -extension StickerCategorySettingsProto: @unchecked Sendable {} -extension StickerCategorySettingsProto.StikerCategory: @unchecked Sendable {} -extension StickerMetadataProto: @unchecked Sendable {} -extension StickerProto: @unchecked Sendable {} -extension StickerRewardProto: @unchecked Sendable {} -extension StickerSentProto: @unchecked Sendable {} -extension StorageMetrics: @unchecked Sendable {} -extension StoreIapSettingsProto: @unchecked Sendable {} -extension StoreRuleDataProto: @unchecked Sendable {} -extension StoreRuleDataProto.RuleEntry: @unchecked Sendable {} -extension StoryQuestsSectionProto: @unchecked Sendable {} -extension StringValue: @unchecked Sendable {} -extension Struct: @unchecked Sendable {} -extension StyleShopSettingsProto: @unchecked Sendable {} -extension StyleShopSettingsProto.Status: @unchecked Sendable {} -extension SubmitCombatActionProto: @unchecked Sendable {} -extension SubmitCombatChallengePokemonsDataProto: @unchecked Sendable {} -extension SubmitCombatChallengePokemonsOutProto: @unchecked Sendable {} -extension SubmitCombatChallengePokemonsOutProto.Result: @unchecked Sendable {} -extension SubmitCombatChallengePokemonsProto: @unchecked Sendable {} -extension SubmitCombatChallengePokemonsResponseDataProto: @unchecked Sendable {} -extension SubmitImageOutProto: @unchecked Sendable {} -extension SubmitImageOutProto.Result: @unchecked Sendable {} -extension SubmitImageProto: @unchecked Sendable {} -extension SubmitMappingRequestProto: @unchecked Sendable {} -extension SubmitNewPoiOutProto: @unchecked Sendable {} -extension SubmitNewPoiOutProto.Status: @unchecked Sendable {} -extension SubmitNewPoiProto: @unchecked Sendable {} -extension SubmitPlayerImageVoteForPoiOutProto: @unchecked Sendable {} -extension SubmitPlayerImageVoteForPoiOutProto.Status: @unchecked Sendable {} -extension SubmitPlayerImageVoteForPoiProto: @unchecked Sendable {} -extension SubmitPoiCategoryVoteRecordProto: @unchecked Sendable {} -extension SubmitPoiImageProto: @unchecked Sendable {} -extension SubmitPoiLocationUpdateProto: @unchecked Sendable {} -extension SubmitPoiTakedownRequestProto: @unchecked Sendable {} -extension SubmitPoiTextMetadataUpdateProto: @unchecked Sendable {} -extension SubmitRouteDraftOutProto: @unchecked Sendable {} -extension SubmitRouteDraftOutProto.Result: @unchecked Sendable {} -extension SubmitRouteDraftProto: @unchecked Sendable {} -extension SubmitRouteDraftProto.ApprovalOverride: @unchecked Sendable {} -extension SubmitSleepRecordsQuestProto: @unchecked Sendable {} -extension SubmitSponsorPoiLocationUpdateProto: @unchecked Sendable {} -extension SubmitSponsorPoiReportProto: @unchecked Sendable {} -extension SuperAwesomeTokenProto: @unchecked Sendable {} -extension SupportedContestTypesSettingsProto: @unchecked Sendable {} -extension SupportedContestTypesSettingsProto.ContestTypeProto: @unchecked Sendable {} -extension SurveySettings: @unchecked Sendable {} -extension SyncContactListRequest: @unchecked Sendable {} -extension SyncContactListRequest.ContactProto: @unchecked Sendable {} -extension SyncContactListResponse: @unchecked Sendable {} -extension SyncContactListResponse.Result: @unchecked Sendable {} -extension SyncContactListResponse.ContactPlayerProto: @unchecked Sendable {} -extension SyncContactListResponse.ContactPlayerProto.ContactStatus: @unchecked Sendable {} -extension SyncContactListResponse.ContactPlayerProto.PlayerProto: @unchecked Sendable {} -extension TakeSnapshotQuestProto: @unchecked Sendable {} -extension Tappable: @unchecked Sendable {} -extension Tappable.TappableType: @unchecked Sendable {} -extension TappableSettingsProto: @unchecked Sendable {} -extension TeamChangeInfoProto: @unchecked Sendable {} -extension TelemetryAttribute: @unchecked Sendable {} -extension TelemetryAttribute.Label: @unchecked Sendable {} -extension TelemetryAttributeRecordProto: @unchecked Sendable {} -extension TelemetryAttributeRecordProto.OneOf_Metadata: @unchecked Sendable {} -extension TelemetryBatchProto: @unchecked Sendable {} -extension TelemetryCommon: @unchecked Sendable {} -extension TelemetryCommonFilterProto: @unchecked Sendable {} -extension TelemetryEventRecordProto: @unchecked Sendable {} -extension TelemetryEventRecordProto.OneOf_Message: @unchecked Sendable {} -extension TelemetryEventRecordProto.OneOf_Metadata: @unchecked Sendable {} -extension TelemetryField: @unchecked Sendable {} -extension TelemetryGlobalSettingsProto: @unchecked Sendable {} -extension TelemetryKey: @unchecked Sendable {} -extension TelemetryMetadataProto: @unchecked Sendable {} -extension TelemetryMetadataProto.TelemetryScopeId: @unchecked Sendable {} -extension TelemetryMetricRecordProto: @unchecked Sendable {} -extension TelemetryMetricRecordProto.OneOf_Metadata: @unchecked Sendable {} -extension TelemetryMetricRecordProto.OneOf_Value: @unchecked Sendable {} -extension TelemetryMetricRecordProto.Kind: @unchecked Sendable {} -extension TelemetryRecordResult: @unchecked Sendable {} -extension TelemetryRecordResult.Status: @unchecked Sendable {} -extension TelemetryRequestMetadata: @unchecked Sendable {} -extension TelemetryRequestProto: @unchecked Sendable {} -extension TelemetryResponseProto: @unchecked Sendable {} -extension TelemetryResponseProto.Status: @unchecked Sendable {} -extension TelemetryServerData: @unchecked Sendable {} -extension TelemetryValue: @unchecked Sendable {} -extension TelemetryValue.OneOf_Value: @unchecked Sendable {} -extension TempEvoOverrideProto: @unchecked Sendable {} -extension TemplateVariable: @unchecked Sendable {} -extension TemporaryEvolutionProto: @unchecked Sendable {} -extension TemporaryEvolutionResourceProto: @unchecked Sendable {} -extension TemporaryEvolutionSettingsProto: @unchecked Sendable {} -extension TfLiteTensorsToDetectionsCalculatorOptions: @unchecked Sendable {} -extension ThirdMoveGlobalSettingsProto: @unchecked Sendable {} -extension TicketGiftingSettingsProto: @unchecked Sendable {} -extension TiledBlob: @unchecked Sendable {} -extension TimeToPlayableTelemetry: @unchecked Sendable {} -extension TimeToPlayableTelemetry.Status: @unchecked Sendable {} -extension TimeWindow: @unchecked Sendable {} -extension TimedGroupChallengeDefinitionProto: @unchecked Sendable {} -extension TimedGroupChallengePlayerStatsProto: @unchecked Sendable {} -extension TimedGroupChallengePlayerStatsProto.IndividualChallengeStats: @unchecked Sendable {} -extension TimedGroupChallengeSectionProto: @unchecked Sendable {} -extension TimedGroupChallengeSettingsProto: @unchecked Sendable {} -extension TimedQuestSectionProto: @unchecked Sendable {} -extension Timestamp: @unchecked Sendable {} -extension TodayViewProto: @unchecked Sendable {} -extension TodayViewSectionProto: @unchecked Sendable {} -extension TodayViewSectionProto.OneOf_Section: @unchecked Sendable {} -extension TopicProto: @unchecked Sendable {} -extension TradePokemonQuestProto: @unchecked Sendable {} -extension TradingGlobalSettingsProto: @unchecked Sendable {} -extension TradingLogEntry: @unchecked Sendable {} -extension TradingLogEntry.Result: @unchecked Sendable {} -extension TradingProto: @unchecked Sendable {} -extension TradingProto.TradingState: @unchecked Sendable {} -extension TradingProto.TradingPlayerProto: @unchecked Sendable {} -extension TradingProto.TradingPlayerProto.ExcludedPokemon: @unchecked Sendable {} -extension TradingProto.TradingPlayerProto.ExcludedPokemon.ExclusionReason: @unchecked Sendable {} -extension TradingProto.TradingPokemonProto: @unchecked Sendable {} -extension TransferPokemonToPokemonHomeOutProto: @unchecked Sendable {} -extension TransferPokemonToPokemonHomeOutProto.Status: @unchecked Sendable {} -extension TransferPokemonToPokemonHomeProto: @unchecked Sendable {} -extension Transform: @unchecked Sendable {} -extension TransitMetadata: @unchecked Sendable {} -extension TranslationSettingsProto: @unchecked Sendable {} -extension TravelRouteQuestProto: @unchecked Sendable {} -extension TriangleList: @unchecked Sendable {} -extension TriangleList.ExteriorEdgeBit: @unchecked Sendable {} -extension TutorialCompletRewards: @unchecked Sendable {} -extension TutorialCreateDetail: @unchecked Sendable {} -extension TutorialTelemetry: @unchecked Sendable {} -extension TutorialTelemetry.TutorialTelemetryId: @unchecked Sendable {} -extension TutorialsSettings: @unchecked Sendable {} -extension TwoWaySharedFriendshipDataProto: @unchecked Sendable {} -extension TwoWaySharedFriendshipDataProto.SharedMigrations: @unchecked Sendable {} -extension Type: @unchecked Sendable {} -extension TypeEffectiveSettingsProto: @unchecked Sendable {} -extension UInt32Value: @unchecked Sendable {} -extension UInt64Value: @unchecked Sendable {} -extension UUID: @unchecked Sendable {} -extension UnblockAccountOutProto: @unchecked Sendable {} -extension UnblockAccountOutProto.Result: @unchecked Sendable {} -extension UnblockAccountProto: @unchecked Sendable {} -extension UncommentAnnotationTestProto: @unchecked Sendable {} -extension UninterpretedOption: @unchecked Sendable {} -extension UninterpretedOption.NamePart: @unchecked Sendable {} -extension UnlinkNintendoAccountOutProto: @unchecked Sendable {} -extension UnlinkNintendoAccountOutProto.Status: @unchecked Sendable {} -extension UnlinkNintendoAccountProto: @unchecked Sendable {} -extension UnlockPokemonMoveOutProto: @unchecked Sendable {} -extension UnlockPokemonMoveOutProto.Result: @unchecked Sendable {} -extension UnlockPokemonMoveProto: @unchecked Sendable {} -extension UpNextSectionProto: @unchecked Sendable {} -extension UpcomingEventsSectionProto: @unchecked Sendable {} -extension UpdateAdventureSyncFitnessRequestProto: @unchecked Sendable {} -extension UpdateAdventureSyncFitnessResponseProto: @unchecked Sendable {} -extension UpdateAdventureSyncFitnessResponseProto.Status: @unchecked Sendable {} -extension UpdateAdventureSyncSettingsRequestProto: @unchecked Sendable {} -extension UpdateAdventureSyncSettingsResponseProto: @unchecked Sendable {} -extension UpdateAdventureSyncSettingsResponseProto.Status: @unchecked Sendable {} -extension UpdateBreadcrumbHistoryRequestProto: @unchecked Sendable {} -extension UpdateBreadcrumbHistoryResponseProto: @unchecked Sendable {} -extension UpdateBreadcrumbHistoryResponseProto.Status: @unchecked Sendable {} -extension UpdateCombatDataProto: @unchecked Sendable {} -extension UpdateCombatOutProto: @unchecked Sendable {} -extension UpdateCombatOutProto.Result: @unchecked Sendable {} -extension UpdateCombatProto: @unchecked Sendable {} -extension UpdateCombatResponseDataProto: @unchecked Sendable {} -extension UpdateCombatResponseTimeTelemetry: @unchecked Sendable {} -extension UpdateFacebookStatusOutProto: @unchecked Sendable {} -extension UpdateFacebookStatusOutProto.Result: @unchecked Sendable {} -extension UpdateFacebookStatusProto: @unchecked Sendable {} -extension UpdateFriendshipRequest: @unchecked Sendable {} -extension UpdateFriendshipRequest.FriendProfileProto: @unchecked Sendable {} -extension UpdateFriendshipResponse: @unchecked Sendable {} -extension UpdateFriendshipResponse.Result: @unchecked Sendable {} -extension UpdateIncomingGameInviteRequest: @unchecked Sendable {} -extension UpdateIncomingGameInviteRequest.NewStatus: @unchecked Sendable {} -extension UpdateIncomingGameInviteResponse: @unchecked Sendable {} -extension UpdateIncomingGameInviteResponse.Result: @unchecked Sendable {} -extension UpdateInvasionBattleOutProto: @unchecked Sendable {} -extension UpdateInvasionBattleProto: @unchecked Sendable {} -extension UpdateInvasionBattleProto.UpdateType: @unchecked Sendable {} -extension UpdateNotificationOutProto: @unchecked Sendable {} -extension UpdateNotificationProto: @unchecked Sendable {} -extension UpdatePhoneNumberRequest: @unchecked Sendable {} -extension UpdatePhoneNumberResponse: @unchecked Sendable {} -extension UpdatePhoneNumberResponse.Status: @unchecked Sendable {} -extension UpdatePokemonSizeContestEntryOutProto: @unchecked Sendable {} -extension UpdatePokemonSizeContestEntryOutProto.Status: @unchecked Sendable {} -extension UpdatePokemonSizeContestEntryProto: @unchecked Sendable {} -extension UpdatePostcardOutProto: @unchecked Sendable {} -extension UpdatePostcardOutProto.Result: @unchecked Sendable {} -extension UpdatePostcardProto: @unchecked Sendable {} -extension UpdateProfileRequest: @unchecked Sendable {} -extension UpdateProfileRequest.ProfileProto: @unchecked Sendable {} -extension UpdateProfileResponse: @unchecked Sendable {} -extension UpdateProfileResponse.Result: @unchecked Sendable {} -extension UpdateRouteDraftOutProto: @unchecked Sendable {} -extension UpdateRouteDraftOutProto.Result: @unchecked Sendable {} -extension UpdateRouteDraftProto: @unchecked Sendable {} -extension UpdateTradingOutProto: @unchecked Sendable {} -extension UpdateTradingOutProto.Result: @unchecked Sendable {} -extension UpdateTradingProto: @unchecked Sendable {} -extension UpdateVpsEventOutProto: @unchecked Sendable {} -extension UpdateVpsEventOutProto.Status: @unchecked Sendable {} -extension UpdateVpsEventProto: @unchecked Sendable {} -extension UpgradePokemonOutProto: @unchecked Sendable {} -extension UpgradePokemonOutProto.Result: @unchecked Sendable {} -extension UpgradePokemonOutProto.BulkUpgradesCost: @unchecked Sendable {} -extension UpgradePokemonProto: @unchecked Sendable {} -extension UploadManagementSettings: @unchecked Sendable {} -extension UploadManagementTelemetry: @unchecked Sendable {} -extension UploadManagementTelemetry.UploadManagementEventId: @unchecked Sendable {} -extension UploadPoiPhotoByUrlOutProto: @unchecked Sendable {} -extension UploadPoiPhotoByUrlProto: @unchecked Sendable {} -extension UploadRaidClientLogOutProto: @unchecked Sendable {} -extension UploadRaidClientLogProto: @unchecked Sendable {} -extension UpsightLoggingSettingsProto: @unchecked Sendable {} -extension Upstream: @unchecked Sendable {} -extension Upstream.OneOf_Message: @unchecked Sendable {} -extension Upstream.ProbeResponse: @unchecked Sendable {} -extension Upstream.ProbeResponse.NetworkType: @unchecked Sendable {} -extension Upstream.SubscriptionRequest: @unchecked Sendable {} -extension UseIncenseActionOutProto: @unchecked Sendable {} -extension UseIncenseActionOutProto.Result: @unchecked Sendable {} -extension UseIncenseActionProto: @unchecked Sendable {} -extension UseItemCaptureOutProto: @unchecked Sendable {} -extension UseItemCaptureProto: @unchecked Sendable {} -extension UseItemEggIncubatorOutProto: @unchecked Sendable {} -extension UseItemEggIncubatorOutProto.Result: @unchecked Sendable {} -extension UseItemEggIncubatorProto: @unchecked Sendable {} -extension UseItemEncounterOutProto: @unchecked Sendable {} -extension UseItemEncounterOutProto.Status: @unchecked Sendable {} -extension UseItemEncounterProto: @unchecked Sendable {} -extension UseItemMoveRerollOutProto: @unchecked Sendable {} -extension UseItemMoveRerollOutProto.Result: @unchecked Sendable {} -extension UseItemMoveRerollProto: @unchecked Sendable {} -extension UseItemPotionOutProto: @unchecked Sendable {} -extension UseItemPotionOutProto.Result: @unchecked Sendable {} -extension UseItemPotionProto: @unchecked Sendable {} -extension UseItemRareCandyOutProto: @unchecked Sendable {} -extension UseItemRareCandyOutProto.Result: @unchecked Sendable {} -extension UseItemRareCandyProto: @unchecked Sendable {} -extension UseItemReviveOutProto: @unchecked Sendable {} -extension UseItemReviveOutProto.Result: @unchecked Sendable {} -extension UseItemReviveProto: @unchecked Sendable {} -extension UseItemStardustBoostOutProto: @unchecked Sendable {} -extension UseItemStardustBoostOutProto.Result: @unchecked Sendable {} -extension UseItemStardustBoostProto: @unchecked Sendable {} -extension UseItemXpBoostOutProto: @unchecked Sendable {} -extension UseItemXpBoostOutProto.Result: @unchecked Sendable {} -extension UseItemXpBoostProto: @unchecked Sendable {} -extension UserAttributesProto: @unchecked Sendable {} -extension UserGameDataProto: @unchecked Sendable {} -extension UserIssueWeatherReport: @unchecked Sendable {} -extension UsernameSuggestionSettings: @unchecked Sendable {} -extension UsernameSuggestionTelemetry: @unchecked Sendable {} -extension VSSeekerScheduleProto: @unchecked Sendable {} -extension VSSeekerScheduleSettingsProto: @unchecked Sendable {} -extension VSSeekerScheduleWindowDetailsProto: @unchecked Sendable {} -extension VSSeekerScheduleWindowDetailsSubEntrysProto: @unchecked Sendable {} -extension ValidateNiaAppleAuthTokenRequestProto: @unchecked Sendable {} -extension ValidateNiaAppleAuthTokenResponseProto: @unchecked Sendable {} -extension ValidateNiaAppleAuthTokenResponseProto.Status: @unchecked Sendable {} -extension Value: @unchecked Sendable {} -extension Value.OneOf_Kind: @unchecked Sendable {} -extension VasaClientAction: @unchecked Sendable {} -extension VasaClientAction.ActionEnum: @unchecked Sendable {} -extension Vector3: @unchecked Sendable {} -extension VerboseLogCombatSettingsProto: @unchecked Sendable {} -extension VerboseLogRaidSettings: @unchecked Sendable {} -extension VerifyChallengeOutProto: @unchecked Sendable {} -extension VerifyChallengeProto: @unchecked Sendable {} -extension ViewPointOfInterestImageTelemetry: @unchecked Sendable {} -extension VirtualCurrencyBalanceProto: @unchecked Sendable {} -extension VpsAnchor: @unchecked Sendable {} -extension VpsEventMapDisplayProto: @unchecked Sendable {} -extension VpsEventSettingsProto: @unchecked Sendable {} -extension VpsEventSettingsProto.FortVpsEvent: @unchecked Sendable {} -extension VpsEventWrapperProto: @unchecked Sendable {} -extension VpsEventWrapperProto.EventDurationProto: @unchecked Sendable {} -extension VpsSessionSummaryEvent: @unchecked Sendable {} -extension VpsStateChangeEvent: @unchecked Sendable {} -extension VsActionHistory: @unchecked Sendable {} -extension VsSeekerAttributesProto: @unchecked Sendable {} -extension VsSeekerAttributesProto.VsSeekerStatus: @unchecked Sendable {} -extension VsSeekerBattleResult: @unchecked Sendable {} -extension VsSeekerClientSettingsProto: @unchecked Sendable {} -extension VsSeekerCompleteSeasonLogEntry: @unchecked Sendable {} -extension VsSeekerCompleteSeasonLogEntry.Result: @unchecked Sendable {} -extension VsSeekerCreateDetail: @unchecked Sendable {} -extension VsSeekerLootProto: @unchecked Sendable {} -extension VsSeekerLootProto.RewardProto: @unchecked Sendable {} -extension VsSeekerLootProto.RewardProto.OneOf_RewardType: @unchecked Sendable {} -extension VsSeekerPokemonRewardsProto: @unchecked Sendable {} -extension VsSeekerPokemonRewardsProto.OverrideIvRangeProto: @unchecked Sendable {} -extension VsSeekerPokemonRewardsProto.OverrideIvRangeProto.OneOf_OverrideType: @unchecked Sendable {} -extension VsSeekerPokemonRewardsProto.PokemonUnlockProto: @unchecked Sendable {} -extension VsSeekerPokemonRewardsProto.PokemonUnlockProto.OneOf_RewardType: @unchecked Sendable {} -extension VsSeekerRewardEncounterOutProto: @unchecked Sendable {} -extension VsSeekerRewardEncounterOutProto.Result: @unchecked Sendable {} -extension VsSeekerRewardEncounterProto: @unchecked Sendable {} -extension VsSeekerSetLogEntry: @unchecked Sendable {} -extension VsSeekerSetLogEntry.Result: @unchecked Sendable {} -extension VsSeekerStartMatchmakingDataProto: @unchecked Sendable {} -extension VsSeekerStartMatchmakingOutProto: @unchecked Sendable {} -extension VsSeekerStartMatchmakingOutProto.Result: @unchecked Sendable {} -extension VsSeekerStartMatchmakingProto: @unchecked Sendable {} -extension VsSeekerStartMatchmakingResponseDataProto: @unchecked Sendable {} -extension VsSeekerWinRewardsLogEntry: @unchecked Sendable {} -extension VsSeekerWinRewardsLogEntry.Result: @unchecked Sendable {} -extension WainaGetRewardsRequest: @unchecked Sendable {} -extension WainaGetRewardsResponse: @unchecked Sendable {} -extension WainaGetRewardsResponse.Status: @unchecked Sendable {} -extension WainaPreferences: @unchecked Sendable {} -extension WainaSubmitSleepDataRequest: @unchecked Sendable {} -extension WainaSubmitSleepDataResponse: @unchecked Sendable {} -extension WainaSubmitSleepDataResponse.Status: @unchecked Sendable {} -extension WallabySettingsProto: @unchecked Sendable {} -extension WayfarerOnboardingFlowTelemetry: @unchecked Sendable {} -extension WayfarerOnboardingFlowTelemetry.EventType: @unchecked Sendable {} -extension WayspotAnchorStateChangeEvent: @unchecked Sendable {} -extension WayspotEditTelemetry: @unchecked Sendable {} -extension WayspotEditTelemetry.WayspotEditEventId: @unchecked Sendable {} -extension WeatherAffinityProto: @unchecked Sendable {} -extension WeatherAlertProto: @unchecked Sendable {} -extension WeatherAlertProto.Severity: @unchecked Sendable {} -extension WeatherAlertSettingsProto: @unchecked Sendable {} -extension WeatherAlertSettingsProto.AlertEnforceSettings: @unchecked Sendable {} -extension WeatherAlertSettingsProto.AlertEnforceSettings.EnforceCondition: @unchecked Sendable {} -extension WeatherAlertSettingsProto.AlertIgnoreSettings: @unchecked Sendable {} -extension WeatherAlertSettingsProto.AlertIgnoreSettings.OverrideCondition: @unchecked Sendable {} -extension WeatherBonusProto: @unchecked Sendable {} -extension WeatherDetailClickTelemetry: @unchecked Sendable {} -extension WeatherSettingsProto: @unchecked Sendable {} -extension WeatherSettingsProto.DisplayWeatherSettingsProto: @unchecked Sendable {} -extension WeatherSettingsProto.DisplayWeatherSettingsProto.DisplayLevelSettings: @unchecked Sendable {} -extension WeatherSettingsProto.DisplayWeatherSettingsProto.WindLevelSettings: @unchecked Sendable {} -extension WeatherSettingsProto.GameplayWeatherSettingsProto: @unchecked Sendable {} -extension WeatherSettingsProto.GameplayWeatherSettingsProto.ConditionMapSettings: @unchecked Sendable {} -extension WeatherSettingsProto.StaleWeatherSettingsProto: @unchecked Sendable {} -extension WebSocketResponseDataProto: @unchecked Sendable {} -extension WebTelemetry: @unchecked Sendable {} -extension WebstoreRewardsLogEntry: @unchecked Sendable {} -extension WebstoreRewardsLogEntry.Result: @unchecked Sendable {} -extension WidgetsProto: @unchecked Sendable {} -extension WidgetsProto.WidgetType: @unchecked Sendable {} -extension WildCreateDetail: @unchecked Sendable {} -extension WildPokemonProto: @unchecked Sendable {} -extension WithBadgeTypeProto: @unchecked Sendable {} -extension WithBuddyProto: @unchecked Sendable {} -extension WithCombatTypeProto: @unchecked Sendable {} -extension WithCurveBallProto: @unchecked Sendable {} -extension WithDailyBuddyAffectionProto: @unchecked Sendable {} -extension WithDailyCaptureBonusProto: @unchecked Sendable {} -extension WithDailySpinBonusProto: @unchecked Sendable {} -extension WithDeviceTypeProto: @unchecked Sendable {} -extension WithDistanceProto: @unchecked Sendable {} -extension WithElapsedTimeProto: @unchecked Sendable {} -extension WithEncounterTypeProto: @unchecked Sendable {} -extension WithFriendLevelProto: @unchecked Sendable {} -extension WithFriendsRaidProto: @unchecked Sendable {} -extension WithGblRankProto: @unchecked Sendable {} -extension WithInPartyProto: @unchecked Sendable {} -extension WithInvasionCharacterProto: @unchecked Sendable {} -extension WithItemProto: @unchecked Sendable {} -extension WithItemTypeProto: @unchecked Sendable {} -extension WithLocationProto: @unchecked Sendable {} -extension WithMaxCpProto: @unchecked Sendable {} -extension WithNpcCombatProto: @unchecked Sendable {} -extension WithPlayerLevelProto: @unchecked Sendable {} -extension WithPokemonAlignmentProto: @unchecked Sendable {} -extension WithPokemonCategoryProto: @unchecked Sendable {} -extension WithPokemonCostumeProto: @unchecked Sendable {} -extension WithPokemonCpLimitProto: @unchecked Sendable {} -extension WithPokemonCpProto: @unchecked Sendable {} -extension WithPokemonLevelProto: @unchecked Sendable {} -extension WithPokemonSizeProto: @unchecked Sendable {} -extension WithPokemonTypeProto: @unchecked Sendable {} -extension WithPvpCombatProto: @unchecked Sendable {} -extension WithQuestContextProto: @unchecked Sendable {} -extension WithRaidLevelProto: @unchecked Sendable {} -extension WithRaidLocationProto: @unchecked Sendable {} -extension WithRouteTravelProto: @unchecked Sendable {} -extension WithSingleDayProto: @unchecked Sendable {} -extension WithSuperEffectiveChargeMoveProto: @unchecked Sendable {} -extension WithTappableTypeProto: @unchecked Sendable {} -extension WithTempEvoIdProto: @unchecked Sendable {} -extension WithThrowTypeProto: @unchecked Sendable {} -extension WithThrowTypeProto.OneOf_Throw: @unchecked Sendable {} -extension WithTotalDaysProto: @unchecked Sendable {} -extension WithUniquePokemonProto: @unchecked Sendable {} -extension WithUniquePokestopProto: @unchecked Sendable {} -extension WithUniqueRouteTravelProto: @unchecked Sendable {} -extension WithWeatherBoostProto: @unchecked Sendable {} -extension WithWinBattleStatusProto: @unchecked Sendable {} -extension WithWinGymBattleStatusProto: @unchecked Sendable {} -extension WithWinRaidStatusProto: @unchecked Sendable {} -extension ZoneProto: @unchecked Sendable {} -#endif // swift(>=5.5) && canImport(_Concurrency) + public init() {} + + fileprivate var _combat: CombatProto? = nil +} + +#if swift(>=4.2) + +extension OpenNpcCombatSessionOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [OpenNpcCombatSessionOutProto.Result] = [ + .unset, + .success, + .errorPlayerBelowMinimumLevel, + .errorPokemonLineupIneligibleForLeague, + .errorAccessDenied, + ] +} + +#endif // swift(>=4.2) + +public struct OpenNpcCombatSessionProto { + // 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. + + public var attackingPokemonID: [UInt64] = [] + + public var combatNpcTemplateID: String = String() + + public var lobbyJoinTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct OpenNpcCombatSessionResponseData { + // 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. + + public var rpcID: Int32 { + get {return _storage._rpcID} + set {_uniqueStorage()._rpcID = newValue} + } + + public var roundTripTimeMs: UInt32 { + get {return _storage._roundTripTimeMs} + set {_uniqueStorage()._roundTripTimeMs = newValue} + } + + public var result: OpenNpcCombatSessionOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} + } + + public var combat: CombatForLogProto { + get {return _storage._combat ?? CombatForLogProto()} + set {_uniqueStorage()._combat = newValue} + } + /// Returns true if `combat` has been explicitly set. + public var hasCombat: Bool {return _storage._combat != nil} + /// Clears the value of `combat`. Subsequent reads from it will return its default value. + public mutating func clearCombat() {_uniqueStorage()._combat = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct OpenSponsoredGiftOutProto { + // 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. + + public var result: OpenSponsoredGiftOutProto.Result = .unset + + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerBagFull // = 3 + case errorGiftRedeemed // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerBagFull + case 4: self = .errorGiftRedeemed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerBagFull: return 3 + case .errorGiftRedeemed: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _rewards: LootProto? = nil +} + +#if swift(>=4.2) + +extension OpenSponsoredGiftOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [OpenSponsoredGiftOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerBagFull, + .errorGiftRedeemed, + ] +} + +#endif // swift(>=4.2) + +public struct OpenSponsoredGiftProto { + // 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. + + public var encryptedAdToken: Data = Data() + + public var giftToken: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct OpenTradingOutProto { + // 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. + + public var result: OpenTradingOutProto.Result = .unset + + public var trading: TradingProto { + get {return _trading ?? TradingProto()} + set {_trading = newValue} + } + /// Returns true if `trading` has been explicitly set. + public var hasTrading: Bool {return self._trading != nil} + /// Clears the value of `trading`. Subsequent reads from it will return its default value. + public mutating func clearTrading() {self._trading = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorFriendNotFound // = 3 + case errorInvalidPlayerID // = 4 + case errorInvalidState // = 5 + case errorStateHandler // = 6 + case errorTradingExpired // = 7 + case errorTradingCooldown // = 8 + case errorPlayerAlreadyOpened // = 9 + case errorFriendOutOfRange // = 10 + case errorPlayerBelowMinimumLevel // = 11 + case errorPlayerReachedDailyLimit // = 12 + case errorFriendReachedDailyLimit // = 13 + case errorPlayerNotEnoughStardust // = 14 + case errorFriendNotEnoughStardust // = 15 + case errorFriendBelowMinimumLevel // = 16 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorFriendNotFound + case 4: self = .errorInvalidPlayerID + case 5: self = .errorInvalidState + case 6: self = .errorStateHandler + case 7: self = .errorTradingExpired + case 8: self = .errorTradingCooldown + case 9: self = .errorPlayerAlreadyOpened + case 10: self = .errorFriendOutOfRange + case 11: self = .errorPlayerBelowMinimumLevel + case 12: self = .errorPlayerReachedDailyLimit + case 13: self = .errorFriendReachedDailyLimit + case 14: self = .errorPlayerNotEnoughStardust + case 15: self = .errorFriendNotEnoughStardust + case 16: self = .errorFriendBelowMinimumLevel + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorFriendNotFound: return 3 + case .errorInvalidPlayerID: return 4 + case .errorInvalidState: return 5 + case .errorStateHandler: return 6 + case .errorTradingExpired: return 7 + case .errorTradingCooldown: return 8 + case .errorPlayerAlreadyOpened: return 9 + case .errorFriendOutOfRange: return 10 + case .errorPlayerBelowMinimumLevel: return 11 + case .errorPlayerReachedDailyLimit: return 12 + case .errorFriendReachedDailyLimit: return 13 + case .errorPlayerNotEnoughStardust: return 14 + case .errorFriendNotEnoughStardust: return 15 + case .errorFriendBelowMinimumLevel: return 16 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _trading: TradingProto? = nil +} + +#if swift(>=4.2) + +extension OpenTradingOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [OpenTradingOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorFriendNotFound, + .errorInvalidPlayerID, + .errorInvalidState, + .errorStateHandler, + .errorTradingExpired, + .errorTradingCooldown, + .errorPlayerAlreadyOpened, + .errorFriendOutOfRange, + .errorPlayerBelowMinimumLevel, + .errorPlayerReachedDailyLimit, + .errorFriendReachedDailyLimit, + .errorPlayerNotEnoughStardust, + .errorFriendNotEnoughStardust, + .errorFriendBelowMinimumLevel, + ] +} + +#endif // swift(>=4.2) + +public struct OpenTradingProto { + // 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. + + public var playerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct OptOutProto { + // 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. + + public var categories: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct OptimizationsProto { + // 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. + + public var optimizationPhysicsToggleEnabled: Bool = false + + public var optimizationAdaptivePerformanceEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ParticipationProto { + // 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. + + public var individualDamagePokeballs: Int32 = 0 + + public var teamDamagePokeballs: Int32 = 0 + + public var gymOwnershipPokeballs: Int32 = 0 + + public var basePokeballs: Int32 = 0 + + public var bluePercentage: Double = 0 + + public var redPercentage: Double = 0 + + public var yellowPercentage: Double = 0 + + public var bonusItemMultiplier: Float = 0 + + public var highestFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + + public var highestFriendshipPokeballs: Int32 = 0 + + public var speedCompletionPokeballs: Int32 = 0 + + public var speedCompletionMegaResource: Int32 = 0 + + public var megaResourceCapped: Bool = false + + public var fortPowerupPokeballs: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyActivityStatProto { + // 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. + + public var activityStatID: Int32 = 0 + + public var questType: QuestType = .questUnset + + public var conditions: [QuestConditionProto] = [] + + public var categoryID: Int32 = 0 + + public var iconID: Int32 = 0 + + public var scaleDown: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyActivitySummaryProto { + // 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. + + public var playerSummaryMap: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyActivitySummaryRpcProto { + // 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. + + public var playerActivity: [PartyActivitySummaryRpcProto.PlayerActivityRpcProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct PlayerActivityRpcProto { + // 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. + + public var playerID: String = String() + + public var playerActivity: PlayerActivitySummaryProto { + get {return _playerActivity ?? PlayerActivitySummaryProto()} + set {_playerActivity = newValue} + } + /// Returns true if `playerActivity` has been explicitly set. + public var hasPlayerActivity: Bool {return self._playerActivity != nil} + /// Clears the value of `playerActivity`. Subsequent reads from it will return its default value. + public mutating func clearPlayerActivity() {self._playerActivity = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _playerActivity: PlayerActivitySummaryProto? = nil + } + + public init() {} +} + +public struct PartyDarkLaunchLogMessageProto { + // 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. + + public var logLevel: PartyDarkLaunchLogMessageProto.LogLevel = .unknown + + public var timestampMs: Int64 = 0 + + public var logString: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum LogLevel: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case info // = 1 + case warning // = 2 + case severe // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .info + case 2: self = .warning + case 3: self = .severe + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .info: return 1 + case .warning: return 2 + case .severe: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PartyDarkLaunchLogMessageProto.LogLevel: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PartyDarkLaunchLogMessageProto.LogLevel] = [ + .unknown, + .info, + .warning, + .severe, + ] +} + +#endif // swift(>=4.2) + +public struct PartyDarkLaunchSettingsProto { + // 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. + + public var darkLaunchEnabled: Bool = false + + public var rolloutPlayersPerBillion: Int32 = 0 + + public var createOrJoinWaitProbability: [PartyDarkLaunchSettingsProto.CreateOrJoinWaitProbabilityProto] = [] + + public var probabilityToCreatePercent: Int32 = 0 + + public var leavePartyProbability: [PartyDarkLaunchSettingsProto.LeavePartyProbabilityProto] = [] + + public var updateLocationEnabled: Bool = false + + public var updateLocationOverridePeriodMs: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct CreateOrJoinWaitProbabilityProto { + // 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. + + public var weight: Int32 = 0 + + public var waitTimeMs: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct LeavePartyProbabilityProto { + // 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. + + public var weight: Int32 = 0 + + public var maxDurationMs: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct PartyHistoryRpcProto { + // 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. + + public var partyID: Int64 = 0 + + public var partySeed: Int64 = 0 + + public var partyStartedMs: Int64 = 0 + + public var partyExpiryMs: Int64 = 0 + + public var partyConcludedMs: Int64 = 0 + + public var partyFormedMs: Int64 = 0 + + public var playersParticipated: [PartyParticipantHistoryRpcProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyIapBoostsSettingsProto { + // 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. + + public var boost: [PartyIapBoostsSettingsProto.PartyIapBoostProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct PartyIapBoostProto { + // 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. + + public var supportedItemTypes: Item = .unknown + + public var percentageDuration: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct PartyItemProto { + // 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. + + public var playerID: String = String() + + public var partyItem: ItemProto { + get {return _partyItem ?? ItemProto()} + set {_partyItem = newValue} + } + /// Returns true if `partyItem` has been explicitly set. + public var hasPartyItem: Bool {return self._partyItem != nil} + /// Clears the value of `partyItem`. Subsequent reads from it will return its default value. + public mutating func clearPartyItem() {self._partyItem = nil} + + public var usageStartMs: Int64 = 0 + + public var item: Item = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _partyItem: ItemProto? = nil +} + +public struct PartyLocationPushProto { + // 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. + + public var playerID: String = String() + + public var untrustedSampleList: [PartyLocationSampleProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyLocationSampleProto { + // 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. + + public var timestampMs: Int64 = 0 + + public var lat: Double = 0 + + public var lng: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyLocationsRpcProto { + // 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. + + public var playerLocation: [PartyLocationsRpcProto.PlayerLocationRpcProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct PlayerLocationRpcProto { + // 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. + + public var trustedLat: Double = 0 + + public var trustedLng: Double = 0 + + public var playerZone: PlayerZoneCompliance = .unsetZone + + public var untrustedSamples: [PartyLocationSampleProto] = [] + + public var lastUpdateTimestampMs: Int64 = 0 + + public var playerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct PartyParticipantHistoryRpcProto { + // 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. + + public var playerID: String = String() + + public var partyJoinedMs: Int64 = 0 + + public var partyLeftMs: Int64 = 0 + + public var avatar: PlayerAvatarProto { + get {return _avatar ?? PlayerAvatarProto()} + set {_avatar = newValue} + } + /// Returns true if `avatar` has been explicitly set. + public var hasAvatar: Bool {return self._avatar != nil} + /// Clears the value of `avatar`. Subsequent reads from it will return its default value. + public mutating func clearAvatar() {self._avatar = nil} + + public var neutralAvatar: PlayerNeutralAvatarProto { + get {return _neutralAvatar ?? PlayerNeutralAvatarProto()} + set {_neutralAvatar = newValue} + } + /// Returns true if `neutralAvatar` has been explicitly set. + public var hasNeutralAvatar: Bool {return self._neutralAvatar != nil} + /// Clears the value of `neutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearNeutralAvatar() {self._neutralAvatar = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _avatar: PlayerAvatarProto? = nil + fileprivate var _neutralAvatar: PlayerNeutralAvatarProto? = nil +} + +public struct PartyParticipantProto { + // 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. + + public var playerID: String { + get {return _storage._playerID} + set {_uniqueStorage()._playerID = newValue} + } + + public var playerProfile: PlayerPublicProfileProto { + get {return _storage._playerProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._playerProfile = newValue} + } + /// Returns true if `playerProfile` has been explicitly set. + public var hasPlayerProfile: Bool {return _storage._playerProfile != nil} + /// Clears the value of `playerProfile`. Subsequent reads from it will return its default value. + public mutating func clearPlayerProfile() {_uniqueStorage()._playerProfile = nil} + + public var buddyPokedexID: Int32 { + get {return _storage._buddyPokedexID} + set {_uniqueStorage()._buddyPokedexID = newValue} + } + + public var buddyPokemonDisplay: PokemonDisplayProto { + get {return _storage._buddyPokemonDisplay ?? PokemonDisplayProto()} + set {_uniqueStorage()._buddyPokemonDisplay = newValue} + } + /// Returns true if `buddyPokemonDisplay` has been explicitly set. + public var hasBuddyPokemonDisplay: Bool {return _storage._buddyPokemonDisplay != nil} + /// Clears the value of `buddyPokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearBuddyPokemonDisplay() {_uniqueStorage()._buddyPokemonDisplay = nil} + + public var positionIndex: Int32 { + get {return _storage._positionIndex} + set {_uniqueStorage()._positionIndex = newValue} + } + + public var isHost: Bool { + get {return _storage._isHost} + set {_uniqueStorage()._isHost = newValue} + } + + public var niaAccountID: String { + get {return _storage._niaAccountID} + set {_uniqueStorage()._niaAccountID = newValue} + } + + public var untrustedLocationSamples: [PartyLocationSampleProto] { + get {return _storage._untrustedLocationSamples} + set {_uniqueStorage()._untrustedLocationSamples = newValue} + } + + public var isMinor: Bool { + get {return _storage._isMinor} + set {_uniqueStorage()._isMinor = newValue} + } + + public var playerJoinTimeMs: Int64 { + get {return _storage._playerJoinTimeMs} + set {_uniqueStorage()._playerJoinTimeMs = newValue} + } + + public var participantRaidInfo: PartyParticipantRaidInfoProto { + get {return _storage._participantRaidInfo ?? PartyParticipantRaidInfoProto()} + set {_uniqueStorage()._participantRaidInfo = newValue} + } + /// Returns true if `participantRaidInfo` has been explicitly set. + public var hasParticipantRaidInfo: Bool {return _storage._participantRaidInfo != nil} + /// Clears the value of `participantRaidInfo`. Subsequent reads from it will return its default value. + public mutating func clearParticipantRaidInfo() {_uniqueStorage()._participantRaidInfo = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PartyParticipantRaidInfoProto { + // 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. + + public var raidSeed: Int64 = 0 + + public var gymID: String = String() + + public var lobbyID: [Int32] = [] + + public var raidInfo: RaidInfoProto { + get {return _raidInfo ?? RaidInfoProto()} + set {_raidInfo = newValue} + } + /// Returns true if `raidInfo` has been explicitly set. + public var hasRaidInfo: Bool {return self._raidInfo != nil} + /// Clears the value of `raidInfo`. Subsequent reads from it will return its default value. + public mutating func clearRaidInfo() {self._raidInfo = nil} + + public var latitude: Double = 0 + + public var longitude: Double = 0 + + public var lobbyCreationMs: Int64 = 0 + + public var lobbyEndJoinMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _raidInfo: RaidInfoProto? = nil +} + +public struct PartyPlayGeneralSettingsProto { + // 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. + + public var enabled: Bool = false + + public var minPlayerLevel: Int32 = 0 + + public var creationToStartTimeoutMs: Int64 = 0 + + public var complianceZonesEnabled: Bool = false + + public var enablePartyRaidInformation: Bool = false + + public var fallbackStardustCount: Int32 = 0 + + public var friendRequestsEnabled: Bool = false + + public var partyExpiryDurationMs: Int64 = 0 + + public var partyExpiryWarningMinutes: Int32 = 0 + + public var pokemonCatchTagsEnabled: Bool = false + + public var enabledFriendStatusIncrease: Bool = false + + public var restartPartyRejoinPromptEnabled: Bool = false + + public var partyIapBoostsEnabled: Bool = false + + public var partyNewQuestNotificationV2Enabled: Bool = false + + public var pgDeliveryMechanic: PartyPlayGeneralSettingsProto.PgDeliveryMechanic = .unset + + public var partyCatchTagsEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PgDeliveryMechanic: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case fullParty // = 1 + case pollingBit // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .fullParty + case 2: self = .pollingBit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .fullParty: return 1 + case .pollingBit: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PartyPlayGeneralSettingsProto.PgDeliveryMechanic: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PartyPlayGeneralSettingsProto.PgDeliveryMechanic] = [ + .unset, + .fullParty, + .pollingBit, + ] +} + +#endif // swift(>=4.2) + +public struct PartyPlayGlobalSettingsProto { + // 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. + + public var enableParties: Bool = false + + public var numDigitsInID: Int32 = 0 + + public var pushGatewayEnabled: Bool = false + + public var pushGatewayNamespace: String = String() + + public var maxPartyMembers: Int32 = 0 + + public var enableLocationUpdates: Bool = false + + public var clientLocationMinDistanceToFlushMm: Int32 = 0 + + public var clientLocationMinTimeToFlushMs: Int32 = 0 + + public var clientLocationMaxSamplesPerRequest: Int32 = 0 + + public var locationSampleExpiryTimeMs: Int32 = 0 + + public var enableAssembledPartyNameCreator: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyPlayInvitationDetails { + // 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. + + public var partyID: [Int32] = [] + + public var inviterID: String = String() + + public var inviterNickname: String = String() + + public var inviterAvatar: PlayerAvatarProto { + get {return _inviterAvatar ?? PlayerAvatarProto()} + set {_inviterAvatar = newValue} + } + /// Returns true if `inviterAvatar` has been explicitly set. + public var hasInviterAvatar: Bool {return self._inviterAvatar != nil} + /// Clears the value of `inviterAvatar`. Subsequent reads from it will return its default value. + public mutating func clearInviterAvatar() {self._inviterAvatar = nil} + + public var partySeed: Int64 = 0 + + public var inviterNeutralAvatar: PlayerNeutralAvatarProto { + get {return _inviterNeutralAvatar ?? PlayerNeutralAvatarProto()} + set {_inviterNeutralAvatar = newValue} + } + /// Returns true if `inviterNeutralAvatar` has been explicitly set. + public var hasInviterNeutralAvatar: Bool {return self._inviterNeutralAvatar != nil} + /// Clears the value of `inviterNeutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearInviterNeutralAvatar() {self._inviterNeutralAvatar = nil} + + public var id: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _inviterAvatar: PlayerAvatarProto? = nil + fileprivate var _inviterNeutralAvatar: PlayerNeutralAvatarProto? = nil +} + +public struct PartyPlayPreferences { + // 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. + + public var shareLocation: Bool = false + + public var showMapAvatars: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyQuestRpcProto { + // 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. + + public var status: PartyQuestStatus = .partyQuestUnknown + + public var partyQuestCandidates: [ClientQuestProto] = [] + + public var activeQuestState: PartyQuestStateProto { + get {return _activeQuestState ?? PartyQuestStateProto()} + set {_activeQuestState = newValue} + } + /// Returns true if `activeQuestState` has been explicitly set. + public var hasActiveQuestState: Bool {return self._activeQuestState != nil} + /// Clears the value of `activeQuestState`. Subsequent reads from it will return its default value. + public mutating func clearActiveQuestState() {self._activeQuestState = nil} + + public var playerUnclaimedQuestIds: [PlayerUnclaimedPartyQuestIdsProto] = [] + + public var completedQuestStates: [PartyQuestStateProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _activeQuestState: PartyQuestStateProto? = nil +} + +public struct PartyQuestStateProto { + // 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. + + public var clientQuest: ClientQuestProto { + get {return _clientQuest ?? ClientQuestProto()} + set {_clientQuest = newValue} + } + /// Returns true if `clientQuest` has been explicitly set. + public var hasClientQuest: Bool {return self._clientQuest != nil} + /// Clears the value of `clientQuest`. Subsequent reads from it will return its default value. + public mutating func clearClientQuest() {self._clientQuest = nil} + + public var sharedProgress: Int32 = 0 + + public var playerQuestState: Dictionary = [:] + + public var claimRewardsDeadlineMs: Int64 = 0 + + public var playerQuestStates: [PartyQuestStateProto.PlayerPartyQuestStateProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct PlayerPartyQuestStateProto { + // 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. + + public var playerStatus: PartyQuestStateProto.PlayerPartyQuestStateProto.PlayerStatus = .playerUnknown + + public var individualProgress: Int32 = 0 + + public var playerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PlayerStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case playerUnknown // = 0 + case playerWaitingPartyQuestToStart // = 1 + case playerActive // = 2 + case playerCompletedPartyQuestAndAwarded // = 3 + case playerAbandonedPartyQuest // = 4 + case playerCompletedPartyQuest // = 5 + case playerAwarded // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .playerUnknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .playerUnknown + case 1: self = .playerWaitingPartyQuestToStart + case 2: self = .playerActive + case 3: self = .playerCompletedPartyQuestAndAwarded + case 4: self = .playerAbandonedPartyQuest + case 5: self = .playerCompletedPartyQuest + case 6: self = .playerAwarded + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .playerUnknown: return 0 + case .playerWaitingPartyQuestToStart: return 1 + case .playerActive: return 2 + case .playerCompletedPartyQuestAndAwarded: return 3 + case .playerAbandonedPartyQuest: return 4 + case .playerCompletedPartyQuest: return 5 + case .playerAwarded: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public init() {} + + fileprivate var _clientQuest: ClientQuestProto? = nil +} + +#if swift(>=4.2) + +extension PartyQuestStateProto.PlayerPartyQuestStateProto.PlayerStatus: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PartyQuestStateProto.PlayerPartyQuestStateProto.PlayerStatus] = [ + .playerUnknown, + .playerWaitingPartyQuestToStart, + .playerActive, + .playerCompletedPartyQuestAndAwarded, + .playerAbandonedPartyQuest, + .playerCompletedPartyQuest, + .playerAwarded, + ] +} + +#endif // swift(>=4.2) + +public struct PartyRecommendationSettingsProto { + // 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. + + public var mode: PartyRecommendationSettingsProto.PartyRcommendationMode = .unset + + public var variance: Float = 0 + + public var thirdMoveWeight: Float = 0 + + public var megaEvoCombatRatingScale: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PartyRcommendationMode: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case partyRecommendationMode1 // = 1 + case partyRecommendationMode2 // = 2 + case partyRecommendationMode3 // = 3 + case partyRecommendationMode4 // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .partyRecommendationMode1 + case 2: self = .partyRecommendationMode2 + case 3: self = .partyRecommendationMode3 + case 4: self = .partyRecommendationMode4 + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .partyRecommendationMode1: return 1 + case .partyRecommendationMode2: return 2 + case .partyRecommendationMode3: return 3 + case .partyRecommendationMode4: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PartyRecommendationSettingsProto.PartyRcommendationMode: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PartyRecommendationSettingsProto.PartyRcommendationMode] = [ + .unset, + .partyRecommendationMode1, + .partyRecommendationMode2, + .partyRecommendationMode3, + .partyRecommendationMode4, + ] +} + +#endif // swift(>=4.2) + +public struct PartyRpcProto { + // 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. + + public var partyID: [Int32] { + get {return _storage._partyID} + set {_uniqueStorage()._partyID = newValue} + } + + public var partyStartMs: Int64 { + get {return _storage._partyStartMs} + set {_uniqueStorage()._partyStartMs = newValue} + } + + public var partyEndMs: Int64 { + get {return _storage._partyEndMs} + set {_uniqueStorage()._partyEndMs = newValue} + } + + public var partyCreationMs: Int64 { + get {return _storage._partyCreationMs} + set {_uniqueStorage()._partyCreationMs = newValue} + } + + public var partySeed: Int64 { + get {return _storage._partySeed} + set {_uniqueStorage()._partySeed = newValue} + } + + public var id: Int64 { + get {return _storage._id} + set {_uniqueStorage()._id = newValue} + } + + public var status: PartyStatus { + get {return _storage._status} + set {_uniqueStorage()._status = newValue} + } + + public var globalSettingsSnapshot: PartyPlayGlobalSettingsProto { + get {return _storage._globalSettingsSnapshot ?? PartyPlayGlobalSettingsProto()} + set {_uniqueStorage()._globalSettingsSnapshot = newValue} + } + /// Returns true if `globalSettingsSnapshot` has been explicitly set. + public var hasGlobalSettingsSnapshot: Bool {return _storage._globalSettingsSnapshot != nil} + /// Clears the value of `globalSettingsSnapshot`. Subsequent reads from it will return its default value. + public mutating func clearGlobalSettingsSnapshot() {_uniqueStorage()._globalSettingsSnapshot = nil} + + public var partySummaryStats: [PartyActivityStatProto] { + get {return _storage._partySummaryStats} + set {_uniqueStorage()._partySummaryStats = newValue} + } + + public var partyStartDeadlineMs: Int64 { + get {return _storage._partyStartDeadlineMs} + set {_uniqueStorage()._partyStartDeadlineMs = newValue} + } + + public var partyQuestSettingsSnapshot: PartySharedQuestSettingsProto { + get {return _storage._partyQuestSettingsSnapshot ?? PartySharedQuestSettingsProto()} + set {_uniqueStorage()._partyQuestSettingsSnapshot = newValue} + } + /// Returns true if `partyQuestSettingsSnapshot` has been explicitly set. + public var hasPartyQuestSettingsSnapshot: Bool {return _storage._partyQuestSettingsSnapshot != nil} + /// Clears the value of `partyQuestSettingsSnapshot`. Subsequent reads from it will return its default value. + public mutating func clearPartyQuestSettingsSnapshot() {_uniqueStorage()._partyQuestSettingsSnapshot = nil} + + public var partyQuest: PartyQuestRpcProto { + get {return _storage._partyQuest ?? PartyQuestRpcProto()} + set {_uniqueStorage()._partyQuest = newValue} + } + /// Returns true if `partyQuest` has been explicitly set. + public var hasPartyQuest: Bool {return _storage._partyQuest != nil} + /// Clears the value of `partyQuest`. Subsequent reads from it will return its default value. + public mutating func clearPartyQuest() {_uniqueStorage()._partyQuest = nil} + + public var participantList: [PartyParticipantProto] { + get {return _storage._participantList} + set {_uniqueStorage()._participantList = newValue} + } + + public var partyActivitySummaryProto: PartyActivitySummaryProto { + get {return _storage._partyActivitySummaryProto ?? PartyActivitySummaryProto()} + set {_uniqueStorage()._partyActivitySummaryProto = newValue} + } + /// Returns true if `partyActivitySummaryProto` has been explicitly set. + public var hasPartyActivitySummaryProto: Bool {return _storage._partyActivitySummaryProto != nil} + /// Clears the value of `partyActivitySummaryProto`. Subsequent reads from it will return its default value. + public mutating func clearPartyActivitySummaryProto() {_uniqueStorage()._partyActivitySummaryProto = nil} + + public var participantObfuscationMap: [PlayerObfuscationMapEntryProto] { + get {return _storage._participantObfuscationMap} + set {_uniqueStorage()._participantObfuscationMap = newValue} + } + + public var clientDisplayHostIndex: Int32 { + get {return _storage._clientDisplayHostIndex} + set {_uniqueStorage()._clientDisplayHostIndex = newValue} + } + + public var consummablePartyItems: [PartyItemProto] { + get {return _storage._consummablePartyItems} + set {_uniqueStorage()._consummablePartyItems = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PartySendDarkLaunchLogOutProto { + // 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. + + public var result: PartySendDarkLaunchLogOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorDarkLaunchNotEnabledForPlayer // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorDarkLaunchNotEnabledForPlayer + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorDarkLaunchNotEnabledForPlayer: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PartySendDarkLaunchLogOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PartySendDarkLaunchLogOutProto.Result] = [ + .unset, + .success, + .errorDarkLaunchNotEnabledForPlayer, + ] +} + +#endif // swift(>=4.2) + +public struct PartySendDarkLaunchLogProto { + // 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. + + public var logMessages: [PartyDarkLaunchLogMessageProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartySharedQuestSettingsProto { + // 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. + + public var numGeneratedSharedQuests: Int32 = 0 + + public var numCandidateSharedQuests: Int32 = 0 + + public var sharedQuestSelectionTimeoutS: Int32 = 0 + + public var sharedQuestClaimRewardsTimeoutS: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartySummarySettingsProto { + // 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. + + public var playerActivities: [PartyActivityStatProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyUpdateLocationOutProto { + // 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. + + public var result: PartyUpdateLocationOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorFeatureDisabled // = 3 + case errorNotInParty // = 4 + case errorRedisException // = 5 + case errorLocationRecordNotFound // = 6 + case errorPlfeRedirectNeeded // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorFeatureDisabled + case 4: self = .errorNotInParty + case 5: self = .errorRedisException + case 6: self = .errorLocationRecordNotFound + case 7: self = .errorPlfeRedirectNeeded + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorFeatureDisabled: return 3 + case .errorNotInParty: return 4 + case .errorRedisException: return 5 + case .errorLocationRecordNotFound: return 6 + case .errorPlfeRedirectNeeded: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PartyUpdateLocationOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PartyUpdateLocationOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorFeatureDisabled, + .errorNotInParty, + .errorRedisException, + .errorLocationRecordNotFound, + .errorPlfeRedirectNeeded, + ] +} + +#endif // swift(>=4.2) + +public struct PartyUpdateLocationProto { + // 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. + + public var untrustedSampleList: [PartyLocationSampleProto] = [] + + public var isDarkLaunchRequest: Bool = false + + public var isLocationSharingDisabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyZoneDefinitionProto { + // 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. + + public var zone: PlayerZoneCompliance = .unsetZone + + public var zoneRadiusM: Int32 = 0 + + public var partyStatus: PartyStatus = .partyUnknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PartyZonePushProto { + // 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. + + public var playerID: String = String() + + public var playerComplianceZone: PlayerZoneCompliance = .unsetZone + + public var zoneUpdateTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PasscodeRedeemTelemetry { + // 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. + + public var result: String = String() + + public var passcode: String = String() + + public var countryCode: String = String() + + public var languageCode: String = String() + + public var bundleVersion: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PasscodeRedemptionFlowRequest { + // 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. + + public var passcode: String = String() + + public var poiGuid: String = String() + + public var devicePlatform: PasscodeRedemptionFlowRequest.DevicePlatform = .platformUnknown + + public var carrier: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum DevicePlatform: SwiftProtobuf.Enum { + public typealias RawValue = Int + case platformUnknown // = 0 + case platformAndroid // = 1 + case platformIos // = 2 + case platformWeb // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .platformUnknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .platformUnknown + case 1: self = .platformAndroid + case 2: self = .platformIos + case 3: self = .platformWeb + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .platformUnknown: return 0 + case .platformAndroid: return 1 + case .platformIos: return 2 + case .platformWeb: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PasscodeRedemptionFlowRequest.DevicePlatform: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PasscodeRedemptionFlowRequest.DevicePlatform] = [ + .platformUnknown, + .platformAndroid, + .platformIos, + .platformWeb, + ] +} + +#endif // swift(>=4.2) + +public struct PasscodeRedemptionFlowResponse { + // 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. + + public var status: PasscodeRedemptionFlowResponse.Status = .unknown + + public var inventoryCheckFailedReason: Int32 = 0 + + public var rewards: [PasscodeRedemptionFlowResponse.Reward] = [] + + public var passcodeBatchID: String = String() + + public var inGameReward: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case success // = 1 + case alreadyRedeemed // = 2 + case failedInventoryCheck // = 3 + case outOfRange // = 4 + case wrongLocation // = 5 + case rateLimited // = 6 + case invalid // = 7 + case fullyRedeemed // = 8 + case expired // = 9 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .success + case 2: self = .alreadyRedeemed + case 3: self = .failedInventoryCheck + case 4: self = .outOfRange + case 5: self = .wrongLocation + case 6: self = .rateLimited + case 7: self = .invalid + case 8: self = .fullyRedeemed + case 9: self = .expired + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .success: return 1 + case .alreadyRedeemed: return 2 + case .failedInventoryCheck: return 3 + case .outOfRange: return 4 + case .wrongLocation: return 5 + case .rateLimited: return 6 + case .invalid: return 7 + case .fullyRedeemed: return 8 + case .expired: return 9 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct Reward { + // 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. + + public var item: String = String() + + public var count: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +#if swift(>=4.2) + +extension PasscodeRedemptionFlowResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PasscodeRedemptionFlowResponse.Status] = [ + .unknown, + .success, + .alreadyRedeemed, + .failedInventoryCheck, + .outOfRange, + .wrongLocation, + .rateLimited, + .invalid, + .fullyRedeemed, + .expired, + ] +} + +#endif // swift(>=4.2) + +public struct PasscodeRewardsLogEntry { + // 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. + + public var result: PasscodeRewardsLogEntry.Result = .unset + + public var passcode: String = String() + + public var rewards: RedeemPasscodeRewardProto { + get {return _rewards ?? RedeemPasscodeRewardProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _rewards: RedeemPasscodeRewardProto? = nil +} + +#if swift(>=4.2) + +extension PasscodeRewardsLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PasscodeRewardsLogEntry.Result] = [ + .unset, + .success, + ] +} + +#endif // swift(>=4.2) + +public struct PasscodeSettingsProto { + // 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. + + public var showPasscodeInStore: Bool = false + + public var usePasscodeV2: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PercentScrolledTelemetry { + // 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. + + public var percent: Double = 0 + + public var menuName: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PermissionsFlowTelemetry { + // 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. + + public var permissionContextTelemetryIds: PermissionContextTelemetryIds = .undefinedPermissionContext + + public var deviceServiceTelemetryIds: DeviceServiceTelemetryIds = .undefinedDeviceService + + public var permissionFlowStepTelemetryIds: PermissionFlowStepTelemetryIds = .undefinedPermissionFlowStep + + public var success: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PgoAsyncFileUploadCompleteProto { + // 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. + + public var powerUpPointsAdded: Int32 = 0 + + public var powerUpProgressPoints: Int32 = 0 + + public var powerUpLevelExpirationMs: Int64 = 0 + + public var nextFortCloseMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PhotoSettingsProto { + // 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. + + public var screenCaptureSize: Float = 0 + + public var isIrisEnabled: Bool = false + + public var isIrisAutoplaceEnabled: Bool = false + + public var isIrisSocialEnabled: Bool = false + + public var irisFlags: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PhotobombCreateDetail { + // 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. + + public var caughtInPhotobomb: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PingRequestProto { + // 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. + + public var responseSizeBytes: Int32 = 0 + + public var randomRequestBytes: String = String() + + public var useCacheForRandomRequestBytes: Bool = false + + public var returnValue: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PingResponseProto { + // 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. + + public var userInfo: String = String() + + public var serverInfo: String = String() + + public var randomResponseBytes: String = String() + + public var returnValue: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlacedPokemonUpdateProto { + // 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. + + public var updateType: PlacedPokemonUpdateProto.PlacementUpdateType = .unset + + public var updatedPokemonPlacement: IrisPokemonObjectProto { + get {return _updatedPokemonPlacement ?? IrisPokemonObjectProto()} + set {_updatedPokemonPlacement = newValue} + } + /// Returns true if `updatedPokemonPlacement` has been explicitly set. + public var hasUpdatedPokemonPlacement: Bool {return self._updatedPokemonPlacement != nil} + /// Clears the value of `updatedPokemonPlacement`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedPokemonPlacement() {self._updatedPokemonPlacement = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PlacementUpdateType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case add // = 1 + case edit // = 2 + case remove // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .add + case 2: self = .edit + case 3: self = .remove + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .add: return 1 + case .edit: return 2 + case .remove: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _updatedPokemonPlacement: IrisPokemonObjectProto? = nil +} + +#if swift(>=4.2) + +extension PlacedPokemonUpdateProto.PlacementUpdateType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlacedPokemonUpdateProto.PlacementUpdateType] = [ + .unset, + .add, + .edit, + .remove, + ] +} + +#endif // swift(>=4.2) + +public struct PlannedDowntimeSettingsProto { + // 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. + + public var downtimeTimestampMs: Int64 = 0 + + public var noActionsWindowSecFromDowntime: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlatformCommonFilterProto { + // 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. + + public var applicationIdentifier: String = String() + + public var operatingSystemName: String = String() + + public var deviceModel: String = String() + + public var localeCountryCode: String = String() + + public var localeLanguageCode: String = String() + + public var samplingProbability: Double = 0 + + public var qualityLevel: String = String() + + public var networkConnectivityType: String = String() + + public var gameContext: String = String() + + public var languageCode: String = String() + + public var timezone: String = String() + + public var ipCountryCode: String = String() + + public var graphicsDeviceVendor: String = String() + + public var graphicsDeviceName: String = String() + + public var graphicsDeviceType: String = String() + + public var graphicsShaderLevel: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlatformFetchNewsfeedRequest { + // 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. + + public var newsfeedChannel: [NewsfeedPost.NewsfeedChannel] = [] + + public var languageVersion: String = String() + + public var countryCode: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlatformMarkNewsfeedReadRequest { + // 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. + + public var newsfeedPostID: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlatformMetricData { + // 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. + + public var datapointValue: PlatformMetricData.OneOf_DatapointValue? = nil + + public var longValue: Int64 { + get { + if case .longValue(let v)? = datapointValue {return v} + return 0 + } + set {datapointValue = .longValue(newValue)} + } + + public var doubleValue: Double { + get { + if case .doubleValue(let v)? = datapointValue {return v} + return 0 + } + set {datapointValue = .doubleValue(newValue)} + } + + public var booleanValue: Bool { + get { + if case .booleanValue(let v)? = datapointValue {return v} + return false + } + set {datapointValue = .booleanValue(newValue)} + } + + public var distribution: Distribution { + get { + if case .distribution(let v)? = datapointValue {return v} + return Distribution() + } + set {datapointValue = .distribution(newValue)} + } + + public var commonTelemetry: TelemetryCommon { + get {return _commonTelemetry ?? TelemetryCommon()} + set {_commonTelemetry = newValue} + } + /// Returns true if `commonTelemetry` has been explicitly set. + public var hasCommonTelemetry: Bool {return self._commonTelemetry != nil} + /// Clears the value of `commonTelemetry`. Subsequent reads from it will return its default value. + public mutating func clearCommonTelemetry() {self._commonTelemetry = nil} + + public var metricKind: PlatformMetricData.Kind = .unspecified + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_DatapointValue: Equatable { + case longValue(Int64) + case doubleValue(Double) + case booleanValue(Bool) + case distribution(Distribution) + + #if !swift(>=4.1) + public static func ==(lhs: PlatformMetricData.OneOf_DatapointValue, rhs: PlatformMetricData.OneOf_DatapointValue) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.longValue, .longValue): return { + guard case .longValue(let l) = lhs, case .longValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.doubleValue, .doubleValue): return { + guard case .doubleValue(let l) = lhs, case .doubleValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.booleanValue, .booleanValue): return { + guard case .booleanValue(let l) = lhs, case .booleanValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.distribution, .distribution): return { + guard case .distribution(let l) = lhs, case .distribution(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum Kind: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unspecified // = 0 + case gauge // = 1 + case delta // = 2 + case cumulative // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unspecified + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unspecified + case 1: self = .gauge + case 2: self = .delta + case 3: self = .cumulative + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unspecified: return 0 + case .gauge: return 1 + case .delta: return 2 + case .cumulative: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _commonTelemetry: TelemetryCommon? = nil +} + +#if swift(>=4.2) + +extension PlatformMetricData.Kind: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlatformMetricData.Kind] = [ + .unspecified, + .gauge, + .delta, + .cumulative, + ] +} + +#endif // swift(>=4.2) + +public struct PlatformPlayerInfo { + // 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. + + public var identityProvider: String = String() + + public var profileCreationTimestampMs: Int64 = 0 + + public var playerLevel: Int32 = 0 + + public var teamID: Int32 = 0 + + public var lifetimeKmWalked: Double = 0 + + public var lifetimeStepsWalked: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlatformPreAgeGateTrackingOmniproto { + // 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. + + public var platformPreAgeGateEvent: OneOf_PlatformPreAgeGateEvent? { + get {return _storage._platformPreAgeGateEvent} + set {_uniqueStorage()._platformPreAgeGateEvent = newValue} + } + + public var ageGateStartup: AgeGateStartup { + get { + if case .ageGateStartup(let v)? = _storage._platformPreAgeGateEvent {return v} + return AgeGateStartup() + } + set {_uniqueStorage()._platformPreAgeGateEvent = .ageGateStartup(newValue)} + } + + public var ageGateResult: AgeGateResult { + get { + if case .ageGateResult(let v)? = _storage._platformPreAgeGateEvent {return v} + return AgeGateResult() + } + set {_uniqueStorage()._platformPreAgeGateEvent = .ageGateResult(newValue)} + } + + public var preAgeGateMetadata: PreAgeGateMetadata { + get {return _storage._preAgeGateMetadata ?? PreAgeGateMetadata()} + set {_uniqueStorage()._preAgeGateMetadata = newValue} + } + /// Returns true if `preAgeGateMetadata` has been explicitly set. + public var hasPreAgeGateMetadata: Bool {return _storage._preAgeGateMetadata != nil} + /// Clears the value of `preAgeGateMetadata`. Subsequent reads from it will return its default value. + public mutating func clearPreAgeGateMetadata() {_uniqueStorage()._preAgeGateMetadata = nil} + + public var commonFilters: ClientTelemetryCommonFilterProto { + get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} + set {_uniqueStorage()._commonFilters = newValue} + } + /// Returns true if `commonFilters` has been explicitly set. + public var hasCommonFilters: Bool {return _storage._commonFilters != nil} + /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. + public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_PlatformPreAgeGateEvent: Equatable { + case ageGateStartup(AgeGateStartup) + case ageGateResult(AgeGateResult) + + #if !swift(>=4.1) + public static func ==(lhs: PlatformPreAgeGateTrackingOmniproto.OneOf_PlatformPreAgeGateEvent, rhs: PlatformPreAgeGateTrackingOmniproto.OneOf_PlatformPreAgeGateEvent) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.ageGateStartup, .ageGateStartup): return { + guard case .ageGateStartup(let l) = lhs, case .ageGateStartup(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.ageGateResult, .ageGateResult): return { + guard case .ageGateResult(let l) = lhs, case .ageGateResult(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PlatformPreLoginTrackingOmniproto { + // 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. + + public var platformPreLoginEvent: OneOf_PlatformPreLoginEvent? { + get {return _storage._platformPreLoginEvent} + set {_uniqueStorage()._platformPreLoginEvent = newValue} + } + + public var loginStartup: LoginStartup { + get { + if case .loginStartup(let v)? = _storage._platformPreLoginEvent {return v} + return LoginStartup() + } + set {_uniqueStorage()._platformPreLoginEvent = .loginStartup(newValue)} + } + + public var loginNewPlayer: LoginNewPlayer { + get { + if case .loginNewPlayer(let v)? = _storage._platformPreLoginEvent {return v} + return LoginNewPlayer() + } + set {_uniqueStorage()._platformPreLoginEvent = .loginNewPlayer(newValue)} + } + + public var loginReturningPlayer: LoginReturningPlayer { + get { + if case .loginReturningPlayer(let v)? = _storage._platformPreLoginEvent {return v} + return LoginReturningPlayer() + } + set {_uniqueStorage()._platformPreLoginEvent = .loginReturningPlayer(newValue)} + } + + public var loginNewPlayerCreateAccount: LoginNewPlayerCreateAccount { + get { + if case .loginNewPlayerCreateAccount(let v)? = _storage._platformPreLoginEvent {return v} + return LoginNewPlayerCreateAccount() + } + set {_uniqueStorage()._platformPreLoginEvent = .loginNewPlayerCreateAccount(newValue)} + } + + public var loginReturningPlayerSignIn: LoginReturningPlayerSignIn { + get { + if case .loginReturningPlayerSignIn(let v)? = _storage._platformPreLoginEvent {return v} + return LoginReturningPlayerSignIn() + } + set {_uniqueStorage()._platformPreLoginEvent = .loginReturningPlayerSignIn(newValue)} + } + + public var preLoginMetadata: PreLoginMetadata { + get {return _storage._preLoginMetadata ?? PreLoginMetadata()} + set {_uniqueStorage()._preLoginMetadata = newValue} + } + /// Returns true if `preLoginMetadata` has been explicitly set. + public var hasPreLoginMetadata: Bool {return _storage._preLoginMetadata != nil} + /// Clears the value of `preLoginMetadata`. Subsequent reads from it will return its default value. + public mutating func clearPreLoginMetadata() {_uniqueStorage()._preLoginMetadata = nil} + + public var commonFilters: ClientTelemetryCommonFilterProto { + get {return _storage._commonFilters ?? ClientTelemetryCommonFilterProto()} + set {_uniqueStorage()._commonFilters = newValue} + } + /// Returns true if `commonFilters` has been explicitly set. + public var hasCommonFilters: Bool {return _storage._commonFilters != nil} + /// Clears the value of `commonFilters`. Subsequent reads from it will return its default value. + public mutating func clearCommonFilters() {_uniqueStorage()._commonFilters = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_PlatformPreLoginEvent: Equatable { + case loginStartup(LoginStartup) + case loginNewPlayer(LoginNewPlayer) + case loginReturningPlayer(LoginReturningPlayer) + case loginNewPlayerCreateAccount(LoginNewPlayerCreateAccount) + case loginReturningPlayerSignIn(LoginReturningPlayerSignIn) + + #if !swift(>=4.1) + public static func ==(lhs: PlatformPreLoginTrackingOmniproto.OneOf_PlatformPreLoginEvent, rhs: PlatformPreLoginTrackingOmniproto.OneOf_PlatformPreLoginEvent) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.loginStartup, .loginStartup): return { + guard case .loginStartup(let l) = lhs, case .loginStartup(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.loginNewPlayer, .loginNewPlayer): return { + guard case .loginNewPlayer(let l) = lhs, case .loginNewPlayer(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.loginReturningPlayer, .loginReturningPlayer): return { + guard case .loginReturningPlayer(let l) = lhs, case .loginReturningPlayer(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.loginNewPlayerCreateAccount, .loginNewPlayerCreateAccount): return { + guard case .loginNewPlayerCreateAccount(let l) = lhs, case .loginNewPlayerCreateAccount(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.loginReturningPlayerSignIn, .loginReturningPlayerSignIn): return { + guard case .loginReturningPlayerSignIn(let l) = lhs, case .loginReturningPlayerSignIn(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PlatformRedeemAppleReceiptOutProto { + // 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. + + public var status: PlatformRedeemAppleReceiptOutProto.Status = .unset + + public var provisionedTransactionTokens: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlatformRedeemAppleReceiptOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlatformRedeemAppleReceiptOutProto.Status] = [ + .unset, + .success, + .failure, + ] +} + +#endif // swift(>=4.2) + +public struct PlatformRedeemAppleReceiptProto { + // 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. + + public var receipt: String = String() + + public var purchaseCurrency: String = String() + + public var pricePaidE6: Int32 = 0 + + public var pricePaidE6Long: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlatformRedeemSamsungReceiptOutProto { + // 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. + + public var status: PlatformRedeemSamsungReceiptOutProto.Status = .unset + + public var purchaseID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlatformRedeemSamsungReceiptOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlatformRedeemSamsungReceiptOutProto.Status] = [ + .unset, + .success, + .failure, + ] +} + +#endif // swift(>=4.2) + +public struct PlatformRedeemSamsungReceiptProto { + // 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. + + public var purchaseData: String = String() + + public var purchaseID: String = String() + + public var purchaseCurrency: String = String() + + public var pricePaidE6Long: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlatformServerData { + // 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. + + public var userID: String = String() + + public var telemetryID: String = String() + + public var sessionID: String = String() + + public var experimentIds: [Int32] = [] + + public var eventRequestID: String = String() + + public var serverTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlatypusRolloutSettingsProto { + // 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. + + public var buddyV2MinPlayerLevel: Int32 = 0 + + public var buddyMultiplayerMinPlayerLevel: Int32 = 0 + + public var enableMonodepth: Bool = false + + public var wallabySettings: WallabySettingsProto { + get {return _wallabySettings ?? WallabySettingsProto()} + set {_wallabySettings = newValue} + } + /// Returns true if `wallabySettings` has been explicitly set. + public var hasWallabySettings: Bool {return self._wallabySettings != nil} + /// Clears the value of `wallabySettings`. Subsequent reads from it will return its default value. + public mutating func clearWallabySettings() {self._wallabySettings = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _wallabySettings: WallabySettingsProto? = nil +} + +public struct PlayerActivitySummaryProto { + // 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. + + public var activitySummaryMap: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerAttributeRewardProto { + // 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. + + public var key: String = String() + + public var value: String = String() + + public var overwriteExistingAttribute: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerAttributesProto { + // 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. + + public var attributes: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerAvatarProto { + // 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. + + public var skin: Int32 { + get {return _storage._skin} + set {_uniqueStorage()._skin = newValue} + } + + public var hair: Int32 { + get {return _storage._hair} + set {_uniqueStorage()._hair = newValue} + } + + public var shirt: Int32 { + get {return _storage._shirt} + set {_uniqueStorage()._shirt = newValue} + } + + public var pants: Int32 { + get {return _storage._pants} + set {_uniqueStorage()._pants = newValue} + } + + public var hat: Int32 { + get {return _storage._hat} + set {_uniqueStorage()._hat = newValue} + } + + public var shoes: Int32 { + get {return _storage._shoes} + set {_uniqueStorage()._shoes = newValue} + } + + public var avatar: Int32 { + get {return _storage._avatar} + set {_uniqueStorage()._avatar = newValue} + } + + public var eyes: Int32 { + get {return _storage._eyes} + set {_uniqueStorage()._eyes = newValue} + } + + public var backpack: Int32 { + get {return _storage._backpack} + set {_uniqueStorage()._backpack = newValue} + } + + public var avatarHair: String { + get {return _storage._avatarHair} + set {_uniqueStorage()._avatarHair = newValue} + } + + public var avatarShirt: String { + get {return _storage._avatarShirt} + set {_uniqueStorage()._avatarShirt = newValue} + } + + public var avatarPants: String { + get {return _storage._avatarPants} + set {_uniqueStorage()._avatarPants = newValue} + } + + public var avatarHat: String { + get {return _storage._avatarHat} + set {_uniqueStorage()._avatarHat = newValue} + } + + public var avatarShoes: String { + get {return _storage._avatarShoes} + set {_uniqueStorage()._avatarShoes = newValue} + } + + public var avatarEyes: String { + get {return _storage._avatarEyes} + set {_uniqueStorage()._avatarEyes = newValue} + } + + public var avatarBackpack: String { + get {return _storage._avatarBackpack} + set {_uniqueStorage()._avatarBackpack = newValue} + } + + public var avatarGloves: String { + get {return _storage._avatarGloves} + set {_uniqueStorage()._avatarGloves = newValue} + } + + public var avatarSocks: String { + get {return _storage._avatarSocks} + set {_uniqueStorage()._avatarSocks = newValue} + } + + public var avatarBelt: String { + get {return _storage._avatarBelt} + set {_uniqueStorage()._avatarBelt = newValue} + } + + public var avatarGlasses: String { + get {return _storage._avatarGlasses} + set {_uniqueStorage()._avatarGlasses = newValue} + } + + public var avatarNecklace: String { + get {return _storage._avatarNecklace} + set {_uniqueStorage()._avatarNecklace = newValue} + } + + public var avatarSkin: String { + get {return _storage._avatarSkin} + set {_uniqueStorage()._avatarSkin = newValue} + } + + public var avatarPose: String { + get {return _storage._avatarPose} + set {_uniqueStorage()._avatarPose = newValue} + } + + public var avatarFace: String { + get {return _storage._avatarFace} + set {_uniqueStorage()._avatarFace = newValue} + } + + public var avatarProp: String { + get {return _storage._avatarProp} + set {_uniqueStorage()._avatarProp = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PlayerBadgeProto { + // 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. + + public var badgeType: HoloBadgeType = .badgeUnset + + public var rank: Int32 = 0 + + public var startValue: Int32 = 0 + + public var endValue: Int32 = 0 + + public var currentValue: Double = 0 + + public var tiers: [PlayerBadgeTierProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerBadgeTierEncounterProto { + // 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. + + public var encounterState: PlayerBadgeTierEncounterProto.EncounterState = .unset + + public var encounterID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum EncounterState: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case unearned // = 1 + case available // = 2 + case completed // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .unearned + case 2: self = .available + case 3: self = .completed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .unearned: return 1 + case .available: return 2 + case .completed: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlayerBadgeTierEncounterProto.EncounterState: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerBadgeTierEncounterProto.EncounterState] = [ + .unset, + .unearned, + .available, + .completed, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerBadgeTierProto { + // 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. + + public var encounter: PlayerBadgeTierEncounterProto { + get {return _encounter ?? PlayerBadgeTierEncounterProto()} + set {_encounter = newValue} + } + /// Returns true if `encounter` has been explicitly set. + public var hasEncounter: Bool {return self._encounter != nil} + /// Clears the value of `encounter`. Subsequent reads from it will return its default value. + public mutating func clearEncounter() {self._encounter = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _encounter: PlayerBadgeTierEncounterProto? = nil +} + +public struct PlayerCameraProto { + // 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. + + public var defaultCamera: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerCombatBadgeStatsProto { + // 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. + + public var numWon: Int32 = 0 + + public var numTotal: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerCombatStatsProto { + // 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. + + public var badges: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerContestBadgeStatsProto { + // 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. + + public var numWonFirstPlace: Int32 = 0 + + public var numTotal: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerContestStatsProto { + // 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. + + public var badgeStats: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerCurrencyProto { + // 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. + + public var gems: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerFriendDisplayProto { + // 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. + + public var buddy: PokemonDisplayProto { + get {return _buddy ?? PokemonDisplayProto()} + set {_buddy = newValue} + } + /// Returns true if `buddy` has been explicitly set. + public var hasBuddy: Bool {return self._buddy != nil} + /// Clears the value of `buddy`. Subsequent reads from it will return its default value. + public mutating func clearBuddy() {self._buddy = nil} + + public var buddyDisplayPokemonID: Int32 = 0 + + public var buddyPokemonNickname: String = String() + + public var lastPokemonCaught: PokemonDisplayProto { + get {return _lastPokemonCaught ?? PokemonDisplayProto()} + set {_lastPokemonCaught = newValue} + } + /// Returns true if `lastPokemonCaught` has been explicitly set. + public var hasLastPokemonCaught: Bool {return self._lastPokemonCaught != nil} + /// Clears the value of `lastPokemonCaught`. Subsequent reads from it will return its default value. + public mutating func clearLastPokemonCaught() {self._lastPokemonCaught = nil} + + public var lastPokemonCaughtDisplayID: Int32 = 0 + + public var lastPokemonCaughtTimestamp: Int64 = 0 + + public var buddyCandyAwarded: Int32 = 0 + + public var activeMegaEvoInfo: MegaEvoInfoProto { + get {return _activeMegaEvoInfo ?? MegaEvoInfoProto()} + set {_activeMegaEvoInfo = newValue} + } + /// Returns true if `activeMegaEvoInfo` has been explicitly set. + public var hasActiveMegaEvoInfo: Bool {return self._activeMegaEvoInfo != nil} + /// Clears the value of `activeMegaEvoInfo`. Subsequent reads from it will return its default value. + public mutating func clearActiveMegaEvoInfo() {self._activeMegaEvoInfo = nil} + + public var buddyHeightM: Float = 0 + + public var buddyWeightKg: Float = 0 + + public var buddySize: HoloPokemonSize = .pokemonSizeUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _buddy: PokemonDisplayProto? = nil + fileprivate var _lastPokemonCaught: PokemonDisplayProto? = nil + fileprivate var _activeMegaEvoInfo: MegaEvoInfoProto? = nil +} + +public struct PlayerHudNotificationClickTelemetry { + // 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. + + public var notificationCategory: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerLevelAvatarLockProto { + // 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. + + public var playerLevel: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerLevelSettingsProto { + // 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. + + public var rankNum: [Int32] = [] + + public var requiredExp: [Int32] = [] + + public var cpMultiplier: [Float] = [] + + public var maxEggPlayerLevel: Int32 = 0 + + public var maxEncounterPlayerLevel: Int32 = 0 + + public var maxRaidEncounterPlayerLevel: Int32 = 0 + + public var maxQuestEncounterPlayerLevel: Int32 = 0 + + public var maxVsSeekerEncounterPlayerLevel: Int32 = 0 + + public var extendedPlayerLevelThreshold: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerLocaleProto { + // 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. + + public var country: String = String() + + public var language: String = String() + + public var timezone: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerNeutralAvatarArticleConfiguration { + // 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. + + public var hair: AvatarArticleProto { + get {return _storage._hair ?? AvatarArticleProto()} + set {_uniqueStorage()._hair = newValue} + } + /// Returns true if `hair` has been explicitly set. + public var hasHair: Bool {return _storage._hair != nil} + /// Clears the value of `hair`. Subsequent reads from it will return its default value. + public mutating func clearHair() {_uniqueStorage()._hair = nil} + + public var shirt: AvatarArticleProto { + get {return _storage._shirt ?? AvatarArticleProto()} + set {_uniqueStorage()._shirt = newValue} + } + /// Returns true if `shirt` has been explicitly set. + public var hasShirt: Bool {return _storage._shirt != nil} + /// Clears the value of `shirt`. Subsequent reads from it will return its default value. + public mutating func clearShirt() {_uniqueStorage()._shirt = nil} + + public var pants: AvatarArticleProto { + get {return _storage._pants ?? AvatarArticleProto()} + set {_uniqueStorage()._pants = newValue} + } + /// Returns true if `pants` has been explicitly set. + public var hasPants: Bool {return _storage._pants != nil} + /// Clears the value of `pants`. Subsequent reads from it will return its default value. + public mutating func clearPants() {_uniqueStorage()._pants = nil} + + public var hat: AvatarArticleProto { + get {return _storage._hat ?? AvatarArticleProto()} + set {_uniqueStorage()._hat = newValue} + } + /// Returns true if `hat` has been explicitly set. + public var hasHat: Bool {return _storage._hat != nil} + /// Clears the value of `hat`. Subsequent reads from it will return its default value. + public mutating func clearHat() {_uniqueStorage()._hat = nil} + + public var shoes: AvatarArticleProto { + get {return _storage._shoes ?? AvatarArticleProto()} + set {_uniqueStorage()._shoes = newValue} + } + /// Returns true if `shoes` has been explicitly set. + public var hasShoes: Bool {return _storage._shoes != nil} + /// Clears the value of `shoes`. Subsequent reads from it will return its default value. + public mutating func clearShoes() {_uniqueStorage()._shoes = nil} + + public var eyes: AvatarArticleProto { + get {return _storage._eyes ?? AvatarArticleProto()} + set {_uniqueStorage()._eyes = newValue} + } + /// Returns true if `eyes` has been explicitly set. + public var hasEyes: Bool {return _storage._eyes != nil} + /// Clears the value of `eyes`. Subsequent reads from it will return its default value. + public mutating func clearEyes() {_uniqueStorage()._eyes = nil} + + public var backpack: AvatarArticleProto { + get {return _storage._backpack ?? AvatarArticleProto()} + set {_uniqueStorage()._backpack = newValue} + } + /// Returns true if `backpack` has been explicitly set. + public var hasBackpack: Bool {return _storage._backpack != nil} + /// Clears the value of `backpack`. Subsequent reads from it will return its default value. + public mutating func clearBackpack() {_uniqueStorage()._backpack = nil} + + public var gloves: AvatarArticleProto { + get {return _storage._gloves ?? AvatarArticleProto()} + set {_uniqueStorage()._gloves = newValue} + } + /// Returns true if `gloves` has been explicitly set. + public var hasGloves: Bool {return _storage._gloves != nil} + /// Clears the value of `gloves`. Subsequent reads from it will return its default value. + public mutating func clearGloves() {_uniqueStorage()._gloves = nil} + + public var socks: AvatarArticleProto { + get {return _storage._socks ?? AvatarArticleProto()} + set {_uniqueStorage()._socks = newValue} + } + /// Returns true if `socks` has been explicitly set. + public var hasSocks: Bool {return _storage._socks != nil} + /// Clears the value of `socks`. Subsequent reads from it will return its default value. + public mutating func clearSocks() {_uniqueStorage()._socks = nil} + + public var belt: AvatarArticleProto { + get {return _storage._belt ?? AvatarArticleProto()} + set {_uniqueStorage()._belt = newValue} + } + /// Returns true if `belt` has been explicitly set. + public var hasBelt: Bool {return _storage._belt != nil} + /// Clears the value of `belt`. Subsequent reads from it will return its default value. + public mutating func clearBelt() {_uniqueStorage()._belt = nil} + + public var glasses: AvatarArticleProto { + get {return _storage._glasses ?? AvatarArticleProto()} + set {_uniqueStorage()._glasses = newValue} + } + /// Returns true if `glasses` has been explicitly set. + public var hasGlasses: Bool {return _storage._glasses != nil} + /// Clears the value of `glasses`. Subsequent reads from it will return its default value. + public mutating func clearGlasses() {_uniqueStorage()._glasses = nil} + + public var necklace: AvatarArticleProto { + get {return _storage._necklace ?? AvatarArticleProto()} + set {_uniqueStorage()._necklace = newValue} + } + /// Returns true if `necklace` has been explicitly set. + public var hasNecklace: Bool {return _storage._necklace != nil} + /// Clears the value of `necklace`. Subsequent reads from it will return its default value. + public mutating func clearNecklace() {_uniqueStorage()._necklace = nil} + + public var skin: AvatarArticleProto { + get {return _storage._skin ?? AvatarArticleProto()} + set {_uniqueStorage()._skin = newValue} + } + /// Returns true if `skin` has been explicitly set. + public var hasSkin: Bool {return _storage._skin != nil} + /// Clears the value of `skin`. Subsequent reads from it will return its default value. + public mutating func clearSkin() {_uniqueStorage()._skin = nil} + + public var pose: AvatarArticleProto { + get {return _storage._pose ?? AvatarArticleProto()} + set {_uniqueStorage()._pose = newValue} + } + /// Returns true if `pose` has been explicitly set. + public var hasPose: Bool {return _storage._pose != nil} + /// Clears the value of `pose`. Subsequent reads from it will return its default value. + public mutating func clearPose() {_uniqueStorage()._pose = nil} + + public var mask: AvatarArticleProto { + get {return _storage._mask ?? AvatarArticleProto()} + set {_uniqueStorage()._mask = newValue} + } + /// Returns true if `mask` has been explicitly set. + public var hasMask: Bool {return _storage._mask != nil} + /// Clears the value of `mask`. Subsequent reads from it will return its default value. + public mutating func clearMask() {_uniqueStorage()._mask = nil} + + public var prop: AvatarArticleProto { + get {return _storage._prop ?? AvatarArticleProto()} + set {_uniqueStorage()._prop = newValue} + } + /// Returns true if `prop` has been explicitly set. + public var hasProp: Bool {return _storage._prop != nil} + /// Clears the value of `prop`. Subsequent reads from it will return its default value. + public mutating func clearProp() {_uniqueStorage()._prop = nil} + + public var facialHair: AvatarArticleProto { + get {return _storage._facialHair ?? AvatarArticleProto()} + set {_uniqueStorage()._facialHair = newValue} + } + /// Returns true if `facialHair` has been explicitly set. + public var hasFacialHair: Bool {return _storage._facialHair != nil} + /// Clears the value of `facialHair`. Subsequent reads from it will return its default value. + public mutating func clearFacialHair() {_uniqueStorage()._facialHair = nil} + + public var facePaint: AvatarArticleProto { + get {return _storage._facePaint ?? AvatarArticleProto()} + set {_uniqueStorage()._facePaint = newValue} + } + /// Returns true if `facePaint` has been explicitly set. + public var hasFacePaint: Bool {return _storage._facePaint != nil} + /// Clears the value of `facePaint`. Subsequent reads from it will return its default value. + public mutating func clearFacePaint() {_uniqueStorage()._facePaint = nil} + + public var onesie: AvatarArticleProto { + get {return _storage._onesie ?? AvatarArticleProto()} + set {_uniqueStorage()._onesie = newValue} + } + /// Returns true if `onesie` has been explicitly set. + public var hasOnesie: Bool {return _storage._onesie != nil} + /// Clears the value of `onesie`. Subsequent reads from it will return its default value. + public mutating func clearOnesie() {_uniqueStorage()._onesie = nil} + + public var eyeBrow: AvatarArticleProto { + get {return _storage._eyeBrow ?? AvatarArticleProto()} + set {_uniqueStorage()._eyeBrow = newValue} + } + /// Returns true if `eyeBrow` has been explicitly set. + public var hasEyeBrow: Bool {return _storage._eyeBrow != nil} + /// Clears the value of `eyeBrow`. Subsequent reads from it will return its default value. + public mutating func clearEyeBrow() {_uniqueStorage()._eyeBrow = nil} + + public var eyeLash: AvatarArticleProto { + get {return _storage._eyeLash ?? AvatarArticleProto()} + set {_uniqueStorage()._eyeLash = newValue} + } + /// Returns true if `eyeLash` has been explicitly set. + public var hasEyeLash: Bool {return _storage._eyeLash != nil} + /// Clears the value of `eyeLash`. Subsequent reads from it will return its default value. + public mutating func clearEyeLash() {_uniqueStorage()._eyeLash = nil} + + public var facePreset: AvatarArticleProto { + get {return _storage._facePreset ?? AvatarArticleProto()} + set {_uniqueStorage()._facePreset = newValue} + } + /// Returns true if `facePreset` has been explicitly set. + public var hasFacePreset: Bool {return _storage._facePreset != nil} + /// Clears the value of `facePreset`. Subsequent reads from it will return its default value. + public mutating func clearFacePreset() {_uniqueStorage()._facePreset = nil} + + public var bodyPreset: AvatarArticleProto { + get {return _storage._bodyPreset ?? AvatarArticleProto()} + set {_uniqueStorage()._bodyPreset = newValue} + } + /// Returns true if `bodyPreset` has been explicitly set. + public var hasBodyPreset: Bool {return _storage._bodyPreset != nil} + /// Clears the value of `bodyPreset`. Subsequent reads from it will return its default value. + public mutating func clearBodyPreset() {_uniqueStorage()._bodyPreset = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PlayerNeutralAvatarBodyBlendParameters { + // 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. + + public var size: Float = 0 + + public var musculature: Float = 0 + + public var bust: Float = 0 + + public var hips: Float = 0 + + public var shoulders: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerNeutralAvatarEarSelectionParameters { + // 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. + + public var selection: PlayerNeutralAvatarEarSelectionParameters.Shape = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Shape: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case `default` // = 1 + case optionOne // = 5000 + case optionTwo // = 5001 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .default + case 5000: self = .optionOne + case 5001: self = .optionTwo + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .default: return 1 + case .optionOne: return 5000 + case .optionTwo: return 5001 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlayerNeutralAvatarEarSelectionParameters.Shape: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerNeutralAvatarEarSelectionParameters.Shape] = [ + .unset, + .default, + .optionOne, + .optionTwo, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerNeutralAvatarEyeSelectionParameters { + // 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. + + public var selection: PlayerNeutralAvatarEyeSelectionParameters.Shape = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Shape: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case `default` // = 1 + case optionOne // = 5000 + case optionTwo // = 5001 + case optionThree // = 5002 + case optionFive // = 5004 + case optionFour // = 50003 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .default + case 5000: self = .optionOne + case 5001: self = .optionTwo + case 5002: self = .optionThree + case 5004: self = .optionFive + case 50003: self = .optionFour + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .default: return 1 + case .optionOne: return 5000 + case .optionTwo: return 5001 + case .optionThree: return 5002 + case .optionFive: return 5004 + case .optionFour: return 50003 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlayerNeutralAvatarEyeSelectionParameters.Shape: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerNeutralAvatarEyeSelectionParameters.Shape] = [ + .unset, + .default, + .optionOne, + .optionTwo, + .optionThree, + .optionFive, + .optionFour, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerNeutralAvatarFacePositionParameters { + // 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. + + public var browDepth: Float = 0 + + public var browHorizontal: Float = 0 + + public var browVertical: Float = 0 + + public var eyeDepth: Float = 0 + + public var eyeHorizontal: Float = 0 + + public var eyeVertical: Float = 0 + + public var mouthDepth: Float = 0 + + public var mouthHorizontal: Float = 0 + + public var mouthVertical: Float = 0 + + public var noseDepth: Float = 0 + + public var noseVertical: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerNeutralAvatarGradient { + // 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. + + public var colorKeys: [PlayerNeutralColorKey] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerNeutralAvatarHeadBlendParameters { + // 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. + + public var diamond: Float = 0 + + public var kite: Float = 0 + + public var triangle: Float = 0 + + public var square: Float = 0 + + public var circle: Float = 0 + + public var oval: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerNeutralAvatarHeadSelectionParameters { + // 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. + + public var selection: PlayerNeutralAvatarHeadSelectionParameters.Shape = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Shape: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case diamond // = 1 + case kite // = 2 + case triangle // = 3 + case square // = 4 + case circle // = 5 + case oval // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .diamond + case 2: self = .kite + case 3: self = .triangle + case 4: self = .square + case 5: self = .circle + case 6: self = .oval + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .diamond: return 1 + case .kite: return 2 + case .triangle: return 3 + case .square: return 4 + case .circle: return 5 + case .oval: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlayerNeutralAvatarHeadSelectionParameters.Shape: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerNeutralAvatarHeadSelectionParameters.Shape] = [ + .unset, + .diamond, + .kite, + .triangle, + .square, + .circle, + .oval, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerNeutralAvatarMouthSelectionParameters { + // 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. + + public var selection: PlayerNeutralAvatarMouthSelectionParameters.Shape = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Shape: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case `default` // = 1 + case optionOne // = 5000 + case optionTwo // = 5001 + case optionThree // = 5002 + case optionFive // = 5004 + case optionFour // = 50003 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .default + case 5000: self = .optionOne + case 5001: self = .optionTwo + case 5002: self = .optionThree + case 5004: self = .optionFive + case 50003: self = .optionFour + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .default: return 1 + case .optionOne: return 5000 + case .optionTwo: return 5001 + case .optionThree: return 5002 + case .optionFive: return 5004 + case .optionFour: return 50003 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlayerNeutralAvatarMouthSelectionParameters.Shape: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerNeutralAvatarMouthSelectionParameters.Shape] = [ + .unset, + .default, + .optionOne, + .optionTwo, + .optionThree, + .optionFive, + .optionFour, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerNeutralAvatarNoseSelectionParameters { + // 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. + + public var selection: PlayerNeutralAvatarNoseSelectionParameters.Shape = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Shape: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case `default` // = 1 + case optionOne // = 5000 + case optionTwo // = 5001 + case optionThree // = 5002 + case optionFive // = 5004 + case optionFour // = 50003 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .default + case 5000: self = .optionOne + case 5001: self = .optionTwo + case 5002: self = .optionThree + case 5004: self = .optionFive + case 50003: self = .optionFour + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .default: return 1 + case .optionOne: return 5000 + case .optionTwo: return 5001 + case .optionThree: return 5002 + case .optionFive: return 5004 + case .optionFour: return 50003 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlayerNeutralAvatarNoseSelectionParameters.Shape: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerNeutralAvatarNoseSelectionParameters.Shape] = [ + .unset, + .default, + .optionOne, + .optionTwo, + .optionThree, + .optionFive, + .optionFour, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerNeutralAvatarProto { + // 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. + + public var head: OneOf_Head? { + get {return _storage._head} + set {_uniqueStorage()._head = newValue} + } + + public var headBlend: PlayerNeutralAvatarHeadBlendParameters { + get { + if case .headBlend(let v)? = _storage._head {return v} + return PlayerNeutralAvatarHeadBlendParameters() + } + set {_uniqueStorage()._head = .headBlend(newValue)} + } + + public var headSelection: PlayerNeutralAvatarHeadSelectionParameters { + get { + if case .headSelection(let v)? = _storage._head {return v} + return PlayerNeutralAvatarHeadSelectionParameters() + } + set {_uniqueStorage()._head = .headSelection(newValue)} + } + + public var articles: PlayerNeutralAvatarArticleConfiguration { + get {return _storage._articles ?? PlayerNeutralAvatarArticleConfiguration()} + set {_uniqueStorage()._articles = newValue} + } + /// Returns true if `articles` has been explicitly set. + public var hasArticles: Bool {return _storage._articles != nil} + /// Clears the value of `articles`. Subsequent reads from it will return its default value. + public mutating func clearArticles() {_uniqueStorage()._articles = nil} + + public var bodyBlend: PlayerNeutralAvatarBodyBlendParameters { + get {return _storage._bodyBlend ?? PlayerNeutralAvatarBodyBlendParameters()} + set {_uniqueStorage()._bodyBlend = newValue} + } + /// Returns true if `bodyBlend` has been explicitly set. + public var hasBodyBlend: Bool {return _storage._bodyBlend != nil} + /// Clears the value of `bodyBlend`. Subsequent reads from it will return its default value. + public mutating func clearBodyBlend() {_uniqueStorage()._bodyBlend = nil} + + public var skinGradient: PlayerNeutralAvatarGradient { + get {return _storage._skinGradient ?? PlayerNeutralAvatarGradient()} + set {_uniqueStorage()._skinGradient = newValue} + } + /// Returns true if `skinGradient` has been explicitly set. + public var hasSkinGradient: Bool {return _storage._skinGradient != nil} + /// Clears the value of `skinGradient`. Subsequent reads from it will return its default value. + public mutating func clearSkinGradient() {_uniqueStorage()._skinGradient = nil} + + public var hairGradient: PlayerNeutralAvatarGradient { + get {return _storage._hairGradient ?? PlayerNeutralAvatarGradient()} + set {_uniqueStorage()._hairGradient = newValue} + } + /// Returns true if `hairGradient` has been explicitly set. + public var hasHairGradient: Bool {return _storage._hairGradient != nil} + /// Clears the value of `hairGradient`. Subsequent reads from it will return its default value. + public mutating func clearHairGradient() {_uniqueStorage()._hairGradient = nil} + + public var noseSelection: PlayerNeutralAvatarNoseSelectionParameters { + get {return _storage._noseSelection ?? PlayerNeutralAvatarNoseSelectionParameters()} + set {_uniqueStorage()._noseSelection = newValue} + } + /// Returns true if `noseSelection` has been explicitly set. + public var hasNoseSelection: Bool {return _storage._noseSelection != nil} + /// Clears the value of `noseSelection`. Subsequent reads from it will return its default value. + public mutating func clearNoseSelection() {_uniqueStorage()._noseSelection = nil} + + public var earSelection: PlayerNeutralAvatarEarSelectionParameters { + get {return _storage._earSelection ?? PlayerNeutralAvatarEarSelectionParameters()} + set {_uniqueStorage()._earSelection = newValue} + } + /// Returns true if `earSelection` has been explicitly set. + public var hasEarSelection: Bool {return _storage._earSelection != nil} + /// Clears the value of `earSelection`. Subsequent reads from it will return its default value. + public mutating func clearEarSelection() {_uniqueStorage()._earSelection = nil} + + public var mouthSelection: PlayerNeutralAvatarMouthSelectionParameters { + get {return _storage._mouthSelection ?? PlayerNeutralAvatarMouthSelectionParameters()} + set {_uniqueStorage()._mouthSelection = newValue} + } + /// Returns true if `mouthSelection` has been explicitly set. + public var hasMouthSelection: Bool {return _storage._mouthSelection != nil} + /// Clears the value of `mouthSelection`. Subsequent reads from it will return its default value. + public mutating func clearMouthSelection() {_uniqueStorage()._mouthSelection = nil} + + public var facialHairGradient: PlayerNeutralAvatarGradient { + get {return _storage._facialHairGradient ?? PlayerNeutralAvatarGradient()} + set {_uniqueStorage()._facialHairGradient = newValue} + } + /// Returns true if `facialHairGradient` has been explicitly set. + public var hasFacialHairGradient: Bool {return _storage._facialHairGradient != nil} + /// Clears the value of `facialHairGradient`. Subsequent reads from it will return its default value. + public mutating func clearFacialHairGradient() {_uniqueStorage()._facialHairGradient = nil} + + public var facePositions: PlayerNeutralAvatarFacePositionParameters { + get {return _storage._facePositions ?? PlayerNeutralAvatarFacePositionParameters()} + set {_uniqueStorage()._facePositions = newValue} + } + /// Returns true if `facePositions` has been explicitly set. + public var hasFacePositions: Bool {return _storage._facePositions != nil} + /// Clears the value of `facePositions`. Subsequent reads from it will return its default value. + public mutating func clearFacePositions() {_uniqueStorage()._facePositions = nil} + + public var eyeGradient: PlayerNeutralAvatarGradient { + get {return _storage._eyeGradient ?? PlayerNeutralAvatarGradient()} + set {_uniqueStorage()._eyeGradient = newValue} + } + /// Returns true if `eyeGradient` has been explicitly set. + public var hasEyeGradient: Bool {return _storage._eyeGradient != nil} + /// Clears the value of `eyeGradient`. Subsequent reads from it will return its default value. + public mutating func clearEyeGradient() {_uniqueStorage()._eyeGradient = nil} + + public var eyeSelection: PlayerNeutralAvatarEyeSelectionParameters { + get {return _storage._eyeSelection ?? PlayerNeutralAvatarEyeSelectionParameters()} + set {_uniqueStorage()._eyeSelection = newValue} + } + /// Returns true if `eyeSelection` has been explicitly set. + public var hasEyeSelection: Bool {return _storage._eyeSelection != nil} + /// Clears the value of `eyeSelection`. Subsequent reads from it will return its default value. + public mutating func clearEyeSelection() {_uniqueStorage()._eyeSelection = nil} + + public var neutralAvatarLegacyMappingVersion: Int32 { + get {return _storage._neutralAvatarLegacyMappingVersion} + set {_uniqueStorage()._neutralAvatarLegacyMappingVersion = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Head: Equatable { + case headBlend(PlayerNeutralAvatarHeadBlendParameters) + case headSelection(PlayerNeutralAvatarHeadSelectionParameters) + + #if !swift(>=4.1) + public static func ==(lhs: PlayerNeutralAvatarProto.OneOf_Head, rhs: PlayerNeutralAvatarProto.OneOf_Head) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.headBlend, .headBlend): return { + guard case .headBlend(let l) = lhs, case .headBlend(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.headSelection, .headSelection): return { + guard case .headSelection(let l) = lhs, case .headSelection(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PlayerNeutralColorKey { + // 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. + + public var keyPosition: Float = 0 + + public var red: Float = 0 + + public var green: Float = 0 + + public var blue: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerObfuscationMapEntryProto { + // 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. + + public var participantPlayerID: String = String() + + public var participantPlayerIDPartyObfuscated: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerPokecoinCapProto { + // 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. + + public var pokecoinSource: PokecoinSource = .sourceUnset + + public var lastCollectionTimestampMs: Int64 = 0 + + public var currentAmountCollected: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerPreferencesProto { + // 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. + + public var optOutOfSponsoredGifts: Bool { + get {return _storage._optOutOfSponsoredGifts} + set {_uniqueStorage()._optOutOfSponsoredGifts = newValue} + } + + public var battleParties: BattlePartiesProto { + get {return _storage._battleParties ?? BattlePartiesProto()} + set {_uniqueStorage()._battleParties = newValue} + } + /// Returns true if `battleParties` has been explicitly set. + public var hasBattleParties: Bool {return _storage._battleParties != nil} + /// Clears the value of `battleParties`. Subsequent reads from it will return its default value. + public mutating func clearBattleParties() {_uniqueStorage()._battleParties = nil} + + public var searchFilterPreferenceBase64: String { + get {return _storage._searchFilterPreferenceBase64} + set {_uniqueStorage()._searchFilterPreferenceBase64 = newValue} + } + + public var postcardTrainerInfoSharingPreference: PlayerPreferencesProto.PostcardTrainerInfoSharingPreference { + get {return _storage._postcardTrainerInfoSharingPreference} + set {_uniqueStorage()._postcardTrainerInfoSharingPreference = newValue} + } + + public var wainaPreference: WainaPreferences { + get {return _storage._wainaPreference ?? WainaPreferences()} + set {_uniqueStorage()._wainaPreference = newValue} + } + /// Returns true if `wainaPreference` has been explicitly set. + public var hasWainaPreference: Bool {return _storage._wainaPreference != nil} + /// Clears the value of `wainaPreference`. Subsequent reads from it will return its default value. + public mutating func clearWainaPreference() {_uniqueStorage()._wainaPreference = nil} + + public var optOutOfReceivingTicketGifts: Bool { + get {return _storage._optOutOfReceivingTicketGifts} + set {_uniqueStorage()._optOutOfReceivingTicketGifts = newValue} + } + + public var partyPlayPreference: PartyPlayPreferences { + get {return _storage._partyPlayPreference ?? PartyPlayPreferences()} + set {_uniqueStorage()._partyPlayPreference = newValue} + } + /// Returns true if `partyPlayPreference` has been explicitly set. + public var hasPartyPlayPreference: Bool {return _storage._partyPlayPreference != nil} + /// Clears the value of `partyPlayPreference`. Subsequent reads from it will return its default value. + public mutating func clearPartyPlayPreference() {_uniqueStorage()._partyPlayPreference = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PostcardTrainerInfoSharingPreference: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case shareWithFriends // = 1 + case doNotShare // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .shareWithFriends + case 2: self = .doNotShare + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .shareWithFriends: return 1 + case .doNotShare: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension PlayerPreferencesProto.PostcardTrainerInfoSharingPreference: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerPreferencesProto.PostcardTrainerInfoSharingPreference] = [ + .unset, + .shareWithFriends, + .doNotShare, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerProfileOutProto { + // 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. + + public var result: PlayerProfileOutProto.Result = .unset + + public var startTime: Int64 = 0 + + public var badges: [PlayerBadgeProto] = [] + + public var gymBadges: PlayerProfileOutProto.GymBadges { + get {return _gymBadges ?? PlayerProfileOutProto.GymBadges()} + set {_gymBadges = newValue} + } + /// Returns true if `gymBadges` has been explicitly set. + public var hasGymBadges: Bool {return self._gymBadges != nil} + /// Clears the value of `gymBadges`. Subsequent reads from it will return its default value. + public mutating func clearGymBadges() {self._gymBadges = nil} + + public var routeBadges: PlayerProfileOutProto.RouteBadges { + get {return _routeBadges ?? PlayerProfileOutProto.RouteBadges()} + set {_routeBadges = newValue} + } + /// Returns true if `routeBadges` has been explicitly set. + public var hasRouteBadges: Bool {return self._routeBadges != nil} + /// Clears the value of `routeBadges`. Subsequent reads from it will return its default value. + public mutating func clearRouteBadges() {self._routeBadges = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct GymBadges { + // 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. + + public var gymBadge: [AwardedGymBadge] = [] + + public var total: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct RouteBadges { + // 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. + + public var routeBadge: [AwardedRouteBadge] = [] + + public var total: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _gymBadges: PlayerProfileOutProto.GymBadges? = nil + fileprivate var _routeBadges: PlayerProfileOutProto.RouteBadges? = nil +} + +#if swift(>=4.2) + +extension PlayerProfileOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerProfileOutProto.Result] = [ + .unset, + .success, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerProfileProto { + // 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. + + public var playerName: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerPublicProfileProto { + // 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. + + public var name: String = String() + + public var level: Int32 = 0 + + public var avatar: PlayerAvatarProto { + get {return _avatar ?? PlayerAvatarProto()} + set {_avatar = newValue} + } + /// Returns true if `avatar` has been explicitly set. + public var hasAvatar: Bool {return self._avatar != nil} + /// Clears the value of `avatar`. Subsequent reads from it will return its default value. + public mutating func clearAvatar() {self._avatar = nil} + + public var team: Team = .unset + + public var battlesWon: Int32 = 0 + + public var kmWalked: Float = 0 + + public var caughtPokemon: Int32 = 0 + + public var gymBadgeType: GymBadgeType = .gymBadgeUnset + + public var badges: [PlayerBadgeProto] = [] + + public var experience: Int64 = 0 + + public var hasSharedExPass_p: Bool = false + + public var combatRank: Int32 = 0 + + public var combatRating: Float = 0 + + public var timedGroupChallengeStats: TimedGroupChallengePlayerStatsProto { + get {return _timedGroupChallengeStats ?? TimedGroupChallengePlayerStatsProto()} + set {_timedGroupChallengeStats = newValue} + } + /// Returns true if `timedGroupChallengeStats` has been explicitly set. + public var hasTimedGroupChallengeStats: Bool {return self._timedGroupChallengeStats != nil} + /// Clears the value of `timedGroupChallengeStats`. Subsequent reads from it will return its default value. + public mutating func clearTimedGroupChallengeStats() {self._timedGroupChallengeStats = nil} + + public var neutralAvatar: PlayerNeutralAvatarProto { + get {return _neutralAvatar ?? PlayerNeutralAvatarProto()} + set {_neutralAvatar = newValue} + } + /// Returns true if `neutralAvatar` has been explicitly set. + public var hasNeutralAvatar: Bool {return self._neutralAvatar != nil} + /// Clears the value of `neutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearNeutralAvatar() {self._neutralAvatar = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _avatar: PlayerAvatarProto? = nil + fileprivate var _timedGroupChallengeStats: TimedGroupChallengePlayerStatsProto? = nil + fileprivate var _neutralAvatar: PlayerNeutralAvatarProto? = nil +} + +public struct PlayerRaidInfoProto { + // 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. + + public var totalCompletedRaids: Int32 = 0 + + public var totalCompletedLegendaryRaids: Int32 = 0 + + public var raids: [RaidProto] = [] + + public var totalRemoteRaids: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerReputationProto { + // 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. + + public var accountAgeMs: Int64 = 0 + + public var playerLevel: Int64 = 0 + + public var cheatReputation: [PlayerReputationProto.CheatReputation] = [] + + public var isMinor: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum CheatReputation: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case bot // = 1 + case spoofer // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .bot + case 2: self = .spoofer + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .bot: return 1 + case .spoofer: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlayerReputationProto.CheatReputation: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerReputationProto.CheatReputation] = [ + .unset, + .bot, + .spoofer, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerRouteStats { + // 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. + + public var numCompletions: Int64 = 0 + + public var cooldownFinishMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerShownLevelUpShareScreenTelemetry { + // 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. + + public var playerViewedPhoto: Bool = false + + public var playerSharedPhoto: Bool = false + + public var playerLevel: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerSpawnablePokemonOutProto { + // 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. + + public var spawnablePokemons: [SpawnablePokemon] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerSpawnablePokemonProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PlayerStatsProto { + // 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. + + public var level: Int32 { + get {return _storage._level} + set {_uniqueStorage()._level = newValue} + } + + public var experience: Int64 { + get {return _storage._experience} + set {_uniqueStorage()._experience = newValue} + } + + public var prevLevelExp: Int64 { + get {return _storage._prevLevelExp} + set {_uniqueStorage()._prevLevelExp = newValue} + } + + public var nextLevelExp: Int64 { + get {return _storage._nextLevelExp} + set {_uniqueStorage()._nextLevelExp = newValue} + } + + public var kmWalked: Float { + get {return _storage._kmWalked} + set {_uniqueStorage()._kmWalked = newValue} + } + + public var numPokemonEncountered: Int32 { + get {return _storage._numPokemonEncountered} + set {_uniqueStorage()._numPokemonEncountered = newValue} + } + + public var numUniquePokedexEntries: Int32 { + get {return _storage._numUniquePokedexEntries} + set {_uniqueStorage()._numUniquePokedexEntries = newValue} + } + + public var numPokemonCaptured: Int32 { + get {return _storage._numPokemonCaptured} + set {_uniqueStorage()._numPokemonCaptured = newValue} + } + + public var numEvolutions: Int32 { + get {return _storage._numEvolutions} + set {_uniqueStorage()._numEvolutions = newValue} + } + + public var pokeStopVisits: Int32 { + get {return _storage._pokeStopVisits} + set {_uniqueStorage()._pokeStopVisits = newValue} + } + + public var numberOfPokeballThrown: Int32 { + get {return _storage._numberOfPokeballThrown} + set {_uniqueStorage()._numberOfPokeballThrown = newValue} + } + + public var numEggsHatched: Int32 { + get {return _storage._numEggsHatched} + set {_uniqueStorage()._numEggsHatched = newValue} + } + + public var bigMagikarpCaught: Int32 { + get {return _storage._bigMagikarpCaught} + set {_uniqueStorage()._bigMagikarpCaught = newValue} + } + + public var numBattleAttackWon: Int32 { + get {return _storage._numBattleAttackWon} + set {_uniqueStorage()._numBattleAttackWon = newValue} + } + + public var numBattleAttackTotal: Int32 { + get {return _storage._numBattleAttackTotal} + set {_uniqueStorage()._numBattleAttackTotal = newValue} + } + + public var numBattleDefendedWon: Int32 { + get {return _storage._numBattleDefendedWon} + set {_uniqueStorage()._numBattleDefendedWon = newValue} + } + + public var numBattleTrainingWon: Int32 { + get {return _storage._numBattleTrainingWon} + set {_uniqueStorage()._numBattleTrainingWon = newValue} + } + + public var numBattleTrainingTotal: Int32 { + get {return _storage._numBattleTrainingTotal} + set {_uniqueStorage()._numBattleTrainingTotal = newValue} + } + + public var prestigeRaisedTotal: Int32 { + get {return _storage._prestigeRaisedTotal} + set {_uniqueStorage()._prestigeRaisedTotal = newValue} + } + + public var prestigeDroppedTotal: Int32 { + get {return _storage._prestigeDroppedTotal} + set {_uniqueStorage()._prestigeDroppedTotal = newValue} + } + + public var numPokemonDeployed: Int32 { + get {return _storage._numPokemonDeployed} + set {_uniqueStorage()._numPokemonDeployed = newValue} + } + + public var numPokemonCaughtByType: [Int32] { + get {return _storage._numPokemonCaughtByType} + set {_uniqueStorage()._numPokemonCaughtByType = newValue} + } + + public var smallRattataCaught: Int32 { + get {return _storage._smallRattataCaught} + set {_uniqueStorage()._smallRattataCaught = newValue} + } + + public var usedKmPool: Double { + get {return _storage._usedKmPool} + set {_uniqueStorage()._usedKmPool = newValue} + } + + public var lastKmRefillMs: Int64 { + get {return _storage._lastKmRefillMs} + set {_uniqueStorage()._lastKmRefillMs = newValue} + } + + public var numRaidBattleWon: Int32 { + get {return _storage._numRaidBattleWon} + set {_uniqueStorage()._numRaidBattleWon = newValue} + } + + public var numRaidBattleTotal: Int32 { + get {return _storage._numRaidBattleTotal} + set {_uniqueStorage()._numRaidBattleTotal = newValue} + } + + public var numLegendaryBattleWon: Int32 { + get {return _storage._numLegendaryBattleWon} + set {_uniqueStorage()._numLegendaryBattleWon = newValue} + } + + public var numLegendaryBattleTotal: Int32 { + get {return _storage._numLegendaryBattleTotal} + set {_uniqueStorage()._numLegendaryBattleTotal = newValue} + } + + public var numBerriesFed: Int32 { + get {return _storage._numBerriesFed} + set {_uniqueStorage()._numBerriesFed = newValue} + } + + public var totalDefendedMs: Int64 { + get {return _storage._totalDefendedMs} + set {_uniqueStorage()._totalDefendedMs = newValue} + } + + public var eventBadges: [HoloBadgeType] { + get {return _storage._eventBadges} + set {_uniqueStorage()._eventBadges = newValue} + } + + public var kmWalkedPastActiveDay: Float { + get {return _storage._kmWalkedPastActiveDay} + set {_uniqueStorage()._kmWalkedPastActiveDay = newValue} + } + + public var numChallengeQuestsCompleted: Int32 { + get {return _storage._numChallengeQuestsCompleted} + set {_uniqueStorage()._numChallengeQuestsCompleted = newValue} + } + + public var numTrades: Int32 { + get {return _storage._numTrades} + set {_uniqueStorage()._numTrades = newValue} + } + + public var numMaxLevelFriends: Int32 { + get {return _storage._numMaxLevelFriends} + set {_uniqueStorage()._numMaxLevelFriends = newValue} + } + + public var tradeAccumulatedDistanceKm: Int64 { + get {return _storage._tradeAccumulatedDistanceKm} + set {_uniqueStorage()._tradeAccumulatedDistanceKm = newValue} + } + + public var fitnessReportLastCheckBucket: Int64 { + get {return _storage._fitnessReportLastCheckBucket} + set {_uniqueStorage()._fitnessReportLastCheckBucket = newValue} + } + + public var combatStats: PlayerCombatStatsProto { + get {return _storage._combatStats ?? PlayerCombatStatsProto()} + set {_uniqueStorage()._combatStats = newValue} + } + /// Returns true if `combatStats` has been explicitly set. + public var hasCombatStats: Bool {return _storage._combatStats != nil} + /// Clears the value of `combatStats`. Subsequent reads from it will return its default value. + public mutating func clearCombatStats() {_uniqueStorage()._combatStats = nil} + + public var numNpcCombatsWon: Int32 { + get {return _storage._numNpcCombatsWon} + set {_uniqueStorage()._numNpcCombatsWon = newValue} + } + + public var numNpcCombatsTotal: Int32 { + get {return _storage._numNpcCombatsTotal} + set {_uniqueStorage()._numNpcCombatsTotal = newValue} + } + + public var numPhotobombSeen: Int32 { + get {return _storage._numPhotobombSeen} + set {_uniqueStorage()._numPhotobombSeen = newValue} + } + + public var numPokemonPurified: Int32 { + get {return _storage._numPokemonPurified} + set {_uniqueStorage()._numPokemonPurified = newValue} + } + + public var numGruntsDefeated: Int32 { + get {return _storage._numGruntsDefeated} + set {_uniqueStorage()._numGruntsDefeated = newValue} + } + + public var numBestBuddies: Int32 { + get {return _storage._numBestBuddies} + set {_uniqueStorage()._numBestBuddies = newValue} + } + + public var levelCap: Int32 { + get {return _storage._levelCap} + set {_uniqueStorage()._levelCap = newValue} + } + + public var sevenDayStreaks: Int32 { + get {return _storage._sevenDayStreaks} + set {_uniqueStorage()._sevenDayStreaks = newValue} + } + + public var uniqueRaidBossesDefeated: Int32 { + get {return _storage._uniqueRaidBossesDefeated} + set {_uniqueStorage()._uniqueRaidBossesDefeated = newValue} + } + + public var uniquePokestopsVisited: Int32 { + get {return _storage._uniquePokestopsVisited} + set {_uniqueStorage()._uniquePokestopsVisited = newValue} + } + + public var raidsWonWithFriends: Int32 { + get {return _storage._raidsWonWithFriends} + set {_uniqueStorage()._raidsWonWithFriends = newValue} + } + + public var pokemonCaughtAtYourLures: Int32 { + get {return _storage._pokemonCaughtAtYourLures} + set {_uniqueStorage()._pokemonCaughtAtYourLures = newValue} + } + + public var numWayfarerAgreement: Int32 { + get {return _storage._numWayfarerAgreement} + set {_uniqueStorage()._numWayfarerAgreement = newValue} + } + + public var wayfarerAgreementUpdateMs: Int64 { + get {return _storage._wayfarerAgreementUpdateMs} + set {_uniqueStorage()._wayfarerAgreementUpdateMs = newValue} + } + + public var numTotalMegaEvolutions: Int32 { + get {return _storage._numTotalMegaEvolutions} + set {_uniqueStorage()._numTotalMegaEvolutions = newValue} + } + + public var numUniqueMegaEvolutions: Int32 { + get {return _storage._numUniqueMegaEvolutions} + set {_uniqueStorage()._numUniqueMegaEvolutions = newValue} + } + + public var numMiniCollectionEventCompleted: Int32 { + get {return _storage._numMiniCollectionEventCompleted} + set {_uniqueStorage()._numMiniCollectionEventCompleted = newValue} + } + + public var numPokemonFormChanges: Int32 { + get {return _storage._numPokemonFormChanges} + set {_uniqueStorage()._numPokemonFormChanges = newValue} + } + + public var numRocketBalloonBattlesWon: Int32 { + get {return _storage._numRocketBalloonBattlesWon} + set {_uniqueStorage()._numRocketBalloonBattlesWon = newValue} + } + + public var numRocketBalloonBattlesTotal: Int32 { + get {return _storage._numRocketBalloonBattlesTotal} + set {_uniqueStorage()._numRocketBalloonBattlesTotal = newValue} + } + + public var numRoutesAccepted: Int32 { + get {return _storage._numRoutesAccepted} + set {_uniqueStorage()._numRoutesAccepted = newValue} + } + + public var numPlayersReferred: Int32 { + get {return _storage._numPlayersReferred} + set {_uniqueStorage()._numPlayersReferred = newValue} + } + + public var numPokestopsArVideoScanned: Int32 { + get {return _storage._numPokestopsArVideoScanned} + set {_uniqueStorage()._numPokestopsArVideoScanned = newValue} + } + + public var numTotalRoutePlay: Int32 { + get {return _storage._numTotalRoutePlay} + set {_uniqueStorage()._numTotalRoutePlay = newValue} + } + + public var numUniqueRoutePlay: Int32 { + get {return _storage._numUniqueRoutePlay} + set {_uniqueStorage()._numUniqueRoutePlay = newValue} + } + + public var numButterflyCollector: Int32 { + get {return _storage._numButterflyCollector} + set {_uniqueStorage()._numButterflyCollector = newValue} + } + + public var currentPostcardCount: Int32 { + get {return _storage._currentPostcardCount} + set {_uniqueStorage()._currentPostcardCount = newValue} + } + + public var maxPostcardCount: Int32 { + get {return _storage._maxPostcardCount} + set {_uniqueStorage()._maxPostcardCount = newValue} + } + + public var contestStats: PlayerContestStatsProto { + get {return _storage._contestStats ?? PlayerContestStatsProto()} + set {_uniqueStorage()._contestStats = newValue} + } + /// Returns true if `contestStats` has been explicitly set. + public var hasContestStats: Bool {return _storage._contestStats != nil} + /// Clears the value of `contestStats`. Subsequent reads from it will return its default value. + public mutating func clearContestStats() {_uniqueStorage()._contestStats = nil} + + public var routeDiscoveryNotifTimestamp: [Int64] { + get {return _storage._routeDiscoveryNotifTimestamp} + set {_uniqueStorage()._routeDiscoveryNotifTimestamp = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PlayerStatsSnapshotsProto { + // 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. + + public var snapShot: [PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct PlayerStatsSnapshotProto { + // 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. + + public var reason: PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto.Reason = .unset + + public var stats: PlayerStatsProto { + get {return _stats ?? PlayerStatsProto()} + set {_stats = newValue} + } + /// Returns true if `stats` has been explicitly set. + public var hasStats: Bool {return self._stats != nil} + /// Clears the value of `stats`. Subsequent reads from it will return its default value. + public mutating func clearStats() {self._stats = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Reason: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case levelUp // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .levelUp + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .levelUp: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _stats: PlayerStatsProto? = nil + } + + public init() {} +} + +#if swift(>=4.2) + +extension PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto.Reason: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto.Reason] = [ + .unset, + .levelUp, + ] +} + +#endif // swift(>=4.2) + +public struct PlayerUnclaimedPartyQuestIdsProto { + // 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. + + public var playerID: String = String() + + public var unclaimedQuestIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PoiCategorizationEntryTelemetry { + // 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. + + public var entryType: PoiCategorizationEntryTelemetry.EntryType = .unset + + public var sessionStartTime: Int64 = 0 + + public var langCountryCode: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum EntryType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case edit // = 1 + case nomination // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .edit + case 2: self = .nomination + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .edit: return 1 + case .nomination: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PoiCategorizationEntryTelemetry.EntryType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PoiCategorizationEntryTelemetry.EntryType] = [ + .unset, + .edit, + .nomination, + ] +} + +#endif // swift(>=4.2) + +public struct PoiCategorizationOperationTelemetry { + // 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. + + public var operationType: PoiCategorizationOperationTelemetry.OperationType = .unset + + public var sessionStartTime: Int64 = 0 + + public var selectedIds: [String] = [] + + public var langCountryCode: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OperationType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case editSubmitted // = 1 + case editCancelled // = 2 + case nominationExitForward // = 3 + case nominationExitBackward // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .editSubmitted + case 2: self = .editCancelled + case 3: self = .nominationExitForward + case 4: self = .nominationExitBackward + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .editSubmitted: return 1 + case .editCancelled: return 2 + case .nominationExitForward: return 3 + case .nominationExitBackward: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PoiCategorizationOperationTelemetry.OperationType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PoiCategorizationOperationTelemetry.OperationType] = [ + .unset, + .editSubmitted, + .editCancelled, + .nominationExitForward, + .nominationExitBackward, + ] +} + +#endif // swift(>=4.2) + +public struct PoiCategoryRemovedTelemetry { + // 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. + + public var sessionStartTime: Int64 = 0 + + public var removedID: String = String() + + public var remainingIds: [String] = [] + + public var langCountryCode: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PoiCategorySelectedTelemetry { + // 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. + + public var sessionStartTime: Int64 = 0 + + public var selectedID: String = String() + + public var selectedIndex: Int32 = 0 + + public var searchEntered: Bool = false + + public var parentSelected: Bool = false + + public var langCountryCode: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PoiGlobalSettingsProto { + // 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. + + public var isEnabled: Bool = false + + public var playerSubmissionTypeEnabled: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PoiInteractionTelemetry { + // 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. + + public var poiID: String = String() + + public var poiType: PoiInteractionTelemetry.PoiType = .pokestop + + public var poiInteraction: PoiInteractionTelemetry.PoiInteraction = .click + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PoiInteraction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case click // = 0 + case spin // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .click + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .click + case 1: self = .spin + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .click: return 0 + case .spin: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum PoiType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case pokestop // = 0 + case gym // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .pokestop + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .pokestop + case 1: self = .gym + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .pokestop: return 0 + case .gym: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PoiInteractionTelemetry.PoiInteraction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PoiInteractionTelemetry.PoiInteraction] = [ + .click, + .spin, + ] +} + +extension PoiInteractionTelemetry.PoiType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PoiInteractionTelemetry.PoiType] = [ + .pokestop, + .gym, + ] +} + +#endif // swift(>=4.2) + +public struct PoiSubmissionPhotoUploadErrorTelemetry { + // 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. + + public var errorID: PoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds = .unset + + public var imageType: PoiImageType = .unset + + public var errorMessage: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PoiSubmissionPhotoUploadErrorIds: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case poiPhotoUploadError // = 1 + case poiPhotoUploadTimeout // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .poiPhotoUploadError + case 2: self = .poiPhotoUploadTimeout + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .poiPhotoUploadError: return 1 + case .poiPhotoUploadTimeout: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds] = [ + .unset, + .poiPhotoUploadError, + .poiPhotoUploadTimeout, + ] +} + +#endif // swift(>=4.2) + +public struct PoiSubmissionTelemetry { + // 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. + + public var guiEventID: PoiSubmissionTelemetry.PoiSubmissionGuiEventId = .unknown + + public var imageType: PoiImageType = .unset + + public var cameraStepID: PoiSubmissionTelemetry.PoiCameraStepIds = .unset + + public var poiID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PoiCameraStepIds: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case enter // = 1 + case retake // = 2 + case confirm // = 3 + case exit // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .enter + case 2: self = .retake + case 3: self = .confirm + case 4: self = .exit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .enter: return 1 + case .retake: return 2 + case .confirm: return 3 + case .exit: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum PoiSubmissionGuiEventId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case poiNominationEnter // = 1 + case poiTutorialComplete // = 2 + case poiMapChangedviewMap // = 3 + case poiMapChangedviewSatellite // = 4 + case poiMapCenterLocation // = 5 + case poiLocationSet // = 6 + case poiPhotoCameraEnter // = 7 + case poiPhotoCameraExit // = 8 + case poiTitleEntered // = 9 + case poiDescriptionEnter // = 10 + case poiDetailsConfirm // = 11 + case poiSupportinginfoEnter // = 12 + case poiSubmitButtonHit // = 13 + case poiExitButtonHit // = 14 + case poiNominationGuidelinesHit // = 15 + case poiMapTogglePoisOff // = 16 + case poiMapTogglePoisOn // = 17 + case poiMapWayspotsLoaded // = 18 + case poiMapSelectPoi // = 19 + case poiMapSelectPoiAbandon // = 20 + case poiMapSelectPoiCompleted // = 21 + case poiMapTutorialSelected // = 22 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .poiNominationEnter + case 2: self = .poiTutorialComplete + case 3: self = .poiMapChangedviewMap + case 4: self = .poiMapChangedviewSatellite + case 5: self = .poiMapCenterLocation + case 6: self = .poiLocationSet + case 7: self = .poiPhotoCameraEnter + case 8: self = .poiPhotoCameraExit + case 9: self = .poiTitleEntered + case 10: self = .poiDescriptionEnter + case 11: self = .poiDetailsConfirm + case 12: self = .poiSupportinginfoEnter + case 13: self = .poiSubmitButtonHit + case 14: self = .poiExitButtonHit + case 15: self = .poiNominationGuidelinesHit + case 16: self = .poiMapTogglePoisOff + case 17: self = .poiMapTogglePoisOn + case 18: self = .poiMapWayspotsLoaded + case 19: self = .poiMapSelectPoi + case 20: self = .poiMapSelectPoiAbandon + case 21: self = .poiMapSelectPoiCompleted + case 22: self = .poiMapTutorialSelected + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .poiNominationEnter: return 1 + case .poiTutorialComplete: return 2 + case .poiMapChangedviewMap: return 3 + case .poiMapChangedviewSatellite: return 4 + case .poiMapCenterLocation: return 5 + case .poiLocationSet: return 6 + case .poiPhotoCameraEnter: return 7 + case .poiPhotoCameraExit: return 8 + case .poiTitleEntered: return 9 + case .poiDescriptionEnter: return 10 + case .poiDetailsConfirm: return 11 + case .poiSupportinginfoEnter: return 12 + case .poiSubmitButtonHit: return 13 + case .poiExitButtonHit: return 14 + case .poiNominationGuidelinesHit: return 15 + case .poiMapTogglePoisOff: return 16 + case .poiMapTogglePoisOn: return 17 + case .poiMapWayspotsLoaded: return 18 + case .poiMapSelectPoi: return 19 + case .poiMapSelectPoiAbandon: return 20 + case .poiMapSelectPoiCompleted: return 21 + case .poiMapTutorialSelected: return 22 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PoiSubmissionTelemetry.PoiCameraStepIds: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PoiSubmissionTelemetry.PoiCameraStepIds] = [ + .unset, + .enter, + .retake, + .confirm, + .exit, + ] +} + +extension PoiSubmissionTelemetry.PoiSubmissionGuiEventId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PoiSubmissionTelemetry.PoiSubmissionGuiEventId] = [ + .unknown, + .poiNominationEnter, + .poiTutorialComplete, + .poiMapChangedviewMap, + .poiMapChangedviewSatellite, + .poiMapCenterLocation, + .poiLocationSet, + .poiPhotoCameraEnter, + .poiPhotoCameraExit, + .poiTitleEntered, + .poiDescriptionEnter, + .poiDetailsConfirm, + .poiSupportinginfoEnter, + .poiSubmitButtonHit, + .poiExitButtonHit, + .poiNominationGuidelinesHit, + .poiMapTogglePoisOff, + .poiMapTogglePoisOn, + .poiMapWayspotsLoaded, + .poiMapSelectPoi, + .poiMapSelectPoiAbandon, + .poiMapSelectPoiCompleted, + .poiMapTutorialSelected, + ] +} + +#endif // swift(>=4.2) + +public struct PointList { + // 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. + + public var coords: [UInt32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PointProto { + // 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. + + public var latDegrees: Double = 0 + + public var lngDegrees: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokeBallAttributesProto { + // 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. + + public var itemEffect: HoloItemEffect = .itemEffectNone + + public var captureMulti: Float = 0 + + public var captureMultiEffect: Float = 0 + + public var itemEffectMod: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokeCandyProto { + // 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. + + public var pokemonID: UInt64 = 0 + + public var candyCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokecoinCapProto { + // 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. + + public var pokecoinSource: PokecoinSource = .sourceUnset + + public var resetFrequency: PokecoinCapResetFrequency = .frequencyUnset + + public var maxAmountOfCoinsCanBeClaimed: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokecoinCapSettings { + // 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. + + public var pokecoinCaps: [PokecoinCapProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokecoinPurchaseDisplayGmtProto { + // 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. + + public var featureEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokecoinPurchaseDisplaySettingsProto { + // 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. + + public var featureEnabled: Bool = false + + public var enabledCountries: [String] = [] + + public var enabledCurrencies: [String] = [] + + public var usePokecoinPurchaseDisplayGmt: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokecoinSectionProto { + // 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. + + public var coinsEarnedToday: Int32 = 0 + + public var maxCoinsPerDay: Int32 = 0 + + public var coinsQuestID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokedexCategoriesSettingsProto { + // 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. + + public var featureEnabled: Bool = false + + public var pokedexCategorySettingsInOrder: [PokedexCategoriesSettingsProto.PokedexCategorySettingsProto] = [] + + public var clientShinyFormCheck: Bool = false + + public var searchEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct PokedexCategorySettingsProto { + // 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. + + public var pokedexCategory: PokedexCategory = .unset + + public var milestoneGoal: Int32 = 0 + + public var visuallyHidden: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct PokedexCategoryMilestoneProto { + // 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. + + public var pokedexCategory: PokedexCategory = .unset + + public var status: PokedexCategoryMilestoneProto.Status = .unset + + public var progress: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case active // = 1 + case unlocked // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .active + case 2: self = .unlocked + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .active: return 1 + case .unlocked: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PokedexCategoryMilestoneProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokedexCategoryMilestoneProto.Status] = [ + .unset, + .active, + .unlocked, + ] +} + +#endif // swift(>=4.2) + +public struct PokedexCategorySelectedTelemetry { + // 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. + + public var category: PokedexCategory = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokedexEntryProto { + // 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. + + public var pokedexEntryNumber: Int32 { + get {return _storage._pokedexEntryNumber} + set {_uniqueStorage()._pokedexEntryNumber = newValue} + } + + public var timesEncountered: Int32 { + get {return _storage._timesEncountered} + set {_uniqueStorage()._timesEncountered = newValue} + } + + public var timesCaptured: Int32 { + get {return _storage._timesCaptured} + set {_uniqueStorage()._timesCaptured = newValue} + } + + public var evolutionStonePieces: Int32 { + get {return _storage._evolutionStonePieces} + set {_uniqueStorage()._evolutionStonePieces = newValue} + } + + public var evolutionStones: Int32 { + get {return _storage._evolutionStones} + set {_uniqueStorage()._evolutionStones = newValue} + } + + public var capturedCostumes: [PokemonDisplayProto.Costume] { + get {return _storage._capturedCostumes} + set {_uniqueStorage()._capturedCostumes = newValue} + } + + public var capturedForms: [PokemonDisplayProto.Form] { + get {return _storage._capturedForms} + set {_uniqueStorage()._capturedForms = newValue} + } + + public var capturedGenders: [PokemonDisplayProto.Gender] { + get {return _storage._capturedGenders} + set {_uniqueStorage()._capturedGenders = newValue} + } + + public var capturedShiny: Bool { + get {return _storage._capturedShiny} + set {_uniqueStorage()._capturedShiny = newValue} + } + + public var encounteredCostumes: [PokemonDisplayProto.Costume] { + get {return _storage._encounteredCostumes} + set {_uniqueStorage()._encounteredCostumes = newValue} + } + + public var encounteredForms: [PokemonDisplayProto.Form] { + get {return _storage._encounteredForms} + set {_uniqueStorage()._encounteredForms = newValue} + } + + public var encounteredGenders: [PokemonDisplayProto.Gender] { + get {return _storage._encounteredGenders} + set {_uniqueStorage()._encounteredGenders = newValue} + } + + public var encounteredShiny: Bool { + get {return _storage._encounteredShiny} + set {_uniqueStorage()._encounteredShiny = newValue} + } + + public var timesLuckyReceived: Int32 { + get {return _storage._timesLuckyReceived} + set {_uniqueStorage()._timesLuckyReceived = newValue} + } + + public var timesPurified: Int32 { + get {return _storage._timesPurified} + set {_uniqueStorage()._timesPurified = newValue} + } + + public var tempEvoData: [PokedexEntryProto.TempEvoData] { + get {return _storage._tempEvoData} + set {_uniqueStorage()._tempEvoData = newValue} + } + + public var capturedShinyForms: [PokemonDisplayProto.Form] { + get {return _storage._capturedShinyForms} + set {_uniqueStorage()._capturedShinyForms = newValue} + } + + public var categoryStatus: Dictionary { + get {return _storage._categoryStatus} + set {_uniqueStorage()._categoryStatus = newValue} + } + + public var capturedShinyAlignments: [PokemonDisplayProto.Alignment] { + get {return _storage._capturedShinyAlignments} + set {_uniqueStorage()._capturedShinyAlignments = newValue} + } + + public var stats: PokedexStatsProto { + get {return _storage._stats ?? PokedexStatsProto()} + set {_uniqueStorage()._stats = newValue} + } + /// Returns true if `stats` has been explicitly set. + public var hasStats: Bool {return _storage._stats != nil} + /// Clears the value of `stats`. Subsequent reads from it will return its default value. + public mutating func clearStats() {_uniqueStorage()._stats = nil} + + public var statsForForms: Dictionary { + get {return _storage._statsForForms} + set {_uniqueStorage()._statsForForms = newValue} + } + + public var locationCards: [LocationCard] { + get {return _storage._locationCards} + set {_uniqueStorage()._locationCards = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct PokedexCategoryStatus { + // 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. + + public var pokedexCategory: PokedexCategory = .unset + + public var encountered: Bool = false + + public var acquired: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct TempEvoData { + // 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. + + public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var timesEncountered: Int32 = 0 + + public var timesObtained: Int32 = 0 + + public var gendersEncountered: [PokemonDisplayProto.Gender] = [] + + public var gendersObtained: [PokemonDisplayProto.Gender] = [] + + public var timesEncounteredShiny: Int32 = 0 + + public var timesObtainedShiny: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PokedexSizeStatsSystemSettingsProto { + // 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. + + public var updateEnabled: Bool = false + + public var displayEnabled: Bool = false + + public var pokedexDisplayPokemonTrackedThreshold: Int32 = 0 + + public var recordDisplayPokemonTrackedThreshold: Int32 = 0 + + public var updateFromInventoryTimestampMs: Int64 = 0 + + public var numDaysNewBubbleTrack: Float = 0 + + public var enableRandomizedHeightAndWeightForWildPokemon: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokedexStatProto { + // 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. + + public var minValue: PokemonStatValueProto { + get {return _minValue ?? PokemonStatValueProto()} + set {_minValue = newValue} + } + /// Returns true if `minValue` has been explicitly set. + public var hasMinValue: Bool {return self._minValue != nil} + /// Clears the value of `minValue`. Subsequent reads from it will return its default value. + public mutating func clearMinValue() {self._minValue = nil} + + public var maxValue: PokemonStatValueProto { + get {return _maxValue ?? PokemonStatValueProto()} + set {_maxValue = newValue} + } + /// Returns true if `maxValue` has been explicitly set. + public var hasMaxValue: Bool {return self._maxValue != nil} + /// Clears the value of `maxValue`. Subsequent reads from it will return its default value. + public mutating func clearMaxValue() {self._maxValue = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _minValue: PokemonStatValueProto? = nil + fileprivate var _maxValue: PokemonStatValueProto? = nil +} + +public struct PokedexStatsProto { + // 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. + + public var numPokemonTracked: Int32 = 0 + + public var height: PokedexStatProto { + get {return _height ?? PokedexStatProto()} + set {_height = newValue} + } + /// Returns true if `height` has been explicitly set. + public var hasHeight: Bool {return self._height != nil} + /// Clears the value of `height`. Subsequent reads from it will return its default value. + public mutating func clearHeight() {self._height = nil} + + public var weight: PokedexStatProto { + get {return _weight ?? PokedexStatProto()} + set {_weight = newValue} + } + /// Returns true if `weight` has been explicitly set. + public var hasWeight: Bool {return self._weight != nil} + /// Clears the value of `weight`. Subsequent reads from it will return its default value. + public mutating func clearWeight() {self._weight = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _height: PokedexStatProto? = nil + fileprivate var _weight: PokedexStatProto? = nil +} + +public struct PokemonBulkUpgradeSettingsProto { + // 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. + + public var enableClientSideChange: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonCameraAttributesProto { + // 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. + + public var diskRadiusM: Float = 0 + + public var cylRadiusM: Float = 0 + + public var cylHeightM: Float = 0 + + public var cylGroundM: Float = 0 + + public var shoulderModeScale: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonCandyRewardProto { + // 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. + + public var pokemonID: HoloPokemonId = .missingno + + public var amount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonCombatStatsProto { + // 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. + + public var numWon: Int32 = 0 + + public var numTotal: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonCompareChallenge { + // 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. + + public var compareStat: PokemonCompareChallenge.CompareStat = .unsetStat + + public var compareOperation: PokemonCompareChallenge.CompareOperation = .unsetOperation + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum CompareOperation: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetOperation // = 0 + case greaterWin // = 1 + case lesserWin // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetOperation + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetOperation + case 1: self = .greaterWin + case 2: self = .lesserWin + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetOperation: return 0 + case .greaterWin: return 1 + case .lesserWin: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum CompareStat: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetStat // = 0 + case weight // = 1 + case height // = 2 + case age // = 3 + case walkedDistanceKm // = 4 + case cp // = 5 + case maxHp // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetStat + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetStat + case 1: self = .weight + case 2: self = .height + case 3: self = .age + case 4: self = .walkedDistanceKm + case 5: self = .cp + case 6: self = .maxHp + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetStat: return 0 + case .weight: return 1 + case .height: return 2 + case .age: return 3 + case .walkedDistanceKm: return 4 + case .cp: return 5 + case .maxHp: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PokemonCompareChallenge.CompareOperation: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonCompareChallenge.CompareOperation] = [ + .unsetOperation, + .greaterWin, + .lesserWin, + ] +} + +extension PokemonCompareChallenge.CompareStat: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonCompareChallenge.CompareStat] = [ + .unsetStat, + .weight, + .height, + .age, + .walkedDistanceKm, + .cp, + .maxHp, + ] +} + +#endif // swift(>=4.2) + +public struct PokemonContestInfoProto { + // 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. + + public var contestID: String = String() + + public var contestEndTimeMs: Int64 = 0 + + public var freeUpTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonCreateDetail { + // 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. + + public var originDetail: PokemonCreateDetail.OneOf_OriginDetail? = nil + + public var wildDetail: WildCreateDetail { + get { + if case .wildDetail(let v)? = originDetail {return v} + return WildCreateDetail() + } + set {originDetail = .wildDetail(newValue)} + } + + public var eggDetail: EggCreateDetail { + get { + if case .eggDetail(let v)? = originDetail {return v} + return EggCreateDetail() + } + set {originDetail = .eggDetail(newValue)} + } + + public var raidDetail: RaidCreateDetail { + get { + if case .raidDetail(let v)? = originDetail {return v} + return RaidCreateDetail() + } + set {originDetail = .raidDetail(newValue)} + } + + public var questDetail: QuestCreateDetail { + get { + if case .questDetail(let v)? = originDetail {return v} + return QuestCreateDetail() + } + set {originDetail = .questDetail(newValue)} + } + + public var vsSeekerDetail: VsSeekerCreateDetail { + get { + if case .vsSeekerDetail(let v)? = originDetail {return v} + return VsSeekerCreateDetail() + } + set {originDetail = .vsSeekerDetail(newValue)} + } + + public var invasionDetail: InvasionCreateDetail { + get { + if case .invasionDetail(let v)? = originDetail {return v} + return InvasionCreateDetail() + } + set {originDetail = .invasionDetail(newValue)} + } + + public var photobombDetail: PhotobombCreateDetail { + get { + if case .photobombDetail(let v)? = originDetail {return v} + return PhotobombCreateDetail() + } + set {originDetail = .photobombDetail(newValue)} + } + + public var tutorialDetail: TutorialCreateDetail { + get { + if case .tutorialDetail(let v)? = originDetail {return v} + return TutorialCreateDetail() + } + set {originDetail = .tutorialDetail(newValue)} + } + + public var postcardDetail: PostcardCreateDetail { + get { + if case .postcardDetail(let v)? = originDetail {return v} + return PostcardCreateDetail() + } + set {originDetail = .postcardDetail(newValue)} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_OriginDetail: Equatable { + case wildDetail(WildCreateDetail) + case eggDetail(EggCreateDetail) + case raidDetail(RaidCreateDetail) + case questDetail(QuestCreateDetail) + case vsSeekerDetail(VsSeekerCreateDetail) + case invasionDetail(InvasionCreateDetail) + case photobombDetail(PhotobombCreateDetail) + case tutorialDetail(TutorialCreateDetail) + case postcardDetail(PostcardCreateDetail) + + #if !swift(>=4.1) + public static func ==(lhs: PokemonCreateDetail.OneOf_OriginDetail, rhs: PokemonCreateDetail.OneOf_OriginDetail) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.wildDetail, .wildDetail): return { + guard case .wildDetail(let l) = lhs, case .wildDetail(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.eggDetail, .eggDetail): return { + guard case .eggDetail(let l) = lhs, case .eggDetail(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidDetail, .raidDetail): return { + guard case .raidDetail(let l) = lhs, case .raidDetail(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.questDetail, .questDetail): return { + guard case .questDetail(let l) = lhs, case .questDetail(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.vsSeekerDetail, .vsSeekerDetail): return { + guard case .vsSeekerDetail(let l) = lhs, case .vsSeekerDetail(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.invasionDetail, .invasionDetail): return { + guard case .invasionDetail(let l) = lhs, case .invasionDetail(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.photobombDetail, .photobombDetail): return { + guard case .photobombDetail(let l) = lhs, case .photobombDetail(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.tutorialDetail, .tutorialDetail): return { + guard case .tutorialDetail(let l) = lhs, case .tutorialDetail(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.postcardDetail, .postcardDetail): return { + guard case .postcardDetail(let l) = lhs, case .postcardDetail(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} +} + +public struct PokemonCutsceneRefactorSettingsProto { + // 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. + + public var enabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonDisplayProto { + // 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. + + public var costume: PokemonDisplayProto.Costume { + get {return _storage._costume} + set {_uniqueStorage()._costume = newValue} + } + + public var gender: PokemonDisplayProto.Gender { + get {return _storage._gender} + set {_uniqueStorage()._gender = newValue} + } + + public var shiny: Bool { + get {return _storage._shiny} + set {_uniqueStorage()._shiny = newValue} + } + + public var form: PokemonDisplayProto.Form { + get {return _storage._form} + set {_uniqueStorage()._form = newValue} + } + + public var weatherBoostedCondition: GameplayWeatherProto.WeatherCondition { + get {return _storage._weatherBoostedCondition} + set {_uniqueStorage()._weatherBoostedCondition = newValue} + } + + public var alignment: PokemonDisplayProto.Alignment { + get {return _storage._alignment} + set {_uniqueStorage()._alignment = newValue} + } + + public var pokemonBadge: PokemonBadge { + get {return _storage._pokemonBadge} + set {_uniqueStorage()._pokemonBadge = newValue} + } + + public var currentTempEvolution: HoloTemporaryEvolutionId { + get {return _storage._currentTempEvolution} + set {_uniqueStorage()._currentTempEvolution = newValue} + } + + public var temporaryEvolutionFinishMs: Int64 { + get {return _storage._temporaryEvolutionFinishMs} + set {_uniqueStorage()._temporaryEvolutionFinishMs = newValue} + } + + public var tempEvolutionIsLocked: Bool { + get {return _storage._tempEvolutionIsLocked} + set {_uniqueStorage()._tempEvolutionIsLocked = newValue} + } + + public var lockedTempEvolution: HoloTemporaryEvolutionId { + get {return _storage._lockedTempEvolution} + set {_uniqueStorage()._lockedTempEvolution = newValue} + } + + public var originalCostume: PokemonDisplayProto.Costume { + get {return _storage._originalCostume} + set {_uniqueStorage()._originalCostume = newValue} + } + + public var displayID: Int64 { + get {return _storage._displayID} + set {_uniqueStorage()._displayID = newValue} + } + + public var megaEvolutionLevel: PokemonMegaEvolutionLevelProto { + get {return _storage._megaEvolutionLevel ?? PokemonMegaEvolutionLevelProto()} + set {_uniqueStorage()._megaEvolutionLevel = newValue} + } + /// Returns true if `megaEvolutionLevel` has been explicitly set. + public var hasMegaEvolutionLevel: Bool {return _storage._megaEvolutionLevel != nil} + /// Clears the value of `megaEvolutionLevel`. Subsequent reads from it will return its default value. + public mutating func clearMegaEvolutionLevel() {_uniqueStorage()._megaEvolutionLevel = nil} + + public var locationCard: LocationCardDisplayProto { + get {return _storage._locationCard ?? LocationCardDisplayProto()} + set {_uniqueStorage()._locationCard = newValue} + } + /// Returns true if `locationCard` has been explicitly set. + public var hasLocationCard: Bool {return _storage._locationCard != nil} + /// Clears the value of `locationCard`. Subsequent reads from it will return its default value. + public mutating func clearLocationCard() {_uniqueStorage()._locationCard = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Alignment: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case shadow // = 1 + case purified // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .shadow + case 2: self = .purified + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .shadow: return 1 + case .purified: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum Costume: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case holiday2016 // = 1 + case anniversary // = 2 + case oneYearAnniversary // = 3 + case halloween2017 // = 4 + case summer2018 // = 5 + case fall2018 // = 6 + case november2018 // = 7 + case winter2018 // = 8 + case feb2019 // = 9 + case may2019Noevolve // = 10 + case jan2020Noevolve // = 11 + case april2020Noevolve // = 12 + case safari2020Noevolve // = 13 + case spring2020Noevolve // = 14 + case summer2020Noevolve // = 15 + case fall2020Noevolve // = 16 + case winter2020Noevolve // = 17 + case notForReleaseAlpha // = 18 + case notForReleaseBeta // = 19 + case notForReleaseGamma // = 20 + case notForReleaseNoevolve // = 21 + case kanto2020Noevolve // = 22 + case johto2020Noevolve // = 23 + case hoenn2020Noevolve // = 24 + case sinnoh2020Noevolve // = 25 + case halloween2020Noevolve // = 26 + case costume1 // = 27 + case costume2 // = 28 + case costume3 // = 29 + case costume4 // = 30 + case costume5 // = 31 + case costume6 // = 32 + case costume7 // = 33 + case costume8 // = 34 + case costume9 // = 35 + case costume10 // = 36 + case costume1Noevolve // = 37 + case costume2Noevolve // = 38 + case costume3Noevolve // = 39 + case costume4Noevolve // = 40 + case costume5Noevolve // = 41 + case costume6Noevolve // = 42 + case costume7Noevolve // = 43 + case costume8Noevolve // = 44 + case costume9Noevolve // = 45 + case costume10Noevolve // = 46 + case gofest2021Noevolve // = 47 + case fashion2021Noevolve // = 48 + case halloween2021Noevolve // = 49 + case gems12021Noevolve // = 50 + case gems22021Noevolve // = 51 + case holiday2021Noevolve // = 52 + case tcg2022Noevolve // = 53 + case jan2022Noevolve // = 54 + case gofest2022Noevolve // = 55 + case anniversary2022Noevolve // = 56 + case fall2022 // = 57 + case fall2022Noevolve // = 58 + case holiday2022 // = 59 + case jan2023Noevolve // = 60 + case gotour2023BandanaNoevolve // = 61 + case gotour2023HatNoevolve // = 62 + case spring2023 // = 63 + case spring2023Mystic // = 64 + case spring2023Valor // = 65 + case spring2023Instinct // = 66 + case nightcap // = 67 + case may2023 // = 68 + case pi // = 69 + case fall2023 // = 70 + case fall2023Noevolve // = 71 + case piNoevolve // = 72 + case holiday2023 // = 73 + case jan2024 // = 74 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .holiday2016 + case 2: self = .anniversary + case 3: self = .oneYearAnniversary + case 4: self = .halloween2017 + case 5: self = .summer2018 + case 6: self = .fall2018 + case 7: self = .november2018 + case 8: self = .winter2018 + case 9: self = .feb2019 + case 10: self = .may2019Noevolve + case 11: self = .jan2020Noevolve + case 12: self = .april2020Noevolve + case 13: self = .safari2020Noevolve + case 14: self = .spring2020Noevolve + case 15: self = .summer2020Noevolve + case 16: self = .fall2020Noevolve + case 17: self = .winter2020Noevolve + case 18: self = .notForReleaseAlpha + case 19: self = .notForReleaseBeta + case 20: self = .notForReleaseGamma + case 21: self = .notForReleaseNoevolve + case 22: self = .kanto2020Noevolve + case 23: self = .johto2020Noevolve + case 24: self = .hoenn2020Noevolve + case 25: self = .sinnoh2020Noevolve + case 26: self = .halloween2020Noevolve + case 27: self = .costume1 + case 28: self = .costume2 + case 29: self = .costume3 + case 30: self = .costume4 + case 31: self = .costume5 + case 32: self = .costume6 + case 33: self = .costume7 + case 34: self = .costume8 + case 35: self = .costume9 + case 36: self = .costume10 + case 37: self = .costume1Noevolve + case 38: self = .costume2Noevolve + case 39: self = .costume3Noevolve + case 40: self = .costume4Noevolve + case 41: self = .costume5Noevolve + case 42: self = .costume6Noevolve + case 43: self = .costume7Noevolve + case 44: self = .costume8Noevolve + case 45: self = .costume9Noevolve + case 46: self = .costume10Noevolve + case 47: self = .gofest2021Noevolve + case 48: self = .fashion2021Noevolve + case 49: self = .halloween2021Noevolve + case 50: self = .gems12021Noevolve + case 51: self = .gems22021Noevolve + case 52: self = .holiday2021Noevolve + case 53: self = .tcg2022Noevolve + case 54: self = .jan2022Noevolve + case 55: self = .gofest2022Noevolve + case 56: self = .anniversary2022Noevolve + case 57: self = .fall2022 + case 58: self = .fall2022Noevolve + case 59: self = .holiday2022 + case 60: self = .jan2023Noevolve + case 61: self = .gotour2023BandanaNoevolve + case 62: self = .gotour2023HatNoevolve + case 63: self = .spring2023 + case 64: self = .spring2023Mystic + case 65: self = .spring2023Valor + case 66: self = .spring2023Instinct + case 67: self = .nightcap + case 68: self = .may2023 + case 69: self = .pi + case 70: self = .fall2023 + case 71: self = .fall2023Noevolve + case 72: self = .piNoevolve + case 73: self = .holiday2023 + case 74: self = .jan2024 + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .holiday2016: return 1 + case .anniversary: return 2 + case .oneYearAnniversary: return 3 + case .halloween2017: return 4 + case .summer2018: return 5 + case .fall2018: return 6 + case .november2018: return 7 + case .winter2018: return 8 + case .feb2019: return 9 + case .may2019Noevolve: return 10 + case .jan2020Noevolve: return 11 + case .april2020Noevolve: return 12 + case .safari2020Noevolve: return 13 + case .spring2020Noevolve: return 14 + case .summer2020Noevolve: return 15 + case .fall2020Noevolve: return 16 + case .winter2020Noevolve: return 17 + case .notForReleaseAlpha: return 18 + case .notForReleaseBeta: return 19 + case .notForReleaseGamma: return 20 + case .notForReleaseNoevolve: return 21 + case .kanto2020Noevolve: return 22 + case .johto2020Noevolve: return 23 + case .hoenn2020Noevolve: return 24 + case .sinnoh2020Noevolve: return 25 + case .halloween2020Noevolve: return 26 + case .costume1: return 27 + case .costume2: return 28 + case .costume3: return 29 + case .costume4: return 30 + case .costume5: return 31 + case .costume6: return 32 + case .costume7: return 33 + case .costume8: return 34 + case .costume9: return 35 + case .costume10: return 36 + case .costume1Noevolve: return 37 + case .costume2Noevolve: return 38 + case .costume3Noevolve: return 39 + case .costume4Noevolve: return 40 + case .costume5Noevolve: return 41 + case .costume6Noevolve: return 42 + case .costume7Noevolve: return 43 + case .costume8Noevolve: return 44 + case .costume9Noevolve: return 45 + case .costume10Noevolve: return 46 + case .gofest2021Noevolve: return 47 + case .fashion2021Noevolve: return 48 + case .halloween2021Noevolve: return 49 + case .gems12021Noevolve: return 50 + case .gems22021Noevolve: return 51 + case .holiday2021Noevolve: return 52 + case .tcg2022Noevolve: return 53 + case .jan2022Noevolve: return 54 + case .gofest2022Noevolve: return 55 + case .anniversary2022Noevolve: return 56 + case .fall2022: return 57 + case .fall2022Noevolve: return 58 + case .holiday2022: return 59 + case .jan2023Noevolve: return 60 + case .gotour2023BandanaNoevolve: return 61 + case .gotour2023HatNoevolve: return 62 + case .spring2023: return 63 + case .spring2023Mystic: return 64 + case .spring2023Valor: return 65 + case .spring2023Instinct: return 66 + case .nightcap: return 67 + case .may2023: return 68 + case .pi: return 69 + case .fall2023: return 70 + case .fall2023Noevolve: return 71 + case .piNoevolve: return 72 + case .holiday2023: return 73 + case .jan2024: return 74 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum Form: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case unownA // = 1 + case unownB // = 2 + case unownC // = 3 + case unownD // = 4 + case unownE // = 5 + case unownF // = 6 + case unownG // = 7 + case unownH // = 8 + case unownI // = 9 + case unownJ // = 10 + case unownK // = 11 + case unownL // = 12 + case unownM // = 13 + case unownN // = 14 + case unownO // = 15 + case unownP // = 16 + case unownQ // = 17 + case unownR // = 18 + case unownS // = 19 + case unownT // = 20 + case unownU // = 21 + case unownV // = 22 + case unownW // = 23 + case unownX // = 24 + case unownY // = 25 + case unownZ // = 26 + case unownExclamationPoint // = 27 + case unownQuestionMark // = 28 + case castformNormal // = 29 + case castformSunny // = 30 + case castformRainy // = 31 + case castformSnowy // = 32 + case deoxysNormal // = 33 + case deoxysAttack // = 34 + case deoxysDefense // = 35 + case deoxysSpeed // = 36 + case spinda00 // = 37 + case spinda01 // = 38 + case spinda02 // = 39 + case spinda03 // = 40 + case spinda04 // = 41 + case spinda05 // = 42 + case spinda06 // = 43 + case spinda07 // = 44 + case rattataNormal // = 45 + case rattataAlola // = 46 + case raticateNormal // = 47 + case raticateAlola // = 48 + case raichuNormal // = 49 + case raichuAlola // = 50 + case sandshrewNormal // = 51 + case sandshrewAlola // = 52 + case sandslashNormal // = 53 + case sandslashAlola // = 54 + case vulpixNormal // = 55 + case vulpixAlola // = 56 + case ninetalesNormal // = 57 + case ninetalesAlola // = 58 + case diglettNormal // = 59 + case diglettAlola // = 60 + case dugtrioNormal // = 61 + case dugtrioAlola // = 62 + case meowthNormal // = 63 + case meowthAlola // = 64 + case persianNormal // = 65 + case persianAlola // = 66 + case geodudeNormal // = 67 + case geodudeAlola // = 68 + case gravelerNormal // = 69 + case gravelerAlola // = 70 + case golemNormal // = 71 + case golemAlola // = 72 + case grimerNormal // = 73 + case grimerAlola // = 74 + case mukNormal // = 75 + case mukAlola // = 76 + case exeggutorNormal // = 77 + case exeggutorAlola // = 78 + case marowakNormal // = 79 + case marowakAlola // = 80 + case rotomNormal // = 81 + case rotomFrost // = 82 + case rotomFan // = 83 + case rotomMow // = 84 + case rotomWash // = 85 + case rotomHeat // = 86 + case wormadamPlant // = 87 + case wormadamSandy // = 88 + case wormadamTrash // = 89 + case giratinaAltered // = 90 + case giratinaOrigin // = 91 + case shayminSky // = 92 + case shayminLand // = 93 + case cherrimOvercast // = 94 + case cherrimSunny // = 95 + case shellosWestSea // = 96 + case shellosEastSea // = 97 + case gastrodonWestSea // = 98 + case gastrodonEastSea // = 99 + case arceusNormal // = 100 + case arceusFighting // = 101 + case arceusFlying // = 102 + case arceusPoison // = 103 + case arceusGround // = 104 + case arceusRock // = 105 + case arceusBug // = 106 + case arceusGhost // = 107 + case arceusSteel // = 108 + case arceusFire // = 109 + case arceusWater // = 110 + case arceusGrass // = 111 + case arceusElectric // = 112 + case arceusPsychic // = 113 + case arceusIce // = 114 + case arceusDragon // = 115 + case arceusDark // = 116 + case arceusFairy // = 117 + case burmyPlant // = 118 + case burmySandy // = 119 + case burmyTrash // = 120 + case spinda08 // = 121 + case spinda09 // = 122 + case spinda10 // = 123 + case spinda11 // = 124 + case spinda12 // = 125 + case spinda13 // = 126 + case spinda14 // = 127 + case spinda15 // = 128 + case spinda16 // = 129 + case spinda17 // = 130 + case spinda18 // = 131 + case spinda19 // = 132 + case mewtwoA // = 133 + case mewtwoNormal // = 135 + case basculinRedStriped // = 136 + case basculinBlueStriped // = 137 + case darmanitanStandard // = 138 + case darmanitanZen // = 139 + case tornadusIncarnate // = 140 + case tornadusTherian // = 141 + case thundurusIncarnate // = 142 + case thundurusTherian // = 143 + case landorusIncarnate // = 144 + case landorusTherian // = 145 + case kyuremNormal // = 146 + case kyuremBlack // = 147 + case kyuremWhite // = 148 + case keldeoOrdinary // = 149 + case keldeoResolute // = 150 + case meloettaAria // = 151 + case meloettaPirouette // = 152 + case rattataShadow // = 153 + case rattataPurified // = 154 + case raticateShadow // = 155 + case raticatePurified // = 156 + case zubatNormal // = 157 + case zubatShadow // = 158 + case zubatPurified // = 159 + case golbatNormal // = 160 + case golbatShadow // = 161 + case golbatPurified // = 162 + case bulbasaurNormal // = 163 + case bulbasaurShadow // = 164 + case bulbasaurPurified // = 165 + case ivysaurNormal // = 166 + case ivysaurShadow // = 167 + case ivysaurPurified // = 168 + case venusaurNormal // = 169 + case venusaurShadow // = 170 + case venusaurPurified // = 171 + case charmanderNormal // = 172 + case charmanderShadow // = 173 + case charmanderPurified // = 174 + case charmeleonNormal // = 175 + case charmeleonShadow // = 176 + case charmeleonPurified // = 177 + case charizardNormal // = 178 + case charizardShadow // = 179 + case charizardPurified // = 180 + case squirtleNormal // = 181 + case squirtleShadow // = 182 + case squirtlePurified // = 183 + case wartortleNormal // = 184 + case wartortleShadow // = 185 + case wartortlePurified // = 186 + case blastoiseNormal // = 187 + case blastoiseShadow // = 188 + case blastoisePurified // = 189 + case dratiniNormal // = 190 + case dratiniShadow // = 191 + case dratiniPurified // = 192 + case dragonairNormal // = 193 + case dragonairShadow // = 194 + case dragonairPurified // = 195 + case dragoniteNormal // = 196 + case dragoniteShadow // = 197 + case dragonitePurified // = 198 + case snorlaxNormal // = 199 + case snorlaxShadow // = 200 + case snorlaxPurified // = 201 + case crobatNormal // = 202 + case crobatShadow // = 203 + case crobatPurified // = 204 + case mudkipNormal // = 205 + case mudkipShadow // = 206 + case mudkipPurified // = 207 + case marshtompNormal // = 208 + case marshtompShadow // = 209 + case marshtompPurified // = 210 + case swampertNormal // = 211 + case swampertShadow // = 212 + case swampertPurified // = 213 + case drowzeeNormal // = 214 + case drowzeeShadow // = 215 + case drowzeePurified // = 216 + case hypnoNormal // = 217 + case hypnoShadow // = 218 + case hypnoPurified // = 219 + case grimerShadow // = 220 + case grimerPurified // = 221 + case mukShadow // = 222 + case mukPurified // = 223 + case cuboneNormal // = 224 + case cuboneShadow // = 225 + case cubonePurified // = 226 + case marowakShadow // = 227 + case marowakPurified // = 228 + case houndourNormal // = 229 + case houndourShadow // = 230 + case houndourPurified // = 231 + case houndoomNormal // = 232 + case houndoomShadow // = 233 + case houndoomPurified // = 234 + case poliwagNormal // = 235 + case poliwagShadow // = 236 + case poliwagPurified // = 237 + case poliwhirlNormal // = 238 + case poliwhirlShadow // = 239 + case poliwhirlPurified // = 240 + case poliwrathNormal // = 241 + case poliwrathShadow // = 242 + case poliwrathPurified // = 243 + case politoedNormal // = 244 + case politoedShadow // = 245 + case politoedPurified // = 246 + case scytherNormal // = 247 + case scytherShadow // = 248 + case scytherPurified // = 249 + case scizorNormal // = 250 + case scizorShadow // = 251 + case scizorPurified // = 252 + case magikarpNormal // = 253 + case magikarpShadow // = 254 + case magikarpPurified // = 255 + case gyaradosNormal // = 256 + case gyaradosShadow // = 257 + case gyaradosPurified // = 258 + case venonatNormal // = 259 + case venonatShadow // = 260 + case venonatPurified // = 261 + case venomothNormal // = 262 + case venomothShadow // = 263 + case venomothPurified // = 264 + case oddishNormal // = 265 + case oddishShadow // = 266 + case oddishPurified // = 267 + case gloomNormal // = 268 + case gloomShadow // = 269 + case gloomPurified // = 270 + case vileplumeNormal // = 271 + case vileplumeShadow // = 272 + case vileplumePurified // = 273 + case bellossomNormal // = 274 + case bellossomShadow // = 275 + case bellossomPurified // = 276 + case hitmonchanNormal // = 277 + case hitmonchanShadow // = 278 + case hitmonchanPurified // = 279 + case growlitheNormal // = 280 + case growlitheShadow // = 281 + case growlithePurified // = 282 + case arcanineNormal // = 283 + case arcanineShadow // = 284 + case arcaninePurified // = 285 + case psyduckNormal // = 286 + case psyduckShadow // = 287 + case psyduckPurified // = 288 + case golduckNormal // = 289 + case golduckShadow // = 290 + case golduckPurified // = 291 + case raltsNormal // = 292 + case raltsShadow // = 293 + case raltsPurified // = 294 + case kirliaNormal // = 295 + case kirliaShadow // = 296 + case kirliaPurified // = 297 + case gardevoirNormal // = 298 + case gardevoirShadow // = 299 + case gardevoirPurified // = 300 + case galladeNormal // = 301 + case galladeShadow // = 302 + case galladePurified // = 303 + case abraNormal // = 304 + case abraShadow // = 305 + case abraPurified // = 306 + case kadabraNormal // = 307 + case kadabraShadow // = 308 + case kadabraPurified // = 309 + case alakazamNormal // = 310 + case alakazamShadow // = 311 + case alakazamPurified // = 312 + case larvitarNormal // = 313 + case larvitarShadow // = 314 + case larvitarPurified // = 315 + case pupitarNormal // = 316 + case pupitarShadow // = 317 + case pupitarPurified // = 318 + case tyranitarNormal // = 319 + case tyranitarShadow // = 320 + case tyranitarPurified // = 321 + case laprasNormal // = 322 + case laprasShadow // = 323 + case laprasPurified // = 324 + case deerlingSpring // = 585 + case deerlingSummer // = 586 + case deerlingAutumn // = 587 + case deerlingWinter // = 588 + case sawsbuckSpring // = 589 + case sawsbuckSummer // = 590 + case sawsbuckAutumn // = 591 + case sawsbuckWinter // = 592 + case genesectNormal // = 593 + case genesectShock // = 594 + case genesectBurn // = 595 + case genesectChill // = 596 + case genesectDouse // = 597 + case pikachuNormal // = 598 + case wurmpleNormal // = 600 + case wobbuffetNormal // = 602 + case cacneaNormal // = 610 + case cacneaShadow // = 611 + case cacneaPurified // = 612 + case cacturneNormal // = 613 + case cacturneShadow // = 614 + case cacturnePurified // = 615 + case weedleNormal // = 616 + case weedleShadow // = 617 + case weedlePurified // = 618 + case kakunaNormal // = 619 + case kakunaShadow // = 620 + case kakunaPurified // = 621 + case beedrillNormal // = 622 + case beedrillShadow // = 623 + case beedrillPurified // = 624 + case seedotNormal // = 625 + case seedotShadow // = 626 + case seedotPurified // = 627 + case nuzleafNormal // = 628 + case nuzleafShadow // = 629 + case nuzleafPurified // = 630 + case shiftryNormal // = 631 + case shiftryShadow // = 632 + case shiftryPurified // = 633 + case magmarNormal // = 634 + case magmarShadow // = 635 + case magmarPurified // = 636 + case magmortarNormal // = 637 + case magmortarShadow // = 638 + case magmortarPurified // = 639 + case electabuzzNormal // = 640 + case electabuzzShadow // = 641 + case electabuzzPurified // = 642 + case electivireNormal // = 643 + case electivireShadow // = 644 + case electivirePurified // = 645 + case mareepNormal // = 646 + case mareepShadow // = 647 + case mareepPurified // = 648 + case flaaffyNormal // = 649 + case flaaffyShadow // = 650 + case flaaffyPurified // = 651 + case ampharosNormal // = 652 + case ampharosShadow // = 653 + case ampharosPurified // = 654 + case magnemiteNormal // = 655 + case magnemiteShadow // = 656 + case magnemitePurified // = 657 + case magnetonNormal // = 658 + case magnetonShadow // = 659 + case magnetonPurified // = 660 + case magnezoneNormal // = 661 + case magnezoneShadow // = 662 + case magnezonePurified // = 663 + case bellsproutNormal // = 664 + case bellsproutShadow // = 665 + case bellsproutPurified // = 666 + case weepinbellNormal // = 667 + case weepinbellShadow // = 668 + case weepinbellPurified // = 669 + case victreebelNormal // = 670 + case victreebelShadow // = 671 + case victreebelPurified // = 672 + case sandshrewShadow // = 673 + case sandshrewPurified // = 674 + case sandslashShadow // = 675 + case sandslashPurified // = 676 + case porygonNormal // = 677 + case porygonShadow // = 678 + case porygonPurified // = 679 + case porygon2Normal // = 680 + case porygon2Shadow // = 681 + case porygon2Purified // = 682 + case porygonZNormal // = 683 + case porygonZShadow // = 684 + case porygonZPurified // = 685 + case wobbuffetShadow // = 686 + case wobbuffetPurified // = 687 + case turtwigNormal // = 688 + case turtwigShadow // = 689 + case turtwigPurified // = 690 + case grotleNormal // = 691 + case grotleShadow // = 692 + case grotlePurified // = 693 + case torterraNormal // = 694 + case torterraShadow // = 695 + case torterraPurified // = 696 + case ekansNormal // = 697 + case ekansShadow // = 698 + case ekansPurified // = 699 + case arbokNormal // = 700 + case arbokShadow // = 701 + case arbokPurified // = 702 + case koffingNormal // = 703 + case koffingShadow // = 704 + case koffingPurified // = 705 + case weezingNormal // = 706 + case weezingShadow // = 707 + case weezingPurified // = 708 + case meowthShadow // = 709 + case meowthPurified // = 710 + case persianShadow // = 711 + case persianPurified // = 712 + case hitmonleeNormal // = 713 + case hitmonleeShadow // = 714 + case hitmonleePurified // = 715 + case articunoNormal // = 716 + case articunoShadow // = 717 + case articunoPurified // = 718 + case misdreavusNormal // = 719 + case misdreavusShadow // = 720 + case misdreavusPurified // = 721 + case mismagiusNormal // = 722 + case mismagiusShadow // = 723 + case mismagiusPurified // = 724 + case vulpixShadow // = 725 + case vulpixPurified // = 726 + case ninetalesShadow // = 727 + case ninetalesPurified // = 728 + case exeggcuteNormal // = 729 + case exeggcuteShadow // = 730 + case exeggcutePurified // = 731 + case exeggutorShadow // = 732 + case exeggutorPurified // = 733 + case carvanhaNormal // = 734 + case carvanhaShadow // = 735 + case carvanhaPurified // = 736 + case sharpedoNormal // = 737 + case sharpedoShadow // = 738 + case sharpedoPurified // = 739 + case omanyteNormal // = 740 + case omanyteShadow // = 741 + case omanytePurified // = 742 + case omastarNormal // = 743 + case omastarShadow // = 744 + case omastarPurified // = 745 + case trapinchNormal // = 746 + case trapinchShadow // = 747 + case trapinchPurified // = 748 + case vibravaNormal // = 749 + case vibravaShadow // = 750 + case vibravaPurified // = 751 + case flygonNormal // = 752 + case flygonShadow // = 753 + case flygonPurified // = 754 + case bagonNormal // = 755 + case bagonShadow // = 756 + case bagonPurified // = 757 + case shelgonNormal // = 758 + case shelgonShadow // = 759 + case shelgonPurified // = 760 + case salamenceNormal // = 761 + case salamenceShadow // = 762 + case salamencePurified // = 763 + case beldumNormal // = 764 + case beldumShadow // = 765 + case beldumPurified // = 766 + case metangNormal // = 767 + case metangShadow // = 768 + case metangPurified // = 769 + case metagrossNormal // = 770 + case metagrossShadow // = 771 + case metagrossPurified // = 772 + case zapdosNormal // = 773 + case zapdosShadow // = 774 + case zapdosPurified // = 775 + case nidoranNormal // = 776 + case nidoranShadow // = 777 + case nidoranPurified // = 778 + case nidorinaNormal // = 779 + case nidorinaShadow // = 780 + case nidorinaPurified // = 781 + case nidoqueenNormal // = 782 + case nidoqueenShadow // = 783 + case nidoqueenPurified // = 784 + case nidorinoNormal // = 785 + case nidorinoShadow // = 786 + case nidorinoPurified // = 787 + case nidokingNormal // = 788 + case nidokingShadow // = 789 + case nidokingPurified // = 790 + case stunkyNormal // = 791 + case stunkyShadow // = 792 + case stunkyPurified // = 793 + case skuntankNormal // = 794 + case skuntankShadow // = 795 + case skuntankPurified // = 796 + case sneaselNormal // = 797 + case sneaselShadow // = 798 + case sneaselPurified // = 799 + case weavileNormal // = 800 + case weavileShadow // = 801 + case weavilePurified // = 802 + case gligarNormal // = 803 + case gligarShadow // = 804 + case gligarPurified // = 805 + case gliscorNormal // = 806 + case gliscorShadow // = 807 + case gliscorPurified // = 808 + case machopNormal // = 809 + case machopShadow // = 810 + case machopPurified // = 811 + case machokeNormal // = 812 + case machokeShadow // = 813 + case machokePurified // = 814 + case machampNormal // = 815 + case machampShadow // = 816 + case machampPurified // = 817 + case chimcharNormal // = 818 + case chimcharShadow // = 819 + case chimcharPurified // = 820 + case monfernoNormal // = 821 + case monfernoShadow // = 822 + case monfernoPurified // = 823 + case infernapeNormal // = 824 + case infernapeShadow // = 825 + case infernapePurified // = 826 + case shuckleNormal // = 827 + case shuckleShadow // = 828 + case shucklePurified // = 829 + case absolNormal // = 830 + case absolShadow // = 831 + case absolPurified // = 832 + case mawileNormal // = 833 + case mawileShadow // = 834 + case mawilePurified // = 835 + case moltresNormal // = 836 + case moltresShadow // = 837 + case moltresPurified // = 838 + case kangaskhanNormal // = 839 + case kangaskhanShadow // = 840 + case kangaskhanPurified // = 841 + case diglettShadow // = 842 + case diglettPurified // = 843 + case dugtrioShadow // = 844 + case dugtrioPurified // = 845 + case rhyhornNormal // = 846 + case rhyhornShadow // = 847 + case rhyhornPurified // = 848 + case rhydonNormal // = 849 + case rhydonShadow // = 850 + case rhydonPurified // = 851 + case rhyperiorNormal // = 852 + case rhyperiorShadow // = 853 + case rhyperiorPurified // = 854 + case murkrowNormal // = 855 + case murkrowShadow // = 856 + case murkrowPurified // = 857 + case honchkrowNormal // = 858 + case honchkrowShadow // = 859 + case honchkrowPurified // = 860 + case gibleNormal // = 861 + case gibleShadow // = 862 + case giblePurified // = 863 + case gabiteNormal // = 864 + case gabiteShadow // = 865 + case gabitePurified // = 866 + case garchompNormal // = 867 + case garchompShadow // = 868 + case garchompPurified // = 869 + case krabbyNormal // = 870 + case krabbyShadow // = 871 + case krabbyPurified // = 872 + case kinglerNormal // = 873 + case kinglerShadow // = 874 + case kinglerPurified // = 875 + case shellderNormal // = 876 + case shellderShadow // = 877 + case shellderPurified // = 878 + case cloysterNormal // = 879 + case cloysterShadow // = 880 + case cloysterPurified // = 881 + case geodudeShadow // = 882 + case geodudePurified // = 883 + case gravelerShadow // = 884 + case gravelerPurified // = 885 + case golemShadow // = 886 + case golemPurified // = 887 + case hippopotasNormal // = 888 + case hippopotasShadow // = 889 + case hippopotasPurified // = 890 + case hippowdonNormal // = 891 + case hippowdonShadow // = 892 + case hippowdonPurified // = 893 + case pikachuFall2019 // = 894 + case squirtleFall2019 // = 895 + case charmanderFall2019 // = 896 + case bulbasaurFall2019 // = 897 + case pinsirNormal // = 898 + case pinsirShadow // = 899 + case pinsirPurified // = 900 + case pikachuVs2019 // = 901 + case onixNormal // = 902 + case onixShadow // = 903 + case onixPurified // = 904 + case steelixNormal // = 905 + case steelixShadow // = 906 + case steelixPurified // = 907 + case shuppetNormal // = 908 + case shuppetShadow // = 909 + case shuppetPurified // = 910 + case banetteNormal // = 911 + case banetteShadow // = 912 + case banettePurified // = 913 + case duskullNormal // = 914 + case duskullShadow // = 915 + case duskullPurified // = 916 + case dusclopsNormal // = 917 + case dusclopsShadow // = 918 + case dusclopsPurified // = 919 + case dusknoirNormal // = 920 + case dusknoirShadow // = 921 + case dusknoirPurified // = 922 + case sableyeNormal // = 923 + case sableyeShadow // = 924 + case sableyePurified // = 925 + case snoruntNormal // = 926 + case snoruntShadow // = 927 + case snoruntPurified // = 928 + case glalieNormal // = 929 + case glalieShadow // = 930 + case glaliePurified // = 931 + case snoverNormal // = 932 + case snoverShadow // = 933 + case snoverPurified // = 934 + case abomasnowNormal // = 935 + case abomasnowShadow // = 936 + case abomasnowPurified // = 937 + case delibirdNormal // = 938 + case delibirdShadow // = 939 + case delibirdPurified // = 940 + case stantlerNormal // = 941 + case stantlerShadow // = 942 + case stantlerPurified // = 943 + case weezingGalarian // = 944 + case zigzagoonNormal // = 945 + case zigzagoonGalarian // = 946 + case linooneNormal // = 947 + case linooneGalarian // = 948 + case pikachuCopy2019 // = 949 + case venusaurCopy2019 // = 950 + case charizardCopy2019 // = 951 + case blastoiseCopy2019 // = 952 + case caterpieNormal // = 953 + case caterpieShadow // = 954 + case caterpiePurified // = 955 + case metapodNormal // = 956 + case metapodShadow // = 957 + case metapodPurified // = 958 + case butterfreeNormal // = 959 + case butterfreeShadow // = 960 + case butterfreePurified // = 961 + case pidgeyNormal // = 962 + case pidgeyShadow // = 963 + case pidgeyPurified // = 964 + case pidgeottoNormal // = 965 + case pidgeottoShadow // = 966 + case pidgeottoPurified // = 967 + case pidgeotNormal // = 968 + case pidgeotShadow // = 969 + case pidgeotPurified // = 970 + case spearowNormal // = 971 + case spearowShadow // = 972 + case spearowPurified // = 973 + case fearowNormal // = 974 + case fearowShadow // = 975 + case fearowPurified // = 976 + case pikachuShadow // = 977 + case pikachuPurified // = 978 + case raichuShadow // = 979 + case raichuPurified // = 980 + case clefairyNormal // = 981 + case clefairyShadow // = 982 + case clefairyPurified // = 983 + case clefableNormal // = 984 + case clefableShadow // = 985 + case clefablePurified // = 986 + case jigglypuffNormal // = 987 + case jigglypuffShadow // = 988 + case jigglypuffPurified // = 989 + case wigglytuffNormal // = 990 + case wigglytuffShadow // = 991 + case wigglytuffPurified // = 992 + case parasNormal // = 993 + case parasShadow // = 994 + case parasPurified // = 995 + case parasectNormal // = 996 + case parasectShadow // = 997 + case parasectPurified // = 998 + case mankeyNormal // = 999 + case mankeyShadow // = 1000 + case mankeyPurified // = 1001 + case primeapeNormal // = 1002 + case primeapeShadow // = 1003 + case primeapePurified // = 1004 + case tentacoolNormal // = 1005 + case tentacoolShadow // = 1006 + case tentacoolPurified // = 1007 + case tentacruelNormal // = 1008 + case tentacruelShadow // = 1009 + case tentacruelPurified // = 1010 + case ponytaNormal // = 1011 + case ponytaShadow // = 1012 + case ponytaPurified // = 1013 + case rapidashNormal // = 1014 + case rapidashShadow // = 1015 + case rapidashPurified // = 1016 + case slowpokeNormal // = 1017 + case slowpokeShadow // = 1018 + case slowpokePurified // = 1019 + case slowbroNormal // = 1020 + case slowbroShadow // = 1021 + case slowbroPurified // = 1022 + case farfetchdNormal // = 1023 + case farfetchdShadow // = 1024 + case farfetchdPurified // = 1025 + case doduoNormal // = 1026 + case doduoShadow // = 1027 + case doduoPurified // = 1028 + case dodrioNormal // = 1029 + case dodrioShadow // = 1030 + case dodrioPurified // = 1031 + case seelNormal // = 1032 + case seelShadow // = 1033 + case seelPurified // = 1034 + case dewgongNormal // = 1035 + case dewgongShadow // = 1036 + case dewgongPurified // = 1037 + case gastlyNormal // = 1038 + case gastlyShadow // = 1039 + case gastlyPurified // = 1040 + case haunterNormal // = 1041 + case haunterShadow // = 1042 + case haunterPurified // = 1043 + case gengarNormal // = 1044 + case gengarShadow // = 1045 + case gengarPurified // = 1046 + case voltorbNormal // = 1047 + case voltorbShadow // = 1048 + case voltorbPurified // = 1049 + case electrodeNormal // = 1050 + case electrodeShadow // = 1051 + case electrodePurified // = 1052 + case lickitungNormal // = 1053 + case lickitungShadow // = 1054 + case lickitungPurified // = 1055 + case chanseyNormal // = 1056 + case chanseyShadow // = 1057 + case chanseyPurified // = 1058 + case tangelaNormal // = 1059 + case tangelaShadow // = 1060 + case tangelaPurified // = 1061 + case horseaNormal // = 1062 + case horseaShadow // = 1063 + case horseaPurified // = 1064 + case seadraNormal // = 1065 + case seadraShadow // = 1066 + case seadraPurified // = 1067 + case goldeenNormal // = 1068 + case goldeenShadow // = 1069 + case goldeenPurified // = 1070 + case seakingNormal // = 1071 + case seakingShadow // = 1072 + case seakingPurified // = 1073 + case staryuNormal // = 1074 + case staryuShadow // = 1075 + case staryuPurified // = 1076 + case starmieNormal // = 1077 + case starmieShadow // = 1078 + case starmiePurified // = 1079 + case mrMimeNormal // = 1080 + case mrMimeShadow // = 1081 + case mrMimePurified // = 1082 + case jynxNormal // = 1083 + case jynxShadow // = 1084 + case jynxPurified // = 1085 + case taurosNormal // = 1086 + case taurosShadow // = 1087 + case taurosPurified // = 1088 + case dittoNormal // = 1089 + case dittoShadow // = 1090 + case dittoPurified // = 1091 + case eeveeNormal // = 1092 + case eeveeShadow // = 1093 + case eeveePurified // = 1094 + case vaporeonNormal // = 1095 + case vaporeonShadow // = 1096 + case vaporeonPurified // = 1097 + case jolteonNormal // = 1098 + case jolteonShadow // = 1099 + case jolteonPurified // = 1100 + case flareonNormal // = 1101 + case flareonShadow // = 1102 + case flareonPurified // = 1103 + case kabutoNormal // = 1104 + case kabutoShadow // = 1105 + case kabutoPurified // = 1106 + case kabutopsNormal // = 1107 + case kabutopsShadow // = 1108 + case kabutopsPurified // = 1109 + case aerodactylNormal // = 1110 + case aerodactylShadow // = 1111 + case aerodactylPurified // = 1112 + case mewtwoShadow // = 1113 + case mewtwoPurified // = 1114 + case mewNormal // = 1115 + case mewShadow // = 1116 + case mewPurified // = 1117 + case chikoritaNormal // = 1118 + case chikoritaShadow // = 1119 + case chikoritaPurified // = 1120 + case bayleefNormal // = 1121 + case bayleefShadow // = 1122 + case bayleefPurified // = 1123 + case meganiumNormal // = 1124 + case meganiumShadow // = 1125 + case meganiumPurified // = 1126 + case cyndaquilNormal // = 1127 + case cyndaquilShadow // = 1128 + case cyndaquilPurified // = 1129 + case quilavaNormal // = 1130 + case quilavaShadow // = 1131 + case quilavaPurified // = 1132 + case typhlosionNormal // = 1133 + case typhlosionShadow // = 1134 + case typhlosionPurified // = 1135 + case totodileNormal // = 1136 + case totodileShadow // = 1137 + case totodilePurified // = 1138 + case croconawNormal // = 1139 + case croconawShadow // = 1140 + case croconawPurified // = 1141 + case feraligatrNormal // = 1142 + case feraligatrShadow // = 1143 + case feraligatrPurified // = 1144 + case sentretNormal // = 1145 + case sentretShadow // = 1146 + case sentretPurified // = 1147 + case furretNormal // = 1148 + case furretShadow // = 1149 + case furretPurified // = 1150 + case hoothootNormal // = 1151 + case hoothootShadow // = 1152 + case hoothootPurified // = 1153 + case noctowlNormal // = 1154 + case noctowlShadow // = 1155 + case noctowlPurified // = 1156 + case ledybaNormal // = 1157 + case ledybaShadow // = 1158 + case ledybaPurified // = 1159 + case ledianNormal // = 1160 + case ledianShadow // = 1161 + case ledianPurified // = 1162 + case spinarakNormal // = 1163 + case spinarakShadow // = 1164 + case spinarakPurified // = 1165 + case ariadosNormal // = 1166 + case ariadosShadow // = 1167 + case ariadosPurified // = 1168 + case chinchouNormal // = 1169 + case chinchouShadow // = 1170 + case chinchouPurified // = 1171 + case lanturnNormal // = 1172 + case lanturnShadow // = 1173 + case lanturnPurified // = 1174 + case pichuNormal // = 1175 + case pichuShadow // = 1176 + case pichuPurified // = 1177 + case cleffaNormal // = 1178 + case cleffaShadow // = 1179 + case cleffaPurified // = 1180 + case igglybuffNormal // = 1181 + case igglybuffShadow // = 1182 + case igglybuffPurified // = 1183 + case togepiNormal // = 1184 + case togepiShadow // = 1185 + case togepiPurified // = 1186 + case togeticNormal // = 1187 + case togeticShadow // = 1188 + case togeticPurified // = 1189 + case natuNormal // = 1190 + case natuShadow // = 1191 + case natuPurified // = 1192 + case xatuNormal // = 1193 + case xatuShadow // = 1194 + case xatuPurified // = 1195 + case marillNormal // = 1196 + case marillShadow // = 1197 + case marillPurified // = 1198 + case azumarillNormal // = 1199 + case azumarillShadow // = 1200 + case azumarillPurified // = 1201 + case sudowoodoNormal // = 1202 + case sudowoodoShadow // = 1203 + case sudowoodoPurified // = 1204 + case hoppipNormal // = 1205 + case hoppipShadow // = 1206 + case hoppipPurified // = 1207 + case skiploomNormal // = 1208 + case skiploomShadow // = 1209 + case skiploomPurified // = 1210 + case jumpluffNormal // = 1211 + case jumpluffShadow // = 1212 + case jumpluffPurified // = 1213 + case aipomNormal // = 1214 + case aipomShadow // = 1215 + case aipomPurified // = 1216 + case sunkernNormal // = 1217 + case sunkernShadow // = 1218 + case sunkernPurified // = 1219 + case sunfloraNormal // = 1220 + case sunfloraShadow // = 1221 + case sunfloraPurified // = 1222 + case yanmaNormal // = 1223 + case yanmaShadow // = 1224 + case yanmaPurified // = 1225 + case wooperNormal // = 1226 + case wooperShadow // = 1227 + case wooperPurified // = 1228 + case quagsireNormal // = 1229 + case quagsireShadow // = 1230 + case quagsirePurified // = 1231 + case espeonNormal // = 1232 + case espeonShadow // = 1233 + case espeonPurified // = 1234 + case umbreonNormal // = 1235 + case umbreonShadow // = 1236 + case umbreonPurified // = 1237 + case slowkingNormal // = 1238 + case slowkingShadow // = 1239 + case slowkingPurified // = 1240 + case girafarigNormal // = 1241 + case girafarigShadow // = 1242 + case girafarigPurified // = 1243 + case pinecoNormal // = 1244 + case pinecoShadow // = 1245 + case pinecoPurified // = 1246 + case forretressNormal // = 1247 + case forretressShadow // = 1248 + case forretressPurified // = 1249 + case dunsparceNormal // = 1250 + case dunsparceShadow // = 1251 + case dunsparcePurified // = 1252 + case snubbullNormal // = 1253 + case snubbullShadow // = 1254 + case snubbullPurified // = 1255 + case granbullNormal // = 1256 + case granbullShadow // = 1257 + case granbullPurified // = 1258 + case qwilfishNormal // = 1259 + case qwilfishShadow // = 1260 + case qwilfishPurified // = 1261 + case heracrossNormal // = 1262 + case heracrossShadow // = 1263 + case heracrossPurified // = 1264 + case teddiursaNormal // = 1265 + case teddiursaShadow // = 1266 + case teddiursaPurified // = 1267 + case ursaringNormal // = 1268 + case ursaringShadow // = 1269 + case ursaringPurified // = 1270 + case slugmaNormal // = 1271 + case slugmaShadow // = 1272 + case slugmaPurified // = 1273 + case magcargoNormal // = 1274 + case magcargoShadow // = 1275 + case magcargoPurified // = 1276 + case swinubNormal // = 1277 + case swinubShadow // = 1278 + case swinubPurified // = 1279 + case piloswineNormal // = 1280 + case piloswineShadow // = 1281 + case piloswinePurified // = 1282 + case corsolaNormal // = 1283 + case corsolaShadow // = 1284 + case corsolaPurified // = 1285 + case remoraidNormal // = 1286 + case remoraidShadow // = 1287 + case remoraidPurified // = 1288 + case octilleryNormal // = 1289 + case octilleryShadow // = 1290 + case octilleryPurified // = 1291 + case mantineNormal // = 1292 + case mantineShadow // = 1293 + case mantinePurified // = 1294 + case skarmoryNormal // = 1295 + case skarmoryShadow // = 1296 + case skarmoryPurified // = 1297 + case kingdraNormal // = 1298 + case kingdraShadow // = 1299 + case kingdraPurified // = 1300 + case phanpyNormal // = 1301 + case phanpyShadow // = 1302 + case phanpyPurified // = 1303 + case donphanNormal // = 1304 + case donphanShadow // = 1305 + case donphanPurified // = 1306 + case smeargleNormal // = 1307 + case smeargleShadow // = 1308 + case smearglePurified // = 1309 + case tyrogueNormal // = 1310 + case tyrogueShadow // = 1311 + case tyroguePurified // = 1312 + case hitmontopNormal // = 1313 + case hitmontopShadow // = 1314 + case hitmontopPurified // = 1315 + case smoochumNormal // = 1316 + case smoochumShadow // = 1317 + case smoochumPurified // = 1318 + case elekidNormal // = 1319 + case elekidShadow // = 1320 + case elekidPurified // = 1321 + case magbyNormal // = 1322 + case magbyShadow // = 1323 + case magbyPurified // = 1324 + case miltankNormal // = 1325 + case miltankShadow // = 1326 + case miltankPurified // = 1327 + case blisseyNormal // = 1328 + case blisseyShadow // = 1329 + case blisseyPurified // = 1330 + case raikouNormal // = 1331 + case raikouShadow // = 1332 + case raikouPurified // = 1333 + case enteiNormal // = 1334 + case enteiShadow // = 1335 + case enteiPurified // = 1336 + case suicuneNormal // = 1337 + case suicuneShadow // = 1338 + case suicunePurified // = 1339 + case lugiaNormal // = 1340 + case lugiaShadow // = 1341 + case lugiaPurified // = 1342 + case hoOhNormal // = 1343 + case hoOhShadow // = 1344 + case hoOhPurified // = 1345 + case celebiNormal // = 1346 + case celebiShadow // = 1347 + case celebiPurified // = 1348 + case treeckoNormal // = 1349 + case treeckoShadow // = 1350 + case treeckoPurified // = 1351 + case grovyleNormal // = 1352 + case grovyleShadow // = 1353 + case grovylePurified // = 1354 + case sceptileNormal // = 1355 + case sceptileShadow // = 1356 + case sceptilePurified // = 1357 + case torchicNormal // = 1358 + case torchicShadow // = 1359 + case torchicPurified // = 1360 + case combuskenNormal // = 1361 + case combuskenShadow // = 1362 + case combuskenPurified // = 1363 + case blazikenNormal // = 1364 + case blazikenShadow // = 1365 + case blazikenPurified // = 1366 + case poochyenaNormal // = 1367 + case poochyenaShadow // = 1368 + case poochyenaPurified // = 1369 + case mightyenaNormal // = 1370 + case mightyenaShadow // = 1371 + case mightyenaPurified // = 1372 + case zigzagoonShadow // = 1373 + case zigzagoonPurified // = 1374 + case linooneShadow // = 1375 + case linoonePurified // = 1376 + case wurmpleShadow // = 1377 + case wurmplePurified // = 1378 + case silcoonNormal // = 1379 + case silcoonShadow // = 1380 + case silcoonPurified // = 1381 + case beautiflyNormal // = 1382 + case beautiflyShadow // = 1383 + case beautiflyPurified // = 1384 + case cascoonNormal // = 1385 + case cascoonShadow // = 1386 + case cascoonPurified // = 1387 + case dustoxNormal // = 1388 + case dustoxShadow // = 1389 + case dustoxPurified // = 1390 + case lotadNormal // = 1391 + case lotadShadow // = 1392 + case lotadPurified // = 1393 + case lombreNormal // = 1394 + case lombreShadow // = 1395 + case lombrePurified // = 1396 + case ludicoloNormal // = 1397 + case ludicoloShadow // = 1398 + case ludicoloPurified // = 1399 + case taillowNormal // = 1400 + case taillowShadow // = 1401 + case taillowPurified // = 1402 + case swellowNormal // = 1403 + case swellowShadow // = 1404 + case swellowPurified // = 1405 + case wingullNormal // = 1406 + case wingullShadow // = 1407 + case wingullPurified // = 1408 + case pelipperNormal // = 1409 + case pelipperShadow // = 1410 + case pelipperPurified // = 1411 + case surskitNormal // = 1412 + case surskitShadow // = 1413 + case surskitPurified // = 1414 + case masquerainNormal // = 1415 + case masquerainShadow // = 1416 + case masquerainPurified // = 1417 + case shroomishNormal // = 1418 + case shroomishShadow // = 1419 + case shroomishPurified // = 1420 + case breloomNormal // = 1421 + case breloomShadow // = 1422 + case breloomPurified // = 1423 + case slakothNormal // = 1424 + case slakothShadow // = 1425 + case slakothPurified // = 1426 + case vigorothNormal // = 1427 + case vigorothShadow // = 1428 + case vigorothPurified // = 1429 + case slakingNormal // = 1430 + case slakingShadow // = 1431 + case slakingPurified // = 1432 + case nincadaNormal // = 1433 + case nincadaShadow // = 1434 + case nincadaPurified // = 1435 + case ninjaskNormal // = 1436 + case ninjaskShadow // = 1437 + case ninjaskPurified // = 1438 + case shedinjaNormal // = 1439 + case shedinjaShadow // = 1440 + case shedinjaPurified // = 1441 + case whismurNormal // = 1442 + case whismurShadow // = 1443 + case whismurPurified // = 1444 + case loudredNormal // = 1445 + case loudredShadow // = 1446 + case loudredPurified // = 1447 + case exploudNormal // = 1448 + case exploudShadow // = 1449 + case exploudPurified // = 1450 + case makuhitaNormal // = 1451 + case makuhitaShadow // = 1452 + case makuhitaPurified // = 1453 + case hariyamaNormal // = 1454 + case hariyamaShadow // = 1455 + case hariyamaPurified // = 1456 + case azurillNormal // = 1457 + case azurillShadow // = 1458 + case azurillPurified // = 1459 + case nosepassNormal // = 1460 + case nosepassShadow // = 1461 + case nosepassPurified // = 1462 + case skittyNormal // = 1463 + case skittyShadow // = 1464 + case skittyPurified // = 1465 + case delcattyNormal // = 1466 + case delcattyShadow // = 1467 + case delcattyPurified // = 1468 + case aronNormal // = 1469 + case aronShadow // = 1470 + case aronPurified // = 1471 + case laironNormal // = 1472 + case laironShadow // = 1473 + case laironPurified // = 1474 + case aggronNormal // = 1475 + case aggronShadow // = 1476 + case aggronPurified // = 1477 + case medititeNormal // = 1478 + case medititeShadow // = 1479 + case medititePurified // = 1480 + case medichamNormal // = 1481 + case medichamShadow // = 1482 + case medichamPurified // = 1483 + case electrikeNormal // = 1484 + case electrikeShadow // = 1485 + case electrikePurified // = 1486 + case manectricNormal // = 1487 + case manectricShadow // = 1488 + case manectricPurified // = 1489 + case plusleNormal // = 1490 + case plusleShadow // = 1491 + case pluslePurified // = 1492 + case minunNormal // = 1493 + case minunShadow // = 1494 + case minunPurified // = 1495 + case volbeatNormal // = 1496 + case volbeatShadow // = 1497 + case volbeatPurified // = 1498 + case illumiseNormal // = 1499 + case illumiseShadow // = 1500 + case illumisePurified // = 1501 + case roseliaNormal // = 1502 + case roseliaShadow // = 1503 + case roseliaPurified // = 1504 + case gulpinNormal // = 1505 + case gulpinShadow // = 1506 + case gulpinPurified // = 1507 + case swalotNormal // = 1508 + case swalotShadow // = 1509 + case swalotPurified // = 1510 + case wailmerNormal // = 1511 + case wailmerShadow // = 1512 + case wailmerPurified // = 1513 + case wailordNormal // = 1514 + case wailordShadow // = 1515 + case wailordPurified // = 1516 + case numelNormal // = 1517 + case numelShadow // = 1518 + case numelPurified // = 1519 + case cameruptNormal // = 1520 + case cameruptShadow // = 1521 + case cameruptPurified // = 1522 + case torkoalNormal // = 1523 + case torkoalShadow // = 1524 + case torkoalPurified // = 1525 + case spoinkNormal // = 1526 + case spoinkShadow // = 1527 + case spoinkPurified // = 1528 + case grumpigNormal // = 1529 + case grumpigShadow // = 1530 + case grumpigPurified // = 1531 + case swabluNormal // = 1532 + case swabluShadow // = 1533 + case swabluPurified // = 1534 + case altariaNormal // = 1535 + case altariaShadow // = 1536 + case altariaPurified // = 1537 + case zangooseNormal // = 1538 + case zangooseShadow // = 1539 + case zangoosePurified // = 1540 + case seviperNormal // = 1541 + case seviperShadow // = 1542 + case seviperPurified // = 1543 + case lunatoneNormal // = 1544 + case lunatoneShadow // = 1545 + case lunatonePurified // = 1546 + case solrockNormal // = 1547 + case solrockShadow // = 1548 + case solrockPurified // = 1549 + case barboachNormal // = 1550 + case barboachShadow // = 1551 + case barboachPurified // = 1552 + case whiscashNormal // = 1553 + case whiscashShadow // = 1554 + case whiscashPurified // = 1555 + case corphishNormal // = 1556 + case corphishShadow // = 1557 + case corphishPurified // = 1558 + case crawdauntNormal // = 1559 + case crawdauntShadow // = 1560 + case crawdauntPurified // = 1561 + case baltoyNormal // = 1562 + case baltoyShadow // = 1563 + case baltoyPurified // = 1564 + case claydolNormal // = 1565 + case claydolShadow // = 1566 + case claydolPurified // = 1567 + case lileepNormal // = 1568 + case lileepShadow // = 1569 + case lileepPurified // = 1570 + case cradilyNormal // = 1571 + case cradilyShadow // = 1572 + case cradilyPurified // = 1573 + case anorithNormal // = 1574 + case anorithShadow // = 1575 + case anorithPurified // = 1576 + case armaldoNormal // = 1577 + case armaldoShadow // = 1578 + case armaldoPurified // = 1579 + case feebasNormal // = 1580 + case feebasShadow // = 1581 + case feebasPurified // = 1582 + case miloticNormal // = 1583 + case miloticShadow // = 1584 + case miloticPurified // = 1585 + case kecleonNormal // = 1586 + case kecleonShadow // = 1587 + case kecleonPurified // = 1588 + case tropiusNormal // = 1589 + case tropiusShadow // = 1590 + case tropiusPurified // = 1591 + case chimechoNormal // = 1592 + case chimechoShadow // = 1593 + case chimechoPurified // = 1594 + case wynautNormal // = 1595 + case wynautShadow // = 1596 + case wynautPurified // = 1597 + case sphealNormal // = 1598 + case sphealShadow // = 1599 + case sphealPurified // = 1600 + case sealeoNormal // = 1601 + case sealeoShadow // = 1602 + case sealeoPurified // = 1603 + case walreinNormal // = 1604 + case walreinShadow // = 1605 + case walreinPurified // = 1606 + case clamperlNormal // = 1607 + case clamperlShadow // = 1608 + case clamperlPurified // = 1609 + case huntailNormal // = 1610 + case huntailShadow // = 1611 + case huntailPurified // = 1612 + case gorebyssNormal // = 1613 + case gorebyssShadow // = 1614 + case gorebyssPurified // = 1615 + case relicanthNormal // = 1616 + case relicanthShadow // = 1617 + case relicanthPurified // = 1618 + case luvdiscNormal // = 1619 + case luvdiscShadow // = 1620 + case luvdiscPurified // = 1621 + case regirockNormal // = 1622 + case regirockShadow // = 1623 + case regirockPurified // = 1624 + case regiceNormal // = 1625 + case regiceShadow // = 1626 + case regicePurified // = 1627 + case registeelNormal // = 1628 + case registeelShadow // = 1629 + case registeelPurified // = 1630 + case latiasNormal // = 1631 + case latiasShadow // = 1632 + case latiasPurified // = 1633 + case latiosNormal // = 1634 + case latiosShadow // = 1635 + case latiosPurified // = 1636 + case kyogreNormal // = 1637 + case kyogreShadow // = 1638 + case kyogrePurified // = 1639 + case groudonNormal // = 1640 + case groudonShadow // = 1641 + case groudonPurified // = 1642 + case rayquazaNormal // = 1643 + case rayquazaShadow // = 1644 + case rayquazaPurified // = 1645 + case jirachiNormal // = 1646 + case jirachiShadow // = 1647 + case jirachiPurified // = 1648 + case piplupNormal // = 1649 + case piplupShadow // = 1650 + case piplupPurified // = 1651 + case prinplupNormal // = 1652 + case prinplupShadow // = 1653 + case prinplupPurified // = 1654 + case empoleonNormal // = 1655 + case empoleonShadow // = 1656 + case empoleonPurified // = 1657 + case starlyNormal // = 1658 + case starlyShadow // = 1659 + case starlyPurified // = 1660 + case staraviaNormal // = 1661 + case staraviaShadow // = 1662 + case staraviaPurified // = 1663 + case staraptorNormal // = 1664 + case staraptorShadow // = 1665 + case staraptorPurified // = 1666 + case bidoofNormal // = 1667 + case bidoofShadow // = 1668 + case bidoofPurified // = 1669 + case bibarelNormal // = 1670 + case bibarelShadow // = 1671 + case bibarelPurified // = 1672 + case kricketotNormal // = 1673 + case kricketotShadow // = 1674 + case kricketotPurified // = 1675 + case kricketuneNormal // = 1676 + case kricketuneShadow // = 1677 + case kricketunePurified // = 1678 + case shinxNormal // = 1679 + case shinxShadow // = 1680 + case shinxPurified // = 1681 + case luxioNormal // = 1682 + case luxioShadow // = 1683 + case luxioPurified // = 1684 + case luxrayNormal // = 1685 + case luxrayShadow // = 1686 + case luxrayPurified // = 1687 + case budewNormal // = 1688 + case budewShadow // = 1689 + case budewPurified // = 1690 + case roseradeNormal // = 1691 + case roseradeShadow // = 1692 + case roseradePurified // = 1693 + case cranidosNormal // = 1694 + case cranidosShadow // = 1695 + case cranidosPurified // = 1696 + case rampardosNormal // = 1697 + case rampardosShadow // = 1698 + case rampardosPurified // = 1699 + case shieldonNormal // = 1700 + case shieldonShadow // = 1701 + case shieldonPurified // = 1702 + case bastiodonNormal // = 1703 + case bastiodonShadow // = 1704 + case bastiodonPurified // = 1705 + case burmyNormal // = 1706 + case burmyShadow // = 1707 + case burmyPurified // = 1708 + case wormadamNormal // = 1709 + case wormadamShadow // = 1710 + case wormadamPurified // = 1711 + case mothimNormal // = 1712 + case mothimShadow // = 1713 + case mothimPurified // = 1714 + case combeeNormal // = 1715 + case combeeShadow // = 1716 + case combeePurified // = 1717 + case vespiquenNormal // = 1718 + case vespiquenShadow // = 1719 + case vespiquenPurified // = 1720 + case pachirisuNormal // = 1721 + case pachirisuShadow // = 1722 + case pachirisuPurified // = 1723 + case buizelNormal // = 1724 + case buizelShadow // = 1725 + case buizelPurified // = 1726 + case floatzelNormal // = 1727 + case floatzelShadow // = 1728 + case floatzelPurified // = 1729 + case cherubiNormal // = 1730 + case cherubiShadow // = 1731 + case cherubiPurified // = 1732 + case cherrimNormal // = 1733 + case cherrimShadow // = 1734 + case cherrimPurified // = 1735 + case shellosNormal // = 1736 + case shellosShadow // = 1737 + case shellosPurified // = 1738 + case gastrodonNormal // = 1739 + case gastrodonShadow // = 1740 + case gastrodonPurified // = 1741 + case ambipomNormal // = 1742 + case ambipomShadow // = 1743 + case ambipomPurified // = 1744 + case drifloonNormal // = 1745 + case drifloonShadow // = 1746 + case drifloonPurified // = 1747 + case drifblimNormal // = 1748 + case drifblimShadow // = 1749 + case drifblimPurified // = 1750 + case bunearyNormal // = 1751 + case bunearyShadow // = 1752 + case bunearyPurified // = 1753 + case lopunnyNormal // = 1754 + case lopunnyShadow // = 1755 + case lopunnyPurified // = 1756 + case glameowNormal // = 1757 + case glameowShadow // = 1758 + case glameowPurified // = 1759 + case puruglyNormal // = 1760 + case puruglyShadow // = 1761 + case puruglyPurified // = 1762 + case chinglingNormal // = 1763 + case chinglingShadow // = 1764 + case chinglingPurified // = 1765 + case bronzorNormal // = 1766 + case bronzorShadow // = 1767 + case bronzorPurified // = 1768 + case bronzongNormal // = 1769 + case bronzongShadow // = 1770 + case bronzongPurified // = 1771 + case bonslyNormal // = 1772 + case bonslyShadow // = 1773 + case bonslyPurified // = 1774 + case mimeJrNormal // = 1775 + case mimeJrShadow // = 1776 + case mimeJrPurified // = 1777 + case happinyNormal // = 1778 + case happinyShadow // = 1779 + case happinyPurified // = 1780 + case chatotNormal // = 1781 + case chatotShadow // = 1782 + case chatotPurified // = 1783 + case spiritombNormal // = 1784 + case spiritombShadow // = 1785 + case spiritombPurified // = 1786 + case munchlaxNormal // = 1787 + case munchlaxShadow // = 1788 + case munchlaxPurified // = 1789 + case rioluNormal // = 1790 + case rioluShadow // = 1791 + case rioluPurified // = 1792 + case lucarioNormal // = 1793 + case lucarioShadow // = 1794 + case lucarioPurified // = 1795 + case skorupiNormal // = 1796 + case skorupiShadow // = 1797 + case skorupiPurified // = 1798 + case drapionNormal // = 1799 + case drapionShadow // = 1800 + case drapionPurified // = 1801 + case croagunkNormal // = 1802 + case croagunkShadow // = 1803 + case croagunkPurified // = 1804 + case toxicroakNormal // = 1805 + case toxicroakShadow // = 1806 + case toxicroakPurified // = 1807 + case carnivineNormal // = 1808 + case carnivineShadow // = 1809 + case carnivinePurified // = 1810 + case finneonNormal // = 1811 + case finneonShadow // = 1812 + case finneonPurified // = 1813 + case lumineonNormal // = 1814 + case lumineonShadow // = 1815 + case lumineonPurified // = 1816 + case mantykeNormal // = 1817 + case mantykeShadow // = 1818 + case mantykePurified // = 1819 + case lickilickyNormal // = 1820 + case lickilickyShadow // = 1821 + case lickilickyPurified // = 1822 + case tangrowthNormal // = 1823 + case tangrowthShadow // = 1824 + case tangrowthPurified // = 1825 + case togekissNormal // = 1826 + case togekissShadow // = 1827 + case togekissPurified // = 1828 + case yanmegaNormal // = 1829 + case yanmegaShadow // = 1830 + case yanmegaPurified // = 1831 + case leafeonNormal // = 1832 + case leafeonShadow // = 1833 + case leafeonPurified // = 1834 + case glaceonNormal // = 1835 + case glaceonShadow // = 1836 + case glaceonPurified // = 1837 + case mamoswineNormal // = 1838 + case mamoswineShadow // = 1839 + case mamoswinePurified // = 1840 + case probopassNormal // = 1841 + case probopassShadow // = 1842 + case probopassPurified // = 1843 + case froslassNormal // = 1844 + case froslassShadow // = 1845 + case froslassPurified // = 1846 + case uxieNormal // = 1847 + case uxieShadow // = 1848 + case uxiePurified // = 1849 + case mespritNormal // = 1850 + case mespritShadow // = 1851 + case mespritPurified // = 1852 + case azelfNormal // = 1853 + case azelfShadow // = 1854 + case azelfPurified // = 1855 + case dialgaNormal // = 1856 + case dialgaShadow // = 1857 + case dialgaPurified // = 1858 + case palkiaNormal // = 1859 + case palkiaShadow // = 1860 + case palkiaPurified // = 1861 + case heatranNormal // = 1862 + case heatranShadow // = 1863 + case heatranPurified // = 1864 + case regigigasNormal // = 1865 + case regigigasShadow // = 1866 + case regigigasPurified // = 1867 + case giratinaNormal // = 1868 + case giratinaShadow // = 1869 + case giratinaPurified // = 1870 + case cresseliaNormal // = 1871 + case cresseliaShadow // = 1872 + case cresseliaPurified // = 1873 + case phioneNormal // = 1874 + case phioneShadow // = 1875 + case phionePurified // = 1876 + case manaphyNormal // = 1877 + case manaphyShadow // = 1878 + case manaphyPurified // = 1879 + case darkraiNormal // = 1880 + case darkraiShadow // = 1881 + case darkraiPurified // = 1882 + case shayminNormal // = 1883 + case shayminShadow // = 1884 + case shayminPurified // = 1885 + case victiniNormal // = 1886 + case victiniShadow // = 1887 + case victiniPurified // = 1888 + case snivyNormal // = 1889 + case snivyShadow // = 1890 + case snivyPurified // = 1891 + case servineNormal // = 1892 + case servineShadow // = 1893 + case servinePurified // = 1894 + case serperiorNormal // = 1895 + case serperiorShadow // = 1896 + case serperiorPurified // = 1897 + case tepigNormal // = 1898 + case tepigShadow // = 1899 + case tepigPurified // = 1900 + case pigniteNormal // = 1901 + case pigniteShadow // = 1902 + case pignitePurified // = 1903 + case emboarNormal // = 1904 + case emboarShadow // = 1905 + case emboarPurified // = 1906 + case oshawottNormal // = 1907 + case oshawottShadow // = 1908 + case oshawottPurified // = 1909 + case dewottNormal // = 1910 + case dewottShadow // = 1911 + case dewottPurified // = 1912 + case samurottNormal // = 1913 + case samurottShadow // = 1914 + case samurottPurified // = 1915 + case patratNormal // = 1916 + case patratShadow // = 1917 + case patratPurified // = 1918 + case watchogNormal // = 1919 + case watchogShadow // = 1920 + case watchogPurified // = 1921 + case lillipupNormal // = 1922 + case lillipupShadow // = 1923 + case lillipupPurified // = 1924 + case herdierNormal // = 1925 + case herdierShadow // = 1926 + case herdierPurified // = 1927 + case stoutlandNormal // = 1928 + case stoutlandShadow // = 1929 + case stoutlandPurified // = 1930 + case purrloinNormal // = 1931 + case purrloinShadow // = 1932 + case purrloinPurified // = 1933 + case liepardNormal // = 1934 + case liepardShadow // = 1935 + case liepardPurified // = 1936 + case pansageNormal // = 1937 + case pansageShadow // = 1938 + case pansagePurified // = 1939 + case simisageNormal // = 1940 + case simisageShadow // = 1941 + case simisagePurified // = 1942 + case pansearNormal // = 1943 + case pansearShadow // = 1944 + case pansearPurified // = 1945 + case simisearNormal // = 1946 + case simisearShadow // = 1947 + case simisearPurified // = 1948 + case panpourNormal // = 1949 + case panpourShadow // = 1950 + case panpourPurified // = 1951 + case simipourNormal // = 1952 + case simipourShadow // = 1953 + case simipourPurified // = 1954 + case munnaNormal // = 1955 + case munnaShadow // = 1956 + case munnaPurified // = 1957 + case musharnaNormal // = 1958 + case musharnaShadow // = 1959 + case musharnaPurified // = 1960 + case pidoveNormal // = 1961 + case pidoveShadow // = 1962 + case pidovePurified // = 1963 + case tranquillNormal // = 1964 + case tranquillShadow // = 1965 + case tranquillPurified // = 1966 + case unfezantNormal // = 1967 + case unfezantShadow // = 1968 + case unfezantPurified // = 1969 + case blitzleNormal // = 1970 + case blitzleShadow // = 1971 + case blitzlePurified // = 1972 + case zebstrikaNormal // = 1973 + case zebstrikaShadow // = 1974 + case zebstrikaPurified // = 1975 + case roggenrolaNormal // = 1976 + case roggenrolaShadow // = 1977 + case roggenrolaPurified // = 1978 + case boldoreNormal // = 1979 + case boldoreShadow // = 1980 + case boldorePurified // = 1981 + case gigalithNormal // = 1982 + case gigalithShadow // = 1983 + case gigalithPurified // = 1984 + case woobatNormal // = 1985 + case woobatShadow // = 1986 + case woobatPurified // = 1987 + case swoobatNormal // = 1988 + case swoobatShadow // = 1989 + case swoobatPurified // = 1990 + case drilburNormal // = 1991 + case drilburShadow // = 1992 + case drilburPurified // = 1993 + case excadrillNormal // = 1994 + case excadrillShadow // = 1995 + case excadrillPurified // = 1996 + case audinoNormal // = 1997 + case audinoShadow // = 1998 + case audinoPurified // = 1999 + case timburrNormal // = 2000 + case timburrShadow // = 2001 + case timburrPurified // = 2002 + case gurdurrNormal // = 2003 + case gurdurrShadow // = 2004 + case gurdurrPurified // = 2005 + case conkeldurrNormal // = 2006 + case conkeldurrShadow // = 2007 + case conkeldurrPurified // = 2008 + case tympoleNormal // = 2009 + case tympoleShadow // = 2010 + case tympolePurified // = 2011 + case palpitoadNormal // = 2012 + case palpitoadShadow // = 2013 + case palpitoadPurified // = 2014 + case seismitoadNormal // = 2015 + case seismitoadShadow // = 2016 + case seismitoadPurified // = 2017 + case throhNormal // = 2018 + case throhShadow // = 2019 + case throhPurified // = 2020 + case sawkNormal // = 2021 + case sawkShadow // = 2022 + case sawkPurified // = 2023 + case sewaddleNormal // = 2024 + case sewaddleShadow // = 2025 + case sewaddlePurified // = 2026 + case swadloonNormal // = 2027 + case swadloonShadow // = 2028 + case swadloonPurified // = 2029 + case leavannyNormal // = 2030 + case leavannyShadow // = 2031 + case leavannyPurified // = 2032 + case venipedeNormal // = 2033 + case venipedeShadow // = 2034 + case venipedePurified // = 2035 + case whirlipedeNormal // = 2036 + case whirlipedeShadow // = 2037 + case whirlipedePurified // = 2038 + case scolipedeNormal // = 2039 + case scolipedeShadow // = 2040 + case scolipedePurified // = 2041 + case cottoneeNormal // = 2042 + case cottoneeShadow // = 2043 + case cottoneePurified // = 2044 + case whimsicottNormal // = 2045 + case whimsicottShadow // = 2046 + case whimsicottPurified // = 2047 + case petililNormal // = 2048 + case petililShadow // = 2049 + case petililPurified // = 2050 + case lilligantNormal // = 2051 + case lilligantShadow // = 2052 + case lilligantPurified // = 2053 + case sandileNormal // = 2054 + case sandileShadow // = 2055 + case sandilePurified // = 2056 + case krokorokNormal // = 2057 + case krokorokShadow // = 2058 + case krokorokPurified // = 2059 + case krookodileNormal // = 2060 + case krookodileShadow // = 2061 + case krookodilePurified // = 2062 + case darumakaNormal // = 2063 + case darumakaShadow // = 2064 + case darumakaPurified // = 2065 + case maractusNormal // = 2066 + case maractusShadow // = 2067 + case maractusPurified // = 2068 + case dwebbleNormal // = 2069 + case dwebbleShadow // = 2070 + case dwebblePurified // = 2071 + case crustleNormal // = 2072 + case crustleShadow // = 2073 + case crustlePurified // = 2074 + case scraggyNormal // = 2075 + case scraggyShadow // = 2076 + case scraggyPurified // = 2077 + case scraftyNormal // = 2078 + case scraftyShadow // = 2079 + case scraftyPurified // = 2080 + case sigilyphNormal // = 2081 + case sigilyphShadow // = 2082 + case sigilyphPurified // = 2083 + case yamaskNormal // = 2084 + case yamaskShadow // = 2085 + case yamaskPurified // = 2086 + case cofagrigusNormal // = 2087 + case cofagrigusShadow // = 2088 + case cofagrigusPurified // = 2089 + case tirtougaNormal // = 2090 + case tirtougaShadow // = 2091 + case tirtougaPurified // = 2092 + case carracostaNormal // = 2093 + case carracostaShadow // = 2094 + case carracostaPurified // = 2095 + case archenNormal // = 2096 + case archenShadow // = 2097 + case archenPurified // = 2098 + case archeopsNormal // = 2099 + case archeopsShadow // = 2100 + case archeopsPurified // = 2101 + case trubbishNormal // = 2102 + case trubbishShadow // = 2103 + case trubbishPurified // = 2104 + case garbodorNormal // = 2105 + case garbodorShadow // = 2106 + case garbodorPurified // = 2107 + case zoruaNormal // = 2108 + case zoruaShadow // = 2109 + case zoruaPurified // = 2110 + case zoroarkNormal // = 2111 + case zoroarkShadow // = 2112 + case zoroarkPurified // = 2113 + case minccinoNormal // = 2114 + case minccinoShadow // = 2115 + case minccinoPurified // = 2116 + case cinccinoNormal // = 2117 + case cinccinoShadow // = 2118 + case cinccinoPurified // = 2119 + case gothitaNormal // = 2120 + case gothitaShadow // = 2121 + case gothitaPurified // = 2122 + case gothoritaNormal // = 2123 + case gothoritaShadow // = 2124 + case gothoritaPurified // = 2125 + case gothitelleNormal // = 2126 + case gothitelleShadow // = 2127 + case gothitellePurified // = 2128 + case solosisNormal // = 2129 + case solosisShadow // = 2130 + case solosisPurified // = 2131 + case duosionNormal // = 2132 + case duosionShadow // = 2133 + case duosionPurified // = 2134 + case reuniclusNormal // = 2135 + case reuniclusShadow // = 2136 + case reuniclusPurified // = 2137 + case ducklettNormal // = 2138 + case ducklettShadow // = 2139 + case ducklettPurified // = 2140 + case swannaNormal // = 2141 + case swannaShadow // = 2142 + case swannaPurified // = 2143 + case vanilliteNormal // = 2144 + case vanilliteShadow // = 2145 + case vanillitePurified // = 2146 + case vanillishNormal // = 2147 + case vanillishShadow // = 2148 + case vanillishPurified // = 2149 + case vanilluxeNormal // = 2150 + case vanilluxeShadow // = 2151 + case vanilluxePurified // = 2152 + case emolgaNormal // = 2153 + case emolgaShadow // = 2154 + case emolgaPurified // = 2155 + case karrablastNormal // = 2156 + case karrablastShadow // = 2157 + case karrablastPurified // = 2158 + case escavalierNormal // = 2159 + case escavalierShadow // = 2160 + case escavalierPurified // = 2161 + case foongusNormal // = 2162 + case foongusShadow // = 2163 + case foongusPurified // = 2164 + case amoongussNormal // = 2165 + case amoongussShadow // = 2166 + case amoongussPurified // = 2167 + case frillishNormal // = 2168 + case frillishShadow // = 2169 + case frillishPurified // = 2170 + case jellicentNormal // = 2171 + case jellicentShadow // = 2172 + case jellicentPurified // = 2173 + case alomomolaNormal // = 2174 + case alomomolaShadow // = 2175 + case alomomolaPurified // = 2176 + case joltikNormal // = 2177 + case joltikShadow // = 2178 + case joltikPurified // = 2179 + case galvantulaNormal // = 2180 + case galvantulaShadow // = 2181 + case galvantulaPurified // = 2182 + case ferroseedNormal // = 2183 + case ferroseedShadow // = 2184 + case ferroseedPurified // = 2185 + case ferrothornNormal // = 2186 + case ferrothornShadow // = 2187 + case ferrothornPurified // = 2188 + case klinkNormal // = 2189 + case klinkShadow // = 2190 + case klinkPurified // = 2191 + case klangNormal // = 2192 + case klangShadow // = 2193 + case klangPurified // = 2194 + case klinklangNormal // = 2195 + case klinklangShadow // = 2196 + case klinklangPurified // = 2197 + case tynamoNormal // = 2198 + case tynamoShadow // = 2199 + case tynamoPurified // = 2200 + case eelektrikNormal // = 2201 + case eelektrikShadow // = 2202 + case eelektrikPurified // = 2203 + case eelektrossNormal // = 2204 + case eelektrossShadow // = 2205 + case eelektrossPurified // = 2206 + case elgyemNormal // = 2207 + case elgyemShadow // = 2208 + case elgyemPurified // = 2209 + case beheeyemNormal // = 2210 + case beheeyemShadow // = 2211 + case beheeyemPurified // = 2212 + case litwickNormal // = 2213 + case litwickShadow // = 2214 + case litwickPurified // = 2215 + case lampentNormal // = 2216 + case lampentShadow // = 2217 + case lampentPurified // = 2218 + case chandelureNormal // = 2219 + case chandelureShadow // = 2220 + case chandelurePurified // = 2221 + case axewNormal // = 2222 + case axewShadow // = 2223 + case axewPurified // = 2224 + case fraxureNormal // = 2225 + case fraxureShadow // = 2226 + case fraxurePurified // = 2227 + case haxorusNormal // = 2228 + case haxorusShadow // = 2229 + case haxorusPurified // = 2230 + case cubchooNormal // = 2231 + case cubchooShadow // = 2232 + case cubchooPurified // = 2233 + case bearticNormal // = 2234 + case bearticShadow // = 2235 + case bearticPurified // = 2236 + case cryogonalNormal // = 2237 + case cryogonalShadow // = 2238 + case cryogonalPurified // = 2239 + case shelmetNormal // = 2240 + case shelmetShadow // = 2241 + case shelmetPurified // = 2242 + case accelgorNormal // = 2243 + case accelgorShadow // = 2244 + case accelgorPurified // = 2245 + case stunfiskNormal // = 2246 + case stunfiskShadow // = 2247 + case stunfiskPurified // = 2248 + case mienfooNormal // = 2249 + case mienfooShadow // = 2250 + case mienfooPurified // = 2251 + case mienshaoNormal // = 2252 + case mienshaoShadow // = 2253 + case mienshaoPurified // = 2254 + case druddigonNormal // = 2255 + case druddigonShadow // = 2256 + case druddigonPurified // = 2257 + case golettNormal // = 2258 + case golettShadow // = 2259 + case golettPurified // = 2260 + case golurkNormal // = 2261 + case golurkShadow // = 2262 + case golurkPurified // = 2263 + case pawniardNormal // = 2264 + case pawniardShadow // = 2265 + case pawniardPurified // = 2266 + case bisharpNormal // = 2267 + case bisharpShadow // = 2268 + case bisharpPurified // = 2269 + case bouffalantNormal // = 2270 + case bouffalantShadow // = 2271 + case bouffalantPurified // = 2272 + case ruffletNormal // = 2273 + case ruffletShadow // = 2274 + case ruffletPurified // = 2275 + case braviaryNormal // = 2276 + case braviaryShadow // = 2277 + case braviaryPurified // = 2278 + case vullabyNormal // = 2279 + case vullabyShadow // = 2280 + case vullabyPurified // = 2281 + case mandibuzzNormal // = 2282 + case mandibuzzShadow // = 2283 + case mandibuzzPurified // = 2284 + case heatmorNormal // = 2285 + case heatmorShadow // = 2286 + case heatmorPurified // = 2287 + case durantNormal // = 2288 + case durantShadow // = 2289 + case durantPurified // = 2290 + case deinoNormal // = 2291 + case deinoShadow // = 2292 + case deinoPurified // = 2293 + case zweilousNormal // = 2294 + case zweilousShadow // = 2295 + case zweilousPurified // = 2296 + case hydreigonNormal // = 2297 + case hydreigonShadow // = 2298 + case hydreigonPurified // = 2299 + case larvestaNormal // = 2300 + case larvestaShadow // = 2301 + case larvestaPurified // = 2302 + case volcaronaNormal // = 2303 + case volcaronaShadow // = 2304 + case volcaronaPurified // = 2305 + case cobalionNormal // = 2306 + case cobalionShadow // = 2307 + case cobalionPurified // = 2308 + case terrakionNormal // = 2309 + case terrakionShadow // = 2310 + case terrakionPurified // = 2311 + case virizionNormal // = 2312 + case virizionShadow // = 2313 + case virizionPurified // = 2314 + case reshiramNormal // = 2315 + case reshiramShadow // = 2316 + case reshiramPurified // = 2317 + case zekromNormal // = 2318 + case zekromShadow // = 2319 + case zekromPurified // = 2320 + case meltanNormal // = 2321 + case meltanShadow // = 2322 + case meltanPurified // = 2323 + case melmetalNormal // = 2324 + case melmetalShadow // = 2325 + case melmetalPurified // = 2326 + case wurmpleSpring2020 // = 2327 + case wobbuffetSpring2020 // = 2328 + case raticateSpring2020 // = 2329 + case frillishFemale // = 2330 + case jellicentFemale // = 2331 + case pikachuCostume2020 // = 2332 + case dragoniteCostume2020 // = 2333 + case onixCostume2020 // = 2334 + case meowthGalarian // = 2335 + case ponytaGalarian // = 2336 + case rapidashGalarian // = 2337 + case farfetchdGalarian // = 2338 + case mrMimeGalarian // = 2339 + case corsolaGalarian // = 2340 + case darumakaGalarian // = 2341 + case darmanitanGalarianStandard // = 2342 + case darmanitanGalarianZen // = 2343 + case yamaskGalarian // = 2344 + case stunfiskGalarian // = 2345 + case toxtricityLowKey // = 2463 + case toxtricityAmped // = 2464 + case sinisteaPhony // = 2477 + case sinisteaAntique // = 2478 + case polteageistPhony // = 2480 + case polteageistAntique // = 2481 + case obstagoonNormal // = 2501 + case obstagoonShadow // = 2502 + case obstagoonPurified // = 2503 + case perrserkerNormal // = 2504 + case perrserkerShadow // = 2505 + case perrserkerPurified // = 2506 + case cursolaNormal // = 2507 + case cursolaShadow // = 2508 + case cursolaPurified // = 2509 + case sirfetchdNormal // = 2510 + case sirfetchdShadow // = 2511 + case sirfetchdPurified // = 2512 + case mrRimeNormal // = 2513 + case mrRimeShadow // = 2514 + case mrRimePurified // = 2515 + case runerigusNormal // = 2516 + case runerigusShadow // = 2517 + case runerigusPurified // = 2518 + case eiscueIce // = 2540 + case eiscueNoice // = 2541 + case indeedeeMale // = 2542 + case indeedeeFemale // = 2543 + case morpekoFullBelly // = 2544 + case morpekoHangry // = 2545 + case zacianCrownedSword // = 2576 + case zacianHero // = 2577 + case zamazentaCrownedShield // = 2578 + case zamazentaHero // = 2579 + case eternatusEternamax // = 2580 + case eternatusNormal // = 2581 + case slowpokeGalarian // = 2582 + case slowbroGalarian // = 2583 + case slowkingGalarian // = 2584 + case laprasCostume2020 // = 2585 + case gengarCostume2020 // = 2586 + case pyroarNormal // = 2587 + case pyroarFemale // = 2588 + case meowsticNormal // = 2589 + case meowsticFemale // = 2590 + case zygardeTenPercent // = 2591 + case zygardeFiftyPercent // = 2592 + case zygardeComplete // = 2593 + case vivillonArchipelago // = 2594 + case vivillonContinental // = 2595 + case vivillonElegant // = 2596 + case vivillonFancy // = 2597 + case vivillonGarden // = 2598 + case vivillonHighPlains // = 2599 + case vivillonIcySnow // = 2600 + case vivillonJungle // = 2601 + case vivillonMarine // = 2602 + case vivillonMeadow // = 2603 + case vivillonModern // = 2604 + case vivillonMonsoon // = 2605 + case vivillonOcean // = 2606 + case vivillonPokeball // = 2607 + case vivillonPolar // = 2608 + case vivillonRiver // = 2609 + case vivillonSandstorm // = 2610 + case vivillonSavanna // = 2611 + case vivillonSun // = 2612 + case vivillonTundra // = 2613 + case flabebeRed // = 2614 + case flabebeYellow // = 2615 + case flabebeOrange // = 2616 + case flabebeBlue // = 2617 + case flabebeWhite // = 2618 + case floetteRed // = 2619 + case floetteYellow // = 2620 + case floetteOrange // = 2621 + case floetteBlue // = 2622 + case floetteWhite // = 2623 + case florgesRed // = 2624 + case florgesYellow // = 2625 + case florgesOrange // = 2626 + case florgesBlue // = 2627 + case florgesWhite // = 2628 + case furfrouNatural // = 2629 + case furfrouHeart // = 2630 + case furfrouStar // = 2631 + case furfrouDiamond // = 2632 + case furfrouDebutante // = 2633 + case furfrouMatron // = 2634 + case furfrouDandy // = 2635 + case furfrouLaReine // = 2636 + case furfrouKabuki // = 2637 + case furfrouPharaoh // = 2638 + case aegislashShield // = 2639 + case aegislashBlade // = 2640 + case pumpkabooSmall // = 2641 + case pumpkabooAverage // = 2642 + case pumpkabooLarge // = 2643 + case pumpkabooSuper // = 2644 + case gourgeistSmall // = 2645 + case gourgeistAverage // = 2646 + case gourgeistLarge // = 2647 + case gourgeistSuper // = 2648 + case xerneasNeutral // = 2649 + case xerneasActive // = 2650 + case hoopaConfined // = 2651 + case hoopaUnbound // = 2652 + case sableyeCostume2020Deprecated // = 2666 + case sableyeCostume2020 // = 2668 + case pikachuAdventureHat2020 // = 2669 + case pikachuWinter2020 // = 2670 + case delibirdWinter2020 // = 2671 + case cubchooWinter2020 // = 2672 + case slowpoke2020 // = 2673 + case slowbro2021 // = 2674 + case pikachuKariyushi // = 2675 + case pikachuPopStar // = 2676 + case pikachuRockStar // = 2677 + case pikachuFlying5ThAnniv // = 2678 + case oricorioBaile // = 2679 + case oricorioPompom // = 2680 + case oricorioPau // = 2681 + case oricorioSensu // = 2683 + case lycanrocMidday // = 2684 + case lycanrocMidnight // = 2685 + case lycanrocDusk // = 2686 + case wishiwashiSolo // = 2687 + case wishiwashiSchool // = 2688 + case silvallyNormal // = 2689 + case silvallyBug // = 2690 + case silvallyDark // = 2691 + case silvallyDragon // = 2692 + case silvallyElectric // = 2693 + case silvallyFairy // = 2694 + case silvallyFighting // = 2695 + case silvallyFire // = 2696 + case silvallyFlying // = 2697 + case silvallyGhost // = 2698 + case silvallyGrass // = 2699 + case silvallyGround // = 2700 + case silvallyIce // = 2701 + case silvallyPoison // = 2702 + case silvallyPsychic // = 2703 + case silvallyRock // = 2704 + case silvallySteel // = 2705 + case silvallyWater // = 2706 + case miniorMeteorBlue // = 2707 + case miniorBlue // = 2708 + case miniorGreen // = 2709 + case miniorIndigo // = 2710 + case miniorOrange // = 2711 + case miniorRed // = 2712 + case miniorViolet // = 2713 + case miniorYellow // = 2714 + case mimikyuBusted // = 2715 + case mimikyuDisguised // = 2716 + case necrozmaNormal // = 2717 + case necrozmaDuskMane // = 2718 + case necrozmaDawnWings // = 2719 + case necrozmaUltra // = 2720 + case magearnaNormal // = 2721 + case magearnaOriginalColor // = 2722 + case urshifuSingleStrike // = 2723 + case urshifuRapidStrike // = 2724 + case calyrexNormal // = 2725 + case calyrexIceRider // = 2726 + case calyrexShadowRider // = 2727 + case voltorbHisuian // = 2728 + case lugiaS // = 2729 + case hoOhS // = 2730 + case raikouS // = 2731 + case enteiS // = 2732 + case suicuneS // = 2733 + case slowking2022 // = 2734 + case electrodeHisuian // = 2735 + case pikachuFlyingOkinawa // = 2736 + case rockruffDusk // = 2737 + case miniorMeteorGreen // = 2739 + case miniorMeteorIndigo // = 2740 + case miniorMeteorOrange // = 2741 + case miniorMeteorRed // = 2742 + case miniorMeteorViolet // = 2743 + case miniorMeteorYellow // = 2744 + case scatterbugArchipelago // = 2745 + case scatterbugContinental // = 2746 + case scatterbugElegant // = 2747 + case scatterbugFancy // = 2748 + case scatterbugGarden // = 2749 + case scatterbugHighPlains // = 2750 + case scatterbugIcySnow // = 2751 + case scatterbugJungle // = 2752 + case scatterbugMarine // = 2753 + case scatterbugMeadow // = 2754 + case scatterbugModern // = 2755 + case scatterbugMonsoon // = 2756 + case scatterbugOcean // = 2757 + case scatterbugPokeball // = 2758 + case scatterbugPolar // = 2759 + case scatterbugRiver // = 2760 + case scatterbugSandstorm // = 2761 + case scatterbugSavanna // = 2762 + case scatterbugSun // = 2763 + case scatterbugTundra // = 2764 + case spewpaArchipelago // = 2765 + case spewpaContinental // = 2766 + case spewpaElegant // = 2767 + case spewpaFancy // = 2768 + case spewpaGarden // = 2769 + case spewpaHighPlains // = 2770 + case spewpaIcySnow // = 2771 + case spewpaJungle // = 2772 + case spewpaMarine // = 2773 + case spewpaMeadow // = 2774 + case spewpaModern // = 2775 + case spewpaMonsoon // = 2776 + case spewpaOcean // = 2777 + case spewpaPokeball // = 2778 + case spewpaPolar // = 2779 + case spewpaRiver // = 2780 + case spewpaSandstorm // = 2781 + case spewpaSavanna // = 2782 + case spewpaSun // = 2783 + case spewpaTundra // = 2784 + case decidueyeHisuian // = 2785 + case typhlosionHisuian // = 2786 + case samurottHisuian // = 2787 + case qwilfishHisuian // = 2788 + case lilligantHisuian // = 2789 + case sliggooHisuian // = 2790 + case goodraHisuian // = 2791 + case growlitheHisuian // = 2792 + case arcanineHisuian // = 2793 + case sneaselHisuian // = 2794 + case avaluggHisuian // = 2795 + case zoruaHisuian // = 2796 + case zoroarkHisuian // = 2797 + case braviaryHisuian // = 2798 + case moltresGalarian // = 2799 + case zapdosGalarian // = 2800 + case articunoGalarian // = 2801 + case enamorusIncarnate // = 2802 + case enamorusTherian // = 2803 + case basculinWhiteStriped // = 2804 + case pikachuGofest2022 // = 2805 + case pikachuWcs2022 // = 2806 + case basculegionNormal // = 2807 + case basculegionFemale // = 2808 + case decidueyeNormal // = 2809 + case sliggooNormal // = 2810 + case goodraNormal // = 2811 + case avaluggNormal // = 2812 + case pikachuTshirt01 // = 2813 + case pikachuTshirt02 // = 2814 + case pikachuFlying01 // = 2815 + case pikachuFlying02 // = 2816 + case ursalunaNormal // = 2817 + case ursalunaShadow // = 2818 + case ursalunaPurified // = 2819 + case bearticWinter2020 // = 2820 + case latiasS // = 2821 + case latiosS // = 2822 + case zygardeCompleteTenPercent // = 2823 + case zygardeCompleteFiftyPercent // = 2824 + case pikachuGotour2024A // = 2825 + case pikachuGotour2024B // = 2826 + case pikachuGotour2024A02 // = 2827 + case pikachuGotour2024B02 // = 2828 + case dialgaOrigin // = 2829 + case palkiaOrigin // = 2830 + case rockruffNormal // = 2831 + case pikachuTshirt03 // = 2832 + case pikachuFlying04 // = 2833 + case pikachuTshirt04 // = 2834 + case pikachuTshirt05 // = 2835 + case pikachuTshirt06 // = 2836 + case pikachuTshirt07 // = 2837 + case pikachuFlying05 // = 2838 + case pikachuFlying06 // = 2839 + case pikachuFlying07 // = 2840 + case pikachuFlying08 // = 2841 + case oinkologneNormal // = 2981 + case oinkologneFemale // = 2982 + case mausholdFamilyOfThree // = 2983 + case mausholdFamilyOfFour // = 2984 + case squawkabillyGreen // = 2985 + case squawkabillyBlue // = 2986 + case squawkabillyYellow // = 2987 + case squawkabillyWhite // = 2988 + case palafinZero // = 2989 + case palafinHero // = 2990 + case tatsugiriCurly // = 2991 + case tatsugiriDroopy // = 2992 + case tatsugiriStretchy // = 2993 + case dudunsparceTwo // = 2994 + case dudunsparceThree // = 2995 + case koraidonApex // = 2996 + case miraidonUltimate // = 2997 + case gimmighoulNormal // = 2998 + case gholdengoNormal // = 3000 + case aerodactylSummer2023 // = 3001 + case pikachuSummer2023A // = 3002 + case pikachuSummer2023B // = 3003 + case pikachuSummer2023C // = 3004 + case pikachuSummer2023D // = 3005 + case taurosPaldeaCombat // = 3006 + case taurosPaldeaBlaze // = 3007 + case taurosPaldeaAqua // = 3008 + case wooperPaldea // = 3009 + case pikachuSummer2023E // = 3010 + case pikachuFlying03 // = 3011 + case pikachuJeju // = 3012 + case pikachuDoctor // = 3013 + case pikachuWcs2023 // = 3014 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .unownA + case 2: self = .unownB + case 3: self = .unownC + case 4: self = .unownD + case 5: self = .unownE + case 6: self = .unownF + case 7: self = .unownG + case 8: self = .unownH + case 9: self = .unownI + case 10: self = .unownJ + case 11: self = .unownK + case 12: self = .unownL + case 13: self = .unownM + case 14: self = .unownN + case 15: self = .unownO + case 16: self = .unownP + case 17: self = .unownQ + case 18: self = .unownR + case 19: self = .unownS + case 20: self = .unownT + case 21: self = .unownU + case 22: self = .unownV + case 23: self = .unownW + case 24: self = .unownX + case 25: self = .unownY + case 26: self = .unownZ + case 27: self = .unownExclamationPoint + case 28: self = .unownQuestionMark + case 29: self = .castformNormal + case 30: self = .castformSunny + case 31: self = .castformRainy + case 32: self = .castformSnowy + case 33: self = .deoxysNormal + case 34: self = .deoxysAttack + case 35: self = .deoxysDefense + case 36: self = .deoxysSpeed + case 37: self = .spinda00 + case 38: self = .spinda01 + case 39: self = .spinda02 + case 40: self = .spinda03 + case 41: self = .spinda04 + case 42: self = .spinda05 + case 43: self = .spinda06 + case 44: self = .spinda07 + case 45: self = .rattataNormal + case 46: self = .rattataAlola + case 47: self = .raticateNormal + case 48: self = .raticateAlola + case 49: self = .raichuNormal + case 50: self = .raichuAlola + case 51: self = .sandshrewNormal + case 52: self = .sandshrewAlola + case 53: self = .sandslashNormal + case 54: self = .sandslashAlola + case 55: self = .vulpixNormal + case 56: self = .vulpixAlola + case 57: self = .ninetalesNormal + case 58: self = .ninetalesAlola + case 59: self = .diglettNormal + case 60: self = .diglettAlola + case 61: self = .dugtrioNormal + case 62: self = .dugtrioAlola + case 63: self = .meowthNormal + case 64: self = .meowthAlola + case 65: self = .persianNormal + case 66: self = .persianAlola + case 67: self = .geodudeNormal + case 68: self = .geodudeAlola + case 69: self = .gravelerNormal + case 70: self = .gravelerAlola + case 71: self = .golemNormal + case 72: self = .golemAlola + case 73: self = .grimerNormal + case 74: self = .grimerAlola + case 75: self = .mukNormal + case 76: self = .mukAlola + case 77: self = .exeggutorNormal + case 78: self = .exeggutorAlola + case 79: self = .marowakNormal + case 80: self = .marowakAlola + case 81: self = .rotomNormal + case 82: self = .rotomFrost + case 83: self = .rotomFan + case 84: self = .rotomMow + case 85: self = .rotomWash + case 86: self = .rotomHeat + case 87: self = .wormadamPlant + case 88: self = .wormadamSandy + case 89: self = .wormadamTrash + case 90: self = .giratinaAltered + case 91: self = .giratinaOrigin + case 92: self = .shayminSky + case 93: self = .shayminLand + case 94: self = .cherrimOvercast + case 95: self = .cherrimSunny + case 96: self = .shellosWestSea + case 97: self = .shellosEastSea + case 98: self = .gastrodonWestSea + case 99: self = .gastrodonEastSea + case 100: self = .arceusNormal + case 101: self = .arceusFighting + case 102: self = .arceusFlying + case 103: self = .arceusPoison + case 104: self = .arceusGround + case 105: self = .arceusRock + case 106: self = .arceusBug + case 107: self = .arceusGhost + case 108: self = .arceusSteel + case 109: self = .arceusFire + case 110: self = .arceusWater + case 111: self = .arceusGrass + case 112: self = .arceusElectric + case 113: self = .arceusPsychic + case 114: self = .arceusIce + case 115: self = .arceusDragon + case 116: self = .arceusDark + case 117: self = .arceusFairy + case 118: self = .burmyPlant + case 119: self = .burmySandy + case 120: self = .burmyTrash + case 121: self = .spinda08 + case 122: self = .spinda09 + case 123: self = .spinda10 + case 124: self = .spinda11 + case 125: self = .spinda12 + case 126: self = .spinda13 + case 127: self = .spinda14 + case 128: self = .spinda15 + case 129: self = .spinda16 + case 130: self = .spinda17 + case 131: self = .spinda18 + case 132: self = .spinda19 + case 133: self = .mewtwoA + case 135: self = .mewtwoNormal + case 136: self = .basculinRedStriped + case 137: self = .basculinBlueStriped + case 138: self = .darmanitanStandard + case 139: self = .darmanitanZen + case 140: self = .tornadusIncarnate + case 141: self = .tornadusTherian + case 142: self = .thundurusIncarnate + case 143: self = .thundurusTherian + case 144: self = .landorusIncarnate + case 145: self = .landorusTherian + case 146: self = .kyuremNormal + case 147: self = .kyuremBlack + case 148: self = .kyuremWhite + case 149: self = .keldeoOrdinary + case 150: self = .keldeoResolute + case 151: self = .meloettaAria + case 152: self = .meloettaPirouette + case 153: self = .rattataShadow + case 154: self = .rattataPurified + case 155: self = .raticateShadow + case 156: self = .raticatePurified + case 157: self = .zubatNormal + case 158: self = .zubatShadow + case 159: self = .zubatPurified + case 160: self = .golbatNormal + case 161: self = .golbatShadow + case 162: self = .golbatPurified + case 163: self = .bulbasaurNormal + case 164: self = .bulbasaurShadow + case 165: self = .bulbasaurPurified + case 166: self = .ivysaurNormal + case 167: self = .ivysaurShadow + case 168: self = .ivysaurPurified + case 169: self = .venusaurNormal + case 170: self = .venusaurShadow + case 171: self = .venusaurPurified + case 172: self = .charmanderNormal + case 173: self = .charmanderShadow + case 174: self = .charmanderPurified + case 175: self = .charmeleonNormal + case 176: self = .charmeleonShadow + case 177: self = .charmeleonPurified + case 178: self = .charizardNormal + case 179: self = .charizardShadow + case 180: self = .charizardPurified + case 181: self = .squirtleNormal + case 182: self = .squirtleShadow + case 183: self = .squirtlePurified + case 184: self = .wartortleNormal + case 185: self = .wartortleShadow + case 186: self = .wartortlePurified + case 187: self = .blastoiseNormal + case 188: self = .blastoiseShadow + case 189: self = .blastoisePurified + case 190: self = .dratiniNormal + case 191: self = .dratiniShadow + case 192: self = .dratiniPurified + case 193: self = .dragonairNormal + case 194: self = .dragonairShadow + case 195: self = .dragonairPurified + case 196: self = .dragoniteNormal + case 197: self = .dragoniteShadow + case 198: self = .dragonitePurified + case 199: self = .snorlaxNormal + case 200: self = .snorlaxShadow + case 201: self = .snorlaxPurified + case 202: self = .crobatNormal + case 203: self = .crobatShadow + case 204: self = .crobatPurified + case 205: self = .mudkipNormal + case 206: self = .mudkipShadow + case 207: self = .mudkipPurified + case 208: self = .marshtompNormal + case 209: self = .marshtompShadow + case 210: self = .marshtompPurified + case 211: self = .swampertNormal + case 212: self = .swampertShadow + case 213: self = .swampertPurified + case 214: self = .drowzeeNormal + case 215: self = .drowzeeShadow + case 216: self = .drowzeePurified + case 217: self = .hypnoNormal + case 218: self = .hypnoShadow + case 219: self = .hypnoPurified + case 220: self = .grimerShadow + case 221: self = .grimerPurified + case 222: self = .mukShadow + case 223: self = .mukPurified + case 224: self = .cuboneNormal + case 225: self = .cuboneShadow + case 226: self = .cubonePurified + case 227: self = .marowakShadow + case 228: self = .marowakPurified + case 229: self = .houndourNormal + case 230: self = .houndourShadow + case 231: self = .houndourPurified + case 232: self = .houndoomNormal + case 233: self = .houndoomShadow + case 234: self = .houndoomPurified + case 235: self = .poliwagNormal + case 236: self = .poliwagShadow + case 237: self = .poliwagPurified + case 238: self = .poliwhirlNormal + case 239: self = .poliwhirlShadow + case 240: self = .poliwhirlPurified + case 241: self = .poliwrathNormal + case 242: self = .poliwrathShadow + case 243: self = .poliwrathPurified + case 244: self = .politoedNormal + case 245: self = .politoedShadow + case 246: self = .politoedPurified + case 247: self = .scytherNormal + case 248: self = .scytherShadow + case 249: self = .scytherPurified + case 250: self = .scizorNormal + case 251: self = .scizorShadow + case 252: self = .scizorPurified + case 253: self = .magikarpNormal + case 254: self = .magikarpShadow + case 255: self = .magikarpPurified + case 256: self = .gyaradosNormal + case 257: self = .gyaradosShadow + case 258: self = .gyaradosPurified + case 259: self = .venonatNormal + case 260: self = .venonatShadow + case 261: self = .venonatPurified + case 262: self = .venomothNormal + case 263: self = .venomothShadow + case 264: self = .venomothPurified + case 265: self = .oddishNormal + case 266: self = .oddishShadow + case 267: self = .oddishPurified + case 268: self = .gloomNormal + case 269: self = .gloomShadow + case 270: self = .gloomPurified + case 271: self = .vileplumeNormal + case 272: self = .vileplumeShadow + case 273: self = .vileplumePurified + case 274: self = .bellossomNormal + case 275: self = .bellossomShadow + case 276: self = .bellossomPurified + case 277: self = .hitmonchanNormal + case 278: self = .hitmonchanShadow + case 279: self = .hitmonchanPurified + case 280: self = .growlitheNormal + case 281: self = .growlitheShadow + case 282: self = .growlithePurified + case 283: self = .arcanineNormal + case 284: self = .arcanineShadow + case 285: self = .arcaninePurified + case 286: self = .psyduckNormal + case 287: self = .psyduckShadow + case 288: self = .psyduckPurified + case 289: self = .golduckNormal + case 290: self = .golduckShadow + case 291: self = .golduckPurified + case 292: self = .raltsNormal + case 293: self = .raltsShadow + case 294: self = .raltsPurified + case 295: self = .kirliaNormal + case 296: self = .kirliaShadow + case 297: self = .kirliaPurified + case 298: self = .gardevoirNormal + case 299: self = .gardevoirShadow + case 300: self = .gardevoirPurified + case 301: self = .galladeNormal + case 302: self = .galladeShadow + case 303: self = .galladePurified + case 304: self = .abraNormal + case 305: self = .abraShadow + case 306: self = .abraPurified + case 307: self = .kadabraNormal + case 308: self = .kadabraShadow + case 309: self = .kadabraPurified + case 310: self = .alakazamNormal + case 311: self = .alakazamShadow + case 312: self = .alakazamPurified + case 313: self = .larvitarNormal + case 314: self = .larvitarShadow + case 315: self = .larvitarPurified + case 316: self = .pupitarNormal + case 317: self = .pupitarShadow + case 318: self = .pupitarPurified + case 319: self = .tyranitarNormal + case 320: self = .tyranitarShadow + case 321: self = .tyranitarPurified + case 322: self = .laprasNormal + case 323: self = .laprasShadow + case 324: self = .laprasPurified + case 585: self = .deerlingSpring + case 586: self = .deerlingSummer + case 587: self = .deerlingAutumn + case 588: self = .deerlingWinter + case 589: self = .sawsbuckSpring + case 590: self = .sawsbuckSummer + case 591: self = .sawsbuckAutumn + case 592: self = .sawsbuckWinter + case 593: self = .genesectNormal + case 594: self = .genesectShock + case 595: self = .genesectBurn + case 596: self = .genesectChill + case 597: self = .genesectDouse + case 598: self = .pikachuNormal + case 600: self = .wurmpleNormal + case 602: self = .wobbuffetNormal + case 610: self = .cacneaNormal + case 611: self = .cacneaShadow + case 612: self = .cacneaPurified + case 613: self = .cacturneNormal + case 614: self = .cacturneShadow + case 615: self = .cacturnePurified + case 616: self = .weedleNormal + case 617: self = .weedleShadow + case 618: self = .weedlePurified + case 619: self = .kakunaNormal + case 620: self = .kakunaShadow + case 621: self = .kakunaPurified + case 622: self = .beedrillNormal + case 623: self = .beedrillShadow + case 624: self = .beedrillPurified + case 625: self = .seedotNormal + case 626: self = .seedotShadow + case 627: self = .seedotPurified + case 628: self = .nuzleafNormal + case 629: self = .nuzleafShadow + case 630: self = .nuzleafPurified + case 631: self = .shiftryNormal + case 632: self = .shiftryShadow + case 633: self = .shiftryPurified + case 634: self = .magmarNormal + case 635: self = .magmarShadow + case 636: self = .magmarPurified + case 637: self = .magmortarNormal + case 638: self = .magmortarShadow + case 639: self = .magmortarPurified + case 640: self = .electabuzzNormal + case 641: self = .electabuzzShadow + case 642: self = .electabuzzPurified + case 643: self = .electivireNormal + case 644: self = .electivireShadow + case 645: self = .electivirePurified + case 646: self = .mareepNormal + case 647: self = .mareepShadow + case 648: self = .mareepPurified + case 649: self = .flaaffyNormal + case 650: self = .flaaffyShadow + case 651: self = .flaaffyPurified + case 652: self = .ampharosNormal + case 653: self = .ampharosShadow + case 654: self = .ampharosPurified + case 655: self = .magnemiteNormal + case 656: self = .magnemiteShadow + case 657: self = .magnemitePurified + case 658: self = .magnetonNormal + case 659: self = .magnetonShadow + case 660: self = .magnetonPurified + case 661: self = .magnezoneNormal + case 662: self = .magnezoneShadow + case 663: self = .magnezonePurified + case 664: self = .bellsproutNormal + case 665: self = .bellsproutShadow + case 666: self = .bellsproutPurified + case 667: self = .weepinbellNormal + case 668: self = .weepinbellShadow + case 669: self = .weepinbellPurified + case 670: self = .victreebelNormal + case 671: self = .victreebelShadow + case 672: self = .victreebelPurified + case 673: self = .sandshrewShadow + case 674: self = .sandshrewPurified + case 675: self = .sandslashShadow + case 676: self = .sandslashPurified + case 677: self = .porygonNormal + case 678: self = .porygonShadow + case 679: self = .porygonPurified + case 680: self = .porygon2Normal + case 681: self = .porygon2Shadow + case 682: self = .porygon2Purified + case 683: self = .porygonZNormal + case 684: self = .porygonZShadow + case 685: self = .porygonZPurified + case 686: self = .wobbuffetShadow + case 687: self = .wobbuffetPurified + case 688: self = .turtwigNormal + case 689: self = .turtwigShadow + case 690: self = .turtwigPurified + case 691: self = .grotleNormal + case 692: self = .grotleShadow + case 693: self = .grotlePurified + case 694: self = .torterraNormal + case 695: self = .torterraShadow + case 696: self = .torterraPurified + case 697: self = .ekansNormal + case 698: self = .ekansShadow + case 699: self = .ekansPurified + case 700: self = .arbokNormal + case 701: self = .arbokShadow + case 702: self = .arbokPurified + case 703: self = .koffingNormal + case 704: self = .koffingShadow + case 705: self = .koffingPurified + case 706: self = .weezingNormal + case 707: self = .weezingShadow + case 708: self = .weezingPurified + case 709: self = .meowthShadow + case 710: self = .meowthPurified + case 711: self = .persianShadow + case 712: self = .persianPurified + case 713: self = .hitmonleeNormal + case 714: self = .hitmonleeShadow + case 715: self = .hitmonleePurified + case 716: self = .articunoNormal + case 717: self = .articunoShadow + case 718: self = .articunoPurified + case 719: self = .misdreavusNormal + case 720: self = .misdreavusShadow + case 721: self = .misdreavusPurified + case 722: self = .mismagiusNormal + case 723: self = .mismagiusShadow + case 724: self = .mismagiusPurified + case 725: self = .vulpixShadow + case 726: self = .vulpixPurified + case 727: self = .ninetalesShadow + case 728: self = .ninetalesPurified + case 729: self = .exeggcuteNormal + case 730: self = .exeggcuteShadow + case 731: self = .exeggcutePurified + case 732: self = .exeggutorShadow + case 733: self = .exeggutorPurified + case 734: self = .carvanhaNormal + case 735: self = .carvanhaShadow + case 736: self = .carvanhaPurified + case 737: self = .sharpedoNormal + case 738: self = .sharpedoShadow + case 739: self = .sharpedoPurified + case 740: self = .omanyteNormal + case 741: self = .omanyteShadow + case 742: self = .omanytePurified + case 743: self = .omastarNormal + case 744: self = .omastarShadow + case 745: self = .omastarPurified + case 746: self = .trapinchNormal + case 747: self = .trapinchShadow + case 748: self = .trapinchPurified + case 749: self = .vibravaNormal + case 750: self = .vibravaShadow + case 751: self = .vibravaPurified + case 752: self = .flygonNormal + case 753: self = .flygonShadow + case 754: self = .flygonPurified + case 755: self = .bagonNormal + case 756: self = .bagonShadow + case 757: self = .bagonPurified + case 758: self = .shelgonNormal + case 759: self = .shelgonShadow + case 760: self = .shelgonPurified + case 761: self = .salamenceNormal + case 762: self = .salamenceShadow + case 763: self = .salamencePurified + case 764: self = .beldumNormal + case 765: self = .beldumShadow + case 766: self = .beldumPurified + case 767: self = .metangNormal + case 768: self = .metangShadow + case 769: self = .metangPurified + case 770: self = .metagrossNormal + case 771: self = .metagrossShadow + case 772: self = .metagrossPurified + case 773: self = .zapdosNormal + case 774: self = .zapdosShadow + case 775: self = .zapdosPurified + case 776: self = .nidoranNormal + case 777: self = .nidoranShadow + case 778: self = .nidoranPurified + case 779: self = .nidorinaNormal + case 780: self = .nidorinaShadow + case 781: self = .nidorinaPurified + case 782: self = .nidoqueenNormal + case 783: self = .nidoqueenShadow + case 784: self = .nidoqueenPurified + case 785: self = .nidorinoNormal + case 786: self = .nidorinoShadow + case 787: self = .nidorinoPurified + case 788: self = .nidokingNormal + case 789: self = .nidokingShadow + case 790: self = .nidokingPurified + case 791: self = .stunkyNormal + case 792: self = .stunkyShadow + case 793: self = .stunkyPurified + case 794: self = .skuntankNormal + case 795: self = .skuntankShadow + case 796: self = .skuntankPurified + case 797: self = .sneaselNormal + case 798: self = .sneaselShadow + case 799: self = .sneaselPurified + case 800: self = .weavileNormal + case 801: self = .weavileShadow + case 802: self = .weavilePurified + case 803: self = .gligarNormal + case 804: self = .gligarShadow + case 805: self = .gligarPurified + case 806: self = .gliscorNormal + case 807: self = .gliscorShadow + case 808: self = .gliscorPurified + case 809: self = .machopNormal + case 810: self = .machopShadow + case 811: self = .machopPurified + case 812: self = .machokeNormal + case 813: self = .machokeShadow + case 814: self = .machokePurified + case 815: self = .machampNormal + case 816: self = .machampShadow + case 817: self = .machampPurified + case 818: self = .chimcharNormal + case 819: self = .chimcharShadow + case 820: self = .chimcharPurified + case 821: self = .monfernoNormal + case 822: self = .monfernoShadow + case 823: self = .monfernoPurified + case 824: self = .infernapeNormal + case 825: self = .infernapeShadow + case 826: self = .infernapePurified + case 827: self = .shuckleNormal + case 828: self = .shuckleShadow + case 829: self = .shucklePurified + case 830: self = .absolNormal + case 831: self = .absolShadow + case 832: self = .absolPurified + case 833: self = .mawileNormal + case 834: self = .mawileShadow + case 835: self = .mawilePurified + case 836: self = .moltresNormal + case 837: self = .moltresShadow + case 838: self = .moltresPurified + case 839: self = .kangaskhanNormal + case 840: self = .kangaskhanShadow + case 841: self = .kangaskhanPurified + case 842: self = .diglettShadow + case 843: self = .diglettPurified + case 844: self = .dugtrioShadow + case 845: self = .dugtrioPurified + case 846: self = .rhyhornNormal + case 847: self = .rhyhornShadow + case 848: self = .rhyhornPurified + case 849: self = .rhydonNormal + case 850: self = .rhydonShadow + case 851: self = .rhydonPurified + case 852: self = .rhyperiorNormal + case 853: self = .rhyperiorShadow + case 854: self = .rhyperiorPurified + case 855: self = .murkrowNormal + case 856: self = .murkrowShadow + case 857: self = .murkrowPurified + case 858: self = .honchkrowNormal + case 859: self = .honchkrowShadow + case 860: self = .honchkrowPurified + case 861: self = .gibleNormal + case 862: self = .gibleShadow + case 863: self = .giblePurified + case 864: self = .gabiteNormal + case 865: self = .gabiteShadow + case 866: self = .gabitePurified + case 867: self = .garchompNormal + case 868: self = .garchompShadow + case 869: self = .garchompPurified + case 870: self = .krabbyNormal + case 871: self = .krabbyShadow + case 872: self = .krabbyPurified + case 873: self = .kinglerNormal + case 874: self = .kinglerShadow + case 875: self = .kinglerPurified + case 876: self = .shellderNormal + case 877: self = .shellderShadow + case 878: self = .shellderPurified + case 879: self = .cloysterNormal + case 880: self = .cloysterShadow + case 881: self = .cloysterPurified + case 882: self = .geodudeShadow + case 883: self = .geodudePurified + case 884: self = .gravelerShadow + case 885: self = .gravelerPurified + case 886: self = .golemShadow + case 887: self = .golemPurified + case 888: self = .hippopotasNormal + case 889: self = .hippopotasShadow + case 890: self = .hippopotasPurified + case 891: self = .hippowdonNormal + case 892: self = .hippowdonShadow + case 893: self = .hippowdonPurified + case 894: self = .pikachuFall2019 + case 895: self = .squirtleFall2019 + case 896: self = .charmanderFall2019 + case 897: self = .bulbasaurFall2019 + case 898: self = .pinsirNormal + case 899: self = .pinsirShadow + case 900: self = .pinsirPurified + case 901: self = .pikachuVs2019 + case 902: self = .onixNormal + case 903: self = .onixShadow + case 904: self = .onixPurified + case 905: self = .steelixNormal + case 906: self = .steelixShadow + case 907: self = .steelixPurified + case 908: self = .shuppetNormal + case 909: self = .shuppetShadow + case 910: self = .shuppetPurified + case 911: self = .banetteNormal + case 912: self = .banetteShadow + case 913: self = .banettePurified + case 914: self = .duskullNormal + case 915: self = .duskullShadow + case 916: self = .duskullPurified + case 917: self = .dusclopsNormal + case 918: self = .dusclopsShadow + case 919: self = .dusclopsPurified + case 920: self = .dusknoirNormal + case 921: self = .dusknoirShadow + case 922: self = .dusknoirPurified + case 923: self = .sableyeNormal + case 924: self = .sableyeShadow + case 925: self = .sableyePurified + case 926: self = .snoruntNormal + case 927: self = .snoruntShadow + case 928: self = .snoruntPurified + case 929: self = .glalieNormal + case 930: self = .glalieShadow + case 931: self = .glaliePurified + case 932: self = .snoverNormal + case 933: self = .snoverShadow + case 934: self = .snoverPurified + case 935: self = .abomasnowNormal + case 936: self = .abomasnowShadow + case 937: self = .abomasnowPurified + case 938: self = .delibirdNormal + case 939: self = .delibirdShadow + case 940: self = .delibirdPurified + case 941: self = .stantlerNormal + case 942: self = .stantlerShadow + case 943: self = .stantlerPurified + case 944: self = .weezingGalarian + case 945: self = .zigzagoonNormal + case 946: self = .zigzagoonGalarian + case 947: self = .linooneNormal + case 948: self = .linooneGalarian + case 949: self = .pikachuCopy2019 + case 950: self = .venusaurCopy2019 + case 951: self = .charizardCopy2019 + case 952: self = .blastoiseCopy2019 + case 953: self = .caterpieNormal + case 954: self = .caterpieShadow + case 955: self = .caterpiePurified + case 956: self = .metapodNormal + case 957: self = .metapodShadow + case 958: self = .metapodPurified + case 959: self = .butterfreeNormal + case 960: self = .butterfreeShadow + case 961: self = .butterfreePurified + case 962: self = .pidgeyNormal + case 963: self = .pidgeyShadow + case 964: self = .pidgeyPurified + case 965: self = .pidgeottoNormal + case 966: self = .pidgeottoShadow + case 967: self = .pidgeottoPurified + case 968: self = .pidgeotNormal + case 969: self = .pidgeotShadow + case 970: self = .pidgeotPurified + case 971: self = .spearowNormal + case 972: self = .spearowShadow + case 973: self = .spearowPurified + case 974: self = .fearowNormal + case 975: self = .fearowShadow + case 976: self = .fearowPurified + case 977: self = .pikachuShadow + case 978: self = .pikachuPurified + case 979: self = .raichuShadow + case 980: self = .raichuPurified + case 981: self = .clefairyNormal + case 982: self = .clefairyShadow + case 983: self = .clefairyPurified + case 984: self = .clefableNormal + case 985: self = .clefableShadow + case 986: self = .clefablePurified + case 987: self = .jigglypuffNormal + case 988: self = .jigglypuffShadow + case 989: self = .jigglypuffPurified + case 990: self = .wigglytuffNormal + case 991: self = .wigglytuffShadow + case 992: self = .wigglytuffPurified + case 993: self = .parasNormal + case 994: self = .parasShadow + case 995: self = .parasPurified + case 996: self = .parasectNormal + case 997: self = .parasectShadow + case 998: self = .parasectPurified + case 999: self = .mankeyNormal + case 1000: self = .mankeyShadow + case 1001: self = .mankeyPurified + case 1002: self = .primeapeNormal + case 1003: self = .primeapeShadow + case 1004: self = .primeapePurified + case 1005: self = .tentacoolNormal + case 1006: self = .tentacoolShadow + case 1007: self = .tentacoolPurified + case 1008: self = .tentacruelNormal + case 1009: self = .tentacruelShadow + case 1010: self = .tentacruelPurified + case 1011: self = .ponytaNormal + case 1012: self = .ponytaShadow + case 1013: self = .ponytaPurified + case 1014: self = .rapidashNormal + case 1015: self = .rapidashShadow + case 1016: self = .rapidashPurified + case 1017: self = .slowpokeNormal + case 1018: self = .slowpokeShadow + case 1019: self = .slowpokePurified + case 1020: self = .slowbroNormal + case 1021: self = .slowbroShadow + case 1022: self = .slowbroPurified + case 1023: self = .farfetchdNormal + case 1024: self = .farfetchdShadow + case 1025: self = .farfetchdPurified + case 1026: self = .doduoNormal + case 1027: self = .doduoShadow + case 1028: self = .doduoPurified + case 1029: self = .dodrioNormal + case 1030: self = .dodrioShadow + case 1031: self = .dodrioPurified + case 1032: self = .seelNormal + case 1033: self = .seelShadow + case 1034: self = .seelPurified + case 1035: self = .dewgongNormal + case 1036: self = .dewgongShadow + case 1037: self = .dewgongPurified + case 1038: self = .gastlyNormal + case 1039: self = .gastlyShadow + case 1040: self = .gastlyPurified + case 1041: self = .haunterNormal + case 1042: self = .haunterShadow + case 1043: self = .haunterPurified + case 1044: self = .gengarNormal + case 1045: self = .gengarShadow + case 1046: self = .gengarPurified + case 1047: self = .voltorbNormal + case 1048: self = .voltorbShadow + case 1049: self = .voltorbPurified + case 1050: self = .electrodeNormal + case 1051: self = .electrodeShadow + case 1052: self = .electrodePurified + case 1053: self = .lickitungNormal + case 1054: self = .lickitungShadow + case 1055: self = .lickitungPurified + case 1056: self = .chanseyNormal + case 1057: self = .chanseyShadow + case 1058: self = .chanseyPurified + case 1059: self = .tangelaNormal + case 1060: self = .tangelaShadow + case 1061: self = .tangelaPurified + case 1062: self = .horseaNormal + case 1063: self = .horseaShadow + case 1064: self = .horseaPurified + case 1065: self = .seadraNormal + case 1066: self = .seadraShadow + case 1067: self = .seadraPurified + case 1068: self = .goldeenNormal + case 1069: self = .goldeenShadow + case 1070: self = .goldeenPurified + case 1071: self = .seakingNormal + case 1072: self = .seakingShadow + case 1073: self = .seakingPurified + case 1074: self = .staryuNormal + case 1075: self = .staryuShadow + case 1076: self = .staryuPurified + case 1077: self = .starmieNormal + case 1078: self = .starmieShadow + case 1079: self = .starmiePurified + case 1080: self = .mrMimeNormal + case 1081: self = .mrMimeShadow + case 1082: self = .mrMimePurified + case 1083: self = .jynxNormal + case 1084: self = .jynxShadow + case 1085: self = .jynxPurified + case 1086: self = .taurosNormal + case 1087: self = .taurosShadow + case 1088: self = .taurosPurified + case 1089: self = .dittoNormal + case 1090: self = .dittoShadow + case 1091: self = .dittoPurified + case 1092: self = .eeveeNormal + case 1093: self = .eeveeShadow + case 1094: self = .eeveePurified + case 1095: self = .vaporeonNormal + case 1096: self = .vaporeonShadow + case 1097: self = .vaporeonPurified + case 1098: self = .jolteonNormal + case 1099: self = .jolteonShadow + case 1100: self = .jolteonPurified + case 1101: self = .flareonNormal + case 1102: self = .flareonShadow + case 1103: self = .flareonPurified + case 1104: self = .kabutoNormal + case 1105: self = .kabutoShadow + case 1106: self = .kabutoPurified + case 1107: self = .kabutopsNormal + case 1108: self = .kabutopsShadow + case 1109: self = .kabutopsPurified + case 1110: self = .aerodactylNormal + case 1111: self = .aerodactylShadow + case 1112: self = .aerodactylPurified + case 1113: self = .mewtwoShadow + case 1114: self = .mewtwoPurified + case 1115: self = .mewNormal + case 1116: self = .mewShadow + case 1117: self = .mewPurified + case 1118: self = .chikoritaNormal + case 1119: self = .chikoritaShadow + case 1120: self = .chikoritaPurified + case 1121: self = .bayleefNormal + case 1122: self = .bayleefShadow + case 1123: self = .bayleefPurified + case 1124: self = .meganiumNormal + case 1125: self = .meganiumShadow + case 1126: self = .meganiumPurified + case 1127: self = .cyndaquilNormal + case 1128: self = .cyndaquilShadow + case 1129: self = .cyndaquilPurified + case 1130: self = .quilavaNormal + case 1131: self = .quilavaShadow + case 1132: self = .quilavaPurified + case 1133: self = .typhlosionNormal + case 1134: self = .typhlosionShadow + case 1135: self = .typhlosionPurified + case 1136: self = .totodileNormal + case 1137: self = .totodileShadow + case 1138: self = .totodilePurified + case 1139: self = .croconawNormal + case 1140: self = .croconawShadow + case 1141: self = .croconawPurified + case 1142: self = .feraligatrNormal + case 1143: self = .feraligatrShadow + case 1144: self = .feraligatrPurified + case 1145: self = .sentretNormal + case 1146: self = .sentretShadow + case 1147: self = .sentretPurified + case 1148: self = .furretNormal + case 1149: self = .furretShadow + case 1150: self = .furretPurified + case 1151: self = .hoothootNormal + case 1152: self = .hoothootShadow + case 1153: self = .hoothootPurified + case 1154: self = .noctowlNormal + case 1155: self = .noctowlShadow + case 1156: self = .noctowlPurified + case 1157: self = .ledybaNormal + case 1158: self = .ledybaShadow + case 1159: self = .ledybaPurified + case 1160: self = .ledianNormal + case 1161: self = .ledianShadow + case 1162: self = .ledianPurified + case 1163: self = .spinarakNormal + case 1164: self = .spinarakShadow + case 1165: self = .spinarakPurified + case 1166: self = .ariadosNormal + case 1167: self = .ariadosShadow + case 1168: self = .ariadosPurified + case 1169: self = .chinchouNormal + case 1170: self = .chinchouShadow + case 1171: self = .chinchouPurified + case 1172: self = .lanturnNormal + case 1173: self = .lanturnShadow + case 1174: self = .lanturnPurified + case 1175: self = .pichuNormal + case 1176: self = .pichuShadow + case 1177: self = .pichuPurified + case 1178: self = .cleffaNormal + case 1179: self = .cleffaShadow + case 1180: self = .cleffaPurified + case 1181: self = .igglybuffNormal + case 1182: self = .igglybuffShadow + case 1183: self = .igglybuffPurified + case 1184: self = .togepiNormal + case 1185: self = .togepiShadow + case 1186: self = .togepiPurified + case 1187: self = .togeticNormal + case 1188: self = .togeticShadow + case 1189: self = .togeticPurified + case 1190: self = .natuNormal + case 1191: self = .natuShadow + case 1192: self = .natuPurified + case 1193: self = .xatuNormal + case 1194: self = .xatuShadow + case 1195: self = .xatuPurified + case 1196: self = .marillNormal + case 1197: self = .marillShadow + case 1198: self = .marillPurified + case 1199: self = .azumarillNormal + case 1200: self = .azumarillShadow + case 1201: self = .azumarillPurified + case 1202: self = .sudowoodoNormal + case 1203: self = .sudowoodoShadow + case 1204: self = .sudowoodoPurified + case 1205: self = .hoppipNormal + case 1206: self = .hoppipShadow + case 1207: self = .hoppipPurified + case 1208: self = .skiploomNormal + case 1209: self = .skiploomShadow + case 1210: self = .skiploomPurified + case 1211: self = .jumpluffNormal + case 1212: self = .jumpluffShadow + case 1213: self = .jumpluffPurified + case 1214: self = .aipomNormal + case 1215: self = .aipomShadow + case 1216: self = .aipomPurified + case 1217: self = .sunkernNormal + case 1218: self = .sunkernShadow + case 1219: self = .sunkernPurified + case 1220: self = .sunfloraNormal + case 1221: self = .sunfloraShadow + case 1222: self = .sunfloraPurified + case 1223: self = .yanmaNormal + case 1224: self = .yanmaShadow + case 1225: self = .yanmaPurified + case 1226: self = .wooperNormal + case 1227: self = .wooperShadow + case 1228: self = .wooperPurified + case 1229: self = .quagsireNormal + case 1230: self = .quagsireShadow + case 1231: self = .quagsirePurified + case 1232: self = .espeonNormal + case 1233: self = .espeonShadow + case 1234: self = .espeonPurified + case 1235: self = .umbreonNormal + case 1236: self = .umbreonShadow + case 1237: self = .umbreonPurified + case 1238: self = .slowkingNormal + case 1239: self = .slowkingShadow + case 1240: self = .slowkingPurified + case 1241: self = .girafarigNormal + case 1242: self = .girafarigShadow + case 1243: self = .girafarigPurified + case 1244: self = .pinecoNormal + case 1245: self = .pinecoShadow + case 1246: self = .pinecoPurified + case 1247: self = .forretressNormal + case 1248: self = .forretressShadow + case 1249: self = .forretressPurified + case 1250: self = .dunsparceNormal + case 1251: self = .dunsparceShadow + case 1252: self = .dunsparcePurified + case 1253: self = .snubbullNormal + case 1254: self = .snubbullShadow + case 1255: self = .snubbullPurified + case 1256: self = .granbullNormal + case 1257: self = .granbullShadow + case 1258: self = .granbullPurified + case 1259: self = .qwilfishNormal + case 1260: self = .qwilfishShadow + case 1261: self = .qwilfishPurified + case 1262: self = .heracrossNormal + case 1263: self = .heracrossShadow + case 1264: self = .heracrossPurified + case 1265: self = .teddiursaNormal + case 1266: self = .teddiursaShadow + case 1267: self = .teddiursaPurified + case 1268: self = .ursaringNormal + case 1269: self = .ursaringShadow + case 1270: self = .ursaringPurified + case 1271: self = .slugmaNormal + case 1272: self = .slugmaShadow + case 1273: self = .slugmaPurified + case 1274: self = .magcargoNormal + case 1275: self = .magcargoShadow + case 1276: self = .magcargoPurified + case 1277: self = .swinubNormal + case 1278: self = .swinubShadow + case 1279: self = .swinubPurified + case 1280: self = .piloswineNormal + case 1281: self = .piloswineShadow + case 1282: self = .piloswinePurified + case 1283: self = .corsolaNormal + case 1284: self = .corsolaShadow + case 1285: self = .corsolaPurified + case 1286: self = .remoraidNormal + case 1287: self = .remoraidShadow + case 1288: self = .remoraidPurified + case 1289: self = .octilleryNormal + case 1290: self = .octilleryShadow + case 1291: self = .octilleryPurified + case 1292: self = .mantineNormal + case 1293: self = .mantineShadow + case 1294: self = .mantinePurified + case 1295: self = .skarmoryNormal + case 1296: self = .skarmoryShadow + case 1297: self = .skarmoryPurified + case 1298: self = .kingdraNormal + case 1299: self = .kingdraShadow + case 1300: self = .kingdraPurified + case 1301: self = .phanpyNormal + case 1302: self = .phanpyShadow + case 1303: self = .phanpyPurified + case 1304: self = .donphanNormal + case 1305: self = .donphanShadow + case 1306: self = .donphanPurified + case 1307: self = .smeargleNormal + case 1308: self = .smeargleShadow + case 1309: self = .smearglePurified + case 1310: self = .tyrogueNormal + case 1311: self = .tyrogueShadow + case 1312: self = .tyroguePurified + case 1313: self = .hitmontopNormal + case 1314: self = .hitmontopShadow + case 1315: self = .hitmontopPurified + case 1316: self = .smoochumNormal + case 1317: self = .smoochumShadow + case 1318: self = .smoochumPurified + case 1319: self = .elekidNormal + case 1320: self = .elekidShadow + case 1321: self = .elekidPurified + case 1322: self = .magbyNormal + case 1323: self = .magbyShadow + case 1324: self = .magbyPurified + case 1325: self = .miltankNormal + case 1326: self = .miltankShadow + case 1327: self = .miltankPurified + case 1328: self = .blisseyNormal + case 1329: self = .blisseyShadow + case 1330: self = .blisseyPurified + case 1331: self = .raikouNormal + case 1332: self = .raikouShadow + case 1333: self = .raikouPurified + case 1334: self = .enteiNormal + case 1335: self = .enteiShadow + case 1336: self = .enteiPurified + case 1337: self = .suicuneNormal + case 1338: self = .suicuneShadow + case 1339: self = .suicunePurified + case 1340: self = .lugiaNormal + case 1341: self = .lugiaShadow + case 1342: self = .lugiaPurified + case 1343: self = .hoOhNormal + case 1344: self = .hoOhShadow + case 1345: self = .hoOhPurified + case 1346: self = .celebiNormal + case 1347: self = .celebiShadow + case 1348: self = .celebiPurified + case 1349: self = .treeckoNormal + case 1350: self = .treeckoShadow + case 1351: self = .treeckoPurified + case 1352: self = .grovyleNormal + case 1353: self = .grovyleShadow + case 1354: self = .grovylePurified + case 1355: self = .sceptileNormal + case 1356: self = .sceptileShadow + case 1357: self = .sceptilePurified + case 1358: self = .torchicNormal + case 1359: self = .torchicShadow + case 1360: self = .torchicPurified + case 1361: self = .combuskenNormal + case 1362: self = .combuskenShadow + case 1363: self = .combuskenPurified + case 1364: self = .blazikenNormal + case 1365: self = .blazikenShadow + case 1366: self = .blazikenPurified + case 1367: self = .poochyenaNormal + case 1368: self = .poochyenaShadow + case 1369: self = .poochyenaPurified + case 1370: self = .mightyenaNormal + case 1371: self = .mightyenaShadow + case 1372: self = .mightyenaPurified + case 1373: self = .zigzagoonShadow + case 1374: self = .zigzagoonPurified + case 1375: self = .linooneShadow + case 1376: self = .linoonePurified + case 1377: self = .wurmpleShadow + case 1378: self = .wurmplePurified + case 1379: self = .silcoonNormal + case 1380: self = .silcoonShadow + case 1381: self = .silcoonPurified + case 1382: self = .beautiflyNormal + case 1383: self = .beautiflyShadow + case 1384: self = .beautiflyPurified + case 1385: self = .cascoonNormal + case 1386: self = .cascoonShadow + case 1387: self = .cascoonPurified + case 1388: self = .dustoxNormal + case 1389: self = .dustoxShadow + case 1390: self = .dustoxPurified + case 1391: self = .lotadNormal + case 1392: self = .lotadShadow + case 1393: self = .lotadPurified + case 1394: self = .lombreNormal + case 1395: self = .lombreShadow + case 1396: self = .lombrePurified + case 1397: self = .ludicoloNormal + case 1398: self = .ludicoloShadow + case 1399: self = .ludicoloPurified + case 1400: self = .taillowNormal + case 1401: self = .taillowShadow + case 1402: self = .taillowPurified + case 1403: self = .swellowNormal + case 1404: self = .swellowShadow + case 1405: self = .swellowPurified + case 1406: self = .wingullNormal + case 1407: self = .wingullShadow + case 1408: self = .wingullPurified + case 1409: self = .pelipperNormal + case 1410: self = .pelipperShadow + case 1411: self = .pelipperPurified + case 1412: self = .surskitNormal + case 1413: self = .surskitShadow + case 1414: self = .surskitPurified + case 1415: self = .masquerainNormal + case 1416: self = .masquerainShadow + case 1417: self = .masquerainPurified + case 1418: self = .shroomishNormal + case 1419: self = .shroomishShadow + case 1420: self = .shroomishPurified + case 1421: self = .breloomNormal + case 1422: self = .breloomShadow + case 1423: self = .breloomPurified + case 1424: self = .slakothNormal + case 1425: self = .slakothShadow + case 1426: self = .slakothPurified + case 1427: self = .vigorothNormal + case 1428: self = .vigorothShadow + case 1429: self = .vigorothPurified + case 1430: self = .slakingNormal + case 1431: self = .slakingShadow + case 1432: self = .slakingPurified + case 1433: self = .nincadaNormal + case 1434: self = .nincadaShadow + case 1435: self = .nincadaPurified + case 1436: self = .ninjaskNormal + case 1437: self = .ninjaskShadow + case 1438: self = .ninjaskPurified + case 1439: self = .shedinjaNormal + case 1440: self = .shedinjaShadow + case 1441: self = .shedinjaPurified + case 1442: self = .whismurNormal + case 1443: self = .whismurShadow + case 1444: self = .whismurPurified + case 1445: self = .loudredNormal + case 1446: self = .loudredShadow + case 1447: self = .loudredPurified + case 1448: self = .exploudNormal + case 1449: self = .exploudShadow + case 1450: self = .exploudPurified + case 1451: self = .makuhitaNormal + case 1452: self = .makuhitaShadow + case 1453: self = .makuhitaPurified + case 1454: self = .hariyamaNormal + case 1455: self = .hariyamaShadow + case 1456: self = .hariyamaPurified + case 1457: self = .azurillNormal + case 1458: self = .azurillShadow + case 1459: self = .azurillPurified + case 1460: self = .nosepassNormal + case 1461: self = .nosepassShadow + case 1462: self = .nosepassPurified + case 1463: self = .skittyNormal + case 1464: self = .skittyShadow + case 1465: self = .skittyPurified + case 1466: self = .delcattyNormal + case 1467: self = .delcattyShadow + case 1468: self = .delcattyPurified + case 1469: self = .aronNormal + case 1470: self = .aronShadow + case 1471: self = .aronPurified + case 1472: self = .laironNormal + case 1473: self = .laironShadow + case 1474: self = .laironPurified + case 1475: self = .aggronNormal + case 1476: self = .aggronShadow + case 1477: self = .aggronPurified + case 1478: self = .medititeNormal + case 1479: self = .medititeShadow + case 1480: self = .medititePurified + case 1481: self = .medichamNormal + case 1482: self = .medichamShadow + case 1483: self = .medichamPurified + case 1484: self = .electrikeNormal + case 1485: self = .electrikeShadow + case 1486: self = .electrikePurified + case 1487: self = .manectricNormal + case 1488: self = .manectricShadow + case 1489: self = .manectricPurified + case 1490: self = .plusleNormal + case 1491: self = .plusleShadow + case 1492: self = .pluslePurified + case 1493: self = .minunNormal + case 1494: self = .minunShadow + case 1495: self = .minunPurified + case 1496: self = .volbeatNormal + case 1497: self = .volbeatShadow + case 1498: self = .volbeatPurified + case 1499: self = .illumiseNormal + case 1500: self = .illumiseShadow + case 1501: self = .illumisePurified + case 1502: self = .roseliaNormal + case 1503: self = .roseliaShadow + case 1504: self = .roseliaPurified + case 1505: self = .gulpinNormal + case 1506: self = .gulpinShadow + case 1507: self = .gulpinPurified + case 1508: self = .swalotNormal + case 1509: self = .swalotShadow + case 1510: self = .swalotPurified + case 1511: self = .wailmerNormal + case 1512: self = .wailmerShadow + case 1513: self = .wailmerPurified + case 1514: self = .wailordNormal + case 1515: self = .wailordShadow + case 1516: self = .wailordPurified + case 1517: self = .numelNormal + case 1518: self = .numelShadow + case 1519: self = .numelPurified + case 1520: self = .cameruptNormal + case 1521: self = .cameruptShadow + case 1522: self = .cameruptPurified + case 1523: self = .torkoalNormal + case 1524: self = .torkoalShadow + case 1525: self = .torkoalPurified + case 1526: self = .spoinkNormal + case 1527: self = .spoinkShadow + case 1528: self = .spoinkPurified + case 1529: self = .grumpigNormal + case 1530: self = .grumpigShadow + case 1531: self = .grumpigPurified + case 1532: self = .swabluNormal + case 1533: self = .swabluShadow + case 1534: self = .swabluPurified + case 1535: self = .altariaNormal + case 1536: self = .altariaShadow + case 1537: self = .altariaPurified + case 1538: self = .zangooseNormal + case 1539: self = .zangooseShadow + case 1540: self = .zangoosePurified + case 1541: self = .seviperNormal + case 1542: self = .seviperShadow + case 1543: self = .seviperPurified + case 1544: self = .lunatoneNormal + case 1545: self = .lunatoneShadow + case 1546: self = .lunatonePurified + case 1547: self = .solrockNormal + case 1548: self = .solrockShadow + case 1549: self = .solrockPurified + case 1550: self = .barboachNormal + case 1551: self = .barboachShadow + case 1552: self = .barboachPurified + case 1553: self = .whiscashNormal + case 1554: self = .whiscashShadow + case 1555: self = .whiscashPurified + case 1556: self = .corphishNormal + case 1557: self = .corphishShadow + case 1558: self = .corphishPurified + case 1559: self = .crawdauntNormal + case 1560: self = .crawdauntShadow + case 1561: self = .crawdauntPurified + case 1562: self = .baltoyNormal + case 1563: self = .baltoyShadow + case 1564: self = .baltoyPurified + case 1565: self = .claydolNormal + case 1566: self = .claydolShadow + case 1567: self = .claydolPurified + case 1568: self = .lileepNormal + case 1569: self = .lileepShadow + case 1570: self = .lileepPurified + case 1571: self = .cradilyNormal + case 1572: self = .cradilyShadow + case 1573: self = .cradilyPurified + case 1574: self = .anorithNormal + case 1575: self = .anorithShadow + case 1576: self = .anorithPurified + case 1577: self = .armaldoNormal + case 1578: self = .armaldoShadow + case 1579: self = .armaldoPurified + case 1580: self = .feebasNormal + case 1581: self = .feebasShadow + case 1582: self = .feebasPurified + case 1583: self = .miloticNormal + case 1584: self = .miloticShadow + case 1585: self = .miloticPurified + case 1586: self = .kecleonNormal + case 1587: self = .kecleonShadow + case 1588: self = .kecleonPurified + case 1589: self = .tropiusNormal + case 1590: self = .tropiusShadow + case 1591: self = .tropiusPurified + case 1592: self = .chimechoNormal + case 1593: self = .chimechoShadow + case 1594: self = .chimechoPurified + case 1595: self = .wynautNormal + case 1596: self = .wynautShadow + case 1597: self = .wynautPurified + case 1598: self = .sphealNormal + case 1599: self = .sphealShadow + case 1600: self = .sphealPurified + case 1601: self = .sealeoNormal + case 1602: self = .sealeoShadow + case 1603: self = .sealeoPurified + case 1604: self = .walreinNormal + case 1605: self = .walreinShadow + case 1606: self = .walreinPurified + case 1607: self = .clamperlNormal + case 1608: self = .clamperlShadow + case 1609: self = .clamperlPurified + case 1610: self = .huntailNormal + case 1611: self = .huntailShadow + case 1612: self = .huntailPurified + case 1613: self = .gorebyssNormal + case 1614: self = .gorebyssShadow + case 1615: self = .gorebyssPurified + case 1616: self = .relicanthNormal + case 1617: self = .relicanthShadow + case 1618: self = .relicanthPurified + case 1619: self = .luvdiscNormal + case 1620: self = .luvdiscShadow + case 1621: self = .luvdiscPurified + case 1622: self = .regirockNormal + case 1623: self = .regirockShadow + case 1624: self = .regirockPurified + case 1625: self = .regiceNormal + case 1626: self = .regiceShadow + case 1627: self = .regicePurified + case 1628: self = .registeelNormal + case 1629: self = .registeelShadow + case 1630: self = .registeelPurified + case 1631: self = .latiasNormal + case 1632: self = .latiasShadow + case 1633: self = .latiasPurified + case 1634: self = .latiosNormal + case 1635: self = .latiosShadow + case 1636: self = .latiosPurified + case 1637: self = .kyogreNormal + case 1638: self = .kyogreShadow + case 1639: self = .kyogrePurified + case 1640: self = .groudonNormal + case 1641: self = .groudonShadow + case 1642: self = .groudonPurified + case 1643: self = .rayquazaNormal + case 1644: self = .rayquazaShadow + case 1645: self = .rayquazaPurified + case 1646: self = .jirachiNormal + case 1647: self = .jirachiShadow + case 1648: self = .jirachiPurified + case 1649: self = .piplupNormal + case 1650: self = .piplupShadow + case 1651: self = .piplupPurified + case 1652: self = .prinplupNormal + case 1653: self = .prinplupShadow + case 1654: self = .prinplupPurified + case 1655: self = .empoleonNormal + case 1656: self = .empoleonShadow + case 1657: self = .empoleonPurified + case 1658: self = .starlyNormal + case 1659: self = .starlyShadow + case 1660: self = .starlyPurified + case 1661: self = .staraviaNormal + case 1662: self = .staraviaShadow + case 1663: self = .staraviaPurified + case 1664: self = .staraptorNormal + case 1665: self = .staraptorShadow + case 1666: self = .staraptorPurified + case 1667: self = .bidoofNormal + case 1668: self = .bidoofShadow + case 1669: self = .bidoofPurified + case 1670: self = .bibarelNormal + case 1671: self = .bibarelShadow + case 1672: self = .bibarelPurified + case 1673: self = .kricketotNormal + case 1674: self = .kricketotShadow + case 1675: self = .kricketotPurified + case 1676: self = .kricketuneNormal + case 1677: self = .kricketuneShadow + case 1678: self = .kricketunePurified + case 1679: self = .shinxNormal + case 1680: self = .shinxShadow + case 1681: self = .shinxPurified + case 1682: self = .luxioNormal + case 1683: self = .luxioShadow + case 1684: self = .luxioPurified + case 1685: self = .luxrayNormal + case 1686: self = .luxrayShadow + case 1687: self = .luxrayPurified + case 1688: self = .budewNormal + case 1689: self = .budewShadow + case 1690: self = .budewPurified + case 1691: self = .roseradeNormal + case 1692: self = .roseradeShadow + case 1693: self = .roseradePurified + case 1694: self = .cranidosNormal + case 1695: self = .cranidosShadow + case 1696: self = .cranidosPurified + case 1697: self = .rampardosNormal + case 1698: self = .rampardosShadow + case 1699: self = .rampardosPurified + case 1700: self = .shieldonNormal + case 1701: self = .shieldonShadow + case 1702: self = .shieldonPurified + case 1703: self = .bastiodonNormal + case 1704: self = .bastiodonShadow + case 1705: self = .bastiodonPurified + case 1706: self = .burmyNormal + case 1707: self = .burmyShadow + case 1708: self = .burmyPurified + case 1709: self = .wormadamNormal + case 1710: self = .wormadamShadow + case 1711: self = .wormadamPurified + case 1712: self = .mothimNormal + case 1713: self = .mothimShadow + case 1714: self = .mothimPurified + case 1715: self = .combeeNormal + case 1716: self = .combeeShadow + case 1717: self = .combeePurified + case 1718: self = .vespiquenNormal + case 1719: self = .vespiquenShadow + case 1720: self = .vespiquenPurified + case 1721: self = .pachirisuNormal + case 1722: self = .pachirisuShadow + case 1723: self = .pachirisuPurified + case 1724: self = .buizelNormal + case 1725: self = .buizelShadow + case 1726: self = .buizelPurified + case 1727: self = .floatzelNormal + case 1728: self = .floatzelShadow + case 1729: self = .floatzelPurified + case 1730: self = .cherubiNormal + case 1731: self = .cherubiShadow + case 1732: self = .cherubiPurified + case 1733: self = .cherrimNormal + case 1734: self = .cherrimShadow + case 1735: self = .cherrimPurified + case 1736: self = .shellosNormal + case 1737: self = .shellosShadow + case 1738: self = .shellosPurified + case 1739: self = .gastrodonNormal + case 1740: self = .gastrodonShadow + case 1741: self = .gastrodonPurified + case 1742: self = .ambipomNormal + case 1743: self = .ambipomShadow + case 1744: self = .ambipomPurified + case 1745: self = .drifloonNormal + case 1746: self = .drifloonShadow + case 1747: self = .drifloonPurified + case 1748: self = .drifblimNormal + case 1749: self = .drifblimShadow + case 1750: self = .drifblimPurified + case 1751: self = .bunearyNormal + case 1752: self = .bunearyShadow + case 1753: self = .bunearyPurified + case 1754: self = .lopunnyNormal + case 1755: self = .lopunnyShadow + case 1756: self = .lopunnyPurified + case 1757: self = .glameowNormal + case 1758: self = .glameowShadow + case 1759: self = .glameowPurified + case 1760: self = .puruglyNormal + case 1761: self = .puruglyShadow + case 1762: self = .puruglyPurified + case 1763: self = .chinglingNormal + case 1764: self = .chinglingShadow + case 1765: self = .chinglingPurified + case 1766: self = .bronzorNormal + case 1767: self = .bronzorShadow + case 1768: self = .bronzorPurified + case 1769: self = .bronzongNormal + case 1770: self = .bronzongShadow + case 1771: self = .bronzongPurified + case 1772: self = .bonslyNormal + case 1773: self = .bonslyShadow + case 1774: self = .bonslyPurified + case 1775: self = .mimeJrNormal + case 1776: self = .mimeJrShadow + case 1777: self = .mimeJrPurified + case 1778: self = .happinyNormal + case 1779: self = .happinyShadow + case 1780: self = .happinyPurified + case 1781: self = .chatotNormal + case 1782: self = .chatotShadow + case 1783: self = .chatotPurified + case 1784: self = .spiritombNormal + case 1785: self = .spiritombShadow + case 1786: self = .spiritombPurified + case 1787: self = .munchlaxNormal + case 1788: self = .munchlaxShadow + case 1789: self = .munchlaxPurified + case 1790: self = .rioluNormal + case 1791: self = .rioluShadow + case 1792: self = .rioluPurified + case 1793: self = .lucarioNormal + case 1794: self = .lucarioShadow + case 1795: self = .lucarioPurified + case 1796: self = .skorupiNormal + case 1797: self = .skorupiShadow + case 1798: self = .skorupiPurified + case 1799: self = .drapionNormal + case 1800: self = .drapionShadow + case 1801: self = .drapionPurified + case 1802: self = .croagunkNormal + case 1803: self = .croagunkShadow + case 1804: self = .croagunkPurified + case 1805: self = .toxicroakNormal + case 1806: self = .toxicroakShadow + case 1807: self = .toxicroakPurified + case 1808: self = .carnivineNormal + case 1809: self = .carnivineShadow + case 1810: self = .carnivinePurified + case 1811: self = .finneonNormal + case 1812: self = .finneonShadow + case 1813: self = .finneonPurified + case 1814: self = .lumineonNormal + case 1815: self = .lumineonShadow + case 1816: self = .lumineonPurified + case 1817: self = .mantykeNormal + case 1818: self = .mantykeShadow + case 1819: self = .mantykePurified + case 1820: self = .lickilickyNormal + case 1821: self = .lickilickyShadow + case 1822: self = .lickilickyPurified + case 1823: self = .tangrowthNormal + case 1824: self = .tangrowthShadow + case 1825: self = .tangrowthPurified + case 1826: self = .togekissNormal + case 1827: self = .togekissShadow + case 1828: self = .togekissPurified + case 1829: self = .yanmegaNormal + case 1830: self = .yanmegaShadow + case 1831: self = .yanmegaPurified + case 1832: self = .leafeonNormal + case 1833: self = .leafeonShadow + case 1834: self = .leafeonPurified + case 1835: self = .glaceonNormal + case 1836: self = .glaceonShadow + case 1837: self = .glaceonPurified + case 1838: self = .mamoswineNormal + case 1839: self = .mamoswineShadow + case 1840: self = .mamoswinePurified + case 1841: self = .probopassNormal + case 1842: self = .probopassShadow + case 1843: self = .probopassPurified + case 1844: self = .froslassNormal + case 1845: self = .froslassShadow + case 1846: self = .froslassPurified + case 1847: self = .uxieNormal + case 1848: self = .uxieShadow + case 1849: self = .uxiePurified + case 1850: self = .mespritNormal + case 1851: self = .mespritShadow + case 1852: self = .mespritPurified + case 1853: self = .azelfNormal + case 1854: self = .azelfShadow + case 1855: self = .azelfPurified + case 1856: self = .dialgaNormal + case 1857: self = .dialgaShadow + case 1858: self = .dialgaPurified + case 1859: self = .palkiaNormal + case 1860: self = .palkiaShadow + case 1861: self = .palkiaPurified + case 1862: self = .heatranNormal + case 1863: self = .heatranShadow + case 1864: self = .heatranPurified + case 1865: self = .regigigasNormal + case 1866: self = .regigigasShadow + case 1867: self = .regigigasPurified + case 1868: self = .giratinaNormal + case 1869: self = .giratinaShadow + case 1870: self = .giratinaPurified + case 1871: self = .cresseliaNormal + case 1872: self = .cresseliaShadow + case 1873: self = .cresseliaPurified + case 1874: self = .phioneNormal + case 1875: self = .phioneShadow + case 1876: self = .phionePurified + case 1877: self = .manaphyNormal + case 1878: self = .manaphyShadow + case 1879: self = .manaphyPurified + case 1880: self = .darkraiNormal + case 1881: self = .darkraiShadow + case 1882: self = .darkraiPurified + case 1883: self = .shayminNormal + case 1884: self = .shayminShadow + case 1885: self = .shayminPurified + case 1886: self = .victiniNormal + case 1887: self = .victiniShadow + case 1888: self = .victiniPurified + case 1889: self = .snivyNormal + case 1890: self = .snivyShadow + case 1891: self = .snivyPurified + case 1892: self = .servineNormal + case 1893: self = .servineShadow + case 1894: self = .servinePurified + case 1895: self = .serperiorNormal + case 1896: self = .serperiorShadow + case 1897: self = .serperiorPurified + case 1898: self = .tepigNormal + case 1899: self = .tepigShadow + case 1900: self = .tepigPurified + case 1901: self = .pigniteNormal + case 1902: self = .pigniteShadow + case 1903: self = .pignitePurified + case 1904: self = .emboarNormal + case 1905: self = .emboarShadow + case 1906: self = .emboarPurified + case 1907: self = .oshawottNormal + case 1908: self = .oshawottShadow + case 1909: self = .oshawottPurified + case 1910: self = .dewottNormal + case 1911: self = .dewottShadow + case 1912: self = .dewottPurified + case 1913: self = .samurottNormal + case 1914: self = .samurottShadow + case 1915: self = .samurottPurified + case 1916: self = .patratNormal + case 1917: self = .patratShadow + case 1918: self = .patratPurified + case 1919: self = .watchogNormal + case 1920: self = .watchogShadow + case 1921: self = .watchogPurified + case 1922: self = .lillipupNormal + case 1923: self = .lillipupShadow + case 1924: self = .lillipupPurified + case 1925: self = .herdierNormal + case 1926: self = .herdierShadow + case 1927: self = .herdierPurified + case 1928: self = .stoutlandNormal + case 1929: self = .stoutlandShadow + case 1930: self = .stoutlandPurified + case 1931: self = .purrloinNormal + case 1932: self = .purrloinShadow + case 1933: self = .purrloinPurified + case 1934: self = .liepardNormal + case 1935: self = .liepardShadow + case 1936: self = .liepardPurified + case 1937: self = .pansageNormal + case 1938: self = .pansageShadow + case 1939: self = .pansagePurified + case 1940: self = .simisageNormal + case 1941: self = .simisageShadow + case 1942: self = .simisagePurified + case 1943: self = .pansearNormal + case 1944: self = .pansearShadow + case 1945: self = .pansearPurified + case 1946: self = .simisearNormal + case 1947: self = .simisearShadow + case 1948: self = .simisearPurified + case 1949: self = .panpourNormal + case 1950: self = .panpourShadow + case 1951: self = .panpourPurified + case 1952: self = .simipourNormal + case 1953: self = .simipourShadow + case 1954: self = .simipourPurified + case 1955: self = .munnaNormal + case 1956: self = .munnaShadow + case 1957: self = .munnaPurified + case 1958: self = .musharnaNormal + case 1959: self = .musharnaShadow + case 1960: self = .musharnaPurified + case 1961: self = .pidoveNormal + case 1962: self = .pidoveShadow + case 1963: self = .pidovePurified + case 1964: self = .tranquillNormal + case 1965: self = .tranquillShadow + case 1966: self = .tranquillPurified + case 1967: self = .unfezantNormal + case 1968: self = .unfezantShadow + case 1969: self = .unfezantPurified + case 1970: self = .blitzleNormal + case 1971: self = .blitzleShadow + case 1972: self = .blitzlePurified + case 1973: self = .zebstrikaNormal + case 1974: self = .zebstrikaShadow + case 1975: self = .zebstrikaPurified + case 1976: self = .roggenrolaNormal + case 1977: self = .roggenrolaShadow + case 1978: self = .roggenrolaPurified + case 1979: self = .boldoreNormal + case 1980: self = .boldoreShadow + case 1981: self = .boldorePurified + case 1982: self = .gigalithNormal + case 1983: self = .gigalithShadow + case 1984: self = .gigalithPurified + case 1985: self = .woobatNormal + case 1986: self = .woobatShadow + case 1987: self = .woobatPurified + case 1988: self = .swoobatNormal + case 1989: self = .swoobatShadow + case 1990: self = .swoobatPurified + case 1991: self = .drilburNormal + case 1992: self = .drilburShadow + case 1993: self = .drilburPurified + case 1994: self = .excadrillNormal + case 1995: self = .excadrillShadow + case 1996: self = .excadrillPurified + case 1997: self = .audinoNormal + case 1998: self = .audinoShadow + case 1999: self = .audinoPurified + case 2000: self = .timburrNormal + case 2001: self = .timburrShadow + case 2002: self = .timburrPurified + case 2003: self = .gurdurrNormal + case 2004: self = .gurdurrShadow + case 2005: self = .gurdurrPurified + case 2006: self = .conkeldurrNormal + case 2007: self = .conkeldurrShadow + case 2008: self = .conkeldurrPurified + case 2009: self = .tympoleNormal + case 2010: self = .tympoleShadow + case 2011: self = .tympolePurified + case 2012: self = .palpitoadNormal + case 2013: self = .palpitoadShadow + case 2014: self = .palpitoadPurified + case 2015: self = .seismitoadNormal + case 2016: self = .seismitoadShadow + case 2017: self = .seismitoadPurified + case 2018: self = .throhNormal + case 2019: self = .throhShadow + case 2020: self = .throhPurified + case 2021: self = .sawkNormal + case 2022: self = .sawkShadow + case 2023: self = .sawkPurified + case 2024: self = .sewaddleNormal + case 2025: self = .sewaddleShadow + case 2026: self = .sewaddlePurified + case 2027: self = .swadloonNormal + case 2028: self = .swadloonShadow + case 2029: self = .swadloonPurified + case 2030: self = .leavannyNormal + case 2031: self = .leavannyShadow + case 2032: self = .leavannyPurified + case 2033: self = .venipedeNormal + case 2034: self = .venipedeShadow + case 2035: self = .venipedePurified + case 2036: self = .whirlipedeNormal + case 2037: self = .whirlipedeShadow + case 2038: self = .whirlipedePurified + case 2039: self = .scolipedeNormal + case 2040: self = .scolipedeShadow + case 2041: self = .scolipedePurified + case 2042: self = .cottoneeNormal + case 2043: self = .cottoneeShadow + case 2044: self = .cottoneePurified + case 2045: self = .whimsicottNormal + case 2046: self = .whimsicottShadow + case 2047: self = .whimsicottPurified + case 2048: self = .petililNormal + case 2049: self = .petililShadow + case 2050: self = .petililPurified + case 2051: self = .lilligantNormal + case 2052: self = .lilligantShadow + case 2053: self = .lilligantPurified + case 2054: self = .sandileNormal + case 2055: self = .sandileShadow + case 2056: self = .sandilePurified + case 2057: self = .krokorokNormal + case 2058: self = .krokorokShadow + case 2059: self = .krokorokPurified + case 2060: self = .krookodileNormal + case 2061: self = .krookodileShadow + case 2062: self = .krookodilePurified + case 2063: self = .darumakaNormal + case 2064: self = .darumakaShadow + case 2065: self = .darumakaPurified + case 2066: self = .maractusNormal + case 2067: self = .maractusShadow + case 2068: self = .maractusPurified + case 2069: self = .dwebbleNormal + case 2070: self = .dwebbleShadow + case 2071: self = .dwebblePurified + case 2072: self = .crustleNormal + case 2073: self = .crustleShadow + case 2074: self = .crustlePurified + case 2075: self = .scraggyNormal + case 2076: self = .scraggyShadow + case 2077: self = .scraggyPurified + case 2078: self = .scraftyNormal + case 2079: self = .scraftyShadow + case 2080: self = .scraftyPurified + case 2081: self = .sigilyphNormal + case 2082: self = .sigilyphShadow + case 2083: self = .sigilyphPurified + case 2084: self = .yamaskNormal + case 2085: self = .yamaskShadow + case 2086: self = .yamaskPurified + case 2087: self = .cofagrigusNormal + case 2088: self = .cofagrigusShadow + case 2089: self = .cofagrigusPurified + case 2090: self = .tirtougaNormal + case 2091: self = .tirtougaShadow + case 2092: self = .tirtougaPurified + case 2093: self = .carracostaNormal + case 2094: self = .carracostaShadow + case 2095: self = .carracostaPurified + case 2096: self = .archenNormal + case 2097: self = .archenShadow + case 2098: self = .archenPurified + case 2099: self = .archeopsNormal + case 2100: self = .archeopsShadow + case 2101: self = .archeopsPurified + case 2102: self = .trubbishNormal + case 2103: self = .trubbishShadow + case 2104: self = .trubbishPurified + case 2105: self = .garbodorNormal + case 2106: self = .garbodorShadow + case 2107: self = .garbodorPurified + case 2108: self = .zoruaNormal + case 2109: self = .zoruaShadow + case 2110: self = .zoruaPurified + case 2111: self = .zoroarkNormal + case 2112: self = .zoroarkShadow + case 2113: self = .zoroarkPurified + case 2114: self = .minccinoNormal + case 2115: self = .minccinoShadow + case 2116: self = .minccinoPurified + case 2117: self = .cinccinoNormal + case 2118: self = .cinccinoShadow + case 2119: self = .cinccinoPurified + case 2120: self = .gothitaNormal + case 2121: self = .gothitaShadow + case 2122: self = .gothitaPurified + case 2123: self = .gothoritaNormal + case 2124: self = .gothoritaShadow + case 2125: self = .gothoritaPurified + case 2126: self = .gothitelleNormal + case 2127: self = .gothitelleShadow + case 2128: self = .gothitellePurified + case 2129: self = .solosisNormal + case 2130: self = .solosisShadow + case 2131: self = .solosisPurified + case 2132: self = .duosionNormal + case 2133: self = .duosionShadow + case 2134: self = .duosionPurified + case 2135: self = .reuniclusNormal + case 2136: self = .reuniclusShadow + case 2137: self = .reuniclusPurified + case 2138: self = .ducklettNormal + case 2139: self = .ducklettShadow + case 2140: self = .ducklettPurified + case 2141: self = .swannaNormal + case 2142: self = .swannaShadow + case 2143: self = .swannaPurified + case 2144: self = .vanilliteNormal + case 2145: self = .vanilliteShadow + case 2146: self = .vanillitePurified + case 2147: self = .vanillishNormal + case 2148: self = .vanillishShadow + case 2149: self = .vanillishPurified + case 2150: self = .vanilluxeNormal + case 2151: self = .vanilluxeShadow + case 2152: self = .vanilluxePurified + case 2153: self = .emolgaNormal + case 2154: self = .emolgaShadow + case 2155: self = .emolgaPurified + case 2156: self = .karrablastNormal + case 2157: self = .karrablastShadow + case 2158: self = .karrablastPurified + case 2159: self = .escavalierNormal + case 2160: self = .escavalierShadow + case 2161: self = .escavalierPurified + case 2162: self = .foongusNormal + case 2163: self = .foongusShadow + case 2164: self = .foongusPurified + case 2165: self = .amoongussNormal + case 2166: self = .amoongussShadow + case 2167: self = .amoongussPurified + case 2168: self = .frillishNormal + case 2169: self = .frillishShadow + case 2170: self = .frillishPurified + case 2171: self = .jellicentNormal + case 2172: self = .jellicentShadow + case 2173: self = .jellicentPurified + case 2174: self = .alomomolaNormal + case 2175: self = .alomomolaShadow + case 2176: self = .alomomolaPurified + case 2177: self = .joltikNormal + case 2178: self = .joltikShadow + case 2179: self = .joltikPurified + case 2180: self = .galvantulaNormal + case 2181: self = .galvantulaShadow + case 2182: self = .galvantulaPurified + case 2183: self = .ferroseedNormal + case 2184: self = .ferroseedShadow + case 2185: self = .ferroseedPurified + case 2186: self = .ferrothornNormal + case 2187: self = .ferrothornShadow + case 2188: self = .ferrothornPurified + case 2189: self = .klinkNormal + case 2190: self = .klinkShadow + case 2191: self = .klinkPurified + case 2192: self = .klangNormal + case 2193: self = .klangShadow + case 2194: self = .klangPurified + case 2195: self = .klinklangNormal + case 2196: self = .klinklangShadow + case 2197: self = .klinklangPurified + case 2198: self = .tynamoNormal + case 2199: self = .tynamoShadow + case 2200: self = .tynamoPurified + case 2201: self = .eelektrikNormal + case 2202: self = .eelektrikShadow + case 2203: self = .eelektrikPurified + case 2204: self = .eelektrossNormal + case 2205: self = .eelektrossShadow + case 2206: self = .eelektrossPurified + case 2207: self = .elgyemNormal + case 2208: self = .elgyemShadow + case 2209: self = .elgyemPurified + case 2210: self = .beheeyemNormal + case 2211: self = .beheeyemShadow + case 2212: self = .beheeyemPurified + case 2213: self = .litwickNormal + case 2214: self = .litwickShadow + case 2215: self = .litwickPurified + case 2216: self = .lampentNormal + case 2217: self = .lampentShadow + case 2218: self = .lampentPurified + case 2219: self = .chandelureNormal + case 2220: self = .chandelureShadow + case 2221: self = .chandelurePurified + case 2222: self = .axewNormal + case 2223: self = .axewShadow + case 2224: self = .axewPurified + case 2225: self = .fraxureNormal + case 2226: self = .fraxureShadow + case 2227: self = .fraxurePurified + case 2228: self = .haxorusNormal + case 2229: self = .haxorusShadow + case 2230: self = .haxorusPurified + case 2231: self = .cubchooNormal + case 2232: self = .cubchooShadow + case 2233: self = .cubchooPurified + case 2234: self = .bearticNormal + case 2235: self = .bearticShadow + case 2236: self = .bearticPurified + case 2237: self = .cryogonalNormal + case 2238: self = .cryogonalShadow + case 2239: self = .cryogonalPurified + case 2240: self = .shelmetNormal + case 2241: self = .shelmetShadow + case 2242: self = .shelmetPurified + case 2243: self = .accelgorNormal + case 2244: self = .accelgorShadow + case 2245: self = .accelgorPurified + case 2246: self = .stunfiskNormal + case 2247: self = .stunfiskShadow + case 2248: self = .stunfiskPurified + case 2249: self = .mienfooNormal + case 2250: self = .mienfooShadow + case 2251: self = .mienfooPurified + case 2252: self = .mienshaoNormal + case 2253: self = .mienshaoShadow + case 2254: self = .mienshaoPurified + case 2255: self = .druddigonNormal + case 2256: self = .druddigonShadow + case 2257: self = .druddigonPurified + case 2258: self = .golettNormal + case 2259: self = .golettShadow + case 2260: self = .golettPurified + case 2261: self = .golurkNormal + case 2262: self = .golurkShadow + case 2263: self = .golurkPurified + case 2264: self = .pawniardNormal + case 2265: self = .pawniardShadow + case 2266: self = .pawniardPurified + case 2267: self = .bisharpNormal + case 2268: self = .bisharpShadow + case 2269: self = .bisharpPurified + case 2270: self = .bouffalantNormal + case 2271: self = .bouffalantShadow + case 2272: self = .bouffalantPurified + case 2273: self = .ruffletNormal + case 2274: self = .ruffletShadow + case 2275: self = .ruffletPurified + case 2276: self = .braviaryNormal + case 2277: self = .braviaryShadow + case 2278: self = .braviaryPurified + case 2279: self = .vullabyNormal + case 2280: self = .vullabyShadow + case 2281: self = .vullabyPurified + case 2282: self = .mandibuzzNormal + case 2283: self = .mandibuzzShadow + case 2284: self = .mandibuzzPurified + case 2285: self = .heatmorNormal + case 2286: self = .heatmorShadow + case 2287: self = .heatmorPurified + case 2288: self = .durantNormal + case 2289: self = .durantShadow + case 2290: self = .durantPurified + case 2291: self = .deinoNormal + case 2292: self = .deinoShadow + case 2293: self = .deinoPurified + case 2294: self = .zweilousNormal + case 2295: self = .zweilousShadow + case 2296: self = .zweilousPurified + case 2297: self = .hydreigonNormal + case 2298: self = .hydreigonShadow + case 2299: self = .hydreigonPurified + case 2300: self = .larvestaNormal + case 2301: self = .larvestaShadow + case 2302: self = .larvestaPurified + case 2303: self = .volcaronaNormal + case 2304: self = .volcaronaShadow + case 2305: self = .volcaronaPurified + case 2306: self = .cobalionNormal + case 2307: self = .cobalionShadow + case 2308: self = .cobalionPurified + case 2309: self = .terrakionNormal + case 2310: self = .terrakionShadow + case 2311: self = .terrakionPurified + case 2312: self = .virizionNormal + case 2313: self = .virizionShadow + case 2314: self = .virizionPurified + case 2315: self = .reshiramNormal + case 2316: self = .reshiramShadow + case 2317: self = .reshiramPurified + case 2318: self = .zekromNormal + case 2319: self = .zekromShadow + case 2320: self = .zekromPurified + case 2321: self = .meltanNormal + case 2322: self = .meltanShadow + case 2323: self = .meltanPurified + case 2324: self = .melmetalNormal + case 2325: self = .melmetalShadow + case 2326: self = .melmetalPurified + case 2327: self = .wurmpleSpring2020 + case 2328: self = .wobbuffetSpring2020 + case 2329: self = .raticateSpring2020 + case 2330: self = .frillishFemale + case 2331: self = .jellicentFemale + case 2332: self = .pikachuCostume2020 + case 2333: self = .dragoniteCostume2020 + case 2334: self = .onixCostume2020 + case 2335: self = .meowthGalarian + case 2336: self = .ponytaGalarian + case 2337: self = .rapidashGalarian + case 2338: self = .farfetchdGalarian + case 2339: self = .mrMimeGalarian + case 2340: self = .corsolaGalarian + case 2341: self = .darumakaGalarian + case 2342: self = .darmanitanGalarianStandard + case 2343: self = .darmanitanGalarianZen + case 2344: self = .yamaskGalarian + case 2345: self = .stunfiskGalarian + case 2463: self = .toxtricityLowKey + case 2464: self = .toxtricityAmped + case 2477: self = .sinisteaPhony + case 2478: self = .sinisteaAntique + case 2480: self = .polteageistPhony + case 2481: self = .polteageistAntique + case 2501: self = .obstagoonNormal + case 2502: self = .obstagoonShadow + case 2503: self = .obstagoonPurified + case 2504: self = .perrserkerNormal + case 2505: self = .perrserkerShadow + case 2506: self = .perrserkerPurified + case 2507: self = .cursolaNormal + case 2508: self = .cursolaShadow + case 2509: self = .cursolaPurified + case 2510: self = .sirfetchdNormal + case 2511: self = .sirfetchdShadow + case 2512: self = .sirfetchdPurified + case 2513: self = .mrRimeNormal + case 2514: self = .mrRimeShadow + case 2515: self = .mrRimePurified + case 2516: self = .runerigusNormal + case 2517: self = .runerigusShadow + case 2518: self = .runerigusPurified + case 2540: self = .eiscueIce + case 2541: self = .eiscueNoice + case 2542: self = .indeedeeMale + case 2543: self = .indeedeeFemale + case 2544: self = .morpekoFullBelly + case 2545: self = .morpekoHangry + case 2576: self = .zacianCrownedSword + case 2577: self = .zacianHero + case 2578: self = .zamazentaCrownedShield + case 2579: self = .zamazentaHero + case 2580: self = .eternatusEternamax + case 2581: self = .eternatusNormal + case 2582: self = .slowpokeGalarian + case 2583: self = .slowbroGalarian + case 2584: self = .slowkingGalarian + case 2585: self = .laprasCostume2020 + case 2586: self = .gengarCostume2020 + case 2587: self = .pyroarNormal + case 2588: self = .pyroarFemale + case 2589: self = .meowsticNormal + case 2590: self = .meowsticFemale + case 2591: self = .zygardeTenPercent + case 2592: self = .zygardeFiftyPercent + case 2593: self = .zygardeComplete + case 2594: self = .vivillonArchipelago + case 2595: self = .vivillonContinental + case 2596: self = .vivillonElegant + case 2597: self = .vivillonFancy + case 2598: self = .vivillonGarden + case 2599: self = .vivillonHighPlains + case 2600: self = .vivillonIcySnow + case 2601: self = .vivillonJungle + case 2602: self = .vivillonMarine + case 2603: self = .vivillonMeadow + case 2604: self = .vivillonModern + case 2605: self = .vivillonMonsoon + case 2606: self = .vivillonOcean + case 2607: self = .vivillonPokeball + case 2608: self = .vivillonPolar + case 2609: self = .vivillonRiver + case 2610: self = .vivillonSandstorm + case 2611: self = .vivillonSavanna + case 2612: self = .vivillonSun + case 2613: self = .vivillonTundra + case 2614: self = .flabebeRed + case 2615: self = .flabebeYellow + case 2616: self = .flabebeOrange + case 2617: self = .flabebeBlue + case 2618: self = .flabebeWhite + case 2619: self = .floetteRed + case 2620: self = .floetteYellow + case 2621: self = .floetteOrange + case 2622: self = .floetteBlue + case 2623: self = .floetteWhite + case 2624: self = .florgesRed + case 2625: self = .florgesYellow + case 2626: self = .florgesOrange + case 2627: self = .florgesBlue + case 2628: self = .florgesWhite + case 2629: self = .furfrouNatural + case 2630: self = .furfrouHeart + case 2631: self = .furfrouStar + case 2632: self = .furfrouDiamond + case 2633: self = .furfrouDebutante + case 2634: self = .furfrouMatron + case 2635: self = .furfrouDandy + case 2636: self = .furfrouLaReine + case 2637: self = .furfrouKabuki + case 2638: self = .furfrouPharaoh + case 2639: self = .aegislashShield + case 2640: self = .aegislashBlade + case 2641: self = .pumpkabooSmall + case 2642: self = .pumpkabooAverage + case 2643: self = .pumpkabooLarge + case 2644: self = .pumpkabooSuper + case 2645: self = .gourgeistSmall + case 2646: self = .gourgeistAverage + case 2647: self = .gourgeistLarge + case 2648: self = .gourgeistSuper + case 2649: self = .xerneasNeutral + case 2650: self = .xerneasActive + case 2651: self = .hoopaConfined + case 2652: self = .hoopaUnbound + case 2666: self = .sableyeCostume2020Deprecated + case 2668: self = .sableyeCostume2020 + case 2669: self = .pikachuAdventureHat2020 + case 2670: self = .pikachuWinter2020 + case 2671: self = .delibirdWinter2020 + case 2672: self = .cubchooWinter2020 + case 2673: self = .slowpoke2020 + case 2674: self = .slowbro2021 + case 2675: self = .pikachuKariyushi + case 2676: self = .pikachuPopStar + case 2677: self = .pikachuRockStar + case 2678: self = .pikachuFlying5ThAnniv + case 2679: self = .oricorioBaile + case 2680: self = .oricorioPompom + case 2681: self = .oricorioPau + case 2683: self = .oricorioSensu + case 2684: self = .lycanrocMidday + case 2685: self = .lycanrocMidnight + case 2686: self = .lycanrocDusk + case 2687: self = .wishiwashiSolo + case 2688: self = .wishiwashiSchool + case 2689: self = .silvallyNormal + case 2690: self = .silvallyBug + case 2691: self = .silvallyDark + case 2692: self = .silvallyDragon + case 2693: self = .silvallyElectric + case 2694: self = .silvallyFairy + case 2695: self = .silvallyFighting + case 2696: self = .silvallyFire + case 2697: self = .silvallyFlying + case 2698: self = .silvallyGhost + case 2699: self = .silvallyGrass + case 2700: self = .silvallyGround + case 2701: self = .silvallyIce + case 2702: self = .silvallyPoison + case 2703: self = .silvallyPsychic + case 2704: self = .silvallyRock + case 2705: self = .silvallySteel + case 2706: self = .silvallyWater + case 2707: self = .miniorMeteorBlue + case 2708: self = .miniorBlue + case 2709: self = .miniorGreen + case 2710: self = .miniorIndigo + case 2711: self = .miniorOrange + case 2712: self = .miniorRed + case 2713: self = .miniorViolet + case 2714: self = .miniorYellow + case 2715: self = .mimikyuBusted + case 2716: self = .mimikyuDisguised + case 2717: self = .necrozmaNormal + case 2718: self = .necrozmaDuskMane + case 2719: self = .necrozmaDawnWings + case 2720: self = .necrozmaUltra + case 2721: self = .magearnaNormal + case 2722: self = .magearnaOriginalColor + case 2723: self = .urshifuSingleStrike + case 2724: self = .urshifuRapidStrike + case 2725: self = .calyrexNormal + case 2726: self = .calyrexIceRider + case 2727: self = .calyrexShadowRider + case 2728: self = .voltorbHisuian + case 2729: self = .lugiaS + case 2730: self = .hoOhS + case 2731: self = .raikouS + case 2732: self = .enteiS + case 2733: self = .suicuneS + case 2734: self = .slowking2022 + case 2735: self = .electrodeHisuian + case 2736: self = .pikachuFlyingOkinawa + case 2737: self = .rockruffDusk + case 2739: self = .miniorMeteorGreen + case 2740: self = .miniorMeteorIndigo + case 2741: self = .miniorMeteorOrange + case 2742: self = .miniorMeteorRed + case 2743: self = .miniorMeteorViolet + case 2744: self = .miniorMeteorYellow + case 2745: self = .scatterbugArchipelago + case 2746: self = .scatterbugContinental + case 2747: self = .scatterbugElegant + case 2748: self = .scatterbugFancy + case 2749: self = .scatterbugGarden + case 2750: self = .scatterbugHighPlains + case 2751: self = .scatterbugIcySnow + case 2752: self = .scatterbugJungle + case 2753: self = .scatterbugMarine + case 2754: self = .scatterbugMeadow + case 2755: self = .scatterbugModern + case 2756: self = .scatterbugMonsoon + case 2757: self = .scatterbugOcean + case 2758: self = .scatterbugPokeball + case 2759: self = .scatterbugPolar + case 2760: self = .scatterbugRiver + case 2761: self = .scatterbugSandstorm + case 2762: self = .scatterbugSavanna + case 2763: self = .scatterbugSun + case 2764: self = .scatterbugTundra + case 2765: self = .spewpaArchipelago + case 2766: self = .spewpaContinental + case 2767: self = .spewpaElegant + case 2768: self = .spewpaFancy + case 2769: self = .spewpaGarden + case 2770: self = .spewpaHighPlains + case 2771: self = .spewpaIcySnow + case 2772: self = .spewpaJungle + case 2773: self = .spewpaMarine + case 2774: self = .spewpaMeadow + case 2775: self = .spewpaModern + case 2776: self = .spewpaMonsoon + case 2777: self = .spewpaOcean + case 2778: self = .spewpaPokeball + case 2779: self = .spewpaPolar + case 2780: self = .spewpaRiver + case 2781: self = .spewpaSandstorm + case 2782: self = .spewpaSavanna + case 2783: self = .spewpaSun + case 2784: self = .spewpaTundra + case 2785: self = .decidueyeHisuian + case 2786: self = .typhlosionHisuian + case 2787: self = .samurottHisuian + case 2788: self = .qwilfishHisuian + case 2789: self = .lilligantHisuian + case 2790: self = .sliggooHisuian + case 2791: self = .goodraHisuian + case 2792: self = .growlitheHisuian + case 2793: self = .arcanineHisuian + case 2794: self = .sneaselHisuian + case 2795: self = .avaluggHisuian + case 2796: self = .zoruaHisuian + case 2797: self = .zoroarkHisuian + case 2798: self = .braviaryHisuian + case 2799: self = .moltresGalarian + case 2800: self = .zapdosGalarian + case 2801: self = .articunoGalarian + case 2802: self = .enamorusIncarnate + case 2803: self = .enamorusTherian + case 2804: self = .basculinWhiteStriped + case 2805: self = .pikachuGofest2022 + case 2806: self = .pikachuWcs2022 + case 2807: self = .basculegionNormal + case 2808: self = .basculegionFemale + case 2809: self = .decidueyeNormal + case 2810: self = .sliggooNormal + case 2811: self = .goodraNormal + case 2812: self = .avaluggNormal + case 2813: self = .pikachuTshirt01 + case 2814: self = .pikachuTshirt02 + case 2815: self = .pikachuFlying01 + case 2816: self = .pikachuFlying02 + case 2817: self = .ursalunaNormal + case 2818: self = .ursalunaShadow + case 2819: self = .ursalunaPurified + case 2820: self = .bearticWinter2020 + case 2821: self = .latiasS + case 2822: self = .latiosS + case 2823: self = .zygardeCompleteTenPercent + case 2824: self = .zygardeCompleteFiftyPercent + case 2825: self = .pikachuGotour2024A + case 2826: self = .pikachuGotour2024B + case 2827: self = .pikachuGotour2024A02 + case 2828: self = .pikachuGotour2024B02 + case 2829: self = .dialgaOrigin + case 2830: self = .palkiaOrigin + case 2831: self = .rockruffNormal + case 2832: self = .pikachuTshirt03 + case 2833: self = .pikachuFlying04 + case 2834: self = .pikachuTshirt04 + case 2835: self = .pikachuTshirt05 + case 2836: self = .pikachuTshirt06 + case 2837: self = .pikachuTshirt07 + case 2838: self = .pikachuFlying05 + case 2839: self = .pikachuFlying06 + case 2840: self = .pikachuFlying07 + case 2841: self = .pikachuFlying08 + case 2981: self = .oinkologneNormal + case 2982: self = .oinkologneFemale + case 2983: self = .mausholdFamilyOfThree + case 2984: self = .mausholdFamilyOfFour + case 2985: self = .squawkabillyGreen + case 2986: self = .squawkabillyBlue + case 2987: self = .squawkabillyYellow + case 2988: self = .squawkabillyWhite + case 2989: self = .palafinZero + case 2990: self = .palafinHero + case 2991: self = .tatsugiriCurly + case 2992: self = .tatsugiriDroopy + case 2993: self = .tatsugiriStretchy + case 2994: self = .dudunsparceTwo + case 2995: self = .dudunsparceThree + case 2996: self = .koraidonApex + case 2997: self = .miraidonUltimate + case 2998: self = .gimmighoulNormal + case 3000: self = .gholdengoNormal + case 3001: self = .aerodactylSummer2023 + case 3002: self = .pikachuSummer2023A + case 3003: self = .pikachuSummer2023B + case 3004: self = .pikachuSummer2023C + case 3005: self = .pikachuSummer2023D + case 3006: self = .taurosPaldeaCombat + case 3007: self = .taurosPaldeaBlaze + case 3008: self = .taurosPaldeaAqua + case 3009: self = .wooperPaldea + case 3010: self = .pikachuSummer2023E + case 3011: self = .pikachuFlying03 + case 3012: self = .pikachuJeju + case 3013: self = .pikachuDoctor + case 3014: self = .pikachuWcs2023 + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .unownA: return 1 + case .unownB: return 2 + case .unownC: return 3 + case .unownD: return 4 + case .unownE: return 5 + case .unownF: return 6 + case .unownG: return 7 + case .unownH: return 8 + case .unownI: return 9 + case .unownJ: return 10 + case .unownK: return 11 + case .unownL: return 12 + case .unownM: return 13 + case .unownN: return 14 + case .unownO: return 15 + case .unownP: return 16 + case .unownQ: return 17 + case .unownR: return 18 + case .unownS: return 19 + case .unownT: return 20 + case .unownU: return 21 + case .unownV: return 22 + case .unownW: return 23 + case .unownX: return 24 + case .unownY: return 25 + case .unownZ: return 26 + case .unownExclamationPoint: return 27 + case .unownQuestionMark: return 28 + case .castformNormal: return 29 + case .castformSunny: return 30 + case .castformRainy: return 31 + case .castformSnowy: return 32 + case .deoxysNormal: return 33 + case .deoxysAttack: return 34 + case .deoxysDefense: return 35 + case .deoxysSpeed: return 36 + case .spinda00: return 37 + case .spinda01: return 38 + case .spinda02: return 39 + case .spinda03: return 40 + case .spinda04: return 41 + case .spinda05: return 42 + case .spinda06: return 43 + case .spinda07: return 44 + case .rattataNormal: return 45 + case .rattataAlola: return 46 + case .raticateNormal: return 47 + case .raticateAlola: return 48 + case .raichuNormal: return 49 + case .raichuAlola: return 50 + case .sandshrewNormal: return 51 + case .sandshrewAlola: return 52 + case .sandslashNormal: return 53 + case .sandslashAlola: return 54 + case .vulpixNormal: return 55 + case .vulpixAlola: return 56 + case .ninetalesNormal: return 57 + case .ninetalesAlola: return 58 + case .diglettNormal: return 59 + case .diglettAlola: return 60 + case .dugtrioNormal: return 61 + case .dugtrioAlola: return 62 + case .meowthNormal: return 63 + case .meowthAlola: return 64 + case .persianNormal: return 65 + case .persianAlola: return 66 + case .geodudeNormal: return 67 + case .geodudeAlola: return 68 + case .gravelerNormal: return 69 + case .gravelerAlola: return 70 + case .golemNormal: return 71 + case .golemAlola: return 72 + case .grimerNormal: return 73 + case .grimerAlola: return 74 + case .mukNormal: return 75 + case .mukAlola: return 76 + case .exeggutorNormal: return 77 + case .exeggutorAlola: return 78 + case .marowakNormal: return 79 + case .marowakAlola: return 80 + case .rotomNormal: return 81 + case .rotomFrost: return 82 + case .rotomFan: return 83 + case .rotomMow: return 84 + case .rotomWash: return 85 + case .rotomHeat: return 86 + case .wormadamPlant: return 87 + case .wormadamSandy: return 88 + case .wormadamTrash: return 89 + case .giratinaAltered: return 90 + case .giratinaOrigin: return 91 + case .shayminSky: return 92 + case .shayminLand: return 93 + case .cherrimOvercast: return 94 + case .cherrimSunny: return 95 + case .shellosWestSea: return 96 + case .shellosEastSea: return 97 + case .gastrodonWestSea: return 98 + case .gastrodonEastSea: return 99 + case .arceusNormal: return 100 + case .arceusFighting: return 101 + case .arceusFlying: return 102 + case .arceusPoison: return 103 + case .arceusGround: return 104 + case .arceusRock: return 105 + case .arceusBug: return 106 + case .arceusGhost: return 107 + case .arceusSteel: return 108 + case .arceusFire: return 109 + case .arceusWater: return 110 + case .arceusGrass: return 111 + case .arceusElectric: return 112 + case .arceusPsychic: return 113 + case .arceusIce: return 114 + case .arceusDragon: return 115 + case .arceusDark: return 116 + case .arceusFairy: return 117 + case .burmyPlant: return 118 + case .burmySandy: return 119 + case .burmyTrash: return 120 + case .spinda08: return 121 + case .spinda09: return 122 + case .spinda10: return 123 + case .spinda11: return 124 + case .spinda12: return 125 + case .spinda13: return 126 + case .spinda14: return 127 + case .spinda15: return 128 + case .spinda16: return 129 + case .spinda17: return 130 + case .spinda18: return 131 + case .spinda19: return 132 + case .mewtwoA: return 133 + case .mewtwoNormal: return 135 + case .basculinRedStriped: return 136 + case .basculinBlueStriped: return 137 + case .darmanitanStandard: return 138 + case .darmanitanZen: return 139 + case .tornadusIncarnate: return 140 + case .tornadusTherian: return 141 + case .thundurusIncarnate: return 142 + case .thundurusTherian: return 143 + case .landorusIncarnate: return 144 + case .landorusTherian: return 145 + case .kyuremNormal: return 146 + case .kyuremBlack: return 147 + case .kyuremWhite: return 148 + case .keldeoOrdinary: return 149 + case .keldeoResolute: return 150 + case .meloettaAria: return 151 + case .meloettaPirouette: return 152 + case .rattataShadow: return 153 + case .rattataPurified: return 154 + case .raticateShadow: return 155 + case .raticatePurified: return 156 + case .zubatNormal: return 157 + case .zubatShadow: return 158 + case .zubatPurified: return 159 + case .golbatNormal: return 160 + case .golbatShadow: return 161 + case .golbatPurified: return 162 + case .bulbasaurNormal: return 163 + case .bulbasaurShadow: return 164 + case .bulbasaurPurified: return 165 + case .ivysaurNormal: return 166 + case .ivysaurShadow: return 167 + case .ivysaurPurified: return 168 + case .venusaurNormal: return 169 + case .venusaurShadow: return 170 + case .venusaurPurified: return 171 + case .charmanderNormal: return 172 + case .charmanderShadow: return 173 + case .charmanderPurified: return 174 + case .charmeleonNormal: return 175 + case .charmeleonShadow: return 176 + case .charmeleonPurified: return 177 + case .charizardNormal: return 178 + case .charizardShadow: return 179 + case .charizardPurified: return 180 + case .squirtleNormal: return 181 + case .squirtleShadow: return 182 + case .squirtlePurified: return 183 + case .wartortleNormal: return 184 + case .wartortleShadow: return 185 + case .wartortlePurified: return 186 + case .blastoiseNormal: return 187 + case .blastoiseShadow: return 188 + case .blastoisePurified: return 189 + case .dratiniNormal: return 190 + case .dratiniShadow: return 191 + case .dratiniPurified: return 192 + case .dragonairNormal: return 193 + case .dragonairShadow: return 194 + case .dragonairPurified: return 195 + case .dragoniteNormal: return 196 + case .dragoniteShadow: return 197 + case .dragonitePurified: return 198 + case .snorlaxNormal: return 199 + case .snorlaxShadow: return 200 + case .snorlaxPurified: return 201 + case .crobatNormal: return 202 + case .crobatShadow: return 203 + case .crobatPurified: return 204 + case .mudkipNormal: return 205 + case .mudkipShadow: return 206 + case .mudkipPurified: return 207 + case .marshtompNormal: return 208 + case .marshtompShadow: return 209 + case .marshtompPurified: return 210 + case .swampertNormal: return 211 + case .swampertShadow: return 212 + case .swampertPurified: return 213 + case .drowzeeNormal: return 214 + case .drowzeeShadow: return 215 + case .drowzeePurified: return 216 + case .hypnoNormal: return 217 + case .hypnoShadow: return 218 + case .hypnoPurified: return 219 + case .grimerShadow: return 220 + case .grimerPurified: return 221 + case .mukShadow: return 222 + case .mukPurified: return 223 + case .cuboneNormal: return 224 + case .cuboneShadow: return 225 + case .cubonePurified: return 226 + case .marowakShadow: return 227 + case .marowakPurified: return 228 + case .houndourNormal: return 229 + case .houndourShadow: return 230 + case .houndourPurified: return 231 + case .houndoomNormal: return 232 + case .houndoomShadow: return 233 + case .houndoomPurified: return 234 + case .poliwagNormal: return 235 + case .poliwagShadow: return 236 + case .poliwagPurified: return 237 + case .poliwhirlNormal: return 238 + case .poliwhirlShadow: return 239 + case .poliwhirlPurified: return 240 + case .poliwrathNormal: return 241 + case .poliwrathShadow: return 242 + case .poliwrathPurified: return 243 + case .politoedNormal: return 244 + case .politoedShadow: return 245 + case .politoedPurified: return 246 + case .scytherNormal: return 247 + case .scytherShadow: return 248 + case .scytherPurified: return 249 + case .scizorNormal: return 250 + case .scizorShadow: return 251 + case .scizorPurified: return 252 + case .magikarpNormal: return 253 + case .magikarpShadow: return 254 + case .magikarpPurified: return 255 + case .gyaradosNormal: return 256 + case .gyaradosShadow: return 257 + case .gyaradosPurified: return 258 + case .venonatNormal: return 259 + case .venonatShadow: return 260 + case .venonatPurified: return 261 + case .venomothNormal: return 262 + case .venomothShadow: return 263 + case .venomothPurified: return 264 + case .oddishNormal: return 265 + case .oddishShadow: return 266 + case .oddishPurified: return 267 + case .gloomNormal: return 268 + case .gloomShadow: return 269 + case .gloomPurified: return 270 + case .vileplumeNormal: return 271 + case .vileplumeShadow: return 272 + case .vileplumePurified: return 273 + case .bellossomNormal: return 274 + case .bellossomShadow: return 275 + case .bellossomPurified: return 276 + case .hitmonchanNormal: return 277 + case .hitmonchanShadow: return 278 + case .hitmonchanPurified: return 279 + case .growlitheNormal: return 280 + case .growlitheShadow: return 281 + case .growlithePurified: return 282 + case .arcanineNormal: return 283 + case .arcanineShadow: return 284 + case .arcaninePurified: return 285 + case .psyduckNormal: return 286 + case .psyduckShadow: return 287 + case .psyduckPurified: return 288 + case .golduckNormal: return 289 + case .golduckShadow: return 290 + case .golduckPurified: return 291 + case .raltsNormal: return 292 + case .raltsShadow: return 293 + case .raltsPurified: return 294 + case .kirliaNormal: return 295 + case .kirliaShadow: return 296 + case .kirliaPurified: return 297 + case .gardevoirNormal: return 298 + case .gardevoirShadow: return 299 + case .gardevoirPurified: return 300 + case .galladeNormal: return 301 + case .galladeShadow: return 302 + case .galladePurified: return 303 + case .abraNormal: return 304 + case .abraShadow: return 305 + case .abraPurified: return 306 + case .kadabraNormal: return 307 + case .kadabraShadow: return 308 + case .kadabraPurified: return 309 + case .alakazamNormal: return 310 + case .alakazamShadow: return 311 + case .alakazamPurified: return 312 + case .larvitarNormal: return 313 + case .larvitarShadow: return 314 + case .larvitarPurified: return 315 + case .pupitarNormal: return 316 + case .pupitarShadow: return 317 + case .pupitarPurified: return 318 + case .tyranitarNormal: return 319 + case .tyranitarShadow: return 320 + case .tyranitarPurified: return 321 + case .laprasNormal: return 322 + case .laprasShadow: return 323 + case .laprasPurified: return 324 + case .deerlingSpring: return 585 + case .deerlingSummer: return 586 + case .deerlingAutumn: return 587 + case .deerlingWinter: return 588 + case .sawsbuckSpring: return 589 + case .sawsbuckSummer: return 590 + case .sawsbuckAutumn: return 591 + case .sawsbuckWinter: return 592 + case .genesectNormal: return 593 + case .genesectShock: return 594 + case .genesectBurn: return 595 + case .genesectChill: return 596 + case .genesectDouse: return 597 + case .pikachuNormal: return 598 + case .wurmpleNormal: return 600 + case .wobbuffetNormal: return 602 + case .cacneaNormal: return 610 + case .cacneaShadow: return 611 + case .cacneaPurified: return 612 + case .cacturneNormal: return 613 + case .cacturneShadow: return 614 + case .cacturnePurified: return 615 + case .weedleNormal: return 616 + case .weedleShadow: return 617 + case .weedlePurified: return 618 + case .kakunaNormal: return 619 + case .kakunaShadow: return 620 + case .kakunaPurified: return 621 + case .beedrillNormal: return 622 + case .beedrillShadow: return 623 + case .beedrillPurified: return 624 + case .seedotNormal: return 625 + case .seedotShadow: return 626 + case .seedotPurified: return 627 + case .nuzleafNormal: return 628 + case .nuzleafShadow: return 629 + case .nuzleafPurified: return 630 + case .shiftryNormal: return 631 + case .shiftryShadow: return 632 + case .shiftryPurified: return 633 + case .magmarNormal: return 634 + case .magmarShadow: return 635 + case .magmarPurified: return 636 + case .magmortarNormal: return 637 + case .magmortarShadow: return 638 + case .magmortarPurified: return 639 + case .electabuzzNormal: return 640 + case .electabuzzShadow: return 641 + case .electabuzzPurified: return 642 + case .electivireNormal: return 643 + case .electivireShadow: return 644 + case .electivirePurified: return 645 + case .mareepNormal: return 646 + case .mareepShadow: return 647 + case .mareepPurified: return 648 + case .flaaffyNormal: return 649 + case .flaaffyShadow: return 650 + case .flaaffyPurified: return 651 + case .ampharosNormal: return 652 + case .ampharosShadow: return 653 + case .ampharosPurified: return 654 + case .magnemiteNormal: return 655 + case .magnemiteShadow: return 656 + case .magnemitePurified: return 657 + case .magnetonNormal: return 658 + case .magnetonShadow: return 659 + case .magnetonPurified: return 660 + case .magnezoneNormal: return 661 + case .magnezoneShadow: return 662 + case .magnezonePurified: return 663 + case .bellsproutNormal: return 664 + case .bellsproutShadow: return 665 + case .bellsproutPurified: return 666 + case .weepinbellNormal: return 667 + case .weepinbellShadow: return 668 + case .weepinbellPurified: return 669 + case .victreebelNormal: return 670 + case .victreebelShadow: return 671 + case .victreebelPurified: return 672 + case .sandshrewShadow: return 673 + case .sandshrewPurified: return 674 + case .sandslashShadow: return 675 + case .sandslashPurified: return 676 + case .porygonNormal: return 677 + case .porygonShadow: return 678 + case .porygonPurified: return 679 + case .porygon2Normal: return 680 + case .porygon2Shadow: return 681 + case .porygon2Purified: return 682 + case .porygonZNormal: return 683 + case .porygonZShadow: return 684 + case .porygonZPurified: return 685 + case .wobbuffetShadow: return 686 + case .wobbuffetPurified: return 687 + case .turtwigNormal: return 688 + case .turtwigShadow: return 689 + case .turtwigPurified: return 690 + case .grotleNormal: return 691 + case .grotleShadow: return 692 + case .grotlePurified: return 693 + case .torterraNormal: return 694 + case .torterraShadow: return 695 + case .torterraPurified: return 696 + case .ekansNormal: return 697 + case .ekansShadow: return 698 + case .ekansPurified: return 699 + case .arbokNormal: return 700 + case .arbokShadow: return 701 + case .arbokPurified: return 702 + case .koffingNormal: return 703 + case .koffingShadow: return 704 + case .koffingPurified: return 705 + case .weezingNormal: return 706 + case .weezingShadow: return 707 + case .weezingPurified: return 708 + case .meowthShadow: return 709 + case .meowthPurified: return 710 + case .persianShadow: return 711 + case .persianPurified: return 712 + case .hitmonleeNormal: return 713 + case .hitmonleeShadow: return 714 + case .hitmonleePurified: return 715 + case .articunoNormal: return 716 + case .articunoShadow: return 717 + case .articunoPurified: return 718 + case .misdreavusNormal: return 719 + case .misdreavusShadow: return 720 + case .misdreavusPurified: return 721 + case .mismagiusNormal: return 722 + case .mismagiusShadow: return 723 + case .mismagiusPurified: return 724 + case .vulpixShadow: return 725 + case .vulpixPurified: return 726 + case .ninetalesShadow: return 727 + case .ninetalesPurified: return 728 + case .exeggcuteNormal: return 729 + case .exeggcuteShadow: return 730 + case .exeggcutePurified: return 731 + case .exeggutorShadow: return 732 + case .exeggutorPurified: return 733 + case .carvanhaNormal: return 734 + case .carvanhaShadow: return 735 + case .carvanhaPurified: return 736 + case .sharpedoNormal: return 737 + case .sharpedoShadow: return 738 + case .sharpedoPurified: return 739 + case .omanyteNormal: return 740 + case .omanyteShadow: return 741 + case .omanytePurified: return 742 + case .omastarNormal: return 743 + case .omastarShadow: return 744 + case .omastarPurified: return 745 + case .trapinchNormal: return 746 + case .trapinchShadow: return 747 + case .trapinchPurified: return 748 + case .vibravaNormal: return 749 + case .vibravaShadow: return 750 + case .vibravaPurified: return 751 + case .flygonNormal: return 752 + case .flygonShadow: return 753 + case .flygonPurified: return 754 + case .bagonNormal: return 755 + case .bagonShadow: return 756 + case .bagonPurified: return 757 + case .shelgonNormal: return 758 + case .shelgonShadow: return 759 + case .shelgonPurified: return 760 + case .salamenceNormal: return 761 + case .salamenceShadow: return 762 + case .salamencePurified: return 763 + case .beldumNormal: return 764 + case .beldumShadow: return 765 + case .beldumPurified: return 766 + case .metangNormal: return 767 + case .metangShadow: return 768 + case .metangPurified: return 769 + default: break + } + switch self { + case .metagrossNormal: return 770 + case .metagrossShadow: return 771 + case .metagrossPurified: return 772 + case .zapdosNormal: return 773 + case .zapdosShadow: return 774 + case .zapdosPurified: return 775 + case .nidoranNormal: return 776 + case .nidoranShadow: return 777 + case .nidoranPurified: return 778 + case .nidorinaNormal: return 779 + case .nidorinaShadow: return 780 + case .nidorinaPurified: return 781 + case .nidoqueenNormal: return 782 + case .nidoqueenShadow: return 783 + case .nidoqueenPurified: return 784 + case .nidorinoNormal: return 785 + case .nidorinoShadow: return 786 + case .nidorinoPurified: return 787 + case .nidokingNormal: return 788 + case .nidokingShadow: return 789 + case .nidokingPurified: return 790 + case .stunkyNormal: return 791 + case .stunkyShadow: return 792 + case .stunkyPurified: return 793 + case .skuntankNormal: return 794 + case .skuntankShadow: return 795 + case .skuntankPurified: return 796 + case .sneaselNormal: return 797 + case .sneaselShadow: return 798 + case .sneaselPurified: return 799 + case .weavileNormal: return 800 + case .weavileShadow: return 801 + case .weavilePurified: return 802 + case .gligarNormal: return 803 + case .gligarShadow: return 804 + case .gligarPurified: return 805 + case .gliscorNormal: return 806 + case .gliscorShadow: return 807 + case .gliscorPurified: return 808 + case .machopNormal: return 809 + case .machopShadow: return 810 + case .machopPurified: return 811 + case .machokeNormal: return 812 + case .machokeShadow: return 813 + case .machokePurified: return 814 + case .machampNormal: return 815 + case .machampShadow: return 816 + case .machampPurified: return 817 + case .chimcharNormal: return 818 + case .chimcharShadow: return 819 + case .chimcharPurified: return 820 + case .monfernoNormal: return 821 + case .monfernoShadow: return 822 + case .monfernoPurified: return 823 + case .infernapeNormal: return 824 + case .infernapeShadow: return 825 + case .infernapePurified: return 826 + case .shuckleNormal: return 827 + case .shuckleShadow: return 828 + case .shucklePurified: return 829 + case .absolNormal: return 830 + case .absolShadow: return 831 + case .absolPurified: return 832 + case .mawileNormal: return 833 + case .mawileShadow: return 834 + case .mawilePurified: return 835 + case .moltresNormal: return 836 + case .moltresShadow: return 837 + case .moltresPurified: return 838 + case .kangaskhanNormal: return 839 + case .kangaskhanShadow: return 840 + case .kangaskhanPurified: return 841 + case .diglettShadow: return 842 + case .diglettPurified: return 843 + case .dugtrioShadow: return 844 + case .dugtrioPurified: return 845 + case .rhyhornNormal: return 846 + case .rhyhornShadow: return 847 + case .rhyhornPurified: return 848 + case .rhydonNormal: return 849 + case .rhydonShadow: return 850 + case .rhydonPurified: return 851 + case .rhyperiorNormal: return 852 + case .rhyperiorShadow: return 853 + case .rhyperiorPurified: return 854 + case .murkrowNormal: return 855 + case .murkrowShadow: return 856 + case .murkrowPurified: return 857 + case .honchkrowNormal: return 858 + case .honchkrowShadow: return 859 + case .honchkrowPurified: return 860 + case .gibleNormal: return 861 + case .gibleShadow: return 862 + case .giblePurified: return 863 + case .gabiteNormal: return 864 + case .gabiteShadow: return 865 + case .gabitePurified: return 866 + case .garchompNormal: return 867 + case .garchompShadow: return 868 + case .garchompPurified: return 869 + case .krabbyNormal: return 870 + case .krabbyShadow: return 871 + case .krabbyPurified: return 872 + case .kinglerNormal: return 873 + case .kinglerShadow: return 874 + case .kinglerPurified: return 875 + case .shellderNormal: return 876 + case .shellderShadow: return 877 + case .shellderPurified: return 878 + case .cloysterNormal: return 879 + case .cloysterShadow: return 880 + case .cloysterPurified: return 881 + case .geodudeShadow: return 882 + case .geodudePurified: return 883 + case .gravelerShadow: return 884 + case .gravelerPurified: return 885 + case .golemShadow: return 886 + case .golemPurified: return 887 + case .hippopotasNormal: return 888 + case .hippopotasShadow: return 889 + case .hippopotasPurified: return 890 + case .hippowdonNormal: return 891 + case .hippowdonShadow: return 892 + case .hippowdonPurified: return 893 + case .pikachuFall2019: return 894 + case .squirtleFall2019: return 895 + case .charmanderFall2019: return 896 + case .bulbasaurFall2019: return 897 + case .pinsirNormal: return 898 + case .pinsirShadow: return 899 + case .pinsirPurified: return 900 + case .pikachuVs2019: return 901 + case .onixNormal: return 902 + case .onixShadow: return 903 + case .onixPurified: return 904 + case .steelixNormal: return 905 + case .steelixShadow: return 906 + case .steelixPurified: return 907 + case .shuppetNormal: return 908 + case .shuppetShadow: return 909 + case .shuppetPurified: return 910 + case .banetteNormal: return 911 + case .banetteShadow: return 912 + case .banettePurified: return 913 + case .duskullNormal: return 914 + case .duskullShadow: return 915 + case .duskullPurified: return 916 + case .dusclopsNormal: return 917 + case .dusclopsShadow: return 918 + case .dusclopsPurified: return 919 + case .dusknoirNormal: return 920 + case .dusknoirShadow: return 921 + case .dusknoirPurified: return 922 + case .sableyeNormal: return 923 + case .sableyeShadow: return 924 + case .sableyePurified: return 925 + case .snoruntNormal: return 926 + case .snoruntShadow: return 927 + case .snoruntPurified: return 928 + case .glalieNormal: return 929 + case .glalieShadow: return 930 + case .glaliePurified: return 931 + case .snoverNormal: return 932 + case .snoverShadow: return 933 + case .snoverPurified: return 934 + case .abomasnowNormal: return 935 + case .abomasnowShadow: return 936 + case .abomasnowPurified: return 937 + case .delibirdNormal: return 938 + case .delibirdShadow: return 939 + case .delibirdPurified: return 940 + case .stantlerNormal: return 941 + case .stantlerShadow: return 942 + case .stantlerPurified: return 943 + case .weezingGalarian: return 944 + case .zigzagoonNormal: return 945 + case .zigzagoonGalarian: return 946 + case .linooneNormal: return 947 + case .linooneGalarian: return 948 + case .pikachuCopy2019: return 949 + case .venusaurCopy2019: return 950 + case .charizardCopy2019: return 951 + case .blastoiseCopy2019: return 952 + case .caterpieNormal: return 953 + case .caterpieShadow: return 954 + case .caterpiePurified: return 955 + case .metapodNormal: return 956 + case .metapodShadow: return 957 + case .metapodPurified: return 958 + case .butterfreeNormal: return 959 + case .butterfreeShadow: return 960 + case .butterfreePurified: return 961 + case .pidgeyNormal: return 962 + case .pidgeyShadow: return 963 + case .pidgeyPurified: return 964 + case .pidgeottoNormal: return 965 + case .pidgeottoShadow: return 966 + case .pidgeottoPurified: return 967 + case .pidgeotNormal: return 968 + case .pidgeotShadow: return 969 + case .pidgeotPurified: return 970 + case .spearowNormal: return 971 + case .spearowShadow: return 972 + case .spearowPurified: return 973 + case .fearowNormal: return 974 + case .fearowShadow: return 975 + case .fearowPurified: return 976 + case .pikachuShadow: return 977 + case .pikachuPurified: return 978 + case .raichuShadow: return 979 + case .raichuPurified: return 980 + case .clefairyNormal: return 981 + case .clefairyShadow: return 982 + case .clefairyPurified: return 983 + case .clefableNormal: return 984 + case .clefableShadow: return 985 + case .clefablePurified: return 986 + case .jigglypuffNormal: return 987 + case .jigglypuffShadow: return 988 + case .jigglypuffPurified: return 989 + case .wigglytuffNormal: return 990 + case .wigglytuffShadow: return 991 + case .wigglytuffPurified: return 992 + case .parasNormal: return 993 + case .parasShadow: return 994 + case .parasPurified: return 995 + case .parasectNormal: return 996 + case .parasectShadow: return 997 + case .parasectPurified: return 998 + case .mankeyNormal: return 999 + case .mankeyShadow: return 1000 + case .mankeyPurified: return 1001 + case .primeapeNormal: return 1002 + case .primeapeShadow: return 1003 + case .primeapePurified: return 1004 + case .tentacoolNormal: return 1005 + case .tentacoolShadow: return 1006 + case .tentacoolPurified: return 1007 + case .tentacruelNormal: return 1008 + case .tentacruelShadow: return 1009 + case .tentacruelPurified: return 1010 + case .ponytaNormal: return 1011 + case .ponytaShadow: return 1012 + case .ponytaPurified: return 1013 + case .rapidashNormal: return 1014 + case .rapidashShadow: return 1015 + case .rapidashPurified: return 1016 + case .slowpokeNormal: return 1017 + case .slowpokeShadow: return 1018 + case .slowpokePurified: return 1019 + case .slowbroNormal: return 1020 + case .slowbroShadow: return 1021 + case .slowbroPurified: return 1022 + case .farfetchdNormal: return 1023 + case .farfetchdShadow: return 1024 + case .farfetchdPurified: return 1025 + case .doduoNormal: return 1026 + case .doduoShadow: return 1027 + case .doduoPurified: return 1028 + case .dodrioNormal: return 1029 + case .dodrioShadow: return 1030 + case .dodrioPurified: return 1031 + case .seelNormal: return 1032 + case .seelShadow: return 1033 + case .seelPurified: return 1034 + case .dewgongNormal: return 1035 + case .dewgongShadow: return 1036 + case .dewgongPurified: return 1037 + case .gastlyNormal: return 1038 + case .gastlyShadow: return 1039 + case .gastlyPurified: return 1040 + case .haunterNormal: return 1041 + case .haunterShadow: return 1042 + case .haunterPurified: return 1043 + case .gengarNormal: return 1044 + case .gengarShadow: return 1045 + case .gengarPurified: return 1046 + case .voltorbNormal: return 1047 + case .voltorbShadow: return 1048 + case .voltorbPurified: return 1049 + case .electrodeNormal: return 1050 + case .electrodeShadow: return 1051 + case .electrodePurified: return 1052 + case .lickitungNormal: return 1053 + case .lickitungShadow: return 1054 + case .lickitungPurified: return 1055 + case .chanseyNormal: return 1056 + case .chanseyShadow: return 1057 + case .chanseyPurified: return 1058 + case .tangelaNormal: return 1059 + case .tangelaShadow: return 1060 + case .tangelaPurified: return 1061 + case .horseaNormal: return 1062 + case .horseaShadow: return 1063 + case .horseaPurified: return 1064 + case .seadraNormal: return 1065 + case .seadraShadow: return 1066 + case .seadraPurified: return 1067 + case .goldeenNormal: return 1068 + case .goldeenShadow: return 1069 + case .goldeenPurified: return 1070 + case .seakingNormal: return 1071 + case .seakingShadow: return 1072 + case .seakingPurified: return 1073 + case .staryuNormal: return 1074 + case .staryuShadow: return 1075 + case .staryuPurified: return 1076 + case .starmieNormal: return 1077 + case .starmieShadow: return 1078 + case .starmiePurified: return 1079 + case .mrMimeNormal: return 1080 + case .mrMimeShadow: return 1081 + case .mrMimePurified: return 1082 + case .jynxNormal: return 1083 + case .jynxShadow: return 1084 + case .jynxPurified: return 1085 + case .taurosNormal: return 1086 + case .taurosShadow: return 1087 + case .taurosPurified: return 1088 + case .dittoNormal: return 1089 + case .dittoShadow: return 1090 + case .dittoPurified: return 1091 + case .eeveeNormal: return 1092 + case .eeveeShadow: return 1093 + case .eeveePurified: return 1094 + case .vaporeonNormal: return 1095 + case .vaporeonShadow: return 1096 + case .vaporeonPurified: return 1097 + case .jolteonNormal: return 1098 + case .jolteonShadow: return 1099 + case .jolteonPurified: return 1100 + case .flareonNormal: return 1101 + case .flareonShadow: return 1102 + case .flareonPurified: return 1103 + case .kabutoNormal: return 1104 + case .kabutoShadow: return 1105 + case .kabutoPurified: return 1106 + case .kabutopsNormal: return 1107 + case .kabutopsShadow: return 1108 + case .kabutopsPurified: return 1109 + case .aerodactylNormal: return 1110 + case .aerodactylShadow: return 1111 + case .aerodactylPurified: return 1112 + case .mewtwoShadow: return 1113 + case .mewtwoPurified: return 1114 + case .mewNormal: return 1115 + case .mewShadow: return 1116 + case .mewPurified: return 1117 + case .chikoritaNormal: return 1118 + case .chikoritaShadow: return 1119 + case .chikoritaPurified: return 1120 + case .bayleefNormal: return 1121 + case .bayleefShadow: return 1122 + case .bayleefPurified: return 1123 + case .meganiumNormal: return 1124 + case .meganiumShadow: return 1125 + case .meganiumPurified: return 1126 + case .cyndaquilNormal: return 1127 + case .cyndaquilShadow: return 1128 + case .cyndaquilPurified: return 1129 + case .quilavaNormal: return 1130 + case .quilavaShadow: return 1131 + case .quilavaPurified: return 1132 + case .typhlosionNormal: return 1133 + case .typhlosionShadow: return 1134 + case .typhlosionPurified: return 1135 + case .totodileNormal: return 1136 + case .totodileShadow: return 1137 + case .totodilePurified: return 1138 + case .croconawNormal: return 1139 + case .croconawShadow: return 1140 + case .croconawPurified: return 1141 + case .feraligatrNormal: return 1142 + case .feraligatrShadow: return 1143 + case .feraligatrPurified: return 1144 + case .sentretNormal: return 1145 + case .sentretShadow: return 1146 + case .sentretPurified: return 1147 + case .furretNormal: return 1148 + case .furretShadow: return 1149 + case .furretPurified: return 1150 + case .hoothootNormal: return 1151 + case .hoothootShadow: return 1152 + case .hoothootPurified: return 1153 + case .noctowlNormal: return 1154 + case .noctowlShadow: return 1155 + case .noctowlPurified: return 1156 + case .ledybaNormal: return 1157 + case .ledybaShadow: return 1158 + case .ledybaPurified: return 1159 + case .ledianNormal: return 1160 + case .ledianShadow: return 1161 + case .ledianPurified: return 1162 + case .spinarakNormal: return 1163 + case .spinarakShadow: return 1164 + case .spinarakPurified: return 1165 + case .ariadosNormal: return 1166 + case .ariadosShadow: return 1167 + case .ariadosPurified: return 1168 + case .chinchouNormal: return 1169 + case .chinchouShadow: return 1170 + case .chinchouPurified: return 1171 + case .lanturnNormal: return 1172 + case .lanturnShadow: return 1173 + case .lanturnPurified: return 1174 + case .pichuNormal: return 1175 + case .pichuShadow: return 1176 + case .pichuPurified: return 1177 + case .cleffaNormal: return 1178 + case .cleffaShadow: return 1179 + case .cleffaPurified: return 1180 + case .igglybuffNormal: return 1181 + case .igglybuffShadow: return 1182 + case .igglybuffPurified: return 1183 + case .togepiNormal: return 1184 + case .togepiShadow: return 1185 + case .togepiPurified: return 1186 + case .togeticNormal: return 1187 + case .togeticShadow: return 1188 + case .togeticPurified: return 1189 + case .natuNormal: return 1190 + case .natuShadow: return 1191 + case .natuPurified: return 1192 + case .xatuNormal: return 1193 + case .xatuShadow: return 1194 + case .xatuPurified: return 1195 + case .marillNormal: return 1196 + case .marillShadow: return 1197 + case .marillPurified: return 1198 + case .azumarillNormal: return 1199 + case .azumarillShadow: return 1200 + case .azumarillPurified: return 1201 + case .sudowoodoNormal: return 1202 + case .sudowoodoShadow: return 1203 + case .sudowoodoPurified: return 1204 + case .hoppipNormal: return 1205 + case .hoppipShadow: return 1206 + case .hoppipPurified: return 1207 + case .skiploomNormal: return 1208 + case .skiploomShadow: return 1209 + case .skiploomPurified: return 1210 + case .jumpluffNormal: return 1211 + case .jumpluffShadow: return 1212 + case .jumpluffPurified: return 1213 + case .aipomNormal: return 1214 + case .aipomShadow: return 1215 + case .aipomPurified: return 1216 + case .sunkernNormal: return 1217 + case .sunkernShadow: return 1218 + case .sunkernPurified: return 1219 + case .sunfloraNormal: return 1220 + case .sunfloraShadow: return 1221 + case .sunfloraPurified: return 1222 + case .yanmaNormal: return 1223 + case .yanmaShadow: return 1224 + case .yanmaPurified: return 1225 + case .wooperNormal: return 1226 + case .wooperShadow: return 1227 + case .wooperPurified: return 1228 + case .quagsireNormal: return 1229 + case .quagsireShadow: return 1230 + case .quagsirePurified: return 1231 + case .espeonNormal: return 1232 + case .espeonShadow: return 1233 + case .espeonPurified: return 1234 + case .umbreonNormal: return 1235 + case .umbreonShadow: return 1236 + case .umbreonPurified: return 1237 + case .slowkingNormal: return 1238 + case .slowkingShadow: return 1239 + case .slowkingPurified: return 1240 + case .girafarigNormal: return 1241 + case .girafarigShadow: return 1242 + case .girafarigPurified: return 1243 + case .pinecoNormal: return 1244 + case .pinecoShadow: return 1245 + case .pinecoPurified: return 1246 + case .forretressNormal: return 1247 + case .forretressShadow: return 1248 + case .forretressPurified: return 1249 + case .dunsparceNormal: return 1250 + case .dunsparceShadow: return 1251 + case .dunsparcePurified: return 1252 + case .snubbullNormal: return 1253 + case .snubbullShadow: return 1254 + case .snubbullPurified: return 1255 + case .granbullNormal: return 1256 + case .granbullShadow: return 1257 + case .granbullPurified: return 1258 + case .qwilfishNormal: return 1259 + case .qwilfishShadow: return 1260 + case .qwilfishPurified: return 1261 + case .heracrossNormal: return 1262 + case .heracrossShadow: return 1263 + case .heracrossPurified: return 1264 + case .teddiursaNormal: return 1265 + case .teddiursaShadow: return 1266 + case .teddiursaPurified: return 1267 + case .ursaringNormal: return 1268 + case .ursaringShadow: return 1269 + default: break + } + switch self { + case .ursaringPurified: return 1270 + case .slugmaNormal: return 1271 + case .slugmaShadow: return 1272 + case .slugmaPurified: return 1273 + case .magcargoNormal: return 1274 + case .magcargoShadow: return 1275 + case .magcargoPurified: return 1276 + case .swinubNormal: return 1277 + case .swinubShadow: return 1278 + case .swinubPurified: return 1279 + case .piloswineNormal: return 1280 + case .piloswineShadow: return 1281 + case .piloswinePurified: return 1282 + case .corsolaNormal: return 1283 + case .corsolaShadow: return 1284 + case .corsolaPurified: return 1285 + case .remoraidNormal: return 1286 + case .remoraidShadow: return 1287 + case .remoraidPurified: return 1288 + case .octilleryNormal: return 1289 + case .octilleryShadow: return 1290 + case .octilleryPurified: return 1291 + case .mantineNormal: return 1292 + case .mantineShadow: return 1293 + case .mantinePurified: return 1294 + case .skarmoryNormal: return 1295 + case .skarmoryShadow: return 1296 + case .skarmoryPurified: return 1297 + case .kingdraNormal: return 1298 + case .kingdraShadow: return 1299 + case .kingdraPurified: return 1300 + case .phanpyNormal: return 1301 + case .phanpyShadow: return 1302 + case .phanpyPurified: return 1303 + case .donphanNormal: return 1304 + case .donphanShadow: return 1305 + case .donphanPurified: return 1306 + case .smeargleNormal: return 1307 + case .smeargleShadow: return 1308 + case .smearglePurified: return 1309 + case .tyrogueNormal: return 1310 + case .tyrogueShadow: return 1311 + case .tyroguePurified: return 1312 + case .hitmontopNormal: return 1313 + case .hitmontopShadow: return 1314 + case .hitmontopPurified: return 1315 + case .smoochumNormal: return 1316 + case .smoochumShadow: return 1317 + case .smoochumPurified: return 1318 + case .elekidNormal: return 1319 + case .elekidShadow: return 1320 + case .elekidPurified: return 1321 + case .magbyNormal: return 1322 + case .magbyShadow: return 1323 + case .magbyPurified: return 1324 + case .miltankNormal: return 1325 + case .miltankShadow: return 1326 + case .miltankPurified: return 1327 + case .blisseyNormal: return 1328 + case .blisseyShadow: return 1329 + case .blisseyPurified: return 1330 + case .raikouNormal: return 1331 + case .raikouShadow: return 1332 + case .raikouPurified: return 1333 + case .enteiNormal: return 1334 + case .enteiShadow: return 1335 + case .enteiPurified: return 1336 + case .suicuneNormal: return 1337 + case .suicuneShadow: return 1338 + case .suicunePurified: return 1339 + case .lugiaNormal: return 1340 + case .lugiaShadow: return 1341 + case .lugiaPurified: return 1342 + case .hoOhNormal: return 1343 + case .hoOhShadow: return 1344 + case .hoOhPurified: return 1345 + case .celebiNormal: return 1346 + case .celebiShadow: return 1347 + case .celebiPurified: return 1348 + case .treeckoNormal: return 1349 + case .treeckoShadow: return 1350 + case .treeckoPurified: return 1351 + case .grovyleNormal: return 1352 + case .grovyleShadow: return 1353 + case .grovylePurified: return 1354 + case .sceptileNormal: return 1355 + case .sceptileShadow: return 1356 + case .sceptilePurified: return 1357 + case .torchicNormal: return 1358 + case .torchicShadow: return 1359 + case .torchicPurified: return 1360 + case .combuskenNormal: return 1361 + case .combuskenShadow: return 1362 + case .combuskenPurified: return 1363 + case .blazikenNormal: return 1364 + case .blazikenShadow: return 1365 + case .blazikenPurified: return 1366 + case .poochyenaNormal: return 1367 + case .poochyenaShadow: return 1368 + case .poochyenaPurified: return 1369 + case .mightyenaNormal: return 1370 + case .mightyenaShadow: return 1371 + case .mightyenaPurified: return 1372 + case .zigzagoonShadow: return 1373 + case .zigzagoonPurified: return 1374 + case .linooneShadow: return 1375 + case .linoonePurified: return 1376 + case .wurmpleShadow: return 1377 + case .wurmplePurified: return 1378 + case .silcoonNormal: return 1379 + case .silcoonShadow: return 1380 + case .silcoonPurified: return 1381 + case .beautiflyNormal: return 1382 + case .beautiflyShadow: return 1383 + case .beautiflyPurified: return 1384 + case .cascoonNormal: return 1385 + case .cascoonShadow: return 1386 + case .cascoonPurified: return 1387 + case .dustoxNormal: return 1388 + case .dustoxShadow: return 1389 + case .dustoxPurified: return 1390 + case .lotadNormal: return 1391 + case .lotadShadow: return 1392 + case .lotadPurified: return 1393 + case .lombreNormal: return 1394 + case .lombreShadow: return 1395 + case .lombrePurified: return 1396 + case .ludicoloNormal: return 1397 + case .ludicoloShadow: return 1398 + case .ludicoloPurified: return 1399 + case .taillowNormal: return 1400 + case .taillowShadow: return 1401 + case .taillowPurified: return 1402 + case .swellowNormal: return 1403 + case .swellowShadow: return 1404 + case .swellowPurified: return 1405 + case .wingullNormal: return 1406 + case .wingullShadow: return 1407 + case .wingullPurified: return 1408 + case .pelipperNormal: return 1409 + case .pelipperShadow: return 1410 + case .pelipperPurified: return 1411 + case .surskitNormal: return 1412 + case .surskitShadow: return 1413 + case .surskitPurified: return 1414 + case .masquerainNormal: return 1415 + case .masquerainShadow: return 1416 + case .masquerainPurified: return 1417 + case .shroomishNormal: return 1418 + case .shroomishShadow: return 1419 + case .shroomishPurified: return 1420 + case .breloomNormal: return 1421 + case .breloomShadow: return 1422 + case .breloomPurified: return 1423 + case .slakothNormal: return 1424 + case .slakothShadow: return 1425 + case .slakothPurified: return 1426 + case .vigorothNormal: return 1427 + case .vigorothShadow: return 1428 + case .vigorothPurified: return 1429 + case .slakingNormal: return 1430 + case .slakingShadow: return 1431 + case .slakingPurified: return 1432 + case .nincadaNormal: return 1433 + case .nincadaShadow: return 1434 + case .nincadaPurified: return 1435 + case .ninjaskNormal: return 1436 + case .ninjaskShadow: return 1437 + case .ninjaskPurified: return 1438 + case .shedinjaNormal: return 1439 + case .shedinjaShadow: return 1440 + case .shedinjaPurified: return 1441 + case .whismurNormal: return 1442 + case .whismurShadow: return 1443 + case .whismurPurified: return 1444 + case .loudredNormal: return 1445 + case .loudredShadow: return 1446 + case .loudredPurified: return 1447 + case .exploudNormal: return 1448 + case .exploudShadow: return 1449 + case .exploudPurified: return 1450 + case .makuhitaNormal: return 1451 + case .makuhitaShadow: return 1452 + case .makuhitaPurified: return 1453 + case .hariyamaNormal: return 1454 + case .hariyamaShadow: return 1455 + case .hariyamaPurified: return 1456 + case .azurillNormal: return 1457 + case .azurillShadow: return 1458 + case .azurillPurified: return 1459 + case .nosepassNormal: return 1460 + case .nosepassShadow: return 1461 + case .nosepassPurified: return 1462 + case .skittyNormal: return 1463 + case .skittyShadow: return 1464 + case .skittyPurified: return 1465 + case .delcattyNormal: return 1466 + case .delcattyShadow: return 1467 + case .delcattyPurified: return 1468 + case .aronNormal: return 1469 + case .aronShadow: return 1470 + case .aronPurified: return 1471 + case .laironNormal: return 1472 + case .laironShadow: return 1473 + case .laironPurified: return 1474 + case .aggronNormal: return 1475 + case .aggronShadow: return 1476 + case .aggronPurified: return 1477 + case .medititeNormal: return 1478 + case .medititeShadow: return 1479 + case .medititePurified: return 1480 + case .medichamNormal: return 1481 + case .medichamShadow: return 1482 + case .medichamPurified: return 1483 + case .electrikeNormal: return 1484 + case .electrikeShadow: return 1485 + case .electrikePurified: return 1486 + case .manectricNormal: return 1487 + case .manectricShadow: return 1488 + case .manectricPurified: return 1489 + case .plusleNormal: return 1490 + case .plusleShadow: return 1491 + case .pluslePurified: return 1492 + case .minunNormal: return 1493 + case .minunShadow: return 1494 + case .minunPurified: return 1495 + case .volbeatNormal: return 1496 + case .volbeatShadow: return 1497 + case .volbeatPurified: return 1498 + case .illumiseNormal: return 1499 + case .illumiseShadow: return 1500 + case .illumisePurified: return 1501 + case .roseliaNormal: return 1502 + case .roseliaShadow: return 1503 + case .roseliaPurified: return 1504 + case .gulpinNormal: return 1505 + case .gulpinShadow: return 1506 + case .gulpinPurified: return 1507 + case .swalotNormal: return 1508 + case .swalotShadow: return 1509 + case .swalotPurified: return 1510 + case .wailmerNormal: return 1511 + case .wailmerShadow: return 1512 + case .wailmerPurified: return 1513 + case .wailordNormal: return 1514 + case .wailordShadow: return 1515 + case .wailordPurified: return 1516 + case .numelNormal: return 1517 + case .numelShadow: return 1518 + case .numelPurified: return 1519 + case .cameruptNormal: return 1520 + case .cameruptShadow: return 1521 + case .cameruptPurified: return 1522 + case .torkoalNormal: return 1523 + case .torkoalShadow: return 1524 + case .torkoalPurified: return 1525 + case .spoinkNormal: return 1526 + case .spoinkShadow: return 1527 + case .spoinkPurified: return 1528 + case .grumpigNormal: return 1529 + case .grumpigShadow: return 1530 + case .grumpigPurified: return 1531 + case .swabluNormal: return 1532 + case .swabluShadow: return 1533 + case .swabluPurified: return 1534 + case .altariaNormal: return 1535 + case .altariaShadow: return 1536 + case .altariaPurified: return 1537 + case .zangooseNormal: return 1538 + case .zangooseShadow: return 1539 + case .zangoosePurified: return 1540 + case .seviperNormal: return 1541 + case .seviperShadow: return 1542 + case .seviperPurified: return 1543 + case .lunatoneNormal: return 1544 + case .lunatoneShadow: return 1545 + case .lunatonePurified: return 1546 + case .solrockNormal: return 1547 + case .solrockShadow: return 1548 + case .solrockPurified: return 1549 + case .barboachNormal: return 1550 + case .barboachShadow: return 1551 + case .barboachPurified: return 1552 + case .whiscashNormal: return 1553 + case .whiscashShadow: return 1554 + case .whiscashPurified: return 1555 + case .corphishNormal: return 1556 + case .corphishShadow: return 1557 + case .corphishPurified: return 1558 + case .crawdauntNormal: return 1559 + case .crawdauntShadow: return 1560 + case .crawdauntPurified: return 1561 + case .baltoyNormal: return 1562 + case .baltoyShadow: return 1563 + case .baltoyPurified: return 1564 + case .claydolNormal: return 1565 + case .claydolShadow: return 1566 + case .claydolPurified: return 1567 + case .lileepNormal: return 1568 + case .lileepShadow: return 1569 + case .lileepPurified: return 1570 + case .cradilyNormal: return 1571 + case .cradilyShadow: return 1572 + case .cradilyPurified: return 1573 + case .anorithNormal: return 1574 + case .anorithShadow: return 1575 + case .anorithPurified: return 1576 + case .armaldoNormal: return 1577 + case .armaldoShadow: return 1578 + case .armaldoPurified: return 1579 + case .feebasNormal: return 1580 + case .feebasShadow: return 1581 + case .feebasPurified: return 1582 + case .miloticNormal: return 1583 + case .miloticShadow: return 1584 + case .miloticPurified: return 1585 + case .kecleonNormal: return 1586 + case .kecleonShadow: return 1587 + case .kecleonPurified: return 1588 + case .tropiusNormal: return 1589 + case .tropiusShadow: return 1590 + case .tropiusPurified: return 1591 + case .chimechoNormal: return 1592 + case .chimechoShadow: return 1593 + case .chimechoPurified: return 1594 + case .wynautNormal: return 1595 + case .wynautShadow: return 1596 + case .wynautPurified: return 1597 + case .sphealNormal: return 1598 + case .sphealShadow: return 1599 + case .sphealPurified: return 1600 + case .sealeoNormal: return 1601 + case .sealeoShadow: return 1602 + case .sealeoPurified: return 1603 + case .walreinNormal: return 1604 + case .walreinShadow: return 1605 + case .walreinPurified: return 1606 + case .clamperlNormal: return 1607 + case .clamperlShadow: return 1608 + case .clamperlPurified: return 1609 + case .huntailNormal: return 1610 + case .huntailShadow: return 1611 + case .huntailPurified: return 1612 + case .gorebyssNormal: return 1613 + case .gorebyssShadow: return 1614 + case .gorebyssPurified: return 1615 + case .relicanthNormal: return 1616 + case .relicanthShadow: return 1617 + case .relicanthPurified: return 1618 + case .luvdiscNormal: return 1619 + case .luvdiscShadow: return 1620 + case .luvdiscPurified: return 1621 + case .regirockNormal: return 1622 + case .regirockShadow: return 1623 + case .regirockPurified: return 1624 + case .regiceNormal: return 1625 + case .regiceShadow: return 1626 + case .regicePurified: return 1627 + case .registeelNormal: return 1628 + case .registeelShadow: return 1629 + case .registeelPurified: return 1630 + case .latiasNormal: return 1631 + case .latiasShadow: return 1632 + case .latiasPurified: return 1633 + case .latiosNormal: return 1634 + case .latiosShadow: return 1635 + case .latiosPurified: return 1636 + case .kyogreNormal: return 1637 + case .kyogreShadow: return 1638 + case .kyogrePurified: return 1639 + case .groudonNormal: return 1640 + case .groudonShadow: return 1641 + case .groudonPurified: return 1642 + case .rayquazaNormal: return 1643 + case .rayquazaShadow: return 1644 + case .rayquazaPurified: return 1645 + case .jirachiNormal: return 1646 + case .jirachiShadow: return 1647 + case .jirachiPurified: return 1648 + case .piplupNormal: return 1649 + case .piplupShadow: return 1650 + case .piplupPurified: return 1651 + case .prinplupNormal: return 1652 + case .prinplupShadow: return 1653 + case .prinplupPurified: return 1654 + case .empoleonNormal: return 1655 + case .empoleonShadow: return 1656 + case .empoleonPurified: return 1657 + case .starlyNormal: return 1658 + case .starlyShadow: return 1659 + case .starlyPurified: return 1660 + case .staraviaNormal: return 1661 + case .staraviaShadow: return 1662 + case .staraviaPurified: return 1663 + case .staraptorNormal: return 1664 + case .staraptorShadow: return 1665 + case .staraptorPurified: return 1666 + case .bidoofNormal: return 1667 + case .bidoofShadow: return 1668 + case .bidoofPurified: return 1669 + case .bibarelNormal: return 1670 + case .bibarelShadow: return 1671 + case .bibarelPurified: return 1672 + case .kricketotNormal: return 1673 + case .kricketotShadow: return 1674 + case .kricketotPurified: return 1675 + case .kricketuneNormal: return 1676 + case .kricketuneShadow: return 1677 + case .kricketunePurified: return 1678 + case .shinxNormal: return 1679 + case .shinxShadow: return 1680 + case .shinxPurified: return 1681 + case .luxioNormal: return 1682 + case .luxioShadow: return 1683 + case .luxioPurified: return 1684 + case .luxrayNormal: return 1685 + case .luxrayShadow: return 1686 + case .luxrayPurified: return 1687 + case .budewNormal: return 1688 + case .budewShadow: return 1689 + case .budewPurified: return 1690 + case .roseradeNormal: return 1691 + case .roseradeShadow: return 1692 + case .roseradePurified: return 1693 + case .cranidosNormal: return 1694 + case .cranidosShadow: return 1695 + case .cranidosPurified: return 1696 + case .rampardosNormal: return 1697 + case .rampardosShadow: return 1698 + case .rampardosPurified: return 1699 + case .shieldonNormal: return 1700 + case .shieldonShadow: return 1701 + case .shieldonPurified: return 1702 + case .bastiodonNormal: return 1703 + case .bastiodonShadow: return 1704 + case .bastiodonPurified: return 1705 + case .burmyNormal: return 1706 + case .burmyShadow: return 1707 + case .burmyPurified: return 1708 + case .wormadamNormal: return 1709 + case .wormadamShadow: return 1710 + case .wormadamPurified: return 1711 + case .mothimNormal: return 1712 + case .mothimShadow: return 1713 + case .mothimPurified: return 1714 + case .combeeNormal: return 1715 + case .combeeShadow: return 1716 + case .combeePurified: return 1717 + case .vespiquenNormal: return 1718 + case .vespiquenShadow: return 1719 + case .vespiquenPurified: return 1720 + case .pachirisuNormal: return 1721 + case .pachirisuShadow: return 1722 + case .pachirisuPurified: return 1723 + case .buizelNormal: return 1724 + case .buizelShadow: return 1725 + case .buizelPurified: return 1726 + case .floatzelNormal: return 1727 + case .floatzelShadow: return 1728 + case .floatzelPurified: return 1729 + case .cherubiNormal: return 1730 + case .cherubiShadow: return 1731 + case .cherubiPurified: return 1732 + case .cherrimNormal: return 1733 + case .cherrimShadow: return 1734 + case .cherrimPurified: return 1735 + case .shellosNormal: return 1736 + case .shellosShadow: return 1737 + case .shellosPurified: return 1738 + case .gastrodonNormal: return 1739 + case .gastrodonShadow: return 1740 + case .gastrodonPurified: return 1741 + case .ambipomNormal: return 1742 + case .ambipomShadow: return 1743 + case .ambipomPurified: return 1744 + case .drifloonNormal: return 1745 + case .drifloonShadow: return 1746 + case .drifloonPurified: return 1747 + case .drifblimNormal: return 1748 + case .drifblimShadow: return 1749 + case .drifblimPurified: return 1750 + case .bunearyNormal: return 1751 + case .bunearyShadow: return 1752 + case .bunearyPurified: return 1753 + case .lopunnyNormal: return 1754 + case .lopunnyShadow: return 1755 + case .lopunnyPurified: return 1756 + case .glameowNormal: return 1757 + case .glameowShadow: return 1758 + case .glameowPurified: return 1759 + case .puruglyNormal: return 1760 + case .puruglyShadow: return 1761 + case .puruglyPurified: return 1762 + case .chinglingNormal: return 1763 + case .chinglingShadow: return 1764 + case .chinglingPurified: return 1765 + case .bronzorNormal: return 1766 + case .bronzorShadow: return 1767 + case .bronzorPurified: return 1768 + case .bronzongNormal: return 1769 + default: break + } + switch self { + case .bronzongShadow: return 1770 + case .bronzongPurified: return 1771 + case .bonslyNormal: return 1772 + case .bonslyShadow: return 1773 + case .bonslyPurified: return 1774 + case .mimeJrNormal: return 1775 + case .mimeJrShadow: return 1776 + case .mimeJrPurified: return 1777 + case .happinyNormal: return 1778 + case .happinyShadow: return 1779 + case .happinyPurified: return 1780 + case .chatotNormal: return 1781 + case .chatotShadow: return 1782 + case .chatotPurified: return 1783 + case .spiritombNormal: return 1784 + case .spiritombShadow: return 1785 + case .spiritombPurified: return 1786 + case .munchlaxNormal: return 1787 + case .munchlaxShadow: return 1788 + case .munchlaxPurified: return 1789 + case .rioluNormal: return 1790 + case .rioluShadow: return 1791 + case .rioluPurified: return 1792 + case .lucarioNormal: return 1793 + case .lucarioShadow: return 1794 + case .lucarioPurified: return 1795 + case .skorupiNormal: return 1796 + case .skorupiShadow: return 1797 + case .skorupiPurified: return 1798 + case .drapionNormal: return 1799 + case .drapionShadow: return 1800 + case .drapionPurified: return 1801 + case .croagunkNormal: return 1802 + case .croagunkShadow: return 1803 + case .croagunkPurified: return 1804 + case .toxicroakNormal: return 1805 + case .toxicroakShadow: return 1806 + case .toxicroakPurified: return 1807 + case .carnivineNormal: return 1808 + case .carnivineShadow: return 1809 + case .carnivinePurified: return 1810 + case .finneonNormal: return 1811 + case .finneonShadow: return 1812 + case .finneonPurified: return 1813 + case .lumineonNormal: return 1814 + case .lumineonShadow: return 1815 + case .lumineonPurified: return 1816 + case .mantykeNormal: return 1817 + case .mantykeShadow: return 1818 + case .mantykePurified: return 1819 + case .lickilickyNormal: return 1820 + case .lickilickyShadow: return 1821 + case .lickilickyPurified: return 1822 + case .tangrowthNormal: return 1823 + case .tangrowthShadow: return 1824 + case .tangrowthPurified: return 1825 + case .togekissNormal: return 1826 + case .togekissShadow: return 1827 + case .togekissPurified: return 1828 + case .yanmegaNormal: return 1829 + case .yanmegaShadow: return 1830 + case .yanmegaPurified: return 1831 + case .leafeonNormal: return 1832 + case .leafeonShadow: return 1833 + case .leafeonPurified: return 1834 + case .glaceonNormal: return 1835 + case .glaceonShadow: return 1836 + case .glaceonPurified: return 1837 + case .mamoswineNormal: return 1838 + case .mamoswineShadow: return 1839 + case .mamoswinePurified: return 1840 + case .probopassNormal: return 1841 + case .probopassShadow: return 1842 + case .probopassPurified: return 1843 + case .froslassNormal: return 1844 + case .froslassShadow: return 1845 + case .froslassPurified: return 1846 + case .uxieNormal: return 1847 + case .uxieShadow: return 1848 + case .uxiePurified: return 1849 + case .mespritNormal: return 1850 + case .mespritShadow: return 1851 + case .mespritPurified: return 1852 + case .azelfNormal: return 1853 + case .azelfShadow: return 1854 + case .azelfPurified: return 1855 + case .dialgaNormal: return 1856 + case .dialgaShadow: return 1857 + case .dialgaPurified: return 1858 + case .palkiaNormal: return 1859 + case .palkiaShadow: return 1860 + case .palkiaPurified: return 1861 + case .heatranNormal: return 1862 + case .heatranShadow: return 1863 + case .heatranPurified: return 1864 + case .regigigasNormal: return 1865 + case .regigigasShadow: return 1866 + case .regigigasPurified: return 1867 + case .giratinaNormal: return 1868 + case .giratinaShadow: return 1869 + case .giratinaPurified: return 1870 + case .cresseliaNormal: return 1871 + case .cresseliaShadow: return 1872 + case .cresseliaPurified: return 1873 + case .phioneNormal: return 1874 + case .phioneShadow: return 1875 + case .phionePurified: return 1876 + case .manaphyNormal: return 1877 + case .manaphyShadow: return 1878 + case .manaphyPurified: return 1879 + case .darkraiNormal: return 1880 + case .darkraiShadow: return 1881 + case .darkraiPurified: return 1882 + case .shayminNormal: return 1883 + case .shayminShadow: return 1884 + case .shayminPurified: return 1885 + case .victiniNormal: return 1886 + case .victiniShadow: return 1887 + case .victiniPurified: return 1888 + case .snivyNormal: return 1889 + case .snivyShadow: return 1890 + case .snivyPurified: return 1891 + case .servineNormal: return 1892 + case .servineShadow: return 1893 + case .servinePurified: return 1894 + case .serperiorNormal: return 1895 + case .serperiorShadow: return 1896 + case .serperiorPurified: return 1897 + case .tepigNormal: return 1898 + case .tepigShadow: return 1899 + case .tepigPurified: return 1900 + case .pigniteNormal: return 1901 + case .pigniteShadow: return 1902 + case .pignitePurified: return 1903 + case .emboarNormal: return 1904 + case .emboarShadow: return 1905 + case .emboarPurified: return 1906 + case .oshawottNormal: return 1907 + case .oshawottShadow: return 1908 + case .oshawottPurified: return 1909 + case .dewottNormal: return 1910 + case .dewottShadow: return 1911 + case .dewottPurified: return 1912 + case .samurottNormal: return 1913 + case .samurottShadow: return 1914 + case .samurottPurified: return 1915 + case .patratNormal: return 1916 + case .patratShadow: return 1917 + case .patratPurified: return 1918 + case .watchogNormal: return 1919 + case .watchogShadow: return 1920 + case .watchogPurified: return 1921 + case .lillipupNormal: return 1922 + case .lillipupShadow: return 1923 + case .lillipupPurified: return 1924 + case .herdierNormal: return 1925 + case .herdierShadow: return 1926 + case .herdierPurified: return 1927 + case .stoutlandNormal: return 1928 + case .stoutlandShadow: return 1929 + case .stoutlandPurified: return 1930 + case .purrloinNormal: return 1931 + case .purrloinShadow: return 1932 + case .purrloinPurified: return 1933 + case .liepardNormal: return 1934 + case .liepardShadow: return 1935 + case .liepardPurified: return 1936 + case .pansageNormal: return 1937 + case .pansageShadow: return 1938 + case .pansagePurified: return 1939 + case .simisageNormal: return 1940 + case .simisageShadow: return 1941 + case .simisagePurified: return 1942 + case .pansearNormal: return 1943 + case .pansearShadow: return 1944 + case .pansearPurified: return 1945 + case .simisearNormal: return 1946 + case .simisearShadow: return 1947 + case .simisearPurified: return 1948 + case .panpourNormal: return 1949 + case .panpourShadow: return 1950 + case .panpourPurified: return 1951 + case .simipourNormal: return 1952 + case .simipourShadow: return 1953 + case .simipourPurified: return 1954 + case .munnaNormal: return 1955 + case .munnaShadow: return 1956 + case .munnaPurified: return 1957 + case .musharnaNormal: return 1958 + case .musharnaShadow: return 1959 + case .musharnaPurified: return 1960 + case .pidoveNormal: return 1961 + case .pidoveShadow: return 1962 + case .pidovePurified: return 1963 + case .tranquillNormal: return 1964 + case .tranquillShadow: return 1965 + case .tranquillPurified: return 1966 + case .unfezantNormal: return 1967 + case .unfezantShadow: return 1968 + case .unfezantPurified: return 1969 + case .blitzleNormal: return 1970 + case .blitzleShadow: return 1971 + case .blitzlePurified: return 1972 + case .zebstrikaNormal: return 1973 + case .zebstrikaShadow: return 1974 + case .zebstrikaPurified: return 1975 + case .roggenrolaNormal: return 1976 + case .roggenrolaShadow: return 1977 + case .roggenrolaPurified: return 1978 + case .boldoreNormal: return 1979 + case .boldoreShadow: return 1980 + case .boldorePurified: return 1981 + case .gigalithNormal: return 1982 + case .gigalithShadow: return 1983 + case .gigalithPurified: return 1984 + case .woobatNormal: return 1985 + case .woobatShadow: return 1986 + case .woobatPurified: return 1987 + case .swoobatNormal: return 1988 + case .swoobatShadow: return 1989 + case .swoobatPurified: return 1990 + case .drilburNormal: return 1991 + case .drilburShadow: return 1992 + case .drilburPurified: return 1993 + case .excadrillNormal: return 1994 + case .excadrillShadow: return 1995 + case .excadrillPurified: return 1996 + case .audinoNormal: return 1997 + case .audinoShadow: return 1998 + case .audinoPurified: return 1999 + case .timburrNormal: return 2000 + case .timburrShadow: return 2001 + case .timburrPurified: return 2002 + case .gurdurrNormal: return 2003 + case .gurdurrShadow: return 2004 + case .gurdurrPurified: return 2005 + case .conkeldurrNormal: return 2006 + case .conkeldurrShadow: return 2007 + case .conkeldurrPurified: return 2008 + case .tympoleNormal: return 2009 + case .tympoleShadow: return 2010 + case .tympolePurified: return 2011 + case .palpitoadNormal: return 2012 + case .palpitoadShadow: return 2013 + case .palpitoadPurified: return 2014 + case .seismitoadNormal: return 2015 + case .seismitoadShadow: return 2016 + case .seismitoadPurified: return 2017 + case .throhNormal: return 2018 + case .throhShadow: return 2019 + case .throhPurified: return 2020 + case .sawkNormal: return 2021 + case .sawkShadow: return 2022 + case .sawkPurified: return 2023 + case .sewaddleNormal: return 2024 + case .sewaddleShadow: return 2025 + case .sewaddlePurified: return 2026 + case .swadloonNormal: return 2027 + case .swadloonShadow: return 2028 + case .swadloonPurified: return 2029 + case .leavannyNormal: return 2030 + case .leavannyShadow: return 2031 + case .leavannyPurified: return 2032 + case .venipedeNormal: return 2033 + case .venipedeShadow: return 2034 + case .venipedePurified: return 2035 + case .whirlipedeNormal: return 2036 + case .whirlipedeShadow: return 2037 + case .whirlipedePurified: return 2038 + case .scolipedeNormal: return 2039 + case .scolipedeShadow: return 2040 + case .scolipedePurified: return 2041 + case .cottoneeNormal: return 2042 + case .cottoneeShadow: return 2043 + case .cottoneePurified: return 2044 + case .whimsicottNormal: return 2045 + case .whimsicottShadow: return 2046 + case .whimsicottPurified: return 2047 + case .petililNormal: return 2048 + case .petililShadow: return 2049 + case .petililPurified: return 2050 + case .lilligantNormal: return 2051 + case .lilligantShadow: return 2052 + case .lilligantPurified: return 2053 + case .sandileNormal: return 2054 + case .sandileShadow: return 2055 + case .sandilePurified: return 2056 + case .krokorokNormal: return 2057 + case .krokorokShadow: return 2058 + case .krokorokPurified: return 2059 + case .krookodileNormal: return 2060 + case .krookodileShadow: return 2061 + case .krookodilePurified: return 2062 + case .darumakaNormal: return 2063 + case .darumakaShadow: return 2064 + case .darumakaPurified: return 2065 + case .maractusNormal: return 2066 + case .maractusShadow: return 2067 + case .maractusPurified: return 2068 + case .dwebbleNormal: return 2069 + case .dwebbleShadow: return 2070 + case .dwebblePurified: return 2071 + case .crustleNormal: return 2072 + case .crustleShadow: return 2073 + case .crustlePurified: return 2074 + case .scraggyNormal: return 2075 + case .scraggyShadow: return 2076 + case .scraggyPurified: return 2077 + case .scraftyNormal: return 2078 + case .scraftyShadow: return 2079 + case .scraftyPurified: return 2080 + case .sigilyphNormal: return 2081 + case .sigilyphShadow: return 2082 + case .sigilyphPurified: return 2083 + case .yamaskNormal: return 2084 + case .yamaskShadow: return 2085 + case .yamaskPurified: return 2086 + case .cofagrigusNormal: return 2087 + case .cofagrigusShadow: return 2088 + case .cofagrigusPurified: return 2089 + case .tirtougaNormal: return 2090 + case .tirtougaShadow: return 2091 + case .tirtougaPurified: return 2092 + case .carracostaNormal: return 2093 + case .carracostaShadow: return 2094 + case .carracostaPurified: return 2095 + case .archenNormal: return 2096 + case .archenShadow: return 2097 + case .archenPurified: return 2098 + case .archeopsNormal: return 2099 + case .archeopsShadow: return 2100 + case .archeopsPurified: return 2101 + case .trubbishNormal: return 2102 + case .trubbishShadow: return 2103 + case .trubbishPurified: return 2104 + case .garbodorNormal: return 2105 + case .garbodorShadow: return 2106 + case .garbodorPurified: return 2107 + case .zoruaNormal: return 2108 + case .zoruaShadow: return 2109 + case .zoruaPurified: return 2110 + case .zoroarkNormal: return 2111 + case .zoroarkShadow: return 2112 + case .zoroarkPurified: return 2113 + case .minccinoNormal: return 2114 + case .minccinoShadow: return 2115 + case .minccinoPurified: return 2116 + case .cinccinoNormal: return 2117 + case .cinccinoShadow: return 2118 + case .cinccinoPurified: return 2119 + case .gothitaNormal: return 2120 + case .gothitaShadow: return 2121 + case .gothitaPurified: return 2122 + case .gothoritaNormal: return 2123 + case .gothoritaShadow: return 2124 + case .gothoritaPurified: return 2125 + case .gothitelleNormal: return 2126 + case .gothitelleShadow: return 2127 + case .gothitellePurified: return 2128 + case .solosisNormal: return 2129 + case .solosisShadow: return 2130 + case .solosisPurified: return 2131 + case .duosionNormal: return 2132 + case .duosionShadow: return 2133 + case .duosionPurified: return 2134 + case .reuniclusNormal: return 2135 + case .reuniclusShadow: return 2136 + case .reuniclusPurified: return 2137 + case .ducklettNormal: return 2138 + case .ducklettShadow: return 2139 + case .ducklettPurified: return 2140 + case .swannaNormal: return 2141 + case .swannaShadow: return 2142 + case .swannaPurified: return 2143 + case .vanilliteNormal: return 2144 + case .vanilliteShadow: return 2145 + case .vanillitePurified: return 2146 + case .vanillishNormal: return 2147 + case .vanillishShadow: return 2148 + case .vanillishPurified: return 2149 + case .vanilluxeNormal: return 2150 + case .vanilluxeShadow: return 2151 + case .vanilluxePurified: return 2152 + case .emolgaNormal: return 2153 + case .emolgaShadow: return 2154 + case .emolgaPurified: return 2155 + case .karrablastNormal: return 2156 + case .karrablastShadow: return 2157 + case .karrablastPurified: return 2158 + case .escavalierNormal: return 2159 + case .escavalierShadow: return 2160 + case .escavalierPurified: return 2161 + case .foongusNormal: return 2162 + case .foongusShadow: return 2163 + case .foongusPurified: return 2164 + case .amoongussNormal: return 2165 + case .amoongussShadow: return 2166 + case .amoongussPurified: return 2167 + case .frillishNormal: return 2168 + case .frillishShadow: return 2169 + case .frillishPurified: return 2170 + case .jellicentNormal: return 2171 + case .jellicentShadow: return 2172 + case .jellicentPurified: return 2173 + case .alomomolaNormal: return 2174 + case .alomomolaShadow: return 2175 + case .alomomolaPurified: return 2176 + case .joltikNormal: return 2177 + case .joltikShadow: return 2178 + case .joltikPurified: return 2179 + case .galvantulaNormal: return 2180 + case .galvantulaShadow: return 2181 + case .galvantulaPurified: return 2182 + case .ferroseedNormal: return 2183 + case .ferroseedShadow: return 2184 + case .ferroseedPurified: return 2185 + case .ferrothornNormal: return 2186 + case .ferrothornShadow: return 2187 + case .ferrothornPurified: return 2188 + case .klinkNormal: return 2189 + case .klinkShadow: return 2190 + case .klinkPurified: return 2191 + case .klangNormal: return 2192 + case .klangShadow: return 2193 + case .klangPurified: return 2194 + case .klinklangNormal: return 2195 + case .klinklangShadow: return 2196 + case .klinklangPurified: return 2197 + case .tynamoNormal: return 2198 + case .tynamoShadow: return 2199 + case .tynamoPurified: return 2200 + case .eelektrikNormal: return 2201 + case .eelektrikShadow: return 2202 + case .eelektrikPurified: return 2203 + case .eelektrossNormal: return 2204 + case .eelektrossShadow: return 2205 + case .eelektrossPurified: return 2206 + case .elgyemNormal: return 2207 + case .elgyemShadow: return 2208 + case .elgyemPurified: return 2209 + case .beheeyemNormal: return 2210 + case .beheeyemShadow: return 2211 + case .beheeyemPurified: return 2212 + case .litwickNormal: return 2213 + case .litwickShadow: return 2214 + case .litwickPurified: return 2215 + case .lampentNormal: return 2216 + case .lampentShadow: return 2217 + case .lampentPurified: return 2218 + case .chandelureNormal: return 2219 + case .chandelureShadow: return 2220 + case .chandelurePurified: return 2221 + case .axewNormal: return 2222 + case .axewShadow: return 2223 + case .axewPurified: return 2224 + case .fraxureNormal: return 2225 + case .fraxureShadow: return 2226 + case .fraxurePurified: return 2227 + case .haxorusNormal: return 2228 + case .haxorusShadow: return 2229 + case .haxorusPurified: return 2230 + case .cubchooNormal: return 2231 + case .cubchooShadow: return 2232 + case .cubchooPurified: return 2233 + case .bearticNormal: return 2234 + case .bearticShadow: return 2235 + case .bearticPurified: return 2236 + case .cryogonalNormal: return 2237 + case .cryogonalShadow: return 2238 + case .cryogonalPurified: return 2239 + case .shelmetNormal: return 2240 + case .shelmetShadow: return 2241 + case .shelmetPurified: return 2242 + case .accelgorNormal: return 2243 + case .accelgorShadow: return 2244 + case .accelgorPurified: return 2245 + case .stunfiskNormal: return 2246 + case .stunfiskShadow: return 2247 + case .stunfiskPurified: return 2248 + case .mienfooNormal: return 2249 + case .mienfooShadow: return 2250 + case .mienfooPurified: return 2251 + case .mienshaoNormal: return 2252 + case .mienshaoShadow: return 2253 + case .mienshaoPurified: return 2254 + case .druddigonNormal: return 2255 + case .druddigonShadow: return 2256 + case .druddigonPurified: return 2257 + case .golettNormal: return 2258 + case .golettShadow: return 2259 + case .golettPurified: return 2260 + case .golurkNormal: return 2261 + case .golurkShadow: return 2262 + case .golurkPurified: return 2263 + case .pawniardNormal: return 2264 + case .pawniardShadow: return 2265 + case .pawniardPurified: return 2266 + case .bisharpNormal: return 2267 + case .bisharpShadow: return 2268 + case .bisharpPurified: return 2269 + default: break + } + switch self { + case .bouffalantNormal: return 2270 + case .bouffalantShadow: return 2271 + case .bouffalantPurified: return 2272 + case .ruffletNormal: return 2273 + case .ruffletShadow: return 2274 + case .ruffletPurified: return 2275 + case .braviaryNormal: return 2276 + case .braviaryShadow: return 2277 + case .braviaryPurified: return 2278 + case .vullabyNormal: return 2279 + case .vullabyShadow: return 2280 + case .vullabyPurified: return 2281 + case .mandibuzzNormal: return 2282 + case .mandibuzzShadow: return 2283 + case .mandibuzzPurified: return 2284 + case .heatmorNormal: return 2285 + case .heatmorShadow: return 2286 + case .heatmorPurified: return 2287 + case .durantNormal: return 2288 + case .durantShadow: return 2289 + case .durantPurified: return 2290 + case .deinoNormal: return 2291 + case .deinoShadow: return 2292 + case .deinoPurified: return 2293 + case .zweilousNormal: return 2294 + case .zweilousShadow: return 2295 + case .zweilousPurified: return 2296 + case .hydreigonNormal: return 2297 + case .hydreigonShadow: return 2298 + case .hydreigonPurified: return 2299 + case .larvestaNormal: return 2300 + case .larvestaShadow: return 2301 + case .larvestaPurified: return 2302 + case .volcaronaNormal: return 2303 + case .volcaronaShadow: return 2304 + case .volcaronaPurified: return 2305 + case .cobalionNormal: return 2306 + case .cobalionShadow: return 2307 + case .cobalionPurified: return 2308 + case .terrakionNormal: return 2309 + case .terrakionShadow: return 2310 + case .terrakionPurified: return 2311 + case .virizionNormal: return 2312 + case .virizionShadow: return 2313 + case .virizionPurified: return 2314 + case .reshiramNormal: return 2315 + case .reshiramShadow: return 2316 + case .reshiramPurified: return 2317 + case .zekromNormal: return 2318 + case .zekromShadow: return 2319 + case .zekromPurified: return 2320 + case .meltanNormal: return 2321 + case .meltanShadow: return 2322 + case .meltanPurified: return 2323 + case .melmetalNormal: return 2324 + case .melmetalShadow: return 2325 + case .melmetalPurified: return 2326 + case .wurmpleSpring2020: return 2327 + case .wobbuffetSpring2020: return 2328 + case .raticateSpring2020: return 2329 + case .frillishFemale: return 2330 + case .jellicentFemale: return 2331 + case .pikachuCostume2020: return 2332 + case .dragoniteCostume2020: return 2333 + case .onixCostume2020: return 2334 + case .meowthGalarian: return 2335 + case .ponytaGalarian: return 2336 + case .rapidashGalarian: return 2337 + case .farfetchdGalarian: return 2338 + case .mrMimeGalarian: return 2339 + case .corsolaGalarian: return 2340 + case .darumakaGalarian: return 2341 + case .darmanitanGalarianStandard: return 2342 + case .darmanitanGalarianZen: return 2343 + case .yamaskGalarian: return 2344 + case .stunfiskGalarian: return 2345 + case .toxtricityLowKey: return 2463 + case .toxtricityAmped: return 2464 + case .sinisteaPhony: return 2477 + case .sinisteaAntique: return 2478 + case .polteageistPhony: return 2480 + case .polteageistAntique: return 2481 + case .obstagoonNormal: return 2501 + case .obstagoonShadow: return 2502 + case .obstagoonPurified: return 2503 + case .perrserkerNormal: return 2504 + case .perrserkerShadow: return 2505 + case .perrserkerPurified: return 2506 + case .cursolaNormal: return 2507 + case .cursolaShadow: return 2508 + case .cursolaPurified: return 2509 + case .sirfetchdNormal: return 2510 + case .sirfetchdShadow: return 2511 + case .sirfetchdPurified: return 2512 + case .mrRimeNormal: return 2513 + case .mrRimeShadow: return 2514 + case .mrRimePurified: return 2515 + case .runerigusNormal: return 2516 + case .runerigusShadow: return 2517 + case .runerigusPurified: return 2518 + case .eiscueIce: return 2540 + case .eiscueNoice: return 2541 + case .indeedeeMale: return 2542 + case .indeedeeFemale: return 2543 + case .morpekoFullBelly: return 2544 + case .morpekoHangry: return 2545 + case .zacianCrownedSword: return 2576 + case .zacianHero: return 2577 + case .zamazentaCrownedShield: return 2578 + case .zamazentaHero: return 2579 + case .eternatusEternamax: return 2580 + case .eternatusNormal: return 2581 + case .slowpokeGalarian: return 2582 + case .slowbroGalarian: return 2583 + case .slowkingGalarian: return 2584 + case .laprasCostume2020: return 2585 + case .gengarCostume2020: return 2586 + case .pyroarNormal: return 2587 + case .pyroarFemale: return 2588 + case .meowsticNormal: return 2589 + case .meowsticFemale: return 2590 + case .zygardeTenPercent: return 2591 + case .zygardeFiftyPercent: return 2592 + case .zygardeComplete: return 2593 + case .vivillonArchipelago: return 2594 + case .vivillonContinental: return 2595 + case .vivillonElegant: return 2596 + case .vivillonFancy: return 2597 + case .vivillonGarden: return 2598 + case .vivillonHighPlains: return 2599 + case .vivillonIcySnow: return 2600 + case .vivillonJungle: return 2601 + case .vivillonMarine: return 2602 + case .vivillonMeadow: return 2603 + case .vivillonModern: return 2604 + case .vivillonMonsoon: return 2605 + case .vivillonOcean: return 2606 + case .vivillonPokeball: return 2607 + case .vivillonPolar: return 2608 + case .vivillonRiver: return 2609 + case .vivillonSandstorm: return 2610 + case .vivillonSavanna: return 2611 + case .vivillonSun: return 2612 + case .vivillonTundra: return 2613 + case .flabebeRed: return 2614 + case .flabebeYellow: return 2615 + case .flabebeOrange: return 2616 + case .flabebeBlue: return 2617 + case .flabebeWhite: return 2618 + case .floetteRed: return 2619 + case .floetteYellow: return 2620 + case .floetteOrange: return 2621 + case .floetteBlue: return 2622 + case .floetteWhite: return 2623 + case .florgesRed: return 2624 + case .florgesYellow: return 2625 + case .florgesOrange: return 2626 + case .florgesBlue: return 2627 + case .florgesWhite: return 2628 + case .furfrouNatural: return 2629 + case .furfrouHeart: return 2630 + case .furfrouStar: return 2631 + case .furfrouDiamond: return 2632 + case .furfrouDebutante: return 2633 + case .furfrouMatron: return 2634 + case .furfrouDandy: return 2635 + case .furfrouLaReine: return 2636 + case .furfrouKabuki: return 2637 + case .furfrouPharaoh: return 2638 + case .aegislashShield: return 2639 + case .aegislashBlade: return 2640 + case .pumpkabooSmall: return 2641 + case .pumpkabooAverage: return 2642 + case .pumpkabooLarge: return 2643 + case .pumpkabooSuper: return 2644 + case .gourgeistSmall: return 2645 + case .gourgeistAverage: return 2646 + case .gourgeistLarge: return 2647 + case .gourgeistSuper: return 2648 + case .xerneasNeutral: return 2649 + case .xerneasActive: return 2650 + case .hoopaConfined: return 2651 + case .hoopaUnbound: return 2652 + case .sableyeCostume2020Deprecated: return 2666 + case .sableyeCostume2020: return 2668 + case .pikachuAdventureHat2020: return 2669 + case .pikachuWinter2020: return 2670 + case .delibirdWinter2020: return 2671 + case .cubchooWinter2020: return 2672 + case .slowpoke2020: return 2673 + case .slowbro2021: return 2674 + case .pikachuKariyushi: return 2675 + case .pikachuPopStar: return 2676 + case .pikachuRockStar: return 2677 + case .pikachuFlying5ThAnniv: return 2678 + case .oricorioBaile: return 2679 + case .oricorioPompom: return 2680 + case .oricorioPau: return 2681 + case .oricorioSensu: return 2683 + case .lycanrocMidday: return 2684 + case .lycanrocMidnight: return 2685 + case .lycanrocDusk: return 2686 + case .wishiwashiSolo: return 2687 + case .wishiwashiSchool: return 2688 + case .silvallyNormal: return 2689 + case .silvallyBug: return 2690 + case .silvallyDark: return 2691 + case .silvallyDragon: return 2692 + case .silvallyElectric: return 2693 + case .silvallyFairy: return 2694 + case .silvallyFighting: return 2695 + case .silvallyFire: return 2696 + case .silvallyFlying: return 2697 + case .silvallyGhost: return 2698 + case .silvallyGrass: return 2699 + case .silvallyGround: return 2700 + case .silvallyIce: return 2701 + case .silvallyPoison: return 2702 + case .silvallyPsychic: return 2703 + case .silvallyRock: return 2704 + case .silvallySteel: return 2705 + case .silvallyWater: return 2706 + case .miniorMeteorBlue: return 2707 + case .miniorBlue: return 2708 + case .miniorGreen: return 2709 + case .miniorIndigo: return 2710 + case .miniorOrange: return 2711 + case .miniorRed: return 2712 + case .miniorViolet: return 2713 + case .miniorYellow: return 2714 + case .mimikyuBusted: return 2715 + case .mimikyuDisguised: return 2716 + case .necrozmaNormal: return 2717 + case .necrozmaDuskMane: return 2718 + case .necrozmaDawnWings: return 2719 + case .necrozmaUltra: return 2720 + case .magearnaNormal: return 2721 + case .magearnaOriginalColor: return 2722 + case .urshifuSingleStrike: return 2723 + case .urshifuRapidStrike: return 2724 + case .calyrexNormal: return 2725 + case .calyrexIceRider: return 2726 + case .calyrexShadowRider: return 2727 + case .voltorbHisuian: return 2728 + case .lugiaS: return 2729 + case .hoOhS: return 2730 + case .raikouS: return 2731 + case .enteiS: return 2732 + case .suicuneS: return 2733 + case .slowking2022: return 2734 + case .electrodeHisuian: return 2735 + case .pikachuFlyingOkinawa: return 2736 + case .rockruffDusk: return 2737 + case .miniorMeteorGreen: return 2739 + case .miniorMeteorIndigo: return 2740 + case .miniorMeteorOrange: return 2741 + case .miniorMeteorRed: return 2742 + case .miniorMeteorViolet: return 2743 + case .miniorMeteorYellow: return 2744 + case .scatterbugArchipelago: return 2745 + case .scatterbugContinental: return 2746 + case .scatterbugElegant: return 2747 + case .scatterbugFancy: return 2748 + case .scatterbugGarden: return 2749 + case .scatterbugHighPlains: return 2750 + case .scatterbugIcySnow: return 2751 + case .scatterbugJungle: return 2752 + case .scatterbugMarine: return 2753 + case .scatterbugMeadow: return 2754 + case .scatterbugModern: return 2755 + case .scatterbugMonsoon: return 2756 + case .scatterbugOcean: return 2757 + case .scatterbugPokeball: return 2758 + case .scatterbugPolar: return 2759 + case .scatterbugRiver: return 2760 + case .scatterbugSandstorm: return 2761 + case .scatterbugSavanna: return 2762 + case .scatterbugSun: return 2763 + case .scatterbugTundra: return 2764 + case .spewpaArchipelago: return 2765 + case .spewpaContinental: return 2766 + case .spewpaElegant: return 2767 + case .spewpaFancy: return 2768 + case .spewpaGarden: return 2769 + case .spewpaHighPlains: return 2770 + case .spewpaIcySnow: return 2771 + case .spewpaJungle: return 2772 + case .spewpaMarine: return 2773 + case .spewpaMeadow: return 2774 + case .spewpaModern: return 2775 + case .spewpaMonsoon: return 2776 + case .spewpaOcean: return 2777 + case .spewpaPokeball: return 2778 + case .spewpaPolar: return 2779 + case .spewpaRiver: return 2780 + case .spewpaSandstorm: return 2781 + case .spewpaSavanna: return 2782 + case .spewpaSun: return 2783 + case .spewpaTundra: return 2784 + case .decidueyeHisuian: return 2785 + case .typhlosionHisuian: return 2786 + case .samurottHisuian: return 2787 + case .qwilfishHisuian: return 2788 + case .lilligantHisuian: return 2789 + case .sliggooHisuian: return 2790 + case .goodraHisuian: return 2791 + case .growlitheHisuian: return 2792 + case .arcanineHisuian: return 2793 + case .sneaselHisuian: return 2794 + case .avaluggHisuian: return 2795 + case .zoruaHisuian: return 2796 + case .zoroarkHisuian: return 2797 + case .braviaryHisuian: return 2798 + case .moltresGalarian: return 2799 + case .zapdosGalarian: return 2800 + case .articunoGalarian: return 2801 + case .enamorusIncarnate: return 2802 + case .enamorusTherian: return 2803 + case .basculinWhiteStriped: return 2804 + case .pikachuGofest2022: return 2805 + case .pikachuWcs2022: return 2806 + case .basculegionNormal: return 2807 + case .basculegionFemale: return 2808 + case .decidueyeNormal: return 2809 + case .sliggooNormal: return 2810 + case .goodraNormal: return 2811 + case .avaluggNormal: return 2812 + case .pikachuTshirt01: return 2813 + case .pikachuTshirt02: return 2814 + case .pikachuFlying01: return 2815 + case .pikachuFlying02: return 2816 + case .ursalunaNormal: return 2817 + case .ursalunaShadow: return 2818 + case .ursalunaPurified: return 2819 + case .bearticWinter2020: return 2820 + case .latiasS: return 2821 + case .latiosS: return 2822 + case .zygardeCompleteTenPercent: return 2823 + case .zygardeCompleteFiftyPercent: return 2824 + case .pikachuGotour2024A: return 2825 + case .pikachuGotour2024B: return 2826 + case .pikachuGotour2024A02: return 2827 + case .pikachuGotour2024B02: return 2828 + case .dialgaOrigin: return 2829 + case .palkiaOrigin: return 2830 + case .rockruffNormal: return 2831 + case .pikachuTshirt03: return 2832 + case .pikachuFlying04: return 2833 + case .pikachuTshirt04: return 2834 + case .pikachuTshirt05: return 2835 + case .pikachuTshirt06: return 2836 + case .pikachuTshirt07: return 2837 + case .pikachuFlying05: return 2838 + case .pikachuFlying06: return 2839 + case .pikachuFlying07: return 2840 + case .pikachuFlying08: return 2841 + case .oinkologneNormal: return 2981 + case .oinkologneFemale: return 2982 + case .mausholdFamilyOfThree: return 2983 + case .mausholdFamilyOfFour: return 2984 + case .squawkabillyGreen: return 2985 + case .squawkabillyBlue: return 2986 + case .squawkabillyYellow: return 2987 + case .squawkabillyWhite: return 2988 + case .palafinZero: return 2989 + case .palafinHero: return 2990 + case .tatsugiriCurly: return 2991 + case .tatsugiriDroopy: return 2992 + case .tatsugiriStretchy: return 2993 + case .dudunsparceTwo: return 2994 + case .dudunsparceThree: return 2995 + case .koraidonApex: return 2996 + case .miraidonUltimate: return 2997 + case .gimmighoulNormal: return 2998 + case .gholdengoNormal: return 3000 + case .aerodactylSummer2023: return 3001 + case .pikachuSummer2023A: return 3002 + case .pikachuSummer2023B: return 3003 + case .pikachuSummer2023C: return 3004 + case .pikachuSummer2023D: return 3005 + case .taurosPaldeaCombat: return 3006 + case .taurosPaldeaBlaze: return 3007 + case .taurosPaldeaAqua: return 3008 + case .wooperPaldea: return 3009 + case .pikachuSummer2023E: return 3010 + case .pikachuFlying03: return 3011 + case .pikachuJeju: return 3012 + case .pikachuDoctor: return 3013 + case .pikachuWcs2023: return 3014 + case .UNRECOGNIZED(let i): return i + default: break + } + + // Can't get here, all the cases are listed in the above switches. + // See https://github.com/apple/swift-protobuf/issues/904 for more details. + fatalError() + } + + } + + public enum Gender: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case male // = 1 + case female // = 2 + case less // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .male + case 2: self = .female + case 3: self = .less + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .male: return 1 + case .female: return 2 + case .less: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension PokemonDisplayProto.Alignment: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonDisplayProto.Alignment] = [ + .unset, + .shadow, + .purified, + ] +} + +extension PokemonDisplayProto.Costume: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonDisplayProto.Costume] = [ + .unset, + .holiday2016, + .anniversary, + .oneYearAnniversary, + .halloween2017, + .summer2018, + .fall2018, + .november2018, + .winter2018, + .feb2019, + .may2019Noevolve, + .jan2020Noevolve, + .april2020Noevolve, + .safari2020Noevolve, + .spring2020Noevolve, + .summer2020Noevolve, + .fall2020Noevolve, + .winter2020Noevolve, + .notForReleaseAlpha, + .notForReleaseBeta, + .notForReleaseGamma, + .notForReleaseNoevolve, + .kanto2020Noevolve, + .johto2020Noevolve, + .hoenn2020Noevolve, + .sinnoh2020Noevolve, + .halloween2020Noevolve, + .costume1, + .costume2, + .costume3, + .costume4, + .costume5, + .costume6, + .costume7, + .costume8, + .costume9, + .costume10, + .costume1Noevolve, + .costume2Noevolve, + .costume3Noevolve, + .costume4Noevolve, + .costume5Noevolve, + .costume6Noevolve, + .costume7Noevolve, + .costume8Noevolve, + .costume9Noevolve, + .costume10Noevolve, + .gofest2021Noevolve, + .fashion2021Noevolve, + .halloween2021Noevolve, + .gems12021Noevolve, + .gems22021Noevolve, + .holiday2021Noevolve, + .tcg2022Noevolve, + .jan2022Noevolve, + .gofest2022Noevolve, + .anniversary2022Noevolve, + .fall2022, + .fall2022Noevolve, + .holiday2022, + .jan2023Noevolve, + .gotour2023BandanaNoevolve, + .gotour2023HatNoevolve, + .spring2023, + .spring2023Mystic, + .spring2023Valor, + .spring2023Instinct, + .nightcap, + .may2023, + .pi, + .fall2023, + .fall2023Noevolve, + .piNoevolve, + .holiday2023, + .jan2024, + ] +} + +extension PokemonDisplayProto.Form: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonDisplayProto.Form] = [ + .unset, + .unownA, + .unownB, + .unownC, + .unownD, + .unownE, + .unownF, + .unownG, + .unownH, + .unownI, + .unownJ, + .unownK, + .unownL, + .unownM, + .unownN, + .unownO, + .unownP, + .unownQ, + .unownR, + .unownS, + .unownT, + .unownU, + .unownV, + .unownW, + .unownX, + .unownY, + .unownZ, + .unownExclamationPoint, + .unownQuestionMark, + .castformNormal, + .castformSunny, + .castformRainy, + .castformSnowy, + .deoxysNormal, + .deoxysAttack, + .deoxysDefense, + .deoxysSpeed, + .spinda00, + .spinda01, + .spinda02, + .spinda03, + .spinda04, + .spinda05, + .spinda06, + .spinda07, + .rattataNormal, + .rattataAlola, + .raticateNormal, + .raticateAlola, + .raichuNormal, + .raichuAlola, + .sandshrewNormal, + .sandshrewAlola, + .sandslashNormal, + .sandslashAlola, + .vulpixNormal, + .vulpixAlola, + .ninetalesNormal, + .ninetalesAlola, + .diglettNormal, + .diglettAlola, + .dugtrioNormal, + .dugtrioAlola, + .meowthNormal, + .meowthAlola, + .persianNormal, + .persianAlola, + .geodudeNormal, + .geodudeAlola, + .gravelerNormal, + .gravelerAlola, + .golemNormal, + .golemAlola, + .grimerNormal, + .grimerAlola, + .mukNormal, + .mukAlola, + .exeggutorNormal, + .exeggutorAlola, + .marowakNormal, + .marowakAlola, + .rotomNormal, + .rotomFrost, + .rotomFan, + .rotomMow, + .rotomWash, + .rotomHeat, + .wormadamPlant, + .wormadamSandy, + .wormadamTrash, + .giratinaAltered, + .giratinaOrigin, + .shayminSky, + .shayminLand, + .cherrimOvercast, + .cherrimSunny, + .shellosWestSea, + .shellosEastSea, + .gastrodonWestSea, + .gastrodonEastSea, + .arceusNormal, + .arceusFighting, + .arceusFlying, + .arceusPoison, + .arceusGround, + .arceusRock, + .arceusBug, + .arceusGhost, + .arceusSteel, + .arceusFire, + .arceusWater, + .arceusGrass, + .arceusElectric, + .arceusPsychic, + .arceusIce, + .arceusDragon, + .arceusDark, + .arceusFairy, + .burmyPlant, + .burmySandy, + .burmyTrash, + .spinda08, + .spinda09, + .spinda10, + .spinda11, + .spinda12, + .spinda13, + .spinda14, + .spinda15, + .spinda16, + .spinda17, + .spinda18, + .spinda19, + .mewtwoA, + .mewtwoNormal, + .basculinRedStriped, + .basculinBlueStriped, + .darmanitanStandard, + .darmanitanZen, + .tornadusIncarnate, + .tornadusTherian, + .thundurusIncarnate, + .thundurusTherian, + .landorusIncarnate, + .landorusTherian, + .kyuremNormal, + .kyuremBlack, + .kyuremWhite, + .keldeoOrdinary, + .keldeoResolute, + .meloettaAria, + .meloettaPirouette, + .rattataShadow, + .rattataPurified, + .raticateShadow, + .raticatePurified, + .zubatNormal, + .zubatShadow, + .zubatPurified, + .golbatNormal, + .golbatShadow, + .golbatPurified, + .bulbasaurNormal, + .bulbasaurShadow, + .bulbasaurPurified, + .ivysaurNormal, + .ivysaurShadow, + .ivysaurPurified, + .venusaurNormal, + .venusaurShadow, + .venusaurPurified, + .charmanderNormal, + .charmanderShadow, + .charmanderPurified, + .charmeleonNormal, + .charmeleonShadow, + .charmeleonPurified, + .charizardNormal, + .charizardShadow, + .charizardPurified, + .squirtleNormal, + .squirtleShadow, + .squirtlePurified, + .wartortleNormal, + .wartortleShadow, + .wartortlePurified, + .blastoiseNormal, + .blastoiseShadow, + .blastoisePurified, + .dratiniNormal, + .dratiniShadow, + .dratiniPurified, + .dragonairNormal, + .dragonairShadow, + .dragonairPurified, + .dragoniteNormal, + .dragoniteShadow, + .dragonitePurified, + .snorlaxNormal, + .snorlaxShadow, + .snorlaxPurified, + .crobatNormal, + .crobatShadow, + .crobatPurified, + .mudkipNormal, + .mudkipShadow, + .mudkipPurified, + .marshtompNormal, + .marshtompShadow, + .marshtompPurified, + .swampertNormal, + .swampertShadow, + .swampertPurified, + .drowzeeNormal, + .drowzeeShadow, + .drowzeePurified, + .hypnoNormal, + .hypnoShadow, + .hypnoPurified, + .grimerShadow, + .grimerPurified, + .mukShadow, + .mukPurified, + .cuboneNormal, + .cuboneShadow, + .cubonePurified, + .marowakShadow, + .marowakPurified, + .houndourNormal, + .houndourShadow, + .houndourPurified, + .houndoomNormal, + .houndoomShadow, + .houndoomPurified, + .poliwagNormal, + .poliwagShadow, + .poliwagPurified, + .poliwhirlNormal, + .poliwhirlShadow, + .poliwhirlPurified, + .poliwrathNormal, + .poliwrathShadow, + .poliwrathPurified, + .politoedNormal, + .politoedShadow, + .politoedPurified, + .scytherNormal, + .scytherShadow, + .scytherPurified, + .scizorNormal, + .scizorShadow, + .scizorPurified, + .magikarpNormal, + .magikarpShadow, + .magikarpPurified, + .gyaradosNormal, + .gyaradosShadow, + .gyaradosPurified, + .venonatNormal, + .venonatShadow, + .venonatPurified, + .venomothNormal, + .venomothShadow, + .venomothPurified, + .oddishNormal, + .oddishShadow, + .oddishPurified, + .gloomNormal, + .gloomShadow, + .gloomPurified, + .vileplumeNormal, + .vileplumeShadow, + .vileplumePurified, + .bellossomNormal, + .bellossomShadow, + .bellossomPurified, + .hitmonchanNormal, + .hitmonchanShadow, + .hitmonchanPurified, + .growlitheNormal, + .growlitheShadow, + .growlithePurified, + .arcanineNormal, + .arcanineShadow, + .arcaninePurified, + .psyduckNormal, + .psyduckShadow, + .psyduckPurified, + .golduckNormal, + .golduckShadow, + .golduckPurified, + .raltsNormal, + .raltsShadow, + .raltsPurified, + .kirliaNormal, + .kirliaShadow, + .kirliaPurified, + .gardevoirNormal, + .gardevoirShadow, + .gardevoirPurified, + .galladeNormal, + .galladeShadow, + .galladePurified, + .abraNormal, + .abraShadow, + .abraPurified, + .kadabraNormal, + .kadabraShadow, + .kadabraPurified, + .alakazamNormal, + .alakazamShadow, + .alakazamPurified, + .larvitarNormal, + .larvitarShadow, + .larvitarPurified, + .pupitarNormal, + .pupitarShadow, + .pupitarPurified, + .tyranitarNormal, + .tyranitarShadow, + .tyranitarPurified, + .laprasNormal, + .laprasShadow, + .laprasPurified, + .deerlingSpring, + .deerlingSummer, + .deerlingAutumn, + .deerlingWinter, + .sawsbuckSpring, + .sawsbuckSummer, + .sawsbuckAutumn, + .sawsbuckWinter, + .genesectNormal, + .genesectShock, + .genesectBurn, + .genesectChill, + .genesectDouse, + .pikachuNormal, + .wurmpleNormal, + .wobbuffetNormal, + .cacneaNormal, + .cacneaShadow, + .cacneaPurified, + .cacturneNormal, + .cacturneShadow, + .cacturnePurified, + .weedleNormal, + .weedleShadow, + .weedlePurified, + .kakunaNormal, + .kakunaShadow, + .kakunaPurified, + .beedrillNormal, + .beedrillShadow, + .beedrillPurified, + .seedotNormal, + .seedotShadow, + .seedotPurified, + .nuzleafNormal, + .nuzleafShadow, + .nuzleafPurified, + .shiftryNormal, + .shiftryShadow, + .shiftryPurified, + .magmarNormal, + .magmarShadow, + .magmarPurified, + .magmortarNormal, + .magmortarShadow, + .magmortarPurified, + .electabuzzNormal, + .electabuzzShadow, + .electabuzzPurified, + .electivireNormal, + .electivireShadow, + .electivirePurified, + .mareepNormal, + .mareepShadow, + .mareepPurified, + .flaaffyNormal, + .flaaffyShadow, + .flaaffyPurified, + .ampharosNormal, + .ampharosShadow, + .ampharosPurified, + .magnemiteNormal, + .magnemiteShadow, + .magnemitePurified, + .magnetonNormal, + .magnetonShadow, + .magnetonPurified, + .magnezoneNormal, + .magnezoneShadow, + .magnezonePurified, + .bellsproutNormal, + .bellsproutShadow, + .bellsproutPurified, + .weepinbellNormal, + .weepinbellShadow, + .weepinbellPurified, + .victreebelNormal, + .victreebelShadow, + .victreebelPurified, + .sandshrewShadow, + .sandshrewPurified, + .sandslashShadow, + .sandslashPurified, + .porygonNormal, + .porygonShadow, + .porygonPurified, + .porygon2Normal, + .porygon2Shadow, + .porygon2Purified, + .porygonZNormal, + .porygonZShadow, + .porygonZPurified, + .wobbuffetShadow, + .wobbuffetPurified, + .turtwigNormal, + .turtwigShadow, + .turtwigPurified, + .grotleNormal, + .grotleShadow, + .grotlePurified, + .torterraNormal, + .torterraShadow, + .torterraPurified, + .ekansNormal, + .ekansShadow, + .ekansPurified, + .arbokNormal, + .arbokShadow, + .arbokPurified, + .koffingNormal, + .koffingShadow, + .koffingPurified, + .weezingNormal, + .weezingShadow, + .weezingPurified, + .meowthShadow, + .meowthPurified, + .persianShadow, + .persianPurified, + .hitmonleeNormal, + .hitmonleeShadow, + .hitmonleePurified, + .articunoNormal, + .articunoShadow, + .articunoPurified, + .misdreavusNormal, + .misdreavusShadow, + .misdreavusPurified, + .mismagiusNormal, + .mismagiusShadow, + .mismagiusPurified, + .vulpixShadow, + .vulpixPurified, + .ninetalesShadow, + .ninetalesPurified, + .exeggcuteNormal, + .exeggcuteShadow, + .exeggcutePurified, + .exeggutorShadow, + .exeggutorPurified, + .carvanhaNormal, + .carvanhaShadow, + .carvanhaPurified, + .sharpedoNormal, + .sharpedoShadow, + .sharpedoPurified, + .omanyteNormal, + .omanyteShadow, + .omanytePurified, + .omastarNormal, + .omastarShadow, + .omastarPurified, + .trapinchNormal, + .trapinchShadow, + .trapinchPurified, + .vibravaNormal, + .vibravaShadow, + .vibravaPurified, + .flygonNormal, + .flygonShadow, + .flygonPurified, + .bagonNormal, + .bagonShadow, + .bagonPurified, + .shelgonNormal, + .shelgonShadow, + .shelgonPurified, + .salamenceNormal, + .salamenceShadow, + .salamencePurified, + .beldumNormal, + .beldumShadow, + .beldumPurified, + .metangNormal, + .metangShadow, + .metangPurified, + .metagrossNormal, + .metagrossShadow, + .metagrossPurified, + .zapdosNormal, + .zapdosShadow, + .zapdosPurified, + .nidoranNormal, + .nidoranShadow, + .nidoranPurified, + .nidorinaNormal, + .nidorinaShadow, + .nidorinaPurified, + .nidoqueenNormal, + .nidoqueenShadow, + .nidoqueenPurified, + .nidorinoNormal, + .nidorinoShadow, + .nidorinoPurified, + .nidokingNormal, + .nidokingShadow, + .nidokingPurified, + .stunkyNormal, + .stunkyShadow, + .stunkyPurified, + .skuntankNormal, + .skuntankShadow, + .skuntankPurified, + .sneaselNormal, + .sneaselShadow, + .sneaselPurified, + .weavileNormal, + .weavileShadow, + .weavilePurified, + .gligarNormal, + .gligarShadow, + .gligarPurified, + .gliscorNormal, + .gliscorShadow, + .gliscorPurified, + .machopNormal, + .machopShadow, + .machopPurified, + .machokeNormal, + .machokeShadow, + .machokePurified, + .machampNormal, + .machampShadow, + .machampPurified, + .chimcharNormal, + .chimcharShadow, + .chimcharPurified, + .monfernoNormal, + .monfernoShadow, + .monfernoPurified, + .infernapeNormal, + .infernapeShadow, + .infernapePurified, + .shuckleNormal, + .shuckleShadow, + .shucklePurified, + .absolNormal, + .absolShadow, + .absolPurified, + .mawileNormal, + .mawileShadow, + .mawilePurified, + .moltresNormal, + .moltresShadow, + .moltresPurified, + .kangaskhanNormal, + .kangaskhanShadow, + .kangaskhanPurified, + .diglettShadow, + .diglettPurified, + .dugtrioShadow, + .dugtrioPurified, + .rhyhornNormal, + .rhyhornShadow, + .rhyhornPurified, + .rhydonNormal, + .rhydonShadow, + .rhydonPurified, + .rhyperiorNormal, + .rhyperiorShadow, + .rhyperiorPurified, + .murkrowNormal, + .murkrowShadow, + .murkrowPurified, + .honchkrowNormal, + .honchkrowShadow, + .honchkrowPurified, + .gibleNormal, + .gibleShadow, + .giblePurified, + .gabiteNormal, + .gabiteShadow, + .gabitePurified, + .garchompNormal, + .garchompShadow, + .garchompPurified, + .krabbyNormal, + .krabbyShadow, + .krabbyPurified, + .kinglerNormal, + .kinglerShadow, + .kinglerPurified, + .shellderNormal, + .shellderShadow, + .shellderPurified, + .cloysterNormal, + .cloysterShadow, + .cloysterPurified, + .geodudeShadow, + .geodudePurified, + .gravelerShadow, + .gravelerPurified, + .golemShadow, + .golemPurified, + .hippopotasNormal, + .hippopotasShadow, + .hippopotasPurified, + .hippowdonNormal, + .hippowdonShadow, + .hippowdonPurified, + .pikachuFall2019, + .squirtleFall2019, + .charmanderFall2019, + .bulbasaurFall2019, + .pinsirNormal, + .pinsirShadow, + .pinsirPurified, + .pikachuVs2019, + .onixNormal, + .onixShadow, + .onixPurified, + .steelixNormal, + .steelixShadow, + .steelixPurified, + .shuppetNormal, + .shuppetShadow, + .shuppetPurified, + .banetteNormal, + .banetteShadow, + .banettePurified, + .duskullNormal, + .duskullShadow, + .duskullPurified, + .dusclopsNormal, + .dusclopsShadow, + .dusclopsPurified, + .dusknoirNormal, + .dusknoirShadow, + .dusknoirPurified, + .sableyeNormal, + .sableyeShadow, + .sableyePurified, + .snoruntNormal, + .snoruntShadow, + .snoruntPurified, + .glalieNormal, + .glalieShadow, + .glaliePurified, + .snoverNormal, + .snoverShadow, + .snoverPurified, + .abomasnowNormal, + .abomasnowShadow, + .abomasnowPurified, + .delibirdNormal, + .delibirdShadow, + .delibirdPurified, + .stantlerNormal, + .stantlerShadow, + .stantlerPurified, + .weezingGalarian, + .zigzagoonNormal, + .zigzagoonGalarian, + .linooneNormal, + .linooneGalarian, + .pikachuCopy2019, + .venusaurCopy2019, + .charizardCopy2019, + .blastoiseCopy2019, + .caterpieNormal, + .caterpieShadow, + .caterpiePurified, + .metapodNormal, + .metapodShadow, + .metapodPurified, + .butterfreeNormal, + .butterfreeShadow, + .butterfreePurified, + .pidgeyNormal, + .pidgeyShadow, + .pidgeyPurified, + .pidgeottoNormal, + .pidgeottoShadow, + .pidgeottoPurified, + .pidgeotNormal, + .pidgeotShadow, + .pidgeotPurified, + .spearowNormal, + .spearowShadow, + .spearowPurified, + .fearowNormal, + .fearowShadow, + .fearowPurified, + .pikachuShadow, + .pikachuPurified, + .raichuShadow, + .raichuPurified, + .clefairyNormal, + .clefairyShadow, + .clefairyPurified, + .clefableNormal, + .clefableShadow, + .clefablePurified, + .jigglypuffNormal, + .jigglypuffShadow, + .jigglypuffPurified, + .wigglytuffNormal, + .wigglytuffShadow, + .wigglytuffPurified, + .parasNormal, + .parasShadow, + .parasPurified, + .parasectNormal, + .parasectShadow, + .parasectPurified, + .mankeyNormal, + .mankeyShadow, + .mankeyPurified, + .primeapeNormal, + .primeapeShadow, + .primeapePurified, + .tentacoolNormal, + .tentacoolShadow, + .tentacoolPurified, + .tentacruelNormal, + .tentacruelShadow, + .tentacruelPurified, + .ponytaNormal, + .ponytaShadow, + .ponytaPurified, + .rapidashNormal, + .rapidashShadow, + .rapidashPurified, + .slowpokeNormal, + .slowpokeShadow, + .slowpokePurified, + .slowbroNormal, + .slowbroShadow, + .slowbroPurified, + .farfetchdNormal, + .farfetchdShadow, + .farfetchdPurified, + .doduoNormal, + .doduoShadow, + .doduoPurified, + .dodrioNormal, + .dodrioShadow, + .dodrioPurified, + .seelNormal, + .seelShadow, + .seelPurified, + .dewgongNormal, + .dewgongShadow, + .dewgongPurified, + .gastlyNormal, + .gastlyShadow, + .gastlyPurified, + .haunterNormal, + .haunterShadow, + .haunterPurified, + .gengarNormal, + .gengarShadow, + .gengarPurified, + .voltorbNormal, + .voltorbShadow, + .voltorbPurified, + .electrodeNormal, + .electrodeShadow, + .electrodePurified, + .lickitungNormal, + .lickitungShadow, + .lickitungPurified, + .chanseyNormal, + .chanseyShadow, + .chanseyPurified, + .tangelaNormal, + .tangelaShadow, + .tangelaPurified, + .horseaNormal, + .horseaShadow, + .horseaPurified, + .seadraNormal, + .seadraShadow, + .seadraPurified, + .goldeenNormal, + .goldeenShadow, + .goldeenPurified, + .seakingNormal, + .seakingShadow, + .seakingPurified, + .staryuNormal, + .staryuShadow, + .staryuPurified, + .starmieNormal, + .starmieShadow, + .starmiePurified, + .mrMimeNormal, + .mrMimeShadow, + .mrMimePurified, + .jynxNormal, + .jynxShadow, + .jynxPurified, + .taurosNormal, + .taurosShadow, + .taurosPurified, + .dittoNormal, + .dittoShadow, + .dittoPurified, + .eeveeNormal, + .eeveeShadow, + .eeveePurified, + .vaporeonNormal, + .vaporeonShadow, + .vaporeonPurified, + .jolteonNormal, + .jolteonShadow, + .jolteonPurified, + .flareonNormal, + .flareonShadow, + .flareonPurified, + .kabutoNormal, + .kabutoShadow, + .kabutoPurified, + .kabutopsNormal, + .kabutopsShadow, + .kabutopsPurified, + .aerodactylNormal, + .aerodactylShadow, + .aerodactylPurified, + .mewtwoShadow, + .mewtwoPurified, + .mewNormal, + .mewShadow, + .mewPurified, + .chikoritaNormal, + .chikoritaShadow, + .chikoritaPurified, + .bayleefNormal, + .bayleefShadow, + .bayleefPurified, + .meganiumNormal, + .meganiumShadow, + .meganiumPurified, + .cyndaquilNormal, + .cyndaquilShadow, + .cyndaquilPurified, + .quilavaNormal, + .quilavaShadow, + .quilavaPurified, + .typhlosionNormal, + .typhlosionShadow, + .typhlosionPurified, + .totodileNormal, + .totodileShadow, + .totodilePurified, + .croconawNormal, + .croconawShadow, + .croconawPurified, + .feraligatrNormal, + .feraligatrShadow, + .feraligatrPurified, + .sentretNormal, + .sentretShadow, + .sentretPurified, + .furretNormal, + .furretShadow, + .furretPurified, + .hoothootNormal, + .hoothootShadow, + .hoothootPurified, + .noctowlNormal, + .noctowlShadow, + .noctowlPurified, + .ledybaNormal, + .ledybaShadow, + .ledybaPurified, + .ledianNormal, + .ledianShadow, + .ledianPurified, + .spinarakNormal, + .spinarakShadow, + .spinarakPurified, + .ariadosNormal, + .ariadosShadow, + .ariadosPurified, + .chinchouNormal, + .chinchouShadow, + .chinchouPurified, + .lanturnNormal, + .lanturnShadow, + .lanturnPurified, + .pichuNormal, + .pichuShadow, + .pichuPurified, + .cleffaNormal, + .cleffaShadow, + .cleffaPurified, + .igglybuffNormal, + .igglybuffShadow, + .igglybuffPurified, + .togepiNormal, + .togepiShadow, + .togepiPurified, + .togeticNormal, + .togeticShadow, + .togeticPurified, + .natuNormal, + .natuShadow, + .natuPurified, + .xatuNormal, + .xatuShadow, + .xatuPurified, + .marillNormal, + .marillShadow, + .marillPurified, + .azumarillNormal, + .azumarillShadow, + .azumarillPurified, + .sudowoodoNormal, + .sudowoodoShadow, + .sudowoodoPurified, + .hoppipNormal, + .hoppipShadow, + .hoppipPurified, + .skiploomNormal, + .skiploomShadow, + .skiploomPurified, + .jumpluffNormal, + .jumpluffShadow, + .jumpluffPurified, + .aipomNormal, + .aipomShadow, + .aipomPurified, + .sunkernNormal, + .sunkernShadow, + .sunkernPurified, + .sunfloraNormal, + .sunfloraShadow, + .sunfloraPurified, + .yanmaNormal, + .yanmaShadow, + .yanmaPurified, + .wooperNormal, + .wooperShadow, + .wooperPurified, + .quagsireNormal, + .quagsireShadow, + .quagsirePurified, + .espeonNormal, + .espeonShadow, + .espeonPurified, + .umbreonNormal, + .umbreonShadow, + .umbreonPurified, + .slowkingNormal, + .slowkingShadow, + .slowkingPurified, + .girafarigNormal, + .girafarigShadow, + .girafarigPurified, + .pinecoNormal, + .pinecoShadow, + .pinecoPurified, + .forretressNormal, + .forretressShadow, + .forretressPurified, + .dunsparceNormal, + .dunsparceShadow, + .dunsparcePurified, + .snubbullNormal, + .snubbullShadow, + .snubbullPurified, + .granbullNormal, + .granbullShadow, + .granbullPurified, + .qwilfishNormal, + .qwilfishShadow, + .qwilfishPurified, + .heracrossNormal, + .heracrossShadow, + .heracrossPurified, + .teddiursaNormal, + .teddiursaShadow, + .teddiursaPurified, + .ursaringNormal, + .ursaringShadow, + .ursaringPurified, + .slugmaNormal, + .slugmaShadow, + .slugmaPurified, + .magcargoNormal, + .magcargoShadow, + .magcargoPurified, + .swinubNormal, + .swinubShadow, + .swinubPurified, + .piloswineNormal, + .piloswineShadow, + .piloswinePurified, + .corsolaNormal, + .corsolaShadow, + .corsolaPurified, + .remoraidNormal, + .remoraidShadow, + .remoraidPurified, + .octilleryNormal, + .octilleryShadow, + .octilleryPurified, + .mantineNormal, + .mantineShadow, + .mantinePurified, + .skarmoryNormal, + .skarmoryShadow, + .skarmoryPurified, + .kingdraNormal, + .kingdraShadow, + .kingdraPurified, + .phanpyNormal, + .phanpyShadow, + .phanpyPurified, + .donphanNormal, + .donphanShadow, + .donphanPurified, + .smeargleNormal, + .smeargleShadow, + .smearglePurified, + .tyrogueNormal, + .tyrogueShadow, + .tyroguePurified, + .hitmontopNormal, + .hitmontopShadow, + .hitmontopPurified, + .smoochumNormal, + .smoochumShadow, + .smoochumPurified, + .elekidNormal, + .elekidShadow, + .elekidPurified, + .magbyNormal, + .magbyShadow, + .magbyPurified, + .miltankNormal, + .miltankShadow, + .miltankPurified, + .blisseyNormal, + .blisseyShadow, + .blisseyPurified, + .raikouNormal, + .raikouShadow, + .raikouPurified, + .enteiNormal, + .enteiShadow, + .enteiPurified, + .suicuneNormal, + .suicuneShadow, + .suicunePurified, + .lugiaNormal, + .lugiaShadow, + .lugiaPurified, + .hoOhNormal, + .hoOhShadow, + .hoOhPurified, + .celebiNormal, + .celebiShadow, + .celebiPurified, + .treeckoNormal, + .treeckoShadow, + .treeckoPurified, + .grovyleNormal, + .grovyleShadow, + .grovylePurified, + .sceptileNormal, + .sceptileShadow, + .sceptilePurified, + .torchicNormal, + .torchicShadow, + .torchicPurified, + .combuskenNormal, + .combuskenShadow, + .combuskenPurified, + .blazikenNormal, + .blazikenShadow, + .blazikenPurified, + .poochyenaNormal, + .poochyenaShadow, + .poochyenaPurified, + .mightyenaNormal, + .mightyenaShadow, + .mightyenaPurified, + .zigzagoonShadow, + .zigzagoonPurified, + .linooneShadow, + .linoonePurified, + .wurmpleShadow, + .wurmplePurified, + .silcoonNormal, + .silcoonShadow, + .silcoonPurified, + .beautiflyNormal, + .beautiflyShadow, + .beautiflyPurified, + .cascoonNormal, + .cascoonShadow, + .cascoonPurified, + .dustoxNormal, + .dustoxShadow, + .dustoxPurified, + .lotadNormal, + .lotadShadow, + .lotadPurified, + .lombreNormal, + .lombreShadow, + .lombrePurified, + .ludicoloNormal, + .ludicoloShadow, + .ludicoloPurified, + .taillowNormal, + .taillowShadow, + .taillowPurified, + .swellowNormal, + .swellowShadow, + .swellowPurified, + .wingullNormal, + .wingullShadow, + .wingullPurified, + .pelipperNormal, + .pelipperShadow, + .pelipperPurified, + .surskitNormal, + .surskitShadow, + .surskitPurified, + .masquerainNormal, + .masquerainShadow, + .masquerainPurified, + .shroomishNormal, + .shroomishShadow, + .shroomishPurified, + .breloomNormal, + .breloomShadow, + .breloomPurified, + .slakothNormal, + .slakothShadow, + .slakothPurified, + .vigorothNormal, + .vigorothShadow, + .vigorothPurified, + .slakingNormal, + .slakingShadow, + .slakingPurified, + .nincadaNormal, + .nincadaShadow, + .nincadaPurified, + .ninjaskNormal, + .ninjaskShadow, + .ninjaskPurified, + .shedinjaNormal, + .shedinjaShadow, + .shedinjaPurified, + .whismurNormal, + .whismurShadow, + .whismurPurified, + .loudredNormal, + .loudredShadow, + .loudredPurified, + .exploudNormal, + .exploudShadow, + .exploudPurified, + .makuhitaNormal, + .makuhitaShadow, + .makuhitaPurified, + .hariyamaNormal, + .hariyamaShadow, + .hariyamaPurified, + .azurillNormal, + .azurillShadow, + .azurillPurified, + .nosepassNormal, + .nosepassShadow, + .nosepassPurified, + .skittyNormal, + .skittyShadow, + .skittyPurified, + .delcattyNormal, + .delcattyShadow, + .delcattyPurified, + .aronNormal, + .aronShadow, + .aronPurified, + .laironNormal, + .laironShadow, + .laironPurified, + .aggronNormal, + .aggronShadow, + .aggronPurified, + .medititeNormal, + .medititeShadow, + .medititePurified, + .medichamNormal, + .medichamShadow, + .medichamPurified, + .electrikeNormal, + .electrikeShadow, + .electrikePurified, + .manectricNormal, + .manectricShadow, + .manectricPurified, + .plusleNormal, + .plusleShadow, + .pluslePurified, + .minunNormal, + .minunShadow, + .minunPurified, + .volbeatNormal, + .volbeatShadow, + .volbeatPurified, + .illumiseNormal, + .illumiseShadow, + .illumisePurified, + .roseliaNormal, + .roseliaShadow, + .roseliaPurified, + .gulpinNormal, + .gulpinShadow, + .gulpinPurified, + .swalotNormal, + .swalotShadow, + .swalotPurified, + .wailmerNormal, + .wailmerShadow, + .wailmerPurified, + .wailordNormal, + .wailordShadow, + .wailordPurified, + .numelNormal, + .numelShadow, + .numelPurified, + .cameruptNormal, + .cameruptShadow, + .cameruptPurified, + .torkoalNormal, + .torkoalShadow, + .torkoalPurified, + .spoinkNormal, + .spoinkShadow, + .spoinkPurified, + .grumpigNormal, + .grumpigShadow, + .grumpigPurified, + .swabluNormal, + .swabluShadow, + .swabluPurified, + .altariaNormal, + .altariaShadow, + .altariaPurified, + .zangooseNormal, + .zangooseShadow, + .zangoosePurified, + .seviperNormal, + .seviperShadow, + .seviperPurified, + .lunatoneNormal, + .lunatoneShadow, + .lunatonePurified, + .solrockNormal, + .solrockShadow, + .solrockPurified, + .barboachNormal, + .barboachShadow, + .barboachPurified, + .whiscashNormal, + .whiscashShadow, + .whiscashPurified, + .corphishNormal, + .corphishShadow, + .corphishPurified, + .crawdauntNormal, + .crawdauntShadow, + .crawdauntPurified, + .baltoyNormal, + .baltoyShadow, + .baltoyPurified, + .claydolNormal, + .claydolShadow, + .claydolPurified, + .lileepNormal, + .lileepShadow, + .lileepPurified, + .cradilyNormal, + .cradilyShadow, + .cradilyPurified, + .anorithNormal, + .anorithShadow, + .anorithPurified, + .armaldoNormal, + .armaldoShadow, + .armaldoPurified, + .feebasNormal, + .feebasShadow, + .feebasPurified, + .miloticNormal, + .miloticShadow, + .miloticPurified, + .kecleonNormal, + .kecleonShadow, + .kecleonPurified, + .tropiusNormal, + .tropiusShadow, + .tropiusPurified, + .chimechoNormal, + .chimechoShadow, + .chimechoPurified, + .wynautNormal, + .wynautShadow, + .wynautPurified, + .sphealNormal, + .sphealShadow, + .sphealPurified, + .sealeoNormal, + .sealeoShadow, + .sealeoPurified, + .walreinNormal, + .walreinShadow, + .walreinPurified, + .clamperlNormal, + .clamperlShadow, + .clamperlPurified, + .huntailNormal, + .huntailShadow, + .huntailPurified, + .gorebyssNormal, + .gorebyssShadow, + .gorebyssPurified, + .relicanthNormal, + .relicanthShadow, + .relicanthPurified, + .luvdiscNormal, + .luvdiscShadow, + .luvdiscPurified, + .regirockNormal, + .regirockShadow, + .regirockPurified, + .regiceNormal, + .regiceShadow, + .regicePurified, + .registeelNormal, + .registeelShadow, + .registeelPurified, + .latiasNormal, + .latiasShadow, + .latiasPurified, + .latiosNormal, + .latiosShadow, + .latiosPurified, + .kyogreNormal, + .kyogreShadow, + .kyogrePurified, + .groudonNormal, + .groudonShadow, + .groudonPurified, + .rayquazaNormal, + .rayquazaShadow, + .rayquazaPurified, + .jirachiNormal, + .jirachiShadow, + .jirachiPurified, + .piplupNormal, + .piplupShadow, + .piplupPurified, + .prinplupNormal, + .prinplupShadow, + .prinplupPurified, + .empoleonNormal, + .empoleonShadow, + .empoleonPurified, + .starlyNormal, + .starlyShadow, + .starlyPurified, + .staraviaNormal, + .staraviaShadow, + .staraviaPurified, + .staraptorNormal, + .staraptorShadow, + .staraptorPurified, + .bidoofNormal, + .bidoofShadow, + .bidoofPurified, + .bibarelNormal, + .bibarelShadow, + .bibarelPurified, + .kricketotNormal, + .kricketotShadow, + .kricketotPurified, + .kricketuneNormal, + .kricketuneShadow, + .kricketunePurified, + .shinxNormal, + .shinxShadow, + .shinxPurified, + .luxioNormal, + .luxioShadow, + .luxioPurified, + .luxrayNormal, + .luxrayShadow, + .luxrayPurified, + .budewNormal, + .budewShadow, + .budewPurified, + .roseradeNormal, + .roseradeShadow, + .roseradePurified, + .cranidosNormal, + .cranidosShadow, + .cranidosPurified, + .rampardosNormal, + .rampardosShadow, + .rampardosPurified, + .shieldonNormal, + .shieldonShadow, + .shieldonPurified, + .bastiodonNormal, + .bastiodonShadow, + .bastiodonPurified, + .burmyNormal, + .burmyShadow, + .burmyPurified, + .wormadamNormal, + .wormadamShadow, + .wormadamPurified, + .mothimNormal, + .mothimShadow, + .mothimPurified, + .combeeNormal, + .combeeShadow, + .combeePurified, + .vespiquenNormal, + .vespiquenShadow, + .vespiquenPurified, + .pachirisuNormal, + .pachirisuShadow, + .pachirisuPurified, + .buizelNormal, + .buizelShadow, + .buizelPurified, + .floatzelNormal, + .floatzelShadow, + .floatzelPurified, + .cherubiNormal, + .cherubiShadow, + .cherubiPurified, + .cherrimNormal, + .cherrimShadow, + .cherrimPurified, + .shellosNormal, + .shellosShadow, + .shellosPurified, + .gastrodonNormal, + .gastrodonShadow, + .gastrodonPurified, + .ambipomNormal, + .ambipomShadow, + .ambipomPurified, + .drifloonNormal, + .drifloonShadow, + .drifloonPurified, + .drifblimNormal, + .drifblimShadow, + .drifblimPurified, + .bunearyNormal, + .bunearyShadow, + .bunearyPurified, + .lopunnyNormal, + .lopunnyShadow, + .lopunnyPurified, + .glameowNormal, + .glameowShadow, + .glameowPurified, + .puruglyNormal, + .puruglyShadow, + .puruglyPurified, + .chinglingNormal, + .chinglingShadow, + .chinglingPurified, + .bronzorNormal, + .bronzorShadow, + .bronzorPurified, + .bronzongNormal, + .bronzongShadow, + .bronzongPurified, + .bonslyNormal, + .bonslyShadow, + .bonslyPurified, + .mimeJrNormal, + .mimeJrShadow, + .mimeJrPurified, + .happinyNormal, + .happinyShadow, + .happinyPurified, + .chatotNormal, + .chatotShadow, + .chatotPurified, + .spiritombNormal, + .spiritombShadow, + .spiritombPurified, + .munchlaxNormal, + .munchlaxShadow, + .munchlaxPurified, + .rioluNormal, + .rioluShadow, + .rioluPurified, + .lucarioNormal, + .lucarioShadow, + .lucarioPurified, + .skorupiNormal, + .skorupiShadow, + .skorupiPurified, + .drapionNormal, + .drapionShadow, + .drapionPurified, + .croagunkNormal, + .croagunkShadow, + .croagunkPurified, + .toxicroakNormal, + .toxicroakShadow, + .toxicroakPurified, + .carnivineNormal, + .carnivineShadow, + .carnivinePurified, + .finneonNormal, + .finneonShadow, + .finneonPurified, + .lumineonNormal, + .lumineonShadow, + .lumineonPurified, + .mantykeNormal, + .mantykeShadow, + .mantykePurified, + .lickilickyNormal, + .lickilickyShadow, + .lickilickyPurified, + .tangrowthNormal, + .tangrowthShadow, + .tangrowthPurified, + .togekissNormal, + .togekissShadow, + .togekissPurified, + .yanmegaNormal, + .yanmegaShadow, + .yanmegaPurified, + .leafeonNormal, + .leafeonShadow, + .leafeonPurified, + .glaceonNormal, + .glaceonShadow, + .glaceonPurified, + .mamoswineNormal, + .mamoswineShadow, + .mamoswinePurified, + .probopassNormal, + .probopassShadow, + .probopassPurified, + .froslassNormal, + .froslassShadow, + .froslassPurified, + .uxieNormal, + .uxieShadow, + .uxiePurified, + .mespritNormal, + .mespritShadow, + .mespritPurified, + .azelfNormal, + .azelfShadow, + .azelfPurified, + .dialgaNormal, + .dialgaShadow, + .dialgaPurified, + .palkiaNormal, + .palkiaShadow, + .palkiaPurified, + .heatranNormal, + .heatranShadow, + .heatranPurified, + .regigigasNormal, + .regigigasShadow, + .regigigasPurified, + .giratinaNormal, + .giratinaShadow, + .giratinaPurified, + .cresseliaNormal, + .cresseliaShadow, + .cresseliaPurified, + .phioneNormal, + .phioneShadow, + .phionePurified, + .manaphyNormal, + .manaphyShadow, + .manaphyPurified, + .darkraiNormal, + .darkraiShadow, + .darkraiPurified, + .shayminNormal, + .shayminShadow, + .shayminPurified, + .victiniNormal, + .victiniShadow, + .victiniPurified, + .snivyNormal, + .snivyShadow, + .snivyPurified, + .servineNormal, + .servineShadow, + .servinePurified, + .serperiorNormal, + .serperiorShadow, + .serperiorPurified, + .tepigNormal, + .tepigShadow, + .tepigPurified, + .pigniteNormal, + .pigniteShadow, + .pignitePurified, + .emboarNormal, + .emboarShadow, + .emboarPurified, + .oshawottNormal, + .oshawottShadow, + .oshawottPurified, + .dewottNormal, + .dewottShadow, + .dewottPurified, + .samurottNormal, + .samurottShadow, + .samurottPurified, + .patratNormal, + .patratShadow, + .patratPurified, + .watchogNormal, + .watchogShadow, + .watchogPurified, + .lillipupNormal, + .lillipupShadow, + .lillipupPurified, + .herdierNormal, + .herdierShadow, + .herdierPurified, + .stoutlandNormal, + .stoutlandShadow, + .stoutlandPurified, + .purrloinNormal, + .purrloinShadow, + .purrloinPurified, + .liepardNormal, + .liepardShadow, + .liepardPurified, + .pansageNormal, + .pansageShadow, + .pansagePurified, + .simisageNormal, + .simisageShadow, + .simisagePurified, + .pansearNormal, + .pansearShadow, + .pansearPurified, + .simisearNormal, + .simisearShadow, + .simisearPurified, + .panpourNormal, + .panpourShadow, + .panpourPurified, + .simipourNormal, + .simipourShadow, + .simipourPurified, + .munnaNormal, + .munnaShadow, + .munnaPurified, + .musharnaNormal, + .musharnaShadow, + .musharnaPurified, + .pidoveNormal, + .pidoveShadow, + .pidovePurified, + .tranquillNormal, + .tranquillShadow, + .tranquillPurified, + .unfezantNormal, + .unfezantShadow, + .unfezantPurified, + .blitzleNormal, + .blitzleShadow, + .blitzlePurified, + .zebstrikaNormal, + .zebstrikaShadow, + .zebstrikaPurified, + .roggenrolaNormal, + .roggenrolaShadow, + .roggenrolaPurified, + .boldoreNormal, + .boldoreShadow, + .boldorePurified, + .gigalithNormal, + .gigalithShadow, + .gigalithPurified, + .woobatNormal, + .woobatShadow, + .woobatPurified, + .swoobatNormal, + .swoobatShadow, + .swoobatPurified, + .drilburNormal, + .drilburShadow, + .drilburPurified, + .excadrillNormal, + .excadrillShadow, + .excadrillPurified, + .audinoNormal, + .audinoShadow, + .audinoPurified, + .timburrNormal, + .timburrShadow, + .timburrPurified, + .gurdurrNormal, + .gurdurrShadow, + .gurdurrPurified, + .conkeldurrNormal, + .conkeldurrShadow, + .conkeldurrPurified, + .tympoleNormal, + .tympoleShadow, + .tympolePurified, + .palpitoadNormal, + .palpitoadShadow, + .palpitoadPurified, + .seismitoadNormal, + .seismitoadShadow, + .seismitoadPurified, + .throhNormal, + .throhShadow, + .throhPurified, + .sawkNormal, + .sawkShadow, + .sawkPurified, + .sewaddleNormal, + .sewaddleShadow, + .sewaddlePurified, + .swadloonNormal, + .swadloonShadow, + .swadloonPurified, + .leavannyNormal, + .leavannyShadow, + .leavannyPurified, + .venipedeNormal, + .venipedeShadow, + .venipedePurified, + .whirlipedeNormal, + .whirlipedeShadow, + .whirlipedePurified, + .scolipedeNormal, + .scolipedeShadow, + .scolipedePurified, + .cottoneeNormal, + .cottoneeShadow, + .cottoneePurified, + .whimsicottNormal, + .whimsicottShadow, + .whimsicottPurified, + .petililNormal, + .petililShadow, + .petililPurified, + .lilligantNormal, + .lilligantShadow, + .lilligantPurified, + .sandileNormal, + .sandileShadow, + .sandilePurified, + .krokorokNormal, + .krokorokShadow, + .krokorokPurified, + .krookodileNormal, + .krookodileShadow, + .krookodilePurified, + .darumakaNormal, + .darumakaShadow, + .darumakaPurified, + .maractusNormal, + .maractusShadow, + .maractusPurified, + .dwebbleNormal, + .dwebbleShadow, + .dwebblePurified, + .crustleNormal, + .crustleShadow, + .crustlePurified, + .scraggyNormal, + .scraggyShadow, + .scraggyPurified, + .scraftyNormal, + .scraftyShadow, + .scraftyPurified, + .sigilyphNormal, + .sigilyphShadow, + .sigilyphPurified, + .yamaskNormal, + .yamaskShadow, + .yamaskPurified, + .cofagrigusNormal, + .cofagrigusShadow, + .cofagrigusPurified, + .tirtougaNormal, + .tirtougaShadow, + .tirtougaPurified, + .carracostaNormal, + .carracostaShadow, + .carracostaPurified, + .archenNormal, + .archenShadow, + .archenPurified, + .archeopsNormal, + .archeopsShadow, + .archeopsPurified, + .trubbishNormal, + .trubbishShadow, + .trubbishPurified, + .garbodorNormal, + .garbodorShadow, + .garbodorPurified, + .zoruaNormal, + .zoruaShadow, + .zoruaPurified, + .zoroarkNormal, + .zoroarkShadow, + .zoroarkPurified, + .minccinoNormal, + .minccinoShadow, + .minccinoPurified, + .cinccinoNormal, + .cinccinoShadow, + .cinccinoPurified, + .gothitaNormal, + .gothitaShadow, + .gothitaPurified, + .gothoritaNormal, + .gothoritaShadow, + .gothoritaPurified, + .gothitelleNormal, + .gothitelleShadow, + .gothitellePurified, + .solosisNormal, + .solosisShadow, + .solosisPurified, + .duosionNormal, + .duosionShadow, + .duosionPurified, + .reuniclusNormal, + .reuniclusShadow, + .reuniclusPurified, + .ducklettNormal, + .ducklettShadow, + .ducklettPurified, + .swannaNormal, + .swannaShadow, + .swannaPurified, + .vanilliteNormal, + .vanilliteShadow, + .vanillitePurified, + .vanillishNormal, + .vanillishShadow, + .vanillishPurified, + .vanilluxeNormal, + .vanilluxeShadow, + .vanilluxePurified, + .emolgaNormal, + .emolgaShadow, + .emolgaPurified, + .karrablastNormal, + .karrablastShadow, + .karrablastPurified, + .escavalierNormal, + .escavalierShadow, + .escavalierPurified, + .foongusNormal, + .foongusShadow, + .foongusPurified, + .amoongussNormal, + .amoongussShadow, + .amoongussPurified, + .frillishNormal, + .frillishShadow, + .frillishPurified, + .jellicentNormal, + .jellicentShadow, + .jellicentPurified, + .alomomolaNormal, + .alomomolaShadow, + .alomomolaPurified, + .joltikNormal, + .joltikShadow, + .joltikPurified, + .galvantulaNormal, + .galvantulaShadow, + .galvantulaPurified, + .ferroseedNormal, + .ferroseedShadow, + .ferroseedPurified, + .ferrothornNormal, + .ferrothornShadow, + .ferrothornPurified, + .klinkNormal, + .klinkShadow, + .klinkPurified, + .klangNormal, + .klangShadow, + .klangPurified, + .klinklangNormal, + .klinklangShadow, + .klinklangPurified, + .tynamoNormal, + .tynamoShadow, + .tynamoPurified, + .eelektrikNormal, + .eelektrikShadow, + .eelektrikPurified, + .eelektrossNormal, + .eelektrossShadow, + .eelektrossPurified, + .elgyemNormal, + .elgyemShadow, + .elgyemPurified, + .beheeyemNormal, + .beheeyemShadow, + .beheeyemPurified, + .litwickNormal, + .litwickShadow, + .litwickPurified, + .lampentNormal, + .lampentShadow, + .lampentPurified, + .chandelureNormal, + .chandelureShadow, + .chandelurePurified, + .axewNormal, + .axewShadow, + .axewPurified, + .fraxureNormal, + .fraxureShadow, + .fraxurePurified, + .haxorusNormal, + .haxorusShadow, + .haxorusPurified, + .cubchooNormal, + .cubchooShadow, + .cubchooPurified, + .bearticNormal, + .bearticShadow, + .bearticPurified, + .cryogonalNormal, + .cryogonalShadow, + .cryogonalPurified, + .shelmetNormal, + .shelmetShadow, + .shelmetPurified, + .accelgorNormal, + .accelgorShadow, + .accelgorPurified, + .stunfiskNormal, + .stunfiskShadow, + .stunfiskPurified, + .mienfooNormal, + .mienfooShadow, + .mienfooPurified, + .mienshaoNormal, + .mienshaoShadow, + .mienshaoPurified, + .druddigonNormal, + .druddigonShadow, + .druddigonPurified, + .golettNormal, + .golettShadow, + .golettPurified, + .golurkNormal, + .golurkShadow, + .golurkPurified, + .pawniardNormal, + .pawniardShadow, + .pawniardPurified, + .bisharpNormal, + .bisharpShadow, + .bisharpPurified, + .bouffalantNormal, + .bouffalantShadow, + .bouffalantPurified, + .ruffletNormal, + .ruffletShadow, + .ruffletPurified, + .braviaryNormal, + .braviaryShadow, + .braviaryPurified, + .vullabyNormal, + .vullabyShadow, + .vullabyPurified, + .mandibuzzNormal, + .mandibuzzShadow, + .mandibuzzPurified, + .heatmorNormal, + .heatmorShadow, + .heatmorPurified, + .durantNormal, + .durantShadow, + .durantPurified, + .deinoNormal, + .deinoShadow, + .deinoPurified, + .zweilousNormal, + .zweilousShadow, + .zweilousPurified, + .hydreigonNormal, + .hydreigonShadow, + .hydreigonPurified, + .larvestaNormal, + .larvestaShadow, + .larvestaPurified, + .volcaronaNormal, + .volcaronaShadow, + .volcaronaPurified, + .cobalionNormal, + .cobalionShadow, + .cobalionPurified, + .terrakionNormal, + .terrakionShadow, + .terrakionPurified, + .virizionNormal, + .virizionShadow, + .virizionPurified, + .reshiramNormal, + .reshiramShadow, + .reshiramPurified, + .zekromNormal, + .zekromShadow, + .zekromPurified, + .meltanNormal, + .meltanShadow, + .meltanPurified, + .melmetalNormal, + .melmetalShadow, + .melmetalPurified, + .wurmpleSpring2020, + .wobbuffetSpring2020, + .raticateSpring2020, + .frillishFemale, + .jellicentFemale, + .pikachuCostume2020, + .dragoniteCostume2020, + .onixCostume2020, + .meowthGalarian, + .ponytaGalarian, + .rapidashGalarian, + .farfetchdGalarian, + .mrMimeGalarian, + .corsolaGalarian, + .darumakaGalarian, + .darmanitanGalarianStandard, + .darmanitanGalarianZen, + .yamaskGalarian, + .stunfiskGalarian, + .toxtricityLowKey, + .toxtricityAmped, + .sinisteaPhony, + .sinisteaAntique, + .polteageistPhony, + .polteageistAntique, + .obstagoonNormal, + .obstagoonShadow, + .obstagoonPurified, + .perrserkerNormal, + .perrserkerShadow, + .perrserkerPurified, + .cursolaNormal, + .cursolaShadow, + .cursolaPurified, + .sirfetchdNormal, + .sirfetchdShadow, + .sirfetchdPurified, + .mrRimeNormal, + .mrRimeShadow, + .mrRimePurified, + .runerigusNormal, + .runerigusShadow, + .runerigusPurified, + .eiscueIce, + .eiscueNoice, + .indeedeeMale, + .indeedeeFemale, + .morpekoFullBelly, + .morpekoHangry, + .zacianCrownedSword, + .zacianHero, + .zamazentaCrownedShield, + .zamazentaHero, + .eternatusEternamax, + .eternatusNormal, + .slowpokeGalarian, + .slowbroGalarian, + .slowkingGalarian, + .laprasCostume2020, + .gengarCostume2020, + .pyroarNormal, + .pyroarFemale, + .meowsticNormal, + .meowsticFemale, + .zygardeTenPercent, + .zygardeFiftyPercent, + .zygardeComplete, + .vivillonArchipelago, + .vivillonContinental, + .vivillonElegant, + .vivillonFancy, + .vivillonGarden, + .vivillonHighPlains, + .vivillonIcySnow, + .vivillonJungle, + .vivillonMarine, + .vivillonMeadow, + .vivillonModern, + .vivillonMonsoon, + .vivillonOcean, + .vivillonPokeball, + .vivillonPolar, + .vivillonRiver, + .vivillonSandstorm, + .vivillonSavanna, + .vivillonSun, + .vivillonTundra, + .flabebeRed, + .flabebeYellow, + .flabebeOrange, + .flabebeBlue, + .flabebeWhite, + .floetteRed, + .floetteYellow, + .floetteOrange, + .floetteBlue, + .floetteWhite, + .florgesRed, + .florgesYellow, + .florgesOrange, + .florgesBlue, + .florgesWhite, + .furfrouNatural, + .furfrouHeart, + .furfrouStar, + .furfrouDiamond, + .furfrouDebutante, + .furfrouMatron, + .furfrouDandy, + .furfrouLaReine, + .furfrouKabuki, + .furfrouPharaoh, + .aegislashShield, + .aegislashBlade, + .pumpkabooSmall, + .pumpkabooAverage, + .pumpkabooLarge, + .pumpkabooSuper, + .gourgeistSmall, + .gourgeistAverage, + .gourgeistLarge, + .gourgeistSuper, + .xerneasNeutral, + .xerneasActive, + .hoopaConfined, + .hoopaUnbound, + .sableyeCostume2020Deprecated, + .sableyeCostume2020, + .pikachuAdventureHat2020, + .pikachuWinter2020, + .delibirdWinter2020, + .cubchooWinter2020, + .slowpoke2020, + .slowbro2021, + .pikachuKariyushi, + .pikachuPopStar, + .pikachuRockStar, + .pikachuFlying5ThAnniv, + .oricorioBaile, + .oricorioPompom, + .oricorioPau, + .oricorioSensu, + .lycanrocMidday, + .lycanrocMidnight, + .lycanrocDusk, + .wishiwashiSolo, + .wishiwashiSchool, + .silvallyNormal, + .silvallyBug, + .silvallyDark, + .silvallyDragon, + .silvallyElectric, + .silvallyFairy, + .silvallyFighting, + .silvallyFire, + .silvallyFlying, + .silvallyGhost, + .silvallyGrass, + .silvallyGround, + .silvallyIce, + .silvallyPoison, + .silvallyPsychic, + .silvallyRock, + .silvallySteel, + .silvallyWater, + .miniorMeteorBlue, + .miniorBlue, + .miniorGreen, + .miniorIndigo, + .miniorOrange, + .miniorRed, + .miniorViolet, + .miniorYellow, + .mimikyuBusted, + .mimikyuDisguised, + .necrozmaNormal, + .necrozmaDuskMane, + .necrozmaDawnWings, + .necrozmaUltra, + .magearnaNormal, + .magearnaOriginalColor, + .urshifuSingleStrike, + .urshifuRapidStrike, + .calyrexNormal, + .calyrexIceRider, + .calyrexShadowRider, + .voltorbHisuian, + .lugiaS, + .hoOhS, + .raikouS, + .enteiS, + .suicuneS, + .slowking2022, + .electrodeHisuian, + .pikachuFlyingOkinawa, + .rockruffDusk, + .miniorMeteorGreen, + .miniorMeteorIndigo, + .miniorMeteorOrange, + .miniorMeteorRed, + .miniorMeteorViolet, + .miniorMeteorYellow, + .scatterbugArchipelago, + .scatterbugContinental, + .scatterbugElegant, + .scatterbugFancy, + .scatterbugGarden, + .scatterbugHighPlains, + .scatterbugIcySnow, + .scatterbugJungle, + .scatterbugMarine, + .scatterbugMeadow, + .scatterbugModern, + .scatterbugMonsoon, + .scatterbugOcean, + .scatterbugPokeball, + .scatterbugPolar, + .scatterbugRiver, + .scatterbugSandstorm, + .scatterbugSavanna, + .scatterbugSun, + .scatterbugTundra, + .spewpaArchipelago, + .spewpaContinental, + .spewpaElegant, + .spewpaFancy, + .spewpaGarden, + .spewpaHighPlains, + .spewpaIcySnow, + .spewpaJungle, + .spewpaMarine, + .spewpaMeadow, + .spewpaModern, + .spewpaMonsoon, + .spewpaOcean, + .spewpaPokeball, + .spewpaPolar, + .spewpaRiver, + .spewpaSandstorm, + .spewpaSavanna, + .spewpaSun, + .spewpaTundra, + .decidueyeHisuian, + .typhlosionHisuian, + .samurottHisuian, + .qwilfishHisuian, + .lilligantHisuian, + .sliggooHisuian, + .goodraHisuian, + .growlitheHisuian, + .arcanineHisuian, + .sneaselHisuian, + .avaluggHisuian, + .zoruaHisuian, + .zoroarkHisuian, + .braviaryHisuian, + .moltresGalarian, + .zapdosGalarian, + .articunoGalarian, + .enamorusIncarnate, + .enamorusTherian, + .basculinWhiteStriped, + .pikachuGofest2022, + .pikachuWcs2022, + .basculegionNormal, + .basculegionFemale, + .decidueyeNormal, + .sliggooNormal, + .goodraNormal, + .avaluggNormal, + .pikachuTshirt01, + .pikachuTshirt02, + .pikachuFlying01, + .pikachuFlying02, + .ursalunaNormal, + .ursalunaShadow, + .ursalunaPurified, + .bearticWinter2020, + .latiasS, + .latiosS, + .zygardeCompleteTenPercent, + .zygardeCompleteFiftyPercent, + .pikachuGotour2024A, + .pikachuGotour2024B, + .pikachuGotour2024A02, + .pikachuGotour2024B02, + .dialgaOrigin, + .palkiaOrigin, + .rockruffNormal, + .pikachuTshirt03, + .pikachuFlying04, + .pikachuTshirt04, + .pikachuTshirt05, + .pikachuTshirt06, + .pikachuTshirt07, + .pikachuFlying05, + .pikachuFlying06, + .pikachuFlying07, + .pikachuFlying08, + .oinkologneNormal, + .oinkologneFemale, + .mausholdFamilyOfThree, + .mausholdFamilyOfFour, + .squawkabillyGreen, + .squawkabillyBlue, + .squawkabillyYellow, + .squawkabillyWhite, + .palafinZero, + .palafinHero, + .tatsugiriCurly, + .tatsugiriDroopy, + .tatsugiriStretchy, + .dudunsparceTwo, + .dudunsparceThree, + .koraidonApex, + .miraidonUltimate, + .gimmighoulNormal, + .gholdengoNormal, + .aerodactylSummer2023, + .pikachuSummer2023A, + .pikachuSummer2023B, + .pikachuSummer2023C, + .pikachuSummer2023D, + .taurosPaldeaCombat, + .taurosPaldeaBlaze, + .taurosPaldeaAqua, + .wooperPaldea, + .pikachuSummer2023E, + .pikachuFlying03, + .pikachuJeju, + .pikachuDoctor, + .pikachuWcs2023, + ] +} + +extension PokemonDisplayProto.Gender: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonDisplayProto.Gender] = [ + .unset, + .male, + .female, + .less, + ] +} + +#endif // swift(>=4.2) + +public struct PokemonEncounterAttributesProto { + // 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. + + public var baseCaptureRate: Float { + get {return _storage._baseCaptureRate} + set {_uniqueStorage()._baseCaptureRate = newValue} + } + + public var baseFleeRate: Float { + get {return _storage._baseFleeRate} + set {_uniqueStorage()._baseFleeRate = newValue} + } + + public var collisionRadiusM: Float { + get {return _storage._collisionRadiusM} + set {_uniqueStorage()._collisionRadiusM = newValue} + } + + public var collisionHeightM: Float { + get {return _storage._collisionHeightM} + set {_uniqueStorage()._collisionHeightM = newValue} + } + + public var collisionHeadRadiusM: Float { + get {return _storage._collisionHeadRadiusM} + set {_uniqueStorage()._collisionHeadRadiusM = newValue} + } + + public var movementType: HoloPokemonMovementType { + get {return _storage._movementType} + set {_uniqueStorage()._movementType = newValue} + } + + public var movementTimerS: Float { + get {return _storage._movementTimerS} + set {_uniqueStorage()._movementTimerS = newValue} + } + + public var jumpTimeS: Float { + get {return _storage._jumpTimeS} + set {_uniqueStorage()._jumpTimeS = newValue} + } + + public var attackTimerS: Float { + get {return _storage._attackTimerS} + set {_uniqueStorage()._attackTimerS = newValue} + } + + public var bonusCandyCaptureReward: Int32 { + get {return _storage._bonusCandyCaptureReward} + set {_uniqueStorage()._bonusCandyCaptureReward = newValue} + } + + public var bonusStardustCaptureReward: Int32 { + get {return _storage._bonusStardustCaptureReward} + set {_uniqueStorage()._bonusStardustCaptureReward = newValue} + } + + public var attackProbability: Float { + get {return _storage._attackProbability} + set {_uniqueStorage()._attackProbability = newValue} + } + + public var dodgeProbability: Float { + get {return _storage._dodgeProbability} + set {_uniqueStorage()._dodgeProbability = newValue} + } + + public var dodgeDurationS: Float { + get {return _storage._dodgeDurationS} + set {_uniqueStorage()._dodgeDurationS = newValue} + } + + public var dodgeDistance: Float { + get {return _storage._dodgeDistance} + set {_uniqueStorage()._dodgeDistance = newValue} + } + + public var cameraDistance: Float { + get {return _storage._cameraDistance} + set {_uniqueStorage()._cameraDistance = newValue} + } + + public var minPokemonActionFrequencyS: Float { + get {return _storage._minPokemonActionFrequencyS} + set {_uniqueStorage()._minPokemonActionFrequencyS = newValue} + } + + public var maxPokemonActionFrequencyS: Float { + get {return _storage._maxPokemonActionFrequencyS} + set {_uniqueStorage()._maxPokemonActionFrequencyS = newValue} + } + + public var bonusXlCandyCaptureReward: Int32 { + get {return _storage._bonusXlCandyCaptureReward} + set {_uniqueStorage()._bonusXlCandyCaptureReward = newValue} + } + + public var shadowBaseCaptureRate: Float { + get {return _storage._shadowBaseCaptureRate} + set {_uniqueStorage()._shadowBaseCaptureRate = newValue} + } + + public var shadowAttackProbability: Float { + get {return _storage._shadowAttackProbability} + set {_uniqueStorage()._shadowAttackProbability = newValue} + } + + public var shadowDodgeProbability: Float { + get {return _storage._shadowDodgeProbability} + set {_uniqueStorage()._shadowDodgeProbability = newValue} + } + + public var catchRadiusMultiplier: Float { + get {return _storage._catchRadiusMultiplier} + set {_uniqueStorage()._catchRadiusMultiplier = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PokemonEncounterRewardProto { + // 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. + + public var type: PokemonEncounterRewardProto.OneOf_Type? = nil + + public var pokemonID: HoloPokemonId { + get { + if case .pokemonID(let v)? = type {return v} + return .missingno + } + set {type = .pokemonID(newValue)} + } + + public var useQuestPokemonEncounterDistribuition: Bool { + get { + if case .useQuestPokemonEncounterDistribuition(let v)? = type {return v} + return false + } + set {type = .useQuestPokemonEncounterDistribuition(newValue)} + } + + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + + public var isHiddenDitto: Bool = false + + public var dittoDisplay: PokemonDisplayProto { + get {return _dittoDisplay ?? PokemonDisplayProto()} + set {_dittoDisplay = newValue} + } + /// Returns true if `dittoDisplay` has been explicitly set. + public var hasDittoDisplay: Bool {return self._dittoDisplay != nil} + /// Clears the value of `dittoDisplay`. Subsequent reads from it will return its default value. + public mutating func clearDittoDisplay() {self._dittoDisplay = nil} + + public var pokeBallOverride: Item = .unknown + + public var shinyProbability: Float = 0 + + public var sizeOverride: HoloPokemonSize = .pokemonSizeUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Type: Equatable { + case pokemonID(HoloPokemonId) + case useQuestPokemonEncounterDistribuition(Bool) + + #if !swift(>=4.1) + public static func ==(lhs: PokemonEncounterRewardProto.OneOf_Type, rhs: PokemonEncounterRewardProto.OneOf_Type) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pokemonID, .pokemonID): return { + guard case .pokemonID(let l) = lhs, case .pokemonID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.useQuestPokemonEncounterDistribuition, .useQuestPokemonEncounterDistribuition): return { + guard case .useQuestPokemonEncounterDistribuition(let l) = lhs, case .useQuestPokemonEncounterDistribuition(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil + fileprivate var _dittoDisplay: PokemonDisplayProto? = nil +} + +public struct PokemonEvolutionQuestProto { + // 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. + + public var questRequirement: QuestProto { + get {return _questRequirement ?? QuestProto()} + set {_questRequirement = newValue} + } + /// Returns true if `questRequirement` has been explicitly set. + public var hasQuestRequirement: Bool {return self._questRequirement != nil} + /// Clears the value of `questRequirement`. Subsequent reads from it will return its default value. + public mutating func clearQuestRequirement() {self._questRequirement = nil} + + public var questInfo: EvolutionQuestInfoProto { + get {return _questInfo ?? EvolutionQuestInfoProto()} + set {_questInfo = newValue} + } + /// Returns true if `questInfo` has been explicitly set. + public var hasQuestInfo: Bool {return self._questInfo != nil} + /// Clears the value of `questInfo`. Subsequent reads from it will return its default value. + public mutating func clearQuestInfo() {self._questInfo = nil} + + public var evolution: HoloPokemonId = .missingno + + public var form: PokemonDisplayProto.Form = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _questRequirement: QuestProto? = nil + fileprivate var _questInfo: EvolutionQuestInfoProto? = nil +} + +public struct PokemonExchangeEntryProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonExtendedSettingsProto { + // 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. + + public var uniqueID: HoloPokemonId { + get {return _storage._uniqueID} + set {_uniqueStorage()._uniqueID = newValue} + } + + public var form: PokemonDisplayProto.Form { + get {return _storage._form} + set {_uniqueStorage()._form = newValue} + } + + public var tempEvoOverrides: [TempEvoOverrideExtendedProto] { + get {return _storage._tempEvoOverrides} + set {_uniqueStorage()._tempEvoOverrides = newValue} + } + + public var sizeSettings: PokemonSizeSettingsProto { + get {return _storage._sizeSettings ?? PokemonSizeSettingsProto()} + set {_uniqueStorage()._sizeSettings = newValue} + } + /// Returns true if `sizeSettings` has been explicitly set. + public var hasSizeSettings: Bool {return _storage._sizeSettings != nil} + /// Clears the value of `sizeSettings`. Subsequent reads from it will return its default value. + public mutating func clearSizeSettings() {_uniqueStorage()._sizeSettings = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PokemonFamilyProto { + // 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. + + public var familyID: HoloPokemonFamilyId = .familyUnset + + public var candy: Int32 = 0 + + public var megaEvolutionResources: [TemporaryEvolutionResourceProto] = [] + + public var xlCandy: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonFamilySettingsProto { + // 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. + + public var familyID: HoloPokemonFamilyId = .familyUnset + + public var candyPerXlCandy: Int32 = 0 + + public var megaEvolvablePokemonID: HoloPokemonId = .missingno + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonFilterSettingsProto { + // 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. + + public var hasDuplicateFilterEnabled_p: Bool = false + + public var countFilterEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonFortProto { + // 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. + + public var fortID: String { + get {return _storage._fortID} + set {_uniqueStorage()._fortID = newValue} + } + + public var lastModifiedMs: Int64 { + get {return _storage._lastModifiedMs} + set {_uniqueStorage()._lastModifiedMs = newValue} + } + + public var latitude: Double { + get {return _storage._latitude} + set {_uniqueStorage()._latitude = newValue} + } + + public var longitude: Double { + get {return _storage._longitude} + set {_uniqueStorage()._longitude = newValue} + } + + public var team: Team { + get {return _storage._team} + set {_uniqueStorage()._team = newValue} + } + + public var guardPokemonID: HoloPokemonId { + get {return _storage._guardPokemonID} + set {_uniqueStorage()._guardPokemonID = newValue} + } + + public var guardPokemonLevel: Int32 { + get {return _storage._guardPokemonLevel} + set {_uniqueStorage()._guardPokemonLevel = newValue} + } + + public var enabled: Bool { + get {return _storage._enabled} + set {_uniqueStorage()._enabled = newValue} + } + + public var fortType: FortType { + get {return _storage._fortType} + set {_uniqueStorage()._fortType = newValue} + } + + public var gymPoints: Int64 { + get {return _storage._gymPoints} + set {_uniqueStorage()._gymPoints = newValue} + } + + public var isInBattle: Bool { + get {return _storage._isInBattle} + set {_uniqueStorage()._isInBattle = newValue} + } + + public var activeFortModifier: [Item] { + get {return _storage._activeFortModifier} + set {_uniqueStorage()._activeFortModifier = newValue} + } + + public var activePokemon: MapPokemonProto { + get {return _storage._activePokemon ?? MapPokemonProto()} + set {_uniqueStorage()._activePokemon = newValue} + } + /// Returns true if `activePokemon` has been explicitly set. + public var hasActivePokemon: Bool {return _storage._activePokemon != nil} + /// Clears the value of `activePokemon`. Subsequent reads from it will return its default value. + public mutating func clearActivePokemon() {_uniqueStorage()._activePokemon = nil} + + public var cooldownCompleteMs: Int64 { + get {return _storage._cooldownCompleteMs} + set {_uniqueStorage()._cooldownCompleteMs = newValue} + } + + public var sponsor: FortSponsor.Sponsor { + get {return _storage._sponsor} + set {_uniqueStorage()._sponsor = newValue} + } + + public var renderingType: FortRenderingType.RenderingType { + get {return _storage._renderingType} + set {_uniqueStorage()._renderingType = newValue} + } + + public var deployLockoutEndMs: Int64 { + get {return _storage._deployLockoutEndMs} + set {_uniqueStorage()._deployLockoutEndMs = newValue} + } + + public var guardPokemonDisplay: PokemonDisplayProto { + get {return _storage._guardPokemonDisplay ?? PokemonDisplayProto()} + set {_uniqueStorage()._guardPokemonDisplay = newValue} + } + /// Returns true if `guardPokemonDisplay` has been explicitly set. + public var hasGuardPokemonDisplay: Bool {return _storage._guardPokemonDisplay != nil} + /// Clears the value of `guardPokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearGuardPokemonDisplay() {_uniqueStorage()._guardPokemonDisplay = nil} + + public var closed: Bool { + get {return _storage._closed} + set {_uniqueStorage()._closed = newValue} + } + + public var raidInfo: RaidInfoProto { + get {return _storage._raidInfo ?? RaidInfoProto()} + set {_uniqueStorage()._raidInfo = newValue} + } + /// Returns true if `raidInfo` has been explicitly set. + public var hasRaidInfo: Bool {return _storage._raidInfo != nil} + /// Clears the value of `raidInfo`. Subsequent reads from it will return its default value. + public mutating func clearRaidInfo() {_uniqueStorage()._raidInfo = nil} + + public var gymDisplay: GymDisplayProto { + get {return _storage._gymDisplay ?? GymDisplayProto()} + set {_uniqueStorage()._gymDisplay = newValue} + } + /// Returns true if `gymDisplay` has been explicitly set. + public var hasGymDisplay: Bool {return _storage._gymDisplay != nil} + /// Clears the value of `gymDisplay`. Subsequent reads from it will return its default value. + public mutating func clearGymDisplay() {_uniqueStorage()._gymDisplay = nil} + + public var visited: Bool { + get {return _storage._visited} + set {_uniqueStorage()._visited = newValue} + } + + public var sameTeamDeployLockoutEndMs: Int64 { + get {return _storage._sameTeamDeployLockoutEndMs} + set {_uniqueStorage()._sameTeamDeployLockoutEndMs = newValue} + } + + public var allowCheckin: Bool { + get {return _storage._allowCheckin} + set {_uniqueStorage()._allowCheckin = newValue} + } + + public var imageURL: String { + get {return _storage._imageURL} + set {_uniqueStorage()._imageURL = newValue} + } + + public var inEvent: Bool { + get {return _storage._inEvent} + set {_uniqueStorage()._inEvent = newValue} + } + + public var bannerURL: String { + get {return _storage._bannerURL} + set {_uniqueStorage()._bannerURL = newValue} + } + + public var partnerID: String { + get {return _storage._partnerID} + set {_uniqueStorage()._partnerID = newValue} + } + + public var challengeQuestCompleted: Bool { + get {return _storage._challengeQuestCompleted} + set {_uniqueStorage()._challengeQuestCompleted = newValue} + } + + public var isExRaidEligible: Bool { + get {return _storage._isExRaidEligible} + set {_uniqueStorage()._isExRaidEligible = newValue} + } + + public var pokestopDisplay: PokestopIncidentDisplayProto { + get {return _storage._pokestopDisplay ?? PokestopIncidentDisplayProto()} + set {_uniqueStorage()._pokestopDisplay = newValue} + } + /// Returns true if `pokestopDisplay` has been explicitly set. + public var hasPokestopDisplay: Bool {return _storage._pokestopDisplay != nil} + /// Clears the value of `pokestopDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokestopDisplay() {_uniqueStorage()._pokestopDisplay = nil} + + public var pokestopDisplays: [PokestopIncidentDisplayProto] { + get {return _storage._pokestopDisplays} + set {_uniqueStorage()._pokestopDisplays = newValue} + } + + public var isArScanEligible: Bool { + get {return _storage._isArScanEligible} + set {_uniqueStorage()._isArScanEligible = newValue} + } + + public var geostoreTombstoneMessageKey: String { + get {return _storage._geostoreTombstoneMessageKey} + set {_uniqueStorage()._geostoreTombstoneMessageKey = newValue} + } + + public var geostoreSuspensionMessageKey: String { + get {return _storage._geostoreSuspensionMessageKey} + set {_uniqueStorage()._geostoreSuspensionMessageKey = newValue} + } + + public var powerUpProgressPoints: Int32 { + get {return _storage._powerUpProgressPoints} + set {_uniqueStorage()._powerUpProgressPoints = newValue} + } + + public var powerUpLevelExpirationMs: Int64 { + get {return _storage._powerUpLevelExpirationMs} + set {_uniqueStorage()._powerUpLevelExpirationMs = newValue} + } + + public var nextFortOpenMs: Int64 { + get {return _storage._nextFortOpenMs} + set {_uniqueStorage()._nextFortOpenMs = newValue} + } + + public var nextFortCloseMs: Int64 { + get {return _storage._nextFortCloseMs} + set {_uniqueStorage()._nextFortCloseMs = newValue} + } + + public var activeFortPokemon: [FortPokemonProto] { + get {return _storage._activeFortPokemon} + set {_uniqueStorage()._activeFortPokemon = newValue} + } + + public var isRouteEligible: Bool { + get {return _storage._isRouteEligible} + set {_uniqueStorage()._isRouteEligible = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PokemonFxSettingsProto { + // 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. + + public var pokemonGlowFeatureActive: Bool = false + + public var glowDuringDay: Bool = false + + public var glowDuringNight: Bool = false + + public var glowOnMap: Bool = false + + public var glowInEncounter: Bool = false + + public var glowInBattle: Bool = false + + public var glowInCombat: Bool = false + + public var glowFxPokemon: [GlowFxPokemonProto] = [] + + public var hidingInMap: Bool = false + + public var hidingInPhoto: Bool = false + + public var hidingInEncounter: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonGlobalSettingsProto { + // 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. + + public var enableCamoShader: Bool = false + + public var displayPokemonBadgeOnModel: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonGoPlusTelemetry { + // 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. + + public var pgpEventIds: PokemonGoPlusIds = .undefinedPokemonGoPlusEvent + + public var count: Int32 = 0 + + public var version: Int32 = 0 + + public var deviceKind: String = String() + + public var connectionState: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonHomeEnergyCostsProto { + // 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. + + public var pokemonClass: HoloPokemonClass = .pokemonClassNormal + + public var base: Int32 = 0 + + public var shiny: Int32 = 0 + + public var cp0To1000: Int32 = 0 + + public var cp1001To2000: Int32 = 0 + + public var cp2001ToInf: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonHomeFormReversionProto { + // 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. + + public var pokemonID: HoloPokemonId = .missingno + + public var formMapping: [PokemonHomeFormReversionProto.FormMappingProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct FormMappingProto { + // 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. + + public var revertedForm: PokemonDisplayProto.Form = .unset + + public var unauthorizedForms: [PokemonDisplayProto.Form] = [] + + public var revertedFormString: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct PokemonHomeProto { + // 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. + + public var transporterEnergy: Int32 = 0 + + public var transporterFullyChargedMs: Int64 = 0 + + public var lastPassiveTransporterEnergyGainHour: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonHomeSettingsProto { + // 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. + + public var playerMinLevel: Int32 = 0 + + public var transporterMaxEnergy: Int32 = 0 + + public var energySkuID: String = String() + + public var transporterEnergyGainPerHour: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonHomeTelemetry { + // 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. + + public var pokemonHomeClickIds: PokemonHomeTelemetryIds = .undefinedPokemonHomeEvent + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonInfo { + // 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. + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var currentHealth: Int32 = 0 + + public var currentEnergy: Int32 = 0 + + public var notableActionHistory: [VsActionHistory] = [] + + public var statModifiers: Dictionary = [:] + + public var vsEffectTag: [VsEffectTag] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct StatModifierContainer { + // 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. + + public var statModifier: [PokemonInfo.StatModifierContainer.StatModifier] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct StatModifier { + // 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. + + public var value: Int64 = 0 + + public var expiryTimeMs: Int64 = 0 + + public var type: MoveModifierProto.MoveModifierType = .unsetMoveModifierType + + public var stringValue: String = String() + + public var expiryType: PokemonInfo.StatModifierContainer.StatModifier.ExpiryType = .unsetExpiryType + + public var condition: [PokemonInfo.StatModifierContainer.StatModifier.Condition] = [] + + public var expiryValue: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Condition: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetCondition // = 0 + case chargeMove // = 1 + case fastMove // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetCondition + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetCondition + case 1: self = .chargeMove + case 2: self = .fastMove + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetCondition: return 0 + case .chargeMove: return 1 + case .fastMove: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum ExpiryType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetExpiryType // = 0 + case expiryTime // = 1 + case chargesRemaining // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetExpiryType + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetExpiryType + case 1: self = .expiryTime + case 2: self = .chargesRemaining + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetExpiryType: return 0 + case .expiryTime: return 1 + case .chargesRemaining: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public init() {} + } + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil +} + +#if swift(>=4.2) + +extension PokemonInfo.StatModifierContainer.StatModifier.Condition: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonInfo.StatModifierContainer.StatModifier.Condition] = [ + .unsetCondition, + .chargeMove, + .fastMove, + ] +} + +extension PokemonInfo.StatModifierContainer.StatModifier.ExpiryType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonInfo.StatModifierContainer.StatModifier.ExpiryType] = [ + .unsetExpiryType, + .expiryTime, + .chargesRemaining, + ] +} + +#endif // swift(>=4.2) + +public struct PokemonInventoryTelemetry { + // 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. + + public var pokemonInventoryClickIds: PokemonInventoryTelemetryIds = .undefinedPokemonInventoryEvent + + public var sortID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonKeyItemSettings { + // 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. + + public var item: Item = .unknown + + public var count: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonLoadDelay { + // 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. + + public var pokemon: PokemonLoadTelemetry { + get {return _pokemon ?? PokemonLoadTelemetry()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var loadDelay: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemon: PokemonLoadTelemetry? = nil +} + +public struct PokemonLoadTelemetry { + // 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. + + public var pokemonID: HoloPokemonId = .missingno + + public var costume: PokemonDisplayProto.Costume = .unset + + public var gender: PokemonDisplayProto.Gender = .unset + + public var shiny: Bool = false + + public var form: PokemonDisplayProto.Form = .unset + + public var alignment: PokemonDisplayProto.Alignment = .unset + + public var temporaryEvolutionID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonMapSettingsProto { + // 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. + + public var hideNearby: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonMegaEvolutionLevelProto { + // 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. + + public var points: Int64 = 0 + + public var level: Int32 = 0 + + public var megaPointDailyCounters: PokemonMegaEvolutionPointDailyCountersProto { + get {return _megaPointDailyCounters ?? PokemonMegaEvolutionPointDailyCountersProto()} + set {_megaPointDailyCounters = newValue} + } + /// Returns true if `megaPointDailyCounters` has been explicitly set. + public var hasMegaPointDailyCounters: Bool {return self._megaPointDailyCounters != nil} + /// Clears the value of `megaPointDailyCounters`. Subsequent reads from it will return its default value. + public mutating func clearMegaPointDailyCounters() {self._megaPointDailyCounters = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _megaPointDailyCounters: PokemonMegaEvolutionPointDailyCountersProto? = nil +} + +public struct PokemonMegaEvolutionPointDailyCountersProto { + // 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. + + public var megaEvo: DailyCounterProto { + get {return _megaEvo ?? DailyCounterProto()} + set {_megaEvo = newValue} + } + /// Returns true if `megaEvo` has been explicitly set. + public var hasMegaEvo: Bool {return self._megaEvo != nil} + /// Clears the value of `megaEvo`. Subsequent reads from it will return its default value. + public mutating func clearMegaEvo() {self._megaEvo = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _megaEvo: DailyCounterProto? = nil +} + +public struct PokemonProto { + // 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. + + public var id: UInt64 { + get {return _storage._id} + set {_uniqueStorage()._id = newValue} + } + + public var pokemonID: HoloPokemonId { + get {return _storage._pokemonID} + set {_uniqueStorage()._pokemonID = newValue} + } + + public var cp: Int32 { + get {return _storage._cp} + set {_uniqueStorage()._cp = newValue} + } + + public var stamina: Int32 { + get {return _storage._stamina} + set {_uniqueStorage()._stamina = newValue} + } + + public var maxStamina: Int32 { + get {return _storage._maxStamina} + set {_uniqueStorage()._maxStamina = newValue} + } + + public var move1: HoloPokemonMove { + get {return _storage._move1} + set {_uniqueStorage()._move1 = newValue} + } + + public var move2: HoloPokemonMove { + get {return _storage._move2} + set {_uniqueStorage()._move2 = newValue} + } + + public var deployedFortID: String { + get {return _storage._deployedFortID} + set {_uniqueStorage()._deployedFortID = newValue} + } + + public var ownerName: String { + get {return _storage._ownerName} + set {_uniqueStorage()._ownerName = newValue} + } + + public var isEgg: Bool { + get {return _storage._isEgg} + set {_uniqueStorage()._isEgg = newValue} + } + + public var eggKmWalkedTarget: Double { + get {return _storage._eggKmWalkedTarget} + set {_uniqueStorage()._eggKmWalkedTarget = newValue} + } + + public var eggKmWalkedStart: Double { + get {return _storage._eggKmWalkedStart} + set {_uniqueStorage()._eggKmWalkedStart = newValue} + } + + public var heightM: Float { + get {return _storage._heightM} + set {_uniqueStorage()._heightM = newValue} + } + + public var weightKg: Float { + get {return _storage._weightKg} + set {_uniqueStorage()._weightKg = newValue} + } + + public var individualAttack: Int32 { + get {return _storage._individualAttack} + set {_uniqueStorage()._individualAttack = newValue} + } + + public var individualDefense: Int32 { + get {return _storage._individualDefense} + set {_uniqueStorage()._individualDefense = newValue} + } + + public var individualStamina: Int32 { + get {return _storage._individualStamina} + set {_uniqueStorage()._individualStamina = newValue} + } + + public var cpMultiplier: Float { + get {return _storage._cpMultiplier} + set {_uniqueStorage()._cpMultiplier = newValue} + } + + public var pokeball: Item { + get {return _storage._pokeball} + set {_uniqueStorage()._pokeball = newValue} + } + + public var capturedS2CellID: Int64 { + get {return _storage._capturedS2CellID} + set {_uniqueStorage()._capturedS2CellID = newValue} + } + + public var battlesAttacked: Int32 { + get {return _storage._battlesAttacked} + set {_uniqueStorage()._battlesAttacked = newValue} + } + + public var battlesDefended: Int32 { + get {return _storage._battlesDefended} + set {_uniqueStorage()._battlesDefended = newValue} + } + + public var eggIncubatorID: String { + get {return _storage._eggIncubatorID} + set {_uniqueStorage()._eggIncubatorID = newValue} + } + + public var creationTimeMs: Int64 { + get {return _storage._creationTimeMs} + set {_uniqueStorage()._creationTimeMs = newValue} + } + + public var numUpgrades: Int32 { + get {return _storage._numUpgrades} + set {_uniqueStorage()._numUpgrades = newValue} + } + + public var additionalCpMultiplier: Float { + get {return _storage._additionalCpMultiplier} + set {_uniqueStorage()._additionalCpMultiplier = newValue} + } + + public var favorite: Bool { + get {return _storage._favorite} + set {_uniqueStorage()._favorite = newValue} + } + + public var nickname: String { + get {return _storage._nickname} + set {_uniqueStorage()._nickname = newValue} + } + + public var fromFort: Bool { + get {return _storage._fromFort} + set {_uniqueStorage()._fromFort = newValue} + } + + public var buddyCandyAwarded: Int32 { + get {return _storage._buddyCandyAwarded} + set {_uniqueStorage()._buddyCandyAwarded = newValue} + } + + public var buddyKmWalked: Float { + get {return _storage._buddyKmWalked} + set {_uniqueStorage()._buddyKmWalked = newValue} + } + + public var displayPokemonID: Int32 { + get {return _storage._displayPokemonID} + set {_uniqueStorage()._displayPokemonID = newValue} + } + + public var displayCp: Int32 { + get {return _storage._displayCp} + set {_uniqueStorage()._displayCp = newValue} + } + + public var pokemonDisplay: PokemonDisplayProto { + get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} + set {_uniqueStorage()._pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} + + public var isBad: Bool { + get {return _storage._isBad} + set {_uniqueStorage()._isBad = newValue} + } + + public var hatchedFromEgg: Bool { + get {return _storage._hatchedFromEgg} + set {_uniqueStorage()._hatchedFromEgg = newValue} + } + + public var coinsReturned: Int32 { + get {return _storage._coinsReturned} + set {_uniqueStorage()._coinsReturned = newValue} + } + + public var deployedDurationMs: Int64 { + get {return _storage._deployedDurationMs} + set {_uniqueStorage()._deployedDurationMs = newValue} + } + + public var deployedReturnedTimestampMs: Int64 { + get {return _storage._deployedReturnedTimestampMs} + set {_uniqueStorage()._deployedReturnedTimestampMs = newValue} + } + + public var cpMultiplierBeforeTrading: Float { + get {return _storage._cpMultiplierBeforeTrading} + set {_uniqueStorage()._cpMultiplierBeforeTrading = newValue} + } + + public var tradingOriginalOwnerHash: Int32 { + get {return _storage._tradingOriginalOwnerHash} + set {_uniqueStorage()._tradingOriginalOwnerHash = newValue} + } + + public var originalOwnerNickname: String { + get {return _storage._originalOwnerNickname} + set {_uniqueStorage()._originalOwnerNickname = newValue} + } + + public var tradedTimeMs: Int64 { + get {return _storage._tradedTimeMs} + set {_uniqueStorage()._tradedTimeMs = newValue} + } + + public var isLucky: Bool { + get {return _storage._isLucky} + set {_uniqueStorage()._isLucky = newValue} + } + + public var move3: HoloPokemonMove { + get {return _storage._move3} + set {_uniqueStorage()._move3 = newValue} + } + + public var pvpCombatStats: PokemonCombatStatsProto { + get {return _storage._pvpCombatStats ?? PokemonCombatStatsProto()} + set {_uniqueStorage()._pvpCombatStats = newValue} + } + /// Returns true if `pvpCombatStats` has been explicitly set. + public var hasPvpCombatStats: Bool {return _storage._pvpCombatStats != nil} + /// Clears the value of `pvpCombatStats`. Subsequent reads from it will return its default value. + public mutating func clearPvpCombatStats() {_uniqueStorage()._pvpCombatStats = nil} + + public var npcCombatStats: PokemonCombatStatsProto { + get {return _storage._npcCombatStats ?? PokemonCombatStatsProto()} + set {_uniqueStorage()._npcCombatStats = newValue} + } + /// Returns true if `npcCombatStats` has been explicitly set. + public var hasNpcCombatStats: Bool {return _storage._npcCombatStats != nil} + /// Clears the value of `npcCombatStats`. Subsequent reads from it will return its default value. + public mutating func clearNpcCombatStats() {_uniqueStorage()._npcCombatStats = nil} + + public var move2IsPurifiedExclusive: Bool { + get {return _storage._move2IsPurifiedExclusive} + set {_uniqueStorage()._move2IsPurifiedExclusive = newValue} + } + + public var limitedPokemonIdentifier: String { + get {return _storage._limitedPokemonIdentifier} + set {_uniqueStorage()._limitedPokemonIdentifier = newValue} + } + + public var preBoostedCp: Int32 { + get {return _storage._preBoostedCp} + set {_uniqueStorage()._preBoostedCp = newValue} + } + + public var preBoostedAdditionalCpMultiplier: Float { + get {return _storage._preBoostedAdditionalCpMultiplier} + set {_uniqueStorage()._preBoostedAdditionalCpMultiplier = newValue} + } + + public var deployedGymLatDegree: Double { + get {return _storage._deployedGymLatDegree} + set {_uniqueStorage()._deployedGymLatDegree = newValue} + } + + public var deployedGymLngDegree: Double { + get {return _storage._deployedGymLngDegree} + set {_uniqueStorage()._deployedGymLngDegree = newValue} + } + + public var hasMegaEvolved_p: Bool { + get {return _storage._hasMegaEvolved_p} + set {_uniqueStorage()._hasMegaEvolved_p = newValue} + } + + public var eggType: HoloPokemonEggType { + get {return _storage._eggType} + set {_uniqueStorage()._eggType = newValue} + } + + public var tempEvoCp: Int32 { + get {return _storage._tempEvoCp} + set {_uniqueStorage()._tempEvoCp = newValue} + } + + public var tempEvoStaminaModifier: Float { + get {return _storage._tempEvoStaminaModifier} + set {_uniqueStorage()._tempEvoStaminaModifier = newValue} + } + + public var tempEvoCpMultiplier: Float { + get {return _storage._tempEvoCpMultiplier} + set {_uniqueStorage()._tempEvoCpMultiplier = newValue} + } + + public var megaEvolvedForms: [HoloTemporaryEvolutionId] { + get {return _storage._megaEvolvedForms} + set {_uniqueStorage()._megaEvolvedForms = newValue} + } + + public var evolutionQuestInfo: [PokemonEvolutionQuestProto] { + get {return _storage._evolutionQuestInfo} + set {_uniqueStorage()._evolutionQuestInfo = newValue} + } + + public var originDetail: PokemonCreateDetail { + get {return _storage._originDetail ?? PokemonCreateDetail()} + set {_uniqueStorage()._originDetail = newValue} + } + /// Returns true if `originDetail` has been explicitly set. + public var hasOriginDetail: Bool {return _storage._originDetail != nil} + /// Clears the value of `originDetail`. Subsequent reads from it will return its default value. + public mutating func clearOriginDetail() {_uniqueStorage()._originDetail = nil} + + public var pokemonTagIds: [UInt64] { + get {return _storage._pokemonTagIds} + set {_uniqueStorage()._pokemonTagIds = newValue} + } + + public var originEvents: [String] { + get {return _storage._originEvents} + set {_uniqueStorage()._originEvents = newValue} + } + + public var eggSlotType: EggSlotType { + get {return _storage._eggSlotType} + set {_uniqueStorage()._eggSlotType = newValue} + } + + public var eggTelemetry: EggTelemetryProto { + get {return _storage._eggTelemetry ?? EggTelemetryProto()} + set {_uniqueStorage()._eggTelemetry = newValue} + } + /// Returns true if `eggTelemetry` has been explicitly set. + public var hasEggTelemetry: Bool {return _storage._eggTelemetry != nil} + /// Clears the value of `eggTelemetry`. Subsequent reads from it will return its default value. + public mutating func clearEggTelemetry() {_uniqueStorage()._eggTelemetry = nil} + + public var eggDistribution: EggDistributionProto { + get {return _storage._eggDistribution ?? EggDistributionProto()} + set {_uniqueStorage()._eggDistribution = newValue} + } + /// Returns true if `eggDistribution` has been explicitly set. + public var hasEggDistribution: Bool {return _storage._eggDistribution != nil} + /// Clears the value of `eggDistribution`. Subsequent reads from it will return its default value. + public mutating func clearEggDistribution() {_uniqueStorage()._eggDistribution = nil} + + public var size: HoloPokemonSize { + get {return _storage._size} + set {_uniqueStorage()._size = newValue} + } + + public var pokemonContestInfo: PokemonContestInfoProto { + get {return _storage._pokemonContestInfo ?? PokemonContestInfoProto()} + set {_uniqueStorage()._pokemonContestInfo = newValue} + } + /// Returns true if `pokemonContestInfo` has been explicitly set. + public var hasPokemonContestInfo: Bool {return _storage._pokemonContestInfo != nil} + /// Clears the value of `pokemonContestInfo`. Subsequent reads from it will return its default value. + public mutating func clearPokemonContestInfo() {_uniqueStorage()._pokemonContestInfo = nil} + + public var caughtInParty: Bool { + get {return _storage._caughtInParty} + set {_uniqueStorage()._caughtInParty = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PokemonScaleSettingProto { + // 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. + + public var pokemonScaleMode: PokemonScaleSettingProto.PokemonScaleMode = .naturalScale + + public var minHeight: Float = 0 + + public var maxHeight: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PokemonScaleMode: SwiftProtobuf.Enum { + public typealias RawValue = Int + case naturalScale // = 0 + case guiScale // = 1 + case battlePokemonScale // = 2 + case raidBossScale // = 3 + case gymTopperScale // = 4 + case mapPokemonScale // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .naturalScale + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .naturalScale + case 1: self = .guiScale + case 2: self = .battlePokemonScale + case 3: self = .raidBossScale + case 4: self = .gymTopperScale + case 5: self = .mapPokemonScale + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .naturalScale: return 0 + case .guiScale: return 1 + case .battlePokemonScale: return 2 + case .raidBossScale: return 3 + case .gymTopperScale: return 4 + case .mapPokemonScale: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PokemonScaleSettingProto.PokemonScaleMode: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonScaleSettingProto.PokemonScaleMode] = [ + .naturalScale, + .guiScale, + .battlePokemonScale, + .raidBossScale, + .gymTopperScale, + .mapPokemonScale, + ] +} + +#endif // swift(>=4.2) + +public struct PokemonSearchTelemetry { + // 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. + + public var pokemonSearchSourceID: PokemonSearchTelemetry.PokemonSearchSourceIds = .undefined + + public var prependedSearchString: String = String() + + public var searchTermString: String = String() + + public var appendedSearchString: String = String() + + public var experimentID: [Int32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PokemonSearchSourceIds: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case fromSearchPillClick // = 1 + case latestSearchEntryClick // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .undefined + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .fromSearchPillClick + case 2: self = .latestSearchEntryClick + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .fromSearchPillClick: return 1 + case .latestSearchEntryClick: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PokemonSearchTelemetry.PokemonSearchSourceIds: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonSearchTelemetry.PokemonSearchSourceIds] = [ + .undefined, + .fromSearchPillClick, + .latestSearchEntryClick, + ] +} + +#endif // swift(>=4.2) + +public struct PokemonSettingsProto { + // 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. + + public var uniqueID: HoloPokemonId { + get {return _storage._uniqueID} + set {_uniqueStorage()._uniqueID = newValue} + } + + public var modelScale: Float { + get {return _storage._modelScale} + set {_uniqueStorage()._modelScale = newValue} + } + + public var type1: HoloPokemonType { + get {return _storage._type1} + set {_uniqueStorage()._type1 = newValue} + } + + public var type2: HoloPokemonType { + get {return _storage._type2} + set {_uniqueStorage()._type2 = newValue} + } + + public var camera: PokemonCameraAttributesProto { + get {return _storage._camera ?? PokemonCameraAttributesProto()} + set {_uniqueStorage()._camera = newValue} + } + /// Returns true if `camera` has been explicitly set. + public var hasCamera: Bool {return _storage._camera != nil} + /// Clears the value of `camera`. Subsequent reads from it will return its default value. + public mutating func clearCamera() {_uniqueStorage()._camera = nil} + + public var encounter: PokemonEncounterAttributesProto { + get {return _storage._encounter ?? PokemonEncounterAttributesProto()} + set {_uniqueStorage()._encounter = newValue} + } + /// Returns true if `encounter` has been explicitly set. + public var hasEncounter: Bool {return _storage._encounter != nil} + /// Clears the value of `encounter`. Subsequent reads from it will return its default value. + public mutating func clearEncounter() {_uniqueStorage()._encounter = nil} + + public var stats: PokemonStatsAttributesProto { + get {return _storage._stats ?? PokemonStatsAttributesProto()} + set {_uniqueStorage()._stats = newValue} + } + /// Returns true if `stats` has been explicitly set. + public var hasStats: Bool {return _storage._stats != nil} + /// Clears the value of `stats`. Subsequent reads from it will return its default value. + public mutating func clearStats() {_uniqueStorage()._stats = nil} + + public var quickMoves: [HoloPokemonMove] { + get {return _storage._quickMoves} + set {_uniqueStorage()._quickMoves = newValue} + } + + public var cinematicMoves: [HoloPokemonMove] { + get {return _storage._cinematicMoves} + set {_uniqueStorage()._cinematicMoves = newValue} + } + + public var animTime: [Float] { + get {return _storage._animTime} + set {_uniqueStorage()._animTime = newValue} + } + + public var evolution: [HoloPokemonId] { + get {return _storage._evolution} + set {_uniqueStorage()._evolution = newValue} + } + + public var evolutionPips: Int32 { + get {return _storage._evolutionPips} + set {_uniqueStorage()._evolutionPips = newValue} + } + + public var pokemonClass: HoloPokemonClass { + get {return _storage._pokemonClass} + set {_uniqueStorage()._pokemonClass = newValue} + } + + public var pokedexHeightM: Float { + get {return _storage._pokedexHeightM} + set {_uniqueStorage()._pokedexHeightM = newValue} + } + + public var pokedexWeightKg: Float { + get {return _storage._pokedexWeightKg} + set {_uniqueStorage()._pokedexWeightKg = newValue} + } + + public var parentID: HoloPokemonId { + get {return _storage._parentID} + set {_uniqueStorage()._parentID = newValue} + } + + public var heightStdDev: Float { + get {return _storage._heightStdDev} + set {_uniqueStorage()._heightStdDev = newValue} + } + + public var weightStdDev: Float { + get {return _storage._weightStdDev} + set {_uniqueStorage()._weightStdDev = newValue} + } + + public var kmDistanceToHatch: Float { + get {return _storage._kmDistanceToHatch} + set {_uniqueStorage()._kmDistanceToHatch = newValue} + } + + public var familyID: HoloPokemonFamilyId { + get {return _storage._familyID} + set {_uniqueStorage()._familyID = newValue} + } + + public var candyToEvolve: Int32 { + get {return _storage._candyToEvolve} + set {_uniqueStorage()._candyToEvolve = newValue} + } + + public var kmBuddyDistance: Float { + get {return _storage._kmBuddyDistance} + set {_uniqueStorage()._kmBuddyDistance = newValue} + } + + public var buddySize: PokemonSettingsProto.BuddySize { + get {return _storage._buddySize} + set {_uniqueStorage()._buddySize = newValue} + } + + public var modelHeight: Float { + get {return _storage._modelHeight} + set {_uniqueStorage()._modelHeight = newValue} + } + + public var evolutionBranch: [EvolutionBranchProto] { + get {return _storage._evolutionBranch} + set {_uniqueStorage()._evolutionBranch = newValue} + } + + public var modelScaleV2: Float { + get {return _storage._modelScaleV2} + set {_uniqueStorage()._modelScaleV2 = newValue} + } + + public var form: PokemonDisplayProto.Form { + get {return _storage._form} + set {_uniqueStorage()._form = newValue} + } + + public var eventQuickMove: HoloPokemonMove { + get {return _storage._eventQuickMove} + set {_uniqueStorage()._eventQuickMove = newValue} + } + + public var eventCinematicMove: HoloPokemonMove { + get {return _storage._eventCinematicMove} + set {_uniqueStorage()._eventCinematicMove = newValue} + } + + public var buddyOffsetMale: [Float] { + get {return _storage._buddyOffsetMale} + set {_uniqueStorage()._buddyOffsetMale = newValue} + } + + public var buddyOffsetFemale: [Float] { + get {return _storage._buddyOffsetFemale} + set {_uniqueStorage()._buddyOffsetFemale = newValue} + } + + public var buddyScale: Float { + get {return _storage._buddyScale} + set {_uniqueStorage()._buddyScale = newValue} + } + + public var buddyPortraitOffset: [Float] { + get {return _storage._buddyPortraitOffset} + set {_uniqueStorage()._buddyPortraitOffset = newValue} + } + + public var parentForm: PokemonDisplayProto.Form { + get {return _storage._parentForm} + set {_uniqueStorage()._parentForm = newValue} + } + + public var thirdMove: PokemonThirdMoveAttributesProto { + get {return _storage._thirdMove ?? PokemonThirdMoveAttributesProto()} + set {_uniqueStorage()._thirdMove = newValue} + } + /// Returns true if `thirdMove` has been explicitly set. + public var hasThirdMove: Bool {return _storage._thirdMove != nil} + /// Clears the value of `thirdMove`. Subsequent reads from it will return its default value. + public mutating func clearThirdMove() {_uniqueStorage()._thirdMove = nil} + + public var isTransferable: Bool { + get {return _storage._isTransferable} + set {_uniqueStorage()._isTransferable = newValue} + } + + public var isDeployable: Bool { + get {return _storage._isDeployable} + set {_uniqueStorage()._isDeployable = newValue} + } + + public var combatShoulderCameraAngle: [Float] { + get {return _storage._combatShoulderCameraAngle} + set {_uniqueStorage()._combatShoulderCameraAngle = newValue} + } + + public var isTradable: Bool { + get {return _storage._isTradable} + set {_uniqueStorage()._isTradable = newValue} + } + + public var combatDefaultCameraAngle: [Float] { + get {return _storage._combatDefaultCameraAngle} + set {_uniqueStorage()._combatDefaultCameraAngle = newValue} + } + + public var combatOpponentFocusCameraAngle: [Float] { + get {return _storage._combatOpponentFocusCameraAngle} + set {_uniqueStorage()._combatOpponentFocusCameraAngle = newValue} + } + + public var combatPlayerFocusCameraAngle: [Float] { + get {return _storage._combatPlayerFocusCameraAngle} + set {_uniqueStorage()._combatPlayerFocusCameraAngle = newValue} + } + + public var combatPlayerPokemonPositionOffset: [Float] { + get {return _storage._combatPlayerPokemonPositionOffset} + set {_uniqueStorage()._combatPlayerPokemonPositionOffset = newValue} + } + + public var photobombAnimationOverrides: [AnimationOverrideProto] { + get {return _storage._photobombAnimationOverrides} + set {_uniqueStorage()._photobombAnimationOverrides = newValue} + } + + public var shadow: ShadowAttributesProto { + get {return _storage._shadow ?? ShadowAttributesProto()} + set {_uniqueStorage()._shadow = newValue} + } + /// Returns true if `shadow` has been explicitly set. + public var hasShadow: Bool {return _storage._shadow != nil} + /// Clears the value of `shadow`. Subsequent reads from it will return its default value. + public mutating func clearShadow() {_uniqueStorage()._shadow = nil} + + public var buddyGroupNumber: Int32 { + get {return _storage._buddyGroupNumber} + set {_uniqueStorage()._buddyGroupNumber = newValue} + } + + public var additionalCpBoostLevel: Int32 { + get {return _storage._additionalCpBoostLevel} + set {_uniqueStorage()._additionalCpBoostLevel = newValue} + } + + public var eliteQuickMove: [HoloPokemonMove] { + get {return _storage._eliteQuickMove} + set {_uniqueStorage()._eliteQuickMove = newValue} + } + + public var eliteCinematicMove: [HoloPokemonMove] { + get {return _storage._eliteCinematicMove} + set {_uniqueStorage()._eliteCinematicMove = newValue} + } + + public var tempEvoOverrides: [TempEvoOverrideProto] { + get {return _storage._tempEvoOverrides} + set {_uniqueStorage()._tempEvoOverrides = newValue} + } + + public var buddyWalkedMegaEnergyAward: Int32 { + get {return _storage._buddyWalkedMegaEnergyAward} + set {_uniqueStorage()._buddyWalkedMegaEnergyAward = newValue} + } + + public var disableTransferToPokemonHome: Bool { + get {return _storage._disableTransferToPokemonHome} + set {_uniqueStorage()._disableTransferToPokemonHome = newValue} + } + + public var raidBossDistanceOffset: Float { + get {return _storage._raidBossDistanceOffset} + set {_uniqueStorage()._raidBossDistanceOffset = newValue} + } + + public var formChange: [FormChangeProto] { + get {return _storage._formChange} + set {_uniqueStorage()._formChange = newValue} + } + + public var buddyEncounterCameoLocalPosition: [Float] { + get {return _storage._buddyEncounterCameoLocalPosition} + set {_uniqueStorage()._buddyEncounterCameoLocalPosition = newValue} + } + + public var buddyEncounterCameoLocalRotation: [Float] { + get {return _storage._buddyEncounterCameoLocalRotation} + set {_uniqueStorage()._buddyEncounterCameoLocalRotation = newValue} + } + + public var sizeSettings: PokemonSizeSettingsProto { + get {return _storage._sizeSettings ?? PokemonSizeSettingsProto()} + set {_uniqueStorage()._sizeSettings = newValue} + } + /// Returns true if `sizeSettings` has been explicitly set. + public var hasSizeSettings: Bool {return _storage._sizeSettings != nil} + /// Clears the value of `sizeSettings`. Subsequent reads from it will return its default value. + public mutating func clearSizeSettings() {_uniqueStorage()._sizeSettings = nil} + + public var allowNoevolveEvolution: [PokemonDisplayProto.Costume] { + get {return _storage._allowNoevolveEvolution} + set {_uniqueStorage()._allowNoevolveEvolution = newValue} + } + + public var denyImpersonation: Bool { + get {return _storage._denyImpersonation} + set {_uniqueStorage()._denyImpersonation = newValue} + } + + public var buddyPortraitRotation: [Float] { + get {return _storage._buddyPortraitRotation} + set {_uniqueStorage()._buddyPortraitRotation = newValue} + } + + public var nonTmCinematicMoves: [HoloPokemonMove] { + get {return _storage._nonTmCinematicMoves} + set {_uniqueStorage()._nonTmCinematicMoves = newValue} + } + + public var deprecated1: Item { + get {return _storage._deprecated1} + set {_uniqueStorage()._deprecated1 = newValue} + } + + public var exclusiveKeyItem: PokemonKeyItemSettings { + get {return _storage._exclusiveKeyItem ?? PokemonKeyItemSettings()} + set {_uniqueStorage()._exclusiveKeyItem = newValue} + } + /// Returns true if `exclusiveKeyItem` has been explicitly set. + public var hasExclusiveKeyItem: Bool {return _storage._exclusiveKeyItem != nil} + /// Clears the value of `exclusiveKeyItem`. Subsequent reads from it will return its default value. + public mutating func clearExclusiveKeyItem() {_uniqueStorage()._exclusiveKeyItem = nil} + + public var eventCinematicMoveProbability: Float { + get {return _storage._eventCinematicMoveProbability} + set {_uniqueStorage()._eventCinematicMoveProbability = newValue} + } + + public var eventQuickMoveProbability: Float { + get {return _storage._eventQuickMoveProbability} + set {_uniqueStorage()._eventQuickMoveProbability = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum BuddySize: SwiftProtobuf.Enum { + public typealias RawValue = Int + case buddyMedium // = 0 + case buddyShoulder // = 1 + case buddyBig // = 2 + case buddyFlying // = 3 + case buddyBaby // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .buddyMedium + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .buddyMedium + case 1: self = .buddyShoulder + case 2: self = .buddyBig + case 3: self = .buddyFlying + case 4: self = .buddyBaby + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .buddyMedium: return 0 + case .buddyShoulder: return 1 + case .buddyBig: return 2 + case .buddyFlying: return 3 + case .buddyBaby: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension PokemonSettingsProto.BuddySize: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PokemonSettingsProto.BuddySize] = [ + .buddyMedium, + .buddyShoulder, + .buddyBig, + .buddyFlying, + .buddyBaby, + ] +} + +#endif // swift(>=4.2) + +public struct PokemonSizeSettingsProto { + // 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. + + public var xxsLowerBound: Float = 0 + + public var xsLowerBound: Float = 0 + + public var mlowerBound: Float = 0 + + public var mupperBound: Float = 0 + + public var xlUpperBound: Float = 0 + + public var xxlUpperBound: Float = 0 + + public var xxsScaleMultiplier: Float = 0 + + public var xsScaleMultiplier: Float = 0 + + public var xlScaleMultiplier: Float = 0 + + public var xxlScaleMultiplier: Float = 0 + + public var disablePokedexRecordDisplayAggregate: Bool = false + + public var disablePokedexRecordDisplayForForms: Bool = false + + public var pokedexDisplayPokemonTrackedThreshold: Int32 = 0 + + public var recordDisplayPokemonTrackedThreshold: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonStaminaUpdateProto { + // 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. + + public var pokemonID: UInt64 = 0 + + public var updatedStamina: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonStatValueProto { + // 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. + + public var pokemonID: Int64 = 0 + + public var value: Double = 0 + + public var pokemonCreationTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonStatsAttributesProto { + // 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. + + public var baseStamina: Int32 = 0 + + public var baseAttack: Int32 = 0 + + public var baseDefense: Int32 = 0 + + public var dodgeEnergyDelta: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonSummaryFortProto { + // 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. + + public var fortSummaryID: String = String() + + public var lastModifiedMs: Int64 = 0 + + public var latitude: Double = 0 + + public var longitude: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonSurvivalTimeInfo { + // 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. + + public var longestBattleDurationPokemonTimeMs: Int32 = 0 + + public var activePokemonEnterBattleTimeMs: Int64 = 0 + + public var longestBattleDurationPokemonID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonTagColorBinding { + // 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. + + public var color: PokemonTagColor = .unset + + public var hexCode: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonTagProto { + // 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. + + public var id: UInt64 = 0 + + public var name: String = String() + + public var color: PokemonTagColor = .unset + + public var sortIndex: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonTagSettingsProto { + // 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. + + public var minPlayerLevelForPokemonTagging: Int32 = 0 + + public var colorBinding: [PokemonTagColorBinding] = [] + + public var maxNumTagsAllowed: Int32 = 0 + + public var tagNameCharacterLimit: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonTelemetry { + // 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. + + public var pokemonID: HoloPokemonId = .missingno + + public var cp: Int32 = 0 + + public var weightKg: Float = 0 + + public var heightM: Float = 0 + + public var pokemonLevel: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonThirdMoveAttributesProto { + // 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. + + public var stardustToUnlock: Int32 = 0 + + public var candyToUnlock: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokemonUpgradeSettingsProto { + // 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. + + public var upgradesPerLevel: Int32 = 0 + + public var allowedLevelsAbovePlayer: Int32 = 0 + + public var candyCost: [Int32] = [] + + public var stardustCost: [Int32] = [] + + public var shadowStardustMultiplier: Float = 0 + + public var shadowCandyMultiplier: Float = 0 + + public var purifiedStardustMultiplier: Float = 0 + + public var purifiedCandyMultiplier: Float = 0 + + public var maxNormalUpgradeLevel: Int32 = 0 + + public var defaultCpBoostAdditionalLevel: Int32 = 0 + + public var xlCandyMinPlayerLevel: Int32 = 0 + + public var xlCandyCost: [Int32] = [] + + public var xlCandyMinPokemonLevel: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokestopDisplayProto { + // 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. + + public var styleConfigAddress: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PokestopIncidentDisplayProto { + // 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. + + public var mapDisplay: PokestopIncidentDisplayProto.OneOf_MapDisplay? = nil + + public var characterDisplay: CharacterDisplayProto { + get { + if case .characterDisplay(let v)? = mapDisplay {return v} + return CharacterDisplayProto() + } + set {mapDisplay = .characterDisplay(newValue)} + } + + public var invasionFinished: InvasionFinishedDisplayProto { + get { + if case .invasionFinished(let v)? = mapDisplay {return v} + return InvasionFinishedDisplayProto() + } + set {mapDisplay = .invasionFinished(newValue)} + } + + public var contestDisplay: ContestDisplayProto { + get { + if case .contestDisplay(let v)? = mapDisplay {return v} + return ContestDisplayProto() + } + set {mapDisplay = .contestDisplay(newValue)} + } + + public var incidentID: String = String() + + public var incidentStartMs: Int64 = 0 + + public var incidentExpirationMs: Int64 = 0 + + public var hideIncident: Bool = false + + public var incidentCompleted: Bool = false + + public var incidentDisplayType: IncidentDisplayType = .none + + public var incidentDisplayOrderPriority: Int32 = 0 + + public var continueDisplayingIncident: Bool = false + + public var customDisplay: PokestopDisplayProto { + get {return _customDisplay ?? PokestopDisplayProto()} + set {_customDisplay = newValue} + } + /// Returns true if `customDisplay` has been explicitly set. + public var hasCustomDisplay: Bool {return self._customDisplay != nil} + /// Clears the value of `customDisplay`. Subsequent reads from it will return its default value. + public mutating func clearCustomDisplay() {self._customDisplay = nil} + + public var isCrossStopIncident: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_MapDisplay: Equatable { + case characterDisplay(CharacterDisplayProto) + case invasionFinished(InvasionFinishedDisplayProto) + case contestDisplay(ContestDisplayProto) + + #if !swift(>=4.1) + public static func ==(lhs: PokestopIncidentDisplayProto.OneOf_MapDisplay, rhs: PokestopIncidentDisplayProto.OneOf_MapDisplay) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.characterDisplay, .characterDisplay): return { + guard case .characterDisplay(let l) = lhs, case .characterDisplay(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.invasionFinished, .invasionFinished): return { + guard case .invasionFinished(let l) = lhs, case .invasionFinished(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.contestDisplay, .contestDisplay): return { + guard case .contestDisplay(let l) = lhs, case .contestDisplay(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _customDisplay: PokestopDisplayProto? = nil +} + +public struct PokestopReward { + // 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. + + public var itemID: Item = .unknown + + public var itemCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PolygonProto { + // 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. + + public var loop: [LoopProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct Polyline { + // 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. + + public var coords: [UInt32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PolylineList { + // 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. + + public var polylines: [Polyline] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PopupControlSettingsProto { + // 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. + + public var popupControlEnabled: Bool = false + + public var hideMedalEarnedPopUpUntilAfterFirstPokemon: Bool = false + + public var hideAwareOfYourSurroundingsPopup: Bool = false + + public var hideWeatherWarningPopup: Bool = false + + public var deferResearchDialog: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PortalCurationImageResult { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case featureDisabled // = 2 + case alreadyUploaded // = 3 + case imageNotFound // = 4 + case imageTooBig // = 5 + case imageNotServable // = 6 + case portalNotFound // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .featureDisabled + case 3: self = .alreadyUploaded + case 4: self = .imageNotFound + case 5: self = .imageTooBig + case 6: self = .imageNotServable + case 7: self = .portalNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .featureDisabled: return 2 + case .alreadyUploaded: return 3 + case .imageNotFound: return 4 + case .imageTooBig: return 5 + case .imageNotServable: return 6 + case .portalNotFound: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PortalCurationImageResult.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PortalCurationImageResult.Result] = [ + .unset, + .success, + .featureDisabled, + .alreadyUploaded, + .imageNotFound, + .imageTooBig, + .imageNotServable, + .portalNotFound, + ] +} + +#endif // swift(>=4.2) + +public struct PostcardBookTelemetry { + // 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. + + public var interactionType: PostcardBookTelemetry.PostcardBookInteraction = .open + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PostcardBookInteraction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case `open` // = 0 + case UNRECOGNIZED(Int) + + public init() { + self = .open + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .open + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .open: return 0 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PostcardBookTelemetry.PostcardBookInteraction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PostcardBookTelemetry.PostcardBookInteraction] = [ + .open, + ] +} + +#endif // swift(>=4.2) + +public struct PostcardCollectionGmtSettingsProto { + // 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. + + public var enabled: Bool = false + + public var backgroundPatternName: String = String() + + public var backgroundPatternTileScale: Float = 0 + + public var postcardUiElementColor: String = String() + + public var postcardUiTextStrokeColor: String = String() + + public var postcardBorderName: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PostcardCollectionSettingsProto { + // 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. + + public var enabled: Bool = false + + public var maxNoteLengthInCharacters: Int32 = 0 + + public var shareTrainerInfoByDefault: Bool = false + + public var massDeletionEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PostcardCreateDetail { + // 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. + + public var postcardOrigin: Int64 = 0 + + public var receivedTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PostcardDisplayProto { + // 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. + + public var postcardID: String { + get {return _storage._postcardID} + set {_uniqueStorage()._postcardID = newValue} + } + + public var fortID: String { + get {return _storage._fortID} + set {_uniqueStorage()._fortID = newValue} + } + + public var fortLat: Double { + get {return _storage._fortLat} + set {_uniqueStorage()._fortLat = newValue} + } + + public var fortLng: Double { + get {return _storage._fortLng} + set {_uniqueStorage()._fortLng = newValue} + } + + public var creationTimestampMs: Int64 { + get {return _storage._creationTimestampMs} + set {_uniqueStorage()._creationTimestampMs = newValue} + } + + public var imageURL: String { + get {return _storage._imageURL} + set {_uniqueStorage()._imageURL = newValue} + } + + public var favorite: Bool { + get {return _storage._favorite} + set {_uniqueStorage()._favorite = newValue} + } + + public var postcardCreatorID: String { + get {return _storage._postcardCreatorID} + set {_uniqueStorage()._postcardCreatorID = newValue} + } + + public var postcardCreatorNickname: String { + get {return _storage._postcardCreatorNickname} + set {_uniqueStorage()._postcardCreatorNickname = newValue} + } + + public var stickerID: [String] { + get {return _storage._stickerID} + set {_uniqueStorage()._stickerID = newValue} + } + + public var note: String { + get {return _storage._note} + set {_uniqueStorage()._note = newValue} + } + + public var fortName: String { + get {return _storage._fortName} + set {_uniqueStorage()._fortName = newValue} + } + + public var postcardSource: PostcardSource { + get {return _storage._postcardSource} + set {_uniqueStorage()._postcardSource = newValue} + } + + public var giftboxID: UInt64 { + get {return _storage._giftboxID} + set {_uniqueStorage()._giftboxID = newValue} + } + + public var postcardCreatorCodename: String { + get {return _storage._postcardCreatorCodename} + set {_uniqueStorage()._postcardCreatorCodename = newValue} + } + + public var sourceGiftboxID: UInt64 { + get {return _storage._sourceGiftboxID} + set {_uniqueStorage()._sourceGiftboxID = newValue} + } + + public var isSponsored: Bool { + get {return _storage._isSponsored} + set {_uniqueStorage()._isSponsored = newValue} + } + + public var alreadyShared: Bool { + get {return _storage._alreadyShared} + set {_uniqueStorage()._alreadyShared = newValue} + } + + public var postcardCreatorNiaAccountID: String { + get {return _storage._postcardCreatorNiaAccountID} + set {_uniqueStorage()._postcardCreatorNiaAccountID = newValue} + } + + public var receivedInParty: Bool { + get {return _storage._receivedInParty} + set {_uniqueStorage()._receivedInParty = newValue} + } + + public var routeID: String { + get {return _storage._routeID} + set {_uniqueStorage()._routeID = newValue} + } + + public var routeName: String { + get {return _storage._routeName} + set {_uniqueStorage()._routeName = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PotionAttributesProto { + // 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. + + public var staPercent: Float = 0 + + public var staAmount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PowerUpPokestopEncounterOutProto { + // 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. + + public var result: PowerUpPokestopEncounterOutProto.Result = .unknown + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var arplusAttemptsUntilFlee: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case success // = 1 + case notAvailable // = 2 + case notInRange // = 3 + case encounterAlreadyFinished // = 4 + case pokemonInventoryFull // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .success + case 2: self = .notAvailable + case 3: self = .notInRange + case 4: self = .encounterAlreadyFinished + case 5: self = .pokemonInventoryFull + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .success: return 1 + case .notAvailable: return 2 + case .notInRange: return 3 + case .encounterAlreadyFinished: return 4 + case .pokemonInventoryFull: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil +} + +#if swift(>=4.2) + +extension PowerUpPokestopEncounterOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PowerUpPokestopEncounterOutProto.Result] = [ + .unknown, + .success, + .notAvailable, + .notInRange, + .encounterAlreadyFinished, + .pokemonInventoryFull, + ] +} + +#endif // swift(>=4.2) + +public struct PowerUpPokestopEncounterProto { + // 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. + + public var encounterID: Int64 = 0 + + public var fortID: String = String() + + public var playerLatDegrees: Double = 0 + + public var playerLngDegrees: Double = 0 + + public var gymLatDegrees: Double = 0 + + public var gymLngDegrees: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PowerUpPokestopsGlobalSettingsProto { + // 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. + + public var enablePowerUpPokestops: Bool = false + + public var minutesToNotifyBeforePokestopClose: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PowerUpPokestopsSharedSettingsProto { + // 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. + + public var enablePowerUpPokestops: Bool = false + + public var powerUpPokestopsMinPlayerLevel: Int32 = 0 + + public var validatePokestopOnFortSearchPercent: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PreAgeGateMetadata { + // 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. + + public var timestampMs: Int64 { + get {return _storage._timestampMs} + set {_uniqueStorage()._timestampMs = newValue} + } + + public var clientTimestampMs: Int64 { + get {return _storage._clientTimestampMs} + set {_uniqueStorage()._clientTimestampMs = newValue} + } + + public var preLoginUserID: String { + get {return _storage._preLoginUserID} + set {_uniqueStorage()._preLoginUserID = newValue} + } + + public var minor: Bool { + get {return _storage._minor} + set {_uniqueStorage()._minor = newValue} + } + + public var numStarts: Int64 { + get {return _storage._numStarts} + set {_uniqueStorage()._numStarts = newValue} + } + + public var clientEnvironment: ClientEnvironmentProto { + get {return _storage._clientEnvironment ?? ClientEnvironmentProto()} + set {_uniqueStorage()._clientEnvironment = newValue} + } + /// Returns true if `clientEnvironment` has been explicitly set. + public var hasClientEnvironment: Bool {return _storage._clientEnvironment != nil} + /// Clears the value of `clientEnvironment`. Subsequent reads from it will return its default value. + public mutating func clearClientEnvironment() {_uniqueStorage()._clientEnvironment = nil} + + public var startupMeasurement: StartupMeasurementProto { + get {return _storage._startupMeasurement ?? StartupMeasurementProto()} + set {_uniqueStorage()._startupMeasurement = newValue} + } + /// Returns true if `startupMeasurement` has been explicitly set. + public var hasStartupMeasurement: Bool {return _storage._startupMeasurement != nil} + /// Clears the value of `startupMeasurement`. Subsequent reads from it will return its default value. + public mutating func clearStartupMeasurement() {_uniqueStorage()._startupMeasurement = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct PreLoginMetadata { + // 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. + + public var userID: String = String() + + public var timestampMs: Int64 = 0 + + public var clientTimestampMs: Int64 = 0 + + public var preLoginUserID: String = String() + + public var numStarts: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PreviewProto { + // 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. + + public var defaultCpRange: PreviewProto.CpRange { + get {return _defaultCpRange ?? PreviewProto.CpRange()} + set {_defaultCpRange = newValue} + } + /// Returns true if `defaultCpRange` has been explicitly set. + public var hasDefaultCpRange: Bool {return self._defaultCpRange != nil} + /// Clears the value of `defaultCpRange`. Subsequent reads from it will return its default value. + public mutating func clearDefaultCpRange() {self._defaultCpRange = nil} + + public var buddyBoostedCpRange: PreviewProto.CpRange { + get {return _buddyBoostedCpRange ?? PreviewProto.CpRange()} + set {_buddyBoostedCpRange = newValue} + } + /// Returns true if `buddyBoostedCpRange` has been explicitly set. + public var hasBuddyBoostedCpRange: Bool {return self._buddyBoostedCpRange != nil} + /// Clears the value of `buddyBoostedCpRange`. Subsequent reads from it will return its default value. + public mutating func clearBuddyBoostedCpRange() {self._buddyBoostedCpRange = nil} + + public var evolvingPokemonDefaultCp: Int32 = 0 + + public var evolvingPokemonBuddyBoostedCp: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct CpRange { + // 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. + + public var minCp: Int32 = 0 + + public var maxCp: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _defaultCpRange: PreviewProto.CpRange? = nil + fileprivate var _buddyBoostedCpRange: PreviewProto.CpRange? = nil +} + +public struct PrimalBoostTypeProto { + // 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. + + public var pokemonID: HoloPokemonId = .missingno + + public var boostType: [HoloPokemonType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PrimalEvoSettingsProto { + // 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. + + public var commonTempSettings: CommonTempEvoSettingsProto { + get {return _commonTempSettings ?? CommonTempEvoSettingsProto()} + set {_commonTempSettings = newValue} + } + /// Returns true if `commonTempSettings` has been explicitly set. + public var hasCommonTempSettings: Bool {return self._commonTempSettings != nil} + /// Clears the value of `commonTempSettings`. Subsequent reads from it will return its default value. + public mutating func clearCommonTempSettings() {self._commonTempSettings = nil} + + public var maxCandyHoardSize: Int32 = 0 + + public var typeBoosts: [PrimalBoostTypeProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _commonTempSettings: CommonTempEvoSettingsProto? = nil +} + +public struct ProbeProto { + // 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. + + public var id: String = String() + + public var payload: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ProbeSettingsProto { + // 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. + + public var enableSidechannel: Bool = false + + public var enableAdhoc: Bool = false + + public var adhocFrequencySec: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ProcessTappableOutProto { + // 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. + + public var status: ProcessTappableOutProto.Status = .unset + + public var reward: [LootProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNotFound // = 2 + case errorRoute // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNotFound + case 3: self = .errorRoute + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNotFound: return 2 + case .errorRoute: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ProcessTappableOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProcessTappableOutProto.Status] = [ + .unset, + .success, + .errorNotFound, + .errorRoute, + ] +} + +#endif // swift(>=4.2) + +public struct ProcessTappableProto { + // 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. + + public var id: [Int32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ProfanityCheckOutProto { + // 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. + + public var result: ProfanityCheckOutProto.Result = .unset + + public var invalidContentsIndexes: [Int32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ProfanityCheckOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProfanityCheckOutProto.Result] = [ + .unset, + .success, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct ProfanityCheckProto { + // 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. + + public var contents: [String] = [] + + public var acceptAuthorOnly: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ProfilePageTelemetry { + // 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. + + public var profilePageClickID: ProfilePageTelemetryIds = .undefinedProfilePage + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ProgressQuestOutProto { + // 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. + + public var status: ProgressQuestOutProto.Status = .unset + + public var quest: ClientQuestProto { + get {return _quest ?? ClientQuestProto()} + set {_quest = newValue} + } + /// Returns true if `quest` has been explicitly set. + public var hasQuest: Bool {return self._quest != nil} + /// Clears the value of `quest`. Subsequent reads from it will return its default value. + public mutating func clearQuest() {self._quest = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorQuestNotFound // = 2 + case errorExceededGeotargetedSubmissionLimit // = 3 + case errorValidationFailed // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorQuestNotFound + case 3: self = .errorExceededGeotargetedSubmissionLimit + case 4: self = .errorValidationFailed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorQuestNotFound: return 2 + case .errorExceededGeotargetedSubmissionLimit: return 3 + case .errorValidationFailed: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _quest: ClientQuestProto? = nil +} + +#if swift(>=4.2) + +extension ProgressQuestOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressQuestOutProto.Status] = [ + .unset, + .success, + .errorQuestNotFound, + .errorExceededGeotargetedSubmissionLimit, + .errorValidationFailed, + ] +} + +#endif // swift(>=4.2) + +public struct ProgressQuestProto { + // 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. + + public var validation: ProgressQuestProto.OneOf_Validation? = nil + + public var geotargetedQuestValidation: GeotargetedQuestValidation { + get { + if case .geotargetedQuestValidation(let v)? = validation {return v} + return GeotargetedQuestValidation() + } + set {validation = .geotargetedQuestValidation(newValue)} + } + + public var questID: String = String() + + public var currentProgress: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Validation: Equatable { + case geotargetedQuestValidation(GeotargetedQuestValidation) + + #if !swift(>=4.1) + public static func ==(lhs: ProgressQuestProto.OneOf_Validation, rhs: ProgressQuestProto.OneOf_Validation) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.geotargetedQuestValidation, .geotargetedQuestValidation): return { + guard case .geotargetedQuestValidation(let l) = lhs, case .geotargetedQuestValidation(let r) = rhs else { preconditionFailure() } + return l == r + }() + } + } + #endif + } + + public init() {} +} + +public struct ProgressRouteOutProto { + // 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. + + public var progressionState: ProgressRouteOutProto.ProgressionState = .unset + + public var status: RoutePlayStatus.Status = .unset + + public var routePlay: RoutePlayProto { + get {return _routePlay ?? RoutePlayProto()} + set {_routePlay = newValue} + } + /// Returns true if `routePlay` has been explicitly set. + public var hasRoutePlay: Bool {return self._routePlay != nil} + /// Clears the value of `routePlay`. Subsequent reads from it will return its default value. + public mutating func clearRoutePlay() {self._routePlay = nil} + + public var activityOutput: RouteActivityResponseProto { + get {return _activityOutput ?? RouteActivityResponseProto()} + set {_activityOutput = newValue} + } + /// Returns true if `activityOutput` has been explicitly set. + public var hasActivityOutput: Bool {return self._activityOutput != nil} + /// Clears the value of `activityOutput`. Subsequent reads from it will return its default value. + public mutating func clearActivityOutput() {self._activityOutput = nil} + + public var cooldownFinishMs: Int64 = 0 + + public var routeLoot: LootProto { + get {return _routeLoot ?? LootProto()} + set {_routeLoot = newValue} + } + /// Returns true if `routeLoot` has been explicitly set. + public var hasRouteLoot: Bool {return self._routeLoot != nil} + /// Clears the value of `routeLoot`. Subsequent reads from it will return its default value. + public mutating func clearRouteLoot() {self._routeLoot = nil} + + public var awardedRouteBadge: AwardedRouteBadge { + get {return _awardedRouteBadge ?? AwardedRouteBadge()} + set {_awardedRouteBadge = newValue} + } + /// Returns true if `awardedRouteBadge` has been explicitly set. + public var hasAwardedRouteBadge: Bool {return self._awardedRouteBadge != nil} + /// Clears the value of `awardedRouteBadge`. Subsequent reads from it will return its default value. + public mutating func clearAwardedRouteBadge() {self._awardedRouteBadge = nil} + + public var bonusRouteLoot: LootProto { + get {return _bonusRouteLoot ?? LootProto()} + set {_bonusRouteLoot = newValue} + } + /// Returns true if `bonusRouteLoot` has been explicitly set. + public var hasBonusRouteLoot: Bool {return self._bonusRouteLoot != nil} + /// Clears the value of `bonusRouteLoot`. Subsequent reads from it will return its default value. + public mutating func clearBonusRouteLoot() {self._bonusRouteLoot = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ProgressionState: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case inProgress // = 1 + case complete // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .inProgress + case 2: self = .complete + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .inProgress: return 1 + case .complete: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _routePlay: RoutePlayProto? = nil + fileprivate var _activityOutput: RouteActivityResponseProto? = nil + fileprivate var _routeLoot: LootProto? = nil + fileprivate var _awardedRouteBadge: AwardedRouteBadge? = nil + fileprivate var _bonusRouteLoot: LootProto? = nil +} + +#if swift(>=4.2) + +extension ProgressRouteOutProto.ProgressionState: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressRouteOutProto.ProgressionState] = [ + .unset, + .inProgress, + .complete, + ] +} + +#endif // swift(>=4.2) + +public struct ProgressRouteProto { + // 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. + + public var nullablePause: ProgressRouteProto.OneOf_NullablePause? = nil + + public var pause: Bool { + get { + if case .pause(let v)? = nullablePause {return v} + return false + } + set {nullablePause = .pause(newValue)} + } + + public var waypointIndex: Int32 = 0 + + public var skipActivity: Bool = false + + public var activityType: RouteActivityType.ActivityType = .unset + + public var activityInput: RouteActivityRequestProto { + get {return _activityInput ?? RouteActivityRequestProto()} + set {_activityInput = newValue} + } + /// Returns true if `activityInput` has been explicitly set. + public var hasActivityInput: Bool {return self._activityInput != nil} + /// Clears the value of `activityInput`. Subsequent reads from it will return its default value. + public mutating func clearActivityInput() {self._activityInput = nil} + + public var acquireReward: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_NullablePause: Equatable { + case pause(Bool) + + #if !swift(>=4.1) + public static func ==(lhs: ProgressRouteProto.OneOf_NullablePause, rhs: ProgressRouteProto.OneOf_NullablePause) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pause, .pause): return { + guard case .pause(let l) = lhs, case .pause(let r) = rhs else { preconditionFailure() } + return l == r + }() + } + } + #endif + } + + public init() {} + + fileprivate var _activityInput: RouteActivityRequestProto? = nil +} + +public struct ProgressTokenData { + // 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. + + public var token: ProgressTokenData.OneOf_Token? = nil + + public var gymRootControllerFunction: ProgressTokenData.GymRootControllerFunction { + get { + if case .gymRootControllerFunction(let v)? = token {return v} + return .noneGymGymRootController + } + set {token = .gymRootControllerFunction(newValue)} + } + + public var raidStateFunction: ProgressTokenData.RaidStateFunction { + get { + if case .raidStateFunction(let v)? = token {return v} + return .noneRaidState + } + set {token = .raidStateFunction(newValue)} + } + + public var raidLobbyStateFunction: ProgressTokenData.RaidLobbyStateFunction { + get { + if case .raidLobbyStateFunction(let v)? = token {return v} + return .noneRaidLobbyState + } + set {token = .raidLobbyStateFunction(newValue)} + } + + public var raidLobbyGuiControllerFunction: ProgressTokenData.RaidLobbyGuiControllerFunction { + get { + if case .raidLobbyGuiControllerFunction(let v)? = token {return v} + return .noneRaidLobbyGuiController + } + set {token = .raidLobbyGuiControllerFunction(newValue)} + } + + public var raidBattleStateFunction: ProgressTokenData.RaidBattleStateFunction { + get { + if case .raidBattleStateFunction(let v)? = token {return v} + return .noneRaidBattleState + } + set {token = .raidBattleStateFunction(newValue)} + } + + public var raidResolveStateFunction: ProgressTokenData.RaidResolveStateFunction { + get { + if case .raidResolveStateFunction(let v)? = token {return v} + return .noneRaidResolveState + } + set {token = .raidResolveStateFunction(newValue)} + } + + public var raidResolveUicontrollerFunction: ProgressTokenData.RaidResolveUIControllerFunction { + get { + if case .raidResolveUicontrollerFunction(let v)? = token {return v} + return .noneRaidResolveUiController + } + set {token = .raidResolveUicontrollerFunction(newValue)} + } + + public var encounterStateFunction: ProgressTokenData.EncounterStateFunction { + get { + if case .encounterStateFunction(let v)? = token {return v} + return .noneEncounterState + } + set {token = .encounterStateFunction(newValue)} + } + + public var mapExploreStateFunction: ProgressTokenData.MapExploreStateFunction { + get { + if case .mapExploreStateFunction(let v)? = token {return v} + return .noneMapExploreState + } + set {token = .mapExploreStateFunction(newValue)} + } + + public var lineNumber: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Token: Equatable { + case gymRootControllerFunction(ProgressTokenData.GymRootControllerFunction) + case raidStateFunction(ProgressTokenData.RaidStateFunction) + case raidLobbyStateFunction(ProgressTokenData.RaidLobbyStateFunction) + case raidLobbyGuiControllerFunction(ProgressTokenData.RaidLobbyGuiControllerFunction) + case raidBattleStateFunction(ProgressTokenData.RaidBattleStateFunction) + case raidResolveStateFunction(ProgressTokenData.RaidResolveStateFunction) + case raidResolveUicontrollerFunction(ProgressTokenData.RaidResolveUIControllerFunction) + case encounterStateFunction(ProgressTokenData.EncounterStateFunction) + case mapExploreStateFunction(ProgressTokenData.MapExploreStateFunction) + + #if !swift(>=4.1) + public static func ==(lhs: ProgressTokenData.OneOf_Token, rhs: ProgressTokenData.OneOf_Token) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.gymRootControllerFunction, .gymRootControllerFunction): return { + guard case .gymRootControllerFunction(let l) = lhs, case .gymRootControllerFunction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidStateFunction, .raidStateFunction): return { + guard case .raidStateFunction(let l) = lhs, case .raidStateFunction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidLobbyStateFunction, .raidLobbyStateFunction): return { + guard case .raidLobbyStateFunction(let l) = lhs, case .raidLobbyStateFunction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidLobbyGuiControllerFunction, .raidLobbyGuiControllerFunction): return { + guard case .raidLobbyGuiControllerFunction(let l) = lhs, case .raidLobbyGuiControllerFunction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidBattleStateFunction, .raidBattleStateFunction): return { + guard case .raidBattleStateFunction(let l) = lhs, case .raidBattleStateFunction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidResolveStateFunction, .raidResolveStateFunction): return { + guard case .raidResolveStateFunction(let l) = lhs, case .raidResolveStateFunction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidResolveUicontrollerFunction, .raidResolveUicontrollerFunction): return { + guard case .raidResolveUicontrollerFunction(let l) = lhs, case .raidResolveUicontrollerFunction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.encounterStateFunction, .encounterStateFunction): return { + guard case .encounterStateFunction(let l) = lhs, case .encounterStateFunction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.mapExploreStateFunction, .mapExploreStateFunction): return { + guard case .mapExploreStateFunction(let l) = lhs, case .mapExploreStateFunction(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum EncounterStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneEncounterState // = 0 + case setupEncounter // = 1 + case beginEncounterApproach // = 2 + case encounterStateComplete // = 3 + case exitEncounterState // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .noneEncounterState + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneEncounterState + case 1: self = .setupEncounter + case 2: self = .beginEncounterApproach + case 3: self = .encounterStateComplete + case 4: self = .exitEncounterState + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noneEncounterState: return 0 + case .setupEncounter: return 1 + case .beginEncounterApproach: return 2 + case .encounterStateComplete: return 3 + case .exitEncounterState: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum GymRootControllerFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneGymGymRootController // = 0 + case exitGymGymRootController // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .noneGymGymRootController + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneGymGymRootController + case 1: self = .exitGymGymRootController + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noneGymGymRootController: return 0 + case .exitGymGymRootController: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum MapExploreStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneMapExploreState // = 0 + case gymRootComplete // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .noneMapExploreState + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneMapExploreState + case 1: self = .gymRootComplete + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noneMapExploreState: return 0 + case .gymRootComplete: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum RaidBattleStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneRaidBattleState // = 0 + case enterRaidBattleState // = 1 + case exitRaidBattleState // = 2 + case observeBattleFrames // = 3 + case startRaidBattle // = 4 + case startRaidBattleWhenReady // = 5 + case endBattleWhenReady // = 6 + case getRaidBossProto // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .noneRaidBattleState + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneRaidBattleState + case 1: self = .enterRaidBattleState + case 2: self = .exitRaidBattleState + case 3: self = .observeBattleFrames + case 4: self = .startRaidBattle + case 5: self = .startRaidBattleWhenReady + case 6: self = .endBattleWhenReady + case 7: self = .getRaidBossProto + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noneRaidBattleState: return 0 + case .enterRaidBattleState: return 1 + case .exitRaidBattleState: return 2 + case .observeBattleFrames: return 3 + case .startRaidBattle: return 4 + case .startRaidBattleWhenReady: return 5 + case .endBattleWhenReady: return 6 + case .getRaidBossProto: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum RaidLobbyGuiControllerFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneRaidLobbyGuiController // = 0 + case initRaidLobbyGuiController // = 1 + case setDependantVisuals // = 2 + case startLobbyIntro // = 3 + case lobbyIntro // = 4 + case onLobbyIntroComplete // = 5 + case showBattlePrepGui // = 6 + case handleDismissComplete // = 7 + case startTimeoutScreen // = 8 + case rejoinBattle // = 9 + case updateAvatars // = 10 + case startPollingGetRaidDetails // = 11 + case playBattleIntro // = 12 + case leaveLobby // = 13 + case onPokemonInventoryOpened // = 14 + case onClickInventory // = 15 + case onTap // = 16 + case handleRaidBattleComplete // = 17 + case UNRECOGNIZED(Int) + + public init() { + self = .noneRaidLobbyGuiController + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneRaidLobbyGuiController + case 1: self = .initRaidLobbyGuiController + case 2: self = .setDependantVisuals + case 3: self = .startLobbyIntro + case 4: self = .lobbyIntro + case 5: self = .onLobbyIntroComplete + case 6: self = .showBattlePrepGui + case 7: self = .handleDismissComplete + case 8: self = .startTimeoutScreen + case 9: self = .rejoinBattle + case 10: self = .updateAvatars + case 11: self = .startPollingGetRaidDetails + case 12: self = .playBattleIntro + case 13: self = .leaveLobby + case 14: self = .onPokemonInventoryOpened + case 15: self = .onClickInventory + case 16: self = .onTap + case 17: self = .handleRaidBattleComplete + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noneRaidLobbyGuiController: return 0 + case .initRaidLobbyGuiController: return 1 + case .setDependantVisuals: return 2 + case .startLobbyIntro: return 3 + case .lobbyIntro: return 4 + case .onLobbyIntroComplete: return 5 + case .showBattlePrepGui: return 6 + case .handleDismissComplete: return 7 + case .startTimeoutScreen: return 8 + case .rejoinBattle: return 9 + case .updateAvatars: return 10 + case .startPollingGetRaidDetails: return 11 + case .playBattleIntro: return 12 + case .leaveLobby: return 13 + case .onPokemonInventoryOpened: return 14 + case .onClickInventory: return 15 + case .onTap: return 16 + case .handleRaidBattleComplete: return 17 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum RaidLobbyStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneRaidLobbyState // = 0 + case enterRaidLobbyState // = 1 + case exitRaidLobbyState // = 2 + case createLobby // = 3 + case createLobbyForReal // = 4 + case startRaidBattleState // = 5 + case cancelRaidBattleTransition // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .noneRaidLobbyState + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneRaidLobbyState + case 1: self = .enterRaidLobbyState + case 2: self = .exitRaidLobbyState + case 3: self = .createLobby + case 4: self = .createLobbyForReal + case 5: self = .startRaidBattleState + case 6: self = .cancelRaidBattleTransition + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noneRaidLobbyState: return 0 + case .enterRaidLobbyState: return 1 + case .exitRaidLobbyState: return 2 + case .createLobby: return 3 + case .createLobbyForReal: return 4 + case .startRaidBattleState: return 5 + case .cancelRaidBattleTransition: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum RaidResolveStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneRaidResolveState // = 0 + case enterRaidResolveState // = 1 + case exitRaidResolveState // = 2 + case initRaidResolveState // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .noneRaidResolveState + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneRaidResolveState + case 1: self = .enterRaidResolveState + case 2: self = .exitRaidResolveState + case 3: self = .initRaidResolveState + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noneRaidResolveState: return 0 + case .enterRaidResolveState: return 1 + case .exitRaidResolveState: return 2 + case .initRaidResolveState: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum RaidResolveUIControllerFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneRaidResolveUiController // = 0 + case initRaidResolveUiController // = 1 + case closeRaidResolveUiController // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .noneRaidResolveUiController + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneRaidResolveUiController + case 1: self = .initRaidResolveUiController + case 2: self = .closeRaidResolveUiController + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noneRaidResolveUiController: return 0 + case .initRaidResolveUiController: return 1 + case .closeRaidResolveUiController: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum RaidStateFunction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noneRaidState // = 0 + case exitGymRaidState // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .noneRaidState + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noneRaidState + case 1: self = .exitGymRaidState + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noneRaidState: return 0 + case .exitGymRaidState: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ProgressTokenData.EncounterStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressTokenData.EncounterStateFunction] = [ + .noneEncounterState, + .setupEncounter, + .beginEncounterApproach, + .encounterStateComplete, + .exitEncounterState, + ] +} + +extension ProgressTokenData.GymRootControllerFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressTokenData.GymRootControllerFunction] = [ + .noneGymGymRootController, + .exitGymGymRootController, + ] +} + +extension ProgressTokenData.MapExploreStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressTokenData.MapExploreStateFunction] = [ + .noneMapExploreState, + .gymRootComplete, + ] +} + +extension ProgressTokenData.RaidBattleStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressTokenData.RaidBattleStateFunction] = [ + .noneRaidBattleState, + .enterRaidBattleState, + .exitRaidBattleState, + .observeBattleFrames, + .startRaidBattle, + .startRaidBattleWhenReady, + .endBattleWhenReady, + .getRaidBossProto, + ] +} + +extension ProgressTokenData.RaidLobbyGuiControllerFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressTokenData.RaidLobbyGuiControllerFunction] = [ + .noneRaidLobbyGuiController, + .initRaidLobbyGuiController, + .setDependantVisuals, + .startLobbyIntro, + .lobbyIntro, + .onLobbyIntroComplete, + .showBattlePrepGui, + .handleDismissComplete, + .startTimeoutScreen, + .rejoinBattle, + .updateAvatars, + .startPollingGetRaidDetails, + .playBattleIntro, + .leaveLobby, + .onPokemonInventoryOpened, + .onClickInventory, + .onTap, + .handleRaidBattleComplete, + ] +} + +extension ProgressTokenData.RaidLobbyStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressTokenData.RaidLobbyStateFunction] = [ + .noneRaidLobbyState, + .enterRaidLobbyState, + .exitRaidLobbyState, + .createLobby, + .createLobbyForReal, + .startRaidBattleState, + .cancelRaidBattleTransition, + ] +} + +extension ProgressTokenData.RaidResolveStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressTokenData.RaidResolveStateFunction] = [ + .noneRaidResolveState, + .enterRaidResolveState, + .exitRaidResolveState, + .initRaidResolveState, + ] +} + +extension ProgressTokenData.RaidResolveUIControllerFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressTokenData.RaidResolveUIControllerFunction] = [ + .noneRaidResolveUiController, + .initRaidResolveUiController, + .closeRaidResolveUiController, + ] +} + +extension ProgressTokenData.RaidStateFunction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProgressTokenData.RaidStateFunction] = [ + .noneRaidState, + .exitGymRaidState, + ] +} + +#endif // swift(>=4.2) + +public struct ProjectVacationProto { + // 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. + + public var enable2020: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ProximityContact { + // 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. + + public var proximityToken: ProximityToken { + get {return _proximityToken ?? ProximityToken()} + set {_proximityToken = newValue} + } + /// Returns true if `proximityToken` has been explicitly set. + public var hasProximityToken: Bool {return self._proximityToken != nil} + /// Clears the value of `proximityToken`. Subsequent reads from it will return its default value. + public mutating func clearProximityToken() {self._proximityToken = nil} + + public var timestampMs: Int64 = 0 + + public var latitudeDeg: Double = 0 + + public var longitudeDeg: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _proximityToken: ProximityToken? = nil +} + +public struct ProximityToken { + // 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. + + public var token: Data = Data() + + public var startTimeMs: Int64 = 0 + + public var expirationTimeMs: Int64 = 0 + + public var iv: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ProximityTokenInternal { + // 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. + + public var playerID: String = String() + + public var startTimeMs: Int64 = 0 + + public var expirationTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ProxyRequestProto { + // 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. + + public var action: UInt32 = 0 + + public var host: String = String() + + public var payload: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ProxyResponseProto { + // 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. + + public var status: ProxyResponseProto.Status = .unset + + public var assignedHost: String = String() + + public var payload: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case completed // = 1 + case completedAndReassigned // = 2 + case actionNotFound // = 3 + case assignmentError // = 4 + case proxyUnauthorizedError // = 5 + case internalError // = 6 + case badRequest // = 7 + case accessDenied // = 8 + case timeoutError // = 9 + case rateLimited // = 10 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .completed + case 2: self = .completedAndReassigned + case 3: self = .actionNotFound + case 4: self = .assignmentError + case 5: self = .proxyUnauthorizedError + case 6: self = .internalError + case 7: self = .badRequest + case 8: self = .accessDenied + case 9: self = .timeoutError + case 10: self = .rateLimited + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .completed: return 1 + case .completedAndReassigned: return 2 + case .actionNotFound: return 3 + case .assignmentError: return 4 + case .proxyUnauthorizedError: return 5 + case .internalError: return 6 + case .badRequest: return 7 + case .accessDenied: return 8 + case .timeoutError: return 9 + case .rateLimited: return 10 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ProxyResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ProxyResponseProto.Status] = [ + .unset, + .completed, + .completedAndReassigned, + .actionNotFound, + .assignmentError, + .proxyUnauthorizedError, + .internalError, + .badRequest, + .accessDenied, + .timeoutError, + .rateLimited, + ] +} + +#endif // swift(>=4.2) + +public struct PtcOAuthSettingsProto { + // 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. + + public var ptcAccountLinkingEnabled: Bool = false + + public var validationEnabled: Bool = false + + public var endTimeMs: Int64 = 0 + + public var linkingRewardItem: Item = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PtcOAuthToken { + // 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. + + public var accessCode: String = String() + + public var refreshToken: String = String() + + public var accessTokenExpirationMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PtcToken { + // 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. + + public var token: String = String() + + public var expiration: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PurifyPokemonLogEntry { + // 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. + + public var pokemonID: HoloPokemonId = .missingno + + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + + public var purifiedPokemonUuid: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +} + +public struct PurifyPokemonOutProto { + // 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. + + public var status: PurifyPokemonOutProto.Status = .unset + + public var purifiedPokemon: PokemonProto { + get {return _purifiedPokemon ?? PokemonProto()} + set {_purifiedPokemon = newValue} + } + /// Returns true if `purifiedPokemon` has been explicitly set. + public var hasPurifiedPokemon: Bool {return self._purifiedPokemon != nil} + /// Clears the value of `purifiedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearPurifiedPokemon() {self._purifiedPokemon = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInsufficientFunds // = 3 + case errorPokemonDeployed // = 4 + case errorPokemonNotFound // = 5 + case errorPokemonNotShadow // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 3: self = .errorInsufficientFunds + case 4: self = .errorPokemonDeployed + case 5: self = .errorPokemonNotFound + case 6: self = .errorPokemonNotShadow + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInsufficientFunds: return 3 + case .errorPokemonDeployed: return 4 + case .errorPokemonNotFound: return 5 + case .errorPokemonNotShadow: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _purifiedPokemon: PokemonProto? = nil +} + +#if swift(>=4.2) + +extension PurifyPokemonOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PurifyPokemonOutProto.Status] = [ + .unset, + .success, + .errorInsufficientFunds, + .errorPokemonDeployed, + .errorPokemonNotFound, + .errorPokemonNotShadow, + ] +} + +#endif // swift(>=4.2) + +public struct PurifyPokemonProto { + // 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. + + public var pokemonID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PushGatewayGlobalSettingsProto { + // 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. + + public var enableWebsocket: Bool = false + + public var enableSocialInbox: Bool = false + + public var messagingFrontendURL: String = String() + + public var enableGetMapObjects: Bool = false + + public var getMapObjectsS2Level: Int32 = 0 + + public var getMapObjectsRadiusMeters: Float = 0 + + public var getMapObjectsTopicNamespace: String = String() + + public var getMapObjectsSubscribeMinIntervalMs: Int32 = 0 + + public var bootRaidUpdateNamespace: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PushGatewayMessage { + // 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. + + public var message: PushGatewayMessage.OneOf_Message? = nil + + public var mapObjectsUpdate: PushGatewayMessage.MapObjectsUpdate { + get { + if case .mapObjectsUpdate(let v)? = message {return v} + return PushGatewayMessage.MapObjectsUpdate() + } + set {message = .mapObjectsUpdate(newValue)} + } + + public var raidLobbyPlayerCount: RaidLobbyCounterData { + get { + if case .raidLobbyPlayerCount(let v)? = message {return v} + return RaidLobbyCounterData() + } + set {message = .raidLobbyPlayerCount(newValue)} + } + + public var bootRaidUpdate: PushGatewayMessage.BootRaidUpdate { + get { + if case .bootRaidUpdate(let v)? = message {return v} + return PushGatewayMessage.BootRaidUpdate() + } + set {message = .bootRaidUpdate(newValue)} + } + + public var partyPlayProto: PartyRpcProto { + get { + if case .partyPlayProto(let v)? = message {return v} + return PartyRpcProto() + } + set {message = .partyPlayProto(newValue)} + } + + public var partyUpdate: PushGatewayMessage.PartyUpdate { + get { + if case .partyUpdate(let v)? = message {return v} + return PushGatewayMessage.PartyUpdate() + } + set {message = .partyUpdate(newValue)} + } + + public var raidParticipantProto: RaidParticipantProto { + get { + if case .raidParticipantProto(let v)? = message {return v} + return RaidParticipantProto() + } + set {message = .raidParticipantProto(newValue)} + } + + public var messagePubTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Message: Equatable { + case mapObjectsUpdate(PushGatewayMessage.MapObjectsUpdate) + case raidLobbyPlayerCount(RaidLobbyCounterData) + case bootRaidUpdate(PushGatewayMessage.BootRaidUpdate) + case partyPlayProto(PartyRpcProto) + case partyUpdate(PushGatewayMessage.PartyUpdate) + case raidParticipantProto(RaidParticipantProto) + + #if !swift(>=4.1) + public static func ==(lhs: PushGatewayMessage.OneOf_Message, rhs: PushGatewayMessage.OneOf_Message) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.mapObjectsUpdate, .mapObjectsUpdate): return { + guard case .mapObjectsUpdate(let l) = lhs, case .mapObjectsUpdate(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidLobbyPlayerCount, .raidLobbyPlayerCount): return { + guard case .raidLobbyPlayerCount(let l) = lhs, case .raidLobbyPlayerCount(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.bootRaidUpdate, .bootRaidUpdate): return { + guard case .bootRaidUpdate(let l) = lhs, case .bootRaidUpdate(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.partyPlayProto, .partyPlayProto): return { + guard case .partyPlayProto(let l) = lhs, case .partyPlayProto(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.partyUpdate, .partyUpdate): return { + guard case .partyUpdate(let l) = lhs, case .partyUpdate(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.raidParticipantProto, .raidParticipantProto): return { + guard case .raidParticipantProto(let l) = lhs, case .raidParticipantProto(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public struct BootRaidUpdate { + // 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. + + public var playerJoinEndMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct MapObjectsUpdate { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct PartyUpdate { + // 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. + + public var partyUpdateType: PushGatewayMessage.PartyUpdate.OneOf_PartyUpdateType? = nil + + public var partyPlayProto: PartyRpcProto { + get { + if case .partyPlayProto(let v)? = partyUpdateType {return v} + return PartyRpcProto() + } + set {partyUpdateType = .partyPlayProto(newValue)} + } + + public var location: PartyLocationPushProto { + get { + if case .location(let v)? = partyUpdateType {return v} + return PartyLocationPushProto() + } + set {partyUpdateType = .location(newValue)} + } + + public var zone: PartyZonePushProto { + get { + if case .zone(let v)? = partyUpdateType {return v} + return PartyZonePushProto() + } + set {partyUpdateType = .zone(newValue)} + } + + public var hasPartyUpdate_p: Bool { + get { + if case .hasPartyUpdate_p(let v)? = partyUpdateType {return v} + return false + } + set {partyUpdateType = .hasPartyUpdate_p(newValue)} + } + + public var joinedPlayerObfuscationMap: JoinedPlayerObfuscationMapProto { + get {return _joinedPlayerObfuscationMap ?? JoinedPlayerObfuscationMapProto()} + set {_joinedPlayerObfuscationMap = newValue} + } + /// Returns true if `joinedPlayerObfuscationMap` has been explicitly set. + public var hasJoinedPlayerObfuscationMap: Bool {return self._joinedPlayerObfuscationMap != nil} + /// Clears the value of `joinedPlayerObfuscationMap`. Subsequent reads from it will return its default value. + public mutating func clearJoinedPlayerObfuscationMap() {self._joinedPlayerObfuscationMap = nil} + + public var partyID: Int64 = 0 + + public var partySeed: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_PartyUpdateType: Equatable { + case partyPlayProto(PartyRpcProto) + case location(PartyLocationPushProto) + case zone(PartyZonePushProto) + case hasPartyUpdate_p(Bool) + + #if !swift(>=4.1) + public static func ==(lhs: PushGatewayMessage.PartyUpdate.OneOf_PartyUpdateType, rhs: PushGatewayMessage.PartyUpdate.OneOf_PartyUpdateType) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.partyPlayProto, .partyPlayProto): return { + guard case .partyPlayProto(let l) = lhs, case .partyPlayProto(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.location, .location): return { + guard case .location(let l) = lhs, case .location(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.zone, .zone): return { + guard case .zone(let l) = lhs, case .zone(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.hasPartyUpdate_p, .hasPartyUpdate_p): return { + guard case .hasPartyUpdate_p(let l) = lhs, case .hasPartyUpdate_p(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _joinedPlayerObfuscationMap: JoinedPlayerObfuscationMapProto? = nil + } + + public init() {} +} + +public struct PushGatewayTelemetry { + // 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. + + public var pushGatewayTelemetryID: PushGatewayTelemetryIds = .undefinedPushGatewayEvent + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PushGatewayUpstreamErrorTelemetry { + // 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. + + public var upstreamResponseStatus: Int32 = 0 + + public var tokenExpireTimestamp: Int64 = 0 + + public var clientTimestamp: Int64 = 0 + + public var serverTimestamp: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct PushNotificationRegistryOutProto { + // 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. + + public var result: PushNotificationRegistryOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case noChange // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .noChange + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .noChange: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension PushNotificationRegistryOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [PushNotificationRegistryOutProto.Result] = [ + .unset, + .success, + .noChange, + ] +} + +#endif // swift(>=4.2) + +public struct PushNotificationRegistryProto { + // 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. + + public var apnToken: ApnToken { + get {return _apnToken ?? ApnToken()} + set {_apnToken = newValue} + } + /// Returns true if `apnToken` has been explicitly set. + public var hasApnToken: Bool {return self._apnToken != nil} + /// Clears the value of `apnToken`. Subsequent reads from it will return its default value. + public mutating func clearApnToken() {self._apnToken = nil} + + public var gcmToken: GcmToken { + get {return _gcmToken ?? GcmToken()} + set {_gcmToken = newValue} + } + /// Returns true if `gcmToken` has been explicitly set. + public var hasGcmToken: Bool {return self._gcmToken != nil} + /// Clears the value of `gcmToken`. Subsequent reads from it will return its default value. + public mutating func clearGcmToken() {self._gcmToken = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _apnToken: ApnToken? = nil + fileprivate var _gcmToken: GcmToken? = nil +} + +public struct PushNotificationTelemetry { + // 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. + + public var notificationID: PushNotificationTelemetryIds = .undefinedPushNotificationEvent + + public var category: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestBranchDisplayProto { + // 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. + + public var titleKey: String = String() + + public var descriptionKey: String = String() + + public var imageURL: String = String() + + public var buttonBackgroundColor: String = String() + + public var buttonTextKey: String = String() + + public var buttonBackgroundImageURL: String = String() + + public var buttonTextColor: String = String() + + public var buttonTextOffset: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestBranchRewardProto { + // 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. + + public var rewards: [QuestRewardProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestConditionProto { + // 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. + + public var condition: QuestConditionProto.OneOf_Condition? = nil + + public var withPokemonType: WithPokemonTypeProto { + get { + if case .withPokemonType(let v)? = condition {return v} + return WithPokemonTypeProto() + } + set {condition = .withPokemonType(newValue)} + } + + public var withPokemonCategory: WithPokemonCategoryProto { + get { + if case .withPokemonCategory(let v)? = condition {return v} + return WithPokemonCategoryProto() + } + set {condition = .withPokemonCategory(newValue)} + } + + public var withWeatherBoost: WithWeatherBoostProto { + get { + if case .withWeatherBoost(let v)? = condition {return v} + return WithWeatherBoostProto() + } + set {condition = .withWeatherBoost(newValue)} + } + + public var withDailyCaptureBonus: WithDailyCaptureBonusProto { + get { + if case .withDailyCaptureBonus(let v)? = condition {return v} + return WithDailyCaptureBonusProto() + } + set {condition = .withDailyCaptureBonus(newValue)} + } + + public var withDailySpinBonus: WithDailySpinBonusProto { + get { + if case .withDailySpinBonus(let v)? = condition {return v} + return WithDailySpinBonusProto() + } + set {condition = .withDailySpinBonus(newValue)} + } + + public var withWinRaidStatus: WithWinRaidStatusProto { + get { + if case .withWinRaidStatus(let v)? = condition {return v} + return WithWinRaidStatusProto() + } + set {condition = .withWinRaidStatus(newValue)} + } + + public var withRaidLevel: WithRaidLevelProto { + get { + if case .withRaidLevel(let v)? = condition {return v} + return WithRaidLevelProto() + } + set {condition = .withRaidLevel(newValue)} + } + + public var withThrowType: WithThrowTypeProto { + get { + if case .withThrowType(let v)? = condition {return v} + return WithThrowTypeProto() + } + set {condition = .withThrowType(newValue)} + } + + public var withWinGymBattleStatus: WithWinGymBattleStatusProto { + get { + if case .withWinGymBattleStatus(let v)? = condition {return v} + return WithWinGymBattleStatusProto() + } + set {condition = .withWinGymBattleStatus(newValue)} + } + + public var withSuperEffectiveChargeMove: WithSuperEffectiveChargeMoveProto { + get { + if case .withSuperEffectiveChargeMove(let v)? = condition {return v} + return WithSuperEffectiveChargeMoveProto() + } + set {condition = .withSuperEffectiveChargeMove(newValue)} + } + + public var withItem: WithItemProto { + get { + if case .withItem(let v)? = condition {return v} + return WithItemProto() + } + set {condition = .withItem(newValue)} + } + + public var withUniquePokestop: WithUniquePokestopProto { + get { + if case .withUniquePokestop(let v)? = condition {return v} + return WithUniquePokestopProto() + } + set {condition = .withUniquePokestop(newValue)} + } + + public var withQuestContext: WithQuestContextProto { + get { + if case .withQuestContext(let v)? = condition {return v} + return WithQuestContextProto() + } + set {condition = .withQuestContext(newValue)} + } + + public var withBadgeType: WithBadgeTypeProto { + get { + if case .withBadgeType(let v)? = condition {return v} + return WithBadgeTypeProto() + } + set {condition = .withBadgeType(newValue)} + } + + public var withPlayerLevel: WithPlayerLevelProto { + get { + if case .withPlayerLevel(let v)? = condition {return v} + return WithPlayerLevelProto() + } + set {condition = .withPlayerLevel(newValue)} + } + + public var withWinBattleStatus: WithWinBattleStatusProto { + get { + if case .withWinBattleStatus(let v)? = condition {return v} + return WithWinBattleStatusProto() + } + set {condition = .withWinBattleStatus(newValue)} + } + + public var withUniquePokemon: WithUniquePokemonProto { + get { + if case .withUniquePokemon(let v)? = condition {return v} + return WithUniquePokemonProto() + } + set {condition = .withUniquePokemon(newValue)} + } + + public var withNpcCombat: WithNpcCombatProto { + get { + if case .withNpcCombat(let v)? = condition {return v} + return WithNpcCombatProto() + } + set {condition = .withNpcCombat(newValue)} + } + + public var withPvpCombat: WithPvpCombatProto { + get { + if case .withPvpCombat(let v)? = condition {return v} + return WithPvpCombatProto() + } + set {condition = .withPvpCombat(newValue)} + } + + public var withLocation: WithLocationProto { + get { + if case .withLocation(let v)? = condition {return v} + return WithLocationProto() + } + set {condition = .withLocation(newValue)} + } + + public var withDistance: WithDistanceProto { + get { + if case .withDistance(let v)? = condition {return v} + return WithDistanceProto() + } + set {condition = .withDistance(newValue)} + } + + public var withInvasionCharacter: WithInvasionCharacterProto { + get { + if case .withInvasionCharacter(let v)? = condition {return v} + return WithInvasionCharacterProto() + } + set {condition = .withInvasionCharacter(newValue)} + } + + public var withPokemonAlignment: WithPokemonAlignmentProto { + get { + if case .withPokemonAlignment(let v)? = condition {return v} + return WithPokemonAlignmentProto() + } + set {condition = .withPokemonAlignment(newValue)} + } + + public var withBuddy: WithBuddyProto { + get { + if case .withBuddy(let v)? = condition {return v} + return WithBuddyProto() + } + set {condition = .withBuddy(newValue)} + } + + public var withDailyBuddyAffection: WithDailyBuddyAffectionProto { + get { + if case .withDailyBuddyAffection(let v)? = condition {return v} + return WithDailyBuddyAffectionProto() + } + set {condition = .withDailyBuddyAffection(newValue)} + } + + public var withPokemonLevel: WithPokemonLevelProto { + get { + if case .withPokemonLevel(let v)? = condition {return v} + return WithPokemonLevelProto() + } + set {condition = .withPokemonLevel(newValue)} + } + + public var withMaxCp: WithMaxCpProto { + get { + if case .withMaxCp(let v)? = condition {return v} + return WithMaxCpProto() + } + set {condition = .withMaxCp(newValue)} + } + + public var withTempEvoID: WithTempEvoIdProto { + get { + if case .withTempEvoID(let v)? = condition {return v} + return WithTempEvoIdProto() + } + set {condition = .withTempEvoID(newValue)} + } + + public var withGblRank: WithGblRankProto { + get { + if case .withGblRank(let v)? = condition {return v} + return WithGblRankProto() + } + set {condition = .withGblRank(newValue)} + } + + public var withEncounterType: WithEncounterTypeProto { + get { + if case .withEncounterType(let v)? = condition {return v} + return WithEncounterTypeProto() + } + set {condition = .withEncounterType(newValue)} + } + + public var withCombatType: WithCombatTypeProto { + get { + if case .withCombatType(let v)? = condition {return v} + return WithCombatTypeProto() + } + set {condition = .withCombatType(newValue)} + } + + public var withItemType: WithItemTypeProto { + get { + if case .withItemType(let v)? = condition {return v} + return WithItemTypeProto() + } + set {condition = .withItemType(newValue)} + } + + public var withElapsedTime: WithElapsedTimeProto { + get { + if case .withElapsedTime(let v)? = condition {return v} + return WithElapsedTimeProto() + } + set {condition = .withElapsedTime(newValue)} + } + + public var withFriendLevel: WithFriendLevelProto { + get { + if case .withFriendLevel(let v)? = condition {return v} + return WithFriendLevelProto() + } + set {condition = .withFriendLevel(newValue)} + } + + public var withPokemonCp: WithPokemonCpProto { + get { + if case .withPokemonCp(let v)? = condition {return v} + return WithPokemonCpProto() + } + set {condition = .withPokemonCp(newValue)} + } + + public var withRaidLocation: WithRaidLocationProto { + get { + if case .withRaidLocation(let v)? = condition {return v} + return WithRaidLocationProto() + } + set {condition = .withRaidLocation(newValue)} + } + + public var withFriendsRaid: WithFriendsRaidProto { + get { + if case .withFriendsRaid(let v)? = condition {return v} + return WithFriendsRaidProto() + } + set {condition = .withFriendsRaid(newValue)} + } + + public var withPokemonCostume: WithPokemonCostumeProto { + get { + if case .withPokemonCostume(let v)? = condition {return v} + return WithPokemonCostumeProto() + } + set {condition = .withPokemonCostume(newValue)} + } + + public var withPokemonSize: WithPokemonSizeProto { + get { + if case .withPokemonSize(let v)? = condition {return v} + return WithPokemonSizeProto() + } + set {condition = .withPokemonSize(newValue)} + } + + public var withDeviceType: WithDeviceTypeProto { + get { + if case .withDeviceType(let v)? = condition {return v} + return WithDeviceTypeProto() + } + set {condition = .withDeviceType(newValue)} + } + + public var withRouteTravel: WithRouteTravelProto { + get { + if case .withRouteTravel(let v)? = condition {return v} + return WithRouteTravelProto() + } + set {condition = .withRouteTravel(newValue)} + } + + public var withUniqueRoute: WithUniqueRouteTravelProto { + get { + if case .withUniqueRoute(let v)? = condition {return v} + return WithUniqueRouteTravelProto() + } + set {condition = .withUniqueRoute(newValue)} + } + + public var withTappableType: WithTappableTypeProto { + get { + if case .withTappableType(let v)? = condition {return v} + return WithTappableTypeProto() + } + set {condition = .withTappableType(newValue)} + } + + public var withAuthProviderType: WithAuthProviderTypeProto { + get { + if case .withAuthProviderType(let v)? = condition {return v} + return WithAuthProviderTypeProto() + } + set {condition = .withAuthProviderType(newValue)} + } + + public var withOpponentPokemonBattleStatus: WithOpponentPokemonBattleStatusProto { + get { + if case .withOpponentPokemonBattleStatus(let v)? = condition {return v} + return WithOpponentPokemonBattleStatusProto() + } + set {condition = .withOpponentPokemonBattleStatus(newValue)} + } + + public var withFortID: WithFortIdProto { + get { + if case .withFortID(let v)? = condition {return v} + return WithFortIdProto() + } + set {condition = .withFortID(newValue)} + } + + public var withPokemonMove: WithPokemonMoveProto { + get { + if case .withPokemonMove(let v)? = condition {return v} + return WithPokemonMoveProto() + } + set {condition = .withPokemonMove(newValue)} + } + + public var type: QuestConditionProto.ConditionType = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Condition: Equatable { + case withPokemonType(WithPokemonTypeProto) + case withPokemonCategory(WithPokemonCategoryProto) + case withWeatherBoost(WithWeatherBoostProto) + case withDailyCaptureBonus(WithDailyCaptureBonusProto) + case withDailySpinBonus(WithDailySpinBonusProto) + case withWinRaidStatus(WithWinRaidStatusProto) + case withRaidLevel(WithRaidLevelProto) + case withThrowType(WithThrowTypeProto) + case withWinGymBattleStatus(WithWinGymBattleStatusProto) + case withSuperEffectiveChargeMove(WithSuperEffectiveChargeMoveProto) + case withItem(WithItemProto) + case withUniquePokestop(WithUniquePokestopProto) + case withQuestContext(WithQuestContextProto) + case withBadgeType(WithBadgeTypeProto) + case withPlayerLevel(WithPlayerLevelProto) + case withWinBattleStatus(WithWinBattleStatusProto) + case withUniquePokemon(WithUniquePokemonProto) + case withNpcCombat(WithNpcCombatProto) + case withPvpCombat(WithPvpCombatProto) + case withLocation(WithLocationProto) + case withDistance(WithDistanceProto) + case withInvasionCharacter(WithInvasionCharacterProto) + case withPokemonAlignment(WithPokemonAlignmentProto) + case withBuddy(WithBuddyProto) + case withDailyBuddyAffection(WithDailyBuddyAffectionProto) + case withPokemonLevel(WithPokemonLevelProto) + case withMaxCp(WithMaxCpProto) + case withTempEvoID(WithTempEvoIdProto) + case withGblRank(WithGblRankProto) + case withEncounterType(WithEncounterTypeProto) + case withCombatType(WithCombatTypeProto) + case withItemType(WithItemTypeProto) + case withElapsedTime(WithElapsedTimeProto) + case withFriendLevel(WithFriendLevelProto) + case withPokemonCp(WithPokemonCpProto) + case withRaidLocation(WithRaidLocationProto) + case withFriendsRaid(WithFriendsRaidProto) + case withPokemonCostume(WithPokemonCostumeProto) + case withPokemonSize(WithPokemonSizeProto) + case withDeviceType(WithDeviceTypeProto) + case withRouteTravel(WithRouteTravelProto) + case withUniqueRoute(WithUniqueRouteTravelProto) + case withTappableType(WithTappableTypeProto) + case withAuthProviderType(WithAuthProviderTypeProto) + case withOpponentPokemonBattleStatus(WithOpponentPokemonBattleStatusProto) + case withFortID(WithFortIdProto) + case withPokemonMove(WithPokemonMoveProto) + + #if !swift(>=4.1) + public static func ==(lhs: QuestConditionProto.OneOf_Condition, rhs: QuestConditionProto.OneOf_Condition) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.withPokemonType, .withPokemonType): return { + guard case .withPokemonType(let l) = lhs, case .withPokemonType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonCategory, .withPokemonCategory): return { + guard case .withPokemonCategory(let l) = lhs, case .withPokemonCategory(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withWeatherBoost, .withWeatherBoost): return { + guard case .withWeatherBoost(let l) = lhs, case .withWeatherBoost(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withDailyCaptureBonus, .withDailyCaptureBonus): return { + guard case .withDailyCaptureBonus(let l) = lhs, case .withDailyCaptureBonus(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withDailySpinBonus, .withDailySpinBonus): return { + guard case .withDailySpinBonus(let l) = lhs, case .withDailySpinBonus(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withWinRaidStatus, .withWinRaidStatus): return { + guard case .withWinRaidStatus(let l) = lhs, case .withWinRaidStatus(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withRaidLevel, .withRaidLevel): return { + guard case .withRaidLevel(let l) = lhs, case .withRaidLevel(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withThrowType, .withThrowType): return { + guard case .withThrowType(let l) = lhs, case .withThrowType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withWinGymBattleStatus, .withWinGymBattleStatus): return { + guard case .withWinGymBattleStatus(let l) = lhs, case .withWinGymBattleStatus(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withSuperEffectiveChargeMove, .withSuperEffectiveChargeMove): return { + guard case .withSuperEffectiveChargeMove(let l) = lhs, case .withSuperEffectiveChargeMove(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withItem, .withItem): return { + guard case .withItem(let l) = lhs, case .withItem(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withUniquePokestop, .withUniquePokestop): return { + guard case .withUniquePokestop(let l) = lhs, case .withUniquePokestop(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withQuestContext, .withQuestContext): return { + guard case .withQuestContext(let l) = lhs, case .withQuestContext(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withBadgeType, .withBadgeType): return { + guard case .withBadgeType(let l) = lhs, case .withBadgeType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPlayerLevel, .withPlayerLevel): return { + guard case .withPlayerLevel(let l) = lhs, case .withPlayerLevel(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withWinBattleStatus, .withWinBattleStatus): return { + guard case .withWinBattleStatus(let l) = lhs, case .withWinBattleStatus(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withUniquePokemon, .withUniquePokemon): return { + guard case .withUniquePokemon(let l) = lhs, case .withUniquePokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withNpcCombat, .withNpcCombat): return { + guard case .withNpcCombat(let l) = lhs, case .withNpcCombat(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPvpCombat, .withPvpCombat): return { + guard case .withPvpCombat(let l) = lhs, case .withPvpCombat(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withLocation, .withLocation): return { + guard case .withLocation(let l) = lhs, case .withLocation(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withDistance, .withDistance): return { + guard case .withDistance(let l) = lhs, case .withDistance(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withInvasionCharacter, .withInvasionCharacter): return { + guard case .withInvasionCharacter(let l) = lhs, case .withInvasionCharacter(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonAlignment, .withPokemonAlignment): return { + guard case .withPokemonAlignment(let l) = lhs, case .withPokemonAlignment(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withBuddy, .withBuddy): return { + guard case .withBuddy(let l) = lhs, case .withBuddy(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withDailyBuddyAffection, .withDailyBuddyAffection): return { + guard case .withDailyBuddyAffection(let l) = lhs, case .withDailyBuddyAffection(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonLevel, .withPokemonLevel): return { + guard case .withPokemonLevel(let l) = lhs, case .withPokemonLevel(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withMaxCp, .withMaxCp): return { + guard case .withMaxCp(let l) = lhs, case .withMaxCp(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withTempEvoID, .withTempEvoID): return { + guard case .withTempEvoID(let l) = lhs, case .withTempEvoID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withGblRank, .withGblRank): return { + guard case .withGblRank(let l) = lhs, case .withGblRank(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withEncounterType, .withEncounterType): return { + guard case .withEncounterType(let l) = lhs, case .withEncounterType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withCombatType, .withCombatType): return { + guard case .withCombatType(let l) = lhs, case .withCombatType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withItemType, .withItemType): return { + guard case .withItemType(let l) = lhs, case .withItemType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withElapsedTime, .withElapsedTime): return { + guard case .withElapsedTime(let l) = lhs, case .withElapsedTime(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withFriendLevel, .withFriendLevel): return { + guard case .withFriendLevel(let l) = lhs, case .withFriendLevel(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonCp, .withPokemonCp): return { + guard case .withPokemonCp(let l) = lhs, case .withPokemonCp(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withRaidLocation, .withRaidLocation): return { + guard case .withRaidLocation(let l) = lhs, case .withRaidLocation(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withFriendsRaid, .withFriendsRaid): return { + guard case .withFriendsRaid(let l) = lhs, case .withFriendsRaid(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonCostume, .withPokemonCostume): return { + guard case .withPokemonCostume(let l) = lhs, case .withPokemonCostume(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonSize, .withPokemonSize): return { + guard case .withPokemonSize(let l) = lhs, case .withPokemonSize(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withDeviceType, .withDeviceType): return { + guard case .withDeviceType(let l) = lhs, case .withDeviceType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withRouteTravel, .withRouteTravel): return { + guard case .withRouteTravel(let l) = lhs, case .withRouteTravel(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withUniqueRoute, .withUniqueRoute): return { + guard case .withUniqueRoute(let l) = lhs, case .withUniqueRoute(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withTappableType, .withTappableType): return { + guard case .withTappableType(let l) = lhs, case .withTappableType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withAuthProviderType, .withAuthProviderType): return { + guard case .withAuthProviderType(let l) = lhs, case .withAuthProviderType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withOpponentPokemonBattleStatus, .withOpponentPokemonBattleStatus): return { + guard case .withOpponentPokemonBattleStatus(let l) = lhs, case .withOpponentPokemonBattleStatus(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withFortID, .withFortID): return { + guard case .withFortID(let l) = lhs, case .withFortID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.withPokemonMove, .withPokemonMove): return { + guard case .withPokemonMove(let l) = lhs, case .withPokemonMove(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum ConditionType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case withPokemonType // = 1 + case withPokemonCategory // = 2 + case withWeatherBoost // = 3 + case withDailyCaptureBonus // = 4 + case withDailySpinBonus // = 5 + case withWinRaidStatus // = 6 + case withRaidLevel // = 7 + case withThrowType // = 8 + case withWinGymBattleStatus // = 9 + case withSuperEffectiveCharge // = 10 + case withItem // = 11 + case withUniquePokestop // = 12 + case withQuestContext // = 13 + case withThrowTypeInARow // = 14 + case withCurveBall // = 15 + case withBadgeType // = 16 + case withPlayerLevel // = 17 + case withWinBattleStatus // = 18 + case withNewFriend // = 19 + case withDaysInARow // = 20 + case withUniquePokemon // = 21 + case withNpcCombat // = 22 + case withPvpCombat // = 23 + case withLocation // = 24 + case withDistance // = 25 + case withPokemonAlignment // = 26 + case withInvasionCharacter // = 27 + case withBuddy // = 28 + case withBuddyInterestingPoi // = 29 + case withDailyBuddyAffection // = 30 + case withPokemonLevel // = 31 + case withSingleDay // = 32 + case withUniquePokemonTeam // = 33 + case withMaxCp // = 34 + case withLuckyPokemon // = 35 + case withLegendaryPokemon // = 36 + case withTempEvoPokemon // = 37 + case withGblRank // = 38 + case withCatchesInARow // = 39 + case withEncounterType // = 40 + case withCombatType // = 41 + case withGeotargetedPoi // = 42 + case withItemType // = 43 + case withRaidElapsedTime // = 44 + case withFriendLevel // = 45 + case withSticker // = 46 + case withPokemonCp // = 47 + case withRaidLocation // = 48 + case withFriendsRaid // = 49 + case withPokemonCostume // = 50 + case withAppliedItem // = 51 + case withPokemonSize // = 52 + case withTotalDays // = 53 + case withDeviceType // = 54 + case withRouteTravel // = 55 + case withUniqueRouteTravel // = 56 + case withTappableType // = 57 + case withInParty // = 58 + case withShinyPokemon // = 59 + case withAbilityPartyPowerDamageDealt // = 60 + case withAuthProviderType // = 61 + case withOpponentPokemonBattleStatus // = 62 + case withFortID // = 63 + case withPokemonMove // = 64 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .withPokemonType + case 2: self = .withPokemonCategory + case 3: self = .withWeatherBoost + case 4: self = .withDailyCaptureBonus + case 5: self = .withDailySpinBonus + case 6: self = .withWinRaidStatus + case 7: self = .withRaidLevel + case 8: self = .withThrowType + case 9: self = .withWinGymBattleStatus + case 10: self = .withSuperEffectiveCharge + case 11: self = .withItem + case 12: self = .withUniquePokestop + case 13: self = .withQuestContext + case 14: self = .withThrowTypeInARow + case 15: self = .withCurveBall + case 16: self = .withBadgeType + case 17: self = .withPlayerLevel + case 18: self = .withWinBattleStatus + case 19: self = .withNewFriend + case 20: self = .withDaysInARow + case 21: self = .withUniquePokemon + case 22: self = .withNpcCombat + case 23: self = .withPvpCombat + case 24: self = .withLocation + case 25: self = .withDistance + case 26: self = .withPokemonAlignment + case 27: self = .withInvasionCharacter + case 28: self = .withBuddy + case 29: self = .withBuddyInterestingPoi + case 30: self = .withDailyBuddyAffection + case 31: self = .withPokemonLevel + case 32: self = .withSingleDay + case 33: self = .withUniquePokemonTeam + case 34: self = .withMaxCp + case 35: self = .withLuckyPokemon + case 36: self = .withLegendaryPokemon + case 37: self = .withTempEvoPokemon + case 38: self = .withGblRank + case 39: self = .withCatchesInARow + case 40: self = .withEncounterType + case 41: self = .withCombatType + case 42: self = .withGeotargetedPoi + case 43: self = .withItemType + case 44: self = .withRaidElapsedTime + case 45: self = .withFriendLevel + case 46: self = .withSticker + case 47: self = .withPokemonCp + case 48: self = .withRaidLocation + case 49: self = .withFriendsRaid + case 50: self = .withPokemonCostume + case 51: self = .withAppliedItem + case 52: self = .withPokemonSize + case 53: self = .withTotalDays + case 54: self = .withDeviceType + case 55: self = .withRouteTravel + case 56: self = .withUniqueRouteTravel + case 57: self = .withTappableType + case 58: self = .withInParty + case 59: self = .withShinyPokemon + case 60: self = .withAbilityPartyPowerDamageDealt + case 61: self = .withAuthProviderType + case 62: self = .withOpponentPokemonBattleStatus + case 63: self = .withFortID + case 64: self = .withPokemonMove + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .withPokemonType: return 1 + case .withPokemonCategory: return 2 + case .withWeatherBoost: return 3 + case .withDailyCaptureBonus: return 4 + case .withDailySpinBonus: return 5 + case .withWinRaidStatus: return 6 + case .withRaidLevel: return 7 + case .withThrowType: return 8 + case .withWinGymBattleStatus: return 9 + case .withSuperEffectiveCharge: return 10 + case .withItem: return 11 + case .withUniquePokestop: return 12 + case .withQuestContext: return 13 + case .withThrowTypeInARow: return 14 + case .withCurveBall: return 15 + case .withBadgeType: return 16 + case .withPlayerLevel: return 17 + case .withWinBattleStatus: return 18 + case .withNewFriend: return 19 + case .withDaysInARow: return 20 + case .withUniquePokemon: return 21 + case .withNpcCombat: return 22 + case .withPvpCombat: return 23 + case .withLocation: return 24 + case .withDistance: return 25 + case .withPokemonAlignment: return 26 + case .withInvasionCharacter: return 27 + case .withBuddy: return 28 + case .withBuddyInterestingPoi: return 29 + case .withDailyBuddyAffection: return 30 + case .withPokemonLevel: return 31 + case .withSingleDay: return 32 + case .withUniquePokemonTeam: return 33 + case .withMaxCp: return 34 + case .withLuckyPokemon: return 35 + case .withLegendaryPokemon: return 36 + case .withTempEvoPokemon: return 37 + case .withGblRank: return 38 + case .withCatchesInARow: return 39 + case .withEncounterType: return 40 + case .withCombatType: return 41 + case .withGeotargetedPoi: return 42 + case .withItemType: return 43 + case .withRaidElapsedTime: return 44 + case .withFriendLevel: return 45 + case .withSticker: return 46 + case .withPokemonCp: return 47 + case .withRaidLocation: return 48 + case .withFriendsRaid: return 49 + case .withPokemonCostume: return 50 + case .withAppliedItem: return 51 + case .withPokemonSize: return 52 + case .withTotalDays: return 53 + case .withDeviceType: return 54 + case .withRouteTravel: return 55 + case .withUniqueRouteTravel: return 56 + case .withTappableType: return 57 + case .withInParty: return 58 + case .withShinyPokemon: return 59 + case .withAbilityPartyPowerDamageDealt: return 60 + case .withAuthProviderType: return 61 + case .withOpponentPokemonBattleStatus: return 62 + case .withFortID: return 63 + case .withPokemonMove: return 64 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension QuestConditionProto.ConditionType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestConditionProto.ConditionType] = [ + .unset, + .withPokemonType, + .withPokemonCategory, + .withWeatherBoost, + .withDailyCaptureBonus, + .withDailySpinBonus, + .withWinRaidStatus, + .withRaidLevel, + .withThrowType, + .withWinGymBattleStatus, + .withSuperEffectiveCharge, + .withItem, + .withUniquePokestop, + .withQuestContext, + .withThrowTypeInARow, + .withCurveBall, + .withBadgeType, + .withPlayerLevel, + .withWinBattleStatus, + .withNewFriend, + .withDaysInARow, + .withUniquePokemon, + .withNpcCombat, + .withPvpCombat, + .withLocation, + .withDistance, + .withPokemonAlignment, + .withInvasionCharacter, + .withBuddy, + .withBuddyInterestingPoi, + .withDailyBuddyAffection, + .withPokemonLevel, + .withSingleDay, + .withUniquePokemonTeam, + .withMaxCp, + .withLuckyPokemon, + .withLegendaryPokemon, + .withTempEvoPokemon, + .withGblRank, + .withCatchesInARow, + .withEncounterType, + .withCombatType, + .withGeotargetedPoi, + .withItemType, + .withRaidElapsedTime, + .withFriendLevel, + .withSticker, + .withPokemonCp, + .withRaidLocation, + .withFriendsRaid, + .withPokemonCostume, + .withAppliedItem, + .withPokemonSize, + .withTotalDays, + .withDeviceType, + .withRouteTravel, + .withUniqueRouteTravel, + .withTappableType, + .withInParty, + .withShinyPokemon, + .withAbilityPartyPowerDamageDealt, + .withAuthProviderType, + .withOpponentPokemonBattleStatus, + .withFortID, + .withPokemonMove, + ] +} + +#endif // swift(>=4.2) + +public struct QuestCreateDetail { + // 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. + + public var origin: EncounterType = .spawnPoint + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestDialogProto { + // 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. + + public var text: String = String() + + public var expression: QuestDialogProto.CharacterExpression = .expressionUnset + + public var imageUri: String = String() + + public var character: QuestDialogProto.Character = .unset + + public var characterOffset: [Float] = [] + + public var textBackgroundColor: String = String() + + public var characterTint: String = String() + + public var questMusicOverrideKey: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Character: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case professorWillow // = 1 + case specialGuest1 // = 2 + case specialGuest2 // = 3 + case specialGuest3 // = 4 + case specialGuest4 // = 5 + case specialGuest5 // = 6 + case specialGuestRhi // = 7 + case specialGuestRhi2 // = 8 + case specialGuestExecblue // = 9 + case specialGuestExecred // = 10 + case specialGuestExecyellow // = 11 + case specialGuestMystic // = 12 + case specialGuestValor // = 13 + case specialGuestInstinct // = 14 + case specialGuestTraveler // = 15 + case specialGuestExplorer // = 16 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .professorWillow + case 2: self = .specialGuest1 + case 3: self = .specialGuest2 + case 4: self = .specialGuest3 + case 5: self = .specialGuest4 + case 6: self = .specialGuest5 + case 7: self = .specialGuestRhi + case 8: self = .specialGuestRhi2 + case 9: self = .specialGuestExecblue + case 10: self = .specialGuestExecred + case 11: self = .specialGuestExecyellow + case 12: self = .specialGuestMystic + case 13: self = .specialGuestValor + case 14: self = .specialGuestInstinct + case 15: self = .specialGuestTraveler + case 16: self = .specialGuestExplorer + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .professorWillow: return 1 + case .specialGuest1: return 2 + case .specialGuest2: return 3 + case .specialGuest3: return 4 + case .specialGuest4: return 5 + case .specialGuest5: return 6 + case .specialGuestRhi: return 7 + case .specialGuestRhi2: return 8 + case .specialGuestExecblue: return 9 + case .specialGuestExecred: return 10 + case .specialGuestExecyellow: return 11 + case .specialGuestMystic: return 12 + case .specialGuestValor: return 13 + case .specialGuestInstinct: return 14 + case .specialGuestTraveler: return 15 + case .specialGuestExplorer: return 16 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum CharacterExpression: SwiftProtobuf.Enum { + public typealias RawValue = Int + case expressionUnset // = 0 + case happy // = 1 + case sympathetic // = 2 + case energetic // = 3 + case pushy // = 4 + case impatient // = 5 + case admiration // = 6 + case sad // = 7 + case idle // = 8 + case idleB // = 9 + case greeting // = 10 + case greetingB // = 11 + case reactAngry // = 12 + case reactCelebration // = 13 + case reactHappy // = 14 + case reactLaugh // = 15 + case reactSad // = 16 + case reactScared // = 17 + case reactSurprised // = 18 + case UNRECOGNIZED(Int) + + public init() { + self = .expressionUnset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .expressionUnset + case 1: self = .happy + case 2: self = .sympathetic + case 3: self = .energetic + case 4: self = .pushy + case 5: self = .impatient + case 6: self = .admiration + case 7: self = .sad + case 8: self = .idle + case 9: self = .idleB + case 10: self = .greeting + case 11: self = .greetingB + case 12: self = .reactAngry + case 13: self = .reactCelebration + case 14: self = .reactHappy + case 15: self = .reactLaugh + case 16: self = .reactSad + case 17: self = .reactScared + case 18: self = .reactSurprised + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .expressionUnset: return 0 + case .happy: return 1 + case .sympathetic: return 2 + case .energetic: return 3 + case .pushy: return 4 + case .impatient: return 5 + case .admiration: return 6 + case .sad: return 7 + case .idle: return 8 + case .idleB: return 9 + case .greeting: return 10 + case .greetingB: return 11 + case .reactAngry: return 12 + case .reactCelebration: return 13 + case .reactHappy: return 14 + case .reactLaugh: return 15 + case .reactSad: return 16 + case .reactScared: return 17 + case .reactSurprised: return 18 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension QuestDialogProto.Character: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestDialogProto.Character] = [ + .unset, + .professorWillow, + .specialGuest1, + .specialGuest2, + .specialGuest3, + .specialGuest4, + .specialGuest5, + .specialGuestRhi, + .specialGuestRhi2, + .specialGuestExecblue, + .specialGuestExecred, + .specialGuestExecyellow, + .specialGuestMystic, + .specialGuestValor, + .specialGuestInstinct, + .specialGuestTraveler, + .specialGuestExplorer, + ] +} + +extension QuestDialogProto.CharacterExpression: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestDialogProto.CharacterExpression] = [ + .expressionUnset, + .happy, + .sympathetic, + .energetic, + .pushy, + .impatient, + .admiration, + .sad, + .idle, + .idleB, + .greeting, + .greetingB, + .reactAngry, + .reactCelebration, + .reactHappy, + .reactLaugh, + .reactSad, + .reactScared, + .reactSurprised, + ] +} + +#endif // swift(>=4.2) + +public struct QuestDisplayProto { + // 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. + + public var questID: String { + get {return _storage._questID} + set {_uniqueStorage()._questID = newValue} + } + + public var dialog: [QuestDialogProto] { + get {return _storage._dialog} + set {_uniqueStorage()._dialog = newValue} + } + + public var description_p: String { + get {return _storage._description_p} + set {_uniqueStorage()._description_p = newValue} + } + + public var title: String { + get {return _storage._title} + set {_uniqueStorage()._title = newValue} + } + + public var slot: Int32 { + get {return _storage._slot} + set {_uniqueStorage()._slot = newValue} + } + + public var subquestDisplays: [QuestDisplayProto] { + get {return _storage._subquestDisplays} + set {_uniqueStorage()._subquestDisplays = newValue} + } + + public var storyEndingQuest: Bool { + get {return _storage._storyEndingQuest} + set {_uniqueStorage()._storyEndingQuest = newValue} + } + + public var storyEndingDescription: String { + get {return _storage._storyEndingDescription} + set {_uniqueStorage()._storyEndingDescription = newValue} + } + + public var tagColor: String { + get {return _storage._tagColor} + set {_uniqueStorage()._tagColor = newValue} + } + + public var tagString: String { + get {return _storage._tagString} + set {_uniqueStorage()._tagString = newValue} + } + + public var sponsorString: String { + get {return _storage._sponsorString} + set {_uniqueStorage()._sponsorString = newValue} + } + + public var partnerID: String { + get {return _storage._partnerID} + set {_uniqueStorage()._partnerID = newValue} + } + + public var iconName: String { + get {return _storage._iconName} + set {_uniqueStorage()._iconName = newValue} + } + + public var backgroundName: String { + get {return _storage._backgroundName} + set {_uniqueStorage()._backgroundName = newValue} + } + + public var foregroundName: String { + get {return _storage._foregroundName} + set {_uniqueStorage()._foregroundName = newValue} + } + + public var progressInterval: Int32 { + get {return _storage._progressInterval} + set {_uniqueStorage()._progressInterval = newValue} + } + + public var branches: [QuestBranchDisplayProto] { + get {return _storage._branches} + set {_uniqueStorage()._branches = newValue} + } + + public var forceReshowBranchingQuestDialogCooldownMs: Int64 { + get {return _storage._forceReshowBranchingQuestDialogCooldownMs} + set {_uniqueStorage()._forceReshowBranchingQuestDialogCooldownMs = newValue} + } + + public var branchingQuestStoryViewButtonKey: String { + get {return _storage._branchingQuestStoryViewButtonKey} + set {_uniqueStorage()._branchingQuestStoryViewButtonKey = newValue} + } + + public var branchingQuestStoryViewImageURL: String { + get {return _storage._branchingQuestStoryViewImageURL} + set {_uniqueStorage()._branchingQuestStoryViewImageURL = newValue} + } + + public var questBranchChoiceViewBackgroundImageURL: String { + get {return _storage._questBranchChoiceViewBackgroundImageURL} + set {_uniqueStorage()._questBranchChoiceViewBackgroundImageURL = newValue} + } + + public var questBranchChoiceViewBackgroundColor: String { + get {return _storage._questBranchChoiceViewBackgroundColor} + set {_uniqueStorage()._questBranchChoiceViewBackgroundColor = newValue} + } + + public var propName: String { + get {return _storage._propName} + set {_uniqueStorage()._propName = newValue} + } + + public var questBranchChoiceViewHeaderBackgroundColor: String { + get {return _storage._questBranchChoiceViewHeaderBackgroundColor} + set {_uniqueStorage()._questBranchChoiceViewHeaderBackgroundColor = newValue} + } + + public var questBranchChoiceViewBottomGradientColor: String { + get {return _storage._questBranchChoiceViewBottomGradientColor} + set {_uniqueStorage()._questBranchChoiceViewBottomGradientColor = newValue} + } + + public var sortOrder: Int32 { + get {return _storage._sortOrder} + set {_uniqueStorage()._sortOrder = newValue} + } + + public var storyQuestlineTitle: String { + get {return _storage._storyQuestlineTitle} + set {_uniqueStorage()._storyQuestlineTitle = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct QuestEncounterOutProto { + // 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. + + public var result: QuestEncounterOutProto.Result = .questEncounterUnknown + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case questEncounterUnknown // = 0 + case questEncounterSuccess // = 1 + case questEncounterNotAvailable // = 2 + case questEncounterAlreadyFinished // = 3 + case pokemonInventoryFull // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .questEncounterUnknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .questEncounterUnknown + case 1: self = .questEncounterSuccess + case 2: self = .questEncounterNotAvailable + case 3: self = .questEncounterAlreadyFinished + case 4: self = .pokemonInventoryFull + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .questEncounterUnknown: return 0 + case .questEncounterSuccess: return 1 + case .questEncounterNotAvailable: return 2 + case .questEncounterAlreadyFinished: return 3 + case .pokemonInventoryFull: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil +} + +#if swift(>=4.2) + +extension QuestEncounterOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestEncounterOutProto.Result] = [ + .questEncounterUnknown, + .questEncounterSuccess, + .questEncounterNotAvailable, + .questEncounterAlreadyFinished, + .pokemonInventoryFull, + ] +} + +#endif // swift(>=4.2) + +public struct QuestEncounterProto { + // 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. + + public var pokemonID: UInt64 = 0 + + public var questID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestEvolutionGlobalSettingsProto { + // 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. + + public var enableQuestEvolutions: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestEvolutionSettingsProto { + // 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. + + public var enableQuestEvolutions: Bool = false + + public var enableWalkingQuestEvolutions: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestGlobalSettingsProto { + // 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. + + public var enableQuests: Bool = false + + public var maxChallengeQuests: Int32 = 0 + + public var enableShowSponsorName: Bool = false + + public var forceReshowBranchingQuestDialogDefaultCooldownMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestGoalProto { + // 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. + + public var condition: [QuestConditionProto] = [] + + public var target: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestIncidentProto { + // 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. + + public var questID: String = String() + + public var context: QuestIncidentProto.Context = .unset + + public var incidentLookup: IncidentLookupProto { + get {return _incidentLookup ?? IncidentLookupProto()} + set {_incidentLookup = newValue} + } + /// Returns true if `incidentLookup` has been explicitly set. + public var hasIncidentLookup: Bool {return self._incidentLookup != nil} + /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. + public mutating func clearIncidentLookup() {self._incidentLookup = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Context: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case storyQuestBattle // = 1 + case timedQuestBattle // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .storyQuestBattle + case 2: self = .timedQuestBattle + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .storyQuestBattle: return 1 + case .timedQuestBattle: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _incidentLookup: IncidentLookupProto? = nil +} + +#if swift(>=4.2) + +extension QuestIncidentProto.Context: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestIncidentProto.Context] = [ + .unset, + .storyQuestBattle, + .timedQuestBattle, + ] +} + +#endif // swift(>=4.2) + +public struct QuestListTelemetry { + // 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. + + public var clientTimestamp: Int64 = 0 + + public var interactionType: QuestListTelemetry.QuestListInteraction = .open + + public var questListTab: QuestListTelemetry.QuestListTab = .tabOne + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum QuestListInteraction: SwiftProtobuf.Enum { + public typealias RawValue = Int + case `open` // = 0 + case closed // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .open + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .open + case 1: self = .closed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .open: return 0 + case .closed: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum QuestListTab: SwiftProtobuf.Enum { + public typealias RawValue = Int + case tabOne // = 0 + case tabTwo // = 1 + case tabThree // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .tabOne + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .tabOne + case 1: self = .tabTwo + case 2: self = .tabThree + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .tabOne: return 0 + case .tabTwo: return 1 + case .tabThree: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension QuestListTelemetry.QuestListInteraction: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestListTelemetry.QuestListInteraction] = [ + .open, + .closed, + ] +} + +extension QuestListTelemetry.QuestListTab: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestListTelemetry.QuestListTab] = [ + .tabOne, + .tabTwo, + .tabThree, + ] +} + +#endif // swift(>=4.2) + +public struct QuestPokemonEncounterProto { + // 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. + + public var questID: String = String() + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var encounterType: EncounterType = .spawnPoint + + public var isHiddenDitto: Bool = false + + public var ditto: PokemonProto { + get {return _ditto ?? PokemonProto()} + set {_ditto = newValue} + } + /// Returns true if `ditto` has been explicitly set. + public var hasDitto: Bool {return self._ditto != nil} + /// Clears the value of `ditto`. Subsequent reads from it will return its default value. + public mutating func clearDitto() {self._ditto = nil} + + public var pokeBallOverride: Item = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _ditto: PokemonProto? = nil +} + +public struct QuestPreconditionProto { + // 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. + + public var condition: QuestPreconditionProto.OneOf_Condition? = nil + + public var questTemplateID: String { + get { + if case .questTemplateID(let v)? = condition {return v} + return String() + } + set {condition = .questTemplateID(newValue)} + } + + public var level: QuestPreconditionProto.Level { + get { + if case .level(let v)? = condition {return v} + return QuestPreconditionProto.Level() + } + set {condition = .level(newValue)} + } + + public var medal: QuestPreconditionProto.Medal { + get { + if case .medal(let v)? = condition {return v} + return QuestPreconditionProto.Medal() + } + set {condition = .medal(newValue)} + } + + public var quests: QuestPreconditionProto.Quests { + get { + if case .quests(let v)? = condition {return v} + return QuestPreconditionProto.Quests() + } + set {condition = .quests(newValue)} + } + + public var monthYearBucket: QuestPreconditionProto.MonthYearBucket { + get { + if case .monthYearBucket(let v)? = condition {return v} + return QuestPreconditionProto.MonthYearBucket() + } + set {condition = .monthYearBucket(newValue)} + } + + public var group: QuestPreconditionProto.Group { + get { + if case .group(let v)? = condition {return v} + return QuestPreconditionProto.Group() + } + set {condition = .group(newValue)} + } + + public var storyLine: QuestPreconditionProto.StorylineProgressConditionProto { + get { + if case .storyLine(let v)? = condition {return v} + return QuestPreconditionProto.StorylineProgressConditionProto() + } + set {condition = .storyLine(newValue)} + } + + public var team: QuestPreconditionProto.TeamProto { + get { + if case .team(let v)? = condition {return v} + return QuestPreconditionProto.TeamProto() + } + set {condition = .team(newValue)} + } + + public var type: QuestPreconditionProto.QuestPreconditionType = .questPreconditionUnsetQuestpreconditiontype + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Condition: Equatable { + case questTemplateID(String) + case level(QuestPreconditionProto.Level) + case medal(QuestPreconditionProto.Medal) + case quests(QuestPreconditionProto.Quests) + case monthYearBucket(QuestPreconditionProto.MonthYearBucket) + case group(QuestPreconditionProto.Group) + case storyLine(QuestPreconditionProto.StorylineProgressConditionProto) + case team(QuestPreconditionProto.TeamProto) + + #if !swift(>=4.1) + public static func ==(lhs: QuestPreconditionProto.OneOf_Condition, rhs: QuestPreconditionProto.OneOf_Condition) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.questTemplateID, .questTemplateID): return { + guard case .questTemplateID(let l) = lhs, case .questTemplateID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.level, .level): return { + guard case .level(let l) = lhs, case .level(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.medal, .medal): return { + guard case .medal(let l) = lhs, case .medal(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.quests, .quests): return { + guard case .quests(let l) = lhs, case .quests(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.monthYearBucket, .monthYearBucket): return { + guard case .monthYearBucket(let l) = lhs, case .monthYearBucket(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.group, .group): return { + guard case .group(let l) = lhs, case .group(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.storyLine, .storyLine): return { + guard case .storyLine(let l) = lhs, case .storyLine(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.team, .team): return { + guard case .team(let l) = lhs, case .team(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum Operator: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetOperator // = 0 + case equals // = 1 + case greaterThan // = 2 + case lessThan // = 3 + case notEquals // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetOperator + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetOperator + case 1: self = .equals + case 2: self = .greaterThan + case 3: self = .lessThan + case 4: self = .notEquals + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetOperator: return 0 + case .equals: return 1 + case .greaterThan: return 2 + case .lessThan: return 3 + case .notEquals: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum QuestPreconditionType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case questPreconditionUnsetQuestpreconditiontype // = 0 + case questPreconditionQuest // = 1 + case questPreconditionLevel // = 2 + case questPreconditionMedal // = 3 + case questPreconditionIsMinor // = 4 + case questPreconditionExclusiveQuests // = 5 + case questPreconditionNever // = 6 + case questPreconditionReceivedAnyListedQuest // = 7 + case questPreconditionMonthYearBucket // = 8 + case questPreconditionExclusiveInProgressGroup // = 9 + case questPreconditionStorylineProgress // = 10 + case questPreconditionTeam // = 11 + case UNRECOGNIZED(Int) + + public init() { + self = .questPreconditionUnsetQuestpreconditiontype + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .questPreconditionUnsetQuestpreconditiontype + case 1: self = .questPreconditionQuest + case 2: self = .questPreconditionLevel + case 3: self = .questPreconditionMedal + case 4: self = .questPreconditionIsMinor + case 5: self = .questPreconditionExclusiveQuests + case 6: self = .questPreconditionNever + case 7: self = .questPreconditionReceivedAnyListedQuest + case 8: self = .questPreconditionMonthYearBucket + case 9: self = .questPreconditionExclusiveInProgressGroup + case 10: self = .questPreconditionStorylineProgress + case 11: self = .questPreconditionTeam + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .questPreconditionUnsetQuestpreconditiontype: return 0 + case .questPreconditionQuest: return 1 + case .questPreconditionLevel: return 2 + case .questPreconditionMedal: return 3 + case .questPreconditionIsMinor: return 4 + case .questPreconditionExclusiveQuests: return 5 + case .questPreconditionNever: return 6 + case .questPreconditionReceivedAnyListedQuest: return 7 + case .questPreconditionMonthYearBucket: return 8 + case .questPreconditionExclusiveInProgressGroup: return 9 + case .questPreconditionStorylineProgress: return 10 + case .questPreconditionTeam: return 11 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct Group { + // 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. + + public var name: QuestPreconditionProto.Group.Name = .unsetName + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Name: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetName // = 0 + case giovanni // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetName + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetName + case 1: self = .giovanni + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetName: return 0 + case .giovanni: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public struct Level { + // 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. + + public var `operator`: QuestPreconditionProto.Operator = .unsetOperator + + public var level: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct Medal { + // 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. + + public var type: HoloBadgeType = .badgeUnset + + public var `operator`: QuestPreconditionProto.Operator = .unsetOperator + + public var badgeRank: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct MonthYearBucket { + // 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. + + public var year: Int32 = 0 + + public var month: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct Quests { + // 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. + + public var questTemplateIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct StorylineProgressConditionProto { + // 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. + + public var mandatoryQuestTemplateID: [String] = [] + + public var optionalQuestTemplateID: [String] = [] + + public var optionalQuestsCompletedMin: Int32 = 0 + + public var optionalQuestsCompletedMax: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct TeamProto { + // 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. + + public var `operator`: QuestPreconditionProto.Operator = .unsetOperator + + public var team: Team = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +#if swift(>=4.2) + +extension QuestPreconditionProto.Operator: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestPreconditionProto.Operator] = [ + .unsetOperator, + .equals, + .greaterThan, + .lessThan, + .notEquals, + ] +} + +extension QuestPreconditionProto.QuestPreconditionType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestPreconditionProto.QuestPreconditionType] = [ + .questPreconditionUnsetQuestpreconditiontype, + .questPreconditionQuest, + .questPreconditionLevel, + .questPreconditionMedal, + .questPreconditionIsMinor, + .questPreconditionExclusiveQuests, + .questPreconditionNever, + .questPreconditionReceivedAnyListedQuest, + .questPreconditionMonthYearBucket, + .questPreconditionExclusiveInProgressGroup, + .questPreconditionStorylineProgress, + .questPreconditionTeam, + ] +} + +extension QuestPreconditionProto.Group.Name: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestPreconditionProto.Group.Name] = [ + .unsetName, + .giovanni, + ] +} + +#endif // swift(>=4.2) + +public struct QuestProto { + // 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. + + public var quest: OneOf_Quest? { + get {return _storage._quest} + set {_uniqueStorage()._quest = newValue} + } + + public var dailyQuest: DailyQuestProto { + get { + if case .dailyQuest(let v)? = _storage._quest {return v} + return DailyQuestProto() + } + set {_uniqueStorage()._quest = .dailyQuest(newValue)} + } + + public var multiPart: MultiPartQuestProto { + get { + if case .multiPart(let v)? = _storage._quest {return v} + return MultiPartQuestProto() + } + set {_uniqueStorage()._quest = .multiPart(newValue)} + } + + public var catchPokemon: CatchPokemonQuestProto { + get { + if case .catchPokemon(let v)? = _storage._quest {return v} + return CatchPokemonQuestProto() + } + set {_uniqueStorage()._quest = .catchPokemon(newValue)} + } + + public var addFriend: AddFriendQuestProto { + get { + if case .addFriend(let v)? = _storage._quest {return v} + return AddFriendQuestProto() + } + set {_uniqueStorage()._quest = .addFriend(newValue)} + } + + public var tradePokemon: TradePokemonQuestProto { + get { + if case .tradePokemon(let v)? = _storage._quest {return v} + return TradePokemonQuestProto() + } + set {_uniqueStorage()._quest = .tradePokemon(newValue)} + } + + public var dailyBuddyAffection: DailyBuddyAffectionQuestProto { + get { + if case .dailyBuddyAffection(let v)? = _storage._quest {return v} + return DailyBuddyAffectionQuestProto() + } + set {_uniqueStorage()._quest = .dailyBuddyAffection(newValue)} + } + + public var questWalk: QuestWalkProto { + get { + if case .questWalk(let v)? = _storage._quest {return v} + return QuestWalkProto() + } + set {_uniqueStorage()._quest = .questWalk(newValue)} + } + + public var evolveIntoPokemon: EvolveIntoPokemonQuestProto { + get { + if case .evolveIntoPokemon(let v)? = _storage._quest {return v} + return EvolveIntoPokemonQuestProto() + } + set {_uniqueStorage()._quest = .evolveIntoPokemon(newValue)} + } + + public var getStardust: GetStardustQuestProto { + get { + if case .getStardust(let v)? = _storage._quest {return v} + return GetStardustQuestProto() + } + set {_uniqueStorage()._quest = .getStardust(newValue)} + } + + public var miniCollection: MiniCollectionProto { + get { + if case .miniCollection(let v)? = _storage._quest {return v} + return MiniCollectionProto() + } + set {_uniqueStorage()._quest = .miniCollection(newValue)} + } + + public var geotargetedQuest: GeotargetedQuestProto { + get { + if case .geotargetedQuest(let v)? = _storage._quest {return v} + return GeotargetedQuestProto() + } + set {_uniqueStorage()._quest = .geotargetedQuest(newValue)} + } + + public var buddyEvolutionWalk: BuddyEvolutionWalkQuestProto { + get { + if case .buddyEvolutionWalk(let v)? = _storage._quest {return v} + return BuddyEvolutionWalkQuestProto() + } + set {_uniqueStorage()._quest = .buddyEvolutionWalk(newValue)} + } + + public var battle: BattleQuestProto { + get { + if case .battle(let v)? = _storage._quest {return v} + return BattleQuestProto() + } + set {_uniqueStorage()._quest = .battle(newValue)} + } + + public var takeSnapshot: TakeSnapshotQuestProto { + get { + if case .takeSnapshot(let v)? = _storage._quest {return v} + return TakeSnapshotQuestProto() + } + set {_uniqueStorage()._quest = .takeSnapshot(newValue)} + } + + public var submitSleepRecords: SubmitSleepRecordsQuestProto { + get { + if case .submitSleepRecords(let v)? = _storage._quest {return v} + return SubmitSleepRecordsQuestProto() + } + set {_uniqueStorage()._quest = .submitSleepRecords(newValue)} + } + + public var travelRoute: TravelRouteQuestProto { + get { + if case .travelRoute(let v)? = _storage._quest {return v} + return TravelRouteQuestProto() + } + set {_uniqueStorage()._quest = .travelRoute(newValue)} + } + + public var spinPokestop: SpinPokestopQuestProto { + get { + if case .spinPokestop(let v)? = _storage._quest {return v} + return SpinPokestopQuestProto() + } + set {_uniqueStorage()._quest = .spinPokestop(newValue)} + } + + public var questType: QuestType { + get {return _storage._questType} + set {_uniqueStorage()._questType = newValue} + } + + public var withSingleDay: WithSingleDayProto { + get {return _storage._withSingleDay ?? WithSingleDayProto()} + set {_uniqueStorage()._withSingleDay = newValue} + } + /// Returns true if `withSingleDay` has been explicitly set. + public var hasWithSingleDay: Bool {return _storage._withSingleDay != nil} + /// Clears the value of `withSingleDay`. Subsequent reads from it will return its default value. + public mutating func clearWithSingleDay() {_uniqueStorage()._withSingleDay = nil} + + public var daysInArow: DaysWithARowQuestProto { + get {return _storage._daysInArow ?? DaysWithARowQuestProto()} + set {_uniqueStorage()._daysInArow = newValue} + } + /// Returns true if `daysInArow` has been explicitly set. + public var hasDaysInArow: Bool {return _storage._daysInArow != nil} + /// Clears the value of `daysInArow`. Subsequent reads from it will return its default value. + public mutating func clearDaysInArow() {_uniqueStorage()._daysInArow = nil} + + public var questID: String { + get {return _storage._questID} + set {_uniqueStorage()._questID = newValue} + } + + public var questSeed: Int64 { + get {return _storage._questSeed} + set {_uniqueStorage()._questSeed = newValue} + } + + public var questContext: QuestProto.Context { + get {return _storage._questContext} + set {_uniqueStorage()._questContext = newValue} + } + + public var templateID: String { + get {return _storage._templateID} + set {_uniqueStorage()._templateID = newValue} + } + + public var progress: Int32 { + get {return _storage._progress} + set {_uniqueStorage()._progress = newValue} + } + + public var goal: QuestGoalProto { + get {return _storage._goal ?? QuestGoalProto()} + set {_uniqueStorage()._goal = newValue} + } + /// Returns true if `goal` has been explicitly set. + public var hasGoal: Bool {return _storage._goal != nil} + /// Clears the value of `goal`. Subsequent reads from it will return its default value. + public mutating func clearGoal() {_uniqueStorage()._goal = nil} + + public var status: QuestProto.Status { + get {return _storage._status} + set {_uniqueStorage()._status = newValue} + } + + public var questRewards: [QuestRewardProto] { + get {return _storage._questRewards} + set {_uniqueStorage()._questRewards = newValue} + } + + public var creationTimestampMs: Int64 { + get {return _storage._creationTimestampMs} + set {_uniqueStorage()._creationTimestampMs = newValue} + } + + public var lastUpdateTimestampMs: Int64 { + get {return _storage._lastUpdateTimestampMs} + set {_uniqueStorage()._lastUpdateTimestampMs = newValue} + } + + public var completionTimestampMs: Int64 { + get {return _storage._completionTimestampMs} + set {_uniqueStorage()._completionTimestampMs = newValue} + } + + public var fortID: String { + get {return _storage._fortID} + set {_uniqueStorage()._fortID = newValue} + } + + public var adminGenerated: Bool { + get {return _storage._adminGenerated} + set {_uniqueStorage()._adminGenerated = newValue} + } + + public var stampCountOverrideEnabled: Bool { + get {return _storage._stampCountOverrideEnabled} + set {_uniqueStorage()._stampCountOverrideEnabled = newValue} + } + + public var stampCountOverride: Int32 { + get {return _storage._stampCountOverride} + set {_uniqueStorage()._stampCountOverride = newValue} + } + + public var s2CellID: Int64 { + get {return _storage._s2CellID} + set {_uniqueStorage()._s2CellID = newValue} + } + + public var storyQuestTemplateVersion: Int32 { + get {return _storage._storyQuestTemplateVersion} + set {_uniqueStorage()._storyQuestTemplateVersion = newValue} + } + + public var dailyCounter: DailyCounterProto { + get {return _storage._dailyCounter ?? DailyCounterProto()} + set {_uniqueStorage()._dailyCounter = newValue} + } + /// Returns true if `dailyCounter` has been explicitly set. + public var hasDailyCounter: Bool {return _storage._dailyCounter != nil} + /// Clears the value of `dailyCounter`. Subsequent reads from it will return its default value. + public mutating func clearDailyCounter() {_uniqueStorage()._dailyCounter = nil} + + public var rewardPokemonIconURL: String { + get {return _storage._rewardPokemonIconURL} + set {_uniqueStorage()._rewardPokemonIconURL = newValue} + } + + public var endTimestampMs: Int64 { + get {return _storage._endTimestampMs} + set {_uniqueStorage()._endTimestampMs = newValue} + } + + public var isBonusChallenge: Bool { + get {return _storage._isBonusChallenge} + set {_uniqueStorage()._isBonusChallenge = newValue} + } + + public var referralInfo: QuestProto.ReferralInfoProto { + get {return _storage._referralInfo ?? QuestProto.ReferralInfoProto()} + set {_uniqueStorage()._referralInfo = newValue} + } + /// Returns true if `referralInfo` has been explicitly set. + public var hasReferralInfo: Bool {return _storage._referralInfo != nil} + /// Clears the value of `referralInfo`. Subsequent reads from it will return its default value. + public mutating func clearReferralInfo() {_uniqueStorage()._referralInfo = nil} + + public var branchRewards: [QuestBranchRewardProto] { + get {return _storage._branchRewards} + set {_uniqueStorage()._branchRewards = newValue} + } + + public var dialogRead: Bool { + get {return _storage._dialogRead} + set {_uniqueStorage()._dialogRead = newValue} + } + + public var startTimestampMs: Int64 { + get {return _storage._startTimestampMs} + set {_uniqueStorage()._startTimestampMs = newValue} + } + + public var withTotalDays: WithTotalDaysProto { + get {return _storage._withTotalDays ?? WithTotalDaysProto()} + set {_uniqueStorage()._withTotalDays = newValue} + } + /// Returns true if `withTotalDays` has been explicitly set. + public var hasWithTotalDays: Bool {return _storage._withTotalDays != nil} + /// Clears the value of `withTotalDays`. Subsequent reads from it will return its default value. + public mutating func clearWithTotalDays() {_uniqueStorage()._withTotalDays = nil} + + public var phaseNumber: Int32 { + get {return _storage._phaseNumber} + set {_uniqueStorage()._phaseNumber = newValue} + } + + public var difficulty: QuestProto.Difficulty { + get {return _storage._difficulty} + set {_uniqueStorage()._difficulty = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Quest: Equatable { + case dailyQuest(DailyQuestProto) + case multiPart(MultiPartQuestProto) + case catchPokemon(CatchPokemonQuestProto) + case addFriend(AddFriendQuestProto) + case tradePokemon(TradePokemonQuestProto) + case dailyBuddyAffection(DailyBuddyAffectionQuestProto) + case questWalk(QuestWalkProto) + case evolveIntoPokemon(EvolveIntoPokemonQuestProto) + case getStardust(GetStardustQuestProto) + case miniCollection(MiniCollectionProto) + case geotargetedQuest(GeotargetedQuestProto) + case buddyEvolutionWalk(BuddyEvolutionWalkQuestProto) + case battle(BattleQuestProto) + case takeSnapshot(TakeSnapshotQuestProto) + case submitSleepRecords(SubmitSleepRecordsQuestProto) + case travelRoute(TravelRouteQuestProto) + case spinPokestop(SpinPokestopQuestProto) + + #if !swift(>=4.1) + public static func ==(lhs: QuestProto.OneOf_Quest, rhs: QuestProto.OneOf_Quest) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.dailyQuest, .dailyQuest): return { + guard case .dailyQuest(let l) = lhs, case .dailyQuest(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.multiPart, .multiPart): return { + guard case .multiPart(let l) = lhs, case .multiPart(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.catchPokemon, .catchPokemon): return { + guard case .catchPokemon(let l) = lhs, case .catchPokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.addFriend, .addFriend): return { + guard case .addFriend(let l) = lhs, case .addFriend(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.tradePokemon, .tradePokemon): return { + guard case .tradePokemon(let l) = lhs, case .tradePokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.dailyBuddyAffection, .dailyBuddyAffection): return { + guard case .dailyBuddyAffection(let l) = lhs, case .dailyBuddyAffection(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.questWalk, .questWalk): return { + guard case .questWalk(let l) = lhs, case .questWalk(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.evolveIntoPokemon, .evolveIntoPokemon): return { + guard case .evolveIntoPokemon(let l) = lhs, case .evolveIntoPokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getStardust, .getStardust): return { + guard case .getStardust(let l) = lhs, case .getStardust(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.miniCollection, .miniCollection): return { + guard case .miniCollection(let l) = lhs, case .miniCollection(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.geotargetedQuest, .geotargetedQuest): return { + guard case .geotargetedQuest(let l) = lhs, case .geotargetedQuest(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.buddyEvolutionWalk, .buddyEvolutionWalk): return { + guard case .buddyEvolutionWalk(let l) = lhs, case .buddyEvolutionWalk(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.battle, .battle): return { + guard case .battle(let l) = lhs, case .battle(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.takeSnapshot, .takeSnapshot): return { + guard case .takeSnapshot(let l) = lhs, case .takeSnapshot(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.submitSleepRecords, .submitSleepRecords): return { + guard case .submitSleepRecords(let l) = lhs, case .submitSleepRecords(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.travelRoute, .travelRoute): return { + guard case .travelRoute(let l) = lhs, case .travelRoute(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.spinPokestop, .spinPokestop): return { + guard case .spinPokestop(let l) = lhs, case .spinPokestop(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum Context: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case storyQuest // = 1 + case challengeQuest // = 2 + case dailyCoinQuest // = 3 + case timedStoryQuest // = 4 + case nonNarrativeStoryQuest // = 5 + case levelUpQuest // = 6 + case tgcTrackingQuest // = 7 + case evolutionQuest // = 8 + case timedMiniCollectionQuest // = 9 + case referralQuest // = 10 + case branchingQuest // = 11 + case partyQuest // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .storyQuest + case 2: self = .challengeQuest + case 3: self = .dailyCoinQuest + case 4: self = .timedStoryQuest + case 5: self = .nonNarrativeStoryQuest + case 6: self = .levelUpQuest + case 7: self = .tgcTrackingQuest + case 8: self = .evolutionQuest + case 9: self = .timedMiniCollectionQuest + case 10: self = .referralQuest + case 11: self = .branchingQuest + case 12: self = .partyQuest + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .storyQuest: return 1 + case .challengeQuest: return 2 + case .dailyCoinQuest: return 3 + case .timedStoryQuest: return 4 + case .nonNarrativeStoryQuest: return 5 + case .levelUpQuest: return 6 + case .tgcTrackingQuest: return 7 + case .evolutionQuest: return 8 + case .timedMiniCollectionQuest: return 9 + case .referralQuest: return 10 + case .branchingQuest: return 11 + case .partyQuest: return 12 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum Difficulty: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case veryEasy // = 1 + case easy // = 2 + case normal // = 3 + case hard // = 4 + case veryHard // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .undefined + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .veryEasy + case 2: self = .easy + case 3: self = .normal + case 4: self = .hard + case 5: self = .veryHard + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .veryEasy: return 1 + case .easy: return 2 + case .normal: return 3 + case .hard: return 4 + case .veryHard: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case active // = 1 + case completed // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .undefined + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .active + case 2: self = .completed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .active: return 1 + case .completed: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct ReferralInfoProto { + // 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. + + public var referrerID: String = String() + + public var completionMessageSent: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension QuestProto.Context: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestProto.Context] = [ + .unset, + .storyQuest, + .challengeQuest, + .dailyCoinQuest, + .timedStoryQuest, + .nonNarrativeStoryQuest, + .levelUpQuest, + .tgcTrackingQuest, + .evolutionQuest, + .timedMiniCollectionQuest, + .referralQuest, + .branchingQuest, + .partyQuest, + ] +} + +extension QuestProto.Difficulty: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestProto.Difficulty] = [ + .undefined, + .veryEasy, + .easy, + .normal, + .hard, + .veryHard, + ] +} + +extension QuestProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestProto.Status] = [ + .undefined, + .active, + .completed, + ] +} + +#endif // swift(>=4.2) + +public struct QuestRewardProto { + // 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. + + public var reward: QuestRewardProto.OneOf_Reward? = nil + + public var exp: Int32 { + get { + if case .exp(let v)? = reward {return v} + return 0 + } + set {reward = .exp(newValue)} + } + + public var item: ItemRewardProto { + get { + if case .item(let v)? = reward {return v} + return ItemRewardProto() + } + set {reward = .item(newValue)} + } + + public var stardust: Int32 { + get { + if case .stardust(let v)? = reward {return v} + return 0 + } + set {reward = .stardust(newValue)} + } + + public var candy: PokemonCandyRewardProto { + get { + if case .candy(let v)? = reward {return v} + return PokemonCandyRewardProto() + } + set {reward = .candy(newValue)} + } + + public var avatarTemplateID: String { + get { + if case .avatarTemplateID(let v)? = reward {return v} + return String() + } + set {reward = .avatarTemplateID(newValue)} + } + + public var questTemplateID: String { + get { + if case .questTemplateID(let v)? = reward {return v} + return String() + } + set {reward = .questTemplateID(newValue)} + } + + public var pokemonEncounter: PokemonEncounterRewardProto { + get { + if case .pokemonEncounter(let v)? = reward {return v} + return PokemonEncounterRewardProto() + } + set {reward = .pokemonEncounter(newValue)} + } + + public var pokecoin: Int32 { + get { + if case .pokecoin(let v)? = reward {return v} + return 0 + } + set {reward = .pokecoin(newValue)} + } + + public var xlCandy: PokemonCandyRewardProto { + get { + if case .xlCandy(let v)? = reward {return v} + return PokemonCandyRewardProto() + } + set {reward = .xlCandy(newValue)} + } + + public var levelCap: Int32 { + get { + if case .levelCap(let v)? = reward {return v} + return 0 + } + set {reward = .levelCap(newValue)} + } + + public var sticker: StickerRewardProto { + get { + if case .sticker(let v)? = reward {return v} + return StickerRewardProto() + } + set {reward = .sticker(newValue)} + } + + public var megaResource: PokemonCandyRewardProto { + get { + if case .megaResource(let v)? = reward {return v} + return PokemonCandyRewardProto() + } + set {reward = .megaResource(newValue)} + } + + public var incident: IncidentRewardProto { + get { + if case .incident(let v)? = reward {return v} + return IncidentRewardProto() + } + set {reward = .incident(newValue)} + } + + public var playerAttribute: PlayerAttributeRewardProto { + get { + if case .playerAttribute(let v)? = reward {return v} + return PlayerAttributeRewardProto() + } + set {reward = .playerAttribute(newValue)} + } + + public var eventBadgeID: HoloBadgeType { + get { + if case .eventBadgeID(let v)? = reward {return v} + return .badgeUnset + } + set {reward = .eventBadgeID(newValue)} + } + + public var type: QuestRewardProto.TypeEnum = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Reward: Equatable { + case exp(Int32) + case item(ItemRewardProto) + case stardust(Int32) + case candy(PokemonCandyRewardProto) + case avatarTemplateID(String) + case questTemplateID(String) + case pokemonEncounter(PokemonEncounterRewardProto) + case pokecoin(Int32) + case xlCandy(PokemonCandyRewardProto) + case levelCap(Int32) + case sticker(StickerRewardProto) + case megaResource(PokemonCandyRewardProto) + case incident(IncidentRewardProto) + case playerAttribute(PlayerAttributeRewardProto) + case eventBadgeID(HoloBadgeType) + + #if !swift(>=4.1) + public static func ==(lhs: QuestRewardProto.OneOf_Reward, rhs: QuestRewardProto.OneOf_Reward) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.exp, .exp): return { + guard case .exp(let l) = lhs, case .exp(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.item, .item): return { + guard case .item(let l) = lhs, case .item(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.stardust, .stardust): return { + guard case .stardust(let l) = lhs, case .stardust(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.candy, .candy): return { + guard case .candy(let l) = lhs, case .candy(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.avatarTemplateID, .avatarTemplateID): return { + guard case .avatarTemplateID(let l) = lhs, case .avatarTemplateID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.questTemplateID, .questTemplateID): return { + guard case .questTemplateID(let l) = lhs, case .questTemplateID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonEncounter, .pokemonEncounter): return { + guard case .pokemonEncounter(let l) = lhs, case .pokemonEncounter(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokecoin, .pokecoin): return { + guard case .pokecoin(let l) = lhs, case .pokecoin(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.xlCandy, .xlCandy): return { + guard case .xlCandy(let l) = lhs, case .xlCandy(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.levelCap, .levelCap): return { + guard case .levelCap(let l) = lhs, case .levelCap(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.sticker, .sticker): return { + guard case .sticker(let l) = lhs, case .sticker(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.megaResource, .megaResource): return { + guard case .megaResource(let l) = lhs, case .megaResource(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.incident, .incident): return { + guard case .incident(let l) = lhs, case .incident(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.playerAttribute, .playerAttribute): return { + guard case .playerAttribute(let l) = lhs, case .playerAttribute(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.eventBadgeID, .eventBadgeID): return { + guard case .eventBadgeID(let l) = lhs, case .eventBadgeID(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum TypeEnum: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case experience // = 1 + case item // = 2 + case stardust // = 3 + case candy // = 4 + case avatarClothing // = 5 + case quest // = 6 + case pokemonEncounter // = 7 + case pokecoin // = 8 + case xlCandy // = 9 + case levelCap // = 10 + case sticker // = 11 + case megaResource // = 12 + case incident // = 13 + case playerAttribute // = 14 + case eventBadge // = 15 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .experience + case 2: self = .item + case 3: self = .stardust + case 4: self = .candy + case 5: self = .avatarClothing + case 6: self = .quest + case 7: self = .pokemonEncounter + case 8: self = .pokecoin + case 9: self = .xlCandy + case 10: self = .levelCap + case 11: self = .sticker + case 12: self = .megaResource + case 13: self = .incident + case 14: self = .playerAttribute + case 15: self = .eventBadge + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .experience: return 1 + case .item: return 2 + case .stardust: return 3 + case .candy: return 4 + case .avatarClothing: return 5 + case .quest: return 6 + case .pokemonEncounter: return 7 + case .pokecoin: return 8 + case .xlCandy: return 9 + case .levelCap: return 10 + case .sticker: return 11 + case .megaResource: return 12 + case .incident: return 13 + case .playerAttribute: return 14 + case .eventBadge: return 15 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension QuestRewardProto.TypeEnum: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuestRewardProto.TypeEnum] = [ + .unset, + .experience, + .item, + .stardust, + .candy, + .avatarClothing, + .quest, + .pokemonEncounter, + .pokecoin, + .xlCandy, + .levelCap, + .sticker, + .megaResource, + .incident, + .playerAttribute, + .eventBadge, + ] +} + +#endif // swift(>=4.2) + +public struct QuestSettingsProto { + // 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. + + public var questType: QuestType = .questUnset + + public var dailyQuest: DailyQuestSettings { + get {return _dailyQuest ?? DailyQuestSettings()} + set {_dailyQuest = newValue} + } + /// Returns true if `dailyQuest` has been explicitly set. + public var hasDailyQuest: Bool {return self._dailyQuest != nil} + /// Clears the value of `dailyQuest`. Subsequent reads from it will return its default value. + public mutating func clearDailyQuest() {self._dailyQuest = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _dailyQuest: DailyQuestSettings? = nil +} + +public struct QuestStampCardProto { + // 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. + + public var stamp: [QuestStampProto] = [] + + public var target: Int32 = 0 + + public var remainingDailyStamps: Int32 = 0 + + public var id: String = String() + + public var iconURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestStampProto { + // 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. + + public var context: QuestProto.Context = .unset + + public var timestampMs: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestWalkProto { + // 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. + + public var questStartKmWalked: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuestsProto { + // 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. + + public var quest: [QuestProto] = [] + + public var completedStoryQuest: [String] = [] + + public var questPokemonEncounter: [QuestPokemonEncounterProto] = [] + + public var stampCard: QuestStampCardProto { + get {return _stampCard ?? QuestStampCardProto()} + set {_stampCard = newValue} + } + /// Returns true if `stampCard` has been explicitly set. + public var hasStampCard: Bool {return self._stampCard != nil} + /// Clears the value of `stampCard`. Subsequent reads from it will return its default value. + public mutating func clearStampCard() {self._stampCard = nil} + + public var questIncident: [QuestIncidentProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _stampCard: QuestStampCardProto? = nil +} + +public struct QuitCombatData { + // 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. + + public var rpcID: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuitCombatOutProto { + // 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. + + public var result: QuitCombatOutProto.Result = .unset + + public var combat: CombatProto { + get {return _combat ?? CombatProto()} + set {_combat = newValue} + } + /// Returns true if `combat` has been explicitly set. + public var hasCombat: Bool {return self._combat != nil} + /// Clears the value of `combat`. Subsequent reads from it will return its default value. + public mutating func clearCombat() {self._combat = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorCombatNotFound // = 2 + case errorInvalidCombatState // = 3 + case errorPlayerNotInCombat // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorCombatNotFound + case 3: self = .errorInvalidCombatState + case 4: self = .errorPlayerNotInCombat + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorCombatNotFound: return 2 + case .errorInvalidCombatState: return 3 + case .errorPlayerNotInCombat: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _combat: CombatProto? = nil +} + +#if swift(>=4.2) + +extension QuitCombatOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [QuitCombatOutProto.Result] = [ + .unset, + .success, + .errorCombatNotFound, + .errorInvalidCombatState, + .errorPlayerNotInCombat, + ] +} + +#endif // swift(>=4.2) + +public struct QuitCombatProto { + // 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. + + public var combatID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct QuitCombatResponseData { + // 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. + + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 + + public var quitCombatOutProto: QuitCombatOutProto { + get {return _quitCombatOutProto ?? QuitCombatOutProto()} + set {_quitCombatOutProto = newValue} + } + /// Returns true if `quitCombatOutProto` has been explicitly set. + public var hasQuitCombatOutProto: Bool {return self._quitCombatOutProto != nil} + /// Clears the value of `quitCombatOutProto`. Subsequent reads from it will return its default value. + public mutating func clearQuitCombatOutProto() {self._quitCombatOutProto = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _quitCombatOutProto: QuitCombatOutProto? = nil +} + +public struct RaidClientLog { + // 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. + + public var header: RaidLogHeader { + get {return _header ?? RaidLogHeader()} + set {_header = newValue} + } + /// Returns true if `header` has been explicitly set. + public var hasHeader: Bool {return self._header != nil} + /// Clears the value of `header`. Subsequent reads from it will return its default value. + public mutating func clearHeader() {self._header = nil} + + public var entries: [LogEntry] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _header: RaidLogHeader? = nil +} + +public struct RaidClientSettingsProto { + // 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. + + public var remoteRaidEnabled: Bool { + get {return _storage._remoteRaidEnabled} + set {_uniqueStorage()._remoteRaidEnabled = newValue} + } + + public var maxRemoteRaidPasses: Int32 { + get {return _storage._maxRemoteRaidPasses} + set {_uniqueStorage()._maxRemoteRaidPasses = newValue} + } + + public var remoteDamageModifier: Float { + get {return _storage._remoteDamageModifier} + set {_uniqueStorage()._remoteDamageModifier = newValue} + } + + public var remoteRaidsMinPlayerLevel: Int32 { + get {return _storage._remoteRaidsMinPlayerLevel} + set {_uniqueStorage()._remoteRaidsMinPlayerLevel = newValue} + } + + public var maxNumFriendInvites: Int32 { + get {return _storage._maxNumFriendInvites} + set {_uniqueStorage()._maxNumFriendInvites = newValue} + } + + public var friendInviteCutoffTimeSec: Int32 { + get {return _storage._friendInviteCutoffTimeSec} + set {_uniqueStorage()._friendInviteCutoffTimeSec = newValue} + } + + public var canInviteFriendsInPerson: Bool { + get {return _storage._canInviteFriendsInPerson} + set {_uniqueStorage()._canInviteFriendsInPerson = newValue} + } + + public var canInviteFriendsRemotely: Bool { + get {return _storage._canInviteFriendsRemotely} + set {_uniqueStorage()._canInviteFriendsRemotely = newValue} + } + + public var maxPlayersPerLobby: Int32 { + get {return _storage._maxPlayersPerLobby} + set {_uniqueStorage()._maxPlayersPerLobby = newValue} + } + + public var maxRemotePlayersPerLobby: Int32 { + get {return _storage._maxRemotePlayersPerLobby} + set {_uniqueStorage()._maxRemotePlayersPerLobby = newValue} + } + + public var inviteCooldownDurationMillis: Int64 { + get {return _storage._inviteCooldownDurationMillis} + set {_uniqueStorage()._inviteCooldownDurationMillis = newValue} + } + + public var maxNumFriendInvitesPerAction: Int32 { + get {return _storage._maxNumFriendInvitesPerAction} + set {_uniqueStorage()._maxNumFriendInvitesPerAction = newValue} + } + + public var unsupportedRaidLevelsForFriendInvites: [RaidLevel] { + get {return _storage._unsupportedRaidLevelsForFriendInvites} + set {_uniqueStorage()._unsupportedRaidLevelsForFriendInvites = newValue} + } + + public var unsupportedRemoteRaidLevels: [RaidLevel] { + get {return _storage._unsupportedRemoteRaidLevels} + set {_uniqueStorage()._unsupportedRemoteRaidLevels = newValue} + } + + public var isNearbyRaidNotificationDisabled: Bool { + get {return _storage._isNearbyRaidNotificationDisabled} + set {_uniqueStorage()._isNearbyRaidNotificationDisabled = newValue} + } + + public var remoteRaidIapPromptSkus: [String] { + get {return _storage._remoteRaidIapPromptSkus} + set {_uniqueStorage()._remoteRaidIapPromptSkus = newValue} + } + + public var raidLevelMusicOverrides: [RaidMusicOverrideConfig] { + get {return _storage._raidLevelMusicOverrides} + set {_uniqueStorage()._raidLevelMusicOverrides = newValue} + } + + public var raidFeatureFlags: RaidFeatureFlags { + get {return _storage._raidFeatureFlags ?? RaidFeatureFlags()} + set {_uniqueStorage()._raidFeatureFlags = newValue} + } + /// Returns true if `raidFeatureFlags` has been explicitly set. + public var hasRaidFeatureFlags: Bool {return _storage._raidFeatureFlags != nil} + /// Clears the value of `raidFeatureFlags`. Subsequent reads from it will return its default value. + public mutating func clearRaidFeatureFlags() {_uniqueStorage()._raidFeatureFlags = nil} + + public var bootRaidEnabled: Bool { + get {return _storage._bootRaidEnabled} + set {_uniqueStorage()._bootRaidEnabled = newValue} + } + + public var friendRequestsEnabled: Bool { + get {return _storage._friendRequestsEnabled} + set {_uniqueStorage()._friendRequestsEnabled = newValue} + } + + public var remoteRaidDistanceValidation: Bool { + get {return _storage._remoteRaidDistanceValidation} + set {_uniqueStorage()._remoteRaidDistanceValidation = newValue} + } + + public var popupTimeMs: Int32 { + get {return _storage._popupTimeMs} + set {_uniqueStorage()._popupTimeMs = newValue} + } + + public var failedFriendInviteInfoEnabled: Bool { + get {return _storage._failedFriendInviteInfoEnabled} + set {_uniqueStorage()._failedFriendInviteInfoEnabled = newValue} + } + + public var minPlayersToBoot: Int32 { + get {return _storage._minPlayersToBoot} + set {_uniqueStorage()._minPlayersToBoot = newValue} + } + + public var bootCutoffMs: Int32 { + get {return _storage._bootCutoffMs} + set {_uniqueStorage()._bootCutoffMs = newValue} + } + + public var bootSoloMs: Int32 { + get {return _storage._bootSoloMs} + set {_uniqueStorage()._bootSoloMs = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct RaidCreateDetail { + // 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. + + public var isExclusive: Bool = false + + public var isMega: Bool = false + + public var playerCapturedS2CellID: Int64 = 0 + + public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidEncounterProto { + // 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. + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var encounterID: Int64 = 0 + + public var spawnpointID: String = String() + + public var captureProbabilities: CaptureProbabilityProto { + get {return _captureProbabilities ?? CaptureProbabilityProto()} + set {_captureProbabilities = newValue} + } + /// Returns true if `captureProbabilities` has been explicitly set. + public var hasCaptureProbabilities: Bool {return self._captureProbabilities != nil} + /// Clears the value of `captureProbabilities`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbabilities() {self._captureProbabilities = nil} + + public var throwsRemaining: Int32 = 0 + + public var raidLevel: RaidLevel = .unset + + public var fortID: String = String() + + public var isEventLegendary: Bool = false + + public var raidBall: Item = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbabilities: CaptureProbabilityProto? = nil +} + +public struct RaidEndData { + // 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. + + public var type: RaidEndData.TypeEnum = .noEnd + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum TypeEnum: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noEnd // = 0 + case leaveLobby // = 1 + case timeOut // = 2 + case encounterPokemonNotCaught // = 3 + case encounterPokemonCaught // = 4 + case withError // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .noEnd + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noEnd + case 1: self = .leaveLobby + case 2: self = .timeOut + case 3: self = .encounterPokemonNotCaught + case 4: self = .encounterPokemonCaught + case 5: self = .withError + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noEnd: return 0 + case .leaveLobby: return 1 + case .timeOut: return 2 + case .encounterPokemonNotCaught: return 3 + case .encounterPokemonCaught: return 4 + case .withError: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RaidEndData.TypeEnum: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RaidEndData.TypeEnum] = [ + .noEnd, + .leaveLobby, + .timeOut, + .encounterPokemonNotCaught, + .encounterPokemonCaught, + .withError, + ] +} + +#endif // swift(>=4.2) + +public struct RaidFeatureFlags { + // 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. + + public var useCachedRaidBossPokemon: Bool = false + + public var raidExperiment: [BattleExperiment] = [] + + public var usableItems: [ItemProto] = [] + + public var usableTrainerAbilities: [TrainerAbility] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidInfoProto { + // 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. + + public var raidSeed: Int64 { + get {return _storage._raidSeed} + set {_uniqueStorage()._raidSeed = newValue} + } + + public var raidSpawnMs: Int64 { + get {return _storage._raidSpawnMs} + set {_uniqueStorage()._raidSpawnMs = newValue} + } + + public var raidBattleMs: Int64 { + get {return _storage._raidBattleMs} + set {_uniqueStorage()._raidBattleMs = newValue} + } + + public var raidEndMs: Int64 { + get {return _storage._raidEndMs} + set {_uniqueStorage()._raidEndMs = newValue} + } + + public var raidPokemon: PokemonProto { + get {return _storage._raidPokemon ?? PokemonProto()} + set {_uniqueStorage()._raidPokemon = newValue} + } + /// Returns true if `raidPokemon` has been explicitly set. + public var hasRaidPokemon: Bool {return _storage._raidPokemon != nil} + /// Clears the value of `raidPokemon`. Subsequent reads from it will return its default value. + public mutating func clearRaidPokemon() {_uniqueStorage()._raidPokemon = nil} + + public var raidLevel: RaidLevel { + get {return _storage._raidLevel} + set {_uniqueStorage()._raidLevel = newValue} + } + + public var complete: Bool { + get {return _storage._complete} + set {_uniqueStorage()._complete = newValue} + } + + public var isRaidHidden: Bool { + get {return _storage._isRaidHidden} + set {_uniqueStorage()._isRaidHidden = newValue} + } + + public var isScheduledRaid: Bool { + get {return _storage._isScheduledRaid} + set {_uniqueStorage()._isScheduledRaid = newValue} + } + + public var isFree: Bool { + get {return _storage._isFree} + set {_uniqueStorage()._isFree = newValue} + } + + public var campaignID: String { + get {return _storage._campaignID} + set {_uniqueStorage()._campaignID = newValue} + } + + public var raidBall: Item { + get {return _storage._raidBall} + set {_uniqueStorage()._raidBall = newValue} + } + + public var visualEffects: [RaidVisualEffect] { + get {return _storage._visualEffects} + set {_uniqueStorage()._visualEffects = newValue} + } + + public var raidVisualLevel: Int64 { + get {return _storage._raidVisualLevel} + set {_uniqueStorage()._raidVisualLevel = newValue} + } + + public var raidVisualPlaqueType: RaidVisualType { + get {return _storage._raidVisualPlaqueType} + set {_uniqueStorage()._raidVisualPlaqueType = newValue} + } + + public var raidPlaquePipStyle: RaidPlaquePipStyle { + get {return _storage._raidPlaquePipStyle} + set {_uniqueStorage()._raidPlaquePipStyle = newValue} + } + + public var mascotCharacter: EnumWrapper.InvasionCharacter { + get {return _storage._mascotCharacter} + set {_uniqueStorage()._mascotCharacter = newValue} + } + + public var bootRaidEnabled: Bool { + get {return _storage._bootRaidEnabled} + set {_uniqueStorage()._bootRaidEnabled = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct RaidInvitationDetails { + // 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. + + public var gymID: String { + get {return _storage._gymID} + set {_uniqueStorage()._gymID = newValue} + } + + public var lobbyID: [Int32] { + get {return _storage._lobbyID} + set {_uniqueStorage()._lobbyID = newValue} + } + + public var raidSeed: Int64 { + get {return _storage._raidSeed} + set {_uniqueStorage()._raidSeed = newValue} + } + + public var raidInvitationExpireMs: Int64 { + get {return _storage._raidInvitationExpireMs} + set {_uniqueStorage()._raidInvitationExpireMs = newValue} + } + + public var raidLevel: RaidLevel { + get {return _storage._raidLevel} + set {_uniqueStorage()._raidLevel = newValue} + } + + public var gymName: String { + get {return _storage._gymName} + set {_uniqueStorage()._gymName = newValue} + } + + public var imageURL: String { + get {return _storage._imageURL} + set {_uniqueStorage()._imageURL = newValue} + } + + public var latitude: Double { + get {return _storage._latitude} + set {_uniqueStorage()._latitude = newValue} + } + + public var longitude: Double { + get {return _storage._longitude} + set {_uniqueStorage()._longitude = newValue} + } + + public var raidPokemonID: HoloPokemonId { + get {return _storage._raidPokemonID} + set {_uniqueStorage()._raidPokemonID = newValue} + } + + public var raidPokemonForm: PokemonDisplayProto.Form { + get {return _storage._raidPokemonForm} + set {_uniqueStorage()._raidPokemonForm = newValue} + } + + public var inviterID: String { + get {return _storage._inviterID} + set {_uniqueStorage()._inviterID = newValue} + } + + public var inviterNickname: String { + get {return _storage._inviterNickname} + set {_uniqueStorage()._inviterNickname = newValue} + } + + public var inviterAvatar: PlayerAvatarProto { + get {return _storage._inviterAvatar ?? PlayerAvatarProto()} + set {_uniqueStorage()._inviterAvatar = newValue} + } + /// Returns true if `inviterAvatar` has been explicitly set. + public var hasInviterAvatar: Bool {return _storage._inviterAvatar != nil} + /// Clears the value of `inviterAvatar`. Subsequent reads from it will return its default value. + public mutating func clearInviterAvatar() {_uniqueStorage()._inviterAvatar = nil} + + public var inviterTeam: Team { + get {return _storage._inviterTeam} + set {_uniqueStorage()._inviterTeam = newValue} + } + + public var raidPokemonTempEvoID: HoloTemporaryEvolutionId { + get {return _storage._raidPokemonTempEvoID} + set {_uniqueStorage()._raidPokemonTempEvoID = newValue} + } + + public var raidPokemonCostume: PokemonDisplayProto.Costume { + get {return _storage._raidPokemonCostume} + set {_uniqueStorage()._raidPokemonCostume = newValue} + } + + public var raidVisualLevel: Int64 { + get {return _storage._raidVisualLevel} + set {_uniqueStorage()._raidVisualLevel = newValue} + } + + public var inviterNeutralAvatar: PlayerNeutralAvatarProto { + get {return _storage._inviterNeutralAvatar ?? PlayerNeutralAvatarProto()} + set {_uniqueStorage()._inviterNeutralAvatar = newValue} + } + /// Returns true if `inviterNeutralAvatar` has been explicitly set. + public var hasInviterNeutralAvatar: Bool {return _storage._inviterNeutralAvatar != nil} + /// Clears the value of `inviterNeutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearInviterNeutralAvatar() {_uniqueStorage()._inviterNeutralAvatar = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct RaidInviteFriendsSettingsProto { + // 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. + + public var raidInviteMinLevel: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidJoinInformationProto { + // 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. + + public var lobbyCreationMs: Int64 = 0 + + public var lobbyEndJoinMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidLobbyAvailabilityInformationProto { + // 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. + + public var raidLobbyUnavailable: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidLobbyCounterData { + // 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. + + public var gymID: String = String() + + public var playerCount: Int32 = 0 + + public var lobbyJoinEndMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidLobbyCounterRequest { + // 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. + + public var gymID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidLobbyCounterSettingsProto { + // 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. + + public var pollingEnabled: Bool = false + + public var pollingIntervalMs: Int32 = 0 + + public var subscribeEnabled: Bool = false + + public var publishEnabled: Bool = false + + public var mapDisplayEnabled: Bool = false + + public var nearbyDisplayEnabled: Bool = false + + public var showCounterRadiusMeters: Float = 0 + + public var subscribeS2Level: Int32 = 0 + + public var maxCountToUpdate: Int32 = 0 + + public var subscriptionNamespace: String = String() + + public var pollingRadiusMeters: Float = 0 + + public var publishCutoffTimeMs: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidLogHeader { + // 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. + + public var gymID: String = String() + + public var raidSeed: Int64 = 0 + + public var gymLatDegrees: Double = 0 + + public var gymLngDegrees: Double = 0 + + public var timeRootMs: Int64 = 0 + + public var raidBattleID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidMusicOverrideConfig { + // 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. + + public var raidLevel: RaidLevel = .unset + + public var battleMusicKey: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidParticipantProto { + // 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. + + public var activityInformation: RaidParticipantProto.OneOf_ActivityInformation? = nil + + public var joinInformation: RaidJoinInformationProto { + get { + if case .joinInformation(let v)? = activityInformation {return v} + return RaidJoinInformationProto() + } + set {activityInformation = .joinInformation(newValue)} + } + + public var lobbyAvailability: RaidLobbyAvailabilityInformationProto { + get { + if case .lobbyAvailability(let v)? = activityInformation {return v} + return RaidLobbyAvailabilityInformationProto() + } + set {activityInformation = .lobbyAvailability(newValue)} + } + + public var playerID: String = String() + + public var raidSeed: Int64 = 0 + + public var gymID: String = String() + + public var lobbyID: [Int32] = [] + + public var raidInfo: RaidInfoProto { + get {return _raidInfo ?? RaidInfoProto()} + set {_raidInfo = newValue} + } + /// Returns true if `raidInfo` has been explicitly set. + public var hasRaidInfo: Bool {return self._raidInfo != nil} + /// Clears the value of `raidInfo`. Subsequent reads from it will return its default value. + public mutating func clearRaidInfo() {self._raidInfo = nil} + + public var latitude: Double = 0 + + public var longitude: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_ActivityInformation: Equatable { + case joinInformation(RaidJoinInformationProto) + case lobbyAvailability(RaidLobbyAvailabilityInformationProto) + + #if !swift(>=4.1) + public static func ==(lhs: RaidParticipantProto.OneOf_ActivityInformation, rhs: RaidParticipantProto.OneOf_ActivityInformation) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.joinInformation, .joinInformation): return { + guard case .joinInformation(let l) = lhs, case .joinInformation(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.lobbyAvailability, .lobbyAvailability): return { + guard case .lobbyAvailability(let l) = lhs, case .lobbyAvailability(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _raidInfo: RaidInfoProto? = nil +} + +public struct RaidPlayerStatProto { + // 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. + + public var statID: RaidPlayerStatProto.StatType { + get {return _storage._statID} + set {_uniqueStorage()._statID = newValue} + } + + public var playerProfile: PlayerPublicProfileProto { + get {return _storage._playerProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._playerProfile = newValue} + } + /// Returns true if `playerProfile` has been explicitly set. + public var hasPlayerProfile: Bool {return _storage._playerProfile != nil} + /// Clears the value of `playerProfile`. Subsequent reads from it will return its default value. + public mutating func clearPlayerProfile() {_uniqueStorage()._playerProfile = nil} + + public var statValue: Double { + get {return _storage._statValue} + set {_uniqueStorage()._statValue = newValue} + } + + public var pokemon: RaidPlayerStatsPokemonProto { + get {return _storage._pokemon ?? RaidPlayerStatsPokemonProto()} + set {_uniqueStorage()._pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return _storage._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {_uniqueStorage()._pokemon = nil} + + public var featured: Bool { + get {return _storage._featured} + set {_uniqueStorage()._featured = newValue} + } + + public var attackerIndex: Int32 { + get {return _storage._attackerIndex} + set {_uniqueStorage()._attackerIndex = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum StatType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetRaidStat // = 0 + case finalStrikePlayer // = 1 + case damageDealtPlayer // = 2 + case remoteDistancePlayer // = 4 + case useMegaEvoPlayer // = 5 + case useBuddyPlayer // = 6 + case customizeAvatarPlayer // = 7 + case numFriendsInRaidPlayer // = 8 + case recentWalkingDistancePlayer // = 10 + case numChargedAttacksPlayer // = 11 + case survivalDurationPokemon // = 15 + case pokemonHeightPokemon // = 22 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetRaidStat + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetRaidStat + case 1: self = .finalStrikePlayer + case 2: self = .damageDealtPlayer + case 4: self = .remoteDistancePlayer + case 5: self = .useMegaEvoPlayer + case 6: self = .useBuddyPlayer + case 7: self = .customizeAvatarPlayer + case 8: self = .numFriendsInRaidPlayer + case 10: self = .recentWalkingDistancePlayer + case 11: self = .numChargedAttacksPlayer + case 15: self = .survivalDurationPokemon + case 22: self = .pokemonHeightPokemon + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetRaidStat: return 0 + case .finalStrikePlayer: return 1 + case .damageDealtPlayer: return 2 + case .remoteDistancePlayer: return 4 + case .useMegaEvoPlayer: return 5 + case .useBuddyPlayer: return 6 + case .customizeAvatarPlayer: return 7 + case .numFriendsInRaidPlayer: return 8 + case .recentWalkingDistancePlayer: return 10 + case .numChargedAttacksPlayer: return 11 + case .survivalDurationPokemon: return 15 + case .pokemonHeightPokemon: return 22 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension RaidPlayerStatProto.StatType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RaidPlayerStatProto.StatType] = [ + .unsetRaidStat, + .finalStrikePlayer, + .damageDealtPlayer, + .remoteDistancePlayer, + .useMegaEvoPlayer, + .useBuddyPlayer, + .customizeAvatarPlayer, + .numFriendsInRaidPlayer, + .recentWalkingDistancePlayer, + .numChargedAttacksPlayer, + .survivalDurationPokemon, + .pokemonHeightPokemon, + ] +} + +#endif // swift(>=4.2) + +public struct RaidPlayerStatsGlobalSettingsProto { + // 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. + + public var enabled: Bool = false + + public var enabledPokemon: Bool = false + + public var enabledAvatarSpin: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidPlayerStatsPokemonProto { + // 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. + + public var holoPokemonID: HoloPokemonId = .missingno + + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +} + +public struct RaidPlayerStatsProto { + // 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. + + public var stats: [RaidPlayerStatProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidProto { + // 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. + + public var raidSeed: Int64 = 0 + + public var startedMs: Int64 = 0 + + public var completedMs: Int64 = 0 + + public var encounterPokemonID: HoloPokemonId = .missingno + + public var completedBattle: Bool = false + + public var receivedRewards: Bool = false + + public var finishedEncounter: Bool = false + + public var receivedDefaultRewards: Bool = false + + public var incrementedRaidFriends: Bool = false + + public var completedBattleMs: Int64 = 0 + + public var isRemote: Bool = false + + public var rewardPokemon: PokemonProto { + get {return _rewardPokemon ?? PokemonProto()} + set {_rewardPokemon = newValue} + } + /// Returns true if `rewardPokemon` has been explicitly set. + public var hasRewardPokemon: Bool {return self._rewardPokemon != nil} + /// Clears the value of `rewardPokemon`. Subsequent reads from it will return its default value. + public mutating func clearRewardPokemon() {self._rewardPokemon = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _rewardPokemon: PokemonProto? = nil +} + +public struct RaidRewardsLogEntry { + // 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. + + public var result: RaidRewardsLogEntry.Result = .unset + + public var items: [ItemProto] = [] + + public var defaultRewards: [ItemProto] = [] + + public var stardust: Int32 = 0 + + public var stickers: [LootItemProto] = [] + + public var isMega: Bool = false + + public var megaResource: PokemonCandyRewardProto { + get {return _megaResource ?? PokemonCandyRewardProto()} + set {_megaResource = newValue} + } + /// Returns true if `megaResource` has been explicitly set. + public var hasMegaResource: Bool {return self._megaResource != nil} + /// Clears the value of `megaResource`. Subsequent reads from it will return its default value. + public mutating func clearMegaResource() {self._megaResource = nil} + + public var tempEvoRaidStatus: RaidRewardsLogEntry.TempEvoRaidStatus = .none + + public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var defenderAlignment: PokemonDisplayProto.Alignment = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum TempEvoRaidStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case none // = 0 + case isMega // = 1 + case isPrimal // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .none + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .none + case 1: self = .isMega + case 2: self = .isPrimal + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .none: return 0 + case .isMega: return 1 + case .isPrimal: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _megaResource: PokemonCandyRewardProto? = nil +} + +#if swift(>=4.2) + +extension RaidRewardsLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RaidRewardsLogEntry.Result] = [ + .unset, + .success, + ] +} + +extension RaidRewardsLogEntry.TempEvoRaidStatus: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RaidRewardsLogEntry.TempEvoRaidStatus] = [ + .none, + .isMega, + .isPrimal, + ] +} + +#endif // swift(>=4.2) + +public struct RaidTelemetry { + // 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. + + public var raidTelemetryID: RaidTelemetryIds = .undefinedRaidEvent + + public var bundleVersion: String = String() + + public var timeSinceEnterRaid: Float = 0 + + public var timeSinceLastRaidTelemetry: Float = 0 + + public var raidLevel: Int32 = 0 + + public var privateLobby: Bool = false + + public var ticketItem: String = String() + + public var numPlayersInLobby: Int32 = 0 + + public var battlePartyNumber: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidTicketProto { + // 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. + + public var ticketID: String = String() + + public var item: Item = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidTicketSettingsProto { + // 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. + + public var consumeRaidTicketUponBattleStart: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidTicketsProto { + // 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. + + public var raidTicket: [RaidTicketProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RaidVisualEffect { + // 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. + + public var effectAssetKey: String = String() + + public var startMillis: Int64 = 0 + + public var stopMillis: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RangeProto { + // 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. + + public var min: Int32 = 0 + + public var max: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RateRouteOutProto { + // 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. + + public var result: RateRouteOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorRouteNotFound // = 2 + case errorRateLimited // = 3 + case errorAlreadyRated // = 4 + case errorUnknown // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorRouteNotFound + case 3: self = .errorRateLimited + case 4: self = .errorAlreadyRated + case 5: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorRouteNotFound: return 2 + case .errorRateLimited: return 3 + case .errorAlreadyRated: return 4 + case .errorUnknown: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RateRouteOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RateRouteOutProto.Result] = [ + .unset, + .success, + .errorRouteNotFound, + .errorRateLimited, + .errorAlreadyRated, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct RateRouteProto { + // 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. + + public var starRating: Int32 = 0 + + public var routeID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ReadPointOfInterestDescriptionTelemetry { + // 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. + + public var result: String = String() + + public var fortID: String = String() + + public var fortType: Int32 = 0 + + public var partnerID: String = String() + + public var campaignID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ReadQuestDialogOutProto { + // 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. + + public var status: ReadQuestDialogOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorQuestNotFound // = 2 + case errorNoDialog // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorQuestNotFound + case 3: self = .errorNoDialog + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorQuestNotFound: return 2 + case .errorNoDialog: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ReadQuestDialogOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReadQuestDialogOutProto.Status] = [ + .unset, + .success, + .errorQuestNotFound, + .errorNoDialog, + ] +} + +#endif // swift(>=4.2) + +public struct ReadQuestDialogProto { + // 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. + + public var questID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ReassignPlayerOutProto { + // 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. + + public var result: ReassignPlayerOutProto.Result = .unset + + public var reassignedInstance: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ReassignPlayerOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReassignPlayerOutProto.Result] = [ + .unset, + .success, + ] +} + +#endif // swift(>=4.2) + +public struct ReassignPlayerProto { + // 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. + + public var currentInstance: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RecallRouteDraftOutProto { + // 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. + + public var result: RecallRouteDraftOutProto.Result = .unset + + public var recalledRoute: RouteCreationProto { + get {return _recalledRoute ?? RouteCreationProto()} + set {_recalledRoute = newValue} + } + /// Returns true if `recalledRoute` has been explicitly set. + public var hasRecalledRoute: Bool {return self._recalledRoute != nil} + /// Clears the value of `recalledRoute`. Subsequent reads from it will return its default value. + public mutating func clearRecalledRoute() {self._recalledRoute = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorInvalidRoute // = 3 + case errorModerationFailure // = 4 + case errorAlreadyRecalled // = 5 + case errorTooManyRecalls // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorInvalidRoute + case 4: self = .errorModerationFailure + case 5: self = .errorAlreadyRecalled + case 6: self = .errorTooManyRecalls + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorInvalidRoute: return 3 + case .errorModerationFailure: return 4 + case .errorAlreadyRecalled: return 5 + case .errorTooManyRecalls: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _recalledRoute: RouteCreationProto? = nil +} + +#if swift(>=4.2) + +extension RecallRouteDraftOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RecallRouteDraftOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorInvalidRoute, + .errorModerationFailure, + .errorAlreadyRecalled, + .errorTooManyRecalls, + ] +} + +#endif // swift(>=4.2) + +public struct RecallRouteDraftProto { + // 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. + + public var routeID: String = String() + + public var deleteRouteDraft: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RecommendedSearchProto { + // 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. + + public var searchLabel: String = String() + + public var prependedSearchString: String = String() + + public var searchKey: String = String() + + public var appendedSearchString: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RectProto { + // 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. + + public var lo: PointProto { + get {return _lo ?? PointProto()} + set {_lo = newValue} + } + /// Returns true if `lo` has been explicitly set. + public var hasLo: Bool {return self._lo != nil} + /// Clears the value of `lo`. Subsequent reads from it will return its default value. + public mutating func clearLo() {self._lo = nil} + + public var hi: PointProto { + get {return _hi ?? PointProto()} + set {_hi = newValue} + } + /// Returns true if `hi` has been explicitly set. + public var hasHi: Bool {return self._hi != nil} + /// Clears the value of `hi`. Subsequent reads from it will return its default value. + public mutating func clearHi() {self._hi = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _lo: PointProto? = nil + fileprivate var _hi: PointProto? = nil +} + +public struct RecycleItemOutProto { + // 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. + + public var result: RecycleItemOutProto.Result = .unset + + public var newCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNotEnoughCopies // = 2 + case errorCannotRecycleIncubators // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNotEnoughCopies + case 3: self = .errorCannotRecycleIncubators + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNotEnoughCopies: return 2 + case .errorCannotRecycleIncubators: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RecycleItemOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RecycleItemOutProto.Result] = [ + .unset, + .success, + .errorNotEnoughCopies, + .errorCannotRecycleIncubators, + ] +} + +#endif // swift(>=4.2) + +public struct RecycleItemProto { + // 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. + + public var item: Item = .unknown + + public var count: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RedeemPasscodeRequestProto { + // 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. + + public var passcode: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RedeemPasscodeResponseProto { + // 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. + + public var result: RedeemPasscodeResponseProto.Result = .unset + + public var acquiredItem: [RedeemPasscodeResponseProto.AcquiredItem] = [] + + public var acquiredItemsProto: Data = Data() + + public var passcode: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case notAvailable // = 2 + case overInventoryLimit // = 3 + case alreadyRedeemed // = 4 + case overPlayerRedemptionLimit // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .notAvailable + case 3: self = .overInventoryLimit + case 4: self = .alreadyRedeemed + case 5: self = .overPlayerRedemptionLimit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .notAvailable: return 2 + case .overInventoryLimit: return 3 + case .alreadyRedeemed: return 4 + case .overPlayerRedemptionLimit: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct AcquiredItem { + // 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. + + public var item: String = String() + + public var count: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +#if swift(>=4.2) + +extension RedeemPasscodeResponseProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RedeemPasscodeResponseProto.Result] = [ + .unset, + .success, + .notAvailable, + .overInventoryLimit, + .alreadyRedeemed, + .overPlayerRedemptionLimit, + ] +} + +#endif // swift(>=4.2) + +public struct RedeemPasscodeRewardProto { + // 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. + + public var items: [RedeemedItemProto] = [] + + public var avatarItems: [RedeemedAvatarItemProto] = [] + + public var eggPokemon: [PokemonProto] = [] + + public var pokemon: [PokemonProto] = [] + + public var pokeCandy: [PokeCandyProto] = [] + + public var stardust: Int32 = 0 + + public var pokecoins: Int32 = 0 + + public var badges: [HoloBadgeType] = [] + + public var redeemedStickers: [RedeemedStickerProto] = [] + + public var questIds: [String] = [] + + public var neutralAvatarItemIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RedeemTicketGiftForFriendOutProto { + // 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. + + public var status: RedeemTicketGiftForFriendOutProto.Status = .unset + + public var giftingEligibility: GiftingEligibilityStatusProto { + get {return _giftingEligibility ?? GiftingEligibilityStatusProto()} + set {_giftingEligibility = newValue} + } + /// Returns true if `giftingEligibility` has been explicitly set. + public var hasGiftingEligibility: Bool {return self._giftingEligibility != nil} + /// Clears the value of `giftingEligibility`. Subsequent reads from it will return its default value. + public mutating func clearGiftingEligibility() {self._giftingEligibility = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case failureEligibility // = 3 + case failureGiftNotFound // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .failureEligibility + case 4: self = .failureGiftNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .failureEligibility: return 3 + case .failureGiftNotFound: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _giftingEligibility: GiftingEligibilityStatusProto? = nil +} + +#if swift(>=4.2) + +extension RedeemTicketGiftForFriendOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RedeemTicketGiftForFriendOutProto.Status] = [ + .unset, + .success, + .errorUnknown, + .failureEligibility, + .failureGiftNotFound, + ] +} + +#endif // swift(>=4.2) + +public struct RedeemTicketGiftForFriendProto { + // 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. + + public var giftingIapItem: GiftingIapItemProto { + get {return _giftingIapItem ?? GiftingIapItemProto()} + set {_giftingIapItem = newValue} + } + /// Returns true if `giftingIapItem` has been explicitly set. + public var hasGiftingIapItem: Bool {return self._giftingIapItem != nil} + /// Clears the value of `giftingIapItem`. Subsequent reads from it will return its default value. + public mutating func clearGiftingIapItem() {self._giftingIapItem = nil} + + public var recipientFriendID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _giftingIapItem: GiftingIapItemProto? = nil +} + +public struct RedeemedAvatarItemProto { + // 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. + + public var avatarTemplateID: String = String() + + public var itemCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RedeemedItemProto { + // 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. + + public var item: Item = .unknown + + public var itemCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RedeemedStickerProto { + // 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. + + public var stickerID: String = String() + + public var count: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ReferralMilestonesProto { + // 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. + + public var nianticID: ReferralMilestonesProto.OneOf_NianticID? = nil + + public var referrerNianticID: String { + get { + if case .referrerNianticID(let v)? = nianticID {return v} + return String() + } + set {nianticID = .referrerNianticID(newValue)} + } + + public var refereeNianticID: String { + get { + if case .refereeNianticID(let v)? = nianticID {return v} + return String() + } + set {nianticID = .refereeNianticID(newValue)} + } + + public var playerID: ReferralMilestonesProto.OneOf_PlayerID? = nil + + public var referrerPlayerID: String { + get { + if case .referrerPlayerID(let v)? = playerID {return v} + return String() + } + set {playerID = .referrerPlayerID(newValue)} + } + + public var refereePlayerID: String { + get { + if case .refereePlayerID(let v)? = playerID {return v} + return String() + } + set {playerID = .refereePlayerID(newValue)} + } + + public var milestonesTemplateID: String = String() + + public var version: Int32 = 0 + + public var milestone: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_NianticID: Equatable { + case referrerNianticID(String) + case refereeNianticID(String) + + #if !swift(>=4.1) + public static func ==(lhs: ReferralMilestonesProto.OneOf_NianticID, rhs: ReferralMilestonesProto.OneOf_NianticID) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.referrerNianticID, .referrerNianticID): return { + guard case .referrerNianticID(let l) = lhs, case .referrerNianticID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.refereeNianticID, .refereeNianticID): return { + guard case .refereeNianticID(let l) = lhs, case .refereeNianticID(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum OneOf_PlayerID: Equatable { + case referrerPlayerID(String) + case refereePlayerID(String) + + #if !swift(>=4.1) + public static func ==(lhs: ReferralMilestonesProto.OneOf_PlayerID, rhs: ReferralMilestonesProto.OneOf_PlayerID) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.referrerPlayerID, .referrerPlayerID): return { + guard case .referrerPlayerID(let l) = lhs, case .referrerPlayerID(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.refereePlayerID, .refereePlayerID): return { + guard case .refereePlayerID(let l) = lhs, case .refereePlayerID(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public struct MilestoneProto { + // 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. + + public var nameKey: String = String() + + public var status: ReferralMilestonesProto.MilestoneProto.Status = .unset + + public var reward: [Data] = [] + + public var milestoneTemplateID: String = String() + + public var version: Int32 = 0 + + public var nameTemplateVariable: [ReferralMilestonesProto.MilestoneProto.TemplateVariableProto] = [] + + public var viewedByClient: Bool = false + + public var createdTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case active // = 1 + case achieved // = 2 + case activeHidden // = 3 + case achievedHidden // = 4 + case rewardsClaimed // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .active + case 2: self = .achieved + case 3: self = .activeHidden + case 4: self = .achievedHidden + case 5: self = .rewardsClaimed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .active: return 1 + case .achieved: return 2 + case .activeHidden: return 3 + case .achievedHidden: return 4 + case .rewardsClaimed: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct TemplateVariableProto { + // 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. + + public var name: String = String() + + public var literal: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + } + + public init() {} +} + +#if swift(>=4.2) + +extension ReferralMilestonesProto.MilestoneProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReferralMilestonesProto.MilestoneProto.Status] = [ + .unset, + .active, + .achieved, + .activeHidden, + .achievedHidden, + .rewardsClaimed, + ] +} + +#endif // swift(>=4.2) + +public struct ReferralSettingsProto { + // 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. + + public var featureEnabled: Bool = false + + public var recentFeatures: [ReferralSettingsProto.RecentFeatureProto] = [] + + public var addReferrerGracePeriodMs: Int64 = 0 + + public var clientGetMilestoneIntervalMs: Int64 = 0 + + public var minNumDaysWithoutSessionForLapsedPlayer: Int32 = 0 + + public var deepLinkURL: String = String() + + public var imageShareReferralEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct RecentFeatureProto { + // 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. + + public var iconType: BonusBoxProto.IconType = .unset + + public var featureName: String = String() + + public var description_p: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct ReferralTelemetry { + // 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. + + public var referralTelemetryID: ReferralTelemetryIds = .undefinedReferralEvent + + public var referralRole: ReferralRole = .undefined + + public var milestoneDescriptionStringKey: String = String() + + public var referralSource: ReferralSource = .undefinedSource + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RefreshProximityTokensRequestProto { + // 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. + + public var firstTokenStartTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RefreshProximityTokensResponseProto { + // 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. + + public var proximityToken: [ProximityToken] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RegisterBackgroundDeviceActionProto { + // 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. + + public var deviceType: String = String() + + public var deviceID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RegisterBackgroundDeviceResponseProto { + // 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. + + public var status: RegisterBackgroundDeviceResponseProto.Status = .unset + + public var token: BackgroundToken { + get {return _token ?? BackgroundToken()} + set {_token = newValue} + } + /// Returns true if `token` has been explicitly set. + public var hasToken: Bool {return self._token != nil} + /// Clears the value of `token`. Subsequent reads from it will return its default value. + public mutating func clearToken() {self._token = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _token: BackgroundToken? = nil +} + +#if swift(>=4.2) + +extension RegisterBackgroundDeviceResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RegisterBackgroundDeviceResponseProto.Status] = [ + .unset, + .success, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct RegisterSfidaRequest { + // 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. + + public var sfidaID: String = String() + + public var deviceType: RegisterSfidaRequest.DeviceType = .sfida + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum DeviceType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case sfida // = 0 + case unset // = -1 + case palma // = 1 + case waina // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .sfida + } + + public init?(rawValue: Int) { + switch rawValue { + case -1: self = .unset + case 0: self = .sfida + case 1: self = .palma + case 2: self = .waina + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return -1 + case .sfida: return 0 + case .palma: return 1 + case .waina: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RegisterSfidaRequest.DeviceType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RegisterSfidaRequest.DeviceType] = [ + .sfida, + .unset, + .palma, + .waina, + ] +} + +#endif // swift(>=4.2) + +public struct RegisterSfidaResponse { + // 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. + + public var accessToken: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ReleasePokemonOutProto { + // 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. + + public var status: ReleasePokemonOutProto.Status = .unset + + public var candyAwarded: Int32 = 0 + + public var xlCandyAwarded: Int32 = 0 + + public var xlCandyAwardedPerID: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case pokemonDeployed // = 2 + case failed // = 3 + case errorPokemonIsEgg // = 4 + case errorPokemonIsBuddy // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .pokemonDeployed + case 3: self = .failed + case 4: self = .errorPokemonIsEgg + case 5: self = .errorPokemonIsBuddy + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .pokemonDeployed: return 2 + case .failed: return 3 + case .errorPokemonIsEgg: return 4 + case .errorPokemonIsBuddy: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ReleasePokemonOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReleasePokemonOutProto.Status] = [ + .unset, + .success, + .pokemonDeployed, + .failed, + .errorPokemonIsEgg, + .errorPokemonIsBuddy, + ] +} + +#endif // swift(>=4.2) + +public struct ReleasePokemonProto { + // 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. + + public var pokemonID: UInt64 = 0 + + public var pokemonIds: [UInt64] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ReleasePokemonTelemetry { + // 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. + + public var pokemon: PokemonTelemetry { + get {return _pokemon ?? PokemonTelemetry()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemon: PokemonTelemetry? = nil +} + +public struct RemoteGiftPingRequestProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RemoteGiftPingResponseProto { + // 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. + + public var result: RemoteGiftPingResponseProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case stillInCoolDown // = 2 + case buddyNotSet // = 3 + case errorInventoryFull // = 4 + case errorNoRemoteGifts // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .stillInCoolDown + case 3: self = .buddyNotSet + case 4: self = .errorInventoryFull + case 5: self = .errorNoRemoteGifts + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .stillInCoolDown: return 2 + case .buddyNotSet: return 3 + case .errorInventoryFull: return 4 + case .errorNoRemoteGifts: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RemoteGiftPingResponseProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RemoteGiftPingResponseProto.Result] = [ + .unset, + .success, + .stillInCoolDown, + .buddyNotSet, + .errorInventoryFull, + .errorNoRemoteGifts, + ] +} + +#endif // swift(>=4.2) + +public struct RemoteRaidTelemetry { + // 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. + + public var remoteRaidTelemetryID: RemoteRaidTelemetryIds = .undefinedRemoteRaidEvent + + public var remoteRaidJoinSource: RemoteRaidJoinSource = .undefinedRemoteRaidJoinSource + + public var remoteRaidInviteAcceptSource: RemoteRaidInviteAcceptSource = .undefinedRemoteRaidInviteAcceptSource + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RemoveLoginActionOutProto { + // 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. + + public var success: Bool = false + + public var loginDetail: [LoginDetail] = [] + + public var status: RemoveLoginActionOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case loginNotRemovable // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .loginNotRemovable + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .loginNotRemovable: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RemoveLoginActionOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RemoveLoginActionOutProto.Status] = [ + .unset, + .loginNotRemovable, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct RemoveLoginActionProto { + // 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. + + public var identityProvider: AuthIdentityProvider = .unsetIdentityProvider + + public var authProviderID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RemovePokemonSizeLeaderboardEntryOutProto { + // 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. + + public var status: RemovePokemonSizeLeaderboardEntryOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case entryToRemoveNotFound // = 3 + case pokemonToRemoveDifferent // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .entryToRemoveNotFound + case 4: self = .pokemonToRemoveDifferent + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .entryToRemoveNotFound: return 3 + case .pokemonToRemoveDifferent: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RemovePokemonSizeLeaderboardEntryOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RemovePokemonSizeLeaderboardEntryOutProto.Status] = [ + .unset, + .success, + .error, + .entryToRemoveNotFound, + .pokemonToRemoveDifferent, + ] +} + +#endif // swift(>=4.2) + +public struct RemovePokemonSizeLeaderboardEntryProto { + // 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. + + public var contestID: String = String() + + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} + + public var pokemonIDToRemove: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _contestMetric: ContestMetricProto? = nil +} + +public struct RemovePtcLoginActionOutProto { + // 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. + + public var success: Bool = false + + public var loginDetail: [LoginDetail] = [] + + public var status: RemovePtcLoginActionOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case loginNotRemovable // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .loginNotRemovable + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .loginNotRemovable: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RemovePtcLoginActionOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RemovePtcLoginActionOutProto.Status] = [ + .unset, + .loginNotRemovable, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct RemovePtcLoginActionProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RemoveQuestOutProto { + // 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. + + public var status: RemoveQuestOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorQuestNotFound // = 2 + case errorStoryQuestNotRemovable // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorQuestNotFound + case 3: self = .errorStoryQuestNotRemovable + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorQuestNotFound: return 2 + case .errorStoryQuestNotRemovable: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RemoveQuestOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RemoveQuestOutProto.Status] = [ + .unset, + .success, + .errorQuestNotFound, + .errorStoryQuestNotRemovable, + ] +} + +#endif // swift(>=4.2) + +public struct RemoveQuestProto { + // 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. + + public var questID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ReplaceLoginActionOutProto { + // 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. + + public var success: Bool = false + + public var loginDetail: [LoginDetail] = [] + + public var status: ReplaceLoginActionOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case authFailure // = 1 + case loginTaken // = 2 + case loginAlreadyHave // = 3 + case loginNotReplaceable // = 4 + case errorUnknown // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .authFailure + case 2: self = .loginTaken + case 3: self = .loginAlreadyHave + case 4: self = .loginNotReplaceable + case 5: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .authFailure: return 1 + case .loginTaken: return 2 + case .loginAlreadyHave: return 3 + case .loginNotReplaceable: return 4 + case .errorUnknown: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ReplaceLoginActionOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReplaceLoginActionOutProto.Status] = [ + .unset, + .authFailure, + .loginTaken, + .loginAlreadyHave, + .loginNotReplaceable, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct ReplaceLoginActionProto { + // 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. + + public var existingIdentityProvider: AuthIdentityProvider = .unsetIdentityProvider + + public var newLogin: AddLoginActionProto { + get {return _newLogin ?? AddLoginActionProto()} + set {_newLogin = newValue} + } + /// Returns true if `newLogin` has been explicitly set. + public var hasNewLogin: Bool {return self._newLogin != nil} + /// Clears the value of `newLogin`. Subsequent reads from it will return its default value. + public mutating func clearNewLogin() {self._newLogin = nil} + + public var authProviderID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _newLogin: AddLoginActionProto? = nil +} + +public struct ReportAdFeedbackRequest { + // 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. + + public var gameID: String = String() + + public var userID: String = String() + + public var guid: String = String() + + public var encryptedAdToken: Data = Data() + + public var adFeedbackReport: ReportAdInteractionProto.AdFeedbackReport { + get {return _adFeedbackReport ?? ReportAdInteractionProto.AdFeedbackReport()} + set {_adFeedbackReport = newValue} + } + /// Returns true if `adFeedbackReport` has been explicitly set. + public var hasAdFeedbackReport: Bool {return self._adFeedbackReport != nil} + /// Clears the value of `adFeedbackReport`. Subsequent reads from it will return its default value. + public mutating func clearAdFeedbackReport() {self._adFeedbackReport = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _adFeedbackReport: ReportAdInteractionProto.AdFeedbackReport? = nil +} + +public struct ReportAdFeedbackResponse { + // 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. + + public var status: ReportAdFeedbackResponse.Status = .success + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case success // = 0 + case error // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .success + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .success + case 1: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .success: return 0 + case .error: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ReportAdFeedbackResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportAdFeedbackResponse.Status] = [ + .success, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct ReportAdInteractionProto { + // 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. + + public var interactionType: ReportAdInteractionProto.OneOf_InteractionType? = nil + + public var viewImpression: ReportAdInteractionProto.ViewImpressionInteraction { + get { + if case .viewImpression(let v)? = interactionType {return v} + return ReportAdInteractionProto.ViewImpressionInteraction() + } + set {interactionType = .viewImpression(newValue)} + } + + public var viewFullscreen: ReportAdInteractionProto.ViewFullscreenInteraction { + get { + if case .viewFullscreen(let v)? = interactionType {return v} + return ReportAdInteractionProto.ViewFullscreenInteraction() + } + set {interactionType = .viewFullscreen(newValue)} + } + + public var fullscreenInteraction: ReportAdInteractionProto.FullScreenInteraction { + get { + if case .fullscreenInteraction(let v)? = interactionType {return v} + return ReportAdInteractionProto.FullScreenInteraction() + } + set {interactionType = .fullscreenInteraction(newValue)} + } + + public var ctaClicked: ReportAdInteractionProto.CTAClickInteraction { + get { + if case .ctaClicked(let v)? = interactionType {return v} + return ReportAdInteractionProto.CTAClickInteraction() + } + set {interactionType = .ctaClicked(newValue)} + } + + public var adSpawned: ReportAdInteractionProto.AdSpawnInteraction { + get { + if case .adSpawned(let v)? = interactionType {return v} + return ReportAdInteractionProto.AdSpawnInteraction() + } + set {interactionType = .adSpawned(newValue)} + } + + public var adDismissed: ReportAdInteractionProto.AdDismissalInteraction { + get { + if case .adDismissed(let v)? = interactionType {return v} + return ReportAdInteractionProto.AdDismissalInteraction() + } + set {interactionType = .adDismissed(newValue)} + } + + public var viewWebAr: ReportAdInteractionProto.ViewWebArInteraction { + get { + if case .viewWebAr(let v)? = interactionType {return v} + return ReportAdInteractionProto.ViewWebArInteraction() + } + set {interactionType = .viewWebAr(newValue)} + } + + public var videoAdLoaded: ReportAdInteractionProto.VideoAdLoaded { + get { + if case .videoAdLoaded(let v)? = interactionType {return v} + return ReportAdInteractionProto.VideoAdLoaded() + } + set {interactionType = .videoAdLoaded(newValue)} + } + + public var videoAdBalloonOpened: ReportAdInteractionProto.VideoAdBalloonOpened { + get { + if case .videoAdBalloonOpened(let v)? = interactionType {return v} + return ReportAdInteractionProto.VideoAdBalloonOpened() + } + set {interactionType = .videoAdBalloonOpened(newValue)} + } + + public var videoAdClickedOnBalloonCta: ReportAdInteractionProto.VideoAdClickedOnBalloonCta { + get { + if case .videoAdClickedOnBalloonCta(let v)? = interactionType {return v} + return ReportAdInteractionProto.VideoAdClickedOnBalloonCta() + } + set {interactionType = .videoAdClickedOnBalloonCta(newValue)} + } + + public var videoAdOpened: ReportAdInteractionProto.VideoAdOpened { + get { + if case .videoAdOpened(let v)? = interactionType {return v} + return ReportAdInteractionProto.VideoAdOpened() + } + set {interactionType = .videoAdOpened(newValue)} + } + + public var videoAdClosed: ReportAdInteractionProto.VideoAdClosed { + get { + if case .videoAdClosed(let v)? = interactionType {return v} + return ReportAdInteractionProto.VideoAdClosed() + } + set {interactionType = .videoAdClosed(newValue)} + } + + public var videoAdPlayerRewarded: ReportAdInteractionProto.VideoAdPlayerRewarded { + get { + if case .videoAdPlayerRewarded(let v)? = interactionType {return v} + return ReportAdInteractionProto.VideoAdPlayerRewarded() + } + set {interactionType = .videoAdPlayerRewarded(newValue)} + } + + public var videoAdCtaClicked: ReportAdInteractionProto.VideoAdCTAClicked { + get { + if case .videoAdCtaClicked(let v)? = interactionType {return v} + return ReportAdInteractionProto.VideoAdCTAClicked() + } + set {interactionType = .videoAdCtaClicked(newValue)} + } + + public var videoAdRewardEligible: ReportAdInteractionProto.VideoAdRewardEligible { + get { + if case .videoAdRewardEligible(let v)? = interactionType {return v} + return ReportAdInteractionProto.VideoAdRewardEligible() + } + set {interactionType = .videoAdRewardEligible(newValue)} + } + + public var videoAdFailure: ReportAdInteractionProto.VideoAdFailure { + get { + if case .videoAdFailure(let v)? = interactionType {return v} + return ReportAdInteractionProto.VideoAdFailure() + } + set {interactionType = .videoAdFailure(newValue)} + } + + public var getRewardInfo: ReportAdInteractionProto.GetRewardInfo { + get { + if case .getRewardInfo(let v)? = interactionType {return v} + return ReportAdInteractionProto.GetRewardInfo() + } + set {interactionType = .getRewardInfo(newValue)} + } + + public var webArCameraPermissionResponse: ReportAdInteractionProto.WebArCameraPermissionResponse { + get { + if case .webArCameraPermissionResponse(let v)? = interactionType {return v} + return ReportAdInteractionProto.WebArCameraPermissionResponse() + } + set {interactionType = .webArCameraPermissionResponse(newValue)} + } + + public var webArCameraPermissionRequestSent: ReportAdInteractionProto.WebArCameraPermissionRequestSent { + get { + if case .webArCameraPermissionRequestSent(let v)? = interactionType {return v} + return ReportAdInteractionProto.WebArCameraPermissionRequestSent() + } + set {interactionType = .webArCameraPermissionRequestSent(newValue)} + } + + public var webArAudienceDeviceStatus: ReportAdInteractionProto.WebArAudienceDeviceStatus { + get { + if case .webArAudienceDeviceStatus(let v)? = interactionType {return v} + return ReportAdInteractionProto.WebArAudienceDeviceStatus() + } + set {interactionType = .webArAudienceDeviceStatus(newValue)} + } + + public var gameID: String = String() + + public var userID: String = String() + + public var guid: String = String() + + public var encryptedAdToken: Data = Data() + + public var adType: ReportAdInteractionProto.AdType = .unknown + + public var googleManagedAd: ReportAdInteractionProto.GoogleManagedAdDetails { + get {return _googleManagedAd ?? ReportAdInteractionProto.GoogleManagedAdDetails()} + set {_googleManagedAd = newValue} + } + /// Returns true if `googleManagedAd` has been explicitly set. + public var hasGoogleManagedAd: Bool {return self._googleManagedAd != nil} + /// Clears the value of `googleManagedAd`. Subsequent reads from it will return its default value. + public mutating func clearGoogleManagedAd() {self._googleManagedAd = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_InteractionType: Equatable { + case viewImpression(ReportAdInteractionProto.ViewImpressionInteraction) + case viewFullscreen(ReportAdInteractionProto.ViewFullscreenInteraction) + case fullscreenInteraction(ReportAdInteractionProto.FullScreenInteraction) + case ctaClicked(ReportAdInteractionProto.CTAClickInteraction) + case adSpawned(ReportAdInteractionProto.AdSpawnInteraction) + case adDismissed(ReportAdInteractionProto.AdDismissalInteraction) + case viewWebAr(ReportAdInteractionProto.ViewWebArInteraction) + case videoAdLoaded(ReportAdInteractionProto.VideoAdLoaded) + case videoAdBalloonOpened(ReportAdInteractionProto.VideoAdBalloonOpened) + case videoAdClickedOnBalloonCta(ReportAdInteractionProto.VideoAdClickedOnBalloonCta) + case videoAdOpened(ReportAdInteractionProto.VideoAdOpened) + case videoAdClosed(ReportAdInteractionProto.VideoAdClosed) + case videoAdPlayerRewarded(ReportAdInteractionProto.VideoAdPlayerRewarded) + case videoAdCtaClicked(ReportAdInteractionProto.VideoAdCTAClicked) + case videoAdRewardEligible(ReportAdInteractionProto.VideoAdRewardEligible) + case videoAdFailure(ReportAdInteractionProto.VideoAdFailure) + case getRewardInfo(ReportAdInteractionProto.GetRewardInfo) + case webArCameraPermissionResponse(ReportAdInteractionProto.WebArCameraPermissionResponse) + case webArCameraPermissionRequestSent(ReportAdInteractionProto.WebArCameraPermissionRequestSent) + case webArAudienceDeviceStatus(ReportAdInteractionProto.WebArAudienceDeviceStatus) + + #if !swift(>=4.1) + public static func ==(lhs: ReportAdInteractionProto.OneOf_InteractionType, rhs: ReportAdInteractionProto.OneOf_InteractionType) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.viewImpression, .viewImpression): return { + guard case .viewImpression(let l) = lhs, case .viewImpression(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.viewFullscreen, .viewFullscreen): return { + guard case .viewFullscreen(let l) = lhs, case .viewFullscreen(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.fullscreenInteraction, .fullscreenInteraction): return { + guard case .fullscreenInteraction(let l) = lhs, case .fullscreenInteraction(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.ctaClicked, .ctaClicked): return { + guard case .ctaClicked(let l) = lhs, case .ctaClicked(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.adSpawned, .adSpawned): return { + guard case .adSpawned(let l) = lhs, case .adSpawned(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.adDismissed, .adDismissed): return { + guard case .adDismissed(let l) = lhs, case .adDismissed(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.viewWebAr, .viewWebAr): return { + guard case .viewWebAr(let l) = lhs, case .viewWebAr(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.videoAdLoaded, .videoAdLoaded): return { + guard case .videoAdLoaded(let l) = lhs, case .videoAdLoaded(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.videoAdBalloonOpened, .videoAdBalloonOpened): return { + guard case .videoAdBalloonOpened(let l) = lhs, case .videoAdBalloonOpened(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.videoAdClickedOnBalloonCta, .videoAdClickedOnBalloonCta): return { + guard case .videoAdClickedOnBalloonCta(let l) = lhs, case .videoAdClickedOnBalloonCta(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.videoAdOpened, .videoAdOpened): return { + guard case .videoAdOpened(let l) = lhs, case .videoAdOpened(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.videoAdClosed, .videoAdClosed): return { + guard case .videoAdClosed(let l) = lhs, case .videoAdClosed(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.videoAdPlayerRewarded, .videoAdPlayerRewarded): return { + guard case .videoAdPlayerRewarded(let l) = lhs, case .videoAdPlayerRewarded(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.videoAdCtaClicked, .videoAdCtaClicked): return { + guard case .videoAdCtaClicked(let l) = lhs, case .videoAdCtaClicked(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.videoAdRewardEligible, .videoAdRewardEligible): return { + guard case .videoAdRewardEligible(let l) = lhs, case .videoAdRewardEligible(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.videoAdFailure, .videoAdFailure): return { + guard case .videoAdFailure(let l) = lhs, case .videoAdFailure(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.getRewardInfo, .getRewardInfo): return { + guard case .getRewardInfo(let l) = lhs, case .getRewardInfo(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.webArCameraPermissionResponse, .webArCameraPermissionResponse): return { + guard case .webArCameraPermissionResponse(let l) = lhs, case .webArCameraPermissionResponse(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.webArCameraPermissionRequestSent, .webArCameraPermissionRequestSent): return { + guard case .webArCameraPermissionRequestSent(let l) = lhs, case .webArCameraPermissionRequestSent(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.webArAudienceDeviceStatus, .webArAudienceDeviceStatus): return { + guard case .webArAudienceDeviceStatus(let l) = lhs, case .webArAudienceDeviceStatus(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum AdType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case sponsoredGift // = 1 + case sponsoredBalloon // = 2 + case sponsoredBalloonWasabi // = 3 + case sponsoredBalloonGoogleManagedAd // = 4 + case sponsoredBalloonArAd // = 5 + case sponsoredBalloonVideoAd // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .sponsoredGift + case 2: self = .sponsoredBalloon + case 3: self = .sponsoredBalloonWasabi + case 4: self = .sponsoredBalloonGoogleManagedAd + case 5: self = .sponsoredBalloonArAd + case 6: self = .sponsoredBalloonVideoAd + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .sponsoredGift: return 1 + case .sponsoredBalloon: return 2 + case .sponsoredBalloonWasabi: return 3 + case .sponsoredBalloonGoogleManagedAd: return 4 + case .sponsoredBalloonArAd: return 5 + case .sponsoredBalloonVideoAd: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct AdDismissalInteraction { + // 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. + + public var adDismissalType: ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType = .adDismissalUnknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum AdDismissalType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case adDismissalUnknown // = 0 + case adDismissalTrDisplacesAdBalloon // = 1 + case adDismissalNewAdBalloonDisplacesOld // = 2 + case adDismissalAdBalloonAutoDismiss // = 3 + case adDismissalPlayerOptedOutOfAds // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .adDismissalUnknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .adDismissalUnknown + case 1: self = .adDismissalTrDisplacesAdBalloon + case 2: self = .adDismissalNewAdBalloonDisplacesOld + case 3: self = .adDismissalAdBalloonAutoDismiss + case 4: self = .adDismissalPlayerOptedOutOfAds + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .adDismissalUnknown: return 0 + case .adDismissalTrDisplacesAdBalloon: return 1 + case .adDismissalNewAdBalloonDisplacesOld: return 2 + case .adDismissalAdBalloonAutoDismiss: return 3 + case .adDismissalPlayerOptedOutOfAds: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public struct AdFeedback { + // 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. + + public var content: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct AdFeedbackReport { + // 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. + + public var gamAdResponseID: String = String() + + public var feedback: [ReportAdInteractionProto.AdFeedback] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct AdSpawnInteraction { + // 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. + + public var spawnSuccess: Bool = false + + public var adInhibitionType: ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType = .adInhibitionUnknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum AdInhibitionType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case adInhibitionUnknown // = 0 + case adInhibitionTrPreventsBalloonSpawn // = 1 + case adInhibitionClientError // = 2 + case adInhibitionDisabledInGmt // = 3 + case adInhibitionPlayerOptedOutOfAds // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .adInhibitionUnknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .adInhibitionUnknown + case 1: self = .adInhibitionTrPreventsBalloonSpawn + case 2: self = .adInhibitionClientError + case 3: self = .adInhibitionDisabledInGmt + case 4: self = .adInhibitionPlayerOptedOutOfAds + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .adInhibitionUnknown: return 0 + case .adInhibitionTrPreventsBalloonSpawn: return 1 + case .adInhibitionClientError: return 2 + case .adInhibitionDisabledInGmt: return 3 + case .adInhibitionPlayerOptedOutOfAds: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public struct CTAClickInteraction { + // 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. + + public var ctaURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct FullScreenInteraction { + // 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. + + public var fullscreenImageURL: String = String() + + public var totalResidenceTimeMs: Int64 = 0 + + public var timeAwayMs: Int64 = 0 + + public var tookScreenshot: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct GetRewardInfo { + // 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. + + public var validGiftToken: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct GoogleManagedAdDetails { + // 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. + + public var gamOrderID: String = String() + + public var gamLineItemID: String = String() + + public var gamCreativeID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct VideoAdBalloonOpened { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct VideoAdClickedOnBalloonCta { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct VideoAdClosed { + // 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. + + public var completeVideoWatched: Bool = false + + public var totalWatchTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct VideoAdCTAClicked { + // 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. + + public var ctaURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct VideoAdFailure { + // 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. + + public var failureType: ReportAdInteractionProto.VideoAdFailure.FailureType = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum FailureType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case videoLoadFailure // = 1 + case videoRewardFailure // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .videoLoadFailure + case 2: self = .videoRewardFailure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .videoLoadFailure: return 1 + case .videoRewardFailure: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public struct VideoAdLoaded { + // 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. + + public var totalLoadTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct VideoAdOpened { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct VideoAdPlayerRewarded { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct VideoAdRewardEligible { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct ViewFullscreenInteraction { + // 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. + + public var fullscreenImageURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct ViewImpressionInteraction { + // 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. + + public var previewImageURL: String = String() + + public var isPersistedGift: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct ViewWebArInteraction { + // 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. + + public var webArURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct WebArAudienceDeviceStatus { + // 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. + + public var isWebcamEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct WebArCameraPermissionRequestSent { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct WebArCameraPermissionResponse { + // 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. + + public var allowCameraPermission: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _googleManagedAd: ReportAdInteractionProto.GoogleManagedAdDetails? = nil +} + +#if swift(>=4.2) + +extension ReportAdInteractionProto.AdType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportAdInteractionProto.AdType] = [ + .unknown, + .sponsoredGift, + .sponsoredBalloon, + .sponsoredBalloonWasabi, + .sponsoredBalloonGoogleManagedAd, + .sponsoredBalloonArAd, + .sponsoredBalloonVideoAd, + ] +} + +extension ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType] = [ + .adDismissalUnknown, + .adDismissalTrDisplacesAdBalloon, + .adDismissalNewAdBalloonDisplacesOld, + .adDismissalAdBalloonAutoDismiss, + .adDismissalPlayerOptedOutOfAds, + ] +} + +extension ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType] = [ + .adInhibitionUnknown, + .adInhibitionTrPreventsBalloonSpawn, + .adInhibitionClientError, + .adInhibitionDisabledInGmt, + .adInhibitionPlayerOptedOutOfAds, + ] +} + +extension ReportAdInteractionProto.VideoAdFailure.FailureType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportAdInteractionProto.VideoAdFailure.FailureType] = [ + .unknown, + .videoLoadFailure, + .videoRewardFailure, + ] +} + +#endif // swift(>=4.2) + +public struct ReportAdInteractionResponse { + // 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. + + public var status: ReportAdInteractionResponse.Status = .success + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case success // = 0 + case malformed // = 1 + case expired // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .success + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .success + case 1: self = .malformed + case 2: self = .expired + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .success: return 0 + case .malformed: return 1 + case .expired: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ReportAdInteractionResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportAdInteractionResponse.Status] = [ + .success, + .malformed, + .expired, + ] +} + +#endif // swift(>=4.2) + +public struct ReportProximityContactsRequestProto { + // 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. + + public var contacts: [ProximityContact] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ReportProximityContactsResponseProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ReportRouteOutProto { + // 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. + + public var result: ReportRouteOutProto.Result = .unset + + public var consolationReward: LootProto { + get {return _consolationReward ?? LootProto()} + set {_consolationReward = newValue} + } + /// Returns true if `consolationReward` has been explicitly set. + public var hasConsolationReward: Bool {return self._consolationReward != nil} + /// Clears the value of `consolationReward`. Subsequent reads from it will return its default value. + public mutating func clearConsolationReward() {self._consolationReward = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorRouteNotFound // = 2 + case errorTooManyReports // = 3 + case errorUnknown // = 4 + case errorReportedThisRecently // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorRouteNotFound + case 3: self = .errorTooManyReports + case 4: self = .errorUnknown + case 5: self = .errorReportedThisRecently + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorRouteNotFound: return 2 + case .errorTooManyReports: return 3 + case .errorUnknown: return 4 + case .errorReportedThisRecently: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _consolationReward: LootProto? = nil +} + +#if swift(>=4.2) + +extension ReportRouteOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportRouteOutProto.Result] = [ + .unset, + .success, + .errorRouteNotFound, + .errorTooManyReports, + .errorUnknown, + .errorReportedThisRecently, + ] +} + +#endif // swift(>=4.2) + +public struct ReportRouteProto { + // 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. + + public var routeID: String = String() + + public var routeViolations: [ReportRouteProto.Violation] = [] + + public var qualityIssues: [ReportRouteProto.QualityIssue] = [] + + public var gameplayIssues: [ReportRouteProto.GameplayIssue] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum GameplayIssue: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetGameplayIssue // = 0 + case noZygardeCells // = 1 + case buddyCandyBonusNotWorking // = 2 + case incenseBonusNotWorking // = 3 + case insufficientRewards // = 4 + case couldNotCompleteRoute // = 5 + case routePausedIncorrectly // = 6 + case distanceTrackedIncorrect // = 7 + case gpsDrift // = 8 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetGameplayIssue + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetGameplayIssue + case 1: self = .noZygardeCells + case 2: self = .buddyCandyBonusNotWorking + case 3: self = .incenseBonusNotWorking + case 4: self = .insufficientRewards + case 5: self = .couldNotCompleteRoute + case 6: self = .routePausedIncorrectly + case 7: self = .distanceTrackedIncorrect + case 8: self = .gpsDrift + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetGameplayIssue: return 0 + case .noZygardeCells: return 1 + case .buddyCandyBonusNotWorking: return 2 + case .incenseBonusNotWorking: return 3 + case .insufficientRewards: return 4 + case .couldNotCompleteRoute: return 5 + case .routePausedIncorrectly: return 6 + case .distanceTrackedIncorrect: return 7 + case .gpsDrift: return 8 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum QualityIssue: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetQualityIssue // = 0 + case routeNameOrDescriptionErroneous // = 1 + case routeNameOrDescriptionUnclearOrInaccurate // = 2 + case routeDifficultToFollow // = 3 + case routeFrequentOverlap // = 4 + case routeTooShortOrLong // = 5 + case routeTooStrenuous // = 6 + case routePoorConnectivity // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetQualityIssue + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetQualityIssue + case 1: self = .routeNameOrDescriptionErroneous + case 2: self = .routeNameOrDescriptionUnclearOrInaccurate + case 3: self = .routeDifficultToFollow + case 4: self = .routeFrequentOverlap + case 5: self = .routeTooShortOrLong + case 6: self = .routeTooStrenuous + case 7: self = .routePoorConnectivity + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetQualityIssue: return 0 + case .routeNameOrDescriptionErroneous: return 1 + case .routeNameOrDescriptionUnclearOrInaccurate: return 2 + case .routeDifficultToFollow: return 3 + case .routeFrequentOverlap: return 4 + case .routeTooShortOrLong: return 5 + case .routeTooStrenuous: return 6 + case .routePoorConnectivity: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum Violation: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case privateResidence // = 1 + case sensitiveLocation // = 2 + case adultEstablishment // = 3 + case gradeSchool // = 4 + case inaccessible // = 5 + case dangerous // = 6 + case temporaryObstruction // = 7 + case childSafety // = 8 + case dangerousGoods // = 9 + case sexualOrViolent // = 10 + case selfHarm // = 11 + case harassmentOrHateSpeech // = 12 + case personalInfo // = 13 + case gameCheatsOrSpam // = 14 + case privacyInvasionAbusive // = 15 + case otherInappropriate // = 16 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .privateResidence + case 2: self = .sensitiveLocation + case 3: self = .adultEstablishment + case 4: self = .gradeSchool + case 5: self = .inaccessible + case 6: self = .dangerous + case 7: self = .temporaryObstruction + case 8: self = .childSafety + case 9: self = .dangerousGoods + case 10: self = .sexualOrViolent + case 11: self = .selfHarm + case 12: self = .harassmentOrHateSpeech + case 13: self = .personalInfo + case 14: self = .gameCheatsOrSpam + case 15: self = .privacyInvasionAbusive + case 16: self = .otherInappropriate + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .privateResidence: return 1 + case .sensitiveLocation: return 2 + case .adultEstablishment: return 3 + case .gradeSchool: return 4 + case .inaccessible: return 5 + case .dangerous: return 6 + case .temporaryObstruction: return 7 + case .childSafety: return 8 + case .dangerousGoods: return 9 + case .sexualOrViolent: return 10 + case .selfHarm: return 11 + case .harassmentOrHateSpeech: return 12 + case .personalInfo: return 13 + case .gameCheatsOrSpam: return 14 + case .privacyInvasionAbusive: return 15 + case .otherInappropriate: return 16 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ReportRouteProto.GameplayIssue: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportRouteProto.GameplayIssue] = [ + .unsetGameplayIssue, + .noZygardeCells, + .buddyCandyBonusNotWorking, + .incenseBonusNotWorking, + .insufficientRewards, + .couldNotCompleteRoute, + .routePausedIncorrectly, + .distanceTrackedIncorrect, + .gpsDrift, + ] +} + +extension ReportRouteProto.QualityIssue: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportRouteProto.QualityIssue] = [ + .unsetQualityIssue, + .routeNameOrDescriptionErroneous, + .routeNameOrDescriptionUnclearOrInaccurate, + .routeDifficultToFollow, + .routeFrequentOverlap, + .routeTooShortOrLong, + .routeTooStrenuous, + .routePoorConnectivity, + ] +} + +extension ReportRouteProto.Violation: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ReportRouteProto.Violation] = [ + .unset, + .privateResidence, + .sensitiveLocation, + .adultEstablishment, + .gradeSchool, + .inaccessible, + .dangerous, + .temporaryObstruction, + .childSafety, + .dangerousGoods, + .sexualOrViolent, + .selfHarm, + .harassmentOrHateSpeech, + .personalInfo, + .gameCheatsOrSpam, + .privacyInvasionAbusive, + .otherInappropriate, + ] +} + +#endif // swift(>=4.2) + +public struct ReviveAttributesProto { + // 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. + + public var staPercent: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RewardsPerContestProto { + // 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. + + public var contestID: String = String() + + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _rewards: LootProto? = nil +} + +public struct RoadMetadata { + // 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. + + public var isTunnel: Bool = false + + public var railwayIsSiding: Bool = false + + public var network: String = String() + + public var shieldText: String = String() + + public var route: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RocketBalloonDisplayProto { + // 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. + + public var type: RocketBalloonDisplayProto.BalloonType = .rocket + + public var incidentDisplay: RocketBalloonIncidentDisplayProto { + get {return _incidentDisplay ?? RocketBalloonIncidentDisplayProto()} + set {_incidentDisplay = newValue} + } + /// Returns true if `incidentDisplay` has been explicitly set. + public var hasIncidentDisplay: Bool {return self._incidentDisplay != nil} + /// Clears the value of `incidentDisplay`. Subsequent reads from it will return its default value. + public mutating func clearIncidentDisplay() {self._incidentDisplay = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum BalloonType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case rocket // = 0 + case rocketB // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .rocket + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .rocket + case 1: self = .rocketB + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .rocket: return 0 + case .rocketB: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _incidentDisplay: RocketBalloonIncidentDisplayProto? = nil +} + +#if swift(>=4.2) + +extension RocketBalloonDisplayProto.BalloonType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RocketBalloonDisplayProto.BalloonType] = [ + .rocket, + .rocketB, + ] +} + +#endif // swift(>=4.2) + +public struct RocketBalloonGlobalSettingsProto { + // 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. + + public var minPlayerLevel: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RocketBalloonIncidentDisplayProto { + // 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. + + public var incidentID: String = String() + + public var incidentDisplayType: IncidentDisplayType = .none + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RotateGuestLoginSecretTokenRequestProto { + // 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. + + public var secret: Data = Data() + + public var apiKey: String = String() + + public var deviceID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RotateGuestLoginSecretTokenResponseProto { + // 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. + + public var status: RotateGuestLoginSecretTokenResponseProto.Status = .unset + + public var newSecret: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case unknownError // = 2 + case unauthorized // = 3 + case invalidAuthToken // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .unknownError + case 3: self = .unauthorized + case 4: self = .invalidAuthToken + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .unknownError: return 2 + case .unauthorized: return 3 + case .invalidAuthToken: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RotateGuestLoginSecretTokenResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RotateGuestLoginSecretTokenResponseProto.Status] = [ + .unset, + .success, + .unknownError, + .unauthorized, + .invalidAuthToken, + ] +} + +#endif // swift(>=4.2) + +public struct RouteActivityRequestProto { + // 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. + + public var requestData: RouteActivityRequestProto.OneOf_RequestData? = nil + + public var pokemonTradeRequest: RouteActivityRequestProto.PokemonTradeRequest { + get { + if case .pokemonTradeRequest(let v)? = requestData {return v} + return RouteActivityRequestProto.PokemonTradeRequest() + } + set {requestData = .pokemonTradeRequest(newValue)} + } + + public var pokemonCompareRequest: RouteActivityRequestProto.PokemonCompareRequest { + get { + if case .pokemonCompareRequest(let v)? = requestData {return v} + return RouteActivityRequestProto.PokemonCompareRequest() + } + set {requestData = .pokemonCompareRequest(newValue)} + } + + public var giftTradeRequest: RouteActivityRequestProto.GiftTradeRequest { + get { + if case .giftTradeRequest(let v)? = requestData {return v} + return RouteActivityRequestProto.GiftTradeRequest() + } + set {requestData = .giftTradeRequest(newValue)} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_RequestData: Equatable { + case pokemonTradeRequest(RouteActivityRequestProto.PokemonTradeRequest) + case pokemonCompareRequest(RouteActivityRequestProto.PokemonCompareRequest) + case giftTradeRequest(RouteActivityRequestProto.GiftTradeRequest) + + #if !swift(>=4.1) + public static func ==(lhs: RouteActivityRequestProto.OneOf_RequestData, rhs: RouteActivityRequestProto.OneOf_RequestData) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pokemonTradeRequest, .pokemonTradeRequest): return { + guard case .pokemonTradeRequest(let l) = lhs, case .pokemonTradeRequest(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonCompareRequest, .pokemonCompareRequest): return { + guard case .pokemonCompareRequest(let l) = lhs, case .pokemonCompareRequest(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.giftTradeRequest, .giftTradeRequest): return { + guard case .giftTradeRequest(let l) = lhs, case .giftTradeRequest(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public struct GiftTradeRequest { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct PokemonCompareRequest { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct PokemonTradeRequest { + // 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. + + public var pokemonID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct RouteActivityResponseProto { + // 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. + + public var responseData: RouteActivityResponseProto.OneOf_ResponseData? = nil + + public var pokemonTradeResponse: RouteActivityResponseProto.PokemonTradeResponse { + get { + if case .pokemonTradeResponse(let v)? = responseData {return v} + return RouteActivityResponseProto.PokemonTradeResponse() + } + set {responseData = .pokemonTradeResponse(newValue)} + } + + public var pokemonCompareResponse: RouteActivityResponseProto.PokemonCompareResponse { + get { + if case .pokemonCompareResponse(let v)? = responseData {return v} + return RouteActivityResponseProto.PokemonCompareResponse() + } + set {responseData = .pokemonCompareResponse(newValue)} + } + + public var giftTradeResponse: RouteActivityResponseProto.GiftTradeResponse { + get { + if case .giftTradeResponse(let v)? = responseData {return v} + return RouteActivityResponseProto.GiftTradeResponse() + } + set {responseData = .giftTradeResponse(newValue)} + } + + public var activityReward: LootProto { + get {return _activityReward ?? LootProto()} + set {_activityReward = newValue} + } + /// Returns true if `activityReward` has been explicitly set. + public var hasActivityReward: Bool {return self._activityReward != nil} + /// Clears the value of `activityReward`. Subsequent reads from it will return its default value. + public mutating func clearActivityReward() {self._activityReward = nil} + + public var postcardData: ActivityPostcardData { + get {return _postcardData ?? ActivityPostcardData()} + set {_postcardData = newValue} + } + /// Returns true if `postcardData` has been explicitly set. + public var hasPostcardData: Bool {return self._postcardData != nil} + /// Clears the value of `postcardData`. Subsequent reads from it will return its default value. + public mutating func clearPostcardData() {self._postcardData = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_ResponseData: Equatable { + case pokemonTradeResponse(RouteActivityResponseProto.PokemonTradeResponse) + case pokemonCompareResponse(RouteActivityResponseProto.PokemonCompareResponse) + case giftTradeResponse(RouteActivityResponseProto.GiftTradeResponse) + + #if !swift(>=4.1) + public static func ==(lhs: RouteActivityResponseProto.OneOf_ResponseData, rhs: RouteActivityResponseProto.OneOf_ResponseData) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pokemonTradeResponse, .pokemonTradeResponse): return { + guard case .pokemonTradeResponse(let l) = lhs, case .pokemonTradeResponse(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonCompareResponse, .pokemonCompareResponse): return { + guard case .pokemonCompareResponse(let l) = lhs, case .pokemonCompareResponse(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.giftTradeResponse, .giftTradeResponse): return { + guard case .giftTradeResponse(let l) = lhs, case .giftTradeResponse(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public struct GiftTradeResponse { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct PokemonCompareResponse { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct PokemonTradeResponse { + // 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. + + public var result: RouteActivityResponseProto.PokemonTradeResponse.Result = .unset + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidPokemon // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidPokemon + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidPokemon: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + } + + public init() {} + + fileprivate var _activityReward: LootProto? = nil + fileprivate var _postcardData: ActivityPostcardData? = nil +} + +#if swift(>=4.2) + +extension RouteActivityResponseProto.PokemonTradeResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteActivityResponseProto.PokemonTradeResponse.Result] = [ + .unset, + .success, + .errorInvalidPokemon, + ] +} + +#endif // swift(>=4.2) + +public struct RouteActivityType { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ActivityType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case noActivity // = 1 + case activityPokemonTrade // = 2 + case activityPokemonCompare // = 3 + case activityGiftTrade // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .noActivity + case 2: self = .activityPokemonTrade + case 3: self = .activityPokemonCompare + case 4: self = .activityGiftTrade + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .noActivity: return 1 + case .activityPokemonTrade: return 2 + case .activityPokemonCompare: return 3 + case .activityGiftTrade: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RouteActivityType.ActivityType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteActivityType.ActivityType] = [ + .unset, + .noActivity, + .activityPokemonTrade, + .activityPokemonCompare, + .activityGiftTrade, + ] +} + +#endif // swift(>=4.2) + +public struct RouteBadgeLevel { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum BadgeLevel: SwiftProtobuf.Enum { + public typealias RawValue = Int + case routeBadgeUnset // = 0 + case routeBadgeBronze // = 1 + case routeBadgeSilver // = 2 + case routeBadgeGold // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .routeBadgeUnset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .routeBadgeUnset + case 1: self = .routeBadgeBronze + case 2: self = .routeBadgeSilver + case 3: self = .routeBadgeGold + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .routeBadgeUnset: return 0 + case .routeBadgeBronze: return 1 + case .routeBadgeSilver: return 2 + case .routeBadgeGold: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RouteBadgeLevel.BadgeLevel: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteBadgeLevel.BadgeLevel] = [ + .routeBadgeUnset, + .routeBadgeBronze, + .routeBadgeSilver, + .routeBadgeGold, + ] +} + +#endif // swift(>=4.2) + +public struct RouteBadgeListEntry { + // 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. + + public var routeID: String = String() + + public var routeType: RouteType = .unset + + public var startLat: Double = 0 + + public var startLng: Double = 0 + + public var routeName: String = String() + + public var routeImageURL: String = String() + + public var lastPlayEndTime: Int64 = 0 + + public var numCompletions: Int32 = 0 + + public var routeDurationSeconds: Int64 = 0 + + public var numUniqueStampsCollected: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteBadgeSettingsProto { + // 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. + + public var target: [Int32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteCreationProto { + // 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. + + public var createdTime: Int64 = 0 + + public var lastUpdateTime: Int64 = 0 + + public var status: RouteCreationProto.Status = .unset + + public var rejectionReason: [RouteCreationProto.RejectionReason] = [] + + public var rejectedHash: [Int64] = [] + + public var route: SharedRouteProto { + get {return _route ?? SharedRouteProto()} + set {_route = newValue} + } + /// Returns true if `route` has been explicitly set. + public var hasRoute: Bool {return self._route != nil} + /// Clears the value of `route`. Subsequent reads from it will return its default value. + public mutating func clearRoute() {self._route = nil} + + public var paused: Bool = false + + public var moderationReportID: String = String() + + public var editablePostRejection: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case inProgress // = 1 + case submitted // = 2 + case rejected // = 3 + case submittedPendingReview // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .inProgress + case 2: self = .submitted + case 3: self = .rejected + case 4: self = .submittedPendingReview + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .inProgress: return 1 + case .submitted: return 2 + case .rejected: return 3 + case .submittedPendingReview: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct RejectionReason { + // 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. + + public var reasonCode: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _route: SharedRouteProto? = nil +} + +#if swift(>=4.2) + +extension RouteCreationProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteCreationProto.Status] = [ + .unset, + .inProgress, + .submitted, + .rejected, + .submittedPendingReview, + ] +} + +#endif // swift(>=4.2) + +public struct RouteCreationsProto { + // 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. + + public var route: [RouteCreationProto] = [] + + public var isOfficialCreator: Bool = false + + public var recentlySubmittedRoute: [RouteCreationProto] = [] + + public var notEligible: Bool = false + + public var recentlySubmittedRoutesLastRefreshTimestampMs: Int64 = 0 + + public var moderationRetryTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteDiscoverySettingsProto { + // 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. + + public var nearbyVisibleRadiusMeters: Float = 0 + + public var minPlayerLevel: Int32 = 0 + + public var popularRoutesFraction: Float = 0 + + public var newRouteThreshold: Int32 = 0 + + public var maxRoutesViewable: Int32 = 0 + + public var maxClientMapPanningDistanceMeters: Float = 0 + + public var routeDiscoveryFilteringMaxPoiDistance: Int32 = 0 + + public var routeDiscoveryFilteringMinPoiDistance: Int32 = 0 + + public var routeDiscoveryFilteringMaxPlayerDistance: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteDiscoveryTelemetry { + // 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. + + public var routeDiscoveryTelemetryID: RouteDiscoveryTelemetryIds = .routeDiscoveryOpen + + public var percent: Double = 0 + + public var routeID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteErrorTelemetry { + // 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. + + public var routeErrorTelemetryID: RouteErrorTelemetryIds = .routeErrorDefault + + public var errorDescription: String = String() + + public var timestamp: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteGlobalSettingsProto { + // 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. + + public var enableRoutes: Bool = false + + public var enablePoiDetailCaching: Bool = false + + public var enableRoutePlay: Bool = false + + public var enableRouteTappables: Bool = false + + public var maxClientNearbyMapPanningDistanceMeters: Float = 0 + + public var distanceToResumeRouteMeters: Float = 0 + + public var minimumClientVersion: String = String() + + public var minimumClientVersionToPlay: String = String() + + public var minimumClientVersionToCreate: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteImageProto { + // 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. + + public var imageURL: String = String() + + public var borderColorHex: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteNearbyNotifShownOutProto { + // 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. + + public var result: RouteNearbyNotifShownOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RouteNearbyNotifShownOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteNearbyNotifShownOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct RouteNearbyNotifShownProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteNpcGiftSettingsProto { + // 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. + + public var maxNearbyPoiCount: Int32 = 0 + + public var maxS2CellQueryCount: Int32 = 0 + + public var maxNearbyPoiDistanceMeters: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RoutePathEditParamsProto { + // 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. + + public var enabled: Bool = false + + public var useAutoEditing: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RoutePin { + // 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. + + public var latDegrees: Double = 0 + + public var lngDegrees: Double = 0 + + public var creatorInfo: CreatorInfo { + get {return _creatorInfo ?? CreatorInfo()} + set {_creatorInfo = newValue} + } + /// Returns true if `creatorInfo` has been explicitly set. + public var hasCreatorInfo: Bool {return self._creatorInfo != nil} + /// Clears the value of `creatorInfo`. Subsequent reads from it will return its default value. + public mutating func clearCreatorInfo() {self._creatorInfo = nil} + + public var lastUpdatedTimestampMs: Int64 = 0 + + public var likeVoteTotal: Int64 = 0 + + public var pinTag: String = String() + + public var frameID: String = String() + + public var pinID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _creatorInfo: CreatorInfo? = nil +} + +public struct RoutePinSettingsProto { + // 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. + + public var maxPinsPerRoute: Int32 = 0 + + public var maxDistanceFromRouteM: Float = 0 + + public var minDistanceBetweenPinsM: Float = 0 + + public var pinTag: [String] = [] + + public var frameID: [String] = [] + + public var pinReportReason: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RoutePlayProto { + // 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. + + public var playVersion: Int32 { + get {return _storage._playVersion} + set {_uniqueStorage()._playVersion = newValue} + } + + public var expirationTimeMs: Int64 { + get {return _storage._expirationTimeMs} + set {_uniqueStorage()._expirationTimeMs = newValue} + } + + public var startTimeMs: Int64 { + get {return _storage._startTimeMs} + set {_uniqueStorage()._startTimeMs = newValue} + } + + public var uniquelyAcquiredStampCount: Int32 { + get {return _storage._uniquelyAcquiredStampCount} + set {_uniqueStorage()._uniquelyAcquiredStampCount = newValue} + } + + public var completedWalk: Bool { + get {return _storage._completedWalk} + set {_uniqueStorage()._completedWalk = newValue} + } + + public var paused: Bool { + get {return _storage._paused} + set {_uniqueStorage()._paused = newValue} + } + + public var acquiredReward: Bool { + get {return _storage._acquiredReward} + set {_uniqueStorage()._acquiredReward = newValue} + } + + public var hasRated_p: Bool { + get {return _storage._hasRated_p} + set {_uniqueStorage()._hasRated_p = newValue} + } + + public var route: SharedRouteProto { + get {return _storage._route ?? SharedRouteProto()} + set {_uniqueStorage()._route = newValue} + } + /// Returns true if `route` has been explicitly set. + public var hasRoute: Bool {return _storage._route != nil} + /// Clears the value of `route`. Subsequent reads from it will return its default value. + public mutating func clearRoute() {_uniqueStorage()._route = nil} + + public var playerBreadcrumbs: [RouteWaypointProto] { + get {return _storage._playerBreadcrumbs} + set {_uniqueStorage()._playerBreadcrumbs = newValue} + } + + public var lastProgressTimeMs: Int64 { + get {return _storage._lastProgressTimeMs} + set {_uniqueStorage()._lastProgressTimeMs = newValue} + } + + public var isFirstTime: Bool { + get {return _storage._isFirstTime} + set {_uniqueStorage()._isFirstTime = newValue} + } + + public var activeBonuses: [BonusBoxProto] { + get {return _storage._activeBonuses} + set {_uniqueStorage()._activeBonuses = newValue} + } + + public var totalDistanceTravelledMeters: Double { + get {return _storage._totalDistanceTravelledMeters} + set {_uniqueStorage()._totalDistanceTravelledMeters = newValue} + } + + public var bonusDistanceTravelledMeters: Double { + get {return _storage._bonusDistanceTravelledMeters} + set {_uniqueStorage()._bonusDistanceTravelledMeters = newValue} + } + + public var spawnedTappables: [Tappable] { + get {return _storage._spawnedTappables} + set {_uniqueStorage()._spawnedTappables = newValue} + } + + public var travelInReverse: Bool { + get {return _storage._travelInReverse} + set {_uniqueStorage()._travelInReverse = newValue} + } + + public var isFirstTravelToday: Bool { + get {return _storage._isFirstTravelToday} + set {_uniqueStorage()._isFirstTravelToday = newValue} + } + + public var npcEncounter: NpcEncounterProto { + get {return _storage._npcEncounter ?? NpcEncounterProto()} + set {_uniqueStorage()._npcEncounter = newValue} + } + /// Returns true if `npcEncounter` has been explicitly set. + public var hasNpcEncounter: Bool {return _storage._npcEncounter != nil} + /// Clears the value of `npcEncounter`. Subsequent reads from it will return its default value. + public mutating func clearNpcEncounter() {_uniqueStorage()._npcEncounter = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct RoutePlaySettingsProto { + // 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. + + public var minPlayerLevel: Int32 { + get {return _storage._minPlayerLevel} + set {_uniqueStorage()._minPlayerLevel = newValue} + } + + public var routeCooldownMinutes: Int32 { + get {return _storage._routeCooldownMinutes} + set {_uniqueStorage()._routeCooldownMinutes = newValue} + } + + public var routeExpirationMinutes: Int32 { + get {return _storage._routeExpirationMinutes} + set {_uniqueStorage()._routeExpirationMinutes = newValue} + } + + public var routePuaseDistanceM: Int32 { + get {return _storage._routePuaseDistanceM} + set {_uniqueStorage()._routePuaseDistanceM = newValue} + } + + public var pauseDistanceMeters: Int32 { + get {return _storage._pauseDistanceMeters} + set {_uniqueStorage()._pauseDistanceMeters = newValue} + } + + public var pauseDurationS: Int32 { + get {return _storage._pauseDurationS} + set {_uniqueStorage()._pauseDurationS = newValue} + } + + public var incenseTimeBetweenEncounterMultiplier: Float { + get {return _storage._incenseTimeBetweenEncounterMultiplier} + set {_uniqueStorage()._incenseTimeBetweenEncounterMultiplier = newValue} + } + + public var buddyTotalCandyDistanceMultiplier: Float { + get {return _storage._buddyTotalCandyDistanceMultiplier} + set {_uniqueStorage()._buddyTotalCandyDistanceMultiplier = newValue} + } + + public var buddyGiftCooldownDurationMultiplier: Float { + get {return _storage._buddyGiftCooldownDurationMultiplier} + set {_uniqueStorage()._buddyGiftCooldownDurationMultiplier = newValue} + } + + public var allRouteBonuses: [BonusBoxProto] { + get {return _storage._allRouteBonuses} + set {_uniqueStorage()._allRouteBonuses = newValue} + } + + public var newRouteBonuses: [BonusBoxProto] { + get {return _storage._newRouteBonuses} + set {_uniqueStorage()._newRouteBonuses = newValue} + } + + public var badgeXpBonus: [Int32] { + get {return _storage._badgeXpBonus} + set {_uniqueStorage()._badgeXpBonus = newValue} + } + + public var badgeItemBonus: [Int32] { + get {return _storage._badgeItemBonus} + set {_uniqueStorage()._badgeItemBonus = newValue} + } + + public var bonusActiveDistanceThresholdMeters: Int32 { + get {return _storage._bonusActiveDistanceThresholdMeters} + set {_uniqueStorage()._bonusActiveDistanceThresholdMeters = newValue} + } + + public var playerBreadcrumbTrailMaxCount: Int32 { + get {return _storage._playerBreadcrumbTrailMaxCount} + set {_uniqueStorage()._playerBreadcrumbTrailMaxCount = newValue} + } + + public var marginPercentage: Float { + get {return _storage._marginPercentage} + set {_uniqueStorage()._marginPercentage = newValue} + } + + public var marginMinimumMeters: Int32 { + get {return _storage._marginMinimumMeters} + set {_uniqueStorage()._marginMinimumMeters = newValue} + } + + public var resumeRangeMeters: Int32 { + get {return _storage._resumeRangeMeters} + set {_uniqueStorage()._resumeRangeMeters = newValue} + } + + public var routeEngagementStatsShardCount: Int32 { + get {return _storage._routeEngagementStatsShardCount} + set {_uniqueStorage()._routeEngagementStatsShardCount = newValue} + } + + public var npcVisualSpawnRangeMeters: Int32 { + get {return _storage._npcVisualSpawnRangeMeters} + set {_uniqueStorage()._npcVisualSpawnRangeMeters = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct RoutePlaySpawnSettingsProto { + // 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. + + public var minDistanceBetweenRouteEncountersM: Int32 = 0 + + public var routeSpawnTable: [SpawnTablePokemonProto] = [] + + public var routeSpawnTableProbability: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RoutePlayStatus { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorRouteNotFound // = 3 + case errorFortNotFound // = 4 + case errorInvalidStartFort // = 5 + case errorWrongWaypoint // = 6 + case errorRoutePlayExpired // = 7 + case errorRouteInCooldown // = 8 + case errorRoutePlayNotFound // = 9 + case errorPlayerLevelTooLow // = 10 + case errorU13NoPermission // = 11 + case errorRouteClosed // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorRouteNotFound + case 4: self = .errorFortNotFound + case 5: self = .errorInvalidStartFort + case 6: self = .errorWrongWaypoint + case 7: self = .errorRoutePlayExpired + case 8: self = .errorRouteInCooldown + case 9: self = .errorRoutePlayNotFound + case 10: self = .errorPlayerLevelTooLow + case 11: self = .errorU13NoPermission + case 12: self = .errorRouteClosed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorRouteNotFound: return 3 + case .errorFortNotFound: return 4 + case .errorInvalidStartFort: return 5 + case .errorWrongWaypoint: return 6 + case .errorRoutePlayExpired: return 7 + case .errorRouteInCooldown: return 8 + case .errorRoutePlayNotFound: return 9 + case .errorPlayerLevelTooLow: return 10 + case .errorU13NoPermission: return 11 + case .errorRouteClosed: return 12 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RoutePlayStatus.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RoutePlayStatus.Status] = [ + .unset, + .success, + .errorUnknown, + .errorRouteNotFound, + .errorFortNotFound, + .errorInvalidStartFort, + .errorWrongWaypoint, + .errorRoutePlayExpired, + .errorRouteInCooldown, + .errorRoutePlayNotFound, + .errorPlayerLevelTooLow, + .errorU13NoPermission, + .errorRouteClosed, + ] +} + +#endif // swift(>=4.2) + +public struct RoutePlayTappableSpawnedTelemetry { + // 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. + + public var type: Tappable.TappableType = .unset + + public var tappableID: Int64 = 0 + + public var routeID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RoutePoiAnchor { + // 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. + + public var anchor: RouteWaypointProto { + get {return _anchor ?? RouteWaypointProto()} + set {_anchor = newValue} + } + /// Returns true if `anchor` has been explicitly set. + public var hasAnchor: Bool {return self._anchor != nil} + /// Clears the value of `anchor`. Subsequent reads from it will return its default value. + public mutating func clearAnchor() {self._anchor = nil} + + public var imageURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _anchor: RouteWaypointProto? = nil +} + +public struct RouteSimplificationAlgorithm { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum SimplificationAlgorithm: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case douglasPeucker // = 1 + case visvalingamWhyatt // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .douglasPeucker + case 2: self = .visvalingamWhyatt + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .douglasPeucker: return 1 + case .visvalingamWhyatt: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RouteSimplificationAlgorithm.SimplificationAlgorithm: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteSimplificationAlgorithm.SimplificationAlgorithm] = [ + .unset, + .douglasPeucker, + .visvalingamWhyatt, + ] +} + +#endif // swift(>=4.2) + +public struct RouteSmoothingParamsProto { + // 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. + + public var enabled: Bool = false + + public var numBreadcrumbsToComputeMean: Int32 = 0 + + public var maxDistanceThresholdFromExtrapolatedPoint: Int32 = 0 + + public var meanVectorBlendRatio: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteStamp { + // 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. + + public var type: RouteStamp.TypeEnum = .unset + + public var color: RouteStamp.Color = .unset + + public var stampID: String = String() + + public var assetID: String = String() + + public var category: String = String() + + public var stampIndex: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Color: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case color179D62 // = 1 + case e10012 // = 2 + case color1365Ae // = 3 + case e89A05 // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .color179D62 + case 2: self = .e10012 + case 3: self = .color1365Ae + case 4: self = .e89A05 + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .color179D62: return 1 + case .e10012: return 2 + case .color1365Ae: return 3 + case .e89A05: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum TypeEnum: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RouteStamp.Color: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteStamp.Color] = [ + .unset, + .color179D62, + .e10012, + .color1365Ae, + .e89A05, + ] +} + +extension RouteStamp.TypeEnum: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteStamp.TypeEnum] = [ + .unset, + ] +} + +#endif // swift(>=4.2) + +public struct RouteStampCategorySettingsProto { + // 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. + + public var assetID: String = String() + + public var category: String = String() + + public var collectionSize: Int32 = 0 + + public var sortOrder: Int32 = 0 + + public var active: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteStats { + // 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. + + public var numCompletions: Int64 { + get {return _storage._numCompletions} + set {_uniqueStorage()._numCompletions = newValue} + } + + public var routeLevel: Int64 { + get {return _storage._routeLevel} + set {_uniqueStorage()._routeLevel = newValue} + } + + public var numFiveStars: Int64 { + get {return _storage._numFiveStars} + set {_uniqueStorage()._numFiveStars = newValue} + } + + public var numFourStars: Int64 { + get {return _storage._numFourStars} + set {_uniqueStorage()._numFourStars = newValue} + } + + public var numThreeStars: Int64 { + get {return _storage._numThreeStars} + set {_uniqueStorage()._numThreeStars = newValue} + } + + public var numTwoStars: Int64 { + get {return _storage._numTwoStars} + set {_uniqueStorage()._numTwoStars = newValue} + } + + public var numOneStars: Int64 { + get {return _storage._numOneStars} + set {_uniqueStorage()._numOneStars = newValue} + } + + public var numRatings: Int64 { + get {return _storage._numRatings} + set {_uniqueStorage()._numRatings = newValue} + } + + public var firstPlayedTimeMs: Int64 { + get {return _storage._firstPlayedTimeMs} + set {_uniqueStorage()._firstPlayedTimeMs = newValue} + } + + public var lastPlayedTimeMs: Int64 { + get {return _storage._lastPlayedTimeMs} + set {_uniqueStorage()._lastPlayedTimeMs = newValue} + } + + public var weeklyNumCompletions: Int64 { + get {return _storage._weeklyNumCompletions} + set {_uniqueStorage()._weeklyNumCompletions = newValue} + } + + public var totalDistanceTravelledMeters: Double { + get {return _storage._totalDistanceTravelledMeters} + set {_uniqueStorage()._totalDistanceTravelledMeters = newValue} + } + + public var weeklyDistanceTravelledMeters: Double { + get {return _storage._weeklyDistanceTravelledMeters} + set {_uniqueStorage()._weeklyDistanceTravelledMeters = newValue} + } + + public var lastSyncedTimeMs: Int64 { + get {return _storage._lastSyncedTimeMs} + set {_uniqueStorage()._lastSyncedTimeMs = newValue} + } + + public var numNameOrDescriptionIssues: Int64 { + get {return _storage._numNameOrDescriptionIssues} + set {_uniqueStorage()._numNameOrDescriptionIssues = newValue} + } + + public var numShapeIssues: Int64 { + get {return _storage._numShapeIssues} + set {_uniqueStorage()._numShapeIssues = newValue} + } + + public var numConnectivityIssues: Int64 { + get {return _storage._numConnectivityIssues} + set {_uniqueStorage()._numConnectivityIssues = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct RouteSubmissionStatus { + // 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. + + public var status: RouteSubmissionStatus.Status = .unset + + public var submissionStatusUpdateTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case underReview // = 1 + case published // = 2 + case decayed // = 3 + case rejected // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .underReview + case 2: self = .published + case 3: self = .decayed + case 4: self = .rejected + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .underReview: return 1 + case .published: return 2 + case .decayed: return 3 + case .rejected: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RouteSubmissionStatus.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteSubmissionStatus.Status] = [ + .unset, + .underReview, + .published, + .decayed, + .rejected, + ] +} + +#endif // swift(>=4.2) + +public struct RouteUpdateSeenOutProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteUpdateSeenProto { + // 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. + + public var routeID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RouteValidation { + // 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. + + public var error: [RouteValidation.Error] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Error: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case invalidNumForts // = 1 + case invalidNumCheckpoints // = 2 + case invalidTotalDistance // = 3 + case invalidDistanceBetweenForts // = 4 + case invalidDistanceBetweenCheckpoints // = 5 + case invalidFort // = 6 + case duplicateForts // = 7 + case invalidStartOrEnd // = 8 + case invalidNameLength // = 9 + case invalidDescriptionLength // = 10 + case tooManyCheckpointsBetweenForts // = 11 + case invalidMainImage // = 12 + case badName // = 13 + case badDescription // = 14 + case endAnchorTooFar // = 15 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .invalidNumForts + case 2: self = .invalidNumCheckpoints + case 3: self = .invalidTotalDistance + case 4: self = .invalidDistanceBetweenForts + case 5: self = .invalidDistanceBetweenCheckpoints + case 6: self = .invalidFort + case 7: self = .duplicateForts + case 8: self = .invalidStartOrEnd + case 9: self = .invalidNameLength + case 10: self = .invalidDescriptionLength + case 11: self = .tooManyCheckpointsBetweenForts + case 12: self = .invalidMainImage + case 13: self = .badName + case 14: self = .badDescription + case 15: self = .endAnchorTooFar + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .invalidNumForts: return 1 + case .invalidNumCheckpoints: return 2 + case .invalidTotalDistance: return 3 + case .invalidDistanceBetweenForts: return 4 + case .invalidDistanceBetweenCheckpoints: return 5 + case .invalidFort: return 6 + case .duplicateForts: return 7 + case .invalidStartOrEnd: return 8 + case .invalidNameLength: return 9 + case .invalidDescriptionLength: return 10 + case .tooManyCheckpointsBetweenForts: return 11 + case .invalidMainImage: return 12 + case .badName: return 13 + case .badDescription: return 14 + case .endAnchorTooFar: return 15 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RouteValidation.Error: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RouteValidation.Error] = [ + .unset, + .invalidNumForts, + .invalidNumCheckpoints, + .invalidTotalDistance, + .invalidDistanceBetweenForts, + .invalidDistanceBetweenCheckpoints, + .invalidFort, + .duplicateForts, + .invalidStartOrEnd, + .invalidNameLength, + .invalidDescriptionLength, + .tooManyCheckpointsBetweenForts, + .invalidMainImage, + .badName, + .badDescription, + .endAnchorTooFar, + ] +} + +#endif // swift(>=4.2) + +public struct RouteWaypointProto { + // 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. + + public var fortID: String = String() + + public var latDegrees: Double = 0 + + public var lngDegrees: Double = 0 + + public var elevationInMeters: Double = 0 + + public var timestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RoutesCreationSettingsProto { + // 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. + + public var maxOpenRoutes: Int32 { + get {return _storage._maxOpenRoutes} + set {_uniqueStorage()._maxOpenRoutes = newValue} + } + + public var minTotalDistanceM: Float { + get {return _storage._minTotalDistanceM} + set {_uniqueStorage()._minTotalDistanceM = newValue} + } + + public var maxTotalDistanceM: Float { + get {return _storage._maxTotalDistanceM} + set {_uniqueStorage()._maxTotalDistanceM = newValue} + } + + public var maxNameLength: Int32 { + get {return _storage._maxNameLength} + set {_uniqueStorage()._maxNameLength = newValue} + } + + public var maxDescriptionLength: Int32 { + get {return _storage._maxDescriptionLength} + set {_uniqueStorage()._maxDescriptionLength = newValue} + } + + public var minPlayerLevel: UInt32 { + get {return _storage._minPlayerLevel} + set {_uniqueStorage()._minPlayerLevel = newValue} + } + + public var enabled: Bool { + get {return _storage._enabled} + set {_uniqueStorage()._enabled = newValue} + } + + public var enableImmediateRouteIngestion: Bool { + get {return _storage._enableImmediateRouteIngestion} + set {_uniqueStorage()._enableImmediateRouteIngestion = newValue} + } + + public var minBreadcrumbDistanceDeltaMeters: Int32 { + get {return _storage._minBreadcrumbDistanceDeltaMeters} + set {_uniqueStorage()._minBreadcrumbDistanceDeltaMeters = newValue} + } + + public var creationLimitWindowDays: Int32 { + get {return _storage._creationLimitWindowDays} + set {_uniqueStorage()._creationLimitWindowDays = newValue} + } + + public var creationLimitPerWindow: Int32 { + get {return _storage._creationLimitPerWindow} + set {_uniqueStorage()._creationLimitPerWindow = newValue} + } + + public var creationLimitWindowOffsetMs: Int64 { + get {return _storage._creationLimitWindowOffsetMs} + set {_uniqueStorage()._creationLimitWindowOffsetMs = newValue} + } + + public var maxDistanceFromAnchorPoisM: Float { + get {return _storage._maxDistanceFromAnchorPoisM} + set {_uniqueStorage()._maxDistanceFromAnchorPoisM = newValue} + } + + public var algorithm: RouteSimplificationAlgorithm.SimplificationAlgorithm { + get {return _storage._algorithm} + set {_uniqueStorage()._algorithm = newValue} + } + + public var simplificationTolerance: Float { + get {return _storage._simplificationTolerance} + set {_uniqueStorage()._simplificationTolerance = newValue} + } + + public var maxDistanceWarningDistanceMeters: Int32 { + get {return _storage._maxDistanceWarningDistanceMeters} + set {_uniqueStorage()._maxDistanceWarningDistanceMeters = newValue} + } + + public var maxRecordingSpeedMetersPerSecond: Int32 { + get {return _storage._maxRecordingSpeedMetersPerSecond} + set {_uniqueStorage()._maxRecordingSpeedMetersPerSecond = newValue} + } + + public var moderationEnabled: Bool { + get {return _storage._moderationEnabled} + set {_uniqueStorage()._moderationEnabled = newValue} + } + + public var clientBreadcrumbSettings: ClientBreadcrumbSessionSettings { + get {return _storage._clientBreadcrumbSettings ?? ClientBreadcrumbSessionSettings()} + set {_uniqueStorage()._clientBreadcrumbSettings = newValue} + } + /// Returns true if `clientBreadcrumbSettings` has been explicitly set. + public var hasClientBreadcrumbSettings: Bool {return _storage._clientBreadcrumbSettings != nil} + /// Clears the value of `clientBreadcrumbSettings`. Subsequent reads from it will return its default value. + public mutating func clearClientBreadcrumbSettings() {_uniqueStorage()._clientBreadcrumbSettings = nil} + + public var disabledTags: [String] { + get {return _storage._disabledTags} + set {_uniqueStorage()._disabledTags = newValue} + } + + public var durationDistanceToSpeedMultiplier: Float { + get {return _storage._durationDistanceToSpeedMultiplier} + set {_uniqueStorage()._durationDistanceToSpeedMultiplier = newValue} + } + + public var durationBufferS: Int32 { + get {return _storage._durationBufferS} + set {_uniqueStorage()._durationBufferS = newValue} + } + + public var minimumDistanceBetweenPinsM: Int32 { + get {return _storage._minimumDistanceBetweenPinsM} + set {_uniqueStorage()._minimumDistanceBetweenPinsM = newValue} + } + + public var maxPinDistanceFromRouteM: Int32 { + get {return _storage._maxPinDistanceFromRouteM} + set {_uniqueStorage()._maxPinDistanceFromRouteM = newValue} + } + + public var interactionRangeMeters: Int32 { + get {return _storage._interactionRangeMeters} + set {_uniqueStorage()._interactionRangeMeters = newValue} + } + + public var maxClientMapPanningDistanceMeters: Float { + get {return _storage._maxClientMapPanningDistanceMeters} + set {_uniqueStorage()._maxClientMapPanningDistanceMeters = newValue} + } + + public var resumeRangeMeters: Int32 { + get {return _storage._resumeRangeMeters} + set {_uniqueStorage()._resumeRangeMeters = newValue} + } + + public var routeSmoothingParams: RouteSmoothingParamsProto { + get {return _storage._routeSmoothingParams ?? RouteSmoothingParamsProto()} + set {_uniqueStorage()._routeSmoothingParams = newValue} + } + /// Returns true if `routeSmoothingParams` has been explicitly set. + public var hasRouteSmoothingParams: Bool {return _storage._routeSmoothingParams != nil} + /// Clears the value of `routeSmoothingParams`. Subsequent reads from it will return its default value. + public mutating func clearRouteSmoothingParams() {_uniqueStorage()._routeSmoothingParams = nil} + + public var noModerationRouteRetryThresholdMs: Int64 { + get {return _storage._noModerationRouteRetryThresholdMs} + set {_uniqueStorage()._noModerationRouteRetryThresholdMs = newValue} + } + + public var noModerationRouteReportingThresholdMs: Int64 { + get {return _storage._noModerationRouteReportingThresholdMs} + set {_uniqueStorage()._noModerationRouteReportingThresholdMs = newValue} + } + + public var routePathEditParams: RoutePathEditParamsProto { + get {return _storage._routePathEditParams ?? RoutePathEditParamsProto()} + set {_uniqueStorage()._routePathEditParams = newValue} + } + /// Returns true if `routePathEditParams` has been explicitly set. + public var hasRoutePathEditParams: Bool {return _storage._routePathEditParams != nil} + /// Clears the value of `routePathEditParams`. Subsequent reads from it will return its default value. + public mutating func clearRoutePathEditParams() {_uniqueStorage()._routePathEditParams = nil} + + public var maxBreadcrumbDistanceDeltaMeters: Int32 { + get {return _storage._maxBreadcrumbDistanceDeltaMeters} + set {_uniqueStorage()._maxBreadcrumbDistanceDeltaMeters = newValue} + } + + public var maxRecallCountThreshold: Int32 { + get {return _storage._maxRecallCountThreshold} + set {_uniqueStorage()._maxRecallCountThreshold = newValue} + } + + public var allowableGpsDriftMeters: Int32 { + get {return _storage._allowableGpsDriftMeters} + set {_uniqueStorage()._allowableGpsDriftMeters = newValue} + } + + public var maxPostPunishmentBanTimeMs: Int64 { + get {return _storage._maxPostPunishmentBanTimeMs} + set {_uniqueStorage()._maxPostPunishmentBanTimeMs = newValue} + } + + public var maxSubmissionCountThreshold: Int32 { + get {return _storage._maxSubmissionCountThreshold} + set {_uniqueStorage()._maxSubmissionCountThreshold = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct RoutesNearbyNotifSettingsProto { + // 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. + + public var maxNotifs: Int32 = 0 + + public var timeBetweenNotifsMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RoutesPartyPlayInteroperabilitySettingsProto { + // 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. + + public var consumptionInteroperable: Bool = false + + public var creationInteroperable: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RpcErrorData { + // 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. + + public var action: Method = .unset + + public var status: RpcErrorData.RpcStatus = .undefined + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum RpcStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case success // = 1 + case badResponse // = 3 + case actionError // = 4 + case dispatchError // = 5 + case serverError // = 6 + case assignmentError // = 7 + case protocolError // = 8 + case authenticationError // = 9 + case cancelledRequest // = 10 + case unknownError // = 11 + case noretriesError // = 12 + case unauthorizedError // = 13 + case parsingError // = 14 + case accessDenied // = 15 + case accessSuspended // = 16 + case UNRECOGNIZED(Int) + + public init() { + self = .undefined + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .success + case 3: self = .badResponse + case 4: self = .actionError + case 5: self = .dispatchError + case 6: self = .serverError + case 7: self = .assignmentError + case 8: self = .protocolError + case 9: self = .authenticationError + case 10: self = .cancelledRequest + case 11: self = .unknownError + case 12: self = .noretriesError + case 13: self = .unauthorizedError + case 14: self = .parsingError + case 15: self = .accessDenied + case 16: self = .accessSuspended + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .success: return 1 + case .badResponse: return 3 + case .actionError: return 4 + case .dispatchError: return 5 + case .serverError: return 6 + case .assignmentError: return 7 + case .protocolError: return 8 + case .authenticationError: return 9 + case .cancelledRequest: return 10 + case .unknownError: return 11 + case .noretriesError: return 12 + case .unauthorizedError: return 13 + case .parsingError: return 14 + case .accessDenied: return 15 + case .accessSuspended: return 16 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RpcErrorData.RpcStatus: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RpcErrorData.RpcStatus] = [ + .undefined, + .success, + .badResponse, + .actionError, + .dispatchError, + .serverError, + .assignmentError, + .protocolError, + .authenticationError, + .cancelledRequest, + .unknownError, + .noretriesError, + .unauthorizedError, + .parsingError, + .accessDenied, + .accessSuspended, + ] +} + +#endif // swift(>=4.2) + +public struct RpcResponseTelemetry { + // 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. + + public var windowDuration: Float = 0 + + public var responseTimings: [RpcResponseTime] = [] + + public var connectionType: RpcResponseTelemetry.ConnectionType = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ConnectionType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case wifi // = 1 + case cellDefault // = 2 + case cell1G // = 3 + case cell2G // = 4 + case cell3G // = 5 + case cell4G // = 6 + case cell5G // = 7 + case cell6G // = 8 + case cell7G // = 9 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .wifi + case 2: self = .cellDefault + case 3: self = .cell1G + case 4: self = .cell2G + case 5: self = .cell3G + case 6: self = .cell4G + case 7: self = .cell5G + case 8: self = .cell6G + case 9: self = .cell7G + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .wifi: return 1 + case .cellDefault: return 2 + case .cell1G: return 3 + case .cell2G: return 4 + case .cell3G: return 5 + case .cell4G: return 6 + case .cell5G: return 7 + case .cell6G: return 8 + case .cell7G: return 9 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension RpcResponseTelemetry.ConnectionType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [RpcResponseTelemetry.ConnectionType] = [ + .unknown, + .wifi, + .cellDefault, + .cell1G, + .cell2G, + .cell3G, + .cell4G, + .cell5G, + .cell6G, + .cell7G, + ] +} + +#endif // swift(>=4.2) + +public struct RpcResponseTime { + // 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. + + public var rpcID: Method = .unset + + public var countCall: Int32 = 0 + + public var averageResponseTime: Float = 0 + + public var timeoutCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RpcSocketResponseTelemetry { + // 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. + + public var windowDuration: Float = 0 + + public var responseTimings: [RpcSocketResponseTime] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct RpcSocketResponseTime { + // 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. + + public var requestID: UInt64 = 0 + + public var probeID: String = String() + + public var responseTime: Float = 0 + + public var sideChannel: Bool = false + + public var adHoc: Bool = false + + public var adHocDelay: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SaturdayBleCompleteRequestProto { + // 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. + + public var transactionID: Int64 = 0 + + public var nonce: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SaturdayBleFinalizeProto { + // 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. + + public var saturdaySendComplete: SaturdayBleSendCompleteProto { + get {return _saturdaySendComplete ?? SaturdayBleSendCompleteProto()} + set {_saturdaySendComplete = newValue} + } + /// Returns true if `saturdaySendComplete` has been explicitly set. + public var hasSaturdaySendComplete: Bool {return self._saturdaySendComplete != nil} + /// Clears the value of `saturdaySendComplete`. Subsequent reads from it will return its default value. + public mutating func clearSaturdaySendComplete() {self._saturdaySendComplete = nil} + + public var serverSignature: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _saturdaySendComplete: SaturdayBleSendCompleteProto? = nil +} + +public struct SaturdayBleSendCompleteProto { + // 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. + + public var nonce: String = String() + + public var applicationID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SaturdayBleSendPrepProto { + // 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. + + public var data: SaturdayCompositionData = .data0 + + public var transactionID: Int64 = 0 + + public var applicationID: String = String() + + public var nonce: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SaturdayBleSendProto { + // 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. + + public var serverResponse: SaturdayBleSendPrepProto { + get {return _serverResponse ?? SaturdayBleSendPrepProto()} + set {_serverResponse = newValue} + } + /// Returns true if `serverResponse` has been explicitly set. + public var hasServerResponse: Bool {return self._serverResponse != nil} + /// Clears the value of `serverResponse`. Subsequent reads from it will return its default value. + public mutating func clearServerResponse() {self._serverResponse = nil} + + public var serverSignature: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _serverResponse: SaturdayBleSendPrepProto? = nil +} + +public struct SaturdayCompleteOutProto { + // 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. + + public var status: SaturdayCompleteOutProto.Status = .unset + + public var lootAwarded: LootProto { + get {return _lootAwarded ?? LootProto()} + set {_lootAwarded = newValue} + } + /// Returns true if `lootAwarded` has been explicitly set. + public var hasLootAwarded: Bool {return self._lootAwarded != nil} + /// Clears the value of `lootAwarded`. Subsequent reads from it will return its default value. + public mutating func clearLootAwarded() {self._lootAwarded = nil} + + public var saturdayFinalizeResponse: SaturdayBleFinalizeProto { + get {return _saturdayFinalizeResponse ?? SaturdayBleFinalizeProto()} + set {_saturdayFinalizeResponse = newValue} + } + /// Returns true if `saturdayFinalizeResponse` has been explicitly set. + public var hasSaturdayFinalizeResponse: Bool {return self._saturdayFinalizeResponse != nil} + /// Clears the value of `saturdayFinalizeResponse`. Subsequent reads from it will return its default value. + public mutating func clearSaturdayFinalizeResponse() {self._saturdayFinalizeResponse = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failed // = 2 + case errorInvalidID // = 3 + case errorAlreadySent // = 4 + case errorInvalidTransactionID // = 5 + case errorMissingTransactionID // = 6 + case errorDailyLimit // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failed + case 3: self = .errorInvalidID + case 4: self = .errorAlreadySent + case 5: self = .errorInvalidTransactionID + case 6: self = .errorMissingTransactionID + case 7: self = .errorDailyLimit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failed: return 2 + case .errorInvalidID: return 3 + case .errorAlreadySent: return 4 + case .errorInvalidTransactionID: return 5 + case .errorMissingTransactionID: return 6 + case .errorDailyLimit: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _lootAwarded: LootProto? = nil + fileprivate var _saturdayFinalizeResponse: SaturdayBleFinalizeProto? = nil +} + +#if swift(>=4.2) + +extension SaturdayCompleteOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SaturdayCompleteOutProto.Status] = [ + .unset, + .success, + .failed, + .errorInvalidID, + .errorAlreadySent, + .errorInvalidTransactionID, + .errorMissingTransactionID, + .errorDailyLimit, + ] +} + +#endif // swift(>=4.2) + +public struct SaturdayCompleteProto { + // 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. + + public var saturdayShare: SaturdayBleCompleteRequestProto { + get {return _saturdayShare ?? SaturdayBleCompleteRequestProto()} + set {_saturdayShare = newValue} + } + /// Returns true if `saturdayShare` has been explicitly set. + public var hasSaturdayShare: Bool {return self._saturdayShare != nil} + /// Clears the value of `saturdayShare`. Subsequent reads from it will return its default value. + public mutating func clearSaturdayShare() {self._saturdayShare = nil} + + public var appSignature: Data = Data() + + public var firmwareSignature: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _saturdayShare: SaturdayBleCompleteRequestProto? = nil +} + +public struct SaturdaySettingsProto { + // 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. + + public var enabled: Bool = false + + public var maxSharesPerDay: Int32 = 0 + + public var dailyStreakGoal: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SaturdayStartOutProto { + // 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. + + public var status: SaturdayStartOutProto.Status = .unset + + public var sendPrep: SaturdayBleSendPrepProto { + get {return _sendPrep ?? SaturdayBleSendPrepProto()} + set {_sendPrep = newValue} + } + /// Returns true if `sendPrep` has been explicitly set. + public var hasSendPrep: Bool {return self._sendPrep != nil} + /// Clears the value of `sendPrep`. Subsequent reads from it will return its default value. + public mutating func clearSendPrep() {self._sendPrep = nil} + + public var serverSignature: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failed // = 2 + case errorInvalidID // = 3 + case errorAlreadySent // = 4 + case errorNoneSpecified // = 5 + case errorDailyLimit // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failed + case 3: self = .errorInvalidID + case 4: self = .errorAlreadySent + case 5: self = .errorNoneSpecified + case 6: self = .errorDailyLimit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failed: return 2 + case .errorInvalidID: return 3 + case .errorAlreadySent: return 4 + case .errorNoneSpecified: return 5 + case .errorDailyLimit: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _sendPrep: SaturdayBleSendPrepProto? = nil +} + +#if swift(>=4.2) + +extension SaturdayStartOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SaturdayStartOutProto.Status] = [ + .unset, + .success, + .failed, + .errorInvalidID, + .errorAlreadySent, + .errorNoneSpecified, + .errorDailyLimit, + ] +} + +#endif // swift(>=4.2) + +public struct SaturdayStartProto { + // 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. + + public var sendID: String = String() + + public var nonce: String = String() + + public var applicationID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SaveCombatPlayerPreferencesOutProto { + // 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. + + public var result: SaveCombatPlayerPreferencesOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SaveCombatPlayerPreferencesOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SaveCombatPlayerPreferencesOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct SaveCombatPlayerPreferencesProto { + // 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. + + public var preferences: CombatPlayerPreferencesProto { + get {return _preferences ?? CombatPlayerPreferencesProto()} + set {_preferences = newValue} + } + /// Returns true if `preferences` has been explicitly set. + public var hasPreferences: Bool {return self._preferences != nil} + /// Clears the value of `preferences`. Subsequent reads from it will return its default value. + public mutating func clearPreferences() {self._preferences = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _preferences: CombatPlayerPreferencesProto? = nil +} + +public struct SavePlayerPreferencesOutProto { + // 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. + + public var result: SavePlayerPreferencesOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SavePlayerPreferencesOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SavePlayerPreferencesOutProto.Result] = [ + .unset, + .success, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct SavePlayerPreferencesProto { + // 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. + + public var playerPreferencesProto: PlayerPreferencesProto { + get {return _playerPreferencesProto ?? PlayerPreferencesProto()} + set {_playerPreferencesProto = newValue} + } + /// Returns true if `playerPreferencesProto` has been explicitly set. + public var hasPlayerPreferencesProto: Bool {return self._playerPreferencesProto != nil} + /// Clears the value of `playerPreferencesProto`. Subsequent reads from it will return its default value. + public mutating func clearPlayerPreferencesProto() {self._playerPreferencesProto = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _playerPreferencesProto: PlayerPreferencesProto? = nil +} + +public struct SavePlayerSnapshotOutProto { + // 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. + + public var result: SavePlayerSnapshotOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case tooSoonToUpdate // = 2 + case errorFailedToUpdate // = 3 + case errorRequestTimedOut // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .tooSoonToUpdate + case 3: self = .errorFailedToUpdate + case 4: self = .errorRequestTimedOut + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .tooSoonToUpdate: return 2 + case .errorFailedToUpdate: return 3 + case .errorRequestTimedOut: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SavePlayerSnapshotOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SavePlayerSnapshotOutProto.Result] = [ + .unset, + .success, + .tooSoonToUpdate, + .errorFailedToUpdate, + .errorRequestTimedOut, + ] +} + +#endif // swift(>=4.2) + +public struct SavePlayerSnapshotProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SaveSocialPlayerSettingsOutProto { + // 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. + + public var result: SaveSocialPlayerSettingsOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SaveSocialPlayerSettingsOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SaveSocialPlayerSettingsOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct SaveSocialPlayerSettingsProto { + // 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. + + public var settings: SocialPlayerSettingsProto { + get {return _settings ?? SocialPlayerSettingsProto()} + set {_settings = newValue} + } + /// Returns true if `settings` has been explicitly set. + public var hasSettings: Bool {return self._settings != nil} + /// Clears the value of `settings`. Subsequent reads from it will return its default value. + public mutating func clearSettings() {self._settings = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _settings: SocialPlayerSettingsProto? = nil +} + +public struct ScanArchiveBuilderCancelEvent { + // 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. + + public var scanID: String = String() + + public var chunkID: UInt32 = 0 + + public var timeElapseMs: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ScanArchiveBuilderGetNextChunkEvent { + // 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. + + public var scanID: String = String() + + public var chunkFileSizeInBytes: UInt64 = 0 + + public var chunkID: UInt32 = 0 + + public var timeElapseMs: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ScanErrorEvent { + // 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. + + public var scanID: String = String() + + public var errorCode: ScanErrorEvent.Error = .unknown + + public var errorMessage: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Error: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case sqcNotReady // = 1 + case sqcBadInput // = 2 + case sqcBadModel // = 3 + case sqcModelReadFail // = 4 + case sqcDecryptFail // = 5 + case sqcUnpackFail // = 6 + case sqcNoInputFrames // = 7 + case sqcInterrupted // = 8 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .sqcNotReady + case 2: self = .sqcBadInput + case 3: self = .sqcBadModel + case 4: self = .sqcModelReadFail + case 5: self = .sqcDecryptFail + case 6: self = .sqcUnpackFail + case 7: self = .sqcNoInputFrames + case 8: self = .sqcInterrupted + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .sqcNotReady: return 1 + case .sqcBadInput: return 2 + case .sqcBadModel: return 3 + case .sqcModelReadFail: return 4 + case .sqcDecryptFail: return 5 + case .sqcUnpackFail: return 6 + case .sqcNoInputFrames: return 7 + case .sqcInterrupted: return 8 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ScanErrorEvent.Error: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ScanErrorEvent.Error] = [ + .unknown, + .sqcNotReady, + .sqcBadInput, + .sqcBadModel, + .sqcModelReadFail, + .sqcDecryptFail, + .sqcUnpackFail, + .sqcNoInputFrames, + .sqcInterrupted, + ] +} + +#endif // swift(>=4.2) + +public struct ScanRecorderStartEvent { + // 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. + + public var scanID: String = String() + + public var depthSource: ScanRecorderStartEvent.DepthSource = .unknown + + public var framerate: UInt32 = 0 + + public var isVoxelEnabled: Bool = false + + public var isRaycastEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum DepthSource: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case lidar // = 1 + case multidepth // = 2 + case noDepth // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .lidar + case 2: self = .multidepth + case 3: self = .noDepth + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .lidar: return 1 + case .multidepth: return 2 + case .noDepth: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ScanRecorderStartEvent.DepthSource: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ScanRecorderStartEvent.DepthSource] = [ + .unknown, + .lidar, + .multidepth, + .noDepth, + ] +} + +#endif // swift(>=4.2) + +public struct ScanRecorderStopEvent { + // 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. + + public var scanID: String = String() + + public var operation: ScanRecorderStopEvent.Operation = .save + + public var scanDurationMs: UInt32 = 0 + + public var numerOfFramesInScan: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Operation: SwiftProtobuf.Enum { + public typealias RawValue = Int + case save // = 0 + case discard // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .save + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .save + case 1: self = .discard + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .save: return 0 + case .discard: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ScanRecorderStopEvent.Operation: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ScanRecorderStopEvent.Operation] = [ + .save, + .discard, + ] +} + +#endif // swift(>=4.2) + +public struct ScanSQCDoneEvent { + // 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. + + public var scanID: String = String() + + public var overallScore: Float = 0 + + public var timeElapseMs: UInt32 = 0 + + public var failedReasons: [ScanSQCDoneEvent.ScanSQCFailedReason] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct ScanSQCFailedReason { + // 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. + + public var failedReason: ScanSQCDoneEvent.ScanSQCFailedReason.FailedReason = .blurry + + public var score: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum FailedReason: SwiftProtobuf.Enum { + public typealias RawValue = Int + case blurry // = 0 + case dardk // = 1 + case badQuality // = 2 + case groundOrFeet // = 3 + case indoorUnclear // = 4 + case fromCar // = 5 + case obstructed // = 6 + case targetNotVisible // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .blurry + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .blurry + case 1: self = .dardk + case 2: self = .badQuality + case 3: self = .groundOrFeet + case 4: self = .indoorUnclear + case 5: self = .fromCar + case 6: self = .obstructed + case 7: self = .targetNotVisible + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .blurry: return 0 + case .dardk: return 1 + case .badQuality: return 2 + case .groundOrFeet: return 3 + case .indoorUnclear: return 4 + case .fromCar: return 5 + case .obstructed: return 6 + case .targetNotVisible: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public init() {} +} + +#if swift(>=4.2) + +extension ScanSQCDoneEvent.ScanSQCFailedReason.FailedReason: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ScanSQCDoneEvent.ScanSQCFailedReason.FailedReason] = [ + .blurry, + .dardk, + .badQuality, + .groundOrFeet, + .indoorUnclear, + .fromCar, + .obstructed, + .targetNotVisible, + ] +} + +#endif // swift(>=4.2) + +public struct ScanSQCRunEvent { + // 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. + + public var scanID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ScreenResolutionTelemetry { + // 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. + + public var deviceWidth: Int32 = 0 + + public var deviceHeight: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SearchFilterPreferenceProto { + // 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. + + public var recentSearches: [SearchFilterPreferenceProto.SearchFilterQueryProto] = [] + + public var favoriteSearches: [SearchFilterPreferenceProto.SearchFilterQueryProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct SearchFilterQueryProto { + // 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. + + public var title: String = String() + + public var query: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct SeasonContestsDefinitionSettingsProto { + // 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. + + public var seasonStartTimeMs: Int64 = 0 + + public var seasonEndTimeMs: Int64 = 0 + + public var cycle: [ContestCycleProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SendFriendInviteViaReferralCodeOutProto { + // 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. + + public var status: SendFriendInviteViaReferralCodeOutProto.Status = .unset + + public var message: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case sent // = 1 + case errorUnknown // = 2 + case errorDisabled // = 3 + case errorInvalidReferralCode // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .sent + case 2: self = .errorUnknown + case 3: self = .errorDisabled + case 4: self = .errorInvalidReferralCode + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .sent: return 1 + case .errorUnknown: return 2 + case .errorDisabled: return 3 + case .errorInvalidReferralCode: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SendFriendInviteViaReferralCodeOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SendFriendInviteViaReferralCodeOutProto.Status] = [ + .unset, + .sent, + .errorUnknown, + .errorDisabled, + .errorInvalidReferralCode, + ] +} + +#endif // swift(>=4.2) + +public struct SendFriendInviteViaReferralCodeProto { + // 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. + + public var referralCode: String = String() + + public var readOnly: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SendFriendRequestViaPlayerIdOutProto { + // 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. + + public var result: SendFriendRequestViaPlayerIdOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorInvalidPlayerID // = 3 + case errorFriendRequestsDisabled // = 4 + case errorAlreadyAFriend // = 5 + case errorPlayerDoesNotExistDeleted // = 6 + case errorPlayerInboxFull // = 7 + case errorPlayerOutboxFull // = 8 + case errorSenderHasMaxFriends // = 9 + case errorInviteAlreadySent // = 10 + case errorCannotSendInvitesToYourself // = 11 + case errorInviteAlreadyReceived // = 12 + case errorReceiverHasMaxFriends // = 13 + case errorSendToBlockedUser // = 14 + case errorNotInParty // = 15 + case errorPlayerNotPartyMember // = 16 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorInvalidPlayerID + case 4: self = .errorFriendRequestsDisabled + case 5: self = .errorAlreadyAFriend + case 6: self = .errorPlayerDoesNotExistDeleted + case 7: self = .errorPlayerInboxFull + case 8: self = .errorPlayerOutboxFull + case 9: self = .errorSenderHasMaxFriends + case 10: self = .errorInviteAlreadySent + case 11: self = .errorCannotSendInvitesToYourself + case 12: self = .errorInviteAlreadyReceived + case 13: self = .errorReceiverHasMaxFriends + case 14: self = .errorSendToBlockedUser + case 15: self = .errorNotInParty + case 16: self = .errorPlayerNotPartyMember + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorInvalidPlayerID: return 3 + case .errorFriendRequestsDisabled: return 4 + case .errorAlreadyAFriend: return 5 + case .errorPlayerDoesNotExistDeleted: return 6 + case .errorPlayerInboxFull: return 7 + case .errorPlayerOutboxFull: return 8 + case .errorSenderHasMaxFriends: return 9 + case .errorInviteAlreadySent: return 10 + case .errorCannotSendInvitesToYourself: return 11 + case .errorInviteAlreadyReceived: return 12 + case .errorReceiverHasMaxFriends: return 13 + case .errorSendToBlockedUser: return 14 + case .errorNotInParty: return 15 + case .errorPlayerNotPartyMember: return 16 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SendFriendRequestViaPlayerIdOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SendFriendRequestViaPlayerIdOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorInvalidPlayerID, + .errorFriendRequestsDisabled, + .errorAlreadyAFriend, + .errorPlayerDoesNotExistDeleted, + .errorPlayerInboxFull, + .errorPlayerOutboxFull, + .errorSenderHasMaxFriends, + .errorInviteAlreadySent, + .errorCannotSendInvitesToYourself, + .errorInviteAlreadyReceived, + .errorReceiverHasMaxFriends, + .errorSendToBlockedUser, + .errorNotInParty, + .errorPlayerNotPartyMember, + ] +} + +#endif // swift(>=4.2) + +public struct SendFriendRequestViaPlayerIdProto { + // 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. + + public var playerID: String = String() + + public var context: SendFriendRequestViaPlayerIdProto.Context = .raid + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Context: SwiftProtobuf.Enum { + public typealias RawValue = Int + case raid // = 0 + case party // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .raid + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .raid + case 1: self = .party + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .raid: return 0 + case .party: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SendFriendRequestViaPlayerIdProto.Context: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SendFriendRequestViaPlayerIdProto.Context] = [ + .raid, + .party, + ] +} + +#endif // swift(>=4.2) + +public struct SendGiftLogEntry { + // 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. + + public var result: SendGiftLogEntry.Result = .unset + + public var friendCodename: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SendGiftLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SendGiftLogEntry.Result] = [ + .unset, + .success, + ] +} + +#endif // swift(>=4.2) + +public struct SendGiftOutProto { + // 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. + + public var result: SendGiftOutProto.Result = .unset + + public var awardedXp: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerDoesNotExist // = 3 + case errorGiftDoesNotExist // = 4 + case errorGiftAlreadySentToday // = 5 + case errorPlayerHasUnopenedGift // = 6 + case errorFriendUpdate // = 7 + case errorPlayerHasNoStickers // = 8 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerDoesNotExist + case 4: self = .errorGiftDoesNotExist + case 5: self = .errorGiftAlreadySentToday + case 6: self = .errorPlayerHasUnopenedGift + case 7: self = .errorFriendUpdate + case 8: self = .errorPlayerHasNoStickers + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerDoesNotExist: return 3 + case .errorGiftDoesNotExist: return 4 + case .errorGiftAlreadySentToday: return 5 + case .errorPlayerHasUnopenedGift: return 6 + case .errorFriendUpdate: return 7 + case .errorPlayerHasNoStickers: return 8 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SendGiftOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SendGiftOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerDoesNotExist, + .errorGiftDoesNotExist, + .errorGiftAlreadySentToday, + .errorPlayerHasUnopenedGift, + .errorFriendUpdate, + .errorPlayerHasNoStickers, + ] +} + +#endif // swift(>=4.2) + +public struct SendGiftProto { + // 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. + + public var giftboxID: UInt64 = 0 + + public var playerID: String = String() + + public var stickersSent: [StickerSentProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SendPartyInvitationOutProto { + // 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. + + public var result: SendPartyInvitationOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case errorUnknown // = 1 + case success // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .errorUnknown + case 2: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .errorUnknown: return 1 + case .success: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SendPartyInvitationOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SendPartyInvitationOutProto.Result] = [ + .unset, + .errorUnknown, + .success, + ] +} + +#endif // swift(>=4.2) + +public struct SendPartyInvitationProto { + // 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. + + public var inviteeIds: [String] = [] + + public var partyID: [Int32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SendProbeOutProto { + // 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. + + public var result: SendProbeOutProto.Result = .unset + + public var id: String = String() + + public var serverTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SendProbeOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SendProbeOutProto.Result] = [ + .unset, + .success, + ] +} + +#endif // swift(>=4.2) + +public struct SendProbeProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SendRaidInvitationData { + // 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. + + public var rpcID: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SendRaidInvitationOutProto { + // 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. + + public var result: SendRaidInvitationOutProto.Result = .unset + + public var numFriendInvitesRemaining: Int32 = 0 + + public var failedInviteeIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNoPermission // = 2 + case errorGymNotFound // = 3 + case errorLobbyNotFound // = 4 + case errorPastCutOffTime // = 5 + case errorNoInvitesRemaining // = 6 + case errorLobbyFull // = 7 + case errorInviterNotFound // = 8 + case errorNoRemoteSlotsRemaining // = 9 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNoPermission + case 3: self = .errorGymNotFound + case 4: self = .errorLobbyNotFound + case 5: self = .errorPastCutOffTime + case 6: self = .errorNoInvitesRemaining + case 7: self = .errorLobbyFull + case 8: self = .errorInviterNotFound + case 9: self = .errorNoRemoteSlotsRemaining + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNoPermission: return 2 + case .errorGymNotFound: return 3 + case .errorLobbyNotFound: return 4 + case .errorPastCutOffTime: return 5 + case .errorNoInvitesRemaining: return 6 + case .errorLobbyFull: return 7 + case .errorInviterNotFound: return 8 + case .errorNoRemoteSlotsRemaining: return 9 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SendRaidInvitationOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SendRaidInvitationOutProto.Result] = [ + .unset, + .success, + .errorNoPermission, + .errorGymNotFound, + .errorLobbyNotFound, + .errorPastCutOffTime, + .errorNoInvitesRemaining, + .errorLobbyFull, + .errorInviterNotFound, + .errorNoRemoteSlotsRemaining, + ] +} + +#endif // swift(>=4.2) + +public struct SendRaidInvitationProto { + // 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. + + public var inviteeIds: [String] = [] + + public var gymID: String = String() + + public var lobbyID: [Int32] = [] + + public var gymLatDegrees: Double = 0 + + public var gymLngDegrees: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SendRaidInvitationResponseData { + // 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. + + public var result: SendRaidInvitationOutProto.Result = .unset + + public var numFriendInvitesRemaining: Int32 = 0 + + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ServerRecordMetadata { + // 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. + + public var userID: String = String() + + public var telemetryName: String = String() + + public var sessionID: String = String() + + public var requestID: String = String() + + public var serverTimestampMs: Int64 = 0 + + public var clientRequestID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ServiceDescriptorProto { + // 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. + + public var name: String = String() + + public var method: [MethodDescriptorProto] = [] + + public var options: ServiceOptions { + get {return _options ?? ServiceOptions()} + set {_options = newValue} + } + /// Returns true if `options` has been explicitly set. + public var hasOptions: Bool {return self._options != nil} + /// Clears the value of `options`. Subsequent reads from it will return its default value. + public mutating func clearOptions() {self._options = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _options: ServiceOptions? = nil +} + +public struct ServiceOptions { + // 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. + + public var deprecated: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetAvatarItemAsViewedOutProto { + // 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. + + public var result: SetAvatarItemAsViewedOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SetAvatarItemAsViewedOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetAvatarItemAsViewedOutProto.Result] = [ + .unset, + .success, + .failure, + ] +} + +#endif // swift(>=4.2) + +public struct SetAvatarItemAsViewedProto { + // 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. + + public var avatarTemplateID: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetAvatarOutProto { + // 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. + + public var status: SetAvatarOutProto.Status = .unset + + public var player: ClientPlayerProto { + get {return _player ?? ClientPlayerProto()} + set {_player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case avatarAlreadySet // = 2 + case failure // = 3 + case slotNotAllowed // = 4 + case itemNotOwned // = 5 + case invalidAvatarType // = 6 + case avatarReset // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .avatarAlreadySet + case 3: self = .failure + case 4: self = .slotNotAllowed + case 5: self = .itemNotOwned + case 6: self = .invalidAvatarType + case 7: self = .avatarReset + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .avatarAlreadySet: return 2 + case .failure: return 3 + case .slotNotAllowed: return 4 + case .itemNotOwned: return 5 + case .invalidAvatarType: return 6 + case .avatarReset: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _player: ClientPlayerProto? = nil +} + +#if swift(>=4.2) + +extension SetAvatarOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetAvatarOutProto.Status] = [ + .unset, + .success, + .avatarAlreadySet, + .failure, + .slotNotAllowed, + .itemNotOwned, + .invalidAvatarType, + .avatarReset, + ] +} + +#endif // swift(>=4.2) + +public struct SetAvatarProto { + // 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. + + public var playerAvatarProto: PlayerAvatarProto { + get {return _playerAvatarProto ?? PlayerAvatarProto()} + set {_playerAvatarProto = newValue} + } + /// Returns true if `playerAvatarProto` has been explicitly set. + public var hasPlayerAvatarProto: Bool {return self._playerAvatarProto != nil} + /// Clears the value of `playerAvatarProto`. Subsequent reads from it will return its default value. + public mutating func clearPlayerAvatarProto() {self._playerAvatarProto = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _playerAvatarProto: PlayerAvatarProto? = nil +} + +public struct SetBirthdayRequestProto { + // 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. + + public var birthday: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetBirthdayResponseProto { + // 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. + + public var status: SetBirthdayResponseProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case invalidBirthday // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .invalidBirthday + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .invalidBirthday: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SetBirthdayResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetBirthdayResponseProto.Status] = [ + .unset, + .success, + .errorUnknown, + .invalidBirthday, + ] +} + +#endif // swift(>=4.2) + +public struct SetBuddyPokemonOutProto { + // 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. + + public var result: SetBuddyPokemonOutProto.Result = .unest + + public var updatedBuddy: BuddyPokemonProto { + get {return _updatedBuddy ?? BuddyPokemonProto()} + set {_updatedBuddy = newValue} + } + /// Returns true if `updatedBuddy` has been explicitly set. + public var hasUpdatedBuddy: Bool {return self._updatedBuddy != nil} + /// Clears the value of `updatedBuddy`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedBuddy() {self._updatedBuddy = nil} + + public var observedData: BuddyObservedData { + get {return _observedData ?? BuddyObservedData()} + set {_observedData = newValue} + } + /// Returns true if `observedData` has been explicitly set. + public var hasObservedData: Bool {return self._observedData != nil} + /// Clears the value of `observedData`. Subsequent reads from it will return its default value. + public mutating func clearObservedData() {self._observedData = nil} + + public var kmRemaining: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unest // = 0 + case success // = 1 + case errorPokemonDeployed // = 2 + case errorPokemonNotOwned // = 3 + case errorPokemonIsEgg // = 4 + case errorInvalidPokemon // = 5 + case errorBuddySwapLimitExceeded // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unest + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unest + case 1: self = .success + case 2: self = .errorPokemonDeployed + case 3: self = .errorPokemonNotOwned + case 4: self = .errorPokemonIsEgg + case 5: self = .errorInvalidPokemon + case 6: self = .errorBuddySwapLimitExceeded + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unest: return 0 + case .success: return 1 + case .errorPokemonDeployed: return 2 + case .errorPokemonNotOwned: return 3 + case .errorPokemonIsEgg: return 4 + case .errorInvalidPokemon: return 5 + case .errorBuddySwapLimitExceeded: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _updatedBuddy: BuddyPokemonProto? = nil + fileprivate var _observedData: BuddyObservedData? = nil +} + +#if swift(>=4.2) + +extension SetBuddyPokemonOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetBuddyPokemonOutProto.Result] = [ + .unest, + .success, + .errorPokemonDeployed, + .errorPokemonNotOwned, + .errorPokemonIsEgg, + .errorInvalidPokemon, + .errorBuddySwapLimitExceeded, + ] +} + +#endif // swift(>=4.2) + +public struct SetBuddyPokemonProto { + // 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. + + public var pokemonID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetContactSettingsOutProto { + // 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. + + public var status: SetContactSettingsOutProto.Status = .unset + + public var player: ClientPlayerProto { + get {return _player ?? ClientPlayerProto()} + set {_player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _player: ClientPlayerProto? = nil +} + +#if swift(>=4.2) + +extension SetContactSettingsOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetContactSettingsOutProto.Status] = [ + .unset, + .success, + .failure, + ] +} + +#endif // swift(>=4.2) + +public struct SetContactSettingsProto { + // 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. + + public var contactSettingsProto: ContactSettingsProto { + get {return _contactSettingsProto ?? ContactSettingsProto()} + set {_contactSettingsProto = newValue} + } + /// Returns true if `contactSettingsProto` has been explicitly set. + public var hasContactSettingsProto: Bool {return self._contactSettingsProto != nil} + /// Clears the value of `contactSettingsProto`. Subsequent reads from it will return its default value. + public mutating func clearContactSettingsProto() {self._contactSettingsProto = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _contactSettingsProto: ContactSettingsProto? = nil +} + +public struct SetFavoritePokemonOutProto { + // 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. + + public var result: SetFavoritePokemonOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPokemonNotFound // = 2 + case errorPokemonIsEgg // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPokemonNotFound + case 3: self = .errorPokemonIsEgg + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPokemonNotFound: return 2 + case .errorPokemonIsEgg: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SetFavoritePokemonOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetFavoritePokemonOutProto.Result] = [ + .unset, + .success, + .errorPokemonNotFound, + .errorPokemonIsEgg, + ] +} + +#endif // swift(>=4.2) + +public struct SetFavoritePokemonProto { + // 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. + + public var pokemonID: Int64 = 0 + + public var isFavorite: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetFriendNicknameOutProto { + // 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. + + public var result: SetFriendNicknameOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorNotFriends // = 3 + case errorExceededNicknameLength // = 4 + case errorSocialUpdate // = 5 + case errorFilteredNickname // = 6 + case errorExceededChangeLimit // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorNotFriends + case 4: self = .errorExceededNicknameLength + case 5: self = .errorSocialUpdate + case 6: self = .errorFilteredNickname + case 7: self = .errorExceededChangeLimit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorNotFriends: return 3 + case .errorExceededNicknameLength: return 4 + case .errorSocialUpdate: return 5 + case .errorFilteredNickname: return 6 + case .errorExceededChangeLimit: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SetFriendNicknameOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetFriendNicknameOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorNotFriends, + .errorExceededNicknameLength, + .errorSocialUpdate, + .errorFilteredNickname, + .errorExceededChangeLimit, + ] +} + +#endif // swift(>=4.2) + +public struct SetFriendNicknameProto { + // 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. + + public var friendID: String = String() + + public var friendNickname: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetInGameCurrencyExchangeRateOutProto { + // 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. + + public var status: SetInGameCurrencyExchangeRateOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SetInGameCurrencyExchangeRateOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetInGameCurrencyExchangeRateOutProto.Status] = [ + .unset, + .success, + .failure, + ] +} + +#endif // swift(>=4.2) + +public struct SetInGameCurrencyExchangeRateProto { + // 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. + + public var inGameCurrency: String = String() + + public var fiatCurrency: String = String() + + public var fiatCurrencyCostE6PerInGameUnit: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetInGameCurrencyExchangeRateTrackingProto { + // 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. + + public var inGameCurrency: String = String() + + public var fiatCurrency: String = String() + + public var fiatCurrencyCostE6PerInGameUnit: Int64 = 0 + + public var status: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetLobbyPokemonOutProto { + // 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. + + public var result: SetLobbyPokemonOutProto.Result = .unset + + public var lobby: LobbyProto { + get {return _lobby ?? LobbyProto()} + set {_lobby = newValue} + } + /// Returns true if `lobby` has been explicitly set. + public var hasLobby: Bool {return self._lobby != nil} + /// Clears the value of `lobby`. Subsequent reads from it will return its default value. + public mutating func clearLobby() {self._lobby = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorLobbyNotFound // = 2 + case errorRaidUnavailable // = 3 + case errorInvalidPokemon // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorLobbyNotFound + case 3: self = .errorRaidUnavailable + case 4: self = .errorInvalidPokemon + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorLobbyNotFound: return 2 + case .errorRaidUnavailable: return 3 + case .errorInvalidPokemon: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _lobby: LobbyProto? = nil +} + +#if swift(>=4.2) + +extension SetLobbyPokemonOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetLobbyPokemonOutProto.Result] = [ + .unset, + .success, + .errorLobbyNotFound, + .errorRaidUnavailable, + .errorInvalidPokemon, + ] +} + +#endif // swift(>=4.2) + +public struct SetLobbyPokemonProto { + // 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. + + public var raidSeed: Int64 = 0 + + public var gymID: String = String() + + public var lobbyID: [Int32] = [] + + public var pokemonID: [UInt64] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetLobbyVisibilityOutProto { + // 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. + + public var result: SetLobbyVisibilityOutProto.Result = .unset + + public var lobby: LobbyProto { + get {return _lobby ?? LobbyProto()} + set {_lobby = newValue} + } + /// Returns true if `lobby` has been explicitly set. + public var hasLobby: Bool {return self._lobby != nil} + /// Clears the value of `lobby`. Subsequent reads from it will return its default value. + public mutating func clearLobby() {self._lobby = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNotLobbyCreator // = 2 + case errorLobbyNotFound // = 3 + case errorRaidUnavailable // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNotLobbyCreator + case 3: self = .errorLobbyNotFound + case 4: self = .errorRaidUnavailable + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNotLobbyCreator: return 2 + case .errorLobbyNotFound: return 3 + case .errorRaidUnavailable: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _lobby: LobbyProto? = nil +} + +#if swift(>=4.2) + +extension SetLobbyVisibilityOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetLobbyVisibilityOutProto.Result] = [ + .unset, + .success, + .errorNotLobbyCreator, + .errorLobbyNotFound, + .errorRaidUnavailable, + ] +} + +#endif // swift(>=4.2) + +public struct SetLobbyVisibilityProto { + // 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. + + public var raidSeed: Int64 = 0 + + public var gymID: String = String() + + public var lobbyID: [Int32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetNeutralAvatarOutProto { + // 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. + + public var status: SetNeutralAvatarOutProto.Status = .unset + + public var player: ClientPlayerProto { + get {return _player ?? ClientPlayerProto()} + set {_player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} + + public var neutralAvatar: PlayerNeutralAvatarProto { + get {return _neutralAvatar ?? PlayerNeutralAvatarProto()} + set {_neutralAvatar = newValue} + } + /// Returns true if `neutralAvatar` has been explicitly set. + public var hasNeutralAvatar: Bool {return self._neutralAvatar != nil} + /// Clears the value of `neutralAvatar`. Subsequent reads from it will return its default value. + public mutating func clearNeutralAvatar() {self._neutralAvatar = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case avatarAlreadySet // = 2 + case failure // = 3 + case slotNotAllowed // = 4 + case itemNotOwned // = 5 + case avatarReset // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .avatarAlreadySet + case 3: self = .failure + case 4: self = .slotNotAllowed + case 5: self = .itemNotOwned + case 6: self = .avatarReset + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .avatarAlreadySet: return 2 + case .failure: return 3 + case .slotNotAllowed: return 4 + case .itemNotOwned: return 5 + case .avatarReset: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _player: ClientPlayerProto? = nil + fileprivate var _neutralAvatar: PlayerNeutralAvatarProto? = nil +} + +#if swift(>=4.2) + +extension SetNeutralAvatarOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetNeutralAvatarOutProto.Status] = [ + .unset, + .success, + .avatarAlreadySet, + .failure, + .slotNotAllowed, + .itemNotOwned, + .avatarReset, + ] +} + +#endif // swift(>=4.2) + +public struct SetNeutralAvatarProto { + // 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. + + public var playerNeutralAvatarProto: PlayerNeutralAvatarProto { + get {return _playerNeutralAvatarProto ?? PlayerNeutralAvatarProto()} + set {_playerNeutralAvatarProto = newValue} + } + /// Returns true if `playerNeutralAvatarProto` has been explicitly set. + public var hasPlayerNeutralAvatarProto: Bool {return self._playerNeutralAvatarProto != nil} + /// Clears the value of `playerNeutralAvatarProto`. Subsequent reads from it will return its default value. + public mutating func clearPlayerNeutralAvatarProto() {self._playerNeutralAvatarProto = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _playerNeutralAvatarProto: PlayerNeutralAvatarProto? = nil +} + +public struct SetPlayerTeamOutProto { + // 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. + + public var status: SetPlayerTeamOutProto.Status = .unset + + public var player: ClientPlayerProto { + get {return _player ?? ClientPlayerProto()} + set {_player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return self._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {self._player = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case teamAlreadySet // = 2 + case failure // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .teamAlreadySet + case 3: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .teamAlreadySet: return 2 + case .failure: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _player: ClientPlayerProto? = nil +} + +#if swift(>=4.2) + +extension SetPlayerTeamOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetPlayerTeamOutProto.Status] = [ + .unset, + .success, + .teamAlreadySet, + .failure, + ] +} + +#endif // swift(>=4.2) + +public struct SetPlayerTeamProto { + // 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. + + public var team: Team = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SetPokemonTagsForPokemonOutProto { + // 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. + + public var status: SetPokemonTagsForPokemonOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPlayerLevelTooLow // = 2 + case errorPokemonNotFound // = 3 + case errorTagInvalid // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPlayerLevelTooLow + case 3: self = .errorPokemonNotFound + case 4: self = .errorTagInvalid + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPlayerLevelTooLow: return 2 + case .errorPokemonNotFound: return 3 + case .errorTagInvalid: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SetPokemonTagsForPokemonOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SetPokemonTagsForPokemonOutProto.Status] = [ + .unset, + .success, + .errorPlayerLevelTooLow, + .errorPokemonNotFound, + .errorTagInvalid, + ] +} + +#endif // swift(>=4.2) + +public struct SetPokemonTagsForPokemonProto { + // 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. + + public var tagChanges: [SetPokemonTagsForPokemonProto.PokemonTagChangeProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct PokemonTagChangeProto { + // 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. + + public var pokemonID: Int64 = 0 + + public var tagsToAdd: [UInt64] = [] + + public var tagsToRemove: [UInt64] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct SettingsVersionControllerProto { + // 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. + + public var v2Enabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaAssociateRequest { + // 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. + + public var btAddress: Data = Data() + + public var pairingCode: UInt32 = 0 + + public var btSignature: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaAssociateResponse { + // 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. + + public var status: SfidaAssociateResponse.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SfidaAssociateResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SfidaAssociateResponse.Status] = [ + .unset, + .success, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct SfidaAuthToken { + // 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. + + public var responseToken: Data = Data() + + public var sfidaID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaCaptureRequest { + // 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. + + public var spawnpointID: String = String() + + public var encounterID: Int64 = 0 + + public var playerLat: Double = 0 + + public var playerLng: Double = 0 + + public var encounterType: EncounterType = .spawnPoint + + public var gymLat: Double = 0 + + public var gymLng: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaCaptureResponse { + // 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. + + public var result: SfidaCaptureResponse.Result = .unset + + public var xpGain: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case pokemonCaptured // = 1 + case pokemonFled // = 2 + case notFound // = 3 + case noMorePokeballs // = 4 + case pokemonInventoryFull // = 5 + case notInRange // = 6 + case encounterAlreadyFinished // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .pokemonCaptured + case 2: self = .pokemonFled + case 3: self = .notFound + case 4: self = .noMorePokeballs + case 5: self = .pokemonInventoryFull + case 6: self = .notInRange + case 7: self = .encounterAlreadyFinished + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .pokemonCaptured: return 1 + case .pokemonFled: return 2 + case .notFound: return 3 + case .noMorePokeballs: return 4 + case .pokemonInventoryFull: return 5 + case .notInRange: return 6 + case .encounterAlreadyFinished: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SfidaCaptureResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SfidaCaptureResponse.Result] = [ + .unset, + .pokemonCaptured, + .pokemonFled, + .notFound, + .noMorePokeballs, + .pokemonInventoryFull, + .notInRange, + .encounterAlreadyFinished, + ] +} + +#endif // swift(>=4.2) + +public struct SfidaCertificationRequest { + // 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. + + public var stage: SfidaCertificationRequest.SfidaCertificationStage = .unset + + public var payload: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum SfidaCertificationStage: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case stage1 // = 1 + case stage2 // = 2 + case stage3 // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .stage1 + case 2: self = .stage2 + case 3: self = .stage3 + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .stage1: return 1 + case .stage2: return 2 + case .stage3: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SfidaCertificationRequest.SfidaCertificationStage: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SfidaCertificationRequest.SfidaCertificationStage] = [ + .unset, + .stage1, + .stage2, + .stage3, + ] +} + +#endif // swift(>=4.2) + +public struct SfidaCertificationResponse { + // 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. + + public var payload: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaCheckPairingRequest { + // 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. + + public var btAddress: Data = Data() + + public var pairingCode: UInt32 = 0 + + public var btSignature: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaCheckPairingResponse { + // 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. + + public var status: SfidaCheckPairingResponse.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPairing // = 2 + case errorUnknown // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPairing + case 3: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPairing: return 2 + case .errorUnknown: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SfidaCheckPairingResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SfidaCheckPairingResponse.Status] = [ + .unset, + .success, + .errorPairing, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct SfidaClearSleepRecordsRequest { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaClearSleepRecordsResponse { + // 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. + + public var status: SfidaClearSleepRecordsResponse.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SfidaClearSleepRecordsResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SfidaClearSleepRecordsResponse.Status] = [ + .unset, + .success, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct SfidaDisassociateRequest { + // 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. + + public var btAddress: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaDisassociateResponse { + // 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. + + public var status: SfidaDisassociateResponse.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SfidaDisassociateResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SfidaDisassociateResponse.Status] = [ + .unset, + .success, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct SfidaDowserRequest { + // 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. + + public var encounterID: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaDowserResponse { + // 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. + + public var result: SfidaDowserResponse.Result = .unset + + public var proximity: Int32 = 0 + + public var spawnpointID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case found // = 1 + case nearby // = 2 + case outOfRange // = 3 + case alreadyCaught // = 4 + case notAvailable // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .found + case 2: self = .nearby + case 3: self = .outOfRange + case 4: self = .alreadyCaught + case 5: self = .notAvailable + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .found: return 1 + case .nearby: return 2 + case .outOfRange: return 3 + case .alreadyCaught: return 4 + case .notAvailable: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SfidaDowserResponse.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SfidaDowserResponse.Result] = [ + .unset, + .found, + .nearby, + .outOfRange, + .alreadyCaught, + .notAvailable, + ] +} + +#endif // swift(>=4.2) + +public struct SfidaGlobalSettingsProto { + // 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. + + public var lowBatteryThreshold: Float = 0 + + public var wainaEnabled: Bool = false + + public var connectVersion: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaMetrics { + // 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. + + public var distanceWalkedKm: Double = 0 + + public var stepCount: Int32 = 0 + + public var caloriesBurned: Double = 0 + + public var exerciseTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaMetricsUpdate { + // 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. + + public var updateType: SfidaMetricsUpdate.UpdateType = .unset + + public var timestampMs: Int64 = 0 + + public var metrics: SfidaMetrics { + get {return _metrics ?? SfidaMetrics()} + set {_metrics = newValue} + } + /// Returns true if `metrics` has been explicitly set. + public var hasMetrics: Bool {return self._metrics != nil} + /// Clears the value of `metrics`. Subsequent reads from it will return its default value. + public mutating func clearMetrics() {self._metrics = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum UpdateType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case initialization // = 1 + case accumulation // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .initialization + case 2: self = .accumulation + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .initialization: return 1 + case .accumulation: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _metrics: SfidaMetrics? = nil +} + +#if swift(>=4.2) + +extension SfidaMetricsUpdate.UpdateType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SfidaMetricsUpdate.UpdateType] = [ + .unset, + .initialization, + .accumulation, + ] +} + +#endif // swift(>=4.2) + +public struct SfidaUpdateRequest { + // 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. + + public var playerLat: Double = 0 + + public var playerLng: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SfidaUpdateResponse { + // 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. + + public var status: SfidaUpdateResponse.Status = .unset + + public var nearbyPokemon: Bool = false + + public var uncaughtPokemon: Bool = false + + public var legendaryPokemon: Bool = false + + public var spawnpointID: String = String() + + public var encounterID: Int64 = 0 + + public var nearbyPokestop: Bool = false + + public var pokestopID: String = String() + + public var encounterType: EncounterType = .spawnPoint + + public var pokedexNumber: Int32 = 0 + + public var autospin: Bool = false + + public var autocatch: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SfidaUpdateResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SfidaUpdateResponse.Status] = [ + .unset, + .success, + ] +} + +#endif // swift(>=4.2) + +public struct ShadowAttributesProto { + // 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. + + public var purificationStardustNeeded: UInt32 = 0 + + public var purificationCandyNeeded: UInt32 = 0 + + public var purifiedChargeMove: HoloPokemonMove = .moveUnset + + public var shadowChargeMove: HoloPokemonMove = .moveUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ShapeCollectionProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ShapeProto { + // 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. + + public var point: PointProto { + get {return _point ?? PointProto()} + set {_point = newValue} + } + /// Returns true if `point` has been explicitly set. + public var hasPoint: Bool {return self._point != nil} + /// Clears the value of `point`. Subsequent reads from it will return its default value. + public mutating func clearPoint() {self._point = nil} + + public var rect: RectProto { + get {return _rect ?? RectProto()} + set {_rect = newValue} + } + /// Returns true if `rect` has been explicitly set. + public var hasRect: Bool {return self._rect != nil} + /// Clears the value of `rect`. Subsequent reads from it will return its default value. + public mutating func clearRect() {self._rect = nil} + + public var cap: CapProto { + get {return _cap ?? CapProto()} + set {_cap = newValue} + } + /// Returns true if `cap` has been explicitly set. + public var hasCap: Bool {return self._cap != nil} + /// Clears the value of `cap`. Subsequent reads from it will return its default value. + public mutating func clearCap() {self._cap = nil} + + public var covering: CoveringProto { + get {return _covering ?? CoveringProto()} + set {_covering = newValue} + } + /// Returns true if `covering` has been explicitly set. + public var hasCovering: Bool {return self._covering != nil} + /// Clears the value of `covering`. Subsequent reads from it will return its default value. + public mutating func clearCovering() {self._covering = nil} + + public var line: LineProto { + get {return _line ?? LineProto()} + set {_line = newValue} + } + /// Returns true if `line` has been explicitly set. + public var hasLine: Bool {return self._line != nil} + /// Clears the value of `line`. Subsequent reads from it will return its default value. + public mutating func clearLine() {self._line = nil} + + public var polygon: PolygonProto { + get {return _polygon ?? PolygonProto()} + set {_polygon = newValue} + } + /// Returns true if `polygon` has been explicitly set. + public var hasPolygon: Bool {return self._polygon != nil} + /// Clears the value of `polygon`. Subsequent reads from it will return its default value. + public mutating func clearPolygon() {self._polygon = nil} + + public var collection: ShapeCollectionProto { + get {return _collection ?? ShapeCollectionProto()} + set {_collection = newValue} + } + /// Returns true if `collection` has been explicitly set. + public var hasCollection: Bool {return self._collection != nil} + /// Clears the value of `collection`. Subsequent reads from it will return its default value. + public mutating func clearCollection() {self._collection = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _point: PointProto? = nil + fileprivate var _rect: RectProto? = nil + fileprivate var _cap: CapProto? = nil + fileprivate var _covering: CoveringProto? = nil + fileprivate var _line: LineProto? = nil + fileprivate var _polygon: PolygonProto? = nil + fileprivate var _collection: ShapeCollectionProto? = nil +} + +public struct ShardManagerEchoOutProto { + // 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. + + public var result: ShardManagerEchoOutProto.Result = .unset + + public var response: String = String() + + public var debugOutput: String = String() + + public var podName: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ShardManagerEchoOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ShardManagerEchoOutProto.Result] = [ + .unset, + .success, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct ShardManagerEchoProto { + // 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. + + public var message: String = String() + + public var isMultiPlayer: Bool = false + + public var sessionID: String = String() + + public var sessionStartTimestamp: Int64 = 0 + + public var enableDebugOutput: Bool = false + + public var createSession: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SharedMoveSettingsProto { + // 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. + + public var shadowThirdMoveUnlockStardustMultiplier: Float = 0 + + public var shadowThirdMoveUnlockCandyMultiplier: Float = 0 + + public var purifiedThirdMoveUnlockStardustMultiplier: Float = 0 + + public var purifiedThirdMoveUnlockCandyMultiplier: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SharedNonCombatMoveSettingsProto { + // 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. + + public var nonCombatMoveEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SharedRouteProto { + // 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. + + public var id: String { + get {return _storage._id} + set {_uniqueStorage()._id = newValue} + } + + public var waypoints: [RouteWaypointProto] { + get {return _storage._waypoints} + set {_uniqueStorage()._waypoints = newValue} + } + + public var type: RouteType { + get {return _storage._type} + set {_uniqueStorage()._type = newValue} + } + + public var pathType: PathType { + get {return _storage._pathType} + set {_uniqueStorage()._pathType = newValue} + } + + public var name: String { + get {return _storage._name} + set {_uniqueStorage()._name = newValue} + } + + public var version: Int64 { + get {return _storage._version} + set {_uniqueStorage()._version = newValue} + } + + public var description_p: String { + get {return _storage._description_p} + set {_uniqueStorage()._description_p = newValue} + } + + public var creatorInfo: CreatorInfo { + get {return _storage._creatorInfo ?? CreatorInfo()} + set {_uniqueStorage()._creatorInfo = newValue} + } + /// Returns true if `creatorInfo` has been explicitly set. + public var hasCreatorInfo: Bool {return _storage._creatorInfo != nil} + /// Clears the value of `creatorInfo`. Subsequent reads from it will return its default value. + public mutating func clearCreatorInfo() {_uniqueStorage()._creatorInfo = nil} + + public var reversible: Bool { + get {return _storage._reversible} + set {_uniqueStorage()._reversible = newValue} + } + + public var submissionTime: Int64 { + get {return _storage._submissionTime} + set {_uniqueStorage()._submissionTime = newValue} + } + + public var routeDistanceMeters: Int64 { + get {return _storage._routeDistanceMeters} + set {_uniqueStorage()._routeDistanceMeters = newValue} + } + + public var routeDurationSeconds: Int64 { + get {return _storage._routeDurationSeconds} + set {_uniqueStorage()._routeDurationSeconds = newValue} + } + + public var pins: [RoutePin] { + get {return _storage._pins} + set {_uniqueStorage()._pins = newValue} + } + + public var tags: [String] { + get {return _storage._tags} + set {_uniqueStorage()._tags = newValue} + } + + public var sponsorMetadata: SponsoredDetailsProto { + get {return _storage._sponsorMetadata ?? SponsoredDetailsProto()} + set {_uniqueStorage()._sponsorMetadata = newValue} + } + /// Returns true if `sponsorMetadata` has been explicitly set. + public var hasSponsorMetadata: Bool {return _storage._sponsorMetadata != nil} + /// Clears the value of `sponsorMetadata`. Subsequent reads from it will return its default value. + public mutating func clearSponsorMetadata() {_uniqueStorage()._sponsorMetadata = nil} + + public var aggregatedStats: RouteStats { + get {return _storage._aggregatedStats ?? RouteStats()} + set {_uniqueStorage()._aggregatedStats = newValue} + } + /// Returns true if `aggregatedStats` has been explicitly set. + public var hasAggregatedStats: Bool {return _storage._aggregatedStats != nil} + /// Clears the value of `aggregatedStats`. Subsequent reads from it will return its default value. + public mutating func clearAggregatedStats() {_uniqueStorage()._aggregatedStats = nil} + + public var playerStats: PlayerRouteStats { + get {return _storage._playerStats ?? PlayerRouteStats()} + set {_uniqueStorage()._playerStats = newValue} + } + /// Returns true if `playerStats` has been explicitly set. + public var hasPlayerStats: Bool {return _storage._playerStats != nil} + /// Clears the value of `playerStats`. Subsequent reads from it will return its default value. + public mutating func clearPlayerStats() {_uniqueStorage()._playerStats = nil} + + public var image: RouteImageProto { + get {return _storage._image ?? RouteImageProto()} + set {_uniqueStorage()._image = newValue} + } + /// Returns true if `image` has been explicitly set. + public var hasImage: Bool {return _storage._image != nil} + /// Clears the value of `image`. Subsequent reads from it will return its default value. + public mutating func clearImage() {_uniqueStorage()._image = nil} + + public var routeSubmissionStatus: RouteSubmissionStatus { + get {return _storage._routeSubmissionStatus ?? RouteSubmissionStatus()} + set {_uniqueStorage()._routeSubmissionStatus = newValue} + } + /// Returns true if `routeSubmissionStatus` has been explicitly set. + public var hasRouteSubmissionStatus: Bool {return _storage._routeSubmissionStatus != nil} + /// Clears the value of `routeSubmissionStatus`. Subsequent reads from it will return its default value. + public mutating func clearRouteSubmissionStatus() {_uniqueStorage()._routeSubmissionStatus = nil} + + public var startPoi: RoutePoiAnchor { + get {return _storage._startPoi ?? RoutePoiAnchor()} + set {_uniqueStorage()._startPoi = newValue} + } + /// Returns true if `startPoi` has been explicitly set. + public var hasStartPoi: Bool {return _storage._startPoi != nil} + /// Clears the value of `startPoi`. Subsequent reads from it will return its default value. + public mutating func clearStartPoi() {_uniqueStorage()._startPoi = nil} + + public var endPoi: RoutePoiAnchor { + get {return _storage._endPoi ?? RoutePoiAnchor()} + set {_uniqueStorage()._endPoi = newValue} + } + /// Returns true if `endPoi` has been explicitly set. + public var hasEndPoi: Bool {return _storage._endPoi != nil} + /// Clears the value of `endPoi`. Subsequent reads from it will return its default value. + public mutating func clearEndPoi() {_uniqueStorage()._endPoi = nil} + + public var s2GroundCells: [UInt64] { + get {return _storage._s2GroundCells} + set {_uniqueStorage()._s2GroundCells = newValue} + } + + public var editCount: Int64 { + get {return _storage._editCount} + set {_uniqueStorage()._editCount = newValue} + } + + public var editablePostRejection: Bool { + get {return _storage._editablePostRejection} + set {_uniqueStorage()._editablePostRejection = newValue} + } + + public var lastEditTimeMs: Int64 { + get {return _storage._lastEditTimeMs} + set {_uniqueStorage()._lastEditTimeMs = newValue} + } + + public var submissionCount: Int64 { + get {return _storage._submissionCount} + set {_uniqueStorage()._submissionCount = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct ShoppingPageClickTelemetry { + // 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. + + public var shoppingPageClickID: ShoppingPageTelemetryIds = .undefinedShoppingPageEvent + + public var shoppingPageClickSource: ShoppingPageTelemetrySource = .undefinedShoppingPageSource + + public var itemSku: String = String() + + public var hasItem_p: Bool = false + + public var mlBundleTrackingID: String = String() + + public var availableSku: [ShoppingPageClickTelemetry.VisibleSku] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct VisibleSku { + // 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. + + public var skuName: String = String() + + public var content: [ShoppingPageClickTelemetry.VisibleSku.NestedSkuContent] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct NestedSkuContent { + // 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. + + public var itemName: String = String() + + public var itemCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + } + + public init() {} +} + +public struct ShoppingPageScrollTelemetry { + // 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. + + public var scrollType: ShoppingPageScrollIds = .undefinedShoppingPageScrollType + + public var scrollRow: Int32 = 0 + + public var totalRows: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ShoppingPageTelemetry { + // 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. + + public var shoppingPageClickID: ShoppingPageTelemetryIds = .undefinedShoppingPageEvent + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ShowcaseDetailsTelemetry { + // 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. + + public var playerAction: ShowcaseDetailsTelemetry.ActionTaken = .unset + + public var entryPoint: ShowcaseDetailsTelemetry.EntryPoint = .unsetEntry + + public var showcaseID: String = String() + + public var entryBarrier: ShowcaseDetailsTelemetry.EntryBarrier = .unsetBarrier + + public var wasAlreadyEntered: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ActionTaken: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case viewContestDetails // = 1 + case viewAllEntrants // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .viewContestDetails + case 2: self = .viewAllEntrants + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .viewContestDetails: return 1 + case .viewAllEntrants: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum EntryBarrier: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetBarrier // = 0 + case enteredMaxContests // = 1 + case contestFull // = 2 + case noEligiblePokemon // = 3 + case outOfRange // = 4 + case none // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetBarrier + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetBarrier + case 1: self = .enteredMaxContests + case 2: self = .contestFull + case 3: self = .noEligiblePokemon + case 4: self = .outOfRange + case 5: self = .none + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetBarrier: return 0 + case .enteredMaxContests: return 1 + case .contestFull: return 2 + case .noEligiblePokemon: return 3 + case .outOfRange: return 4 + case .none: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum EntryPoint: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetEntry // = 0 + case pokestop // = 1 + case todayViewWidget // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetEntry + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetEntry + case 1: self = .pokestop + case 2: self = .todayViewWidget + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetEntry: return 0 + case .pokestop: return 1 + case .todayViewWidget: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension ShowcaseDetailsTelemetry.ActionTaken: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ShowcaseDetailsTelemetry.ActionTaken] = [ + .unset, + .viewContestDetails, + .viewAllEntrants, + ] +} + +extension ShowcaseDetailsTelemetry.EntryBarrier: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ShowcaseDetailsTelemetry.EntryBarrier] = [ + .unsetBarrier, + .enteredMaxContests, + .contestFull, + .noEligiblePokemon, + .outOfRange, + .none, + ] +} + +extension ShowcaseDetailsTelemetry.EntryPoint: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ShowcaseDetailsTelemetry.EntryPoint] = [ + .unsetEntry, + .pokestop, + .todayViewWidget, + ] +} + +#endif // swift(>=4.2) + +public struct ShowcaseRewardTelemetry { + // 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. + + public var playerSharedPhoto: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SizeRecordBreakTelemetry { + // 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. + + public var recordBreakType: SizeRecordBreakTelemetry.RecordBreakType = .recordBreakUnset + + public var pokemonID: HoloPokemonId = .missingno + + public var heightM: Float = 0 + + public var weightKg: Float = 0 + + public var isHeightRecord: Bool = false + + public var isWeightRecord: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum RecordBreakType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case recordBreakUnset // = 0 + case recordBreakXxs // = 1 + case recordBreakXs // = 2 + case recordBreakM // = 3 + case recordBreakXl // = 4 + case recordBreakXxl // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .recordBreakUnset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .recordBreakUnset + case 1: self = .recordBreakXxs + case 2: self = .recordBreakXs + case 3: self = .recordBreakM + case 4: self = .recordBreakXl + case 5: self = .recordBreakXxl + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .recordBreakUnset: return 0 + case .recordBreakXxs: return 1 + case .recordBreakXs: return 2 + case .recordBreakM: return 3 + case .recordBreakXl: return 4 + case .recordBreakXxl: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SizeRecordBreakTelemetry.RecordBreakType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SizeRecordBreakTelemetry.RecordBreakType] = [ + .recordBreakUnset, + .recordBreakXxs, + .recordBreakXs, + .recordBreakM, + .recordBreakXl, + .recordBreakXxl, + ] +} + +#endif // swift(>=4.2) + +public struct SkipEnterReferralCodeOutProto { + // 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. + + public var status: SkipEnterReferralCodeOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorDisabled // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorDisabled + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorDisabled: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SkipEnterReferralCodeOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SkipEnterReferralCodeOutProto.Status] = [ + .unset, + .success, + .errorDisabled, + ] +} + +#endif // swift(>=4.2) + +public struct SkipEnterReferralCodeProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SkuContentProto { + // 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. + + public var itemType: String = String() + + public var quantity: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SkuDataProto { + // 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. + + public var id: String = String() + + public var isEnabled: Bool = false + + public var content: [SkuContentProto] = [] + + public var price: [SkuPriceProto] = [] + + public var paymentType: SkuDataProto.SkuPaymentType = .unset + + public var lastModifiedTimestampMs: Int64 = 0 + + public var presentationData: [SkuPresentationDataProto] = [] + + public var enabledWindowStartMs: Int64 = 0 + + public var enabledWindowEndMs: Int64 = 0 + + public var subscriptionID: String = String() + + public var skuLimit: [SkuLimitProto] = [] + + public var isOfferOnly: Bool = false + + public var subscriptionGroupID: String = String() + + public var subscriptionLevel: Int32 = 0 + + public var storeFilter: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum SkuPaymentType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case thirdParty // = 1 + case inGame // = 2 + case web // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .thirdParty + case 2: self = .inGame + case 3: self = .web + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .thirdParty: return 1 + case .inGame: return 2 + case .web: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SkuDataProto.SkuPaymentType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SkuDataProto.SkuPaymentType] = [ + .unset, + .thirdParty, + .inGame, + .web, + ] +} + +#endif // swift(>=4.2) + +public struct SkuLimitProto { + // 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. + + public var name: String = String() + + public var params: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SkuPresentationDataProto { + // 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. + + public var key: String = String() + + public var value: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SkuPriceProto { + // 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. + + public var currencyType: String = String() + + public var price: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SkuRecord { + // 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. + + public var skuID: String = String() + + public var purchaseTimeMs: [Int64] = [] + + public var totalPurchases: Int32 = 0 + + public var offerRecords: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct SkuOfferRecord { + // 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. + + public var purchaseTimeMs: [Int64] = [] + + public var totalPurchases: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct SleepDayRecordProto { + // 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. + + public var sleepDay: UInt32 = 0 + + public var sleepDurationSec: UInt32 = 0 + + public var rewarded: Bool = false + + public var startTimeSec: [UInt32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SleepRecordsProto { + // 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. + + public var sleepRecord: [SleepDayRecordProto] = [] + + public var sleepRecordLastUpdateMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SmeargleMovesSettingsProto { + // 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. + + public var quickMoves: [HoloPokemonMove] = [] + + public var cinematicMoves: [HoloPokemonMove] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SocialClientSettingsProto { + // 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. + + public var enableSocial: Bool { + get {return _storage._enableSocial} + set {_uniqueStorage()._enableSocial = newValue} + } + + public var maxFriendDetails: Int32 { + get {return _storage._maxFriendDetails} + set {_uniqueStorage()._maxFriendDetails = newValue} + } + + public var playerLevelGate: Int32 { + get {return _storage._playerLevelGate} + set {_uniqueStorage()._playerLevelGate = newValue} + } + + public var maxFriendNicknameLength: Int32 { + get {return _storage._maxFriendNicknameLength} + set {_uniqueStorage()._maxFriendNicknameLength = newValue} + } + + public var enableAddFriendViaQrCode: Bool { + get {return _storage._enableAddFriendViaQrCode} + set {_uniqueStorage()._enableAddFriendViaQrCode = newValue} + } + + public var enableFacebookFriends: Bool { + get {return _storage._enableFacebookFriends} + set {_uniqueStorage()._enableFacebookFriends = newValue} + } + + public var facebookFriendLimitPerRequest: Int32 { + get {return _storage._facebookFriendLimitPerRequest} + set {_uniqueStorage()._facebookFriendLimitPerRequest = newValue} + } + + public var disableFacebookFriendsOpeningPrompt: Bool { + get {return _storage._disableFacebookFriendsOpeningPrompt} + set {_uniqueStorage()._disableFacebookFriendsOpeningPrompt = newValue} + } + + public var enableGiftabilityV2: Bool { + get {return _storage._enableGiftabilityV2} + set {_uniqueStorage()._enableGiftabilityV2 = newValue} + } + + public var enableRemoteGifting: Bool { + get {return _storage._enableRemoteGifting} + set {_uniqueStorage()._enableRemoteGifting = newValue} + } + + public var enableSticker: Bool { + get {return _storage._enableSticker} + set {_uniqueStorage()._enableSticker = newValue} + } + + public var crossGameSocialSettings: CrossGameSocialGlobalSettingsProto { + get {return _storage._crossGameSocialSettings ?? CrossGameSocialGlobalSettingsProto()} + set {_uniqueStorage()._crossGameSocialSettings = newValue} + } + /// Returns true if `crossGameSocialSettings` has been explicitly set. + public var hasCrossGameSocialSettings: Bool {return _storage._crossGameSocialSettings != nil} + /// Clears the value of `crossGameSocialSettings`. Subsequent reads from it will return its default value. + public mutating func clearCrossGameSocialSettings() {_uniqueStorage()._crossGameSocialSettings = nil} + + public var migrateLuckyDataToShared: Bool { + get {return _storage._migrateLuckyDataToShared} + set {_uniqueStorage()._migrateLuckyDataToShared = newValue} + } + + public var enableV2Sticker: Bool { + get {return _storage._enableV2Sticker} + set {_uniqueStorage()._enableV2Sticker = newValue} + } + + public var enableDeepLinkingQrCode: Bool { + get {return _storage._enableDeepLinkingQrCode} + set {_uniqueStorage()._enableDeepLinkingQrCode = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct SocialGiftCountTelemetry { + // 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. + + public var unopenedGiftCount: Int32 = 0 + + public var unsentGiftCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SocialInboxLatencyTelemetry { + // 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. + + public var latencyMs: Int32 = 0 + + public var category: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SocialPlayerSettingsProto { + // 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. + + public var disableLastPokemonCaught: Bool = false + + public var enableRaidFriendRequests: Bool = false + + public var enablePartyFriendRequests: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SocialTelemetry { + // 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. + + public var socialClickID: SocialTelemetryIds = .undefinedSocial + + public var pagesScrolledInFriendsList: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SourceCodeInfo { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Location { + // 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. + + public var leadingComments: String = String() + + public var trailingComments: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct SouvenirProto { + // 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. + + public var souvenirTypeID: SouvenirTypeId = .souvenirUnset + + public var souvenirsDetails: [SouvenirProto.SouvenirDetails] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct SouvenirDetails { + // 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. + + public var timePickedUp: Int64 = 0 + + public var latitude: Double = 0 + + public var longitude: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct SpaceBonusSettingsProto { + // 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. + + public var pokemonVisibleRangeMeters: Double = 0 + + public var encounterRangeMeters: Double = 0 + + public var serverAllowableEncounterRangeMeters: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SpawnTablePokemonProto { + // 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. + + public var pokemonID: HoloPokemonId = .missingno + + public var weight: Float = 0 + + public var form: PokemonDisplayProto.Form = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SpawnablePokemon { + // 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. + + public var status: SpawnablePokemon.Status = .unset + + public var pokemonID: HoloPokemonId = .missingno + + public var lat: Double = 0 + + public var lng: Double = 0 + + public var encounterID: UInt64 = 0 + + public var encounterLocation: String = String() + + public var disappearTimeMs: Int64 = 0 + + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + + public var type: SpawnablePokemon.SpawnableType = .untyped + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum SpawnableType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case untyped // = 0 + case pokestopEncounter // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .untyped + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .untyped + case 1: self = .pokestopEncounter + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .untyped: return 0 + case .pokestopEncounter: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case encounterNotAvailable // = 2 + case encounterAlreadyCompleted // = 3 + case errorUnknown // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .encounterNotAvailable + case 3: self = .encounterAlreadyCompleted + case 4: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .encounterNotAvailable: return 2 + case .encounterAlreadyCompleted: return 3 + case .errorUnknown: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +} + +#if swift(>=4.2) + +extension SpawnablePokemon.SpawnableType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SpawnablePokemon.SpawnableType] = [ + .untyped, + .pokestopEncounter, + ] +} + +extension SpawnablePokemon.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SpawnablePokemon.Status] = [ + .unset, + .success, + .encounterNotAvailable, + .encounterAlreadyCompleted, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct SpinPokestopQuestProto { + // 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. + + public var fortIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SpinPokestopTelemetry { + // 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. + + public var result: String = String() + + public var fortID: String = String() + + public var fortType: Int32 = 0 + + public var pokestopRewards: [PokestopReward] = [] + + public var totalRewards: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SponsoredDetailsProto { + // 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. + + public var promoImageURL: [String] = [] + + public var promoDescription: [String] = [] + + public var callToActionLink: String = String() + + public var promoButtonMessageType: SponsoredDetailsProto.PromoButtonMessageType = .unset + + public var campaignID: String = String() + + public var promoImageCreative: ImageTextCreativeProto { + get {return _promoImageCreative ?? ImageTextCreativeProto()} + set {_promoImageCreative = newValue} + } + /// Returns true if `promoImageCreative` has been explicitly set. + public var hasPromoImageCreative: Bool {return self._promoImageCreative != nil} + /// Clears the value of `promoImageCreative`. Subsequent reads from it will return its default value. + public mutating func clearPromoImageCreative() {self._promoImageCreative = nil} + + public var impressionTrackingTag: [ImpressionTrackingTag] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PromoButtonMessageType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case learnMore // = 1 + case offer // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .learnMore + case 2: self = .offer + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .learnMore: return 1 + case .offer: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _promoImageCreative: ImageTextCreativeProto? = nil +} + +#if swift(>=4.2) + +extension SponsoredDetailsProto.PromoButtonMessageType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SponsoredDetailsProto.PromoButtonMessageType] = [ + .unset, + .learnMore, + .offer, + ] +} + +#endif // swift(>=4.2) + +public struct SponsoredGeofenceGiftSettingsProto { + // 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. + + public var giftPersistenceEnabled: Bool { + get {return _storage._giftPersistenceEnabled} + set {_uniqueStorage()._giftPersistenceEnabled = newValue} + } + + public var giftPersistenceTimeMs: Int32 { + get {return _storage._giftPersistenceTimeMs} + set {_uniqueStorage()._giftPersistenceTimeMs = newValue} + } + + public var mapPresentationTimeMs: Int32 { + get {return _storage._mapPresentationTimeMs} + set {_uniqueStorage()._mapPresentationTimeMs = newValue} + } + + public var enableSponsoredGeofenceGift: Bool { + get {return _storage._enableSponsoredGeofenceGift} + set {_uniqueStorage()._enableSponsoredGeofenceGift = newValue} + } + + public var enableDarkLaunch: Bool { + get {return _storage._enableDarkLaunch} + set {_uniqueStorage()._enableDarkLaunch = newValue} + } + + public var enablePoiGift: Bool { + get {return _storage._enablePoiGift} + set {_uniqueStorage()._enablePoiGift = newValue} + } + + public var enableRaidGift: Bool { + get {return _storage._enableRaidGift} + set {_uniqueStorage()._enableRaidGift = newValue} + } + + public var enableIncidentGift: Bool { + get {return _storage._enableIncidentGift} + set {_uniqueStorage()._enableIncidentGift = newValue} + } + + public var fullscreenDisableExitButtonTimeMs: Int32 { + get {return _storage._fullscreenDisableExitButtonTimeMs} + set {_uniqueStorage()._fullscreenDisableExitButtonTimeMs = newValue} + } + + public var balloonGiftSettings: SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto { + get {return _storage._balloonGiftSettings ?? SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto()} + set {_uniqueStorage()._balloonGiftSettings = newValue} + } + /// Returns true if `balloonGiftSettings` has been explicitly set. + public var hasBalloonGiftSettings: Bool {return _storage._balloonGiftSettings != nil} + /// Clears the value of `balloonGiftSettings`. Subsequent reads from it will return its default value. + public mutating func clearBalloonGiftSettings() {_uniqueStorage()._balloonGiftSettings = nil} + + public var externalAdServiceAdsEnabled: Bool { + get {return _storage._externalAdServiceAdsEnabled} + set {_uniqueStorage()._externalAdServiceAdsEnabled = newValue} + } + + public var externalAdServiceSettings: NativeAdUnitSettingsProto { + get {return _storage._externalAdServiceSettings ?? NativeAdUnitSettingsProto()} + set {_uniqueStorage()._externalAdServiceSettings = newValue} + } + /// Returns true if `externalAdServiceSettings` has been explicitly set. + public var hasExternalAdServiceSettings: Bool {return _storage._externalAdServiceSettings != nil} + /// Clears the value of `externalAdServiceSettings`. Subsequent reads from it will return its default value. + public mutating func clearExternalAdServiceSettings() {_uniqueStorage()._externalAdServiceSettings = nil} + + public var externalAdServiceBalloonGiftKeys: SponsoredGeofenceGiftSettingsProto.ExternalAdServiceBalloonGiftKeysProto { + get {return _storage._externalAdServiceBalloonGiftKeys ?? SponsoredGeofenceGiftSettingsProto.ExternalAdServiceBalloonGiftKeysProto()} + set {_uniqueStorage()._externalAdServiceBalloonGiftKeys = newValue} + } + /// Returns true if `externalAdServiceBalloonGiftKeys` has been explicitly set. + public var hasExternalAdServiceBalloonGiftKeys: Bool {return _storage._externalAdServiceBalloonGiftKeys != nil} + /// Clears the value of `externalAdServiceBalloonGiftKeys`. Subsequent reads from it will return its default value. + public mutating func clearExternalAdServiceBalloonGiftKeys() {_uniqueStorage()._externalAdServiceBalloonGiftKeys = nil} + + public var webViewDisableExitButtonTimeMs: Int32 { + get {return _storage._webViewDisableExitButtonTimeMs} + set {_uniqueStorage()._webViewDisableExitButtonTimeMs = newValue} + } + + public var webViewPostArDisableExitButtonTimeMs: Int32 { + get {return _storage._webViewPostArDisableExitButtonTimeMs} + set {_uniqueStorage()._webViewPostArDisableExitButtonTimeMs = newValue} + } + + public var gamVideoAdsEnabled: Bool { + get {return _storage._gamVideoAdsEnabled} + set {_uniqueStorage()._gamVideoAdsEnabled = newValue} + } + + public var gamVideoAdUnitSettings: SponsoredGeofenceGiftSettingsProto.GamVideoAdUnitSettingsProto { + get {return _storage._gamVideoAdUnitSettings ?? SponsoredGeofenceGiftSettingsProto.GamVideoAdUnitSettingsProto()} + set {_uniqueStorage()._gamVideoAdUnitSettings = newValue} + } + /// Returns true if `gamVideoAdUnitSettings` has been explicitly set. + public var hasGamVideoAdUnitSettings: Bool {return _storage._gamVideoAdUnitSettings != nil} + /// Clears the value of `gamVideoAdUnitSettings`. Subsequent reads from it will return its default value. + public mutating func clearGamVideoAdUnitSettings() {_uniqueStorage()._gamVideoAdUnitSettings = nil} + + public var forceAdThroughGam: Bool { + get {return _storage._forceAdThroughGam} + set {_uniqueStorage()._forceAdThroughGam = newValue} + } + + public var reportAdFeedbackEnabled: Bool { + get {return _storage._reportAdFeedbackEnabled} + set {_uniqueStorage()._reportAdFeedbackEnabled = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct ExternalAdServiceBalloonGiftKeysProto { + // 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. + + public var adsLogo: String = String() + + public var partnerName: String = String() + + public var fullscreenImage: String = String() + + public var title: String = String() + + public var description_p: String = String() + + public var ctaURL: String = String() + + public var campaignIdentifier: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct GamVideoAdUnitSettingsProto { + // 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. + + public var iosAdUnitID: String = String() + + public var androidAdUnitID: String = String() + + public var otherAdUnitID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct SponsoredBalloonGiftSettingsProto { + // 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. + + public var enableBalloonGift: Bool = false + + public var balloonAutoDismissTimeMs: Int32 = 0 + + public var incidentBalloonPreventsSponsoredBalloon: Bool = false + + public var incidentBalloonDismissesSponsoredBalloon: Bool = false + + public var getWasabiAdRpcIntervalMs: Int32 = 0 + + public var balloonMovementSettings: SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto.SponsoredBalloonMovementSettingsProto { + get {return _balloonMovementSettings ?? SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto.SponsoredBalloonMovementSettingsProto()} + set {_balloonMovementSettings = newValue} + } + /// Returns true if `balloonMovementSettings` has been explicitly set. + public var hasBalloonMovementSettings: Bool {return self._balloonMovementSettings != nil} + /// Clears the value of `balloonMovementSettings`. Subsequent reads from it will return its default value. + public mutating func clearBalloonMovementSettings() {self._balloonMovementSettings = nil} + + public var enableBalloonWebView: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct SponsoredBalloonMovementSettingsProto { + // 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. + + public var wanderMinDistance: Float = 0 + + public var wanderMaxDistance: Float = 0 + + public var wanderIntervalMin: Float = 0 + + public var wanderIntervalMax: Float = 0 + + public var maxSpeed: Float = 0 + + public var targetCameraDistance: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _balloonMovementSettings: SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto.SponsoredBalloonMovementSettingsProto? = nil + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct SponsoredPoiFeedbackSettingsProto { + // 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. + + public var enabled: Bool = false + + public var enableReportAd: Bool = false + + public var enableNotInterested: Bool = false + + public var enableSeeMore: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SquashSettingsProto { + // 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. + + public var enabled: Bool = false + + public var dailySquashLimit: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StampCardSectionProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StardustBoostAttributesProto { + // 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. + + public var stardustMultiplier: Float = 0 + + public var boostDurationMs: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StartGymBattleOutProto { + // 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. + + public var result: StartGymBattleOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} + } + + public var battleStartMs: Int64 { + get {return _storage._battleStartMs} + set {_uniqueStorage()._battleStartMs = newValue} + } + + public var battleEndMs: Int64 { + get {return _storage._battleEndMs} + set {_uniqueStorage()._battleEndMs = newValue} + } + + public var battleID: String { + get {return _storage._battleID} + set {_uniqueStorage()._battleID = newValue} + } + + public var defender: BattleParticipantProto { + get {return _storage._defender ?? BattleParticipantProto()} + set {_uniqueStorage()._defender = newValue} + } + /// Returns true if `defender` has been explicitly set. + public var hasDefender: Bool {return _storage._defender != nil} + /// Clears the value of `defender`. Subsequent reads from it will return its default value. + public mutating func clearDefender() {_uniqueStorage()._defender = nil} + + public var battleLog: BattleLogProto { + get {return _storage._battleLog ?? BattleLogProto()} + set {_uniqueStorage()._battleLog = newValue} + } + /// Returns true if `battleLog` has been explicitly set. + public var hasBattleLog: Bool {return _storage._battleLog != nil} + /// Clears the value of `battleLog`. Subsequent reads from it will return its default value. + public mutating func clearBattleLog() {_uniqueStorage()._battleLog = nil} + + public var attacker: BattleParticipantProto { + get {return _storage._attacker ?? BattleParticipantProto()} + set {_uniqueStorage()._attacker = newValue} + } + /// Returns true if `attacker` has been explicitly set. + public var hasAttacker: Bool {return _storage._attacker != nil} + /// Clears the value of `attacker`. Subsequent reads from it will return its default value. + public mutating func clearAttacker() {_uniqueStorage()._attacker = nil} + + public var battle: BattleProto { + get {return _storage._battle ?? BattleProto()} + set {_uniqueStorage()._battle = newValue} + } + /// Returns true if `battle` has been explicitly set. + public var hasBattle: Bool {return _storage._battle != nil} + /// Clears the value of `battle`. Subsequent reads from it will return its default value. + public mutating func clearBattle() {_uniqueStorage()._battle = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorGymNotFound // = 2 + case errorGymNeutral // = 3 + case errorGymWrongTeam // = 4 + case errorGymEmpty // = 5 + case errorInvalidDefender // = 6 + case errorTrainingInvalidAttackerCount // = 7 + case errorAllPokemonFainted // = 8 + case errorTooManyBattles // = 9 + case errorTooManyPlayers // = 10 + case errorGymBattleLockout // = 11 + case errorPlayerBelowMinimumLevel // = 12 + case errorNotInRange // = 13 + case errorPoiInaccessible // = 14 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorGymNotFound + case 3: self = .errorGymNeutral + case 4: self = .errorGymWrongTeam + case 5: self = .errorGymEmpty + case 6: self = .errorInvalidDefender + case 7: self = .errorTrainingInvalidAttackerCount + case 8: self = .errorAllPokemonFainted + case 9: self = .errorTooManyBattles + case 10: self = .errorTooManyPlayers + case 11: self = .errorGymBattleLockout + case 12: self = .errorPlayerBelowMinimumLevel + case 13: self = .errorNotInRange + case 14: self = .errorPoiInaccessible + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorGymNotFound: return 2 + case .errorGymNeutral: return 3 + case .errorGymWrongTeam: return 4 + case .errorGymEmpty: return 5 + case .errorInvalidDefender: return 6 + case .errorTrainingInvalidAttackerCount: return 7 + case .errorAllPokemonFainted: return 8 + case .errorTooManyBattles: return 9 + case .errorTooManyPlayers: return 10 + case .errorGymBattleLockout: return 11 + case .errorPlayerBelowMinimumLevel: return 12 + case .errorNotInRange: return 13 + case .errorPoiInaccessible: return 14 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension StartGymBattleOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [StartGymBattleOutProto.Result] = [ + .unset, + .success, + .errorGymNotFound, + .errorGymNeutral, + .errorGymWrongTeam, + .errorGymEmpty, + .errorInvalidDefender, + .errorTrainingInvalidAttackerCount, + .errorAllPokemonFainted, + .errorTooManyBattles, + .errorTooManyPlayers, + .errorGymBattleLockout, + .errorPlayerBelowMinimumLevel, + .errorNotInRange, + .errorPoiInaccessible, + ] +} + +#endif // swift(>=4.2) + +public struct StartGymBattleProto { + // 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. + + public var gymID: String = String() + + public var attackingPokemonID: [UInt64] = [] + + public var defendingPokemonID: UInt64 = 0 + + public var playerLatDegrees: Double = 0 + + public var playerLngDegrees: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StartIncidentOutProto { + // 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. + + public var status: StartIncidentOutProto.Status = .unset + + public var incident: ClientIncidentProto { + get {return _incident ?? ClientIncidentProto()} + set {_incident = newValue} + } + /// Returns true if `incident` has been explicitly set. + public var hasIncident: Bool {return self._incident != nil} + /// Clears the value of `incident`. Subsequent reads from it will return its default value. + public mutating func clearIncident() {self._incident = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNotInRange // = 2 + case errorIncidentCompleted // = 3 + case errorIncidentNotFound // = 4 + case errorPlayerBelowMinLevel // = 5 + case error // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNotInRange + case 3: self = .errorIncidentCompleted + case 4: self = .errorIncidentNotFound + case 5: self = .errorPlayerBelowMinLevel + case 6: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNotInRange: return 2 + case .errorIncidentCompleted: return 3 + case .errorIncidentNotFound: return 4 + case .errorPlayerBelowMinLevel: return 5 + case .error: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _incident: ClientIncidentProto? = nil +} + +#if swift(>=4.2) + +extension StartIncidentOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [StartIncidentOutProto.Status] = [ + .unset, + .success, + .errorNotInRange, + .errorIncidentCompleted, + .errorIncidentNotFound, + .errorPlayerBelowMinLevel, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct StartIncidentProto { + // 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. + + public var incidentLookup: IncidentLookupProto { + get {return _incidentLookup ?? IncidentLookupProto()} + set {_incidentLookup = newValue} + } + /// Returns true if `incidentLookup` has been explicitly set. + public var hasIncidentLookup: Bool {return self._incidentLookup != nil} + /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. + public mutating func clearIncidentLookup() {self._incidentLookup = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _incidentLookup: IncidentLookupProto? = nil +} + +public struct StartPartyOutProto { + // 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. + + public var party: PartyRpcProto { + get {return _party ?? PartyRpcProto()} + set {_party = newValue} + } + /// Returns true if `party` has been explicitly set. + public var hasParty: Bool {return self._party != nil} + /// Clears the value of `party`. Subsequent reads from it will return its default value. + public mutating func clearParty() {self._party = nil} + + public var result: StartPartyOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case errorUnknown // = 1 + case success // = 2 + case errorFeatureDisabled // = 3 + case errorPlayerNotInParty // = 4 + case errorPartyNotReadyToStart // = 5 + case errorPlayerIsNotHost // = 6 + case errorNotEnoughPlayers // = 7 + case errorPartyTimedOut // = 8 + case errorPlayersNotInRange // = 9 + case errorRedisException // = 10 + case errorNoLocation // = 11 + case errorPlfeRedirectNeeded // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .errorUnknown + case 2: self = .success + case 3: self = .errorFeatureDisabled + case 4: self = .errorPlayerNotInParty + case 5: self = .errorPartyNotReadyToStart + case 6: self = .errorPlayerIsNotHost + case 7: self = .errorNotEnoughPlayers + case 8: self = .errorPartyTimedOut + case 9: self = .errorPlayersNotInRange + case 10: self = .errorRedisException + case 11: self = .errorNoLocation + case 12: self = .errorPlfeRedirectNeeded + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .errorUnknown: return 1 + case .success: return 2 + case .errorFeatureDisabled: return 3 + case .errorPlayerNotInParty: return 4 + case .errorPartyNotReadyToStart: return 5 + case .errorPlayerIsNotHost: return 6 + case .errorNotEnoughPlayers: return 7 + case .errorPartyTimedOut: return 8 + case .errorPlayersNotInRange: return 9 + case .errorRedisException: return 10 + case .errorNoLocation: return 11 + case .errorPlfeRedirectNeeded: return 12 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _party: PartyRpcProto? = nil +} + +#if swift(>=4.2) + +extension StartPartyOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [StartPartyOutProto.Result] = [ + .unset, + .errorUnknown, + .success, + .errorFeatureDisabled, + .errorPlayerNotInParty, + .errorPartyNotReadyToStart, + .errorPlayerIsNotHost, + .errorNotEnoughPlayers, + .errorPartyTimedOut, + .errorPlayersNotInRange, + .errorRedisException, + .errorNoLocation, + .errorPlfeRedirectNeeded, + ] +} + +#endif // swift(>=4.2) + +public struct StartPartyProto { + // 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. + + public var partyID: [Int32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StartPartyQuestOutProto { + // 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. + + public var result: StartPartyQuestOutProto.Result = .unset + + public var quest: ClientQuestProto { + get {return _quest ?? ClientQuestProto()} + set {_quest = newValue} + } + /// Returns true if `quest` has been explicitly set. + public var hasQuest: Bool {return self._quest != nil} + /// Clears the value of `quest`. Subsequent reads from it will return its default value. + public mutating func clearQuest() {self._quest = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case errorUnknown // = 1 + case success // = 2 + case errorFeatureDisabled // = 3 + case errorPlayerNotInParty // = 4 + case errorPlayerIsNotHost // = 5 + case errorQuestNotFound // = 6 + case errorQuestStatusInvalid // = 7 + case errorPartyNotFound // = 8 + case errorPartyStatusInvalid // = 9 + case errorPlayerStateNotFound // = 10 + case errorPlayerStateInvalid // = 11 + case errorAlreadyStartedQuest // = 12 + case errorPartyTimedOut // = 13 + case errorPlfeRedirectNeeded // = 14 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .errorUnknown + case 2: self = .success + case 3: self = .errorFeatureDisabled + case 4: self = .errorPlayerNotInParty + case 5: self = .errorPlayerIsNotHost + case 6: self = .errorQuestNotFound + case 7: self = .errorQuestStatusInvalid + case 8: self = .errorPartyNotFound + case 9: self = .errorPartyStatusInvalid + case 10: self = .errorPlayerStateNotFound + case 11: self = .errorPlayerStateInvalid + case 12: self = .errorAlreadyStartedQuest + case 13: self = .errorPartyTimedOut + case 14: self = .errorPlfeRedirectNeeded + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .errorUnknown: return 1 + case .success: return 2 + case .errorFeatureDisabled: return 3 + case .errorPlayerNotInParty: return 4 + case .errorPlayerIsNotHost: return 5 + case .errorQuestNotFound: return 6 + case .errorQuestStatusInvalid: return 7 + case .errorPartyNotFound: return 8 + case .errorPartyStatusInvalid: return 9 + case .errorPlayerStateNotFound: return 10 + case .errorPlayerStateInvalid: return 11 + case .errorAlreadyStartedQuest: return 12 + case .errorPartyTimedOut: return 13 + case .errorPlfeRedirectNeeded: return 14 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _quest: ClientQuestProto? = nil +} + +#if swift(>=4.2) + +extension StartPartyQuestOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [StartPartyQuestOutProto.Result] = [ + .unset, + .errorUnknown, + .success, + .errorFeatureDisabled, + .errorPlayerNotInParty, + .errorPlayerIsNotHost, + .errorQuestNotFound, + .errorQuestStatusInvalid, + .errorPartyNotFound, + .errorPartyStatusInvalid, + .errorPlayerStateNotFound, + .errorPlayerStateInvalid, + .errorAlreadyStartedQuest, + .errorPartyTimedOut, + .errorPlfeRedirectNeeded, + ] +} + +#endif // swift(>=4.2) + +public struct StartPartyQuestProto { + // 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. + + public var questID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StartQuestIncidentProto { + // 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. + + public var incidentLookup: IncidentLookupProto { + get {return _incidentLookup ?? IncidentLookupProto()} + set {_incidentLookup = newValue} + } + /// Returns true if `incidentLookup` has been explicitly set. + public var hasIncidentLookup: Bool {return self._incidentLookup != nil} + /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. + public mutating func clearIncidentLookup() {self._incidentLookup = nil} + + public var questID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _incidentLookup: IncidentLookupProto? = nil +} + +public struct StartRaidBattleData { + // 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. + + public var attackingPokemonID: [UInt64] = [] + + public var rpcID: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StartRaidBattleOutProto { + // 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. + + public var result: StartRaidBattleOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} + } + + public var battle: BattleProto { + get {return _storage._battle ?? BattleProto()} + set {_uniqueStorage()._battle = newValue} + } + /// Returns true if `battle` has been explicitly set. + public var hasBattle: Bool {return _storage._battle != nil} + /// Clears the value of `battle`. Subsequent reads from it will return its default value. + public mutating func clearBattle() {_uniqueStorage()._battle = nil} + + public var battleExperiment: [BattleExperiment] { + get {return _storage._battleExperiment} + set {_uniqueStorage()._battleExperiment = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorGymNotFound // = 2 + case errorRaidUnavailable // = 3 + case errorRaidCompleted // = 4 + case errorInvalidAttackers // = 5 + case errorPlayerBelowMinimumLevel // = 6 + case errorNotInRange // = 7 + case errorPoiInaccessible // = 8 + case errorLobbyNotFound // = 9 + case errorNoTicket // = 10 + case errorInvalidServer // = 11 + case errorNeverJoinedBattle // = 12 + case errorData // = 13 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorGymNotFound + case 3: self = .errorRaidUnavailable + case 4: self = .errorRaidCompleted + case 5: self = .errorInvalidAttackers + case 6: self = .errorPlayerBelowMinimumLevel + case 7: self = .errorNotInRange + case 8: self = .errorPoiInaccessible + case 9: self = .errorLobbyNotFound + case 10: self = .errorNoTicket + case 11: self = .errorInvalidServer + case 12: self = .errorNeverJoinedBattle + case 13: self = .errorData + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorGymNotFound: return 2 + case .errorRaidUnavailable: return 3 + case .errorRaidCompleted: return 4 + case .errorInvalidAttackers: return 5 + case .errorPlayerBelowMinimumLevel: return 6 + case .errorNotInRange: return 7 + case .errorPoiInaccessible: return 8 + case .errorLobbyNotFound: return 9 + case .errorNoTicket: return 10 + case .errorInvalidServer: return 11 + case .errorNeverJoinedBattle: return 12 + case .errorData: return 13 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension StartRaidBattleOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [StartRaidBattleOutProto.Result] = [ + .unset, + .success, + .errorGymNotFound, + .errorRaidUnavailable, + .errorRaidCompleted, + .errorInvalidAttackers, + .errorPlayerBelowMinimumLevel, + .errorNotInRange, + .errorPoiInaccessible, + .errorLobbyNotFound, + .errorNoTicket, + .errorInvalidServer, + .errorNeverJoinedBattle, + .errorData, + ] +} + +#endif // swift(>=4.2) + +public struct StartRaidBattleProto { + // 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. + + public var gymID: String = String() + + public var raidSeed: Int64 = 0 + + public var lobbyID: [Int32] = [] + + public var attackingPokemonID: [UInt64] = [] + + public var playerLatDegrees: Double = 0 + + public var playerLngDegrees: Double = 0 + + public var gymLatDegrees: Double = 0 + + public var gymLngDegrees: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StartRaidBattleResponseData { + // 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. + + public var result: StartRaidBattleOutProto.Result = .unset + + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 + + public var highestFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StartRocketBalloonIncidentProto { + // 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. + + public var incidentLookup: IncidentLookupProto { + get {return _incidentLookup ?? IncidentLookupProto()} + set {_incidentLookup = newValue} + } + /// Returns true if `incidentLookup` has been explicitly set. + public var hasIncidentLookup: Bool {return self._incidentLookup != nil} + /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. + public mutating func clearIncidentLookup() {self._incidentLookup = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _incidentLookup: IncidentLookupProto? = nil +} + +public struct StartRouteOutProto { + // 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. + + public var status: RoutePlayStatus.Status = .unset + + public var routePlay: RoutePlayProto { + get {return _routePlay ?? RoutePlayProto()} + set {_routePlay = newValue} + } + /// Returns true if `routePlay` has been explicitly set. + public var hasRoutePlay: Bool {return self._routePlay != nil} + /// Clears the value of `routePlay`. Subsequent reads from it will return its default value. + public mutating func clearRoutePlay() {self._routePlay = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _routePlay: RoutePlayProto? = nil +} + +public struct StartRouteProto { + // 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. + + public var routeID: String = String() + + public var entryFortID: String = String() + + public var travelInReverse: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StartTutorialOutProto { + // 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. + + public var result: StartTutorialOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPlayerAlreadyStartedTutorial // = 2 + case errorFailedToStart // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPlayerAlreadyStartedTutorial + case 3: self = .errorFailedToStart + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPlayerAlreadyStartedTutorial: return 2 + case .errorFailedToStart: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension StartTutorialOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [StartTutorialOutProto.Result] = [ + .unset, + .success, + .errorPlayerAlreadyStartedTutorial, + .errorFailedToStart, + ] +} + +#endif // swift(>=4.2) + +public struct StartTutorialProto { + // 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. + + public var onboardingV2Enabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StartupMeasurementProto { + // 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. + + public var numStarts: Int64 = 0 + + public var loadToTosLoginDurationMs: Int64 = 0 + + public var loadToMapDurationMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct ComponentLoadDurations { + // 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. + + public var componentName: String = String() + + public var loadDurationMs: Int64 = 0 + + public var absoluteDurationMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct StickerCategorySettingsProto { + // 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. + + public var enabled: Bool = false + + public var stickerCategory: [StickerCategorySettingsProto.StickerCategoryProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct StickerCategoryProto { + // 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. + + public var category: String = String() + + public var sortOrder: Int32 = 0 + + public var active: Bool = false + + public var stickerID: [String] = [] + + public var preferredCategoryIcon: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct StickerMetadataProto { + // 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. + + public var stickerID: String = String() + + public var stickerURL: String = String() + + public var maxCount: Int32 = 0 + + public var pokemonID: HoloPokemonId = .missingno + + public var category: [String] = [] + + public var releaseDate: Int32 = 0 + + public var regionID: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StickerProto { + // 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. + + public var stickerID: String = String() + + public var count: Int32 = 0 + + public var used: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StickerRewardProto { + // 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. + + public var stickerID: String = String() + + public var amount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StickerSentProto { + // 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. + + public var stickerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StoreIapSettingsProto { + // 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. + + public var forStore: Store = .unset + + public var libraryVersion: IapLibraryVersion = .default + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StoryQuestSectionProto { + // 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. + + public var questID: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct Struct { + // 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. + + public var fields: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct StyleShopSettingsProto { + // 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. + + public var v2Enabled: Bool = false + + public var setsEnabled: Bool = false + + public var recommendedItemIconNames: [String] = [] + + public var entryTooltipConfig: StyleShopSettingsProto.EntryTooltipConfig = .unset + + public var newItemTagsEnabled: Bool = false + + public var cartDisabled: Bool = false + + public var purchaseConfirmDisabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum EntryTooltipConfig: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case itemBubbleOnly // = 1 + case redDotOnly // = 2 + case allOn // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .itemBubbleOnly + case 2: self = .redDotOnly + case 3: self = .allOn + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .itemBubbleOnly: return 1 + case .redDotOnly: return 2 + case .allOn: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension StyleShopSettingsProto.EntryTooltipConfig: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [StyleShopSettingsProto.EntryTooltipConfig] = [ + .unset, + .itemBubbleOnly, + .redDotOnly, + .allOn, + ] +} + +#endif // swift(>=4.2) + +public struct SubmissionCounterSettings { + // 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. + + public var submissionCounterEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SubmitCombatAction { + // 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. + + public var combatActionProto: CombatActionLogProto { + get {return _combatActionProto ?? CombatActionLogProto()} + set {_combatActionProto = newValue} + } + /// Returns true if `combatActionProto` has been explicitly set. + public var hasCombatActionProto: Bool {return self._combatActionProto != nil} + /// Clears the value of `combatActionProto`. Subsequent reads from it will return its default value. + public mutating func clearCombatActionProto() {self._combatActionProto = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _combatActionProto: CombatActionLogProto? = nil +} + +public struct SubmitCombatChallengePokemonsData { + // 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. + + public var rpcID: Int32 = 0 + + public var attackingPokemonIndexes: [Int32] = [] + + public var lobbyJoinTimeOffsetMs: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SubmitCombatChallengePokemonsOutProto { + // 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. + + public var result: SubmitCombatChallengePokemonsOutProto.Result = .unset + + public var challenge: CombatChallengeProto { + get {return _challenge ?? CombatChallengeProto()} + set {_challenge = newValue} + } + /// Returns true if `challenge` has been explicitly set. + public var hasChallenge: Bool {return self._challenge != nil} + /// Clears the value of `challenge`. Subsequent reads from it will return its default value. + public mutating func clearChallenge() {self._challenge = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidChallengeState // = 2 + case errorChallengeNotFound // = 3 + case errorPokemonNotInInventory // = 4 + case errorNotEligibleLeague // = 5 + case errorAlreadyTimedout // = 6 + case errorAlreadyCancelled // = 7 + case errorAccessDenied // = 8 + case errorAlreadyDeclined // = 9 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidChallengeState + case 3: self = .errorChallengeNotFound + case 4: self = .errorPokemonNotInInventory + case 5: self = .errorNotEligibleLeague + case 6: self = .errorAlreadyTimedout + case 7: self = .errorAlreadyCancelled + case 8: self = .errorAccessDenied + case 9: self = .errorAlreadyDeclined + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidChallengeState: return 2 + case .errorChallengeNotFound: return 3 + case .errorPokemonNotInInventory: return 4 + case .errorNotEligibleLeague: return 5 + case .errorAlreadyTimedout: return 6 + case .errorAlreadyCancelled: return 7 + case .errorAccessDenied: return 8 + case .errorAlreadyDeclined: return 9 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _challenge: CombatChallengeProto? = nil +} + +#if swift(>=4.2) + +extension SubmitCombatChallengePokemonsOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SubmitCombatChallengePokemonsOutProto.Result] = [ + .unset, + .success, + .errorInvalidChallengeState, + .errorChallengeNotFound, + .errorPokemonNotInInventory, + .errorNotEligibleLeague, + .errorAlreadyTimedout, + .errorAlreadyCancelled, + .errorAccessDenied, + .errorAlreadyDeclined, + ] +} + +#endif // swift(>=4.2) + +public struct SubmitCombatChallengePokemonsProto { + // 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. + + public var challengeID: String = String() + + public var attackingPokemonID: [UInt64] = [] + + public var lobbyJoinTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SubmitCombatChallengePokemonsResponseData { + // 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. + + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 + + public var result: SubmitCombatChallengePokemonsOutProto.Result = .unset + + public var challenge: CombatChallengeLogProto { + get {return _challenge ?? CombatChallengeLogProto()} + set {_challenge = newValue} + } + /// Returns true if `challenge` has been explicitly set. + public var hasChallenge: Bool {return self._challenge != nil} + /// Clears the value of `challenge`. Subsequent reads from it will return its default value. + public mutating func clearChallenge() {self._challenge = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _challenge: CombatChallengeLogProto? = nil +} + +public struct SubmitNewPoiOutProto { + // 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. + + public var status: SubmitNewPoiOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case internalError // = 3 + case tooManyRecentSubmissions // = 4 + case invalidInput // = 5 + case minor // = 6 + case notAvailable // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + case 3: self = .internalError + case 4: self = .tooManyRecentSubmissions + case 5: self = .invalidInput + case 6: self = .minor + case 7: self = .notAvailable + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .internalError: return 3 + case .tooManyRecentSubmissions: return 4 + case .invalidInput: return 5 + case .minor: return 6 + case .notAvailable: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SubmitNewPoiOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SubmitNewPoiOutProto.Status] = [ + .unset, + .success, + .failure, + .internalError, + .tooManyRecentSubmissions, + .invalidInput, + .minor, + .notAvailable, + ] +} + +#endif // swift(>=4.2) + +public struct SubmitNewPoiProto { + // 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. + + public var title: String = String() + + public var longDescription: String = String() + + public var latE6: Int32 = 0 + + public var lngE6: Int32 = 0 + + public var supportingStatement: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SubmitRouteDraftOutProto { + // 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. + + public var result: SubmitRouteDraftOutProto.Result = .unset + + public var submittedRoute: RouteCreationProto { + get {return _submittedRoute ?? RouteCreationProto()} + set {_submittedRoute = newValue} + } + /// Returns true if `submittedRoute` has been explicitly set. + public var hasSubmittedRoute: Bool {return self._submittedRoute != nil} + /// Clears the value of `submittedRoute`. Subsequent reads from it will return its default value. + public mutating func clearSubmittedRoute() {self._submittedRoute = nil} + + public var validationResult: RouteValidation { + get {return _validationResult ?? RouteValidation()} + set {_validationResult = newValue} + } + /// Returns true if `validationResult` has been explicitly set. + public var hasValidationResult: Bool {return self._validationResult != nil} + /// Clears the value of `validationResult`. Subsequent reads from it will return its default value. + public mutating func clearValidationResult() {self._validationResult = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorInvalidRoute // = 3 + case errorOldVersion // = 4 + case errorRouteStateNotInProgress // = 5 + case errorTooManyRecentSubmissions // = 6 + case errorRouteSubmissionUnavailable // = 7 + case errorUnvisitedFort // = 8 + case errorMatchesRejection // = 9 + case errorModerationRejection // = 10 + case pendingModerationResult // = 11 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorInvalidRoute + case 4: self = .errorOldVersion + case 5: self = .errorRouteStateNotInProgress + case 6: self = .errorTooManyRecentSubmissions + case 7: self = .errorRouteSubmissionUnavailable + case 8: self = .errorUnvisitedFort + case 9: self = .errorMatchesRejection + case 10: self = .errorModerationRejection + case 11: self = .pendingModerationResult + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorInvalidRoute: return 3 + case .errorOldVersion: return 4 + case .errorRouteStateNotInProgress: return 5 + case .errorTooManyRecentSubmissions: return 6 + case .errorRouteSubmissionUnavailable: return 7 + case .errorUnvisitedFort: return 8 + case .errorMatchesRejection: return 9 + case .errorModerationRejection: return 10 + case .pendingModerationResult: return 11 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _submittedRoute: RouteCreationProto? = nil + fileprivate var _validationResult: RouteValidation? = nil +} + +#if swift(>=4.2) + +extension SubmitRouteDraftOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SubmitRouteDraftOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorInvalidRoute, + .errorOldVersion, + .errorRouteStateNotInProgress, + .errorTooManyRecentSubmissions, + .errorRouteSubmissionUnavailable, + .errorUnvisitedFort, + .errorMatchesRejection, + .errorModerationRejection, + .pendingModerationResult, + ] +} + +#endif // swift(>=4.2) + +public struct SubmitRouteDraftProto { + // 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. + + public var routeID: String = String() + + public var routeVersion: Int64 = 0 + + public var approvalOverride: SubmitRouteDraftProto.ApprovalOverride = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ApprovalOverride: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case approve // = 1 + case reject // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .approve + case 2: self = .reject + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .approve: return 1 + case .reject: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension SubmitRouteDraftProto.ApprovalOverride: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [SubmitRouteDraftProto.ApprovalOverride] = [ + .unset, + .approve, + .reject, + ] +} + +#endif // swift(>=4.2) + +public struct SubmitSleepRecordsQuestProto { + // 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. + + public var numDays: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SuperAwesomeTokenProto { + // 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. + + public var token: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct SupportedContestTypesSettingsProto { + // 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. + + public var contestTypes: [SupportedContestTypesSettingsProto.ContestTypeProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct ContestTypeProto { + // 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. + + public var contestMetricType: ContestMetricProto { + get {return _contestMetricType ?? ContestMetricProto()} + set {_contestMetricType = newValue} + } + /// Returns true if `contestMetricType` has been explicitly set. + public var hasContestMetricType: Bool {return self._contestMetricType != nil} + /// Clears the value of `contestMetricType`. Subsequent reads from it will return its default value. + public mutating func clearContestMetricType() {self._contestMetricType = nil} + + public var badgeType: HoloBadgeType = .badgeUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _contestMetricType: ContestMetricProto? = nil + } + + public init() {} +} + +public struct TakeSnapshotQuestProto { + // 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. + + public var uniquePokemonID: [HoloPokemonId] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct Tappable { + // 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. + + public var type: Tappable.TappableType = .unset + + public var id: Int32 = 0 + + public var count: Int32 = 0 + + public var locationHintLat: Double = 0 + + public var locationHintLng: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum TappableType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case breakfast // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .breakfast + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .breakfast: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension Tappable.TappableType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [Tappable.TappableType] = [ + .unset, + .breakfast, + ] +} + +#endif // swift(>=4.2) + +public struct TappableSettingsProto { + // 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. + + public var visibleRadiusMeters: Float = 0 + + public var spawnAngleDegrees: Float = 0 + + public var movementRespawnThresholdMeters: Float = 0 + + public var buddyFovDegrees: Float = 0 + + public var buddyCollectProbability: Float = 0 + + public var disablePlayerCollection: Bool = false + + public var avgTappablesInView: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TeamChangeInfoProto { + // 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. + + public var lastAcquiredTime: Int64 = 0 + + public var numItemsAcquired: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TelemetryCommon { + // 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. + + public var timestamp: Int64 = 0 + + public var correlationVector: String = String() + + public var eventID: String = String() + + public var clientTimestampMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TelemetryGlobalSettingsProto { + // 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. + + public var enabled: Bool = false + + public var sessionSamplingFraction: Double = 0 + + public var maxBufferSizeKb: Int32 = 0 + + public var batchSize: Int32 = 0 + + public var updateIntervalMs: Int64 = 0 + + public var frameRateSampleIntervalMs: Int64 = 0 + + public var frameRateSamplePeriodMs: Int64 = 0 + + public var enableOmniWrapperSending: Bool = false + + public var logPokemonMissingPokemonAssetThresholdSec: Float = 0 + + public var enableAppsflyerEvents: Bool = false + + public var blockAppsflyerEvents: [String] = [] + + public var enableArdkTelemetry: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TelemetryRequestProto { + // 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. + + public var apiVersion: String = String() + + public var messageVersion: String = String() + + public var telemetryBatch: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TempEvoGlobalSettingsProto { + // 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. + + public var primalEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TempEvoOverrideExtendedProto { + // 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. + + public var tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var sizeSettings: PokemonSizeSettingsProto { + get {return _sizeSettings ?? PokemonSizeSettingsProto()} + set {_sizeSettings = newValue} + } + /// Returns true if `sizeSettings` has been explicitly set. + public var hasSizeSettings: Bool {return self._sizeSettings != nil} + /// Clears the value of `sizeSettings`. Subsequent reads from it will return its default value. + public mutating func clearSizeSettings() {self._sizeSettings = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _sizeSettings: PokemonSizeSettingsProto? = nil +} + +public struct TempEvoOverrideProto { + // 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. + + public var tempEvoID: HoloTemporaryEvolutionId { + get {return _storage._tempEvoID} + set {_uniqueStorage()._tempEvoID = newValue} + } + + public var stats: PokemonStatsAttributesProto { + get {return _storage._stats ?? PokemonStatsAttributesProto()} + set {_uniqueStorage()._stats = newValue} + } + /// Returns true if `stats` has been explicitly set. + public var hasStats: Bool {return _storage._stats != nil} + /// Clears the value of `stats`. Subsequent reads from it will return its default value. + public mutating func clearStats() {_uniqueStorage()._stats = nil} + + public var averageHeightM: Float { + get {return _storage._averageHeightM} + set {_uniqueStorage()._averageHeightM = newValue} + } + + public var averageWeightKg: Float { + get {return _storage._averageWeightKg} + set {_uniqueStorage()._averageWeightKg = newValue} + } + + public var typeOverride1: HoloPokemonType { + get {return _storage._typeOverride1} + set {_uniqueStorage()._typeOverride1 = newValue} + } + + public var typeOverride2: HoloPokemonType { + get {return _storage._typeOverride2} + set {_uniqueStorage()._typeOverride2 = newValue} + } + + public var cpMultiplierOverride: Float { + get {return _storage._cpMultiplierOverride} + set {_uniqueStorage()._cpMultiplierOverride = newValue} + } + + public var camera: PokemonCameraAttributesProto { + get {return _storage._camera ?? PokemonCameraAttributesProto()} + set {_uniqueStorage()._camera = newValue} + } + /// Returns true if `camera` has been explicitly set. + public var hasCamera: Bool {return _storage._camera != nil} + /// Clears the value of `camera`. Subsequent reads from it will return its default value. + public mutating func clearCamera() {_uniqueStorage()._camera = nil} + + public var encounter: PokemonEncounterAttributesProto { + get {return _storage._encounter ?? PokemonEncounterAttributesProto()} + set {_uniqueStorage()._encounter = newValue} + } + /// Returns true if `encounter` has been explicitly set. + public var hasEncounter: Bool {return _storage._encounter != nil} + /// Clears the value of `encounter`. Subsequent reads from it will return its default value. + public mutating func clearEncounter() {_uniqueStorage()._encounter = nil} + + public var modelScaleV2: Float { + get {return _storage._modelScaleV2} + set {_uniqueStorage()._modelScaleV2 = newValue} + } + + public var modelHeight: Float { + get {return _storage._modelHeight} + set {_uniqueStorage()._modelHeight = newValue} + } + + public var buddyOffsetMale: [Float] { + get {return _storage._buddyOffsetMale} + set {_uniqueStorage()._buddyOffsetMale = newValue} + } + + public var buddyOffsetFemale: [Float] { + get {return _storage._buddyOffsetFemale} + set {_uniqueStorage()._buddyOffsetFemale = newValue} + } + + public var buddyPortraitOffset: [Float] { + get {return _storage._buddyPortraitOffset} + set {_uniqueStorage()._buddyPortraitOffset = newValue} + } + + public var raidBossDistanceOffset: Float { + get {return _storage._raidBossDistanceOffset} + set {_uniqueStorage()._raidBossDistanceOffset = newValue} + } + + public var sizeSettings: PokemonSizeSettingsProto { + get {return _storage._sizeSettings ?? PokemonSizeSettingsProto()} + set {_uniqueStorage()._sizeSettings = newValue} + } + /// Returns true if `sizeSettings` has been explicitly set. + public var hasSizeSettings: Bool {return _storage._sizeSettings != nil} + /// Clears the value of `sizeSettings`. Subsequent reads from it will return its default value. + public mutating func clearSizeSettings() {_uniqueStorage()._sizeSettings = nil} + + public var buddyPortraitRotation: [Float] { + get {return _storage._buddyPortraitRotation} + set {_uniqueStorage()._buddyPortraitRotation = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct TemplateVariable { + // 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. + + public var name: String = String() + + public var literal: String = String() + + public var key: String = String() + + public var lookupTable: String = String() + + public var byteValue: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TemporalFrequencyProto { + // 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. + + public var frequency: TemporalFrequencyProto.OneOf_Frequency? = nil + + public var weekdays: WeekdaysProto { + get { + if case .weekdays(let v)? = frequency {return v} + return WeekdaysProto() + } + set {frequency = .weekdays(newValue)} + } + + public var timeGap: TimeGapProto { + get { + if case .timeGap(let v)? = frequency {return v} + return TimeGapProto() + } + set {frequency = .timeGap(newValue)} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Frequency: Equatable { + case weekdays(WeekdaysProto) + case timeGap(TimeGapProto) + + #if !swift(>=4.1) + public static func ==(lhs: TemporalFrequencyProto.OneOf_Frequency, rhs: TemporalFrequencyProto.OneOf_Frequency) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.weekdays, .weekdays): return { + guard case .weekdays(let l) = lhs, case .weekdays(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.timeGap, .timeGap): return { + guard case .timeGap(let l) = lhs, case .timeGap(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} +} + +public struct TemporaryEvolutionProto { + // 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. + + public var temporaryEvolutionID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var assetBundleValue: Int32 = 0 + + public var assetBundleSuffix: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TemporaryEvolutionResourceProto { + // 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. + + public var temporaryEvolutionID: HoloTemporaryEvolutionId = .tempEvolutionUnset + + public var energyCount: Int32 = 0 + + public var maxEnergyCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TemporaryEvolutionSettingsProto { + // 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. + + public var pokemon: HoloPokemonId = .missingno + + public var temporaryEvolutions: [TemporaryEvolutionProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct ThirdMoveGlobalSettingsProto { + // 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. + + public var unlockEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TicketGiftingFeatureSettingsProto { + // 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. + + public var enableNotificationHistory: Bool = false + + public var enableOptoutSetting: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TicketGiftingSettingsProto { + // 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. + + public var minPlayerLevel: Int32 = 0 + + public var dailyPlayerGiftingLimit: Int32 = 0 + + public var minRequiredFriendshipLevel: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TiledBlob { + // 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. + + public var formatVersion: Int32 = 0 + + public var zoom: Int32 = 0 + + public var x: Int32 = 0 + + public var y: Int32 = 0 + + public var epoch: Int32 = 0 + + public var encodedData: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ContentType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case nianticVectorMaptile // = 0 + case biomeRasterMaptile // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .nianticVectorMaptile + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .nianticVectorMaptile + case 1: self = .biomeRasterMaptile + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .nianticVectorMaptile: return 0 + case .biomeRasterMaptile: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TiledBlob.ContentType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TiledBlob.ContentType] = [ + .nianticVectorMaptile, + .biomeRasterMaptile, + ] +} + +#endif // swift(>=4.2) + +public struct TimeBonusSettingsProto { + // 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. + + public var affectedItems: [Item] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TimeGapProto { + // 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. + + public var unit: TimeGapProto.SpanUnit = .unset + + public var quantity: Int64 = 0 + + public var offset: [TimeGapProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum SpanUnit: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case millisecond // = 1 + case second // = 2 + case minute // = 3 + case hour // = 4 + case day // = 5 + case week // = 6 + case month // = 7 + case year // = 8 + case decade // = 9 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .millisecond + case 2: self = .second + case 3: self = .minute + case 4: self = .hour + case 5: self = .day + case 6: self = .week + case 7: self = .month + case 8: self = .year + case 9: self = .decade + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .millisecond: return 1 + case .second: return 2 + case .minute: return 3 + case .hour: return 4 + case .day: return 5 + case .week: return 6 + case .month: return 7 + case .year: return 8 + case .decade: return 9 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TimeGapProto.SpanUnit: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TimeGapProto.SpanUnit] = [ + .unset, + .millisecond, + .second, + .minute, + .hour, + .day, + .week, + .month, + .year, + .decade, + ] +} + +#endif // swift(>=4.2) + +public struct TimeToPlayable { + // 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. + + public var resumedFrom: TimeToPlayable.ResumedFrom = .undefined + + public var timeToPlay: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ResumedFrom: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case warm // = 1 + case cold // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .undefined + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .warm + case 2: self = .cold + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .warm: return 1 + case .cold: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TimeToPlayable.ResumedFrom: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TimeToPlayable.ResumedFrom] = [ + .undefined, + .warm, + .cold, + ] +} + +#endif // swift(>=4.2) + +public struct TimedGroupChallengeDefinitionProto { + // 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. + + public var challengeID: String = String() + + public var display: GroupChallengeDisplayProto { + get {return _display ?? GroupChallengeDisplayProto()} + set {_display = newValue} + } + /// Returns true if `display` has been explicitly set. + public var hasDisplay: Bool {return self._display != nil} + /// Clears the value of `display`. Subsequent reads from it will return its default value. + public mutating func clearDisplay() {self._display = nil} + + public var startTimeMsInclusive: Int64 = 0 + + public var endTimeMsExclusive: Int64 = 0 + + public var challengeCriteria: GroupChallengeCriteriaProto { + get {return _challengeCriteria ?? GroupChallengeCriteriaProto()} + set {_challengeCriteria = newValue} + } + /// Returns true if `challengeCriteria` has been explicitly set. + public var hasChallengeCriteria: Bool {return self._challengeCriteria != nil} + /// Clears the value of `challengeCriteria`. Subsequent reads from it will return its default value. + public mutating func clearChallengeCriteria() {self._challengeCriteria = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _display: GroupChallengeDisplayProto? = nil + fileprivate var _challengeCriteria: GroupChallengeCriteriaProto? = nil +} + +public struct TimedGroupChallengePlayerStatsProto { + // 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. + + public var challenges: [TimedGroupChallengePlayerStatsProto.IndividualChallengeStats] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct IndividualChallengeStats { + // 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. + + public var challengeID: String = String() + + public var playerScore: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct TimedGroupChallengeSectionProto { + // 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. + + public var challengeID: String = String() + + public var headerImageURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TimedGroupChallengeSettingsProto { + // 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. + + public var widgetAutoUpdatePeriodMs: Int32 = 0 + + public var friendLeaderboardBackgroundUpdatePeriodMs: Int64 = 0 + + public var friendLeaderboardFriendsPerRpc: Int32 = 0 + + public var refreshOfflineFriendsModulus: Int32 = 0 + + public var refreshNonEventFriendsModulus: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TimedQuestSectionProto { + // 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. + + public var questID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct Timestamp { + // 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. + + public var seconds: Int64 = 0 + + public var nanos: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanAsyncFileUploadCompleteOutProto { + // 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. + + public var poiID: String = String() + + public var postActionGameInfo: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ErrorStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case serverUpdateFailed // = 1 + case missingSubmissionID // = 2 + case missingSubmissionType // = 3 + case missingUploadStatus // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .serverUpdateFailed + case 2: self = .missingSubmissionID + case 3: self = .missingSubmissionType + case 4: self = .missingUploadStatus + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .serverUpdateFailed: return 1 + case .missingSubmissionID: return 2 + case .missingSubmissionType: return 3 + case .missingUploadStatus: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanAsyncFileUploadCompleteOutProto.ErrorStatus: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanAsyncFileUploadCompleteOutProto.ErrorStatus] = [ + .unset, + .serverUpdateFailed, + .missingSubmissionID, + .missingSubmissionType, + .missingUploadStatus, + ] +} + +#endif // swift(>=4.2) + +public struct TitanAsyncFileUploadCompleteProto { + // 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. + + public var submissionID: String = String() + + public var uploadStatus: TitanAsyncFileUploadCompleteProto.Status = .unset + + public var arCommonMetadata: ARDKARCommonMetadata { + get {return _arCommonMetadata ?? ARDKARCommonMetadata()} + set {_arCommonMetadata = newValue} + } + /// Returns true if `arCommonMetadata` has been explicitly set. + public var hasArCommonMetadata: Bool {return self._arCommonMetadata != nil} + /// Clears the value of `arCommonMetadata`. Subsequent reads from it will return its default value. + public mutating func clearArCommonMetadata() {self._arCommonMetadata = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case uploadDone // = 1 + case uploadFailed // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .uploadDone + case 2: self = .uploadFailed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .uploadDone: return 1 + case .uploadFailed: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _arCommonMetadata: ARDKARCommonMetadata? = nil +} + +#if swift(>=4.2) + +extension TitanAsyncFileUploadCompleteProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanAsyncFileUploadCompleteProto.Status] = [ + .unset, + .uploadDone, + .uploadFailed, + ] +} + +#endif // swift(>=4.2) + +public struct TitanAvailableSubmissionsPerSubmissionType { + // 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. + + public var submissionsLeft: Int32 = 0 + + public var minPlayerLevel: Int32 = 0 + + public var isFeatureEnabled: Bool = false + + public var timeWindowForSubmissionsLimitMs: Int64 = 0 + + public var maxPoiDistanceInMeters: Int32 = 0 + + public var blacklistedOs: [String] = [] + + public var blacklistedDeviceID: [String] = [] + + public var isWhitelistedUser: Bool = false + + public var isUploadLaterEnabled: Bool = false + + public var dailyNewSubmissions: Float = 0 + + public var maxSubmissions: Int32 = 0 + + public var isWayfarerOnboardingEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGameClientPhotoGalleryPoiImageProto { + // 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. + + public var imageID: String = String() + + public var poiID: String = String() + + public var submitterCodename: String = String() + + public var imageURL: String = String() + + public var creationTimestampMs: Int64 = 0 + + public var hasPlayerVoted_p: Bool = false + + public var numVotesFromGame: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGenerateGmapSignedUrlOutProto { + // 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. + + public var result: TitanGenerateGmapSignedUrlOutProto.Result = .unset + + public var signedURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPlayerNotValid // = 2 + case errorRateLimited // = 3 + case errorMissingInput // = 4 + case errorUnknown // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPlayerNotValid + case 3: self = .errorRateLimited + case 4: self = .errorMissingInput + case 5: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPlayerNotValid: return 2 + case .errorRateLimited: return 3 + case .errorMissingInput: return 4 + case .errorUnknown: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanGenerateGmapSignedUrlOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanGenerateGmapSignedUrlOutProto.Result] = [ + .unset, + .success, + .errorPlayerNotValid, + .errorRateLimited, + .errorMissingInput, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct TitanGenerateGmapSignedUrlProto { + // 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. + + public var latitude: Double = 0 + + public var longitude: Double = 0 + + public var width: Int32 = 0 + + public var height: Int32 = 0 + + public var zoom: Int32 = 0 + + public var languageCode: String = String() + + public var countryCode: String = String() + + public var mapStyle: String = String() + + public var mapType: String = String() + + public var iconParams: String = String() + + public var isMultiMarkerMap: Bool = false + + public var originalLocation: LocationE6Proto { + get {return _originalLocation ?? LocationE6Proto()} + set {_originalLocation = newValue} + } + /// Returns true if `originalLocation` has been explicitly set. + public var hasOriginalLocation: Bool {return self._originalLocation != nil} + /// Clears the value of `originalLocation`. Subsequent reads from it will return its default value. + public mutating func clearOriginalLocation() {self._originalLocation = nil} + + public var proposedLocation: LocationE6Proto { + get {return _proposedLocation ?? LocationE6Proto()} + set {_proposedLocation = newValue} + } + /// Returns true if `proposedLocation` has been explicitly set. + public var hasProposedLocation: Bool {return self._proposedLocation != nil} + /// Clears the value of `proposedLocation`. Subsequent reads from it will return its default value. + public mutating func clearProposedLocation() {self._proposedLocation = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _originalLocation: LocationE6Proto? = nil + fileprivate var _proposedLocation: LocationE6Proto? = nil +} + +public struct TitanGeodataServiceGameClientPoiProto { + // 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. + + public var poiID: String = String() + + public var title: String = String() + + public var description_p: String = String() + + public var location: LocationE6Proto { + get {return _location ?? LocationE6Proto()} + set {_location = newValue} + } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return self._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {self._location = nil} + + public var imageURL: String = String() + + public var isInGame: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _location: LocationE6Proto? = nil +} + +public struct TitanGetARMappingSettingsOutProto { + // 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. + + public var isClientScanValidationEnabled: Bool = false + + public var clientScanValidationBlockedOs: [String] = [] + + public var clientScanValidationBlockedDeviceID: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetARMappingSettingsProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetAvailableSubmissionsOutProto { + // 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. + + public var submissionsLeft: Int32 = 0 + + public var minPlayerLevel: Int32 = 0 + + public var hasValidEmail_p: Bool = false + + public var isFeatureEnabled: Bool = false + + public var timeWindowForSubmissionsLimitMs: Int64 = 0 + + public var maxPoiDistanceInMeters: Int32 = 0 + + public var availabilityResultPerType: [TitanAvailableSubmissionsPerSubmissionType] = [] + + public var maxPoiLocationEditMoveDistanceMeters: Int32 = 0 + + public var isUploadLaterEnabled: Bool = false + + public var categoryCloudStorageDirectoryPath: String = String() + + public var urbanTypologyCloudStoragePath: String = String() + + public var hasWayfarerAccount_p: Bool = false + + public var passedWayfarerQuiz: Bool = false + + public var isPoiSubmissionCategoryEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetAvailableSubmissionsProto { + // 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. + + public var submissionTypes: [PlayerSubmissionTypeProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetGmapSettingsOutProto { + // 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. + + public var result: TitanGetGmapSettingsOutProto.Result = .unset + + public var gmapTemplateURL: String = String() + + public var maxPoiDistanceInMeters: Int32 = 0 + + public var minZoom: Int32 = 0 + + public var maxZoom: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorMissingConfig // = 3 + case errorNoUniqueID // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorMissingConfig + case 4: self = .errorNoUniqueID + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorMissingConfig: return 3 + case .errorNoUniqueID: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanGetGmapSettingsOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanGetGmapSettingsOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorMissingConfig, + .errorNoUniqueID, + ] +} + +#endif // swift(>=4.2) + +public struct TitanGetGmapSettingsProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetGrapeshotUploadUrlOutProto { + // 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. + + public var status: TitanGetGrapeshotUploadUrlOutProto.Status = .unset + + public var fileContextToGrapeshotData: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case failure // = 1 + case success // = 2 + case missingFileContexts // = 3 + case duplicateFileContext // = 4 + case missingSubmissionType // = 5 + case missingSubmissionID // = 6 + case alreadyUploaded // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .failure + case 2: self = .success + case 3: self = .missingFileContexts + case 4: self = .duplicateFileContext + case 5: self = .missingSubmissionType + case 6: self = .missingSubmissionID + case 7: self = .alreadyUploaded + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .failure: return 1 + case .success: return 2 + case .missingFileContexts: return 3 + case .duplicateFileContext: return 4 + case .missingSubmissionType: return 5 + case .missingSubmissionID: return 6 + case .alreadyUploaded: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanGetGrapeshotUploadUrlOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanGetGrapeshotUploadUrlOutProto.Status] = [ + .unset, + .failure, + .success, + .missingFileContexts, + .duplicateFileContext, + .missingSubmissionType, + .missingSubmissionID, + .alreadyUploaded, + ] +} + +#endif // swift(>=4.2) + +public struct TitanGetGrapeshotUploadUrlProto { + // 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. + + public var submissionID: String = String() + + public var fileUploadContext: [String] = [] + + public var developerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetImageGallerySettingsOutProto { + // 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. + + public var isImageGalleryEnabled: Bool = false + + public var maxPeriodicImageLoadedCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetImageGallerySettingsProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetImagesForPoiOutProto { + // 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. + + public var status: TitanGetImagesForPoiOutProto.Status = .unset + + public var photoGalleryPoiImages: [TitanGameClientPhotoGalleryPoiImageProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case poiNotFound // = 2 + case invalidRequest // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .poiNotFound + case 3: self = .invalidRequest + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .poiNotFound: return 2 + case .invalidRequest: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanGetImagesForPoiOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanGetImagesForPoiOutProto.Status] = [ + .unset, + .success, + .poiNotFound, + .invalidRequest, + ] +} + +#endif // swift(>=4.2) + +public struct TitanGetImagesForPoiProto { + // 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. + + public var poiID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetPlayerSubmissionValidationSettingsOutProto { + // 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. + + public var bannedMetadataText: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetPlayerSubmissionValidationSettingsProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGetPoisInRadiusOutProto { + // 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. + + public var status: TitanGetPoisInRadiusOutProto.Status = .unset + + public var pois: [TitanGeodataServiceGameClientPoiProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case internalError // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .internalError + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .internalError: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanGetPoisInRadiusOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanGetPoisInRadiusOutProto.Status] = [ + .unset, + .success, + .internalError, + ] +} + +#endif // swift(>=4.2) + +public struct TitanGetPoisInRadiusProto { + // 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. + + public var location: LocationE6Proto { + get {return _location ?? LocationE6Proto()} + set {_location = newValue} + } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return self._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {self._location = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _location: LocationE6Proto? = nil +} + +public struct TitanGetUploadUrlOutProto { + // 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. + + public var status: TitanGetUploadUrlOutProto.Status = .unset + + public var signedURL: String = String() + + public var supportingImageSignedURL: String = String() + + public var contextSignedUrls: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case failures // = 1 + case success // = 2 + case missingImageContexts // = 3 + case duplicateImageContexts // = 4 + case alreadyUploaded // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .failures + case 2: self = .success + case 3: self = .missingImageContexts + case 4: self = .duplicateImageContexts + case 5: self = .alreadyUploaded + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .failures: return 1 + case .success: return 2 + case .missingImageContexts: return 3 + case .duplicateImageContexts: return 4 + case .alreadyUploaded: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanGetUploadUrlOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanGetUploadUrlOutProto.Status] = [ + .unset, + .failures, + .success, + .missingImageContexts, + .duplicateImageContexts, + .alreadyUploaded, + ] +} + +#endif // swift(>=4.2) + +public struct TitanGetUploadUrlProto { + // 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. + + public var userID: String = String() + + public var gameUniqueID: String = String() + + public var submissionType: PlayerSubmissionTypeProto = .typeUnspecified + + public var submissionID: String = String() + + public var imageContexts: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGrapeshotAuthenticationDataProto { + // 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. + + public var authorization: String = String() + + public var date: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanGrapeshotChunkDataProto { + // 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. + + public var chunkFilePath: String = String() + + public var chunkNumber: UInt32 = 0 + + public var uploadAuthentication: TitanGrapeshotAuthenticationDataProto { + get {return _uploadAuthentication ?? TitanGrapeshotAuthenticationDataProto()} + set {_uploadAuthentication = newValue} + } + /// Returns true if `uploadAuthentication` has been explicitly set. + public var hasUploadAuthentication: Bool {return self._uploadAuthentication != nil} + /// Clears the value of `uploadAuthentication`. Subsequent reads from it will return its default value. + public mutating func clearUploadAuthentication() {self._uploadAuthentication = nil} + + public var deleteAuthentication: TitanGrapeshotAuthenticationDataProto { + get {return _deleteAuthentication ?? TitanGrapeshotAuthenticationDataProto()} + set {_deleteAuthentication = newValue} + } + /// Returns true if `deleteAuthentication` has been explicitly set. + public var hasDeleteAuthentication: Bool {return self._deleteAuthentication != nil} + /// Clears the value of `deleteAuthentication`. Subsequent reads from it will return its default value. + public mutating func clearDeleteAuthentication() {self._deleteAuthentication = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _uploadAuthentication: TitanGrapeshotAuthenticationDataProto? = nil + fileprivate var _deleteAuthentication: TitanGrapeshotAuthenticationDataProto? = nil +} + +public struct TitanGrapeshotComposeDataProto { + // 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. + + public var targetFilePath: String = String() + + public var authentication: TitanGrapeshotAuthenticationDataProto { + get {return _authentication ?? TitanGrapeshotAuthenticationDataProto()} + set {_authentication = newValue} + } + /// Returns true if `authentication` has been explicitly set. + public var hasAuthentication: Bool {return self._authentication != nil} + /// Clears the value of `authentication`. Subsequent reads from it will return its default value. + public mutating func clearAuthentication() {self._authentication = nil} + + public var hash: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _authentication: TitanGrapeshotAuthenticationDataProto? = nil +} + +public struct TitanGrapeshotUploadingDataProto { + // 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. + + public var chunkData: [TitanGrapeshotChunkDataProto] = [] + + public var composeData: TitanGrapeshotComposeDataProto { + get {return _composeData ?? TitanGrapeshotComposeDataProto()} + set {_composeData = newValue} + } + /// Returns true if `composeData` has been explicitly set. + public var hasComposeData: Bool {return self._composeData != nil} + /// Clears the value of `composeData`. Subsequent reads from it will return its default value. + public mutating func clearComposeData() {self._composeData = nil} + + public var gcsBucket: String = String() + + public var numberOfChunks: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _composeData: TitanGrapeshotComposeDataProto? = nil +} + +public struct TitanPlayerSubmissionResponseProto { + // 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. + + public var status: TitanPlayerSubmissionResponseProto.Status = .unspecified + + public var submissionID: String = String() + + public var messages: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unspecified // = 0 + case success // = 1 + case internalError // = 2 + case tooManyRecentSubmissions // = 3 + case minor // = 4 + case notAvailable // = 5 + case invalidInput // = 6 + case missingImage // = 7 + case distanceValidationFailed // = 8 + case activationRequestFailed // = 9 + case UNRECOGNIZED(Int) + + public init() { + self = .unspecified + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unspecified + case 1: self = .success + case 2: self = .internalError + case 3: self = .tooManyRecentSubmissions + case 4: self = .minor + case 5: self = .notAvailable + case 6: self = .invalidInput + case 7: self = .missingImage + case 8: self = .distanceValidationFailed + case 9: self = .activationRequestFailed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unspecified: return 0 + case .success: return 1 + case .internalError: return 2 + case .tooManyRecentSubmissions: return 3 + case .minor: return 4 + case .notAvailable: return 5 + case .invalidInput: return 6 + case .missingImage: return 7 + case .distanceValidationFailed: return 8 + case .activationRequestFailed: return 9 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanPlayerSubmissionResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanPlayerSubmissionResponseProto.Status] = [ + .unspecified, + .success, + .internalError, + .tooManyRecentSubmissions, + .minor, + .notAvailable, + .invalidInput, + .missingImage, + .distanceValidationFailed, + .activationRequestFailed, + ] +} + +#endif // swift(>=4.2) + +public struct TitanPoiPlayerMetadataTelemetry { + // 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. + + public var deviceModel: String = String() + + public var deviceOs: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanPoiSubmissionPhotoUploadErrorTelemetry { + // 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. + + public var errorID: TitanPoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds = .unset + + public var imageType: TitanPoiImageType = .unset + + public var errorMessage: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PoiSubmissionPhotoUploadErrorIds: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case poiPhotoUploadError // = 1 + case poiPhotoUploadTimeout // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .poiPhotoUploadError + case 2: self = .poiPhotoUploadTimeout + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .poiPhotoUploadError: return 1 + case .poiPhotoUploadTimeout: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanPoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanPoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds] = [ + .unset, + .poiPhotoUploadError, + .poiPhotoUploadTimeout, + ] +} + +#endif // swift(>=4.2) + +public struct TitanPoiSubmissionTelemetry { + // 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. + + public var guiEventID: TitanPoiSubmissionTelemetry.PoiSubmissionGuiEventId = .unknown + + public var imageType: TitanPoiImageType = .unset + + public var cameraStepID: TitanPoiSubmissionTelemetry.PoiCameraStepIds = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum PoiCameraStepIds: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case enter // = 1 + case retake // = 2 + case confirm // = 3 + case exit // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .enter + case 2: self = .retake + case 3: self = .confirm + case 4: self = .exit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .enter: return 1 + case .retake: return 2 + case .confirm: return 3 + case .exit: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public enum PoiSubmissionGuiEventId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case poiNominationEnter // = 1 + case poiTutorialComplete // = 2 + case poiMapChangedviewMap // = 3 + case poiMapChangedviewSatellite // = 4 + case poiMapCenterLocation // = 5 + case poiLocationSet // = 6 + case poiPhotoCameraEnter // = 7 + case poiPhotoCameraExit // = 8 + case poiTitleEntered // = 9 + case poiDescriptionEnter // = 10 + case poiDetailsConfirm // = 11 + case poiSupportinginfoEnter // = 12 + case poiSubmitButtonHit // = 13 + case poiExitButtonHit // = 14 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .poiNominationEnter + case 2: self = .poiTutorialComplete + case 3: self = .poiMapChangedviewMap + case 4: self = .poiMapChangedviewSatellite + case 5: self = .poiMapCenterLocation + case 6: self = .poiLocationSet + case 7: self = .poiPhotoCameraEnter + case 8: self = .poiPhotoCameraExit + case 9: self = .poiTitleEntered + case 10: self = .poiDescriptionEnter + case 11: self = .poiDetailsConfirm + case 12: self = .poiSupportinginfoEnter + case 13: self = .poiSubmitButtonHit + case 14: self = .poiExitButtonHit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .poiNominationEnter: return 1 + case .poiTutorialComplete: return 2 + case .poiMapChangedviewMap: return 3 + case .poiMapChangedviewSatellite: return 4 + case .poiMapCenterLocation: return 5 + case .poiLocationSet: return 6 + case .poiPhotoCameraEnter: return 7 + case .poiPhotoCameraExit: return 8 + case .poiTitleEntered: return 9 + case .poiDescriptionEnter: return 10 + case .poiDetailsConfirm: return 11 + case .poiSupportinginfoEnter: return 12 + case .poiSubmitButtonHit: return 13 + case .poiExitButtonHit: return 14 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanPoiSubmissionTelemetry.PoiCameraStepIds: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanPoiSubmissionTelemetry.PoiCameraStepIds] = [ + .unset, + .enter, + .retake, + .confirm, + .exit, + ] +} + +extension TitanPoiSubmissionTelemetry.PoiSubmissionGuiEventId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanPoiSubmissionTelemetry.PoiSubmissionGuiEventId] = [ + .unknown, + .poiNominationEnter, + .poiTutorialComplete, + .poiMapChangedviewMap, + .poiMapChangedviewSatellite, + .poiMapCenterLocation, + .poiLocationSet, + .poiPhotoCameraEnter, + .poiPhotoCameraExit, + .poiTitleEntered, + .poiDescriptionEnter, + .poiDetailsConfirm, + .poiSupportinginfoEnter, + .poiSubmitButtonHit, + .poiExitButtonHit, + ] +} + +#endif // swift(>=4.2) + +public struct TitanPoiVideoSubmissionMetadataProto { + // 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. + + public var poiID: String { + get {return _storage._poiID} + set {_uniqueStorage()._poiID = newValue} + } + + public var location: LocationE6Proto { + get {return _storage._location ?? LocationE6Proto()} + set {_uniqueStorage()._location = newValue} + } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return _storage._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {_uniqueStorage()._location = nil} + + public var playerLevel: Int32 { + get {return _storage._playerLevel} + set {_uniqueStorage()._playerLevel = newValue} + } + + public var isPrivate: Bool { + get {return _storage._isPrivate} + set {_uniqueStorage()._isPrivate = newValue} + } + + public var geographicCoverage: String { + get {return _storage._geographicCoverage} + set {_uniqueStorage()._geographicCoverage = newValue} + } + + public var developerID: String { + get {return _storage._developerID} + set {_uniqueStorage()._developerID = newValue} + } + + public var arCommonMetadata: ARDKARCommonMetadata { + get {return _storage._arCommonMetadata ?? ARDKARCommonMetadata()} + set {_uniqueStorage()._arCommonMetadata = newValue} + } + /// Returns true if `arCommonMetadata` has been explicitly set. + public var hasArCommonMetadata: Bool {return _storage._arCommonMetadata != nil} + /// Clears the value of `arCommonMetadata`. Subsequent reads from it will return its default value. + public mutating func clearArCommonMetadata() {_uniqueStorage()._arCommonMetadata = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct TitanSubmitNewPoiOutProto { + // 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. + + public var status: TitanSubmitNewPoiOutProto.Status = .unset + + public var submissionID: String = String() + + public var messages: [String] = [] + + public var poiID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case internalError // = 3 + case tooManyRecentSubmissions // = 4 + case invalidInput // = 5 + case minor // = 6 + case notAvailable // = 7 + case alreadyExists // = 8 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + case 3: self = .internalError + case 4: self = .tooManyRecentSubmissions + case 5: self = .invalidInput + case 6: self = .minor + case 7: self = .notAvailable + case 8: self = .alreadyExists + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .internalError: return 3 + case .tooManyRecentSubmissions: return 4 + case .invalidInput: return 5 + case .minor: return 6 + case .notAvailable: return 7 + case .alreadyExists: return 8 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanSubmitNewPoiOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanSubmitNewPoiOutProto.Status] = [ + .unset, + .success, + .failure, + .internalError, + .tooManyRecentSubmissions, + .invalidInput, + .minor, + .notAvailable, + .alreadyExists, + ] +} + +#endif // swift(>=4.2) + +public struct TitanSubmitNewPoiProto { + // 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. + + public var title: String = String() + + public var longDescription: String = String() + + public var latE6: Int32 = 0 + + public var lngE6: Int32 = 0 + + public var supportingStatement: String = String() + + public var asyncFileUpload: Bool = false + + public var playerSubmittedCategoryIds: [String] = [] + + public var categorySuggestion: String = String() + + public var developerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanSubmitPlayerImageVoteForPoiOutProto { + // 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. + + public var status: TitanSubmitPlayerImageVoteForPoiOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case poiNotFound // = 2 + case poiImageNotFound // = 3 + case invalidRequest // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .poiNotFound + case 3: self = .poiImageNotFound + case 6: self = .invalidRequest + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .poiNotFound: return 2 + case .poiImageNotFound: return 3 + case .invalidRequest: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TitanSubmitPlayerImageVoteForPoiOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TitanSubmitPlayerImageVoteForPoiOutProto.Status] = [ + .unset, + .success, + .poiNotFound, + .poiImageNotFound, + .invalidRequest, + ] +} + +#endif // swift(>=4.2) + +public struct TitanSubmitPlayerImageVoteForPoiProto { + // 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. + + public var imageIdsToVoteFor: [String] = [] + + public var imageIdsToUnvote: [String] = [] + + public var poiID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanSubmitPoiCategoryVoteRecordProto { + // 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. + + public var poiID: String = String() + + public var playerSubmittedCategoryIds: [String] = [] + + public var categorySuggestion: String = String() + + public var developerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanSubmitPoiImageProto { + // 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. + + public var poiID: String = String() + + public var asyncFileUpload: Bool = false + + public var developerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanSubmitPoiLocationUpdateProto { + // 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. + + public var poiID: String = String() + + public var location: LocationE6Proto { + get {return _location ?? LocationE6Proto()} + set {_location = newValue} + } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return self._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {self._location = nil} + + public var developerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _location: LocationE6Proto? = nil +} + +public struct TitanSubmitPoiTakedownRequestProto { + // 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. + + public var poiID: String = String() + + public var invalidReason: PoiInvalidReason = .invalidReasonUnspecified + + public var developerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanSubmitPoiTextMetadataUpdateProto { + // 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. + + public var poiID: String = String() + + public var title: String = String() + + public var description_p: String = String() + + public var developerID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanSubmitSponsorPoiLocationUpdateProto { + // 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. + + public var poiID: String = String() + + public var location: LocationE6Proto { + get {return _location ?? LocationE6Proto()} + set {_location = newValue} + } + /// Returns true if `location` has been explicitly set. + public var hasLocation: Bool {return self._location != nil} + /// Clears the value of `location`. Subsequent reads from it will return its default value. + public mutating func clearLocation() {self._location = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _location: LocationE6Proto? = nil +} + +public struct TitanSubmitSponsorPoiReportProto { + // 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. + + public var poiID: String = String() + + public var invalidReason: SponsorPoiInvalidReason = .sponsorPoiReasonUnspecified + + public var additionalDetails: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TitanTitanGameClientTelemetryOmniProto { + // 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. + + public var telemetryData: TitanTitanGameClientTelemetryOmniProto.OneOf_TelemetryData? = nil + + public var poiSubmissionTelemetry: TitanPoiSubmissionTelemetry { + get { + if case .poiSubmissionTelemetry(let v)? = telemetryData {return v} + return TitanPoiSubmissionTelemetry() + } + set {telemetryData = .poiSubmissionTelemetry(newValue)} + } + + public var poiSubmissionPhotoUploadErrorTelemetry: TitanPoiSubmissionPhotoUploadErrorTelemetry { + get { + if case .poiSubmissionPhotoUploadErrorTelemetry(let v)? = telemetryData {return v} + return TitanPoiSubmissionPhotoUploadErrorTelemetry() + } + set {telemetryData = .poiSubmissionPhotoUploadErrorTelemetry(newValue)} + } + + public var playerMetadataTelemetry: TitanPoiPlayerMetadataTelemetry { + get { + if case .playerMetadataTelemetry(let v)? = telemetryData {return v} + return TitanPoiPlayerMetadataTelemetry() + } + set {telemetryData = .playerMetadataTelemetry(newValue)} + } + + public var serverData: PlatformServerData { + get {return _serverData ?? PlatformServerData()} + set {_serverData = newValue} + } + /// Returns true if `serverData` has been explicitly set. + public var hasServerData: Bool {return self._serverData != nil} + /// Clears the value of `serverData`. Subsequent reads from it will return its default value. + public mutating func clearServerData() {self._serverData = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_TelemetryData: Equatable { + case poiSubmissionTelemetry(TitanPoiSubmissionTelemetry) + case poiSubmissionPhotoUploadErrorTelemetry(TitanPoiSubmissionPhotoUploadErrorTelemetry) + case playerMetadataTelemetry(TitanPoiPlayerMetadataTelemetry) + + #if !swift(>=4.1) + public static func ==(lhs: TitanTitanGameClientTelemetryOmniProto.OneOf_TelemetryData, rhs: TitanTitanGameClientTelemetryOmniProto.OneOf_TelemetryData) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.poiSubmissionTelemetry, .poiSubmissionTelemetry): return { + guard case .poiSubmissionTelemetry(let l) = lhs, case .poiSubmissionTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.poiSubmissionPhotoUploadErrorTelemetry, .poiSubmissionPhotoUploadErrorTelemetry): return { + guard case .poiSubmissionPhotoUploadErrorTelemetry(let l) = lhs, case .poiSubmissionPhotoUploadErrorTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.playerMetadataTelemetry, .playerMetadataTelemetry): return { + guard case .playerMetadataTelemetry(let l) = lhs, case .playerMetadataTelemetry(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _serverData: PlatformServerData? = nil +} + +public struct TodayViewProto { + // 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. + + public var sections: [TodayViewSectionProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TodayViewSectionProto { + // 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. + + public var section: TodayViewSectionProto.OneOf_Section? = nil + + public var pokecoin: PokecoinSectionProto { + get { + if case .pokecoin(let v)? = section {return v} + return PokecoinSectionProto() + } + set {section = .pokecoin(newValue)} + } + + public var gymPokemon: GymPokemonSectionProto { + get { + if case .gymPokemon(let v)? = section {return v} + return GymPokemonSectionProto() + } + set {section = .gymPokemon(newValue)} + } + + public var streaks: DailyStreaksProto { + get { + if case .streaks(let v)? = section {return v} + return DailyStreaksProto() + } + set {section = .streaks(newValue)} + } + + public var event: EventSectionProto { + get { + if case .event(let v)? = section {return v} + return EventSectionProto() + } + set {section = .event(newValue)} + } + + public var upNext: UpNextSectionProto { + get { + if case .upNext(let v)? = section {return v} + return UpNextSectionProto() + } + set {section = .upNext(newValue)} + } + + public var timedQuest: TimedQuestSectionProto { + get { + if case .timedQuest(let v)? = section {return v} + return TimedQuestSectionProto() + } + set {section = .timedQuest(newValue)} + } + + public var eventBanner: EventBannerSectionProto { + get { + if case .eventBanner(let v)? = section {return v} + return EventBannerSectionProto() + } + set {section = .eventBanner(newValue)} + } + + public var timedGroupChallenge: TimedGroupChallengeSectionProto { + get { + if case .timedGroupChallenge(let v)? = section {return v} + return TimedGroupChallengeSectionProto() + } + set {section = .timedGroupChallenge(newValue)} + } + + public var miniCollection: MiniCollectionSectionProto { + get { + if case .miniCollection(let v)? = section {return v} + return MiniCollectionSectionProto() + } + set {section = .miniCollection(newValue)} + } + + public var stampCards: StampCardSectionProto { + get { + if case .stampCards(let v)? = section {return v} + return StampCardSectionProto() + } + set {section = .stampCards(newValue)} + } + + public var challengeQuests: ChallengeQuestSectionProto { + get { + if case .challengeQuests(let v)? = section {return v} + return ChallengeQuestSectionProto() + } + set {section = .challengeQuests(newValue)} + } + + public var storyQuests: StoryQuestSectionProto { + get { + if case .storyQuests(let v)? = section {return v} + return StoryQuestSectionProto() + } + set {section = .storyQuests(newValue)} + } + + public var happeningNow: HappeningNowSectionProto { + get { + if case .happeningNow(let v)? = section {return v} + return HappeningNowSectionProto() + } + set {section = .happeningNow(newValue)} + } + + public var currentEvents: CurrentEventsSectionProto { + get { + if case .currentEvents(let v)? = section {return v} + return CurrentEventsSectionProto() + } + set {section = .currentEvents(newValue)} + } + + public var upcomingEvents: UpcomingEventsSectionProto { + get { + if case .upcomingEvents(let v)? = section {return v} + return UpcomingEventsSectionProto() + } + set {section = .upcomingEvents(newValue)} + } + + public var contestPokemon: ContestPokemonSectionProto { + get { + if case .contestPokemon(let v)? = section {return v} + return ContestPokemonSectionProto() + } + set {section = .contestPokemon(newValue)} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Section: Equatable { + case pokecoin(PokecoinSectionProto) + case gymPokemon(GymPokemonSectionProto) + case streaks(DailyStreaksProto) + case event(EventSectionProto) + case upNext(UpNextSectionProto) + case timedQuest(TimedQuestSectionProto) + case eventBanner(EventBannerSectionProto) + case timedGroupChallenge(TimedGroupChallengeSectionProto) + case miniCollection(MiniCollectionSectionProto) + case stampCards(StampCardSectionProto) + case challengeQuests(ChallengeQuestSectionProto) + case storyQuests(StoryQuestSectionProto) + case happeningNow(HappeningNowSectionProto) + case currentEvents(CurrentEventsSectionProto) + case upcomingEvents(UpcomingEventsSectionProto) + case contestPokemon(ContestPokemonSectionProto) + + #if !swift(>=4.1) + public static func ==(lhs: TodayViewSectionProto.OneOf_Section, rhs: TodayViewSectionProto.OneOf_Section) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pokecoin, .pokecoin): return { + guard case .pokecoin(let l) = lhs, case .pokecoin(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.gymPokemon, .gymPokemon): return { + guard case .gymPokemon(let l) = lhs, case .gymPokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.streaks, .streaks): return { + guard case .streaks(let l) = lhs, case .streaks(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.event, .event): return { + guard case .event(let l) = lhs, case .event(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.upNext, .upNext): return { + guard case .upNext(let l) = lhs, case .upNext(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.timedQuest, .timedQuest): return { + guard case .timedQuest(let l) = lhs, case .timedQuest(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.eventBanner, .eventBanner): return { + guard case .eventBanner(let l) = lhs, case .eventBanner(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.timedGroupChallenge, .timedGroupChallenge): return { + guard case .timedGroupChallenge(let l) = lhs, case .timedGroupChallenge(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.miniCollection, .miniCollection): return { + guard case .miniCollection(let l) = lhs, case .miniCollection(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.stampCards, .stampCards): return { + guard case .stampCards(let l) = lhs, case .stampCards(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.challengeQuests, .challengeQuests): return { + guard case .challengeQuests(let l) = lhs, case .challengeQuests(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.storyQuests, .storyQuests): return { + guard case .storyQuests(let l) = lhs, case .storyQuests(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.happeningNow, .happeningNow): return { + guard case .happeningNow(let l) = lhs, case .happeningNow(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.currentEvents, .currentEvents): return { + guard case .currentEvents(let l) = lhs, case .currentEvents(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.upcomingEvents, .upcomingEvents): return { + guard case .upcomingEvents(let l) = lhs, case .upcomingEvents(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.contestPokemon, .contestPokemon): return { + guard case .contestPokemon(let l) = lhs, case .contestPokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} +} + +public struct TodayViewSettingsProto { + // 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. + + public var v2Enabled: Bool = false + + public var version: Int32 = 0 + + public var todayViewDisplayOrder: [TodayViewSettingsProto.TodayViewSections] = [] + + public var seasonViewDisplayOrder: [TodayViewSettingsProto.TodayViewSections] = [] + + public var specialViewDisplayOrder: [TodayViewSettingsProto.TodayViewSections] = [] + + public var collapsibleCardsEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum TodayViewSections: SwiftProtobuf.Enum { + public typealias RawValue = Int + case eventSectionGenerator // = 0 + case pokecoinSectionGenerator // = 1 + case dailyStreakSectionGenerator // = 2 + case gymPokemonSectionGenerator // = 3 + case upcomingEventsSectionGenerator // = 4 + case upNextSectionGenerator // = 5 + case stampCardSectionGenerator // = 6 + case eventBannerSectionGenerator // = 7 + case timedStoryQuestSectionGenerator // = 8 + case timedGroupChallengeSectionGenerator // = 9 + case miniCollectionSectionGenerator // = 10 + case challengeQuestSectionGenerator // = 11 + case storyQuestSectionGenerator // = 12 + case contestPokemonSectionGenerator // = 13 + case UNRECOGNIZED(Int) + + public init() { + self = .eventSectionGenerator + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .eventSectionGenerator + case 1: self = .pokecoinSectionGenerator + case 2: self = .dailyStreakSectionGenerator + case 3: self = .gymPokemonSectionGenerator + case 4: self = .upcomingEventsSectionGenerator + case 5: self = .upNextSectionGenerator + case 6: self = .stampCardSectionGenerator + case 7: self = .eventBannerSectionGenerator + case 8: self = .timedStoryQuestSectionGenerator + case 9: self = .timedGroupChallengeSectionGenerator + case 10: self = .miniCollectionSectionGenerator + case 11: self = .challengeQuestSectionGenerator + case 12: self = .storyQuestSectionGenerator + case 13: self = .contestPokemonSectionGenerator + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .eventSectionGenerator: return 0 + case .pokecoinSectionGenerator: return 1 + case .dailyStreakSectionGenerator: return 2 + case .gymPokemonSectionGenerator: return 3 + case .upcomingEventsSectionGenerator: return 4 + case .upNextSectionGenerator: return 5 + case .stampCardSectionGenerator: return 6 + case .eventBannerSectionGenerator: return 7 + case .timedStoryQuestSectionGenerator: return 8 + case .timedGroupChallengeSectionGenerator: return 9 + case .miniCollectionSectionGenerator: return 10 + case .challengeQuestSectionGenerator: return 11 + case .storyQuestSectionGenerator: return 12 + case .contestPokemonSectionGenerator: return 13 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TodayViewSettingsProto.TodayViewSections: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TodayViewSettingsProto.TodayViewSections] = [ + .eventSectionGenerator, + .pokecoinSectionGenerator, + .dailyStreakSectionGenerator, + .gymPokemonSectionGenerator, + .upcomingEventsSectionGenerator, + .upNextSectionGenerator, + .stampCardSectionGenerator, + .eventBannerSectionGenerator, + .timedStoryQuestSectionGenerator, + .timedGroupChallengeSectionGenerator, + .miniCollectionSectionGenerator, + .challengeQuestSectionGenerator, + .storyQuestSectionGenerator, + .contestPokemonSectionGenerator, + ] +} + +#endif // swift(>=4.2) + +public struct TopicProto { + // 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. + + public var topicID: String = String() + + public var namespace: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TradePokemonQuestProto { + // 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. + + public var friendID: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TradingGlobalSettingsProto { + // 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. + + public var enableTrading: Bool = false + + public var minPlayerLevel: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TradingLogEntry { + // 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. + + public var result: TradingLogEntry.Result = .unset + + public var friendCodename: String = String() + + public var tradeOutPokemon: PokemonProto { + get {return _tradeOutPokemon ?? PokemonProto()} + set {_tradeOutPokemon = newValue} + } + /// Returns true if `tradeOutPokemon` has been explicitly set. + public var hasTradeOutPokemon: Bool {return self._tradeOutPokemon != nil} + /// Clears the value of `tradeOutPokemon`. Subsequent reads from it will return its default value. + public mutating func clearTradeOutPokemon() {self._tradeOutPokemon = nil} + + public var tradeInPokemon: PokemonProto { + get {return _tradeInPokemon ?? PokemonProto()} + set {_tradeInPokemon = newValue} + } + /// Returns true if `tradeInPokemon` has been explicitly set. + public var hasTradeInPokemon: Bool {return self._tradeInPokemon != nil} + /// Clears the value of `tradeInPokemon`. Subsequent reads from it will return its default value. + public mutating func clearTradeInPokemon() {self._tradeInPokemon = nil} + + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var price: LootProto { + get {return _price ?? LootProto()} + set {_price = newValue} + } + /// Returns true if `price` has been explicitly set. + public var hasPrice: Bool {return self._price != nil} + /// Clears the value of `price`. Subsequent reads from it will return its default value. + public mutating func clearPrice() {self._price = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _tradeOutPokemon: PokemonProto? = nil + fileprivate var _tradeInPokemon: PokemonProto? = nil + fileprivate var _rewards: LootProto? = nil + fileprivate var _price: LootProto? = nil +} + +#if swift(>=4.2) + +extension TradingLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TradingLogEntry.Result] = [ + .unset, + .success, + ] +} + +#endif // swift(>=4.2) + +public struct TradingProto { + // 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. + + public var state: TradingProto.TradingState { + get {return _storage._state} + set {_uniqueStorage()._state = newValue} + } + + public var expirationMs: UInt64 { + get {return _storage._expirationMs} + set {_uniqueStorage()._expirationMs = newValue} + } + + public var player: TradingProto.TradingPlayerProto { + get {return _storage._player ?? TradingProto.TradingPlayerProto()} + set {_uniqueStorage()._player = newValue} + } + /// Returns true if `player` has been explicitly set. + public var hasPlayer: Bool {return _storage._player != nil} + /// Clears the value of `player`. Subsequent reads from it will return its default value. + public mutating func clearPlayer() {_uniqueStorage()._player = nil} + + public var friend: TradingProto.TradingPlayerProto { + get {return _storage._friend ?? TradingProto.TradingPlayerProto()} + set {_uniqueStorage()._friend = newValue} + } + /// Returns true if `friend` has been explicitly set. + public var hasFriend: Bool {return _storage._friend != nil} + /// Clears the value of `friend`. Subsequent reads from it will return its default value. + public mutating func clearFriend() {_uniqueStorage()._friend = nil} + + public var tradingS2CellID: Int64 { + get {return _storage._tradingS2CellID} + set {_uniqueStorage()._tradingS2CellID = newValue} + } + + public var transactionLog: String { + get {return _storage._transactionLog} + set {_uniqueStorage()._transactionLog = newValue} + } + + public var friendshipLevelData: FriendshipLevelDataProto { + get {return _storage._friendshipLevelData ?? FriendshipLevelDataProto()} + set {_uniqueStorage()._friendshipLevelData = newValue} + } + /// Returns true if `friendshipLevelData` has been explicitly set. + public var hasFriendshipLevelData: Bool {return _storage._friendshipLevelData != nil} + /// Clears the value of `friendshipLevelData`. Subsequent reads from it will return its default value. + public mutating func clearFriendshipLevelData() {_uniqueStorage()._friendshipLevelData = nil} + + public var isSpecialTrading: Bool { + get {return _storage._isSpecialTrading} + set {_uniqueStorage()._isSpecialTrading = newValue} + } + + public var preTradingFriendshipLevel: FriendshipLevelDataProto { + get {return _storage._preTradingFriendshipLevel ?? FriendshipLevelDataProto()} + set {_uniqueStorage()._preTradingFriendshipLevel = newValue} + } + /// Returns true if `preTradingFriendshipLevel` has been explicitly set. + public var hasPreTradingFriendshipLevel: Bool {return _storage._preTradingFriendshipLevel != nil} + /// Clears the value of `preTradingFriendshipLevel`. Subsequent reads from it will return its default value. + public mutating func clearPreTradingFriendshipLevel() {_uniqueStorage()._preTradingFriendshipLevel = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum TradingState: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetTradingstate // = 0 + case primordial // = 1 + case wait // = 2 + case active // = 3 + case confirmed // = 4 + case finished // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetTradingstate + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetTradingstate + case 1: self = .primordial + case 2: self = .wait + case 3: self = .active + case 4: self = .confirmed + case 5: self = .finished + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetTradingstate: return 0 + case .primordial: return 1 + case .wait: return 2 + case .active: return 3 + case .confirmed: return 4 + case .finished: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct TradingPlayerProto { + // 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. + + public var playerID: String { + get {return _storage._playerID} + set {_uniqueStorage()._playerID = newValue} + } + + public var publicProfile: PlayerPublicProfileProto { + get {return _storage._publicProfile ?? PlayerPublicProfileProto()} + set {_uniqueStorage()._publicProfile = newValue} + } + /// Returns true if `publicProfile` has been explicitly set. + public var hasPublicProfile: Bool {return _storage._publicProfile != nil} + /// Clears the value of `publicProfile`. Subsequent reads from it will return its default value. + public mutating func clearPublicProfile() {_uniqueStorage()._publicProfile = nil} + + public var excludedPokemon: [TradingProto.TradingPlayerProto.ExcludedPokemon] { + get {return _storage._excludedPokemon} + set {_uniqueStorage()._excludedPokemon = newValue} + } + + public var tradingPokemon: TradingProto.TradingPokemonProto { + get {return _storage._tradingPokemon ?? TradingProto.TradingPokemonProto()} + set {_uniqueStorage()._tradingPokemon = newValue} + } + /// Returns true if `tradingPokemon` has been explicitly set. + public var hasTradingPokemon: Bool {return _storage._tradingPokemon != nil} + /// Clears the value of `tradingPokemon`. Subsequent reads from it will return its default value. + public mutating func clearTradingPokemon() {_uniqueStorage()._tradingPokemon = nil} + + public var bonus: LootProto { + get {return _storage._bonus ?? LootProto()} + set {_uniqueStorage()._bonus = newValue} + } + /// Returns true if `bonus` has been explicitly set. + public var hasBonus: Bool {return _storage._bonus != nil} + /// Clears the value of `bonus`. Subsequent reads from it will return its default value. + public mutating func clearBonus() {_uniqueStorage()._bonus = nil} + + public var price: LootProto { + get {return _storage._price ?? LootProto()} + set {_uniqueStorage()._price = newValue} + } + /// Returns true if `price` has been explicitly set. + public var hasPrice: Bool {return _storage._price != nil} + /// Clears the value of `price`. Subsequent reads from it will return its default value. + public mutating func clearPrice() {_uniqueStorage()._price = nil} + + public var canAffordTrading: Bool { + get {return _storage._canAffordTrading} + set {_uniqueStorage()._canAffordTrading = newValue} + } + + public var hasConfirmed_p: Bool { + get {return _storage._hasConfirmed_p} + set {_uniqueStorage()._hasConfirmed_p = newValue} + } + + public var niaAccountID: String { + get {return _storage._niaAccountID} + set {_uniqueStorage()._niaAccountID = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct ExcludedPokemon { + // 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. + + public var pokemonID: UInt64 = 0 + + public var exclusionReason: TradingProto.TradingPlayerProto.ExcludedPokemon.ExclusionReason = .unsetExclusionreason + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ExclusionReason: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unsetExclusionreason // = 0 + case mythicalPokemon // = 1 + case slashed // = 2 + case gymDeployed // = 3 + case buddy // = 4 + case staminaNotFull // = 5 + case eggNotHatched // = 6 + case friendshipLevelLow // = 7 + case friendCannotAfford // = 8 + case friendReachedDailyLimit // = 9 + case alreadyTraded // = 10 + case playerCannotAfford // = 11 + case playerReachedDailyLimit // = 12 + case favorite // = 13 + case tempEvolved // = 14 + case UNRECOGNIZED(Int) + + public init() { + self = .unsetExclusionreason + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unsetExclusionreason + case 1: self = .mythicalPokemon + case 2: self = .slashed + case 3: self = .gymDeployed + case 4: self = .buddy + case 5: self = .staminaNotFull + case 6: self = .eggNotHatched + case 7: self = .friendshipLevelLow + case 8: self = .friendCannotAfford + case 9: self = .friendReachedDailyLimit + case 10: self = .alreadyTraded + case 11: self = .playerCannotAfford + case 12: self = .playerReachedDailyLimit + case 13: self = .favorite + case 14: self = .tempEvolved + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unsetExclusionreason: return 0 + case .mythicalPokemon: return 1 + case .slashed: return 2 + case .gymDeployed: return 3 + case .buddy: return 4 + case .staminaNotFull: return 5 + case .eggNotHatched: return 6 + case .friendshipLevelLow: return 7 + case .friendCannotAfford: return 8 + case .friendReachedDailyLimit: return 9 + case .alreadyTraded: return 10 + case .playerCannotAfford: return 11 + case .playerReachedDailyLimit: return 12 + case .favorite: return 13 + case .tempEvolved: return 14 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance + } + + public struct TradingPokemonProto { + // 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. + + public var pokemonID: UInt64 { + get {return _storage._pokemonID} + set {_uniqueStorage()._pokemonID = newValue} + } + + public var pokedexEntryNumber: Int32 { + get {return _storage._pokedexEntryNumber} + set {_uniqueStorage()._pokedexEntryNumber = newValue} + } + + public var originalCp: Int32 { + get {return _storage._originalCp} + set {_uniqueStorage()._originalCp = newValue} + } + + public var adjustedCpMin: Int32 { + get {return _storage._adjustedCpMin} + set {_uniqueStorage()._adjustedCpMin = newValue} + } + + public var adjustedCpMax: Int32 { + get {return _storage._adjustedCpMax} + set {_uniqueStorage()._adjustedCpMax = newValue} + } + + public var originalStamina: Int32 { + get {return _storage._originalStamina} + set {_uniqueStorage()._originalStamina = newValue} + } + + public var adjustedStaminaMin: Int32 { + get {return _storage._adjustedStaminaMin} + set {_uniqueStorage()._adjustedStaminaMin = newValue} + } + + public var adjustedStaminaMax: Int32 { + get {return _storage._adjustedStaminaMax} + set {_uniqueStorage()._adjustedStaminaMax = newValue} + } + + public var friendLevelCap: Bool { + get {return _storage._friendLevelCap} + set {_uniqueStorage()._friendLevelCap = newValue} + } + + public var move1: HoloPokemonMove { + get {return _storage._move1} + set {_uniqueStorage()._move1 = newValue} + } + + public var move2: HoloPokemonMove { + get {return _storage._move2} + set {_uniqueStorage()._move2 = newValue} + } + + public var pokemonDisplay: PokemonDisplayProto { + get {return _storage._pokemonDisplay ?? PokemonDisplayProto()} + set {_uniqueStorage()._pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return _storage._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {_uniqueStorage()._pokemonDisplay = nil} + + public var capturedS2CellID: Int64 { + get {return _storage._capturedS2CellID} + set {_uniqueStorage()._capturedS2CellID = newValue} + } + + public var tradedPokemon: PokemonProto { + get {return _storage._tradedPokemon ?? PokemonProto()} + set {_uniqueStorage()._tradedPokemon = newValue} + } + /// Returns true if `tradedPokemon` has been explicitly set. + public var hasTradedPokemon: Bool {return _storage._tradedPokemon != nil} + /// Clears the value of `tradedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearTradedPokemon() {_uniqueStorage()._tradedPokemon = nil} + + public var pokeball: Item { + get {return _storage._pokeball} + set {_uniqueStorage()._pokeball = newValue} + } + + public var individualAttack: Int32 { + get {return _storage._individualAttack} + set {_uniqueStorage()._individualAttack = newValue} + } + + public var individualDefense: Int32 { + get {return _storage._individualDefense} + set {_uniqueStorage()._individualDefense = newValue} + } + + public var individualStamina: Int32 { + get {return _storage._individualStamina} + set {_uniqueStorage()._individualStamina = newValue} + } + + public var nickname: String { + get {return _storage._nickname} + set {_uniqueStorage()._nickname = newValue} + } + + public var favorite: Bool { + get {return _storage._favorite} + set {_uniqueStorage()._favorite = newValue} + } + + public var move3: HoloPokemonMove { + get {return _storage._move3} + set {_uniqueStorage()._move3 = newValue} + } + + public var creationTimeMs: Int64 { + get {return _storage._creationTimeMs} + set {_uniqueStorage()._creationTimeMs = newValue} + } + + public var heightM: Float { + get {return _storage._heightM} + set {_uniqueStorage()._heightM = newValue} + } + + public var weightKg: Float { + get {return _storage._weightKg} + set {_uniqueStorage()._weightKg = newValue} + } + + public var pokemonSize: HoloPokemonSize { + get {return _storage._pokemonSize} + set {_uniqueStorage()._pokemonSize = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +#if swift(>=4.2) + +extension TradingProto.TradingState: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TradingProto.TradingState] = [ + .unsetTradingstate, + .primordial, + .wait, + .active, + .confirmed, + .finished, + ] +} + +extension TradingProto.TradingPlayerProto.ExcludedPokemon.ExclusionReason: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TradingProto.TradingPlayerProto.ExcludedPokemon.ExclusionReason] = [ + .unsetExclusionreason, + .mythicalPokemon, + .slashed, + .gymDeployed, + .buddy, + .staminaNotFull, + .eggNotHatched, + .friendshipLevelLow, + .friendCannotAfford, + .friendReachedDailyLimit, + .alreadyTraded, + .playerCannotAfford, + .playerReachedDailyLimit, + .favorite, + .tempEvolved, + ] +} + +#endif // swift(>=4.2) + +public struct TransferContestEntryOutProto { + // 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. + + public var status: TransferContestEntryOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case outOfRange // = 3 + case entryToRemoveNotFound // = 4 + case pokemonIDToTransferMissing // = 5 + case pokemonToTransferDifferent // = 6 + case contestLimitReached // = 7 + case pokemonIDToReplaceMissing // = 8 + case contestIDToRemoveMissing // = 9 + case pokemonToReplaceNotFound // = 10 + case pokemonToReplaceDifferent // = 11 + case pendingRewardEntryNotAllowed // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .outOfRange + case 4: self = .entryToRemoveNotFound + case 5: self = .pokemonIDToTransferMissing + case 6: self = .pokemonToTransferDifferent + case 7: self = .contestLimitReached + case 8: self = .pokemonIDToReplaceMissing + case 9: self = .contestIDToRemoveMissing + case 10: self = .pokemonToReplaceNotFound + case 11: self = .pokemonToReplaceDifferent + case 12: self = .pendingRewardEntryNotAllowed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .outOfRange: return 3 + case .entryToRemoveNotFound: return 4 + case .pokemonIDToTransferMissing: return 5 + case .pokemonToTransferDifferent: return 6 + case .contestLimitReached: return 7 + case .pokemonIDToReplaceMissing: return 8 + case .contestIDToRemoveMissing: return 9 + case .pokemonToReplaceNotFound: return 10 + case .pokemonToReplaceDifferent: return 11 + case .pendingRewardEntryNotAllowed: return 12 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TransferContestEntryOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TransferContestEntryOutProto.Status] = [ + .unset, + .success, + .error, + .outOfRange, + .entryToRemoveNotFound, + .pokemonIDToTransferMissing, + .pokemonToTransferDifferent, + .contestLimitReached, + .pokemonIDToReplaceMissing, + .contestIDToRemoveMissing, + .pokemonToReplaceNotFound, + .pokemonToReplaceDifferent, + .pendingRewardEntryNotAllowed, + ] +} + +#endif // swift(>=4.2) + +public struct TransferContestEntryProto { + // 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. + + public var fortID: String = String() + + public var contestSchedule: ContestScheduleProto { + get {return _contestSchedule ?? ContestScheduleProto()} + set {_contestSchedule = newValue} + } + /// Returns true if `contestSchedule` has been explicitly set. + public var hasContestSchedule: Bool {return self._contestSchedule != nil} + /// Clears the value of `contestSchedule`. Subsequent reads from it will return its default value. + public mutating func clearContestSchedule() {self._contestSchedule = nil} + + public var contestIDToRemove: String = String() + + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} + + public var pokemonID: UInt64 = 0 + + public var pokemonIDToTransfer: UInt64 = 0 + + public var fortLatDegrees: Double = 0 + + public var fortLngDegrees: Double = 0 + + public var pokemonIDToReplace: UInt64 = 0 + + public var entryPoint: EntryPointForContestEntry = .entryPointUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _contestSchedule: ContestScheduleProto? = nil + fileprivate var _contestMetric: ContestMetricProto? = nil +} + +public struct TransferPokemonSizeLeaderboardEntryOutProto { + // 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. + + public var status: TransferPokemonSizeLeaderboardEntryOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case outOfRange // = 3 + case entryToRemoveNotFound // = 4 + case pokemonIDToTransferMissing // = 5 + case pokemonToTransferDifferent // = 6 + case contestLimitReached // = 7 + case pokemonIDToReplaceMissing // = 8 + case contestIDToRemoveMissing // = 9 + case pokemonToReplaceNotFound // = 10 + case pokemonToReplaceDifferent // = 11 + case pendingRewardEntryNotAllowed // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .outOfRange + case 4: self = .entryToRemoveNotFound + case 5: self = .pokemonIDToTransferMissing + case 6: self = .pokemonToTransferDifferent + case 7: self = .contestLimitReached + case 8: self = .pokemonIDToReplaceMissing + case 9: self = .contestIDToRemoveMissing + case 10: self = .pokemonToReplaceNotFound + case 11: self = .pokemonToReplaceDifferent + case 12: self = .pendingRewardEntryNotAllowed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .outOfRange: return 3 + case .entryToRemoveNotFound: return 4 + case .pokemonIDToTransferMissing: return 5 + case .pokemonToTransferDifferent: return 6 + case .contestLimitReached: return 7 + case .pokemonIDToReplaceMissing: return 8 + case .contestIDToRemoveMissing: return 9 + case .pokemonToReplaceNotFound: return 10 + case .pokemonToReplaceDifferent: return 11 + case .pendingRewardEntryNotAllowed: return 12 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TransferPokemonSizeLeaderboardEntryOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TransferPokemonSizeLeaderboardEntryOutProto.Status] = [ + .unset, + .success, + .error, + .outOfRange, + .entryToRemoveNotFound, + .pokemonIDToTransferMissing, + .pokemonToTransferDifferent, + .contestLimitReached, + .pokemonIDToReplaceMissing, + .contestIDToRemoveMissing, + .pokemonToReplaceNotFound, + .pokemonToReplaceDifferent, + .pendingRewardEntryNotAllowed, + ] +} + +#endif // swift(>=4.2) + +public struct TransferPokemonSizeLeaderboardEntryProto { + // 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. + + public var fortID: String = String() + + public var contestSchedule: ContestScheduleProto { + get {return _contestSchedule ?? ContestScheduleProto()} + set {_contestSchedule = newValue} + } + /// Returns true if `contestSchedule` has been explicitly set. + public var hasContestSchedule: Bool {return self._contestSchedule != nil} + /// Clears the value of `contestSchedule`. Subsequent reads from it will return its default value. + public mutating func clearContestSchedule() {self._contestSchedule = nil} + + public var contestIDToRemove: String = String() + + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} + + public var pokemonID: UInt64 = 0 + + public var pokemonIDToTransfer: UInt64 = 0 + + public var fortLatDegrees: Double = 0 + + public var fortLngDegrees: Double = 0 + + public var pokemonIDToReplace: UInt64 = 0 + + public var entryPoint: EntryPointForContestEntry = .entryPointUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _contestSchedule: ContestScheduleProto? = nil + fileprivate var _contestMetric: ContestMetricProto? = nil +} + +public struct TransferPokemonToPokemonHomeOutProto { + // 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. + + public var status: TransferPokemonToPokemonHomeOutProto.Status = .unset + + public var candyAwarded: Int32 = 0 + + public var xlCandyAwarded: Int32 = 0 + + public var xlCandyAwardedPerID: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPlayerLevelTooLow // = 2 + case errorNoNaidLinked // = 3 + case errorTooManyPokemon // = 4 + case errorServerClientEnergyCostMismatch // = 5 + case errorInsufficientEnergy // = 6 + case errorTransferInProgress // = 7 + case errorPokemonDeployed // = 10 + case errorPokemonIsEgg // = 11 + case errorPokemonIsBuddy // = 12 + case errorPokemonBad // = 13 + case errorPokemonIsMega // = 14 + case errorPokemonFavorited // = 15 + case errorPokemonNotFound // = 16 + case errorValidationUnknown // = 17 + case errorPokemonHasCostume // = 21 + case errorPokemonIsShadow // = 22 + case errorPokemonDisallowed // = 23 + case errorPhapiRequestBodyFalse // = 30 + case errorPhapiRequestParametersDne // = 31 + case errorPhapiRequestParametersFalse // = 32 + case errorPhapiMaintenance // = 33 + case errorPhapiServiceEnded // = 34 + case errorPhapiUnknown // = 35 + case errorPhapiNaidDoesNotExist // = 36 + case errorPhapiNoSpaceInBox // = 37 + case errorPhapiDataConversionFailure // = 38 + case errorPhapiWaitingForReceipt // = 39 + case errorPhapiPlayerNotUsingPhApp // = 40 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPlayerLevelTooLow + case 3: self = .errorNoNaidLinked + case 4: self = .errorTooManyPokemon + case 5: self = .errorServerClientEnergyCostMismatch + case 6: self = .errorInsufficientEnergy + case 7: self = .errorTransferInProgress + case 10: self = .errorPokemonDeployed + case 11: self = .errorPokemonIsEgg + case 12: self = .errorPokemonIsBuddy + case 13: self = .errorPokemonBad + case 14: self = .errorPokemonIsMega + case 15: self = .errorPokemonFavorited + case 16: self = .errorPokemonNotFound + case 17: self = .errorValidationUnknown + case 21: self = .errorPokemonHasCostume + case 22: self = .errorPokemonIsShadow + case 23: self = .errorPokemonDisallowed + case 30: self = .errorPhapiRequestBodyFalse + case 31: self = .errorPhapiRequestParametersDne + case 32: self = .errorPhapiRequestParametersFalse + case 33: self = .errorPhapiMaintenance + case 34: self = .errorPhapiServiceEnded + case 35: self = .errorPhapiUnknown + case 36: self = .errorPhapiNaidDoesNotExist + case 37: self = .errorPhapiNoSpaceInBox + case 38: self = .errorPhapiDataConversionFailure + case 39: self = .errorPhapiWaitingForReceipt + case 40: self = .errorPhapiPlayerNotUsingPhApp + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPlayerLevelTooLow: return 2 + case .errorNoNaidLinked: return 3 + case .errorTooManyPokemon: return 4 + case .errorServerClientEnergyCostMismatch: return 5 + case .errorInsufficientEnergy: return 6 + case .errorTransferInProgress: return 7 + case .errorPokemonDeployed: return 10 + case .errorPokemonIsEgg: return 11 + case .errorPokemonIsBuddy: return 12 + case .errorPokemonBad: return 13 + case .errorPokemonIsMega: return 14 + case .errorPokemonFavorited: return 15 + case .errorPokemonNotFound: return 16 + case .errorValidationUnknown: return 17 + case .errorPokemonHasCostume: return 21 + case .errorPokemonIsShadow: return 22 + case .errorPokemonDisallowed: return 23 + case .errorPhapiRequestBodyFalse: return 30 + case .errorPhapiRequestParametersDne: return 31 + case .errorPhapiRequestParametersFalse: return 32 + case .errorPhapiMaintenance: return 33 + case .errorPhapiServiceEnded: return 34 + case .errorPhapiUnknown: return 35 + case .errorPhapiNaidDoesNotExist: return 36 + case .errorPhapiNoSpaceInBox: return 37 + case .errorPhapiDataConversionFailure: return 38 + case .errorPhapiWaitingForReceipt: return 39 + case .errorPhapiPlayerNotUsingPhApp: return 40 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TransferPokemonToPokemonHomeOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TransferPokemonToPokemonHomeOutProto.Status] = [ + .unset, + .success, + .errorPlayerLevelTooLow, + .errorNoNaidLinked, + .errorTooManyPokemon, + .errorServerClientEnergyCostMismatch, + .errorInsufficientEnergy, + .errorTransferInProgress, + .errorPokemonDeployed, + .errorPokemonIsEgg, + .errorPokemonIsBuddy, + .errorPokemonBad, + .errorPokemonIsMega, + .errorPokemonFavorited, + .errorPokemonNotFound, + .errorValidationUnknown, + .errorPokemonHasCostume, + .errorPokemonIsShadow, + .errorPokemonDisallowed, + .errorPhapiRequestBodyFalse, + .errorPhapiRequestParametersDne, + .errorPhapiRequestParametersFalse, + .errorPhapiMaintenance, + .errorPhapiServiceEnded, + .errorPhapiUnknown, + .errorPhapiNaidDoesNotExist, + .errorPhapiNoSpaceInBox, + .errorPhapiDataConversionFailure, + .errorPhapiWaitingForReceipt, + .errorPhapiPlayerNotUsingPhApp, + ] +} + +#endif // swift(>=4.2) + +public struct TransferPokemonToPokemonHomeProto { + // 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. + + public var totalEnergyCost: Int32 = 0 + + public var pokemonUuid: [UInt64] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TransitMetadata { + // 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. + + public var route: String = String() + + public var agency: String = String() + + public var colorName: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TranslationSettingsProto { + // 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. + + public var translationBundleIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TravelRouteQuestProto { + // 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. + + public var routeID: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TriangleList { + // 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. + + public var coords: [UInt32] = [] + + public var exteriorEdges: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ExteriorEdgeBit: SwiftProtobuf.Enum { + public typealias RawValue = Int + case noBit // = 0 + case edgeV0V1 // = 1 + case edgeV1V2 // = 2 + case edgeV2V0 // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .noBit + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .noBit + case 1: self = .edgeV0V1 + case 2: self = .edgeV1V2 + case 4: self = .edgeV2V0 + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .noBit: return 0 + case .edgeV0V1: return 1 + case .edgeV1V2: return 2 + case .edgeV2V0: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TriangleList.ExteriorEdgeBit: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TriangleList.ExteriorEdgeBit] = [ + .noBit, + .edgeV0V1, + .edgeV1V2, + .edgeV2V0, + ] +} + +#endif // swift(>=4.2) + +public struct TutorialCreateDetail { + // 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. + + public var caughtInWild: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TutorialItemRewardsProto { + // 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. + + public var tutorial: TutorialCompletion = .legalScreen + + public var item: [ItemProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TutorialTelemetry { + // 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. + + public var telemetryID: TutorialTelemetry.TutorialTelemetryId = .undefined + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum TutorialTelemetryId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case undefined // = 0 + case tagLearnMoreButtonClicked // = 1 + case tagPopupTutorialShown // = 2 + case friendListLearnMoreButtonClicked // = 3 + case friendDetailHelpButtonClicked // = 4 + case taskTutorialCurveBallViewed // = 5 + case taskTutorialThrowTypeViewed // = 6 + case taskTutorialGiftViewed // = 7 + case taskTutorialTradingViewed // = 8 + case taskTutorialSnapshotWildViewed // = 9 + case taskTutorialSnapshotInventoryViewed // = 10 + case taskTutorialSnapshotBuddyViewed // = 11 + case giftTutorialIntroductionShown // = 12 + case playerViewedGiftTutorial // = 13 + case playerSkippedGiftTutorial // = 14 + case playerCompletedGiftTutorial // = 15 + case lureTutorialIntroductionShown // = 16 + case playerViewedLureTutorial // = 17 + case playerSkippedLureTutorial // = 18 + case playerCompletedLureTutorial // = 19 + case gymTutorialButtonClicked // = 20 + case raidTutorialButtonClicked // = 21 + case potionAndReviveTutorialIntroductionShown // = 22 + case playerCompletedReviveTutorial // = 23 + case playerCompletedPotionTutorial // = 24 + case berryCatchTutorialShown // = 25 + case tradeTutorialIntroductionShown // = 26 + case playerViewedTradingTutorial // = 27 + case playerSkippedTradingTutorial // = 28 + case playerCompletedTradingTutorial // = 29 + case luckyTradeTutorialShown // = 30 + case luckyFriendsUnlockedTutorialShown // = 31 + case luckyFriendsTutorialButtonClicked // = 32 + case UNRECOGNIZED(Int) + + public init() { + self = .undefined + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .undefined + case 1: self = .tagLearnMoreButtonClicked + case 2: self = .tagPopupTutorialShown + case 3: self = .friendListLearnMoreButtonClicked + case 4: self = .friendDetailHelpButtonClicked + case 5: self = .taskTutorialCurveBallViewed + case 6: self = .taskTutorialThrowTypeViewed + case 7: self = .taskTutorialGiftViewed + case 8: self = .taskTutorialTradingViewed + case 9: self = .taskTutorialSnapshotWildViewed + case 10: self = .taskTutorialSnapshotInventoryViewed + case 11: self = .taskTutorialSnapshotBuddyViewed + case 12: self = .giftTutorialIntroductionShown + case 13: self = .playerViewedGiftTutorial + case 14: self = .playerSkippedGiftTutorial + case 15: self = .playerCompletedGiftTutorial + case 16: self = .lureTutorialIntroductionShown + case 17: self = .playerViewedLureTutorial + case 18: self = .playerSkippedLureTutorial + case 19: self = .playerCompletedLureTutorial + case 20: self = .gymTutorialButtonClicked + case 21: self = .raidTutorialButtonClicked + case 22: self = .potionAndReviveTutorialIntroductionShown + case 23: self = .playerCompletedReviveTutorial + case 24: self = .playerCompletedPotionTutorial + case 25: self = .berryCatchTutorialShown + case 26: self = .tradeTutorialIntroductionShown + case 27: self = .playerViewedTradingTutorial + case 28: self = .playerSkippedTradingTutorial + case 29: self = .playerCompletedTradingTutorial + case 30: self = .luckyTradeTutorialShown + case 31: self = .luckyFriendsUnlockedTutorialShown + case 32: self = .luckyFriendsTutorialButtonClicked + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .undefined: return 0 + case .tagLearnMoreButtonClicked: return 1 + case .tagPopupTutorialShown: return 2 + case .friendListLearnMoreButtonClicked: return 3 + case .friendDetailHelpButtonClicked: return 4 + case .taskTutorialCurveBallViewed: return 5 + case .taskTutorialThrowTypeViewed: return 6 + case .taskTutorialGiftViewed: return 7 + case .taskTutorialTradingViewed: return 8 + case .taskTutorialSnapshotWildViewed: return 9 + case .taskTutorialSnapshotInventoryViewed: return 10 + case .taskTutorialSnapshotBuddyViewed: return 11 + case .giftTutorialIntroductionShown: return 12 + case .playerViewedGiftTutorial: return 13 + case .playerSkippedGiftTutorial: return 14 + case .playerCompletedGiftTutorial: return 15 + case .lureTutorialIntroductionShown: return 16 + case .playerViewedLureTutorial: return 17 + case .playerSkippedLureTutorial: return 18 + case .playerCompletedLureTutorial: return 19 + case .gymTutorialButtonClicked: return 20 + case .raidTutorialButtonClicked: return 21 + case .potionAndReviveTutorialIntroductionShown: return 22 + case .playerCompletedReviveTutorial: return 23 + case .playerCompletedPotionTutorial: return 24 + case .berryCatchTutorialShown: return 25 + case .tradeTutorialIntroductionShown: return 26 + case .playerViewedTradingTutorial: return 27 + case .playerSkippedTradingTutorial: return 28 + case .playerCompletedTradingTutorial: return 29 + case .luckyTradeTutorialShown: return 30 + case .luckyFriendsUnlockedTutorialShown: return 31 + case .luckyFriendsTutorialButtonClicked: return 32 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension TutorialTelemetry.TutorialTelemetryId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [TutorialTelemetry.TutorialTelemetryId] = [ + .undefined, + .tagLearnMoreButtonClicked, + .tagPopupTutorialShown, + .friendListLearnMoreButtonClicked, + .friendDetailHelpButtonClicked, + .taskTutorialCurveBallViewed, + .taskTutorialThrowTypeViewed, + .taskTutorialGiftViewed, + .taskTutorialTradingViewed, + .taskTutorialSnapshotWildViewed, + .taskTutorialSnapshotInventoryViewed, + .taskTutorialSnapshotBuddyViewed, + .giftTutorialIntroductionShown, + .playerViewedGiftTutorial, + .playerSkippedGiftTutorial, + .playerCompletedGiftTutorial, + .lureTutorialIntroductionShown, + .playerViewedLureTutorial, + .playerSkippedLureTutorial, + .playerCompletedLureTutorial, + .gymTutorialButtonClicked, + .raidTutorialButtonClicked, + .potionAndReviveTutorialIntroductionShown, + .playerCompletedReviveTutorial, + .playerCompletedPotionTutorial, + .berryCatchTutorialShown, + .tradeTutorialIntroductionShown, + .playerViewedTradingTutorial, + .playerSkippedTradingTutorial, + .playerCompletedTradingTutorial, + .luckyTradeTutorialShown, + .luckyFriendsUnlockedTutorialShown, + .luckyFriendsTutorialButtonClicked, + ] +} + +#endif // swift(>=4.2) + +public struct TutorialsSettingsProto { + // 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. + + public var loadingScreenTipsEnabled: Bool = false + + public var friendsTutorialEnabled: Bool = false + + public var giftsTutorialEnabled: Bool = false + + public var taskHelpTutorialsEnabled: Bool = false + + public var revivesAndPotionsTutorialEnabled: Bool = false + + public var razzberryCatchTutorialEnabled: Bool = false + + public var luresTutorialEnabled: Bool = false + + public var tradingTutorialEnabled: Bool = false + + public var luckyTradeTutorialEnabled: Bool = false + + public var luckyFriendTutorialEnabled: Bool = false + + public var pokemonTaggingTutorialEnabled: Bool = false + + public var tutorialItemRewards: [TutorialItemRewardsProto] = [] + + public var typeEffectivenessTipsEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct TwoWaySharedFriendshipDataProto { + // 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. + + public var isLucky: Bool = false + + public var luckyCount: Int32 = 0 + + public var sharedMigrations: TwoWaySharedFriendshipDataProto.SharedMigrations { + get {return _sharedMigrations ?? TwoWaySharedFriendshipDataProto.SharedMigrations()} + set {_sharedMigrations = newValue} + } + /// Returns true if `sharedMigrations` has been explicitly set. + public var hasSharedMigrations: Bool {return self._sharedMigrations != nil} + /// Clears the value of `sharedMigrations`. Subsequent reads from it will return its default value. + public mutating func clearSharedMigrations() {self._sharedMigrations = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct SharedMigrations { + // 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. + + public var isGiftingMigrated: Bool = false + + public var isLuckyDataMigrated: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _sharedMigrations: TwoWaySharedFriendshipDataProto.SharedMigrations? = nil +} + +public struct TypeEffectiveSettingsProto { + // 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. + + public var attackScalar: [Float] = [] + + public var attackType: HoloPokemonType = .pokemonTypeNone + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UncommentAnnotationTestProto { + // 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. + + public var stringProperty: String = String() + + public var longProperty: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UninterpretedOption { + // 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. + + public var identifierValue: String = String() + + public var positiveIntValue: UInt64 = 0 + + public var negativeIntValue: Int64 = 0 + + public var doubleValue: Double = 0 + + public var stringValue: Data = Data() + + public var aggregateValue: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct NamePart { + // 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. + + public var namePart: String = String() + + public var isExtension: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +public struct UnlinkNintendoAccountOutProto { + // 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. + + public var status: UnlinkNintendoAccountOutProto.Status = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case success // = 1 + case errorPlayerLevelTooLow // = 2 + case errorNoLinkedNaid // = 3 + case errorTransferInProgress // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .success + case 2: self = .errorPlayerLevelTooLow + case 3: self = .errorNoLinkedNaid + case 4: self = .errorTransferInProgress + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .success: return 1 + case .errorPlayerLevelTooLow: return 2 + case .errorNoLinkedNaid: return 3 + case .errorTransferInProgress: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UnlinkNintendoAccountOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UnlinkNintendoAccountOutProto.Status] = [ + .unknown, + .success, + .errorPlayerLevelTooLow, + .errorNoLinkedNaid, + .errorTransferInProgress, + ] +} + +#endif // swift(>=4.2) + +public struct UnlinkNintendoAccountProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UnlockPokemonMoveOutProto { + // 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. + + public var result: UnlockPokemonMoveOutProto.Result = .unset + + public var unlockedPokemon: PokemonProto { + get {return _unlockedPokemon ?? PokemonProto()} + set {_unlockedPokemon = newValue} + } + /// Returns true if `unlockedPokemon` has been explicitly set. + public var hasUnlockedPokemon: Bool {return self._unlockedPokemon != nil} + /// Clears the value of `unlockedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearUnlockedPokemon() {self._unlockedPokemon = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPokemonNotFound // = 2 + case errorUnlockNotAvailable // = 3 + case errorAlreadyUnlocked // = 4 + case errorInsufficientResources // = 5 + case errorDisabled // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPokemonNotFound + case 3: self = .errorUnlockNotAvailable + case 4: self = .errorAlreadyUnlocked + case 5: self = .errorInsufficientResources + case 6: self = .errorDisabled + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPokemonNotFound: return 2 + case .errorUnlockNotAvailable: return 3 + case .errorAlreadyUnlocked: return 4 + case .errorInsufficientResources: return 5 + case .errorDisabled: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _unlockedPokemon: PokemonProto? = nil +} + +#if swift(>=4.2) + +extension UnlockPokemonMoveOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UnlockPokemonMoveOutProto.Result] = [ + .unset, + .success, + .errorPokemonNotFound, + .errorUnlockNotAvailable, + .errorAlreadyUnlocked, + .errorInsufficientResources, + .errorDisabled, + ] +} + +#endif // swift(>=4.2) + +public struct UnlockPokemonMoveProto { + // 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. + + public var pokemonID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpNextSectionProto { + // 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. + + public var eventID: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpcomingEventsSectionProto { + // 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. + + public var events: [EventSectionProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpdateAdventureSyncFitnessRequestProto { + // 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. + + public var fitnessSamples: [FitnessSample] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpdateAdventureSyncFitnessResponseProto { + // 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. + + public var status: UpdateAdventureSyncFitnessResponseProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UpdateAdventureSyncFitnessResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateAdventureSyncFitnessResponseProto.Status] = [ + .unset, + .success, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateAdventureSyncSettingsRequestProto { + // 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. + + public var adventureSyncSettings: AdventureSyncSettingsProto { + get {return _adventureSyncSettings ?? AdventureSyncSettingsProto()} + set {_adventureSyncSettings = newValue} + } + /// Returns true if `adventureSyncSettings` has been explicitly set. + public var hasAdventureSyncSettings: Bool {return self._adventureSyncSettings != nil} + /// Clears the value of `adventureSyncSettings`. Subsequent reads from it will return its default value. + public mutating func clearAdventureSyncSettings() {self._adventureSyncSettings = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _adventureSyncSettings: AdventureSyncSettingsProto? = nil +} + +public struct UpdateAdventureSyncSettingsResponseProto { + // 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. + + public var status: UpdateAdventureSyncSettingsResponseProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UpdateAdventureSyncSettingsResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateAdventureSyncSettingsResponseProto.Status] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerNotFound, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateBreadcrumbHistoryRequestProto { + // 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. + + public var sessionContext: String = String() + + public var breadcrumbHistory: [BreadcrumbRecordProto] = [] + + public var initialUpdate: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpdateBreadcrumbHistoryResponseProto { + // 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. + + public var status: UpdateBreadcrumbHistoryResponseProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UpdateBreadcrumbHistoryResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateBreadcrumbHistoryResponseProto.Status] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerNotFound, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateBulkPlayerLocationRequestProto { + // 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. + + public var locationPingUpdate: [LocationPingUpdateProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpdateBulkPlayerLocationResponseProto { + // 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. + + public var status: UpdateBulkPlayerLocationResponseProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorPlayerNotFound // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorPlayerNotFound + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorPlayerNotFound: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UpdateBulkPlayerLocationResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateBulkPlayerLocationResponseProto.Status] = [ + .unset, + .success, + .errorUnknown, + .errorPlayerNotFound, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateCombatData { + // 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. + + public var rpcID: Int32 = 0 + + public var action: CombatActionLogProto { + get {return _action ?? CombatActionLogProto()} + set {_action = newValue} + } + /// Returns true if `action` has been explicitly set. + public var hasAction: Bool {return self._action != nil} + /// Clears the value of `action`. Subsequent reads from it will return its default value. + public mutating func clearAction() {self._action = nil} + + public var combatRequestCounter: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _action: CombatActionLogProto? = nil +} + +public struct UpdateCombatOutProto { + // 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. + + public var result: UpdateCombatOutProto.Result = .unset + + public var combat: CombatProto { + get {return _combat ?? CombatProto()} + set {_combat = newValue} + } + /// Returns true if `combat` has been explicitly set. + public var hasCombat: Bool {return self._combat != nil} + /// Clears the value of `combat`. Subsequent reads from it will return its default value. + public mutating func clearCombat() {self._combat = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidCombatState // = 2 + case errorCombatNotFound // = 3 + case errorPlayerNotInCombat // = 4 + case errorIllegalAction // = 5 + case errorInvalidSubmitTime // = 6 + case errorPlayerInMinigame // = 7 + case errorExistingQueuedAttack // = 8 + case errorInvalidChangePokemon // = 9 + case errorInsufficientEnergy // = 10 + case errorInvalidMove // = 11 + case errorInvalidDurationTurns // = 12 + case errorInvalidMinigameState // = 13 + case errorInvalidQuickSwapPokemon // = 14 + case errorQuickSwapNotAvailable // = 15 + case errorInvalidSubmitTimeBeforeLastUpdatedTurn // = 16 + case errorInvalidSubmitTimeDuringStateChange // = 17 + case errorInvalidSubmitTimeOpponentChargeMove // = 18 + case errorInvalidSubmitTimeCmpTieSwap // = 19 + case errorInvalidMinigameStateOffensiveFinish // = 20 + case errorInvalidMinigameStateDefensiveStart // = 21 + case errorInvalidMinigameStateDefensiveFinish // = 22 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidCombatState + case 3: self = .errorCombatNotFound + case 4: self = .errorPlayerNotInCombat + case 5: self = .errorIllegalAction + case 6: self = .errorInvalidSubmitTime + case 7: self = .errorPlayerInMinigame + case 8: self = .errorExistingQueuedAttack + case 9: self = .errorInvalidChangePokemon + case 10: self = .errorInsufficientEnergy + case 11: self = .errorInvalidMove + case 12: self = .errorInvalidDurationTurns + case 13: self = .errorInvalidMinigameState + case 14: self = .errorInvalidQuickSwapPokemon + case 15: self = .errorQuickSwapNotAvailable + case 16: self = .errorInvalidSubmitTimeBeforeLastUpdatedTurn + case 17: self = .errorInvalidSubmitTimeDuringStateChange + case 18: self = .errorInvalidSubmitTimeOpponentChargeMove + case 19: self = .errorInvalidSubmitTimeCmpTieSwap + case 20: self = .errorInvalidMinigameStateOffensiveFinish + case 21: self = .errorInvalidMinigameStateDefensiveStart + case 22: self = .errorInvalidMinigameStateDefensiveFinish + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidCombatState: return 2 + case .errorCombatNotFound: return 3 + case .errorPlayerNotInCombat: return 4 + case .errorIllegalAction: return 5 + case .errorInvalidSubmitTime: return 6 + case .errorPlayerInMinigame: return 7 + case .errorExistingQueuedAttack: return 8 + case .errorInvalidChangePokemon: return 9 + case .errorInsufficientEnergy: return 10 + case .errorInvalidMove: return 11 + case .errorInvalidDurationTurns: return 12 + case .errorInvalidMinigameState: return 13 + case .errorInvalidQuickSwapPokemon: return 14 + case .errorQuickSwapNotAvailable: return 15 + case .errorInvalidSubmitTimeBeforeLastUpdatedTurn: return 16 + case .errorInvalidSubmitTimeDuringStateChange: return 17 + case .errorInvalidSubmitTimeOpponentChargeMove: return 18 + case .errorInvalidSubmitTimeCmpTieSwap: return 19 + case .errorInvalidMinigameStateOffensiveFinish: return 20 + case .errorInvalidMinigameStateDefensiveStart: return 21 + case .errorInvalidMinigameStateDefensiveFinish: return 22 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _combat: CombatProto? = nil +} + +#if swift(>=4.2) + +extension UpdateCombatOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateCombatOutProto.Result] = [ + .unset, + .success, + .errorInvalidCombatState, + .errorCombatNotFound, + .errorPlayerNotInCombat, + .errorIllegalAction, + .errorInvalidSubmitTime, + .errorPlayerInMinigame, + .errorExistingQueuedAttack, + .errorInvalidChangePokemon, + .errorInsufficientEnergy, + .errorInvalidMove, + .errorInvalidDurationTurns, + .errorInvalidMinigameState, + .errorInvalidQuickSwapPokemon, + .errorQuickSwapNotAvailable, + .errorInvalidSubmitTimeBeforeLastUpdatedTurn, + .errorInvalidSubmitTimeDuringStateChange, + .errorInvalidSubmitTimeOpponentChargeMove, + .errorInvalidSubmitTimeCmpTieSwap, + .errorInvalidMinigameStateOffensiveFinish, + .errorInvalidMinigameStateDefensiveStart, + .errorInvalidMinigameStateDefensiveFinish, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateCombatProto { + // 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. + + public var combatID: String = String() + + public var action: CombatActionProto { + get {return _action ?? CombatActionProto()} + set {_action = newValue} + } + /// Returns true if `action` has been explicitly set. + public var hasAction: Bool {return self._action != nil} + /// Clears the value of `action`. Subsequent reads from it will return its default value. + public mutating func clearAction() {self._action = nil} + + public var debugLog: String = String() + + public var combatRequestCounter: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _action: CombatActionProto? = nil +} + +public struct UpdateCombatResponseData { + // 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. + + public var rpcID: Int32 { + get {return _storage._rpcID} + set {_uniqueStorage()._rpcID = newValue} + } + + public var roundTripTimeMs: UInt32 { + get {return _storage._roundTripTimeMs} + set {_uniqueStorage()._roundTripTimeMs = newValue} + } + + public var result: UpdateCombatOutProto.Result { + get {return _storage._result} + set {_uniqueStorage()._result = newValue} + } + + public var combat: CombatForLogProto { + get {return _storage._combat ?? CombatForLogProto()} + set {_uniqueStorage()._combat = newValue} + } + /// Returns true if `combat` has been explicitly set. + public var hasCombat: Bool {return _storage._combat != nil} + /// Clears the value of `combat`. Subsequent reads from it will return its default value. + public mutating func clearCombat() {_uniqueStorage()._combat = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct UpdateCombatResponseTimeTelemetry { + // 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. + + public var windowDuration: Float = 0 + + public var countCall: Int32 = 0 + + public var averageResponseTime: Float = 0 + + public var timeoutCount: Int32 = 0 + + public var combatType: CombatType = .unset + + public var realm: String = String() + + public var medianResponseTime: Float = 0 + + public var minResponseTime: Float = 0 + + public var maxResponseTime: Float = 0 + + public var p90ResponseTime: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpdateContestEntryOutProto { + // 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. + + public var status: UpdateContestEntryOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case outOfRange // = 3 + case enteredPokemonNotAvailable // = 4 + case pokemonIDToReplaceMissing // = 5 + case pokemonToReplaceDifferent // = 6 + case playerLimitReached // = 7 + case contestLimitReached // = 8 + case sameCycleTradeNotAllowed // = 9 + case sameSeasonWinnerNotAllowed // = 10 + case pokemonToReplaceNotFound // = 11 + case pendingRewardEntryNotAllowed // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .outOfRange + case 4: self = .enteredPokemonNotAvailable + case 5: self = .pokemonIDToReplaceMissing + case 6: self = .pokemonToReplaceDifferent + case 7: self = .playerLimitReached + case 8: self = .contestLimitReached + case 9: self = .sameCycleTradeNotAllowed + case 10: self = .sameSeasonWinnerNotAllowed + case 11: self = .pokemonToReplaceNotFound + case 12: self = .pendingRewardEntryNotAllowed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .outOfRange: return 3 + case .enteredPokemonNotAvailable: return 4 + case .pokemonIDToReplaceMissing: return 5 + case .pokemonToReplaceDifferent: return 6 + case .playerLimitReached: return 7 + case .contestLimitReached: return 8 + case .sameCycleTradeNotAllowed: return 9 + case .sameSeasonWinnerNotAllowed: return 10 + case .pokemonToReplaceNotFound: return 11 + case .pendingRewardEntryNotAllowed: return 12 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UpdateContestEntryOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateContestEntryOutProto.Status] = [ + .unset, + .success, + .error, + .outOfRange, + .enteredPokemonNotAvailable, + .pokemonIDToReplaceMissing, + .pokemonToReplaceDifferent, + .playerLimitReached, + .contestLimitReached, + .sameCycleTradeNotAllowed, + .sameSeasonWinnerNotAllowed, + .pokemonToReplaceNotFound, + .pendingRewardEntryNotAllowed, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateContestEntryProto { + // 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. + + public var fortID: String = String() + + public var contestSchedule: ContestScheduleProto { + get {return _contestSchedule ?? ContestScheduleProto()} + set {_contestSchedule = newValue} + } + /// Returns true if `contestSchedule` has been explicitly set. + public var hasContestSchedule: Bool {return self._contestSchedule != nil} + /// Clears the value of `contestSchedule`. Subsequent reads from it will return its default value. + public mutating func clearContestSchedule() {self._contestSchedule = nil} + + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} + + public var pokemonID: UInt64 = 0 + + public var pokemonIDToReplace: UInt64 = 0 + + public var fortLatDegrees: Double = 0 + + public var fortLngDegrees: Double = 0 + + public var entryPoint: EntryPointForContestEntry = .entryPointUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _contestSchedule: ContestScheduleProto? = nil + fileprivate var _contestMetric: ContestMetricProto? = nil +} + +public struct UpdateInvasionBattleOutProto { + // 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. + + public var status: InvasionStatus.Status = .unset + + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var mapFragmentUpgraded: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _rewards: LootProto? = nil +} + +public struct UpdateInvasionBattleProto { + // 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. + + public var incidentLookup: IncidentLookupProto { + get {return _incidentLookup ?? IncidentLookupProto()} + set {_incidentLookup = newValue} + } + /// Returns true if `incidentLookup` has been explicitly set. + public var hasIncidentLookup: Bool {return self._incidentLookup != nil} + /// Clears the value of `incidentLookup`. Subsequent reads from it will return its default value. + public mutating func clearIncidentLookup() {self._incidentLookup = nil} + + public var step: Int32 = 0 + + public var healthUpdate: [PokemonStaminaUpdateProto] = [] + + public var completeBattle: Bool = false + + public var updateType: UpdateInvasionBattleProto.UpdateType = .pokemonHealth + + public var lobbyJoinTimeMs: Int64 = 0 + + public var combatQuestUpdate: CombatQuestUpdateProto { + get {return _combatQuestUpdate ?? CombatQuestUpdateProto()} + set {_combatQuestUpdate = newValue} + } + /// Returns true if `combatQuestUpdate` has been explicitly set. + public var hasCombatQuestUpdate: Bool {return self._combatQuestUpdate != nil} + /// Clears the value of `combatQuestUpdate`. Subsequent reads from it will return its default value. + public mutating func clearCombatQuestUpdate() {self._combatQuestUpdate = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum UpdateType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case pokemonHealth // = 0 + case winBattle // = 1 + case loseBattle // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .pokemonHealth + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .pokemonHealth + case 1: self = .winBattle + case 2: self = .loseBattle + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .pokemonHealth: return 0 + case .winBattle: return 1 + case .loseBattle: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _incidentLookup: IncidentLookupProto? = nil + fileprivate var _combatQuestUpdate: CombatQuestUpdateProto? = nil +} + +#if swift(>=4.2) + +extension UpdateInvasionBattleProto.UpdateType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateInvasionBattleProto.UpdateType] = [ + .pokemonHealth, + .winBattle, + .loseBattle, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateIrisSpawnDataProto { + // 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. + + public var fortID: String = String() + + public var updatedAnchors: [IrisPokemonObjectProto] = [] + + public var eventID: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UpdateIrisSpawnDataProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateIrisSpawnDataProto.Status] = [ + .unset, + .success, + .errorUnknown, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateNotificationOutProto { + // 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. + + public var notificationIds: [String] = [] + + public var createTimestampMs: [Int64] = [] + + public var state: NotificationState = .unsetState + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpdateNotificationProto { + // 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. + + public var notificationIds: [String] = [] + + public var createTimestampMs: [Int64] = [] + + public var state: NotificationState = .unsetState + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpdatePokemonSizeLeaderboardEntryOutProto { + // 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. + + public var status: UpdatePokemonSizeLeaderboardEntryOutProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case outOfRange // = 3 + case enteredPokemonNotAvailable // = 4 + case pokemonIDToReplaceMissing // = 5 + case pokemonToReplaceDifferent // = 6 + case playerLimitReached // = 7 + case contestLimitReached // = 8 + case sameCycleTradeNotAllowed // = 9 + case sameSeasonWinnerNotAllowed // = 10 + case pokemonToReplaceNotFound // = 11 + case pendingRewardEntryNotAllowed // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .outOfRange + case 4: self = .enteredPokemonNotAvailable + case 5: self = .pokemonIDToReplaceMissing + case 6: self = .pokemonToReplaceDifferent + case 7: self = .playerLimitReached + case 8: self = .contestLimitReached + case 9: self = .sameCycleTradeNotAllowed + case 10: self = .sameSeasonWinnerNotAllowed + case 11: self = .pokemonToReplaceNotFound + case 12: self = .pendingRewardEntryNotAllowed + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .outOfRange: return 3 + case .enteredPokemonNotAvailable: return 4 + case .pokemonIDToReplaceMissing: return 5 + case .pokemonToReplaceDifferent: return 6 + case .playerLimitReached: return 7 + case .contestLimitReached: return 8 + case .sameCycleTradeNotAllowed: return 9 + case .sameSeasonWinnerNotAllowed: return 10 + case .pokemonToReplaceNotFound: return 11 + case .pendingRewardEntryNotAllowed: return 12 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UpdatePokemonSizeLeaderboardEntryOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdatePokemonSizeLeaderboardEntryOutProto.Status] = [ + .unset, + .success, + .error, + .outOfRange, + .enteredPokemonNotAvailable, + .pokemonIDToReplaceMissing, + .pokemonToReplaceDifferent, + .playerLimitReached, + .contestLimitReached, + .sameCycleTradeNotAllowed, + .sameSeasonWinnerNotAllowed, + .pokemonToReplaceNotFound, + .pendingRewardEntryNotAllowed, + ] +} + +#endif // swift(>=4.2) + +public struct UpdatePokemonSizeLeaderboardEntryProto { + // 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. + + public var fortID: String = String() + + public var contestSchedule: ContestScheduleProto { + get {return _contestSchedule ?? ContestScheduleProto()} + set {_contestSchedule = newValue} + } + /// Returns true if `contestSchedule` has been explicitly set. + public var hasContestSchedule: Bool {return self._contestSchedule != nil} + /// Clears the value of `contestSchedule`. Subsequent reads from it will return its default value. + public mutating func clearContestSchedule() {self._contestSchedule = nil} + + public var contestMetric: ContestMetricProto { + get {return _contestMetric ?? ContestMetricProto()} + set {_contestMetric = newValue} + } + /// Returns true if `contestMetric` has been explicitly set. + public var hasContestMetric: Bool {return self._contestMetric != nil} + /// Clears the value of `contestMetric`. Subsequent reads from it will return its default value. + public mutating func clearContestMetric() {self._contestMetric = nil} + + public var pokemonID: UInt64 = 0 + + public var pokemonIDToReplace: UInt64 = 0 + + public var fortLatDegrees: Double = 0 + + public var fortLngDegrees: Double = 0 + + public var entryPoint: EntryPointForContestEntry = .entryPointUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _contestSchedule: ContestScheduleProto? = nil + fileprivate var _contestMetric: ContestMetricProto? = nil +} + +public struct UpdatePostcardOutProto { + // 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. + + public var result: UpdatePostcardOutProto.Result = .unset + + public var postcard: PostcardDisplayProto { + get {return _postcard ?? PostcardDisplayProto()} + set {_postcard = newValue} + } + /// Returns true if `postcard` has been explicitly set. + public var hasPostcard: Bool {return self._postcard != nil} + /// Clears the value of `postcard`. Subsequent reads from it will return its default value. + public mutating func clearPostcard() {self._postcard = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPostcardDoesNotExist // = 2 + case errorNotEnabled // = 4 + case errorRateLimited // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPostcardDoesNotExist + case 4: self = .errorNotEnabled + case 5: self = .errorRateLimited + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPostcardDoesNotExist: return 2 + case .errorNotEnabled: return 4 + case .errorRateLimited: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _postcard: PostcardDisplayProto? = nil +} + +#if swift(>=4.2) + +extension UpdatePostcardOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdatePostcardOutProto.Result] = [ + .unset, + .success, + .errorPostcardDoesNotExist, + .errorNotEnabled, + .errorRateLimited, + ] +} + +#endif // swift(>=4.2) + +public struct UpdatePostcardProto { + // 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. + + public var postcardID: String = String() + + public var favorite: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpdateRouteDraftOutProto { + // 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. + + public var result: UpdateRouteDraftOutProto.Result = .unset + + public var updatedRoute: RouteCreationProto { + get {return _updatedRoute ?? RouteCreationProto()} + set {_updatedRoute = newValue} + } + /// Returns true if `updatedRoute` has been explicitly set. + public var hasUpdatedRoute: Bool {return self._updatedRoute != nil} + /// Clears the value of `updatedRoute`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedRoute() {self._updatedRoute = nil} + + public var validationResult: RouteValidation { + get {return _validationResult ?? RouteValidation()} + set {_validationResult = newValue} + } + /// Returns true if `validationResult` has been explicitly set. + public var hasValidationResult: Bool {return self._validationResult != nil} + /// Clears the value of `validationResult`. Subsequent reads from it will return its default value. + public mutating func clearValidationResult() {self._validationResult = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorInvalidRoute // = 3 + case errorOldVersion // = 4 + case errorRouteNotEditable // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorInvalidRoute + case 4: self = .errorOldVersion + case 5: self = .errorRouteNotEditable + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorInvalidRoute: return 3 + case .errorOldVersion: return 4 + case .errorRouteNotEditable: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _updatedRoute: RouteCreationProto? = nil + fileprivate var _validationResult: RouteValidation? = nil +} + +#if swift(>=4.2) + +extension UpdateRouteDraftOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateRouteDraftOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorInvalidRoute, + .errorOldVersion, + .errorRouteNotEditable, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateRouteDraftProto { + // 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. + + public var nullablePause: UpdateRouteDraftProto.OneOf_NullablePause? = nil + + public var pause: Bool { + get { + if case .pause(let v)? = nullablePause {return v} + return false + } + set {nullablePause = .pause(newValue)} + } + + public var proposedRouteDraft: SharedRouteProto { + get {return _proposedRouteDraft ?? SharedRouteProto()} + set {_proposedRouteDraft = newValue} + } + /// Returns true if `proposedRouteDraft` has been explicitly set. + public var hasProposedRouteDraft: Bool {return self._proposedRouteDraft != nil} + /// Clears the value of `proposedRouteDraft`. Subsequent reads from it will return its default value. + public mutating func clearProposedRouteDraft() {self._proposedRouteDraft = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_NullablePause: Equatable { + case pause(Bool) + + #if !swift(>=4.1) + public static func ==(lhs: UpdateRouteDraftProto.OneOf_NullablePause, rhs: UpdateRouteDraftProto.OneOf_NullablePause) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pause, .pause): return { + guard case .pause(let l) = lhs, case .pause(let r) = rhs else { preconditionFailure() } + return l == r + }() + } + } + #endif + } + + public init() {} + + fileprivate var _proposedRouteDraft: SharedRouteProto? = nil +} + +public struct UpdateTradingOutProto { + // 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. + + public var result: UpdateTradingOutProto.Result = .unset + + public var trading: TradingProto { + get {return _trading ?? TradingProto()} + set {_trading = newValue} + } + /// Returns true if `trading` has been explicitly set. + public var hasTrading: Bool {return self._trading != nil} + /// Clears the value of `trading`. Subsequent reads from it will return its default value. + public mutating func clearTrading() {self._trading = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorFriendNotFound // = 3 + case errorInvalidPlayerID // = 4 + case errorInvalidState // = 5 + case errorStateHandler // = 6 + case errorInvalidPokemon // = 7 + case errorInsufficientPayment // = 8 + case errorTradingExpired // = 9 + case errorTradingFinished // = 10 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorFriendNotFound + case 4: self = .errorInvalidPlayerID + case 5: self = .errorInvalidState + case 6: self = .errorStateHandler + case 7: self = .errorInvalidPokemon + case 8: self = .errorInsufficientPayment + case 9: self = .errorTradingExpired + case 10: self = .errorTradingFinished + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorFriendNotFound: return 3 + case .errorInvalidPlayerID: return 4 + case .errorInvalidState: return 5 + case .errorStateHandler: return 6 + case .errorInvalidPokemon: return 7 + case .errorInsufficientPayment: return 8 + case .errorTradingExpired: return 9 + case .errorTradingFinished: return 10 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _trading: TradingProto? = nil +} + +#if swift(>=4.2) + +extension UpdateTradingOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateTradingOutProto.Result] = [ + .unset, + .success, + .errorUnknown, + .errorFriendNotFound, + .errorInvalidPlayerID, + .errorInvalidState, + .errorStateHandler, + .errorInvalidPokemon, + .errorInsufficientPayment, + .errorTradingExpired, + .errorTradingFinished, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateTradingProto { + // 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. + + public var playerID: String = String() + + public var pokemonID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpdateVpsEventOutProto { + // 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. + + public var status: UpdateVpsEventOutProto.Status = .unset + + public var vpsEventWrapper: [VpsEventWrapperProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorUnknown // = 2 + case errorFortIDNotFound // = 3 + case errorVpsNotEnabledAtFort // = 4 + case errorVpsEventNotFound // = 5 + case errorAddAnchorIDAlreadyExists // = 6 + case errorUpdateAnchorIDDoesNotExist // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorUnknown + case 3: self = .errorFortIDNotFound + case 4: self = .errorVpsNotEnabledAtFort + case 5: self = .errorVpsEventNotFound + case 6: self = .errorAddAnchorIDAlreadyExists + case 7: self = .errorUpdateAnchorIDDoesNotExist + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorUnknown: return 2 + case .errorFortIDNotFound: return 3 + case .errorVpsNotEnabledAtFort: return 4 + case .errorVpsEventNotFound: return 5 + case .errorAddAnchorIDAlreadyExists: return 6 + case .errorUpdateAnchorIDDoesNotExist: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UpdateVpsEventOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpdateVpsEventOutProto.Status] = [ + .unset, + .success, + .errorUnknown, + .errorFortIDNotFound, + .errorVpsNotEnabledAtFort, + .errorVpsEventNotFound, + .errorAddAnchorIDAlreadyExists, + .errorUpdateAnchorIDDoesNotExist, + ] +} + +#endif // swift(>=4.2) + +public struct UpdateVpsEventProto { + // 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. + + public var fortID: String = String() + + public var updatedAnchors: [AnchorUpdateProto] = [] + + public var eventID: Int32 = 0 + + public var updatedPokemonPlacement: [PlacedPokemonUpdateProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UpgradePokemonOutProto { + // 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. + + public var result: UpgradePokemonOutProto.Result = .unset + + public var upgradedPokemon: PokemonProto { + get {return _upgradedPokemon ?? PokemonProto()} + set {_upgradedPokemon = newValue} + } + /// Returns true if `upgradedPokemon` has been explicitly set. + public var hasUpgradedPokemon: Bool {return self._upgradedPokemon != nil} + /// Clears the value of `upgradedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearUpgradedPokemon() {self._upgradedPokemon = nil} + + public var nextUpgradedPokemon: PokemonProto { + get {return _nextUpgradedPokemon ?? PokemonProto()} + set {_nextUpgradedPokemon = newValue} + } + /// Returns true if `nextUpgradedPokemon` has been explicitly set. + public var hasNextUpgradedPokemon: Bool {return self._nextUpgradedPokemon != nil} + /// Clears the value of `nextUpgradedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearNextUpgradedPokemon() {self._nextUpgradedPokemon = nil} + + public var bulkUpgradesCostTable: [UpgradePokemonOutProto.BulkUpgradesCost] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorPokemonNotFound // = 2 + case errorInsufficientResources // = 3 + case errorUpgradeNotAvailable // = 4 + case errorPokemonIsDeployed // = 5 + case errorDuplicateRequest // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorPokemonNotFound + case 3: self = .errorInsufficientResources + case 4: self = .errorUpgradeNotAvailable + case 5: self = .errorPokemonIsDeployed + case 6: self = .errorDuplicateRequest + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorPokemonNotFound: return 2 + case .errorInsufficientResources: return 3 + case .errorUpgradeNotAvailable: return 4 + case .errorPokemonIsDeployed: return 5 + case .errorDuplicateRequest: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct BulkUpgradesCost { + // 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. + + public var numberOfUpgrades: Int32 = 0 + + public var pokemonLevel: Int32 = 0 + + public var pokemonCp: Int32 = 0 + + public var totalStardustCost: Int32 = 0 + + public var totalCandyCost: Int32 = 0 + + public var totalCpMultiplier: Float = 0 + + public var totalXlCandyCost: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _upgradedPokemon: PokemonProto? = nil + fileprivate var _nextUpgradedPokemon: PokemonProto? = nil +} + +#if swift(>=4.2) + +extension UpgradePokemonOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UpgradePokemonOutProto.Result] = [ + .unset, + .success, + .errorPokemonNotFound, + .errorInsufficientResources, + .errorUpgradeNotAvailable, + .errorPokemonIsDeployed, + .errorDuplicateRequest, + ] +} + +#endif // swift(>=4.2) + +public struct UpgradePokemonProto { + // 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. + + public var pokemonID: UInt64 = 0 + + public var preview: Bool = false + + public var numberOfUpgrades: UInt32 = 0 + + public var pokemonCurrentCp: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UploadCombatClientLogOutProto { + // 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. + + public var result: UploadCombatClientLogOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNotEnabled // = 2 + case errorTooManyRequests // = 3 + case errorInvalidFormat // = 4 + case errorExceedsSizeLimit // = 5 + case errorInternalError // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNotEnabled + case 3: self = .errorTooManyRequests + case 4: self = .errorInvalidFormat + case 5: self = .errorExceedsSizeLimit + case 6: self = .errorInternalError + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNotEnabled: return 2 + case .errorTooManyRequests: return 3 + case .errorInvalidFormat: return 4 + case .errorExceedsSizeLimit: return 5 + case .errorInternalError: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UploadCombatClientLogOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UploadCombatClientLogOutProto.Result] = [ + .unset, + .success, + .errorNotEnabled, + .errorTooManyRequests, + .errorInvalidFormat, + .errorExceedsSizeLimit, + .errorInternalError, + ] +} + +#endif // swift(>=4.2) + +public struct UploadCombatClientLogProto { + // 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. + + public var combatClientLog: CombatClientLog { + get {return _combatClientLog ?? CombatClientLog()} + set {_combatClientLog = newValue} + } + /// Returns true if `combatClientLog` has been explicitly set. + public var hasCombatClientLog: Bool {return self._combatClientLog != nil} + /// Clears the value of `combatClientLog`. Subsequent reads from it will return its default value. + public mutating func clearCombatClientLog() {self._combatClientLog = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _combatClientLog: CombatClientLog? = nil +} + +public struct UploadManagementSettings { + // 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. + + public var uploadManagementEnabled: Bool = false + + public var uploadManagementTextureSize: Int32 = 0 + + public var enableGcsUploader: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UploadManagementTelemetry { + // 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. + + public var uploadManagementTelemetryID: UploadManagementTelemetry.UploadManagementEventId = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum UploadManagementEventId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case uploadAllFromEntryPoint // = 1 + case uploadAllFromUploadMgmtMenu // = 2 + case cancelAllFromEntryPoint // = 3 + case cancelAllFromUploadMgmtMenu // = 4 + case cancelIndividualUpload // = 5 + case deleteIndividualUpload // = 6 + case uploadAllSuccess // = 7 + case uploadAllFailure // = 8 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .uploadAllFromEntryPoint + case 2: self = .uploadAllFromUploadMgmtMenu + case 3: self = .cancelAllFromEntryPoint + case 4: self = .cancelAllFromUploadMgmtMenu + case 5: self = .cancelIndividualUpload + case 6: self = .deleteIndividualUpload + case 7: self = .uploadAllSuccess + case 8: self = .uploadAllFailure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .uploadAllFromEntryPoint: return 1 + case .uploadAllFromUploadMgmtMenu: return 2 + case .cancelAllFromEntryPoint: return 3 + case .cancelAllFromUploadMgmtMenu: return 4 + case .cancelIndividualUpload: return 5 + case .deleteIndividualUpload: return 6 + case .uploadAllSuccess: return 7 + case .uploadAllFailure: return 8 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UploadManagementTelemetry.UploadManagementEventId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UploadManagementTelemetry.UploadManagementEventId] = [ + .unknown, + .uploadAllFromEntryPoint, + .uploadAllFromUploadMgmtMenu, + .cancelAllFromEntryPoint, + .cancelAllFromUploadMgmtMenu, + .cancelIndividualUpload, + .deleteIndividualUpload, + .uploadAllSuccess, + .uploadAllFailure, + ] +} + +#endif // swift(>=4.2) + +public struct UploadPoiPhotoByUrlOutProto { + // 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. + + public var status: PortalCurationImageResult.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UploadPoiPhotoByUrlProto { + // 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. + + public var requestID: String = String() + + public var imageURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UploadRaidClientLogOutProto { + // 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. + + public var result: UploadRaidClientLogOutProto.Result = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNotEnabled // = 2 + case errorTooManyRequests // = 3 + case errorInvalidFormat // = 4 + case errorExceedsSizeLimit // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNotEnabled + case 3: self = .errorTooManyRequests + case 4: self = .errorInvalidFormat + case 5: self = .errorExceedsSizeLimit + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNotEnabled: return 2 + case .errorTooManyRequests: return 3 + case .errorInvalidFormat: return 4 + case .errorExceedsSizeLimit: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UploadRaidClientLogOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UploadRaidClientLogOutProto.Result] = [ + .unset, + .success, + .errorNotEnabled, + .errorTooManyRequests, + .errorInvalidFormat, + .errorExceedsSizeLimit, + ] +} + +#endif // swift(>=4.2) + +public struct UploadRaidClientLogProto { + // 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. + + public var raidClientLog: RaidClientLog { + get {return _raidClientLog ?? RaidClientLog()} + set {_raidClientLog = newValue} + } + /// Returns true if `raidClientLog` has been explicitly set. + public var hasRaidClientLog: Bool {return self._raidClientLog != nil} + /// Clears the value of `raidClientLog`. Subsequent reads from it will return its default value. + public mutating func clearRaidClientLog() {self._raidClientLog = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _raidClientLog: RaidClientLog? = nil +} + +public struct UpsightLoggingSettingsProto { + // 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. + + public var useVerboseLogging: Bool = false + + public var loggingPercentage: Int32 = 0 + + public var disableLogging: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct Upstream { + // 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. + + public var message: Upstream.OneOf_Message? = nil + + public var subscribe: Upstream.SubscriptionRequest { + get { + if case .subscribe(let v)? = message {return v} + return Upstream.SubscriptionRequest() + } + set {message = .subscribe(newValue)} + } + + public var probe: Upstream.ProbeResponse { + get { + if case .probe(let v)? = message {return v} + return Upstream.ProbeResponse() + } + set {message = .probe(newValue)} + } + + public var requestID: Int64 = 0 + + public var token: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Message: Equatable { + case subscribe(Upstream.SubscriptionRequest) + case probe(Upstream.ProbeResponse) + + #if !swift(>=4.1) + public static func ==(lhs: Upstream.OneOf_Message, rhs: Upstream.OneOf_Message) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.subscribe, .subscribe): return { + guard case .subscribe(let l) = lhs, case .subscribe(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.probe, .probe): return { + guard case .probe(let l) = lhs, case .probe(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public struct ProbeResponse { + // 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. + + public var probeStartMs: Int64 = 0 + + public var gameContext: String = String() + + public var networkType: Upstream.ProbeResponse.NetworkType = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum NetworkType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case data // = 1 + case wifi // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .data + case 2: self = .wifi + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .data: return 1 + case .wifi: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public struct SubscriptionRequest { + // 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. + + public var topics: [TopicProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} +} + +#if swift(>=4.2) + +extension Upstream.ProbeResponse.NetworkType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [Upstream.ProbeResponse.NetworkType] = [ + .unset, + .data, + .wifi, + ] +} + +#endif // swift(>=4.2) + +public struct UseIncenseActionOutProto { + // 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. + + public var result: UseIncenseActionOutProto.Result = .unknown + + public var appliedIncense: AppliedItemProto { + get {return _appliedIncense ?? AppliedItemProto()} + set {_appliedIncense = newValue} + } + /// Returns true if `appliedIncense` has been explicitly set. + public var hasAppliedIncense: Bool {return self._appliedIncense != nil} + /// Clears the value of `appliedIncense`. Subsequent reads from it will return its default value. + public mutating func clearAppliedIncense() {self._appliedIncense = nil} + + public var awardedItems: LootProto { + get {return _awardedItems ?? LootProto()} + set {_awardedItems = newValue} + } + /// Returns true if `awardedItems` has been explicitly set. + public var hasAwardedItems: Bool {return self._awardedItems != nil} + /// Clears the value of `awardedItems`. Subsequent reads from it will return its default value. + public mutating func clearAwardedItems() {self._awardedItems = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case success // = 1 + case incenseAlreadyActive // = 2 + case noneInInventory // = 3 + case locationUnset // = 4 + case incenseDisabled // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .success + case 2: self = .incenseAlreadyActive + case 3: self = .noneInInventory + case 4: self = .locationUnset + case 5: self = .incenseDisabled + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .success: return 1 + case .incenseAlreadyActive: return 2 + case .noneInInventory: return 3 + case .locationUnset: return 4 + case .incenseDisabled: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _appliedIncense: AppliedItemProto? = nil + fileprivate var _awardedItems: LootProto? = nil +} + +#if swift(>=4.2) + +extension UseIncenseActionOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseIncenseActionOutProto.Result] = [ + .unknown, + .success, + .incenseAlreadyActive, + .noneInInventory, + .locationUnset, + .incenseDisabled, + ] +} + +#endif // swift(>=4.2) + +public struct UseIncenseActionProto { + // 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. + + public var incenseType: Item = .unknown + + public var usage: UseIncenseActionProto.Usage = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Usage: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case use // = 1 + case pause // = 2 + case resume // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .use + case 2: self = .pause + case 3: self = .resume + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .use: return 1 + case .pause: return 2 + case .resume: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UseIncenseActionProto.Usage: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseIncenseActionProto.Usage] = [ + .unknown, + .use, + .pause, + .resume, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemBulkHealOutProto { + // 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. + + public var status: UseItemBulkHealOutProto.Status = .unset + + public var healResults: [UseItemBulkHealOutProto.HealResult] = [] + + public var remainingItemCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorBadRequest // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorBadRequest + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorBadRequest: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public struct HealResult { + // 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. + + public var result: UseItemBulkHealOutProto.HealResult.Result = .unset + + public var pokemonID: UInt64 = 0 + + public var stamina: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNoPokemon // = 2 + case errorCannotUse // = 3 + case errorDeployedToFort // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNoPokemon + case 3: self = .errorCannotUse + case 4: self = .errorDeployedToFort + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNoPokemon: return 2 + case .errorCannotUse: return 3 + case .errorDeployedToFort: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + } + + public init() {} +} + +#if swift(>=4.2) + +extension UseItemBulkHealOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemBulkHealOutProto.Status] = [ + .unset, + .success, + .errorBadRequest, + ] +} + +extension UseItemBulkHealOutProto.HealResult.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemBulkHealOutProto.HealResult.Result] = [ + .unset, + .success, + .errorNoPokemon, + .errorCannotUse, + .errorDeployedToFort, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemBulkHealProto { + // 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. + + public var item: Item = .unknown + + public var pokemonID: [UInt64] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemCaptureOutProto { + // 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. + + public var success: Bool = false + + public var itemCaptureMult: Double = 0 + + public var itemFleeMult: Double = 0 + + public var stopMovement: Bool = false + + public var stopAttack: Bool = false + + public var targetMax: Bool = false + + public var targetSlow: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemCaptureProto { + // 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. + + public var item: Item = .unknown + + public var encounterID: UInt64 = 0 + + public var spawnPointGuid: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemEggIncubatorOutProto { + // 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. + + public var result: UseItemEggIncubatorOutProto.Result = .unset + + public var eggIncubator: EggIncubatorProto { + get {return _eggIncubator ?? EggIncubatorProto()} + set {_eggIncubator = newValue} + } + /// Returns true if `eggIncubator` has been explicitly set. + public var hasEggIncubator: Bool {return self._eggIncubator != nil} + /// Clears the value of `eggIncubator`. Subsequent reads from it will return its default value. + public mutating func clearEggIncubator() {self._eggIncubator = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorIncubatorNotFound // = 2 + case errorPokemonEggNotFound // = 3 + case errorPokemonIDNotEgg // = 4 + case errorIncubatorAlreadyInUse // = 5 + case errorPokemonAlreadyIncubating // = 6 + case errorIncubatorNoUsesRemaining // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorIncubatorNotFound + case 3: self = .errorPokemonEggNotFound + case 4: self = .errorPokemonIDNotEgg + case 5: self = .errorIncubatorAlreadyInUse + case 6: self = .errorPokemonAlreadyIncubating + case 7: self = .errorIncubatorNoUsesRemaining + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorIncubatorNotFound: return 2 + case .errorPokemonEggNotFound: return 3 + case .errorPokemonIDNotEgg: return 4 + case .errorIncubatorAlreadyInUse: return 5 + case .errorPokemonAlreadyIncubating: return 6 + case .errorIncubatorNoUsesRemaining: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _eggIncubator: EggIncubatorProto? = nil +} + +#if swift(>=4.2) + +extension UseItemEggIncubatorOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemEggIncubatorOutProto.Result] = [ + .unset, + .success, + .errorIncubatorNotFound, + .errorPokemonEggNotFound, + .errorPokemonIDNotEgg, + .errorIncubatorAlreadyInUse, + .errorPokemonAlreadyIncubating, + .errorIncubatorNoUsesRemaining, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemEggIncubatorProto { + // 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. + + public var itemID: String = String() + + public var pokemondID: Int64 = 0 + + public var eggsHomeWidgetActive: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemEncounterOutProto { + // 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. + + public var status: UseItemEncounterOutProto.Status = .success + + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case success // = 0 + case alreadyCompleted // = 1 + case activeItemExists // = 2 + case noItemInInventory // = 3 + case invalidItemCategory // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .success + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .success + case 1: self = .alreadyCompleted + case 2: self = .activeItemExists + case 3: self = .noItemInInventory + case 4: self = .invalidItemCategory + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .success: return 0 + case .alreadyCompleted: return 1 + case .activeItemExists: return 2 + case .noItemInInventory: return 3 + case .invalidItemCategory: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _captureProbability: CaptureProbabilityProto? = nil +} + +#if swift(>=4.2) + +extension UseItemEncounterOutProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemEncounterOutProto.Status] = [ + .success, + .alreadyCompleted, + .activeItemExists, + .noItemInInventory, + .invalidItemCategory, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemEncounterProto { + // 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. + + public var item: Item = .unknown + + public var encounterID: UInt64 = 0 + + public var spawnPointGuid: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemMoveRerollOutProto { + // 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. + + public var result: UseItemMoveRerollOutProto.Result = .unset + + public var updatedPokemon: PokemonProto { + get {return _updatedPokemon ?? PokemonProto()} + set {_updatedPokemon = newValue} + } + /// Returns true if `updatedPokemon` has been explicitly set. + public var hasUpdatedPokemon: Bool {return self._updatedPokemon != nil} + /// Clears the value of `updatedPokemon`. Subsequent reads from it will return its default value. + public mutating func clearUpdatedPokemon() {self._updatedPokemon = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case noPokemon // = 2 + case noOtherMoves // = 3 + case noPlayer // = 4 + case wrongItemType // = 5 + case itemNotInInventory // = 6 + case invalidPokemon // = 7 + case moveLocked // = 8 + case moveCannotBeRerolled // = 9 + case invalidEliteMove // = 10 + case notEnoughItems // = 11 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .noPokemon + case 3: self = .noOtherMoves + case 4: self = .noPlayer + case 5: self = .wrongItemType + case 6: self = .itemNotInInventory + case 7: self = .invalidPokemon + case 8: self = .moveLocked + case 9: self = .moveCannotBeRerolled + case 10: self = .invalidEliteMove + case 11: self = .notEnoughItems + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .noPokemon: return 2 + case .noOtherMoves: return 3 + case .noPlayer: return 4 + case .wrongItemType: return 5 + case .itemNotInInventory: return 6 + case .invalidPokemon: return 7 + case .moveLocked: return 8 + case .moveCannotBeRerolled: return 9 + case .invalidEliteMove: return 10 + case .notEnoughItems: return 11 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _updatedPokemon: PokemonProto? = nil +} + +#if swift(>=4.2) + +extension UseItemMoveRerollOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemMoveRerollOutProto.Result] = [ + .unset, + .success, + .noPokemon, + .noOtherMoves, + .noPlayer, + .wrongItemType, + .itemNotInInventory, + .invalidPokemon, + .moveLocked, + .moveCannotBeRerolled, + .invalidEliteMove, + .notEnoughItems, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemMoveRerollProto { + // 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. + + public var item: Item = .unknown + + public var pokemonID: UInt64 = 0 + + public var rerollUnlockedMove: Bool = false + + public var targetEliteMove: HoloPokemonMove = .moveUnset + + public var targetSpecialMove: HoloPokemonMove = .moveUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemPotionOutProto { + // 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. + + public var result: UseItemPotionOutProto.Result = .unset + + public var stamina: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNoPokemon // = 2 + case errorCannotUse // = 3 + case errorDeployedToFort // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNoPokemon + case 3: self = .errorCannotUse + case 4: self = .errorDeployedToFort + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNoPokemon: return 2 + case .errorCannotUse: return 3 + case .errorDeployedToFort: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UseItemPotionOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemPotionOutProto.Result] = [ + .unset, + .success, + .errorNoPokemon, + .errorCannotUse, + .errorDeployedToFort, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemPotionProto { + // 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. + + public var item: Item = .unknown + + public var pokemonID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemRareCandyOutProto { + // 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. + + public var result: UseItemRareCandyOutProto.Result = .unset + + public var pokemonID: HoloPokemonId = .missingno + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case invalidPokemonID // = 2 + case noPlayer // = 3 + case wrongItemType // = 4 + case itemNotInInventory // = 5 + case notEnoughItems // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .invalidPokemonID + case 3: self = .noPlayer + case 4: self = .wrongItemType + case 5: self = .itemNotInInventory + case 6: self = .notEnoughItems + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .invalidPokemonID: return 2 + case .noPlayer: return 3 + case .wrongItemType: return 4 + case .itemNotInInventory: return 5 + case .notEnoughItems: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UseItemRareCandyOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemRareCandyOutProto.Result] = [ + .unset, + .success, + .invalidPokemonID, + .noPlayer, + .wrongItemType, + .itemNotInInventory, + .notEnoughItems, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemRareCandyProto { + // 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. + + public var item: Item = .unknown + + public var pokemonID: HoloPokemonId = .missingno + + public var candyCount: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemReviveOutProto { + // 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. + + public var result: UseItemReviveOutProto.Result = .unset + + public var stamina: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorNoPokemon // = 2 + case errorCannotUse // = 3 + case errorDeployedToFort // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorNoPokemon + case 3: self = .errorCannotUse + case 4: self = .errorDeployedToFort + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorNoPokemon: return 2 + case .errorCannotUse: return 3 + case .errorDeployedToFort: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension UseItemReviveOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemReviveOutProto.Result] = [ + .unset, + .success, + .errorNoPokemon, + .errorCannotUse, + .errorDeployedToFort, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemReviveProto { + // 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. + + public var item: Item = .unknown + + public var pokemonID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemStardustBoostOutProto { + // 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. + + public var result: UseItemStardustBoostOutProto.Result = .unset + + public var appliedItems: AppliedItemsProto { + get {return _appliedItems ?? AppliedItemsProto()} + set {_appliedItems = newValue} + } + /// Returns true if `appliedItems` has been explicitly set. + public var hasAppliedItems: Bool {return self._appliedItems != nil} + /// Clears the value of `appliedItems`. Subsequent reads from it will return its default value. + public mutating func clearAppliedItems() {self._appliedItems = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidItemType // = 2 + case errorStardustBoostAlreadyActive // = 3 + case errorNoItemsRemaining // = 4 + case errorLocationUnset // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidItemType + case 3: self = .errorStardustBoostAlreadyActive + case 4: self = .errorNoItemsRemaining + case 5: self = .errorLocationUnset + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidItemType: return 2 + case .errorStardustBoostAlreadyActive: return 3 + case .errorNoItemsRemaining: return 4 + case .errorLocationUnset: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _appliedItems: AppliedItemsProto? = nil +} + +#if swift(>=4.2) + +extension UseItemStardustBoostOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemStardustBoostOutProto.Result] = [ + .unset, + .success, + .errorInvalidItemType, + .errorStardustBoostAlreadyActive, + .errorNoItemsRemaining, + .errorLocationUnset, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemStardustBoostProto { + // 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. + + public var item: Item = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseItemXpBoostOutProto { + // 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. + + public var result: UseItemXpBoostOutProto.Result = .unset + + public var appliedItems: AppliedItemsProto { + get {return _appliedItems ?? AppliedItemsProto()} + set {_appliedItems = newValue} + } + /// Returns true if `appliedItems` has been explicitly set. + public var hasAppliedItems: Bool {return self._appliedItems != nil} + /// Clears the value of `appliedItems`. Subsequent reads from it will return its default value. + public mutating func clearAppliedItems() {self._appliedItems = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case errorInvalidItemType // = 2 + case errorXpBoostAlreadyActive // = 3 + case errorNoItemsRemaining // = 4 + case errorLocationUnset // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .errorInvalidItemType + case 3: self = .errorXpBoostAlreadyActive + case 4: self = .errorNoItemsRemaining + case 5: self = .errorLocationUnset + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .errorInvalidItemType: return 2 + case .errorXpBoostAlreadyActive: return 3 + case .errorNoItemsRemaining: return 4 + case .errorLocationUnset: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _appliedItems: AppliedItemsProto? = nil +} + +#if swift(>=4.2) + +extension UseItemXpBoostOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseItemXpBoostOutProto.Result] = [ + .unset, + .success, + .errorInvalidItemType, + .errorXpBoostAlreadyActive, + .errorNoItemsRemaining, + .errorLocationUnset, + ] +} + +#endif // swift(>=4.2) + +public struct UseItemXpBoostProto { + // 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. + + public var item: Item = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseNonCombatMoveLogEntry { + // 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. + + public var pokedexID: HoloPokemonId = .missingno + + public var pokemonDisplay: PokemonDisplayProto { + get {return _pokemonDisplay ?? PokemonDisplayProto()} + set {_pokemonDisplay = newValue} + } + /// Returns true if `pokemonDisplay` has been explicitly set. + public var hasPokemonDisplay: Bool {return self._pokemonDisplay != nil} + /// Clears the value of `pokemonDisplay`. Subsequent reads from it will return its default value. + public mutating func clearPokemonDisplay() {self._pokemonDisplay = nil} + + public var moveID: HoloPokemonMove = .moveUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemonDisplay: PokemonDisplayProto? = nil +} + +public struct UseNonCombatMoveRequestProto { + // 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. + + public var pokemonID: Int64 = 0 + + public var moveType: NonCombatMoveType = .unset + + public var numberOfUses: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UseNonCombatMoveResponseProto { + // 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. + + public var status: UseNonCombatMoveResponseProto.Status = .unset + + public var appliedBonus: AppliedBonusProto { + get {return _appliedBonus ?? AppliedBonusProto()} + set {_appliedBonus = newValue} + } + /// Returns true if `appliedBonus` has been explicitly set. + public var hasAppliedBonus: Bool {return self._appliedBonus != nil} + /// Clears the value of `appliedBonus`. Subsequent reads from it will return its default value. + public mutating func clearAppliedBonus() {self._appliedBonus = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case errorNoPokemon // = 3 + case errorNoMove // = 4 + case errorInsufficientFunds // = 5 + case errorExceedsBonusLimit // = 6 + case errorNotEnabled // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .errorNoPokemon + case 4: self = .errorNoMove + case 5: self = .errorInsufficientFunds + case 6: self = .errorExceedsBonusLimit + case 7: self = .errorNotEnabled + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .errorNoPokemon: return 3 + case .errorNoMove: return 4 + case .errorInsufficientFunds: return 5 + case .errorExceedsBonusLimit: return 6 + case .errorNotEnabled: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _appliedBonus: AppliedBonusProto? = nil +} + +#if swift(>=4.2) + +extension UseNonCombatMoveResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [UseNonCombatMoveResponseProto.Status] = [ + .unset, + .success, + .error, + .errorNoPokemon, + .errorNoMove, + .errorInsufficientFunds, + .errorExceedsBonusLimit, + .errorNotEnabled, + ] +} + +#endif // swift(>=4.2) + +public struct UserAttributesProto { + // 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. + + public var level: Int32 { + get {return _storage._level} + set {_uniqueStorage()._level = newValue} + } + + public var xpPercentage: Int64 { + get {return _storage._xpPercentage} + set {_uniqueStorage()._xpPercentage = newValue} + } + + public var pokecoinCount: Int64 { + get {return _storage._pokecoinCount} + set {_uniqueStorage()._pokecoinCount = newValue} + } + + public var team: Team { + get {return _storage._team} + set {_uniqueStorage()._team = newValue} + } + + public var catchStreak: Int32 { + get {return _storage._catchStreak} + set {_uniqueStorage()._catchStreak = newValue} + } + + public var spinStreak: Int32 { + get {return _storage._spinStreak} + set {_uniqueStorage()._spinStreak = newValue} + } + + public var buddyName: String { + get {return _storage._buddyName} + set {_uniqueStorage()._buddyName = newValue} + } + + public var isEggIncubating: Bool { + get {return _storage._isEggIncubating} + set {_uniqueStorage()._isEggIncubating = newValue} + } + + public var hasEggs_p: Bool { + get {return _storage._hasEggs_p} + set {_uniqueStorage()._hasEggs_p = newValue} + } + + public var starPieceCount: Int32 { + get {return _storage._starPieceCount} + set {_uniqueStorage()._starPieceCount = newValue} + } + + public var luckyEggCount: Int32 { + get {return _storage._luckyEggCount} + set {_uniqueStorage()._luckyEggCount = newValue} + } + + public var incenseOrdinaryCount: Int32 { + get {return _storage._incenseOrdinaryCount} + set {_uniqueStorage()._incenseOrdinaryCount = newValue} + } + + public var incenseSpicyCount: Int32 { + get {return _storage._incenseSpicyCount} + set {_uniqueStorage()._incenseSpicyCount = newValue} + } + + public var incenseCoolCount: Int32 { + get {return _storage._incenseCoolCount} + set {_uniqueStorage()._incenseCoolCount = newValue} + } + + public var incenseFloralCount: Int32 { + get {return _storage._incenseFloralCount} + set {_uniqueStorage()._incenseFloralCount = newValue} + } + + public var lureOrdinaryCount: Int32 { + get {return _storage._lureOrdinaryCount} + set {_uniqueStorage()._lureOrdinaryCount = newValue} + } + + public var lureMossyCount: Int32 { + get {return _storage._lureMossyCount} + set {_uniqueStorage()._lureMossyCount = newValue} + } + + public var lureGlacialCount: Int32 { + get {return _storage._lureGlacialCount} + set {_uniqueStorage()._lureGlacialCount = newValue} + } + + public var lureMagneticCount: Int32 { + get {return _storage._lureMagneticCount} + set {_uniqueStorage()._lureMagneticCount = newValue} + } + + public var usingStarPiece: Bool { + get {return _storage._usingStarPiece} + set {_uniqueStorage()._usingStarPiece = newValue} + } + + public var usingLuckyEgg: Bool { + get {return _storage._usingLuckyEgg} + set {_uniqueStorage()._usingLuckyEgg = newValue} + } + + public var usingIncenseOrdinary: Bool { + get {return _storage._usingIncenseOrdinary} + set {_uniqueStorage()._usingIncenseOrdinary = newValue} + } + + public var usingIncenseSpicy: Bool { + get {return _storage._usingIncenseSpicy} + set {_uniqueStorage()._usingIncenseSpicy = newValue} + } + + public var usingIncenseCool: Bool { + get {return _storage._usingIncenseCool} + set {_uniqueStorage()._usingIncenseCool = newValue} + } + + public var usingIncenseFloral: Bool { + get {return _storage._usingIncenseFloral} + set {_uniqueStorage()._usingIncenseFloral = newValue} + } + + public var usingLureOrdinary: Bool { + get {return _storage._usingLureOrdinary} + set {_uniqueStorage()._usingLureOrdinary = newValue} + } + + public var usingLureMossy: Bool { + get {return _storage._usingLureMossy} + set {_uniqueStorage()._usingLureMossy = newValue} + } + + public var usingLureGlacial: Bool { + get {return _storage._usingLureGlacial} + set {_uniqueStorage()._usingLureGlacial = newValue} + } + + public var usingLureMagnetic: Bool { + get {return _storage._usingLureMagnetic} + set {_uniqueStorage()._usingLureMagnetic = newValue} + } + + public var adventureSyncOptIn: Bool { + get {return _storage._adventureSyncOptIn} + set {_uniqueStorage()._adventureSyncOptIn = newValue} + } + + public var geoFenceOptIn: Bool { + get {return _storage._geoFenceOptIn} + set {_uniqueStorage()._geoFenceOptIn = newValue} + } + + public var kantoDexCount: Int32 { + get {return _storage._kantoDexCount} + set {_uniqueStorage()._kantoDexCount = newValue} + } + + public var johtoDexCount: Int32 { + get {return _storage._johtoDexCount} + set {_uniqueStorage()._johtoDexCount = newValue} + } + + public var hoennDexCount: Int32 { + get {return _storage._hoennDexCount} + set {_uniqueStorage()._hoennDexCount = newValue} + } + + public var sinnohDexCount: Int32 { + get {return _storage._sinnohDexCount} + set {_uniqueStorage()._sinnohDexCount = newValue} + } + + public var friendCount: Int32 { + get {return _storage._friendCount} + set {_uniqueStorage()._friendCount = newValue} + } + + public var fieldResearchStampProgress: Int32 { + get {return _storage._fieldResearchStampProgress} + set {_uniqueStorage()._fieldResearchStampProgress = newValue} + } + + public var levelUp: Int32 { + get {return _storage._levelUp} + set {_uniqueStorage()._levelUp = newValue} + } + + public var sentFriendRequest: Bool { + get {return _storage._sentFriendRequest} + set {_uniqueStorage()._sentFriendRequest = newValue} + } + + public var isEggIncubatingV2: String { + get {return _storage._isEggIncubatingV2} + set {_uniqueStorage()._isEggIncubatingV2 = newValue} + } + + public var hasEggsV2_p: String { + get {return _storage._hasEggsV2_p} + set {_uniqueStorage()._hasEggsV2_p = newValue} + } + + public var usingStarPieceV2: String { + get {return _storage._usingStarPieceV2} + set {_uniqueStorage()._usingStarPieceV2 = newValue} + } + + public var usingLuckyEggV2: String { + get {return _storage._usingLuckyEggV2} + set {_uniqueStorage()._usingLuckyEggV2 = newValue} + } + + public var usingIncenseOrdinaryV2: String { + get {return _storage._usingIncenseOrdinaryV2} + set {_uniqueStorage()._usingIncenseOrdinaryV2 = newValue} + } + + public var usingIncenseSpicyV2: String { + get {return _storage._usingIncenseSpicyV2} + set {_uniqueStorage()._usingIncenseSpicyV2 = newValue} + } + + public var usingIncenseCoolV2: String { + get {return _storage._usingIncenseCoolV2} + set {_uniqueStorage()._usingIncenseCoolV2 = newValue} + } + + public var usingIncenseFloralV2: String { + get {return _storage._usingIncenseFloralV2} + set {_uniqueStorage()._usingIncenseFloralV2 = newValue} + } + + public var usingLureOrdinaryV2: String { + get {return _storage._usingLureOrdinaryV2} + set {_uniqueStorage()._usingLureOrdinaryV2 = newValue} + } + + public var usingLureMossyV2: String { + get {return _storage._usingLureMossyV2} + set {_uniqueStorage()._usingLureMossyV2 = newValue} + } + + public var usingLureGlacialV2: String { + get {return _storage._usingLureGlacialV2} + set {_uniqueStorage()._usingLureGlacialV2 = newValue} + } + + public var usingLureMagneticV2: String { + get {return _storage._usingLureMagneticV2} + set {_uniqueStorage()._usingLureMagneticV2 = newValue} + } + + public var adventureSyncOptInV2: String { + get {return _storage._adventureSyncOptInV2} + set {_uniqueStorage()._adventureSyncOptInV2 = newValue} + } + + public var geoFenceOptInV2: String { + get {return _storage._geoFenceOptInV2} + set {_uniqueStorage()._geoFenceOptInV2 = newValue} + } + + public var unovaDexCount: Int32 { + get {return _storage._unovaDexCount} + set {_uniqueStorage()._unovaDexCount = newValue} + } + + public var balloonBattlesCompleted: Int32 { + get {return _storage._balloonBattlesCompleted} + set {_uniqueStorage()._balloonBattlesCompleted = newValue} + } + + public var balloonBattlesWon: Int32 { + get {return _storage._balloonBattlesWon} + set {_uniqueStorage()._balloonBattlesWon = newValue} + } + + public var kalosDexCount: Int32 { + get {return _storage._kalosDexCount} + set {_uniqueStorage()._kalosDexCount = newValue} + } + + public var alolaDexCount: Int32 { + get {return _storage._alolaDexCount} + set {_uniqueStorage()._alolaDexCount = newValue} + } + + public var galarDexCount: Int32 { + get {return _storage._galarDexCount} + set {_uniqueStorage()._galarDexCount = newValue} + } + + public var lureSparklyCount: Int32 { + get {return _storage._lureSparklyCount} + set {_uniqueStorage()._lureSparklyCount = newValue} + } + + public var usingLureSparkly: String { + get {return _storage._usingLureSparkly} + set {_uniqueStorage()._usingLureSparkly = newValue} + } + + public var paldeaDexCount: Int32 { + get {return _storage._paldeaDexCount} + set {_uniqueStorage()._paldeaDexCount = newValue} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance +} + +public struct UserIssueWeatherReport { + // 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. + + public var gameplayerWeather: String = String() + + public var alertActive: Bool = false + + public var severity: WeatherAlertProto.Severity = .none + + public var userReport: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UsernameSuggestionSettingsProto { + // 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. + + public var featureEnabled: Bool = false + + public var numSuggestionsDisplayed: Int32 = 0 + + public var numSuggestionsGenerated: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct UsernameSuggestionTelemetry { + // 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. + + public var usernameSuggestionTelemetryID: UsernameSuggestionTelemetryId = .undefinedUsernameSuggestionEvent + + public var nameEntryMode: EnterUsernameMode = .undefinedUsernameEntryMode + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct V1TelemetryAttribute { + // 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. + + public var field: V1TelemetryField { + get {return _field ?? V1TelemetryField()} + set {_field = newValue} + } + /// Returns true if `field` has been explicitly set. + public var hasField: Bool {return self._field != nil} + /// Clears the value of `field`. Subsequent reads from it will return its default value. + public mutating func clearField() {self._field = nil} + + public var value: V1TelemetryValue { + get {return _value ?? V1TelemetryValue()} + set {_value = newValue} + } + /// Returns true if `value` has been explicitly set. + public var hasValue: Bool {return self._value != nil} + /// Clears the value of `value`. Subsequent reads from it will return its default value. + public mutating func clearValue() {self._value = nil} + + public var timestamp: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Label { + // 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. + + public var field: V1TelemetryField { + get {return _field ?? V1TelemetryField()} + set {_field = newValue} + } + /// Returns true if `field` has been explicitly set. + public var hasField: Bool {return self._field != nil} + /// Clears the value of `field`. Subsequent reads from it will return its default value. + public mutating func clearField() {self._field = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _field: V1TelemetryField? = nil + } + + public init() {} + + fileprivate var _field: V1TelemetryField? = nil + fileprivate var _value: V1TelemetryValue? = nil +} + +public struct V1TelemetryAttributeRecordProto { + // 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. + + public var common: V1TelemetryMetadataProto { + get {return _common ?? V1TelemetryMetadataProto()} + set {_common = newValue} + } + /// Returns true if `common` has been explicitly set. + public var hasCommon: Bool {return self._common != nil} + /// Clears the value of `common`. Subsequent reads from it will return its default value. + public mutating func clearCommon() {self._common = nil} + + public var attribute: V1TelemetryAttribute { + get {return _attribute ?? V1TelemetryAttribute()} + set {_attribute = newValue} + } + /// Returns true if `attribute` has been explicitly set. + public var hasAttribute: Bool {return self._attribute != nil} + /// Clears the value of `attribute`. Subsequent reads from it will return its default value. + public mutating func clearAttribute() {self._attribute = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _common: V1TelemetryMetadataProto? = nil + fileprivate var _attribute: V1TelemetryAttribute? = nil +} + +public struct V1TelemetryBatchProto { + // 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. + + public var environmentID: String = String() + + public var events: [V1TelemetryEventRecordProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct V1TelemetryEventRecordProto { + // 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. + + public var common: V1TelemetryMetadataProto { + get {return _common ?? V1TelemetryMetadataProto()} + set {_common = newValue} + } + /// Returns true if `common` has been explicitly set. + public var hasCommon: Bool {return self._common != nil} + /// Clears the value of `common`. Subsequent reads from it will return its default value. + public mutating func clearCommon() {self._common = nil} + + public var eventName: String = String() + + public var encodedMessage: Data = Data() + + public var facetDetailName: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _common: V1TelemetryMetadataProto? = nil +} + +public struct V1TelemetryField { + // 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. + + public var entityName: String = String() + + public var fieldPath: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct V1TelemetryKey { + // 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. + + public var keyName: String = String() + + public var value: V1TelemetryValue { + get {return _value ?? V1TelemetryValue()} + set {_value = newValue} + } + /// Returns true if `value` has been explicitly set. + public var hasValue: Bool {return self._value != nil} + /// Clears the value of `value`. Subsequent reads from it will return its default value. + public mutating func clearValue() {self._value = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _value: V1TelemetryValue? = nil +} + +public struct V1TelemetryMetadataProto { + // 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. + + public var userID: String = String() + + public var sessionID: Int64 = 0 + + public var recordID: String = String() + + public var telemetryScopeID: V1TelemetryMetadataProto.TelemetryScopeId = .unset + + public var isQueryable: Bool = false + + public var keyvalueColumn: String = String() + + public var processingAttemptsCount: UInt32 = 0 + + public var pubSubMessageID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum TelemetryScopeId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case platformServer // = 1 + case platformClient // = 2 + case gameServer // = 3 + case gameClient // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .platformServer + case 2: self = .platformClient + case 3: self = .gameServer + case 4: self = .gameClient + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .platformServer: return 1 + case .platformClient: return 2 + case .gameServer: return 3 + case .gameClient: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension V1TelemetryMetadataProto.TelemetryScopeId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [V1TelemetryMetadataProto.TelemetryScopeId] = [ + .unset, + .platformServer, + .platformClient, + .gameServer, + .gameClient, + ] +} + +#endif // swift(>=4.2) + +public struct V1TelemetryMetricRecordProto { + // 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. + + public var value: V1TelemetryMetricRecordProto.OneOf_Value? = nil + + public var long: Int64 { + get { + if case .long(let v)? = value {return v} + return 0 + } + set {value = .long(newValue)} + } + + public var double: Double { + get { + if case .double(let v)? = value {return v} + return 0 + } + set {value = .double(newValue)} + } + + public var boolean: Bool { + get { + if case .boolean(let v)? = value {return v} + return false + } + set {value = .boolean(newValue)} + } + + public var common: V1TelemetryMetadataProto { + get {return _common ?? V1TelemetryMetadataProto()} + set {_common = newValue} + } + /// Returns true if `common` has been explicitly set. + public var hasCommon: Bool {return self._common != nil} + /// Clears the value of `common`. Subsequent reads from it will return its default value. + public mutating func clearCommon() {self._common = nil} + + public var metricID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Value: Equatable { + case long(Int64) + case double(Double) + case boolean(Bool) + + #if !swift(>=4.1) + public static func ==(lhs: V1TelemetryMetricRecordProto.OneOf_Value, rhs: V1TelemetryMetricRecordProto.OneOf_Value) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.long, .long): return { + guard case .long(let l) = lhs, case .long(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.double, .double): return { + guard case .double(let l) = lhs, case .double(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.boolean, .boolean): return { + guard case .boolean(let l) = lhs, case .boolean(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public enum Kind: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unspecified // = 0 + case gauge // = 1 + case delta // = 2 + case cumulative // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unspecified + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unspecified + case 1: self = .gauge + case 2: self = .delta + case 3: self = .cumulative + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unspecified: return 0 + case .gauge: return 1 + case .delta: return 2 + case .cumulative: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _common: V1TelemetryMetadataProto? = nil +} + +#if swift(>=4.2) + +extension V1TelemetryMetricRecordProto.Kind: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [V1TelemetryMetricRecordProto.Kind] = [ + .unspecified, + .gauge, + .delta, + .cumulative, + ] +} + +#endif // swift(>=4.2) + +public struct V1TelemetryValue { + // 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. + + public var value: V1TelemetryValue.OneOf_Value? = nil + + public var intValue: Int64 { + get { + if case .intValue(let v)? = value {return v} + return 0 + } + set {value = .intValue(newValue)} + } + + public var doubleValue: Double { + get { + if case .doubleValue(let v)? = value {return v} + return 0 + } + set {value = .doubleValue(newValue)} + } -// MARK: - Code below here is support for the SwiftProtobuf runtime. + public var stringValue: String { + get { + if case .stringValue(let v)? = value {return v} + return String() + } + set {value = .stringValue(newValue)} + } -fileprivate let _protobuf_package = "POGOProtos.Rpc" + public var boolValue: Bool { + get { + if case .boolValue(let v)? = value {return v} + return false + } + set {value = .boolValue(newValue)} + } -extension ASPermissionStatusTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_UNKNOWN"), - 1: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_REQUESTED"), - 2: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_GRANTED_IN_USE"), - 3: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_GRANTED_ALWAYS"), - 4: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_DENIED"), - ] + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Value: Equatable { + case intValue(Int64) + case doubleValue(Double) + case stringValue(String) + case boolValue(Bool) + + #if !swift(>=4.1) + public static func ==(lhs: V1TelemetryValue.OneOf_Value, rhs: V1TelemetryValue.OneOf_Value) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.intValue, .intValue): return { + guard case .intValue(let l) = lhs, case .intValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.doubleValue, .doubleValue): return { + guard case .doubleValue(let l) = lhs, case .doubleValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.stringValue, .stringValue): return { + guard case .stringValue(let l) = lhs, case .stringValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.boolValue, .boolValue): return { + guard case .boolValue(let l) = lhs, case .boolValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} } -extension ASPermissionTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_UNSET_PERMISSION"), - 1: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_LOCATION"), - 2: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_BACKGROUND_LOCATION"), - 3: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_ACTIVITY"), - 4: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_PRECISE_LOCATION"), - 5: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_FITNESS_PERMISSION"), - ] +public struct ValidateNiaAppleAuthTokenRequestProto { + // 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. + + public var niaAppleAuthToken: Data = Data() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension ASServiceTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AS_SERVICE_TELEMETRY_IDS_UNSET_SERVICE"), - 1: .same(proto: "AS_SERVICE_TELEMETRY_IDS_FITNESS"), - 2: .same(proto: "AS_SERVICE_TELEMETRY_IDS_AWARENESS"), - 3: .same(proto: "AS_SERVICE_TELEMETRY_IDS_BREADCRUMB"), - ] +public struct ValidateNiaAppleAuthTokenResponseProto { + // 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. + + public var status: ValidateNiaAppleAuthTokenResponseProto.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case invalidAuth // = 2 + case expiredAuth // = 3 + case serverError // = 4 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .invalidAuth + case 3: self = .expiredAuth + case 4: self = .serverError + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .invalidAuth: return 2 + case .expiredAuth: return 3 + case .serverError: return 4 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} } -extension AdResponseStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "WASABI_AD_FOUND"), - 1: .same(proto: "NO_CAMPAIGNS_FOUND"), - 2: .same(proto: "USER_NOT_ELIGIBLE"), - 3: .same(proto: "LOW_VALUE_WASABI_AD_FOUND"), +#if swift(>=4.2) + +extension ValidateNiaAppleAuthTokenResponseProto.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [ValidateNiaAppleAuthTokenResponseProto.Status] = [ + .unset, + .success, + .invalidAuth, + .expiredAuth, + .serverError, ] } -extension AdType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AD_TYPE_UNKNOWN"), - 1: .same(proto: "AD_TYPE_SPONSORED_GIFT"), - 2: .same(proto: "AD_TYPE_SPONSORED_BALLOON"), - 3: .same(proto: "AD_TYPE_SPONSORED_BALLOON_WASABI"), - 4: .same(proto: "AD_TYPE_SPONSORED_BALLOON_GOOGLE_MANAGED_AD"), - 5: .same(proto: "AD_TYPE_SPONSORED_BALLOON_AR_AD"), - 6: .same(proto: "AD_TYPE_SPONSORED_BALLOON_VIDEO"), - ] +#endif // swift(>=4.2) + +public struct Value { + // 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. + + public var kind: Value.OneOf_Kind? = nil + + public var nullValue: NullValue { + get { + if case .nullValue(let v)? = kind {return v} + return .nullValue + } + set {kind = .nullValue(newValue)} + } + + public var numberValue: Double { + get { + if case .numberValue(let v)? = kind {return v} + return 0 + } + set {kind = .numberValue(newValue)} + } + + public var stringValue: String { + get { + if case .stringValue(let v)? = kind {return v} + return String() + } + set {kind = .stringValue(newValue)} + } + + public var boolValue: Bool { + get { + if case .boolValue(let v)? = kind {return v} + return false + } + set {kind = .boolValue(newValue)} + } + + public var structValue: Struct { + get { + if case .structValue(let v)? = kind {return v} + return Struct() + } + set {kind = .structValue(newValue)} + } + + public var listValue: ListValue { + get { + if case .listValue(let v)? = kind {return v} + return ListValue() + } + set {kind = .listValue(newValue)} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Kind: Equatable { + case nullValue(NullValue) + case numberValue(Double) + case stringValue(String) + case boolValue(Bool) + case structValue(Struct) + case listValue(ListValue) + + #if !swift(>=4.1) + public static func ==(lhs: Value.OneOf_Kind, rhs: Value.OneOf_Kind) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.nullValue, .nullValue): return { + guard case .nullValue(let l) = lhs, case .nullValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.numberValue, .numberValue): return { + guard case .numberValue(let l) = lhs, case .numberValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.stringValue, .stringValue): return { + guard case .stringValue(let l) = lhs, case .stringValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.boolValue, .boolValue): return { + guard case .boolValue(let l) = lhs, case .boolValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.structValue, .structValue): return { + guard case .structValue(let l) = lhs, case .structValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.listValue, .listValue): return { + guard case .listValue(let l) = lhs, case .listValue(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} } -extension AssetTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ASSET_TELEMETRY_IDS_UNDEFINED_ASSET_EVENT"), - 1: .same(proto: "ASSET_TELEMETRY_IDS_DOWNLOAD_START"), - 2: .same(proto: "ASSET_TELEMETRY_IDS_DOWNLOAD_FINISHED"), - 3: .same(proto: "ASSET_TELEMETRY_IDS_DOWNLOAD_FAILED"), - 4: .same(proto: "ASSET_TELEMETRY_IDS_ASSET_RETRIEVED_FROM_CACHE"), - 5: .same(proto: "ASSET_TELEMETRY_IDS_CACHE_THRASH"), - ] +public struct VasaClientAction { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum ActionEnum: SwiftProtobuf.Enum { + public typealias RawValue = Int + case invalidVasaClientAction // = 0 + case collectAdid // = 8000 + case UNRECOGNIZED(Int) + + public init() { + self = .invalidVasaClientAction + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .invalidVasaClientAction + case 8000: self = .collectAdid + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .invalidVasaClientAction: return 0 + case .collectAdid: return 8000 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} } -extension AttractedPokemonContext: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ATTRACTED_POKEMON_UNSET"), - 1: .same(proto: "ATTRACTED_POKEMON_ROUTE"), +#if swift(>=4.2) + +extension VasaClientAction.ActionEnum: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [VasaClientAction.ActionEnum] = [ + .invalidVasaClientAction, + .collectAdid, ] } -extension AvatarCustomizationTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_UNDEFINED_AVATAR_CUSTOMIZATION"), - 1: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_EQUIP_ITEM"), - 2: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_OPEN_FEATURES"), - 3: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_OPEN_STORE"), - 4: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_PURCHASE_ITEM"), - 5: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_PURCHASE_ERROR"), - 6: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_SELECT_ITEM_GROUP"), - 7: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_SELECT_SLOT"), - 8: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_SELECT_COLOR"), - 9: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_SHOW_QUICK_SHOP"), - ] +#endif // swift(>=4.2) + +public struct VerboseLogCombatProto { + // 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. + + public var enabled: Bool = false + + public var enableCoreCombat: Bool = false + + public var enableCombatChallengeSetup: Bool = false + + public var enableCombatVsSeekerSetup: Bool = false + + public var enableWebSocket: Bool = false + + public var enableOnApplicationFocus: Bool = false + + public var enableOnApplicationPause: Bool = false + + public var enableOnApplicationQuit: Bool = false + + public var enableExceptionCaught: Bool = false + + public var progressTokenPriority: Int32 = 0 + + public var enableRpcErrorData: Bool = false + + public var clientLogDecayTimeInHours: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension AvatarGender: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AVATAR_GENDER_UNKNOWN"), - 1: .same(proto: "AVATAR_GENDER_MALE"), - 2: .same(proto: "AVATAR_GENDER_FEMALE"), - ] +public struct VerboseLogRaidProto { + // 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. + + public var enabled: Bool = false + + public var enableJoinLobby: Bool = false + + public var enableLeaveLobby: Bool = false + + public var enableLobbyVisibility: Bool = false + + public var enableGetRaidDetails: Bool = false + + public var enableStartRaidBattle: Bool = false + + public var enableAttackRaid: Bool = false + + public var enableSendRaidInvitation: Bool = false + + public var enableOnApplicationFocus: Bool = false + + public var enableOnApplicationPause: Bool = false + + public var enableOnApplicationQuit: Bool = false + + public var enableExceptionCaught: Bool = false + + public var enableProgressToken: Bool = false + + public var enableRpcErrorData: Bool = false + + public var enableClientPredictionInconsistencyData: Bool = false + + public var clientLogDecayTimeInHours: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension BattleExperiment: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BASELINE_BATTLE_EXPERIMENT"), - 1: .same(proto: "ATTACKER_ITEMS"), - 2: .same(proto: "DEFENDER_FORM_CHANGES"), - 3: .same(proto: "PARTY_POWER"), - ] +public struct VerifyChallengeOutProto { + // 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. + + public var success: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension BattleHubSection: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SECTION_UNSET"), - 1: .same(proto: "SECTION_VS_SEEKER"), - 2: .same(proto: "SECTION_CURR_SEASON"), - 3: .same(proto: "SECTION_LAST_SEASON"), - 4: .same(proto: "SECTION_NEARBY"), - 5: .same(proto: "SECTION_TEAM_LEADERS"), - 6: .same(proto: "SECTION_QR_CODE"), - ] +public struct VerifyChallengeProto { + // 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. + + public var token: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension BattleHubSubsection: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SUBSECTION_UNSET"), - 1: .same(proto: "SUBSECTION_VS_CHARGING"), - 2: .same(proto: "SUBSECTION_VS_FREE"), - 3: .same(proto: "SUBSECTION_VS_PREMIUM"), - 4: .same(proto: "SUBSECTION_NEARBY_TEAM_LEADERS"), - 5: .same(proto: "SUBSECTION_NEARBY_QR_CODE"), - ] +public struct ViewPointOfInterestImageTelemetry { + // 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. + + public var result: String = String() + + public var fortID: String = String() + + public var fortType: Int32 = 0 + + public var inRange: Bool = false + + public var wasGymInterior: Bool = false + + public var partnerID: String = String() + + public var campaignID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension BattlePartyTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_UNDEFINED_BATTLE_PARTY_EVENT"), - 1: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_ADD"), - 2: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_REMOVE"), - 3: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_GYM_BATTLE"), - 4: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_RAID_BATTLE"), - 5: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_BATTLE_POKEMON_CHANGED"), - ] +public struct VistaGeneralSettingsProto { + // 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. + + public var isFeatureEnabled: Bool = false + + public var isVistaBattleEnabled: Bool = false + + public var isVistaEncountersEnabled: Bool = false + + public var isVistaMapEnabled: Bool = false + + public var isVistaSpawnsEnabled: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension BuddyActivity: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BUDDY_ACTIVITY_UNSET"), - 1: .same(proto: "BUDDY_ACTIVITY_FEED"), - 2: .same(proto: "BUDDY_ACTIVITY_PET"), - 3: .same(proto: "BUDDY_ACTIVITY_SNAPSHOT"), - 4: .same(proto: "BUDDY_ACTIVITY_WALK"), - 5: .same(proto: "BUDDY_ACTIVITY_NEW_POIS"), - 6: .same(proto: "BUDDY_ACTIVITY_GYM_BATTLE"), - 7: .same(proto: "BUDDY_ACTIVITY_RAID_BATTLE"), - 8: .same(proto: "BUDDY_ACTIVITY_NPC_BATTLE"), - 9: .same(proto: "BUDDY_ACTIVITY_PVP_BATTLE"), - 10: .same(proto: "BUDDY_ACTIVITY_OPEN_SOUVENIRS"), - 11: .same(proto: "BUDDY_ACTIVITY_OPEN_CONSUMABLES"), - 12: .same(proto: "BUDDY_ACTIVITY_INVASION_GRUNT"), - 13: .same(proto: "BUDDY_ACTIVITY_INVASION_LEADER"), - 14: .same(proto: "BUDDY_ACTIVITY_INVASION_GIOVANNI"), - 15: .same(proto: "BUDDY_ACTIVITY_ATTRACTIVE_POI"), - 16: .same(proto: "BUDDY_ACTIVITY_VISIT_POWERED_UP_FORT"), - 17: .same(proto: "BUDDY_ACTIVITY_WAINA_SLEEP"), - 18: .same(proto: "BUDDY_ACTIVITY_ROUTE"), - ] +public struct VpsAnchor { + // 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. + + public var id: String = String() + + public var payload: Data = Data() + + public var payloadString: String = String() + + public var hintImageURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension BuddyActivityCategory: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BUDDY_CATEGORY_UNSET"), - 1: .same(proto: "BUDDY_CATEGORY_FEED"), - 2: .same(proto: "BUDDY_CATEGORY_CARE"), - 3: .same(proto: "BUDDY_CATEGORY_SNAPSHOT"), - 4: .same(proto: "BUDDY_CATEGORY_WALK"), - 5: .same(proto: "BUDDY_CATEGORY_BATTLE"), - 6: .same(proto: "BUDDY_CATEGORY_EXPLORE"), - 7: .same(proto: "BUDDY_CATEGORY_BONUS"), - 8: .same(proto: "BUDDY_CATEGORY_ROUTE"), - ] +public struct VpsEventMapDisplayProto { + // 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. + + public var eventType: VpsEventType = .vpsEventUnset + + public var eventID: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension BuddyAnimation: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BUDDY_ANIMATION_UNSET"), - 1: .same(proto: "BUDDY_ANIMATION_HAPPY"), - 2: .same(proto: "BUDDY_ANIMATION_HATE"), - ] +public struct VpsEventSettingsProto { + // 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. + + public var fortVpsEvents: [VpsEventSettingsProto.FortVpsEvent] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct FortVpsEvent { + // 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. + + public var fortID: String = String() + + public var startTimeMs: Int64 = 0 + + public var endTimeMs: Int64 = 0 + + public var vpsEvent: VpsEventMapDisplayProto { + get {return _vpsEvent ?? VpsEventMapDisplayProto()} + set {_vpsEvent = newValue} + } + /// Returns true if `vpsEvent` has been explicitly set. + public var hasVpsEvent: Bool {return self._vpsEvent != nil} + /// Clears the value of `vpsEvent`. Subsequent reads from it will return its default value. + public mutating func clearVpsEvent() {self._vpsEvent = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _vpsEvent: VpsEventMapDisplayProto? = nil + } + + public init() {} } -extension BuddyEmotionLevel: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BUDDY_EMOTION_LEVEL_UNSET"), - 1: .same(proto: "BUDDY_EMOTION_LEVEL_0"), - 2: .same(proto: "BUDDY_EMOTION_LEVEL_1"), - 3: .same(proto: "BUDDY_EMOTION_LEVEL_2"), - 4: .same(proto: "BUDDY_EMOTION_LEVEL_3"), - 5: .same(proto: "BUDDY_EMOTION_LEVEL_4"), - 6: .same(proto: "BUDDY_EMOTION_LEVEL_5"), - 7: .same(proto: "BUDDY_EMOTION_LEVEL_6"), - ] +public struct VpsEventWrapperProto { + // 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. + + public var eventType: VpsEventType = .vpsEventUnset + + public var eventID: Int32 = 0 + + public var eventDuration: VpsEventWrapperProto.EventDurationProto { + get {return _eventDuration ?? VpsEventWrapperProto.EventDurationProto()} + set {_eventDuration = newValue} + } + /// Returns true if `eventDuration` has been explicitly set. + public var hasEventDuration: Bool {return self._eventDuration != nil} + /// Clears the value of `eventDuration`. Subsequent reads from it will return its default value. + public mutating func clearEventDuration() {self._eventDuration = nil} + + public var anchors: [VpsAnchor] = [] + + public var placedPokemon: [IrisPokemonObjectProto] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct EventDurationProto { + // 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. + + public var permanent: Bool = false + + public var startMs: Int64 = 0 + + public var endMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _eventDuration: VpsEventWrapperProto.EventDurationProto? = nil } -extension BuddyLevel: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BUDDY_LEVEL_UNSET"), - 1: .same(proto: "BUDDY_LEVEL_0"), - 2: .same(proto: "BUDDY_LEVEL_1"), - 3: .same(proto: "BUDDY_LEVEL_2"), - 4: .same(proto: "BUDDY_LEVEL_3"), - 5: .same(proto: "BUDDY_LEVEL_4"), - 6: .same(proto: "BUDDY_LEVEL_5"), - ] +public struct VpsLocalizationStartedEvent { + // 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. + + public var localizationTargetIds: [String] = [] + + public var vpsSessionID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension CameraInterpolation: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CAM_INTERP_CUT"), - 1: .same(proto: "CAM_INTERP_LINEAR"), - 2: .same(proto: "CAM_INTERP_SMOOTH"), - 3: .same(proto: "CAM_INTERP_SMOOTH_ROT_LINEAR_MOVE"), - 4: .same(proto: "CAM_INTERP_DEPENDS"), - ] +public struct VpsLocalizationSuccessEvent { + // 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. + + public var localizationTargetID: String = String() + + public var vpsSessionID: String = String() + + public var timeToLocalizeMs: Int64 = 0 + + public var numServerRequests: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension CameraTarget: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CAM_TARGET_ATTACKER"), - 1: .same(proto: "CAM_TARGET_ATTACKER_EDGE"), - 2: .same(proto: "CAM_TARGET_ATTACKER_GROUND"), - 3: .same(proto: "CAM_TARGET_DEFENDER"), - 4: .same(proto: "CAM_TARGET_DEFENDER_EDGE"), - 5: .same(proto: "CAM_TARGET_DEFENDER_GROUND"), - 6: .same(proto: "CAM_TARGET_ATTACKER_DEFENDER"), - 7: .same(proto: "CAM_TARGET_ATTACKER_DEFENDER_EDGE"), - 8: .same(proto: "CAM_TARGET_DEFENDER_ATTACKER"), - 9: .same(proto: "CAM_TARGET_DEFENDER_ATTACKER_EDGE"), - 11: .same(proto: "CAM_TARGET_ATTACKER_DEFENDER_MIRROR"), - 12: .same(proto: "CAM_TARGET_SHOULDER_ATTACKER_DEFENDER"), - 13: .same(proto: "CAM_TARGET_SHOULDER_ATTACKER_DEFENDER_MIRROR"), - 14: .same(proto: "CAM_TARGET_ATTACKER_DEFENDER_WORLD"), - ] +public struct VpsSessionEndedEvent { + // 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. + + public var vpsSessionID: String = String() + + public var numServerRequests: Int32 = 0 + + public var timeTrackedMs: Int64 = 0 + + public var totalSessionTimeMs: Int64 = 0 + + public var networkErrorCodes: Dictionary = [:] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension ClientAction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CLIENT_ACTION_UNKNOWN_CLIENT_ACTION"), - 5000: .same(proto: "CLIENT_ACTION_REGISTER_PUSH_NOTIFICATION"), - 5001: .same(proto: "CLIENT_ACTION_UNREGISTER_PUSH_NOTIFICATION"), - 5002: .same(proto: "CLIENT_ACTION_UPDATE_NOTIFICATION_STATUS"), - 5003: .same(proto: "CLIENT_ACTION_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), - 5004: .same(proto: "CLIENT_ACTION_DOWNLOAD_GAME_MASTER_TEMPLATES"), - 5005: .same(proto: "CLIENT_ACTION_GET_INVENTORY"), - 5006: .same(proto: "CLIENT_ACTION_REDEEM_PASSCODE"), - 5007: .same(proto: "CLIENT_ACTION_PING"), - 5008: .same(proto: "CLIENT_ACTION_ADD_LOGIN_ACTION"), - 5009: .same(proto: "CLIENT_ACTION_REMOVE_LOGIN_ACTION"), - 5010: .same(proto: "CLIENT_ACTION_LIST_LOGIN_ACTION"), - 5011: .same(proto: "CLIENT_ACTION_ADD_NEW_POI"), - 5012: .same(proto: "CLIENT_ACTION_PROXY_SOCIAL_ACTION"), - 5013: .same(proto: "CLIENT_ACTION_DEPRECATED_CLIENT_TELEMETRY"), - 5014: .same(proto: "CLIENT_ACTION_GET_AVAILABLE_SUBMISSIONS"), - 5015: .same(proto: "CLIENT_ACTION_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), - 5016: .same(proto: "CLIENT_ACTION_REPLACE_LOGIN_ACTION"), - 5017: .same(proto: "CLIENT_ACTION_PROXY_SOCIAL_SIDE_CHANNEL_ACTION"), - 5018: .same(proto: "CLIENT_ACTION_COLLECT_CLIENT_TELEMETRY"), - 5019: .same(proto: "CLIENT_ACTION_PURCHASE_SKU"), - 5020: .same(proto: "CLIENT_ACTION_GET_AVAILABLE_SKUS_AND_BALANCES"), - 5021: .same(proto: "CLIENT_ACTION_REDEEM_GOOGLE_RECEIPT"), - 5022: .same(proto: "CLIENT_ACTION_REDEEM_APPLE_RECEIPT"), - 5023: .same(proto: "CLIENT_ACTION_REDEEM_DESKTOP_RECEIPT"), - 5024: .same(proto: "CLIENT_ACTION_UPDATE_FITNESS_METRICS"), - 5025: .same(proto: "CLIENT_ACTION_GET_FITNESS_REPORT"), - 5026: .same(proto: "CLIENT_ACTION_GET_CLIENT_TELEMETRY_SETTINGS"), - 5027: .same(proto: "CLIENT_ACTION_PING_ASYNC"), - 5028: .same(proto: "CLIENT_ACTION_REGISTER_BACKGROUND_SERVICE"), - 5029: .same(proto: "CLIENT_ACTION_GET_CLIENT_BGMODE_SETTINGS"), - 5030: .same(proto: "CLIENT_ACTION_PING_DOWNSTREAM"), - 5032: .same(proto: "CLIENT_ACTION_SET_IN_GAME_CURRENCY_EXCHANGE_RATE"), - 5033: .same(proto: "CLIENT_ACTION_REQUEST_GEOFENCE_UPDATES"), - 5034: .same(proto: "CLIENT_ACTION_UPDATE_PLAYER_LOCATION"), - 5035: .same(proto: "CLIENT_ACTION_GENERATE_GMAP_SIGNED_URL"), - 5036: .same(proto: "CLIENT_ACTION_GET_GMAP_SETTINGS"), - 5037: .same(proto: "CLIENT_ACTION_REDEEM_SAMSUNG_RECEIPT"), - 5038: .same(proto: "CLIENT_ACTION_ADD_NEW_ROUTE"), - 5039: .same(proto: "CLIENT_ACTION_GET_OUTSTANDING_WARNINGS"), - 5040: .same(proto: "CLIENT_ACTION_ACKNOWLEDGE_WARNINGS"), - 5041: .same(proto: "CLIENT_ACTION_SUBMIT_POI_IMAGE"), - 5042: .same(proto: "CLIENT_ACTION_SUBMIT_POI_TEXT_METADATA_UPDATE"), - 5043: .same(proto: "CLIENT_ACTION_SUBMIT_POI_LOCATION_UPDATE"), - 5044: .same(proto: "CLIENT_ACTION_SUBMIT_POI_TAKEDOWN_REQUEST"), - 5045: .same(proto: "CLIENT_ACTION_GET_WEB_TOKEN_ACTION"), - 5046: .same(proto: "CLIENT_ACTION_GET_ADVENTURE_SYNC_SETTINGS"), - 5047: .same(proto: "CLIENT_ACTION_UPDATE_ADVENTURE_SYNC_SETTINGS"), - 5048: .same(proto: "CLIENT_ACTION_SET_BIRTHDAY"), - 5049: .same(proto: "CLIENT_ACTION_FETCH_NEWSFEED_ACTION"), - 5050: .same(proto: "CLIENT_ACTION_MARK_NEWSFEED_READ_ACTION"), - ] +public struct VsActionHistory { + // 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. + + public var invokeTimeMs: Int64 = 0 + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var moveModifier: MoveModifierProto { + get {return _moveModifier ?? MoveModifierProto()} + set {_moveModifier = newValue} + } + /// Returns true if `moveModifier` has been explicitly set. + public var hasMoveModifier: Bool {return self._moveModifier != nil} + /// Clears the value of `moveModifier`. Subsequent reads from it will return its default value. + public mutating func clearMoveModifier() {self._moveModifier = nil} + + public var item: Item = .unknown + + public var move: HoloPokemonMove = .moveUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _moveModifier: MoveModifierProto? = nil } -extension ClientOperatingSystem: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CLIENT_OPERATING_SYSTEM_OS_UNKNOWN"), - 1: .same(proto: "CLIENT_OPERATING_SYSTEM_OS_ANDROID"), - 2: .same(proto: "CLIENT_OPERATING_SYSTEM_OS_IOS"), - 3: .same(proto: "CLIENT_OPERATING_SYSTEM_OS_DESKTOP"), - ] +public struct VsSeekerAttributesProto { + // 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. + + public var vsSeekerStatus: VsSeekerAttributesProto.VsSeekerStatus = .unset + + public var startKmWalked: Double = 0 + + public var targetKmWalked: Double = 0 + + public var battleGrantedRemaining: Int32 = 0 + + public var maxBattlesInSet: Int32 = 0 + + public var rewardTrack: VsSeekerRewardTrack = .free + + public var battleNowSkuID: String = String() + + public var additionalBattlesGranted: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum VsSeekerStatus: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case startedCharging // = 1 + case fullyCharged // = 2 + case activated // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .startedCharging + case 2: self = .fullyCharged + case 3: self = .activated + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .startedCharging: return 1 + case .fullyCharged: return 2 + case .activated: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} } -extension CombatHubEntranceTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "COMBAT_HUB_ENTRANCE_TELEMETRY_IDS_UNDEFINED_EVENT"), - 1: .same(proto: "COMBAT_HUB_ENTRANCE_TELEMETRY_IDS_CLICKED_COMBAT_HUB_BUTTON"), +#if swift(>=4.2) + +extension VsSeekerAttributesProto.VsSeekerStatus: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [VsSeekerAttributesProto.VsSeekerStatus] = [ + .unset, + .startedCharging, + .fullyCharged, + .activated, ] } -extension CombatPlayerFinishState: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "COMBAT_PLAYER_FINISH_STATE_WINNER"), - 1: .same(proto: "COMBAT_PLAYER_FINISH_STATE_LOSER"), - 2: .same(proto: "COMBAT_PLAYER_FINISH_STATE_DRAW"), - ] +#endif // swift(>=4.2) + +public struct VsSeekerBattleResult { + // 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. + + public var battleResult: CombatPlayerFinishState = .winner + + public var rewardsClaimed: Bool = false + + public var isPendingPokemonReward: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension CombatRefactorToggleProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BASELINE"), - 1: .same(proto: "FAST_MOVE_ALWAYS_LEAK"), - 2: .same(proto: "MINIGAME_FAST_MOVE_CLEAR"), - 3: .same(proto: "SWAP_FAST_MOVE_CLEAR"), - 4: .same(proto: "DOWNSTREAM_REDUNDANCY"), - 5: .same(proto: "DEFENSIVE_ACK_CHECK"), - 6: .same(proto: "SERVER_FLY_IN_FLY_OUT"), - 7: .same(proto: "CLIENT_REOBSERVER_COMBAT_STATE"), - 8: .same(proto: "FAST_MOVE_FLY_IN_CLIP"), - 9: .same(proto: "CLIENT_FAST_MOVE_FLY_IN_CLIP_FALL_BACK"), - 10: .same(proto: "COMBAT_REWARDS_INVOKE"), - 11: .same(proto: "CLIENT_SWAP_WIDGET_DISMISS"), - 12: .same(proto: "CLIENT_COMBAT_NULL_RPC_GUARD"), - 13: .same(proto: "SWAP_DELAY_TY_GREIL"), - 14: .same(proto: "FAST_MOVE_FAINT_DEFERRAL"), - 15: .same(proto: "COMBAT_REWARDS_ASYNC"), - 16: .same(proto: "GATED_REWARDS"), - ] +public struct VsSeekerClientSettingsProto { + // 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. + + public var upgradeIapSkuID: String = String() + + public var allowedVsSeekerLeagueTemplateID: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension CombatRewardStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "COMBAT_REWARD_STATUS_UNSET_REWARD_STATUS"), - 1: .same(proto: "COMBAT_REWARD_STATUS_REWARDS_GRANTED"), - 2: .same(proto: "COMBAT_REWARD_STATUS_MAX_REWARDS_RECEIVED"), - 3: .same(proto: "COMBAT_REWARD_STATUS_PLAYER_BAG_FULL"), - 4: .same(proto: "COMBAT_REWARD_STATUS_NO_REWARDS"), - 5: .same(proto: "COMBAT_REWARD_STATUS_REWARDS_ELIGIBLE"), - ] +public struct VsSeekerCompleteSeasonLogEntry { + // 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. + + public var result: VsSeekerCompleteSeasonLogEntry.Result = .unset + + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var rank: Int32 = 0 + + public var rating: Float = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _rewards: LootProto? = nil } -extension CombatType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "COMBAT_TYPE_UNSET"), - 1: .same(proto: "COMBAT_TYPE_SOLO"), - 2: .same(proto: "COMBAT_TYPE_QR_CODE"), - 3: .same(proto: "COMBAT_TYPE_FRIENDS"), - 4: .same(proto: "COMBAT_TYPE_NEARBY"), - 5: .same(proto: "COMBAT_TYPE_SOLO_INVASION"), - 6: .same(proto: "COMBAT_TYPE_VS_SEEKER"), +#if swift(>=4.2) + +extension VsSeekerCompleteSeasonLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [VsSeekerCompleteSeasonLogEntry.Result] = [ + .unset, + .success, ] } -extension ContestEntrysProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ENTRY_POINT_UNSET"), - 1: .same(proto: "SUGGESTED_FROM_CONTEST_PAGE"), - 2: .same(proto: "SWITCH_POKEMON_CONTEST_PAGE"), - 3: .same(proto: "SUGGESTED_AFTER_POKEMON_CATCH"), - ] +#endif // swift(>=4.2) + +public struct VsSeekerCreateDetail { + // 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. + + public var season: Int32 = 0 + + public var league: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension ContestOccurrence: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CONTEST_OCCURRENCE_UNSET"), - 1: .same(proto: "DAILY"), - 2: .same(proto: "TWO_DAYS"), - 3: .same(proto: "THREE_DAYS"), - 4: .same(proto: "WEEKLY"), - 5: .same(proto: "SEASONAL"), - 6: .same(proto: "HOURLY"), - 7: .same(proto: "FIVE_MINUTES"), - 8: .same(proto: "CUSTOM"), - ] -} +public struct VsSeekerLootProto { + // 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. + + public var rankLevel: Int32 = 0 + + public var reward: [VsSeekerLootProto.RewardProto] = [] + + public var rewardTrack: VsSeekerRewardTrack = .free + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct RewardProto { + // 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. + + public var rewardType: VsSeekerLootProto.RewardProto.OneOf_RewardType? = nil + + public var item: LootItemProto { + get { + if case .item(let v)? = rewardType {return v} + return LootItemProto() + } + set {rewardType = .item(newValue)} + } + + public var pokemonReward: Bool { + get { + if case .pokemonReward(let v)? = rewardType {return v} + return false + } + set {rewardType = .pokemonReward(newValue)} + } + + public var itemLootTable: Bool { + get { + if case .itemLootTable(let v)? = rewardType {return v} + return false + } + set {rewardType = .itemLootTable(newValue)} + } + + public var itemLootTableCount: Int32 { + get { + if case .itemLootTableCount(let v)? = rewardType {return v} + return 0 + } + set {rewardType = .itemLootTableCount(newValue)} + } + + public var itemRankingLootTableCount: Int32 { + get { + if case .itemRankingLootTableCount(let v)? = rewardType {return v} + return 0 + } + set {rewardType = .itemRankingLootTableCount(newValue)} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_RewardType: Equatable { + case item(LootItemProto) + case pokemonReward(Bool) + case itemLootTable(Bool) + case itemLootTableCount(Int32) + case itemRankingLootTableCount(Int32) + + #if !swift(>=4.1) + public static func ==(lhs: VsSeekerLootProto.RewardProto.OneOf_RewardType, rhs: VsSeekerLootProto.RewardProto.OneOf_RewardType) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.item, .item): return { + guard case .item(let l) = lhs, case .item(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.pokemonReward, .pokemonReward): return { + guard case .pokemonReward(let l) = lhs, case .pokemonReward(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.itemLootTable, .itemLootTable): return { + guard case .itemLootTable(let l) = lhs, case .itemLootTable(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.itemLootTableCount, .itemLootTableCount): return { + guard case .itemLootTableCount(let l) = lhs, case .itemLootTableCount(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.itemRankingLootTableCount, .itemRankingLootTableCount): return { + guard case .itemRankingLootTableCount(let l) = lhs, case .itemRankingLootTableCount(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } -extension ContestPokemonMetric: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CONTEST_POKEMON_METRIC_UNSET"), - 1: .same(proto: "POKEMON_SIZE"), - ] -} + public init() {} + } -extension ContestRankingStandard: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CONTEST_RANKING_STANDARD_UNSET"), - 1: .same(proto: "MIN"), - 2: .same(proto: "MAX"), - ] + public init() {} } -extension ContestScoreComponentType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TYPE_UNSET"), - 1: .same(proto: "HEIGHT"), - 2: .same(proto: "WEIGHT"), - 3: .same(proto: "IV"), - ] -} +public struct VsSeekerPokemonRewardsProto { + // 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. -extension DeviceServiceTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_UNDEFINED_DEVICE_SERVICE"), - 1: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_FITNESS"), - 2: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_SMART_WATCH"), - 3: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_SFIDA"), - 4: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_AWARENESS"), - 5: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_ADVENTURE_SYNC"), - 6: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_SENSOR"), - ] -} + public var availablePokemon: [VsSeekerPokemonRewardsProto.PokemonUnlockProto] = [] -extension DeviceType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_DEVICE"), - 1: .same(proto: "WAINA"), - ] -} + public var rewardTrack: VsSeekerRewardTrack = .free -extension EggIncubatorType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INCUBATOR_UNSET"), - 1: .same(proto: "INCUBATOR_DISTANCE"), - ] -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -extension EggSlotType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "EGG_SLOT_DEFAULT"), - 1: .same(proto: "EGG_SLOT_SPECIAL"), - ] -} + public struct OverrideIvRangeProto { + // 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. -extension EncounterType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ENCOUNTER_TYPE_SPAWN_POINT"), - 1: .same(proto: "ENCOUNTER_TYPE_INCENSE"), - 2: .same(proto: "ENCOUNTER_TYPE_DISK"), - 3: .same(proto: "ENCOUNTER_TYPE_POST_RAID"), - 4: .same(proto: "ENCOUNTER_TYPE_STORY_QUEST"), - 5: .same(proto: "ENCOUNTER_TYPE_QUEST_STAMP_CARD"), - 6: .same(proto: "ENCOUNTER_TYPE_CHALLENGE_QUEST"), - 7: .same(proto: "ENCOUNTER_TYPE_PHOTOBOMB"), - 8: .same(proto: "ENCOUNTER_TYPE_INVASION"), - 9: .same(proto: "ENCOUNTER_TYPE_VS_SEEKER_REWARD"), - 10: .same(proto: "ENCOUNTER_TYPE_TIMED_STORY_QUEST"), - 11: .same(proto: "ENCOUNTER_TYPE_DAILY_BONUS"), - 12: .same(proto: "ENCOUNTER_TYPE_REFERRAL_QUEST"), - 13: .same(proto: "ENCOUNTER_TYPE_TIMED_MINI_COLLECTION_QUEST"), - 14: .same(proto: "ENCOUNTER_TYPE_POWER_UP_POKESTOP"), - 15: .same(proto: "ENCOUNTER_TYPE_BUTTERFLY_COLLECTOR"), - 17: .same(proto: "ENCOUNTER_TYPE_ROUTE"), - ] -} + public var overrideType: VsSeekerPokemonRewardsProto.OverrideIvRangeProto.OneOf_OverrideType? = nil -extension EventTypeStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "EVENT_UNSET"), - 1: .same(proto: "SLEEPING_POKEMON"), - 2: .same(proto: "PHOTO_SAFARI"), - ] -} + public var range: RangeProto { + get { + if case .range(let v)? = overrideType {return v} + return RangeProto() + } + set {overrideType = .range(newValue)} + } -extension FeatureKind: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "FEATURE_KIND_undefined"), - 1: .same(proto: "FEATURE_KIND_basin"), - 2: .same(proto: "FEATURE_KIND_canal"), - 3: .same(proto: "FEATURE_KIND_cemetery"), - 6: .same(proto: "FEATURE_KIND_commercial"), - 9: .same(proto: "FEATURE_KIND_ditch"), - 11: .same(proto: "FEATURE_KIND_drain"), - 12: .same(proto: "FEATURE_KIND_farm"), - 13: .same(proto: "FEATURE_KIND_farmland"), - 16: .same(proto: "FEATURE_KIND_forest"), - 17: .same(proto: "FEATURE_KIND_garden"), - 18: .same(proto: "FEATURE_KIND_glacier"), - 19: .same(proto: "FEATURE_KIND_golf_course"), - 20: .same(proto: "FEATURE_KIND_grass"), - 21: .same(proto: "FEATURE_KIND_highway"), - 23: .same(proto: "FEATURE_KIND_hotel"), - 24: .same(proto: "FEATURE_KIND_industrial"), - 25: .same(proto: "FEATURE_KIND_lake"), - 28: .same(proto: "FEATURE_KIND_major_road"), - 29: .same(proto: "FEATURE_KIND_meadow"), - 30: .same(proto: "FEATURE_KIND_minor_road"), - 31: .same(proto: "FEATURE_KIND_nature_reserve"), - 32: .same(proto: "FEATURE_KIND_ocean"), - 33: .same(proto: "FEATURE_KIND_park"), - 34: .same(proto: "FEATURE_KIND_parking"), - 35: .same(proto: "FEATURE_KIND_path"), - 36: .same(proto: "FEATURE_KIND_pedestrian"), - 39: .same(proto: "FEATURE_KIND_playa"), - 41: .same(proto: "FEATURE_KIND_quarry"), - 42: .same(proto: "FEATURE_KIND_railway"), - 43: .same(proto: "FEATURE_KIND_recreation_area"), - 45: .same(proto: "FEATURE_KIND_residential"), - 46: .same(proto: "FEATURE_KIND_retail"), - 47: .same(proto: "FEATURE_KIND_river"), - 48: .same(proto: "FEATURE_KIND_riverbank"), - 49: .same(proto: "FEATURE_KIND_runway"), - 50: .same(proto: "FEATURE_KIND_school"), - 53: .same(proto: "FEATURE_KIND_stream"), - 54: .same(proto: "FEATURE_KIND_taxiway"), - 58: .same(proto: "FEATURE_KIND_water"), - 59: .same(proto: "FEATURE_KIND_wetland"), - 60: .same(proto: "FEATURE_KIND_wood"), - 63: .same(proto: "FEATURE_KIND_other"), - 64: .same(proto: "FEATURE_KIND_country"), - 65: .same(proto: "FEATURE_KIND_region"), - 66: .same(proto: "FEATURE_KIND_city"), - 67: .same(proto: "FEATURE_KIND_town"), - 68: .same(proto: "FEATURE_KIND_airport"), - 69: .same(proto: "FEATURE_KIND_bay"), - 70: .same(proto: "FEATURE_KIND_borough"), - 71: .same(proto: "FEATURE_KIND_fjord"), - 72: .same(proto: "FEATURE_KIND_hamlet"), - 73: .same(proto: "FEATURE_KIND_military"), - 74: .same(proto: "FEATURE_KIND_national_park"), - 75: .same(proto: "FEATURE_KIND_neighborhood"), - 76: .same(proto: "FEATURE_KIND_peak"), - 77: .same(proto: "FEATURE_KIND_prison"), - 78: .same(proto: "FEATURE_KIND_protected_area"), - 79: .same(proto: "FEATURE_KIND_reef"), - 80: .same(proto: "FEATURE_KIND_rock"), - 81: .same(proto: "FEATURE_KIND_sand"), - 82: .same(proto: "FEATURE_KIND_scrub"), - 83: .same(proto: "FEATURE_KIND_sea"), - 84: .same(proto: "FEATURE_KIND_strait"), - 85: .same(proto: "FEATURE_KIND_valley"), - 86: .same(proto: "FEATURE_KIND_village"), - 87: .same(proto: "FEATURE_KIND_light_rail"), - 88: .same(proto: "FEATURE_KIND_platform"), - 89: .same(proto: "FEATURE_KIND_station"), - 90: .same(proto: "FEATURE_KIND_subway"), - 91: .same(proto: "FEATURE_KIND_agricultural"), - 92: .same(proto: "FEATURE_KIND_education"), - 93: .same(proto: "FEATURE_KIND_government"), - 94: .same(proto: "FEATURE_KIND_healthcare"), - 95: .same(proto: "FEATURE_KIND_landmark"), - 96: .same(proto: "FEATURE_KIND_religious"), - 97: .same(proto: "FEATURE_KIND_services"), - 98: .same(proto: "FEATURE_KIND_sports"), - 99: .same(proto: "FEATURE_KIND_transportation"), - 100: .same(proto: "FEATURE_KIND_unused"), - ] -} + public var zero: Bool { + get { + if case .zero(let v)? = overrideType {return v} + return false + } + set {overrideType = .zero(newValue)} + } -extension FortPowerUpLevel: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "FORT_POWER_UP_LEVEL_UNSET"), - 1: .same(proto: "FORT_POWER_UP_LEVEL_0"), - 2: .same(proto: "FORT_POWER_UP_LEVEL_1"), - 3: .same(proto: "FORT_POWER_UP_LEVEL_2"), - 4: .same(proto: "FORT_POWER_UP_LEVEL_3"), - ] -} + public var unknownFields = SwiftProtobuf.UnknownStorage() -extension FortPowerUpLevelReward: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "FORT_POWER_UP_LEVEL_REWARD_UNSET"), - 1: .same(proto: "FORT_POWER_UP_LEVEL_REWARD_BUDDY_BONUS_HEART"), - 2: .same(proto: "FORT_POWER_UP_REWARD_BONUS_ITEM_ON_SPIN"), - 3: .same(proto: "FORT_POWER_UP_REWARD_BONUS_SPAWN"), - 4: .same(proto: "FORT_POWER_UP_REWARD_BONUS_RAID_POKEBALLS"), - ] -} + public enum OneOf_OverrideType: Equatable { + case range(RangeProto) + case zero(Bool) -extension FortType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "GYM"), - 1: .same(proto: "CHECKPOINT"), - ] -} + #if !swift(>=4.1) + public static func ==(lhs: VsSeekerPokemonRewardsProto.OverrideIvRangeProto.OneOf_OverrideType, rhs: VsSeekerPokemonRewardsProto.OverrideIvRangeProto.OneOf_OverrideType) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.range, .range): return { + guard case .range(let l) = lhs, case .range(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.zero, .zero): return { + guard case .zero(let l) = lhs, case .zero(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } -extension FriendshipLevelMilestone: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "FRIENDSHIP_LEVEL_UNSET"), - 1: .same(proto: "FRIENDSHIP_LEVEL_0"), - 2: .same(proto: "FRIENDSHIP_LEVEL_1"), - 3: .same(proto: "FRIENDSHIP_LEVEL_2"), - 4: .same(proto: "FRIENDSHIP_LEVEL_3"), - 5: .same(proto: "FRIENDSHIP_LEVEL_4"), - ] -} + public init() {} + } -extension GameAction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_GAME_ACTION"), - 310000: .same(proto: "GAME_PURCHASE_SKU"), - 310001: .same(proto: "GAME_GET_AVAILABLE_SKUS_AND_BALANCES"), - 310002: .same(proto: "GAME_SET_IN_GAME_CURRENCY_EXCHANGE_RATE"), - 310100: .same(proto: "GAME_REDEEM_GOOGLE_RECEIPT"), - 310101: .same(proto: "GAME_REDEEM_APPLE_RECEIPT"), - 310102: .same(proto: "GAME_REDEEM_DESKTOP_RECEIPT"), - 310103: .same(proto: "GAME_REDEEM_SAMSUNG_RECEIPT"), - 310200: .same(proto: "GAME_GET_AVAILABLE_SUBSCRIPTIONS"), - 310201: .same(proto: "GAME_GET_ACTIVE_SUBSCRIPTIONS"), - ] -} + public struct PokemonUnlockProto { + // 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. -extension GameActionClient: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "GAME_ACTION_CLIENT_UNKNOWN_GAME_BACKGROUND_MODE_ACTION"), - 230000: .same(proto: "GAME_ACTION_CLIENT_REGISTER_BACKGROUND_SERVICE"), - 230001: .same(proto: "GAME_ACTION_CLIENT_GET_CLIENT_BGMODE_SETTINGS"), - 230002: .same(proto: "GAME_ACTION_CLIENT_GET_ADVENTURE_SYNC_PROGRESS"), - ] -} + public var rewardType: OneOf_RewardType? { + get {return _storage._rewardType} + set {_uniqueStorage()._rewardType = newValue} + } -extension GameAdventureSyncAction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_GAME_LOCATION_AWARENESS_ACTION"), - 360000: .same(proto: "REQUEST_GEOFENCE_UPDATES_1"), - 360001: .same(proto: "UPDATE_PLAYER_LOCATION_1"), - 361000: .same(proto: "UPDATE_BREADCRUMB_HISTORY"), - 362000: .same(proto: "REFRESH_PROXIMITY_TOKENS"), - 362001: .same(proto: "REPORT_PROXIMITY_CONTACTS"), - ] -} + public var pokemon: PokemonEncounterRewardProto { + get { + if case .pokemon(let v)? = _storage._rewardType {return v} + return PokemonEncounterRewardProto() + } + set {_uniqueStorage()._rewardType = .pokemon(newValue)} + } -extension GameFitnessAction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_GAME_FITNESS_ACTION"), - 640000: .same(proto: "UPDATE_FITNESS_METRICS_1"), - 640001: .same(proto: "GET_FITNESS_REPORT_1"), - 640002: .same(proto: "GET_ADVENTURE_SYNC_SETTINGS_1"), - 640003: .same(proto: "UPDATE_ADVENTURE_SYNC_SETTINGS_1"), - 640004: .same(proto: "UPDATE_ADVENTURE_SYNC_FITNESS"), - 640005: .same(proto: "GET_ADVENTURE_SYNC_FITNESS_REPORT"), - ] -} + public var limitedPokemonReward: LimitedEditionPokemonEncounterRewardProto { + get { + if case .limitedPokemonReward(let v)? = _storage._rewardType {return v} + return LimitedEditionPokemonEncounterRewardProto() + } + set {_uniqueStorage()._rewardType = .limitedPokemonReward(newValue)} + } -extension GameOthersAction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_GAME_OTHER_ACTION"), - 600005: .same(proto: "GET_GAME_ACCESS_TOKEN"), - ] -} + public var guaranteedLimitedPokemonReward: LimitedEditionPokemonEncounterRewardProto { + get { + if case .guaranteedLimitedPokemonReward(let v)? = _storage._rewardType {return v} + return LimitedEditionPokemonEncounterRewardProto() + } + set {_uniqueStorage()._rewardType = .guaranteedLimitedPokemonReward(newValue)} + } -extension GenericClickTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_UNDEFINED_GENERIC_EVENT"), - 1: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_SPEED_WARNING_SHOW"), - 2: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_SPEED_WARNING_PASSENGER"), - 3: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_CACHE_RESET_CLICKED"), - 4: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_REFUND_PAGE_OPENED"), - ] -} + public var unlockedAtRank: Int32 { + get {return _storage._unlockedAtRank} + set {_uniqueStorage()._unlockedAtRank = newValue} + } -extension GeodataType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "GEODATA_TYPE_UNSPECIFIED_GEODATA_TYPE"), - 1: .same(proto: "GEODATA_TYPE_POI"), - ] -} + public var weight: Float { + get {return _storage._weight} + set {_uniqueStorage()._weight = newValue} + } -extension GymBadgeType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "GYM_BADGE_UNSET"), - 1: .same(proto: "GYM_BADGE_VANILLA"), - 2: .same(proto: "GYM_BADGE_BRONZE"), - 3: .same(proto: "GYM_BADGE_SILVER"), - 4: .same(proto: "GYM_BADGE_GOLD"), - ] -} + public var attackIvOverride: VsSeekerPokemonRewardsProto.OverrideIvRangeProto { + get {return _storage._attackIvOverride ?? VsSeekerPokemonRewardsProto.OverrideIvRangeProto()} + set {_uniqueStorage()._attackIvOverride = newValue} + } + /// Returns true if `attackIvOverride` has been explicitly set. + public var hasAttackIvOverride: Bool {return _storage._attackIvOverride != nil} + /// Clears the value of `attackIvOverride`. Subsequent reads from it will return its default value. + public mutating func clearAttackIvOverride() {_uniqueStorage()._attackIvOverride = nil} -extension HoloActivityType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ACTIVITY_UNKNOWN"), - 1: .same(proto: "ACTIVITY_CATCH_POKEMON"), - 2: .same(proto: "ACTIVITY_CATCH_LEGEND_POKEMON"), - 3: .same(proto: "ACTIVITY_FLEE_POKEMON"), - 4: .same(proto: "ACTIVITY_DEFEAT_FORT"), - 5: .same(proto: "ACTIVITY_EVOLVE_POKEMON"), - 6: .same(proto: "ACTIVITY_HATCH_EGG"), - 7: .same(proto: "ACTIVITY_WALK_KM"), - 8: .same(proto: "ACTIVITY_POKEDEX_ENTRY_NEW"), - 9: .same(proto: "ACTIVITY_CATCH_FIRST_THROW"), - 10: .same(proto: "ACTIVITY_CATCH_NICE_THROW"), - 11: .same(proto: "ACTIVITY_CATCH_GREAT_THROW"), - 12: .same(proto: "ACTIVITY_CATCH_EXCELLENT_THROW"), - 13: .same(proto: "ACTIVITY_CATCH_CURVEBALL"), - 14: .same(proto: "ACTIVITY_CATCH_FIRST_CATCH_OF_DAY"), - 15: .same(proto: "ACTIVITY_CATCH_MILESTONE"), - 16: .same(proto: "ACTIVITY_TRAIN_POKEMON"), - 17: .same(proto: "ACTIVITY_SEARCH_FORT"), - 18: .same(proto: "ACTIVITY_RELEASE_POKEMON"), - 19: .same(proto: "ACTIVITY_HATCH_EGG_SMALL_BONUS"), - 20: .same(proto: "ACTIVITY_HATCH_EGG_MEDIUM_BONUS"), - 21: .same(proto: "ACTIVITY_HATCH_EGG_LARGE_BONUS"), - 22: .same(proto: "ACTIVITY_DEFEAT_GYM_DEFENDER"), - 23: .same(proto: "ACTIVITY_DEFEAT_GYM_LEADER"), - 24: .same(proto: "ACTIVITY_CATCH_FIRST_CATCH_STREAK_BONUS"), - 25: .same(proto: "ACTIVITY_SEARCH_FORT_FIRST_OF_THE_DAY"), - 26: .same(proto: "ACTIVITY_SEARCH_FORT_STREAK_BONUS"), - 27: .same(proto: "ACTIVITY_DEFEAT_RAID_POKEMON"), - 28: .same(proto: "ACTIVITY_FEED_BERRY"), - 29: .same(proto: "ACTIVITY_SEARCH_GYM"), - 30: .same(proto: "ACTIVITY_NEW_POKESTOP"), - 31: .same(proto: "ACTIVITY_GYM_BATTLE_LOSS"), - 32: .same(proto: "ACTIVITY_CATCH_AR_PLUS_BONUS"), - 33: .same(proto: "ACTIVITY_CATCH_QUEST_POKEMON_ENCOUNTER"), - 35: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_0"), - 36: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_1"), - 37: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_2"), - 38: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_3"), - 39: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_4"), - 40: .same(proto: "ACTIVITY_SEND_GIFT"), - 41: .same(proto: "ACTIVITY_SHARE_EX_RAID_PASS"), - 42: .same(proto: "ACTIVITY_RAID_LEVEL_1_ADDITIONAL_XP"), - 43: .same(proto: "ACTIVITY_RAID_LEVEL_2_ADDITIONAL_XP"), - 44: .same(proto: "ACTIVITY_RAID_LEVEL_3_ADDITIONAL_XP"), - 45: .same(proto: "ACTIVITY_RAID_LEVEL_4_ADDITIONAL_XP"), - 46: .same(proto: "ACTIVITY_RAID_LEVEL_5_ADDITIONAL_XP"), - 47: .same(proto: "ACTIVITY_HATCH_EGG_SHADOW"), - 48: .same(proto: "ACTIVITY_HATCH_EGG_GIFT"), - 49: .same(proto: "ACTIVITY_REMOTE_DEFEAT_RAID_POKEMON"), - 50: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_1_ADDITIONAL_XP"), - 51: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_2_ADDITIONAL_XP"), - 52: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_3_ADDITIONAL_XP"), - 53: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_4_ADDITIONAL_XP"), - 54: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_5_ADDITIONAL_XP"), - 55: .same(proto: "ACTIVITY_CHANGE_POKEMON_FORM"), - 56: .same(proto: "ACTIVITY_EARN_BUDDY_WALKED_CANDY"), - 57: .same(proto: "ACTIVITY_RAID_LEVEL_1_SHADOW_ADDITIONAL_XP"), - 58: .same(proto: "ACTIVITY_RAID_LEVEL_2_SHADOW_ADDITIONAL_XP"), - 59: .same(proto: "ACTIVITY_RAID_LEVEL_3_SHADOW_ADDITIONAL_XP"), - 60: .same(proto: "ACTIVITY_RAID_LEVEL_4_SHADOW_ADDITIONAL_XP"), - 61: .same(proto: "ACTIVITY_RAID_LEVEL_5_SHADOW_ADDITIONAL_XP"), - 62: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_1_SHADOW_ADDITIONAL_XP"), - 63: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_2_SHADOW_ADDITIONAL_XP"), - 64: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_3_SHADOW_ADDITIONAL_XP"), - 65: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_4_SHADOW_ADDITIONAL_XP"), - 66: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_5_SHADOW_ADDITIONAL_XP"), - 67: .same(proto: "ACTIVITY_CATCH_MASTER_BALL_THROW"), - 68: .same(proto: "ACTIVITY_RAID_LEVEL_MEGA_ADDITIONAL_XP"), - 69: .same(proto: "ACTIVITY_RAID_LEVEL_MEGA_5_ADDITIONAL_XP"), - 70: .same(proto: "ACTIVITY_RAID_LEVEL_ULTRA_BEAST_ADDITIONAL_XP"), - 71: .same(proto: "ACTIVITY_RAID_LEVEL_EXTENDED_EGG_ADDITIONAL_XP"), - 72: .same(proto: "ACTIVITY_RAID_LEVEL_PRIMAL_ADDITIONAL_XP"), - 73: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_MEGA_ADDITIONAL_XP"), - 74: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_MEGA_5_ADDITIONAL_XP"), - 75: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_ULTRA_BEAST_ADDITIONAL_XP"), - 76: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_EXTENDED_EGG_ADDITIONAL_XP"), - 77: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_PRIMAL_ADDITIONAL_XP"), - 78: .same(proto: "ACTIVITY_ROUTE_COMPLETE"), - 79: .same(proto: "ACTIVITY_ROUTE_COMPLETE_FIRST_OF_THE_DAY"), - 80: .same(proto: "ACTIVITY_ROUTE_COMPLETE_STREAK_BONUS"), - ] -} + public var defenseIvOverride: VsSeekerPokemonRewardsProto.OverrideIvRangeProto { + get {return _storage._defenseIvOverride ?? VsSeekerPokemonRewardsProto.OverrideIvRangeProto()} + set {_uniqueStorage()._defenseIvOverride = newValue} + } + /// Returns true if `defenseIvOverride` has been explicitly set. + public var hasDefenseIvOverride: Bool {return _storage._defenseIvOverride != nil} + /// Clears the value of `defenseIvOverride`. Subsequent reads from it will return its default value. + public mutating func clearDefenseIvOverride() {_uniqueStorage()._defenseIvOverride = nil} -extension HoloBadgeType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BADGE_UNSET"), - 1: .same(proto: "BADGE_TRAVEL_KM"), - 2: .same(proto: "BADGE_POKEDEX_ENTRIES"), - 3: .same(proto: "BADGE_CAPTURE_TOTAL"), - 4: .same(proto: "BADGE_DEFEATED_FORT"), - 5: .same(proto: "BADGE_EVOLVED_TOTAL"), - 6: .same(proto: "BADGE_HATCHED_TOTAL"), - 7: .same(proto: "BADGE_ENCOUNTERED_TOTAL"), - 8: .same(proto: "BADGE_POKESTOPS_VISITED"), - 9: .same(proto: "BADGE_UNIQUE_POKESTOPS"), - 10: .same(proto: "BADGE_POKEBALL_THROWN"), - 11: .same(proto: "BADGE_BIG_MAGIKARP"), - 12: .same(proto: "BADGE_DEPLOYED_TOTAL"), - 13: .same(proto: "BADGE_BATTLE_ATTACK_WON"), - 14: .same(proto: "BADGE_BATTLE_TRAINING_WON"), - 15: .same(proto: "BADGE_BATTLE_DEFEND_WON"), - 16: .same(proto: "BADGE_PRESTIGE_RAISED"), - 17: .same(proto: "BADGE_PRESTIGE_DROPPED"), - 18: .same(proto: "BADGE_TYPE_NORMAL"), - 19: .same(proto: "BADGE_TYPE_FIGHTING"), - 20: .same(proto: "BADGE_TYPE_FLYING"), - 21: .same(proto: "BADGE_TYPE_POISON"), - 22: .same(proto: "BADGE_TYPE_GROUND"), - 23: .same(proto: "BADGE_TYPE_ROCK"), - 24: .same(proto: "BADGE_TYPE_BUG"), - 25: .same(proto: "BADGE_TYPE_GHOST"), - 26: .same(proto: "BADGE_TYPE_STEEL"), - 27: .same(proto: "BADGE_TYPE_FIRE"), - 28: .same(proto: "BADGE_TYPE_WATER"), - 29: .same(proto: "BADGE_TYPE_GRASS"), - 30: .same(proto: "BADGE_TYPE_ELECTRIC"), - 31: .same(proto: "BADGE_TYPE_PSYCHIC"), - 32: .same(proto: "BADGE_TYPE_ICE"), - 33: .same(proto: "BADGE_TYPE_DRAGON"), - 34: .same(proto: "BADGE_TYPE_DARK"), - 35: .same(proto: "BADGE_TYPE_FAIRY"), - 36: .same(proto: "BADGE_SMALL_RATTATA"), - 37: .same(proto: "BADGE_PIKACHU"), - 38: .same(proto: "BADGE_UNOWN"), - 39: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN2"), - 40: .same(proto: "BADGE_RAID_BATTLE_WON"), - 41: .same(proto: "BADGE_LEGENDARY_BATTLE_WON"), - 42: .same(proto: "BADGE_BERRIES_FED"), - 43: .same(proto: "BADGE_HOURS_DEFENDED"), - 44: .same(proto: "BADGE_PLACE_HOLDER"), - 45: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN3"), - 46: .same(proto: "BADGE_CHALLENGE_QUESTS"), - 47: .same(proto: "BADGE_MEW_ENCOUNTER"), - 48: .same(proto: "BADGE_MAX_LEVEL_FRIENDS"), - 49: .same(proto: "BADGE_TRADING"), - 50: .same(proto: "BADGE_TRADING_DISTANCE"), - 51: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN4"), - 52: .same(proto: "BADGE_GREAT_LEAGUE"), - 53: .same(proto: "BADGE_ULTRA_LEAGUE"), - 54: .same(proto: "BADGE_MASTER_LEAGUE"), - 55: .same(proto: "BADGE_PHOTOBOMB"), - 56: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN5"), - 57: .same(proto: "BADGE_POKEMON_PURIFIED"), - 58: .same(proto: "BADGE_ROCKET_GRUNTS_DEFEATED"), - 59: .same(proto: "BADGE_ROCKET_GIOVANNI_DEFEATED"), - 60: .same(proto: "BADGE_BUDDY_BEST"), - 61: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN6"), - 62: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN7"), - 63: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN8"), - 64: .same(proto: "BADGE_7_DAY_STREAKS"), - 65: .same(proto: "BADGE_UNIQUE_RAID_BOSSES_DEFEATED"), - 66: .same(proto: "BADGE_RAIDS_WITH_FRIENDS"), - 67: .same(proto: "BADGE_POKEMON_CAUGHT_AT_YOUR_LURES"), - 68: .same(proto: "BADGE_WAYFARER"), - 69: .same(proto: "BADGE_TOTAL_MEGA_EVOS"), - 70: .same(proto: "BADGE_UNIQUE_MEGA_EVOS"), - 71: .same(proto: "DEPRECATED_0"), - 72: .same(proto: "BADGE_ROUTE_ACCEPTED"), - 73: .same(proto: "BADGE_TRAINERS_REFERRED"), - 74: .same(proto: "BADGE_POKESTOPS_SCANNED"), - 76: .same(proto: "BADGE_RAID_BATTLE_STAT"), - 77: .same(proto: "BADGE_TOTAL_ROUTE_PLAY"), - 78: .same(proto: "BADGE_UNIQUE_ROUTE_PLAY"), - 79: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN8A"), - 80: .same(proto: "BADGE_CAPTURE_SMALL_POKEMON"), - 81: .same(proto: "BADGE_CAPTURE_LARGE_POKEMON"), - 82: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN9"), - 1000: .same(proto: "BADGE_DYNAMIC_MIN"), - 1002: .same(proto: "BADGE_MINI_COLLECTION"), - 1003: .same(proto: "BADGE_BUTTERFLY_COLLECTOR"), - 1004: .same(proto: "BADGE_MAX_SIZE_FIRST_PLACE_WIN"), - 2000: .same(proto: "BADGE_EVENT_MIN"), - 2001: .same(proto: "BADGE_CHICAGO_FEST_JULY_2017"), - 2002: .same(proto: "BADGE_PIKACHU_OUTBREAK_YOKOHAMA_2017"), - 2003: .same(proto: "BADGE_SAFARI_ZONE_EUROPE_2017"), - 2004: .same(proto: "BADGE_SAFARI_ZONE_EUROPE_2017_10_07"), - 2005: .same(proto: "BADGE_SAFARI_ZONE_EUROPE_2017_10_14"), - 2006: .same(proto: "BADGE_CHICAGO_FEST_JULY_2018_SAT_NORTH"), - 2007: .same(proto: "BADGE_CHICAGO_FEST_JULY_2018_SAT_SOUTH"), - 2008: .same(proto: "BADGE_CHICAGO_FEST_JULY_2018_SUN_NORTH"), - 2009: .same(proto: "BADGE_CHICAGO_FEST_JULY_2018_SUN_SOUTH"), - 2010: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_0"), - 2011: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_1"), - 2012: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_2"), - 2013: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_3"), - 2014: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_4"), - 2015: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_5"), - 2016: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_6"), - 2017: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_7"), - 2018: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_8"), - 2019: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_9"), - 2020: .same(proto: "BADGE_YOKOSUKA_29_AUG_2018_MIKASA"), - 2021: .same(proto: "BADGE_YOKOSUKA_29_AUG_2018_VERNY"), - 2022: .same(proto: "BADGE_YOKOSUKA_29_AUG_2018_KURIHAMA"), - 2023: .same(proto: "BADGE_YOKOSUKA_30_AUG_2018_MIKASA"), - 2024: .same(proto: "BADGE_YOKOSUKA_30_AUG_2018_VERNY"), - 2025: .same(proto: "BADGE_YOKOSUKA_30_AUG_2018_KURIHAMA"), - 2026: .same(proto: "BADGE_YOKOSUKA_31_AUG_2018_MIKASA"), - 2027: .same(proto: "BADGE_YOKOSUKA_31_AUG_2018_VERNY"), - 2028: .same(proto: "BADGE_YOKOSUKA_31_AUG_2018_KURIHAMA"), - 2029: .same(proto: "BADGE_YOKOSUKA_1_SEP_2018_MIKASA"), - 2030: .same(proto: "BADGE_YOKOSUKA_1_SEP_2018_VERNY"), - 2031: .same(proto: "BADGE_YOKOSUKA_1_SEP_2018_KURIHAMA"), - 2032: .same(proto: "BADGE_YOKOSUKA_2_SEP_2018_MIKASA"), - 2033: .same(proto: "BADGE_YOKOSUKA_2_SEP_2018_VERNY"), - 2034: .same(proto: "BADGE_YOKOSUKA_2_SEP_2018_KURIHAMA"), - 2035: .same(proto: "BADGE_TOP_BANANA_1"), - 2036: .same(proto: "BADGE_TOP_BANANA_2"), - 2037: .same(proto: "BADGE_TOP_BANANA_3"), - 2038: .same(proto: "BADGE_PARTNER_EVENT_2019_0"), - 2039: .same(proto: "BADGE_PARTNER_EVENT_2019_1"), - 2040: .same(proto: "BADGE_PARTNER_EVENT_2019_2"), - 2041: .same(proto: "BADGE_PARTNER_EVENT_2019_3"), - 2042: .same(proto: "BADGE_PARTNER_EVENT_2019_4"), - 2043: .same(proto: "BADGE_PARTNER_EVENT_2019_5"), - 2044: .same(proto: "BADGE_PARTNER_EVENT_2019_6"), - 2045: .same(proto: "BADGE_PARTNER_EVENT_2019_7"), - 2046: .same(proto: "BADGE_PARTNER_EVENT_2019_8"), - 2047: .same(proto: "BADGE_PARTNER_EVENT_2019_9"), - 2048: .same(proto: "BADGE_SENTOSA_18_APR_2019"), - 2049: .same(proto: "BADGE_SENTOSA_19_APR_2019"), - 2050: .same(proto: "BADGE_SENTOSA_20_APR_2019"), - 2051: .same(proto: "BADGE_SENTOSA_21_APR_2019"), - 2052: .same(proto: "BADGE_SENTOSA_22_APR_2019"), - 2053: .same(proto: "BADGE_CITY_EXPLORER_PASS_00"), - 2054: .same(proto: "BADGE_CITY_EXPLORER_PASS_01"), - 2055: .same(proto: "BADGE_CITY_EXPLORER_PASS_02"), - 2056: .same(proto: "BADGE_CITY_EXPLORER_PASS_03"), - 2057: .same(proto: "BADGE_CITY_EXPLORER_PASS_04"), - 2058: .same(proto: "BADGE_CITY_EXPLORER_PASS_05"), - 2059: .same(proto: "BADGE_CITY_EXPLORER_PASS_06"), - 2060: .same(proto: "BADGE_CITY_EXPLORER_PASS_07"), - 2061: .same(proto: "BADGE_CITY_EXPLORER_PASS_08"), - 2062: .same(proto: "BADGE_CITY_EXPLORER_PASS_09"), - 2063: .same(proto: "BADGE_CITY_EXPLORER_PASS_10"), - 2064: .same(proto: "BADGE_CITY_EXPLORER_PASS_11"), - 2065: .same(proto: "BADGE_CITY_EXPLORER_PASS_12"), - 2066: .same(proto: "BADGE_CITY_EXPLORER_PASS_13"), - 2067: .same(proto: "BADGE_CITY_EXPLORER_PASS_14"), - 2068: .same(proto: "BADGE_CITY_EXPLORER_PASS_15"), - 2069: .same(proto: "BADGE_CITY_EXPLORER_PASS_16"), - 2070: .same(proto: "BADGE_CITY_EXPLORER_PASS_17"), - 2071: .same(proto: "BADGE_CITY_EXPLORER_PASS_18"), - 2072: .same(proto: "BADGE_CITY_EXPLORER_PASS_19"), - 2073: .same(proto: "BADGE_CITY_EXPLORER_PASS_20"), - 2074: .same(proto: "BADGE_CITY_EXPLORER_PASS_21"), - 2075: .same(proto: "BADGE_CITY_EXPLORER_PASS_22"), - 2076: .same(proto: "BADGE_CITY_EXPLORER_PASS_23"), - 2077: .same(proto: "BADGE_CITY_EXPLORER_PASS_24"), - 2078: .same(proto: "BADGE_CITY_EXPLORER_PASS_25"), - 2079: .same(proto: "BADGE_CITY_EXPLORER_PASS_26"), - 2080: .same(proto: "BADGE_CITY_EXPLORER_PASS_27"), - 2081: .same(proto: "BADGE_CITY_EXPLORER_PASS_28"), - 2082: .same(proto: "BADGE_CITY_EXPLORER_PASS_29"), - 2083: .same(proto: "BADGE_CITY_EXPLORER_PASS_30"), - 2084: .same(proto: "BADGE_CITY_EXPLORER_PASS_31"), - 2085: .same(proto: "BADGE_CITY_EXPLORER_PASS_32"), - 2086: .same(proto: "BADGE_CITY_EXPLORER_PASS_33"), - 2087: .same(proto: "BADGE_CITY_EXPLORER_PASS_34"), - 2088: .same(proto: "BADGE_CITY_EXPLORER_PASS_35"), - 2089: .same(proto: "BADGE_CITY_EXPLORER_PASS_36"), - 2090: .same(proto: "BADGE_CITY_EXPLORER_PASS_37"), - 2091: .same(proto: "BADGE_CITY_EXPLORER_PASS_38"), - 2092: .same(proto: "BADGE_CITY_EXPLORER_PASS_39"), - 2093: .same(proto: "BADGE_CITY_EXPLORER_PASS_40"), - 2094: .same(proto: "BADGE_AIR_ADVENTURES_OKINAWA_00"), - 2095: .same(proto: "BADGE_AIR_ADVENTURES_OKINAWA_RELEASE"), - 2096: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_00_EARLYACCESS"), - 2097: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_00_GENERAL"), - 2098: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_01_EARLYACCESS"), - 2099: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_01_GENERAL"), - 2100: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_02_EARLYACCESS"), - 2101: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_02_GENERAL"), - 2102: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_03_EARLYACCESS"), - 2103: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_03_GENERAL"), - 5000: .same(proto: "BADGE_DYNAMIC_EVENT_MIN"), - 5001: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_00_NORTH_GENERAL"), - 5002: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_00_NORTH_EARLYACCESS"), - 5003: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_00_SOUTH_GENERAL"), - 5004: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_00_SOUTH_EARLYACCESS"), - 5005: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_01_NORTH_GENERAL"), - 5006: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_01_NORTH_EARLYACCESS"), - 5007: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_01_SOUTH_GENERAL"), - 5008: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_01_SOUTH_EARLYACCESS"), - 5009: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_02_NORTH_GENERAL"), - 5010: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_02_NORTH_EARLYACCESS"), - 5011: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_02_SOUTH_GENERAL"), - 5012: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_02_SOUTH_EARLYACCESS"), - 5013: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_03_NORTH_GENERAL"), - 5014: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_03_NORTH_EARLYACCESS"), - 5015: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_03_SOUTH_GENERAL"), - 5016: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_03_SOUTH_EARLYACCESS"), - 5017: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_04_NORTH_GENERAL"), - 5018: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_04_NORTH_EARLYACCESS"), - 5019: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_04_SOUTH_GENERAL"), - 5020: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_04_SOUTH_EARLYACCESS"), - 5021: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_00_GENERAL"), - 5022: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_00_EARLYACCESS"), - 5023: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_01_GENERAL"), - 5024: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_01_EARLYACCESS"), - 5025: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_02_GENERAL"), - 5026: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_02_EARLYACCESS"), - 5027: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_03_GENERAL"), - 5028: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_03_EARLYACCESS"), - 5029: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_04_GENERAL"), - 5030: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_04_EARLYACCESS"), - 5031: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_00_GENERAL"), - 5032: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_01_GENERAL"), - 5033: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_02_GENERAL"), - 5034: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_03_GENERAL"), - 5035: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_04_GENERAL"), - 5036: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_05_GENERAL"), - 5037: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_06_GENERAL"), - 5038: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_07_GENERAL"), - 5039: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_00_GENERAL"), - 5040: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_00_EARLYACCESS"), - 5041: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_01_GENERAL"), - 5042: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_01_EARLYACCESS"), - 5043: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_02_GENERAL"), - 5044: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_02_EARLYACCESS"), - 5045: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_03_GENERAL"), - 5046: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_03_EARLYACCESS"), - 5047: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_00_GENERAL"), - 5048: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_00_EARLYACCESS"), - 5049: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_01_GENERAL"), - 5050: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_01_EARLYACCESS"), - 5051: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_02_GENERAL"), - 5052: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_02_EARLYACCESS"), - 5053: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_03_GENERAL"), - 5054: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_03_EARLYACCESS"), - 5055: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_00_GENERAL"), - 5056: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_00_EARLYACCESS"), - 5057: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_01_GENERAL"), - 5058: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_01_EARLYACCESS"), - 5059: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_02_GENERAL"), - 5060: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_02_EARLYACCESS"), - 5061: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_03_GENERAL"), - 5062: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_03_EARLYACCESS"), - 5063: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_00_GENERAL"), - 5064: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_00_EARLYACCESS"), - 5065: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_01_GENERAL"), - 5066: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_01_EARLYACCESS"), - 5067: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_02_GENERAL"), - 5068: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_02_EARLYACCESS"), - 5069: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_03_GENERAL"), - 5070: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_03_EARLYACCESS"), - 5071: .same(proto: "BADGE_GOFEST_2020_TEST"), - 5072: .same(proto: "BADGE_GOFEST_2020_GLOBAL"), - 5073: .same(proto: "BADGE_GOTOUR_2021_GREEN_TEST"), - 5074: .same(proto: "BADGE_GOTOUR_2021_RED_TEST"), - 5075: .same(proto: "BADGE_GOTOUR_2021_GREEN_GLOBAL"), - 5076: .same(proto: "BADGE_GOTOUR_2021_RED_GLOBAL"), - 5100: .same(proto: "BADGE_GLOBAL_TICKETED_EVENT"), - 5201: .same(proto: "BADGE_EVENT_0001"), - 5202: .same(proto: "BADGE_EVENT_0002"), - 5203: .same(proto: "BADGE_EVENT_0003"), - 5204: .same(proto: "BADGE_EVENT_0004"), - 5205: .same(proto: "BADGE_EVENT_0005"), - 5206: .same(proto: "BADGE_EVENT_0006"), - 5207: .same(proto: "BADGE_EVENT_0007"), - 5208: .same(proto: "BADGE_EVENT_0008"), - 5209: .same(proto: "BADGE_EVENT_0009"), - 5210: .same(proto: "BADGE_EVENT_0010"), - 5211: .same(proto: "BADGE_EVENT_0011"), - 5212: .same(proto: "BADGE_EVENT_0012"), - 5213: .same(proto: "BADGE_EVENT_0013"), - 5214: .same(proto: "BADGE_EVENT_0014"), - 5215: .same(proto: "BADGE_EVENT_0015"), - 5216: .same(proto: "BADGE_EVENT_0016"), - 5217: .same(proto: "BADGE_EVENT_0017"), - 5218: .same(proto: "BADGE_EVENT_0018"), - 5219: .same(proto: "BADGE_EVENT_0019"), - 5220: .same(proto: "BADGE_EVENT_0020"), - 5221: .same(proto: "BADGE_EVENT_0021"), - 5222: .same(proto: "BADGE_EVENT_0022"), - 5223: .same(proto: "BADGE_EVENT_0023"), - 5224: .same(proto: "BADGE_EVENT_0024"), - 5225: .same(proto: "BADGE_EVENT_0025"), - 5226: .same(proto: "BADGE_EVENT_0026"), - 5227: .same(proto: "BADGE_EVENT_0027"), - 5228: .same(proto: "BADGE_EVENT_0028"), - 5229: .same(proto: "BADGE_EVENT_0029"), - 5230: .same(proto: "BADGE_EVENT_0030"), - 5231: .same(proto: "BADGE_LEVEL_40"), - 5232: .same(proto: "BADGE_GOFEST_2021_TEST"), - 5233: .same(proto: "BADGE_GOFEST_2021_GLOBAL"), - 5234: .same(proto: "BADGE_TRADING_CARD_0001"), - 5235: .same(proto: "BADGE_TRADING_CARD_0002"), - 5236: .same(proto: "BADGE_TRADING_CARD_0003"), - 5237: .same(proto: "BADGE_TRADING_CARD_0004"), - 5238: .same(proto: "BADGE_TRADING_CARD_0005"), - 5239: .same(proto: "BADGE_TRADING_CARD_0006"), - 5240: .same(proto: "BADGE_TRADING_CARD_0007"), - 5241: .same(proto: "BADGE_TRADING_CARD_0008"), - 5242: .same(proto: "BADGE_TRADING_CARD_0009"), - 5243: .same(proto: "BADGE_TRADING_CARD_0010"), - 5244: .same(proto: "BADGE_GOFEST_2022_TEST"), - 5245: .same(proto: "BADGE_GOFEST_2022_GLOBAL"), - 5246: .same(proto: "BADGE_GOTOUR_2022_GOLD_TEST"), - 5247: .same(proto: "BADGE_GOTOUR_2022_SILVER_TEST"), - 5248: .same(proto: "BADGE_GOTOUR_2022_GOLD_GLOBAL"), - 5249: .same(proto: "BADGE_GOTOUR_2022_SILVER_GLOBAL"), - 5250: .same(proto: "BADGE_GOTOUR_2022_LIVE_A_TEST"), - 5251: .same(proto: "BADGE_GOTOUR_2022_LIVE_A_GLOBAL"), - 5252: .same(proto: "BADGE_GOTOUR_2022_LIVE_B_TEST"), - 5253: .same(proto: "BADGE_GOTOUR_2022_LIVE_B_GLOBAL"), - 5254: .same(proto: "BADGE_EVENT_0031"), - 5255: .same(proto: "BADGE_EVENT_0032"), - 5256: .same(proto: "BADGE_EVENT_0033"), - 5257: .same(proto: "BADGE_EVENT_0034"), - 5258: .same(proto: "BADGE_EVENT_0035"), - 5259: .same(proto: "BADGE_EVENT_0036"), - 5260: .same(proto: "BADGE_EVENT_0037"), - 5261: .same(proto: "BADGE_EVENT_0038"), - 5262: .same(proto: "BADGE_EVENT_0039"), - 5263: .same(proto: "BADGE_EVENT_0040"), - 5264: .same(proto: "BADGE_EVENT_0041"), - 5265: .same(proto: "BADGE_EVENT_0042"), - 5266: .same(proto: "BADGE_EVENT_0043"), - 5267: .same(proto: "BADGE_EVENT_0044"), - 5268: .same(proto: "BADGE_EVENT_0045"), - 5269: .same(proto: "BADGE_EVENT_0046"), - 5270: .same(proto: "BADGE_EVENT_0047"), - 5271: .same(proto: "BADGE_EVENT_0048"), - 5272: .same(proto: "BADGE_EVENT_0049"), - 5273: .same(proto: "BADGE_EVENT_0050"), - 5274: .same(proto: "BADGE_EVENT_0051"), - 5275: .same(proto: "BADGE_EVENT_0052"), - 5276: .same(proto: "BADGE_EVENT_0053"), - 5277: .same(proto: "BADGE_EVENT_0054"), - 5278: .same(proto: "BADGE_EVENT_0055"), - 5279: .same(proto: "BADGE_EVENT_0056"), - 5280: .same(proto: "BADGE_EVENT_0057"), - 5281: .same(proto: "BADGE_EVENT_0058"), - 5282: .same(proto: "BADGE_EVENT_0059"), - 5283: .same(proto: "BADGE_EVENT_0060"), - 5284: .same(proto: "BADGE_EVENT_0061"), - 5285: .same(proto: "BADGE_EVENT_0062"), - 5286: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_00_GENERAL"), - 5287: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_00_EARLYACCESS"), - 5288: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_01_GENERAL"), - 5289: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_01_EARLYACCESS"), - 5290: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_02_GENERAL"), - 5291: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_02_EARLYACCESS"), - 5292: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_03_GENERAL"), - 5293: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_03_EARLYACCESS"), - 5294: .same(proto: "BADGE_AA_2023_JEJU_DAY_00"), - 5295: .same(proto: "BADGE_AA_2023_JEJU_DAY_01"), - 5296: .same(proto: "BADGE_AA_2023_JEJU_DAY_02"), - 5297: .same(proto: "BADGE_AA_2023_JEJU_DAY_03"), - 5300: .same(proto: "DEPRECATED_1"), - 5301: .same(proto: "DEPRECATED_2"), - 5302: .same(proto: "BADGE_GOFEST_2022_BERLIN_TEST_GENERAL"), - 5303: .same(proto: "BADGE_GOFEST_2022_BERLIN_TEST_EARLYACCESS"), - 5304: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_01_GENERAL"), - 5305: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_01_EARLYACCESS"), - 5306: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_02_GENERAL"), - 5307: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_02_EARLYACCESS"), - 5308: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_03_GENERAL"), - 5309: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_03_EARLYACCESS"), - 5310: .same(proto: "BADGE_GOFEST_2022_SEATTLE_TEST_PARK_MORNING"), - 5311: .same(proto: "BADGE_GOFEST_2022_SEATTLE_TEST_PARK_AFTERNOON"), - 5312: .same(proto: "BADGE_GOFEST_2022_SEATTLE_TEST_CITY_MORNING"), - 5313: .same(proto: "BADGE_GOFEST_2022_SEATTLE_TEST_CITY_AFTERNOON"), - 5314: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_01_PARK_MORNING"), - 5315: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_01_PARK_AFTERNOON"), - 5316: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_01_CITY_MORNING"), - 5317: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_01_CITY_AFTERNOON"), - 5318: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_02_PARK_MORNING"), - 5319: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_02_PARK_AFTERNOON"), - 5320: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_02_CITY_MORNING"), - 5321: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_02_CITY_AFTERNOON"), - 5322: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_03_PARK_MORNING"), - 5323: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_03_PARK_AFTERNOON"), - 5324: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_03_CITY_MORNING"), - 5325: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_03_CITY_AFTERNOON"), - 5326: .same(proto: "BADGE_GOFEST_2022_SAPPORO_TEST_PARK_MORNING"), - 5327: .same(proto: "BADGE_GOFEST_2022_SAPPORO_TEST_PARK_AFTERNOON"), - 5328: .same(proto: "BADGE_GOFEST_2022_SAPPORO_TEST_CITY_MORNING"), - 5329: .same(proto: "BADGE_GOFEST_2022_SAPPORO_TEST_CITY_AFTERNOON"), - 5330: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_01_PARK_MORNING"), - 5331: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_01_PARK_AFTERNOON"), - 5332: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_01_CITY_MORNING"), - 5333: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_01_CITY_AFTERNOON"), - 5334: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_02_PARK_MORNING"), - 5335: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_02_PARK_AFTERNOON"), - 5336: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_02_CITY_MORNING"), - 5337: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_02_CITY_AFTERNOON"), - 5338: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_03_PARK_MORNING"), - 5339: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_03_PARK_AFTERNOON"), - 5340: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_03_CITY_MORNING"), - 5341: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_03_CITY_AFTERNOON"), - 5342: .same(proto: "BADGE_GOFEST_2022_BERLIN_ADDON_HATCH_TEST"), - 5343: .same(proto: "BADGE_GOFEST_2022_BERLIN_ADDON_HATCH"), - 5344: .same(proto: "BADGE_GOFEST_2022_BERLIN_ADDON_RAID_TEST"), - 5345: .same(proto: "BADGE_GOFEST_2022_BERLIN_ADDON_RAID"), - 5346: .same(proto: "BADGE_GOFEST_2022_SEATTLE_ADDON_HATCH_TEST"), - 5347: .same(proto: "BADGE_GOFEST_2022_SEATTLE_ADDON_HATCH"), - 5348: .same(proto: "BADGE_GOFEST_2022_SEATTLE_ADDON_RAID_TEST"), - 5349: .same(proto: "BADGE_GOFEST_2022_SEATTLE_ADDON_RAID"), - 5350: .same(proto: "BADGE_GOFEST_2022_SAPPORO_ADDON_HATCH_TEST"), - 5351: .same(proto: "BADGE_GOFEST_2022_SAPPORO_ADDON_HATCH"), - 5352: .same(proto: "BADGE_GOFEST_2022_SAPPORO_ADDON_RAID_TEST"), - 5353: .same(proto: "BADGE_GOFEST_2022_SAPPORO_ADDON_RAID"), - 5354: .same(proto: "BADGE_EVENT_0063"), - 5355: .same(proto: "BADGE_EVENT_0064"), - 5356: .same(proto: "BADGE_EVENT_0065"), - 5357: .same(proto: "BADGE_EVENT_0066"), - 5358: .same(proto: "BADGE_EVENT_0067"), - 5359: .same(proto: "BADGE_EVENT_0068"), - 5360: .same(proto: "BADGE_EVENT_0069"), - 5361: .same(proto: "BADGE_EVENT_0070"), - 5362: .same(proto: "BADGE_EVENT_0071"), - 5363: .same(proto: "BADGE_EVENT_0072"), - 5364: .same(proto: "BADGE_EVENT_0073"), - 5365: .same(proto: "BADGE_EVENT_0074"), - 5366: .same(proto: "BADGE_EVENT_0075"), - 5367: .same(proto: "BADGE_EVENT_0076"), - 5368: .same(proto: "BADGE_EVENT_0077"), - 5369: .same(proto: "BADGE_EVENT_0078"), - 5370: .same(proto: "BADGE_EVENT_0079"), - 5371: .same(proto: "BADGE_EVENT_0080"), - 5372: .same(proto: "BADGE_EVENT_0081"), - 5373: .same(proto: "BADGE_EVENT_0082"), - 5374: .same(proto: "BADGE_EVENT_0083"), - 5375: .same(proto: "BADGE_EVENT_0084"), - 5376: .same(proto: "BADGE_EVENT_0085"), - 5377: .same(proto: "BADGE_EVENT_0086"), - 5378: .same(proto: "BADGE_EVENT_0087"), - 5379: .same(proto: "BADGE_EVENT_0088"), - 5380: .same(proto: "BADGE_EVENT_0089"), - 5381: .same(proto: "BADGE_EVENT_0090"), - 5382: .same(proto: "BADGE_EVENT_0091"), - 5383: .same(proto: "BADGE_EVENT_0092"), - 5384: .same(proto: "BADGE_EVENT_0093"), - 5385: .same(proto: "BADGE_EVENT_0094"), - 5386: .same(proto: "BADGE_EVENT_0095"), - 5387: .same(proto: "BADGE_EVENT_0096"), - 5388: .same(proto: "BADGE_EVENT_0097"), - 5389: .same(proto: "BADGE_EVENT_0098"), - 5390: .same(proto: "BADGE_EVENT_0099"), - 5391: .same(proto: "BADGE_EVENT_0100"), - 5392: .same(proto: "BADGE_EVENT_0101"), - 5393: .same(proto: "BADGE_EVENT_0102"), - 5394: .same(proto: "BADGE_EVENT_0103"), - 5395: .same(proto: "BADGE_EVENT_0104"), - 5396: .same(proto: "BADGE_EVENT_0105"), - 5397: .same(proto: "BADGE_EVENT_0106"), - 5398: .same(proto: "BADGE_EVENT_0107"), - 5399: .same(proto: "BADGE_EVENT_0108"), - 5400: .same(proto: "BADGE_EVENT_0109"), - 5401: .same(proto: "BADGE_EVENT_0110"), - 5402: .same(proto: "BADGE_EVENT_0111"), - 5403: .same(proto: "BADGE_EVENT_0112"), - 5404: .same(proto: "BADGE_EVENT_0113"), - 5405: .same(proto: "BADGE_EVENT_0114"), - 5406: .same(proto: "BADGE_EVENT_0115"), - 5407: .same(proto: "BADGE_EVENT_0116"), - 5408: .same(proto: "BADGE_EVENT_0117"), - 5409: .same(proto: "BADGE_EVENT_0118"), - 5410: .same(proto: "BADGE_EVENT_0119"), - 5411: .same(proto: "BADGE_EVENT_0120"), - 5412: .same(proto: "BADGE_EVENT_0121"), - 5413: .same(proto: "BADGE_EVENT_0122"), - 5414: .same(proto: "BADGE_EVENT_0123"), - 5415: .same(proto: "BADGE_EVENT_0124"), - 5416: .same(proto: "BADGE_EVENT_0125"), - 5417: .same(proto: "BADGE_EVENT_0126"), - 5418: .same(proto: "BADGE_EVENT_0127"), - 5419: .same(proto: "BADGE_EVENT_0128"), - 5420: .same(proto: "BADGE_EVENT_0129"), - 5421: .same(proto: "BADGE_EVENT_0130"), - 5422: .same(proto: "BADGE_EVENT_0131"), - 5423: .same(proto: "BADGE_EVENT_0132"), - 5424: .same(proto: "BADGE_EVENT_0133"), - 5425: .same(proto: "BADGE_EVENT_0134"), - 5426: .same(proto: "BADGE_EVENT_0135"), - 5427: .same(proto: "BADGE_EVENT_0136"), - 5428: .same(proto: "BADGE_EVENT_0137"), - 5429: .same(proto: "BADGE_EVENT_0138"), - 5430: .same(proto: "BADGE_EVENT_0139"), - 5431: .same(proto: "BADGE_EVENT_0140"), - 5432: .same(proto: "BADGE_EVENT_0141"), - 5433: .same(proto: "BADGE_EVENT_0142"), - 5434: .same(proto: "BADGE_EVENT_0143"), - 5435: .same(proto: "BADGE_EVENT_0144"), - 5436: .same(proto: "BADGE_EVENT_0145"), - 5437: .same(proto: "BADGE_EVENT_0146"), - 5438: .same(proto: "BADGE_EVENT_0147"), - 5439: .same(proto: "BADGE_EVENT_0148"), - 5440: .same(proto: "BADGE_EVENT_0149"), - 5441: .same(proto: "BADGE_EVENT_0150"), - 5442: .same(proto: "BADGE_EVENT_0151"), - 5443: .same(proto: "BADGE_EVENT_0152"), - 5444: .same(proto: "BADGE_EVENT_0153"), - 5445: .same(proto: "BADGE_EVENT_0154"), - 5446: .same(proto: "BADGE_EVENT_0155"), - 5447: .same(proto: "BADGE_EVENT_0156"), - 5448: .same(proto: "BADGE_EVENT_0157"), - 5449: .same(proto: "BADGE_EVENT_0158"), - 5450: .same(proto: "BADGE_EVENT_0159"), - 5451: .same(proto: "BADGE_EVENT_0160"), - 5452: .same(proto: "BADGE_EVENT_0161"), - 5453: .same(proto: "BADGE_EVENT_0162"), - 5454: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_00_EARLYACCESS"), - 5455: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_00_GENERAL"), - 5456: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_01_EARLYACCESS"), - 5457: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_01_GENERAL"), - 5458: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_02_EARLYACCESS"), - 5459: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_02_GENERAL"), - 5460: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_03_EARLYACCESS"), - 5461: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_03_GENERAL"), - 5462: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_00_EARLYACCESS_TEST"), - 5463: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_00_GENERAL_TEST"), - 5464: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_01_EARLYACCESS_TEST"), - 5465: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_01_GENERAL_TEST"), - 5466: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_02_EARLYACCESS_TEST"), - 5467: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_02_GENERAL_TEST"), - 5468: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_03_EARLYACCESS_TEST"), - 5469: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_03_GENERAL_TEST"), - 5470: .same(proto: "BADGE_GOTOUR_2023_RUBY_TEST"), - 5471: .same(proto: "BADGE_GOTOUR_2023_SAPPHIRE_TEST"), - 5472: .same(proto: "BADGE_GOTOUR_2023_RUBY_GLOBAL"), - 5473: .same(proto: "BADGE_GOTOUR_2023_SAPPHIRE_GLOBAL"), - 5474: .same(proto: "BADGE_GOTOUR_LIVE_2023_DAY_00"), - 5475: .same(proto: "BADGE_GOTOUR_LIVE_2023_DAY_01"), - 5476: .same(proto: "BADGE_GOTOUR_LIVE_2023_DAY_02"), - 5477: .same(proto: "BADGE_GOTOUR_2023_HATCH_ADDON_TEST"), - 5478: .same(proto: "BADGE_GOTOUR_2023_RAID_ADDON_TEST"), - 5479: .same(proto: "BADGE_GOTOUR_2023_HATCH_ADDON"), - 5480: .same(proto: "BADGE_GOTOUR_2023_RAID_ADDON"), - 5481: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY1_CITY"), - 5482: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY2_CITY"), - 5483: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY3_CITY"), - 5484: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY1_EXTENDED"), - 5485: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY2_EXTENDED"), - 5486: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY3_EXTENDED"), - 5487: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY1_PARK_MORNING"), - 5488: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY2_PARK_MORNING"), - 5489: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY3_PARK_MORNING"), - 5490: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY1_PARK_AFTERNOON"), - 5491: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY2_PARK_AFTERNOON"), - 5492: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY3_PARK_AFTERNOON"), - 5493: .same(proto: "BADGE_GOFEST_2023_OSAKA_ADDON_HATCH"), - 5494: .same(proto: "BADGE_GOFEST_2023_OSAKA_ADDON_RAID"), - 5495: .same(proto: "BADGE_GOFEST_2023_OSAKA_VIP"), - 5496: .same(proto: "BADGE_GOFEST_2023_OSAKA_ADDON_HATCH_TEST"), - 5497: .same(proto: "BADGE_GOFEST_2023_OSAKA_ADDON_RAID_TEST"), - 5498: .same(proto: "BADGE_GOFEST_2023_OSAKA_PARK_TEST"), - 5499: .same(proto: "BADGE_GOFEST_2023_OSAKA_PARK_2_TEST"), - 5500: .same(proto: "BADGE_GOFEST_2023_OSAKA_CITY_TEST"), - 5501: .same(proto: "BADGE_GOFEST_2023_OSAKA_CITY_2_TEST"), - 5502: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY1_CITY"), - 5503: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY2_CITY"), - 5504: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY3_CITY"), - 5505: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY1_EXTENDED"), - 5506: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY2_EXTENDED"), - 5507: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY3_EXTENDED"), - 5508: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY1_PARK_MORNING"), - 5509: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY2_PARK_MORNING"), - 5510: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY3_PARK_MORNING"), - 5511: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY1_PARK_AFTERNOON"), - 5512: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY2_PARK_AFTERNOON"), - 5513: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY3_PARK_AFTERNOON"), - 5514: .same(proto: "BADGE_GOFEST_2023_LONDON_ADDON_HATCH"), - 5515: .same(proto: "BADGE_GOFEST_2023_LONDON_ADDON_RAID"), - 5516: .same(proto: "BADGE_GOFEST_2023_LONDON_VIP"), - 5517: .same(proto: "BADGE_GOFEST_2023_LONDON_ADDON_HATCH_TEST"), - 5518: .same(proto: "BADGE_GOFEST_2023_LONDON_ADDON_RAID_TEST"), - 5519: .same(proto: "BADGE_GOFEST_2023_LONDON_PARK_TEST"), - 5520: .same(proto: "BADGE_GOFEST_2023_LONDON_PARK_2_TEST"), - 5521: .same(proto: "BADGE_GOFEST_2023_LONDON_CITY_TEST"), - 5522: .same(proto: "BADGE_GOFEST_2023_LONDON_CITY_2_TEST"), - 5523: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY1_CITY"), - 5524: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY2_CITY"), - 5525: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY3_CITY"), - 5526: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY1_EXTENDED"), - 5527: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY2_EXTENDED"), - 5528: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY3_EXTENDED"), - 5529: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY1_PARK_MORNING"), - 5530: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY2_PARK_MORNING"), - 5531: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY3_PARK_MORNING"), - 5532: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY1_PARK_AFTERNOON"), - 5533: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY2_PARK_AFTERNOON"), - 5534: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY3_PARK_AFTERNOON"), - 5535: .same(proto: "BADGE_GOFEST_2023_NEWYORK_ADDON_HATCH"), - 5536: .same(proto: "BADGE_GOFEST_2023_NEWYORK_ADDON_RAID"), - 5537: .same(proto: "BADGE_GOFEST_2023_NEWYORK_VIP"), - 5538: .same(proto: "BADGE_GOFEST_2023_NEWYORK_ADDON_HATCH_TEST"), - 5539: .same(proto: "BADGE_GOFEST_2023_NEWYORK_ADDON_RAID_TEST"), - 5540: .same(proto: "BADGE_GOFEST_2023_NEWYORK_PARK_TEST"), - 5541: .same(proto: "BADGE_GOFEST_2023_NEWYORK_PARK_2_TEST"), - 5542: .same(proto: "BADGE_GOFEST_2023_NEWYORK_CITY_TEST"), - 5543: .same(proto: "BADGE_GOFEST_2023_NEWYORK_CITY_2_TEST"), - 5544: .same(proto: "BADGE_GOFEST_2023_GLOBAL"), - 5545: .same(proto: "BADGE_GOFEST_2023_TEST"), - 5546: .same(proto: "BADGE_SAFARI_2023_SEOUL_DAY_00"), - 5547: .same(proto: "BADGE_SAFARI_2023_SEOUL_DAY_01"), - 5548: .same(proto: "BADGE_SAFARI_2023_SEOUL_DAY_02"), - 5549: .same(proto: "BADGE_SAFARI_2023_SEOUL_ADD_ON_HATCH"), - 5550: .same(proto: "BADGE_SAFARI_2023_SEOUL_ADD_ON_RAID"), - 5551: .same(proto: "BADGE_SAFARI_2023_BARCELONA_DAY_00"), - 5552: .same(proto: "BADGE_SAFARI_2023_BARCELONA_DAY_01"), - 5553: .same(proto: "BADGE_SAFARI_2023_BARCELONA_DAY_02"), - 5554: .same(proto: "BADGE_SAFARI_2023_BARCELONA_ADD_ON_HATCH"), - 5555: .same(proto: "BADGE_SAFARI_2023_BARCELONA_ADD_ON_RAID"), - 5556: .same(proto: "BADGE_SAFARI_2023_MEXCITY_DAY_00"), - 5557: .same(proto: "BADGE_SAFARI_2023_MEXCITY_DAY_01"), - 5558: .same(proto: "BADGE_SAFARI_2023_MEXCITY_DAY_02"), - 5559: .same(proto: "BADGE_SAFARI_2023_MEXCITY_ADD_ON_HATCH"), - 5560: .same(proto: "BADGE_SAFARI_2023_MEXCITY_ADD_ON_RAID"), - ] + public var staminaIvOverride: VsSeekerPokemonRewardsProto.OverrideIvRangeProto { + get {return _storage._staminaIvOverride ?? VsSeekerPokemonRewardsProto.OverrideIvRangeProto()} + set {_uniqueStorage()._staminaIvOverride = newValue} + } + /// Returns true if `staminaIvOverride` has been explicitly set. + public var hasStaminaIvOverride: Bool {return _storage._staminaIvOverride != nil} + /// Clears the value of `staminaIvOverride`. Subsequent reads from it will return its default value. + public mutating func clearStaminaIvOverride() {_uniqueStorage()._staminaIvOverride = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_RewardType: Equatable { + case pokemon(PokemonEncounterRewardProto) + case limitedPokemonReward(LimitedEditionPokemonEncounterRewardProto) + case guaranteedLimitedPokemonReward(LimitedEditionPokemonEncounterRewardProto) + + #if !swift(>=4.1) + public static func ==(lhs: VsSeekerPokemonRewardsProto.PokemonUnlockProto.OneOf_RewardType, rhs: VsSeekerPokemonRewardsProto.PokemonUnlockProto.OneOf_RewardType) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.pokemon, .pokemon): return { + guard case .pokemon(let l) = lhs, case .pokemon(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.limitedPokemonReward, .limitedPokemonReward): return { + guard case .limitedPokemonReward(let l) = lhs, case .limitedPokemonReward(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.guaranteedLimitedPokemonReward, .guaranteedLimitedPokemonReward): return { + guard case .guaranteedLimitedPokemonReward(let l) = lhs, case .guaranteedLimitedPokemonReward(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} + + fileprivate var _storage = _StorageClass.defaultInstance + } + + public init() {} } -extension HoloIapItemCategory: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "IAP_CATEGORY_NONE"), - 1: .same(proto: "IAP_CATEGORY_BUNDLE"), - 2: .same(proto: "IAP_CATEGORY_ITEMS"), - 3: .same(proto: "IAP_CATEGORY_UPGRADES"), - 4: .same(proto: "IAP_CATEGORY_POKECOINS"), - 5: .same(proto: "IAP_CATEGORY_AVATAR"), - 6: .same(proto: "IAP_CATEGORY_AVATAR_STORE_LINK"), - 7: .same(proto: "IAP_CATEGORY_TEAM_CHANGE"), - 8: .same(proto: "IAP_CATEGORY_ROUTE_MAKER"), - 10: .same(proto: "IAP_CATEGORY_GLOBAL_EVENT_TICKET"), - 11: .same(proto: "IAP_CATEGORY_VS_SEEKER"), - 12: .same(proto: "IAP_CATEGORY_STICKER"), - 13: .same(proto: "IAP_CATEGORY_FREE"), - 14: .same(proto: "IAP_CATEGORY_SUBSCRIPTION"), - 15: .same(proto: "IAP_CATEGORY_TRANSPORTER_ENERGY"), - 16: .same(proto: "IAP_CATEGORY_POSTCARD"), - ] +public struct VsSeekerRewardEncounterOutProto { + // 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. + + public var result: VsSeekerRewardEncounterOutProto.Result = .vsSeekerEncounterUnknown + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var captureProbability: CaptureProbabilityProto { + get {return _captureProbability ?? CaptureProbabilityProto()} + set {_captureProbability = newValue} + } + /// Returns true if `captureProbability` has been explicitly set. + public var hasCaptureProbability: Bool {return self._captureProbability != nil} + /// Clears the value of `captureProbability`. Subsequent reads from it will return its default value. + public mutating func clearCaptureProbability() {self._captureProbability = nil} + + public var activeItem: Item = .unknown + + public var encounterID: UInt64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case vsSeekerEncounterUnknown // = 0 + case vsSeekerEncounterSuccess // = 1 + case vsSeekerEncounterAlreadyFinished // = 2 + case errorPlayerNotEnoughVictories // = 3 + case errorPokemonInventoryFull // = 4 + case errorRedeemItem // = 5 + case UNRECOGNIZED(Int) + + public init() { + self = .vsSeekerEncounterUnknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .vsSeekerEncounterUnknown + case 1: self = .vsSeekerEncounterSuccess + case 2: self = .vsSeekerEncounterAlreadyFinished + case 3: self = .errorPlayerNotEnoughVictories + case 4: self = .errorPokemonInventoryFull + case 5: self = .errorRedeemItem + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .vsSeekerEncounterUnknown: return 0 + case .vsSeekerEncounterSuccess: return 1 + case .vsSeekerEncounterAlreadyFinished: return 2 + case .errorPlayerNotEnoughVictories: return 3 + case .errorPokemonInventoryFull: return 4 + case .errorRedeemItem: return 5 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil + fileprivate var _captureProbability: CaptureProbabilityProto? = nil } -extension HoloItemCategory: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ITEM_CATEGORY_NONE"), - 1: .same(proto: "ITEM_CATEGORY_POKEBALL"), - 2: .same(proto: "ITEM_CATEGORY_FOOD"), - 3: .same(proto: "ITEM_CATEGORY_MEDICINE"), - 4: .same(proto: "ITEM_CATEGORY_BOOST"), - 5: .same(proto: "ITEM_CATEGORY_UTILITES"), - 6: .same(proto: "ITEM_CATEGORY_CAMERA"), - 7: .same(proto: "ITEM_CATEGORY_DISK"), - 8: .same(proto: "ITEM_CATEGORY_INCUBATOR"), - 9: .same(proto: "ITEM_CATEGORY_INCENSE"), - 10: .same(proto: "ITEM_CATEGORY_XP_BOOST"), - 11: .same(proto: "ITEM_CATEGORY_INVENTORY_UPGRADE"), - 12: .same(proto: "ITEM_CATEGORY_EVOLUTION_REQUIREMENT"), - 13: .same(proto: "ITEM_CATEGORY_MOVE_REROLL"), - 14: .same(proto: "ITEM_CATEGORY_CANDY"), - 15: .same(proto: "ITEM_CATEGORY_RAID_TICKET"), - 16: .same(proto: "ITEM_CATEGORY_STARDUST_BOOST"), - 17: .same(proto: "ITEM_CATEGORY_FRIEND_GIFT_BOX"), - 18: .same(proto: "ITEM_CATEGORY_TEAM_CHANGE"), - 19: .same(proto: "ITEM_CATEGORY_ROUTE_MAKER"), - 20: .same(proto: "ITEM_CATEGORY_VS_SEEKER"), - 21: .same(proto: "ITEM_CATEGORY_INCIDENT_TICKET"), - 22: .same(proto: "ITEM_CATEGORY_GLOBAL_EVENT_TICKET"), - 23: .same(proto: "ITEM_CATEGORY_BUDDY_EXCLUSIVE_FOOD"), - 24: .same(proto: "ITEM_CATEGORY_STICKER"), - 25: .same(proto: "ITEM_CATEGORY_POSTCARD_INVENTORY"), - 26: .same(proto: "ITEM_CATEGORY_EVENT_TICKET_GIFT"), +#if swift(>=4.2) + +extension VsSeekerRewardEncounterOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [VsSeekerRewardEncounterOutProto.Result] = [ + .vsSeekerEncounterUnknown, + .vsSeekerEncounterSuccess, + .vsSeekerEncounterAlreadyFinished, + .errorPlayerNotEnoughVictories, + .errorPokemonInventoryFull, + .errorRedeemItem, ] } -extension HoloItemEffect: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ITEM_EFFECT_NONE"), - 1000: .same(proto: "ITEM_EFFECT_CAP_NO_FLEE"), - 1002: .same(proto: "ITEM_EFFECT_CAP_NO_MOVEMENT"), - 1003: .same(proto: "ITEM_EFFECT_CAP_NO_THREAT"), - 1004: .same(proto: "ITEM_EFFECT_CAP_TARGET_MAX"), - 1005: .same(proto: "ITEM_EFFECT_CAP_TARGET_SLOW"), - 1006: .same(proto: "ITEM_EFFECT_CAP_CHANCE_NIGHT"), - 1007: .same(proto: "ITEM_EFFECT_CAP_CHANCE_TRAINER"), - 1008: .same(proto: "ITEM_EFFECT_CAP_CHANCE_FIRST_THROW"), - 1009: .same(proto: "ITEM_EFFECT_CAP_CHANCE_LEGEND"), - 1010: .same(proto: "ITEM_EFFECT_CAP_CHANCE_HEAVY"), - 1011: .same(proto: "ITEM_EFFECT_CAP_CHANCE_REPEAT"), - 1012: .same(proto: "ITEM_EFFECT_CAP_CHANCE_MULTI_THROW"), - 1013: .same(proto: "ITEM_EFFECT_CAP_CHANCE_ALWAYS"), - 1014: .same(proto: "ITEM_EFFECT_CAP_CHANCE_SINGLE_THROW"), - 1015: .same(proto: "ITEM_EFFECT_CANDY_AWARD"), - 1016: .same(proto: "ITEM_EFFECT_FULL_MOTIVATION"), - ] +#endif // swift(>=4.2) + +public struct VsSeekerRewardEncounterProto { + // 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. + + public var winIndex: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension HoloItemType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ITEM_TYPE_NONE"), - 1: .same(proto: "ITEM_TYPE_POKEBALL"), - 2: .same(proto: "ITEM_TYPE_POTION"), - 3: .same(proto: "ITEM_TYPE_REVIVE"), - 4: .same(proto: "ITEM_TYPE_MAP"), - 5: .same(proto: "ITEM_TYPE_BATTLE"), - 6: .same(proto: "ITEM_TYPE_FOOD"), - 7: .same(proto: "ITEM_TYPE_CAMERA"), - 8: .same(proto: "ITEM_TYPE_DISK"), - 9: .same(proto: "ITEM_TYPE_INCUBATOR"), - 10: .same(proto: "ITEM_TYPE_INCENSE"), - 11: .same(proto: "ITEM_TYPE_XP_BOOST"), - 12: .same(proto: "ITEM_TYPE_INVENTORY_UPGRADE"), - 13: .same(proto: "ITEM_TYPE_EVOLUTION_REQUIREMENT"), - 14: .same(proto: "ITEM_TYPE_MOVE_REROLL"), - 15: .same(proto: "ITEM_TYPE_CANDY"), - 16: .same(proto: "ITEM_TYPE_RAID_TICKET"), - 17: .same(proto: "ITEM_TYPE_STARDUST_BOOST"), - 18: .same(proto: "ITEM_TYPE_FRIEND_GIFT_BOX"), - 19: .same(proto: "ITEM_TYPE_TEAM_CHANGE"), - 20: .same(proto: "ITEM_TYPE_ROUTE_MAKER"), - 21: .same(proto: "ITEM_TYPE_VS_SEEKER_BATTLE_NOW"), - 22: .same(proto: "ITEM_TYPE_INCIDENT_TICKET"), - 23: .same(proto: "ITEM_TYPE_GLOBAL_EVENT_TICKET"), - 24: .same(proto: "ITEM_TYPE_STICKER_INVENTORY"), - 25: .same(proto: "ITEM_TYPE_POSTCARD_INVENTORY"), - 26: .same(proto: "ITEM_TYPE_EVENT_TICKET_GIFT"), - 27: .same(proto: "ITEM_TYPE_BREAKFAST"), - ] +public struct VsSeekerScheduleProto { + // 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. + + public var startTimeMs: Int64 = 0 + + public var endTimeMs: Int64 = 0 + + public var vsSeekerLeagueTemplateID: [String] = [] + + public var specialConditions: [VsSeekerSpecialCondition] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension HoloPokemonClass: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKEMON_CLASS_NORMAL"), - 1: .same(proto: "POKEMON_CLASS_LEGENDARY"), - 2: .same(proto: "POKEMON_CLASS_MYTHIC"), - 3: .same(proto: "POKEMON_CLASS_ULTRA_BEAST"), - ] +public struct VsSeekerScheduleSettingsProto { + // 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. + + public var enabledCombatHubMain: Bool = false + + public var enabledCombatLeagueView: Bool = false + + public var enabledTodayView: Bool = false + + public var seasonSchedules: [VsSeekerSeasonSchedule] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension HoloPokemonEggType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "EGG_TYPE_UNSET"), - 1: .same(proto: "EGG_TYPE_SHADOW"), +public struct VsSeekerSeasonSchedule { + // 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. + + public var seasonTitle: String = String() + + public var descriptionKey: String = String() + + public var vsSeekerSchedules: [VsSeekerScheduleProto] = [] + + public var blogURL: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct VsSeekerSetLogEntry { + // 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. + + public var result: VsSeekerSetLogEntry.Result = .unset + + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var newRank: Int32 = 0 + + public var newRating: Float = 0 + + public var previousRank: Int32 = 0 + + public var previousRating: Float = 0 + + public var numberOfWins: Int32 = 0 + + public var numberOfBattles: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _rewards: LootProto? = nil +} + +#if swift(>=4.2) + +extension VsSeekerSetLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [VsSeekerSetLogEntry.Result] = [ + .unset, + .success, ] } -extension HoloPokemonFamilyId: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "FAMILY_UNSET"), - 1: .same(proto: "FAMILY_BULBASAUR"), - 4: .same(proto: "FAMILY_CHARMANDER"), - 7: .same(proto: "FAMILY_SQUIRTLE"), - 10: .same(proto: "FAMILY_CATERPIE"), - 13: .same(proto: "FAMILY_WEEDLE"), - 16: .same(proto: "FAMILY_PIDGEY"), - 19: .same(proto: "FAMILY_RATTATA"), - 21: .same(proto: "FAMILY_SPEAROW"), - 23: .same(proto: "FAMILY_EKANS"), - 25: .same(proto: "FAMILY_PIKACHU"), - 27: .same(proto: "FAMILY_SANDSHREW"), - 29: .same(proto: "FAMILY_NIDORAN_FEMALE"), - 32: .same(proto: "FAMILY_NIDORAN_MALE"), - 35: .same(proto: "FAMILY_CLEFAIRY"), - 37: .same(proto: "FAMILY_VULPIX"), - 39: .same(proto: "FAMILY_JIGGLYPUFF"), - 41: .same(proto: "FAMILY_ZUBAT"), - 43: .same(proto: "FAMILY_ODDISH"), - 46: .same(proto: "FAMILY_PARAS"), - 48: .same(proto: "FAMILY_VENONAT"), - 50: .same(proto: "FAMILY_DIGLETT"), - 52: .same(proto: "FAMILY_MEOWTH"), - 54: .same(proto: "FAMILY_PSYDUCK"), - 56: .same(proto: "FAMILY_MANKEY"), - 58: .same(proto: "FAMILY_GROWLITHE"), - 60: .same(proto: "FAMILY_POLIWAG"), - 63: .same(proto: "FAMILY_ABRA"), - 66: .same(proto: "FAMILY_MACHOP"), - 69: .same(proto: "FAMILY_BELLSPROUT"), - 72: .same(proto: "FAMILY_TENTACOOL"), - 74: .same(proto: "FAMILY_GEODUDE"), - 77: .same(proto: "FAMILY_PONYTA"), - 79: .same(proto: "FAMILY_SLOWPOKE"), - 81: .same(proto: "FAMILY_MAGNEMITE"), - 83: .same(proto: "FAMILY_FARFETCHD"), - 84: .same(proto: "FAMILY_DODUO"), - 86: .same(proto: "FAMILY_SEEL"), - 88: .same(proto: "FAMILY_GRIMER"), - 90: .same(proto: "FAMILY_SHELLDER"), - 92: .same(proto: "FAMILY_GASTLY"), - 95: .same(proto: "FAMILY_ONIX"), - 96: .same(proto: "FAMILY_DROWZEE"), - 98: .same(proto: "FAMILY_KRABBY"), - 100: .same(proto: "FAMILY_VOLTORB"), - 102: .same(proto: "FAMILY_EXEGGCUTE"), - 104: .same(proto: "FAMILY_CUBONE"), - 106: .same(proto: "FAMILY_HITMONLEE"), - 107: .same(proto: "FAMILY_HITMONCHAN"), - 108: .same(proto: "FAMILY_LICKITUNG"), - 109: .same(proto: "FAMILY_KOFFING"), - 111: .same(proto: "FAMILY_RHYHORN"), - 113: .same(proto: "FAMILY_CHANSEY"), - 114: .same(proto: "FAMILY_TANGELA"), - 115: .same(proto: "FAMILY_KANGASKHAN"), - 116: .same(proto: "FAMILY_HORSEA"), - 118: .same(proto: "FAMILY_GOLDEEN"), - 120: .same(proto: "FAMILY_STARYU"), - 122: .same(proto: "FAMILY_MR_MIME"), - 123: .same(proto: "FAMILY_SCYTHER"), - 124: .same(proto: "FAMILY_JYNX"), - 125: .same(proto: "FAMILY_ELECTABUZZ"), - 126: .same(proto: "FAMILY_MAGMAR"), - 127: .same(proto: "FAMILY_PINSIR"), - 128: .same(proto: "FAMILY_TAUROS"), - 129: .same(proto: "FAMILY_MAGIKARP"), - 131: .same(proto: "FAMILY_LAPRAS"), - 132: .same(proto: "FAMILY_DITTO"), - 133: .same(proto: "FAMILY_EEVEE"), - 137: .same(proto: "FAMILY_PORYGON"), - 138: .same(proto: "FAMILY_OMANYTE"), - 140: .same(proto: "FAMILY_KABUTO"), - 142: .same(proto: "FAMILY_AERODACTYL"), - 143: .same(proto: "FAMILY_SNORLAX"), - 144: .same(proto: "FAMILY_ARTICUNO"), - 145: .same(proto: "FAMILY_ZAPDOS"), - 146: .same(proto: "FAMILY_MOLTRES"), - 147: .same(proto: "FAMILY_DRATINI"), - 150: .same(proto: "FAMILY_MEWTWO"), - 151: .same(proto: "FAMILY_MEW"), - 152: .same(proto: "FAMILY_CHIKORITA"), - 155: .same(proto: "FAMILY_CYNDAQUIL"), - 158: .same(proto: "FAMILY_TOTODILE"), - 161: .same(proto: "FAMILY_SENTRET"), - 163: .same(proto: "FAMILY_HOOTHOOT"), - 165: .same(proto: "FAMILY_LEDYBA"), - 167: .same(proto: "FAMILY_SPINARAK"), - 170: .same(proto: "FAMILY_CHINCHOU"), - 175: .same(proto: "FAMILY_TOGEPI"), - 177: .same(proto: "FAMILY_NATU"), - 179: .same(proto: "FAMILY_MAREEP"), - 183: .same(proto: "FAMILY_MARILL"), - 185: .same(proto: "FAMILY_SUDOWOODO"), - 187: .same(proto: "FAMILY_HOPPIP"), - 190: .same(proto: "FAMILY_AIPOM"), - 191: .same(proto: "FAMILY_SUNKERN"), - 193: .same(proto: "FAMILY_YANMA"), - 194: .same(proto: "FAMILY_WOOPER"), - 198: .same(proto: "FAMILY_MURKROW"), - 200: .same(proto: "FAMILY_MISDREAVUS"), - 201: .same(proto: "FAMILY_UNOWN"), - 202: .same(proto: "FAMILY_WOBBUFFET"), - 203: .same(proto: "FAMILY_GIRAFARIG"), - 204: .same(proto: "FAMILY_PINECO"), - 206: .same(proto: "FAMILY_DUNSPARCE"), - 207: .same(proto: "FAMILY_GLIGAR"), - 209: .same(proto: "FAMILY_SNUBBULL"), - 211: .same(proto: "FAMILY_QWILFISH"), - 213: .same(proto: "FAMILY_SHUCKLE"), - 214: .same(proto: "FAMILY_HERACROSS"), - 215: .same(proto: "FAMILY_SNEASEL"), - 216: .same(proto: "FAMILY_TEDDIURSA"), - 218: .same(proto: "FAMILY_SLUGMA"), - 220: .same(proto: "FAMILY_SWINUB"), - 222: .same(proto: "FAMILY_CORSOLA"), - 223: .same(proto: "FAMILY_REMORAID"), - 225: .same(proto: "FAMILY_DELIBIRD"), - 226: .same(proto: "FAMILY_MANTINE"), - 227: .same(proto: "FAMILY_SKARMORY"), - 228: .same(proto: "FAMILY_HOUNDOUR"), - 231: .same(proto: "FAMILY_PHANPY"), - 234: .same(proto: "FAMILY_STANTLER"), - 235: .same(proto: "FAMILY_SMEARGLE"), - 236: .same(proto: "FAMILY_TYROGUE"), - 241: .same(proto: "FAMILY_MILTANK"), - 243: .same(proto: "FAMILY_RAIKOU"), - 244: .same(proto: "FAMILY_ENTEI"), - 245: .same(proto: "FAMILY_SUICUNE"), - 246: .same(proto: "FAMILY_LARVITAR"), - 249: .same(proto: "FAMILY_LUGIA"), - 250: .same(proto: "FAMILY_HO_OH"), - 251: .same(proto: "FAMILY_CELEBI"), - 252: .same(proto: "FAMILY_TREECKO"), - 255: .same(proto: "FAMILY_TORCHIC"), - 258: .same(proto: "FAMILY_MUDKIP"), - 261: .same(proto: "FAMILY_POOCHYENA"), - 263: .same(proto: "FAMILY_ZIGZAGOON"), - 265: .same(proto: "FAMILY_WURMPLE"), - 270: .same(proto: "FAMILY_LOTAD"), - 273: .same(proto: "FAMILY_SEEDOT"), - 276: .same(proto: "FAMILY_TAILLOW"), - 278: .same(proto: "FAMILY_WINGULL"), - 280: .same(proto: "FAMILY_RALTS"), - 283: .same(proto: "FAMILY_SURSKIT"), - 285: .same(proto: "FAMILY_SHROOMISH"), - 287: .same(proto: "FAMILY_SLAKOTH"), - 290: .same(proto: "FAMILY_NINCADA"), - 293: .same(proto: "FAMILY_WHISMUR"), - 296: .same(proto: "FAMILY_MAKUHITA"), - 299: .same(proto: "FAMILY_NOSEPASS"), - 300: .same(proto: "FAMILY_SKITTY"), - 302: .same(proto: "FAMILY_SABLEYE"), - 303: .same(proto: "FAMILY_MAWILE"), - 304: .same(proto: "FAMILY_ARON"), - 307: .same(proto: "FAMILY_MEDITITE"), - 309: .same(proto: "FAMILY_ELECTRIKE"), - 311: .same(proto: "FAMILY_PLUSLE"), - 312: .same(proto: "FAMILY_MINUN"), - 313: .same(proto: "FAMILY_VOLBEAT"), - 314: .same(proto: "FAMILY_ILLUMISE"), - 315: .same(proto: "FAMILY_ROSELIA"), - 316: .same(proto: "FAMILY_GULPIN"), - 318: .same(proto: "FAMILY_CARVANHA"), - 320: .same(proto: "FAMILY_WAILMER"), - 322: .same(proto: "FAMILY_NUMEL"), - 324: .same(proto: "FAMILY_TORKOAL"), - 325: .same(proto: "FAMILY_SPOINK"), - 327: .same(proto: "FAMILY_SPINDA"), - 328: .same(proto: "FAMILY_TRAPINCH"), - 331: .same(proto: "FAMILY_CACNEA"), - 333: .same(proto: "FAMILY_SWABLU"), - 335: .same(proto: "FAMILY_ZANGOOSE"), - 336: .same(proto: "FAMILY_SEVIPER"), - 337: .same(proto: "FAMILY_LUNATONE"), - 338: .same(proto: "FAMILY_SOLROCK"), - 339: .same(proto: "FAMILY_BARBOACH"), - 341: .same(proto: "FAMILY_CORPHISH"), - 343: .same(proto: "FAMILY_BALTOY"), - 345: .same(proto: "FAMILY_LILEEP"), - 347: .same(proto: "FAMILY_ANORITH"), - 349: .same(proto: "FAMILY_FEEBAS"), - 351: .same(proto: "FAMILY_CASTFORM"), - 352: .same(proto: "FAMILY_KECLEON"), - 353: .same(proto: "FAMILY_SHUPPET"), - 355: .same(proto: "FAMILY_DUSKULL"), - 357: .same(proto: "FAMILY_TROPIUS"), - 358: .same(proto: "FAMILY_CHIMECHO"), - 359: .same(proto: "FAMILY_ABSOL"), - 361: .same(proto: "FAMILY_SNORUNT"), - 363: .same(proto: "FAMILY_SPHEAL"), - 366: .same(proto: "FAMILY_CLAMPERL"), - 369: .same(proto: "FAMILY_RELICANTH"), - 370: .same(proto: "FAMILY_LUVDISC"), - 371: .same(proto: "FAMILY_BAGON"), - 374: .same(proto: "FAMILY_BELDUM"), - 377: .same(proto: "FAMILY_REGIROCK"), - 378: .same(proto: "FAMILY_REGICE"), - 379: .same(proto: "FAMILY_REGISTEEL"), - 380: .same(proto: "FAMILY_LATIAS"), - 381: .same(proto: "FAMILY_LATIOS"), - 382: .same(proto: "FAMILY_KYOGRE"), - 383: .same(proto: "FAMILY_GROUDON"), - 384: .same(proto: "FAMILY_RAYQUAZA"), - 385: .same(proto: "FAMILY_JIRACHI"), - 386: .same(proto: "FAMILY_DEOXYS"), - 387: .same(proto: "FAMILY_TURTWIG"), - 390: .same(proto: "FAMILY_CHIMCHAR"), - 393: .same(proto: "FAMILY_PIPLUP"), - 396: .same(proto: "FAMILY_STARLY"), - 399: .same(proto: "FAMILY_BIDOOF"), - 401: .same(proto: "FAMILY_KRICKETOT"), - 403: .same(proto: "FAMILY_SHINX"), - 408: .same(proto: "FAMILY_CRANIDOS"), - 410: .same(proto: "FAMILY_SHIELDON"), - 412: .same(proto: "FAMILY_BURMY"), - 415: .same(proto: "FAMILY_COMBEE"), - 417: .same(proto: "FAMILY_PACHIRISU"), - 418: .same(proto: "FAMILY_BUIZEL"), - 420: .same(proto: "FAMILY_CHERUBI"), - 422: .same(proto: "FAMILY_SHELLOS"), - 425: .same(proto: "FAMILY_DRIFLOON"), - 427: .same(proto: "FAMILY_BUNEARY"), - 431: .same(proto: "FAMILY_GLAMEOW"), - 434: .same(proto: "FAMILY_STUNKY"), - 436: .same(proto: "FAMILY_BRONZOR"), - 441: .same(proto: "FAMILY_CHATOT"), - 442: .same(proto: "FAMILY_SPIRITOMB"), - 443: .same(proto: "FAMILY_GIBLE"), - 448: .same(proto: "FAMILY_LUCARIO"), - 449: .same(proto: "FAMILY_HIPPOPOTAS"), - 451: .same(proto: "FAMILY_SKORUPI"), - 453: .same(proto: "FAMILY_CROAGUNK"), - 455: .same(proto: "FAMILY_CARNIVINE"), - 456: .same(proto: "FAMILY_FINNEON"), - 459: .same(proto: "FAMILY_SNOVER"), - 479: .same(proto: "FAMILY_ROTOM"), - 480: .same(proto: "FAMILY_UXIE"), - 481: .same(proto: "FAMILY_MESPRIT"), - 482: .same(proto: "FAMILY_AZELF"), - 483: .same(proto: "FAMILY_DIALGA"), - 484: .same(proto: "FAMILY_PALKIA"), - 485: .same(proto: "FAMILY_HEATRAN"), - 486: .same(proto: "FAMILY_REGIGIGAS"), - 487: .same(proto: "FAMILY_GIRATINA"), - 488: .same(proto: "FAMILY_CRESSELIA"), - 489: .same(proto: "FAMILY_PHIONE"), - 490: .same(proto: "FAMILY_MANAPHY"), - 491: .same(proto: "FAMILY_DARKRAI"), - 492: .same(proto: "FAMILY_SHAYMIN"), - 493: .same(proto: "FAMILY_ARCEUS"), - 494: .same(proto: "FAMILY_VICTINI"), - 495: .same(proto: "FAMILY_SNIVY"), - 498: .same(proto: "FAMILY_TEPIG"), - 501: .same(proto: "FAMILY_OSHAWOTT"), - 504: .same(proto: "FAMILY_PATRAT"), - 506: .same(proto: "FAMILY_LILLIPUP"), - 509: .same(proto: "FAMILY_PURRLOIN"), - 511: .same(proto: "FAMILY_PANSAGE"), - 513: .same(proto: "FAMILY_PANSEAR"), - 515: .same(proto: "FAMILY_PANPOUR"), - 517: .same(proto: "FAMILY_MUNNA"), - 519: .same(proto: "FAMILY_PIDOVE"), - 522: .same(proto: "FAMILY_BLITZLE"), - 524: .same(proto: "FAMILY_ROGGENROLA"), - 527: .same(proto: "FAMILY_WOOBAT"), - 529: .same(proto: "FAMILY_DRILBUR"), - 531: .same(proto: "FAMILY_AUDINO"), - 532: .same(proto: "FAMILY_TIMBURR"), - 535: .same(proto: "FAMILY_TYMPOLE"), - 538: .same(proto: "FAMILY_THROH"), - 539: .same(proto: "FAMILY_SAWK"), - 540: .same(proto: "FAMILY_SEWADDLE"), - 543: .same(proto: "FAMILY_VENIPEDE"), - 546: .same(proto: "FAMILY_COTTONEE"), - 548: .same(proto: "FAMILY_PETILIL"), - 550: .same(proto: "FAMILY_BASCULIN"), - 551: .same(proto: "FAMILY_SANDILE"), - 554: .same(proto: "FAMILY_DARUMAKA"), - 556: .same(proto: "FAMILY_MARACTUS"), - 557: .same(proto: "FAMILY_DWEBBLE"), - 559: .same(proto: "FAMILY_SCRAGGY"), - 561: .same(proto: "FAMILY_SIGILYPH"), - 562: .same(proto: "FAMILY_YAMASK"), - 564: .same(proto: "FAMILY_TIRTOUGA"), - 566: .same(proto: "FAMILY_ARCHEN"), - 568: .same(proto: "FAMILY_TRUBBISH"), - 570: .same(proto: "FAMILY_ZORUA"), - 572: .same(proto: "FAMILY_MINCCINO"), - 574: .same(proto: "FAMILY_GOTHITA"), - 577: .same(proto: "FAMILY_SOLOSIS"), - 580: .same(proto: "FAMILY_DUCKLETT"), - 582: .same(proto: "FAMILY_VANILLITE"), - 585: .same(proto: "FAMILY_DEERLING"), - 587: .same(proto: "FAMILY_EMOLGA"), - 588: .same(proto: "FAMILY_KARRABLAST"), - 590: .same(proto: "FAMILY_FOONGUS"), - 592: .same(proto: "FAMILY_FRILLISH"), - 594: .same(proto: "FAMILY_ALOMOMOLA"), - 595: .same(proto: "FAMILY_JOLTIK"), - 597: .same(proto: "FAMILY_FERROSEED"), - 599: .same(proto: "FAMILY_KLINK"), - 602: .same(proto: "FAMILY_TYNAMO"), - 605: .same(proto: "FAMILY_ELGYEM"), - 607: .same(proto: "FAMILY_LITWICK"), - 610: .same(proto: "FAMILY_AXEW"), - 613: .same(proto: "FAMILY_CUBCHOO"), - 615: .same(proto: "FAMILY_CRYOGONAL"), - 616: .same(proto: "FAMILY_SHELMET"), - 618: .same(proto: "FAMILY_STUNFISK"), - 619: .same(proto: "FAMILY_MIENFOO"), - 621: .same(proto: "FAMILY_DRUDDIGON"), - 622: .same(proto: "FAMILY_GOLETT"), - 624: .same(proto: "FAMILY_PAWNIARD"), - 626: .same(proto: "FAMILY_BOUFFALANT"), - 627: .same(proto: "FAMILY_RUFFLET"), - 629: .same(proto: "FAMILY_VULLABY"), - 631: .same(proto: "FAMILY_HEATMOR"), - 632: .same(proto: "FAMILY_DURANT"), - 633: .same(proto: "FAMILY_DEINO"), - 636: .same(proto: "FAMILY_LARVESTA"), - 638: .same(proto: "FAMILY_COBALION"), - 639: .same(proto: "FAMILY_TERRAKION"), - 640: .same(proto: "FAMILY_VIRIZION"), - 641: .same(proto: "FAMILY_TORNADUS"), - 642: .same(proto: "FAMILY_THUNDURUS"), - 643: .same(proto: "FAMILY_RESHIRAM"), - 644: .same(proto: "FAMILY_ZEKROM"), - 645: .same(proto: "FAMILY_LANDORUS"), - 646: .same(proto: "FAMILY_KYUREM"), - 647: .same(proto: "FAMILY_KELDEO"), - 648: .same(proto: "FAMILY_MELOETTA"), - 649: .same(proto: "FAMILY_GENESECT"), - 650: .same(proto: "FAMILY_CHESPIN"), - 653: .same(proto: "FAMILY_FENNEKIN"), - 656: .same(proto: "FAMILY_FROAKIE"), - 659: .same(proto: "FAMILY_BUNNELBY"), - 661: .same(proto: "FAMILY_FLETCHLING"), - 664: .same(proto: "FAMILY_SCATTERBUG"), - 667: .same(proto: "FAMILY_LITLEO"), - 669: .same(proto: "FAMILY_FLABEBE"), - 672: .same(proto: "FAMILY_SKIDDO"), - 674: .same(proto: "FAMILY_PANCHAM"), - 676: .same(proto: "FAMILY_FURFROU"), - 677: .same(proto: "FAMILY_ESPURR"), - 679: .same(proto: "FAMILY_HONEDGE"), - 682: .same(proto: "FAMILY_SPRITZEE"), - 684: .same(proto: "FAMILY_SWIRLIX"), - 686: .same(proto: "FAMILY_INKAY"), - 688: .same(proto: "FAMILY_BINACLE"), - 690: .same(proto: "FAMILY_SKRELP"), - 692: .same(proto: "FAMILY_CLAUNCHER"), - 694: .same(proto: "FAMILY_HELIOPTILE"), - 696: .same(proto: "FAMILY_TYRUNT"), - 698: .same(proto: "FAMILY_AMAURA"), - 701: .same(proto: "FAMILY_HAWLUCHA"), - 702: .same(proto: "FAMILY_DEDENNE"), - 703: .same(proto: "FAMILY_CARBINK"), - 704: .same(proto: "FAMILY_GOOMY"), - 707: .same(proto: "FAMILY_KLEFKI"), - 708: .same(proto: "FAMILY_PHANTUMP"), - 710: .same(proto: "FAMILY_PUMPKABOO"), - 712: .same(proto: "FAMILY_BERGMITE"), - 714: .same(proto: "FAMILY_NOIBAT"), - 716: .same(proto: "FAMILY_XERNEAS"), - 717: .same(proto: "FAMILY_YVELTAL"), - 718: .same(proto: "FAMILY_ZYGARDE"), - 719: .same(proto: "FAMILY_DIANCIE"), - 720: .same(proto: "FAMILY_HOOPA"), - 721: .same(proto: "FAMILY_VOLCANION"), - 722: .same(proto: "FAMILY_ROWLET"), - 725: .same(proto: "FAMILY_LITTEN"), - 728: .same(proto: "FAMILY_POPPLIO"), - 731: .same(proto: "FAMILY_PIKIPEK"), - 734: .same(proto: "FAMILY_YUNGOOS"), - 736: .same(proto: "FAMILY_GRUBBIN"), - 739: .same(proto: "FAMILY_CRABRAWLER"), - 741: .same(proto: "FAMILY_ORICORIO"), - 742: .same(proto: "FAMILY_CUTIEFLY"), - 744: .same(proto: "FAMILY_ROCKRUFF"), - 746: .same(proto: "FAMILY_WISHIWASHI"), - 747: .same(proto: "FAMILY_MAREANIE"), - 749: .same(proto: "FAMILY_MUDBRAY"), - 751: .same(proto: "FAMILY_DEWPIDER"), - 753: .same(proto: "FAMILY_FOMANTIS"), - 755: .same(proto: "FAMILY_MORELULL"), - 757: .same(proto: "FAMILY_SALANDIT"), - 759: .same(proto: "FAMILY_STUFFUL"), - 761: .same(proto: "FAMILY_BOUNSWEET"), - 764: .same(proto: "FAMILY_COMFEY"), - 765: .same(proto: "FAMILY_ORANGURU"), - 766: .same(proto: "FAMILY_PASSIMIAN"), - 767: .same(proto: "FAMILY_WIMPOD"), - 769: .same(proto: "FAMILY_SANDYGAST"), - 771: .same(proto: "FAMILY_PYUKUMUKU"), - 772: .same(proto: "FAMILY_TYPE_NULL"), - 774: .same(proto: "FAMILY_MINIOR"), - 775: .same(proto: "FAMILY_KOMALA"), - 776: .same(proto: "FAMILY_TURTONATOR"), - 777: .same(proto: "FAMILY_TOGEDEMARU"), - 778: .same(proto: "FAMILY_MIMIKYU"), - 779: .same(proto: "FAMILY_BRUXISH"), - 780: .same(proto: "FAMILY_DRAMPA"), - 781: .same(proto: "FAMILY_DHELMISE"), - 782: .same(proto: "FAMILY_JANGMO_O"), - 785: .same(proto: "FAMILY_TAPU_KOKO"), - 786: .same(proto: "FAMILY_TAPU_LELE"), - 787: .same(proto: "FAMILY_TAPU_BULU"), - 788: .same(proto: "FAMILY_TAPU_FINI"), - 789: .same(proto: "FAMILY_COSMOG"), - 793: .same(proto: "FAMILY_NIHILEGO"), - 794: .same(proto: "FAMILY_BUZZWOLE"), - 795: .same(proto: "FAMILY_PHEROMOSA"), - 796: .same(proto: "FAMILY_XURKITREE"), - 797: .same(proto: "FAMILY_CELESTEELA"), - 798: .same(proto: "FAMILY_KARTANA"), - 799: .same(proto: "FAMILY_GUZZLORD"), - 800: .same(proto: "FAMILY_NECROZMA"), - 801: .same(proto: "FAMILY_MAGEARNA"), - 802: .same(proto: "FAMILY_MARSHADOW"), - 803: .same(proto: "FAMILY_POIPOLE"), - 805: .same(proto: "FAMILY_STAKATAKA"), - 806: .same(proto: "FAMILY_BLACEPHALON"), - 807: .same(proto: "FAMILY_ZERAORA"), - 808: .same(proto: "FAMILY_MELTAN"), - 810: .same(proto: "FAMILY_GROOKEY"), - 813: .same(proto: "FAMILY_SCORBUNNY"), - 816: .same(proto: "FAMILY_SOBBLE"), - 819: .same(proto: "FAMILY_SKWOVET"), - 821: .same(proto: "FAMILY_ROOKIDEE"), - 824: .same(proto: "FAMILY_BLIPBUG"), - 827: .same(proto: "FAMILY_NICKIT"), - 829: .same(proto: "FAMILY_GOSSIFLEUR"), - 831: .same(proto: "FAMILY_WOOLOO"), - 833: .same(proto: "FAMILY_CHEWTLE"), - 835: .same(proto: "FAMILY_YAMPER"), - 837: .same(proto: "FAMILY_ROLYCOLY"), - 840: .same(proto: "FAMILY_APPLIN"), - 843: .same(proto: "FAMILY_SILICOBRA"), - 845: .same(proto: "FAMILY_CRAMORANT"), - 846: .same(proto: "FAMILY_ARROKUDA"), - 848: .same(proto: "FAMILY_TOXEL"), - 850: .same(proto: "FAMILY_SIZZLIPEDE"), - 852: .same(proto: "FAMILY_CLOBBOPUS"), - 854: .same(proto: "FAMILY_SINISTEA"), - 856: .same(proto: "FAMILY_HATENNA"), - 859: .same(proto: "FAMILY_IMPIDIMP"), - 868: .same(proto: "FAMILY_MILCERY"), - 870: .same(proto: "FAMILY_FALINKS"), - 871: .same(proto: "FAMILY_PINCURCHIN"), - 872: .same(proto: "FAMILY_SNOM"), - 874: .same(proto: "FAMILY_STONJOURNER"), - 875: .same(proto: "FAMILY_EISCUE"), - 876: .same(proto: "FAMILY_INDEEDEE"), - 877: .same(proto: "FAMILY_MORPEKO"), - 878: .same(proto: "FAMILY_CUFANT"), - 880: .same(proto: "FAMILY_DRACOZOLT"), - 881: .same(proto: "FAMILY_ARCTOZOLT"), - 882: .same(proto: "FAMILY_DRACOVISH"), - 883: .same(proto: "FAMILY_ARCTOVISH"), - 884: .same(proto: "FAMILY_DURALUDON"), - 885: .same(proto: "FAMILY_DREEPY"), - 888: .same(proto: "FAMILY_ZACIAN"), - 889: .same(proto: "FAMILY_ZAMAZENTA"), - 890: .same(proto: "FAMILY_ETERNATUS"), - 891: .same(proto: "FAMILY_KUBFU"), - 893: .same(proto: "FAMILY_ZARUDE"), - 894: .same(proto: "FAMILY_REGIELEKI"), - 895: .same(proto: "FAMILY_REGIDRAGO"), - 896: .same(proto: "FAMILY_GLASTRIER"), - 897: .same(proto: "FAMILY_SPECTRIER"), - 898: .same(proto: "FAMILY_CALYREX"), - 905: .same(proto: "FAMILY_ENAMORUS"), - 906: .same(proto: "FAMILY_SPRIGATITO"), - 909: .same(proto: "FAMILY_FUECOCO"), - 912: .same(proto: "FAMILY_QUAXLY"), - 915: .same(proto: "FAMILY_LECHONK"), - 917: .same(proto: "FAMILY_TAROUNTULA"), - 919: .same(proto: "FAMILY_NYMBLE"), - 921: .same(proto: "FAMILY_PAWMI"), - 924: .same(proto: "FAMILY_TANDEMAUS"), - 926: .same(proto: "FAMILY_FIDOUGH"), - 928: .same(proto: "FAMILY_SMOLIV"), - 931: .same(proto: "FAMILY_SQUAWKABILLY"), - 932: .same(proto: "FAMILY_NACLI"), - 935: .same(proto: "FAMILY_CHARCADET"), - 938: .same(proto: "FAMILY_TADBULB"), - 940: .same(proto: "FAMILY_WATTREL"), - 942: .same(proto: "FAMILY_MASCHIFF"), - 944: .same(proto: "FAMILY_SHROODLE"), - 946: .same(proto: "FAMILY_BRAMBLIN"), - 948: .same(proto: "FAMILY_TOEDSCOOL"), - 950: .same(proto: "FAMILY_KLAWF"), - 951: .same(proto: "FAMILY_CAPSAKID"), - 953: .same(proto: "FAMILY_RELLOR"), - 955: .same(proto: "FAMILY_FLITTLE"), - 957: .same(proto: "FAMILY_TINKATINK"), - 960: .same(proto: "FAMILY_WIGLETT"), - 962: .same(proto: "FAMILY_BOMBIRDIER"), - 963: .same(proto: "FAMILY_FINIZEN"), - 965: .same(proto: "FAMILY_VAROOM"), - 967: .same(proto: "FAMILY_CYCLIZAR"), - 968: .same(proto: "FAMILY_ORTHWORM"), - 969: .same(proto: "FAMILY_GLIMMET"), - 971: .same(proto: "FAMILY_GREAVARD"), - 973: .same(proto: "FAMILY_FLAMIGO"), - 974: .same(proto: "FAMILY_CETODDLE"), - 976: .same(proto: "FAMILY_VELUZA"), - 977: .same(proto: "FAMILY_DONDOZO"), - 978: .same(proto: "FAMILY_TATSUGIRI"), - 979: .same(proto: "FAMILY_ANNIHILAPE"), - 980: .same(proto: "FAMILY_CLODSIRE"), - 981: .same(proto: "FAMILY_FARIGIRAF"), - 982: .same(proto: "FAMILY_DUDUNSPARCE"), - 983: .same(proto: "FAMILY_KINGAMBIT"), - 984: .same(proto: "FAMILY_GREATTUSK"), - 985: .same(proto: "FAMILY_SCREAMTAIL"), - 986: .same(proto: "FAMILY_BRUTEBONNET"), - 987: .same(proto: "FAMILY_FLUTTERMANE"), - 988: .same(proto: "FAMILY_SLITHERWING"), - 989: .same(proto: "FAMILY_SANDYSHOCKS"), - 990: .same(proto: "FAMILY_IRONTREADS"), - 991: .same(proto: "FAMILY_IRONBUNDLE"), - 992: .same(proto: "FAMILY_IRONHANDS"), - 993: .same(proto: "FAMILY_IRONJUGULIS"), - 994: .same(proto: "FAMILY_IRONMOTH"), - 995: .same(proto: "FAMILY_IRONTHORNS"), - 996: .same(proto: "FAMILY_FRIGIBAX"), - 999: .same(proto: "FAMILY_GIMMIGHOUL"), - 1001: .same(proto: "FAMILY_WOCHIEN"), - 1002: .same(proto: "FAMILY_CHIENPAO"), - 1003: .same(proto: "FAMILY_TINGLU"), - 1004: .same(proto: "FAMILY_CHIYU"), - 1005: .same(proto: "FAMILY_ROARINGMOON"), - 1006: .same(proto: "FAMILY_IRONVALIANT"), - 1007: .same(proto: "FAMILY_KORAIDON"), - 1008: .same(proto: "FAMILY_MIRAIDON"), +#endif // swift(>=4.2) + +public struct VsSeekerSpecialCondition { + // 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. + + public var specialConditionKey: String = String() + + public var specialConditionStartTimeMs: Int64 = 0 + + public var specialConditionEndTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct VsSeekerStartMatchmakingData { + // 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. + + public var rpcID: Int32 = 0 + + public var attackingPokemonIndexes: [Int32] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct VsSeekerStartMatchmakingOutProto { + // 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. + + public var result: VsSeekerStartMatchmakingOutProto.Result = .unset + + public var challenge: CombatChallengeProto { + get {return _challenge ?? CombatChallengeProto()} + set {_challenge = newValue} + } + /// Returns true if `challenge` has been explicitly set. + public var hasChallenge: Bool {return self._challenge != nil} + /// Clears the value of `challenge`. Subsequent reads from it will return its default value. + public mutating func clearChallenge() {self._challenge = nil} + + public var queueID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case successOpponentFound // = 1 + case successQueued // = 2 + case errorNoBattlePassesLeft // = 3 + case errorAlreadyInQueue // = 4 + case errorVsSeekerPlayerInWrongSeason // = 5 + case errorPlayerHasNoVsSeeker // = 6 + case errorAccessDenied // = 7 + case errorPokemonLineupIneligibleForLeague // = 8 + case errorVsSeekerNotActivated // = 9 + case errorTemporarilyUnavailable // = 10 + case errorExceededLimit // = 11 + case errorQueueTooFull // = 12 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .successOpponentFound + case 2: self = .successQueued + case 3: self = .errorNoBattlePassesLeft + case 4: self = .errorAlreadyInQueue + case 5: self = .errorVsSeekerPlayerInWrongSeason + case 6: self = .errorPlayerHasNoVsSeeker + case 7: self = .errorAccessDenied + case 8: self = .errorPokemonLineupIneligibleForLeague + case 9: self = .errorVsSeekerNotActivated + case 10: self = .errorTemporarilyUnavailable + case 11: self = .errorExceededLimit + case 12: self = .errorQueueTooFull + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .successOpponentFound: return 1 + case .successQueued: return 2 + case .errorNoBattlePassesLeft: return 3 + case .errorAlreadyInQueue: return 4 + case .errorVsSeekerPlayerInWrongSeason: return 5 + case .errorPlayerHasNoVsSeeker: return 6 + case .errorAccessDenied: return 7 + case .errorPokemonLineupIneligibleForLeague: return 8 + case .errorVsSeekerNotActivated: return 9 + case .errorTemporarilyUnavailable: return 10 + case .errorExceededLimit: return 11 + case .errorQueueTooFull: return 12 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _challenge: CombatChallengeProto? = nil +} + +#if swift(>=4.2) + +extension VsSeekerStartMatchmakingOutProto.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [VsSeekerStartMatchmakingOutProto.Result] = [ + .unset, + .successOpponentFound, + .successQueued, + .errorNoBattlePassesLeft, + .errorAlreadyInQueue, + .errorVsSeekerPlayerInWrongSeason, + .errorPlayerHasNoVsSeeker, + .errorAccessDenied, + .errorPokemonLineupIneligibleForLeague, + .errorVsSeekerNotActivated, + .errorTemporarilyUnavailable, + .errorExceededLimit, + .errorQueueTooFull, ] } -extension HoloPokemonId: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "MISSINGNO"), - 1: .same(proto: "BULBASAUR"), - 2: .same(proto: "IVYSAUR"), - 3: .same(proto: "VENUSAUR"), - 4: .same(proto: "CHARMANDER"), - 5: .same(proto: "CHARMELEON"), - 6: .same(proto: "CHARIZARD"), - 7: .same(proto: "SQUIRTLE"), - 8: .same(proto: "WARTORTLE"), - 9: .same(proto: "BLASTOISE"), - 10: .same(proto: "CATERPIE"), - 11: .same(proto: "METAPOD"), - 12: .same(proto: "BUTTERFREE"), - 13: .same(proto: "WEEDLE"), - 14: .same(proto: "KAKUNA"), - 15: .same(proto: "BEEDRILL"), - 16: .same(proto: "PIDGEY"), - 17: .same(proto: "PIDGEOTTO"), - 18: .same(proto: "PIDGEOT"), - 19: .same(proto: "RATTATA"), - 20: .same(proto: "RATICATE"), - 21: .same(proto: "SPEAROW"), - 22: .same(proto: "FEAROW"), - 23: .same(proto: "EKANS"), - 24: .same(proto: "ARBOK"), - 25: .same(proto: "PIKACHU"), - 26: .same(proto: "RAICHU"), - 27: .same(proto: "SANDSHREW"), - 28: .same(proto: "SANDSLASH"), - 29: .same(proto: "NIDORAN_FEMALE"), - 30: .same(proto: "NIDORINA"), - 31: .same(proto: "NIDOQUEEN"), - 32: .same(proto: "NIDORAN_MALE"), - 33: .same(proto: "NIDORINO"), - 34: .same(proto: "NIDOKING"), - 35: .same(proto: "CLEFAIRY"), - 36: .same(proto: "CLEFABLE"), - 37: .same(proto: "VULPIX"), - 38: .same(proto: "NINETALES"), - 39: .same(proto: "JIGGLYPUFF"), - 40: .same(proto: "WIGGLYTUFF"), - 41: .same(proto: "ZUBAT"), - 42: .same(proto: "GOLBAT"), - 43: .same(proto: "ODDISH"), - 44: .same(proto: "GLOOM"), - 45: .same(proto: "VILEPLUME"), - 46: .same(proto: "PARAS"), - 47: .same(proto: "PARASECT"), - 48: .same(proto: "VENONAT"), - 49: .same(proto: "VENOMOTH"), - 50: .same(proto: "DIGLETT"), - 51: .same(proto: "DUGTRIO"), - 52: .same(proto: "MEOWTH"), - 53: .same(proto: "PERSIAN"), - 54: .same(proto: "PSYDUCK"), - 55: .same(proto: "GOLDUCK"), - 56: .same(proto: "MANKEY"), - 57: .same(proto: "PRIMEAPE"), - 58: .same(proto: "GROWLITHE"), - 59: .same(proto: "ARCANINE"), - 60: .same(proto: "POLIWAG"), - 61: .same(proto: "POLIWHIRL"), - 62: .same(proto: "POLIWRATH"), - 63: .same(proto: "ABRA"), - 64: .same(proto: "KADABRA"), - 65: .same(proto: "ALAKAZAM"), - 66: .same(proto: "MACHOP"), - 67: .same(proto: "MACHOKE"), - 68: .same(proto: "MACHAMP"), - 69: .same(proto: "BELLSPROUT"), - 70: .same(proto: "WEEPINBELL"), - 71: .same(proto: "VICTREEBEL"), - 72: .same(proto: "TENTACOOL"), - 73: .same(proto: "TENTACRUEL"), - 74: .same(proto: "GEODUDE"), - 75: .same(proto: "GRAVELER"), - 76: .same(proto: "GOLEM"), - 77: .same(proto: "PONYTA"), - 78: .same(proto: "RAPIDASH"), - 79: .same(proto: "SLOWPOKE"), - 80: .same(proto: "SLOWBRO"), - 81: .same(proto: "MAGNEMITE"), - 82: .same(proto: "MAGNETON"), - 83: .same(proto: "FARFETCHD"), - 84: .same(proto: "DODUO"), - 85: .same(proto: "DODRIO"), - 86: .same(proto: "SEEL"), - 87: .same(proto: "DEWGONG"), - 88: .same(proto: "GRIMER"), - 89: .same(proto: "MUK"), - 90: .same(proto: "SHELLDER"), - 91: .same(proto: "CLOYSTER"), - 92: .same(proto: "GASTLY"), - 93: .same(proto: "HAUNTER"), - 94: .same(proto: "GENGAR"), - 95: .same(proto: "ONIX"), - 96: .same(proto: "DROWZEE"), - 97: .same(proto: "HYPNO"), - 98: .same(proto: "KRABBY"), - 99: .same(proto: "KINGLER"), - 100: .same(proto: "VOLTORB"), - 101: .same(proto: "ELECTRODE"), - 102: .same(proto: "EXEGGCUTE"), - 103: .same(proto: "EXEGGUTOR"), - 104: .same(proto: "CUBONE"), - 105: .same(proto: "MAROWAK"), - 106: .same(proto: "HITMONLEE"), - 107: .same(proto: "HITMONCHAN"), - 108: .same(proto: "LICKITUNG"), - 109: .same(proto: "KOFFING"), - 110: .same(proto: "WEEZING"), - 111: .same(proto: "RHYHORN"), - 112: .same(proto: "RHYDON"), - 113: .same(proto: "CHANSEY"), - 114: .same(proto: "TANGELA"), - 115: .same(proto: "KANGASKHAN"), - 116: .same(proto: "HORSEA"), - 117: .same(proto: "SEADRA"), - 118: .same(proto: "GOLDEEN"), - 119: .same(proto: "SEAKING"), - 120: .same(proto: "STARYU"), - 121: .same(proto: "STARMIE"), - 122: .same(proto: "MR_MIME"), - 123: .same(proto: "SCYTHER"), - 124: .same(proto: "JYNX"), - 125: .same(proto: "ELECTABUZZ"), - 126: .same(proto: "MAGMAR"), - 127: .same(proto: "PINSIR"), - 128: .same(proto: "TAUROS"), - 129: .same(proto: "MAGIKARP"), - 130: .same(proto: "GYARADOS"), - 131: .same(proto: "LAPRAS"), - 132: .same(proto: "DITTO"), - 133: .same(proto: "EEVEE"), - 134: .same(proto: "VAPOREON"), - 135: .same(proto: "JOLTEON"), - 136: .same(proto: "FLAREON"), - 137: .same(proto: "PORYGON"), - 138: .same(proto: "OMANYTE"), - 139: .same(proto: "OMASTAR"), - 140: .same(proto: "KABUTO"), - 141: .same(proto: "KABUTOPS"), - 142: .same(proto: "AERODACTYL"), - 143: .same(proto: "SNORLAX"), - 144: .same(proto: "ARTICUNO"), - 145: .same(proto: "ZAPDOS"), - 146: .same(proto: "MOLTRES"), - 147: .same(proto: "DRATINI"), - 148: .same(proto: "DRAGONAIR"), - 149: .same(proto: "DRAGONITE"), - 150: .same(proto: "MEWTWO"), - 151: .same(proto: "MEW"), - 152: .same(proto: "CHIKORITA"), - 153: .same(proto: "BAYLEEF"), - 154: .same(proto: "MEGANIUM"), - 155: .same(proto: "CYNDAQUIL"), - 156: .same(proto: "QUILAVA"), - 157: .same(proto: "TYPHLOSION"), - 158: .same(proto: "TOTODILE"), - 159: .same(proto: "CROCONAW"), - 160: .same(proto: "FERALIGATR"), - 161: .same(proto: "SENTRET"), - 162: .same(proto: "FURRET"), - 163: .same(proto: "HOOTHOOT"), - 164: .same(proto: "NOCTOWL"), - 165: .same(proto: "LEDYBA"), - 166: .same(proto: "LEDIAN"), - 167: .same(proto: "SPINARAK"), - 168: .same(proto: "ARIADOS"), - 169: .same(proto: "CROBAT"), - 170: .same(proto: "CHINCHOU"), - 171: .same(proto: "LANTURN"), - 172: .same(proto: "PICHU"), - 173: .same(proto: "CLEFFA"), - 174: .same(proto: "IGGLYBUFF"), - 175: .same(proto: "TOGEPI"), - 176: .same(proto: "TOGETIC"), - 177: .same(proto: "NATU"), - 178: .same(proto: "XATU"), - 179: .same(proto: "MAREEP"), - 180: .same(proto: "FLAAFFY"), - 181: .same(proto: "AMPHAROS"), - 182: .same(proto: "BELLOSSOM"), - 183: .same(proto: "MARILL"), - 184: .same(proto: "AZUMARILL"), - 185: .same(proto: "SUDOWOODO"), - 186: .same(proto: "POLITOED"), - 187: .same(proto: "HOPPIP"), - 188: .same(proto: "SKIPLOOM"), - 189: .same(proto: "JUMPLUFF"), - 190: .same(proto: "AIPOM"), - 191: .same(proto: "SUNKERN"), - 192: .same(proto: "SUNFLORA"), - 193: .same(proto: "YANMA"), - 194: .same(proto: "WOOPER"), - 195: .same(proto: "QUAGSIRE"), - 196: .same(proto: "ESPEON"), - 197: .same(proto: "UMBREON"), - 198: .same(proto: "MURKROW"), - 199: .same(proto: "SLOWKING"), - 200: .same(proto: "MISDREAVUS"), - 201: .same(proto: "UNOWN"), - 202: .same(proto: "WOBBUFFET"), - 203: .same(proto: "GIRAFARIG"), - 204: .same(proto: "PINECO"), - 205: .same(proto: "FORRETRESS"), - 206: .same(proto: "DUNSPARCE"), - 207: .same(proto: "GLIGAR"), - 208: .same(proto: "STEELIX"), - 209: .same(proto: "SNUBBULL"), - 210: .same(proto: "GRANBULL"), - 211: .same(proto: "QWILFISH"), - 212: .same(proto: "SCIZOR"), - 213: .same(proto: "SHUCKLE"), - 214: .same(proto: "HERACROSS"), - 215: .same(proto: "SNEASEL"), - 216: .same(proto: "TEDDIURSA"), - 217: .same(proto: "URSARING"), - 218: .same(proto: "SLUGMA"), - 219: .same(proto: "MAGCARGO"), - 220: .same(proto: "SWINUB"), - 221: .same(proto: "PILOSWINE"), - 222: .same(proto: "CORSOLA"), - 223: .same(proto: "REMORAID"), - 224: .same(proto: "OCTILLERY"), - 225: .same(proto: "DELIBIRD"), - 226: .same(proto: "MANTINE"), - 227: .same(proto: "SKARMORY"), - 228: .same(proto: "HOUNDOUR"), - 229: .same(proto: "HOUNDOOM"), - 230: .same(proto: "KINGDRA"), - 231: .same(proto: "PHANPY"), - 232: .same(proto: "DONPHAN"), - 233: .same(proto: "PORYGON2"), - 234: .same(proto: "STANTLER"), - 235: .same(proto: "SMEARGLE"), - 236: .same(proto: "TYROGUE"), - 237: .same(proto: "HITMONTOP"), - 238: .same(proto: "SMOOCHUM"), - 239: .same(proto: "ELEKID"), - 240: .same(proto: "MAGBY"), - 241: .same(proto: "MILTANK"), - 242: .same(proto: "BLISSEY"), - 243: .same(proto: "RAIKOU"), - 244: .same(proto: "ENTEI"), - 245: .same(proto: "SUICUNE"), - 246: .same(proto: "LARVITAR"), - 247: .same(proto: "PUPITAR"), - 248: .same(proto: "TYRANITAR"), - 249: .same(proto: "LUGIA"), - 250: .same(proto: "HO_OH"), - 251: .same(proto: "CELEBI"), - 252: .same(proto: "TREECKO"), - 253: .same(proto: "GROVYLE"), - 254: .same(proto: "SCEPTILE"), - 255: .same(proto: "TORCHIC"), - 256: .same(proto: "COMBUSKEN"), - 257: .same(proto: "BLAZIKEN"), - 258: .same(proto: "MUDKIP"), - 259: .same(proto: "MARSHTOMP"), - 260: .same(proto: "SWAMPERT"), - 261: .same(proto: "POOCHYENA"), - 262: .same(proto: "MIGHTYENA"), - 263: .same(proto: "ZIGZAGOON"), - 264: .same(proto: "LINOONE"), - 265: .same(proto: "WURMPLE"), - 266: .same(proto: "SILCOON"), - 267: .same(proto: "BEAUTIFLY"), - 268: .same(proto: "CASCOON"), - 269: .same(proto: "DUSTOX"), - 270: .same(proto: "LOTAD"), - 271: .same(proto: "LOMBRE"), - 272: .same(proto: "LUDICOLO"), - 273: .same(proto: "SEEDOT"), - 274: .same(proto: "NUZLEAF"), - 275: .same(proto: "SHIFTRY"), - 276: .same(proto: "TAILLOW"), - 277: .same(proto: "SWELLOW"), - 278: .same(proto: "WINGULL"), - 279: .same(proto: "PELIPPER"), - 280: .same(proto: "RALTS"), - 281: .same(proto: "KIRLIA"), - 282: .same(proto: "GARDEVOIR"), - 283: .same(proto: "SURSKIT"), - 284: .same(proto: "MASQUERAIN"), - 285: .same(proto: "SHROOMISH"), - 286: .same(proto: "BRELOOM"), - 287: .same(proto: "SLAKOTH"), - 288: .same(proto: "VIGOROTH"), - 289: .same(proto: "SLAKING"), - 290: .same(proto: "NINCADA"), - 291: .same(proto: "NINJASK"), - 292: .same(proto: "SHEDINJA"), - 293: .same(proto: "WHISMUR"), - 294: .same(proto: "LOUDRED"), - 295: .same(proto: "EXPLOUD"), - 296: .same(proto: "MAKUHITA"), - 297: .same(proto: "HARIYAMA"), - 298: .same(proto: "AZURILL"), - 299: .same(proto: "NOSEPASS"), - 300: .same(proto: "SKITTY"), - 301: .same(proto: "DELCATTY"), - 302: .same(proto: "SABLEYE"), - 303: .same(proto: "MAWILE"), - 304: .same(proto: "ARON"), - 305: .same(proto: "LAIRON"), - 306: .same(proto: "AGGRON"), - 307: .same(proto: "MEDITITE"), - 308: .same(proto: "MEDICHAM"), - 309: .same(proto: "ELECTRIKE"), - 310: .same(proto: "MANECTRIC"), - 311: .same(proto: "PLUSLE"), - 312: .same(proto: "MINUN"), - 313: .same(proto: "VOLBEAT"), - 314: .same(proto: "ILLUMISE"), - 315: .same(proto: "ROSELIA"), - 316: .same(proto: "GULPIN"), - 317: .same(proto: "SWALOT"), - 318: .same(proto: "CARVANHA"), - 319: .same(proto: "SHARPEDO"), - 320: .same(proto: "WAILMER"), - 321: .same(proto: "WAILORD"), - 322: .same(proto: "NUMEL"), - 323: .same(proto: "CAMERUPT"), - 324: .same(proto: "TORKOAL"), - 325: .same(proto: "SPOINK"), - 326: .same(proto: "GRUMPIG"), - 327: .same(proto: "SPINDA"), - 328: .same(proto: "TRAPINCH"), - 329: .same(proto: "VIBRAVA"), - 330: .same(proto: "FLYGON"), - 331: .same(proto: "CACNEA"), - 332: .same(proto: "CACTURNE"), - 333: .same(proto: "SWABLU"), - 334: .same(proto: "ALTARIA"), - 335: .same(proto: "ZANGOOSE"), - 336: .same(proto: "SEVIPER"), - 337: .same(proto: "LUNATONE"), - 338: .same(proto: "SOLROCK"), - 339: .same(proto: "BARBOACH"), - 340: .same(proto: "WHISCASH"), - 341: .same(proto: "CORPHISH"), - 342: .same(proto: "CRAWDAUNT"), - 343: .same(proto: "BALTOY"), - 344: .same(proto: "CLAYDOL"), - 345: .same(proto: "LILEEP"), - 346: .same(proto: "CRADILY"), - 347: .same(proto: "ANORITH"), - 348: .same(proto: "ARMALDO"), - 349: .same(proto: "FEEBAS"), - 350: .same(proto: "MILOTIC"), - 351: .same(proto: "CASTFORM"), - 352: .same(proto: "KECLEON"), - 353: .same(proto: "SHUPPET"), - 354: .same(proto: "BANETTE"), - 355: .same(proto: "DUSKULL"), - 356: .same(proto: "DUSCLOPS"), - 357: .same(proto: "TROPIUS"), - 358: .same(proto: "CHIMECHO"), - 359: .same(proto: "ABSOL"), - 360: .same(proto: "WYNAUT"), - 361: .same(proto: "SNORUNT"), - 362: .same(proto: "GLALIE"), - 363: .same(proto: "SPHEAL"), - 364: .same(proto: "SEALEO"), - 365: .same(proto: "WALREIN"), - 366: .same(proto: "CLAMPERL"), - 367: .same(proto: "HUNTAIL"), - 368: .same(proto: "GOREBYSS"), - 369: .same(proto: "RELICANTH"), - 370: .same(proto: "LUVDISC"), - 371: .same(proto: "BAGON"), - 372: .same(proto: "SHELGON"), - 373: .same(proto: "SALAMENCE"), - 374: .same(proto: "BELDUM"), - 375: .same(proto: "METANG"), - 376: .same(proto: "METAGROSS"), - 377: .same(proto: "REGIROCK"), - 378: .same(proto: "REGICE"), - 379: .same(proto: "REGISTEEL"), - 380: .same(proto: "LATIAS"), - 381: .same(proto: "LATIOS"), - 382: .same(proto: "KYOGRE"), - 383: .same(proto: "GROUDON"), - 384: .same(proto: "RAYQUAZA"), - 385: .same(proto: "JIRACHI"), - 386: .same(proto: "DEOXYS"), - 387: .same(proto: "TURTWIG"), - 388: .same(proto: "GROTLE"), - 389: .same(proto: "TORTERRA"), - 390: .same(proto: "CHIMCHAR"), - 391: .same(proto: "MONFERNO"), - 392: .same(proto: "INFERNAPE"), - 393: .same(proto: "PIPLUP"), - 394: .same(proto: "PRINPLUP"), - 395: .same(proto: "EMPOLEON"), - 396: .same(proto: "STARLY"), - 397: .same(proto: "STARAVIA"), - 398: .same(proto: "STARAPTOR"), - 399: .same(proto: "BIDOOF"), - 400: .same(proto: "BIBAREL"), - 401: .same(proto: "KRICKETOT"), - 402: .same(proto: "KRICKETUNE"), - 403: .same(proto: "SHINX"), - 404: .same(proto: "LUXIO"), - 405: .same(proto: "LUXRAY"), - 406: .same(proto: "BUDEW"), - 407: .same(proto: "ROSERADE"), - 408: .same(proto: "CRANIDOS"), - 409: .same(proto: "RAMPARDOS"), - 410: .same(proto: "SHIELDON"), - 411: .same(proto: "BASTIODON"), - 412: .same(proto: "BURMY"), - 413: .same(proto: "WORMADAM"), - 414: .same(proto: "MOTHIM"), - 415: .same(proto: "COMBEE"), - 416: .same(proto: "VESPIQUEN"), - 417: .same(proto: "PACHIRISU"), - 418: .same(proto: "BUIZEL"), - 419: .same(proto: "FLOATZEL"), - 420: .same(proto: "CHERUBI"), - 421: .same(proto: "CHERRIM"), - 422: .same(proto: "SHELLOS"), - 423: .same(proto: "GASTRODON"), - 424: .same(proto: "AMBIPOM"), - 425: .same(proto: "DRIFLOON"), - 426: .same(proto: "DRIFBLIM"), - 427: .same(proto: "BUNEARY"), - 428: .same(proto: "LOPUNNY"), - 429: .same(proto: "MISMAGIUS"), - 430: .same(proto: "HONCHKROW"), - 431: .same(proto: "GLAMEOW"), - 432: .same(proto: "PURUGLY"), - 433: .same(proto: "CHINGLING"), - 434: .same(proto: "STUNKY"), - 435: .same(proto: "SKUNTANK"), - 436: .same(proto: "BRONZOR"), - 437: .same(proto: "BRONZONG"), - 438: .same(proto: "BONSLY"), - 439: .same(proto: "MIME_JR"), - 440: .same(proto: "HAPPINY"), - 441: .same(proto: "CHATOT"), - 442: .same(proto: "SPIRITOMB"), - 443: .same(proto: "GIBLE"), - 444: .same(proto: "GABITE"), - 445: .same(proto: "GARCHOMP"), - 446: .same(proto: "MUNCHLAX"), - 447: .same(proto: "RIOLU"), - 448: .same(proto: "LUCARIO"), - 449: .same(proto: "HIPPOPOTAS"), - 450: .same(proto: "HIPPOWDON"), - 451: .same(proto: "SKORUPI"), - 452: .same(proto: "DRAPION"), - 453: .same(proto: "CROAGUNK"), - 454: .same(proto: "TOXICROAK"), - 455: .same(proto: "CARNIVINE"), - 456: .same(proto: "FINNEON"), - 457: .same(proto: "LUMINEON"), - 458: .same(proto: "MANTYKE"), - 459: .same(proto: "SNOVER"), - 460: .same(proto: "ABOMASNOW"), - 461: .same(proto: "WEAVILE"), - 462: .same(proto: "MAGNEZONE"), - 463: .same(proto: "LICKILICKY"), - 464: .same(proto: "RHYPERIOR"), - 465: .same(proto: "TANGROWTH"), - 466: .same(proto: "ELECTIVIRE"), - 467: .same(proto: "MAGMORTAR"), - 468: .same(proto: "TOGEKISS"), - 469: .same(proto: "YANMEGA"), - 470: .same(proto: "LEAFEON"), - 471: .same(proto: "GLACEON"), - 472: .same(proto: "GLISCOR"), - 473: .same(proto: "MAMOSWINE"), - 474: .same(proto: "PORYGON_Z"), - 475: .same(proto: "GALLADE"), - 476: .same(proto: "PROBOPASS"), - 477: .same(proto: "DUSKNOIR"), - 478: .same(proto: "FROSLASS"), - 479: .same(proto: "ROTOM"), - 480: .same(proto: "UXIE"), - 481: .same(proto: "MESPRIT"), - 482: .same(proto: "AZELF"), - 483: .same(proto: "DIALGA"), - 484: .same(proto: "PALKIA"), - 485: .same(proto: "HEATRAN"), - 486: .same(proto: "REGIGIGAS"), - 487: .same(proto: "GIRATINA"), - 488: .same(proto: "CRESSELIA"), - 489: .same(proto: "PHIONE"), - 490: .same(proto: "MANAPHY"), - 491: .same(proto: "DARKRAI"), - 492: .same(proto: "SHAYMIN"), - 493: .same(proto: "ARCEUS"), - 494: .same(proto: "VICTINI"), - 495: .same(proto: "SNIVY"), - 496: .same(proto: "SERVINE"), - 497: .same(proto: "SERPERIOR"), - 498: .same(proto: "TEPIG"), - 499: .same(proto: "PIGNITE"), - 500: .same(proto: "EMBOAR"), - 501: .same(proto: "OSHAWOTT"), - 502: .same(proto: "DEWOTT"), - 503: .same(proto: "SAMUROTT"), - 504: .same(proto: "PATRAT"), - 505: .same(proto: "WATCHOG"), - 506: .same(proto: "LILLIPUP"), - 507: .same(proto: "HERDIER"), - 508: .same(proto: "STOUTLAND"), - 509: .same(proto: "PURRLOIN"), - 510: .same(proto: "LIEPARD"), - 511: .same(proto: "PANSAGE"), - 512: .same(proto: "SIMISAGE"), - 513: .same(proto: "PANSEAR"), - 514: .same(proto: "SIMISEAR"), - 515: .same(proto: "PANPOUR"), - 516: .same(proto: "SIMIPOUR"), - 517: .same(proto: "MUNNA"), - 518: .same(proto: "MUSHARNA"), - 519: .same(proto: "PIDOVE"), - 520: .same(proto: "TRANQUILL"), - 521: .same(proto: "UNFEZANT"), - 522: .same(proto: "BLITZLE"), - 523: .same(proto: "ZEBSTRIKA"), - 524: .same(proto: "ROGGENROLA"), - 525: .same(proto: "BOLDORE"), - 526: .same(proto: "GIGALITH"), - 527: .same(proto: "WOOBAT"), - 528: .same(proto: "SWOOBAT"), - 529: .same(proto: "DRILBUR"), - 530: .same(proto: "EXCADRILL"), - 531: .same(proto: "AUDINO"), - 532: .same(proto: "TIMBURR"), - 533: .same(proto: "GURDURR"), - 534: .same(proto: "CONKELDURR"), - 535: .same(proto: "TYMPOLE"), - 536: .same(proto: "PALPITOAD"), - 537: .same(proto: "SEISMITOAD"), - 538: .same(proto: "THROH"), - 539: .same(proto: "SAWK"), - 540: .same(proto: "SEWADDLE"), - 541: .same(proto: "SWADLOON"), - 542: .same(proto: "LEAVANNY"), - 543: .same(proto: "VENIPEDE"), - 544: .same(proto: "WHIRLIPEDE"), - 545: .same(proto: "SCOLIPEDE"), - 546: .same(proto: "COTTONEE"), - 547: .same(proto: "WHIMSICOTT"), - 548: .same(proto: "PETILIL"), - 549: .same(proto: "LILLIGANT"), - 550: .same(proto: "BASCULIN"), - 551: .same(proto: "SANDILE"), - 552: .same(proto: "KROKOROK"), - 553: .same(proto: "KROOKODILE"), - 554: .same(proto: "DARUMAKA"), - 555: .same(proto: "DARMANITAN"), - 556: .same(proto: "MARACTUS"), - 557: .same(proto: "DWEBBLE"), - 558: .same(proto: "CRUSTLE"), - 559: .same(proto: "SCRAGGY"), - 560: .same(proto: "SCRAFTY"), - 561: .same(proto: "SIGILYPH"), - 562: .same(proto: "YAMASK"), - 563: .same(proto: "COFAGRIGUS"), - 564: .same(proto: "TIRTOUGA"), - 565: .same(proto: "CARRACOSTA"), - 566: .same(proto: "ARCHEN"), - 567: .same(proto: "ARCHEOPS"), - 568: .same(proto: "TRUBBISH"), - 569: .same(proto: "GARBODOR"), - 570: .same(proto: "ZORUA"), - 571: .same(proto: "ZOROARK"), - 572: .same(proto: "MINCCINO"), - 573: .same(proto: "CINCCINO"), - 574: .same(proto: "GOTHITA"), - 575: .same(proto: "GOTHORITA"), - 576: .same(proto: "GOTHITELLE"), - 577: .same(proto: "SOLOSIS"), - 578: .same(proto: "DUOSION"), - 579: .same(proto: "REUNICLUS"), - 580: .same(proto: "DUCKLETT"), - 581: .same(proto: "SWANNA"), - 582: .same(proto: "VANILLITE"), - 583: .same(proto: "VANILLISH"), - 584: .same(proto: "VANILLUXE"), - 585: .same(proto: "DEERLING"), - 586: .same(proto: "SAWSBUCK"), - 587: .same(proto: "EMOLGA"), - 588: .same(proto: "KARRABLAST"), - 589: .same(proto: "ESCAVALIER"), - 590: .same(proto: "FOONGUS"), - 591: .same(proto: "AMOONGUSS"), - 592: .same(proto: "FRILLISH"), - 593: .same(proto: "JELLICENT"), - 594: .same(proto: "ALOMOMOLA"), - 595: .same(proto: "JOLTIK"), - 596: .same(proto: "GALVANTULA"), - 597: .same(proto: "FERROSEED"), - 598: .same(proto: "FERROTHORN"), - 599: .same(proto: "KLINK"), - 600: .same(proto: "KLANG"), - 601: .same(proto: "KLINKLANG"), - 602: .same(proto: "TYNAMO"), - 603: .same(proto: "EELEKTRIK"), - 604: .same(proto: "EELEKTROSS"), - 605: .same(proto: "ELGYEM"), - 606: .same(proto: "BEHEEYEM"), - 607: .same(proto: "LITWICK"), - 608: .same(proto: "LAMPENT"), - 609: .same(proto: "CHANDELURE"), - 610: .same(proto: "AXEW"), - 611: .same(proto: "FRAXURE"), - 612: .same(proto: "HAXORUS"), - 613: .same(proto: "CUBCHOO"), - 614: .same(proto: "BEARTIC"), - 615: .same(proto: "CRYOGONAL"), - 616: .same(proto: "SHELMET"), - 617: .same(proto: "ACCELGOR"), - 618: .same(proto: "STUNFISK"), - 619: .same(proto: "MIENFOO"), - 620: .same(proto: "MIENSHAO"), - 621: .same(proto: "DRUDDIGON"), - 622: .same(proto: "GOLETT"), - 623: .same(proto: "GOLURK"), - 624: .same(proto: "PAWNIARD"), - 625: .same(proto: "BISHARP"), - 626: .same(proto: "BOUFFALANT"), - 627: .same(proto: "RUFFLET"), - 628: .same(proto: "BRAVIARY"), - 629: .same(proto: "VULLABY"), - 630: .same(proto: "MANDIBUZZ"), - 631: .same(proto: "HEATMOR"), - 632: .same(proto: "DURANT"), - 633: .same(proto: "DEINO"), - 634: .same(proto: "ZWEILOUS"), - 635: .same(proto: "HYDREIGON"), - 636: .same(proto: "LARVESTA"), - 637: .same(proto: "VOLCARONA"), - 638: .same(proto: "COBALION"), - 639: .same(proto: "TERRAKION"), - 640: .same(proto: "VIRIZION"), - 641: .same(proto: "TORNADUS"), - 642: .same(proto: "THUNDURUS"), - 643: .same(proto: "RESHIRAM"), - 644: .same(proto: "ZEKROM"), - 645: .same(proto: "LANDORUS"), - 646: .same(proto: "KYUREM"), - 647: .same(proto: "KELDEO"), - 648: .same(proto: "MELOETTA"), - 649: .same(proto: "GENESECT"), - 650: .same(proto: "CHESPIN"), - 651: .same(proto: "QUILLADIN"), - 652: .same(proto: "CHESNAUGHT"), - 653: .same(proto: "FENNEKIN"), - 654: .same(proto: "BRAIXEN"), - 655: .same(proto: "DELPHOX"), - 656: .same(proto: "FROAKIE"), - 657: .same(proto: "FROGADIER"), - 658: .same(proto: "GRENINJA"), - 659: .same(proto: "BUNNELBY"), - 660: .same(proto: "DIGGERSBY"), - 661: .same(proto: "FLETCHLING"), - 662: .same(proto: "FLETCHINDER"), - 663: .same(proto: "TALONFLAME"), - 664: .same(proto: "SCATTERBUG"), - 665: .same(proto: "SPEWPA"), - 666: .same(proto: "VIVILLON"), - 667: .same(proto: "LITLEO"), - 668: .same(proto: "PYROAR"), - 669: .same(proto: "FLABEBE"), - 670: .same(proto: "FLOETTE"), - 671: .same(proto: "FLORGES"), - 672: .same(proto: "SKIDDO"), - 673: .same(proto: "GOGOAT"), - 674: .same(proto: "PANCHAM"), - 675: .same(proto: "PANGORO"), - 676: .same(proto: "FURFROU"), - 677: .same(proto: "ESPURR"), - 678: .same(proto: "MEOWSTIC"), - 679: .same(proto: "HONEDGE"), - 680: .same(proto: "DOUBLADE"), - 681: .same(proto: "AEGISLASH"), - 682: .same(proto: "SPRITZEE"), - 683: .same(proto: "AROMATISSE"), - 684: .same(proto: "SWIRLIX"), - 685: .same(proto: "SLURPUFF"), - 686: .same(proto: "INKAY"), - 687: .same(proto: "MALAMAR"), - 688: .same(proto: "BINACLE"), - 689: .same(proto: "BARBARACLE"), - 690: .same(proto: "SKRELP"), - 691: .same(proto: "DRAGALGE"), - 692: .same(proto: "CLAUNCHER"), - 693: .same(proto: "CLAWITZER"), - 694: .same(proto: "HELIOPTILE"), - 695: .same(proto: "HELIOLISK"), - 696: .same(proto: "TYRUNT"), - 697: .same(proto: "TYRANTRUM"), - 698: .same(proto: "AMAURA"), - 699: .same(proto: "AURORUS"), - 700: .same(proto: "SYLVEON"), - 701: .same(proto: "HAWLUCHA"), - 702: .same(proto: "DEDENNE"), - 703: .same(proto: "CARBINK"), - 704: .same(proto: "GOOMY"), - 705: .same(proto: "SLIGGOO"), - 706: .same(proto: "GOODRA"), - 707: .same(proto: "KLEFKI"), - 708: .same(proto: "PHANTUMP"), - 709: .same(proto: "TREVENANT"), - 710: .same(proto: "PUMPKABOO"), - 711: .same(proto: "GOURGEIST"), - 712: .same(proto: "BERGMITE"), - 713: .same(proto: "AVALUGG"), - 714: .same(proto: "NOIBAT"), - 715: .same(proto: "NOIVERN"), - 716: .same(proto: "XERNEAS"), - 717: .same(proto: "YVELTAL"), - 718: .same(proto: "ZYGARDE"), - 719: .same(proto: "DIANCIE"), - 720: .same(proto: "HOOPA"), - 721: .same(proto: "VOLCANION"), - 722: .same(proto: "ROWLET"), - 723: .same(proto: "DARTRIX"), - 724: .same(proto: "DECIDUEYE"), - 725: .same(proto: "LITTEN"), - 726: .same(proto: "TORRACAT"), - 727: .same(proto: "INCINEROAR"), - 728: .same(proto: "POPPLIO"), - 729: .same(proto: "BRIONNE"), - 730: .same(proto: "PRIMARINA"), - 731: .same(proto: "PIKIPEK"), - 732: .same(proto: "TRUMBEAK"), - 733: .same(proto: "TOUCANNON"), - 734: .same(proto: "YUNGOOS"), - 735: .same(proto: "GUMSHOOS"), - 736: .same(proto: "GRUBBIN"), - 737: .same(proto: "CHARJABUG"), - 738: .same(proto: "VIKAVOLT"), - 739: .same(proto: "CRABRAWLER"), - 740: .same(proto: "CRABOMINABLE"), - 741: .same(proto: "ORICORIO"), - 742: .same(proto: "CUTIEFLY"), - 743: .same(proto: "RIBOMBEE"), - 744: .same(proto: "ROCKRUFF"), - 745: .same(proto: "LYCANROC"), - 746: .same(proto: "WISHIWASHI"), - 747: .same(proto: "MAREANIE"), - 748: .same(proto: "TOXAPEX"), - 749: .same(proto: "MUDBRAY"), - 750: .same(proto: "MUDSDALE"), - 751: .same(proto: "DEWPIDER"), - 752: .same(proto: "ARAQUANID"), - 753: .same(proto: "FOMANTIS"), - 754: .same(proto: "LURANTIS"), - 755: .same(proto: "MORELULL"), - 756: .same(proto: "SHIINOTIC"), - 757: .same(proto: "SALANDIT"), - 758: .same(proto: "SALAZZLE"), - 759: .same(proto: "STUFFUL"), - 760: .same(proto: "BEWEAR"), - 761: .same(proto: "BOUNSWEET"), - 762: .same(proto: "STEENEE"), - 763: .same(proto: "TSAREENA"), - 764: .same(proto: "COMFEY"), - 765: .same(proto: "ORANGURU"), - 766: .same(proto: "PASSIMIAN"), - 767: .same(proto: "WIMPOD"), - 768: .same(proto: "GOLISOPOD"), - 769: .same(proto: "SANDYGAST"), - 770: .same(proto: "PALOSSAND"), - 771: .same(proto: "PYUKUMUKU"), - 772: .same(proto: "TYPE_NULL"), - 773: .same(proto: "SILVALLY"), - 774: .same(proto: "MINIOR"), - 775: .same(proto: "KOMALA"), - 776: .same(proto: "TURTONATOR"), - 777: .same(proto: "TOGEDEMARU"), - 778: .same(proto: "MIMIKYU"), - 779: .same(proto: "BRUXISH"), - 780: .same(proto: "DRAMPA"), - 781: .same(proto: "DHELMISE"), - 782: .same(proto: "JANGMO_O"), - 783: .same(proto: "HAKAMO_O"), - 784: .same(proto: "KOMMO_O"), - 785: .same(proto: "TAPU_KOKO"), - 786: .same(proto: "TAPU_LELE"), - 787: .same(proto: "TAPU_BULU"), - 788: .same(proto: "TAPU_FINI"), - 789: .same(proto: "COSMOG"), - 790: .same(proto: "COSMOEM"), - 791: .same(proto: "SOLGALEO"), - 792: .same(proto: "LUNALA"), - 793: .same(proto: "NIHILEGO"), - 794: .same(proto: "BUZZWOLE"), - 795: .same(proto: "PHEROMOSA"), - 796: .same(proto: "XURKITREE"), - 797: .same(proto: "CELESTEELA"), - 798: .same(proto: "KARTANA"), - 799: .same(proto: "GUZZLORD"), - 800: .same(proto: "NECROZMA"), - 801: .same(proto: "MAGEARNA"), - 802: .same(proto: "MARSHADOW"), - 803: .same(proto: "POIPOLE"), - 804: .same(proto: "NAGANADEL"), - 805: .same(proto: "STAKATAKA"), - 806: .same(proto: "BLACEPHALON"), - 807: .same(proto: "ZERAORA"), - 808: .same(proto: "MELTAN"), - 809: .same(proto: "MELMETAL"), - 810: .same(proto: "GROOKEY"), - 811: .same(proto: "THWACKEY"), - 812: .same(proto: "RILLABOOM"), - 813: .same(proto: "SCORBUNNY"), - 814: .same(proto: "RABOOT"), - 815: .same(proto: "CINDERACE"), - 816: .same(proto: "SOBBLE"), - 817: .same(proto: "DRIZZILE"), - 818: .same(proto: "INTELEON"), - 819: .same(proto: "SKWOVET"), - 820: .same(proto: "GREEDENT"), - 821: .same(proto: "ROOKIDEE"), - 822: .same(proto: "CORVISQUIRE"), - 823: .same(proto: "CORVIKNIGHT"), - 824: .same(proto: "BLIPBUG"), - 825: .same(proto: "DOTTLER"), - 826: .same(proto: "ORBEETLE"), - 827: .same(proto: "NICKIT"), - 828: .same(proto: "THIEVUL"), - 829: .same(proto: "GOSSIFLEUR"), - 830: .same(proto: "ELDEGOSS"), - 831: .same(proto: "WOOLOO"), - 832: .same(proto: "DUBWOOL"), - 833: .same(proto: "CHEWTLE"), - 834: .same(proto: "DREDNAW"), - 835: .same(proto: "YAMPER"), - 836: .same(proto: "BOLTUND"), - 837: .same(proto: "ROLYCOLY"), - 838: .same(proto: "CARKOL"), - 839: .same(proto: "COALOSSAL"), - 840: .same(proto: "APPLIN"), - 841: .same(proto: "FLAPPLE"), - 842: .same(proto: "APPLETUN"), - 843: .same(proto: "SILICOBRA"), - 844: .same(proto: "SANDACONDA"), - 845: .same(proto: "CRAMORANT"), - 846: .same(proto: "ARROKUDA"), - 847: .same(proto: "BARRASKEWDA"), - 848: .same(proto: "TOXEL"), - 849: .same(proto: "TOXTRICITY"), - 850: .same(proto: "SIZZLIPEDE"), - 851: .same(proto: "CENTISKORCH"), - 852: .same(proto: "CLOBBOPUS"), - 853: .same(proto: "GRAPPLOCT"), - 854: .same(proto: "SINISTEA"), - 855: .same(proto: "POLTEAGEIST"), - 856: .same(proto: "HATENNA"), - 857: .same(proto: "HATTREM"), - 858: .same(proto: "HATTERENE"), - 859: .same(proto: "IMPIDIMP"), - 860: .same(proto: "MORGREM"), - 861: .same(proto: "GRIMMSNARL"), - 862: .same(proto: "OBSTAGOON"), - 863: .same(proto: "PERRSERKER"), - 864: .same(proto: "CURSOLA"), - 865: .same(proto: "SIRFETCHD"), - 866: .same(proto: "MR_RIME"), - 867: .same(proto: "RUNERIGUS"), - 868: .same(proto: "MILCERY"), - 869: .same(proto: "ALCREMIE"), - 870: .same(proto: "FALINKS"), - 871: .same(proto: "PINCURCHIN"), - 872: .same(proto: "SNOM"), - 873: .same(proto: "FROSMOTH"), - 874: .same(proto: "STONJOURNER"), - 875: .same(proto: "EISCUE"), - 876: .same(proto: "INDEEDEE"), - 877: .same(proto: "MORPEKO"), - 878: .same(proto: "CUFANT"), - 879: .same(proto: "COPPERAJAH"), - 880: .same(proto: "DRACOZOLT"), - 881: .same(proto: "ARCTOZOLT"), - 882: .same(proto: "DRACOVISH"), - 883: .same(proto: "ARCTOVISH"), - 884: .same(proto: "DURALUDON"), - 885: .same(proto: "DREEPY"), - 886: .same(proto: "DRAKLOAK"), - 887: .same(proto: "DRAGAPULT"), - 888: .same(proto: "ZACIAN"), - 889: .same(proto: "ZAMAZENTA"), - 890: .same(proto: "ETERNATUS"), - 891: .same(proto: "KUBFU"), - 892: .same(proto: "URSHIFU"), - 893: .same(proto: "ZARUDE"), - 894: .same(proto: "REGIELEKI"), - 895: .same(proto: "REGIDRAGO"), - 896: .same(proto: "GLASTRIER"), - 897: .same(proto: "SPECTRIER"), - 898: .same(proto: "CALYREX"), - 899: .same(proto: "WYRDEER"), - 900: .same(proto: "KLEAVOR"), - 901: .same(proto: "URSALUNA"), - 902: .same(proto: "BASCULEGION"), - 903: .same(proto: "SNEASLER"), - 904: .same(proto: "OVERQWIL"), - 905: .same(proto: "ENAMORUS"), - 906: .same(proto: "SPRIGATITO"), - 907: .same(proto: "FLORAGATO"), - 908: .same(proto: "MEOWSCARADA"), - 909: .same(proto: "FUECOCO"), - 910: .same(proto: "CROCALOR"), - 911: .same(proto: "SKELEDIRGE"), - 912: .same(proto: "QUAXLY"), - 913: .same(proto: "QUAXWELL"), - 914: .same(proto: "QUAQUAVAL"), - 915: .same(proto: "LECHONK"), - 916: .same(proto: "OINKOLOGNE"), - 917: .same(proto: "TAROUNTULA"), - 918: .same(proto: "SPIDOPS"), - 919: .same(proto: "NYMBLE"), - 920: .same(proto: "LOKIX"), - 921: .same(proto: "PAWMI"), - 922: .same(proto: "PAWMO"), - 923: .same(proto: "PAWMOT"), - 924: .same(proto: "TANDEMAUS"), - 925: .same(proto: "MAUSHOLD"), - 926: .same(proto: "FIDOUGH"), - 927: .same(proto: "DACHSBUN"), - 928: .same(proto: "SMOLIV"), - 929: .same(proto: "DOLLIV"), - 930: .same(proto: "ARBOLIVA"), - 931: .same(proto: "SQUAWKABILLY"), - 932: .same(proto: "NACLI"), - 933: .same(proto: "NACLSTACK"), - 934: .same(proto: "GARGANACL"), - 935: .same(proto: "CHARCADET"), - 936: .same(proto: "ARMAROUGE"), - 937: .same(proto: "CERULEDGE"), - 938: .same(proto: "TADBULB"), - 939: .same(proto: "BELLIBOLT"), - 940: .same(proto: "WATTREL"), - 941: .same(proto: "KILOWATTREL"), - 942: .same(proto: "MASCHIFF"), - 943: .same(proto: "MABOSSTIFF"), - 944: .same(proto: "SHROODLE"), - 945: .same(proto: "GRAFAIAI"), - 946: .same(proto: "BRAMBLIN"), - 947: .same(proto: "BRAMBLEGHAST"), - 948: .same(proto: "TOEDSCOOL"), - 949: .same(proto: "TOEDSCRUEL"), - 950: .same(proto: "KLAWF"), - 951: .same(proto: "CAPSAKID"), - 952: .same(proto: "SCOVILLAIN"), - 953: .same(proto: "RELLOR"), - 954: .same(proto: "RABSCA"), - 955: .same(proto: "FLITTLE"), - 956: .same(proto: "ESPATHRA"), - 957: .same(proto: "TINKATINK"), - 958: .same(proto: "TINKATUFF"), - 959: .same(proto: "TINKATON"), - 960: .same(proto: "WIGLETT"), - 961: .same(proto: "WUGTRIO"), - 962: .same(proto: "BOMBIRDIER"), - 963: .same(proto: "FINIZEN"), - 964: .same(proto: "PALAFIN"), - 965: .same(proto: "VAROOM"), - 966: .same(proto: "REVAVROOM"), - 967: .same(proto: "CYCLIZAR"), - 968: .same(proto: "ORTHWORM"), - 969: .same(proto: "GLIMMET"), - 970: .same(proto: "GLIMMORA"), - 971: .same(proto: "GREAVARD"), - 972: .same(proto: "HOUNDSTONE"), - 973: .same(proto: "FLAMIGO"), - 974: .same(proto: "CETODDLE"), - 975: .same(proto: "CETITAN"), - 976: .same(proto: "VELUZA"), - 977: .same(proto: "DONDOZO"), - 978: .same(proto: "TATSUGIRI"), - 979: .same(proto: "ANNIHILAPE"), - 980: .same(proto: "CLODSIRE"), - 981: .same(proto: "FARIGIRAF"), - 982: .same(proto: "DUDUNSPARCE"), - 983: .same(proto: "KINGAMBIT"), - 984: .same(proto: "GREATTUSK"), - 985: .same(proto: "SCREAMTAIL"), - 986: .same(proto: "BRUTEBONNET"), - 987: .same(proto: "FLUTTERMANE"), - 988: .same(proto: "SLITHERWING"), - 989: .same(proto: "SANDYSHOCKS"), - 990: .same(proto: "IRONTREADS"), - 991: .same(proto: "IRONBUNDLE"), - 992: .same(proto: "IRONHANDS"), - 993: .same(proto: "IRONJUGULIS"), - 994: .same(proto: "IRONMOTH"), - 995: .same(proto: "IRONTHORNS"), - 996: .same(proto: "FRIGIBAX"), - 997: .same(proto: "ARCTIBAX"), - 998: .same(proto: "BAXCALIBUR"), - 999: .same(proto: "GIMMIGHOUL"), - 1000: .same(proto: "GHOLDENGO"), - 1001: .same(proto: "WOCHIEN"), - 1002: .same(proto: "CHIENPAO"), - 1003: .same(proto: "TINGLU"), - 1004: .same(proto: "CHIYU"), - 1005: .same(proto: "ROARINGMOON"), - 1006: .same(proto: "IRONVALIANT"), - 1007: .same(proto: "KORAIDON"), - 1008: .same(proto: "MIRAIDON"), +#endif // swift(>=4.2) + +public struct VsSeekerStartMatchmakingProto { + // 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. + + public var combatLeagueTemplateID: String = String() + + public var attackingPokemonID: [UInt64] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct VsSeekerStartMatchmakingResponseData { + // 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. + + public var rpcID: Int32 = 0 + + public var roundTripTimeMs: UInt32 = 0 + + public var result: VsSeekerStartMatchmakingOutProto.Result = .unset + + public var challenge: CombatChallengeLogProto { + get {return _challenge ?? CombatChallengeLogProto()} + set {_challenge = newValue} + } + /// Returns true if `challenge` has been explicitly set. + public var hasChallenge: Bool {return self._challenge != nil} + /// Clears the value of `challenge`. Subsequent reads from it will return its default value. + public mutating func clearChallenge() {self._challenge = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _challenge: CombatChallengeLogProto? = nil +} + +public struct VsSeekerWinRewardsLogEntry { + // 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. + + public var result: VsSeekerWinRewardsLogEntry.Result = .unset + + public var rewards: LootProto { + get {return _rewards ?? LootProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var rank: Int32 = 0 + + public var winNumber: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _rewards: LootProto? = nil +} + +#if swift(>=4.2) + +extension VsSeekerWinRewardsLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [VsSeekerWinRewardsLogEntry.Result] = [ + .unset, + .success, ] } -extension HoloPokemonMove: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "MOVE_UNSET"), - 1: .same(proto: "THUNDER_SHOCK"), - 2: .same(proto: "QUICK_ATTACK"), - 3: .same(proto: "SCRATCH"), - 4: .same(proto: "EMBER"), - 5: .same(proto: "VINE_WHIP"), - 6: .same(proto: "TACKLE"), - 7: .same(proto: "RAZOR_LEAF"), - 8: .same(proto: "TAKE_DOWN"), - 9: .same(proto: "WATER_GUN"), - 10: .same(proto: "BITE"), - 11: .same(proto: "POUND"), - 12: .same(proto: "DOUBLE_SLAP"), - 13: .same(proto: "WRAP"), - 14: .same(proto: "HYPER_BEAM"), - 15: .same(proto: "LICK"), - 16: .same(proto: "DARK_PULSE"), - 17: .same(proto: "SMOG"), - 18: .same(proto: "SLUDGE"), - 19: .same(proto: "METAL_CLAW"), - 20: .same(proto: "VICE_GRIP"), - 21: .same(proto: "FLAME_WHEEL"), - 22: .same(proto: "MEGAHORN"), - 23: .same(proto: "WING_ATTACK"), - 24: .same(proto: "FLAMETHROWER"), - 25: .same(proto: "SUCKER_PUNCH"), - 26: .same(proto: "DIG"), - 27: .same(proto: "LOW_KICK"), - 28: .same(proto: "CROSS_CHOP"), - 29: .same(proto: "PSYCHO_CUT"), - 30: .same(proto: "PSYBEAM"), - 31: .same(proto: "EARTHQUAKE"), - 32: .same(proto: "STONE_EDGE"), - 33: .same(proto: "ICE_PUNCH"), - 34: .same(proto: "HEART_STAMP"), - 35: .same(proto: "DISCHARGE"), - 36: .same(proto: "FLASH_CANNON"), - 37: .same(proto: "PECK"), - 38: .same(proto: "DRILL_PECK"), - 39: .same(proto: "ICE_BEAM"), - 40: .same(proto: "BLIZZARD"), - 41: .same(proto: "AIR_SLASH"), - 42: .same(proto: "HEAT_WAVE"), - 43: .same(proto: "TWINEEDLE"), - 44: .same(proto: "POISON_JAB"), - 45: .same(proto: "AERIAL_ACE"), - 46: .same(proto: "DRILL_RUN"), - 47: .same(proto: "PETAL_BLIZZARD"), - 48: .same(proto: "MEGA_DRAIN"), - 49: .same(proto: "BUG_BUZZ"), - 50: .same(proto: "POISON_FANG"), - 51: .same(proto: "NIGHT_SLASH"), - 52: .same(proto: "SLASH"), - 53: .same(proto: "BUBBLE_BEAM"), - 54: .same(proto: "SUBMISSION"), - 55: .same(proto: "KARATE_CHOP"), - 56: .same(proto: "LOW_SWEEP"), - 57: .same(proto: "AQUA_JET"), - 58: .same(proto: "AQUA_TAIL"), - 59: .same(proto: "SEED_BOMB"), - 60: .same(proto: "PSYSHOCK"), - 61: .same(proto: "ROCK_THROW"), - 62: .same(proto: "ANCIENT_POWER"), - 63: .same(proto: "ROCK_TOMB"), - 64: .same(proto: "ROCK_SLIDE"), - 65: .same(proto: "POWER_GEM"), - 66: .same(proto: "SHADOW_SNEAK"), - 67: .same(proto: "SHADOW_PUNCH"), - 68: .same(proto: "SHADOW_CLAW"), - 69: .same(proto: "OMINOUS_WIND"), - 70: .same(proto: "SHADOW_BALL"), - 71: .same(proto: "BULLET_PUNCH"), - 72: .same(proto: "MAGNET_BOMB"), - 73: .same(proto: "STEEL_WING"), - 74: .same(proto: "IRON_HEAD"), - 75: .same(proto: "PARABOLIC_CHARGE"), - 76: .same(proto: "SPARK"), - 77: .same(proto: "THUNDER_PUNCH"), - 78: .same(proto: "THUNDER"), - 79: .same(proto: "THUNDERBOLT"), - 80: .same(proto: "TWISTER"), - 81: .same(proto: "DRAGON_BREATH"), - 82: .same(proto: "DRAGON_PULSE"), - 83: .same(proto: "DRAGON_CLAW"), - 84: .same(proto: "DISARMING_VOICE"), - 85: .same(proto: "DRAINING_KISS"), - 86: .same(proto: "DAZZLING_GLEAM"), - 87: .same(proto: "MOONBLAST"), - 88: .same(proto: "PLAY_ROUGH"), - 89: .same(proto: "CROSS_POISON"), - 90: .same(proto: "SLUDGE_BOMB"), - 91: .same(proto: "SLUDGE_WAVE"), - 92: .same(proto: "GUNK_SHOT"), - 93: .same(proto: "MUD_SHOT"), - 94: .same(proto: "BONE_CLUB"), - 95: .same(proto: "BULLDOZE"), - 96: .same(proto: "MUD_BOMB"), - 97: .same(proto: "FURY_CUTTER"), - 98: .same(proto: "BUG_BITE"), - 99: .same(proto: "SIGNAL_BEAM"), - 100: .same(proto: "X_SCISSOR"), - 101: .same(proto: "FLAME_CHARGE"), - 102: .same(proto: "FLAME_BURST"), - 103: .same(proto: "FIRE_BLAST"), - 104: .same(proto: "BRINE"), - 105: .same(proto: "WATER_PULSE"), - 106: .same(proto: "SCALD"), - 107: .same(proto: "HYDRO_PUMP"), - 108: .same(proto: "PSYCHIC"), - 109: .same(proto: "PSYSTRIKE"), - 110: .same(proto: "ICE_SHARD"), - 111: .same(proto: "ICY_WIND"), - 112: .same(proto: "FROST_BREATH"), - 113: .same(proto: "ABSORB"), - 114: .same(proto: "GIGA_DRAIN"), - 115: .same(proto: "FIRE_PUNCH"), - 116: .same(proto: "SOLAR_BEAM"), - 117: .same(proto: "LEAF_BLADE"), - 118: .same(proto: "POWER_WHIP"), - 119: .same(proto: "SPLASH"), - 120: .same(proto: "ACID"), - 121: .same(proto: "AIR_CUTTER"), - 122: .same(proto: "HURRICANE"), - 123: .same(proto: "BRICK_BREAK"), - 124: .same(proto: "CUT"), - 125: .same(proto: "SWIFT"), - 126: .same(proto: "HORN_ATTACK"), - 127: .same(proto: "STOMP"), - 128: .same(proto: "HEADBUTT"), - 129: .same(proto: "HYPER_FANG"), - 130: .same(proto: "SLAM"), - 131: .same(proto: "BODY_SLAM"), - 132: .same(proto: "REST"), - 133: .same(proto: "STRUGGLE"), - 134: .same(proto: "SCALD_BLASTOISE"), - 135: .same(proto: "HYDRO_PUMP_BLASTOISE"), - 136: .same(proto: "WRAP_GREEN"), - 137: .same(proto: "WRAP_PINK"), - 200: .same(proto: "FURY_CUTTER_FAST"), - 201: .same(proto: "BUG_BITE_FAST"), - 202: .same(proto: "BITE_FAST"), - 203: .same(proto: "SUCKER_PUNCH_FAST"), - 204: .same(proto: "DRAGON_BREATH_FAST"), - 205: .same(proto: "THUNDER_SHOCK_FAST"), - 206: .same(proto: "SPARK_FAST"), - 207: .same(proto: "LOW_KICK_FAST"), - 208: .same(proto: "KARATE_CHOP_FAST"), - 209: .same(proto: "EMBER_FAST"), - 210: .same(proto: "WING_ATTACK_FAST"), - 211: .same(proto: "PECK_FAST"), - 212: .same(proto: "LICK_FAST"), - 213: .same(proto: "SHADOW_CLAW_FAST"), - 214: .same(proto: "VINE_WHIP_FAST"), - 215: .same(proto: "RAZOR_LEAF_FAST"), - 216: .same(proto: "MUD_SHOT_FAST"), - 217: .same(proto: "ICE_SHARD_FAST"), - 218: .same(proto: "FROST_BREATH_FAST"), - 219: .same(proto: "QUICK_ATTACK_FAST"), - 220: .same(proto: "SCRATCH_FAST"), - 221: .same(proto: "TACKLE_FAST"), - 222: .same(proto: "POUND_FAST"), - 223: .same(proto: "CUT_FAST"), - 224: .same(proto: "POISON_JAB_FAST"), - 225: .same(proto: "ACID_FAST"), - 226: .same(proto: "PSYCHO_CUT_FAST"), - 227: .same(proto: "ROCK_THROW_FAST"), - 228: .same(proto: "METAL_CLAW_FAST"), - 229: .same(proto: "BULLET_PUNCH_FAST"), - 230: .same(proto: "WATER_GUN_FAST"), - 231: .same(proto: "SPLASH_FAST"), - 232: .same(proto: "WATER_GUN_FAST_BLASTOISE"), - 233: .same(proto: "MUD_SLAP_FAST"), - 234: .same(proto: "ZEN_HEADBUTT_FAST"), - 235: .same(proto: "CONFUSION_FAST"), - 236: .same(proto: "POISON_STING_FAST"), - 237: .same(proto: "BUBBLE_FAST"), - 238: .same(proto: "FEINT_ATTACK_FAST"), - 239: .same(proto: "STEEL_WING_FAST"), - 240: .same(proto: "FIRE_FANG_FAST"), - 241: .same(proto: "ROCK_SMASH_FAST"), - 242: .same(proto: "TRANSFORM_FAST"), - 243: .same(proto: "COUNTER_FAST"), - 244: .same(proto: "POWDER_SNOW_FAST"), - 245: .same(proto: "CLOSE_COMBAT"), - 246: .same(proto: "DYNAMIC_PUNCH"), - 247: .same(proto: "FOCUS_BLAST"), - 248: .same(proto: "AURORA_BEAM"), - 249: .same(proto: "CHARGE_BEAM_FAST"), - 250: .same(proto: "VOLT_SWITCH_FAST"), - 251: .same(proto: "WILD_CHARGE"), - 252: .same(proto: "ZAP_CANNON"), - 253: .same(proto: "DRAGON_TAIL_FAST"), - 254: .same(proto: "AVALANCHE"), - 255: .same(proto: "AIR_SLASH_FAST"), - 256: .same(proto: "BRAVE_BIRD"), - 257: .same(proto: "SKY_ATTACK"), - 258: .same(proto: "SAND_TOMB"), - 259: .same(proto: "ROCK_BLAST"), - 260: .same(proto: "INFESTATION_FAST"), - 261: .same(proto: "STRUGGLE_BUG_FAST"), - 262: .same(proto: "SILVER_WIND"), - 263: .same(proto: "ASTONISH_FAST"), - 264: .same(proto: "HEX_FAST"), - 265: .same(proto: "NIGHT_SHADE"), - 266: .same(proto: "IRON_TAIL_FAST"), - 267: .same(proto: "GYRO_BALL"), - 268: .same(proto: "HEAVY_SLAM"), - 269: .same(proto: "FIRE_SPIN_FAST"), - 270: .same(proto: "OVERHEAT"), - 271: .same(proto: "BULLET_SEED_FAST"), - 272: .same(proto: "GRASS_KNOT"), - 273: .same(proto: "ENERGY_BALL"), - 274: .same(proto: "EXTRASENSORY_FAST"), - 275: .same(proto: "FUTURESIGHT"), - 276: .same(proto: "MIRROR_COAT"), - 277: .same(proto: "OUTRAGE"), - 278: .same(proto: "SNARL_FAST"), - 279: .same(proto: "CRUNCH"), - 280: .same(proto: "FOUL_PLAY"), - 281: .same(proto: "HIDDEN_POWER_FAST"), - 282: .same(proto: "TAKE_DOWN_FAST"), - 283: .same(proto: "WATERFALL_FAST"), - 284: .same(proto: "SURF"), - 285: .same(proto: "DRACO_METEOR"), - 286: .same(proto: "DOOM_DESIRE"), - 287: .same(proto: "YAWN_FAST"), - 288: .same(proto: "PSYCHO_BOOST"), - 289: .same(proto: "ORIGIN_PULSE"), - 290: .same(proto: "PRECIPICE_BLADES"), - 291: .same(proto: "PRESENT_FAST"), - 292: .same(proto: "WEATHER_BALL_FIRE"), - 293: .same(proto: "WEATHER_BALL_ICE"), - 294: .same(proto: "WEATHER_BALL_ROCK"), - 295: .same(proto: "WEATHER_BALL_WATER"), - 296: .same(proto: "FRENZY_PLANT"), - 297: .same(proto: "SMACK_DOWN_FAST"), - 298: .same(proto: "BLAST_BURN"), - 299: .same(proto: "HYDRO_CANNON"), - 300: .same(proto: "LAST_RESORT"), - 301: .same(proto: "METEOR_MASH"), - 302: .same(proto: "SKULL_BASH"), - 303: .same(proto: "ACID_SPRAY"), - 304: .same(proto: "EARTH_POWER"), - 305: .same(proto: "CRABHAMMER"), - 306: .same(proto: "LUNGE"), - 307: .same(proto: "CRUSH_CLAW"), - 308: .same(proto: "OCTAZOOKA"), - 309: .same(proto: "MIRROR_SHOT"), - 310: .same(proto: "SUPER_POWER"), - 311: .same(proto: "FELL_STINGER"), - 312: .same(proto: "LEAF_TORNADO"), - 313: .same(proto: "LEECH_LIFE"), - 314: .same(proto: "DRAIN_PUNCH"), - 315: .same(proto: "SHADOW_BONE"), - 316: .same(proto: "MUDDY_WATER"), - 317: .same(proto: "BLAZE_KICK"), - 318: .same(proto: "RAZOR_SHELL"), - 319: .same(proto: "POWER_UP_PUNCH"), - 320: .same(proto: "CHARM_FAST"), - 321: .same(proto: "GIGA_IMPACT"), - 322: .same(proto: "FRUSTRATION"), - 323: .same(proto: "RETURN"), - 324: .same(proto: "SYNCHRONOISE"), - 325: .same(proto: "LOCK_ON_FAST"), - 326: .same(proto: "THUNDER_FANG_FAST"), - 327: .same(proto: "ICE_FANG_FAST"), - 328: .same(proto: "HORN_DRILL"), - 329: .same(proto: "FISSURE"), - 330: .same(proto: "SACRED_SWORD"), - 331: .same(proto: "FLYING_PRESS"), - 332: .same(proto: "AURA_SPHERE"), - 333: .same(proto: "PAYBACK"), - 334: .same(proto: "ROCK_WRECKER"), - 335: .same(proto: "AEROBLAST"), - 336: .same(proto: "TECHNO_BLAST_NORMAL"), - 337: .same(proto: "TECHNO_BLAST_BURN"), - 338: .same(proto: "TECHNO_BLAST_CHILL"), - 339: .same(proto: "TECHNO_BLAST_WATER"), - 340: .same(proto: "TECHNO_BLAST_SHOCK"), - 341: .same(proto: "FLY"), - 342: .same(proto: "V_CREATE"), - 343: .same(proto: "LEAF_STORM"), - 344: .same(proto: "TRI_ATTACK"), - 345: .same(proto: "GUST_FAST"), - 346: .same(proto: "INCINERATE_FAST"), - 347: .same(proto: "DARK_VOID"), - 348: .same(proto: "FEATHER_DANCE"), - 349: .same(proto: "FIERY_DANCE"), - 350: .same(proto: "FAIRY_WIND_FAST"), - 351: .same(proto: "RELIC_SONG"), - 352: .same(proto: "WEATHER_BALL_NORMAL"), - 353: .same(proto: "PSYCHIC_FANGS"), - 354: .same(proto: "HYPERSPACE_FURY"), - 355: .same(proto: "HYPERSPACE_HOLE"), - 356: .same(proto: "DOUBLE_KICK_FAST"), - 357: .same(proto: "MAGICAL_LEAF_FAST"), - 358: .same(proto: "SACRED_FIRE"), - 359: .same(proto: "ICICLE_SPEAR"), - 360: .same(proto: "AEROBLAST_PLUS"), - 361: .same(proto: "AEROBLAST_PLUS_PLUS"), - 362: .same(proto: "SACRED_FIRE_PLUS"), - 363: .same(proto: "SACRED_FIRE_PLUS_PLUS"), - 364: .same(proto: "ACROBATICS"), - 365: .same(proto: "LUSTER_PURGE"), - 366: .same(proto: "MIST_BALL"), - 367: .same(proto: "BRUTAL_SWING"), - 368: .same(proto: "ROLLOUT_FAST"), - 369: .same(proto: "SEED_FLARE"), - 370: .same(proto: "OBSTRUCT"), - 371: .same(proto: "SHADOW_FORCE"), - 372: .same(proto: "METEOR_BEAM"), - 373: .same(proto: "WATER_SHURIKEN_FAST"), - 374: .same(proto: "FUSION_BOLT"), - 375: .same(proto: "FUSION_FLARE"), - 376: .same(proto: "POLTERGEIST"), - 377: .same(proto: "HIGH_HORSEPOWER"), - 378: .same(proto: "GLACIATE"), - 379: .same(proto: "BREAKING_SWIPE"), - 380: .same(proto: "BOOMBURST"), - 381: .same(proto: "DOUBLE_IRON_BASH"), - 382: .same(proto: "MYSTICAL_FIRE"), - 383: .same(proto: "LIQUIDATION"), - 384: .same(proto: "DRAGON_ASCENT"), - 385: .same(proto: "LEAFAGE_FAST"), - 386: .same(proto: "MAGMA_STORM"), - 387: .same(proto: "GEOMANCY_FAST"), - 388: .same(proto: "SPACIAL_REND"), - 389: .same(proto: "OBLIVION_WING"), - 390: .same(proto: "NATURES_MADNESS"), - 391: .same(proto: "TRIPLE_AXEL"), - 392: .same(proto: "TRAILBLAZE"), - 393: .same(proto: "SCORCHING_SANDS"), +#endif // swift(>=4.2) + +public struct WainaGetRewardsRequest { + // 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. + + public var sleepDay: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WainaGetRewardsResponse { + // 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. + + public var status: WainaGetRewardsResponse.Status = .unset + + public var lootProto: LootProto { + get {return _lootProto ?? LootProto()} + set {_lootProto = newValue} + } + /// Returns true if `lootProto` has been explicitly set. + public var hasLootProto: Bool {return self._lootProto != nil} + /// Clears the value of `lootProto`. Subsequent reads from it will return its default value. + public mutating func clearLootProto() {self._lootProto = nil} + + public var rewardTierSec: UInt32 = 0 + + public var buddyBonusHeart: UInt32 = 0 + + public var buddy: PokemonProto { + get {return _buddy ?? PokemonProto()} + set {_buddy = newValue} + } + /// Returns true if `buddy` has been explicitly set. + public var hasBuddy: Bool {return self._buddy != nil} + /// Clears the value of `buddy`. Subsequent reads from it will return its default value. + public mutating func clearBuddy() {self._buddy = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case errorAlreadyRewarded // = 3 + case errorSleepRecordsNotAfterTimestamp // = 4 + case errorMissingSleepRecord // = 5 + case errorNotification // = 6 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + case 3: self = .errorAlreadyRewarded + case 4: self = .errorSleepRecordsNotAfterTimestamp + case 5: self = .errorMissingSleepRecord + case 6: self = .errorNotification + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .errorAlreadyRewarded: return 3 + case .errorSleepRecordsNotAfterTimestamp: return 4 + case .errorMissingSleepRecord: return 5 + case .errorNotification: return 6 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _lootProto: LootProto? = nil + fileprivate var _buddy: PokemonProto? = nil +} + +#if swift(>=4.2) + +extension WainaGetRewardsResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [WainaGetRewardsResponse.Status] = [ + .unset, + .success, + .error, + .errorAlreadyRewarded, + .errorSleepRecordsNotAfterTimestamp, + .errorMissingSleepRecord, + .errorNotification, + ] +} + +#endif // swift(>=4.2) + +public struct WainaPreferences { + // 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. + + public var ball: Item = .unknown + + public var autocatch: Bool = false + + public var autospin: Bool = false + + public var notifySpin: Bool = false + + public var notifyCatch: Bool = false + + public var notifyPush: Bool = false + + public var alwaysAdvertise: Bool = false + + public var sleepTracking: Bool = false + + public var sleepRewardTimeSec: Int32 = 0 + + public var voiceEffect: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WainaSubmitSleepDataRequest { + // 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. + + public var sleepRecord: [ClientSleepRecord] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WainaSubmitSleepDataResponse { + // 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. + + public var status: WainaSubmitSleepDataResponse.Status = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Status: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case error // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .error + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .error: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension WainaSubmitSleepDataResponse.Status: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [WainaSubmitSleepDataResponse.Status] = [ + .unset, + .success, + .error, + ] +} + +#endif // swift(>=4.2) + +public struct WallabySettingsProto { + // 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. + + public var enable: Bool = false + + public var activityLengthS: Float = 0 + + public var testMask: UInt32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WayfarerOnboardingFlowTelemetry { + // 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. + + public var eventType: WayfarerOnboardingFlowTelemetry.EventType = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum EventType: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case enterWayfarerWebsite // = 1 + case deferWayfarerOnboarding // = 2 + case simplifiedOnboardingOk // = 3 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .enterWayfarerWebsite + case 2: self = .deferWayfarerOnboarding + case 3: self = .simplifiedOnboardingOk + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .enterWayfarerWebsite: return 1 + case .deferWayfarerOnboarding: return 2 + case .simplifiedOnboardingOk: return 3 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension WayfarerOnboardingFlowTelemetry.EventType: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [WayfarerOnboardingFlowTelemetry.EventType] = [ + .unset, + .enterWayfarerWebsite, + .deferWayfarerOnboarding, + .simplifiedOnboardingOk, + ] +} + +#endif // swift(>=4.2) + +public struct WayspotEditTelemetry { + // 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. + + public var wayspotEditTelemetryID: WayspotEditTelemetry.WayspotEditEventId = .unknown + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum WayspotEditEventId: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unknown // = 0 + case editImageUploadNow // = 1 + case editImageUploadLater // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unknown + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unknown + case 1: self = .editImageUploadNow + case 2: self = .editImageUploadLater + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unknown: return 0 + case .editImageUploadNow: return 1 + case .editImageUploadLater: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension WayspotEditTelemetry.WayspotEditEventId: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [WayspotEditTelemetry.WayspotEditEventId] = [ + .unknown, + .editImageUploadNow, + .editImageUploadLater, + ] +} + +#endif // swift(>=4.2) + +public struct WeatherAffinityProto { + // 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. + + public var weatherCondition: GameplayWeatherProto.WeatherCondition = .none + + public var pokemonType: [HoloPokemonType] = [] + + public var weaknessPokemonType: [HoloPokemonType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WeatherAlertProto { + // 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. + + public var severity: WeatherAlertProto.Severity = .none + + public var warnWeather: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Severity: SwiftProtobuf.Enum { + public typealias RawValue = Int + case none // = 0 + case moderate // = 1 + case extreme // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .none + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .none + case 1: self = .moderate + case 2: self = .extreme + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .none: return 0 + case .moderate: return 1 + case .extreme: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension WeatherAlertProto.Severity: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [WeatherAlertProto.Severity] = [ + .none, + .moderate, + .extreme, ] } -extension HoloPokemonMovementType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "MOVEMENT_STATIC"), - 1: .same(proto: "MOVEMENT_JUMP"), - 2: .same(proto: "MOVEMENT_VERTICAL"), - 3: .same(proto: "MOVEMENT_PSYCHIC"), - 4: .same(proto: "MOVEMENT_ELECTRIC"), - 5: .same(proto: "MOVEMENT_FLYING"), - 6: .same(proto: "MOVEMENT_HOVERING"), - ] +#endif // swift(>=4.2) + +public struct WeatherAlertSettingsProto { + // 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. + + public var warnWeather: Bool = false + + public var defaultSeverity: WeatherAlertProto.Severity = .none + + public var ignores: [WeatherAlertSettingsProto.AlertIgnoreSettings] = [] + + public var enforces: [WeatherAlertSettingsProto.AlertEnforceSettings] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct AlertEnforceSettings { + // 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. + + public var countryCode: String = String() + + public var when: WeatherAlertSettingsProto.AlertEnforceSettings.EnforceCondition { + get {return _when ?? WeatherAlertSettingsProto.AlertEnforceSettings.EnforceCondition()} + set {_when = newValue} + } + /// Returns true if `when` has been explicitly set. + public var hasWhen: Bool {return self._when != nil} + /// Clears the value of `when`. Subsequent reads from it will return its default value. + public mutating func clearWhen() {self._when = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct EnforceCondition { + // 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. + + public var color: [String] = [] + + public var type: [String] = [] + + public var category: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _when: WeatherAlertSettingsProto.AlertEnforceSettings.EnforceCondition? = nil + } + + public struct AlertIgnoreSettings { + // 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. + + public var countryCode: String = String() + + public var when: WeatherAlertSettingsProto.AlertIgnoreSettings.OverrideCondition { + get {return _when ?? WeatherAlertSettingsProto.AlertIgnoreSettings.OverrideCondition()} + set {_when = newValue} + } + /// Returns true if `when` has been explicitly set. + public var hasWhen: Bool {return self._when != nil} + /// Clears the value of `when`. Subsequent reads from it will return its default value. + public mutating func clearWhen() {self._when = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct OverrideCondition { + // 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. + + public var color: [String] = [] + + public var type: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _when: WeatherAlertSettingsProto.AlertIgnoreSettings.OverrideCondition? = nil + } + + public init() {} +} + +public struct WeatherBonusProto { + // 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. + + public var cpBaseLevelBonus: Int32 = 0 + + public var guaranteedIndividualValues: Int32 = 0 + + public var stardustBonusMultiplier: Double = 0 + + public var attackBonusMultiplier: Double = 0 + + public var raidEncounterCpBaseLevelBonus: Int32 = 0 + + public var raidEncounterGuaranteedIndividualValues: Int32 = 0 + + public var buddyEmotionFavoriteWeatherIncrement: Int32 = 0 + + public var buddyEmotionDislikeWeatherDecrement: Int32 = 0 + + public var raidEncounterShadowGuaranteedIndividualValues: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WeatherDetailClickTelemetry { + // 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. + + public var gameplayWeatherType: String = String() + + public var alertActive: Bool = false + + public var severity: WeatherAlertProto.Severity = .none + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WeatherSettingsProto { + // 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. + + public var gameplaySettings: WeatherSettingsProto.GameplayWeatherSettingsProto { + get {return _gameplaySettings ?? WeatherSettingsProto.GameplayWeatherSettingsProto()} + set {_gameplaySettings = newValue} + } + /// Returns true if `gameplaySettings` has been explicitly set. + public var hasGameplaySettings: Bool {return self._gameplaySettings != nil} + /// Clears the value of `gameplaySettings`. Subsequent reads from it will return its default value. + public mutating func clearGameplaySettings() {self._gameplaySettings = nil} + + public var displaySettings: WeatherSettingsProto.DisplayWeatherSettingsProto { + get {return _displaySettings ?? WeatherSettingsProto.DisplayWeatherSettingsProto()} + set {_displaySettings = newValue} + } + /// Returns true if `displaySettings` has been explicitly set. + public var hasDisplaySettings: Bool {return self._displaySettings != nil} + /// Clears the value of `displaySettings`. Subsequent reads from it will return its default value. + public mutating func clearDisplaySettings() {self._displaySettings = nil} + + public var alertSettings: WeatherAlertSettingsProto { + get {return _alertSettings ?? WeatherAlertSettingsProto()} + set {_alertSettings = newValue} + } + /// Returns true if `alertSettings` has been explicitly set. + public var hasAlertSettings: Bool {return self._alertSettings != nil} + /// Clears the value of `alertSettings`. Subsequent reads from it will return its default value. + public mutating func clearAlertSettings() {self._alertSettings = nil} + + public var staleSettings: WeatherSettingsProto.StaleWeatherSettingsProto { + get {return _staleSettings ?? WeatherSettingsProto.StaleWeatherSettingsProto()} + set {_staleSettings = newValue} + } + /// Returns true if `staleSettings` has been explicitly set. + public var hasStaleSettings: Bool {return self._staleSettings != nil} + /// Clears the value of `staleSettings`. Subsequent reads from it will return its default value. + public mutating func clearStaleSettings() {self._staleSettings = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct DisplayWeatherSettingsProto { + // 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. + + public var displayLevelSettings: [WeatherSettingsProto.DisplayWeatherSettingsProto.DisplayLevelSettings] = [] + + public var windLevelSettings: WeatherSettingsProto.DisplayWeatherSettingsProto.WindLevelSettings { + get {return _windLevelSettings ?? WeatherSettingsProto.DisplayWeatherSettingsProto.WindLevelSettings()} + set {_windLevelSettings = newValue} + } + /// Returns true if `windLevelSettings` has been explicitly set. + public var hasWindLevelSettings: Bool {return self._windLevelSettings != nil} + /// Clears the value of `windLevelSettings`. Subsequent reads from it will return its default value. + public mutating func clearWindLevelSettings() {self._windLevelSettings = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct DisplayLevelSettings { + // 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. + + public var conditionEnums: [String] = [] + + public var cloudLevel: DisplayWeatherProto.DisplayLevel = .level0 + + public var rainLevel: DisplayWeatherProto.DisplayLevel = .level0 + + public var snowLevel: DisplayWeatherProto.DisplayLevel = .level0 + + public var fogLevel: DisplayWeatherProto.DisplayLevel = .level0 + + public var specialEffectLevel: DisplayWeatherProto.DisplayLevel = .level0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct WindLevelSettings { + // 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. + + public var windLevel1Speed: Int32 = 0 + + public var windLevel2Speed: Int32 = 0 + + public var windLevel3Speed: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _windLevelSettings: WeatherSettingsProto.DisplayWeatherSettingsProto.WindLevelSettings? = nil + } + + public struct GameplayWeatherSettingsProto { + // 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. + + public var conditionMap: [WeatherSettingsProto.GameplayWeatherSettingsProto.ConditionMapSettings] = [] + + public var minSpeedForWindy: Int32 = 0 + + public var conditionsForWindy: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct ConditionMapSettings { + // 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. + + public var gameplayCondition: GameplayWeatherProto.WeatherCondition = .none + + public var providerEnums: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + } + + public struct StaleWeatherSettingsProto { + // 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. + + public var maxStaleWeatherThresholdInHrs: Int32 = 0 + + public var defaultWeatherConditionCode: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _gameplaySettings: WeatherSettingsProto.GameplayWeatherSettingsProto? = nil + fileprivate var _displaySettings: WeatherSettingsProto.DisplayWeatherSettingsProto? = nil + fileprivate var _alertSettings: WeatherAlertSettingsProto? = nil + fileprivate var _staleSettings: WeatherSettingsProto.StaleWeatherSettingsProto? = nil +} + +public struct WebSocketResponseData { + // 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. + + public var combat: CombatForLogProto { + get {return _combat ?? CombatForLogProto()} + set {_combat = newValue} + } + /// Returns true if `combat` has been explicitly set. + public var hasCombat: Bool {return self._combat != nil} + /// Clears the value of `combat`. Subsequent reads from it will return its default value. + public mutating func clearCombat() {self._combat = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _combat: CombatForLogProto? = nil } -extension HoloPokemonNature: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NATURE_UNKNOWN"), - 1: .same(proto: "POKEMON_NATURE_STOIC"), - 2: .same(proto: "POKEMON_NATURE_ASSASSIN"), - 3: .same(proto: "POKEMON_NATURE_GUARDIAN"), - 4: .same(proto: "POKEMON_NATURE_RAIDER"), - 5: .same(proto: "POKEMON_NATURE_PROTECTOR"), - 6: .same(proto: "POKEMON_NATURE_SENTRY"), - 7: .same(proto: "POKEMON_NATURE_CHAMPION"), - ] +public struct WebTelemetry { + // 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. + + public var webClickIds: WebTelemetryIds = .undefinedWebEvent + + public var url: String = String() + + public var fortID: String = String() + + public var partnerID: String = String() + + public var campaignID: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension HoloPokemonSize: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKEMON_SIZE_UNSET"), - 1: .same(proto: "XXS"), - 2: .same(proto: "XS"), - 3: .same(proto: "M"), - 4: .same(proto: "XL"), - 5: .same(proto: "XXL"), - ] +public struct WebstoreRewardsLogEntry { + // 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. + + public var result: WebstoreRewardsLogEntry.Result = .unset + + public var name: String = String() + + public var imageURL: String = String() + + public var rewards: RedeemPasscodeRewardProto { + get {return _rewards ?? RedeemPasscodeRewardProto()} + set {_rewards = newValue} + } + /// Returns true if `rewards` has been explicitly set. + public var hasRewards: Bool {return self._rewards != nil} + /// Clears the value of `rewards`. Subsequent reads from it will return its default value. + public mutating func clearRewards() {self._rewards = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Result: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case success // = 1 + case failure // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .success + case 2: self = .failure + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .success: return 1 + case .failure: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} + + fileprivate var _rewards: RedeemPasscodeRewardProto? = nil } -extension HoloPokemonType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKEMON_TYPE_NONE"), - 1: .same(proto: "POKEMON_TYPE_NORMAL"), - 2: .same(proto: "POKEMON_TYPE_FIGHTING"), - 3: .same(proto: "POKEMON_TYPE_FLYING"), - 4: .same(proto: "POKEMON_TYPE_POISON"), - 5: .same(proto: "POKEMON_TYPE_GROUND"), - 6: .same(proto: "POKEMON_TYPE_ROCK"), - 7: .same(proto: "POKEMON_TYPE_BUG"), - 8: .same(proto: "POKEMON_TYPE_GHOST"), - 9: .same(proto: "POKEMON_TYPE_STEEL"), - 10: .same(proto: "POKEMON_TYPE_FIRE"), - 11: .same(proto: "POKEMON_TYPE_WATER"), - 12: .same(proto: "POKEMON_TYPE_GRASS"), - 13: .same(proto: "POKEMON_TYPE_ELECTRIC"), - 14: .same(proto: "POKEMON_TYPE_PSYCHIC"), - 15: .same(proto: "POKEMON_TYPE_ICE"), - 16: .same(proto: "POKEMON_TYPE_DRAGON"), - 17: .same(proto: "POKEMON_TYPE_DARK"), - 18: .same(proto: "POKEMON_TYPE_FAIRY"), +#if swift(>=4.2) + +extension WebstoreRewardsLogEntry.Result: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [WebstoreRewardsLogEntry.Result] = [ + .unset, + .success, + .failure, ] } -extension HoloTemporaryEvolutionId: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TEMP_EVOLUTION_UNSET"), - 1: .same(proto: "TEMP_EVOLUTION_MEGA"), - 2: .same(proto: "TEMP_EVOLUTION_MEGA_X"), - 3: .same(proto: "TEMP_EVOLUTION_MEGA_Y"), - 4: .same(proto: "TEMP_EVOLUTION_PRIMAL"), - ] +#endif // swift(>=4.2) + +public struct WebstoreUserDataProto { + // 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. + + public var level: Int32 = 0 + + public var team: Team = .unset + + public var inventoryStorage: WebstoreUserDataProto.Storage { + get {return _inventoryStorage ?? WebstoreUserDataProto.Storage()} + set {_inventoryStorage = newValue} + } + /// Returns true if `inventoryStorage` has been explicitly set. + public var hasInventoryStorage: Bool {return self._inventoryStorage != nil} + /// Clears the value of `inventoryStorage`. Subsequent reads from it will return its default value. + public mutating func clearInventoryStorage() {self._inventoryStorage = nil} + + public var pokemonStorage: WebstoreUserDataProto.Storage { + get {return _pokemonStorage ?? WebstoreUserDataProto.Storage()} + set {_pokemonStorage = newValue} + } + /// Returns true if `pokemonStorage` has been explicitly set. + public var hasPokemonStorage: Bool {return self._pokemonStorage != nil} + /// Clears the value of `pokemonStorage`. Subsequent reads from it will return its default value. + public mutating func clearPokemonStorage() {self._pokemonStorage = nil} + + public var postcardStorage: WebstoreUserDataProto.Storage { + get {return _postcardStorage ?? WebstoreUserDataProto.Storage()} + set {_postcardStorage = newValue} + } + /// Returns true if `postcardStorage` has been explicitly set. + public var hasPostcardStorage: Bool {return self._postcardStorage != nil} + /// Clears the value of `postcardStorage`. Subsequent reads from it will return its default value. + public mutating func clearPostcardStorage() {self._postcardStorage = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Storage { + // 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. + + public var usedSpace: Int32 = 0 + + public var maxSpace: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public init() {} + + fileprivate var _inventoryStorage: WebstoreUserDataProto.Storage? = nil + fileprivate var _pokemonStorage: WebstoreUserDataProto.Storage? = nil + fileprivate var _postcardStorage: WebstoreUserDataProto.Storage? = nil } -extension IapLibraryVersion: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "IAP_LIBRARY_VERSION_DEFAULT"), - 1: .same(proto: "IAP_LIBRARY_VERSION_IODINE_1_8"), - 2: .same(proto: "IAP_LIBRARY_VERSION_NIA_IAP_4"), - ] +public struct WeekdaysProto { + // 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. + + public var days: [WeekdaysProto.DayName] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum DayName: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case monday // = 1 + case tuesday // = 2 + case wednesday // = 3 + case thursday // = 4 + case friday // = 5 + case saturday // = 6 + case sunday // = 7 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .monday + case 2: self = .tuesday + case 3: self = .wednesday + case 4: self = .thursday + case 5: self = .friday + case 6: self = .saturday + case 7: self = .sunday + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .monday: return 1 + case .tuesday: return 2 + case .wednesday: return 3 + case .thursday: return 4 + case .friday: return 5 + case .saturday: return 6 + case .sunday: return 7 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} } -extension IdentityProvider: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "IDENTITY_PROVIDER_UNSET_IDENTITY_PROVIDER"), - 1: .same(proto: "IDENTITY_PROVIDER_GOOGLE"), - 2: .same(proto: "IDENTITY_PROVIDER_PTC"), - 3: .same(proto: "IDENTITY_PROVIDER_FACEBOOK"), - 4: .same(proto: "IDENTITY_PROVIDER_BACKGROUND"), - 5: .same(proto: "IDENTITY_PROVIDER_INTERNAL"), - 6: .same(proto: "IDENTITY_PROVIDER_SFIDA"), - 7: .same(proto: "IDENTITY_PROVIDER_SUPER_AWESOME"), - 8: .same(proto: "IDENTITY_PROVIDER_DEVELOPER"), - 9: .same(proto: "IDENTITY_PROVIDER_SHARED_SECRET"), - 10: .same(proto: "IDENTITY_PROVIDER_POSEIDON"), - 11: .same(proto: "IDENTITY_PROVIDER_NINTENDO"), - 12: .same(proto: "IDENTITY_PROVIDER_APPLE"), - 13: .same(proto: "IDENTITY_PROVIDER_NIANTIC_SHARED_LOGIN_TOKEN"), - 14: .same(proto: "IDENTITY_PROVIDER_GUEST_LOGIN_TOKEN"), +#if swift(>=4.2) + +extension WeekdaysProto.DayName: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [WeekdaysProto.DayName] = [ + .unset, + .monday, + .tuesday, + .wednesday, + .thursday, + .friday, + .saturday, + .sunday, ] } -extension IncidentDisplayType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INCIDENT_DISPLAY_TYPE_NONE"), - 1: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_GRUNT"), - 2: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_LEADER"), - 3: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_GIOVANNI"), - 4: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_GRUNTB"), - 5: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_EVENT_NPC"), - 6: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_ROUTES_NPC"), - 7: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_GENERIC"), - 8: .same(proto: "INCIDENT_DISPLAY_TYPE_INCIDENT_POKESTOP_ENCOUNTER"), - 9: .same(proto: "INCIDENT_DISPLAY_TYPE_INCIDENT_CONTEST"), - ] +#endif // swift(>=4.2) + +public struct WildCreateDetail { + // 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. + + public var caughtInWild: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension InvasionTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INVASION_TELEMETRY_IDS_UNDEFINED_INVASION_EVENT"), - 1: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_NPC_TAP"), - 2: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_BATTLE_STARTED"), - 3: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_BATTLE_FINISHED"), - 4: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_ENCOUNTER_STARTED"), - 5: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_ENCOUNTER_FINISHED"), - 6: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_POKEMON_PURIFIED"), - 7: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_AFTER_POI_EXITED"), - 8: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_RADAR_VIEW_OPENED"), - 9: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_RADAR_VIEW_CLOSED"), - 10: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_RADAR_VIEW_EMPTY"), - 11: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_DECOY_FOUND"), - 12: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_GIOVANNI_FOUND"), - 13: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_BALLOON_TAP"), - ] +public struct WildPokemonProto { + // 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. + + public var encounterID: UInt64 = 0 + + public var lastModifiedMs: Int64 = 0 + + public var latitude: Double = 0 + + public var longitude: Double = 0 + + public var spawnPointID: String = String() + + public var pokemon: PokemonProto { + get {return _pokemon ?? PokemonProto()} + set {_pokemon = newValue} + } + /// Returns true if `pokemon` has been explicitly set. + public var hasPokemon: Bool {return self._pokemon != nil} + /// Clears the value of `pokemon`. Subsequent reads from it will return its default value. + public mutating func clearPokemon() {self._pokemon = nil} + + public var timeTillHiddenMs: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + + fileprivate var _pokemon: PokemonProto? = nil } -extension InventoryUpgradeType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UPGRADE_UNSET"), - 1: .same(proto: "INCREASE_ITEM_STORAGE"), - 2: .same(proto: "INCREASE_POKEMON_STORAGE"), - 3: .same(proto: "INCREASE_POSTCARD_STORAGE"), - ] +public struct WithAuthProviderTypeProto { + // 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. + + public var authProviderType: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension InvitationType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INVITATION_TYPE_UNSET"), - 1: .same(proto: "INVITATION_TYPE_CODE"), - 2: .same(proto: "INVITATION_TYPE_FACEBOOK"), - 3: .same(proto: "INVITATION_TYPE_SERVER_REQUEST"), - 4: .same(proto: "INVITATION_TYPE_NIANTIC_SOCIAL_GRAPH"), - 5: .same(proto: "INVITATION_TYPE_ADDRESS_BOOK_IMPORT"), - ] +public struct WithBadgeTypeProto { + // 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. + + public var badgeType: [HoloBadgeType] = [] + + public var badgeRank: Int32 = 0 + + public var amount: Int32 = 0 + + public var badgeTypesToExclude: [HoloBadgeType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension Item: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ITEM_UNKNOWN"), - 1: .same(proto: "ITEM_POKE_BALL"), - 2: .same(proto: "ITEM_GREAT_BALL"), - 3: .same(proto: "ITEM_ULTRA_BALL"), - 4: .same(proto: "ITEM_MASTER_BALL"), - 5: .same(proto: "ITEM_PREMIER_BALL"), - 6: .same(proto: "ITEM_BEAST_BALL"), - 101: .same(proto: "ITEM_POTION"), - 102: .same(proto: "ITEM_SUPER_POTION"), - 103: .same(proto: "ITEM_HYPER_POTION"), - 104: .same(proto: "ITEM_MAX_POTION"), - 201: .same(proto: "ITEM_REVIVE"), - 202: .same(proto: "ITEM_MAX_REVIVE"), - 301: .same(proto: "ITEM_LUCKY_EGG"), - 401: .same(proto: "ITEM_INCENSE_ORDINARY"), - 402: .same(proto: "ITEM_INCENSE_SPICY"), - 403: .same(proto: "ITEM_INCENSE_COOL"), - 404: .same(proto: "ITEM_INCENSE_FLORAL"), - 405: .same(proto: "ITEM_INCENSE_BELUGA_BOX"), - 406: .same(proto: "ITEM_INCENSE_DAILY_ADVENTURE"), - 407: .same(proto: "ITEM_INCENSE_SPARKLY"), - 501: .same(proto: "ITEM_TROY_DISK"), - 502: .same(proto: "ITEM_TROY_DISK_GLACIAL"), - 503: .same(proto: "ITEM_TROY_DISK_MOSSY"), - 504: .same(proto: "ITEM_TROY_DISK_MAGNETIC"), - 505: .same(proto: "ITEM_TROY_DISK_RAINY"), - 506: .same(proto: "ITEM_TROY_DISK_SPARKLY"), - 602: .same(proto: "ITEM_X_ATTACK"), - 603: .same(proto: "ITEM_X_DEFENSE"), - 604: .same(proto: "ITEM_X_MIRACLE"), - 650: .same(proto: "ITEM_BEANS"), - 651: .same(proto: "ITEM_BREAKFAST"), - 701: .same(proto: "ITEM_RAZZ_BERRY"), - 702: .same(proto: "ITEM_BLUK_BERRY"), - 703: .same(proto: "ITEM_NANAB_BERRY"), - 704: .same(proto: "ITEM_WEPAR_BERRY"), - 705: .same(proto: "ITEM_PINAP_BERRY"), - 706: .same(proto: "ITEM_GOLDEN_RAZZ_BERRY"), - 707: .same(proto: "ITEM_GOLDEN_NANAB_BERRY"), - 708: .same(proto: "ITEM_GOLDEN_PINAP_BERRY"), - 709: .same(proto: "ITEM_POFFIN"), - 801: .same(proto: "ITEM_SPECIAL_CAMERA"), - 802: .same(proto: "ITEM_STICKER_INVENTORY"), - 803: .same(proto: "ITEM_POSTCARD_INVENTORY"), - 901: .same(proto: "ITEM_INCUBATOR_BASIC_UNLIMITED"), - 902: .same(proto: "ITEM_INCUBATOR_BASIC"), - 903: .same(proto: "ITEM_INCUBATOR_SUPER"), - 1001: .same(proto: "ITEM_POKEMON_STORAGE_UPGRADE"), - 1002: .same(proto: "ITEM_ITEM_STORAGE_UPGRADE"), - 1003: .same(proto: "ITEM_POSTCARD_STORAGE_UPGRADE"), - 1101: .same(proto: "ITEM_SUN_STONE"), - 1102: .same(proto: "ITEM_KINGS_ROCK"), - 1103: .same(proto: "ITEM_METAL_COAT"), - 1104: .same(proto: "ITEM_DRAGON_SCALE"), - 1105: .same(proto: "ITEM_UP_GRADE"), - 1106: .same(proto: "ITEM_GEN4_EVOLUTION_STONE"), - 1107: .same(proto: "ITEM_GEN5_EVOLUTION_STONE"), - 1150: .same(proto: "ITEM_OTHER_EVOLUTION_STONE_A"), - 1201: .same(proto: "ITEM_MOVE_REROLL_FAST_ATTACK"), - 1202: .same(proto: "ITEM_MOVE_REROLL_SPECIAL_ATTACK"), - 1203: .same(proto: "ITEM_MOVE_REROLL_ELITE_FAST_ATTACK"), - 1204: .same(proto: "ITEM_MOVE_REROLL_ELITE_SPECIAL_ATTACK"), - 1250: .same(proto: "ITEM_MOVE_REROLL_OTHER_SPECIAL_ATTACK_A"), - 1301: .same(proto: "ITEM_RARE_CANDY"), - 1302: .same(proto: "ITEM_XL_RARE_CANDY"), - 1401: .same(proto: "ITEM_FREE_RAID_TICKET"), - 1402: .same(proto: "ITEM_PAID_RAID_TICKET"), - 1403: .same(proto: "ITEM_LEGENDARY_RAID_TICKET"), - 1404: .same(proto: "ITEM_STAR_PIECE"), - 1405: .same(proto: "ITEM_FRIEND_GIFT_BOX"), - 1406: .same(proto: "ITEM_TEAM_CHANGE"), - 1407: .same(proto: "ITEM_ROUTE_MAKER"), - 1408: .same(proto: "ITEM_REMOTE_RAID_TICKET"), - 1409: .same(proto: "ITEM_S_RAID_TICKET"), - 1501: .same(proto: "ITEM_LEADER_MAP_FRAGMENT"), - 1502: .same(proto: "ITEM_LEADER_MAP"), - 1503: .same(proto: "ITEM_GIOVANNI_MAP"), - 1504: .same(proto: "ITEM_SHADOW_GEM_FRAGMENT"), - 1505: .same(proto: "ITEM_SHADOW_GEM"), - 1600: .same(proto: "ITEM_GLOBAL_EVENT_TICKET"), - 1601: .same(proto: "ITEM_EVENT_TICKET_PINK"), - 1602: .same(proto: "ITEM_EVENT_TICKET_GRAY"), - 1603: .same(proto: "ITEM_GLOBAL_EVENT_TICKET_TO_GIFT"), - 1604: .same(proto: "ITEM_EVENT_TICKET_PINK_TO_GIFT"), - 1605: .same(proto: "ITEM_EVENT_TICKET_GRAY_TO_GIFT"), - 1606: .same(proto: "ITEM_BATTLE_PASS_TICKET"), - 1607: .same(proto: "ITEM_EVERGREEN_TICKET"), - 1608: .same(proto: "ITEM_EVERGREEN_TICKET_TO_GIFT"), - 1609: .same(proto: "ITEM_DEPRECATED_1"), - 1610: .same(proto: "ITEM_TICKET_CITY_SAFARI_00"), - 1611: .same(proto: "ITEM_TICKET_CITY_SAFARI_01"), - 1612: .same(proto: "ITEM_TICKET_CITY_SAFARI_02"), - 1613: .same(proto: "ITEM_TICKET_CITY_SAFARI_03"), - 1614: .same(proto: "ITEM_TICKET_CITY_SAFARI_04"), - ] +public struct WithBuddyProto { + // 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. + + public var minBuddyLevel: BuddyLevel = .unset + + public var mustBeOnMap: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension ItemUseTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ITEM_USE_TELEMETRY_IDS_UNDEFINED_ITEM_EVENT"), - 1: .same(proto: "ITEM_USE_TELEMETRY_IDS_USE_ITEM"), - 2: .same(proto: "ITEM_USE_TELEMETRY_IDS_RECYCLE_ITEM"), - 3: .same(proto: "ITEM_USE_TELEMETRY_IDS_UPDATE_ITEM_EQUIPPED"), - ] +public struct WithCombatTypeProto { + // 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. + + public var combatType: [CombatType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension LayerKind: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "LAYER_KIND_LAYER_UNDEFINED"), - 1: .same(proto: "LAYER_KIND_LAYER_BOUNDARIES"), - 2: .same(proto: "LAYER_KIND_LAYER_BUILDINGS"), - 3: .same(proto: "LAYER_KIND_LAYER_LANDMASS"), - 4: .same(proto: "LAYER_KIND_LAYER_LANDUSE"), - 5: .same(proto: "LAYER_KIND_LAYER_PLACES"), - 6: .same(proto: "LAYER_KIND_LAYER_POIS"), - 7: .same(proto: "LAYER_KIND_LAYER_ROADS"), - 8: .same(proto: "LAYER_KIND_LAYER_TRANSIT"), - 9: .same(proto: "LAYER_KIND_LAYER_WATER"), - 10: .same(proto: "LAYER_KIND_LAYER_DEBUG_TILE_BOUNDARIES"), - ] +public struct WithCurveBallProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension LocationCard: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "LOCATION_CARD_UNSET"), - 1: .same(proto: "LC_2023_LASVEGAS_GOTOUR_001"), - 2: .same(proto: "LC_2023_JEJU_AIRADVENTURES_001"), - 3: .same(proto: "LC_2023_NYC_GOFEST_001"), - 4: .same(proto: "LC_2023_LONDON_GOFEST_001"), - 5: .same(proto: "LC_2023_OSAKA_GOFEST_001"), - ] +public struct WithDailyBuddyAffectionProto { + // 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. + + public var minBuddyAffectionEarnedToday: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension LoginActionTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_UNDEFINED_LOGIN_ACTION"), - 1: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_AGE_GATE"), - 2: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_NEW_PLAYER"), - 3: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_EXISTING_PLAYER"), - 4: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_GOOGLE"), - 5: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_GOOGLE"), - 6: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_GOOGLE"), - 7: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_FACEBOOK"), - 8: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_FACEBOOK"), - 9: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_FACEBOOK"), - 10: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_PTC"), - 11: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_EXIT_PTC"), - 12: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_PTC_REGISTER"), - 13: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_PTC_SIGN_IN"), - 14: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_PTC_SIGN_IN"), - 15: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_PTC_SIGN_IN"), - 16: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_SUPERAWESOME"), - 17: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_EXIT_SUPERAWESOME"), - 18: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_SUPERAWESOME_REGISTER"), - 19: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_SUPERAWESOME_FORGOT_PASSWORD"), - 20: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_SUPERAWESOME_SIGN_IN"), - 21: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_SUPERAWESOME_SIGN_IN"), - 22: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_SUPERAWESOME_SIGN_IN"), - 23: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_EXIT_NEW_PLAYER"), - 24: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_EXIT_EXISTING_PLAYER"), - 25: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_LOGIN_STARTED"), - 26: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_APPLE"), - 27: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_APPLE"), - 28: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_APPLE"), - 29: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_GUEST"), - 30: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_GUEST"), - 31: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_GUEST"), - ] +public struct WithDailyCaptureBonusProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension MapEventsTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_UNDEFINED_MAP_EVENT"), - 1: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_ITEM_BAG"), - 2: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_MAIN_MENU"), - 3: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_POKEDEX"), - 4: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_PROFILE"), - 5: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_SETTINGS"), - 6: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_SHOP_FROM_MAP"), - 7: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_GYM"), - 8: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_POKESTOP"), - 9: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_RESEARCH"), - 10: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_COMPASS"), - 11: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_NEARBY"), - ] +public struct WithDailySpinBonusProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension MapLayer: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "MAP_LAYER_UNDEFINED"), - 1: .same(proto: "MAP_LAYER_BOUNDARIES"), - 2: .same(proto: "MAP_LAYER_BUILDINGS"), - 3: .same(proto: "MAP_LAYER_LANDMASS"), - 4: .same(proto: "MAP_LAYER_LANDUSE"), - 5: .same(proto: "MAP_LAYER_PLACES"), - 6: .same(proto: "MAP_LAYER_POIS"), - 7: .same(proto: "MAP_LAYER_ROADS"), - 8: .same(proto: "MAP_LAYER_TRANSIT"), - 9: .same(proto: "MAP_LAYER_WATER"), - 10: .same(proto: "MAP_LAYER_DEBUG_TILE_BOUNDARIES"), - ] +public struct WithDeviceTypeProto { + // 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. + + public var deviceType: [DeviceType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension MementoType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "MEMENTO_POSTCARD"), - ] +public struct WithDistanceProto { + // 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. + + public var distanceKm: Double = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension Method: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "METHOD_UNSET"), - 2: .same(proto: "METHOD_GET_PLAYER"), - 4: .same(proto: "METHOD_GET_HOLOHOLO_INVENTORY"), - 5: .same(proto: "METHOD_DOWNLOAD_SETTINGS"), - 6: .same(proto: "METHOD_DOWNLOAD_ITEM_TEMPLATES"), - 7: .same(proto: "METHOD_DOWNLOAD_REMOTE_CONFIG_VERSION"), - 8: .same(proto: "METHOD_REGISTER_BACKGROUND_DEVICE"), - 9: .same(proto: "METHOD_GET_PLAYER_DAY"), - 10: .same(proto: "METHOD_ACKNOWLEDGE_PUNISHMENT"), - 11: .same(proto: "METHOD_GET_SERVER_TIME"), - 12: .same(proto: "METHOD_GET_LOCAL_TIME"), - 101: .same(proto: "METHOD_FORT_SEARCH"), - 102: .same(proto: "METHOD_ENCOUNTER"), - 103: .same(proto: "METHOD_CATCH_POKEMON"), - 104: .same(proto: "METHOD_FORT_DETAILS"), - 106: .same(proto: "METHOD_GET_MAP_OBJECTS"), - 110: .same(proto: "METHOD_FORT_DEPLOY_POKEMON"), - 111: .same(proto: "METHOD_FORT_RECALL_POKEMON"), - 112: .same(proto: "METHOD_RELEASE_POKEMON"), - 113: .same(proto: "METHOD_USE_ITEM_POTION"), - 114: .same(proto: "METHOD_USE_ITEM_CAPTURE"), - 115: .same(proto: "METHOD_USE_ITEM_FLEE"), - 116: .same(proto: "METHOD_USE_ITEM_REVIVE"), - 121: .same(proto: "METHOD_GET_PLAYER_PROFILE"), - 125: .same(proto: "METHOD_EVOLVE_POKEMON"), - 126: .same(proto: "METHOD_GET_HATCHED_EGGS"), - 127: .same(proto: "METHOD_ENCOUNTER_TUTORIAL_COMPLETE"), - 128: .same(proto: "METHOD_LEVEL_UP_REWARDS"), - 129: .same(proto: "METHOD_CHECK_AWARDED_BADGES"), - 137: .same(proto: "METHOD_RECYCLE_INVENTORY_ITEM"), - 138: .same(proto: "METHOD_COLLECT_DAILY_BONUS"), - 139: .same(proto: "METHOD_USE_ITEM_XP_BOOST"), - 140: .same(proto: "METHOD_USE_ITEM_EGG_INCUBATOR"), - 141: .same(proto: "METHOD_USE_INCENSE"), - 142: .same(proto: "METHOD_GET_INCENSE_POKEMON"), - 143: .same(proto: "METHOD_INCENSE_ENCOUNTER"), - 144: .same(proto: "METHOD_ADD_FORT_MODIFIER"), - 145: .same(proto: "METHOD_DISK_ENCOUNTER"), - 147: .same(proto: "METHOD_UPGRADE_POKEMON"), - 148: .same(proto: "METHOD_SET_FAVORITE_POKEMON"), - 149: .same(proto: "METHOD_NICKNAME_POKEMON"), - 150: .same(proto: "METHOD_EQUIP_BADGE"), - 151: .same(proto: "METHOD_SET_CONTACT_SETTINGS"), - 152: .same(proto: "METHOD_SET_BUDDY_POKEMON"), - 153: .same(proto: "METHOD_GET_BUDDY_WALKED"), - 154: .same(proto: "METHOD_USE_ITEM_ENCOUNTER"), - 155: .same(proto: "METHOD_GYM_DEPLOY"), - 156: .same(proto: "METHOD_GYM_GET_INFO"), - 157: .same(proto: "METHOD_GYM_START_SESSION"), - 158: .same(proto: "METHOD_GYM_BATTLE_ATTACK"), - 159: .same(proto: "METHOD_JOIN_LOBBY"), - 160: .same(proto: "METHOD_LEAVE_LOBBY"), - 161: .same(proto: "METHOD_SET_LOBBY_VISIBILITY"), - 162: .same(proto: "METHOD_SET_LOBBY_POKEMON"), - 163: .same(proto: "METHOD_GET_RAID_DETAILS"), - 164: .same(proto: "METHOD_GYM_FEED_POKEMON"), - 165: .same(proto: "METHOD_START_RAID_BATTLE"), - 166: .same(proto: "METHOD_ATTACK_RAID"), - 167: .same(proto: "METHOD_AWARD_POKECOIN"), - 168: .same(proto: "METHOD_USE_ITEM_STARDUST_BOOST"), - 169: .same(proto: "METHOD_REASSIGN_PLAYER"), - 170: .same(proto: "METHOD_REDEEM_POI_PASSCODE"), - 171: .same(proto: "METHOD_CONVERT_CANDY_TO_XL_CANDY"), - 172: .same(proto: "METHOD_IS_SKU_AVAILABLE"), - 300: .same(proto: "METHOD_GET_ASSET_DIGEST"), - 301: .same(proto: "METHOD_GET_DOWNLOAD_URLS"), - 302: .same(proto: "METHOD_GET_ASSET_VERSION"), - 403: .same(proto: "METHOD_CLAIM_CODENAME"), - 404: .same(proto: "METHOD_SET_AVATAR"), - 405: .same(proto: "METHOD_SET_PLAYER_TEAM"), - 406: .same(proto: "METHOD_MARK_TUTORIAL_COMPLETE"), - 407: .same(proto: "METHOD_UPDATE_PERFORMANCE_METRICS"), - 408: .same(proto: "METHOD_SET_NEUTRAL_AVATAR"), - 600: .same(proto: "METHOD_CHECK_CHALLENGE"), - 601: .same(proto: "METHOD_VERIFY_CHALLENGE"), - 666: .same(proto: "METHOD_ECHO"), - 800: .same(proto: "METHOD_SFIDA_REGISTRATION"), - 801: .same(proto: "METHOD_SFIDA_ACTION_LOG"), - 802: .same(proto: "METHOD_SFIDA_CERTIFICATION"), - 803: .same(proto: "METHOD_SFIDA_UPDATE"), - 804: .same(proto: "METHOD_SFIDA_ACTION"), - 805: .same(proto: "METHOD_SFIDA_DOWSER"), - 806: .same(proto: "METHOD_SFIDA_CAPTURE"), - 807: .same(proto: "METHOD_LIST_AVATAR_CUSTOMIZATIONS"), - 808: .same(proto: "METHOD_SET_AVATAR_ITEM_AS_VIEWED"), - 809: .same(proto: "METHOD_GET_INBOX"), - 811: .same(proto: "METHOD_LIST_GYM_BADGES"), - 812: .same(proto: "METHOD_GET_GYM_BADGE_DETAILS"), - 813: .same(proto: "METHOD_USE_ITEM_MOVE_REROLL"), - 814: .same(proto: "METHOD_USE_ITEM_RARE_CANDY"), - 815: .same(proto: "METHOD_AWARD_FREE_RAID_TICKET"), - 816: .same(proto: "METHOD_FETCH_ALL_NEWS"), - 817: .same(proto: "METHOD_MARK_READ_NEWS_ARTICLE"), - 818: .same(proto: "METHOD_GET_PLAYER_DISPLAY_INFO"), - 819: .same(proto: "METHOD_BELUGA_TRANSACTION_START"), - 820: .same(proto: "METHOD_BELUGA_TRANSACTION_COMPLETE"), - 822: .same(proto: "METHOD_SFIDA_ASSOCIATE"), - 823: .same(proto: "METHOD_SFIDA_CHECK_PAIRING"), - 824: .same(proto: "METHOD_SFIDA_DISASSOCIATE"), - 825: .same(proto: "METHOD_WAINA_GET_REWARDS"), - 826: .same(proto: "METHOD_WAINA_SUBMIT_SLEEP_DATA"), - 827: .same(proto: "METHOD_SATURDAY_TRANSACTION_START"), - 828: .same(proto: "METHOD_SATURDAY_TRANSACTION_COMPLETE"), - 829: .same(proto: "METHOD_REIMBURSE_ITEM"), - 900: .same(proto: "METHOD_GET_NEW_QUESTS"), - 901: .same(proto: "METHOD_GET_QUEST_DETAILS"), - 902: .same(proto: "METHOD_COMPLETE_QUEST"), - 903: .same(proto: "METHOD_REMOVE_QUEST"), - 904: .same(proto: "METHOD_QUEST_ENCOUNTER"), - 905: .same(proto: "METHOD_COMPLETE_QUEST_STAMP_CARD"), - 906: .same(proto: "METHOD_PROGRESS_QUEST"), - 907: .same(proto: "METHOD_START_QUEST_INCIDENT"), - 908: .same(proto: "METHOD_READ_QUEST_DIALOG"), - 950: .same(proto: "METHOD_SEND_GIFT"), - 951: .same(proto: "METHOD_OPEN_GIFT"), - 952: .same(proto: "METHOD_GIFT_DETAILS"), - 953: .same(proto: "METHOD_DELETE_GIFT"), - 954: .same(proto: "METHOD_SAVE_PLAYER_SNAPSHOT"), - 955: .same(proto: "METHOD_GET_FRIENDSHIP_MILESTONE_REWARDS"), - 956: .same(proto: "METHOD_CHECK_SEND_GIFT"), - 957: .same(proto: "METHOD_SET_FRIEND_NICKNAME"), - 958: .same(proto: "METHOD_DELETE_GIFT_FROM_INVENTORY"), - 959: .same(proto: "METHOD_SAVE_SOCIAL_PLAYER_SETTINGS"), - 960: .same(proto: "METHOD_SHARE_EX_RAID_PASS"), - 961: .same(proto: "METHOD_CHECK_SHARE_EX_RAID_PASS"), - 962: .same(proto: "METHOD_DECLINE_SHARED_EX_RAID_PASS"), - 970: .same(proto: "METHOD_OPEN_TRADING"), - 971: .same(proto: "METHOD_UPDATE_TRADING"), - 972: .same(proto: "METHOD_CONFIRM_TRADING"), - 973: .same(proto: "METHOD_CANCEL_TRADING"), - 974: .same(proto: "METHOD_GET_TRADING"), - 980: .same(proto: "METHOD_GET_FITNESS_REWARDS"), - 990: .same(proto: "METHOD_GET_COMBAT_PLAYER_PROFILE"), - 991: .same(proto: "METHOD_GENERATE_COMBAT_CHALLENGE_ID"), - 992: .same(proto: "METHOD_CREATE_COMBAT_CHALLENGE"), - 993: .same(proto: "METHOD_OPEN_COMBAT_CHALLENGE"), - 994: .same(proto: "METHOD_GET_COMBAT_CHALLENGE"), - 995: .same(proto: "METHOD_ACCEPT_COMBAT_CHALLENGE"), - 996: .same(proto: "METHOD_DECLINE_COMBAT_CHALLENGE"), - 997: .same(proto: "METHOD_CANCEL_COMBAT_CHALLENGE"), - 998: .same(proto: "METHOD_SUBMIT_COMBAT_CHALLENGE_POKEMONS"), - 999: .same(proto: "METHOD_SAVE_COMBAT_PLAYER_PREFERENCES"), - 1000: .same(proto: "METHOD_OPEN_COMBAT_SESSION"), - 1001: .same(proto: "METHOD_UPDATE_COMBAT"), - 1002: .same(proto: "METHOD_QUIT_COMBAT"), - 1003: .same(proto: "METHOD_GET_COMBAT_RESULTS"), - 1004: .same(proto: "METHOD_UNLOCK_SPECIAL_MOVE"), - 1005: .same(proto: "METHOD_GET_NPC_COMBAT_REWARDS"), - 1006: .same(proto: "METHOD_COMBAT_FRIEND_REQUEST"), - 1007: .same(proto: "METHOD_OPEN_NPC_COMBAT_SESSION"), - 1008: .same(proto: "METHOD_START_TUTORIAL_ACTION"), - 1009: .same(proto: "METHOD_GET_TUTORIAL_EGG_ACTION"), - 1020: .same(proto: "METHOD_SEND_PROBE"), - 1021: .same(proto: "METHOD_PROBE_DATA"), - 1022: .same(proto: "METHOD_COMBAT_DATA"), - 1023: .same(proto: "METHOD_COMBAT_CHALLENGE_DATA"), - 1101: .same(proto: "METHOD_CHECK_PHOTOBOMB"), - 1102: .same(proto: "METHOD_CONFIRM_PHOTOBOMB"), - 1103: .same(proto: "METHOD_GET_PHOTOBOMB"), - 1104: .same(proto: "METHOD_ENCOUNTER_PHOTOBOMB"), - 1105: .same(proto: "METHOD_GET_SIGNED_GMAP_URL_DEPRECATED"), - 1106: .same(proto: "METHOD_CHANGE_TEAM"), - 1107: .same(proto: "METHOD_GET_WEB_TOKEN"), - 1110: .same(proto: "METHOD_COMPLETE_SNAPSHOT_SESSION"), - 1111: .same(proto: "METHOD_COMPLETE_WILD_SNAPSHOT_SESSION"), - 1200: .same(proto: "METHOD_START_INCIDENT"), - 1201: .same(proto: "METHOD_INVASION_COMPLETE_DIALOGUE"), - 1202: .same(proto: "METHOD_INVASION_OPEN_COMBAT_SESSION"), - 1203: .same(proto: "METHOD_INVASION_BATTLE_UPDATE"), - 1204: .same(proto: "METHOD_INVASION_ENCOUNTER"), - 1205: .same(proto: "METHOD_PURIFY_POKEMON"), - 1206: .same(proto: "METHOD_GET_ROCKET_BALLOON"), - 1207: .same(proto: "METHOD_START_ROCKET_BALLOON_INCIDENT"), - 1300: .same(proto: "METHOD_VS_SEEKER_START_MATCHMAKING"), - 1301: .same(proto: "METHOD_CANCEL_MATCHMAKING"), - 1302: .same(proto: "METHOD_GET_MATCHMAKING_STATUS"), - 1303: .same(proto: "METHOD_COMPLETE_VS_SEEKER_AND_RESTART_CHARGING"), - 1304: .same(proto: "METHOD_GET_VS_SEEKER_STATUS"), - 1305: .same(proto: "METHOD_COMPLETE_COMBAT_COMPETITIVE_SEASON_ACTION"), - 1306: .same(proto: "METHOD_CLAIM_VS_SEEKER_REWARDS"), - 1307: .same(proto: "METHOD_VS_SEEKER_REWARD_ENCOUNTER"), - 1308: .same(proto: "METHOD_ACTIVATE_VS_SEEKER"), - 1350: .same(proto: "METHOD_GET_BUDDY_MAP"), - 1351: .same(proto: "METHOD_GET_BUDDY_STATS"), - 1352: .same(proto: "METHOD_FEED_BUDDY"), - 1353: .same(proto: "METHOD_OPEN_BUDDY_GIFT"), - 1354: .same(proto: "METHOD_PET_BUDDY"), - 1355: .same(proto: "METHOD_GET_BUDDY_HISTORY"), - 1400: .same(proto: "METHOD_UPDATE_ROUTE_DRAFT"), - 1401: .same(proto: "METHOD_GET_MAP_FORTS"), - 1402: .same(proto: "METHOD_SUBMIT_ROUTE_DRAFT"), - 1403: .same(proto: "METHOD_GET_PUBLISHED_ROUTES"), - 1404: .same(proto: "METHOD_START_ROUTE"), - 1405: .same(proto: "METHOD_GET_ROUTES"), - 1406: .same(proto: "METHOD_PROGRESS_ROUTE"), - 1408: .same(proto: "METHOD_PROCESS_TAPPABLE"), - 1409: .same(proto: "METHOD_LIST_ROUTE_BADGES"), - 1410: .same(proto: "METHOD_CANCEL_ROUTE"), - 1411: .same(proto: "METHOD_LIST_ROUTE_STAMPS"), - 1412: .same(proto: "METHOD_RATE_ROUTE"), - 1413: .same(proto: "METHOD_CREATE_ROUTE_DRAFT"), - 1414: .same(proto: "METHOD_DELETE_ROUTE_DRAFT"), - 1415: .same(proto: "METHOD_REPORT_ROUTE"), - 1416: .same(proto: "METHOD_SPAWN_TAPPABLE"), - 1417: .same(proto: "METHOD_ROUTE_ENCOUNTER"), - 1418: .same(proto: "METHOD_CAN_REPORT_ROUTE"), - 1420: .same(proto: "METHOD_ROUTE_UPTATE_SEEN"), - 1456: .same(proto: "METHOD_CREATE_BUDDY_MUTLIPLAYER_SESSION"), - 1457: .same(proto: "METHOD_JOIN_BUDDY_MULTIPLAYER_SESSION"), - 1458: .same(proto: "METHOD_LEAVE_BUDDY_MULTIPLAYER_SESSION"), - 1501: .same(proto: "METHOD_GET_TODAY_VIEW"), - 1502: .same(proto: "METHOD_MEGA_EVOLVE_POKEMON"), - 1503: .same(proto: "METHOD_REMOTE_GIFT_PING"), - 1504: .same(proto: "METHOD_SEND_RAID_INVITATION"), - 1601: .same(proto: "METHOD_GET_DAILY_ENCOUNTER"), - 1602: .same(proto: "METHOD_DAILY_ENCOUNTER"), - 1650: .same(proto: "METHOD_OPEN_SPONSORED_GIFT"), - 1651: .same(proto: "METHOD_SPONSORED_GIFT_REPORT_INTERACTION"), - 1652: .same(proto: "METHOD_SAVE_PLAYER_PREFERENCES"), - 1653: .same(proto: "METHOD_PROFANITY_CHECK"), - 1700: .same(proto: "METHOD_GET_TIMED_GROUP_CHALLENGE"), - 1710: .same(proto: "METHOD_GET_NINTENDO_ACCOUNT"), - 1711: .same(proto: "METHOD_UNLINK_NINTENDO_ACCOUNT"), - 1712: .same(proto: "METHOD_GET_NINTENDO_OAUTH2_URL"), - 1713: .same(proto: "METHOD_TRANSFER_TO_POKEMON_HOME"), - 1716: .same(proto: "METHOD_REPORT_AD_FEEDBACK"), - 1717: .same(proto: "METHOD_CREATE_POKEMON_TAG"), - 1718: .same(proto: "METHOD_DELETE_POKEMON_TAG"), - 1719: .same(proto: "METHOD_EDIT_POKEMON_TAG"), - 1720: .same(proto: "METHOD_SET_POKEMON_TAGS_FOR_POKEMON"), - 1721: .same(proto: "METHOD_GET_POKEMON_TAGS"), - 1722: .same(proto: "METHOD_CHANGE_POKEMON_FORM"), - 1723: .same(proto: "METHOD_CHOOSE_EVENT_VARIANT"), - 1724: .same(proto: "METHOD_BUTTERFLY_COLLECTOR_REWARD_ENCOUNTER"), - 1800: .same(proto: "METHOD_GET_REFERRAL_CODE"), - 1801: .same(proto: "METHOD_ADD_REFERRER"), - 1802: .same(proto: "METHOD_SEND_FRIEND_INVITE_VIA_REFERRAL_CODE"), - 1803: .same(proto: "METHOD_GET_MILESTONES"), - 1804: .same(proto: "METHOD_MARK_MILESTONES_AS_VIEWED"), - 1805: .same(proto: "METHOD_GET_MILESTONES_PREVIEW"), - 1806: .same(proto: "METHOD_COMPLETE_MILESTONE"), - 1820: .same(proto: "METHOD_GET_GEOFENCED_AD"), - 1900: .same(proto: "METHOD_POWER_UP_POKESTOP_ENCOUNTER"), - 1909: .same(proto: "METHOD_DELETE_POSTCARDS"), - 1910: .same(proto: "METHOD_CREATE_POSTCARD"), - 1911: .same(proto: "METHOD_UPDATE_POSTCARD"), - 1912: .same(proto: "METHOD_DELETE_POSTCARD"), - 1913: .same(proto: "METHOD_GET_MEMENTO_LIST"), - 1914: .same(proto: "METHOD_UPLOAD_RAID_CLIENT_LOG"), - 1915: .same(proto: "METHOD_SKIP_ENTER_REFERRAL_CODE"), - 1916: .same(proto: "METHOD_UPLOAD_COMBAT_CLIENT_LOG"), - 1917: .same(proto: "METHOD_COMBAT_SYNC_SERVER_OFFSET"), - 2000: .same(proto: "METHOD_CHECK_GIFTING_ELIGIBILITY"), - 2001: .same(proto: "METHOD_REDEEM_TICKET_GIFT_FOR_FRIEND"), - 2002: .same(proto: "METHOD_GET_INCENSE_RECAP"), - 2003: .same(proto: "METHOD_ACKNOWLEDGE_INCENSE_RECAP"), - 2004: .same(proto: "METHOD_BOOT_RAID"), - 2005: .same(proto: "METHOD_GET_POKESTOP_ENCOUNTER"), - 2006: .same(proto: "METHOD_ENCOUNTER_POKESTOP_ENCOUNTER"), - 2007: .same(proto: "METHOD_POLL_PLAYER_SPAWNABLE_POKEMON"), - 2008: .same(proto: "METHOD_GET_QUEST_UI"), - 2009: .same(proto: "METHOD_GET_ELIGIBLE_COMBAT_LEAGUES"), - 2010: .same(proto: "METHOD_SEND_FRIEND_REQUEST_VIA_PLAYER_IDS"), - 2011: .same(proto: "METHOD_GET_RAID_LOBBY_COUNTER"), - 2100: .same(proto: "METHOD_CHECK_POKEMON_SIZE_CONTEST_ELIGIBILITY"), - 2101: .same(proto: "METHOD_UPDATE_POKEMON_SIZE_CONTEST_ENTRY"), - 2102: .same(proto: "METHOD_TRANSFER_POKEMON_SIZE_CONTEST_ENTRY"), - 2103: .same(proto: "METHOD_REMOVE_POKEMON_SIZE_CONTEST_ENTRY"), - 2104: .same(proto: "METHOD_GET_POKEMON_SIZE_CONTEST_ENTRY"), - 2105: .same(proto: "METHOD_GET_CONTEST_DATA"), - 2106: .same(proto: "METHOD_GET_CONTESTS_UNCLAIMED_REWARDS"), - 2107: .same(proto: "METHOD_CLAIM_CONTESTS_REWARDS"), - 2108: .same(proto: "METHOD_GET_ENTERED_CONTEST"), - 2109: .same(proto: "METHOD_GET_POKEMON_SIZE_CONTEST_FRIEND_ENTRY"), - 2150: .same(proto: "METHOD_CHECK_CONTEST_ELIGIBILITY"), - 2151: .same(proto: "METHOD_UPDATE_CONTEST_ENTRY"), - 2152: .same(proto: "METHOD_TRANSFER_CONTEST_ENTRY"), - 2153: .same(proto: "METHOD_GET_CONTEST_FRIEND_ENTRY"), - 2154: .same(proto: "METHOD_GET_CONTEST_ENTRY"), - 2300: .same(proto: "METHOD_CREATE_PARTY"), - 2301: .same(proto: "METHOD_JOIN_PARTY"), - 2302: .same(proto: "METHOD_START_PARTY"), - 2303: .same(proto: "METHOD_LEAVE_PARTY"), - 2304: .same(proto: "METHOD_GET_PARTY"), - 2305: .same(proto: "METHOD_UPDATE_PARTY_LOCATION"), - 2306: .same(proto: "METHOD_SEND_PARTY_DARK_LAUNCH_LOG"), - 2308: .same(proto: "METHOD_START_PARTY_QUEST"), - 2350: .same(proto: "METHOD_GET_BONUS_ATTRACTED_POKEMON"), - 3000: .same(proto: "METHOD_GET_VPS_EVENTS"), - 3001: .same(proto: "METHOD_UPDATE_VPS_EVENTS"), - ] +public struct WithElapsedTimeProto { + // 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. + + public var elapsedTimeMs: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithEncounterTypeProto { + // 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. + + public var encounterType: [EncounterType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithFortIdProto { + // 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. + + public var fortIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithFriendLevelProto { + // 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. + + public var friendshipLevelMilestone: [FriendshipLevelMilestone] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithFriendsRaidProto { + // 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. + + public var friendLocation: RaidLocationRequirement = .raidLocationRequerimentBoth + + public var minFriendsInRaid: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension NMAMethod: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NMA_METHOD_METHOD_UNSET"), - 1: .same(proto: "NMA_METHOD_GET_PLAYER"), - 2: .same(proto: "NMA_METHOD_GET_SURVEYOR_PROJECTS"), - 3: .same(proto: "NMA_METHOD_GET_SERVER_CONFIG"), - 4: .same(proto: "NMA_METHOD_UPDATE_SURVEYOR_PROJECT"), - 5: .same(proto: "NMA_METHOD_UPDATE_USER_ONBOARDING"), - ] +public struct WithGblRankProto { + // 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. + + public var rank: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension NMAOnboardingCompletion: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NMA_ONBOARDING_COMPLETION_NOT_SPECIFIED"), - 1: .same(proto: "NMA_ONBOARDING_COMPLETION_TERMS_OF_SERVICE_COMFIRMATION"), - 2: .same(proto: "NMA_ONBOARDING_COMPLETION_PRIVACY_POLICY_CONFIRMATION"), - ] +public struct WithInPartyProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension NMARole: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NMA_ROLE_UNDEFINED"), - 1: .same(proto: "NMA_ROLE_NMA_SURVEYOR"), - 2: .same(proto: "NMA_ROLE_NMA_DEVELOPER"), - 3: .same(proto: "NMA_ROLE_NMA_ADMIN"), - 4: .same(proto: "NMA_ROLE_NMA_USER"), - ] +public struct WithInvasionCharacterProto { + // 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. + + public var category: [EnumWrapper.CharacterCategory] = [] + + public var invasionCharacter: [EnumWrapper.InvasionCharacter] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension NewsPageTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_UNDEFINED_NEWS_EVENT"), - 1: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_NEWS_VIEWED"), - 2: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_NEWS_DISMISSED"), - 3: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_NEWS_LINK_CLICKED"), - 4: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_NEWS_UPDATED_APP"), - ] +public struct WithItemProto { + // 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. + + public var item: Item = .unknown + + public var items: [Item] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension NominationType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NOMINATION_TYPE_REGULAR"), - 1: .same(proto: "NOMINATION_TYPE_PROVISIONAL"), - ] +public struct WithItemTypeProto { + // 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. + + public var itemType: [HoloItemType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension NotificationState: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NOTIFICATION_STATE_UNSET_STATE"), - 1: .same(proto: "NOTIFICATION_STATE_VIEWED"), - ] +public struct WithLocationProto { + // 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. + + public var s2CellID: [Int64] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension NullValue: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL_VALUE_null_value"), - ] +public struct WithMaxCpProto { + // 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. + + public var maxCp: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension ObPogoProtoDataEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DATA_0"), - 1: .same(proto: "DATA_1"), - 2: .same(proto: "DATA_2"), - 3: .same(proto: "DATA_3"), - 4: .same(proto: "DATA_4"), - 5: .same(proto: "DATA_5"), - 6: .same(proto: "DATA_6"), - 7: .same(proto: "DATA_7"), - 8: .same(proto: "DATA_8"), - 9: .same(proto: "DATA_9"), - 10: .same(proto: "DATA_10"), - 11: .same(proto: "DATA_11"), - 12: .same(proto: "DATA_12"), - 13: .same(proto: "DATA_13"), - 14: .same(proto: "DATA_14"), - 15: .same(proto: "DATA_15"), - 16: .same(proto: "DATA_16"), - 17: .same(proto: "DATA_17"), - 18: .same(proto: "DATA_18"), - 19: .same(proto: "DATA_19"), - 20: .same(proto: "DATA_20"), - 21: .same(proto: "DATA_21"), - 22: .same(proto: "DATA_22"), - 23: .same(proto: "DATA_23"), - 24: .same(proto: "DATA_24"), - 25: .same(proto: "DATA_25"), - 26: .same(proto: "DATA_26"), - 27: .same(proto: "DATA_27"), - 28: .same(proto: "DATA_28"), - 29: .same(proto: "DATA_29"), - 30: .same(proto: "DATA_30"), - 31: .same(proto: "DATA_31"), - 32: .same(proto: "DATA_32"), - 33: .same(proto: "DATA_33"), - 34: .same(proto: "DATA_34"), - 35: .same(proto: "DATA_35"), - 36: .same(proto: "DATA_36"), - 37: .same(proto: "DATA_37"), - 38: .same(proto: "DATA_38"), - 39: .same(proto: "DATA_39"), - 40: .same(proto: "DATA_40"), - 41: .same(proto: "DATA_41"), - 42: .same(proto: "DATA_42"), - 43: .same(proto: "DATA_43"), - 44: .same(proto: "DATA_44"), - 45: .same(proto: "DATA_45"), - 46: .same(proto: "DATA_46"), - 47: .same(proto: "DATA_47"), - 48: .same(proto: "DATA_48"), - 49: .same(proto: "DATA_49"), - 50: .same(proto: "DATA_50"), - 51: .same(proto: "DATA_51"), - 52: .same(proto: "DATA_52"), - 53: .same(proto: "DATA_53"), - 54: .same(proto: "DATA_54"), - 55: .same(proto: "DATA_55"), - 56: .same(proto: "DATA_56"), - 57: .same(proto: "DATA_57"), - 58: .same(proto: "DATA_58"), - 59: .same(proto: "DATA_59"), - 60: .same(proto: "DATA_60"), - 61: .same(proto: "DATA_61"), - 62: .same(proto: "DATA_62"), - 63: .same(proto: "DATA_63"), - ] +public struct WithNpcCombatProto { + // 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. + + public var requiresWin: Bool = false + + public var combatNpcTrainerID: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension ObSuggestionsEntry: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SUGGESTION_ENTRY_UNDEFINED_USERNAME_ENTRY_MODE"), - 1: .same(proto: "SUGGESTION_ENTRY_NEW_USER"), - 2: .same(proto: "SUGGESTION_ENTRY_CHANGE_BANNED_NAME"), - 3: .same(proto: "SUGGESTION_ENTRY_EXISTING_USER_CHANGE_NAME"), - ] +public struct WithOpponentPokemonBattleStatusProto { + // 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. + + public var requireDefeat: Bool = false + + public var opponentPokemonType: [HoloPokemonType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension OnboardingArStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ONBOARDING_AR_STATUS_UNSET"), - 1: .same(proto: "ONBOARDING_AR_STATUS_OFF"), - 2: .same(proto: "ONBOARDING_AR_STATUS_AR_STANDARD"), - 3: .same(proto: "ONBOARDING_AR_STATUS_AR_PLUS"), - ] +public struct WithPlayerLevelProto { + // 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. + + public var level: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension OnboardingEventIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ONBOARDING_EVENT_IDS_TOS_ACCEPTED"), - 1: .same(proto: "ONBOARDING_EVENT_IDS_PRIVACY_ACCEPTED"), - 2: .same(proto: "ONBOARDING_EVENT_IDS_CONVERSATION"), - 3: .same(proto: "ONBOARDING_EVENT_IDS_ENCOUNTER_ENTER"), - 4: .same(proto: "ONBOARDING_EVENT_IDS_ENCOUNTER_LEAVE"), - 5: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_SELECTION"), - 6: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_GENDER"), - 7: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_GENDER_CHOSEN"), - 8: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_HEAD_CHOSEN"), - 9: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_BODY_CHOSEN"), - 10: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_TRY_AGAIN"), - 11: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_ACCEPTED"), - 12: .same(proto: "ONBOARDING_EVENT_IDS_NAME_ENTRY"), - 13: .same(proto: "ONBOARDING_EVENT_IDS_NAME_UNAVAILABLE"), - 14: .same(proto: "ONBOARDING_EVENT_IDS_NAME_ACCEPTED"), - 15: .same(proto: "ONBOARDING_EVENT_IDS_POKEDEX_TUTORIAL_STARTED"), - 16: .same(proto: "ONBOARDING_EVENT_IDS_POKEDEX_TUTORIAL_INFO_PANEL_EXIT_PRESSED"), - 17: .same(proto: "ONBOARDING_EVENT_IDS_POKEDEX_EXIT_PRESSED"), - 18: .same(proto: "ONBOARDING_EVENT_IDS_EGG_TUTORIAL_STARTED"), - 19: .same(proto: "ONBOARDING_EVENT_IDS_EGG_TUTORIAL_PRESS"), - 20: .same(proto: "ONBOARDING_EVENT_IDS_EGG_TUTORIAL_FINISHED"), - 21: .same(proto: "ONBOARDING_EVENT_IDS_POKESTOP_LETSGO"), - 22: .same(proto: "ONBOARDING_EVENT_IDS_WILD_POKEMON_ENCOUNTER_ENTERED"), - 23: .same(proto: "ONBOARDING_EVENT_IDS_WILD_POKEMON_CAUGHT"), - 24: .same(proto: "ONBOARDING_EVENT_IDS_AR_STANDARD_ENABLED"), - 25: .same(proto: "ONBOARDING_EVENT_IDS_AR_STANDARD_REJECTED"), - 26: .same(proto: "ONBOARDING_EVENT_IDS_AR_PLUS_ENABLED"), - 27: .same(proto: "ONBOARDING_EVENT_IDS_AR_PLUS_REJECTED"), - 28: .same(proto: "ONBOARDING_EVENT_IDS_SEE_TOS_MODAL"), - 29: .same(proto: "ONBOARDING_EVENT_IDS_TOS_DECLINED"), - 30: .same(proto: "ONBOARDING_EVENT_IDS_SEE_PRIVACY_MODAL"), - 31: .same(proto: "ONBOARDING_EVENT_IDS_INTRO_DIALOG_COMPLETE"), - 32: .same(proto: "ONBOARDING_EVENT_IDS_CATCH_DIALOG_COMPLETE"), - 33: .same(proto: "ONBOARDING_EVENT_IDS_USERNAME_DIALOG_COMPLETE"), - 34: .same(proto: "ONBOARDING_EVENT_IDS_POKESTOP_DIALOG_COMPLETE"), - 35: .same(proto: "ONBOARDING_EVENT_IDS_ACCEPTED_TOS"), - ] +public struct WithPokemonAlignmentProto { + // 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. + + public var alignment: [PokemonDisplayProto.Alignment] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension OnboardingPathIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ONBOARDING_PATH_IDS_V1"), - 1: .same(proto: "ONBOARDING_PATH_IDS_V2"), - 2: .same(proto: "ONBOARDING_PATH_IDS_VERSION_1"), - ] +public struct WithPokemonCategoryProto { + // 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. + + public var categoryName: String = String() + + public var pokemonIds: [HoloPokemonId] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PartyQuestStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PARTY_QUEST_UNKNOWN"), - 1: .same(proto: "PARTY_QUEST_WAITING_PARTY_TO_START"), - 2: .same(proto: "PARTY_QUEST_SELECTING"), - 3: .same(proto: "PARTY_QUEST_ACTIVE"), - 4: .same(proto: "PARTY_QUEST_COMPLETED_AND_AWARDING"), - 5: .same(proto: "PARTY_QUEST_NOT_AVAILABLE"), - ] +public struct WithPokemonCostumeProto { + // 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. + + public var requireNoCostume: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PartyStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PARTY_UNKNOWN"), - 1: .same(proto: "PARTY_WAITING_TO_START"), - 2: .same(proto: "PARTY_NORMAL"), - 3: .same(proto: "PARTY_DISBANDED"), - ] +public struct WithPokemonCpLimitProto { + // 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. + + public var minCp: Int32 = 0 + + public var maxCp: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PathType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PATH_TYPE_UNSET"), - 1: .same(proto: "PATH_TYPE_ACYCLIC"), - 2: .same(proto: "PATH_TYPE_LOOP"), - ] +public struct WithPokemonCpProto { + // 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. + + public var maxCp: Int32 = 0 + + public var minCp: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PermissionContextTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_UNDEFINED_PERMISSION_CONTEXT"), - 1: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_EGG_HATCH"), - 2: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_BUDDY_CANDY_FOUND"), - 3: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_PLAYER_PROFILE_CLICKED"), - 4: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_SMART_WATCH_INSTALLED"), - 5: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_SFIDA_SESSION_STARTED"), - 6: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_SETTINGS_TOGGLE"), - 7: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_NEARBY_PANEL_OPENED"), - 8: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_FTUE_PROMPT"), - 9: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_LEVEL_UP_PROMPT"), - 10: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_ROUTE_CREATION"), - ] +public struct WithPokemonLevelProto { + // 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. + + public var maxLevel: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PermissionFlowStepTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_UNDEFINED_PERMISSION_FLOW_STEP"), - 1: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_INITIAL_PROMPT"), - 2: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_FITNESS_PERMISSION"), - 3: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_LOCATION_PERMISSION"), - 4: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_ACTIVITY_PERMISSIONS"), - ] +public struct WithPokemonMoveProto { + // 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. + + public var moveIds: [HoloPokemonMove] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PermissionType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PERMISSION_TYPE_UNSET"), - 1: .same(proto: "PERMISSION_TYPE_READ_CONTACTS"), - ] +public struct WithPokemonSizeProto { + // 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. + + public var pokemonSize: [HoloPokemonSize] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension Platform: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PLATFORM_UNSET"), - 1: .same(proto: "PLATFORM_IOS"), - 2: .same(proto: "PLATFORM_ANDROID"), - 3: .same(proto: "PLATFORM_OSX"), - 4: .same(proto: "PLATFORM_WINDOWS"), - 5: .same(proto: "PLATFORM_APPLE_WATCH"), - ] +public struct WithPokemonTypeProto { + // 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. + + public var pokemonType: [HoloPokemonType] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PlayerAvatarType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PLAYER_AVATAR_MALE"), - 1: .same(proto: "PLAYER_AVATAR_FEMALE"), - ] +public struct WithPvpCombatProto { + // 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. + + public var requiresWin: Bool = false + + public var combatLeagueTemplateID: [String] = [] + + public var combatLeagueBadge: HoloBadgeType = .badgeUnset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PlayerSubmissionAction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PLAYER_SUBMISSION_ACTION_UNKNOWN_GAME_POI_ACTION"), - 620000: .same(proto: "PLAYER_SUBMISSION_ACTION_ADD_NEW_POI"), - 620001: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_AVAILABLE_SUBMISSIONS"), - 620002: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), - 620003: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_PLAYER_SUBMISSION_VALIDATION_SETTINGS"), - 620004: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_ADD_NEW_POI"), - 620005: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), - 620100: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_POI_IMAGE"), - 620101: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_POI_TEXT_METADATA_UPDATE"), - 620102: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_POI_LOCATION_UPDATE"), - 620103: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_POI_TAKEDOWN_REQUEST"), - 620104: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_SPONSOR_POI_REPORT"), - 620105: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_SPONSOR_POI_LOCATION_UPDATE"), - 620106: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_POI_CATEGORY_VOTE"), - 620107: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_IMAGE"), - 620108: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_TEXT_METADATA_UPDATE"), - 620109: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_LOCATION_UPDATE"), - 620110: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_TAKEDOWN_REQUEST"), - 620200: .same(proto: "PLAYER_SUBMISSION_ACTION_ADD_NEW_ROUTE"), - 620300: .same(proto: "PLAYER_SUBMISSION_ACTION_GENERATE_GMAP_SIGNED_URL"), - 620301: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_GMAP_SETTINGS"), - 620400: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_POI_AR_VIDEO_METADATA"), - 620401: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_GRAPESHOT_FILE_UPLOAD_URL"), - 620402: .same(proto: "PLAYER_SUBMISSION_ACTION_ASYNC_FILE_UPLOAD_COMPLETE"), - 620403: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_AR_MAPPING_SETTINGS"), - 620404: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_AR_VIDEO_METADATA"), - 620405: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_GET_GRAPESHOT_FILE_UPLOAD_URL"), - 620406: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_ASYNC_FILE_UPLOAD_COMPLETE"), - 620407: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_MAPPING_REQUEST"), - 620408: .same(proto: "PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_MAPPING_REQUEST"), - 620500: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_IMAGES_FOR_POI"), - 620501: .same(proto: "PLAYER_SUBMISSION_ACTION_SUBMIT_PLAYER_IMAGE_VOTE_FOR_POI"), - 620502: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_IMAGE_GALLERY_SETTINGS"), - 620600: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_MAP_DATA"), - 620601: .same(proto: "PLAYER_SUBMISSION_ACTION_GET_POIS_IN_RADIUS"), - ] +public struct WithQuestContextProto { + // 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. + + public var context: QuestProto.Context = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PlayerSubmissionTypeProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_TYPE_UNSPECIFIED"), - 1: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_SUBMISSION"), - 2: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_ROUTE_SUBMISSION"), - 3: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_IMAGE_SUBMISSION"), - 4: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_TEXT_METADATA_UPDATE"), - 5: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_LOCATION_UPDATE"), - 6: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_TAKEDOWN_REQUEST"), - 7: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_AR_VIDEO_SUBMISSION"), - 8: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_SPONSOR_POI_REPORT"), - 9: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_SPONSOR_POI_LOCATION_UPDATE"), - 10: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_CATEGORY_VOTE_SUBMISSION"), - 11: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_MAPPING_REQUEST"), - ] +public struct WithRaidLevelProto { + // 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. + + public var raidLevel: [RaidLevel] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PoiImageType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POI_IMAGE_TYPE_UNSET"), - 1: .same(proto: "POI_IMAGE_TYPE_MAIN"), - 2: .same(proto: "POI_IMAGE_TYPE_SURROUNDING"), - ] +public struct WithRaidLocationProto { + // 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. + + public var location: RaidLocationRequirement = .raidLocationRequerimentBoth + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PoiInvalidReason: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POI_INVALID_REASON_INVALID_REASON_UNSPECIFIED"), - 1: .same(proto: "POI_INVALID_REASON_NO_PEDESTRIAN_ACCESS"), - 2: .same(proto: "POI_INVALID_REASON_OBSTRUCTS_EMERGENCY_SERVICES"), - 3: .same(proto: "POI_INVALID_REASON_PRIVATE_RESIDENTIAL_PROPERTY"), - 4: .same(proto: "POI_INVALID_REASON_SCHOOL"), - 5: .same(proto: "POI_INVALID_REASON_PERMANENTLY_REMOVED"), - 6: .same(proto: "POI_INVALID_REASON_DUPLICATE"), - ] +public struct WithRouteTravelProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PokecoinCapResetFrequency: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "FREQUENCY_UNSET"), - 1: .same(proto: "FREQUENCY_DAILY"), - 2: .same(proto: "FREQUENCY_WEEKLY"), - 3: .same(proto: "FREQUENCY_MONTHLY"), - 4: .same(proto: "FREQUENCY_YEARLY"), - ] +public struct WithSingleDayProto { + // 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. + + public var lastWindow: Int64 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PokecoinSource: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SOURCE_UNSET"), - 1: .same(proto: "SOURCE_GYM_DEFENDER"), - 2: .same(proto: "SOURCE_REFERRAL_BONUS"), - ] +public struct WithSuperEffectiveChargeMoveProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PokedexCategory: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKEDEX_CATEGORY_UNSET"), - 1: .same(proto: "POKEDEX_CATEGORY_ALL"), - 2: .same(proto: "POKEDEX_CATEGORY_MEGA"), - 11: .same(proto: "POKEDEX_CATEGORY_SHINY"), - 12: .same(proto: "POKEDEX_CATEGORY_LUCKY"), - 13: .same(proto: "POKEDEX_CATEGORY_THREE_STAR"), - 14: .same(proto: "POKEDEX_CATEGORY_FOUR_STAR"), - 15: .same(proto: "POKEDEX_CATEGORY_SHADOW"), - 16: .same(proto: "POKEDEX_CATEGORY_PURIFIED"), - 17: .same(proto: "POKEDEX_CATEGORY_COSTUME"), - 101: .same(proto: "POKEDEX_CATEGORY_SHINY_THREE_STAR"), - 102: .same(proto: "POKEDEX_CATEGORY_SHINY_FOUR_STAR"), - ] +public struct WithTappableTypeProto { + // 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. + + public var tappableType: Tappable.TappableType = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} } -extension PokedexGenerationId: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "GENERATION_UNSET"), - 1: .same(proto: "GENERATION_GEN1"), - 2: .same(proto: "GENERATION_GEN2"), - 3: .same(proto: "GENERATION_GEN3"), - 4: .same(proto: "GENERATION_GEN4"), - 5: .same(proto: "GENERATION_GEN5"), - 6: .same(proto: "GENERATION_GEN6"), - 7: .same(proto: "GENERATION_GEN7"), - 8: .same(proto: "GENERATION_GEN8"), - 9: .same(proto: "GENERATION_GEN8A"), - 10: .same(proto: "GENERATION_GEN9"), - 1002: .same(proto: "GENERATION_MELTAN"), +public struct WithTempEvoIdProto { + // 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. + + public var megaForm: [HoloTemporaryEvolutionId] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithThrowTypeProto { + // 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. + + public var `throw`: WithThrowTypeProto.OneOf_Throw? = nil + + public var throwType: HoloActivityType { + get { + if case .throwType(let v)? = `throw` {return v} + return .activityUnknown + } + set {`throw` = .throwType(newValue)} + } + + public var hit: Bool { + get { + if case .hit(let v)? = `throw` {return v} + return false + } + set {`throw` = .hit(newValue)} + } + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum OneOf_Throw: Equatable { + case throwType(HoloActivityType) + case hit(Bool) + + #if !swift(>=4.1) + public static func ==(lhs: WithThrowTypeProto.OneOf_Throw, rhs: WithThrowTypeProto.OneOf_Throw) -> Bool { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch (lhs, rhs) { + case (.throwType, .throwType): return { + guard case .throwType(let l) = lhs, case .throwType(let r) = rhs else { preconditionFailure() } + return l == r + }() + case (.hit, .hit): return { + guard case .hit(let l) = lhs, case .hit(let r) = rhs else { preconditionFailure() } + return l == r + }() + default: return false + } + } + #endif + } + + public init() {} +} + +public struct WithTotalDaysProto { + // 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. + + public var lastWindow: Int32 = 0 + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithUniquePokemonProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithUniquePokestopProto { + // 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. + + public var context: WithUniquePokestopProto.Context = .unset + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Context: SwiftProtobuf.Enum { + public typealias RawValue = Int + case unset // = 0 + case quest // = 1 + case UNRECOGNIZED(Int) + + public init() { + self = .unset + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .unset + case 1: self = .quest + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .unset: return 0 + case .quest: return 1 + case .UNRECOGNIZED(let i): return i + } + } + + } + + public init() {} +} + +#if swift(>=4.2) + +extension WithUniquePokestopProto.Context: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [WithUniquePokestopProto.Context] = [ + .unset, + .quest, ] } -extension PokemonBadge: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKEMON_BADGE_UNSET"), - 1: .same(proto: "POKEMON_BADGE_BEST_BUDDY"), - ] -} +#endif // swift(>=4.2) + +public struct WithUniqueRouteTravelProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithWeatherBoostProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithWinBattleStatusProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithWinGymBattleStatusProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct WithWinRaidStatusProto { + // 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. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +public struct YesNoSelectorProto { + // 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. + + public var yesKey: String = String() + + public var noKey: String = String() + + public var yesNextStep: String = String() + + public var noNextStep: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + +#if swift(>=5.5) && canImport(_Concurrency) +extension ARDKNominationType: @unchecked Sendable {} +extension ARDKPlayerSubmissionTypeProto: @unchecked Sendable {} +extension ARDKPoiInvalidReason: @unchecked Sendable {} +extension ARDKScanTag: @unchecked Sendable {} +extension ARDKSponsorPoiInvalidReason: @unchecked Sendable {} +extension ARDKUserType: @unchecked Sendable {} +extension ASPermissionStatusTelemetryIds: @unchecked Sendable {} +extension ASPermissionTelemetryIds: @unchecked Sendable {} +extension ASServiceTelemetryIds: @unchecked Sendable {} +extension AdResponseStatus: @unchecked Sendable {} +extension AdType: @unchecked Sendable {} +extension AnimationTake: @unchecked Sendable {} +extension AssetTelemetryIds: @unchecked Sendable {} +extension AttractedPokemonContext: @unchecked Sendable {} +extension AuthIdentityProvider: @unchecked Sendable {} +extension AutoModeConfigType: @unchecked Sendable {} +extension AvatarCustomizationTelemetryIds: @unchecked Sendable {} +extension AvatarGender: @unchecked Sendable {} +extension AvatarSlot: @unchecked Sendable {} +extension BattleExperiment: @unchecked Sendable {} +extension BattleHubSection: @unchecked Sendable {} +extension BattleHubSubsection: @unchecked Sendable {} +extension BattlePartyTelemetryIds: @unchecked Sendable {} +extension BuddyActivity: @unchecked Sendable {} +extension BuddyActivityCategory: @unchecked Sendable {} +extension BuddyAnimation: @unchecked Sendable {} +extension BuddyEmotionLevel: @unchecked Sendable {} +extension BuddyLevel: @unchecked Sendable {} +extension CameraInterpolation: @unchecked Sendable {} +extension CameraTarget: @unchecked Sendable {} +extension CentralState: @unchecked Sendable {} +extension Channel: @unchecked Sendable {} +extension ClientOperatingSystem: @unchecked Sendable {} +extension CombatExperiment: @unchecked Sendable {} +extension CombatHubEntranceTelemetryIds: @unchecked Sendable {} +extension CombatPlayerFinishState: @unchecked Sendable {} +extension CombatRewardStatus: @unchecked Sendable {} +extension CombatType: @unchecked Sendable {} +extension ContestOccurrence: @unchecked Sendable {} +extension ContestPokemonMetric: @unchecked Sendable {} +extension ContestRankingStandard: @unchecked Sendable {} +extension ContestScoreComponentType: @unchecked Sendable {} +extension DeviceConnectState: @unchecked Sendable {} +extension DeviceKind: @unchecked Sendable {} +extension DeviceServiceTelemetryIds: @unchecked Sendable {} +extension DeviceType: @unchecked Sendable {} +extension DownstreamActionMethod: @unchecked Sendable {} +extension EggIncubatorType: @unchecked Sendable {} +extension EggSlotType: @unchecked Sendable {} +extension EncounterType: @unchecked Sendable {} +extension EnterUsernameMode: @unchecked Sendable {} +extension EntryPointForContestEntry: @unchecked Sendable {} +extension FeatureKind: @unchecked Sendable {} +extension FeaturesFeatureKind: @unchecked Sendable {} +extension FortPowerUpLevel: @unchecked Sendable {} +extension FortPowerUpLevelReward: @unchecked Sendable {} +extension FortType: @unchecked Sendable {} +extension FriendshipLevelMilestone: @unchecked Sendable {} +extension GameAccountRegistryActions: @unchecked Sendable {} +extension GameAdventureSyncAction: @unchecked Sendable {} +extension GameAnticheatAction: @unchecked Sendable {} +extension GameAuthenticationActionMethod: @unchecked Sendable {} +extension GameBackgroundModeAction: @unchecked Sendable {} +extension GameChatActions: @unchecked Sendable {} +extension GameCrmActions: @unchecked Sendable {} +extension GameFitnessAction: @unchecked Sendable {} +extension GameGmTemplatesAction: @unchecked Sendable {} +extension GameIapAction: @unchecked Sendable {} +extension GameNotificationAction: @unchecked Sendable {} +extension GamePasscodeAction: @unchecked Sendable {} +extension GamePingAction: @unchecked Sendable {} +extension GamePlayerAction: @unchecked Sendable {} +extension GamePoiAction: @unchecked Sendable {} +extension GamePushNotificationAction: @unchecked Sendable {} +extension GameSocialAction: @unchecked Sendable {} +extension GameTelemetryAction: @unchecked Sendable {} +extension GameWebTokenAction: @unchecked Sendable {} +extension GenericClickTelemetryIds: @unchecked Sendable {} +extension GymBadgeType: @unchecked Sendable {} +extension HelpshiftAuthenticationFailureReason: @unchecked Sendable {} +extension HoloActivityType: @unchecked Sendable {} +extension HoloBadgeType: @unchecked Sendable {} +extension HoloIapItemCategory: @unchecked Sendable {} +extension HoloItemCategory: @unchecked Sendable {} +extension HoloItemEffect: @unchecked Sendable {} +extension HoloItemType: @unchecked Sendable {} +extension HoloPokemonClass: @unchecked Sendable {} +extension HoloPokemonEggType: @unchecked Sendable {} +extension HoloPokemonFamilyId: @unchecked Sendable {} +extension HoloPokemonId: @unchecked Sendable {} +extension HoloPokemonMove: @unchecked Sendable {} +extension HoloPokemonMovementType: @unchecked Sendable {} +extension HoloPokemonNature: @unchecked Sendable {} +extension HoloPokemonSize: @unchecked Sendable {} +extension HoloPokemonType: @unchecked Sendable {} +extension HoloTemporaryEvolutionId: @unchecked Sendable {} +extension IapLibraryVersion: @unchecked Sendable {} +extension IncidentDisplayType: @unchecked Sendable {} +extension InternalCrmClientActionMethod: @unchecked Sendable {} +extension InternalGarClientActionMethod: @unchecked Sendable {} +extension InternalInvitationType: @unchecked Sendable {} +extension InternalNotificationState: @unchecked Sendable {} +extension InternalPlatformClientAction: @unchecked Sendable {} +extension InternalSocialAction: @unchecked Sendable {} +extension InvasionTelemetryIds: @unchecked Sendable {} +extension InventoryUpgradeType: @unchecked Sendable {} +extension Item: @unchecked Sendable {} +extension ItemUseTelemetryIds: @unchecked Sendable {} +extension LocationCard: @unchecked Sendable {} +extension LoginActionTelemetryIds: @unchecked Sendable {} +extension MapEventsTelemetryIds: @unchecked Sendable {} +extension MementoType: @unchecked Sendable {} +extension Method: @unchecked Sendable {} +extension NewsPageTelemetryIds: @unchecked Sendable {} +extension NonCombatMoveType: @unchecked Sendable {} +extension NotificationCategory: @unchecked Sendable {} +extension NotificationState: @unchecked Sendable {} +extension NotificationType: @unchecked Sendable {} +extension NullValue: @unchecked Sendable {} +extension OnboardingArStatus: @unchecked Sendable {} +extension OnboardingEventIds: @unchecked Sendable {} +extension OnboardingPathIds: @unchecked Sendable {} +extension PartyQuestStatus: @unchecked Sendable {} +extension PartyStatus: @unchecked Sendable {} +extension PathType: @unchecked Sendable {} +extension PermissionContextTelemetryIds: @unchecked Sendable {} +extension PermissionFlowStepTelemetryIds: @unchecked Sendable {} +extension PermissionType: @unchecked Sendable {} +extension Platform: @unchecked Sendable {} +extension PlatformClientAction: @unchecked Sendable {} +extension PlatformWarningType: @unchecked Sendable {} +extension PlayerAvatarType: @unchecked Sendable {} +extension PlayerBonusType: @unchecked Sendable {} +extension PlayerSubmissionTypeProto: @unchecked Sendable {} +extension PlayerZoneCompliance: @unchecked Sendable {} +extension PluginState: @unchecked Sendable {} +extension PoiImageType: @unchecked Sendable {} +extension PoiInvalidReason: @unchecked Sendable {} +extension PokecoinCapResetFrequency: @unchecked Sendable {} +extension PokecoinSource: @unchecked Sendable {} +extension PokedexCategory: @unchecked Sendable {} +extension PokedexGenerationId: @unchecked Sendable {} +extension PokemonBadge: @unchecked Sendable {} +extension PokemonGoPlusIds: @unchecked Sendable {} +extension PokemonHomeTelemetryIds: @unchecked Sendable {} +extension PokemonInventoryTelemetryIds: @unchecked Sendable {} +extension PokemonTagColor: @unchecked Sendable {} +extension PostcardSource: @unchecked Sendable {} +extension ProfilePageTelemetryIds: @unchecked Sendable {} +extension PushGatewayTelemetryIds: @unchecked Sendable {} +extension PushNotificationTelemetryIds: @unchecked Sendable {} +extension QuestType: @unchecked Sendable {} +extension RaidLevel: @unchecked Sendable {} +extension RaidLocationRequirement: @unchecked Sendable {} +extension RaidPlaquePipStyle: @unchecked Sendable {} +extension RaidTelemetryIds: @unchecked Sendable {} +extension RaidVisualType: @unchecked Sendable {} +extension ReferralRole: @unchecked Sendable {} +extension ReferralSource: @unchecked Sendable {} +extension ReferralTelemetryIds: @unchecked Sendable {} +extension RemoteRaidInviteAcceptSource: @unchecked Sendable {} +extension RemoteRaidJoinSource: @unchecked Sendable {} +extension RemoteRaidTelemetryIds: @unchecked Sendable {} +extension RouteDiscoveryTelemetryIds: @unchecked Sendable {} +extension RouteErrorTelemetryIds: @unchecked Sendable {} +extension RouteType: @unchecked Sendable {} +extension SaturdayCompositionData: @unchecked Sendable {} +extension ShoppingPageScrollIds: @unchecked Sendable {} +extension ShoppingPageTelemetryIds: @unchecked Sendable {} +extension ShoppingPageTelemetrySource: @unchecked Sendable {} +extension SocialTelemetryIds: @unchecked Sendable {} +extension Source: @unchecked Sendable {} +extension SouvenirTypeId: @unchecked Sendable {} +extension SponsorPoiInvalidReason: @unchecked Sendable {} +extension StatModifierType: @unchecked Sendable {} +extension Store: @unchecked Sendable {} +extension Team: @unchecked Sendable {} +extension TitanPlayerSubmissionAction: @unchecked Sendable {} +extension TitanPoiImageType: @unchecked Sendable {} +extension TrainerAbility: @unchecked Sendable {} +extension TutorialCompletion: @unchecked Sendable {} +extension TweenAction: @unchecked Sendable {} +extension UsernameSuggestionTelemetryId: @unchecked Sendable {} +extension VivillonRegion: @unchecked Sendable {} +extension VpsEventType: @unchecked Sendable {} +extension VsEffectTag: @unchecked Sendable {} +extension VsSeekerRewardTrack: @unchecked Sendable {} +extension WebTelemetryIds: @unchecked Sendable {} +extension ARBuddyMultiplayerSessionTelemetry: @unchecked Sendable {} +extension ARDKARClientEnvelope: @unchecked Sendable {} +extension ARDKARClientEnvelope.AgeLevel: @unchecked Sendable {} +extension ARDKARCommonMetadata: @unchecked Sendable {} +extension ARDKAffineTransformProto: @unchecked Sendable {} +extension ARDKAsyncFileUploadCompleteOutProto: @unchecked Sendable {} +extension ARDKAsyncFileUploadCompleteOutProto.ErrorStatus: @unchecked Sendable {} +extension ARDKAsyncFileUploadCompleteProto: @unchecked Sendable {} +extension ARDKAsyncFileUploadCompleteProto.Status: @unchecked Sendable {} +extension ARDKAvailableSubmissionsPerSubmissionType: @unchecked Sendable {} +extension ARDKBoundingBoxProto: @unchecked Sendable {} +extension ARDKCameraParamsProto: @unchecked Sendable {} +extension ARDKDepthRangeProto: @unchecked Sendable {} +extension ARDKExposureInfoProto: @unchecked Sendable {} +extension ARDKFrameProto: @unchecked Sendable {} +extension ARDKFramesProto: @unchecked Sendable {} +extension ARDKGenerateGmapSignedUrlOutProto: @unchecked Sendable {} +extension ARDKGenerateGmapSignedUrlOutProto.Result: @unchecked Sendable {} +extension ARDKGenerateGmapSignedUrlProto: @unchecked Sendable {} +extension ARDKGetARMappingSettingsOutProto: @unchecked Sendable {} +extension ARDKGetARMappingSettingsProto: @unchecked Sendable {} +extension ARDKGetAvailableSubmissionsOutProto: @unchecked Sendable {} +extension ARDKGetAvailableSubmissionsProto: @unchecked Sendable {} +extension ARDKGetGmapSettingsOutProto: @unchecked Sendable {} +extension ARDKGetGmapSettingsOutProto.Result: @unchecked Sendable {} +extension ARDKGetGmapSettingsProto: @unchecked Sendable {} +extension ARDKGetGrapeshotUploadUrlOutProto: @unchecked Sendable {} +extension ARDKGetGrapeshotUploadUrlOutProto.Status: @unchecked Sendable {} +extension ARDKGetGrapeshotUploadUrlProto: @unchecked Sendable {} +extension ARDKGetPlayerSubmissionValidationSettingsOutProto: @unchecked Sendable {} +extension ARDKGetPlayerSubmissionValidationSettingsProto: @unchecked Sendable {} +extension ARDKGetUploadUrlOutProto: @unchecked Sendable {} +extension ARDKGetUploadUrlOutProto.Status: @unchecked Sendable {} +extension ARDKGetUploadUrlProto: @unchecked Sendable {} +extension ARDKGrapeshotAuthenticationDataProto: @unchecked Sendable {} +extension ARDKGrapeshotChunkDataProto: @unchecked Sendable {} +extension ARDKGrapeshotComposeDataProto: @unchecked Sendable {} +extension ARDKGrapeshotUploadingDataProto: @unchecked Sendable {} +extension ARDKLocationE6Proto: @unchecked Sendable {} +extension ARDKLocationProto: @unchecked Sendable {} +extension ARDKPlayerSubmissionResponseProto: @unchecked Sendable {} +extension ARDKPlayerSubmissionResponseProto.Status: @unchecked Sendable {} +extension ARDKPoiVideoSubmissionMetadataProto: @unchecked Sendable {} +extension ARDKPortalCurationImageResult: @unchecked Sendable {} +extension ARDKPortalCurationImageResult.Result: @unchecked Sendable {} +extension ARDKRasterSizeProto: @unchecked Sendable {} +extension ARDKScanMetadataProto: @unchecked Sendable {} +extension ARDKSubmitNewPoiOutProto: @unchecked Sendable {} +extension ARDKSubmitNewPoiOutProto.Status: @unchecked Sendable {} +extension ARDKSubmitNewPoiProto: @unchecked Sendable {} +extension ARDKSubmitPoiCategoryVoteRecordProto: @unchecked Sendable {} +extension ARDKSubmitPoiImageProto: @unchecked Sendable {} +extension ARDKSubmitPoiLocationUpdateProto: @unchecked Sendable {} +extension ARDKSubmitPoiTakedownRequestProto: @unchecked Sendable {} +extension ARDKSubmitPoiTextMetadataUpdateProto: @unchecked Sendable {} +extension ARDKSubmitSponsorPoiLocationUpdateProto: @unchecked Sendable {} +extension ARDKSubmitSponsorPoiReportProto: @unchecked Sendable {} +extension ARDKUploadPoiPhotoByUrlOutProto: @unchecked Sendable {} +extension ARDKUploadPoiPhotoByUrlProto: @unchecked Sendable {} +extension ARPlusEncounterValuesProto: @unchecked Sendable {} +extension ASPermissionFlowTelemetry: @unchecked Sendable {} +extension AbilityEnergyMetadata: @unchecked Sendable {} +extension AbilityEnergyMetadata.ChargeMultiplier: @unchecked Sendable {} +extension AbilityEnergyMetadata.ChargeType: @unchecked Sendable {} +extension AbilityEnergyMetadata.ChargeRateSetting: @unchecked Sendable {} +extension AbilityLookupMap: @unchecked Sendable {} +extension AbilityLookupMap.AbilityLookupLocation: @unchecked Sendable {} +extension AcceptCombatChallengeData: @unchecked Sendable {} +extension AcceptCombatChallengeOutProto: @unchecked Sendable {} +extension AcceptCombatChallengeOutProto.Result: @unchecked Sendable {} +extension AcceptCombatChallengeProto: @unchecked Sendable {} +extension AcceptCombatChallengeResponseData: @unchecked Sendable {} +extension AccountDeletionInitiatedTelemetry: @unchecked Sendable {} +extension AcknowledgePunishmentOutProto: @unchecked Sendable {} +extension AcknowledgePunishmentOutProto.Result: @unchecked Sendable {} +extension AcknowledgePunishmentProto: @unchecked Sendable {} +extension AcknowledgeViewLatestIncenseRecapOutProto: @unchecked Sendable {} +extension AcknowledgeViewLatestIncenseRecapOutProto.Result: @unchecked Sendable {} +extension AcknowledgeViewLatestIncenseRecapProto: @unchecked Sendable {} +extension AcknowledgeWarningsRequestProto: @unchecked Sendable {} +extension AcknowledgeWarningsResponseProto: @unchecked Sendable {} +extension ActionLogEntry: @unchecked Sendable {} +extension ActionLogEntry.OneOf_Action: @unchecked Sendable {} +extension ActivateVsSeekerOutProto: @unchecked Sendable {} +extension ActivateVsSeekerOutProto.Result: @unchecked Sendable {} +extension ActivateVsSeekerProto: @unchecked Sendable {} +extension ActivityPostcardData: @unchecked Sendable {} +extension ActivityPostcardData.BuddyData: @unchecked Sendable {} +extension ActivityPostcardData.FortData: @unchecked Sendable {} +extension AdDetails: @unchecked Sendable {} +extension AdFeedbackSettingsProto: @unchecked Sendable {} +extension AdProto: @unchecked Sendable {} +extension AdRequestDeviceInfo: @unchecked Sendable {} +extension AdRequestDeviceInfo.OperatingSystem: @unchecked Sendable {} +extension AdTargetingInfoProto: @unchecked Sendable {} +extension AddFortModifierOutProto: @unchecked Sendable {} +extension AddFortModifierOutProto.Result: @unchecked Sendable {} +extension AddFortModifierProto: @unchecked Sendable {} +extension AddFriendQuestProto: @unchecked Sendable {} +extension AddLoginActionOutProto: @unchecked Sendable {} +extension AddLoginActionOutProto.Status: @unchecked Sendable {} +extension AddLoginActionProto: @unchecked Sendable {} +extension AddPtcLoginActionOutProto: @unchecked Sendable {} +extension AddPtcLoginActionOutProto.Status: @unchecked Sendable {} +extension AddPtcLoginActionProto: @unchecked Sendable {} +extension AddReferrerOutProto: @unchecked Sendable {} +extension AddReferrerOutProto.Status: @unchecked Sendable {} +extension AddReferrerProto: @unchecked Sendable {} +extension AddressBookImportSettingsProto: @unchecked Sendable {} +extension AddressBookImportTelemetry: @unchecked Sendable {} +extension AddressBookImportTelemetry.AddressBookImportTelemetryId: @unchecked Sendable {} +extension AddressablePokemonProto: @unchecked Sendable {} +extension AddressablesServiceTime: @unchecked Sendable {} +extension AdvancedPerformanceTelemetry: @unchecked Sendable {} +extension AdvancedPerformanceTelemetry.PerformanceLevels: @unchecked Sendable {} +extension AdvancedPerformanceTelemetry.PerformancePresetLevels: @unchecked Sendable {} +extension AdvancedSettingsProto: @unchecked Sendable {} +extension AdventureSyncActivitySummaryProto: @unchecked Sendable {} +extension AdventureSyncBuddyStatsProto: @unchecked Sendable {} +extension AdventureSyncEggHatchingProgress: @unchecked Sendable {} +extension AdventureSyncEggHatchingProgress.IncubatorType: @unchecked Sendable {} +extension AdventureSyncEggHatchingProgress.Status: @unchecked Sendable {} +extension AdventureSyncEggIncubatorsProto: @unchecked Sendable {} +extension AdventureSyncProgress: @unchecked Sendable {} +extension AdventureSyncProgressRequest: @unchecked Sendable {} +extension AdventureSyncProgressRequest.WidgetType: @unchecked Sendable {} +extension AdventureSyncProgressResponse: @unchecked Sendable {} +extension AdventureSyncSettingsProto: @unchecked Sendable {} +extension AdventureSyncV2GmtProto: @unchecked Sendable {} +extension AgeGateResult: @unchecked Sendable {} +extension AgeGateStartup: @unchecked Sendable {} +extension AllTypesAndMessagesResponsesProto: @unchecked Sendable {} +extension AllTypesAndMessagesResponsesProto.AllResquestTypesProto: @unchecked Sendable {} +extension AllTypesAndMessagesResponsesProto.AllMessagesProto: @unchecked Sendable {} +extension AllTypesAndMessagesResponsesProto.AllResponsesProto: @unchecked Sendable {} +extension AllTypesAndMessagesResponsesProto.Message: @unchecked Sendable {} +extension AllTypesAndMessagesResponsesProto.Response: @unchecked Sendable {} +extension AnchorUpdateProto: @unchecked Sendable {} +extension AnchorUpdateProto.AnchorUpdateType: @unchecked Sendable {} +extension AndroidDataSource: @unchecked Sendable {} +extension AndroidDevice: @unchecked Sendable {} +extension AndroidDevice.DeviceType: @unchecked Sendable {} +extension AnimationOverrideProto: @unchecked Sendable {} +extension AnimationOverrideProto.PokemonAnim: @unchecked Sendable {} +extension ApnToken: @unchecked Sendable {} +extension AppleToken: @unchecked Sendable {} +extension AppliedBonusEffectProto: @unchecked Sendable {} +extension AppliedBonusEffectProto.OneOf_Bonus: @unchecked Sendable {} +extension AppliedBonusProto: @unchecked Sendable {} +extension AppliedBonusesProto: @unchecked Sendable {} +extension AppliedItemProto: @unchecked Sendable {} +extension AppliedItemsProto: @unchecked Sendable {} +extension AppliedSpaceBonusProto: @unchecked Sendable {} +extension AppliedTimeBonusProto: @unchecked Sendable {} +extension AppraisalStarThresholdSettings: @unchecked Sendable {} +extension ApprovedCommonTelemetryProto: @unchecked Sendable {} +extension ApprovedCommonTelemetryProto.OneOf_TelemetryData: @unchecked Sendable {} +extension ArMappingSessionTelemetryProto: @unchecked Sendable {} +extension ArMappingSettingsProto: @unchecked Sendable {} +extension ArMappingTelemetryProto: @unchecked Sendable {} +extension ArMappingTelemetryProto.ArMappingEntryPoint: @unchecked Sendable {} +extension ArMappingTelemetryProto.ArMappingEventId: @unchecked Sendable {} +extension ArMappingTelemetryProto.ArMappingValidationFailureReason: @unchecked Sendable {} +extension ArPhotoGlobalSettings: @unchecked Sendable {} +extension ArPhotoSessionProto: @unchecked Sendable {} +extension ArPhotoSessionProto.ArContext: @unchecked Sendable {} +extension ArPhotoSessionProto.ArType: @unchecked Sendable {} +extension ArPhotoSessionProto.BatteryStatus: @unchecked Sendable {} +extension ArPhotoSessionProto.Step: @unchecked Sendable {} +extension ArPhotoSessionProto.ArConditions: @unchecked Sendable {} +extension ArPhotoSessionProto.BatterySample: @unchecked Sendable {} +extension ArPhotoSessionProto.FramerateSample: @unchecked Sendable {} +extension ArPhotoSessionProto.ProcessorSample: @unchecked Sendable {} +extension ArSessionStartEvent: @unchecked Sendable {} +extension ArTelemetrySettingsProto: @unchecked Sendable {} +extension ArdkConfigSettingsProto: @unchecked Sendable {} +extension ArdkConfigSettingsProto.ArContext: @unchecked Sendable {} +extension ArdkNextTelemetryOmniProto: @unchecked Sendable {} +extension ArdkNextTelemetryOmniProto.OneOf_TelemetryEvent: @unchecked Sendable {} +extension AssertionFailed: @unchecked Sendable {} +extension AssetBundleDownloadTelemetry: @unchecked Sendable {} +extension AssetDigestEntryProto: @unchecked Sendable {} +extension AssetDigestOutProto: @unchecked Sendable {} +extension AssetDigestOutProto.Result: @unchecked Sendable {} +extension AssetDigestRequestProto: @unchecked Sendable {} +extension AssetPoiDownloadTelemetry: @unchecked Sendable {} +extension AssetRefreshProto: @unchecked Sendable {} +extension AssetRefreshTelemetry: @unchecked Sendable {} +extension AssetStreamCacheCulledTelemetry: @unchecked Sendable {} +extension AssetStreamDownloadTelemetry: @unchecked Sendable {} +extension AssetVersionOutProto: @unchecked Sendable {} +extension AssetVersionOutProto.Result: @unchecked Sendable {} +extension AssetVersionOutProto.AssetVersionResponseProto: @unchecked Sendable {} +extension AssetVersionProto: @unchecked Sendable {} +extension AssetVersionProto.AssetVersionRequestProto: @unchecked Sendable {} +extension AttackGymOutProto: @unchecked Sendable {} +extension AttackGymOutProto.Result: @unchecked Sendable {} +extension AttackGymProto: @unchecked Sendable {} +extension AttackRaidBattleOutProto: @unchecked Sendable {} +extension AttackRaidBattleOutProto.Result: @unchecked Sendable {} +extension AttackRaidBattleProto: @unchecked Sendable {} +extension AttackRaidData: @unchecked Sendable {} +extension AttackRaidResponseData: @unchecked Sendable {} +extension AttractedPokemonClientProto: @unchecked Sendable {} +extension AttractedPokemonEncounterOutProto: @unchecked Sendable {} +extension AttractedPokemonEncounterOutProto.Result: @unchecked Sendable {} +extension AttractedPokemonEncounterProto: @unchecked Sendable {} +extension AuthBackgroundToken: @unchecked Sendable {} +extension AuthRegisterBackgroundDeviceActionProto: @unchecked Sendable {} +extension AuthRegisterBackgroundDeviceResponseProto: @unchecked Sendable {} +extension AuthRegisterBackgroundDeviceResponseProto.Status: @unchecked Sendable {} +extension AuthenticateAppleSignInRequestProto: @unchecked Sendable {} +extension AuthenticateAppleSignInResponseProto: @unchecked Sendable {} +extension AuthenticateAppleSignInResponseProto.Status: @unchecked Sendable {} +extension AvatarArticleProto: @unchecked Sendable {} +extension AvatarCustomizationProto: @unchecked Sendable {} +extension AvatarCustomizationProto.AvatarCustomizationPromoType: @unchecked Sendable {} +extension AvatarCustomizationProto.AvatarCustomizationUnlockType: @unchecked Sendable {} +extension AvatarCustomizationProto.Slot: @unchecked Sendable {} +extension AvatarCustomizationTelemetry: @unchecked Sendable {} +extension AvatarGlobalSettingsProto: @unchecked Sendable {} +extension AvatarGroupSettingsProto: @unchecked Sendable {} +extension AvatarGroupSettingsProto.AvatarGroupProto: @unchecked Sendable {} +extension AvatarItemProto: @unchecked Sendable {} +extension AvatarLockProto: @unchecked Sendable {} +extension AvatarLockProto.OneOf_Lock: @unchecked Sendable {} +extension AvatarStoreItemProto: @unchecked Sendable {} +extension AvatarStoreListingProto: @unchecked Sendable {} +extension AwardFreeRaidTicketOutProto: @unchecked Sendable {} +extension AwardFreeRaidTicketOutProto.Result: @unchecked Sendable {} +extension AwardFreeRaidTicketProto: @unchecked Sendable {} +extension AwardItemProto: @unchecked Sendable {} +extension AwardedGymBadge: @unchecked Sendable {} +extension AwardedRouteBadge: @unchecked Sendable {} +extension AwardedRouteBadge.RouteBadgeType: @unchecked Sendable {} +extension AwardedRouteBadge.RouteBadgeWaypoint: @unchecked Sendable {} +extension AwardedRouteStamp: @unchecked Sendable {} +extension BackgroundModeClientSettingsProto: @unchecked Sendable {} +extension BackgroundModeClientSettingsProto.ProximitySettingsProto: @unchecked Sendable {} +extension BackgroundModeGlobalSettingsProto: @unchecked Sendable {} +extension BackgroundModeSettingsProto: @unchecked Sendable {} +extension BackgroundToken: @unchecked Sendable {} +extension BadgeData: @unchecked Sendable {} +extension BadgeData.OneOf_Data: @unchecked Sendable {} +extension BadgeLevelAvatarLockProto: @unchecked Sendable {} +extension BadgeRewardEncounterRequestProto: @unchecked Sendable {} +extension BadgeRewardEncounterResponseProto: @unchecked Sendable {} +extension BadgeRewardEncounterResponseProto.Status: @unchecked Sendable {} +extension BadgeRewardEncounterResponseProto.EncounterInfoProto: @unchecked Sendable {} +extension BadgeSettingsProto: @unchecked Sendable {} +extension BadgeSystemSettingsProto: @unchecked Sendable {} +extension BadgeTierRewardProto: @unchecked Sendable {} +extension BadgeTierRewardProto.BadgeRewardType: @unchecked Sendable {} +extension BattleActionProto: @unchecked Sendable {} +extension BattleActionProto.ActionType: @unchecked Sendable {} +extension BattleActionProtoLog: @unchecked Sendable {} +extension BattleAttributesProto: @unchecked Sendable {} +extension BattleHubBadgeSettings: @unchecked Sendable {} +extension BattleHubOrderSettings: @unchecked Sendable {} +extension BattleHubOrderSettings.SectionGroup: @unchecked Sendable {} +extension BattleHubOrderSettings.SectionSettings: @unchecked Sendable {} +extension BattleLogProto: @unchecked Sendable {} +extension BattleLogProto.BattleType: @unchecked Sendable {} +extension BattleLogProto.State: @unchecked Sendable {} +extension BattleParticipantProto: @unchecked Sendable {} +extension BattlePartiesProto: @unchecked Sendable {} +extension BattlePartyProto: @unchecked Sendable {} +extension BattlePartySettingsProto: @unchecked Sendable {} +extension BattlePartyTelemetry: @unchecked Sendable {} +extension BattleProto: @unchecked Sendable {} +extension BattleQuestProto: @unchecked Sendable {} +extension BattleResultsProto: @unchecked Sendable {} +extension BattleUpdateProto: @unchecked Sendable {} +extension BattleUpdateProto.ActiveItem: @unchecked Sendable {} +extension BattleUpdateProto.AvailableItem: @unchecked Sendable {} +extension BattleVisualSettingsProto: @unchecked Sendable {} +extension BelugaBleCompleteTransferRequestProto: @unchecked Sendable {} +extension BelugaBleFinalizeTransfer: @unchecked Sendable {} +extension BelugaBleTransferCompleteProto: @unchecked Sendable {} +extension BelugaBleTransferPrepProto: @unchecked Sendable {} +extension BelugaBleTransferProto: @unchecked Sendable {} +extension BelugaDailyTransferLogEntry: @unchecked Sendable {} +extension BelugaDailyTransferLogEntry.Result: @unchecked Sendable {} +extension BelugaGlobalSettingsProto: @unchecked Sendable {} +extension BelugaIncenseBoxProto: @unchecked Sendable {} +extension BelugaPokemonProto: @unchecked Sendable {} +extension BelugaPokemonProto.PokemonCostume: @unchecked Sendable {} +extension BelugaPokemonProto.PokemonForm: @unchecked Sendable {} +extension BelugaPokemonProto.PokemonGender: @unchecked Sendable {} +extension BelugaPokemonProto.Team: @unchecked Sendable {} +extension BelugaPokemonProto.TrainerGender: @unchecked Sendable {} +extension BelugaPokemonWhitelist: @unchecked Sendable {} +extension BelugaTransactionCompleteOutProto: @unchecked Sendable {} +extension BelugaTransactionCompleteOutProto.Status: @unchecked Sendable {} +extension BelugaTransactionCompleteProto: @unchecked Sendable {} +extension BelugaTransactionStartOutProto: @unchecked Sendable {} +extension BelugaTransactionStartOutProto.Status: @unchecked Sendable {} +extension BelugaTransactionStartProto: @unchecked Sendable {} +extension BerryFarmingSettingsProto: @unchecked Sendable {} +extension BonusBoxProto: @unchecked Sendable {} +extension BonusBoxProto.AdditionalDisplay: @unchecked Sendable {} +extension BonusBoxProto.IconType: @unchecked Sendable {} +extension BonusEffectSettingsProto: @unchecked Sendable {} +extension BonusEffectSettingsProto.OneOf_Bonus: @unchecked Sendable {} +extension BootRaidOutProto: @unchecked Sendable {} +extension BootRaidOutProto.Result: @unchecked Sendable {} +extension BootRaidProto: @unchecked Sendable {} +extension BootSettingsProto: @unchecked Sendable {} +extension BootTelemetry: @unchecked Sendable {} +extension BootTime: @unchecked Sendable {} +extension BootTime.AuthProvider: @unchecked Sendable {} +extension BootTime.BootPhase: @unchecked Sendable {} +extension BoundingRect: @unchecked Sendable {} +extension BreadcrumbRecordProto: @unchecked Sendable {} +extension BuddyActivityCategorySettings: @unchecked Sendable {} +extension BuddyActivitySettings: @unchecked Sendable {} +extension BuddyConsumablesLogEntry: @unchecked Sendable {} +extension BuddyDataProto: @unchecked Sendable {} +extension BuddyDataProto.BuddySpinMetadata: @unchecked Sendable {} +extension BuddyDataProto.BuddyStoredStats: @unchecked Sendable {} +extension BuddyEmotionLevelSettings: @unchecked Sendable {} +extension BuddyEncounterCameoSettings: @unchecked Sendable {} +extension BuddyEncounterHelpTelemetry: @unchecked Sendable {} +extension BuddyEvolutionWalkQuestProto: @unchecked Sendable {} +extension BuddyFeedingOutProto: @unchecked Sendable {} +extension BuddyFeedingOutProto.Result: @unchecked Sendable {} +extension BuddyFeedingProto: @unchecked Sendable {} +extension BuddyGiftProto: @unchecked Sendable {} +extension BuddyGlobalSettingsProto: @unchecked Sendable {} +extension BuddyHistoryData: @unchecked Sendable {} +extension BuddyHungerSettings: @unchecked Sendable {} +extension BuddyInteractionSettings: @unchecked Sendable {} +extension BuddyLevelSettings: @unchecked Sendable {} +extension BuddyLevelSettings.BuddyTrait: @unchecked Sendable {} +extension BuddyMapEmotionCheckTelemetry: @unchecked Sendable {} +extension BuddyMapOutProto: @unchecked Sendable {} +extension BuddyMapOutProto.Result: @unchecked Sendable {} +extension BuddyMapProto: @unchecked Sendable {} +extension BuddyMultiplayerConnectionFailedProto: @unchecked Sendable {} +extension BuddyMultiplayerConnectionSucceededProto: @unchecked Sendable {} +extension BuddyMultiplayerTimeToGetSessionProto: @unchecked Sendable {} +extension BuddyNotificationClickTelemetry: @unchecked Sendable {} +extension BuddyObservedData: @unchecked Sendable {} +extension BuddyObservedData.BuddyValidationResult: @unchecked Sendable {} +extension BuddyObservedData.BuddyFeedStats: @unchecked Sendable {} +extension BuddyPettingOutProto: @unchecked Sendable {} +extension BuddyPettingOutProto.Result: @unchecked Sendable {} +extension BuddyPettingProto: @unchecked Sendable {} +extension BuddyPokemonLogEntry: @unchecked Sendable {} +extension BuddyPokemonLogEntry.Result: @unchecked Sendable {} +extension BuddyPokemonProto: @unchecked Sendable {} +extension BuddyStats: @unchecked Sendable {} +extension BuddyStatsOutProto: @unchecked Sendable {} +extension BuddyStatsOutProto.Result: @unchecked Sendable {} +extension BuddyStatsProto: @unchecked Sendable {} +extension BuddyStatsShownHearts: @unchecked Sendable {} +extension BuddyStatsShownHearts.BuddyShownHeartType: @unchecked Sendable {} +extension BuddyStatsShownHearts.BuddyShownHeartsList: @unchecked Sendable {} +extension BuddySwapSettings: @unchecked Sendable {} +extension BuddyWalkSettings: @unchecked Sendable {} +extension BuffSettingsProto: @unchecked Sendable {} +extension BuildingMetadata: @unchecked Sendable {} +extension BulkHealingSettingsProto: @unchecked Sendable {} +extension ButterflyCollectorBadgeData: @unchecked Sendable {} +extension ButterflyCollectorRegionMedal: @unchecked Sendable {} +extension ButterflyCollectorRegionMedal.State: @unchecked Sendable {} +extension ButterflyCollectorRewardEncounterProtoRequest: @unchecked Sendable {} +extension ButterflyCollectorRewardEncounterProtoResponse: @unchecked Sendable {} +extension ButterflyCollectorRewardEncounterProtoResponse.Result: @unchecked Sendable {} +extension ButterflyCollectorRewardsLogEntry: @unchecked Sendable {} +extension ButterflyCollectorRewardsLogEntry.Result: @unchecked Sendable {} +extension ButterflyCollectorSettings: @unchecked Sendable {} +extension CameraSettingsProto: @unchecked Sendable {} +extension CampfireSettingsProto: @unchecked Sendable {} +extension CanClaimPtcRewardActionOutProto: @unchecked Sendable {} +extension CanClaimPtcRewardActionProto: @unchecked Sendable {} +extension CanReportRouteOutProto: @unchecked Sendable {} +extension CanReportRouteProto: @unchecked Sendable {} +extension CancelCombatChallengeData: @unchecked Sendable {} +extension CancelCombatChallengeOutProto: @unchecked Sendable {} +extension CancelCombatChallengeOutProto.Result: @unchecked Sendable {} +extension CancelCombatChallengeProto: @unchecked Sendable {} +extension CancelCombatChallengeResponseData: @unchecked Sendable {} +extension CancelMatchmakingData: @unchecked Sendable {} +extension CancelMatchmakingOutProto: @unchecked Sendable {} +extension CancelMatchmakingOutProto.Result: @unchecked Sendable {} +extension CancelMatchmakingProto: @unchecked Sendable {} +extension CancelMatchmakingResponseData: @unchecked Sendable {} +extension CancelRouteOutProto: @unchecked Sendable {} +extension CancelRouteProto: @unchecked Sendable {} +extension CancelTradingOutProto: @unchecked Sendable {} +extension CancelTradingOutProto.Result: @unchecked Sendable {} +extension CancelTradingProto: @unchecked Sendable {} +extension CapProto: @unchecked Sendable {} +extension CaptureProbabilityProto: @unchecked Sendable {} +extension CaptureScoreProto: @unchecked Sendable {} +extension CaptureScoreProto.TempEvoScoreInfo: @unchecked Sendable {} +extension CatchCardTelemetry: @unchecked Sendable {} +extension CatchCardTelemetry.PhotoType: @unchecked Sendable {} +extension CatchPokemonGlobalSettingsProto: @unchecked Sendable {} +extension CatchPokemonLogEntry: @unchecked Sendable {} +extension CatchPokemonLogEntry.Result: @unchecked Sendable {} +extension CatchPokemonOutProto: @unchecked Sendable {} +extension CatchPokemonOutProto.CaptureReason: @unchecked Sendable {} +extension CatchPokemonOutProto.Status: @unchecked Sendable {} +extension CatchPokemonProto: @unchecked Sendable {} +extension CatchPokemonQuestProto: @unchecked Sendable {} +extension CatchPokemonTelemetry: @unchecked Sendable {} +extension CatchRadiusMultiplierSettingsProto: @unchecked Sendable {} +extension ChallengeIdMismatchData: @unchecked Sendable {} +extension ChallengeQuestSectionProto: @unchecked Sendable {} +extension ChangeArTelemetry: @unchecked Sendable {} +extension ChangeOnlineStatusTelemetry: @unchecked Sendable {} +extension ChangePokemonFormOutProto: @unchecked Sendable {} +extension ChangePokemonFormOutProto.Result: @unchecked Sendable {} +extension ChangePokemonFormProto: @unchecked Sendable {} +extension ChangeTeamOutProto: @unchecked Sendable {} +extension ChangeTeamOutProto.Status: @unchecked Sendable {} +extension ChangeTeamProto: @unchecked Sendable {} +extension CharacterDisplayProto: @unchecked Sendable {} +extension CheckAwardedBadgesOutProto: @unchecked Sendable {} +extension CheckAwardedBadgesProto: @unchecked Sendable {} +extension CheckChallengeOutProto: @unchecked Sendable {} +extension CheckChallengeProto: @unchecked Sendable {} +extension CheckContestEligibilityOutProto: @unchecked Sendable {} +extension CheckContestEligibilityOutProto.Status: @unchecked Sendable {} +extension CheckContestEligibilityProto: @unchecked Sendable {} +extension CheckEncounterTrayInfoTelemetry: @unchecked Sendable {} +extension CheckGiftingEligibilityOutProto: @unchecked Sendable {} +extension CheckGiftingEligibilityProto: @unchecked Sendable {} +extension CheckPhotobombOutProto: @unchecked Sendable {} +extension CheckPhotobombOutProto.Status: @unchecked Sendable {} +extension CheckPhotobombProto: @unchecked Sendable {} +extension CheckPokemonSizeLeaderboardEligibilityOutProto: @unchecked Sendable {} +extension CheckPokemonSizeLeaderboardEligibilityOutProto.Status: @unchecked Sendable {} +extension CheckPokemonSizeLeaderboardEligibilityProto: @unchecked Sendable {} +extension CheckSendGiftOutProto: @unchecked Sendable {} +extension CheckSendGiftOutProto.Result: @unchecked Sendable {} +extension CheckSendGiftProto: @unchecked Sendable {} +extension ChooseGlobalTicketedEventVariantOutProto: @unchecked Sendable {} +extension ChooseGlobalTicketedEventVariantOutProto.Status: @unchecked Sendable {} +extension ChooseGlobalTicketedEventVariantProto: @unchecked Sendable {} +extension ClaimCodenameRequestProto: @unchecked Sendable {} +extension ClaimContestsRewardsOutProto: @unchecked Sendable {} +extension ClaimContestsRewardsOutProto.Status: @unchecked Sendable {} +extension ClaimContestsRewardsProto: @unchecked Sendable {} +extension ClaimPtcLinkingRewardOutProto: @unchecked Sendable {} +extension ClaimPtcLinkingRewardOutProto.Status: @unchecked Sendable {} +extension ClaimPtcLinkingRewardProto: @unchecked Sendable {} +extension ClaimVsSeekerRewardsOutProto: @unchecked Sendable {} +extension ClaimVsSeekerRewardsOutProto.Result: @unchecked Sendable {} +extension ClaimVsSeekerRewardsProto: @unchecked Sendable {} +extension ClientBreadcrumbSessionSettings: @unchecked Sendable {} +extension ClientContestIncidentProto: @unchecked Sendable {} +extension ClientDialogueLineProto: @unchecked Sendable {} +extension ClientDialogueLineProto.Side: @unchecked Sendable {} +extension ClientEnvironmentProto: @unchecked Sendable {} +extension ClientEvolutionQuestTemplateProto: @unchecked Sendable {} +extension ClientFortModifierProto: @unchecked Sendable {} +extension ClientGameMasterTemplateProto: @unchecked Sendable {} +extension ClientGenderProto: @unchecked Sendable {} +extension ClientGenderSettingsProto: @unchecked Sendable {} +extension ClientInbox: @unchecked Sendable {} +extension ClientInbox.Label: @unchecked Sendable {} +extension ClientInbox.Notification: @unchecked Sendable {} +extension ClientIncidentProto: @unchecked Sendable {} +extension ClientIncidentStepProto: @unchecked Sendable {} +extension ClientIncidentStepProto.OneOf_ClientIncidentStep: @unchecked Sendable {} +extension ClientInvasionBattleStepProto: @unchecked Sendable {} +extension ClientInvasionEncounterStepProto: @unchecked Sendable {} +extension ClientMapCellProto: @unchecked Sendable {} +extension ClientMapObjectsInteractionRangeSettingsProto: @unchecked Sendable {} +extension ClientPerformanceSettingsProto: @unchecked Sendable {} +extension ClientPlayerProto: @unchecked Sendable {} +extension ClientPoiDecorationGroupProto: @unchecked Sendable {} +extension ClientPokestopNpcDialogueStepProto: @unchecked Sendable {} +extension ClientPokestopSpinStepProto: @unchecked Sendable {} +extension ClientPredictionInconsistencyData: @unchecked Sendable {} +extension ClientQuestProto: @unchecked Sendable {} +extension ClientRouteMapCellProto: @unchecked Sendable {} +extension ClientSettingsTelemetry: @unchecked Sendable {} +extension ClientSleepRecord: @unchecked Sendable {} +extension ClientSpawnPointProto: @unchecked Sendable {} +extension ClientTelemetryBatchProto: @unchecked Sendable {} +extension ClientTelemetryBatchProto.TelemetryScopeId: @unchecked Sendable {} +extension ClientTelemetryClientSettingsProto: @unchecked Sendable {} +extension ClientTelemetryCommonFilterProto: @unchecked Sendable {} +extension ClientTelemetryRecordProto: @unchecked Sendable {} +extension ClientTelemetryRecordResult: @unchecked Sendable {} +extension ClientTelemetryRecordResult.Status: @unchecked Sendable {} +extension ClientTelemetryResponseProto: @unchecked Sendable {} +extension ClientTelemetryResponseProto.Status: @unchecked Sendable {} +extension ClientTelemetrySettingsRequestProto: @unchecked Sendable {} +extension ClientToggleSettingsTelemetry: @unchecked Sendable {} +extension ClientToggleSettingsTelemetry.ToggleEvent: @unchecked Sendable {} +extension ClientToggleSettingsTelemetry.ToggleSettingId: @unchecked Sendable {} +extension ClientUpgradeRequestProto: @unchecked Sendable {} +extension ClientUpgradeResponseProto: @unchecked Sendable {} +extension ClientVersionProto: @unchecked Sendable {} +extension ClientWeatherProto: @unchecked Sendable {} +extension CodenameResultProto: @unchecked Sendable {} +extension CodenameResultProto.Status: @unchecked Sendable {} +extension CollectDailyBonusOutProto: @unchecked Sendable {} +extension CollectDailyBonusOutProto.Result: @unchecked Sendable {} +extension CollectDailyBonusProto: @unchecked Sendable {} +extension CollectDailyDefenderBonusOutProto: @unchecked Sendable {} +extension CollectDailyDefenderBonusOutProto.Result: @unchecked Sendable {} +extension CollectDailyDefenderBonusProto: @unchecked Sendable {} +extension CombatActionLogProto: @unchecked Sendable {} +extension CombatActionProto: @unchecked Sendable {} +extension CombatActionProto.ActionType: @unchecked Sendable {} +extension CombatBaseStatsProto: @unchecked Sendable {} +extension CombatChallengeGlobalSettingsProto: @unchecked Sendable {} +extension CombatChallengeLogProto: @unchecked Sendable {} +extension CombatChallengeProto: @unchecked Sendable {} +extension CombatChallengeProto.CombatChallengeState: @unchecked Sendable {} +extension CombatChallengeProto.ChallengePlayer: @unchecked Sendable {} +extension CombatClientLog: @unchecked Sendable {} +extension CombatClockSynchronization: @unchecked Sendable {} +extension CombatCompetitiveSeasonSettingsProto: @unchecked Sendable {} +extension CombatDefensiveInputChallengeSettings: @unchecked Sendable {} +extension CombatEndData: @unchecked Sendable {} +extension CombatEndData.TypeEnum: @unchecked Sendable {} +extension CombatFeatureFlags: @unchecked Sendable {} +extension CombatForLogProto: @unchecked Sendable {} +extension CombatForLogProto.CombatPlayerLogProto: @unchecked Sendable {} +extension CombatForLogProto.CombatPokemonDynamicProto: @unchecked Sendable {} +extension CombatFriendRequestOutProto: @unchecked Sendable {} +extension CombatFriendRequestOutProto.Result: @unchecked Sendable {} +extension CombatFriendRequestProto: @unchecked Sendable {} +extension CombatGlobalSettingsProto: @unchecked Sendable {} +extension CombatGlobalSettingsProto.CombatRefactorFlags: @unchecked Sendable {} +extension CombatHubEntranceTelemetry: @unchecked Sendable {} +extension CombatIdMismatchData: @unchecked Sendable {} +extension CombatLeagueProto: @unchecked Sendable {} +extension CombatLeagueProto.ConditionType: @unchecked Sendable {} +extension CombatLeagueProto.LeagueType: @unchecked Sendable {} +extension CombatLeagueProto.PokemonBanlist: @unchecked Sendable {} +extension CombatLeagueProto.PokemonCaughtTimestamp: @unchecked Sendable {} +extension CombatLeagueProto.PokemonConditionProto: @unchecked Sendable {} +extension CombatLeagueProto.PokemonConditionProto.OneOf_Condition: @unchecked Sendable {} +extension CombatLeagueProto.PokemonGroupConditionProto: @unchecked Sendable {} +extension CombatLeagueProto.PokemonGroupConditionProto.PokedexNumberRange: @unchecked Sendable {} +extension CombatLeagueProto.PokemonLevelRange: @unchecked Sendable {} +extension CombatLeagueProto.PokemonWhitelist: @unchecked Sendable {} +extension CombatLeagueProto.PokemonWithForm: @unchecked Sendable {} +extension CombatLeagueProto.UnlockConditionProto: @unchecked Sendable {} +extension CombatLeagueProto.UnlockConditionProto.OneOf_Condition: @unchecked Sendable {} +extension CombatLeagueSettingsProto: @unchecked Sendable {} +extension CombatLogData: @unchecked Sendable {} +extension CombatLogData.OneOf_Data: @unchecked Sendable {} +extension CombatLogData.CombatLogDataHeader: @unchecked Sendable {} +extension CombatLogData.CombatLogDataHeader.LogType: @unchecked Sendable {} +extension CombatLogEntry: @unchecked Sendable {} +extension CombatLogEntry.Result: @unchecked Sendable {} +extension CombatLogHeader: @unchecked Sendable {} +extension CombatLogProto: @unchecked Sendable {} +extension CombatMinigameTelemetry: @unchecked Sendable {} +extension CombatMinigameTelemetry.MinigameCombatType: @unchecked Sendable {} +extension CombatMoveSettingsProto: @unchecked Sendable {} +extension CombatMoveSettingsProto.CombatMoveBuffsProto: @unchecked Sendable {} +extension CombatNpcPersonalityProto: @unchecked Sendable {} +extension CombatNpcTrainerProto: @unchecked Sendable {} +extension CombatOffensiveInputChallengeSettings: @unchecked Sendable {} +extension CombatPlayerPreferencesProto: @unchecked Sendable {} +extension CombatPlayerProfileProto: @unchecked Sendable {} +extension CombatPlayerProfileProto.Location: @unchecked Sendable {} +extension CombatPokemonLogProto: @unchecked Sendable {} +extension CombatProgressTokenData: @unchecked Sendable {} +extension CombatProgressTokenData.OneOf_Token: @unchecked Sendable {} +extension CombatProgressTokenData.CombatActiveStateFunction: @unchecked Sendable {} +extension CombatProgressTokenData.CombatDirectorV2Function: @unchecked Sendable {} +extension CombatProgressTokenData.CombatEndStateFunction: @unchecked Sendable {} +extension CombatProgressTokenData.CombatPokemonFunction: @unchecked Sendable {} +extension CombatProgressTokenData.CombatPresentationDirectorFunction: @unchecked Sendable {} +extension CombatProgressTokenData.CombatReadyStateFunction: @unchecked Sendable {} +extension CombatProgressTokenData.CombatSpecialMoveStateFunction: @unchecked Sendable {} +extension CombatProgressTokenData.CombatStateV2Function: @unchecked Sendable {} +extension CombatProgressTokenData.CombatSwapStateFunction: @unchecked Sendable {} +extension CombatProgressTokenData.CombatWaitForPlayerStateFunction: @unchecked Sendable {} +extension CombatProto: @unchecked Sendable {} +extension CombatProto.CombatState: @unchecked Sendable {} +extension CombatProto.CombatPlayerProto: @unchecked Sendable {} +extension CombatProto.CombatPokemonProto: @unchecked Sendable {} +extension CombatProto.MinigameProto: @unchecked Sendable {} +extension CombatPubSubData: @unchecked Sendable {} +extension CombatPubSubData.MessageType: @unchecked Sendable {} +extension CombatQuestUpdateProto: @unchecked Sendable {} +extension CombatQuestUpdateProto.CombatQuestPokemonProto: @unchecked Sendable {} +extension CombatRankingSettingsProto: @unchecked Sendable {} +extension CombatRankingSettingsProto.RankLevelProto: @unchecked Sendable {} +extension CombatSeasonResult: @unchecked Sendable {} +extension CombatSettingsProto: @unchecked Sendable {} +extension CombatSpecialMovePlayerData: @unchecked Sendable {} +extension CombatSpecialMovePlayerLogProto: @unchecked Sendable {} +extension CombatStatStageSettingsProto: @unchecked Sendable {} +extension CombatSyncServerData: @unchecked Sendable {} +extension CombatSyncServerOffsetOutProto: @unchecked Sendable {} +extension CombatSyncServerOffsetOutProto.Result: @unchecked Sendable {} +extension CombatSyncServerOffsetProto: @unchecked Sendable {} +extension CombatSyncServerResponseData: @unchecked Sendable {} +extension CombatTypeProto: @unchecked Sendable {} +extension CommonMarketingTelemetryMetadata: @unchecked Sendable {} +extension CommonTelemetryBootTime: @unchecked Sendable {} +extension CommonTelemetryLogIn: @unchecked Sendable {} +extension CommonTelemetryLogOut: @unchecked Sendable {} +extension CommonTelemetryShopClick: @unchecked Sendable {} +extension CommonTelemetryShopClick.AccessType: @unchecked Sendable {} +extension CommonTelemetryShopView: @unchecked Sendable {} +extension CommonTempEvoSettingsProto: @unchecked Sendable {} +extension CompleteCompetitiveSeasonOutProto: @unchecked Sendable {} +extension CompleteCompetitiveSeasonOutProto.Result: @unchecked Sendable {} +extension CompleteCompetitiveSeasonProto: @unchecked Sendable {} +extension CompleteInvasionDialogueOutProto: @unchecked Sendable {} +extension CompleteInvasionDialogueProto: @unchecked Sendable {} +extension CompleteMilestoneOutProto: @unchecked Sendable {} +extension CompleteMilestoneOutProto.Status: @unchecked Sendable {} +extension CompleteMilestoneProto: @unchecked Sendable {} +extension CompletePartyQuestOutProto: @unchecked Sendable {} +extension CompletePartyQuestOutProto.Result: @unchecked Sendable {} +extension CompletePartyQuestProto: @unchecked Sendable {} +extension CompleteQuestLogEntry: @unchecked Sendable {} +extension CompleteQuestLogEntry.Result: @unchecked Sendable {} +extension CompleteQuestOutProto: @unchecked Sendable {} +extension CompleteQuestOutProto.Status: @unchecked Sendable {} +extension CompleteQuestPokemonEncounterLogEntry: @unchecked Sendable {} +extension CompleteQuestPokemonEncounterLogEntry.Result: @unchecked Sendable {} +extension CompleteQuestProto: @unchecked Sendable {} +extension CompleteQuestStampCardLogEntry: @unchecked Sendable {} +extension CompleteQuestStampCardLogEntry.Result: @unchecked Sendable {} +extension CompleteQuestStampCardOutProto: @unchecked Sendable {} +extension CompleteQuestStampCardOutProto.Status: @unchecked Sendable {} +extension CompleteQuestStampCardProto: @unchecked Sendable {} +extension CompleteReferralMilestoneLogEntry: @unchecked Sendable {} +extension CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto: @unchecked Sendable {} +extension CompleteReferralMilestoneLogEntry.TemplateVariableProto: @unchecked Sendable {} +extension CompleteRoutePlayLogEntry: @unchecked Sendable {} +extension CompleteSnapshotSessionOutProto: @unchecked Sendable {} +extension CompleteSnapshotSessionOutProto.Status: @unchecked Sendable {} +extension CompleteSnapshotSessionProto: @unchecked Sendable {} +extension CompleteVsSeekerAndRestartChargingOutProto: @unchecked Sendable {} +extension CompleteVsSeekerAndRestartChargingOutProto.Result: @unchecked Sendable {} +extension CompleteVsSeekerAndRestartChargingProto: @unchecked Sendable {} +extension CompleteWildSnapshotSessionOutProto: @unchecked Sendable {} +extension CompleteWildSnapshotSessionOutProto.Status: @unchecked Sendable {} +extension CompleteWildSnapshotSessionProto: @unchecked Sendable {} +extension ConfirmPhotobombOutProto: @unchecked Sendable {} +extension ConfirmPhotobombOutProto.Status: @unchecked Sendable {} +extension ConfirmPhotobombProto: @unchecked Sendable {} +extension ConfirmTradingOutProto: @unchecked Sendable {} +extension ConfirmTradingOutProto.Result: @unchecked Sendable {} +extension ConfirmTradingProto: @unchecked Sendable {} +extension ConsumePartyItemsOutProto: @unchecked Sendable {} +extension ConsumePartyItemsOutProto.Result: @unchecked Sendable {} +extension ConsumePartyItemsProto: @unchecked Sendable {} +extension ContactSettingsProto: @unchecked Sendable {} +extension ContestBadgeData: @unchecked Sendable {} +extension ContestBuddyFocusProto: @unchecked Sendable {} +extension ContestCycleProto: @unchecked Sendable {} +extension ContestDisplayProto: @unchecked Sendable {} +extension ContestEntryProto: @unchecked Sendable {} +extension ContestFocusProto: @unchecked Sendable {} +extension ContestFocusProto.OneOf_ContestFocus: @unchecked Sendable {} +extension ContestFriendEntryProto: @unchecked Sendable {} +extension ContestGenerationFocusProto: @unchecked Sendable {} +extension ContestHatchedFocusProto: @unchecked Sendable {} +extension ContestInfoProto: @unchecked Sendable {} +extension ContestInfoSummaryProto: @unchecked Sendable {} +extension ContestLengthThresholdsProto: @unchecked Sendable {} +extension ContestLimitProto: @unchecked Sendable {} +extension ContestMetricProto: @unchecked Sendable {} +extension ContestMetricProto.OneOf_Metric: @unchecked Sendable {} +extension ContestPokemonAlignmentFocusProto: @unchecked Sendable {} +extension ContestPokemonAlignmentFocusProto.alignment: @unchecked Sendable {} +extension ContestPokemonClassFocusProto: @unchecked Sendable {} +extension ContestPokemonFamilyFocusProto: @unchecked Sendable {} +extension ContestPokemonFocusProto: @unchecked Sendable {} +extension ContestPokemonSectionProto: @unchecked Sendable {} +extension ContestPokemonTypeFocusProto: @unchecked Sendable {} +extension ContestProto: @unchecked Sendable {} +extension ContestScheduleProto: @unchecked Sendable {} +extension ContestScoreCoefficientProto: @unchecked Sendable {} +extension ContestScoreCoefficientProto.OneOf_ContestType: @unchecked Sendable {} +extension ContestScoreCoefficientProto.PokemonSize: @unchecked Sendable {} +extension ContestScoreComponentProto: @unchecked Sendable {} +extension ContestScoreFormulaProto: @unchecked Sendable {} +extension ContestSettingsProto: @unchecked Sendable {} +extension ContestShinyFocusProto: @unchecked Sendable {} +extension ContestTemporaryEvolutionFocusProto: @unchecked Sendable {} +extension ContestTemporaryEvolutionFocusProto.Restriction: @unchecked Sendable {} +extension ContestWarmupAndCooldownDurationSettingsProto: @unchecked Sendable {} +extension ContestWinDataProto: @unchecked Sendable {} +extension ContributePartyItemOutProto: @unchecked Sendable {} +extension ContributePartyItemOutProto.Result: @unchecked Sendable {} +extension ContributePartyItemProto: @unchecked Sendable {} +extension ConversationSettingsProto: @unchecked Sendable {} +extension ConvertCandyToXlCandyOutProto: @unchecked Sendable {} +extension ConvertCandyToXlCandyOutProto.Status: @unchecked Sendable {} +extension ConvertCandyToXlCandyProto: @unchecked Sendable {} +extension CostSettingsProto: @unchecked Sendable {} +extension CoveringProto: @unchecked Sendable {} +extension CrashlyticsSettingsProto: @unchecked Sendable {} +extension CreateBuddyMultiplayerSessionOutProto: @unchecked Sendable {} +extension CreateBuddyMultiplayerSessionOutProto.Result: @unchecked Sendable {} +extension CreateBuddyMultiplayerSessionProto: @unchecked Sendable {} +extension CreateCombatChallengeData: @unchecked Sendable {} +extension CreateCombatChallengeOutProto: @unchecked Sendable {} +extension CreateCombatChallengeOutProto.Result: @unchecked Sendable {} +extension CreateCombatChallengeProto: @unchecked Sendable {} +extension CreateCombatChallengeResponseData: @unchecked Sendable {} +extension CreateGuestLoginSecretTokenRequestProto: @unchecked Sendable {} +extension CreateGuestLoginSecretTokenResponseProto: @unchecked Sendable {} +extension CreateGuestLoginSecretTokenResponseProto.Status: @unchecked Sendable {} +extension CreatePartyOutProto: @unchecked Sendable {} +extension CreatePartyOutProto.Result: @unchecked Sendable {} +extension CreatePartyProto: @unchecked Sendable {} +extension CreatePokemonTagOutProto: @unchecked Sendable {} +extension CreatePokemonTagOutProto.Result: @unchecked Sendable {} +extension CreatePokemonTagProto: @unchecked Sendable {} +extension CreatePostcardOutProto: @unchecked Sendable {} +extension CreatePostcardOutProto.Result: @unchecked Sendable {} +extension CreatePostcardProto: @unchecked Sendable {} +extension CreateRouteDraftOutProto: @unchecked Sendable {} +extension CreateRouteDraftOutProto.Result: @unchecked Sendable {} +extension CreateRouteDraftProto: @unchecked Sendable {} +extension CreatorInfo: @unchecked Sendable {} +extension CriticalReticleSettingsProto: @unchecked Sendable {} +extension CrmProxyRequestProto: @unchecked Sendable {} +extension CrmProxyResponseProto: @unchecked Sendable {} +extension CrmProxyResponseProto.Status: @unchecked Sendable {} +extension CrossGameSocialGlobalSettingsProto: @unchecked Sendable {} +extension CrossGameSocialSettingsProto: @unchecked Sendable {} +extension CurrencyQuantityProto: @unchecked Sendable {} +extension CurrentEventsSectionProto: @unchecked Sendable {} +extension CurrentNewsProto: @unchecked Sendable {} +extension CustomizeQuestTabProto: @unchecked Sendable {} +extension DailyAdventureIncenseLogEntry: @unchecked Sendable {} +extension DailyAdventureIncenseRecapDayDisplayProto: @unchecked Sendable {} +extension DailyAdventureIncenseSettingsProto: @unchecked Sendable {} +extension DailyAdventureIncenseTelemetry: @unchecked Sendable {} +extension DailyAdventureIncenseTelemetry.TelemetryIds: @unchecked Sendable {} +extension DailyBonusProto: @unchecked Sendable {} +extension DailyBuddyAffectionQuestProto: @unchecked Sendable {} +extension DailyCounterProto: @unchecked Sendable {} +extension DailyEncounterGlobalSettingsProto: @unchecked Sendable {} +extension DailyEncounterOutProto: @unchecked Sendable {} +extension DailyEncounterOutProto.Result: @unchecked Sendable {} +extension DailyEncounterProto: @unchecked Sendable {} +extension DailyQuestProto: @unchecked Sendable {} +extension DailyQuestSettings: @unchecked Sendable {} +extension DailyStreaksProto: @unchecked Sendable {} +extension DailyStreaksProto.StreakProto: @unchecked Sendable {} +extension DamagePropertyProto: @unchecked Sendable {} +extension DawnDuskSettingsProto: @unchecked Sendable {} +extension DaysWithARowQuestProto: @unchecked Sendable {} +extension DebugEvolvePreviewProto: @unchecked Sendable {} +extension DebugInfoProto: @unchecked Sendable {} +extension DeclineCombatChallengeData: @unchecked Sendable {} +extension DeclineCombatChallengeOutProto: @unchecked Sendable {} +extension DeclineCombatChallengeOutProto.Result: @unchecked Sendable {} +extension DeclineCombatChallengeProto: @unchecked Sendable {} +extension DeclineCombatChallengeResponseData: @unchecked Sendable {} +extension DeepLinkingEnumWrapperProto: @unchecked Sendable {} +extension DeepLinkingEnumWrapperProto.DeepLinkingActionName: @unchecked Sendable {} +extension DeepLinkingEnumWrapperProto.NearbyPokemonTab: @unchecked Sendable {} +extension DeepLinkingEnumWrapperProto.PlayerProfileTab: @unchecked Sendable {} +extension DeepLinkingEnumWrapperProto.PokemonInventoryTab: @unchecked Sendable {} +extension DeepLinkingEnumWrapperProto.QuestListTab: @unchecked Sendable {} +extension DeepLinkingSettingsProto: @unchecked Sendable {} +extension DeepLinkingTelemetry: @unchecked Sendable {} +extension DeepLinkingTelemetry.LinkSource: @unchecked Sendable {} +extension DeleteGiftFromInventoryOutProto: @unchecked Sendable {} +extension DeleteGiftFromInventoryOutProto.Result: @unchecked Sendable {} +extension DeleteGiftFromInventoryProto: @unchecked Sendable {} +extension DeleteGiftOutProto: @unchecked Sendable {} +extension DeleteGiftOutProto.Result: @unchecked Sendable {} +extension DeleteGiftProto: @unchecked Sendable {} +extension DeletePokemonTagOutProto: @unchecked Sendable {} +extension DeletePokemonTagOutProto.Result: @unchecked Sendable {} +extension DeletePokemonTagProto: @unchecked Sendable {} +extension DeletePostcardOutProto: @unchecked Sendable {} +extension DeletePostcardOutProto.Result: @unchecked Sendable {} +extension DeletePostcardProto: @unchecked Sendable {} +extension DeletePostcardsOutProto: @unchecked Sendable {} +extension DeletePostcardsOutProto.Result: @unchecked Sendable {} +extension DeletePostcardsProto: @unchecked Sendable {} +extension DeleteRouteDraftOutProto: @unchecked Sendable {} +extension DeleteRouteDraftOutProto.Result: @unchecked Sendable {} +extension DeleteRouteDraftProto: @unchecked Sendable {} +extension DeployPokemonTelemetry: @unchecked Sendable {} +extension DeploymentTotalsProto: @unchecked Sendable {} +extension DescriptorProto: @unchecked Sendable {} +extension DescriptorProto.ExtensionRange: @unchecked Sendable {} +extension DescriptorProto.ReservedRange: @unchecked Sendable {} +extension DeviceOSTelemetry: @unchecked Sendable {} +extension DeviceOSTelemetry.OSArchitecture: @unchecked Sendable {} +extension DeviceServiceToggleTelemetry: @unchecked Sendable {} +extension DeviceSpecificationsTelemetry: @unchecked Sendable {} +extension DiffInventoryProto: @unchecked Sendable {} +extension DiskEncounterOutProto: @unchecked Sendable {} +extension DiskEncounterOutProto.Result: @unchecked Sendable {} +extension DiskEncounterProto: @unchecked Sendable {} +extension DisplayWeatherProto: @unchecked Sendable {} +extension DisplayWeatherProto.DisplayLevel: @unchecked Sendable {} +extension Distribution: @unchecked Sendable {} +extension Distribution.BucketOptions: @unchecked Sendable {} +extension Distribution.BucketOptions.OneOf_BucketType: @unchecked Sendable {} +extension Distribution.BucketOptions.ExplicitBuckets: @unchecked Sendable {} +extension Distribution.BucketOptions.ExponentialBuckets: @unchecked Sendable {} +extension Distribution.BucketOptions.LinearBuckets: @unchecked Sendable {} +extension Distribution.Range: @unchecked Sendable {} +extension DojoSettingsProto: @unchecked Sendable {} +extension DownloadAllAssetsSettingsProto: @unchecked Sendable {} +extension DownloadAllAssetsTelemetry: @unchecked Sendable {} +extension DownloadAllAssetsTelemetry.DownloadAllAssetsEventId: @unchecked Sendable {} +extension DownloadGmTemplatesRequestProto: @unchecked Sendable {} +extension DownloadGmTemplatesResponseProto: @unchecked Sendable {} +extension DownloadGmTemplatesResponseProto.Result: @unchecked Sendable {} +extension DownloadSettingsActionProto: @unchecked Sendable {} +extension DownloadSettingsResponseProto: @unchecked Sendable {} +extension DownloadUrlEntryProto: @unchecked Sendable {} +extension DownloadUrlOutProto: @unchecked Sendable {} +extension DownloadUrlRequestProto: @unchecked Sendable {} +extension Downstream: @unchecked Sendable {} +extension Downstream.OneOf_Message: @unchecked Sendable {} +extension Downstream.Connected: @unchecked Sendable {} +extension Downstream.Drain: @unchecked Sendable {} +extension Downstream.ProbeRequest: @unchecked Sendable {} +extension Downstream.ResponseWithStatus: @unchecked Sendable {} +extension Downstream.ResponseWithStatus.OneOf_Response: @unchecked Sendable {} +extension Downstream.ResponseWithStatus.Status: @unchecked Sendable {} +extension Downstream.SubscriptionResponse: @unchecked Sendable {} +extension Downstream.SubscriptionResponse.Status: @unchecked Sendable {} +extension DownstreamAction: @unchecked Sendable {} +extension DownstreamActionMessages: @unchecked Sendable {} +extension DumbBeaconProto: @unchecked Sendable {} +extension Duration: @unchecked Sendable {} +extension EchoOutProto: @unchecked Sendable {} +extension EchoProto: @unchecked Sendable {} +extension EditPokemonTagOutProto: @unchecked Sendable {} +extension EditPokemonTagOutProto.Result: @unchecked Sendable {} +extension EditPokemonTagProto: @unchecked Sendable {} +extension EggCreateDetail: @unchecked Sendable {} +extension EggDistributionProto: @unchecked Sendable {} +extension EggDistributionProto.EggDistributionEntryProto: @unchecked Sendable {} +extension EggHatchImprovementsSettingsProto: @unchecked Sendable {} +extension EggHatchTelemetry: @unchecked Sendable {} +extension EggIncubatorAttributesProto: @unchecked Sendable {} +extension EggIncubatorProto: @unchecked Sendable {} +extension EggIncubatorsProto: @unchecked Sendable {} +extension EggTelemetryProto: @unchecked Sendable {} +extension EggTransparencySettingsProto: @unchecked Sendable {} +extension EligibleContestPoolSettingsProto: @unchecked Sendable {} +extension EligibleContestProto: @unchecked Sendable {} +extension EnabledPokemonSettingsProto: @unchecked Sendable {} +extension EnabledPokemonSettingsProto.Range: @unchecked Sendable {} +extension EncounterOutProto: @unchecked Sendable {} +extension EncounterOutProto.Background: @unchecked Sendable {} +extension EncounterOutProto.Status: @unchecked Sendable {} +extension EncounterPhotobombOutProto: @unchecked Sendable {} +extension EncounterPhotobombOutProto.Result: @unchecked Sendable {} +extension EncounterPhotobombProto: @unchecked Sendable {} +extension EncounterPokemonTelemetry: @unchecked Sendable {} +extension EncounterPokestopEncounterOutProto: @unchecked Sendable {} +extension EncounterPokestopEncounterOutProto.Result: @unchecked Sendable {} +extension EncounterPokestopEncounterProto: @unchecked Sendable {} +extension EncounterProto: @unchecked Sendable {} +extension EncounterSettingsProto: @unchecked Sendable {} +extension EncounterTutorialCompleteOutProto: @unchecked Sendable {} +extension EncounterTutorialCompleteOutProto.Result: @unchecked Sendable {} +extension EncounterTutorialCompleteProto: @unchecked Sendable {} +extension EnumDescriptorProto: @unchecked Sendable {} +extension EnumOptions: @unchecked Sendable {} +extension EnumValueDescriptorProto: @unchecked Sendable {} +extension EnumValueOptions: @unchecked Sendable {} +extension EnumWrapper: @unchecked Sendable {} +extension EnumWrapper.CharacterCategory: @unchecked Sendable {} +extension EnumWrapper.IncidentStartPhase: @unchecked Sendable {} +extension EnumWrapper.InvasionCharacter: @unchecked Sendable {} +extension EnumWrapper.InvasionCharacterExpression: @unchecked Sendable {} +extension EnumWrapper.InvasionContext: @unchecked Sendable {} +extension EnumWrapper.PokestopStyle: @unchecked Sendable {} +extension EventBadgeSettingsProto: @unchecked Sendable {} +extension EventBannerSectionProto: @unchecked Sendable {} +extension EventInfoProto: @unchecked Sendable {} +extension EventSectionProto: @unchecked Sendable {} +extension EventSettingsProto: @unchecked Sendable {} +extension EventTicketActiveTimeProto: @unchecked Sendable {} +extension EvolutionBranchProto: @unchecked Sendable {} +extension EvolutionChainDisplayProto: @unchecked Sendable {} +extension EvolutionChainDisplaySettingsProto: @unchecked Sendable {} +extension EvolutionDisplayInfoProto: @unchecked Sendable {} +extension EvolutionQuestInfoProto: @unchecked Sendable {} +extension EvolutionV2SettingsProto: @unchecked Sendable {} +extension EvolveIntoPokemonQuestProto: @unchecked Sendable {} +extension EvolvePokemonOutProto: @unchecked Sendable {} +extension EvolvePokemonOutProto.Result: @unchecked Sendable {} +extension EvolvePokemonProto: @unchecked Sendable {} +extension EvolvePokemonTelemetry: @unchecked Sendable {} +extension EvolvePreviewSettingsProto: @unchecked Sendable {} +extension ExceptionCaughtData: @unchecked Sendable {} +extension ExceptionCaughtData.ExceptionLocation: @unchecked Sendable {} +extension ExceptionCaughtInCombatData: @unchecked Sendable {} +extension ExceptionCaughtInCombatData.ExceptionLocation: @unchecked Sendable {} +extension ExperienceBoostAttributesProto: @unchecked Sendable {} +extension ExtendedPrimalSettingsProto: @unchecked Sendable {} +extension ExternalAddressableAssetsProto: @unchecked Sendable {} +extension FakeDataProto: @unchecked Sendable {} +extension FavoritePokemonTelemetry: @unchecked Sendable {} +extension FbTokenProto: @unchecked Sendable {} +extension Feature: @unchecked Sendable {} +extension Feature.OneOf_Metadata: @unchecked Sendable {} +extension FeatureUnlockLevelSettings: @unchecked Sendable {} +extension FeedPokemonTelemetry: @unchecked Sendable {} +extension FestivalSettingsProto: @unchecked Sendable {} +extension FestivalSettingsProto.FestivalType: @unchecked Sendable {} +extension FetchAllNewsOutProto: @unchecked Sendable {} +extension FetchAllNewsOutProto.Result: @unchecked Sendable {} +extension FetchAllNewsProto: @unchecked Sendable {} +extension FetchNewsfeedResponse: @unchecked Sendable {} +extension FetchNewsfeedResponse.Result: @unchecked Sendable {} +extension FieldDescriptorProto: @unchecked Sendable {} +extension FieldDescriptorProto.Label: @unchecked Sendable {} +extension FieldDescriptorProto.TypeEnum: @unchecked Sendable {} +extension FieldEffectTelemetry: @unchecked Sendable {} +extension FieldEffectTelemetry.FieldEffectSourceId: @unchecked Sendable {} +extension FieldMask: @unchecked Sendable {} +extension FieldOptions: @unchecked Sendable {} +extension FieldOptions.CType: @unchecked Sendable {} +extension FieldOptions.JSType: @unchecked Sendable {} +extension FileCacheSizeSettingsProto: @unchecked Sendable {} +extension FileDescriptorProto: @unchecked Sendable {} +extension FileDescriptorSet: @unchecked Sendable {} +extension FileOptions: @unchecked Sendable {} +extension FileOptions.OptimizeMode: @unchecked Sendable {} +extension FitnessMetricsProto: @unchecked Sendable {} +extension FitnessMetricsReportHistory: @unchecked Sendable {} +extension FitnessMetricsReportHistory.MetricsHistory: @unchecked Sendable {} +extension FitnessRecordProto: @unchecked Sendable {} +extension FitnessReportProto: @unchecked Sendable {} +extension FitnessReportProto.OneOf_Window: @unchecked Sendable {} +extension FitnessRewardsLogEntry: @unchecked Sendable {} +extension FitnessRewardsLogEntry.Result: @unchecked Sendable {} +extension FitnessSample: @unchecked Sendable {} +extension FitnessSample.FitnessSampleType: @unchecked Sendable {} +extension FitnessSample.FitnessSourceType: @unchecked Sendable {} +extension FitnessSampleMetadata: @unchecked Sendable {} +extension FitnessStatsProto: @unchecked Sendable {} +extension FitnessUpdateOutProto: @unchecked Sendable {} +extension FitnessUpdateOutProto.Status: @unchecked Sendable {} +extension FitnessUpdateProto: @unchecked Sendable {} +extension FollowerDataProto: @unchecked Sendable {} +extension FollowerPokemonProto: @unchecked Sendable {} +extension FollowerPokemonProto.OneOf_PokemonData: @unchecked Sendable {} +extension FollowerPokemonProto.FollowerId: @unchecked Sendable {} +extension FollowerPokemonTappedTelemetry: @unchecked Sendable {} +extension FollowerPokemonTappedTelemetry.OneOf_PokemonData: @unchecked Sendable {} +extension FoodAttributesProto: @unchecked Sendable {} +extension FoodValue: @unchecked Sendable {} +extension FormChangeProto: @unchecked Sendable {} +extension FormChangeSettingsProto: @unchecked Sendable {} +extension FormPokedexSizeProto: @unchecked Sendable {} +extension FormProto: @unchecked Sendable {} +extension FormRenderModifier: @unchecked Sendable {} +extension FormRenderModifier.EffectTarget: @unchecked Sendable {} +extension FormRenderModifier.RenderModifierType: @unchecked Sendable {} +extension FormRenderModifier.TransitionVfxKey: @unchecked Sendable {} +extension FormSettingsProto: @unchecked Sendable {} +extension FormsRefactorSettingsProto: @unchecked Sendable {} +extension FortDeployOutProto: @unchecked Sendable {} +extension FortDeployOutProto.Result: @unchecked Sendable {} +extension FortDeployProto: @unchecked Sendable {} +extension FortDetailsOutProto: @unchecked Sendable {} +extension FortDetailsProto: @unchecked Sendable {} +extension FortModifierAttributesProto: @unchecked Sendable {} +extension FortPokemonProto: @unchecked Sendable {} +extension FortPokemonProto.SpawnType: @unchecked Sendable {} +extension FortPowerUpActivitySettings: @unchecked Sendable {} +extension FortPowerUpActivitySettings.FortPowerUpActivity: @unchecked Sendable {} +extension FortPowerUpLevelSettings: @unchecked Sendable {} +extension FortPowerUpSpawnSettings: @unchecked Sendable {} +extension FortRecallOutProto: @unchecked Sendable {} +extension FortRecallOutProto.Result: @unchecked Sendable {} +extension FortRecallProto: @unchecked Sendable {} +extension FortRenderingType: @unchecked Sendable {} +extension FortRenderingType.RenderingType: @unchecked Sendable {} +extension FortSearchLogEntry: @unchecked Sendable {} +extension FortSearchLogEntry.Result: @unchecked Sendable {} +extension FortSearchOutProto: @unchecked Sendable {} +extension FortSearchOutProto.Result: @unchecked Sendable {} +extension FortSearchProto: @unchecked Sendable {} +extension FortSettingsProto: @unchecked Sendable {} +extension FortSponsor: @unchecked Sendable {} +extension FortSponsor.Sponsor: @unchecked Sendable {} +extension FortUpdateLatencyTelemetry: @unchecked Sendable {} +extension FrameRate: @unchecked Sendable {} +extension FriendProfileSettingsProto: @unchecked Sendable {} +extension FriendshipDataProto: @unchecked Sendable {} +extension FriendshipLevelDataProto: @unchecked Sendable {} +extension FriendshipLevelMilestoneSettingsProto: @unchecked Sendable {} +extension FriendshipLevelMilestoneSettingsProto.PokemonTradingType: @unchecked Sendable {} +extension FriendshipMilestoneRewardNotificationProto: @unchecked Sendable {} +extension FriendshipMilestoneRewardProto: @unchecked Sendable {} +extension GamDetails: @unchecked Sendable {} +extension GameMasterClientTemplateProto: @unchecked Sendable {} +extension GameMasterLocalProto: @unchecked Sendable {} +extension GameObjectLocationData: @unchecked Sendable {} +extension GameObjectLocationData.OffsetPosition: @unchecked Sendable {} +extension GameObjectLocationData.OffsetRotation: @unchecked Sendable {} +extension GameboardSettings: @unchecked Sendable {} +extension GameplayWeatherProto: @unchecked Sendable {} +extension GameplayWeatherProto.WeatherCondition: @unchecked Sendable {} +extension GarProxyRequestProto: @unchecked Sendable {} +extension GarProxyResponseProto: @unchecked Sendable {} +extension GarProxyResponseProto.Status: @unchecked Sendable {} +extension GarbageCollectionSettingsProto: @unchecked Sendable {} +extension GcmToken: @unchecked Sendable {} +extension GenerateCombatChallengeIdData: @unchecked Sendable {} +extension GenerateCombatChallengeIdOutProto: @unchecked Sendable {} +extension GenerateCombatChallengeIdOutProto.Result: @unchecked Sendable {} +extension GenerateCombatChallengeIdProto: @unchecked Sendable {} +extension GenerateCombatChallengeIdResponseData: @unchecked Sendable {} +extension GenerateGmapSignedUrlOutProto: @unchecked Sendable {} +extension GenerateGmapSignedUrlOutProto.Result: @unchecked Sendable {} +extension GenerateGmapSignedUrlProto: @unchecked Sendable {} +extension GeneratedCodeInfo: @unchecked Sendable {} +extension GeneratedCodeInfo.Annotation: @unchecked Sendable {} +extension GenericClickTelemetry: @unchecked Sendable {} +extension GeofenceMetadata: @unchecked Sendable {} +extension GeofenceUpdateOutProto: @unchecked Sendable {} +extension GeofenceUpdateProto: @unchecked Sendable {} +extension Geometry: @unchecked Sendable {} +extension Geometry.OneOf_Geometry: @unchecked Sendable {} +extension GeotargetedQuestProto: @unchecked Sendable {} +extension GeotargetedQuestSettingsProto: @unchecked Sendable {} +extension GeotargetedQuestValidation: @unchecked Sendable {} +extension GetActionLogRequest: @unchecked Sendable {} +extension GetActionLogResponse: @unchecked Sendable {} +extension GetActionLogResponse.Result: @unchecked Sendable {} +extension GetAdditionalPokemonDetailsOutProto: @unchecked Sendable {} +extension GetAdditionalPokemonDetailsProto: @unchecked Sendable {} +extension GetAdventureSyncFitnessReportRequestProto: @unchecked Sendable {} +extension GetAdventureSyncFitnessReportResponseProto: @unchecked Sendable {} +extension GetAdventureSyncFitnessReportResponseProto.Status: @unchecked Sendable {} +extension GetAdventureSyncProgressOutProto: @unchecked Sendable {} +extension GetAdventureSyncProgressOutProto.Status: @unchecked Sendable {} +extension GetAdventureSyncProgressProto: @unchecked Sendable {} +extension GetAdventureSyncSettingsRequestProto: @unchecked Sendable {} +extension GetAdventureSyncSettingsResponseProto: @unchecked Sendable {} +extension GetAdventureSyncSettingsResponseProto.Status: @unchecked Sendable {} +extension GetAvailableSubmissionsOutProto: @unchecked Sendable {} +extension GetAvailableSubmissionsProto: @unchecked Sendable {} +extension GetBackgroundModeSettingsOutProto: @unchecked Sendable {} +extension GetBackgroundModeSettingsOutProto.Status: @unchecked Sendable {} +extension GetBackgroundModeSettingsProto: @unchecked Sendable {} +extension GetBonusAttractedPokemonOutProto: @unchecked Sendable {} +extension GetBonusAttractedPokemonOutProto.Status: @unchecked Sendable {} +extension GetBonusAttractedPokemonProto: @unchecked Sendable {} +extension GetBonusesOutProto: @unchecked Sendable {} +extension GetBonusesOutProto.Result: @unchecked Sendable {} +extension GetBonusesProto: @unchecked Sendable {} +extension GetBuddyHistoryOutProto: @unchecked Sendable {} +extension GetBuddyHistoryOutProto.Result: @unchecked Sendable {} +extension GetBuddyHistoryProto: @unchecked Sendable {} +extension GetBuddyWalkedOutProto: @unchecked Sendable {} +extension GetBuddyWalkedProto: @unchecked Sendable {} +extension GetCombatChallengeData: @unchecked Sendable {} +extension GetCombatChallengeOutProto: @unchecked Sendable {} +extension GetCombatChallengeOutProto.Result: @unchecked Sendable {} +extension GetCombatChallengeProto: @unchecked Sendable {} +extension GetCombatChallengeResponseData: @unchecked Sendable {} +extension GetCombatPlayerProfileData: @unchecked Sendable {} +extension GetCombatPlayerProfileOutProto: @unchecked Sendable {} +extension GetCombatPlayerProfileOutProto.Result: @unchecked Sendable {} +extension GetCombatPlayerProfileProto: @unchecked Sendable {} +extension GetCombatPlayerProfileResponseData: @unchecked Sendable {} +extension GetCombatResultsOutProto: @unchecked Sendable {} +extension GetCombatResultsOutProto.Result: @unchecked Sendable {} +extension GetCombatResultsOutProto.CombatRematchProto: @unchecked Sendable {} +extension GetCombatResultsProto: @unchecked Sendable {} +extension GetContestDataOutProto: @unchecked Sendable {} +extension GetContestDataOutProto.Status: @unchecked Sendable {} +extension GetContestDataProto: @unchecked Sendable {} +extension GetContestEntryOutProto: @unchecked Sendable {} +extension GetContestEntryOutProto.Status: @unchecked Sendable {} +extension GetContestEntryProto: @unchecked Sendable {} +extension GetContestFriendEntryOutProto: @unchecked Sendable {} +extension GetContestFriendEntryOutProto.Status: @unchecked Sendable {} +extension GetContestFriendEntryProto: @unchecked Sendable {} +extension GetContestsUnclaimedRewardsOutProto: @unchecked Sendable {} +extension GetContestsUnclaimedRewardsOutProto.Status: @unchecked Sendable {} +extension GetContestsUnclaimedRewardsProto: @unchecked Sendable {} +extension GetDailyEncounterOutProto: @unchecked Sendable {} +extension GetDailyEncounterOutProto.Result: @unchecked Sendable {} +extension GetDailyEncounterProto: @unchecked Sendable {} +extension GetEligibleCombatLeaguesOutProto: @unchecked Sendable {} +extension GetEligibleCombatLeaguesOutProto.Result: @unchecked Sendable {} +extension GetEligibleCombatLeaguesOutProto.PlayerEligibleCombatLeaguesProto: @unchecked Sendable {} +extension GetEligibleCombatLeaguesProto: @unchecked Sendable {} +extension GetEnteredContestOutProto: @unchecked Sendable {} +extension GetEnteredContestOutProto.Status: @unchecked Sendable {} +extension GetEnteredContestProto: @unchecked Sendable {} +extension GetFitnessReportOutProto: @unchecked Sendable {} +extension GetFitnessReportOutProto.Status: @unchecked Sendable {} +extension GetFitnessReportProto: @unchecked Sendable {} +extension GetFitnessRewardsOutProto: @unchecked Sendable {} +extension GetFitnessRewardsOutProto.Result: @unchecked Sendable {} +extension GetFitnessRewardsProto: @unchecked Sendable {} +extension GetFriendshipRewardsOutProto: @unchecked Sendable {} +extension GetFriendshipRewardsOutProto.Result: @unchecked Sendable {} +extension GetFriendshipRewardsProto: @unchecked Sendable {} +extension GetGameMasterClientTemplatesOutProto: @unchecked Sendable {} +extension GetGameMasterClientTemplatesOutProto.Result: @unchecked Sendable {} +extension GetGameMasterClientTemplatesProto: @unchecked Sendable {} +extension GetGeofencedAdOutProto: @unchecked Sendable {} +extension GetGeofencedAdOutProto.Result: @unchecked Sendable {} +extension GetGeofencedAdProto: @unchecked Sendable {} +extension GetGiftBoxDetailsOutProto: @unchecked Sendable {} +extension GetGiftBoxDetailsOutProto.Result: @unchecked Sendable {} +extension GetGiftBoxDetailsProto: @unchecked Sendable {} +extension GetGmapSettingsOutProto: @unchecked Sendable {} +extension GetGmapSettingsOutProto.Result: @unchecked Sendable {} +extension GetGmapSettingsProto: @unchecked Sendable {} +extension GetGymBadgeDetailsOutProto: @unchecked Sendable {} +extension GetGymBadgeDetailsProto: @unchecked Sendable {} +extension GetGymDetailsOutProto: @unchecked Sendable {} +extension GetGymDetailsOutProto.Result: @unchecked Sendable {} +extension GetGymDetailsProto: @unchecked Sendable {} +extension GetHatchedEggsOutProto: @unchecked Sendable {} +extension GetHatchedEggsProto: @unchecked Sendable {} +extension GetHoloholoInventoryOutProto: @unchecked Sendable {} +extension GetHoloholoInventoryProto: @unchecked Sendable {} +extension GetInboxOutProto: @unchecked Sendable {} +extension GetInboxOutProto.Result: @unchecked Sendable {} +extension GetInboxProto: @unchecked Sendable {} +extension GetIncensePokemonOutProto: @unchecked Sendable {} +extension GetIncensePokemonOutProto.Result: @unchecked Sendable {} +extension GetIncensePokemonProto: @unchecked Sendable {} +extension GetIncenseRecapOutProto: @unchecked Sendable {} +extension GetIncenseRecapOutProto.Result: @unchecked Sendable {} +extension GetIncenseRecapProto: @unchecked Sendable {} +extension GetInventoryProto: @unchecked Sendable {} +extension GetInventoryResponseProto: @unchecked Sendable {} +extension GetLocalTimeOutProto: @unchecked Sendable {} +extension GetLocalTimeOutProto.Status: @unchecked Sendable {} +extension GetLocalTimeOutProto.LocalTimeProto: @unchecked Sendable {} +extension GetLocalTimeProto: @unchecked Sendable {} +extension GetMapFortsOutProto: @unchecked Sendable {} +extension GetMapFortsOutProto.Status: @unchecked Sendable {} +extension GetMapFortsOutProto.FortProto: @unchecked Sendable {} +extension GetMapFortsOutProto.Image: @unchecked Sendable {} +extension GetMapFortsProto: @unchecked Sendable {} +extension GetMapObjectsOutProto: @unchecked Sendable {} +extension GetMapObjectsOutProto.MoonPhase: @unchecked Sendable {} +extension GetMapObjectsOutProto.Status: @unchecked Sendable {} +extension GetMapObjectsOutProto.TimeOfDay: @unchecked Sendable {} +extension GetMapObjectsOutProto.TwilightPeriod: @unchecked Sendable {} +extension GetMapObjectsProto: @unchecked Sendable {} +extension GetMapObjectsTriggerTelemetry: @unchecked Sendable {} +extension GetMapObjectsTriggerTelemetry.TriggerType: @unchecked Sendable {} +extension GetMaptilesSettingsRequest: @unchecked Sendable {} +extension GetMaptilesSettingsRequest.OneOf_ClientVersion: @unchecked Sendable {} +extension GetMaptilesSettingsResponse: @unchecked Sendable {} +extension GetMaptilesSettingsResponse.Status: @unchecked Sendable {} +extension GetMatchmakingStatusData: @unchecked Sendable {} +extension GetMatchmakingStatusOutProto: @unchecked Sendable {} +extension GetMatchmakingStatusOutProto.Result: @unchecked Sendable {} +extension GetMatchmakingStatusProto: @unchecked Sendable {} +extension GetMatchmakingStatusResponseData: @unchecked Sendable {} +extension GetMementoListOutProto: @unchecked Sendable {} +extension GetMementoListOutProto.Status: @unchecked Sendable {} +extension GetMementoListProto: @unchecked Sendable {} +extension GetMilestonesOutProto: @unchecked Sendable {} +extension GetMilestonesOutProto.Status: @unchecked Sendable {} +extension GetMilestonesPreviewOutProto: @unchecked Sendable {} +extension GetMilestonesPreviewOutProto.Status: @unchecked Sendable {} +extension GetMilestonesPreviewProto: @unchecked Sendable {} +extension GetMilestonesProto: @unchecked Sendable {} +extension GetNewQuestsOutProto: @unchecked Sendable {} +extension GetNewQuestsOutProto.Status: @unchecked Sendable {} +extension GetNewQuestsProto: @unchecked Sendable {} +extension GetNintendoAccountOutProto: @unchecked Sendable {} +extension GetNintendoAccountOutProto.Status: @unchecked Sendable {} +extension GetNintendoAccountProto: @unchecked Sendable {} +extension GetNintendoOAuth2UrlOutProto: @unchecked Sendable {} +extension GetNintendoOAuth2UrlOutProto.Status: @unchecked Sendable {} +extension GetNintendoOAuth2UrlProto: @unchecked Sendable {} +extension GetNpcCombatRewardsOutProto: @unchecked Sendable {} +extension GetNpcCombatRewardsOutProto.Result: @unchecked Sendable {} +extension GetNpcCombatRewardsProto: @unchecked Sendable {} +extension GetOutstandingWarningsRequestProto: @unchecked Sendable {} +extension GetOutstandingWarningsResponseProto: @unchecked Sendable {} +extension GetOutstandingWarningsResponseProto.WarningInfo: @unchecked Sendable {} +extension GetPartyHistoryOutProto: @unchecked Sendable {} +extension GetPartyHistoryOutProto.Result: @unchecked Sendable {} +extension GetPartyHistoryProto: @unchecked Sendable {} +extension GetPartyOutProto: @unchecked Sendable {} +extension GetPartyOutProto.Result: @unchecked Sendable {} +extension GetPartyProto: @unchecked Sendable {} +extension GetPhotobombOutProto: @unchecked Sendable {} +extension GetPhotobombOutProto.Status: @unchecked Sendable {} +extension GetPhotobombProto: @unchecked Sendable {} +extension GetPlayerDayOutProto: @unchecked Sendable {} +extension GetPlayerDayOutProto.Result: @unchecked Sendable {} +extension GetPlayerDayProto: @unchecked Sendable {} +extension GetPlayerOutProto: @unchecked Sendable {} +extension GetPlayerProto: @unchecked Sendable {} +extension GetPokemonSizeLeaderboardEntryOutProto: @unchecked Sendable {} +extension GetPokemonSizeLeaderboardEntryOutProto.Status: @unchecked Sendable {} +extension GetPokemonSizeLeaderboardEntryProto: @unchecked Sendable {} +extension GetPokemonSizeLeaderboardFriendEntryOutProto: @unchecked Sendable {} +extension GetPokemonSizeLeaderboardFriendEntryOutProto.Status: @unchecked Sendable {} +extension GetPokemonSizeLeaderboardFriendEntryProto: @unchecked Sendable {} +extension GetPokemonTagsOutProto: @unchecked Sendable {} +extension GetPokemonTagsOutProto.Result: @unchecked Sendable {} +extension GetPokemonTagsProto: @unchecked Sendable {} +extension GetPokestopEncounterOutProto: @unchecked Sendable {} +extension GetPokestopEncounterOutProto.Status: @unchecked Sendable {} +extension GetPokestopEncounterProto: @unchecked Sendable {} +extension GetPublishedRoutesOutProto: @unchecked Sendable {} +extension GetPublishedRoutesOutProto.Result: @unchecked Sendable {} +extension GetPublishedRoutesProto: @unchecked Sendable {} +extension GetQuestDetailsOutProto: @unchecked Sendable {} +extension GetQuestDetailsOutProto.Status: @unchecked Sendable {} +extension GetQuestDetailsProto: @unchecked Sendable {} +extension GetQuestUiOutProto: @unchecked Sendable {} +extension GetQuestUiOutProto.Status: @unchecked Sendable {} +extension GetQuestUiProto: @unchecked Sendable {} +extension GetRaidDetailsData: @unchecked Sendable {} +extension GetRaidDetailsOutProto: @unchecked Sendable {} +extension GetRaidDetailsOutProto.Result: @unchecked Sendable {} +extension GetRaidDetailsProto: @unchecked Sendable {} +extension GetRaidDetailsResponseData: @unchecked Sendable {} +extension GetRaidLobbyCounterOutProto: @unchecked Sendable {} +extension GetRaidLobbyCounterOutProto.Result: @unchecked Sendable {} +extension GetRaidLobbyCounterProto: @unchecked Sendable {} +extension GetReferralCodeOutProto: @unchecked Sendable {} +extension GetReferralCodeOutProto.Status: @unchecked Sendable {} +extension GetReferralCodeProto: @unchecked Sendable {} +extension GetRemoteConfigVersionsOutProto: @unchecked Sendable {} +extension GetRemoteConfigVersionsOutProto.Result: @unchecked Sendable {} +extension GetRemoteConfigVersionsProto: @unchecked Sendable {} +extension GetRocketBalloonOutProto: @unchecked Sendable {} +extension GetRocketBalloonOutProto.Status: @unchecked Sendable {} +extension GetRocketBalloonProto: @unchecked Sendable {} +extension GetRouteCreationsOutProto: @unchecked Sendable {} +extension GetRouteCreationsOutProto.Result: @unchecked Sendable {} +extension GetRouteCreationsProto: @unchecked Sendable {} +extension GetRoutesOutProto: @unchecked Sendable {} +extension GetRoutesOutProto.Status: @unchecked Sendable {} +extension GetRoutesOutProto.RouteTab: @unchecked Sendable {} +extension GetRoutesProto: @unchecked Sendable {} +extension GetServerTimeOutProto: @unchecked Sendable {} +extension GetServerTimeOutProto.Status: @unchecked Sendable {} +extension GetServerTimeProto: @unchecked Sendable {} +extension GetStardustQuestProto: @unchecked Sendable {} +extension GetTimedGroupChallengeOutProto: @unchecked Sendable {} +extension GetTimedGroupChallengeOutProto.Status: @unchecked Sendable {} +extension GetTimedGroupChallengeProto: @unchecked Sendable {} +extension GetTodayViewOutProto: @unchecked Sendable {} +extension GetTodayViewOutProto.Status: @unchecked Sendable {} +extension GetTodayViewProto: @unchecked Sendable {} +extension GetTradingOutProto: @unchecked Sendable {} +extension GetTradingOutProto.Result: @unchecked Sendable {} +extension GetTradingProto: @unchecked Sendable {} +extension GetTutorialEggOutProto: @unchecked Sendable {} +extension GetTutorialEggOutProto.Result: @unchecked Sendable {} +extension GetTutorialEggProto: @unchecked Sendable {} +extension GetUploadUrlOutProto: @unchecked Sendable {} +extension GetUploadUrlOutProto.Status: @unchecked Sendable {} +extension GetUploadUrlProto: @unchecked Sendable {} +extension GetVpsEventOutProto: @unchecked Sendable {} +extension GetVpsEventOutProto.Status: @unchecked Sendable {} +extension GetVpsEventProto: @unchecked Sendable {} +extension GetVsSeekerStatusOutProto: @unchecked Sendable {} +extension GetVsSeekerStatusOutProto.Result: @unchecked Sendable {} +extension GetVsSeekerStatusProto: @unchecked Sendable {} +extension GetWebTokenActionOutProto: @unchecked Sendable {} +extension GetWebTokenActionOutProto.Status: @unchecked Sendable {} +extension GetWebTokenActionProto: @unchecked Sendable {} +extension GetWebTokenOutProto: @unchecked Sendable {} +extension GetWebTokenOutProto.Status: @unchecked Sendable {} +extension GetWebTokenProto: @unchecked Sendable {} +extension GhostWayspotSettings: @unchecked Sendable {} +extension GiftBoxDetailsProto: @unchecked Sendable {} +extension GiftBoxProto: @unchecked Sendable {} +extension GiftBoxesProto: @unchecked Sendable {} +extension GiftExchangeEntryProto: @unchecked Sendable {} +extension GiftingEligibilityStatusProto: @unchecked Sendable {} +extension GiftingEligibilityStatusProto.Status: @unchecked Sendable {} +extension GiftingIapItemProto: @unchecked Sendable {} +extension GiftingSettingsProto: @unchecked Sendable {} +extension GiftingSettingsProto.StardustMultiplier: @unchecked Sendable {} +extension GlobalEventTicketAttributesProto: @unchecked Sendable {} +extension GlobalSettingsProto: @unchecked Sendable {} +extension GlowFxPokemonProto: @unchecked Sendable {} +extension GmtSettingsProto: @unchecked Sendable {} +extension GoogleToken: @unchecked Sendable {} +extension GpsSettingsProto: @unchecked Sendable {} +extension GraphicsCapabilitiesSettingsProto: @unchecked Sendable {} +extension GraphicsCapabilitiesTelemetry: @unchecked Sendable {} +extension GroupChallengeCriteriaProto: @unchecked Sendable {} +extension GroupChallengeDisplayProto: @unchecked Sendable {} +extension GuestAccountGameSettingsProto: @unchecked Sendable {} +extension GuestAccountSettingsProto: @unchecked Sendable {} +extension GuestLoginAuthToken: @unchecked Sendable {} +extension GuestLoginSecretToken: @unchecked Sendable {} +extension GuiSearchSettingsProto: @unchecked Sendable {} +extension GymBadgeGmtSettingsProto: @unchecked Sendable {} +extension GymBadgeStats: @unchecked Sendable {} +extension GymBattleAttackOutProto: @unchecked Sendable {} +extension GymBattleAttackOutProto.Result: @unchecked Sendable {} +extension GymBattleAttackProto: @unchecked Sendable {} +extension GymBattleProto: @unchecked Sendable {} +extension GymBattleSettingsProto: @unchecked Sendable {} +extension GymDefenderProto: @unchecked Sendable {} +extension GymDeployOutProto: @unchecked Sendable {} +extension GymDeployOutProto.Result: @unchecked Sendable {} +extension GymDeployProto: @unchecked Sendable {} +extension GymDisplayProto: @unchecked Sendable {} +extension GymEventProto: @unchecked Sendable {} +extension GymEventProto.Event: @unchecked Sendable {} +extension GymFeedPokemonOutProto: @unchecked Sendable {} +extension GymFeedPokemonOutProto.Result: @unchecked Sendable {} +extension GymFeedPokemonProto: @unchecked Sendable {} +extension GymGetInfoOutProto: @unchecked Sendable {} +extension GymGetInfoOutProto.Result: @unchecked Sendable {} +extension GymGetInfoProto: @unchecked Sendable {} +extension GymLevelSettingsProto: @unchecked Sendable {} +extension GymMembershipProto: @unchecked Sendable {} +extension GymPokemonSectionProto: @unchecked Sendable {} +extension GymPokemonSectionProto.GymPokemonProto: @unchecked Sendable {} +extension GymStartSessionOutProto: @unchecked Sendable {} +extension GymStartSessionOutProto.Result: @unchecked Sendable {} +extension GymStartSessionProto: @unchecked Sendable {} +extension GymStateProto: @unchecked Sendable {} +extension GymStatusAndDefendersProto: @unchecked Sendable {} +extension HappeningNowSectionProto: @unchecked Sendable {} +extension HapticsSettingsProto: @unchecked Sendable {} +extension HashedKeyProto: @unchecked Sendable {} +extension HelpshiftSettingsProto: @unchecked Sendable {} +extension HoloFitnessReportProto: @unchecked Sendable {} +extension HoloInventoryItemProto: @unchecked Sendable {} +extension HoloInventoryItemProto.OneOf_Type: @unchecked Sendable {} +extension HoloInventoryKeyProto: @unchecked Sendable {} +extension HoloInventoryKeyProto.OneOf_Type: @unchecked Sendable {} +extension HoloholoClientTelemetryOmniProto: @unchecked Sendable {} +extension HoloholoClientTelemetryOmniProto.OneOf_TelemetryData: @unchecked Sendable {} +extension HomeWidgetSettingsProto: @unchecked Sendable {} +extension HomeWidgetSettingsProto.BuddyWidgetRewards: @unchecked Sendable {} +extension HomeWidgetSettingsProto.EggsWidgetRewards: @unchecked Sendable {} +extension HomeWidgetTelemetry: @unchecked Sendable {} +extension HomeWidgetTelemetry.Status: @unchecked Sendable {} +extension HyperlocalExperimentClientProto: @unchecked Sendable {} +extension IapAvailableSkuProto: @unchecked Sendable {} +extension IapCurrencyQuantityProto: @unchecked Sendable {} +extension IapCurrencyUpdateProto: @unchecked Sendable {} +extension IapDisclosureDisplaySettingsProto: @unchecked Sendable {} +extension IapDisclosureDisplaySettingsProto.CurrencyLanguagePairProto: @unchecked Sendable {} +extension IapGameItemContentProto: @unchecked Sendable {} +extension IapGetActiveSubscriptionsRequestProto: @unchecked Sendable {} +extension IapGetActiveSubscriptionsResponseProto: @unchecked Sendable {} +extension IapGetAvailableSkusAndBalancesOutProto: @unchecked Sendable {} +extension IapGetAvailableSkusAndBalancesOutProto.Status: @unchecked Sendable {} +extension IapGetAvailableSkusAndBalancesProto: @unchecked Sendable {} +extension IapInAppPurchaseSubscriptionInfo: @unchecked Sendable {} +extension IapInAppPurchaseSubscriptionInfo.NativeStoreVendor: @unchecked Sendable {} +extension IapInAppPurchaseSubscriptionInfo.PaymentState: @unchecked Sendable {} +extension IapInAppPurchaseSubscriptionInfo.State: @unchecked Sendable {} +extension IapInAppPurchaseSubscriptionInfo.PurchasePeriod: @unchecked Sendable {} +extension IapItemCategoryDisplayProto: @unchecked Sendable {} +extension IapItemDisplayProto: @unchecked Sendable {} +extension IapPurchaseSkuOutProto: @unchecked Sendable {} +extension IapPurchaseSkuOutProto.Status: @unchecked Sendable {} +extension IapPurchaseSkuProto: @unchecked Sendable {} +extension IapRedeemGoogleReceiptOutProto: @unchecked Sendable {} +extension IapRedeemGoogleReceiptOutProto.Status: @unchecked Sendable {} +extension IapRedeemGoogleReceiptProto: @unchecked Sendable {} +extension IapRedeemSamsungReceiptOutProto: @unchecked Sendable {} +extension IapRedeemSamsungReceiptOutProto.Status: @unchecked Sendable {} +extension IapRedeemSamsungReceiptProto: @unchecked Sendable {} +extension IapSettingsProto: @unchecked Sendable {} +extension IapSkuPresentationProto: @unchecked Sendable {} +extension IapSkuStorePrice: @unchecked Sendable {} +extension IapStoreRuleDataProto: @unchecked Sendable {} +extension IapStoreRuleDataProto.RuleEntry: @unchecked Sendable {} +extension IdfaSettingsProto: @unchecked Sendable {} +extension ImageGalleryTelemetry: @unchecked Sendable {} +extension ImageGalleryTelemetry.ImageGalleryEventId: @unchecked Sendable {} +extension ImageTextCreativeProto: @unchecked Sendable {} +extension ImpressionTrackingSettingsProto: @unchecked Sendable {} +extension ImpressionTrackingTag: @unchecked Sendable {} +extension InAppSurveySettingsProto: @unchecked Sendable {} +extension InGamePurchaseDetails: @unchecked Sendable {} +extension IncenseAttributesProto: @unchecked Sendable {} +extension IncenseEncounterOutProto: @unchecked Sendable {} +extension IncenseEncounterOutProto.Result: @unchecked Sendable {} +extension IncenseEncounterProto: @unchecked Sendable {} +extension IncidentGlobalSettingsProto: @unchecked Sendable {} +extension IncidentLookupProto: @unchecked Sendable {} +extension IncidentPrioritySettingsProto: @unchecked Sendable {} +extension IncidentPrioritySettingsProto.IncidentPriority: @unchecked Sendable {} +extension IncidentRewardProto: @unchecked Sendable {} +extension IncidentTicketAttributesProto: @unchecked Sendable {} +extension IncidentVisibilitySettingsProto: @unchecked Sendable {} +extension IncubatorFlowSettingsProto: @unchecked Sendable {} +extension IndividualValueSettings: @unchecked Sendable {} +extension InitializationEvent: @unchecked Sendable {} +extension InputSettingsProto: @unchecked Sendable {} +extension InstallTime: @unchecked Sendable {} +extension InstallTime.InstallPhase: @unchecked Sendable {} +extension InternalAcceptFriendInviteOutProto: @unchecked Sendable {} +extension InternalAcceptFriendInviteOutProto.Result: @unchecked Sendable {} +extension InternalAcceptFriendInviteProto: @unchecked Sendable {} +extension InternalAccountContactSettings: @unchecked Sendable {} +extension InternalAccountContactSettings.ConsentStatus: @unchecked Sendable {} +extension InternalAccountSettingsProto: @unchecked Sendable {} +extension InternalAddLoginActionOutProto: @unchecked Sendable {} +extension InternalAddLoginActionOutProto.Status: @unchecked Sendable {} +extension InternalAddLoginActionProto: @unchecked Sendable {} +extension InternalAdventureSyncSettingsProto: @unchecked Sendable {} +extension InternalApnToken: @unchecked Sendable {} +extension InternalAuthProto: @unchecked Sendable {} +extension InternalBreadcrumbRecordProto: @unchecked Sendable {} +extension InternalCancelFriendInviteOutProto: @unchecked Sendable {} +extension InternalCancelFriendInviteOutProto.Result: @unchecked Sendable {} +extension InternalCancelFriendInviteProto: @unchecked Sendable {} +extension InternalClientInbox: @unchecked Sendable {} +extension InternalClientInbox.Label: @unchecked Sendable {} +extension InternalClientInbox.Notification: @unchecked Sendable {} +extension InternalCreateGuestLoginSecretTokenRequestProto: @unchecked Sendable {} +extension InternalCreateGuestLoginSecretTokenResponseProto: @unchecked Sendable {} +extension InternalCreateGuestLoginSecretTokenResponseProto.Status: @unchecked Sendable {} +extension InternalCreateSharedLoginTokenRequest: @unchecked Sendable {} +extension InternalCreateSharedLoginTokenResponse: @unchecked Sendable {} +extension InternalCreateSharedLoginTokenResponse.Status: @unchecked Sendable {} +extension InternalCreateSharedLoginTokenResponse.TokenMetaData: @unchecked Sendable {} +extension InternalCrmProxyRequestProto: @unchecked Sendable {} +extension InternalCrmProxyResponseProto: @unchecked Sendable {} +extension InternalCrmProxyResponseProto.Status: @unchecked Sendable {} +extension InternalDataAccessRequest: @unchecked Sendable {} +extension InternalDataAccessResponse: @unchecked Sendable {} +extension InternalDataAccessResponse.Status: @unchecked Sendable {} +extension InternalDebugInfoProto: @unchecked Sendable {} +extension InternalDeclineFriendInviteOutProto: @unchecked Sendable {} +extension InternalDeclineFriendInviteOutProto.Result: @unchecked Sendable {} +extension InternalDeclineFriendInviteProto: @unchecked Sendable {} +extension InternalDeleteAccountEmailOnFileRequest: @unchecked Sendable {} +extension InternalDeleteAccountEmailOnFileResponse: @unchecked Sendable {} +extension InternalDeleteAccountEmailOnFileResponse.Status: @unchecked Sendable {} +extension InternalDeleteAccountRequest: @unchecked Sendable {} +extension InternalDeleteAccountResponse: @unchecked Sendable {} +extension InternalDeleteAccountResponse.Status: @unchecked Sendable {} +extension InternalDismissContactListUpdateRequest: @unchecked Sendable {} +extension InternalDismissContactListUpdateResponse: @unchecked Sendable {} +extension InternalDismissContactListUpdateResponse.Result: @unchecked Sendable {} +extension InternalDismissOutgoingGameInvitesRequest: @unchecked Sendable {} +extension InternalDismissOutgoingGameInvitesResponse: @unchecked Sendable {} +extension InternalDismissOutgoingGameInvitesResponse.Result: @unchecked Sendable {} +extension InternalDownloadSettingsActionProto: @unchecked Sendable {} +extension InternalDownloadSettingsResponseProto: @unchecked Sendable {} +extension InternalFitnessMetricsProto: @unchecked Sendable {} +extension InternalFitnessReportProto: @unchecked Sendable {} +extension InternalFitnessReportProto.OneOf_Window: @unchecked Sendable {} +extension InternalFriendDetailsProto: @unchecked Sendable {} +extension InternalFriendDetailsProto.OnlineStatus: @unchecked Sendable {} +extension InternalGarAccountInfoProto: @unchecked Sendable {} +extension InternalGarProxyRequestProto: @unchecked Sendable {} +extension InternalGarProxyResponseProto: @unchecked Sendable {} +extension InternalGarProxyResponseProto.Status: @unchecked Sendable {} +extension InternalGcmToken: @unchecked Sendable {} +extension InternalGetAccountSettingsOutProto: @unchecked Sendable {} +extension InternalGetAccountSettingsOutProto.Result: @unchecked Sendable {} +extension InternalGetAccountSettingsProto: @unchecked Sendable {} +extension InternalGetAdventureSyncSettingsRequestProto: @unchecked Sendable {} +extension InternalGetAdventureSyncSettingsResponseProto: @unchecked Sendable {} +extension InternalGetAdventureSyncSettingsResponseProto.Status: @unchecked Sendable {} +extension InternalGetClientFeatureFlagsRequest: @unchecked Sendable {} +extension InternalGetClientFeatureFlagsResponse: @unchecked Sendable {} +extension InternalGetClientSettingsRequest: @unchecked Sendable {} +extension InternalGetClientSettingsResponse: @unchecked Sendable {} +extension InternalGetClientSettingsResponse.PhoneNumberSettings: @unchecked Sendable {} +extension InternalGetContactListInfoRequest: @unchecked Sendable {} +extension InternalGetContactListInfoResponse: @unchecked Sendable {} +extension InternalGetFacebookFriendListOutProto: @unchecked Sendable {} +extension InternalGetFacebookFriendListOutProto.Result: @unchecked Sendable {} +extension InternalGetFacebookFriendListOutProto.FacebookFriendProto: @unchecked Sendable {} +extension InternalGetFacebookFriendListProto: @unchecked Sendable {} +extension InternalGetFitnessReportOutProto: @unchecked Sendable {} +extension InternalGetFitnessReportOutProto.Status: @unchecked Sendable {} +extension InternalGetFitnessReportProto: @unchecked Sendable {} +extension InternalGetFriendCodeOutProto: @unchecked Sendable {} +extension InternalGetFriendCodeOutProto.Result: @unchecked Sendable {} +extension InternalGetFriendCodeProto: @unchecked Sendable {} +extension InternalGetFriendDetailsOutProto: @unchecked Sendable {} +extension InternalGetFriendDetailsOutProto.Result: @unchecked Sendable {} +extension InternalGetFriendDetailsOutProto.DebugProto: @unchecked Sendable {} +extension InternalGetFriendDetailsOutProto.DebugProto.Callee: @unchecked Sendable {} +extension InternalGetFriendDetailsProto: @unchecked Sendable {} +extension InternalGetFriendDetailsRequest: @unchecked Sendable {} +extension InternalGetFriendDetailsResponse: @unchecked Sendable {} +extension InternalGetFriendDetailsResponse.Result: @unchecked Sendable {} +extension InternalGetFriendDetailsResponse.FriendDetailsEntryProto: @unchecked Sendable {} +extension InternalGetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus: @unchecked Sendable {} +extension InternalGetFriendDetailsResponse.PlayerStatusDetailsProto: @unchecked Sendable {} +extension InternalGetFriendDetailsResponse.PlayerStatusDetailsProto.Result: @unchecked Sendable {} +extension InternalGetFriendsListOutProto: @unchecked Sendable {} +extension InternalGetFriendsListOutProto.Result: @unchecked Sendable {} +extension InternalGetFriendsListOutProto.FriendProto: @unchecked Sendable {} +extension InternalGetFriendsListOutProto.FriendProto.OnlineStatus: @unchecked Sendable {} +extension InternalGetFriendsListOutProto.SharedFriendshipProto: @unchecked Sendable {} +extension InternalGetFriendsListProto: @unchecked Sendable {} +extension InternalGetInboxV2Proto: @unchecked Sendable {} +extension InternalGetIncomingFriendInvitesOutProto: @unchecked Sendable {} +extension InternalGetIncomingFriendInvitesOutProto.Result: @unchecked Sendable {} +extension InternalGetIncomingFriendInvitesProto: @unchecked Sendable {} +extension InternalGetIncomingGameInvitesRequest: @unchecked Sendable {} +extension InternalGetIncomingGameInvitesResponse: @unchecked Sendable {} +extension InternalGetIncomingGameInvitesResponse.Result: @unchecked Sendable {} +extension InternalGetIncomingGameInvitesResponse.IncomingGameInvite: @unchecked Sendable {} +extension InternalGetIncomingGameInvitesResponse.IncomingGameInvite.Status: @unchecked Sendable {} +extension InternalGetMyAccountRequest: @unchecked Sendable {} +extension InternalGetMyAccountResponse: @unchecked Sendable {} +extension InternalGetMyAccountResponse.Status: @unchecked Sendable {} +extension InternalGetMyAccountResponse.ContactProto: @unchecked Sendable {} +extension InternalGetMyAccountResponse.ContactProto.TypeEnum: @unchecked Sendable {} +extension InternalGetNotificationInboxOutProto: @unchecked Sendable {} +extension InternalGetNotificationInboxOutProto.Result: @unchecked Sendable {} +extension InternalGetOutgoingFriendInvitesOutProto: @unchecked Sendable {} +extension InternalGetOutgoingFriendInvitesOutProto.Result: @unchecked Sendable {} +extension InternalGetOutgoingFriendInvitesProto: @unchecked Sendable {} +extension InternalGetPhotosOutProto: @unchecked Sendable {} +extension InternalGetPhotosOutProto.Result: @unchecked Sendable {} +extension InternalGetPhotosProto: @unchecked Sendable {} +extension InternalGetPhotosProto.PhotoSpec: @unchecked Sendable {} +extension InternalGetPhotosProto.PhotoSpec.GetPhotosMode: @unchecked Sendable {} +extension InternalGetPlayerSettingsOutProto: @unchecked Sendable {} +extension InternalGetPlayerSettingsOutProto.Result: @unchecked Sendable {} +extension InternalGetPlayerSettingsProto: @unchecked Sendable {} +extension InternalGetProfileRequest: @unchecked Sendable {} +extension InternalGetProfileResponse: @unchecked Sendable {} +extension InternalGetProfileResponse.Result: @unchecked Sendable {} +extension InternalGetProfileResponse.PlayerProfileDetailsProto: @unchecked Sendable {} +extension InternalGetSignedUrlOutProto: @unchecked Sendable {} +extension InternalGetSignedUrlOutProto.Result: @unchecked Sendable {} +extension InternalGetSignedUrlProto: @unchecked Sendable {} +extension InternalGetWebTokenActionOutProto: @unchecked Sendable {} +extension InternalGetWebTokenActionOutProto.Status: @unchecked Sendable {} +extension InternalGetWebTokenActionProto: @unchecked Sendable {} +extension InternalGuestLoginAuthToken: @unchecked Sendable {} +extension InternalIncomingFriendInviteDisplayProto: @unchecked Sendable {} +extension InternalIncomingFriendInviteProto: @unchecked Sendable {} +extension InternalIncomingFriendInviteProto.Status: @unchecked Sendable {} +extension InternalInviteFacebookFriendOutProto: @unchecked Sendable {} +extension InternalInviteFacebookFriendOutProto.Result: @unchecked Sendable {} +extension InternalInviteFacebookFriendProto: @unchecked Sendable {} +extension InternalInviteGameRequest: @unchecked Sendable {} +extension InternalInviteGameResponse: @unchecked Sendable {} +extension InternalInviteGameResponse.Status: @unchecked Sendable {} +extension InternalIsMyFriendOutProto: @unchecked Sendable {} +extension InternalIsMyFriendOutProto.Result: @unchecked Sendable {} +extension InternalIsMyFriendProto: @unchecked Sendable {} +extension InternalLinkToAccountLoginRequestProto: @unchecked Sendable {} +extension InternalLinkToAccountLoginResponseProto: @unchecked Sendable {} +extension InternalLinkToAccountLoginResponseProto.Status: @unchecked Sendable {} +extension InternalListFriendsRequest: @unchecked Sendable {} +extension InternalListFriendsResponse: @unchecked Sendable {} +extension InternalListFriendsResponse.Result: @unchecked Sendable {} +extension InternalListFriendsResponse.FriendSummaryProto: @unchecked Sendable {} +extension InternalListFriendsResponse.PlayerStatusSummaryProto: @unchecked Sendable {} +extension InternalListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult: @unchecked Sendable {} +extension InternalListFriendsResponse.ProfileSummaryProto: @unchecked Sendable {} +extension InternalListLoginActionOutProto: @unchecked Sendable {} +extension InternalLocationPingProto: @unchecked Sendable {} +extension InternalLocationPingProto.PingReason: @unchecked Sendable {} +extension InternalLoginDetail: @unchecked Sendable {} +extension InternalMarketingTelemetry: @unchecked Sendable {} +extension InternalMarketingTelemetry.OneOf_Event: @unchecked Sendable {} +extension InternalMarketingTelemetryMetadata: @unchecked Sendable {} +extension InternalMarketingTelemetryWrapper: @unchecked Sendable {} +extension InternalNianticPublicSharedLoginTokenSettings: @unchecked Sendable {} +extension InternalNianticPublicSharedLoginTokenSettings.AppSettings: @unchecked Sendable {} +extension InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings: @unchecked Sendable {} +extension InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings: @unchecked Sendable {} +extension InternalNianticPublicSharedLoginTokenSettings.ClientSettings: @unchecked Sendable {} +extension InternalNotifyContactListFriendsRequest: @unchecked Sendable {} +extension InternalNotifyContactListFriendsResponse: @unchecked Sendable {} +extension InternalNotifyContactListFriendsResponse.Result: @unchecked Sendable {} +extension InternalOptOutProto: @unchecked Sendable {} +extension InternalOutgoingFriendInviteDisplayProto: @unchecked Sendable {} +extension InternalOutgoingFriendInviteProto: @unchecked Sendable {} +extension InternalOutgoingFriendInviteProto.Status: @unchecked Sendable {} +extension InternalPhoneNumberCountryProto: @unchecked Sendable {} +extension InternalPhotoRecord: @unchecked Sendable {} +extension InternalPhotoRecord.Status: @unchecked Sendable {} +extension InternalPlayerSettingsProto: @unchecked Sendable {} +extension InternalPlayerSummaryProto: @unchecked Sendable {} +extension InternalProfileDetailsProto: @unchecked Sendable {} +extension InternalProxyRequestProto: @unchecked Sendable {} +extension InternalProxyResponseProto: @unchecked Sendable {} +extension InternalProxyResponseProto.Status: @unchecked Sendable {} +extension InternalPushNotificationRegistryOutProto: @unchecked Sendable {} +extension InternalPushNotificationRegistryOutProto.Result: @unchecked Sendable {} +extension InternalPushNotificationRegistryProto: @unchecked Sendable {} +extension InternalReferContactListFriendRequest: @unchecked Sendable {} +extension InternalReferContactListFriendRequest.ReferralProto: @unchecked Sendable {} +extension InternalReferContactListFriendResponse: @unchecked Sendable {} +extension InternalReferContactListFriendResponse.Result: @unchecked Sendable {} +extension InternalReferralProto: @unchecked Sendable {} +extension InternalRemoveFriendOutProto: @unchecked Sendable {} +extension InternalRemoveFriendOutProto.Result: @unchecked Sendable {} +extension InternalRemoveFriendProto: @unchecked Sendable {} +extension InternalRemoveLoginActionOutProto: @unchecked Sendable {} +extension InternalRemoveLoginActionOutProto.Status: @unchecked Sendable {} +extension InternalRemoveLoginActionProto: @unchecked Sendable {} +extension InternalSavePlayerSettingsOutProto: @unchecked Sendable {} +extension InternalSavePlayerSettingsOutProto.Result: @unchecked Sendable {} +extension InternalSavePlayerSettingsProto: @unchecked Sendable {} +extension InternalSearchPlayerOutProto: @unchecked Sendable {} +extension InternalSearchPlayerOutProto.Result: @unchecked Sendable {} +extension InternalSearchPlayerProto: @unchecked Sendable {} +extension InternalSendContactListFriendInviteRequest: @unchecked Sendable {} +extension InternalSendContactListFriendInviteResponse: @unchecked Sendable {} +extension InternalSendContactListFriendInviteResponse.Result: @unchecked Sendable {} +extension InternalSendFriendInviteOutProto: @unchecked Sendable {} +extension InternalSendFriendInviteOutProto.Result: @unchecked Sendable {} +extension InternalSendFriendInviteProto: @unchecked Sendable {} +extension InternalSendSmsVerificationCodeRequest: @unchecked Sendable {} +extension InternalSendSmsVerificationCodeResponse: @unchecked Sendable {} +extension InternalSendSmsVerificationCodeResponse.Status: @unchecked Sendable {} +extension InternalSetAccountContactSettingsRequest: @unchecked Sendable {} +extension InternalSetAccountContactSettingsResponse: @unchecked Sendable {} +extension InternalSetAccountContactSettingsResponse.Status: @unchecked Sendable {} +extension InternalSetAccountSettingsOutProto: @unchecked Sendable {} +extension InternalSetAccountSettingsOutProto.Result: @unchecked Sendable {} +extension InternalSetAccountSettingsProto: @unchecked Sendable {} +extension InternalSocialClientFeatures: @unchecked Sendable {} +extension InternalSocialClientFeatures.CrossGameSocialClientSettingsProto: @unchecked Sendable {} +extension InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType: @unchecked Sendable {} +extension InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType: @unchecked Sendable {} +extension InternalSocialClientGlobalSettings: @unchecked Sendable {} +extension InternalSocialClientGlobalSettings.CrossGameSocialSettingsProto: @unchecked Sendable {} +extension InternalSocialProto: @unchecked Sendable {} +extension InternalSocialProto.AppKey: @unchecked Sendable {} +extension InternalSocialSettings: @unchecked Sendable {} +extension InternalSocialSettings.ConsentStatus: @unchecked Sendable {} +extension InternalSocialSettings.TutorialType: @unchecked Sendable {} +extension InternalSocialV2Enum: @unchecked Sendable {} +extension InternalSocialV2Enum.ContactMethod: @unchecked Sendable {} +extension InternalSocialV2Enum.InvitationStatus: @unchecked Sendable {} +extension InternalSocialV2Enum.OnlineStatus: @unchecked Sendable {} +extension InternalSubmitImageOutProto: @unchecked Sendable {} +extension InternalSubmitImageOutProto.Result: @unchecked Sendable {} +extension InternalSubmitImageProto: @unchecked Sendable {} +extension InternalSyncContactListRequest: @unchecked Sendable {} +extension InternalSyncContactListRequest.ContactProto: @unchecked Sendable {} +extension InternalSyncContactListResponse: @unchecked Sendable {} +extension InternalSyncContactListResponse.Result: @unchecked Sendable {} +extension InternalSyncContactListResponse.ContactPlayerProto: @unchecked Sendable {} +extension InternalSyncContactListResponse.ContactPlayerProto.ContactStatus: @unchecked Sendable {} +extension InternalSyncContactListResponse.ContactPlayerProto.PlayerProto: @unchecked Sendable {} +extension InternalTemplateVariable: @unchecked Sendable {} +extension InternalUpdateAdventureSyncSettingsRequestProto: @unchecked Sendable {} +extension InternalUpdateAdventureSyncSettingsResponseProto: @unchecked Sendable {} +extension InternalUpdateAdventureSyncSettingsResponseProto.Status: @unchecked Sendable {} +extension InternalUpdateBreadcrumbHistoryRequestProto: @unchecked Sendable {} +extension InternalUpdateBreadcrumbHistoryResponseProto: @unchecked Sendable {} +extension InternalUpdateBreadcrumbHistoryResponseProto.Status: @unchecked Sendable {} +extension InternalUpdateFacebookStatusOutProto: @unchecked Sendable {} +extension InternalUpdateFacebookStatusOutProto.Result: @unchecked Sendable {} +extension InternalUpdateFacebookStatusProto: @unchecked Sendable {} +extension InternalUpdateFriendshipRequest: @unchecked Sendable {} +extension InternalUpdateFriendshipRequest.FriendProfileProto: @unchecked Sendable {} +extension InternalUpdateFriendshipResponse: @unchecked Sendable {} +extension InternalUpdateFriendshipResponse.Result: @unchecked Sendable {} +extension InternalUpdateIncomingGameInviteRequest: @unchecked Sendable {} +extension InternalUpdateIncomingGameInviteRequest.NewStatus: @unchecked Sendable {} +extension InternalUpdateIncomingGameInviteResponse: @unchecked Sendable {} +extension InternalUpdateIncomingGameInviteResponse.Result: @unchecked Sendable {} +extension InternalUpdateNotificationOutProto: @unchecked Sendable {} +extension InternalUpdateNotificationProto: @unchecked Sendable {} +extension InternalUpdatePhoneNumberRequest: @unchecked Sendable {} +extension InternalUpdatePhoneNumberResponse: @unchecked Sendable {} +extension InternalUpdatePhoneNumberResponse.Status: @unchecked Sendable {} +extension InternalUpdateProfileRequest: @unchecked Sendable {} +extension InternalUpdateProfileRequest.ProfileProto: @unchecked Sendable {} +extension InternalUpdateProfileResponse: @unchecked Sendable {} +extension InternalUpdateProfileResponse.Result: @unchecked Sendable {} +extension InvasionAvailabilitySettingsProto: @unchecked Sendable {} +extension InvasionAvailabilitySettingsProto.InvasionAvailabilitySettingsId: @unchecked Sendable {} +extension InvasionBattleResponseUpdate: @unchecked Sendable {} +extension InvasionBattleUpdate: @unchecked Sendable {} +extension InvasionCreateDetail: @unchecked Sendable {} +extension InvasionEncounterOutProto: @unchecked Sendable {} +extension InvasionEncounterOutProto.PremierBallsDisplayProto: @unchecked Sendable {} +extension InvasionEncounterProto: @unchecked Sendable {} +extension InvasionFinishedDisplayProto: @unchecked Sendable {} +extension InvasionNpcDisplaySettingsProto: @unchecked Sendable {} +extension InvasionOpenCombatSessionData: @unchecked Sendable {} +extension InvasionOpenCombatSessionResponseData: @unchecked Sendable {} +extension InvasionStatus: @unchecked Sendable {} +extension InvasionStatus.Status: @unchecked Sendable {} +extension InvasionTelemetry: @unchecked Sendable {} +extension InvasionVictoryLogEntry: @unchecked Sendable {} +extension InventoryDeltaProto: @unchecked Sendable {} +extension InventoryItemProto: @unchecked Sendable {} +extension InventoryItemProto.OneOf_InventoryItem: @unchecked Sendable {} +extension InventoryProto: @unchecked Sendable {} +extension InventoryProto.InventoryType: @unchecked Sendable {} +extension InventoryProto.DiffInventoryProto: @unchecked Sendable {} +extension InventorySettingsProto: @unchecked Sendable {} +extension InventoryUpgradeAttributesProto: @unchecked Sendable {} +extension InventoryUpgradeProto: @unchecked Sendable {} +extension InventoryUpgradesProto: @unchecked Sendable {} +extension IosDevice: @unchecked Sendable {} +extension IosSourceRevision: @unchecked Sendable {} +extension IrisPokemonObjectProto: @unchecked Sendable {} +extension IsSkuAvailableOutProto: @unchecked Sendable {} +extension IsSkuAvailableProto: @unchecked Sendable {} +extension ItemInventoryUpdateSettingsProto: @unchecked Sendable {} +extension ItemInventoryUpdateSettingsProto.CategoryProto: @unchecked Sendable {} +extension ItemProto: @unchecked Sendable {} +extension ItemRewardProto: @unchecked Sendable {} +extension ItemSettingsProto: @unchecked Sendable {} +extension ItemTelemetry: @unchecked Sendable {} +extension JoinBuddyMultiplayerSessionOutProto: @unchecked Sendable {} +extension JoinBuddyMultiplayerSessionOutProto.Result: @unchecked Sendable {} +extension JoinBuddyMultiplayerSessionProto: @unchecked Sendable {} +extension JoinLobbyData: @unchecked Sendable {} +extension JoinLobbyOutProto: @unchecked Sendable {} +extension JoinLobbyOutProto.Result: @unchecked Sendable {} +extension JoinLobbyProto: @unchecked Sendable {} +extension JoinLobbyResponseData: @unchecked Sendable {} +extension JoinPartyOutProto: @unchecked Sendable {} +extension JoinPartyOutProto.Result: @unchecked Sendable {} +extension JoinPartyProto: @unchecked Sendable {} +extension JoinedPlayerObfuscationEntryProto: @unchecked Sendable {} +extension JoinedPlayerObfuscationMapProto: @unchecked Sendable {} +extension JournalAddEntryProto: @unchecked Sendable {} +extension JournalEntryProto: @unchecked Sendable {} +extension JournalEntryProto.OneOf_Subentry: @unchecked Sendable {} +extension JournalReadEntryProto: @unchecked Sendable {} +extension JournalRemoveEntryProto: @unchecked Sendable {} +extension JournalVersionProto: @unchecked Sendable {} +extension KangarooSettingsProto: @unchecked Sendable {} +extension KoalaSettingsProto: @unchecked Sendable {} +extension Label: @unchecked Sendable {} +extension LabelContentLocalization: @unchecked Sendable {} +extension LanguageBundleProto: @unchecked Sendable {} +extension LanguageSelectorSettingsProto: @unchecked Sendable {} +extension LanguageSettingsProto: @unchecked Sendable {} +extension LanguageTelemetry: @unchecked Sendable {} +extension Layer: @unchecked Sendable {} +extension LeagueIdMismatchData: @unchecked Sendable {} +extension LeaveBuddyMultiplayerSessionOutProto: @unchecked Sendable {} +extension LeaveBuddyMultiplayerSessionOutProto.Result: @unchecked Sendable {} +extension LeaveBuddyMultiplayerSessionProto: @unchecked Sendable {} +extension LeaveInteractionRangeTelemetry: @unchecked Sendable {} +extension LeaveLobbyData: @unchecked Sendable {} +extension LeaveLobbyOutProto: @unchecked Sendable {} +extension LeaveLobbyOutProto.Result: @unchecked Sendable {} +extension LeaveLobbyProto: @unchecked Sendable {} +extension LeaveLobbyResponseData: @unchecked Sendable {} +extension LeavePartyOutProto: @unchecked Sendable {} +extension LeavePartyOutProto.Result: @unchecked Sendable {} +extension LeavePartyProto: @unchecked Sendable {} +extension LeavePartyProto.ReasonToLeave: @unchecked Sendable {} +extension LeavePointOfInterestTelemetry: @unchecked Sendable {} +extension LevelSettingsProto: @unchecked Sendable {} +extension LevelUpRewardsOutProto: @unchecked Sendable {} +extension LevelUpRewardsOutProto.Result: @unchecked Sendable {} +extension LevelUpRewardsProto: @unchecked Sendable {} +extension LevelUpRewardsSettingsProto: @unchecked Sendable {} +extension LeveledUpFriendsProto: @unchecked Sendable {} +extension LimitedEditionPokemonEncounterRewardProto: @unchecked Sendable {} +extension LimitedEditionPokemonEncounterRewardProto.OneOf_Limit: @unchecked Sendable {} +extension LimitedPurchaseSkuRecordProto: @unchecked Sendable {} +extension LimitedPurchaseSkuRecordProto.ChronoUnit: @unchecked Sendable {} +extension LimitedPurchaseSkuRecordProto.PurchaseProto: @unchecked Sendable {} +extension LimitedPurchaseSkuSettingsProto: @unchecked Sendable {} +extension LineProto: @unchecked Sendable {} +extension LinkLoginTelemetry: @unchecked Sendable {} +extension LinkToAccountLoginRequestProto: @unchecked Sendable {} +extension LinkToAccountLoginResponseProto: @unchecked Sendable {} +extension LinkToAccountLoginResponseProto.Status: @unchecked Sendable {} +extension ListAvatarAppearanceItemsOutProto: @unchecked Sendable {} +extension ListAvatarAppearanceItemsOutProto.Result: @unchecked Sendable {} +extension ListAvatarAppearanceItemsProto: @unchecked Sendable {} +extension ListAvatarCustomizationsOutProto: @unchecked Sendable {} +extension ListAvatarCustomizationsOutProto.Label: @unchecked Sendable {} +extension ListAvatarCustomizationsOutProto.Result: @unchecked Sendable {} +extension ListAvatarCustomizationsOutProto.AvatarCustomization: @unchecked Sendable {} +extension ListAvatarCustomizationsProto: @unchecked Sendable {} +extension ListAvatarCustomizationsProto.Filter: @unchecked Sendable {} +extension ListAvatarStoreItemsOutProto: @unchecked Sendable {} +extension ListAvatarStoreItemsOutProto.Result: @unchecked Sendable {} +extension ListAvatarStoreItemsProto: @unchecked Sendable {} +extension ListGymBadgesOutProto: @unchecked Sendable {} +extension ListGymBadgesProto: @unchecked Sendable {} +extension ListLoginActionOutProto: @unchecked Sendable {} +extension ListRouteBadgesOutProto: @unchecked Sendable {} +extension ListRouteBadgesProto: @unchecked Sendable {} +extension ListRouteStampsOutProto: @unchecked Sendable {} +extension ListRouteStampsProto: @unchecked Sendable {} +extension ListValue: @unchecked Sendable {} +extension LoadingScreenProto: @unchecked Sendable {} +extension LoadingScreenTipsSettingsProto: @unchecked Sendable {} +extension LobbyClientSettingsProto: @unchecked Sendable {} +extension LobbyPokemonProto: @unchecked Sendable {} +extension LobbyProto: @unchecked Sendable {} +extension LobbyVisibilityData: @unchecked Sendable {} +extension LobbyVisibilityResponseData: @unchecked Sendable {} +extension LocationCardDisplayProto: @unchecked Sendable {} +extension LocationCardFeatureSettingsProto: @unchecked Sendable {} +extension LocationCardSettingsProto: @unchecked Sendable {} +extension LocationE6Proto: @unchecked Sendable {} +extension LocationPingOutProto: @unchecked Sendable {} +extension LocationPingProto: @unchecked Sendable {} +extension LocationPingProto.PingReason: @unchecked Sendable {} +extension LocationPingUpdateProto: @unchecked Sendable {} +extension LocationPingUpdateProto.PingReason: @unchecked Sendable {} +extension LogEntry: @unchecked Sendable {} +extension LogEntry.OneOf_Data: @unchecked Sendable {} +extension LogEntry.LogEntryHeader: @unchecked Sendable {} +extension LogEntry.LogEntryHeader.LogType: @unchecked Sendable {} +extension LogMessage: @unchecked Sendable {} +extension LogMessage.LogLevel: @unchecked Sendable {} +extension LoginActionTelemetry: @unchecked Sendable {} +extension LoginDetail: @unchecked Sendable {} +extension LoginNewPlayer: @unchecked Sendable {} +extension LoginNewPlayerCreateAccount: @unchecked Sendable {} +extension LoginReturningPlayer: @unchecked Sendable {} +extension LoginReturningPlayerSignIn: @unchecked Sendable {} +extension LoginSettingsProto: @unchecked Sendable {} +extension LoginStartup: @unchecked Sendable {} +extension LoopProto: @unchecked Sendable {} +extension LootItemProto: @unchecked Sendable {} +extension LootItemProto.OneOf_Type: @unchecked Sendable {} +extension LootProto: @unchecked Sendable {} +extension LuckyPokemonSettingsProto: @unchecked Sendable {} +extension MapArea: @unchecked Sendable {} +extension MapBuddySettingsProto: @unchecked Sendable {} +extension MapCompositionRoot: @unchecked Sendable {} +extension MapCoordOverlayProto: @unchecked Sendable {} +extension MapDisplaySettingsProto: @unchecked Sendable {} +extension MapDisplaySettingsProto.MapEffect: @unchecked Sendable {} +extension MapDisplaySettingsProto.MusicType: @unchecked Sendable {} +extension MapEventsTelemetry: @unchecked Sendable {} +extension MapIconsSettingsProto: @unchecked Sendable {} +extension MapPokemonProto: @unchecked Sendable {} +extension MapProvider: @unchecked Sendable {} +extension MapProvider.MapType: @unchecked Sendable {} +extension MapQueryRequestProto: @unchecked Sendable {} +extension MapQueryResponseProto: @unchecked Sendable {} +extension MapRighthandIconsTelemetry: @unchecked Sendable {} +extension MapRighthandIconsTelemetry.IconEvents: @unchecked Sendable {} +extension MapS2Cell: @unchecked Sendable {} +extension MapS2CellEntity: @unchecked Sendable {} +extension MapS2CellEntity.Location: @unchecked Sendable {} +extension MapSettingsProto: @unchecked Sendable {} +extension MapTile: @unchecked Sendable {} +extension MapTileBundle: @unchecked Sendable {} +extension MapTilesProcessed: @unchecked Sendable {} +extension MapsClientTelemetryClientSettingsProto: @unchecked Sendable {} +extension MapsClientTelemetryCommonFilterProto: @unchecked Sendable {} +extension MapsClientTelemetryOmniProto: @unchecked Sendable {} +extension MapsClientTelemetryOmniProto.OneOf_TelemetryEvent: @unchecked Sendable {} +extension MapsClientTelemetryRecordResult: @unchecked Sendable {} +extension MapsClientTelemetryRecordResult.Status: @unchecked Sendable {} +extension MapsClientTelemetryResponseProto: @unchecked Sendable {} +extension MapsClientTelemetryResponseProto.Status: @unchecked Sendable {} +extension MapsPlatformPlayerInfo: @unchecked Sendable {} +extension MapsTelemetryAttribute: @unchecked Sendable {} +extension MapsTelemetryAttribute.Label: @unchecked Sendable {} +extension MapsTelemetryAttributeRecordProto: @unchecked Sendable {} +extension MapsTelemetryAttributeRecordProto.OneOf_Metadata: @unchecked Sendable {} +extension MapsTelemetryBatchProto: @unchecked Sendable {} +extension MapsTelemetryCommonFilterProto: @unchecked Sendable {} +extension MapsTelemetryEventRecordProto: @unchecked Sendable {} +extension MapsTelemetryEventRecordProto.OneOf_Message: @unchecked Sendable {} +extension MapsTelemetryEventRecordProto.OneOf_Metadata: @unchecked Sendable {} +extension MapsTelemetryField: @unchecked Sendable {} +extension MapsTelemetryKey: @unchecked Sendable {} +extension MapsTelemetryMetadataProto: @unchecked Sendable {} +extension MapsTelemetryMetadataProto.TelemetryScopeId: @unchecked Sendable {} +extension MapsTelemetryMetricRecordProto: @unchecked Sendable {} +extension MapsTelemetryMetricRecordProto.OneOf_Metadata: @unchecked Sendable {} +extension MapsTelemetryMetricRecordProto.OneOf_Value: @unchecked Sendable {} +extension MapsTelemetryMetricRecordProto.Kind: @unchecked Sendable {} +extension MapsTelemetryRequestProto: @unchecked Sendable {} +extension MapsTelemetryValue: @unchecked Sendable {} +extension MapsTelemetryValue.OneOf_Value: @unchecked Sendable {} +extension MarkMilestoneAsViewedOutProto: @unchecked Sendable {} +extension MarkMilestoneAsViewedOutProto.Status: @unchecked Sendable {} +extension MarkMilestoneAsViewedProto: @unchecked Sendable {} +extension MarkMilestoneAsViewedProto.MilestoneLookupProto: @unchecked Sendable {} +extension MarkNewsfeedReadResponse: @unchecked Sendable {} +extension MarkNewsfeedReadResponse.Result: @unchecked Sendable {} +extension MarkReadNewsArticleOutProto: @unchecked Sendable {} +extension MarkReadNewsArticleOutProto.Result: @unchecked Sendable {} +extension MarkReadNewsArticleProto: @unchecked Sendable {} +extension MarkTutorialCompleteOutProto: @unchecked Sendable {} +extension MarkTutorialCompleteProto: @unchecked Sendable {} +extension MarketingTelemetryNewsfeedEvent: @unchecked Sendable {} +extension MarketingTelemetryNewsfeedEvent.NewsfeedEventType: @unchecked Sendable {} +extension MarketingTelemetryPushNotificationEvent: @unchecked Sendable {} +extension MarketingTelemetryPushNotificationEvent.PushNotificationEventType: @unchecked Sendable {} +extension MegaEvoGlobalSettingsProto: @unchecked Sendable {} +extension MegaEvoInfoProto: @unchecked Sendable {} +extension MegaEvoSettingsProto: @unchecked Sendable {} +extension MegaEvolutionCooldownSettingsProto: @unchecked Sendable {} +extension MegaEvolutionEffectsSettingsProto: @unchecked Sendable {} +extension MegaEvolutionLevelSettingsProto: @unchecked Sendable {} +extension MegaEvolutionProgressionSettingsProto: @unchecked Sendable {} +extension MegaEvolvePokemonClientContextHelper: @unchecked Sendable {} +extension MegaEvolvePokemonClientContextHelper.MegaEvolvePokemonClientContext: @unchecked Sendable {} +extension MegaEvolvePokemonOutProto: @unchecked Sendable {} +extension MegaEvolvePokemonOutProto.Result: @unchecked Sendable {} +extension MegaEvolvePokemonProto: @unchecked Sendable {} +extension MegaEvolvePokemonSpeciesProto: @unchecked Sendable {} +extension MementoAttributesProto: @unchecked Sendable {} +extension MementoAttributesProto.OneOf_Type: @unchecked Sendable {} +extension MessageOptions: @unchecked Sendable {} +extension MethodDescriptorProto: @unchecked Sendable {} +extension MethodOptions: @unchecked Sendable {} +extension MiniCollectionBadgeData: @unchecked Sendable {} +extension MiniCollectionBadgeEvent: @unchecked Sendable {} +extension MiniCollectionPokemon: @unchecked Sendable {} +extension MiniCollectionPokemon.CollectType: @unchecked Sendable {} +extension MiniCollectionProto: @unchecked Sendable {} +extension MiniCollectionSectionProto: @unchecked Sendable {} +extension MissingTranslationTelemetry: @unchecked Sendable {} +extension MonodepthDownloadTelemetry: @unchecked Sendable {} +extension MonodepthSettingsProto: @unchecked Sendable {} +extension MotivatedPokemonProto: @unchecked Sendable {} +extension MoveModifierGroup: @unchecked Sendable {} +extension MoveModifierProto: @unchecked Sendable {} +extension MoveModifierProto.MoveModifierMode: @unchecked Sendable {} +extension MoveModifierProto.MoveModifierTarget: @unchecked Sendable {} +extension MoveModifierProto.MoveModifierType: @unchecked Sendable {} +extension MoveModifierProto.ModifierCondition: @unchecked Sendable {} +extension MoveModifierProto.ModifierCondition.ConditionType: @unchecked Sendable {} +extension MoveSequenceSettingsProto: @unchecked Sendable {} +extension MoveSettingsProto: @unchecked Sendable {} +extension MultiPartQuestProto: @unchecked Sendable {} +extension MultiSelectorProto: @unchecked Sendable {} +extension MusicSettingsProto: @unchecked Sendable {} +extension NativeAdUnitSettingsProto: @unchecked Sendable {} +extension NearbyPokemonProto: @unchecked Sendable {} +extension NearbyPokemonSettings: @unchecked Sendable {} +extension NearbyPokemonSettings.PokemonPriority: @unchecked Sendable {} +extension NetworkTelemetry: @unchecked Sendable {} +extension NeutralAvatarBadgeRewardOutProto: @unchecked Sendable {} +extension NeutralAvatarBadgeRewardOutProto.Result: @unchecked Sendable {} +extension NeutralAvatarBadgeRewardProto: @unchecked Sendable {} +extension NeutralAvatarItemProto: @unchecked Sendable {} +extension NeutralAvatarSettingsProto: @unchecked Sendable {} +extension NewInboxMessage: @unchecked Sendable {} +extension NewsArticleProto: @unchecked Sendable {} +extension NewsArticleProto.NewsTemplate: @unchecked Sendable {} +extension NewsFeedClientSettingsProto: @unchecked Sendable {} +extension NewsGlobalSettingsProto: @unchecked Sendable {} +extension NewsPageTelemetry: @unchecked Sendable {} +extension NewsProto: @unchecked Sendable {} +extension NewsSettingProto: @unchecked Sendable {} +extension NewsfeedMetadata: @unchecked Sendable {} +extension NewsfeedPost: @unchecked Sendable {} +extension NewsfeedPost.NewsfeedChannel: @unchecked Sendable {} +extension NewsfeedPost.PreviewMetadata: @unchecked Sendable {} +extension NewsfeedPostRecord: @unchecked Sendable {} +extension NiaAny: @unchecked Sendable {} +extension NiaAuthAuthenticateAppleSignInRequestProto: @unchecked Sendable {} +extension NiaAuthAuthenticateAppleSignInResponseProto: @unchecked Sendable {} +extension NiaAuthAuthenticateAppleSignInResponseProto.Status: @unchecked Sendable {} +extension NiaAuthValidateNiaAppleAuthTokenRequestProto: @unchecked Sendable {} +extension NiaAuthValidateNiaAppleAuthTokenResponseProto: @unchecked Sendable {} +extension NiaAuthValidateNiaAppleAuthTokenResponseProto.Status: @unchecked Sendable {} +extension NiaIdMigrationSettingsProto: @unchecked Sendable {} +extension NianticProfileTelemetry: @unchecked Sendable {} +extension NianticProfileTelemetry.NianticProfileTelemetryIds: @unchecked Sendable {} +extension NianticSharedLoginProto: @unchecked Sendable {} +extension NianticToken: @unchecked Sendable {} +extension NianticTokenRequest: @unchecked Sendable {} +extension NianticTokenRequest.SessionOptions: @unchecked Sendable {} +extension NicknamePokemonOutProto: @unchecked Sendable {} +extension NicknamePokemonOutProto.Result: @unchecked Sendable {} +extension NicknamePokemonProto: @unchecked Sendable {} +extension NicknamePokemonTelemetry: @unchecked Sendable {} +extension NonCombatMoveSettingsProto: @unchecked Sendable {} +extension NotificationPermissionsTelemetry: @unchecked Sendable {} +extension NotificationSettingsProto: @unchecked Sendable {} +extension NpcEncounterProto: @unchecked Sendable {} +extension NpcEncounterProto.NpcEncounterStep: @unchecked Sendable {} +extension NpcEventProto: @unchecked Sendable {} +extension NpcEventProto.OneOf_State: @unchecked Sendable {} +extension NpcEventProto.Event: @unchecked Sendable {} +extension NpcOpenGiftOutProto: @unchecked Sendable {} +extension NpcOpenGiftOutProto.Result: @unchecked Sendable {} +extension NpcOpenGiftProto: @unchecked Sendable {} +extension NpcPokemonProto: @unchecked Sendable {} +extension NpcRouteGiftOutProto: @unchecked Sendable {} +extension NpcRouteGiftOutProto.RouteFortDetails: @unchecked Sendable {} +extension NpcRouteGiftProto: @unchecked Sendable {} +extension NpcSendGiftOutProto: @unchecked Sendable {} +extension NpcSendGiftOutProto.Result: @unchecked Sendable {} +extension NpcSendGiftProto: @unchecked Sendable {} +extension NpcUpdateStateOutProto: @unchecked Sendable {} +extension NpcUpdateStateOutProto.State: @unchecked Sendable {} +extension NpcUpdateStateProto: @unchecked Sendable {} +extension OAuthTokenRequest: @unchecked Sendable {} +extension OfferRecord: @unchecked Sendable {} +extension OnApplicationFocusData: @unchecked Sendable {} +extension OnApplicationPauseData: @unchecked Sendable {} +extension OnApplicationQuitData: @unchecked Sendable {} +extension OnboardingSettingsProto: @unchecked Sendable {} +extension OnboardingTelemetry: @unchecked Sendable {} +extension OnboardingV2SettingsProto: @unchecked Sendable {} +extension OneWaySharedFriendshipDataProto: @unchecked Sendable {} +extension OneofDescriptorProto: @unchecked Sendable {} +extension OneofOptions: @unchecked Sendable {} +extension OpenBuddyGiftOutProto: @unchecked Sendable {} +extension OpenBuddyGiftOutProto.Result: @unchecked Sendable {} +extension OpenBuddyGiftProto: @unchecked Sendable {} +extension OpenCampfireMapTelemetry: @unchecked Sendable {} +extension OpenCampfireMapTelemetry.SourcePage: @unchecked Sendable {} +extension OpenCombatChallengeData: @unchecked Sendable {} +extension OpenCombatChallengeOutProto: @unchecked Sendable {} +extension OpenCombatChallengeOutProto.Result: @unchecked Sendable {} +extension OpenCombatChallengeProto: @unchecked Sendable {} +extension OpenCombatChallengeResponseData: @unchecked Sendable {} +extension OpenCombatSessionData: @unchecked Sendable {} +extension OpenCombatSessionOutProto: @unchecked Sendable {} +extension OpenCombatSessionOutProto.Result: @unchecked Sendable {} +extension OpenCombatSessionProto: @unchecked Sendable {} +extension OpenCombatSessionResponseData: @unchecked Sendable {} +extension OpenGiftLogEntry: @unchecked Sendable {} +extension OpenGiftLogEntry.Result: @unchecked Sendable {} +extension OpenGiftOutProto: @unchecked Sendable {} +extension OpenGiftOutProto.Result: @unchecked Sendable {} +extension OpenGiftProto: @unchecked Sendable {} +extension OpenInvasionCombatSessionOutProto: @unchecked Sendable {} +extension OpenInvasionCombatSessionProto: @unchecked Sendable {} +extension OpenNpcCombatSessionData: @unchecked Sendable {} +extension OpenNpcCombatSessionOutProto: @unchecked Sendable {} +extension OpenNpcCombatSessionOutProto.Result: @unchecked Sendable {} +extension OpenNpcCombatSessionProto: @unchecked Sendable {} +extension OpenNpcCombatSessionResponseData: @unchecked Sendable {} +extension OpenSponsoredGiftOutProto: @unchecked Sendable {} +extension OpenSponsoredGiftOutProto.Result: @unchecked Sendable {} +extension OpenSponsoredGiftProto: @unchecked Sendable {} +extension OpenTradingOutProto: @unchecked Sendable {} +extension OpenTradingOutProto.Result: @unchecked Sendable {} +extension OpenTradingProto: @unchecked Sendable {} +extension OptOutProto: @unchecked Sendable {} +extension OptimizationsProto: @unchecked Sendable {} +extension ParticipationProto: @unchecked Sendable {} +extension PartyActivityStatProto: @unchecked Sendable {} +extension PartyActivitySummaryProto: @unchecked Sendable {} +extension PartyActivitySummaryRpcProto: @unchecked Sendable {} +extension PartyActivitySummaryRpcProto.PlayerActivityRpcProto: @unchecked Sendable {} +extension PartyDarkLaunchLogMessageProto: @unchecked Sendable {} +extension PartyDarkLaunchLogMessageProto.LogLevel: @unchecked Sendable {} +extension PartyDarkLaunchSettingsProto: @unchecked Sendable {} +extension PartyDarkLaunchSettingsProto.CreateOrJoinWaitProbabilityProto: @unchecked Sendable {} +extension PartyDarkLaunchSettingsProto.LeavePartyProbabilityProto: @unchecked Sendable {} +extension PartyHistoryRpcProto: @unchecked Sendable {} +extension PartyIapBoostsSettingsProto: @unchecked Sendable {} +extension PartyIapBoostsSettingsProto.PartyIapBoostProto: @unchecked Sendable {} +extension PartyItemProto: @unchecked Sendable {} +extension PartyLocationPushProto: @unchecked Sendable {} +extension PartyLocationSampleProto: @unchecked Sendable {} +extension PartyLocationsRpcProto: @unchecked Sendable {} +extension PartyLocationsRpcProto.PlayerLocationRpcProto: @unchecked Sendable {} +extension PartyParticipantHistoryRpcProto: @unchecked Sendable {} +extension PartyParticipantProto: @unchecked Sendable {} +extension PartyParticipantRaidInfoProto: @unchecked Sendable {} +extension PartyPlayGeneralSettingsProto: @unchecked Sendable {} +extension PartyPlayGeneralSettingsProto.PgDeliveryMechanic: @unchecked Sendable {} +extension PartyPlayGlobalSettingsProto: @unchecked Sendable {} +extension PartyPlayInvitationDetails: @unchecked Sendable {} +extension PartyPlayPreferences: @unchecked Sendable {} +extension PartyQuestRpcProto: @unchecked Sendable {} +extension PartyQuestStateProto: @unchecked Sendable {} +extension PartyQuestStateProto.PlayerPartyQuestStateProto: @unchecked Sendable {} +extension PartyQuestStateProto.PlayerPartyQuestStateProto.PlayerStatus: @unchecked Sendable {} +extension PartyRecommendationSettingsProto: @unchecked Sendable {} +extension PartyRecommendationSettingsProto.PartyRcommendationMode: @unchecked Sendable {} +extension PartyRpcProto: @unchecked Sendable {} +extension PartySendDarkLaunchLogOutProto: @unchecked Sendable {} +extension PartySendDarkLaunchLogOutProto.Result: @unchecked Sendable {} +extension PartySendDarkLaunchLogProto: @unchecked Sendable {} +extension PartySharedQuestSettingsProto: @unchecked Sendable {} +extension PartySummarySettingsProto: @unchecked Sendable {} +extension PartyUpdateLocationOutProto: @unchecked Sendable {} +extension PartyUpdateLocationOutProto.Result: @unchecked Sendable {} +extension PartyUpdateLocationProto: @unchecked Sendable {} +extension PartyZoneDefinitionProto: @unchecked Sendable {} +extension PartyZonePushProto: @unchecked Sendable {} +extension PasscodeRedeemTelemetry: @unchecked Sendable {} +extension PasscodeRedemptionFlowRequest: @unchecked Sendable {} +extension PasscodeRedemptionFlowRequest.DevicePlatform: @unchecked Sendable {} +extension PasscodeRedemptionFlowResponse: @unchecked Sendable {} +extension PasscodeRedemptionFlowResponse.Status: @unchecked Sendable {} +extension PasscodeRedemptionFlowResponse.Reward: @unchecked Sendable {} +extension PasscodeRewardsLogEntry: @unchecked Sendable {} +extension PasscodeRewardsLogEntry.Result: @unchecked Sendable {} +extension PasscodeSettingsProto: @unchecked Sendable {} +extension PercentScrolledTelemetry: @unchecked Sendable {} +extension PermissionsFlowTelemetry: @unchecked Sendable {} +extension PgoAsyncFileUploadCompleteProto: @unchecked Sendable {} +extension PhotoSettingsProto: @unchecked Sendable {} +extension PhotobombCreateDetail: @unchecked Sendable {} +extension PingRequestProto: @unchecked Sendable {} +extension PingResponseProto: @unchecked Sendable {} +extension PlacedPokemonUpdateProto: @unchecked Sendable {} +extension PlacedPokemonUpdateProto.PlacementUpdateType: @unchecked Sendable {} +extension PlannedDowntimeSettingsProto: @unchecked Sendable {} +extension PlatformCommonFilterProto: @unchecked Sendable {} +extension PlatformFetchNewsfeedRequest: @unchecked Sendable {} +extension PlatformMarkNewsfeedReadRequest: @unchecked Sendable {} +extension PlatformMetricData: @unchecked Sendable {} +extension PlatformMetricData.OneOf_DatapointValue: @unchecked Sendable {} +extension PlatformMetricData.Kind: @unchecked Sendable {} +extension PlatformPlayerInfo: @unchecked Sendable {} +extension PlatformPreAgeGateTrackingOmniproto: @unchecked Sendable {} +extension PlatformPreAgeGateTrackingOmniproto.OneOf_PlatformPreAgeGateEvent: @unchecked Sendable {} +extension PlatformPreLoginTrackingOmniproto: @unchecked Sendable {} +extension PlatformPreLoginTrackingOmniproto.OneOf_PlatformPreLoginEvent: @unchecked Sendable {} +extension PlatformRedeemAppleReceiptOutProto: @unchecked Sendable {} +extension PlatformRedeemAppleReceiptOutProto.Status: @unchecked Sendable {} +extension PlatformRedeemAppleReceiptProto: @unchecked Sendable {} +extension PlatformRedeemSamsungReceiptOutProto: @unchecked Sendable {} +extension PlatformRedeemSamsungReceiptOutProto.Status: @unchecked Sendable {} +extension PlatformRedeemSamsungReceiptProto: @unchecked Sendable {} +extension PlatformServerData: @unchecked Sendable {} +extension PlatypusRolloutSettingsProto: @unchecked Sendable {} +extension PlayerActivitySummaryProto: @unchecked Sendable {} +extension PlayerAttributeRewardProto: @unchecked Sendable {} +extension PlayerAttributesProto: @unchecked Sendable {} +extension PlayerAvatarProto: @unchecked Sendable {} +extension PlayerBadgeProto: @unchecked Sendable {} +extension PlayerBadgeTierEncounterProto: @unchecked Sendable {} +extension PlayerBadgeTierEncounterProto.EncounterState: @unchecked Sendable {} +extension PlayerBadgeTierProto: @unchecked Sendable {} +extension PlayerCameraProto: @unchecked Sendable {} +extension PlayerCombatBadgeStatsProto: @unchecked Sendable {} +extension PlayerCombatStatsProto: @unchecked Sendable {} +extension PlayerContestBadgeStatsProto: @unchecked Sendable {} +extension PlayerContestStatsProto: @unchecked Sendable {} +extension PlayerCurrencyProto: @unchecked Sendable {} +extension PlayerFriendDisplayProto: @unchecked Sendable {} +extension PlayerHudNotificationClickTelemetry: @unchecked Sendable {} +extension PlayerLevelAvatarLockProto: @unchecked Sendable {} +extension PlayerLevelSettingsProto: @unchecked Sendable {} +extension PlayerLocaleProto: @unchecked Sendable {} +extension PlayerNeutralAvatarArticleConfiguration: @unchecked Sendable {} +extension PlayerNeutralAvatarBodyBlendParameters: @unchecked Sendable {} +extension PlayerNeutralAvatarEarSelectionParameters: @unchecked Sendable {} +extension PlayerNeutralAvatarEarSelectionParameters.Shape: @unchecked Sendable {} +extension PlayerNeutralAvatarEyeSelectionParameters: @unchecked Sendable {} +extension PlayerNeutralAvatarEyeSelectionParameters.Shape: @unchecked Sendable {} +extension PlayerNeutralAvatarFacePositionParameters: @unchecked Sendable {} +extension PlayerNeutralAvatarGradient: @unchecked Sendable {} +extension PlayerNeutralAvatarHeadBlendParameters: @unchecked Sendable {} +extension PlayerNeutralAvatarHeadSelectionParameters: @unchecked Sendable {} +extension PlayerNeutralAvatarHeadSelectionParameters.Shape: @unchecked Sendable {} +extension PlayerNeutralAvatarMouthSelectionParameters: @unchecked Sendable {} +extension PlayerNeutralAvatarMouthSelectionParameters.Shape: @unchecked Sendable {} +extension PlayerNeutralAvatarNoseSelectionParameters: @unchecked Sendable {} +extension PlayerNeutralAvatarNoseSelectionParameters.Shape: @unchecked Sendable {} +extension PlayerNeutralAvatarProto: @unchecked Sendable {} +extension PlayerNeutralAvatarProto.OneOf_Head: @unchecked Sendable {} +extension PlayerNeutralColorKey: @unchecked Sendable {} +extension PlayerObfuscationMapEntryProto: @unchecked Sendable {} +extension PlayerPokecoinCapProto: @unchecked Sendable {} +extension PlayerPreferencesProto: @unchecked Sendable {} +extension PlayerPreferencesProto.PostcardTrainerInfoSharingPreference: @unchecked Sendable {} +extension PlayerProfileOutProto: @unchecked Sendable {} +extension PlayerProfileOutProto.Result: @unchecked Sendable {} +extension PlayerProfileOutProto.GymBadges: @unchecked Sendable {} +extension PlayerProfileOutProto.RouteBadges: @unchecked Sendable {} +extension PlayerProfileProto: @unchecked Sendable {} +extension PlayerPublicProfileProto: @unchecked Sendable {} +extension PlayerRaidInfoProto: @unchecked Sendable {} +extension PlayerReputationProto: @unchecked Sendable {} +extension PlayerReputationProto.CheatReputation: @unchecked Sendable {} +extension PlayerRouteStats: @unchecked Sendable {} +extension PlayerShownLevelUpShareScreenTelemetry: @unchecked Sendable {} +extension PlayerSpawnablePokemonOutProto: @unchecked Sendable {} +extension PlayerSpawnablePokemonProto: @unchecked Sendable {} +extension PlayerStatsProto: @unchecked Sendable {} +extension PlayerStatsSnapshotsProto: @unchecked Sendable {} +extension PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto: @unchecked Sendable {} +extension PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto.Reason: @unchecked Sendable {} +extension PlayerUnclaimedPartyQuestIdsProto: @unchecked Sendable {} +extension PoiCategorizationEntryTelemetry: @unchecked Sendable {} +extension PoiCategorizationEntryTelemetry.EntryType: @unchecked Sendable {} +extension PoiCategorizationOperationTelemetry: @unchecked Sendable {} +extension PoiCategorizationOperationTelemetry.OperationType: @unchecked Sendable {} +extension PoiCategoryRemovedTelemetry: @unchecked Sendable {} +extension PoiCategorySelectedTelemetry: @unchecked Sendable {} +extension PoiGlobalSettingsProto: @unchecked Sendable {} +extension PoiInteractionTelemetry: @unchecked Sendable {} +extension PoiInteractionTelemetry.PoiInteraction: @unchecked Sendable {} +extension PoiInteractionTelemetry.PoiType: @unchecked Sendable {} +extension PoiSubmissionPhotoUploadErrorTelemetry: @unchecked Sendable {} +extension PoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds: @unchecked Sendable {} +extension PoiSubmissionTelemetry: @unchecked Sendable {} +extension PoiSubmissionTelemetry.PoiCameraStepIds: @unchecked Sendable {} +extension PoiSubmissionTelemetry.PoiSubmissionGuiEventId: @unchecked Sendable {} +extension PointList: @unchecked Sendable {} +extension PointProto: @unchecked Sendable {} +extension PokeBallAttributesProto: @unchecked Sendable {} +extension PokeCandyProto: @unchecked Sendable {} +extension PokecoinCapProto: @unchecked Sendable {} +extension PokecoinCapSettings: @unchecked Sendable {} +extension PokecoinPurchaseDisplayGmtProto: @unchecked Sendable {} +extension PokecoinPurchaseDisplaySettingsProto: @unchecked Sendable {} +extension PokecoinSectionProto: @unchecked Sendable {} +extension PokedexCategoriesSettingsProto: @unchecked Sendable {} +extension PokedexCategoriesSettingsProto.PokedexCategorySettingsProto: @unchecked Sendable {} +extension PokedexCategoryMilestoneProto: @unchecked Sendable {} +extension PokedexCategoryMilestoneProto.Status: @unchecked Sendable {} +extension PokedexCategorySelectedTelemetry: @unchecked Sendable {} +extension PokedexEntryProto: @unchecked Sendable {} +extension PokedexEntryProto.PokedexCategoryStatus: @unchecked Sendable {} +extension PokedexEntryProto.TempEvoData: @unchecked Sendable {} +extension PokedexSizeStatsSystemSettingsProto: @unchecked Sendable {} +extension PokedexStatProto: @unchecked Sendable {} +extension PokedexStatsProto: @unchecked Sendable {} +extension PokemonBulkUpgradeSettingsProto: @unchecked Sendable {} +extension PokemonCameraAttributesProto: @unchecked Sendable {} +extension PokemonCandyRewardProto: @unchecked Sendable {} +extension PokemonCombatStatsProto: @unchecked Sendable {} +extension PokemonCompareChallenge: @unchecked Sendable {} +extension PokemonCompareChallenge.CompareOperation: @unchecked Sendable {} +extension PokemonCompareChallenge.CompareStat: @unchecked Sendable {} +extension PokemonContestInfoProto: @unchecked Sendable {} +extension PokemonCreateDetail: @unchecked Sendable {} +extension PokemonCreateDetail.OneOf_OriginDetail: @unchecked Sendable {} +extension PokemonCutsceneRefactorSettingsProto: @unchecked Sendable {} +extension PokemonDisplayProto: @unchecked Sendable {} +extension PokemonDisplayProto.Alignment: @unchecked Sendable {} +extension PokemonDisplayProto.Costume: @unchecked Sendable {} +extension PokemonDisplayProto.Form: @unchecked Sendable {} +extension PokemonDisplayProto.Gender: @unchecked Sendable {} +extension PokemonEncounterAttributesProto: @unchecked Sendable {} +extension PokemonEncounterRewardProto: @unchecked Sendable {} +extension PokemonEncounterRewardProto.OneOf_Type: @unchecked Sendable {} +extension PokemonEvolutionQuestProto: @unchecked Sendable {} +extension PokemonExchangeEntryProto: @unchecked Sendable {} +extension PokemonExtendedSettingsProto: @unchecked Sendable {} +extension PokemonFamilyProto: @unchecked Sendable {} +extension PokemonFamilySettingsProto: @unchecked Sendable {} +extension PokemonFilterSettingsProto: @unchecked Sendable {} +extension PokemonFortProto: @unchecked Sendable {} +extension PokemonFxSettingsProto: @unchecked Sendable {} +extension PokemonGlobalSettingsProto: @unchecked Sendable {} +extension PokemonGoPlusTelemetry: @unchecked Sendable {} +extension PokemonHomeEnergyCostsProto: @unchecked Sendable {} +extension PokemonHomeFormReversionProto: @unchecked Sendable {} +extension PokemonHomeFormReversionProto.FormMappingProto: @unchecked Sendable {} +extension PokemonHomeProto: @unchecked Sendable {} +extension PokemonHomeSettingsProto: @unchecked Sendable {} +extension PokemonHomeTelemetry: @unchecked Sendable {} +extension PokemonInfo: @unchecked Sendable {} +extension PokemonInfo.StatModifierContainer: @unchecked Sendable {} +extension PokemonInfo.StatModifierContainer.StatModifier: @unchecked Sendable {} +extension PokemonInfo.StatModifierContainer.StatModifier.Condition: @unchecked Sendable {} +extension PokemonInfo.StatModifierContainer.StatModifier.ExpiryType: @unchecked Sendable {} +extension PokemonInventoryTelemetry: @unchecked Sendable {} +extension PokemonKeyItemSettings: @unchecked Sendable {} +extension PokemonLoadDelay: @unchecked Sendable {} +extension PokemonLoadTelemetry: @unchecked Sendable {} +extension PokemonMapSettingsProto: @unchecked Sendable {} +extension PokemonMegaEvolutionLevelProto: @unchecked Sendable {} +extension PokemonMegaEvolutionPointDailyCountersProto: @unchecked Sendable {} +extension PokemonProto: @unchecked Sendable {} +extension PokemonScaleSettingProto: @unchecked Sendable {} +extension PokemonScaleSettingProto.PokemonScaleMode: @unchecked Sendable {} +extension PokemonSearchTelemetry: @unchecked Sendable {} +extension PokemonSearchTelemetry.PokemonSearchSourceIds: @unchecked Sendable {} +extension PokemonSettingsProto: @unchecked Sendable {} +extension PokemonSettingsProto.BuddySize: @unchecked Sendable {} +extension PokemonSizeSettingsProto: @unchecked Sendable {} +extension PokemonStaminaUpdateProto: @unchecked Sendable {} +extension PokemonStatValueProto: @unchecked Sendable {} +extension PokemonStatsAttributesProto: @unchecked Sendable {} +extension PokemonSummaryFortProto: @unchecked Sendable {} +extension PokemonSurvivalTimeInfo: @unchecked Sendable {} +extension PokemonTagColorBinding: @unchecked Sendable {} +extension PokemonTagProto: @unchecked Sendable {} +extension PokemonTagSettingsProto: @unchecked Sendable {} +extension PokemonTelemetry: @unchecked Sendable {} +extension PokemonThirdMoveAttributesProto: @unchecked Sendable {} +extension PokemonUpgradeSettingsProto: @unchecked Sendable {} +extension PokestopDisplayProto: @unchecked Sendable {} +extension PokestopIncidentDisplayProto: @unchecked Sendable {} +extension PokestopIncidentDisplayProto.OneOf_MapDisplay: @unchecked Sendable {} +extension PokestopReward: @unchecked Sendable {} +extension PolygonProto: @unchecked Sendable {} +extension Polyline: @unchecked Sendable {} +extension PolylineList: @unchecked Sendable {} +extension PopupControlSettingsProto: @unchecked Sendable {} +extension PortalCurationImageResult: @unchecked Sendable {} +extension PortalCurationImageResult.Result: @unchecked Sendable {} +extension PostcardBookTelemetry: @unchecked Sendable {} +extension PostcardBookTelemetry.PostcardBookInteraction: @unchecked Sendable {} +extension PostcardCollectionGmtSettingsProto: @unchecked Sendable {} +extension PostcardCollectionSettingsProto: @unchecked Sendable {} +extension PostcardCreateDetail: @unchecked Sendable {} +extension PostcardDisplayProto: @unchecked Sendable {} +extension PotionAttributesProto: @unchecked Sendable {} +extension PowerUpPokestopEncounterOutProto: @unchecked Sendable {} +extension PowerUpPokestopEncounterOutProto.Result: @unchecked Sendable {} +extension PowerUpPokestopEncounterProto: @unchecked Sendable {} +extension PowerUpPokestopsGlobalSettingsProto: @unchecked Sendable {} +extension PowerUpPokestopsSharedSettingsProto: @unchecked Sendable {} +extension PreAgeGateMetadata: @unchecked Sendable {} +extension PreLoginMetadata: @unchecked Sendable {} +extension PreviewProto: @unchecked Sendable {} +extension PreviewProto.CpRange: @unchecked Sendable {} +extension PrimalBoostTypeProto: @unchecked Sendable {} +extension PrimalEvoSettingsProto: @unchecked Sendable {} +extension ProbeProto: @unchecked Sendable {} +extension ProbeSettingsProto: @unchecked Sendable {} +extension ProcessTappableOutProto: @unchecked Sendable {} +extension ProcessTappableOutProto.Status: @unchecked Sendable {} +extension ProcessTappableProto: @unchecked Sendable {} +extension ProfanityCheckOutProto: @unchecked Sendable {} +extension ProfanityCheckOutProto.Result: @unchecked Sendable {} +extension ProfanityCheckProto: @unchecked Sendable {} +extension ProfilePageTelemetry: @unchecked Sendable {} +extension ProgressQuestOutProto: @unchecked Sendable {} +extension ProgressQuestOutProto.Status: @unchecked Sendable {} +extension ProgressQuestProto: @unchecked Sendable {} +extension ProgressQuestProto.OneOf_Validation: @unchecked Sendable {} +extension ProgressRouteOutProto: @unchecked Sendable {} +extension ProgressRouteOutProto.ProgressionState: @unchecked Sendable {} +extension ProgressRouteProto: @unchecked Sendable {} +extension ProgressRouteProto.OneOf_NullablePause: @unchecked Sendable {} +extension ProgressTokenData: @unchecked Sendable {} +extension ProgressTokenData.OneOf_Token: @unchecked Sendable {} +extension ProgressTokenData.EncounterStateFunction: @unchecked Sendable {} +extension ProgressTokenData.GymRootControllerFunction: @unchecked Sendable {} +extension ProgressTokenData.MapExploreStateFunction: @unchecked Sendable {} +extension ProgressTokenData.RaidBattleStateFunction: @unchecked Sendable {} +extension ProgressTokenData.RaidLobbyGuiControllerFunction: @unchecked Sendable {} +extension ProgressTokenData.RaidLobbyStateFunction: @unchecked Sendable {} +extension ProgressTokenData.RaidResolveStateFunction: @unchecked Sendable {} +extension ProgressTokenData.RaidResolveUIControllerFunction: @unchecked Sendable {} +extension ProgressTokenData.RaidStateFunction: @unchecked Sendable {} +extension ProjectVacationProto: @unchecked Sendable {} +extension ProximityContact: @unchecked Sendable {} +extension ProximityToken: @unchecked Sendable {} +extension ProximityTokenInternal: @unchecked Sendable {} +extension ProxyRequestProto: @unchecked Sendable {} +extension ProxyResponseProto: @unchecked Sendable {} +extension ProxyResponseProto.Status: @unchecked Sendable {} +extension PtcOAuthSettingsProto: @unchecked Sendable {} +extension PtcOAuthToken: @unchecked Sendable {} +extension PtcToken: @unchecked Sendable {} +extension PurifyPokemonLogEntry: @unchecked Sendable {} +extension PurifyPokemonOutProto: @unchecked Sendable {} +extension PurifyPokemonOutProto.Status: @unchecked Sendable {} +extension PurifyPokemonProto: @unchecked Sendable {} +extension PushGatewayGlobalSettingsProto: @unchecked Sendable {} +extension PushGatewayMessage: @unchecked Sendable {} +extension PushGatewayMessage.OneOf_Message: @unchecked Sendable {} +extension PushGatewayMessage.BootRaidUpdate: @unchecked Sendable {} +extension PushGatewayMessage.MapObjectsUpdate: @unchecked Sendable {} +extension PushGatewayMessage.PartyUpdate: @unchecked Sendable {} +extension PushGatewayMessage.PartyUpdate.OneOf_PartyUpdateType: @unchecked Sendable {} +extension PushGatewayTelemetry: @unchecked Sendable {} +extension PushGatewayUpstreamErrorTelemetry: @unchecked Sendable {} +extension PushNotificationRegistryOutProto: @unchecked Sendable {} +extension PushNotificationRegistryOutProto.Result: @unchecked Sendable {} +extension PushNotificationRegistryProto: @unchecked Sendable {} +extension PushNotificationTelemetry: @unchecked Sendable {} +extension QuestBranchDisplayProto: @unchecked Sendable {} +extension QuestBranchRewardProto: @unchecked Sendable {} +extension QuestConditionProto: @unchecked Sendable {} +extension QuestConditionProto.OneOf_Condition: @unchecked Sendable {} +extension QuestConditionProto.ConditionType: @unchecked Sendable {} +extension QuestCreateDetail: @unchecked Sendable {} +extension QuestDialogProto: @unchecked Sendable {} +extension QuestDialogProto.Character: @unchecked Sendable {} +extension QuestDialogProto.CharacterExpression: @unchecked Sendable {} +extension QuestDisplayProto: @unchecked Sendable {} +extension QuestEncounterOutProto: @unchecked Sendable {} +extension QuestEncounterOutProto.Result: @unchecked Sendable {} +extension QuestEncounterProto: @unchecked Sendable {} +extension QuestEvolutionGlobalSettingsProto: @unchecked Sendable {} +extension QuestEvolutionSettingsProto: @unchecked Sendable {} +extension QuestGlobalSettingsProto: @unchecked Sendable {} +extension QuestGoalProto: @unchecked Sendable {} +extension QuestIncidentProto: @unchecked Sendable {} +extension QuestIncidentProto.Context: @unchecked Sendable {} +extension QuestListTelemetry: @unchecked Sendable {} +extension QuestListTelemetry.QuestListInteraction: @unchecked Sendable {} +extension QuestListTelemetry.QuestListTab: @unchecked Sendable {} +extension QuestPokemonEncounterProto: @unchecked Sendable {} +extension QuestPreconditionProto: @unchecked Sendable {} +extension QuestPreconditionProto.OneOf_Condition: @unchecked Sendable {} +extension QuestPreconditionProto.Operator: @unchecked Sendable {} +extension QuestPreconditionProto.QuestPreconditionType: @unchecked Sendable {} +extension QuestPreconditionProto.Group: @unchecked Sendable {} +extension QuestPreconditionProto.Group.Name: @unchecked Sendable {} +extension QuestPreconditionProto.Level: @unchecked Sendable {} +extension QuestPreconditionProto.Medal: @unchecked Sendable {} +extension QuestPreconditionProto.MonthYearBucket: @unchecked Sendable {} +extension QuestPreconditionProto.Quests: @unchecked Sendable {} +extension QuestPreconditionProto.StorylineProgressConditionProto: @unchecked Sendable {} +extension QuestPreconditionProto.TeamProto: @unchecked Sendable {} +extension QuestProto: @unchecked Sendable {} +extension QuestProto.OneOf_Quest: @unchecked Sendable {} +extension QuestProto.Context: @unchecked Sendable {} +extension QuestProto.Difficulty: @unchecked Sendable {} +extension QuestProto.Status: @unchecked Sendable {} +extension QuestProto.ReferralInfoProto: @unchecked Sendable {} +extension QuestRewardProto: @unchecked Sendable {} +extension QuestRewardProto.OneOf_Reward: @unchecked Sendable {} +extension QuestRewardProto.TypeEnum: @unchecked Sendable {} +extension QuestSettingsProto: @unchecked Sendable {} +extension QuestStampCardProto: @unchecked Sendable {} +extension QuestStampProto: @unchecked Sendable {} +extension QuestWalkProto: @unchecked Sendable {} +extension QuestsProto: @unchecked Sendable {} +extension QuitCombatData: @unchecked Sendable {} +extension QuitCombatOutProto: @unchecked Sendable {} +extension QuitCombatOutProto.Result: @unchecked Sendable {} +extension QuitCombatProto: @unchecked Sendable {} +extension QuitCombatResponseData: @unchecked Sendable {} +extension RaidClientLog: @unchecked Sendable {} +extension RaidClientSettingsProto: @unchecked Sendable {} +extension RaidCreateDetail: @unchecked Sendable {} +extension RaidEncounterProto: @unchecked Sendable {} +extension RaidEndData: @unchecked Sendable {} +extension RaidEndData.TypeEnum: @unchecked Sendable {} +extension RaidFeatureFlags: @unchecked Sendable {} +extension RaidInfoProto: @unchecked Sendable {} +extension RaidInvitationDetails: @unchecked Sendable {} +extension RaidInviteFriendsSettingsProto: @unchecked Sendable {} +extension RaidJoinInformationProto: @unchecked Sendable {} +extension RaidLobbyAvailabilityInformationProto: @unchecked Sendable {} +extension RaidLobbyCounterData: @unchecked Sendable {} +extension RaidLobbyCounterRequest: @unchecked Sendable {} +extension RaidLobbyCounterSettingsProto: @unchecked Sendable {} +extension RaidLogHeader: @unchecked Sendable {} +extension RaidMusicOverrideConfig: @unchecked Sendable {} +extension RaidParticipantProto: @unchecked Sendable {} +extension RaidParticipantProto.OneOf_ActivityInformation: @unchecked Sendable {} +extension RaidPlayerStatProto: @unchecked Sendable {} +extension RaidPlayerStatProto.StatType: @unchecked Sendable {} +extension RaidPlayerStatsGlobalSettingsProto: @unchecked Sendable {} +extension RaidPlayerStatsPokemonProto: @unchecked Sendable {} +extension RaidPlayerStatsProto: @unchecked Sendable {} +extension RaidProto: @unchecked Sendable {} +extension RaidRewardsLogEntry: @unchecked Sendable {} +extension RaidRewardsLogEntry.Result: @unchecked Sendable {} +extension RaidRewardsLogEntry.TempEvoRaidStatus: @unchecked Sendable {} +extension RaidTelemetry: @unchecked Sendable {} +extension RaidTicketProto: @unchecked Sendable {} +extension RaidTicketSettingsProto: @unchecked Sendable {} +extension RaidTicketsProto: @unchecked Sendable {} +extension RaidVisualEffect: @unchecked Sendable {} +extension RangeProto: @unchecked Sendable {} +extension RateRouteOutProto: @unchecked Sendable {} +extension RateRouteOutProto.Result: @unchecked Sendable {} +extension RateRouteProto: @unchecked Sendable {} +extension ReadPointOfInterestDescriptionTelemetry: @unchecked Sendable {} +extension ReadQuestDialogOutProto: @unchecked Sendable {} +extension ReadQuestDialogOutProto.Status: @unchecked Sendable {} +extension ReadQuestDialogProto: @unchecked Sendable {} +extension ReassignPlayerOutProto: @unchecked Sendable {} +extension ReassignPlayerOutProto.Result: @unchecked Sendable {} +extension ReassignPlayerProto: @unchecked Sendable {} +extension RecallRouteDraftOutProto: @unchecked Sendable {} +extension RecallRouteDraftOutProto.Result: @unchecked Sendable {} +extension RecallRouteDraftProto: @unchecked Sendable {} +extension RecommendedSearchProto: @unchecked Sendable {} +extension RectProto: @unchecked Sendable {} +extension RecycleItemOutProto: @unchecked Sendable {} +extension RecycleItemOutProto.Result: @unchecked Sendable {} +extension RecycleItemProto: @unchecked Sendable {} +extension RedeemPasscodeRequestProto: @unchecked Sendable {} +extension RedeemPasscodeResponseProto: @unchecked Sendable {} +extension RedeemPasscodeResponseProto.Result: @unchecked Sendable {} +extension RedeemPasscodeResponseProto.AcquiredItem: @unchecked Sendable {} +extension RedeemPasscodeRewardProto: @unchecked Sendable {} +extension RedeemTicketGiftForFriendOutProto: @unchecked Sendable {} +extension RedeemTicketGiftForFriendOutProto.Status: @unchecked Sendable {} +extension RedeemTicketGiftForFriendProto: @unchecked Sendable {} +extension RedeemedAvatarItemProto: @unchecked Sendable {} +extension RedeemedItemProto: @unchecked Sendable {} +extension RedeemedStickerProto: @unchecked Sendable {} +extension ReferralMilestonesProto: @unchecked Sendable {} +extension ReferralMilestonesProto.OneOf_NianticID: @unchecked Sendable {} +extension ReferralMilestonesProto.OneOf_PlayerID: @unchecked Sendable {} +extension ReferralMilestonesProto.MilestoneProto: @unchecked Sendable {} +extension ReferralMilestonesProto.MilestoneProto.Status: @unchecked Sendable {} +extension ReferralMilestonesProto.MilestoneProto.TemplateVariableProto: @unchecked Sendable {} +extension ReferralSettingsProto: @unchecked Sendable {} +extension ReferralSettingsProto.RecentFeatureProto: @unchecked Sendable {} +extension ReferralTelemetry: @unchecked Sendable {} +extension RefreshProximityTokensRequestProto: @unchecked Sendable {} +extension RefreshProximityTokensResponseProto: @unchecked Sendable {} +extension RegisterBackgroundDeviceActionProto: @unchecked Sendable {} +extension RegisterBackgroundDeviceResponseProto: @unchecked Sendable {} +extension RegisterBackgroundDeviceResponseProto.Status: @unchecked Sendable {} +extension RegisterSfidaRequest: @unchecked Sendable {} +extension RegisterSfidaRequest.DeviceType: @unchecked Sendable {} +extension RegisterSfidaResponse: @unchecked Sendable {} +extension ReleasePokemonOutProto: @unchecked Sendable {} +extension ReleasePokemonOutProto.Status: @unchecked Sendable {} +extension ReleasePokemonProto: @unchecked Sendable {} +extension ReleasePokemonTelemetry: @unchecked Sendable {} +extension RemoteGiftPingRequestProto: @unchecked Sendable {} +extension RemoteGiftPingResponseProto: @unchecked Sendable {} +extension RemoteGiftPingResponseProto.Result: @unchecked Sendable {} +extension RemoteRaidTelemetry: @unchecked Sendable {} +extension RemoveLoginActionOutProto: @unchecked Sendable {} +extension RemoveLoginActionOutProto.Status: @unchecked Sendable {} +extension RemoveLoginActionProto: @unchecked Sendable {} +extension RemovePokemonSizeLeaderboardEntryOutProto: @unchecked Sendable {} +extension RemovePokemonSizeLeaderboardEntryOutProto.Status: @unchecked Sendable {} +extension RemovePokemonSizeLeaderboardEntryProto: @unchecked Sendable {} +extension RemovePtcLoginActionOutProto: @unchecked Sendable {} +extension RemovePtcLoginActionOutProto.Status: @unchecked Sendable {} +extension RemovePtcLoginActionProto: @unchecked Sendable {} +extension RemoveQuestOutProto: @unchecked Sendable {} +extension RemoveQuestOutProto.Status: @unchecked Sendable {} +extension RemoveQuestProto: @unchecked Sendable {} +extension ReplaceLoginActionOutProto: @unchecked Sendable {} +extension ReplaceLoginActionOutProto.Status: @unchecked Sendable {} +extension ReplaceLoginActionProto: @unchecked Sendable {} +extension ReportAdFeedbackRequest: @unchecked Sendable {} +extension ReportAdFeedbackResponse: @unchecked Sendable {} +extension ReportAdFeedbackResponse.Status: @unchecked Sendable {} +extension ReportAdInteractionProto: @unchecked Sendable {} +extension ReportAdInteractionProto.OneOf_InteractionType: @unchecked Sendable {} +extension ReportAdInteractionProto.AdType: @unchecked Sendable {} +extension ReportAdInteractionProto.AdDismissalInteraction: @unchecked Sendable {} +extension ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType: @unchecked Sendable {} +extension ReportAdInteractionProto.AdFeedback: @unchecked Sendable {} +extension ReportAdInteractionProto.AdFeedbackReport: @unchecked Sendable {} +extension ReportAdInteractionProto.AdSpawnInteraction: @unchecked Sendable {} +extension ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType: @unchecked Sendable {} +extension ReportAdInteractionProto.CTAClickInteraction: @unchecked Sendable {} +extension ReportAdInteractionProto.FullScreenInteraction: @unchecked Sendable {} +extension ReportAdInteractionProto.GetRewardInfo: @unchecked Sendable {} +extension ReportAdInteractionProto.GoogleManagedAdDetails: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdBalloonOpened: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdClickedOnBalloonCta: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdClosed: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdCTAClicked: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdFailure: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdFailure.FailureType: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdLoaded: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdOpened: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdPlayerRewarded: @unchecked Sendable {} +extension ReportAdInteractionProto.VideoAdRewardEligible: @unchecked Sendable {} +extension ReportAdInteractionProto.ViewFullscreenInteraction: @unchecked Sendable {} +extension ReportAdInteractionProto.ViewImpressionInteraction: @unchecked Sendable {} +extension ReportAdInteractionProto.ViewWebArInteraction: @unchecked Sendable {} +extension ReportAdInteractionProto.WebArAudienceDeviceStatus: @unchecked Sendable {} +extension ReportAdInteractionProto.WebArCameraPermissionRequestSent: @unchecked Sendable {} +extension ReportAdInteractionProto.WebArCameraPermissionResponse: @unchecked Sendable {} +extension ReportAdInteractionResponse: @unchecked Sendable {} +extension ReportAdInteractionResponse.Status: @unchecked Sendable {} +extension ReportProximityContactsRequestProto: @unchecked Sendable {} +extension ReportProximityContactsResponseProto: @unchecked Sendable {} +extension ReportRouteOutProto: @unchecked Sendable {} +extension ReportRouteOutProto.Result: @unchecked Sendable {} +extension ReportRouteProto: @unchecked Sendable {} +extension ReportRouteProto.GameplayIssue: @unchecked Sendable {} +extension ReportRouteProto.QualityIssue: @unchecked Sendable {} +extension ReportRouteProto.Violation: @unchecked Sendable {} +extension ReviveAttributesProto: @unchecked Sendable {} +extension RewardsPerContestProto: @unchecked Sendable {} +extension RoadMetadata: @unchecked Sendable {} +extension RocketBalloonDisplayProto: @unchecked Sendable {} +extension RocketBalloonDisplayProto.BalloonType: @unchecked Sendable {} +extension RocketBalloonGlobalSettingsProto: @unchecked Sendable {} +extension RocketBalloonIncidentDisplayProto: @unchecked Sendable {} +extension RotateGuestLoginSecretTokenRequestProto: @unchecked Sendable {} +extension RotateGuestLoginSecretTokenResponseProto: @unchecked Sendable {} +extension RotateGuestLoginSecretTokenResponseProto.Status: @unchecked Sendable {} +extension RouteActivityRequestProto: @unchecked Sendable {} +extension RouteActivityRequestProto.OneOf_RequestData: @unchecked Sendable {} +extension RouteActivityRequestProto.GiftTradeRequest: @unchecked Sendable {} +extension RouteActivityRequestProto.PokemonCompareRequest: @unchecked Sendable {} +extension RouteActivityRequestProto.PokemonTradeRequest: @unchecked Sendable {} +extension RouteActivityResponseProto: @unchecked Sendable {} +extension RouteActivityResponseProto.OneOf_ResponseData: @unchecked Sendable {} +extension RouteActivityResponseProto.GiftTradeResponse: @unchecked Sendable {} +extension RouteActivityResponseProto.PokemonCompareResponse: @unchecked Sendable {} +extension RouteActivityResponseProto.PokemonTradeResponse: @unchecked Sendable {} +extension RouteActivityResponseProto.PokemonTradeResponse.Result: @unchecked Sendable {} +extension RouteActivityType: @unchecked Sendable {} +extension RouteActivityType.ActivityType: @unchecked Sendable {} +extension RouteBadgeLevel: @unchecked Sendable {} +extension RouteBadgeLevel.BadgeLevel: @unchecked Sendable {} +extension RouteBadgeListEntry: @unchecked Sendable {} +extension RouteBadgeSettingsProto: @unchecked Sendable {} +extension RouteCreationProto: @unchecked Sendable {} +extension RouteCreationProto.Status: @unchecked Sendable {} +extension RouteCreationProto.RejectionReason: @unchecked Sendable {} +extension RouteCreationsProto: @unchecked Sendable {} +extension RouteDiscoverySettingsProto: @unchecked Sendable {} +extension RouteDiscoveryTelemetry: @unchecked Sendable {} +extension RouteErrorTelemetry: @unchecked Sendable {} +extension RouteGlobalSettingsProto: @unchecked Sendable {} +extension RouteImageProto: @unchecked Sendable {} +extension RouteNearbyNotifShownOutProto: @unchecked Sendable {} +extension RouteNearbyNotifShownOutProto.Result: @unchecked Sendable {} +extension RouteNearbyNotifShownProto: @unchecked Sendable {} +extension RouteNpcGiftSettingsProto: @unchecked Sendable {} +extension RoutePathEditParamsProto: @unchecked Sendable {} +extension RoutePin: @unchecked Sendable {} +extension RoutePinSettingsProto: @unchecked Sendable {} +extension RoutePlayProto: @unchecked Sendable {} +extension RoutePlaySettingsProto: @unchecked Sendable {} +extension RoutePlaySpawnSettingsProto: @unchecked Sendable {} +extension RoutePlayStatus: @unchecked Sendable {} +extension RoutePlayStatus.Status: @unchecked Sendable {} +extension RoutePlayTappableSpawnedTelemetry: @unchecked Sendable {} +extension RoutePoiAnchor: @unchecked Sendable {} +extension RouteSimplificationAlgorithm: @unchecked Sendable {} +extension RouteSimplificationAlgorithm.SimplificationAlgorithm: @unchecked Sendable {} +extension RouteSmoothingParamsProto: @unchecked Sendable {} +extension RouteStamp: @unchecked Sendable {} +extension RouteStamp.Color: @unchecked Sendable {} +extension RouteStamp.TypeEnum: @unchecked Sendable {} +extension RouteStampCategorySettingsProto: @unchecked Sendable {} +extension RouteStats: @unchecked Sendable {} +extension RouteSubmissionStatus: @unchecked Sendable {} +extension RouteSubmissionStatus.Status: @unchecked Sendable {} +extension RouteUpdateSeenOutProto: @unchecked Sendable {} +extension RouteUpdateSeenProto: @unchecked Sendable {} +extension RouteValidation: @unchecked Sendable {} +extension RouteValidation.Error: @unchecked Sendable {} +extension RouteWaypointProto: @unchecked Sendable {} +extension RoutesCreationSettingsProto: @unchecked Sendable {} +extension RoutesNearbyNotifSettingsProto: @unchecked Sendable {} +extension RoutesPartyPlayInteroperabilitySettingsProto: @unchecked Sendable {} +extension RpcErrorData: @unchecked Sendable {} +extension RpcErrorData.RpcStatus: @unchecked Sendable {} +extension RpcResponseTelemetry: @unchecked Sendable {} +extension RpcResponseTelemetry.ConnectionType: @unchecked Sendable {} +extension RpcResponseTime: @unchecked Sendable {} +extension RpcSocketResponseTelemetry: @unchecked Sendable {} +extension RpcSocketResponseTime: @unchecked Sendable {} +extension SaturdayBleCompleteRequestProto: @unchecked Sendable {} +extension SaturdayBleFinalizeProto: @unchecked Sendable {} +extension SaturdayBleSendCompleteProto: @unchecked Sendable {} +extension SaturdayBleSendPrepProto: @unchecked Sendable {} +extension SaturdayBleSendProto: @unchecked Sendable {} +extension SaturdayCompleteOutProto: @unchecked Sendable {} +extension SaturdayCompleteOutProto.Status: @unchecked Sendable {} +extension SaturdayCompleteProto: @unchecked Sendable {} +extension SaturdaySettingsProto: @unchecked Sendable {} +extension SaturdayStartOutProto: @unchecked Sendable {} +extension SaturdayStartOutProto.Status: @unchecked Sendable {} +extension SaturdayStartProto: @unchecked Sendable {} +extension SaveCombatPlayerPreferencesOutProto: @unchecked Sendable {} +extension SaveCombatPlayerPreferencesOutProto.Result: @unchecked Sendable {} +extension SaveCombatPlayerPreferencesProto: @unchecked Sendable {} +extension SavePlayerPreferencesOutProto: @unchecked Sendable {} +extension SavePlayerPreferencesOutProto.Result: @unchecked Sendable {} +extension SavePlayerPreferencesProto: @unchecked Sendable {} +extension SavePlayerSnapshotOutProto: @unchecked Sendable {} +extension SavePlayerSnapshotOutProto.Result: @unchecked Sendable {} +extension SavePlayerSnapshotProto: @unchecked Sendable {} +extension SaveSocialPlayerSettingsOutProto: @unchecked Sendable {} +extension SaveSocialPlayerSettingsOutProto.Result: @unchecked Sendable {} +extension SaveSocialPlayerSettingsProto: @unchecked Sendable {} +extension ScanArchiveBuilderCancelEvent: @unchecked Sendable {} +extension ScanArchiveBuilderGetNextChunkEvent: @unchecked Sendable {} +extension ScanErrorEvent: @unchecked Sendable {} +extension ScanErrorEvent.Error: @unchecked Sendable {} +extension ScanRecorderStartEvent: @unchecked Sendable {} +extension ScanRecorderStartEvent.DepthSource: @unchecked Sendable {} +extension ScanRecorderStopEvent: @unchecked Sendable {} +extension ScanRecorderStopEvent.Operation: @unchecked Sendable {} +extension ScanSQCDoneEvent: @unchecked Sendable {} +extension ScanSQCDoneEvent.ScanSQCFailedReason: @unchecked Sendable {} +extension ScanSQCDoneEvent.ScanSQCFailedReason.FailedReason: @unchecked Sendable {} +extension ScanSQCRunEvent: @unchecked Sendable {} +extension ScreenResolutionTelemetry: @unchecked Sendable {} +extension SearchFilterPreferenceProto: @unchecked Sendable {} +extension SearchFilterPreferenceProto.SearchFilterQueryProto: @unchecked Sendable {} +extension SeasonContestsDefinitionSettingsProto: @unchecked Sendable {} +extension SendFriendInviteViaReferralCodeOutProto: @unchecked Sendable {} +extension SendFriendInviteViaReferralCodeOutProto.Status: @unchecked Sendable {} +extension SendFriendInviteViaReferralCodeProto: @unchecked Sendable {} +extension SendFriendRequestViaPlayerIdOutProto: @unchecked Sendable {} +extension SendFriendRequestViaPlayerIdOutProto.Result: @unchecked Sendable {} +extension SendFriendRequestViaPlayerIdProto: @unchecked Sendable {} +extension SendFriendRequestViaPlayerIdProto.Context: @unchecked Sendable {} +extension SendGiftLogEntry: @unchecked Sendable {} +extension SendGiftLogEntry.Result: @unchecked Sendable {} +extension SendGiftOutProto: @unchecked Sendable {} +extension SendGiftOutProto.Result: @unchecked Sendable {} +extension SendGiftProto: @unchecked Sendable {} +extension SendPartyInvitationOutProto: @unchecked Sendable {} +extension SendPartyInvitationOutProto.Result: @unchecked Sendable {} +extension SendPartyInvitationProto: @unchecked Sendable {} +extension SendProbeOutProto: @unchecked Sendable {} +extension SendProbeOutProto.Result: @unchecked Sendable {} +extension SendProbeProto: @unchecked Sendable {} +extension SendRaidInvitationData: @unchecked Sendable {} +extension SendRaidInvitationOutProto: @unchecked Sendable {} +extension SendRaidInvitationOutProto.Result: @unchecked Sendable {} +extension SendRaidInvitationProto: @unchecked Sendable {} +extension SendRaidInvitationResponseData: @unchecked Sendable {} +extension ServerRecordMetadata: @unchecked Sendable {} +extension ServiceDescriptorProto: @unchecked Sendable {} +extension ServiceOptions: @unchecked Sendable {} +extension SetAvatarItemAsViewedOutProto: @unchecked Sendable {} +extension SetAvatarItemAsViewedOutProto.Result: @unchecked Sendable {} +extension SetAvatarItemAsViewedProto: @unchecked Sendable {} +extension SetAvatarOutProto: @unchecked Sendable {} +extension SetAvatarOutProto.Status: @unchecked Sendable {} +extension SetAvatarProto: @unchecked Sendable {} +extension SetBirthdayRequestProto: @unchecked Sendable {} +extension SetBirthdayResponseProto: @unchecked Sendable {} +extension SetBirthdayResponseProto.Status: @unchecked Sendable {} +extension SetBuddyPokemonOutProto: @unchecked Sendable {} +extension SetBuddyPokemonOutProto.Result: @unchecked Sendable {} +extension SetBuddyPokemonProto: @unchecked Sendable {} +extension SetContactSettingsOutProto: @unchecked Sendable {} +extension SetContactSettingsOutProto.Status: @unchecked Sendable {} +extension SetContactSettingsProto: @unchecked Sendable {} +extension SetFavoritePokemonOutProto: @unchecked Sendable {} +extension SetFavoritePokemonOutProto.Result: @unchecked Sendable {} +extension SetFavoritePokemonProto: @unchecked Sendable {} +extension SetFriendNicknameOutProto: @unchecked Sendable {} +extension SetFriendNicknameOutProto.Result: @unchecked Sendable {} +extension SetFriendNicknameProto: @unchecked Sendable {} +extension SetInGameCurrencyExchangeRateOutProto: @unchecked Sendable {} +extension SetInGameCurrencyExchangeRateOutProto.Status: @unchecked Sendable {} +extension SetInGameCurrencyExchangeRateProto: @unchecked Sendable {} +extension SetInGameCurrencyExchangeRateTrackingProto: @unchecked Sendable {} +extension SetLobbyPokemonOutProto: @unchecked Sendable {} +extension SetLobbyPokemonOutProto.Result: @unchecked Sendable {} +extension SetLobbyPokemonProto: @unchecked Sendable {} +extension SetLobbyVisibilityOutProto: @unchecked Sendable {} +extension SetLobbyVisibilityOutProto.Result: @unchecked Sendable {} +extension SetLobbyVisibilityProto: @unchecked Sendable {} +extension SetNeutralAvatarOutProto: @unchecked Sendable {} +extension SetNeutralAvatarOutProto.Status: @unchecked Sendable {} +extension SetNeutralAvatarProto: @unchecked Sendable {} +extension SetPlayerTeamOutProto: @unchecked Sendable {} +extension SetPlayerTeamOutProto.Status: @unchecked Sendable {} +extension SetPlayerTeamProto: @unchecked Sendable {} +extension SetPokemonTagsForPokemonOutProto: @unchecked Sendable {} +extension SetPokemonTagsForPokemonOutProto.Status: @unchecked Sendable {} +extension SetPokemonTagsForPokemonProto: @unchecked Sendable {} +extension SetPokemonTagsForPokemonProto.PokemonTagChangeProto: @unchecked Sendable {} +extension SettingsVersionControllerProto: @unchecked Sendable {} +extension SfidaAssociateRequest: @unchecked Sendable {} +extension SfidaAssociateResponse: @unchecked Sendable {} +extension SfidaAssociateResponse.Status: @unchecked Sendable {} +extension SfidaAuthToken: @unchecked Sendable {} +extension SfidaCaptureRequest: @unchecked Sendable {} +extension SfidaCaptureResponse: @unchecked Sendable {} +extension SfidaCaptureResponse.Result: @unchecked Sendable {} +extension SfidaCertificationRequest: @unchecked Sendable {} +extension SfidaCertificationRequest.SfidaCertificationStage: @unchecked Sendable {} +extension SfidaCertificationResponse: @unchecked Sendable {} +extension SfidaCheckPairingRequest: @unchecked Sendable {} +extension SfidaCheckPairingResponse: @unchecked Sendable {} +extension SfidaCheckPairingResponse.Status: @unchecked Sendable {} +extension SfidaClearSleepRecordsRequest: @unchecked Sendable {} +extension SfidaClearSleepRecordsResponse: @unchecked Sendable {} +extension SfidaClearSleepRecordsResponse.Status: @unchecked Sendable {} +extension SfidaDisassociateRequest: @unchecked Sendable {} +extension SfidaDisassociateResponse: @unchecked Sendable {} +extension SfidaDisassociateResponse.Status: @unchecked Sendable {} +extension SfidaDowserRequest: @unchecked Sendable {} +extension SfidaDowserResponse: @unchecked Sendable {} +extension SfidaDowserResponse.Result: @unchecked Sendable {} +extension SfidaGlobalSettingsProto: @unchecked Sendable {} +extension SfidaMetrics: @unchecked Sendable {} +extension SfidaMetricsUpdate: @unchecked Sendable {} +extension SfidaMetricsUpdate.UpdateType: @unchecked Sendable {} +extension SfidaUpdateRequest: @unchecked Sendable {} +extension SfidaUpdateResponse: @unchecked Sendable {} +extension SfidaUpdateResponse.Status: @unchecked Sendable {} +extension ShadowAttributesProto: @unchecked Sendable {} +extension ShapeCollectionProto: @unchecked Sendable {} +extension ShapeProto: @unchecked Sendable {} +extension ShardManagerEchoOutProto: @unchecked Sendable {} +extension ShardManagerEchoOutProto.Result: @unchecked Sendable {} +extension ShardManagerEchoProto: @unchecked Sendable {} +extension SharedMoveSettingsProto: @unchecked Sendable {} +extension SharedNonCombatMoveSettingsProto: @unchecked Sendable {} +extension SharedRouteProto: @unchecked Sendable {} +extension ShoppingPageClickTelemetry: @unchecked Sendable {} +extension ShoppingPageClickTelemetry.VisibleSku: @unchecked Sendable {} +extension ShoppingPageClickTelemetry.VisibleSku.NestedSkuContent: @unchecked Sendable {} +extension ShoppingPageScrollTelemetry: @unchecked Sendable {} +extension ShoppingPageTelemetry: @unchecked Sendable {} +extension ShowcaseDetailsTelemetry: @unchecked Sendable {} +extension ShowcaseDetailsTelemetry.ActionTaken: @unchecked Sendable {} +extension ShowcaseDetailsTelemetry.EntryBarrier: @unchecked Sendable {} +extension ShowcaseDetailsTelemetry.EntryPoint: @unchecked Sendable {} +extension ShowcaseRewardTelemetry: @unchecked Sendable {} +extension SizeRecordBreakTelemetry: @unchecked Sendable {} +extension SizeRecordBreakTelemetry.RecordBreakType: @unchecked Sendable {} +extension SkipEnterReferralCodeOutProto: @unchecked Sendable {} +extension SkipEnterReferralCodeOutProto.Status: @unchecked Sendable {} +extension SkipEnterReferralCodeProto: @unchecked Sendable {} +extension SkuContentProto: @unchecked Sendable {} +extension SkuDataProto: @unchecked Sendable {} +extension SkuDataProto.SkuPaymentType: @unchecked Sendable {} +extension SkuLimitProto: @unchecked Sendable {} +extension SkuPresentationDataProto: @unchecked Sendable {} +extension SkuPriceProto: @unchecked Sendable {} +extension SkuRecord: @unchecked Sendable {} +extension SkuRecord.SkuOfferRecord: @unchecked Sendable {} +extension SleepDayRecordProto: @unchecked Sendable {} +extension SleepRecordsProto: @unchecked Sendable {} +extension SmeargleMovesSettingsProto: @unchecked Sendable {} +extension SocialClientSettingsProto: @unchecked Sendable {} +extension SocialGiftCountTelemetry: @unchecked Sendable {} +extension SocialInboxLatencyTelemetry: @unchecked Sendable {} +extension SocialPlayerSettingsProto: @unchecked Sendable {} +extension SocialTelemetry: @unchecked Sendable {} +extension SourceCodeInfo: @unchecked Sendable {} +extension SourceCodeInfo.Location: @unchecked Sendable {} +extension SouvenirProto: @unchecked Sendable {} +extension SouvenirProto.SouvenirDetails: @unchecked Sendable {} +extension SpaceBonusSettingsProto: @unchecked Sendable {} +extension SpawnTablePokemonProto: @unchecked Sendable {} +extension SpawnablePokemon: @unchecked Sendable {} +extension SpawnablePokemon.SpawnableType: @unchecked Sendable {} +extension SpawnablePokemon.Status: @unchecked Sendable {} +extension SpinPokestopQuestProto: @unchecked Sendable {} +extension SpinPokestopTelemetry: @unchecked Sendable {} +extension SponsoredDetailsProto: @unchecked Sendable {} +extension SponsoredDetailsProto.PromoButtonMessageType: @unchecked Sendable {} +extension SponsoredGeofenceGiftSettingsProto: @unchecked Sendable {} +extension SponsoredGeofenceGiftSettingsProto.ExternalAdServiceBalloonGiftKeysProto: @unchecked Sendable {} +extension SponsoredGeofenceGiftSettingsProto.GamVideoAdUnitSettingsProto: @unchecked Sendable {} +extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto: @unchecked Sendable {} +extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto.SponsoredBalloonMovementSettingsProto: @unchecked Sendable {} +extension SponsoredPoiFeedbackSettingsProto: @unchecked Sendable {} +extension SquashSettingsProto: @unchecked Sendable {} +extension StampCardSectionProto: @unchecked Sendable {} +extension StardustBoostAttributesProto: @unchecked Sendable {} +extension StartGymBattleOutProto: @unchecked Sendable {} +extension StartGymBattleOutProto.Result: @unchecked Sendable {} +extension StartGymBattleProto: @unchecked Sendable {} +extension StartIncidentOutProto: @unchecked Sendable {} +extension StartIncidentOutProto.Status: @unchecked Sendable {} +extension StartIncidentProto: @unchecked Sendable {} +extension StartPartyOutProto: @unchecked Sendable {} +extension StartPartyOutProto.Result: @unchecked Sendable {} +extension StartPartyProto: @unchecked Sendable {} +extension StartPartyQuestOutProto: @unchecked Sendable {} +extension StartPartyQuestOutProto.Result: @unchecked Sendable {} +extension StartPartyQuestProto: @unchecked Sendable {} +extension StartQuestIncidentProto: @unchecked Sendable {} +extension StartRaidBattleData: @unchecked Sendable {} +extension StartRaidBattleOutProto: @unchecked Sendable {} +extension StartRaidBattleOutProto.Result: @unchecked Sendable {} +extension StartRaidBattleProto: @unchecked Sendable {} +extension StartRaidBattleResponseData: @unchecked Sendable {} +extension StartRocketBalloonIncidentProto: @unchecked Sendable {} +extension StartRouteOutProto: @unchecked Sendable {} +extension StartRouteProto: @unchecked Sendable {} +extension StartTutorialOutProto: @unchecked Sendable {} +extension StartTutorialOutProto.Result: @unchecked Sendable {} +extension StartTutorialProto: @unchecked Sendable {} +extension StartupMeasurementProto: @unchecked Sendable {} +extension StartupMeasurementProto.ComponentLoadDurations: @unchecked Sendable {} +extension StickerCategorySettingsProto: @unchecked Sendable {} +extension StickerCategorySettingsProto.StickerCategoryProto: @unchecked Sendable {} +extension StickerMetadataProto: @unchecked Sendable {} +extension StickerProto: @unchecked Sendable {} +extension StickerRewardProto: @unchecked Sendable {} +extension StickerSentProto: @unchecked Sendable {} +extension StoreIapSettingsProto: @unchecked Sendable {} +extension StoryQuestSectionProto: @unchecked Sendable {} +extension Struct: @unchecked Sendable {} +extension StyleShopSettingsProto: @unchecked Sendable {} +extension StyleShopSettingsProto.EntryTooltipConfig: @unchecked Sendable {} +extension SubmissionCounterSettings: @unchecked Sendable {} +extension SubmitCombatAction: @unchecked Sendable {} +extension SubmitCombatChallengePokemonsData: @unchecked Sendable {} +extension SubmitCombatChallengePokemonsOutProto: @unchecked Sendable {} +extension SubmitCombatChallengePokemonsOutProto.Result: @unchecked Sendable {} +extension SubmitCombatChallengePokemonsProto: @unchecked Sendable {} +extension SubmitCombatChallengePokemonsResponseData: @unchecked Sendable {} +extension SubmitNewPoiOutProto: @unchecked Sendable {} +extension SubmitNewPoiOutProto.Status: @unchecked Sendable {} +extension SubmitNewPoiProto: @unchecked Sendable {} +extension SubmitRouteDraftOutProto: @unchecked Sendable {} +extension SubmitRouteDraftOutProto.Result: @unchecked Sendable {} +extension SubmitRouteDraftProto: @unchecked Sendable {} +extension SubmitRouteDraftProto.ApprovalOverride: @unchecked Sendable {} +extension SubmitSleepRecordsQuestProto: @unchecked Sendable {} +extension SuperAwesomeTokenProto: @unchecked Sendable {} +extension SupportedContestTypesSettingsProto: @unchecked Sendable {} +extension SupportedContestTypesSettingsProto.ContestTypeProto: @unchecked Sendable {} +extension TakeSnapshotQuestProto: @unchecked Sendable {} +extension Tappable: @unchecked Sendable {} +extension Tappable.TappableType: @unchecked Sendable {} +extension TappableSettingsProto: @unchecked Sendable {} +extension TeamChangeInfoProto: @unchecked Sendable {} +extension TelemetryCommon: @unchecked Sendable {} +extension TelemetryGlobalSettingsProto: @unchecked Sendable {} +extension TelemetryRequestProto: @unchecked Sendable {} +extension TempEvoGlobalSettingsProto: @unchecked Sendable {} +extension TempEvoOverrideExtendedProto: @unchecked Sendable {} +extension TempEvoOverrideProto: @unchecked Sendable {} +extension TemplateVariable: @unchecked Sendable {} +extension TemporalFrequencyProto: @unchecked Sendable {} +extension TemporalFrequencyProto.OneOf_Frequency: @unchecked Sendable {} +extension TemporaryEvolutionProto: @unchecked Sendable {} +extension TemporaryEvolutionResourceProto: @unchecked Sendable {} +extension TemporaryEvolutionSettingsProto: @unchecked Sendable {} +extension ThirdMoveGlobalSettingsProto: @unchecked Sendable {} +extension TicketGiftingFeatureSettingsProto: @unchecked Sendable {} +extension TicketGiftingSettingsProto: @unchecked Sendable {} +extension TiledBlob: @unchecked Sendable {} +extension TiledBlob.ContentType: @unchecked Sendable {} +extension TimeBonusSettingsProto: @unchecked Sendable {} +extension TimeGapProto: @unchecked Sendable {} +extension TimeGapProto.SpanUnit: @unchecked Sendable {} +extension TimeToPlayable: @unchecked Sendable {} +extension TimeToPlayable.ResumedFrom: @unchecked Sendable {} +extension TimedGroupChallengeDefinitionProto: @unchecked Sendable {} +extension TimedGroupChallengePlayerStatsProto: @unchecked Sendable {} +extension TimedGroupChallengePlayerStatsProto.IndividualChallengeStats: @unchecked Sendable {} +extension TimedGroupChallengeSectionProto: @unchecked Sendable {} +extension TimedGroupChallengeSettingsProto: @unchecked Sendable {} +extension TimedQuestSectionProto: @unchecked Sendable {} +extension Timestamp: @unchecked Sendable {} +extension TitanAsyncFileUploadCompleteOutProto: @unchecked Sendable {} +extension TitanAsyncFileUploadCompleteOutProto.ErrorStatus: @unchecked Sendable {} +extension TitanAsyncFileUploadCompleteProto: @unchecked Sendable {} +extension TitanAsyncFileUploadCompleteProto.Status: @unchecked Sendable {} +extension TitanAvailableSubmissionsPerSubmissionType: @unchecked Sendable {} +extension TitanGameClientPhotoGalleryPoiImageProto: @unchecked Sendable {} +extension TitanGenerateGmapSignedUrlOutProto: @unchecked Sendable {} +extension TitanGenerateGmapSignedUrlOutProto.Result: @unchecked Sendable {} +extension TitanGenerateGmapSignedUrlProto: @unchecked Sendable {} +extension TitanGeodataServiceGameClientPoiProto: @unchecked Sendable {} +extension TitanGetARMappingSettingsOutProto: @unchecked Sendable {} +extension TitanGetARMappingSettingsProto: @unchecked Sendable {} +extension TitanGetAvailableSubmissionsOutProto: @unchecked Sendable {} +extension TitanGetAvailableSubmissionsProto: @unchecked Sendable {} +extension TitanGetGmapSettingsOutProto: @unchecked Sendable {} +extension TitanGetGmapSettingsOutProto.Result: @unchecked Sendable {} +extension TitanGetGmapSettingsProto: @unchecked Sendable {} +extension TitanGetGrapeshotUploadUrlOutProto: @unchecked Sendable {} +extension TitanGetGrapeshotUploadUrlOutProto.Status: @unchecked Sendable {} +extension TitanGetGrapeshotUploadUrlProto: @unchecked Sendable {} +extension TitanGetImageGallerySettingsOutProto: @unchecked Sendable {} +extension TitanGetImageGallerySettingsProto: @unchecked Sendable {} +extension TitanGetImagesForPoiOutProto: @unchecked Sendable {} +extension TitanGetImagesForPoiOutProto.Status: @unchecked Sendable {} +extension TitanGetImagesForPoiProto: @unchecked Sendable {} +extension TitanGetPlayerSubmissionValidationSettingsOutProto: @unchecked Sendable {} +extension TitanGetPlayerSubmissionValidationSettingsProto: @unchecked Sendable {} +extension TitanGetPoisInRadiusOutProto: @unchecked Sendable {} +extension TitanGetPoisInRadiusOutProto.Status: @unchecked Sendable {} +extension TitanGetPoisInRadiusProto: @unchecked Sendable {} +extension TitanGetUploadUrlOutProto: @unchecked Sendable {} +extension TitanGetUploadUrlOutProto.Status: @unchecked Sendable {} +extension TitanGetUploadUrlProto: @unchecked Sendable {} +extension TitanGrapeshotAuthenticationDataProto: @unchecked Sendable {} +extension TitanGrapeshotChunkDataProto: @unchecked Sendable {} +extension TitanGrapeshotComposeDataProto: @unchecked Sendable {} +extension TitanGrapeshotUploadingDataProto: @unchecked Sendable {} +extension TitanPlayerSubmissionResponseProto: @unchecked Sendable {} +extension TitanPlayerSubmissionResponseProto.Status: @unchecked Sendable {} +extension TitanPoiPlayerMetadataTelemetry: @unchecked Sendable {} +extension TitanPoiSubmissionPhotoUploadErrorTelemetry: @unchecked Sendable {} +extension TitanPoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds: @unchecked Sendable {} +extension TitanPoiSubmissionTelemetry: @unchecked Sendable {} +extension TitanPoiSubmissionTelemetry.PoiCameraStepIds: @unchecked Sendable {} +extension TitanPoiSubmissionTelemetry.PoiSubmissionGuiEventId: @unchecked Sendable {} +extension TitanPoiVideoSubmissionMetadataProto: @unchecked Sendable {} +extension TitanSubmitNewPoiOutProto: @unchecked Sendable {} +extension TitanSubmitNewPoiOutProto.Status: @unchecked Sendable {} +extension TitanSubmitNewPoiProto: @unchecked Sendable {} +extension TitanSubmitPlayerImageVoteForPoiOutProto: @unchecked Sendable {} +extension TitanSubmitPlayerImageVoteForPoiOutProto.Status: @unchecked Sendable {} +extension TitanSubmitPlayerImageVoteForPoiProto: @unchecked Sendable {} +extension TitanSubmitPoiCategoryVoteRecordProto: @unchecked Sendable {} +extension TitanSubmitPoiImageProto: @unchecked Sendable {} +extension TitanSubmitPoiLocationUpdateProto: @unchecked Sendable {} +extension TitanSubmitPoiTakedownRequestProto: @unchecked Sendable {} +extension TitanSubmitPoiTextMetadataUpdateProto: @unchecked Sendable {} +extension TitanSubmitSponsorPoiLocationUpdateProto: @unchecked Sendable {} +extension TitanSubmitSponsorPoiReportProto: @unchecked Sendable {} +extension TitanTitanGameClientTelemetryOmniProto: @unchecked Sendable {} +extension TitanTitanGameClientTelemetryOmniProto.OneOf_TelemetryData: @unchecked Sendable {} +extension TodayViewProto: @unchecked Sendable {} +extension TodayViewSectionProto: @unchecked Sendable {} +extension TodayViewSectionProto.OneOf_Section: @unchecked Sendable {} +extension TodayViewSettingsProto: @unchecked Sendable {} +extension TodayViewSettingsProto.TodayViewSections: @unchecked Sendable {} +extension TopicProto: @unchecked Sendable {} +extension TradePokemonQuestProto: @unchecked Sendable {} +extension TradingGlobalSettingsProto: @unchecked Sendable {} +extension TradingLogEntry: @unchecked Sendable {} +extension TradingLogEntry.Result: @unchecked Sendable {} +extension TradingProto: @unchecked Sendable {} +extension TradingProto.TradingState: @unchecked Sendable {} +extension TradingProto.TradingPlayerProto: @unchecked Sendable {} +extension TradingProto.TradingPlayerProto.ExcludedPokemon: @unchecked Sendable {} +extension TradingProto.TradingPlayerProto.ExcludedPokemon.ExclusionReason: @unchecked Sendable {} +extension TradingProto.TradingPokemonProto: @unchecked Sendable {} +extension TransferContestEntryOutProto: @unchecked Sendable {} +extension TransferContestEntryOutProto.Status: @unchecked Sendable {} +extension TransferContestEntryProto: @unchecked Sendable {} +extension TransferPokemonSizeLeaderboardEntryOutProto: @unchecked Sendable {} +extension TransferPokemonSizeLeaderboardEntryOutProto.Status: @unchecked Sendable {} +extension TransferPokemonSizeLeaderboardEntryProto: @unchecked Sendable {} +extension TransferPokemonToPokemonHomeOutProto: @unchecked Sendable {} +extension TransferPokemonToPokemonHomeOutProto.Status: @unchecked Sendable {} +extension TransferPokemonToPokemonHomeProto: @unchecked Sendable {} +extension TransitMetadata: @unchecked Sendable {} +extension TranslationSettingsProto: @unchecked Sendable {} +extension TravelRouteQuestProto: @unchecked Sendable {} +extension TriangleList: @unchecked Sendable {} +extension TriangleList.ExteriorEdgeBit: @unchecked Sendable {} +extension TutorialCreateDetail: @unchecked Sendable {} +extension TutorialItemRewardsProto: @unchecked Sendable {} +extension TutorialTelemetry: @unchecked Sendable {} +extension TutorialTelemetry.TutorialTelemetryId: @unchecked Sendable {} +extension TutorialsSettingsProto: @unchecked Sendable {} +extension TwoWaySharedFriendshipDataProto: @unchecked Sendable {} +extension TwoWaySharedFriendshipDataProto.SharedMigrations: @unchecked Sendable {} +extension TypeEffectiveSettingsProto: @unchecked Sendable {} +extension UncommentAnnotationTestProto: @unchecked Sendable {} +extension UninterpretedOption: @unchecked Sendable {} +extension UninterpretedOption.NamePart: @unchecked Sendable {} +extension UnlinkNintendoAccountOutProto: @unchecked Sendable {} +extension UnlinkNintendoAccountOutProto.Status: @unchecked Sendable {} +extension UnlinkNintendoAccountProto: @unchecked Sendable {} +extension UnlockPokemonMoveOutProto: @unchecked Sendable {} +extension UnlockPokemonMoveOutProto.Result: @unchecked Sendable {} +extension UnlockPokemonMoveProto: @unchecked Sendable {} +extension UpNextSectionProto: @unchecked Sendable {} +extension UpcomingEventsSectionProto: @unchecked Sendable {} +extension UpdateAdventureSyncFitnessRequestProto: @unchecked Sendable {} +extension UpdateAdventureSyncFitnessResponseProto: @unchecked Sendable {} +extension UpdateAdventureSyncFitnessResponseProto.Status: @unchecked Sendable {} +extension UpdateAdventureSyncSettingsRequestProto: @unchecked Sendable {} +extension UpdateAdventureSyncSettingsResponseProto: @unchecked Sendable {} +extension UpdateAdventureSyncSettingsResponseProto.Status: @unchecked Sendable {} +extension UpdateBreadcrumbHistoryRequestProto: @unchecked Sendable {} +extension UpdateBreadcrumbHistoryResponseProto: @unchecked Sendable {} +extension UpdateBreadcrumbHistoryResponseProto.Status: @unchecked Sendable {} +extension UpdateBulkPlayerLocationRequestProto: @unchecked Sendable {} +extension UpdateBulkPlayerLocationResponseProto: @unchecked Sendable {} +extension UpdateBulkPlayerLocationResponseProto.Status: @unchecked Sendable {} +extension UpdateCombatData: @unchecked Sendable {} +extension UpdateCombatOutProto: @unchecked Sendable {} +extension UpdateCombatOutProto.Result: @unchecked Sendable {} +extension UpdateCombatProto: @unchecked Sendable {} +extension UpdateCombatResponseData: @unchecked Sendable {} +extension UpdateCombatResponseTimeTelemetry: @unchecked Sendable {} +extension UpdateContestEntryOutProto: @unchecked Sendable {} +extension UpdateContestEntryOutProto.Status: @unchecked Sendable {} +extension UpdateContestEntryProto: @unchecked Sendable {} +extension UpdateInvasionBattleOutProto: @unchecked Sendable {} +extension UpdateInvasionBattleProto: @unchecked Sendable {} +extension UpdateInvasionBattleProto.UpdateType: @unchecked Sendable {} +extension UpdateIrisSpawnDataProto: @unchecked Sendable {} +extension UpdateIrisSpawnDataProto.Status: @unchecked Sendable {} +extension UpdateNotificationOutProto: @unchecked Sendable {} +extension UpdateNotificationProto: @unchecked Sendable {} +extension UpdatePokemonSizeLeaderboardEntryOutProto: @unchecked Sendable {} +extension UpdatePokemonSizeLeaderboardEntryOutProto.Status: @unchecked Sendable {} +extension UpdatePokemonSizeLeaderboardEntryProto: @unchecked Sendable {} +extension UpdatePostcardOutProto: @unchecked Sendable {} +extension UpdatePostcardOutProto.Result: @unchecked Sendable {} +extension UpdatePostcardProto: @unchecked Sendable {} +extension UpdateRouteDraftOutProto: @unchecked Sendable {} +extension UpdateRouteDraftOutProto.Result: @unchecked Sendable {} +extension UpdateRouteDraftProto: @unchecked Sendable {} +extension UpdateRouteDraftProto.OneOf_NullablePause: @unchecked Sendable {} +extension UpdateTradingOutProto: @unchecked Sendable {} +extension UpdateTradingOutProto.Result: @unchecked Sendable {} +extension UpdateTradingProto: @unchecked Sendable {} +extension UpdateVpsEventOutProto: @unchecked Sendable {} +extension UpdateVpsEventOutProto.Status: @unchecked Sendable {} +extension UpdateVpsEventProto: @unchecked Sendable {} +extension UpgradePokemonOutProto: @unchecked Sendable {} +extension UpgradePokemonOutProto.Result: @unchecked Sendable {} +extension UpgradePokemonOutProto.BulkUpgradesCost: @unchecked Sendable {} +extension UpgradePokemonProto: @unchecked Sendable {} +extension UploadCombatClientLogOutProto: @unchecked Sendable {} +extension UploadCombatClientLogOutProto.Result: @unchecked Sendable {} +extension UploadCombatClientLogProto: @unchecked Sendable {} +extension UploadManagementSettings: @unchecked Sendable {} +extension UploadManagementTelemetry: @unchecked Sendable {} +extension UploadManagementTelemetry.UploadManagementEventId: @unchecked Sendable {} +extension UploadPoiPhotoByUrlOutProto: @unchecked Sendable {} +extension UploadPoiPhotoByUrlProto: @unchecked Sendable {} +extension UploadRaidClientLogOutProto: @unchecked Sendable {} +extension UploadRaidClientLogOutProto.Result: @unchecked Sendable {} +extension UploadRaidClientLogProto: @unchecked Sendable {} +extension UpsightLoggingSettingsProto: @unchecked Sendable {} +extension Upstream: @unchecked Sendable {} +extension Upstream.OneOf_Message: @unchecked Sendable {} +extension Upstream.ProbeResponse: @unchecked Sendable {} +extension Upstream.ProbeResponse.NetworkType: @unchecked Sendable {} +extension Upstream.SubscriptionRequest: @unchecked Sendable {} +extension UseIncenseActionOutProto: @unchecked Sendable {} +extension UseIncenseActionOutProto.Result: @unchecked Sendable {} +extension UseIncenseActionProto: @unchecked Sendable {} +extension UseIncenseActionProto.Usage: @unchecked Sendable {} +extension UseItemBulkHealOutProto: @unchecked Sendable {} +extension UseItemBulkHealOutProto.Status: @unchecked Sendable {} +extension UseItemBulkHealOutProto.HealResult: @unchecked Sendable {} +extension UseItemBulkHealOutProto.HealResult.Result: @unchecked Sendable {} +extension UseItemBulkHealProto: @unchecked Sendable {} +extension UseItemCaptureOutProto: @unchecked Sendable {} +extension UseItemCaptureProto: @unchecked Sendable {} +extension UseItemEggIncubatorOutProto: @unchecked Sendable {} +extension UseItemEggIncubatorOutProto.Result: @unchecked Sendable {} +extension UseItemEggIncubatorProto: @unchecked Sendable {} +extension UseItemEncounterOutProto: @unchecked Sendable {} +extension UseItemEncounterOutProto.Status: @unchecked Sendable {} +extension UseItemEncounterProto: @unchecked Sendable {} +extension UseItemMoveRerollOutProto: @unchecked Sendable {} +extension UseItemMoveRerollOutProto.Result: @unchecked Sendable {} +extension UseItemMoveRerollProto: @unchecked Sendable {} +extension UseItemPotionOutProto: @unchecked Sendable {} +extension UseItemPotionOutProto.Result: @unchecked Sendable {} +extension UseItemPotionProto: @unchecked Sendable {} +extension UseItemRareCandyOutProto: @unchecked Sendable {} +extension UseItemRareCandyOutProto.Result: @unchecked Sendable {} +extension UseItemRareCandyProto: @unchecked Sendable {} +extension UseItemReviveOutProto: @unchecked Sendable {} +extension UseItemReviveOutProto.Result: @unchecked Sendable {} +extension UseItemReviveProto: @unchecked Sendable {} +extension UseItemStardustBoostOutProto: @unchecked Sendable {} +extension UseItemStardustBoostOutProto.Result: @unchecked Sendable {} +extension UseItemStardustBoostProto: @unchecked Sendable {} +extension UseItemXpBoostOutProto: @unchecked Sendable {} +extension UseItemXpBoostOutProto.Result: @unchecked Sendable {} +extension UseItemXpBoostProto: @unchecked Sendable {} +extension UseNonCombatMoveLogEntry: @unchecked Sendable {} +extension UseNonCombatMoveRequestProto: @unchecked Sendable {} +extension UseNonCombatMoveResponseProto: @unchecked Sendable {} +extension UseNonCombatMoveResponseProto.Status: @unchecked Sendable {} +extension UserAttributesProto: @unchecked Sendable {} +extension UserIssueWeatherReport: @unchecked Sendable {} +extension UsernameSuggestionSettingsProto: @unchecked Sendable {} +extension UsernameSuggestionTelemetry: @unchecked Sendable {} +extension V1TelemetryAttribute: @unchecked Sendable {} +extension V1TelemetryAttribute.Label: @unchecked Sendable {} +extension V1TelemetryAttributeRecordProto: @unchecked Sendable {} +extension V1TelemetryBatchProto: @unchecked Sendable {} +extension V1TelemetryEventRecordProto: @unchecked Sendable {} +extension V1TelemetryField: @unchecked Sendable {} +extension V1TelemetryKey: @unchecked Sendable {} +extension V1TelemetryMetadataProto: @unchecked Sendable {} +extension V1TelemetryMetadataProto.TelemetryScopeId: @unchecked Sendable {} +extension V1TelemetryMetricRecordProto: @unchecked Sendable {} +extension V1TelemetryMetricRecordProto.OneOf_Value: @unchecked Sendable {} +extension V1TelemetryMetricRecordProto.Kind: @unchecked Sendable {} +extension V1TelemetryValue: @unchecked Sendable {} +extension V1TelemetryValue.OneOf_Value: @unchecked Sendable {} +extension ValidateNiaAppleAuthTokenRequestProto: @unchecked Sendable {} +extension ValidateNiaAppleAuthTokenResponseProto: @unchecked Sendable {} +extension ValidateNiaAppleAuthTokenResponseProto.Status: @unchecked Sendable {} +extension Value: @unchecked Sendable {} +extension Value.OneOf_Kind: @unchecked Sendable {} +extension VasaClientAction: @unchecked Sendable {} +extension VasaClientAction.ActionEnum: @unchecked Sendable {} +extension VerboseLogCombatProto: @unchecked Sendable {} +extension VerboseLogRaidProto: @unchecked Sendable {} +extension VerifyChallengeOutProto: @unchecked Sendable {} +extension VerifyChallengeProto: @unchecked Sendable {} +extension ViewPointOfInterestImageTelemetry: @unchecked Sendable {} +extension VistaGeneralSettingsProto: @unchecked Sendable {} +extension VpsAnchor: @unchecked Sendable {} +extension VpsEventMapDisplayProto: @unchecked Sendable {} +extension VpsEventSettingsProto: @unchecked Sendable {} +extension VpsEventSettingsProto.FortVpsEvent: @unchecked Sendable {} +extension VpsEventWrapperProto: @unchecked Sendable {} +extension VpsEventWrapperProto.EventDurationProto: @unchecked Sendable {} +extension VpsLocalizationStartedEvent: @unchecked Sendable {} +extension VpsLocalizationSuccessEvent: @unchecked Sendable {} +extension VpsSessionEndedEvent: @unchecked Sendable {} +extension VsActionHistory: @unchecked Sendable {} +extension VsSeekerAttributesProto: @unchecked Sendable {} +extension VsSeekerAttributesProto.VsSeekerStatus: @unchecked Sendable {} +extension VsSeekerBattleResult: @unchecked Sendable {} +extension VsSeekerClientSettingsProto: @unchecked Sendable {} +extension VsSeekerCompleteSeasonLogEntry: @unchecked Sendable {} +extension VsSeekerCompleteSeasonLogEntry.Result: @unchecked Sendable {} +extension VsSeekerCreateDetail: @unchecked Sendable {} +extension VsSeekerLootProto: @unchecked Sendable {} +extension VsSeekerLootProto.RewardProto: @unchecked Sendable {} +extension VsSeekerLootProto.RewardProto.OneOf_RewardType: @unchecked Sendable {} +extension VsSeekerPokemonRewardsProto: @unchecked Sendable {} +extension VsSeekerPokemonRewardsProto.OverrideIvRangeProto: @unchecked Sendable {} +extension VsSeekerPokemonRewardsProto.OverrideIvRangeProto.OneOf_OverrideType: @unchecked Sendable {} +extension VsSeekerPokemonRewardsProto.PokemonUnlockProto: @unchecked Sendable {} +extension VsSeekerPokemonRewardsProto.PokemonUnlockProto.OneOf_RewardType: @unchecked Sendable {} +extension VsSeekerRewardEncounterOutProto: @unchecked Sendable {} +extension VsSeekerRewardEncounterOutProto.Result: @unchecked Sendable {} +extension VsSeekerRewardEncounterProto: @unchecked Sendable {} +extension VsSeekerScheduleProto: @unchecked Sendable {} +extension VsSeekerScheduleSettingsProto: @unchecked Sendable {} +extension VsSeekerSeasonSchedule: @unchecked Sendable {} +extension VsSeekerSetLogEntry: @unchecked Sendable {} +extension VsSeekerSetLogEntry.Result: @unchecked Sendable {} +extension VsSeekerSpecialCondition: @unchecked Sendable {} +extension VsSeekerStartMatchmakingData: @unchecked Sendable {} +extension VsSeekerStartMatchmakingOutProto: @unchecked Sendable {} +extension VsSeekerStartMatchmakingOutProto.Result: @unchecked Sendable {} +extension VsSeekerStartMatchmakingProto: @unchecked Sendable {} +extension VsSeekerStartMatchmakingResponseData: @unchecked Sendable {} +extension VsSeekerWinRewardsLogEntry: @unchecked Sendable {} +extension VsSeekerWinRewardsLogEntry.Result: @unchecked Sendable {} +extension WainaGetRewardsRequest: @unchecked Sendable {} +extension WainaGetRewardsResponse: @unchecked Sendable {} +extension WainaGetRewardsResponse.Status: @unchecked Sendable {} +extension WainaPreferences: @unchecked Sendable {} +extension WainaSubmitSleepDataRequest: @unchecked Sendable {} +extension WainaSubmitSleepDataResponse: @unchecked Sendable {} +extension WainaSubmitSleepDataResponse.Status: @unchecked Sendable {} +extension WallabySettingsProto: @unchecked Sendable {} +extension WayfarerOnboardingFlowTelemetry: @unchecked Sendable {} +extension WayfarerOnboardingFlowTelemetry.EventType: @unchecked Sendable {} +extension WayspotEditTelemetry: @unchecked Sendable {} +extension WayspotEditTelemetry.WayspotEditEventId: @unchecked Sendable {} +extension WeatherAffinityProto: @unchecked Sendable {} +extension WeatherAlertProto: @unchecked Sendable {} +extension WeatherAlertProto.Severity: @unchecked Sendable {} +extension WeatherAlertSettingsProto: @unchecked Sendable {} +extension WeatherAlertSettingsProto.AlertEnforceSettings: @unchecked Sendable {} +extension WeatherAlertSettingsProto.AlertEnforceSettings.EnforceCondition: @unchecked Sendable {} +extension WeatherAlertSettingsProto.AlertIgnoreSettings: @unchecked Sendable {} +extension WeatherAlertSettingsProto.AlertIgnoreSettings.OverrideCondition: @unchecked Sendable {} +extension WeatherBonusProto: @unchecked Sendable {} +extension WeatherDetailClickTelemetry: @unchecked Sendable {} +extension WeatherSettingsProto: @unchecked Sendable {} +extension WeatherSettingsProto.DisplayWeatherSettingsProto: @unchecked Sendable {} +extension WeatherSettingsProto.DisplayWeatherSettingsProto.DisplayLevelSettings: @unchecked Sendable {} +extension WeatherSettingsProto.DisplayWeatherSettingsProto.WindLevelSettings: @unchecked Sendable {} +extension WeatherSettingsProto.GameplayWeatherSettingsProto: @unchecked Sendable {} +extension WeatherSettingsProto.GameplayWeatherSettingsProto.ConditionMapSettings: @unchecked Sendable {} +extension WeatherSettingsProto.StaleWeatherSettingsProto: @unchecked Sendable {} +extension WebSocketResponseData: @unchecked Sendable {} +extension WebTelemetry: @unchecked Sendable {} +extension WebstoreRewardsLogEntry: @unchecked Sendable {} +extension WebstoreRewardsLogEntry.Result: @unchecked Sendable {} +extension WebstoreUserDataProto: @unchecked Sendable {} +extension WebstoreUserDataProto.Storage: @unchecked Sendable {} +extension WeekdaysProto: @unchecked Sendable {} +extension WeekdaysProto.DayName: @unchecked Sendable {} +extension WildCreateDetail: @unchecked Sendable {} +extension WildPokemonProto: @unchecked Sendable {} +extension WithAuthProviderTypeProto: @unchecked Sendable {} +extension WithBadgeTypeProto: @unchecked Sendable {} +extension WithBuddyProto: @unchecked Sendable {} +extension WithCombatTypeProto: @unchecked Sendable {} +extension WithCurveBallProto: @unchecked Sendable {} +extension WithDailyBuddyAffectionProto: @unchecked Sendable {} +extension WithDailyCaptureBonusProto: @unchecked Sendable {} +extension WithDailySpinBonusProto: @unchecked Sendable {} +extension WithDeviceTypeProto: @unchecked Sendable {} +extension WithDistanceProto: @unchecked Sendable {} +extension WithElapsedTimeProto: @unchecked Sendable {} +extension WithEncounterTypeProto: @unchecked Sendable {} +extension WithFortIdProto: @unchecked Sendable {} +extension WithFriendLevelProto: @unchecked Sendable {} +extension WithFriendsRaidProto: @unchecked Sendable {} +extension WithGblRankProto: @unchecked Sendable {} +extension WithInPartyProto: @unchecked Sendable {} +extension WithInvasionCharacterProto: @unchecked Sendable {} +extension WithItemProto: @unchecked Sendable {} +extension WithItemTypeProto: @unchecked Sendable {} +extension WithLocationProto: @unchecked Sendable {} +extension WithMaxCpProto: @unchecked Sendable {} +extension WithNpcCombatProto: @unchecked Sendable {} +extension WithOpponentPokemonBattleStatusProto: @unchecked Sendable {} +extension WithPlayerLevelProto: @unchecked Sendable {} +extension WithPokemonAlignmentProto: @unchecked Sendable {} +extension WithPokemonCategoryProto: @unchecked Sendable {} +extension WithPokemonCostumeProto: @unchecked Sendable {} +extension WithPokemonCpLimitProto: @unchecked Sendable {} +extension WithPokemonCpProto: @unchecked Sendable {} +extension WithPokemonLevelProto: @unchecked Sendable {} +extension WithPokemonMoveProto: @unchecked Sendable {} +extension WithPokemonSizeProto: @unchecked Sendable {} +extension WithPokemonTypeProto: @unchecked Sendable {} +extension WithPvpCombatProto: @unchecked Sendable {} +extension WithQuestContextProto: @unchecked Sendable {} +extension WithRaidLevelProto: @unchecked Sendable {} +extension WithRaidLocationProto: @unchecked Sendable {} +extension WithRouteTravelProto: @unchecked Sendable {} +extension WithSingleDayProto: @unchecked Sendable {} +extension WithSuperEffectiveChargeMoveProto: @unchecked Sendable {} +extension WithTappableTypeProto: @unchecked Sendable {} +extension WithTempEvoIdProto: @unchecked Sendable {} +extension WithThrowTypeProto: @unchecked Sendable {} +extension WithThrowTypeProto.OneOf_Throw: @unchecked Sendable {} +extension WithTotalDaysProto: @unchecked Sendable {} +extension WithUniquePokemonProto: @unchecked Sendable {} +extension WithUniquePokestopProto: @unchecked Sendable {} +extension WithUniquePokestopProto.Context: @unchecked Sendable {} +extension WithUniqueRouteTravelProto: @unchecked Sendable {} +extension WithWeatherBoostProto: @unchecked Sendable {} +extension WithWinBattleStatusProto: @unchecked Sendable {} +extension WithWinGymBattleStatusProto: @unchecked Sendable {} +extension WithWinRaidStatusProto: @unchecked Sendable {} +extension YesNoSelectorProto: @unchecked Sendable {} +#endif // swift(>=5.5) && canImport(_Concurrency) + +// MARK: - Code below here is support for the SwiftProtobuf runtime. -extension PokemonCreateContext: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CREATE_CONTEXT_WILD"), - 1: .same(proto: "CREATE_CONTEXT_EGG"), - 2: .same(proto: "CREATE_CONTEXT_EVOLVE"), - ] -} +fileprivate let _protobuf_package = "POGOProtos.Rpc" -extension PokemonGoPlusIds: SwiftProtobuf._ProtoNameProviding { +extension ARDKNominationType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKEMON_GO_PLUS_IDS_UNDEFINED_POKEMON_GO_PLUS_EVENT"), - 1: .same(proto: "POKEMON_GO_PLUS_IDS_CANNOT_CONNECT_TO_PGP"), - 2: .same(proto: "POKEMON_GO_PLUS_IDS_REGISTERING_PGP_FAILED"), - 3: .same(proto: "POKEMON_GO_PLUS_IDS_REGISTERING_RETRY"), - 4: .same(proto: "POKEMON_GO_PLUS_IDS_CONNECTION_SUCCESS"), - 5: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_DISCONNECTED_BY_USER"), - 6: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_DISCONNECTED_BY_TIMEOUT"), - 7: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_DISCONNECTED_BY_ERROR"), - 8: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_LOW_BATTERY"), - 9: .same(proto: "POKEMON_GO_PLUS_IDS_BLUETOOTH_SENT_ERROR"), - 10: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_SEEN_BY_DEVICE"), - 11: .same(proto: "POKEMON_GO_PLUS_IDS_POKEMON_CAUGHT"), - 12: .same(proto: "POKEMON_GO_PLUS_IDS_POKEMON_NOT_CAUGHT"), - 13: .same(proto: "POKEMON_GO_PLUS_IDS_POKEMON_NOT_CAUGHT_DUE_ERROR"), - 14: .same(proto: "POKEMON_GO_PLUS_IDS_POKESTOP_SPUN"), - 15: .same(proto: "POKEMON_GO_PLUS_IDS_POKESTOP_NOT_SPUN_DUE_ERROR"), + 0: .same(proto: "regular"), + 1: .same(proto: "provisional"), ] } -extension PokemonHomeTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension ARDKPlayerSubmissionTypeProto: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKEMON_HOME_TELEMETRY_IDS_UNDEFINED_POKEMON_HOME_EVENT"), - 1: .same(proto: "POKEMON_HOME_TELEMETRY_IDS_OPEN_SETTINGS"), - 2: .same(proto: "POKEMON_HOME_TELEMETRY_IDS_SIGN_IN"), - 3: .same(proto: "POKEMON_HOME_TELEMETRY_IDS_SELECTED_POKEMON"), + 0: .same(proto: "type_unspecified"), + 1: .same(proto: "poi_submission"), + 2: .same(proto: "route_submission"), + 3: .same(proto: "poi_image_submission"), + 4: .same(proto: "poi_text_metadata_update"), + 5: .same(proto: "poi_location_update"), + 6: .same(proto: "poi_takedown_request"), + 7: .same(proto: "poi_ar_video_submission"), + 8: .same(proto: "sponsor_poi_report"), + 9: .same(proto: "sponsor_poi_location_update"), + 10: .same(proto: "poi_category_vote_submission"), ] } -extension PokemonInventoryTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension ARDKPoiInvalidReason: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKEMON_INVENTORY_TELEMETRY_IDS_UNDEFINED_POKEMON_INVENTORY_EVENT"), - 1: .same(proto: "POKEMON_INVENTORY_TELEMETRY_IDS_OPEN"), - 2: .same(proto: "POKEMON_INVENTORY_TELEMETRY_IDS_SORTING_CHANGE"), - 3: .same(proto: "POKEMON_INVENTORY_TELEMETRY_IDS_FILTER"), + 0: .same(proto: "invalid_reason_unspecified"), + 1: .same(proto: "no_pedestrian_access"), + 2: .same(proto: "obstructs_emergency_services"), + 3: .same(proto: "private_residential_property"), + 4: .same(proto: "ardk_school"), + 5: .same(proto: "permanently_removed"), + 6: .same(proto: "duplicate"), ] } -extension PokemonTagColor: SwiftProtobuf._ProtoNameProviding { +extension ARDKScanTag: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKEMON_TAG_COLOR_UNSET"), - 1: .same(proto: "POKEMON_TAG_COLOR_BLUE"), - 2: .same(proto: "POKEMON_TAG_COLOR_GREEN"), - 3: .same(proto: "POKEMON_TAG_COLOR_PURPLE"), - 4: .same(proto: "POKEMON_TAG_COLOR_YELLOW"), - 5: .same(proto: "POKEMON_TAG_COLOR_RED"), - 6: .same(proto: "POKEMON_TAG_COLOR_ORANGE"), - 7: .same(proto: "POKEMON_TAG_COLOR_GREY"), - 8: .same(proto: "POKEMON_TAG_COLOR_BLACK"), + 0: .same(proto: "default_scan"), + 1: .same(proto: "public"), + 2: .same(proto: "private"), + 3: .same(proto: "wayspot_centric"), + 4: .same(proto: "free_form"), + 5: .same(proto: "experimental"), ] } -extension PostcardSource: SwiftProtobuf._ProtoNameProviding { +extension ARDKSponsorPoiInvalidReason: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POSTCARD_SOURCE_UNKNOWN"), - 1: .same(proto: "POSTCARD_SOURCE_SELF"), - 2: .same(proto: "POSTCARD_SOURCE_FRIEND"), - 3: .same(proto: "POSTCARD_SOURCE_FRIEND_ANONYMIZED"), - 4: .same(proto: "POSTCARD_SOURCE_FRIEND_ANONYMIZED_FROM_DELETION_OR_UNFRIEND"), + 0: .same(proto: "sponsor_poi_reason_unspecified"), + 1: .same(proto: "sponsor_poi_reason_does_not_exist"), + 2: .same(proto: "sponsor_poi_reason_not_safe"), + 3: .same(proto: "sponsor_poi_reason_not_truthful"), + 4: .same(proto: "sponsor_poi_reason_not_family_friendly"), + 5: .same(proto: "sponsor_poi_reason_offensive_content"), ] } -extension ProfilePageTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension ARDKUserType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_UNDEFINED_PROFILE_PAGE"), - 1: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_SHOP_FROM_PROFILE"), - 2: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_LOG"), - 3: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_SET_BUDDY"), - 4: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_CUSTOMIZE_AVATAR"), + 0: .same(proto: "player"), + 1: .same(proto: "developer"), + 2: .same(proto: "surveyor"), + 3: .same(proto: "developer8_th_wall"), ] } -extension PushGatewayTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension ASPermissionStatusTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_UNDEFINED_PUSH_GATEWAY_EVENT"), - 1: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_WEB_SOCKET_STARTED"), - 2: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_WEB_SOCKET_FAILED"), - 3: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_WEB_SOCKET_TIMEOUT"), - 4: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_NEW_INBOX_DOWNSTREAM"), + 0: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_UNKNOWN"), + 1: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_REQUESTED"), + 2: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_GRANTED_IN_USE"), + 3: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_GRANTED_ALWAYS"), + 4: .same(proto: "AS_PERMISSION_STATUS_TELEMETRY_IDS_DENIED"), ] } -extension PushNotificationTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension ASPermissionTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PUSH_NOTIFICATION_TELEMETRY_IDS_UNDEFINED_PUSH_NOTIFICATION_EVENT"), - 1: .same(proto: "PUSH_NOTIFICATION_TELEMETRY_IDS_OPEN_APP"), + 0: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_UNSET_PERMISSION"), + 1: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_LOCATION"), + 2: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_BACKGROUND_LOCATION"), + 3: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_ACTIVITY"), + 4: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_PRECISE_LOCATION"), + 5: .same(proto: "AS_PERMISSION_TELEMETRY_IDS_FITNESS_PERMISSION"), ] } -extension QuestType: SwiftProtobuf._ProtoNameProviding { +extension ASServiceTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "QUEST_UNSET"), - 1: .same(proto: "QUEST_FIRST_CATCH_OF_THE_DAY"), - 2: .same(proto: "QUEST_FIRST_POKESTOP_OF_THE_DAY"), - 3: .same(proto: "QUEST_MULTI_PART"), - 4: .same(proto: "QUEST_CATCH_POKEMON"), - 5: .same(proto: "QUEST_SPIN_POKESTOP"), - 6: .same(proto: "QUEST_HATCH_EGG"), - 7: .same(proto: "QUEST_COMPLETE_GYM_BATTLE"), - 8: .same(proto: "QUEST_COMPLETE_RAID_BATTLE"), - 9: .same(proto: "QUEST_COMPLETE_QUEST"), - 10: .same(proto: "QUEST_TRANSFER_POKEMON"), - 11: .same(proto: "QUEST_FAVORITE_POKEMON"), - 12: .same(proto: "QUEST_AUTOCOMPLETE"), - 13: .same(proto: "QUEST_USE_BERRY_IN_ENCOUNTER"), - 14: .same(proto: "QUEST_UPGRADE_POKEMON"), - 15: .same(proto: "QUEST_EVOLVE_POKEMON"), - 16: .same(proto: "QUEST_LAND_THROW"), - 17: .same(proto: "QUEST_GET_BUDDY_CANDY"), - 18: .same(proto: "QUEST_BADGE_RANK"), - 19: .same(proto: "QUEST_PLAYER_LEVEL"), - 20: .same(proto: "QUEST_JOIN_RAID"), - 21: .same(proto: "QUEST_COMPLETE_BATTLE"), - 22: .same(proto: "QUEST_ADD_FRIEND"), - 23: .same(proto: "QUEST_TRADE_POKEMON"), - 24: .same(proto: "QUEST_SEND_GIFT"), - 25: .same(proto: "QUEST_EVOLVE_INTO_POKEMON"), - 27: .same(proto: "QUEST_COMPLETE_COMBAT"), - 28: .same(proto: "QUEST_TAKE_SNAPSHOT"), - 29: .same(proto: "QUEST_BATTLE_TEAM_ROCKET"), - 30: .same(proto: "QUEST_PURIFY_POKEMON"), - 31: .same(proto: "QUEST_FIND_TEAM_ROCKET"), - 32: .same(proto: "QUEST_FIRST_GRUNT_OF_THE_DAY"), - 33: .same(proto: "QUEST_BUDDY_FEED"), - 34: .same(proto: "QUEST_BUDDY_EARN_AFFECTION_POINTS"), - 35: .same(proto: "QUEST_BUDDY_PET"), - 36: .same(proto: "QUEST_BUDDY_LEVEL"), - 37: .same(proto: "QUEST_BUDDY_WALK"), - 38: .same(proto: "QUEST_BUDDY_YATTA"), - 39: .same(proto: "QUEST_USE_INCENSE"), - 40: .same(proto: "QUEST_BUDDY_FIND_SOUVENIR"), - 41: .same(proto: "QUEST_COLLECT_AS_REWARDS"), - 42: .same(proto: "QUEST_WALK"), - 43: .same(proto: "QUEST_MEGA_EVOLVE_POKEMON"), - 44: .same(proto: "QUEST_GET_STARDUST"), - 45: .same(proto: "QUEST_MINI_COLLECTION"), - 46: .same(proto: "QUEST_GEOTARGETED_AR_SCAN"), - 50: .same(proto: "QUEST_BUDDY_EVOLUTION_WALK"), - 51: .same(proto: "QUEST_GBL_RANK"), - 53: .same(proto: "QUEST_CHARGE_ATTACK"), - 54: .same(proto: "QUEST_CHANGE_POKEMON_FORM"), - 55: .same(proto: "QUEST_BATTLE_EVENT_NPC"), - 56: .same(proto: "QUEST_EARN_FORT_POWER_UP_POINTS"), - 57: .same(proto: "QUEST_TAKE_WILD_SNAPSHOT"), - 58: .same(proto: "QUEST_USE_POKEMON_ITEM"), - 59: .same(proto: "QUEST_OPEN_GIFT"), - 60: .same(proto: "QUEST_EARN_XP"), - 61: .same(proto: "QUEST_BATTLE_PLAYER_TEAM_LEADER"), - 62: .same(proto: "QUEST_FIRST_ROUTE_OF_THE_DAY"), - 63: .same(proto: "QUEST_SUBMIT_SLEEP_DATA"), - 64: .same(proto: "QUEST_ROUTE_TRAVEL"), - 65: .same(proto: "QUEST_ROUTE_COMPLETE"), - 66: .same(proto: "QUEST_COLLECT_TAPPABLE"), + 0: .same(proto: "AS_SERVICE_TELEMETRY_IDS_UNSET_SERVICE"), + 1: .same(proto: "AS_SERVICE_TELEMETRY_IDS_FITNESS"), + 2: .same(proto: "AS_SERVICE_TELEMETRY_IDS_AWARENESS"), + 3: .same(proto: "AS_SERVICE_TELEMETRY_IDS_BREADCRUMB"), ] } -extension RaidLevel: SwiftProtobuf._ProtoNameProviding { +extension AdResponseStatus: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "RAID_LEVEL_UNSET"), - 1: .same(proto: "RAID_LEVEL_1"), - 2: .same(proto: "RAID_LEVEL_2"), - 3: .same(proto: "RAID_LEVEL_3"), - 4: .same(proto: "RAID_LEVEL_4"), - 5: .same(proto: "RAID_LEVEL_5"), - 6: .same(proto: "RAID_LEVEL_MEGA"), - 7: .same(proto: "RAID_LEVEL_MEGA_5"), - 8: .same(proto: "RAID_LEVEL_ULTRA_BEAST"), - 9: .same(proto: "RAID_LEVEL_EXTENDED_EGG"), - 10: .same(proto: "RAID_LEVEL_PRIMAL"), - 11: .same(proto: "RAID_LEVEL_1_SHADOW"), - 12: .same(proto: "RAID_LEVEL_2_SHADOW"), - 13: .same(proto: "RAID_LEVEL_3_SHADOW"), - 14: .same(proto: "RAID_LEVEL_4_SHADOW"), - 15: .same(proto: "RAID_LEVEL_5_SHADOW"), + 0: .same(proto: "WASABI_AD_FOUND"), + 1: .same(proto: "NO_CAMPAIGNS_FOUND"), + 2: .same(proto: "USER_NOT_ELIGIBLE"), + 3: .same(proto: "LOW_VALUE_WASABI_AD_FOUND"), ] } -extension RaidLocationRequirement: SwiftProtobuf._ProtoNameProviding { +extension AdType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "RAID_LOCATION_REQUERIMENT_BOTH"), - 1: .same(proto: "RAID_LOCATION_REQUERIMENT_IN_PERSON"), - 2: .same(proto: "RAID_LOCATION_REQUERIMENT_REMOTE"), + 0: .same(proto: "AD_TYPE_UNKNOWN"), + 1: .same(proto: "AD_TYPE_SPONSORED_GIFT"), + 2: .same(proto: "AD_TYPE_SPONSORED_BALLOON"), + 3: .same(proto: "AD_TYPE_SPONSORED_BALLOON_WASABI"), + 4: .same(proto: "AD_TYPE_SPONSORED_BALLOON_GOOGLE_MANAGED_AD"), + 5: .same(proto: "AD_TYPE_SPONSORED_BALLOON_AR_AD"), + 6: .same(proto: "AD_TYPE_SPONSORED_BALLOON_VIDEO"), ] } -extension RaidPlaquePipStyle: SwiftProtobuf._ProtoNameProviding { +extension AnimationTake: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "RAID_PLAQUE_STYLE_UNSET"), - 1: .same(proto: "RAID_PLAQUE_STYLE_TRIANGLE"), - 2: .same(proto: "RAID_PLAQUE_STYLE_DIAMOND"), - 3: .same(proto: "RAID_PLAQUE_STYLE_STAR"), + 0: .same(proto: "POKEMONGO_PLUS_ANIME_TAKE_SINGLE"), + 1: .same(proto: "POKEMONGO_PLUS_ANIME_TAKE_BRANCHING"), + 2: .same(proto: "POKEMONGO_PLUS_ANIME_TAKE_SEQUENCE"), ] } -extension RaidTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension AssetTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "RAID_TELEMETRY_IDS_UNDEFINED_RAID_EVENT"), - 1: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_ENTER"), - 2: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_CLICK_SPINNER"), - 3: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_JOIN"), - 4: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_TICKET_CONFIRMATION"), - 5: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_CLICK_TUTORIAL"), - 6: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_CLICK_SHOP"), - 7: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_CLICK_INSPECT"), - 8: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_ENTER"), - 9: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_CLICK_INVENTORY"), - 10: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_CLICK_EXIT"), - 11: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_TAP_AVATAR"), - 12: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_CLICK_REJOIN_BATTLE"), - 13: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_CLICK_LOBBY_PUBLIC"), - 14: .same(proto: "RAID_TELEMETRY_IDS_MVT_CLICK_SHARE"), + 0: .same(proto: "ASSET_TELEMETRY_IDS_UNDEFINED_ASSET_EVENT"), + 1: .same(proto: "ASSET_TELEMETRY_IDS_DOWNLOAD_START"), + 2: .same(proto: "ASSET_TELEMETRY_IDS_DOWNLOAD_FINISHED"), + 3: .same(proto: "ASSET_TELEMETRY_IDS_DOWNLOAD_FAILED"), + 4: .same(proto: "ASSET_TELEMETRY_IDS_ASSET_RETRIEVED_FROM_CACHE"), + 5: .same(proto: "ASSET_TELEMETRY_IDS_CACHE_THRASH"), ] } -extension RaidVisualType: SwiftProtobuf._ProtoNameProviding { +extension AttractedPokemonContext: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "RAID_VISUAL_TYPE_UNSET"), - 1: .same(proto: "RAID_VISUAL_TYPE_NORMAL"), - 2: .same(proto: "RAID_VISUAL_TYPE_EXCLUSIVE"), - 3: .same(proto: "RAID_VISUAL_TYPE_MEGA"), - 4: .same(proto: "RAID_VISUAL_TYPE_LEGENDARY_MEGA"), - 5: .same(proto: "RAID_VISUAL_TYPE_EXTENDED"), - 6: .same(proto: "RAID_VISUAL_TYPE_PRIMAL"), - 7: .same(proto: "RAID_VISUAL_TYPE_SHADOW"), + 0: .same(proto: "ATTRACTED_POKEMON_UNSET"), + 1: .same(proto: "ATTRACTED_POKEMON_ROUTE"), ] } -extension ReferralRole: SwiftProtobuf._ProtoNameProviding { +extension AuthIdentityProvider: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "REFERRAL_ROLE_UNDEFINED"), - 1: .same(proto: "REFERRAL_ROLE_REFERRER"), - 2: .same(proto: "REFERRAL_ROLE_NEW_REFEREE"), - 3: .same(proto: "REFERRAL_ROLE_LAPSED_REFEREE"), + 0: .same(proto: "UNSET_IDENTITY_PROVIDER"), + 1: .same(proto: "GOOGLE"), + 2: .same(proto: "PTC"), + 3: .same(proto: "FACEBOOK"), + 4: .same(proto: "BACKGROUND"), + 5: .same(proto: "INTERNAL"), + 6: .same(proto: "SFIDA"), + 7: .same(proto: "SUPER_AWESOME"), + 8: .same(proto: "DEVELOPER"), + 9: .same(proto: "SHARED_SECRET"), + 10: .same(proto: "POSEIDON"), + 11: .same(proto: "NINTENDO"), + 12: .same(proto: "APPLE"), + 13: .same(proto: "NIANTIC_SHARED_LOGIN_TOKEN"), + 14: .same(proto: "GUEST_LOGIN_TOKEN"), ] } -extension ReferralTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension AutoModeConfigType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "REFERRAL_TELEMETRY_IDS_UNDEFINED_REFERRAL_EVENT"), - 1: .same(proto: "REFERRAL_TELEMETRY_IDS_OPEN_INVITE_PAGE"), - 2: .same(proto: "REFERRAL_TELEMETRY_IDS_TAP_SHARE_CODE"), - 3: .same(proto: "REFERRAL_TELEMETRY_IDS_TAP_COPY_CODE"), - 4: .same(proto: "REFERRAL_TELEMETRY_IDS_TAP_HAVE_REFERRAL_CODE"), - 5: .same(proto: "REFERRAL_TELEMETRY_IDS_INPUT_CODE"), - 6: .same(proto: "REFERRAL_TELEMETRY_IDS_INPUT_CODE_SUCCESS"), - 7: .same(proto: "REFERRAL_TELEMETRY_IDS_MILESTONE_REWARD_CLAIMED"), - 8: .same(proto: "REFERRAL_TELEMETRY_IDS_OPEN_APP_THROUGH_DEEP_LINK"), + 0: .same(proto: "POKEMONGO_PLUS_CONFIG_TYPE_NO_AUTO_MODE"), + 1: .same(proto: "POKEMONGO_PLUS_CONFIG_TYPE_SPIN_AUTO_MODE"), + 2: .same(proto: "POKEMONGO_PLUS_CONFIG_TYPE_THROW_AUTO_MODE"), ] } -extension ReferralTelemetrySource: SwiftProtobuf._ProtoNameProviding { +extension AvatarCustomizationTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "REFERRAL_TELEMETRY_SOURCE_UNDEFINED_SOURCE"), - 1: .same(proto: "REFERRAL_TELEMETRY_SOURCE_INVITE_PAGE"), - 2: .same(proto: "REFERRAL_TELEMETRY_SOURCE_ADDRESS_BOOK"), - 3: .same(proto: "REFERRAL_TELEMETRY_SOURCE_IMAGE_SHARE"), + 0: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_UNDEFINED_AVATAR_CUSTOMIZATION"), + 1: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_EQUIP_ITEM"), + 2: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_OPEN_FEATURES"), + 3: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_OPEN_STORE"), + 4: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_PURCHASE_ITEM"), + 5: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_PURCHASE_ERROR"), + 6: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_SELECT_ITEM_GROUP"), + 7: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_SELECT_SLOT"), + 8: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_SELECT_COLOR"), + 9: .same(proto: "AVATAR_CUSTOMIZATION_TELEMETRY_IDS_SHOW_QUICK_SHOP"), ] } -extension RemoteRaidInviteAcceptSource: SwiftProtobuf._ProtoNameProviding { +extension AvatarGender: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "REMOTE_RAID_INVITE_ACCEPT_SOURCE_UNDEFINED_REMOTE_RAID_INVITE_ACCEPT_SOURCE"), - 1: .same(proto: "REMOTE_RAID_INVITE_ACCEPT_SOURCE_REMOTE_RAID_IN_APP"), - 2: .same(proto: "REMOTE_RAID_INVITE_ACCEPT_SOURCE_REMOTE_RAID_PUSH_NOTIFICATION"), - 3: .same(proto: "REMOTE_RAID_INVITE_ACCEPT_SOURCE_REMOTE_RAID_NEARBY_WINDOW"), + 0: .same(proto: "AVATAR_UNKNOWN"), + 1: .same(proto: "AVATAR_MALE"), + 2: .same(proto: "AVATAR_FEMALE"), ] } -extension RemoteRaidJoinSource: SwiftProtobuf._ProtoNameProviding { +extension AvatarSlot: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "REMOTE_RAID_JOIN_SOURCE_UNDEFINED_REMOTE_RAID_JOIN_SOURCE"), - 1: .same(proto: "REMOTE_RAID_JOIN_SOURCE_REMOTE_RAID_USED_MAP"), - 2: .same(proto: "REMOTE_RAID_JOIN_SOURCE_REMOTE_RAID_NEARBY_GUI"), - 3: .same(proto: "REMOTE_RAID_JOIN_SOURCE_REMOTE_RAID_INVITED_BY_FRIEND"), + 0: .same(proto: "AVATAR_SLOT_UNSET"), + 1: .same(proto: "AVATAR_SLOT_HAIR"), + 2: .same(proto: "AVATAR_SLOT_SHIRT"), + 3: .same(proto: "AVATAR_SLOT_PANTS"), + 4: .same(proto: "AVATAR_SLOT_HAT"), + 5: .same(proto: "AVATAR_SLOT_SHOES"), + 6: .same(proto: "AVATAR_SLOT_EYES"), + 7: .same(proto: "AVATAR_SLOT_BACKPACK"), + 8: .same(proto: "AVATAR_SLOT_GLOVES"), + 9: .same(proto: "AVATAR_SLOT_SOCKS"), + 10: .same(proto: "AVATAR_SLOT_BELT"), + 11: .same(proto: "AVATAR_SLOT_GLASSES"), + 12: .same(proto: "AVATAR_SLOT_NECKLACE"), + 13: .same(proto: "AVATAR_SLOT_SKIN"), + 14: .same(proto: "AVATAR_SLOT_POSE"), + 15: .same(proto: "AVATAR_SLOT_FACE"), + 16: .same(proto: "AVATAR_SLOT_PROP"), + 17: .same(proto: "AVATAR_SLOT_FACE_PRESET"), + 18: .same(proto: "AVATAR_SLOT_BODY_PRESET"), + 19: .same(proto: "AVATAR_SLOT_EYEBROW"), + 20: .same(proto: "AVATAR_SLOT_EYELASH"), ] } -extension RemoteRaidTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension BattleExperiment: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_UNDEFINED_REMOTE_RAID_EVENT"), - 1: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_REMOTE_RAID_LOBBY_ENTER"), - 2: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_REMOTE_RAID_INVITE_SENT"), - 3: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_REMOTE_RAID_INVITE_ACCEPTED"), - 4: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_REMOTE_RAID_INVITE_REJECTED"), + 0: .same(proto: "BASELINE_BATTLE_EXPERIMENT"), + 1: .same(proto: "ATTACKER_ITEMS"), + 2: .same(proto: "DEFENDER_FORM_CHANGES"), + 3: .same(proto: "PARTY_POWER"), ] } -extension RouteDiscoveryTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension BattleHubSection: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ROUTE_DISCOVERY_TELEMETRY_IDS_ROUTE_DISCOVERY_OPEN"), - 1: .same(proto: "ROUTE_DISCOVERY_TELEMETRY_IDS_ROUTE_DISCOVERY_ABANDON"), - 2: .same(proto: "ROUTE_DISCOVERY_TELEMETRY_IDS_ROUTE_DISCOVERY_ROUTE_SELECTED"), - 3: .same(proto: "ROUTE_DISCOVERY_TELEMETRY_IDS_ROUTE_DISCOVERY_PAGE_SCROLL"), + 0: .same(proto: "SECTION_UNSET"), + 1: .same(proto: "SECTION_VS_SEEKER"), + 2: .same(proto: "SECTION_CURR_SEASON"), + 3: .same(proto: "SECTION_LAST_SEASON"), + 4: .same(proto: "SECTION_NEARBY"), + 5: .same(proto: "SECTION_TEAM_LEADERS"), + 6: .same(proto: "SECTION_QR_CODE"), ] } -extension RouteErrorTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension BattleHubSubsection: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ROUTE_ERROR_TELEMETRY_IDS_ROUTE_ERROR_DEFAULT"), + 0: .same(proto: "SUBSECTION_UNSET"), + 1: .same(proto: "SUBSECTION_VS_CHARGING"), + 2: .same(proto: "SUBSECTION_VS_FREE"), + 3: .same(proto: "SUBSECTION_VS_PREMIUM"), + 4: .same(proto: "SUBSECTION_NEARBY_TEAM_LEADERS"), + 5: .same(proto: "SUBSECTION_NEARBY_QR_CODE"), ] } -extension RouteType: SwiftProtobuf._ProtoNameProviding { +extension BattlePartyTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ROUTE_TYPE_UNSET"), - 1: .same(proto: "ROUTE_TYPE_ORGANIC"), - 2: .same(proto: "ROUTE_TYPE_OFFICIAL"), - 3: .same(proto: "ROUTE_TYPE_EVENT"), - 4: .same(proto: "ROUTE_TYPE_SPONSORED"), + 0: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_UNDEFINED_BATTLE_PARTY_EVENT"), + 1: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_ADD"), + 2: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_REMOVE"), + 3: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_GYM_BATTLE"), + 4: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_RAID_BATTLE"), + 5: .same(proto: "BATTLE_PARTY_TELEMETRY_IDS_BATTLE_POKEMON_CHANGED"), ] } -extension ScanTag: SwiftProtobuf._ProtoNameProviding { +extension BuddyActivity: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SCAN_TAG_DEFAULT_SCAN"), - 1: .same(proto: "SCAN_TAG_PUBLIC"), - 2: .same(proto: "SCAN_TAG_PRIVATE"), - 3: .same(proto: "SCAN_TAG_WAYSPOT_CENTRIC"), - 4: .same(proto: "SCAN_TAG_FREE_FORM"), - 5: .same(proto: "SCAN_TAG_EXPERIMENTAL"), + 0: .same(proto: "BUDDY_ACTIVITY_UNSET"), + 1: .same(proto: "BUDDY_ACTIVITY_FEED"), + 2: .same(proto: "BUDDY_ACTIVITY_PET"), + 3: .same(proto: "BUDDY_ACTIVITY_SNAPSHOT"), + 4: .same(proto: "BUDDY_ACTIVITY_WALK"), + 5: .same(proto: "BUDDY_ACTIVITY_NEW_POIS"), + 6: .same(proto: "BUDDY_ACTIVITY_GYM_BATTLE"), + 7: .same(proto: "BUDDY_ACTIVITY_RAID_BATTLE"), + 8: .same(proto: "BUDDY_ACTIVITY_NPC_BATTLE"), + 9: .same(proto: "BUDDY_ACTIVITY_PVP_BATTLE"), + 10: .same(proto: "BUDDY_ACTIVITY_OPEN_SOUVENIRS"), + 11: .same(proto: "BUDDY_ACTIVITY_OPEN_CONSUMABLES"), + 12: .same(proto: "BUDDY_ACTIVITY_INVASION_GRUNT"), + 13: .same(proto: "BUDDY_ACTIVITY_INVASION_LEADER"), + 14: .same(proto: "BUDDY_ACTIVITY_INVASION_GIOVANNI"), + 15: .same(proto: "BUDDY_ACTIVITY_ATTRACTIVE_POI"), + 16: .same(proto: "BUDDY_ACTIVITY_VISIT_POWERED_UP_FORT"), + 17: .same(proto: "BUDDY_ACTIVITY_WAINA_SLEEP"), + 18: .same(proto: "BUDDY_ACTIVITY_ROUTE"), ] } -extension ShareExRaidPassResult: SwiftProtobuf._ProtoNameProviding { +extension BuddyActivityCategory: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SHARE_EX_RAID_PASS_RESULT_SHARE_EX_RAID_PASS_UNSET"), - 1: .same(proto: "SHARE_EX_RAID_PASS_RESULT_SHARE_EX_RAID_PASS_SUCCESS"), - 2: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_FRIEND_ALREADY_INVITED_TO_SAME_RAID"), - 3: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_EX_RAID_PASS_ALREADY_SHARED"), - 4: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_FRIEND_ALREADY_HAS_SHARED_EX_PASS_IN_INVENTORY"), - 5: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_TOO_LOW_FRIENDSHIP_LEVEL"), - 6: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_FRIEND_NOT_FOUND"), - 7: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_EX_RAID_ALREADY_STARTED"), - 8: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_EX_RAID_INVALID"), - 9: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_EX_RAID_PASS_NOT_FOUND"), - 10: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_UNKNOWN"), - 11: .same(proto: "SHARE_EX_RAID_PASS_RESULT_ERROR_FRIEND_NOT_ELIGIBLE"), + 0: .same(proto: "BUDDY_CATEGORY_UNSET"), + 1: .same(proto: "BUDDY_CATEGORY_FEED"), + 2: .same(proto: "BUDDY_CATEGORY_CARE"), + 3: .same(proto: "BUDDY_CATEGORY_SNAPSHOT"), + 4: .same(proto: "BUDDY_CATEGORY_WALK"), + 5: .same(proto: "BUDDY_CATEGORY_BATTLE"), + 6: .same(proto: "BUDDY_CATEGORY_EXPLORE"), + 7: .same(proto: "BUDDY_CATEGORY_BONUS"), + 8: .same(proto: "BUDDY_CATEGORY_ROUTE"), ] } -extension ShoppingPageScrollIds: SwiftProtobuf._ProtoNameProviding { +extension BuddyAnimation: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SHOPPING_PAGE_SCROLL_IDS_UNDEFINED_SHOPPING_PAGE_SCROLL_TYPE"), - 1: .same(proto: "SHOPPING_PAGE_SCROLL_IDS_LAST_SCROLL"), - 2: .same(proto: "SHOPPING_PAGE_SCROLL_IDS_MAX_SCROLL"), + 0: .same(proto: "BUDDY_ANIMATION_UNSET"), + 1: .same(proto: "BUDDY_ANIMATION_HAPPY"), + 2: .same(proto: "BUDDY_ANIMATION_HATE"), ] } -extension ShoppingPageTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension BuddyEmotionLevel: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_UNDEFINED_SHOPPING_PAGE_EVENT"), - 1: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_CUSTOMIZE_AVATAR"), - 2: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUICK_SHOP_MORE"), - 3: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUICK_SHOP_EXCHANGE"), - 4: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_SHOP"), - 5: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_SHOP"), - 6: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_SKU"), - 7: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_SKU"), - 8: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_SKU_EXCHANGE"), - 9: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_SHOP_AVATAR"), - 10: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_SHOP_AVATAR"), - 11: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_AVATAR_TYPE"), - 12: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_AVATAR_TYPE"), - 13: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_AVATAR_ITEM"), - 14: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_AVATAR_ITEM"), - 15: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CONFIRM_AVATAR_ITEM"), - 16: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_AVATAR_ITEM_COLOR"), - 17: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_AVATAR_ITEM_COLOR"), - 18: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CONFIRM_AVATAR_ITEM_COLOR"), + 0: .same(proto: "BUDDY_EMOTION_LEVEL_UNSET"), + 1: .same(proto: "BUDDY_EMOTION_LEVEL_0"), + 2: .same(proto: "BUDDY_EMOTION_LEVEL_1"), + 3: .same(proto: "BUDDY_EMOTION_LEVEL_2"), + 4: .same(proto: "BUDDY_EMOTION_LEVEL_3"), + 5: .same(proto: "BUDDY_EMOTION_LEVEL_4"), + 6: .same(proto: "BUDDY_EMOTION_LEVEL_5"), + 7: .same(proto: "BUDDY_EMOTION_LEVEL_6"), ] } -extension ShoppingPageTelemetrySource: SwiftProtobuf._ProtoNameProviding { +extension BuddyLevel: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_UNDEFINED_SHOPPING_PAGE_SOURCE"), - 1: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_MAIN_MENU"), - 2: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_POKEMON_BAG_FULL"), - 3: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_INCUBATOR_SELECTOR"), - 4: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_POKESTOP_DISK_INTERACTION"), - 5: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_OPEN_GIFT_BAG_FULL"), - 6: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_FULL_ENCOUNTER"), - 7: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_FULL_RAID"), - 8: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_MORE"), - 9: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_AVATAR_ITEM"), - 10: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_POKEMON_ENCOUNTER"), - 11: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_PLAYER_PROFILE_PAGE"), - 12: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_STORE_FRONT"), - 13: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_AVATAR_CUSTOMIZATION_AWARD"), - 14: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_FIRST_TIME_USER_FLOW"), - 15: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_BADGE_DETAIL_AVATAR_REWARD"), - 16: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_DEEP_LINK"), - 17: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_RAID_PASS"), - 18: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_REMOTE_RAID_PASS"), - 100: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BUDDY_INTERACTION_POFFIN"), - 101: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BUDDY_QUICK_FEED_POFFIN"), - 102: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_INCENSE_ORDINARY"), - 103: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_LUCKY_EGG"), - 104: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_STAR_PIECE"), + 0: .same(proto: "BUDDY_LEVEL_UNSET"), + 1: .same(proto: "BUDDY_LEVEL_0"), + 2: .same(proto: "BUDDY_LEVEL_1"), + 3: .same(proto: "BUDDY_LEVEL_2"), + 4: .same(proto: "BUDDY_LEVEL_3"), + 5: .same(proto: "BUDDY_LEVEL_4"), + 6: .same(proto: "BUDDY_LEVEL_5"), ] } -extension SocialAction: SwiftProtobuf._ProtoNameProviding { +extension CameraInterpolation: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SOCIAL_ACTION_UNKNOWN_SOCIAL_ACTION"), - 10000: .same(proto: "SOCIAL_ACTION_SEARCH_PLAYER"), - 10002: .same(proto: "SOCIAL_ACTION_SEND_FRIEND_INVITE"), - 10003: .same(proto: "SOCIAL_ACTION_CANCEL_FRIEND_INVITE"), - 10004: .same(proto: "SOCIAL_ACTION_ACCEPT_FRIEND_INVITE"), - 10005: .same(proto: "SOCIAL_ACTION_DECLINE_FRIEND_INVITE"), - 10006: .same(proto: "SOCIAL_ACTION_LIST_FRIENDS"), - 10007: .same(proto: "SOCIAL_ACTION_LIST_OUTGOING_FRIEND_INVITES"), - 10008: .same(proto: "SOCIAL_ACTION_LIST_INCOMING_FRIEND_INVITES"), - 10009: .same(proto: "SOCIAL_ACTION_REMOVE_FRIEND"), - 10010: .same(proto: "SOCIAL_ACTION_LIST_FRIEND_STATUS"), - 10011: .same(proto: "SOCIAL_ACTION_SEND_FACEBOOK_FRIEND_INVITE"), - 10012: .same(proto: "SOCIAL_ACTION_IS_MY_FRIEND"), - 10013: .same(proto: "SOCIAL_ACTION_CREATE_INVITE_CODE"), - 10014: .same(proto: "SOCIAL_ACTION_GET_FACEBOOK_FRIEND_LIST"), - 10015: .same(proto: "SOCIAL_ACTION_UPDATE_FACEBOOK_STATUS"), - 10016: .same(proto: "SOCIAL_ACTION_SAVE_PLAYER_SETTINGS"), - 10017: .same(proto: "SOCIAL_ACTION_GET_PLAYER_SETTINGS"), - 10018: .same(proto: "SOCIAL_ACTION_GET_NIANTIC_FRIEND_LIST_DELETED"), - 10019: .same(proto: "SOCIAL_ACTION_GET_NIANTIC_FRIEND_DETAILS_DELETED"), - 10020: .same(proto: "SOCIAL_ACTION_SEND_NIANTIC_FRIEND_INVITE_DELETED"), - 10021: .same(proto: "SOCIAL_ACTION_SET_ACCOUNT_SETTINGS"), - 10022: .same(proto: "SOCIAL_ACTION_GET_ACCOUNT_SETTINGS"), - 10023: .same(proto: "SOCIAL_ACTION_ADD_FAVORITE_FRIEND"), - 10024: .same(proto: "SOCIAL_ACTION_REMOVE_FAVORITE_FRIEND"), - 10025: .same(proto: "SOCIAL_ACTION_BLOCK_ACCOUNT"), - 10026: .same(proto: "SOCIAL_ACTION_UNBLOCK_ACCOUNT"), - 10027: .same(proto: "SOCIAL_ACTION_GET_OUTGING_BLOCKS"), - 10028: .same(proto: "SOCIAL_ACTION_IS_ACCOUNT_BLOCKED"), - 10101: .same(proto: "SOCIAL_ACTION_REGISTER_PUSH_NOTIFICATION"), - 10102: .same(proto: "SOCIAL_ACTION_UNREGISTER_PUSH_NOTIFICATION"), - 10103: .same(proto: "SOCIAL_ACTION_UPDATE_NOTIFICATION"), - 10104: .same(proto: "SOCIAL_ACTION_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), - 10105: .same(proto: "SOCIAL_ACTION_GET_INBOX"), - 10201: .same(proto: "SOCIAL_ACTION_GET_SIGNED_URL"), - 10202: .same(proto: "SOCIAL_ACTION_SUBMIT_IMAGE"), - 10203: .same(proto: "SOCIAL_ACTION_GET_PHOTOS"), - 10204: .same(proto: "SOCIAL_ACTION_DELETE_PHOTO"), - 10205: .same(proto: "SOCIAL_ACTION_FLAG_PHOTO"), - 20001: .same(proto: "SOCIAL_ACTION_UPDATE_PROFILE_V2"), - 20002: .same(proto: "SOCIAL_ACTION_UPDATE_FRIENDSHIP_V2"), - 20003: .same(proto: "SOCIAL_ACTION_GET_PROFILE_V2"), - 20004: .same(proto: "SOCIAL_ACTION_INVITE_GAME_V2"), - 20005: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_2"), - 20006: .same(proto: "SOCIAL_ACTION_LIST_FRIENDS_V2"), - 20007: .same(proto: "SOCIAL_ACTION_GET_FRIEND_DETAILS_V2"), - 20008: .same(proto: "SOCIAL_ACTION_GET_CLIENT_FEATURE_FLAGS_V2"), - 20009: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_1"), - 20010: .same(proto: "SOCIAL_ACTION_GET_INCOMING_GAME_INVITES_V2"), - 20011: .same(proto: "SOCIAL_ACTION_UPDATE_INCOMING_GAME_INVITE_V2"), - 20012: .same(proto: "SOCIAL_ACTION_DISMISS_OUTGOING_GAME_INVITES_V2"), - 20013: .same(proto: "SOCIAL_ACTION_SYNC_CONTACT_LIST_V2"), - 20014: .same(proto: "SOCIAL_ACTION_SEND_CONTACT_LIST_FRIEND_INVITE_V2"), - 20015: .same(proto: "SOCIAL_ACTION_REFER_CONTACT_LIST_FRIEND_V2"), - 20016: .same(proto: "SOCIAL_ACTION_GET_CONTACT_LIST_INFO_V2"), - 20017: .same(proto: "SOCIAL_ACTION_DISMISS_CONTACT_LIST_UPDATE_V2"), - 20018: .same(proto: "SOCIAL_ACTION_NOTIFY_CONTACT_LIST_FRIENDS_V2"), - 20019: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_6"), - 20020: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_7"), - 20400: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_3"), - 20401: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_4"), - 20402: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_5"), - 20500: .same(proto: "SOCIAL_ACTION_GET_FRIEND_RECOMMENDATION"), + 0: .same(proto: "CAM_INTERP_CUT"), + 1: .same(proto: "CAM_INTERP_LINEAR"), + 2: .same(proto: "CAM_INTERP_SMOOTH"), + 3: .same(proto: "CAM_INTERP_SMOOTH_ROT_LINEAR_MOVE"), + 4: .same(proto: "CAM_INTERP_DEPENDS"), ] } -extension SocialTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension CameraTarget: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SOCIAL_TELEMETRY_IDS_UNDEFINED_SOCIAL"), - 1: .same(proto: "SOCIAL_TELEMETRY_IDS_FRIEND_TAB"), - 2: .same(proto: "SOCIAL_TELEMETRY_IDS_NOTIFICATION_TAB"), - 3: .same(proto: "SOCIAL_TELEMETRY_IDS_FRIEND_PROFILE"), - 4: .same(proto: "SOCIAL_TELEMETRY_IDS_OPEN_FRIEND_SHIP_LEVEL_DETAIL"), - 5: .same(proto: "SOCIAL_TELEMETRY_IDS_CLOSE_OPEN_GIFT_CONFIRMATION"), - 6: .same(proto: "SOCIAL_TELEMETRY_IDS_FRIEND_LIST_SORT_CHANGED"), - 7: .same(proto: "SOCIAL_TELEMETRY_IDS_FRIEND_LIST_CLOSED"), + 0: .same(proto: "CAM_TARGET_ATTACKER"), + 1: .same(proto: "CAM_TARGET_ATTACKER_EDGE"), + 2: .same(proto: "CAM_TARGET_ATTACKER_GROUND"), + 3: .same(proto: "CAM_TARGET_DEFENDER"), + 4: .same(proto: "CAM_TARGET_DEFENDER_EDGE"), + 5: .same(proto: "CAM_TARGET_DEFENDER_GROUND"), + 6: .same(proto: "CAM_TARGET_ATTACKER_DEFENDER"), + 7: .same(proto: "CAM_TARGET_ATTACKER_DEFENDER_EDGE"), + 8: .same(proto: "CAM_TARGET_DEFENDER_ATTACKER"), + 9: .same(proto: "CAM_TARGET_DEFENDER_ATTACKER_EDGE"), + 11: .same(proto: "CAM_TARGET_ATTACKER_DEFENDER_MIRROR"), + 12: .same(proto: "CAM_TARGET_SHOULDER_ATTACKER_DEFENDER"), + 13: .same(proto: "CAM_TARGET_SHOULDER_ATTACKER_DEFENDER_MIRROR"), + 14: .same(proto: "CAM_TARGET_ATTACKER_DEFENDER_WORLD"), ] } -extension SouvenirTypeId: SwiftProtobuf._ProtoNameProviding { +extension CentralState: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SOUVENIR_UNSET"), - 1: .same(proto: "SOUVENIR_LONE_EARRING"), - 2: .same(proto: "SOUVENIR_SMALL_BOUQUET"), - 3: .same(proto: "SOUVENIR_SKIPPING_STONE"), - 4: .same(proto: "SOUVENIR_BEACH_GLASS"), - 5: .same(proto: "SOUVENIR_TROPICAL_SHELL"), - 6: .same(proto: "SOUVENIR_MUSHROOM"), - 7: .same(proto: "SOUVENIR_CHALKY_STONE"), - 8: .same(proto: "SOUVENIR_PINECONE"), - 9: .same(proto: "SOUVENIR_TROPICAL_FLOWER"), - 10: .same(proto: "SOUVENIR_FLOWER_FRUITS"), - 11: .same(proto: "SOUVENIR_CACTUS_FLOWER"), - 12: .same(proto: "SOUVENIR_STRETCHY_SPRING"), - 13: .same(proto: "SOUVENIR_MARBLE"), - 14: .same(proto: "SOUVENIR_TORN_TICKET"), - 15: .same(proto: "SOUVENIR_PRETTY_LEAF"), - 16: .same(proto: "SOUVENIR_CONFETTI"), - 17: .same(proto: "SOUVENIR_PIKACHU_VISOR"), - 18: .same(proto: "SOUVENIR_PAPER_AIRPLANE"), - 19: .same(proto: "SOUVENIR_TINY_COMPASS"), + 0: .same(proto: "POKEMONGO_PLUS_CENTRAL_STATE_UNKNOWN"), + 1: .same(proto: "POKEMONGO_PLUS_CENTRAL_STATE_RESETTING"), + 2: .same(proto: "POKEMONGO_PLUS_CENTRAL_STATE_UNSUPPORTED"), + 3: .same(proto: "POKEMONGO_PLUS_CENTRAL_STATE_UNAUTHORIZED"), + 4: .same(proto: "POKEMONGO_PLUS_CENTRAL_STATE_POWERED_OFF"), + 5: .same(proto: "POKEMONGO_PLUS_CENTRAL_STATE_POWERED_ON"), ] } -extension SponsorPoiInvalidReason: SwiftProtobuf._ProtoNameProviding { +extension Channel: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_UNSPECIFIED"), - 1: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_DOES_NOT_EXIST"), - 2: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_NOT_SAFE"), - 3: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_NOT_TRUTHFUL"), - 4: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_NOT_FAMILY_FRIENDLY"), - 5: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_OFFENSIVE_CONTENT"), + 0: .same(proto: "POKEMONGO_PLUS_CHANNEL_NOT_DEFINED"), + 1: .same(proto: "POKEMONGO_PLUS_CHANNEL_NEWSFEED_MESSAGE_CHANNEL"), + 2: .same(proto: "POKEMONGO_PLUS_CHANNEL_IN_APP_MESSAGE_CHANNEL"), ] } -extension StatModifierType: SwiftProtobuf._ProtoNameProviding { +extension ClientOperatingSystem: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_STAT_MODIFIER_TYPE"), - 1: .same(proto: "ATTACK_STAGE"), - 2: .same(proto: "DEFENSE_STAGE"), - 3: .same(proto: "DAMAGE_DEALT_DELTA"), - 4: .same(proto: "DAMAGE_TAKEN_DELTA"), - 5: .same(proto: "ARBITRARY_COUNTER"), - 6: .same(proto: "PARTY_POWER_DAMAGE_DEALT"), + 0: .same(proto: "CLIENT_OPERATING_SYSTEM_OS_UNKNOWN"), + 1: .same(proto: "CLIENT_OPERATING_SYSTEM_OS_ANDROID"), + 2: .same(proto: "CLIENT_OPERATING_SYSTEM_OS_IOS"), + 3: .same(proto: "CLIENT_OPERATING_SYSTEM_OS_DESKTOP"), ] } -extension Store: SwiftProtobuf._ProtoNameProviding { +extension CombatExperiment: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "STORE_UNSET"), - 1: .same(proto: "STORE_APPLE"), - 2: .same(proto: "STORE_GOOGLE"), - 3: .same(proto: "STORE_SAMSUNG"), + 0: .same(proto: "BASELINE"), + 1: .same(proto: "FAST_MOVE_ALWAYS_LEAK"), + 2: .same(proto: "MINIGAME_FAST_MOVE_CLEAR"), + 3: .same(proto: "SWAP_FAST_MOVE_CLEAR"), + 4: .same(proto: "DOWNSTREAM_REDUNDANCY"), + 5: .same(proto: "DEFENSIVE_ACK_CHECK"), + 6: .same(proto: "SERVER_FLY_IN_FLY_OUT"), + 7: .same(proto: "CLIENT_REOBSERVER_COMBAT_STATE"), + 8: .same(proto: "FAST_MOVE_FLY_IN_CLIP"), + 9: .same(proto: "CLIENT_FAST_MOVE_FLY_IN_CLIP_FALL_BACK"), + 10: .same(proto: "COMBAT_REWARDS_INVOKE"), + 11: .same(proto: "CLIENT_SWAP_WIDGET_DISMISS"), + 12: .same(proto: "CLIENT_COMBAT_NULL_RPC_GUARD"), + 13: .same(proto: "SWAP_DELAY_TY_GREIL"), + 14: .same(proto: "FAST_MOVE_FAINT_DEFERRAL"), + 15: .same(proto: "COMBAT_REWARDS_ASYNC"), + 16: .same(proto: "ENABLE_FOG"), ] } -extension SuggestionsEvents: SwiftProtobuf._ProtoNameProviding { +extension CombatHubEntranceTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED_USERNAME_SUGGESTION_EVENT"), - 1: .same(proto: "REFRESHED_NAME_SUGGESTIONS"), - 2: .same(proto: "TAPPED_SUGGESTED_NAME"), - 3: .same(proto: "USED_SUGGESTED_NAME"), + 0: .same(proto: "COMBAT_HUB_ENTRANCE_TELEMETRY_IDS_UNDEFINED_EVENT"), + 1: .same(proto: "COMBAT_HUB_ENTRANCE_TELEMETRY_IDS_CLICKED_COMBAT_HUB_BUTTON"), ] } -extension Syntax: SwiftProtobuf._ProtoNameProviding { +extension CombatPlayerFinishState: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SYNTAX_proto2"), - 1: .same(proto: "SYNTAX_proto3"), + 0: .same(proto: "COMBAT_PLAYER_FINISH_STATE_WINNER"), + 1: .same(proto: "COMBAT_PLAYER_FINISH_STATE_LOSER"), + 2: .same(proto: "COMBAT_PLAYER_FINISH_STATE_DRAW"), ] } -extension Team: SwiftProtobuf._ProtoNameProviding { +extension CombatRewardStatus: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TEAM_UNSET"), - 1: .same(proto: "TEAM_BLUE"), - 2: .same(proto: "TEAM_RED"), - 3: .same(proto: "TEAM_YELLOW"), + 0: .same(proto: "COMBAT_REWARD_STATUS_UNSET_REWARD_STATUS"), + 1: .same(proto: "COMBAT_REWARD_STATUS_REWARDS_GRANTED"), + 2: .same(proto: "COMBAT_REWARD_STATUS_MAX_REWARDS_RECEIVED"), + 3: .same(proto: "COMBAT_REWARD_STATUS_PLAYER_BAG_FULL"), + 4: .same(proto: "COMBAT_REWARD_STATUS_NO_REWARDS"), + 5: .same(proto: "COMBAT_REWARD_STATUS_REWARDS_ELIGIBLE"), ] } -extension TrainerAbility: SwiftProtobuf._ProtoNameProviding { +extension CombatType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_TRAINER_ABILITY"), - 1: .same(proto: "ABILITY_PARTY_POWER_DAMAGE_DEALT"), + 0: .same(proto: "COMBAT_TYPE_UNSET"), + 1: .same(proto: "COMBAT_TYPE_SOLO"), + 2: .same(proto: "COMBAT_TYPE_QR_CODE"), + 3: .same(proto: "COMBAT_TYPE_FRIENDS"), + 4: .same(proto: "COMBAT_TYPE_NEARBY"), + 5: .same(proto: "COMBAT_TYPE_SOLO_INVASION"), + 6: .same(proto: "COMBAT_TYPE_VS_SEEKER"), ] } -extension TutorialCompletion: SwiftProtobuf._ProtoNameProviding { +extension ContestOccurrence: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "LEGAL_SCREEN"), - 1: .same(proto: "AVATAR_SELECTION"), - 2: .same(proto: "ACCOUNT_CREATION"), - 3: .same(proto: "POKEMON_CAPTURE"), - 4: .same(proto: "NAME_SELECTION"), - 5: .same(proto: "POKEMON_BERRY"), - 6: .same(proto: "USE_ITEM"), - 7: .same(proto: "FIRST_TIME_EXPERIENCE_COMPLETE"), - 8: .same(proto: "POKESTOP_TUTORIAL"), - 9: .same(proto: "GYM_TUTORIAL"), - 10: .same(proto: "CHALLENGE_QUEST_TUTORIAL"), - 11: .same(proto: "PRIVACY_POLICY_CONFIRMATION"), - 12: .same(proto: "TRADING_TUTORIAL"), - 13: .same(proto: "POI_SUBMISSION_TUTORIAL"), - 14: .same(proto: "V1_START_TUTORIAL"), - 15: .same(proto: "V2_START_TUTORIAL"), - 16: .same(proto: "V2_CUSTOMIZED_AVATAR"), - 17: .same(proto: "V2_CAUGHT_FIRST_WILD"), - 18: .same(proto: "V2_FINISHED_TUTORIAL_CATCHES"), - 19: .same(proto: "V2_NAME_SELECTION"), - 20: .same(proto: "V2_EGG_GIVEN"), - 21: .same(proto: "V2_START_EGG_TUTORIAL"), - 22: .same(proto: "V2_COMPLETED_EGG_TUTORIAL"), - 23: .same(proto: "AR_PHOTO_TUTORIAL"), - 24: .same(proto: "STARTER_POKEMON_CAPTURED"), - 25: .same(proto: "AR_PHOTO_FIRST_TIME_DIALOG"), - 26: .same(proto: "AR_CLASSIC_PHOTO_TUTORIAL"), - 27: .same(proto: "AR_PLUS_PHOTO_TUTORIAL"), - 29: .same(proto: "INVASION_INTRODUCTION_DIALOG"), - 30: .same(proto: "INVASION_ENCOUNTER_DIALOG"), - 31: .same(proto: "INVASION_SHADOW_POKEMON_DIALOG"), - 32: .same(proto: "ROUTES_CREATION"), - 33: .same(proto: "INVASION_MAP_FRAGMENT_DIALOG"), - 34: .same(proto: "INVASION_MAP_RECEIVED_DIALOG"), - 35: .same(proto: "INVASION_MAP_2_RECEIVED_DIALOG"), - 36: .same(proto: "BUDDY_WELCOME_PROMPT"), - 37: .same(proto: "BUDDY_AR_PLUS_TUTORIAL"), - 38: .same(proto: "BUDDY_FEED_TUTORIAL"), - 39: .same(proto: "BUDDY_ON_MAP_PROMPT"), - 40: .same(proto: "BATTLE_LEAGUE_HELP_TUTORIAL"), - 41: .same(proto: "ARMP_TOS_CONFIRMATION"), - 42: .same(proto: "BUDDY_REMOTE_GIFT_TUTORIAL"), - 43: .same(proto: "XL_CANDY_TUTORIAL"), - 44: .same(proto: "LEVEL_UP_PAGE_TUTORIAL"), - 45: .same(proto: "DAILY_BONUS_ENCOUNTER_TUTORIAL"), - 46: .same(proto: "SPONSORED_GIFT_TUTORIAL"), - 47: .same(proto: "XGS_ONLINE_CONSENT_NOTE"), - 48: .same(proto: "APP_TRACKING_OPTIN_REQUIRED_TUTORIAL"), - 49: .same(proto: "APP_TRACKING_OPTIN_DIALOG"), - 50: .same(proto: "ADDRESS_BOOK_IMPORT_PROMPT"), - 51: .same(proto: "POKEMON_TAGS_INTRODUCTION"), - 52: .same(proto: "GYM_TUTORIAL_BUTTON_PROMPT_SHOWN"), - 53: .same(proto: "RAID_TUTORIAL_BUTTON_PROMPT_SHOWN"), - 54: .same(proto: "POTION_AND_REVIVE_TUTORIAL_INTRODUCED"), - 55: .same(proto: "POTION_AND_REVIVE_TUTORIAL_VIEWED"), - 56: .same(proto: "POSTCARD_COLLECTION_TUTORIAL_VIEWED"), - 57: .same(proto: "SHOULD_SHOW_POTION_AND_REVIVE_TUTORIAL"), - 58: .same(proto: "RECEIVED_GIFT"), - 59: .same(proto: "FRIEND_TUTORIAL_BUTTON_PROMPT_SHOWN"), - 60: .same(proto: "SHOULD_SHOW_GIFT_TUTORIAL"), - 61: .same(proto: "GIFT_TUTORIAL_INTRODUCED"), - 62: .same(proto: "GIFT_TUTORIAL_COMPLETE"), - 63: .same(proto: "CHALLENGE_CATCH_RAZZBERRY"), - 64: .same(proto: "SHOULD_SHOW_LURE_TUTORIAL"), - 65: .same(proto: "LURE_TUTORIAL_INTRODUCED"), - 66: .same(proto: "LURE_BUTTON_PROMPT_SHOWN"), - 67: .same(proto: "LURE_BUTTON_DIALOG_SHOWN"), - 68: .same(proto: "REMOTE_RAID_TUTORIAL"), - 69: .same(proto: "TRADE_TUTORIAL_INTRODUCED"), - 70: .same(proto: "TRADE_TUTORIAL_COMPLETE"), - 71: .same(proto: "LUCKY_FRIEND_TUTORIAL"), - 72: .same(proto: "LUCKY_TRADE_TUTORIAL"), - 73: .same(proto: "MEGA_LEVELS_TUTORIAL"), - 74: .same(proto: "SPONSORED_WEB_AR_TUTORIAL"), - 75: .same(proto: "BUTTERFLY_REGION_TUTORIAL"), - 76: .same(proto: "SPONSORED_VIDEO_TUTORIAL"), - 77: .same(proto: "ADDRESS_BOOK_IMPORT_PROMPT_V2"), - 78: .same(proto: "LOCATION_CARD_TUTORIAL"), - 79: .same(proto: "MASTER_BALL_INTRODUCTION_PROMPT"), - 80: .same(proto: "SHADOW_GEM_FRAGMENT_DIALOG"), - 81: .same(proto: "SHADOW_GEM_RECEIVED_DIALOG"), - 82: .same(proto: "RAID_TUTORIAL_SHADOW_BUTTON_PROMPT_SHOWN"), - 83: .same(proto: "CONTESTS_TUTORIAL"), - 84: .same(proto: "ROUTE_TRAVEL"), - 85: .same(proto: "PARTY_PLAY_TUTORIAL"), - 86: .same(proto: "PINECONE_TUTORIAL_0"), - 87: .same(proto: "PINECONE_TUTORIAL_1"), - 88: .same(proto: "PINECONE_TUTORIAL_2"), - 89: .same(proto: "PINECONE_TUTORIAL_3"), - 90: .same(proto: "PINECONE_TUTORIAL_4"), - 91: .same(proto: "PINECONE_TUTORIAL_5"), - 92: .same(proto: "BREAKFAST_TAPPABLE_TUTORIAL"), - 93: .same(proto: "RAID_TUTORIAL_PARTY_PLAY_PROMPT_SHOWN"), + 0: .same(proto: "CONTEST_OCCURRENCE_UNSET"), + 1: .same(proto: "DAILY"), + 2: .same(proto: "TWO_DAYS"), + 3: .same(proto: "THREE_DAYS"), + 4: .same(proto: "WEEKLY"), + 5: .same(proto: "SEASONAL"), + 6: .same(proto: "HOURLY"), + 7: .same(proto: "FIVE_MINUTES"), + 8: .same(proto: "CUSTOM"), ] } -extension TweenAction: SwiftProtobuf._ProtoNameProviding { +extension ContestPokemonMetric: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TWEEN_ACTION_MOVE_X"), - 1: .same(proto: "TWEEN_ACTION_MOVE_Y"), - 2: .same(proto: "TWEEN_ACTION_MOVE_Z"), - 3: .same(proto: "TWEEN_ACTION_MOVE_LOCAL_X"), - 4: .same(proto: "TWEEN_ACTION_MOVE_LOCAL_Y"), - 5: .same(proto: "TWEEN_ACTION_MOVE_LOCAL_Z"), - 6: .same(proto: "TWEEN_ACTION_MOVE_CURVED"), - 7: .same(proto: "TWEEN_ACTION_MOVE_CURVED_LOCAL"), - 8: .same(proto: "TWEEN_ACTION_MOVE_SPLINE"), - 9: .same(proto: "TWEEN_ACTION_MOVE_SPLINE_LOCAL"), - 10: .same(proto: "TWEEN_ACTION_SCALE_X"), - 11: .same(proto: "TWEEN_ACTION_SCALE_Y"), - 12: .same(proto: "TWEEN_ACTION_SCALE_Z"), - 13: .same(proto: "TWEEN_ACTION_ROTATE_X"), - 14: .same(proto: "TWEEN_ACTION_ROTATE_Y"), - 15: .same(proto: "TWEEN_ACTION_ROTATE_Z"), - 16: .same(proto: "TWEEN_ACTION_ROTATE_AROUND"), - 17: .same(proto: "TWEEN_ACTION_ROTATE_AROUND_LOCAL"), - 18: .same(proto: "TWEEN_ACTION_CANVAS_ROTATEAROUND"), - 19: .same(proto: "TWEEN_ACTION_CANVAS_ROTATEAROUND_LOCAL"), - 20: .same(proto: "TWEEN_ACTION_CANVAS_PLAYSPRITE"), - 21: .same(proto: "TWEEN_ACTION_ALPHA"), - 22: .same(proto: "TWEEN_ACTION_TEXT_ALPHA"), - 23: .same(proto: "TWEEN_ACTION_CANVAS_ALPHA"), - 24: .same(proto: "TWEEN_ACTION_ALPHA_VERTEX"), - 25: .same(proto: "TWEEN_ACTION_COLOR"), - 26: .same(proto: "TWEEN_ACTION_CALLBACK_COLOR"), - 27: .same(proto: "TWEEN_ACTION_TEXT_COLOR"), - 28: .same(proto: "TWEEN_ACTION_CANVAS_COLOR"), - 29: .same(proto: "TWEEN_ACTION_CALLBACK"), - 30: .same(proto: "TWEEN_ACTION_MOVE"), - 31: .same(proto: "TWEEN_ACTION_MOVE_LOCAL"), - 32: .same(proto: "TWEEN_ACTION_ROTATE"), - 33: .same(proto: "TWEEN_ACTION_ROTATE_LOCAL"), - 34: .same(proto: "TWEEN_ACTION_SCALE"), - 35: .same(proto: "TWEEN_ACTION_VALUE3"), - 36: .same(proto: "TWEEN_ACTION_GUI_MOVE"), - 37: .same(proto: "TWEEN_ACTION_GUI_MOVE_MARGIN"), - 38: .same(proto: "TWEEN_ACTION_GUI_SCALE"), - 39: .same(proto: "TWEEN_ACTION_GUI_ALPHA"), - 40: .same(proto: "TWEEN_ACTION_GUI_ROTATE"), - 41: .same(proto: "TWEEN_ACTION_DELAYED_SOUND"), - 42: .same(proto: "TWEEN_ACTION_CANVAS_MOVE"), - 43: .same(proto: "TWEEN_ACTION_CANVAS_SCALE"), + 0: .same(proto: "CONTEST_POKEMON_METRIC_UNSET"), + 1: .same(proto: "POKEMON_SIZE"), ] } -extension UserType: SwiftProtobuf._ProtoNameProviding { +extension ContestRankingStandard: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "USER_TYPE_PLAYER"), - 1: .same(proto: "USER_TYPE_DEVELOPER"), - 2: .same(proto: "USER_TYPE_SURVEYOR"), - 3: .same(proto: "USER_TYPE_DEVELOPER_8TH_WALL"), + 0: .same(proto: "CONTEST_RANKING_STANDARD_UNSET"), + 1: .same(proto: "MIN"), + 2: .same(proto: "MAX"), ] } -extension VivillonRegion: SwiftProtobuf._ProtoNameProviding { +extension ContestScoreComponentType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "VIVILLON_REGION_UNKNOWN"), - 1: .same(proto: "VIVILLON_REGION_ARCHIPELAGO"), - 2: .same(proto: "VIVILLON_REGION_CONTINENTAL"), - 3: .same(proto: "VIVILLON_REGION_ELEGANT"), - 4: .same(proto: "VIVILLON_REGION_FANCY"), - 5: .same(proto: "VIVILLON_REGION_GARDEN"), - 6: .same(proto: "VIVILLON_REGION_HIGH_PLAINS"), - 7: .same(proto: "VIVILLON_REGION_ICY_SNOW"), - 8: .same(proto: "VIVILLON_REGION_JUNGLE"), - 9: .same(proto: "VIVILLON_REGION_MARINE"), - 10: .same(proto: "VIVILLON_REGION_MEADOW"), - 11: .same(proto: "VIVILLON_REGION_MODERN"), - 12: .same(proto: "VIVILLON_REGION_MONSOON"), - 13: .same(proto: "VIVILLON_REGION_OCEAN"), - 14: .same(proto: "VIVILLON_REGION_POKEBALL"), - 15: .same(proto: "VIVILLON_REGION_POLAR"), - 16: .same(proto: "VIVILLON_REGION_RIVER"), - 17: .same(proto: "VIVILLON_REGION_SANDSTORM"), - 18: .same(proto: "VIVILLON_REGION_SAVANNA"), - 19: .same(proto: "VIVILLON_REGION_SUN"), - 20: .same(proto: "VIVILLON_REGION_TUNDRA"), + 0: .same(proto: "TYPE_UNSET"), + 1: .same(proto: "HEIGHT"), + 2: .same(proto: "WEIGHT"), + 3: .same(proto: "IV"), ] } -extension VpsEventType: SwiftProtobuf._ProtoNameProviding { +extension DeviceConnectState: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "VPS_EVENT_UNSET"), - 1: .same(proto: "VPS_EVENT_SLEEPING_POKEMON"), - 2: .same(proto: "VPS_EVENT_PHOTO_SAFARI"), + 0: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_DISCONNECTED"), + 1: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_DISCONNECTING"), + 2: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_CONNECTED"), + 3: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_DISCOVERED"), + 4: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_USER_FIRST_CONNECT"), + 5: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_USER_DIALOG_FIRST_CONNECT"), + 6: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_USER_DIALOG_RECONNECT"), + 7: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_USER_DIALOG_RECONNECT_REJECT"), + 8: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_CERTIFIED"), + 9: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_SOFTWARE_UPDATE"), + 10: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_FAILED"), + 11: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_CONNECTING"), + 12: .same(proto: "POKEMONGO_PLUS_DEVICE_CONNECT_STATE_REJECTED"), ] } -extension VsEffectTag: SwiftProtobuf._ProtoNameProviding { +extension DeviceKind: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_VS_EFFECT_TAG"), - 1: .same(proto: "SHADOW_ENRAGE"), - 2: .same(proto: "RAID_DEFENDER"), - 3: .same(proto: "RAID_ATTACKER"), + -1: .same(proto: "POKEMONGO_PLUS_DEVICE_KING_UNSET"), + 0: .same(proto: "POKEMONGO_PLUS_DEVICE_KING_POKEMON_GO_PLUS"), + 1: .same(proto: "POKEMONGO_PLUS_DEVICE_KING_POKE_BALL_PLUS"), + 2: .same(proto: "POKEMONGO_PLUS_DEVICE_KING_WAINA"), ] } -extension VsSeekerRewardTrack: SwiftProtobuf._ProtoNameProviding { +extension DeviceServiceTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "VS_SEEKER_REWARD_TRACK_FREE"), - 1: .same(proto: "VS_SEEKER_REWARD_TRACK_PREMIUM"), + 0: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_UNDEFINED_DEVICE_SERVICE"), + 1: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_FITNESS"), + 2: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_SMART_WATCH"), + 3: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_SFIDA"), + 4: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_AWARENESS"), + 5: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_ADVENTURE_SYNC"), + 6: .same(proto: "DEVICE_SERVICE_TELEMETRY_IDS_SENSOR"), ] } -extension WarningType: SwiftProtobuf._ProtoNameProviding { +extension DeviceType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PLATFORM_WARNING_TYPE_PLATFORM_WARNING_UNSET"), - 1: .same(proto: "PLATFORM_WARNING_TYPE_PLATFORM_WARNING_STRIKE1"), - 2: .same(proto: "PLATFORM_WARNING_TYPE_PLATFORM_WARNING_STRIKE2"), - 3: .same(proto: "PLATFORM_WARNING_TYPE_PLATFORM_WARNING_STRIKE3"), + 0: .same(proto: "NO_DEVICE"), + 1: .same(proto: "WAINA"), ] } -extension WebTelemetryIds: SwiftProtobuf._ProtoNameProviding { +extension DownstreamActionMethod: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "WEB_TELEMETRY_IDS_UNDEFINED_WEB_EVENT"), - 1: .same(proto: "WEB_TELEMETRY_IDS_POINT_OF_INTEREST_DESCRIPTION_WEB_CLICK"), + 0: .same(proto: "UNKNOWN_DOWNSTREAM_ACTION"), + 121000: .same(proto: "DOWNSTREAM_ACTION_NEW_INBOX_MESSAGE_ACTION"), + 121001: .same(proto: "DOWNSTREAM_ACTION_CUSTOM_DOWNSTREAM_ACTION"), + 121002: .same(proto: "DOWNSTREAM_ACTION_CHAT_SIGNAL"), + 121003: .same(proto: "DOWNSTREAM_ACTION_CHAT_MESSAGE"), ] } -extension ZoneType: SwiftProtobuf._ProtoNameProviding { +extension EggIncubatorType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_ZONE"), - 1: .same(proto: "SAFE_TO_JOIN_ZONE"), - 2: .same(proto: "WARNING_TO_JOIN_ZONE"), - 3: .same(proto: "SAFE_TO_PLAY_ZONE"), - 4: .same(proto: "WARNING_TO_PLAY_ZONE"), - 5: .same(proto: "NONCOMPLIANT_ZONE"), - 6: .same(proto: "NONCOMPLIANT_2_ZONE"), - 7: .same(proto: "MISSING_LOCATION_ZONE"), + 0: .same(proto: "INCUBATOR_UNSET"), + 1: .same(proto: "INCUBATOR_DISTANCE"), ] } -extension ARBuddyMultiplayerSessionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ARBuddyMultiplayerSessionTelemetry" +extension EggSlotType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "camera_permission_granted"), - 2: .standard(proto: "host_time_to_publish_first_map"), - 3: .standard(proto: "host_number_of_maps_published"), - 4: .standard(proto: "host_mapping_successful"), - 5: .standard(proto: "lobby_connection_successful"), - 6: .standard(proto: "time_from_start_of_session_to_sync"), - 7: .standard(proto: "sync_successful"), - 8: .standard(proto: "session_length"), - 9: .standard(proto: "crash_count"), - 10: .standard(proto: "duration_spent_in_lobby"), - 11: .standard(proto: "time_from_invite_to_lobby"), - 12: .standard(proto: "time_from_lobby_to_session"), - 13: .standard(proto: "length_of_ar_session"), - 14: .standard(proto: "players_connected"), - 15: .standard(proto: "players_dropped"), - 16: .standard(proto: "num_photos_taken"), - 17: .standard(proto: "is_host"), - ] - - fileprivate class _StorageClass { - var _cameraPermissionGranted: Bool = false - var _hostTimeToPublishFirstMap: Int64 = 0 - var _hostNumberOfMapsPublished: Int32 = 0 - var _hostMappingSuccessful: Bool = false - var _lobbyConnectionSuccessful: Bool = false - var _timeFromStartOfSessionToSync: Int64 = 0 - var _syncSuccessful: Bool = false - var _sessionLength: Int64 = 0 - var _crashCount: Int32 = 0 - var _durationSpentInLobby: Int64 = 0 - var _timeFromInviteToLobby: Int64 = 0 - var _timeFromLobbyToSession: Int64 = 0 - var _lengthOfArSession: Int64 = 0 - var _playersConnected: Int32 = 0 - var _playersDropped: Int32 = 0 - var _numPhotosTaken: Int32 = 0 - var _isHost: Bool = false - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _cameraPermissionGranted = source._cameraPermissionGranted - _hostTimeToPublishFirstMap = source._hostTimeToPublishFirstMap - _hostNumberOfMapsPublished = source._hostNumberOfMapsPublished - _hostMappingSuccessful = source._hostMappingSuccessful - _lobbyConnectionSuccessful = source._lobbyConnectionSuccessful - _timeFromStartOfSessionToSync = source._timeFromStartOfSessionToSync - _syncSuccessful = source._syncSuccessful - _sessionLength = source._sessionLength - _crashCount = source._crashCount - _durationSpentInLobby = source._durationSpentInLobby - _timeFromInviteToLobby = source._timeFromInviteToLobby - _timeFromLobbyToSession = source._timeFromLobbyToSession - _lengthOfArSession = source._lengthOfArSession - _playersConnected = source._playersConnected - _playersDropped = source._playersDropped - _numPhotosTaken = source._numPhotosTaken - _isHost = source._isHost - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &_storage._cameraPermissionGranted) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &_storage._hostTimeToPublishFirstMap) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._hostNumberOfMapsPublished) }() - case 4: try { try decoder.decodeSingularBoolField(value: &_storage._hostMappingSuccessful) }() - case 5: try { try decoder.decodeSingularBoolField(value: &_storage._lobbyConnectionSuccessful) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._timeFromStartOfSessionToSync) }() - case 7: try { try decoder.decodeSingularBoolField(value: &_storage._syncSuccessful) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._sessionLength) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._crashCount) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._durationSpentInLobby) }() - case 11: try { try decoder.decodeSingularInt64Field(value: &_storage._timeFromInviteToLobby) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._timeFromLobbyToSession) }() - case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._lengthOfArSession) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._playersConnected) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._playersDropped) }() - case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosTaken) }() - case 17: try { try decoder.decodeSingularBoolField(value: &_storage._isHost) }() - default: break - } - } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._cameraPermissionGranted != false { - try visitor.visitSingularBoolField(value: _storage._cameraPermissionGranted, fieldNumber: 1) - } - if _storage._hostTimeToPublishFirstMap != 0 { - try visitor.visitSingularInt64Field(value: _storage._hostTimeToPublishFirstMap, fieldNumber: 2) - } - if _storage._hostNumberOfMapsPublished != 0 { - try visitor.visitSingularInt32Field(value: _storage._hostNumberOfMapsPublished, fieldNumber: 3) - } - if _storage._hostMappingSuccessful != false { - try visitor.visitSingularBoolField(value: _storage._hostMappingSuccessful, fieldNumber: 4) - } - if _storage._lobbyConnectionSuccessful != false { - try visitor.visitSingularBoolField(value: _storage._lobbyConnectionSuccessful, fieldNumber: 5) - } - if _storage._timeFromStartOfSessionToSync != 0 { - try visitor.visitSingularInt64Field(value: _storage._timeFromStartOfSessionToSync, fieldNumber: 6) - } - if _storage._syncSuccessful != false { - try visitor.visitSingularBoolField(value: _storage._syncSuccessful, fieldNumber: 7) - } - if _storage._sessionLength != 0 { - try visitor.visitSingularInt64Field(value: _storage._sessionLength, fieldNumber: 8) - } - if _storage._crashCount != 0 { - try visitor.visitSingularInt32Field(value: _storage._crashCount, fieldNumber: 9) - } - if _storage._durationSpentInLobby != 0 { - try visitor.visitSingularInt64Field(value: _storage._durationSpentInLobby, fieldNumber: 10) - } - if _storage._timeFromInviteToLobby != 0 { - try visitor.visitSingularInt64Field(value: _storage._timeFromInviteToLobby, fieldNumber: 11) - } - if _storage._timeFromLobbyToSession != 0 { - try visitor.visitSingularInt64Field(value: _storage._timeFromLobbyToSession, fieldNumber: 12) - } - if _storage._lengthOfArSession != 0 { - try visitor.visitSingularInt64Field(value: _storage._lengthOfArSession, fieldNumber: 13) - } - if _storage._playersConnected != 0 { - try visitor.visitSingularInt32Field(value: _storage._playersConnected, fieldNumber: 14) - } - if _storage._playersDropped != 0 { - try visitor.visitSingularInt32Field(value: _storage._playersDropped, fieldNumber: 15) - } - if _storage._numPhotosTaken != 0 { - try visitor.visitSingularInt32Field(value: _storage._numPhotosTaken, fieldNumber: 16) - } - if _storage._isHost != false { - try visitor.visitSingularBoolField(value: _storage._isHost, fieldNumber: 17) - } - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ARBuddyMultiplayerSessionTelemetry, rhs: ARBuddyMultiplayerSessionTelemetry) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._cameraPermissionGranted != rhs_storage._cameraPermissionGranted {return false} - if _storage._hostTimeToPublishFirstMap != rhs_storage._hostTimeToPublishFirstMap {return false} - if _storage._hostNumberOfMapsPublished != rhs_storage._hostNumberOfMapsPublished {return false} - if _storage._hostMappingSuccessful != rhs_storage._hostMappingSuccessful {return false} - if _storage._lobbyConnectionSuccessful != rhs_storage._lobbyConnectionSuccessful {return false} - if _storage._timeFromStartOfSessionToSync != rhs_storage._timeFromStartOfSessionToSync {return false} - if _storage._syncSuccessful != rhs_storage._syncSuccessful {return false} - if _storage._sessionLength != rhs_storage._sessionLength {return false} - if _storage._crashCount != rhs_storage._crashCount {return false} - if _storage._durationSpentInLobby != rhs_storage._durationSpentInLobby {return false} - if _storage._timeFromInviteToLobby != rhs_storage._timeFromInviteToLobby {return false} - if _storage._timeFromLobbyToSession != rhs_storage._timeFromLobbyToSession {return false} - if _storage._lengthOfArSession != rhs_storage._lengthOfArSession {return false} - if _storage._playersConnected != rhs_storage._playersConnected {return false} - if _storage._playersDropped != rhs_storage._playersDropped {return false} - if _storage._numPhotosTaken != rhs_storage._numPhotosTaken {return false} - if _storage._isHost != rhs_storage._isHost {return false} - return true - } - if !storagesAreEqual {return false} - } - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } + 0: .same(proto: "EGG_SLOT_DEFAULT"), + 1: .same(proto: "EGG_SLOT_SPECIAL"), + ] } -extension ARClientEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ARClientEnvelope" +extension EncounterType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "age_level"), + 0: .same(proto: "ENCOUNTER_TYPE_SPAWN_POINT"), + 1: .same(proto: "ENCOUNTER_TYPE_INCENSE"), + 2: .same(proto: "ENCOUNTER_TYPE_DISK"), + 3: .same(proto: "ENCOUNTER_TYPE_POST_RAID"), + 4: .same(proto: "ENCOUNTER_TYPE_STORY_QUEST"), + 5: .same(proto: "ENCOUNTER_TYPE_QUEST_STAMP_CARD"), + 6: .same(proto: "ENCOUNTER_TYPE_CHALLENGE_QUEST"), + 7: .same(proto: "ENCOUNTER_TYPE_PHOTOBOMB"), + 8: .same(proto: "ENCOUNTER_TYPE_INVASION"), + 9: .same(proto: "ENCOUNTER_TYPE_VS_SEEKER_REWARD"), + 10: .same(proto: "ENCOUNTER_TYPE_TIMED_STORY_QUEST"), + 11: .same(proto: "ENCOUNTER_TYPE_DAILY_BONUS"), + 12: .same(proto: "ENCOUNTER_TYPE_REFERRAL_QUEST"), + 13: .same(proto: "ENCOUNTER_TYPE_TIMED_MINI_COLLECTION_QUEST"), + 14: .same(proto: "ENCOUNTER_TYPE_POWER_UP_POKESTOP"), + 15: .same(proto: "ENCOUNTER_TYPE_BUTTERFLY_COLLECTOR"), + 17: .same(proto: "ENCOUNTER_TYPE_ROUTE"), + 18: .same(proto: "ENCOUNTER_TYPE_PARTY_QUEST"), + 19: .same(proto: "ENCOUNTER_TYPE_BADGE_REWARD"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.ageLevel) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.ageLevel != .unknown { - try visitor.visitSingularEnumField(value: self.ageLevel, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ARClientEnvelope, rhs: ARClientEnvelope) -> Bool { - if lhs.ageLevel != rhs.ageLevel {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension ARClientEnvelope.AgeLevel: SwiftProtobuf._ProtoNameProviding { +extension EnterUsernameMode: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unknown"), - 1: .same(proto: "minor"), - 2: .same(proto: "teen"), - 3: .same(proto: "adult"), + 0: .same(proto: "UNDEFINED_USERNAME_ENTRY_MODE"), + 1: .same(proto: "NEW_USER"), + 2: .same(proto: "CHANGE_BANNED_NAME"), + 3: .same(proto: "EXISTING_USER_CHANGE_NAME"), ] } -extension ARCommonMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ARCommonMetadata" +extension EntryPointForContestEntry: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "application_id"), - 2: .same(proto: "platform"), - 3: .same(proto: "manufacturer"), - 4: .standard(proto: "device_model"), - 5: .standard(proto: "user_id"), - 6: .standard(proto: "client_id"), - 7: .standard(proto: "developer_id"), - 8: .standard(proto: "ardk_version"), - 9: .standard(proto: "ardk_app_instance_id"), - 10: .standard(proto: "request_id"), + 0: .same(proto: "ENTRY_POINT_UNSET"), + 1: .same(proto: "SUGGESTED_FROM_CONTEST_PAGE"), + 2: .same(proto: "SWITCH_POKEMON_CONTEST_PAGE"), + 3: .same(proto: "SUGGESTED_AFTER_POKEMON_CATCH"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.applicationID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.platform) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.manufacturer) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.userID) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.clientID) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.developerID) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.ardkVersion) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.ardkAppInstanceID) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.requestID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.applicationID.isEmpty { - try visitor.visitSingularStringField(value: self.applicationID, fieldNumber: 1) - } - if !self.platform.isEmpty { - try visitor.visitSingularStringField(value: self.platform, fieldNumber: 2) - } - if !self.manufacturer.isEmpty { - try visitor.visitSingularStringField(value: self.manufacturer, fieldNumber: 3) - } - if !self.deviceModel.isEmpty { - try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 4) - } - if !self.userID.isEmpty { - try visitor.visitSingularStringField(value: self.userID, fieldNumber: 5) - } - if !self.clientID.isEmpty { - try visitor.visitSingularStringField(value: self.clientID, fieldNumber: 6) - } - if !self.developerID.isEmpty { - try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 7) - } - if !self.ardkVersion.isEmpty { - try visitor.visitSingularStringField(value: self.ardkVersion, fieldNumber: 8) - } - if !self.ardkAppInstanceID.isEmpty { - try visitor.visitSingularStringField(value: self.ardkAppInstanceID, fieldNumber: 9) - } - if !self.requestID.isEmpty { - try visitor.visitSingularStringField(value: self.requestID, fieldNumber: 10) - } - try unknownFields.traverse(visitor: &visitor) - } +extension FeatureKind: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "KIND_UNDEFINED"), + 1: .same(proto: "KIND_BASIN"), + 2: .same(proto: "KIND_CANAL"), + 3: .same(proto: "KIND_CEMETERY"), + 6: .same(proto: "KIND_COMMERCIAL"), + 9: .same(proto: "KIND_DITCH"), + 11: .same(proto: "KIND_DRAIN"), + 12: .same(proto: "KIND_FARM"), + 13: .same(proto: "KIND_FARMLAND"), + 16: .same(proto: "KIND_FOREST"), + 17: .same(proto: "KIND_GARDEN"), + 18: .same(proto: "KIND_GLACIER"), + 19: .same(proto: "KIND_GOLF_COURSE"), + 20: .same(proto: "KIND_GRASS"), + 21: .same(proto: "KIND_HIGHWAY"), + 23: .same(proto: "KIND_HOTEL"), + 24: .same(proto: "KIND_INDUSTRIAL"), + 25: .same(proto: "KIND_LAKE"), + 28: .same(proto: "KIND_MAJOR_ROAD"), + 29: .same(proto: "KIND_MEADOW"), + 30: .same(proto: "KIND_MINOR_ROAD"), + 31: .same(proto: "KIND_NATURE_RESERVE"), + 32: .same(proto: "KIND_OCEAN"), + 33: .same(proto: "KIND_PARK"), + 34: .same(proto: "KIND_PARKING"), + 35: .same(proto: "KIND_PATH"), + 36: .same(proto: "KIND_PEDESTRIAN"), + 39: .same(proto: "KIND_PLAYA"), + 41: .same(proto: "KIND_QUARRY"), + 42: .same(proto: "KIND_RAILWAY"), + 43: .same(proto: "KIND_RECREATION_AREA"), + 45: .same(proto: "KIND_RESIDENTIAL"), + 46: .same(proto: "KIND_RETAIL"), + 47: .same(proto: "KIND_RIVER"), + 48: .same(proto: "KIND_RIVERBANK"), + 49: .same(proto: "KIND_RUNWAY"), + 50: .same(proto: "KIND_SCHOOL"), + 53: .same(proto: "KIND_STREAM"), + 54: .same(proto: "KIND_TAXIWAY"), + 58: .same(proto: "KIND_WATER"), + 59: .same(proto: "KIND_WETLAND"), + 60: .same(proto: "KIND_WOOD"), + 63: .same(proto: "KIND_OTHER"), + 64: .same(proto: "KIND_COUNTRY"), + 65: .same(proto: "KIND_REGION"), + 66: .same(proto: "KIND_CITY"), + 67: .same(proto: "KIND_TOWN"), + 68: .same(proto: "KIND_AIRPORT"), + 69: .same(proto: "KIND_BAY"), + 70: .same(proto: "KIND_BOROUGH"), + 71: .same(proto: "KIND_FJORD"), + 72: .same(proto: "KIND_HAMLET"), + 73: .same(proto: "KIND_MILITARY"), + 74: .same(proto: "KIND_NATIONAL_PARK"), + 75: .same(proto: "KIND_NEIGHBORHOOD"), + 76: .same(proto: "KIND_PEAK"), + 77: .same(proto: "KIND_PRISON"), + 78: .same(proto: "KIND_PROTECTED_AREA"), + 79: .same(proto: "KIND_REEF"), + 80: .same(proto: "KIND_ROCK"), + 81: .same(proto: "KIND_SAND"), + 82: .same(proto: "KIND_SCRUB"), + 83: .same(proto: "KIND_SEA"), + 84: .same(proto: "KIND_STRAIT"), + 85: .same(proto: "KIND_VALLEY"), + 86: .same(proto: "KIND_VILLAGE"), + 87: .same(proto: "KIND_LIGHT_RAIL"), + 88: .same(proto: "KIND_PLATFORM"), + 89: .same(proto: "KIND_STATION"), + 90: .same(proto: "KIND_SUBWAY"), + 91: .same(proto: "KIND_AGRICULTURAL"), + 92: .same(proto: "KIND_EDUCATION"), + 93: .same(proto: "KIND_GOVERNMENT"), + 94: .same(proto: "KIND_HEALTHCARE"), + 95: .same(proto: "KIND_LANDMARK"), + 96: .same(proto: "KIND_RELIGIOUS"), + 97: .same(proto: "KIND_SERVICES"), + 98: .same(proto: "KIND_SPORTS"), + 99: .same(proto: "KIND_TRANSPORTATION"), + 100: .same(proto: "KIND_UNUSED"), + 101: .same(proto: "KIND_BIOME"), + ] +} + +extension FeaturesFeatureKind: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "undefined"), + 1: .same(proto: "basin"), + 2: .same(proto: "canal"), + 3: .same(proto: "cemetery"), + 6: .same(proto: "commercial"), + 9: .same(proto: "ditch"), + 11: .same(proto: "drain"), + 12: .same(proto: "farm"), + 13: .same(proto: "farmland"), + 16: .same(proto: "forest"), + 17: .same(proto: "garden"), + 18: .same(proto: "glacier"), + 19: .same(proto: "golf_course"), + 20: .same(proto: "grass"), + 21: .same(proto: "highway"), + 23: .same(proto: "hotel"), + 24: .same(proto: "industrial"), + 25: .same(proto: "lake"), + 28: .same(proto: "major_road"), + 29: .same(proto: "meadow"), + 30: .same(proto: "minor_road"), + 31: .same(proto: "nature_reserve"), + 32: .same(proto: "ocean"), + 33: .same(proto: "park"), + 34: .same(proto: "parking"), + 35: .same(proto: "path"), + 36: .same(proto: "pedestrian"), + 39: .same(proto: "playa"), + 41: .same(proto: "quarry"), + 42: .same(proto: "railway"), + 43: .same(proto: "recreation_area"), + 45: .same(proto: "residential"), + 46: .same(proto: "retail"), + 47: .same(proto: "river"), + 48: .same(proto: "riverbank"), + 49: .same(proto: "runway"), + 50: .same(proto: "school"), + 53: .same(proto: "stream"), + 54: .same(proto: "taxiway"), + 58: .same(proto: "water"), + 59: .same(proto: "wetland"), + 60: .same(proto: "wood"), + 63: .same(proto: "other"), + 64: .same(proto: "country"), + 65: .same(proto: "region"), + 66: .same(proto: "city"), + 67: .same(proto: "town"), + 68: .same(proto: "airport"), + 69: .same(proto: "bay"), + 70: .same(proto: "borough"), + 71: .same(proto: "fjord"), + 72: .same(proto: "hamlet"), + 73: .same(proto: "military"), + 74: .same(proto: "national_park"), + 75: .same(proto: "neighborhood"), + 76: .same(proto: "peak"), + 77: .same(proto: "prison"), + 78: .same(proto: "protected_area"), + 79: .same(proto: "reef"), + 80: .same(proto: "rock"), + 81: .same(proto: "sand"), + 82: .same(proto: "scrub"), + 83: .same(proto: "sea"), + 84: .same(proto: "strait"), + 85: .same(proto: "valley"), + 86: .same(proto: "village"), + 87: .same(proto: "light_rail"), + 88: .same(proto: "platform"), + 89: .same(proto: "station"), + 90: .same(proto: "subway"), + 91: .same(proto: "agricultural"), + 92: .same(proto: "education"), + 93: .same(proto: "government"), + 94: .same(proto: "healthcare"), + 95: .same(proto: "landmark"), + 96: .same(proto: "religious"), + 97: .same(proto: "services"), + 98: .same(proto: "sports"), + 99: .same(proto: "transportation"), + 100: .same(proto: "unused"), + 101: .same(proto: "biome"), + ] +} - public static func ==(lhs: ARCommonMetadata, rhs: ARCommonMetadata) -> Bool { - if lhs.applicationID != rhs.applicationID {return false} - if lhs.platform != rhs.platform {return false} - if lhs.manufacturer != rhs.manufacturer {return false} - if lhs.deviceModel != rhs.deviceModel {return false} - if lhs.userID != rhs.userID {return false} - if lhs.clientID != rhs.clientID {return false} - if lhs.developerID != rhs.developerID {return false} - if lhs.ardkVersion != rhs.ardkVersion {return false} - if lhs.ardkAppInstanceID != rhs.ardkAppInstanceID {return false} - if lhs.requestID != rhs.requestID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension FortPowerUpLevel: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "FORT_POWER_UP_LEVEL_UNSET"), + 1: .same(proto: "FORT_POWER_UP_LEVEL_0"), + 2: .same(proto: "FORT_POWER_UP_LEVEL_1"), + 3: .same(proto: "FORT_POWER_UP_LEVEL_2"), + 4: .same(proto: "FORT_POWER_UP_LEVEL_3"), + ] } -extension ARDKTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ARDKTelemetryOmniProto" +extension FortPowerUpLevelReward: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "initialization_event"), - 2: .standard(proto: "ar_session_event"), - 3: .standard(proto: "lightship_service_event"), - 4: .standard(proto: "multiplayer_connection_event"), - 5: .standard(proto: "enable_contextual_awareness_event"), - 6: .standard(proto: "multiplayer_colocalization_event"), - 7: .standard(proto: "multiplayer_colocalization_initialization_event"), - 8: .standard(proto: "scanning_framework_event"), - 9: .standard(proto: "scan_capture_event"), - 10: .standard(proto: "scan_save_event"), - 11: .standard(proto: "scan_process_event"), - 12: .standard(proto: "scan_upload_event"), - 13: .standard(proto: "vps_state_change_event"), - 14: .standard(proto: "wayspot_anchor_state_change_event"), - 15: .standard(proto: "vps_session_summary_event"), - 1000: .standard(proto: "common_metadata"), - 1001: .standard(proto: "developer_key"), - 1002: .standard(proto: "timestamp_ms"), - 1003: .standard(proto: "ar_session_id"), + 0: .same(proto: "FORT_POWER_UP_LEVEL_REWARD_UNSET"), + 1: .same(proto: "FORT_POWER_UP_LEVEL_REWARD_BUDDY_BONUS_HEART"), + 2: .same(proto: "FORT_POWER_UP_REWARD_BONUS_ITEM_ON_SPIN"), + 3: .same(proto: "FORT_POWER_UP_REWARD_BONUS_SPAWN"), + 4: .same(proto: "FORT_POWER_UP_REWARD_BONUS_RAID_POKEBALLS"), ] +} - fileprivate class _StorageClass { - var _telemetryEvent: ARDKTelemetryOmniProto.OneOf_TelemetryEvent? - var _commonMetadata: ARCommonMetadata? = nil - var _developerKey: String = String() - var _timestampMs: Int64 = 0 - var _arSessionID: String = String() +extension FortType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "GYM"), + 1: .same(proto: "CHECKPOINT"), + ] +} - static let defaultInstance = _StorageClass() +extension FriendshipLevelMilestone: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "FRIENDSHIP_LEVEL_UNSET"), + 1: .same(proto: "FRIENDSHIP_LEVEL_0"), + 2: .same(proto: "FRIENDSHIP_LEVEL_1"), + 3: .same(proto: "FRIENDSHIP_LEVEL_2"), + 4: .same(proto: "FRIENDSHIP_LEVEL_3"), + 5: .same(proto: "FRIENDSHIP_LEVEL_4"), + ] +} - private init() {} +extension GameAccountRegistryActions: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_ACCOUNT_REGISTRY_ACTION"), + 600000: .same(proto: "GAME_ACCOUNT_REGISTRY_ACTION_ADD_LOGIN_ACTION"), + 600001: .same(proto: "GAME_ACCOUNT_REGISTRY_ACTION_REMOVE_LOGIN_ACTION"), + 600002: .same(proto: "GAME_ACCOUNT_REGISTRY_ACTION_LIST_LOGIN_ACTION"), + 600003: .same(proto: "GAME_ACCOUNT_REGISTRY_ACTION_REPLACE_LOGIN_ACTION"), + 600004: .same(proto: "GAME_ACCOUNT_REGISTRY_ACTION_SET_BIRTHDAY_ACTION"), + 600005: .same(proto: "GAME_ACCOUNT_REGISTRY_ACTION_GAR_PROXY_ACTION"), + 600006: .same(proto: "GAME_ACCOUNT_REGISTRY_ACTION_LINK_TO_ACCOUNT_LOGIN_ACTION"), + ] +} - init(copying source: _StorageClass) { - _telemetryEvent = source._telemetryEvent - _commonMetadata = source._commonMetadata - _developerKey = source._developerKey - _timestampMs = source._timestampMs - _arSessionID = source._arSessionID - } - } +extension GameAdventureSyncAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_LOCATION_AWARENESS_ACTION"), + 360000: .same(proto: "GAME_LOCATION_AWARENESS_ACTION_REQUEST_GEOFENCE_UPDATES"), + 360001: .same(proto: "GAME_LOCATION_AWARENESS_ACTION_UPDATE_PLAYER_LOCATION"), + 360002: .same(proto: "GAME_LOCATION_AWARENESS_ACTION_BULK_UPDATE_PLAYER_LOCATION"), + 361000: .same(proto: "GAME_LOCATION_AWARENESS_ACTION_UPDATE_BREADCRUMB_HISTORY"), + 362000: .same(proto: "GAME_LOCATION_AWARENESS_ACTION_REFRESH_PROXIMITY_TOKENS"), + 362001: .same(proto: "GAME_LOCATION_AWARENESS_ACTION_REPORT_PROXIMITY_CONTACTS"), + ] +} - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } +extension GameAnticheatAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_ANTICHEAT_ACTION"), + 200000: .same(proto: "GAME_ANTICHEAT_ACTION_GET_OUTSTANDING_WARNINGS"), + 200001: .same(proto: "GAME_ANTICHEAT_ACTION_ACKNOWLEDGE_WARNINGS"), + ] +} - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { - var v: InitializationEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .initializationEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .initializationEvent(v) - } - }() - case 2: try { - var v: ARSessionEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .arSessionEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .arSessionEvent(v) - } - }() - case 3: try { - var v: LightshipServiceEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .lightshipServiceEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .lightshipServiceEvent(v) - } - }() - case 4: try { - var v: MultiplayerConnectionEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .multiplayerConnectionEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .multiplayerConnectionEvent(v) - } - }() - case 5: try { - var v: EnabledContextualAwarenessEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .enableContextualAwarenessEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .enableContextualAwarenessEvent(v) - } - }() - case 6: try { - var v: MultiplayerColocalizationEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .multiplayerColocalizationEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .multiplayerColocalizationEvent(v) - } - }() - case 7: try { - var v: MultiplayerColocalizationInitializationEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .multiplayerColocalizationInitializationEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .multiplayerColocalizationInitializationEvent(v) - } - }() - case 8: try { - var v: ScanningFrameworkEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .scanningFrameworkEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .scanningFrameworkEvent(v) - } - }() - case 9: try { - var v: ScanCaptureEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .scanCaptureEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .scanCaptureEvent(v) - } - }() - case 10: try { - var v: ScanSaveEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .scanSaveEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .scanSaveEvent(v) - } - }() - case 11: try { - var v: ScanProcessEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .scanProcessEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .scanProcessEvent(v) - } - }() - case 12: try { - var v: ScanUploadEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .scanUploadEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .scanUploadEvent(v) - } - }() - case 13: try { - var v: VpsStateChangeEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .vpsStateChangeEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .vpsStateChangeEvent(v) - } - }() - case 14: try { - var v: WayspotAnchorStateChangeEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .wayspotAnchorStateChangeEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .wayspotAnchorStateChangeEvent(v) - } - }() - case 15: try { - var v: VpsSessionSummaryEvent? - var hadOneofValue = false - if let current = _storage._telemetryEvent { - hadOneofValue = true - if case .vpsSessionSummaryEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryEvent = .vpsSessionSummaryEvent(v) - } - }() - case 1000: try { try decoder.decodeSingularMessageField(value: &_storage._commonMetadata) }() - case 1001: try { try decoder.decodeSingularStringField(value: &_storage._developerKey) }() - case 1002: try { try decoder.decodeSingularInt64Field(value: &_storage._timestampMs) }() - case 1003: try { try decoder.decodeSingularStringField(value: &_storage._arSessionID) }() - default: break - } - } - } - } +extension GameAuthenticationActionMethod: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_AUTHENTICATION_ACTION"), + 250011: .same(proto: "GAME_AUTHENTICATION_ACTION_ROTATE_GUEST_LOGIN_SECRET_TOKEN"), + ] +} - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch _storage._telemetryEvent { - case .initializationEvent?: try { - guard case .initializationEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .arSessionEvent?: try { - guard case .arSessionEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .lightshipServiceEvent?: try { - guard case .lightshipServiceEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .multiplayerConnectionEvent?: try { - guard case .multiplayerConnectionEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .enableContextualAwarenessEvent?: try { - guard case .enableContextualAwarenessEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case .multiplayerColocalizationEvent?: try { - guard case .multiplayerColocalizationEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - }() - case .multiplayerColocalizationInitializationEvent?: try { - guard case .multiplayerColocalizationInitializationEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - }() - case .scanningFrameworkEvent?: try { - guard case .scanningFrameworkEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - }() - case .scanCaptureEvent?: try { - guard case .scanCaptureEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - }() - case .scanSaveEvent?: try { - guard case .scanSaveEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - }() - case .scanProcessEvent?: try { - guard case .scanProcessEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - }() - case .scanUploadEvent?: try { - guard case .scanUploadEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - }() - case .vpsStateChangeEvent?: try { - guard case .vpsStateChangeEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - }() - case .wayspotAnchorStateChangeEvent?: try { - guard case .wayspotAnchorStateChangeEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - }() - case .vpsSessionSummaryEvent?: try { - guard case .vpsSessionSummaryEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - }() - case nil: break - } - try { if let v = _storage._commonMetadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1000) - } }() - if !_storage._developerKey.isEmpty { - try visitor.visitSingularStringField(value: _storage._developerKey, fieldNumber: 1001) - } - if _storage._timestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._timestampMs, fieldNumber: 1002) - } - if !_storage._arSessionID.isEmpty { - try visitor.visitSingularStringField(value: _storage._arSessionID, fieldNumber: 1003) - } - } - try unknownFields.traverse(visitor: &visitor) - } +extension GameBackgroundModeAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_BACKGROUND_MODE_ACTION"), + 230000: .same(proto: "GAME_BACKGROUND_MODE_ACTION_REGISTER_BACKGROUND_SERVICE"), + 230001: .same(proto: "GAME_BACKGROUND_MODE_ACTION_GET_CLIENT_BGMODE_SETTINGS"), + 230002: .same(proto: "GAME_BACKGROUND_MODE_ACTION_GET_ADVENTURE_SYNC_PROGRESS"), + ] +} - public static func ==(lhs: ARDKTelemetryOmniProto, rhs: ARDKTelemetryOmniProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._telemetryEvent != rhs_storage._telemetryEvent {return false} - if _storage._commonMetadata != rhs_storage._commonMetadata {return false} - if _storage._developerKey != rhs_storage._developerKey {return false} - if _storage._timestampMs != rhs_storage._timestampMs {return false} - if _storage._arSessionID != rhs_storage._arSessionID {return false} - return true - } - if !storagesAreEqual {return false} - } - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension GameChatActions: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_CHAT_ACTION"), + 660000: .same(proto: "GAME_CHAT_ACTION_PROXY_CHAT_ACTION"), + ] } -extension ARPlusEncounterValuesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ARPlusEncounterValuesProto" +extension GameCrmActions: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "proximity"), - 2: .same(proto: "awareness"), - 3: .standard(proto: "pokemon_frightened"), + 0: .same(proto: "UNKNOWN_CRM_ACTION"), + 680000: .same(proto: "CRM_ACTION_CRM_PROXY_ACTION"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.proximity) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.awareness) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.pokemonFrightened) }() - default: break - } - } - } +extension GameFitnessAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_FITNESS_ACTION"), + 640000: .same(proto: "GAME_FITNESS_ACTION_UPDATE_FITNESS_METRICS"), + 640001: .same(proto: "GAME_FITNESS_ACTION_GET_FITNESS_REPORT"), + 640002: .same(proto: "GAME_FITNESS_ACTION_GET_ADVENTURE_SYNC_SETTINGS"), + 640003: .same(proto: "GAME_FITNESS_ACTION_UPDATE_ADVENTURE_SYNC_SETTINGS"), + 640004: .same(proto: "GAME_FITNESS_ACTION_UPDATE_ADVENTURE_SYNC_FITNESS"), + 640005: .same(proto: "GAME_FITNESS_ACTION_GET_ADVENTURE_SYNC_FITNESS_REPORT"), + ] +} - public func traverse(visitor: inout V) throws { - if self.proximity != 0 { - try visitor.visitSingularFloatField(value: self.proximity, fieldNumber: 1) - } - if self.awareness != 0 { - try visitor.visitSingularFloatField(value: self.awareness, fieldNumber: 2) - } - if self.pokemonFrightened != false { - try visitor.visitSingularBoolField(value: self.pokemonFrightened, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } +extension GameGmTemplatesAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_GM_TEMPLATES_ACTION"), + 340000: .same(proto: "GAME_GM_TEMPLATES_ACTION_DOWNLOAD_GAME_MASTER_TEMPLATES"), + ] +} - public static func ==(lhs: ARPlusEncounterValuesProto, rhs: ARPlusEncounterValuesProto) -> Bool { - if lhs.proximity != rhs.proximity {return false} - if lhs.awareness != rhs.awareness {return false} - if lhs.pokemonFrightened != rhs.pokemonFrightened {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension GameIapAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_IAP_ACTION"), + 310000: .same(proto: "GAME_IAP_ACTION_PURCHASE_SKU"), + 310001: .same(proto: "GAME_IAP_ACTION_GET_AVAILABLE_SKUS_AND_BALANCES"), + 310002: .same(proto: "GAME_IAP_ACTION_SET_IN_GAME_CURRENCY_EXCHANGE_RATE"), + 310003: .same(proto: "GAME_IAP_ACTION_PURCHASE_WEB_SKU"), + 310100: .same(proto: "GAME_IAP_ACTION_REDEEM_GOOGLE_RECEIPT"), + 310101: .same(proto: "GAME_IAP_ACTION_REDEEM_APPLE_RECEIPT"), + 310102: .same(proto: "GAME_IAP_ACTION_REDEEM_DESKTOP_RECEIPT"), + 310103: .same(proto: "GAME_IAP_ACTION_REDEEM_SAMSUNG_RECEIPT"), + 310200: .same(proto: "GAME_IAP_ACTION_GET_AVAILABLE_SUBSCRIPTIONS"), + 310201: .same(proto: "GAME_IAP_ACTION_GET_ACTIVE_SUBSCRIPTIONS"), + 311100: .same(proto: "GAME_IAP_ACTION_REDEEM_XSOLLA_RECEIPT"), + 311101: .same(proto: "GAME_IAP_ACTION_GET_WEBSTORE_USER"), + 311102: .same(proto: "GAME_IAP_ACTION_REFUND_IAP_RECEIPT"), + 311103: .same(proto: "GAME_IAP_ACTION_GET_AVAILABLE_SKUS_ANONYMOUS"), + 311104: .same(proto: "GAME_IAP_ACTION_REDEEM_WEBSTORE_RECEIPT"), + ] } -extension ARSessionEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ARSessionEvent" +extension GameNotificationAction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "session_state"), - 2: .standard(proto: "battery_level"), - 99999: .standard(proto: "install_mode"), + 0: .same(proto: "UNKNOWN_GAME_NOTIFICATION_ACTION"), + 350000: .same(proto: "GAME_NOTIFICATION_ACTION_UPDATE_NOTIFICATION_STATUS"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.sessionState) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.batteryLevel) }() - case 99999: try { try decoder.decodeSingularStringField(value: &self.installMode) }() - default: break - } - } - } +extension GamePasscodeAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_PASSCODE_ACTION"), + 330000: .same(proto: "GAME_PASSCODE_ACTION_REDEEM_PASSCODE"), + ] +} - public func traverse(visitor: inout V) throws { - if self.sessionState != .unknown { - try visitor.visitSingularEnumField(value: self.sessionState, fieldNumber: 1) - } - if self.batteryLevel != 0 { - try visitor.visitSingularFloatField(value: self.batteryLevel, fieldNumber: 2) - } - if !self.installMode.isEmpty { - try visitor.visitSingularStringField(value: self.installMode, fieldNumber: 99999) - } - try unknownFields.traverse(visitor: &visitor) - } +extension GamePingAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_PING_ACTION"), + 220000: .same(proto: "GAME_PING_ACTION_PING"), + 220001: .same(proto: "GAME_PING_ACTION_PING_ASYNC"), + 220002: .same(proto: "GAME_PING_ACTION_PING_DOWNSTREAM"), + 221000: .same(proto: "GAME_PING_ACTION_PING_OPEN"), + ] +} - public static func ==(lhs: ARSessionEvent, rhs: ARSessionEvent) -> Bool { - if lhs.sessionState != rhs.sessionState {return false} - if lhs.batteryLevel != rhs.batteryLevel {return false} - if lhs.installMode != rhs.installMode {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension GamePlayerAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_PLAYER_ACTION"), + 380000: .same(proto: "GAME_PLAYER_ACTION_GET_INVENTORY"), + ] } -extension ARSessionEvent.State: SwiftProtobuf._ProtoNameProviding { +extension GamePoiAction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unknown"), - 1: .same(proto: "created"), - 2: .same(proto: "run"), - 3: .same(proto: "pause"), - 4: .same(proto: "disposed"), + 0: .same(proto: "UNKNOWN_GAME_POI_ACTION"), + 620000: .same(proto: "GAME_POI_ACTION_ADD_NEW_POI"), + 620001: .same(proto: "GAME_POI_ACTION_GET_AVAILABLE_SUBMISSIONS"), + 620002: .same(proto: "GAME_POI_ACTION_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), + 620003: .same(proto: "GAME_POI_ACTION_GET_PLAYER_SUBMISSION_VALIDATION_SETTINGS"), + 620100: .same(proto: "GAME_POI_ACTION_SUBMIT_POI_IMAGE"), + 620101: .same(proto: "GAME_POI_ACTION_SUBMIT_POI_TEXT_METADATA_UPDATE"), + 620102: .same(proto: "GAME_POI_ACTION_SUBMIT_POI_LOCATION_UPDATE"), + 620103: .same(proto: "GAME_POI_ACTION_SUBMIT_POI_TAKEDOWN_REQUEST"), + 620104: .same(proto: "GAME_POI_ACTION_SUBMIT_SPONSOR_POI_REPORT"), + 620105: .same(proto: "GAME_POI_ACTION_SUBMIT_SPONSOR_POI_LOCATION_UPDATE"), + 620200: .same(proto: "GAME_POI_ACTION_ADD_NEW_ROUTE"), + 620300: .same(proto: "GAME_POI_ACTION_GENERATE_GMAP_SIGNED_URL"), + 620301: .same(proto: "GAME_POI_ACTION_GET_GMAP_SETTINGS"), + 620400: .same(proto: "GAME_POI_ACTION_SUBMIT_POI_AR_VIDEO_METADATA"), + 620401: .same(proto: "GAME_POI_ACTION_GET_GRAPESHOT_FILE_UPLOAD_URL"), + 620402: .same(proto: "GAME_POI_ACTION_ASYNC_FILE_UPLOAD_COMPLETE"), ] } -extension ASPermissionFlowTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ASPermissionFlowTelemetry" +extension GamePushNotificationAction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "initial_prompt"), - 2: .standard(proto: "service_telemetry"), - 3: .standard(proto: "permission_telemetry"), - 4: .standard(proto: "permission_status_telemetry"), - 5: .same(proto: "success"), + 0: .same(proto: "UNKNOWN_GAME_PUSH_NOTIFICATION_ACTION"), + 320000: .same(proto: "GAME_PUSH_NOTIFICATION_ACTION_REGISTER_PUSH_NOTIFICATION"), + 320001: .same(proto: "GAME_PUSH_NOTIFICATION_ACTION_UNREGISTER_PUSH_NOTIFICATION"), + 320002: .same(proto: "GAME_PUSH_NOTIFICATION_ACTION_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), + 320003: .same(proto: "GAME_PUSH_NOTIFICATION_ACTION_REGISTER_PUSH_NOTIFICATION_TOKEN"), + 320004: .same(proto: "GAME_PUSH_NOTIFICATION_ACTION_UNREGISTER_PUSH_NOTIFICATION_TOKEN"), + 320005: .same(proto: "GAME_PUSH_NOTIFICATION_ACTION_OPT_OUT_PUSH_NOTIFICATION_TOKEN_CATEGORY"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.initialPrompt) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.serviceTelemetry) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.permissionTelemetry) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.permissionStatusTelemetry) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.success) }() - default: break - } - } - } +extension GameSocialAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_SOCIAL_ACTION"), + 630000: .same(proto: "GAME_SOCIAL_ACTION_PROXY_SOCIAL_ACTION"), + 630001: .same(proto: "GAME_SOCIAL_ACTION_PROXY_SOCIAL_SIDE_CHANNEL_ACTION"), + ] +} - public func traverse(visitor: inout V) throws { - if self.initialPrompt != false { - try visitor.visitSingularBoolField(value: self.initialPrompt, fieldNumber: 1) - } - if !self.serviceTelemetry.isEmpty { - try visitor.visitPackedEnumField(value: self.serviceTelemetry, fieldNumber: 2) - } - if self.permissionTelemetry != .unsetPermission { - try visitor.visitSingularEnumField(value: self.permissionTelemetry, fieldNumber: 3) - } - if self.permissionStatusTelemetry != .unknown { - try visitor.visitSingularEnumField(value: self.permissionStatusTelemetry, fieldNumber: 4) - } - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 5) - } - try unknownFields.traverse(visitor: &visitor) - } +extension GameTelemetryAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_TELEMETRY_ACTION"), + 610000: .same(proto: "GAME_TELEMETRY_ACTIO_COLLECT_CLIENT_TELEMETRY"), + 610001: .same(proto: "GAME_TELEMETRY_ACTIO_GET_CLIENT_TELEMETRY_SETTINGS"), + ] +} - public static func ==(lhs: ASPermissionFlowTelemetry, rhs: ASPermissionFlowTelemetry) -> Bool { - if lhs.initialPrompt != rhs.initialPrompt {return false} - if lhs.serviceTelemetry != rhs.serviceTelemetry {return false} - if lhs.permissionTelemetry != rhs.permissionTelemetry {return false} - if lhs.permissionStatusTelemetry != rhs.permissionStatusTelemetry {return false} - if lhs.success != rhs.success {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension GameWebTokenAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_GAME_WEB_TOKEN_ACTION"), + 370000: .same(proto: "GAME_WEB_TOKEN_ACTION_GET_WEB_TOKEN_ACTION"), + ] } -extension AbilityEnergyMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AbilityEnergyMetadata" +extension GenericClickTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "current_energy"), - 2: .standard(proto: "energy_cost"), - 3: .standard(proto: "max_energy"), - 4: .standard(proto: "charge_rate"), - 5: .same(proto: "disabled"), + 0: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_UNDEFINED_GENERIC_EVENT"), + 1: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_SPEED_WARNING_SHOW"), + 2: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_SPEED_WARNING_PASSENGER"), + 3: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_CACHE_RESET_CLICKED"), + 4: .same(proto: "GENERIC_CLICK_TELEMETRY_IDS_REFUND_PAGE_OPENED"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.currentEnergy) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.energyCost) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxEnergy) }() - case 4: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.chargeRate) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.disabled) }() - default: break - } - } - } +extension GymBadgeType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "GYM_BADGE_UNSET"), + 1: .same(proto: "GYM_BADGE_VANILLA"), + 2: .same(proto: "GYM_BADGE_BRONZE"), + 3: .same(proto: "GYM_BADGE_SILVER"), + 4: .same(proto: "GYM_BADGE_GOLD"), + ] +} - public func traverse(visitor: inout V) throws { - if self.currentEnergy != 0 { - try visitor.visitSingularInt32Field(value: self.currentEnergy, fieldNumber: 1) - } - if self.energyCost != 0 { - try visitor.visitSingularInt32Field(value: self.energyCost, fieldNumber: 2) - } - if self.maxEnergy != 0 { - try visitor.visitSingularInt32Field(value: self.maxEnergy, fieldNumber: 3) - } - if !self.chargeRate.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.chargeRate, fieldNumber: 4) - } - if self.disabled != false { - try visitor.visitSingularBoolField(value: self.disabled, fieldNumber: 5) - } - try unknownFields.traverse(visitor: &visitor) - } +extension HelpshiftAuthenticationFailureReason: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "HELPSHIFT_AUTHENTICATON_FAILURE_REASON_AUTH_TOKEN_NOT_PROVIDED"), + 1: .same(proto: "HELPSHIFT_AUTHENTICATON_FAILURE_REASON_INVALID_AUTH_TOKEN"), + 2: .same(proto: "HELPSHIFT_AUTHENTICATON_FAILURE_REASON_UNKNOWN"), + ] +} - public static func ==(lhs: AbilityEnergyMetadata, rhs: AbilityEnergyMetadata) -> Bool { - if lhs.currentEnergy != rhs.currentEnergy {return false} - if lhs.energyCost != rhs.energyCost {return false} - if lhs.maxEnergy != rhs.maxEnergy {return false} - if lhs.chargeRate != rhs.chargeRate {return false} - if lhs.disabled != rhs.disabled {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension HoloActivityType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "ACTIVITY_UNKNOWN"), + 1: .same(proto: "ACTIVITY_CATCH_POKEMON"), + 2: .same(proto: "ACTIVITY_CATCH_LEGEND_POKEMON"), + 3: .same(proto: "ACTIVITY_FLEE_POKEMON"), + 4: .same(proto: "ACTIVITY_DEFEAT_FORT"), + 5: .same(proto: "ACTIVITY_EVOLVE_POKEMON"), + 6: .same(proto: "ACTIVITY_HATCH_EGG"), + 7: .same(proto: "ACTIVITY_WALK_KM"), + 8: .same(proto: "ACTIVITY_POKEDEX_ENTRY_NEW"), + 9: .same(proto: "ACTIVITY_CATCH_FIRST_THROW"), + 10: .same(proto: "ACTIVITY_CATCH_NICE_THROW"), + 11: .same(proto: "ACTIVITY_CATCH_GREAT_THROW"), + 12: .same(proto: "ACTIVITY_CATCH_EXCELLENT_THROW"), + 13: .same(proto: "ACTIVITY_CATCH_CURVEBALL"), + 14: .same(proto: "ACTIVITY_CATCH_FIRST_CATCH_OF_DAY"), + 15: .same(proto: "ACTIVITY_CATCH_MILESTONE"), + 16: .same(proto: "ACTIVITY_TRAIN_POKEMON"), + 17: .same(proto: "ACTIVITY_SEARCH_FORT"), + 18: .same(proto: "ACTIVITY_RELEASE_POKEMON"), + 19: .same(proto: "ACTIVITY_HATCH_EGG_SMALL_BONUS"), + 20: .same(proto: "ACTIVITY_HATCH_EGG_MEDIUM_BONUS"), + 21: .same(proto: "ACTIVITY_HATCH_EGG_LARGE_BONUS"), + 22: .same(proto: "ACTIVITY_DEFEAT_GYM_DEFENDER"), + 23: .same(proto: "ACTIVITY_DEFEAT_GYM_LEADER"), + 24: .same(proto: "ACTIVITY_CATCH_FIRST_CATCH_STREAK_BONUS"), + 25: .same(proto: "ACTIVITY_SEARCH_FORT_FIRST_OF_THE_DAY"), + 26: .same(proto: "ACTIVITY_SEARCH_FORT_STREAK_BONUS"), + 27: .same(proto: "ACTIVITY_DEFEAT_RAID_POKEMON"), + 28: .same(proto: "ACTIVITY_FEED_BERRY"), + 29: .same(proto: "ACTIVITY_SEARCH_GYM"), + 30: .same(proto: "ACTIVITY_NEW_POKESTOP"), + 31: .same(proto: "ACTIVITY_GYM_BATTLE_LOSS"), + 32: .same(proto: "ACTIVITY_CATCH_AR_PLUS_BONUS"), + 33: .same(proto: "ACTIVITY_CATCH_QUEST_POKEMON_ENCOUNTER"), + 35: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_0"), + 36: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_1"), + 37: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_2"), + 38: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_3"), + 39: .same(proto: "ACTIVITY_FRIENDSHIP_LEVEL_UP_4"), + 40: .same(proto: "ACTIVITY_SEND_GIFT"), + 42: .same(proto: "ACTIVITY_RAID_LEVEL_1_ADDITIONAL_XP"), + 43: .same(proto: "ACTIVITY_RAID_LEVEL_2_ADDITIONAL_XP"), + 44: .same(proto: "ACTIVITY_RAID_LEVEL_3_ADDITIONAL_XP"), + 45: .same(proto: "ACTIVITY_RAID_LEVEL_4_ADDITIONAL_XP"), + 46: .same(proto: "ACTIVITY_RAID_LEVEL_5_ADDITIONAL_XP"), + 47: .same(proto: "ACTIVITY_HATCH_EGG_SHADOW"), + 48: .same(proto: "ACTIVITY_HATCH_EGG_GIFT"), + 49: .same(proto: "ACTIVITY_REMOTE_DEFEAT_RAID_POKEMON"), + 50: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_1_ADDITIONAL_XP"), + 51: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_2_ADDITIONAL_XP"), + 52: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_3_ADDITIONAL_XP"), + 53: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_4_ADDITIONAL_XP"), + 54: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_5_ADDITIONAL_XP"), + 55: .same(proto: "ACTIVITY_CHANGE_POKEMON_FORM"), + 56: .same(proto: "ACTIVITY_EARN_BUDDY_WALKED_CANDY"), + 57: .same(proto: "ACTIVITY_RAID_LEVEL_1_SHADOW_ADDITIONAL_XP"), + 58: .same(proto: "ACTIVITY_RAID_LEVEL_2_SHADOW_ADDITIONAL_XP"), + 59: .same(proto: "ACTIVITY_RAID_LEVEL_3_SHADOW_ADDITIONAL_XP"), + 60: .same(proto: "ACTIVITY_RAID_LEVEL_4_SHADOW_ADDITIONAL_XP"), + 61: .same(proto: "ACTIVITY_RAID_LEVEL_5_SHADOW_ADDITIONAL_XP"), + 62: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_1_SHADOW_ADDITIONAL_XP"), + 63: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_2_SHADOW_ADDITIONAL_XP"), + 64: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_3_SHADOW_ADDITIONAL_XP"), + 65: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_4_SHADOW_ADDITIONAL_XP"), + 66: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_5_SHADOW_ADDITIONAL_XP"), + 67: .same(proto: "ACTIVITY_CATCH_MASTER_BALL_THROW"), + 68: .same(proto: "ACTIVITY_RAID_LEVEL_MEGA_ADDITIONAL_XP"), + 69: .same(proto: "ACTIVITY_RAID_LEVEL_MEGA_5_ADDITIONAL_XP"), + 70: .same(proto: "ACTIVITY_RAID_LEVEL_ULTRA_BEAST_ADDITIONAL_XP"), + 71: .same(proto: "ACTIVITY_RAID_LEVEL_EXTENDED_EGG_ADDITIONAL_XP"), + 72: .same(proto: "ACTIVITY_RAID_LEVEL_PRIMAL_ADDITIONAL_XP"), + 73: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_MEGA_ADDITIONAL_XP"), + 74: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_MEGA_5_ADDITIONAL_XP"), + 75: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_ULTRA_BEAST_ADDITIONAL_XP"), + 76: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_EXTENDED_EGG_ADDITIONAL_XP"), + 77: .same(proto: "ACTIVITY_REMOTE_RAID_LEVEL_PRIMAL_ADDITIONAL_XP"), + 78: .same(proto: "ACTIVITY_ROUTE_COMPLETE"), + 79: .same(proto: "ACTIVITY_ROUTE_COMPLETE_FIRST_OF_THE_DAY"), + 80: .same(proto: "ACTIVITY_ROUTE_COMPLETE_STREAK_BONUS"), + ] } -extension AbilityEnergyMetadata.ChargeType: SwiftProtobuf._ProtoNameProviding { +extension HoloBadgeType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "FAST_MOVE"), - 2: .same(proto: "CHARGE_MOVE"), + 0: .same(proto: "BADGE_UNSET"), + 1: .same(proto: "BADGE_TRAVEL_KM"), + 2: .same(proto: "BADGE_POKEDEX_ENTRIES"), + 3: .same(proto: "BADGE_CAPTURE_TOTAL"), + 4: .same(proto: "BADGE_DEFEATED_FORT"), + 5: .same(proto: "BADGE_EVOLVED_TOTAL"), + 6: .same(proto: "BADGE_HATCHED_TOTAL"), + 7: .same(proto: "BADGE_ENCOUNTERED_TOTAL"), + 8: .same(proto: "BADGE_POKESTOPS_VISITED"), + 9: .same(proto: "BADGE_UNIQUE_POKESTOPS"), + 10: .same(proto: "BADGE_POKEBALL_THROWN"), + 11: .same(proto: "BADGE_BIG_MAGIKARP"), + 12: .same(proto: "BADGE_DEPLOYED_TOTAL"), + 13: .same(proto: "BADGE_BATTLE_ATTACK_WON"), + 14: .same(proto: "BADGE_BATTLE_TRAINING_WON"), + 15: .same(proto: "BADGE_BATTLE_DEFEND_WON"), + 16: .same(proto: "BADGE_PRESTIGE_RAISED"), + 17: .same(proto: "BADGE_PRESTIGE_DROPPED"), + 18: .same(proto: "BADGE_TYPE_NORMAL"), + 19: .same(proto: "BADGE_TYPE_FIGHTING"), + 20: .same(proto: "BADGE_TYPE_FLYING"), + 21: .same(proto: "BADGE_TYPE_POISON"), + 22: .same(proto: "BADGE_TYPE_GROUND"), + 23: .same(proto: "BADGE_TYPE_ROCK"), + 24: .same(proto: "BADGE_TYPE_BUG"), + 25: .same(proto: "BADGE_TYPE_GHOST"), + 26: .same(proto: "BADGE_TYPE_STEEL"), + 27: .same(proto: "BADGE_TYPE_FIRE"), + 28: .same(proto: "BADGE_TYPE_WATER"), + 29: .same(proto: "BADGE_TYPE_GRASS"), + 30: .same(proto: "BADGE_TYPE_ELECTRIC"), + 31: .same(proto: "BADGE_TYPE_PSYCHIC"), + 32: .same(proto: "BADGE_TYPE_ICE"), + 33: .same(proto: "BADGE_TYPE_DRAGON"), + 34: .same(proto: "BADGE_TYPE_DARK"), + 35: .same(proto: "BADGE_TYPE_FAIRY"), + 36: .same(proto: "BADGE_SMALL_RATTATA"), + 37: .same(proto: "BADGE_PIKACHU"), + 38: .same(proto: "BADGE_UNOWN"), + 39: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN2"), + 40: .same(proto: "BADGE_RAID_BATTLE_WON"), + 41: .same(proto: "BADGE_LEGENDARY_BATTLE_WON"), + 42: .same(proto: "BADGE_BERRIES_FED"), + 43: .same(proto: "BADGE_HOURS_DEFENDED"), + 44: .same(proto: "BADGE_PLACE_HOLDER"), + 45: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN3"), + 46: .same(proto: "BADGE_CHALLENGE_QUESTS"), + 47: .same(proto: "BADGE_MEW_ENCOUNTER"), + 48: .same(proto: "BADGE_MAX_LEVEL_FRIENDS"), + 49: .same(proto: "BADGE_TRADING"), + 50: .same(proto: "BADGE_TRADING_DISTANCE"), + 51: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN4"), + 52: .same(proto: "BADGE_GREAT_LEAGUE"), + 53: .same(proto: "BADGE_ULTRA_LEAGUE"), + 54: .same(proto: "BADGE_MASTER_LEAGUE"), + 55: .same(proto: "BADGE_PHOTOBOMB"), + 56: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN5"), + 57: .same(proto: "BADGE_POKEMON_PURIFIED"), + 58: .same(proto: "BADGE_ROCKET_GRUNTS_DEFEATED"), + 59: .same(proto: "BADGE_ROCKET_GIOVANNI_DEFEATED"), + 60: .same(proto: "BADGE_BUDDY_BEST"), + 61: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN6"), + 62: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN7"), + 63: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN8"), + 64: .same(proto: "BADGE_7_DAY_STREAKS"), + 65: .same(proto: "BADGE_UNIQUE_RAID_BOSSES_DEFEATED"), + 66: .same(proto: "BADGE_RAIDS_WITH_FRIENDS"), + 67: .same(proto: "BADGE_POKEMON_CAUGHT_AT_YOUR_LURES"), + 68: .same(proto: "BADGE_WAYFARER"), + 69: .same(proto: "BADGE_TOTAL_MEGA_EVOS"), + 70: .same(proto: "BADGE_UNIQUE_MEGA_EVOS"), + 71: .same(proto: "DEPRECATED_0"), + 72: .same(proto: "BADGE_ROUTE_ACCEPTED"), + 73: .same(proto: "BADGE_TRAINERS_REFERRED"), + 74: .same(proto: "BADGE_POKESTOPS_SCANNED"), + 76: .same(proto: "BADGE_RAID_BATTLE_STAT"), + 77: .same(proto: "BADGE_TOTAL_ROUTE_PLAY"), + 78: .same(proto: "BADGE_UNIQUE_ROUTE_PLAY"), + 79: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN8A"), + 80: .same(proto: "BADGE_CAPTURE_SMALL_POKEMON"), + 81: .same(proto: "BADGE_CAPTURE_LARGE_POKEMON"), + 82: .same(proto: "BADGE_POKEDEX_ENTRIES_GEN9"), + 1000: .same(proto: "BADGE_DYNAMIC_MIN"), + 1002: .same(proto: "BADGE_MINI_COLLECTION"), + 1003: .same(proto: "BADGE_BUTTERFLY_COLLECTOR"), + 1004: .same(proto: "BADGE_MAX_SIZE_FIRST_PLACE_WIN"), + 2000: .same(proto: "BADGE_EVENT_MIN"), + 2001: .same(proto: "BADGE_CHICAGO_FEST_JULY_2017"), + 2002: .same(proto: "BADGE_PIKACHU_OUTBREAK_YOKOHAMA_2017"), + 2003: .same(proto: "BADGE_SAFARI_ZONE_EUROPE_2017"), + 2004: .same(proto: "BADGE_SAFARI_ZONE_EUROPE_2017_10_07"), + 2005: .same(proto: "BADGE_SAFARI_ZONE_EUROPE_2017_10_14"), + 2006: .same(proto: "BADGE_CHICAGO_FEST_JULY_2018_SAT_NORTH"), + 2007: .same(proto: "BADGE_CHICAGO_FEST_JULY_2018_SAT_SOUTH"), + 2008: .same(proto: "BADGE_CHICAGO_FEST_JULY_2018_SUN_NORTH"), + 2009: .same(proto: "BADGE_CHICAGO_FEST_JULY_2018_SUN_SOUTH"), + 2010: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_0"), + 2011: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_1"), + 2012: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_2"), + 2013: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_3"), + 2014: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_4"), + 2015: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_5"), + 2016: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_6"), + 2017: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_7"), + 2018: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_8"), + 2019: .same(proto: "BADGE_APAC_PARTNER_JULY_2018_9"), + 2020: .same(proto: "BADGE_YOKOSUKA_29_AUG_2018_MIKASA"), + 2021: .same(proto: "BADGE_YOKOSUKA_29_AUG_2018_VERNY"), + 2022: .same(proto: "BADGE_YOKOSUKA_29_AUG_2018_KURIHAMA"), + 2023: .same(proto: "BADGE_YOKOSUKA_30_AUG_2018_MIKASA"), + 2024: .same(proto: "BADGE_YOKOSUKA_30_AUG_2018_VERNY"), + 2025: .same(proto: "BADGE_YOKOSUKA_30_AUG_2018_KURIHAMA"), + 2026: .same(proto: "BADGE_YOKOSUKA_31_AUG_2018_MIKASA"), + 2027: .same(proto: "BADGE_YOKOSUKA_31_AUG_2018_VERNY"), + 2028: .same(proto: "BADGE_YOKOSUKA_31_AUG_2018_KURIHAMA"), + 2029: .same(proto: "BADGE_YOKOSUKA_1_SEP_2018_MIKASA"), + 2030: .same(proto: "BADGE_YOKOSUKA_1_SEP_2018_VERNY"), + 2031: .same(proto: "BADGE_YOKOSUKA_1_SEP_2018_KURIHAMA"), + 2032: .same(proto: "BADGE_YOKOSUKA_2_SEP_2018_MIKASA"), + 2033: .same(proto: "BADGE_YOKOSUKA_2_SEP_2018_VERNY"), + 2034: .same(proto: "BADGE_YOKOSUKA_2_SEP_2018_KURIHAMA"), + 2035: .same(proto: "BADGE_TOP_BANANA_1"), + 2036: .same(proto: "BADGE_TOP_BANANA_2"), + 2037: .same(proto: "BADGE_TOP_BANANA_3"), + 2038: .same(proto: "BADGE_PARTNER_EVENT_2019_0"), + 2039: .same(proto: "BADGE_PARTNER_EVENT_2019_1"), + 2040: .same(proto: "BADGE_PARTNER_EVENT_2019_2"), + 2041: .same(proto: "BADGE_PARTNER_EVENT_2019_3"), + 2042: .same(proto: "BADGE_PARTNER_EVENT_2019_4"), + 2043: .same(proto: "BADGE_PARTNER_EVENT_2019_5"), + 2044: .same(proto: "BADGE_PARTNER_EVENT_2019_6"), + 2045: .same(proto: "BADGE_PARTNER_EVENT_2019_7"), + 2046: .same(proto: "BADGE_PARTNER_EVENT_2019_8"), + 2047: .same(proto: "BADGE_PARTNER_EVENT_2019_9"), + 2048: .same(proto: "BADGE_SENTOSA_18_APR_2019"), + 2049: .same(proto: "BADGE_SENTOSA_19_APR_2019"), + 2050: .same(proto: "BADGE_SENTOSA_20_APR_2019"), + 2051: .same(proto: "BADGE_SENTOSA_21_APR_2019"), + 2052: .same(proto: "BADGE_SENTOSA_22_APR_2019"), + 2053: .same(proto: "BADGE_CITY_EXPLORER_PASS_00"), + 2054: .same(proto: "BADGE_CITY_EXPLORER_PASS_01"), + 2055: .same(proto: "BADGE_CITY_EXPLORER_PASS_02"), + 2056: .same(proto: "BADGE_CITY_EXPLORER_PASS_03"), + 2057: .same(proto: "BADGE_CITY_EXPLORER_PASS_04"), + 2058: .same(proto: "BADGE_CITY_EXPLORER_PASS_05"), + 2059: .same(proto: "BADGE_CITY_EXPLORER_PASS_06"), + 2060: .same(proto: "BADGE_CITY_EXPLORER_PASS_07"), + 2061: .same(proto: "BADGE_CITY_EXPLORER_PASS_08"), + 2062: .same(proto: "BADGE_CITY_EXPLORER_PASS_09"), + 2063: .same(proto: "BADGE_CITY_EXPLORER_PASS_10"), + 2064: .same(proto: "BADGE_CITY_EXPLORER_PASS_11"), + 2065: .same(proto: "BADGE_CITY_EXPLORER_PASS_12"), + 2066: .same(proto: "BADGE_CITY_EXPLORER_PASS_13"), + 2067: .same(proto: "BADGE_CITY_EXPLORER_PASS_14"), + 2068: .same(proto: "BADGE_CITY_EXPLORER_PASS_15"), + 2069: .same(proto: "BADGE_CITY_EXPLORER_PASS_16"), + 2070: .same(proto: "BADGE_CITY_EXPLORER_PASS_17"), + 2071: .same(proto: "BADGE_CITY_EXPLORER_PASS_18"), + 2072: .same(proto: "BADGE_CITY_EXPLORER_PASS_19"), + 2073: .same(proto: "BADGE_CITY_EXPLORER_PASS_20"), + 2074: .same(proto: "BADGE_CITY_EXPLORER_PASS_21"), + 2075: .same(proto: "BADGE_CITY_EXPLORER_PASS_22"), + 2076: .same(proto: "BADGE_CITY_EXPLORER_PASS_23"), + 2077: .same(proto: "BADGE_CITY_EXPLORER_PASS_24"), + 2078: .same(proto: "BADGE_CITY_EXPLORER_PASS_25"), + 2079: .same(proto: "BADGE_CITY_EXPLORER_PASS_26"), + 2080: .same(proto: "BADGE_CITY_EXPLORER_PASS_27"), + 2081: .same(proto: "BADGE_CITY_EXPLORER_PASS_28"), + 2082: .same(proto: "BADGE_CITY_EXPLORER_PASS_29"), + 2083: .same(proto: "BADGE_CITY_EXPLORER_PASS_30"), + 2084: .same(proto: "BADGE_CITY_EXPLORER_PASS_31"), + 2085: .same(proto: "BADGE_CITY_EXPLORER_PASS_32"), + 2086: .same(proto: "BADGE_CITY_EXPLORER_PASS_33"), + 2087: .same(proto: "BADGE_CITY_EXPLORER_PASS_34"), + 2088: .same(proto: "BADGE_CITY_EXPLORER_PASS_35"), + 2089: .same(proto: "BADGE_CITY_EXPLORER_PASS_36"), + 2090: .same(proto: "BADGE_CITY_EXPLORER_PASS_37"), + 2091: .same(proto: "BADGE_CITY_EXPLORER_PASS_38"), + 2092: .same(proto: "BADGE_CITY_EXPLORER_PASS_39"), + 2093: .same(proto: "BADGE_CITY_EXPLORER_PASS_40"), + 2094: .same(proto: "BADGE_AIR_ADVENTURES_OKINAWA_00"), + 2095: .same(proto: "BADGE_AIR_ADVENTURES_OKINAWA_RELEASE"), + 2096: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_00_EARLYACCESS"), + 2097: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_00_GENERAL"), + 2098: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_01_EARLYACCESS"), + 2099: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_01_GENERAL"), + 2100: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_02_EARLYACCESS"), + 2101: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_02_GENERAL"), + 2102: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_03_EARLYACCESS"), + 2103: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_03_GENERAL"), + 5000: .same(proto: "BADGE_DYNAMIC_EVENT_MIN"), + 5001: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_00_NORTH_GENERAL"), + 5002: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_00_NORTH_EARLYACCESS"), + 5003: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_00_SOUTH_GENERAL"), + 5004: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_00_SOUTH_EARLYACCESS"), + 5005: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_01_NORTH_GENERAL"), + 5006: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_01_NORTH_EARLYACCESS"), + 5007: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_01_SOUTH_GENERAL"), + 5008: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_01_SOUTH_EARLYACCESS"), + 5009: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_02_NORTH_GENERAL"), + 5010: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_02_NORTH_EARLYACCESS"), + 5011: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_02_SOUTH_GENERAL"), + 5012: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_02_SOUTH_EARLYACCESS"), + 5013: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_03_NORTH_GENERAL"), + 5014: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_03_NORTH_EARLYACCESS"), + 5015: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_03_SOUTH_GENERAL"), + 5016: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_03_SOUTH_EARLYACCESS"), + 5017: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_04_NORTH_GENERAL"), + 5018: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_04_NORTH_EARLYACCESS"), + 5019: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_04_SOUTH_GENERAL"), + 5020: .same(proto: "BADGE_GOFEST_2019_AMERICAS_DAY_04_SOUTH_EARLYACCESS"), + 5021: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_00_GENERAL"), + 5022: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_00_EARLYACCESS"), + 5023: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_01_GENERAL"), + 5024: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_01_EARLYACCESS"), + 5025: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_02_GENERAL"), + 5026: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_02_EARLYACCESS"), + 5027: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_03_GENERAL"), + 5028: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_03_EARLYACCESS"), + 5029: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_04_GENERAL"), + 5030: .same(proto: "BADGE_GOFEST_2019_EMEA_DAY_04_EARLYACCESS"), + 5031: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_00_GENERAL"), + 5032: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_01_GENERAL"), + 5033: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_02_GENERAL"), + 5034: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_03_GENERAL"), + 5035: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_04_GENERAL"), + 5036: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_05_GENERAL"), + 5037: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_06_GENERAL"), + 5038: .same(proto: "BADGE_GOFEST_2019_APAC_DAY_07_GENERAL"), + 5039: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_00_GENERAL"), + 5040: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_00_EARLYACCESS"), + 5041: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_01_GENERAL"), + 5042: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_01_EARLYACCESS"), + 5043: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_02_GENERAL"), + 5044: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_02_EARLYACCESS"), + 5045: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_03_GENERAL"), + 5046: .same(proto: "BADGE_SAFARIZONE_2019_MONTREAL_DAY_03_EARLYACCESS"), + 5047: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_00_GENERAL"), + 5048: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_00_EARLYACCESS"), + 5049: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_01_GENERAL"), + 5050: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_01_EARLYACCESS"), + 5051: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_02_GENERAL"), + 5052: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_02_EARLYACCESS"), + 5053: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_03_GENERAL"), + 5054: .same(proto: "BADGE_SAFARIZONE_2020_STLOUIS_DAY_03_EARLYACCESS"), + 5055: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_00_GENERAL"), + 5056: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_00_EARLYACCESS"), + 5057: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_01_GENERAL"), + 5058: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_01_EARLYACCESS"), + 5059: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_02_GENERAL"), + 5060: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_02_EARLYACCESS"), + 5061: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_03_GENERAL"), + 5062: .same(proto: "BADGE_SAFARIZONE_2020_LIVERPOOL_DAY_03_EARLYACCESS"), + 5063: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_00_GENERAL"), + 5064: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_00_EARLYACCESS"), + 5065: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_01_GENERAL"), + 5066: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_01_EARLYACCESS"), + 5067: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_02_GENERAL"), + 5068: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_02_EARLYACCESS"), + 5069: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_03_GENERAL"), + 5070: .same(proto: "BADGE_SAFARIZONE_2020_PHILADELPHIA_DAY_03_EARLYACCESS"), + 5071: .same(proto: "BADGE_GOFEST_2020_TEST"), + 5072: .same(proto: "BADGE_GOFEST_2020_GLOBAL"), + 5073: .same(proto: "BADGE_GOTOUR_2021_GREEN_TEST"), + 5074: .same(proto: "BADGE_GOTOUR_2021_RED_TEST"), + 5075: .same(proto: "BADGE_GOTOUR_2021_GREEN_GLOBAL"), + 5076: .same(proto: "BADGE_GOTOUR_2021_RED_GLOBAL"), + 5100: .same(proto: "BADGE_GLOBAL_TICKETED_EVENT"), + 5201: .same(proto: "BADGE_EVENT_0001"), + 5202: .same(proto: "BADGE_EVENT_0002"), + 5203: .same(proto: "BADGE_EVENT_0003"), + 5204: .same(proto: "BADGE_EVENT_0004"), + 5205: .same(proto: "BADGE_EVENT_0005"), + 5206: .same(proto: "BADGE_EVENT_0006"), + 5207: .same(proto: "BADGE_EVENT_0007"), + 5208: .same(proto: "BADGE_EVENT_0008"), + 5209: .same(proto: "BADGE_EVENT_0009"), + 5210: .same(proto: "BADGE_EVENT_0010"), + 5211: .same(proto: "BADGE_EVENT_0011"), + 5212: .same(proto: "BADGE_EVENT_0012"), + 5213: .same(proto: "BADGE_EVENT_0013"), + 5214: .same(proto: "BADGE_EVENT_0014"), + 5215: .same(proto: "BADGE_EVENT_0015"), + 5216: .same(proto: "BADGE_EVENT_0016"), + 5217: .same(proto: "BADGE_EVENT_0017"), + 5218: .same(proto: "BADGE_EVENT_0018"), + 5219: .same(proto: "BADGE_EVENT_0019"), + 5220: .same(proto: "BADGE_EVENT_0020"), + 5221: .same(proto: "BADGE_EVENT_0021"), + 5222: .same(proto: "BADGE_EVENT_0022"), + 5223: .same(proto: "BADGE_EVENT_0023"), + 5224: .same(proto: "BADGE_EVENT_0024"), + 5225: .same(proto: "BADGE_EVENT_0025"), + 5226: .same(proto: "BADGE_EVENT_0026"), + 5227: .same(proto: "BADGE_EVENT_0027"), + 5228: .same(proto: "BADGE_EVENT_0028"), + 5229: .same(proto: "BADGE_EVENT_0029"), + 5230: .same(proto: "BADGE_EVENT_0030"), + 5231: .same(proto: "BADGE_LEVEL_40"), + 5232: .same(proto: "BADGE_GOFEST_2021_TEST"), + 5233: .same(proto: "BADGE_GOFEST_2021_GLOBAL"), + 5234: .same(proto: "BADGE_TRADING_CARD_0001"), + 5235: .same(proto: "BADGE_TRADING_CARD_0002"), + 5236: .same(proto: "BADGE_TRADING_CARD_0003"), + 5237: .same(proto: "BADGE_TRADING_CARD_0004"), + 5238: .same(proto: "BADGE_TRADING_CARD_0005"), + 5239: .same(proto: "BADGE_TRADING_CARD_0006"), + 5240: .same(proto: "BADGE_TRADING_CARD_0007"), + 5241: .same(proto: "BADGE_TRADING_CARD_0008"), + 5242: .same(proto: "BADGE_TRADING_CARD_0009"), + 5243: .same(proto: "BADGE_TRADING_CARD_0010"), + 5244: .same(proto: "BADGE_GOFEST_2022_TEST"), + 5245: .same(proto: "BADGE_GOFEST_2022_GLOBAL"), + 5246: .same(proto: "BADGE_GOTOUR_2022_GOLD_TEST"), + 5247: .same(proto: "BADGE_GOTOUR_2022_SILVER_TEST"), + 5248: .same(proto: "BADGE_GOTOUR_2022_GOLD_GLOBAL"), + 5249: .same(proto: "BADGE_GOTOUR_2022_SILVER_GLOBAL"), + 5250: .same(proto: "BADGE_GOTOUR_2022_LIVE_A_TEST"), + 5251: .same(proto: "BADGE_GOTOUR_2022_LIVE_A_GLOBAL"), + 5252: .same(proto: "BADGE_GOTOUR_2022_LIVE_B_TEST"), + 5253: .same(proto: "BADGE_GOTOUR_2022_LIVE_B_GLOBAL"), + 5254: .same(proto: "BADGE_EVENT_0031"), + 5255: .same(proto: "BADGE_EVENT_0032"), + 5256: .same(proto: "BADGE_EVENT_0033"), + 5257: .same(proto: "BADGE_EVENT_0034"), + 5258: .same(proto: "BADGE_EVENT_0035"), + 5259: .same(proto: "BADGE_EVENT_0036"), + 5260: .same(proto: "BADGE_EVENT_0037"), + 5261: .same(proto: "BADGE_EVENT_0038"), + 5262: .same(proto: "BADGE_EVENT_0039"), + 5263: .same(proto: "BADGE_EVENT_0040"), + 5264: .same(proto: "BADGE_EVENT_0041"), + 5265: .same(proto: "BADGE_EVENT_0042"), + 5266: .same(proto: "BADGE_EVENT_0043"), + 5267: .same(proto: "BADGE_EVENT_0044"), + 5268: .same(proto: "BADGE_EVENT_0045"), + 5269: .same(proto: "BADGE_EVENT_0046"), + 5270: .same(proto: "BADGE_EVENT_0047"), + 5271: .same(proto: "BADGE_EVENT_0048"), + 5272: .same(proto: "BADGE_EVENT_0049"), + 5273: .same(proto: "BADGE_EVENT_0050"), + 5274: .same(proto: "BADGE_EVENT_0051"), + 5275: .same(proto: "BADGE_EVENT_0052"), + 5276: .same(proto: "BADGE_EVENT_0053"), + 5277: .same(proto: "BADGE_EVENT_0054"), + 5278: .same(proto: "BADGE_EVENT_0055"), + 5279: .same(proto: "BADGE_EVENT_0056"), + 5280: .same(proto: "BADGE_EVENT_0057"), + 5281: .same(proto: "BADGE_EVENT_0058"), + 5282: .same(proto: "BADGE_EVENT_0059"), + 5283: .same(proto: "BADGE_EVENT_0060"), + 5284: .same(proto: "BADGE_EVENT_0061"), + 5285: .same(proto: "BADGE_EVENT_0062"), + 5286: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_00_GENERAL"), + 5287: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_00_EARLYACCESS"), + 5288: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_01_GENERAL"), + 5289: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_01_EARLYACCESS"), + 5290: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_02_GENERAL"), + 5291: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_02_EARLYACCESS"), + 5292: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_03_GENERAL"), + 5293: .same(proto: "BADGE_SAFARIZONE_2022_SEVILLE_DAY_03_EARLYACCESS"), + 5294: .same(proto: "BADGE_AA_2023_JEJU_DAY_00"), + 5295: .same(proto: "BADGE_AA_2023_JEJU_DAY_01"), + 5296: .same(proto: "BADGE_AA_2023_JEJU_DAY_02"), + 5297: .same(proto: "BADGE_AA_2023_JEJU_DAY_03"), + 5300: .same(proto: "DEPRECATED_1"), + 5301: .same(proto: "DEPRECATED_2"), + 5302: .same(proto: "BADGE_GOFEST_2022_BERLIN_TEST_GENERAL"), + 5303: .same(proto: "BADGE_GOFEST_2022_BERLIN_TEST_EARLYACCESS"), + 5304: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_01_GENERAL"), + 5305: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_01_EARLYACCESS"), + 5306: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_02_GENERAL"), + 5307: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_02_EARLYACCESS"), + 5308: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_03_GENERAL"), + 5309: .same(proto: "BADGE_GOFEST_2022_BERLIN_DAY_03_EARLYACCESS"), + 5310: .same(proto: "BADGE_GOFEST_2022_SEATTLE_TEST_PARK_MORNING"), + 5311: .same(proto: "BADGE_GOFEST_2022_SEATTLE_TEST_PARK_AFTERNOON"), + 5312: .same(proto: "BADGE_GOFEST_2022_SEATTLE_TEST_CITY_MORNING"), + 5313: .same(proto: "BADGE_GOFEST_2022_SEATTLE_TEST_CITY_AFTERNOON"), + 5314: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_01_PARK_MORNING"), + 5315: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_01_PARK_AFTERNOON"), + 5316: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_01_CITY_MORNING"), + 5317: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_01_CITY_AFTERNOON"), + 5318: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_02_PARK_MORNING"), + 5319: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_02_PARK_AFTERNOON"), + 5320: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_02_CITY_MORNING"), + 5321: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_02_CITY_AFTERNOON"), + 5322: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_03_PARK_MORNING"), + 5323: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_03_PARK_AFTERNOON"), + 5324: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_03_CITY_MORNING"), + 5325: .same(proto: "BADGE_GOFEST_2022_SEATTLE_DAY_03_CITY_AFTERNOON"), + 5326: .same(proto: "BADGE_GOFEST_2022_SAPPORO_TEST_PARK_MORNING"), + 5327: .same(proto: "BADGE_GOFEST_2022_SAPPORO_TEST_PARK_AFTERNOON"), + 5328: .same(proto: "BADGE_GOFEST_2022_SAPPORO_TEST_CITY_MORNING"), + 5329: .same(proto: "BADGE_GOFEST_2022_SAPPORO_TEST_CITY_AFTERNOON"), + 5330: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_01_PARK_MORNING"), + 5331: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_01_PARK_AFTERNOON"), + 5332: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_01_CITY_MORNING"), + 5333: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_01_CITY_AFTERNOON"), + 5334: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_02_PARK_MORNING"), + 5335: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_02_PARK_AFTERNOON"), + 5336: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_02_CITY_MORNING"), + 5337: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_02_CITY_AFTERNOON"), + 5338: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_03_PARK_MORNING"), + 5339: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_03_PARK_AFTERNOON"), + 5340: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_03_CITY_MORNING"), + 5341: .same(proto: "BADGE_GOFEST_2022_SAPPORO_DAY_03_CITY_AFTERNOON"), + 5342: .same(proto: "BADGE_GOFEST_2022_BERLIN_ADDON_HATCH_TEST"), + 5343: .same(proto: "BADGE_GOFEST_2022_BERLIN_ADDON_HATCH"), + 5344: .same(proto: "BADGE_GOFEST_2022_BERLIN_ADDON_RAID_TEST"), + 5345: .same(proto: "BADGE_GOFEST_2022_BERLIN_ADDON_RAID"), + 5346: .same(proto: "BADGE_GOFEST_2022_SEATTLE_ADDON_HATCH_TEST"), + 5347: .same(proto: "BADGE_GOFEST_2022_SEATTLE_ADDON_HATCH"), + 5348: .same(proto: "BADGE_GOFEST_2022_SEATTLE_ADDON_RAID_TEST"), + 5349: .same(proto: "BADGE_GOFEST_2022_SEATTLE_ADDON_RAID"), + 5350: .same(proto: "BADGE_GOFEST_2022_SAPPORO_ADDON_HATCH_TEST"), + 5351: .same(proto: "BADGE_GOFEST_2022_SAPPORO_ADDON_HATCH"), + 5352: .same(proto: "BADGE_GOFEST_2022_SAPPORO_ADDON_RAID_TEST"), + 5353: .same(proto: "BADGE_GOFEST_2022_SAPPORO_ADDON_RAID"), + 5354: .same(proto: "BADGE_EVENT_0063"), + 5355: .same(proto: "BADGE_EVENT_0064"), + 5356: .same(proto: "BADGE_EVENT_0065"), + 5357: .same(proto: "BADGE_EVENT_0066"), + 5358: .same(proto: "BADGE_EVENT_0067"), + 5359: .same(proto: "BADGE_EVENT_0068"), + 5360: .same(proto: "BADGE_EVENT_0069"), + 5361: .same(proto: "BADGE_EVENT_0070"), + 5362: .same(proto: "BADGE_EVENT_0071"), + 5363: .same(proto: "BADGE_EVENT_0072"), + 5364: .same(proto: "BADGE_EVENT_0073"), + 5365: .same(proto: "BADGE_EVENT_0074"), + 5366: .same(proto: "BADGE_EVENT_0075"), + 5367: .same(proto: "BADGE_EVENT_0076"), + 5368: .same(proto: "BADGE_EVENT_0077"), + 5369: .same(proto: "BADGE_EVENT_0078"), + 5370: .same(proto: "BADGE_EVENT_0079"), + 5371: .same(proto: "BADGE_EVENT_0080"), + 5372: .same(proto: "BADGE_EVENT_0081"), + 5373: .same(proto: "BADGE_EVENT_0082"), + 5374: .same(proto: "BADGE_EVENT_0083"), + 5375: .same(proto: "BADGE_EVENT_0084"), + 5376: .same(proto: "BADGE_EVENT_0085"), + 5377: .same(proto: "BADGE_EVENT_0086"), + 5378: .same(proto: "BADGE_EVENT_0087"), + 5379: .same(proto: "BADGE_EVENT_0088"), + 5380: .same(proto: "BADGE_EVENT_0089"), + 5381: .same(proto: "BADGE_EVENT_0090"), + 5382: .same(proto: "BADGE_EVENT_0091"), + 5383: .same(proto: "BADGE_EVENT_0092"), + 5384: .same(proto: "BADGE_EVENT_0093"), + 5385: .same(proto: "BADGE_EVENT_0094"), + 5386: .same(proto: "BADGE_EVENT_0095"), + 5387: .same(proto: "BADGE_EVENT_0096"), + 5388: .same(proto: "BADGE_EVENT_0097"), + 5389: .same(proto: "BADGE_EVENT_0098"), + 5390: .same(proto: "BADGE_EVENT_0099"), + 5391: .same(proto: "BADGE_EVENT_0100"), + 5392: .same(proto: "BADGE_EVENT_0101"), + 5393: .same(proto: "BADGE_EVENT_0102"), + 5394: .same(proto: "BADGE_EVENT_0103"), + 5395: .same(proto: "BADGE_EVENT_0104"), + 5396: .same(proto: "BADGE_EVENT_0105"), + 5397: .same(proto: "BADGE_EVENT_0106"), + 5398: .same(proto: "BADGE_EVENT_0107"), + 5399: .same(proto: "BADGE_EVENT_0108"), + 5400: .same(proto: "BADGE_EVENT_0109"), + 5401: .same(proto: "BADGE_EVENT_0110"), + 5402: .same(proto: "BADGE_EVENT_0111"), + 5403: .same(proto: "BADGE_EVENT_0112"), + 5404: .same(proto: "BADGE_EVENT_0113"), + 5405: .same(proto: "BADGE_EVENT_0114"), + 5406: .same(proto: "BADGE_EVENT_0115"), + 5407: .same(proto: "BADGE_EVENT_0116"), + 5408: .same(proto: "BADGE_EVENT_0117"), + 5409: .same(proto: "BADGE_EVENT_0118"), + 5410: .same(proto: "BADGE_EVENT_0119"), + 5411: .same(proto: "BADGE_EVENT_0120"), + 5412: .same(proto: "BADGE_EVENT_0121"), + 5413: .same(proto: "BADGE_EVENT_0122"), + 5414: .same(proto: "BADGE_EVENT_0123"), + 5415: .same(proto: "BADGE_EVENT_0124"), + 5416: .same(proto: "BADGE_EVENT_0125"), + 5417: .same(proto: "BADGE_EVENT_0126"), + 5418: .same(proto: "BADGE_EVENT_0127"), + 5419: .same(proto: "BADGE_EVENT_0128"), + 5420: .same(proto: "BADGE_EVENT_0129"), + 5421: .same(proto: "BADGE_EVENT_0130"), + 5422: .same(proto: "BADGE_EVENT_0131"), + 5423: .same(proto: "BADGE_EVENT_0132"), + 5424: .same(proto: "BADGE_EVENT_0133"), + 5425: .same(proto: "BADGE_EVENT_0134"), + 5426: .same(proto: "BADGE_EVENT_0135"), + 5427: .same(proto: "BADGE_EVENT_0136"), + 5428: .same(proto: "BADGE_EVENT_0137"), + 5429: .same(proto: "BADGE_EVENT_0138"), + 5430: .same(proto: "BADGE_EVENT_0139"), + 5431: .same(proto: "BADGE_EVENT_0140"), + 5432: .same(proto: "BADGE_EVENT_0141"), + 5433: .same(proto: "BADGE_EVENT_0142"), + 5434: .same(proto: "BADGE_EVENT_0143"), + 5435: .same(proto: "BADGE_EVENT_0144"), + 5436: .same(proto: "BADGE_EVENT_0145"), + 5437: .same(proto: "BADGE_EVENT_0146"), + 5438: .same(proto: "BADGE_EVENT_0147"), + 5439: .same(proto: "BADGE_EVENT_0148"), + 5440: .same(proto: "BADGE_EVENT_0149"), + 5441: .same(proto: "BADGE_EVENT_0150"), + 5442: .same(proto: "BADGE_EVENT_0151"), + 5443: .same(proto: "BADGE_EVENT_0152"), + 5444: .same(proto: "BADGE_EVENT_0153"), + 5445: .same(proto: "BADGE_EVENT_0154"), + 5446: .same(proto: "BADGE_EVENT_0155"), + 5447: .same(proto: "BADGE_EVENT_0156"), + 5448: .same(proto: "BADGE_EVENT_0157"), + 5449: .same(proto: "BADGE_EVENT_0158"), + 5450: .same(proto: "BADGE_EVENT_0159"), + 5451: .same(proto: "BADGE_EVENT_0160"), + 5452: .same(proto: "BADGE_EVENT_0161"), + 5453: .same(proto: "BADGE_EVENT_0162"), + 5454: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_00_EARLYACCESS"), + 5455: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_00_GENERAL"), + 5456: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_01_EARLYACCESS"), + 5457: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_01_GENERAL"), + 5458: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_02_EARLYACCESS"), + 5459: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_02_GENERAL"), + 5460: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_03_EARLYACCESS"), + 5461: .same(proto: "BADGE_SAFARIZONE_2022_TAIPEI_DAY_03_GENERAL"), + 5462: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_00_EARLYACCESS_TEST"), + 5463: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_00_GENERAL_TEST"), + 5464: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_01_EARLYACCESS_TEST"), + 5465: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_01_GENERAL_TEST"), + 5466: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_02_EARLYACCESS_TEST"), + 5467: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_02_GENERAL_TEST"), + 5468: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_03_EARLYACCESS_TEST"), + 5469: .same(proto: "BADGE_SAFARIZONE_2022_SINGAPORE_DAY_03_GENERAL_TEST"), + 5470: .same(proto: "BADGE_GOTOUR_2023_RUBY_TEST"), + 5471: .same(proto: "BADGE_GOTOUR_2023_SAPPHIRE_TEST"), + 5472: .same(proto: "BADGE_GOTOUR_2023_RUBY_GLOBAL"), + 5473: .same(proto: "BADGE_GOTOUR_2023_SAPPHIRE_GLOBAL"), + 5474: .same(proto: "BADGE_GOTOUR_LIVE_2023_DAY_00"), + 5475: .same(proto: "BADGE_GOTOUR_LIVE_2023_DAY_01"), + 5476: .same(proto: "BADGE_GOTOUR_LIVE_2023_DAY_02"), + 5477: .same(proto: "BADGE_GOTOUR_2023_HATCH_ADDON_TEST"), + 5478: .same(proto: "BADGE_GOTOUR_2023_RAID_ADDON_TEST"), + 5479: .same(proto: "BADGE_GOTOUR_2023_HATCH_ADDON"), + 5480: .same(proto: "BADGE_GOTOUR_2023_RAID_ADDON"), + 5481: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY1_CITY"), + 5482: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY2_CITY"), + 5483: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY3_CITY"), + 5484: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY1_EXTENDED"), + 5485: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY2_EXTENDED"), + 5486: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY3_EXTENDED"), + 5487: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY1_PARK_MORNING"), + 5488: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY2_PARK_MORNING"), + 5489: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY3_PARK_MORNING"), + 5490: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY1_PARK_AFTERNOON"), + 5491: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY2_PARK_AFTERNOON"), + 5492: .same(proto: "BADGE_GOFEST_2023_OSAKA_DAY3_PARK_AFTERNOON"), + 5493: .same(proto: "BADGE_GOFEST_2023_OSAKA_ADDON_HATCH"), + 5494: .same(proto: "BADGE_GOFEST_2023_OSAKA_ADDON_RAID"), + 5495: .same(proto: "BADGE_GOFEST_2023_OSAKA_VIP"), + 5496: .same(proto: "BADGE_GOFEST_2023_OSAKA_ADDON_HATCH_TEST"), + 5497: .same(proto: "BADGE_GOFEST_2023_OSAKA_ADDON_RAID_TEST"), + 5498: .same(proto: "BADGE_GOFEST_2023_OSAKA_PARK_TEST"), + 5499: .same(proto: "BADGE_GOFEST_2023_OSAKA_PARK_2_TEST"), + 5500: .same(proto: "BADGE_GOFEST_2023_OSAKA_CITY_TEST"), + 5501: .same(proto: "BADGE_GOFEST_2023_OSAKA_CITY_2_TEST"), + 5502: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY1_CITY"), + 5503: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY2_CITY"), + 5504: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY3_CITY"), + 5505: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY1_EXTENDED"), + 5506: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY2_EXTENDED"), + 5507: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY3_EXTENDED"), + 5508: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY1_PARK_MORNING"), + 5509: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY2_PARK_MORNING"), + 5510: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY3_PARK_MORNING"), + 5511: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY1_PARK_AFTERNOON"), + 5512: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY2_PARK_AFTERNOON"), + 5513: .same(proto: "BADGE_GOFEST_2023_LONDON_DAY3_PARK_AFTERNOON"), + 5514: .same(proto: "BADGE_GOFEST_2023_LONDON_ADDON_HATCH"), + 5515: .same(proto: "BADGE_GOFEST_2023_LONDON_ADDON_RAID"), + 5516: .same(proto: "BADGE_GOFEST_2023_LONDON_VIP"), + 5517: .same(proto: "BADGE_GOFEST_2023_LONDON_ADDON_HATCH_TEST"), + 5518: .same(proto: "BADGE_GOFEST_2023_LONDON_ADDON_RAID_TEST"), + 5519: .same(proto: "BADGE_GOFEST_2023_LONDON_PARK_TEST"), + 5520: .same(proto: "BADGE_GOFEST_2023_LONDON_PARK_2_TEST"), + 5521: .same(proto: "BADGE_GOFEST_2023_LONDON_CITY_TEST"), + 5522: .same(proto: "BADGE_GOFEST_2023_LONDON_CITY_2_TEST"), + 5523: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY1_CITY"), + 5524: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY2_CITY"), + 5525: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY3_CITY"), + 5526: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY1_EXTENDED"), + 5527: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY2_EXTENDED"), + 5528: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY3_EXTENDED"), + 5529: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY1_PARK_MORNING"), + 5530: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY2_PARK_MORNING"), + 5531: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY3_PARK_MORNING"), + 5532: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY1_PARK_AFTERNOON"), + 5533: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY2_PARK_AFTERNOON"), + 5534: .same(proto: "BADGE_GOFEST_2023_NEWYORK_DAY3_PARK_AFTERNOON"), + 5535: .same(proto: "BADGE_GOFEST_2023_NEWYORK_ADDON_HATCH"), + 5536: .same(proto: "BADGE_GOFEST_2023_NEWYORK_ADDON_RAID"), + 5537: .same(proto: "BADGE_GOFEST_2023_NEWYORK_VIP"), + 5538: .same(proto: "BADGE_GOFEST_2023_NEWYORK_ADDON_HATCH_TEST"), + 5539: .same(proto: "BADGE_GOFEST_2023_NEWYORK_ADDON_RAID_TEST"), + 5540: .same(proto: "BADGE_GOFEST_2023_NEWYORK_PARK_TEST"), + 5541: .same(proto: "BADGE_GOFEST_2023_NEWYORK_PARK_2_TEST"), + 5542: .same(proto: "BADGE_GOFEST_2023_NEWYORK_CITY_TEST"), + 5543: .same(proto: "BADGE_GOFEST_2023_NEWYORK_CITY_2_TEST"), + 5544: .same(proto: "BADGE_GOFEST_2023_GLOBAL"), + 5545: .same(proto: "BADGE_GOFEST_2023_TEST"), + 5546: .same(proto: "BADGE_SAFARI_2023_SEOUL_DAY_00"), + 5547: .same(proto: "BADGE_SAFARI_2023_SEOUL_DAY_01"), + 5548: .same(proto: "BADGE_SAFARI_2023_SEOUL_DAY_02"), + 5549: .same(proto: "BADGE_SAFARI_2023_SEOUL_ADD_ON_HATCH"), + 5550: .same(proto: "BADGE_SAFARI_2023_SEOUL_ADD_ON_RAID"), + 5551: .same(proto: "BADGE_SAFARI_2023_BARCELONA_DAY_00"), + 5552: .same(proto: "BADGE_SAFARI_2023_BARCELONA_DAY_01"), + 5553: .same(proto: "BADGE_SAFARI_2023_BARCELONA_DAY_02"), + 5554: .same(proto: "BADGE_SAFARI_2023_BARCELONA_ADD_ON_HATCH"), + 5555: .same(proto: "BADGE_SAFARI_2023_BARCELONA_ADD_ON_RAID"), + 5556: .same(proto: "BADGE_SAFARI_2023_MEXCITY_DAY_00"), + 5557: .same(proto: "BADGE_SAFARI_2023_MEXCITY_DAY_01"), + 5558: .same(proto: "BADGE_SAFARI_2023_MEXCITY_DAY_02"), + 5559: .same(proto: "BADGE_SAFARI_2023_MEXCITY_ADD_ON_HATCH"), + 5560: .same(proto: "BADGE_SAFARI_2023_MEXCITY_ADD_ON_RAID"), + 5561: .same(proto: "BADGE_GOTOUR_2024_DIAMOND_TEST"), + 5562: .same(proto: "BADGE_GOTOUR_2024_PEARL_TEST"), + 5563: .same(proto: "BADGE_GOTOUR_2024_DIAMOND"), + 5564: .same(proto: "BADGE_GOTOUR_2024_PEARL"), + 5565: .same(proto: "BADGE_GOTOUR_2024_SECRET_00"), + 5566: .same(proto: "BADGE_GOTOUR_2024_SECRET_01"), + 5567: .same(proto: "BADGE_GOTOUR_2024_SECRET_02"), + 5568: .same(proto: "BADGE_GOTOUR_2024_SECRET_03"), + 5569: .same(proto: "BADGE_GOTOUR_LIVE_2024_TEST_PARK"), + 5570: .same(proto: "BADGE_GOTOUR_LIVE_2024_TEST_CITY"), + 5571: .same(proto: "BADGE_GOTOUR_LIVE_2024_DAY_PREVIEW"), + 5572: .same(proto: "BADGE_GOTOUR_LIVE_2024_DAY_01_PARK"), + 5573: .same(proto: "BADGE_GOTOUR_LIVE_2024_DAY_01_CITY"), + 5574: .same(proto: "BADGE_GOTOUR_LIVE_2024_DAY_02_PARK"), + 5575: .same(proto: "BADGE_GOTOUR_LIVE_2024_DAY_02_CITY"), + 5576: .same(proto: "BADGE_GOTOUR_LIVE_2024_TEST_ADDON_HATCH"), + 5577: .same(proto: "BADGE_GOTOUR_LIVE_2024_TEST_ADDON_RAID"), + 5578: .same(proto: "BADGE_GOTOUR_LIVE_2024_ADDON_HATCH"), + 5579: .same(proto: "BADGE_GOTOUR_LIVE_2024_ADDON_RAID"), + 5580: .same(proto: "BADGE_GOTOUR_LIVE_2024_VIP"), + 5581: .same(proto: "BADGE_SAFARI_2024_TAINAN_DAY_00"), + 5582: .same(proto: "BADGE_SAFARI_2024_TAINAN_DAY_01"), + 5583: .same(proto: "BADGE_SAFARI_2024_TAINAN_DAY_02"), + 5584: .same(proto: "BADGE_SAFARI_2024_TAINAN_ADD_ON_HATCH_TEST"), + 5585: .same(proto: "BADGE_SAFARI_2024_TAINAN_ADD_ON_RAID_TEST"), + 5586: .same(proto: "BADGE_SAFARI_2024_TAINAN_ADD_ON_HATCH"), + 5587: .same(proto: "BADGE_SAFARI_2024_TAINAN_ADD_ON_RAID"), + 5588: .same(proto: "BADGE_AA_2024_BALI_DAY_00"), + 5589: .same(proto: "BADGE_AA_2024_BALI_DAY_01"), + 5590: .same(proto: "BADGE_AA_2024_BALI_DAY_02"), + 5591: .same(proto: "BADGE_AA_2024_BALI_DAY_03"), ] } -extension AbilityEnergyMetadata.ChargeMultiplier: SwiftProtobuf._ProtoNameProviding { +extension HoloIapItemCategory: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_MULTIPLIER"), - 1: .same(proto: "PARTY_SIZE"), + 0: .same(proto: "IAP_CATEGORY_NONE"), + 1: .same(proto: "IAP_CATEGORY_BUNDLE"), + 2: .same(proto: "IAP_CATEGORY_ITEMS"), + 3: .same(proto: "IAP_CATEGORY_UPGRADES"), + 4: .same(proto: "IAP_CATEGORY_POKECOINS"), + 5: .same(proto: "IAP_CATEGORY_AVATAR"), + 6: .same(proto: "IAP_CATEGORY_AVATAR_STORE_LINK"), + 7: .same(proto: "IAP_CATEGORY_TEAM_CHANGE"), + 10: .same(proto: "IAP_CATEGORY_GLOBAL_EVENT_TICKET"), + 11: .same(proto: "IAP_CATEGORY_VS_SEEKER"), + 12: .same(proto: "IAP_CATEGORY_STICKER"), + 13: .same(proto: "IAP_CATEGORY_FREE"), + 14: .same(proto: "IAP_CATEGORY_SUBSCRIPTION"), + 15: .same(proto: "IAP_CATEGORY_TRANSPORTER_ENERGY"), + 16: .same(proto: "IAP_CATEGORY_POSTCARD"), ] } -extension AbilityEnergyMetadata.ChargeRateSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AbilityEnergyMetadata.protoMessageName + ".ChargeRateSetting" +extension HoloItemCategory: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "multiplier"), - 2: .same(proto: "rate"), + 0: .same(proto: "ITEM_CATEGORY_NONE"), + 1: .same(proto: "ITEM_CATEGORY_POKEBALL"), + 2: .same(proto: "ITEM_CATEGORY_FOOD"), + 3: .same(proto: "ITEM_CATEGORY_MEDICINE"), + 4: .same(proto: "ITEM_CATEGORY_BOOST"), + 5: .same(proto: "ITEM_CATEGORY_UTILITES"), + 6: .same(proto: "ITEM_CATEGORY_CAMERA"), + 7: .same(proto: "ITEM_CATEGORY_DISK"), + 8: .same(proto: "ITEM_CATEGORY_INCUBATOR"), + 9: .same(proto: "ITEM_CATEGORY_INCENSE"), + 10: .same(proto: "ITEM_CATEGORY_XP_BOOST"), + 11: .same(proto: "ITEM_CATEGORY_INVENTORY_UPGRADE"), + 12: .same(proto: "ITEM_CATEGORY_EVOLUTION_REQUIREMENT"), + 13: .same(proto: "ITEM_CATEGORY_MOVE_REROLL"), + 14: .same(proto: "ITEM_CATEGORY_CANDY"), + 15: .same(proto: "ITEM_CATEGORY_RAID_TICKET"), + 16: .same(proto: "ITEM_CATEGORY_STARDUST_BOOST"), + 17: .same(proto: "ITEM_CATEGORY_FRIEND_GIFT_BOX"), + 18: .same(proto: "ITEM_CATEGORY_TEAM_CHANGE"), + 20: .same(proto: "ITEM_CATEGORY_VS_SEEKER"), + 21: .same(proto: "ITEM_CATEGORY_INCIDENT_TICKET"), + 22: .same(proto: "ITEM_CATEGORY_GLOBAL_EVENT_TICKET"), + 23: .same(proto: "ITEM_CATEGORY_BUDDY_EXCLUSIVE_FOOD"), + 24: .same(proto: "ITEM_CATEGORY_STICKER"), + 25: .same(proto: "ITEM_CATEGORY_POSTCARD_INVENTORY"), + 26: .same(proto: "ITEM_CATEGORY_EVENT_TICKET_GIFT"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.multiplier) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.rate) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.multiplier != .unsetMultiplier { - try visitor.visitSingularEnumField(value: self.multiplier, fieldNumber: 1) - } - if self.rate != 0 { - try visitor.visitSingularInt32Field(value: self.rate, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AbilityEnergyMetadata.ChargeRateSetting, rhs: AbilityEnergyMetadata.ChargeRateSetting) -> Bool { - if lhs.multiplier != rhs.multiplier {return false} - if lhs.rate != rhs.rate {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AbilityLookupMap: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AbilityLookupMap" +extension HoloItemEffect: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "lookup_location"), - 2: .standard(proto: "stat_modifier_type"), + 0: .same(proto: "ITEM_EFFECT_NONE"), + 1000: .same(proto: "ITEM_EFFECT_CAP_NO_FLEE"), + 1002: .same(proto: "ITEM_EFFECT_CAP_NO_MOVEMENT"), + 1003: .same(proto: "ITEM_EFFECT_CAP_NO_THREAT"), + 1004: .same(proto: "ITEM_EFFECT_CAP_TARGET_MAX"), + 1005: .same(proto: "ITEM_EFFECT_CAP_TARGET_SLOW"), + 1006: .same(proto: "ITEM_EFFECT_CAP_CHANCE_NIGHT"), + 1007: .same(proto: "ITEM_EFFECT_CAP_CHANCE_TRAINER"), + 1008: .same(proto: "ITEM_EFFECT_CAP_CHANCE_FIRST_THROW"), + 1009: .same(proto: "ITEM_EFFECT_CAP_CHANCE_LEGEND"), + 1010: .same(proto: "ITEM_EFFECT_CAP_CHANCE_HEAVY"), + 1011: .same(proto: "ITEM_EFFECT_CAP_CHANCE_REPEAT"), + 1012: .same(proto: "ITEM_EFFECT_CAP_CHANCE_MULTI_THROW"), + 1013: .same(proto: "ITEM_EFFECT_CAP_CHANCE_ALWAYS"), + 1014: .same(proto: "ITEM_EFFECT_CAP_CHANCE_SINGLE_THROW"), + 1015: .same(proto: "ITEM_EFFECT_CANDY_AWARD"), + 1016: .same(proto: "ITEM_EFFECT_FULL_MOTIVATION"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.lookupLocation) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.statModifierType) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.lookupLocation != .unsetAbilityLocation { - try visitor.visitSingularEnumField(value: self.lookupLocation, fieldNumber: 1) - } - if self.statModifierType != .unsetStatModifierType { - try visitor.visitSingularEnumField(value: self.statModifierType, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AbilityLookupMap, rhs: AbilityLookupMap) -> Bool { - if lhs.lookupLocation != rhs.lookupLocation {return false} - if lhs.statModifierType != rhs.statModifierType {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AbilityLookupMap.AbilityLookupLocation: SwiftProtobuf._ProtoNameProviding { +extension HoloItemType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_ABILITY_LOCATION"), - 1: .same(proto: "TRAINER_ACTIVE_POKEMON_STAT_MODIFIERS"), + 0: .same(proto: "ITEM_TYPE_NONE"), + 1: .same(proto: "ITEM_TYPE_POKEBALL"), + 2: .same(proto: "ITEM_TYPE_POTION"), + 3: .same(proto: "ITEM_TYPE_REVIVE"), + 4: .same(proto: "ITEM_TYPE_MAP"), + 5: .same(proto: "ITEM_TYPE_BATTLE"), + 6: .same(proto: "ITEM_TYPE_FOOD"), + 7: .same(proto: "ITEM_TYPE_CAMERA"), + 8: .same(proto: "ITEM_TYPE_DISK"), + 9: .same(proto: "ITEM_TYPE_INCUBATOR"), + 10: .same(proto: "ITEM_TYPE_INCENSE"), + 11: .same(proto: "ITEM_TYPE_XP_BOOST"), + 12: .same(proto: "ITEM_TYPE_INVENTORY_UPGRADE"), + 13: .same(proto: "ITEM_TYPE_EVOLUTION_REQUIREMENT"), + 14: .same(proto: "ITEM_TYPE_MOVE_REROLL"), + 15: .same(proto: "ITEM_TYPE_CANDY"), + 16: .same(proto: "ITEM_TYPE_RAID_TICKET"), + 17: .same(proto: "ITEM_TYPE_STARDUST_BOOST"), + 18: .same(proto: "ITEM_TYPE_FRIEND_GIFT_BOX"), + 19: .same(proto: "ITEM_TYPE_TEAM_CHANGE"), + 21: .same(proto: "ITEM_TYPE_VS_SEEKER_BATTLE_NOW"), + 22: .same(proto: "ITEM_TYPE_INCIDENT_TICKET"), + 23: .same(proto: "ITEM_TYPE_GLOBAL_EVENT_TICKET"), + 24: .same(proto: "ITEM_TYPE_STICKER_INVENTORY"), + 25: .same(proto: "ITEM_TYPE_POSTCARD_INVENTORY"), + 26: .same(proto: "ITEM_TYPE_EVENT_TICKET_GIFT"), + 27: .same(proto: "ITEM_TYPE_BREAKFAST"), ] } -extension AcceptCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcceptCombatChallengeDataProto" +extension HoloPokemonClass: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_list_int32"), + 0: .same(proto: "POKEMON_CLASS_NORMAL"), + 1: .same(proto: "POKEMON_CLASS_LEGENDARY"), + 2: .same(proto: "POKEMON_CLASS_MYTHIC"), + 3: .same(proto: "POKEMON_CLASS_ULTRA_BEAST"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.obListInt32) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if !self.obListInt32.isEmpty { - try visitor.visitPackedInt32Field(value: self.obListInt32, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcceptCombatChallengeDataProto, rhs: AcceptCombatChallengeDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obListInt32 != rhs.obListInt32 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AcceptCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcceptCombatChallengeOutProto" +extension HoloPokemonEggType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "challenge"), + 0: .same(proto: "EGG_TYPE_UNSET"), + 1: .same(proto: "EGG_TYPE_SHADOW"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._challenge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcceptCombatChallengeOutProto, rhs: AcceptCombatChallengeOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._challenge != rhs._challenge {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AcceptCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension HoloPokemonFamilyId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), - 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), - 4: .same(proto: "ERROR_POKEMON_NOT_IN_INVENTORY"), - 5: .same(proto: "ERROR_NOT_ELIGIBLE_LEAGUE"), - 6: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), - 7: .same(proto: "ERROR_OPPONENT_NOT_IN_RANGE"), - 8: .same(proto: "ERROR_ALREADY_TIMEDOUT"), - 9: .same(proto: "ERROR_ALREADY_CANCELLED"), - 10: .same(proto: "ERROR_ACCESS_DENIED"), + 0: .same(proto: "FAMILY_UNSET"), + 1: .same(proto: "FAMILY_BULBASAUR"), + 4: .same(proto: "FAMILY_CHARMANDER"), + 7: .same(proto: "FAMILY_SQUIRTLE"), + 10: .same(proto: "FAMILY_CATERPIE"), + 13: .same(proto: "FAMILY_WEEDLE"), + 16: .same(proto: "FAMILY_PIDGEY"), + 19: .same(proto: "FAMILY_RATTATA"), + 21: .same(proto: "FAMILY_SPEAROW"), + 23: .same(proto: "FAMILY_EKANS"), + 25: .same(proto: "FAMILY_PIKACHU"), + 27: .same(proto: "FAMILY_SANDSHREW"), + 29: .same(proto: "FAMILY_NIDORAN_FEMALE"), + 32: .same(proto: "FAMILY_NIDORAN_MALE"), + 35: .same(proto: "FAMILY_CLEFAIRY"), + 37: .same(proto: "FAMILY_VULPIX"), + 39: .same(proto: "FAMILY_JIGGLYPUFF"), + 41: .same(proto: "FAMILY_ZUBAT"), + 43: .same(proto: "FAMILY_ODDISH"), + 46: .same(proto: "FAMILY_PARAS"), + 48: .same(proto: "FAMILY_VENONAT"), + 50: .same(proto: "FAMILY_DIGLETT"), + 52: .same(proto: "FAMILY_MEOWTH"), + 54: .same(proto: "FAMILY_PSYDUCK"), + 56: .same(proto: "FAMILY_MANKEY"), + 58: .same(proto: "FAMILY_GROWLITHE"), + 60: .same(proto: "FAMILY_POLIWAG"), + 63: .same(proto: "FAMILY_ABRA"), + 66: .same(proto: "FAMILY_MACHOP"), + 69: .same(proto: "FAMILY_BELLSPROUT"), + 72: .same(proto: "FAMILY_TENTACOOL"), + 74: .same(proto: "FAMILY_GEODUDE"), + 77: .same(proto: "FAMILY_PONYTA"), + 79: .same(proto: "FAMILY_SLOWPOKE"), + 81: .same(proto: "FAMILY_MAGNEMITE"), + 83: .same(proto: "FAMILY_FARFETCHD"), + 84: .same(proto: "FAMILY_DODUO"), + 86: .same(proto: "FAMILY_SEEL"), + 88: .same(proto: "FAMILY_GRIMER"), + 90: .same(proto: "FAMILY_SHELLDER"), + 92: .same(proto: "FAMILY_GASTLY"), + 95: .same(proto: "FAMILY_ONIX"), + 96: .same(proto: "FAMILY_DROWZEE"), + 98: .same(proto: "FAMILY_KRABBY"), + 100: .same(proto: "FAMILY_VOLTORB"), + 102: .same(proto: "FAMILY_EXEGGCUTE"), + 104: .same(proto: "FAMILY_CUBONE"), + 106: .same(proto: "FAMILY_HITMONLEE"), + 107: .same(proto: "FAMILY_HITMONCHAN"), + 108: .same(proto: "FAMILY_LICKITUNG"), + 109: .same(proto: "FAMILY_KOFFING"), + 111: .same(proto: "FAMILY_RHYHORN"), + 113: .same(proto: "FAMILY_CHANSEY"), + 114: .same(proto: "FAMILY_TANGELA"), + 115: .same(proto: "FAMILY_KANGASKHAN"), + 116: .same(proto: "FAMILY_HORSEA"), + 118: .same(proto: "FAMILY_GOLDEEN"), + 120: .same(proto: "FAMILY_STARYU"), + 122: .same(proto: "FAMILY_MR_MIME"), + 123: .same(proto: "FAMILY_SCYTHER"), + 124: .same(proto: "FAMILY_JYNX"), + 125: .same(proto: "FAMILY_ELECTABUZZ"), + 126: .same(proto: "FAMILY_MAGMAR"), + 127: .same(proto: "FAMILY_PINSIR"), + 128: .same(proto: "FAMILY_TAUROS"), + 129: .same(proto: "FAMILY_MAGIKARP"), + 131: .same(proto: "FAMILY_LAPRAS"), + 132: .same(proto: "FAMILY_DITTO"), + 133: .same(proto: "FAMILY_EEVEE"), + 137: .same(proto: "FAMILY_PORYGON"), + 138: .same(proto: "FAMILY_OMANYTE"), + 140: .same(proto: "FAMILY_KABUTO"), + 142: .same(proto: "FAMILY_AERODACTYL"), + 143: .same(proto: "FAMILY_SNORLAX"), + 144: .same(proto: "FAMILY_ARTICUNO"), + 145: .same(proto: "FAMILY_ZAPDOS"), + 146: .same(proto: "FAMILY_MOLTRES"), + 147: .same(proto: "FAMILY_DRATINI"), + 150: .same(proto: "FAMILY_MEWTWO"), + 151: .same(proto: "FAMILY_MEW"), + 152: .same(proto: "FAMILY_CHIKORITA"), + 155: .same(proto: "FAMILY_CYNDAQUIL"), + 158: .same(proto: "FAMILY_TOTODILE"), + 161: .same(proto: "FAMILY_SENTRET"), + 163: .same(proto: "FAMILY_HOOTHOOT"), + 165: .same(proto: "FAMILY_LEDYBA"), + 167: .same(proto: "FAMILY_SPINARAK"), + 170: .same(proto: "FAMILY_CHINCHOU"), + 175: .same(proto: "FAMILY_TOGEPI"), + 177: .same(proto: "FAMILY_NATU"), + 179: .same(proto: "FAMILY_MAREEP"), + 183: .same(proto: "FAMILY_MARILL"), + 185: .same(proto: "FAMILY_SUDOWOODO"), + 187: .same(proto: "FAMILY_HOPPIP"), + 190: .same(proto: "FAMILY_AIPOM"), + 191: .same(proto: "FAMILY_SUNKERN"), + 193: .same(proto: "FAMILY_YANMA"), + 194: .same(proto: "FAMILY_WOOPER"), + 198: .same(proto: "FAMILY_MURKROW"), + 200: .same(proto: "FAMILY_MISDREAVUS"), + 201: .same(proto: "FAMILY_UNOWN"), + 202: .same(proto: "FAMILY_WOBBUFFET"), + 203: .same(proto: "FAMILY_GIRAFARIG"), + 204: .same(proto: "FAMILY_PINECO"), + 206: .same(proto: "FAMILY_DUNSPARCE"), + 207: .same(proto: "FAMILY_GLIGAR"), + 209: .same(proto: "FAMILY_SNUBBULL"), + 211: .same(proto: "FAMILY_QWILFISH"), + 213: .same(proto: "FAMILY_SHUCKLE"), + 214: .same(proto: "FAMILY_HERACROSS"), + 215: .same(proto: "FAMILY_SNEASEL"), + 216: .same(proto: "FAMILY_TEDDIURSA"), + 218: .same(proto: "FAMILY_SLUGMA"), + 220: .same(proto: "FAMILY_SWINUB"), + 222: .same(proto: "FAMILY_CORSOLA"), + 223: .same(proto: "FAMILY_REMORAID"), + 225: .same(proto: "FAMILY_DELIBIRD"), + 226: .same(proto: "FAMILY_MANTINE"), + 227: .same(proto: "FAMILY_SKARMORY"), + 228: .same(proto: "FAMILY_HOUNDOUR"), + 231: .same(proto: "FAMILY_PHANPY"), + 234: .same(proto: "FAMILY_STANTLER"), + 235: .same(proto: "FAMILY_SMEARGLE"), + 236: .same(proto: "FAMILY_TYROGUE"), + 241: .same(proto: "FAMILY_MILTANK"), + 243: .same(proto: "FAMILY_RAIKOU"), + 244: .same(proto: "FAMILY_ENTEI"), + 245: .same(proto: "FAMILY_SUICUNE"), + 246: .same(proto: "FAMILY_LARVITAR"), + 249: .same(proto: "FAMILY_LUGIA"), + 250: .same(proto: "FAMILY_HO_OH"), + 251: .same(proto: "FAMILY_CELEBI"), + 252: .same(proto: "FAMILY_TREECKO"), + 255: .same(proto: "FAMILY_TORCHIC"), + 258: .same(proto: "FAMILY_MUDKIP"), + 261: .same(proto: "FAMILY_POOCHYENA"), + 263: .same(proto: "FAMILY_ZIGZAGOON"), + 265: .same(proto: "FAMILY_WURMPLE"), + 270: .same(proto: "FAMILY_LOTAD"), + 273: .same(proto: "FAMILY_SEEDOT"), + 276: .same(proto: "FAMILY_TAILLOW"), + 278: .same(proto: "FAMILY_WINGULL"), + 280: .same(proto: "FAMILY_RALTS"), + 283: .same(proto: "FAMILY_SURSKIT"), + 285: .same(proto: "FAMILY_SHROOMISH"), + 287: .same(proto: "FAMILY_SLAKOTH"), + 290: .same(proto: "FAMILY_NINCADA"), + 293: .same(proto: "FAMILY_WHISMUR"), + 296: .same(proto: "FAMILY_MAKUHITA"), + 299: .same(proto: "FAMILY_NOSEPASS"), + 300: .same(proto: "FAMILY_SKITTY"), + 302: .same(proto: "FAMILY_SABLEYE"), + 303: .same(proto: "FAMILY_MAWILE"), + 304: .same(proto: "FAMILY_ARON"), + 307: .same(proto: "FAMILY_MEDITITE"), + 309: .same(proto: "FAMILY_ELECTRIKE"), + 311: .same(proto: "FAMILY_PLUSLE"), + 312: .same(proto: "FAMILY_MINUN"), + 313: .same(proto: "FAMILY_VOLBEAT"), + 314: .same(proto: "FAMILY_ILLUMISE"), + 315: .same(proto: "FAMILY_ROSELIA"), + 316: .same(proto: "FAMILY_GULPIN"), + 318: .same(proto: "FAMILY_CARVANHA"), + 320: .same(proto: "FAMILY_WAILMER"), + 322: .same(proto: "FAMILY_NUMEL"), + 324: .same(proto: "FAMILY_TORKOAL"), + 325: .same(proto: "FAMILY_SPOINK"), + 327: .same(proto: "FAMILY_SPINDA"), + 328: .same(proto: "FAMILY_TRAPINCH"), + 331: .same(proto: "FAMILY_CACNEA"), + 333: .same(proto: "FAMILY_SWABLU"), + 335: .same(proto: "FAMILY_ZANGOOSE"), + 336: .same(proto: "FAMILY_SEVIPER"), + 337: .same(proto: "FAMILY_LUNATONE"), + 338: .same(proto: "FAMILY_SOLROCK"), + 339: .same(proto: "FAMILY_BARBOACH"), + 341: .same(proto: "FAMILY_CORPHISH"), + 343: .same(proto: "FAMILY_BALTOY"), + 345: .same(proto: "FAMILY_LILEEP"), + 347: .same(proto: "FAMILY_ANORITH"), + 349: .same(proto: "FAMILY_FEEBAS"), + 351: .same(proto: "FAMILY_CASTFORM"), + 352: .same(proto: "FAMILY_KECLEON"), + 353: .same(proto: "FAMILY_SHUPPET"), + 355: .same(proto: "FAMILY_DUSKULL"), + 357: .same(proto: "FAMILY_TROPIUS"), + 358: .same(proto: "FAMILY_CHIMECHO"), + 359: .same(proto: "FAMILY_ABSOL"), + 361: .same(proto: "FAMILY_SNORUNT"), + 363: .same(proto: "FAMILY_SPHEAL"), + 366: .same(proto: "FAMILY_CLAMPERL"), + 369: .same(proto: "FAMILY_RELICANTH"), + 370: .same(proto: "FAMILY_LUVDISC"), + 371: .same(proto: "FAMILY_BAGON"), + 374: .same(proto: "FAMILY_BELDUM"), + 377: .same(proto: "FAMILY_REGIROCK"), + 378: .same(proto: "FAMILY_REGICE"), + 379: .same(proto: "FAMILY_REGISTEEL"), + 380: .same(proto: "FAMILY_LATIAS"), + 381: .same(proto: "FAMILY_LATIOS"), + 382: .same(proto: "FAMILY_KYOGRE"), + 383: .same(proto: "FAMILY_GROUDON"), + 384: .same(proto: "FAMILY_RAYQUAZA"), + 385: .same(proto: "FAMILY_JIRACHI"), + 386: .same(proto: "FAMILY_DEOXYS"), + 387: .same(proto: "FAMILY_TURTWIG"), + 390: .same(proto: "FAMILY_CHIMCHAR"), + 393: .same(proto: "FAMILY_PIPLUP"), + 396: .same(proto: "FAMILY_STARLY"), + 399: .same(proto: "FAMILY_BIDOOF"), + 401: .same(proto: "FAMILY_KRICKETOT"), + 403: .same(proto: "FAMILY_SHINX"), + 408: .same(proto: "FAMILY_CRANIDOS"), + 410: .same(proto: "FAMILY_SHIELDON"), + 412: .same(proto: "FAMILY_BURMY"), + 415: .same(proto: "FAMILY_COMBEE"), + 417: .same(proto: "FAMILY_PACHIRISU"), + 418: .same(proto: "FAMILY_BUIZEL"), + 420: .same(proto: "FAMILY_CHERUBI"), + 422: .same(proto: "FAMILY_SHELLOS"), + 425: .same(proto: "FAMILY_DRIFLOON"), + 427: .same(proto: "FAMILY_BUNEARY"), + 431: .same(proto: "FAMILY_GLAMEOW"), + 434: .same(proto: "FAMILY_STUNKY"), + 436: .same(proto: "FAMILY_BRONZOR"), + 441: .same(proto: "FAMILY_CHATOT"), + 442: .same(proto: "FAMILY_SPIRITOMB"), + 443: .same(proto: "FAMILY_GIBLE"), + 448: .same(proto: "FAMILY_LUCARIO"), + 449: .same(proto: "FAMILY_HIPPOPOTAS"), + 451: .same(proto: "FAMILY_SKORUPI"), + 453: .same(proto: "FAMILY_CROAGUNK"), + 455: .same(proto: "FAMILY_CARNIVINE"), + 456: .same(proto: "FAMILY_FINNEON"), + 459: .same(proto: "FAMILY_SNOVER"), + 479: .same(proto: "FAMILY_ROTOM"), + 480: .same(proto: "FAMILY_UXIE"), + 481: .same(proto: "FAMILY_MESPRIT"), + 482: .same(proto: "FAMILY_AZELF"), + 483: .same(proto: "FAMILY_DIALGA"), + 484: .same(proto: "FAMILY_PALKIA"), + 485: .same(proto: "FAMILY_HEATRAN"), + 486: .same(proto: "FAMILY_REGIGIGAS"), + 487: .same(proto: "FAMILY_GIRATINA"), + 488: .same(proto: "FAMILY_CRESSELIA"), + 489: .same(proto: "FAMILY_PHIONE"), + 490: .same(proto: "FAMILY_MANAPHY"), + 491: .same(proto: "FAMILY_DARKRAI"), + 492: .same(proto: "FAMILY_SHAYMIN"), + 493: .same(proto: "FAMILY_ARCEUS"), + 494: .same(proto: "FAMILY_VICTINI"), + 495: .same(proto: "FAMILY_SNIVY"), + 498: .same(proto: "FAMILY_TEPIG"), + 501: .same(proto: "FAMILY_OSHAWOTT"), + 504: .same(proto: "FAMILY_PATRAT"), + 506: .same(proto: "FAMILY_LILLIPUP"), + 509: .same(proto: "FAMILY_PURRLOIN"), + 511: .same(proto: "FAMILY_PANSAGE"), + 513: .same(proto: "FAMILY_PANSEAR"), + 515: .same(proto: "FAMILY_PANPOUR"), + 517: .same(proto: "FAMILY_MUNNA"), + 519: .same(proto: "FAMILY_PIDOVE"), + 522: .same(proto: "FAMILY_BLITZLE"), + 524: .same(proto: "FAMILY_ROGGENROLA"), + 527: .same(proto: "FAMILY_WOOBAT"), + 529: .same(proto: "FAMILY_DRILBUR"), + 531: .same(proto: "FAMILY_AUDINO"), + 532: .same(proto: "FAMILY_TIMBURR"), + 535: .same(proto: "FAMILY_TYMPOLE"), + 538: .same(proto: "FAMILY_THROH"), + 539: .same(proto: "FAMILY_SAWK"), + 540: .same(proto: "FAMILY_SEWADDLE"), + 543: .same(proto: "FAMILY_VENIPEDE"), + 546: .same(proto: "FAMILY_COTTONEE"), + 548: .same(proto: "FAMILY_PETILIL"), + 550: .same(proto: "FAMILY_BASCULIN"), + 551: .same(proto: "FAMILY_SANDILE"), + 554: .same(proto: "FAMILY_DARUMAKA"), + 556: .same(proto: "FAMILY_MARACTUS"), + 557: .same(proto: "FAMILY_DWEBBLE"), + 559: .same(proto: "FAMILY_SCRAGGY"), + 561: .same(proto: "FAMILY_SIGILYPH"), + 562: .same(proto: "FAMILY_YAMASK"), + 564: .same(proto: "FAMILY_TIRTOUGA"), + 566: .same(proto: "FAMILY_ARCHEN"), + 568: .same(proto: "FAMILY_TRUBBISH"), + 570: .same(proto: "FAMILY_ZORUA"), + 572: .same(proto: "FAMILY_MINCCINO"), + 574: .same(proto: "FAMILY_GOTHITA"), + 577: .same(proto: "FAMILY_SOLOSIS"), + 580: .same(proto: "FAMILY_DUCKLETT"), + 582: .same(proto: "FAMILY_VANILLITE"), + 585: .same(proto: "FAMILY_DEERLING"), + 587: .same(proto: "FAMILY_EMOLGA"), + 588: .same(proto: "FAMILY_KARRABLAST"), + 590: .same(proto: "FAMILY_FOONGUS"), + 592: .same(proto: "FAMILY_FRILLISH"), + 594: .same(proto: "FAMILY_ALOMOMOLA"), + 595: .same(proto: "FAMILY_JOLTIK"), + 597: .same(proto: "FAMILY_FERROSEED"), + 599: .same(proto: "FAMILY_KLINK"), + 602: .same(proto: "FAMILY_TYNAMO"), + 605: .same(proto: "FAMILY_ELGYEM"), + 607: .same(proto: "FAMILY_LITWICK"), + 610: .same(proto: "FAMILY_AXEW"), + 613: .same(proto: "FAMILY_CUBCHOO"), + 615: .same(proto: "FAMILY_CRYOGONAL"), + 616: .same(proto: "FAMILY_SHELMET"), + 618: .same(proto: "FAMILY_STUNFISK"), + 619: .same(proto: "FAMILY_MIENFOO"), + 621: .same(proto: "FAMILY_DRUDDIGON"), + 622: .same(proto: "FAMILY_GOLETT"), + 624: .same(proto: "FAMILY_PAWNIARD"), + 626: .same(proto: "FAMILY_BOUFFALANT"), + 627: .same(proto: "FAMILY_RUFFLET"), + 629: .same(proto: "FAMILY_VULLABY"), + 631: .same(proto: "FAMILY_HEATMOR"), + 632: .same(proto: "FAMILY_DURANT"), + 633: .same(proto: "FAMILY_DEINO"), + 636: .same(proto: "FAMILY_LARVESTA"), + 638: .same(proto: "FAMILY_COBALION"), + 639: .same(proto: "FAMILY_TERRAKION"), + 640: .same(proto: "FAMILY_VIRIZION"), + 641: .same(proto: "FAMILY_TORNADUS"), + 642: .same(proto: "FAMILY_THUNDURUS"), + 643: .same(proto: "FAMILY_RESHIRAM"), + 644: .same(proto: "FAMILY_ZEKROM"), + 645: .same(proto: "FAMILY_LANDORUS"), + 646: .same(proto: "FAMILY_KYUREM"), + 647: .same(proto: "FAMILY_KELDEO"), + 648: .same(proto: "FAMILY_MELOETTA"), + 649: .same(proto: "FAMILY_GENESECT"), + 650: .same(proto: "FAMILY_CHESPIN"), + 653: .same(proto: "FAMILY_FENNEKIN"), + 656: .same(proto: "FAMILY_FROAKIE"), + 659: .same(proto: "FAMILY_BUNNELBY"), + 661: .same(proto: "FAMILY_FLETCHLING"), + 664: .same(proto: "FAMILY_SCATTERBUG"), + 667: .same(proto: "FAMILY_LITLEO"), + 669: .same(proto: "FAMILY_FLABEBE"), + 672: .same(proto: "FAMILY_SKIDDO"), + 674: .same(proto: "FAMILY_PANCHAM"), + 676: .same(proto: "FAMILY_FURFROU"), + 677: .same(proto: "FAMILY_ESPURR"), + 679: .same(proto: "FAMILY_HONEDGE"), + 682: .same(proto: "FAMILY_SPRITZEE"), + 684: .same(proto: "FAMILY_SWIRLIX"), + 686: .same(proto: "FAMILY_INKAY"), + 688: .same(proto: "FAMILY_BINACLE"), + 690: .same(proto: "FAMILY_SKRELP"), + 692: .same(proto: "FAMILY_CLAUNCHER"), + 694: .same(proto: "FAMILY_HELIOPTILE"), + 696: .same(proto: "FAMILY_TYRUNT"), + 698: .same(proto: "FAMILY_AMAURA"), + 701: .same(proto: "FAMILY_HAWLUCHA"), + 702: .same(proto: "FAMILY_DEDENNE"), + 703: .same(proto: "FAMILY_CARBINK"), + 704: .same(proto: "FAMILY_GOOMY"), + 707: .same(proto: "FAMILY_KLEFKI"), + 708: .same(proto: "FAMILY_PHANTUMP"), + 710: .same(proto: "FAMILY_PUMPKABOO"), + 712: .same(proto: "FAMILY_BERGMITE"), + 714: .same(proto: "FAMILY_NOIBAT"), + 716: .same(proto: "FAMILY_XERNEAS"), + 717: .same(proto: "FAMILY_YVELTAL"), + 718: .same(proto: "FAMILY_ZYGARDE"), + 719: .same(proto: "FAMILY_DIANCIE"), + 720: .same(proto: "FAMILY_HOOPA"), + 721: .same(proto: "FAMILY_VOLCANION"), + 722: .same(proto: "FAMILY_ROWLET"), + 725: .same(proto: "FAMILY_LITTEN"), + 728: .same(proto: "FAMILY_POPPLIO"), + 731: .same(proto: "FAMILY_PIKIPEK"), + 734: .same(proto: "FAMILY_YUNGOOS"), + 736: .same(proto: "FAMILY_GRUBBIN"), + 739: .same(proto: "FAMILY_CRABRAWLER"), + 741: .same(proto: "FAMILY_ORICORIO"), + 742: .same(proto: "FAMILY_CUTIEFLY"), + 744: .same(proto: "FAMILY_ROCKRUFF"), + 746: .same(proto: "FAMILY_WISHIWASHI"), + 747: .same(proto: "FAMILY_MAREANIE"), + 749: .same(proto: "FAMILY_MUDBRAY"), + 751: .same(proto: "FAMILY_DEWPIDER"), + 753: .same(proto: "FAMILY_FOMANTIS"), + 755: .same(proto: "FAMILY_MORELULL"), + 757: .same(proto: "FAMILY_SALANDIT"), + 759: .same(proto: "FAMILY_STUFFUL"), + 761: .same(proto: "FAMILY_BOUNSWEET"), + 764: .same(proto: "FAMILY_COMFEY"), + 765: .same(proto: "FAMILY_ORANGURU"), + 766: .same(proto: "FAMILY_PASSIMIAN"), + 767: .same(proto: "FAMILY_WIMPOD"), + 769: .same(proto: "FAMILY_SANDYGAST"), + 771: .same(proto: "FAMILY_PYUKUMUKU"), + 772: .same(proto: "FAMILY_TYPE_NULL"), + 774: .same(proto: "FAMILY_MINIOR"), + 775: .same(proto: "FAMILY_KOMALA"), + 776: .same(proto: "FAMILY_TURTONATOR"), + 777: .same(proto: "FAMILY_TOGEDEMARU"), + 778: .same(proto: "FAMILY_MIMIKYU"), + 779: .same(proto: "FAMILY_BRUXISH"), + 780: .same(proto: "FAMILY_DRAMPA"), + 781: .same(proto: "FAMILY_DHELMISE"), + 782: .same(proto: "FAMILY_JANGMO_O"), + 785: .same(proto: "FAMILY_TAPU_KOKO"), + 786: .same(proto: "FAMILY_TAPU_LELE"), + 787: .same(proto: "FAMILY_TAPU_BULU"), + 788: .same(proto: "FAMILY_TAPU_FINI"), + 789: .same(proto: "FAMILY_COSMOG"), + 793: .same(proto: "FAMILY_NIHILEGO"), + 794: .same(proto: "FAMILY_BUZZWOLE"), + 795: .same(proto: "FAMILY_PHEROMOSA"), + 796: .same(proto: "FAMILY_XURKITREE"), + 797: .same(proto: "FAMILY_CELESTEELA"), + 798: .same(proto: "FAMILY_KARTANA"), + 799: .same(proto: "FAMILY_GUZZLORD"), + 800: .same(proto: "FAMILY_NECROZMA"), + 801: .same(proto: "FAMILY_MAGEARNA"), + 802: .same(proto: "FAMILY_MARSHADOW"), + 803: .same(proto: "FAMILY_POIPOLE"), + 805: .same(proto: "FAMILY_STAKATAKA"), + 806: .same(proto: "FAMILY_BLACEPHALON"), + 807: .same(proto: "FAMILY_ZERAORA"), + 808: .same(proto: "FAMILY_MELTAN"), + 810: .same(proto: "FAMILY_GROOKEY"), + 813: .same(proto: "FAMILY_SCORBUNNY"), + 816: .same(proto: "FAMILY_SOBBLE"), + 819: .same(proto: "FAMILY_SKWOVET"), + 821: .same(proto: "FAMILY_ROOKIDEE"), + 824: .same(proto: "FAMILY_BLIPBUG"), + 827: .same(proto: "FAMILY_NICKIT"), + 829: .same(proto: "FAMILY_GOSSIFLEUR"), + 831: .same(proto: "FAMILY_WOOLOO"), + 833: .same(proto: "FAMILY_CHEWTLE"), + 835: .same(proto: "FAMILY_YAMPER"), + 837: .same(proto: "FAMILY_ROLYCOLY"), + 840: .same(proto: "FAMILY_APPLIN"), + 843: .same(proto: "FAMILY_SILICOBRA"), + 845: .same(proto: "FAMILY_CRAMORANT"), + 846: .same(proto: "FAMILY_ARROKUDA"), + 848: .same(proto: "FAMILY_TOXEL"), + 850: .same(proto: "FAMILY_SIZZLIPEDE"), + 852: .same(proto: "FAMILY_CLOBBOPUS"), + 854: .same(proto: "FAMILY_SINISTEA"), + 856: .same(proto: "FAMILY_HATENNA"), + 859: .same(proto: "FAMILY_IMPIDIMP"), + 868: .same(proto: "FAMILY_MILCERY"), + 870: .same(proto: "FAMILY_FALINKS"), + 871: .same(proto: "FAMILY_PINCURCHIN"), + 872: .same(proto: "FAMILY_SNOM"), + 874: .same(proto: "FAMILY_STONJOURNER"), + 875: .same(proto: "FAMILY_EISCUE"), + 876: .same(proto: "FAMILY_INDEEDEE"), + 877: .same(proto: "FAMILY_MORPEKO"), + 878: .same(proto: "FAMILY_CUFANT"), + 880: .same(proto: "FAMILY_DRACOZOLT"), + 881: .same(proto: "FAMILY_ARCTOZOLT"), + 882: .same(proto: "FAMILY_DRACOVISH"), + 883: .same(proto: "FAMILY_ARCTOVISH"), + 884: .same(proto: "FAMILY_DURALUDON"), + 885: .same(proto: "FAMILY_DREEPY"), + 888: .same(proto: "FAMILY_ZACIAN"), + 889: .same(proto: "FAMILY_ZAMAZENTA"), + 890: .same(proto: "FAMILY_ETERNATUS"), + 891: .same(proto: "FAMILY_KUBFU"), + 893: .same(proto: "FAMILY_ZARUDE"), + 894: .same(proto: "FAMILY_REGIELEKI"), + 895: .same(proto: "FAMILY_REGIDRAGO"), + 896: .same(proto: "FAMILY_GLASTRIER"), + 897: .same(proto: "FAMILY_SPECTRIER"), + 898: .same(proto: "FAMILY_CALYREX"), + 905: .same(proto: "FAMILY_ENAMORUS"), + 906: .same(proto: "FAMILY_SPRIGATITO"), + 909: .same(proto: "FAMILY_FUECOCO"), + 912: .same(proto: "FAMILY_QUAXLY"), + 915: .same(proto: "FAMILY_LECHONK"), + 917: .same(proto: "FAMILY_TAROUNTULA"), + 919: .same(proto: "FAMILY_NYMBLE"), + 921: .same(proto: "FAMILY_PAWMI"), + 924: .same(proto: "FAMILY_TANDEMAUS"), + 926: .same(proto: "FAMILY_FIDOUGH"), + 928: .same(proto: "FAMILY_SMOLIV"), + 931: .same(proto: "FAMILY_SQUAWKABILLY"), + 932: .same(proto: "FAMILY_NACLI"), + 935: .same(proto: "FAMILY_CHARCADET"), + 938: .same(proto: "FAMILY_TADBULB"), + 940: .same(proto: "FAMILY_WATTREL"), + 942: .same(proto: "FAMILY_MASCHIFF"), + 944: .same(proto: "FAMILY_SHROODLE"), + 946: .same(proto: "FAMILY_BRAMBLIN"), + 948: .same(proto: "FAMILY_TOEDSCOOL"), + 950: .same(proto: "FAMILY_KLAWF"), + 951: .same(proto: "FAMILY_CAPSAKID"), + 953: .same(proto: "FAMILY_RELLOR"), + 955: .same(proto: "FAMILY_FLITTLE"), + 957: .same(proto: "FAMILY_TINKATINK"), + 960: .same(proto: "FAMILY_WIGLETT"), + 962: .same(proto: "FAMILY_BOMBIRDIER"), + 963: .same(proto: "FAMILY_FINIZEN"), + 965: .same(proto: "FAMILY_VAROOM"), + 967: .same(proto: "FAMILY_CYCLIZAR"), + 968: .same(proto: "FAMILY_ORTHWORM"), + 969: .same(proto: "FAMILY_GLIMMET"), + 971: .same(proto: "FAMILY_GREAVARD"), + 973: .same(proto: "FAMILY_FLAMIGO"), + 974: .same(proto: "FAMILY_CETODDLE"), + 976: .same(proto: "FAMILY_VELUZA"), + 977: .same(proto: "FAMILY_DONDOZO"), + 978: .same(proto: "FAMILY_TATSUGIRI"), + 979: .same(proto: "FAMILY_ANNIHILAPE"), + 980: .same(proto: "FAMILY_CLODSIRE"), + 981: .same(proto: "FAMILY_FARIGIRAF"), + 982: .same(proto: "FAMILY_DUDUNSPARCE"), + 983: .same(proto: "FAMILY_KINGAMBIT"), + 984: .same(proto: "FAMILY_GREATTUSK"), + 985: .same(proto: "FAMILY_SCREAMTAIL"), + 986: .same(proto: "FAMILY_BRUTEBONNET"), + 987: .same(proto: "FAMILY_FLUTTERMANE"), + 988: .same(proto: "FAMILY_SLITHERWING"), + 989: .same(proto: "FAMILY_SANDYSHOCKS"), + 990: .same(proto: "FAMILY_IRONTREADS"), + 991: .same(proto: "FAMILY_IRONBUNDLE"), + 992: .same(proto: "FAMILY_IRONHANDS"), + 993: .same(proto: "FAMILY_IRONJUGULIS"), + 994: .same(proto: "FAMILY_IRONMOTH"), + 995: .same(proto: "FAMILY_IRONTHORNS"), + 996: .same(proto: "FAMILY_FRIGIBAX"), + 999: .same(proto: "FAMILY_GIMMIGHOUL"), + 1001: .same(proto: "FAMILY_WOCHIEN"), + 1002: .same(proto: "FAMILY_CHIENPAO"), + 1003: .same(proto: "FAMILY_TINGLU"), + 1004: .same(proto: "FAMILY_CHIYU"), + 1005: .same(proto: "FAMILY_ROARINGMOON"), + 1006: .same(proto: "FAMILY_IRONVALIANT"), + 1007: .same(proto: "FAMILY_KORAIDON"), + 1008: .same(proto: "FAMILY_MIRAIDON"), ] } -extension AcceptCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcceptCombatChallengeProto" +extension HoloPokemonId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), - 6: .standard(proto: "attacking_pokemon_id"), + 0: .same(proto: "MISSINGNO"), + 1: .same(proto: "BULBASAUR"), + 2: .same(proto: "IVYSAUR"), + 3: .same(proto: "VENUSAUR"), + 4: .same(proto: "CHARMANDER"), + 5: .same(proto: "CHARMELEON"), + 6: .same(proto: "CHARIZARD"), + 7: .same(proto: "SQUIRTLE"), + 8: .same(proto: "WARTORTLE"), + 9: .same(proto: "BLASTOISE"), + 10: .same(proto: "CATERPIE"), + 11: .same(proto: "METAPOD"), + 12: .same(proto: "BUTTERFREE"), + 13: .same(proto: "WEEDLE"), + 14: .same(proto: "KAKUNA"), + 15: .same(proto: "BEEDRILL"), + 16: .same(proto: "PIDGEY"), + 17: .same(proto: "PIDGEOTTO"), + 18: .same(proto: "PIDGEOT"), + 19: .same(proto: "RATTATA"), + 20: .same(proto: "RATICATE"), + 21: .same(proto: "SPEAROW"), + 22: .same(proto: "FEAROW"), + 23: .same(proto: "EKANS"), + 24: .same(proto: "ARBOK"), + 25: .same(proto: "PIKACHU"), + 26: .same(proto: "RAICHU"), + 27: .same(proto: "SANDSHREW"), + 28: .same(proto: "SANDSLASH"), + 29: .same(proto: "NIDORAN_FEMALE"), + 30: .same(proto: "NIDORINA"), + 31: .same(proto: "NIDOQUEEN"), + 32: .same(proto: "NIDORAN_MALE"), + 33: .same(proto: "NIDORINO"), + 34: .same(proto: "NIDOKING"), + 35: .same(proto: "CLEFAIRY"), + 36: .same(proto: "CLEFABLE"), + 37: .same(proto: "VULPIX"), + 38: .same(proto: "NINETALES"), + 39: .same(proto: "JIGGLYPUFF"), + 40: .same(proto: "WIGGLYTUFF"), + 41: .same(proto: "ZUBAT"), + 42: .same(proto: "GOLBAT"), + 43: .same(proto: "ODDISH"), + 44: .same(proto: "GLOOM"), + 45: .same(proto: "VILEPLUME"), + 46: .same(proto: "PARAS"), + 47: .same(proto: "PARASECT"), + 48: .same(proto: "VENONAT"), + 49: .same(proto: "VENOMOTH"), + 50: .same(proto: "DIGLETT"), + 51: .same(proto: "DUGTRIO"), + 52: .same(proto: "MEOWTH"), + 53: .same(proto: "PERSIAN"), + 54: .same(proto: "PSYDUCK"), + 55: .same(proto: "GOLDUCK"), + 56: .same(proto: "MANKEY"), + 57: .same(proto: "PRIMEAPE"), + 58: .same(proto: "GROWLITHE"), + 59: .same(proto: "ARCANINE"), + 60: .same(proto: "POLIWAG"), + 61: .same(proto: "POLIWHIRL"), + 62: .same(proto: "POLIWRATH"), + 63: .same(proto: "ABRA"), + 64: .same(proto: "KADABRA"), + 65: .same(proto: "ALAKAZAM"), + 66: .same(proto: "MACHOP"), + 67: .same(proto: "MACHOKE"), + 68: .same(proto: "MACHAMP"), + 69: .same(proto: "BELLSPROUT"), + 70: .same(proto: "WEEPINBELL"), + 71: .same(proto: "VICTREEBEL"), + 72: .same(proto: "TENTACOOL"), + 73: .same(proto: "TENTACRUEL"), + 74: .same(proto: "GEODUDE"), + 75: .same(proto: "GRAVELER"), + 76: .same(proto: "GOLEM"), + 77: .same(proto: "PONYTA"), + 78: .same(proto: "RAPIDASH"), + 79: .same(proto: "SLOWPOKE"), + 80: .same(proto: "SLOWBRO"), + 81: .same(proto: "MAGNEMITE"), + 82: .same(proto: "MAGNETON"), + 83: .same(proto: "FARFETCHD"), + 84: .same(proto: "DODUO"), + 85: .same(proto: "DODRIO"), + 86: .same(proto: "SEEL"), + 87: .same(proto: "DEWGONG"), + 88: .same(proto: "GRIMER"), + 89: .same(proto: "MUK"), + 90: .same(proto: "SHELLDER"), + 91: .same(proto: "CLOYSTER"), + 92: .same(proto: "GASTLY"), + 93: .same(proto: "HAUNTER"), + 94: .same(proto: "GENGAR"), + 95: .same(proto: "ONIX"), + 96: .same(proto: "DROWZEE"), + 97: .same(proto: "HYPNO"), + 98: .same(proto: "KRABBY"), + 99: .same(proto: "KINGLER"), + 100: .same(proto: "VOLTORB"), + 101: .same(proto: "ELECTRODE"), + 102: .same(proto: "EXEGGCUTE"), + 103: .same(proto: "EXEGGUTOR"), + 104: .same(proto: "CUBONE"), + 105: .same(proto: "MAROWAK"), + 106: .same(proto: "HITMONLEE"), + 107: .same(proto: "HITMONCHAN"), + 108: .same(proto: "LICKITUNG"), + 109: .same(proto: "KOFFING"), + 110: .same(proto: "WEEZING"), + 111: .same(proto: "RHYHORN"), + 112: .same(proto: "RHYDON"), + 113: .same(proto: "CHANSEY"), + 114: .same(proto: "TANGELA"), + 115: .same(proto: "KANGASKHAN"), + 116: .same(proto: "HORSEA"), + 117: .same(proto: "SEADRA"), + 118: .same(proto: "GOLDEEN"), + 119: .same(proto: "SEAKING"), + 120: .same(proto: "STARYU"), + 121: .same(proto: "STARMIE"), + 122: .same(proto: "MR_MIME"), + 123: .same(proto: "SCYTHER"), + 124: .same(proto: "JYNX"), + 125: .same(proto: "ELECTABUZZ"), + 126: .same(proto: "MAGMAR"), + 127: .same(proto: "PINSIR"), + 128: .same(proto: "TAUROS"), + 129: .same(proto: "MAGIKARP"), + 130: .same(proto: "GYARADOS"), + 131: .same(proto: "LAPRAS"), + 132: .same(proto: "DITTO"), + 133: .same(proto: "EEVEE"), + 134: .same(proto: "VAPOREON"), + 135: .same(proto: "JOLTEON"), + 136: .same(proto: "FLAREON"), + 137: .same(proto: "PORYGON"), + 138: .same(proto: "OMANYTE"), + 139: .same(proto: "OMASTAR"), + 140: .same(proto: "KABUTO"), + 141: .same(proto: "KABUTOPS"), + 142: .same(proto: "AERODACTYL"), + 143: .same(proto: "SNORLAX"), + 144: .same(proto: "ARTICUNO"), + 145: .same(proto: "ZAPDOS"), + 146: .same(proto: "MOLTRES"), + 147: .same(proto: "DRATINI"), + 148: .same(proto: "DRAGONAIR"), + 149: .same(proto: "DRAGONITE"), + 150: .same(proto: "MEWTWO"), + 151: .same(proto: "MEW"), + 152: .same(proto: "CHIKORITA"), + 153: .same(proto: "BAYLEEF"), + 154: .same(proto: "MEGANIUM"), + 155: .same(proto: "CYNDAQUIL"), + 156: .same(proto: "QUILAVA"), + 157: .same(proto: "TYPHLOSION"), + 158: .same(proto: "TOTODILE"), + 159: .same(proto: "CROCONAW"), + 160: .same(proto: "FERALIGATR"), + 161: .same(proto: "SENTRET"), + 162: .same(proto: "FURRET"), + 163: .same(proto: "HOOTHOOT"), + 164: .same(proto: "NOCTOWL"), + 165: .same(proto: "LEDYBA"), + 166: .same(proto: "LEDIAN"), + 167: .same(proto: "SPINARAK"), + 168: .same(proto: "ARIADOS"), + 169: .same(proto: "CROBAT"), + 170: .same(proto: "CHINCHOU"), + 171: .same(proto: "LANTURN"), + 172: .same(proto: "PICHU"), + 173: .same(proto: "CLEFFA"), + 174: .same(proto: "IGGLYBUFF"), + 175: .same(proto: "TOGEPI"), + 176: .same(proto: "TOGETIC"), + 177: .same(proto: "NATU"), + 178: .same(proto: "XATU"), + 179: .same(proto: "MAREEP"), + 180: .same(proto: "FLAAFFY"), + 181: .same(proto: "AMPHAROS"), + 182: .same(proto: "BELLOSSOM"), + 183: .same(proto: "MARILL"), + 184: .same(proto: "AZUMARILL"), + 185: .same(proto: "SUDOWOODO"), + 186: .same(proto: "POLITOED"), + 187: .same(proto: "HOPPIP"), + 188: .same(proto: "SKIPLOOM"), + 189: .same(proto: "JUMPLUFF"), + 190: .same(proto: "AIPOM"), + 191: .same(proto: "SUNKERN"), + 192: .same(proto: "SUNFLORA"), + 193: .same(proto: "YANMA"), + 194: .same(proto: "WOOPER"), + 195: .same(proto: "QUAGSIRE"), + 196: .same(proto: "ESPEON"), + 197: .same(proto: "UMBREON"), + 198: .same(proto: "MURKROW"), + 199: .same(proto: "SLOWKING"), + 200: .same(proto: "MISDREAVUS"), + 201: .same(proto: "UNOWN"), + 202: .same(proto: "WOBBUFFET"), + 203: .same(proto: "GIRAFARIG"), + 204: .same(proto: "PINECO"), + 205: .same(proto: "FORRETRESS"), + 206: .same(proto: "DUNSPARCE"), + 207: .same(proto: "GLIGAR"), + 208: .same(proto: "STEELIX"), + 209: .same(proto: "SNUBBULL"), + 210: .same(proto: "GRANBULL"), + 211: .same(proto: "QWILFISH"), + 212: .same(proto: "SCIZOR"), + 213: .same(proto: "SHUCKLE"), + 214: .same(proto: "HERACROSS"), + 215: .same(proto: "SNEASEL"), + 216: .same(proto: "TEDDIURSA"), + 217: .same(proto: "URSARING"), + 218: .same(proto: "SLUGMA"), + 219: .same(proto: "MAGCARGO"), + 220: .same(proto: "SWINUB"), + 221: .same(proto: "PILOSWINE"), + 222: .same(proto: "CORSOLA"), + 223: .same(proto: "REMORAID"), + 224: .same(proto: "OCTILLERY"), + 225: .same(proto: "DELIBIRD"), + 226: .same(proto: "MANTINE"), + 227: .same(proto: "SKARMORY"), + 228: .same(proto: "HOUNDOUR"), + 229: .same(proto: "HOUNDOOM"), + 230: .same(proto: "KINGDRA"), + 231: .same(proto: "PHANPY"), + 232: .same(proto: "DONPHAN"), + 233: .same(proto: "PORYGON2"), + 234: .same(proto: "STANTLER"), + 235: .same(proto: "SMEARGLE"), + 236: .same(proto: "TYROGUE"), + 237: .same(proto: "HITMONTOP"), + 238: .same(proto: "SMOOCHUM"), + 239: .same(proto: "ELEKID"), + 240: .same(proto: "MAGBY"), + 241: .same(proto: "MILTANK"), + 242: .same(proto: "BLISSEY"), + 243: .same(proto: "RAIKOU"), + 244: .same(proto: "ENTEI"), + 245: .same(proto: "SUICUNE"), + 246: .same(proto: "LARVITAR"), + 247: .same(proto: "PUPITAR"), + 248: .same(proto: "TYRANITAR"), + 249: .same(proto: "LUGIA"), + 250: .same(proto: "HO_OH"), + 251: .same(proto: "CELEBI"), + 252: .same(proto: "TREECKO"), + 253: .same(proto: "GROVYLE"), + 254: .same(proto: "SCEPTILE"), + 255: .same(proto: "TORCHIC"), + 256: .same(proto: "COMBUSKEN"), + 257: .same(proto: "BLAZIKEN"), + 258: .same(proto: "MUDKIP"), + 259: .same(proto: "MARSHTOMP"), + 260: .same(proto: "SWAMPERT"), + 261: .same(proto: "POOCHYENA"), + 262: .same(proto: "MIGHTYENA"), + 263: .same(proto: "ZIGZAGOON"), + 264: .same(proto: "LINOONE"), + 265: .same(proto: "WURMPLE"), + 266: .same(proto: "SILCOON"), + 267: .same(proto: "BEAUTIFLY"), + 268: .same(proto: "CASCOON"), + 269: .same(proto: "DUSTOX"), + 270: .same(proto: "LOTAD"), + 271: .same(proto: "LOMBRE"), + 272: .same(proto: "LUDICOLO"), + 273: .same(proto: "SEEDOT"), + 274: .same(proto: "NUZLEAF"), + 275: .same(proto: "SHIFTRY"), + 276: .same(proto: "TAILLOW"), + 277: .same(proto: "SWELLOW"), + 278: .same(proto: "WINGULL"), + 279: .same(proto: "PELIPPER"), + 280: .same(proto: "RALTS"), + 281: .same(proto: "KIRLIA"), + 282: .same(proto: "GARDEVOIR"), + 283: .same(proto: "SURSKIT"), + 284: .same(proto: "MASQUERAIN"), + 285: .same(proto: "SHROOMISH"), + 286: .same(proto: "BRELOOM"), + 287: .same(proto: "SLAKOTH"), + 288: .same(proto: "VIGOROTH"), + 289: .same(proto: "SLAKING"), + 290: .same(proto: "NINCADA"), + 291: .same(proto: "NINJASK"), + 292: .same(proto: "SHEDINJA"), + 293: .same(proto: "WHISMUR"), + 294: .same(proto: "LOUDRED"), + 295: .same(proto: "EXPLOUD"), + 296: .same(proto: "MAKUHITA"), + 297: .same(proto: "HARIYAMA"), + 298: .same(proto: "AZURILL"), + 299: .same(proto: "NOSEPASS"), + 300: .same(proto: "SKITTY"), + 301: .same(proto: "DELCATTY"), + 302: .same(proto: "SABLEYE"), + 303: .same(proto: "MAWILE"), + 304: .same(proto: "ARON"), + 305: .same(proto: "LAIRON"), + 306: .same(proto: "AGGRON"), + 307: .same(proto: "MEDITITE"), + 308: .same(proto: "MEDICHAM"), + 309: .same(proto: "ELECTRIKE"), + 310: .same(proto: "MANECTRIC"), + 311: .same(proto: "PLUSLE"), + 312: .same(proto: "MINUN"), + 313: .same(proto: "VOLBEAT"), + 314: .same(proto: "ILLUMISE"), + 315: .same(proto: "ROSELIA"), + 316: .same(proto: "GULPIN"), + 317: .same(proto: "SWALOT"), + 318: .same(proto: "CARVANHA"), + 319: .same(proto: "SHARPEDO"), + 320: .same(proto: "WAILMER"), + 321: .same(proto: "WAILORD"), + 322: .same(proto: "NUMEL"), + 323: .same(proto: "CAMERUPT"), + 324: .same(proto: "TORKOAL"), + 325: .same(proto: "SPOINK"), + 326: .same(proto: "GRUMPIG"), + 327: .same(proto: "SPINDA"), + 328: .same(proto: "TRAPINCH"), + 329: .same(proto: "VIBRAVA"), + 330: .same(proto: "FLYGON"), + 331: .same(proto: "CACNEA"), + 332: .same(proto: "CACTURNE"), + 333: .same(proto: "SWABLU"), + 334: .same(proto: "ALTARIA"), + 335: .same(proto: "ZANGOOSE"), + 336: .same(proto: "SEVIPER"), + 337: .same(proto: "LUNATONE"), + 338: .same(proto: "SOLROCK"), + 339: .same(proto: "BARBOACH"), + 340: .same(proto: "WHISCASH"), + 341: .same(proto: "CORPHISH"), + 342: .same(proto: "CRAWDAUNT"), + 343: .same(proto: "BALTOY"), + 344: .same(proto: "CLAYDOL"), + 345: .same(proto: "LILEEP"), + 346: .same(proto: "CRADILY"), + 347: .same(proto: "ANORITH"), + 348: .same(proto: "ARMALDO"), + 349: .same(proto: "FEEBAS"), + 350: .same(proto: "MILOTIC"), + 351: .same(proto: "CASTFORM"), + 352: .same(proto: "KECLEON"), + 353: .same(proto: "SHUPPET"), + 354: .same(proto: "BANETTE"), + 355: .same(proto: "DUSKULL"), + 356: .same(proto: "DUSCLOPS"), + 357: .same(proto: "TROPIUS"), + 358: .same(proto: "CHIMECHO"), + 359: .same(proto: "ABSOL"), + 360: .same(proto: "WYNAUT"), + 361: .same(proto: "SNORUNT"), + 362: .same(proto: "GLALIE"), + 363: .same(proto: "SPHEAL"), + 364: .same(proto: "SEALEO"), + 365: .same(proto: "WALREIN"), + 366: .same(proto: "CLAMPERL"), + 367: .same(proto: "HUNTAIL"), + 368: .same(proto: "GOREBYSS"), + 369: .same(proto: "RELICANTH"), + 370: .same(proto: "LUVDISC"), + 371: .same(proto: "BAGON"), + 372: .same(proto: "SHELGON"), + 373: .same(proto: "SALAMENCE"), + 374: .same(proto: "BELDUM"), + 375: .same(proto: "METANG"), + 376: .same(proto: "METAGROSS"), + 377: .same(proto: "REGIROCK"), + 378: .same(proto: "REGICE"), + 379: .same(proto: "REGISTEEL"), + 380: .same(proto: "LATIAS"), + 381: .same(proto: "LATIOS"), + 382: .same(proto: "KYOGRE"), + 383: .same(proto: "GROUDON"), + 384: .same(proto: "RAYQUAZA"), + 385: .same(proto: "JIRACHI"), + 386: .same(proto: "DEOXYS"), + 387: .same(proto: "TURTWIG"), + 388: .same(proto: "GROTLE"), + 389: .same(proto: "TORTERRA"), + 390: .same(proto: "CHIMCHAR"), + 391: .same(proto: "MONFERNO"), + 392: .same(proto: "INFERNAPE"), + 393: .same(proto: "PIPLUP"), + 394: .same(proto: "PRINPLUP"), + 395: .same(proto: "EMPOLEON"), + 396: .same(proto: "STARLY"), + 397: .same(proto: "STARAVIA"), + 398: .same(proto: "STARAPTOR"), + 399: .same(proto: "BIDOOF"), + 400: .same(proto: "BIBAREL"), + 401: .same(proto: "KRICKETOT"), + 402: .same(proto: "KRICKETUNE"), + 403: .same(proto: "SHINX"), + 404: .same(proto: "LUXIO"), + 405: .same(proto: "LUXRAY"), + 406: .same(proto: "BUDEW"), + 407: .same(proto: "ROSERADE"), + 408: .same(proto: "CRANIDOS"), + 409: .same(proto: "RAMPARDOS"), + 410: .same(proto: "SHIELDON"), + 411: .same(proto: "BASTIODON"), + 412: .same(proto: "BURMY"), + 413: .same(proto: "WORMADAM"), + 414: .same(proto: "MOTHIM"), + 415: .same(proto: "COMBEE"), + 416: .same(proto: "VESPIQUEN"), + 417: .same(proto: "PACHIRISU"), + 418: .same(proto: "BUIZEL"), + 419: .same(proto: "FLOATZEL"), + 420: .same(proto: "CHERUBI"), + 421: .same(proto: "CHERRIM"), + 422: .same(proto: "SHELLOS"), + 423: .same(proto: "GASTRODON"), + 424: .same(proto: "AMBIPOM"), + 425: .same(proto: "DRIFLOON"), + 426: .same(proto: "DRIFBLIM"), + 427: .same(proto: "BUNEARY"), + 428: .same(proto: "LOPUNNY"), + 429: .same(proto: "MISMAGIUS"), + 430: .same(proto: "HONCHKROW"), + 431: .same(proto: "GLAMEOW"), + 432: .same(proto: "PURUGLY"), + 433: .same(proto: "CHINGLING"), + 434: .same(proto: "STUNKY"), + 435: .same(proto: "SKUNTANK"), + 436: .same(proto: "BRONZOR"), + 437: .same(proto: "BRONZONG"), + 438: .same(proto: "BONSLY"), + 439: .same(proto: "MIME_JR"), + 440: .same(proto: "HAPPINY"), + 441: .same(proto: "CHATOT"), + 442: .same(proto: "SPIRITOMB"), + 443: .same(proto: "GIBLE"), + 444: .same(proto: "GABITE"), + 445: .same(proto: "GARCHOMP"), + 446: .same(proto: "MUNCHLAX"), + 447: .same(proto: "RIOLU"), + 448: .same(proto: "LUCARIO"), + 449: .same(proto: "HIPPOPOTAS"), + 450: .same(proto: "HIPPOWDON"), + 451: .same(proto: "SKORUPI"), + 452: .same(proto: "DRAPION"), + 453: .same(proto: "CROAGUNK"), + 454: .same(proto: "TOXICROAK"), + 455: .same(proto: "CARNIVINE"), + 456: .same(proto: "FINNEON"), + 457: .same(proto: "LUMINEON"), + 458: .same(proto: "MANTYKE"), + 459: .same(proto: "SNOVER"), + 460: .same(proto: "ABOMASNOW"), + 461: .same(proto: "WEAVILE"), + 462: .same(proto: "MAGNEZONE"), + 463: .same(proto: "LICKILICKY"), + 464: .same(proto: "RHYPERIOR"), + 465: .same(proto: "TANGROWTH"), + 466: .same(proto: "ELECTIVIRE"), + 467: .same(proto: "MAGMORTAR"), + 468: .same(proto: "TOGEKISS"), + 469: .same(proto: "YANMEGA"), + 470: .same(proto: "LEAFEON"), + 471: .same(proto: "GLACEON"), + 472: .same(proto: "GLISCOR"), + 473: .same(proto: "MAMOSWINE"), + 474: .same(proto: "PORYGON_Z"), + 475: .same(proto: "GALLADE"), + 476: .same(proto: "PROBOPASS"), + 477: .same(proto: "DUSKNOIR"), + 478: .same(proto: "FROSLASS"), + 479: .same(proto: "ROTOM"), + 480: .same(proto: "UXIE"), + 481: .same(proto: "MESPRIT"), + 482: .same(proto: "AZELF"), + 483: .same(proto: "DIALGA"), + 484: .same(proto: "PALKIA"), + 485: .same(proto: "HEATRAN"), + 486: .same(proto: "REGIGIGAS"), + 487: .same(proto: "GIRATINA"), + 488: .same(proto: "CRESSELIA"), + 489: .same(proto: "PHIONE"), + 490: .same(proto: "MANAPHY"), + 491: .same(proto: "DARKRAI"), + 492: .same(proto: "SHAYMIN"), + 493: .same(proto: "ARCEUS"), + 494: .same(proto: "VICTINI"), + 495: .same(proto: "SNIVY"), + 496: .same(proto: "SERVINE"), + 497: .same(proto: "SERPERIOR"), + 498: .same(proto: "TEPIG"), + 499: .same(proto: "PIGNITE"), + 500: .same(proto: "EMBOAR"), + 501: .same(proto: "OSHAWOTT"), + 502: .same(proto: "DEWOTT"), + 503: .same(proto: "SAMUROTT"), + 504: .same(proto: "PATRAT"), + 505: .same(proto: "WATCHOG"), + 506: .same(proto: "LILLIPUP"), + 507: .same(proto: "HERDIER"), + 508: .same(proto: "STOUTLAND"), + 509: .same(proto: "PURRLOIN"), + 510: .same(proto: "LIEPARD"), + 511: .same(proto: "PANSAGE"), + 512: .same(proto: "SIMISAGE"), + 513: .same(proto: "PANSEAR"), + 514: .same(proto: "SIMISEAR"), + 515: .same(proto: "PANPOUR"), + 516: .same(proto: "SIMIPOUR"), + 517: .same(proto: "MUNNA"), + 518: .same(proto: "MUSHARNA"), + 519: .same(proto: "PIDOVE"), + 520: .same(proto: "TRANQUILL"), + 521: .same(proto: "UNFEZANT"), + 522: .same(proto: "BLITZLE"), + 523: .same(proto: "ZEBSTRIKA"), + 524: .same(proto: "ROGGENROLA"), + 525: .same(proto: "BOLDORE"), + 526: .same(proto: "GIGALITH"), + 527: .same(proto: "WOOBAT"), + 528: .same(proto: "SWOOBAT"), + 529: .same(proto: "DRILBUR"), + 530: .same(proto: "EXCADRILL"), + 531: .same(proto: "AUDINO"), + 532: .same(proto: "TIMBURR"), + 533: .same(proto: "GURDURR"), + 534: .same(proto: "CONKELDURR"), + 535: .same(proto: "TYMPOLE"), + 536: .same(proto: "PALPITOAD"), + 537: .same(proto: "SEISMITOAD"), + 538: .same(proto: "THROH"), + 539: .same(proto: "SAWK"), + 540: .same(proto: "SEWADDLE"), + 541: .same(proto: "SWADLOON"), + 542: .same(proto: "LEAVANNY"), + 543: .same(proto: "VENIPEDE"), + 544: .same(proto: "WHIRLIPEDE"), + 545: .same(proto: "SCOLIPEDE"), + 546: .same(proto: "COTTONEE"), + 547: .same(proto: "WHIMSICOTT"), + 548: .same(proto: "PETILIL"), + 549: .same(proto: "LILLIGANT"), + 550: .same(proto: "BASCULIN"), + 551: .same(proto: "SANDILE"), + 552: .same(proto: "KROKOROK"), + 553: .same(proto: "KROOKODILE"), + 554: .same(proto: "DARUMAKA"), + 555: .same(proto: "DARMANITAN"), + 556: .same(proto: "MARACTUS"), + 557: .same(proto: "DWEBBLE"), + 558: .same(proto: "CRUSTLE"), + 559: .same(proto: "SCRAGGY"), + 560: .same(proto: "SCRAFTY"), + 561: .same(proto: "SIGILYPH"), + 562: .same(proto: "YAMASK"), + 563: .same(proto: "COFAGRIGUS"), + 564: .same(proto: "TIRTOUGA"), + 565: .same(proto: "CARRACOSTA"), + 566: .same(proto: "ARCHEN"), + 567: .same(proto: "ARCHEOPS"), + 568: .same(proto: "TRUBBISH"), + 569: .same(proto: "GARBODOR"), + 570: .same(proto: "ZORUA"), + 571: .same(proto: "ZOROARK"), + 572: .same(proto: "MINCCINO"), + 573: .same(proto: "CINCCINO"), + 574: .same(proto: "GOTHITA"), + 575: .same(proto: "GOTHORITA"), + 576: .same(proto: "GOTHITELLE"), + 577: .same(proto: "SOLOSIS"), + 578: .same(proto: "DUOSION"), + 579: .same(proto: "REUNICLUS"), + 580: .same(proto: "DUCKLETT"), + 581: .same(proto: "SWANNA"), + 582: .same(proto: "VANILLITE"), + 583: .same(proto: "VANILLISH"), + 584: .same(proto: "VANILLUXE"), + 585: .same(proto: "DEERLING"), + 586: .same(proto: "SAWSBUCK"), + 587: .same(proto: "EMOLGA"), + 588: .same(proto: "KARRABLAST"), + 589: .same(proto: "ESCAVALIER"), + 590: .same(proto: "FOONGUS"), + 591: .same(proto: "AMOONGUSS"), + 592: .same(proto: "FRILLISH"), + 593: .same(proto: "JELLICENT"), + 594: .same(proto: "ALOMOMOLA"), + 595: .same(proto: "JOLTIK"), + 596: .same(proto: "GALVANTULA"), + 597: .same(proto: "FERROSEED"), + 598: .same(proto: "FERROTHORN"), + 599: .same(proto: "KLINK"), + 600: .same(proto: "KLANG"), + 601: .same(proto: "KLINKLANG"), + 602: .same(proto: "TYNAMO"), + 603: .same(proto: "EELEKTRIK"), + 604: .same(proto: "EELEKTROSS"), + 605: .same(proto: "ELGYEM"), + 606: .same(proto: "BEHEEYEM"), + 607: .same(proto: "LITWICK"), + 608: .same(proto: "LAMPENT"), + 609: .same(proto: "CHANDELURE"), + 610: .same(proto: "AXEW"), + 611: .same(proto: "FRAXURE"), + 612: .same(proto: "HAXORUS"), + 613: .same(proto: "CUBCHOO"), + 614: .same(proto: "BEARTIC"), + 615: .same(proto: "CRYOGONAL"), + 616: .same(proto: "SHELMET"), + 617: .same(proto: "ACCELGOR"), + 618: .same(proto: "STUNFISK"), + 619: .same(proto: "MIENFOO"), + 620: .same(proto: "MIENSHAO"), + 621: .same(proto: "DRUDDIGON"), + 622: .same(proto: "GOLETT"), + 623: .same(proto: "GOLURK"), + 624: .same(proto: "PAWNIARD"), + 625: .same(proto: "BISHARP"), + 626: .same(proto: "BOUFFALANT"), + 627: .same(proto: "RUFFLET"), + 628: .same(proto: "BRAVIARY"), + 629: .same(proto: "VULLABY"), + 630: .same(proto: "MANDIBUZZ"), + 631: .same(proto: "HEATMOR"), + 632: .same(proto: "DURANT"), + 633: .same(proto: "DEINO"), + 634: .same(proto: "ZWEILOUS"), + 635: .same(proto: "HYDREIGON"), + 636: .same(proto: "LARVESTA"), + 637: .same(proto: "VOLCARONA"), + 638: .same(proto: "COBALION"), + 639: .same(proto: "TERRAKION"), + 640: .same(proto: "VIRIZION"), + 641: .same(proto: "TORNADUS"), + 642: .same(proto: "THUNDURUS"), + 643: .same(proto: "RESHIRAM"), + 644: .same(proto: "ZEKROM"), + 645: .same(proto: "LANDORUS"), + 646: .same(proto: "KYUREM"), + 647: .same(proto: "KELDEO"), + 648: .same(proto: "MELOETTA"), + 649: .same(proto: "GENESECT"), + 650: .same(proto: "CHESPIN"), + 651: .same(proto: "QUILLADIN"), + 652: .same(proto: "CHESNAUGHT"), + 653: .same(proto: "FENNEKIN"), + 654: .same(proto: "BRAIXEN"), + 655: .same(proto: "DELPHOX"), + 656: .same(proto: "FROAKIE"), + 657: .same(proto: "FROGADIER"), + 658: .same(proto: "GRENINJA"), + 659: .same(proto: "BUNNELBY"), + 660: .same(proto: "DIGGERSBY"), + 661: .same(proto: "FLETCHLING"), + 662: .same(proto: "FLETCHINDER"), + 663: .same(proto: "TALONFLAME"), + 664: .same(proto: "SCATTERBUG"), + 665: .same(proto: "SPEWPA"), + 666: .same(proto: "VIVILLON"), + 667: .same(proto: "LITLEO"), + 668: .same(proto: "PYROAR"), + 669: .same(proto: "FLABEBE"), + 670: .same(proto: "FLOETTE"), + 671: .same(proto: "FLORGES"), + 672: .same(proto: "SKIDDO"), + 673: .same(proto: "GOGOAT"), + 674: .same(proto: "PANCHAM"), + 675: .same(proto: "PANGORO"), + 676: .same(proto: "FURFROU"), + 677: .same(proto: "ESPURR"), + 678: .same(proto: "MEOWSTIC"), + 679: .same(proto: "HONEDGE"), + 680: .same(proto: "DOUBLADE"), + 681: .same(proto: "AEGISLASH"), + 682: .same(proto: "SPRITZEE"), + 683: .same(proto: "AROMATISSE"), + 684: .same(proto: "SWIRLIX"), + 685: .same(proto: "SLURPUFF"), + 686: .same(proto: "INKAY"), + 687: .same(proto: "MALAMAR"), + 688: .same(proto: "BINACLE"), + 689: .same(proto: "BARBARACLE"), + 690: .same(proto: "SKRELP"), + 691: .same(proto: "DRAGALGE"), + 692: .same(proto: "CLAUNCHER"), + 693: .same(proto: "CLAWITZER"), + 694: .same(proto: "HELIOPTILE"), + 695: .same(proto: "HELIOLISK"), + 696: .same(proto: "TYRUNT"), + 697: .same(proto: "TYRANTRUM"), + 698: .same(proto: "AMAURA"), + 699: .same(proto: "AURORUS"), + 700: .same(proto: "SYLVEON"), + 701: .same(proto: "HAWLUCHA"), + 702: .same(proto: "DEDENNE"), + 703: .same(proto: "CARBINK"), + 704: .same(proto: "GOOMY"), + 705: .same(proto: "SLIGGOO"), + 706: .same(proto: "GOODRA"), + 707: .same(proto: "KLEFKI"), + 708: .same(proto: "PHANTUMP"), + 709: .same(proto: "TREVENANT"), + 710: .same(proto: "PUMPKABOO"), + 711: .same(proto: "GOURGEIST"), + 712: .same(proto: "BERGMITE"), + 713: .same(proto: "AVALUGG"), + 714: .same(proto: "NOIBAT"), + 715: .same(proto: "NOIVERN"), + 716: .same(proto: "XERNEAS"), + 717: .same(proto: "YVELTAL"), + 718: .same(proto: "ZYGARDE"), + 719: .same(proto: "DIANCIE"), + 720: .same(proto: "HOOPA"), + 721: .same(proto: "VOLCANION"), + 722: .same(proto: "ROWLET"), + 723: .same(proto: "DARTRIX"), + 724: .same(proto: "DECIDUEYE"), + 725: .same(proto: "LITTEN"), + 726: .same(proto: "TORRACAT"), + 727: .same(proto: "INCINEROAR"), + 728: .same(proto: "POPPLIO"), + 729: .same(proto: "BRIONNE"), + 730: .same(proto: "PRIMARINA"), + 731: .same(proto: "PIKIPEK"), + 732: .same(proto: "TRUMBEAK"), + 733: .same(proto: "TOUCANNON"), + 734: .same(proto: "YUNGOOS"), + 735: .same(proto: "GUMSHOOS"), + 736: .same(proto: "GRUBBIN"), + 737: .same(proto: "CHARJABUG"), + 738: .same(proto: "VIKAVOLT"), + 739: .same(proto: "CRABRAWLER"), + 740: .same(proto: "CRABOMINABLE"), + 741: .same(proto: "ORICORIO"), + 742: .same(proto: "CUTIEFLY"), + 743: .same(proto: "RIBOMBEE"), + 744: .same(proto: "ROCKRUFF"), + 745: .same(proto: "LYCANROC"), + 746: .same(proto: "WISHIWASHI"), + 747: .same(proto: "MAREANIE"), + 748: .same(proto: "TOXAPEX"), + 749: .same(proto: "MUDBRAY"), + 750: .same(proto: "MUDSDALE"), + 751: .same(proto: "DEWPIDER"), + 752: .same(proto: "ARAQUANID"), + 753: .same(proto: "FOMANTIS"), + 754: .same(proto: "LURANTIS"), + 755: .same(proto: "MORELULL"), + 756: .same(proto: "SHIINOTIC"), + 757: .same(proto: "SALANDIT"), + 758: .same(proto: "SALAZZLE"), + 759: .same(proto: "STUFFUL"), + 760: .same(proto: "BEWEAR"), + 761: .same(proto: "BOUNSWEET"), + 762: .same(proto: "STEENEE"), + 763: .same(proto: "TSAREENA"), + 764: .same(proto: "COMFEY"), + 765: .same(proto: "ORANGURU"), + 766: .same(proto: "PASSIMIAN"), + 767: .same(proto: "WIMPOD"), + 768: .same(proto: "GOLISOPOD"), + 769: .same(proto: "SANDYGAST"), + 770: .same(proto: "PALOSSAND"), + 771: .same(proto: "PYUKUMUKU"), + 772: .same(proto: "TYPE_NULL"), + 773: .same(proto: "SILVALLY"), + 774: .same(proto: "MINIOR"), + 775: .same(proto: "KOMALA"), + 776: .same(proto: "TURTONATOR"), + 777: .same(proto: "TOGEDEMARU"), + 778: .same(proto: "MIMIKYU"), + 779: .same(proto: "BRUXISH"), + 780: .same(proto: "DRAMPA"), + 781: .same(proto: "DHELMISE"), + 782: .same(proto: "JANGMO_O"), + 783: .same(proto: "HAKAMO_O"), + 784: .same(proto: "KOMMO_O"), + 785: .same(proto: "TAPU_KOKO"), + 786: .same(proto: "TAPU_LELE"), + 787: .same(proto: "TAPU_BULU"), + 788: .same(proto: "TAPU_FINI"), + 789: .same(proto: "COSMOG"), + 790: .same(proto: "COSMOEM"), + 791: .same(proto: "SOLGALEO"), + 792: .same(proto: "LUNALA"), + 793: .same(proto: "NIHILEGO"), + 794: .same(proto: "BUZZWOLE"), + 795: .same(proto: "PHEROMOSA"), + 796: .same(proto: "XURKITREE"), + 797: .same(proto: "CELESTEELA"), + 798: .same(proto: "KARTANA"), + 799: .same(proto: "GUZZLORD"), + 800: .same(proto: "NECROZMA"), + 801: .same(proto: "MAGEARNA"), + 802: .same(proto: "MARSHADOW"), + 803: .same(proto: "POIPOLE"), + 804: .same(proto: "NAGANADEL"), + 805: .same(proto: "STAKATAKA"), + 806: .same(proto: "BLACEPHALON"), + 807: .same(proto: "ZERAORA"), + 808: .same(proto: "MELTAN"), + 809: .same(proto: "MELMETAL"), + 810: .same(proto: "GROOKEY"), + 811: .same(proto: "THWACKEY"), + 812: .same(proto: "RILLABOOM"), + 813: .same(proto: "SCORBUNNY"), + 814: .same(proto: "RABOOT"), + 815: .same(proto: "CINDERACE"), + 816: .same(proto: "SOBBLE"), + 817: .same(proto: "DRIZZILE"), + 818: .same(proto: "INTELEON"), + 819: .same(proto: "SKWOVET"), + 820: .same(proto: "GREEDENT"), + 821: .same(proto: "ROOKIDEE"), + 822: .same(proto: "CORVISQUIRE"), + 823: .same(proto: "CORVIKNIGHT"), + 824: .same(proto: "BLIPBUG"), + 825: .same(proto: "DOTTLER"), + 826: .same(proto: "ORBEETLE"), + 827: .same(proto: "NICKIT"), + 828: .same(proto: "THIEVUL"), + 829: .same(proto: "GOSSIFLEUR"), + 830: .same(proto: "ELDEGOSS"), + 831: .same(proto: "WOOLOO"), + 832: .same(proto: "DUBWOOL"), + 833: .same(proto: "CHEWTLE"), + 834: .same(proto: "DREDNAW"), + 835: .same(proto: "YAMPER"), + 836: .same(proto: "BOLTUND"), + 837: .same(proto: "ROLYCOLY"), + 838: .same(proto: "CARKOL"), + 839: .same(proto: "COALOSSAL"), + 840: .same(proto: "APPLIN"), + 841: .same(proto: "FLAPPLE"), + 842: .same(proto: "APPLETUN"), + 843: .same(proto: "SILICOBRA"), + 844: .same(proto: "SANDACONDA"), + 845: .same(proto: "CRAMORANT"), + 846: .same(proto: "ARROKUDA"), + 847: .same(proto: "BARRASKEWDA"), + 848: .same(proto: "TOXEL"), + 849: .same(proto: "TOXTRICITY"), + 850: .same(proto: "SIZZLIPEDE"), + 851: .same(proto: "CENTISKORCH"), + 852: .same(proto: "CLOBBOPUS"), + 853: .same(proto: "GRAPPLOCT"), + 854: .same(proto: "SINISTEA"), + 855: .same(proto: "POLTEAGEIST"), + 856: .same(proto: "HATENNA"), + 857: .same(proto: "HATTREM"), + 858: .same(proto: "HATTERENE"), + 859: .same(proto: "IMPIDIMP"), + 860: .same(proto: "MORGREM"), + 861: .same(proto: "GRIMMSNARL"), + 862: .same(proto: "OBSTAGOON"), + 863: .same(proto: "PERRSERKER"), + 864: .same(proto: "CURSOLA"), + 865: .same(proto: "SIRFETCHD"), + 866: .same(proto: "MR_RIME"), + 867: .same(proto: "RUNERIGUS"), + 868: .same(proto: "MILCERY"), + 869: .same(proto: "ALCREMIE"), + 870: .same(proto: "FALINKS"), + 871: .same(proto: "PINCURCHIN"), + 872: .same(proto: "SNOM"), + 873: .same(proto: "FROSMOTH"), + 874: .same(proto: "STONJOURNER"), + 875: .same(proto: "EISCUE"), + 876: .same(proto: "INDEEDEE"), + 877: .same(proto: "MORPEKO"), + 878: .same(proto: "CUFANT"), + 879: .same(proto: "COPPERAJAH"), + 880: .same(proto: "DRACOZOLT"), + 881: .same(proto: "ARCTOZOLT"), + 882: .same(proto: "DRACOVISH"), + 883: .same(proto: "ARCTOVISH"), + 884: .same(proto: "DURALUDON"), + 885: .same(proto: "DREEPY"), + 886: .same(proto: "DRAKLOAK"), + 887: .same(proto: "DRAGAPULT"), + 888: .same(proto: "ZACIAN"), + 889: .same(proto: "ZAMAZENTA"), + 890: .same(proto: "ETERNATUS"), + 891: .same(proto: "KUBFU"), + 892: .same(proto: "URSHIFU"), + 893: .same(proto: "ZARUDE"), + 894: .same(proto: "REGIELEKI"), + 895: .same(proto: "REGIDRAGO"), + 896: .same(proto: "GLASTRIER"), + 897: .same(proto: "SPECTRIER"), + 898: .same(proto: "CALYREX"), + 899: .same(proto: "WYRDEER"), + 900: .same(proto: "KLEAVOR"), + 901: .same(proto: "URSALUNA"), + 902: .same(proto: "BASCULEGION"), + 903: .same(proto: "SNEASLER"), + 904: .same(proto: "OVERQWIL"), + 905: .same(proto: "ENAMORUS"), + 906: .same(proto: "SPRIGATITO"), + 907: .same(proto: "FLORAGATO"), + 908: .same(proto: "MEOWSCARADA"), + 909: .same(proto: "FUECOCO"), + 910: .same(proto: "CROCALOR"), + 911: .same(proto: "SKELEDIRGE"), + 912: .same(proto: "QUAXLY"), + 913: .same(proto: "QUAXWELL"), + 914: .same(proto: "QUAQUAVAL"), + 915: .same(proto: "LECHONK"), + 916: .same(proto: "OINKOLOGNE"), + 917: .same(proto: "TAROUNTULA"), + 918: .same(proto: "SPIDOPS"), + 919: .same(proto: "NYMBLE"), + 920: .same(proto: "LOKIX"), + 921: .same(proto: "PAWMI"), + 922: .same(proto: "PAWMO"), + 923: .same(proto: "PAWMOT"), + 924: .same(proto: "TANDEMAUS"), + 925: .same(proto: "MAUSHOLD"), + 926: .same(proto: "FIDOUGH"), + 927: .same(proto: "DACHSBUN"), + 928: .same(proto: "SMOLIV"), + 929: .same(proto: "DOLLIV"), + 930: .same(proto: "ARBOLIVA"), + 931: .same(proto: "SQUAWKABILLY"), + 932: .same(proto: "NACLI"), + 933: .same(proto: "NACLSTACK"), + 934: .same(proto: "GARGANACL"), + 935: .same(proto: "CHARCADET"), + 936: .same(proto: "ARMAROUGE"), + 937: .same(proto: "CERULEDGE"), + 938: .same(proto: "TADBULB"), + 939: .same(proto: "BELLIBOLT"), + 940: .same(proto: "WATTREL"), + 941: .same(proto: "KILOWATTREL"), + 942: .same(proto: "MASCHIFF"), + 943: .same(proto: "MABOSSTIFF"), + 944: .same(proto: "SHROODLE"), + 945: .same(proto: "GRAFAIAI"), + 946: .same(proto: "BRAMBLIN"), + 947: .same(proto: "BRAMBLEGHAST"), + 948: .same(proto: "TOEDSCOOL"), + 949: .same(proto: "TOEDSCRUEL"), + 950: .same(proto: "KLAWF"), + 951: .same(proto: "CAPSAKID"), + 952: .same(proto: "SCOVILLAIN"), + 953: .same(proto: "RELLOR"), + 954: .same(proto: "RABSCA"), + 955: .same(proto: "FLITTLE"), + 956: .same(proto: "ESPATHRA"), + 957: .same(proto: "TINKATINK"), + 958: .same(proto: "TINKATUFF"), + 959: .same(proto: "TINKATON"), + 960: .same(proto: "WIGLETT"), + 961: .same(proto: "WUGTRIO"), + 962: .same(proto: "BOMBIRDIER"), + 963: .same(proto: "FINIZEN"), + 964: .same(proto: "PALAFIN"), + 965: .same(proto: "VAROOM"), + 966: .same(proto: "REVAVROOM"), + 967: .same(proto: "CYCLIZAR"), + 968: .same(proto: "ORTHWORM"), + 969: .same(proto: "GLIMMET"), + 970: .same(proto: "GLIMMORA"), + 971: .same(proto: "GREAVARD"), + 972: .same(proto: "HOUNDSTONE"), + 973: .same(proto: "FLAMIGO"), + 974: .same(proto: "CETODDLE"), + 975: .same(proto: "CETITAN"), + 976: .same(proto: "VELUZA"), + 977: .same(proto: "DONDOZO"), + 978: .same(proto: "TATSUGIRI"), + 979: .same(proto: "ANNIHILAPE"), + 980: .same(proto: "CLODSIRE"), + 981: .same(proto: "FARIGIRAF"), + 982: .same(proto: "DUDUNSPARCE"), + 983: .same(proto: "KINGAMBIT"), + 984: .same(proto: "GREATTUSK"), + 985: .same(proto: "SCREAMTAIL"), + 986: .same(proto: "BRUTEBONNET"), + 987: .same(proto: "FLUTTERMANE"), + 988: .same(proto: "SLITHERWING"), + 989: .same(proto: "SANDYSHOCKS"), + 990: .same(proto: "IRONTREADS"), + 991: .same(proto: "IRONBUNDLE"), + 992: .same(proto: "IRONHANDS"), + 993: .same(proto: "IRONJUGULIS"), + 994: .same(proto: "IRONMOTH"), + 995: .same(proto: "IRONTHORNS"), + 996: .same(proto: "FRIGIBAX"), + 997: .same(proto: "ARCTIBAX"), + 998: .same(proto: "BAXCALIBUR"), + 999: .same(proto: "GIMMIGHOUL"), + 1000: .same(proto: "GHOLDENGO"), + 1001: .same(proto: "WOCHIEN"), + 1002: .same(proto: "CHIENPAO"), + 1003: .same(proto: "TINGLU"), + 1004: .same(proto: "CHIYU"), + 1005: .same(proto: "ROARINGMOON"), + 1006: .same(proto: "IRONVALIANT"), + 1007: .same(proto: "KORAIDON"), + 1008: .same(proto: "MIRAIDON"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() - case 6: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) - } - if !self.attackingPokemonID.isEmpty { - try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcceptCombatChallengeProto, rhs: AcceptCombatChallengeProto) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} - if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AcceptCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcceptCombatChallengeResponseDataProto" +extension HoloPokemonMove: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), - 4: .same(proto: "challenge"), + 0: .same(proto: "MOVE_UNSET"), + 1: .same(proto: "THUNDER_SHOCK"), + 2: .same(proto: "QUICK_ATTACK"), + 3: .same(proto: "SCRATCH"), + 4: .same(proto: "EMBER"), + 5: .same(proto: "VINE_WHIP"), + 6: .same(proto: "TACKLE"), + 7: .same(proto: "RAZOR_LEAF"), + 8: .same(proto: "TAKE_DOWN"), + 9: .same(proto: "WATER_GUN"), + 10: .same(proto: "BITE"), + 11: .same(proto: "POUND"), + 12: .same(proto: "DOUBLE_SLAP"), + 13: .same(proto: "WRAP"), + 14: .same(proto: "HYPER_BEAM"), + 15: .same(proto: "LICK"), + 16: .same(proto: "DARK_PULSE"), + 17: .same(proto: "SMOG"), + 18: .same(proto: "SLUDGE"), + 19: .same(proto: "METAL_CLAW"), + 20: .same(proto: "VICE_GRIP"), + 21: .same(proto: "FLAME_WHEEL"), + 22: .same(proto: "MEGAHORN"), + 23: .same(proto: "WING_ATTACK"), + 24: .same(proto: "FLAMETHROWER"), + 25: .same(proto: "SUCKER_PUNCH"), + 26: .same(proto: "DIG"), + 27: .same(proto: "LOW_KICK"), + 28: .same(proto: "CROSS_CHOP"), + 29: .same(proto: "PSYCHO_CUT"), + 30: .same(proto: "PSYBEAM"), + 31: .same(proto: "EARTHQUAKE"), + 32: .same(proto: "STONE_EDGE"), + 33: .same(proto: "ICE_PUNCH"), + 34: .same(proto: "HEART_STAMP"), + 35: .same(proto: "DISCHARGE"), + 36: .same(proto: "FLASH_CANNON"), + 37: .same(proto: "PECK"), + 38: .same(proto: "DRILL_PECK"), + 39: .same(proto: "ICE_BEAM"), + 40: .same(proto: "BLIZZARD"), + 41: .same(proto: "AIR_SLASH"), + 42: .same(proto: "HEAT_WAVE"), + 43: .same(proto: "TWINEEDLE"), + 44: .same(proto: "POISON_JAB"), + 45: .same(proto: "AERIAL_ACE"), + 46: .same(proto: "DRILL_RUN"), + 47: .same(proto: "PETAL_BLIZZARD"), + 48: .same(proto: "MEGA_DRAIN"), + 49: .same(proto: "BUG_BUZZ"), + 50: .same(proto: "POISON_FANG"), + 51: .same(proto: "NIGHT_SLASH"), + 52: .same(proto: "SLASH"), + 53: .same(proto: "BUBBLE_BEAM"), + 54: .same(proto: "SUBMISSION"), + 55: .same(proto: "KARATE_CHOP"), + 56: .same(proto: "LOW_SWEEP"), + 57: .same(proto: "AQUA_JET"), + 58: .same(proto: "AQUA_TAIL"), + 59: .same(proto: "SEED_BOMB"), + 60: .same(proto: "PSYSHOCK"), + 61: .same(proto: "ROCK_THROW"), + 62: .same(proto: "ANCIENT_POWER"), + 63: .same(proto: "ROCK_TOMB"), + 64: .same(proto: "ROCK_SLIDE"), + 65: .same(proto: "POWER_GEM"), + 66: .same(proto: "SHADOW_SNEAK"), + 67: .same(proto: "SHADOW_PUNCH"), + 68: .same(proto: "SHADOW_CLAW"), + 69: .same(proto: "OMINOUS_WIND"), + 70: .same(proto: "SHADOW_BALL"), + 71: .same(proto: "BULLET_PUNCH"), + 72: .same(proto: "MAGNET_BOMB"), + 73: .same(proto: "STEEL_WING"), + 74: .same(proto: "IRON_HEAD"), + 75: .same(proto: "PARABOLIC_CHARGE"), + 76: .same(proto: "SPARK"), + 77: .same(proto: "THUNDER_PUNCH"), + 78: .same(proto: "THUNDER"), + 79: .same(proto: "THUNDERBOLT"), + 80: .same(proto: "TWISTER"), + 81: .same(proto: "DRAGON_BREATH"), + 82: .same(proto: "DRAGON_PULSE"), + 83: .same(proto: "DRAGON_CLAW"), + 84: .same(proto: "DISARMING_VOICE"), + 85: .same(proto: "DRAINING_KISS"), + 86: .same(proto: "DAZZLING_GLEAM"), + 87: .same(proto: "MOONBLAST"), + 88: .same(proto: "PLAY_ROUGH"), + 89: .same(proto: "CROSS_POISON"), + 90: .same(proto: "SLUDGE_BOMB"), + 91: .same(proto: "SLUDGE_WAVE"), + 92: .same(proto: "GUNK_SHOT"), + 93: .same(proto: "MUD_SHOT"), + 94: .same(proto: "BONE_CLUB"), + 95: .same(proto: "BULLDOZE"), + 96: .same(proto: "MUD_BOMB"), + 97: .same(proto: "FURY_CUTTER"), + 98: .same(proto: "BUG_BITE"), + 99: .same(proto: "SIGNAL_BEAM"), + 100: .same(proto: "X_SCISSOR"), + 101: .same(proto: "FLAME_CHARGE"), + 102: .same(proto: "FLAME_BURST"), + 103: .same(proto: "FIRE_BLAST"), + 104: .same(proto: "BRINE"), + 105: .same(proto: "WATER_PULSE"), + 106: .same(proto: "SCALD"), + 107: .same(proto: "HYDRO_PUMP"), + 108: .same(proto: "PSYCHIC"), + 109: .same(proto: "PSYSTRIKE"), + 110: .same(proto: "ICE_SHARD"), + 111: .same(proto: "ICY_WIND"), + 112: .same(proto: "FROST_BREATH"), + 113: .same(proto: "ABSORB"), + 114: .same(proto: "GIGA_DRAIN"), + 115: .same(proto: "FIRE_PUNCH"), + 116: .same(proto: "SOLAR_BEAM"), + 117: .same(proto: "LEAF_BLADE"), + 118: .same(proto: "POWER_WHIP"), + 119: .same(proto: "SPLASH"), + 120: .same(proto: "ACID"), + 121: .same(proto: "AIR_CUTTER"), + 122: .same(proto: "HURRICANE"), + 123: .same(proto: "BRICK_BREAK"), + 124: .same(proto: "CUT"), + 125: .same(proto: "SWIFT"), + 126: .same(proto: "HORN_ATTACK"), + 127: .same(proto: "STOMP"), + 128: .same(proto: "HEADBUTT"), + 129: .same(proto: "HYPER_FANG"), + 130: .same(proto: "SLAM"), + 131: .same(proto: "BODY_SLAM"), + 132: .same(proto: "REST"), + 133: .same(proto: "STRUGGLE"), + 134: .same(proto: "SCALD_BLASTOISE"), + 135: .same(proto: "HYDRO_PUMP_BLASTOISE"), + 136: .same(proto: "WRAP_GREEN"), + 137: .same(proto: "WRAP_PINK"), + 200: .same(proto: "FURY_CUTTER_FAST"), + 201: .same(proto: "BUG_BITE_FAST"), + 202: .same(proto: "BITE_FAST"), + 203: .same(proto: "SUCKER_PUNCH_FAST"), + 204: .same(proto: "DRAGON_BREATH_FAST"), + 205: .same(proto: "THUNDER_SHOCK_FAST"), + 206: .same(proto: "SPARK_FAST"), + 207: .same(proto: "LOW_KICK_FAST"), + 208: .same(proto: "KARATE_CHOP_FAST"), + 209: .same(proto: "EMBER_FAST"), + 210: .same(proto: "WING_ATTACK_FAST"), + 211: .same(proto: "PECK_FAST"), + 212: .same(proto: "LICK_FAST"), + 213: .same(proto: "SHADOW_CLAW_FAST"), + 214: .same(proto: "VINE_WHIP_FAST"), + 215: .same(proto: "RAZOR_LEAF_FAST"), + 216: .same(proto: "MUD_SHOT_FAST"), + 217: .same(proto: "ICE_SHARD_FAST"), + 218: .same(proto: "FROST_BREATH_FAST"), + 219: .same(proto: "QUICK_ATTACK_FAST"), + 220: .same(proto: "SCRATCH_FAST"), + 221: .same(proto: "TACKLE_FAST"), + 222: .same(proto: "POUND_FAST"), + 223: .same(proto: "CUT_FAST"), + 224: .same(proto: "POISON_JAB_FAST"), + 225: .same(proto: "ACID_FAST"), + 226: .same(proto: "PSYCHO_CUT_FAST"), + 227: .same(proto: "ROCK_THROW_FAST"), + 228: .same(proto: "METAL_CLAW_FAST"), + 229: .same(proto: "BULLET_PUNCH_FAST"), + 230: .same(proto: "WATER_GUN_FAST"), + 231: .same(proto: "SPLASH_FAST"), + 232: .same(proto: "WATER_GUN_FAST_BLASTOISE"), + 233: .same(proto: "MUD_SLAP_FAST"), + 234: .same(proto: "ZEN_HEADBUTT_FAST"), + 235: .same(proto: "CONFUSION_FAST"), + 236: .same(proto: "POISON_STING_FAST"), + 237: .same(proto: "BUBBLE_FAST"), + 238: .same(proto: "FEINT_ATTACK_FAST"), + 239: .same(proto: "STEEL_WING_FAST"), + 240: .same(proto: "FIRE_FANG_FAST"), + 241: .same(proto: "ROCK_SMASH_FAST"), + 242: .same(proto: "TRANSFORM_FAST"), + 243: .same(proto: "COUNTER_FAST"), + 244: .same(proto: "POWDER_SNOW_FAST"), + 245: .same(proto: "CLOSE_COMBAT"), + 246: .same(proto: "DYNAMIC_PUNCH"), + 247: .same(proto: "FOCUS_BLAST"), + 248: .same(proto: "AURORA_BEAM"), + 249: .same(proto: "CHARGE_BEAM_FAST"), + 250: .same(proto: "VOLT_SWITCH_FAST"), + 251: .same(proto: "WILD_CHARGE"), + 252: .same(proto: "ZAP_CANNON"), + 253: .same(proto: "DRAGON_TAIL_FAST"), + 254: .same(proto: "AVALANCHE"), + 255: .same(proto: "AIR_SLASH_FAST"), + 256: .same(proto: "BRAVE_BIRD"), + 257: .same(proto: "SKY_ATTACK"), + 258: .same(proto: "SAND_TOMB"), + 259: .same(proto: "ROCK_BLAST"), + 260: .same(proto: "INFESTATION_FAST"), + 261: .same(proto: "STRUGGLE_BUG_FAST"), + 262: .same(proto: "SILVER_WIND"), + 263: .same(proto: "ASTONISH_FAST"), + 264: .same(proto: "HEX_FAST"), + 265: .same(proto: "NIGHT_SHADE"), + 266: .same(proto: "IRON_TAIL_FAST"), + 267: .same(proto: "GYRO_BALL"), + 268: .same(proto: "HEAVY_SLAM"), + 269: .same(proto: "FIRE_SPIN_FAST"), + 270: .same(proto: "OVERHEAT"), + 271: .same(proto: "BULLET_SEED_FAST"), + 272: .same(proto: "GRASS_KNOT"), + 273: .same(proto: "ENERGY_BALL"), + 274: .same(proto: "EXTRASENSORY_FAST"), + 275: .same(proto: "FUTURESIGHT"), + 276: .same(proto: "MIRROR_COAT"), + 277: .same(proto: "OUTRAGE"), + 278: .same(proto: "SNARL_FAST"), + 279: .same(proto: "CRUNCH"), + 280: .same(proto: "FOUL_PLAY"), + 281: .same(proto: "HIDDEN_POWER_FAST"), + 282: .same(proto: "TAKE_DOWN_FAST"), + 283: .same(proto: "WATERFALL_FAST"), + 284: .same(proto: "SURF"), + 285: .same(proto: "DRACO_METEOR"), + 286: .same(proto: "DOOM_DESIRE"), + 287: .same(proto: "YAWN_FAST"), + 288: .same(proto: "PSYCHO_BOOST"), + 289: .same(proto: "ORIGIN_PULSE"), + 290: .same(proto: "PRECIPICE_BLADES"), + 291: .same(proto: "PRESENT_FAST"), + 292: .same(proto: "WEATHER_BALL_FIRE"), + 293: .same(proto: "WEATHER_BALL_ICE"), + 294: .same(proto: "WEATHER_BALL_ROCK"), + 295: .same(proto: "WEATHER_BALL_WATER"), + 296: .same(proto: "FRENZY_PLANT"), + 297: .same(proto: "SMACK_DOWN_FAST"), + 298: .same(proto: "BLAST_BURN"), + 299: .same(proto: "HYDRO_CANNON"), + 300: .same(proto: "LAST_RESORT"), + 301: .same(proto: "METEOR_MASH"), + 302: .same(proto: "SKULL_BASH"), + 303: .same(proto: "ACID_SPRAY"), + 304: .same(proto: "EARTH_POWER"), + 305: .same(proto: "CRABHAMMER"), + 306: .same(proto: "LUNGE"), + 307: .same(proto: "CRUSH_CLAW"), + 308: .same(proto: "OCTAZOOKA"), + 309: .same(proto: "MIRROR_SHOT"), + 310: .same(proto: "SUPER_POWER"), + 311: .same(proto: "FELL_STINGER"), + 312: .same(proto: "LEAF_TORNADO"), + 313: .same(proto: "LEECH_LIFE"), + 314: .same(proto: "DRAIN_PUNCH"), + 315: .same(proto: "SHADOW_BONE"), + 316: .same(proto: "MUDDY_WATER"), + 317: .same(proto: "BLAZE_KICK"), + 318: .same(proto: "RAZOR_SHELL"), + 319: .same(proto: "POWER_UP_PUNCH"), + 320: .same(proto: "CHARM_FAST"), + 321: .same(proto: "GIGA_IMPACT"), + 322: .same(proto: "FRUSTRATION"), + 323: .same(proto: "RETURN"), + 324: .same(proto: "SYNCHRONOISE"), + 325: .same(proto: "LOCK_ON_FAST"), + 326: .same(proto: "THUNDER_FANG_FAST"), + 327: .same(proto: "ICE_FANG_FAST"), + 328: .same(proto: "HORN_DRILL"), + 329: .same(proto: "FISSURE"), + 330: .same(proto: "SACRED_SWORD"), + 331: .same(proto: "FLYING_PRESS"), + 332: .same(proto: "AURA_SPHERE"), + 333: .same(proto: "PAYBACK"), + 334: .same(proto: "ROCK_WRECKER"), + 335: .same(proto: "AEROBLAST"), + 336: .same(proto: "TECHNO_BLAST_NORMAL"), + 337: .same(proto: "TECHNO_BLAST_BURN"), + 338: .same(proto: "TECHNO_BLAST_CHILL"), + 339: .same(proto: "TECHNO_BLAST_WATER"), + 340: .same(proto: "TECHNO_BLAST_SHOCK"), + 341: .same(proto: "FLY"), + 342: .same(proto: "V_CREATE"), + 343: .same(proto: "LEAF_STORM"), + 344: .same(proto: "TRI_ATTACK"), + 345: .same(proto: "GUST_FAST"), + 346: .same(proto: "INCINERATE_FAST"), + 347: .same(proto: "DARK_VOID"), + 348: .same(proto: "FEATHER_DANCE"), + 349: .same(proto: "FIERY_DANCE"), + 350: .same(proto: "FAIRY_WIND_FAST"), + 351: .same(proto: "RELIC_SONG"), + 352: .same(proto: "WEATHER_BALL_NORMAL"), + 353: .same(proto: "PSYCHIC_FANGS"), + 354: .same(proto: "HYPERSPACE_FURY"), + 355: .same(proto: "HYPERSPACE_HOLE"), + 356: .same(proto: "DOUBLE_KICK_FAST"), + 357: .same(proto: "MAGICAL_LEAF_FAST"), + 358: .same(proto: "SACRED_FIRE"), + 359: .same(proto: "ICICLE_SPEAR"), + 360: .same(proto: "AEROBLAST_PLUS"), + 361: .same(proto: "AEROBLAST_PLUS_PLUS"), + 362: .same(proto: "SACRED_FIRE_PLUS"), + 363: .same(proto: "SACRED_FIRE_PLUS_PLUS"), + 364: .same(proto: "ACROBATICS"), + 365: .same(proto: "LUSTER_PURGE"), + 366: .same(proto: "MIST_BALL"), + 367: .same(proto: "BRUTAL_SWING"), + 368: .same(proto: "ROLLOUT_FAST"), + 369: .same(proto: "SEED_FLARE"), + 370: .same(proto: "OBSTRUCT"), + 371: .same(proto: "SHADOW_FORCE"), + 372: .same(proto: "METEOR_BEAM"), + 373: .same(proto: "WATER_SHURIKEN_FAST"), + 374: .same(proto: "FUSION_BOLT"), + 375: .same(proto: "FUSION_FLARE"), + 376: .same(proto: "POLTERGEIST"), + 377: .same(proto: "HIGH_HORSEPOWER"), + 378: .same(proto: "GLACIATE"), + 379: .same(proto: "BREAKING_SWIPE"), + 380: .same(proto: "BOOMBURST"), + 381: .same(proto: "DOUBLE_IRON_BASH"), + 382: .same(proto: "MYSTICAL_FIRE"), + 383: .same(proto: "LIQUIDATION"), + 384: .same(proto: "DRAGON_ASCENT"), + 385: .same(proto: "LEAFAGE_FAST"), + 386: .same(proto: "MAGMA_STORM"), + 387: .same(proto: "GEOMANCY_FAST"), + 388: .same(proto: "SPACIAL_REND"), + 389: .same(proto: "OBLIVION_WING"), + 390: .same(proto: "NATURES_MADNESS"), + 391: .same(proto: "TRIPLE_AXEL"), + 392: .same(proto: "TRAILBLAZE"), + 393: .same(proto: "SCORCHING_SANDS"), + 394: .same(proto: "ROAR_OF_TIME"), + 395: .same(proto: "BLEAKWIND_STORM"), + 396: .same(proto: "SANDSEAR_STORM"), + 397: .same(proto: "WILDBOLT_STORM"), + 398: .same(proto: "SPIRIT_SHACKLE"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) - } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) - } - try { if let v = self._challenge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcceptCombatChallengeResponseDataProto, rhs: AcceptCombatChallengeResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} - if lhs._challenge != rhs._challenge {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AcceptFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcceptFriendInviteOutProto" +extension HoloPokemonMovementType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "friend"), + 0: .same(proto: "MOVEMENT_STATIC"), + 1: .same(proto: "MOVEMENT_JUMP"), + 2: .same(proto: "MOVEMENT_VERTICAL"), + 3: .same(proto: "MOVEMENT_PSYCHIC"), + 4: .same(proto: "MOVEMENT_ELECTRIC"), + 5: .same(proto: "MOVEMENT_FLYING"), + 6: .same(proto: "MOVEMENT_HOVERING"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._friend) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._friend { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcceptFriendInviteOutProto, rhs: AcceptFriendInviteOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._friend != rhs._friend {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AcceptFriendInviteOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension HoloPokemonNature: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_INVITE_DOES_NOT_EXIST"), - 4: .same(proto: "ERROR_MAX_FRIENDS_LIMIT_REACHED_DELETED"), - 5: .same(proto: "ERROR_INVITE_HAS_BEEN_CANCELLED"), - 6: .same(proto: "ERROR_SENDER_HAS_MAX_FRIENDS"), - 7: .same(proto: "ERROR_RECEIVER_HAS_MAX_FRIENDS"), - 8: .same(proto: "ERROR_SENDER_IS_BLOCKED"), + 0: .same(proto: "NATURE_UNKNOWN"), + 1: .same(proto: "POKEMON_NATURE_STOIC"), + 2: .same(proto: "POKEMON_NATURE_ASSASSIN"), + 3: .same(proto: "POKEMON_NATURE_GUARDIAN"), + 4: .same(proto: "POKEMON_NATURE_RAIDER"), + 5: .same(proto: "POKEMON_NATURE_PROTECTOR"), + 6: .same(proto: "POKEMON_NATURE_SENTRY"), + 7: .same(proto: "POKEMON_NATURE_CHAMPION"), ] } -extension AcceptFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcceptFriendInviteProto" +extension HoloPokemonSize: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "nia_account_id"), + 0: .same(proto: "POKEMON_SIZE_UNSET"), + 1: .same(proto: "XXS"), + 2: .same(proto: "XS"), + 3: .same(proto: "M"), + 4: .same(proto: "XL"), + 5: .same(proto: "XXL"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) - } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcceptFriendInviteProto, rhs: AcceptFriendInviteProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension AccountContactSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AccountContactSettings" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AccountContactSettings, rhs: AccountContactSettings) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AccountContactSettings.ConsentStatus: SwiftProtobuf._ProtoNameProviding { +extension HoloPokemonType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "OPT_IN"), - 2: .same(proto: "OPT_OUT"), + 0: .same(proto: "POKEMON_TYPE_NONE"), + 1: .same(proto: "POKEMON_TYPE_NORMAL"), + 2: .same(proto: "POKEMON_TYPE_FIGHTING"), + 3: .same(proto: "POKEMON_TYPE_FLYING"), + 4: .same(proto: "POKEMON_TYPE_POISON"), + 5: .same(proto: "POKEMON_TYPE_GROUND"), + 6: .same(proto: "POKEMON_TYPE_ROCK"), + 7: .same(proto: "POKEMON_TYPE_BUG"), + 8: .same(proto: "POKEMON_TYPE_GHOST"), + 9: .same(proto: "POKEMON_TYPE_STEEL"), + 10: .same(proto: "POKEMON_TYPE_FIRE"), + 11: .same(proto: "POKEMON_TYPE_WATER"), + 12: .same(proto: "POKEMON_TYPE_GRASS"), + 13: .same(proto: "POKEMON_TYPE_ELECTRIC"), + 14: .same(proto: "POKEMON_TYPE_PSYCHIC"), + 15: .same(proto: "POKEMON_TYPE_ICE"), + 16: .same(proto: "POKEMON_TYPE_DRAGON"), + 17: .same(proto: "POKEMON_TYPE_DARK"), + 18: .same(proto: "POKEMON_TYPE_FAIRY"), ] } -extension AccountDeletionInitiatedTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AccountDeletionInitiatedTelemetry" +extension HoloTemporaryEvolutionId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "account_deletion_status"), + 0: .same(proto: "TEMP_EVOLUTION_UNSET"), + 1: .same(proto: "TEMP_EVOLUTION_MEGA"), + 2: .same(proto: "TEMP_EVOLUTION_MEGA_X"), + 3: .same(proto: "TEMP_EVOLUTION_MEGA_Y"), + 4: .same(proto: "TEMP_EVOLUTION_PRIMAL"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.accountDeletionStatus) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.accountDeletionStatus.isEmpty { - try visitor.visitSingularStringField(value: self.accountDeletionStatus, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AccountDeletionInitiatedTelemetry, rhs: AccountDeletionInitiatedTelemetry) -> Bool { - if lhs.accountDeletionStatus != rhs.accountDeletionStatus {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AccountSettingsDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AccountSettingsDataProto" +extension IapLibraryVersion: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "onboarded_identity_portal"), - 2: .standard(proto: "game_to_settings"), - 3: .standard(proto: "contact_list_consent"), + 0: .same(proto: "IAP_LIBRARY_VERSION_DEFAULT"), + 1: .same(proto: "IAP_LIBRARY_VERSION_IODINE_1_8"), + 2: .same(proto: "IAP_LIBRARY_VERSION_NIA_IAP_4"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.onboardedIdentityPortal) }() - case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.gameToSettings) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._contactListConsent) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.onboardedIdentityPortal != .unset { - try visitor.visitSingularEnumField(value: self.onboardedIdentityPortal, fieldNumber: 1) - } - if !self.gameToSettings.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.gameToSettings, fieldNumber: 2) - } - try { if let v = self._contactListConsent { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AccountSettingsDataProto, rhs: AccountSettingsDataProto) -> Bool { - if lhs.onboardedIdentityPortal != rhs.onboardedIdentityPortal {return false} - if lhs.gameToSettings != rhs.gameToSettings {return false} - if lhs._contactListConsent != rhs._contactListConsent {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AccountSettingsDataProto.Consent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AccountSettingsDataProto.protoMessageName + ".Consent" +extension IncidentDisplayType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 0: .same(proto: "INCIDENT_DISPLAY_TYPE_NONE"), + 1: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_GRUNT"), + 2: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_LEADER"), + 3: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_GIOVANNI"), + 4: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_GRUNTB"), + 5: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_EVENT_NPC"), + 6: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_ROUTES_NPC"), + 7: .same(proto: "INCIDENT_DISPLAY_TYPE_INVASION_GENERIC"), + 8: .same(proto: "INCIDENT_DISPLAY_TYPE_INCIDENT_POKESTOP_ENCOUNTER"), + 9: .same(proto: "INCIDENT_DISPLAY_TYPE_INCIDENT_CONTEST"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unknown { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AccountSettingsDataProto.Consent, rhs: AccountSettingsDataProto.Consent) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AccountSettingsDataProto.Consent.Status: SwiftProtobuf._ProtoNameProviding { +extension InternalCrmClientActionMethod: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "OPT_IN"), - 2: .same(proto: "OPT_OUT"), + 0: .same(proto: "INTERNAL_CRM_CLIENT_ACTION_UNKNOWN"), + 1: .same(proto: "INTERNAL_CRM_CLIENT_ACTION_DELETE_ACCOUNT"), + 2: .same(proto: "INTERNAL_CRM_CLIENT_ACTION_DATA_ACCESS"), + 3: .same(proto: "INTERNAL_CRM_CLIENT_ACTION_DELETE_ACCOUNT_EMAIL_ON_FILE"), ] } -extension AccountSettingsDataProto.GameSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AccountSettingsDataProto.protoMessageName + ".GameSettings" +extension InternalGarClientActionMethod: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "visibility"), + 0: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_UNKNOWN_GAR_CLIENT_ACTION"), + 1: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_GET_MY_ACCOUNT"), + 2: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_SEND_SMS_VERIFICATION_CODE"), + 3: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_UPDATE_PHONE_NUMBER"), + 4: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_CREATE_SHARED_LOGIN_TOKEN"), + 5: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_GET_CLIENT_SETTINGS"), + 6: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_SET_ACCOUNT_CONTACT_SETTINGS"), + 7: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_DELETE_PHONE_NUMBER"), + 8: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_ACKNOWLEDGE_INFORMATION"), + 9: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_CHECK_AVATAR_IMAGES"), + 10: .same(proto: "INTERNAL_GAR_CLIENT_ACTION_UPDATE_AVATAR_IMAGE"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.visibility) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.visibility != .unset { - try visitor.visitSingularEnumField(value: self.visibility, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AccountSettingsDataProto.GameSettings, rhs: AccountSettingsDataProto.GameSettings) -> Bool { - if lhs.visibility != rhs.visibility {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AccountSettingsDataProto.Onboarded: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AccountSettingsDataProto.protoMessageName + ".Onboarded" +extension InternalInvitationType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 0: .same(proto: "INVITATION_TYPE_UNSET"), + 1: .same(proto: "INVITATION_TYPE_CODE"), + 2: .same(proto: "INVITATION_TYPE_FACEBOOK"), + 3: .same(proto: "INVITATION_TYPE_SERVER_REQUEST"), + 4: .same(proto: "INVITATION_TYPE_NIANTIC_SOCIAL_GRAPH"), + 5: .same(proto: "INVITATION_TYPE_ADDRESS_BOOK_IMPORT"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AccountSettingsDataProto.Onboarded, rhs: AccountSettingsDataProto.Onboarded) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AccountSettingsDataProto.Onboarded.Status: SwiftProtobuf._ProtoNameProviding { +extension InternalNotificationState: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "INTERNAL_NOTIFICATION_STATE_UNSET_STATE"), + 1: .same(proto: "INTERNAL_NOTIFICATION_STATE_VIEWED"), + ] +} + +extension InternalPlatformClientAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "INTERNAL_UNKNOWN_PLATFORM_CLIENT_ACTION"), + 5000: .same(proto: "INTERNAL_REGISTER_PUSH_NOTIFICATION"), + 5001: .same(proto: "INTERNAL_UNREGISTER_PUSH_NOTIFICATION"), + 5002: .same(proto: "INTERNAL_UPDATE_NOTIFICATION_STATUS"), + 5003: .same(proto: "INTERNAL_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), + 5004: .same(proto: "INTERNAL_DOWNLOAD_GAME_MASTER_TEMPLATES"), + 5005: .same(proto: "INTERNAL_GET_INVENTORY"), + 5006: .same(proto: "INTERNAL_REDEEM_PASSCODE"), + 5007: .same(proto: "INTERNAL_PING"), + 5008: .same(proto: "INTERNAL_ADD_LOGIN_ACTION"), + 5009: .same(proto: "INTERNAL_REMOVE_LOGIN_ACTION"), + 5010: .same(proto: "INTERNAL_LIST_LOGIN_ACTION"), + 5011: .same(proto: "INTERNAL_ADD_NEW_POI"), + 5012: .same(proto: "INTERNAL_PROXY_SOCIAL_ACTION"), + 5013: .same(proto: "INTERNAL_DEPRECATED_CLIENT_TELEMETRY"), + 5014: .same(proto: "INTERNAL_GET_AVAILABLE_SUBMISSIONS"), + 5015: .same(proto: "INTERNAL_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), + 5016: .same(proto: "INTERNAL_REPLACE_LOGIN_ACTION"), + 5017: .same(proto: "INTERNAL_PROXY_SOCIAL_SIDE_CHANNEL_ACTION"), + 5018: .same(proto: "INTERNAL_COLLECT_CLIENT_TELEMETRY"), + 5019: .same(proto: "INTERNAL_PURCHASE_SKU"), + 5020: .same(proto: "INTERNAL_GET_AVAILABLE_SKUS_AND_BALANCES"), + 5021: .same(proto: "INTERNAL_REDEEM_GOOGLE_RECEIPT"), + 5022: .same(proto: "INTERNAL_REDEEM_APPLE_RECEIPT"), + 5023: .same(proto: "INTERNAL_REDEEM_DESKTOP_RECEIPT"), + 5024: .same(proto: "INTERNAL_UPDATE_FITNESS_METRICS"), + 5025: .same(proto: "INTERNAL_GET_FITNESS_REPORT"), + 5026: .same(proto: "INTERNAL_GET_CLIENT_TELEMETRY_SETTINGS"), + 5027: .same(proto: "INTERNAL_PING_ASYNC"), + 5028: .same(proto: "INTERNAL_REGISTER_BACKGROUND_SERVICE"), + 5029: .same(proto: "INTERNAL_GET_CLIENT_BGMODE_SETTINGS"), + 5030: .same(proto: "INTERNAL_PING_DOWNSTREAM"), + 5032: .same(proto: "INTERNAL_SET_IN_GAME_CURRENCY_EXCHANGE_RATE"), + 5033: .same(proto: "INTERNAL_REQUEST_GEOFENCE_UPDATES"), + 5034: .same(proto: "INTERNAL_UPDATE_PLAYER_LOCATION"), + 5035: .same(proto: "INTERNAL_GENERATE_GMAP_SIGNED_URL"), + 5036: .same(proto: "INTERNAL_GET_GMAP_SETTINGS"), + 5037: .same(proto: "INTERNAL_REDEEM_SAMSUNG_RECEIPT"), + 5038: .same(proto: "INTERNAL_ADD_NEW_ROUTE"), + 5039: .same(proto: "INTERNAL_GET_OUTSTANDING_WARNINGS"), + 5040: .same(proto: "INTERNAL_ACKNOWLEDGE_WARNINGS"), + 5041: .same(proto: "INTERNAL_SUBMIT_POI_IMAGE"), + 5042: .same(proto: "INTERNAL_SUBMIT_POI_TEXT_METADATA_UPDATE"), + 5043: .same(proto: "INTERNAL_SUBMIT_POI_LOCATION_UPDATE"), + 5044: .same(proto: "INTERNAL_SUBMIT_POI_TAKEDOWN_REQUEST"), + 5045: .same(proto: "INTERNAL_GET_WEB_TOKEN_ACTION"), + 5046: .same(proto: "INTERNAL_GET_ADVENTURE_SYNC_SETTINGS"), + 5047: .same(proto: "INTERNAL_UPDATE_ADVENTURE_SYNC_SETTINGS"), + 5048: .same(proto: "INTERNAL_SET_BIRTHDAY"), + 5049: .same(proto: "INTERNAL_FETCH_NEWSFEED_ACTION"), + 5050: .same(proto: "INTERNAL_MARK_NEWSFEED_READ_ACTION"), + ] +} + +extension InternalSocialAction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SKIPPED"), - 2: .same(proto: "SEEN"), + 0: .same(proto: "SOCIAL_ACTION_UNKNOWN_SOCIAL_ACTION"), + 10000: .same(proto: "SOCIAL_ACTION_SEARCH_PLAYER"), + 10002: .same(proto: "SOCIAL_ACTION_SEND_FRIEND_INVITE"), + 10003: .same(proto: "SOCIAL_ACTION_CANCEL_FRIEND_INVITE"), + 10004: .same(proto: "SOCIAL_ACTION_ACCEPT_FRIEND_INVITE"), + 10005: .same(proto: "SOCIAL_ACTION_DECLINE_FRIEND_INVITE"), + 10006: .same(proto: "SOCIAL_ACTION_LIST_FRIENDS"), + 10007: .same(proto: "SOCIAL_ACTION_LIST_OUTGOING_FRIEND_INVITES"), + 10008: .same(proto: "SOCIAL_ACTION_LIST_INCOMING_FRIEND_INVITES"), + 10009: .same(proto: "SOCIAL_ACTION_REMOVE_FRIEND"), + 10010: .same(proto: "SOCIAL_ACTION_LIST_FRIEND_STATUS"), + 10011: .same(proto: "SOCIAL_ACTION_SEND_FACEBOOK_FRIEND_INVITE"), + 10012: .same(proto: "SOCIAL_ACTION_IS_MY_FRIEND"), + 10013: .same(proto: "SOCIAL_ACTION_CREATE_INVITE_CODE"), + 10014: .same(proto: "SOCIAL_ACTION_GET_FACEBOOK_FRIEND_LIST"), + 10015: .same(proto: "SOCIAL_ACTION_UPDATE_FACEBOOK_STATUS"), + 10016: .same(proto: "SOCIAL_ACTION_SAVE_PLAYER_SETTINGS"), + 10017: .same(proto: "SOCIAL_ACTION_GET_PLAYER_SETTINGS"), + 10018: .same(proto: "SOCIAL_ACTION_GET_NIANTIC_FRIEND_LIST_DELETED"), + 10019: .same(proto: "SOCIAL_ACTION_GET_NIANTIC_FRIEND_DETAILS_DELETED"), + 10020: .same(proto: "SOCIAL_ACTION_SEND_NIANTIC_FRIEND_INVITE_DELETED"), + 10021: .same(proto: "SOCIAL_ACTION_SET_ACCOUNT_SETTINGS"), + 10022: .same(proto: "SOCIAL_ACTION_GET_ACCOUNT_SETTINGS"), + 10023: .same(proto: "SOCIAL_ACTION_ADD_FAVORITE_FRIEND"), + 10024: .same(proto: "SOCIAL_ACTION_REMOVE_FAVORITE_FRIEND"), + 10025: .same(proto: "SOCIAL_ACTION_BLOCK_ACCOUNT"), + 10026: .same(proto: "SOCIAL_ACTION_UNBLOCK_ACCOUNT"), + 10027: .same(proto: "SOCIAL_ACTION_GET_OUTGING_BLOCKS"), + 10028: .same(proto: "SOCIAL_ACTION_IS_ACCOUNT_BLOCKED"), + 10101: .same(proto: "SOCIAL_ACTION_REGISTER_PUSH_NOTIFICATION"), + 10102: .same(proto: "SOCIAL_ACTION_UNREGISTER_PUSH_NOTIFICATION"), + 10103: .same(proto: "SOCIAL_ACTION_UPDATE_NOTIFICATION"), + 10104: .same(proto: "SOCIAL_ACTION_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), + 10105: .same(proto: "SOCIAL_ACTION_GET_INBOX"), + 10201: .same(proto: "SOCIAL_ACTION_GET_SIGNED_URL"), + 10202: .same(proto: "SOCIAL_ACTION_SUBMIT_IMAGE"), + 10203: .same(proto: "SOCIAL_ACTION_GET_PHOTOS"), + 10204: .same(proto: "SOCIAL_ACTION_DELETE_PHOTO"), + 10205: .same(proto: "SOCIAL_ACTION_FLAG_PHOTO"), + 20001: .same(proto: "SOCIAL_ACTION_UPDATE_PROFILE_V2"), + 20002: .same(proto: "SOCIAL_ACTION_UPDATE_FRIENDSHIP_V2"), + 20003: .same(proto: "SOCIAL_ACTION_GET_PROFILE_V2"), + 20004: .same(proto: "SOCIAL_ACTION_INVITE_GAME_V2"), + 20005: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_2"), + 20006: .same(proto: "SOCIAL_ACTION_LIST_FRIENDS_V2"), + 20007: .same(proto: "SOCIAL_ACTION_GET_FRIEND_DETAILS_V2"), + 20008: .same(proto: "SOCIAL_ACTION_GET_CLIENT_FEATURE_FLAGS_V2"), + 20009: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_1"), + 20010: .same(proto: "SOCIAL_ACTION_GET_INCOMING_GAME_INVITES_V2"), + 20011: .same(proto: "SOCIAL_ACTION_UPDATE_INCOMING_GAME_INVITE_V2"), + 20012: .same(proto: "SOCIAL_ACTION_DISMISS_OUTGOING_GAME_INVITES_V2"), + 20013: .same(proto: "SOCIAL_ACTION_SYNC_CONTACT_LIST_V2"), + 20014: .same(proto: "SOCIAL_ACTION_SEND_CONTACT_LIST_FRIEND_INVITE_V2"), + 20015: .same(proto: "SOCIAL_ACTION_REFER_CONTACT_LIST_FRIEND_V2"), + 20016: .same(proto: "SOCIAL_ACTION_GET_CONTACT_LIST_INFO_V2"), + 20017: .same(proto: "SOCIAL_ACTION_DISMISS_CONTACT_LIST_UPDATE_V2"), + 20018: .same(proto: "SOCIAL_ACTION_NOTIFY_CONTACT_LIST_FRIENDS_V2"), + 20019: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_6"), + 20020: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_7"), + 20400: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_3"), + 20401: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_4"), + 20402: .same(proto: "SOCIAL_ACTION_RESERVED_ACTION_5"), + 20500: .same(proto: "SOCIAL_ACTION_GET_FRIEND_RECOMMENDATION"), ] } -extension AccountSettingsDataProto.Visibility: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AccountSettingsDataProto.protoMessageName + ".Visibility" +extension InvasionTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 0: .same(proto: "INVASION_TELEMETRY_IDS_UNDEFINED_INVASION_EVENT"), + 1: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_NPC_TAP"), + 2: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_BATTLE_STARTED"), + 3: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_BATTLE_FINISHED"), + 4: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_ENCOUNTER_STARTED"), + 5: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_ENCOUNTER_FINISHED"), + 6: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_POKEMON_PURIFIED"), + 7: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_AFTER_POI_EXITED"), + 8: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_RADAR_VIEW_OPENED"), + 9: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_RADAR_VIEW_CLOSED"), + 10: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_RADAR_VIEW_EMPTY"), + 11: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_DECOY_FOUND"), + 12: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_GIOVANNI_FOUND"), + 13: .same(proto: "INVASION_TELEMETRY_IDS_INVASION_BALLOON_TAP"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AccountSettingsDataProto.Visibility, rhs: AccountSettingsDataProto.Visibility) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AccountSettingsDataProto.Visibility.Status: SwiftProtobuf._ProtoNameProviding { +extension InventoryUpgradeType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "EVERYONE"), - 2: .same(proto: "FRIENDS"), - 3: .same(proto: "PRIVATE"), + 0: .same(proto: "UPGRADE_UNSET"), + 1: .same(proto: "INCREASE_ITEM_STORAGE"), + 2: .same(proto: "INCREASE_POKEMON_STORAGE"), + 3: .same(proto: "INCREASE_POSTCARD_STORAGE"), ] } -extension AccountSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AccountSettingsProto" +extension Item: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "opt_out_social_graph_import"), - 2: .standard(proto: "online_status_consent"), - 3: .standard(proto: "last_played_date_consent"), - 4: .standard(proto: "codename_consent"), - 5: .standard(proto: "contact_list_consent"), - 6: .standard(proto: "full_name"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.optOutSocialGraphImport) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.onlineStatusConsent) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.lastPlayedDateConsent) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.codenameConsent) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.contactListConsent) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.fullName) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.optOutSocialGraphImport != false { - try visitor.visitSingularBoolField(value: self.optOutSocialGraphImport, fieldNumber: 1) - } - if self.onlineStatusConsent != .unknown { - try visitor.visitSingularEnumField(value: self.onlineStatusConsent, fieldNumber: 2) - } - if self.lastPlayedDateConsent != .unknown { - try visitor.visitSingularEnumField(value: self.lastPlayedDateConsent, fieldNumber: 3) - } - if self.codenameConsent != .unknown { - try visitor.visitSingularEnumField(value: self.codenameConsent, fieldNumber: 4) - } - if self.contactListConsent != .unknown { - try visitor.visitSingularEnumField(value: self.contactListConsent, fieldNumber: 5) - } - if !self.fullName.isEmpty { - try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AccountSettingsProto, rhs: AccountSettingsProto) -> Bool { - if lhs.optOutSocialGraphImport != rhs.optOutSocialGraphImport {return false} - if lhs.onlineStatusConsent != rhs.onlineStatusConsent {return false} - if lhs.lastPlayedDateConsent != rhs.lastPlayedDateConsent {return false} - if lhs.codenameConsent != rhs.codenameConsent {return false} - if lhs.contactListConsent != rhs.contactListConsent {return false} - if lhs.fullName != rhs.fullName {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } + 0: .same(proto: "ITEM_UNKNOWN"), + 1: .same(proto: "ITEM_POKE_BALL"), + 2: .same(proto: "ITEM_GREAT_BALL"), + 3: .same(proto: "ITEM_ULTRA_BALL"), + 4: .same(proto: "ITEM_MASTER_BALL"), + 5: .same(proto: "ITEM_PREMIER_BALL"), + 6: .same(proto: "ITEM_BEAST_BALL"), + 101: .same(proto: "ITEM_POTION"), + 102: .same(proto: "ITEM_SUPER_POTION"), + 103: .same(proto: "ITEM_HYPER_POTION"), + 104: .same(proto: "ITEM_MAX_POTION"), + 201: .same(proto: "ITEM_REVIVE"), + 202: .same(proto: "ITEM_MAX_REVIVE"), + 301: .same(proto: "ITEM_LUCKY_EGG"), + 401: .same(proto: "ITEM_INCENSE_ORDINARY"), + 402: .same(proto: "ITEM_INCENSE_SPICY"), + 403: .same(proto: "ITEM_INCENSE_COOL"), + 404: .same(proto: "ITEM_INCENSE_FLORAL"), + 405: .same(proto: "ITEM_INCENSE_BELUGA_BOX"), + 406: .same(proto: "ITEM_INCENSE_DAILY_ADVENTURE"), + 407: .same(proto: "ITEM_INCENSE_SPARKLY"), + 501: .same(proto: "ITEM_TROY_DISK"), + 502: .same(proto: "ITEM_TROY_DISK_GLACIAL"), + 503: .same(proto: "ITEM_TROY_DISK_MOSSY"), + 504: .same(proto: "ITEM_TROY_DISK_MAGNETIC"), + 505: .same(proto: "ITEM_TROY_DISK_RAINY"), + 506: .same(proto: "ITEM_TROY_DISK_SPARKLY"), + 602: .same(proto: "ITEM_X_ATTACK"), + 603: .same(proto: "ITEM_X_DEFENSE"), + 604: .same(proto: "ITEM_X_MIRACLE"), + 650: .same(proto: "ITEM_BEANS"), + 651: .same(proto: "ITEM_BREAKFAST"), + 701: .same(proto: "ITEM_RAZZ_BERRY"), + 702: .same(proto: "ITEM_BLUK_BERRY"), + 703: .same(proto: "ITEM_NANAB_BERRY"), + 704: .same(proto: "ITEM_WEPAR_BERRY"), + 705: .same(proto: "ITEM_PINAP_BERRY"), + 706: .same(proto: "ITEM_GOLDEN_RAZZ_BERRY"), + 707: .same(proto: "ITEM_GOLDEN_NANAB_BERRY"), + 708: .same(proto: "ITEM_GOLDEN_PINAP_BERRY"), + 709: .same(proto: "ITEM_POFFIN"), + 801: .same(proto: "ITEM_SPECIAL_CAMERA"), + 802: .same(proto: "ITEM_STICKER_INVENTORY"), + 803: .same(proto: "ITEM_POSTCARD_INVENTORY"), + 901: .same(proto: "ITEM_INCUBATOR_BASIC_UNLIMITED"), + 902: .same(proto: "ITEM_INCUBATOR_BASIC"), + 903: .same(proto: "ITEM_INCUBATOR_SUPER"), + 1001: .same(proto: "ITEM_POKEMON_STORAGE_UPGRADE"), + 1002: .same(proto: "ITEM_ITEM_STORAGE_UPGRADE"), + 1003: .same(proto: "ITEM_POSTCARD_STORAGE_UPGRADE"), + 1101: .same(proto: "ITEM_SUN_STONE"), + 1102: .same(proto: "ITEM_KINGS_ROCK"), + 1103: .same(proto: "ITEM_METAL_COAT"), + 1104: .same(proto: "ITEM_DRAGON_SCALE"), + 1105: .same(proto: "ITEM_UP_GRADE"), + 1106: .same(proto: "ITEM_GEN4_EVOLUTION_STONE"), + 1107: .same(proto: "ITEM_GEN5_EVOLUTION_STONE"), + 1150: .same(proto: "ITEM_OTHER_EVOLUTION_STONE_A"), + 1201: .same(proto: "ITEM_MOVE_REROLL_FAST_ATTACK"), + 1202: .same(proto: "ITEM_MOVE_REROLL_SPECIAL_ATTACK"), + 1203: .same(proto: "ITEM_MOVE_REROLL_ELITE_FAST_ATTACK"), + 1204: .same(proto: "ITEM_MOVE_REROLL_ELITE_SPECIAL_ATTACK"), + 1250: .same(proto: "ITEM_MOVE_REROLL_OTHER_SPECIAL_ATTACK_A"), + 1301: .same(proto: "ITEM_RARE_CANDY"), + 1302: .same(proto: "ITEM_XL_RARE_CANDY"), + 1401: .same(proto: "ITEM_FREE_RAID_TICKET"), + 1402: .same(proto: "ITEM_PAID_RAID_TICKET"), + 1404: .same(proto: "ITEM_STAR_PIECE"), + 1405: .same(proto: "ITEM_FRIEND_GIFT_BOX"), + 1406: .same(proto: "ITEM_TEAM_CHANGE"), + 1408: .same(proto: "ITEM_REMOTE_RAID_TICKET"), + 1409: .same(proto: "ITEM_S_RAID_TICKET"), + 1501: .same(proto: "ITEM_LEADER_MAP_FRAGMENT"), + 1502: .same(proto: "ITEM_LEADER_MAP"), + 1503: .same(proto: "ITEM_GIOVANNI_MAP"), + 1504: .same(proto: "ITEM_SHADOW_GEM_FRAGMENT"), + 1505: .same(proto: "ITEM_SHADOW_GEM"), + 1600: .same(proto: "ITEM_GLOBAL_EVENT_TICKET"), + 1601: .same(proto: "ITEM_EVENT_TICKET_PINK"), + 1602: .same(proto: "ITEM_EVENT_TICKET_GRAY"), + 1603: .same(proto: "ITEM_GLOBAL_EVENT_TICKET_TO_GIFT"), + 1604: .same(proto: "ITEM_EVENT_TICKET_PINK_TO_GIFT"), + 1605: .same(proto: "ITEM_EVENT_TICKET_GRAY_TO_GIFT"), + 1606: .same(proto: "ITEM_BATTLE_PASS_TICKET"), + 1607: .same(proto: "ITEM_EVERGREEN_TICKET"), + 1608: .same(proto: "ITEM_EVERGREEN_TICKET_TO_GIFT"), + 1609: .same(proto: "ITEM_DEPRECATED_1"), + 1610: .same(proto: "ITEM_TICKET_CITY_SAFARI_00"), + 1611: .same(proto: "ITEM_TICKET_CITY_SAFARI_01"), + 1612: .same(proto: "ITEM_TICKET_CITY_SAFARI_02"), + 1613: .same(proto: "ITEM_TICKET_CITY_SAFARI_03"), + 1614: .same(proto: "ITEM_TICKET_CITY_SAFARI_04"), + 1615: .same(proto: "ITEM_EVENT_TICKET_01"), + 1616: .same(proto: "ITEM_EVENT_TICKET_02"), + 1617: .same(proto: "ITEM_EVENT_TICKET_03"), + 1618: .same(proto: "ITEM_EVENT_TICKET_04"), + 1619: .same(proto: "ITEM_EVENT_TICKET_05"), + 1620: .same(proto: "ITEM_EVENT_TICKET_06"), + 1621: .same(proto: "ITEM_EVENT_TICKET_07"), + 1622: .same(proto: "ITEM_EVENT_TICKET_08"), + 1623: .same(proto: "ITEM_EVENT_TICKET_09"), + 1624: .same(proto: "ITEM_EVENT_TICKET_10"), + 1625: .same(proto: "ITEM_EVENT_TICKET_01_TO_GIFT"), + 1626: .same(proto: "ITEM_EVENT_TICKET_02_TO_GIFT"), + 1627: .same(proto: "ITEM_EVENT_TICKET_03_TO_GIFT"), + 1628: .same(proto: "ITEM_EVENT_TICKET_04_TO_GIFT"), + 1629: .same(proto: "ITEM_EVENT_TICKET_05_TO_GIFT"), + 1630: .same(proto: "ITEM_EVENT_TICKET_06_TO_GIFT"), + 1631: .same(proto: "ITEM_EVENT_TICKET_07_TO_GIFT"), + 1632: .same(proto: "ITEM_EVENT_TICKET_08_TO_GIFT"), + 1633: .same(proto: "ITEM_EVENT_TICKET_09_TO_GIFT"), + 1634: .same(proto: "ITEM_EVENT_TICKET_10_TO_GIFT"), + ] } -extension AcknowledgePunishmentOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcknowledgePunishmentOutProto" +extension ItemUseTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 0: .same(proto: "ITEM_USE_TELEMETRY_IDS_UNDEFINED_ITEM_EVENT"), + 1: .same(proto: "ITEM_USE_TELEMETRY_IDS_USE_ITEM"), + 2: .same(proto: "ITEM_USE_TELEMETRY_IDS_RECYCLE_ITEM"), + 3: .same(proto: "ITEM_USE_TELEMETRY_IDS_UPDATE_ITEM_EQUIPPED"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcknowledgePunishmentOutProto, rhs: AcknowledgePunishmentOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AcknowledgePunishmentOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension LocationCard: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), + 0: .same(proto: "LOCATION_CARD_UNSET"), + 1: .same(proto: "LC_2023_LASVEGAS_GOTOUR_001"), + 2: .same(proto: "LC_2023_JEJU_AIRADVENTURES_001"), + 3: .same(proto: "LC_2023_NYC_GOFEST_001"), + 4: .same(proto: "LC_2023_LONDON_GOFEST_001"), + 5: .same(proto: "LC_2023_OSAKA_GOFEST_001"), + 6: .same(proto: "LC_2023_SEOUL_CITYSAFARI_001"), + 7: .same(proto: "LC_2023_BARCELONA_CITYSAFARI_001"), + 8: .same(proto: "LC_2023_MEXICOCITY_CITYSAFARI_001"), + 9: .same(proto: "LC_2024_LOSANGELES_GOTOUR_001"), + 10: .same(proto: "LC_2024_BALI_AIRADVENTURES_001"), + 11: .same(proto: "LC_2024_TAINAN_CITYSAFARI_001"), ] } -extension AcknowledgePunishmentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcknowledgePunishmentProto" +extension LoginActionTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_warn"), - 2: .standard(proto: "is_suspended"), + 0: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_UNDEFINED_LOGIN_ACTION"), + 1: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_AGE_GATE"), + 2: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_NEW_PLAYER"), + 3: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_EXISTING_PLAYER"), + 4: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_GOOGLE"), + 5: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_GOOGLE"), + 6: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_GOOGLE"), + 7: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_FACEBOOK"), + 8: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_FACEBOOK"), + 9: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_FACEBOOK"), + 10: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_PTC"), + 11: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_EXIT_PTC"), + 12: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_PTC_REGISTER"), + 13: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_PTC_SIGN_IN"), + 14: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_PTC_SIGN_IN"), + 15: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_PTC_SIGN_IN"), + 16: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_SUPERAWESOME"), + 17: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_EXIT_SUPERAWESOME"), + 18: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_SUPERAWESOME_REGISTER"), + 19: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_SUPERAWESOME_FORGOT_PASSWORD"), + 20: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_SUPERAWESOME_SIGN_IN"), + 21: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_SUPERAWESOME_SIGN_IN"), + 22: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_SUPERAWESOME_SIGN_IN"), + 23: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_EXIT_NEW_PLAYER"), + 24: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_EXIT_EXISTING_PLAYER"), + 25: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_LOGIN_STARTED"), + 26: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_APPLE"), + 27: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_APPLE"), + 28: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_APPLE"), + 29: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_GUEST"), + 30: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_GUEST"), + 31: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_GUEST"), + 32: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_PTC_OAUTH"), + 33: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_EXIT_PTC_OAUTH"), + 34: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_PTC_OAUTH_REGISTER"), + 35: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CLICK_PTC_OAUTH_SIGN_IN"), + 36: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_CANCEL_PTC_OAUTH_SIGN_IN"), + 37: .same(proto: "LOGIN_ACTION_TELEMETRY_IDS_COMPLETE_PTC_OAUTH_SIGN_IN"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isWarn) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isSuspended) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.isWarn != false { - try visitor.visitSingularBoolField(value: self.isWarn, fieldNumber: 1) - } - if self.isSuspended != false { - try visitor.visitSingularBoolField(value: self.isSuspended, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcknowledgePunishmentProto, rhs: AcknowledgePunishmentProto) -> Bool { - if lhs.isWarn != rhs.isWarn {return false} - if lhs.isSuspended != rhs.isSuspended {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AcknowledgeWarningsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcknowledgeWarningsRequestProto" +extension MapEventsTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "warning"), + 0: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_UNDEFINED_MAP_EVENT"), + 1: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_ITEM_BAG"), + 2: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_MAIN_MENU"), + 3: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_POKEDEX"), + 4: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_PROFILE"), + 5: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_SETTINGS"), + 6: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_SHOP_FROM_MAP"), + 7: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_GYM"), + 8: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_POKESTOP"), + 9: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_RESEARCH"), + 10: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_COMPASS"), + 11: .same(proto: "MAP_EVENTS_TELEMETRY_IDS_NEARBY"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.warning) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.warning.isEmpty { - try visitor.visitPackedEnumField(value: self.warning, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcknowledgeWarningsRequestProto, rhs: AcknowledgeWarningsRequestProto) -> Bool { - if lhs.warning != rhs.warning {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AcknowledgeWarningsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AcknowledgeWarningsResponseProto" +extension MementoType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "success"), + 0: .same(proto: "MEMENTO_POSTCARD"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AcknowledgeWarningsResponseProto, rhs: AcknowledgeWarningsResponseProto) -> Bool { - if lhs.success != rhs.success {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ActionExecution: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ActionExecution" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ActionExecution, rhs: ActionExecution) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension ActionExecution.ExecutionMethod: SwiftProtobuf._ProtoNameProviding { +extension Method: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DEFAULT"), - 1: .same(proto: "SYNCHRONOUS"), - 2: .same(proto: "ASYNCHRONOUS"), + 0: .same(proto: "METHOD_UNSET"), + 2: .same(proto: "METHOD_GET_PLAYER"), + 4: .same(proto: "METHOD_GET_HOLOHOLO_INVENTORY"), + 5: .same(proto: "METHOD_DOWNLOAD_SETTINGS"), + 6: .same(proto: "METHOD_DOWNLOAD_ITEM_TEMPLATES"), + 7: .same(proto: "METHOD_DOWNLOAD_REMOTE_CONFIG_VERSION"), + 8: .same(proto: "METHOD_REGISTER_BACKGROUND_DEVICE"), + 9: .same(proto: "METHOD_GET_PLAYER_DAY"), + 10: .same(proto: "METHOD_ACKNOWLEDGE_PUNISHMENT"), + 11: .same(proto: "METHOD_GET_SERVER_TIME"), + 12: .same(proto: "METHOD_GET_LOCAL_TIME"), + 101: .same(proto: "METHOD_FORT_SEARCH"), + 102: .same(proto: "METHOD_ENCOUNTER"), + 103: .same(proto: "METHOD_CATCH_POKEMON"), + 104: .same(proto: "METHOD_FORT_DETAILS"), + 106: .same(proto: "METHOD_GET_MAP_OBJECTS"), + 110: .same(proto: "METHOD_FORT_DEPLOY_POKEMON"), + 111: .same(proto: "METHOD_FORT_RECALL_POKEMON"), + 112: .same(proto: "METHOD_RELEASE_POKEMON"), + 113: .same(proto: "METHOD_USE_ITEM_POTION"), + 114: .same(proto: "METHOD_USE_ITEM_CAPTURE"), + 115: .same(proto: "METHOD_USE_ITEM_FLEE"), + 116: .same(proto: "METHOD_USE_ITEM_REVIVE"), + 121: .same(proto: "METHOD_GET_PLAYER_PROFILE"), + 125: .same(proto: "METHOD_EVOLVE_POKEMON"), + 126: .same(proto: "METHOD_GET_HATCHED_EGGS"), + 127: .same(proto: "METHOD_ENCOUNTER_TUTORIAL_COMPLETE"), + 128: .same(proto: "METHOD_LEVEL_UP_REWARDS"), + 129: .same(proto: "METHOD_CHECK_AWARDED_BADGES"), + 137: .same(proto: "METHOD_RECYCLE_INVENTORY_ITEM"), + 138: .same(proto: "METHOD_COLLECT_DAILY_BONUS"), + 139: .same(proto: "METHOD_USE_ITEM_XP_BOOST"), + 140: .same(proto: "METHOD_USE_ITEM_EGG_INCUBATOR"), + 141: .same(proto: "METHOD_USE_INCENSE"), + 142: .same(proto: "METHOD_GET_INCENSE_POKEMON"), + 143: .same(proto: "METHOD_INCENSE_ENCOUNTER"), + 144: .same(proto: "METHOD_ADD_FORT_MODIFIER"), + 145: .same(proto: "METHOD_DISK_ENCOUNTER"), + 147: .same(proto: "METHOD_UPGRADE_POKEMON"), + 148: .same(proto: "METHOD_SET_FAVORITE_POKEMON"), + 149: .same(proto: "METHOD_NICKNAME_POKEMON"), + 150: .same(proto: "METHOD_EQUIP_BADGE"), + 151: .same(proto: "METHOD_SET_CONTACT_SETTINGS"), + 152: .same(proto: "METHOD_SET_BUDDY_POKEMON"), + 153: .same(proto: "METHOD_GET_BUDDY_WALKED"), + 154: .same(proto: "METHOD_USE_ITEM_ENCOUNTER"), + 155: .same(proto: "METHOD_GYM_DEPLOY"), + 156: .same(proto: "METHOD_GYM_GET_INFO"), + 157: .same(proto: "METHOD_GYM_START_SESSION"), + 158: .same(proto: "METHOD_GYM_BATTLE_ATTACK"), + 159: .same(proto: "METHOD_JOIN_LOBBY"), + 160: .same(proto: "METHOD_LEAVE_LOBBY"), + 161: .same(proto: "METHOD_SET_LOBBY_VISIBILITY"), + 162: .same(proto: "METHOD_SET_LOBBY_POKEMON"), + 163: .same(proto: "METHOD_GET_RAID_DETAILS"), + 164: .same(proto: "METHOD_GYM_FEED_POKEMON"), + 165: .same(proto: "METHOD_START_RAID_BATTLE"), + 166: .same(proto: "METHOD_ATTACK_RAID"), + 167: .same(proto: "METHOD_AWARD_POKECOIN"), + 168: .same(proto: "METHOD_USE_ITEM_STARDUST_BOOST"), + 169: .same(proto: "METHOD_REASSIGN_PLAYER"), + 170: .same(proto: "METHOD_REDEEM_POI_PASSCODE"), + 171: .same(proto: "METHOD_CONVERT_CANDY_TO_XL_CANDY"), + 172: .same(proto: "METHOD_IS_SKU_AVAILABLE"), + 173: .same(proto: "METHOD_USE_ITEM_BULK_HEAL"), + 300: .same(proto: "METHOD_GET_ASSET_DIGEST"), + 301: .same(proto: "METHOD_GET_DOWNLOAD_URLS"), + 302: .same(proto: "METHOD_GET_ASSET_VERSION"), + 403: .same(proto: "METHOD_CLAIM_CODENAME"), + 404: .same(proto: "METHOD_SET_AVATAR"), + 405: .same(proto: "METHOD_SET_PLAYER_TEAM"), + 406: .same(proto: "METHOD_MARK_TUTORIAL_COMPLETE"), + 407: .same(proto: "METHOD_UPDATE_PERFORMANCE_METRICS"), + 408: .same(proto: "METHOD_SET_NEUTRAL_AVATAR"), + 409: .same(proto: "METHOD_LIST_AVATAR_STORE_ITEMS"), + 410: .same(proto: "METHOD_LIST_AVATAR_APPEARANCE_ITEMS"), + 450: .same(proto: "METHOD_NEUTRAL_AVATAR_BADGE_REWARD"), + 600: .same(proto: "METHOD_CHECK_CHALLENGE"), + 601: .same(proto: "METHOD_VERIFY_CHALLENGE"), + 666: .same(proto: "METHOD_ECHO"), + 800: .same(proto: "METHOD_SFIDA_REGISTRATION"), + 801: .same(proto: "METHOD_SFIDA_ACTION_LOG"), + 802: .same(proto: "METHOD_SFIDA_CERTIFICATION"), + 803: .same(proto: "METHOD_SFIDA_UPDATE"), + 804: .same(proto: "METHOD_SFIDA_ACTION"), + 805: .same(proto: "METHOD_SFIDA_DOWSER"), + 806: .same(proto: "METHOD_SFIDA_CAPTURE"), + 807: .same(proto: "METHOD_LIST_AVATAR_CUSTOMIZATIONS"), + 808: .same(proto: "METHOD_SET_AVATAR_ITEM_AS_VIEWED"), + 809: .same(proto: "METHOD_GET_INBOX"), + 811: .same(proto: "METHOD_LIST_GYM_BADGES"), + 812: .same(proto: "METHOD_GET_GYM_BADGE_DETAILS"), + 813: .same(proto: "METHOD_USE_ITEM_MOVE_REROLL"), + 814: .same(proto: "METHOD_USE_ITEM_RARE_CANDY"), + 815: .same(proto: "METHOD_AWARD_FREE_RAID_TICKET"), + 816: .same(proto: "METHOD_FETCH_ALL_NEWS"), + 817: .same(proto: "METHOD_MARK_READ_NEWS_ARTICLE"), + 818: .same(proto: "METHOD_GET_PLAYER_DISPLAY_INFO"), + 819: .same(proto: "METHOD_BELUGA_TRANSACTION_START"), + 820: .same(proto: "METHOD_BELUGA_TRANSACTION_COMPLETE"), + 822: .same(proto: "METHOD_SFIDA_ASSOCIATE"), + 823: .same(proto: "METHOD_SFIDA_CHECK_PAIRING"), + 824: .same(proto: "METHOD_SFIDA_DISASSOCIATE"), + 825: .same(proto: "METHOD_WAINA_GET_REWARDS"), + 826: .same(proto: "METHOD_WAINA_SUBMIT_SLEEP_DATA"), + 827: .same(proto: "METHOD_SATURDAY_TRANSACTION_START"), + 828: .same(proto: "METHOD_SATURDAY_TRANSACTION_COMPLETE"), + 829: .same(proto: "METHOD_REIMBURSE_ITEM"), + 900: .same(proto: "METHOD_GET_NEW_QUESTS"), + 901: .same(proto: "METHOD_GET_QUEST_DETAILS"), + 902: .same(proto: "METHOD_COMPLETE_QUEST"), + 903: .same(proto: "METHOD_REMOVE_QUEST"), + 904: .same(proto: "METHOD_QUEST_ENCOUNTER"), + 905: .same(proto: "METHOD_COMPLETE_QUEST_STAMP_CARD"), + 906: .same(proto: "METHOD_PROGRESS_QUEST"), + 907: .same(proto: "METHOD_START_QUEST_INCIDENT"), + 908: .same(proto: "METHOD_READ_QUEST_DIALOG"), + 950: .same(proto: "METHOD_SEND_GIFT"), + 951: .same(proto: "METHOD_OPEN_GIFT"), + 952: .same(proto: "METHOD_GIFT_DETAILS"), + 953: .same(proto: "METHOD_DELETE_GIFT"), + 954: .same(proto: "METHOD_SAVE_PLAYER_SNAPSHOT"), + 955: .same(proto: "METHOD_GET_FRIENDSHIP_MILESTONE_REWARDS"), + 956: .same(proto: "METHOD_CHECK_SEND_GIFT"), + 957: .same(proto: "METHOD_SET_FRIEND_NICKNAME"), + 958: .same(proto: "METHOD_DELETE_GIFT_FROM_INVENTORY"), + 959: .same(proto: "METHOD_SAVE_SOCIAL_PLAYER_SETTINGS"), + 970: .same(proto: "METHOD_OPEN_TRADING"), + 971: .same(proto: "METHOD_UPDATE_TRADING"), + 972: .same(proto: "METHOD_CONFIRM_TRADING"), + 973: .same(proto: "METHOD_CANCEL_TRADING"), + 974: .same(proto: "METHOD_GET_TRADING"), + 980: .same(proto: "METHOD_GET_FITNESS_REWARDS"), + 990: .same(proto: "METHOD_GET_COMBAT_PLAYER_PROFILE"), + 991: .same(proto: "METHOD_GENERATE_COMBAT_CHALLENGE_ID"), + 992: .same(proto: "METHOD_CREATE_COMBAT_CHALLENGE"), + 993: .same(proto: "METHOD_OPEN_COMBAT_CHALLENGE"), + 994: .same(proto: "METHOD_GET_COMBAT_CHALLENGE"), + 995: .same(proto: "METHOD_ACCEPT_COMBAT_CHALLENGE"), + 996: .same(proto: "METHOD_DECLINE_COMBAT_CHALLENGE"), + 997: .same(proto: "METHOD_CANCEL_COMBAT_CHALLENGE"), + 998: .same(proto: "METHOD_SUBMIT_COMBAT_CHALLENGE_POKEMONS"), + 999: .same(proto: "METHOD_SAVE_COMBAT_PLAYER_PREFERENCES"), + 1000: .same(proto: "METHOD_OPEN_COMBAT_SESSION"), + 1001: .same(proto: "METHOD_UPDATE_COMBAT"), + 1002: .same(proto: "METHOD_QUIT_COMBAT"), + 1003: .same(proto: "METHOD_GET_COMBAT_RESULTS"), + 1004: .same(proto: "METHOD_UNLOCK_SPECIAL_MOVE"), + 1005: .same(proto: "METHOD_GET_NPC_COMBAT_REWARDS"), + 1006: .same(proto: "METHOD_COMBAT_FRIEND_REQUEST"), + 1007: .same(proto: "METHOD_OPEN_NPC_COMBAT_SESSION"), + 1008: .same(proto: "METHOD_START_TUTORIAL_ACTION"), + 1009: .same(proto: "METHOD_GET_TUTORIAL_EGG_ACTION"), + 1020: .same(proto: "METHOD_SEND_PROBE"), + 1021: .same(proto: "METHOD_PROBE_DATA"), + 1022: .same(proto: "METHOD_COMBAT_DATA"), + 1023: .same(proto: "METHOD_COMBAT_CHALLENGE_DATA"), + 1101: .same(proto: "METHOD_CHECK_PHOTOBOMB"), + 1102: .same(proto: "METHOD_CONFIRM_PHOTOBOMB"), + 1103: .same(proto: "METHOD_GET_PHOTOBOMB"), + 1104: .same(proto: "METHOD_ENCOUNTER_PHOTOBOMB"), + 1105: .same(proto: "METHOD_GET_SIGNED_GMAP_URL_DEPRECATED"), + 1106: .same(proto: "METHOD_CHANGE_TEAM"), + 1107: .same(proto: "METHOD_GET_WEB_TOKEN"), + 1110: .same(proto: "METHOD_COMPLETE_SNAPSHOT_SESSION"), + 1111: .same(proto: "METHOD_COMPLETE_WILD_SNAPSHOT_SESSION"), + 1200: .same(proto: "METHOD_START_INCIDENT"), + 1201: .same(proto: "METHOD_INVASION_COMPLETE_DIALOGUE"), + 1202: .same(proto: "METHOD_INVASION_OPEN_COMBAT_SESSION"), + 1203: .same(proto: "METHOD_INVASION_BATTLE_UPDATE"), + 1204: .same(proto: "METHOD_INVASION_ENCOUNTER"), + 1205: .same(proto: "METHOD_PURIFY_POKEMON"), + 1206: .same(proto: "METHOD_GET_ROCKET_BALLOON"), + 1207: .same(proto: "METHOD_START_ROCKET_BALLOON_INCIDENT"), + 1300: .same(proto: "METHOD_VS_SEEKER_START_MATCHMAKING"), + 1301: .same(proto: "METHOD_CANCEL_MATCHMAKING"), + 1302: .same(proto: "METHOD_GET_MATCHMAKING_STATUS"), + 1303: .same(proto: "METHOD_COMPLETE_VS_SEEKER_AND_RESTART_CHARGING"), + 1304: .same(proto: "METHOD_GET_VS_SEEKER_STATUS"), + 1305: .same(proto: "METHOD_COMPLETE_COMBAT_COMPETITIVE_SEASON_ACTION"), + 1306: .same(proto: "METHOD_CLAIM_VS_SEEKER_REWARDS"), + 1307: .same(proto: "METHOD_VS_SEEKER_REWARD_ENCOUNTER"), + 1308: .same(proto: "METHOD_ACTIVATE_VS_SEEKER"), + 1350: .same(proto: "METHOD_GET_BUDDY_MAP"), + 1351: .same(proto: "METHOD_GET_BUDDY_STATS"), + 1352: .same(proto: "METHOD_FEED_BUDDY"), + 1353: .same(proto: "METHOD_OPEN_BUDDY_GIFT"), + 1354: .same(proto: "METHOD_PET_BUDDY"), + 1355: .same(proto: "METHOD_GET_BUDDY_HISTORY"), + 1400: .same(proto: "METHOD_UPDATE_ROUTE_DRAFT"), + 1401: .same(proto: "METHOD_GET_MAP_FORTS"), + 1402: .same(proto: "METHOD_SUBMIT_ROUTE_DRAFT"), + 1403: .same(proto: "METHOD_GET_PUBLISHED_ROUTES"), + 1404: .same(proto: "METHOD_START_ROUTE"), + 1405: .same(proto: "METHOD_GET_ROUTES"), + 1406: .same(proto: "METHOD_PROGRESS_ROUTE"), + 1408: .same(proto: "METHOD_PROCESS_TAPPABLE"), + 1409: .same(proto: "METHOD_LIST_ROUTE_BADGES"), + 1410: .same(proto: "METHOD_CANCEL_ROUTE"), + 1411: .same(proto: "METHOD_LIST_ROUTE_STAMPS"), + 1412: .same(proto: "METHOD_RATE_ROUTE"), + 1413: .same(proto: "METHOD_CREATE_ROUTE_DRAFT"), + 1414: .same(proto: "METHOD_DELETE_ROUTE_DRAFT"), + 1415: .same(proto: "METHOD_REPORT_ROUTE"), + 1416: .same(proto: "METHOD_SPAWN_TAPPABLE"), + 1417: .same(proto: "METHOD_ROUTE_ENCOUNTER"), + 1418: .same(proto: "METHOD_CAN_REPORT_ROUTE"), + 1420: .same(proto: "METHOD_ROUTE_UPTATE_SEEN"), + 1421: .same(proto: "METHOD_RECALL_ROUTE_DRAFT"), + 1422: .same(proto: "METHOD_ROUTES_NEARBY_NOTIF_SHOWN"), + 1423: .same(proto: "METHOD_NPC_ROUTE_GIFT"), + 1424: .same(proto: "METHOD_GET_ROUTE_CREATIONS"), + 1456: .same(proto: "METHOD_CREATE_BUDDY_MUTLIPLAYER_SESSION"), + 1457: .same(proto: "METHOD_JOIN_BUDDY_MULTIPLAYER_SESSION"), + 1458: .same(proto: "METHOD_LEAVE_BUDDY_MULTIPLAYER_SESSION"), + 1501: .same(proto: "METHOD_GET_TODAY_VIEW"), + 1502: .same(proto: "METHOD_MEGA_EVOLVE_POKEMON"), + 1503: .same(proto: "METHOD_REMOTE_GIFT_PING"), + 1504: .same(proto: "METHOD_SEND_RAID_INVITATION"), + 1601: .same(proto: "METHOD_GET_DAILY_ENCOUNTER"), + 1602: .same(proto: "METHOD_DAILY_ENCOUNTER"), + 1650: .same(proto: "METHOD_OPEN_SPONSORED_GIFT"), + 1651: .same(proto: "METHOD_SPONSORED_GIFT_REPORT_INTERACTION"), + 1652: .same(proto: "METHOD_SAVE_PLAYER_PREFERENCES"), + 1653: .same(proto: "METHOD_PROFANITY_CHECK"), + 1700: .same(proto: "METHOD_GET_TIMED_GROUP_CHALLENGE"), + 1710: .same(proto: "METHOD_GET_NINTENDO_ACCOUNT"), + 1711: .same(proto: "METHOD_UNLINK_NINTENDO_ACCOUNT"), + 1712: .same(proto: "METHOD_GET_NINTENDO_OAUTH2_URL"), + 1713: .same(proto: "METHOD_TRANSFER_TO_POKEMON_HOME"), + 1716: .same(proto: "METHOD_REPORT_AD_FEEDBACK"), + 1717: .same(proto: "METHOD_CREATE_POKEMON_TAG"), + 1718: .same(proto: "METHOD_DELETE_POKEMON_TAG"), + 1719: .same(proto: "METHOD_EDIT_POKEMON_TAG"), + 1720: .same(proto: "METHOD_SET_POKEMON_TAGS_FOR_POKEMON"), + 1721: .same(proto: "METHOD_GET_POKEMON_TAGS"), + 1722: .same(proto: "METHOD_CHANGE_POKEMON_FORM"), + 1723: .same(proto: "METHOD_CHOOSE_EVENT_VARIANT"), + 1724: .same(proto: "METHOD_BUTTERFLY_COLLECTOR_REWARD_ENCOUNTER"), + 1725: .same(proto: "METHOD_GET_ADDITIONAL_POKEMON_DETAILS"), + 1800: .same(proto: "METHOD_GET_REFERRAL_CODE"), + 1801: .same(proto: "METHOD_ADD_REFERRER"), + 1802: .same(proto: "METHOD_SEND_FRIEND_INVITE_VIA_REFERRAL_CODE"), + 1803: .same(proto: "METHOD_GET_MILESTONES"), + 1804: .same(proto: "METHOD_MARK_MILESTONES_AS_VIEWED"), + 1805: .same(proto: "METHOD_GET_MILESTONES_PREVIEW"), + 1806: .same(proto: "METHOD_COMPLETE_MILESTONE"), + 1820: .same(proto: "METHOD_GET_GEOFENCED_AD"), + 1900: .same(proto: "METHOD_POWER_UP_POKESTOP_ENCOUNTER"), + 1909: .same(proto: "METHOD_DELETE_POSTCARDS"), + 1910: .same(proto: "METHOD_CREATE_POSTCARD"), + 1911: .same(proto: "METHOD_UPDATE_POSTCARD"), + 1912: .same(proto: "METHOD_DELETE_POSTCARD"), + 1913: .same(proto: "METHOD_GET_MEMENTO_LIST"), + 1914: .same(proto: "METHOD_UPLOAD_RAID_CLIENT_LOG"), + 1915: .same(proto: "METHOD_SKIP_ENTER_REFERRAL_CODE"), + 1916: .same(proto: "METHOD_UPLOAD_COMBAT_CLIENT_LOG"), + 1917: .same(proto: "METHOD_COMBAT_SYNC_SERVER_OFFSET"), + 2000: .same(proto: "METHOD_CHECK_GIFTING_ELIGIBILITY"), + 2001: .same(proto: "METHOD_REDEEM_TICKET_GIFT_FOR_FRIEND"), + 2002: .same(proto: "METHOD_GET_INCENSE_RECAP"), + 2003: .same(proto: "METHOD_ACKNOWLEDGE_INCENSE_RECAP"), + 2004: .same(proto: "METHOD_BOOT_RAID"), + 2005: .same(proto: "METHOD_GET_POKESTOP_ENCOUNTER"), + 2006: .same(proto: "METHOD_ENCOUNTER_POKESTOP_ENCOUNTER"), + 2007: .same(proto: "METHOD_POLL_PLAYER_SPAWNABLE_POKEMON"), + 2008: .same(proto: "METHOD_GET_QUEST_UI"), + 2009: .same(proto: "METHOD_GET_ELIGIBLE_COMBAT_LEAGUES"), + 2010: .same(proto: "METHOD_SEND_FRIEND_REQUEST_VIA_PLAYER_IDS"), + 2011: .same(proto: "METHOD_GET_RAID_LOBBY_COUNTER"), + 2014: .same(proto: "METHOD_USE_NON_COMBAT_MOVE"), + 2100: .same(proto: "METHOD_CHECK_POKEMON_SIZE_CONTEST_ELIGIBILITY"), + 2101: .same(proto: "METHOD_UPDATE_POKEMON_SIZE_CONTEST_ENTRY"), + 2102: .same(proto: "METHOD_TRANSFER_POKEMON_SIZE_CONTEST_ENTRY"), + 2103: .same(proto: "METHOD_REMOVE_POKEMON_SIZE_CONTEST_ENTRY"), + 2104: .same(proto: "METHOD_GET_POKEMON_SIZE_CONTEST_ENTRY"), + 2105: .same(proto: "METHOD_GET_CONTEST_DATA"), + 2106: .same(proto: "METHOD_GET_CONTESTS_UNCLAIMED_REWARDS"), + 2107: .same(proto: "METHOD_CLAIM_CONTESTS_REWARDS"), + 2108: .same(proto: "METHOD_GET_ENTERED_CONTEST"), + 2109: .same(proto: "METHOD_GET_POKEMON_SIZE_CONTEST_FRIEND_ENTRY"), + 2150: .same(proto: "METHOD_CHECK_CONTEST_ELIGIBILITY"), + 2151: .same(proto: "METHOD_UPDATE_CONTEST_ENTRY"), + 2152: .same(proto: "METHOD_TRANSFER_CONTEST_ENTRY"), + 2153: .same(proto: "METHOD_GET_CONTEST_FRIEND_ENTRY"), + 2154: .same(proto: "METHOD_GET_CONTEST_ENTRY"), + 2300: .same(proto: "METHOD_CREATE_PARTY"), + 2301: .same(proto: "METHOD_JOIN_PARTY"), + 2302: .same(proto: "METHOD_START_PARTY"), + 2303: .same(proto: "METHOD_LEAVE_PARTY"), + 2304: .same(proto: "METHOD_GET_PARTY"), + 2305: .same(proto: "METHOD_UPDATE_PARTY_LOCATION"), + 2306: .same(proto: "METHOD_SEND_PARTY_DARK_LAUNCH_LOG"), + 2308: .same(proto: "METHOD_START_PARTY_QUEST"), + 2309: .same(proto: "METHOD_COMPLETE_PARTY_QUEST"), + 2350: .same(proto: "METHOD_GET_BONUS_ATTRACTED_POKEMON"), + 2352: .same(proto: "METHOD_GET_BONUSES"), + 2360: .same(proto: "METHOD_BADGE_REWARD_ENCOUNTER"), + 2400: .same(proto: "METHOD_NPC_UPDATE_STATE"), + 2401: .same(proto: "METHOD_NPC_SEND_GIFT"), + 2402: .same(proto: "METHOD_NPC_OPEN_GIFT"), + 3000: .same(proto: "METHOD_GET_VPS_EVENTS"), + 3001: .same(proto: "METHOD_UPDATE_VPS_EVENTS"), + 3002: .same(proto: "METHOD_ADD_PTC_LOGIN_ACTION"), + 3003: .same(proto: "METHOD_CLAIM_PTC_LINKING_REWARD"), + 3004: .same(proto: "METHOD_CAN_CLAIM_PTC_REWARD_ACTION"), + 3005: .same(proto: "METHOD_CONTRIBUTE_PARTY_ITEMS"), + 3006: .same(proto: "METHOD_CONSUME_PARTY_ITEMS"), + 3007: .same(proto: "METHOD_REMOVE_PTC_LOGIN"), + 3008: .same(proto: "METHOD_SEND_PARTY_PLAY_INVITE"), ] } -extension ActionLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ActionLogEntry" +extension NewsPageTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 3: .standard(proto: "catch_pokemon"), - 4: .standard(proto: "fort_search"), - 5: .standard(proto: "buddy_pokemon"), - 6: .standard(proto: "raid_rewards"), - 7: .standard(proto: "passcode_rewards"), - 8: .standard(proto: "complete_quest"), - 9: .standard(proto: "complete_quest_stamp_card"), - 10: .standard(proto: "complete_quest_pokemon_encounter"), - 11: .standard(proto: "beluga_transfer"), - 12: .standard(proto: "open_gift"), - 13: .standard(proto: "send_gift"), - 14: .same(proto: "trading"), - 15: .standard(proto: "share_ex_raid_pass"), - 16: .standard(proto: "decline_ex_raid_pass"), - 17: .standard(proto: "fitness_rewards"), - 18: .same(proto: "combat"), - 19: .standard(proto: "purify_pokemon"), - 20: .standard(proto: "invasion_victory"), - 21: .standard(proto: "vs_seeker_set"), - 22: .standard(proto: "vs_seeker_complete_season"), - 23: .standard(proto: "vs_seeker_win_rewards"), - 24: .standard(proto: "buddy_consumables"), - 25: .standard(proto: "complete_referral_milestone"), - 26: .standard(proto: "daily_adventure_incense"), - 27: .standard(proto: "complete_route_play"), - 28: .standard(proto: "butterfly_collector_rewards"), - 29: .standard(proto: "webstore_rewards"), - 1: .standard(proto: "timestamp_ms"), - 2: .same(proto: "sfida"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.sfida) }() - case 3: try { - var v: CatchPokemonLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .catchPokemon(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .catchPokemon(v) - } - }() - case 4: try { - var v: FortSearchLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .fortSearch(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .fortSearch(v) - } - }() - case 5: try { - var v: BuddyPokemonLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .buddyPokemon(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .buddyPokemon(v) - } - }() - case 6: try { - var v: RaidRewardsLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .raidRewards(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .raidRewards(v) - } - }() - case 7: try { - var v: PasscodeRewardsLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .passcodeRewards(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .passcodeRewards(v) - } - }() - case 8: try { - var v: CompleteQuestLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .completeQuest(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .completeQuest(v) - } - }() - case 9: try { - var v: CompleteQuestStampCardLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .completeQuestStampCard(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .completeQuestStampCard(v) - } - }() - case 10: try { - var v: CompleteQuestPokemonEncounterLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .completeQuestPokemonEncounter(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .completeQuestPokemonEncounter(v) - } - }() - case 11: try { - var v: BelugaDailyTransferLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .belugaTransfer(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .belugaTransfer(v) - } - }() - case 12: try { - var v: OpenGiftLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .openGift(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .openGift(v) - } - }() - case 13: try { - var v: SendGiftLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .sendGift(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .sendGift(v) - } - }() - case 14: try { - var v: TradingLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .trading(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .trading(v) - } - }() - case 15: try { - var v: ShareExRaidPassLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .shareExRaidPass(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .shareExRaidPass(v) - } - }() - case 16: try { - var v: DeclineExRaidPassLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .declineExRaidPass(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .declineExRaidPass(v) - } - }() - case 17: try { - var v: FitnessRewardsLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .fitnessRewards(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .fitnessRewards(v) - } - }() - case 18: try { - var v: CombatLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .combat(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .combat(v) - } - }() - case 19: try { - var v: PurifyPokemonLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .purifyPokemon(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .purifyPokemon(v) - } - }() - case 20: try { - var v: InvasionVictoryLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .invasionVictory(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .invasionVictory(v) - } - }() - case 21: try { - var v: VsSeekerSetLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .vsSeekerSet(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .vsSeekerSet(v) - } - }() - case 22: try { - var v: VsSeekerCompleteSeasonLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .vsSeekerCompleteSeason(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .vsSeekerCompleteSeason(v) - } - }() - case 23: try { - var v: VsSeekerWinRewardsLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .vsSeekerWinRewards(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .vsSeekerWinRewards(v) - } - }() - case 24: try { - var v: BuddyConsumablesLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .buddyConsumables(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .buddyConsumables(v) - } - }() - case 25: try { - var v: CompleteReferralMilestoneLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .completeReferralMilestone(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .completeReferralMilestone(v) - } - }() - case 26: try { - var v: DailyAdventureIncenseLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .dailyAdventureIncense(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .dailyAdventureIncense(v) - } - }() - case 27: try { - var v: CompleteRoutePlayLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .completeRoutePlay(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .completeRoutePlay(v) - } - }() - case 28: try { - var v: ButterflyCollectorRewardsLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .butterflyCollectorRewards(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .butterflyCollectorRewards(v) - } - }() - case 29: try { - var v: WebstoreRewardsLogEntry? - var hadOneofValue = false - if let current = self.action { - hadOneofValue = true - if case .webstoreRewards(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.action = .webstoreRewards(v) - } - }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) - } - if self.sfida != false { - try visitor.visitSingularBoolField(value: self.sfida, fieldNumber: 2) - } - switch self.action { - case .catchPokemon?: try { - guard case .catchPokemon(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .fortSearch?: try { - guard case .fortSearch(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .buddyPokemon?: try { - guard case .buddyPokemon(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case .raidRewards?: try { - guard case .raidRewards(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - }() - case .passcodeRewards?: try { - guard case .passcodeRewards(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - }() - case .completeQuest?: try { - guard case .completeQuest(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - }() - case .completeQuestStampCard?: try { - guard case .completeQuestStampCard(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - }() - case .completeQuestPokemonEncounter?: try { - guard case .completeQuestPokemonEncounter(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - }() - case .belugaTransfer?: try { - guard case .belugaTransfer(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - }() - case .openGift?: try { - guard case .openGift(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - }() - case .sendGift?: try { - guard case .sendGift(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - }() - case .trading?: try { - guard case .trading(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - }() - case .shareExRaidPass?: try { - guard case .shareExRaidPass(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - }() - case .declineExRaidPass?: try { - guard case .declineExRaidPass(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - }() - case .fitnessRewards?: try { - guard case .fitnessRewards(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 17) - }() - case .combat?: try { - guard case .combat(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 18) - }() - case .purifyPokemon?: try { - guard case .purifyPokemon(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 19) - }() - case .invasionVictory?: try { - guard case .invasionVictory(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 20) - }() - case .vsSeekerSet?: try { - guard case .vsSeekerSet(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 21) - }() - case .vsSeekerCompleteSeason?: try { - guard case .vsSeekerCompleteSeason(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 22) - }() - case .vsSeekerWinRewards?: try { - guard case .vsSeekerWinRewards(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 23) - }() - case .buddyConsumables?: try { - guard case .buddyConsumables(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 24) - }() - case .completeReferralMilestone?: try { - guard case .completeReferralMilestone(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 25) - }() - case .dailyAdventureIncense?: try { - guard case .dailyAdventureIncense(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 26) - }() - case .completeRoutePlay?: try { - guard case .completeRoutePlay(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 27) - }() - case .butterflyCollectorRewards?: try { - guard case .butterflyCollectorRewards(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 28) - }() - case .webstoreRewards?: try { - guard case .webstoreRewards(let v)? = self.action else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 29) - }() - case nil: break - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ActionLogEntry, rhs: ActionLogEntry) -> Bool { - if lhs.action != rhs.action {return false} - if lhs.timestampMs != rhs.timestampMs {return false} - if lhs.sfida != rhs.sfida {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } + 0: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_UNDEFINED_NEWS_EVENT"), + 1: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_NEWS_VIEWED"), + 2: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_NEWS_DISMISSED"), + 3: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_NEWS_LINK_CLICKED"), + 4: .same(proto: "NEWS_PAGE_TELEMETRY_IDS_NEWS_UPDATED_APP"), + ] } -extension ActivateVsSeekerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ActivateVsSeekerOutProto" +extension NonCombatMoveType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NON_COMBAT_MOVE_TYPE_UNSET"), + 1: .same(proto: "FAST_ATTACK"), + 2: .same(proto: "CHARGED_ATTACK"), + 3: .same(proto: "CHARGED_ATTACK_2"), + ] +} + +extension NotificationCategory: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NOTIFICATION_CATEGORY_UNSET"), + 1: .same(proto: "NOTIFICATION_CATEGORY_GYM_REMOVAL"), + 2: .same(proto: "NOTIFICATION_CATEGORY_POKEMON_HUNGRY"), + 3: .same(proto: "NOTIFICATION_CATEGORY_POKEMON_WON"), + 6: .same(proto: "NOTIFICATION_CATEGORY_GIFTBOX_INCOMING"), + 7: .same(proto: "NOTIFICATION_CATEGORY_GIFTBOX_DELIVERED"), + 8: .same(proto: "NOTIFICATION_CATEGORY_FRIENDSHIP_MILESTONE_REWARD"), + 9: .same(proto: "NOTIFICATION_CATEGORY_GYM_BATTLE_FRIENDSHIP_INCREMENT"), + 11: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_EGG_HATCH"), + 12: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_BUDDY_CANDY"), + 13: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_WEEKLY_FITNESS_REPORT"), + 14: .same(proto: "NOTIFICATION_CATEGORY_COMBAT_CHALLENGE_OPENED"), + 15: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_OFF_SESSION_DISTANCE"), + 16: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_POI_PROXIMITY"), + 17: .same(proto: "NOTIFICATION_CATEGORY_LUCKY_FRIEND"), + 18: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_NAMED_BUDDY_CANDY"), + 19: .same(proto: "NOTIFICATION_CATEGORY_APP_BADGE_ONLY"), + 20: .same(proto: "NOTIFICATION_CATEGORY_COMBAT_VS_SEEKER_CHARGED"), + 21: .same(proto: "NOTIFICATION_CATEGORY_COMBAT_COMPETITIVE_SEASON_END"), + 22: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_HUNGRY"), + 24: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_FOUND_GIFT"), + 25: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_AFFECTION_LEVEL_MILESTONE"), + 26: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_AFFECTION_WALKING"), + 27: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_AFFECTION_CARE"), + 28: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_AFFECTION_BATTLE"), + 29: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_AFFECTION_PHOTO"), + 30: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_AFFECTION_POI"), + 31: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_BUDDY_FOUND_GIFT"), + 32: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_ATTRACTIVE_POI"), + 33: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_BUDDY_ATTRACTIVE_POI"), + 34: .same(proto: "NOTIFICATION_CATEGORY_ROUTE_SUBMISSION_ACCEPTED"), + 35: .same(proto: "NOTIFICATION_CATEGORY_ROUTE_SUBMISSION_REJECTED"), + 36: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_AFFECTION_ATTRACTIVE_POI"), + 37: .same(proto: "NOTIFICATION_CATEGORY_POI_PASSCODE_REDEEMED"), + 38: .same(proto: "NOTIFICATION_CATEGORY_NO_EGGS_INCUBATING"), + 39: .same(proto: "NOTIFICATION_CATEGORY_RETENTION_UNOPENED_GIFTS"), + 40: .same(proto: "NOTIFICATION_CATEGORY_RETENTION_STARPIECE"), + 41: .same(proto: "NOTIFICATION_CATEGORY_RETENTION_INCENSE"), + 42: .same(proto: "NOTIFICATION_CATEGORY_RETENTION_LUCKY_EGG"), + 43: .same(proto: "NOTIFICATION_CATEGORY_RETENTION_ADVSYNC_REWARDS"), + 44: .same(proto: "NOTIFICATION_CATEGORY_RETENTION_EGGS_NOT_INCUBATING"), + 45: .same(proto: "NOTIFICATION_CATEGORY_RETENTION_POWER_WALK"), + 46: .same(proto: "NOTIFICATION_CATEGORY_RETENTION_FUN_WITH_FRIENDS"), + 47: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_REMOTE_GIFT"), + 48: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_BUDDY_REMOTE_GIFT"), + 49: .same(proto: "NOTIFICATION_CATEGORY_REMOTE_RAID_INVITATION"), + 50: .same(proto: "NOTIFICATION_CATEGORY_ITEM_REWARDS"), + 51: .same(proto: "NOTIFICATION_CATEGORY_TIMED_GROUP_CHALLENGE_STARTED"), + 52: .same(proto: "NOTIFICATION_CATEGORY_TIMED_GROUP_CHALLENGE_GOAL_MET"), + 53: .same(proto: "NOTIFICATION_CATEGORY_DEEP_LINKING"), + 54: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_AFFECTION_VISIT_POWERED_UP_FORT"), + 55: .same(proto: "NOTIFICATION_CATEGORY_POKEDEX_UNLOCKED_CATEGORY_LIST"), + 56: .same(proto: "NOTIFICATION_CATEGORY_CONTACT_SIGNED_UP"), + 57: .same(proto: "NOTIFICATION_CATEGORY_POSTCARD_SAVED_BY_FRIEND"), + 58: .same(proto: "NOTIFICATION_CATEGORY_TICKET_GIFT_NOTIFIED"), + 59: .same(proto: "NOTIFICATION_CATEGORY_TICKET_GIFT_RECEIVED"), + 60: .same(proto: "NOTIFICATION_CATEGORY_DAILY_ADVENTURE_INCENSE_UNUSED"), + 61: .same(proto: "NOTIFICATION_CATEGORY_CAMPFIRE_INVITE"), + 62: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_UNCAUGHT_DISTANCE"), + 63: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_OPEN_GYM_SPOT"), + 64: .same(proto: "NOTIFICATION_CATEGORY_BGMODE_NO_EGGS_INCUBATING"), + 65: .same(proto: "NOTIFICATION_CATEGORY_WEEKLY_REMINDER_KM"), + 66: .same(proto: "NOTIFICATION_CATEGORY_EXTERNAL_REWARD"), + 67: .same(proto: "NOTIFICATION_CATEGORY_SLEEP_REWARD"), + 68: .same(proto: "NOTIFICATION_CATEGORY_PARTY_PLAY_INVITATION"), + 69: .same(proto: "NOTIFICATION_CATEGORY_BUDDY_AFFECTION_ROUTE"), + 70: .same(proto: "NOTIFICATION_CATEGORY_CAMPFIRE_RAID_READY"), + 71: .same(proto: "NOTIFICATION_CATEGORY_TAPPABLE_ZYGARDE_CELL"), + ] +} + +extension NotificationState: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "vs_seeker"), + 0: .same(proto: "NOTIFICATION_STATE_UNSET_STATE"), + 1: .same(proto: "NOTIFICATION_STATE_VIEWED"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._vsSeeker) }() - default: break - } - } - } +extension NotificationType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NOTIFICATION_TYPE_NO_NOTIFICATIONS"), + 1: .same(proto: "NOTIFICATION_TYPE_POKEMON_NOTIFICATIONS"), + 2: .same(proto: "NOTIFICATION_TYPE_POKESTOP_NOTIFICATIONS"), + 4: .same(proto: "NOTIFICATION_TYPE_SYSTEM_NOTIFICATIONS"), + ] +} - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._vsSeeker { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } +extension NullValue: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "null_value"), + ] +} - public static func ==(lhs: ActivateVsSeekerOutProto, rhs: ActivateVsSeekerOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._vsSeeker != rhs._vsSeeker {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension OnboardingArStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "ONBOARDING_AR_STATUS_UNSET"), + 1: .same(proto: "ONBOARDING_AR_STATUS_OFF"), + 2: .same(proto: "ONBOARDING_AR_STATUS_AR_STANDARD"), + 3: .same(proto: "ONBOARDING_AR_STATUS_AR_PLUS"), + ] } -extension ActivateVsSeekerOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension OnboardingEventIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS_ACTIVATED"), - 2: .same(proto: "ERROR_NO_PREMIUM_BATTLE_PASS"), - 3: .same(proto: "ERROR_VS_SEEKER_NOT_CHARGED"), - 4: .same(proto: "ERROR_VS_SEEKER_ALREADY_ACTIVATED"), - 5: .same(proto: "ERROR_EXCEEDED_LIMIT"), - 6: .same(proto: "ERROR_TEMPORARILY_UNAVAILABLE"), + 0: .same(proto: "ONBOARDING_EVENT_IDS_TOS_ACCEPTED"), + 1: .same(proto: "ONBOARDING_EVENT_IDS_PRIVACY_ACCEPTED"), + 2: .same(proto: "ONBOARDING_EVENT_IDS_CONVERSATION"), + 3: .same(proto: "ONBOARDING_EVENT_IDS_ENCOUNTER_ENTER"), + 4: .same(proto: "ONBOARDING_EVENT_IDS_ENCOUNTER_LEAVE"), + 5: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_SELECTION"), + 6: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_GENDER"), + 7: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_GENDER_CHOSEN"), + 8: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_HEAD_CHOSEN"), + 9: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_BODY_CHOSEN"), + 10: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_TRY_AGAIN"), + 11: .same(proto: "ONBOARDING_EVENT_IDS_AVATAR_ACCEPTED"), + 12: .same(proto: "ONBOARDING_EVENT_IDS_NAME_ENTRY"), + 13: .same(proto: "ONBOARDING_EVENT_IDS_NAME_UNAVAILABLE"), + 14: .same(proto: "ONBOARDING_EVENT_IDS_NAME_ACCEPTED"), + 15: .same(proto: "ONBOARDING_EVENT_IDS_POKEDEX_TUTORIAL_STARTED"), + 16: .same(proto: "ONBOARDING_EVENT_IDS_POKEDEX_TUTORIAL_INFO_PANEL_EXIT_PRESSED"), + 17: .same(proto: "ONBOARDING_EVENT_IDS_POKEDEX_EXIT_PRESSED"), + 18: .same(proto: "ONBOARDING_EVENT_IDS_EGG_TUTORIAL_STARTED"), + 19: .same(proto: "ONBOARDING_EVENT_IDS_EGG_TUTORIAL_PRESS"), + 20: .same(proto: "ONBOARDING_EVENT_IDS_EGG_TUTORIAL_FINISHED"), + 21: .same(proto: "ONBOARDING_EVENT_IDS_POKESTOP_LETSGO"), + 22: .same(proto: "ONBOARDING_EVENT_IDS_WILD_POKEMON_ENCOUNTER_ENTERED"), + 23: .same(proto: "ONBOARDING_EVENT_IDS_WILD_POKEMON_CAUGHT"), + 24: .same(proto: "ONBOARDING_EVENT_IDS_AR_STANDARD_ENABLED"), + 25: .same(proto: "ONBOARDING_EVENT_IDS_AR_STANDARD_REJECTED"), + 26: .same(proto: "ONBOARDING_EVENT_IDS_AR_PLUS_ENABLED"), + 27: .same(proto: "ONBOARDING_EVENT_IDS_AR_PLUS_REJECTED"), + 28: .same(proto: "ONBOARDING_EVENT_IDS_SEE_TOS_MODAL"), + 29: .same(proto: "ONBOARDING_EVENT_IDS_TOS_DECLINED"), + 30: .same(proto: "ONBOARDING_EVENT_IDS_SEE_PRIVACY_MODAL"), + 31: .same(proto: "ONBOARDING_EVENT_IDS_INTRO_DIALOG_COMPLETE"), + 32: .same(proto: "ONBOARDING_EVENT_IDS_CATCH_DIALOG_COMPLETE"), + 33: .same(proto: "ONBOARDING_EVENT_IDS_USERNAME_DIALOG_COMPLETE"), + 34: .same(proto: "ONBOARDING_EVENT_IDS_POKESTOP_DIALOG_COMPLETE"), + 35: .same(proto: "ONBOARDING_EVENT_IDS_ACCEPTED_TOS"), ] } -extension ActivateVsSeekerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ActivateVsSeekerProto" +extension OnboardingPathIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "reward_track"), + 0: .same(proto: "ONBOARDING_PATH_IDS_V1"), + 1: .same(proto: "ONBOARDING_PATH_IDS_V2"), + 2: .same(proto: "ONBOARDING_PATH_IDS_VERSION_1"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.rewardTrack) }() - default: break - } - } - } +extension PartyQuestStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PARTY_QUEST_UNKNOWN"), + 1: .same(proto: "PARTY_QUEST_WAITING_PARTY_TO_START"), + 2: .same(proto: "PARTY_QUEST_SELECTING"), + 3: .same(proto: "PARTY_QUEST_ACTIVE"), + 4: .same(proto: "PARTY_QUEST_COMPLETED_AND_AWARDING"), + 5: .same(proto: "PARTY_QUEST_NOT_AVAILABLE"), + ] +} - public func traverse(visitor: inout V) throws { - if self.rewardTrack != .free { - try visitor.visitSingularEnumField(value: self.rewardTrack, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } +extension PartyStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PARTY_UNKNOWN"), + 1: .same(proto: "PARTY_WAITING_TO_START"), + 2: .same(proto: "PARTY_NORMAL"), + 3: .same(proto: "PARTY_DISBANDED"), + ] +} - public static func ==(lhs: ActivateVsSeekerProto, rhs: ActivateVsSeekerProto) -> Bool { - if lhs.rewardTrack != rhs.rewardTrack {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension PathType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PATH_TYPE_UNSET"), + 1: .same(proto: "PATH_TYPE_ACYCLIC"), + 2: .same(proto: "PATH_TYPE_LOOP"), + ] } -extension ActivityPostcardData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ActivityPostcardData" +extension PermissionContextTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sender_public_profile"), - 3: .standard(proto: "sender_buddy_data"), - 4: .standard(proto: "sender_fort_data"), + 0: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_UNDEFINED_PERMISSION_CONTEXT"), + 1: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_EGG_HATCH"), + 2: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_BUDDY_CANDY_FOUND"), + 3: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_PLAYER_PROFILE_CLICKED"), + 4: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_SMART_WATCH_INSTALLED"), + 5: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_SFIDA_SESSION_STARTED"), + 6: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_SETTINGS_TOGGLE"), + 7: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_NEARBY_PANEL_OPENED"), + 8: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_FTUE_PROMPT"), + 9: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_LEVEL_UP_PROMPT"), + 10: .same(proto: "PERMISSION_CONTEXT_TELEMETRY_IDS_ROUTE_CREATION"), ] +} - fileprivate class _StorageClass { - var _senderPublicProfile: PlayerPublicProfileProto? = nil - var _senderBuddyData: ActivityPostcardData.BuddyData? = nil - var _senderFortData: ActivityPostcardData.FortData? = nil +extension PermissionFlowStepTelemetryIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_UNDEFINED_PERMISSION_FLOW_STEP"), + 1: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_INITIAL_PROMPT"), + 2: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_FITNESS_PERMISSION"), + 3: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_LOCATION_PERMISSION"), + 4: .same(proto: "PERMISSION_FLOW_STEP_TELEMETRY_IDS_ACTIVITY_PERMISSIONS"), + ] +} - static let defaultInstance = _StorageClass() +extension PermissionType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PERMISSION_TYPE_UNSET"), + 1: .same(proto: "PERMISSION_TYPE_READ_CONTACTS"), + ] +} - private init() {} +extension Platform: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PLATFORM_UNSET"), + 1: .same(proto: "PLATFORM_IOS"), + 2: .same(proto: "PLATFORM_ANDROID"), + 3: .same(proto: "PLATFORM_OSX"), + 4: .same(proto: "PLATFORM_WINDOWS"), + 5: .same(proto: "PLATFORM_APPLE_WATCH"), + ] +} - init(copying source: _StorageClass) { - _senderPublicProfile = source._senderPublicProfile - _senderBuddyData = source._senderBuddyData - _senderFortData = source._senderFortData - } - } +extension PlatformClientAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PLATFORM_UNKNOWN_PLATFORM_CLIENT_ACTION"), + 5000: .same(proto: "PLATFORM_REGISTER_PUSH_NOTIFICATION"), + 5001: .same(proto: "PLATFORM_UNREGISTER_PUSH_NOTIFICATION"), + 5002: .same(proto: "PLATFORM_UPDATE_NOTIFICATION_STATUS"), + 5003: .same(proto: "PLATFORM_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), + 5004: .same(proto: "PLATFORM_DOWNLOAD_GAME_MASTER_TEMPLATES"), + 5005: .same(proto: "PLATFORM_GET_INVENTORY"), + 5006: .same(proto: "PLATFORM_REDEEM_PASSCODE"), + 5007: .same(proto: "PLATFORM_PING"), + 5008: .same(proto: "PLATFORM_ADD_LOGIN_ACTION"), + 5009: .same(proto: "PLATFORM_REMOVE_LOGIN_ACTION"), + 5010: .same(proto: "PLATFORM_LIST_LOGIN_ACTION"), + 5011: .same(proto: "PLATFORM_ADD_NEW_POI"), + 5012: .same(proto: "PLATFORM_PROXY_SOCIAL_ACTION"), + 5013: .same(proto: "PLATFORM_DEPRECATED_CLIENT_TELEMETRY"), + 5014: .same(proto: "PLATFORM_GET_AVAILABLE_SUBMISSIONS"), + 5015: .same(proto: "PLATFORM_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), + 5016: .same(proto: "PLATFORM_REPLACE_LOGIN_ACTION"), + 5017: .same(proto: "PLATFORM_PROXY_SOCIAL_SIDE_CHANNEL_ACTION"), + 5018: .same(proto: "PLATFORM_COLLECT_CLIENT_TELEMETRY"), + 5019: .same(proto: "PLATFORM_PURCHASE_SKU"), + 5020: .same(proto: "PLATFORM_GET_AVAILABLE_SKUS_AND_BALANCES"), + 5021: .same(proto: "PLATFORM_REDEEM_GOOGLE_RECEIPT"), + 5022: .same(proto: "PLATFORM_REDEEM_APPLE_RECEIPT"), + 5023: .same(proto: "PLATFORM_REDEEM_DESKTOP_RECEIPT"), + 5024: .same(proto: "PLATFORM_UPDATE_FITNESS_METRICS"), + 5025: .same(proto: "PLATFORM_GET_FITNESS_REPORT"), + 5026: .same(proto: "PLATFORM_GET_CLIENT_TELEMETRY_SETTINGS"), + 5027: .same(proto: "PLATFORM_PING_ASYNC"), + 5028: .same(proto: "PLATFORM_REGISTER_BACKGROUND_SERVICE"), + 5029: .same(proto: "PLATFORM_GET_CLIENT_BGMODE_SETTINGS"), + 5030: .same(proto: "PLATFORM_PING_DOWNSTREAM"), + 5032: .same(proto: "PLATFORM_SET_IN_GAME_CURRENCY_EXCHANGE_RATE"), + 5033: .same(proto: "PLATFORM_REQUEST_GEOFENCE_UPDATES"), + 5034: .same(proto: "PLATFORM_UPDATE_PLAYER_LOCATION"), + 5035: .same(proto: "PLATFORM_GENERATE_GMAP_SIGNED_URL"), + 5036: .same(proto: "PLATFORM_GET_GMAP_SETTINGS"), + 5037: .same(proto: "PLATFORM_REDEEM_SAMSUNG_RECEIPT"), + 5038: .same(proto: "PLATFORM_ADD_NEW_ROUTE"), + 5039: .same(proto: "PLATFORM_GET_OUTSTANDING_WARNINGS"), + 5040: .same(proto: "PLATFORM_ACKNOWLEDGE_WARNINGS"), + 5041: .same(proto: "PLATFORM_SUBMIT_POI_IMAGE"), + 5042: .same(proto: "PLATFORM_SUBMIT_POI_TEXT_METADATA_UPDATE"), + 5043: .same(proto: "PLATFORM_SUBMIT_POI_LOCATION_UPDATE"), + 5044: .same(proto: "PLATFORM_SUBMIT_POI_TAKEDOWN_REQUEST"), + 5045: .same(proto: "PLATFORM_GET_WEB_TOKEN_ACTION"), + 5046: .same(proto: "PLATFORM_GET_ADVENTURE_SYNC_SETTINGS"), + 5047: .same(proto: "PLATFORM_UPDATE_ADVENTURE_SYNC_SETTINGS"), + 5048: .same(proto: "PLATFORM_SET_BIRTHDAY"), + 5049: .same(proto: "PLATFORM_FETCH_NEWSFEED_ACTION"), + 5050: .same(proto: "PLATFORM_MARK_NEWSFEED_READ_ACTION"), + ] +} + +extension PlatformWarningType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PLATFORM_WARNING_UNSET"), + 1: .same(proto: "PLATFORM_WARNING_STRIKE1"), + 2: .same(proto: "PLATFORM_WARNING_STRIKE2"), + 3: .same(proto: "PLATFORM_WARNING_STRIKE3"), + ] +} - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } +extension PlayerAvatarType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PLAYER_AVATAR_MALE"), + 1: .same(proto: "PLAYER_AVATAR_FEMALE"), + ] +} - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._senderPublicProfile) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._senderBuddyData) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._senderFortData) }() - default: break - } - } - } - } +extension PlayerBonusType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PLAYER_BONUS_UNSET"), + 1: .same(proto: "TIME_BONUS"), + 2: .same(proto: "SPACE_BONUS"), + ] +} - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._senderPublicProfile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = _storage._senderBuddyData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = _storage._senderFortData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - } - try unknownFields.traverse(visitor: &visitor) - } +extension PlayerSubmissionTypeProto: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_TYPE_UNSPECIFIED"), + 1: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_SUBMISSION"), + 2: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_ROUTE_SUBMISSION"), + 3: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_IMAGE_SUBMISSION"), + 4: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_TEXT_METADATA_UPDATE"), + 5: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_LOCATION_UPDATE"), + 6: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_TAKEDOWN_REQUEST"), + 7: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_AR_VIDEO_SUBMISSION"), + 8: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_SPONSOR_POI_REPORT"), + 9: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_SPONSOR_POI_LOCATION_UPDATE"), + 10: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_POI_CATEGORY_VOTE_SUBMISSION"), + 11: .same(proto: "PLAYER_SUBMISSION_TYPE_PROTO_MAPPING_REQUEST"), + ] +} - public static func ==(lhs: ActivityPostcardData, rhs: ActivityPostcardData) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._senderPublicProfile != rhs_storage._senderPublicProfile {return false} - if _storage._senderBuddyData != rhs_storage._senderBuddyData {return false} - if _storage._senderFortData != rhs_storage._senderFortData {return false} - return true - } - if !storagesAreEqual {return false} - } - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension PlayerZoneCompliance: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET_ZONE"), + 1: .same(proto: "SAFE_TO_JOIN_ZONE"), + 2: .same(proto: "WARNING_TO_JOIN_ZONE"), + 3: .same(proto: "SAFE_TO_PLAY_ZONE"), + 4: .same(proto: "WARNING_TO_PLAY_ZONE"), + 5: .same(proto: "NONCOMPLIANT_ZONE"), + 6: .same(proto: "NONCOMPLIANT_2_ZONE"), + 7: .same(proto: "MISSING_LOCATION_ZONE"), + ] } -extension ActivityPostcardData.BuddyData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ActivityPostcardData.protoMessageName + ".BuddyData" +extension PluginState: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "buddy_display"), - 3: .same(proto: "nickname"), - 4: .standard(proto: "buddy_candy_awarded"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "INITIALIZED"), + 2: .same(proto: "STARTING"), + 3: .same(proto: "STARTED"), + 4: .same(proto: "RESUMED"), + 5: .same(proto: "PAUSED"), + 6: .same(proto: "STOPPED"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._buddyDisplay) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.nickname) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.buddyCandyAwarded) }() - default: break - } - } - } +extension PoiImageType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POI_IMAGE_TYPE_UNSET"), + 1: .same(proto: "POI_IMAGE_TYPE_MAIN"), + 2: .same(proto: "POI_IMAGE_TYPE_SURROUNDING"), + ] +} - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) - } - try { if let v = self._buddyDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.nickname.isEmpty { - try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 3) - } - if self.buddyCandyAwarded != 0 { - try visitor.visitSingularInt32Field(value: self.buddyCandyAwarded, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } +extension PoiInvalidReason: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POI_INVALID_REASON_INVALID_REASON_UNSPECIFIED"), + 1: .same(proto: "POI_INVALID_REASON_NO_PEDESTRIAN_ACCESS"), + 2: .same(proto: "POI_INVALID_REASON_OBSTRUCTS_EMERGENCY_SERVICES"), + 3: .same(proto: "POI_INVALID_REASON_PRIVATE_RESIDENTIAL_PROPERTY"), + 4: .same(proto: "POI_INVALID_REASON_SCHOOL"), + 5: .same(proto: "POI_INVALID_REASON_PERMANENTLY_REMOVED"), + 6: .same(proto: "POI_INVALID_REASON_DUPLICATE"), + ] +} - public static func ==(lhs: ActivityPostcardData.BuddyData, rhs: ActivityPostcardData.BuddyData) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs._buddyDisplay != rhs._buddyDisplay {return false} - if lhs.nickname != rhs.nickname {return false} - if lhs.buddyCandyAwarded != rhs.buddyCandyAwarded {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension PokecoinCapResetFrequency: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "FREQUENCY_UNSET"), + 1: .same(proto: "FREQUENCY_DAILY"), + 2: .same(proto: "FREQUENCY_WEEKLY"), + 3: .same(proto: "FREQUENCY_MONTHLY"), + 4: .same(proto: "FREQUENCY_YEARLY"), + ] } -extension ActivityPostcardData.FortData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ActivityPostcardData.protoMessageName + ".FortData" +extension PokecoinSource: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "name"), - 3: .same(proto: "description"), - 4: .standard(proto: "image_url"), - 5: .standard(proto: "lat_degrees"), - 6: .standard(proto: "lng_degrees"), + 0: .same(proto: "SOURCE_UNSET"), + 1: .same(proto: "SOURCE_GYM_DEFENDER"), + 2: .same(proto: "SOURCE_REFERRAL_BONUS"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.latDegrees) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.lngDegrees) }() - default: break - } - } - } +extension PokedexCategory: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POKEDEX_CATEGORY_UNSET"), + 1: .same(proto: "POKEDEX_CATEGORY_ALL"), + 2: .same(proto: "POKEDEX_CATEGORY_MEGA"), + 11: .same(proto: "POKEDEX_CATEGORY_SHINY"), + 12: .same(proto: "POKEDEX_CATEGORY_LUCKY"), + 13: .same(proto: "POKEDEX_CATEGORY_THREE_STAR"), + 14: .same(proto: "POKEDEX_CATEGORY_FOUR_STAR"), + 15: .same(proto: "POKEDEX_CATEGORY_SHADOW"), + 16: .same(proto: "POKEDEX_CATEGORY_PURIFIED"), + 17: .same(proto: "POKEDEX_CATEGORY_COSTUME"), + 101: .same(proto: "POKEDEX_CATEGORY_SHINY_THREE_STAR"), + 102: .same(proto: "POKEDEX_CATEGORY_SHINY_FOUR_STAR"), + ] +} - public func traverse(visitor: inout V) throws { - if !self.id.isEmpty { - try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) - } - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) - } - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) - } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 4) - } - if self.latDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.latDegrees, fieldNumber: 5) - } - if self.lngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.lngDegrees, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } +extension PokedexGenerationId: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "GENERATION_UNSET"), + 1: .same(proto: "GENERATION_GEN1"), + 2: .same(proto: "GENERATION_GEN2"), + 3: .same(proto: "GENERATION_GEN3"), + 4: .same(proto: "GENERATION_GEN4"), + 5: .same(proto: "GENERATION_GEN5"), + 6: .same(proto: "GENERATION_GEN6"), + 7: .same(proto: "GENERATION_GEN7"), + 8: .same(proto: "GENERATION_GEN8"), + 9: .same(proto: "GENERATION_GEN8A"), + 10: .same(proto: "GENERATION_GEN9"), + 1002: .same(proto: "GENERATION_MELTAN"), + ] +} - public static func ==(lhs: ActivityPostcardData.FortData, rhs: ActivityPostcardData.FortData) -> Bool { - if lhs.id != rhs.id {return false} - if lhs.name != rhs.name {return false} - if lhs.description_p != rhs.description_p {return false} - if lhs.imageURL != rhs.imageURL {return false} - if lhs.latDegrees != rhs.latDegrees {return false} - if lhs.lngDegrees != rhs.lngDegrees {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension PokemonBadge: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POKEMON_BADGE_UNSET"), + 1: .same(proto: "POKEMON_BADGE_BEST_BUDDY"), + ] } -extension ActivityReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ActivityReportProto" +extension PokemonGoPlusIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_friends"), - 2: .standard(proto: "num_friends_removed"), - 3: .standard(proto: "num_friends_made_in_this_period"), - 4: .standard(proto: "num_friends_removed_in_this_period"), - 5: .standard(proto: "longest_friend"), - 6: .standard(proto: "recent_friends"), - 7: .standard(proto: "most_walk_km_friends"), - 8: .standard(proto: "walk_km"), - 9: .standard(proto: "walk_km_percentile_against_friends"), + 0: .same(proto: "POKEMON_GO_PLUS_IDS_UNDEFINED_POKEMON_GO_PLUS_EVENT"), + 1: .same(proto: "POKEMON_GO_PLUS_IDS_CANNOT_CONNECT_TO_PGP"), + 2: .same(proto: "POKEMON_GO_PLUS_IDS_REGISTERING_PGP_FAILED"), + 3: .same(proto: "POKEMON_GO_PLUS_IDS_REGISTERING_RETRY"), + 4: .same(proto: "POKEMON_GO_PLUS_IDS_CONNECTION_SUCCESS"), + 5: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_DISCONNECTED_BY_USER"), + 6: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_DISCONNECTED_BY_TIMEOUT"), + 7: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_DISCONNECTED_BY_ERROR"), + 8: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_LOW_BATTERY"), + 9: .same(proto: "POKEMON_GO_PLUS_IDS_BLUETOOTH_SENT_ERROR"), + 10: .same(proto: "POKEMON_GO_PLUS_IDS_PGP_SEEN_BY_DEVICE"), + 11: .same(proto: "POKEMON_GO_PLUS_IDS_POKEMON_CAUGHT"), + 12: .same(proto: "POKEMON_GO_PLUS_IDS_POKEMON_NOT_CAUGHT"), + 13: .same(proto: "POKEMON_GO_PLUS_IDS_POKEMON_NOT_CAUGHT_DUE_ERROR"), + 14: .same(proto: "POKEMON_GO_PLUS_IDS_POKESTOP_SPUN"), + 15: .same(proto: "POKEMON_GO_PLUS_IDS_POKESTOP_NOT_SPUN_DUE_ERROR"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.numFriends) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numFriendsRemoved) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.numFriendsMadeInThisPeriod) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.numFriendsRemovedInThisPeriod) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._longestFriend) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.recentFriends) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &self.mostWalkKmFriends) }() - case 8: try { try decoder.decodeSingularDoubleField(value: &self.walkKm) }() - case 9: try { try decoder.decodeSingularDoubleField(value: &self.walkKmPercentileAgainstFriends) }() - default: break - } - } - } +extension PokemonHomeTelemetryIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POKEMON_HOME_TELEMETRY_IDS_UNDEFINED_POKEMON_HOME_EVENT"), + 1: .same(proto: "POKEMON_HOME_TELEMETRY_IDS_OPEN_SETTINGS"), + 2: .same(proto: "POKEMON_HOME_TELEMETRY_IDS_SIGN_IN"), + 3: .same(proto: "POKEMON_HOME_TELEMETRY_IDS_SELECTED_POKEMON"), + ] +} - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.numFriends != 0 { - try visitor.visitSingularInt32Field(value: self.numFriends, fieldNumber: 1) - } - if self.numFriendsRemoved != 0 { - try visitor.visitSingularInt32Field(value: self.numFriendsRemoved, fieldNumber: 2) - } - if self.numFriendsMadeInThisPeriod != 0 { - try visitor.visitSingularInt32Field(value: self.numFriendsMadeInThisPeriod, fieldNumber: 3) - } - if self.numFriendsRemovedInThisPeriod != 0 { - try visitor.visitSingularInt32Field(value: self.numFriendsRemovedInThisPeriod, fieldNumber: 4) - } - try { if let v = self._longestFriend { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if !self.recentFriends.isEmpty { - try visitor.visitRepeatedMessageField(value: self.recentFriends, fieldNumber: 6) - } - if !self.mostWalkKmFriends.isEmpty { - try visitor.visitRepeatedMessageField(value: self.mostWalkKmFriends, fieldNumber: 7) - } - if self.walkKm != 0 { - try visitor.visitSingularDoubleField(value: self.walkKm, fieldNumber: 8) - } - if self.walkKmPercentileAgainstFriends != 0 { - try visitor.visitSingularDoubleField(value: self.walkKmPercentileAgainstFriends, fieldNumber: 9) - } - try unknownFields.traverse(visitor: &visitor) - } +extension PokemonInventoryTelemetryIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POKEMON_INVENTORY_TELEMETRY_IDS_UNDEFINED_POKEMON_INVENTORY_EVENT"), + 1: .same(proto: "POKEMON_INVENTORY_TELEMETRY_IDS_OPEN"), + 2: .same(proto: "POKEMON_INVENTORY_TELEMETRY_IDS_SORTING_CHANGE"), + 3: .same(proto: "POKEMON_INVENTORY_TELEMETRY_IDS_FILTER"), + ] +} - public static func ==(lhs: ActivityReportProto, rhs: ActivityReportProto) -> Bool { - if lhs.numFriends != rhs.numFriends {return false} - if lhs.numFriendsRemoved != rhs.numFriendsRemoved {return false} - if lhs.numFriendsMadeInThisPeriod != rhs.numFriendsMadeInThisPeriod {return false} - if lhs.numFriendsRemovedInThisPeriod != rhs.numFriendsRemovedInThisPeriod {return false} - if lhs._longestFriend != rhs._longestFriend {return false} - if lhs.recentFriends != rhs.recentFriends {return false} - if lhs.mostWalkKmFriends != rhs.mostWalkKmFriends {return false} - if lhs.walkKm != rhs.walkKm {return false} - if lhs.walkKmPercentileAgainstFriends != rhs.walkKmPercentileAgainstFriends {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension PokemonTagColor: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POKEMON_TAG_COLOR_UNSET"), + 1: .same(proto: "POKEMON_TAG_COLOR_BLUE"), + 2: .same(proto: "POKEMON_TAG_COLOR_GREEN"), + 3: .same(proto: "POKEMON_TAG_COLOR_PURPLE"), + 4: .same(proto: "POKEMON_TAG_COLOR_YELLOW"), + 5: .same(proto: "POKEMON_TAG_COLOR_RED"), + 6: .same(proto: "POKEMON_TAG_COLOR_ORANGE"), + 7: .same(proto: "POKEMON_TAG_COLOR_GREY"), + 8: .same(proto: "POKEMON_TAG_COLOR_BLACK"), + ] } -extension ActivityReportProto.FriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ActivityReportProto.protoMessageName + ".FriendProto" +extension PostcardSource: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "nia_account_id"), - 2: .standard(proto: "walk_km"), - 3: .standard(proto: "friendship_creation_timestamp_ms"), - 4: .standard(proto: "friendship_creation_days"), + 0: .same(proto: "POSTCARD_SOURCE_UNKNOWN"), + 1: .same(proto: "POSTCARD_SOURCE_SELF"), + 2: .same(proto: "POSTCARD_SOURCE_FRIEND"), + 3: .same(proto: "POSTCARD_SOURCE_FRIEND_ANONYMIZED"), + 4: .same(proto: "POSTCARD_SOURCE_FRIEND_ANONYMIZED_FROM_DELETION_OR_UNFRIEND"), + 5: .same(proto: "POSTCARD_SOURCE_GIFT_TRADE"), + 6: .same(proto: "POSTCARD_SOURCE_GIFT_TRADE_ANONYMIZED"), + 7: .same(proto: "POSTCARD_SOURCE_GIFT_TRADE_ANONYMIZED_FROM_DELETION"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.walkKm) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.friendshipCreationTimestampMs) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.friendshipCreationDays) }() - default: break - } - } - } +extension ProfilePageTelemetryIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_UNDEFINED_PROFILE_PAGE"), + 1: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_SHOP_FROM_PROFILE"), + 2: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_LOG"), + 3: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_SET_BUDDY"), + 4: .same(proto: "PROFILE_PAGE_TELEMETRY_IDS_CUSTOMIZE_AVATAR"), + ] +} - public func traverse(visitor: inout V) throws { - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 1) - } - if self.walkKm != 0 { - try visitor.visitSingularDoubleField(value: self.walkKm, fieldNumber: 2) - } - if self.friendshipCreationTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.friendshipCreationTimestampMs, fieldNumber: 3) - } - if self.friendshipCreationDays != 0 { - try visitor.visitSingularInt64Field(value: self.friendshipCreationDays, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } +extension PushGatewayTelemetryIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_UNDEFINED_PUSH_GATEWAY_EVENT"), + 1: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_WEB_SOCKET_STARTED"), + 2: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_WEB_SOCKET_FAILED"), + 3: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_WEB_SOCKET_TIMEOUT"), + 4: .same(proto: "PUSH_GATEWAY_TELEMETRY_IDS_NEW_INBOX_DOWNSTREAM"), + ] +} - public static func ==(lhs: ActivityReportProto.FriendProto, rhs: ActivityReportProto.FriendProto) -> Bool { - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs.walkKm != rhs.walkKm {return false} - if lhs.friendshipCreationTimestampMs != rhs.friendshipCreationTimestampMs {return false} - if lhs.friendshipCreationDays != rhs.friendshipCreationDays {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension PushNotificationTelemetryIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PUSH_NOTIFICATION_TELEMETRY_IDS_UNDEFINED_PUSH_NOTIFICATION_EVENT"), + 1: .same(proto: "PUSH_NOTIFICATION_TELEMETRY_IDS_OPEN_APP"), + ] } -extension AdDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdDetails" +extension QuestType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "image_text_creative"), - 2: .standard(proto: "encrypted_ad_token"), - 3: .standard(proto: "impression_tracking_tag"), - 4: .standard(proto: "gam_details"), + 0: .same(proto: "QUEST_UNSET"), + 1: .same(proto: "QUEST_FIRST_CATCH_OF_THE_DAY"), + 2: .same(proto: "QUEST_FIRST_POKESTOP_OF_THE_DAY"), + 3: .same(proto: "QUEST_MULTI_PART"), + 4: .same(proto: "QUEST_CATCH_POKEMON"), + 5: .same(proto: "QUEST_SPIN_POKESTOP"), + 6: .same(proto: "QUEST_HATCH_EGG"), + 7: .same(proto: "QUEST_COMPLETE_GYM_BATTLE"), + 8: .same(proto: "QUEST_COMPLETE_RAID_BATTLE"), + 9: .same(proto: "QUEST_COMPLETE_QUEST"), + 10: .same(proto: "QUEST_TRANSFER_POKEMON"), + 11: .same(proto: "QUEST_FAVORITE_POKEMON"), + 12: .same(proto: "QUEST_AUTOCOMPLETE"), + 13: .same(proto: "QUEST_USE_BERRY_IN_ENCOUNTER"), + 14: .same(proto: "QUEST_UPGRADE_POKEMON"), + 15: .same(proto: "QUEST_EVOLVE_POKEMON"), + 16: .same(proto: "QUEST_LAND_THROW"), + 17: .same(proto: "QUEST_GET_BUDDY_CANDY"), + 18: .same(proto: "QUEST_BADGE_RANK"), + 19: .same(proto: "QUEST_PLAYER_LEVEL"), + 20: .same(proto: "QUEST_JOIN_RAID"), + 21: .same(proto: "QUEST_COMPLETE_BATTLE"), + 22: .same(proto: "QUEST_ADD_FRIEND"), + 23: .same(proto: "QUEST_TRADE_POKEMON"), + 24: .same(proto: "QUEST_SEND_GIFT"), + 25: .same(proto: "QUEST_EVOLVE_INTO_POKEMON"), + 27: .same(proto: "QUEST_COMPLETE_COMBAT"), + 28: .same(proto: "QUEST_TAKE_SNAPSHOT"), + 29: .same(proto: "QUEST_BATTLE_TEAM_ROCKET"), + 30: .same(proto: "QUEST_PURIFY_POKEMON"), + 31: .same(proto: "QUEST_FIND_TEAM_ROCKET"), + 32: .same(proto: "QUEST_FIRST_GRUNT_OF_THE_DAY"), + 33: .same(proto: "QUEST_BUDDY_FEED"), + 34: .same(proto: "QUEST_BUDDY_EARN_AFFECTION_POINTS"), + 35: .same(proto: "QUEST_BUDDY_PET"), + 36: .same(proto: "QUEST_BUDDY_LEVEL"), + 37: .same(proto: "QUEST_BUDDY_WALK"), + 38: .same(proto: "QUEST_BUDDY_YATTA"), + 39: .same(proto: "QUEST_USE_INCENSE"), + 40: .same(proto: "QUEST_BUDDY_FIND_SOUVENIR"), + 41: .same(proto: "QUEST_COLLECT_AS_REWARDS"), + 42: .same(proto: "QUEST_WALK"), + 43: .same(proto: "QUEST_MEGA_EVOLVE_POKEMON"), + 44: .same(proto: "QUEST_GET_STARDUST"), + 45: .same(proto: "QUEST_MINI_COLLECTION"), + 46: .same(proto: "QUEST_GEOTARGETED_AR_SCAN"), + 50: .same(proto: "QUEST_BUDDY_EVOLUTION_WALK"), + 51: .same(proto: "QUEST_GBL_RANK"), + 53: .same(proto: "QUEST_CHARGE_ATTACK"), + 54: .same(proto: "QUEST_CHANGE_POKEMON_FORM"), + 55: .same(proto: "QUEST_BATTLE_EVENT_NPC"), + 56: .same(proto: "QUEST_EARN_FORT_POWER_UP_POINTS"), + 57: .same(proto: "QUEST_TAKE_WILD_SNAPSHOT"), + 58: .same(proto: "QUEST_USE_POKEMON_ITEM"), + 59: .same(proto: "QUEST_OPEN_GIFT"), + 60: .same(proto: "QUEST_EARN_XP"), + 61: .same(proto: "QUEST_BATTLE_PLAYER_TEAM_LEADER"), + 62: .same(proto: "QUEST_FIRST_ROUTE_OF_THE_DAY"), + 63: .same(proto: "QUEST_SUBMIT_SLEEP_DATA"), + 64: .same(proto: "QUEST_ROUTE_TRAVEL"), + 65: .same(proto: "QUEST_ROUTE_COMPLETE"), + 66: .same(proto: "QUEST_COLLECT_TAPPABLE"), + 67: .same(proto: "QUEST_ACTIVATE_TRAINER_ABILITY"), + 68: .same(proto: "QUEST_NPC_SEND_GIFT"), + 69: .same(proto: "QUEST_NPC_OPEN_GIFT"), + 70: .same(proto: "QUEST_PTC_OAUTH_LINK"), + 71: .same(proto: "QUEST_FIGHT_POKEMON"), + 72: .same(proto: "QUEST_USE_NON_COMBAT_MOVE"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._imageTextCreative) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.encryptedAdToken) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.impressionTrackingTag) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._gamDetails) }() - default: break - } - } - } +extension RaidLevel: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "RAID_LEVEL_UNSET"), + 1: .same(proto: "RAID_LEVEL_1"), + 2: .same(proto: "RAID_LEVEL_2"), + 3: .same(proto: "RAID_LEVEL_3"), + 4: .same(proto: "RAID_LEVEL_4"), + 5: .same(proto: "RAID_LEVEL_5"), + 6: .same(proto: "RAID_LEVEL_MEGA"), + 7: .same(proto: "RAID_LEVEL_MEGA_5"), + 8: .same(proto: "RAID_LEVEL_ULTRA_BEAST"), + 9: .same(proto: "RAID_LEVEL_EXTENDED_EGG"), + 10: .same(proto: "RAID_LEVEL_PRIMAL"), + 11: .same(proto: "RAID_LEVEL_1_SHADOW"), + 12: .same(proto: "RAID_LEVEL_2_SHADOW"), + 13: .same(proto: "RAID_LEVEL_3_SHADOW"), + 14: .same(proto: "RAID_LEVEL_4_SHADOW"), + 15: .same(proto: "RAID_LEVEL_5_SHADOW"), + ] +} - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._imageTextCreative { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.encryptedAdToken.isEmpty { - try visitor.visitSingularBytesField(value: self.encryptedAdToken, fieldNumber: 2) - } - if !self.impressionTrackingTag.isEmpty { - try visitor.visitRepeatedMessageField(value: self.impressionTrackingTag, fieldNumber: 3) - } - try { if let v = self._gamDetails { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try unknownFields.traverse(visitor: &visitor) - } +extension RaidLocationRequirement: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "RAID_LOCATION_REQUERIMENT_BOTH"), + 1: .same(proto: "RAID_LOCATION_REQUERIMENT_IN_PERSON"), + 2: .same(proto: "RAID_LOCATION_REQUERIMENT_REMOTE"), + ] +} - public static func ==(lhs: AdDetails, rhs: AdDetails) -> Bool { - if lhs._imageTextCreative != rhs._imageTextCreative {return false} - if lhs.encryptedAdToken != rhs.encryptedAdToken {return false} - if lhs.impressionTrackingTag != rhs.impressionTrackingTag {return false} - if lhs._gamDetails != rhs._gamDetails {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension RaidPlaquePipStyle: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "RAID_PLAQUE_STYLE_UNSET"), + 1: .same(proto: "RAID_PLAQUE_STYLE_TRIANGLE"), + 2: .same(proto: "RAID_PLAQUE_STYLE_DIAMOND"), + 3: .same(proto: "RAID_PLAQUE_STYLE_STAR"), + ] } -extension AdFeedbackSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdFeedbackSettingsProto" +extension RaidTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "enable_report_ad"), - 3: .standard(proto: "enable_not_interested"), - 4: .standard(proto: "enable_see_more"), + 0: .same(proto: "RAID_TELEMETRY_IDS_UNDEFINED_RAID_EVENT"), + 1: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_ENTER"), + 2: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_CLICK_SPINNER"), + 3: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_JOIN"), + 4: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_TICKET_CONFIRMATION"), + 5: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_CLICK_TUTORIAL"), + 6: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_CLICK_SHOP"), + 7: .same(proto: "RAID_TELEMETRY_IDS_APPROACH_CLICK_INSPECT"), + 8: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_ENTER"), + 9: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_CLICK_INVENTORY"), + 10: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_CLICK_EXIT"), + 11: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_TAP_AVATAR"), + 12: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_CLICK_REJOIN_BATTLE"), + 13: .same(proto: "RAID_TELEMETRY_IDS_LOBBY_CLICK_LOBBY_PUBLIC"), + 14: .same(proto: "RAID_TELEMETRY_IDS_MVT_CLICK_SHARE"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.enableReportAd) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.enableNotInterested) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.enableSeeMore) }() - default: break - } - } - } +extension RaidVisualType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "RAID_VISUAL_TYPE_UNSET"), + 1: .same(proto: "RAID_VISUAL_TYPE_NORMAL"), + 2: .same(proto: "RAID_VISUAL_TYPE_EXCLUSIVE"), + 3: .same(proto: "RAID_VISUAL_TYPE_MEGA"), + 4: .same(proto: "RAID_VISUAL_TYPE_LEGENDARY_MEGA"), + 5: .same(proto: "RAID_VISUAL_TYPE_EXTENDED"), + 6: .same(proto: "RAID_VISUAL_TYPE_PRIMAL"), + 7: .same(proto: "RAID_VISUAL_TYPE_SHADOW"), + ] +} - public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.enableReportAd != false { - try visitor.visitSingularBoolField(value: self.enableReportAd, fieldNumber: 2) - } - if self.enableNotInterested != false { - try visitor.visitSingularBoolField(value: self.enableNotInterested, fieldNumber: 3) - } - if self.enableSeeMore != false { - try visitor.visitSingularBoolField(value: self.enableSeeMore, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } +extension ReferralRole: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "REFERRAL_ROLE_UNDEFINED"), + 1: .same(proto: "REFERRAL_ROLE_REFERRER"), + 2: .same(proto: "REFERRAL_ROLE_NEW_REFEREE"), + 3: .same(proto: "REFERRAL_ROLE_LAPSED_REFEREE"), + ] +} - public static func ==(lhs: AdFeedbackSettingsProto, rhs: AdFeedbackSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.enableReportAd != rhs.enableReportAd {return false} - if lhs.enableNotInterested != rhs.enableNotInterested {return false} - if lhs.enableSeeMore != rhs.enableSeeMore {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension ReferralSource: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "REFERRAL_SOURCE_UNDEFINED_SOURCE"), + 1: .same(proto: "REFERRAL_SOURCE_INVITE_PAGE"), + 2: .same(proto: "REFERRAL_SOURCE_ADDRESS_BOOK"), + 3: .same(proto: "REFERRAL_SOURCE_IMAGE_SHARE"), + ] } -extension AdProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdProto" +extension ReferralTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ad_details"), - 2: .standard(proto: "ad_response_status"), + 0: .same(proto: "REFERRAL_TELEMETRY_IDS_UNDEFINED_REFERRAL_EVENT"), + 1: .same(proto: "REFERRAL_TELEMETRY_IDS_OPEN_INVITE_PAGE"), + 2: .same(proto: "REFERRAL_TELEMETRY_IDS_TAP_SHARE_CODE"), + 3: .same(proto: "REFERRAL_TELEMETRY_IDS_TAP_COPY_CODE"), + 4: .same(proto: "REFERRAL_TELEMETRY_IDS_TAP_HAVE_REFERRAL_CODE"), + 5: .same(proto: "REFERRAL_TELEMETRY_IDS_INPUT_CODE"), + 6: .same(proto: "REFERRAL_TELEMETRY_IDS_INPUT_CODE_SUCCESS"), + 7: .same(proto: "REFERRAL_TELEMETRY_IDS_MILESTONE_REWARD_CLAIMED"), + 8: .same(proto: "REFERRAL_TELEMETRY_IDS_OPEN_APP_THROUGH_DEEP_LINK"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._adDetails) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.adResponseStatus) }() - default: break - } - } - } +extension RemoteRaidInviteAcceptSource: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "REMOTE_RAID_INVITE_ACCEPT_SOURCE_UNDEFINED_REMOTE_RAID_INVITE_ACCEPT_SOURCE"), + 1: .same(proto: "REMOTE_RAID_INVITE_ACCEPT_SOURCE_REMOTE_RAID_IN_APP"), + 2: .same(proto: "REMOTE_RAID_INVITE_ACCEPT_SOURCE_REMOTE_RAID_PUSH_NOTIFICATION"), + 3: .same(proto: "REMOTE_RAID_INVITE_ACCEPT_SOURCE_REMOTE_RAID_NEARBY_WINDOW"), + ] +} - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._adDetails { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.adResponseStatus != .wasabiAdFound { - try visitor.visitSingularEnumField(value: self.adResponseStatus, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } +extension RemoteRaidJoinSource: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "REMOTE_RAID_JOIN_SOURCE_UNDEFINED_REMOTE_RAID_JOIN_SOURCE"), + 1: .same(proto: "REMOTE_RAID_JOIN_SOURCE_REMOTE_RAID_USED_MAP"), + 2: .same(proto: "REMOTE_RAID_JOIN_SOURCE_REMOTE_RAID_NEARBY_GUI"), + 3: .same(proto: "REMOTE_RAID_JOIN_SOURCE_REMOTE_RAID_INVITED_BY_FRIEND"), + ] +} - public static func ==(lhs: AdProto, rhs: AdProto) -> Bool { - if lhs._adDetails != rhs._adDetails {return false} - if lhs.adResponseStatus != rhs.adResponseStatus {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension RemoteRaidTelemetryIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_UNDEFINED_REMOTE_RAID_EVENT"), + 1: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_REMOTE_RAID_LOBBY_ENTER"), + 2: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_REMOTE_RAID_INVITE_SENT"), + 3: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_REMOTE_RAID_INVITE_ACCEPTED"), + 4: .same(proto: "REMOTE_RAID_TELEMETRY_IDS_REMOTE_RAID_INVITE_REJECTED"), + ] } -extension AdRequestDeviceInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdRequestDeviceInfo" +extension RouteDiscoveryTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "operating_system"), - 2: .standard(proto: "device_model"), - 3: .same(proto: "carrier"), - 4: .standard(proto: "operating_system_version"), - 5: .standard(proto: "system_memory_size_mb"), - 6: .standard(proto: "graphics_memory_size_mb"), - 7: .standard(proto: "camera_permission_granted"), + 0: .same(proto: "ROUTE_DISCOVERY_TELEMETRY_IDS_ROUTE_DISCOVERY_OPEN"), + 1: .same(proto: "ROUTE_DISCOVERY_TELEMETRY_IDS_ROUTE_DISCOVERY_ABANDON"), + 2: .same(proto: "ROUTE_DISCOVERY_TELEMETRY_IDS_ROUTE_DISCOVERY_ROUTE_SELECTED"), + 3: .same(proto: "ROUTE_DISCOVERY_TELEMETRY_IDS_ROUTE_DISCOVERY_PAGE_SCROLL"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.operatingSystem) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.carrier) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.operatingSystemVersion) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.systemMemorySizeMb) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.graphicsMemorySizeMb) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.cameraPermissionGranted) }() - default: break - } - } - } +extension RouteErrorTelemetryIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "ROUTE_ERROR_TELEMETRY_IDS_ROUTE_ERROR_DEFAULT"), + ] +} - public func traverse(visitor: inout V) throws { - if self.operatingSystem != .platformUnknown { - try visitor.visitSingularEnumField(value: self.operatingSystem, fieldNumber: 1) - } - if !self.deviceModel.isEmpty { - try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 2) - } - if !self.carrier.isEmpty { - try visitor.visitSingularStringField(value: self.carrier, fieldNumber: 3) - } - if !self.operatingSystemVersion.isEmpty { - try visitor.visitSingularStringField(value: self.operatingSystemVersion, fieldNumber: 4) - } - if self.systemMemorySizeMb != 0 { - try visitor.visitSingularInt32Field(value: self.systemMemorySizeMb, fieldNumber: 5) - } - if self.graphicsMemorySizeMb != 0 { - try visitor.visitSingularInt32Field(value: self.graphicsMemorySizeMb, fieldNumber: 6) - } - if self.cameraPermissionGranted != false { - try visitor.visitSingularBoolField(value: self.cameraPermissionGranted, fieldNumber: 7) - } - try unknownFields.traverse(visitor: &visitor) - } +extension RouteType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "ROUTE_TYPE_UNSET"), + 1: .same(proto: "ROUTE_TYPE_ORGANIC"), + 2: .same(proto: "ROUTE_TYPE_OFFICIAL"), + 3: .same(proto: "ROUTE_TYPE_EVENT"), + 4: .same(proto: "ROUTE_TYPE_SPONSORED"), + ] +} - public static func ==(lhs: AdRequestDeviceInfo, rhs: AdRequestDeviceInfo) -> Bool { - if lhs.operatingSystem != rhs.operatingSystem {return false} - if lhs.deviceModel != rhs.deviceModel {return false} - if lhs.carrier != rhs.carrier {return false} - if lhs.operatingSystemVersion != rhs.operatingSystemVersion {return false} - if lhs.systemMemorySizeMb != rhs.systemMemorySizeMb {return false} - if lhs.graphicsMemorySizeMb != rhs.graphicsMemorySizeMb {return false} - if lhs.cameraPermissionGranted != rhs.cameraPermissionGranted {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension SaturdayCompositionData: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "DATA_0"), + 1: .same(proto: "DATA_1"), + 2: .same(proto: "DATA_2"), + 3: .same(proto: "DATA_3"), + 4: .same(proto: "DATA_4"), + 5: .same(proto: "DATA_5"), + 6: .same(proto: "DATA_6"), + 7: .same(proto: "DATA_7"), + 8: .same(proto: "DATA_8"), + 9: .same(proto: "DATA_9"), + 10: .same(proto: "DATA_10"), + 11: .same(proto: "DATA_11"), + 12: .same(proto: "DATA_12"), + 13: .same(proto: "DATA_13"), + 14: .same(proto: "DATA_14"), + 15: .same(proto: "DATA_15"), + 16: .same(proto: "DATA_16"), + 17: .same(proto: "DATA_17"), + 18: .same(proto: "DATA_18"), + 19: .same(proto: "DATA_19"), + 20: .same(proto: "DATA_20"), + 21: .same(proto: "DATA_21"), + 22: .same(proto: "DATA_22"), + 23: .same(proto: "DATA_23"), + 24: .same(proto: "DATA_24"), + 25: .same(proto: "DATA_25"), + 26: .same(proto: "DATA_26"), + 27: .same(proto: "DATA_27"), + 28: .same(proto: "DATA_28"), + 29: .same(proto: "DATA_29"), + 30: .same(proto: "DATA_30"), + 31: .same(proto: "DATA_31"), + 32: .same(proto: "DATA_32"), + 33: .same(proto: "DATA_33"), + 34: .same(proto: "DATA_34"), + 35: .same(proto: "DATA_35"), + 36: .same(proto: "DATA_36"), + 37: .same(proto: "DATA_37"), + 38: .same(proto: "DATA_38"), + 39: .same(proto: "DATA_39"), + 40: .same(proto: "DATA_40"), + 41: .same(proto: "DATA_41"), + 42: .same(proto: "DATA_42"), + 43: .same(proto: "DATA_43"), + 44: .same(proto: "DATA_44"), + 45: .same(proto: "DATA_45"), + 46: .same(proto: "DATA_46"), + 47: .same(proto: "DATA_47"), + 48: .same(proto: "DATA_48"), + 49: .same(proto: "DATA_49"), + 50: .same(proto: "DATA_50"), + 51: .same(proto: "DATA_51"), + 52: .same(proto: "DATA_52"), + 53: .same(proto: "DATA_53"), + 54: .same(proto: "DATA_54"), + 55: .same(proto: "DATA_55"), + 56: .same(proto: "DATA_56"), + 57: .same(proto: "DATA_57"), + 58: .same(proto: "DATA_58"), + 59: .same(proto: "DATA_59"), + 60: .same(proto: "DATA_60"), + 61: .same(proto: "DATA_61"), + 62: .same(proto: "DATA_62"), + 63: .same(proto: "DATA_63"), + ] } -extension AdRequestDeviceInfo.OperatingSystem: SwiftProtobuf._ProtoNameProviding { +extension ShoppingPageScrollIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PLATFORM_UNKNOWN"), - 1: .same(proto: "PLATFORM_ANDROID"), - 2: .same(proto: "PLATFORM_IOS"), + 0: .same(proto: "SHOPPING_PAGE_SCROLL_IDS_UNDEFINED_SHOPPING_PAGE_SCROLL_TYPE"), + 1: .same(proto: "SHOPPING_PAGE_SCROLL_IDS_LAST_SCROLL"), + 2: .same(proto: "SHOPPING_PAGE_SCROLL_IDS_MAX_SCROLL"), ] } -extension AdTargetingInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdTargetingInfoProto" +extension ShoppingPageTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "device_info"), - 2: .standard(proto: "avatar_gender"), + 0: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_UNDEFINED_SHOPPING_PAGE_EVENT"), + 1: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_CUSTOMIZE_AVATAR"), + 2: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUICK_SHOP_MORE"), + 3: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUICK_SHOP_EXCHANGE"), + 4: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_SHOP"), + 5: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_SHOP"), + 6: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_SKU"), + 7: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_SKU"), + 8: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_SKU_EXCHANGE"), + 9: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_SHOP_AVATAR"), + 10: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_SHOP_AVATAR"), + 11: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_AVATAR_TYPE"), + 12: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_AVATAR_TYPE"), + 13: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_AVATAR_ITEM"), + 14: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_AVATAR_ITEM"), + 15: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CONFIRM_AVATAR_ITEM"), + 16: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CLICK_AVATAR_ITEM_COLOR"), + 17: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_QUIT_AVATAR_ITEM_COLOR"), + 18: .same(proto: "SHOPPING_PAGE_TELEMETRY_IDS_CONFIRM_AVATAR_ITEM_COLOR"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._deviceInfo) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.avatarGender) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._deviceInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.avatarGender != .unknown { - try visitor.visitSingularEnumField(value: self.avatarGender, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AdTargetingInfoProto, rhs: AdTargetingInfoProto) -> Bool { - if lhs._deviceInfo != rhs._deviceInfo {return false} - if lhs.avatarGender != rhs.avatarGender {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddFavoriteFriendRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddFavoriteFriendRequest" +extension ShoppingPageTelemetrySource: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .standard(proto: "friend_nia_account_id"), + 0: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_UNDEFINED_SHOPPING_PAGE_SOURCE"), + 1: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_MAIN_MENU"), + 2: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_POKEMON_BAG_FULL"), + 3: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_INCUBATOR_SELECTOR"), + 4: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_POKESTOP_DISK_INTERACTION"), + 5: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_OPEN_GIFT_BAG_FULL"), + 6: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_FULL_ENCOUNTER"), + 7: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_FULL_RAID"), + 8: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_MORE"), + 9: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_AVATAR_ITEM"), + 10: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_POKEMON_ENCOUNTER"), + 11: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_PLAYER_PROFILE_PAGE"), + 12: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_STORE_FRONT"), + 13: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_AVATAR_CUSTOMIZATION_AWARD"), + 14: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_FIRST_TIME_USER_FLOW"), + 15: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_BADGE_DETAIL_AVATAR_REWARD"), + 16: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_DEEP_LINK"), + 17: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_RAID_PASS"), + 18: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_REMOTE_RAID_PASS"), + 100: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BUDDY_INTERACTION_POFFIN"), + 101: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BUDDY_QUICK_FEED_POFFIN"), + 102: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_INCENSE_ORDINARY"), + 103: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_LUCKY_EGG"), + 104: .same(proto: "SHOPPING_PAGE_TELEMETRY_SOURCE_SOURCE_QUICK_SHOP_BAG_MISSING_STAR_PIECE"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.friendNiaAccountID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) - } - if !self.friendNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.friendNiaAccountID, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddFavoriteFriendRequest, rhs: AddFavoriteFriendRequest) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddFavoriteFriendResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddFavoriteFriendResponse" +extension SocialTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 0: .same(proto: "SOCIAL_TELEMETRY_IDS_UNDEFINED_SOCIAL"), + 1: .same(proto: "SOCIAL_TELEMETRY_IDS_FRIEND_TAB"), + 2: .same(proto: "SOCIAL_TELEMETRY_IDS_NOTIFICATION_TAB"), + 3: .same(proto: "SOCIAL_TELEMETRY_IDS_FRIEND_PROFILE"), + 4: .same(proto: "SOCIAL_TELEMETRY_IDS_OPEN_FRIEND_SHIP_LEVEL_DETAIL"), + 5: .same(proto: "SOCIAL_TELEMETRY_IDS_CLOSE_OPEN_GIFT_CONFIRMATION"), + 6: .same(proto: "SOCIAL_TELEMETRY_IDS_FRIEND_LIST_SORT_CHANGED"), + 7: .same(proto: "SOCIAL_TELEMETRY_IDS_FRIEND_LIST_CLOSED"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddFavoriteFriendResponse, rhs: AddFavoriteFriendResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddFavoriteFriendResponse.Result: SwiftProtobuf._ProtoNameProviding { +extension Source: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), + 0: .same(proto: "SOURCE_DEFAULT_UNSET"), + 1: .same(proto: "SOURCE_MODERATION"), + 2: .same(proto: "SOURCE_ANTICHEAT"), + 3: .same(proto: "SOURCE_RATE_LIMITED"), ] } -extension AddFortModifierOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddFortModifierOutProto" +extension SouvenirTypeId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "fort_details_out_proto"), + 0: .same(proto: "SOUVENIR_UNSET"), + 1: .same(proto: "SOUVENIR_LONE_EARRING"), + 2: .same(proto: "SOUVENIR_SMALL_BOUQUET"), + 3: .same(proto: "SOUVENIR_SKIPPING_STONE"), + 4: .same(proto: "SOUVENIR_BEACH_GLASS"), + 5: .same(proto: "SOUVENIR_TROPICAL_SHELL"), + 6: .same(proto: "SOUVENIR_MUSHROOM"), + 7: .same(proto: "SOUVENIR_CHALKY_STONE"), + 8: .same(proto: "SOUVENIR_PINECONE"), + 9: .same(proto: "SOUVENIR_TROPICAL_FLOWER"), + 10: .same(proto: "SOUVENIR_FLOWER_FRUITS"), + 11: .same(proto: "SOUVENIR_CACTUS_FLOWER"), + 12: .same(proto: "SOUVENIR_STRETCHY_SPRING"), + 13: .same(proto: "SOUVENIR_MARBLE"), + 14: .same(proto: "SOUVENIR_TORN_TICKET"), + 15: .same(proto: "SOUVENIR_PRETTY_LEAF"), + 16: .same(proto: "SOUVENIR_CONFETTI"), + 17: .same(proto: "SOUVENIR_PIKACHU_VISOR"), + 18: .same(proto: "SOUVENIR_PAPER_AIRPLANE"), + 19: .same(proto: "SOUVENIR_TINY_COMPASS"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._fortDetailsOutProto) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .noResultSet { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._fortDetailsOutProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddFortModifierOutProto, rhs: AddFortModifierOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._fortDetailsOutProto != rhs._fortDetailsOutProto {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddFortModifierOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension SponsorPoiInvalidReason: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_RESULT_SET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FORT_ALREADY_HAS_MODIFIER"), - 3: .same(proto: "TOO_FAR_AWAY"), - 4: .same(proto: "NO_ITEM_IN_INVENTORY"), - 5: .same(proto: "POI_INACCESSIBLE"), + 0: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_UNSPECIFIED"), + 1: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_DOES_NOT_EXIST"), + 2: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_NOT_SAFE"), + 3: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_NOT_TRUTHFUL"), + 4: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_NOT_FAMILY_FRIENDLY"), + 5: .same(proto: "SPONSOR_POI_INVALID_REASON_SPONSOR_POI_REASON_OFFENSIVE_CONTENT"), ] } -extension AddFortModifierProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddFortModifierProto" +extension StatModifierType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "modifier_type"), - 2: .standard(proto: "fort_id"), - 3: .standard(proto: "player_lat_degrees"), - 4: .standard(proto: "player_lng_degrees"), + 0: .same(proto: "UNSET_STAT_MODIFIER_TYPE"), + 1: .same(proto: "ATTACK_STAGE"), + 2: .same(proto: "DEFENSE_STAGE"), + 3: .same(proto: "DAMAGE_DEALT_DELTA"), + 4: .same(proto: "DAMAGE_TAKEN_DELTA"), + 5: .same(proto: "ARBITRARY_COUNTER"), + 6: .same(proto: "PARTY_POWER_DAMAGE_DEALT"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.modifierType) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.modifierType != .unknown { - try visitor.visitSingularEnumField(value: self.modifierType, fieldNumber: 1) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) - } - if self.playerLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) - } - if self.playerLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddFortModifierProto, rhs: AddFortModifierProto) -> Bool { - if lhs.modifierType != rhs.modifierType {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} - if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddFriendQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddFriendQuestProto" +extension Store: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "added_friend_ids"), + 0: .same(proto: "STORE_UNSET"), + 1: .same(proto: "STORE_APPLE"), + 2: .same(proto: "STORE_GOOGLE"), + 3: .same(proto: "STORE_SAMSUNG"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.addedFriendIds) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.addedFriendIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.addedFriendIds, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddFriendQuestProto, rhs: AddFriendQuestProto) -> Bool { - if lhs.addedFriendIds != rhs.addedFriendIds {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddLoginActionOutProto" +extension Team: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "success"), - 2: .standard(proto: "login_detail"), - 3: .same(proto: "status"), + 0: .same(proto: "TEAM_UNSET"), + 1: .same(proto: "TEAM_BLUE"), + 2: .same(proto: "TEAM_RED"), + 3: .same(proto: "TEAM_YELLOW"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) - } - if !self.loginDetail.isEmpty { - try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) - } - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddLoginActionOutProto, rhs: AddLoginActionOutProto) -> Bool { - if lhs.success != rhs.success {return false} - if lhs.loginDetail != rhs.loginDetail {return false} - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension TitanPlayerSubmissionAction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_UNKNOWN_GAME_POI_ACTION"), + 620000: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_ADD_NEW_POI"), + 620001: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_AVAILABLE_SUBMISSIONS"), + 620002: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), + 620003: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_PLAYER_SUBMISSION_VALIDATION_SETTINGS"), + 620004: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_ADD_NEW_POI"), + 620005: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), + 620100: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_IMAGE"), + 620101: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_TEXT_METADATA_UPDATE"), + 620102: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_LOCATION_UPDATE"), + 620103: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_TAKEDOWN_REQUEST"), + 620104: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_SPONSOR_POI_REPORT"), + 620105: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_SPONSOR_POI_LOCATION_UPDATE"), + 620106: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_CATEGORY_VOTE"), + 620107: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_IMAGE"), + 620108: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_TEXT_METADATA_UPDATE"), + 620109: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_LOCATION_UPDATE"), + 620110: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_TAKEDOWN_REQUEST"), + 620200: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_ADD_NEW_ROUTE"), + 620300: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GENERATE_GMAP_SIGNED_URL"), + 620301: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_GMAP_SETTINGS"), + 620400: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_AR_VIDEO_METADATA"), + 620401: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_GRAPESHOT_FILE_UPLOAD_URL"), + 620402: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_ASYNC_FILE_UPLOAD_COMPLETE"), + 620403: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_AR_MAPPING_SETTINGS"), + 620404: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_AR_VIDEO_METADATA"), + 620405: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_GET_GRAPESHOT_FILE_UPLOAD_URL"), + 620406: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_ASYNC_FILE_UPLOAD_COMPLETE"), + 620407: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_MAPPING_REQUEST"), + 620408: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_MAPPING_REQUEST"), + 620500: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_IMAGES_FOR_POI"), + 620501: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_SUBMIT_PLAYER_IMAGE_VOTE_FOR_POI"), + 620502: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_IMAGE_GALLERY_SETTINGS"), + 620600: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_MAP_DATA"), + 620601: .same(proto: "TITAN_PLAYER_SUBMISSION_ACTION_GET_POIS_IN_RADIUS"), + ] +} + +extension TitanPoiImageType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "TITAN_POI_IMAGE_TYPE_UNSET"), + 1: .same(proto: "TITAN_POI_IMAGE_TYPE_MAIN"), + 2: .same(proto: "TITAN_POI_IMAGE_TYPE_SURROUNDING"), + ] } -extension AddLoginActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension TrainerAbility: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "AUTH_FAILURE"), - 2: .same(proto: "LOGIN_TAKEN"), - 3: .same(proto: "ERROR_UNKNOWN"), + 0: .same(proto: "UNSET_TRAINER_ABILITY"), + 1: .same(proto: "ABILITY_PARTY_POWER_DAMAGE_DEALT"), ] } -extension AddLoginActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddLoginActionProto" +extension TutorialCompletion: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "identity_provider"), - 2: .standard(proto: "inner_message"), - 3: .standard(proto: "auth_provider_id"), + 0: .same(proto: "LEGAL_SCREEN"), + 1: .same(proto: "AVATAR_SELECTION"), + 2: .same(proto: "ACCOUNT_CREATION"), + 3: .same(proto: "POKEMON_CAPTURE"), + 4: .same(proto: "NAME_SELECTION"), + 5: .same(proto: "POKEMON_BERRY"), + 6: .same(proto: "USE_ITEM"), + 7: .same(proto: "FIRST_TIME_EXPERIENCE_COMPLETE"), + 8: .same(proto: "POKESTOP_TUTORIAL"), + 9: .same(proto: "GYM_TUTORIAL"), + 10: .same(proto: "CHALLENGE_QUEST_TUTORIAL"), + 11: .same(proto: "PRIVACY_POLICY_CONFIRMATION"), + 12: .same(proto: "TRADING_TUTORIAL"), + 13: .same(proto: "POI_SUBMISSION_TUTORIAL"), + 14: .same(proto: "V1_START_TUTORIAL"), + 15: .same(proto: "V2_START_TUTORIAL"), + 16: .same(proto: "V2_CUSTOMIZED_AVATAR"), + 17: .same(proto: "V2_CAUGHT_FIRST_WILD"), + 18: .same(proto: "V2_FINISHED_TUTORIAL_CATCHES"), + 19: .same(proto: "V2_NAME_SELECTION"), + 20: .same(proto: "V2_EGG_GIVEN"), + 21: .same(proto: "V2_START_EGG_TUTORIAL"), + 22: .same(proto: "V2_COMPLETED_EGG_TUTORIAL"), + 23: .same(proto: "AR_PHOTO_TUTORIAL"), + 24: .same(proto: "STARTER_POKEMON_CAPTURED"), + 25: .same(proto: "AR_PHOTO_FIRST_TIME_DIALOG"), + 26: .same(proto: "AR_CLASSIC_PHOTO_TUTORIAL"), + 27: .same(proto: "AR_PLUS_PHOTO_TUTORIAL"), + 29: .same(proto: "INVASION_INTRODUCTION_DIALOG"), + 30: .same(proto: "INVASION_ENCOUNTER_DIALOG"), + 31: .same(proto: "INVASION_SHADOW_POKEMON_DIALOG"), + 32: .same(proto: "ROUTES_CREATION"), + 33: .same(proto: "INVASION_MAP_FRAGMENT_DIALOG"), + 34: .same(proto: "INVASION_MAP_RECEIVED_DIALOG"), + 35: .same(proto: "INVASION_MAP_2_RECEIVED_DIALOG"), + 36: .same(proto: "BUDDY_WELCOME_PROMPT"), + 37: .same(proto: "BUDDY_AR_PLUS_TUTORIAL"), + 38: .same(proto: "BUDDY_FEED_TUTORIAL"), + 39: .same(proto: "BUDDY_ON_MAP_PROMPT"), + 40: .same(proto: "BATTLE_LEAGUE_HELP_TUTORIAL"), + 41: .same(proto: "ARMP_TOS_CONFIRMATION"), + 42: .same(proto: "BUDDY_REMOTE_GIFT_TUTORIAL"), + 43: .same(proto: "XL_CANDY_TUTORIAL"), + 44: .same(proto: "LEVEL_UP_PAGE_TUTORIAL"), + 45: .same(proto: "DAILY_BONUS_ENCOUNTER_TUTORIAL"), + 46: .same(proto: "SPONSORED_GIFT_TUTORIAL"), + 47: .same(proto: "XGS_ONLINE_CONSENT_NOTE"), + 48: .same(proto: "APP_TRACKING_OPTIN_REQUIRED_TUTORIAL"), + 49: .same(proto: "APP_TRACKING_OPTIN_DIALOG"), + 50: .same(proto: "ADDRESS_BOOK_IMPORT_PROMPT"), + 51: .same(proto: "POKEMON_TAGS_INTRODUCTION"), + 52: .same(proto: "GYM_TUTORIAL_BUTTON_PROMPT_SHOWN"), + 53: .same(proto: "RAID_TUTORIAL_BUTTON_PROMPT_SHOWN"), + 54: .same(proto: "POTION_AND_REVIVE_TUTORIAL_INTRODUCED"), + 55: .same(proto: "POTION_AND_REVIVE_TUTORIAL_VIEWED"), + 56: .same(proto: "POSTCARD_COLLECTION_TUTORIAL_VIEWED"), + 57: .same(proto: "SHOULD_SHOW_POTION_AND_REVIVE_TUTORIAL"), + 58: .same(proto: "RECEIVED_GIFT"), + 59: .same(proto: "FRIEND_TUTORIAL_BUTTON_PROMPT_SHOWN"), + 60: .same(proto: "SHOULD_SHOW_GIFT_TUTORIAL"), + 61: .same(proto: "GIFT_TUTORIAL_INTRODUCED"), + 62: .same(proto: "GIFT_TUTORIAL_COMPLETE"), + 63: .same(proto: "CHALLENGE_CATCH_RAZZBERRY"), + 64: .same(proto: "SHOULD_SHOW_LURE_TUTORIAL"), + 65: .same(proto: "LURE_TUTORIAL_INTRODUCED"), + 66: .same(proto: "LURE_BUTTON_PROMPT_SHOWN"), + 67: .same(proto: "LURE_BUTTON_DIALOG_SHOWN"), + 68: .same(proto: "REMOTE_RAID_TUTORIAL"), + 69: .same(proto: "TRADE_TUTORIAL_INTRODUCED"), + 70: .same(proto: "TRADE_TUTORIAL_COMPLETE"), + 71: .same(proto: "LUCKY_FRIEND_TUTORIAL"), + 72: .same(proto: "LUCKY_TRADE_TUTORIAL"), + 73: .same(proto: "MEGA_LEVELS_TUTORIAL"), + 74: .same(proto: "SPONSORED_WEB_AR_TUTORIAL"), + 75: .same(proto: "BUTTERFLY_REGION_TUTORIAL"), + 76: .same(proto: "SPONSORED_VIDEO_TUTORIAL"), + 77: .same(proto: "ADDRESS_BOOK_IMPORT_PROMPT_V2"), + 78: .same(proto: "LOCATION_CARD_TUTORIAL"), + 79: .same(proto: "MASTER_BALL_INTRODUCTION_PROMPT"), + 80: .same(proto: "SHADOW_GEM_FRAGMENT_DIALOG"), + 81: .same(proto: "SHADOW_GEM_RECEIVED_DIALOG"), + 82: .same(proto: "RAID_TUTORIAL_SHADOW_BUTTON_PROMPT_SHOWN"), + 83: .same(proto: "CONTESTS_TUTORIAL"), + 84: .same(proto: "ROUTE_TRAVEL"), + 85: .same(proto: "PARTY_PLAY_TUTORIAL"), + 86: .same(proto: "PINECONE_TUTORIAL_0"), + 87: .same(proto: "PINECONE_TUTORIAL_1"), + 88: .same(proto: "PINECONE_TUTORIAL_2"), + 89: .same(proto: "PINECONE_TUTORIAL_3"), + 90: .same(proto: "PINECONE_TUTORIAL_4"), + 91: .same(proto: "PINECONE_TUTORIAL_5"), + 92: .same(proto: "BREAKFAST_TAPPABLE_TUTORIAL"), + 93: .same(proto: "RAID_TUTORIAL_PARTY_PLAY_PROMPT_SHOWN"), + 94: .same(proto: "NPC_EXPLORER_INTRODUCED"), + 95: .same(proto: "NPC_TRAVELER_INTRODUCED"), + 96: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN"), + 97: .same(proto: "NONCOMBAT_SPACIAL_REND_PROMPT_SHOWN"), + 98: .same(proto: "NONCOMBAT_ROAR_OF_TIME_PROMPT_SHOWN"), + 99: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_01"), + 100: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_02"), + 101: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_03"), + 102: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_04"), + 103: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_05"), + 104: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_06"), + 105: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_07"), + 106: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_08"), + 107: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_09"), + 108: .same(proto: "NONCOMBAT_MOVE_PROMPT_SHOWN_10"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.identityProvider) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.innerMessage) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.identityProvider != .unsetIdentityProvider { - try visitor.visitSingularEnumField(value: self.identityProvider, fieldNumber: 1) - } - if !self.innerMessage.isEmpty { - try visitor.visitSingularBytesField(value: self.innerMessage, fieldNumber: 2) - } - if !self.authProviderID.isEmpty { - try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddLoginActionProto, rhs: AddLoginActionProto) -> Bool { - if lhs.identityProvider != rhs.identityProvider {return false} - if lhs.innerMessage != rhs.innerMessage {return false} - if lhs.authProviderID != rhs.authProviderID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddReferrerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddReferrerOutProto" +extension TweenAction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 0: .same(proto: "TWEEN_ACTION_MOVE_X"), + 1: .same(proto: "TWEEN_ACTION_MOVE_Y"), + 2: .same(proto: "TWEEN_ACTION_MOVE_Z"), + 3: .same(proto: "TWEEN_ACTION_MOVE_LOCAL_X"), + 4: .same(proto: "TWEEN_ACTION_MOVE_LOCAL_Y"), + 5: .same(proto: "TWEEN_ACTION_MOVE_LOCAL_Z"), + 6: .same(proto: "TWEEN_ACTION_MOVE_CURVED"), + 7: .same(proto: "TWEEN_ACTION_MOVE_CURVED_LOCAL"), + 8: .same(proto: "TWEEN_ACTION_MOVE_SPLINE"), + 9: .same(proto: "TWEEN_ACTION_MOVE_SPLINE_LOCAL"), + 10: .same(proto: "TWEEN_ACTION_SCALE_X"), + 11: .same(proto: "TWEEN_ACTION_SCALE_Y"), + 12: .same(proto: "TWEEN_ACTION_SCALE_Z"), + 13: .same(proto: "TWEEN_ACTION_ROTATE_X"), + 14: .same(proto: "TWEEN_ACTION_ROTATE_Y"), + 15: .same(proto: "TWEEN_ACTION_ROTATE_Z"), + 16: .same(proto: "TWEEN_ACTION_ROTATE_AROUND"), + 17: .same(proto: "TWEEN_ACTION_ROTATE_AROUND_LOCAL"), + 18: .same(proto: "TWEEN_ACTION_CANVAS_ROTATEAROUND"), + 19: .same(proto: "TWEEN_ACTION_CANVAS_ROTATEAROUND_LOCAL"), + 20: .same(proto: "TWEEN_ACTION_CANVAS_PLAYSPRITE"), + 21: .same(proto: "TWEEN_ACTION_ALPHA"), + 22: .same(proto: "TWEEN_ACTION_TEXT_ALPHA"), + 23: .same(proto: "TWEEN_ACTION_CANVAS_ALPHA"), + 24: .same(proto: "TWEEN_ACTION_ALPHA_VERTEX"), + 25: .same(proto: "TWEEN_ACTION_COLOR"), + 26: .same(proto: "TWEEN_ACTION_CALLBACK_COLOR"), + 27: .same(proto: "TWEEN_ACTION_TEXT_COLOR"), + 28: .same(proto: "TWEEN_ACTION_CANVAS_COLOR"), + 29: .same(proto: "TWEEN_ACTION_CALLBACK"), + 30: .same(proto: "TWEEN_ACTION_MOVE"), + 31: .same(proto: "TWEEN_ACTION_MOVE_LOCAL"), + 32: .same(proto: "TWEEN_ACTION_ROTATE"), + 33: .same(proto: "TWEEN_ACTION_ROTATE_LOCAL"), + 34: .same(proto: "TWEEN_ACTION_SCALE"), + 35: .same(proto: "TWEEN_ACTION_VALUE3"), + 36: .same(proto: "TWEEN_ACTION_GUI_MOVE"), + 37: .same(proto: "TWEEN_ACTION_GUI_MOVE_MARGIN"), + 38: .same(proto: "TWEEN_ACTION_GUI_SCALE"), + 39: .same(proto: "TWEEN_ACTION_GUI_ALPHA"), + 40: .same(proto: "TWEEN_ACTION_GUI_ROTATE"), + 41: .same(proto: "TWEEN_ACTION_DELAYED_SOUND"), + 42: .same(proto: "TWEEN_ACTION_CANVAS_MOVE"), + 43: .same(proto: "TWEEN_ACTION_CANVAS_SCALE"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddReferrerOutProto, rhs: AddReferrerOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddReferrerOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension UsernameSuggestionTelemetryId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_DISABLED"), - 3: .same(proto: "ERROR_INVALID_REFERRAL_CODE"), - 4: .same(proto: "ERROR_ALREADY_ADDED"), - 5: .same(proto: "ERROR_PASSED_GRACE_PERIOD"), - 6: .same(proto: "ERROR_ALREADY_SKIPPED_ENTERING_REFERRAL_CODE"), + 0: .same(proto: "UNDEFINED_USERNAME_SUGGESTION_EVENT"), + 1: .same(proto: "REFRESHED_NAME_SUGGESTIONS"), + 2: .same(proto: "TAPPED_SUGGESTED_NAME"), + 3: .same(proto: "USED_SUGGESTED_NAME"), ] } -extension AddReferrerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddReferrerProto" +extension VivillonRegion: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "referrer_code"), + 0: .same(proto: "VIVILLON_REGION_UNKNOWN"), + 1: .same(proto: "VIVILLON_REGION_ARCHIPELAGO"), + 2: .same(proto: "VIVILLON_REGION_CONTINENTAL"), + 3: .same(proto: "VIVILLON_REGION_ELEGANT"), + 4: .same(proto: "VIVILLON_REGION_FANCY"), + 5: .same(proto: "VIVILLON_REGION_GARDEN"), + 6: .same(proto: "VIVILLON_REGION_HIGH_PLAINS"), + 7: .same(proto: "VIVILLON_REGION_ICY_SNOW"), + 8: .same(proto: "VIVILLON_REGION_JUNGLE"), + 9: .same(proto: "VIVILLON_REGION_MARINE"), + 10: .same(proto: "VIVILLON_REGION_MEADOW"), + 11: .same(proto: "VIVILLON_REGION_MODERN"), + 12: .same(proto: "VIVILLON_REGION_MONSOON"), + 13: .same(proto: "VIVILLON_REGION_OCEAN"), + 14: .same(proto: "VIVILLON_REGION_POKEBALL"), + 15: .same(proto: "VIVILLON_REGION_POLAR"), + 16: .same(proto: "VIVILLON_REGION_RIVER"), + 17: .same(proto: "VIVILLON_REGION_SANDSTORM"), + 18: .same(proto: "VIVILLON_REGION_SAVANNA"), + 19: .same(proto: "VIVILLON_REGION_SUN"), + 20: .same(proto: "VIVILLON_REGION_TUNDRA"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.referrerCode) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.referrerCode.isEmpty { - try visitor.visitSingularStringField(value: self.referrerCode, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddReferrerProto, rhs: AddReferrerProto) -> Bool { - if lhs.referrerCode != rhs.referrerCode {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddressBookImportSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddressBookImportSettingsProto" +extension VpsEventType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_enabled"), - 2: .standard(proto: "onboarding_screen_level"), - 3: .standard(proto: "show_opt_out_checkbox"), - 4: .standard(proto: "reprompt_onboarding_for_v1"), + 0: .same(proto: "VPS_EVENT_UNSET"), + 1: .same(proto: "VPS_EVENT_SLEEPING_POKEMON"), + 2: .same(proto: "VPS_EVENT_PHOTO_SAFARI"), + 3: .same(proto: "VPS_EVENT_IRIS_SOCIAL"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.onboardingScreenLevel) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.showOptOutCheckbox) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.repromptOnboardingForV1) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.isEnabled != false { - try visitor.visitSingularBoolField(value: self.isEnabled, fieldNumber: 1) - } - if self.onboardingScreenLevel != 0 { - try visitor.visitSingularInt32Field(value: self.onboardingScreenLevel, fieldNumber: 2) - } - if self.showOptOutCheckbox != false { - try visitor.visitSingularBoolField(value: self.showOptOutCheckbox, fieldNumber: 3) - } - if self.repromptOnboardingForV1 != false { - try visitor.visitSingularBoolField(value: self.repromptOnboardingForV1, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddressBookImportSettingsProto, rhs: AddressBookImportSettingsProto) -> Bool { - if lhs.isEnabled != rhs.isEnabled {return false} - if lhs.onboardingScreenLevel != rhs.onboardingScreenLevel {return false} - if lhs.showOptOutCheckbox != rhs.showOptOutCheckbox {return false} - if lhs.repromptOnboardingForV1 != rhs.repromptOnboardingForV1 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddressBookImportTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddressBookImportTelemetry" +extension VsEffectTag: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "abi_telemetry_id"), + 0: .same(proto: "UNSET_VS_EFFECT_TAG"), + 1: .same(proto: "SHADOW_ENRAGE"), + 2: .same(proto: "RAID_DEFENDER"), + 3: .same(proto: "RAID_ATTACKER"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.abiTelemetryID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.abiTelemetryID != .undefined { - try visitor.visitSingularEnumField(value: self.abiTelemetryID, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddressBookImportTelemetry, rhs: AddressBookImportTelemetry) -> Bool { - if lhs.abiTelemetryID != rhs.abiTelemetryID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AddressBookImportTelemetry.AddressBookImportTelemetryId: SwiftProtobuf._ProtoNameProviding { +extension VsSeekerRewardTrack: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "SEE_PGO_NEW_PLAYER_ONBOARDING_SCREEN"), - 2: .same(proto: "CLICK_IMPORT_CONTACTS_BUTTON"), - 3: .same(proto: "OPEN_ADDRESS_BOOK_IMPORT_FROM_PGO_ONBOARDING"), - 4: .same(proto: "DISMISS_PGO_ONBOARDING"), + 0: .same(proto: "VS_SEEKER_REWARD_TRACK_FREE"), + 1: .same(proto: "VS_SEEKER_REWARD_TRACK_PREMIUM"), ] } -extension AddressablePokemonSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AddressablePokemonSettings" +extension WebTelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_addressable_int"), - 2: .standard(proto: "pokemon_id"), + 0: .same(proto: "WEB_TELEMETRY_IDS_UNDEFINED_WEB_EVENT"), + 1: .same(proto: "WEB_TELEMETRY_IDS_POINT_OF_INTEREST_DESCRIPTION_WEB_CLICK"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obAddressableInt) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.pokemonID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.obAddressableInt != 0 { - try visitor.visitSingularInt32Field(value: self.obAddressableInt, fieldNumber: 1) - } - if !self.pokemonID.isEmpty { - try visitor.visitPackedEnumField(value: self.pokemonID, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AddressablePokemonSettings, rhs: AddressablePokemonSettings) -> Bool { - if lhs.obAddressableInt != rhs.obAddressableInt {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AdvancedPerformanceTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdvancedPerformanceTelemetry" +extension ARBuddyMultiplayerSessionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARBuddyMultiplayerSessionTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "performance_preset_level"), - 2: .standard(proto: "native_refresh_rate_fps"), - 3: .standard(proto: "special_framerate"), - 4: .standard(proto: "improved_sky"), - 5: .standard(proto: "dynamic_gyms"), - 6: .standard(proto: "normal_map_drawing_distance"), - 7: .standard(proto: "normal_fog_distance"), - 8: .standard(proto: "buildings_on_map"), - 9: .standard(proto: "friends_icons_in_list"), - 10: .standard(proto: "avatars_render_texture_size_high"), - 11: .standard(proto: "avatars_render_texture_size_low"), - 12: .standard(proto: "ar_prompt"), - 13: .standard(proto: "render_level"), - 14: .standard(proto: "texture_quality"), - 15: .standard(proto: "download_image_ram_cache"), - 16: .standard(proto: "map_details"), - 17: .standard(proto: "avatar_details"), - 18: .standard(proto: "render_and_texture"), + 1: .standard(proto: "camera_permission_granted"), + 2: .standard(proto: "host_time_to_publish_first_map"), + 3: .standard(proto: "host_number_of_maps_published"), + 4: .standard(proto: "host_mapping_successful"), + 5: .standard(proto: "lobby_connection_successful"), + 6: .standard(proto: "time_from_start_of_session_to_sync"), + 7: .standard(proto: "sync_successful"), + 8: .standard(proto: "session_length"), + 9: .standard(proto: "crash_count"), + 10: .standard(proto: "duration_spent_in_lobby"), + 11: .standard(proto: "time_from_invite_to_lobby"), + 12: .standard(proto: "time_from_lobby_to_session"), + 13: .standard(proto: "length_of_ar_session"), + 14: .standard(proto: "players_connected"), + 15: .standard(proto: "players_dropped"), + 16: .standard(proto: "num_photos_taken"), + 17: .standard(proto: "is_host"), ] fileprivate class _StorageClass { - var _performancePresetLevel: AdvancedPerformanceTelemetry.PerformancePresetLevels = .unsetPreset - var _nativeRefreshRateFps: Bool = false - var _specialFramerate: Bool = false - var _improvedSky: Bool = false - var _dynamicGyms: Bool = false - var _normalMapDrawingDistance: Bool = false - var _normalFogDistance: Bool = false - var _buildingsOnMap: AdvancedPerformanceTelemetry.PerformanceLevels = .unset - var _friendsIconsInList: Bool = false - var _avatarsRenderTextureSizeHigh: AdvancedPerformanceTelemetry.PerformanceLevels = .unset - var _avatarsRenderTextureSizeLow: Bool = false - var _arPrompt: Bool = false - var _renderLevel: AdvancedPerformanceTelemetry.PerformanceLevels = .unset - var _textureQuality: AdvancedPerformanceTelemetry.PerformanceLevels = .unset - var _downloadImageRamCache: AdvancedPerformanceTelemetry.PerformanceLevels = .unset - var _mapDetails: Bool = false - var _avatarDetails: Bool = false - var _renderAndTexture: AdvancedPerformanceTelemetry.PerformanceLevels = .unset + var _cameraPermissionGranted: Bool = false + var _hostTimeToPublishFirstMap: Int64 = 0 + var _hostNumberOfMapsPublished: Int32 = 0 + var _hostMappingSuccessful: Bool = false + var _lobbyConnectionSuccessful: Bool = false + var _timeFromStartOfSessionToSync: Int64 = 0 + var _syncSuccessful: Bool = false + var _sessionLength: Int64 = 0 + var _crashCount: Int32 = 0 + var _durationSpentInLobby: Int64 = 0 + var _timeFromInviteToLobby: Int64 = 0 + var _timeFromLobbyToSession: Int64 = 0 + var _lengthOfArSession: Int64 = 0 + var _playersConnected: Int32 = 0 + var _playersDropped: Int32 = 0 + var _numPhotosTaken: Int32 = 0 + var _isHost: Bool = false static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _performancePresetLevel = source._performancePresetLevel - _nativeRefreshRateFps = source._nativeRefreshRateFps - _specialFramerate = source._specialFramerate - _improvedSky = source._improvedSky - _dynamicGyms = source._dynamicGyms - _normalMapDrawingDistance = source._normalMapDrawingDistance - _normalFogDistance = source._normalFogDistance - _buildingsOnMap = source._buildingsOnMap - _friendsIconsInList = source._friendsIconsInList - _avatarsRenderTextureSizeHigh = source._avatarsRenderTextureSizeHigh - _avatarsRenderTextureSizeLow = source._avatarsRenderTextureSizeLow - _arPrompt = source._arPrompt - _renderLevel = source._renderLevel - _textureQuality = source._textureQuality - _downloadImageRamCache = source._downloadImageRamCache - _mapDetails = source._mapDetails - _avatarDetails = source._avatarDetails - _renderAndTexture = source._renderAndTexture + _cameraPermissionGranted = source._cameraPermissionGranted + _hostTimeToPublishFirstMap = source._hostTimeToPublishFirstMap + _hostNumberOfMapsPublished = source._hostNumberOfMapsPublished + _hostMappingSuccessful = source._hostMappingSuccessful + _lobbyConnectionSuccessful = source._lobbyConnectionSuccessful + _timeFromStartOfSessionToSync = source._timeFromStartOfSessionToSync + _syncSuccessful = source._syncSuccessful + _sessionLength = source._sessionLength + _crashCount = source._crashCount + _durationSpentInLobby = source._durationSpentInLobby + _timeFromInviteToLobby = source._timeFromInviteToLobby + _timeFromLobbyToSession = source._timeFromLobbyToSession + _lengthOfArSession = source._lengthOfArSession + _playersConnected = source._playersConnected + _playersDropped = source._playersDropped + _numPhotosTaken = source._numPhotosTaken + _isHost = source._isHost } } @@ -156779,24 +159858,23 @@ extension AdvancedPerformanceTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._performancePresetLevel) }() - case 2: try { try decoder.decodeSingularBoolField(value: &_storage._nativeRefreshRateFps) }() - case 3: try { try decoder.decodeSingularBoolField(value: &_storage._specialFramerate) }() - case 4: try { try decoder.decodeSingularBoolField(value: &_storage._improvedSky) }() - case 5: try { try decoder.decodeSingularBoolField(value: &_storage._dynamicGyms) }() - case 6: try { try decoder.decodeSingularBoolField(value: &_storage._normalMapDrawingDistance) }() - case 7: try { try decoder.decodeSingularBoolField(value: &_storage._normalFogDistance) }() - case 8: try { try decoder.decodeSingularEnumField(value: &_storage._buildingsOnMap) }() - case 9: try { try decoder.decodeSingularBoolField(value: &_storage._friendsIconsInList) }() - case 10: try { try decoder.decodeSingularEnumField(value: &_storage._avatarsRenderTextureSizeHigh) }() - case 11: try { try decoder.decodeSingularBoolField(value: &_storage._avatarsRenderTextureSizeLow) }() - case 12: try { try decoder.decodeSingularBoolField(value: &_storage._arPrompt) }() - case 13: try { try decoder.decodeSingularEnumField(value: &_storage._renderLevel) }() - case 14: try { try decoder.decodeSingularEnumField(value: &_storage._textureQuality) }() - case 15: try { try decoder.decodeSingularEnumField(value: &_storage._downloadImageRamCache) }() - case 16: try { try decoder.decodeSingularBoolField(value: &_storage._mapDetails) }() - case 17: try { try decoder.decodeSingularBoolField(value: &_storage._avatarDetails) }() - case 18: try { try decoder.decodeSingularEnumField(value: &_storage._renderAndTexture) }() + case 1: try { try decoder.decodeSingularBoolField(value: &_storage._cameraPermissionGranted) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &_storage._hostTimeToPublishFirstMap) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._hostNumberOfMapsPublished) }() + case 4: try { try decoder.decodeSingularBoolField(value: &_storage._hostMappingSuccessful) }() + case 5: try { try decoder.decodeSingularBoolField(value: &_storage._lobbyConnectionSuccessful) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._timeFromStartOfSessionToSync) }() + case 7: try { try decoder.decodeSingularBoolField(value: &_storage._syncSuccessful) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._sessionLength) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._crashCount) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._durationSpentInLobby) }() + case 11: try { try decoder.decodeSingularInt64Field(value: &_storage._timeFromInviteToLobby) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._timeFromLobbyToSession) }() + case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._lengthOfArSession) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._playersConnected) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._playersDropped) }() + case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosTaken) }() + case 17: try { try decoder.decodeSingularBoolField(value: &_storage._isHost) }() default: break } } @@ -156805,87 +159883,83 @@ extension AdvancedPerformanceTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Me public func traverse(visitor: inout V) throws { try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._performancePresetLevel != .unsetPreset { - try visitor.visitSingularEnumField(value: _storage._performancePresetLevel, fieldNumber: 1) - } - if _storage._nativeRefreshRateFps != false { - try visitor.visitSingularBoolField(value: _storage._nativeRefreshRateFps, fieldNumber: 2) - } - if _storage._specialFramerate != false { - try visitor.visitSingularBoolField(value: _storage._specialFramerate, fieldNumber: 3) - } - if _storage._improvedSky != false { - try visitor.visitSingularBoolField(value: _storage._improvedSky, fieldNumber: 4) - } - if _storage._dynamicGyms != false { - try visitor.visitSingularBoolField(value: _storage._dynamicGyms, fieldNumber: 5) + if _storage._cameraPermissionGranted != false { + try visitor.visitSingularBoolField(value: _storage._cameraPermissionGranted, fieldNumber: 1) } - if _storage._normalMapDrawingDistance != false { - try visitor.visitSingularBoolField(value: _storage._normalMapDrawingDistance, fieldNumber: 6) + if _storage._hostTimeToPublishFirstMap != 0 { + try visitor.visitSingularInt64Field(value: _storage._hostTimeToPublishFirstMap, fieldNumber: 2) } - if _storage._normalFogDistance != false { - try visitor.visitSingularBoolField(value: _storage._normalFogDistance, fieldNumber: 7) + if _storage._hostNumberOfMapsPublished != 0 { + try visitor.visitSingularInt32Field(value: _storage._hostNumberOfMapsPublished, fieldNumber: 3) } - if _storage._buildingsOnMap != .unset { - try visitor.visitSingularEnumField(value: _storage._buildingsOnMap, fieldNumber: 8) + if _storage._hostMappingSuccessful != false { + try visitor.visitSingularBoolField(value: _storage._hostMappingSuccessful, fieldNumber: 4) } - if _storage._friendsIconsInList != false { - try visitor.visitSingularBoolField(value: _storage._friendsIconsInList, fieldNumber: 9) + if _storage._lobbyConnectionSuccessful != false { + try visitor.visitSingularBoolField(value: _storage._lobbyConnectionSuccessful, fieldNumber: 5) } - if _storage._avatarsRenderTextureSizeHigh != .unset { - try visitor.visitSingularEnumField(value: _storage._avatarsRenderTextureSizeHigh, fieldNumber: 10) + if _storage._timeFromStartOfSessionToSync != 0 { + try visitor.visitSingularInt64Field(value: _storage._timeFromStartOfSessionToSync, fieldNumber: 6) } - if _storage._avatarsRenderTextureSizeLow != false { - try visitor.visitSingularBoolField(value: _storage._avatarsRenderTextureSizeLow, fieldNumber: 11) + if _storage._syncSuccessful != false { + try visitor.visitSingularBoolField(value: _storage._syncSuccessful, fieldNumber: 7) } - if _storage._arPrompt != false { - try visitor.visitSingularBoolField(value: _storage._arPrompt, fieldNumber: 12) + if _storage._sessionLength != 0 { + try visitor.visitSingularInt64Field(value: _storage._sessionLength, fieldNumber: 8) } - if _storage._renderLevel != .unset { - try visitor.visitSingularEnumField(value: _storage._renderLevel, fieldNumber: 13) + if _storage._crashCount != 0 { + try visitor.visitSingularInt32Field(value: _storage._crashCount, fieldNumber: 9) } - if _storage._textureQuality != .unset { - try visitor.visitSingularEnumField(value: _storage._textureQuality, fieldNumber: 14) + if _storage._durationSpentInLobby != 0 { + try visitor.visitSingularInt64Field(value: _storage._durationSpentInLobby, fieldNumber: 10) } - if _storage._downloadImageRamCache != .unset { - try visitor.visitSingularEnumField(value: _storage._downloadImageRamCache, fieldNumber: 15) + if _storage._timeFromInviteToLobby != 0 { + try visitor.visitSingularInt64Field(value: _storage._timeFromInviteToLobby, fieldNumber: 11) } - if _storage._mapDetails != false { - try visitor.visitSingularBoolField(value: _storage._mapDetails, fieldNumber: 16) + if _storage._timeFromLobbyToSession != 0 { + try visitor.visitSingularInt64Field(value: _storage._timeFromLobbyToSession, fieldNumber: 12) } - if _storage._avatarDetails != false { - try visitor.visitSingularBoolField(value: _storage._avatarDetails, fieldNumber: 17) + if _storage._lengthOfArSession != 0 { + try visitor.visitSingularInt64Field(value: _storage._lengthOfArSession, fieldNumber: 13) } - if _storage._renderAndTexture != .unset { - try visitor.visitSingularEnumField(value: _storage._renderAndTexture, fieldNumber: 18) + if _storage._playersConnected != 0 { + try visitor.visitSingularInt32Field(value: _storage._playersConnected, fieldNumber: 14) } - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AdvancedPerformanceTelemetry, rhs: AdvancedPerformanceTelemetry) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._performancePresetLevel != rhs_storage._performancePresetLevel {return false} - if _storage._nativeRefreshRateFps != rhs_storage._nativeRefreshRateFps {return false} - if _storage._specialFramerate != rhs_storage._specialFramerate {return false} - if _storage._improvedSky != rhs_storage._improvedSky {return false} - if _storage._dynamicGyms != rhs_storage._dynamicGyms {return false} - if _storage._normalMapDrawingDistance != rhs_storage._normalMapDrawingDistance {return false} - if _storage._normalFogDistance != rhs_storage._normalFogDistance {return false} - if _storage._buildingsOnMap != rhs_storage._buildingsOnMap {return false} - if _storage._friendsIconsInList != rhs_storage._friendsIconsInList {return false} - if _storage._avatarsRenderTextureSizeHigh != rhs_storage._avatarsRenderTextureSizeHigh {return false} - if _storage._avatarsRenderTextureSizeLow != rhs_storage._avatarsRenderTextureSizeLow {return false} - if _storage._arPrompt != rhs_storage._arPrompt {return false} - if _storage._renderLevel != rhs_storage._renderLevel {return false} - if _storage._textureQuality != rhs_storage._textureQuality {return false} - if _storage._downloadImageRamCache != rhs_storage._downloadImageRamCache {return false} - if _storage._mapDetails != rhs_storage._mapDetails {return false} - if _storage._avatarDetails != rhs_storage._avatarDetails {return false} - if _storage._renderAndTexture != rhs_storage._renderAndTexture {return false} + if _storage._playersDropped != 0 { + try visitor.visitSingularInt32Field(value: _storage._playersDropped, fieldNumber: 15) + } + if _storage._numPhotosTaken != 0 { + try visitor.visitSingularInt32Field(value: _storage._numPhotosTaken, fieldNumber: 16) + } + if _storage._isHost != false { + try visitor.visitSingularBoolField(value: _storage._isHost, fieldNumber: 17) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARBuddyMultiplayerSessionTelemetry, rhs: ARBuddyMultiplayerSessionTelemetry) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._cameraPermissionGranted != rhs_storage._cameraPermissionGranted {return false} + if _storage._hostTimeToPublishFirstMap != rhs_storage._hostTimeToPublishFirstMap {return false} + if _storage._hostNumberOfMapsPublished != rhs_storage._hostNumberOfMapsPublished {return false} + if _storage._hostMappingSuccessful != rhs_storage._hostMappingSuccessful {return false} + if _storage._lobbyConnectionSuccessful != rhs_storage._lobbyConnectionSuccessful {return false} + if _storage._timeFromStartOfSessionToSync != rhs_storage._timeFromStartOfSessionToSync {return false} + if _storage._syncSuccessful != rhs_storage._syncSuccessful {return false} + if _storage._sessionLength != rhs_storage._sessionLength {return false} + if _storage._crashCount != rhs_storage._crashCount {return false} + if _storage._durationSpentInLobby != rhs_storage._durationSpentInLobby {return false} + if _storage._timeFromInviteToLobby != rhs_storage._timeFromInviteToLobby {return false} + if _storage._timeFromLobbyToSession != rhs_storage._timeFromLobbyToSession {return false} + if _storage._lengthOfArSession != rhs_storage._lengthOfArSession {return false} + if _storage._playersConnected != rhs_storage._playersConnected {return false} + if _storage._playersDropped != rhs_storage._playersDropped {return false} + if _storage._numPhotosTaken != rhs_storage._numPhotosTaken {return false} + if _storage._isHost != rhs_storage._isHost {return false} return true } if !storagesAreEqual {return false} @@ -156895,39 +159969,11 @@ extension AdvancedPerformanceTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Me } } -extension AdvancedPerformanceTelemetry.PerformanceLevels: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "LOW"), - 2: .same(proto: "MEDIUM"), - 3: .same(proto: "HIGH"), - ] -} - -extension AdvancedPerformanceTelemetry.PerformancePresetLevels: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_PRESET"), - 1: .same(proto: "LOW_PRESET"), - 2: .same(proto: "MEDIUM_PRESET"), - 3: .same(proto: "HIGH_PRESET"), - 4: .same(proto: "MAX_PRESET"), - 5: .same(proto: "CUSTOM_PRESET"), - ] -} - -extension AdvancedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdvancedSettingsProto" +extension ARDKARClientEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKARClientEnvelope" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_int32_1"), - 3: .standard(proto: "ob_int32_2"), - 4: .standard(proto: "ob_int32_3"), - 5: .standard(proto: "ob_int32_4"), - 6: .standard(proto: "download_all_assets_enabled"), - 7: .standard(proto: "ob_bool"), - 8: .standard(proto: "ob_int32_5"), - 9: .standard(proto: "ob_bool_1"), - 10: .standard(proto: "ob_bool_2"), + 1: .standard(proto: "age_level"), + 2: .standard(proto: "ar_common_metadata"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -156936,123 +159982,57 @@ extension AdvancedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.obInt321) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.obInt322) }() - case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.obInt323) }() - case 5: try { try decoder.decodeRepeatedInt32Field(value: &self.obInt324) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.downloadAllAssetsEnabled) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.obInt325) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.ageLevel) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._arCommonMetadata) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if !self.obInt321.isEmpty { - try visitor.visitPackedInt32Field(value: self.obInt321, fieldNumber: 2) - } - if !self.obInt322.isEmpty { - try visitor.visitPackedInt32Field(value: self.obInt322, fieldNumber: 3) - } - if !self.obInt323.isEmpty { - try visitor.visitPackedInt32Field(value: self.obInt323, fieldNumber: 4) - } - if !self.obInt324.isEmpty { - try visitor.visitPackedInt32Field(value: self.obInt324, fieldNumber: 5) - } - if self.downloadAllAssetsEnabled != false { - try visitor.visitSingularBoolField(value: self.downloadAllAssetsEnabled, fieldNumber: 6) - } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 7) - } - if self.obInt325 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt325, fieldNumber: 8) - } - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 9) - } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 10) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.ageLevel != .unknown { + try visitor.visitSingularEnumField(value: self.ageLevel, fieldNumber: 1) } + try { if let v = self._arCommonMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AdvancedSettingsProto, rhs: AdvancedSettingsProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obInt324 != rhs.obInt324 {return false} - if lhs.downloadAllAssetsEnabled != rhs.downloadAllAssetsEnabled {return false} - if lhs.obBool != rhs.obBool {return false} - if lhs.obInt325 != rhs.obInt325 {return false} - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} + public static func ==(lhs: ARDKARClientEnvelope, rhs: ARDKARClientEnvelope) -> Bool { + if lhs.ageLevel != rhs.ageLevel {return false} + if lhs._arCommonMetadata != rhs._arCommonMetadata {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AdventureSyncProgress: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdventureSyncProgress" +extension ARDKARClientEnvelope.AgeLevel: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "notification_selector"), - 2: .same(proto: "parameters"), - 3: .standard(proto: "serialized_data"), + 0: .same(proto: "unknown"), + 1: .same(proto: "minor"), + 2: .same(proto: "teen"), + 3: .same(proto: "adult"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.notificationSelector) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.parameters) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.serializedData) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.notificationSelector != 0 { - try visitor.visitSingularInt32Field(value: self.notificationSelector, fieldNumber: 1) - } - if !self.parameters.isEmpty { - try visitor.visitRepeatedStringField(value: self.parameters, fieldNumber: 2) - } - if !self.serializedData.isEmpty { - try visitor.visitSingularBytesField(value: self.serializedData, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AdventureSyncProgress, rhs: AdventureSyncProgress) -> Bool { - if lhs.notificationSelector != rhs.notificationSelector {return false} - if lhs.parameters != rhs.parameters {return false} - if lhs.serializedData != rhs.serializedData {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AdventureSyncSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdventureSyncSettingsProto" +extension ARDKARCommonMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKARCommonMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fitness_service_enabled"), - 2: .standard(proto: "awareness_service_enabled"), - 3: .standard(proto: "persistent_breadcrumb_service_enabled"), - 4: .standard(proto: "sensor_service_enabled"), - 5: .standard(proto: "persistent_location_service_enabled"), + 1: .standard(proto: "application_id"), + 2: .same(proto: "platform"), + 3: .same(proto: "manufacturer"), + 4: .standard(proto: "device_model"), + 5: .standard(proto: "user_id"), + 6: .standard(proto: "client_id"), + 7: .standard(proto: "developer_id"), + 8: .standard(proto: "ardk_version"), + 9: .standard(proto: "ardk_app_instance_id"), + 10: .standard(proto: "request_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -157061,50 +160041,76 @@ extension AdventureSyncSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.fitnessServiceEnabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.awarenessServiceEnabled) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.persistentBreadcrumbServiceEnabled) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.sensorServiceEnabled) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.persistentLocationServiceEnabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.applicationID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.platform) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.manufacturer) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.userID) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.clientID) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.ardkVersion) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.ardkAppInstanceID) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.requestID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.fitnessServiceEnabled != false { - try visitor.visitSingularBoolField(value: self.fitnessServiceEnabled, fieldNumber: 1) + if !self.applicationID.isEmpty { + try visitor.visitSingularStringField(value: self.applicationID, fieldNumber: 1) } - if self.awarenessServiceEnabled != false { - try visitor.visitSingularBoolField(value: self.awarenessServiceEnabled, fieldNumber: 2) + if !self.platform.isEmpty { + try visitor.visitSingularStringField(value: self.platform, fieldNumber: 2) } - if self.persistentBreadcrumbServiceEnabled != false { - try visitor.visitSingularBoolField(value: self.persistentBreadcrumbServiceEnabled, fieldNumber: 3) + if !self.manufacturer.isEmpty { + try visitor.visitSingularStringField(value: self.manufacturer, fieldNumber: 3) } - if self.sensorServiceEnabled != false { - try visitor.visitSingularBoolField(value: self.sensorServiceEnabled, fieldNumber: 4) + if !self.deviceModel.isEmpty { + try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 4) } - if self.persistentLocationServiceEnabled != false { - try visitor.visitSingularBoolField(value: self.persistentLocationServiceEnabled, fieldNumber: 5) + if !self.userID.isEmpty { + try visitor.visitSingularStringField(value: self.userID, fieldNumber: 5) + } + if !self.clientID.isEmpty { + try visitor.visitSingularStringField(value: self.clientID, fieldNumber: 6) + } + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 7) + } + if !self.ardkVersion.isEmpty { + try visitor.visitSingularStringField(value: self.ardkVersion, fieldNumber: 8) + } + if !self.ardkAppInstanceID.isEmpty { + try visitor.visitSingularStringField(value: self.ardkAppInstanceID, fieldNumber: 9) + } + if !self.requestID.isEmpty { + try visitor.visitSingularStringField(value: self.requestID, fieldNumber: 10) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AdventureSyncSettingsProto, rhs: AdventureSyncSettingsProto) -> Bool { - if lhs.fitnessServiceEnabled != rhs.fitnessServiceEnabled {return false} - if lhs.awarenessServiceEnabled != rhs.awarenessServiceEnabled {return false} - if lhs.persistentBreadcrumbServiceEnabled != rhs.persistentBreadcrumbServiceEnabled {return false} - if lhs.sensorServiceEnabled != rhs.sensorServiceEnabled {return false} - if lhs.persistentLocationServiceEnabled != rhs.persistentLocationServiceEnabled {return false} + public static func ==(lhs: ARDKARCommonMetadata, rhs: ARDKARCommonMetadata) -> Bool { + if lhs.applicationID != rhs.applicationID {return false} + if lhs.platform != rhs.platform {return false} + if lhs.manufacturer != rhs.manufacturer {return false} + if lhs.deviceModel != rhs.deviceModel {return false} + if lhs.userID != rhs.userID {return false} + if lhs.clientID != rhs.clientID {return false} + if lhs.developerID != rhs.developerID {return false} + if lhs.ardkVersion != rhs.ardkVersion {return false} + if lhs.ardkAppInstanceID != rhs.ardkAppInstanceID {return false} + if lhs.requestID != rhs.requestID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AdventureSyncV2GmtProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AdventureSyncV2GmtProto" +extension ARDKAffineTransformProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKAffineTransformProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "feature_enabled"), + 1: .same(proto: "rotation"), + 2: .same(proto: "translation"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -157113,30 +160119,38 @@ extension AdventureSyncV2GmtProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.featureEnabled) }() + case 1: try { try decoder.decodeRepeatedFloatField(value: &self.rotation) }() + case 2: try { try decoder.decodeRepeatedFloatField(value: &self.translation) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.featureEnabled != false { - try visitor.visitSingularBoolField(value: self.featureEnabled, fieldNumber: 1) + if !self.rotation.isEmpty { + try visitor.visitPackedFloatField(value: self.rotation, fieldNumber: 1) + } + if !self.translation.isEmpty { + try visitor.visitPackedFloatField(value: self.translation, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AdventureSyncV2GmtProto, rhs: AdventureSyncV2GmtProto) -> Bool { - if lhs.featureEnabled != rhs.featureEnabled {return false} + public static func ==(lhs: ARDKAffineTransformProto, rhs: ARDKAffineTransformProto) -> Bool { + if lhs.rotation != rhs.rotation {return false} + if lhs.translation != rhs.translation {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AgeGateResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AgeGateResult" +extension ARDKAsyncFileUploadCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKAsyncFileUploadCompleteOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "method_name"), + 1: .same(proto: "error"), + 2: .standard(proto: "submission_type"), + 3: .standard(proto: "poi_id"), + 4: .standard(proto: "post_action_game_info"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -157145,30 +160159,57 @@ extension AgeGateResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.error) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.submissionType) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 4: try { try decoder.decodeSingularBytesField(value: &self.postActionGameInfo) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.methodName.isEmpty { - try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) + if self.error != .unset { + try visitor.visitSingularEnumField(value: self.error, fieldNumber: 1) + } + if self.submissionType != .typeUnspecified { + try visitor.visitSingularEnumField(value: self.submissionType, fieldNumber: 2) + } + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 3) + } + if !self.postActionGameInfo.isEmpty { + try visitor.visitSingularBytesField(value: self.postActionGameInfo, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AgeGateResult, rhs: AgeGateResult) -> Bool { - if lhs.methodName != rhs.methodName {return false} + public static func ==(lhs: ARDKAsyncFileUploadCompleteOutProto, rhs: ARDKAsyncFileUploadCompleteOutProto) -> Bool { + if lhs.error != rhs.error {return false} + if lhs.submissionType != rhs.submissionType {return false} + if lhs.poiID != rhs.poiID {return false} + if lhs.postActionGameInfo != rhs.postActionGameInfo {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AgeGateStartup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AgeGateStartup" +extension ARDKAsyncFileUploadCompleteOutProto.ErrorStatus: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "method_name"), + 0: .same(proto: "unset"), + 1: .same(proto: "server_update_failed"), + 2: .same(proto: "missing_submission_id"), + 3: .same(proto: "missing_submission_type"), + 4: .same(proto: "missing_upload_status"), + ] +} + +extension ARDKAsyncFileUploadCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKAsyncFileUploadCompleteProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "submission_id"), + 3: .standard(proto: "upload_status"), + 4: .standard(proto: "ar_common_metadata"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -157177,1626 +160218,394 @@ extension AgeGateStartup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.uploadStatus) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._arCommonMetadata) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.methodName.isEmpty { - try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AgeGateStartup, rhs: AgeGateStartup) -> Bool { - if lhs.methodName != rhs.methodName {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension AllTypesAndMessagesResponsesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AllTypesAndMessagesResponsesProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.uploadStatus != .unset { + try visitor.visitSingularEnumField(value: self.uploadStatus, fieldNumber: 3) } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AllTypesAndMessagesResponsesProto, rhs: AllTypesAndMessagesResponsesProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension AllTypesAndMessagesResponsesProto.AllResquestTypesProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "REQUEST_TYPE_UNSET"), - 2: .same(proto: "REQUEST_TYPE_METHOD_GET_PLAYER"), - 4: .same(proto: "REQUEST_TYPE_METHOD_GET_HOLOHOLO_INVENTORY"), - 5: .same(proto: "REQUEST_TYPE_METHOD_DOWNLOAD_SETTINGS"), - 6: .same(proto: "REQUEST_TYPE_METHOD_DOWNLOAD_ITEM_TEMPLATES"), - 7: .same(proto: "REQUEST_TYPE_METHOD_DOWNLOAD_REMOTE_CONFIG_VERSION"), - 8: .same(proto: "REQUEST_TYPE_METHOD_REGISTER_BACKGROUND_DEVICE"), - 9: .same(proto: "REQUEST_TYPE_METHOD_GET_PLAYER_DAY"), - 10: .same(proto: "REQUEST_TYPE_METHOD_ACKNOWLEDGE_PUNISHMENT"), - 11: .same(proto: "REQUEST_TYPE_METHOD_GET_SERVER_TIME"), - 12: .same(proto: "REQUEST_TYPE_METHOD_GET_LOCAL_TIME"), - 101: .same(proto: "REQUEST_TYPE_METHOD_FORT_SEARCH"), - 102: .same(proto: "REQUEST_TYPE_METHOD_ENCOUNTER"), - 103: .same(proto: "REQUEST_TYPE_METHOD_CATCH_POKEMON"), - 104: .same(proto: "REQUEST_TYPE_METHOD_FORT_DETAILS"), - 106: .same(proto: "REQUEST_TYPE_METHOD_GET_MAP_OBJECTS"), - 110: .same(proto: "REQUEST_TYPE_METHOD_FORT_DEPLOY_POKEMON"), - 111: .same(proto: "REQUEST_TYPE_METHOD_FORT_RECALL_POKEMON"), - 112: .same(proto: "REQUEST_TYPE_METHOD_RELEASE_POKEMON"), - 113: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_POTION"), - 114: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_CAPTURE"), - 115: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_FLEE"), - 116: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_REVIVE"), - 121: .same(proto: "REQUEST_TYPE_METHOD_GET_PLAYER_PROFILE"), - 125: .same(proto: "REQUEST_TYPE_METHOD_EVOLVE_POKEMON"), - 126: .same(proto: "REQUEST_TYPE_METHOD_GET_HATCHED_EGGS"), - 127: .same(proto: "REQUEST_TYPE_METHOD_ENCOUNTER_TUTORIAL_COMPLETE"), - 128: .same(proto: "REQUEST_TYPE_METHOD_LEVEL_UP_REWARDS"), - 129: .same(proto: "REQUEST_TYPE_METHOD_CHECK_AWARDED_BADGES"), - 137: .same(proto: "REQUEST_TYPE_METHOD_RECYCLE_INVENTORY_ITEM"), - 138: .same(proto: "REQUEST_TYPE_METHOD_COLLECT_DAILY_BONUS"), - 139: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_XP_BOOST"), - 140: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_EGG_INCUBATOR"), - 141: .same(proto: "REQUEST_TYPE_METHOD_USE_INCENSE"), - 142: .same(proto: "REQUEST_TYPE_METHOD_GET_INCENSE_POKEMON"), - 143: .same(proto: "REQUEST_TYPE_METHOD_INCENSE_ENCOUNTER"), - 144: .same(proto: "REQUEST_TYPE_METHOD_ADD_FORT_MODIFIER"), - 145: .same(proto: "REQUEST_TYPE_METHOD_DISK_ENCOUNTER"), - 147: .same(proto: "REQUEST_TYPE_METHOD_UPGRADE_POKEMON"), - 148: .same(proto: "REQUEST_TYPE_METHOD_SET_FAVORITE_POKEMON"), - 149: .same(proto: "REQUEST_TYPE_METHOD_NICKNAME_POKEMON"), - 150: .same(proto: "REQUEST_TYPE_METHOD_EQUIP_BADGE"), - 151: .same(proto: "REQUEST_TYPE_METHOD_SET_CONTACT_SETTINGS"), - 152: .same(proto: "REQUEST_TYPE_METHOD_SET_BUDDY_POKEMON"), - 153: .same(proto: "REQUEST_TYPE_METHOD_GET_BUDDY_WALKED"), - 154: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_ENCOUNTER"), - 155: .same(proto: "REQUEST_TYPE_METHOD_GYM_DEPLOY"), - 156: .same(proto: "REQUEST_TYPE_METHOD_GYM_GET_INFO"), - 157: .same(proto: "REQUEST_TYPE_METHOD_GYM_START_SESSION"), - 158: .same(proto: "REQUEST_TYPE_METHOD_GYM_BATTLE_ATTACK"), - 159: .same(proto: "REQUEST_TYPE_METHOD_JOIN_LOBBY"), - 160: .same(proto: "REQUEST_TYPE_METHOD_LEAVE_LOBBY"), - 161: .same(proto: "REQUEST_TYPE_METHOD_SET_LOBBY_VISIBILITY"), - 162: .same(proto: "REQUEST_TYPE_METHOD_SET_LOBBY_POKEMON"), - 163: .same(proto: "REQUEST_TYPE_METHOD_GET_RAID_DETAILS"), - 164: .same(proto: "REQUEST_TYPE_METHOD_GYM_FEED_POKEMON"), - 165: .same(proto: "REQUEST_TYPE_METHOD_START_RAID_BATTLE"), - 166: .same(proto: "REQUEST_TYPE_METHOD_ATTACK_RAID"), - 167: .same(proto: "REQUEST_TYPE_METHOD_AWARD_POKECOIN"), - 168: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_STARDUST_BOOST"), - 169: .same(proto: "REQUEST_TYPE_METHOD_REASSIGN_PLAYER"), - 170: .same(proto: "REQUEST_TYPE_METHOD_REDEEM_POI_PASSCODE"), - 171: .same(proto: "REQUEST_TYPE_METHOD_CONVERT_CANDY_TO_XL_CANDY"), - 172: .same(proto: "REQUEST_TYPE_METHOD_IS_SKU_AVAILABLE"), - 300: .same(proto: "REQUEST_TYPE_METHOD_GET_ASSET_DIGEST"), - 301: .same(proto: "REQUEST_TYPE_METHOD_GET_DOWNLOAD_URLS"), - 302: .same(proto: "REQUEST_TYPE_METHOD_GET_ASSET_VERSION"), - 403: .same(proto: "REQUEST_TYPE_METHOD_CLAIM_CODENAME"), - 404: .same(proto: "REQUEST_TYPE_METHOD_SET_AVATAR"), - 405: .same(proto: "REQUEST_TYPE_METHOD_SET_PLAYER_TEAM"), - 406: .same(proto: "REQUEST_TYPE_METHOD_MARK_TUTORIAL_COMPLETE"), - 407: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_PERFORMANCE_METRICS"), - 408: .same(proto: "REQUEST_TYPE_METHOD_SET_NEUTRAL_AVATAR"), - 600: .same(proto: "REQUEST_TYPE_METHOD_CHECK_CHALLENGE"), - 601: .same(proto: "REQUEST_TYPE_METHOD_VERIFY_CHALLENGE"), - 666: .same(proto: "REQUEST_TYPE_METHOD_ECHO"), - 800: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_REGISTRATION"), - 801: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_ACTION_LOG"), - 802: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_CERTIFICATION"), - 803: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_UPDATE"), - 804: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_ACTION"), - 805: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_DOWSER"), - 806: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_CAPTURE"), - 807: .same(proto: "REQUEST_TYPE_METHOD_LIST_AVATAR_CUSTOMIZATIONS"), - 808: .same(proto: "REQUEST_TYPE_METHOD_SET_AVATAR_ITEM_AS_VIEWED"), - 809: .same(proto: "REQUEST_TYPE_METHOD_GET_INBOX"), - 811: .same(proto: "REQUEST_TYPE_METHOD_LIST_GYM_BADGES"), - 812: .same(proto: "REQUEST_TYPE_METHOD_GET_GYM_BADGE_DETAILS"), - 813: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_MOVE_REROLL"), - 814: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_RARE_CANDY"), - 815: .same(proto: "REQUEST_TYPE_METHOD_AWARD_FREE_RAID_TICKET"), - 816: .same(proto: "REQUEST_TYPE_METHOD_FETCH_ALL_NEWS"), - 817: .same(proto: "REQUEST_TYPE_METHOD_MARK_READ_NEWS_ARTICLE"), - 818: .same(proto: "REQUEST_TYPE_METHOD_GET_PLAYER_DISPLAY_INFO"), - 819: .same(proto: "REQUEST_TYPE_METHOD_BELUGA_TRANSACTION_START"), - 820: .same(proto: "REQUEST_TYPE_METHOD_BELUGA_TRANSACTION_COMPLETE"), - 822: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_ASSOCIATE"), - 823: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_CHECK_PAIRING"), - 824: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_DISASSOCIATE"), - 825: .same(proto: "REQUEST_TYPE_METHOD_WAINA_GET_REWARDS"), - 826: .same(proto: "REQUEST_TYPE_METHOD_WAINA_SUBMIT_SLEEP_DATA"), - 827: .same(proto: "REQUEST_TYPE_METHOD_SATURDAY_TRANSACTION_START"), - 828: .same(proto: "REQUEST_TYPE_METHOD_SATURDAY_TRANSACTION_COMPLETE"), - 829: .same(proto: "REQUEST_TYPE_METHOD_REIMBURSE_ITEM"), - 900: .same(proto: "REQUEST_TYPE_METHOD_GET_NEW_QUESTS"), - 901: .same(proto: "REQUEST_TYPE_METHOD_GET_QUEST_DETAILS"), - 902: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_QUEST"), - 903: .same(proto: "REQUEST_TYPE_METHOD_REMOVE_QUEST"), - 904: .same(proto: "REQUEST_TYPE_METHOD_QUEST_ENCOUNTER"), - 905: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_QUEST_STAMP_CARD"), - 906: .same(proto: "REQUEST_TYPE_METHOD_PROGRESS_QUEST"), - 907: .same(proto: "REQUEST_TYPE_METHOD_START_QUEST_INCIDENT"), - 908: .same(proto: "REQUEST_TYPE_METHOD_READ_QUEST_DIALOG"), - 950: .same(proto: "REQUEST_TYPE_METHOD_SEND_GIFT"), - 951: .same(proto: "REQUEST_TYPE_METHOD_OPEN_GIFT"), - 952: .same(proto: "REQUEST_TYPE_METHOD_GIFT_DETAILS"), - 953: .same(proto: "REQUEST_TYPE_METHOD_DELETE_GIFT"), - 954: .same(proto: "REQUEST_TYPE_METHOD_SAVE_PLAYER_SNAPSHOT"), - 955: .same(proto: "REQUEST_TYPE_METHOD_GET_FRIENDSHIP_MILESTONE_REWARDS"), - 956: .same(proto: "REQUEST_TYPE_METHOD_CHECK_SEND_GIFT"), - 957: .same(proto: "REQUEST_TYPE_METHOD_SET_FRIEND_NICKNAME"), - 958: .same(proto: "REQUEST_TYPE_METHOD_DELETE_GIFT_FROM_INVENTORY"), - 959: .same(proto: "REQUEST_TYPE_METHOD_SAVE_SOCIAL_PLAYER_SETTINGS"), - 960: .same(proto: "REQUEST_TYPE_METHOD_SHARE_EX_RAID_PASS"), - 961: .same(proto: "REQUEST_TYPE_METHOD_CHECK_SHARE_EX_RAID_PASS"), - 962: .same(proto: "REQUEST_TYPE_METHOD_DECLINE_SHARED_EX_RAID_PASS"), - 970: .same(proto: "REQUEST_TYPE_METHOD_OPEN_TRADING"), - 971: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_TRADING"), - 972: .same(proto: "REQUEST_TYPE_METHOD_CONFIRM_TRADING"), - 973: .same(proto: "REQUEST_TYPE_METHOD_CANCEL_TRADING"), - 974: .same(proto: "REQUEST_TYPE_METHOD_GET_TRADING"), - 980: .same(proto: "REQUEST_TYPE_METHOD_GET_FITNESS_REWARDS"), - 990: .same(proto: "REQUEST_TYPE_METHOD_GET_COMBAT_PLAYER_PROFILE"), - 991: .same(proto: "REQUEST_TYPE_METHOD_GENERATE_COMBAT_CHALLENGE_ID"), - 992: .same(proto: "REQUEST_TYPE_METHOD_CREATE_COMBAT_CHALLENGE"), - 993: .same(proto: "REQUEST_TYPE_METHOD_OPEN_COMBAT_CHALLENGE"), - 994: .same(proto: "REQUEST_TYPE_METHOD_GET_COMBAT_CHALLENGE"), - 995: .same(proto: "REQUEST_TYPE_METHOD_ACCEPT_COMBAT_CHALLENGE"), - 996: .same(proto: "REQUEST_TYPE_METHOD_DECLINE_COMBAT_CHALLENGE"), - 997: .same(proto: "REQUEST_TYPE_METHOD_CANCEL_COMBAT_CHALLENGE"), - 998: .same(proto: "REQUEST_TYPE_METHOD_SUBMIT_COMBAT_CHALLENGE_POKEMONS"), - 999: .same(proto: "REQUEST_TYPE_METHOD_SAVE_COMBAT_PLAYER_PREFERENCES"), - 1000: .same(proto: "REQUEST_TYPE_METHOD_OPEN_COMBAT_SESSION"), - 1001: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_COMBAT"), - 1002: .same(proto: "REQUEST_TYPE_METHOD_QUIT_COMBAT"), - 1003: .same(proto: "REQUEST_TYPE_METHOD_GET_COMBAT_RESULTS"), - 1004: .same(proto: "REQUEST_TYPE_METHOD_UNLOCK_SPECIAL_MOVE"), - 1005: .same(proto: "REQUEST_TYPE_METHOD_GET_NPC_COMBAT_REWARDS"), - 1006: .same(proto: "REQUEST_TYPE_METHOD_COMBAT_FRIEND_REQUEST"), - 1007: .same(proto: "REQUEST_TYPE_METHOD_OPEN_NPC_COMBAT_SESSION"), - 1008: .same(proto: "REQUEST_TYPE_METHOD_START_TUTORIAL_ACTION"), - 1009: .same(proto: "REQUEST_TYPE_METHOD_GET_TUTORIAL_EGG_ACTION"), - 1020: .same(proto: "REQUEST_TYPE_METHOD_SEND_PROBE"), - 1021: .same(proto: "REQUEST_TYPE_METHOD_PROBE_DATA"), - 1022: .same(proto: "REQUEST_TYPE_METHOD_COMBAT_DATA"), - 1023: .same(proto: "REQUEST_TYPE_METHOD_COMBAT_CHALLENGE_DATA"), - 1101: .same(proto: "REQUEST_TYPE_METHOD_CHECK_PHOTOBOMB"), - 1102: .same(proto: "REQUEST_TYPE_METHOD_CONFIRM_PHOTOBOMB"), - 1103: .same(proto: "REQUEST_TYPE_METHOD_GET_PHOTOBOMB"), - 1104: .same(proto: "REQUEST_TYPE_METHOD_ENCOUNTER_PHOTOBOMB"), - 1105: .same(proto: "REQUEST_TYPE_METHOD_GET_SIGNED_GMAP_URL_DEPRECATED"), - 1106: .same(proto: "REQUEST_TYPE_METHOD_CHANGE_TEAM"), - 1107: .same(proto: "REQUEST_TYPE_METHOD_GET_WEB_TOKEN"), - 1110: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_SNAPSHOT_SESSION"), - 1111: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_WILD_SNAPSHOT_SESSION"), - 1200: .same(proto: "REQUEST_TYPE_METHOD_START_INCIDENT"), - 1201: .same(proto: "REQUEST_TYPE_METHOD_INVASION_COMPLETE_DIALOGUE"), - 1202: .same(proto: "REQUEST_TYPE_METHOD_INVASION_OPEN_COMBAT_SESSION"), - 1203: .same(proto: "REQUEST_TYPE_METHOD_INVASION_BATTLE_UPDATE"), - 1204: .same(proto: "REQUEST_TYPE_METHOD_INVASION_ENCOUNTER"), - 1205: .same(proto: "REQUEST_TYPE_METHOD_PURIFY_POKEMON"), - 1206: .same(proto: "REQUEST_TYPE_METHOD_GET_ROCKET_BALLOON"), - 1207: .same(proto: "REQUEST_TYPE_METHOD_START_ROCKET_BALLOON_INCIDENT"), - 1300: .same(proto: "REQUEST_TYPE_METHOD_VS_SEEKER_START_MATCHMAKING"), - 1301: .same(proto: "REQUEST_TYPE_METHOD_CANCEL_MATCHMAKING"), - 1302: .same(proto: "REQUEST_TYPE_METHOD_GET_MATCHMAKING_STATUS"), - 1303: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_VS_SEEKER_AND_RESTART_CHARGING"), - 1304: .same(proto: "REQUEST_TYPE_METHOD_GET_VS_SEEKER_STATUS"), - 1305: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_COMBAT_COMPETITIVE_SEASON_ACTION"), - 1306: .same(proto: "REQUEST_TYPE_METHOD_CLAIM_VS_SEEKER_REWARDS"), - 1307: .same(proto: "REQUEST_TYPE_METHOD_VS_SEEKER_REWARD_ENCOUNTER"), - 1308: .same(proto: "REQUEST_TYPE_METHOD_ACTIVATE_VS_SEEKER"), - 1350: .same(proto: "REQUEST_TYPE_METHOD_GET_BUDDY_MAP"), - 1351: .same(proto: "REQUEST_TYPE_METHOD_GET_BUDDY_STATS"), - 1352: .same(proto: "REQUEST_TYPE_METHOD_FEED_BUDDY"), - 1353: .same(proto: "REQUEST_TYPE_METHOD_OPEN_BUDDY_GIFT"), - 1354: .same(proto: "REQUEST_TYPE_METHOD_PET_BUDDY"), - 1355: .same(proto: "REQUEST_TYPE_METHOD_GET_BUDDY_HISTORY"), - 1400: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_ROUTE_DRAFT"), - 1401: .same(proto: "REQUEST_TYPE_METHOD_GET_MAP_FORTS"), - 1402: .same(proto: "REQUEST_TYPE_METHOD_SUBMIT_ROUTE_DRAFT"), - 1403: .same(proto: "REQUEST_TYPE_METHOD_GET_PUBLISHED_ROUTES"), - 1404: .same(proto: "REQUEST_TYPE_METHOD_START_ROUTE"), - 1405: .same(proto: "REQUEST_TYPE_METHOD_GET_ROUTES"), - 1406: .same(proto: "REQUEST_TYPE_METHOD_PROGRESS_ROUTE"), - 1408: .same(proto: "REQUEST_TYPE_METHOD_PROCESS_TAPPABLE"), - 1409: .same(proto: "REQUEST_TYPE_METHOD_LIST_ROUTE_BADGES"), - 1410: .same(proto: "REQUEST_TYPE_METHOD_CANCEL_ROUTE"), - 1411: .same(proto: "REQUEST_TYPE_METHOD_LIST_ROUTE_STAMPS"), - 1412: .same(proto: "REQUEST_TYPE_METHOD_RATE_ROUTE"), - 1413: .same(proto: "REQUEST_TYPE_METHOD_CREATE_ROUTE_DRAFT"), - 1414: .same(proto: "REQUEST_TYPE_METHOD_DELETE_ROUTE_DRAFT"), - 1415: .same(proto: "REQUEST_TYPE_METHOD_REPORT_ROUTE"), - 1416: .same(proto: "REQUEST_TYPE_METHOD_SPAWN_TAPPABLE"), - 1417: .same(proto: "REQUEST_TYPE_METHOD_ROUTE_ENCOUNTER"), - 1418: .same(proto: "REQUEST_TYPE_METHOD_CAN_REPORT_ROUTE"), - 1420: .same(proto: "REQUEST_TYPE_METHOD_ROUTE_UPTATE_SEEN"), - 1456: .same(proto: "REQUEST_TYPE_METHOD_CREATE_BUDDY_MUTLIPLAYER_SESSION"), - 1457: .same(proto: "REQUEST_TYPE_METHOD_JOIN_BUDDY_MULTIPLAYER_SESSION"), - 1458: .same(proto: "REQUEST_TYPE_METHOD_LEAVE_BUDDY_MULTIPLAYER_SESSION"), - 1501: .same(proto: "REQUEST_TYPE_METHOD_GET_TODAY_VIEW"), - 1502: .same(proto: "REQUEST_TYPE_METHOD_MEGA_EVOLVE_POKEMON"), - 1503: .same(proto: "REQUEST_TYPE_METHOD_REMOTE_GIFT_PING"), - 1504: .same(proto: "REQUEST_TYPE_METHOD_SEND_RAID_INVITATION"), - 1601: .same(proto: "REQUEST_TYPE_METHOD_GET_DAILY_ENCOUNTER"), - 1602: .same(proto: "REQUEST_TYPE_METHOD_DAILY_ENCOUNTER"), - 1650: .same(proto: "REQUEST_TYPE_METHOD_OPEN_SPONSORED_GIFT"), - 1651: .same(proto: "REQUEST_TYPE_METHOD_SPONSORED_GIFT_REPORT_INTERACTION"), - 1652: .same(proto: "REQUEST_TYPE_METHOD_SAVE_PLAYER_PREFERENCES"), - 1653: .same(proto: "REQUEST_TYPE_METHOD_PROFANITY_CHECK"), - 1700: .same(proto: "REQUEST_TYPE_METHOD_GET_TIMED_GROUP_CHALLENGE"), - 1710: .same(proto: "REQUEST_TYPE_METHOD_GET_NINTENDO_ACCOUNT"), - 1711: .same(proto: "REQUEST_TYPE_METHOD_UNLINK_NINTENDO_ACCOUNT"), - 1712: .same(proto: "REQUEST_TYPE_METHOD_GET_NINTENDO_OAUTH2_URL"), - 1713: .same(proto: "REQUEST_TYPE_METHOD_TRANSFER_TO_POKEMON_HOME"), - 1716: .same(proto: "REQUEST_TYPE_METHOD_REPORT_AD_FEEDBACK"), - 1717: .same(proto: "REQUEST_TYPE_METHOD_CREATE_POKEMON_TAG"), - 1718: .same(proto: "REQUEST_TYPE_METHOD_DELETE_POKEMON_TAG"), - 1719: .same(proto: "REQUEST_TYPE_METHOD_EDIT_POKEMON_TAG"), - 1720: .same(proto: "REQUEST_TYPE_METHOD_SET_POKEMON_TAGS_FOR_POKEMON"), - 1721: .same(proto: "REQUEST_TYPE_METHOD_GET_POKEMON_TAGS"), - 1722: .same(proto: "REQUEST_TYPE_METHOD_CHANGE_POKEMON_FORM"), - 1723: .same(proto: "REQUEST_TYPE_METHOD_CHOOSE_EVENT_VARIANT"), - 1724: .same(proto: "REQUEST_TYPE_METHOD_BUTTERFLY_COLLECTOR_REWARD_ENCOUNTER"), - 1800: .same(proto: "REQUEST_TYPE_METHOD_GET_REFERRAL_CODE"), - 1801: .same(proto: "REQUEST_TYPE_METHOD_ADD_REFERRER"), - 1802: .same(proto: "REQUEST_TYPE_METHOD_SEND_FRIEND_INVITE_VIA_REFERRAL_CODE"), - 1803: .same(proto: "REQUEST_TYPE_METHOD_GET_MILESTONES"), - 1804: .same(proto: "REQUEST_TYPE_METHOD_MARK_MILESTONES_AS_VIEWED"), - 1805: .same(proto: "REQUEST_TYPE_METHOD_GET_MILESTONES_PREVIEW"), - 1806: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_MILESTONE"), - 1820: .same(proto: "REQUEST_TYPE_METHOD_GET_GEOFENCED_AD"), - 1900: .same(proto: "REQUEST_TYPE_METHOD_POWER_UP_POKESTOP_ENCOUNTER"), - 1909: .same(proto: "REQUEST_TYPE_METHOD_DELETE_POSTCARDS"), - 1910: .same(proto: "REQUEST_TYPE_METHOD_CREATE_POSTCARD"), - 1911: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_POSTCARD"), - 1912: .same(proto: "REQUEST_TYPE_METHOD_DELETE_POSTCARD"), - 1913: .same(proto: "REQUEST_TYPE_METHOD_GET_MEMENTO_LIST"), - 1914: .same(proto: "REQUEST_TYPE_METHOD_UPLOAD_RAID_CLIENT_LOG"), - 1915: .same(proto: "REQUEST_TYPE_METHOD_SKIP_ENTER_REFERRAL_CODE"), - 1916: .same(proto: "REQUEST_TYPE_METHOD_UPLOAD_COMBAT_CLIENT_LOG"), - 1917: .same(proto: "REQUEST_TYPE_METHOD_COMBAT_SYNC_SERVER_OFFSET"), - 2000: .same(proto: "REQUEST_TYPE_METHOD_CHECK_GIFTING_ELIGIBILITY"), - 2001: .same(proto: "REQUEST_TYPE_METHOD_REDEEM_TICKET_GIFT_FOR_FRIEND"), - 2002: .same(proto: "REQUEST_TYPE_METHOD_GET_INCENSE_RECAP"), - 2003: .same(proto: "REQUEST_TYPE_METHOD_ACKNOWLEDGE_INCENSE_RECAP"), - 2004: .same(proto: "REQUEST_TYPE_METHOD_BOOT_RAID"), - 2005: .same(proto: "REQUEST_TYPE_METHOD_GET_POKESTOP_ENCOUNTER"), - 2006: .same(proto: "REQUEST_TYPE_METHOD_ENCOUNTER_POKESTOP_ENCOUNTER"), - 2007: .same(proto: "REQUEST_TYPE_METHOD_POLL_PLAYER_SPAWNABLE_POKEMON"), - 2008: .same(proto: "REQUEST_TYPE_METHOD_GET_QUEST_UI"), - 2009: .same(proto: "REQUEST_TYPE_METHOD_GET_ELIGIBLE_COMBAT_LEAGUES"), - 2010: .same(proto: "REQUEST_TYPE_METHOD_SEND_FRIEND_REQUEST_VIA_PLAYER_IDS"), - 2011: .same(proto: "REQUEST_TYPE_METHOD_GET_RAID_LOBBY_COUNTER"), - 2100: .same(proto: "REQUEST_TYPE_METHOD_CHECK_POKEMON_SIZE_CONTEST_ELIGIBILITY"), - 2101: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_POKEMON_SIZE_CONTEST_ENTRY"), - 2102: .same(proto: "REQUEST_TYPE_METHOD_TRANSFER_POKEMON_SIZE_CONTEST_ENTRY"), - 2103: .same(proto: "REQUEST_TYPE_METHOD_REMOVE_POKEMON_SIZE_CONTEST_ENTRY"), - 2104: .same(proto: "REQUEST_TYPE_METHOD_GET_POKEMON_SIZE_CONTEST_ENTRY"), - 2105: .same(proto: "REQUEST_TYPE_METHOD_GET_CONTEST_DATA"), - 2106: .same(proto: "REQUEST_TYPE_METHOD_GET_CONTESTS_UNCLAIMED_REWARDS"), - 2107: .same(proto: "REQUEST_TYPE_METHOD_CLAIM_CONTESTS_REWARDS"), - 2108: .same(proto: "REQUEST_TYPE_METHOD_GET_ENTERED_CONTEST"), - 2109: .same(proto: "REQUEST_TYPE_METHOD_GET_POKEMON_SIZE_CONTEST_FRIEND_ENTRY"), - 2150: .same(proto: "REQUEST_TYPE_METHOD_CHECK_CONTEST_ELIGIBILITY"), - 2151: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_CONTEST_ENTRY"), - 2152: .same(proto: "REQUEST_TYPE_METHOD_TRANSFER_CONTEST_ENTRY"), - 2153: .same(proto: "REQUEST_TYPE_METHOD_GET_CONTEST_FRIEND_ENTRY"), - 2154: .same(proto: "REQUEST_TYPE_METHOD_GET_CONTEST_ENTRY"), - 2300: .same(proto: "REQUEST_TYPE_METHOD_CREATE_PARTY"), - 2301: .same(proto: "REQUEST_TYPE_METHOD_JOIN_PARTY"), - 2302: .same(proto: "REQUEST_TYPE_METHOD_START_PARTY"), - 2303: .same(proto: "REQUEST_TYPE_METHOD_LEAVE_PARTY"), - 2304: .same(proto: "REQUEST_TYPE_METHOD_GET_PARTY"), - 2305: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_PARTY_LOCATION"), - 2306: .same(proto: "REQUEST_TYPE_METHOD_SEND_PARTY_DARK_LAUNCH_LOG"), - 2308: .same(proto: "REQUEST_TYPE_METHOD_START_PARTY_QUEST"), - 2350: .same(proto: "REQUEST_TYPE_METHOD_GET_BONUS_ATTRACTED_POKEMON"), - 3000: .same(proto: "REQUEST_TYPE_METHOD_GET_VPS_EVENTS"), - 3001: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_VPS_EVENTS"), - 5000: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REGISTER_PUSH_NOTIFICATION"), - 5001: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UNREGISTER_PUSH_NOTIFICATION"), - 5002: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UPDATE_NOTIFICATION_STATUS"), - 5003: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), - 5004: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_DOWNLOAD_GAME_MASTER_TEMPLATES"), - 5005: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_INVENTORY"), - 5006: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_PASSCODE"), - 5007: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PING"), - 5008: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_ADD_LOGIN_ACTION"), - 5009: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REMOVE_LOGIN_ACTION"), - 5010: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_LIST_LOGIN_ACTION"), - 5011: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_ADD_NEW_POI"), - 5012: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PROXY_SOCIAL_ACTION"), - 5013: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_DEPRECATED_CLIENT_TELEMETRY"), - 5014: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_AVAILABLE_SUBMISSIONS"), - 5015: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), - 5016: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REPLACE_LOGIN_ACTION"), - 5017: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PROXY_SOCIAL_SIDE_CHANNEL_ACTION"), - 5018: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_COLLECT_CLIENT_TELEMETRY"), - 5019: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PURCHASE_SKU"), - 5020: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_AVAILABLE_SKUS_AND_BALANCES"), - 5021: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_GOOGLE_RECEIPT"), - 5022: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_APPLE_RECEIPT"), - 5023: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_DESKTOP_RECEIPT"), - 5024: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UPDATE_FITNESS_METRICS"), - 5025: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_FITNESS_REPORT"), - 5026: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_CLIENT_TELEMETRY_SETTINGS"), - 5027: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PING_ASYNC"), - 5028: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REGISTER_BACKGROUND_SERVICE"), - 5029: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_CLIENT_BGMODE_SETTINGS"), - 5030: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PING_DOWNSTREAM"), - 5032: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SET_IN_GAME_CURRENCY_EXCHANGE_RATE"), - 5033: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REQUEST_GEOFENCE_UPDATES"), - 5034: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UPDATE_PLAYER_LOCATION"), - 5035: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GENERATE_GMAP_SIGNED_URL"), - 5036: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_GMAP_SETTINGS"), - 5037: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_SAMSUNG_RECEIPT"), - 5038: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_ADD_NEW_ROUTE"), - 5039: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_OUTSTANDING_WARNINGS"), - 5040: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_ACKNOWLEDGE_WARNINGS"), - 5041: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SUBMIT_POI_IMAGE"), - 5042: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SUBMIT_POI_TEXT_METADATA_UPDATE"), - 5043: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SUBMIT_POI_LOCATION_UPDATE"), - 5044: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SUBMIT_POI_TAKEDOWN_REQUEST"), - 5045: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_WEB_TOKEN_ACTION"), - 5046: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_ADVENTURE_SYNC_SETTINGS"), - 5047: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UPDATE_ADVENTURE_SYNC_SETTINGS"), - 5048: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SET_BIRTHDAY"), - 5049: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_FETCH_NEWSFEED_ACTION"), - 5050: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_MARK_NEWSFEED_READ_ACTION"), - 10000: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEARCH_PLAYER"), - 10002: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEND_FRIEND_INVITE"), - 10003: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_CANCEL_FRIEND_INVITE"), - 10004: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_ACCEPT_FRIEND_INVITE"), - 10005: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_DECLINE_FRIEND_INVITE"), - 10006: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_FRIENDS"), - 10007: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_OUTGOING_FRIEND_INVITES"), - 10008: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_INCOMING_FRIEND_INVITES"), - 10009: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_REMOVE_FRIEND"), - 10010: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_FRIEND_STATUS"), - 10011: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEND_FACEBOOK_FRIEND_INVITE"), - 10012: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_IS_MY_FRIEND"), - 10013: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_CREATE_INVITE_CODE"), - 10014: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_FACEBOOK_FRIEND_LIST"), - 10015: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_FACEBOOK_STATUS"), - 10016: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SAVE_PLAYER_SETTINGS"), - 10017: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_PLAYER_SETTINGS"), - 10018: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_NIANTIC_FRIEND_LIST_DELETED"), - 10019: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_NIANTIC_FRIEND_DETAILS_DELETED"), - 10020: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEND_NIANTIC_FRIEND_INVITE_DELETED"), - 10021: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SET_ACCOUNT_SETTINGS"), - 10022: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_ACCOUNT_SETTINGS"), - 10023: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_ADD_FAVORITE_FRIEND"), - 10024: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_REMOVE_FAVORITE_FRIEND"), - 10025: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_BLOCK_ACCOUNT"), - 10026: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UNBLOCK_ACCOUNT"), - 10027: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_OUTGING_BLOCKS"), - 10028: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_IS_ACCOUNT_BLOCKED"), - 10101: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_REGISTER_PUSH_NOTIFICATION"), - 10102: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UNREGISTER_PUSH_NOTIFICATION"), - 10103: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_NOTIFICATION"), - 10104: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), - 10105: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_INBOX"), - 10201: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_SIGNED_URL"), - 10202: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SUBMIT_IMAGE"), - 10203: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_PHOTOS"), - 10204: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_DELETE_PHOTO"), - 10205: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_FLAG_PHOTO"), - 20001: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_PROFILE_V2"), - 20002: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_FRIENDSHIP_V2"), - 20003: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_PROFILE_V2"), - 20004: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_INVITE_GAME_V2"), - 20005: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_2"), - 20006: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_FRIENDS_V2"), - 20007: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_FRIEND_DETAILS_V2"), - 20008: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_CLIENT_FEATURE_FLAGS_V2"), - 20009: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_1"), - 20010: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_INCOMING_GAME_INVITES_V2"), - 20011: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_INCOMING_GAME_INVITE_V2"), - 20012: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_DISMISS_OUTGOING_GAME_INVITES_V2"), - 20013: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SYNC_CONTACT_LIST_V2"), - 20014: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEND_CONTACT_LIST_FRIEND_INVITE_V2"), - 20015: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_REFER_CONTACT_LIST_FRIEND_V2"), - 20016: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_CONTACT_LIST_INFO_V2"), - 20017: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_DISMISS_CONTACT_LIST_UPDATE_V2"), - 20018: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_NOTIFY_CONTACT_LIST_FRIENDS_V2"), - 20019: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_6"), - 20020: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_7"), - 20400: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_3"), - 20401: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_4"), - 20402: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_5"), - 20500: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_FRIEND_RECOMMENDATION"), - 230000: .same(proto: "REQUEST_TYPE_GAME_ACTION_CLIENT_REGISTER_BACKGROUND_SERVICE"), - 230001: .same(proto: "REQUEST_TYPE_GAME_ACTION_CLIENT_GET_CLIENT_BGMODE_SETTINGS"), - 230002: .same(proto: "REQUEST_TYPE_GAME_ACTION_CLIENT_GET_ADVENTURE_SYNC_PROGRESS"), - 310000: .same(proto: "REQUEST_TYPE_GAME_PURCHASE_SKU"), - 310001: .same(proto: "REQUEST_TYPE_GAME_GET_AVAILABLE_SKUS_AND_BALANCES"), - 310002: .same(proto: "REQUEST_TYPE_GAME_SET_IN_GAME_CURRENCY_EXCHANGE_RATE"), - 310100: .same(proto: "REQUEST_TYPE_GAME_REDEEM_GOOGLE_RECEIPT"), - 310101: .same(proto: "REQUEST_TYPE_GAME_REDEEM_APPLE_RECEIPT"), - 310102: .same(proto: "REQUEST_TYPE_GAME_REDEEM_DESKTOP_RECEIPT"), - 310103: .same(proto: "REQUEST_TYPE_GAME_REDEEM_SAMSUNG_RECEIPT"), - 310200: .same(proto: "REQUEST_TYPE_GAME_GET_AVAILABLE_SUBSCRIPTIONS"), - 310201: .same(proto: "REQUEST_TYPE_GAME_GET_ACTIVE_SUBSCRIPTIONS"), - 360000: .same(proto: "REQUEST_TYPE_REQUEST_GEOFENCE_UPDATES_1"), - 360001: .same(proto: "REQUEST_TYPE_UPDATE_PLAYER_LOCATION_1"), - 361000: .same(proto: "REQUEST_TYPE_UPDATE_BREADCRUMB_HISTORY"), - 362000: .same(proto: "REQUEST_TYPE_REFRESH_PROXIMITY_TOKENS"), - 362001: .same(proto: "REQUEST_TYPE_REPORT_PROXIMITY_CONTACTS"), - 600005: .same(proto: "REQUEST_TYPE_GET_GAME_ACCESS_TOKEN"), - 620000: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_ADD_NEW_POI"), - 620001: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_AVAILABLE_SUBMISSIONS"), - 620002: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), - 620003: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_PLAYER_SUBMISSION_VALIDATION_SETTINGS"), - 620004: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_ADD_NEW_POI"), - 620005: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), - 620100: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_IMAGE"), - 620101: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_TEXT_METADATA_UPDATE"), - 620102: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_LOCATION_UPDATE"), - 620103: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_TAKEDOWN_REQUEST"), - 620104: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_SPONSOR_POI_REPORT"), - 620105: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_SPONSOR_POI_LOCATION_UPDATE"), - 620106: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_CATEGORY_VOTE"), - 620107: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_IMAGE"), - 620108: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_TEXT_METADATA_UPDATE"), - 620109: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_LOCATION_UPDATE"), - 620110: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_TAKEDOWN_REQUEST"), - 620200: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_ADD_NEW_ROUTE"), - 620300: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GENERATE_GMAP_SIGNED_URL"), - 620301: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_GMAP_SETTINGS"), - 620400: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_AR_VIDEO_METADATA"), - 620401: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_GRAPESHOT_FILE_UPLOAD_URL"), - 620402: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_ASYNC_FILE_UPLOAD_COMPLETE"), - 620403: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_AR_MAPPING_SETTINGS"), - 620404: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_AR_VIDEO_METADATA"), - 620405: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_GET_GRAPESHOT_FILE_UPLOAD_URL"), - 620406: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_ASYNC_FILE_UPLOAD_COMPLETE"), - 620407: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_MAPPING_REQUEST"), - 620408: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_MAPPING_REQUEST"), - 620500: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_IMAGES_FOR_POI"), - 620501: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_PLAYER_IMAGE_VOTE_FOR_POI"), - 620502: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_IMAGE_GALLERY_SETTINGS"), - 620600: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_MAP_DATA"), - 620601: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_POIS_IN_RADIUS"), - 640000: .same(proto: "REQUEST_TYPE_UPDATE_FITNESS_METRICS_1"), - 640001: .same(proto: "REQUEST_TYPE_GET_FITNESS_REPORT_1"), - 640002: .same(proto: "REQUEST_TYPE_GET_ADVENTURE_SYNC_SETTINGS_1"), - 640003: .same(proto: "REQUEST_TYPE_UPDATE_ADVENTURE_SYNC_SETTINGS_1"), - 640004: .same(proto: "REQUEST_TYPE_UPDATE_ADVENTURE_SYNC_FITNESS"), - 640005: .same(proto: "REQUEST_TYPE_GET_ADVENTURE_SYNC_FITNESS_REPORT"), - ] -} - -extension AllTypesAndMessagesResponsesProto.AllMessagesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AllTypesAndMessagesResponsesProto.protoMessageName + ".AllMessagesProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "get_player_proto_2"), - 4: .standard(proto: "get_holoholo_inventory_proto_4"), - 5: .standard(proto: "download_settings_action_proto_5"), - 6: .standard(proto: "getgame_master_client_templates_proto_6"), - 7: .standard(proto: "get_remote_config_versions_proto_7"), - 8: .standard(proto: "register_background_device_action_proto_8"), - 9: .standard(proto: "get_player_day_proto_9"), - 10: .standard(proto: "acknowledge_punishment_proto_10"), - 11: .standard(proto: "get_server_time_proto_11"), - 12: .standard(proto: "get_local_time_proto_12"), - 101: .standard(proto: "fort_search_proto_101"), - 102: .standard(proto: "encounter_proto_102"), - 103: .standard(proto: "catch_pokemon_proto_103"), - 104: .standard(proto: "fort_details_proto_104"), - 106: .standard(proto: "get_map_objects_proto_106"), - 110: .standard(proto: "fort_deploy_proto_110"), - 111: .standard(proto: "fort_recall_proto_111"), - 112: .standard(proto: "release_pokemon_proto_112"), - 113: .standard(proto: "use_item_potion_proto_113"), - 114: .standard(proto: "use_item_capture_proto_114"), - 116: .standard(proto: "use_item_revive_proto_116"), - 121: .standard(proto: "playerprofileproto_121"), - 125: .standard(proto: "evolve_pokemon_proto_125"), - 126: .standard(proto: "get_hatched_eggs_proto_126"), - 127: .standard(proto: "encounter_tutorial_complete_proto_127"), - 128: .standard(proto: "level_up_rewards_proto_128"), - 129: .standard(proto: "check_awarded_badges_proto_129"), - 137: .standard(proto: "recycle_item_proto_137"), - 138: .standard(proto: "collect_daily_bonus_proto_138"), - 139: .standard(proto: "use_item_xp_boost_proto_139"), - 140: .standard(proto: "use_item_egg_incubator_proto_140"), - 141: .standard(proto: "use_incense_action_proto_141"), - 142: .standard(proto: "get_incense_pokemon_proto_142"), - 143: .standard(proto: "incense_encounter_proto_143"), - 144: .standard(proto: "add_fort_modifier_proto_144"), - 145: .standard(proto: "disk_encounter_proto_145"), - 147: .standard(proto: "upgrade_pokemon_proto_147"), - 148: .standard(proto: "set_favorite_pokemon_proto_148"), - 149: .standard(proto: "nickname_pokemon_proto_149"), - 150: .standard(proto: "equip_badge_proto_150"), - 151: .standard(proto: "set_contactsettings_proto_151"), - 152: .standard(proto: "set_buddy_pokemon_proto_152"), - 153: .standard(proto: "get_buddy_walked_proto_153"), - 154: .standard(proto: "use_item_encounter_proto_154"), - 155: .standard(proto: "gym_deploy_proto_155"), - 156: .standard(proto: "gymget_info_proto_156"), - 157: .standard(proto: "gym_start_session_proto_157"), - 158: .standard(proto: "gym_battle_attack_proto_158"), - 159: .standard(proto: "join_lobby_proto_159"), - 160: .standard(proto: "leavelobby_proto_160"), - 161: .standard(proto: "set_lobby_visibility_proto_161"), - 162: .standard(proto: "set_lobby_pokemon_proto_162"), - 163: .standard(proto: "get_raid_details_proto_163"), - 164: .standard(proto: "gym_feed_pokemon_proto_164"), - 165: .standard(proto: "start_raid_battle_proto_165"), - 166: .standard(proto: "attack_raid_battle_proto_166"), - 168: .standard(proto: "use_item_stardust_boost_proto_168"), - 169: .standard(proto: "reassign_player_proto_169"), - 171: .standard(proto: "convertcandy_to_xlcandy_proto_171"), - 172: .standard(proto: "is_sku_available_proto_172"), - 300: .standard(proto: "asset_digest_request_proto_300"), - 301: .standard(proto: "download_url_request_proto_301"), - 302: .standard(proto: "asset_version_proto_302"), - 403: .standard(proto: "claimcodename_request_proto_403"), - 404: .standard(proto: "set_avatar_proto_404"), - 405: .standard(proto: "set_player_team_proto_405"), - 406: .standard(proto: "mark_tutorial_complete_proto_406"), - 408: .standard(proto: "set_neutral_avatar_proto_408"), - 600: .standard(proto: "checkchallenge_proto_600"), - 601: .standard(proto: "verify_challenge_proto_601"), - 666: .standard(proto: "echo_proto_666"), - 800: .standard(proto: "register_sfidarequest_800"), - 802: .standard(proto: "sfida_certification_request_802"), - 803: .standard(proto: "sfida_update_request_803"), - 805: .standard(proto: "sfida_dowser_request_805"), - 806: .standard(proto: "sfida_capture_request_806"), - 807: .standard(proto: "list_avatar_customizations_proto_807"), - 808: .standard(proto: "set_avatar_item_as_viewed_proto_808"), - 809: .standard(proto: "get_inbox_v2_proto_809"), - 811: .standard(proto: "list_gym_badges_proto_811"), - 812: .standard(proto: "getgym_badge_details_proto_812"), - 813: .standard(proto: "use_item_move_reroll_proto_813"), - 814: .standard(proto: "use_item_rare_candy_proto_814"), - 815: .standard(proto: "award_free_raid_ticket_proto_815"), - 816: .standard(proto: "fetch_all_news_proto_816"), - 817: .standard(proto: "mark_read_news_article_proto_817"), - 818: .standard(proto: "get_player_settings_proto_818"), - 819: .standard(proto: "beluga_transaction_start_proto_819"), - 820: .standard(proto: "beluga_transaction_complete_proto_820"), - 822: .standard(proto: "sfida_associate_request_822"), - 823: .standard(proto: "sfida_check_pairing_request_823"), - 824: .standard(proto: "sfida_disassociate_request_824"), - 826: .standard(proto: "waina_submit_sleep_data_request_826"), - 900: .standard(proto: "get_new_quests_proto_900"), - 901: .standard(proto: "get_quest_details_proto_901"), - 902: .standard(proto: "complete_quest_proto_902"), - 903: .standard(proto: "remove_quest_proto_903"), - 904: .standard(proto: "quest_encounter_proto_904"), - 906: .standard(proto: "progress_questproto_906"), - 950: .standard(proto: "send_gift_proto_950"), - 951: .standard(proto: "open_gift_proto_951"), - 952: .standard(proto: "getgift_box_details_proto_952"), - 953: .standard(proto: "delete_gift_proto_953"), - 954: .standard(proto: "save_playersnapshot_proto_954"), - 956: .standard(proto: "check_send_gift_proto_956"), - 957: .standard(proto: "set_friend_nickname_proto_957"), - 958: .standard(proto: "delete_gift_from_inventory_proto_958"), - 959: .standard(proto: "savesocial_playersettings_proto_959"), - 960: .standard(proto: "share_ex_raid_pass_proto_960"), - 961: .standard(proto: "check_share_ex_raid_pass_proto_961"), - 962: .standard(proto: "decline_ex_raid_pass_proto_962"), - 970: .standard(proto: "open_trading_proto_970"), - 971: .standard(proto: "update_trading_proto_971"), - 972: .standard(proto: "confirm_trading_proto_972"), - 973: .standard(proto: "cancel_trading_proto_973"), - 974: .standard(proto: "get_trading_proto_974"), - 980: .standard(proto: "get_fitness_rewards_proto_980"), - 990: .standard(proto: "get_combat_player_profile_proto_990"), - 991: .standard(proto: "generate_combat_challenge_id_proto_991"), - 992: .standard(proto: "createcombatchallenge_proto_992"), - 993: .standard(proto: "open_combat_challenge_proto_993"), - 994: .standard(proto: "get_combat_challenge_proto_994"), - 995: .standard(proto: "accept_combat_challenge_proto_995"), - 996: .standard(proto: "decline_combat_challenge_proto_996"), - 997: .standard(proto: "cancelcombatchallenge_proto_997"), - 998: .standard(proto: "submit_combat_challenge_pokemons_proto_998"), - 999: .standard(proto: "save_combat_player_preferences_proto_999"), - 1000: .standard(proto: "open_combat_session_proto_1000"), - 1001: .standard(proto: "update_combat_proto_1001"), - 1002: .standard(proto: "quit_combat_proto_1002"), - 1003: .standard(proto: "get_combat_results_proto_1003"), - 1004: .standard(proto: "unlock_pokemon_move_proto_1004"), - 1005: .standard(proto: "get_npc_combat_rewards_proto_1005"), - 1006: .standard(proto: "combat_friend_request_proto_1006"), - 1007: .standard(proto: "open_npc_combat_session_proto_1007"), - 1008: .standard(proto: "start_tutorial_proto_1008"), - 1009: .standard(proto: "get_tutorial_egg_proto_1009"), - 1020: .standard(proto: "send_probe_proto_1020"), - 1101: .standard(proto: "check_photobomb_proto_1101"), - 1102: .standard(proto: "confirm_photobomb_proto_1102"), - 1103: .standard(proto: "get_photobomb_proto_1103"), - 1104: .standard(proto: "encounter_photobomb_proto_1104"), - 1105: .standard(proto: "getgmap_settings_proto_1105"), - 1106: .standard(proto: "change_team_proto_1106"), - 1107: .standard(proto: "get_web_token_proto_1107"), - 1110: .standard(proto: "complete_snapshot_session_proto_1110"), - 1111: .standard(proto: "complete_wild_snapshot_session_proto_1111"), - 1200: .standard(proto: "start_incident_proto_1200"), - 1201: .standard(proto: "complete_invasion_dialogue_proto_1201"), - 1202: .standard(proto: "open_invasion_combat_session_proto_1202"), - 1203: .standard(proto: "update_invasion_battle_proto_1203"), - 1204: .standard(proto: "invasion_encounter_proto_1204"), - 1205: .standard(proto: "purifypokemonproto_1205"), - 1206: .standard(proto: "get_rocket_balloon_proto_1206"), - 1207: .standard(proto: "start_rocket_balloon_incident_proto_1207"), - 1300: .standard(proto: "vs_seeker_start_matchmaking_proto_1300"), - 1301: .standard(proto: "cancel_matchmaking_proto_1301"), - 1302: .standard(proto: "get_matchmaking_status_proto_1302"), - 1303: .standard(proto: "complete_vs_seeker_and_restartcharging_proto_1303"), - 1304: .standard(proto: "get_vs_seeker_status_proto_1304"), - 1305: .standard(proto: "completecompetitive_season_proto_1305"), - 1306: .standard(proto: "claim_vs_seeker_rewards_proto_1306"), - 1307: .standard(proto: "vs_seeker_reward_encounter_proto_1307"), - 1308: .standard(proto: "activate_vs_seeker_proto_1308"), - 1350: .standard(proto: "buddy_map_proto_1350"), - 1351: .standard(proto: "buddy_stats_proto_1351"), - 1352: .standard(proto: "buddy_feeding_proto_1352"), - 1353: .standard(proto: "open_buddy_gift_proto_1353"), - 1354: .standard(proto: "buddy_petting_proto_1354"), - 1355: .standard(proto: "get_buddy_history_proto_1355"), - 1400: .standard(proto: "update_route_draft_proto_1400"), - 1401: .standard(proto: "get_map_forts_proto_1401"), - 1402: .standard(proto: "submit_route_draft_proto_1402"), - 1403: .standard(proto: "get_published_routes_proto_1403"), - 1404: .standard(proto: "start_route_proto_1404"), - 1405: .standard(proto: "get_routes_proto_1405"), - 1406: .standard(proto: "progress_routeproto_1406"), - 1408: .standard(proto: "process_route_tappableproto_1408"), - 1409: .standard(proto: "list_route_badges_proto_1409"), - 1410: .standard(proto: "cancel_route_proto_1410"), - 1456: .standard(proto: "create_buddy_multiplayer_session_proto_1456"), - 1457: .standard(proto: "join_buddy_multiplayer_session_proto_1457"), - 1458: .standard(proto: "leave_buddy_multiplayer_session_proto_1458"), - 1501: .standard(proto: "get_today_view_proto_1501"), - 1502: .standard(proto: "mega_evolve_pokemon_proto_1502"), - 1503: .standard(proto: "remote_gift_pingrequest_proto_1503"), - 1504: .standard(proto: "send_raid_invitation_proto_1504"), - 1601: .standard(proto: "get_daily_encounter_proto_1601"), - 1602: .standard(proto: "daily_encounter_proto_1602"), - 1650: .standard(proto: "open_sponsored_gift_proto_1650"), - 1652: .standard(proto: "save_player_preferences_proto_1652"), - 1653: .standard(proto: "profanity_checkproto_1653"), - 1700: .standard(proto: "get_timedgroup_challenge_proto_1700"), - 1710: .standard(proto: "get_nintendo_account_proto_1710"), - 1711: .standard(proto: "unlink_nintendo_account_proto_1711"), - 1712: .standard(proto: "get_nintendo_o_auth2_url_proto_1712"), - 1713: .standard(proto: "transfer_pokemonto_pokemon_home_proto_1713"), - 1716: .standard(proto: "report_ad_feedbackrequest_1716"), - 1717: .standard(proto: "create_pokemon_tag_proto_1717"), - 1718: .standard(proto: "delete_pokemon_tag_proto_1718"), - 1719: .standard(proto: "edit_pokemon_tag_proto_1719"), - 1720: .standard(proto: "set_pokemon_tags_for_pokemon_proto_1720"), - 1721: .standard(proto: "get_pokemon_tags_proto_1721"), - 1722: .standard(proto: "change_pokemon_form_proto_1722"), - 1723: .standard(proto: "choose_global_ticketed_event_variant_proto_1723"), - 1800: .standard(proto: "get_referral_code_proto_1800"), - 1801: .standard(proto: "add_referrer_proto_1801"), - 1802: .standard(proto: "send_friend_invite_via_referral_code_proto_1802"), - 1803: .standard(proto: "get_milestones_proto_1803"), - 1804: .standard(proto: "markmilestone_as_viewed_proto_1804"), - 1805: .standard(proto: "get_milestones_preview_proto_1805"), - 1806: .standard(proto: "complete_milestone_proto_1806"), - 1820: .standard(proto: "getgeofenced_ad_proto_1820"), - 1909: .standard(proto: "delete_postcards_proto_1909"), - 1910: .standard(proto: "create_postcard_proto_1910"), - 1911: .standard(proto: "update_postcard_proto_1911"), - 1912: .standard(proto: "delete_postcard_proto_1912"), - 1913: .standard(proto: "get_memento_list_proto_1913"), - 1914: .standard(proto: "upload_raid_client_log_proto_1914"), - 2000: .standard(proto: "check_gifting_eligibility_proto_2000"), - 2001: .standard(proto: "redeem_ticket_gift_for_friend_proto_2001"), - 2002: .standard(proto: "get_insence_recap_proto_2002"), - 2005: .standard(proto: "get_pokestop_encounter_proto_2005"), - 2006: .standard(proto: "encounter_pokestopencounter_proto_2006"), - 2007: .standard(proto: "player_spawnablepokemonproto_2007"), - 2010: .standard(proto: "send_friend_request_via_player_id_proto_2010"), - 2011: .standard(proto: "get_raid_lobby_counter_proto_2011"), - 2100: .standard(proto: "check_pokemon_sizecontest_eligibility_proto_2100"), - 2101: .standard(proto: "update_pokemon_size_contest_entry_proto_2101"), - 2104: .standard(proto: "get_pokemon_size_contest_entry_proto_2104"), - 2105: .standard(proto: "get_contest_data_proto_2105"), - 2106: .standard(proto: "get_contests_unclaimed_rewards_proto_2106"), - 2107: .standard(proto: "claimcontests_rewards_proto_2107"), - 2108: .standard(proto: "get_entered_contest_proto_2108"), - 3000: .standard(proto: "get_vps_event_proto_3000"), - 3001: .standard(proto: "update_vps_event_proto_3001"), - 5000: .standard(proto: "push_notification_registryproto_5000"), - 5002: .standard(proto: "update_notification_proto_5002"), - 5003: .standard(proto: "opt_proto_5003"), - 5004: .standard(proto: "download_gm_templates_request_proto_5004"), - 5005: .standard(proto: "get_inventory_proto_5005"), - 5006: .standard(proto: "redeem_passcoderequest_proto_5006"), - 5007: .standard(proto: "ping_requestproto_5007"), - 5008: .standard(proto: "add_loginaction_proto_5008"), - 5009: .standard(proto: "remove_login_action_proto_5009"), - 5010: .standard(proto: "listlogin_action_proto_5010"), - 5011: .standard(proto: "submit_new_poi_proto_5011"), - 5012: .standard(proto: "proxy_requestproto_5012"), - 5014: .standard(proto: "get_available_submissions_proto_5014"), - 5015: .standard(proto: "replace_login_action_proto_5015"), - 5018: .standard(proto: "client_telemetry_batch_proto_5018"), - 5019: .standard(proto: "purchase_skuproto_5019"), - 5020: .standard(proto: "get_available_skus_and_balances_proto_5020"), - 5021: .standard(proto: "redeem_googlereceipt_proto_5021"), - 5022: .standard(proto: "redeem_applereceipt_proto_5022"), - 5023: .standard(proto: "redeem_desktopreceipt_proto_5023"), - 5024: .standard(proto: "fitness_update_proto_5024"), - 5025: .standard(proto: "get_fitness_report_proto_5025"), - 5026: .standard(proto: "client_telemetry_settings_request_proto_5026"), - 5028: .standard(proto: "register_background_servicerequest_proto_5028"), - 5032: .standard(proto: "set_in_game_currency_exchange_rate_proto_5032"), - 5033: .standard(proto: "geofence_update_proto_5033"), - 5034: .standard(proto: "location_ping_proto_5034"), - 5035: .standard(proto: "generategmap_signed_url_proto_5035"), - 5036: .standard(proto: "getgmap_settings_proto_5036"), - 5037: .standard(proto: "redeem_samsungreceipt_proto_5037"), - 5041: .standard(proto: "submit_poi_image_proto_5041"), - 5042: .standard(proto: "submit_poi_text_metadata_update_proto_5042"), - 5043: .standard(proto: "submit_poi_location_update_proto_5043"), - 5044: .standard(proto: "submit_poi_takedown_request_proto_5044"), - 5045: .standard(proto: "get_web_token_proto_5045"), - 5046: .standard(proto: "get_adventure_sync_settings_request_proto_5046"), - 5047: .standard(proto: "update_adventure_sync_settings_request_proto_5047"), - 10000: .standard(proto: "search_player_proto_10000"), - 10002: .standard(proto: "send_friend_invite_proto_10002"), - 10003: .standard(proto: "cancel_friend_invite_proto_10003"), - 10004: .standard(proto: "accept_friend_invite_proto_10004"), - 10005: .standard(proto: "decline_friend_invite_proto_10005"), - 10006: .standard(proto: "get_friends_list_proto_10006"), - 10007: .standard(proto: "get_outgoing_friend_invites_proto_10007"), - 10008: .standard(proto: "get_incoming_friend_invites_proto_10008"), - 10009: .standard(proto: "remove_friend_proto_10009"), - 10010: .standard(proto: "get_friend_details_proto_10010"), - 10011: .standard(proto: "invite_facebook_friend_proto_10011"), - 10012: .standard(proto: "is_my_friend_proto_10012"), - 10013: .standard(proto: "get_friend_code_proto_10013"), - 10014: .standard(proto: "get_facebook_friend_list_proto_10014"), - 10015: .standard(proto: "update_facebook_status_proto_10015"), - 10016: .standard(proto: "savesocial_playersettings_proto_10016"), - 10017: .standard(proto: "get_player_settings_proto_10017"), - 10021: .standard(proto: "set_accountsettings_proto_10021"), - 10022: .standard(proto: "get_account_settings_proto_10022"), - 10023: .standard(proto: "add_favorite_friend_request_10023"), - 10024: .standard(proto: "remove_favorite_friendrequest_10024"), - 10025: .standard(proto: "block_account_proto_10025"), - 10026: .standard(proto: "unblock_account_proto_10026"), - 10027: .standard(proto: "get_outgoing_blocks_proto_10027"), - 10028: .standard(proto: "is_account_blocked_proto_10028"), - 10101: .standard(proto: "push_notification_registryproto_10101"), - 10103: .standard(proto: "update_notification_proto_10103"), - 10104: .standard(proto: "opt_proto_10104"), - 10105: .standard(proto: "get_inbox_v2_proto_10105"), - 10201: .standard(proto: "get_signed_url_proto_10201"), - 10202: .standard(proto: "submit_image_proto_10202"), - 10203: .standard(proto: "get_photos_proto_10203"), - 10204: .standard(proto: "delete_photo_proto_10204"), - 10205: .standard(proto: "flag_photo_request_10205"), - 20001: .standard(proto: "update_profile_request_20001"), - 20002: .standard(proto: "update_friendship_request_20002"), - 20003: .standard(proto: "get_profile_request_20003"), - 20004: .standard(proto: "invite_game_request_20004"), - 20006: .standard(proto: "list_friends_request_20006"), - 20007: .standard(proto: "get_friend_details_proto_20007"), - 20008: .standard(proto: "get_client_feature_flags_request_20008"), - 20010: .standard(proto: "get_incominggame_invites_request_20010"), - 20011: .standard(proto: "update_incoming_game_invite_request_20011"), - 20012: .standard(proto: "dismiss_outgoing_game_invites_request_20012"), - 20013: .standard(proto: "sync_contact_list_request_20013"), - 20014: .standard(proto: "send_contact_list_friend_invite_request_20014"), - 20015: .standard(proto: "refer_contact_list_friendrequest_20015"), - 20016: .standard(proto: "get_contact_list_info_request_20016"), - 20017: .standard(proto: "dismiss_contact_list_update_request_20017"), - 20018: .standard(proto: "notify_contact_list_friends_request_20018"), - 20500: .standard(proto: "get_friend_recommendation_request_20500"), - 230000: .standard(proto: "register_background_servicerequest_proto_230000"), - 230002: .standard(proto: "get_adventure_sync_progress_proto_230002"), - 310000: .standard(proto: "purchase_skuproto_310000"), - 310001: .standard(proto: "get_available_skus_and_balances_proto_310001"), - 310002: .standard(proto: "set_in_game_currency_exchange_rate_proto_310002"), - 310100: .standard(proto: "redeem_googlereceipt_proto_310100"), - 310101: .standard(proto: "redeem_applereceipt_proto_310101"), - 310102: .standard(proto: "redeem_desktopreceipt_proto_310102"), - 310103: .standard(proto: "redeem_samsungreceipt_proto_310103"), - 310200: .standard(proto: "get_available_subscriptions_request_proto_310200"), - 310201: .standard(proto: "get_active_subscriptions_request_proto_310201"), - 360000: .standard(proto: "geofence_update_proto_360000"), - 360001: .standard(proto: "location_ping_proto_360001"), - 361000: .standard(proto: "update_breadcrumb_history_request_proto_361000"), - 362000: .standard(proto: "refresh_proximity_tokensrequest_proto_362000"), - 362001: .standard(proto: "report_proximity_contactsrequest_proto_362001"), - 600005: .standard(proto: "getgame_access_token_proto_600005"), - 620000: .standard(proto: "submit_new_poi_proto_620000"), - 620001: .standard(proto: "get_available_submissions_proto_620001"), - 620003: .standard(proto: "get_player_submission_validation_settings_proto_620003"), - 620100: .standard(proto: "submit_poi_image_proto_620100"), - 620101: .standard(proto: "submit_poi_text_metadata_update_proto_620101"), - 620102: .standard(proto: "submit_poi_location_update_proto_620102"), - 620103: .standard(proto: "submit_poi_takedown_request_proto_620103"), - 620104: .standard(proto: "submitsponsor_poi_report_proto_620104"), - 620105: .standard(proto: "submitsponsor_poi_location_update_proto_620105"), - 620106: .standard(proto: "submit_poi_category_vote_record_proto_620106"), - 620300: .standard(proto: "generategmap_signed_url_proto_620300"), - 620301: .standard(proto: "getgmap_settings_proto_620301"), - 620400: .standard(proto: "poi_video_submission_metadataproto_620400"), - 620401: .standard(proto: "getgrapeshot_upload_url_proto_620401"), - 620402: .standard(proto: "async_file_upload_complete_proto_620402"), - 620403: .standard(proto: "get_a_r_mapping_settings_proto_620403"), - 620500: .standard(proto: "get_images_for_poi_proto_620500"), - 620501: .standard(proto: "submit_player_image_vote_for_poi_proto_620501"), - 620502: .standard(proto: "get_imagegallery_settings_proto_620502"), - 620600: .standard(proto: "get_map_data_proto_620600"), - 620601: .standard(proto: "get_pois_in_radius_proto_620601"), - 640000: .standard(proto: "fitness_update_proto_640000"), - 640001: .standard(proto: "get_fitness_report_proto_640001"), - 640002: .standard(proto: "get_adventure_sync_settings_request_proto_640002"), - 640003: .standard(proto: "update_adventure_sync_settings_request_proto_640003"), - 640004: .standard(proto: "update_adventure_sync_fitness_request_proto_640004"), - 640005: .standard(proto: "get_adventure_sync_fitness_report_request_proto_640005"), + try { if let v = self._arCommonMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKAsyncFileUploadCompleteProto, rhs: ARDKAsyncFileUploadCompleteProto) -> Bool { + if lhs.submissionID != rhs.submissionID {return false} + if lhs.uploadStatus != rhs.uploadStatus {return false} + if lhs._arCommonMetadata != rhs._arCommonMetadata {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKAsyncFileUploadCompleteProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unset"), + 1: .same(proto: "upload_done"), + 2: .same(proto: "upload_failed"), + ] +} + +extension ARDKAvailableSubmissionsPerSubmissionType: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKAvailableSubmissionsPerSubmissionType" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_submission_type"), + 2: .standard(proto: "submissions_left"), + 3: .standard(proto: "min_player_level"), + 4: .standard(proto: "is_feature_enabled"), + 5: .standard(proto: "time_window_for_submissions_limit_ms"), + 6: .standard(proto: "max_poi_distance_in_meters"), + 7: .standard(proto: "blacklisted_os"), + 8: .standard(proto: "blacklisted_device_id"), + 9: .standard(proto: "is_whitelisted_user"), + 10: .standard(proto: "is_upload_later_enabled"), + 11: .standard(proto: "daily_new_submissions"), + 12: .standard(proto: "max_submissions"), + 13: .standard(proto: "is_wayfarer_onboarding_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.playerSubmissionType) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.submissionsLeft) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isFeatureEnabled) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.timeWindowForSubmissionsLimitMs) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiDistanceInMeters) }() + case 7: try { try decoder.decodeRepeatedStringField(value: &self.blacklistedOs) }() + case 8: try { try decoder.decodeRepeatedStringField(value: &self.blacklistedDeviceID) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.isWhitelistedUser) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.isUploadLaterEnabled) }() + case 11: try { try decoder.decodeSingularFloatField(value: &self.dailyNewSubmissions) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.maxSubmissions) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.isWayfarerOnboardingEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.playerSubmissionType != .typeUnspecified { + try visitor.visitSingularEnumField(value: self.playerSubmissionType, fieldNumber: 1) + } + if self.submissionsLeft != 0 { + try visitor.visitSingularInt32Field(value: self.submissionsLeft, fieldNumber: 2) + } + if self.minPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 3) + } + if self.isFeatureEnabled != false { + try visitor.visitSingularBoolField(value: self.isFeatureEnabled, fieldNumber: 4) + } + if self.timeWindowForSubmissionsLimitMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeWindowForSubmissionsLimitMs, fieldNumber: 5) + } + if self.maxPoiDistanceInMeters != 0 { + try visitor.visitSingularInt32Field(value: self.maxPoiDistanceInMeters, fieldNumber: 6) + } + if !self.blacklistedOs.isEmpty { + try visitor.visitRepeatedStringField(value: self.blacklistedOs, fieldNumber: 7) + } + if !self.blacklistedDeviceID.isEmpty { + try visitor.visitRepeatedStringField(value: self.blacklistedDeviceID, fieldNumber: 8) + } + if self.isWhitelistedUser != false { + try visitor.visitSingularBoolField(value: self.isWhitelistedUser, fieldNumber: 9) + } + if self.isUploadLaterEnabled != false { + try visitor.visitSingularBoolField(value: self.isUploadLaterEnabled, fieldNumber: 10) + } + if self.dailyNewSubmissions != 0 { + try visitor.visitSingularFloatField(value: self.dailyNewSubmissions, fieldNumber: 11) + } + if self.maxSubmissions != 0 { + try visitor.visitSingularInt32Field(value: self.maxSubmissions, fieldNumber: 12) + } + if self.isWayfarerOnboardingEnabled != false { + try visitor.visitSingularBoolField(value: self.isWayfarerOnboardingEnabled, fieldNumber: 13) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKAvailableSubmissionsPerSubmissionType, rhs: ARDKAvailableSubmissionsPerSubmissionType) -> Bool { + if lhs.playerSubmissionType != rhs.playerSubmissionType {return false} + if lhs.submissionsLeft != rhs.submissionsLeft {return false} + if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + if lhs.isFeatureEnabled != rhs.isFeatureEnabled {return false} + if lhs.timeWindowForSubmissionsLimitMs != rhs.timeWindowForSubmissionsLimitMs {return false} + if lhs.maxPoiDistanceInMeters != rhs.maxPoiDistanceInMeters {return false} + if lhs.blacklistedOs != rhs.blacklistedOs {return false} + if lhs.blacklistedDeviceID != rhs.blacklistedDeviceID {return false} + if lhs.isWhitelistedUser != rhs.isWhitelistedUser {return false} + if lhs.isUploadLaterEnabled != rhs.isUploadLaterEnabled {return false} + if lhs.dailyNewSubmissions != rhs.dailyNewSubmissions {return false} + if lhs.maxSubmissions != rhs.maxSubmissions {return false} + if lhs.isWayfarerOnboardingEnabled != rhs.isWayfarerOnboardingEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKBoundingBoxProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKBoundingBoxProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "lo_x"), + 2: .standard(proto: "lo_y"), + 3: .standard(proto: "lo_z"), + 4: .standard(proto: "hi_x"), + 5: .standard(proto: "hi_y"), + 6: .standard(proto: "hi_z"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFloatField(value: &self.loX) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.loY) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.loZ) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.hiX) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.hiY) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.hiZ) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.loX != 0 { + try visitor.visitSingularFloatField(value: self.loX, fieldNumber: 1) + } + if self.loY != 0 { + try visitor.visitSingularFloatField(value: self.loY, fieldNumber: 2) + } + if self.loZ != 0 { + try visitor.visitSingularFloatField(value: self.loZ, fieldNumber: 3) + } + if self.hiX != 0 { + try visitor.visitSingularFloatField(value: self.hiX, fieldNumber: 4) + } + if self.hiY != 0 { + try visitor.visitSingularFloatField(value: self.hiY, fieldNumber: 5) + } + if self.hiZ != 0 { + try visitor.visitSingularFloatField(value: self.hiZ, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKBoundingBoxProto, rhs: ARDKBoundingBoxProto) -> Bool { + if lhs.loX != rhs.loX {return false} + if lhs.loY != rhs.loY {return false} + if lhs.loZ != rhs.loZ {return false} + if lhs.hiX != rhs.hiX {return false} + if lhs.hiY != rhs.hiY {return false} + if lhs.hiZ != rhs.hiZ {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKCameraParamsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKCameraParamsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "width"), + 2: .same(proto: "height"), + 3: .same(proto: "f"), + 4: .same(proto: "px"), + 5: .same(proto: "py"), + 6: .same(proto: "k"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.width) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.height) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.f) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.px) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.py) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.k) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.width != 0 { + try visitor.visitSingularInt32Field(value: self.width, fieldNumber: 1) + } + if self.height != 0 { + try visitor.visitSingularInt32Field(value: self.height, fieldNumber: 2) + } + if self.f != 0 { + try visitor.visitSingularFloatField(value: self.f, fieldNumber: 3) + } + if self.px != 0 { + try visitor.visitSingularFloatField(value: self.px, fieldNumber: 4) + } + if self.py != 0 { + try visitor.visitSingularFloatField(value: self.py, fieldNumber: 5) + } + if self.k != 0 { + try visitor.visitSingularFloatField(value: self.k, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKCameraParamsProto, rhs: ARDKCameraParamsProto) -> Bool { + if lhs.width != rhs.width {return false} + if lhs.height != rhs.height {return false} + if lhs.f != rhs.f {return false} + if lhs.px != rhs.px {return false} + if lhs.py != rhs.py {return false} + if lhs.k != rhs.k {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKDepthRangeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKDepthRangeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "near"), + 2: .same(proto: "far"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFloatField(value: &self.near) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.far) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.near != 0 { + try visitor.visitSingularFloatField(value: self.near, fieldNumber: 1) + } + if self.far != 0 { + try visitor.visitSingularFloatField(value: self.far, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKDepthRangeProto, rhs: ARDKDepthRangeProto) -> Bool { + if lhs.near != rhs.near {return false} + if lhs.far != rhs.far {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKExposureInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKExposureInfoProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "shutter"), + 2: .same(proto: "offset"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFloatField(value: &self.shutter) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.offset) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.shutter != 0 { + try visitor.visitSingularFloatField(value: self.shutter, fieldNumber: 1) + } + if self.offset != 0 { + try visitor.visitSingularFloatField(value: self.offset, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKExposureInfoProto, rhs: ARDKExposureInfoProto) -> Bool { + if lhs.shutter != rhs.shutter {return false} + if lhs.offset != rhs.offset {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKFrameProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKFrameProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "id"), + 2: .same(proto: "anchor"), + 3: .same(proto: "timestamp"), + 4: .same(proto: "camera"), + 5: .same(proto: "transform"), + 6: .same(proto: "exposure"), + 7: .same(proto: "range"), + 8: .same(proto: "quality"), + 9: .standard(proto: "is_large_image"), + 10: .standard(proto: "tracking_state"), ] fileprivate class _StorageClass { - var _getPlayerProto2: GetPlayerProto? = nil - var _getHoloholoInventoryProto4: GetHoloholoInventoryProto? = nil - var _downloadSettingsActionProto5: DownloadSettingsActionProto? = nil - var _getgameMasterClientTemplatesProto6: GetGameMasterClientTemplatesProto? = nil - var _getRemoteConfigVersionsProto7: GetRemoteConfigVersionsProto? = nil - var _registerBackgroundDeviceActionProto8: RegisterBackgroundDeviceActionProto? = nil - var _getPlayerDayProto9: GetPlayerDayProto? = nil - var _acknowledgePunishmentProto10: AcknowledgePunishmentProto? = nil - var _getServerTimeProto11: GetServerTimeProto? = nil - var _getLocalTimeProto12: GetLocalTimeProto? = nil - var _fortSearchProto101: FortSearchProto? = nil - var _encounterProto102: EncounterProto? = nil - var _catchPokemonProto103: CatchPokemonProto? = nil - var _fortDetailsProto104: FortDetailsProto? = nil - var _getMapObjectsProto106: GetMapObjectsProto? = nil - var _fortDeployProto110: FortDeployProto? = nil - var _fortRecallProto111: FortRecallProto? = nil - var _releasePokemonProto112: ReleasePokemonProto? = nil - var _useItemPotionProto113: UseItemPotionProto? = nil - var _useItemCaptureProto114: UseItemCaptureProto? = nil - var _useItemReviveProto116: UseItemReviveProto? = nil - var _playerprofileproto121: PlayerProfileProto? = nil - var _evolvePokemonProto125: EvolvePokemonProto? = nil - var _getHatchedEggsProto126: GetHatchedEggsProto? = nil - var _encounterTutorialCompleteProto127: EncounterTutorialCompleteProto? = nil - var _levelUpRewardsProto128: LevelUpRewardsProto? = nil - var _checkAwardedBadgesProto129: CheckAwardedBadgesProto? = nil - var _recycleItemProto137: RecycleItemProto? = nil - var _collectDailyBonusProto138: CollectDailyBonusProto? = nil - var _useItemXpBoostProto139: UseItemXpBoostProto? = nil - var _useItemEggIncubatorProto140: UseItemEggIncubatorProto? = nil - var _useIncenseActionProto141: UseIncenseActionProto? = nil - var _getIncensePokemonProto142: GetIncensePokemonProto? = nil - var _incenseEncounterProto143: IncenseEncounterProto? = nil - var _addFortModifierProto144: AddFortModifierProto? = nil - var _diskEncounterProto145: DiskEncounterProto? = nil - var _upgradePokemonProto147: UpgradePokemonProto? = nil - var _setFavoritePokemonProto148: SetFavoritePokemonProto? = nil - var _nicknamePokemonProto149: NicknamePokemonProto? = nil - var _equipBadgeProto150: EquipBadgeProto? = nil - var _setContactsettingsProto151: SetContactSettingsProto? = nil - var _setBuddyPokemonProto152: SetBuddyPokemonProto? = nil - var _getBuddyWalkedProto153: GetBuddyWalkedProto? = nil - var _useItemEncounterProto154: UseItemEncounterProto? = nil - var _gymDeployProto155: GymDeployProto? = nil - var _gymgetInfoProto156: GymGetInfoProto? = nil - var _gymStartSessionProto157: GymStartSessionProto? = nil - var _gymBattleAttackProto158: GymBattleAttackProto? = nil - var _joinLobbyProto159: JoinLobbyProto? = nil - var _leavelobbyProto160: LeaveLobbyProto? = nil - var _setLobbyVisibilityProto161: SetLobbyVisibilityProto? = nil - var _setLobbyPokemonProto162: SetLobbyPokemonProto? = nil - var _getRaidDetailsProto163: GetRaidDetailsProto? = nil - var _gymFeedPokemonProto164: GymFeedPokemonProto? = nil - var _startRaidBattleProto165: StartRaidBattleProto? = nil - var _attackRaidBattleProto166: AttackRaidBattleProto? = nil - var _useItemStardustBoostProto168: UseItemStardustBoostProto? = nil - var _reassignPlayerProto169: ReassignPlayerProto? = nil - var _convertcandyToXlcandyProto171: ConvertCandyToXlCandyProto? = nil - var _isSkuAvailableProto172: IsSkuAvailableProto? = nil - var _assetDigestRequestProto300: AssetDigestRequestProto? = nil - var _downloadURLRequestProto301: DownloadUrlRequestProto? = nil - var _assetVersionProto302: AssetVersionProto? = nil - var _claimcodenameRequestProto403: ClaimCodenameRequestProto? = nil - var _setAvatarProto404: SetAvatarProto? = nil - var _setPlayerTeamProto405: SetPlayerTeamProto? = nil - var _markTutorialCompleteProto406: MarkTutorialCompleteProto? = nil - var _setNeutralAvatarProto408: SetNeutralAvatarProto? = nil - var _checkchallengeProto600: CheckChallengeProto? = nil - var _verifyChallengeProto601: VerifyChallengeProto? = nil - var _echoProto666: EchoProto? = nil - var _registerSfidarequest800: RegisterSfidaRequest? = nil - var _sfidaCertificationRequest802: SfidaCertificationRequest? = nil - var _sfidaUpdateRequest803: SfidaUpdateRequest? = nil - var _sfidaDowserRequest805: SfidaDowserRequest? = nil - var _sfidaCaptureRequest806: SfidaCaptureRequest? = nil - var _listAvatarCustomizationsProto807: ListAvatarCustomizationsProto? = nil - var _setAvatarItemAsViewedProto808: SetAvatarItemAsViewedProto? = nil - var _getInboxV2Proto809: GetInboxV2Proto? = nil - var _listGymBadgesProto811: ListGymBadgesProto? = nil - var _getgymBadgeDetailsProto812: GetGymBadgeDetailsProto? = nil - var _useItemMoveRerollProto813: UseItemMoveRerollProto? = nil - var _useItemRareCandyProto814: UseItemRareCandyProto? = nil - var _awardFreeRaidTicketProto815: AwardFreeRaidTicketProto? = nil - var _fetchAllNewsProto816: FetchAllNewsProto? = nil - var _markReadNewsArticleProto817: MarkReadNewsArticleProto? = nil - var _getPlayerSettingsProto818: GetPlayerSettingsProto? = nil - var _belugaTransactionStartProto819: BelugaTransactionStartProto? = nil - var _belugaTransactionCompleteProto820: BelugaTransactionCompleteProto? = nil - var _sfidaAssociateRequest822: SfidaAssociateRequest? = nil - var _sfidaCheckPairingRequest823: SfidaCheckPairingRequest? = nil - var _sfidaDisassociateRequest824: SfidaDisassociateRequest? = nil - var _wainaSubmitSleepDataRequest826: WainaSubmitSleepDataRequest? = nil - var _getNewQuestsProto900: GetNewQuestsProto? = nil - var _getQuestDetailsProto901: GetQuestDetailsProto? = nil - var _completeQuestProto902: CompleteQuestProto? = nil - var _removeQuestProto903: RemoveQuestProto? = nil - var _questEncounterProto904: QuestEncounterProto? = nil - var _progressQuestproto906: ProgressQuestProto? = nil - var _sendGiftProto950: SendGiftProto? = nil - var _openGiftProto951: OpenGiftProto? = nil - var _getgiftBoxDetailsProto952: GetGiftBoxDetailsProto? = nil - var _deleteGiftProto953: DeleteGiftProto? = nil - var _savePlayersnapshotProto954: SavePlayerSnapshotProto? = nil - var _checkSendGiftProto956: CheckSendGiftProto? = nil - var _setFriendNicknameProto957: SetFriendNicknameProto? = nil - var _deleteGiftFromInventoryProto958: DeleteGiftFromInventoryProto? = nil - var _savesocialPlayersettingsProto959: SaveSocialPlayerSettingsProto? = nil - var _shareExRaidPassProto960: ShareExRaidPassProto? = nil - var _checkShareExRaidPassProto961: CheckShareExRaidPassProto? = nil - var _declineExRaidPassProto962: DeclineExRaidPassProto? = nil - var _openTradingProto970: OpenTradingProto? = nil - var _updateTradingProto971: UpdateTradingProto? = nil - var _confirmTradingProto972: ConfirmTradingProto? = nil - var _cancelTradingProto973: CancelTradingProto? = nil - var _getTradingProto974: GetTradingProto? = nil - var _getFitnessRewardsProto980: GetFitnessRewardsProto? = nil - var _getCombatPlayerProfileProto990: GetCombatPlayerProfileProto? = nil - var _generateCombatChallengeIDProto991: GenerateCombatChallengeIdProto? = nil - var _createcombatchallengeProto992: CreateCombatChallengeProto? = nil - var _openCombatChallengeProto993: OpenCombatChallengeProto? = nil - var _getCombatChallengeProto994: GetCombatChallengeProto? = nil - var _acceptCombatChallengeProto995: AcceptCombatChallengeProto? = nil - var _declineCombatChallengeProto996: DeclineCombatChallengeProto? = nil - var _cancelcombatchallengeProto997: CancelCombatChallengeProto? = nil - var _submitCombatChallengePokemonsProto998: SubmitCombatChallengePokemonsProto? = nil - var _saveCombatPlayerPreferencesProto999: SaveCombatPlayerPreferencesProto? = nil - var _openCombatSessionProto1000: OpenCombatSessionProto? = nil - var _updateCombatProto1001: UpdateCombatProto? = nil - var _quitCombatProto1002: QuitCombatProto? = nil - var _getCombatResultsProto1003: GetCombatResultsProto? = nil - var _unlockPokemonMoveProto1004: UnlockPokemonMoveProto? = nil - var _getNpcCombatRewardsProto1005: GetNpcCombatRewardsProto? = nil - var _combatFriendRequestProto1006: CombatFriendRequestProto? = nil - var _openNpcCombatSessionProto1007: OpenNpcCombatSessionProto? = nil - var _startTutorialProto1008: StartTutorialProto? = nil - var _getTutorialEggProto1009: GetTutorialEggProto? = nil - var _sendProbeProto1020: SendProbeProto? = nil - var _checkPhotobombProto1101: CheckPhotobombProto? = nil - var _confirmPhotobombProto1102: ConfirmPhotobombProto? = nil - var _getPhotobombProto1103: GetPhotobombProto? = nil - var _encounterPhotobombProto1104: EncounterPhotobombProto? = nil - var _getgmapSettingsProto1105: GetGmapSettingsProto? = nil - var _changeTeamProto1106: ChangeTeamProto? = nil - var _getWebTokenProto1107: GetWebTokenProto? = nil - var _completeSnapshotSessionProto1110: CompleteSnapshotSessionProto? = nil - var _completeWildSnapshotSessionProto1111: CompleteWildSnapshotSessionProto? = nil - var _startIncidentProto1200: StartIncidentProto? = nil - var _completeInvasionDialogueProto1201: CompleteInvasionDialogueProto? = nil - var _openInvasionCombatSessionProto1202: OpenInvasionCombatSessionProto? = nil - var _updateInvasionBattleProto1203: UpdateInvasionBattleProto? = nil - var _invasionEncounterProto1204: InvasionEncounterProto? = nil - var _purifypokemonproto1205: PurifyPokemonProto? = nil - var _getRocketBalloonProto1206: GetRocketBalloonProto? = nil - var _startRocketBalloonIncidentProto1207: StartRocketBalloonIncidentProto? = nil - var _vsSeekerStartMatchmakingProto1300: VsSeekerStartMatchmakingProto? = nil - var _cancelMatchmakingProto1301: CancelMatchmakingProto? = nil - var _getMatchmakingStatusProto1302: GetMatchmakingStatusProto? = nil - var _completeVsSeekerAndRestartchargingProto1303: CompleteVsSeekerAndRestartChargingProto? = nil - var _getVsSeekerStatusProto1304: GetVsSeekerStatusProto? = nil - var _completecompetitiveSeasonProto1305: CompleteCompetitiveSeasonProto? = nil - var _claimVsSeekerRewardsProto1306: ClaimVsSeekerRewardsProto? = nil - var _vsSeekerRewardEncounterProto1307: VsSeekerRewardEncounterProto? = nil - var _activateVsSeekerProto1308: ActivateVsSeekerProto? = nil - var _buddyMapProto1350: BuddyMapProto? = nil - var _buddyStatsProto1351: BuddyStatsProto? = nil - var _buddyFeedingProto1352: BuddyFeedingProto? = nil - var _openBuddyGiftProto1353: OpenBuddyGiftProto? = nil - var _buddyPettingProto1354: BuddyPettingProto? = nil - var _getBuddyHistoryProto1355: GetBuddyHistoryProto? = nil - var _updateRouteDraftProto1400: UpdateRouteDraftProto? = nil - var _getMapFortsProto1401: GetMapFortsProto? = nil - var _submitRouteDraftProto1402: SubmitRouteDraftProto? = nil - var _getPublishedRoutesProto1403: GetPublishedRoutesProto? = nil - var _startRouteProto1404: StartRouteProto? = nil - var _getRoutesProto1405: GetRoutesProto? = nil - var _progressRouteproto1406: ProgressRouteProto? = nil - var _processRouteTappableproto1408: ProcessRouteTappableProto? = nil - var _listRouteBadgesProto1409: ListRouteBadgesProto? = nil - var _cancelRouteProto1410: CancelRouteProto? = nil - var _createBuddyMultiplayerSessionProto1456: CreateBuddyMultiplayerSessionProto? = nil - var _joinBuddyMultiplayerSessionProto1457: JoinBuddyMultiplayerSessionProto? = nil - var _leaveBuddyMultiplayerSessionProto1458: LeaveBuddyMultiplayerSessionProto? = nil - var _getTodayViewProto1501: GetTodayViewProto? = nil - var _megaEvolvePokemonProto1502: MegaEvolvePokemonProto? = nil - var _remoteGiftPingrequestProto1503: RemoteGiftPingRequestProto? = nil - var _sendRaidInvitationProto1504: SendRaidInvitationProto? = nil - var _getDailyEncounterProto1601: GetDailyEncounterProto? = nil - var _dailyEncounterProto1602: DailyEncounterProto? = nil - var _openSponsoredGiftProto1650: OpenSponsoredGiftProto? = nil - var _savePlayerPreferencesProto1652: SavePlayerPreferencesProto? = nil - var _profanityCheckproto1653: ProfanityCheckProto? = nil - var _getTimedgroupChallengeProto1700: GetTimedGroupChallengeProto? = nil - var _getNintendoAccountProto1710: GetNintendoAccountProto? = nil - var _unlinkNintendoAccountProto1711: UnlinkNintendoAccountProto? = nil - var _getNintendoOAuth2URLProto1712: GetNintendoOAuth2UrlProto? = nil - var _transferPokemontoPokemonHomeProto1713: TransferPokemonToPokemonHomeProto? = nil - var _reportAdFeedbackrequest1716: ReportAdFeedbackRequest? = nil - var _createPokemonTagProto1717: CreatePokemonTagProto? = nil - var _deletePokemonTagProto1718: DeletePokemonTagProto? = nil - var _editPokemonTagProto1719: EditPokemonTagProto? = nil - var _setPokemonTagsForPokemonProto1720: SetPokemonTagsForPokemonProto? = nil - var _getPokemonTagsProto1721: GetPokemonTagsProto? = nil - var _changePokemonFormProto1722: ChangePokemonFormProto? = nil - var _chooseGlobalTicketedEventVariantProto1723: ChooseGlobalTicketedEventVariantProto? = nil - var _getReferralCodeProto1800: GetReferralCodeProto? = nil - var _addReferrerProto1801: AddReferrerProto? = nil - var _sendFriendInviteViaReferralCodeProto1802: SendFriendInviteViaReferralCodeProto? = nil - var _getMilestonesProto1803: GetMilestonesProto? = nil - var _markmilestoneAsViewedProto1804: MarkMilestoneAsViewedProto? = nil - var _getMilestonesPreviewProto1805: GetMilestonesPreviewProto? = nil - var _completeMilestoneProto1806: CompleteMilestoneProto? = nil - var _getgeofencedAdProto1820: GetGeofencedAdProto? = nil - var _deletePostcardsProto1909: DeletePostcardsProto? = nil - var _createPostcardProto1910: CreatePostcardProto? = nil - var _updatePostcardProto1911: UpdatePostcardProto? = nil - var _deletePostcardProto1912: DeletePostcardProto? = nil - var _getMementoListProto1913: GetMementoListProto? = nil - var _uploadRaidClientLogProto1914: UploadRaidClientLogProto? = nil - var _checkGiftingEligibilityProto2000: CheckGiftingEligibilityProto? = nil - var _redeemTicketGiftForFriendProto2001: RedeemTicketGiftForFriendProto? = nil - var _getInsenceRecapProto2002: GetInsenceRecapProto? = nil - var _getPokestopEncounterProto2005: GetPokestopEncounterProto? = nil - var _encounterPokestopencounterProto2006: EncounterPokestopEncounterProto? = nil - var _playerSpawnablepokemonproto2007: PlayerSpawnablePokemonProto? = nil - var _sendFriendRequestViaPlayerIDProto2010: SendFriendRequestViaPlayerIdProto? = nil - var _getRaidLobbyCounterProto2011: GetRaidLobbyCounterProto? = nil - var _checkPokemonSizecontestEligibilityProto2100: CheckPokemonSizeContestEligibilityProto? = nil - var _updatePokemonSizeContestEntryProto2101: UpdatePokemonSizeContestEntryProto? = nil - var _getPokemonSizeContestEntryProto2104: GetPokemonSizeContestEntryProto? = nil - var _getContestDataProto2105: GetContestDataProto? = nil - var _getContestsUnclaimedRewardsProto2106: GetContestsUnclaimedRewardsProto? = nil - var _claimcontestsRewardsProto2107: ClaimContestsRewardsProto? = nil - var _getEnteredContestProto2108: GetEnteredContestProto? = nil - var _getVpsEventProto3000: GetVpsEventProto? = nil - var _updateVpsEventProto3001: UpdateVpsEventProto? = nil - var _pushNotificationRegistryproto5000: PushNotificationRegistryProto? = nil - var _updateNotificationProto5002: UpdateNotificationProto? = nil - var _optProto5003: OptProto? = nil - var _downloadGmTemplatesRequestProto5004: DownloadGmTemplatesRequestProto? = nil - var _getInventoryProto5005: GetInventoryProto? = nil - var _redeemPasscoderequestProto5006: RedeemPasscodeRequestProto? = nil - var _pingRequestproto5007: PingRequestProto? = nil - var _addLoginactionProto5008: AddLoginActionProto? = nil - var _removeLoginActionProto5009: RemoveLoginActionProto? = nil - var _listloginActionProto5010: ListLoginActionProto? = nil - var _submitNewPoiProto5011: SubmitNewPoiProto? = nil - var _proxyRequestproto5012: ProxyRequestProto? = nil - var _getAvailableSubmissionsProto5014: GetAvailableSubmissionsProto? = nil - var _replaceLoginActionProto5015: ReplaceLoginActionProto? = nil - var _clientTelemetryBatchProto5018: ClientTelemetryBatchProto? = nil - var _purchaseSkuproto5019: PurchaseSkuProto? = nil - var _getAvailableSkusAndBalancesProto5020: GetAvailableSkusAndBalancesProto? = nil - var _redeemGooglereceiptProto5021: RedeemGoogleReceiptProto? = nil - var _redeemApplereceiptProto5022: RedeemAppleReceiptProto? = nil - var _redeemDesktopreceiptProto5023: RedeemDesktopReceiptProto? = nil - var _fitnessUpdateProto5024: FitnessUpdateProto? = nil - var _getFitnessReportProto5025: GetFitnessReportProto? = nil - var _clientTelemetrySettingsRequestProto5026: ClientTelemetrySettingsRequestProto? = nil - var _registerBackgroundServicerequestProto5028: RegisterBackgroundServiceRequestProto? = nil - var _setInGameCurrencyExchangeRateProto5032: SetInGameCurrencyExchangeRateProto? = nil - var _geofenceUpdateProto5033: GeofenceUpdateProto? = nil - var _locationPingProto5034: LocationPingProto? = nil - var _generategmapSignedURLProto5035: GenerateGmapSignedUrlProto? = nil - var _getgmapSettingsProto5036: GetGmapSettingsProto? = nil - var _redeemSamsungreceiptProto5037: RedeemSamsungReceiptProto? = nil - var _submitPoiImageProto5041: SubmitPoiImageProto? = nil - var _submitPoiTextMetadataUpdateProto5042: SubmitPoiTextMetadataUpdateProto? = nil - var _submitPoiLocationUpdateProto5043: SubmitPoiLocationUpdateProto? = nil - var _submitPoiTakedownRequestProto5044: SubmitPoiTakedownRequestProto? = nil - var _getWebTokenProto5045: GetWebTokenProto? = nil - var _getAdventureSyncSettingsRequestProto5046: GetAdventureSyncSettingsRequestProto? = nil - var _updateAdventureSyncSettingsRequestProto5047: UpdateAdventureSyncSettingsRequestProto? = nil - var _searchPlayerProto10000: SearchPlayerProto? = nil - var _sendFriendInviteProto10002: SendFriendInviteProto? = nil - var _cancelFriendInviteProto10003: CancelFriendInviteProto? = nil - var _acceptFriendInviteProto10004: AcceptFriendInviteProto? = nil - var _declineFriendInviteProto10005: DeclineFriendInviteProto? = nil - var _getFriendsListProto10006: GetFriendsListProto? = nil - var _getOutgoingFriendInvitesProto10007: GetOutgoingFriendInvitesProto? = nil - var _getIncomingFriendInvitesProto10008: GetIncomingFriendInvitesProto? = nil - var _removeFriendProto10009: RemoveFriendProto? = nil - var _getFriendDetailsProto10010: GetFriendDetailsProto? = nil - var _inviteFacebookFriendProto10011: InviteFacebookFriendProto? = nil - var _isMyFriendProto10012: IsMyFriendProto? = nil - var _getFriendCodeProto10013: GetFriendCodeProto? = nil - var _getFacebookFriendListProto10014: GetFacebookFriendListProto? = nil - var _updateFacebookStatusProto10015: UpdateFacebookStatusProto? = nil - var _savesocialPlayersettingsProto10016: SaveSocialPlayerSettingsProto? = nil - var _getPlayerSettingsProto10017: GetPlayerSettingsProto? = nil - var _setAccountsettingsProto10021: SetAccountSettingsProto? = nil - var _getAccountSettingsProto10022: GetAccountSettingsProto? = nil - var _addFavoriteFriendRequest10023: AddFavoriteFriendRequest? = nil - var _removeFavoriteFriendrequest10024: RemoveFavoriteFriendRequest? = nil - var _blockAccountProto10025: BlockAccountProto? = nil - var _unblockAccountProto10026: UnblockAccountProto? = nil - var _getOutgoingBlocksProto10027: GetOutgoingBlocksProto? = nil - var _isAccountBlockedProto10028: IsAccountBlockedProto? = nil - var _pushNotificationRegistryproto10101: PushNotificationRegistryProto? = nil - var _updateNotificationProto10103: UpdateNotificationProto? = nil - var _optProto10104: OptProto? = nil - var _getInboxV2Proto10105: GetInboxV2Proto? = nil - var _getSignedURLProto10201: GetSignedUrlProto? = nil - var _submitImageProto10202: SubmitImageProto? = nil - var _getPhotosProto10203: GetPhotosProto? = nil - var _deletePhotoProto10204: DeletePhotoProto? = nil - var _flagPhotoRequest10205: FlagPhotoRequest? = nil - var _updateProfileRequest20001: UpdateProfileRequest? = nil - var _updateFriendshipRequest20002: UpdateFriendshipRequest? = nil - var _getProfileRequest20003: GetProfileRequest? = nil - var _inviteGameRequest20004: InviteGameRequest? = nil - var _listFriendsRequest20006: ListFriendsRequest? = nil - var _getFriendDetailsProto20007: GetFriendDetailsProto? = nil - var _getClientFeatureFlagsRequest20008: GetClientFeatureFlagsRequest? = nil - var _getIncominggameInvitesRequest20010: GetIncomingGameInvitesRequest? = nil - var _updateIncomingGameInviteRequest20011: UpdateIncomingGameInviteRequest? = nil - var _dismissOutgoingGameInvitesRequest20012: DismissOutgoingGameInvitesRequest? = nil - var _syncContactListRequest20013: SyncContactListRequest? = nil - var _sendContactListFriendInviteRequest20014: SendContactListFriendInviteRequest? = nil - var _referContactListFriendrequest20015: ReferContactListFriendRequest? = nil - var _getContactListInfoRequest20016: GetContactListInfoRequest? = nil - var _dismissContactListUpdateRequest20017: DismissContactListUpdateRequest? = nil - var _notifyContactListFriendsRequest20018: NotifyContactListFriendsRequest? = nil - var _getFriendRecommendationRequest20500: GetFriendRecommendationRequest? = nil - var _registerBackgroundServicerequestProto230000: RegisterBackgroundServiceRequestProto? = nil - var _getAdventureSyncProgressProto230002: GetAdventureSyncProgressProto? = nil - var _purchaseSkuproto310000: PurchaseSkuProto? = nil - var _getAvailableSkusAndBalancesProto310001: GetAvailableSkusAndBalancesProto? = nil - var _setInGameCurrencyExchangeRateProto310002: SetInGameCurrencyExchangeRateProto? = nil - var _redeemGooglereceiptProto310100: RedeemGoogleReceiptProto? = nil - var _redeemApplereceiptProto310101: RedeemAppleReceiptProto? = nil - var _redeemDesktopreceiptProto310102: RedeemDesktopReceiptProto? = nil - var _redeemSamsungreceiptProto310103: RedeemSamsungReceiptProto? = nil - var _getAvailableSubscriptionsRequestProto310200: GetAvailableSubscriptionsRequestProto? = nil - var _getActiveSubscriptionsRequestProto310201: GetActiveSubscriptionsRequestProto? = nil - var _geofenceUpdateProto360000: GeofenceUpdateProto? = nil - var _locationPingProto360001: LocationPingProto? = nil - var _updateBreadcrumbHistoryRequestProto361000: UpdateBreadcrumbHistoryRequestProto? = nil - var _refreshProximityTokensrequestProto362000: RefreshProximityTokensRequestProto? = nil - var _reportProximityContactsrequestProto362001: ReportProximityContactsRequestProto? = nil - var _getgameAccessTokenProto600005: GetGameAccessTokenProto? = nil - var _submitNewPoiProto620000: SubmitNewPoiProto? = nil - var _getAvailableSubmissionsProto620001: GetAvailableSubmissionsProto? = nil - var _getPlayerSubmissionValidationSettingsProto620003: GetPlayerSubmissionValidationSettingsProto? = nil - var _submitPoiImageProto620100: SubmitPoiImageProto? = nil - var _submitPoiTextMetadataUpdateProto620101: SubmitPoiTextMetadataUpdateProto? = nil - var _submitPoiLocationUpdateProto620102: SubmitPoiLocationUpdateProto? = nil - var _submitPoiTakedownRequestProto620103: SubmitPoiTakedownRequestProto? = nil - var _submitsponsorPoiReportProto620104: SubmitSponsorPoiReportProto? = nil - var _submitsponsorPoiLocationUpdateProto620105: SubmitSponsorPoiLocationUpdateProto? = nil - var _submitPoiCategoryVoteRecordProto620106: SubmitPoiCategoryVoteRecordProto? = nil - var _generategmapSignedURLProto620300: GenerateGmapSignedUrlProto? = nil - var _getgmapSettingsProto620301: GetGmapSettingsProto? = nil - var _poiVideoSubmissionMetadataproto620400: PoiVideoSubmissionMetadataProto? = nil - var _getgrapeshotUploadURLProto620401: GetGrapeshotUploadUrlProto? = nil - var _asyncFileUploadCompleteProto620402: AsyncFileUploadCompleteProto? = nil - var _getARMappingSettingsProto620403: GetARMappingSettingsProto? = nil - var _getImagesForPoiProto620500: GetImagesForPoiProto? = nil - var _submitPlayerImageVoteForPoiProto620501: SubmitPlayerImageVoteForPoiProto? = nil - var _getImagegallerySettingsProto620502: GetImageGallerySettingsProto? = nil - var _getMapDataProto620600: GetMapDataProto? = nil - var _getPoisInRadiusProto620601: GetPoisInRadiusProto? = nil - var _fitnessUpdateProto640000: FitnessUpdateProto? = nil - var _getFitnessReportProto640001: GetFitnessReportProto? = nil - var _getAdventureSyncSettingsRequestProto640002: GetAdventureSyncSettingsRequestProto? = nil - var _updateAdventureSyncSettingsRequestProto640003: UpdateAdventureSyncSettingsRequestProto? = nil - var _updateAdventureSyncFitnessRequestProto640004: UpdateAdventureSyncFitnessRequestProto? = nil - var _getAdventureSyncFitnessReportRequestProto640005: GetAdventureSyncFitnessReportRequestProto? = nil + var _id: Int32 = 0 + var _anchor: Int32 = 0 + var _timestamp: Double = 0 + var _camera: ARDKCameraParamsProto? = nil + var _transform: ARDKAffineTransformProto? = nil + var _exposure: ARDKExposureInfoProto? = nil + var _range: ARDKDepthRangeProto? = nil + var _quality: Float = 0 + var _isLargeImage: Bool = false + var _trackingState: Int32 = 0 static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _getPlayerProto2 = source._getPlayerProto2 - _getHoloholoInventoryProto4 = source._getHoloholoInventoryProto4 - _downloadSettingsActionProto5 = source._downloadSettingsActionProto5 - _getgameMasterClientTemplatesProto6 = source._getgameMasterClientTemplatesProto6 - _getRemoteConfigVersionsProto7 = source._getRemoteConfigVersionsProto7 - _registerBackgroundDeviceActionProto8 = source._registerBackgroundDeviceActionProto8 - _getPlayerDayProto9 = source._getPlayerDayProto9 - _acknowledgePunishmentProto10 = source._acknowledgePunishmentProto10 - _getServerTimeProto11 = source._getServerTimeProto11 - _getLocalTimeProto12 = source._getLocalTimeProto12 - _fortSearchProto101 = source._fortSearchProto101 - _encounterProto102 = source._encounterProto102 - _catchPokemonProto103 = source._catchPokemonProto103 - _fortDetailsProto104 = source._fortDetailsProto104 - _getMapObjectsProto106 = source._getMapObjectsProto106 - _fortDeployProto110 = source._fortDeployProto110 - _fortRecallProto111 = source._fortRecallProto111 - _releasePokemonProto112 = source._releasePokemonProto112 - _useItemPotionProto113 = source._useItemPotionProto113 - _useItemCaptureProto114 = source._useItemCaptureProto114 - _useItemReviveProto116 = source._useItemReviveProto116 - _playerprofileproto121 = source._playerprofileproto121 - _evolvePokemonProto125 = source._evolvePokemonProto125 - _getHatchedEggsProto126 = source._getHatchedEggsProto126 - _encounterTutorialCompleteProto127 = source._encounterTutorialCompleteProto127 - _levelUpRewardsProto128 = source._levelUpRewardsProto128 - _checkAwardedBadgesProto129 = source._checkAwardedBadgesProto129 - _recycleItemProto137 = source._recycleItemProto137 - _collectDailyBonusProto138 = source._collectDailyBonusProto138 - _useItemXpBoostProto139 = source._useItemXpBoostProto139 - _useItemEggIncubatorProto140 = source._useItemEggIncubatorProto140 - _useIncenseActionProto141 = source._useIncenseActionProto141 - _getIncensePokemonProto142 = source._getIncensePokemonProto142 - _incenseEncounterProto143 = source._incenseEncounterProto143 - _addFortModifierProto144 = source._addFortModifierProto144 - _diskEncounterProto145 = source._diskEncounterProto145 - _upgradePokemonProto147 = source._upgradePokemonProto147 - _setFavoritePokemonProto148 = source._setFavoritePokemonProto148 - _nicknamePokemonProto149 = source._nicknamePokemonProto149 - _equipBadgeProto150 = source._equipBadgeProto150 - _setContactsettingsProto151 = source._setContactsettingsProto151 - _setBuddyPokemonProto152 = source._setBuddyPokemonProto152 - _getBuddyWalkedProto153 = source._getBuddyWalkedProto153 - _useItemEncounterProto154 = source._useItemEncounterProto154 - _gymDeployProto155 = source._gymDeployProto155 - _gymgetInfoProto156 = source._gymgetInfoProto156 - _gymStartSessionProto157 = source._gymStartSessionProto157 - _gymBattleAttackProto158 = source._gymBattleAttackProto158 - _joinLobbyProto159 = source._joinLobbyProto159 - _leavelobbyProto160 = source._leavelobbyProto160 - _setLobbyVisibilityProto161 = source._setLobbyVisibilityProto161 - _setLobbyPokemonProto162 = source._setLobbyPokemonProto162 - _getRaidDetailsProto163 = source._getRaidDetailsProto163 - _gymFeedPokemonProto164 = source._gymFeedPokemonProto164 - _startRaidBattleProto165 = source._startRaidBattleProto165 - _attackRaidBattleProto166 = source._attackRaidBattleProto166 - _useItemStardustBoostProto168 = source._useItemStardustBoostProto168 - _reassignPlayerProto169 = source._reassignPlayerProto169 - _convertcandyToXlcandyProto171 = source._convertcandyToXlcandyProto171 - _isSkuAvailableProto172 = source._isSkuAvailableProto172 - _assetDigestRequestProto300 = source._assetDigestRequestProto300 - _downloadURLRequestProto301 = source._downloadURLRequestProto301 - _assetVersionProto302 = source._assetVersionProto302 - _claimcodenameRequestProto403 = source._claimcodenameRequestProto403 - _setAvatarProto404 = source._setAvatarProto404 - _setPlayerTeamProto405 = source._setPlayerTeamProto405 - _markTutorialCompleteProto406 = source._markTutorialCompleteProto406 - _setNeutralAvatarProto408 = source._setNeutralAvatarProto408 - _checkchallengeProto600 = source._checkchallengeProto600 - _verifyChallengeProto601 = source._verifyChallengeProto601 - _echoProto666 = source._echoProto666 - _registerSfidarequest800 = source._registerSfidarequest800 - _sfidaCertificationRequest802 = source._sfidaCertificationRequest802 - _sfidaUpdateRequest803 = source._sfidaUpdateRequest803 - _sfidaDowserRequest805 = source._sfidaDowserRequest805 - _sfidaCaptureRequest806 = source._sfidaCaptureRequest806 - _listAvatarCustomizationsProto807 = source._listAvatarCustomizationsProto807 - _setAvatarItemAsViewedProto808 = source._setAvatarItemAsViewedProto808 - _getInboxV2Proto809 = source._getInboxV2Proto809 - _listGymBadgesProto811 = source._listGymBadgesProto811 - _getgymBadgeDetailsProto812 = source._getgymBadgeDetailsProto812 - _useItemMoveRerollProto813 = source._useItemMoveRerollProto813 - _useItemRareCandyProto814 = source._useItemRareCandyProto814 - _awardFreeRaidTicketProto815 = source._awardFreeRaidTicketProto815 - _fetchAllNewsProto816 = source._fetchAllNewsProto816 - _markReadNewsArticleProto817 = source._markReadNewsArticleProto817 - _getPlayerSettingsProto818 = source._getPlayerSettingsProto818 - _belugaTransactionStartProto819 = source._belugaTransactionStartProto819 - _belugaTransactionCompleteProto820 = source._belugaTransactionCompleteProto820 - _sfidaAssociateRequest822 = source._sfidaAssociateRequest822 - _sfidaCheckPairingRequest823 = source._sfidaCheckPairingRequest823 - _sfidaDisassociateRequest824 = source._sfidaDisassociateRequest824 - _wainaSubmitSleepDataRequest826 = source._wainaSubmitSleepDataRequest826 - _getNewQuestsProto900 = source._getNewQuestsProto900 - _getQuestDetailsProto901 = source._getQuestDetailsProto901 - _completeQuestProto902 = source._completeQuestProto902 - _removeQuestProto903 = source._removeQuestProto903 - _questEncounterProto904 = source._questEncounterProto904 - _progressQuestproto906 = source._progressQuestproto906 - _sendGiftProto950 = source._sendGiftProto950 - _openGiftProto951 = source._openGiftProto951 - _getgiftBoxDetailsProto952 = source._getgiftBoxDetailsProto952 - _deleteGiftProto953 = source._deleteGiftProto953 - _savePlayersnapshotProto954 = source._savePlayersnapshotProto954 - _checkSendGiftProto956 = source._checkSendGiftProto956 - _setFriendNicknameProto957 = source._setFriendNicknameProto957 - _deleteGiftFromInventoryProto958 = source._deleteGiftFromInventoryProto958 - _savesocialPlayersettingsProto959 = source._savesocialPlayersettingsProto959 - _shareExRaidPassProto960 = source._shareExRaidPassProto960 - _checkShareExRaidPassProto961 = source._checkShareExRaidPassProto961 - _declineExRaidPassProto962 = source._declineExRaidPassProto962 - _openTradingProto970 = source._openTradingProto970 - _updateTradingProto971 = source._updateTradingProto971 - _confirmTradingProto972 = source._confirmTradingProto972 - _cancelTradingProto973 = source._cancelTradingProto973 - _getTradingProto974 = source._getTradingProto974 - _getFitnessRewardsProto980 = source._getFitnessRewardsProto980 - _getCombatPlayerProfileProto990 = source._getCombatPlayerProfileProto990 - _generateCombatChallengeIDProto991 = source._generateCombatChallengeIDProto991 - _createcombatchallengeProto992 = source._createcombatchallengeProto992 - _openCombatChallengeProto993 = source._openCombatChallengeProto993 - _getCombatChallengeProto994 = source._getCombatChallengeProto994 - _acceptCombatChallengeProto995 = source._acceptCombatChallengeProto995 - _declineCombatChallengeProto996 = source._declineCombatChallengeProto996 - _cancelcombatchallengeProto997 = source._cancelcombatchallengeProto997 - _submitCombatChallengePokemonsProto998 = source._submitCombatChallengePokemonsProto998 - _saveCombatPlayerPreferencesProto999 = source._saveCombatPlayerPreferencesProto999 - _openCombatSessionProto1000 = source._openCombatSessionProto1000 - _updateCombatProto1001 = source._updateCombatProto1001 - _quitCombatProto1002 = source._quitCombatProto1002 - _getCombatResultsProto1003 = source._getCombatResultsProto1003 - _unlockPokemonMoveProto1004 = source._unlockPokemonMoveProto1004 - _getNpcCombatRewardsProto1005 = source._getNpcCombatRewardsProto1005 - _combatFriendRequestProto1006 = source._combatFriendRequestProto1006 - _openNpcCombatSessionProto1007 = source._openNpcCombatSessionProto1007 - _startTutorialProto1008 = source._startTutorialProto1008 - _getTutorialEggProto1009 = source._getTutorialEggProto1009 - _sendProbeProto1020 = source._sendProbeProto1020 - _checkPhotobombProto1101 = source._checkPhotobombProto1101 - _confirmPhotobombProto1102 = source._confirmPhotobombProto1102 - _getPhotobombProto1103 = source._getPhotobombProto1103 - _encounterPhotobombProto1104 = source._encounterPhotobombProto1104 - _getgmapSettingsProto1105 = source._getgmapSettingsProto1105 - _changeTeamProto1106 = source._changeTeamProto1106 - _getWebTokenProto1107 = source._getWebTokenProto1107 - _completeSnapshotSessionProto1110 = source._completeSnapshotSessionProto1110 - _completeWildSnapshotSessionProto1111 = source._completeWildSnapshotSessionProto1111 - _startIncidentProto1200 = source._startIncidentProto1200 - _completeInvasionDialogueProto1201 = source._completeInvasionDialogueProto1201 - _openInvasionCombatSessionProto1202 = source._openInvasionCombatSessionProto1202 - _updateInvasionBattleProto1203 = source._updateInvasionBattleProto1203 - _invasionEncounterProto1204 = source._invasionEncounterProto1204 - _purifypokemonproto1205 = source._purifypokemonproto1205 - _getRocketBalloonProto1206 = source._getRocketBalloonProto1206 - _startRocketBalloonIncidentProto1207 = source._startRocketBalloonIncidentProto1207 - _vsSeekerStartMatchmakingProto1300 = source._vsSeekerStartMatchmakingProto1300 - _cancelMatchmakingProto1301 = source._cancelMatchmakingProto1301 - _getMatchmakingStatusProto1302 = source._getMatchmakingStatusProto1302 - _completeVsSeekerAndRestartchargingProto1303 = source._completeVsSeekerAndRestartchargingProto1303 - _getVsSeekerStatusProto1304 = source._getVsSeekerStatusProto1304 - _completecompetitiveSeasonProto1305 = source._completecompetitiveSeasonProto1305 - _claimVsSeekerRewardsProto1306 = source._claimVsSeekerRewardsProto1306 - _vsSeekerRewardEncounterProto1307 = source._vsSeekerRewardEncounterProto1307 - _activateVsSeekerProto1308 = source._activateVsSeekerProto1308 - _buddyMapProto1350 = source._buddyMapProto1350 - _buddyStatsProto1351 = source._buddyStatsProto1351 - _buddyFeedingProto1352 = source._buddyFeedingProto1352 - _openBuddyGiftProto1353 = source._openBuddyGiftProto1353 - _buddyPettingProto1354 = source._buddyPettingProto1354 - _getBuddyHistoryProto1355 = source._getBuddyHistoryProto1355 - _updateRouteDraftProto1400 = source._updateRouteDraftProto1400 - _getMapFortsProto1401 = source._getMapFortsProto1401 - _submitRouteDraftProto1402 = source._submitRouteDraftProto1402 - _getPublishedRoutesProto1403 = source._getPublishedRoutesProto1403 - _startRouteProto1404 = source._startRouteProto1404 - _getRoutesProto1405 = source._getRoutesProto1405 - _progressRouteproto1406 = source._progressRouteproto1406 - _processRouteTappableproto1408 = source._processRouteTappableproto1408 - _listRouteBadgesProto1409 = source._listRouteBadgesProto1409 - _cancelRouteProto1410 = source._cancelRouteProto1410 - _createBuddyMultiplayerSessionProto1456 = source._createBuddyMultiplayerSessionProto1456 - _joinBuddyMultiplayerSessionProto1457 = source._joinBuddyMultiplayerSessionProto1457 - _leaveBuddyMultiplayerSessionProto1458 = source._leaveBuddyMultiplayerSessionProto1458 - _getTodayViewProto1501 = source._getTodayViewProto1501 - _megaEvolvePokemonProto1502 = source._megaEvolvePokemonProto1502 - _remoteGiftPingrequestProto1503 = source._remoteGiftPingrequestProto1503 - _sendRaidInvitationProto1504 = source._sendRaidInvitationProto1504 - _getDailyEncounterProto1601 = source._getDailyEncounterProto1601 - _dailyEncounterProto1602 = source._dailyEncounterProto1602 - _openSponsoredGiftProto1650 = source._openSponsoredGiftProto1650 - _savePlayerPreferencesProto1652 = source._savePlayerPreferencesProto1652 - _profanityCheckproto1653 = source._profanityCheckproto1653 - _getTimedgroupChallengeProto1700 = source._getTimedgroupChallengeProto1700 - _getNintendoAccountProto1710 = source._getNintendoAccountProto1710 - _unlinkNintendoAccountProto1711 = source._unlinkNintendoAccountProto1711 - _getNintendoOAuth2URLProto1712 = source._getNintendoOAuth2URLProto1712 - _transferPokemontoPokemonHomeProto1713 = source._transferPokemontoPokemonHomeProto1713 - _reportAdFeedbackrequest1716 = source._reportAdFeedbackrequest1716 - _createPokemonTagProto1717 = source._createPokemonTagProto1717 - _deletePokemonTagProto1718 = source._deletePokemonTagProto1718 - _editPokemonTagProto1719 = source._editPokemonTagProto1719 - _setPokemonTagsForPokemonProto1720 = source._setPokemonTagsForPokemonProto1720 - _getPokemonTagsProto1721 = source._getPokemonTagsProto1721 - _changePokemonFormProto1722 = source._changePokemonFormProto1722 - _chooseGlobalTicketedEventVariantProto1723 = source._chooseGlobalTicketedEventVariantProto1723 - _getReferralCodeProto1800 = source._getReferralCodeProto1800 - _addReferrerProto1801 = source._addReferrerProto1801 - _sendFriendInviteViaReferralCodeProto1802 = source._sendFriendInviteViaReferralCodeProto1802 - _getMilestonesProto1803 = source._getMilestonesProto1803 - _markmilestoneAsViewedProto1804 = source._markmilestoneAsViewedProto1804 - _getMilestonesPreviewProto1805 = source._getMilestonesPreviewProto1805 - _completeMilestoneProto1806 = source._completeMilestoneProto1806 - _getgeofencedAdProto1820 = source._getgeofencedAdProto1820 - _deletePostcardsProto1909 = source._deletePostcardsProto1909 - _createPostcardProto1910 = source._createPostcardProto1910 - _updatePostcardProto1911 = source._updatePostcardProto1911 - _deletePostcardProto1912 = source._deletePostcardProto1912 - _getMementoListProto1913 = source._getMementoListProto1913 - _uploadRaidClientLogProto1914 = source._uploadRaidClientLogProto1914 - _checkGiftingEligibilityProto2000 = source._checkGiftingEligibilityProto2000 - _redeemTicketGiftForFriendProto2001 = source._redeemTicketGiftForFriendProto2001 - _getInsenceRecapProto2002 = source._getInsenceRecapProto2002 - _getPokestopEncounterProto2005 = source._getPokestopEncounterProto2005 - _encounterPokestopencounterProto2006 = source._encounterPokestopencounterProto2006 - _playerSpawnablepokemonproto2007 = source._playerSpawnablepokemonproto2007 - _sendFriendRequestViaPlayerIDProto2010 = source._sendFriendRequestViaPlayerIDProto2010 - _getRaidLobbyCounterProto2011 = source._getRaidLobbyCounterProto2011 - _checkPokemonSizecontestEligibilityProto2100 = source._checkPokemonSizecontestEligibilityProto2100 - _updatePokemonSizeContestEntryProto2101 = source._updatePokemonSizeContestEntryProto2101 - _getPokemonSizeContestEntryProto2104 = source._getPokemonSizeContestEntryProto2104 - _getContestDataProto2105 = source._getContestDataProto2105 - _getContestsUnclaimedRewardsProto2106 = source._getContestsUnclaimedRewardsProto2106 - _claimcontestsRewardsProto2107 = source._claimcontestsRewardsProto2107 - _getEnteredContestProto2108 = source._getEnteredContestProto2108 - _getVpsEventProto3000 = source._getVpsEventProto3000 - _updateVpsEventProto3001 = source._updateVpsEventProto3001 - _pushNotificationRegistryproto5000 = source._pushNotificationRegistryproto5000 - _updateNotificationProto5002 = source._updateNotificationProto5002 - _optProto5003 = source._optProto5003 - _downloadGmTemplatesRequestProto5004 = source._downloadGmTemplatesRequestProto5004 - _getInventoryProto5005 = source._getInventoryProto5005 - _redeemPasscoderequestProto5006 = source._redeemPasscoderequestProto5006 - _pingRequestproto5007 = source._pingRequestproto5007 - _addLoginactionProto5008 = source._addLoginactionProto5008 - _removeLoginActionProto5009 = source._removeLoginActionProto5009 - _listloginActionProto5010 = source._listloginActionProto5010 - _submitNewPoiProto5011 = source._submitNewPoiProto5011 - _proxyRequestproto5012 = source._proxyRequestproto5012 - _getAvailableSubmissionsProto5014 = source._getAvailableSubmissionsProto5014 - _replaceLoginActionProto5015 = source._replaceLoginActionProto5015 - _clientTelemetryBatchProto5018 = source._clientTelemetryBatchProto5018 - _purchaseSkuproto5019 = source._purchaseSkuproto5019 - _getAvailableSkusAndBalancesProto5020 = source._getAvailableSkusAndBalancesProto5020 - _redeemGooglereceiptProto5021 = source._redeemGooglereceiptProto5021 - _redeemApplereceiptProto5022 = source._redeemApplereceiptProto5022 - _redeemDesktopreceiptProto5023 = source._redeemDesktopreceiptProto5023 - _fitnessUpdateProto5024 = source._fitnessUpdateProto5024 - _getFitnessReportProto5025 = source._getFitnessReportProto5025 - _clientTelemetrySettingsRequestProto5026 = source._clientTelemetrySettingsRequestProto5026 - _registerBackgroundServicerequestProto5028 = source._registerBackgroundServicerequestProto5028 - _setInGameCurrencyExchangeRateProto5032 = source._setInGameCurrencyExchangeRateProto5032 - _geofenceUpdateProto5033 = source._geofenceUpdateProto5033 - _locationPingProto5034 = source._locationPingProto5034 - _generategmapSignedURLProto5035 = source._generategmapSignedURLProto5035 - _getgmapSettingsProto5036 = source._getgmapSettingsProto5036 - _redeemSamsungreceiptProto5037 = source._redeemSamsungreceiptProto5037 - _submitPoiImageProto5041 = source._submitPoiImageProto5041 - _submitPoiTextMetadataUpdateProto5042 = source._submitPoiTextMetadataUpdateProto5042 - _submitPoiLocationUpdateProto5043 = source._submitPoiLocationUpdateProto5043 - _submitPoiTakedownRequestProto5044 = source._submitPoiTakedownRequestProto5044 - _getWebTokenProto5045 = source._getWebTokenProto5045 - _getAdventureSyncSettingsRequestProto5046 = source._getAdventureSyncSettingsRequestProto5046 - _updateAdventureSyncSettingsRequestProto5047 = source._updateAdventureSyncSettingsRequestProto5047 - _searchPlayerProto10000 = source._searchPlayerProto10000 - _sendFriendInviteProto10002 = source._sendFriendInviteProto10002 - _cancelFriendInviteProto10003 = source._cancelFriendInviteProto10003 - _acceptFriendInviteProto10004 = source._acceptFriendInviteProto10004 - _declineFriendInviteProto10005 = source._declineFriendInviteProto10005 - _getFriendsListProto10006 = source._getFriendsListProto10006 - _getOutgoingFriendInvitesProto10007 = source._getOutgoingFriendInvitesProto10007 - _getIncomingFriendInvitesProto10008 = source._getIncomingFriendInvitesProto10008 - _removeFriendProto10009 = source._removeFriendProto10009 - _getFriendDetailsProto10010 = source._getFriendDetailsProto10010 - _inviteFacebookFriendProto10011 = source._inviteFacebookFriendProto10011 - _isMyFriendProto10012 = source._isMyFriendProto10012 - _getFriendCodeProto10013 = source._getFriendCodeProto10013 - _getFacebookFriendListProto10014 = source._getFacebookFriendListProto10014 - _updateFacebookStatusProto10015 = source._updateFacebookStatusProto10015 - _savesocialPlayersettingsProto10016 = source._savesocialPlayersettingsProto10016 - _getPlayerSettingsProto10017 = source._getPlayerSettingsProto10017 - _setAccountsettingsProto10021 = source._setAccountsettingsProto10021 - _getAccountSettingsProto10022 = source._getAccountSettingsProto10022 - _addFavoriteFriendRequest10023 = source._addFavoriteFriendRequest10023 - _removeFavoriteFriendrequest10024 = source._removeFavoriteFriendrequest10024 - _blockAccountProto10025 = source._blockAccountProto10025 - _unblockAccountProto10026 = source._unblockAccountProto10026 - _getOutgoingBlocksProto10027 = source._getOutgoingBlocksProto10027 - _isAccountBlockedProto10028 = source._isAccountBlockedProto10028 - _pushNotificationRegistryproto10101 = source._pushNotificationRegistryproto10101 - _updateNotificationProto10103 = source._updateNotificationProto10103 - _optProto10104 = source._optProto10104 - _getInboxV2Proto10105 = source._getInboxV2Proto10105 - _getSignedURLProto10201 = source._getSignedURLProto10201 - _submitImageProto10202 = source._submitImageProto10202 - _getPhotosProto10203 = source._getPhotosProto10203 - _deletePhotoProto10204 = source._deletePhotoProto10204 - _flagPhotoRequest10205 = source._flagPhotoRequest10205 - _updateProfileRequest20001 = source._updateProfileRequest20001 - _updateFriendshipRequest20002 = source._updateFriendshipRequest20002 - _getProfileRequest20003 = source._getProfileRequest20003 - _inviteGameRequest20004 = source._inviteGameRequest20004 - _listFriendsRequest20006 = source._listFriendsRequest20006 - _getFriendDetailsProto20007 = source._getFriendDetailsProto20007 - _getClientFeatureFlagsRequest20008 = source._getClientFeatureFlagsRequest20008 - _getIncominggameInvitesRequest20010 = source._getIncominggameInvitesRequest20010 - _updateIncomingGameInviteRequest20011 = source._updateIncomingGameInviteRequest20011 - _dismissOutgoingGameInvitesRequest20012 = source._dismissOutgoingGameInvitesRequest20012 - _syncContactListRequest20013 = source._syncContactListRequest20013 - _sendContactListFriendInviteRequest20014 = source._sendContactListFriendInviteRequest20014 - _referContactListFriendrequest20015 = source._referContactListFriendrequest20015 - _getContactListInfoRequest20016 = source._getContactListInfoRequest20016 - _dismissContactListUpdateRequest20017 = source._dismissContactListUpdateRequest20017 - _notifyContactListFriendsRequest20018 = source._notifyContactListFriendsRequest20018 - _getFriendRecommendationRequest20500 = source._getFriendRecommendationRequest20500 - _registerBackgroundServicerequestProto230000 = source._registerBackgroundServicerequestProto230000 - _getAdventureSyncProgressProto230002 = source._getAdventureSyncProgressProto230002 - _purchaseSkuproto310000 = source._purchaseSkuproto310000 - _getAvailableSkusAndBalancesProto310001 = source._getAvailableSkusAndBalancesProto310001 - _setInGameCurrencyExchangeRateProto310002 = source._setInGameCurrencyExchangeRateProto310002 - _redeemGooglereceiptProto310100 = source._redeemGooglereceiptProto310100 - _redeemApplereceiptProto310101 = source._redeemApplereceiptProto310101 - _redeemDesktopreceiptProto310102 = source._redeemDesktopreceiptProto310102 - _redeemSamsungreceiptProto310103 = source._redeemSamsungreceiptProto310103 - _getAvailableSubscriptionsRequestProto310200 = source._getAvailableSubscriptionsRequestProto310200 - _getActiveSubscriptionsRequestProto310201 = source._getActiveSubscriptionsRequestProto310201 - _geofenceUpdateProto360000 = source._geofenceUpdateProto360000 - _locationPingProto360001 = source._locationPingProto360001 - _updateBreadcrumbHistoryRequestProto361000 = source._updateBreadcrumbHistoryRequestProto361000 - _refreshProximityTokensrequestProto362000 = source._refreshProximityTokensrequestProto362000 - _reportProximityContactsrequestProto362001 = source._reportProximityContactsrequestProto362001 - _getgameAccessTokenProto600005 = source._getgameAccessTokenProto600005 - _submitNewPoiProto620000 = source._submitNewPoiProto620000 - _getAvailableSubmissionsProto620001 = source._getAvailableSubmissionsProto620001 - _getPlayerSubmissionValidationSettingsProto620003 = source._getPlayerSubmissionValidationSettingsProto620003 - _submitPoiImageProto620100 = source._submitPoiImageProto620100 - _submitPoiTextMetadataUpdateProto620101 = source._submitPoiTextMetadataUpdateProto620101 - _submitPoiLocationUpdateProto620102 = source._submitPoiLocationUpdateProto620102 - _submitPoiTakedownRequestProto620103 = source._submitPoiTakedownRequestProto620103 - _submitsponsorPoiReportProto620104 = source._submitsponsorPoiReportProto620104 - _submitsponsorPoiLocationUpdateProto620105 = source._submitsponsorPoiLocationUpdateProto620105 - _submitPoiCategoryVoteRecordProto620106 = source._submitPoiCategoryVoteRecordProto620106 - _generategmapSignedURLProto620300 = source._generategmapSignedURLProto620300 - _getgmapSettingsProto620301 = source._getgmapSettingsProto620301 - _poiVideoSubmissionMetadataproto620400 = source._poiVideoSubmissionMetadataproto620400 - _getgrapeshotUploadURLProto620401 = source._getgrapeshotUploadURLProto620401 - _asyncFileUploadCompleteProto620402 = source._asyncFileUploadCompleteProto620402 - _getARMappingSettingsProto620403 = source._getARMappingSettingsProto620403 - _getImagesForPoiProto620500 = source._getImagesForPoiProto620500 - _submitPlayerImageVoteForPoiProto620501 = source._submitPlayerImageVoteForPoiProto620501 - _getImagegallerySettingsProto620502 = source._getImagegallerySettingsProto620502 - _getMapDataProto620600 = source._getMapDataProto620600 - _getPoisInRadiusProto620601 = source._getPoisInRadiusProto620601 - _fitnessUpdateProto640000 = source._fitnessUpdateProto640000 - _getFitnessReportProto640001 = source._getFitnessReportProto640001 - _getAdventureSyncSettingsRequestProto640002 = source._getAdventureSyncSettingsRequestProto640002 - _updateAdventureSyncSettingsRequestProto640003 = source._updateAdventureSyncSettingsRequestProto640003 - _updateAdventureSyncFitnessRequestProto640004 = source._updateAdventureSyncFitnessRequestProto640004 - _getAdventureSyncFitnessReportRequestProto640005 = source._getAdventureSyncFitnessReportRequestProto640005 + _id = source._id + _anchor = source._anchor + _timestamp = source._timestamp + _camera = source._camera + _transform = source._transform + _exposure = source._exposure + _range = source._range + _quality = source._quality + _isLargeImage = source._isLargeImage + _trackingState = source._trackingState } } @@ -158815,374 +160624,16 @@ extension AllTypesAndMessagesResponsesProto.AllMessagesProto: SwiftProtobuf.Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerProto2) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._getHoloholoInventoryProto4) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._downloadSettingsActionProto5) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._getgameMasterClientTemplatesProto6) }() - case 7: try { try decoder.decodeSingularMessageField(value: &_storage._getRemoteConfigVersionsProto7) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._registerBackgroundDeviceActionProto8) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerDayProto9) }() - case 10: try { try decoder.decodeSingularMessageField(value: &_storage._acknowledgePunishmentProto10) }() - case 11: try { try decoder.decodeSingularMessageField(value: &_storage._getServerTimeProto11) }() - case 12: try { try decoder.decodeSingularMessageField(value: &_storage._getLocalTimeProto12) }() - case 101: try { try decoder.decodeSingularMessageField(value: &_storage._fortSearchProto101) }() - case 102: try { try decoder.decodeSingularMessageField(value: &_storage._encounterProto102) }() - case 103: try { try decoder.decodeSingularMessageField(value: &_storage._catchPokemonProto103) }() - case 104: try { try decoder.decodeSingularMessageField(value: &_storage._fortDetailsProto104) }() - case 106: try { try decoder.decodeSingularMessageField(value: &_storage._getMapObjectsProto106) }() - case 110: try { try decoder.decodeSingularMessageField(value: &_storage._fortDeployProto110) }() - case 111: try { try decoder.decodeSingularMessageField(value: &_storage._fortRecallProto111) }() - case 112: try { try decoder.decodeSingularMessageField(value: &_storage._releasePokemonProto112) }() - case 113: try { try decoder.decodeSingularMessageField(value: &_storage._useItemPotionProto113) }() - case 114: try { try decoder.decodeSingularMessageField(value: &_storage._useItemCaptureProto114) }() - case 116: try { try decoder.decodeSingularMessageField(value: &_storage._useItemReviveProto116) }() - case 121: try { try decoder.decodeSingularMessageField(value: &_storage._playerprofileproto121) }() - case 125: try { try decoder.decodeSingularMessageField(value: &_storage._evolvePokemonProto125) }() - case 126: try { try decoder.decodeSingularMessageField(value: &_storage._getHatchedEggsProto126) }() - case 127: try { try decoder.decodeSingularMessageField(value: &_storage._encounterTutorialCompleteProto127) }() - case 128: try { try decoder.decodeSingularMessageField(value: &_storage._levelUpRewardsProto128) }() - case 129: try { try decoder.decodeSingularMessageField(value: &_storage._checkAwardedBadgesProto129) }() - case 137: try { try decoder.decodeSingularMessageField(value: &_storage._recycleItemProto137) }() - case 138: try { try decoder.decodeSingularMessageField(value: &_storage._collectDailyBonusProto138) }() - case 139: try { try decoder.decodeSingularMessageField(value: &_storage._useItemXpBoostProto139) }() - case 140: try { try decoder.decodeSingularMessageField(value: &_storage._useItemEggIncubatorProto140) }() - case 141: try { try decoder.decodeSingularMessageField(value: &_storage._useIncenseActionProto141) }() - case 142: try { try decoder.decodeSingularMessageField(value: &_storage._getIncensePokemonProto142) }() - case 143: try { try decoder.decodeSingularMessageField(value: &_storage._incenseEncounterProto143) }() - case 144: try { try decoder.decodeSingularMessageField(value: &_storage._addFortModifierProto144) }() - case 145: try { try decoder.decodeSingularMessageField(value: &_storage._diskEncounterProto145) }() - case 147: try { try decoder.decodeSingularMessageField(value: &_storage._upgradePokemonProto147) }() - case 148: try { try decoder.decodeSingularMessageField(value: &_storage._setFavoritePokemonProto148) }() - case 149: try { try decoder.decodeSingularMessageField(value: &_storage._nicknamePokemonProto149) }() - case 150: try { try decoder.decodeSingularMessageField(value: &_storage._equipBadgeProto150) }() - case 151: try { try decoder.decodeSingularMessageField(value: &_storage._setContactsettingsProto151) }() - case 152: try { try decoder.decodeSingularMessageField(value: &_storage._setBuddyPokemonProto152) }() - case 153: try { try decoder.decodeSingularMessageField(value: &_storage._getBuddyWalkedProto153) }() - case 154: try { try decoder.decodeSingularMessageField(value: &_storage._useItemEncounterProto154) }() - case 155: try { try decoder.decodeSingularMessageField(value: &_storage._gymDeployProto155) }() - case 156: try { try decoder.decodeSingularMessageField(value: &_storage._gymgetInfoProto156) }() - case 157: try { try decoder.decodeSingularMessageField(value: &_storage._gymStartSessionProto157) }() - case 158: try { try decoder.decodeSingularMessageField(value: &_storage._gymBattleAttackProto158) }() - case 159: try { try decoder.decodeSingularMessageField(value: &_storage._joinLobbyProto159) }() - case 160: try { try decoder.decodeSingularMessageField(value: &_storage._leavelobbyProto160) }() - case 161: try { try decoder.decodeSingularMessageField(value: &_storage._setLobbyVisibilityProto161) }() - case 162: try { try decoder.decodeSingularMessageField(value: &_storage._setLobbyPokemonProto162) }() - case 163: try { try decoder.decodeSingularMessageField(value: &_storage._getRaidDetailsProto163) }() - case 164: try { try decoder.decodeSingularMessageField(value: &_storage._gymFeedPokemonProto164) }() - case 165: try { try decoder.decodeSingularMessageField(value: &_storage._startRaidBattleProto165) }() - case 166: try { try decoder.decodeSingularMessageField(value: &_storage._attackRaidBattleProto166) }() - case 168: try { try decoder.decodeSingularMessageField(value: &_storage._useItemStardustBoostProto168) }() - case 169: try { try decoder.decodeSingularMessageField(value: &_storage._reassignPlayerProto169) }() - case 171: try { try decoder.decodeSingularMessageField(value: &_storage._convertcandyToXlcandyProto171) }() - case 172: try { try decoder.decodeSingularMessageField(value: &_storage._isSkuAvailableProto172) }() - case 300: try { try decoder.decodeSingularMessageField(value: &_storage._assetDigestRequestProto300) }() - case 301: try { try decoder.decodeSingularMessageField(value: &_storage._downloadURLRequestProto301) }() - case 302: try { try decoder.decodeSingularMessageField(value: &_storage._assetVersionProto302) }() - case 403: try { try decoder.decodeSingularMessageField(value: &_storage._claimcodenameRequestProto403) }() - case 404: try { try decoder.decodeSingularMessageField(value: &_storage._setAvatarProto404) }() - case 405: try { try decoder.decodeSingularMessageField(value: &_storage._setPlayerTeamProto405) }() - case 406: try { try decoder.decodeSingularMessageField(value: &_storage._markTutorialCompleteProto406) }() - case 408: try { try decoder.decodeSingularMessageField(value: &_storage._setNeutralAvatarProto408) }() - case 600: try { try decoder.decodeSingularMessageField(value: &_storage._checkchallengeProto600) }() - case 601: try { try decoder.decodeSingularMessageField(value: &_storage._verifyChallengeProto601) }() - case 666: try { try decoder.decodeSingularMessageField(value: &_storage._echoProto666) }() - case 800: try { try decoder.decodeSingularMessageField(value: &_storage._registerSfidarequest800) }() - case 802: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCertificationRequest802) }() - case 803: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaUpdateRequest803) }() - case 805: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaDowserRequest805) }() - case 806: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCaptureRequest806) }() - case 807: try { try decoder.decodeSingularMessageField(value: &_storage._listAvatarCustomizationsProto807) }() - case 808: try { try decoder.decodeSingularMessageField(value: &_storage._setAvatarItemAsViewedProto808) }() - case 809: try { try decoder.decodeSingularMessageField(value: &_storage._getInboxV2Proto809) }() - case 811: try { try decoder.decodeSingularMessageField(value: &_storage._listGymBadgesProto811) }() - case 812: try { try decoder.decodeSingularMessageField(value: &_storage._getgymBadgeDetailsProto812) }() - case 813: try { try decoder.decodeSingularMessageField(value: &_storage._useItemMoveRerollProto813) }() - case 814: try { try decoder.decodeSingularMessageField(value: &_storage._useItemRareCandyProto814) }() - case 815: try { try decoder.decodeSingularMessageField(value: &_storage._awardFreeRaidTicketProto815) }() - case 816: try { try decoder.decodeSingularMessageField(value: &_storage._fetchAllNewsProto816) }() - case 817: try { try decoder.decodeSingularMessageField(value: &_storage._markReadNewsArticleProto817) }() - case 818: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerSettingsProto818) }() - case 819: try { try decoder.decodeSingularMessageField(value: &_storage._belugaTransactionStartProto819) }() - case 820: try { try decoder.decodeSingularMessageField(value: &_storage._belugaTransactionCompleteProto820) }() - case 822: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaAssociateRequest822) }() - case 823: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCheckPairingRequest823) }() - case 824: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaDisassociateRequest824) }() - case 826: try { try decoder.decodeSingularMessageField(value: &_storage._wainaSubmitSleepDataRequest826) }() - case 900: try { try decoder.decodeSingularMessageField(value: &_storage._getNewQuestsProto900) }() - case 901: try { try decoder.decodeSingularMessageField(value: &_storage._getQuestDetailsProto901) }() - case 902: try { try decoder.decodeSingularMessageField(value: &_storage._completeQuestProto902) }() - case 903: try { try decoder.decodeSingularMessageField(value: &_storage._removeQuestProto903) }() - case 904: try { try decoder.decodeSingularMessageField(value: &_storage._questEncounterProto904) }() - case 906: try { try decoder.decodeSingularMessageField(value: &_storage._progressQuestproto906) }() - case 950: try { try decoder.decodeSingularMessageField(value: &_storage._sendGiftProto950) }() - case 951: try { try decoder.decodeSingularMessageField(value: &_storage._openGiftProto951) }() - case 952: try { try decoder.decodeSingularMessageField(value: &_storage._getgiftBoxDetailsProto952) }() - case 953: try { try decoder.decodeSingularMessageField(value: &_storage._deleteGiftProto953) }() - case 954: try { try decoder.decodeSingularMessageField(value: &_storage._savePlayersnapshotProto954) }() - case 956: try { try decoder.decodeSingularMessageField(value: &_storage._checkSendGiftProto956) }() - case 957: try { try decoder.decodeSingularMessageField(value: &_storage._setFriendNicknameProto957) }() - case 958: try { try decoder.decodeSingularMessageField(value: &_storage._deleteGiftFromInventoryProto958) }() - case 959: try { try decoder.decodeSingularMessageField(value: &_storage._savesocialPlayersettingsProto959) }() - case 960: try { try decoder.decodeSingularMessageField(value: &_storage._shareExRaidPassProto960) }() - case 961: try { try decoder.decodeSingularMessageField(value: &_storage._checkShareExRaidPassProto961) }() - case 962: try { try decoder.decodeSingularMessageField(value: &_storage._declineExRaidPassProto962) }() - case 970: try { try decoder.decodeSingularMessageField(value: &_storage._openTradingProto970) }() - case 971: try { try decoder.decodeSingularMessageField(value: &_storage._updateTradingProto971) }() - case 972: try { try decoder.decodeSingularMessageField(value: &_storage._confirmTradingProto972) }() - case 973: try { try decoder.decodeSingularMessageField(value: &_storage._cancelTradingProto973) }() - case 974: try { try decoder.decodeSingularMessageField(value: &_storage._getTradingProto974) }() - case 980: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessRewardsProto980) }() - case 990: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatPlayerProfileProto990) }() - case 991: try { try decoder.decodeSingularMessageField(value: &_storage._generateCombatChallengeIDProto991) }() - case 992: try { try decoder.decodeSingularMessageField(value: &_storage._createcombatchallengeProto992) }() - case 993: try { try decoder.decodeSingularMessageField(value: &_storage._openCombatChallengeProto993) }() - case 994: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatChallengeProto994) }() - case 995: try { try decoder.decodeSingularMessageField(value: &_storage._acceptCombatChallengeProto995) }() - case 996: try { try decoder.decodeSingularMessageField(value: &_storage._declineCombatChallengeProto996) }() - case 997: try { try decoder.decodeSingularMessageField(value: &_storage._cancelcombatchallengeProto997) }() - case 998: try { try decoder.decodeSingularMessageField(value: &_storage._submitCombatChallengePokemonsProto998) }() - case 999: try { try decoder.decodeSingularMessageField(value: &_storage._saveCombatPlayerPreferencesProto999) }() - case 1000: try { try decoder.decodeSingularMessageField(value: &_storage._openCombatSessionProto1000) }() - case 1001: try { try decoder.decodeSingularMessageField(value: &_storage._updateCombatProto1001) }() - case 1002: try { try decoder.decodeSingularMessageField(value: &_storage._quitCombatProto1002) }() - case 1003: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatResultsProto1003) }() - case 1004: try { try decoder.decodeSingularMessageField(value: &_storage._unlockPokemonMoveProto1004) }() - case 1005: try { try decoder.decodeSingularMessageField(value: &_storage._getNpcCombatRewardsProto1005) }() - case 1006: try { try decoder.decodeSingularMessageField(value: &_storage._combatFriendRequestProto1006) }() - case 1007: try { try decoder.decodeSingularMessageField(value: &_storage._openNpcCombatSessionProto1007) }() - case 1008: try { try decoder.decodeSingularMessageField(value: &_storage._startTutorialProto1008) }() - case 1009: try { try decoder.decodeSingularMessageField(value: &_storage._getTutorialEggProto1009) }() - case 1020: try { try decoder.decodeSingularMessageField(value: &_storage._sendProbeProto1020) }() - case 1101: try { try decoder.decodeSingularMessageField(value: &_storage._checkPhotobombProto1101) }() - case 1102: try { try decoder.decodeSingularMessageField(value: &_storage._confirmPhotobombProto1102) }() - case 1103: try { try decoder.decodeSingularMessageField(value: &_storage._getPhotobombProto1103) }() - case 1104: try { try decoder.decodeSingularMessageField(value: &_storage._encounterPhotobombProto1104) }() - case 1105: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsProto1105) }() - case 1106: try { try decoder.decodeSingularMessageField(value: &_storage._changeTeamProto1106) }() - case 1107: try { try decoder.decodeSingularMessageField(value: &_storage._getWebTokenProto1107) }() - case 1110: try { try decoder.decodeSingularMessageField(value: &_storage._completeSnapshotSessionProto1110) }() - case 1111: try { try decoder.decodeSingularMessageField(value: &_storage._completeWildSnapshotSessionProto1111) }() - case 1200: try { try decoder.decodeSingularMessageField(value: &_storage._startIncidentProto1200) }() - case 1201: try { try decoder.decodeSingularMessageField(value: &_storage._completeInvasionDialogueProto1201) }() - case 1202: try { try decoder.decodeSingularMessageField(value: &_storage._openInvasionCombatSessionProto1202) }() - case 1203: try { try decoder.decodeSingularMessageField(value: &_storage._updateInvasionBattleProto1203) }() - case 1204: try { try decoder.decodeSingularMessageField(value: &_storage._invasionEncounterProto1204) }() - case 1205: try { try decoder.decodeSingularMessageField(value: &_storage._purifypokemonproto1205) }() - case 1206: try { try decoder.decodeSingularMessageField(value: &_storage._getRocketBalloonProto1206) }() - case 1207: try { try decoder.decodeSingularMessageField(value: &_storage._startRocketBalloonIncidentProto1207) }() - case 1300: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerStartMatchmakingProto1300) }() - case 1301: try { try decoder.decodeSingularMessageField(value: &_storage._cancelMatchmakingProto1301) }() - case 1302: try { try decoder.decodeSingularMessageField(value: &_storage._getMatchmakingStatusProto1302) }() - case 1303: try { try decoder.decodeSingularMessageField(value: &_storage._completeVsSeekerAndRestartchargingProto1303) }() - case 1304: try { try decoder.decodeSingularMessageField(value: &_storage._getVsSeekerStatusProto1304) }() - case 1305: try { try decoder.decodeSingularMessageField(value: &_storage._completecompetitiveSeasonProto1305) }() - case 1306: try { try decoder.decodeSingularMessageField(value: &_storage._claimVsSeekerRewardsProto1306) }() - case 1307: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerRewardEncounterProto1307) }() - case 1308: try { try decoder.decodeSingularMessageField(value: &_storage._activateVsSeekerProto1308) }() - case 1350: try { try decoder.decodeSingularMessageField(value: &_storage._buddyMapProto1350) }() - case 1351: try { try decoder.decodeSingularMessageField(value: &_storage._buddyStatsProto1351) }() - case 1352: try { try decoder.decodeSingularMessageField(value: &_storage._buddyFeedingProto1352) }() - case 1353: try { try decoder.decodeSingularMessageField(value: &_storage._openBuddyGiftProto1353) }() - case 1354: try { try decoder.decodeSingularMessageField(value: &_storage._buddyPettingProto1354) }() - case 1355: try { try decoder.decodeSingularMessageField(value: &_storage._getBuddyHistoryProto1355) }() - case 1400: try { try decoder.decodeSingularMessageField(value: &_storage._updateRouteDraftProto1400) }() - case 1401: try { try decoder.decodeSingularMessageField(value: &_storage._getMapFortsProto1401) }() - case 1402: try { try decoder.decodeSingularMessageField(value: &_storage._submitRouteDraftProto1402) }() - case 1403: try { try decoder.decodeSingularMessageField(value: &_storage._getPublishedRoutesProto1403) }() - case 1404: try { try decoder.decodeSingularMessageField(value: &_storage._startRouteProto1404) }() - case 1405: try { try decoder.decodeSingularMessageField(value: &_storage._getRoutesProto1405) }() - case 1406: try { try decoder.decodeSingularMessageField(value: &_storage._progressRouteproto1406) }() - case 1408: try { try decoder.decodeSingularMessageField(value: &_storage._processRouteTappableproto1408) }() - case 1409: try { try decoder.decodeSingularMessageField(value: &_storage._listRouteBadgesProto1409) }() - case 1410: try { try decoder.decodeSingularMessageField(value: &_storage._cancelRouteProto1410) }() - case 1456: try { try decoder.decodeSingularMessageField(value: &_storage._createBuddyMultiplayerSessionProto1456) }() - case 1457: try { try decoder.decodeSingularMessageField(value: &_storage._joinBuddyMultiplayerSessionProto1457) }() - case 1458: try { try decoder.decodeSingularMessageField(value: &_storage._leaveBuddyMultiplayerSessionProto1458) }() - case 1501: try { try decoder.decodeSingularMessageField(value: &_storage._getTodayViewProto1501) }() - case 1502: try { try decoder.decodeSingularMessageField(value: &_storage._megaEvolvePokemonProto1502) }() - case 1503: try { try decoder.decodeSingularMessageField(value: &_storage._remoteGiftPingrequestProto1503) }() - case 1504: try { try decoder.decodeSingularMessageField(value: &_storage._sendRaidInvitationProto1504) }() - case 1601: try { try decoder.decodeSingularMessageField(value: &_storage._getDailyEncounterProto1601) }() - case 1602: try { try decoder.decodeSingularMessageField(value: &_storage._dailyEncounterProto1602) }() - case 1650: try { try decoder.decodeSingularMessageField(value: &_storage._openSponsoredGiftProto1650) }() - case 1652: try { try decoder.decodeSingularMessageField(value: &_storage._savePlayerPreferencesProto1652) }() - case 1653: try { try decoder.decodeSingularMessageField(value: &_storage._profanityCheckproto1653) }() - case 1700: try { try decoder.decodeSingularMessageField(value: &_storage._getTimedgroupChallengeProto1700) }() - case 1710: try { try decoder.decodeSingularMessageField(value: &_storage._getNintendoAccountProto1710) }() - case 1711: try { try decoder.decodeSingularMessageField(value: &_storage._unlinkNintendoAccountProto1711) }() - case 1712: try { try decoder.decodeSingularMessageField(value: &_storage._getNintendoOAuth2URLProto1712) }() - case 1713: try { try decoder.decodeSingularMessageField(value: &_storage._transferPokemontoPokemonHomeProto1713) }() - case 1716: try { try decoder.decodeSingularMessageField(value: &_storage._reportAdFeedbackrequest1716) }() - case 1717: try { try decoder.decodeSingularMessageField(value: &_storage._createPokemonTagProto1717) }() - case 1718: try { try decoder.decodeSingularMessageField(value: &_storage._deletePokemonTagProto1718) }() - case 1719: try { try decoder.decodeSingularMessageField(value: &_storage._editPokemonTagProto1719) }() - case 1720: try { try decoder.decodeSingularMessageField(value: &_storage._setPokemonTagsForPokemonProto1720) }() - case 1721: try { try decoder.decodeSingularMessageField(value: &_storage._getPokemonTagsProto1721) }() - case 1722: try { try decoder.decodeSingularMessageField(value: &_storage._changePokemonFormProto1722) }() - case 1723: try { try decoder.decodeSingularMessageField(value: &_storage._chooseGlobalTicketedEventVariantProto1723) }() - case 1800: try { try decoder.decodeSingularMessageField(value: &_storage._getReferralCodeProto1800) }() - case 1801: try { try decoder.decodeSingularMessageField(value: &_storage._addReferrerProto1801) }() - case 1802: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendInviteViaReferralCodeProto1802) }() - case 1803: try { try decoder.decodeSingularMessageField(value: &_storage._getMilestonesProto1803) }() - case 1804: try { try decoder.decodeSingularMessageField(value: &_storage._markmilestoneAsViewedProto1804) }() - case 1805: try { try decoder.decodeSingularMessageField(value: &_storage._getMilestonesPreviewProto1805) }() - case 1806: try { try decoder.decodeSingularMessageField(value: &_storage._completeMilestoneProto1806) }() - case 1820: try { try decoder.decodeSingularMessageField(value: &_storage._getgeofencedAdProto1820) }() - case 1909: try { try decoder.decodeSingularMessageField(value: &_storage._deletePostcardsProto1909) }() - case 1910: try { try decoder.decodeSingularMessageField(value: &_storage._createPostcardProto1910) }() - case 1911: try { try decoder.decodeSingularMessageField(value: &_storage._updatePostcardProto1911) }() - case 1912: try { try decoder.decodeSingularMessageField(value: &_storage._deletePostcardProto1912) }() - case 1913: try { try decoder.decodeSingularMessageField(value: &_storage._getMementoListProto1913) }() - case 1914: try { try decoder.decodeSingularMessageField(value: &_storage._uploadRaidClientLogProto1914) }() - case 2000: try { try decoder.decodeSingularMessageField(value: &_storage._checkGiftingEligibilityProto2000) }() - case 2001: try { try decoder.decodeSingularMessageField(value: &_storage._redeemTicketGiftForFriendProto2001) }() - case 2002: try { try decoder.decodeSingularMessageField(value: &_storage._getInsenceRecapProto2002) }() - case 2005: try { try decoder.decodeSingularMessageField(value: &_storage._getPokestopEncounterProto2005) }() - case 2006: try { try decoder.decodeSingularMessageField(value: &_storage._encounterPokestopencounterProto2006) }() - case 2007: try { try decoder.decodeSingularMessageField(value: &_storage._playerSpawnablepokemonproto2007) }() - case 2010: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendRequestViaPlayerIDProto2010) }() - case 2011: try { try decoder.decodeSingularMessageField(value: &_storage._getRaidLobbyCounterProto2011) }() - case 2100: try { try decoder.decodeSingularMessageField(value: &_storage._checkPokemonSizecontestEligibilityProto2100) }() - case 2101: try { try decoder.decodeSingularMessageField(value: &_storage._updatePokemonSizeContestEntryProto2101) }() - case 2104: try { try decoder.decodeSingularMessageField(value: &_storage._getPokemonSizeContestEntryProto2104) }() - case 2105: try { try decoder.decodeSingularMessageField(value: &_storage._getContestDataProto2105) }() - case 2106: try { try decoder.decodeSingularMessageField(value: &_storage._getContestsUnclaimedRewardsProto2106) }() - case 2107: try { try decoder.decodeSingularMessageField(value: &_storage._claimcontestsRewardsProto2107) }() - case 2108: try { try decoder.decodeSingularMessageField(value: &_storage._getEnteredContestProto2108) }() - case 3000: try { try decoder.decodeSingularMessageField(value: &_storage._getVpsEventProto3000) }() - case 3001: try { try decoder.decodeSingularMessageField(value: &_storage._updateVpsEventProto3001) }() - case 5000: try { try decoder.decodeSingularMessageField(value: &_storage._pushNotificationRegistryproto5000) }() - case 5002: try { try decoder.decodeSingularMessageField(value: &_storage._updateNotificationProto5002) }() - case 5003: try { try decoder.decodeSingularMessageField(value: &_storage._optProto5003) }() - case 5004: try { try decoder.decodeSingularMessageField(value: &_storage._downloadGmTemplatesRequestProto5004) }() - case 5005: try { try decoder.decodeSingularMessageField(value: &_storage._getInventoryProto5005) }() - case 5006: try { try decoder.decodeSingularMessageField(value: &_storage._redeemPasscoderequestProto5006) }() - case 5007: try { try decoder.decodeSingularMessageField(value: &_storage._pingRequestproto5007) }() - case 5008: try { try decoder.decodeSingularMessageField(value: &_storage._addLoginactionProto5008) }() - case 5009: try { try decoder.decodeSingularMessageField(value: &_storage._removeLoginActionProto5009) }() - case 5010: try { try decoder.decodeSingularMessageField(value: &_storage._listloginActionProto5010) }() - case 5011: try { try decoder.decodeSingularMessageField(value: &_storage._submitNewPoiProto5011) }() - case 5012: try { try decoder.decodeSingularMessageField(value: &_storage._proxyRequestproto5012) }() - case 5014: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubmissionsProto5014) }() - case 5015: try { try decoder.decodeSingularMessageField(value: &_storage._replaceLoginActionProto5015) }() - case 5018: try { try decoder.decodeSingularMessageField(value: &_storage._clientTelemetryBatchProto5018) }() - case 5019: try { try decoder.decodeSingularMessageField(value: &_storage._purchaseSkuproto5019) }() - case 5020: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSkusAndBalancesProto5020) }() - case 5021: try { try decoder.decodeSingularMessageField(value: &_storage._redeemGooglereceiptProto5021) }() - case 5022: try { try decoder.decodeSingularMessageField(value: &_storage._redeemApplereceiptProto5022) }() - case 5023: try { try decoder.decodeSingularMessageField(value: &_storage._redeemDesktopreceiptProto5023) }() - case 5024: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessUpdateProto5024) }() - case 5025: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessReportProto5025) }() - case 5026: try { try decoder.decodeSingularMessageField(value: &_storage._clientTelemetrySettingsRequestProto5026) }() - case 5028: try { try decoder.decodeSingularMessageField(value: &_storage._registerBackgroundServicerequestProto5028) }() - case 5032: try { try decoder.decodeSingularMessageField(value: &_storage._setInGameCurrencyExchangeRateProto5032) }() - case 5033: try { try decoder.decodeSingularMessageField(value: &_storage._geofenceUpdateProto5033) }() - case 5034: try { try decoder.decodeSingularMessageField(value: &_storage._locationPingProto5034) }() - case 5035: try { try decoder.decodeSingularMessageField(value: &_storage._generategmapSignedURLProto5035) }() - case 5036: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsProto5036) }() - case 5037: try { try decoder.decodeSingularMessageField(value: &_storage._redeemSamsungreceiptProto5037) }() - case 5041: try { try decoder.decodeSingularMessageField(value: &_storage._submitPoiImageProto5041) }() - case 5042: try { try decoder.decodeSingularMessageField(value: &_storage._submitPoiTextMetadataUpdateProto5042) }() - case 5043: try { try decoder.decodeSingularMessageField(value: &_storage._submitPoiLocationUpdateProto5043) }() - case 5044: try { try decoder.decodeSingularMessageField(value: &_storage._submitPoiTakedownRequestProto5044) }() - case 5045: try { try decoder.decodeSingularMessageField(value: &_storage._getWebTokenProto5045) }() - case 5046: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncSettingsRequestProto5046) }() - case 5047: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncSettingsRequestProto5047) }() - case 10000: try { try decoder.decodeSingularMessageField(value: &_storage._searchPlayerProto10000) }() - case 10002: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendInviteProto10002) }() - case 10003: try { try decoder.decodeSingularMessageField(value: &_storage._cancelFriendInviteProto10003) }() - case 10004: try { try decoder.decodeSingularMessageField(value: &_storage._acceptFriendInviteProto10004) }() - case 10005: try { try decoder.decodeSingularMessageField(value: &_storage._declineFriendInviteProto10005) }() - case 10006: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendsListProto10006) }() - case 10007: try { try decoder.decodeSingularMessageField(value: &_storage._getOutgoingFriendInvitesProto10007) }() - case 10008: try { try decoder.decodeSingularMessageField(value: &_storage._getIncomingFriendInvitesProto10008) }() - case 10009: try { try decoder.decodeSingularMessageField(value: &_storage._removeFriendProto10009) }() - case 10010: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendDetailsProto10010) }() - case 10011: try { try decoder.decodeSingularMessageField(value: &_storage._inviteFacebookFriendProto10011) }() - case 10012: try { try decoder.decodeSingularMessageField(value: &_storage._isMyFriendProto10012) }() - case 10013: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendCodeProto10013) }() - case 10014: try { try decoder.decodeSingularMessageField(value: &_storage._getFacebookFriendListProto10014) }() - case 10015: try { try decoder.decodeSingularMessageField(value: &_storage._updateFacebookStatusProto10015) }() - case 10016: try { try decoder.decodeSingularMessageField(value: &_storage._savesocialPlayersettingsProto10016) }() - case 10017: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerSettingsProto10017) }() - case 10021: try { try decoder.decodeSingularMessageField(value: &_storage._setAccountsettingsProto10021) }() - case 10022: try { try decoder.decodeSingularMessageField(value: &_storage._getAccountSettingsProto10022) }() - case 10023: try { try decoder.decodeSingularMessageField(value: &_storage._addFavoriteFriendRequest10023) }() - case 10024: try { try decoder.decodeSingularMessageField(value: &_storage._removeFavoriteFriendrequest10024) }() - case 10025: try { try decoder.decodeSingularMessageField(value: &_storage._blockAccountProto10025) }() - case 10026: try { try decoder.decodeSingularMessageField(value: &_storage._unblockAccountProto10026) }() - case 10027: try { try decoder.decodeSingularMessageField(value: &_storage._getOutgoingBlocksProto10027) }() - case 10028: try { try decoder.decodeSingularMessageField(value: &_storage._isAccountBlockedProto10028) }() - case 10101: try { try decoder.decodeSingularMessageField(value: &_storage._pushNotificationRegistryproto10101) }() - case 10103: try { try decoder.decodeSingularMessageField(value: &_storage._updateNotificationProto10103) }() - case 10104: try { try decoder.decodeSingularMessageField(value: &_storage._optProto10104) }() - case 10105: try { try decoder.decodeSingularMessageField(value: &_storage._getInboxV2Proto10105) }() - case 10201: try { try decoder.decodeSingularMessageField(value: &_storage._getSignedURLProto10201) }() - case 10202: try { try decoder.decodeSingularMessageField(value: &_storage._submitImageProto10202) }() - case 10203: try { try decoder.decodeSingularMessageField(value: &_storage._getPhotosProto10203) }() - case 10204: try { try decoder.decodeSingularMessageField(value: &_storage._deletePhotoProto10204) }() - case 10205: try { try decoder.decodeSingularMessageField(value: &_storage._flagPhotoRequest10205) }() - case 20001: try { try decoder.decodeSingularMessageField(value: &_storage._updateProfileRequest20001) }() - case 20002: try { try decoder.decodeSingularMessageField(value: &_storage._updateFriendshipRequest20002) }() - case 20003: try { try decoder.decodeSingularMessageField(value: &_storage._getProfileRequest20003) }() - case 20004: try { try decoder.decodeSingularMessageField(value: &_storage._inviteGameRequest20004) }() - case 20006: try { try decoder.decodeSingularMessageField(value: &_storage._listFriendsRequest20006) }() - case 20007: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendDetailsProto20007) }() - case 20008: try { try decoder.decodeSingularMessageField(value: &_storage._getClientFeatureFlagsRequest20008) }() - case 20010: try { try decoder.decodeSingularMessageField(value: &_storage._getIncominggameInvitesRequest20010) }() - case 20011: try { try decoder.decodeSingularMessageField(value: &_storage._updateIncomingGameInviteRequest20011) }() - case 20012: try { try decoder.decodeSingularMessageField(value: &_storage._dismissOutgoingGameInvitesRequest20012) }() - case 20013: try { try decoder.decodeSingularMessageField(value: &_storage._syncContactListRequest20013) }() - case 20014: try { try decoder.decodeSingularMessageField(value: &_storage._sendContactListFriendInviteRequest20014) }() - case 20015: try { try decoder.decodeSingularMessageField(value: &_storage._referContactListFriendrequest20015) }() - case 20016: try { try decoder.decodeSingularMessageField(value: &_storage._getContactListInfoRequest20016) }() - case 20017: try { try decoder.decodeSingularMessageField(value: &_storage._dismissContactListUpdateRequest20017) }() - case 20018: try { try decoder.decodeSingularMessageField(value: &_storage._notifyContactListFriendsRequest20018) }() - case 20500: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendRecommendationRequest20500) }() - case 230000: try { try decoder.decodeSingularMessageField(value: &_storage._registerBackgroundServicerequestProto230000) }() - case 230002: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncProgressProto230002) }() - case 310000: try { try decoder.decodeSingularMessageField(value: &_storage._purchaseSkuproto310000) }() - case 310001: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSkusAndBalancesProto310001) }() - case 310002: try { try decoder.decodeSingularMessageField(value: &_storage._setInGameCurrencyExchangeRateProto310002) }() - case 310100: try { try decoder.decodeSingularMessageField(value: &_storage._redeemGooglereceiptProto310100) }() - case 310101: try { try decoder.decodeSingularMessageField(value: &_storage._redeemApplereceiptProto310101) }() - case 310102: try { try decoder.decodeSingularMessageField(value: &_storage._redeemDesktopreceiptProto310102) }() - case 310103: try { try decoder.decodeSingularMessageField(value: &_storage._redeemSamsungreceiptProto310103) }() - case 310200: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubscriptionsRequestProto310200) }() - case 310201: try { try decoder.decodeSingularMessageField(value: &_storage._getActiveSubscriptionsRequestProto310201) }() - case 360000: try { try decoder.decodeSingularMessageField(value: &_storage._geofenceUpdateProto360000) }() - case 360001: try { try decoder.decodeSingularMessageField(value: &_storage._locationPingProto360001) }() - case 361000: try { try decoder.decodeSingularMessageField(value: &_storage._updateBreadcrumbHistoryRequestProto361000) }() - case 362000: try { try decoder.decodeSingularMessageField(value: &_storage._refreshProximityTokensrequestProto362000) }() - case 362001: try { try decoder.decodeSingularMessageField(value: &_storage._reportProximityContactsrequestProto362001) }() - case 600005: try { try decoder.decodeSingularMessageField(value: &_storage._getgameAccessTokenProto600005) }() - case 620000: try { try decoder.decodeSingularMessageField(value: &_storage._submitNewPoiProto620000) }() - case 620001: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubmissionsProto620001) }() - case 620003: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerSubmissionValidationSettingsProto620003) }() - case 620100: try { try decoder.decodeSingularMessageField(value: &_storage._submitPoiImageProto620100) }() - case 620101: try { try decoder.decodeSingularMessageField(value: &_storage._submitPoiTextMetadataUpdateProto620101) }() - case 620102: try { try decoder.decodeSingularMessageField(value: &_storage._submitPoiLocationUpdateProto620102) }() - case 620103: try { try decoder.decodeSingularMessageField(value: &_storage._submitPoiTakedownRequestProto620103) }() - case 620104: try { try decoder.decodeSingularMessageField(value: &_storage._submitsponsorPoiReportProto620104) }() - case 620105: try { try decoder.decodeSingularMessageField(value: &_storage._submitsponsorPoiLocationUpdateProto620105) }() - case 620106: try { try decoder.decodeSingularMessageField(value: &_storage._submitPoiCategoryVoteRecordProto620106) }() - case 620300: try { try decoder.decodeSingularMessageField(value: &_storage._generategmapSignedURLProto620300) }() - case 620301: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsProto620301) }() - case 620400: try { try decoder.decodeSingularMessageField(value: &_storage._poiVideoSubmissionMetadataproto620400) }() - case 620401: try { try decoder.decodeSingularMessageField(value: &_storage._getgrapeshotUploadURLProto620401) }() - case 620402: try { try decoder.decodeSingularMessageField(value: &_storage._asyncFileUploadCompleteProto620402) }() - case 620403: try { try decoder.decodeSingularMessageField(value: &_storage._getARMappingSettingsProto620403) }() - case 620500: try { try decoder.decodeSingularMessageField(value: &_storage._getImagesForPoiProto620500) }() - case 620501: try { try decoder.decodeSingularMessageField(value: &_storage._submitPlayerImageVoteForPoiProto620501) }() - case 620502: try { try decoder.decodeSingularMessageField(value: &_storage._getImagegallerySettingsProto620502) }() - case 620600: try { try decoder.decodeSingularMessageField(value: &_storage._getMapDataProto620600) }() - case 620601: try { try decoder.decodeSingularMessageField(value: &_storage._getPoisInRadiusProto620601) }() - case 640000: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessUpdateProto640000) }() - case 640001: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessReportProto640001) }() - case 640002: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncSettingsRequestProto640002) }() - case 640003: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncSettingsRequestProto640003) }() - case 640004: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncFitnessRequestProto640004) }() - case 640005: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncFitnessReportRequestProto640005) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._id) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._anchor) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &_storage._timestamp) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._camera) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._transform) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._exposure) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._range) }() + case 8: try { try decoder.decodeSingularFloatField(value: &_storage._quality) }() + case 9: try { try decoder.decodeSingularBoolField(value: &_storage._isLargeImage) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._trackingState) }() default: break } } @@ -159195,4417 +160646,2203 @@ extension AllTypesAndMessagesResponsesProto.AllMessagesProto: SwiftProtobuf.Mess // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._getPlayerProto2 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._getHoloholoInventoryProto4 { + if _storage._id != 0 { + try visitor.visitSingularInt32Field(value: _storage._id, fieldNumber: 1) + } + if _storage._anchor != 0 { + try visitor.visitSingularInt32Field(value: _storage._anchor, fieldNumber: 2) + } + if _storage._timestamp != 0 { + try visitor.visitSingularDoubleField(value: _storage._timestamp, fieldNumber: 3) + } + try { if let v = _storage._camera { try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() - try { if let v = _storage._downloadSettingsActionProto5 { + try { if let v = _storage._transform { try visitor.visitSingularMessageField(value: v, fieldNumber: 5) } }() - try { if let v = _storage._getgameMasterClientTemplatesProto6 { + try { if let v = _storage._exposure { try visitor.visitSingularMessageField(value: v, fieldNumber: 6) } }() - try { if let v = _storage._getRemoteConfigVersionsProto7 { + try { if let v = _storage._range { try visitor.visitSingularMessageField(value: v, fieldNumber: 7) } }() - try { if let v = _storage._registerBackgroundDeviceActionProto8 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - try { if let v = _storage._getPlayerDayProto9 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() - try { if let v = _storage._acknowledgePunishmentProto10 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - try { if let v = _storage._getServerTimeProto11 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - } }() - try { if let v = _storage._getLocalTimeProto12 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - } }() - try { if let v = _storage._fortSearchProto101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 101) - } }() - try { if let v = _storage._encounterProto102 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 102) - } }() - try { if let v = _storage._catchPokemonProto103 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 103) - } }() - try { if let v = _storage._fortDetailsProto104 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 104) - } }() - try { if let v = _storage._getMapObjectsProto106 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 106) - } }() - try { if let v = _storage._fortDeployProto110 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 110) - } }() - try { if let v = _storage._fortRecallProto111 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 111) - } }() - try { if let v = _storage._releasePokemonProto112 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 112) - } }() - try { if let v = _storage._useItemPotionProto113 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 113) - } }() - try { if let v = _storage._useItemCaptureProto114 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 114) - } }() - try { if let v = _storage._useItemReviveProto116 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 116) - } }() - try { if let v = _storage._playerprofileproto121 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 121) - } }() - try { if let v = _storage._evolvePokemonProto125 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 125) - } }() - try { if let v = _storage._getHatchedEggsProto126 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 126) - } }() - try { if let v = _storage._encounterTutorialCompleteProto127 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 127) - } }() - try { if let v = _storage._levelUpRewardsProto128 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 128) - } }() - try { if let v = _storage._checkAwardedBadgesProto129 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 129) - } }() - try { if let v = _storage._recycleItemProto137 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 137) - } }() - try { if let v = _storage._collectDailyBonusProto138 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 138) - } }() - try { if let v = _storage._useItemXpBoostProto139 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 139) - } }() - try { if let v = _storage._useItemEggIncubatorProto140 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 140) - } }() - try { if let v = _storage._useIncenseActionProto141 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 141) - } }() - try { if let v = _storage._getIncensePokemonProto142 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 142) - } }() - try { if let v = _storage._incenseEncounterProto143 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 143) - } }() - try { if let v = _storage._addFortModifierProto144 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 144) - } }() - try { if let v = _storage._diskEncounterProto145 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 145) - } }() - try { if let v = _storage._upgradePokemonProto147 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 147) - } }() - try { if let v = _storage._setFavoritePokemonProto148 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 148) - } }() - try { if let v = _storage._nicknamePokemonProto149 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 149) - } }() - try { if let v = _storage._equipBadgeProto150 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 150) - } }() - try { if let v = _storage._setContactsettingsProto151 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 151) - } }() - try { if let v = _storage._setBuddyPokemonProto152 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 152) - } }() - try { if let v = _storage._getBuddyWalkedProto153 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 153) - } }() - try { if let v = _storage._useItemEncounterProto154 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 154) - } }() - try { if let v = _storage._gymDeployProto155 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 155) - } }() - try { if let v = _storage._gymgetInfoProto156 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 156) - } }() - try { if let v = _storage._gymStartSessionProto157 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 157) - } }() - try { if let v = _storage._gymBattleAttackProto158 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 158) - } }() - try { if let v = _storage._joinLobbyProto159 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 159) - } }() - try { if let v = _storage._leavelobbyProto160 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 160) - } }() - try { if let v = _storage._setLobbyVisibilityProto161 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 161) - } }() - try { if let v = _storage._setLobbyPokemonProto162 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 162) - } }() - try { if let v = _storage._getRaidDetailsProto163 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 163) - } }() - try { if let v = _storage._gymFeedPokemonProto164 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 164) - } }() - try { if let v = _storage._startRaidBattleProto165 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 165) - } }() - try { if let v = _storage._attackRaidBattleProto166 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 166) - } }() - try { if let v = _storage._useItemStardustBoostProto168 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 168) - } }() - try { if let v = _storage._reassignPlayerProto169 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 169) - } }() - try { if let v = _storage._convertcandyToXlcandyProto171 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 171) - } }() - try { if let v = _storage._isSkuAvailableProto172 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 172) - } }() - try { if let v = _storage._assetDigestRequestProto300 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 300) - } }() - try { if let v = _storage._downloadURLRequestProto301 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 301) - } }() - try { if let v = _storage._assetVersionProto302 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 302) - } }() - try { if let v = _storage._claimcodenameRequestProto403 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 403) - } }() - try { if let v = _storage._setAvatarProto404 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 404) - } }() - try { if let v = _storage._setPlayerTeamProto405 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 405) - } }() - try { if let v = _storage._markTutorialCompleteProto406 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 406) - } }() - try { if let v = _storage._setNeutralAvatarProto408 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 408) - } }() - try { if let v = _storage._checkchallengeProto600 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 600) - } }() - try { if let v = _storage._verifyChallengeProto601 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 601) - } }() - try { if let v = _storage._echoProto666 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 666) - } }() - try { if let v = _storage._registerSfidarequest800 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 800) - } }() - try { if let v = _storage._sfidaCertificationRequest802 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 802) - } }() - try { if let v = _storage._sfidaUpdateRequest803 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 803) - } }() - try { if let v = _storage._sfidaDowserRequest805 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 805) - } }() - try { if let v = _storage._sfidaCaptureRequest806 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 806) - } }() - try { if let v = _storage._listAvatarCustomizationsProto807 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 807) - } }() - try { if let v = _storage._setAvatarItemAsViewedProto808 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 808) - } }() - try { if let v = _storage._getInboxV2Proto809 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 809) - } }() - try { if let v = _storage._listGymBadgesProto811 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 811) - } }() - try { if let v = _storage._getgymBadgeDetailsProto812 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 812) - } }() - try { if let v = _storage._useItemMoveRerollProto813 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 813) - } }() - try { if let v = _storage._useItemRareCandyProto814 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 814) - } }() - try { if let v = _storage._awardFreeRaidTicketProto815 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 815) - } }() - try { if let v = _storage._fetchAllNewsProto816 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 816) - } }() - try { if let v = _storage._markReadNewsArticleProto817 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 817) - } }() - try { if let v = _storage._getPlayerSettingsProto818 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 818) - } }() - try { if let v = _storage._belugaTransactionStartProto819 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 819) - } }() - try { if let v = _storage._belugaTransactionCompleteProto820 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 820) - } }() - try { if let v = _storage._sfidaAssociateRequest822 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 822) - } }() - try { if let v = _storage._sfidaCheckPairingRequest823 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 823) - } }() - try { if let v = _storage._sfidaDisassociateRequest824 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 824) - } }() - try { if let v = _storage._wainaSubmitSleepDataRequest826 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 826) - } }() - try { if let v = _storage._getNewQuestsProto900 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 900) - } }() - try { if let v = _storage._getQuestDetailsProto901 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 901) - } }() - try { if let v = _storage._completeQuestProto902 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 902) - } }() - try { if let v = _storage._removeQuestProto903 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 903) - } }() - try { if let v = _storage._questEncounterProto904 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 904) - } }() - try { if let v = _storage._progressQuestproto906 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 906) - } }() - try { if let v = _storage._sendGiftProto950 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 950) - } }() - try { if let v = _storage._openGiftProto951 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 951) - } }() - try { if let v = _storage._getgiftBoxDetailsProto952 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 952) - } }() - try { if let v = _storage._deleteGiftProto953 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 953) - } }() - try { if let v = _storage._savePlayersnapshotProto954 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 954) - } }() - try { if let v = _storage._checkSendGiftProto956 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 956) - } }() - try { if let v = _storage._setFriendNicknameProto957 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 957) - } }() - try { if let v = _storage._deleteGiftFromInventoryProto958 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 958) - } }() - try { if let v = _storage._savesocialPlayersettingsProto959 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 959) - } }() - try { if let v = _storage._shareExRaidPassProto960 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 960) - } }() - try { if let v = _storage._checkShareExRaidPassProto961 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 961) - } }() - try { if let v = _storage._declineExRaidPassProto962 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 962) - } }() - try { if let v = _storage._openTradingProto970 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 970) - } }() - try { if let v = _storage._updateTradingProto971 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 971) - } }() - try { if let v = _storage._confirmTradingProto972 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 972) - } }() - try { if let v = _storage._cancelTradingProto973 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 973) - } }() - try { if let v = _storage._getTradingProto974 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 974) - } }() - try { if let v = _storage._getFitnessRewardsProto980 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 980) - } }() - try { if let v = _storage._getCombatPlayerProfileProto990 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 990) - } }() - try { if let v = _storage._generateCombatChallengeIDProto991 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 991) - } }() - try { if let v = _storage._createcombatchallengeProto992 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 992) - } }() - try { if let v = _storage._openCombatChallengeProto993 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 993) - } }() - try { if let v = _storage._getCombatChallengeProto994 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 994) - } }() - try { if let v = _storage._acceptCombatChallengeProto995 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 995) - } }() - try { if let v = _storage._declineCombatChallengeProto996 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 996) - } }() - try { if let v = _storage._cancelcombatchallengeProto997 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 997) - } }() - try { if let v = _storage._submitCombatChallengePokemonsProto998 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 998) - } }() - try { if let v = _storage._saveCombatPlayerPreferencesProto999 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 999) - } }() - try { if let v = _storage._openCombatSessionProto1000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1000) - } }() - try { if let v = _storage._updateCombatProto1001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) - } }() - try { if let v = _storage._quitCombatProto1002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) - } }() - try { if let v = _storage._getCombatResultsProto1003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1003) - } }() - try { if let v = _storage._unlockPokemonMoveProto1004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1004) - } }() - try { if let v = _storage._getNpcCombatRewardsProto1005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1005) - } }() - try { if let v = _storage._combatFriendRequestProto1006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1006) - } }() - try { if let v = _storage._openNpcCombatSessionProto1007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1007) - } }() - try { if let v = _storage._startTutorialProto1008 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1008) - } }() - try { if let v = _storage._getTutorialEggProto1009 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1009) - } }() - try { if let v = _storage._sendProbeProto1020 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1020) - } }() - try { if let v = _storage._checkPhotobombProto1101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1101) - } }() - try { if let v = _storage._confirmPhotobombProto1102 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1102) - } }() - try { if let v = _storage._getPhotobombProto1103 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1103) - } }() - try { if let v = _storage._encounterPhotobombProto1104 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1104) - } }() - try { if let v = _storage._getgmapSettingsProto1105 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1105) - } }() - try { if let v = _storage._changeTeamProto1106 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1106) - } }() - try { if let v = _storage._getWebTokenProto1107 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1107) - } }() - try { if let v = _storage._completeSnapshotSessionProto1110 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1110) - } }() - try { if let v = _storage._completeWildSnapshotSessionProto1111 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1111) - } }() - try { if let v = _storage._startIncidentProto1200 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1200) - } }() - try { if let v = _storage._completeInvasionDialogueProto1201 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1201) - } }() - try { if let v = _storage._openInvasionCombatSessionProto1202 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1202) - } }() - try { if let v = _storage._updateInvasionBattleProto1203 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1203) - } }() - try { if let v = _storage._invasionEncounterProto1204 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1204) - } }() - try { if let v = _storage._purifypokemonproto1205 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1205) - } }() - try { if let v = _storage._getRocketBalloonProto1206 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1206) - } }() - try { if let v = _storage._startRocketBalloonIncidentProto1207 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1207) - } }() - try { if let v = _storage._vsSeekerStartMatchmakingProto1300 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1300) - } }() - try { if let v = _storage._cancelMatchmakingProto1301 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1301) - } }() - try { if let v = _storage._getMatchmakingStatusProto1302 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1302) - } }() - try { if let v = _storage._completeVsSeekerAndRestartchargingProto1303 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1303) - } }() - try { if let v = _storage._getVsSeekerStatusProto1304 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1304) - } }() - try { if let v = _storage._completecompetitiveSeasonProto1305 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1305) - } }() - try { if let v = _storage._claimVsSeekerRewardsProto1306 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1306) - } }() - try { if let v = _storage._vsSeekerRewardEncounterProto1307 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1307) - } }() - try { if let v = _storage._activateVsSeekerProto1308 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1308) - } }() - try { if let v = _storage._buddyMapProto1350 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1350) - } }() - try { if let v = _storage._buddyStatsProto1351 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1351) - } }() - try { if let v = _storage._buddyFeedingProto1352 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1352) - } }() - try { if let v = _storage._openBuddyGiftProto1353 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1353) - } }() - try { if let v = _storage._buddyPettingProto1354 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1354) - } }() - try { if let v = _storage._getBuddyHistoryProto1355 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1355) - } }() - try { if let v = _storage._updateRouteDraftProto1400 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1400) - } }() - try { if let v = _storage._getMapFortsProto1401 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1401) - } }() - try { if let v = _storage._submitRouteDraftProto1402 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1402) - } }() - try { if let v = _storage._getPublishedRoutesProto1403 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1403) - } }() - try { if let v = _storage._startRouteProto1404 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1404) - } }() - try { if let v = _storage._getRoutesProto1405 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1405) - } }() - try { if let v = _storage._progressRouteproto1406 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1406) - } }() - try { if let v = _storage._processRouteTappableproto1408 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1408) - } }() - try { if let v = _storage._listRouteBadgesProto1409 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1409) - } }() - try { if let v = _storage._cancelRouteProto1410 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1410) - } }() - try { if let v = _storage._createBuddyMultiplayerSessionProto1456 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1456) - } }() - try { if let v = _storage._joinBuddyMultiplayerSessionProto1457 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1457) - } }() - try { if let v = _storage._leaveBuddyMultiplayerSessionProto1458 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1458) - } }() - try { if let v = _storage._getTodayViewProto1501 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1501) - } }() - try { if let v = _storage._megaEvolvePokemonProto1502 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1502) - } }() - try { if let v = _storage._remoteGiftPingrequestProto1503 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1503) - } }() - try { if let v = _storage._sendRaidInvitationProto1504 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1504) - } }() - try { if let v = _storage._getDailyEncounterProto1601 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1601) - } }() - try { if let v = _storage._dailyEncounterProto1602 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1602) - } }() - try { if let v = _storage._openSponsoredGiftProto1650 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1650) - } }() - try { if let v = _storage._savePlayerPreferencesProto1652 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1652) - } }() - try { if let v = _storage._profanityCheckproto1653 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1653) - } }() - try { if let v = _storage._getTimedgroupChallengeProto1700 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1700) - } }() - try { if let v = _storage._getNintendoAccountProto1710 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1710) - } }() - try { if let v = _storage._unlinkNintendoAccountProto1711 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1711) - } }() - try { if let v = _storage._getNintendoOAuth2URLProto1712 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1712) - } }() - try { if let v = _storage._transferPokemontoPokemonHomeProto1713 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1713) - } }() - try { if let v = _storage._reportAdFeedbackrequest1716 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1716) - } }() - try { if let v = _storage._createPokemonTagProto1717 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1717) - } }() - try { if let v = _storage._deletePokemonTagProto1718 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1718) - } }() - try { if let v = _storage._editPokemonTagProto1719 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1719) - } }() - try { if let v = _storage._setPokemonTagsForPokemonProto1720 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1720) - } }() - try { if let v = _storage._getPokemonTagsProto1721 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1721) - } }() - try { if let v = _storage._changePokemonFormProto1722 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1722) - } }() - try { if let v = _storage._chooseGlobalTicketedEventVariantProto1723 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1723) - } }() - try { if let v = _storage._getReferralCodeProto1800 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1800) - } }() - try { if let v = _storage._addReferrerProto1801 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1801) - } }() - try { if let v = _storage._sendFriendInviteViaReferralCodeProto1802 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1802) - } }() - try { if let v = _storage._getMilestonesProto1803 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1803) - } }() - try { if let v = _storage._markmilestoneAsViewedProto1804 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1804) - } }() - try { if let v = _storage._getMilestonesPreviewProto1805 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1805) - } }() - try { if let v = _storage._completeMilestoneProto1806 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1806) - } }() - try { if let v = _storage._getgeofencedAdProto1820 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1820) - } }() - try { if let v = _storage._deletePostcardsProto1909 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1909) - } }() - try { if let v = _storage._createPostcardProto1910 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1910) - } }() - try { if let v = _storage._updatePostcardProto1911 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1911) - } }() - try { if let v = _storage._deletePostcardProto1912 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1912) - } }() - try { if let v = _storage._getMementoListProto1913 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1913) - } }() - try { if let v = _storage._uploadRaidClientLogProto1914 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1914) - } }() - try { if let v = _storage._checkGiftingEligibilityProto2000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2000) - } }() - try { if let v = _storage._redeemTicketGiftForFriendProto2001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2001) - } }() - try { if let v = _storage._getInsenceRecapProto2002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2002) - } }() - try { if let v = _storage._getPokestopEncounterProto2005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2005) - } }() - try { if let v = _storage._encounterPokestopencounterProto2006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2006) - } }() - try { if let v = _storage._playerSpawnablepokemonproto2007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2007) - } }() - try { if let v = _storage._sendFriendRequestViaPlayerIDProto2010 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2010) - } }() - try { if let v = _storage._getRaidLobbyCounterProto2011 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2011) - } }() - try { if let v = _storage._checkPokemonSizecontestEligibilityProto2100 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2100) - } }() - try { if let v = _storage._updatePokemonSizeContestEntryProto2101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2101) - } }() - try { if let v = _storage._getPokemonSizeContestEntryProto2104 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2104) - } }() - try { if let v = _storage._getContestDataProto2105 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2105) - } }() - try { if let v = _storage._getContestsUnclaimedRewardsProto2106 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2106) - } }() - try { if let v = _storage._claimcontestsRewardsProto2107 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2107) - } }() - try { if let v = _storage._getEnteredContestProto2108 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2108) - } }() - try { if let v = _storage._getVpsEventProto3000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3000) - } }() - try { if let v = _storage._updateVpsEventProto3001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3001) - } }() - try { if let v = _storage._pushNotificationRegistryproto5000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5000) - } }() - try { if let v = _storage._updateNotificationProto5002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5002) - } }() - try { if let v = _storage._optProto5003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5003) - } }() - try { if let v = _storage._downloadGmTemplatesRequestProto5004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5004) - } }() - try { if let v = _storage._getInventoryProto5005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5005) - } }() - try { if let v = _storage._redeemPasscoderequestProto5006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5006) - } }() - try { if let v = _storage._pingRequestproto5007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5007) - } }() - try { if let v = _storage._addLoginactionProto5008 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5008) - } }() - try { if let v = _storage._removeLoginActionProto5009 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5009) - } }() - try { if let v = _storage._listloginActionProto5010 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5010) - } }() - try { if let v = _storage._submitNewPoiProto5011 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5011) - } }() - try { if let v = _storage._proxyRequestproto5012 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5012) - } }() - try { if let v = _storage._getAvailableSubmissionsProto5014 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5014) - } }() - try { if let v = _storage._replaceLoginActionProto5015 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5015) - } }() - try { if let v = _storage._clientTelemetryBatchProto5018 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5018) - } }() - try { if let v = _storage._purchaseSkuproto5019 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5019) - } }() - try { if let v = _storage._getAvailableSkusAndBalancesProto5020 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5020) - } }() - try { if let v = _storage._redeemGooglereceiptProto5021 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5021) - } }() - try { if let v = _storage._redeemApplereceiptProto5022 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5022) - } }() - try { if let v = _storage._redeemDesktopreceiptProto5023 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5023) - } }() - try { if let v = _storage._fitnessUpdateProto5024 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5024) - } }() - try { if let v = _storage._getFitnessReportProto5025 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5025) - } }() - try { if let v = _storage._clientTelemetrySettingsRequestProto5026 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5026) - } }() - try { if let v = _storage._registerBackgroundServicerequestProto5028 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5028) - } }() - try { if let v = _storage._setInGameCurrencyExchangeRateProto5032 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5032) - } }() - try { if let v = _storage._geofenceUpdateProto5033 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5033) - } }() - try { if let v = _storage._locationPingProto5034 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5034) - } }() - try { if let v = _storage._generategmapSignedURLProto5035 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5035) - } }() - try { if let v = _storage._getgmapSettingsProto5036 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5036) - } }() - try { if let v = _storage._redeemSamsungreceiptProto5037 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5037) - } }() - try { if let v = _storage._submitPoiImageProto5041 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5041) - } }() - try { if let v = _storage._submitPoiTextMetadataUpdateProto5042 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5042) - } }() - try { if let v = _storage._submitPoiLocationUpdateProto5043 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5043) - } }() - try { if let v = _storage._submitPoiTakedownRequestProto5044 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5044) - } }() - try { if let v = _storage._getWebTokenProto5045 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5045) - } }() - try { if let v = _storage._getAdventureSyncSettingsRequestProto5046 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5046) - } }() - try { if let v = _storage._updateAdventureSyncSettingsRequestProto5047 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5047) - } }() - try { if let v = _storage._searchPlayerProto10000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10000) - } }() - try { if let v = _storage._sendFriendInviteProto10002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10002) - } }() - try { if let v = _storage._cancelFriendInviteProto10003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10003) - } }() - try { if let v = _storage._acceptFriendInviteProto10004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10004) - } }() - try { if let v = _storage._declineFriendInviteProto10005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10005) - } }() - try { if let v = _storage._getFriendsListProto10006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10006) - } }() - try { if let v = _storage._getOutgoingFriendInvitesProto10007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10007) - } }() - try { if let v = _storage._getIncomingFriendInvitesProto10008 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10008) - } }() - try { if let v = _storage._removeFriendProto10009 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10009) - } }() - try { if let v = _storage._getFriendDetailsProto10010 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10010) - } }() - try { if let v = _storage._inviteFacebookFriendProto10011 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10011) - } }() - try { if let v = _storage._isMyFriendProto10012 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10012) - } }() - try { if let v = _storage._getFriendCodeProto10013 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10013) - } }() - try { if let v = _storage._getFacebookFriendListProto10014 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10014) - } }() - try { if let v = _storage._updateFacebookStatusProto10015 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10015) - } }() - try { if let v = _storage._savesocialPlayersettingsProto10016 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10016) - } }() - try { if let v = _storage._getPlayerSettingsProto10017 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10017) - } }() - try { if let v = _storage._setAccountsettingsProto10021 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10021) - } }() - try { if let v = _storage._getAccountSettingsProto10022 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10022) - } }() - try { if let v = _storage._addFavoriteFriendRequest10023 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10023) - } }() - try { if let v = _storage._removeFavoriteFriendrequest10024 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10024) - } }() - try { if let v = _storage._blockAccountProto10025 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10025) - } }() - try { if let v = _storage._unblockAccountProto10026 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10026) - } }() - try { if let v = _storage._getOutgoingBlocksProto10027 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10027) - } }() - try { if let v = _storage._isAccountBlockedProto10028 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10028) - } }() - try { if let v = _storage._pushNotificationRegistryproto10101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10101) - } }() - try { if let v = _storage._updateNotificationProto10103 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10103) - } }() - try { if let v = _storage._optProto10104 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10104) - } }() - try { if let v = _storage._getInboxV2Proto10105 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10105) - } }() - try { if let v = _storage._getSignedURLProto10201 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10201) - } }() - try { if let v = _storage._submitImageProto10202 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10202) - } }() - try { if let v = _storage._getPhotosProto10203 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10203) - } }() - try { if let v = _storage._deletePhotoProto10204 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10204) - } }() - try { if let v = _storage._flagPhotoRequest10205 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10205) - } }() - try { if let v = _storage._updateProfileRequest20001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20001) - } }() - try { if let v = _storage._updateFriendshipRequest20002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20002) - } }() - try { if let v = _storage._getProfileRequest20003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20003) - } }() - try { if let v = _storage._inviteGameRequest20004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20004) - } }() - try { if let v = _storage._listFriendsRequest20006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20006) - } }() - try { if let v = _storage._getFriendDetailsProto20007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20007) - } }() - try { if let v = _storage._getClientFeatureFlagsRequest20008 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20008) - } }() - try { if let v = _storage._getIncominggameInvitesRequest20010 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20010) - } }() - try { if let v = _storage._updateIncomingGameInviteRequest20011 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20011) - } }() - try { if let v = _storage._dismissOutgoingGameInvitesRequest20012 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20012) - } }() - try { if let v = _storage._syncContactListRequest20013 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20013) - } }() - try { if let v = _storage._sendContactListFriendInviteRequest20014 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20014) - } }() - try { if let v = _storage._referContactListFriendrequest20015 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20015) - } }() - try { if let v = _storage._getContactListInfoRequest20016 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20016) - } }() - try { if let v = _storage._dismissContactListUpdateRequest20017 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20017) - } }() - try { if let v = _storage._notifyContactListFriendsRequest20018 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20018) - } }() - try { if let v = _storage._getFriendRecommendationRequest20500 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20500) - } }() - try { if let v = _storage._registerBackgroundServicerequestProto230000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 230000) - } }() - try { if let v = _storage._getAdventureSyncProgressProto230002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 230002) - } }() - try { if let v = _storage._purchaseSkuproto310000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310000) - } }() - try { if let v = _storage._getAvailableSkusAndBalancesProto310001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310001) - } }() - try { if let v = _storage._setInGameCurrencyExchangeRateProto310002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310002) - } }() - try { if let v = _storage._redeemGooglereceiptProto310100 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310100) - } }() - try { if let v = _storage._redeemApplereceiptProto310101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310101) - } }() - try { if let v = _storage._redeemDesktopreceiptProto310102 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310102) - } }() - try { if let v = _storage._redeemSamsungreceiptProto310103 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310103) - } }() - try { if let v = _storage._getAvailableSubscriptionsRequestProto310200 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310200) - } }() - try { if let v = _storage._getActiveSubscriptionsRequestProto310201 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310201) - } }() - try { if let v = _storage._geofenceUpdateProto360000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 360000) - } }() - try { if let v = _storage._locationPingProto360001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 360001) - } }() - try { if let v = _storage._updateBreadcrumbHistoryRequestProto361000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 361000) - } }() - try { if let v = _storage._refreshProximityTokensrequestProto362000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 362000) - } }() - try { if let v = _storage._reportProximityContactsrequestProto362001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 362001) - } }() - try { if let v = _storage._getgameAccessTokenProto600005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 600005) - } }() - try { if let v = _storage._submitNewPoiProto620000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620000) - } }() - try { if let v = _storage._getAvailableSubmissionsProto620001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620001) - } }() - try { if let v = _storage._getPlayerSubmissionValidationSettingsProto620003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620003) - } }() - try { if let v = _storage._submitPoiImageProto620100 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620100) - } }() - try { if let v = _storage._submitPoiTextMetadataUpdateProto620101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620101) - } }() - try { if let v = _storage._submitPoiLocationUpdateProto620102 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620102) - } }() - try { if let v = _storage._submitPoiTakedownRequestProto620103 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620103) - } }() - try { if let v = _storage._submitsponsorPoiReportProto620104 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620104) - } }() - try { if let v = _storage._submitsponsorPoiLocationUpdateProto620105 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620105) - } }() - try { if let v = _storage._submitPoiCategoryVoteRecordProto620106 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620106) - } }() - try { if let v = _storage._generategmapSignedURLProto620300 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620300) - } }() - try { if let v = _storage._getgmapSettingsProto620301 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620301) - } }() - try { if let v = _storage._poiVideoSubmissionMetadataproto620400 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620400) - } }() - try { if let v = _storage._getgrapeshotUploadURLProto620401 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620401) - } }() - try { if let v = _storage._asyncFileUploadCompleteProto620402 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620402) - } }() - try { if let v = _storage._getARMappingSettingsProto620403 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620403) - } }() - try { if let v = _storage._getImagesForPoiProto620500 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620500) - } }() - try { if let v = _storage._submitPlayerImageVoteForPoiProto620501 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620501) - } }() - try { if let v = _storage._getImagegallerySettingsProto620502 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620502) - } }() - try { if let v = _storage._getMapDataProto620600 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620600) - } }() - try { if let v = _storage._getPoisInRadiusProto620601 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620601) - } }() - try { if let v = _storage._fitnessUpdateProto640000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640000) - } }() - try { if let v = _storage._getFitnessReportProto640001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640001) - } }() - try { if let v = _storage._getAdventureSyncSettingsRequestProto640002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640002) - } }() - try { if let v = _storage._updateAdventureSyncSettingsRequestProto640003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640003) - } }() - try { if let v = _storage._updateAdventureSyncFitnessRequestProto640004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640004) - } }() - try { if let v = _storage._getAdventureSyncFitnessReportRequestProto640005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640005) - } }() + if _storage._quality != 0 { + try visitor.visitSingularFloatField(value: _storage._quality, fieldNumber: 8) + } + if _storage._isLargeImage != false { + try visitor.visitSingularBoolField(value: _storage._isLargeImage, fieldNumber: 9) + } + if _storage._trackingState != 0 { + try visitor.visitSingularInt32Field(value: _storage._trackingState, fieldNumber: 10) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKFrameProto, rhs: ARDKFrameProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._id != rhs_storage._id {return false} + if _storage._anchor != rhs_storage._anchor {return false} + if _storage._timestamp != rhs_storage._timestamp {return false} + if _storage._camera != rhs_storage._camera {return false} + if _storage._transform != rhs_storage._transform {return false} + if _storage._exposure != rhs_storage._exposure {return false} + if _storage._range != rhs_storage._range {return false} + if _storage._quality != rhs_storage._quality {return false} + if _storage._isLargeImage != rhs_storage._isLargeImage {return false} + if _storage._trackingState != rhs_storage._trackingState {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKFramesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKFramesProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "id"), + 2: .same(proto: "locations"), + 5: .same(proto: "frames"), + 13: .same(proto: "anchors"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.locations) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.frames) }() + case 13: try { try decoder.decodeRepeatedMessageField(value: &self.anchors) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.id.isEmpty { + try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) + } + if !self.locations.isEmpty { + try visitor.visitRepeatedMessageField(value: self.locations, fieldNumber: 2) + } + if !self.frames.isEmpty { + try visitor.visitRepeatedMessageField(value: self.frames, fieldNumber: 5) + } + if !self.anchors.isEmpty { + try visitor.visitRepeatedMessageField(value: self.anchors, fieldNumber: 13) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKFramesProto, rhs: ARDKFramesProto) -> Bool { + if lhs.id != rhs.id {return false} + if lhs.locations != rhs.locations {return false} + if lhs.frames != rhs.frames {return false} + if lhs.anchors != rhs.anchors {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGenerateGmapSignedUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGenerateGmapSignedUrlOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "signed_url"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.signedURL) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.signedURL.isEmpty { + try visitor.visitSingularStringField(value: self.signedURL, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGenerateGmapSignedUrlOutProto, rhs: ARDKGenerateGmapSignedUrlOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.signedURL != rhs.signedURL {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGenerateGmapSignedUrlOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unset"), + 1: .same(proto: "success"), + 2: .same(proto: "error_player_not_valid"), + 3: .same(proto: "error_rate_limited"), + 4: .same(proto: "error_missing_input"), + 5: .same(proto: "error_unknown"), + ] +} + +extension ARDKGenerateGmapSignedUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGenerateGmapSignedUrlProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "latitude"), + 2: .same(proto: "longitude"), + 3: .same(proto: "width"), + 4: .same(proto: "height"), + 5: .same(proto: "zoom"), + 6: .standard(proto: "language_code"), + 7: .standard(proto: "country_code"), + 8: .standard(proto: "map_style"), + 9: .standard(proto: "map_type"), + 10: .standard(proto: "icon_params"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.width) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.height) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.zoom) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.mapStyle) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.mapType) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.iconParams) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 1) + } + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 2) + } + if self.width != 0 { + try visitor.visitSingularInt32Field(value: self.width, fieldNumber: 3) + } + if self.height != 0 { + try visitor.visitSingularInt32Field(value: self.height, fieldNumber: 4) + } + if self.zoom != 0 { + try visitor.visitSingularInt32Field(value: self.zoom, fieldNumber: 5) + } + if !self.languageCode.isEmpty { + try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 6) + } + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 7) + } + if !self.mapStyle.isEmpty { + try visitor.visitSingularStringField(value: self.mapStyle, fieldNumber: 8) + } + if !self.mapType.isEmpty { + try visitor.visitSingularStringField(value: self.mapType, fieldNumber: 9) + } + if !self.iconParams.isEmpty { + try visitor.visitSingularStringField(value: self.iconParams, fieldNumber: 10) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AllTypesAndMessagesResponsesProto.AllMessagesProto, rhs: AllTypesAndMessagesResponsesProto.AllMessagesProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._getPlayerProto2 != rhs_storage._getPlayerProto2 {return false} - if _storage._getHoloholoInventoryProto4 != rhs_storage._getHoloholoInventoryProto4 {return false} - if _storage._downloadSettingsActionProto5 != rhs_storage._downloadSettingsActionProto5 {return false} - if _storage._getgameMasterClientTemplatesProto6 != rhs_storage._getgameMasterClientTemplatesProto6 {return false} - if _storage._getRemoteConfigVersionsProto7 != rhs_storage._getRemoteConfigVersionsProto7 {return false} - if _storage._registerBackgroundDeviceActionProto8 != rhs_storage._registerBackgroundDeviceActionProto8 {return false} - if _storage._getPlayerDayProto9 != rhs_storage._getPlayerDayProto9 {return false} - if _storage._acknowledgePunishmentProto10 != rhs_storage._acknowledgePunishmentProto10 {return false} - if _storage._getServerTimeProto11 != rhs_storage._getServerTimeProto11 {return false} - if _storage._getLocalTimeProto12 != rhs_storage._getLocalTimeProto12 {return false} - if _storage._fortSearchProto101 != rhs_storage._fortSearchProto101 {return false} - if _storage._encounterProto102 != rhs_storage._encounterProto102 {return false} - if _storage._catchPokemonProto103 != rhs_storage._catchPokemonProto103 {return false} - if _storage._fortDetailsProto104 != rhs_storage._fortDetailsProto104 {return false} - if _storage._getMapObjectsProto106 != rhs_storage._getMapObjectsProto106 {return false} - if _storage._fortDeployProto110 != rhs_storage._fortDeployProto110 {return false} - if _storage._fortRecallProto111 != rhs_storage._fortRecallProto111 {return false} - if _storage._releasePokemonProto112 != rhs_storage._releasePokemonProto112 {return false} - if _storage._useItemPotionProto113 != rhs_storage._useItemPotionProto113 {return false} - if _storage._useItemCaptureProto114 != rhs_storage._useItemCaptureProto114 {return false} - if _storage._useItemReviveProto116 != rhs_storage._useItemReviveProto116 {return false} - if _storage._playerprofileproto121 != rhs_storage._playerprofileproto121 {return false} - if _storage._evolvePokemonProto125 != rhs_storage._evolvePokemonProto125 {return false} - if _storage._getHatchedEggsProto126 != rhs_storage._getHatchedEggsProto126 {return false} - if _storage._encounterTutorialCompleteProto127 != rhs_storage._encounterTutorialCompleteProto127 {return false} - if _storage._levelUpRewardsProto128 != rhs_storage._levelUpRewardsProto128 {return false} - if _storage._checkAwardedBadgesProto129 != rhs_storage._checkAwardedBadgesProto129 {return false} - if _storage._recycleItemProto137 != rhs_storage._recycleItemProto137 {return false} - if _storage._collectDailyBonusProto138 != rhs_storage._collectDailyBonusProto138 {return false} - if _storage._useItemXpBoostProto139 != rhs_storage._useItemXpBoostProto139 {return false} - if _storage._useItemEggIncubatorProto140 != rhs_storage._useItemEggIncubatorProto140 {return false} - if _storage._useIncenseActionProto141 != rhs_storage._useIncenseActionProto141 {return false} - if _storage._getIncensePokemonProto142 != rhs_storage._getIncensePokemonProto142 {return false} - if _storage._incenseEncounterProto143 != rhs_storage._incenseEncounterProto143 {return false} - if _storage._addFortModifierProto144 != rhs_storage._addFortModifierProto144 {return false} - if _storage._diskEncounterProto145 != rhs_storage._diskEncounterProto145 {return false} - if _storage._upgradePokemonProto147 != rhs_storage._upgradePokemonProto147 {return false} - if _storage._setFavoritePokemonProto148 != rhs_storage._setFavoritePokemonProto148 {return false} - if _storage._nicknamePokemonProto149 != rhs_storage._nicknamePokemonProto149 {return false} - if _storage._equipBadgeProto150 != rhs_storage._equipBadgeProto150 {return false} - if _storage._setContactsettingsProto151 != rhs_storage._setContactsettingsProto151 {return false} - if _storage._setBuddyPokemonProto152 != rhs_storage._setBuddyPokemonProto152 {return false} - if _storage._getBuddyWalkedProto153 != rhs_storage._getBuddyWalkedProto153 {return false} - if _storage._useItemEncounterProto154 != rhs_storage._useItemEncounterProto154 {return false} - if _storage._gymDeployProto155 != rhs_storage._gymDeployProto155 {return false} - if _storage._gymgetInfoProto156 != rhs_storage._gymgetInfoProto156 {return false} - if _storage._gymStartSessionProto157 != rhs_storage._gymStartSessionProto157 {return false} - if _storage._gymBattleAttackProto158 != rhs_storage._gymBattleAttackProto158 {return false} - if _storage._joinLobbyProto159 != rhs_storage._joinLobbyProto159 {return false} - if _storage._leavelobbyProto160 != rhs_storage._leavelobbyProto160 {return false} - if _storage._setLobbyVisibilityProto161 != rhs_storage._setLobbyVisibilityProto161 {return false} - if _storage._setLobbyPokemonProto162 != rhs_storage._setLobbyPokemonProto162 {return false} - if _storage._getRaidDetailsProto163 != rhs_storage._getRaidDetailsProto163 {return false} - if _storage._gymFeedPokemonProto164 != rhs_storage._gymFeedPokemonProto164 {return false} - if _storage._startRaidBattleProto165 != rhs_storage._startRaidBattleProto165 {return false} - if _storage._attackRaidBattleProto166 != rhs_storage._attackRaidBattleProto166 {return false} - if _storage._useItemStardustBoostProto168 != rhs_storage._useItemStardustBoostProto168 {return false} - if _storage._reassignPlayerProto169 != rhs_storage._reassignPlayerProto169 {return false} - if _storage._convertcandyToXlcandyProto171 != rhs_storage._convertcandyToXlcandyProto171 {return false} - if _storage._isSkuAvailableProto172 != rhs_storage._isSkuAvailableProto172 {return false} - if _storage._assetDigestRequestProto300 != rhs_storage._assetDigestRequestProto300 {return false} - if _storage._downloadURLRequestProto301 != rhs_storage._downloadURLRequestProto301 {return false} - if _storage._assetVersionProto302 != rhs_storage._assetVersionProto302 {return false} - if _storage._claimcodenameRequestProto403 != rhs_storage._claimcodenameRequestProto403 {return false} - if _storage._setAvatarProto404 != rhs_storage._setAvatarProto404 {return false} - if _storage._setPlayerTeamProto405 != rhs_storage._setPlayerTeamProto405 {return false} - if _storage._markTutorialCompleteProto406 != rhs_storage._markTutorialCompleteProto406 {return false} - if _storage._setNeutralAvatarProto408 != rhs_storage._setNeutralAvatarProto408 {return false} - if _storage._checkchallengeProto600 != rhs_storage._checkchallengeProto600 {return false} - if _storage._verifyChallengeProto601 != rhs_storage._verifyChallengeProto601 {return false} - if _storage._echoProto666 != rhs_storage._echoProto666 {return false} - if _storage._registerSfidarequest800 != rhs_storage._registerSfidarequest800 {return false} - if _storage._sfidaCertificationRequest802 != rhs_storage._sfidaCertificationRequest802 {return false} - if _storage._sfidaUpdateRequest803 != rhs_storage._sfidaUpdateRequest803 {return false} - if _storage._sfidaDowserRequest805 != rhs_storage._sfidaDowserRequest805 {return false} - if _storage._sfidaCaptureRequest806 != rhs_storage._sfidaCaptureRequest806 {return false} - if _storage._listAvatarCustomizationsProto807 != rhs_storage._listAvatarCustomizationsProto807 {return false} - if _storage._setAvatarItemAsViewedProto808 != rhs_storage._setAvatarItemAsViewedProto808 {return false} - if _storage._getInboxV2Proto809 != rhs_storage._getInboxV2Proto809 {return false} - if _storage._listGymBadgesProto811 != rhs_storage._listGymBadgesProto811 {return false} - if _storage._getgymBadgeDetailsProto812 != rhs_storage._getgymBadgeDetailsProto812 {return false} - if _storage._useItemMoveRerollProto813 != rhs_storage._useItemMoveRerollProto813 {return false} - if _storage._useItemRareCandyProto814 != rhs_storage._useItemRareCandyProto814 {return false} - if _storage._awardFreeRaidTicketProto815 != rhs_storage._awardFreeRaidTicketProto815 {return false} - if _storage._fetchAllNewsProto816 != rhs_storage._fetchAllNewsProto816 {return false} - if _storage._markReadNewsArticleProto817 != rhs_storage._markReadNewsArticleProto817 {return false} - if _storage._getPlayerSettingsProto818 != rhs_storage._getPlayerSettingsProto818 {return false} - if _storage._belugaTransactionStartProto819 != rhs_storage._belugaTransactionStartProto819 {return false} - if _storage._belugaTransactionCompleteProto820 != rhs_storage._belugaTransactionCompleteProto820 {return false} - if _storage._sfidaAssociateRequest822 != rhs_storage._sfidaAssociateRequest822 {return false} - if _storage._sfidaCheckPairingRequest823 != rhs_storage._sfidaCheckPairingRequest823 {return false} - if _storage._sfidaDisassociateRequest824 != rhs_storage._sfidaDisassociateRequest824 {return false} - if _storage._wainaSubmitSleepDataRequest826 != rhs_storage._wainaSubmitSleepDataRequest826 {return false} - if _storage._getNewQuestsProto900 != rhs_storage._getNewQuestsProto900 {return false} - if _storage._getQuestDetailsProto901 != rhs_storage._getQuestDetailsProto901 {return false} - if _storage._completeQuestProto902 != rhs_storage._completeQuestProto902 {return false} - if _storage._removeQuestProto903 != rhs_storage._removeQuestProto903 {return false} - if _storage._questEncounterProto904 != rhs_storage._questEncounterProto904 {return false} - if _storage._progressQuestproto906 != rhs_storage._progressQuestproto906 {return false} - if _storage._sendGiftProto950 != rhs_storage._sendGiftProto950 {return false} - if _storage._openGiftProto951 != rhs_storage._openGiftProto951 {return false} - if _storage._getgiftBoxDetailsProto952 != rhs_storage._getgiftBoxDetailsProto952 {return false} - if _storage._deleteGiftProto953 != rhs_storage._deleteGiftProto953 {return false} - if _storage._savePlayersnapshotProto954 != rhs_storage._savePlayersnapshotProto954 {return false} - if _storage._checkSendGiftProto956 != rhs_storage._checkSendGiftProto956 {return false} - if _storage._setFriendNicknameProto957 != rhs_storage._setFriendNicknameProto957 {return false} - if _storage._deleteGiftFromInventoryProto958 != rhs_storage._deleteGiftFromInventoryProto958 {return false} - if _storage._savesocialPlayersettingsProto959 != rhs_storage._savesocialPlayersettingsProto959 {return false} - if _storage._shareExRaidPassProto960 != rhs_storage._shareExRaidPassProto960 {return false} - if _storage._checkShareExRaidPassProto961 != rhs_storage._checkShareExRaidPassProto961 {return false} - if _storage._declineExRaidPassProto962 != rhs_storage._declineExRaidPassProto962 {return false} - if _storage._openTradingProto970 != rhs_storage._openTradingProto970 {return false} - if _storage._updateTradingProto971 != rhs_storage._updateTradingProto971 {return false} - if _storage._confirmTradingProto972 != rhs_storage._confirmTradingProto972 {return false} - if _storage._cancelTradingProto973 != rhs_storage._cancelTradingProto973 {return false} - if _storage._getTradingProto974 != rhs_storage._getTradingProto974 {return false} - if _storage._getFitnessRewardsProto980 != rhs_storage._getFitnessRewardsProto980 {return false} - if _storage._getCombatPlayerProfileProto990 != rhs_storage._getCombatPlayerProfileProto990 {return false} - if _storage._generateCombatChallengeIDProto991 != rhs_storage._generateCombatChallengeIDProto991 {return false} - if _storage._createcombatchallengeProto992 != rhs_storage._createcombatchallengeProto992 {return false} - if _storage._openCombatChallengeProto993 != rhs_storage._openCombatChallengeProto993 {return false} - if _storage._getCombatChallengeProto994 != rhs_storage._getCombatChallengeProto994 {return false} - if _storage._acceptCombatChallengeProto995 != rhs_storage._acceptCombatChallengeProto995 {return false} - if _storage._declineCombatChallengeProto996 != rhs_storage._declineCombatChallengeProto996 {return false} - if _storage._cancelcombatchallengeProto997 != rhs_storage._cancelcombatchallengeProto997 {return false} - if _storage._submitCombatChallengePokemonsProto998 != rhs_storage._submitCombatChallengePokemonsProto998 {return false} - if _storage._saveCombatPlayerPreferencesProto999 != rhs_storage._saveCombatPlayerPreferencesProto999 {return false} - if _storage._openCombatSessionProto1000 != rhs_storage._openCombatSessionProto1000 {return false} - if _storage._updateCombatProto1001 != rhs_storage._updateCombatProto1001 {return false} - if _storage._quitCombatProto1002 != rhs_storage._quitCombatProto1002 {return false} - if _storage._getCombatResultsProto1003 != rhs_storage._getCombatResultsProto1003 {return false} - if _storage._unlockPokemonMoveProto1004 != rhs_storage._unlockPokemonMoveProto1004 {return false} - if _storage._getNpcCombatRewardsProto1005 != rhs_storage._getNpcCombatRewardsProto1005 {return false} - if _storage._combatFriendRequestProto1006 != rhs_storage._combatFriendRequestProto1006 {return false} - if _storage._openNpcCombatSessionProto1007 != rhs_storage._openNpcCombatSessionProto1007 {return false} - if _storage._startTutorialProto1008 != rhs_storage._startTutorialProto1008 {return false} - if _storage._getTutorialEggProto1009 != rhs_storage._getTutorialEggProto1009 {return false} - if _storage._sendProbeProto1020 != rhs_storage._sendProbeProto1020 {return false} - if _storage._checkPhotobombProto1101 != rhs_storage._checkPhotobombProto1101 {return false} - if _storage._confirmPhotobombProto1102 != rhs_storage._confirmPhotobombProto1102 {return false} - if _storage._getPhotobombProto1103 != rhs_storage._getPhotobombProto1103 {return false} - if _storage._encounterPhotobombProto1104 != rhs_storage._encounterPhotobombProto1104 {return false} - if _storage._getgmapSettingsProto1105 != rhs_storage._getgmapSettingsProto1105 {return false} - if _storage._changeTeamProto1106 != rhs_storage._changeTeamProto1106 {return false} - if _storage._getWebTokenProto1107 != rhs_storage._getWebTokenProto1107 {return false} - if _storage._completeSnapshotSessionProto1110 != rhs_storage._completeSnapshotSessionProto1110 {return false} - if _storage._completeWildSnapshotSessionProto1111 != rhs_storage._completeWildSnapshotSessionProto1111 {return false} - if _storage._startIncidentProto1200 != rhs_storage._startIncidentProto1200 {return false} - if _storage._completeInvasionDialogueProto1201 != rhs_storage._completeInvasionDialogueProto1201 {return false} - if _storage._openInvasionCombatSessionProto1202 != rhs_storage._openInvasionCombatSessionProto1202 {return false} - if _storage._updateInvasionBattleProto1203 != rhs_storage._updateInvasionBattleProto1203 {return false} - if _storage._invasionEncounterProto1204 != rhs_storage._invasionEncounterProto1204 {return false} - if _storage._purifypokemonproto1205 != rhs_storage._purifypokemonproto1205 {return false} - if _storage._getRocketBalloonProto1206 != rhs_storage._getRocketBalloonProto1206 {return false} - if _storage._startRocketBalloonIncidentProto1207 != rhs_storage._startRocketBalloonIncidentProto1207 {return false} - if _storage._vsSeekerStartMatchmakingProto1300 != rhs_storage._vsSeekerStartMatchmakingProto1300 {return false} - if _storage._cancelMatchmakingProto1301 != rhs_storage._cancelMatchmakingProto1301 {return false} - if _storage._getMatchmakingStatusProto1302 != rhs_storage._getMatchmakingStatusProto1302 {return false} - if _storage._completeVsSeekerAndRestartchargingProto1303 != rhs_storage._completeVsSeekerAndRestartchargingProto1303 {return false} - if _storage._getVsSeekerStatusProto1304 != rhs_storage._getVsSeekerStatusProto1304 {return false} - if _storage._completecompetitiveSeasonProto1305 != rhs_storage._completecompetitiveSeasonProto1305 {return false} - if _storage._claimVsSeekerRewardsProto1306 != rhs_storage._claimVsSeekerRewardsProto1306 {return false} - if _storage._vsSeekerRewardEncounterProto1307 != rhs_storage._vsSeekerRewardEncounterProto1307 {return false} - if _storage._activateVsSeekerProto1308 != rhs_storage._activateVsSeekerProto1308 {return false} - if _storage._buddyMapProto1350 != rhs_storage._buddyMapProto1350 {return false} - if _storage._buddyStatsProto1351 != rhs_storage._buddyStatsProto1351 {return false} - if _storage._buddyFeedingProto1352 != rhs_storage._buddyFeedingProto1352 {return false} - if _storage._openBuddyGiftProto1353 != rhs_storage._openBuddyGiftProto1353 {return false} - if _storage._buddyPettingProto1354 != rhs_storage._buddyPettingProto1354 {return false} - if _storage._getBuddyHistoryProto1355 != rhs_storage._getBuddyHistoryProto1355 {return false} - if _storage._updateRouteDraftProto1400 != rhs_storage._updateRouteDraftProto1400 {return false} - if _storage._getMapFortsProto1401 != rhs_storage._getMapFortsProto1401 {return false} - if _storage._submitRouteDraftProto1402 != rhs_storage._submitRouteDraftProto1402 {return false} - if _storage._getPublishedRoutesProto1403 != rhs_storage._getPublishedRoutesProto1403 {return false} - if _storage._startRouteProto1404 != rhs_storage._startRouteProto1404 {return false} - if _storage._getRoutesProto1405 != rhs_storage._getRoutesProto1405 {return false} - if _storage._progressRouteproto1406 != rhs_storage._progressRouteproto1406 {return false} - if _storage._processRouteTappableproto1408 != rhs_storage._processRouteTappableproto1408 {return false} - if _storage._listRouteBadgesProto1409 != rhs_storage._listRouteBadgesProto1409 {return false} - if _storage._cancelRouteProto1410 != rhs_storage._cancelRouteProto1410 {return false} - if _storage._createBuddyMultiplayerSessionProto1456 != rhs_storage._createBuddyMultiplayerSessionProto1456 {return false} - if _storage._joinBuddyMultiplayerSessionProto1457 != rhs_storage._joinBuddyMultiplayerSessionProto1457 {return false} - if _storage._leaveBuddyMultiplayerSessionProto1458 != rhs_storage._leaveBuddyMultiplayerSessionProto1458 {return false} - if _storage._getTodayViewProto1501 != rhs_storage._getTodayViewProto1501 {return false} - if _storage._megaEvolvePokemonProto1502 != rhs_storage._megaEvolvePokemonProto1502 {return false} - if _storage._remoteGiftPingrequestProto1503 != rhs_storage._remoteGiftPingrequestProto1503 {return false} - if _storage._sendRaidInvitationProto1504 != rhs_storage._sendRaidInvitationProto1504 {return false} - if _storage._getDailyEncounterProto1601 != rhs_storage._getDailyEncounterProto1601 {return false} - if _storage._dailyEncounterProto1602 != rhs_storage._dailyEncounterProto1602 {return false} - if _storage._openSponsoredGiftProto1650 != rhs_storage._openSponsoredGiftProto1650 {return false} - if _storage._savePlayerPreferencesProto1652 != rhs_storage._savePlayerPreferencesProto1652 {return false} - if _storage._profanityCheckproto1653 != rhs_storage._profanityCheckproto1653 {return false} - if _storage._getTimedgroupChallengeProto1700 != rhs_storage._getTimedgroupChallengeProto1700 {return false} - if _storage._getNintendoAccountProto1710 != rhs_storage._getNintendoAccountProto1710 {return false} - if _storage._unlinkNintendoAccountProto1711 != rhs_storage._unlinkNintendoAccountProto1711 {return false} - if _storage._getNintendoOAuth2URLProto1712 != rhs_storage._getNintendoOAuth2URLProto1712 {return false} - if _storage._transferPokemontoPokemonHomeProto1713 != rhs_storage._transferPokemontoPokemonHomeProto1713 {return false} - if _storage._reportAdFeedbackrequest1716 != rhs_storage._reportAdFeedbackrequest1716 {return false} - if _storage._createPokemonTagProto1717 != rhs_storage._createPokemonTagProto1717 {return false} - if _storage._deletePokemonTagProto1718 != rhs_storage._deletePokemonTagProto1718 {return false} - if _storage._editPokemonTagProto1719 != rhs_storage._editPokemonTagProto1719 {return false} - if _storage._setPokemonTagsForPokemonProto1720 != rhs_storage._setPokemonTagsForPokemonProto1720 {return false} - if _storage._getPokemonTagsProto1721 != rhs_storage._getPokemonTagsProto1721 {return false} - if _storage._changePokemonFormProto1722 != rhs_storage._changePokemonFormProto1722 {return false} - if _storage._chooseGlobalTicketedEventVariantProto1723 != rhs_storage._chooseGlobalTicketedEventVariantProto1723 {return false} - if _storage._getReferralCodeProto1800 != rhs_storage._getReferralCodeProto1800 {return false} - if _storage._addReferrerProto1801 != rhs_storage._addReferrerProto1801 {return false} - if _storage._sendFriendInviteViaReferralCodeProto1802 != rhs_storage._sendFriendInviteViaReferralCodeProto1802 {return false} - if _storage._getMilestonesProto1803 != rhs_storage._getMilestonesProto1803 {return false} - if _storage._markmilestoneAsViewedProto1804 != rhs_storage._markmilestoneAsViewedProto1804 {return false} - if _storage._getMilestonesPreviewProto1805 != rhs_storage._getMilestonesPreviewProto1805 {return false} - if _storage._completeMilestoneProto1806 != rhs_storage._completeMilestoneProto1806 {return false} - if _storage._getgeofencedAdProto1820 != rhs_storage._getgeofencedAdProto1820 {return false} - if _storage._deletePostcardsProto1909 != rhs_storage._deletePostcardsProto1909 {return false} - if _storage._createPostcardProto1910 != rhs_storage._createPostcardProto1910 {return false} - if _storage._updatePostcardProto1911 != rhs_storage._updatePostcardProto1911 {return false} - if _storage._deletePostcardProto1912 != rhs_storage._deletePostcardProto1912 {return false} - if _storage._getMementoListProto1913 != rhs_storage._getMementoListProto1913 {return false} - if _storage._uploadRaidClientLogProto1914 != rhs_storage._uploadRaidClientLogProto1914 {return false} - if _storage._checkGiftingEligibilityProto2000 != rhs_storage._checkGiftingEligibilityProto2000 {return false} - if _storage._redeemTicketGiftForFriendProto2001 != rhs_storage._redeemTicketGiftForFriendProto2001 {return false} - if _storage._getInsenceRecapProto2002 != rhs_storage._getInsenceRecapProto2002 {return false} - if _storage._getPokestopEncounterProto2005 != rhs_storage._getPokestopEncounterProto2005 {return false} - if _storage._encounterPokestopencounterProto2006 != rhs_storage._encounterPokestopencounterProto2006 {return false} - if _storage._playerSpawnablepokemonproto2007 != rhs_storage._playerSpawnablepokemonproto2007 {return false} - if _storage._sendFriendRequestViaPlayerIDProto2010 != rhs_storage._sendFriendRequestViaPlayerIDProto2010 {return false} - if _storage._getRaidLobbyCounterProto2011 != rhs_storage._getRaidLobbyCounterProto2011 {return false} - if _storage._checkPokemonSizecontestEligibilityProto2100 != rhs_storage._checkPokemonSizecontestEligibilityProto2100 {return false} - if _storage._updatePokemonSizeContestEntryProto2101 != rhs_storage._updatePokemonSizeContestEntryProto2101 {return false} - if _storage._getPokemonSizeContestEntryProto2104 != rhs_storage._getPokemonSizeContestEntryProto2104 {return false} - if _storage._getContestDataProto2105 != rhs_storage._getContestDataProto2105 {return false} - if _storage._getContestsUnclaimedRewardsProto2106 != rhs_storage._getContestsUnclaimedRewardsProto2106 {return false} - if _storage._claimcontestsRewardsProto2107 != rhs_storage._claimcontestsRewardsProto2107 {return false} - if _storage._getEnteredContestProto2108 != rhs_storage._getEnteredContestProto2108 {return false} - if _storage._getVpsEventProto3000 != rhs_storage._getVpsEventProto3000 {return false} - if _storage._updateVpsEventProto3001 != rhs_storage._updateVpsEventProto3001 {return false} - if _storage._pushNotificationRegistryproto5000 != rhs_storage._pushNotificationRegistryproto5000 {return false} - if _storage._updateNotificationProto5002 != rhs_storage._updateNotificationProto5002 {return false} - if _storage._optProto5003 != rhs_storage._optProto5003 {return false} - if _storage._downloadGmTemplatesRequestProto5004 != rhs_storage._downloadGmTemplatesRequestProto5004 {return false} - if _storage._getInventoryProto5005 != rhs_storage._getInventoryProto5005 {return false} - if _storage._redeemPasscoderequestProto5006 != rhs_storage._redeemPasscoderequestProto5006 {return false} - if _storage._pingRequestproto5007 != rhs_storage._pingRequestproto5007 {return false} - if _storage._addLoginactionProto5008 != rhs_storage._addLoginactionProto5008 {return false} - if _storage._removeLoginActionProto5009 != rhs_storage._removeLoginActionProto5009 {return false} - if _storage._listloginActionProto5010 != rhs_storage._listloginActionProto5010 {return false} - if _storage._submitNewPoiProto5011 != rhs_storage._submitNewPoiProto5011 {return false} - if _storage._proxyRequestproto5012 != rhs_storage._proxyRequestproto5012 {return false} - if _storage._getAvailableSubmissionsProto5014 != rhs_storage._getAvailableSubmissionsProto5014 {return false} - if _storage._replaceLoginActionProto5015 != rhs_storage._replaceLoginActionProto5015 {return false} - if _storage._clientTelemetryBatchProto5018 != rhs_storage._clientTelemetryBatchProto5018 {return false} - if _storage._purchaseSkuproto5019 != rhs_storage._purchaseSkuproto5019 {return false} - if _storage._getAvailableSkusAndBalancesProto5020 != rhs_storage._getAvailableSkusAndBalancesProto5020 {return false} - if _storage._redeemGooglereceiptProto5021 != rhs_storage._redeemGooglereceiptProto5021 {return false} - if _storage._redeemApplereceiptProto5022 != rhs_storage._redeemApplereceiptProto5022 {return false} - if _storage._redeemDesktopreceiptProto5023 != rhs_storage._redeemDesktopreceiptProto5023 {return false} - if _storage._fitnessUpdateProto5024 != rhs_storage._fitnessUpdateProto5024 {return false} - if _storage._getFitnessReportProto5025 != rhs_storage._getFitnessReportProto5025 {return false} - if _storage._clientTelemetrySettingsRequestProto5026 != rhs_storage._clientTelemetrySettingsRequestProto5026 {return false} - if _storage._registerBackgroundServicerequestProto5028 != rhs_storage._registerBackgroundServicerequestProto5028 {return false} - if _storage._setInGameCurrencyExchangeRateProto5032 != rhs_storage._setInGameCurrencyExchangeRateProto5032 {return false} - if _storage._geofenceUpdateProto5033 != rhs_storage._geofenceUpdateProto5033 {return false} - if _storage._locationPingProto5034 != rhs_storage._locationPingProto5034 {return false} - if _storage._generategmapSignedURLProto5035 != rhs_storage._generategmapSignedURLProto5035 {return false} - if _storage._getgmapSettingsProto5036 != rhs_storage._getgmapSettingsProto5036 {return false} - if _storage._redeemSamsungreceiptProto5037 != rhs_storage._redeemSamsungreceiptProto5037 {return false} - if _storage._submitPoiImageProto5041 != rhs_storage._submitPoiImageProto5041 {return false} - if _storage._submitPoiTextMetadataUpdateProto5042 != rhs_storage._submitPoiTextMetadataUpdateProto5042 {return false} - if _storage._submitPoiLocationUpdateProto5043 != rhs_storage._submitPoiLocationUpdateProto5043 {return false} - if _storage._submitPoiTakedownRequestProto5044 != rhs_storage._submitPoiTakedownRequestProto5044 {return false} - if _storage._getWebTokenProto5045 != rhs_storage._getWebTokenProto5045 {return false} - if _storage._getAdventureSyncSettingsRequestProto5046 != rhs_storage._getAdventureSyncSettingsRequestProto5046 {return false} - if _storage._updateAdventureSyncSettingsRequestProto5047 != rhs_storage._updateAdventureSyncSettingsRequestProto5047 {return false} - if _storage._searchPlayerProto10000 != rhs_storage._searchPlayerProto10000 {return false} - if _storage._sendFriendInviteProto10002 != rhs_storage._sendFriendInviteProto10002 {return false} - if _storage._cancelFriendInviteProto10003 != rhs_storage._cancelFriendInviteProto10003 {return false} - if _storage._acceptFriendInviteProto10004 != rhs_storage._acceptFriendInviteProto10004 {return false} - if _storage._declineFriendInviteProto10005 != rhs_storage._declineFriendInviteProto10005 {return false} - if _storage._getFriendsListProto10006 != rhs_storage._getFriendsListProto10006 {return false} - if _storage._getOutgoingFriendInvitesProto10007 != rhs_storage._getOutgoingFriendInvitesProto10007 {return false} - if _storage._getIncomingFriendInvitesProto10008 != rhs_storage._getIncomingFriendInvitesProto10008 {return false} - if _storage._removeFriendProto10009 != rhs_storage._removeFriendProto10009 {return false} - if _storage._getFriendDetailsProto10010 != rhs_storage._getFriendDetailsProto10010 {return false} - if _storage._inviteFacebookFriendProto10011 != rhs_storage._inviteFacebookFriendProto10011 {return false} - if _storage._isMyFriendProto10012 != rhs_storage._isMyFriendProto10012 {return false} - if _storage._getFriendCodeProto10013 != rhs_storage._getFriendCodeProto10013 {return false} - if _storage._getFacebookFriendListProto10014 != rhs_storage._getFacebookFriendListProto10014 {return false} - if _storage._updateFacebookStatusProto10015 != rhs_storage._updateFacebookStatusProto10015 {return false} - if _storage._savesocialPlayersettingsProto10016 != rhs_storage._savesocialPlayersettingsProto10016 {return false} - if _storage._getPlayerSettingsProto10017 != rhs_storage._getPlayerSettingsProto10017 {return false} - if _storage._setAccountsettingsProto10021 != rhs_storage._setAccountsettingsProto10021 {return false} - if _storage._getAccountSettingsProto10022 != rhs_storage._getAccountSettingsProto10022 {return false} - if _storage._addFavoriteFriendRequest10023 != rhs_storage._addFavoriteFriendRequest10023 {return false} - if _storage._removeFavoriteFriendrequest10024 != rhs_storage._removeFavoriteFriendrequest10024 {return false} - if _storage._blockAccountProto10025 != rhs_storage._blockAccountProto10025 {return false} - if _storage._unblockAccountProto10026 != rhs_storage._unblockAccountProto10026 {return false} - if _storage._getOutgoingBlocksProto10027 != rhs_storage._getOutgoingBlocksProto10027 {return false} - if _storage._isAccountBlockedProto10028 != rhs_storage._isAccountBlockedProto10028 {return false} - if _storage._pushNotificationRegistryproto10101 != rhs_storage._pushNotificationRegistryproto10101 {return false} - if _storage._updateNotificationProto10103 != rhs_storage._updateNotificationProto10103 {return false} - if _storage._optProto10104 != rhs_storage._optProto10104 {return false} - if _storage._getInboxV2Proto10105 != rhs_storage._getInboxV2Proto10105 {return false} - if _storage._getSignedURLProto10201 != rhs_storage._getSignedURLProto10201 {return false} - if _storage._submitImageProto10202 != rhs_storage._submitImageProto10202 {return false} - if _storage._getPhotosProto10203 != rhs_storage._getPhotosProto10203 {return false} - if _storage._deletePhotoProto10204 != rhs_storage._deletePhotoProto10204 {return false} - if _storage._flagPhotoRequest10205 != rhs_storage._flagPhotoRequest10205 {return false} - if _storage._updateProfileRequest20001 != rhs_storage._updateProfileRequest20001 {return false} - if _storage._updateFriendshipRequest20002 != rhs_storage._updateFriendshipRequest20002 {return false} - if _storage._getProfileRequest20003 != rhs_storage._getProfileRequest20003 {return false} - if _storage._inviteGameRequest20004 != rhs_storage._inviteGameRequest20004 {return false} - if _storage._listFriendsRequest20006 != rhs_storage._listFriendsRequest20006 {return false} - if _storage._getFriendDetailsProto20007 != rhs_storage._getFriendDetailsProto20007 {return false} - if _storage._getClientFeatureFlagsRequest20008 != rhs_storage._getClientFeatureFlagsRequest20008 {return false} - if _storage._getIncominggameInvitesRequest20010 != rhs_storage._getIncominggameInvitesRequest20010 {return false} - if _storage._updateIncomingGameInviteRequest20011 != rhs_storage._updateIncomingGameInviteRequest20011 {return false} - if _storage._dismissOutgoingGameInvitesRequest20012 != rhs_storage._dismissOutgoingGameInvitesRequest20012 {return false} - if _storage._syncContactListRequest20013 != rhs_storage._syncContactListRequest20013 {return false} - if _storage._sendContactListFriendInviteRequest20014 != rhs_storage._sendContactListFriendInviteRequest20014 {return false} - if _storage._referContactListFriendrequest20015 != rhs_storage._referContactListFriendrequest20015 {return false} - if _storage._getContactListInfoRequest20016 != rhs_storage._getContactListInfoRequest20016 {return false} - if _storage._dismissContactListUpdateRequest20017 != rhs_storage._dismissContactListUpdateRequest20017 {return false} - if _storage._notifyContactListFriendsRequest20018 != rhs_storage._notifyContactListFriendsRequest20018 {return false} - if _storage._getFriendRecommendationRequest20500 != rhs_storage._getFriendRecommendationRequest20500 {return false} - if _storage._registerBackgroundServicerequestProto230000 != rhs_storage._registerBackgroundServicerequestProto230000 {return false} - if _storage._getAdventureSyncProgressProto230002 != rhs_storage._getAdventureSyncProgressProto230002 {return false} - if _storage._purchaseSkuproto310000 != rhs_storage._purchaseSkuproto310000 {return false} - if _storage._getAvailableSkusAndBalancesProto310001 != rhs_storage._getAvailableSkusAndBalancesProto310001 {return false} - if _storage._setInGameCurrencyExchangeRateProto310002 != rhs_storage._setInGameCurrencyExchangeRateProto310002 {return false} - if _storage._redeemGooglereceiptProto310100 != rhs_storage._redeemGooglereceiptProto310100 {return false} - if _storage._redeemApplereceiptProto310101 != rhs_storage._redeemApplereceiptProto310101 {return false} - if _storage._redeemDesktopreceiptProto310102 != rhs_storage._redeemDesktopreceiptProto310102 {return false} - if _storage._redeemSamsungreceiptProto310103 != rhs_storage._redeemSamsungreceiptProto310103 {return false} - if _storage._getAvailableSubscriptionsRequestProto310200 != rhs_storage._getAvailableSubscriptionsRequestProto310200 {return false} - if _storage._getActiveSubscriptionsRequestProto310201 != rhs_storage._getActiveSubscriptionsRequestProto310201 {return false} - if _storage._geofenceUpdateProto360000 != rhs_storage._geofenceUpdateProto360000 {return false} - if _storage._locationPingProto360001 != rhs_storage._locationPingProto360001 {return false} - if _storage._updateBreadcrumbHistoryRequestProto361000 != rhs_storage._updateBreadcrumbHistoryRequestProto361000 {return false} - if _storage._refreshProximityTokensrequestProto362000 != rhs_storage._refreshProximityTokensrequestProto362000 {return false} - if _storage._reportProximityContactsrequestProto362001 != rhs_storage._reportProximityContactsrequestProto362001 {return false} - if _storage._getgameAccessTokenProto600005 != rhs_storage._getgameAccessTokenProto600005 {return false} - if _storage._submitNewPoiProto620000 != rhs_storage._submitNewPoiProto620000 {return false} - if _storage._getAvailableSubmissionsProto620001 != rhs_storage._getAvailableSubmissionsProto620001 {return false} - if _storage._getPlayerSubmissionValidationSettingsProto620003 != rhs_storage._getPlayerSubmissionValidationSettingsProto620003 {return false} - if _storage._submitPoiImageProto620100 != rhs_storage._submitPoiImageProto620100 {return false} - if _storage._submitPoiTextMetadataUpdateProto620101 != rhs_storage._submitPoiTextMetadataUpdateProto620101 {return false} - if _storage._submitPoiLocationUpdateProto620102 != rhs_storage._submitPoiLocationUpdateProto620102 {return false} - if _storage._submitPoiTakedownRequestProto620103 != rhs_storage._submitPoiTakedownRequestProto620103 {return false} - if _storage._submitsponsorPoiReportProto620104 != rhs_storage._submitsponsorPoiReportProto620104 {return false} - if _storage._submitsponsorPoiLocationUpdateProto620105 != rhs_storage._submitsponsorPoiLocationUpdateProto620105 {return false} - if _storage._submitPoiCategoryVoteRecordProto620106 != rhs_storage._submitPoiCategoryVoteRecordProto620106 {return false} - if _storage._generategmapSignedURLProto620300 != rhs_storage._generategmapSignedURLProto620300 {return false} - if _storage._getgmapSettingsProto620301 != rhs_storage._getgmapSettingsProto620301 {return false} - if _storage._poiVideoSubmissionMetadataproto620400 != rhs_storage._poiVideoSubmissionMetadataproto620400 {return false} - if _storage._getgrapeshotUploadURLProto620401 != rhs_storage._getgrapeshotUploadURLProto620401 {return false} - if _storage._asyncFileUploadCompleteProto620402 != rhs_storage._asyncFileUploadCompleteProto620402 {return false} - if _storage._getARMappingSettingsProto620403 != rhs_storage._getARMappingSettingsProto620403 {return false} - if _storage._getImagesForPoiProto620500 != rhs_storage._getImagesForPoiProto620500 {return false} - if _storage._submitPlayerImageVoteForPoiProto620501 != rhs_storage._submitPlayerImageVoteForPoiProto620501 {return false} - if _storage._getImagegallerySettingsProto620502 != rhs_storage._getImagegallerySettingsProto620502 {return false} - if _storage._getMapDataProto620600 != rhs_storage._getMapDataProto620600 {return false} - if _storage._getPoisInRadiusProto620601 != rhs_storage._getPoisInRadiusProto620601 {return false} - if _storage._fitnessUpdateProto640000 != rhs_storage._fitnessUpdateProto640000 {return false} - if _storage._getFitnessReportProto640001 != rhs_storage._getFitnessReportProto640001 {return false} - if _storage._getAdventureSyncSettingsRequestProto640002 != rhs_storage._getAdventureSyncSettingsRequestProto640002 {return false} - if _storage._updateAdventureSyncSettingsRequestProto640003 != rhs_storage._updateAdventureSyncSettingsRequestProto640003 {return false} - if _storage._updateAdventureSyncFitnessRequestProto640004 != rhs_storage._updateAdventureSyncFitnessRequestProto640004 {return false} - if _storage._getAdventureSyncFitnessReportRequestProto640005 != rhs_storage._getAdventureSyncFitnessReportRequestProto640005 {return false} - return true + public static func ==(lhs: ARDKGenerateGmapSignedUrlProto, rhs: ARDKGenerateGmapSignedUrlProto) -> Bool { + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.width != rhs.width {return false} + if lhs.height != rhs.height {return false} + if lhs.zoom != rhs.zoom {return false} + if lhs.languageCode != rhs.languageCode {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.mapStyle != rhs.mapStyle {return false} + if lhs.mapType != rhs.mapType {return false} + if lhs.iconParams != rhs.iconParams {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetARMappingSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetARMappingSettingsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "is_client_scan_validation_enabled"), + 2: .standard(proto: "client_scan_validation_blocked_os"), + 3: .standard(proto: "client_scan_validation_blocked_device_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.isClientScanValidationEnabled) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.clientScanValidationBlockedOs) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.clientScanValidationBlockedDeviceID) }() + default: break } - if !storagesAreEqual {return false} } + } + + public func traverse(visitor: inout V) throws { + if self.isClientScanValidationEnabled != false { + try visitor.visitSingularBoolField(value: self.isClientScanValidationEnabled, fieldNumber: 1) + } + if !self.clientScanValidationBlockedOs.isEmpty { + try visitor.visitRepeatedStringField(value: self.clientScanValidationBlockedOs, fieldNumber: 2) + } + if !self.clientScanValidationBlockedDeviceID.isEmpty { + try visitor.visitRepeatedStringField(value: self.clientScanValidationBlockedDeviceID, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetARMappingSettingsOutProto, rhs: ARDKGetARMappingSettingsOutProto) -> Bool { + if lhs.isClientScanValidationEnabled != rhs.isClientScanValidationEnabled {return false} + if lhs.clientScanValidationBlockedOs != rhs.clientScanValidationBlockedOs {return false} + if lhs.clientScanValidationBlockedDeviceID != rhs.clientScanValidationBlockedDeviceID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AllTypesAndMessagesResponsesProto.AllResponsesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AllTypesAndMessagesResponsesProto.protoMessageName + ".AllResponsesProto" +extension ARDKGetARMappingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetARMappingSettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetARMappingSettingsProto, rhs: ARDKGetARMappingSettingsProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetAvailableSubmissionsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetAvailableSubmissionsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "get_player_out_proto_2"), - 4: .standard(proto: "get_holoholo_inventory_out_proto_4"), - 5: .standard(proto: "download_settings_response_proto_5"), - 6: .standard(proto: "getgame_master_client_templates_out_proto_6"), - 7: .standard(proto: "get_remote_config_versions_out_proto_7"), - 8: .standard(proto: "register_background_deviceresponse_proto_8"), - 9: .standard(proto: "get_player_day_out_proto_9"), - 10: .standard(proto: "acknowledge_punishment_out_proto_10"), - 11: .standard(proto: "get_server_time_out_proto_11"), - 12: .standard(proto: "get_local_time_out_proto_12"), - 101: .standard(proto: "fort_search_out_proto_101"), - 102: .standard(proto: "encounter_out_proto_102"), - 103: .standard(proto: "catch_pokemon_out_proto_103"), - 104: .standard(proto: "fort_details_out_proto_104"), - 106: .standard(proto: "get_map_objects_out_proto_106"), - 110: .standard(proto: "fort_deploy_out_proto_110"), - 111: .standard(proto: "fort_recall_out_proto_111"), - 112: .standard(proto: "release_pokemon_out_proto_112"), - 113: .standard(proto: "use_item_potion_out_proto_113"), - 114: .standard(proto: "use_item_capture_out_proto_114"), - 116: .standard(proto: "use_item_revive_out_proto_116"), - 121: .standard(proto: "playerprofile_outproto_121"), - 125: .standard(proto: "evolve_pokemon_out_proto_125"), - 126: .standard(proto: "get_hatched_eggs_out_proto_126"), - 127: .standard(proto: "encounter_tutorial_complete_out_proto_127"), - 128: .standard(proto: "level_up_rewards_out_proto_128"), - 129: .standard(proto: "check_awarded_badges_out_proto_129"), - 137: .standard(proto: "recycle_item_out_proto_137"), - 138: .standard(proto: "collect_daily_bonus_out_proto_138"), - 139: .standard(proto: "use_item_xp_boost_out_proto_139"), - 140: .standard(proto: "use_item_egg_incubator_out_proto_140"), - 141: .standard(proto: "use_incense_action_out_proto_141"), - 142: .standard(proto: "get_incense_pokemon_out_proto_142"), - 143: .standard(proto: "incense_encounter_out_proto_143"), - 144: .standard(proto: "add_fort_modifier_out_proto_144"), - 145: .standard(proto: "disk_encounter_out_proto_145"), - 147: .standard(proto: "upgrade_pokemon_out_proto_147"), - 148: .standard(proto: "set_favorite_pokemon_out_proto_148"), - 149: .standard(proto: "nickname_pokemon_out_proto_149"), - 150: .standard(proto: "equip_badge_out_proto_150"), - 151: .standard(proto: "set_contactsettings_out_proto_151"), - 152: .standard(proto: "set_buddy_pokemon_out_proto_152"), - 153: .standard(proto: "get_buddy_walked_out_proto_153"), - 154: .standard(proto: "use_item_encounter_out_proto_154"), - 155: .standard(proto: "gym_deploy_out_proto_155"), - 156: .standard(proto: "gymget_info_out_proto_156"), - 157: .standard(proto: "gym_start_session_out_proto_157"), - 158: .standard(proto: "gym_battle_attack_out_proto_158"), - 159: .standard(proto: "join_lobby_out_proto_159"), - 160: .standard(proto: "leavelobby_out_proto_160"), - 161: .standard(proto: "set_lobby_visibility_out_proto_161"), - 162: .standard(proto: "set_lobby_pokemon_out_proto_162"), - 163: .standard(proto: "get_raid_details_out_proto_163"), - 164: .standard(proto: "gym_feed_pokemon_out_proto_164"), - 165: .standard(proto: "start_raid_battle_out_proto_165"), - 166: .standard(proto: "attack_raid_battle_out_proto_166"), - 168: .standard(proto: "use_item_stardust_boost_out_proto_168"), - 169: .standard(proto: "reassign_player_out_proto_169"), - 171: .standard(proto: "convertcandy_to_xlcandy_out_proto_171"), - 172: .standard(proto: "is_sku_available_out_proto_172"), - 300: .standard(proto: "asset_digest_out_proto_300"), - 301: .standard(proto: "download_url_out_proto_301"), - 302: .standard(proto: "asset_version_out_proto_302"), - 403: .standard(proto: "codename_result_proto_403"), - 404: .standard(proto: "set_avatar_out_proto_404"), - 405: .standard(proto: "set_player_team_out_proto_405"), - 406: .standard(proto: "mark_tutorial_complete_out_proto_406"), - 408: .standard(proto: "set_neutral_avatar_out_proto_408"), - 600: .standard(proto: "checkchallenge_out_proto_600"), - 601: .standard(proto: "verify_challenge_out_proto_601"), - 666: .standard(proto: "echo_out_proto_666"), - 800: .standard(proto: "register_sfidaresponse_800"), - 802: .standard(proto: "sfida_certification_response_802"), - 803: .standard(proto: "sfida_update_response_803"), - 805: .standard(proto: "sfida_dowser_response_805"), - 806: .standard(proto: "sfida_capture_response_806"), - 807: .standard(proto: "list_avatar_customizations_out_proto_807"), - 808: .standard(proto: "set_avatar_item_as_viewed_out_proto_808"), - 809: .standard(proto: "get_inbox_out_proto_809"), - 811: .standard(proto: "list_gym_badges_out_proto_811"), - 812: .standard(proto: "getgym_badge_details_out_proto_812"), - 813: .standard(proto: "use_item_move_reroll_out_proto_813"), - 814: .standard(proto: "use_item_rare_candy_out_proto_814"), - 815: .standard(proto: "award_free_raid_ticket_out_proto_815"), - 816: .standard(proto: "fetch_all_news_out_proto_816"), - 817: .standard(proto: "mark_read_news_article_out_proto_817"), - 818: .standard(proto: "get_player_settings_out_proto_818"), - 819: .standard(proto: "beluga_transaction_start_out_proto_819"), - 820: .standard(proto: "beluga_transaction_complete_out_proto_820"), - 822: .standard(proto: "sfida_associate_response_822"), - 823: .standard(proto: "sfida_check_pairing_response_823"), - 824: .standard(proto: "sfida_disassociate_response_824"), - 825: .standard(proto: "waina_get_rewards_response_825"), - 826: .standard(proto: "waina_submit_sleep_data_response_826"), - 900: .standard(proto: "get_new_quests_out_proto_900"), - 901: .standard(proto: "get_quest_details_out_proto_901"), - 902: .standard(proto: "complete_quest_out_proto_902"), - 903: .standard(proto: "remove_quest_out_proto_903"), - 904: .standard(proto: "quest_encounter_out_proto_904"), - 906: .standard(proto: "progress_quest_outproto_906"), - 950: .standard(proto: "send_gift_out_proto_950"), - 951: .standard(proto: "open_giftout_proto_951"), - 952: .standard(proto: "getgift_box_details_out_proto_952"), - 953: .standard(proto: "delete_gift_out_proto_953"), - 954: .standard(proto: "save_playersnapshot_out_proto_954"), - 956: .standard(proto: "check_send_gift_out_proto_956"), - 957: .standard(proto: "set_friend_nickname_out_proto_957"), - 958: .standard(proto: "delete_gift_from_inventory_out_proto_958"), - 959: .standard(proto: "savesocial_playersettings_out_proto_959"), - 960: .standard(proto: "share_ex_raid_pass_out_proto_960"), - 961: .standard(proto: "check_share_ex_raid_pass_out_proto_961"), - 962: .standard(proto: "decline_ex_raid_pass_out_proto_962"), - 970: .standard(proto: "open_tradingout_proto_970"), - 971: .standard(proto: "update_trading_out_proto_971"), - 972: .standard(proto: "confirm_trading_out_proto_972"), - 973: .standard(proto: "cancel_trading_out_proto_973"), - 974: .standard(proto: "get_trading_out_proto_974"), - 980: .standard(proto: "get_fitness_rewards_out_proto_980"), - 990: .standard(proto: "get_combat_player_profile_out_proto_990"), - 991: .standard(proto: "generate_combat_challenge_id_out_proto_991"), - 992: .standard(proto: "createcombatchallenge_out_proto_992"), - 993: .standard(proto: "open_combat_challengeout_proto_993"), - 994: .standard(proto: "get_combat_challenge_out_proto_994"), - 995: .standard(proto: "accept_combat_challenge_out_proto_995"), - 996: .standard(proto: "decline_combat_challenge_out_proto_996"), - 997: .standard(proto: "cancelcombatchallenge_out_proto_997"), - 998: .standard(proto: "submit_combat_challenge_pokemons_out_proto_998"), - 999: .standard(proto: "save_combat_player_preferences_out_proto_999"), - 1000: .standard(proto: "open_combat_sessionout_proto_1000"), - 1001: .standard(proto: "update_combat_out_proto_1001"), - 1002: .standard(proto: "quit_combat_out_proto_1002"), - 1003: .standard(proto: "get_combat_results_out_proto_1003"), - 1004: .standard(proto: "unlock_pokemon_move_out_proto_1004"), - 1005: .standard(proto: "get_npc_combat_rewards_out_proto_1005"), - 1006: .standard(proto: "combat_friend_request_out_proto_1006"), - 1007: .standard(proto: "open_npc_combat_sessionout_proto_1007"), - 1008: .standard(proto: "start_tutorial_out_proto_1008"), - 1009: .standard(proto: "get_tutorial_egg_out_proto_1009"), - 1020: .standard(proto: "send_probe_out_proto_1020"), - 1101: .standard(proto: "check_photobomb_out_proto_1101"), - 1102: .standard(proto: "confirm_photobomb_out_proto_1102"), - 1103: .standard(proto: "get_photobomb_out_proto_1103"), - 1104: .standard(proto: "encounter_photobomb_out_proto_1104"), - 1105: .standard(proto: "getgmap_settings_out_proto_1105"), - 1106: .standard(proto: "change_team_out_proto_1106"), - 1107: .standard(proto: "get_web_token_out_proto_1107"), - 1110: .standard(proto: "complete_snapshot_session_out_proto_1110"), - 1111: .standard(proto: "complete_wild_snapshot_session_out_proto_1111"), - 1200: .standard(proto: "start_incident_out_proto_1200"), - 1201: .standard(proto: "complete_invasion_dialogue_out_proto_1201"), - 1202: .standard(proto: "open_invasion_combat_sessionout_proto_1202"), - 1203: .standard(proto: "update_invasion_battle_out_proto_1203"), - 1204: .standard(proto: "invasion_encounter_out_proto_1204"), - 1205: .standard(proto: "purifypokemon_outproto_1205"), - 1206: .standard(proto: "get_rocket_balloon_out_proto_1206"), - 1300: .standard(proto: "vs_seeker_start_matchmaking_out_proto_1300"), - 1301: .standard(proto: "cancel_matchmaking_out_proto_1301"), - 1302: .standard(proto: "get_matchmaking_status_out_proto_1302"), - 1303: .standard(proto: "complete_vs_seeker_and_restartcharging_out_proto_1303"), - 1304: .standard(proto: "get_vs_seeker_status_out_proto_1304"), - 1305: .standard(proto: "completecompetitive_season_out_proto_1305"), - 1306: .standard(proto: "claim_vs_seeker_rewards_out_proto_1306"), - 1307: .standard(proto: "vs_seeker_reward_encounter_out_proto_1307"), - 1308: .standard(proto: "activate_vs_seeker_out_proto_1308"), - 1350: .standard(proto: "buddy_map_out_proto_1350"), - 1351: .standard(proto: "buddy_stats_out_proto_1351"), - 1352: .standard(proto: "buddy_feeding_out_proto_1352"), - 1353: .standard(proto: "open_buddy_giftout_proto_1353"), - 1354: .standard(proto: "buddy_petting_out_proto_1354"), - 1355: .standard(proto: "get_buddy_history_out_proto_1355"), - 1400: .standard(proto: "update_route_draft_out_proto_1400"), - 1401: .standard(proto: "get_map_forts_out_proto_1401"), - 1402: .standard(proto: "submit_route_draft_out_proto_1402"), - 1403: .standard(proto: "get_published_routes_out_proto_1403"), - 1404: .standard(proto: "start_route_out_proto_1404"), - 1405: .standard(proto: "get_routes_out_proto_1405"), - 1406: .standard(proto: "progress_route_outproto_1406"), - 1408: .standard(proto: "process_route_tappable_outproto_1408"), - 1409: .standard(proto: "list_route_badges_out_proto_1409"), - 1410: .standard(proto: "cancel_route_out_proto_1410"), - 1456: .standard(proto: "create_buddy_multiplayer_session_out_proto_1456"), - 1457: .standard(proto: "join_buddy_multiplayer_session_out_proto_1457"), - 1458: .standard(proto: "leave_buddy_multiplayer_session_out_proto_1458"), - 1501: .standard(proto: "get_today_view_out_proto_1501"), - 1502: .standard(proto: "mega_evolve_pokemon_out_proto_1502"), - 1503: .standard(proto: "remote_gift_pingresponse_proto_1503"), - 1504: .standard(proto: "send_raid_invitation_out_proto_1504"), - 1601: .standard(proto: "get_daily_encounter_out_proto_1601"), - 1602: .standard(proto: "daily_encounter_out_proto_1602"), - 1650: .standard(proto: "open_sponsored_giftout_proto_1650"), - 1652: .standard(proto: "save_player_preferences_out_proto_1652"), - 1653: .standard(proto: "profanity_check_outproto_1653"), - 1700: .standard(proto: "get_timedgroup_challenge_out_proto_1700"), - 1710: .standard(proto: "get_nintendo_account_out_proto_1710"), - 1711: .standard(proto: "unlink_nintendo_account_out_proto_1711"), - 1712: .standard(proto: "get_nintendo_o_auth2_url_out_proto_1712"), - 1713: .standard(proto: "transfer_pokemonto_pokemon_home_out_proto_1713"), - 1716: .standard(proto: "report_ad_feedbackresponse_1716"), - 1717: .standard(proto: "create_pokemon_tag_out_proto_1717"), - 1718: .standard(proto: "delete_pokemon_tag_out_proto_1718"), - 1719: .standard(proto: "edit_pokemon_tag_out_proto_1719"), - 1720: .standard(proto: "set_pokemon_tags_for_pokemon_out_proto_1720"), - 1721: .standard(proto: "get_pokemon_tags_out_proto_1721"), - 1722: .standard(proto: "change_pokemon_form_out_proto_1722"), - 1723: .standard(proto: "choose_global_ticketed_event_variant_out_proto_1723"), - 1800: .standard(proto: "get_referral_code_out_proto_1800"), - 1801: .standard(proto: "add_referrer_out_proto_1801"), - 1802: .standard(proto: "send_friend_invite_via_referral_code_out_proto_1802"), - 1803: .standard(proto: "get_milestones_out_proto_1803"), - 1804: .standard(proto: "markmilestone_as_viewed_out_proto_1804"), - 1805: .standard(proto: "get_milestones_preview_out_proto_1805"), - 1806: .standard(proto: "complete_milestone_out_proto_1806"), - 1820: .standard(proto: "getgeofenced_ad_out_proto_1820"), - 1909: .standard(proto: "delete_postcards_out_proto_1909"), - 1910: .standard(proto: "create_postcard_out_proto_1910"), - 1911: .standard(proto: "update_postcard_out_proto_1911"), - 1912: .standard(proto: "delete_postcard_out_proto_1912"), - 1913: .standard(proto: "get_memento_list_out_proto_1913"), - 1914: .standard(proto: "upload_raid_client_log_out_proto_1914"), - 2000: .standard(proto: "check_gifting_eligibility_out_proto_2000"), - 2001: .standard(proto: "redeem_ticket_gift_for_friend_out_proto_2001"), - 2002: .standard(proto: "get_insence_recap_out_proto_2002"), - 2003: .standard(proto: "get_ackwowledge_insence_recap_out_proto_2003"), - 2005: .standard(proto: "get_pokestop_encounter_out_proto_2005"), - 2006: .standard(proto: "encounter_pokestopencounter_out_proto_2006"), - 2007: .standard(proto: "player_spawnablepokemon_outproto_2007"), - 2010: .standard(proto: "send_friend_request_via_player_id_out_proto_2010"), - 2011: .standard(proto: "get_raid_lobby_counter_out_proto_2011"), - 2101: .standard(proto: "update_pokemon_size_contest_entry_out_proto_2101"), - 2104: .standard(proto: "get_pokemon_size_contest_entry_out_proto_2104"), - 2105: .standard(proto: "get_contest_data_out_proto_2105"), - 2106: .standard(proto: "get_contests_unclaimed_rewards_out_proto_2106"), - 2107: .standard(proto: "claimcontests_rewards_out_proto_2107"), - 2108: .standard(proto: "get_entered_contest_out_proto_2108"), - 2302: .standard(proto: "start_party_out_proto_2302"), - 3000: .standard(proto: "get_vps_event_out_proto_3000"), - 3001: .standard(proto: "update_vps_event_out_proto_3001"), - 5000: .standard(proto: "push_notification_registry_outproto_5000"), - 5002: .standard(proto: "update_notification_out_proto_5002"), - 5003: .standard(proto: "optout_proto_5003"), - 5004: .standard(proto: "download_gm_templates_response_proto_5004"), - 5005: .standard(proto: "get_inventory_response_proto_5005"), - 5006: .standard(proto: "redeem_passcoderesponse_proto_5006"), - 5007: .standard(proto: "ping_responseproto_5007"), - 5008: .standard(proto: "add_loginaction_out_proto_5008"), - 5009: .standard(proto: "remove_login_action_out_proto_5009"), - 5010: .standard(proto: "listlogin_action_out_proto_5010"), - 5011: .standard(proto: "submit_new_poi_out_proto_5011"), - 5012: .standard(proto: "proxy_responseproto_5012"), - 5014: .standard(proto: "get_available_submissions_out_proto_5014"), - 5015: .standard(proto: "replace_login_action_out_proto_5015"), - 5018: .standard(proto: "client_telemetry_batch_out_proto_5018"), - 5019: .standard(proto: "purchase_sku_outproto_5019"), - 5020: .standard(proto: "get_available_skus_and_balances_out_proto_5020"), - 5021: .standard(proto: "redeem_googlereceipt_out_proto_5021"), - 5022: .standard(proto: "redeem_applereceipt_out_proto_5022"), - 5023: .standard(proto: "redeem_desktopreceipt_out_proto_5023"), - 5024: .standard(proto: "fitness_update_out_proto_5024"), - 5025: .standard(proto: "get_fitness_report_out_proto_5025"), - 5026: .standard(proto: "client_telemetryclient_settings_proto_5026"), - 5028: .standard(proto: "register_background_serviceresponse_proto_5028"), - 5032: .standard(proto: "set_in_game_currency_exchange_rate_out_proto_5032"), - 5033: .standard(proto: "geofence_update_out_proto_5033"), - 5034: .standard(proto: "location_ping_out_proto_5034"), - 5035: .standard(proto: "generategmap_signed_url_out_proto_5035"), - 5036: .standard(proto: "getgmap_settings_out_proto_5036"), - 5037: .standard(proto: "redeem_samsungreceipt_out_proto_5037"), - 5045: .standard(proto: "get_web_token_out_proto_5045"), - 5046: .standard(proto: "get_adventure_sync_settings_response_proto_5046"), - 5047: .standard(proto: "update_adventure_sync_settings_response_proto_5047"), - 10000: .standard(proto: "search_player_out_proto_10000"), - 10002: .standard(proto: "send_friend_invite_out_proto_10002"), - 10003: .standard(proto: "cancel_friend_invite_out_proto_10003"), - 10004: .standard(proto: "accept_friend_invite_out_proto_10004"), - 10005: .standard(proto: "decline_friend_invite_out_proto_10005"), - 10006: .standard(proto: "get_friends_list_out_proto_10006"), - 10007: .standard(proto: "get_outgoing_friend_invites_out_proto_10007"), - 10008: .standard(proto: "get_incoming_friend_invites_out_proto_10008"), - 10009: .standard(proto: "remove_friend_out_proto_10009"), - 10010: .standard(proto: "get_friend_details_out_proto_10010"), - 10011: .standard(proto: "invite_facebook_friend_out_proto_10011"), - 10012: .standard(proto: "is_my_friend_out_proto_10012"), - 10013: .standard(proto: "get_friend_code_out_proto_10013"), - 10014: .standard(proto: "get_facebook_friend_list_out_proto_10014"), - 10015: .standard(proto: "update_facebook_status_out_proto_10015"), - 10016: .standard(proto: "savesocial_playersettings_out_proto_10016"), - 10017: .standard(proto: "get_player_settings_out_proto_10017"), - 10021: .standard(proto: "set_accountsettings_out_proto_10021"), - 10022: .standard(proto: "get_account_settings_out_proto_10022"), - 10023: .standard(proto: "add_favorite_friend_response_10023"), - 10024: .standard(proto: "remove_favorite_friendresponse_10024"), - 10025: .standard(proto: "block_account_out_proto_10025"), - 10026: .standard(proto: "unblock_account_out_proto_10026"), - 10027: .standard(proto: "get_outgoing_blocks_out_proto_10027"), - 10028: .standard(proto: "is_account_blocked_out_proto_10028"), - 10101: .standard(proto: "push_notification_registry_outproto_10101"), - 10103: .standard(proto: "update_notification_out_proto_10103"), - 10104: .standard(proto: "optout_proto_10104"), - 10105: .standard(proto: "get_inbox_out_proto_10105"), - 10201: .standard(proto: "get_signed_url_out_proto_10201"), - 10202: .standard(proto: "submit_image_out_proto_10202"), - 10203: .standard(proto: "get_photos_out_proto_10203"), - 10204: .standard(proto: "delete_photo_out_proto_10204"), - 10205: .standard(proto: "flag_photo_response_10205"), - 20001: .standard(proto: "update_profile_response_20001"), - 20002: .standard(proto: "update_friendship_response_20002"), - 20003: .standard(proto: "get_profile_response_20003"), - 20004: .standard(proto: "invite_game_response_20004"), - 20006: .standard(proto: "list_friends_response_20006"), - 20007: .standard(proto: "get_friend_details_out_proto_20007"), - 20008: .standard(proto: "get_client_feature_flags_response_20008"), - 20010: .standard(proto: "get_incominggame_invites_response_20010"), - 20011: .standard(proto: "update_incoming_game_invite_response_20011"), - 20012: .standard(proto: "dismiss_outgoing_game_invites_response_20012"), - 20013: .standard(proto: "sync_contact_list_response_20013"), - 20014: .standard(proto: "send_contact_list_friend_invite_response_20014"), - 20015: .standard(proto: "refer_contact_list_friendresponse_20015"), - 20016: .standard(proto: "get_contact_list_info_response_20016"), - 20017: .standard(proto: "dismiss_contact_list_update_response_20017"), - 20018: .standard(proto: "notify_contact_list_friends_response_20018"), - 20500: .standard(proto: "get_friend_recommendation_response_20500"), - 230000: .standard(proto: "register_background_serviceresponse_proto_230000"), - 230002: .standard(proto: "get_adventure_sync_progress_out_proto_230002"), - 310000: .standard(proto: "purchase_sku_outproto_310000"), - 310001: .standard(proto: "get_available_skus_and_balances_out_proto_310001"), - 310002: .standard(proto: "set_in_game_currency_exchange_rate_out_proto_310002"), - 310100: .standard(proto: "redeem_googlereceipt_out_proto_310100"), - 310101: .standard(proto: "redeem_applereceipt_out_proto_310101"), - 310102: .standard(proto: "redeem_desktopreceipt_out_proto_310102"), - 310103: .standard(proto: "redeem_samsungreceipt_out_proto_310103"), - 310200: .standard(proto: "get_available_subscriptions_response_proto_310200"), - 310201: .standard(proto: "get_active_subscriptions_response_proto_310201"), - 360000: .standard(proto: "geofence_update_out_proto_360000"), - 360001: .standard(proto: "location_ping_out_proto_360001"), - 361000: .standard(proto: "update_breadcrumb_history_response_proto_361000"), - 362000: .standard(proto: "refresh_proximity_tokensresponse_proto_362000"), - 362001: .standard(proto: "report_proximity_contactsresponse_proto_362001"), - 600005: .standard(proto: "getgame_access_token_out_proto_600005"), - 620000: .standard(proto: "submit_new_poi_out_proto_620000"), - 620001: .standard(proto: "get_available_submissions_out_proto_620001"), - 620003: .standard(proto: "get_player_submission_validation_settings_out_proto_620003"), - 620300: .standard(proto: "generategmap_signed_url_out_proto_620300"), - 620301: .standard(proto: "getgmap_settings_out_proto_620301"), - 620401: .standard(proto: "getgrapeshot_upload_url_out_proto_620401"), - 620402: .standard(proto: "async_file_upload_complete_out_proto_620402"), - 620403: .standard(proto: "get_a_r_mapping_settings_out_proto_620403"), - 620500: .standard(proto: "get_images_for_poi_out_proto_620500"), - 620501: .standard(proto: "submit_player_image_vote_for_poi_out_proto_620501"), - 620502: .standard(proto: "get_imagegallery_settings_out_proto_620502"), - 620600: .standard(proto: "get_map_data_out_proto_620600"), - 620601: .standard(proto: "get_pois_in_radius_out_proto_620601"), - 640000: .standard(proto: "fitness_update_out_proto_640000"), - 640001: .standard(proto: "get_fitness_report_out_proto_640001"), - 640002: .standard(proto: "get_adventure_sync_settings_response_proto_640002"), - 640003: .standard(proto: "update_adventure_sync_settings_response_proto_640003"), - 640004: .standard(proto: "update_adventure_sync_fitness_response_proto_640004"), - 640005: .standard(proto: "get_adventure_sync_fitness_report_response_proto_640005"), + 1: .standard(proto: "submissions_left"), + 2: .standard(proto: "min_player_level"), + 3: .standard(proto: "has_valid_email"), + 4: .standard(proto: "is_feature_enabled"), + 5: .standard(proto: "time_window_for_submissions_limit_ms"), + 6: .standard(proto: "max_poi_distance_in_meters"), + 7: .standard(proto: "blacklisted_os"), + 8: .standard(proto: "availability_result_per_type"), + 9: .standard(proto: "blacklisted_device_id"), + 10: .standard(proto: "max_poi_location_edit_move_distance_meters"), + 11: .standard(proto: "is_upload_later_enabled"), + 12: .standard(proto: "category_cloud_storage_directory_path"), + 13: .standard(proto: "has_wayfarer_account"), + 14: .standard(proto: "is_poi_submission_category_enabled"), + 15: .standard(proto: "passed_wayfarer_quiz"), + 16: .standard(proto: "urban_typology_cloud_storage_path"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.submissionsLeft) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.hasValidEmail_p) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isFeatureEnabled) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.timeWindowForSubmissionsLimitMs) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiDistanceInMeters) }() + case 7: try { try decoder.decodeRepeatedStringField(value: &self.blacklistedOs) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &self.availabilityResultPerType) }() + case 9: try { try decoder.decodeRepeatedStringField(value: &self.blacklistedDeviceID) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiLocationEditMoveDistanceMeters) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.isUploadLaterEnabled) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.categoryCloudStorageDirectoryPath) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.hasWayfarerAccount_p) }() + case 14: try { try decoder.decodeSingularBoolField(value: &self.isPoiSubmissionCategoryEnabled) }() + case 15: try { try decoder.decodeSingularBoolField(value: &self.passedWayfarerQuiz) }() + case 16: try { try decoder.decodeSingularStringField(value: &self.urbanTypologyCloudStoragePath) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.submissionsLeft != 0 { + try visitor.visitSingularInt32Field(value: self.submissionsLeft, fieldNumber: 1) + } + if self.minPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 2) + } + if self.hasValidEmail_p != false { + try visitor.visitSingularBoolField(value: self.hasValidEmail_p, fieldNumber: 3) + } + if self.isFeatureEnabled != false { + try visitor.visitSingularBoolField(value: self.isFeatureEnabled, fieldNumber: 4) + } + if self.timeWindowForSubmissionsLimitMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeWindowForSubmissionsLimitMs, fieldNumber: 5) + } + if self.maxPoiDistanceInMeters != 0 { + try visitor.visitSingularInt32Field(value: self.maxPoiDistanceInMeters, fieldNumber: 6) + } + if !self.blacklistedOs.isEmpty { + try visitor.visitRepeatedStringField(value: self.blacklistedOs, fieldNumber: 7) + } + if !self.availabilityResultPerType.isEmpty { + try visitor.visitRepeatedMessageField(value: self.availabilityResultPerType, fieldNumber: 8) + } + if !self.blacklistedDeviceID.isEmpty { + try visitor.visitRepeatedStringField(value: self.blacklistedDeviceID, fieldNumber: 9) + } + if self.maxPoiLocationEditMoveDistanceMeters != 0 { + try visitor.visitSingularInt32Field(value: self.maxPoiLocationEditMoveDistanceMeters, fieldNumber: 10) + } + if self.isUploadLaterEnabled != false { + try visitor.visitSingularBoolField(value: self.isUploadLaterEnabled, fieldNumber: 11) + } + if !self.categoryCloudStorageDirectoryPath.isEmpty { + try visitor.visitSingularStringField(value: self.categoryCloudStorageDirectoryPath, fieldNumber: 12) + } + if self.hasWayfarerAccount_p != false { + try visitor.visitSingularBoolField(value: self.hasWayfarerAccount_p, fieldNumber: 13) + } + if self.isPoiSubmissionCategoryEnabled != false { + try visitor.visitSingularBoolField(value: self.isPoiSubmissionCategoryEnabled, fieldNumber: 14) + } + if self.passedWayfarerQuiz != false { + try visitor.visitSingularBoolField(value: self.passedWayfarerQuiz, fieldNumber: 15) + } + if !self.urbanTypologyCloudStoragePath.isEmpty { + try visitor.visitSingularStringField(value: self.urbanTypologyCloudStoragePath, fieldNumber: 16) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetAvailableSubmissionsOutProto, rhs: ARDKGetAvailableSubmissionsOutProto) -> Bool { + if lhs.submissionsLeft != rhs.submissionsLeft {return false} + if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + if lhs.hasValidEmail_p != rhs.hasValidEmail_p {return false} + if lhs.isFeatureEnabled != rhs.isFeatureEnabled {return false} + if lhs.timeWindowForSubmissionsLimitMs != rhs.timeWindowForSubmissionsLimitMs {return false} + if lhs.maxPoiDistanceInMeters != rhs.maxPoiDistanceInMeters {return false} + if lhs.blacklistedOs != rhs.blacklistedOs {return false} + if lhs.availabilityResultPerType != rhs.availabilityResultPerType {return false} + if lhs.blacklistedDeviceID != rhs.blacklistedDeviceID {return false} + if lhs.maxPoiLocationEditMoveDistanceMeters != rhs.maxPoiLocationEditMoveDistanceMeters {return false} + if lhs.isUploadLaterEnabled != rhs.isUploadLaterEnabled {return false} + if lhs.categoryCloudStorageDirectoryPath != rhs.categoryCloudStorageDirectoryPath {return false} + if lhs.hasWayfarerAccount_p != rhs.hasWayfarerAccount_p {return false} + if lhs.isPoiSubmissionCategoryEnabled != rhs.isPoiSubmissionCategoryEnabled {return false} + if lhs.passedWayfarerQuiz != rhs.passedWayfarerQuiz {return false} + if lhs.urbanTypologyCloudStoragePath != rhs.urbanTypologyCloudStoragePath {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetAvailableSubmissionsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetAvailableSubmissionsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "submission_type"), + 2: .standard(proto: "submission_types"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.submissionType) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.submissionTypes) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.submissionType != .typeUnspecified { + try visitor.visitSingularEnumField(value: self.submissionType, fieldNumber: 1) + } + if !self.submissionTypes.isEmpty { + try visitor.visitPackedEnumField(value: self.submissionTypes, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetAvailableSubmissionsProto, rhs: ARDKGetAvailableSubmissionsProto) -> Bool { + if lhs.submissionType != rhs.submissionType {return false} + if lhs.submissionTypes != rhs.submissionTypes {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetGmapSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetGmapSettingsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "gmap_template_url"), + 3: .standard(proto: "max_poi_distance_in_meters"), + 4: .standard(proto: "min_zoom"), + 5: .standard(proto: "max_zoom"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.gmapTemplateURL) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiDistanceInMeters) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.minZoom) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxZoom) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.gmapTemplateURL.isEmpty { + try visitor.visitSingularStringField(value: self.gmapTemplateURL, fieldNumber: 2) + } + if self.maxPoiDistanceInMeters != 0 { + try visitor.visitSingularInt32Field(value: self.maxPoiDistanceInMeters, fieldNumber: 3) + } + if self.minZoom != 0 { + try visitor.visitSingularInt32Field(value: self.minZoom, fieldNumber: 4) + } + if self.maxZoom != 0 { + try visitor.visitSingularInt32Field(value: self.maxZoom, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetGmapSettingsOutProto, rhs: ARDKGetGmapSettingsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.gmapTemplateURL != rhs.gmapTemplateURL {return false} + if lhs.maxPoiDistanceInMeters != rhs.maxPoiDistanceInMeters {return false} + if lhs.minZoom != rhs.minZoom {return false} + if lhs.maxZoom != rhs.maxZoom {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetGmapSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unset"), + 1: .same(proto: "success"), + 2: .same(proto: "error_unknown"), + 3: .same(proto: "error_missing_config"), + 4: .same(proto: "error_no_unique_id"), + ] +} + +extension ARDKGetGmapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetGmapSettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetGmapSettingsProto, rhs: ARDKGetGmapSettingsProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetGrapeshotUploadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetGrapeshotUploadUrlOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 4: .standard(proto: "file_context_to_grapeshot_data"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 4: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.fileContextToGrapeshotData) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.fileContextToGrapeshotData.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.fileContextToGrapeshotData, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetGrapeshotUploadUrlOutProto, rhs: ARDKGetGrapeshotUploadUrlOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.fileContextToGrapeshotData != rhs.fileContextToGrapeshotData {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetGrapeshotUploadUrlOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unset"), + 1: .same(proto: "failure"), + 2: .same(proto: "success"), + 3: .same(proto: "missing_file_contexts"), + 4: .same(proto: "duplicate_file_context"), + 5: .same(proto: "missing_submission_type"), + 6: .same(proto: "missing_submission_id"), + ] +} + +extension ARDKGetGrapeshotUploadUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetGrapeshotUploadUrlProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "submission_type"), + 2: .standard(proto: "submission_id"), + 3: .standard(proto: "file_upload_context"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.submissionType) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.fileUploadContext) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.submissionType != .typeUnspecified { + try visitor.visitSingularEnumField(value: self.submissionType, fieldNumber: 1) + } + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 2) + } + if !self.fileUploadContext.isEmpty { + try visitor.visitRepeatedStringField(value: self.fileUploadContext, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetGrapeshotUploadUrlProto, rhs: ARDKGetGrapeshotUploadUrlProto) -> Bool { + if lhs.submissionType != rhs.submissionType {return false} + if lhs.submissionID != rhs.submissionID {return false} + if lhs.fileUploadContext != rhs.fileUploadContext {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetPlayerSubmissionValidationSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetPlayerSubmissionValidationSettingsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "banned_metadata_text"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.bannedMetadataText) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.bannedMetadataText.isEmpty { + try visitor.visitRepeatedStringField(value: self.bannedMetadataText, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetPlayerSubmissionValidationSettingsOutProto, rhs: ARDKGetPlayerSubmissionValidationSettingsOutProto) -> Bool { + if lhs.bannedMetadataText != rhs.bannedMetadataText {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetPlayerSubmissionValidationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetPlayerSubmissionValidationSettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetPlayerSubmissionValidationSettingsProto, rhs: ARDKGetPlayerSubmissionValidationSettingsProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetUploadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetUploadUrlOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "signed_url"), + 3: .standard(proto: "supporting_image_signed_url"), + 4: .standard(proto: "context_signed_urls"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.signedURL) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.supportingImageSignedURL) }() + case 4: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.contextSignedUrls) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.signedURL.isEmpty { + try visitor.visitSingularStringField(value: self.signedURL, fieldNumber: 2) + } + if !self.supportingImageSignedURL.isEmpty { + try visitor.visitSingularStringField(value: self.supportingImageSignedURL, fieldNumber: 3) + } + if !self.contextSignedUrls.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.contextSignedUrls, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGetUploadUrlOutProto, rhs: ARDKGetUploadUrlOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.signedURL != rhs.signedURL {return false} + if lhs.supportingImageSignedURL != rhs.supportingImageSignedURL {return false} + if lhs.contextSignedUrls != rhs.contextSignedUrls {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGetUploadUrlOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unset"), + 1: .same(proto: "failures"), + 2: .same(proto: "success"), + 3: .same(proto: "missing_image_contexts"), + 4: .same(proto: "duplicate_image_contexts"), + ] +} + +extension ARDKGetUploadUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGetUploadUrlProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "user_id"), + 2: .standard(proto: "game_unique_id"), + 3: .standard(proto: "submission_type"), + 4: .standard(proto: "submission_id"), + 5: .standard(proto: "image_contexts"), ] - fileprivate class _StorageClass { - var _getPlayerOutProto2: GetPlayerOutProto? = nil - var _getHoloholoInventoryOutProto4: GetHoloholoInventoryOutProto? = nil - var _downloadSettingsResponseProto5: DownloadSettingsResponseProto? = nil - var _getgameMasterClientTemplatesOutProto6: GetGameMasterClientTemplatesOutProto? = nil - var _getRemoteConfigVersionsOutProto7: GetRemoteConfigVersionsOutProto? = nil - var _registerBackgroundDeviceresponseProto8: RegisterBackgroundDeviceResponseProto? = nil - var _getPlayerDayOutProto9: GetPlayerDayOutProto? = nil - var _acknowledgePunishmentOutProto10: AcknowledgePunishmentOutProto? = nil - var _getServerTimeOutProto11: GetServerTimeOutProto? = nil - var _getLocalTimeOutProto12: GetLocalTimeOutProto? = nil - var _fortSearchOutProto101: FortSearchOutProto? = nil - var _encounterOutProto102: EncounterOutProto? = nil - var _catchPokemonOutProto103: CatchPokemonOutProto? = nil - var _fortDetailsOutProto104: FortDetailsOutProto? = nil - var _getMapObjectsOutProto106: GetMapObjectsOutProto? = nil - var _fortDeployOutProto110: FortDeployOutProto? = nil - var _fortRecallOutProto111: FortRecallOutProto? = nil - var _releasePokemonOutProto112: ReleasePokemonOutProto? = nil - var _useItemPotionOutProto113: UseItemPotionOutProto? = nil - var _useItemCaptureOutProto114: UseItemCaptureOutProto? = nil - var _useItemReviveOutProto116: UseItemReviveOutProto? = nil - var _playerprofileOutproto121: PlayerProfileOutProto? = nil - var _evolvePokemonOutProto125: EvolvePokemonOutProto? = nil - var _getHatchedEggsOutProto126: GetHatchedEggsOutProto? = nil - var _encounterTutorialCompleteOutProto127: EncounterTutorialCompleteOutProto? = nil - var _levelUpRewardsOutProto128: LevelUpRewardsOutProto? = nil - var _checkAwardedBadgesOutProto129: CheckAwardedBadgesOutProto? = nil - var _recycleItemOutProto137: RecycleItemOutProto? = nil - var _collectDailyBonusOutProto138: CollectDailyBonusOutProto? = nil - var _useItemXpBoostOutProto139: UseItemXpBoostOutProto? = nil - var _useItemEggIncubatorOutProto140: UseItemEggIncubatorOutProto? = nil - var _useIncenseActionOutProto141: UseIncenseActionOutProto? = nil - var _getIncensePokemonOutProto142: GetIncensePokemonOutProto? = nil - var _incenseEncounterOutProto143: IncenseEncounterOutProto? = nil - var _addFortModifierOutProto144: AddFortModifierOutProto? = nil - var _diskEncounterOutProto145: DiskEncounterOutProto? = nil - var _upgradePokemonOutProto147: UpgradePokemonOutProto? = nil - var _setFavoritePokemonOutProto148: SetFavoritePokemonOutProto? = nil - var _nicknamePokemonOutProto149: NicknamePokemonOutProto? = nil - var _equipBadgeOutProto150: EquipBadgeOutProto? = nil - var _setContactsettingsOutProto151: SetContactSettingsOutProto? = nil - var _setBuddyPokemonOutProto152: SetBuddyPokemonOutProto? = nil - var _getBuddyWalkedOutProto153: GetBuddyWalkedOutProto? = nil - var _useItemEncounterOutProto154: UseItemEncounterOutProto? = nil - var _gymDeployOutProto155: GymDeployOutProto? = nil - var _gymgetInfoOutProto156: GymGetInfoOutProto? = nil - var _gymStartSessionOutProto157: GymStartSessionOutProto? = nil - var _gymBattleAttackOutProto158: GymBattleAttackOutProto? = nil - var _joinLobbyOutProto159: JoinLobbyOutProto? = nil - var _leavelobbyOutProto160: LeaveLobbyOutProto? = nil - var _setLobbyVisibilityOutProto161: SetLobbyVisibilityOutProto? = nil - var _setLobbyPokemonOutProto162: SetLobbyPokemonOutProto? = nil - var _getRaidDetailsOutProto163: GetRaidDetailsOutProto? = nil - var _gymFeedPokemonOutProto164: GymFeedPokemonOutProto? = nil - var _startRaidBattleOutProto165: StartRaidBattleOutProto? = nil - var _attackRaidBattleOutProto166: AttackRaidBattleOutProto? = nil - var _useItemStardustBoostOutProto168: UseItemStardustBoostOutProto? = nil - var _reassignPlayerOutProto169: ReassignPlayerOutProto? = nil - var _convertcandyToXlcandyOutProto171: ConvertCandyToXlCandyOutProto? = nil - var _isSkuAvailableOutProto172: IsSkuAvailableOutProto? = nil - var _assetDigestOutProto300: AssetDigestOutProto? = nil - var _downloadURLOutProto301: DownloadUrlOutProto? = nil - var _assetVersionOutProto302: AssetVersionOutProto? = nil - var _codenameResultProto403: CodenameResultProto? = nil - var _setAvatarOutProto404: SetAvatarOutProto? = nil - var _setPlayerTeamOutProto405: SetPlayerTeamOutProto? = nil - var _markTutorialCompleteOutProto406: MarkTutorialCompleteOutProto? = nil - var _setNeutralAvatarOutProto408: SetNeutralAvatarOutProto? = nil - var _checkchallengeOutProto600: CheckChallengeOutProto? = nil - var _verifyChallengeOutProto601: VerifyChallengeOutProto? = nil - var _echoOutProto666: EchoOutProto? = nil - var _registerSfidaresponse800: RegisterSfidaResponse? = nil - var _sfidaCertificationResponse802: SfidaCertificationResponse? = nil - var _sfidaUpdateResponse803: SfidaUpdateResponse? = nil - var _sfidaDowserResponse805: SfidaDowserResponse? = nil - var _sfidaCaptureResponse806: SfidaCaptureResponse? = nil - var _listAvatarCustomizationsOutProto807: ListAvatarCustomizationsOutProto? = nil - var _setAvatarItemAsViewedOutProto808: SetAvatarItemAsViewedOutProto? = nil - var _getInboxOutProto809: GetInboxOutProto? = nil - var _listGymBadgesOutProto811: ListGymBadgesOutProto? = nil - var _getgymBadgeDetailsOutProto812: GetGymBadgeDetailsOutProto? = nil - var _useItemMoveRerollOutProto813: UseItemMoveRerollOutProto? = nil - var _useItemRareCandyOutProto814: UseItemRareCandyOutProto? = nil - var _awardFreeRaidTicketOutProto815: AwardFreeRaidTicketOutProto? = nil - var _fetchAllNewsOutProto816: FetchAllNewsOutProto? = nil - var _markReadNewsArticleOutProto817: MarkReadNewsArticleOutProto? = nil - var _getPlayerSettingsOutProto818: GetPlayerSettingsOutProto? = nil - var _belugaTransactionStartOutProto819: BelugaTransactionStartOutProto? = nil - var _belugaTransactionCompleteOutProto820: BelugaTransactionCompleteOutProto? = nil - var _sfidaAssociateResponse822: SfidaAssociateResponse? = nil - var _sfidaCheckPairingResponse823: SfidaCheckPairingResponse? = nil - var _sfidaDisassociateResponse824: SfidaDisassociateResponse? = nil - var _wainaGetRewardsResponse825: WainaGetRewardsResponse? = nil - var _wainaSubmitSleepDataResponse826: WainaSubmitSleepDataResponse? = nil - var _getNewQuestsOutProto900: GetNewQuestsOutProto? = nil - var _getQuestDetailsOutProto901: GetQuestDetailsOutProto? = nil - var _completeQuestOutProto902: CompleteQuestOutProto? = nil - var _removeQuestOutProto903: RemoveQuestOutProto? = nil - var _questEncounterOutProto904: QuestEncounterOutProto? = nil - var _progressQuestOutproto906: ProgressQuestOutProto? = nil - var _sendGiftOutProto950: SendGiftOutProto? = nil - var _openGiftoutProto951: OpenGiftOutProto? = nil - var _getgiftBoxDetailsOutProto952: GetGiftBoxDetailsOutProto? = nil - var _deleteGiftOutProto953: DeleteGiftOutProto? = nil - var _savePlayersnapshotOutProto954: SavePlayerSnapshotOutProto? = nil - var _checkSendGiftOutProto956: CheckSendGiftOutProto? = nil - var _setFriendNicknameOutProto957: SetFriendNicknameOutProto? = nil - var _deleteGiftFromInventoryOutProto958: DeleteGiftFromInventoryOutProto? = nil - var _savesocialPlayersettingsOutProto959: SaveSocialPlayerSettingsOutProto? = nil - var _shareExRaidPassOutProto960: ShareExRaidPassOutProto? = nil - var _checkShareExRaidPassOutProto961: CheckShareExRaidPassOutProto? = nil - var _declineExRaidPassOutProto962: DeclineExRaidPassOutProto? = nil - var _openTradingoutProto970: OpenTradingOutProto? = nil - var _updateTradingOutProto971: UpdateTradingOutProto? = nil - var _confirmTradingOutProto972: ConfirmTradingOutProto? = nil - var _cancelTradingOutProto973: CancelTradingOutProto? = nil - var _getTradingOutProto974: GetTradingOutProto? = nil - var _getFitnessRewardsOutProto980: GetFitnessRewardsOutProto? = nil - var _getCombatPlayerProfileOutProto990: GetCombatPlayerProfileOutProto? = nil - var _generateCombatChallengeIDOutProto991: GenerateCombatChallengeIdOutProto? = nil - var _createcombatchallengeOutProto992: CreateCombatChallengeOutProto? = nil - var _openCombatChallengeoutProto993: OpenCombatChallengeOutProto? = nil - var _getCombatChallengeOutProto994: GetCombatChallengeOutProto? = nil - var _acceptCombatChallengeOutProto995: AcceptCombatChallengeOutProto? = nil - var _declineCombatChallengeOutProto996: DeclineCombatChallengeOutProto? = nil - var _cancelcombatchallengeOutProto997: CancelCombatChallengeOutProto? = nil - var _submitCombatChallengePokemonsOutProto998: SubmitCombatChallengePokemonsOutProto? = nil - var _saveCombatPlayerPreferencesOutProto999: SaveCombatPlayerPreferencesOutProto? = nil - var _openCombatSessionoutProto1000: OpenCombatSessionOutProto? = nil - var _updateCombatOutProto1001: UpdateCombatOutProto? = nil - var _quitCombatOutProto1002: QuitCombatOutProto? = nil - var _getCombatResultsOutProto1003: GetCombatResultsOutProto? = nil - var _unlockPokemonMoveOutProto1004: UnlockPokemonMoveOutProto? = nil - var _getNpcCombatRewardsOutProto1005: GetNpcCombatRewardsOutProto? = nil - var _combatFriendRequestOutProto1006: CombatFriendRequestOutProto? = nil - var _openNpcCombatSessionoutProto1007: OpenNpcCombatSessionOutProto? = nil - var _startTutorialOutProto1008: StartTutorialOutProto? = nil - var _getTutorialEggOutProto1009: GetTutorialEggOutProto? = nil - var _sendProbeOutProto1020: SendProbeOutProto? = nil - var _checkPhotobombOutProto1101: CheckPhotobombOutProto? = nil - var _confirmPhotobombOutProto1102: ConfirmPhotobombOutProto? = nil - var _getPhotobombOutProto1103: GetPhotobombOutProto? = nil - var _encounterPhotobombOutProto1104: EncounterPhotobombOutProto? = nil - var _getgmapSettingsOutProto1105: GetGmapSettingsOutProto? = nil - var _changeTeamOutProto1106: ChangeTeamOutProto? = nil - var _getWebTokenOutProto1107: GetWebTokenOutProto? = nil - var _completeSnapshotSessionOutProto1110: CompleteSnapshotSessionOutProto? = nil - var _completeWildSnapshotSessionOutProto1111: CompleteWildSnapshotSessionOutProto? = nil - var _startIncidentOutProto1200: StartIncidentOutProto? = nil - var _completeInvasionDialogueOutProto1201: CompleteInvasionDialogueOutProto? = nil - var _openInvasionCombatSessionoutProto1202: OpenInvasionCombatSessionOutProto? = nil - var _updateInvasionBattleOutProto1203: UpdateInvasionBattleOutProto? = nil - var _invasionEncounterOutProto1204: InvasionEncounterOutProto? = nil - var _purifypokemonOutproto1205: PurifyPokemonOutProto? = nil - var _getRocketBalloonOutProto1206: GetRocketBalloonOutProto? = nil - var _vsSeekerStartMatchmakingOutProto1300: VsSeekerStartMatchmakingOutProto? = nil - var _cancelMatchmakingOutProto1301: CancelMatchmakingOutProto? = nil - var _getMatchmakingStatusOutProto1302: GetMatchmakingStatusOutProto? = nil - var _completeVsSeekerAndRestartchargingOutProto1303: CompleteVsSeekerAndRestartChargingOutProto? = nil - var _getVsSeekerStatusOutProto1304: GetVsSeekerStatusOutProto? = nil - var _completecompetitiveSeasonOutProto1305: CompleteCompetitiveSeasonOutProto? = nil - var _claimVsSeekerRewardsOutProto1306: ClaimVsSeekerRewardsOutProto? = nil - var _vsSeekerRewardEncounterOutProto1307: VsSeekerRewardEncounterOutProto? = nil - var _activateVsSeekerOutProto1308: ActivateVsSeekerOutProto? = nil - var _buddyMapOutProto1350: BuddyMapOutProto? = nil - var _buddyStatsOutProto1351: BuddyStatsOutProto? = nil - var _buddyFeedingOutProto1352: BuddyFeedingOutProto? = nil - var _openBuddyGiftoutProto1353: OpenBuddyGiftOutProto? = nil - var _buddyPettingOutProto1354: BuddyPettingOutProto? = nil - var _getBuddyHistoryOutProto1355: GetBuddyHistoryOutProto? = nil - var _updateRouteDraftOutProto1400: UpdateRouteDraftOutProto? = nil - var _getMapFortsOutProto1401: GetMapFortsOutProto? = nil - var _submitRouteDraftOutProto1402: SubmitRouteDraftOutProto? = nil - var _getPublishedRoutesOutProto1403: GetPublishedRoutesOutProto? = nil - var _startRouteOutProto1404: StartRouteOutProto? = nil - var _getRoutesOutProto1405: GetRoutesOutProto? = nil - var _progressRouteOutproto1406: ProgressRouteOutProto? = nil - var _processRouteTappableOutproto1408: ProcessRouteTappableOutProto? = nil - var _listRouteBadgesOutProto1409: ListRouteBadgesOutProto? = nil - var _cancelRouteOutProto1410: CancelRouteOutProto? = nil - var _createBuddyMultiplayerSessionOutProto1456: CreateBuddyMultiplayerSessionOutProto? = nil - var _joinBuddyMultiplayerSessionOutProto1457: JoinBuddyMultiplayerSessionOutProto? = nil - var _leaveBuddyMultiplayerSessionOutProto1458: LeaveBuddyMultiplayerSessionOutProto? = nil - var _getTodayViewOutProto1501: GetTodayViewOutProto? = nil - var _megaEvolvePokemonOutProto1502: MegaEvolvePokemonOutProto? = nil - var _remoteGiftPingresponseProto1503: RemoteGiftPingResponseProto? = nil - var _sendRaidInvitationOutProto1504: SendRaidInvitationOutProto? = nil - var _getDailyEncounterOutProto1601: GetDailyEncounterOutProto? = nil - var _dailyEncounterOutProto1602: DailyEncounterOutProto? = nil - var _openSponsoredGiftoutProto1650: OpenSponsoredGiftOutProto? = nil - var _savePlayerPreferencesOutProto1652: SavePlayerPreferencesOutProto? = nil - var _profanityCheckOutproto1653: ProfanityCheckOutProto? = nil - var _getTimedgroupChallengeOutProto1700: GetTimedGroupChallengeOutProto? = nil - var _getNintendoAccountOutProto1710: GetNintendoAccountOutProto? = nil - var _unlinkNintendoAccountOutProto1711: UnlinkNintendoAccountOutProto? = nil - var _getNintendoOAuth2URLOutProto1712: GetNintendoOAuth2UrlOutProto? = nil - var _transferPokemontoPokemonHomeOutProto1713: TransferPokemonToPokemonHomeOutProto? = nil - var _reportAdFeedbackresponse1716: ReportAdFeedbackResponse? = nil - var _createPokemonTagOutProto1717: CreatePokemonTagOutProto? = nil - var _deletePokemonTagOutProto1718: DeletePokemonTagOutProto? = nil - var _editPokemonTagOutProto1719: EditPokemonTagOutProto? = nil - var _setPokemonTagsForPokemonOutProto1720: SetPokemonTagsForPokemonOutProto? = nil - var _getPokemonTagsOutProto1721: GetPokemonTagsOutProto? = nil - var _changePokemonFormOutProto1722: ChangePokemonFormOutProto? = nil - var _chooseGlobalTicketedEventVariantOutProto1723: ChooseGlobalTicketedEventVariantOutProto? = nil - var _getReferralCodeOutProto1800: GetReferralCodeOutProto? = nil - var _addReferrerOutProto1801: AddReferrerOutProto? = nil - var _sendFriendInviteViaReferralCodeOutProto1802: SendFriendInviteViaReferralCodeOutProto? = nil - var _getMilestonesOutProto1803: GetMilestonesOutProto? = nil - var _markmilestoneAsViewedOutProto1804: MarkMilestoneAsViewedOutProto? = nil - var _getMilestonesPreviewOutProto1805: GetMilestonesPreviewOutProto? = nil - var _completeMilestoneOutProto1806: CompleteMilestoneOutProto? = nil - var _getgeofencedAdOutProto1820: GetGeofencedAdOutProto? = nil - var _deletePostcardsOutProto1909: DeletePostcardsOutProto? = nil - var _createPostcardOutProto1910: CreatePostcardOutProto? = nil - var _updatePostcardOutProto1911: UpdatePostcardOutProto? = nil - var _deletePostcardOutProto1912: DeletePostcardOutProto? = nil - var _getMementoListOutProto1913: GetMementoListOutProto? = nil - var _uploadRaidClientLogOutProto1914: UploadRaidClientLogOutProto? = nil - var _checkGiftingEligibilityOutProto2000: CheckGiftingEligibilityOutProto? = nil - var _redeemTicketGiftForFriendOutProto2001: RedeemTicketGiftForFriendOutProto? = nil - var _getInsenceRecapOutProto2002: GetInsenceRecapOutProto? = nil - var _getAckwowledgeInsenceRecapOutProto2003: GetAckwowledgeInsenceRecapOutProto? = nil - var _getPokestopEncounterOutProto2005: GetPokestopEncounterOutProto? = nil - var _encounterPokestopencounterOutProto2006: EncounterPokestopEncounterOutProto? = nil - var _playerSpawnablepokemonOutproto2007: PlayerSpawnablePokemonOutProto? = nil - var _sendFriendRequestViaPlayerIDOutProto2010: SendFriendRequestViaPlayerIdOutProto? = nil - var _getRaidLobbyCounterOutProto2011: GetRaidLobbyCounterOutProto? = nil - var _updatePokemonSizeContestEntryOutProto2101: UpdatePokemonSizeContestEntryOutProto? = nil - var _getPokemonSizeContestEntryOutProto2104: GetPokemonSizeContestEntryOutProto? = nil - var _getContestDataOutProto2105: GetContestDataOutProto? = nil - var _getContestsUnclaimedRewardsOutProto2106: GetContestsUnclaimedRewardsOutProto? = nil - var _claimcontestsRewardsOutProto2107: ClaimContestsRewardsOutProto? = nil - var _getEnteredContestOutProto2108: GetEnteredContestOutProto? = nil - var _startPartyOutProto2302: StartPartyOutProto? = nil - var _getVpsEventOutProto3000: GetVpsEventOutProto? = nil - var _updateVpsEventOutProto3001: UpdateVpsEventOutProto? = nil - var _pushNotificationRegistryOutproto5000: PushNotificationRegistryOutProto? = nil - var _updateNotificationOutProto5002: UpdateNotificationOutProto? = nil - var _optoutProto5003: OptOutProto? = nil - var _downloadGmTemplatesResponseProto5004: DownloadGmTemplatesResponseProto? = nil - var _getInventoryResponseProto5005: GetInventoryResponseProto? = nil - var _redeemPasscoderesponseProto5006: RedeemPasscodeResponseProto? = nil - var _pingResponseproto5007: PingResponseProto? = nil - var _addLoginactionOutProto5008: AddLoginActionOutProto? = nil - var _removeLoginActionOutProto5009: RemoveLoginActionOutProto? = nil - var _listloginActionOutProto5010: ListLoginActionOutProto? = nil - var _submitNewPoiOutProto5011: SubmitNewPoiOutProto? = nil - var _proxyResponseproto5012: ProxyResponseProto? = nil - var _getAvailableSubmissionsOutProto5014: GetAvailableSubmissionsOutProto? = nil - var _replaceLoginActionOutProto5015: ReplaceLoginActionOutProto? = nil - var _clientTelemetryBatchOutProto5018: ClientTelemetryBatchOutProto? = nil - var _purchaseSkuOutproto5019: PurchaseSkuOutProto? = nil - var _getAvailableSkusAndBalancesOutProto5020: GetAvailableSkusAndBalancesOutProto? = nil - var _redeemGooglereceiptOutProto5021: RedeemGoogleReceiptOutProto? = nil - var _redeemApplereceiptOutProto5022: RedeemAppleReceiptOutProto? = nil - var _redeemDesktopreceiptOutProto5023: RedeemDesktopReceiptOutProto? = nil - var _fitnessUpdateOutProto5024: FitnessUpdateOutProto? = nil - var _getFitnessReportOutProto5025: GetFitnessReportOutProto? = nil - var _clientTelemetryclientSettingsProto5026: ClientTelemetryClientSettingsProto? = nil - var _registerBackgroundServiceresponseProto5028: RegisterBackgroundServiceResponseProto? = nil - var _setInGameCurrencyExchangeRateOutProto5032: SetInGameCurrencyExchangeRateOutProto? = nil - var _geofenceUpdateOutProto5033: GeofenceUpdateOutProto? = nil - var _locationPingOutProto5034: LocationPingOutProto? = nil - var _generategmapSignedURLOutProto5035: GenerateGmapSignedUrlOutProto? = nil - var _getgmapSettingsOutProto5036: GetGmapSettingsOutProto? = nil - var _redeemSamsungreceiptOutProto5037: RedeemSamsungReceiptOutProto? = nil - var _getWebTokenOutProto5045: GetWebTokenOutProto? = nil - var _getAdventureSyncSettingsResponseProto5046: GetAdventureSyncSettingsResponseProto? = nil - var _updateAdventureSyncSettingsResponseProto5047: UpdateAdventureSyncSettingsResponseProto? = nil - var _searchPlayerOutProto10000: SearchPlayerOutProto? = nil - var _sendFriendInviteOutProto10002: SendFriendInviteOutProto? = nil - var _cancelFriendInviteOutProto10003: CancelFriendInviteOutProto? = nil - var _acceptFriendInviteOutProto10004: AcceptFriendInviteOutProto? = nil - var _declineFriendInviteOutProto10005: DeclineFriendInviteOutProto? = nil - var _getFriendsListOutProto10006: GetFriendsListOutProto? = nil - var _getOutgoingFriendInvitesOutProto10007: GetOutgoingFriendInvitesOutProto? = nil - var _getIncomingFriendInvitesOutProto10008: GetIncomingFriendInvitesOutProto? = nil - var _removeFriendOutProto10009: RemoveFriendOutProto? = nil - var _getFriendDetailsOutProto10010: GetFriendDetailsOutProto? = nil - var _inviteFacebookFriendOutProto10011: InviteFacebookFriendOutProto? = nil - var _isMyFriendOutProto10012: IsMyFriendOutProto? = nil - var _getFriendCodeOutProto10013: GetFriendCodeOutProto? = nil - var _getFacebookFriendListOutProto10014: GetFacebookFriendListOutProto? = nil - var _updateFacebookStatusOutProto10015: UpdateFacebookStatusOutProto? = nil - var _savesocialPlayersettingsOutProto10016: SaveSocialPlayerSettingsOutProto? = nil - var _getPlayerSettingsOutProto10017: GetPlayerSettingsOutProto? = nil - var _setAccountsettingsOutProto10021: SetAccountSettingsOutProto? = nil - var _getAccountSettingsOutProto10022: GetAccountSettingsOutProto? = nil - var _addFavoriteFriendResponse10023: AddFavoriteFriendResponse? = nil - var _removeFavoriteFriendresponse10024: RemoveFavoriteFriendResponse? = nil - var _blockAccountOutProto10025: BlockAccountOutProto? = nil - var _unblockAccountOutProto10026: UnblockAccountOutProto? = nil - var _getOutgoingBlocksOutProto10027: GetOutgoingBlocksOutProto? = nil - var _isAccountBlockedOutProto10028: IsAccountBlockedOutProto? = nil - var _pushNotificationRegistryOutproto10101: PushNotificationRegistryOutProto? = nil - var _updateNotificationOutProto10103: UpdateNotificationOutProto? = nil - var _optoutProto10104: OptOutProto? = nil - var _getInboxOutProto10105: GetInboxOutProto? = nil - var _getSignedURLOutProto10201: GetSignedUrlOutProto? = nil - var _submitImageOutProto10202: SubmitImageOutProto? = nil - var _getPhotosOutProto10203: GetPhotosOutProto? = nil - var _deletePhotoOutProto10204: DeletePhotoOutProto? = nil - var _flagPhotoResponse10205: FlagPhotoResponse? = nil - var _updateProfileResponse20001: UpdateProfileResponse? = nil - var _updateFriendshipResponse20002: UpdateFriendshipResponse? = nil - var _getProfileResponse20003: GetProfileResponse? = nil - var _inviteGameResponse20004: InviteGameResponse? = nil - var _listFriendsResponse20006: ListFriendsResponse? = nil - var _getFriendDetailsOutProto20007: GetFriendDetailsOutProto? = nil - var _getClientFeatureFlagsResponse20008: GetClientFeatureFlagsResponse? = nil - var _getIncominggameInvitesResponse20010: GetIncomingGameInvitesResponse? = nil - var _updateIncomingGameInviteResponse20011: UpdateIncomingGameInviteResponse? = nil - var _dismissOutgoingGameInvitesResponse20012: DismissOutgoingGameInvitesResponse? = nil - var _syncContactListResponse20013: SyncContactListResponse? = nil - var _sendContactListFriendInviteResponse20014: SendContactListFriendInviteResponse? = nil - var _referContactListFriendresponse20015: ReferContactListFriendResponse? = nil - var _getContactListInfoResponse20016: GetContactListInfoResponse? = nil - var _dismissContactListUpdateResponse20017: DismissContactListUpdateResponse? = nil - var _notifyContactListFriendsResponse20018: NotifyContactListFriendsResponse? = nil - var _getFriendRecommendationResponse20500: GetFriendRecommendationResponse? = nil - var _registerBackgroundServiceresponseProto230000: RegisterBackgroundServiceResponseProto? = nil - var _getAdventureSyncProgressOutProto230002: GetAdventureSyncProgressOutProto? = nil - var _purchaseSkuOutproto310000: PurchaseSkuOutProto? = nil - var _getAvailableSkusAndBalancesOutProto310001: GetAvailableSkusAndBalancesOutProto? = nil - var _setInGameCurrencyExchangeRateOutProto310002: SetInGameCurrencyExchangeRateOutProto? = nil - var _redeemGooglereceiptOutProto310100: RedeemGoogleReceiptOutProto? = nil - var _redeemApplereceiptOutProto310101: RedeemAppleReceiptOutProto? = nil - var _redeemDesktopreceiptOutProto310102: RedeemDesktopReceiptOutProto? = nil - var _redeemSamsungreceiptOutProto310103: RedeemSamsungReceiptOutProto? = nil - var _getAvailableSubscriptionsResponseProto310200: GetAvailableSubscriptionsResponseProto? = nil - var _getActiveSubscriptionsResponseProto310201: GetActiveSubscriptionsResponseProto? = nil - var _geofenceUpdateOutProto360000: GeofenceUpdateOutProto? = nil - var _locationPingOutProto360001: LocationPingOutProto? = nil - var _updateBreadcrumbHistoryResponseProto361000: UpdateBreadcrumbHistoryResponseProto? = nil - var _refreshProximityTokensresponseProto362000: RefreshProximityTokensResponseProto? = nil - var _reportProximityContactsresponseProto362001: ReportProximityContactsResponseProto? = nil - var _getgameAccessTokenOutProto600005: GetGameAccessTokenOutProto? = nil - var _submitNewPoiOutProto620000: SubmitNewPoiOutProto? = nil - var _getAvailableSubmissionsOutProto620001: GetAvailableSubmissionsOutProto? = nil - var _getPlayerSubmissionValidationSettingsOutProto620003: GetPlayerSubmissionValidationSettingsOutProto? = nil - var _generategmapSignedURLOutProto620300: GenerateGmapSignedUrlOutProto? = nil - var _getgmapSettingsOutProto620301: GetGmapSettingsOutProto? = nil - var _getgrapeshotUploadURLOutProto620401: GetGrapeshotUploadUrlOutProto? = nil - var _asyncFileUploadCompleteOutProto620402: AsyncFileUploadCompleteOutProto? = nil - var _getARMappingSettingsOutProto620403: GetARMappingSettingsOutProto? = nil - var _getImagesForPoiOutProto620500: GetImagesForPoiOutProto? = nil - var _submitPlayerImageVoteForPoiOutProto620501: SubmitPlayerImageVoteForPoiOutProto? = nil - var _getImagegallerySettingsOutProto620502: GetImageGallerySettingsOutProto? = nil - var _getMapDataOutProto620600: GetMapDataOutProto? = nil - var _getPoisInRadiusOutProto620601: GetPoisInRadiusOutProto? = nil - var _fitnessUpdateOutProto640000: FitnessUpdateOutProto? = nil - var _getFitnessReportOutProto640001: GetFitnessReportOutProto? = nil - var _getAdventureSyncSettingsResponseProto640002: GetAdventureSyncSettingsResponseProto? = nil - var _updateAdventureSyncSettingsResponseProto640003: UpdateAdventureSyncSettingsResponseProto? = nil - var _updateAdventureSyncFitnessResponseProto640004: UpdateAdventureSyncFitnessResponseProto? = nil - var _getAdventureSyncFitnessReportResponseProto640005: GetAdventureSyncFitnessReportResponseProto? = nil + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.userID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.gameUniqueID) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.submissionType) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &self.imageContexts) }() + default: break + } + } + } - static let defaultInstance = _StorageClass() + public func traverse(visitor: inout V) throws { + if !self.userID.isEmpty { + try visitor.visitSingularStringField(value: self.userID, fieldNumber: 1) + } + if !self.gameUniqueID.isEmpty { + try visitor.visitSingularStringField(value: self.gameUniqueID, fieldNumber: 2) + } + if self.submissionType != .typeUnspecified { + try visitor.visitSingularEnumField(value: self.submissionType, fieldNumber: 3) + } + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 4) + } + if !self.imageContexts.isEmpty { + try visitor.visitRepeatedStringField(value: self.imageContexts, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } - private init() {} + public static func ==(lhs: ARDKGetUploadUrlProto, rhs: ARDKGetUploadUrlProto) -> Bool { + if lhs.userID != rhs.userID {return false} + if lhs.gameUniqueID != rhs.gameUniqueID {return false} + if lhs.submissionType != rhs.submissionType {return false} + if lhs.submissionID != rhs.submissionID {return false} + if lhs.imageContexts != rhs.imageContexts {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} - init(copying source: _StorageClass) { - _getPlayerOutProto2 = source._getPlayerOutProto2 - _getHoloholoInventoryOutProto4 = source._getHoloholoInventoryOutProto4 - _downloadSettingsResponseProto5 = source._downloadSettingsResponseProto5 - _getgameMasterClientTemplatesOutProto6 = source._getgameMasterClientTemplatesOutProto6 - _getRemoteConfigVersionsOutProto7 = source._getRemoteConfigVersionsOutProto7 - _registerBackgroundDeviceresponseProto8 = source._registerBackgroundDeviceresponseProto8 - _getPlayerDayOutProto9 = source._getPlayerDayOutProto9 - _acknowledgePunishmentOutProto10 = source._acknowledgePunishmentOutProto10 - _getServerTimeOutProto11 = source._getServerTimeOutProto11 - _getLocalTimeOutProto12 = source._getLocalTimeOutProto12 - _fortSearchOutProto101 = source._fortSearchOutProto101 - _encounterOutProto102 = source._encounterOutProto102 - _catchPokemonOutProto103 = source._catchPokemonOutProto103 - _fortDetailsOutProto104 = source._fortDetailsOutProto104 - _getMapObjectsOutProto106 = source._getMapObjectsOutProto106 - _fortDeployOutProto110 = source._fortDeployOutProto110 - _fortRecallOutProto111 = source._fortRecallOutProto111 - _releasePokemonOutProto112 = source._releasePokemonOutProto112 - _useItemPotionOutProto113 = source._useItemPotionOutProto113 - _useItemCaptureOutProto114 = source._useItemCaptureOutProto114 - _useItemReviveOutProto116 = source._useItemReviveOutProto116 - _playerprofileOutproto121 = source._playerprofileOutproto121 - _evolvePokemonOutProto125 = source._evolvePokemonOutProto125 - _getHatchedEggsOutProto126 = source._getHatchedEggsOutProto126 - _encounterTutorialCompleteOutProto127 = source._encounterTutorialCompleteOutProto127 - _levelUpRewardsOutProto128 = source._levelUpRewardsOutProto128 - _checkAwardedBadgesOutProto129 = source._checkAwardedBadgesOutProto129 - _recycleItemOutProto137 = source._recycleItemOutProto137 - _collectDailyBonusOutProto138 = source._collectDailyBonusOutProto138 - _useItemXpBoostOutProto139 = source._useItemXpBoostOutProto139 - _useItemEggIncubatorOutProto140 = source._useItemEggIncubatorOutProto140 - _useIncenseActionOutProto141 = source._useIncenseActionOutProto141 - _getIncensePokemonOutProto142 = source._getIncensePokemonOutProto142 - _incenseEncounterOutProto143 = source._incenseEncounterOutProto143 - _addFortModifierOutProto144 = source._addFortModifierOutProto144 - _diskEncounterOutProto145 = source._diskEncounterOutProto145 - _upgradePokemonOutProto147 = source._upgradePokemonOutProto147 - _setFavoritePokemonOutProto148 = source._setFavoritePokemonOutProto148 - _nicknamePokemonOutProto149 = source._nicknamePokemonOutProto149 - _equipBadgeOutProto150 = source._equipBadgeOutProto150 - _setContactsettingsOutProto151 = source._setContactsettingsOutProto151 - _setBuddyPokemonOutProto152 = source._setBuddyPokemonOutProto152 - _getBuddyWalkedOutProto153 = source._getBuddyWalkedOutProto153 - _useItemEncounterOutProto154 = source._useItemEncounterOutProto154 - _gymDeployOutProto155 = source._gymDeployOutProto155 - _gymgetInfoOutProto156 = source._gymgetInfoOutProto156 - _gymStartSessionOutProto157 = source._gymStartSessionOutProto157 - _gymBattleAttackOutProto158 = source._gymBattleAttackOutProto158 - _joinLobbyOutProto159 = source._joinLobbyOutProto159 - _leavelobbyOutProto160 = source._leavelobbyOutProto160 - _setLobbyVisibilityOutProto161 = source._setLobbyVisibilityOutProto161 - _setLobbyPokemonOutProto162 = source._setLobbyPokemonOutProto162 - _getRaidDetailsOutProto163 = source._getRaidDetailsOutProto163 - _gymFeedPokemonOutProto164 = source._gymFeedPokemonOutProto164 - _startRaidBattleOutProto165 = source._startRaidBattleOutProto165 - _attackRaidBattleOutProto166 = source._attackRaidBattleOutProto166 - _useItemStardustBoostOutProto168 = source._useItemStardustBoostOutProto168 - _reassignPlayerOutProto169 = source._reassignPlayerOutProto169 - _convertcandyToXlcandyOutProto171 = source._convertcandyToXlcandyOutProto171 - _isSkuAvailableOutProto172 = source._isSkuAvailableOutProto172 - _assetDigestOutProto300 = source._assetDigestOutProto300 - _downloadURLOutProto301 = source._downloadURLOutProto301 - _assetVersionOutProto302 = source._assetVersionOutProto302 - _codenameResultProto403 = source._codenameResultProto403 - _setAvatarOutProto404 = source._setAvatarOutProto404 - _setPlayerTeamOutProto405 = source._setPlayerTeamOutProto405 - _markTutorialCompleteOutProto406 = source._markTutorialCompleteOutProto406 - _setNeutralAvatarOutProto408 = source._setNeutralAvatarOutProto408 - _checkchallengeOutProto600 = source._checkchallengeOutProto600 - _verifyChallengeOutProto601 = source._verifyChallengeOutProto601 - _echoOutProto666 = source._echoOutProto666 - _registerSfidaresponse800 = source._registerSfidaresponse800 - _sfidaCertificationResponse802 = source._sfidaCertificationResponse802 - _sfidaUpdateResponse803 = source._sfidaUpdateResponse803 - _sfidaDowserResponse805 = source._sfidaDowserResponse805 - _sfidaCaptureResponse806 = source._sfidaCaptureResponse806 - _listAvatarCustomizationsOutProto807 = source._listAvatarCustomizationsOutProto807 - _setAvatarItemAsViewedOutProto808 = source._setAvatarItemAsViewedOutProto808 - _getInboxOutProto809 = source._getInboxOutProto809 - _listGymBadgesOutProto811 = source._listGymBadgesOutProto811 - _getgymBadgeDetailsOutProto812 = source._getgymBadgeDetailsOutProto812 - _useItemMoveRerollOutProto813 = source._useItemMoveRerollOutProto813 - _useItemRareCandyOutProto814 = source._useItemRareCandyOutProto814 - _awardFreeRaidTicketOutProto815 = source._awardFreeRaidTicketOutProto815 - _fetchAllNewsOutProto816 = source._fetchAllNewsOutProto816 - _markReadNewsArticleOutProto817 = source._markReadNewsArticleOutProto817 - _getPlayerSettingsOutProto818 = source._getPlayerSettingsOutProto818 - _belugaTransactionStartOutProto819 = source._belugaTransactionStartOutProto819 - _belugaTransactionCompleteOutProto820 = source._belugaTransactionCompleteOutProto820 - _sfidaAssociateResponse822 = source._sfidaAssociateResponse822 - _sfidaCheckPairingResponse823 = source._sfidaCheckPairingResponse823 - _sfidaDisassociateResponse824 = source._sfidaDisassociateResponse824 - _wainaGetRewardsResponse825 = source._wainaGetRewardsResponse825 - _wainaSubmitSleepDataResponse826 = source._wainaSubmitSleepDataResponse826 - _getNewQuestsOutProto900 = source._getNewQuestsOutProto900 - _getQuestDetailsOutProto901 = source._getQuestDetailsOutProto901 - _completeQuestOutProto902 = source._completeQuestOutProto902 - _removeQuestOutProto903 = source._removeQuestOutProto903 - _questEncounterOutProto904 = source._questEncounterOutProto904 - _progressQuestOutproto906 = source._progressQuestOutproto906 - _sendGiftOutProto950 = source._sendGiftOutProto950 - _openGiftoutProto951 = source._openGiftoutProto951 - _getgiftBoxDetailsOutProto952 = source._getgiftBoxDetailsOutProto952 - _deleteGiftOutProto953 = source._deleteGiftOutProto953 - _savePlayersnapshotOutProto954 = source._savePlayersnapshotOutProto954 - _checkSendGiftOutProto956 = source._checkSendGiftOutProto956 - _setFriendNicknameOutProto957 = source._setFriendNicknameOutProto957 - _deleteGiftFromInventoryOutProto958 = source._deleteGiftFromInventoryOutProto958 - _savesocialPlayersettingsOutProto959 = source._savesocialPlayersettingsOutProto959 - _shareExRaidPassOutProto960 = source._shareExRaidPassOutProto960 - _checkShareExRaidPassOutProto961 = source._checkShareExRaidPassOutProto961 - _declineExRaidPassOutProto962 = source._declineExRaidPassOutProto962 - _openTradingoutProto970 = source._openTradingoutProto970 - _updateTradingOutProto971 = source._updateTradingOutProto971 - _confirmTradingOutProto972 = source._confirmTradingOutProto972 - _cancelTradingOutProto973 = source._cancelTradingOutProto973 - _getTradingOutProto974 = source._getTradingOutProto974 - _getFitnessRewardsOutProto980 = source._getFitnessRewardsOutProto980 - _getCombatPlayerProfileOutProto990 = source._getCombatPlayerProfileOutProto990 - _generateCombatChallengeIDOutProto991 = source._generateCombatChallengeIDOutProto991 - _createcombatchallengeOutProto992 = source._createcombatchallengeOutProto992 - _openCombatChallengeoutProto993 = source._openCombatChallengeoutProto993 - _getCombatChallengeOutProto994 = source._getCombatChallengeOutProto994 - _acceptCombatChallengeOutProto995 = source._acceptCombatChallengeOutProto995 - _declineCombatChallengeOutProto996 = source._declineCombatChallengeOutProto996 - _cancelcombatchallengeOutProto997 = source._cancelcombatchallengeOutProto997 - _submitCombatChallengePokemonsOutProto998 = source._submitCombatChallengePokemonsOutProto998 - _saveCombatPlayerPreferencesOutProto999 = source._saveCombatPlayerPreferencesOutProto999 - _openCombatSessionoutProto1000 = source._openCombatSessionoutProto1000 - _updateCombatOutProto1001 = source._updateCombatOutProto1001 - _quitCombatOutProto1002 = source._quitCombatOutProto1002 - _getCombatResultsOutProto1003 = source._getCombatResultsOutProto1003 - _unlockPokemonMoveOutProto1004 = source._unlockPokemonMoveOutProto1004 - _getNpcCombatRewardsOutProto1005 = source._getNpcCombatRewardsOutProto1005 - _combatFriendRequestOutProto1006 = source._combatFriendRequestOutProto1006 - _openNpcCombatSessionoutProto1007 = source._openNpcCombatSessionoutProto1007 - _startTutorialOutProto1008 = source._startTutorialOutProto1008 - _getTutorialEggOutProto1009 = source._getTutorialEggOutProto1009 - _sendProbeOutProto1020 = source._sendProbeOutProto1020 - _checkPhotobombOutProto1101 = source._checkPhotobombOutProto1101 - _confirmPhotobombOutProto1102 = source._confirmPhotobombOutProto1102 - _getPhotobombOutProto1103 = source._getPhotobombOutProto1103 - _encounterPhotobombOutProto1104 = source._encounterPhotobombOutProto1104 - _getgmapSettingsOutProto1105 = source._getgmapSettingsOutProto1105 - _changeTeamOutProto1106 = source._changeTeamOutProto1106 - _getWebTokenOutProto1107 = source._getWebTokenOutProto1107 - _completeSnapshotSessionOutProto1110 = source._completeSnapshotSessionOutProto1110 - _completeWildSnapshotSessionOutProto1111 = source._completeWildSnapshotSessionOutProto1111 - _startIncidentOutProto1200 = source._startIncidentOutProto1200 - _completeInvasionDialogueOutProto1201 = source._completeInvasionDialogueOutProto1201 - _openInvasionCombatSessionoutProto1202 = source._openInvasionCombatSessionoutProto1202 - _updateInvasionBattleOutProto1203 = source._updateInvasionBattleOutProto1203 - _invasionEncounterOutProto1204 = source._invasionEncounterOutProto1204 - _purifypokemonOutproto1205 = source._purifypokemonOutproto1205 - _getRocketBalloonOutProto1206 = source._getRocketBalloonOutProto1206 - _vsSeekerStartMatchmakingOutProto1300 = source._vsSeekerStartMatchmakingOutProto1300 - _cancelMatchmakingOutProto1301 = source._cancelMatchmakingOutProto1301 - _getMatchmakingStatusOutProto1302 = source._getMatchmakingStatusOutProto1302 - _completeVsSeekerAndRestartchargingOutProto1303 = source._completeVsSeekerAndRestartchargingOutProto1303 - _getVsSeekerStatusOutProto1304 = source._getVsSeekerStatusOutProto1304 - _completecompetitiveSeasonOutProto1305 = source._completecompetitiveSeasonOutProto1305 - _claimVsSeekerRewardsOutProto1306 = source._claimVsSeekerRewardsOutProto1306 - _vsSeekerRewardEncounterOutProto1307 = source._vsSeekerRewardEncounterOutProto1307 - _activateVsSeekerOutProto1308 = source._activateVsSeekerOutProto1308 - _buddyMapOutProto1350 = source._buddyMapOutProto1350 - _buddyStatsOutProto1351 = source._buddyStatsOutProto1351 - _buddyFeedingOutProto1352 = source._buddyFeedingOutProto1352 - _openBuddyGiftoutProto1353 = source._openBuddyGiftoutProto1353 - _buddyPettingOutProto1354 = source._buddyPettingOutProto1354 - _getBuddyHistoryOutProto1355 = source._getBuddyHistoryOutProto1355 - _updateRouteDraftOutProto1400 = source._updateRouteDraftOutProto1400 - _getMapFortsOutProto1401 = source._getMapFortsOutProto1401 - _submitRouteDraftOutProto1402 = source._submitRouteDraftOutProto1402 - _getPublishedRoutesOutProto1403 = source._getPublishedRoutesOutProto1403 - _startRouteOutProto1404 = source._startRouteOutProto1404 - _getRoutesOutProto1405 = source._getRoutesOutProto1405 - _progressRouteOutproto1406 = source._progressRouteOutproto1406 - _processRouteTappableOutproto1408 = source._processRouteTappableOutproto1408 - _listRouteBadgesOutProto1409 = source._listRouteBadgesOutProto1409 - _cancelRouteOutProto1410 = source._cancelRouteOutProto1410 - _createBuddyMultiplayerSessionOutProto1456 = source._createBuddyMultiplayerSessionOutProto1456 - _joinBuddyMultiplayerSessionOutProto1457 = source._joinBuddyMultiplayerSessionOutProto1457 - _leaveBuddyMultiplayerSessionOutProto1458 = source._leaveBuddyMultiplayerSessionOutProto1458 - _getTodayViewOutProto1501 = source._getTodayViewOutProto1501 - _megaEvolvePokemonOutProto1502 = source._megaEvolvePokemonOutProto1502 - _remoteGiftPingresponseProto1503 = source._remoteGiftPingresponseProto1503 - _sendRaidInvitationOutProto1504 = source._sendRaidInvitationOutProto1504 - _getDailyEncounterOutProto1601 = source._getDailyEncounterOutProto1601 - _dailyEncounterOutProto1602 = source._dailyEncounterOutProto1602 - _openSponsoredGiftoutProto1650 = source._openSponsoredGiftoutProto1650 - _savePlayerPreferencesOutProto1652 = source._savePlayerPreferencesOutProto1652 - _profanityCheckOutproto1653 = source._profanityCheckOutproto1653 - _getTimedgroupChallengeOutProto1700 = source._getTimedgroupChallengeOutProto1700 - _getNintendoAccountOutProto1710 = source._getNintendoAccountOutProto1710 - _unlinkNintendoAccountOutProto1711 = source._unlinkNintendoAccountOutProto1711 - _getNintendoOAuth2URLOutProto1712 = source._getNintendoOAuth2URLOutProto1712 - _transferPokemontoPokemonHomeOutProto1713 = source._transferPokemontoPokemonHomeOutProto1713 - _reportAdFeedbackresponse1716 = source._reportAdFeedbackresponse1716 - _createPokemonTagOutProto1717 = source._createPokemonTagOutProto1717 - _deletePokemonTagOutProto1718 = source._deletePokemonTagOutProto1718 - _editPokemonTagOutProto1719 = source._editPokemonTagOutProto1719 - _setPokemonTagsForPokemonOutProto1720 = source._setPokemonTagsForPokemonOutProto1720 - _getPokemonTagsOutProto1721 = source._getPokemonTagsOutProto1721 - _changePokemonFormOutProto1722 = source._changePokemonFormOutProto1722 - _chooseGlobalTicketedEventVariantOutProto1723 = source._chooseGlobalTicketedEventVariantOutProto1723 - _getReferralCodeOutProto1800 = source._getReferralCodeOutProto1800 - _addReferrerOutProto1801 = source._addReferrerOutProto1801 - _sendFriendInviteViaReferralCodeOutProto1802 = source._sendFriendInviteViaReferralCodeOutProto1802 - _getMilestonesOutProto1803 = source._getMilestonesOutProto1803 - _markmilestoneAsViewedOutProto1804 = source._markmilestoneAsViewedOutProto1804 - _getMilestonesPreviewOutProto1805 = source._getMilestonesPreviewOutProto1805 - _completeMilestoneOutProto1806 = source._completeMilestoneOutProto1806 - _getgeofencedAdOutProto1820 = source._getgeofencedAdOutProto1820 - _deletePostcardsOutProto1909 = source._deletePostcardsOutProto1909 - _createPostcardOutProto1910 = source._createPostcardOutProto1910 - _updatePostcardOutProto1911 = source._updatePostcardOutProto1911 - _deletePostcardOutProto1912 = source._deletePostcardOutProto1912 - _getMementoListOutProto1913 = source._getMementoListOutProto1913 - _uploadRaidClientLogOutProto1914 = source._uploadRaidClientLogOutProto1914 - _checkGiftingEligibilityOutProto2000 = source._checkGiftingEligibilityOutProto2000 - _redeemTicketGiftForFriendOutProto2001 = source._redeemTicketGiftForFriendOutProto2001 - _getInsenceRecapOutProto2002 = source._getInsenceRecapOutProto2002 - _getAckwowledgeInsenceRecapOutProto2003 = source._getAckwowledgeInsenceRecapOutProto2003 - _getPokestopEncounterOutProto2005 = source._getPokestopEncounterOutProto2005 - _encounterPokestopencounterOutProto2006 = source._encounterPokestopencounterOutProto2006 - _playerSpawnablepokemonOutproto2007 = source._playerSpawnablepokemonOutproto2007 - _sendFriendRequestViaPlayerIDOutProto2010 = source._sendFriendRequestViaPlayerIDOutProto2010 - _getRaidLobbyCounterOutProto2011 = source._getRaidLobbyCounterOutProto2011 - _updatePokemonSizeContestEntryOutProto2101 = source._updatePokemonSizeContestEntryOutProto2101 - _getPokemonSizeContestEntryOutProto2104 = source._getPokemonSizeContestEntryOutProto2104 - _getContestDataOutProto2105 = source._getContestDataOutProto2105 - _getContestsUnclaimedRewardsOutProto2106 = source._getContestsUnclaimedRewardsOutProto2106 - _claimcontestsRewardsOutProto2107 = source._claimcontestsRewardsOutProto2107 - _getEnteredContestOutProto2108 = source._getEnteredContestOutProto2108 - _startPartyOutProto2302 = source._startPartyOutProto2302 - _getVpsEventOutProto3000 = source._getVpsEventOutProto3000 - _updateVpsEventOutProto3001 = source._updateVpsEventOutProto3001 - _pushNotificationRegistryOutproto5000 = source._pushNotificationRegistryOutproto5000 - _updateNotificationOutProto5002 = source._updateNotificationOutProto5002 - _optoutProto5003 = source._optoutProto5003 - _downloadGmTemplatesResponseProto5004 = source._downloadGmTemplatesResponseProto5004 - _getInventoryResponseProto5005 = source._getInventoryResponseProto5005 - _redeemPasscoderesponseProto5006 = source._redeemPasscoderesponseProto5006 - _pingResponseproto5007 = source._pingResponseproto5007 - _addLoginactionOutProto5008 = source._addLoginactionOutProto5008 - _removeLoginActionOutProto5009 = source._removeLoginActionOutProto5009 - _listloginActionOutProto5010 = source._listloginActionOutProto5010 - _submitNewPoiOutProto5011 = source._submitNewPoiOutProto5011 - _proxyResponseproto5012 = source._proxyResponseproto5012 - _getAvailableSubmissionsOutProto5014 = source._getAvailableSubmissionsOutProto5014 - _replaceLoginActionOutProto5015 = source._replaceLoginActionOutProto5015 - _clientTelemetryBatchOutProto5018 = source._clientTelemetryBatchOutProto5018 - _purchaseSkuOutproto5019 = source._purchaseSkuOutproto5019 - _getAvailableSkusAndBalancesOutProto5020 = source._getAvailableSkusAndBalancesOutProto5020 - _redeemGooglereceiptOutProto5021 = source._redeemGooglereceiptOutProto5021 - _redeemApplereceiptOutProto5022 = source._redeemApplereceiptOutProto5022 - _redeemDesktopreceiptOutProto5023 = source._redeemDesktopreceiptOutProto5023 - _fitnessUpdateOutProto5024 = source._fitnessUpdateOutProto5024 - _getFitnessReportOutProto5025 = source._getFitnessReportOutProto5025 - _clientTelemetryclientSettingsProto5026 = source._clientTelemetryclientSettingsProto5026 - _registerBackgroundServiceresponseProto5028 = source._registerBackgroundServiceresponseProto5028 - _setInGameCurrencyExchangeRateOutProto5032 = source._setInGameCurrencyExchangeRateOutProto5032 - _geofenceUpdateOutProto5033 = source._geofenceUpdateOutProto5033 - _locationPingOutProto5034 = source._locationPingOutProto5034 - _generategmapSignedURLOutProto5035 = source._generategmapSignedURLOutProto5035 - _getgmapSettingsOutProto5036 = source._getgmapSettingsOutProto5036 - _redeemSamsungreceiptOutProto5037 = source._redeemSamsungreceiptOutProto5037 - _getWebTokenOutProto5045 = source._getWebTokenOutProto5045 - _getAdventureSyncSettingsResponseProto5046 = source._getAdventureSyncSettingsResponseProto5046 - _updateAdventureSyncSettingsResponseProto5047 = source._updateAdventureSyncSettingsResponseProto5047 - _searchPlayerOutProto10000 = source._searchPlayerOutProto10000 - _sendFriendInviteOutProto10002 = source._sendFriendInviteOutProto10002 - _cancelFriendInviteOutProto10003 = source._cancelFriendInviteOutProto10003 - _acceptFriendInviteOutProto10004 = source._acceptFriendInviteOutProto10004 - _declineFriendInviteOutProto10005 = source._declineFriendInviteOutProto10005 - _getFriendsListOutProto10006 = source._getFriendsListOutProto10006 - _getOutgoingFriendInvitesOutProto10007 = source._getOutgoingFriendInvitesOutProto10007 - _getIncomingFriendInvitesOutProto10008 = source._getIncomingFriendInvitesOutProto10008 - _removeFriendOutProto10009 = source._removeFriendOutProto10009 - _getFriendDetailsOutProto10010 = source._getFriendDetailsOutProto10010 - _inviteFacebookFriendOutProto10011 = source._inviteFacebookFriendOutProto10011 - _isMyFriendOutProto10012 = source._isMyFriendOutProto10012 - _getFriendCodeOutProto10013 = source._getFriendCodeOutProto10013 - _getFacebookFriendListOutProto10014 = source._getFacebookFriendListOutProto10014 - _updateFacebookStatusOutProto10015 = source._updateFacebookStatusOutProto10015 - _savesocialPlayersettingsOutProto10016 = source._savesocialPlayersettingsOutProto10016 - _getPlayerSettingsOutProto10017 = source._getPlayerSettingsOutProto10017 - _setAccountsettingsOutProto10021 = source._setAccountsettingsOutProto10021 - _getAccountSettingsOutProto10022 = source._getAccountSettingsOutProto10022 - _addFavoriteFriendResponse10023 = source._addFavoriteFriendResponse10023 - _removeFavoriteFriendresponse10024 = source._removeFavoriteFriendresponse10024 - _blockAccountOutProto10025 = source._blockAccountOutProto10025 - _unblockAccountOutProto10026 = source._unblockAccountOutProto10026 - _getOutgoingBlocksOutProto10027 = source._getOutgoingBlocksOutProto10027 - _isAccountBlockedOutProto10028 = source._isAccountBlockedOutProto10028 - _pushNotificationRegistryOutproto10101 = source._pushNotificationRegistryOutproto10101 - _updateNotificationOutProto10103 = source._updateNotificationOutProto10103 - _optoutProto10104 = source._optoutProto10104 - _getInboxOutProto10105 = source._getInboxOutProto10105 - _getSignedURLOutProto10201 = source._getSignedURLOutProto10201 - _submitImageOutProto10202 = source._submitImageOutProto10202 - _getPhotosOutProto10203 = source._getPhotosOutProto10203 - _deletePhotoOutProto10204 = source._deletePhotoOutProto10204 - _flagPhotoResponse10205 = source._flagPhotoResponse10205 - _updateProfileResponse20001 = source._updateProfileResponse20001 - _updateFriendshipResponse20002 = source._updateFriendshipResponse20002 - _getProfileResponse20003 = source._getProfileResponse20003 - _inviteGameResponse20004 = source._inviteGameResponse20004 - _listFriendsResponse20006 = source._listFriendsResponse20006 - _getFriendDetailsOutProto20007 = source._getFriendDetailsOutProto20007 - _getClientFeatureFlagsResponse20008 = source._getClientFeatureFlagsResponse20008 - _getIncominggameInvitesResponse20010 = source._getIncominggameInvitesResponse20010 - _updateIncomingGameInviteResponse20011 = source._updateIncomingGameInviteResponse20011 - _dismissOutgoingGameInvitesResponse20012 = source._dismissOutgoingGameInvitesResponse20012 - _syncContactListResponse20013 = source._syncContactListResponse20013 - _sendContactListFriendInviteResponse20014 = source._sendContactListFriendInviteResponse20014 - _referContactListFriendresponse20015 = source._referContactListFriendresponse20015 - _getContactListInfoResponse20016 = source._getContactListInfoResponse20016 - _dismissContactListUpdateResponse20017 = source._dismissContactListUpdateResponse20017 - _notifyContactListFriendsResponse20018 = source._notifyContactListFriendsResponse20018 - _getFriendRecommendationResponse20500 = source._getFriendRecommendationResponse20500 - _registerBackgroundServiceresponseProto230000 = source._registerBackgroundServiceresponseProto230000 - _getAdventureSyncProgressOutProto230002 = source._getAdventureSyncProgressOutProto230002 - _purchaseSkuOutproto310000 = source._purchaseSkuOutproto310000 - _getAvailableSkusAndBalancesOutProto310001 = source._getAvailableSkusAndBalancesOutProto310001 - _setInGameCurrencyExchangeRateOutProto310002 = source._setInGameCurrencyExchangeRateOutProto310002 - _redeemGooglereceiptOutProto310100 = source._redeemGooglereceiptOutProto310100 - _redeemApplereceiptOutProto310101 = source._redeemApplereceiptOutProto310101 - _redeemDesktopreceiptOutProto310102 = source._redeemDesktopreceiptOutProto310102 - _redeemSamsungreceiptOutProto310103 = source._redeemSamsungreceiptOutProto310103 - _getAvailableSubscriptionsResponseProto310200 = source._getAvailableSubscriptionsResponseProto310200 - _getActiveSubscriptionsResponseProto310201 = source._getActiveSubscriptionsResponseProto310201 - _geofenceUpdateOutProto360000 = source._geofenceUpdateOutProto360000 - _locationPingOutProto360001 = source._locationPingOutProto360001 - _updateBreadcrumbHistoryResponseProto361000 = source._updateBreadcrumbHistoryResponseProto361000 - _refreshProximityTokensresponseProto362000 = source._refreshProximityTokensresponseProto362000 - _reportProximityContactsresponseProto362001 = source._reportProximityContactsresponseProto362001 - _getgameAccessTokenOutProto600005 = source._getgameAccessTokenOutProto600005 - _submitNewPoiOutProto620000 = source._submitNewPoiOutProto620000 - _getAvailableSubmissionsOutProto620001 = source._getAvailableSubmissionsOutProto620001 - _getPlayerSubmissionValidationSettingsOutProto620003 = source._getPlayerSubmissionValidationSettingsOutProto620003 - _generategmapSignedURLOutProto620300 = source._generategmapSignedURLOutProto620300 - _getgmapSettingsOutProto620301 = source._getgmapSettingsOutProto620301 - _getgrapeshotUploadURLOutProto620401 = source._getgrapeshotUploadURLOutProto620401 - _asyncFileUploadCompleteOutProto620402 = source._asyncFileUploadCompleteOutProto620402 - _getARMappingSettingsOutProto620403 = source._getARMappingSettingsOutProto620403 - _getImagesForPoiOutProto620500 = source._getImagesForPoiOutProto620500 - _submitPlayerImageVoteForPoiOutProto620501 = source._submitPlayerImageVoteForPoiOutProto620501 - _getImagegallerySettingsOutProto620502 = source._getImagegallerySettingsOutProto620502 - _getMapDataOutProto620600 = source._getMapDataOutProto620600 - _getPoisInRadiusOutProto620601 = source._getPoisInRadiusOutProto620601 - _fitnessUpdateOutProto640000 = source._fitnessUpdateOutProto640000 - _getFitnessReportOutProto640001 = source._getFitnessReportOutProto640001 - _getAdventureSyncSettingsResponseProto640002 = source._getAdventureSyncSettingsResponseProto640002 - _updateAdventureSyncSettingsResponseProto640003 = source._updateAdventureSyncSettingsResponseProto640003 - _updateAdventureSyncFitnessResponseProto640004 = source._updateAdventureSyncFitnessResponseProto640004 - _getAdventureSyncFitnessReportResponseProto640005 = source._getAdventureSyncFitnessReportResponseProto640005 +extension ARDKGrapeshotAuthenticationDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGrapeshotAuthenticationDataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "authorization"), + 2: .same(proto: "date"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.authorization) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.date) }() + default: break + } } } - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + public func traverse(visitor: inout V) throws { + if !self.authorization.isEmpty { + try visitor.visitSingularStringField(value: self.authorization, fieldNumber: 1) } - return _storage + if !self.date.isEmpty { + try visitor.visitSingularStringField(value: self.date, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) } + public static func ==(lhs: ARDKGrapeshotAuthenticationDataProto, rhs: ARDKGrapeshotAuthenticationDataProto) -> Bool { + if lhs.authorization != rhs.authorization {return false} + if lhs.date != rhs.date {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGrapeshotChunkDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGrapeshotChunkDataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "chunk_file_path"), + 2: .standard(proto: "chunk_number"), + 3: .standard(proto: "upload_authentication"), + 4: .standard(proto: "delete_authentication"), + ] + public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerOutProto2) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._getHoloholoInventoryOutProto4) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._downloadSettingsResponseProto5) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._getgameMasterClientTemplatesOutProto6) }() - case 7: try { try decoder.decodeSingularMessageField(value: &_storage._getRemoteConfigVersionsOutProto7) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._registerBackgroundDeviceresponseProto8) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerDayOutProto9) }() - case 10: try { try decoder.decodeSingularMessageField(value: &_storage._acknowledgePunishmentOutProto10) }() - case 11: try { try decoder.decodeSingularMessageField(value: &_storage._getServerTimeOutProto11) }() - case 12: try { try decoder.decodeSingularMessageField(value: &_storage._getLocalTimeOutProto12) }() - case 101: try { try decoder.decodeSingularMessageField(value: &_storage._fortSearchOutProto101) }() - case 102: try { try decoder.decodeSingularMessageField(value: &_storage._encounterOutProto102) }() - case 103: try { try decoder.decodeSingularMessageField(value: &_storage._catchPokemonOutProto103) }() - case 104: try { try decoder.decodeSingularMessageField(value: &_storage._fortDetailsOutProto104) }() - case 106: try { try decoder.decodeSingularMessageField(value: &_storage._getMapObjectsOutProto106) }() - case 110: try { try decoder.decodeSingularMessageField(value: &_storage._fortDeployOutProto110) }() - case 111: try { try decoder.decodeSingularMessageField(value: &_storage._fortRecallOutProto111) }() - case 112: try { try decoder.decodeSingularMessageField(value: &_storage._releasePokemonOutProto112) }() - case 113: try { try decoder.decodeSingularMessageField(value: &_storage._useItemPotionOutProto113) }() - case 114: try { try decoder.decodeSingularMessageField(value: &_storage._useItemCaptureOutProto114) }() - case 116: try { try decoder.decodeSingularMessageField(value: &_storage._useItemReviveOutProto116) }() - case 121: try { try decoder.decodeSingularMessageField(value: &_storage._playerprofileOutproto121) }() - case 125: try { try decoder.decodeSingularMessageField(value: &_storage._evolvePokemonOutProto125) }() - case 126: try { try decoder.decodeSingularMessageField(value: &_storage._getHatchedEggsOutProto126) }() - case 127: try { try decoder.decodeSingularMessageField(value: &_storage._encounterTutorialCompleteOutProto127) }() - case 128: try { try decoder.decodeSingularMessageField(value: &_storage._levelUpRewardsOutProto128) }() - case 129: try { try decoder.decodeSingularMessageField(value: &_storage._checkAwardedBadgesOutProto129) }() - case 137: try { try decoder.decodeSingularMessageField(value: &_storage._recycleItemOutProto137) }() - case 138: try { try decoder.decodeSingularMessageField(value: &_storage._collectDailyBonusOutProto138) }() - case 139: try { try decoder.decodeSingularMessageField(value: &_storage._useItemXpBoostOutProto139) }() - case 140: try { try decoder.decodeSingularMessageField(value: &_storage._useItemEggIncubatorOutProto140) }() - case 141: try { try decoder.decodeSingularMessageField(value: &_storage._useIncenseActionOutProto141) }() - case 142: try { try decoder.decodeSingularMessageField(value: &_storage._getIncensePokemonOutProto142) }() - case 143: try { try decoder.decodeSingularMessageField(value: &_storage._incenseEncounterOutProto143) }() - case 144: try { try decoder.decodeSingularMessageField(value: &_storage._addFortModifierOutProto144) }() - case 145: try { try decoder.decodeSingularMessageField(value: &_storage._diskEncounterOutProto145) }() - case 147: try { try decoder.decodeSingularMessageField(value: &_storage._upgradePokemonOutProto147) }() - case 148: try { try decoder.decodeSingularMessageField(value: &_storage._setFavoritePokemonOutProto148) }() - case 149: try { try decoder.decodeSingularMessageField(value: &_storage._nicknamePokemonOutProto149) }() - case 150: try { try decoder.decodeSingularMessageField(value: &_storage._equipBadgeOutProto150) }() - case 151: try { try decoder.decodeSingularMessageField(value: &_storage._setContactsettingsOutProto151) }() - case 152: try { try decoder.decodeSingularMessageField(value: &_storage._setBuddyPokemonOutProto152) }() - case 153: try { try decoder.decodeSingularMessageField(value: &_storage._getBuddyWalkedOutProto153) }() - case 154: try { try decoder.decodeSingularMessageField(value: &_storage._useItemEncounterOutProto154) }() - case 155: try { try decoder.decodeSingularMessageField(value: &_storage._gymDeployOutProto155) }() - case 156: try { try decoder.decodeSingularMessageField(value: &_storage._gymgetInfoOutProto156) }() - case 157: try { try decoder.decodeSingularMessageField(value: &_storage._gymStartSessionOutProto157) }() - case 158: try { try decoder.decodeSingularMessageField(value: &_storage._gymBattleAttackOutProto158) }() - case 159: try { try decoder.decodeSingularMessageField(value: &_storage._joinLobbyOutProto159) }() - case 160: try { try decoder.decodeSingularMessageField(value: &_storage._leavelobbyOutProto160) }() - case 161: try { try decoder.decodeSingularMessageField(value: &_storage._setLobbyVisibilityOutProto161) }() - case 162: try { try decoder.decodeSingularMessageField(value: &_storage._setLobbyPokemonOutProto162) }() - case 163: try { try decoder.decodeSingularMessageField(value: &_storage._getRaidDetailsOutProto163) }() - case 164: try { try decoder.decodeSingularMessageField(value: &_storage._gymFeedPokemonOutProto164) }() - case 165: try { try decoder.decodeSingularMessageField(value: &_storage._startRaidBattleOutProto165) }() - case 166: try { try decoder.decodeSingularMessageField(value: &_storage._attackRaidBattleOutProto166) }() - case 168: try { try decoder.decodeSingularMessageField(value: &_storage._useItemStardustBoostOutProto168) }() - case 169: try { try decoder.decodeSingularMessageField(value: &_storage._reassignPlayerOutProto169) }() - case 171: try { try decoder.decodeSingularMessageField(value: &_storage._convertcandyToXlcandyOutProto171) }() - case 172: try { try decoder.decodeSingularMessageField(value: &_storage._isSkuAvailableOutProto172) }() - case 300: try { try decoder.decodeSingularMessageField(value: &_storage._assetDigestOutProto300) }() - case 301: try { try decoder.decodeSingularMessageField(value: &_storage._downloadURLOutProto301) }() - case 302: try { try decoder.decodeSingularMessageField(value: &_storage._assetVersionOutProto302) }() - case 403: try { try decoder.decodeSingularMessageField(value: &_storage._codenameResultProto403) }() - case 404: try { try decoder.decodeSingularMessageField(value: &_storage._setAvatarOutProto404) }() - case 405: try { try decoder.decodeSingularMessageField(value: &_storage._setPlayerTeamOutProto405) }() - case 406: try { try decoder.decodeSingularMessageField(value: &_storage._markTutorialCompleteOutProto406) }() - case 408: try { try decoder.decodeSingularMessageField(value: &_storage._setNeutralAvatarOutProto408) }() - case 600: try { try decoder.decodeSingularMessageField(value: &_storage._checkchallengeOutProto600) }() - case 601: try { try decoder.decodeSingularMessageField(value: &_storage._verifyChallengeOutProto601) }() - case 666: try { try decoder.decodeSingularMessageField(value: &_storage._echoOutProto666) }() - case 800: try { try decoder.decodeSingularMessageField(value: &_storage._registerSfidaresponse800) }() - case 802: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCertificationResponse802) }() - case 803: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaUpdateResponse803) }() - case 805: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaDowserResponse805) }() - case 806: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCaptureResponse806) }() - case 807: try { try decoder.decodeSingularMessageField(value: &_storage._listAvatarCustomizationsOutProto807) }() - case 808: try { try decoder.decodeSingularMessageField(value: &_storage._setAvatarItemAsViewedOutProto808) }() - case 809: try { try decoder.decodeSingularMessageField(value: &_storage._getInboxOutProto809) }() - case 811: try { try decoder.decodeSingularMessageField(value: &_storage._listGymBadgesOutProto811) }() - case 812: try { try decoder.decodeSingularMessageField(value: &_storage._getgymBadgeDetailsOutProto812) }() - case 813: try { try decoder.decodeSingularMessageField(value: &_storage._useItemMoveRerollOutProto813) }() - case 814: try { try decoder.decodeSingularMessageField(value: &_storage._useItemRareCandyOutProto814) }() - case 815: try { try decoder.decodeSingularMessageField(value: &_storage._awardFreeRaidTicketOutProto815) }() - case 816: try { try decoder.decodeSingularMessageField(value: &_storage._fetchAllNewsOutProto816) }() - case 817: try { try decoder.decodeSingularMessageField(value: &_storage._markReadNewsArticleOutProto817) }() - case 818: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerSettingsOutProto818) }() - case 819: try { try decoder.decodeSingularMessageField(value: &_storage._belugaTransactionStartOutProto819) }() - case 820: try { try decoder.decodeSingularMessageField(value: &_storage._belugaTransactionCompleteOutProto820) }() - case 822: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaAssociateResponse822) }() - case 823: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCheckPairingResponse823) }() - case 824: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaDisassociateResponse824) }() - case 825: try { try decoder.decodeSingularMessageField(value: &_storage._wainaGetRewardsResponse825) }() - case 826: try { try decoder.decodeSingularMessageField(value: &_storage._wainaSubmitSleepDataResponse826) }() - case 900: try { try decoder.decodeSingularMessageField(value: &_storage._getNewQuestsOutProto900) }() - case 901: try { try decoder.decodeSingularMessageField(value: &_storage._getQuestDetailsOutProto901) }() - case 902: try { try decoder.decodeSingularMessageField(value: &_storage._completeQuestOutProto902) }() - case 903: try { try decoder.decodeSingularMessageField(value: &_storage._removeQuestOutProto903) }() - case 904: try { try decoder.decodeSingularMessageField(value: &_storage._questEncounterOutProto904) }() - case 906: try { try decoder.decodeSingularMessageField(value: &_storage._progressQuestOutproto906) }() - case 950: try { try decoder.decodeSingularMessageField(value: &_storage._sendGiftOutProto950) }() - case 951: try { try decoder.decodeSingularMessageField(value: &_storage._openGiftoutProto951) }() - case 952: try { try decoder.decodeSingularMessageField(value: &_storage._getgiftBoxDetailsOutProto952) }() - case 953: try { try decoder.decodeSingularMessageField(value: &_storage._deleteGiftOutProto953) }() - case 954: try { try decoder.decodeSingularMessageField(value: &_storage._savePlayersnapshotOutProto954) }() - case 956: try { try decoder.decodeSingularMessageField(value: &_storage._checkSendGiftOutProto956) }() - case 957: try { try decoder.decodeSingularMessageField(value: &_storage._setFriendNicknameOutProto957) }() - case 958: try { try decoder.decodeSingularMessageField(value: &_storage._deleteGiftFromInventoryOutProto958) }() - case 959: try { try decoder.decodeSingularMessageField(value: &_storage._savesocialPlayersettingsOutProto959) }() - case 960: try { try decoder.decodeSingularMessageField(value: &_storage._shareExRaidPassOutProto960) }() - case 961: try { try decoder.decodeSingularMessageField(value: &_storage._checkShareExRaidPassOutProto961) }() - case 962: try { try decoder.decodeSingularMessageField(value: &_storage._declineExRaidPassOutProto962) }() - case 970: try { try decoder.decodeSingularMessageField(value: &_storage._openTradingoutProto970) }() - case 971: try { try decoder.decodeSingularMessageField(value: &_storage._updateTradingOutProto971) }() - case 972: try { try decoder.decodeSingularMessageField(value: &_storage._confirmTradingOutProto972) }() - case 973: try { try decoder.decodeSingularMessageField(value: &_storage._cancelTradingOutProto973) }() - case 974: try { try decoder.decodeSingularMessageField(value: &_storage._getTradingOutProto974) }() - case 980: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessRewardsOutProto980) }() - case 990: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatPlayerProfileOutProto990) }() - case 991: try { try decoder.decodeSingularMessageField(value: &_storage._generateCombatChallengeIDOutProto991) }() - case 992: try { try decoder.decodeSingularMessageField(value: &_storage._createcombatchallengeOutProto992) }() - case 993: try { try decoder.decodeSingularMessageField(value: &_storage._openCombatChallengeoutProto993) }() - case 994: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatChallengeOutProto994) }() - case 995: try { try decoder.decodeSingularMessageField(value: &_storage._acceptCombatChallengeOutProto995) }() - case 996: try { try decoder.decodeSingularMessageField(value: &_storage._declineCombatChallengeOutProto996) }() - case 997: try { try decoder.decodeSingularMessageField(value: &_storage._cancelcombatchallengeOutProto997) }() - case 998: try { try decoder.decodeSingularMessageField(value: &_storage._submitCombatChallengePokemonsOutProto998) }() - case 999: try { try decoder.decodeSingularMessageField(value: &_storage._saveCombatPlayerPreferencesOutProto999) }() - case 1000: try { try decoder.decodeSingularMessageField(value: &_storage._openCombatSessionoutProto1000) }() - case 1001: try { try decoder.decodeSingularMessageField(value: &_storage._updateCombatOutProto1001) }() - case 1002: try { try decoder.decodeSingularMessageField(value: &_storage._quitCombatOutProto1002) }() - case 1003: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatResultsOutProto1003) }() - case 1004: try { try decoder.decodeSingularMessageField(value: &_storage._unlockPokemonMoveOutProto1004) }() - case 1005: try { try decoder.decodeSingularMessageField(value: &_storage._getNpcCombatRewardsOutProto1005) }() - case 1006: try { try decoder.decodeSingularMessageField(value: &_storage._combatFriendRequestOutProto1006) }() - case 1007: try { try decoder.decodeSingularMessageField(value: &_storage._openNpcCombatSessionoutProto1007) }() - case 1008: try { try decoder.decodeSingularMessageField(value: &_storage._startTutorialOutProto1008) }() - case 1009: try { try decoder.decodeSingularMessageField(value: &_storage._getTutorialEggOutProto1009) }() - case 1020: try { try decoder.decodeSingularMessageField(value: &_storage._sendProbeOutProto1020) }() - case 1101: try { try decoder.decodeSingularMessageField(value: &_storage._checkPhotobombOutProto1101) }() - case 1102: try { try decoder.decodeSingularMessageField(value: &_storage._confirmPhotobombOutProto1102) }() - case 1103: try { try decoder.decodeSingularMessageField(value: &_storage._getPhotobombOutProto1103) }() - case 1104: try { try decoder.decodeSingularMessageField(value: &_storage._encounterPhotobombOutProto1104) }() - case 1105: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsOutProto1105) }() - case 1106: try { try decoder.decodeSingularMessageField(value: &_storage._changeTeamOutProto1106) }() - case 1107: try { try decoder.decodeSingularMessageField(value: &_storage._getWebTokenOutProto1107) }() - case 1110: try { try decoder.decodeSingularMessageField(value: &_storage._completeSnapshotSessionOutProto1110) }() - case 1111: try { try decoder.decodeSingularMessageField(value: &_storage._completeWildSnapshotSessionOutProto1111) }() - case 1200: try { try decoder.decodeSingularMessageField(value: &_storage._startIncidentOutProto1200) }() - case 1201: try { try decoder.decodeSingularMessageField(value: &_storage._completeInvasionDialogueOutProto1201) }() - case 1202: try { try decoder.decodeSingularMessageField(value: &_storage._openInvasionCombatSessionoutProto1202) }() - case 1203: try { try decoder.decodeSingularMessageField(value: &_storage._updateInvasionBattleOutProto1203) }() - case 1204: try { try decoder.decodeSingularMessageField(value: &_storage._invasionEncounterOutProto1204) }() - case 1205: try { try decoder.decodeSingularMessageField(value: &_storage._purifypokemonOutproto1205) }() - case 1206: try { try decoder.decodeSingularMessageField(value: &_storage._getRocketBalloonOutProto1206) }() - case 1300: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerStartMatchmakingOutProto1300) }() - case 1301: try { try decoder.decodeSingularMessageField(value: &_storage._cancelMatchmakingOutProto1301) }() - case 1302: try { try decoder.decodeSingularMessageField(value: &_storage._getMatchmakingStatusOutProto1302) }() - case 1303: try { try decoder.decodeSingularMessageField(value: &_storage._completeVsSeekerAndRestartchargingOutProto1303) }() - case 1304: try { try decoder.decodeSingularMessageField(value: &_storage._getVsSeekerStatusOutProto1304) }() - case 1305: try { try decoder.decodeSingularMessageField(value: &_storage._completecompetitiveSeasonOutProto1305) }() - case 1306: try { try decoder.decodeSingularMessageField(value: &_storage._claimVsSeekerRewardsOutProto1306) }() - case 1307: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerRewardEncounterOutProto1307) }() - case 1308: try { try decoder.decodeSingularMessageField(value: &_storage._activateVsSeekerOutProto1308) }() - case 1350: try { try decoder.decodeSingularMessageField(value: &_storage._buddyMapOutProto1350) }() - case 1351: try { try decoder.decodeSingularMessageField(value: &_storage._buddyStatsOutProto1351) }() - case 1352: try { try decoder.decodeSingularMessageField(value: &_storage._buddyFeedingOutProto1352) }() - case 1353: try { try decoder.decodeSingularMessageField(value: &_storage._openBuddyGiftoutProto1353) }() - case 1354: try { try decoder.decodeSingularMessageField(value: &_storage._buddyPettingOutProto1354) }() - case 1355: try { try decoder.decodeSingularMessageField(value: &_storage._getBuddyHistoryOutProto1355) }() - case 1400: try { try decoder.decodeSingularMessageField(value: &_storage._updateRouteDraftOutProto1400) }() - case 1401: try { try decoder.decodeSingularMessageField(value: &_storage._getMapFortsOutProto1401) }() - case 1402: try { try decoder.decodeSingularMessageField(value: &_storage._submitRouteDraftOutProto1402) }() - case 1403: try { try decoder.decodeSingularMessageField(value: &_storage._getPublishedRoutesOutProto1403) }() - case 1404: try { try decoder.decodeSingularMessageField(value: &_storage._startRouteOutProto1404) }() - case 1405: try { try decoder.decodeSingularMessageField(value: &_storage._getRoutesOutProto1405) }() - case 1406: try { try decoder.decodeSingularMessageField(value: &_storage._progressRouteOutproto1406) }() - case 1408: try { try decoder.decodeSingularMessageField(value: &_storage._processRouteTappableOutproto1408) }() - case 1409: try { try decoder.decodeSingularMessageField(value: &_storage._listRouteBadgesOutProto1409) }() - case 1410: try { try decoder.decodeSingularMessageField(value: &_storage._cancelRouteOutProto1410) }() - case 1456: try { try decoder.decodeSingularMessageField(value: &_storage._createBuddyMultiplayerSessionOutProto1456) }() - case 1457: try { try decoder.decodeSingularMessageField(value: &_storage._joinBuddyMultiplayerSessionOutProto1457) }() - case 1458: try { try decoder.decodeSingularMessageField(value: &_storage._leaveBuddyMultiplayerSessionOutProto1458) }() - case 1501: try { try decoder.decodeSingularMessageField(value: &_storage._getTodayViewOutProto1501) }() - case 1502: try { try decoder.decodeSingularMessageField(value: &_storage._megaEvolvePokemonOutProto1502) }() - case 1503: try { try decoder.decodeSingularMessageField(value: &_storage._remoteGiftPingresponseProto1503) }() - case 1504: try { try decoder.decodeSingularMessageField(value: &_storage._sendRaidInvitationOutProto1504) }() - case 1601: try { try decoder.decodeSingularMessageField(value: &_storage._getDailyEncounterOutProto1601) }() - case 1602: try { try decoder.decodeSingularMessageField(value: &_storage._dailyEncounterOutProto1602) }() - case 1650: try { try decoder.decodeSingularMessageField(value: &_storage._openSponsoredGiftoutProto1650) }() - case 1652: try { try decoder.decodeSingularMessageField(value: &_storage._savePlayerPreferencesOutProto1652) }() - case 1653: try { try decoder.decodeSingularMessageField(value: &_storage._profanityCheckOutproto1653) }() - case 1700: try { try decoder.decodeSingularMessageField(value: &_storage._getTimedgroupChallengeOutProto1700) }() - case 1710: try { try decoder.decodeSingularMessageField(value: &_storage._getNintendoAccountOutProto1710) }() - case 1711: try { try decoder.decodeSingularMessageField(value: &_storage._unlinkNintendoAccountOutProto1711) }() - case 1712: try { try decoder.decodeSingularMessageField(value: &_storage._getNintendoOAuth2URLOutProto1712) }() - case 1713: try { try decoder.decodeSingularMessageField(value: &_storage._transferPokemontoPokemonHomeOutProto1713) }() - case 1716: try { try decoder.decodeSingularMessageField(value: &_storage._reportAdFeedbackresponse1716) }() - case 1717: try { try decoder.decodeSingularMessageField(value: &_storage._createPokemonTagOutProto1717) }() - case 1718: try { try decoder.decodeSingularMessageField(value: &_storage._deletePokemonTagOutProto1718) }() - case 1719: try { try decoder.decodeSingularMessageField(value: &_storage._editPokemonTagOutProto1719) }() - case 1720: try { try decoder.decodeSingularMessageField(value: &_storage._setPokemonTagsForPokemonOutProto1720) }() - case 1721: try { try decoder.decodeSingularMessageField(value: &_storage._getPokemonTagsOutProto1721) }() - case 1722: try { try decoder.decodeSingularMessageField(value: &_storage._changePokemonFormOutProto1722) }() - case 1723: try { try decoder.decodeSingularMessageField(value: &_storage._chooseGlobalTicketedEventVariantOutProto1723) }() - case 1800: try { try decoder.decodeSingularMessageField(value: &_storage._getReferralCodeOutProto1800) }() - case 1801: try { try decoder.decodeSingularMessageField(value: &_storage._addReferrerOutProto1801) }() - case 1802: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendInviteViaReferralCodeOutProto1802) }() - case 1803: try { try decoder.decodeSingularMessageField(value: &_storage._getMilestonesOutProto1803) }() - case 1804: try { try decoder.decodeSingularMessageField(value: &_storage._markmilestoneAsViewedOutProto1804) }() - case 1805: try { try decoder.decodeSingularMessageField(value: &_storage._getMilestonesPreviewOutProto1805) }() - case 1806: try { try decoder.decodeSingularMessageField(value: &_storage._completeMilestoneOutProto1806) }() - case 1820: try { try decoder.decodeSingularMessageField(value: &_storage._getgeofencedAdOutProto1820) }() - case 1909: try { try decoder.decodeSingularMessageField(value: &_storage._deletePostcardsOutProto1909) }() - case 1910: try { try decoder.decodeSingularMessageField(value: &_storage._createPostcardOutProto1910) }() - case 1911: try { try decoder.decodeSingularMessageField(value: &_storage._updatePostcardOutProto1911) }() - case 1912: try { try decoder.decodeSingularMessageField(value: &_storage._deletePostcardOutProto1912) }() - case 1913: try { try decoder.decodeSingularMessageField(value: &_storage._getMementoListOutProto1913) }() - case 1914: try { try decoder.decodeSingularMessageField(value: &_storage._uploadRaidClientLogOutProto1914) }() - case 2000: try { try decoder.decodeSingularMessageField(value: &_storage._checkGiftingEligibilityOutProto2000) }() - case 2001: try { try decoder.decodeSingularMessageField(value: &_storage._redeemTicketGiftForFriendOutProto2001) }() - case 2002: try { try decoder.decodeSingularMessageField(value: &_storage._getInsenceRecapOutProto2002) }() - case 2003: try { try decoder.decodeSingularMessageField(value: &_storage._getAckwowledgeInsenceRecapOutProto2003) }() - case 2005: try { try decoder.decodeSingularMessageField(value: &_storage._getPokestopEncounterOutProto2005) }() - case 2006: try { try decoder.decodeSingularMessageField(value: &_storage._encounterPokestopencounterOutProto2006) }() - case 2007: try { try decoder.decodeSingularMessageField(value: &_storage._playerSpawnablepokemonOutproto2007) }() - case 2010: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendRequestViaPlayerIDOutProto2010) }() - case 2011: try { try decoder.decodeSingularMessageField(value: &_storage._getRaidLobbyCounterOutProto2011) }() - case 2101: try { try decoder.decodeSingularMessageField(value: &_storage._updatePokemonSizeContestEntryOutProto2101) }() - case 2104: try { try decoder.decodeSingularMessageField(value: &_storage._getPokemonSizeContestEntryOutProto2104) }() - case 2105: try { try decoder.decodeSingularMessageField(value: &_storage._getContestDataOutProto2105) }() - case 2106: try { try decoder.decodeSingularMessageField(value: &_storage._getContestsUnclaimedRewardsOutProto2106) }() - case 2107: try { try decoder.decodeSingularMessageField(value: &_storage._claimcontestsRewardsOutProto2107) }() - case 2108: try { try decoder.decodeSingularMessageField(value: &_storage._getEnteredContestOutProto2108) }() - case 2302: try { try decoder.decodeSingularMessageField(value: &_storage._startPartyOutProto2302) }() - case 3000: try { try decoder.decodeSingularMessageField(value: &_storage._getVpsEventOutProto3000) }() - case 3001: try { try decoder.decodeSingularMessageField(value: &_storage._updateVpsEventOutProto3001) }() - case 5000: try { try decoder.decodeSingularMessageField(value: &_storage._pushNotificationRegistryOutproto5000) }() - case 5002: try { try decoder.decodeSingularMessageField(value: &_storage._updateNotificationOutProto5002) }() - case 5003: try { try decoder.decodeSingularMessageField(value: &_storage._optoutProto5003) }() - case 5004: try { try decoder.decodeSingularMessageField(value: &_storage._downloadGmTemplatesResponseProto5004) }() - case 5005: try { try decoder.decodeSingularMessageField(value: &_storage._getInventoryResponseProto5005) }() - case 5006: try { try decoder.decodeSingularMessageField(value: &_storage._redeemPasscoderesponseProto5006) }() - case 5007: try { try decoder.decodeSingularMessageField(value: &_storage._pingResponseproto5007) }() - case 5008: try { try decoder.decodeSingularMessageField(value: &_storage._addLoginactionOutProto5008) }() - case 5009: try { try decoder.decodeSingularMessageField(value: &_storage._removeLoginActionOutProto5009) }() - case 5010: try { try decoder.decodeSingularMessageField(value: &_storage._listloginActionOutProto5010) }() - case 5011: try { try decoder.decodeSingularMessageField(value: &_storage._submitNewPoiOutProto5011) }() - case 5012: try { try decoder.decodeSingularMessageField(value: &_storage._proxyResponseproto5012) }() - case 5014: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubmissionsOutProto5014) }() - case 5015: try { try decoder.decodeSingularMessageField(value: &_storage._replaceLoginActionOutProto5015) }() - case 5018: try { try decoder.decodeSingularMessageField(value: &_storage._clientTelemetryBatchOutProto5018) }() - case 5019: try { try decoder.decodeSingularMessageField(value: &_storage._purchaseSkuOutproto5019) }() - case 5020: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSkusAndBalancesOutProto5020) }() - case 5021: try { try decoder.decodeSingularMessageField(value: &_storage._redeemGooglereceiptOutProto5021) }() - case 5022: try { try decoder.decodeSingularMessageField(value: &_storage._redeemApplereceiptOutProto5022) }() - case 5023: try { try decoder.decodeSingularMessageField(value: &_storage._redeemDesktopreceiptOutProto5023) }() - case 5024: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessUpdateOutProto5024) }() - case 5025: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessReportOutProto5025) }() - case 5026: try { try decoder.decodeSingularMessageField(value: &_storage._clientTelemetryclientSettingsProto5026) }() - case 5028: try { try decoder.decodeSingularMessageField(value: &_storage._registerBackgroundServiceresponseProto5028) }() - case 5032: try { try decoder.decodeSingularMessageField(value: &_storage._setInGameCurrencyExchangeRateOutProto5032) }() - case 5033: try { try decoder.decodeSingularMessageField(value: &_storage._geofenceUpdateOutProto5033) }() - case 5034: try { try decoder.decodeSingularMessageField(value: &_storage._locationPingOutProto5034) }() - case 5035: try { try decoder.decodeSingularMessageField(value: &_storage._generategmapSignedURLOutProto5035) }() - case 5036: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsOutProto5036) }() - case 5037: try { try decoder.decodeSingularMessageField(value: &_storage._redeemSamsungreceiptOutProto5037) }() - case 5045: try { try decoder.decodeSingularMessageField(value: &_storage._getWebTokenOutProto5045) }() - case 5046: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncSettingsResponseProto5046) }() - case 5047: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncSettingsResponseProto5047) }() - case 10000: try { try decoder.decodeSingularMessageField(value: &_storage._searchPlayerOutProto10000) }() - case 10002: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendInviteOutProto10002) }() - case 10003: try { try decoder.decodeSingularMessageField(value: &_storage._cancelFriendInviteOutProto10003) }() - case 10004: try { try decoder.decodeSingularMessageField(value: &_storage._acceptFriendInviteOutProto10004) }() - case 10005: try { try decoder.decodeSingularMessageField(value: &_storage._declineFriendInviteOutProto10005) }() - case 10006: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendsListOutProto10006) }() - case 10007: try { try decoder.decodeSingularMessageField(value: &_storage._getOutgoingFriendInvitesOutProto10007) }() - case 10008: try { try decoder.decodeSingularMessageField(value: &_storage._getIncomingFriendInvitesOutProto10008) }() - case 10009: try { try decoder.decodeSingularMessageField(value: &_storage._removeFriendOutProto10009) }() - case 10010: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendDetailsOutProto10010) }() - case 10011: try { try decoder.decodeSingularMessageField(value: &_storage._inviteFacebookFriendOutProto10011) }() - case 10012: try { try decoder.decodeSingularMessageField(value: &_storage._isMyFriendOutProto10012) }() - case 10013: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendCodeOutProto10013) }() - case 10014: try { try decoder.decodeSingularMessageField(value: &_storage._getFacebookFriendListOutProto10014) }() - case 10015: try { try decoder.decodeSingularMessageField(value: &_storage._updateFacebookStatusOutProto10015) }() - case 10016: try { try decoder.decodeSingularMessageField(value: &_storage._savesocialPlayersettingsOutProto10016) }() - case 10017: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerSettingsOutProto10017) }() - case 10021: try { try decoder.decodeSingularMessageField(value: &_storage._setAccountsettingsOutProto10021) }() - case 10022: try { try decoder.decodeSingularMessageField(value: &_storage._getAccountSettingsOutProto10022) }() - case 10023: try { try decoder.decodeSingularMessageField(value: &_storage._addFavoriteFriendResponse10023) }() - case 10024: try { try decoder.decodeSingularMessageField(value: &_storage._removeFavoriteFriendresponse10024) }() - case 10025: try { try decoder.decodeSingularMessageField(value: &_storage._blockAccountOutProto10025) }() - case 10026: try { try decoder.decodeSingularMessageField(value: &_storage._unblockAccountOutProto10026) }() - case 10027: try { try decoder.decodeSingularMessageField(value: &_storage._getOutgoingBlocksOutProto10027) }() - case 10028: try { try decoder.decodeSingularMessageField(value: &_storage._isAccountBlockedOutProto10028) }() - case 10101: try { try decoder.decodeSingularMessageField(value: &_storage._pushNotificationRegistryOutproto10101) }() - case 10103: try { try decoder.decodeSingularMessageField(value: &_storage._updateNotificationOutProto10103) }() - case 10104: try { try decoder.decodeSingularMessageField(value: &_storage._optoutProto10104) }() - case 10105: try { try decoder.decodeSingularMessageField(value: &_storage._getInboxOutProto10105) }() - case 10201: try { try decoder.decodeSingularMessageField(value: &_storage._getSignedURLOutProto10201) }() - case 10202: try { try decoder.decodeSingularMessageField(value: &_storage._submitImageOutProto10202) }() - case 10203: try { try decoder.decodeSingularMessageField(value: &_storage._getPhotosOutProto10203) }() - case 10204: try { try decoder.decodeSingularMessageField(value: &_storage._deletePhotoOutProto10204) }() - case 10205: try { try decoder.decodeSingularMessageField(value: &_storage._flagPhotoResponse10205) }() - case 20001: try { try decoder.decodeSingularMessageField(value: &_storage._updateProfileResponse20001) }() - case 20002: try { try decoder.decodeSingularMessageField(value: &_storage._updateFriendshipResponse20002) }() - case 20003: try { try decoder.decodeSingularMessageField(value: &_storage._getProfileResponse20003) }() - case 20004: try { try decoder.decodeSingularMessageField(value: &_storage._inviteGameResponse20004) }() - case 20006: try { try decoder.decodeSingularMessageField(value: &_storage._listFriendsResponse20006) }() - case 20007: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendDetailsOutProto20007) }() - case 20008: try { try decoder.decodeSingularMessageField(value: &_storage._getClientFeatureFlagsResponse20008) }() - case 20010: try { try decoder.decodeSingularMessageField(value: &_storage._getIncominggameInvitesResponse20010) }() - case 20011: try { try decoder.decodeSingularMessageField(value: &_storage._updateIncomingGameInviteResponse20011) }() - case 20012: try { try decoder.decodeSingularMessageField(value: &_storage._dismissOutgoingGameInvitesResponse20012) }() - case 20013: try { try decoder.decodeSingularMessageField(value: &_storage._syncContactListResponse20013) }() - case 20014: try { try decoder.decodeSingularMessageField(value: &_storage._sendContactListFriendInviteResponse20014) }() - case 20015: try { try decoder.decodeSingularMessageField(value: &_storage._referContactListFriendresponse20015) }() - case 20016: try { try decoder.decodeSingularMessageField(value: &_storage._getContactListInfoResponse20016) }() - case 20017: try { try decoder.decodeSingularMessageField(value: &_storage._dismissContactListUpdateResponse20017) }() - case 20018: try { try decoder.decodeSingularMessageField(value: &_storage._notifyContactListFriendsResponse20018) }() - case 20500: try { try decoder.decodeSingularMessageField(value: &_storage._getFriendRecommendationResponse20500) }() - case 230000: try { try decoder.decodeSingularMessageField(value: &_storage._registerBackgroundServiceresponseProto230000) }() - case 230002: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncProgressOutProto230002) }() - case 310000: try { try decoder.decodeSingularMessageField(value: &_storage._purchaseSkuOutproto310000) }() - case 310001: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSkusAndBalancesOutProto310001) }() - case 310002: try { try decoder.decodeSingularMessageField(value: &_storage._setInGameCurrencyExchangeRateOutProto310002) }() - case 310100: try { try decoder.decodeSingularMessageField(value: &_storage._redeemGooglereceiptOutProto310100) }() - case 310101: try { try decoder.decodeSingularMessageField(value: &_storage._redeemApplereceiptOutProto310101) }() - case 310102: try { try decoder.decodeSingularMessageField(value: &_storage._redeemDesktopreceiptOutProto310102) }() - case 310103: try { try decoder.decodeSingularMessageField(value: &_storage._redeemSamsungreceiptOutProto310103) }() - case 310200: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubscriptionsResponseProto310200) }() - case 310201: try { try decoder.decodeSingularMessageField(value: &_storage._getActiveSubscriptionsResponseProto310201) }() - case 360000: try { try decoder.decodeSingularMessageField(value: &_storage._geofenceUpdateOutProto360000) }() - case 360001: try { try decoder.decodeSingularMessageField(value: &_storage._locationPingOutProto360001) }() - case 361000: try { try decoder.decodeSingularMessageField(value: &_storage._updateBreadcrumbHistoryResponseProto361000) }() - case 362000: try { try decoder.decodeSingularMessageField(value: &_storage._refreshProximityTokensresponseProto362000) }() - case 362001: try { try decoder.decodeSingularMessageField(value: &_storage._reportProximityContactsresponseProto362001) }() - case 600005: try { try decoder.decodeSingularMessageField(value: &_storage._getgameAccessTokenOutProto600005) }() - case 620000: try { try decoder.decodeSingularMessageField(value: &_storage._submitNewPoiOutProto620000) }() - case 620001: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubmissionsOutProto620001) }() - case 620003: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerSubmissionValidationSettingsOutProto620003) }() - case 620300: try { try decoder.decodeSingularMessageField(value: &_storage._generategmapSignedURLOutProto620300) }() - case 620301: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsOutProto620301) }() - case 620401: try { try decoder.decodeSingularMessageField(value: &_storage._getgrapeshotUploadURLOutProto620401) }() - case 620402: try { try decoder.decodeSingularMessageField(value: &_storage._asyncFileUploadCompleteOutProto620402) }() - case 620403: try { try decoder.decodeSingularMessageField(value: &_storage._getARMappingSettingsOutProto620403) }() - case 620500: try { try decoder.decodeSingularMessageField(value: &_storage._getImagesForPoiOutProto620500) }() - case 620501: try { try decoder.decodeSingularMessageField(value: &_storage._submitPlayerImageVoteForPoiOutProto620501) }() - case 620502: try { try decoder.decodeSingularMessageField(value: &_storage._getImagegallerySettingsOutProto620502) }() - case 620600: try { try decoder.decodeSingularMessageField(value: &_storage._getMapDataOutProto620600) }() - case 620601: try { try decoder.decodeSingularMessageField(value: &_storage._getPoisInRadiusOutProto620601) }() - case 640000: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessUpdateOutProto640000) }() - case 640001: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessReportOutProto640001) }() - case 640002: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncSettingsResponseProto640002) }() - case 640003: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncSettingsResponseProto640003) }() - case 640004: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncFitnessResponseProto640004) }() - case 640005: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncFitnessReportResponseProto640005) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.chunkFilePath) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.chunkNumber) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._uploadAuthentication) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._deleteAuthentication) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.chunkFilePath.isEmpty { + try visitor.visitSingularStringField(value: self.chunkFilePath, fieldNumber: 1) + } + if self.chunkNumber != 0 { + try visitor.visitSingularUInt32Field(value: self.chunkNumber, fieldNumber: 2) + } + try { if let v = self._uploadAuthentication { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._deleteAuthentication { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGrapeshotChunkDataProto, rhs: ARDKGrapeshotChunkDataProto) -> Bool { + if lhs.chunkFilePath != rhs.chunkFilePath {return false} + if lhs.chunkNumber != rhs.chunkNumber {return false} + if lhs._uploadAuthentication != rhs._uploadAuthentication {return false} + if lhs._deleteAuthentication != rhs._deleteAuthentication {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGrapeshotComposeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGrapeshotComposeDataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "target_file_path"), + 2: .same(proto: "authentication"), + 3: .same(proto: "hash"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.targetFilePath) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._authentication) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.hash) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.targetFilePath.isEmpty { + try visitor.visitSingularStringField(value: self.targetFilePath, fieldNumber: 1) + } + try { if let v = self._authentication { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.hash.isEmpty { + try visitor.visitSingularStringField(value: self.hash, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGrapeshotComposeDataProto, rhs: ARDKGrapeshotComposeDataProto) -> Bool { + if lhs.targetFilePath != rhs.targetFilePath {return false} + if lhs._authentication != rhs._authentication {return false} + if lhs.hash != rhs.hash {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKGrapeshotUploadingDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKGrapeshotUploadingDataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "chunk_data"), + 2: .standard(proto: "compose_data"), + 3: .standard(proto: "gcs_bucket"), + 4: .standard(proto: "number_of_chunks"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.chunkData) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._composeData) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.gcsBucket) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.numberOfChunks) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.chunkData.isEmpty { + try visitor.visitRepeatedMessageField(value: self.chunkData, fieldNumber: 1) + } + try { if let v = self._composeData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.gcsBucket.isEmpty { + try visitor.visitSingularStringField(value: self.gcsBucket, fieldNumber: 3) + } + if self.numberOfChunks != 0 { + try visitor.visitSingularInt32Field(value: self.numberOfChunks, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKGrapeshotUploadingDataProto, rhs: ARDKGrapeshotUploadingDataProto) -> Bool { + if lhs.chunkData != rhs.chunkData {return false} + if lhs._composeData != rhs._composeData {return false} + if lhs.gcsBucket != rhs.gcsBucket {return false} + if lhs.numberOfChunks != rhs.numberOfChunks {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKLocationE6Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKLocationE6Proto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "latitude_e6"), + 2: .standard(proto: "longitude_e6"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._getPlayerOutProto2 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._getHoloholoInventoryOutProto4 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = _storage._downloadSettingsResponseProto5 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - try { if let v = _storage._getgameMasterClientTemplatesOutProto6 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - try { if let v = _storage._getRemoteConfigVersionsOutProto7 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - } }() - try { if let v = _storage._registerBackgroundDeviceresponseProto8 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - try { if let v = _storage._getPlayerDayOutProto9 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() - try { if let v = _storage._acknowledgePunishmentOutProto10 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - try { if let v = _storage._getServerTimeOutProto11 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - } }() - try { if let v = _storage._getLocalTimeOutProto12 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - } }() - try { if let v = _storage._fortSearchOutProto101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 101) - } }() - try { if let v = _storage._encounterOutProto102 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 102) - } }() - try { if let v = _storage._catchPokemonOutProto103 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 103) - } }() - try { if let v = _storage._fortDetailsOutProto104 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 104) - } }() - try { if let v = _storage._getMapObjectsOutProto106 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 106) - } }() - try { if let v = _storage._fortDeployOutProto110 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 110) - } }() - try { if let v = _storage._fortRecallOutProto111 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 111) - } }() - try { if let v = _storage._releasePokemonOutProto112 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 112) - } }() - try { if let v = _storage._useItemPotionOutProto113 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 113) - } }() - try { if let v = _storage._useItemCaptureOutProto114 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 114) - } }() - try { if let v = _storage._useItemReviveOutProto116 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 116) - } }() - try { if let v = _storage._playerprofileOutproto121 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 121) - } }() - try { if let v = _storage._evolvePokemonOutProto125 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 125) - } }() - try { if let v = _storage._getHatchedEggsOutProto126 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 126) - } }() - try { if let v = _storage._encounterTutorialCompleteOutProto127 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 127) - } }() - try { if let v = _storage._levelUpRewardsOutProto128 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 128) - } }() - try { if let v = _storage._checkAwardedBadgesOutProto129 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 129) - } }() - try { if let v = _storage._recycleItemOutProto137 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 137) - } }() - try { if let v = _storage._collectDailyBonusOutProto138 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 138) - } }() - try { if let v = _storage._useItemXpBoostOutProto139 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 139) - } }() - try { if let v = _storage._useItemEggIncubatorOutProto140 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 140) - } }() - try { if let v = _storage._useIncenseActionOutProto141 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 141) - } }() - try { if let v = _storage._getIncensePokemonOutProto142 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 142) - } }() - try { if let v = _storage._incenseEncounterOutProto143 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 143) - } }() - try { if let v = _storage._addFortModifierOutProto144 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 144) - } }() - try { if let v = _storage._diskEncounterOutProto145 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 145) - } }() - try { if let v = _storage._upgradePokemonOutProto147 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 147) - } }() - try { if let v = _storage._setFavoritePokemonOutProto148 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 148) - } }() - try { if let v = _storage._nicknamePokemonOutProto149 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 149) - } }() - try { if let v = _storage._equipBadgeOutProto150 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 150) - } }() - try { if let v = _storage._setContactsettingsOutProto151 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 151) - } }() - try { if let v = _storage._setBuddyPokemonOutProto152 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 152) - } }() - try { if let v = _storage._getBuddyWalkedOutProto153 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 153) - } }() - try { if let v = _storage._useItemEncounterOutProto154 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 154) - } }() - try { if let v = _storage._gymDeployOutProto155 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 155) - } }() - try { if let v = _storage._gymgetInfoOutProto156 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 156) - } }() - try { if let v = _storage._gymStartSessionOutProto157 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 157) - } }() - try { if let v = _storage._gymBattleAttackOutProto158 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 158) - } }() - try { if let v = _storage._joinLobbyOutProto159 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 159) - } }() - try { if let v = _storage._leavelobbyOutProto160 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 160) - } }() - try { if let v = _storage._setLobbyVisibilityOutProto161 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 161) - } }() - try { if let v = _storage._setLobbyPokemonOutProto162 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 162) - } }() - try { if let v = _storage._getRaidDetailsOutProto163 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 163) - } }() - try { if let v = _storage._gymFeedPokemonOutProto164 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 164) - } }() - try { if let v = _storage._startRaidBattleOutProto165 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 165) - } }() - try { if let v = _storage._attackRaidBattleOutProto166 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 166) - } }() - try { if let v = _storage._useItemStardustBoostOutProto168 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 168) - } }() - try { if let v = _storage._reassignPlayerOutProto169 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 169) - } }() - try { if let v = _storage._convertcandyToXlcandyOutProto171 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 171) - } }() - try { if let v = _storage._isSkuAvailableOutProto172 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 172) - } }() - try { if let v = _storage._assetDigestOutProto300 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 300) - } }() - try { if let v = _storage._downloadURLOutProto301 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 301) - } }() - try { if let v = _storage._assetVersionOutProto302 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 302) - } }() - try { if let v = _storage._codenameResultProto403 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 403) - } }() - try { if let v = _storage._setAvatarOutProto404 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 404) - } }() - try { if let v = _storage._setPlayerTeamOutProto405 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 405) - } }() - try { if let v = _storage._markTutorialCompleteOutProto406 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 406) - } }() - try { if let v = _storage._setNeutralAvatarOutProto408 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 408) - } }() - try { if let v = _storage._checkchallengeOutProto600 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 600) - } }() - try { if let v = _storage._verifyChallengeOutProto601 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 601) - } }() - try { if let v = _storage._echoOutProto666 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 666) - } }() - try { if let v = _storage._registerSfidaresponse800 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 800) - } }() - try { if let v = _storage._sfidaCertificationResponse802 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 802) - } }() - try { if let v = _storage._sfidaUpdateResponse803 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 803) - } }() - try { if let v = _storage._sfidaDowserResponse805 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 805) - } }() - try { if let v = _storage._sfidaCaptureResponse806 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 806) - } }() - try { if let v = _storage._listAvatarCustomizationsOutProto807 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 807) - } }() - try { if let v = _storage._setAvatarItemAsViewedOutProto808 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 808) - } }() - try { if let v = _storage._getInboxOutProto809 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 809) - } }() - try { if let v = _storage._listGymBadgesOutProto811 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 811) - } }() - try { if let v = _storage._getgymBadgeDetailsOutProto812 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 812) - } }() - try { if let v = _storage._useItemMoveRerollOutProto813 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 813) - } }() - try { if let v = _storage._useItemRareCandyOutProto814 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 814) - } }() - try { if let v = _storage._awardFreeRaidTicketOutProto815 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 815) - } }() - try { if let v = _storage._fetchAllNewsOutProto816 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 816) - } }() - try { if let v = _storage._markReadNewsArticleOutProto817 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 817) - } }() - try { if let v = _storage._getPlayerSettingsOutProto818 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 818) - } }() - try { if let v = _storage._belugaTransactionStartOutProto819 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 819) - } }() - try { if let v = _storage._belugaTransactionCompleteOutProto820 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 820) - } }() - try { if let v = _storage._sfidaAssociateResponse822 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 822) - } }() - try { if let v = _storage._sfidaCheckPairingResponse823 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 823) - } }() - try { if let v = _storage._sfidaDisassociateResponse824 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 824) - } }() - try { if let v = _storage._wainaGetRewardsResponse825 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 825) - } }() - try { if let v = _storage._wainaSubmitSleepDataResponse826 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 826) - } }() - try { if let v = _storage._getNewQuestsOutProto900 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 900) - } }() - try { if let v = _storage._getQuestDetailsOutProto901 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 901) - } }() - try { if let v = _storage._completeQuestOutProto902 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 902) - } }() - try { if let v = _storage._removeQuestOutProto903 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 903) - } }() - try { if let v = _storage._questEncounterOutProto904 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 904) - } }() - try { if let v = _storage._progressQuestOutproto906 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 906) - } }() - try { if let v = _storage._sendGiftOutProto950 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 950) - } }() - try { if let v = _storage._openGiftoutProto951 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 951) - } }() - try { if let v = _storage._getgiftBoxDetailsOutProto952 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 952) - } }() - try { if let v = _storage._deleteGiftOutProto953 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 953) - } }() - try { if let v = _storage._savePlayersnapshotOutProto954 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 954) - } }() - try { if let v = _storage._checkSendGiftOutProto956 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 956) - } }() - try { if let v = _storage._setFriendNicknameOutProto957 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 957) - } }() - try { if let v = _storage._deleteGiftFromInventoryOutProto958 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 958) - } }() - try { if let v = _storage._savesocialPlayersettingsOutProto959 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 959) - } }() - try { if let v = _storage._shareExRaidPassOutProto960 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 960) - } }() - try { if let v = _storage._checkShareExRaidPassOutProto961 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 961) - } }() - try { if let v = _storage._declineExRaidPassOutProto962 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 962) - } }() - try { if let v = _storage._openTradingoutProto970 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 970) - } }() - try { if let v = _storage._updateTradingOutProto971 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 971) - } }() - try { if let v = _storage._confirmTradingOutProto972 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 972) - } }() - try { if let v = _storage._cancelTradingOutProto973 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 973) - } }() - try { if let v = _storage._getTradingOutProto974 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 974) - } }() - try { if let v = _storage._getFitnessRewardsOutProto980 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 980) - } }() - try { if let v = _storage._getCombatPlayerProfileOutProto990 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 990) - } }() - try { if let v = _storage._generateCombatChallengeIDOutProto991 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 991) - } }() - try { if let v = _storage._createcombatchallengeOutProto992 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 992) - } }() - try { if let v = _storage._openCombatChallengeoutProto993 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 993) - } }() - try { if let v = _storage._getCombatChallengeOutProto994 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 994) - } }() - try { if let v = _storage._acceptCombatChallengeOutProto995 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 995) - } }() - try { if let v = _storage._declineCombatChallengeOutProto996 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 996) - } }() - try { if let v = _storage._cancelcombatchallengeOutProto997 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 997) - } }() - try { if let v = _storage._submitCombatChallengePokemonsOutProto998 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 998) - } }() - try { if let v = _storage._saveCombatPlayerPreferencesOutProto999 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 999) - } }() - try { if let v = _storage._openCombatSessionoutProto1000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1000) - } }() - try { if let v = _storage._updateCombatOutProto1001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) - } }() - try { if let v = _storage._quitCombatOutProto1002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) - } }() - try { if let v = _storage._getCombatResultsOutProto1003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1003) - } }() - try { if let v = _storage._unlockPokemonMoveOutProto1004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1004) - } }() - try { if let v = _storage._getNpcCombatRewardsOutProto1005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1005) - } }() - try { if let v = _storage._combatFriendRequestOutProto1006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1006) - } }() - try { if let v = _storage._openNpcCombatSessionoutProto1007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1007) - } }() - try { if let v = _storage._startTutorialOutProto1008 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1008) - } }() - try { if let v = _storage._getTutorialEggOutProto1009 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1009) - } }() - try { if let v = _storage._sendProbeOutProto1020 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1020) - } }() - try { if let v = _storage._checkPhotobombOutProto1101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1101) - } }() - try { if let v = _storage._confirmPhotobombOutProto1102 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1102) - } }() - try { if let v = _storage._getPhotobombOutProto1103 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1103) - } }() - try { if let v = _storage._encounterPhotobombOutProto1104 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1104) - } }() - try { if let v = _storage._getgmapSettingsOutProto1105 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1105) - } }() - try { if let v = _storage._changeTeamOutProto1106 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1106) - } }() - try { if let v = _storage._getWebTokenOutProto1107 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1107) - } }() - try { if let v = _storage._completeSnapshotSessionOutProto1110 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1110) - } }() - try { if let v = _storage._completeWildSnapshotSessionOutProto1111 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1111) - } }() - try { if let v = _storage._startIncidentOutProto1200 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1200) - } }() - try { if let v = _storage._completeInvasionDialogueOutProto1201 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1201) - } }() - try { if let v = _storage._openInvasionCombatSessionoutProto1202 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1202) - } }() - try { if let v = _storage._updateInvasionBattleOutProto1203 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1203) - } }() - try { if let v = _storage._invasionEncounterOutProto1204 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1204) - } }() - try { if let v = _storage._purifypokemonOutproto1205 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1205) - } }() - try { if let v = _storage._getRocketBalloonOutProto1206 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1206) - } }() - try { if let v = _storage._vsSeekerStartMatchmakingOutProto1300 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1300) - } }() - try { if let v = _storage._cancelMatchmakingOutProto1301 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1301) - } }() - try { if let v = _storage._getMatchmakingStatusOutProto1302 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1302) - } }() - try { if let v = _storage._completeVsSeekerAndRestartchargingOutProto1303 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1303) - } }() - try { if let v = _storage._getVsSeekerStatusOutProto1304 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1304) - } }() - try { if let v = _storage._completecompetitiveSeasonOutProto1305 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1305) - } }() - try { if let v = _storage._claimVsSeekerRewardsOutProto1306 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1306) - } }() - try { if let v = _storage._vsSeekerRewardEncounterOutProto1307 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1307) - } }() - try { if let v = _storage._activateVsSeekerOutProto1308 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1308) - } }() - try { if let v = _storage._buddyMapOutProto1350 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1350) - } }() - try { if let v = _storage._buddyStatsOutProto1351 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1351) - } }() - try { if let v = _storage._buddyFeedingOutProto1352 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1352) - } }() - try { if let v = _storage._openBuddyGiftoutProto1353 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1353) - } }() - try { if let v = _storage._buddyPettingOutProto1354 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1354) - } }() - try { if let v = _storage._getBuddyHistoryOutProto1355 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1355) - } }() - try { if let v = _storage._updateRouteDraftOutProto1400 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1400) - } }() - try { if let v = _storage._getMapFortsOutProto1401 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1401) - } }() - try { if let v = _storage._submitRouteDraftOutProto1402 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1402) - } }() - try { if let v = _storage._getPublishedRoutesOutProto1403 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1403) - } }() - try { if let v = _storage._startRouteOutProto1404 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1404) - } }() - try { if let v = _storage._getRoutesOutProto1405 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1405) - } }() - try { if let v = _storage._progressRouteOutproto1406 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1406) - } }() - try { if let v = _storage._processRouteTappableOutproto1408 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1408) - } }() - try { if let v = _storage._listRouteBadgesOutProto1409 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1409) - } }() - try { if let v = _storage._cancelRouteOutProto1410 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1410) - } }() - try { if let v = _storage._createBuddyMultiplayerSessionOutProto1456 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1456) - } }() - try { if let v = _storage._joinBuddyMultiplayerSessionOutProto1457 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1457) - } }() - try { if let v = _storage._leaveBuddyMultiplayerSessionOutProto1458 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1458) - } }() - try { if let v = _storage._getTodayViewOutProto1501 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1501) - } }() - try { if let v = _storage._megaEvolvePokemonOutProto1502 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1502) - } }() - try { if let v = _storage._remoteGiftPingresponseProto1503 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1503) - } }() - try { if let v = _storage._sendRaidInvitationOutProto1504 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1504) - } }() - try { if let v = _storage._getDailyEncounterOutProto1601 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1601) - } }() - try { if let v = _storage._dailyEncounterOutProto1602 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1602) - } }() - try { if let v = _storage._openSponsoredGiftoutProto1650 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1650) - } }() - try { if let v = _storage._savePlayerPreferencesOutProto1652 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1652) - } }() - try { if let v = _storage._profanityCheckOutproto1653 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1653) - } }() - try { if let v = _storage._getTimedgroupChallengeOutProto1700 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1700) - } }() - try { if let v = _storage._getNintendoAccountOutProto1710 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1710) - } }() - try { if let v = _storage._unlinkNintendoAccountOutProto1711 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1711) - } }() - try { if let v = _storage._getNintendoOAuth2URLOutProto1712 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1712) - } }() - try { if let v = _storage._transferPokemontoPokemonHomeOutProto1713 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1713) - } }() - try { if let v = _storage._reportAdFeedbackresponse1716 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1716) - } }() - try { if let v = _storage._createPokemonTagOutProto1717 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1717) - } }() - try { if let v = _storage._deletePokemonTagOutProto1718 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1718) - } }() - try { if let v = _storage._editPokemonTagOutProto1719 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1719) - } }() - try { if let v = _storage._setPokemonTagsForPokemonOutProto1720 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1720) - } }() - try { if let v = _storage._getPokemonTagsOutProto1721 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1721) - } }() - try { if let v = _storage._changePokemonFormOutProto1722 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1722) - } }() - try { if let v = _storage._chooseGlobalTicketedEventVariantOutProto1723 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1723) - } }() - try { if let v = _storage._getReferralCodeOutProto1800 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1800) - } }() - try { if let v = _storage._addReferrerOutProto1801 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1801) - } }() - try { if let v = _storage._sendFriendInviteViaReferralCodeOutProto1802 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1802) - } }() - try { if let v = _storage._getMilestonesOutProto1803 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1803) - } }() - try { if let v = _storage._markmilestoneAsViewedOutProto1804 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1804) - } }() - try { if let v = _storage._getMilestonesPreviewOutProto1805 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1805) - } }() - try { if let v = _storage._completeMilestoneOutProto1806 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1806) - } }() - try { if let v = _storage._getgeofencedAdOutProto1820 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1820) - } }() - try { if let v = _storage._deletePostcardsOutProto1909 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1909) - } }() - try { if let v = _storage._createPostcardOutProto1910 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1910) - } }() - try { if let v = _storage._updatePostcardOutProto1911 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1911) - } }() - try { if let v = _storage._deletePostcardOutProto1912 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1912) - } }() - try { if let v = _storage._getMementoListOutProto1913 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1913) - } }() - try { if let v = _storage._uploadRaidClientLogOutProto1914 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1914) - } }() - try { if let v = _storage._checkGiftingEligibilityOutProto2000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2000) - } }() - try { if let v = _storage._redeemTicketGiftForFriendOutProto2001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2001) - } }() - try { if let v = _storage._getInsenceRecapOutProto2002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2002) - } }() - try { if let v = _storage._getAckwowledgeInsenceRecapOutProto2003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2003) - } }() - try { if let v = _storage._getPokestopEncounterOutProto2005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2005) - } }() - try { if let v = _storage._encounterPokestopencounterOutProto2006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2006) - } }() - try { if let v = _storage._playerSpawnablepokemonOutproto2007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2007) - } }() - try { if let v = _storage._sendFriendRequestViaPlayerIDOutProto2010 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2010) - } }() - try { if let v = _storage._getRaidLobbyCounterOutProto2011 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2011) - } }() - try { if let v = _storage._updatePokemonSizeContestEntryOutProto2101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2101) - } }() - try { if let v = _storage._getPokemonSizeContestEntryOutProto2104 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2104) - } }() - try { if let v = _storage._getContestDataOutProto2105 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2105) - } }() - try { if let v = _storage._getContestsUnclaimedRewardsOutProto2106 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2106) - } }() - try { if let v = _storage._claimcontestsRewardsOutProto2107 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2107) - } }() - try { if let v = _storage._getEnteredContestOutProto2108 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2108) - } }() - try { if let v = _storage._startPartyOutProto2302 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2302) - } }() - try { if let v = _storage._getVpsEventOutProto3000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3000) - } }() - try { if let v = _storage._updateVpsEventOutProto3001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3001) - } }() - try { if let v = _storage._pushNotificationRegistryOutproto5000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5000) - } }() - try { if let v = _storage._updateNotificationOutProto5002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5002) - } }() - try { if let v = _storage._optoutProto5003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5003) - } }() - try { if let v = _storage._downloadGmTemplatesResponseProto5004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5004) - } }() - try { if let v = _storage._getInventoryResponseProto5005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5005) - } }() - try { if let v = _storage._redeemPasscoderesponseProto5006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5006) - } }() - try { if let v = _storage._pingResponseproto5007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5007) - } }() - try { if let v = _storage._addLoginactionOutProto5008 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5008) - } }() - try { if let v = _storage._removeLoginActionOutProto5009 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5009) - } }() - try { if let v = _storage._listloginActionOutProto5010 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5010) - } }() - try { if let v = _storage._submitNewPoiOutProto5011 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5011) - } }() - try { if let v = _storage._proxyResponseproto5012 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5012) - } }() - try { if let v = _storage._getAvailableSubmissionsOutProto5014 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5014) - } }() - try { if let v = _storage._replaceLoginActionOutProto5015 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5015) - } }() - try { if let v = _storage._clientTelemetryBatchOutProto5018 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5018) - } }() - try { if let v = _storage._purchaseSkuOutproto5019 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5019) - } }() - try { if let v = _storage._getAvailableSkusAndBalancesOutProto5020 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5020) - } }() - try { if let v = _storage._redeemGooglereceiptOutProto5021 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5021) - } }() - try { if let v = _storage._redeemApplereceiptOutProto5022 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5022) - } }() - try { if let v = _storage._redeemDesktopreceiptOutProto5023 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5023) - } }() - try { if let v = _storage._fitnessUpdateOutProto5024 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5024) - } }() - try { if let v = _storage._getFitnessReportOutProto5025 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5025) - } }() - try { if let v = _storage._clientTelemetryclientSettingsProto5026 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5026) - } }() - try { if let v = _storage._registerBackgroundServiceresponseProto5028 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5028) - } }() - try { if let v = _storage._setInGameCurrencyExchangeRateOutProto5032 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5032) - } }() - try { if let v = _storage._geofenceUpdateOutProto5033 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5033) - } }() - try { if let v = _storage._locationPingOutProto5034 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5034) - } }() - try { if let v = _storage._generategmapSignedURLOutProto5035 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5035) - } }() - try { if let v = _storage._getgmapSettingsOutProto5036 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5036) - } }() - try { if let v = _storage._redeemSamsungreceiptOutProto5037 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5037) - } }() - try { if let v = _storage._getWebTokenOutProto5045 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5045) - } }() - try { if let v = _storage._getAdventureSyncSettingsResponseProto5046 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5046) - } }() - try { if let v = _storage._updateAdventureSyncSettingsResponseProto5047 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5047) - } }() - try { if let v = _storage._searchPlayerOutProto10000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10000) - } }() - try { if let v = _storage._sendFriendInviteOutProto10002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10002) - } }() - try { if let v = _storage._cancelFriendInviteOutProto10003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10003) - } }() - try { if let v = _storage._acceptFriendInviteOutProto10004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10004) - } }() - try { if let v = _storage._declineFriendInviteOutProto10005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10005) - } }() - try { if let v = _storage._getFriendsListOutProto10006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10006) - } }() - try { if let v = _storage._getOutgoingFriendInvitesOutProto10007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10007) - } }() - try { if let v = _storage._getIncomingFriendInvitesOutProto10008 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10008) - } }() - try { if let v = _storage._removeFriendOutProto10009 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10009) - } }() - try { if let v = _storage._getFriendDetailsOutProto10010 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10010) - } }() - try { if let v = _storage._inviteFacebookFriendOutProto10011 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10011) - } }() - try { if let v = _storage._isMyFriendOutProto10012 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10012) - } }() - try { if let v = _storage._getFriendCodeOutProto10013 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10013) - } }() - try { if let v = _storage._getFacebookFriendListOutProto10014 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10014) - } }() - try { if let v = _storage._updateFacebookStatusOutProto10015 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10015) - } }() - try { if let v = _storage._savesocialPlayersettingsOutProto10016 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10016) - } }() - try { if let v = _storage._getPlayerSettingsOutProto10017 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10017) - } }() - try { if let v = _storage._setAccountsettingsOutProto10021 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10021) - } }() - try { if let v = _storage._getAccountSettingsOutProto10022 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10022) - } }() - try { if let v = _storage._addFavoriteFriendResponse10023 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10023) - } }() - try { if let v = _storage._removeFavoriteFriendresponse10024 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10024) - } }() - try { if let v = _storage._blockAccountOutProto10025 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10025) - } }() - try { if let v = _storage._unblockAccountOutProto10026 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10026) - } }() - try { if let v = _storage._getOutgoingBlocksOutProto10027 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10027) - } }() - try { if let v = _storage._isAccountBlockedOutProto10028 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10028) - } }() - try { if let v = _storage._pushNotificationRegistryOutproto10101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10101) - } }() - try { if let v = _storage._updateNotificationOutProto10103 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10103) - } }() - try { if let v = _storage._optoutProto10104 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10104) - } }() - try { if let v = _storage._getInboxOutProto10105 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10105) - } }() - try { if let v = _storage._getSignedURLOutProto10201 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10201) - } }() - try { if let v = _storage._submitImageOutProto10202 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10202) - } }() - try { if let v = _storage._getPhotosOutProto10203 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10203) - } }() - try { if let v = _storage._deletePhotoOutProto10204 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10204) - } }() - try { if let v = _storage._flagPhotoResponse10205 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10205) - } }() - try { if let v = _storage._updateProfileResponse20001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20001) - } }() - try { if let v = _storage._updateFriendshipResponse20002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20002) - } }() - try { if let v = _storage._getProfileResponse20003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20003) - } }() - try { if let v = _storage._inviteGameResponse20004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20004) - } }() - try { if let v = _storage._listFriendsResponse20006 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20006) - } }() - try { if let v = _storage._getFriendDetailsOutProto20007 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20007) - } }() - try { if let v = _storage._getClientFeatureFlagsResponse20008 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20008) - } }() - try { if let v = _storage._getIncominggameInvitesResponse20010 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20010) - } }() - try { if let v = _storage._updateIncomingGameInviteResponse20011 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20011) - } }() - try { if let v = _storage._dismissOutgoingGameInvitesResponse20012 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20012) - } }() - try { if let v = _storage._syncContactListResponse20013 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20013) - } }() - try { if let v = _storage._sendContactListFriendInviteResponse20014 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20014) - } }() - try { if let v = _storage._referContactListFriendresponse20015 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20015) - } }() - try { if let v = _storage._getContactListInfoResponse20016 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20016) - } }() - try { if let v = _storage._dismissContactListUpdateResponse20017 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20017) - } }() - try { if let v = _storage._notifyContactListFriendsResponse20018 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20018) - } }() - try { if let v = _storage._getFriendRecommendationResponse20500 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20500) - } }() - try { if let v = _storage._registerBackgroundServiceresponseProto230000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 230000) - } }() - try { if let v = _storage._getAdventureSyncProgressOutProto230002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 230002) - } }() - try { if let v = _storage._purchaseSkuOutproto310000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310000) - } }() - try { if let v = _storage._getAvailableSkusAndBalancesOutProto310001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310001) - } }() - try { if let v = _storage._setInGameCurrencyExchangeRateOutProto310002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310002) - } }() - try { if let v = _storage._redeemGooglereceiptOutProto310100 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310100) - } }() - try { if let v = _storage._redeemApplereceiptOutProto310101 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310101) - } }() - try { if let v = _storage._redeemDesktopreceiptOutProto310102 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310102) - } }() - try { if let v = _storage._redeemSamsungreceiptOutProto310103 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310103) - } }() - try { if let v = _storage._getAvailableSubscriptionsResponseProto310200 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310200) - } }() - try { if let v = _storage._getActiveSubscriptionsResponseProto310201 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 310201) - } }() - try { if let v = _storage._geofenceUpdateOutProto360000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 360000) - } }() - try { if let v = _storage._locationPingOutProto360001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 360001) - } }() - try { if let v = _storage._updateBreadcrumbHistoryResponseProto361000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 361000) - } }() - try { if let v = _storage._refreshProximityTokensresponseProto362000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 362000) - } }() - try { if let v = _storage._reportProximityContactsresponseProto362001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 362001) - } }() - try { if let v = _storage._getgameAccessTokenOutProto600005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 600005) - } }() - try { if let v = _storage._submitNewPoiOutProto620000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620000) - } }() - try { if let v = _storage._getAvailableSubmissionsOutProto620001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620001) - } }() - try { if let v = _storage._getPlayerSubmissionValidationSettingsOutProto620003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620003) - } }() - try { if let v = _storage._generategmapSignedURLOutProto620300 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620300) - } }() - try { if let v = _storage._getgmapSettingsOutProto620301 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620301) - } }() - try { if let v = _storage._getgrapeshotUploadURLOutProto620401 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620401) - } }() - try { if let v = _storage._asyncFileUploadCompleteOutProto620402 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620402) - } }() - try { if let v = _storage._getARMappingSettingsOutProto620403 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620403) - } }() - try { if let v = _storage._getImagesForPoiOutProto620500 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620500) - } }() - try { if let v = _storage._submitPlayerImageVoteForPoiOutProto620501 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620501) - } }() - try { if let v = _storage._getImagegallerySettingsOutProto620502 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620502) - } }() - try { if let v = _storage._getMapDataOutProto620600 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620600) - } }() - try { if let v = _storage._getPoisInRadiusOutProto620601 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 620601) - } }() - try { if let v = _storage._fitnessUpdateOutProto640000 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640000) - } }() - try { if let v = _storage._getFitnessReportOutProto640001 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640001) - } }() - try { if let v = _storage._getAdventureSyncSettingsResponseProto640002 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640002) + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.latitudeE6) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.longitudeE6) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.latitudeE6 != 0 { + try visitor.visitSingularInt32Field(value: self.latitudeE6, fieldNumber: 1) + } + if self.longitudeE6 != 0 { + try visitor.visitSingularInt32Field(value: self.longitudeE6, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKLocationE6Proto, rhs: ARDKLocationE6Proto) -> Bool { + if lhs.latitudeE6 != rhs.latitudeE6 {return false} + if lhs.longitudeE6 != rhs.longitudeE6 {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKLocationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKLocationProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "timestamp"), + 2: .same(proto: "latitude"), + 3: .same(proto: "longitude"), + 4: .same(proto: "accuracy"), + 5: .standard(proto: "elevation_meters"), + 6: .standard(proto: "elevation_accuracy"), + 7: .standard(proto: "heading_degrees"), + 8: .standard(proto: "heading_accuracy"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularDoubleField(value: &self.timestamp) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.accuracy) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.elevationMeters) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.elevationAccuracy) }() + case 7: try { try decoder.decodeSingularFloatField(value: &self.headingDegrees) }() + case 8: try { try decoder.decodeSingularFloatField(value: &self.headingAccuracy) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.timestamp != 0 { + try visitor.visitSingularDoubleField(value: self.timestamp, fieldNumber: 1) + } + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 2) + } + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 3) + } + if self.accuracy != 0 { + try visitor.visitSingularFloatField(value: self.accuracy, fieldNumber: 4) + } + if self.elevationMeters != 0 { + try visitor.visitSingularFloatField(value: self.elevationMeters, fieldNumber: 5) + } + if self.elevationAccuracy != 0 { + try visitor.visitSingularFloatField(value: self.elevationAccuracy, fieldNumber: 6) + } + if self.headingDegrees != 0 { + try visitor.visitSingularFloatField(value: self.headingDegrees, fieldNumber: 7) + } + if self.headingAccuracy != 0 { + try visitor.visitSingularFloatField(value: self.headingAccuracy, fieldNumber: 8) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKLocationProto, rhs: ARDKLocationProto) -> Bool { + if lhs.timestamp != rhs.timestamp {return false} + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.accuracy != rhs.accuracy {return false} + if lhs.elevationMeters != rhs.elevationMeters {return false} + if lhs.elevationAccuracy != rhs.elevationAccuracy {return false} + if lhs.headingDegrees != rhs.headingDegrees {return false} + if lhs.headingAccuracy != rhs.headingAccuracy {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKPlayerSubmissionResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKPlayerSubmissionResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "submission_id"), + 3: .same(proto: "messages"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.messages) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unspecified { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 2) + } + if !self.messages.isEmpty { + try visitor.visitRepeatedStringField(value: self.messages, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKPlayerSubmissionResponseProto, rhs: ARDKPlayerSubmissionResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.submissionID != rhs.submissionID {return false} + if lhs.messages != rhs.messages {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKPlayerSubmissionResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unspecified"), + 1: .same(proto: "success"), + 2: .same(proto: "internal_error"), + 3: .same(proto: "too_many_recent_submissions"), + 4: .same(proto: "minor"), + 5: .same(proto: "not_available"), + 6: .same(proto: "invalid_input"), + 7: .same(proto: "missing_image"), + 8: .same(proto: "distance_validation_failed"), + ] +} + +extension ARDKPoiVideoSubmissionMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKPoiVideoSubmissionMetadataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "poi_id"), + 2: .same(proto: "location"), + 3: .standard(proto: "player_level"), + 4: .standard(proto: "user_type"), + 5: .standard(proto: "is_private"), + 6: .standard(proto: "geographic_coverage"), + 7: .standard(proto: "built_form"), + 8: .standard(proto: "scan_tags"), + 11: .standard(proto: "developer_id"), + 12: .standard(proto: "ar_common_metadata"), + ] + + fileprivate class _StorageClass { + var _poiID: String = String() + var _location: ARDKLocationE6Proto? = nil + var _playerLevel: Int32 = 0 + var _userType: ARDKUserType = .player + var _isPrivate: Bool = false + var _geographicCoverage: String = String() + var _builtForm: [String] = [] + var _scanTags: [ARDKScanTag] = [] + var _developerID: String = String() + var _arCommonMetadata: ARDKARCommonMetadata? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _poiID = source._poiID + _location = source._location + _playerLevel = source._playerLevel + _userType = source._userType + _isPrivate = source._isPrivate + _geographicCoverage = source._geographicCoverage + _builtForm = source._builtForm + _scanTags = source._scanTags + _developerID = source._developerID + _arCommonMetadata = source._arCommonMetadata + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._poiID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._location) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._playerLevel) }() + case 4: try { try decoder.decodeSingularEnumField(value: &_storage._userType) }() + case 5: try { try decoder.decodeSingularBoolField(value: &_storage._isPrivate) }() + case 6: try { try decoder.decodeSingularStringField(value: &_storage._geographicCoverage) }() + case 7: try { try decoder.decodeRepeatedStringField(value: &_storage._builtForm) }() + case 8: try { try decoder.decodeRepeatedEnumField(value: &_storage._scanTags) }() + case 11: try { try decoder.decodeSingularStringField(value: &_storage._developerID) }() + case 12: try { try decoder.decodeSingularMessageField(value: &_storage._arCommonMetadata) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._poiID.isEmpty { + try visitor.visitSingularStringField(value: _storage._poiID, fieldNumber: 1) + } + try { if let v = _storage._location { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if let v = _storage._updateAdventureSyncSettingsResponseProto640003 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640003) + if _storage._playerLevel != 0 { + try visitor.visitSingularInt32Field(value: _storage._playerLevel, fieldNumber: 3) + } + if _storage._userType != .player { + try visitor.visitSingularEnumField(value: _storage._userType, fieldNumber: 4) + } + if _storage._isPrivate != false { + try visitor.visitSingularBoolField(value: _storage._isPrivate, fieldNumber: 5) + } + if !_storage._geographicCoverage.isEmpty { + try visitor.visitSingularStringField(value: _storage._geographicCoverage, fieldNumber: 6) + } + if !_storage._builtForm.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._builtForm, fieldNumber: 7) + } + if !_storage._scanTags.isEmpty { + try visitor.visitPackedEnumField(value: _storage._scanTags, fieldNumber: 8) + } + if !_storage._developerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._developerID, fieldNumber: 11) + } + try { if let v = _storage._arCommonMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) } }() - try { if let v = _storage._updateAdventureSyncFitnessResponseProto640004 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640004) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKPoiVideoSubmissionMetadataProto, rhs: ARDKPoiVideoSubmissionMetadataProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._poiID != rhs_storage._poiID {return false} + if _storage._location != rhs_storage._location {return false} + if _storage._playerLevel != rhs_storage._playerLevel {return false} + if _storage._userType != rhs_storage._userType {return false} + if _storage._isPrivate != rhs_storage._isPrivate {return false} + if _storage._geographicCoverage != rhs_storage._geographicCoverage {return false} + if _storage._builtForm != rhs_storage._builtForm {return false} + if _storage._scanTags != rhs_storage._scanTags {return false} + if _storage._developerID != rhs_storage._developerID {return false} + if _storage._arCommonMetadata != rhs_storage._arCommonMetadata {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKPortalCurationImageResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKPortalCurationImageResult" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKPortalCurationImageResult, rhs: ARDKPortalCurationImageResult) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKPortalCurationImageResult.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unset"), + 1: .same(proto: "success"), + 2: .same(proto: "feature_disabled"), + 3: .same(proto: "already_uploaded"), + 4: .same(proto: "image_not_found"), + 5: .same(proto: "image_too_big"), + 6: .same(proto: "image_not_servable"), + 7: .same(proto: "portal_not_found"), + ] +} + +extension ARDKRasterSizeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKRasterSizeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "width"), + 2: .same(proto: "height"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.width) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.height) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.width != 0 { + try visitor.visitSingularInt32Field(value: self.width, fieldNumber: 1) + } + if self.height != 0 { + try visitor.visitSingularInt32Field(value: self.height, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKRasterSizeProto, rhs: ARDKRasterSizeProto) -> Bool { + if lhs.width != rhs.width {return false} + if lhs.height != rhs.height {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKScanMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKScanMetadataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "id"), + 2: .standard(proto: "image_size"), + 3: .standard(proto: "depth_size"), + 4: .standard(proto: "start_timestamp"), + 5: .standard(proto: "app_name"), + 6: .standard(proto: "platform_name"), + 7: .standard(proto: "model_name"), + 8: .standard(proto: "manufacturer_name"), + 9: .same(proto: "poi"), + 10: .same(proto: "recorder"), + 11: .standard(proto: "user_json"), + 12: .standard(proto: "native_depth"), + 13: .same(proto: "origin"), + 14: .standard(proto: "global_rotation"), + 15: .standard(proto: "timezone_offset"), + ] + + fileprivate class _StorageClass { + var _id: String = String() + var _imageSize: ARDKRasterSizeProto? = nil + var _depthSize: ARDKRasterSizeProto? = nil + var _startTimestamp: Double = 0 + var _appName: String = String() + var _platformName: String = String() + var _modelName: String = String() + var _manufacturerName: String = String() + var _poi: String = String() + var _recorder: String = String() + var _userJson: String = String() + var _nativeDepth: Bool = false + var _origin: [Float] = [] + var _globalRotation: [Float] = [] + var _timezoneOffset: Int32 = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _id = source._id + _imageSize = source._imageSize + _depthSize = source._depthSize + _startTimestamp = source._startTimestamp + _appName = source._appName + _platformName = source._platformName + _modelName = source._modelName + _manufacturerName = source._manufacturerName + _poi = source._poi + _recorder = source._recorder + _userJson = source._userJson + _nativeDepth = source._nativeDepth + _origin = source._origin + _globalRotation = source._globalRotation + _timezoneOffset = source._timezoneOffset + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._id) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._imageSize) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._depthSize) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &_storage._startTimestamp) }() + case 5: try { try decoder.decodeSingularStringField(value: &_storage._appName) }() + case 6: try { try decoder.decodeSingularStringField(value: &_storage._platformName) }() + case 7: try { try decoder.decodeSingularStringField(value: &_storage._modelName) }() + case 8: try { try decoder.decodeSingularStringField(value: &_storage._manufacturerName) }() + case 9: try { try decoder.decodeSingularStringField(value: &_storage._poi) }() + case 10: try { try decoder.decodeSingularStringField(value: &_storage._recorder) }() + case 11: try { try decoder.decodeSingularStringField(value: &_storage._userJson) }() + case 12: try { try decoder.decodeSingularBoolField(value: &_storage._nativeDepth) }() + case 13: try { try decoder.decodeRepeatedFloatField(value: &_storage._origin) }() + case 14: try { try decoder.decodeRepeatedFloatField(value: &_storage._globalRotation) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._timezoneOffset) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._id.isEmpty { + try visitor.visitSingularStringField(value: _storage._id, fieldNumber: 1) + } + try { if let v = _storage._imageSize { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if let v = _storage._getAdventureSyncFitnessReportResponseProto640005 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 640005) + try { if let v = _storage._depthSize { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() + if _storage._startTimestamp != 0 { + try visitor.visitSingularDoubleField(value: _storage._startTimestamp, fieldNumber: 4) + } + if !_storage._appName.isEmpty { + try visitor.visitSingularStringField(value: _storage._appName, fieldNumber: 5) + } + if !_storage._platformName.isEmpty { + try visitor.visitSingularStringField(value: _storage._platformName, fieldNumber: 6) + } + if !_storage._modelName.isEmpty { + try visitor.visitSingularStringField(value: _storage._modelName, fieldNumber: 7) + } + if !_storage._manufacturerName.isEmpty { + try visitor.visitSingularStringField(value: _storage._manufacturerName, fieldNumber: 8) + } + if !_storage._poi.isEmpty { + try visitor.visitSingularStringField(value: _storage._poi, fieldNumber: 9) + } + if !_storage._recorder.isEmpty { + try visitor.visitSingularStringField(value: _storage._recorder, fieldNumber: 10) + } + if !_storage._userJson.isEmpty { + try visitor.visitSingularStringField(value: _storage._userJson, fieldNumber: 11) + } + if _storage._nativeDepth != false { + try visitor.visitSingularBoolField(value: _storage._nativeDepth, fieldNumber: 12) + } + if !_storage._origin.isEmpty { + try visitor.visitPackedFloatField(value: _storage._origin, fieldNumber: 13) + } + if !_storage._globalRotation.isEmpty { + try visitor.visitPackedFloatField(value: _storage._globalRotation, fieldNumber: 14) + } + if _storage._timezoneOffset != 0 { + try visitor.visitSingularInt32Field(value: _storage._timezoneOffset, fieldNumber: 15) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AllTypesAndMessagesResponsesProto.AllResponsesProto, rhs: AllTypesAndMessagesResponsesProto.AllResponsesProto) -> Bool { + public static func ==(lhs: ARDKScanMetadataProto, rhs: ARDKScanMetadataProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._getPlayerOutProto2 != rhs_storage._getPlayerOutProto2 {return false} - if _storage._getHoloholoInventoryOutProto4 != rhs_storage._getHoloholoInventoryOutProto4 {return false} - if _storage._downloadSettingsResponseProto5 != rhs_storage._downloadSettingsResponseProto5 {return false} - if _storage._getgameMasterClientTemplatesOutProto6 != rhs_storage._getgameMasterClientTemplatesOutProto6 {return false} - if _storage._getRemoteConfigVersionsOutProto7 != rhs_storage._getRemoteConfigVersionsOutProto7 {return false} - if _storage._registerBackgroundDeviceresponseProto8 != rhs_storage._registerBackgroundDeviceresponseProto8 {return false} - if _storage._getPlayerDayOutProto9 != rhs_storage._getPlayerDayOutProto9 {return false} - if _storage._acknowledgePunishmentOutProto10 != rhs_storage._acknowledgePunishmentOutProto10 {return false} - if _storage._getServerTimeOutProto11 != rhs_storage._getServerTimeOutProto11 {return false} - if _storage._getLocalTimeOutProto12 != rhs_storage._getLocalTimeOutProto12 {return false} - if _storage._fortSearchOutProto101 != rhs_storage._fortSearchOutProto101 {return false} - if _storage._encounterOutProto102 != rhs_storage._encounterOutProto102 {return false} - if _storage._catchPokemonOutProto103 != rhs_storage._catchPokemonOutProto103 {return false} - if _storage._fortDetailsOutProto104 != rhs_storage._fortDetailsOutProto104 {return false} - if _storage._getMapObjectsOutProto106 != rhs_storage._getMapObjectsOutProto106 {return false} - if _storage._fortDeployOutProto110 != rhs_storage._fortDeployOutProto110 {return false} - if _storage._fortRecallOutProto111 != rhs_storage._fortRecallOutProto111 {return false} - if _storage._releasePokemonOutProto112 != rhs_storage._releasePokemonOutProto112 {return false} - if _storage._useItemPotionOutProto113 != rhs_storage._useItemPotionOutProto113 {return false} - if _storage._useItemCaptureOutProto114 != rhs_storage._useItemCaptureOutProto114 {return false} - if _storage._useItemReviveOutProto116 != rhs_storage._useItemReviveOutProto116 {return false} - if _storage._playerprofileOutproto121 != rhs_storage._playerprofileOutproto121 {return false} - if _storage._evolvePokemonOutProto125 != rhs_storage._evolvePokemonOutProto125 {return false} - if _storage._getHatchedEggsOutProto126 != rhs_storage._getHatchedEggsOutProto126 {return false} - if _storage._encounterTutorialCompleteOutProto127 != rhs_storage._encounterTutorialCompleteOutProto127 {return false} - if _storage._levelUpRewardsOutProto128 != rhs_storage._levelUpRewardsOutProto128 {return false} - if _storage._checkAwardedBadgesOutProto129 != rhs_storage._checkAwardedBadgesOutProto129 {return false} - if _storage._recycleItemOutProto137 != rhs_storage._recycleItemOutProto137 {return false} - if _storage._collectDailyBonusOutProto138 != rhs_storage._collectDailyBonusOutProto138 {return false} - if _storage._useItemXpBoostOutProto139 != rhs_storage._useItemXpBoostOutProto139 {return false} - if _storage._useItemEggIncubatorOutProto140 != rhs_storage._useItemEggIncubatorOutProto140 {return false} - if _storage._useIncenseActionOutProto141 != rhs_storage._useIncenseActionOutProto141 {return false} - if _storage._getIncensePokemonOutProto142 != rhs_storage._getIncensePokemonOutProto142 {return false} - if _storage._incenseEncounterOutProto143 != rhs_storage._incenseEncounterOutProto143 {return false} - if _storage._addFortModifierOutProto144 != rhs_storage._addFortModifierOutProto144 {return false} - if _storage._diskEncounterOutProto145 != rhs_storage._diskEncounterOutProto145 {return false} - if _storage._upgradePokemonOutProto147 != rhs_storage._upgradePokemonOutProto147 {return false} - if _storage._setFavoritePokemonOutProto148 != rhs_storage._setFavoritePokemonOutProto148 {return false} - if _storage._nicknamePokemonOutProto149 != rhs_storage._nicknamePokemonOutProto149 {return false} - if _storage._equipBadgeOutProto150 != rhs_storage._equipBadgeOutProto150 {return false} - if _storage._setContactsettingsOutProto151 != rhs_storage._setContactsettingsOutProto151 {return false} - if _storage._setBuddyPokemonOutProto152 != rhs_storage._setBuddyPokemonOutProto152 {return false} - if _storage._getBuddyWalkedOutProto153 != rhs_storage._getBuddyWalkedOutProto153 {return false} - if _storage._useItemEncounterOutProto154 != rhs_storage._useItemEncounterOutProto154 {return false} - if _storage._gymDeployOutProto155 != rhs_storage._gymDeployOutProto155 {return false} - if _storage._gymgetInfoOutProto156 != rhs_storage._gymgetInfoOutProto156 {return false} - if _storage._gymStartSessionOutProto157 != rhs_storage._gymStartSessionOutProto157 {return false} - if _storage._gymBattleAttackOutProto158 != rhs_storage._gymBattleAttackOutProto158 {return false} - if _storage._joinLobbyOutProto159 != rhs_storage._joinLobbyOutProto159 {return false} - if _storage._leavelobbyOutProto160 != rhs_storage._leavelobbyOutProto160 {return false} - if _storage._setLobbyVisibilityOutProto161 != rhs_storage._setLobbyVisibilityOutProto161 {return false} - if _storage._setLobbyPokemonOutProto162 != rhs_storage._setLobbyPokemonOutProto162 {return false} - if _storage._getRaidDetailsOutProto163 != rhs_storage._getRaidDetailsOutProto163 {return false} - if _storage._gymFeedPokemonOutProto164 != rhs_storage._gymFeedPokemonOutProto164 {return false} - if _storage._startRaidBattleOutProto165 != rhs_storage._startRaidBattleOutProto165 {return false} - if _storage._attackRaidBattleOutProto166 != rhs_storage._attackRaidBattleOutProto166 {return false} - if _storage._useItemStardustBoostOutProto168 != rhs_storage._useItemStardustBoostOutProto168 {return false} - if _storage._reassignPlayerOutProto169 != rhs_storage._reassignPlayerOutProto169 {return false} - if _storage._convertcandyToXlcandyOutProto171 != rhs_storage._convertcandyToXlcandyOutProto171 {return false} - if _storage._isSkuAvailableOutProto172 != rhs_storage._isSkuAvailableOutProto172 {return false} - if _storage._assetDigestOutProto300 != rhs_storage._assetDigestOutProto300 {return false} - if _storage._downloadURLOutProto301 != rhs_storage._downloadURLOutProto301 {return false} - if _storage._assetVersionOutProto302 != rhs_storage._assetVersionOutProto302 {return false} - if _storage._codenameResultProto403 != rhs_storage._codenameResultProto403 {return false} - if _storage._setAvatarOutProto404 != rhs_storage._setAvatarOutProto404 {return false} - if _storage._setPlayerTeamOutProto405 != rhs_storage._setPlayerTeamOutProto405 {return false} - if _storage._markTutorialCompleteOutProto406 != rhs_storage._markTutorialCompleteOutProto406 {return false} - if _storage._setNeutralAvatarOutProto408 != rhs_storage._setNeutralAvatarOutProto408 {return false} - if _storage._checkchallengeOutProto600 != rhs_storage._checkchallengeOutProto600 {return false} - if _storage._verifyChallengeOutProto601 != rhs_storage._verifyChallengeOutProto601 {return false} - if _storage._echoOutProto666 != rhs_storage._echoOutProto666 {return false} - if _storage._registerSfidaresponse800 != rhs_storage._registerSfidaresponse800 {return false} - if _storage._sfidaCertificationResponse802 != rhs_storage._sfidaCertificationResponse802 {return false} - if _storage._sfidaUpdateResponse803 != rhs_storage._sfidaUpdateResponse803 {return false} - if _storage._sfidaDowserResponse805 != rhs_storage._sfidaDowserResponse805 {return false} - if _storage._sfidaCaptureResponse806 != rhs_storage._sfidaCaptureResponse806 {return false} - if _storage._listAvatarCustomizationsOutProto807 != rhs_storage._listAvatarCustomizationsOutProto807 {return false} - if _storage._setAvatarItemAsViewedOutProto808 != rhs_storage._setAvatarItemAsViewedOutProto808 {return false} - if _storage._getInboxOutProto809 != rhs_storage._getInboxOutProto809 {return false} - if _storage._listGymBadgesOutProto811 != rhs_storage._listGymBadgesOutProto811 {return false} - if _storage._getgymBadgeDetailsOutProto812 != rhs_storage._getgymBadgeDetailsOutProto812 {return false} - if _storage._useItemMoveRerollOutProto813 != rhs_storage._useItemMoveRerollOutProto813 {return false} - if _storage._useItemRareCandyOutProto814 != rhs_storage._useItemRareCandyOutProto814 {return false} - if _storage._awardFreeRaidTicketOutProto815 != rhs_storage._awardFreeRaidTicketOutProto815 {return false} - if _storage._fetchAllNewsOutProto816 != rhs_storage._fetchAllNewsOutProto816 {return false} - if _storage._markReadNewsArticleOutProto817 != rhs_storage._markReadNewsArticleOutProto817 {return false} - if _storage._getPlayerSettingsOutProto818 != rhs_storage._getPlayerSettingsOutProto818 {return false} - if _storage._belugaTransactionStartOutProto819 != rhs_storage._belugaTransactionStartOutProto819 {return false} - if _storage._belugaTransactionCompleteOutProto820 != rhs_storage._belugaTransactionCompleteOutProto820 {return false} - if _storage._sfidaAssociateResponse822 != rhs_storage._sfidaAssociateResponse822 {return false} - if _storage._sfidaCheckPairingResponse823 != rhs_storage._sfidaCheckPairingResponse823 {return false} - if _storage._sfidaDisassociateResponse824 != rhs_storage._sfidaDisassociateResponse824 {return false} - if _storage._wainaGetRewardsResponse825 != rhs_storage._wainaGetRewardsResponse825 {return false} - if _storage._wainaSubmitSleepDataResponse826 != rhs_storage._wainaSubmitSleepDataResponse826 {return false} - if _storage._getNewQuestsOutProto900 != rhs_storage._getNewQuestsOutProto900 {return false} - if _storage._getQuestDetailsOutProto901 != rhs_storage._getQuestDetailsOutProto901 {return false} - if _storage._completeQuestOutProto902 != rhs_storage._completeQuestOutProto902 {return false} - if _storage._removeQuestOutProto903 != rhs_storage._removeQuestOutProto903 {return false} - if _storage._questEncounterOutProto904 != rhs_storage._questEncounterOutProto904 {return false} - if _storage._progressQuestOutproto906 != rhs_storage._progressQuestOutproto906 {return false} - if _storage._sendGiftOutProto950 != rhs_storage._sendGiftOutProto950 {return false} - if _storage._openGiftoutProto951 != rhs_storage._openGiftoutProto951 {return false} - if _storage._getgiftBoxDetailsOutProto952 != rhs_storage._getgiftBoxDetailsOutProto952 {return false} - if _storage._deleteGiftOutProto953 != rhs_storage._deleteGiftOutProto953 {return false} - if _storage._savePlayersnapshotOutProto954 != rhs_storage._savePlayersnapshotOutProto954 {return false} - if _storage._checkSendGiftOutProto956 != rhs_storage._checkSendGiftOutProto956 {return false} - if _storage._setFriendNicknameOutProto957 != rhs_storage._setFriendNicknameOutProto957 {return false} - if _storage._deleteGiftFromInventoryOutProto958 != rhs_storage._deleteGiftFromInventoryOutProto958 {return false} - if _storage._savesocialPlayersettingsOutProto959 != rhs_storage._savesocialPlayersettingsOutProto959 {return false} - if _storage._shareExRaidPassOutProto960 != rhs_storage._shareExRaidPassOutProto960 {return false} - if _storage._checkShareExRaidPassOutProto961 != rhs_storage._checkShareExRaidPassOutProto961 {return false} - if _storage._declineExRaidPassOutProto962 != rhs_storage._declineExRaidPassOutProto962 {return false} - if _storage._openTradingoutProto970 != rhs_storage._openTradingoutProto970 {return false} - if _storage._updateTradingOutProto971 != rhs_storage._updateTradingOutProto971 {return false} - if _storage._confirmTradingOutProto972 != rhs_storage._confirmTradingOutProto972 {return false} - if _storage._cancelTradingOutProto973 != rhs_storage._cancelTradingOutProto973 {return false} - if _storage._getTradingOutProto974 != rhs_storage._getTradingOutProto974 {return false} - if _storage._getFitnessRewardsOutProto980 != rhs_storage._getFitnessRewardsOutProto980 {return false} - if _storage._getCombatPlayerProfileOutProto990 != rhs_storage._getCombatPlayerProfileOutProto990 {return false} - if _storage._generateCombatChallengeIDOutProto991 != rhs_storage._generateCombatChallengeIDOutProto991 {return false} - if _storage._createcombatchallengeOutProto992 != rhs_storage._createcombatchallengeOutProto992 {return false} - if _storage._openCombatChallengeoutProto993 != rhs_storage._openCombatChallengeoutProto993 {return false} - if _storage._getCombatChallengeOutProto994 != rhs_storage._getCombatChallengeOutProto994 {return false} - if _storage._acceptCombatChallengeOutProto995 != rhs_storage._acceptCombatChallengeOutProto995 {return false} - if _storage._declineCombatChallengeOutProto996 != rhs_storage._declineCombatChallengeOutProto996 {return false} - if _storage._cancelcombatchallengeOutProto997 != rhs_storage._cancelcombatchallengeOutProto997 {return false} - if _storage._submitCombatChallengePokemonsOutProto998 != rhs_storage._submitCombatChallengePokemonsOutProto998 {return false} - if _storage._saveCombatPlayerPreferencesOutProto999 != rhs_storage._saveCombatPlayerPreferencesOutProto999 {return false} - if _storage._openCombatSessionoutProto1000 != rhs_storage._openCombatSessionoutProto1000 {return false} - if _storage._updateCombatOutProto1001 != rhs_storage._updateCombatOutProto1001 {return false} - if _storage._quitCombatOutProto1002 != rhs_storage._quitCombatOutProto1002 {return false} - if _storage._getCombatResultsOutProto1003 != rhs_storage._getCombatResultsOutProto1003 {return false} - if _storage._unlockPokemonMoveOutProto1004 != rhs_storage._unlockPokemonMoveOutProto1004 {return false} - if _storage._getNpcCombatRewardsOutProto1005 != rhs_storage._getNpcCombatRewardsOutProto1005 {return false} - if _storage._combatFriendRequestOutProto1006 != rhs_storage._combatFriendRequestOutProto1006 {return false} - if _storage._openNpcCombatSessionoutProto1007 != rhs_storage._openNpcCombatSessionoutProto1007 {return false} - if _storage._startTutorialOutProto1008 != rhs_storage._startTutorialOutProto1008 {return false} - if _storage._getTutorialEggOutProto1009 != rhs_storage._getTutorialEggOutProto1009 {return false} - if _storage._sendProbeOutProto1020 != rhs_storage._sendProbeOutProto1020 {return false} - if _storage._checkPhotobombOutProto1101 != rhs_storage._checkPhotobombOutProto1101 {return false} - if _storage._confirmPhotobombOutProto1102 != rhs_storage._confirmPhotobombOutProto1102 {return false} - if _storage._getPhotobombOutProto1103 != rhs_storage._getPhotobombOutProto1103 {return false} - if _storage._encounterPhotobombOutProto1104 != rhs_storage._encounterPhotobombOutProto1104 {return false} - if _storage._getgmapSettingsOutProto1105 != rhs_storage._getgmapSettingsOutProto1105 {return false} - if _storage._changeTeamOutProto1106 != rhs_storage._changeTeamOutProto1106 {return false} - if _storage._getWebTokenOutProto1107 != rhs_storage._getWebTokenOutProto1107 {return false} - if _storage._completeSnapshotSessionOutProto1110 != rhs_storage._completeSnapshotSessionOutProto1110 {return false} - if _storage._completeWildSnapshotSessionOutProto1111 != rhs_storage._completeWildSnapshotSessionOutProto1111 {return false} - if _storage._startIncidentOutProto1200 != rhs_storage._startIncidentOutProto1200 {return false} - if _storage._completeInvasionDialogueOutProto1201 != rhs_storage._completeInvasionDialogueOutProto1201 {return false} - if _storage._openInvasionCombatSessionoutProto1202 != rhs_storage._openInvasionCombatSessionoutProto1202 {return false} - if _storage._updateInvasionBattleOutProto1203 != rhs_storage._updateInvasionBattleOutProto1203 {return false} - if _storage._invasionEncounterOutProto1204 != rhs_storage._invasionEncounterOutProto1204 {return false} - if _storage._purifypokemonOutproto1205 != rhs_storage._purifypokemonOutproto1205 {return false} - if _storage._getRocketBalloonOutProto1206 != rhs_storage._getRocketBalloonOutProto1206 {return false} - if _storage._vsSeekerStartMatchmakingOutProto1300 != rhs_storage._vsSeekerStartMatchmakingOutProto1300 {return false} - if _storage._cancelMatchmakingOutProto1301 != rhs_storage._cancelMatchmakingOutProto1301 {return false} - if _storage._getMatchmakingStatusOutProto1302 != rhs_storage._getMatchmakingStatusOutProto1302 {return false} - if _storage._completeVsSeekerAndRestartchargingOutProto1303 != rhs_storage._completeVsSeekerAndRestartchargingOutProto1303 {return false} - if _storage._getVsSeekerStatusOutProto1304 != rhs_storage._getVsSeekerStatusOutProto1304 {return false} - if _storage._completecompetitiveSeasonOutProto1305 != rhs_storage._completecompetitiveSeasonOutProto1305 {return false} - if _storage._claimVsSeekerRewardsOutProto1306 != rhs_storage._claimVsSeekerRewardsOutProto1306 {return false} - if _storage._vsSeekerRewardEncounterOutProto1307 != rhs_storage._vsSeekerRewardEncounterOutProto1307 {return false} - if _storage._activateVsSeekerOutProto1308 != rhs_storage._activateVsSeekerOutProto1308 {return false} - if _storage._buddyMapOutProto1350 != rhs_storage._buddyMapOutProto1350 {return false} - if _storage._buddyStatsOutProto1351 != rhs_storage._buddyStatsOutProto1351 {return false} - if _storage._buddyFeedingOutProto1352 != rhs_storage._buddyFeedingOutProto1352 {return false} - if _storage._openBuddyGiftoutProto1353 != rhs_storage._openBuddyGiftoutProto1353 {return false} - if _storage._buddyPettingOutProto1354 != rhs_storage._buddyPettingOutProto1354 {return false} - if _storage._getBuddyHistoryOutProto1355 != rhs_storage._getBuddyHistoryOutProto1355 {return false} - if _storage._updateRouteDraftOutProto1400 != rhs_storage._updateRouteDraftOutProto1400 {return false} - if _storage._getMapFortsOutProto1401 != rhs_storage._getMapFortsOutProto1401 {return false} - if _storage._submitRouteDraftOutProto1402 != rhs_storage._submitRouteDraftOutProto1402 {return false} - if _storage._getPublishedRoutesOutProto1403 != rhs_storage._getPublishedRoutesOutProto1403 {return false} - if _storage._startRouteOutProto1404 != rhs_storage._startRouteOutProto1404 {return false} - if _storage._getRoutesOutProto1405 != rhs_storage._getRoutesOutProto1405 {return false} - if _storage._progressRouteOutproto1406 != rhs_storage._progressRouteOutproto1406 {return false} - if _storage._processRouteTappableOutproto1408 != rhs_storage._processRouteTappableOutproto1408 {return false} - if _storage._listRouteBadgesOutProto1409 != rhs_storage._listRouteBadgesOutProto1409 {return false} - if _storage._cancelRouteOutProto1410 != rhs_storage._cancelRouteOutProto1410 {return false} - if _storage._createBuddyMultiplayerSessionOutProto1456 != rhs_storage._createBuddyMultiplayerSessionOutProto1456 {return false} - if _storage._joinBuddyMultiplayerSessionOutProto1457 != rhs_storage._joinBuddyMultiplayerSessionOutProto1457 {return false} - if _storage._leaveBuddyMultiplayerSessionOutProto1458 != rhs_storage._leaveBuddyMultiplayerSessionOutProto1458 {return false} - if _storage._getTodayViewOutProto1501 != rhs_storage._getTodayViewOutProto1501 {return false} - if _storage._megaEvolvePokemonOutProto1502 != rhs_storage._megaEvolvePokemonOutProto1502 {return false} - if _storage._remoteGiftPingresponseProto1503 != rhs_storage._remoteGiftPingresponseProto1503 {return false} - if _storage._sendRaidInvitationOutProto1504 != rhs_storage._sendRaidInvitationOutProto1504 {return false} - if _storage._getDailyEncounterOutProto1601 != rhs_storage._getDailyEncounterOutProto1601 {return false} - if _storage._dailyEncounterOutProto1602 != rhs_storage._dailyEncounterOutProto1602 {return false} - if _storage._openSponsoredGiftoutProto1650 != rhs_storage._openSponsoredGiftoutProto1650 {return false} - if _storage._savePlayerPreferencesOutProto1652 != rhs_storage._savePlayerPreferencesOutProto1652 {return false} - if _storage._profanityCheckOutproto1653 != rhs_storage._profanityCheckOutproto1653 {return false} - if _storage._getTimedgroupChallengeOutProto1700 != rhs_storage._getTimedgroupChallengeOutProto1700 {return false} - if _storage._getNintendoAccountOutProto1710 != rhs_storage._getNintendoAccountOutProto1710 {return false} - if _storage._unlinkNintendoAccountOutProto1711 != rhs_storage._unlinkNintendoAccountOutProto1711 {return false} - if _storage._getNintendoOAuth2URLOutProto1712 != rhs_storage._getNintendoOAuth2URLOutProto1712 {return false} - if _storage._transferPokemontoPokemonHomeOutProto1713 != rhs_storage._transferPokemontoPokemonHomeOutProto1713 {return false} - if _storage._reportAdFeedbackresponse1716 != rhs_storage._reportAdFeedbackresponse1716 {return false} - if _storage._createPokemonTagOutProto1717 != rhs_storage._createPokemonTagOutProto1717 {return false} - if _storage._deletePokemonTagOutProto1718 != rhs_storage._deletePokemonTagOutProto1718 {return false} - if _storage._editPokemonTagOutProto1719 != rhs_storage._editPokemonTagOutProto1719 {return false} - if _storage._setPokemonTagsForPokemonOutProto1720 != rhs_storage._setPokemonTagsForPokemonOutProto1720 {return false} - if _storage._getPokemonTagsOutProto1721 != rhs_storage._getPokemonTagsOutProto1721 {return false} - if _storage._changePokemonFormOutProto1722 != rhs_storage._changePokemonFormOutProto1722 {return false} - if _storage._chooseGlobalTicketedEventVariantOutProto1723 != rhs_storage._chooseGlobalTicketedEventVariantOutProto1723 {return false} - if _storage._getReferralCodeOutProto1800 != rhs_storage._getReferralCodeOutProto1800 {return false} - if _storage._addReferrerOutProto1801 != rhs_storage._addReferrerOutProto1801 {return false} - if _storage._sendFriendInviteViaReferralCodeOutProto1802 != rhs_storage._sendFriendInviteViaReferralCodeOutProto1802 {return false} - if _storage._getMilestonesOutProto1803 != rhs_storage._getMilestonesOutProto1803 {return false} - if _storage._markmilestoneAsViewedOutProto1804 != rhs_storage._markmilestoneAsViewedOutProto1804 {return false} - if _storage._getMilestonesPreviewOutProto1805 != rhs_storage._getMilestonesPreviewOutProto1805 {return false} - if _storage._completeMilestoneOutProto1806 != rhs_storage._completeMilestoneOutProto1806 {return false} - if _storage._getgeofencedAdOutProto1820 != rhs_storage._getgeofencedAdOutProto1820 {return false} - if _storage._deletePostcardsOutProto1909 != rhs_storage._deletePostcardsOutProto1909 {return false} - if _storage._createPostcardOutProto1910 != rhs_storage._createPostcardOutProto1910 {return false} - if _storage._updatePostcardOutProto1911 != rhs_storage._updatePostcardOutProto1911 {return false} - if _storage._deletePostcardOutProto1912 != rhs_storage._deletePostcardOutProto1912 {return false} - if _storage._getMementoListOutProto1913 != rhs_storage._getMementoListOutProto1913 {return false} - if _storage._uploadRaidClientLogOutProto1914 != rhs_storage._uploadRaidClientLogOutProto1914 {return false} - if _storage._checkGiftingEligibilityOutProto2000 != rhs_storage._checkGiftingEligibilityOutProto2000 {return false} - if _storage._redeemTicketGiftForFriendOutProto2001 != rhs_storage._redeemTicketGiftForFriendOutProto2001 {return false} - if _storage._getInsenceRecapOutProto2002 != rhs_storage._getInsenceRecapOutProto2002 {return false} - if _storage._getAckwowledgeInsenceRecapOutProto2003 != rhs_storage._getAckwowledgeInsenceRecapOutProto2003 {return false} - if _storage._getPokestopEncounterOutProto2005 != rhs_storage._getPokestopEncounterOutProto2005 {return false} - if _storage._encounterPokestopencounterOutProto2006 != rhs_storage._encounterPokestopencounterOutProto2006 {return false} - if _storage._playerSpawnablepokemonOutproto2007 != rhs_storage._playerSpawnablepokemonOutproto2007 {return false} - if _storage._sendFriendRequestViaPlayerIDOutProto2010 != rhs_storage._sendFriendRequestViaPlayerIDOutProto2010 {return false} - if _storage._getRaidLobbyCounterOutProto2011 != rhs_storage._getRaidLobbyCounterOutProto2011 {return false} - if _storage._updatePokemonSizeContestEntryOutProto2101 != rhs_storage._updatePokemonSizeContestEntryOutProto2101 {return false} - if _storage._getPokemonSizeContestEntryOutProto2104 != rhs_storage._getPokemonSizeContestEntryOutProto2104 {return false} - if _storage._getContestDataOutProto2105 != rhs_storage._getContestDataOutProto2105 {return false} - if _storage._getContestsUnclaimedRewardsOutProto2106 != rhs_storage._getContestsUnclaimedRewardsOutProto2106 {return false} - if _storage._claimcontestsRewardsOutProto2107 != rhs_storage._claimcontestsRewardsOutProto2107 {return false} - if _storage._getEnteredContestOutProto2108 != rhs_storage._getEnteredContestOutProto2108 {return false} - if _storage._startPartyOutProto2302 != rhs_storage._startPartyOutProto2302 {return false} - if _storage._getVpsEventOutProto3000 != rhs_storage._getVpsEventOutProto3000 {return false} - if _storage._updateVpsEventOutProto3001 != rhs_storage._updateVpsEventOutProto3001 {return false} - if _storage._pushNotificationRegistryOutproto5000 != rhs_storage._pushNotificationRegistryOutproto5000 {return false} - if _storage._updateNotificationOutProto5002 != rhs_storage._updateNotificationOutProto5002 {return false} - if _storage._optoutProto5003 != rhs_storage._optoutProto5003 {return false} - if _storage._downloadGmTemplatesResponseProto5004 != rhs_storage._downloadGmTemplatesResponseProto5004 {return false} - if _storage._getInventoryResponseProto5005 != rhs_storage._getInventoryResponseProto5005 {return false} - if _storage._redeemPasscoderesponseProto5006 != rhs_storage._redeemPasscoderesponseProto5006 {return false} - if _storage._pingResponseproto5007 != rhs_storage._pingResponseproto5007 {return false} - if _storage._addLoginactionOutProto5008 != rhs_storage._addLoginactionOutProto5008 {return false} - if _storage._removeLoginActionOutProto5009 != rhs_storage._removeLoginActionOutProto5009 {return false} - if _storage._listloginActionOutProto5010 != rhs_storage._listloginActionOutProto5010 {return false} - if _storage._submitNewPoiOutProto5011 != rhs_storage._submitNewPoiOutProto5011 {return false} - if _storage._proxyResponseproto5012 != rhs_storage._proxyResponseproto5012 {return false} - if _storage._getAvailableSubmissionsOutProto5014 != rhs_storage._getAvailableSubmissionsOutProto5014 {return false} - if _storage._replaceLoginActionOutProto5015 != rhs_storage._replaceLoginActionOutProto5015 {return false} - if _storage._clientTelemetryBatchOutProto5018 != rhs_storage._clientTelemetryBatchOutProto5018 {return false} - if _storage._purchaseSkuOutproto5019 != rhs_storage._purchaseSkuOutproto5019 {return false} - if _storage._getAvailableSkusAndBalancesOutProto5020 != rhs_storage._getAvailableSkusAndBalancesOutProto5020 {return false} - if _storage._redeemGooglereceiptOutProto5021 != rhs_storage._redeemGooglereceiptOutProto5021 {return false} - if _storage._redeemApplereceiptOutProto5022 != rhs_storage._redeemApplereceiptOutProto5022 {return false} - if _storage._redeemDesktopreceiptOutProto5023 != rhs_storage._redeemDesktopreceiptOutProto5023 {return false} - if _storage._fitnessUpdateOutProto5024 != rhs_storage._fitnessUpdateOutProto5024 {return false} - if _storage._getFitnessReportOutProto5025 != rhs_storage._getFitnessReportOutProto5025 {return false} - if _storage._clientTelemetryclientSettingsProto5026 != rhs_storage._clientTelemetryclientSettingsProto5026 {return false} - if _storage._registerBackgroundServiceresponseProto5028 != rhs_storage._registerBackgroundServiceresponseProto5028 {return false} - if _storage._setInGameCurrencyExchangeRateOutProto5032 != rhs_storage._setInGameCurrencyExchangeRateOutProto5032 {return false} - if _storage._geofenceUpdateOutProto5033 != rhs_storage._geofenceUpdateOutProto5033 {return false} - if _storage._locationPingOutProto5034 != rhs_storage._locationPingOutProto5034 {return false} - if _storage._generategmapSignedURLOutProto5035 != rhs_storage._generategmapSignedURLOutProto5035 {return false} - if _storage._getgmapSettingsOutProto5036 != rhs_storage._getgmapSettingsOutProto5036 {return false} - if _storage._redeemSamsungreceiptOutProto5037 != rhs_storage._redeemSamsungreceiptOutProto5037 {return false} - if _storage._getWebTokenOutProto5045 != rhs_storage._getWebTokenOutProto5045 {return false} - if _storage._getAdventureSyncSettingsResponseProto5046 != rhs_storage._getAdventureSyncSettingsResponseProto5046 {return false} - if _storage._updateAdventureSyncSettingsResponseProto5047 != rhs_storage._updateAdventureSyncSettingsResponseProto5047 {return false} - if _storage._searchPlayerOutProto10000 != rhs_storage._searchPlayerOutProto10000 {return false} - if _storage._sendFriendInviteOutProto10002 != rhs_storage._sendFriendInviteOutProto10002 {return false} - if _storage._cancelFriendInviteOutProto10003 != rhs_storage._cancelFriendInviteOutProto10003 {return false} - if _storage._acceptFriendInviteOutProto10004 != rhs_storage._acceptFriendInviteOutProto10004 {return false} - if _storage._declineFriendInviteOutProto10005 != rhs_storage._declineFriendInviteOutProto10005 {return false} - if _storage._getFriendsListOutProto10006 != rhs_storage._getFriendsListOutProto10006 {return false} - if _storage._getOutgoingFriendInvitesOutProto10007 != rhs_storage._getOutgoingFriendInvitesOutProto10007 {return false} - if _storage._getIncomingFriendInvitesOutProto10008 != rhs_storage._getIncomingFriendInvitesOutProto10008 {return false} - if _storage._removeFriendOutProto10009 != rhs_storage._removeFriendOutProto10009 {return false} - if _storage._getFriendDetailsOutProto10010 != rhs_storage._getFriendDetailsOutProto10010 {return false} - if _storage._inviteFacebookFriendOutProto10011 != rhs_storage._inviteFacebookFriendOutProto10011 {return false} - if _storage._isMyFriendOutProto10012 != rhs_storage._isMyFriendOutProto10012 {return false} - if _storage._getFriendCodeOutProto10013 != rhs_storage._getFriendCodeOutProto10013 {return false} - if _storage._getFacebookFriendListOutProto10014 != rhs_storage._getFacebookFriendListOutProto10014 {return false} - if _storage._updateFacebookStatusOutProto10015 != rhs_storage._updateFacebookStatusOutProto10015 {return false} - if _storage._savesocialPlayersettingsOutProto10016 != rhs_storage._savesocialPlayersettingsOutProto10016 {return false} - if _storage._getPlayerSettingsOutProto10017 != rhs_storage._getPlayerSettingsOutProto10017 {return false} - if _storage._setAccountsettingsOutProto10021 != rhs_storage._setAccountsettingsOutProto10021 {return false} - if _storage._getAccountSettingsOutProto10022 != rhs_storage._getAccountSettingsOutProto10022 {return false} - if _storage._addFavoriteFriendResponse10023 != rhs_storage._addFavoriteFriendResponse10023 {return false} - if _storage._removeFavoriteFriendresponse10024 != rhs_storage._removeFavoriteFriendresponse10024 {return false} - if _storage._blockAccountOutProto10025 != rhs_storage._blockAccountOutProto10025 {return false} - if _storage._unblockAccountOutProto10026 != rhs_storage._unblockAccountOutProto10026 {return false} - if _storage._getOutgoingBlocksOutProto10027 != rhs_storage._getOutgoingBlocksOutProto10027 {return false} - if _storage._isAccountBlockedOutProto10028 != rhs_storage._isAccountBlockedOutProto10028 {return false} - if _storage._pushNotificationRegistryOutproto10101 != rhs_storage._pushNotificationRegistryOutproto10101 {return false} - if _storage._updateNotificationOutProto10103 != rhs_storage._updateNotificationOutProto10103 {return false} - if _storage._optoutProto10104 != rhs_storage._optoutProto10104 {return false} - if _storage._getInboxOutProto10105 != rhs_storage._getInboxOutProto10105 {return false} - if _storage._getSignedURLOutProto10201 != rhs_storage._getSignedURLOutProto10201 {return false} - if _storage._submitImageOutProto10202 != rhs_storage._submitImageOutProto10202 {return false} - if _storage._getPhotosOutProto10203 != rhs_storage._getPhotosOutProto10203 {return false} - if _storage._deletePhotoOutProto10204 != rhs_storage._deletePhotoOutProto10204 {return false} - if _storage._flagPhotoResponse10205 != rhs_storage._flagPhotoResponse10205 {return false} - if _storage._updateProfileResponse20001 != rhs_storage._updateProfileResponse20001 {return false} - if _storage._updateFriendshipResponse20002 != rhs_storage._updateFriendshipResponse20002 {return false} - if _storage._getProfileResponse20003 != rhs_storage._getProfileResponse20003 {return false} - if _storage._inviteGameResponse20004 != rhs_storage._inviteGameResponse20004 {return false} - if _storage._listFriendsResponse20006 != rhs_storage._listFriendsResponse20006 {return false} - if _storage._getFriendDetailsOutProto20007 != rhs_storage._getFriendDetailsOutProto20007 {return false} - if _storage._getClientFeatureFlagsResponse20008 != rhs_storage._getClientFeatureFlagsResponse20008 {return false} - if _storage._getIncominggameInvitesResponse20010 != rhs_storage._getIncominggameInvitesResponse20010 {return false} - if _storage._updateIncomingGameInviteResponse20011 != rhs_storage._updateIncomingGameInviteResponse20011 {return false} - if _storage._dismissOutgoingGameInvitesResponse20012 != rhs_storage._dismissOutgoingGameInvitesResponse20012 {return false} - if _storage._syncContactListResponse20013 != rhs_storage._syncContactListResponse20013 {return false} - if _storage._sendContactListFriendInviteResponse20014 != rhs_storage._sendContactListFriendInviteResponse20014 {return false} - if _storage._referContactListFriendresponse20015 != rhs_storage._referContactListFriendresponse20015 {return false} - if _storage._getContactListInfoResponse20016 != rhs_storage._getContactListInfoResponse20016 {return false} - if _storage._dismissContactListUpdateResponse20017 != rhs_storage._dismissContactListUpdateResponse20017 {return false} - if _storage._notifyContactListFriendsResponse20018 != rhs_storage._notifyContactListFriendsResponse20018 {return false} - if _storage._getFriendRecommendationResponse20500 != rhs_storage._getFriendRecommendationResponse20500 {return false} - if _storage._registerBackgroundServiceresponseProto230000 != rhs_storage._registerBackgroundServiceresponseProto230000 {return false} - if _storage._getAdventureSyncProgressOutProto230002 != rhs_storage._getAdventureSyncProgressOutProto230002 {return false} - if _storage._purchaseSkuOutproto310000 != rhs_storage._purchaseSkuOutproto310000 {return false} - if _storage._getAvailableSkusAndBalancesOutProto310001 != rhs_storage._getAvailableSkusAndBalancesOutProto310001 {return false} - if _storage._setInGameCurrencyExchangeRateOutProto310002 != rhs_storage._setInGameCurrencyExchangeRateOutProto310002 {return false} - if _storage._redeemGooglereceiptOutProto310100 != rhs_storage._redeemGooglereceiptOutProto310100 {return false} - if _storage._redeemApplereceiptOutProto310101 != rhs_storage._redeemApplereceiptOutProto310101 {return false} - if _storage._redeemDesktopreceiptOutProto310102 != rhs_storage._redeemDesktopreceiptOutProto310102 {return false} - if _storage._redeemSamsungreceiptOutProto310103 != rhs_storage._redeemSamsungreceiptOutProto310103 {return false} - if _storage._getAvailableSubscriptionsResponseProto310200 != rhs_storage._getAvailableSubscriptionsResponseProto310200 {return false} - if _storage._getActiveSubscriptionsResponseProto310201 != rhs_storage._getActiveSubscriptionsResponseProto310201 {return false} - if _storage._geofenceUpdateOutProto360000 != rhs_storage._geofenceUpdateOutProto360000 {return false} - if _storage._locationPingOutProto360001 != rhs_storage._locationPingOutProto360001 {return false} - if _storage._updateBreadcrumbHistoryResponseProto361000 != rhs_storage._updateBreadcrumbHistoryResponseProto361000 {return false} - if _storage._refreshProximityTokensresponseProto362000 != rhs_storage._refreshProximityTokensresponseProto362000 {return false} - if _storage._reportProximityContactsresponseProto362001 != rhs_storage._reportProximityContactsresponseProto362001 {return false} - if _storage._getgameAccessTokenOutProto600005 != rhs_storage._getgameAccessTokenOutProto600005 {return false} - if _storage._submitNewPoiOutProto620000 != rhs_storage._submitNewPoiOutProto620000 {return false} - if _storage._getAvailableSubmissionsOutProto620001 != rhs_storage._getAvailableSubmissionsOutProto620001 {return false} - if _storage._getPlayerSubmissionValidationSettingsOutProto620003 != rhs_storage._getPlayerSubmissionValidationSettingsOutProto620003 {return false} - if _storage._generategmapSignedURLOutProto620300 != rhs_storage._generategmapSignedURLOutProto620300 {return false} - if _storage._getgmapSettingsOutProto620301 != rhs_storage._getgmapSettingsOutProto620301 {return false} - if _storage._getgrapeshotUploadURLOutProto620401 != rhs_storage._getgrapeshotUploadURLOutProto620401 {return false} - if _storage._asyncFileUploadCompleteOutProto620402 != rhs_storage._asyncFileUploadCompleteOutProto620402 {return false} - if _storage._getARMappingSettingsOutProto620403 != rhs_storage._getARMappingSettingsOutProto620403 {return false} - if _storage._getImagesForPoiOutProto620500 != rhs_storage._getImagesForPoiOutProto620500 {return false} - if _storage._submitPlayerImageVoteForPoiOutProto620501 != rhs_storage._submitPlayerImageVoteForPoiOutProto620501 {return false} - if _storage._getImagegallerySettingsOutProto620502 != rhs_storage._getImagegallerySettingsOutProto620502 {return false} - if _storage._getMapDataOutProto620600 != rhs_storage._getMapDataOutProto620600 {return false} - if _storage._getPoisInRadiusOutProto620601 != rhs_storage._getPoisInRadiusOutProto620601 {return false} - if _storage._fitnessUpdateOutProto640000 != rhs_storage._fitnessUpdateOutProto640000 {return false} - if _storage._getFitnessReportOutProto640001 != rhs_storage._getFitnessReportOutProto640001 {return false} - if _storage._getAdventureSyncSettingsResponseProto640002 != rhs_storage._getAdventureSyncSettingsResponseProto640002 {return false} - if _storage._updateAdventureSyncSettingsResponseProto640003 != rhs_storage._updateAdventureSyncSettingsResponseProto640003 {return false} - if _storage._updateAdventureSyncFitnessResponseProto640004 != rhs_storage._updateAdventureSyncFitnessResponseProto640004 {return false} - if _storage._getAdventureSyncFitnessReportResponseProto640005 != rhs_storage._getAdventureSyncFitnessReportResponseProto640005 {return false} + if _storage._id != rhs_storage._id {return false} + if _storage._imageSize != rhs_storage._imageSize {return false} + if _storage._depthSize != rhs_storage._depthSize {return false} + if _storage._startTimestamp != rhs_storage._startTimestamp {return false} + if _storage._appName != rhs_storage._appName {return false} + if _storage._platformName != rhs_storage._platformName {return false} + if _storage._modelName != rhs_storage._modelName {return false} + if _storage._manufacturerName != rhs_storage._manufacturerName {return false} + if _storage._poi != rhs_storage._poi {return false} + if _storage._recorder != rhs_storage._recorder {return false} + if _storage._userJson != rhs_storage._userJson {return false} + if _storage._nativeDepth != rhs_storage._nativeDepth {return false} + if _storage._origin != rhs_storage._origin {return false} + if _storage._globalRotation != rhs_storage._globalRotation {return false} + if _storage._timezoneOffset != rhs_storage._timezoneOffset {return false} return true } - if !storagesAreEqual {return false} + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKSubmitNewPoiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKSubmitNewPoiOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "submission_id"), + 3: .same(proto: "messages"), + 4: .standard(proto: "poi_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.messages) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 2) + } + if !self.messages.isEmpty { + try visitor.visitRepeatedStringField(value: self.messages, fieldNumber: 3) + } + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKSubmitNewPoiOutProto, rhs: ARDKSubmitNewPoiOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.submissionID != rhs.submissionID {return false} + if lhs.messages != rhs.messages {return false} + if lhs.poiID != rhs.poiID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKSubmitNewPoiOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unset"), + 1: .same(proto: "success"), + 2: .same(proto: "failure"), + 3: .same(proto: "internal_error"), + 4: .same(proto: "too_many_recent_submissions"), + 5: .same(proto: "invalid_input"), + 6: .same(proto: "minor"), + 7: .same(proto: "not_available"), + ] +} + +extension ARDKSubmitNewPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKSubmitNewPoiProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "title"), + 2: .standard(proto: "long_description"), + 4: .standard(proto: "lat_e6"), + 5: .standard(proto: "lng_e6"), + 14: .standard(proto: "supporting_statement"), + 18: .standard(proto: "async_file_upload"), + 19: .standard(proto: "player_submitted_category_ids"), + 20: .standard(proto: "category_suggestion"), + 21: .standard(proto: "nomination_type"), + 22: .standard(proto: "developer_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.longDescription) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.latE6) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.lngE6) }() + case 14: try { try decoder.decodeSingularStringField(value: &self.supportingStatement) }() + case 18: try { try decoder.decodeSingularBoolField(value: &self.asyncFileUpload) }() + case 19: try { try decoder.decodeRepeatedStringField(value: &self.playerSubmittedCategoryIds) }() + case 20: try { try decoder.decodeSingularStringField(value: &self.categorySuggestion) }() + case 21: try { try decoder.decodeSingularEnumField(value: &self.nominationType) }() + case 22: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) + } + if !self.longDescription.isEmpty { + try visitor.visitSingularStringField(value: self.longDescription, fieldNumber: 2) + } + if self.latE6 != 0 { + try visitor.visitSingularInt32Field(value: self.latE6, fieldNumber: 4) + } + if self.lngE6 != 0 { + try visitor.visitSingularInt32Field(value: self.lngE6, fieldNumber: 5) + } + if !self.supportingStatement.isEmpty { + try visitor.visitSingularStringField(value: self.supportingStatement, fieldNumber: 14) + } + if self.asyncFileUpload != false { + try visitor.visitSingularBoolField(value: self.asyncFileUpload, fieldNumber: 18) + } + if !self.playerSubmittedCategoryIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.playerSubmittedCategoryIds, fieldNumber: 19) + } + if !self.categorySuggestion.isEmpty { + try visitor.visitSingularStringField(value: self.categorySuggestion, fieldNumber: 20) + } + if self.nominationType != .regular { + try visitor.visitSingularEnumField(value: self.nominationType, fieldNumber: 21) + } + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 22) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKSubmitNewPoiProto, rhs: ARDKSubmitNewPoiProto) -> Bool { + if lhs.title != rhs.title {return false} + if lhs.longDescription != rhs.longDescription {return false} + if lhs.latE6 != rhs.latE6 {return false} + if lhs.lngE6 != rhs.lngE6 {return false} + if lhs.supportingStatement != rhs.supportingStatement {return false} + if lhs.asyncFileUpload != rhs.asyncFileUpload {return false} + if lhs.playerSubmittedCategoryIds != rhs.playerSubmittedCategoryIds {return false} + if lhs.categorySuggestion != rhs.categorySuggestion {return false} + if lhs.nominationType != rhs.nominationType {return false} + if lhs.developerID != rhs.developerID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKSubmitPoiCategoryVoteRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKSubmitPoiCategoryVoteRecordProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "player_submitted_category_ids"), + 3: .standard(proto: "category_suggestion"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.playerSubmittedCategoryIds) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.categorySuggestion) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + if !self.playerSubmittedCategoryIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.playerSubmittedCategoryIds, fieldNumber: 2) + } + if !self.categorySuggestion.isEmpty { + try visitor.visitSingularStringField(value: self.categorySuggestion, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKSubmitPoiCategoryVoteRecordProto, rhs: ARDKSubmitPoiCategoryVoteRecordProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.playerSubmittedCategoryIds != rhs.playerSubmittedCategoryIds {return false} + if lhs.categorySuggestion != rhs.categorySuggestion {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKSubmitPoiImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKSubmitPoiImageProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "async_file_upload"), + 3: .standard(proto: "developer_id"), + 21: .standard(proto: "nomination_type"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.asyncFileUpload) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + case 21: try { try decoder.decodeSingularEnumField(value: &self.nominationType) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + if self.asyncFileUpload != false { + try visitor.visitSingularBoolField(value: self.asyncFileUpload, fieldNumber: 2) + } + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) + } + if self.nominationType != .regular { + try visitor.visitSingularEnumField(value: self.nominationType, fieldNumber: 21) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKSubmitPoiImageProto, rhs: ARDKSubmitPoiImageProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.asyncFileUpload != rhs.asyncFileUpload {return false} + if lhs.developerID != rhs.developerID {return false} + if lhs.nominationType != rhs.nominationType {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKSubmitPoiLocationUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKSubmitPoiLocationUpdateProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "poi_id"), + 2: .same(proto: "location"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._location) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + try { if let v = self._location { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKSubmitPoiLocationUpdateProto, rhs: ARDKSubmitPoiLocationUpdateProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs._location != rhs._location {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKSubmitPoiTakedownRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKSubmitPoiTakedownRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "invalid_reason"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.invalidReason) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + if self.invalidReason != .invalidReasonUnspecified { + try visitor.visitSingularEnumField(value: self.invalidReason, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKSubmitPoiTakedownRequestProto, rhs: ARDKSubmitPoiTakedownRequestProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.invalidReason != rhs.invalidReason {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKSubmitPoiTextMetadataUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKSubmitPoiTextMetadataUpdateProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "poi_id"), + 2: .same(proto: "title"), + 3: .same(proto: "description"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 2) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKSubmitPoiTextMetadataUpdateProto, rhs: ARDKSubmitPoiTextMetadataUpdateProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.title != rhs.title {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKSubmitSponsorPoiLocationUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKSubmitSponsorPoiLocationUpdateProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "poi_id"), + 2: .same(proto: "location"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._location) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + try { if let v = self._location { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKSubmitSponsorPoiLocationUpdateProto, rhs: ARDKSubmitSponsorPoiLocationUpdateProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs._location != rhs._location {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKSubmitSponsorPoiReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKSubmitSponsorPoiReportProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "invalid_reason"), + 3: .standard(proto: "additional_details"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.invalidReason) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.additionalDetails) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + if self.invalidReason != .sponsorPoiReasonUnspecified { + try visitor.visitSingularEnumField(value: self.invalidReason, fieldNumber: 2) + } + if !self.additionalDetails.isEmpty { + try visitor.visitSingularStringField(value: self.additionalDetails, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKSubmitSponsorPoiReportProto, rhs: ARDKSubmitSponsorPoiReportProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.invalidReason != rhs.invalidReason {return false} + if lhs.additionalDetails != rhs.additionalDetails {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKUploadPoiPhotoByUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKUploadPoiPhotoByUrlOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKUploadPoiPhotoByUrlOutProto, rhs: ARDKUploadPoiPhotoByUrlOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARDKUploadPoiPhotoByUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARDKUploadPoiPhotoByUrlProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "request_id"), + 2: .standard(proto: "image_url"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.requestID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.requestID.isEmpty { + try visitor.visitSingularStringField(value: self.requestID, fieldNumber: 1) + } + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARDKUploadPoiPhotoByUrlProto, rhs: ARDKUploadPoiPhotoByUrlProto) -> Bool { + if lhs.requestID != rhs.requestID {return false} + if lhs.imageURL != rhs.imageURL {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ARPlusEncounterValuesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ARPlusEncounterValuesProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "proximity"), + 2: .same(proto: "awareness"), + 3: .standard(proto: "pokemon_frightened"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFloatField(value: &self.proximity) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.awareness) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.pokemonFrightened) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.proximity != 0 { + try visitor.visitSingularFloatField(value: self.proximity, fieldNumber: 1) + } + if self.awareness != 0 { + try visitor.visitSingularFloatField(value: self.awareness, fieldNumber: 2) + } + if self.pokemonFrightened != false { + try visitor.visitSingularBoolField(value: self.pokemonFrightened, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ARPlusEncounterValuesProto, rhs: ARPlusEncounterValuesProto) -> Bool { + if lhs.proximity != rhs.proximity {return false} + if lhs.awareness != rhs.awareness {return false} + if lhs.pokemonFrightened != rhs.pokemonFrightened {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ASPermissionFlowTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ASPermissionFlowTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "initial_prompt"), + 2: .standard(proto: "service_telemetry"), + 3: .standard(proto: "permission_telemetry"), + 4: .standard(proto: "permission_status_telemetry"), + 5: .same(proto: "success"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.initialPrompt) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.serviceTelemetry) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.permissionTelemetry) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.permissionStatusTelemetry) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.success) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.initialPrompt != false { + try visitor.visitSingularBoolField(value: self.initialPrompt, fieldNumber: 1) } + if !self.serviceTelemetry.isEmpty { + try visitor.visitPackedEnumField(value: self.serviceTelemetry, fieldNumber: 2) + } + if self.permissionTelemetry != .unsetPermission { + try visitor.visitSingularEnumField(value: self.permissionTelemetry, fieldNumber: 3) + } + if self.permissionStatusTelemetry != .unknown { + try visitor.visitSingularEnumField(value: self.permissionStatusTelemetry, fieldNumber: 4) + } + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ASPermissionFlowTelemetry, rhs: ASPermissionFlowTelemetry) -> Bool { + if lhs.initialPrompt != rhs.initialPrompt {return false} + if lhs.serviceTelemetry != rhs.serviceTelemetry {return false} + if lhs.permissionTelemetry != rhs.permissionTelemetry {return false} + if lhs.permissionStatusTelemetry != rhs.permissionStatusTelemetry {return false} + if lhs.success != rhs.success {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AllTypesAndMessagesResponsesProto.Message: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AllTypesAndMessagesResponsesProto.protoMessageName + ".Message" +extension AbilityEnergyMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AbilityEnergyMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "method"), - 2: .same(proto: "message"), + 1: .standard(proto: "current_energy"), + 2: .standard(proto: "energy_cost"), + 3: .standard(proto: "max_energy"), + 4: .standard(proto: "charge_rate"), + 5: .same(proto: "disabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -163614,36 +162851,66 @@ extension AllTypesAndMessagesResponsesProto.Message: SwiftProtobuf.Message, Swif // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.method) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.message) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.currentEnergy) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.energyCost) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxEnergy) }() + case 4: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.chargeRate) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.disabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.method != .requestTypeUnset { - try visitor.visitSingularEnumField(value: self.method, fieldNumber: 1) + if self.currentEnergy != 0 { + try visitor.visitSingularInt32Field(value: self.currentEnergy, fieldNumber: 1) } - if !self.message.isEmpty { - try visitor.visitSingularBytesField(value: self.message, fieldNumber: 2) + if self.energyCost != 0 { + try visitor.visitSingularInt32Field(value: self.energyCost, fieldNumber: 2) + } + if self.maxEnergy != 0 { + try visitor.visitSingularInt32Field(value: self.maxEnergy, fieldNumber: 3) + } + if !self.chargeRate.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.chargeRate, fieldNumber: 4) + } + if self.disabled != false { + try visitor.visitSingularBoolField(value: self.disabled, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AllTypesAndMessagesResponsesProto.Message, rhs: AllTypesAndMessagesResponsesProto.Message) -> Bool { - if lhs.method != rhs.method {return false} - if lhs.message != rhs.message {return false} + public static func ==(lhs: AbilityEnergyMetadata, rhs: AbilityEnergyMetadata) -> Bool { + if lhs.currentEnergy != rhs.currentEnergy {return false} + if lhs.energyCost != rhs.energyCost {return false} + if lhs.maxEnergy != rhs.maxEnergy {return false} + if lhs.chargeRate != rhs.chargeRate {return false} + if lhs.disabled != rhs.disabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AllTypesAndMessagesResponsesProto.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AllTypesAndMessagesResponsesProto.protoMessageName + ".Response" +extension AbilityEnergyMetadata.ChargeMultiplier: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "method"), - 2: .same(proto: "response"), + 0: .same(proto: "UNSET_MULTIPLIER"), + 1: .same(proto: "PARTY_SIZE"), + ] +} + +extension AbilityEnergyMetadata.ChargeType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "FAST_MOVE"), + 2: .same(proto: "CHARGE_MOVE"), + ] +} + +extension AbilityEnergyMetadata.ChargeRateSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = AbilityEnergyMetadata.protoMessageName + ".ChargeRateSetting" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "multiplier"), + 2: .same(proto: "rate"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -163652,38 +162919,36 @@ extension AllTypesAndMessagesResponsesProto.Response: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.method) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.response) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.multiplier) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rate) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.method != .requestTypeUnset { - try visitor.visitSingularEnumField(value: self.method, fieldNumber: 1) + if self.multiplier != .unsetMultiplier { + try visitor.visitSingularEnumField(value: self.multiplier, fieldNumber: 1) } - if !self.response.isEmpty { - try visitor.visitSingularBytesField(value: self.response, fieldNumber: 2) + if self.rate != 0 { + try visitor.visitSingularInt32Field(value: self.rate, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AllTypesAndMessagesResponsesProto.Response, rhs: AllTypesAndMessagesResponsesProto.Response) -> Bool { - if lhs.method != rhs.method {return false} - if lhs.response != rhs.response {return false} + public static func ==(lhs: AbilityEnergyMetadata.ChargeRateSetting, rhs: AbilityEnergyMetadata.ChargeRateSetting) -> Bool { + if lhs.multiplier != rhs.multiplier {return false} + if lhs.rate != rhs.rate {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Anchor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Anchor" +extension AbilityLookupMap: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AbilityLookupMap" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "x_center"), - 2: .standard(proto: "y_center"), - 3: .same(proto: "h"), - 4: .same(proto: "w"), + 1: .standard(proto: "lookup_location"), + 2: .standard(proto: "stat_modifier_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -163692,46 +162957,81 @@ extension Anchor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBas // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.xCenter) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.yCenter) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.h) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.w) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.lookupLocation) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.statModifierType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.xCenter != 0 { - try visitor.visitSingularFloatField(value: self.xCenter, fieldNumber: 1) + if self.lookupLocation != .unsetAbilityLocation { + try visitor.visitSingularEnumField(value: self.lookupLocation, fieldNumber: 1) + } + if self.statModifierType != .unsetStatModifierType { + try visitor.visitSingularEnumField(value: self.statModifierType, fieldNumber: 2) } - if self.yCenter != 0 { - try visitor.visitSingularFloatField(value: self.yCenter, fieldNumber: 2) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AbilityLookupMap, rhs: AbilityLookupMap) -> Bool { + if lhs.lookupLocation != rhs.lookupLocation {return false} + if lhs.statModifierType != rhs.statModifierType {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension AbilityLookupMap.AbilityLookupLocation: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET_ABILITY_LOCATION"), + 1: .same(proto: "TRAINER_ACTIVE_POKEMON_STAT_MODIFIERS"), + ] +} + +extension AcceptCombatChallengeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcceptCombatChallengeData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "attacking_pokemon_indexes"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.attackingPokemonIndexes) }() + default: break + } } - if self.h != 0 { - try visitor.visitSingularFloatField(value: self.h, fieldNumber: 3) + } + + public func traverse(visitor: inout V) throws { + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.w != 0 { - try visitor.visitSingularFloatField(value: self.w, fieldNumber: 4) + if !self.attackingPokemonIndexes.isEmpty { + try visitor.visitPackedInt32Field(value: self.attackingPokemonIndexes, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Anchor, rhs: Anchor) -> Bool { - if lhs.xCenter != rhs.xCenter {return false} - if lhs.yCenter != rhs.yCenter {return false} - if lhs.h != rhs.h {return false} - if lhs.w != rhs.w {return false} + public static func ==(lhs: AcceptCombatChallengeData, rhs: AcceptCombatChallengeData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.attackingPokemonIndexes != rhs.attackingPokemonIndexes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AnchorUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AnchorUpdateProto" +extension AcceptCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcceptCombatChallengeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "updateType"), - 2: .standard(proto: "updated_anchor"), + 1: .same(proto: "result"), + 2: .same(proto: "challenge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -163740,8 +163040,8 @@ extension AnchorUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.updateType) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._updatedAnchor) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break } } @@ -163752,41 +163052,44 @@ extension AnchorUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.updateType != .unset { - try visitor.visitSingularEnumField(value: self.updateType, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._updatedAnchor { + try { if let v = self._challenge { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AnchorUpdateProto, rhs: AnchorUpdateProto) -> Bool { - if lhs.updateType != rhs.updateType {return false} - if lhs._updatedAnchor != rhs._updatedAnchor {return false} + public static func ==(lhs: AcceptCombatChallengeOutProto, rhs: AcceptCombatChallengeOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AnchorUpdateProto.AnchorUpdateType: SwiftProtobuf._ProtoNameProviding { +extension AcceptCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "ADD"), - 2: .same(proto: "EDIT"), - 3: .same(proto: "REMOVE"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), + 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), + 4: .same(proto: "ERROR_POKEMON_NOT_IN_INVENTORY"), + 5: .same(proto: "ERROR_NOT_ELIGIBLE_LEAGUE"), + 6: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), + 7: .same(proto: "ERROR_OPPONENT_NOT_IN_RANGE"), + 8: .same(proto: "ERROR_ALREADY_TIMEDOUT"), + 9: .same(proto: "ERROR_ALREADY_CANCELLED"), + 10: .same(proto: "ERROR_ACCESS_DENIED"), ] } -extension AndroidDataSource: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AndroidDataSource" +extension AcceptCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcceptCombatChallengeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_raw"), - 2: .standard(proto: "app_package_name"), - 3: .standard(proto: "stream_identifier"), - 4: .standard(proto: "stream_name"), - 5: .same(proto: "device"), - 6: .standard(proto: "data_type"), + 1: .standard(proto: "challenge_id"), + 6: .standard(proto: "attacking_pokemon_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -163795,12 +163098,50 @@ extension AndroidDataSource: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isRaw) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.appPackageName) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.streamIdentifier) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.streamName) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._device) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.dataType) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 6: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) + } + if !self.attackingPokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AcceptCombatChallengeProto, rhs: AcceptCombatChallengeProto) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} + if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension AcceptCombatChallengeResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcceptCombatChallengeResponseData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), + 4: .same(proto: "challenge"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break } } @@ -163811,46 +163152,35 @@ extension AndroidDataSource: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.isRaw != false { - try visitor.visitSingularBoolField(value: self.isRaw, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if !self.appPackageName.isEmpty { - try visitor.visitSingularStringField(value: self.appPackageName, fieldNumber: 2) - } - if !self.streamIdentifier.isEmpty { - try visitor.visitSingularStringField(value: self.streamIdentifier, fieldNumber: 3) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) } - if !self.streamName.isEmpty { - try visitor.visitSingularStringField(value: self.streamName, fieldNumber: 4) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) } - try { if let v = self._device { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + try { if let v = self._challenge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() - if !self.dataType.isEmpty { - try visitor.visitSingularStringField(value: self.dataType, fieldNumber: 6) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AndroidDataSource, rhs: AndroidDataSource) -> Bool { - if lhs.isRaw != rhs.isRaw {return false} - if lhs.appPackageName != rhs.appPackageName {return false} - if lhs.streamIdentifier != rhs.streamIdentifier {return false} - if lhs.streamName != rhs.streamName {return false} - if lhs._device != rhs._device {return false} - if lhs.dataType != rhs.dataType {return false} + public static func ==(lhs: AcceptCombatChallengeResponseData, rhs: AcceptCombatChallengeResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} + if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AndroidDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AndroidDevice" +extension AccountDeletionInitiatedTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AccountDeletionInitiatedTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "manufacturer"), - 2: .same(proto: "model"), - 3: .same(proto: "type"), - 4: .same(proto: "uid"), + 1: .standard(proto: "account_deletion_status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -163859,60 +163189,71 @@ extension AndroidDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.manufacturer) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.model) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.uid) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.accountDeletionStatus) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.manufacturer.isEmpty { - try visitor.visitSingularStringField(value: self.manufacturer, fieldNumber: 1) - } - if !self.model.isEmpty { - try visitor.visitSingularStringField(value: self.model, fieldNumber: 2) + if !self.accountDeletionStatus.isEmpty { + try visitor.visitSingularStringField(value: self.accountDeletionStatus, fieldNumber: 1) } - if self.type != .unknown { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AccountDeletionInitiatedTelemetry, rhs: AccountDeletionInitiatedTelemetry) -> Bool { + if lhs.accountDeletionStatus != rhs.accountDeletionStatus {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension AcknowledgePunishmentOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcknowledgePunishmentOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } } - if !self.uid.isEmpty { - try visitor.visitSingularStringField(value: self.uid, fieldNumber: 4) + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AndroidDevice, rhs: AndroidDevice) -> Bool { - if lhs.manufacturer != rhs.manufacturer {return false} - if lhs.model != rhs.model {return false} - if lhs.type != rhs.type {return false} - if lhs.uid != rhs.uid {return false} + public static func ==(lhs: AcknowledgePunishmentOutProto, rhs: AcknowledgePunishmentOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AndroidDevice.DeviceType: SwiftProtobuf._ProtoNameProviding { +extension AcknowledgePunishmentOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "PHONE"), - 2: .same(proto: "TABLET"), - 3: .same(proto: "WATCH"), - 4: .same(proto: "CHEST_STRAP"), - 5: .same(proto: "SCALE"), - 6: .same(proto: "HEAD_MOUNTED"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), ] } -extension AnimationOverrideProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AnimationOverrideProto" +extension AcknowledgePunishmentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcknowledgePunishmentProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "animation"), - 2: .same(proto: "blacklist"), - 3: .standard(proto: "anim_min"), - 4: .standard(proto: "anim_max"), + 1: .standard(proto: "is_warn"), + 2: .standard(proto: "is_suspended"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -163921,65 +163262,97 @@ extension AnimationOverrideProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.animation) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.blacklist) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.animMin) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.animMax) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isWarn) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isSuspended) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.animation != .none { - try visitor.visitSingularEnumField(value: self.animation, fieldNumber: 1) + if self.isWarn != false { + try visitor.visitSingularBoolField(value: self.isWarn, fieldNumber: 1) } - if self.blacklist != false { - try visitor.visitSingularBoolField(value: self.blacklist, fieldNumber: 2) + if self.isSuspended != false { + try visitor.visitSingularBoolField(value: self.isSuspended, fieldNumber: 2) } - if self.animMin != 0 { - try visitor.visitSingularFloatField(value: self.animMin, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AcknowledgePunishmentProto, rhs: AcknowledgePunishmentProto) -> Bool { + if lhs.isWarn != rhs.isWarn {return false} + if lhs.isSuspended != rhs.isSuspended {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension AcknowledgeViewLatestIncenseRecapOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcknowledgeViewLatestIncenseRecapOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } } - if self.animMax != 0 { - try visitor.visitSingularFloatField(value: self.animMax, fieldNumber: 4) + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AnimationOverrideProto, rhs: AnimationOverrideProto) -> Bool { - if lhs.animation != rhs.animation {return false} - if lhs.blacklist != rhs.blacklist {return false} - if lhs.animMin != rhs.animMin {return false} - if lhs.animMax != rhs.animMax {return false} + public static func ==(lhs: AcknowledgeViewLatestIncenseRecapOutProto, rhs: AcknowledgeViewLatestIncenseRecapOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AnimationOverrideProto.PokemonAnim: SwiftProtobuf._ProtoNameProviding { +extension AcknowledgeViewLatestIncenseRecapOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE"), - 1: .same(proto: "IDLE_01"), - 2: .same(proto: "IDLE_02"), - 3: .same(proto: "LAND"), - 4: .same(proto: "ATTACK_01"), - 5: .same(proto: "ATTACK_02"), - 6: .same(proto: "DAMAGED"), - 7: .same(proto: "STUNNED"), - 8: .same(proto: "LOOP"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_RECAP_ALREADY_ACKNOWLEDGED"), + 3: .same(proto: "ERROR_FEATURE_DISABLED"), + 4: .same(proto: "ERROR_NO_LOG_TODAY"), + 5: .same(proto: "ERROR_ACTIVE_INCENSE"), ] } -extension Api: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Api" +extension AcknowledgeViewLatestIncenseRecapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcknowledgeViewLatestIncenseRecapProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AcknowledgeViewLatestIncenseRecapProto, rhs: AcknowledgeViewLatestIncenseRecapProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension AcknowledgeWarningsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcknowledgeWarningsRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "methods"), - 3: .same(proto: "options"), - 4: .same(proto: "version"), - 5: .standard(proto: "source_context"), - 6: .same(proto: "mixins"), - 7: .same(proto: "syntax"), + 1: .same(proto: "warning"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -163988,66 +163361,30 @@ extension Api: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.methods) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.options) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.version) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._sourceContext) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.mixins) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.syntax) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.warning) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.methods.isEmpty { - try visitor.visitRepeatedMessageField(value: self.methods, fieldNumber: 2) - } - if !self.options.isEmpty { - try visitor.visitRepeatedMessageField(value: self.options, fieldNumber: 3) - } - if !self.version.isEmpty { - try visitor.visitSingularStringField(value: self.version, fieldNumber: 4) - } - try { if let v = self._sourceContext { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if !self.mixins.isEmpty { - try visitor.visitRepeatedMessageField(value: self.mixins, fieldNumber: 6) - } - if self.syntax != .proto2 { - try visitor.visitSingularEnumField(value: self.syntax, fieldNumber: 7) + if !self.warning.isEmpty { + try visitor.visitPackedEnumField(value: self.warning, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Api, rhs: Api) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.methods != rhs.methods {return false} - if lhs.options != rhs.options {return false} - if lhs.version != rhs.version {return false} - if lhs._sourceContext != rhs._sourceContext {return false} - if lhs.mixins != rhs.mixins {return false} - if lhs.syntax != rhs.syntax {return false} + public static func ==(lhs: AcknowledgeWarningsRequestProto, rhs: AcknowledgeWarningsRequestProto) -> Bool { + if lhs.warning != rhs.warning {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ApnToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ApnToken" +extension AcknowledgeWarningsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AcknowledgeWarningsResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "registration_id"), - 2: .standard(proto: "bundle_identifier"), - 3: .standard(proto: "payload_byte_size"), + 1: .same(proto: "success"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -164056,41 +163393,57 @@ extension ApnToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.registrationID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.bundleIdentifier) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.payloadByteSize) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.registrationID.isEmpty { - try visitor.visitSingularStringField(value: self.registrationID, fieldNumber: 1) - } - if !self.bundleIdentifier.isEmpty { - try visitor.visitSingularStringField(value: self.bundleIdentifier, fieldNumber: 2) - } - if self.payloadByteSize != 0 { - try visitor.visitSingularInt32Field(value: self.payloadByteSize, fieldNumber: 3) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ApnToken, rhs: ApnToken) -> Bool { - if lhs.registrationID != rhs.registrationID {return false} - if lhs.bundleIdentifier != rhs.bundleIdentifier {return false} - if lhs.payloadByteSize != rhs.payloadByteSize {return false} + public static func ==(lhs: AcknowledgeWarningsResponseProto, rhs: AcknowledgeWarningsResponseProto) -> Bool { + if lhs.success != rhs.success {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AppleToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AppleToken" +extension ActionLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ActionLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "id_token"), - 2: .standard(proto: "session_token"), + 3: .standard(proto: "catch_pokemon"), + 4: .standard(proto: "fort_search"), + 5: .standard(proto: "buddy_pokemon"), + 6: .standard(proto: "raid_rewards"), + 7: .standard(proto: "passcode_rewards"), + 8: .standard(proto: "complete_quest"), + 9: .standard(proto: "complete_quest_stamp_card"), + 10: .standard(proto: "complete_quest_pokemon_encounter"), + 11: .standard(proto: "beluga_transfer"), + 12: .standard(proto: "open_gift"), + 13: .standard(proto: "send_gift"), + 14: .same(proto: "trading"), + 17: .standard(proto: "fitness_rewards"), + 18: .same(proto: "combat"), + 19: .standard(proto: "purify_pokemon"), + 20: .standard(proto: "invasion_victory"), + 21: .standard(proto: "vs_seeker_set"), + 22: .standard(proto: "vs_seeker_complete_season"), + 23: .standard(proto: "vs_seeker_win_rewards"), + 24: .standard(proto: "buddy_consumables"), + 25: .standard(proto: "complete_referral_milestone"), + 26: .standard(proto: "daily_adventure_incense"), + 27: .standard(proto: "complete_route_play"), + 28: .standard(proto: "butterfly_collector_rewards"), + 29: .standard(proto: "webstore_rewards"), + 30: .standard(proto: "use_non_combat_move"), + 1: .standard(proto: "timestamp_ms"), + 2: .same(proto: "sfida"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -164099,38 +163452,486 @@ extension AppleToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.idToken) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.sessionToken) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.sfida) }() + case 3: try { + var v: CatchPokemonLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .catchPokemon(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .catchPokemon(v) + } + }() + case 4: try { + var v: FortSearchLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .fortSearch(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .fortSearch(v) + } + }() + case 5: try { + var v: BuddyPokemonLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .buddyPokemon(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .buddyPokemon(v) + } + }() + case 6: try { + var v: RaidRewardsLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .raidRewards(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .raidRewards(v) + } + }() + case 7: try { + var v: PasscodeRewardsLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .passcodeRewards(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .passcodeRewards(v) + } + }() + case 8: try { + var v: CompleteQuestLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .completeQuest(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .completeQuest(v) + } + }() + case 9: try { + var v: CompleteQuestStampCardLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .completeQuestStampCard(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .completeQuestStampCard(v) + } + }() + case 10: try { + var v: CompleteQuestPokemonEncounterLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .completeQuestPokemonEncounter(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .completeQuestPokemonEncounter(v) + } + }() + case 11: try { + var v: BelugaDailyTransferLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .belugaTransfer(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .belugaTransfer(v) + } + }() + case 12: try { + var v: OpenGiftLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .openGift(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .openGift(v) + } + }() + case 13: try { + var v: SendGiftLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .sendGift(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .sendGift(v) + } + }() + case 14: try { + var v: TradingLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .trading(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .trading(v) + } + }() + case 17: try { + var v: FitnessRewardsLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .fitnessRewards(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .fitnessRewards(v) + } + }() + case 18: try { + var v: CombatLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .combat(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .combat(v) + } + }() + case 19: try { + var v: PurifyPokemonLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .purifyPokemon(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .purifyPokemon(v) + } + }() + case 20: try { + var v: InvasionVictoryLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .invasionVictory(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .invasionVictory(v) + } + }() + case 21: try { + var v: VsSeekerSetLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .vsSeekerSet(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .vsSeekerSet(v) + } + }() + case 22: try { + var v: VsSeekerCompleteSeasonLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .vsSeekerCompleteSeason(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .vsSeekerCompleteSeason(v) + } + }() + case 23: try { + var v: VsSeekerWinRewardsLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .vsSeekerWinRewards(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .vsSeekerWinRewards(v) + } + }() + case 24: try { + var v: BuddyConsumablesLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .buddyConsumables(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .buddyConsumables(v) + } + }() + case 25: try { + var v: CompleteReferralMilestoneLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .completeReferralMilestone(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .completeReferralMilestone(v) + } + }() + case 26: try { + var v: DailyAdventureIncenseLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .dailyAdventureIncense(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .dailyAdventureIncense(v) + } + }() + case 27: try { + var v: CompleteRoutePlayLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .completeRoutePlay(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .completeRoutePlay(v) + } + }() + case 28: try { + var v: ButterflyCollectorRewardsLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .butterflyCollectorRewards(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .butterflyCollectorRewards(v) + } + }() + case 29: try { + var v: WebstoreRewardsLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .webstoreRewards(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .webstoreRewards(v) + } + }() + case 30: try { + var v: UseNonCombatMoveLogEntry? + var hadOneofValue = false + if let current = self.action { + hadOneofValue = true + if case .useNonCombatMove(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.action = .useNonCombatMove(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.idToken.isEmpty { - try visitor.visitSingularStringField(value: self.idToken, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) } - if !self.sessionToken.isEmpty { - try visitor.visitSingularBytesField(value: self.sessionToken, fieldNumber: 2) + if self.sfida != false { + try visitor.visitSingularBoolField(value: self.sfida, fieldNumber: 2) + } + switch self.action { + case .catchPokemon?: try { + guard case .catchPokemon(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .fortSearch?: try { + guard case .fortSearch(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .buddyPokemon?: try { + guard case .buddyPokemon(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .raidRewards?: try { + guard case .raidRewards(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + }() + case .passcodeRewards?: try { + guard case .passcodeRewards(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + }() + case .completeQuest?: try { + guard case .completeQuest(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + }() + case .completeQuestStampCard?: try { + guard case .completeQuestStampCard(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + }() + case .completeQuestPokemonEncounter?: try { + guard case .completeQuestPokemonEncounter(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + }() + case .belugaTransfer?: try { + guard case .belugaTransfer(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + }() + case .openGift?: try { + guard case .openGift(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + }() + case .sendGift?: try { + guard case .sendGift(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + }() + case .trading?: try { + guard case .trading(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 14) + }() + case .fitnessRewards?: try { + guard case .fitnessRewards(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 17) + }() + case .combat?: try { + guard case .combat(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 18) + }() + case .purifyPokemon?: try { + guard case .purifyPokemon(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 19) + }() + case .invasionVictory?: try { + guard case .invasionVictory(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 20) + }() + case .vsSeekerSet?: try { + guard case .vsSeekerSet(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 21) + }() + case .vsSeekerCompleteSeason?: try { + guard case .vsSeekerCompleteSeason(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 22) + }() + case .vsSeekerWinRewards?: try { + guard case .vsSeekerWinRewards(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 23) + }() + case .buddyConsumables?: try { + guard case .buddyConsumables(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 24) + }() + case .completeReferralMilestone?: try { + guard case .completeReferralMilestone(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 25) + }() + case .dailyAdventureIncense?: try { + guard case .dailyAdventureIncense(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 26) + }() + case .completeRoutePlay?: try { + guard case .completeRoutePlay(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 27) + }() + case .butterflyCollectorRewards?: try { + guard case .butterflyCollectorRewards(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 28) + }() + case .webstoreRewards?: try { + guard case .webstoreRewards(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 29) + }() + case .useNonCombatMove?: try { + guard case .useNonCombatMove(let v)? = self.action else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 30) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AppleToken, rhs: AppleToken) -> Bool { - if lhs.idToken != rhs.idToken {return false} - if lhs.sessionToken != rhs.sessionToken {return false} + public static func ==(lhs: ActionLogEntry, rhs: ActionLogEntry) -> Bool { + if lhs.action != rhs.action {return false} + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs.sfida != rhs.sfida {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AppliedItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AppliedItemProto" +extension ActivateVsSeekerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ActivateVsSeekerOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .standard(proto: "item_type"), - 3: .standard(proto: "expiration_ms"), - 4: .standard(proto: "applied_ms"), + 1: .same(proto: "result"), + 2: .standard(proto: "vs_seeker"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -164139,80 +163940,51 @@ extension AppliedItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.itemType) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.expirationMs) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.appliedMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._vsSeeker) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) - } - if self.itemType != .itemTypeNone { - try visitor.visitSingularEnumField(value: self.itemType, fieldNumber: 2) - } - if self.expirationMs != 0 { - try visitor.visitSingularInt64Field(value: self.expirationMs, fieldNumber: 3) - } - if self.appliedMs != 0 { - try visitor.visitSingularInt64Field(value: self.appliedMs, fieldNumber: 4) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._vsSeeker { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AppliedItemProto, rhs: AppliedItemProto) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.itemType != rhs.itemType {return false} - if lhs.expirationMs != rhs.expirationMs {return false} - if lhs.appliedMs != rhs.appliedMs {return false} + public static func ==(lhs: ActivateVsSeekerOutProto, rhs: ActivateVsSeekerOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._vsSeeker != rhs._vsSeeker {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AppliedItemsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AppliedItemsProto" +extension ActivateVsSeekerOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 4: .same(proto: "item"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS_ACTIVATED"), + 2: .same(proto: "ERROR_NO_PREMIUM_BATTLE_PASS"), + 3: .same(proto: "ERROR_VS_SEEKER_NOT_CHARGED"), + 4: .same(proto: "ERROR_VS_SEEKER_ALREADY_ACTIVATED"), + 5: .same(proto: "ERROR_EXCEEDED_LIMIT"), + 6: .same(proto: "ERROR_TEMPORARILY_UNAVAILABLE"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.item) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.item.isEmpty { - try visitor.visitRepeatedMessageField(value: self.item, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AppliedItemsProto, rhs: AppliedItemsProto) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AppraisalStarThresholdSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AppraisalStarThresholdSettings" +extension ActivateVsSeekerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ActivateVsSeekerProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "threshold_one_star"), - 2: .standard(proto: "threshold_two_star"), - 3: .standard(proto: "threshold_three_star"), - 4: .standard(proto: "threshold_four_star"), + 1: .standard(proto: "reward_track"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -164221,75 +163993,47 @@ extension AppraisalStarThresholdSettings: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.thresholdOneStar) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.thresholdTwoStar) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.thresholdThreeStar) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.thresholdFourStar) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.rewardTrack) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.thresholdOneStar != 0 { - try visitor.visitSingularInt32Field(value: self.thresholdOneStar, fieldNumber: 1) - } - if self.thresholdTwoStar != 0 { - try visitor.visitSingularInt32Field(value: self.thresholdTwoStar, fieldNumber: 2) - } - if self.thresholdThreeStar != 0 { - try visitor.visitSingularInt32Field(value: self.thresholdThreeStar, fieldNumber: 3) - } - if self.thresholdFourStar != 0 { - try visitor.visitSingularInt32Field(value: self.thresholdFourStar, fieldNumber: 4) + if self.rewardTrack != .free { + try visitor.visitSingularEnumField(value: self.rewardTrack, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AppraisalStarThresholdSettings, rhs: AppraisalStarThresholdSettings) -> Bool { - if lhs.thresholdOneStar != rhs.thresholdOneStar {return false} - if lhs.thresholdTwoStar != rhs.thresholdTwoStar {return false} - if lhs.thresholdThreeStar != rhs.thresholdThreeStar {return false} - if lhs.thresholdFourStar != rhs.thresholdFourStar {return false} + public static func ==(lhs: ActivateVsSeekerProto, rhs: ActivateVsSeekerProto) -> Bool { + if lhs.rewardTrack != rhs.rewardTrack {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ApprovedCommonTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ApprovedCommonTelemetryProto" +extension ActivityPostcardData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ActivityPostcardData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "boot_time"), - 2: .standard(proto: "shop_click"), - 3: .standard(proto: "shop_view"), - 4: .standard(proto: "poi_submission_telemetry"), - 5: .standard(proto: "poi_submission_photo_upload_error_telemetry"), - 6: .standard(proto: "log_in"), - 7: .standard(proto: "poi_categorization_entry_telemetry"), - 8: .standard(proto: "poi_categorization_operation_telemetry"), - 9: .standard(proto: "poi_categorization_selected_telemetry"), - 10: .standard(proto: "poi_categorization_removed_telemetry"), - 11: .standard(proto: "wayfarer_onboarding_flow_telemetry"), - 12: .standard(proto: "as_permission_flow_telemetry"), - 13: .standard(proto: "log_out"), - 14: .standard(proto: "omni_push_event"), - 15: .standard(proto: "server_data"), - 16: .standard(proto: "common_filters"), + 1: .standard(proto: "sender_public_profile"), + 3: .standard(proto: "sender_buddy_data"), + 4: .standard(proto: "sender_fort_data"), ] fileprivate class _StorageClass { - var _telemetryData: ApprovedCommonTelemetryProto.OneOf_TelemetryData? - var _serverData: ServerRecordMetadata? = nil - var _commonFilters: ClientTelemetryCommonFilterProto? = nil + var _senderPublicProfile: PlayerPublicProfileProto? = nil + var _senderBuddyData: ActivityPostcardData.BuddyData? = nil + var _senderFortData: ActivityPostcardData.FortData? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _telemetryData = source._telemetryData - _serverData = source._serverData - _commonFilters = source._commonFilters + _senderPublicProfile = source._senderPublicProfile + _senderBuddyData = source._senderBuddyData + _senderFortData = source._senderFortData } } @@ -164308,190 +164052,9 @@ extension ApprovedCommonTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: CommonTelemetryBootTime? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .bootTime(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .bootTime(v) - } - }() - case 2: try { - var v: CommonTelemetryShopClick? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .shopClick(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .shopClick(v) - } - }() - case 3: try { - var v: CommonTelemetryShopView? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .shopView(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .shopView(v) - } - }() - case 4: try { - var v: PoiSubmissionTelemetry? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .poiSubmissionTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .poiSubmissionTelemetry(v) - } - }() - case 5: try { - var v: PoiSubmissionPhotoUploadErrorTelemetry? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .poiSubmissionPhotoUploadErrorTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .poiSubmissionPhotoUploadErrorTelemetry(v) - } - }() - case 6: try { - var v: CommonTelemetryLogIn? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .logIn(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .logIn(v) - } - }() - case 7: try { - var v: PoiCategorizationEntryTelemetry? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .poiCategorizationEntryTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .poiCategorizationEntryTelemetry(v) - } - }() - case 8: try { - var v: PoiCategorizationOperationTelemetry? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .poiCategorizationOperationTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .poiCategorizationOperationTelemetry(v) - } - }() - case 9: try { - var v: PoiCategorySelectedTelemetry? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .poiCategorizationSelectedTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .poiCategorizationSelectedTelemetry(v) - } - }() - case 10: try { - var v: PoiCategoryRemovedTelemetry? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .poiCategorizationRemovedTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .poiCategorizationRemovedTelemetry(v) - } - }() - case 11: try { - var v: WayfarerOnboardingFlowTelemetry? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .wayfarerOnboardingFlowTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .wayfarerOnboardingFlowTelemetry(v) - } - }() - case 12: try { - var v: ASPermissionFlowTelemetry? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .asPermissionFlowTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .asPermissionFlowTelemetry(v) - } - }() - case 13: try { - var v: CommonTelemetryLogOut? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .logOut(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .logOut(v) - } - }() - case 14: try { - var v: CommonTelemetryOmniPushEvent? - var hadOneofValue = false - if let current = _storage._telemetryData { - hadOneofValue = true - if case .omniPushEvent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._telemetryData = .omniPushEvent(v) - } - }() - case 15: try { try decoder.decodeSingularMessageField(value: &_storage._serverData) }() - case 16: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._senderPublicProfile) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._senderBuddyData) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._senderFortData) }() default: break } } @@ -164504,83 +164067,27 @@ extension ApprovedCommonTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - switch _storage._telemetryData { - case .bootTime?: try { - guard case .bootTime(let v)? = _storage._telemetryData else { preconditionFailure() } + try { if let v = _storage._senderPublicProfile { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .shopClick?: try { - guard case .shopClick(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .shopView?: try { - guard case .shopView(let v)? = _storage._telemetryData else { preconditionFailure() } + } }() + try { if let v = _storage._senderBuddyData { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .poiSubmissionTelemetry?: try { - guard case .poiSubmissionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .poiSubmissionPhotoUploadErrorTelemetry?: try { - guard case .poiSubmissionPhotoUploadErrorTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case .logIn?: try { - guard case .logIn(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - }() - case .poiCategorizationEntryTelemetry?: try { - guard case .poiCategorizationEntryTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - }() - case .poiCategorizationOperationTelemetry?: try { - guard case .poiCategorizationOperationTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - }() - case .poiCategorizationSelectedTelemetry?: try { - guard case .poiCategorizationSelectedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - }() - case .poiCategorizationRemovedTelemetry?: try { - guard case .poiCategorizationRemovedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - }() - case .wayfarerOnboardingFlowTelemetry?: try { - guard case .wayfarerOnboardingFlowTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - }() - case .asPermissionFlowTelemetry?: try { - guard case .asPermissionFlowTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - }() - case .logOut?: try { - guard case .logOut(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - }() - case .omniPushEvent?: try { - guard case .omniPushEvent(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - }() - case nil: break - } - try { if let v = _storage._serverData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) } }() - try { if let v = _storage._commonFilters { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + try { if let v = _storage._senderFortData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ApprovedCommonTelemetryProto, rhs: ApprovedCommonTelemetryProto) -> Bool { + public static func ==(lhs: ActivityPostcardData, rhs: ActivityPostcardData) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._telemetryData != rhs_storage._telemetryData {return false} - if _storage._serverData != rhs_storage._serverData {return false} - if _storage._commonFilters != rhs_storage._commonFilters {return false} + if _storage._senderPublicProfile != rhs_storage._senderPublicProfile {return false} + if _storage._senderBuddyData != rhs_storage._senderBuddyData {return false} + if _storage._senderFortData != rhs_storage._senderFortData {return false} return true } if !storagesAreEqual {return false} @@ -164590,10 +164097,13 @@ extension ApprovedCommonTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._Me } } -extension ArMappingSessionTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ArMappingSessionTelemetryProto" +extension ActivityPostcardData.BuddyData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ActivityPostcardData.protoMessageName + ".BuddyData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fulfilled_geotargeted_quest"), + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "buddy_display"), + 3: .same(proto: "nickname"), + 4: .standard(proto: "buddy_candy_awarded"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -164602,300 +164112,263 @@ extension ArMappingSessionTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.fulfilledGeotargetedQuest) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._buddyDisplay) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.nickname) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.buddyCandyAwarded) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.fulfilledGeotargetedQuest != false { - try visitor.visitSingularBoolField(value: self.fulfilledGeotargetedQuest, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) + } + try { if let v = self._buddyDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.nickname.isEmpty { + try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 3) + } + if self.buddyCandyAwarded != 0 { + try visitor.visitSingularInt32Field(value: self.buddyCandyAwarded, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArMappingSessionTelemetryProto, rhs: ArMappingSessionTelemetryProto) -> Bool { - if lhs.fulfilledGeotargetedQuest != rhs.fulfilledGeotargetedQuest {return false} + public static func ==(lhs: ActivityPostcardData.BuddyData, rhs: ActivityPostcardData.BuddyData) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs._buddyDisplay != rhs._buddyDisplay {return false} + if lhs.nickname != rhs.nickname {return false} + if lhs.buddyCandyAwarded != rhs.buddyCandyAwarded {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArMappingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ArMappingSettingsProto" +extension ActivityPostcardData.FortData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ActivityPostcardData.protoMessageName + ".FortData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_hours_between_prompt"), - 2: .standard(proto: "max_video_time_seconds"), - 3: .standard(proto: "preview_video_bitrate_kbps"), - 4: .standard(proto: "preview_video_deadline_ms"), - 5: .standard(proto: "research_video_bitrate_kbps"), - 6: .standard(proto: "research_video_deadline_ms"), - 7: .standard(proto: "min_video_time_seconds"), - 8: .standard(proto: "preview_frame_rate_fps"), - 9: .standard(proto: "preview_frames_to_jump"), - 10: .standard(proto: "max_upload_chunk_rejected_count"), - 11: .standard(proto: "ardk_desired_accuracy_mm"), - 12: .standard(proto: "ardk_update_distance_mm"), - 13: .standard(proto: "max_pending_upload_kilobytes"), - 14: .standard(proto: "enable_sponsor_poi_scan"), - 15: .standard(proto: "min_disk_space_needed_mb"), - 16: .standard(proto: "scan_validation_enabled"), - 17: .standard(proto: "scan_validation_start_delay_s"), - 18: .standard(proto: "scan_validation_lumens_min_threshold"), - 19: .standard(proto: "scan_validation_lumens_smoothing_factor"), - 20: .standard(proto: "scan_validation_average_pixel_threshold"), - 21: .standard(proto: "scan_validation_average_pixel_smoothing_factor"), - 22: .standard(proto: "scan_validation_speed_min_threshold_mper_s"), - 23: .standard(proto: "scan_validation_speed_max_threshold_mper_s"), - 24: .standard(proto: "scan_validation_speed_smoothing_factor"), - 25: .standard(proto: "scan_validation_max_warning_time_s"), - 26: .standard(proto: "ar_recorder_v2_enabled"), + 1: .same(proto: "id"), + 2: .same(proto: "name"), + 3: .same(proto: "description"), + 4: .standard(proto: "image_url"), + 5: .standard(proto: "lat_degrees"), + 6: .standard(proto: "lng_degrees"), ] - fileprivate class _StorageClass { - var _minHoursBetweenPrompt: Int32 = 0 - var _maxVideoTimeSeconds: Int32 = 0 - var _previewVideoBitrateKbps: Int32 = 0 - var _previewVideoDeadlineMs: Int32 = 0 - var _researchVideoBitrateKbps: Int32 = 0 - var _researchVideoDeadlineMs: Int32 = 0 - var _minVideoTimeSeconds: Int32 = 0 - var _previewFrameRateFps: Int32 = 0 - var _previewFramesToJump: Int32 = 0 - var _maxUploadChunkRejectedCount: Int32 = 0 - var _ardkDesiredAccuracyMm: Int32 = 0 - var _ardkUpdateDistanceMm: Int32 = 0 - var _maxPendingUploadKilobytes: Int32 = 0 - var _enableSponsorPoiScan: Bool = false - var _minDiskSpaceNeededMb: Int32 = 0 - var _scanValidationEnabled: Bool = false - var _scanValidationStartDelayS: Float = 0 - var _scanValidationLumensMinThreshold: Float = 0 - var _scanValidationLumensSmoothingFactor: Float = 0 - var _scanValidationAveragePixelThreshold: Float = 0 - var _scanValidationAveragePixelSmoothingFactor: Float = 0 - var _scanValidationSpeedMinThresholdMperS: Float = 0 - var _scanValidationSpeedMaxThresholdMperS: Float = 0 - var _scanValidationSpeedSmoothingFactor: Float = 0 - var _scanValidationMaxWarningTimeS: Float = 0 - var _arRecorderV2Enabled: Bool = false + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.latDegrees) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.lngDegrees) }() + default: break + } + } + } - static let defaultInstance = _StorageClass() + public func traverse(visitor: inout V) throws { + if !self.id.isEmpty { + try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) + } + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) + } + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 4) + } + if self.latDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.latDegrees, fieldNumber: 5) + } + if self.lngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.lngDegrees, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } - private init() {} + public static func ==(lhs: ActivityPostcardData.FortData, rhs: ActivityPostcardData.FortData) -> Bool { + if lhs.id != rhs.id {return false} + if lhs.name != rhs.name {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.imageURL != rhs.imageURL {return false} + if lhs.latDegrees != rhs.latDegrees {return false} + if lhs.lngDegrees != rhs.lngDegrees {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} - init(copying source: _StorageClass) { - _minHoursBetweenPrompt = source._minHoursBetweenPrompt - _maxVideoTimeSeconds = source._maxVideoTimeSeconds - _previewVideoBitrateKbps = source._previewVideoBitrateKbps - _previewVideoDeadlineMs = source._previewVideoDeadlineMs - _researchVideoBitrateKbps = source._researchVideoBitrateKbps - _researchVideoDeadlineMs = source._researchVideoDeadlineMs - _minVideoTimeSeconds = source._minVideoTimeSeconds - _previewFrameRateFps = source._previewFrameRateFps - _previewFramesToJump = source._previewFramesToJump - _maxUploadChunkRejectedCount = source._maxUploadChunkRejectedCount - _ardkDesiredAccuracyMm = source._ardkDesiredAccuracyMm - _ardkUpdateDistanceMm = source._ardkUpdateDistanceMm - _maxPendingUploadKilobytes = source._maxPendingUploadKilobytes - _enableSponsorPoiScan = source._enableSponsorPoiScan - _minDiskSpaceNeededMb = source._minDiskSpaceNeededMb - _scanValidationEnabled = source._scanValidationEnabled - _scanValidationStartDelayS = source._scanValidationStartDelayS - _scanValidationLumensMinThreshold = source._scanValidationLumensMinThreshold - _scanValidationLumensSmoothingFactor = source._scanValidationLumensSmoothingFactor - _scanValidationAveragePixelThreshold = source._scanValidationAveragePixelThreshold - _scanValidationAveragePixelSmoothingFactor = source._scanValidationAveragePixelSmoothingFactor - _scanValidationSpeedMinThresholdMperS = source._scanValidationSpeedMinThresholdMperS - _scanValidationSpeedMaxThresholdMperS = source._scanValidationSpeedMaxThresholdMperS - _scanValidationSpeedSmoothingFactor = source._scanValidationSpeedSmoothingFactor - _scanValidationMaxWarningTimeS = source._scanValidationMaxWarningTimeS - _arRecorderV2Enabled = source._arRecorderV2Enabled +extension AdDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdDetails" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "image_text_creative"), + 2: .standard(proto: "encrypted_ad_token"), + 3: .standard(proto: "impression_tracking_tag"), + 4: .standard(proto: "gam_details"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._imageTextCreative) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.encryptedAdToken) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.impressionTrackingTag) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._gamDetails) }() + default: break + } } } - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._imageTextCreative { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.encryptedAdToken.isEmpty { + try visitor.visitSingularBytesField(value: self.encryptedAdToken, fieldNumber: 2) } - return _storage + if !self.impressionTrackingTag.isEmpty { + try visitor.visitRepeatedMessageField(value: self.impressionTrackingTag, fieldNumber: 3) + } + try { if let v = self._gamDetails { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AdDetails, rhs: AdDetails) -> Bool { + if lhs._imageTextCreative != rhs._imageTextCreative {return false} + if lhs.encryptedAdToken != rhs.encryptedAdToken {return false} + if lhs.impressionTrackingTag != rhs.impressionTrackingTag {return false} + if lhs._gamDetails != rhs._gamDetails {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true } +} + +extension AdFeedbackSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdFeedbackSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + 2: .standard(proto: "enable_report_ad"), + 3: .standard(proto: "enable_not_interested"), + 4: .standard(proto: "enable_see_more"), + ] public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._minHoursBetweenPrompt) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._maxVideoTimeSeconds) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._previewVideoBitrateKbps) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._previewVideoDeadlineMs) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._researchVideoBitrateKbps) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._researchVideoDeadlineMs) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._minVideoTimeSeconds) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._previewFrameRateFps) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._previewFramesToJump) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._maxUploadChunkRejectedCount) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._ardkDesiredAccuracyMm) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._ardkUpdateDistanceMm) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPendingUploadKilobytes) }() - case 14: try { try decoder.decodeSingularBoolField(value: &_storage._enableSponsorPoiScan) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._minDiskSpaceNeededMb) }() - case 16: try { try decoder.decodeSingularBoolField(value: &_storage._scanValidationEnabled) }() - case 17: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationStartDelayS) }() - case 18: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationLumensMinThreshold) }() - case 19: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationLumensSmoothingFactor) }() - case 20: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationAveragePixelThreshold) }() - case 21: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationAveragePixelSmoothingFactor) }() - case 22: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationSpeedMinThresholdMperS) }() - case 23: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationSpeedMaxThresholdMperS) }() - case 24: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationSpeedSmoothingFactor) }() - case 25: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationMaxWarningTimeS) }() - case 26: try { try decoder.decodeSingularBoolField(value: &_storage._arRecorderV2Enabled) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableReportAd) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enableNotInterested) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.enableSeeMore) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._minHoursBetweenPrompt != 0 { - try visitor.visitSingularInt32Field(value: _storage._minHoursBetweenPrompt, fieldNumber: 1) - } - if _storage._maxVideoTimeSeconds != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxVideoTimeSeconds, fieldNumber: 2) - } - if _storage._previewVideoBitrateKbps != 0 { - try visitor.visitSingularInt32Field(value: _storage._previewVideoBitrateKbps, fieldNumber: 3) - } - if _storage._previewVideoDeadlineMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._previewVideoDeadlineMs, fieldNumber: 4) - } - if _storage._researchVideoBitrateKbps != 0 { - try visitor.visitSingularInt32Field(value: _storage._researchVideoBitrateKbps, fieldNumber: 5) - } - if _storage._researchVideoDeadlineMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._researchVideoDeadlineMs, fieldNumber: 6) - } - if _storage._minVideoTimeSeconds != 0 { - try visitor.visitSingularInt32Field(value: _storage._minVideoTimeSeconds, fieldNumber: 7) - } - if _storage._previewFrameRateFps != 0 { - try visitor.visitSingularInt32Field(value: _storage._previewFrameRateFps, fieldNumber: 8) - } - if _storage._previewFramesToJump != 0 { - try visitor.visitSingularInt32Field(value: _storage._previewFramesToJump, fieldNumber: 9) - } - if _storage._maxUploadChunkRejectedCount != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxUploadChunkRejectedCount, fieldNumber: 10) - } - if _storage._ardkDesiredAccuracyMm != 0 { - try visitor.visitSingularInt32Field(value: _storage._ardkDesiredAccuracyMm, fieldNumber: 11) - } - if _storage._ardkUpdateDistanceMm != 0 { - try visitor.visitSingularInt32Field(value: _storage._ardkUpdateDistanceMm, fieldNumber: 12) - } - if _storage._maxPendingUploadKilobytes != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxPendingUploadKilobytes, fieldNumber: 13) - } - if _storage._enableSponsorPoiScan != false { - try visitor.visitSingularBoolField(value: _storage._enableSponsorPoiScan, fieldNumber: 14) - } - if _storage._minDiskSpaceNeededMb != 0 { - try visitor.visitSingularInt32Field(value: _storage._minDiskSpaceNeededMb, fieldNumber: 15) - } - if _storage._scanValidationEnabled != false { - try visitor.visitSingularBoolField(value: _storage._scanValidationEnabled, fieldNumber: 16) - } - if _storage._scanValidationStartDelayS != 0 { - try visitor.visitSingularFloatField(value: _storage._scanValidationStartDelayS, fieldNumber: 17) - } - if _storage._scanValidationLumensMinThreshold != 0 { - try visitor.visitSingularFloatField(value: _storage._scanValidationLumensMinThreshold, fieldNumber: 18) - } - if _storage._scanValidationLumensSmoothingFactor != 0 { - try visitor.visitSingularFloatField(value: _storage._scanValidationLumensSmoothingFactor, fieldNumber: 19) - } - if _storage._scanValidationAveragePixelThreshold != 0 { - try visitor.visitSingularFloatField(value: _storage._scanValidationAveragePixelThreshold, fieldNumber: 20) - } - if _storage._scanValidationAveragePixelSmoothingFactor != 0 { - try visitor.visitSingularFloatField(value: _storage._scanValidationAveragePixelSmoothingFactor, fieldNumber: 21) - } - if _storage._scanValidationSpeedMinThresholdMperS != 0 { - try visitor.visitSingularFloatField(value: _storage._scanValidationSpeedMinThresholdMperS, fieldNumber: 22) - } - if _storage._scanValidationSpeedMaxThresholdMperS != 0 { - try visitor.visitSingularFloatField(value: _storage._scanValidationSpeedMaxThresholdMperS, fieldNumber: 23) - } - if _storage._scanValidationSpeedSmoothingFactor != 0 { - try visitor.visitSingularFloatField(value: _storage._scanValidationSpeedSmoothingFactor, fieldNumber: 24) - } - if _storage._scanValidationMaxWarningTimeS != 0 { - try visitor.visitSingularFloatField(value: _storage._scanValidationMaxWarningTimeS, fieldNumber: 25) - } - if _storage._arRecorderV2Enabled != false { - try visitor.visitSingularBoolField(value: _storage._arRecorderV2Enabled, fieldNumber: 26) - } + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.enableReportAd != false { + try visitor.visitSingularBoolField(value: self.enableReportAd, fieldNumber: 2) + } + if self.enableNotInterested != false { + try visitor.visitSingularBoolField(value: self.enableNotInterested, fieldNumber: 3) + } + if self.enableSeeMore != false { + try visitor.visitSingularBoolField(value: self.enableSeeMore, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArMappingSettingsProto, rhs: ArMappingSettingsProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._minHoursBetweenPrompt != rhs_storage._minHoursBetweenPrompt {return false} - if _storage._maxVideoTimeSeconds != rhs_storage._maxVideoTimeSeconds {return false} - if _storage._previewVideoBitrateKbps != rhs_storage._previewVideoBitrateKbps {return false} - if _storage._previewVideoDeadlineMs != rhs_storage._previewVideoDeadlineMs {return false} - if _storage._researchVideoBitrateKbps != rhs_storage._researchVideoBitrateKbps {return false} - if _storage._researchVideoDeadlineMs != rhs_storage._researchVideoDeadlineMs {return false} - if _storage._minVideoTimeSeconds != rhs_storage._minVideoTimeSeconds {return false} - if _storage._previewFrameRateFps != rhs_storage._previewFrameRateFps {return false} - if _storage._previewFramesToJump != rhs_storage._previewFramesToJump {return false} - if _storage._maxUploadChunkRejectedCount != rhs_storage._maxUploadChunkRejectedCount {return false} - if _storage._ardkDesiredAccuracyMm != rhs_storage._ardkDesiredAccuracyMm {return false} - if _storage._ardkUpdateDistanceMm != rhs_storage._ardkUpdateDistanceMm {return false} - if _storage._maxPendingUploadKilobytes != rhs_storage._maxPendingUploadKilobytes {return false} - if _storage._enableSponsorPoiScan != rhs_storage._enableSponsorPoiScan {return false} - if _storage._minDiskSpaceNeededMb != rhs_storage._minDiskSpaceNeededMb {return false} - if _storage._scanValidationEnabled != rhs_storage._scanValidationEnabled {return false} - if _storage._scanValidationStartDelayS != rhs_storage._scanValidationStartDelayS {return false} - if _storage._scanValidationLumensMinThreshold != rhs_storage._scanValidationLumensMinThreshold {return false} - if _storage._scanValidationLumensSmoothingFactor != rhs_storage._scanValidationLumensSmoothingFactor {return false} - if _storage._scanValidationAveragePixelThreshold != rhs_storage._scanValidationAveragePixelThreshold {return false} - if _storage._scanValidationAveragePixelSmoothingFactor != rhs_storage._scanValidationAveragePixelSmoothingFactor {return false} - if _storage._scanValidationSpeedMinThresholdMperS != rhs_storage._scanValidationSpeedMinThresholdMperS {return false} - if _storage._scanValidationSpeedMaxThresholdMperS != rhs_storage._scanValidationSpeedMaxThresholdMperS {return false} - if _storage._scanValidationSpeedSmoothingFactor != rhs_storage._scanValidationSpeedSmoothingFactor {return false} - if _storage._scanValidationMaxWarningTimeS != rhs_storage._scanValidationMaxWarningTimeS {return false} - if _storage._arRecorderV2Enabled != rhs_storage._arRecorderV2Enabled {return false} - return true + public static func ==(lhs: AdFeedbackSettingsProto, rhs: AdFeedbackSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.enableReportAd != rhs.enableReportAd {return false} + if lhs.enableNotInterested != rhs.enableNotInterested {return false} + if lhs.enableSeeMore != rhs.enableSeeMore {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension AdProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "ad_details"), + 2: .standard(proto: "ad_response_status"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._adDetails) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.adResponseStatus) }() + default: break } - if !storagesAreEqual {return false} } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._adDetails { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.adResponseStatus != .wasabiAdFound { + try visitor.visitSingularEnumField(value: self.adResponseStatus, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AdProto, rhs: AdProto) -> Bool { + if lhs._adDetails != rhs._adDetails {return false} + if lhs.adResponseStatus != rhs.adResponseStatus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArMappingTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ArMappingTelemetryProto" +extension AdRequestDeviceInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdRequestDeviceInfo" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ar_mapping_telemetry_id"), - 2: .same(proto: "source"), - 3: .standard(proto: "recording_length_seconds"), - 4: .standard(proto: "time_elapsed_seconds"), - 5: .standard(proto: "percent_encoded"), - 6: .standard(proto: "data_size_bytes"), - 7: .standard(proto: "validation_failure_reason"), + 1: .standard(proto: "operating_system"), + 2: .standard(proto: "device_model"), + 3: .same(proto: "carrier"), + 4: .standard(proto: "operating_system_version"), + 5: .standard(proto: "system_memory_size_mb"), + 6: .standard(proto: "graphics_memory_size_mb"), + 7: .standard(proto: "camera_permission_granted"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -164904,112 +164377,111 @@ extension ArMappingTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.arMappingTelemetryID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.source) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.recordingLengthSeconds) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.timeElapsedSeconds) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.percentEncoded) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.dataSizeBytes) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.validationFailureReason) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.operatingSystem) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.carrier) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.operatingSystemVersion) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.systemMemorySizeMb) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.graphicsMemorySizeMb) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.cameraPermissionGranted) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.arMappingTelemetryID != .unknown { - try visitor.visitSingularEnumField(value: self.arMappingTelemetryID, fieldNumber: 1) + if self.operatingSystem != .platformUnknown { + try visitor.visitSingularEnumField(value: self.operatingSystem, fieldNumber: 1) } - if self.source != .unknownEntry { - try visitor.visitSingularEnumField(value: self.source, fieldNumber: 2) + if !self.deviceModel.isEmpty { + try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 2) } - if self.recordingLengthSeconds != 0 { - try visitor.visitSingularFloatField(value: self.recordingLengthSeconds, fieldNumber: 3) + if !self.carrier.isEmpty { + try visitor.visitSingularStringField(value: self.carrier, fieldNumber: 3) } - if self.timeElapsedSeconds != 0 { - try visitor.visitSingularFloatField(value: self.timeElapsedSeconds, fieldNumber: 4) + if !self.operatingSystemVersion.isEmpty { + try visitor.visitSingularStringField(value: self.operatingSystemVersion, fieldNumber: 4) } - if self.percentEncoded != 0 { - try visitor.visitSingularFloatField(value: self.percentEncoded, fieldNumber: 5) + if self.systemMemorySizeMb != 0 { + try visitor.visitSingularInt32Field(value: self.systemMemorySizeMb, fieldNumber: 5) } - if self.dataSizeBytes != 0 { - try visitor.visitSingularInt64Field(value: self.dataSizeBytes, fieldNumber: 6) + if self.graphicsMemorySizeMb != 0 { + try visitor.visitSingularInt32Field(value: self.graphicsMemorySizeMb, fieldNumber: 6) } - if self.validationFailureReason != .unknownReason { - try visitor.visitSingularEnumField(value: self.validationFailureReason, fieldNumber: 7) + if self.cameraPermissionGranted != false { + try visitor.visitSingularBoolField(value: self.cameraPermissionGranted, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArMappingTelemetryProto, rhs: ArMappingTelemetryProto) -> Bool { - if lhs.arMappingTelemetryID != rhs.arMappingTelemetryID {return false} - if lhs.source != rhs.source {return false} - if lhs.recordingLengthSeconds != rhs.recordingLengthSeconds {return false} - if lhs.timeElapsedSeconds != rhs.timeElapsedSeconds {return false} - if lhs.percentEncoded != rhs.percentEncoded {return false} - if lhs.dataSizeBytes != rhs.dataSizeBytes {return false} - if lhs.validationFailureReason != rhs.validationFailureReason {return false} + public static func ==(lhs: AdRequestDeviceInfo, rhs: AdRequestDeviceInfo) -> Bool { + if lhs.operatingSystem != rhs.operatingSystem {return false} + if lhs.deviceModel != rhs.deviceModel {return false} + if lhs.carrier != rhs.carrier {return false} + if lhs.operatingSystemVersion != rhs.operatingSystemVersion {return false} + if lhs.systemMemorySizeMb != rhs.systemMemorySizeMb {return false} + if lhs.graphicsMemorySizeMb != rhs.graphicsMemorySizeMb {return false} + if lhs.cameraPermissionGranted != rhs.cameraPermissionGranted {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArMappingTelemetryProto.ArMappingEntryPoint: SwiftProtobuf._ProtoNameProviding { +extension AdRequestDeviceInfo.OperatingSystem: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_ENTRY"), - 1: .same(proto: "POI_EDIT_MENU"), - 2: .same(proto: "POI_EDIT_TITLE"), - 3: .same(proto: "POI_EDIT_DESCRIPTION"), - 4: .same(proto: "POI_ADD_PHOTO"), - 5: .same(proto: "POI_EDIT_LOCATION"), - 6: .same(proto: "POI_NOMINATION"), - 7: .same(proto: "POI_FULLSCREEN_INSPECTION"), - 8: .same(proto: "GEOTARGETED_QUESTS"), + 0: .same(proto: "PLATFORM_UNKNOWN"), + 1: .same(proto: "PLATFORM_ANDROID"), + 2: .same(proto: "PLATFORM_IOS"), ] } -extension ArMappingTelemetryProto.ArMappingEventId: SwiftProtobuf._ProtoNameProviding { +extension AdTargetingInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdTargetingInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "ENTER_STATE"), - 2: .same(proto: "OPT_IN_ACCEPT"), - 3: .same(proto: "OPT_IN_DENY"), - 4: .same(proto: "OPT_IN_SETTINGS"), - 5: .same(proto: "OPT_OUT_SETTINGS"), - 6: .same(proto: "EXIT_FROM_RECORDING"), - 7: .same(proto: "START_RECORDING"), - 8: .same(proto: "STOP_RECORDING"), - 9: .same(proto: "CANCEL_ENCODING"), - 10: .same(proto: "UPLOAD_NOW"), - 11: .same(proto: "UPLOAD_LATER"), - 12: .same(proto: "CANCEL_UPLOAD"), - 13: .same(proto: "START_UPLOAD_SETTINGS"), - 14: .same(proto: "UPLOAD_SUCCESS"), - 15: .same(proto: "OPT_IN_LEARN_MORE"), - 16: .same(proto: "EXIT_FROM_PREVIEW"), - 17: .same(proto: "SUBMIT_POI_AR_VIDEO_METADATA_FAIL"), - 18: .same(proto: "UPLOAD_FAILURE"), - 19: .same(proto: "UPLOAD_LATER_WIFI_PROMPT"), - 20: .same(proto: "CLEAR_SCANS"), - 21: .same(proto: "OPEN_INFO_PANEL"), - 22: .same(proto: "RESCAN_FROM_PREVIEW"), - 23: .same(proto: "SCAN_VALIDATION_FAILURE"), + 1: .standard(proto: "device_info"), + 2: .standard(proto: "avatar_gender"), ] -} -extension ArMappingTelemetryProto.ArMappingValidationFailureReason: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_REASON"), - 1: .same(proto: "TOO_FAST"), - 2: .same(proto: "TOO_SLOW"), - 3: .same(proto: "TOO_DARK"), - ] + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._deviceInfo) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.avatarGender) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._deviceInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.avatarGender != .avatarUnknown { + try visitor.visitSingularEnumField(value: self.avatarGender, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AdTargetingInfoProto, rhs: AdTargetingInfoProto) -> Bool { + if lhs._deviceInfo != rhs._deviceInfo {return false} + if lhs.avatarGender != rhs.avatarGender {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension ArPhotoGlobalSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ArPhotoGlobalSettings" +extension AddFortModifierOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddFortModifierOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_player_level"), + 1: .same(proto: "result"), + 2: .standard(proto: "fort_details_out_proto"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165018,303 +164490,187 @@ extension ArPhotoGlobalSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._fortDetailsOutProto) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minPlayerLevel != 0 { - try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .noResultSet { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._fortDetailsOutProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArPhotoGlobalSettings, rhs: ArPhotoGlobalSettings) -> Bool { - if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + public static func ==(lhs: AddFortModifierOutProto, rhs: AddFortModifierOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._fortDetailsOutProto != rhs._fortDetailsOutProto {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArPhotoSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ArPhotoSessionProto" +extension AddFortModifierOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ar_type"), - 2: .standard(proto: "furthest_step_completed"), - 3: .standard(proto: "num_photos_taken"), - 4: .standard(proto: "num_photos_shared"), - 5: .standard(proto: "num_photos_taken_occlusions"), - 6: .standard(proto: "num_occlusions_enabled"), - 7: .standard(proto: "num_occlusions_disabled"), - 8: .standard(proto: "ar_context"), - 9: .standard(proto: "session_length"), - 10: .standard(proto: "session_length_occlusions"), - 11: .standard(proto: "num_photos_shared_occlusions"), - 12: .standard(proto: "model_url"), - 13: .standard(proto: "ardk_version"), - 14: .standard(proto: "average_framerate"), - 15: .standard(proto: "average_battery_per_min"), - 16: .standard(proto: "average_cpu_usage"), - 17: .standard(proto: "average_gpu_usage"), - 18: .standard(proto: "framerate_samples"), - 19: .standard(proto: "battery_samples"), - 20: .standard(proto: "processor_samples"), - 21: .standard(proto: "session_start_to_plane_detection_ms"), - 22: .standard(proto: "plane_detection_to_user_interaction_ms"), + 0: .same(proto: "NO_RESULT_SET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FORT_ALREADY_HAS_MODIFIER"), + 3: .same(proto: "TOO_FAR_AWAY"), + 4: .same(proto: "NO_ITEM_IN_INVENTORY"), + 5: .same(proto: "POI_INACCESSIBLE"), ] +} - fileprivate class _StorageClass { - var _arType: ArPhotoSessionProto.ArType = .unset - var _furthestStepCompleted: ArPhotoSessionProto.Step = .unknown - var _numPhotosTaken: Int32 = 0 - var _numPhotosShared: Int32 = 0 - var _numPhotosTakenOcclusions: Int32 = 0 - var _numOcclusionsEnabled: Int32 = 0 - var _numOcclusionsDisabled: Int32 = 0 - var _arContext: ArPhotoSessionProto.ArContext = .none - var _sessionLength: Int64 = 0 - var _sessionLengthOcclusions: Int64 = 0 - var _numPhotosSharedOcclusions: Int32 = 0 - var _modelURL: String = String() - var _ardkVersion: String = String() - var _averageFramerate: Int32 = 0 - var _averageBatteryPerMin: Float = 0 - var _averageCpuUsage: Float = 0 - var _averageGpuUsage: Float = 0 - var _framerateSamples: [ArPhotoSessionProto.FramerateSample] = [] - var _batterySamples: [ArPhotoSessionProto.BatterySample] = [] - var _processorSamples: [ArPhotoSessionProto.ProcessorSample] = [] - var _sessionStartToPlaneDetectionMs: Int32 = 0 - var _planeDetectionToUserInteractionMs: Int32 = 0 - - static let defaultInstance = _StorageClass() - - private init() {} +extension AddFortModifierProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddFortModifierProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "modifier_type"), + 2: .standard(proto: "fort_id"), + 3: .standard(proto: "player_lat_degrees"), + 4: .standard(proto: "player_lng_degrees"), + ] - init(copying source: _StorageClass) { - _arType = source._arType - _furthestStepCompleted = source._furthestStepCompleted - _numPhotosTaken = source._numPhotosTaken - _numPhotosShared = source._numPhotosShared - _numPhotosTakenOcclusions = source._numPhotosTakenOcclusions - _numOcclusionsEnabled = source._numOcclusionsEnabled - _numOcclusionsDisabled = source._numOcclusionsDisabled - _arContext = source._arContext - _sessionLength = source._sessionLength - _sessionLengthOcclusions = source._sessionLengthOcclusions - _numPhotosSharedOcclusions = source._numPhotosSharedOcclusions - _modelURL = source._modelURL - _ardkVersion = source._ardkVersion - _averageFramerate = source._averageFramerate - _averageBatteryPerMin = source._averageBatteryPerMin - _averageCpuUsage = source._averageCpuUsage - _averageGpuUsage = source._averageGpuUsage - _framerateSamples = source._framerateSamples - _batterySamples = source._batterySamples - _processorSamples = source._processorSamples - _sessionStartToPlaneDetectionMs = source._sessionStartToPlaneDetectionMs - _planeDetectionToUserInteractionMs = source._planeDetectionToUserInteractionMs + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.modifierType) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + default: break + } } } - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + public func traverse(visitor: inout V) throws { + if self.modifierType != .unknown { + try visitor.visitSingularEnumField(value: self.modifierType, fieldNumber: 1) } - return _storage + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) + } + if self.playerLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) + } + if self.playerLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AddFortModifierProto, rhs: AddFortModifierProto) -> Bool { + if lhs.modifierType != rhs.modifierType {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} + if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true } +} + +extension AddFriendQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddFriendQuestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "added_friend_ids"), + ] public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._arType) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._furthestStepCompleted) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosTaken) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosShared) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosTakenOcclusions) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._numOcclusionsEnabled) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._numOcclusionsDisabled) }() - case 8: try { try decoder.decodeSingularEnumField(value: &_storage._arContext) }() - case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._sessionLength) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._sessionLengthOcclusions) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosSharedOcclusions) }() - case 12: try { try decoder.decodeSingularStringField(value: &_storage._modelURL) }() - case 13: try { try decoder.decodeSingularStringField(value: &_storage._ardkVersion) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._averageFramerate) }() - case 15: try { try decoder.decodeSingularFloatField(value: &_storage._averageBatteryPerMin) }() - case 16: try { try decoder.decodeSingularFloatField(value: &_storage._averageCpuUsage) }() - case 17: try { try decoder.decodeSingularFloatField(value: &_storage._averageGpuUsage) }() - case 18: try { try decoder.decodeRepeatedMessageField(value: &_storage._framerateSamples) }() - case 19: try { try decoder.decodeRepeatedMessageField(value: &_storage._batterySamples) }() - case 20: try { try decoder.decodeRepeatedMessageField(value: &_storage._processorSamples) }() - case 21: try { try decoder.decodeSingularInt32Field(value: &_storage._sessionStartToPlaneDetectionMs) }() - case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._planeDetectionToUserInteractionMs) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.addedFriendIds) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._arType != .unset { - try visitor.visitSingularEnumField(value: _storage._arType, fieldNumber: 1) - } - if _storage._furthestStepCompleted != .unknown { - try visitor.visitSingularEnumField(value: _storage._furthestStepCompleted, fieldNumber: 2) - } - if _storage._numPhotosTaken != 0 { - try visitor.visitSingularInt32Field(value: _storage._numPhotosTaken, fieldNumber: 3) - } - if _storage._numPhotosShared != 0 { - try visitor.visitSingularInt32Field(value: _storage._numPhotosShared, fieldNumber: 4) - } - if _storage._numPhotosTakenOcclusions != 0 { - try visitor.visitSingularInt32Field(value: _storage._numPhotosTakenOcclusions, fieldNumber: 5) - } - if _storage._numOcclusionsEnabled != 0 { - try visitor.visitSingularInt32Field(value: _storage._numOcclusionsEnabled, fieldNumber: 6) - } - if _storage._numOcclusionsDisabled != 0 { - try visitor.visitSingularInt32Field(value: _storage._numOcclusionsDisabled, fieldNumber: 7) - } - if _storage._arContext != .none { - try visitor.visitSingularEnumField(value: _storage._arContext, fieldNumber: 8) - } - if _storage._sessionLength != 0 { - try visitor.visitSingularInt64Field(value: _storage._sessionLength, fieldNumber: 9) - } - if _storage._sessionLengthOcclusions != 0 { - try visitor.visitSingularInt64Field(value: _storage._sessionLengthOcclusions, fieldNumber: 10) - } - if _storage._numPhotosSharedOcclusions != 0 { - try visitor.visitSingularInt32Field(value: _storage._numPhotosSharedOcclusions, fieldNumber: 11) - } - if !_storage._modelURL.isEmpty { - try visitor.visitSingularStringField(value: _storage._modelURL, fieldNumber: 12) - } - if !_storage._ardkVersion.isEmpty { - try visitor.visitSingularStringField(value: _storage._ardkVersion, fieldNumber: 13) - } - if _storage._averageFramerate != 0 { - try visitor.visitSingularInt32Field(value: _storage._averageFramerate, fieldNumber: 14) - } - if _storage._averageBatteryPerMin != 0 { - try visitor.visitSingularFloatField(value: _storage._averageBatteryPerMin, fieldNumber: 15) - } - if _storage._averageCpuUsage != 0 { - try visitor.visitSingularFloatField(value: _storage._averageCpuUsage, fieldNumber: 16) - } - if _storage._averageGpuUsage != 0 { - try visitor.visitSingularFloatField(value: _storage._averageGpuUsage, fieldNumber: 17) - } - if !_storage._framerateSamples.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._framerateSamples, fieldNumber: 18) - } - if !_storage._batterySamples.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._batterySamples, fieldNumber: 19) - } - if !_storage._processorSamples.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._processorSamples, fieldNumber: 20) - } - if _storage._sessionStartToPlaneDetectionMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._sessionStartToPlaneDetectionMs, fieldNumber: 21) - } - if _storage._planeDetectionToUserInteractionMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._planeDetectionToUserInteractionMs, fieldNumber: 22) - } + if !self.addedFriendIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.addedFriendIds, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArPhotoSessionProto, rhs: ArPhotoSessionProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._arType != rhs_storage._arType {return false} - if _storage._furthestStepCompleted != rhs_storage._furthestStepCompleted {return false} - if _storage._numPhotosTaken != rhs_storage._numPhotosTaken {return false} - if _storage._numPhotosShared != rhs_storage._numPhotosShared {return false} - if _storage._numPhotosTakenOcclusions != rhs_storage._numPhotosTakenOcclusions {return false} - if _storage._numOcclusionsEnabled != rhs_storage._numOcclusionsEnabled {return false} - if _storage._numOcclusionsDisabled != rhs_storage._numOcclusionsDisabled {return false} - if _storage._arContext != rhs_storage._arContext {return false} - if _storage._sessionLength != rhs_storage._sessionLength {return false} - if _storage._sessionLengthOcclusions != rhs_storage._sessionLengthOcclusions {return false} - if _storage._numPhotosSharedOcclusions != rhs_storage._numPhotosSharedOcclusions {return false} - if _storage._modelURL != rhs_storage._modelURL {return false} - if _storage._ardkVersion != rhs_storage._ardkVersion {return false} - if _storage._averageFramerate != rhs_storage._averageFramerate {return false} - if _storage._averageBatteryPerMin != rhs_storage._averageBatteryPerMin {return false} - if _storage._averageCpuUsage != rhs_storage._averageCpuUsage {return false} - if _storage._averageGpuUsage != rhs_storage._averageGpuUsage {return false} - if _storage._framerateSamples != rhs_storage._framerateSamples {return false} - if _storage._batterySamples != rhs_storage._batterySamples {return false} - if _storage._processorSamples != rhs_storage._processorSamples {return false} - if _storage._sessionStartToPlaneDetectionMs != rhs_storage._sessionStartToPlaneDetectionMs {return false} - if _storage._planeDetectionToUserInteractionMs != rhs_storage._planeDetectionToUserInteractionMs {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: AddFriendQuestProto, rhs: AddFriendQuestProto) -> Bool { + if lhs.addedFriendIds != rhs.addedFriendIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArPhotoSessionProto.ArContext: SwiftProtobuf._ProtoNameProviding { +extension AddLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddLoginActionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE"), - 1: .same(proto: "AR_ENCOUNTER"), - 2: .same(proto: "AR_SNAPSHOT"), - 3: .same(proto: "SINGLEPLAYER_BUDDY"), - 4: .same(proto: "MULTIPLAYER_BUDDY"), + 1: .same(proto: "success"), + 2: .standard(proto: "login_detail"), + 3: .same(proto: "status"), ] -} -extension ArPhotoSessionProto.ArType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "PLUS"), - 2: .same(proto: "CLASSIC"), - ] -} + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() + default: break + } + } + } -extension ArPhotoSessionProto.BatteryStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDETERMINED"), - 1: .same(proto: "CHARGING"), - 2: .same(proto: "DISCHARGING"), - 3: .same(proto: "NOT_CHARGING"), - 4: .same(proto: "FULL"), - ] + public func traverse(visitor: inout V) throws { + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) + } + if !self.loginDetail.isEmpty { + try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) + } + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AddLoginActionOutProto, rhs: AddLoginActionOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.loginDetail != rhs.loginDetail {return false} + if lhs.status != rhs.status {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension ArPhotoSessionProto.Step: SwiftProtobuf._ProtoNameProviding { +extension AddLoginActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "CAMERA_PERMISSION_GRANTED"), - 2: .same(proto: "ARPLUS_PLANE_FOUND"), - 3: .same(proto: "ARPLUS_POKEMON_PLACED"), - 4: .same(proto: "PHOTO_TAKEN"), - 5: .same(proto: "PHOTO_SHARED"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "AUTH_FAILURE"), + 2: .same(proto: "LOGIN_TAKEN"), + 3: .same(proto: "ERROR_UNKNOWN"), ] } -extension ArPhotoSessionProto.ArConditions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ArPhotoSessionProto.protoMessageName + ".ArConditions" +extension AddLoginActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddLoginActionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "timestamp"), - 2: .standard(proto: "occlusions_enabled"), - 3: .standard(proto: "current_ar_step"), + 1: .standard(proto: "identity_provider"), + 2: .standard(proto: "inner_message"), + 3: .standard(proto: "auth_provider_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165323,41 +164679,41 @@ extension ArPhotoSessionProto.ArConditions: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestamp) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.occlusionsEnabled) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.currentArStep) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.identityProvider) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.innerMessage) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestamp != 0 { - try visitor.visitSingularInt64Field(value: self.timestamp, fieldNumber: 1) + if self.identityProvider != .unsetIdentityProvider { + try visitor.visitSingularEnumField(value: self.identityProvider, fieldNumber: 1) } - if self.occlusionsEnabled != false { - try visitor.visitSingularBoolField(value: self.occlusionsEnabled, fieldNumber: 2) + if !self.innerMessage.isEmpty { + try visitor.visitSingularBytesField(value: self.innerMessage, fieldNumber: 2) } - if self.currentArStep != .unknown { - try visitor.visitSingularEnumField(value: self.currentArStep, fieldNumber: 3) + if !self.authProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArPhotoSessionProto.ArConditions, rhs: ArPhotoSessionProto.ArConditions) -> Bool { - if lhs.timestamp != rhs.timestamp {return false} - if lhs.occlusionsEnabled != rhs.occlusionsEnabled {return false} - if lhs.currentArStep != rhs.currentArStep {return false} + public static func ==(lhs: AddLoginActionProto, rhs: AddLoginActionProto) -> Bool { + if lhs.identityProvider != rhs.identityProvider {return false} + if lhs.innerMessage != rhs.innerMessage {return false} + if lhs.authProviderID != rhs.authProviderID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArPhotoSessionProto.BatterySample: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ArPhotoSessionProto.protoMessageName + ".BatterySample" +extension AddPtcLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddPtcLoginActionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "conditions"), - 2: .standard(proto: "battery_level"), + 1: .same(proto: "success"), + 2: .standard(proto: "login_detail"), 3: .same(proto: "status"), ] @@ -165367,8 +164723,8 @@ extension ArPhotoSessionProto.BatterySample: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._conditions) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.batteryLevel) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } @@ -165376,36 +164732,44 @@ extension ArPhotoSessionProto.BatterySample: SwiftProtobuf.Message, SwiftProtobu } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._conditions { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.batteryLevel != 0 { - try visitor.visitSingularFloatField(value: self.batteryLevel, fieldNumber: 2) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } - if self.status != .undetermined { + if !self.loginDetail.isEmpty { + try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) + } + if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArPhotoSessionProto.BatterySample, rhs: ArPhotoSessionProto.BatterySample) -> Bool { - if lhs._conditions != rhs._conditions {return false} - if lhs.batteryLevel != rhs.batteryLevel {return false} + public static func ==(lhs: AddPtcLoginActionOutProto, rhs: AddPtcLoginActionOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.loginDetail != rhs.loginDetail {return false} if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArPhotoSessionProto.FramerateSample: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ArPhotoSessionProto.protoMessageName + ".FramerateSample" +extension AddPtcLoginActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "conditions"), - 2: .same(proto: "framerate"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "AUTH_FAILURE"), + 2: .same(proto: "LOGIN_TAKEN"), + 3: .same(proto: "ADULT_LINK_TO_CHILD_ERROR"), + 4: .same(proto: "LINKING_NOT_ENABLED"), + 5: .same(proto: "LIST_ACCOUNT_LOGIN_ERROR"), + 6: .same(proto: "OTHER_ERRORS"), + ] +} + +extension AddPtcLoginActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddPtcLoginActionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "auth_provider_id"), + 2: .standard(proto: "inner_message"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165414,41 +164778,35 @@ extension ArPhotoSessionProto.FramerateSample: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._conditions) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.framerate) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.innerMessage) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._conditions { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.framerate != 0 { - try visitor.visitSingularInt32Field(value: self.framerate, fieldNumber: 2) + if !self.authProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 1) + } + if !self.innerMessage.isEmpty { + try visitor.visitSingularBytesField(value: self.innerMessage, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArPhotoSessionProto.FramerateSample, rhs: ArPhotoSessionProto.FramerateSample) -> Bool { - if lhs._conditions != rhs._conditions {return false} - if lhs.framerate != rhs.framerate {return false} + public static func ==(lhs: AddPtcLoginActionProto, rhs: AddPtcLoginActionProto) -> Bool { + if lhs.authProviderID != rhs.authProviderID {return false} + if lhs.innerMessage != rhs.innerMessage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArPhotoSessionProto.ProcessorSample: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ArPhotoSessionProto.protoMessageName + ".ProcessorSample" +extension AddReferrerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddReferrerOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "conditions"), - 2: .standard(proto: "cpu_usage"), - 3: .standard(proto: "gpu_usage"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165457,50 +164815,42 @@ extension ArPhotoSessionProto.ProcessorSample: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._conditions) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.cpuUsage) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.gpuUsage) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._conditions { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.cpuUsage != 0 { - try visitor.visitSingularFloatField(value: self.cpuUsage, fieldNumber: 2) - } - if self.gpuUsage != 0 { - try visitor.visitSingularFloatField(value: self.gpuUsage, fieldNumber: 3) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArPhotoSessionProto.ProcessorSample, rhs: ArPhotoSessionProto.ProcessorSample) -> Bool { - if lhs._conditions != rhs._conditions {return false} - if lhs.cpuUsage != rhs.cpuUsage {return false} - if lhs.gpuUsage != rhs.gpuUsage {return false} + public static func ==(lhs: AddReferrerOutProto, rhs: AddReferrerOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArTelemetrySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ArTelemetrySettingsProto" +extension AddReferrerOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "measure_battery"), - 2: .standard(proto: "battery_sampling_interval_ms"), - 3: .standard(proto: "measure_processor"), - 4: .standard(proto: "processor_sampling_interval_ms"), - 5: .standard(proto: "measure_framerate"), - 6: .standard(proto: "framerate_sampling_interval_ms"), - 7: .standard(proto: "percentage_sessions_to_sample"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_DISABLED"), + 3: .same(proto: "ERROR_INVALID_REFERRAL_CODE"), + 4: .same(proto: "ERROR_ALREADY_ADDED"), + 5: .same(proto: "ERROR_PASSED_GRACE_PERIOD"), + 6: .same(proto: "ERROR_ALREADY_SKIPPED_ENTERING_REFERRAL_CODE"), + ] +} + +extension AddReferrerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddReferrerProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "referrer_code"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165509,66 +164859,33 @@ extension ArTelemetrySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.measureBattery) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.batterySamplingIntervalMs) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.measureProcessor) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.processorSamplingIntervalMs) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.measureFramerate) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.framerateSamplingIntervalMs) }() - case 7: try { try decoder.decodeSingularFloatField(value: &self.percentageSessionsToSample) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.referrerCode) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.measureBattery != false { - try visitor.visitSingularBoolField(value: self.measureBattery, fieldNumber: 1) - } - if self.batterySamplingIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: self.batterySamplingIntervalMs, fieldNumber: 2) - } - if self.measureProcessor != false { - try visitor.visitSingularBoolField(value: self.measureProcessor, fieldNumber: 3) - } - if self.processorSamplingIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: self.processorSamplingIntervalMs, fieldNumber: 4) - } - if self.measureFramerate != false { - try visitor.visitSingularBoolField(value: self.measureFramerate, fieldNumber: 5) - } - if self.framerateSamplingIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: self.framerateSamplingIntervalMs, fieldNumber: 6) - } - if self.percentageSessionsToSample != 0 { - try visitor.visitSingularFloatField(value: self.percentageSessionsToSample, fieldNumber: 7) + if !self.referrerCode.isEmpty { + try visitor.visitSingularStringField(value: self.referrerCode, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArTelemetrySettingsProto, rhs: ArTelemetrySettingsProto) -> Bool { - if lhs.measureBattery != rhs.measureBattery {return false} - if lhs.batterySamplingIntervalMs != rhs.batterySamplingIntervalMs {return false} - if lhs.measureProcessor != rhs.measureProcessor {return false} - if lhs.processorSamplingIntervalMs != rhs.processorSamplingIntervalMs {return false} - if lhs.measureFramerate != rhs.measureFramerate {return false} - if lhs.framerateSamplingIntervalMs != rhs.framerateSamplingIntervalMs {return false} - if lhs.percentageSessionsToSample != rhs.percentageSessionsToSample {return false} + public static func ==(lhs: AddReferrerProto, rhs: AddReferrerProto) -> Bool { + if lhs.referrerCode != rhs.referrerCode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArdkConfigSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ArdkConfigSettingsProto" +extension AddressBookImportSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddressBookImportSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "orb_vocab_url"), - 2: .standard(proto: "monodpeth_model_url"), - 3: .standard(proto: "monodepth_devices"), - 4: .standard(proto: "monodepth_contexts"), - 5: .standard(proto: "ios_monodepth_model_url"), - 6: .standard(proto: "android_monodepth_model_url"), - 7: .standard(proto: "monodepth_model_url"), + 1: .standard(proto: "is_enabled"), + 2: .standard(proto: "onboarding_screen_level"), + 3: .standard(proto: "show_opt_out_checkbox"), + 4: .standard(proto: "reprompt_onboarding_for_v1"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165577,71 +164894,45 @@ extension ArdkConfigSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.orbVocabURL) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.monodpethModelURL) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.monodepthDevices) }() - case 4: try { try decoder.decodeRepeatedEnumField(value: &self.monodepthContexts) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.iosMonodepthModelURL) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.androidMonodepthModelURL) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.monodepthModelURL) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isEnabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.onboardingScreenLevel) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.showOptOutCheckbox) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.repromptOnboardingForV1) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.orbVocabURL.isEmpty { - try visitor.visitSingularStringField(value: self.orbVocabURL, fieldNumber: 1) - } - if !self.monodpethModelURL.isEmpty { - try visitor.visitSingularStringField(value: self.monodpethModelURL, fieldNumber: 2) - } - if !self.monodepthDevices.isEmpty { - try visitor.visitRepeatedStringField(value: self.monodepthDevices, fieldNumber: 3) - } - if !self.monodepthContexts.isEmpty { - try visitor.visitPackedEnumField(value: self.monodepthContexts, fieldNumber: 4) + if self.isEnabled != false { + try visitor.visitSingularBoolField(value: self.isEnabled, fieldNumber: 1) } - if !self.iosMonodepthModelURL.isEmpty { - try visitor.visitSingularStringField(value: self.iosMonodepthModelURL, fieldNumber: 5) + if self.onboardingScreenLevel != 0 { + try visitor.visitSingularInt32Field(value: self.onboardingScreenLevel, fieldNumber: 2) } - if !self.androidMonodepthModelURL.isEmpty { - try visitor.visitSingularStringField(value: self.androidMonodepthModelURL, fieldNumber: 6) + if self.showOptOutCheckbox != false { + try visitor.visitSingularBoolField(value: self.showOptOutCheckbox, fieldNumber: 3) } - if !self.monodepthModelURL.isEmpty { - try visitor.visitSingularStringField(value: self.monodepthModelURL, fieldNumber: 7) + if self.repromptOnboardingForV1 != false { + try visitor.visitSingularBoolField(value: self.repromptOnboardingForV1, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ArdkConfigSettingsProto, rhs: ArdkConfigSettingsProto) -> Bool { - if lhs.orbVocabURL != rhs.orbVocabURL {return false} - if lhs.monodpethModelURL != rhs.monodpethModelURL {return false} - if lhs.monodepthDevices != rhs.monodepthDevices {return false} - if lhs.monodepthContexts != rhs.monodepthContexts {return false} - if lhs.iosMonodepthModelURL != rhs.iosMonodepthModelURL {return false} - if lhs.androidMonodepthModelURL != rhs.androidMonodepthModelURL {return false} - if lhs.monodepthModelURL != rhs.monodepthModelURL {return false} + public static func ==(lhs: AddressBookImportSettingsProto, rhs: AddressBookImportSettingsProto) -> Bool { + if lhs.isEnabled != rhs.isEnabled {return false} + if lhs.onboardingScreenLevel != rhs.onboardingScreenLevel {return false} + if lhs.showOptOutCheckbox != rhs.showOptOutCheckbox {return false} + if lhs.repromptOnboardingForV1 != rhs.repromptOnboardingForV1 {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ArdkConfigSettingsProto.ArContext: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "AR_ENCOUNTER"), - 2: .same(proto: "AR_SNAPSHOT"), - 3: .same(proto: "SINGLEPLAYER_BUDDY"), - 4: .same(proto: "MULTIPLAYER_BUDDY"), - ] -} - -extension AssertionFailed: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssertionFailed" +extension AddressBookImportTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddressBookImportTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "timestamp_ms"), - 2: .same(proto: "message"), + 1: .standard(proto: "abi_telemetry_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165650,37 +164941,41 @@ extension AssertionFailed: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.message) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.abiTelemetryID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) - } - if !self.message.isEmpty { - try visitor.visitSingularStringField(value: self.message, fieldNumber: 2) + if self.abiTelemetryID != .undefined { + try visitor.visitSingularEnumField(value: self.abiTelemetryID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssertionFailed, rhs: AssertionFailed) -> Bool { - if lhs.timestampMs != rhs.timestampMs {return false} - if lhs.message != rhs.message {return false} + public static func ==(lhs: AddressBookImportTelemetry, rhs: AddressBookImportTelemetry) -> Bool { + if lhs.abiTelemetryID != rhs.abiTelemetryID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetBundleDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetBundleDownloadTelemetry" +extension AddressBookImportTelemetry.AddressBookImportTelemetryId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "asset_event_id"), - 2: .standard(proto: "bundle_name"), - 3: .same(proto: "size"), + 0: .same(proto: "UNDEFINED"), + 1: .same(proto: "SEE_PGO_NEW_PLAYER_ONBOARDING_SCREEN"), + 2: .same(proto: "CLICK_IMPORT_CONTACTS_BUTTON"), + 3: .same(proto: "OPEN_ADDRESS_BOOK_IMPORT_FROM_PGO_ONBOARDING"), + 4: .same(proto: "DISMISS_PGO_ONBOARDING"), + ] +} + +extension AddressablePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddressablePokemonProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "catalog_id"), + 2: .standard(proto: "addressable_pokemon_ids"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165689,45 +164984,36 @@ extension AssetBundleDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.assetEventID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.bundleName) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.size) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.catalogID) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.addressablePokemonIds) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.assetEventID != .undefinedAssetEvent { - try visitor.visitSingularEnumField(value: self.assetEventID, fieldNumber: 1) - } - if !self.bundleName.isEmpty { - try visitor.visitSingularStringField(value: self.bundleName, fieldNumber: 2) + if self.catalogID != 0 { + try visitor.visitSingularInt32Field(value: self.catalogID, fieldNumber: 1) } - if self.size != 0 { - try visitor.visitSingularUInt32Field(value: self.size, fieldNumber: 3) + if !self.addressablePokemonIds.isEmpty { + try visitor.visitPackedEnumField(value: self.addressablePokemonIds, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetBundleDownloadTelemetry, rhs: AssetBundleDownloadTelemetry) -> Bool { - if lhs.assetEventID != rhs.assetEventID {return false} - if lhs.bundleName != rhs.bundleName {return false} - if lhs.size != rhs.size {return false} + public static func ==(lhs: AddressablePokemonProto, rhs: AddressablePokemonProto) -> Bool { + if lhs.catalogID != rhs.catalogID {return false} + if lhs.addressablePokemonIds != rhs.addressablePokemonIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetDigestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetDigestEntryProto" +extension AddressablesServiceTime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AddressablesServiceTime" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "asset_id"), - 2: .standard(proto: "bundle_name"), - 3: .same(proto: "version"), - 4: .same(proto: "checksum"), - 5: .same(proto: "size"), - 6: .same(proto: "key"), + 1: .same(proto: "key"), + 2: .standard(proto: "duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165736,121 +165022,266 @@ extension AssetDigestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.assetID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.bundleName) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.version) }() - case 4: try { try decoder.decodeSingularFixed32Field(value: &self.checksum) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.size) }() - case 6: try { try decoder.decodeSingularBytesField(value: &self.key) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.key) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.durationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.assetID.isEmpty { - try visitor.visitSingularStringField(value: self.assetID, fieldNumber: 1) - } - if !self.bundleName.isEmpty { - try visitor.visitSingularStringField(value: self.bundleName, fieldNumber: 2) - } - if self.version != 0 { - try visitor.visitSingularInt64Field(value: self.version, fieldNumber: 3) - } - if self.checksum != 0 { - try visitor.visitSingularFixed32Field(value: self.checksum, fieldNumber: 4) - } - if self.size != 0 { - try visitor.visitSingularInt32Field(value: self.size, fieldNumber: 5) - } if !self.key.isEmpty { - try visitor.visitSingularBytesField(value: self.key, fieldNumber: 6) + try visitor.visitSingularStringField(value: self.key, fieldNumber: 1) + } + if self.durationMs != 0 { + try visitor.visitSingularInt32Field(value: self.durationMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetDigestEntryProto, rhs: AssetDigestEntryProto) -> Bool { - if lhs.assetID != rhs.assetID {return false} - if lhs.bundleName != rhs.bundleName {return false} - if lhs.version != rhs.version {return false} - if lhs.checksum != rhs.checksum {return false} - if lhs.size != rhs.size {return false} + public static func ==(lhs: AddressablesServiceTime, rhs: AddressablesServiceTime) -> Bool { if lhs.key != rhs.key {return false} + if lhs.durationMs != rhs.durationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetDigestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetDigestOutProto" +extension AdvancedPerformanceTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdvancedPerformanceTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "digest"), - 2: .same(proto: "timestamp"), - 3: .same(proto: "result"), - 4: .standard(proto: "page_offset"), + 1: .standard(proto: "performance_preset_level"), + 2: .standard(proto: "native_refresh_rate_fps"), + 3: .standard(proto: "special_framerate"), + 4: .standard(proto: "improved_sky"), + 5: .standard(proto: "dynamic_gyms"), + 6: .standard(proto: "normal_map_drawing_distance"), + 7: .standard(proto: "normal_fog_distance"), + 8: .standard(proto: "buildings_on_map"), + 9: .standard(proto: "friends_icons_in_list"), + 10: .standard(proto: "avatars_render_texture_size_high"), + 11: .standard(proto: "avatars_render_texture_size_low"), + 12: .standard(proto: "ar_prompt"), + 13: .standard(proto: "render_level"), + 14: .standard(proto: "texture_quality"), + 15: .standard(proto: "download_image_ram_cache"), + 16: .standard(proto: "map_details"), + 17: .standard(proto: "avatar_details"), + 18: .standard(proto: "render_and_texture"), ] + fileprivate class _StorageClass { + var _performancePresetLevel: AdvancedPerformanceTelemetry.PerformancePresetLevels = .unsetPreset + var _nativeRefreshRateFps: Bool = false + var _specialFramerate: Bool = false + var _improvedSky: Bool = false + var _dynamicGyms: Bool = false + var _normalMapDrawingDistance: Bool = false + var _normalFogDistance: Bool = false + var _buildingsOnMap: AdvancedPerformanceTelemetry.PerformanceLevels = .unset + var _friendsIconsInList: Bool = false + var _avatarsRenderTextureSizeHigh: AdvancedPerformanceTelemetry.PerformanceLevels = .unset + var _avatarsRenderTextureSizeLow: Bool = false + var _arPrompt: Bool = false + var _renderLevel: AdvancedPerformanceTelemetry.PerformanceLevels = .unset + var _textureQuality: AdvancedPerformanceTelemetry.PerformanceLevels = .unset + var _downloadImageRamCache: AdvancedPerformanceTelemetry.PerformanceLevels = .unset + var _mapDetails: Bool = false + var _avatarDetails: Bool = false + var _renderAndTexture: AdvancedPerformanceTelemetry.PerformanceLevels = .unset + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _performancePresetLevel = source._performancePresetLevel + _nativeRefreshRateFps = source._nativeRefreshRateFps + _specialFramerate = source._specialFramerate + _improvedSky = source._improvedSky + _dynamicGyms = source._dynamicGyms + _normalMapDrawingDistance = source._normalMapDrawingDistance + _normalFogDistance = source._normalFogDistance + _buildingsOnMap = source._buildingsOnMap + _friendsIconsInList = source._friendsIconsInList + _avatarsRenderTextureSizeHigh = source._avatarsRenderTextureSizeHigh + _avatarsRenderTextureSizeLow = source._avatarsRenderTextureSizeLow + _arPrompt = source._arPrompt + _renderLevel = source._renderLevel + _textureQuality = source._textureQuality + _downloadImageRamCache = source._downloadImageRamCache + _mapDetails = source._mapDetails + _avatarDetails = source._avatarDetails + _renderAndTexture = source._renderAndTexture + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.digest) }() - case 2: try { try decoder.decodeSingularUInt64Field(value: &self.timestamp) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.pageOffset) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._performancePresetLevel) }() + case 2: try { try decoder.decodeSingularBoolField(value: &_storage._nativeRefreshRateFps) }() + case 3: try { try decoder.decodeSingularBoolField(value: &_storage._specialFramerate) }() + case 4: try { try decoder.decodeSingularBoolField(value: &_storage._improvedSky) }() + case 5: try { try decoder.decodeSingularBoolField(value: &_storage._dynamicGyms) }() + case 6: try { try decoder.decodeSingularBoolField(value: &_storage._normalMapDrawingDistance) }() + case 7: try { try decoder.decodeSingularBoolField(value: &_storage._normalFogDistance) }() + case 8: try { try decoder.decodeSingularEnumField(value: &_storage._buildingsOnMap) }() + case 9: try { try decoder.decodeSingularBoolField(value: &_storage._friendsIconsInList) }() + case 10: try { try decoder.decodeSingularEnumField(value: &_storage._avatarsRenderTextureSizeHigh) }() + case 11: try { try decoder.decodeSingularBoolField(value: &_storage._avatarsRenderTextureSizeLow) }() + case 12: try { try decoder.decodeSingularBoolField(value: &_storage._arPrompt) }() + case 13: try { try decoder.decodeSingularEnumField(value: &_storage._renderLevel) }() + case 14: try { try decoder.decodeSingularEnumField(value: &_storage._textureQuality) }() + case 15: try { try decoder.decodeSingularEnumField(value: &_storage._downloadImageRamCache) }() + case 16: try { try decoder.decodeSingularBoolField(value: &_storage._mapDetails) }() + case 17: try { try decoder.decodeSingularBoolField(value: &_storage._avatarDetails) }() + case 18: try { try decoder.decodeSingularEnumField(value: &_storage._renderAndTexture) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.digest.isEmpty { - try visitor.visitRepeatedMessageField(value: self.digest, fieldNumber: 1) - } - if self.timestamp != 0 { - try visitor.visitSingularUInt64Field(value: self.timestamp, fieldNumber: 2) - } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) - } - if self.pageOffset != 0 { - try visitor.visitSingularInt32Field(value: self.pageOffset, fieldNumber: 4) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if _storage._performancePresetLevel != .unsetPreset { + try visitor.visitSingularEnumField(value: _storage._performancePresetLevel, fieldNumber: 1) + } + if _storage._nativeRefreshRateFps != false { + try visitor.visitSingularBoolField(value: _storage._nativeRefreshRateFps, fieldNumber: 2) + } + if _storage._specialFramerate != false { + try visitor.visitSingularBoolField(value: _storage._specialFramerate, fieldNumber: 3) + } + if _storage._improvedSky != false { + try visitor.visitSingularBoolField(value: _storage._improvedSky, fieldNumber: 4) + } + if _storage._dynamicGyms != false { + try visitor.visitSingularBoolField(value: _storage._dynamicGyms, fieldNumber: 5) + } + if _storage._normalMapDrawingDistance != false { + try visitor.visitSingularBoolField(value: _storage._normalMapDrawingDistance, fieldNumber: 6) + } + if _storage._normalFogDistance != false { + try visitor.visitSingularBoolField(value: _storage._normalFogDistance, fieldNumber: 7) + } + if _storage._buildingsOnMap != .unset { + try visitor.visitSingularEnumField(value: _storage._buildingsOnMap, fieldNumber: 8) + } + if _storage._friendsIconsInList != false { + try visitor.visitSingularBoolField(value: _storage._friendsIconsInList, fieldNumber: 9) + } + if _storage._avatarsRenderTextureSizeHigh != .unset { + try visitor.visitSingularEnumField(value: _storage._avatarsRenderTextureSizeHigh, fieldNumber: 10) + } + if _storage._avatarsRenderTextureSizeLow != false { + try visitor.visitSingularBoolField(value: _storage._avatarsRenderTextureSizeLow, fieldNumber: 11) + } + if _storage._arPrompt != false { + try visitor.visitSingularBoolField(value: _storage._arPrompt, fieldNumber: 12) + } + if _storage._renderLevel != .unset { + try visitor.visitSingularEnumField(value: _storage._renderLevel, fieldNumber: 13) + } + if _storage._textureQuality != .unset { + try visitor.visitSingularEnumField(value: _storage._textureQuality, fieldNumber: 14) + } + if _storage._downloadImageRamCache != .unset { + try visitor.visitSingularEnumField(value: _storage._downloadImageRamCache, fieldNumber: 15) + } + if _storage._mapDetails != false { + try visitor.visitSingularBoolField(value: _storage._mapDetails, fieldNumber: 16) + } + if _storage._avatarDetails != false { + try visitor.visitSingularBoolField(value: _storage._avatarDetails, fieldNumber: 17) + } + if _storage._renderAndTexture != .unset { + try visitor.visitSingularEnumField(value: _storage._renderAndTexture, fieldNumber: 18) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetDigestOutProto, rhs: AssetDigestOutProto) -> Bool { - if lhs.digest != rhs.digest {return false} - if lhs.timestamp != rhs.timestamp {return false} - if lhs.result != rhs.result {return false} - if lhs.pageOffset != rhs.pageOffset {return false} + public static func ==(lhs: AdvancedPerformanceTelemetry, rhs: AdvancedPerformanceTelemetry) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._performancePresetLevel != rhs_storage._performancePresetLevel {return false} + if _storage._nativeRefreshRateFps != rhs_storage._nativeRefreshRateFps {return false} + if _storage._specialFramerate != rhs_storage._specialFramerate {return false} + if _storage._improvedSky != rhs_storage._improvedSky {return false} + if _storage._dynamicGyms != rhs_storage._dynamicGyms {return false} + if _storage._normalMapDrawingDistance != rhs_storage._normalMapDrawingDistance {return false} + if _storage._normalFogDistance != rhs_storage._normalFogDistance {return false} + if _storage._buildingsOnMap != rhs_storage._buildingsOnMap {return false} + if _storage._friendsIconsInList != rhs_storage._friendsIconsInList {return false} + if _storage._avatarsRenderTextureSizeHigh != rhs_storage._avatarsRenderTextureSizeHigh {return false} + if _storage._avatarsRenderTextureSizeLow != rhs_storage._avatarsRenderTextureSizeLow {return false} + if _storage._arPrompt != rhs_storage._arPrompt {return false} + if _storage._renderLevel != rhs_storage._renderLevel {return false} + if _storage._textureQuality != rhs_storage._textureQuality {return false} + if _storage._downloadImageRamCache != rhs_storage._downloadImageRamCache {return false} + if _storage._mapDetails != rhs_storage._mapDetails {return false} + if _storage._avatarDetails != rhs_storage._avatarDetails {return false} + if _storage._renderAndTexture != rhs_storage._renderAndTexture {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetDigestOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension AdvancedPerformanceTelemetry.PerformanceLevels: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "PAGE"), - 3: .same(proto: "RETRY"), + 1: .same(proto: "LOW"), + 2: .same(proto: "MEDIUM"), + 3: .same(proto: "HIGH"), ] } -extension AssetDigestRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetDigestRequestProto" +extension AdvancedPerformanceTelemetry.PerformancePresetLevels: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "platform"), - 2: .standard(proto: "device_manufacturer"), - 3: .standard(proto: "device_model"), - 4: .same(proto: "locale"), - 5: .standard(proto: "app_version"), - 6: .same(proto: "paginate"), - 7: .standard(proto: "page_offset"), - 8: .standard(proto: "page_timestamp"), + 0: .same(proto: "UNSET_PRESET"), + 1: .same(proto: "LOW_PRESET"), + 2: .same(proto: "MEDIUM_PRESET"), + 3: .same(proto: "HIGH_PRESET"), + 4: .same(proto: "MAX_PRESET"), + 5: .same(proto: "CUSTOM_PRESET"), + ] +} + +extension AdvancedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdvancedSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "advanced_settings_version"), + 2: .standard(proto: "unity_cache_size_max_megabytes"), + 3: .standard(proto: "stored_data_size_max_megabytes"), + 4: .standard(proto: "disk_cache_size_max_megabytes"), + 5: .standard(proto: "image_ram_cache_size_max_megabytes"), + 6: .standard(proto: "download_all_assets_enabled"), + 7: .standard(proto: "http3_enabled"), + 8: .standard(proto: "base_framerate"), + 9: .standard(proto: "default_unlock_framerate"), + 10: .standard(proto: "real_time_dynamics_enabled"), + 11: .standard(proto: "max_device_memory_for_high_quality_mode_mb"), + 12: .standard(proto: "max_device_memory_for_standard_quality_mode_mb"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165859,67 +165290,88 @@ extension AssetDigestRequestProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.platform) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.deviceManufacturer) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.locale) }() - case 5: try { try decoder.decodeSingularUInt32Field(value: &self.appVersion) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.paginate) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.pageOffset) }() - case 8: try { try decoder.decodeSingularUInt64Field(value: &self.pageTimestamp) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.advancedSettingsVersion) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.unityCacheSizeMaxMegabytes) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.storedDataSizeMaxMegabytes) }() + case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.diskCacheSizeMaxMegabytes) }() + case 5: try { try decoder.decodeRepeatedInt32Field(value: &self.imageRamCacheSizeMaxMegabytes) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.downloadAllAssetsEnabled) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.http3Enabled) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.baseFramerate) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.defaultUnlockFramerate) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.realTimeDynamicsEnabled) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &self.maxDeviceMemoryForHighQualityModeMb) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.maxDeviceMemoryForStandardQualityModeMb) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.platform != .unset { - try visitor.visitSingularEnumField(value: self.platform, fieldNumber: 1) + if self.advancedSettingsVersion != 0 { + try visitor.visitSingularInt32Field(value: self.advancedSettingsVersion, fieldNumber: 1) } - if !self.deviceManufacturer.isEmpty { - try visitor.visitSingularStringField(value: self.deviceManufacturer, fieldNumber: 2) + if !self.unityCacheSizeMaxMegabytes.isEmpty { + try visitor.visitPackedInt32Field(value: self.unityCacheSizeMaxMegabytes, fieldNumber: 2) } - if !self.deviceModel.isEmpty { - try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 3) + if !self.storedDataSizeMaxMegabytes.isEmpty { + try visitor.visitPackedInt32Field(value: self.storedDataSizeMaxMegabytes, fieldNumber: 3) } - if !self.locale.isEmpty { - try visitor.visitSingularStringField(value: self.locale, fieldNumber: 4) + if !self.diskCacheSizeMaxMegabytes.isEmpty { + try visitor.visitPackedInt32Field(value: self.diskCacheSizeMaxMegabytes, fieldNumber: 4) } - if self.appVersion != 0 { - try visitor.visitSingularUInt32Field(value: self.appVersion, fieldNumber: 5) + if !self.imageRamCacheSizeMaxMegabytes.isEmpty { + try visitor.visitPackedInt32Field(value: self.imageRamCacheSizeMaxMegabytes, fieldNumber: 5) } - if self.paginate != false { - try visitor.visitSingularBoolField(value: self.paginate, fieldNumber: 6) + if self.downloadAllAssetsEnabled != false { + try visitor.visitSingularBoolField(value: self.downloadAllAssetsEnabled, fieldNumber: 6) } - if self.pageOffset != 0 { - try visitor.visitSingularInt32Field(value: self.pageOffset, fieldNumber: 7) + if self.http3Enabled != false { + try visitor.visitSingularBoolField(value: self.http3Enabled, fieldNumber: 7) } - if self.pageTimestamp != 0 { - try visitor.visitSingularUInt64Field(value: self.pageTimestamp, fieldNumber: 8) + if self.baseFramerate != 0 { + try visitor.visitSingularInt32Field(value: self.baseFramerate, fieldNumber: 8) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AssetDigestRequestProto, rhs: AssetDigestRequestProto) -> Bool { - if lhs.platform != rhs.platform {return false} - if lhs.deviceManufacturer != rhs.deviceManufacturer {return false} - if lhs.deviceModel != rhs.deviceModel {return false} - if lhs.locale != rhs.locale {return false} - if lhs.appVersion != rhs.appVersion {return false} - if lhs.paginate != rhs.paginate {return false} - if lhs.pageOffset != rhs.pageOffset {return false} - if lhs.pageTimestamp != rhs.pageTimestamp {return false} + if self.defaultUnlockFramerate != false { + try visitor.visitSingularBoolField(value: self.defaultUnlockFramerate, fieldNumber: 9) + } + if self.realTimeDynamicsEnabled != false { + try visitor.visitSingularBoolField(value: self.realTimeDynamicsEnabled, fieldNumber: 10) + } + if self.maxDeviceMemoryForHighQualityModeMb != 0 { + try visitor.visitSingularInt32Field(value: self.maxDeviceMemoryForHighQualityModeMb, fieldNumber: 11) + } + if self.maxDeviceMemoryForStandardQualityModeMb != 0 { + try visitor.visitSingularInt32Field(value: self.maxDeviceMemoryForStandardQualityModeMb, fieldNumber: 12) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AdvancedSettingsProto, rhs: AdvancedSettingsProto) -> Bool { + if lhs.advancedSettingsVersion != rhs.advancedSettingsVersion {return false} + if lhs.unityCacheSizeMaxMegabytes != rhs.unityCacheSizeMaxMegabytes {return false} + if lhs.storedDataSizeMaxMegabytes != rhs.storedDataSizeMaxMegabytes {return false} + if lhs.diskCacheSizeMaxMegabytes != rhs.diskCacheSizeMaxMegabytes {return false} + if lhs.imageRamCacheSizeMaxMegabytes != rhs.imageRamCacheSizeMaxMegabytes {return false} + if lhs.downloadAllAssetsEnabled != rhs.downloadAllAssetsEnabled {return false} + if lhs.http3Enabled != rhs.http3Enabled {return false} + if lhs.baseFramerate != rhs.baseFramerate {return false} + if lhs.defaultUnlockFramerate != rhs.defaultUnlockFramerate {return false} + if lhs.realTimeDynamicsEnabled != rhs.realTimeDynamicsEnabled {return false} + if lhs.maxDeviceMemoryForHighQualityModeMb != rhs.maxDeviceMemoryForHighQualityModeMb {return false} + if lhs.maxDeviceMemoryForStandardQualityModeMb != rhs.maxDeviceMemoryForStandardQualityModeMb {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetPoiDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetPoiDownloadTelemetry" +extension AdventureSyncActivitySummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdventureSyncActivitySummaryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "asset_event_id"), - 2: .standard(proto: "fort_id"), - 3: .same(proto: "size"), + 1: .standard(proto: "weekly_walk_distance_km_progress"), + 2: .standard(proto: "weekly_walk_distance_km_goals"), + 3: .standard(proto: "egg_progress"), + 4: .standard(proto: "buddy_stats_proto"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165928,40 +165380,55 @@ extension AssetPoiDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.assetEventID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.size) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.weeklyWalkDistanceKmProgress) }() + case 2: try { try decoder.decodeRepeatedFloatField(value: &self.weeklyWalkDistanceKmGoals) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._eggProgress) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._buddyStatsProto) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.assetEventID != .undefinedAssetEvent { - try visitor.visitSingularEnumField(value: self.assetEventID, fieldNumber: 1) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.weeklyWalkDistanceKmProgress != 0 { + try visitor.visitSingularFloatField(value: self.weeklyWalkDistanceKmProgress, fieldNumber: 1) } - if self.size != 0 { - try visitor.visitSingularUInt32Field(value: self.size, fieldNumber: 3) + if !self.weeklyWalkDistanceKmGoals.isEmpty { + try visitor.visitPackedFloatField(value: self.weeklyWalkDistanceKmGoals, fieldNumber: 2) } + try { if let v = self._eggProgress { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._buddyStatsProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetPoiDownloadTelemetry, rhs: AssetPoiDownloadTelemetry) -> Bool { - if lhs.assetEventID != rhs.assetEventID {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.size != rhs.size {return false} + public static func ==(lhs: AdventureSyncActivitySummaryProto, rhs: AdventureSyncActivitySummaryProto) -> Bool { + if lhs.weeklyWalkDistanceKmProgress != rhs.weeklyWalkDistanceKmProgress {return false} + if lhs.weeklyWalkDistanceKmGoals != rhs.weeklyWalkDistanceKmGoals {return false} + if lhs._eggProgress != rhs._eggProgress {return false} + if lhs._buddyStatsProto != rhs._buddyStatsProto {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetRefreshSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetRefreshSettingsProto" +extension AdventureSyncBuddyStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdventureSyncBuddyStatsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 5: .standard(proto: "check_for_new_assets_time_second"), + 1: .standard(proto: "affection_km_in_progress"), + 2: .standard(proto: "affection_km_total"), + 3: .standard(proto: "buddy_shown_heart_types"), + 4: .standard(proto: "emotion_level"), + 5: .standard(proto: "last_reached_full_ms"), + 6: .standard(proto: "map_expiration_ms"), + 7: .standard(proto: "has_gift"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -165970,30 +165437,64 @@ extension AssetRefreshSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 5: try { try decoder.decodeSingularInt32Field(value: &self.checkForNewAssetsTimeSecond) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.affectionKmInProgress) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.affectionKmTotal) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.buddyShownHeartTypes) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.emotionLevel) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.lastReachedFullMs) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.mapExpirationMs) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.hasGift_p) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.checkForNewAssetsTimeSecond != 0 { - try visitor.visitSingularInt32Field(value: self.checkForNewAssetsTimeSecond, fieldNumber: 5) + if self.affectionKmInProgress != 0 { + try visitor.visitSingularFloatField(value: self.affectionKmInProgress, fieldNumber: 1) + } + if self.affectionKmTotal != 0 { + try visitor.visitSingularFloatField(value: self.affectionKmTotal, fieldNumber: 2) + } + if !self.buddyShownHeartTypes.isEmpty { + try visitor.visitPackedEnumField(value: self.buddyShownHeartTypes, fieldNumber: 3) + } + if self.emotionLevel != .unset { + try visitor.visitSingularEnumField(value: self.emotionLevel, fieldNumber: 4) + } + if self.lastReachedFullMs != 0 { + try visitor.visitSingularInt64Field(value: self.lastReachedFullMs, fieldNumber: 5) + } + if self.mapExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: self.mapExpirationMs, fieldNumber: 6) + } + if self.hasGift_p != false { + try visitor.visitSingularBoolField(value: self.hasGift_p, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetRefreshSettingsProto, rhs: AssetRefreshSettingsProto) -> Bool { - if lhs.checkForNewAssetsTimeSecond != rhs.checkForNewAssetsTimeSecond {return false} + public static func ==(lhs: AdventureSyncBuddyStatsProto, rhs: AdventureSyncBuddyStatsProto) -> Bool { + if lhs.affectionKmInProgress != rhs.affectionKmInProgress {return false} + if lhs.affectionKmTotal != rhs.affectionKmTotal {return false} + if lhs.buddyShownHeartTypes != rhs.buddyShownHeartTypes {return false} + if lhs.emotionLevel != rhs.emotionLevel {return false} + if lhs.lastReachedFullMs != rhs.lastReachedFullMs {return false} + if lhs.mapExpirationMs != rhs.mapExpirationMs {return false} + if lhs.hasGift_p != rhs.hasGift_p {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetRefreshTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetRefreshTelemetry" +extension AdventureSyncEggHatchingProgress: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdventureSyncEggHatchingProgress" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "timestamp"), + 1: .same(proto: "status"), + 2: .standard(proto: "egg_distance_km"), + 3: .standard(proto: "current_distance_km"), + 4: .same(proto: "incubator"), + 5: .standard(proto: "original_egg_distance_km"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166002,31 +165503,68 @@ extension AssetRefreshTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.timestamp) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.eggDistanceKm) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.currentDistanceKm) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.incubator) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.originalEggDistanceKm) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestamp != 0 { - try visitor.visitSingularUInt64Field(value: self.timestamp, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if self.eggDistanceKm != 0 { + try visitor.visitSingularFloatField(value: self.eggDistanceKm, fieldNumber: 2) + } + if self.currentDistanceKm != 0 { + try visitor.visitSingularFloatField(value: self.currentDistanceKm, fieldNumber: 3) + } + if self.incubator != .unknown { + try visitor.visitSingularEnumField(value: self.incubator, fieldNumber: 4) + } + if self.originalEggDistanceKm != 0 { + try visitor.visitSingularFloatField(value: self.originalEggDistanceKm, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetRefreshTelemetry, rhs: AssetRefreshTelemetry) -> Bool { - if lhs.timestamp != rhs.timestamp {return false} + public static func ==(lhs: AdventureSyncEggHatchingProgress, rhs: AdventureSyncEggHatchingProgress) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.eggDistanceKm != rhs.eggDistanceKm {return false} + if lhs.currentDistanceKm != rhs.currentDistanceKm {return false} + if lhs.incubator != rhs.incubator {return false} + if lhs.originalEggDistanceKm != rhs.originalEggDistanceKm {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetStreamCacheCulledTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetStreamCacheCulledTelemetry" +extension AdventureSyncEggHatchingProgress.IncubatorType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "asset_event_id"), - 2: .standard(proto: "space_released"), + 0: .same(proto: "UNKNOWN"), + 901: .same(proto: "UNLIMITED"), + 902: .same(proto: "BASIC"), + 903: .same(proto: "SUPER"), + ] +} + +extension AdventureSyncEggHatchingProgress.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "HATCHING"), + 2: .same(proto: "NOT_HATCHING"), + 3: .same(proto: "HATCHED"), + ] +} + +extension AdventureSyncEggIncubatorsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdventureSyncEggIncubatorsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "eggs_progress"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166035,37 +165573,32 @@ extension AssetStreamCacheCulledTelemetry: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.assetEventID) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.spaceReleased) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.eggsProgress) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.assetEventID != .undefinedAssetEvent { - try visitor.visitSingularEnumField(value: self.assetEventID, fieldNumber: 1) - } - if self.spaceReleased != 0 { - try visitor.visitSingularUInt32Field(value: self.spaceReleased, fieldNumber: 2) + if !self.eggsProgress.isEmpty { + try visitor.visitRepeatedMessageField(value: self.eggsProgress, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetStreamCacheCulledTelemetry, rhs: AssetStreamCacheCulledTelemetry) -> Bool { - if lhs.assetEventID != rhs.assetEventID {return false} - if lhs.spaceReleased != rhs.spaceReleased {return false} + public static func ==(lhs: AdventureSyncEggIncubatorsProto, rhs: AdventureSyncEggIncubatorsProto) -> Bool { + if lhs.eggsProgress != rhs.eggsProgress {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetStreamDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetStreamDownloadTelemetry" +extension AdventureSyncProgress: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdventureSyncProgress" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "asset_event_id"), - 2: .same(proto: "url"), - 3: .same(proto: "size"), + 1: .standard(proto: "notification_selector"), + 2: .same(proto: "parameters"), + 3: .standard(proto: "serialized_data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166074,40 +165607,40 @@ extension AssetStreamDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.assetEventID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.url) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.size) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.notificationSelector) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.parameters) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.serializedData) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.assetEventID != .undefinedAssetEvent { - try visitor.visitSingularEnumField(value: self.assetEventID, fieldNumber: 1) + if self.notificationSelector != 0 { + try visitor.visitSingularInt32Field(value: self.notificationSelector, fieldNumber: 1) } - if !self.url.isEmpty { - try visitor.visitSingularStringField(value: self.url, fieldNumber: 2) + if !self.parameters.isEmpty { + try visitor.visitRepeatedStringField(value: self.parameters, fieldNumber: 2) } - if self.size != 0 { - try visitor.visitSingularUInt32Field(value: self.size, fieldNumber: 3) + if !self.serializedData.isEmpty { + try visitor.visitSingularBytesField(value: self.serializedData, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetStreamDownloadTelemetry, rhs: AssetStreamDownloadTelemetry) -> Bool { - if lhs.assetEventID != rhs.assetEventID {return false} - if lhs.url != rhs.url {return false} - if lhs.size != rhs.size {return false} + public static func ==(lhs: AdventureSyncProgress, rhs: AdventureSyncProgress) -> Bool { + if lhs.notificationSelector != rhs.notificationSelector {return false} + if lhs.parameters != rhs.parameters {return false} + if lhs.serializedData != rhs.serializedData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetVersionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetVersionOutProto" +extension AdventureSyncProgressRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdventureSyncProgressRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "response"), + 2: .standard(proto: "widget_types"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166116,88 +165649,128 @@ extension AssetVersionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.response) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.widgetTypes) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.response.isEmpty { - try visitor.visitRepeatedMessageField(value: self.response, fieldNumber: 1) + if !self.widgetTypes.isEmpty { + try visitor.visitPackedEnumField(value: self.widgetTypes, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetVersionOutProto, rhs: AssetVersionOutProto) -> Bool { - if lhs.response != rhs.response {return false} + public static func ==(lhs: AdventureSyncProgressRequest, rhs: AdventureSyncProgressRequest) -> Bool { + if lhs.widgetTypes != rhs.widgetTypes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetVersionOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension AdventureSyncProgressRequest.WidgetType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "ERROR"), - 2: .same(proto: "VALID"), - 3: .same(proto: "EXPIRED"), + 1: .same(proto: "EGG_INCUBATORS"), + 2: .same(proto: "BUDDY_STATS"), + 3: .same(proto: "ACTIVITY_SUMMARY"), ] } -extension AssetVersionOutProto.AssetVersionResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AssetVersionOutProto.protoMessageName + ".AssetVersionResponseProto" +extension AdventureSyncProgressResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdventureSyncProgressResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "digest"), - 3: .same(proto: "url"), + 2: .standard(proto: "egg_incubators_proto"), + 3: .standard(proto: "buddy_stats_proto"), + 4: .standard(proto: "activity_summary_proto"), ] + fileprivate class _StorageClass { + var _eggIncubatorsProto: AdventureSyncEggIncubatorsProto? = nil + var _buddyStatsProto: AdventureSyncBuddyStatsProto? = nil + var _activitySummaryProto: AdventureSyncActivitySummaryProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _eggIncubatorsProto = source._eggIncubatorsProto + _buddyStatsProto = source._buddyStatsProto + _activitySummaryProto = source._activitySummaryProto + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._digest) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.url) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._eggIncubatorsProto) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._buddyStatsProto) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._activitySummaryProto) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._digest { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.url.isEmpty { - try visitor.visitSingularStringField(value: self.url, fieldNumber: 3) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._eggIncubatorsProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = _storage._buddyStatsProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._activitySummaryProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetVersionOutProto.AssetVersionResponseProto, rhs: AssetVersionOutProto.AssetVersionResponseProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._digest != rhs._digest {return false} - if lhs.url != rhs.url {return false} + public static func ==(lhs: AdventureSyncProgressResponse, rhs: AdventureSyncProgressResponse) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._eggIncubatorsProto != rhs_storage._eggIncubatorsProto {return false} + if _storage._buddyStatsProto != rhs_storage._buddyStatsProto {return false} + if _storage._activitySummaryProto != rhs_storage._activitySummaryProto {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetVersionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AssetVersionProto" +extension AdventureSyncSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdventureSyncSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_version"), - 2: .same(proto: "request"), + 1: .standard(proto: "fitness_service_enabled"), + 2: .standard(proto: "awareness_service_enabled"), + 3: .standard(proto: "persistent_breadcrumb_service_enabled"), + 4: .standard(proto: "sensor_service_enabled"), + 5: .standard(proto: "persistent_location_service_enabled"), + 6: .standard(proto: "breadcrumb_service_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166206,36 +165779,55 @@ extension AssetVersionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.appVersion) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.request) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.fitnessServiceEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.awarenessServiceEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.persistentBreadcrumbServiceEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.sensorServiceEnabled) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.persistentLocationServiceEnabled) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.breadcrumbServiceEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.appVersion != 0 { - try visitor.visitSingularUInt32Field(value: self.appVersion, fieldNumber: 1) + if self.fitnessServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.fitnessServiceEnabled, fieldNumber: 1) } - if !self.request.isEmpty { - try visitor.visitRepeatedMessageField(value: self.request, fieldNumber: 2) + if self.awarenessServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.awarenessServiceEnabled, fieldNumber: 2) + } + if self.persistentBreadcrumbServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.persistentBreadcrumbServiceEnabled, fieldNumber: 3) + } + if self.sensorServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.sensorServiceEnabled, fieldNumber: 4) + } + if self.persistentLocationServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.persistentLocationServiceEnabled, fieldNumber: 5) + } + if self.breadcrumbServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.breadcrumbServiceEnabled, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetVersionProto, rhs: AssetVersionProto) -> Bool { - if lhs.appVersion != rhs.appVersion {return false} - if lhs.request != rhs.request {return false} + public static func ==(lhs: AdventureSyncSettingsProto, rhs: AdventureSyncSettingsProto) -> Bool { + if lhs.fitnessServiceEnabled != rhs.fitnessServiceEnabled {return false} + if lhs.awarenessServiceEnabled != rhs.awarenessServiceEnabled {return false} + if lhs.persistentBreadcrumbServiceEnabled != rhs.persistentBreadcrumbServiceEnabled {return false} + if lhs.sensorServiceEnabled != rhs.sensorServiceEnabled {return false} + if lhs.persistentLocationServiceEnabled != rhs.persistentLocationServiceEnabled {return false} + if lhs.breadcrumbServiceEnabled != rhs.breadcrumbServiceEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AssetVersionProto.AssetVersionRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AssetVersionProto.protoMessageName + ".AssetVersionRequestProto" +extension AdventureSyncV2GmtProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AdventureSyncV2GmtProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "asset_id"), - 2: .same(proto: "checksum"), + 1: .standard(proto: "feature_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166244,36 +165836,30 @@ extension AssetVersionProto.AssetVersionRequestProto: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.assetID) }() - case 2: try { try decoder.decodeSingularFixed32Field(value: &self.checksum) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.featureEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.assetID.isEmpty { - try visitor.visitSingularStringField(value: self.assetID, fieldNumber: 1) - } - if self.checksum != 0 { - try visitor.visitSingularFixed32Field(value: self.checksum, fieldNumber: 2) + if self.featureEnabled != false { + try visitor.visitSingularBoolField(value: self.featureEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AssetVersionProto.AssetVersionRequestProto, rhs: AssetVersionProto.AssetVersionRequestProto) -> Bool { - if lhs.assetID != rhs.assetID {return false} - if lhs.checksum != rhs.checksum {return false} + public static func ==(lhs: AdventureSyncV2GmtProto, rhs: AdventureSyncV2GmtProto) -> Bool { + if lhs.featureEnabled != rhs.featureEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AsyncFileUploadCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AsyncFileUploadCompleteOutProto" +extension AgeGateResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AgeGateResult" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .standard(proto: "post_action_game_info"), + 1: .standard(proto: "method_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166282,47 +165868,30 @@ extension AsyncFileUploadCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.postActionGameInfo) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) - } - if !self.postActionGameInfo.isEmpty { - try visitor.visitSingularBytesField(value: self.postActionGameInfo, fieldNumber: 2) + if !self.methodName.isEmpty { + try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AsyncFileUploadCompleteOutProto, rhs: AsyncFileUploadCompleteOutProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.postActionGameInfo != rhs.postActionGameInfo {return false} + public static func ==(lhs: AgeGateResult, rhs: AgeGateResult) -> Bool { + if lhs.methodName != rhs.methodName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AsyncFileUploadCompleteOutProto.ErrorStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SERVER_UPDATE_FAILED"), - 2: .same(proto: "MISSING_SUBMISSION_ID"), - 3: .same(proto: "MISSING_SUBMISSION_TYPE"), - 4: .same(proto: "MISSING_UPLOAD_STATUS"), - ] -} - -extension AsyncFileUploadCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AsyncFileUploadCompleteProto" +extension AgeGateStartup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AgeGateStartup" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "submission_id"), - 2: .standard(proto: "upload_status"), - 3: .standard(proto: "ar_common_metadata"), + 1: .standard(proto: "method_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166331,122 +165900,1376 @@ extension AsyncFileUploadCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.uploadStatus) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._arCommonMetadata) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.submissionID.isEmpty { - try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 1) - } - if self.uploadStatus != .unset { - try visitor.visitSingularEnumField(value: self.uploadStatus, fieldNumber: 2) + if !self.methodName.isEmpty { + try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) } - try { if let v = self._arCommonMetadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AsyncFileUploadCompleteProto, rhs: AsyncFileUploadCompleteProto) -> Bool { - if lhs.submissionID != rhs.submissionID {return false} - if lhs.uploadStatus != rhs.uploadStatus {return false} - if lhs._arCommonMetadata != rhs._arCommonMetadata {return false} + public static func ==(lhs: AgeGateStartup, rhs: AgeGateStartup) -> Bool { + if lhs.methodName != rhs.methodName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AsyncFileUploadCompleteProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "UPLOAD_DONE"), - 2: .same(proto: "UPLOAD_FAILED"), - ] -} - -extension AsynchronousJobData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AsynchronousJobData" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "job_id"), - 2: .same(proto: "callback"), - 3: .same(proto: "metadata"), - ] +extension AllTypesAndMessagesResponsesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AllTypesAndMessagesResponsesProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.jobID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.callback) }() - case 3: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.metadata) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.jobID.isEmpty { - try visitor.visitSingularStringField(value: self.jobID, fieldNumber: 1) - } - if !self.callback.isEmpty { - try visitor.visitSingularStringField(value: self.callback, fieldNumber: 2) - } - if !self.metadata.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.metadata, fieldNumber: 3) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AsynchronousJobData, rhs: AsynchronousJobData) -> Bool { - if lhs.jobID != rhs.jobID {return false} - if lhs.callback != rhs.callback {return false} - if lhs.metadata != rhs.metadata {return false} + public static func ==(lhs: AllTypesAndMessagesResponsesProto, rhs: AllTypesAndMessagesResponsesProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AttackGymOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AttackGymOutProto" +extension AllTypesAndMessagesResponsesProto.AllResquestTypesProto: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "battle_log"), - 3: .standard(proto: "battle_id"), - 4: .standard(proto: "active_defender"), - 5: .standard(proto: "active_attacker"), - 6: .standard(proto: "battle_update"), + 0: .same(proto: "REQUEST_TYPE_UNSET"), + 2: .same(proto: "REQUEST_TYPE_METHOD_GET_PLAYER"), + 4: .same(proto: "REQUEST_TYPE_METHOD_GET_HOLOHOLO_INVENTORY"), + 5: .same(proto: "REQUEST_TYPE_METHOD_DOWNLOAD_SETTINGS"), + 6: .same(proto: "REQUEST_TYPE_METHOD_DOWNLOAD_ITEM_TEMPLATES"), + 7: .same(proto: "REQUEST_TYPE_METHOD_DOWNLOAD_REMOTE_CONFIG_VERSION"), + 8: .same(proto: "REQUEST_TYPE_METHOD_REGISTER_BACKGROUND_DEVICE"), + 9: .same(proto: "REQUEST_TYPE_METHOD_GET_PLAYER_DAY"), + 10: .same(proto: "REQUEST_TYPE_METHOD_ACKNOWLEDGE_PUNISHMENT"), + 11: .same(proto: "REQUEST_TYPE_METHOD_GET_SERVER_TIME"), + 12: .same(proto: "REQUEST_TYPE_METHOD_GET_LOCAL_TIME"), + 101: .same(proto: "REQUEST_TYPE_METHOD_FORT_SEARCH"), + 102: .same(proto: "REQUEST_TYPE_METHOD_ENCOUNTER"), + 103: .same(proto: "REQUEST_TYPE_METHOD_CATCH_POKEMON"), + 104: .same(proto: "REQUEST_TYPE_METHOD_FORT_DETAILS"), + 106: .same(proto: "REQUEST_TYPE_METHOD_GET_MAP_OBJECTS"), + 110: .same(proto: "REQUEST_TYPE_METHOD_FORT_DEPLOY_POKEMON"), + 111: .same(proto: "REQUEST_TYPE_METHOD_FORT_RECALL_POKEMON"), + 112: .same(proto: "REQUEST_TYPE_METHOD_RELEASE_POKEMON"), + 113: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_POTION"), + 114: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_CAPTURE"), + 115: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_FLEE"), + 116: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_REVIVE"), + 121: .same(proto: "REQUEST_TYPE_METHOD_GET_PLAYER_PROFILE"), + 125: .same(proto: "REQUEST_TYPE_METHOD_EVOLVE_POKEMON"), + 126: .same(proto: "REQUEST_TYPE_METHOD_GET_HATCHED_EGGS"), + 127: .same(proto: "REQUEST_TYPE_METHOD_ENCOUNTER_TUTORIAL_COMPLETE"), + 128: .same(proto: "REQUEST_TYPE_METHOD_LEVEL_UP_REWARDS"), + 129: .same(proto: "REQUEST_TYPE_METHOD_CHECK_AWARDED_BADGES"), + 137: .same(proto: "REQUEST_TYPE_METHOD_RECYCLE_INVENTORY_ITEM"), + 138: .same(proto: "REQUEST_TYPE_METHOD_COLLECT_DAILY_BONUS"), + 139: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_XP_BOOST"), + 140: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_EGG_INCUBATOR"), + 141: .same(proto: "REQUEST_TYPE_METHOD_USE_INCENSE"), + 142: .same(proto: "REQUEST_TYPE_METHOD_GET_INCENSE_POKEMON"), + 143: .same(proto: "REQUEST_TYPE_METHOD_INCENSE_ENCOUNTER"), + 144: .same(proto: "REQUEST_TYPE_METHOD_ADD_FORT_MODIFIER"), + 145: .same(proto: "REQUEST_TYPE_METHOD_DISK_ENCOUNTER"), + 147: .same(proto: "REQUEST_TYPE_METHOD_UPGRADE_POKEMON"), + 148: .same(proto: "REQUEST_TYPE_METHOD_SET_FAVORITE_POKEMON"), + 149: .same(proto: "REQUEST_TYPE_METHOD_NICKNAME_POKEMON"), + 150: .same(proto: "REQUEST_TYPE_METHOD_EQUIP_BADGE"), + 151: .same(proto: "REQUEST_TYPE_METHOD_SET_CONTACT_SETTINGS"), + 152: .same(proto: "REQUEST_TYPE_METHOD_SET_BUDDY_POKEMON"), + 153: .same(proto: "REQUEST_TYPE_METHOD_GET_BUDDY_WALKED"), + 154: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_ENCOUNTER"), + 155: .same(proto: "REQUEST_TYPE_METHOD_GYM_DEPLOY"), + 156: .same(proto: "REQUEST_TYPE_METHOD_GYM_GET_INFO"), + 157: .same(proto: "REQUEST_TYPE_METHOD_GYM_START_SESSION"), + 158: .same(proto: "REQUEST_TYPE_METHOD_GYM_BATTLE_ATTACK"), + 159: .same(proto: "REQUEST_TYPE_METHOD_JOIN_LOBBY"), + 160: .same(proto: "REQUEST_TYPE_METHOD_LEAVE_LOBBY"), + 161: .same(proto: "REQUEST_TYPE_METHOD_SET_LOBBY_VISIBILITY"), + 162: .same(proto: "REQUEST_TYPE_METHOD_SET_LOBBY_POKEMON"), + 163: .same(proto: "REQUEST_TYPE_METHOD_GET_RAID_DETAILS"), + 164: .same(proto: "REQUEST_TYPE_METHOD_GYM_FEED_POKEMON"), + 165: .same(proto: "REQUEST_TYPE_METHOD_START_RAID_BATTLE"), + 166: .same(proto: "REQUEST_TYPE_METHOD_ATTACK_RAID"), + 167: .same(proto: "REQUEST_TYPE_METHOD_AWARD_POKECOIN"), + 168: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_STARDUST_BOOST"), + 169: .same(proto: "REQUEST_TYPE_METHOD_REASSIGN_PLAYER"), + 170: .same(proto: "REQUEST_TYPE_METHOD_REDEEM_POI_PASSCODE"), + 171: .same(proto: "REQUEST_TYPE_METHOD_CONVERT_CANDY_TO_XL_CANDY"), + 172: .same(proto: "REQUEST_TYPE_METHOD_IS_SKU_AVAILABLE"), + 300: .same(proto: "REQUEST_TYPE_METHOD_GET_ASSET_DIGEST"), + 301: .same(proto: "REQUEST_TYPE_METHOD_GET_DOWNLOAD_URLS"), + 302: .same(proto: "REQUEST_TYPE_METHOD_GET_ASSET_VERSION"), + 403: .same(proto: "REQUEST_TYPE_METHOD_CLAIM_CODENAME"), + 404: .same(proto: "REQUEST_TYPE_METHOD_SET_AVATAR"), + 405: .same(proto: "REQUEST_TYPE_METHOD_SET_PLAYER_TEAM"), + 406: .same(proto: "REQUEST_TYPE_METHOD_MARK_TUTORIAL_COMPLETE"), + 407: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_PERFORMANCE_METRICS"), + 408: .same(proto: "REQUEST_TYPE_METHOD_SET_NEUTRAL_AVATAR"), + 409: .same(proto: "REQUEST_TYPE_METHOD_LIST_AVATAR_STORE_ITEMS"), + 410: .same(proto: "REQUEST_TYPE_METHOD_LIST_AVATAR_APPEARANCE_ITEMS"), + 600: .same(proto: "REQUEST_TYPE_METHOD_CHECK_CHALLENGE"), + 601: .same(proto: "REQUEST_TYPE_METHOD_VERIFY_CHALLENGE"), + 666: .same(proto: "REQUEST_TYPE_METHOD_ECHO"), + 800: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_REGISTRATION"), + 801: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_ACTION_LOG"), + 802: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_CERTIFICATION"), + 803: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_UPDATE"), + 804: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_ACTION"), + 805: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_DOWSER"), + 806: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_CAPTURE"), + 807: .same(proto: "REQUEST_TYPE_METHOD_LIST_AVATAR_CUSTOMIZATIONS"), + 808: .same(proto: "REQUEST_TYPE_METHOD_SET_AVATAR_ITEM_AS_VIEWED"), + 809: .same(proto: "REQUEST_TYPE_METHOD_GET_INBOX"), + 811: .same(proto: "REQUEST_TYPE_METHOD_LIST_GYM_BADGES"), + 812: .same(proto: "REQUEST_TYPE_METHOD_GET_GYM_BADGE_DETAILS"), + 813: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_MOVE_REROLL"), + 814: .same(proto: "REQUEST_TYPE_METHOD_USE_ITEM_RARE_CANDY"), + 815: .same(proto: "REQUEST_TYPE_METHOD_AWARD_FREE_RAID_TICKET"), + 816: .same(proto: "REQUEST_TYPE_METHOD_FETCH_ALL_NEWS"), + 817: .same(proto: "REQUEST_TYPE_METHOD_MARK_READ_NEWS_ARTICLE"), + 818: .same(proto: "REQUEST_TYPE_METHOD_GET_PLAYER_DISPLAY_INFO"), + 819: .same(proto: "REQUEST_TYPE_METHOD_BELUGA_TRANSACTION_START"), + 820: .same(proto: "REQUEST_TYPE_METHOD_BELUGA_TRANSACTION_COMPLETE"), + 822: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_ASSOCIATE"), + 823: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_CHECK_PAIRING"), + 824: .same(proto: "REQUEST_TYPE_METHOD_SFIDA_DISASSOCIATE"), + 825: .same(proto: "REQUEST_TYPE_METHOD_WAINA_GET_REWARDS"), + 826: .same(proto: "REQUEST_TYPE_METHOD_WAINA_SUBMIT_SLEEP_DATA"), + 827: .same(proto: "REQUEST_TYPE_METHOD_SATURDAY_TRANSACTION_START"), + 828: .same(proto: "REQUEST_TYPE_METHOD_SATURDAY_TRANSACTION_COMPLETE"), + 829: .same(proto: "REQUEST_TYPE_METHOD_REIMBURSE_ITEM"), + 900: .same(proto: "REQUEST_TYPE_METHOD_GET_NEW_QUESTS"), + 901: .same(proto: "REQUEST_TYPE_METHOD_GET_QUEST_DETAILS"), + 902: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_QUEST"), + 903: .same(proto: "REQUEST_TYPE_METHOD_REMOVE_QUEST"), + 904: .same(proto: "REQUEST_TYPE_METHOD_QUEST_ENCOUNTER"), + 905: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_QUEST_STAMP_CARD"), + 906: .same(proto: "REQUEST_TYPE_METHOD_PROGRESS_QUEST"), + 907: .same(proto: "REQUEST_TYPE_METHOD_START_QUEST_INCIDENT"), + 908: .same(proto: "REQUEST_TYPE_METHOD_READ_QUEST_DIALOG"), + 950: .same(proto: "REQUEST_TYPE_METHOD_SEND_GIFT"), + 951: .same(proto: "REQUEST_TYPE_METHOD_OPEN_GIFT"), + 952: .same(proto: "REQUEST_TYPE_METHOD_GIFT_DETAILS"), + 953: .same(proto: "REQUEST_TYPE_METHOD_DELETE_GIFT"), + 954: .same(proto: "REQUEST_TYPE_METHOD_SAVE_PLAYER_SNAPSHOT"), + 955: .same(proto: "REQUEST_TYPE_METHOD_GET_FRIENDSHIP_MILESTONE_REWARDS"), + 956: .same(proto: "REQUEST_TYPE_METHOD_CHECK_SEND_GIFT"), + 957: .same(proto: "REQUEST_TYPE_METHOD_SET_FRIEND_NICKNAME"), + 958: .same(proto: "REQUEST_TYPE_METHOD_DELETE_GIFT_FROM_INVENTORY"), + 959: .same(proto: "REQUEST_TYPE_METHOD_SAVE_SOCIAL_PLAYER_SETTINGS"), + 970: .same(proto: "REQUEST_TYPE_METHOD_OPEN_TRADING"), + 971: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_TRADING"), + 972: .same(proto: "REQUEST_TYPE_METHOD_CONFIRM_TRADING"), + 973: .same(proto: "REQUEST_TYPE_METHOD_CANCEL_TRADING"), + 974: .same(proto: "REQUEST_TYPE_METHOD_GET_TRADING"), + 980: .same(proto: "REQUEST_TYPE_METHOD_GET_FITNESS_REWARDS"), + 990: .same(proto: "REQUEST_TYPE_METHOD_GET_COMBAT_PLAYER_PROFILE"), + 991: .same(proto: "REQUEST_TYPE_METHOD_GENERATE_COMBAT_CHALLENGE_ID"), + 992: .same(proto: "REQUEST_TYPE_METHOD_CREATE_COMBAT_CHALLENGE"), + 993: .same(proto: "REQUEST_TYPE_METHOD_OPEN_COMBAT_CHALLENGE"), + 994: .same(proto: "REQUEST_TYPE_METHOD_GET_COMBAT_CHALLENGE"), + 995: .same(proto: "REQUEST_TYPE_METHOD_ACCEPT_COMBAT_CHALLENGE"), + 996: .same(proto: "REQUEST_TYPE_METHOD_DECLINE_COMBAT_CHALLENGE"), + 997: .same(proto: "REQUEST_TYPE_METHOD_CANCEL_COMBAT_CHALLENGE"), + 998: .same(proto: "REQUEST_TYPE_METHOD_SUBMIT_COMBAT_CHALLENGE_POKEMONS"), + 999: .same(proto: "REQUEST_TYPE_METHOD_SAVE_COMBAT_PLAYER_PREFERENCES"), + 1000: .same(proto: "REQUEST_TYPE_METHOD_OPEN_COMBAT_SESSION"), + 1001: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_COMBAT"), + 1002: .same(proto: "REQUEST_TYPE_METHOD_QUIT_COMBAT"), + 1003: .same(proto: "REQUEST_TYPE_METHOD_GET_COMBAT_RESULTS"), + 1004: .same(proto: "REQUEST_TYPE_METHOD_UNLOCK_SPECIAL_MOVE"), + 1005: .same(proto: "REQUEST_TYPE_METHOD_GET_NPC_COMBAT_REWARDS"), + 1006: .same(proto: "REQUEST_TYPE_METHOD_COMBAT_FRIEND_REQUEST"), + 1007: .same(proto: "REQUEST_TYPE_METHOD_OPEN_NPC_COMBAT_SESSION"), + 1008: .same(proto: "REQUEST_TYPE_METHOD_START_TUTORIAL_ACTION"), + 1009: .same(proto: "REQUEST_TYPE_METHOD_GET_TUTORIAL_EGG_ACTION"), + 1020: .same(proto: "REQUEST_TYPE_METHOD_SEND_PROBE"), + 1021: .same(proto: "REQUEST_TYPE_METHOD_PROBE_DATA"), + 1022: .same(proto: "REQUEST_TYPE_METHOD_COMBAT_DATA"), + 1023: .same(proto: "REQUEST_TYPE_METHOD_COMBAT_CHALLENGE_DATA"), + 1101: .same(proto: "REQUEST_TYPE_METHOD_CHECK_PHOTOBOMB"), + 1102: .same(proto: "REQUEST_TYPE_METHOD_CONFIRM_PHOTOBOMB"), + 1103: .same(proto: "REQUEST_TYPE_METHOD_GET_PHOTOBOMB"), + 1104: .same(proto: "REQUEST_TYPE_METHOD_ENCOUNTER_PHOTOBOMB"), + 1105: .same(proto: "REQUEST_TYPE_METHOD_GET_SIGNED_GMAP_URL_DEPRECATED"), + 1106: .same(proto: "REQUEST_TYPE_METHOD_CHANGE_TEAM"), + 1107: .same(proto: "REQUEST_TYPE_METHOD_GET_WEB_TOKEN"), + 1110: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_SNAPSHOT_SESSION"), + 1111: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_WILD_SNAPSHOT_SESSION"), + 1200: .same(proto: "REQUEST_TYPE_METHOD_START_INCIDENT"), + 1201: .same(proto: "REQUEST_TYPE_METHOD_INVASION_COMPLETE_DIALOGUE"), + 1202: .same(proto: "REQUEST_TYPE_METHOD_INVASION_OPEN_COMBAT_SESSION"), + 1203: .same(proto: "REQUEST_TYPE_METHOD_INVASION_BATTLE_UPDATE"), + 1204: .same(proto: "REQUEST_TYPE_METHOD_INVASION_ENCOUNTER"), + 1205: .same(proto: "REQUEST_TYPE_METHOD_PURIFY_POKEMON"), + 1206: .same(proto: "REQUEST_TYPE_METHOD_GET_ROCKET_BALLOON"), + 1207: .same(proto: "REQUEST_TYPE_METHOD_START_ROCKET_BALLOON_INCIDENT"), + 1300: .same(proto: "REQUEST_TYPE_METHOD_VS_SEEKER_START_MATCHMAKING"), + 1301: .same(proto: "REQUEST_TYPE_METHOD_CANCEL_MATCHMAKING"), + 1302: .same(proto: "REQUEST_TYPE_METHOD_GET_MATCHMAKING_STATUS"), + 1303: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_VS_SEEKER_AND_RESTART_CHARGING"), + 1304: .same(proto: "REQUEST_TYPE_METHOD_GET_VS_SEEKER_STATUS"), + 1305: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_COMBAT_COMPETITIVE_SEASON_ACTION"), + 1306: .same(proto: "REQUEST_TYPE_METHOD_CLAIM_VS_SEEKER_REWARDS"), + 1307: .same(proto: "REQUEST_TYPE_METHOD_VS_SEEKER_REWARD_ENCOUNTER"), + 1308: .same(proto: "REQUEST_TYPE_METHOD_ACTIVATE_VS_SEEKER"), + 1350: .same(proto: "REQUEST_TYPE_METHOD_GET_BUDDY_MAP"), + 1351: .same(proto: "REQUEST_TYPE_METHOD_GET_BUDDY_STATS"), + 1352: .same(proto: "REQUEST_TYPE_METHOD_FEED_BUDDY"), + 1353: .same(proto: "REQUEST_TYPE_METHOD_OPEN_BUDDY_GIFT"), + 1354: .same(proto: "REQUEST_TYPE_METHOD_PET_BUDDY"), + 1355: .same(proto: "REQUEST_TYPE_METHOD_GET_BUDDY_HISTORY"), + 1400: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_ROUTE_DRAFT"), + 1401: .same(proto: "REQUEST_TYPE_METHOD_GET_MAP_FORTS"), + 1402: .same(proto: "REQUEST_TYPE_METHOD_SUBMIT_ROUTE_DRAFT"), + 1403: .same(proto: "REQUEST_TYPE_METHOD_GET_PUBLISHED_ROUTES"), + 1404: .same(proto: "REQUEST_TYPE_METHOD_START_ROUTE"), + 1405: .same(proto: "REQUEST_TYPE_METHOD_GET_ROUTES"), + 1406: .same(proto: "REQUEST_TYPE_METHOD_PROGRESS_ROUTE"), + 1408: .same(proto: "REQUEST_TYPE_METHOD_PROCESS_TAPPABLE"), + 1409: .same(proto: "REQUEST_TYPE_METHOD_LIST_ROUTE_BADGES"), + 1410: .same(proto: "REQUEST_TYPE_METHOD_CANCEL_ROUTE"), + 1411: .same(proto: "REQUEST_TYPE_METHOD_LIST_ROUTE_STAMPS"), + 1412: .same(proto: "REQUEST_TYPE_METHOD_RATE_ROUTE"), + 1413: .same(proto: "REQUEST_TYPE_METHOD_CREATE_ROUTE_DRAFT"), + 1414: .same(proto: "REQUEST_TYPE_METHOD_DELETE_ROUTE_DRAFT"), + 1415: .same(proto: "REQUEST_TYPE_METHOD_REPORT_ROUTE"), + 1416: .same(proto: "REQUEST_TYPE_METHOD_SPAWN_TAPPABLE"), + 1417: .same(proto: "REQUEST_TYPE_METHOD_ROUTE_ENCOUNTER"), + 1418: .same(proto: "REQUEST_TYPE_METHOD_CAN_REPORT_ROUTE"), + 1420: .same(proto: "REQUEST_TYPE_METHOD_ROUTE_UPTATE_SEEN"), + 1421: .same(proto: "REQUEST_TYPE_METHOD_RECALL_ROUTE_DRAFT"), + 1422: .same(proto: "REQUEST_TYPE_METHOD_ROUTES_NEARBY_NOTIF_SHOWN"), + 1423: .same(proto: "REQUEST_TYPE_METHOD_NPC_ROUTE_GIFT"), + 1424: .same(proto: "REQUEST_TYPE_METHOD_GET_ROUTE_CREATIONS"), + 1456: .same(proto: "REQUEST_TYPE_METHOD_CREATE_BUDDY_MUTLIPLAYER_SESSION"), + 1457: .same(proto: "REQUEST_TYPE_METHOD_JOIN_BUDDY_MULTIPLAYER_SESSION"), + 1458: .same(proto: "REQUEST_TYPE_METHOD_LEAVE_BUDDY_MULTIPLAYER_SESSION"), + 1501: .same(proto: "REQUEST_TYPE_METHOD_GET_TODAY_VIEW"), + 1502: .same(proto: "REQUEST_TYPE_METHOD_MEGA_EVOLVE_POKEMON"), + 1503: .same(proto: "REQUEST_TYPE_METHOD_REMOTE_GIFT_PING"), + 1504: .same(proto: "REQUEST_TYPE_METHOD_SEND_RAID_INVITATION"), + 1601: .same(proto: "REQUEST_TYPE_METHOD_GET_DAILY_ENCOUNTER"), + 1602: .same(proto: "REQUEST_TYPE_METHOD_DAILY_ENCOUNTER"), + 1650: .same(proto: "REQUEST_TYPE_METHOD_OPEN_SPONSORED_GIFT"), + 1651: .same(proto: "REQUEST_TYPE_METHOD_SPONSORED_GIFT_REPORT_INTERACTION"), + 1652: .same(proto: "REQUEST_TYPE_METHOD_SAVE_PLAYER_PREFERENCES"), + 1653: .same(proto: "REQUEST_TYPE_METHOD_PROFANITY_CHECK"), + 1700: .same(proto: "REQUEST_TYPE_METHOD_GET_TIMED_GROUP_CHALLENGE"), + 1710: .same(proto: "REQUEST_TYPE_METHOD_GET_NINTENDO_ACCOUNT"), + 1711: .same(proto: "REQUEST_TYPE_METHOD_UNLINK_NINTENDO_ACCOUNT"), + 1712: .same(proto: "REQUEST_TYPE_METHOD_GET_NINTENDO_OAUTH2_URL"), + 1713: .same(proto: "REQUEST_TYPE_METHOD_TRANSFER_TO_POKEMON_HOME"), + 1716: .same(proto: "REQUEST_TYPE_METHOD_REPORT_AD_FEEDBACK"), + 1717: .same(proto: "REQUEST_TYPE_METHOD_CREATE_POKEMON_TAG"), + 1718: .same(proto: "REQUEST_TYPE_METHOD_DELETE_POKEMON_TAG"), + 1719: .same(proto: "REQUEST_TYPE_METHOD_EDIT_POKEMON_TAG"), + 1720: .same(proto: "REQUEST_TYPE_METHOD_SET_POKEMON_TAGS_FOR_POKEMON"), + 1721: .same(proto: "REQUEST_TYPE_METHOD_GET_POKEMON_TAGS"), + 1722: .same(proto: "REQUEST_TYPE_METHOD_CHANGE_POKEMON_FORM"), + 1723: .same(proto: "REQUEST_TYPE_METHOD_CHOOSE_EVENT_VARIANT"), + 1724: .same(proto: "REQUEST_TYPE_METHOD_BUTTERFLY_COLLECTOR_REWARD_ENCOUNTER"), + 1800: .same(proto: "REQUEST_TYPE_METHOD_GET_REFERRAL_CODE"), + 1801: .same(proto: "REQUEST_TYPE_METHOD_ADD_REFERRER"), + 1802: .same(proto: "REQUEST_TYPE_METHOD_SEND_FRIEND_INVITE_VIA_REFERRAL_CODE"), + 1803: .same(proto: "REQUEST_TYPE_METHOD_GET_MILESTONES"), + 1804: .same(proto: "REQUEST_TYPE_METHOD_MARK_MILESTONES_AS_VIEWED"), + 1805: .same(proto: "REQUEST_TYPE_METHOD_GET_MILESTONES_PREVIEW"), + 1806: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_MILESTONE"), + 1820: .same(proto: "REQUEST_TYPE_METHOD_GET_GEOFENCED_AD"), + 1900: .same(proto: "REQUEST_TYPE_METHOD_POWER_UP_POKESTOP_ENCOUNTER"), + 1909: .same(proto: "REQUEST_TYPE_METHOD_DELETE_POSTCARDS"), + 1910: .same(proto: "REQUEST_TYPE_METHOD_CREATE_POSTCARD"), + 1911: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_POSTCARD"), + 1912: .same(proto: "REQUEST_TYPE_METHOD_DELETE_POSTCARD"), + 1913: .same(proto: "REQUEST_TYPE_METHOD_GET_MEMENTO_LIST"), + 1914: .same(proto: "REQUEST_TYPE_METHOD_UPLOAD_RAID_CLIENT_LOG"), + 1915: .same(proto: "REQUEST_TYPE_METHOD_SKIP_ENTER_REFERRAL_CODE"), + 1916: .same(proto: "REQUEST_TYPE_METHOD_UPLOAD_COMBAT_CLIENT_LOG"), + 1917: .same(proto: "REQUEST_TYPE_METHOD_COMBAT_SYNC_SERVER_OFFSET"), + 2000: .same(proto: "REQUEST_TYPE_METHOD_CHECK_GIFTING_ELIGIBILITY"), + 2001: .same(proto: "REQUEST_TYPE_METHOD_REDEEM_TICKET_GIFT_FOR_FRIEND"), + 2002: .same(proto: "REQUEST_TYPE_METHOD_GET_INCENSE_RECAP"), + 2003: .same(proto: "REQUEST_TYPE_METHOD_ACKNOWLEDGE_INCENSE_RECAP"), + 2004: .same(proto: "REQUEST_TYPE_METHOD_BOOT_RAID"), + 2005: .same(proto: "REQUEST_TYPE_METHOD_GET_POKESTOP_ENCOUNTER"), + 2006: .same(proto: "REQUEST_TYPE_METHOD_ENCOUNTER_POKESTOP_ENCOUNTER"), + 2007: .same(proto: "REQUEST_TYPE_METHOD_POLL_PLAYER_SPAWNABLE_POKEMON"), + 2008: .same(proto: "REQUEST_TYPE_METHOD_GET_QUEST_UI"), + 2009: .same(proto: "REQUEST_TYPE_METHOD_GET_ELIGIBLE_COMBAT_LEAGUES"), + 2010: .same(proto: "REQUEST_TYPE_METHOD_SEND_FRIEND_REQUEST_VIA_PLAYER_IDS"), + 2011: .same(proto: "REQUEST_TYPE_METHOD_GET_RAID_LOBBY_COUNTER"), + 2014: .same(proto: "REQUEST_TYPE_METHOD_USE_NON_COMBAT_MOVE"), + 2100: .same(proto: "REQUEST_TYPE_METHOD_CHECK_POKEMON_SIZE_CONTEST_ELIGIBILITY"), + 2101: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_POKEMON_SIZE_CONTEST_ENTRY"), + 2102: .same(proto: "REQUEST_TYPE_METHOD_TRANSFER_POKEMON_SIZE_CONTEST_ENTRY"), + 2103: .same(proto: "REQUEST_TYPE_METHOD_REMOVE_POKEMON_SIZE_CONTEST_ENTRY"), + 2104: .same(proto: "REQUEST_TYPE_METHOD_GET_POKEMON_SIZE_CONTEST_ENTRY"), + 2105: .same(proto: "REQUEST_TYPE_METHOD_GET_CONTEST_DATA"), + 2106: .same(proto: "REQUEST_TYPE_METHOD_GET_CONTESTS_UNCLAIMED_REWARDS"), + 2107: .same(proto: "REQUEST_TYPE_METHOD_CLAIM_CONTESTS_REWARDS"), + 2108: .same(proto: "REQUEST_TYPE_METHOD_GET_ENTERED_CONTEST"), + 2109: .same(proto: "REQUEST_TYPE_METHOD_GET_POKEMON_SIZE_CONTEST_FRIEND_ENTRY"), + 2150: .same(proto: "REQUEST_TYPE_METHOD_CHECK_CONTEST_ELIGIBILITY"), + 2151: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_CONTEST_ENTRY"), + 2152: .same(proto: "REQUEST_TYPE_METHOD_TRANSFER_CONTEST_ENTRY"), + 2153: .same(proto: "REQUEST_TYPE_METHOD_GET_CONTEST_FRIEND_ENTRY"), + 2154: .same(proto: "REQUEST_TYPE_METHOD_GET_CONTEST_ENTRY"), + 2300: .same(proto: "REQUEST_TYPE_METHOD_CREATE_PARTY"), + 2301: .same(proto: "REQUEST_TYPE_METHOD_JOIN_PARTY"), + 2302: .same(proto: "REQUEST_TYPE_METHOD_START_PARTY"), + 2303: .same(proto: "REQUEST_TYPE_METHOD_LEAVE_PARTY"), + 2304: .same(proto: "REQUEST_TYPE_METHOD_GET_PARTY"), + 2305: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_PARTY_LOCATION"), + 2306: .same(proto: "REQUEST_TYPE_METHOD_SEND_PARTY_DARK_LAUNCH_LOG"), + 2308: .same(proto: "REQUEST_TYPE_METHOD_START_PARTY_QUEST"), + 2309: .same(proto: "REQUEST_TYPE_METHOD_COMPLETE_PARTY_QUEST"), + 2350: .same(proto: "REQUEST_TYPE_METHOD_GET_BONUS_ATTRACTED_POKEMON"), + 2352: .same(proto: "REQUEST_TYPE_METHOD_GET_BONUSES"), + 2360: .same(proto: "REQUEST_TYPE_METHOD_BADGE_REWARD_ENCOUNTER"), + 2400: .same(proto: "REQUEST_TYPE_METHOD_NPC_UPDATE_STATE"), + 2401: .same(proto: "REQUEST_TYPE_METHOD_NPC_SEND_GIFT"), + 2402: .same(proto: "REQUEST_TYPE_METHOD_NPC_OPEN_GIFT"), + 3000: .same(proto: "REQUEST_TYPE_METHOD_GET_VPS_EVENTS"), + 3001: .same(proto: "REQUEST_TYPE_METHOD_UPDATE_VPS_EVENTS"), + 3002: .same(proto: "REQUEST_TYPE_METHOD_ADD_PTC_LOGIN_ACTION"), + 3003: .same(proto: "REQUEST_TYPE_METHOD_CLAIM_PTC_LINKING_REWARD"), + 5000: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REGISTER_PUSH_NOTIFICATION"), + 5001: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UNREGISTER_PUSH_NOTIFICATION"), + 5002: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UPDATE_NOTIFICATION_STATUS"), + 5003: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), + 5004: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_DOWNLOAD_GAME_MASTER_TEMPLATES"), + 5005: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_INVENTORY"), + 5006: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_PASSCODE"), + 5007: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PING"), + 5008: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_ADD_LOGIN_ACTION"), + 5009: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REMOVE_LOGIN_ACTION"), + 5010: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_LIST_LOGIN_ACTION"), + 5011: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_ADD_NEW_POI"), + 5012: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PROXY_SOCIAL_ACTION"), + 5013: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_DEPRECATED_CLIENT_TELEMETRY"), + 5014: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_AVAILABLE_SUBMISSIONS"), + 5015: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), + 5016: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REPLACE_LOGIN_ACTION"), + 5017: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PROXY_SOCIAL_SIDE_CHANNEL_ACTION"), + 5018: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_COLLECT_CLIENT_TELEMETRY"), + 5019: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PURCHASE_SKU"), + 5020: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_AVAILABLE_SKUS_AND_BALANCES"), + 5021: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_GOOGLE_RECEIPT"), + 5022: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_APPLE_RECEIPT"), + 5023: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_DESKTOP_RECEIPT"), + 5024: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UPDATE_FITNESS_METRICS"), + 5025: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_FITNESS_REPORT"), + 5026: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_CLIENT_TELEMETRY_SETTINGS"), + 5027: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PING_ASYNC"), + 5028: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REGISTER_BACKGROUND_SERVICE"), + 5029: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_CLIENT_BGMODE_SETTINGS"), + 5030: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_PING_DOWNSTREAM"), + 5032: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SET_IN_GAME_CURRENCY_EXCHANGE_RATE"), + 5033: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REQUEST_GEOFENCE_UPDATES"), + 5034: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UPDATE_PLAYER_LOCATION"), + 5035: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GENERATE_GMAP_SIGNED_URL"), + 5036: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_GMAP_SETTINGS"), + 5037: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_REDEEM_SAMSUNG_RECEIPT"), + 5038: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_ADD_NEW_ROUTE"), + 5039: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_OUTSTANDING_WARNINGS"), + 5040: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_ACKNOWLEDGE_WARNINGS"), + 5041: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SUBMIT_POI_IMAGE"), + 5042: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SUBMIT_POI_TEXT_METADATA_UPDATE"), + 5043: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SUBMIT_POI_LOCATION_UPDATE"), + 5044: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SUBMIT_POI_TAKEDOWN_REQUEST"), + 5045: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_WEB_TOKEN_ACTION"), + 5046: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_GET_ADVENTURE_SYNC_SETTINGS"), + 5047: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_UPDATE_ADVENTURE_SYNC_SETTINGS"), + 5048: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_SET_BIRTHDAY"), + 5049: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_FETCH_NEWSFEED_ACTION"), + 5050: .same(proto: "REQUEST_TYPE_CLIENT_ACTION_MARK_NEWSFEED_READ_ACTION"), + 10000: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEARCH_PLAYER"), + 10002: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEND_FRIEND_INVITE"), + 10003: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_CANCEL_FRIEND_INVITE"), + 10004: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_ACCEPT_FRIEND_INVITE"), + 10005: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_DECLINE_FRIEND_INVITE"), + 10006: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_FRIENDS"), + 10007: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_OUTGOING_FRIEND_INVITES"), + 10008: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_INCOMING_FRIEND_INVITES"), + 10009: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_REMOVE_FRIEND"), + 10010: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_FRIEND_STATUS"), + 10011: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEND_FACEBOOK_FRIEND_INVITE"), + 10012: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_IS_MY_FRIEND"), + 10013: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_CREATE_INVITE_CODE"), + 10014: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_FACEBOOK_FRIEND_LIST"), + 10015: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_FACEBOOK_STATUS"), + 10016: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SAVE_PLAYER_SETTINGS"), + 10017: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_PLAYER_SETTINGS"), + 10018: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_NIANTIC_FRIEND_LIST_DELETED"), + 10019: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_NIANTIC_FRIEND_DETAILS_DELETED"), + 10020: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEND_NIANTIC_FRIEND_INVITE_DELETED"), + 10021: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SET_ACCOUNT_SETTINGS"), + 10022: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_ACCOUNT_SETTINGS"), + 10023: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_ADD_FAVORITE_FRIEND"), + 10024: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_REMOVE_FAVORITE_FRIEND"), + 10025: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_BLOCK_ACCOUNT"), + 10026: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UNBLOCK_ACCOUNT"), + 10027: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_OUTGING_BLOCKS"), + 10028: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_IS_ACCOUNT_BLOCKED"), + 10101: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_REGISTER_PUSH_NOTIFICATION"), + 10102: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UNREGISTER_PUSH_NOTIFICATION"), + 10103: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_NOTIFICATION"), + 10104: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_OPT_OUT_PUSH_NOTIFICATION_CATEGORY"), + 10105: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_INBOX"), + 10201: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_SIGNED_URL"), + 10202: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SUBMIT_IMAGE"), + 10203: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_PHOTOS"), + 10204: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_DELETE_PHOTO"), + 10205: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_FLAG_PHOTO"), + 20001: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_PROFILE_V2"), + 20002: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_FRIENDSHIP_V2"), + 20003: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_PROFILE_V2"), + 20004: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_INVITE_GAME_V2"), + 20005: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_2"), + 20006: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_LIST_FRIENDS_V2"), + 20007: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_FRIEND_DETAILS_V2"), + 20008: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_CLIENT_FEATURE_FLAGS_V2"), + 20009: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_1"), + 20010: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_INCOMING_GAME_INVITES_V2"), + 20011: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_UPDATE_INCOMING_GAME_INVITE_V2"), + 20012: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_DISMISS_OUTGOING_GAME_INVITES_V2"), + 20013: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SYNC_CONTACT_LIST_V2"), + 20014: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_SEND_CONTACT_LIST_FRIEND_INVITE_V2"), + 20015: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_REFER_CONTACT_LIST_FRIEND_V2"), + 20016: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_CONTACT_LIST_INFO_V2"), + 20017: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_DISMISS_CONTACT_LIST_UPDATE_V2"), + 20018: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_NOTIFY_CONTACT_LIST_FRIENDS_V2"), + 20019: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_6"), + 20020: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_7"), + 20400: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_3"), + 20401: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_4"), + 20402: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_RESERVED_ACTION_5"), + 20500: .same(proto: "REQUEST_TYPE_SOCIAL_ACTION_GET_FRIEND_RECOMMENDATION"), + 200000: .same(proto: "REQUEST_TYPE_GAME_ANTICHEAT_ACTION_GET_OUTSTANDING_WARNINGS"), + 200001: .same(proto: "REQUEST_TYPE_GAME_ANTICHEAT_ACTION_ACKNOWLEDGE_WARNINGS"), + 230000: .same(proto: "REQUEST_TYPE_GAME_ACTION_CLIENT_REGISTER_BACKGROUND_SERVICE"), + 230001: .same(proto: "REQUEST_TYPE_GAME_ACTION_CLIENT_GET_CLIENT_BGMODE_SETTINGS"), + 230002: .same(proto: "REQUEST_TYPE_GAME_ACTION_CLIENT_GET_ADVENTURE_SYNC_PROGRESS"), + 310000: .same(proto: "REQUEST_TYPE_GAME_PURCHASE_SKU"), + 310001: .same(proto: "REQUEST_TYPE_GAME_GET_AVAILABLE_SKUS_AND_BALANCES"), + 310002: .same(proto: "REQUEST_TYPE_GAME_SET_IN_GAME_CURRENCY_EXCHANGE_RATE"), + 310100: .same(proto: "REQUEST_TYPE_GAME_REDEEM_GOOGLE_RECEIPT"), + 310101: .same(proto: "REQUEST_TYPE_GAME_REDEEM_APPLE_RECEIPT"), + 310102: .same(proto: "REQUEST_TYPE_GAME_REDEEM_DESKTOP_RECEIPT"), + 310103: .same(proto: "REQUEST_TYPE_GAME_REDEEM_SAMSUNG_RECEIPT"), + 310200: .same(proto: "REQUEST_TYPE_GAME_GET_AVAILABLE_SUBSCRIPTIONS"), + 310201: .same(proto: "REQUEST_TYPE_GAME_GET_ACTIVE_SUBSCRIPTIONS"), + 360000: .same(proto: "REQUEST_TYPE_REQUEST_GEOFENCE_UPDATES_1"), + 360001: .same(proto: "REQUEST_TYPE_UPDATE_PLAYER_LOCATION_1"), + 361000: .same(proto: "REQUEST_TYPE_UPDATE_BREADCRUMB_HISTORY"), + 362000: .same(proto: "REQUEST_TYPE_REFRESH_PROXIMITY_TOKENS"), + 362001: .same(proto: "REQUEST_TYPE_REPORT_PROXIMITY_CONTACTS"), + 600005: .same(proto: "REQUEST_TYPE_GET_GAME_ACCESS_TOKEN"), + 620000: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_ADD_NEW_POI"), + 620001: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_AVAILABLE_SUBMISSIONS"), + 620002: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), + 620003: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_PLAYER_SUBMISSION_VALIDATION_SETTINGS"), + 620004: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_ADD_NEW_POI"), + 620005: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_GET_SIGNED_URL_FOR_PHOTO_UPLOAD"), + 620100: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_IMAGE"), + 620101: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_TEXT_METADATA_UPDATE"), + 620102: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_LOCATION_UPDATE"), + 620103: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_TAKEDOWN_REQUEST"), + 620104: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_SPONSOR_POI_REPORT"), + 620105: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_SPONSOR_POI_LOCATION_UPDATE"), + 620106: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_CATEGORY_VOTE"), + 620107: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_IMAGE"), + 620108: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_TEXT_METADATA_UPDATE"), + 620109: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_LOCATION_UPDATE"), + 620110: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_TAKEDOWN_REQUEST"), + 620200: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_ADD_NEW_ROUTE"), + 620300: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GENERATE_GMAP_SIGNED_URL"), + 620301: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_GMAP_SETTINGS"), + 620400: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_POI_AR_VIDEO_METADATA"), + 620401: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_GRAPESHOT_FILE_UPLOAD_URL"), + 620402: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_ASYNC_FILE_UPLOAD_COMPLETE"), + 620403: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_AR_MAPPING_SETTINGS"), + 620404: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_POI_AR_VIDEO_METADATA"), + 620405: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_GET_GRAPESHOT_FILE_UPLOAD_URL"), + 620406: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_ASYNC_FILE_UPLOAD_COMPLETE"), + 620407: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_MAPPING_REQUEST"), + 620408: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_D2D_SUBMIT_MAPPING_REQUEST"), + 620500: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_IMAGES_FOR_POI"), + 620501: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_SUBMIT_PLAYER_IMAGE_VOTE_FOR_POI"), + 620502: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_IMAGE_GALLERY_SETTINGS"), + 620600: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_MAP_DATA"), + 620601: .same(proto: "REQUEST_TYPE_PLAYER_SUBMISSION_ACTION_GET_POIS_IN_RADIUS"), + 640000: .same(proto: "REQUEST_TYPE_UPDATE_FITNESS_METRICS_1"), + 640001: .same(proto: "REQUEST_TYPE_GET_FITNESS_REPORT_1"), + 640002: .same(proto: "REQUEST_TYPE_GET_ADVENTURE_SYNC_SETTINGS_1"), + 640003: .same(proto: "REQUEST_TYPE_UPDATE_ADVENTURE_SYNC_SETTINGS_1"), + 640004: .same(proto: "REQUEST_TYPE_UPDATE_ADVENTURE_SYNC_FITNESS"), + 640005: .same(proto: "REQUEST_TYPE_GET_ADVENTURE_SYNC_FITNESS_REPORT"), + ] +} + +extension AllTypesAndMessagesResponsesProto.AllMessagesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = AllTypesAndMessagesResponsesProto.protoMessageName + ".AllMessagesProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 2: .standard(proto: "get_player_proto_2"), + 4: .standard(proto: "get_holoholo_inventory_proto_4"), + 5: .standard(proto: "download_settings_action_proto_5"), + 6: .standard(proto: "getgame_master_client_templates_proto_6"), + 7: .standard(proto: "get_remote_config_versions_proto_7"), + 8: .standard(proto: "register_background_device_action_proto_8"), + 9: .standard(proto: "get_player_day_proto_9"), + 10: .standard(proto: "acknowledge_punishment_proto_10"), + 11: .standard(proto: "get_server_time_proto_11"), + 12: .standard(proto: "get_local_time_proto_12"), + 101: .standard(proto: "fort_search_proto_101"), + 102: .standard(proto: "encounter_proto_102"), + 103: .standard(proto: "catch_pokemon_proto_103"), + 104: .standard(proto: "fort_details_proto_104"), + 106: .standard(proto: "get_map_objects_proto_106"), + 110: .standard(proto: "fort_deploy_proto_110"), + 111: .standard(proto: "fort_recall_proto_111"), + 112: .standard(proto: "release_pokemon_proto_112"), + 113: .standard(proto: "use_item_potion_proto_113"), + 114: .standard(proto: "use_item_capture_proto_114"), + 116: .standard(proto: "use_item_revive_proto_116"), + 121: .standard(proto: "playerprofileproto_121"), + 125: .standard(proto: "evolve_pokemon_proto_125"), + 126: .standard(proto: "get_hatched_eggs_proto_126"), + 127: .standard(proto: "encounter_tutorial_complete_proto_127"), + 128: .standard(proto: "level_up_rewards_proto_128"), + 129: .standard(proto: "check_awarded_badges_proto_129"), + 137: .standard(proto: "recycle_item_proto_137"), + 138: .standard(proto: "collect_daily_bonus_proto_138"), + 139: .standard(proto: "use_item_xp_boost_proto_139"), + 140: .standard(proto: "use_item_egg_incubator_proto_140"), + 141: .standard(proto: "use_incense_action_proto_141"), + 142: .standard(proto: "get_incense_pokemon_proto_142"), + 143: .standard(proto: "incense_encounter_proto_143"), + 144: .standard(proto: "add_fort_modifier_proto_144"), + 145: .standard(proto: "disk_encounter_proto_145"), + 147: .standard(proto: "upgrade_pokemon_proto_147"), + 148: .standard(proto: "set_favorite_pokemon_proto_148"), + 149: .standard(proto: "nickname_pokemon_proto_149"), + 151: .standard(proto: "set_contactsettings_proto_151"), + 152: .standard(proto: "set_buddy_pokemon_proto_152"), + 153: .standard(proto: "get_buddy_walked_proto_153"), + 154: .standard(proto: "use_item_encounter_proto_154"), + 155: .standard(proto: "gym_deploy_proto_155"), + 156: .standard(proto: "gymget_info_proto_156"), + 157: .standard(proto: "gym_start_session_proto_157"), + 158: .standard(proto: "gym_battle_attack_proto_158"), + 159: .standard(proto: "join_lobby_proto_159"), + 160: .standard(proto: "leavelobby_proto_160"), + 161: .standard(proto: "set_lobby_visibility_proto_161"), + 162: .standard(proto: "set_lobby_pokemon_proto_162"), + 163: .standard(proto: "get_raid_details_proto_163"), + 164: .standard(proto: "gym_feed_pokemon_proto_164"), + 165: .standard(proto: "start_raid_battle_proto_165"), + 166: .standard(proto: "attack_raid_battle_proto_166"), + 168: .standard(proto: "use_item_stardust_boost_proto_168"), + 169: .standard(proto: "reassign_player_proto_169"), + 171: .standard(proto: "convertcandy_to_xlcandy_proto_171"), + 172: .standard(proto: "is_sku_available_proto_172"), + 300: .standard(proto: "asset_digest_request_proto_300"), + 301: .standard(proto: "download_url_request_proto_301"), + 302: .standard(proto: "asset_version_proto_302"), + 403: .standard(proto: "claimcodename_request_proto_403"), + 404: .standard(proto: "set_avatar_proto_404"), + 405: .standard(proto: "set_player_team_proto_405"), + 406: .standard(proto: "mark_tutorial_complete_proto_406"), + 408: .standard(proto: "set_neutral_avatar_proto_408"), + 600: .standard(proto: "checkchallenge_proto_600"), + 601: .standard(proto: "verify_challenge_proto_601"), + 666: .standard(proto: "echo_proto_666"), + 800: .standard(proto: "register_sfidarequest_800"), + 802: .standard(proto: "sfida_certification_request_802"), + 803: .standard(proto: "sfida_update_request_803"), + 805: .standard(proto: "sfida_dowser_request_805"), + 806: .standard(proto: "sfida_capture_request_806"), + 807: .standard(proto: "list_avatar_customizations_proto_807"), + 808: .standard(proto: "set_avatar_item_as_viewed_proto_808"), + 811: .standard(proto: "list_gym_badges_proto_811"), + 812: .standard(proto: "getgym_badge_details_proto_812"), + 813: .standard(proto: "use_item_move_reroll_proto_813"), + 814: .standard(proto: "use_item_rare_candy_proto_814"), + 815: .standard(proto: "award_free_raid_ticket_proto_815"), + 816: .standard(proto: "fetch_all_news_proto_816"), + 817: .standard(proto: "mark_read_news_article_proto_817"), + 819: .standard(proto: "beluga_transaction_start_proto_819"), + 820: .standard(proto: "beluga_transaction_complete_proto_820"), + 822: .standard(proto: "sfida_associate_request_822"), + 823: .standard(proto: "sfida_check_pairing_request_823"), + 824: .standard(proto: "sfida_disassociate_request_824"), + 826: .standard(proto: "waina_submit_sleep_data_request_826"), + 900: .standard(proto: "get_new_quests_proto_900"), + 901: .standard(proto: "get_quest_details_proto_901"), + 902: .standard(proto: "complete_quest_proto_902"), + 903: .standard(proto: "remove_quest_proto_903"), + 904: .standard(proto: "quest_encounter_proto_904"), + 906: .standard(proto: "progress_questproto_906"), + 950: .standard(proto: "send_gift_proto_950"), + 951: .standard(proto: "open_gift_proto_951"), + 952: .standard(proto: "getgift_box_details_proto_952"), + 953: .standard(proto: "delete_gift_proto_953"), + 954: .standard(proto: "save_playersnapshot_proto_954"), + 956: .standard(proto: "check_send_gift_proto_956"), + 957: .standard(proto: "set_friend_nickname_proto_957"), + 958: .standard(proto: "delete_gift_from_inventory_proto_958"), + 959: .standard(proto: "savesocial_playersettings_proto_959"), + 970: .standard(proto: "open_trading_proto_970"), + 971: .standard(proto: "update_trading_proto_971"), + 972: .standard(proto: "confirm_trading_proto_972"), + 973: .standard(proto: "cancel_trading_proto_973"), + 974: .standard(proto: "get_trading_proto_974"), + 980: .standard(proto: "get_fitness_rewards_proto_980"), + 990: .standard(proto: "get_combat_player_profile_proto_990"), + 991: .standard(proto: "generate_combat_challenge_id_proto_991"), + 992: .standard(proto: "createcombatchallenge_proto_992"), + 993: .standard(proto: "open_combat_challenge_proto_993"), + 994: .standard(proto: "get_combat_challenge_proto_994"), + 995: .standard(proto: "accept_combat_challenge_proto_995"), + 996: .standard(proto: "decline_combat_challenge_proto_996"), + 997: .standard(proto: "cancelcombatchallenge_proto_997"), + 998: .standard(proto: "submit_combat_challenge_pokemons_proto_998"), + 999: .standard(proto: "save_combat_player_preferences_proto_999"), + 1000: .standard(proto: "open_combat_session_proto_1000"), + 1001: .standard(proto: "update_combat_proto_1001"), + 1002: .standard(proto: "quit_combat_proto_1002"), + 1003: .standard(proto: "get_combat_results_proto_1003"), + 1004: .standard(proto: "unlock_pokemon_move_proto_1004"), + 1005: .standard(proto: "get_npc_combat_rewards_proto_1005"), + 1006: .standard(proto: "combat_friend_request_proto_1006"), + 1007: .standard(proto: "open_npc_combat_session_proto_1007"), + 1008: .standard(proto: "start_tutorial_proto_1008"), + 1009: .standard(proto: "get_tutorial_egg_proto_1009"), + 1020: .standard(proto: "send_probe_proto_1020"), + 1101: .standard(proto: "check_photobomb_proto_1101"), + 1102: .standard(proto: "confirm_photobomb_proto_1102"), + 1103: .standard(proto: "get_photobomb_proto_1103"), + 1104: .standard(proto: "encounter_photobomb_proto_1104"), + 1105: .standard(proto: "getgmap_settings_proto_1105"), + 1106: .standard(proto: "change_team_proto_1106"), + 1107: .standard(proto: "get_web_token_proto_1107"), + 1110: .standard(proto: "complete_snapshot_session_proto_1110"), + 1111: .standard(proto: "complete_wild_snapshot_session_proto_1111"), + 1200: .standard(proto: "start_incident_proto_1200"), + 1201: .standard(proto: "complete_invasion_dialogue_proto_1201"), + 1202: .standard(proto: "open_invasion_combat_session_proto_1202"), + 1203: .standard(proto: "update_invasion_battle_proto_1203"), + 1204: .standard(proto: "invasion_encounter_proto_1204"), + 1205: .standard(proto: "purifypokemonproto_1205"), + 1206: .standard(proto: "get_rocket_balloon_proto_1206"), + 1207: .standard(proto: "start_rocket_balloon_incident_proto_1207"), + 1300: .standard(proto: "vs_seeker_start_matchmaking_proto_1300"), + 1301: .standard(proto: "cancel_matchmaking_proto_1301"), + 1302: .standard(proto: "get_matchmaking_status_proto_1302"), + 1303: .standard(proto: "complete_vs_seeker_and_restartcharging_proto_1303"), + 1304: .standard(proto: "get_vs_seeker_status_proto_1304"), + 1305: .standard(proto: "completecompetitive_season_proto_1305"), + 1306: .standard(proto: "claim_vs_seeker_rewards_proto_1306"), + 1307: .standard(proto: "vs_seeker_reward_encounter_proto_1307"), + 1308: .standard(proto: "activate_vs_seeker_proto_1308"), + 1350: .standard(proto: "buddy_map_proto_1350"), + 1351: .standard(proto: "buddy_stats_proto_1351"), + 1352: .standard(proto: "buddy_feeding_proto_1352"), + 1353: .standard(proto: "open_buddy_gift_proto_1353"), + 1354: .standard(proto: "buddy_petting_proto_1354"), + 1355: .standard(proto: "get_buddy_history_proto_1355"), + 1400: .standard(proto: "update_route_draft_proto_1400"), + 1401: .standard(proto: "get_map_forts_proto_1401"), + 1402: .standard(proto: "submit_route_draft_proto_1402"), + 1403: .standard(proto: "get_published_routes_proto_1403"), + 1404: .standard(proto: "start_route_proto_1404"), + 1405: .standard(proto: "get_routes_proto_1405"), + 1406: .standard(proto: "progress_routeproto_1406"), + 1409: .standard(proto: "list_route_badges_proto_1409"), + 1410: .standard(proto: "cancel_route_proto_1410"), + 1423: .standard(proto: "npc_route_gift_proto_1423"), + 1456: .standard(proto: "create_buddy_multiplayer_session_proto_1456"), + 1457: .standard(proto: "join_buddy_multiplayer_session_proto_1457"), + 1458: .standard(proto: "leave_buddy_multiplayer_session_proto_1458"), + 1501: .standard(proto: "get_today_view_proto_1501"), + 1502: .standard(proto: "mega_evolve_pokemon_proto_1502"), + 1503: .standard(proto: "remote_gift_pingrequest_proto_1503"), + 1504: .standard(proto: "send_raid_invitation_proto_1504"), + 1601: .standard(proto: "get_daily_encounter_proto_1601"), + 1602: .standard(proto: "daily_encounter_proto_1602"), + 1650: .standard(proto: "open_sponsored_gift_proto_1650"), + 1652: .standard(proto: "save_player_preferences_proto_1652"), + 1653: .standard(proto: "profanity_checkproto_1653"), + 1700: .standard(proto: "get_timedgroup_challenge_proto_1700"), + 1710: .standard(proto: "get_nintendo_account_proto_1710"), + 1711: .standard(proto: "unlink_nintendo_account_proto_1711"), + 1712: .standard(proto: "get_nintendo_o_auth2_url_proto_1712"), + 1713: .standard(proto: "transfer_pokemonto_pokemon_home_proto_1713"), + 1716: .standard(proto: "report_ad_feedbackrequest_1716"), + 1717: .standard(proto: "create_pokemon_tag_proto_1717"), + 1718: .standard(proto: "delete_pokemon_tag_proto_1718"), + 1719: .standard(proto: "edit_pokemon_tag_proto_1719"), + 1720: .standard(proto: "set_pokemon_tags_for_pokemon_proto_1720"), + 1721: .standard(proto: "get_pokemon_tags_proto_1721"), + 1722: .standard(proto: "change_pokemon_form_proto_1722"), + 1723: .standard(proto: "choose_global_ticketed_event_variant_proto_1723"), + 1800: .standard(proto: "get_referral_code_proto_1800"), + 1801: .standard(proto: "add_referrer_proto_1801"), + 1802: .standard(proto: "send_friend_invite_via_referral_code_proto_1802"), + 1803: .standard(proto: "get_milestones_proto_1803"), + 1804: .standard(proto: "markmilestone_as_viewed_proto_1804"), + 1805: .standard(proto: "get_milestones_preview_proto_1805"), + 1806: .standard(proto: "complete_milestone_proto_1806"), + 1820: .standard(proto: "getgeofenced_ad_proto_1820"), + 1909: .standard(proto: "delete_postcards_proto_1909"), + 1910: .standard(proto: "create_postcard_proto_1910"), + 1911: .standard(proto: "update_postcard_proto_1911"), + 1912: .standard(proto: "delete_postcard_proto_1912"), + 1913: .standard(proto: "get_memento_list_proto_1913"), + 1914: .standard(proto: "upload_raid_client_log_proto_1914"), + 2000: .standard(proto: "check_gifting_eligibility_proto_2000"), + 2001: .standard(proto: "redeem_ticket_gift_for_friend_proto_2001"), + 2005: .standard(proto: "get_pokestop_encounter_proto_2005"), + 2006: .standard(proto: "encounter_pokestopencounter_proto_2006"), + 2007: .standard(proto: "player_spawnablepokemonproto_2007"), + 2010: .standard(proto: "send_friend_request_via_player_id_proto_2010"), + 2011: .standard(proto: "get_raid_lobby_counter_proto_2011"), + 2014: .standard(proto: "use_non_combat_move_request_proto_2014"), + 2105: .standard(proto: "get_contest_data_proto_2105"), + 2106: .standard(proto: "get_contests_unclaimed_rewards_proto_2106"), + 2107: .standard(proto: "claimcontests_rewards_proto_2107"), + 2108: .standard(proto: "get_entered_contest_proto_2108"), + 2360: .standard(proto: "badge_reward_encounter_request_proto_2360"), + 2400: .standard(proto: "npc_update_state_proto_2400"), + 2401: .standard(proto: "npc_send_gift_proto_2401"), + 2402: .standard(proto: "npc_open_gift_proto_2402"), + 3000: .standard(proto: "get_vps_event_proto_3000"), + 3001: .standard(proto: "update_vps_event_proto_3001"), + 5000: .standard(proto: "push_notification_registryproto_5000"), + 5002: .standard(proto: "update_notification_proto_5002"), + 5004: .standard(proto: "download_gm_templates_request_proto_5004"), + 5005: .standard(proto: "get_inventory_proto_5005"), + 5006: .standard(proto: "redeem_passcoderequest_proto_5006"), + 5007: .standard(proto: "ping_requestproto_5007"), + 5008: .standard(proto: "add_loginaction_proto_5008"), + 5009: .standard(proto: "remove_login_action_proto_5009"), + 5011: .standard(proto: "submit_new_poi_proto_5011"), + 5012: .standard(proto: "proxy_requestproto_5012"), + 5014: .standard(proto: "get_available_submissions_proto_5014"), + 5015: .standard(proto: "replace_login_action_proto_5015"), + 5018: .standard(proto: "client_telemetry_batch_proto_5018"), + 5024: .standard(proto: "fitness_update_proto_5024"), + 5025: .standard(proto: "get_fitness_report_proto_5025"), + 5026: .standard(proto: "client_telemetry_settings_request_proto_5026"), + 5032: .standard(proto: "set_in_game_currency_exchange_rate_proto_5032"), + 5033: .standard(proto: "geofence_update_proto_5033"), + 5034: .standard(proto: "location_ping_proto_5034"), + 5035: .standard(proto: "generategmap_signed_url_proto_5035"), + 5036: .standard(proto: "getgmap_settings_proto_5036"), + 5039: .standard(proto: "get_outstanding_warnings_request_proto_5039"), + 5040: .standard(proto: "acknowledge_warnings_request_proto_5040"), + 5045: .standard(proto: "get_web_token_proto_5045"), + 5046: .standard(proto: "get_adventure_sync_settings_request_proto_5046"), + 5047: .standard(proto: "update_adventure_sync_settings_request_proto_5047"), + 5048: .standard(proto: "set_birthday_request_proto_5048"), + 10016: .standard(proto: "savesocial_playersettings_proto_10016"), + 10101: .standard(proto: "push_notification_registryproto_10101"), + 10103: .standard(proto: "update_notification_proto_10103"), + 200000: .standard(proto: "get_outstanding_warnings_request_proto_200000"), + 200001: .standard(proto: "acknowledge_warnings_request_proto_200001"), + 230002: .standard(proto: "get_adventure_sync_progress_proto_230002"), + 310002: .standard(proto: "set_in_game_currency_exchange_rate_proto_310002"), + 360000: .standard(proto: "geofence_update_proto_360000"), + 360001: .standard(proto: "location_ping_proto_360001"), + 361000: .standard(proto: "update_breadcrumb_history_request_proto_361000"), + 362000: .standard(proto: "refresh_proximity_tokensrequest_proto_362000"), + 362001: .standard(proto: "report_proximity_contactsrequest_proto_362001"), + 620000: .standard(proto: "submit_new_poi_proto_620000"), + 620001: .standard(proto: "get_available_submissions_proto_620001"), + 620300: .standard(proto: "generategmap_signed_url_proto_620300"), + 620301: .standard(proto: "getgmap_settings_proto_620301"), + 640000: .standard(proto: "fitness_update_proto_640000"), + 640001: .standard(proto: "get_fitness_report_proto_640001"), + 640002: .standard(proto: "get_adventure_sync_settings_request_proto_640002"), + 640003: .standard(proto: "update_adventure_sync_settings_request_proto_640003"), + 640004: .standard(proto: "update_adventure_sync_fitness_request_proto_640004"), + 640005: .standard(proto: "get_adventure_sync_fitness_report_request_proto_640005"), ] fileprivate class _StorageClass { - var _result: AttackGymOutProto.Result = .unset - var _battleLog: BattleLogProto? = nil - var _battleID: String = String() - var _activeDefender: PokemonInfo? = nil - var _activeAttacker: PokemonInfo? = nil - var _battleUpdate: BattleUpdateProto? = nil + var _getPlayerProto2: GetPlayerProto? = nil + var _getHoloholoInventoryProto4: GetHoloholoInventoryProto? = nil + var _downloadSettingsActionProto5: DownloadSettingsActionProto? = nil + var _getgameMasterClientTemplatesProto6: GetGameMasterClientTemplatesProto? = nil + var _getRemoteConfigVersionsProto7: GetRemoteConfigVersionsProto? = nil + var _registerBackgroundDeviceActionProto8: RegisterBackgroundDeviceActionProto? = nil + var _getPlayerDayProto9: GetPlayerDayProto? = nil + var _acknowledgePunishmentProto10: AcknowledgePunishmentProto? = nil + var _getServerTimeProto11: GetServerTimeProto? = nil + var _getLocalTimeProto12: GetLocalTimeProto? = nil + var _fortSearchProto101: FortSearchProto? = nil + var _encounterProto102: EncounterProto? = nil + var _catchPokemonProto103: CatchPokemonProto? = nil + var _fortDetailsProto104: FortDetailsProto? = nil + var _getMapObjectsProto106: GetMapObjectsProto? = nil + var _fortDeployProto110: FortDeployProto? = nil + var _fortRecallProto111: FortRecallProto? = nil + var _releasePokemonProto112: ReleasePokemonProto? = nil + var _useItemPotionProto113: UseItemPotionProto? = nil + var _useItemCaptureProto114: UseItemCaptureProto? = nil + var _useItemReviveProto116: UseItemReviveProto? = nil + var _playerprofileproto121: PlayerProfileProto? = nil + var _evolvePokemonProto125: EvolvePokemonProto? = nil + var _getHatchedEggsProto126: GetHatchedEggsProto? = nil + var _encounterTutorialCompleteProto127: EncounterTutorialCompleteProto? = nil + var _levelUpRewardsProto128: LevelUpRewardsProto? = nil + var _checkAwardedBadgesProto129: CheckAwardedBadgesProto? = nil + var _recycleItemProto137: RecycleItemProto? = nil + var _collectDailyBonusProto138: CollectDailyBonusProto? = nil + var _useItemXpBoostProto139: UseItemXpBoostProto? = nil + var _useItemEggIncubatorProto140: UseItemEggIncubatorProto? = nil + var _useIncenseActionProto141: UseIncenseActionProto? = nil + var _getIncensePokemonProto142: GetIncensePokemonProto? = nil + var _incenseEncounterProto143: IncenseEncounterProto? = nil + var _addFortModifierProto144: AddFortModifierProto? = nil + var _diskEncounterProto145: DiskEncounterProto? = nil + var _upgradePokemonProto147: UpgradePokemonProto? = nil + var _setFavoritePokemonProto148: SetFavoritePokemonProto? = nil + var _nicknamePokemonProto149: NicknamePokemonProto? = nil + var _setContactsettingsProto151: SetContactSettingsProto? = nil + var _setBuddyPokemonProto152: SetBuddyPokemonProto? = nil + var _getBuddyWalkedProto153: GetBuddyWalkedProto? = nil + var _useItemEncounterProto154: UseItemEncounterProto? = nil + var _gymDeployProto155: GymDeployProto? = nil + var _gymgetInfoProto156: GymGetInfoProto? = nil + var _gymStartSessionProto157: GymStartSessionProto? = nil + var _gymBattleAttackProto158: GymBattleAttackProto? = nil + var _joinLobbyProto159: JoinLobbyProto? = nil + var _leavelobbyProto160: LeaveLobbyProto? = nil + var _setLobbyVisibilityProto161: SetLobbyVisibilityProto? = nil + var _setLobbyPokemonProto162: SetLobbyPokemonProto? = nil + var _getRaidDetailsProto163: GetRaidDetailsProto? = nil + var _gymFeedPokemonProto164: GymFeedPokemonProto? = nil + var _startRaidBattleProto165: StartRaidBattleProto? = nil + var _attackRaidBattleProto166: AttackRaidBattleProto? = nil + var _useItemStardustBoostProto168: UseItemStardustBoostProto? = nil + var _reassignPlayerProto169: ReassignPlayerProto? = nil + var _convertcandyToXlcandyProto171: ConvertCandyToXlCandyProto? = nil + var _isSkuAvailableProto172: IsSkuAvailableProto? = nil + var _assetDigestRequestProto300: AssetDigestRequestProto? = nil + var _downloadURLRequestProto301: DownloadUrlRequestProto? = nil + var _assetVersionProto302: AssetVersionProto? = nil + var _claimcodenameRequestProto403: ClaimCodenameRequestProto? = nil + var _setAvatarProto404: SetAvatarProto? = nil + var _setPlayerTeamProto405: SetPlayerTeamProto? = nil + var _markTutorialCompleteProto406: MarkTutorialCompleteProto? = nil + var _setNeutralAvatarProto408: SetNeutralAvatarProto? = nil + var _checkchallengeProto600: CheckChallengeProto? = nil + var _verifyChallengeProto601: VerifyChallengeProto? = nil + var _echoProto666: EchoProto? = nil + var _registerSfidarequest800: RegisterSfidaRequest? = nil + var _sfidaCertificationRequest802: SfidaCertificationRequest? = nil + var _sfidaUpdateRequest803: SfidaUpdateRequest? = nil + var _sfidaDowserRequest805: SfidaDowserRequest? = nil + var _sfidaCaptureRequest806: SfidaCaptureRequest? = nil + var _listAvatarCustomizationsProto807: ListAvatarCustomizationsProto? = nil + var _setAvatarItemAsViewedProto808: SetAvatarItemAsViewedProto? = nil + var _listGymBadgesProto811: ListGymBadgesProto? = nil + var _getgymBadgeDetailsProto812: GetGymBadgeDetailsProto? = nil + var _useItemMoveRerollProto813: UseItemMoveRerollProto? = nil + var _useItemRareCandyProto814: UseItemRareCandyProto? = nil + var _awardFreeRaidTicketProto815: AwardFreeRaidTicketProto? = nil + var _fetchAllNewsProto816: FetchAllNewsProto? = nil + var _markReadNewsArticleProto817: MarkReadNewsArticleProto? = nil + var _belugaTransactionStartProto819: BelugaTransactionStartProto? = nil + var _belugaTransactionCompleteProto820: BelugaTransactionCompleteProto? = nil + var _sfidaAssociateRequest822: SfidaAssociateRequest? = nil + var _sfidaCheckPairingRequest823: SfidaCheckPairingRequest? = nil + var _sfidaDisassociateRequest824: SfidaDisassociateRequest? = nil + var _wainaSubmitSleepDataRequest826: WainaSubmitSleepDataRequest? = nil + var _getNewQuestsProto900: GetNewQuestsProto? = nil + var _getQuestDetailsProto901: GetQuestDetailsProto? = nil + var _completeQuestProto902: CompleteQuestProto? = nil + var _removeQuestProto903: RemoveQuestProto? = nil + var _questEncounterProto904: QuestEncounterProto? = nil + var _progressQuestproto906: ProgressQuestProto? = nil + var _sendGiftProto950: SendGiftProto? = nil + var _openGiftProto951: OpenGiftProto? = nil + var _getgiftBoxDetailsProto952: GetGiftBoxDetailsProto? = nil + var _deleteGiftProto953: DeleteGiftProto? = nil + var _savePlayersnapshotProto954: SavePlayerSnapshotProto? = nil + var _checkSendGiftProto956: CheckSendGiftProto? = nil + var _setFriendNicknameProto957: SetFriendNicknameProto? = nil + var _deleteGiftFromInventoryProto958: DeleteGiftFromInventoryProto? = nil + var _savesocialPlayersettingsProto959: SaveSocialPlayerSettingsProto? = nil + var _openTradingProto970: OpenTradingProto? = nil + var _updateTradingProto971: UpdateTradingProto? = nil + var _confirmTradingProto972: ConfirmTradingProto? = nil + var _cancelTradingProto973: CancelTradingProto? = nil + var _getTradingProto974: GetTradingProto? = nil + var _getFitnessRewardsProto980: GetFitnessRewardsProto? = nil + var _getCombatPlayerProfileProto990: GetCombatPlayerProfileProto? = nil + var _generateCombatChallengeIDProto991: GenerateCombatChallengeIdProto? = nil + var _createcombatchallengeProto992: CreateCombatChallengeProto? = nil + var _openCombatChallengeProto993: OpenCombatChallengeProto? = nil + var _getCombatChallengeProto994: GetCombatChallengeProto? = nil + var _acceptCombatChallengeProto995: AcceptCombatChallengeProto? = nil + var _declineCombatChallengeProto996: DeclineCombatChallengeProto? = nil + var _cancelcombatchallengeProto997: CancelCombatChallengeProto? = nil + var _submitCombatChallengePokemonsProto998: SubmitCombatChallengePokemonsProto? = nil + var _saveCombatPlayerPreferencesProto999: SaveCombatPlayerPreferencesProto? = nil + var _openCombatSessionProto1000: OpenCombatSessionProto? = nil + var _updateCombatProto1001: UpdateCombatProto? = nil + var _quitCombatProto1002: QuitCombatProto? = nil + var _getCombatResultsProto1003: GetCombatResultsProto? = nil + var _unlockPokemonMoveProto1004: UnlockPokemonMoveProto? = nil + var _getNpcCombatRewardsProto1005: GetNpcCombatRewardsProto? = nil + var _combatFriendRequestProto1006: CombatFriendRequestProto? = nil + var _openNpcCombatSessionProto1007: OpenNpcCombatSessionProto? = nil + var _startTutorialProto1008: StartTutorialProto? = nil + var _getTutorialEggProto1009: GetTutorialEggProto? = nil + var _sendProbeProto1020: SendProbeProto? = nil + var _checkPhotobombProto1101: CheckPhotobombProto? = nil + var _confirmPhotobombProto1102: ConfirmPhotobombProto? = nil + var _getPhotobombProto1103: GetPhotobombProto? = nil + var _encounterPhotobombProto1104: EncounterPhotobombProto? = nil + var _getgmapSettingsProto1105: GetGmapSettingsProto? = nil + var _changeTeamProto1106: ChangeTeamProto? = nil + var _getWebTokenProto1107: GetWebTokenProto? = nil + var _completeSnapshotSessionProto1110: CompleteSnapshotSessionProto? = nil + var _completeWildSnapshotSessionProto1111: CompleteWildSnapshotSessionProto? = nil + var _startIncidentProto1200: StartIncidentProto? = nil + var _completeInvasionDialogueProto1201: CompleteInvasionDialogueProto? = nil + var _openInvasionCombatSessionProto1202: OpenInvasionCombatSessionProto? = nil + var _updateInvasionBattleProto1203: UpdateInvasionBattleProto? = nil + var _invasionEncounterProto1204: InvasionEncounterProto? = nil + var _purifypokemonproto1205: PurifyPokemonProto? = nil + var _getRocketBalloonProto1206: GetRocketBalloonProto? = nil + var _startRocketBalloonIncidentProto1207: StartRocketBalloonIncidentProto? = nil + var _vsSeekerStartMatchmakingProto1300: VsSeekerStartMatchmakingProto? = nil + var _cancelMatchmakingProto1301: CancelMatchmakingProto? = nil + var _getMatchmakingStatusProto1302: GetMatchmakingStatusProto? = nil + var _completeVsSeekerAndRestartchargingProto1303: CompleteVsSeekerAndRestartChargingProto? = nil + var _getVsSeekerStatusProto1304: GetVsSeekerStatusProto? = nil + var _completecompetitiveSeasonProto1305: CompleteCompetitiveSeasonProto? = nil + var _claimVsSeekerRewardsProto1306: ClaimVsSeekerRewardsProto? = nil + var _vsSeekerRewardEncounterProto1307: VsSeekerRewardEncounterProto? = nil + var _activateVsSeekerProto1308: ActivateVsSeekerProto? = nil + var _buddyMapProto1350: BuddyMapProto? = nil + var _buddyStatsProto1351: BuddyStatsProto? = nil + var _buddyFeedingProto1352: BuddyFeedingProto? = nil + var _openBuddyGiftProto1353: OpenBuddyGiftProto? = nil + var _buddyPettingProto1354: BuddyPettingProto? = nil + var _getBuddyHistoryProto1355: GetBuddyHistoryProto? = nil + var _updateRouteDraftProto1400: UpdateRouteDraftProto? = nil + var _getMapFortsProto1401: GetMapFortsProto? = nil + var _submitRouteDraftProto1402: SubmitRouteDraftProto? = nil + var _getPublishedRoutesProto1403: GetPublishedRoutesProto? = nil + var _startRouteProto1404: StartRouteProto? = nil + var _getRoutesProto1405: GetRoutesProto? = nil + var _progressRouteproto1406: ProgressRouteProto? = nil + var _listRouteBadgesProto1409: ListRouteBadgesProto? = nil + var _cancelRouteProto1410: CancelRouteProto? = nil + var _npcRouteGiftProto1423: NpcRouteGiftProto? = nil + var _createBuddyMultiplayerSessionProto1456: CreateBuddyMultiplayerSessionProto? = nil + var _joinBuddyMultiplayerSessionProto1457: JoinBuddyMultiplayerSessionProto? = nil + var _leaveBuddyMultiplayerSessionProto1458: LeaveBuddyMultiplayerSessionProto? = nil + var _getTodayViewProto1501: GetTodayViewProto? = nil + var _megaEvolvePokemonProto1502: MegaEvolvePokemonProto? = nil + var _remoteGiftPingrequestProto1503: RemoteGiftPingRequestProto? = nil + var _sendRaidInvitationProto1504: SendRaidInvitationProto? = nil + var _getDailyEncounterProto1601: GetDailyEncounterProto? = nil + var _dailyEncounterProto1602: DailyEncounterProto? = nil + var _openSponsoredGiftProto1650: OpenSponsoredGiftProto? = nil + var _savePlayerPreferencesProto1652: SavePlayerPreferencesProto? = nil + var _profanityCheckproto1653: ProfanityCheckProto? = nil + var _getTimedgroupChallengeProto1700: GetTimedGroupChallengeProto? = nil + var _getNintendoAccountProto1710: GetNintendoAccountProto? = nil + var _unlinkNintendoAccountProto1711: UnlinkNintendoAccountProto? = nil + var _getNintendoOAuth2URLProto1712: GetNintendoOAuth2UrlProto? = nil + var _transferPokemontoPokemonHomeProto1713: TransferPokemonToPokemonHomeProto? = nil + var _reportAdFeedbackrequest1716: ReportAdFeedbackRequest? = nil + var _createPokemonTagProto1717: CreatePokemonTagProto? = nil + var _deletePokemonTagProto1718: DeletePokemonTagProto? = nil + var _editPokemonTagProto1719: EditPokemonTagProto? = nil + var _setPokemonTagsForPokemonProto1720: SetPokemonTagsForPokemonProto? = nil + var _getPokemonTagsProto1721: GetPokemonTagsProto? = nil + var _changePokemonFormProto1722: ChangePokemonFormProto? = nil + var _chooseGlobalTicketedEventVariantProto1723: ChooseGlobalTicketedEventVariantProto? = nil + var _getReferralCodeProto1800: GetReferralCodeProto? = nil + var _addReferrerProto1801: AddReferrerProto? = nil + var _sendFriendInviteViaReferralCodeProto1802: SendFriendInviteViaReferralCodeProto? = nil + var _getMilestonesProto1803: GetMilestonesProto? = nil + var _markmilestoneAsViewedProto1804: MarkMilestoneAsViewedProto? = nil + var _getMilestonesPreviewProto1805: GetMilestonesPreviewProto? = nil + var _completeMilestoneProto1806: CompleteMilestoneProto? = nil + var _getgeofencedAdProto1820: GetGeofencedAdProto? = nil + var _deletePostcardsProto1909: DeletePostcardsProto? = nil + var _createPostcardProto1910: CreatePostcardProto? = nil + var _updatePostcardProto1911: UpdatePostcardProto? = nil + var _deletePostcardProto1912: DeletePostcardProto? = nil + var _getMementoListProto1913: GetMementoListProto? = nil + var _uploadRaidClientLogProto1914: UploadRaidClientLogProto? = nil + var _checkGiftingEligibilityProto2000: CheckGiftingEligibilityProto? = nil + var _redeemTicketGiftForFriendProto2001: RedeemTicketGiftForFriendProto? = nil + var _getPokestopEncounterProto2005: GetPokestopEncounterProto? = nil + var _encounterPokestopencounterProto2006: EncounterPokestopEncounterProto? = nil + var _playerSpawnablepokemonproto2007: PlayerSpawnablePokemonProto? = nil + var _sendFriendRequestViaPlayerIDProto2010: SendFriendRequestViaPlayerIdProto? = nil + var _getRaidLobbyCounterProto2011: GetRaidLobbyCounterProto? = nil + var _useNonCombatMoveRequestProto2014: UseNonCombatMoveRequestProto? = nil + var _getContestDataProto2105: GetContestDataProto? = nil + var _getContestsUnclaimedRewardsProto2106: GetContestsUnclaimedRewardsProto? = nil + var _claimcontestsRewardsProto2107: ClaimContestsRewardsProto? = nil + var _getEnteredContestProto2108: GetEnteredContestProto? = nil + var _badgeRewardEncounterRequestProto2360: BadgeRewardEncounterRequestProto? = nil + var _npcUpdateStateProto2400: NpcUpdateStateProto? = nil + var _npcSendGiftProto2401: NpcSendGiftProto? = nil + var _npcOpenGiftProto2402: NpcOpenGiftProto? = nil + var _getVpsEventProto3000: GetVpsEventProto? = nil + var _updateVpsEventProto3001: UpdateVpsEventProto? = nil + var _pushNotificationRegistryproto5000: PushNotificationRegistryProto? = nil + var _updateNotificationProto5002: UpdateNotificationProto? = nil + var _downloadGmTemplatesRequestProto5004: DownloadGmTemplatesRequestProto? = nil + var _getInventoryProto5005: GetInventoryProto? = nil + var _redeemPasscoderequestProto5006: RedeemPasscodeRequestProto? = nil + var _pingRequestproto5007: PingRequestProto? = nil + var _addLoginactionProto5008: AddLoginActionProto? = nil + var _removeLoginActionProto5009: RemoveLoginActionProto? = nil + var _submitNewPoiProto5011: SubmitNewPoiProto? = nil + var _proxyRequestproto5012: ProxyRequestProto? = nil + var _getAvailableSubmissionsProto5014: GetAvailableSubmissionsProto? = nil + var _replaceLoginActionProto5015: ReplaceLoginActionProto? = nil + var _clientTelemetryBatchProto5018: ClientTelemetryBatchProto? = nil + var _fitnessUpdateProto5024: FitnessUpdateProto? = nil + var _getFitnessReportProto5025: GetFitnessReportProto? = nil + var _clientTelemetrySettingsRequestProto5026: ClientTelemetrySettingsRequestProto? = nil + var _setInGameCurrencyExchangeRateProto5032: SetInGameCurrencyExchangeRateProto? = nil + var _geofenceUpdateProto5033: GeofenceUpdateProto? = nil + var _locationPingProto5034: LocationPingProto? = nil + var _generategmapSignedURLProto5035: GenerateGmapSignedUrlProto? = nil + var _getgmapSettingsProto5036: GetGmapSettingsProto? = nil + var _getOutstandingWarningsRequestProto5039: GetOutstandingWarningsRequestProto? = nil + var _acknowledgeWarningsRequestProto5040: AcknowledgeWarningsRequestProto? = nil + var _getWebTokenProto5045: GetWebTokenProto? = nil + var _getAdventureSyncSettingsRequestProto5046: GetAdventureSyncSettingsRequestProto? = nil + var _updateAdventureSyncSettingsRequestProto5047: UpdateAdventureSyncSettingsRequestProto? = nil + var _setBirthdayRequestProto5048: SetBirthdayRequestProto? = nil + var _savesocialPlayersettingsProto10016: SaveSocialPlayerSettingsProto? = nil + var _pushNotificationRegistryproto10101: PushNotificationRegistryProto? = nil + var _updateNotificationProto10103: UpdateNotificationProto? = nil + var _getOutstandingWarningsRequestProto200000: GetOutstandingWarningsRequestProto? = nil + var _acknowledgeWarningsRequestProto200001: AcknowledgeWarningsRequestProto? = nil + var _getAdventureSyncProgressProto230002: GetAdventureSyncProgressProto? = nil + var _setInGameCurrencyExchangeRateProto310002: SetInGameCurrencyExchangeRateProto? = nil + var _geofenceUpdateProto360000: GeofenceUpdateProto? = nil + var _locationPingProto360001: LocationPingProto? = nil + var _updateBreadcrumbHistoryRequestProto361000: UpdateBreadcrumbHistoryRequestProto? = nil + var _refreshProximityTokensrequestProto362000: RefreshProximityTokensRequestProto? = nil + var _reportProximityContactsrequestProto362001: ReportProximityContactsRequestProto? = nil + var _submitNewPoiProto620000: SubmitNewPoiProto? = nil + var _getAvailableSubmissionsProto620001: GetAvailableSubmissionsProto? = nil + var _generategmapSignedURLProto620300: GenerateGmapSignedUrlProto? = nil + var _getgmapSettingsProto620301: GetGmapSettingsProto? = nil + var _fitnessUpdateProto640000: FitnessUpdateProto? = nil + var _getFitnessReportProto640001: GetFitnessReportProto? = nil + var _getAdventureSyncSettingsRequestProto640002: GetAdventureSyncSettingsRequestProto? = nil + var _updateAdventureSyncSettingsRequestProto640003: UpdateAdventureSyncSettingsRequestProto? = nil + var _updateAdventureSyncFitnessRequestProto640004: UpdateAdventureSyncFitnessRequestProto? = nil + var _getAdventureSyncFitnessReportRequestProto640005: GetAdventureSyncFitnessReportRequestProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _result = source._result - _battleLog = source._battleLog - _battleID = source._battleID - _activeDefender = source._activeDefender - _activeAttacker = source._activeAttacker - _battleUpdate = source._battleUpdate + _getPlayerProto2 = source._getPlayerProto2 + _getHoloholoInventoryProto4 = source._getHoloholoInventoryProto4 + _downloadSettingsActionProto5 = source._downloadSettingsActionProto5 + _getgameMasterClientTemplatesProto6 = source._getgameMasterClientTemplatesProto6 + _getRemoteConfigVersionsProto7 = source._getRemoteConfigVersionsProto7 + _registerBackgroundDeviceActionProto8 = source._registerBackgroundDeviceActionProto8 + _getPlayerDayProto9 = source._getPlayerDayProto9 + _acknowledgePunishmentProto10 = source._acknowledgePunishmentProto10 + _getServerTimeProto11 = source._getServerTimeProto11 + _getLocalTimeProto12 = source._getLocalTimeProto12 + _fortSearchProto101 = source._fortSearchProto101 + _encounterProto102 = source._encounterProto102 + _catchPokemonProto103 = source._catchPokemonProto103 + _fortDetailsProto104 = source._fortDetailsProto104 + _getMapObjectsProto106 = source._getMapObjectsProto106 + _fortDeployProto110 = source._fortDeployProto110 + _fortRecallProto111 = source._fortRecallProto111 + _releasePokemonProto112 = source._releasePokemonProto112 + _useItemPotionProto113 = source._useItemPotionProto113 + _useItemCaptureProto114 = source._useItemCaptureProto114 + _useItemReviveProto116 = source._useItemReviveProto116 + _playerprofileproto121 = source._playerprofileproto121 + _evolvePokemonProto125 = source._evolvePokemonProto125 + _getHatchedEggsProto126 = source._getHatchedEggsProto126 + _encounterTutorialCompleteProto127 = source._encounterTutorialCompleteProto127 + _levelUpRewardsProto128 = source._levelUpRewardsProto128 + _checkAwardedBadgesProto129 = source._checkAwardedBadgesProto129 + _recycleItemProto137 = source._recycleItemProto137 + _collectDailyBonusProto138 = source._collectDailyBonusProto138 + _useItemXpBoostProto139 = source._useItemXpBoostProto139 + _useItemEggIncubatorProto140 = source._useItemEggIncubatorProto140 + _useIncenseActionProto141 = source._useIncenseActionProto141 + _getIncensePokemonProto142 = source._getIncensePokemonProto142 + _incenseEncounterProto143 = source._incenseEncounterProto143 + _addFortModifierProto144 = source._addFortModifierProto144 + _diskEncounterProto145 = source._diskEncounterProto145 + _upgradePokemonProto147 = source._upgradePokemonProto147 + _setFavoritePokemonProto148 = source._setFavoritePokemonProto148 + _nicknamePokemonProto149 = source._nicknamePokemonProto149 + _setContactsettingsProto151 = source._setContactsettingsProto151 + _setBuddyPokemonProto152 = source._setBuddyPokemonProto152 + _getBuddyWalkedProto153 = source._getBuddyWalkedProto153 + _useItemEncounterProto154 = source._useItemEncounterProto154 + _gymDeployProto155 = source._gymDeployProto155 + _gymgetInfoProto156 = source._gymgetInfoProto156 + _gymStartSessionProto157 = source._gymStartSessionProto157 + _gymBattleAttackProto158 = source._gymBattleAttackProto158 + _joinLobbyProto159 = source._joinLobbyProto159 + _leavelobbyProto160 = source._leavelobbyProto160 + _setLobbyVisibilityProto161 = source._setLobbyVisibilityProto161 + _setLobbyPokemonProto162 = source._setLobbyPokemonProto162 + _getRaidDetailsProto163 = source._getRaidDetailsProto163 + _gymFeedPokemonProto164 = source._gymFeedPokemonProto164 + _startRaidBattleProto165 = source._startRaidBattleProto165 + _attackRaidBattleProto166 = source._attackRaidBattleProto166 + _useItemStardustBoostProto168 = source._useItemStardustBoostProto168 + _reassignPlayerProto169 = source._reassignPlayerProto169 + _convertcandyToXlcandyProto171 = source._convertcandyToXlcandyProto171 + _isSkuAvailableProto172 = source._isSkuAvailableProto172 + _assetDigestRequestProto300 = source._assetDigestRequestProto300 + _downloadURLRequestProto301 = source._downloadURLRequestProto301 + _assetVersionProto302 = source._assetVersionProto302 + _claimcodenameRequestProto403 = source._claimcodenameRequestProto403 + _setAvatarProto404 = source._setAvatarProto404 + _setPlayerTeamProto405 = source._setPlayerTeamProto405 + _markTutorialCompleteProto406 = source._markTutorialCompleteProto406 + _setNeutralAvatarProto408 = source._setNeutralAvatarProto408 + _checkchallengeProto600 = source._checkchallengeProto600 + _verifyChallengeProto601 = source._verifyChallengeProto601 + _echoProto666 = source._echoProto666 + _registerSfidarequest800 = source._registerSfidarequest800 + _sfidaCertificationRequest802 = source._sfidaCertificationRequest802 + _sfidaUpdateRequest803 = source._sfidaUpdateRequest803 + _sfidaDowserRequest805 = source._sfidaDowserRequest805 + _sfidaCaptureRequest806 = source._sfidaCaptureRequest806 + _listAvatarCustomizationsProto807 = source._listAvatarCustomizationsProto807 + _setAvatarItemAsViewedProto808 = source._setAvatarItemAsViewedProto808 + _listGymBadgesProto811 = source._listGymBadgesProto811 + _getgymBadgeDetailsProto812 = source._getgymBadgeDetailsProto812 + _useItemMoveRerollProto813 = source._useItemMoveRerollProto813 + _useItemRareCandyProto814 = source._useItemRareCandyProto814 + _awardFreeRaidTicketProto815 = source._awardFreeRaidTicketProto815 + _fetchAllNewsProto816 = source._fetchAllNewsProto816 + _markReadNewsArticleProto817 = source._markReadNewsArticleProto817 + _belugaTransactionStartProto819 = source._belugaTransactionStartProto819 + _belugaTransactionCompleteProto820 = source._belugaTransactionCompleteProto820 + _sfidaAssociateRequest822 = source._sfidaAssociateRequest822 + _sfidaCheckPairingRequest823 = source._sfidaCheckPairingRequest823 + _sfidaDisassociateRequest824 = source._sfidaDisassociateRequest824 + _wainaSubmitSleepDataRequest826 = source._wainaSubmitSleepDataRequest826 + _getNewQuestsProto900 = source._getNewQuestsProto900 + _getQuestDetailsProto901 = source._getQuestDetailsProto901 + _completeQuestProto902 = source._completeQuestProto902 + _removeQuestProto903 = source._removeQuestProto903 + _questEncounterProto904 = source._questEncounterProto904 + _progressQuestproto906 = source._progressQuestproto906 + _sendGiftProto950 = source._sendGiftProto950 + _openGiftProto951 = source._openGiftProto951 + _getgiftBoxDetailsProto952 = source._getgiftBoxDetailsProto952 + _deleteGiftProto953 = source._deleteGiftProto953 + _savePlayersnapshotProto954 = source._savePlayersnapshotProto954 + _checkSendGiftProto956 = source._checkSendGiftProto956 + _setFriendNicknameProto957 = source._setFriendNicknameProto957 + _deleteGiftFromInventoryProto958 = source._deleteGiftFromInventoryProto958 + _savesocialPlayersettingsProto959 = source._savesocialPlayersettingsProto959 + _openTradingProto970 = source._openTradingProto970 + _updateTradingProto971 = source._updateTradingProto971 + _confirmTradingProto972 = source._confirmTradingProto972 + _cancelTradingProto973 = source._cancelTradingProto973 + _getTradingProto974 = source._getTradingProto974 + _getFitnessRewardsProto980 = source._getFitnessRewardsProto980 + _getCombatPlayerProfileProto990 = source._getCombatPlayerProfileProto990 + _generateCombatChallengeIDProto991 = source._generateCombatChallengeIDProto991 + _createcombatchallengeProto992 = source._createcombatchallengeProto992 + _openCombatChallengeProto993 = source._openCombatChallengeProto993 + _getCombatChallengeProto994 = source._getCombatChallengeProto994 + _acceptCombatChallengeProto995 = source._acceptCombatChallengeProto995 + _declineCombatChallengeProto996 = source._declineCombatChallengeProto996 + _cancelcombatchallengeProto997 = source._cancelcombatchallengeProto997 + _submitCombatChallengePokemonsProto998 = source._submitCombatChallengePokemonsProto998 + _saveCombatPlayerPreferencesProto999 = source._saveCombatPlayerPreferencesProto999 + _openCombatSessionProto1000 = source._openCombatSessionProto1000 + _updateCombatProto1001 = source._updateCombatProto1001 + _quitCombatProto1002 = source._quitCombatProto1002 + _getCombatResultsProto1003 = source._getCombatResultsProto1003 + _unlockPokemonMoveProto1004 = source._unlockPokemonMoveProto1004 + _getNpcCombatRewardsProto1005 = source._getNpcCombatRewardsProto1005 + _combatFriendRequestProto1006 = source._combatFriendRequestProto1006 + _openNpcCombatSessionProto1007 = source._openNpcCombatSessionProto1007 + _startTutorialProto1008 = source._startTutorialProto1008 + _getTutorialEggProto1009 = source._getTutorialEggProto1009 + _sendProbeProto1020 = source._sendProbeProto1020 + _checkPhotobombProto1101 = source._checkPhotobombProto1101 + _confirmPhotobombProto1102 = source._confirmPhotobombProto1102 + _getPhotobombProto1103 = source._getPhotobombProto1103 + _encounterPhotobombProto1104 = source._encounterPhotobombProto1104 + _getgmapSettingsProto1105 = source._getgmapSettingsProto1105 + _changeTeamProto1106 = source._changeTeamProto1106 + _getWebTokenProto1107 = source._getWebTokenProto1107 + _completeSnapshotSessionProto1110 = source._completeSnapshotSessionProto1110 + _completeWildSnapshotSessionProto1111 = source._completeWildSnapshotSessionProto1111 + _startIncidentProto1200 = source._startIncidentProto1200 + _completeInvasionDialogueProto1201 = source._completeInvasionDialogueProto1201 + _openInvasionCombatSessionProto1202 = source._openInvasionCombatSessionProto1202 + _updateInvasionBattleProto1203 = source._updateInvasionBattleProto1203 + _invasionEncounterProto1204 = source._invasionEncounterProto1204 + _purifypokemonproto1205 = source._purifypokemonproto1205 + _getRocketBalloonProto1206 = source._getRocketBalloonProto1206 + _startRocketBalloonIncidentProto1207 = source._startRocketBalloonIncidentProto1207 + _vsSeekerStartMatchmakingProto1300 = source._vsSeekerStartMatchmakingProto1300 + _cancelMatchmakingProto1301 = source._cancelMatchmakingProto1301 + _getMatchmakingStatusProto1302 = source._getMatchmakingStatusProto1302 + _completeVsSeekerAndRestartchargingProto1303 = source._completeVsSeekerAndRestartchargingProto1303 + _getVsSeekerStatusProto1304 = source._getVsSeekerStatusProto1304 + _completecompetitiveSeasonProto1305 = source._completecompetitiveSeasonProto1305 + _claimVsSeekerRewardsProto1306 = source._claimVsSeekerRewardsProto1306 + _vsSeekerRewardEncounterProto1307 = source._vsSeekerRewardEncounterProto1307 + _activateVsSeekerProto1308 = source._activateVsSeekerProto1308 + _buddyMapProto1350 = source._buddyMapProto1350 + _buddyStatsProto1351 = source._buddyStatsProto1351 + _buddyFeedingProto1352 = source._buddyFeedingProto1352 + _openBuddyGiftProto1353 = source._openBuddyGiftProto1353 + _buddyPettingProto1354 = source._buddyPettingProto1354 + _getBuddyHistoryProto1355 = source._getBuddyHistoryProto1355 + _updateRouteDraftProto1400 = source._updateRouteDraftProto1400 + _getMapFortsProto1401 = source._getMapFortsProto1401 + _submitRouteDraftProto1402 = source._submitRouteDraftProto1402 + _getPublishedRoutesProto1403 = source._getPublishedRoutesProto1403 + _startRouteProto1404 = source._startRouteProto1404 + _getRoutesProto1405 = source._getRoutesProto1405 + _progressRouteproto1406 = source._progressRouteproto1406 + _listRouteBadgesProto1409 = source._listRouteBadgesProto1409 + _cancelRouteProto1410 = source._cancelRouteProto1410 + _npcRouteGiftProto1423 = source._npcRouteGiftProto1423 + _createBuddyMultiplayerSessionProto1456 = source._createBuddyMultiplayerSessionProto1456 + _joinBuddyMultiplayerSessionProto1457 = source._joinBuddyMultiplayerSessionProto1457 + _leaveBuddyMultiplayerSessionProto1458 = source._leaveBuddyMultiplayerSessionProto1458 + _getTodayViewProto1501 = source._getTodayViewProto1501 + _megaEvolvePokemonProto1502 = source._megaEvolvePokemonProto1502 + _remoteGiftPingrequestProto1503 = source._remoteGiftPingrequestProto1503 + _sendRaidInvitationProto1504 = source._sendRaidInvitationProto1504 + _getDailyEncounterProto1601 = source._getDailyEncounterProto1601 + _dailyEncounterProto1602 = source._dailyEncounterProto1602 + _openSponsoredGiftProto1650 = source._openSponsoredGiftProto1650 + _savePlayerPreferencesProto1652 = source._savePlayerPreferencesProto1652 + _profanityCheckproto1653 = source._profanityCheckproto1653 + _getTimedgroupChallengeProto1700 = source._getTimedgroupChallengeProto1700 + _getNintendoAccountProto1710 = source._getNintendoAccountProto1710 + _unlinkNintendoAccountProto1711 = source._unlinkNintendoAccountProto1711 + _getNintendoOAuth2URLProto1712 = source._getNintendoOAuth2URLProto1712 + _transferPokemontoPokemonHomeProto1713 = source._transferPokemontoPokemonHomeProto1713 + _reportAdFeedbackrequest1716 = source._reportAdFeedbackrequest1716 + _createPokemonTagProto1717 = source._createPokemonTagProto1717 + _deletePokemonTagProto1718 = source._deletePokemonTagProto1718 + _editPokemonTagProto1719 = source._editPokemonTagProto1719 + _setPokemonTagsForPokemonProto1720 = source._setPokemonTagsForPokemonProto1720 + _getPokemonTagsProto1721 = source._getPokemonTagsProto1721 + _changePokemonFormProto1722 = source._changePokemonFormProto1722 + _chooseGlobalTicketedEventVariantProto1723 = source._chooseGlobalTicketedEventVariantProto1723 + _getReferralCodeProto1800 = source._getReferralCodeProto1800 + _addReferrerProto1801 = source._addReferrerProto1801 + _sendFriendInviteViaReferralCodeProto1802 = source._sendFriendInviteViaReferralCodeProto1802 + _getMilestonesProto1803 = source._getMilestonesProto1803 + _markmilestoneAsViewedProto1804 = source._markmilestoneAsViewedProto1804 + _getMilestonesPreviewProto1805 = source._getMilestonesPreviewProto1805 + _completeMilestoneProto1806 = source._completeMilestoneProto1806 + _getgeofencedAdProto1820 = source._getgeofencedAdProto1820 + _deletePostcardsProto1909 = source._deletePostcardsProto1909 + _createPostcardProto1910 = source._createPostcardProto1910 + _updatePostcardProto1911 = source._updatePostcardProto1911 + _deletePostcardProto1912 = source._deletePostcardProto1912 + _getMementoListProto1913 = source._getMementoListProto1913 + _uploadRaidClientLogProto1914 = source._uploadRaidClientLogProto1914 + _checkGiftingEligibilityProto2000 = source._checkGiftingEligibilityProto2000 + _redeemTicketGiftForFriendProto2001 = source._redeemTicketGiftForFriendProto2001 + _getPokestopEncounterProto2005 = source._getPokestopEncounterProto2005 + _encounterPokestopencounterProto2006 = source._encounterPokestopencounterProto2006 + _playerSpawnablepokemonproto2007 = source._playerSpawnablepokemonproto2007 + _sendFriendRequestViaPlayerIDProto2010 = source._sendFriendRequestViaPlayerIDProto2010 + _getRaidLobbyCounterProto2011 = source._getRaidLobbyCounterProto2011 + _useNonCombatMoveRequestProto2014 = source._useNonCombatMoveRequestProto2014 + _getContestDataProto2105 = source._getContestDataProto2105 + _getContestsUnclaimedRewardsProto2106 = source._getContestsUnclaimedRewardsProto2106 + _claimcontestsRewardsProto2107 = source._claimcontestsRewardsProto2107 + _getEnteredContestProto2108 = source._getEnteredContestProto2108 + _badgeRewardEncounterRequestProto2360 = source._badgeRewardEncounterRequestProto2360 + _npcUpdateStateProto2400 = source._npcUpdateStateProto2400 + _npcSendGiftProto2401 = source._npcSendGiftProto2401 + _npcOpenGiftProto2402 = source._npcOpenGiftProto2402 + _getVpsEventProto3000 = source._getVpsEventProto3000 + _updateVpsEventProto3001 = source._updateVpsEventProto3001 + _pushNotificationRegistryproto5000 = source._pushNotificationRegistryproto5000 + _updateNotificationProto5002 = source._updateNotificationProto5002 + _downloadGmTemplatesRequestProto5004 = source._downloadGmTemplatesRequestProto5004 + _getInventoryProto5005 = source._getInventoryProto5005 + _redeemPasscoderequestProto5006 = source._redeemPasscoderequestProto5006 + _pingRequestproto5007 = source._pingRequestproto5007 + _addLoginactionProto5008 = source._addLoginactionProto5008 + _removeLoginActionProto5009 = source._removeLoginActionProto5009 + _submitNewPoiProto5011 = source._submitNewPoiProto5011 + _proxyRequestproto5012 = source._proxyRequestproto5012 + _getAvailableSubmissionsProto5014 = source._getAvailableSubmissionsProto5014 + _replaceLoginActionProto5015 = source._replaceLoginActionProto5015 + _clientTelemetryBatchProto5018 = source._clientTelemetryBatchProto5018 + _fitnessUpdateProto5024 = source._fitnessUpdateProto5024 + _getFitnessReportProto5025 = source._getFitnessReportProto5025 + _clientTelemetrySettingsRequestProto5026 = source._clientTelemetrySettingsRequestProto5026 + _setInGameCurrencyExchangeRateProto5032 = source._setInGameCurrencyExchangeRateProto5032 + _geofenceUpdateProto5033 = source._geofenceUpdateProto5033 + _locationPingProto5034 = source._locationPingProto5034 + _generategmapSignedURLProto5035 = source._generategmapSignedURLProto5035 + _getgmapSettingsProto5036 = source._getgmapSettingsProto5036 + _getOutstandingWarningsRequestProto5039 = source._getOutstandingWarningsRequestProto5039 + _acknowledgeWarningsRequestProto5040 = source._acknowledgeWarningsRequestProto5040 + _getWebTokenProto5045 = source._getWebTokenProto5045 + _getAdventureSyncSettingsRequestProto5046 = source._getAdventureSyncSettingsRequestProto5046 + _updateAdventureSyncSettingsRequestProto5047 = source._updateAdventureSyncSettingsRequestProto5047 + _setBirthdayRequestProto5048 = source._setBirthdayRequestProto5048 + _savesocialPlayersettingsProto10016 = source._savesocialPlayersettingsProto10016 + _pushNotificationRegistryproto10101 = source._pushNotificationRegistryproto10101 + _updateNotificationProto10103 = source._updateNotificationProto10103 + _getOutstandingWarningsRequestProto200000 = source._getOutstandingWarningsRequestProto200000 + _acknowledgeWarningsRequestProto200001 = source._acknowledgeWarningsRequestProto200001 + _getAdventureSyncProgressProto230002 = source._getAdventureSyncProgressProto230002 + _setInGameCurrencyExchangeRateProto310002 = source._setInGameCurrencyExchangeRateProto310002 + _geofenceUpdateProto360000 = source._geofenceUpdateProto360000 + _locationPingProto360001 = source._locationPingProto360001 + _updateBreadcrumbHistoryRequestProto361000 = source._updateBreadcrumbHistoryRequestProto361000 + _refreshProximityTokensrequestProto362000 = source._refreshProximityTokensrequestProto362000 + _reportProximityContactsrequestProto362001 = source._reportProximityContactsrequestProto362001 + _submitNewPoiProto620000 = source._submitNewPoiProto620000 + _getAvailableSubmissionsProto620001 = source._getAvailableSubmissionsProto620001 + _generategmapSignedURLProto620300 = source._generategmapSignedURLProto620300 + _getgmapSettingsProto620301 = source._getgmapSettingsProto620301 + _fitnessUpdateProto640000 = source._fitnessUpdateProto640000 + _getFitnessReportProto640001 = source._getFitnessReportProto640001 + _getAdventureSyncSettingsRequestProto640002 = source._getAdventureSyncSettingsRequestProto640002 + _updateAdventureSyncSettingsRequestProto640003 = source._updateAdventureSyncSettingsRequestProto640003 + _updateAdventureSyncFitnessRequestProto640004 = source._updateAdventureSyncFitnessRequestProto640004 + _getAdventureSyncFitnessReportRequestProto640005 = source._getAdventureSyncFitnessReportRequestProto640005 } } @@ -166465,12 +167288,286 @@ extension AttackGymOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._battleLog) }() - case 3: try { try decoder.decodeSingularStringField(value: &_storage._battleID) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._activeDefender) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._activeAttacker) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._battleUpdate) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerProto2) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._getHoloholoInventoryProto4) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._downloadSettingsActionProto5) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._getgameMasterClientTemplatesProto6) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._getRemoteConfigVersionsProto7) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._registerBackgroundDeviceActionProto8) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerDayProto9) }() + case 10: try { try decoder.decodeSingularMessageField(value: &_storage._acknowledgePunishmentProto10) }() + case 11: try { try decoder.decodeSingularMessageField(value: &_storage._getServerTimeProto11) }() + case 12: try { try decoder.decodeSingularMessageField(value: &_storage._getLocalTimeProto12) }() + case 101: try { try decoder.decodeSingularMessageField(value: &_storage._fortSearchProto101) }() + case 102: try { try decoder.decodeSingularMessageField(value: &_storage._encounterProto102) }() + case 103: try { try decoder.decodeSingularMessageField(value: &_storage._catchPokemonProto103) }() + case 104: try { try decoder.decodeSingularMessageField(value: &_storage._fortDetailsProto104) }() + case 106: try { try decoder.decodeSingularMessageField(value: &_storage._getMapObjectsProto106) }() + case 110: try { try decoder.decodeSingularMessageField(value: &_storage._fortDeployProto110) }() + case 111: try { try decoder.decodeSingularMessageField(value: &_storage._fortRecallProto111) }() + case 112: try { try decoder.decodeSingularMessageField(value: &_storage._releasePokemonProto112) }() + case 113: try { try decoder.decodeSingularMessageField(value: &_storage._useItemPotionProto113) }() + case 114: try { try decoder.decodeSingularMessageField(value: &_storage._useItemCaptureProto114) }() + case 116: try { try decoder.decodeSingularMessageField(value: &_storage._useItemReviveProto116) }() + case 121: try { try decoder.decodeSingularMessageField(value: &_storage._playerprofileproto121) }() + case 125: try { try decoder.decodeSingularMessageField(value: &_storage._evolvePokemonProto125) }() + case 126: try { try decoder.decodeSingularMessageField(value: &_storage._getHatchedEggsProto126) }() + case 127: try { try decoder.decodeSingularMessageField(value: &_storage._encounterTutorialCompleteProto127) }() + case 128: try { try decoder.decodeSingularMessageField(value: &_storage._levelUpRewardsProto128) }() + case 129: try { try decoder.decodeSingularMessageField(value: &_storage._checkAwardedBadgesProto129) }() + case 137: try { try decoder.decodeSingularMessageField(value: &_storage._recycleItemProto137) }() + case 138: try { try decoder.decodeSingularMessageField(value: &_storage._collectDailyBonusProto138) }() + case 139: try { try decoder.decodeSingularMessageField(value: &_storage._useItemXpBoostProto139) }() + case 140: try { try decoder.decodeSingularMessageField(value: &_storage._useItemEggIncubatorProto140) }() + case 141: try { try decoder.decodeSingularMessageField(value: &_storage._useIncenseActionProto141) }() + case 142: try { try decoder.decodeSingularMessageField(value: &_storage._getIncensePokemonProto142) }() + case 143: try { try decoder.decodeSingularMessageField(value: &_storage._incenseEncounterProto143) }() + case 144: try { try decoder.decodeSingularMessageField(value: &_storage._addFortModifierProto144) }() + case 145: try { try decoder.decodeSingularMessageField(value: &_storage._diskEncounterProto145) }() + case 147: try { try decoder.decodeSingularMessageField(value: &_storage._upgradePokemonProto147) }() + case 148: try { try decoder.decodeSingularMessageField(value: &_storage._setFavoritePokemonProto148) }() + case 149: try { try decoder.decodeSingularMessageField(value: &_storage._nicknamePokemonProto149) }() + case 151: try { try decoder.decodeSingularMessageField(value: &_storage._setContactsettingsProto151) }() + case 152: try { try decoder.decodeSingularMessageField(value: &_storage._setBuddyPokemonProto152) }() + case 153: try { try decoder.decodeSingularMessageField(value: &_storage._getBuddyWalkedProto153) }() + case 154: try { try decoder.decodeSingularMessageField(value: &_storage._useItemEncounterProto154) }() + case 155: try { try decoder.decodeSingularMessageField(value: &_storage._gymDeployProto155) }() + case 156: try { try decoder.decodeSingularMessageField(value: &_storage._gymgetInfoProto156) }() + case 157: try { try decoder.decodeSingularMessageField(value: &_storage._gymStartSessionProto157) }() + case 158: try { try decoder.decodeSingularMessageField(value: &_storage._gymBattleAttackProto158) }() + case 159: try { try decoder.decodeSingularMessageField(value: &_storage._joinLobbyProto159) }() + case 160: try { try decoder.decodeSingularMessageField(value: &_storage._leavelobbyProto160) }() + case 161: try { try decoder.decodeSingularMessageField(value: &_storage._setLobbyVisibilityProto161) }() + case 162: try { try decoder.decodeSingularMessageField(value: &_storage._setLobbyPokemonProto162) }() + case 163: try { try decoder.decodeSingularMessageField(value: &_storage._getRaidDetailsProto163) }() + case 164: try { try decoder.decodeSingularMessageField(value: &_storage._gymFeedPokemonProto164) }() + case 165: try { try decoder.decodeSingularMessageField(value: &_storage._startRaidBattleProto165) }() + case 166: try { try decoder.decodeSingularMessageField(value: &_storage._attackRaidBattleProto166) }() + case 168: try { try decoder.decodeSingularMessageField(value: &_storage._useItemStardustBoostProto168) }() + case 169: try { try decoder.decodeSingularMessageField(value: &_storage._reassignPlayerProto169) }() + case 171: try { try decoder.decodeSingularMessageField(value: &_storage._convertcandyToXlcandyProto171) }() + case 172: try { try decoder.decodeSingularMessageField(value: &_storage._isSkuAvailableProto172) }() + case 300: try { try decoder.decodeSingularMessageField(value: &_storage._assetDigestRequestProto300) }() + case 301: try { try decoder.decodeSingularMessageField(value: &_storage._downloadURLRequestProto301) }() + case 302: try { try decoder.decodeSingularMessageField(value: &_storage._assetVersionProto302) }() + case 403: try { try decoder.decodeSingularMessageField(value: &_storage._claimcodenameRequestProto403) }() + case 404: try { try decoder.decodeSingularMessageField(value: &_storage._setAvatarProto404) }() + case 405: try { try decoder.decodeSingularMessageField(value: &_storage._setPlayerTeamProto405) }() + case 406: try { try decoder.decodeSingularMessageField(value: &_storage._markTutorialCompleteProto406) }() + case 408: try { try decoder.decodeSingularMessageField(value: &_storage._setNeutralAvatarProto408) }() + case 600: try { try decoder.decodeSingularMessageField(value: &_storage._checkchallengeProto600) }() + case 601: try { try decoder.decodeSingularMessageField(value: &_storage._verifyChallengeProto601) }() + case 666: try { try decoder.decodeSingularMessageField(value: &_storage._echoProto666) }() + case 800: try { try decoder.decodeSingularMessageField(value: &_storage._registerSfidarequest800) }() + case 802: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCertificationRequest802) }() + case 803: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaUpdateRequest803) }() + case 805: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaDowserRequest805) }() + case 806: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCaptureRequest806) }() + case 807: try { try decoder.decodeSingularMessageField(value: &_storage._listAvatarCustomizationsProto807) }() + case 808: try { try decoder.decodeSingularMessageField(value: &_storage._setAvatarItemAsViewedProto808) }() + case 811: try { try decoder.decodeSingularMessageField(value: &_storage._listGymBadgesProto811) }() + case 812: try { try decoder.decodeSingularMessageField(value: &_storage._getgymBadgeDetailsProto812) }() + case 813: try { try decoder.decodeSingularMessageField(value: &_storage._useItemMoveRerollProto813) }() + case 814: try { try decoder.decodeSingularMessageField(value: &_storage._useItemRareCandyProto814) }() + case 815: try { try decoder.decodeSingularMessageField(value: &_storage._awardFreeRaidTicketProto815) }() + case 816: try { try decoder.decodeSingularMessageField(value: &_storage._fetchAllNewsProto816) }() + case 817: try { try decoder.decodeSingularMessageField(value: &_storage._markReadNewsArticleProto817) }() + case 819: try { try decoder.decodeSingularMessageField(value: &_storage._belugaTransactionStartProto819) }() + case 820: try { try decoder.decodeSingularMessageField(value: &_storage._belugaTransactionCompleteProto820) }() + case 822: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaAssociateRequest822) }() + case 823: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCheckPairingRequest823) }() + case 824: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaDisassociateRequest824) }() + case 826: try { try decoder.decodeSingularMessageField(value: &_storage._wainaSubmitSleepDataRequest826) }() + case 900: try { try decoder.decodeSingularMessageField(value: &_storage._getNewQuestsProto900) }() + case 901: try { try decoder.decodeSingularMessageField(value: &_storage._getQuestDetailsProto901) }() + case 902: try { try decoder.decodeSingularMessageField(value: &_storage._completeQuestProto902) }() + case 903: try { try decoder.decodeSingularMessageField(value: &_storage._removeQuestProto903) }() + case 904: try { try decoder.decodeSingularMessageField(value: &_storage._questEncounterProto904) }() + case 906: try { try decoder.decodeSingularMessageField(value: &_storage._progressQuestproto906) }() + case 950: try { try decoder.decodeSingularMessageField(value: &_storage._sendGiftProto950) }() + case 951: try { try decoder.decodeSingularMessageField(value: &_storage._openGiftProto951) }() + case 952: try { try decoder.decodeSingularMessageField(value: &_storage._getgiftBoxDetailsProto952) }() + case 953: try { try decoder.decodeSingularMessageField(value: &_storage._deleteGiftProto953) }() + case 954: try { try decoder.decodeSingularMessageField(value: &_storage._savePlayersnapshotProto954) }() + case 956: try { try decoder.decodeSingularMessageField(value: &_storage._checkSendGiftProto956) }() + case 957: try { try decoder.decodeSingularMessageField(value: &_storage._setFriendNicknameProto957) }() + case 958: try { try decoder.decodeSingularMessageField(value: &_storage._deleteGiftFromInventoryProto958) }() + case 959: try { try decoder.decodeSingularMessageField(value: &_storage._savesocialPlayersettingsProto959) }() + case 970: try { try decoder.decodeSingularMessageField(value: &_storage._openTradingProto970) }() + case 971: try { try decoder.decodeSingularMessageField(value: &_storage._updateTradingProto971) }() + case 972: try { try decoder.decodeSingularMessageField(value: &_storage._confirmTradingProto972) }() + case 973: try { try decoder.decodeSingularMessageField(value: &_storage._cancelTradingProto973) }() + case 974: try { try decoder.decodeSingularMessageField(value: &_storage._getTradingProto974) }() + case 980: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessRewardsProto980) }() + case 990: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatPlayerProfileProto990) }() + case 991: try { try decoder.decodeSingularMessageField(value: &_storage._generateCombatChallengeIDProto991) }() + case 992: try { try decoder.decodeSingularMessageField(value: &_storage._createcombatchallengeProto992) }() + case 993: try { try decoder.decodeSingularMessageField(value: &_storage._openCombatChallengeProto993) }() + case 994: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatChallengeProto994) }() + case 995: try { try decoder.decodeSingularMessageField(value: &_storage._acceptCombatChallengeProto995) }() + case 996: try { try decoder.decodeSingularMessageField(value: &_storage._declineCombatChallengeProto996) }() + case 997: try { try decoder.decodeSingularMessageField(value: &_storage._cancelcombatchallengeProto997) }() + case 998: try { try decoder.decodeSingularMessageField(value: &_storage._submitCombatChallengePokemonsProto998) }() + case 999: try { try decoder.decodeSingularMessageField(value: &_storage._saveCombatPlayerPreferencesProto999) }() + case 1000: try { try decoder.decodeSingularMessageField(value: &_storage._openCombatSessionProto1000) }() + case 1001: try { try decoder.decodeSingularMessageField(value: &_storage._updateCombatProto1001) }() + case 1002: try { try decoder.decodeSingularMessageField(value: &_storage._quitCombatProto1002) }() + case 1003: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatResultsProto1003) }() + case 1004: try { try decoder.decodeSingularMessageField(value: &_storage._unlockPokemonMoveProto1004) }() + case 1005: try { try decoder.decodeSingularMessageField(value: &_storage._getNpcCombatRewardsProto1005) }() + case 1006: try { try decoder.decodeSingularMessageField(value: &_storage._combatFriendRequestProto1006) }() + case 1007: try { try decoder.decodeSingularMessageField(value: &_storage._openNpcCombatSessionProto1007) }() + case 1008: try { try decoder.decodeSingularMessageField(value: &_storage._startTutorialProto1008) }() + case 1009: try { try decoder.decodeSingularMessageField(value: &_storage._getTutorialEggProto1009) }() + case 1020: try { try decoder.decodeSingularMessageField(value: &_storage._sendProbeProto1020) }() + case 1101: try { try decoder.decodeSingularMessageField(value: &_storage._checkPhotobombProto1101) }() + case 1102: try { try decoder.decodeSingularMessageField(value: &_storage._confirmPhotobombProto1102) }() + case 1103: try { try decoder.decodeSingularMessageField(value: &_storage._getPhotobombProto1103) }() + case 1104: try { try decoder.decodeSingularMessageField(value: &_storage._encounterPhotobombProto1104) }() + case 1105: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsProto1105) }() + case 1106: try { try decoder.decodeSingularMessageField(value: &_storage._changeTeamProto1106) }() + case 1107: try { try decoder.decodeSingularMessageField(value: &_storage._getWebTokenProto1107) }() + case 1110: try { try decoder.decodeSingularMessageField(value: &_storage._completeSnapshotSessionProto1110) }() + case 1111: try { try decoder.decodeSingularMessageField(value: &_storage._completeWildSnapshotSessionProto1111) }() + case 1200: try { try decoder.decodeSingularMessageField(value: &_storage._startIncidentProto1200) }() + case 1201: try { try decoder.decodeSingularMessageField(value: &_storage._completeInvasionDialogueProto1201) }() + case 1202: try { try decoder.decodeSingularMessageField(value: &_storage._openInvasionCombatSessionProto1202) }() + case 1203: try { try decoder.decodeSingularMessageField(value: &_storage._updateInvasionBattleProto1203) }() + case 1204: try { try decoder.decodeSingularMessageField(value: &_storage._invasionEncounterProto1204) }() + case 1205: try { try decoder.decodeSingularMessageField(value: &_storage._purifypokemonproto1205) }() + case 1206: try { try decoder.decodeSingularMessageField(value: &_storage._getRocketBalloonProto1206) }() + case 1207: try { try decoder.decodeSingularMessageField(value: &_storage._startRocketBalloonIncidentProto1207) }() + case 1300: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerStartMatchmakingProto1300) }() + case 1301: try { try decoder.decodeSingularMessageField(value: &_storage._cancelMatchmakingProto1301) }() + case 1302: try { try decoder.decodeSingularMessageField(value: &_storage._getMatchmakingStatusProto1302) }() + case 1303: try { try decoder.decodeSingularMessageField(value: &_storage._completeVsSeekerAndRestartchargingProto1303) }() + case 1304: try { try decoder.decodeSingularMessageField(value: &_storage._getVsSeekerStatusProto1304) }() + case 1305: try { try decoder.decodeSingularMessageField(value: &_storage._completecompetitiveSeasonProto1305) }() + case 1306: try { try decoder.decodeSingularMessageField(value: &_storage._claimVsSeekerRewardsProto1306) }() + case 1307: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerRewardEncounterProto1307) }() + case 1308: try { try decoder.decodeSingularMessageField(value: &_storage._activateVsSeekerProto1308) }() + case 1350: try { try decoder.decodeSingularMessageField(value: &_storage._buddyMapProto1350) }() + case 1351: try { try decoder.decodeSingularMessageField(value: &_storage._buddyStatsProto1351) }() + case 1352: try { try decoder.decodeSingularMessageField(value: &_storage._buddyFeedingProto1352) }() + case 1353: try { try decoder.decodeSingularMessageField(value: &_storage._openBuddyGiftProto1353) }() + case 1354: try { try decoder.decodeSingularMessageField(value: &_storage._buddyPettingProto1354) }() + case 1355: try { try decoder.decodeSingularMessageField(value: &_storage._getBuddyHistoryProto1355) }() + case 1400: try { try decoder.decodeSingularMessageField(value: &_storage._updateRouteDraftProto1400) }() + case 1401: try { try decoder.decodeSingularMessageField(value: &_storage._getMapFortsProto1401) }() + case 1402: try { try decoder.decodeSingularMessageField(value: &_storage._submitRouteDraftProto1402) }() + case 1403: try { try decoder.decodeSingularMessageField(value: &_storage._getPublishedRoutesProto1403) }() + case 1404: try { try decoder.decodeSingularMessageField(value: &_storage._startRouteProto1404) }() + case 1405: try { try decoder.decodeSingularMessageField(value: &_storage._getRoutesProto1405) }() + case 1406: try { try decoder.decodeSingularMessageField(value: &_storage._progressRouteproto1406) }() + case 1409: try { try decoder.decodeSingularMessageField(value: &_storage._listRouteBadgesProto1409) }() + case 1410: try { try decoder.decodeSingularMessageField(value: &_storage._cancelRouteProto1410) }() + case 1423: try { try decoder.decodeSingularMessageField(value: &_storage._npcRouteGiftProto1423) }() + case 1456: try { try decoder.decodeSingularMessageField(value: &_storage._createBuddyMultiplayerSessionProto1456) }() + case 1457: try { try decoder.decodeSingularMessageField(value: &_storage._joinBuddyMultiplayerSessionProto1457) }() + case 1458: try { try decoder.decodeSingularMessageField(value: &_storage._leaveBuddyMultiplayerSessionProto1458) }() + case 1501: try { try decoder.decodeSingularMessageField(value: &_storage._getTodayViewProto1501) }() + case 1502: try { try decoder.decodeSingularMessageField(value: &_storage._megaEvolvePokemonProto1502) }() + case 1503: try { try decoder.decodeSingularMessageField(value: &_storage._remoteGiftPingrequestProto1503) }() + case 1504: try { try decoder.decodeSingularMessageField(value: &_storage._sendRaidInvitationProto1504) }() + case 1601: try { try decoder.decodeSingularMessageField(value: &_storage._getDailyEncounterProto1601) }() + case 1602: try { try decoder.decodeSingularMessageField(value: &_storage._dailyEncounterProto1602) }() + case 1650: try { try decoder.decodeSingularMessageField(value: &_storage._openSponsoredGiftProto1650) }() + case 1652: try { try decoder.decodeSingularMessageField(value: &_storage._savePlayerPreferencesProto1652) }() + case 1653: try { try decoder.decodeSingularMessageField(value: &_storage._profanityCheckproto1653) }() + case 1700: try { try decoder.decodeSingularMessageField(value: &_storage._getTimedgroupChallengeProto1700) }() + case 1710: try { try decoder.decodeSingularMessageField(value: &_storage._getNintendoAccountProto1710) }() + case 1711: try { try decoder.decodeSingularMessageField(value: &_storage._unlinkNintendoAccountProto1711) }() + case 1712: try { try decoder.decodeSingularMessageField(value: &_storage._getNintendoOAuth2URLProto1712) }() + case 1713: try { try decoder.decodeSingularMessageField(value: &_storage._transferPokemontoPokemonHomeProto1713) }() + case 1716: try { try decoder.decodeSingularMessageField(value: &_storage._reportAdFeedbackrequest1716) }() + case 1717: try { try decoder.decodeSingularMessageField(value: &_storage._createPokemonTagProto1717) }() + case 1718: try { try decoder.decodeSingularMessageField(value: &_storage._deletePokemonTagProto1718) }() + case 1719: try { try decoder.decodeSingularMessageField(value: &_storage._editPokemonTagProto1719) }() + case 1720: try { try decoder.decodeSingularMessageField(value: &_storage._setPokemonTagsForPokemonProto1720) }() + case 1721: try { try decoder.decodeSingularMessageField(value: &_storage._getPokemonTagsProto1721) }() + case 1722: try { try decoder.decodeSingularMessageField(value: &_storage._changePokemonFormProto1722) }() + case 1723: try { try decoder.decodeSingularMessageField(value: &_storage._chooseGlobalTicketedEventVariantProto1723) }() + case 1800: try { try decoder.decodeSingularMessageField(value: &_storage._getReferralCodeProto1800) }() + case 1801: try { try decoder.decodeSingularMessageField(value: &_storage._addReferrerProto1801) }() + case 1802: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendInviteViaReferralCodeProto1802) }() + case 1803: try { try decoder.decodeSingularMessageField(value: &_storage._getMilestonesProto1803) }() + case 1804: try { try decoder.decodeSingularMessageField(value: &_storage._markmilestoneAsViewedProto1804) }() + case 1805: try { try decoder.decodeSingularMessageField(value: &_storage._getMilestonesPreviewProto1805) }() + case 1806: try { try decoder.decodeSingularMessageField(value: &_storage._completeMilestoneProto1806) }() + case 1820: try { try decoder.decodeSingularMessageField(value: &_storage._getgeofencedAdProto1820) }() + case 1909: try { try decoder.decodeSingularMessageField(value: &_storage._deletePostcardsProto1909) }() + case 1910: try { try decoder.decodeSingularMessageField(value: &_storage._createPostcardProto1910) }() + case 1911: try { try decoder.decodeSingularMessageField(value: &_storage._updatePostcardProto1911) }() + case 1912: try { try decoder.decodeSingularMessageField(value: &_storage._deletePostcardProto1912) }() + case 1913: try { try decoder.decodeSingularMessageField(value: &_storage._getMementoListProto1913) }() + case 1914: try { try decoder.decodeSingularMessageField(value: &_storage._uploadRaidClientLogProto1914) }() + case 2000: try { try decoder.decodeSingularMessageField(value: &_storage._checkGiftingEligibilityProto2000) }() + case 2001: try { try decoder.decodeSingularMessageField(value: &_storage._redeemTicketGiftForFriendProto2001) }() + case 2005: try { try decoder.decodeSingularMessageField(value: &_storage._getPokestopEncounterProto2005) }() + case 2006: try { try decoder.decodeSingularMessageField(value: &_storage._encounterPokestopencounterProto2006) }() + case 2007: try { try decoder.decodeSingularMessageField(value: &_storage._playerSpawnablepokemonproto2007) }() + case 2010: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendRequestViaPlayerIDProto2010) }() + case 2011: try { try decoder.decodeSingularMessageField(value: &_storage._getRaidLobbyCounterProto2011) }() + case 2014: try { try decoder.decodeSingularMessageField(value: &_storage._useNonCombatMoveRequestProto2014) }() + case 2105: try { try decoder.decodeSingularMessageField(value: &_storage._getContestDataProto2105) }() + case 2106: try { try decoder.decodeSingularMessageField(value: &_storage._getContestsUnclaimedRewardsProto2106) }() + case 2107: try { try decoder.decodeSingularMessageField(value: &_storage._claimcontestsRewardsProto2107) }() + case 2108: try { try decoder.decodeSingularMessageField(value: &_storage._getEnteredContestProto2108) }() + case 2360: try { try decoder.decodeSingularMessageField(value: &_storage._badgeRewardEncounterRequestProto2360) }() + case 2400: try { try decoder.decodeSingularMessageField(value: &_storage._npcUpdateStateProto2400) }() + case 2401: try { try decoder.decodeSingularMessageField(value: &_storage._npcSendGiftProto2401) }() + case 2402: try { try decoder.decodeSingularMessageField(value: &_storage._npcOpenGiftProto2402) }() + case 3000: try { try decoder.decodeSingularMessageField(value: &_storage._getVpsEventProto3000) }() + case 3001: try { try decoder.decodeSingularMessageField(value: &_storage._updateVpsEventProto3001) }() + case 5000: try { try decoder.decodeSingularMessageField(value: &_storage._pushNotificationRegistryproto5000) }() + case 5002: try { try decoder.decodeSingularMessageField(value: &_storage._updateNotificationProto5002) }() + case 5004: try { try decoder.decodeSingularMessageField(value: &_storage._downloadGmTemplatesRequestProto5004) }() + case 5005: try { try decoder.decodeSingularMessageField(value: &_storage._getInventoryProto5005) }() + case 5006: try { try decoder.decodeSingularMessageField(value: &_storage._redeemPasscoderequestProto5006) }() + case 5007: try { try decoder.decodeSingularMessageField(value: &_storage._pingRequestproto5007) }() + case 5008: try { try decoder.decodeSingularMessageField(value: &_storage._addLoginactionProto5008) }() + case 5009: try { try decoder.decodeSingularMessageField(value: &_storage._removeLoginActionProto5009) }() + case 5011: try { try decoder.decodeSingularMessageField(value: &_storage._submitNewPoiProto5011) }() + case 5012: try { try decoder.decodeSingularMessageField(value: &_storage._proxyRequestproto5012) }() + case 5014: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubmissionsProto5014) }() + case 5015: try { try decoder.decodeSingularMessageField(value: &_storage._replaceLoginActionProto5015) }() + case 5018: try { try decoder.decodeSingularMessageField(value: &_storage._clientTelemetryBatchProto5018) }() + case 5024: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessUpdateProto5024) }() + case 5025: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessReportProto5025) }() + case 5026: try { try decoder.decodeSingularMessageField(value: &_storage._clientTelemetrySettingsRequestProto5026) }() + case 5032: try { try decoder.decodeSingularMessageField(value: &_storage._setInGameCurrencyExchangeRateProto5032) }() + case 5033: try { try decoder.decodeSingularMessageField(value: &_storage._geofenceUpdateProto5033) }() + case 5034: try { try decoder.decodeSingularMessageField(value: &_storage._locationPingProto5034) }() + case 5035: try { try decoder.decodeSingularMessageField(value: &_storage._generategmapSignedURLProto5035) }() + case 5036: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsProto5036) }() + case 5039: try { try decoder.decodeSingularMessageField(value: &_storage._getOutstandingWarningsRequestProto5039) }() + case 5040: try { try decoder.decodeSingularMessageField(value: &_storage._acknowledgeWarningsRequestProto5040) }() + case 5045: try { try decoder.decodeSingularMessageField(value: &_storage._getWebTokenProto5045) }() + case 5046: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncSettingsRequestProto5046) }() + case 5047: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncSettingsRequestProto5047) }() + case 5048: try { try decoder.decodeSingularMessageField(value: &_storage._setBirthdayRequestProto5048) }() + case 10016: try { try decoder.decodeSingularMessageField(value: &_storage._savesocialPlayersettingsProto10016) }() + case 10101: try { try decoder.decodeSingularMessageField(value: &_storage._pushNotificationRegistryproto10101) }() + case 10103: try { try decoder.decodeSingularMessageField(value: &_storage._updateNotificationProto10103) }() + case 200000: try { try decoder.decodeSingularMessageField(value: &_storage._getOutstandingWarningsRequestProto200000) }() + case 200001: try { try decoder.decodeSingularMessageField(value: &_storage._acknowledgeWarningsRequestProto200001) }() + case 230002: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncProgressProto230002) }() + case 310002: try { try decoder.decodeSingularMessageField(value: &_storage._setInGameCurrencyExchangeRateProto310002) }() + case 360000: try { try decoder.decodeSingularMessageField(value: &_storage._geofenceUpdateProto360000) }() + case 360001: try { try decoder.decodeSingularMessageField(value: &_storage._locationPingProto360001) }() + case 361000: try { try decoder.decodeSingularMessageField(value: &_storage._updateBreadcrumbHistoryRequestProto361000) }() + case 362000: try { try decoder.decodeSingularMessageField(value: &_storage._refreshProximityTokensrequestProto362000) }() + case 362001: try { try decoder.decodeSingularMessageField(value: &_storage._reportProximityContactsrequestProto362001) }() + case 620000: try { try decoder.decodeSingularMessageField(value: &_storage._submitNewPoiProto620000) }() + case 620001: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubmissionsProto620001) }() + case 620300: try { try decoder.decodeSingularMessageField(value: &_storage._generategmapSignedURLProto620300) }() + case 620301: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsProto620301) }() + case 640000: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessUpdateProto640000) }() + case 640001: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessReportProto640001) }() + case 640002: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncSettingsRequestProto640002) }() + case 640003: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncSettingsRequestProto640003) }() + case 640004: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncFitnessRequestProto640004) }() + case 640005: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncFitnessReportRequestProto640005) }() default: break } } @@ -166483,147 +167580,2017 @@ extension AttackGymOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._result != .unset { - try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) - } - try { if let v = _storage._battleLog { + try { if let v = _storage._getPlayerProto2 { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if !_storage._battleID.isEmpty { - try visitor.visitSingularStringField(value: _storage._battleID, fieldNumber: 3) - } - try { if let v = _storage._activeDefender { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + try { if let v = _storage._getHoloholoInventoryProto4 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = _storage._downloadSettingsActionProto5 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + try { if let v = _storage._getgameMasterClientTemplatesProto6 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + try { if let v = _storage._getRemoteConfigVersionsProto7 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() + try { if let v = _storage._registerBackgroundDeviceActionProto8 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + try { if let v = _storage._getPlayerDayProto9 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() + try { if let v = _storage._acknowledgePunishmentProto10 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + try { if let v = _storage._getServerTimeProto11 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + } }() + try { if let v = _storage._getLocalTimeProto12 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + } }() + try { if let v = _storage._fortSearchProto101 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 101) + } }() + try { if let v = _storage._encounterProto102 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 102) + } }() + try { if let v = _storage._catchPokemonProto103 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 103) + } }() + try { if let v = _storage._fortDetailsProto104 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 104) + } }() + try { if let v = _storage._getMapObjectsProto106 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 106) + } }() + try { if let v = _storage._fortDeployProto110 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 110) + } }() + try { if let v = _storage._fortRecallProto111 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 111) + } }() + try { if let v = _storage._releasePokemonProto112 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 112) + } }() + try { if let v = _storage._useItemPotionProto113 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 113) + } }() + try { if let v = _storage._useItemCaptureProto114 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 114) + } }() + try { if let v = _storage._useItemReviveProto116 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 116) + } }() + try { if let v = _storage._playerprofileproto121 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 121) + } }() + try { if let v = _storage._evolvePokemonProto125 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 125) + } }() + try { if let v = _storage._getHatchedEggsProto126 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 126) + } }() + try { if let v = _storage._encounterTutorialCompleteProto127 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 127) + } }() + try { if let v = _storage._levelUpRewardsProto128 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 128) + } }() + try { if let v = _storage._checkAwardedBadgesProto129 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 129) + } }() + try { if let v = _storage._recycleItemProto137 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 137) + } }() + try { if let v = _storage._collectDailyBonusProto138 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 138) + } }() + try { if let v = _storage._useItemXpBoostProto139 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 139) + } }() + try { if let v = _storage._useItemEggIncubatorProto140 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 140) + } }() + try { if let v = _storage._useIncenseActionProto141 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 141) + } }() + try { if let v = _storage._getIncensePokemonProto142 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 142) + } }() + try { if let v = _storage._incenseEncounterProto143 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 143) + } }() + try { if let v = _storage._addFortModifierProto144 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 144) + } }() + try { if let v = _storage._diskEncounterProto145 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 145) + } }() + try { if let v = _storage._upgradePokemonProto147 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 147) + } }() + try { if let v = _storage._setFavoritePokemonProto148 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 148) } }() - try { if let v = _storage._activeAttacker { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + try { if let v = _storage._nicknamePokemonProto149 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 149) } }() - try { if let v = _storage._battleUpdate { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + try { if let v = _storage._setContactsettingsProto151 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 151) + } }() + try { if let v = _storage._setBuddyPokemonProto152 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 152) + } }() + try { if let v = _storage._getBuddyWalkedProto153 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 153) + } }() + try { if let v = _storage._useItemEncounterProto154 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 154) + } }() + try { if let v = _storage._gymDeployProto155 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 155) + } }() + try { if let v = _storage._gymgetInfoProto156 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 156) + } }() + try { if let v = _storage._gymStartSessionProto157 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 157) + } }() + try { if let v = _storage._gymBattleAttackProto158 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 158) + } }() + try { if let v = _storage._joinLobbyProto159 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 159) + } }() + try { if let v = _storage._leavelobbyProto160 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 160) + } }() + try { if let v = _storage._setLobbyVisibilityProto161 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 161) + } }() + try { if let v = _storage._setLobbyPokemonProto162 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 162) + } }() + try { if let v = _storage._getRaidDetailsProto163 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 163) + } }() + try { if let v = _storage._gymFeedPokemonProto164 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 164) + } }() + try { if let v = _storage._startRaidBattleProto165 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 165) + } }() + try { if let v = _storage._attackRaidBattleProto166 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 166) + } }() + try { if let v = _storage._useItemStardustBoostProto168 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 168) + } }() + try { if let v = _storage._reassignPlayerProto169 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 169) + } }() + try { if let v = _storage._convertcandyToXlcandyProto171 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 171) + } }() + try { if let v = _storage._isSkuAvailableProto172 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 172) + } }() + try { if let v = _storage._assetDigestRequestProto300 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 300) + } }() + try { if let v = _storage._downloadURLRequestProto301 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 301) + } }() + try { if let v = _storage._assetVersionProto302 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 302) + } }() + try { if let v = _storage._claimcodenameRequestProto403 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 403) + } }() + try { if let v = _storage._setAvatarProto404 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 404) + } }() + try { if let v = _storage._setPlayerTeamProto405 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 405) + } }() + try { if let v = _storage._markTutorialCompleteProto406 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 406) + } }() + try { if let v = _storage._setNeutralAvatarProto408 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 408) + } }() + try { if let v = _storage._checkchallengeProto600 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 600) + } }() + try { if let v = _storage._verifyChallengeProto601 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 601) + } }() + try { if let v = _storage._echoProto666 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 666) + } }() + try { if let v = _storage._registerSfidarequest800 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 800) + } }() + try { if let v = _storage._sfidaCertificationRequest802 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 802) + } }() + try { if let v = _storage._sfidaUpdateRequest803 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 803) + } }() + try { if let v = _storage._sfidaDowserRequest805 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 805) + } }() + try { if let v = _storage._sfidaCaptureRequest806 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 806) + } }() + try { if let v = _storage._listAvatarCustomizationsProto807 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 807) + } }() + try { if let v = _storage._setAvatarItemAsViewedProto808 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 808) + } }() + try { if let v = _storage._listGymBadgesProto811 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 811) + } }() + try { if let v = _storage._getgymBadgeDetailsProto812 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 812) + } }() + try { if let v = _storage._useItemMoveRerollProto813 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 813) + } }() + try { if let v = _storage._useItemRareCandyProto814 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 814) + } }() + try { if let v = _storage._awardFreeRaidTicketProto815 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 815) + } }() + try { if let v = _storage._fetchAllNewsProto816 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 816) + } }() + try { if let v = _storage._markReadNewsArticleProto817 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 817) + } }() + try { if let v = _storage._belugaTransactionStartProto819 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 819) + } }() + try { if let v = _storage._belugaTransactionCompleteProto820 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 820) + } }() + try { if let v = _storage._sfidaAssociateRequest822 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 822) + } }() + try { if let v = _storage._sfidaCheckPairingRequest823 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 823) + } }() + try { if let v = _storage._sfidaDisassociateRequest824 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 824) + } }() + try { if let v = _storage._wainaSubmitSleepDataRequest826 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 826) + } }() + try { if let v = _storage._getNewQuestsProto900 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 900) + } }() + try { if let v = _storage._getQuestDetailsProto901 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 901) + } }() + try { if let v = _storage._completeQuestProto902 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 902) + } }() + try { if let v = _storage._removeQuestProto903 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 903) + } }() + try { if let v = _storage._questEncounterProto904 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 904) + } }() + try { if let v = _storage._progressQuestproto906 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 906) + } }() + try { if let v = _storage._sendGiftProto950 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 950) + } }() + try { if let v = _storage._openGiftProto951 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 951) + } }() + try { if let v = _storage._getgiftBoxDetailsProto952 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 952) + } }() + try { if let v = _storage._deleteGiftProto953 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 953) + } }() + try { if let v = _storage._savePlayersnapshotProto954 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 954) + } }() + try { if let v = _storage._checkSendGiftProto956 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 956) + } }() + try { if let v = _storage._setFriendNicknameProto957 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 957) + } }() + try { if let v = _storage._deleteGiftFromInventoryProto958 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 958) + } }() + try { if let v = _storage._savesocialPlayersettingsProto959 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 959) + } }() + try { if let v = _storage._openTradingProto970 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 970) + } }() + try { if let v = _storage._updateTradingProto971 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 971) + } }() + try { if let v = _storage._confirmTradingProto972 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 972) + } }() + try { if let v = _storage._cancelTradingProto973 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 973) + } }() + try { if let v = _storage._getTradingProto974 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 974) + } }() + try { if let v = _storage._getFitnessRewardsProto980 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 980) + } }() + try { if let v = _storage._getCombatPlayerProfileProto990 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 990) + } }() + try { if let v = _storage._generateCombatChallengeIDProto991 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 991) + } }() + try { if let v = _storage._createcombatchallengeProto992 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 992) + } }() + try { if let v = _storage._openCombatChallengeProto993 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 993) + } }() + try { if let v = _storage._getCombatChallengeProto994 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 994) + } }() + try { if let v = _storage._acceptCombatChallengeProto995 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 995) + } }() + try { if let v = _storage._declineCombatChallengeProto996 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 996) + } }() + try { if let v = _storage._cancelcombatchallengeProto997 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 997) + } }() + try { if let v = _storage._submitCombatChallengePokemonsProto998 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 998) + } }() + try { if let v = _storage._saveCombatPlayerPreferencesProto999 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 999) + } }() + try { if let v = _storage._openCombatSessionProto1000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1000) + } }() + try { if let v = _storage._updateCombatProto1001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) + } }() + try { if let v = _storage._quitCombatProto1002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) + } }() + try { if let v = _storage._getCombatResultsProto1003 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1003) + } }() + try { if let v = _storage._unlockPokemonMoveProto1004 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1004) + } }() + try { if let v = _storage._getNpcCombatRewardsProto1005 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1005) + } }() + try { if let v = _storage._combatFriendRequestProto1006 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1006) + } }() + try { if let v = _storage._openNpcCombatSessionProto1007 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1007) + } }() + try { if let v = _storage._startTutorialProto1008 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1008) + } }() + try { if let v = _storage._getTutorialEggProto1009 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1009) + } }() + try { if let v = _storage._sendProbeProto1020 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1020) + } }() + try { if let v = _storage._checkPhotobombProto1101 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1101) + } }() + try { if let v = _storage._confirmPhotobombProto1102 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1102) + } }() + try { if let v = _storage._getPhotobombProto1103 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1103) + } }() + try { if let v = _storage._encounterPhotobombProto1104 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1104) + } }() + try { if let v = _storage._getgmapSettingsProto1105 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1105) + } }() + try { if let v = _storage._changeTeamProto1106 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1106) + } }() + try { if let v = _storage._getWebTokenProto1107 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1107) + } }() + try { if let v = _storage._completeSnapshotSessionProto1110 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1110) + } }() + try { if let v = _storage._completeWildSnapshotSessionProto1111 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1111) + } }() + try { if let v = _storage._startIncidentProto1200 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1200) + } }() + try { if let v = _storage._completeInvasionDialogueProto1201 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1201) + } }() + try { if let v = _storage._openInvasionCombatSessionProto1202 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1202) + } }() + try { if let v = _storage._updateInvasionBattleProto1203 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1203) + } }() + try { if let v = _storage._invasionEncounterProto1204 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1204) + } }() + try { if let v = _storage._purifypokemonproto1205 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1205) + } }() + try { if let v = _storage._getRocketBalloonProto1206 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1206) + } }() + try { if let v = _storage._startRocketBalloonIncidentProto1207 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1207) + } }() + try { if let v = _storage._vsSeekerStartMatchmakingProto1300 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1300) + } }() + try { if let v = _storage._cancelMatchmakingProto1301 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1301) + } }() + try { if let v = _storage._getMatchmakingStatusProto1302 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1302) + } }() + try { if let v = _storage._completeVsSeekerAndRestartchargingProto1303 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1303) + } }() + try { if let v = _storage._getVsSeekerStatusProto1304 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1304) + } }() + try { if let v = _storage._completecompetitiveSeasonProto1305 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1305) + } }() + try { if let v = _storage._claimVsSeekerRewardsProto1306 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1306) + } }() + try { if let v = _storage._vsSeekerRewardEncounterProto1307 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1307) + } }() + try { if let v = _storage._activateVsSeekerProto1308 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1308) + } }() + try { if let v = _storage._buddyMapProto1350 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1350) + } }() + try { if let v = _storage._buddyStatsProto1351 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1351) + } }() + try { if let v = _storage._buddyFeedingProto1352 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1352) + } }() + try { if let v = _storage._openBuddyGiftProto1353 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1353) + } }() + try { if let v = _storage._buddyPettingProto1354 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1354) + } }() + try { if let v = _storage._getBuddyHistoryProto1355 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1355) + } }() + try { if let v = _storage._updateRouteDraftProto1400 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1400) + } }() + try { if let v = _storage._getMapFortsProto1401 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1401) + } }() + try { if let v = _storage._submitRouteDraftProto1402 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1402) + } }() + try { if let v = _storage._getPublishedRoutesProto1403 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1403) + } }() + try { if let v = _storage._startRouteProto1404 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1404) + } }() + try { if let v = _storage._getRoutesProto1405 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1405) + } }() + try { if let v = _storage._progressRouteproto1406 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1406) + } }() + try { if let v = _storage._listRouteBadgesProto1409 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1409) + } }() + try { if let v = _storage._cancelRouteProto1410 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1410) + } }() + try { if let v = _storage._npcRouteGiftProto1423 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1423) + } }() + try { if let v = _storage._createBuddyMultiplayerSessionProto1456 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1456) + } }() + try { if let v = _storage._joinBuddyMultiplayerSessionProto1457 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1457) + } }() + try { if let v = _storage._leaveBuddyMultiplayerSessionProto1458 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1458) + } }() + try { if let v = _storage._getTodayViewProto1501 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1501) + } }() + try { if let v = _storage._megaEvolvePokemonProto1502 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1502) + } }() + try { if let v = _storage._remoteGiftPingrequestProto1503 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1503) + } }() + try { if let v = _storage._sendRaidInvitationProto1504 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1504) + } }() + try { if let v = _storage._getDailyEncounterProto1601 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1601) + } }() + try { if let v = _storage._dailyEncounterProto1602 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1602) + } }() + try { if let v = _storage._openSponsoredGiftProto1650 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1650) + } }() + try { if let v = _storage._savePlayerPreferencesProto1652 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1652) + } }() + try { if let v = _storage._profanityCheckproto1653 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1653) + } }() + try { if let v = _storage._getTimedgroupChallengeProto1700 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1700) + } }() + try { if let v = _storage._getNintendoAccountProto1710 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1710) + } }() + try { if let v = _storage._unlinkNintendoAccountProto1711 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1711) + } }() + try { if let v = _storage._getNintendoOAuth2URLProto1712 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1712) + } }() + try { if let v = _storage._transferPokemontoPokemonHomeProto1713 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1713) + } }() + try { if let v = _storage._reportAdFeedbackrequest1716 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1716) + } }() + try { if let v = _storage._createPokemonTagProto1717 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1717) + } }() + try { if let v = _storage._deletePokemonTagProto1718 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1718) + } }() + try { if let v = _storage._editPokemonTagProto1719 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1719) + } }() + try { if let v = _storage._setPokemonTagsForPokemonProto1720 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1720) + } }() + try { if let v = _storage._getPokemonTagsProto1721 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1721) + } }() + try { if let v = _storage._changePokemonFormProto1722 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1722) + } }() + try { if let v = _storage._chooseGlobalTicketedEventVariantProto1723 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1723) + } }() + try { if let v = _storage._getReferralCodeProto1800 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1800) + } }() + try { if let v = _storage._addReferrerProto1801 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1801) + } }() + try { if let v = _storage._sendFriendInviteViaReferralCodeProto1802 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1802) + } }() + try { if let v = _storage._getMilestonesProto1803 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1803) + } }() + try { if let v = _storage._markmilestoneAsViewedProto1804 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1804) + } }() + try { if let v = _storage._getMilestonesPreviewProto1805 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1805) + } }() + try { if let v = _storage._completeMilestoneProto1806 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1806) + } }() + try { if let v = _storage._getgeofencedAdProto1820 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1820) + } }() + try { if let v = _storage._deletePostcardsProto1909 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1909) + } }() + try { if let v = _storage._createPostcardProto1910 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1910) + } }() + try { if let v = _storage._updatePostcardProto1911 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1911) + } }() + try { if let v = _storage._deletePostcardProto1912 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1912) + } }() + try { if let v = _storage._getMementoListProto1913 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1913) + } }() + try { if let v = _storage._uploadRaidClientLogProto1914 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1914) + } }() + try { if let v = _storage._checkGiftingEligibilityProto2000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2000) + } }() + try { if let v = _storage._redeemTicketGiftForFriendProto2001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2001) + } }() + try { if let v = _storage._getPokestopEncounterProto2005 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2005) + } }() + try { if let v = _storage._encounterPokestopencounterProto2006 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2006) + } }() + try { if let v = _storage._playerSpawnablepokemonproto2007 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2007) + } }() + try { if let v = _storage._sendFriendRequestViaPlayerIDProto2010 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2010) + } }() + try { if let v = _storage._getRaidLobbyCounterProto2011 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2011) + } }() + try { if let v = _storage._useNonCombatMoveRequestProto2014 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2014) + } }() + try { if let v = _storage._getContestDataProto2105 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2105) + } }() + try { if let v = _storage._getContestsUnclaimedRewardsProto2106 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2106) + } }() + try { if let v = _storage._claimcontestsRewardsProto2107 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2107) + } }() + try { if let v = _storage._getEnteredContestProto2108 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2108) + } }() + try { if let v = _storage._badgeRewardEncounterRequestProto2360 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2360) + } }() + try { if let v = _storage._npcUpdateStateProto2400 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2400) + } }() + try { if let v = _storage._npcSendGiftProto2401 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2401) + } }() + try { if let v = _storage._npcOpenGiftProto2402 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2402) + } }() + try { if let v = _storage._getVpsEventProto3000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3000) + } }() + try { if let v = _storage._updateVpsEventProto3001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3001) + } }() + try { if let v = _storage._pushNotificationRegistryproto5000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5000) + } }() + try { if let v = _storage._updateNotificationProto5002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5002) + } }() + try { if let v = _storage._downloadGmTemplatesRequestProto5004 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5004) + } }() + try { if let v = _storage._getInventoryProto5005 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5005) + } }() + try { if let v = _storage._redeemPasscoderequestProto5006 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5006) + } }() + try { if let v = _storage._pingRequestproto5007 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5007) + } }() + try { if let v = _storage._addLoginactionProto5008 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5008) + } }() + try { if let v = _storage._removeLoginActionProto5009 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5009) + } }() + try { if let v = _storage._submitNewPoiProto5011 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5011) + } }() + try { if let v = _storage._proxyRequestproto5012 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5012) + } }() + try { if let v = _storage._getAvailableSubmissionsProto5014 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5014) + } }() + try { if let v = _storage._replaceLoginActionProto5015 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5015) + } }() + try { if let v = _storage._clientTelemetryBatchProto5018 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5018) + } }() + try { if let v = _storage._fitnessUpdateProto5024 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5024) + } }() + try { if let v = _storage._getFitnessReportProto5025 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5025) + } }() + try { if let v = _storage._clientTelemetrySettingsRequestProto5026 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5026) + } }() + try { if let v = _storage._setInGameCurrencyExchangeRateProto5032 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5032) + } }() + try { if let v = _storage._geofenceUpdateProto5033 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5033) + } }() + try { if let v = _storage._locationPingProto5034 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5034) + } }() + try { if let v = _storage._generategmapSignedURLProto5035 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5035) + } }() + try { if let v = _storage._getgmapSettingsProto5036 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5036) + } }() + try { if let v = _storage._getOutstandingWarningsRequestProto5039 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5039) + } }() + try { if let v = _storage._acknowledgeWarningsRequestProto5040 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5040) + } }() + try { if let v = _storage._getWebTokenProto5045 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5045) + } }() + try { if let v = _storage._getAdventureSyncSettingsRequestProto5046 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5046) + } }() + try { if let v = _storage._updateAdventureSyncSettingsRequestProto5047 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5047) + } }() + try { if let v = _storage._setBirthdayRequestProto5048 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5048) + } }() + try { if let v = _storage._savesocialPlayersettingsProto10016 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10016) + } }() + try { if let v = _storage._pushNotificationRegistryproto10101 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10101) + } }() + try { if let v = _storage._updateNotificationProto10103 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10103) + } }() + try { if let v = _storage._getOutstandingWarningsRequestProto200000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 200000) + } }() + try { if let v = _storage._acknowledgeWarningsRequestProto200001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 200001) + } }() + try { if let v = _storage._getAdventureSyncProgressProto230002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 230002) + } }() + try { if let v = _storage._setInGameCurrencyExchangeRateProto310002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 310002) + } }() + try { if let v = _storage._geofenceUpdateProto360000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 360000) + } }() + try { if let v = _storage._locationPingProto360001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 360001) + } }() + try { if let v = _storage._updateBreadcrumbHistoryRequestProto361000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 361000) + } }() + try { if let v = _storage._refreshProximityTokensrequestProto362000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 362000) + } }() + try { if let v = _storage._reportProximityContactsrequestProto362001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 362001) + } }() + try { if let v = _storage._submitNewPoiProto620000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 620000) + } }() + try { if let v = _storage._getAvailableSubmissionsProto620001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 620001) + } }() + try { if let v = _storage._generategmapSignedURLProto620300 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 620300) + } }() + try { if let v = _storage._getgmapSettingsProto620301 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 620301) + } }() + try { if let v = _storage._fitnessUpdateProto640000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640000) + } }() + try { if let v = _storage._getFitnessReportProto640001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640001) + } }() + try { if let v = _storage._getAdventureSyncSettingsRequestProto640002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640002) + } }() + try { if let v = _storage._updateAdventureSyncSettingsRequestProto640003 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640003) + } }() + try { if let v = _storage._updateAdventureSyncFitnessRequestProto640004 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640004) + } }() + try { if let v = _storage._getAdventureSyncFitnessReportRequestProto640005 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640005) } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AttackGymOutProto, rhs: AttackGymOutProto) -> Bool { + public static func ==(lhs: AllTypesAndMessagesResponsesProto.AllMessagesProto, rhs: AllTypesAndMessagesResponsesProto.AllMessagesProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._result != rhs_storage._result {return false} - if _storage._battleLog != rhs_storage._battleLog {return false} - if _storage._battleID != rhs_storage._battleID {return false} - if _storage._activeDefender != rhs_storage._activeDefender {return false} - if _storage._activeAttacker != rhs_storage._activeAttacker {return false} - if _storage._battleUpdate != rhs_storage._battleUpdate {return false} - return true - } - if !storagesAreEqual {return false} - } - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension AttackGymOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_ATTACK_ACTIONS"), - 3: .same(proto: "ERROR_NOT_IN_RANGE"), - ] -} - -extension AttackGymProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AttackGymProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gym_id"), - 2: .standard(proto: "battle_id"), - 3: .standard(proto: "attacker_actions"), - 4: .standard(proto: "last_retrieved_action"), - 5: .standard(proto: "player_lat_degrees"), - 6: .standard(proto: "player_lng_degrees"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.battleID) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.attackerActions) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._lastRetrievedAction) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() - default: break + if _storage._getPlayerProto2 != rhs_storage._getPlayerProto2 {return false} + if _storage._getHoloholoInventoryProto4 != rhs_storage._getHoloholoInventoryProto4 {return false} + if _storage._downloadSettingsActionProto5 != rhs_storage._downloadSettingsActionProto5 {return false} + if _storage._getgameMasterClientTemplatesProto6 != rhs_storage._getgameMasterClientTemplatesProto6 {return false} + if _storage._getRemoteConfigVersionsProto7 != rhs_storage._getRemoteConfigVersionsProto7 {return false} + if _storage._registerBackgroundDeviceActionProto8 != rhs_storage._registerBackgroundDeviceActionProto8 {return false} + if _storage._getPlayerDayProto9 != rhs_storage._getPlayerDayProto9 {return false} + if _storage._acknowledgePunishmentProto10 != rhs_storage._acknowledgePunishmentProto10 {return false} + if _storage._getServerTimeProto11 != rhs_storage._getServerTimeProto11 {return false} + if _storage._getLocalTimeProto12 != rhs_storage._getLocalTimeProto12 {return false} + if _storage._fortSearchProto101 != rhs_storage._fortSearchProto101 {return false} + if _storage._encounterProto102 != rhs_storage._encounterProto102 {return false} + if _storage._catchPokemonProto103 != rhs_storage._catchPokemonProto103 {return false} + if _storage._fortDetailsProto104 != rhs_storage._fortDetailsProto104 {return false} + if _storage._getMapObjectsProto106 != rhs_storage._getMapObjectsProto106 {return false} + if _storage._fortDeployProto110 != rhs_storage._fortDeployProto110 {return false} + if _storage._fortRecallProto111 != rhs_storage._fortRecallProto111 {return false} + if _storage._releasePokemonProto112 != rhs_storage._releasePokemonProto112 {return false} + if _storage._useItemPotionProto113 != rhs_storage._useItemPotionProto113 {return false} + if _storage._useItemCaptureProto114 != rhs_storage._useItemCaptureProto114 {return false} + if _storage._useItemReviveProto116 != rhs_storage._useItemReviveProto116 {return false} + if _storage._playerprofileproto121 != rhs_storage._playerprofileproto121 {return false} + if _storage._evolvePokemonProto125 != rhs_storage._evolvePokemonProto125 {return false} + if _storage._getHatchedEggsProto126 != rhs_storage._getHatchedEggsProto126 {return false} + if _storage._encounterTutorialCompleteProto127 != rhs_storage._encounterTutorialCompleteProto127 {return false} + if _storage._levelUpRewardsProto128 != rhs_storage._levelUpRewardsProto128 {return false} + if _storage._checkAwardedBadgesProto129 != rhs_storage._checkAwardedBadgesProto129 {return false} + if _storage._recycleItemProto137 != rhs_storage._recycleItemProto137 {return false} + if _storage._collectDailyBonusProto138 != rhs_storage._collectDailyBonusProto138 {return false} + if _storage._useItemXpBoostProto139 != rhs_storage._useItemXpBoostProto139 {return false} + if _storage._useItemEggIncubatorProto140 != rhs_storage._useItemEggIncubatorProto140 {return false} + if _storage._useIncenseActionProto141 != rhs_storage._useIncenseActionProto141 {return false} + if _storage._getIncensePokemonProto142 != rhs_storage._getIncensePokemonProto142 {return false} + if _storage._incenseEncounterProto143 != rhs_storage._incenseEncounterProto143 {return false} + if _storage._addFortModifierProto144 != rhs_storage._addFortModifierProto144 {return false} + if _storage._diskEncounterProto145 != rhs_storage._diskEncounterProto145 {return false} + if _storage._upgradePokemonProto147 != rhs_storage._upgradePokemonProto147 {return false} + if _storage._setFavoritePokemonProto148 != rhs_storage._setFavoritePokemonProto148 {return false} + if _storage._nicknamePokemonProto149 != rhs_storage._nicknamePokemonProto149 {return false} + if _storage._setContactsettingsProto151 != rhs_storage._setContactsettingsProto151 {return false} + if _storage._setBuddyPokemonProto152 != rhs_storage._setBuddyPokemonProto152 {return false} + if _storage._getBuddyWalkedProto153 != rhs_storage._getBuddyWalkedProto153 {return false} + if _storage._useItemEncounterProto154 != rhs_storage._useItemEncounterProto154 {return false} + if _storage._gymDeployProto155 != rhs_storage._gymDeployProto155 {return false} + if _storage._gymgetInfoProto156 != rhs_storage._gymgetInfoProto156 {return false} + if _storage._gymStartSessionProto157 != rhs_storage._gymStartSessionProto157 {return false} + if _storage._gymBattleAttackProto158 != rhs_storage._gymBattleAttackProto158 {return false} + if _storage._joinLobbyProto159 != rhs_storage._joinLobbyProto159 {return false} + if _storage._leavelobbyProto160 != rhs_storage._leavelobbyProto160 {return false} + if _storage._setLobbyVisibilityProto161 != rhs_storage._setLobbyVisibilityProto161 {return false} + if _storage._setLobbyPokemonProto162 != rhs_storage._setLobbyPokemonProto162 {return false} + if _storage._getRaidDetailsProto163 != rhs_storage._getRaidDetailsProto163 {return false} + if _storage._gymFeedPokemonProto164 != rhs_storage._gymFeedPokemonProto164 {return false} + if _storage._startRaidBattleProto165 != rhs_storage._startRaidBattleProto165 {return false} + if _storage._attackRaidBattleProto166 != rhs_storage._attackRaidBattleProto166 {return false} + if _storage._useItemStardustBoostProto168 != rhs_storage._useItemStardustBoostProto168 {return false} + if _storage._reassignPlayerProto169 != rhs_storage._reassignPlayerProto169 {return false} + if _storage._convertcandyToXlcandyProto171 != rhs_storage._convertcandyToXlcandyProto171 {return false} + if _storage._isSkuAvailableProto172 != rhs_storage._isSkuAvailableProto172 {return false} + if _storage._assetDigestRequestProto300 != rhs_storage._assetDigestRequestProto300 {return false} + if _storage._downloadURLRequestProto301 != rhs_storage._downloadURLRequestProto301 {return false} + if _storage._assetVersionProto302 != rhs_storage._assetVersionProto302 {return false} + if _storage._claimcodenameRequestProto403 != rhs_storage._claimcodenameRequestProto403 {return false} + if _storage._setAvatarProto404 != rhs_storage._setAvatarProto404 {return false} + if _storage._setPlayerTeamProto405 != rhs_storage._setPlayerTeamProto405 {return false} + if _storage._markTutorialCompleteProto406 != rhs_storage._markTutorialCompleteProto406 {return false} + if _storage._setNeutralAvatarProto408 != rhs_storage._setNeutralAvatarProto408 {return false} + if _storage._checkchallengeProto600 != rhs_storage._checkchallengeProto600 {return false} + if _storage._verifyChallengeProto601 != rhs_storage._verifyChallengeProto601 {return false} + if _storage._echoProto666 != rhs_storage._echoProto666 {return false} + if _storage._registerSfidarequest800 != rhs_storage._registerSfidarequest800 {return false} + if _storage._sfidaCertificationRequest802 != rhs_storage._sfidaCertificationRequest802 {return false} + if _storage._sfidaUpdateRequest803 != rhs_storage._sfidaUpdateRequest803 {return false} + if _storage._sfidaDowserRequest805 != rhs_storage._sfidaDowserRequest805 {return false} + if _storage._sfidaCaptureRequest806 != rhs_storage._sfidaCaptureRequest806 {return false} + if _storage._listAvatarCustomizationsProto807 != rhs_storage._listAvatarCustomizationsProto807 {return false} + if _storage._setAvatarItemAsViewedProto808 != rhs_storage._setAvatarItemAsViewedProto808 {return false} + if _storage._listGymBadgesProto811 != rhs_storage._listGymBadgesProto811 {return false} + if _storage._getgymBadgeDetailsProto812 != rhs_storage._getgymBadgeDetailsProto812 {return false} + if _storage._useItemMoveRerollProto813 != rhs_storage._useItemMoveRerollProto813 {return false} + if _storage._useItemRareCandyProto814 != rhs_storage._useItemRareCandyProto814 {return false} + if _storage._awardFreeRaidTicketProto815 != rhs_storage._awardFreeRaidTicketProto815 {return false} + if _storage._fetchAllNewsProto816 != rhs_storage._fetchAllNewsProto816 {return false} + if _storage._markReadNewsArticleProto817 != rhs_storage._markReadNewsArticleProto817 {return false} + if _storage._belugaTransactionStartProto819 != rhs_storage._belugaTransactionStartProto819 {return false} + if _storage._belugaTransactionCompleteProto820 != rhs_storage._belugaTransactionCompleteProto820 {return false} + if _storage._sfidaAssociateRequest822 != rhs_storage._sfidaAssociateRequest822 {return false} + if _storage._sfidaCheckPairingRequest823 != rhs_storage._sfidaCheckPairingRequest823 {return false} + if _storage._sfidaDisassociateRequest824 != rhs_storage._sfidaDisassociateRequest824 {return false} + if _storage._wainaSubmitSleepDataRequest826 != rhs_storage._wainaSubmitSleepDataRequest826 {return false} + if _storage._getNewQuestsProto900 != rhs_storage._getNewQuestsProto900 {return false} + if _storage._getQuestDetailsProto901 != rhs_storage._getQuestDetailsProto901 {return false} + if _storage._completeQuestProto902 != rhs_storage._completeQuestProto902 {return false} + if _storage._removeQuestProto903 != rhs_storage._removeQuestProto903 {return false} + if _storage._questEncounterProto904 != rhs_storage._questEncounterProto904 {return false} + if _storage._progressQuestproto906 != rhs_storage._progressQuestproto906 {return false} + if _storage._sendGiftProto950 != rhs_storage._sendGiftProto950 {return false} + if _storage._openGiftProto951 != rhs_storage._openGiftProto951 {return false} + if _storage._getgiftBoxDetailsProto952 != rhs_storage._getgiftBoxDetailsProto952 {return false} + if _storage._deleteGiftProto953 != rhs_storage._deleteGiftProto953 {return false} + if _storage._savePlayersnapshotProto954 != rhs_storage._savePlayersnapshotProto954 {return false} + if _storage._checkSendGiftProto956 != rhs_storage._checkSendGiftProto956 {return false} + if _storage._setFriendNicknameProto957 != rhs_storage._setFriendNicknameProto957 {return false} + if _storage._deleteGiftFromInventoryProto958 != rhs_storage._deleteGiftFromInventoryProto958 {return false} + if _storage._savesocialPlayersettingsProto959 != rhs_storage._savesocialPlayersettingsProto959 {return false} + if _storage._openTradingProto970 != rhs_storage._openTradingProto970 {return false} + if _storage._updateTradingProto971 != rhs_storage._updateTradingProto971 {return false} + if _storage._confirmTradingProto972 != rhs_storage._confirmTradingProto972 {return false} + if _storage._cancelTradingProto973 != rhs_storage._cancelTradingProto973 {return false} + if _storage._getTradingProto974 != rhs_storage._getTradingProto974 {return false} + if _storage._getFitnessRewardsProto980 != rhs_storage._getFitnessRewardsProto980 {return false} + if _storage._getCombatPlayerProfileProto990 != rhs_storage._getCombatPlayerProfileProto990 {return false} + if _storage._generateCombatChallengeIDProto991 != rhs_storage._generateCombatChallengeIDProto991 {return false} + if _storage._createcombatchallengeProto992 != rhs_storage._createcombatchallengeProto992 {return false} + if _storage._openCombatChallengeProto993 != rhs_storage._openCombatChallengeProto993 {return false} + if _storage._getCombatChallengeProto994 != rhs_storage._getCombatChallengeProto994 {return false} + if _storage._acceptCombatChallengeProto995 != rhs_storage._acceptCombatChallengeProto995 {return false} + if _storage._declineCombatChallengeProto996 != rhs_storage._declineCombatChallengeProto996 {return false} + if _storage._cancelcombatchallengeProto997 != rhs_storage._cancelcombatchallengeProto997 {return false} + if _storage._submitCombatChallengePokemonsProto998 != rhs_storage._submitCombatChallengePokemonsProto998 {return false} + if _storage._saveCombatPlayerPreferencesProto999 != rhs_storage._saveCombatPlayerPreferencesProto999 {return false} + if _storage._openCombatSessionProto1000 != rhs_storage._openCombatSessionProto1000 {return false} + if _storage._updateCombatProto1001 != rhs_storage._updateCombatProto1001 {return false} + if _storage._quitCombatProto1002 != rhs_storage._quitCombatProto1002 {return false} + if _storage._getCombatResultsProto1003 != rhs_storage._getCombatResultsProto1003 {return false} + if _storage._unlockPokemonMoveProto1004 != rhs_storage._unlockPokemonMoveProto1004 {return false} + if _storage._getNpcCombatRewardsProto1005 != rhs_storage._getNpcCombatRewardsProto1005 {return false} + if _storage._combatFriendRequestProto1006 != rhs_storage._combatFriendRequestProto1006 {return false} + if _storage._openNpcCombatSessionProto1007 != rhs_storage._openNpcCombatSessionProto1007 {return false} + if _storage._startTutorialProto1008 != rhs_storage._startTutorialProto1008 {return false} + if _storage._getTutorialEggProto1009 != rhs_storage._getTutorialEggProto1009 {return false} + if _storage._sendProbeProto1020 != rhs_storage._sendProbeProto1020 {return false} + if _storage._checkPhotobombProto1101 != rhs_storage._checkPhotobombProto1101 {return false} + if _storage._confirmPhotobombProto1102 != rhs_storage._confirmPhotobombProto1102 {return false} + if _storage._getPhotobombProto1103 != rhs_storage._getPhotobombProto1103 {return false} + if _storage._encounterPhotobombProto1104 != rhs_storage._encounterPhotobombProto1104 {return false} + if _storage._getgmapSettingsProto1105 != rhs_storage._getgmapSettingsProto1105 {return false} + if _storage._changeTeamProto1106 != rhs_storage._changeTeamProto1106 {return false} + if _storage._getWebTokenProto1107 != rhs_storage._getWebTokenProto1107 {return false} + if _storage._completeSnapshotSessionProto1110 != rhs_storage._completeSnapshotSessionProto1110 {return false} + if _storage._completeWildSnapshotSessionProto1111 != rhs_storage._completeWildSnapshotSessionProto1111 {return false} + if _storage._startIncidentProto1200 != rhs_storage._startIncidentProto1200 {return false} + if _storage._completeInvasionDialogueProto1201 != rhs_storage._completeInvasionDialogueProto1201 {return false} + if _storage._openInvasionCombatSessionProto1202 != rhs_storage._openInvasionCombatSessionProto1202 {return false} + if _storage._updateInvasionBattleProto1203 != rhs_storage._updateInvasionBattleProto1203 {return false} + if _storage._invasionEncounterProto1204 != rhs_storage._invasionEncounterProto1204 {return false} + if _storage._purifypokemonproto1205 != rhs_storage._purifypokemonproto1205 {return false} + if _storage._getRocketBalloonProto1206 != rhs_storage._getRocketBalloonProto1206 {return false} + if _storage._startRocketBalloonIncidentProto1207 != rhs_storage._startRocketBalloonIncidentProto1207 {return false} + if _storage._vsSeekerStartMatchmakingProto1300 != rhs_storage._vsSeekerStartMatchmakingProto1300 {return false} + if _storage._cancelMatchmakingProto1301 != rhs_storage._cancelMatchmakingProto1301 {return false} + if _storage._getMatchmakingStatusProto1302 != rhs_storage._getMatchmakingStatusProto1302 {return false} + if _storage._completeVsSeekerAndRestartchargingProto1303 != rhs_storage._completeVsSeekerAndRestartchargingProto1303 {return false} + if _storage._getVsSeekerStatusProto1304 != rhs_storage._getVsSeekerStatusProto1304 {return false} + if _storage._completecompetitiveSeasonProto1305 != rhs_storage._completecompetitiveSeasonProto1305 {return false} + if _storage._claimVsSeekerRewardsProto1306 != rhs_storage._claimVsSeekerRewardsProto1306 {return false} + if _storage._vsSeekerRewardEncounterProto1307 != rhs_storage._vsSeekerRewardEncounterProto1307 {return false} + if _storage._activateVsSeekerProto1308 != rhs_storage._activateVsSeekerProto1308 {return false} + if _storage._buddyMapProto1350 != rhs_storage._buddyMapProto1350 {return false} + if _storage._buddyStatsProto1351 != rhs_storage._buddyStatsProto1351 {return false} + if _storage._buddyFeedingProto1352 != rhs_storage._buddyFeedingProto1352 {return false} + if _storage._openBuddyGiftProto1353 != rhs_storage._openBuddyGiftProto1353 {return false} + if _storage._buddyPettingProto1354 != rhs_storage._buddyPettingProto1354 {return false} + if _storage._getBuddyHistoryProto1355 != rhs_storage._getBuddyHistoryProto1355 {return false} + if _storage._updateRouteDraftProto1400 != rhs_storage._updateRouteDraftProto1400 {return false} + if _storage._getMapFortsProto1401 != rhs_storage._getMapFortsProto1401 {return false} + if _storage._submitRouteDraftProto1402 != rhs_storage._submitRouteDraftProto1402 {return false} + if _storage._getPublishedRoutesProto1403 != rhs_storage._getPublishedRoutesProto1403 {return false} + if _storage._startRouteProto1404 != rhs_storage._startRouteProto1404 {return false} + if _storage._getRoutesProto1405 != rhs_storage._getRoutesProto1405 {return false} + if _storage._progressRouteproto1406 != rhs_storage._progressRouteproto1406 {return false} + if _storage._listRouteBadgesProto1409 != rhs_storage._listRouteBadgesProto1409 {return false} + if _storage._cancelRouteProto1410 != rhs_storage._cancelRouteProto1410 {return false} + if _storage._npcRouteGiftProto1423 != rhs_storage._npcRouteGiftProto1423 {return false} + if _storage._createBuddyMultiplayerSessionProto1456 != rhs_storage._createBuddyMultiplayerSessionProto1456 {return false} + if _storage._joinBuddyMultiplayerSessionProto1457 != rhs_storage._joinBuddyMultiplayerSessionProto1457 {return false} + if _storage._leaveBuddyMultiplayerSessionProto1458 != rhs_storage._leaveBuddyMultiplayerSessionProto1458 {return false} + if _storage._getTodayViewProto1501 != rhs_storage._getTodayViewProto1501 {return false} + if _storage._megaEvolvePokemonProto1502 != rhs_storage._megaEvolvePokemonProto1502 {return false} + if _storage._remoteGiftPingrequestProto1503 != rhs_storage._remoteGiftPingrequestProto1503 {return false} + if _storage._sendRaidInvitationProto1504 != rhs_storage._sendRaidInvitationProto1504 {return false} + if _storage._getDailyEncounterProto1601 != rhs_storage._getDailyEncounterProto1601 {return false} + if _storage._dailyEncounterProto1602 != rhs_storage._dailyEncounterProto1602 {return false} + if _storage._openSponsoredGiftProto1650 != rhs_storage._openSponsoredGiftProto1650 {return false} + if _storage._savePlayerPreferencesProto1652 != rhs_storage._savePlayerPreferencesProto1652 {return false} + if _storage._profanityCheckproto1653 != rhs_storage._profanityCheckproto1653 {return false} + if _storage._getTimedgroupChallengeProto1700 != rhs_storage._getTimedgroupChallengeProto1700 {return false} + if _storage._getNintendoAccountProto1710 != rhs_storage._getNintendoAccountProto1710 {return false} + if _storage._unlinkNintendoAccountProto1711 != rhs_storage._unlinkNintendoAccountProto1711 {return false} + if _storage._getNintendoOAuth2URLProto1712 != rhs_storage._getNintendoOAuth2URLProto1712 {return false} + if _storage._transferPokemontoPokemonHomeProto1713 != rhs_storage._transferPokemontoPokemonHomeProto1713 {return false} + if _storage._reportAdFeedbackrequest1716 != rhs_storage._reportAdFeedbackrequest1716 {return false} + if _storage._createPokemonTagProto1717 != rhs_storage._createPokemonTagProto1717 {return false} + if _storage._deletePokemonTagProto1718 != rhs_storage._deletePokemonTagProto1718 {return false} + if _storage._editPokemonTagProto1719 != rhs_storage._editPokemonTagProto1719 {return false} + if _storage._setPokemonTagsForPokemonProto1720 != rhs_storage._setPokemonTagsForPokemonProto1720 {return false} + if _storage._getPokemonTagsProto1721 != rhs_storage._getPokemonTagsProto1721 {return false} + if _storage._changePokemonFormProto1722 != rhs_storage._changePokemonFormProto1722 {return false} + if _storage._chooseGlobalTicketedEventVariantProto1723 != rhs_storage._chooseGlobalTicketedEventVariantProto1723 {return false} + if _storage._getReferralCodeProto1800 != rhs_storage._getReferralCodeProto1800 {return false} + if _storage._addReferrerProto1801 != rhs_storage._addReferrerProto1801 {return false} + if _storage._sendFriendInviteViaReferralCodeProto1802 != rhs_storage._sendFriendInviteViaReferralCodeProto1802 {return false} + if _storage._getMilestonesProto1803 != rhs_storage._getMilestonesProto1803 {return false} + if _storage._markmilestoneAsViewedProto1804 != rhs_storage._markmilestoneAsViewedProto1804 {return false} + if _storage._getMilestonesPreviewProto1805 != rhs_storage._getMilestonesPreviewProto1805 {return false} + if _storage._completeMilestoneProto1806 != rhs_storage._completeMilestoneProto1806 {return false} + if _storage._getgeofencedAdProto1820 != rhs_storage._getgeofencedAdProto1820 {return false} + if _storage._deletePostcardsProto1909 != rhs_storage._deletePostcardsProto1909 {return false} + if _storage._createPostcardProto1910 != rhs_storage._createPostcardProto1910 {return false} + if _storage._updatePostcardProto1911 != rhs_storage._updatePostcardProto1911 {return false} + if _storage._deletePostcardProto1912 != rhs_storage._deletePostcardProto1912 {return false} + if _storage._getMementoListProto1913 != rhs_storage._getMementoListProto1913 {return false} + if _storage._uploadRaidClientLogProto1914 != rhs_storage._uploadRaidClientLogProto1914 {return false} + if _storage._checkGiftingEligibilityProto2000 != rhs_storage._checkGiftingEligibilityProto2000 {return false} + if _storage._redeemTicketGiftForFriendProto2001 != rhs_storage._redeemTicketGiftForFriendProto2001 {return false} + if _storage._getPokestopEncounterProto2005 != rhs_storage._getPokestopEncounterProto2005 {return false} + if _storage._encounterPokestopencounterProto2006 != rhs_storage._encounterPokestopencounterProto2006 {return false} + if _storage._playerSpawnablepokemonproto2007 != rhs_storage._playerSpawnablepokemonproto2007 {return false} + if _storage._sendFriendRequestViaPlayerIDProto2010 != rhs_storage._sendFriendRequestViaPlayerIDProto2010 {return false} + if _storage._getRaidLobbyCounterProto2011 != rhs_storage._getRaidLobbyCounterProto2011 {return false} + if _storage._useNonCombatMoveRequestProto2014 != rhs_storage._useNonCombatMoveRequestProto2014 {return false} + if _storage._getContestDataProto2105 != rhs_storage._getContestDataProto2105 {return false} + if _storage._getContestsUnclaimedRewardsProto2106 != rhs_storage._getContestsUnclaimedRewardsProto2106 {return false} + if _storage._claimcontestsRewardsProto2107 != rhs_storage._claimcontestsRewardsProto2107 {return false} + if _storage._getEnteredContestProto2108 != rhs_storage._getEnteredContestProto2108 {return false} + if _storage._badgeRewardEncounterRequestProto2360 != rhs_storage._badgeRewardEncounterRequestProto2360 {return false} + if _storage._npcUpdateStateProto2400 != rhs_storage._npcUpdateStateProto2400 {return false} + if _storage._npcSendGiftProto2401 != rhs_storage._npcSendGiftProto2401 {return false} + if _storage._npcOpenGiftProto2402 != rhs_storage._npcOpenGiftProto2402 {return false} + if _storage._getVpsEventProto3000 != rhs_storage._getVpsEventProto3000 {return false} + if _storage._updateVpsEventProto3001 != rhs_storage._updateVpsEventProto3001 {return false} + if _storage._pushNotificationRegistryproto5000 != rhs_storage._pushNotificationRegistryproto5000 {return false} + if _storage._updateNotificationProto5002 != rhs_storage._updateNotificationProto5002 {return false} + if _storage._downloadGmTemplatesRequestProto5004 != rhs_storage._downloadGmTemplatesRequestProto5004 {return false} + if _storage._getInventoryProto5005 != rhs_storage._getInventoryProto5005 {return false} + if _storage._redeemPasscoderequestProto5006 != rhs_storage._redeemPasscoderequestProto5006 {return false} + if _storage._pingRequestproto5007 != rhs_storage._pingRequestproto5007 {return false} + if _storage._addLoginactionProto5008 != rhs_storage._addLoginactionProto5008 {return false} + if _storage._removeLoginActionProto5009 != rhs_storage._removeLoginActionProto5009 {return false} + if _storage._submitNewPoiProto5011 != rhs_storage._submitNewPoiProto5011 {return false} + if _storage._proxyRequestproto5012 != rhs_storage._proxyRequestproto5012 {return false} + if _storage._getAvailableSubmissionsProto5014 != rhs_storage._getAvailableSubmissionsProto5014 {return false} + if _storage._replaceLoginActionProto5015 != rhs_storage._replaceLoginActionProto5015 {return false} + if _storage._clientTelemetryBatchProto5018 != rhs_storage._clientTelemetryBatchProto5018 {return false} + if _storage._fitnessUpdateProto5024 != rhs_storage._fitnessUpdateProto5024 {return false} + if _storage._getFitnessReportProto5025 != rhs_storage._getFitnessReportProto5025 {return false} + if _storage._clientTelemetrySettingsRequestProto5026 != rhs_storage._clientTelemetrySettingsRequestProto5026 {return false} + if _storage._setInGameCurrencyExchangeRateProto5032 != rhs_storage._setInGameCurrencyExchangeRateProto5032 {return false} + if _storage._geofenceUpdateProto5033 != rhs_storage._geofenceUpdateProto5033 {return false} + if _storage._locationPingProto5034 != rhs_storage._locationPingProto5034 {return false} + if _storage._generategmapSignedURLProto5035 != rhs_storage._generategmapSignedURLProto5035 {return false} + if _storage._getgmapSettingsProto5036 != rhs_storage._getgmapSettingsProto5036 {return false} + if _storage._getOutstandingWarningsRequestProto5039 != rhs_storage._getOutstandingWarningsRequestProto5039 {return false} + if _storage._acknowledgeWarningsRequestProto5040 != rhs_storage._acknowledgeWarningsRequestProto5040 {return false} + if _storage._getWebTokenProto5045 != rhs_storage._getWebTokenProto5045 {return false} + if _storage._getAdventureSyncSettingsRequestProto5046 != rhs_storage._getAdventureSyncSettingsRequestProto5046 {return false} + if _storage._updateAdventureSyncSettingsRequestProto5047 != rhs_storage._updateAdventureSyncSettingsRequestProto5047 {return false} + if _storage._setBirthdayRequestProto5048 != rhs_storage._setBirthdayRequestProto5048 {return false} + if _storage._savesocialPlayersettingsProto10016 != rhs_storage._savesocialPlayersettingsProto10016 {return false} + if _storage._pushNotificationRegistryproto10101 != rhs_storage._pushNotificationRegistryproto10101 {return false} + if _storage._updateNotificationProto10103 != rhs_storage._updateNotificationProto10103 {return false} + if _storage._getOutstandingWarningsRequestProto200000 != rhs_storage._getOutstandingWarningsRequestProto200000 {return false} + if _storage._acknowledgeWarningsRequestProto200001 != rhs_storage._acknowledgeWarningsRequestProto200001 {return false} + if _storage._getAdventureSyncProgressProto230002 != rhs_storage._getAdventureSyncProgressProto230002 {return false} + if _storage._setInGameCurrencyExchangeRateProto310002 != rhs_storage._setInGameCurrencyExchangeRateProto310002 {return false} + if _storage._geofenceUpdateProto360000 != rhs_storage._geofenceUpdateProto360000 {return false} + if _storage._locationPingProto360001 != rhs_storage._locationPingProto360001 {return false} + if _storage._updateBreadcrumbHistoryRequestProto361000 != rhs_storage._updateBreadcrumbHistoryRequestProto361000 {return false} + if _storage._refreshProximityTokensrequestProto362000 != rhs_storage._refreshProximityTokensrequestProto362000 {return false} + if _storage._reportProximityContactsrequestProto362001 != rhs_storage._reportProximityContactsrequestProto362001 {return false} + if _storage._submitNewPoiProto620000 != rhs_storage._submitNewPoiProto620000 {return false} + if _storage._getAvailableSubmissionsProto620001 != rhs_storage._getAvailableSubmissionsProto620001 {return false} + if _storage._generategmapSignedURLProto620300 != rhs_storage._generategmapSignedURLProto620300 {return false} + if _storage._getgmapSettingsProto620301 != rhs_storage._getgmapSettingsProto620301 {return false} + if _storage._fitnessUpdateProto640000 != rhs_storage._fitnessUpdateProto640000 {return false} + if _storage._getFitnessReportProto640001 != rhs_storage._getFitnessReportProto640001 {return false} + if _storage._getAdventureSyncSettingsRequestProto640002 != rhs_storage._getAdventureSyncSettingsRequestProto640002 {return false} + if _storage._updateAdventureSyncSettingsRequestProto640003 != rhs_storage._updateAdventureSyncSettingsRequestProto640003 {return false} + if _storage._updateAdventureSyncFitnessRequestProto640004 != rhs_storage._updateAdventureSyncFitnessRequestProto640004 {return false} + if _storage._getAdventureSyncFitnessReportRequestProto640005 != rhs_storage._getAdventureSyncFitnessReportRequestProto640005 {return false} + return true } + if !storagesAreEqual {return false} } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.gymID.isEmpty { - try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) - } - if !self.battleID.isEmpty { - try visitor.visitSingularStringField(value: self.battleID, fieldNumber: 2) - } - if !self.attackerActions.isEmpty { - try visitor.visitRepeatedMessageField(value: self.attackerActions, fieldNumber: 3) - } - try { if let v = self._lastRetrievedAction { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.playerLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 5) - } - if self.playerLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AttackGymProto, rhs: AttackGymProto) -> Bool { - if lhs.gymID != rhs.gymID {return false} - if lhs.battleID != rhs.battleID {return false} - if lhs.attackerActions != rhs.attackerActions {return false} - if lhs._lastRetrievedAction != rhs._lastRetrievedAction {return false} - if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} - if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AttackRaidBattleOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AttackRaidBattleOutProto" +extension AllTypesAndMessagesResponsesProto.AllResponsesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = AllTypesAndMessagesResponsesProto.protoMessageName + ".AllResponsesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "battle_update"), - 3: .standard(proto: "sponsored_gift"), - 4: .same(proto: "ad"), + 2: .standard(proto: "get_player_out_proto_2"), + 4: .standard(proto: "get_holoholo_inventory_out_proto_4"), + 5: .standard(proto: "download_settings_response_proto_5"), + 6: .standard(proto: "getgame_master_client_templates_out_proto_6"), + 7: .standard(proto: "get_remote_config_versions_out_proto_7"), + 8: .standard(proto: "register_background_deviceresponse_proto_8"), + 9: .standard(proto: "get_player_day_out_proto_9"), + 10: .standard(proto: "acknowledge_punishment_out_proto_10"), + 11: .standard(proto: "get_server_time_out_proto_11"), + 12: .standard(proto: "get_local_time_out_proto_12"), + 101: .standard(proto: "fort_search_out_proto_101"), + 102: .standard(proto: "encounter_out_proto_102"), + 103: .standard(proto: "catch_pokemon_out_proto_103"), + 104: .standard(proto: "fort_details_out_proto_104"), + 106: .standard(proto: "get_map_objects_out_proto_106"), + 110: .standard(proto: "fort_deploy_out_proto_110"), + 111: .standard(proto: "fort_recall_out_proto_111"), + 112: .standard(proto: "release_pokemon_out_proto_112"), + 113: .standard(proto: "use_item_potion_out_proto_113"), + 114: .standard(proto: "use_item_capture_out_proto_114"), + 116: .standard(proto: "use_item_revive_out_proto_116"), + 121: .standard(proto: "playerprofile_outproto_121"), + 125: .standard(proto: "evolve_pokemon_out_proto_125"), + 126: .standard(proto: "get_hatched_eggs_out_proto_126"), + 127: .standard(proto: "encounter_tutorial_complete_out_proto_127"), + 128: .standard(proto: "level_up_rewards_out_proto_128"), + 129: .standard(proto: "check_awarded_badges_out_proto_129"), + 137: .standard(proto: "recycle_item_out_proto_137"), + 138: .standard(proto: "collect_daily_bonus_out_proto_138"), + 139: .standard(proto: "use_item_xp_boost_out_proto_139"), + 140: .standard(proto: "use_item_egg_incubator_out_proto_140"), + 141: .standard(proto: "use_incense_action_out_proto_141"), + 142: .standard(proto: "get_incense_pokemon_out_proto_142"), + 143: .standard(proto: "incense_encounter_out_proto_143"), + 144: .standard(proto: "add_fort_modifier_out_proto_144"), + 145: .standard(proto: "disk_encounter_out_proto_145"), + 147: .standard(proto: "upgrade_pokemon_out_proto_147"), + 148: .standard(proto: "set_favorite_pokemon_out_proto_148"), + 149: .standard(proto: "nickname_pokemon_out_proto_149"), + 151: .standard(proto: "set_contactsettings_out_proto_151"), + 152: .standard(proto: "set_buddy_pokemon_out_proto_152"), + 153: .standard(proto: "get_buddy_walked_out_proto_153"), + 154: .standard(proto: "use_item_encounter_out_proto_154"), + 155: .standard(proto: "gym_deploy_out_proto_155"), + 156: .standard(proto: "gymget_info_out_proto_156"), + 157: .standard(proto: "gym_start_session_out_proto_157"), + 158: .standard(proto: "gym_battle_attack_out_proto_158"), + 159: .standard(proto: "join_lobby_out_proto_159"), + 160: .standard(proto: "leavelobby_out_proto_160"), + 161: .standard(proto: "set_lobby_visibility_out_proto_161"), + 162: .standard(proto: "set_lobby_pokemon_out_proto_162"), + 163: .standard(proto: "get_raid_details_out_proto_163"), + 164: .standard(proto: "gym_feed_pokemon_out_proto_164"), + 165: .standard(proto: "start_raid_battle_out_proto_165"), + 166: .standard(proto: "attack_raid_battle_out_proto_166"), + 168: .standard(proto: "use_item_stardust_boost_out_proto_168"), + 169: .standard(proto: "reassign_player_out_proto_169"), + 171: .standard(proto: "convertcandy_to_xlcandy_out_proto_171"), + 172: .standard(proto: "is_sku_available_out_proto_172"), + 300: .standard(proto: "asset_digest_out_proto_300"), + 301: .standard(proto: "download_url_out_proto_301"), + 302: .standard(proto: "asset_version_out_proto_302"), + 403: .standard(proto: "codename_result_proto_403"), + 404: .standard(proto: "set_avatar_out_proto_404"), + 405: .standard(proto: "set_player_team_out_proto_405"), + 406: .standard(proto: "mark_tutorial_complete_out_proto_406"), + 408: .standard(proto: "set_neutral_avatar_out_proto_408"), + 600: .standard(proto: "checkchallenge_out_proto_600"), + 601: .standard(proto: "verify_challenge_out_proto_601"), + 666: .standard(proto: "echo_out_proto_666"), + 800: .standard(proto: "register_sfidaresponse_800"), + 802: .standard(proto: "sfida_certification_response_802"), + 803: .standard(proto: "sfida_update_response_803"), + 805: .standard(proto: "sfida_dowser_response_805"), + 806: .standard(proto: "sfida_capture_response_806"), + 807: .standard(proto: "list_avatar_customizations_out_proto_807"), + 808: .standard(proto: "set_avatar_item_as_viewed_out_proto_808"), + 809: .standard(proto: "get_inbox_out_proto_809"), + 811: .standard(proto: "list_gym_badges_out_proto_811"), + 812: .standard(proto: "getgym_badge_details_out_proto_812"), + 813: .standard(proto: "use_item_move_reroll_out_proto_813"), + 814: .standard(proto: "use_item_rare_candy_out_proto_814"), + 815: .standard(proto: "award_free_raid_ticket_out_proto_815"), + 816: .standard(proto: "fetch_all_news_out_proto_816"), + 817: .standard(proto: "mark_read_news_article_out_proto_817"), + 819: .standard(proto: "beluga_transaction_start_out_proto_819"), + 820: .standard(proto: "beluga_transaction_complete_out_proto_820"), + 822: .standard(proto: "sfida_associate_response_822"), + 823: .standard(proto: "sfida_check_pairing_response_823"), + 824: .standard(proto: "sfida_disassociate_response_824"), + 825: .standard(proto: "waina_get_rewards_response_825"), + 826: .standard(proto: "waina_submit_sleep_data_response_826"), + 900: .standard(proto: "get_new_quests_out_proto_900"), + 901: .standard(proto: "get_quest_details_out_proto_901"), + 902: .standard(proto: "complete_quest_out_proto_902"), + 903: .standard(proto: "remove_quest_out_proto_903"), + 904: .standard(proto: "quest_encounter_out_proto_904"), + 906: .standard(proto: "progress_quest_outproto_906"), + 950: .standard(proto: "send_gift_out_proto_950"), + 951: .standard(proto: "open_giftout_proto_951"), + 952: .standard(proto: "getgift_box_details_out_proto_952"), + 953: .standard(proto: "delete_gift_out_proto_953"), + 954: .standard(proto: "save_playersnapshot_out_proto_954"), + 956: .standard(proto: "check_send_gift_out_proto_956"), + 957: .standard(proto: "set_friend_nickname_out_proto_957"), + 958: .standard(proto: "delete_gift_from_inventory_out_proto_958"), + 959: .standard(proto: "savesocial_playersettings_out_proto_959"), + 970: .standard(proto: "open_tradingout_proto_970"), + 971: .standard(proto: "update_trading_out_proto_971"), + 972: .standard(proto: "confirm_trading_out_proto_972"), + 973: .standard(proto: "cancel_trading_out_proto_973"), + 974: .standard(proto: "get_trading_out_proto_974"), + 980: .standard(proto: "get_fitness_rewards_out_proto_980"), + 990: .standard(proto: "get_combat_player_profile_out_proto_990"), + 991: .standard(proto: "generate_combat_challenge_id_out_proto_991"), + 992: .standard(proto: "createcombatchallenge_out_proto_992"), + 993: .standard(proto: "open_combat_challengeout_proto_993"), + 994: .standard(proto: "get_combat_challenge_out_proto_994"), + 995: .standard(proto: "accept_combat_challenge_out_proto_995"), + 996: .standard(proto: "decline_combat_challenge_out_proto_996"), + 997: .standard(proto: "cancelcombatchallenge_out_proto_997"), + 998: .standard(proto: "submit_combat_challenge_pokemons_out_proto_998"), + 999: .standard(proto: "save_combat_player_preferences_out_proto_999"), + 1000: .standard(proto: "open_combat_sessionout_proto_1000"), + 1001: .standard(proto: "update_combat_out_proto_1001"), + 1002: .standard(proto: "quit_combat_out_proto_1002"), + 1003: .standard(proto: "get_combat_results_out_proto_1003"), + 1004: .standard(proto: "unlock_pokemon_move_out_proto_1004"), + 1005: .standard(proto: "get_npc_combat_rewards_out_proto_1005"), + 1006: .standard(proto: "combat_friend_request_out_proto_1006"), + 1007: .standard(proto: "open_npc_combat_sessionout_proto_1007"), + 1008: .standard(proto: "start_tutorial_out_proto_1008"), + 1009: .standard(proto: "get_tutorial_egg_out_proto_1009"), + 1020: .standard(proto: "send_probe_out_proto_1020"), + 1101: .standard(proto: "check_photobomb_out_proto_1101"), + 1102: .standard(proto: "confirm_photobomb_out_proto_1102"), + 1103: .standard(proto: "get_photobomb_out_proto_1103"), + 1104: .standard(proto: "encounter_photobomb_out_proto_1104"), + 1105: .standard(proto: "getgmap_settings_out_proto_1105"), + 1106: .standard(proto: "change_team_out_proto_1106"), + 1107: .standard(proto: "get_web_token_out_proto_1107"), + 1110: .standard(proto: "complete_snapshot_session_out_proto_1110"), + 1111: .standard(proto: "complete_wild_snapshot_session_out_proto_1111"), + 1200: .standard(proto: "start_incident_out_proto_1200"), + 1201: .standard(proto: "complete_invasion_dialogue_out_proto_1201"), + 1202: .standard(proto: "open_invasion_combat_sessionout_proto_1202"), + 1203: .standard(proto: "update_invasion_battle_out_proto_1203"), + 1204: .standard(proto: "invasion_encounter_out_proto_1204"), + 1205: .standard(proto: "purifypokemon_outproto_1205"), + 1206: .standard(proto: "get_rocket_balloon_out_proto_1206"), + 1300: .standard(proto: "vs_seeker_start_matchmaking_out_proto_1300"), + 1301: .standard(proto: "cancel_matchmaking_out_proto_1301"), + 1302: .standard(proto: "get_matchmaking_status_out_proto_1302"), + 1303: .standard(proto: "complete_vs_seeker_and_restartcharging_out_proto_1303"), + 1304: .standard(proto: "get_vs_seeker_status_out_proto_1304"), + 1305: .standard(proto: "completecompetitive_season_out_proto_1305"), + 1306: .standard(proto: "claim_vs_seeker_rewards_out_proto_1306"), + 1307: .standard(proto: "vs_seeker_reward_encounter_out_proto_1307"), + 1308: .standard(proto: "activate_vs_seeker_out_proto_1308"), + 1350: .standard(proto: "buddy_map_out_proto_1350"), + 1351: .standard(proto: "buddy_stats_out_proto_1351"), + 1352: .standard(proto: "buddy_feeding_out_proto_1352"), + 1353: .standard(proto: "open_buddy_giftout_proto_1353"), + 1354: .standard(proto: "buddy_petting_out_proto_1354"), + 1355: .standard(proto: "get_buddy_history_out_proto_1355"), + 1400: .standard(proto: "update_route_draft_out_proto_1400"), + 1401: .standard(proto: "get_map_forts_out_proto_1401"), + 1402: .standard(proto: "submit_route_draft_out_proto_1402"), + 1403: .standard(proto: "get_published_routes_out_proto_1403"), + 1404: .standard(proto: "start_route_out_proto_1404"), + 1405: .standard(proto: "get_routes_out_proto_1405"), + 1406: .standard(proto: "progress_route_outproto_1406"), + 1409: .standard(proto: "list_route_badges_out_proto_1409"), + 1410: .standard(proto: "cancel_route_out_proto_1410"), + 1423: .standard(proto: "npc_route_gift_out_proto_1423"), + 1456: .standard(proto: "create_buddy_multiplayer_session_out_proto_1456"), + 1457: .standard(proto: "join_buddy_multiplayer_session_out_proto_1457"), + 1458: .standard(proto: "leave_buddy_multiplayer_session_out_proto_1458"), + 1501: .standard(proto: "get_today_view_out_proto_1501"), + 1502: .standard(proto: "mega_evolve_pokemon_out_proto_1502"), + 1503: .standard(proto: "remote_gift_pingresponse_proto_1503"), + 1504: .standard(proto: "send_raid_invitation_out_proto_1504"), + 1601: .standard(proto: "get_daily_encounter_out_proto_1601"), + 1602: .standard(proto: "daily_encounter_out_proto_1602"), + 1650: .standard(proto: "open_sponsored_giftout_proto_1650"), + 1652: .standard(proto: "save_player_preferences_out_proto_1652"), + 1653: .standard(proto: "profanity_check_outproto_1653"), + 1700: .standard(proto: "get_timedgroup_challenge_out_proto_1700"), + 1710: .standard(proto: "get_nintendo_account_out_proto_1710"), + 1711: .standard(proto: "unlink_nintendo_account_out_proto_1711"), + 1712: .standard(proto: "get_nintendo_o_auth2_url_out_proto_1712"), + 1713: .standard(proto: "transfer_pokemonto_pokemon_home_out_proto_1713"), + 1716: .standard(proto: "report_ad_feedbackresponse_1716"), + 1717: .standard(proto: "create_pokemon_tag_out_proto_1717"), + 1718: .standard(proto: "delete_pokemon_tag_out_proto_1718"), + 1719: .standard(proto: "edit_pokemon_tag_out_proto_1719"), + 1720: .standard(proto: "set_pokemon_tags_for_pokemon_out_proto_1720"), + 1721: .standard(proto: "get_pokemon_tags_out_proto_1721"), + 1722: .standard(proto: "change_pokemon_form_out_proto_1722"), + 1723: .standard(proto: "choose_global_ticketed_event_variant_out_proto_1723"), + 1800: .standard(proto: "get_referral_code_out_proto_1800"), + 1801: .standard(proto: "add_referrer_out_proto_1801"), + 1802: .standard(proto: "send_friend_invite_via_referral_code_out_proto_1802"), + 1803: .standard(proto: "get_milestones_out_proto_1803"), + 1804: .standard(proto: "markmilestone_as_viewed_out_proto_1804"), + 1805: .standard(proto: "get_milestones_preview_out_proto_1805"), + 1806: .standard(proto: "complete_milestone_out_proto_1806"), + 1820: .standard(proto: "getgeofenced_ad_out_proto_1820"), + 1909: .standard(proto: "delete_postcards_out_proto_1909"), + 1910: .standard(proto: "create_postcard_out_proto_1910"), + 1911: .standard(proto: "update_postcard_out_proto_1911"), + 1912: .standard(proto: "delete_postcard_out_proto_1912"), + 1913: .standard(proto: "get_memento_list_out_proto_1913"), + 1914: .standard(proto: "upload_raid_client_log_out_proto_1914"), + 2000: .standard(proto: "check_gifting_eligibility_out_proto_2000"), + 2001: .standard(proto: "redeem_ticket_gift_for_friend_out_proto_2001"), + 2005: .standard(proto: "get_pokestop_encounter_out_proto_2005"), + 2006: .standard(proto: "encounter_pokestopencounter_out_proto_2006"), + 2007: .standard(proto: "player_spawnablepokemon_outproto_2007"), + 2010: .standard(proto: "send_friend_request_via_player_id_out_proto_2010"), + 2011: .standard(proto: "get_raid_lobby_counter_out_proto_2011"), + 2014: .standard(proto: "use_non_combat_move_response_proto_2014"), + 2105: .standard(proto: "get_contest_data_out_proto_2105"), + 2106: .standard(proto: "get_contests_unclaimed_rewards_out_proto_2106"), + 2107: .standard(proto: "claimcontests_rewards_out_proto_2107"), + 2108: .standard(proto: "get_entered_contest_out_proto_2108"), + 2302: .standard(proto: "start_party_out_proto_2302"), + 2360: .standard(proto: "badge_reward_encounter_response_proto_2360"), + 2400: .standard(proto: "npc_update_state_out_proto_2400"), + 2401: .standard(proto: "npc_send_gift_out_proto_2401"), + 2402: .standard(proto: "npc_open_gift_out_proto_2402"), + 3000: .standard(proto: "get_vps_event_out_proto_3000"), + 3001: .standard(proto: "update_vps_event_out_proto_3001"), + 5000: .standard(proto: "push_notification_registry_outproto_5000"), + 5002: .standard(proto: "update_notification_out_proto_5002"), + 5003: .standard(proto: "optout_proto_5003"), + 5004: .standard(proto: "download_gm_templates_response_proto_5004"), + 5005: .standard(proto: "get_inventory_response_proto_5005"), + 5006: .standard(proto: "redeem_passcoderesponse_proto_5006"), + 5007: .standard(proto: "ping_responseproto_5007"), + 5008: .standard(proto: "add_loginaction_out_proto_5008"), + 5009: .standard(proto: "remove_login_action_out_proto_5009"), + 5010: .standard(proto: "listlogin_action_out_proto_5010"), + 5011: .standard(proto: "submit_new_poi_out_proto_5011"), + 5012: .standard(proto: "proxy_responseproto_5012"), + 5014: .standard(proto: "get_available_submissions_out_proto_5014"), + 5015: .standard(proto: "replace_login_action_out_proto_5015"), + 5024: .standard(proto: "fitness_update_out_proto_5024"), + 5025: .standard(proto: "get_fitness_report_out_proto_5025"), + 5026: .standard(proto: "client_telemetryclient_settings_proto_5026"), + 5032: .standard(proto: "set_in_game_currency_exchange_rate_out_proto_5032"), + 5033: .standard(proto: "geofence_update_out_proto_5033"), + 5034: .standard(proto: "location_ping_out_proto_5034"), + 5035: .standard(proto: "generategmap_signed_url_out_proto_5035"), + 5036: .standard(proto: "getgmap_settings_out_proto_5036"), + 5039: .standard(proto: "get_outstanding_warnings_response_proto_5039"), + 5040: .standard(proto: "acknowledge_warnings_response_proto_5040"), + 5045: .standard(proto: "get_web_token_out_proto_5045"), + 5046: .standard(proto: "get_adventure_sync_settings_response_proto_5046"), + 5047: .standard(proto: "update_adventure_sync_settings_response_proto_5047"), + 5048: .standard(proto: "set_birthday_response_proto_5048"), + 5049: .standard(proto: "fetch_newsfeed_response_5049"), + 5050: .standard(proto: "mark_newsfeed_read_response_5050"), + 10016: .standard(proto: "savesocial_playersettings_out_proto_10016"), + 10101: .standard(proto: "push_notification_registry_outproto_10101"), + 10103: .standard(proto: "update_notification_out_proto_10103"), + 10104: .standard(proto: "optout_proto_10104"), + 10105: .standard(proto: "get_inbox_out_proto_10105"), + 200000: .standard(proto: "get_outstanding_warnings_response_proto_200000"), + 200001: .standard(proto: "acknowledge_warnings_response_proto_200001"), + 230002: .standard(proto: "get_adventure_sync_progress_out_proto_230002"), + 310002: .standard(proto: "set_in_game_currency_exchange_rate_out_proto_310002"), + 360000: .standard(proto: "geofence_update_out_proto_360000"), + 360001: .standard(proto: "location_ping_out_proto_360001"), + 361000: .standard(proto: "update_breadcrumb_history_response_proto_361000"), + 362000: .standard(proto: "refresh_proximity_tokensresponse_proto_362000"), + 362001: .standard(proto: "report_proximity_contactsresponse_proto_362001"), + 620000: .standard(proto: "submit_new_poi_out_proto_620000"), + 620001: .standard(proto: "get_available_submissions_out_proto_620001"), + 620300: .standard(proto: "generategmap_signed_url_out_proto_620300"), + 620301: .standard(proto: "getgmap_settings_out_proto_620301"), + 640000: .standard(proto: "fitness_update_out_proto_640000"), + 640001: .standard(proto: "get_fitness_report_out_proto_640001"), + 640002: .standard(proto: "get_adventure_sync_settings_response_proto_640002"), + 640003: .standard(proto: "update_adventure_sync_settings_response_proto_640003"), + 640004: .standard(proto: "update_adventure_sync_fitness_response_proto_640004"), + 640005: .standard(proto: "get_adventure_sync_fitness_report_response_proto_640005"), ] fileprivate class _StorageClass { - var _result: AttackRaidBattleOutProto.Result = .unset - var _battleUpdate: BattleUpdateProto? = nil - var _sponsoredGift: AdDetails? = nil - var _ad: AdProto? = nil + var _getPlayerOutProto2: GetPlayerOutProto? = nil + var _getHoloholoInventoryOutProto4: GetHoloholoInventoryOutProto? = nil + var _downloadSettingsResponseProto5: DownloadSettingsResponseProto? = nil + var _getgameMasterClientTemplatesOutProto6: GetGameMasterClientTemplatesOutProto? = nil + var _getRemoteConfigVersionsOutProto7: GetRemoteConfigVersionsOutProto? = nil + var _registerBackgroundDeviceresponseProto8: RegisterBackgroundDeviceResponseProto? = nil + var _getPlayerDayOutProto9: GetPlayerDayOutProto? = nil + var _acknowledgePunishmentOutProto10: AcknowledgePunishmentOutProto? = nil + var _getServerTimeOutProto11: GetServerTimeOutProto? = nil + var _getLocalTimeOutProto12: GetLocalTimeOutProto? = nil + var _fortSearchOutProto101: FortSearchOutProto? = nil + var _encounterOutProto102: EncounterOutProto? = nil + var _catchPokemonOutProto103: CatchPokemonOutProto? = nil + var _fortDetailsOutProto104: FortDetailsOutProto? = nil + var _getMapObjectsOutProto106: GetMapObjectsOutProto? = nil + var _fortDeployOutProto110: FortDeployOutProto? = nil + var _fortRecallOutProto111: FortRecallOutProto? = nil + var _releasePokemonOutProto112: ReleasePokemonOutProto? = nil + var _useItemPotionOutProto113: UseItemPotionOutProto? = nil + var _useItemCaptureOutProto114: UseItemCaptureOutProto? = nil + var _useItemReviveOutProto116: UseItemReviveOutProto? = nil + var _playerprofileOutproto121: PlayerProfileOutProto? = nil + var _evolvePokemonOutProto125: EvolvePokemonOutProto? = nil + var _getHatchedEggsOutProto126: GetHatchedEggsOutProto? = nil + var _encounterTutorialCompleteOutProto127: EncounterTutorialCompleteOutProto? = nil + var _levelUpRewardsOutProto128: LevelUpRewardsOutProto? = nil + var _checkAwardedBadgesOutProto129: CheckAwardedBadgesOutProto? = nil + var _recycleItemOutProto137: RecycleItemOutProto? = nil + var _collectDailyBonusOutProto138: CollectDailyBonusOutProto? = nil + var _useItemXpBoostOutProto139: UseItemXpBoostOutProto? = nil + var _useItemEggIncubatorOutProto140: UseItemEggIncubatorOutProto? = nil + var _useIncenseActionOutProto141: UseIncenseActionOutProto? = nil + var _getIncensePokemonOutProto142: GetIncensePokemonOutProto? = nil + var _incenseEncounterOutProto143: IncenseEncounterOutProto? = nil + var _addFortModifierOutProto144: AddFortModifierOutProto? = nil + var _diskEncounterOutProto145: DiskEncounterOutProto? = nil + var _upgradePokemonOutProto147: UpgradePokemonOutProto? = nil + var _setFavoritePokemonOutProto148: SetFavoritePokemonOutProto? = nil + var _nicknamePokemonOutProto149: NicknamePokemonOutProto? = nil + var _setContactsettingsOutProto151: SetContactSettingsOutProto? = nil + var _setBuddyPokemonOutProto152: SetBuddyPokemonOutProto? = nil + var _getBuddyWalkedOutProto153: GetBuddyWalkedOutProto? = nil + var _useItemEncounterOutProto154: UseItemEncounterOutProto? = nil + var _gymDeployOutProto155: GymDeployOutProto? = nil + var _gymgetInfoOutProto156: GymGetInfoOutProto? = nil + var _gymStartSessionOutProto157: GymStartSessionOutProto? = nil + var _gymBattleAttackOutProto158: GymBattleAttackOutProto? = nil + var _joinLobbyOutProto159: JoinLobbyOutProto? = nil + var _leavelobbyOutProto160: LeaveLobbyOutProto? = nil + var _setLobbyVisibilityOutProto161: SetLobbyVisibilityOutProto? = nil + var _setLobbyPokemonOutProto162: SetLobbyPokemonOutProto? = nil + var _getRaidDetailsOutProto163: GetRaidDetailsOutProto? = nil + var _gymFeedPokemonOutProto164: GymFeedPokemonOutProto? = nil + var _startRaidBattleOutProto165: StartRaidBattleOutProto? = nil + var _attackRaidBattleOutProto166: AttackRaidBattleOutProto? = nil + var _useItemStardustBoostOutProto168: UseItemStardustBoostOutProto? = nil + var _reassignPlayerOutProto169: ReassignPlayerOutProto? = nil + var _convertcandyToXlcandyOutProto171: ConvertCandyToXlCandyOutProto? = nil + var _isSkuAvailableOutProto172: IsSkuAvailableOutProto? = nil + var _assetDigestOutProto300: AssetDigestOutProto? = nil + var _downloadURLOutProto301: DownloadUrlOutProto? = nil + var _assetVersionOutProto302: AssetVersionOutProto? = nil + var _codenameResultProto403: CodenameResultProto? = nil + var _setAvatarOutProto404: SetAvatarOutProto? = nil + var _setPlayerTeamOutProto405: SetPlayerTeamOutProto? = nil + var _markTutorialCompleteOutProto406: MarkTutorialCompleteOutProto? = nil + var _setNeutralAvatarOutProto408: SetNeutralAvatarOutProto? = nil + var _checkchallengeOutProto600: CheckChallengeOutProto? = nil + var _verifyChallengeOutProto601: VerifyChallengeOutProto? = nil + var _echoOutProto666: EchoOutProto? = nil + var _registerSfidaresponse800: RegisterSfidaResponse? = nil + var _sfidaCertificationResponse802: SfidaCertificationResponse? = nil + var _sfidaUpdateResponse803: SfidaUpdateResponse? = nil + var _sfidaDowserResponse805: SfidaDowserResponse? = nil + var _sfidaCaptureResponse806: SfidaCaptureResponse? = nil + var _listAvatarCustomizationsOutProto807: ListAvatarCustomizationsOutProto? = nil + var _setAvatarItemAsViewedOutProto808: SetAvatarItemAsViewedOutProto? = nil + var _getInboxOutProto809: GetInboxOutProto? = nil + var _listGymBadgesOutProto811: ListGymBadgesOutProto? = nil + var _getgymBadgeDetailsOutProto812: GetGymBadgeDetailsOutProto? = nil + var _useItemMoveRerollOutProto813: UseItemMoveRerollOutProto? = nil + var _useItemRareCandyOutProto814: UseItemRareCandyOutProto? = nil + var _awardFreeRaidTicketOutProto815: AwardFreeRaidTicketOutProto? = nil + var _fetchAllNewsOutProto816: FetchAllNewsOutProto? = nil + var _markReadNewsArticleOutProto817: MarkReadNewsArticleOutProto? = nil + var _belugaTransactionStartOutProto819: BelugaTransactionStartOutProto? = nil + var _belugaTransactionCompleteOutProto820: BelugaTransactionCompleteOutProto? = nil + var _sfidaAssociateResponse822: SfidaAssociateResponse? = nil + var _sfidaCheckPairingResponse823: SfidaCheckPairingResponse? = nil + var _sfidaDisassociateResponse824: SfidaDisassociateResponse? = nil + var _wainaGetRewardsResponse825: WainaGetRewardsResponse? = nil + var _wainaSubmitSleepDataResponse826: WainaSubmitSleepDataResponse? = nil + var _getNewQuestsOutProto900: GetNewQuestsOutProto? = nil + var _getQuestDetailsOutProto901: GetQuestDetailsOutProto? = nil + var _completeQuestOutProto902: CompleteQuestOutProto? = nil + var _removeQuestOutProto903: RemoveQuestOutProto? = nil + var _questEncounterOutProto904: QuestEncounterOutProto? = nil + var _progressQuestOutproto906: ProgressQuestOutProto? = nil + var _sendGiftOutProto950: SendGiftOutProto? = nil + var _openGiftoutProto951: OpenGiftOutProto? = nil + var _getgiftBoxDetailsOutProto952: GetGiftBoxDetailsOutProto? = nil + var _deleteGiftOutProto953: DeleteGiftOutProto? = nil + var _savePlayersnapshotOutProto954: SavePlayerSnapshotOutProto? = nil + var _checkSendGiftOutProto956: CheckSendGiftOutProto? = nil + var _setFriendNicknameOutProto957: SetFriendNicknameOutProto? = nil + var _deleteGiftFromInventoryOutProto958: DeleteGiftFromInventoryOutProto? = nil + var _savesocialPlayersettingsOutProto959: SaveSocialPlayerSettingsOutProto? = nil + var _openTradingoutProto970: OpenTradingOutProto? = nil + var _updateTradingOutProto971: UpdateTradingOutProto? = nil + var _confirmTradingOutProto972: ConfirmTradingOutProto? = nil + var _cancelTradingOutProto973: CancelTradingOutProto? = nil + var _getTradingOutProto974: GetTradingOutProto? = nil + var _getFitnessRewardsOutProto980: GetFitnessRewardsOutProto? = nil + var _getCombatPlayerProfileOutProto990: GetCombatPlayerProfileOutProto? = nil + var _generateCombatChallengeIDOutProto991: GenerateCombatChallengeIdOutProto? = nil + var _createcombatchallengeOutProto992: CreateCombatChallengeOutProto? = nil + var _openCombatChallengeoutProto993: OpenCombatChallengeOutProto? = nil + var _getCombatChallengeOutProto994: GetCombatChallengeOutProto? = nil + var _acceptCombatChallengeOutProto995: AcceptCombatChallengeOutProto? = nil + var _declineCombatChallengeOutProto996: DeclineCombatChallengeOutProto? = nil + var _cancelcombatchallengeOutProto997: CancelCombatChallengeOutProto? = nil + var _submitCombatChallengePokemonsOutProto998: SubmitCombatChallengePokemonsOutProto? = nil + var _saveCombatPlayerPreferencesOutProto999: SaveCombatPlayerPreferencesOutProto? = nil + var _openCombatSessionoutProto1000: OpenCombatSessionOutProto? = nil + var _updateCombatOutProto1001: UpdateCombatOutProto? = nil + var _quitCombatOutProto1002: QuitCombatOutProto? = nil + var _getCombatResultsOutProto1003: GetCombatResultsOutProto? = nil + var _unlockPokemonMoveOutProto1004: UnlockPokemonMoveOutProto? = nil + var _getNpcCombatRewardsOutProto1005: GetNpcCombatRewardsOutProto? = nil + var _combatFriendRequestOutProto1006: CombatFriendRequestOutProto? = nil + var _openNpcCombatSessionoutProto1007: OpenNpcCombatSessionOutProto? = nil + var _startTutorialOutProto1008: StartTutorialOutProto? = nil + var _getTutorialEggOutProto1009: GetTutorialEggOutProto? = nil + var _sendProbeOutProto1020: SendProbeOutProto? = nil + var _checkPhotobombOutProto1101: CheckPhotobombOutProto? = nil + var _confirmPhotobombOutProto1102: ConfirmPhotobombOutProto? = nil + var _getPhotobombOutProto1103: GetPhotobombOutProto? = nil + var _encounterPhotobombOutProto1104: EncounterPhotobombOutProto? = nil + var _getgmapSettingsOutProto1105: GetGmapSettingsOutProto? = nil + var _changeTeamOutProto1106: ChangeTeamOutProto? = nil + var _getWebTokenOutProto1107: GetWebTokenOutProto? = nil + var _completeSnapshotSessionOutProto1110: CompleteSnapshotSessionOutProto? = nil + var _completeWildSnapshotSessionOutProto1111: CompleteWildSnapshotSessionOutProto? = nil + var _startIncidentOutProto1200: StartIncidentOutProto? = nil + var _completeInvasionDialogueOutProto1201: CompleteInvasionDialogueOutProto? = nil + var _openInvasionCombatSessionoutProto1202: OpenInvasionCombatSessionOutProto? = nil + var _updateInvasionBattleOutProto1203: UpdateInvasionBattleOutProto? = nil + var _invasionEncounterOutProto1204: InvasionEncounterOutProto? = nil + var _purifypokemonOutproto1205: PurifyPokemonOutProto? = nil + var _getRocketBalloonOutProto1206: GetRocketBalloonOutProto? = nil + var _vsSeekerStartMatchmakingOutProto1300: VsSeekerStartMatchmakingOutProto? = nil + var _cancelMatchmakingOutProto1301: CancelMatchmakingOutProto? = nil + var _getMatchmakingStatusOutProto1302: GetMatchmakingStatusOutProto? = nil + var _completeVsSeekerAndRestartchargingOutProto1303: CompleteVsSeekerAndRestartChargingOutProto? = nil + var _getVsSeekerStatusOutProto1304: GetVsSeekerStatusOutProto? = nil + var _completecompetitiveSeasonOutProto1305: CompleteCompetitiveSeasonOutProto? = nil + var _claimVsSeekerRewardsOutProto1306: ClaimVsSeekerRewardsOutProto? = nil + var _vsSeekerRewardEncounterOutProto1307: VsSeekerRewardEncounterOutProto? = nil + var _activateVsSeekerOutProto1308: ActivateVsSeekerOutProto? = nil + var _buddyMapOutProto1350: BuddyMapOutProto? = nil + var _buddyStatsOutProto1351: BuddyStatsOutProto? = nil + var _buddyFeedingOutProto1352: BuddyFeedingOutProto? = nil + var _openBuddyGiftoutProto1353: OpenBuddyGiftOutProto? = nil + var _buddyPettingOutProto1354: BuddyPettingOutProto? = nil + var _getBuddyHistoryOutProto1355: GetBuddyHistoryOutProto? = nil + var _updateRouteDraftOutProto1400: UpdateRouteDraftOutProto? = nil + var _getMapFortsOutProto1401: GetMapFortsOutProto? = nil + var _submitRouteDraftOutProto1402: SubmitRouteDraftOutProto? = nil + var _getPublishedRoutesOutProto1403: GetPublishedRoutesOutProto? = nil + var _startRouteOutProto1404: StartRouteOutProto? = nil + var _getRoutesOutProto1405: GetRoutesOutProto? = nil + var _progressRouteOutproto1406: ProgressRouteOutProto? = nil + var _listRouteBadgesOutProto1409: ListRouteBadgesOutProto? = nil + var _cancelRouteOutProto1410: CancelRouteOutProto? = nil + var _npcRouteGiftOutProto1423: NpcRouteGiftOutProto? = nil + var _createBuddyMultiplayerSessionOutProto1456: CreateBuddyMultiplayerSessionOutProto? = nil + var _joinBuddyMultiplayerSessionOutProto1457: JoinBuddyMultiplayerSessionOutProto? = nil + var _leaveBuddyMultiplayerSessionOutProto1458: LeaveBuddyMultiplayerSessionOutProto? = nil + var _getTodayViewOutProto1501: GetTodayViewOutProto? = nil + var _megaEvolvePokemonOutProto1502: MegaEvolvePokemonOutProto? = nil + var _remoteGiftPingresponseProto1503: RemoteGiftPingResponseProto? = nil + var _sendRaidInvitationOutProto1504: SendRaidInvitationOutProto? = nil + var _getDailyEncounterOutProto1601: GetDailyEncounterOutProto? = nil + var _dailyEncounterOutProto1602: DailyEncounterOutProto? = nil + var _openSponsoredGiftoutProto1650: OpenSponsoredGiftOutProto? = nil + var _savePlayerPreferencesOutProto1652: SavePlayerPreferencesOutProto? = nil + var _profanityCheckOutproto1653: ProfanityCheckOutProto? = nil + var _getTimedgroupChallengeOutProto1700: GetTimedGroupChallengeOutProto? = nil + var _getNintendoAccountOutProto1710: GetNintendoAccountOutProto? = nil + var _unlinkNintendoAccountOutProto1711: UnlinkNintendoAccountOutProto? = nil + var _getNintendoOAuth2URLOutProto1712: GetNintendoOAuth2UrlOutProto? = nil + var _transferPokemontoPokemonHomeOutProto1713: TransferPokemonToPokemonHomeOutProto? = nil + var _reportAdFeedbackresponse1716: ReportAdFeedbackResponse? = nil + var _createPokemonTagOutProto1717: CreatePokemonTagOutProto? = nil + var _deletePokemonTagOutProto1718: DeletePokemonTagOutProto? = nil + var _editPokemonTagOutProto1719: EditPokemonTagOutProto? = nil + var _setPokemonTagsForPokemonOutProto1720: SetPokemonTagsForPokemonOutProto? = nil + var _getPokemonTagsOutProto1721: GetPokemonTagsOutProto? = nil + var _changePokemonFormOutProto1722: ChangePokemonFormOutProto? = nil + var _chooseGlobalTicketedEventVariantOutProto1723: ChooseGlobalTicketedEventVariantOutProto? = nil + var _getReferralCodeOutProto1800: GetReferralCodeOutProto? = nil + var _addReferrerOutProto1801: AddReferrerOutProto? = nil + var _sendFriendInviteViaReferralCodeOutProto1802: SendFriendInviteViaReferralCodeOutProto? = nil + var _getMilestonesOutProto1803: GetMilestonesOutProto? = nil + var _markmilestoneAsViewedOutProto1804: MarkMilestoneAsViewedOutProto? = nil + var _getMilestonesPreviewOutProto1805: GetMilestonesPreviewOutProto? = nil + var _completeMilestoneOutProto1806: CompleteMilestoneOutProto? = nil + var _getgeofencedAdOutProto1820: GetGeofencedAdOutProto? = nil + var _deletePostcardsOutProto1909: DeletePostcardsOutProto? = nil + var _createPostcardOutProto1910: CreatePostcardOutProto? = nil + var _updatePostcardOutProto1911: UpdatePostcardOutProto? = nil + var _deletePostcardOutProto1912: DeletePostcardOutProto? = nil + var _getMementoListOutProto1913: GetMementoListOutProto? = nil + var _uploadRaidClientLogOutProto1914: UploadRaidClientLogOutProto? = nil + var _checkGiftingEligibilityOutProto2000: CheckGiftingEligibilityOutProto? = nil + var _redeemTicketGiftForFriendOutProto2001: RedeemTicketGiftForFriendOutProto? = nil + var _getPokestopEncounterOutProto2005: GetPokestopEncounterOutProto? = nil + var _encounterPokestopencounterOutProto2006: EncounterPokestopEncounterOutProto? = nil + var _playerSpawnablepokemonOutproto2007: PlayerSpawnablePokemonOutProto? = nil + var _sendFriendRequestViaPlayerIDOutProto2010: SendFriendRequestViaPlayerIdOutProto? = nil + var _getRaidLobbyCounterOutProto2011: GetRaidLobbyCounterOutProto? = nil + var _useNonCombatMoveResponseProto2014: UseNonCombatMoveResponseProto? = nil + var _getContestDataOutProto2105: GetContestDataOutProto? = nil + var _getContestsUnclaimedRewardsOutProto2106: GetContestsUnclaimedRewardsOutProto? = nil + var _claimcontestsRewardsOutProto2107: ClaimContestsRewardsOutProto? = nil + var _getEnteredContestOutProto2108: GetEnteredContestOutProto? = nil + var _startPartyOutProto2302: StartPartyOutProto? = nil + var _badgeRewardEncounterResponseProto2360: BadgeRewardEncounterResponseProto? = nil + var _npcUpdateStateOutProto2400: NpcUpdateStateOutProto? = nil + var _npcSendGiftOutProto2401: NpcSendGiftOutProto? = nil + var _npcOpenGiftOutProto2402: NpcOpenGiftOutProto? = nil + var _getVpsEventOutProto3000: GetVpsEventOutProto? = nil + var _updateVpsEventOutProto3001: UpdateVpsEventOutProto? = nil + var _pushNotificationRegistryOutproto5000: PushNotificationRegistryOutProto? = nil + var _updateNotificationOutProto5002: UpdateNotificationOutProto? = nil + var _optoutProto5003: OptOutProto? = nil + var _downloadGmTemplatesResponseProto5004: DownloadGmTemplatesResponseProto? = nil + var _getInventoryResponseProto5005: GetInventoryResponseProto? = nil + var _redeemPasscoderesponseProto5006: RedeemPasscodeResponseProto? = nil + var _pingResponseproto5007: PingResponseProto? = nil + var _addLoginactionOutProto5008: AddLoginActionOutProto? = nil + var _removeLoginActionOutProto5009: RemoveLoginActionOutProto? = nil + var _listloginActionOutProto5010: ListLoginActionOutProto? = nil + var _submitNewPoiOutProto5011: SubmitNewPoiOutProto? = nil + var _proxyResponseproto5012: ProxyResponseProto? = nil + var _getAvailableSubmissionsOutProto5014: GetAvailableSubmissionsOutProto? = nil + var _replaceLoginActionOutProto5015: ReplaceLoginActionOutProto? = nil + var _fitnessUpdateOutProto5024: FitnessUpdateOutProto? = nil + var _getFitnessReportOutProto5025: GetFitnessReportOutProto? = nil + var _clientTelemetryclientSettingsProto5026: ClientTelemetryClientSettingsProto? = nil + var _setInGameCurrencyExchangeRateOutProto5032: SetInGameCurrencyExchangeRateOutProto? = nil + var _geofenceUpdateOutProto5033: GeofenceUpdateOutProto? = nil + var _locationPingOutProto5034: LocationPingOutProto? = nil + var _generategmapSignedURLOutProto5035: GenerateGmapSignedUrlOutProto? = nil + var _getgmapSettingsOutProto5036: GetGmapSettingsOutProto? = nil + var _getOutstandingWarningsResponseProto5039: GetOutstandingWarningsResponseProto? = nil + var _acknowledgeWarningsResponseProto5040: AcknowledgeWarningsResponseProto? = nil + var _getWebTokenOutProto5045: GetWebTokenOutProto? = nil + var _getAdventureSyncSettingsResponseProto5046: GetAdventureSyncSettingsResponseProto? = nil + var _updateAdventureSyncSettingsResponseProto5047: UpdateAdventureSyncSettingsResponseProto? = nil + var _setBirthdayResponseProto5048: SetBirthdayResponseProto? = nil + var _fetchNewsfeedResponse5049: FetchNewsfeedResponse? = nil + var _markNewsfeedReadResponse5050: MarkNewsfeedReadResponse? = nil + var _savesocialPlayersettingsOutProto10016: SaveSocialPlayerSettingsOutProto? = nil + var _pushNotificationRegistryOutproto10101: PushNotificationRegistryOutProto? = nil + var _updateNotificationOutProto10103: UpdateNotificationOutProto? = nil + var _optoutProto10104: OptOutProto? = nil + var _getInboxOutProto10105: GetInboxOutProto? = nil + var _getOutstandingWarningsResponseProto200000: GetOutstandingWarningsResponseProto? = nil + var _acknowledgeWarningsResponseProto200001: AcknowledgeWarningsResponseProto? = nil + var _getAdventureSyncProgressOutProto230002: GetAdventureSyncProgressOutProto? = nil + var _setInGameCurrencyExchangeRateOutProto310002: SetInGameCurrencyExchangeRateOutProto? = nil + var _geofenceUpdateOutProto360000: GeofenceUpdateOutProto? = nil + var _locationPingOutProto360001: LocationPingOutProto? = nil + var _updateBreadcrumbHistoryResponseProto361000: UpdateBreadcrumbHistoryResponseProto? = nil + var _refreshProximityTokensresponseProto362000: RefreshProximityTokensResponseProto? = nil + var _reportProximityContactsresponseProto362001: ReportProximityContactsResponseProto? = nil + var _submitNewPoiOutProto620000: SubmitNewPoiOutProto? = nil + var _getAvailableSubmissionsOutProto620001: GetAvailableSubmissionsOutProto? = nil + var _generategmapSignedURLOutProto620300: GenerateGmapSignedUrlOutProto? = nil + var _getgmapSettingsOutProto620301: GetGmapSettingsOutProto? = nil + var _fitnessUpdateOutProto640000: FitnessUpdateOutProto? = nil + var _getFitnessReportOutProto640001: GetFitnessReportOutProto? = nil + var _getAdventureSyncSettingsResponseProto640002: GetAdventureSyncSettingsResponseProto? = nil + var _updateAdventureSyncSettingsResponseProto640003: UpdateAdventureSyncSettingsResponseProto? = nil + var _updateAdventureSyncFitnessResponseProto640004: UpdateAdventureSyncFitnessResponseProto? = nil + var _getAdventureSyncFitnessReportResponseProto640005: GetAdventureSyncFitnessReportResponseProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _result = source._result - _battleUpdate = source._battleUpdate - _sponsoredGift = source._sponsoredGift - _ad = source._ad + _getPlayerOutProto2 = source._getPlayerOutProto2 + _getHoloholoInventoryOutProto4 = source._getHoloholoInventoryOutProto4 + _downloadSettingsResponseProto5 = source._downloadSettingsResponseProto5 + _getgameMasterClientTemplatesOutProto6 = source._getgameMasterClientTemplatesOutProto6 + _getRemoteConfigVersionsOutProto7 = source._getRemoteConfigVersionsOutProto7 + _registerBackgroundDeviceresponseProto8 = source._registerBackgroundDeviceresponseProto8 + _getPlayerDayOutProto9 = source._getPlayerDayOutProto9 + _acknowledgePunishmentOutProto10 = source._acknowledgePunishmentOutProto10 + _getServerTimeOutProto11 = source._getServerTimeOutProto11 + _getLocalTimeOutProto12 = source._getLocalTimeOutProto12 + _fortSearchOutProto101 = source._fortSearchOutProto101 + _encounterOutProto102 = source._encounterOutProto102 + _catchPokemonOutProto103 = source._catchPokemonOutProto103 + _fortDetailsOutProto104 = source._fortDetailsOutProto104 + _getMapObjectsOutProto106 = source._getMapObjectsOutProto106 + _fortDeployOutProto110 = source._fortDeployOutProto110 + _fortRecallOutProto111 = source._fortRecallOutProto111 + _releasePokemonOutProto112 = source._releasePokemonOutProto112 + _useItemPotionOutProto113 = source._useItemPotionOutProto113 + _useItemCaptureOutProto114 = source._useItemCaptureOutProto114 + _useItemReviveOutProto116 = source._useItemReviveOutProto116 + _playerprofileOutproto121 = source._playerprofileOutproto121 + _evolvePokemonOutProto125 = source._evolvePokemonOutProto125 + _getHatchedEggsOutProto126 = source._getHatchedEggsOutProto126 + _encounterTutorialCompleteOutProto127 = source._encounterTutorialCompleteOutProto127 + _levelUpRewardsOutProto128 = source._levelUpRewardsOutProto128 + _checkAwardedBadgesOutProto129 = source._checkAwardedBadgesOutProto129 + _recycleItemOutProto137 = source._recycleItemOutProto137 + _collectDailyBonusOutProto138 = source._collectDailyBonusOutProto138 + _useItemXpBoostOutProto139 = source._useItemXpBoostOutProto139 + _useItemEggIncubatorOutProto140 = source._useItemEggIncubatorOutProto140 + _useIncenseActionOutProto141 = source._useIncenseActionOutProto141 + _getIncensePokemonOutProto142 = source._getIncensePokemonOutProto142 + _incenseEncounterOutProto143 = source._incenseEncounterOutProto143 + _addFortModifierOutProto144 = source._addFortModifierOutProto144 + _diskEncounterOutProto145 = source._diskEncounterOutProto145 + _upgradePokemonOutProto147 = source._upgradePokemonOutProto147 + _setFavoritePokemonOutProto148 = source._setFavoritePokemonOutProto148 + _nicknamePokemonOutProto149 = source._nicknamePokemonOutProto149 + _setContactsettingsOutProto151 = source._setContactsettingsOutProto151 + _setBuddyPokemonOutProto152 = source._setBuddyPokemonOutProto152 + _getBuddyWalkedOutProto153 = source._getBuddyWalkedOutProto153 + _useItemEncounterOutProto154 = source._useItemEncounterOutProto154 + _gymDeployOutProto155 = source._gymDeployOutProto155 + _gymgetInfoOutProto156 = source._gymgetInfoOutProto156 + _gymStartSessionOutProto157 = source._gymStartSessionOutProto157 + _gymBattleAttackOutProto158 = source._gymBattleAttackOutProto158 + _joinLobbyOutProto159 = source._joinLobbyOutProto159 + _leavelobbyOutProto160 = source._leavelobbyOutProto160 + _setLobbyVisibilityOutProto161 = source._setLobbyVisibilityOutProto161 + _setLobbyPokemonOutProto162 = source._setLobbyPokemonOutProto162 + _getRaidDetailsOutProto163 = source._getRaidDetailsOutProto163 + _gymFeedPokemonOutProto164 = source._gymFeedPokemonOutProto164 + _startRaidBattleOutProto165 = source._startRaidBattleOutProto165 + _attackRaidBattleOutProto166 = source._attackRaidBattleOutProto166 + _useItemStardustBoostOutProto168 = source._useItemStardustBoostOutProto168 + _reassignPlayerOutProto169 = source._reassignPlayerOutProto169 + _convertcandyToXlcandyOutProto171 = source._convertcandyToXlcandyOutProto171 + _isSkuAvailableOutProto172 = source._isSkuAvailableOutProto172 + _assetDigestOutProto300 = source._assetDigestOutProto300 + _downloadURLOutProto301 = source._downloadURLOutProto301 + _assetVersionOutProto302 = source._assetVersionOutProto302 + _codenameResultProto403 = source._codenameResultProto403 + _setAvatarOutProto404 = source._setAvatarOutProto404 + _setPlayerTeamOutProto405 = source._setPlayerTeamOutProto405 + _markTutorialCompleteOutProto406 = source._markTutorialCompleteOutProto406 + _setNeutralAvatarOutProto408 = source._setNeutralAvatarOutProto408 + _checkchallengeOutProto600 = source._checkchallengeOutProto600 + _verifyChallengeOutProto601 = source._verifyChallengeOutProto601 + _echoOutProto666 = source._echoOutProto666 + _registerSfidaresponse800 = source._registerSfidaresponse800 + _sfidaCertificationResponse802 = source._sfidaCertificationResponse802 + _sfidaUpdateResponse803 = source._sfidaUpdateResponse803 + _sfidaDowserResponse805 = source._sfidaDowserResponse805 + _sfidaCaptureResponse806 = source._sfidaCaptureResponse806 + _listAvatarCustomizationsOutProto807 = source._listAvatarCustomizationsOutProto807 + _setAvatarItemAsViewedOutProto808 = source._setAvatarItemAsViewedOutProto808 + _getInboxOutProto809 = source._getInboxOutProto809 + _listGymBadgesOutProto811 = source._listGymBadgesOutProto811 + _getgymBadgeDetailsOutProto812 = source._getgymBadgeDetailsOutProto812 + _useItemMoveRerollOutProto813 = source._useItemMoveRerollOutProto813 + _useItemRareCandyOutProto814 = source._useItemRareCandyOutProto814 + _awardFreeRaidTicketOutProto815 = source._awardFreeRaidTicketOutProto815 + _fetchAllNewsOutProto816 = source._fetchAllNewsOutProto816 + _markReadNewsArticleOutProto817 = source._markReadNewsArticleOutProto817 + _belugaTransactionStartOutProto819 = source._belugaTransactionStartOutProto819 + _belugaTransactionCompleteOutProto820 = source._belugaTransactionCompleteOutProto820 + _sfidaAssociateResponse822 = source._sfidaAssociateResponse822 + _sfidaCheckPairingResponse823 = source._sfidaCheckPairingResponse823 + _sfidaDisassociateResponse824 = source._sfidaDisassociateResponse824 + _wainaGetRewardsResponse825 = source._wainaGetRewardsResponse825 + _wainaSubmitSleepDataResponse826 = source._wainaSubmitSleepDataResponse826 + _getNewQuestsOutProto900 = source._getNewQuestsOutProto900 + _getQuestDetailsOutProto901 = source._getQuestDetailsOutProto901 + _completeQuestOutProto902 = source._completeQuestOutProto902 + _removeQuestOutProto903 = source._removeQuestOutProto903 + _questEncounterOutProto904 = source._questEncounterOutProto904 + _progressQuestOutproto906 = source._progressQuestOutproto906 + _sendGiftOutProto950 = source._sendGiftOutProto950 + _openGiftoutProto951 = source._openGiftoutProto951 + _getgiftBoxDetailsOutProto952 = source._getgiftBoxDetailsOutProto952 + _deleteGiftOutProto953 = source._deleteGiftOutProto953 + _savePlayersnapshotOutProto954 = source._savePlayersnapshotOutProto954 + _checkSendGiftOutProto956 = source._checkSendGiftOutProto956 + _setFriendNicknameOutProto957 = source._setFriendNicknameOutProto957 + _deleteGiftFromInventoryOutProto958 = source._deleteGiftFromInventoryOutProto958 + _savesocialPlayersettingsOutProto959 = source._savesocialPlayersettingsOutProto959 + _openTradingoutProto970 = source._openTradingoutProto970 + _updateTradingOutProto971 = source._updateTradingOutProto971 + _confirmTradingOutProto972 = source._confirmTradingOutProto972 + _cancelTradingOutProto973 = source._cancelTradingOutProto973 + _getTradingOutProto974 = source._getTradingOutProto974 + _getFitnessRewardsOutProto980 = source._getFitnessRewardsOutProto980 + _getCombatPlayerProfileOutProto990 = source._getCombatPlayerProfileOutProto990 + _generateCombatChallengeIDOutProto991 = source._generateCombatChallengeIDOutProto991 + _createcombatchallengeOutProto992 = source._createcombatchallengeOutProto992 + _openCombatChallengeoutProto993 = source._openCombatChallengeoutProto993 + _getCombatChallengeOutProto994 = source._getCombatChallengeOutProto994 + _acceptCombatChallengeOutProto995 = source._acceptCombatChallengeOutProto995 + _declineCombatChallengeOutProto996 = source._declineCombatChallengeOutProto996 + _cancelcombatchallengeOutProto997 = source._cancelcombatchallengeOutProto997 + _submitCombatChallengePokemonsOutProto998 = source._submitCombatChallengePokemonsOutProto998 + _saveCombatPlayerPreferencesOutProto999 = source._saveCombatPlayerPreferencesOutProto999 + _openCombatSessionoutProto1000 = source._openCombatSessionoutProto1000 + _updateCombatOutProto1001 = source._updateCombatOutProto1001 + _quitCombatOutProto1002 = source._quitCombatOutProto1002 + _getCombatResultsOutProto1003 = source._getCombatResultsOutProto1003 + _unlockPokemonMoveOutProto1004 = source._unlockPokemonMoveOutProto1004 + _getNpcCombatRewardsOutProto1005 = source._getNpcCombatRewardsOutProto1005 + _combatFriendRequestOutProto1006 = source._combatFriendRequestOutProto1006 + _openNpcCombatSessionoutProto1007 = source._openNpcCombatSessionoutProto1007 + _startTutorialOutProto1008 = source._startTutorialOutProto1008 + _getTutorialEggOutProto1009 = source._getTutorialEggOutProto1009 + _sendProbeOutProto1020 = source._sendProbeOutProto1020 + _checkPhotobombOutProto1101 = source._checkPhotobombOutProto1101 + _confirmPhotobombOutProto1102 = source._confirmPhotobombOutProto1102 + _getPhotobombOutProto1103 = source._getPhotobombOutProto1103 + _encounterPhotobombOutProto1104 = source._encounterPhotobombOutProto1104 + _getgmapSettingsOutProto1105 = source._getgmapSettingsOutProto1105 + _changeTeamOutProto1106 = source._changeTeamOutProto1106 + _getWebTokenOutProto1107 = source._getWebTokenOutProto1107 + _completeSnapshotSessionOutProto1110 = source._completeSnapshotSessionOutProto1110 + _completeWildSnapshotSessionOutProto1111 = source._completeWildSnapshotSessionOutProto1111 + _startIncidentOutProto1200 = source._startIncidentOutProto1200 + _completeInvasionDialogueOutProto1201 = source._completeInvasionDialogueOutProto1201 + _openInvasionCombatSessionoutProto1202 = source._openInvasionCombatSessionoutProto1202 + _updateInvasionBattleOutProto1203 = source._updateInvasionBattleOutProto1203 + _invasionEncounterOutProto1204 = source._invasionEncounterOutProto1204 + _purifypokemonOutproto1205 = source._purifypokemonOutproto1205 + _getRocketBalloonOutProto1206 = source._getRocketBalloonOutProto1206 + _vsSeekerStartMatchmakingOutProto1300 = source._vsSeekerStartMatchmakingOutProto1300 + _cancelMatchmakingOutProto1301 = source._cancelMatchmakingOutProto1301 + _getMatchmakingStatusOutProto1302 = source._getMatchmakingStatusOutProto1302 + _completeVsSeekerAndRestartchargingOutProto1303 = source._completeVsSeekerAndRestartchargingOutProto1303 + _getVsSeekerStatusOutProto1304 = source._getVsSeekerStatusOutProto1304 + _completecompetitiveSeasonOutProto1305 = source._completecompetitiveSeasonOutProto1305 + _claimVsSeekerRewardsOutProto1306 = source._claimVsSeekerRewardsOutProto1306 + _vsSeekerRewardEncounterOutProto1307 = source._vsSeekerRewardEncounterOutProto1307 + _activateVsSeekerOutProto1308 = source._activateVsSeekerOutProto1308 + _buddyMapOutProto1350 = source._buddyMapOutProto1350 + _buddyStatsOutProto1351 = source._buddyStatsOutProto1351 + _buddyFeedingOutProto1352 = source._buddyFeedingOutProto1352 + _openBuddyGiftoutProto1353 = source._openBuddyGiftoutProto1353 + _buddyPettingOutProto1354 = source._buddyPettingOutProto1354 + _getBuddyHistoryOutProto1355 = source._getBuddyHistoryOutProto1355 + _updateRouteDraftOutProto1400 = source._updateRouteDraftOutProto1400 + _getMapFortsOutProto1401 = source._getMapFortsOutProto1401 + _submitRouteDraftOutProto1402 = source._submitRouteDraftOutProto1402 + _getPublishedRoutesOutProto1403 = source._getPublishedRoutesOutProto1403 + _startRouteOutProto1404 = source._startRouteOutProto1404 + _getRoutesOutProto1405 = source._getRoutesOutProto1405 + _progressRouteOutproto1406 = source._progressRouteOutproto1406 + _listRouteBadgesOutProto1409 = source._listRouteBadgesOutProto1409 + _cancelRouteOutProto1410 = source._cancelRouteOutProto1410 + _npcRouteGiftOutProto1423 = source._npcRouteGiftOutProto1423 + _createBuddyMultiplayerSessionOutProto1456 = source._createBuddyMultiplayerSessionOutProto1456 + _joinBuddyMultiplayerSessionOutProto1457 = source._joinBuddyMultiplayerSessionOutProto1457 + _leaveBuddyMultiplayerSessionOutProto1458 = source._leaveBuddyMultiplayerSessionOutProto1458 + _getTodayViewOutProto1501 = source._getTodayViewOutProto1501 + _megaEvolvePokemonOutProto1502 = source._megaEvolvePokemonOutProto1502 + _remoteGiftPingresponseProto1503 = source._remoteGiftPingresponseProto1503 + _sendRaidInvitationOutProto1504 = source._sendRaidInvitationOutProto1504 + _getDailyEncounterOutProto1601 = source._getDailyEncounterOutProto1601 + _dailyEncounterOutProto1602 = source._dailyEncounterOutProto1602 + _openSponsoredGiftoutProto1650 = source._openSponsoredGiftoutProto1650 + _savePlayerPreferencesOutProto1652 = source._savePlayerPreferencesOutProto1652 + _profanityCheckOutproto1653 = source._profanityCheckOutproto1653 + _getTimedgroupChallengeOutProto1700 = source._getTimedgroupChallengeOutProto1700 + _getNintendoAccountOutProto1710 = source._getNintendoAccountOutProto1710 + _unlinkNintendoAccountOutProto1711 = source._unlinkNintendoAccountOutProto1711 + _getNintendoOAuth2URLOutProto1712 = source._getNintendoOAuth2URLOutProto1712 + _transferPokemontoPokemonHomeOutProto1713 = source._transferPokemontoPokemonHomeOutProto1713 + _reportAdFeedbackresponse1716 = source._reportAdFeedbackresponse1716 + _createPokemonTagOutProto1717 = source._createPokemonTagOutProto1717 + _deletePokemonTagOutProto1718 = source._deletePokemonTagOutProto1718 + _editPokemonTagOutProto1719 = source._editPokemonTagOutProto1719 + _setPokemonTagsForPokemonOutProto1720 = source._setPokemonTagsForPokemonOutProto1720 + _getPokemonTagsOutProto1721 = source._getPokemonTagsOutProto1721 + _changePokemonFormOutProto1722 = source._changePokemonFormOutProto1722 + _chooseGlobalTicketedEventVariantOutProto1723 = source._chooseGlobalTicketedEventVariantOutProto1723 + _getReferralCodeOutProto1800 = source._getReferralCodeOutProto1800 + _addReferrerOutProto1801 = source._addReferrerOutProto1801 + _sendFriendInviteViaReferralCodeOutProto1802 = source._sendFriendInviteViaReferralCodeOutProto1802 + _getMilestonesOutProto1803 = source._getMilestonesOutProto1803 + _markmilestoneAsViewedOutProto1804 = source._markmilestoneAsViewedOutProto1804 + _getMilestonesPreviewOutProto1805 = source._getMilestonesPreviewOutProto1805 + _completeMilestoneOutProto1806 = source._completeMilestoneOutProto1806 + _getgeofencedAdOutProto1820 = source._getgeofencedAdOutProto1820 + _deletePostcardsOutProto1909 = source._deletePostcardsOutProto1909 + _createPostcardOutProto1910 = source._createPostcardOutProto1910 + _updatePostcardOutProto1911 = source._updatePostcardOutProto1911 + _deletePostcardOutProto1912 = source._deletePostcardOutProto1912 + _getMementoListOutProto1913 = source._getMementoListOutProto1913 + _uploadRaidClientLogOutProto1914 = source._uploadRaidClientLogOutProto1914 + _checkGiftingEligibilityOutProto2000 = source._checkGiftingEligibilityOutProto2000 + _redeemTicketGiftForFriendOutProto2001 = source._redeemTicketGiftForFriendOutProto2001 + _getPokestopEncounterOutProto2005 = source._getPokestopEncounterOutProto2005 + _encounterPokestopencounterOutProto2006 = source._encounterPokestopencounterOutProto2006 + _playerSpawnablepokemonOutproto2007 = source._playerSpawnablepokemonOutproto2007 + _sendFriendRequestViaPlayerIDOutProto2010 = source._sendFriendRequestViaPlayerIDOutProto2010 + _getRaidLobbyCounterOutProto2011 = source._getRaidLobbyCounterOutProto2011 + _useNonCombatMoveResponseProto2014 = source._useNonCombatMoveResponseProto2014 + _getContestDataOutProto2105 = source._getContestDataOutProto2105 + _getContestsUnclaimedRewardsOutProto2106 = source._getContestsUnclaimedRewardsOutProto2106 + _claimcontestsRewardsOutProto2107 = source._claimcontestsRewardsOutProto2107 + _getEnteredContestOutProto2108 = source._getEnteredContestOutProto2108 + _startPartyOutProto2302 = source._startPartyOutProto2302 + _badgeRewardEncounterResponseProto2360 = source._badgeRewardEncounterResponseProto2360 + _npcUpdateStateOutProto2400 = source._npcUpdateStateOutProto2400 + _npcSendGiftOutProto2401 = source._npcSendGiftOutProto2401 + _npcOpenGiftOutProto2402 = source._npcOpenGiftOutProto2402 + _getVpsEventOutProto3000 = source._getVpsEventOutProto3000 + _updateVpsEventOutProto3001 = source._updateVpsEventOutProto3001 + _pushNotificationRegistryOutproto5000 = source._pushNotificationRegistryOutproto5000 + _updateNotificationOutProto5002 = source._updateNotificationOutProto5002 + _optoutProto5003 = source._optoutProto5003 + _downloadGmTemplatesResponseProto5004 = source._downloadGmTemplatesResponseProto5004 + _getInventoryResponseProto5005 = source._getInventoryResponseProto5005 + _redeemPasscoderesponseProto5006 = source._redeemPasscoderesponseProto5006 + _pingResponseproto5007 = source._pingResponseproto5007 + _addLoginactionOutProto5008 = source._addLoginactionOutProto5008 + _removeLoginActionOutProto5009 = source._removeLoginActionOutProto5009 + _listloginActionOutProto5010 = source._listloginActionOutProto5010 + _submitNewPoiOutProto5011 = source._submitNewPoiOutProto5011 + _proxyResponseproto5012 = source._proxyResponseproto5012 + _getAvailableSubmissionsOutProto5014 = source._getAvailableSubmissionsOutProto5014 + _replaceLoginActionOutProto5015 = source._replaceLoginActionOutProto5015 + _fitnessUpdateOutProto5024 = source._fitnessUpdateOutProto5024 + _getFitnessReportOutProto5025 = source._getFitnessReportOutProto5025 + _clientTelemetryclientSettingsProto5026 = source._clientTelemetryclientSettingsProto5026 + _setInGameCurrencyExchangeRateOutProto5032 = source._setInGameCurrencyExchangeRateOutProto5032 + _geofenceUpdateOutProto5033 = source._geofenceUpdateOutProto5033 + _locationPingOutProto5034 = source._locationPingOutProto5034 + _generategmapSignedURLOutProto5035 = source._generategmapSignedURLOutProto5035 + _getgmapSettingsOutProto5036 = source._getgmapSettingsOutProto5036 + _getOutstandingWarningsResponseProto5039 = source._getOutstandingWarningsResponseProto5039 + _acknowledgeWarningsResponseProto5040 = source._acknowledgeWarningsResponseProto5040 + _getWebTokenOutProto5045 = source._getWebTokenOutProto5045 + _getAdventureSyncSettingsResponseProto5046 = source._getAdventureSyncSettingsResponseProto5046 + _updateAdventureSyncSettingsResponseProto5047 = source._updateAdventureSyncSettingsResponseProto5047 + _setBirthdayResponseProto5048 = source._setBirthdayResponseProto5048 + _fetchNewsfeedResponse5049 = source._fetchNewsfeedResponse5049 + _markNewsfeedReadResponse5050 = source._markNewsfeedReadResponse5050 + _savesocialPlayersettingsOutProto10016 = source._savesocialPlayersettingsOutProto10016 + _pushNotificationRegistryOutproto10101 = source._pushNotificationRegistryOutproto10101 + _updateNotificationOutProto10103 = source._updateNotificationOutProto10103 + _optoutProto10104 = source._optoutProto10104 + _getInboxOutProto10105 = source._getInboxOutProto10105 + _getOutstandingWarningsResponseProto200000 = source._getOutstandingWarningsResponseProto200000 + _acknowledgeWarningsResponseProto200001 = source._acknowledgeWarningsResponseProto200001 + _getAdventureSyncProgressOutProto230002 = source._getAdventureSyncProgressOutProto230002 + _setInGameCurrencyExchangeRateOutProto310002 = source._setInGameCurrencyExchangeRateOutProto310002 + _geofenceUpdateOutProto360000 = source._geofenceUpdateOutProto360000 + _locationPingOutProto360001 = source._locationPingOutProto360001 + _updateBreadcrumbHistoryResponseProto361000 = source._updateBreadcrumbHistoryResponseProto361000 + _refreshProximityTokensresponseProto362000 = source._refreshProximityTokensresponseProto362000 + _reportProximityContactsresponseProto362001 = source._reportProximityContactsresponseProto362001 + _submitNewPoiOutProto620000 = source._submitNewPoiOutProto620000 + _getAvailableSubmissionsOutProto620001 = source._getAvailableSubmissionsOutProto620001 + _generategmapSignedURLOutProto620300 = source._generategmapSignedURLOutProto620300 + _getgmapSettingsOutProto620301 = source._getgmapSettingsOutProto620301 + _fitnessUpdateOutProto640000 = source._fitnessUpdateOutProto640000 + _getFitnessReportOutProto640001 = source._getFitnessReportOutProto640001 + _getAdventureSyncSettingsResponseProto640002 = source._getAdventureSyncSettingsResponseProto640002 + _updateAdventureSyncSettingsResponseProto640003 = source._updateAdventureSyncSettingsResponseProto640003 + _updateAdventureSyncFitnessResponseProto640004 = source._updateAdventureSyncFitnessResponseProto640004 + _getAdventureSyncFitnessReportResponseProto640005 = source._getAdventureSyncFitnessReportResponseProto640005 } } @@ -166642,10 +169609,293 @@ extension AttackRaidBattleOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._battleUpdate) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._sponsoredGift) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._ad) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerOutProto2) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._getHoloholoInventoryOutProto4) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._downloadSettingsResponseProto5) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._getgameMasterClientTemplatesOutProto6) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._getRemoteConfigVersionsOutProto7) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._registerBackgroundDeviceresponseProto8) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._getPlayerDayOutProto9) }() + case 10: try { try decoder.decodeSingularMessageField(value: &_storage._acknowledgePunishmentOutProto10) }() + case 11: try { try decoder.decodeSingularMessageField(value: &_storage._getServerTimeOutProto11) }() + case 12: try { try decoder.decodeSingularMessageField(value: &_storage._getLocalTimeOutProto12) }() + case 101: try { try decoder.decodeSingularMessageField(value: &_storage._fortSearchOutProto101) }() + case 102: try { try decoder.decodeSingularMessageField(value: &_storage._encounterOutProto102) }() + case 103: try { try decoder.decodeSingularMessageField(value: &_storage._catchPokemonOutProto103) }() + case 104: try { try decoder.decodeSingularMessageField(value: &_storage._fortDetailsOutProto104) }() + case 106: try { try decoder.decodeSingularMessageField(value: &_storage._getMapObjectsOutProto106) }() + case 110: try { try decoder.decodeSingularMessageField(value: &_storage._fortDeployOutProto110) }() + case 111: try { try decoder.decodeSingularMessageField(value: &_storage._fortRecallOutProto111) }() + case 112: try { try decoder.decodeSingularMessageField(value: &_storage._releasePokemonOutProto112) }() + case 113: try { try decoder.decodeSingularMessageField(value: &_storage._useItemPotionOutProto113) }() + case 114: try { try decoder.decodeSingularMessageField(value: &_storage._useItemCaptureOutProto114) }() + case 116: try { try decoder.decodeSingularMessageField(value: &_storage._useItemReviveOutProto116) }() + case 121: try { try decoder.decodeSingularMessageField(value: &_storage._playerprofileOutproto121) }() + case 125: try { try decoder.decodeSingularMessageField(value: &_storage._evolvePokemonOutProto125) }() + case 126: try { try decoder.decodeSingularMessageField(value: &_storage._getHatchedEggsOutProto126) }() + case 127: try { try decoder.decodeSingularMessageField(value: &_storage._encounterTutorialCompleteOutProto127) }() + case 128: try { try decoder.decodeSingularMessageField(value: &_storage._levelUpRewardsOutProto128) }() + case 129: try { try decoder.decodeSingularMessageField(value: &_storage._checkAwardedBadgesOutProto129) }() + case 137: try { try decoder.decodeSingularMessageField(value: &_storage._recycleItemOutProto137) }() + case 138: try { try decoder.decodeSingularMessageField(value: &_storage._collectDailyBonusOutProto138) }() + case 139: try { try decoder.decodeSingularMessageField(value: &_storage._useItemXpBoostOutProto139) }() + case 140: try { try decoder.decodeSingularMessageField(value: &_storage._useItemEggIncubatorOutProto140) }() + case 141: try { try decoder.decodeSingularMessageField(value: &_storage._useIncenseActionOutProto141) }() + case 142: try { try decoder.decodeSingularMessageField(value: &_storage._getIncensePokemonOutProto142) }() + case 143: try { try decoder.decodeSingularMessageField(value: &_storage._incenseEncounterOutProto143) }() + case 144: try { try decoder.decodeSingularMessageField(value: &_storage._addFortModifierOutProto144) }() + case 145: try { try decoder.decodeSingularMessageField(value: &_storage._diskEncounterOutProto145) }() + case 147: try { try decoder.decodeSingularMessageField(value: &_storage._upgradePokemonOutProto147) }() + case 148: try { try decoder.decodeSingularMessageField(value: &_storage._setFavoritePokemonOutProto148) }() + case 149: try { try decoder.decodeSingularMessageField(value: &_storage._nicknamePokemonOutProto149) }() + case 151: try { try decoder.decodeSingularMessageField(value: &_storage._setContactsettingsOutProto151) }() + case 152: try { try decoder.decodeSingularMessageField(value: &_storage._setBuddyPokemonOutProto152) }() + case 153: try { try decoder.decodeSingularMessageField(value: &_storage._getBuddyWalkedOutProto153) }() + case 154: try { try decoder.decodeSingularMessageField(value: &_storage._useItemEncounterOutProto154) }() + case 155: try { try decoder.decodeSingularMessageField(value: &_storage._gymDeployOutProto155) }() + case 156: try { try decoder.decodeSingularMessageField(value: &_storage._gymgetInfoOutProto156) }() + case 157: try { try decoder.decodeSingularMessageField(value: &_storage._gymStartSessionOutProto157) }() + case 158: try { try decoder.decodeSingularMessageField(value: &_storage._gymBattleAttackOutProto158) }() + case 159: try { try decoder.decodeSingularMessageField(value: &_storage._joinLobbyOutProto159) }() + case 160: try { try decoder.decodeSingularMessageField(value: &_storage._leavelobbyOutProto160) }() + case 161: try { try decoder.decodeSingularMessageField(value: &_storage._setLobbyVisibilityOutProto161) }() + case 162: try { try decoder.decodeSingularMessageField(value: &_storage._setLobbyPokemonOutProto162) }() + case 163: try { try decoder.decodeSingularMessageField(value: &_storage._getRaidDetailsOutProto163) }() + case 164: try { try decoder.decodeSingularMessageField(value: &_storage._gymFeedPokemonOutProto164) }() + case 165: try { try decoder.decodeSingularMessageField(value: &_storage._startRaidBattleOutProto165) }() + case 166: try { try decoder.decodeSingularMessageField(value: &_storage._attackRaidBattleOutProto166) }() + case 168: try { try decoder.decodeSingularMessageField(value: &_storage._useItemStardustBoostOutProto168) }() + case 169: try { try decoder.decodeSingularMessageField(value: &_storage._reassignPlayerOutProto169) }() + case 171: try { try decoder.decodeSingularMessageField(value: &_storage._convertcandyToXlcandyOutProto171) }() + case 172: try { try decoder.decodeSingularMessageField(value: &_storage._isSkuAvailableOutProto172) }() + case 300: try { try decoder.decodeSingularMessageField(value: &_storage._assetDigestOutProto300) }() + case 301: try { try decoder.decodeSingularMessageField(value: &_storage._downloadURLOutProto301) }() + case 302: try { try decoder.decodeSingularMessageField(value: &_storage._assetVersionOutProto302) }() + case 403: try { try decoder.decodeSingularMessageField(value: &_storage._codenameResultProto403) }() + case 404: try { try decoder.decodeSingularMessageField(value: &_storage._setAvatarOutProto404) }() + case 405: try { try decoder.decodeSingularMessageField(value: &_storage._setPlayerTeamOutProto405) }() + case 406: try { try decoder.decodeSingularMessageField(value: &_storage._markTutorialCompleteOutProto406) }() + case 408: try { try decoder.decodeSingularMessageField(value: &_storage._setNeutralAvatarOutProto408) }() + case 600: try { try decoder.decodeSingularMessageField(value: &_storage._checkchallengeOutProto600) }() + case 601: try { try decoder.decodeSingularMessageField(value: &_storage._verifyChallengeOutProto601) }() + case 666: try { try decoder.decodeSingularMessageField(value: &_storage._echoOutProto666) }() + case 800: try { try decoder.decodeSingularMessageField(value: &_storage._registerSfidaresponse800) }() + case 802: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCertificationResponse802) }() + case 803: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaUpdateResponse803) }() + case 805: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaDowserResponse805) }() + case 806: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCaptureResponse806) }() + case 807: try { try decoder.decodeSingularMessageField(value: &_storage._listAvatarCustomizationsOutProto807) }() + case 808: try { try decoder.decodeSingularMessageField(value: &_storage._setAvatarItemAsViewedOutProto808) }() + case 809: try { try decoder.decodeSingularMessageField(value: &_storage._getInboxOutProto809) }() + case 811: try { try decoder.decodeSingularMessageField(value: &_storage._listGymBadgesOutProto811) }() + case 812: try { try decoder.decodeSingularMessageField(value: &_storage._getgymBadgeDetailsOutProto812) }() + case 813: try { try decoder.decodeSingularMessageField(value: &_storage._useItemMoveRerollOutProto813) }() + case 814: try { try decoder.decodeSingularMessageField(value: &_storage._useItemRareCandyOutProto814) }() + case 815: try { try decoder.decodeSingularMessageField(value: &_storage._awardFreeRaidTicketOutProto815) }() + case 816: try { try decoder.decodeSingularMessageField(value: &_storage._fetchAllNewsOutProto816) }() + case 817: try { try decoder.decodeSingularMessageField(value: &_storage._markReadNewsArticleOutProto817) }() + case 819: try { try decoder.decodeSingularMessageField(value: &_storage._belugaTransactionStartOutProto819) }() + case 820: try { try decoder.decodeSingularMessageField(value: &_storage._belugaTransactionCompleteOutProto820) }() + case 822: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaAssociateResponse822) }() + case 823: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaCheckPairingResponse823) }() + case 824: try { try decoder.decodeSingularMessageField(value: &_storage._sfidaDisassociateResponse824) }() + case 825: try { try decoder.decodeSingularMessageField(value: &_storage._wainaGetRewardsResponse825) }() + case 826: try { try decoder.decodeSingularMessageField(value: &_storage._wainaSubmitSleepDataResponse826) }() + case 900: try { try decoder.decodeSingularMessageField(value: &_storage._getNewQuestsOutProto900) }() + case 901: try { try decoder.decodeSingularMessageField(value: &_storage._getQuestDetailsOutProto901) }() + case 902: try { try decoder.decodeSingularMessageField(value: &_storage._completeQuestOutProto902) }() + case 903: try { try decoder.decodeSingularMessageField(value: &_storage._removeQuestOutProto903) }() + case 904: try { try decoder.decodeSingularMessageField(value: &_storage._questEncounterOutProto904) }() + case 906: try { try decoder.decodeSingularMessageField(value: &_storage._progressQuestOutproto906) }() + case 950: try { try decoder.decodeSingularMessageField(value: &_storage._sendGiftOutProto950) }() + case 951: try { try decoder.decodeSingularMessageField(value: &_storage._openGiftoutProto951) }() + case 952: try { try decoder.decodeSingularMessageField(value: &_storage._getgiftBoxDetailsOutProto952) }() + case 953: try { try decoder.decodeSingularMessageField(value: &_storage._deleteGiftOutProto953) }() + case 954: try { try decoder.decodeSingularMessageField(value: &_storage._savePlayersnapshotOutProto954) }() + case 956: try { try decoder.decodeSingularMessageField(value: &_storage._checkSendGiftOutProto956) }() + case 957: try { try decoder.decodeSingularMessageField(value: &_storage._setFriendNicknameOutProto957) }() + case 958: try { try decoder.decodeSingularMessageField(value: &_storage._deleteGiftFromInventoryOutProto958) }() + case 959: try { try decoder.decodeSingularMessageField(value: &_storage._savesocialPlayersettingsOutProto959) }() + case 970: try { try decoder.decodeSingularMessageField(value: &_storage._openTradingoutProto970) }() + case 971: try { try decoder.decodeSingularMessageField(value: &_storage._updateTradingOutProto971) }() + case 972: try { try decoder.decodeSingularMessageField(value: &_storage._confirmTradingOutProto972) }() + case 973: try { try decoder.decodeSingularMessageField(value: &_storage._cancelTradingOutProto973) }() + case 974: try { try decoder.decodeSingularMessageField(value: &_storage._getTradingOutProto974) }() + case 980: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessRewardsOutProto980) }() + case 990: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatPlayerProfileOutProto990) }() + case 991: try { try decoder.decodeSingularMessageField(value: &_storage._generateCombatChallengeIDOutProto991) }() + case 992: try { try decoder.decodeSingularMessageField(value: &_storage._createcombatchallengeOutProto992) }() + case 993: try { try decoder.decodeSingularMessageField(value: &_storage._openCombatChallengeoutProto993) }() + case 994: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatChallengeOutProto994) }() + case 995: try { try decoder.decodeSingularMessageField(value: &_storage._acceptCombatChallengeOutProto995) }() + case 996: try { try decoder.decodeSingularMessageField(value: &_storage._declineCombatChallengeOutProto996) }() + case 997: try { try decoder.decodeSingularMessageField(value: &_storage._cancelcombatchallengeOutProto997) }() + case 998: try { try decoder.decodeSingularMessageField(value: &_storage._submitCombatChallengePokemonsOutProto998) }() + case 999: try { try decoder.decodeSingularMessageField(value: &_storage._saveCombatPlayerPreferencesOutProto999) }() + case 1000: try { try decoder.decodeSingularMessageField(value: &_storage._openCombatSessionoutProto1000) }() + case 1001: try { try decoder.decodeSingularMessageField(value: &_storage._updateCombatOutProto1001) }() + case 1002: try { try decoder.decodeSingularMessageField(value: &_storage._quitCombatOutProto1002) }() + case 1003: try { try decoder.decodeSingularMessageField(value: &_storage._getCombatResultsOutProto1003) }() + case 1004: try { try decoder.decodeSingularMessageField(value: &_storage._unlockPokemonMoveOutProto1004) }() + case 1005: try { try decoder.decodeSingularMessageField(value: &_storage._getNpcCombatRewardsOutProto1005) }() + case 1006: try { try decoder.decodeSingularMessageField(value: &_storage._combatFriendRequestOutProto1006) }() + case 1007: try { try decoder.decodeSingularMessageField(value: &_storage._openNpcCombatSessionoutProto1007) }() + case 1008: try { try decoder.decodeSingularMessageField(value: &_storage._startTutorialOutProto1008) }() + case 1009: try { try decoder.decodeSingularMessageField(value: &_storage._getTutorialEggOutProto1009) }() + case 1020: try { try decoder.decodeSingularMessageField(value: &_storage._sendProbeOutProto1020) }() + case 1101: try { try decoder.decodeSingularMessageField(value: &_storage._checkPhotobombOutProto1101) }() + case 1102: try { try decoder.decodeSingularMessageField(value: &_storage._confirmPhotobombOutProto1102) }() + case 1103: try { try decoder.decodeSingularMessageField(value: &_storage._getPhotobombOutProto1103) }() + case 1104: try { try decoder.decodeSingularMessageField(value: &_storage._encounterPhotobombOutProto1104) }() + case 1105: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsOutProto1105) }() + case 1106: try { try decoder.decodeSingularMessageField(value: &_storage._changeTeamOutProto1106) }() + case 1107: try { try decoder.decodeSingularMessageField(value: &_storage._getWebTokenOutProto1107) }() + case 1110: try { try decoder.decodeSingularMessageField(value: &_storage._completeSnapshotSessionOutProto1110) }() + case 1111: try { try decoder.decodeSingularMessageField(value: &_storage._completeWildSnapshotSessionOutProto1111) }() + case 1200: try { try decoder.decodeSingularMessageField(value: &_storage._startIncidentOutProto1200) }() + case 1201: try { try decoder.decodeSingularMessageField(value: &_storage._completeInvasionDialogueOutProto1201) }() + case 1202: try { try decoder.decodeSingularMessageField(value: &_storage._openInvasionCombatSessionoutProto1202) }() + case 1203: try { try decoder.decodeSingularMessageField(value: &_storage._updateInvasionBattleOutProto1203) }() + case 1204: try { try decoder.decodeSingularMessageField(value: &_storage._invasionEncounterOutProto1204) }() + case 1205: try { try decoder.decodeSingularMessageField(value: &_storage._purifypokemonOutproto1205) }() + case 1206: try { try decoder.decodeSingularMessageField(value: &_storage._getRocketBalloonOutProto1206) }() + case 1300: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerStartMatchmakingOutProto1300) }() + case 1301: try { try decoder.decodeSingularMessageField(value: &_storage._cancelMatchmakingOutProto1301) }() + case 1302: try { try decoder.decodeSingularMessageField(value: &_storage._getMatchmakingStatusOutProto1302) }() + case 1303: try { try decoder.decodeSingularMessageField(value: &_storage._completeVsSeekerAndRestartchargingOutProto1303) }() + case 1304: try { try decoder.decodeSingularMessageField(value: &_storage._getVsSeekerStatusOutProto1304) }() + case 1305: try { try decoder.decodeSingularMessageField(value: &_storage._completecompetitiveSeasonOutProto1305) }() + case 1306: try { try decoder.decodeSingularMessageField(value: &_storage._claimVsSeekerRewardsOutProto1306) }() + case 1307: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerRewardEncounterOutProto1307) }() + case 1308: try { try decoder.decodeSingularMessageField(value: &_storage._activateVsSeekerOutProto1308) }() + case 1350: try { try decoder.decodeSingularMessageField(value: &_storage._buddyMapOutProto1350) }() + case 1351: try { try decoder.decodeSingularMessageField(value: &_storage._buddyStatsOutProto1351) }() + case 1352: try { try decoder.decodeSingularMessageField(value: &_storage._buddyFeedingOutProto1352) }() + case 1353: try { try decoder.decodeSingularMessageField(value: &_storage._openBuddyGiftoutProto1353) }() + case 1354: try { try decoder.decodeSingularMessageField(value: &_storage._buddyPettingOutProto1354) }() + case 1355: try { try decoder.decodeSingularMessageField(value: &_storage._getBuddyHistoryOutProto1355) }() + case 1400: try { try decoder.decodeSingularMessageField(value: &_storage._updateRouteDraftOutProto1400) }() + case 1401: try { try decoder.decodeSingularMessageField(value: &_storage._getMapFortsOutProto1401) }() + case 1402: try { try decoder.decodeSingularMessageField(value: &_storage._submitRouteDraftOutProto1402) }() + case 1403: try { try decoder.decodeSingularMessageField(value: &_storage._getPublishedRoutesOutProto1403) }() + case 1404: try { try decoder.decodeSingularMessageField(value: &_storage._startRouteOutProto1404) }() + case 1405: try { try decoder.decodeSingularMessageField(value: &_storage._getRoutesOutProto1405) }() + case 1406: try { try decoder.decodeSingularMessageField(value: &_storage._progressRouteOutproto1406) }() + case 1409: try { try decoder.decodeSingularMessageField(value: &_storage._listRouteBadgesOutProto1409) }() + case 1410: try { try decoder.decodeSingularMessageField(value: &_storage._cancelRouteOutProto1410) }() + case 1423: try { try decoder.decodeSingularMessageField(value: &_storage._npcRouteGiftOutProto1423) }() + case 1456: try { try decoder.decodeSingularMessageField(value: &_storage._createBuddyMultiplayerSessionOutProto1456) }() + case 1457: try { try decoder.decodeSingularMessageField(value: &_storage._joinBuddyMultiplayerSessionOutProto1457) }() + case 1458: try { try decoder.decodeSingularMessageField(value: &_storage._leaveBuddyMultiplayerSessionOutProto1458) }() + case 1501: try { try decoder.decodeSingularMessageField(value: &_storage._getTodayViewOutProto1501) }() + case 1502: try { try decoder.decodeSingularMessageField(value: &_storage._megaEvolvePokemonOutProto1502) }() + case 1503: try { try decoder.decodeSingularMessageField(value: &_storage._remoteGiftPingresponseProto1503) }() + case 1504: try { try decoder.decodeSingularMessageField(value: &_storage._sendRaidInvitationOutProto1504) }() + case 1601: try { try decoder.decodeSingularMessageField(value: &_storage._getDailyEncounterOutProto1601) }() + case 1602: try { try decoder.decodeSingularMessageField(value: &_storage._dailyEncounterOutProto1602) }() + case 1650: try { try decoder.decodeSingularMessageField(value: &_storage._openSponsoredGiftoutProto1650) }() + case 1652: try { try decoder.decodeSingularMessageField(value: &_storage._savePlayerPreferencesOutProto1652) }() + case 1653: try { try decoder.decodeSingularMessageField(value: &_storage._profanityCheckOutproto1653) }() + case 1700: try { try decoder.decodeSingularMessageField(value: &_storage._getTimedgroupChallengeOutProto1700) }() + case 1710: try { try decoder.decodeSingularMessageField(value: &_storage._getNintendoAccountOutProto1710) }() + case 1711: try { try decoder.decodeSingularMessageField(value: &_storage._unlinkNintendoAccountOutProto1711) }() + case 1712: try { try decoder.decodeSingularMessageField(value: &_storage._getNintendoOAuth2URLOutProto1712) }() + case 1713: try { try decoder.decodeSingularMessageField(value: &_storage._transferPokemontoPokemonHomeOutProto1713) }() + case 1716: try { try decoder.decodeSingularMessageField(value: &_storage._reportAdFeedbackresponse1716) }() + case 1717: try { try decoder.decodeSingularMessageField(value: &_storage._createPokemonTagOutProto1717) }() + case 1718: try { try decoder.decodeSingularMessageField(value: &_storage._deletePokemonTagOutProto1718) }() + case 1719: try { try decoder.decodeSingularMessageField(value: &_storage._editPokemonTagOutProto1719) }() + case 1720: try { try decoder.decodeSingularMessageField(value: &_storage._setPokemonTagsForPokemonOutProto1720) }() + case 1721: try { try decoder.decodeSingularMessageField(value: &_storage._getPokemonTagsOutProto1721) }() + case 1722: try { try decoder.decodeSingularMessageField(value: &_storage._changePokemonFormOutProto1722) }() + case 1723: try { try decoder.decodeSingularMessageField(value: &_storage._chooseGlobalTicketedEventVariantOutProto1723) }() + case 1800: try { try decoder.decodeSingularMessageField(value: &_storage._getReferralCodeOutProto1800) }() + case 1801: try { try decoder.decodeSingularMessageField(value: &_storage._addReferrerOutProto1801) }() + case 1802: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendInviteViaReferralCodeOutProto1802) }() + case 1803: try { try decoder.decodeSingularMessageField(value: &_storage._getMilestonesOutProto1803) }() + case 1804: try { try decoder.decodeSingularMessageField(value: &_storage._markmilestoneAsViewedOutProto1804) }() + case 1805: try { try decoder.decodeSingularMessageField(value: &_storage._getMilestonesPreviewOutProto1805) }() + case 1806: try { try decoder.decodeSingularMessageField(value: &_storage._completeMilestoneOutProto1806) }() + case 1820: try { try decoder.decodeSingularMessageField(value: &_storage._getgeofencedAdOutProto1820) }() + case 1909: try { try decoder.decodeSingularMessageField(value: &_storage._deletePostcardsOutProto1909) }() + case 1910: try { try decoder.decodeSingularMessageField(value: &_storage._createPostcardOutProto1910) }() + case 1911: try { try decoder.decodeSingularMessageField(value: &_storage._updatePostcardOutProto1911) }() + case 1912: try { try decoder.decodeSingularMessageField(value: &_storage._deletePostcardOutProto1912) }() + case 1913: try { try decoder.decodeSingularMessageField(value: &_storage._getMementoListOutProto1913) }() + case 1914: try { try decoder.decodeSingularMessageField(value: &_storage._uploadRaidClientLogOutProto1914) }() + case 2000: try { try decoder.decodeSingularMessageField(value: &_storage._checkGiftingEligibilityOutProto2000) }() + case 2001: try { try decoder.decodeSingularMessageField(value: &_storage._redeemTicketGiftForFriendOutProto2001) }() + case 2005: try { try decoder.decodeSingularMessageField(value: &_storage._getPokestopEncounterOutProto2005) }() + case 2006: try { try decoder.decodeSingularMessageField(value: &_storage._encounterPokestopencounterOutProto2006) }() + case 2007: try { try decoder.decodeSingularMessageField(value: &_storage._playerSpawnablepokemonOutproto2007) }() + case 2010: try { try decoder.decodeSingularMessageField(value: &_storage._sendFriendRequestViaPlayerIDOutProto2010) }() + case 2011: try { try decoder.decodeSingularMessageField(value: &_storage._getRaidLobbyCounterOutProto2011) }() + case 2014: try { try decoder.decodeSingularMessageField(value: &_storage._useNonCombatMoveResponseProto2014) }() + case 2105: try { try decoder.decodeSingularMessageField(value: &_storage._getContestDataOutProto2105) }() + case 2106: try { try decoder.decodeSingularMessageField(value: &_storage._getContestsUnclaimedRewardsOutProto2106) }() + case 2107: try { try decoder.decodeSingularMessageField(value: &_storage._claimcontestsRewardsOutProto2107) }() + case 2108: try { try decoder.decodeSingularMessageField(value: &_storage._getEnteredContestOutProto2108) }() + case 2302: try { try decoder.decodeSingularMessageField(value: &_storage._startPartyOutProto2302) }() + case 2360: try { try decoder.decodeSingularMessageField(value: &_storage._badgeRewardEncounterResponseProto2360) }() + case 2400: try { try decoder.decodeSingularMessageField(value: &_storage._npcUpdateStateOutProto2400) }() + case 2401: try { try decoder.decodeSingularMessageField(value: &_storage._npcSendGiftOutProto2401) }() + case 2402: try { try decoder.decodeSingularMessageField(value: &_storage._npcOpenGiftOutProto2402) }() + case 3000: try { try decoder.decodeSingularMessageField(value: &_storage._getVpsEventOutProto3000) }() + case 3001: try { try decoder.decodeSingularMessageField(value: &_storage._updateVpsEventOutProto3001) }() + case 5000: try { try decoder.decodeSingularMessageField(value: &_storage._pushNotificationRegistryOutproto5000) }() + case 5002: try { try decoder.decodeSingularMessageField(value: &_storage._updateNotificationOutProto5002) }() + case 5003: try { try decoder.decodeSingularMessageField(value: &_storage._optoutProto5003) }() + case 5004: try { try decoder.decodeSingularMessageField(value: &_storage._downloadGmTemplatesResponseProto5004) }() + case 5005: try { try decoder.decodeSingularMessageField(value: &_storage._getInventoryResponseProto5005) }() + case 5006: try { try decoder.decodeSingularMessageField(value: &_storage._redeemPasscoderesponseProto5006) }() + case 5007: try { try decoder.decodeSingularMessageField(value: &_storage._pingResponseproto5007) }() + case 5008: try { try decoder.decodeSingularMessageField(value: &_storage._addLoginactionOutProto5008) }() + case 5009: try { try decoder.decodeSingularMessageField(value: &_storage._removeLoginActionOutProto5009) }() + case 5010: try { try decoder.decodeSingularMessageField(value: &_storage._listloginActionOutProto5010) }() + case 5011: try { try decoder.decodeSingularMessageField(value: &_storage._submitNewPoiOutProto5011) }() + case 5012: try { try decoder.decodeSingularMessageField(value: &_storage._proxyResponseproto5012) }() + case 5014: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubmissionsOutProto5014) }() + case 5015: try { try decoder.decodeSingularMessageField(value: &_storage._replaceLoginActionOutProto5015) }() + case 5024: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessUpdateOutProto5024) }() + case 5025: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessReportOutProto5025) }() + case 5026: try { try decoder.decodeSingularMessageField(value: &_storage._clientTelemetryclientSettingsProto5026) }() + case 5032: try { try decoder.decodeSingularMessageField(value: &_storage._setInGameCurrencyExchangeRateOutProto5032) }() + case 5033: try { try decoder.decodeSingularMessageField(value: &_storage._geofenceUpdateOutProto5033) }() + case 5034: try { try decoder.decodeSingularMessageField(value: &_storage._locationPingOutProto5034) }() + case 5035: try { try decoder.decodeSingularMessageField(value: &_storage._generategmapSignedURLOutProto5035) }() + case 5036: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsOutProto5036) }() + case 5039: try { try decoder.decodeSingularMessageField(value: &_storage._getOutstandingWarningsResponseProto5039) }() + case 5040: try { try decoder.decodeSingularMessageField(value: &_storage._acknowledgeWarningsResponseProto5040) }() + case 5045: try { try decoder.decodeSingularMessageField(value: &_storage._getWebTokenOutProto5045) }() + case 5046: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncSettingsResponseProto5046) }() + case 5047: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncSettingsResponseProto5047) }() + case 5048: try { try decoder.decodeSingularMessageField(value: &_storage._setBirthdayResponseProto5048) }() + case 5049: try { try decoder.decodeSingularMessageField(value: &_storage._fetchNewsfeedResponse5049) }() + case 5050: try { try decoder.decodeSingularMessageField(value: &_storage._markNewsfeedReadResponse5050) }() + case 10016: try { try decoder.decodeSingularMessageField(value: &_storage._savesocialPlayersettingsOutProto10016) }() + case 10101: try { try decoder.decodeSingularMessageField(value: &_storage._pushNotificationRegistryOutproto10101) }() + case 10103: try { try decoder.decodeSingularMessageField(value: &_storage._updateNotificationOutProto10103) }() + case 10104: try { try decoder.decodeSingularMessageField(value: &_storage._optoutProto10104) }() + case 10105: try { try decoder.decodeSingularMessageField(value: &_storage._getInboxOutProto10105) }() + case 200000: try { try decoder.decodeSingularMessageField(value: &_storage._getOutstandingWarningsResponseProto200000) }() + case 200001: try { try decoder.decodeSingularMessageField(value: &_storage._acknowledgeWarningsResponseProto200001) }() + case 230002: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncProgressOutProto230002) }() + case 310002: try { try decoder.decodeSingularMessageField(value: &_storage._setInGameCurrencyExchangeRateOutProto310002) }() + case 360000: try { try decoder.decodeSingularMessageField(value: &_storage._geofenceUpdateOutProto360000) }() + case 360001: try { try decoder.decodeSingularMessageField(value: &_storage._locationPingOutProto360001) }() + case 361000: try { try decoder.decodeSingularMessageField(value: &_storage._updateBreadcrumbHistoryResponseProto361000) }() + case 362000: try { try decoder.decodeSingularMessageField(value: &_storage._refreshProximityTokensresponseProto362000) }() + case 362001: try { try decoder.decodeSingularMessageField(value: &_storage._reportProximityContactsresponseProto362001) }() + case 620000: try { try decoder.decodeSingularMessageField(value: &_storage._submitNewPoiOutProto620000) }() + case 620001: try { try decoder.decodeSingularMessageField(value: &_storage._getAvailableSubmissionsOutProto620001) }() + case 620300: try { try decoder.decodeSingularMessageField(value: &_storage._generategmapSignedURLOutProto620300) }() + case 620301: try { try decoder.decodeSingularMessageField(value: &_storage._getgmapSettingsOutProto620301) }() + case 640000: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessUpdateOutProto640000) }() + case 640001: try { try decoder.decodeSingularMessageField(value: &_storage._getFitnessReportOutProto640001) }() + case 640002: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncSettingsResponseProto640002) }() + case 640003: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncSettingsResponseProto640003) }() + case 640004: try { try decoder.decodeSingularMessageField(value: &_storage._updateAdventureSyncFitnessResponseProto640004) }() + case 640005: try { try decoder.decodeSingularMessageField(value: &_storage._getAdventureSyncFitnessReportResponseProto640005) }() default: break } } @@ -166658,31 +169908,1163 @@ extension AttackRaidBattleOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._result != .unset { - try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) - } - try { if let v = _storage._battleUpdate { + try { if let v = _storage._getPlayerOutProto2 { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if let v = _storage._sponsoredGift { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = _storage._ad { + try { if let v = _storage._getHoloholoInventoryOutProto4 { try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() + try { if let v = _storage._downloadSettingsResponseProto5 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + try { if let v = _storage._getgameMasterClientTemplatesOutProto6 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + try { if let v = _storage._getRemoteConfigVersionsOutProto7 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() + try { if let v = _storage._registerBackgroundDeviceresponseProto8 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + try { if let v = _storage._getPlayerDayOutProto9 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() + try { if let v = _storage._acknowledgePunishmentOutProto10 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + try { if let v = _storage._getServerTimeOutProto11 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + } }() + try { if let v = _storage._getLocalTimeOutProto12 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + } }() + try { if let v = _storage._fortSearchOutProto101 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 101) + } }() + try { if let v = _storage._encounterOutProto102 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 102) + } }() + try { if let v = _storage._catchPokemonOutProto103 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 103) + } }() + try { if let v = _storage._fortDetailsOutProto104 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 104) + } }() + try { if let v = _storage._getMapObjectsOutProto106 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 106) + } }() + try { if let v = _storage._fortDeployOutProto110 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 110) + } }() + try { if let v = _storage._fortRecallOutProto111 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 111) + } }() + try { if let v = _storage._releasePokemonOutProto112 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 112) + } }() + try { if let v = _storage._useItemPotionOutProto113 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 113) + } }() + try { if let v = _storage._useItemCaptureOutProto114 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 114) + } }() + try { if let v = _storage._useItemReviveOutProto116 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 116) + } }() + try { if let v = _storage._playerprofileOutproto121 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 121) + } }() + try { if let v = _storage._evolvePokemonOutProto125 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 125) + } }() + try { if let v = _storage._getHatchedEggsOutProto126 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 126) + } }() + try { if let v = _storage._encounterTutorialCompleteOutProto127 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 127) + } }() + try { if let v = _storage._levelUpRewardsOutProto128 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 128) + } }() + try { if let v = _storage._checkAwardedBadgesOutProto129 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 129) + } }() + try { if let v = _storage._recycleItemOutProto137 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 137) + } }() + try { if let v = _storage._collectDailyBonusOutProto138 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 138) + } }() + try { if let v = _storage._useItemXpBoostOutProto139 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 139) + } }() + try { if let v = _storage._useItemEggIncubatorOutProto140 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 140) + } }() + try { if let v = _storage._useIncenseActionOutProto141 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 141) + } }() + try { if let v = _storage._getIncensePokemonOutProto142 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 142) + } }() + try { if let v = _storage._incenseEncounterOutProto143 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 143) + } }() + try { if let v = _storage._addFortModifierOutProto144 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 144) + } }() + try { if let v = _storage._diskEncounterOutProto145 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 145) + } }() + try { if let v = _storage._upgradePokemonOutProto147 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 147) + } }() + try { if let v = _storage._setFavoritePokemonOutProto148 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 148) + } }() + try { if let v = _storage._nicknamePokemonOutProto149 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 149) + } }() + try { if let v = _storage._setContactsettingsOutProto151 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 151) + } }() + try { if let v = _storage._setBuddyPokemonOutProto152 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 152) + } }() + try { if let v = _storage._getBuddyWalkedOutProto153 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 153) + } }() + try { if let v = _storage._useItemEncounterOutProto154 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 154) + } }() + try { if let v = _storage._gymDeployOutProto155 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 155) + } }() + try { if let v = _storage._gymgetInfoOutProto156 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 156) + } }() + try { if let v = _storage._gymStartSessionOutProto157 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 157) + } }() + try { if let v = _storage._gymBattleAttackOutProto158 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 158) + } }() + try { if let v = _storage._joinLobbyOutProto159 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 159) + } }() + try { if let v = _storage._leavelobbyOutProto160 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 160) + } }() + try { if let v = _storage._setLobbyVisibilityOutProto161 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 161) + } }() + try { if let v = _storage._setLobbyPokemonOutProto162 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 162) + } }() + try { if let v = _storage._getRaidDetailsOutProto163 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 163) + } }() + try { if let v = _storage._gymFeedPokemonOutProto164 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 164) + } }() + try { if let v = _storage._startRaidBattleOutProto165 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 165) + } }() + try { if let v = _storage._attackRaidBattleOutProto166 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 166) + } }() + try { if let v = _storage._useItemStardustBoostOutProto168 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 168) + } }() + try { if let v = _storage._reassignPlayerOutProto169 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 169) + } }() + try { if let v = _storage._convertcandyToXlcandyOutProto171 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 171) + } }() + try { if let v = _storage._isSkuAvailableOutProto172 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 172) + } }() + try { if let v = _storage._assetDigestOutProto300 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 300) + } }() + try { if let v = _storage._downloadURLOutProto301 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 301) + } }() + try { if let v = _storage._assetVersionOutProto302 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 302) + } }() + try { if let v = _storage._codenameResultProto403 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 403) + } }() + try { if let v = _storage._setAvatarOutProto404 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 404) + } }() + try { if let v = _storage._setPlayerTeamOutProto405 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 405) + } }() + try { if let v = _storage._markTutorialCompleteOutProto406 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 406) + } }() + try { if let v = _storage._setNeutralAvatarOutProto408 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 408) + } }() + try { if let v = _storage._checkchallengeOutProto600 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 600) + } }() + try { if let v = _storage._verifyChallengeOutProto601 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 601) + } }() + try { if let v = _storage._echoOutProto666 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 666) + } }() + try { if let v = _storage._registerSfidaresponse800 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 800) + } }() + try { if let v = _storage._sfidaCertificationResponse802 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 802) + } }() + try { if let v = _storage._sfidaUpdateResponse803 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 803) + } }() + try { if let v = _storage._sfidaDowserResponse805 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 805) + } }() + try { if let v = _storage._sfidaCaptureResponse806 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 806) + } }() + try { if let v = _storage._listAvatarCustomizationsOutProto807 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 807) + } }() + try { if let v = _storage._setAvatarItemAsViewedOutProto808 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 808) + } }() + try { if let v = _storage._getInboxOutProto809 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 809) + } }() + try { if let v = _storage._listGymBadgesOutProto811 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 811) + } }() + try { if let v = _storage._getgymBadgeDetailsOutProto812 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 812) + } }() + try { if let v = _storage._useItemMoveRerollOutProto813 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 813) + } }() + try { if let v = _storage._useItemRareCandyOutProto814 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 814) + } }() + try { if let v = _storage._awardFreeRaidTicketOutProto815 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 815) + } }() + try { if let v = _storage._fetchAllNewsOutProto816 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 816) + } }() + try { if let v = _storage._markReadNewsArticleOutProto817 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 817) + } }() + try { if let v = _storage._belugaTransactionStartOutProto819 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 819) + } }() + try { if let v = _storage._belugaTransactionCompleteOutProto820 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 820) + } }() + try { if let v = _storage._sfidaAssociateResponse822 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 822) + } }() + try { if let v = _storage._sfidaCheckPairingResponse823 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 823) + } }() + try { if let v = _storage._sfidaDisassociateResponse824 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 824) + } }() + try { if let v = _storage._wainaGetRewardsResponse825 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 825) + } }() + try { if let v = _storage._wainaSubmitSleepDataResponse826 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 826) + } }() + try { if let v = _storage._getNewQuestsOutProto900 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 900) + } }() + try { if let v = _storage._getQuestDetailsOutProto901 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 901) + } }() + try { if let v = _storage._completeQuestOutProto902 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 902) + } }() + try { if let v = _storage._removeQuestOutProto903 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 903) + } }() + try { if let v = _storage._questEncounterOutProto904 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 904) + } }() + try { if let v = _storage._progressQuestOutproto906 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 906) + } }() + try { if let v = _storage._sendGiftOutProto950 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 950) + } }() + try { if let v = _storage._openGiftoutProto951 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 951) + } }() + try { if let v = _storage._getgiftBoxDetailsOutProto952 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 952) + } }() + try { if let v = _storage._deleteGiftOutProto953 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 953) + } }() + try { if let v = _storage._savePlayersnapshotOutProto954 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 954) + } }() + try { if let v = _storage._checkSendGiftOutProto956 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 956) + } }() + try { if let v = _storage._setFriendNicknameOutProto957 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 957) + } }() + try { if let v = _storage._deleteGiftFromInventoryOutProto958 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 958) + } }() + try { if let v = _storage._savesocialPlayersettingsOutProto959 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 959) + } }() + try { if let v = _storage._openTradingoutProto970 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 970) + } }() + try { if let v = _storage._updateTradingOutProto971 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 971) + } }() + try { if let v = _storage._confirmTradingOutProto972 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 972) + } }() + try { if let v = _storage._cancelTradingOutProto973 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 973) + } }() + try { if let v = _storage._getTradingOutProto974 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 974) + } }() + try { if let v = _storage._getFitnessRewardsOutProto980 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 980) + } }() + try { if let v = _storage._getCombatPlayerProfileOutProto990 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 990) + } }() + try { if let v = _storage._generateCombatChallengeIDOutProto991 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 991) + } }() + try { if let v = _storage._createcombatchallengeOutProto992 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 992) + } }() + try { if let v = _storage._openCombatChallengeoutProto993 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 993) + } }() + try { if let v = _storage._getCombatChallengeOutProto994 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 994) + } }() + try { if let v = _storage._acceptCombatChallengeOutProto995 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 995) + } }() + try { if let v = _storage._declineCombatChallengeOutProto996 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 996) + } }() + try { if let v = _storage._cancelcombatchallengeOutProto997 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 997) + } }() + try { if let v = _storage._submitCombatChallengePokemonsOutProto998 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 998) + } }() + try { if let v = _storage._saveCombatPlayerPreferencesOutProto999 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 999) + } }() + try { if let v = _storage._openCombatSessionoutProto1000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1000) + } }() + try { if let v = _storage._updateCombatOutProto1001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) + } }() + try { if let v = _storage._quitCombatOutProto1002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) + } }() + try { if let v = _storage._getCombatResultsOutProto1003 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1003) + } }() + try { if let v = _storage._unlockPokemonMoveOutProto1004 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1004) + } }() + try { if let v = _storage._getNpcCombatRewardsOutProto1005 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1005) + } }() + try { if let v = _storage._combatFriendRequestOutProto1006 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1006) + } }() + try { if let v = _storage._openNpcCombatSessionoutProto1007 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1007) + } }() + try { if let v = _storage._startTutorialOutProto1008 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1008) + } }() + try { if let v = _storage._getTutorialEggOutProto1009 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1009) + } }() + try { if let v = _storage._sendProbeOutProto1020 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1020) + } }() + try { if let v = _storage._checkPhotobombOutProto1101 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1101) + } }() + try { if let v = _storage._confirmPhotobombOutProto1102 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1102) + } }() + try { if let v = _storage._getPhotobombOutProto1103 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1103) + } }() + try { if let v = _storage._encounterPhotobombOutProto1104 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1104) + } }() + try { if let v = _storage._getgmapSettingsOutProto1105 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1105) + } }() + try { if let v = _storage._changeTeamOutProto1106 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1106) + } }() + try { if let v = _storage._getWebTokenOutProto1107 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1107) + } }() + try { if let v = _storage._completeSnapshotSessionOutProto1110 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1110) + } }() + try { if let v = _storage._completeWildSnapshotSessionOutProto1111 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1111) + } }() + try { if let v = _storage._startIncidentOutProto1200 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1200) + } }() + try { if let v = _storage._completeInvasionDialogueOutProto1201 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1201) + } }() + try { if let v = _storage._openInvasionCombatSessionoutProto1202 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1202) + } }() + try { if let v = _storage._updateInvasionBattleOutProto1203 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1203) + } }() + try { if let v = _storage._invasionEncounterOutProto1204 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1204) + } }() + try { if let v = _storage._purifypokemonOutproto1205 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1205) + } }() + try { if let v = _storage._getRocketBalloonOutProto1206 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1206) + } }() + try { if let v = _storage._vsSeekerStartMatchmakingOutProto1300 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1300) + } }() + try { if let v = _storage._cancelMatchmakingOutProto1301 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1301) + } }() + try { if let v = _storage._getMatchmakingStatusOutProto1302 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1302) + } }() + try { if let v = _storage._completeVsSeekerAndRestartchargingOutProto1303 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1303) + } }() + try { if let v = _storage._getVsSeekerStatusOutProto1304 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1304) + } }() + try { if let v = _storage._completecompetitiveSeasonOutProto1305 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1305) + } }() + try { if let v = _storage._claimVsSeekerRewardsOutProto1306 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1306) + } }() + try { if let v = _storage._vsSeekerRewardEncounterOutProto1307 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1307) + } }() + try { if let v = _storage._activateVsSeekerOutProto1308 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1308) + } }() + try { if let v = _storage._buddyMapOutProto1350 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1350) + } }() + try { if let v = _storage._buddyStatsOutProto1351 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1351) + } }() + try { if let v = _storage._buddyFeedingOutProto1352 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1352) + } }() + try { if let v = _storage._openBuddyGiftoutProto1353 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1353) + } }() + try { if let v = _storage._buddyPettingOutProto1354 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1354) + } }() + try { if let v = _storage._getBuddyHistoryOutProto1355 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1355) + } }() + try { if let v = _storage._updateRouteDraftOutProto1400 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1400) + } }() + try { if let v = _storage._getMapFortsOutProto1401 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1401) + } }() + try { if let v = _storage._submitRouteDraftOutProto1402 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1402) + } }() + try { if let v = _storage._getPublishedRoutesOutProto1403 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1403) + } }() + try { if let v = _storage._startRouteOutProto1404 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1404) + } }() + try { if let v = _storage._getRoutesOutProto1405 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1405) + } }() + try { if let v = _storage._progressRouteOutproto1406 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1406) + } }() + try { if let v = _storage._listRouteBadgesOutProto1409 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1409) + } }() + try { if let v = _storage._cancelRouteOutProto1410 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1410) + } }() + try { if let v = _storage._npcRouteGiftOutProto1423 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1423) + } }() + try { if let v = _storage._createBuddyMultiplayerSessionOutProto1456 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1456) + } }() + try { if let v = _storage._joinBuddyMultiplayerSessionOutProto1457 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1457) + } }() + try { if let v = _storage._leaveBuddyMultiplayerSessionOutProto1458 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1458) + } }() + try { if let v = _storage._getTodayViewOutProto1501 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1501) + } }() + try { if let v = _storage._megaEvolvePokemonOutProto1502 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1502) + } }() + try { if let v = _storage._remoteGiftPingresponseProto1503 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1503) + } }() + try { if let v = _storage._sendRaidInvitationOutProto1504 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1504) + } }() + try { if let v = _storage._getDailyEncounterOutProto1601 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1601) + } }() + try { if let v = _storage._dailyEncounterOutProto1602 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1602) + } }() + try { if let v = _storage._openSponsoredGiftoutProto1650 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1650) + } }() + try { if let v = _storage._savePlayerPreferencesOutProto1652 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1652) + } }() + try { if let v = _storage._profanityCheckOutproto1653 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1653) + } }() + try { if let v = _storage._getTimedgroupChallengeOutProto1700 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1700) + } }() + try { if let v = _storage._getNintendoAccountOutProto1710 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1710) + } }() + try { if let v = _storage._unlinkNintendoAccountOutProto1711 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1711) + } }() + try { if let v = _storage._getNintendoOAuth2URLOutProto1712 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1712) + } }() + try { if let v = _storage._transferPokemontoPokemonHomeOutProto1713 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1713) + } }() + try { if let v = _storage._reportAdFeedbackresponse1716 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1716) + } }() + try { if let v = _storage._createPokemonTagOutProto1717 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1717) + } }() + try { if let v = _storage._deletePokemonTagOutProto1718 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1718) + } }() + try { if let v = _storage._editPokemonTagOutProto1719 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1719) + } }() + try { if let v = _storage._setPokemonTagsForPokemonOutProto1720 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1720) + } }() + try { if let v = _storage._getPokemonTagsOutProto1721 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1721) + } }() + try { if let v = _storage._changePokemonFormOutProto1722 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1722) + } }() + try { if let v = _storage._chooseGlobalTicketedEventVariantOutProto1723 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1723) + } }() + try { if let v = _storage._getReferralCodeOutProto1800 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1800) + } }() + try { if let v = _storage._addReferrerOutProto1801 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1801) + } }() + try { if let v = _storage._sendFriendInviteViaReferralCodeOutProto1802 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1802) + } }() + try { if let v = _storage._getMilestonesOutProto1803 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1803) + } }() + try { if let v = _storage._markmilestoneAsViewedOutProto1804 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1804) + } }() + try { if let v = _storage._getMilestonesPreviewOutProto1805 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1805) + } }() + try { if let v = _storage._completeMilestoneOutProto1806 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1806) + } }() + try { if let v = _storage._getgeofencedAdOutProto1820 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1820) + } }() + try { if let v = _storage._deletePostcardsOutProto1909 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1909) + } }() + try { if let v = _storage._createPostcardOutProto1910 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1910) + } }() + try { if let v = _storage._updatePostcardOutProto1911 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1911) + } }() + try { if let v = _storage._deletePostcardOutProto1912 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1912) + } }() + try { if let v = _storage._getMementoListOutProto1913 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1913) + } }() + try { if let v = _storage._uploadRaidClientLogOutProto1914 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1914) + } }() + try { if let v = _storage._checkGiftingEligibilityOutProto2000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2000) + } }() + try { if let v = _storage._redeemTicketGiftForFriendOutProto2001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2001) + } }() + try { if let v = _storage._getPokestopEncounterOutProto2005 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2005) + } }() + try { if let v = _storage._encounterPokestopencounterOutProto2006 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2006) + } }() + try { if let v = _storage._playerSpawnablepokemonOutproto2007 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2007) + } }() + try { if let v = _storage._sendFriendRequestViaPlayerIDOutProto2010 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2010) + } }() + try { if let v = _storage._getRaidLobbyCounterOutProto2011 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2011) + } }() + try { if let v = _storage._useNonCombatMoveResponseProto2014 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2014) + } }() + try { if let v = _storage._getContestDataOutProto2105 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2105) + } }() + try { if let v = _storage._getContestsUnclaimedRewardsOutProto2106 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2106) + } }() + try { if let v = _storage._claimcontestsRewardsOutProto2107 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2107) + } }() + try { if let v = _storage._getEnteredContestOutProto2108 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2108) + } }() + try { if let v = _storage._startPartyOutProto2302 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2302) + } }() + try { if let v = _storage._badgeRewardEncounterResponseProto2360 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2360) + } }() + try { if let v = _storage._npcUpdateStateOutProto2400 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2400) + } }() + try { if let v = _storage._npcSendGiftOutProto2401 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2401) + } }() + try { if let v = _storage._npcOpenGiftOutProto2402 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2402) + } }() + try { if let v = _storage._getVpsEventOutProto3000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3000) + } }() + try { if let v = _storage._updateVpsEventOutProto3001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3001) + } }() + try { if let v = _storage._pushNotificationRegistryOutproto5000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5000) + } }() + try { if let v = _storage._updateNotificationOutProto5002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5002) + } }() + try { if let v = _storage._optoutProto5003 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5003) + } }() + try { if let v = _storage._downloadGmTemplatesResponseProto5004 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5004) + } }() + try { if let v = _storage._getInventoryResponseProto5005 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5005) + } }() + try { if let v = _storage._redeemPasscoderesponseProto5006 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5006) + } }() + try { if let v = _storage._pingResponseproto5007 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5007) + } }() + try { if let v = _storage._addLoginactionOutProto5008 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5008) + } }() + try { if let v = _storage._removeLoginActionOutProto5009 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5009) + } }() + try { if let v = _storage._listloginActionOutProto5010 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5010) + } }() + try { if let v = _storage._submitNewPoiOutProto5011 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5011) + } }() + try { if let v = _storage._proxyResponseproto5012 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5012) + } }() + try { if let v = _storage._getAvailableSubmissionsOutProto5014 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5014) + } }() + try { if let v = _storage._replaceLoginActionOutProto5015 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5015) + } }() + try { if let v = _storage._fitnessUpdateOutProto5024 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5024) + } }() + try { if let v = _storage._getFitnessReportOutProto5025 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5025) + } }() + try { if let v = _storage._clientTelemetryclientSettingsProto5026 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5026) + } }() + try { if let v = _storage._setInGameCurrencyExchangeRateOutProto5032 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5032) + } }() + try { if let v = _storage._geofenceUpdateOutProto5033 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5033) + } }() + try { if let v = _storage._locationPingOutProto5034 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5034) + } }() + try { if let v = _storage._generategmapSignedURLOutProto5035 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5035) + } }() + try { if let v = _storage._getgmapSettingsOutProto5036 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5036) + } }() + try { if let v = _storage._getOutstandingWarningsResponseProto5039 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5039) + } }() + try { if let v = _storage._acknowledgeWarningsResponseProto5040 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5040) + } }() + try { if let v = _storage._getWebTokenOutProto5045 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5045) + } }() + try { if let v = _storage._getAdventureSyncSettingsResponseProto5046 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5046) + } }() + try { if let v = _storage._updateAdventureSyncSettingsResponseProto5047 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5047) + } }() + try { if let v = _storage._setBirthdayResponseProto5048 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5048) + } }() + try { if let v = _storage._fetchNewsfeedResponse5049 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5049) + } }() + try { if let v = _storage._markNewsfeedReadResponse5050 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5050) + } }() + try { if let v = _storage._savesocialPlayersettingsOutProto10016 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10016) + } }() + try { if let v = _storage._pushNotificationRegistryOutproto10101 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10101) + } }() + try { if let v = _storage._updateNotificationOutProto10103 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10103) + } }() + try { if let v = _storage._optoutProto10104 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10104) + } }() + try { if let v = _storage._getInboxOutProto10105 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10105) + } }() + try { if let v = _storage._getOutstandingWarningsResponseProto200000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 200000) + } }() + try { if let v = _storage._acknowledgeWarningsResponseProto200001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 200001) + } }() + try { if let v = _storage._getAdventureSyncProgressOutProto230002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 230002) + } }() + try { if let v = _storage._setInGameCurrencyExchangeRateOutProto310002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 310002) + } }() + try { if let v = _storage._geofenceUpdateOutProto360000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 360000) + } }() + try { if let v = _storage._locationPingOutProto360001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 360001) + } }() + try { if let v = _storage._updateBreadcrumbHistoryResponseProto361000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 361000) + } }() + try { if let v = _storage._refreshProximityTokensresponseProto362000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 362000) + } }() + try { if let v = _storage._reportProximityContactsresponseProto362001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 362001) + } }() + try { if let v = _storage._submitNewPoiOutProto620000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 620000) + } }() + try { if let v = _storage._getAvailableSubmissionsOutProto620001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 620001) + } }() + try { if let v = _storage._generategmapSignedURLOutProto620300 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 620300) + } }() + try { if let v = _storage._getgmapSettingsOutProto620301 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 620301) + } }() + try { if let v = _storage._fitnessUpdateOutProto640000 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640000) + } }() + try { if let v = _storage._getFitnessReportOutProto640001 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640001) + } }() + try { if let v = _storage._getAdventureSyncSettingsResponseProto640002 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640002) + } }() + try { if let v = _storage._updateAdventureSyncSettingsResponseProto640003 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640003) + } }() + try { if let v = _storage._updateAdventureSyncFitnessResponseProto640004 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640004) + } }() + try { if let v = _storage._getAdventureSyncFitnessReportResponseProto640005 { + try visitor.visitSingularMessageField(value: v, fieldNumber: 640005) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AttackRaidBattleOutProto, rhs: AttackRaidBattleOutProto) -> Bool { + public static func ==(lhs: AllTypesAndMessagesResponsesProto.AllResponsesProto, rhs: AllTypesAndMessagesResponsesProto.AllResponsesProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._result != rhs_storage._result {return false} - if _storage._battleUpdate != rhs_storage._battleUpdate {return false} - if _storage._sponsoredGift != rhs_storage._sponsoredGift {return false} - if _storage._ad != rhs_storage._ad {return false} + if _storage._getPlayerOutProto2 != rhs_storage._getPlayerOutProto2 {return false} + if _storage._getHoloholoInventoryOutProto4 != rhs_storage._getHoloholoInventoryOutProto4 {return false} + if _storage._downloadSettingsResponseProto5 != rhs_storage._downloadSettingsResponseProto5 {return false} + if _storage._getgameMasterClientTemplatesOutProto6 != rhs_storage._getgameMasterClientTemplatesOutProto6 {return false} + if _storage._getRemoteConfigVersionsOutProto7 != rhs_storage._getRemoteConfigVersionsOutProto7 {return false} + if _storage._registerBackgroundDeviceresponseProto8 != rhs_storage._registerBackgroundDeviceresponseProto8 {return false} + if _storage._getPlayerDayOutProto9 != rhs_storage._getPlayerDayOutProto9 {return false} + if _storage._acknowledgePunishmentOutProto10 != rhs_storage._acknowledgePunishmentOutProto10 {return false} + if _storage._getServerTimeOutProto11 != rhs_storage._getServerTimeOutProto11 {return false} + if _storage._getLocalTimeOutProto12 != rhs_storage._getLocalTimeOutProto12 {return false} + if _storage._fortSearchOutProto101 != rhs_storage._fortSearchOutProto101 {return false} + if _storage._encounterOutProto102 != rhs_storage._encounterOutProto102 {return false} + if _storage._catchPokemonOutProto103 != rhs_storage._catchPokemonOutProto103 {return false} + if _storage._fortDetailsOutProto104 != rhs_storage._fortDetailsOutProto104 {return false} + if _storage._getMapObjectsOutProto106 != rhs_storage._getMapObjectsOutProto106 {return false} + if _storage._fortDeployOutProto110 != rhs_storage._fortDeployOutProto110 {return false} + if _storage._fortRecallOutProto111 != rhs_storage._fortRecallOutProto111 {return false} + if _storage._releasePokemonOutProto112 != rhs_storage._releasePokemonOutProto112 {return false} + if _storage._useItemPotionOutProto113 != rhs_storage._useItemPotionOutProto113 {return false} + if _storage._useItemCaptureOutProto114 != rhs_storage._useItemCaptureOutProto114 {return false} + if _storage._useItemReviveOutProto116 != rhs_storage._useItemReviveOutProto116 {return false} + if _storage._playerprofileOutproto121 != rhs_storage._playerprofileOutproto121 {return false} + if _storage._evolvePokemonOutProto125 != rhs_storage._evolvePokemonOutProto125 {return false} + if _storage._getHatchedEggsOutProto126 != rhs_storage._getHatchedEggsOutProto126 {return false} + if _storage._encounterTutorialCompleteOutProto127 != rhs_storage._encounterTutorialCompleteOutProto127 {return false} + if _storage._levelUpRewardsOutProto128 != rhs_storage._levelUpRewardsOutProto128 {return false} + if _storage._checkAwardedBadgesOutProto129 != rhs_storage._checkAwardedBadgesOutProto129 {return false} + if _storage._recycleItemOutProto137 != rhs_storage._recycleItemOutProto137 {return false} + if _storage._collectDailyBonusOutProto138 != rhs_storage._collectDailyBonusOutProto138 {return false} + if _storage._useItemXpBoostOutProto139 != rhs_storage._useItemXpBoostOutProto139 {return false} + if _storage._useItemEggIncubatorOutProto140 != rhs_storage._useItemEggIncubatorOutProto140 {return false} + if _storage._useIncenseActionOutProto141 != rhs_storage._useIncenseActionOutProto141 {return false} + if _storage._getIncensePokemonOutProto142 != rhs_storage._getIncensePokemonOutProto142 {return false} + if _storage._incenseEncounterOutProto143 != rhs_storage._incenseEncounterOutProto143 {return false} + if _storage._addFortModifierOutProto144 != rhs_storage._addFortModifierOutProto144 {return false} + if _storage._diskEncounterOutProto145 != rhs_storage._diskEncounterOutProto145 {return false} + if _storage._upgradePokemonOutProto147 != rhs_storage._upgradePokemonOutProto147 {return false} + if _storage._setFavoritePokemonOutProto148 != rhs_storage._setFavoritePokemonOutProto148 {return false} + if _storage._nicknamePokemonOutProto149 != rhs_storage._nicknamePokemonOutProto149 {return false} + if _storage._setContactsettingsOutProto151 != rhs_storage._setContactsettingsOutProto151 {return false} + if _storage._setBuddyPokemonOutProto152 != rhs_storage._setBuddyPokemonOutProto152 {return false} + if _storage._getBuddyWalkedOutProto153 != rhs_storage._getBuddyWalkedOutProto153 {return false} + if _storage._useItemEncounterOutProto154 != rhs_storage._useItemEncounterOutProto154 {return false} + if _storage._gymDeployOutProto155 != rhs_storage._gymDeployOutProto155 {return false} + if _storage._gymgetInfoOutProto156 != rhs_storage._gymgetInfoOutProto156 {return false} + if _storage._gymStartSessionOutProto157 != rhs_storage._gymStartSessionOutProto157 {return false} + if _storage._gymBattleAttackOutProto158 != rhs_storage._gymBattleAttackOutProto158 {return false} + if _storage._joinLobbyOutProto159 != rhs_storage._joinLobbyOutProto159 {return false} + if _storage._leavelobbyOutProto160 != rhs_storage._leavelobbyOutProto160 {return false} + if _storage._setLobbyVisibilityOutProto161 != rhs_storage._setLobbyVisibilityOutProto161 {return false} + if _storage._setLobbyPokemonOutProto162 != rhs_storage._setLobbyPokemonOutProto162 {return false} + if _storage._getRaidDetailsOutProto163 != rhs_storage._getRaidDetailsOutProto163 {return false} + if _storage._gymFeedPokemonOutProto164 != rhs_storage._gymFeedPokemonOutProto164 {return false} + if _storage._startRaidBattleOutProto165 != rhs_storage._startRaidBattleOutProto165 {return false} + if _storage._attackRaidBattleOutProto166 != rhs_storage._attackRaidBattleOutProto166 {return false} + if _storage._useItemStardustBoostOutProto168 != rhs_storage._useItemStardustBoostOutProto168 {return false} + if _storage._reassignPlayerOutProto169 != rhs_storage._reassignPlayerOutProto169 {return false} + if _storage._convertcandyToXlcandyOutProto171 != rhs_storage._convertcandyToXlcandyOutProto171 {return false} + if _storage._isSkuAvailableOutProto172 != rhs_storage._isSkuAvailableOutProto172 {return false} + if _storage._assetDigestOutProto300 != rhs_storage._assetDigestOutProto300 {return false} + if _storage._downloadURLOutProto301 != rhs_storage._downloadURLOutProto301 {return false} + if _storage._assetVersionOutProto302 != rhs_storage._assetVersionOutProto302 {return false} + if _storage._codenameResultProto403 != rhs_storage._codenameResultProto403 {return false} + if _storage._setAvatarOutProto404 != rhs_storage._setAvatarOutProto404 {return false} + if _storage._setPlayerTeamOutProto405 != rhs_storage._setPlayerTeamOutProto405 {return false} + if _storage._markTutorialCompleteOutProto406 != rhs_storage._markTutorialCompleteOutProto406 {return false} + if _storage._setNeutralAvatarOutProto408 != rhs_storage._setNeutralAvatarOutProto408 {return false} + if _storage._checkchallengeOutProto600 != rhs_storage._checkchallengeOutProto600 {return false} + if _storage._verifyChallengeOutProto601 != rhs_storage._verifyChallengeOutProto601 {return false} + if _storage._echoOutProto666 != rhs_storage._echoOutProto666 {return false} + if _storage._registerSfidaresponse800 != rhs_storage._registerSfidaresponse800 {return false} + if _storage._sfidaCertificationResponse802 != rhs_storage._sfidaCertificationResponse802 {return false} + if _storage._sfidaUpdateResponse803 != rhs_storage._sfidaUpdateResponse803 {return false} + if _storage._sfidaDowserResponse805 != rhs_storage._sfidaDowserResponse805 {return false} + if _storage._sfidaCaptureResponse806 != rhs_storage._sfidaCaptureResponse806 {return false} + if _storage._listAvatarCustomizationsOutProto807 != rhs_storage._listAvatarCustomizationsOutProto807 {return false} + if _storage._setAvatarItemAsViewedOutProto808 != rhs_storage._setAvatarItemAsViewedOutProto808 {return false} + if _storage._getInboxOutProto809 != rhs_storage._getInboxOutProto809 {return false} + if _storage._listGymBadgesOutProto811 != rhs_storage._listGymBadgesOutProto811 {return false} + if _storage._getgymBadgeDetailsOutProto812 != rhs_storage._getgymBadgeDetailsOutProto812 {return false} + if _storage._useItemMoveRerollOutProto813 != rhs_storage._useItemMoveRerollOutProto813 {return false} + if _storage._useItemRareCandyOutProto814 != rhs_storage._useItemRareCandyOutProto814 {return false} + if _storage._awardFreeRaidTicketOutProto815 != rhs_storage._awardFreeRaidTicketOutProto815 {return false} + if _storage._fetchAllNewsOutProto816 != rhs_storage._fetchAllNewsOutProto816 {return false} + if _storage._markReadNewsArticleOutProto817 != rhs_storage._markReadNewsArticleOutProto817 {return false} + if _storage._belugaTransactionStartOutProto819 != rhs_storage._belugaTransactionStartOutProto819 {return false} + if _storage._belugaTransactionCompleteOutProto820 != rhs_storage._belugaTransactionCompleteOutProto820 {return false} + if _storage._sfidaAssociateResponse822 != rhs_storage._sfidaAssociateResponse822 {return false} + if _storage._sfidaCheckPairingResponse823 != rhs_storage._sfidaCheckPairingResponse823 {return false} + if _storage._sfidaDisassociateResponse824 != rhs_storage._sfidaDisassociateResponse824 {return false} + if _storage._wainaGetRewardsResponse825 != rhs_storage._wainaGetRewardsResponse825 {return false} + if _storage._wainaSubmitSleepDataResponse826 != rhs_storage._wainaSubmitSleepDataResponse826 {return false} + if _storage._getNewQuestsOutProto900 != rhs_storage._getNewQuestsOutProto900 {return false} + if _storage._getQuestDetailsOutProto901 != rhs_storage._getQuestDetailsOutProto901 {return false} + if _storage._completeQuestOutProto902 != rhs_storage._completeQuestOutProto902 {return false} + if _storage._removeQuestOutProto903 != rhs_storage._removeQuestOutProto903 {return false} + if _storage._questEncounterOutProto904 != rhs_storage._questEncounterOutProto904 {return false} + if _storage._progressQuestOutproto906 != rhs_storage._progressQuestOutproto906 {return false} + if _storage._sendGiftOutProto950 != rhs_storage._sendGiftOutProto950 {return false} + if _storage._openGiftoutProto951 != rhs_storage._openGiftoutProto951 {return false} + if _storage._getgiftBoxDetailsOutProto952 != rhs_storage._getgiftBoxDetailsOutProto952 {return false} + if _storage._deleteGiftOutProto953 != rhs_storage._deleteGiftOutProto953 {return false} + if _storage._savePlayersnapshotOutProto954 != rhs_storage._savePlayersnapshotOutProto954 {return false} + if _storage._checkSendGiftOutProto956 != rhs_storage._checkSendGiftOutProto956 {return false} + if _storage._setFriendNicknameOutProto957 != rhs_storage._setFriendNicknameOutProto957 {return false} + if _storage._deleteGiftFromInventoryOutProto958 != rhs_storage._deleteGiftFromInventoryOutProto958 {return false} + if _storage._savesocialPlayersettingsOutProto959 != rhs_storage._savesocialPlayersettingsOutProto959 {return false} + if _storage._openTradingoutProto970 != rhs_storage._openTradingoutProto970 {return false} + if _storage._updateTradingOutProto971 != rhs_storage._updateTradingOutProto971 {return false} + if _storage._confirmTradingOutProto972 != rhs_storage._confirmTradingOutProto972 {return false} + if _storage._cancelTradingOutProto973 != rhs_storage._cancelTradingOutProto973 {return false} + if _storage._getTradingOutProto974 != rhs_storage._getTradingOutProto974 {return false} + if _storage._getFitnessRewardsOutProto980 != rhs_storage._getFitnessRewardsOutProto980 {return false} + if _storage._getCombatPlayerProfileOutProto990 != rhs_storage._getCombatPlayerProfileOutProto990 {return false} + if _storage._generateCombatChallengeIDOutProto991 != rhs_storage._generateCombatChallengeIDOutProto991 {return false} + if _storage._createcombatchallengeOutProto992 != rhs_storage._createcombatchallengeOutProto992 {return false} + if _storage._openCombatChallengeoutProto993 != rhs_storage._openCombatChallengeoutProto993 {return false} + if _storage._getCombatChallengeOutProto994 != rhs_storage._getCombatChallengeOutProto994 {return false} + if _storage._acceptCombatChallengeOutProto995 != rhs_storage._acceptCombatChallengeOutProto995 {return false} + if _storage._declineCombatChallengeOutProto996 != rhs_storage._declineCombatChallengeOutProto996 {return false} + if _storage._cancelcombatchallengeOutProto997 != rhs_storage._cancelcombatchallengeOutProto997 {return false} + if _storage._submitCombatChallengePokemonsOutProto998 != rhs_storage._submitCombatChallengePokemonsOutProto998 {return false} + if _storage._saveCombatPlayerPreferencesOutProto999 != rhs_storage._saveCombatPlayerPreferencesOutProto999 {return false} + if _storage._openCombatSessionoutProto1000 != rhs_storage._openCombatSessionoutProto1000 {return false} + if _storage._updateCombatOutProto1001 != rhs_storage._updateCombatOutProto1001 {return false} + if _storage._quitCombatOutProto1002 != rhs_storage._quitCombatOutProto1002 {return false} + if _storage._getCombatResultsOutProto1003 != rhs_storage._getCombatResultsOutProto1003 {return false} + if _storage._unlockPokemonMoveOutProto1004 != rhs_storage._unlockPokemonMoveOutProto1004 {return false} + if _storage._getNpcCombatRewardsOutProto1005 != rhs_storage._getNpcCombatRewardsOutProto1005 {return false} + if _storage._combatFriendRequestOutProto1006 != rhs_storage._combatFriendRequestOutProto1006 {return false} + if _storage._openNpcCombatSessionoutProto1007 != rhs_storage._openNpcCombatSessionoutProto1007 {return false} + if _storage._startTutorialOutProto1008 != rhs_storage._startTutorialOutProto1008 {return false} + if _storage._getTutorialEggOutProto1009 != rhs_storage._getTutorialEggOutProto1009 {return false} + if _storage._sendProbeOutProto1020 != rhs_storage._sendProbeOutProto1020 {return false} + if _storage._checkPhotobombOutProto1101 != rhs_storage._checkPhotobombOutProto1101 {return false} + if _storage._confirmPhotobombOutProto1102 != rhs_storage._confirmPhotobombOutProto1102 {return false} + if _storage._getPhotobombOutProto1103 != rhs_storage._getPhotobombOutProto1103 {return false} + if _storage._encounterPhotobombOutProto1104 != rhs_storage._encounterPhotobombOutProto1104 {return false} + if _storage._getgmapSettingsOutProto1105 != rhs_storage._getgmapSettingsOutProto1105 {return false} + if _storage._changeTeamOutProto1106 != rhs_storage._changeTeamOutProto1106 {return false} + if _storage._getWebTokenOutProto1107 != rhs_storage._getWebTokenOutProto1107 {return false} + if _storage._completeSnapshotSessionOutProto1110 != rhs_storage._completeSnapshotSessionOutProto1110 {return false} + if _storage._completeWildSnapshotSessionOutProto1111 != rhs_storage._completeWildSnapshotSessionOutProto1111 {return false} + if _storage._startIncidentOutProto1200 != rhs_storage._startIncidentOutProto1200 {return false} + if _storage._completeInvasionDialogueOutProto1201 != rhs_storage._completeInvasionDialogueOutProto1201 {return false} + if _storage._openInvasionCombatSessionoutProto1202 != rhs_storage._openInvasionCombatSessionoutProto1202 {return false} + if _storage._updateInvasionBattleOutProto1203 != rhs_storage._updateInvasionBattleOutProto1203 {return false} + if _storage._invasionEncounterOutProto1204 != rhs_storage._invasionEncounterOutProto1204 {return false} + if _storage._purifypokemonOutproto1205 != rhs_storage._purifypokemonOutproto1205 {return false} + if _storage._getRocketBalloonOutProto1206 != rhs_storage._getRocketBalloonOutProto1206 {return false} + if _storage._vsSeekerStartMatchmakingOutProto1300 != rhs_storage._vsSeekerStartMatchmakingOutProto1300 {return false} + if _storage._cancelMatchmakingOutProto1301 != rhs_storage._cancelMatchmakingOutProto1301 {return false} + if _storage._getMatchmakingStatusOutProto1302 != rhs_storage._getMatchmakingStatusOutProto1302 {return false} + if _storage._completeVsSeekerAndRestartchargingOutProto1303 != rhs_storage._completeVsSeekerAndRestartchargingOutProto1303 {return false} + if _storage._getVsSeekerStatusOutProto1304 != rhs_storage._getVsSeekerStatusOutProto1304 {return false} + if _storage._completecompetitiveSeasonOutProto1305 != rhs_storage._completecompetitiveSeasonOutProto1305 {return false} + if _storage._claimVsSeekerRewardsOutProto1306 != rhs_storage._claimVsSeekerRewardsOutProto1306 {return false} + if _storage._vsSeekerRewardEncounterOutProto1307 != rhs_storage._vsSeekerRewardEncounterOutProto1307 {return false} + if _storage._activateVsSeekerOutProto1308 != rhs_storage._activateVsSeekerOutProto1308 {return false} + if _storage._buddyMapOutProto1350 != rhs_storage._buddyMapOutProto1350 {return false} + if _storage._buddyStatsOutProto1351 != rhs_storage._buddyStatsOutProto1351 {return false} + if _storage._buddyFeedingOutProto1352 != rhs_storage._buddyFeedingOutProto1352 {return false} + if _storage._openBuddyGiftoutProto1353 != rhs_storage._openBuddyGiftoutProto1353 {return false} + if _storage._buddyPettingOutProto1354 != rhs_storage._buddyPettingOutProto1354 {return false} + if _storage._getBuddyHistoryOutProto1355 != rhs_storage._getBuddyHistoryOutProto1355 {return false} + if _storage._updateRouteDraftOutProto1400 != rhs_storage._updateRouteDraftOutProto1400 {return false} + if _storage._getMapFortsOutProto1401 != rhs_storage._getMapFortsOutProto1401 {return false} + if _storage._submitRouteDraftOutProto1402 != rhs_storage._submitRouteDraftOutProto1402 {return false} + if _storage._getPublishedRoutesOutProto1403 != rhs_storage._getPublishedRoutesOutProto1403 {return false} + if _storage._startRouteOutProto1404 != rhs_storage._startRouteOutProto1404 {return false} + if _storage._getRoutesOutProto1405 != rhs_storage._getRoutesOutProto1405 {return false} + if _storage._progressRouteOutproto1406 != rhs_storage._progressRouteOutproto1406 {return false} + if _storage._listRouteBadgesOutProto1409 != rhs_storage._listRouteBadgesOutProto1409 {return false} + if _storage._cancelRouteOutProto1410 != rhs_storage._cancelRouteOutProto1410 {return false} + if _storage._npcRouteGiftOutProto1423 != rhs_storage._npcRouteGiftOutProto1423 {return false} + if _storage._createBuddyMultiplayerSessionOutProto1456 != rhs_storage._createBuddyMultiplayerSessionOutProto1456 {return false} + if _storage._joinBuddyMultiplayerSessionOutProto1457 != rhs_storage._joinBuddyMultiplayerSessionOutProto1457 {return false} + if _storage._leaveBuddyMultiplayerSessionOutProto1458 != rhs_storage._leaveBuddyMultiplayerSessionOutProto1458 {return false} + if _storage._getTodayViewOutProto1501 != rhs_storage._getTodayViewOutProto1501 {return false} + if _storage._megaEvolvePokemonOutProto1502 != rhs_storage._megaEvolvePokemonOutProto1502 {return false} + if _storage._remoteGiftPingresponseProto1503 != rhs_storage._remoteGiftPingresponseProto1503 {return false} + if _storage._sendRaidInvitationOutProto1504 != rhs_storage._sendRaidInvitationOutProto1504 {return false} + if _storage._getDailyEncounterOutProto1601 != rhs_storage._getDailyEncounterOutProto1601 {return false} + if _storage._dailyEncounterOutProto1602 != rhs_storage._dailyEncounterOutProto1602 {return false} + if _storage._openSponsoredGiftoutProto1650 != rhs_storage._openSponsoredGiftoutProto1650 {return false} + if _storage._savePlayerPreferencesOutProto1652 != rhs_storage._savePlayerPreferencesOutProto1652 {return false} + if _storage._profanityCheckOutproto1653 != rhs_storage._profanityCheckOutproto1653 {return false} + if _storage._getTimedgroupChallengeOutProto1700 != rhs_storage._getTimedgroupChallengeOutProto1700 {return false} + if _storage._getNintendoAccountOutProto1710 != rhs_storage._getNintendoAccountOutProto1710 {return false} + if _storage._unlinkNintendoAccountOutProto1711 != rhs_storage._unlinkNintendoAccountOutProto1711 {return false} + if _storage._getNintendoOAuth2URLOutProto1712 != rhs_storage._getNintendoOAuth2URLOutProto1712 {return false} + if _storage._transferPokemontoPokemonHomeOutProto1713 != rhs_storage._transferPokemontoPokemonHomeOutProto1713 {return false} + if _storage._reportAdFeedbackresponse1716 != rhs_storage._reportAdFeedbackresponse1716 {return false} + if _storage._createPokemonTagOutProto1717 != rhs_storage._createPokemonTagOutProto1717 {return false} + if _storage._deletePokemonTagOutProto1718 != rhs_storage._deletePokemonTagOutProto1718 {return false} + if _storage._editPokemonTagOutProto1719 != rhs_storage._editPokemonTagOutProto1719 {return false} + if _storage._setPokemonTagsForPokemonOutProto1720 != rhs_storage._setPokemonTagsForPokemonOutProto1720 {return false} + if _storage._getPokemonTagsOutProto1721 != rhs_storage._getPokemonTagsOutProto1721 {return false} + if _storage._changePokemonFormOutProto1722 != rhs_storage._changePokemonFormOutProto1722 {return false} + if _storage._chooseGlobalTicketedEventVariantOutProto1723 != rhs_storage._chooseGlobalTicketedEventVariantOutProto1723 {return false} + if _storage._getReferralCodeOutProto1800 != rhs_storage._getReferralCodeOutProto1800 {return false} + if _storage._addReferrerOutProto1801 != rhs_storage._addReferrerOutProto1801 {return false} + if _storage._sendFriendInviteViaReferralCodeOutProto1802 != rhs_storage._sendFriendInviteViaReferralCodeOutProto1802 {return false} + if _storage._getMilestonesOutProto1803 != rhs_storage._getMilestonesOutProto1803 {return false} + if _storage._markmilestoneAsViewedOutProto1804 != rhs_storage._markmilestoneAsViewedOutProto1804 {return false} + if _storage._getMilestonesPreviewOutProto1805 != rhs_storage._getMilestonesPreviewOutProto1805 {return false} + if _storage._completeMilestoneOutProto1806 != rhs_storage._completeMilestoneOutProto1806 {return false} + if _storage._getgeofencedAdOutProto1820 != rhs_storage._getgeofencedAdOutProto1820 {return false} + if _storage._deletePostcardsOutProto1909 != rhs_storage._deletePostcardsOutProto1909 {return false} + if _storage._createPostcardOutProto1910 != rhs_storage._createPostcardOutProto1910 {return false} + if _storage._updatePostcardOutProto1911 != rhs_storage._updatePostcardOutProto1911 {return false} + if _storage._deletePostcardOutProto1912 != rhs_storage._deletePostcardOutProto1912 {return false} + if _storage._getMementoListOutProto1913 != rhs_storage._getMementoListOutProto1913 {return false} + if _storage._uploadRaidClientLogOutProto1914 != rhs_storage._uploadRaidClientLogOutProto1914 {return false} + if _storage._checkGiftingEligibilityOutProto2000 != rhs_storage._checkGiftingEligibilityOutProto2000 {return false} + if _storage._redeemTicketGiftForFriendOutProto2001 != rhs_storage._redeemTicketGiftForFriendOutProto2001 {return false} + if _storage._getPokestopEncounterOutProto2005 != rhs_storage._getPokestopEncounterOutProto2005 {return false} + if _storage._encounterPokestopencounterOutProto2006 != rhs_storage._encounterPokestopencounterOutProto2006 {return false} + if _storage._playerSpawnablepokemonOutproto2007 != rhs_storage._playerSpawnablepokemonOutproto2007 {return false} + if _storage._sendFriendRequestViaPlayerIDOutProto2010 != rhs_storage._sendFriendRequestViaPlayerIDOutProto2010 {return false} + if _storage._getRaidLobbyCounterOutProto2011 != rhs_storage._getRaidLobbyCounterOutProto2011 {return false} + if _storage._useNonCombatMoveResponseProto2014 != rhs_storage._useNonCombatMoveResponseProto2014 {return false} + if _storage._getContestDataOutProto2105 != rhs_storage._getContestDataOutProto2105 {return false} + if _storage._getContestsUnclaimedRewardsOutProto2106 != rhs_storage._getContestsUnclaimedRewardsOutProto2106 {return false} + if _storage._claimcontestsRewardsOutProto2107 != rhs_storage._claimcontestsRewardsOutProto2107 {return false} + if _storage._getEnteredContestOutProto2108 != rhs_storage._getEnteredContestOutProto2108 {return false} + if _storage._startPartyOutProto2302 != rhs_storage._startPartyOutProto2302 {return false} + if _storage._badgeRewardEncounterResponseProto2360 != rhs_storage._badgeRewardEncounterResponseProto2360 {return false} + if _storage._npcUpdateStateOutProto2400 != rhs_storage._npcUpdateStateOutProto2400 {return false} + if _storage._npcSendGiftOutProto2401 != rhs_storage._npcSendGiftOutProto2401 {return false} + if _storage._npcOpenGiftOutProto2402 != rhs_storage._npcOpenGiftOutProto2402 {return false} + if _storage._getVpsEventOutProto3000 != rhs_storage._getVpsEventOutProto3000 {return false} + if _storage._updateVpsEventOutProto3001 != rhs_storage._updateVpsEventOutProto3001 {return false} + if _storage._pushNotificationRegistryOutproto5000 != rhs_storage._pushNotificationRegistryOutproto5000 {return false} + if _storage._updateNotificationOutProto5002 != rhs_storage._updateNotificationOutProto5002 {return false} + if _storage._optoutProto5003 != rhs_storage._optoutProto5003 {return false} + if _storage._downloadGmTemplatesResponseProto5004 != rhs_storage._downloadGmTemplatesResponseProto5004 {return false} + if _storage._getInventoryResponseProto5005 != rhs_storage._getInventoryResponseProto5005 {return false} + if _storage._redeemPasscoderesponseProto5006 != rhs_storage._redeemPasscoderesponseProto5006 {return false} + if _storage._pingResponseproto5007 != rhs_storage._pingResponseproto5007 {return false} + if _storage._addLoginactionOutProto5008 != rhs_storage._addLoginactionOutProto5008 {return false} + if _storage._removeLoginActionOutProto5009 != rhs_storage._removeLoginActionOutProto5009 {return false} + if _storage._listloginActionOutProto5010 != rhs_storage._listloginActionOutProto5010 {return false} + if _storage._submitNewPoiOutProto5011 != rhs_storage._submitNewPoiOutProto5011 {return false} + if _storage._proxyResponseproto5012 != rhs_storage._proxyResponseproto5012 {return false} + if _storage._getAvailableSubmissionsOutProto5014 != rhs_storage._getAvailableSubmissionsOutProto5014 {return false} + if _storage._replaceLoginActionOutProto5015 != rhs_storage._replaceLoginActionOutProto5015 {return false} + if _storage._fitnessUpdateOutProto5024 != rhs_storage._fitnessUpdateOutProto5024 {return false} + if _storage._getFitnessReportOutProto5025 != rhs_storage._getFitnessReportOutProto5025 {return false} + if _storage._clientTelemetryclientSettingsProto5026 != rhs_storage._clientTelemetryclientSettingsProto5026 {return false} + if _storage._setInGameCurrencyExchangeRateOutProto5032 != rhs_storage._setInGameCurrencyExchangeRateOutProto5032 {return false} + if _storage._geofenceUpdateOutProto5033 != rhs_storage._geofenceUpdateOutProto5033 {return false} + if _storage._locationPingOutProto5034 != rhs_storage._locationPingOutProto5034 {return false} + if _storage._generategmapSignedURLOutProto5035 != rhs_storage._generategmapSignedURLOutProto5035 {return false} + if _storage._getgmapSettingsOutProto5036 != rhs_storage._getgmapSettingsOutProto5036 {return false} + if _storage._getOutstandingWarningsResponseProto5039 != rhs_storage._getOutstandingWarningsResponseProto5039 {return false} + if _storage._acknowledgeWarningsResponseProto5040 != rhs_storage._acknowledgeWarningsResponseProto5040 {return false} + if _storage._getWebTokenOutProto5045 != rhs_storage._getWebTokenOutProto5045 {return false} + if _storage._getAdventureSyncSettingsResponseProto5046 != rhs_storage._getAdventureSyncSettingsResponseProto5046 {return false} + if _storage._updateAdventureSyncSettingsResponseProto5047 != rhs_storage._updateAdventureSyncSettingsResponseProto5047 {return false} + if _storage._setBirthdayResponseProto5048 != rhs_storage._setBirthdayResponseProto5048 {return false} + if _storage._fetchNewsfeedResponse5049 != rhs_storage._fetchNewsfeedResponse5049 {return false} + if _storage._markNewsfeedReadResponse5050 != rhs_storage._markNewsfeedReadResponse5050 {return false} + if _storage._savesocialPlayersettingsOutProto10016 != rhs_storage._savesocialPlayersettingsOutProto10016 {return false} + if _storage._pushNotificationRegistryOutproto10101 != rhs_storage._pushNotificationRegistryOutproto10101 {return false} + if _storage._updateNotificationOutProto10103 != rhs_storage._updateNotificationOutProto10103 {return false} + if _storage._optoutProto10104 != rhs_storage._optoutProto10104 {return false} + if _storage._getInboxOutProto10105 != rhs_storage._getInboxOutProto10105 {return false} + if _storage._getOutstandingWarningsResponseProto200000 != rhs_storage._getOutstandingWarningsResponseProto200000 {return false} + if _storage._acknowledgeWarningsResponseProto200001 != rhs_storage._acknowledgeWarningsResponseProto200001 {return false} + if _storage._getAdventureSyncProgressOutProto230002 != rhs_storage._getAdventureSyncProgressOutProto230002 {return false} + if _storage._setInGameCurrencyExchangeRateOutProto310002 != rhs_storage._setInGameCurrencyExchangeRateOutProto310002 {return false} + if _storage._geofenceUpdateOutProto360000 != rhs_storage._geofenceUpdateOutProto360000 {return false} + if _storage._locationPingOutProto360001 != rhs_storage._locationPingOutProto360001 {return false} + if _storage._updateBreadcrumbHistoryResponseProto361000 != rhs_storage._updateBreadcrumbHistoryResponseProto361000 {return false} + if _storage._refreshProximityTokensresponseProto362000 != rhs_storage._refreshProximityTokensresponseProto362000 {return false} + if _storage._reportProximityContactsresponseProto362001 != rhs_storage._reportProximityContactsresponseProto362001 {return false} + if _storage._submitNewPoiOutProto620000 != rhs_storage._submitNewPoiOutProto620000 {return false} + if _storage._getAvailableSubmissionsOutProto620001 != rhs_storage._getAvailableSubmissionsOutProto620001 {return false} + if _storage._generategmapSignedURLOutProto620300 != rhs_storage._generategmapSignedURLOutProto620300 {return false} + if _storage._getgmapSettingsOutProto620301 != rhs_storage._getgmapSettingsOutProto620301 {return false} + if _storage._fitnessUpdateOutProto640000 != rhs_storage._fitnessUpdateOutProto640000 {return false} + if _storage._getFitnessReportOutProto640001 != rhs_storage._getFitnessReportOutProto640001 {return false} + if _storage._getAdventureSyncSettingsResponseProto640002 != rhs_storage._getAdventureSyncSettingsResponseProto640002 {return false} + if _storage._updateAdventureSyncSettingsResponseProto640003 != rhs_storage._updateAdventureSyncSettingsResponseProto640003 {return false} + if _storage._updateAdventureSyncFitnessResponseProto640004 != rhs_storage._updateAdventureSyncFitnessResponseProto640004 {return false} + if _storage._getAdventureSyncFitnessReportResponseProto640005 != rhs_storage._getAdventureSyncFitnessReportResponseProto640005 {return false} return true } if !storagesAreEqual {return false} @@ -166692,27 +171074,10 @@ extension AttackRaidBattleOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag } } -extension AttackRaidBattleOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_GYM_NOT_FOUND"), - 3: .same(proto: "ERROR_BATTLE_NOT_FOUND"), - 4: .same(proto: "ERROR_INVALID_ATTACK_ACTIONS"), - 5: .same(proto: "ERROR_NOT_PART_OF_BATTLE"), - 6: .same(proto: "ERROR_BATTLE_ID_NOT_RAID"), - ] -} - -extension AttackRaidBattleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AttackRaidBattleProto" +extension AllTypesAndMessagesResponsesProto.Message: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = AllTypesAndMessagesResponsesProto.protoMessageName + ".Message" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gym_id"), - 2: .standard(proto: "battle_id"), - 3: .standard(proto: "attacker_actions"), - 4: .standard(proto: "last_retrieved_action"), - 5: .standard(proto: "timestamp_ms"), - 6: .standard(proto: "ad_targeting_info"), + 1: .same(proto: "method"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166721,67 +171086,30 @@ extension AttackRaidBattleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.battleID) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.attackerActions) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._lastRetrievedAction) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._adTargetingInfo) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.method) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.gymID.isEmpty { - try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) - } - if !self.battleID.isEmpty { - try visitor.visitSingularStringField(value: self.battleID, fieldNumber: 2) - } - if !self.attackerActions.isEmpty { - try visitor.visitRepeatedMessageField(value: self.attackerActions, fieldNumber: 3) - } - try { if let v = self._lastRetrievedAction { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 5) + if self.method != .requestTypeUnset { + try visitor.visitSingularEnumField(value: self.method, fieldNumber: 1) } - try { if let v = self._adTargetingInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AttackRaidBattleProto, rhs: AttackRaidBattleProto) -> Bool { - if lhs.gymID != rhs.gymID {return false} - if lhs.battleID != rhs.battleID {return false} - if lhs.attackerActions != rhs.attackerActions {return false} - if lhs._lastRetrievedAction != rhs._lastRetrievedAction {return false} - if lhs.timestampMs != rhs.timestampMs {return false} - if lhs._adTargetingInfo != rhs._adTargetingInfo {return false} + public static func ==(lhs: AllTypesAndMessagesResponsesProto.Message, rhs: AllTypesAndMessagesResponsesProto.Message) -> Bool { + if lhs.method != rhs.method {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AttackRaidDataLogDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AttackRaidDataLogDetails" +extension AllTypesAndMessagesResponsesProto.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = AllTypesAndMessagesResponsesProto.protoMessageName + ".Response" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "ob_attack_raid_data_uint32_1"), - 3: .standard(proto: "ob_attack_raid_data_int32_1"), - 4: .standard(proto: "ob_attack_raid_data_int32_2"), - 5: .standard(proto: "ob_attack_raid_data_int32_3"), - 6: .standard(proto: "ob_attack_raid_data_int32_4"), - 7: .standard(proto: "ob_attack_raid_data_uint64"), - 8: .standard(proto: "ob_attack_raid_data_uint32_2"), - 9: .standard(proto: "ob_attack_raid_data_uint32_3"), + 1: .same(proto: "method"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166790,73 +171118,31 @@ extension AttackRaidDataLogDetails: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obAttackRaidDataUint321) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obAttackRaidDataInt321) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obAttackRaidDataInt322) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obAttackRaidDataInt323) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.obAttackRaidDataInt324) }() - case 7: try { try decoder.decodeSingularUInt64Field(value: &self.obAttackRaidDataUint64) }() - case 8: try { try decoder.decodeSingularUInt32Field(value: &self.obAttackRaidDataUint322) }() - case 9: try { try decoder.decodeSingularUInt32Field(value: &self.obAttackRaidDataUint323) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.method) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) - } - if self.obAttackRaidDataUint321 != 0 { - try visitor.visitSingularUInt32Field(value: self.obAttackRaidDataUint321, fieldNumber: 2) - } - if self.obAttackRaidDataInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obAttackRaidDataInt321, fieldNumber: 3) - } - if self.obAttackRaidDataInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obAttackRaidDataInt322, fieldNumber: 4) - } - if self.obAttackRaidDataInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obAttackRaidDataInt323, fieldNumber: 5) - } - if self.obAttackRaidDataInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obAttackRaidDataInt324, fieldNumber: 6) - } - if self.obAttackRaidDataUint64 != 0 { - try visitor.visitSingularUInt64Field(value: self.obAttackRaidDataUint64, fieldNumber: 7) - } - if self.obAttackRaidDataUint322 != 0 { - try visitor.visitSingularUInt32Field(value: self.obAttackRaidDataUint322, fieldNumber: 8) - } - if self.obAttackRaidDataUint323 != 0 { - try visitor.visitSingularUInt32Field(value: self.obAttackRaidDataUint323, fieldNumber: 9) + if self.method != .requestTypeUnset { + try visitor.visitSingularEnumField(value: self.method, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AttackRaidDataLogDetails, rhs: AttackRaidDataLogDetails) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.obAttackRaidDataUint321 != rhs.obAttackRaidDataUint321 {return false} - if lhs.obAttackRaidDataInt321 != rhs.obAttackRaidDataInt321 {return false} - if lhs.obAttackRaidDataInt322 != rhs.obAttackRaidDataInt322 {return false} - if lhs.obAttackRaidDataInt323 != rhs.obAttackRaidDataInt323 {return false} - if lhs.obAttackRaidDataInt324 != rhs.obAttackRaidDataInt324 {return false} - if lhs.obAttackRaidDataUint64 != rhs.obAttackRaidDataUint64 {return false} - if lhs.obAttackRaidDataUint322 != rhs.obAttackRaidDataUint322 {return false} - if lhs.obAttackRaidDataUint323 != rhs.obAttackRaidDataUint323 {return false} + public static func ==(lhs: AllTypesAndMessagesResponsesProto.Response, rhs: AllTypesAndMessagesResponsesProto.Response) -> Bool { + if lhs.method != rhs.method {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AttackRaidDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AttackRaidDataProto" +extension AnchorUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AnchorUpdateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_details"), - 2: .standard(proto: "ob_detail"), - 3: .standard(proto: "ob_attack_raid_data_uint32"), - 4: .standard(proto: "ob_attack_raid_data_int32"), + 1: .standard(proto: "update_type"), + 2: .standard(proto: "updated_anchor"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166865,10 +171151,8 @@ extension AttackRaidDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.obDetails) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._obDetail) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obAttackRaidDataUint32) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obAttackRaidDataInt32) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.updateType) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._updatedAnchor) }() default: break } } @@ -166879,116 +171163,41 @@ extension AttackRaidDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.obDetails.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obDetails, fieldNumber: 1) + if self.updateType != .unset { + try visitor.visitSingularEnumField(value: self.updateType, fieldNumber: 1) } - try { if let v = self._obDetail { + try { if let v = self._updatedAnchor { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if self.obAttackRaidDataUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obAttackRaidDataUint32, fieldNumber: 3) - } - if self.obAttackRaidDataInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obAttackRaidDataInt32, fieldNumber: 4) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AttackRaidDataProto, rhs: AttackRaidDataProto) -> Bool { - if lhs.obDetails != rhs.obDetails {return false} - if lhs._obDetail != rhs._obDetail {return false} - if lhs.obAttackRaidDataUint32 != rhs.obAttackRaidDataUint32 {return false} - if lhs.obAttackRaidDataInt32 != rhs.obAttackRaidDataInt32 {return false} + public static func ==(lhs: AnchorUpdateProto, rhs: AnchorUpdateProto) -> Bool { + if lhs.updateType != rhs.updateType {return false} + if lhs._updatedAnchor != rhs._updatedAnchor {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AttackRaidResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AttackRaidResponseDataProto" +extension AnchorUpdateProto.AnchorUpdateType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "state"), - 3: .standard(proto: "ob_attack_raid_data_uint32_1"), - 4: .standard(proto: "ob_details"), - 5: .standard(proto: "ob_attack_raid_data_uint32_2"), - 6: .standard(proto: "ob_attack_raid_data_uint32_3"), - 7: .standard(proto: "ob_attack_raid_data_int32"), - 8: .standard(proto: "ob_attack_raid_data_uint32_4"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ADD"), + 2: .same(proto: "EDIT"), + 3: .same(proto: "REMOVE"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.state) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obAttackRaidDataUint321) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.obDetails) }() - case 5: try { try decoder.decodeSingularUInt32Field(value: &self.obAttackRaidDataUint322) }() - case 6: try { try decoder.decodeSingularUInt32Field(value: &self.obAttackRaidDataUint323) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.obAttackRaidDataInt32) }() - case 8: try { try decoder.decodeSingularUInt32Field(value: &self.obAttackRaidDataUint324) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.state != .unset { - try visitor.visitSingularEnumField(value: self.state, fieldNumber: 2) - } - if self.obAttackRaidDataUint321 != 0 { - try visitor.visitSingularUInt32Field(value: self.obAttackRaidDataUint321, fieldNumber: 3) - } - if !self.obDetails.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obDetails, fieldNumber: 4) - } - if self.obAttackRaidDataUint322 != 0 { - try visitor.visitSingularUInt32Field(value: self.obAttackRaidDataUint322, fieldNumber: 5) - } - if self.obAttackRaidDataUint323 != 0 { - try visitor.visitSingularUInt32Field(value: self.obAttackRaidDataUint323, fieldNumber: 6) - } - if self.obAttackRaidDataInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obAttackRaidDataInt32, fieldNumber: 7) - } - if self.obAttackRaidDataUint324 != 0 { - try visitor.visitSingularUInt32Field(value: self.obAttackRaidDataUint324, fieldNumber: 8) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AttackRaidResponseDataProto, rhs: AttackRaidResponseDataProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.state != rhs.state {return false} - if lhs.obAttackRaidDataUint321 != rhs.obAttackRaidDataUint321 {return false} - if lhs.obDetails != rhs.obDetails {return false} - if lhs.obAttackRaidDataUint322 != rhs.obAttackRaidDataUint322 {return false} - if lhs.obAttackRaidDataUint323 != rhs.obAttackRaidDataUint323 {return false} - if lhs.obAttackRaidDataInt32 != rhs.obAttackRaidDataInt32 {return false} - if lhs.obAttackRaidDataUint324 != rhs.obAttackRaidDataUint324 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension AttractedPokemonClientProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AttractedPokemonClientProto" +extension AndroidDataSource: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AndroidDataSource" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "context"), - 2: .standard(proto: "pokemon_type_id"), - 3: .standard(proto: "pokemon_display"), - 4: .same(proto: "lat"), - 5: .same(proto: "lng"), - 6: .standard(proto: "encounter_location"), - 7: .standard(proto: "encounter_id"), - 8: .standard(proto: "disappear_time_ms"), + 1: .standard(proto: "is_raw"), + 2: .standard(proto: "app_package_name"), + 3: .standard(proto: "stream_identifier"), + 4: .standard(proto: "stream_name"), + 5: .same(proto: "device"), + 6: .standard(proto: "data_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -166997,14 +171206,12 @@ extension AttractedPokemonClientProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.context) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.pokemonTypeID) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.lat) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.lng) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() - case 7: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &self.disappearTimeMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isRaw) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.appPackageName) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.streamIdentifier) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.streamName) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._device) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.dataType) }() default: break } } @@ -167015,53 +171222,46 @@ extension AttractedPokemonClientProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.context != .attractedPokemonUnset { - try visitor.visitSingularEnumField(value: self.context, fieldNumber: 1) - } - if self.pokemonTypeID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonTypeID, fieldNumber: 2) - } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if self.lat != 0 { - try visitor.visitSingularDoubleField(value: self.lat, fieldNumber: 4) + if self.isRaw != false { + try visitor.visitSingularBoolField(value: self.isRaw, fieldNumber: 1) } - if self.lng != 0 { - try visitor.visitSingularDoubleField(value: self.lng, fieldNumber: 5) + if !self.appPackageName.isEmpty { + try visitor.visitSingularStringField(value: self.appPackageName, fieldNumber: 2) } - if !self.encounterLocation.isEmpty { - try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 6) + if !self.streamIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.streamIdentifier, fieldNumber: 3) } - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 7) + if !self.streamName.isEmpty { + try visitor.visitSingularStringField(value: self.streamName, fieldNumber: 4) } - if self.disappearTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.disappearTimeMs, fieldNumber: 8) + try { if let v = self._device { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if !self.dataType.isEmpty { + try visitor.visitSingularStringField(value: self.dataType, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AttractedPokemonClientProto, rhs: AttractedPokemonClientProto) -> Bool { - if lhs.context != rhs.context {return false} - if lhs.pokemonTypeID != rhs.pokemonTypeID {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} - if lhs.lat != rhs.lat {return false} - if lhs.lng != rhs.lng {return false} - if lhs.encounterLocation != rhs.encounterLocation {return false} - if lhs.encounterID != rhs.encounterID {return false} - if lhs.disappearTimeMs != rhs.disappearTimeMs {return false} + public static func ==(lhs: AndroidDataSource, rhs: AndroidDataSource) -> Bool { + if lhs.isRaw != rhs.isRaw {return false} + if lhs.appPackageName != rhs.appPackageName {return false} + if lhs.streamIdentifier != rhs.streamIdentifier {return false} + if lhs.streamName != rhs.streamName {return false} + if lhs._device != rhs._device {return false} + if lhs.dataType != rhs.dataType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AuthenticateAppleSignInRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AuthenticateAppleSignInRequestProto" +extension AndroidDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AndroidDevice" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "apple_id_token"), - 2: .standard(proto: "auth_code"), - 3: .standard(proto: "accepted_client_ids"), + 1: .same(proto: "manufacturer"), + 2: .same(proto: "model"), + 3: .same(proto: "type"), + 4: .same(proto: "uid"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167070,41 +171270,60 @@ extension AuthenticateAppleSignInRequestProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.appleIDToken) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.authCode) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.acceptedClientIds) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.manufacturer) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.model) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.uid) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.appleIDToken.isEmpty { - try visitor.visitSingularBytesField(value: self.appleIDToken, fieldNumber: 1) + if !self.manufacturer.isEmpty { + try visitor.visitSingularStringField(value: self.manufacturer, fieldNumber: 1) } - if !self.authCode.isEmpty { - try visitor.visitSingularBytesField(value: self.authCode, fieldNumber: 2) + if !self.model.isEmpty { + try visitor.visitSingularStringField(value: self.model, fieldNumber: 2) + } + if self.type != .unknown { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 3) } - if !self.acceptedClientIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.acceptedClientIds, fieldNumber: 3) + if !self.uid.isEmpty { + try visitor.visitSingularStringField(value: self.uid, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AuthenticateAppleSignInRequestProto, rhs: AuthenticateAppleSignInRequestProto) -> Bool { - if lhs.appleIDToken != rhs.appleIDToken {return false} - if lhs.authCode != rhs.authCode {return false} - if lhs.acceptedClientIds != rhs.acceptedClientIds {return false} + public static func ==(lhs: AndroidDevice, rhs: AndroidDevice) -> Bool { + if lhs.manufacturer != rhs.manufacturer {return false} + if lhs.model != rhs.model {return false} + if lhs.type != rhs.type {return false} + if lhs.uid != rhs.uid {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AuthenticateAppleSignInResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AuthenticateAppleSignInResponseProto" +extension AndroidDevice.DeviceType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "nia_apple_auth_token"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "PHONE"), + 2: .same(proto: "TABLET"), + 3: .same(proto: "WATCH"), + 4: .same(proto: "CHEST_STRAP"), + 5: .same(proto: "SCALE"), + 6: .same(proto: "HEAD_MOUNTED"), + ] +} + +extension AnimationOverrideProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AnimationOverrideProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "animation"), + 2: .same(proto: "blacklist"), + 3: .standard(proto: "anim_min"), + 4: .standard(proto: "anim_max"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167113,56 +171332,61 @@ extension AuthenticateAppleSignInResponseProto: SwiftProtobuf.Message, SwiftProt // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.niaAppleAuthToken) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.animation) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.blacklist) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.animMin) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.animMax) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.animation != .none { + try visitor.visitSingularEnumField(value: self.animation, fieldNumber: 1) } - if !self.niaAppleAuthToken.isEmpty { - try visitor.visitSingularBytesField(value: self.niaAppleAuthToken, fieldNumber: 2) + if self.blacklist != false { + try visitor.visitSingularBoolField(value: self.blacklist, fieldNumber: 2) + } + if self.animMin != 0 { + try visitor.visitSingularFloatField(value: self.animMin, fieldNumber: 3) + } + if self.animMax != 0 { + try visitor.visitSingularFloatField(value: self.animMax, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AuthenticateAppleSignInResponseProto, rhs: AuthenticateAppleSignInResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.niaAppleAuthToken != rhs.niaAppleAuthToken {return false} + public static func ==(lhs: AnimationOverrideProto, rhs: AnimationOverrideProto) -> Bool { + if lhs.animation != rhs.animation {return false} + if lhs.blacklist != rhs.blacklist {return false} + if lhs.animMin != rhs.animMin {return false} + if lhs.animMax != rhs.animMax {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AuthenticateAppleSignInResponseProto.Status: SwiftProtobuf._ProtoNameProviding { +extension AnimationOverrideProto.PokemonAnim: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "INVALID_AUTH"), - 3: .same(proto: "SERVER_ERROR"), + 0: .same(proto: "NONE"), + 1: .same(proto: "IDLE_01"), + 2: .same(proto: "IDLE_02"), + 3: .same(proto: "LAND"), + 4: .same(proto: "ATTACK_01"), + 5: .same(proto: "ATTACK_02"), + 6: .same(proto: "DAMAGED"), + 7: .same(proto: "STUNNED"), + 8: .same(proto: "LOOP"), ] } -extension AvailableSkuProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AvailableSkuProto" +extension ApnToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ApnToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .standard(proto: "is_third_party_vendor_item"), - 3: .same(proto: "price"), - 4: .standard(proto: "currency_granted"), - 5: .standard(proto: "game_item_content"), - 6: .standard(proto: "presentation_data"), - 7: .standard(proto: "can_be_purchased"), - 8: .standard(proto: "subscription_id"), - 9: .standard(proto: "rule_data"), - 10: .standard(proto: "offer_id"), - 11: .standard(proto: "has_purchased_subscription"), - 12: .standard(proto: "subscription_group_id"), - 13: .standard(proto: "subscription_level"), + 1: .standard(proto: "registration_id"), + 2: .standard(proto: "bundle_identifier"), + 3: .standard(proto: "payload_byte_size"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167171,101 +171395,41 @@ extension AvailableSkuProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isThirdPartyVendorItem) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.price) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.currencyGranted) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.gameItemContent) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.presentationData) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.canBePurchased) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.subscriptionID) }() - case 9: try { try decoder.decodeRepeatedMessageField(value: &self.ruleData) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.offerID) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.hasPurchasedSubscription_p) }() - case 12: try { try decoder.decodeSingularStringField(value: &self.subscriptionGroupID) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &self.subscriptionLevel) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.registrationID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.bundleIdentifier) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.payloadByteSize) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.id.isEmpty { - try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) - } - if self.isThirdPartyVendorItem != false { - try visitor.visitSingularBoolField(value: self.isThirdPartyVendorItem, fieldNumber: 2) - } - if !self.price.isEmpty { - try visitor.visitRepeatedMessageField(value: self.price, fieldNumber: 3) - } - if !self.currencyGranted.isEmpty { - try visitor.visitRepeatedMessageField(value: self.currencyGranted, fieldNumber: 4) - } - if !self.gameItemContent.isEmpty { - try visitor.visitRepeatedMessageField(value: self.gameItemContent, fieldNumber: 5) - } - if !self.presentationData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.presentationData, fieldNumber: 6) - } - if self.canBePurchased != false { - try visitor.visitSingularBoolField(value: self.canBePurchased, fieldNumber: 7) - } - if !self.subscriptionID.isEmpty { - try visitor.visitSingularStringField(value: self.subscriptionID, fieldNumber: 8) - } - if !self.ruleData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.ruleData, fieldNumber: 9) - } - if !self.offerID.isEmpty { - try visitor.visitSingularStringField(value: self.offerID, fieldNumber: 10) - } - if self.hasPurchasedSubscription_p != false { - try visitor.visitSingularBoolField(value: self.hasPurchasedSubscription_p, fieldNumber: 11) + if !self.registrationID.isEmpty { + try visitor.visitSingularStringField(value: self.registrationID, fieldNumber: 1) } - if !self.subscriptionGroupID.isEmpty { - try visitor.visitSingularStringField(value: self.subscriptionGroupID, fieldNumber: 12) + if !self.bundleIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.bundleIdentifier, fieldNumber: 2) } - if self.subscriptionLevel != 0 { - try visitor.visitSingularInt32Field(value: self.subscriptionLevel, fieldNumber: 13) + if self.payloadByteSize != 0 { + try visitor.visitSingularInt32Field(value: self.payloadByteSize, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AvailableSkuProto, rhs: AvailableSkuProto) -> Bool { - if lhs.id != rhs.id {return false} - if lhs.isThirdPartyVendorItem != rhs.isThirdPartyVendorItem {return false} - if lhs.price != rhs.price {return false} - if lhs.currencyGranted != rhs.currencyGranted {return false} - if lhs.gameItemContent != rhs.gameItemContent {return false} - if lhs.presentationData != rhs.presentationData {return false} - if lhs.canBePurchased != rhs.canBePurchased {return false} - if lhs.subscriptionID != rhs.subscriptionID {return false} - if lhs.ruleData != rhs.ruleData {return false} - if lhs.offerID != rhs.offerID {return false} - if lhs.hasPurchasedSubscription_p != rhs.hasPurchasedSubscription_p {return false} - if lhs.subscriptionGroupID != rhs.subscriptionGroupID {return false} - if lhs.subscriptionLevel != rhs.subscriptionLevel {return false} + public static func ==(lhs: ApnToken, rhs: ApnToken) -> Bool { + if lhs.registrationID != rhs.registrationID {return false} + if lhs.bundleIdentifier != rhs.bundleIdentifier {return false} + if lhs.payloadByteSize != rhs.payloadByteSize {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AvailableSubmissionsPerSubmissionType: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AvailableSubmissionsPerSubmissionType" +extension AppleToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AppleToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "submissions_left"), - 2: .standard(proto: "min_player_level"), - 3: .standard(proto: "is_feature_enabled"), - 4: .standard(proto: "time_window_for_submissions_limit_ms"), - 5: .standard(proto: "max_poi_distance_in_meters"), - 6: .standard(proto: "blacklisted_os"), - 7: .standard(proto: "blacklisted_device_id"), - 8: .standard(proto: "is_whitelisted_user"), - 9: .standard(proto: "is_upload_later_enabled"), - 10: .standard(proto: "daily_new_submissions"), - 11: .standard(proto: "max_submissions"), - 12: .standard(proto: "is_wayfarer_onboarding_enabled"), + 1: .standard(proto: "id_token"), + 2: .standard(proto: "session_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167274,87 +171438,36 @@ extension AvailableSubmissionsPerSubmissionType: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.submissionsLeft) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.isFeatureEnabled) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.timeWindowForSubmissionsLimitMs) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiDistanceInMeters) }() - case 6: try { try decoder.decodeRepeatedStringField(value: &self.blacklistedOs) }() - case 7: try { try decoder.decodeRepeatedStringField(value: &self.blacklistedDeviceID) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.isWhitelistedUser) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.isUploadLaterEnabled) }() - case 10: try { try decoder.decodeSingularFloatField(value: &self.dailyNewSubmissions) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &self.maxSubmissions) }() - case 12: try { try decoder.decodeSingularBoolField(value: &self.isWayfarerOnboardingEnabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.idToken) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.sessionToken) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.submissionsLeft != 0 { - try visitor.visitSingularInt32Field(value: self.submissionsLeft, fieldNumber: 1) - } - if self.minPlayerLevel != 0 { - try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 2) - } - if self.isFeatureEnabled != false { - try visitor.visitSingularBoolField(value: self.isFeatureEnabled, fieldNumber: 3) - } - if self.timeWindowForSubmissionsLimitMs != 0 { - try visitor.visitSingularInt64Field(value: self.timeWindowForSubmissionsLimitMs, fieldNumber: 4) - } - if self.maxPoiDistanceInMeters != 0 { - try visitor.visitSingularInt32Field(value: self.maxPoiDistanceInMeters, fieldNumber: 5) - } - if !self.blacklistedOs.isEmpty { - try visitor.visitRepeatedStringField(value: self.blacklistedOs, fieldNumber: 6) - } - if !self.blacklistedDeviceID.isEmpty { - try visitor.visitRepeatedStringField(value: self.blacklistedDeviceID, fieldNumber: 7) - } - if self.isWhitelistedUser != false { - try visitor.visitSingularBoolField(value: self.isWhitelistedUser, fieldNumber: 8) - } - if self.isUploadLaterEnabled != false { - try visitor.visitSingularBoolField(value: self.isUploadLaterEnabled, fieldNumber: 9) - } - if self.dailyNewSubmissions != 0 { - try visitor.visitSingularFloatField(value: self.dailyNewSubmissions, fieldNumber: 10) - } - if self.maxSubmissions != 0 { - try visitor.visitSingularInt32Field(value: self.maxSubmissions, fieldNumber: 11) + if !self.idToken.isEmpty { + try visitor.visitSingularStringField(value: self.idToken, fieldNumber: 1) } - if self.isWayfarerOnboardingEnabled != false { - try visitor.visitSingularBoolField(value: self.isWayfarerOnboardingEnabled, fieldNumber: 12) + if !self.sessionToken.isEmpty { + try visitor.visitSingularBytesField(value: self.sessionToken, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AvailableSubmissionsPerSubmissionType, rhs: AvailableSubmissionsPerSubmissionType) -> Bool { - if lhs.submissionsLeft != rhs.submissionsLeft {return false} - if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} - if lhs.isFeatureEnabled != rhs.isFeatureEnabled {return false} - if lhs.timeWindowForSubmissionsLimitMs != rhs.timeWindowForSubmissionsLimitMs {return false} - if lhs.maxPoiDistanceInMeters != rhs.maxPoiDistanceInMeters {return false} - if lhs.blacklistedOs != rhs.blacklistedOs {return false} - if lhs.blacklistedDeviceID != rhs.blacklistedDeviceID {return false} - if lhs.isWhitelistedUser != rhs.isWhitelistedUser {return false} - if lhs.isUploadLaterEnabled != rhs.isUploadLaterEnabled {return false} - if lhs.dailyNewSubmissions != rhs.dailyNewSubmissions {return false} - if lhs.maxSubmissions != rhs.maxSubmissions {return false} - if lhs.isWayfarerOnboardingEnabled != rhs.isWayfarerOnboardingEnabled {return false} + public static func ==(lhs: AppleToken, rhs: AppleToken) -> Bool { + if lhs.idToken != rhs.idToken {return false} + if lhs.sessionToken != rhs.sessionToken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AvatarArticleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AvatarArticleProto" +extension AppliedBonusEffectProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AppliedBonusEffectProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "article_id"), - 2: .same(proto: "color"), - 3: .standard(proto: "slot_id"), + 1: .standard(proto: "time_bonus"), + 2: .standard(proto: "space_bonus"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167363,286 +171476,70 @@ extension AvatarArticleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.articleID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.color) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.slotID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.articleID.isEmpty { - try visitor.visitSingularStringField(value: self.articleID, fieldNumber: 1) - } - if self.color != 0 { - try visitor.visitSingularInt32Field(value: self.color, fieldNumber: 2) - } - if self.slotID != 0 { - try visitor.visitSingularInt32Field(value: self.slotID, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: AvatarArticleProto, rhs: AvatarArticleProto) -> Bool { - if lhs.articleID != rhs.articleID {return false} - if lhs.color != rhs.color {return false} - if lhs.slotID != rhs.slotID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension AvatarCustomizationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AvatarCustomizationProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "avatar_type"), - 3: .same(proto: "slot"), - 4: .standard(proto: "bundle_name"), - 5: .standard(proto: "asset_name"), - 6: .standard(proto: "group_name"), - 7: .standard(proto: "sort_order"), - 8: .standard(proto: "unlock_type"), - 9: .standard(proto: "promo_type"), - 10: .standard(proto: "unlock_badge_type"), - 11: .standard(proto: "iap_sku"), - 12: .standard(proto: "unlock_badge_level"), - 13: .standard(proto: "icon_name"), - 14: .standard(proto: "unlock_player_level"), - 15: .standard(proto: "set_name"), - 16: .standard(proto: "set_prime_item"), - 17: .standard(proto: "incompatible_bundle_names"), - 18: .same(proto: "names"), - ] - - fileprivate class _StorageClass { - var _enabled: Bool = false - var _avatarType: PlayerAvatarType = .playerAvatarMale - var _slot: [AvatarCustomizationProto.Slot] = [] - var _bundleName: String = String() - var _assetName: String = String() - var _groupName: String = String() - var _sortOrder: Int32 = 0 - var _unlockType: AvatarCustomizationProto.AvatarCustomizationUnlockType = .unsetUnlockType - var _promoType: [AvatarCustomizationProto.AvatarCustomizationPromoType] = [] - var _unlockBadgeType: HoloBadgeType = .badgeUnset - var _iapSku: String = String() - var _unlockBadgeLevel: Int32 = 0 - var _iconName: String = String() - var _unlockPlayerLevel: Int32 = 0 - var _setName: String = String() - var _setPrimeItem: Bool = false - var _incompatibleBundleNames: [String] = [] - var _names: [String] = [] - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _enabled = source._enabled - _avatarType = source._avatarType - _slot = source._slot - _bundleName = source._bundleName - _assetName = source._assetName - _groupName = source._groupName - _sortOrder = source._sortOrder - _unlockType = source._unlockType - _promoType = source._promoType - _unlockBadgeType = source._unlockBadgeType - _iapSku = source._iapSku - _unlockBadgeLevel = source._unlockBadgeLevel - _iconName = source._iconName - _unlockPlayerLevel = source._unlockPlayerLevel - _setName = source._setName - _setPrimeItem = source._setPrimeItem - _incompatibleBundleNames = source._incompatibleBundleNames - _names = source._names - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &_storage._enabled) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._avatarType) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &_storage._slot) }() - case 4: try { try decoder.decodeSingularStringField(value: &_storage._bundleName) }() - case 5: try { try decoder.decodeSingularStringField(value: &_storage._assetName) }() - case 6: try { try decoder.decodeSingularStringField(value: &_storage._groupName) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._sortOrder) }() - case 8: try { try decoder.decodeSingularEnumField(value: &_storage._unlockType) }() - case 9: try { try decoder.decodeRepeatedEnumField(value: &_storage._promoType) }() - case 10: try { try decoder.decodeSingularEnumField(value: &_storage._unlockBadgeType) }() - case 11: try { try decoder.decodeSingularStringField(value: &_storage._iapSku) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._unlockBadgeLevel) }() - case 13: try { try decoder.decodeSingularStringField(value: &_storage._iconName) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._unlockPlayerLevel) }() - case 15: try { try decoder.decodeSingularStringField(value: &_storage._setName) }() - case 16: try { try decoder.decodeSingularBoolField(value: &_storage._setPrimeItem) }() - case 17: try { try decoder.decodeRepeatedStringField(value: &_storage._incompatibleBundleNames) }() - case 18: try { try decoder.decodeRepeatedStringField(value: &_storage._names) }() - default: break + case 1: try { + var v: AppliedTimeBonusProto? + var hadOneofValue = false + if let current = self.bonus { + hadOneofValue = true + if case .timeBonus(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.bonus = .timeBonus(v) + } + }() + case 2: try { + var v: AppliedSpaceBonusProto? + var hadOneofValue = false + if let current = self.bonus { + hadOneofValue = true + if case .spaceBonus(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.bonus = .spaceBonus(v) } + }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._enabled != false { - try visitor.visitSingularBoolField(value: _storage._enabled, fieldNumber: 1) - } - if _storage._avatarType != .playerAvatarMale { - try visitor.visitSingularEnumField(value: _storage._avatarType, fieldNumber: 2) - } - if !_storage._slot.isEmpty { - try visitor.visitPackedEnumField(value: _storage._slot, fieldNumber: 3) - } - if !_storage._bundleName.isEmpty { - try visitor.visitSingularStringField(value: _storage._bundleName, fieldNumber: 4) - } - if !_storage._assetName.isEmpty { - try visitor.visitSingularStringField(value: _storage._assetName, fieldNumber: 5) - } - if !_storage._groupName.isEmpty { - try visitor.visitSingularStringField(value: _storage._groupName, fieldNumber: 6) - } - if _storage._sortOrder != 0 { - try visitor.visitSingularInt32Field(value: _storage._sortOrder, fieldNumber: 7) - } - if _storage._unlockType != .unsetUnlockType { - try visitor.visitSingularEnumField(value: _storage._unlockType, fieldNumber: 8) - } - if !_storage._promoType.isEmpty { - try visitor.visitPackedEnumField(value: _storage._promoType, fieldNumber: 9) - } - if _storage._unlockBadgeType != .badgeUnset { - try visitor.visitSingularEnumField(value: _storage._unlockBadgeType, fieldNumber: 10) - } - if !_storage._iapSku.isEmpty { - try visitor.visitSingularStringField(value: _storage._iapSku, fieldNumber: 11) - } - if _storage._unlockBadgeLevel != 0 { - try visitor.visitSingularInt32Field(value: _storage._unlockBadgeLevel, fieldNumber: 12) - } - if !_storage._iconName.isEmpty { - try visitor.visitSingularStringField(value: _storage._iconName, fieldNumber: 13) - } - if _storage._unlockPlayerLevel != 0 { - try visitor.visitSingularInt32Field(value: _storage._unlockPlayerLevel, fieldNumber: 14) - } - if !_storage._setName.isEmpty { - try visitor.visitSingularStringField(value: _storage._setName, fieldNumber: 15) - } - if _storage._setPrimeItem != false { - try visitor.visitSingularBoolField(value: _storage._setPrimeItem, fieldNumber: 16) - } - if !_storage._incompatibleBundleNames.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._incompatibleBundleNames, fieldNumber: 17) - } - if !_storage._names.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._names, fieldNumber: 18) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.bonus { + case .timeBonus?: try { + guard case .timeBonus(let v)? = self.bonus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .spaceBonus?: try { + guard case .spaceBonus(let v)? = self.bonus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AvatarCustomizationProto, rhs: AvatarCustomizationProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._enabled != rhs_storage._enabled {return false} - if _storage._avatarType != rhs_storage._avatarType {return false} - if _storage._slot != rhs_storage._slot {return false} - if _storage._bundleName != rhs_storage._bundleName {return false} - if _storage._assetName != rhs_storage._assetName {return false} - if _storage._groupName != rhs_storage._groupName {return false} - if _storage._sortOrder != rhs_storage._sortOrder {return false} - if _storage._unlockType != rhs_storage._unlockType {return false} - if _storage._promoType != rhs_storage._promoType {return false} - if _storage._unlockBadgeType != rhs_storage._unlockBadgeType {return false} - if _storage._iapSku != rhs_storage._iapSku {return false} - if _storage._unlockBadgeLevel != rhs_storage._unlockBadgeLevel {return false} - if _storage._iconName != rhs_storage._iconName {return false} - if _storage._unlockPlayerLevel != rhs_storage._unlockPlayerLevel {return false} - if _storage._setName != rhs_storage._setName {return false} - if _storage._setPrimeItem != rhs_storage._setPrimeItem {return false} - if _storage._incompatibleBundleNames != rhs_storage._incompatibleBundleNames {return false} - if _storage._names != rhs_storage._names {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: AppliedBonusEffectProto, rhs: AppliedBonusEffectProto) -> Bool { + if lhs.bonus != rhs.bonus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true - } -} - -extension AvatarCustomizationProto.AvatarCustomizationPromoType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_PROMO_TYPE"), - 1: .same(proto: "SALE"), - 2: .same(proto: "FEATURED"), - ] -} - -extension AvatarCustomizationProto.AvatarCustomizationUnlockType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_UNLOCK_TYPE"), - 1: .same(proto: "DEFAULT"), - 2: .same(proto: "MEDAL_REWARD"), - 3: .same(proto: "IAP_CLOTHING"), - 4: .same(proto: "LEVEL_REWARD"), - 5: .same(proto: "COMBAT_RANK_REWARD"), - ] -} - -extension AvatarCustomizationProto.Slot: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_SLOT"), - 1: .same(proto: "HAIR"), - 2: .same(proto: "SHIRT"), - 3: .same(proto: "PANTS"), - 4: .same(proto: "HAT"), - 5: .same(proto: "SHOES"), - 6: .same(proto: "EYES"), - 7: .same(proto: "BACKPACK"), - 8: .same(proto: "GLOVES"), - 9: .same(proto: "SOCKS"), - 10: .same(proto: "BELT"), - 11: .same(proto: "GLASSES"), - 12: .same(proto: "NECKLACE"), - 13: .same(proto: "SKIN"), - 14: .same(proto: "POSE"), - 15: .same(proto: "FACE"), - 16: .same(proto: "PROP"), - ] -} - -extension AvatarCustomizationTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AvatarCustomizationTelemetry" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "avatar_customization_click_id"), - 2: .standard(proto: "asset_name"), - 3: .same(proto: "sku"), - 4: .standard(proto: "has_enough_coins"), - 5: .standard(proto: "group_name"), - 6: .standard(proto: "color_choice_id"), + } +} + +extension AppliedBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AppliedBonusProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "bonus_type"), + 2: .standard(proto: "expiration_time_ms"), + 3: .standard(proto: "applied_time_ms"), + 4: .same(proto: "effect"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167651,55 +171548,49 @@ extension AvatarCustomizationTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.avatarCustomizationClickID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.assetName) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.sku) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.hasEnoughCoins_p) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.groupName) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.colorChoiceID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.bonusType) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTimeMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.appliedTimeMs) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._effect) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.avatarCustomizationClickID != .undefinedAvatarCustomization { - try visitor.visitSingularEnumField(value: self.avatarCustomizationClickID, fieldNumber: 1) - } - if !self.assetName.isEmpty { - try visitor.visitSingularStringField(value: self.assetName, fieldNumber: 2) - } - if !self.sku.isEmpty { - try visitor.visitSingularStringField(value: self.sku, fieldNumber: 3) - } - if self.hasEnoughCoins_p != false { - try visitor.visitSingularBoolField(value: self.hasEnoughCoins_p, fieldNumber: 4) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.bonusType != .playerBonusUnset { + try visitor.visitSingularEnumField(value: self.bonusType, fieldNumber: 1) } - if !self.groupName.isEmpty { - try visitor.visitSingularStringField(value: self.groupName, fieldNumber: 5) + if self.expirationTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.expirationTimeMs, fieldNumber: 2) } - if !self.colorChoiceID.isEmpty { - try visitor.visitSingularStringField(value: self.colorChoiceID, fieldNumber: 6) + if self.appliedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.appliedTimeMs, fieldNumber: 3) } + try { if let v = self._effect { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AvatarCustomizationTelemetry, rhs: AvatarCustomizationTelemetry) -> Bool { - if lhs.avatarCustomizationClickID != rhs.avatarCustomizationClickID {return false} - if lhs.assetName != rhs.assetName {return false} - if lhs.sku != rhs.sku {return false} - if lhs.hasEnoughCoins_p != rhs.hasEnoughCoins_p {return false} - if lhs.groupName != rhs.groupName {return false} - if lhs.colorChoiceID != rhs.colorChoiceID {return false} + public static func ==(lhs: AppliedBonusProto, rhs: AppliedBonusProto) -> Bool { + if lhs.bonusType != rhs.bonusType {return false} + if lhs.expirationTimeMs != rhs.expirationTimeMs {return false} + if lhs.appliedTimeMs != rhs.appliedTimeMs {return false} + if lhs._effect != rhs._effect {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AvatarGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AvatarGlobalSettingsProto" +extension AppliedBonusesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AppliedBonusesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_pose"), + 1: .same(proto: "item"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167708,30 +171599,33 @@ extension AvatarGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enablePose) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.item) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enablePose != false { - try visitor.visitSingularBoolField(value: self.enablePose, fieldNumber: 1) + if !self.item.isEmpty { + try visitor.visitRepeatedMessageField(value: self.item, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AvatarGlobalSettingsProto, rhs: AvatarGlobalSettingsProto) -> Bool { - if lhs.enablePose != rhs.enablePose {return false} + public static func ==(lhs: AppliedBonusesProto, rhs: AppliedBonusesProto) -> Bool { + if lhs.item != rhs.item {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AvatarGroupOrderSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AvatarGroupOrderSettingsProto" +extension AppliedItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AppliedItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "group"), + 1: .same(proto: "item"), + 2: .standard(proto: "item_type"), + 3: .standard(proto: "expiration_ms"), + 4: .standard(proto: "applied_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167740,32 +171634,45 @@ extension AvatarGroupOrderSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.group) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.itemType) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.expirationMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.appliedMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.group.isEmpty { - try visitor.visitRepeatedMessageField(value: self.group, fieldNumber: 1) + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) + } + if self.itemType != .itemTypeNone { + try visitor.visitSingularEnumField(value: self.itemType, fieldNumber: 2) + } + if self.expirationMs != 0 { + try visitor.visitSingularInt64Field(value: self.expirationMs, fieldNumber: 3) + } + if self.appliedMs != 0 { + try visitor.visitSingularInt64Field(value: self.appliedMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AvatarGroupOrderSettingsProto, rhs: AvatarGroupOrderSettingsProto) -> Bool { - if lhs.group != rhs.group {return false} + public static func ==(lhs: AppliedItemProto, rhs: AppliedItemProto) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.itemType != rhs.itemType {return false} + if lhs.expirationMs != rhs.expirationMs {return false} + if lhs.appliedMs != rhs.appliedMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AvatarGroupOrderSettingsProto.AvatarGroupOrderProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AvatarGroupOrderSettingsProto.protoMessageName + ".AvatarGroupOrderProto" +extension AppliedItemsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AppliedItemsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "order"), - 3: .standard(proto: "show_new_tag"), + 4: .same(proto: "item"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167774,42 +171681,32 @@ extension AvatarGroupOrderSettingsProto.AvatarGroupOrderProto: SwiftProtobuf.Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.order) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.showNewTag) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.item) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if self.order != 0 { - try visitor.visitSingularInt32Field(value: self.order, fieldNumber: 2) - } - if self.showNewTag != false { - try visitor.visitSingularBoolField(value: self.showNewTag, fieldNumber: 3) + if !self.item.isEmpty { + try visitor.visitRepeatedMessageField(value: self.item, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AvatarGroupOrderSettingsProto.AvatarGroupOrderProto, rhs: AvatarGroupOrderSettingsProto.AvatarGroupOrderProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.order != rhs.order {return false} - if lhs.showNewTag != rhs.showNewTag {return false} + public static func ==(lhs: AppliedItemsProto, rhs: AppliedItemsProto) -> Bool { + if lhs.item != rhs.item {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AvatarItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AvatarItemProto" +extension AppliedSpaceBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AppliedSpaceBonusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "avatar_template_id"), - 2: .standard(proto: "new_timestamp_ms"), - 3: .same(proto: "viewed"), + 1: .standard(proto: "pokemon_visible_range_meters"), + 2: .standard(proto: "encounter_range_meters"), + 3: .standard(proto: "server_allowable_encounter_range_meters"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167818,40 +171715,40 @@ extension AvatarItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.avatarTemplateID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.newTimestampMs) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.viewed) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.pokemonVisibleRangeMeters) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.encounterRangeMeters) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.serverAllowableEncounterRangeMeters) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.avatarTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.avatarTemplateID, fieldNumber: 1) + if self.pokemonVisibleRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.pokemonVisibleRangeMeters, fieldNumber: 1) } - if self.newTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.newTimestampMs, fieldNumber: 2) + if self.encounterRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.encounterRangeMeters, fieldNumber: 2) } - if self.viewed != false { - try visitor.visitSingularBoolField(value: self.viewed, fieldNumber: 3) + if self.serverAllowableEncounterRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.serverAllowableEncounterRangeMeters, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AvatarItemProto, rhs: AvatarItemProto) -> Bool { - if lhs.avatarTemplateID != rhs.avatarTemplateID {return false} - if lhs.newTimestampMs != rhs.newTimestampMs {return false} - if lhs.viewed != rhs.viewed {return false} + public static func ==(lhs: AppliedSpaceBonusProto, rhs: AppliedSpaceBonusProto) -> Bool { + if lhs.pokemonVisibleRangeMeters != rhs.pokemonVisibleRangeMeters {return false} + if lhs.encounterRangeMeters != rhs.encounterRangeMeters {return false} + if lhs.serverAllowableEncounterRangeMeters != rhs.serverAllowableEncounterRangeMeters {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AwardFreeRaidTicketOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AwardFreeRaidTicketOutProto" +extension AppliedTimeBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AppliedTimeBonusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .standard(proto: "affected_items"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167860,42 +171757,33 @@ extension AwardFreeRaidTicketOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.affectedItems) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .noResultSet { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.affectedItems.isEmpty { + try visitor.visitPackedEnumField(value: self.affectedItems, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AwardFreeRaidTicketOutProto, rhs: AwardFreeRaidTicketOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: AppliedTimeBonusProto, rhs: AppliedTimeBonusProto) -> Bool { + if lhs.affectedItems != rhs.affectedItems {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AwardFreeRaidTicketOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_RESULT_SET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_DOES_NOT_MEET_MIN_LEVEL"), - 3: .same(proto: "ERROR_DAILY_TICKET_ALREADY_AWARDED"), - 4: .same(proto: "ERROR_PLAYER_OUT_OF_RANGE"), - ] -} - -extension AwardFreeRaidTicketProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AwardFreeRaidTicketProto" +extension AppraisalStarThresholdSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AppraisalStarThresholdSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gym_id"), - 2: .standard(proto: "player_lat_degrees"), - 3: .standard(proto: "player_lng_degrees"), + 1: .standard(proto: "threshold_one_star"), + 2: .standard(proto: "threshold_two_star"), + 3: .standard(proto: "threshold_three_star"), + 4: .standard(proto: "threshold_four_star"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167904,42 +171792,361 @@ extension AwardFreeRaidTicketProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.thresholdOneStar) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.thresholdTwoStar) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.thresholdThreeStar) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.thresholdFourStar) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.gymID.isEmpty { - try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) + if self.thresholdOneStar != 0 { + try visitor.visitSingularInt32Field(value: self.thresholdOneStar, fieldNumber: 1) } - if self.playerLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 2) + if self.thresholdTwoStar != 0 { + try visitor.visitSingularInt32Field(value: self.thresholdTwoStar, fieldNumber: 2) } - if self.playerLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 3) + if self.thresholdThreeStar != 0 { + try visitor.visitSingularInt32Field(value: self.thresholdThreeStar, fieldNumber: 3) + } + if self.thresholdFourStar != 0 { + try visitor.visitSingularInt32Field(value: self.thresholdFourStar, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AwardFreeRaidTicketProto, rhs: AwardFreeRaidTicketProto) -> Bool { - if lhs.gymID != rhs.gymID {return false} - if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} - if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + public static func ==(lhs: AppraisalStarThresholdSettings, rhs: AppraisalStarThresholdSettings) -> Bool { + if lhs.thresholdOneStar != rhs.thresholdOneStar {return false} + if lhs.thresholdTwoStar != rhs.thresholdTwoStar {return false} + if lhs.thresholdThreeStar != rhs.thresholdThreeStar {return false} + if lhs.thresholdFourStar != rhs.thresholdFourStar {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AwardItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AwardItemProto" +extension ApprovedCommonTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ApprovedCommonTelemetryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .standard(proto: "item_count"), - 3: .standard(proto: "bonus_count"), + 1: .standard(proto: "boot_time"), + 2: .standard(proto: "shop_click"), + 3: .standard(proto: "shop_view"), + 4: .standard(proto: "poi_submission_telemetry"), + 5: .standard(proto: "poi_submission_photo_upload_error_telemetry"), + 6: .standard(proto: "log_in"), + 7: .standard(proto: "poi_categorization_entry_telemetry"), + 8: .standard(proto: "poi_categorization_operation_telemetry"), + 9: .standard(proto: "poi_categorization_selected_telemetry"), + 10: .standard(proto: "poi_categorization_removed_telemetry"), + 11: .standard(proto: "wayfarer_onboarding_flow_telemetry"), + 12: .standard(proto: "as_permission_flow_telemetry"), + 13: .standard(proto: "log_out"), + 14: .standard(proto: "server_data"), + 15: .standard(proto: "common_filters"), + ] + + fileprivate class _StorageClass { + var _telemetryData: ApprovedCommonTelemetryProto.OneOf_TelemetryData? + var _serverData: ServerRecordMetadata? = nil + var _commonFilters: ClientTelemetryCommonFilterProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _telemetryData = source._telemetryData + _serverData = source._serverData + _commonFilters = source._commonFilters + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { + var v: CommonTelemetryBootTime? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .bootTime(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .bootTime(v) + } + }() + case 2: try { + var v: CommonTelemetryShopClick? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .shopClick(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .shopClick(v) + } + }() + case 3: try { + var v: CommonTelemetryShopView? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .shopView(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .shopView(v) + } + }() + case 4: try { + var v: PoiSubmissionTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .poiSubmissionTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .poiSubmissionTelemetry(v) + } + }() + case 5: try { + var v: PoiSubmissionPhotoUploadErrorTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .poiSubmissionPhotoUploadErrorTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .poiSubmissionPhotoUploadErrorTelemetry(v) + } + }() + case 6: try { + var v: CommonTelemetryLogIn? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .logIn(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .logIn(v) + } + }() + case 7: try { + var v: PoiCategorizationEntryTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .poiCategorizationEntryTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .poiCategorizationEntryTelemetry(v) + } + }() + case 8: try { + var v: PoiCategorizationOperationTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .poiCategorizationOperationTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .poiCategorizationOperationTelemetry(v) + } + }() + case 9: try { + var v: PoiCategorySelectedTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .poiCategorizationSelectedTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .poiCategorizationSelectedTelemetry(v) + } + }() + case 10: try { + var v: PoiCategoryRemovedTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .poiCategorizationRemovedTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .poiCategorizationRemovedTelemetry(v) + } + }() + case 11: try { + var v: WayfarerOnboardingFlowTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .wayfarerOnboardingFlowTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .wayfarerOnboardingFlowTelemetry(v) + } + }() + case 12: try { + var v: ASPermissionFlowTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .asPermissionFlowTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .asPermissionFlowTelemetry(v) + } + }() + case 13: try { + var v: CommonTelemetryLogOut? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .logOut(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .logOut(v) + } + }() + case 14: try { try decoder.decodeSingularMessageField(value: &_storage._serverData) }() + case 15: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch _storage._telemetryData { + case .bootTime?: try { + guard case .bootTime(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .shopClick?: try { + guard case .shopClick(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .shopView?: try { + guard case .shopView(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .poiSubmissionTelemetry?: try { + guard case .poiSubmissionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .poiSubmissionPhotoUploadErrorTelemetry?: try { + guard case .poiSubmissionPhotoUploadErrorTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .logIn?: try { + guard case .logIn(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + }() + case .poiCategorizationEntryTelemetry?: try { + guard case .poiCategorizationEntryTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + }() + case .poiCategorizationOperationTelemetry?: try { + guard case .poiCategorizationOperationTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + }() + case .poiCategorizationSelectedTelemetry?: try { + guard case .poiCategorizationSelectedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + }() + case .poiCategorizationRemovedTelemetry?: try { + guard case .poiCategorizationRemovedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + }() + case .wayfarerOnboardingFlowTelemetry?: try { + guard case .wayfarerOnboardingFlowTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + }() + case .asPermissionFlowTelemetry?: try { + guard case .asPermissionFlowTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + }() + case .logOut?: try { + guard case .logOut(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + }() + case nil: break + } + try { if let v = _storage._serverData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 14) + } }() + try { if let v = _storage._commonFilters { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + } }() + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ApprovedCommonTelemetryProto, rhs: ApprovedCommonTelemetryProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._telemetryData != rhs_storage._telemetryData {return false} + if _storage._serverData != rhs_storage._serverData {return false} + if _storage._commonFilters != rhs_storage._commonFilters {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ArMappingSessionTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ArMappingSessionTelemetryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fulfilled_geotargeted_quest"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -167948,93 +172155,116 @@ extension AwardItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.itemCount) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.bonusCount) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.fulfilledGeotargetedQuest) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) - } - if self.itemCount != 0 { - try visitor.visitSingularInt32Field(value: self.itemCount, fieldNumber: 2) - } - if self.bonusCount != 0 { - try visitor.visitSingularInt32Field(value: self.bonusCount, fieldNumber: 3) + if self.fulfilledGeotargetedQuest != false { + try visitor.visitSingularBoolField(value: self.fulfilledGeotargetedQuest, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AwardItemProto, rhs: AwardItemProto) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.itemCount != rhs.itemCount {return false} - if lhs.bonusCount != rhs.bonusCount {return false} + public static func ==(lhs: ArMappingSessionTelemetryProto, rhs: ArMappingSessionTelemetryProto) -> Bool { + if lhs.fulfilledGeotargetedQuest != rhs.fulfilledGeotargetedQuest {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AwardedGymBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AwardedGymBadge" +extension ArMappingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ArMappingSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_id"), - 2: .standard(proto: "gym_badge_type"), - 3: .same(proto: "score"), - 4: .standard(proto: "gym_badge_stats"), - 5: .standard(proto: "last_update_timestamp_ms"), - 6: .same(proto: "name"), - 7: .standard(proto: "image_url"), - 8: .same(proto: "description"), - 9: .same(proto: "latitude"), - 10: .same(proto: "longitude"), - 11: .standard(proto: "last_check_timestamp_ms"), - 12: .standard(proto: "earned_points"), - 13: .same(proto: "progress"), - 14: .standard(proto: "level_up"), - 15: .same(proto: "raids"), + 1: .standard(proto: "min_hours_between_prompt"), + 2: .standard(proto: "max_video_time_seconds"), + 3: .standard(proto: "preview_video_bitrate_kbps"), + 4: .standard(proto: "preview_video_deadline_ms"), + 5: .standard(proto: "research_video_bitrate_kbps"), + 6: .standard(proto: "research_video_deadline_ms"), + 7: .standard(proto: "min_video_time_seconds"), + 8: .standard(proto: "preview_frame_rate_fps"), + 9: .standard(proto: "preview_frames_to_jump"), + 10: .standard(proto: "max_upload_chunk_rejected_count"), + 11: .standard(proto: "ardk_desired_accuracy_mm"), + 12: .standard(proto: "ardk_update_distance_mm"), + 13: .standard(proto: "max_pending_upload_kilobytes"), + 14: .standard(proto: "enable_sponsor_poi_scan"), + 15: .standard(proto: "min_disk_space_needed_mb"), + 16: .standard(proto: "scan_validation_enabled"), + 17: .standard(proto: "scan_validation_start_delay_s"), + 18: .standard(proto: "scan_validation_lumens_min_threshold"), + 19: .standard(proto: "scan_validation_lumens_smoothing_factor"), + 20: .standard(proto: "scan_validation_average_pixel_threshold"), + 21: .standard(proto: "scan_validation_average_pixel_smoothing_factor"), + 22: .standard(proto: "scan_validation_speed_min_threshold_mper_s"), + 23: .standard(proto: "scan_validation_speed_max_threshold_mper_s"), + 24: .standard(proto: "scan_validation_speed_smoothing_factor"), + 25: .standard(proto: "scan_validation_max_warning_time_s"), + 26: .standard(proto: "ar_recorder_v2_enabled"), ] fileprivate class _StorageClass { - var _fortID: String = String() - var _gymBadgeType: GymBadgeType = .gymBadgeUnset - var _score: UInt32 = 0 - var _gymBadgeStats: GymBadgeStats? = nil - var _lastUpdateTimestampMs: UInt64 = 0 - var _name: String = String() - var _imageURL: String = String() - var _description_p: String = String() - var _latitude: Double = 0 - var _longitude: Double = 0 - var _lastCheckTimestampMs: UInt64 = 0 - var _earnedPoints: UInt32 = 0 - var _progress: Float = 0 - var _levelUp: Bool = false - var _raids: PlayerRaidInfoProto? = nil + var _minHoursBetweenPrompt: Int32 = 0 + var _maxVideoTimeSeconds: Int32 = 0 + var _previewVideoBitrateKbps: Int32 = 0 + var _previewVideoDeadlineMs: Int32 = 0 + var _researchVideoBitrateKbps: Int32 = 0 + var _researchVideoDeadlineMs: Int32 = 0 + var _minVideoTimeSeconds: Int32 = 0 + var _previewFrameRateFps: Int32 = 0 + var _previewFramesToJump: Int32 = 0 + var _maxUploadChunkRejectedCount: Int32 = 0 + var _ardkDesiredAccuracyMm: Int32 = 0 + var _ardkUpdateDistanceMm: Int32 = 0 + var _maxPendingUploadKilobytes: Int32 = 0 + var _enableSponsorPoiScan: Bool = false + var _minDiskSpaceNeededMb: Int32 = 0 + var _scanValidationEnabled: Bool = false + var _scanValidationStartDelayS: Float = 0 + var _scanValidationLumensMinThreshold: Float = 0 + var _scanValidationLumensSmoothingFactor: Float = 0 + var _scanValidationAveragePixelThreshold: Float = 0 + var _scanValidationAveragePixelSmoothingFactor: Float = 0 + var _scanValidationSpeedMinThresholdMperS: Float = 0 + var _scanValidationSpeedMaxThresholdMperS: Float = 0 + var _scanValidationSpeedSmoothingFactor: Float = 0 + var _scanValidationMaxWarningTimeS: Float = 0 + var _arRecorderV2Enabled: Bool = false static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _fortID = source._fortID - _gymBadgeType = source._gymBadgeType - _score = source._score - _gymBadgeStats = source._gymBadgeStats - _lastUpdateTimestampMs = source._lastUpdateTimestampMs - _name = source._name - _imageURL = source._imageURL - _description_p = source._description_p - _latitude = source._latitude - _longitude = source._longitude - _lastCheckTimestampMs = source._lastCheckTimestampMs - _earnedPoints = source._earnedPoints - _progress = source._progress - _levelUp = source._levelUp - _raids = source._raids + _minHoursBetweenPrompt = source._minHoursBetweenPrompt + _maxVideoTimeSeconds = source._maxVideoTimeSeconds + _previewVideoBitrateKbps = source._previewVideoBitrateKbps + _previewVideoDeadlineMs = source._previewVideoDeadlineMs + _researchVideoBitrateKbps = source._researchVideoBitrateKbps + _researchVideoDeadlineMs = source._researchVideoDeadlineMs + _minVideoTimeSeconds = source._minVideoTimeSeconds + _previewFrameRateFps = source._previewFrameRateFps + _previewFramesToJump = source._previewFramesToJump + _maxUploadChunkRejectedCount = source._maxUploadChunkRejectedCount + _ardkDesiredAccuracyMm = source._ardkDesiredAccuracyMm + _ardkUpdateDistanceMm = source._ardkUpdateDistanceMm + _maxPendingUploadKilobytes = source._maxPendingUploadKilobytes + _enableSponsorPoiScan = source._enableSponsorPoiScan + _minDiskSpaceNeededMb = source._minDiskSpaceNeededMb + _scanValidationEnabled = source._scanValidationEnabled + _scanValidationStartDelayS = source._scanValidationStartDelayS + _scanValidationLumensMinThreshold = source._scanValidationLumensMinThreshold + _scanValidationLumensSmoothingFactor = source._scanValidationLumensSmoothingFactor + _scanValidationAveragePixelThreshold = source._scanValidationAveragePixelThreshold + _scanValidationAveragePixelSmoothingFactor = source._scanValidationAveragePixelSmoothingFactor + _scanValidationSpeedMinThresholdMperS = source._scanValidationSpeedMinThresholdMperS + _scanValidationSpeedMaxThresholdMperS = source._scanValidationSpeedMaxThresholdMperS + _scanValidationSpeedSmoothingFactor = source._scanValidationSpeedSmoothingFactor + _scanValidationMaxWarningTimeS = source._scanValidationMaxWarningTimeS + _arRecorderV2Enabled = source._arRecorderV2Enabled } } @@ -168053,21 +172283,32 @@ extension AwardedGymBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._fortID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._gymBadgeType) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &_storage._score) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._gymBadgeStats) }() - case 5: try { try decoder.decodeSingularUInt64Field(value: &_storage._lastUpdateTimestampMs) }() - case 6: try { try decoder.decodeSingularStringField(value: &_storage._name) }() - case 7: try { try decoder.decodeSingularStringField(value: &_storage._imageURL) }() - case 8: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }() - case 9: try { try decoder.decodeSingularDoubleField(value: &_storage._latitude) }() - case 10: try { try decoder.decodeSingularDoubleField(value: &_storage._longitude) }() - case 11: try { try decoder.decodeSingularUInt64Field(value: &_storage._lastCheckTimestampMs) }() - case 12: try { try decoder.decodeSingularUInt32Field(value: &_storage._earnedPoints) }() - case 13: try { try decoder.decodeSingularFloatField(value: &_storage._progress) }() - case 14: try { try decoder.decodeSingularBoolField(value: &_storage._levelUp) }() - case 15: try { try decoder.decodeSingularMessageField(value: &_storage._raids) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._minHoursBetweenPrompt) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._maxVideoTimeSeconds) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._previewVideoBitrateKbps) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._previewVideoDeadlineMs) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._researchVideoBitrateKbps) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._researchVideoDeadlineMs) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._minVideoTimeSeconds) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._previewFrameRateFps) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._previewFramesToJump) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._maxUploadChunkRejectedCount) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._ardkDesiredAccuracyMm) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._ardkUpdateDistanceMm) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPendingUploadKilobytes) }() + case 14: try { try decoder.decodeSingularBoolField(value: &_storage._enableSponsorPoiScan) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._minDiskSpaceNeededMb) }() + case 16: try { try decoder.decodeSingularBoolField(value: &_storage._scanValidationEnabled) }() + case 17: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationStartDelayS) }() + case 18: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationLumensMinThreshold) }() + case 19: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationLumensSmoothingFactor) }() + case 20: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationAveragePixelThreshold) }() + case 21: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationAveragePixelSmoothingFactor) }() + case 22: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationSpeedMinThresholdMperS) }() + case 23: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationSpeedMaxThresholdMperS) }() + case 24: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationSpeedSmoothingFactor) }() + case 25: try { try decoder.decodeSingularFloatField(value: &_storage._scanValidationMaxWarningTimeS) }() + case 26: try { try decoder.decodeSingularBoolField(value: &_storage._arRecorderV2Enabled) }() default: break } } @@ -168076,79 +172317,119 @@ extension AwardedGymBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen public func traverse(visitor: inout V) throws { try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._fortID.isEmpty { - try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 1) + if _storage._minHoursBetweenPrompt != 0 { + try visitor.visitSingularInt32Field(value: _storage._minHoursBetweenPrompt, fieldNumber: 1) } - if _storage._gymBadgeType != .gymBadgeUnset { - try visitor.visitSingularEnumField(value: _storage._gymBadgeType, fieldNumber: 2) + if _storage._maxVideoTimeSeconds != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxVideoTimeSeconds, fieldNumber: 2) } - if _storage._score != 0 { - try visitor.visitSingularUInt32Field(value: _storage._score, fieldNumber: 3) + if _storage._previewVideoBitrateKbps != 0 { + try visitor.visitSingularInt32Field(value: _storage._previewVideoBitrateKbps, fieldNumber: 3) } - try { if let v = _storage._gymBadgeStats { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if _storage._lastUpdateTimestampMs != 0 { - try visitor.visitSingularUInt64Field(value: _storage._lastUpdateTimestampMs, fieldNumber: 5) + if _storage._previewVideoDeadlineMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._previewVideoDeadlineMs, fieldNumber: 4) } - if !_storage._name.isEmpty { - try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 6) + if _storage._researchVideoBitrateKbps != 0 { + try visitor.visitSingularInt32Field(value: _storage._researchVideoBitrateKbps, fieldNumber: 5) } - if !_storage._imageURL.isEmpty { - try visitor.visitSingularStringField(value: _storage._imageURL, fieldNumber: 7) + if _storage._researchVideoDeadlineMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._researchVideoDeadlineMs, fieldNumber: 6) } - if !_storage._description_p.isEmpty { - try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 8) + if _storage._minVideoTimeSeconds != 0 { + try visitor.visitSingularInt32Field(value: _storage._minVideoTimeSeconds, fieldNumber: 7) } - if _storage._latitude != 0 { - try visitor.visitSingularDoubleField(value: _storage._latitude, fieldNumber: 9) + if _storage._previewFrameRateFps != 0 { + try visitor.visitSingularInt32Field(value: _storage._previewFrameRateFps, fieldNumber: 8) } - if _storage._longitude != 0 { - try visitor.visitSingularDoubleField(value: _storage._longitude, fieldNumber: 10) + if _storage._previewFramesToJump != 0 { + try visitor.visitSingularInt32Field(value: _storage._previewFramesToJump, fieldNumber: 9) } - if _storage._lastCheckTimestampMs != 0 { - try visitor.visitSingularUInt64Field(value: _storage._lastCheckTimestampMs, fieldNumber: 11) + if _storage._maxUploadChunkRejectedCount != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxUploadChunkRejectedCount, fieldNumber: 10) } - if _storage._earnedPoints != 0 { - try visitor.visitSingularUInt32Field(value: _storage._earnedPoints, fieldNumber: 12) + if _storage._ardkDesiredAccuracyMm != 0 { + try visitor.visitSingularInt32Field(value: _storage._ardkDesiredAccuracyMm, fieldNumber: 11) } - if _storage._progress != 0 { - try visitor.visitSingularFloatField(value: _storage._progress, fieldNumber: 13) + if _storage._ardkUpdateDistanceMm != 0 { + try visitor.visitSingularInt32Field(value: _storage._ardkUpdateDistanceMm, fieldNumber: 12) } - if _storage._levelUp != false { - try visitor.visitSingularBoolField(value: _storage._levelUp, fieldNumber: 14) + if _storage._maxPendingUploadKilobytes != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxPendingUploadKilobytes, fieldNumber: 13) + } + if _storage._enableSponsorPoiScan != false { + try visitor.visitSingularBoolField(value: _storage._enableSponsorPoiScan, fieldNumber: 14) + } + if _storage._minDiskSpaceNeededMb != 0 { + try visitor.visitSingularInt32Field(value: _storage._minDiskSpaceNeededMb, fieldNumber: 15) + } + if _storage._scanValidationEnabled != false { + try visitor.visitSingularBoolField(value: _storage._scanValidationEnabled, fieldNumber: 16) + } + if _storage._scanValidationStartDelayS != 0 { + try visitor.visitSingularFloatField(value: _storage._scanValidationStartDelayS, fieldNumber: 17) + } + if _storage._scanValidationLumensMinThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._scanValidationLumensMinThreshold, fieldNumber: 18) + } + if _storage._scanValidationLumensSmoothingFactor != 0 { + try visitor.visitSingularFloatField(value: _storage._scanValidationLumensSmoothingFactor, fieldNumber: 19) + } + if _storage._scanValidationAveragePixelThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._scanValidationAveragePixelThreshold, fieldNumber: 20) + } + if _storage._scanValidationAveragePixelSmoothingFactor != 0 { + try visitor.visitSingularFloatField(value: _storage._scanValidationAveragePixelSmoothingFactor, fieldNumber: 21) + } + if _storage._scanValidationSpeedMinThresholdMperS != 0 { + try visitor.visitSingularFloatField(value: _storage._scanValidationSpeedMinThresholdMperS, fieldNumber: 22) + } + if _storage._scanValidationSpeedMaxThresholdMperS != 0 { + try visitor.visitSingularFloatField(value: _storage._scanValidationSpeedMaxThresholdMperS, fieldNumber: 23) + } + if _storage._scanValidationSpeedSmoothingFactor != 0 { + try visitor.visitSingularFloatField(value: _storage._scanValidationSpeedSmoothingFactor, fieldNumber: 24) + } + if _storage._scanValidationMaxWarningTimeS != 0 { + try visitor.visitSingularFloatField(value: _storage._scanValidationMaxWarningTimeS, fieldNumber: 25) + } + if _storage._arRecorderV2Enabled != false { + try visitor.visitSingularBoolField(value: _storage._arRecorderV2Enabled, fieldNumber: 26) } - try { if let v = _storage._raids { - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AwardedGymBadge, rhs: AwardedGymBadge) -> Bool { + public static func ==(lhs: ArMappingSettingsProto, rhs: ArMappingSettingsProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._fortID != rhs_storage._fortID {return false} - if _storage._gymBadgeType != rhs_storage._gymBadgeType {return false} - if _storage._score != rhs_storage._score {return false} - if _storage._gymBadgeStats != rhs_storage._gymBadgeStats {return false} - if _storage._lastUpdateTimestampMs != rhs_storage._lastUpdateTimestampMs {return false} - if _storage._name != rhs_storage._name {return false} - if _storage._imageURL != rhs_storage._imageURL {return false} - if _storage._description_p != rhs_storage._description_p {return false} - if _storage._latitude != rhs_storage._latitude {return false} - if _storage._longitude != rhs_storage._longitude {return false} - if _storage._lastCheckTimestampMs != rhs_storage._lastCheckTimestampMs {return false} - if _storage._earnedPoints != rhs_storage._earnedPoints {return false} - if _storage._progress != rhs_storage._progress {return false} - if _storage._levelUp != rhs_storage._levelUp {return false} - if _storage._raids != rhs_storage._raids {return false} + if _storage._minHoursBetweenPrompt != rhs_storage._minHoursBetweenPrompt {return false} + if _storage._maxVideoTimeSeconds != rhs_storage._maxVideoTimeSeconds {return false} + if _storage._previewVideoBitrateKbps != rhs_storage._previewVideoBitrateKbps {return false} + if _storage._previewVideoDeadlineMs != rhs_storage._previewVideoDeadlineMs {return false} + if _storage._researchVideoBitrateKbps != rhs_storage._researchVideoBitrateKbps {return false} + if _storage._researchVideoDeadlineMs != rhs_storage._researchVideoDeadlineMs {return false} + if _storage._minVideoTimeSeconds != rhs_storage._minVideoTimeSeconds {return false} + if _storage._previewFrameRateFps != rhs_storage._previewFrameRateFps {return false} + if _storage._previewFramesToJump != rhs_storage._previewFramesToJump {return false} + if _storage._maxUploadChunkRejectedCount != rhs_storage._maxUploadChunkRejectedCount {return false} + if _storage._ardkDesiredAccuracyMm != rhs_storage._ardkDesiredAccuracyMm {return false} + if _storage._ardkUpdateDistanceMm != rhs_storage._ardkUpdateDistanceMm {return false} + if _storage._maxPendingUploadKilobytes != rhs_storage._maxPendingUploadKilobytes {return false} + if _storage._enableSponsorPoiScan != rhs_storage._enableSponsorPoiScan {return false} + if _storage._minDiskSpaceNeededMb != rhs_storage._minDiskSpaceNeededMb {return false} + if _storage._scanValidationEnabled != rhs_storage._scanValidationEnabled {return false} + if _storage._scanValidationStartDelayS != rhs_storage._scanValidationStartDelayS {return false} + if _storage._scanValidationLumensMinThreshold != rhs_storage._scanValidationLumensMinThreshold {return false} + if _storage._scanValidationLumensSmoothingFactor != rhs_storage._scanValidationLumensSmoothingFactor {return false} + if _storage._scanValidationAveragePixelThreshold != rhs_storage._scanValidationAveragePixelThreshold {return false} + if _storage._scanValidationAveragePixelSmoothingFactor != rhs_storage._scanValidationAveragePixelSmoothingFactor {return false} + if _storage._scanValidationSpeedMinThresholdMperS != rhs_storage._scanValidationSpeedMinThresholdMperS {return false} + if _storage._scanValidationSpeedMaxThresholdMperS != rhs_storage._scanValidationSpeedMaxThresholdMperS {return false} + if _storage._scanValidationSpeedSmoothingFactor != rhs_storage._scanValidationSpeedSmoothingFactor {return false} + if _storage._scanValidationMaxWarningTimeS != rhs_storage._scanValidationMaxWarningTimeS {return false} + if _storage._arRecorderV2Enabled != rhs_storage._arRecorderV2Enabled {return false} return true } if !storagesAreEqual {return false} @@ -168158,84 +172439,236 @@ extension AwardedGymBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen } } -extension AwardedRouteBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AwardedRouteBadge" +extension ArMappingTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ArMappingTelemetryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "route_id"), - 2: .standard(proto: "route_type"), - 3: .standard(proto: "num_completions"), - 4: .standard(proto: "last_played_time"), - 5: .standard(proto: "unique_route_stamp"), - 6: .standard(proto: "route_name"), - 7: .standard(proto: "route_description"), - 8: .standard(proto: "route_creator_codename"), - 9: .standard(proto: "route_image_url"), - 10: .standard(proto: "route_duration_seconds"), - 11: .standard(proto: "last_played_waypoints"), - 12: .standard(proto: "ob_int64_1"), - 13: .standard(proto: "weather_condition"), - 14: .standard(proto: "route_badge_type"), - 15: .standard(proto: "ob_lat"), - 16: .standard(proto: "ob_lng"), - 17: .standard(proto: "ob_int64_2"), - 18: .standard(proto: "badge_level"), - 19: .standard(proto: "ob_bool"), - 20: .standard(proto: "ob_bool_1"), - 21: .standard(proto: "ob_bool_2"), - 22: .standard(proto: "ob_shared_route"), + 1: .standard(proto: "ar_mapping_telemetry_id"), + 2: .same(proto: "source"), + 3: .standard(proto: "recording_length_seconds"), + 4: .standard(proto: "time_elapsed_seconds"), + 5: .standard(proto: "percent_encoded"), + 6: .standard(proto: "data_size_bytes"), + 7: .standard(proto: "validation_failure_reason"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.arMappingTelemetryID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.source) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.recordingLengthSeconds) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.timeElapsedSeconds) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.percentEncoded) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.dataSizeBytes) }() + case 7: try { try decoder.decodeSingularEnumField(value: &self.validationFailureReason) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.arMappingTelemetryID != .unknown { + try visitor.visitSingularEnumField(value: self.arMappingTelemetryID, fieldNumber: 1) + } + if self.source != .unknownEntry { + try visitor.visitSingularEnumField(value: self.source, fieldNumber: 2) + } + if self.recordingLengthSeconds != 0 { + try visitor.visitSingularFloatField(value: self.recordingLengthSeconds, fieldNumber: 3) + } + if self.timeElapsedSeconds != 0 { + try visitor.visitSingularFloatField(value: self.timeElapsedSeconds, fieldNumber: 4) + } + if self.percentEncoded != 0 { + try visitor.visitSingularFloatField(value: self.percentEncoded, fieldNumber: 5) + } + if self.dataSizeBytes != 0 { + try visitor.visitSingularInt64Field(value: self.dataSizeBytes, fieldNumber: 6) + } + if self.validationFailureReason != .unknownReason { + try visitor.visitSingularEnumField(value: self.validationFailureReason, fieldNumber: 7) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ArMappingTelemetryProto, rhs: ArMappingTelemetryProto) -> Bool { + if lhs.arMappingTelemetryID != rhs.arMappingTelemetryID {return false} + if lhs.source != rhs.source {return false} + if lhs.recordingLengthSeconds != rhs.recordingLengthSeconds {return false} + if lhs.timeElapsedSeconds != rhs.timeElapsedSeconds {return false} + if lhs.percentEncoded != rhs.percentEncoded {return false} + if lhs.dataSizeBytes != rhs.dataSizeBytes {return false} + if lhs.validationFailureReason != rhs.validationFailureReason {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ArMappingTelemetryProto.ArMappingEntryPoint: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_ENTRY"), + 1: .same(proto: "POI_EDIT_MENU"), + 2: .same(proto: "POI_EDIT_TITLE"), + 3: .same(proto: "POI_EDIT_DESCRIPTION"), + 4: .same(proto: "POI_ADD_PHOTO"), + 5: .same(proto: "POI_EDIT_LOCATION"), + 6: .same(proto: "POI_NOMINATION"), + 7: .same(proto: "POI_FULLSCREEN_INSPECTION"), + 8: .same(proto: "GEOTARGETED_QUESTS"), + ] +} + +extension ArMappingTelemetryProto.ArMappingEventId: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "ENTER_STATE"), + 2: .same(proto: "OPT_IN_ACCEPT"), + 3: .same(proto: "OPT_IN_DENY"), + 4: .same(proto: "OPT_IN_SETTINGS"), + 5: .same(proto: "OPT_OUT_SETTINGS"), + 6: .same(proto: "EXIT_FROM_RECORDING"), + 7: .same(proto: "START_RECORDING"), + 8: .same(proto: "STOP_RECORDING"), + 9: .same(proto: "CANCEL_ENCODING"), + 10: .same(proto: "UPLOAD_NOW"), + 11: .same(proto: "UPLOAD_LATER"), + 12: .same(proto: "CANCEL_UPLOAD"), + 13: .same(proto: "START_UPLOAD_SETTINGS"), + 14: .same(proto: "UPLOAD_SUCCESS"), + 15: .same(proto: "OPT_IN_LEARN_MORE"), + 16: .same(proto: "EXIT_FROM_PREVIEW"), + 17: .same(proto: "SUBMIT_POI_AR_VIDEO_METADATA_FAIL"), + 18: .same(proto: "UPLOAD_FAILURE"), + 19: .same(proto: "UPLOAD_LATER_WIFI_PROMPT"), + 20: .same(proto: "CLEAR_SCANS"), + 21: .same(proto: "OPEN_INFO_PANEL"), + 22: .same(proto: "RESCAN_FROM_PREVIEW"), + 23: .same(proto: "SCAN_VALIDATION_FAILURE"), + ] +} + +extension ArMappingTelemetryProto.ArMappingValidationFailureReason: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_REASON"), + 1: .same(proto: "TOO_FAST"), + 2: .same(proto: "TOO_SLOW"), + 3: .same(proto: "TOO_DARK"), + ] +} + +extension ArPhotoGlobalSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ArPhotoGlobalSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "min_player_level"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.minPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ArPhotoGlobalSettings, rhs: ArPhotoGlobalSettings) -> Bool { + if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ArPhotoSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ArPhotoSessionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "ar_type"), + 2: .standard(proto: "furthest_step_completed"), + 3: .standard(proto: "num_photos_taken"), + 4: .standard(proto: "num_photos_shared"), + 5: .standard(proto: "num_photos_taken_occlusions"), + 6: .standard(proto: "num_occlusions_enabled"), + 7: .standard(proto: "num_occlusions_disabled"), + 8: .standard(proto: "ar_context"), + 9: .standard(proto: "session_length"), + 10: .standard(proto: "session_length_occlusions"), + 11: .standard(proto: "num_photos_shared_occlusions"), + 12: .standard(proto: "model_url"), + 13: .standard(proto: "ardk_version"), + 14: .standard(proto: "average_framerate"), + 15: .standard(proto: "average_battery_per_min"), + 16: .standard(proto: "average_cpu_usage"), + 17: .standard(proto: "average_gpu_usage"), + 18: .standard(proto: "framerate_samples"), + 19: .standard(proto: "battery_samples"), + 20: .standard(proto: "processor_samples"), + 21: .standard(proto: "session_start_to_plane_detection_ms"), + 22: .standard(proto: "plane_detection_to_user_interaction_ms"), ] fileprivate class _StorageClass { - var _routeID: String = String() - var _routeType: RouteType = .unset - var _numCompletions: Int32 = 0 - var _lastPlayedTime: Int64 = 0 - var _uniqueRouteStamp: [RouteStamp] = [] - var _routeName: String = String() - var _routeDescription: String = String() - var _routeCreatorCodename: String = String() - var _routeImageURL: String = String() - var _routeDurationSeconds: Int64 = 0 - var _lastPlayedWaypoints: [AwardedRouteBadge.RouteBadgeWaypoint] = [] - var _obInt641: Int64 = 0 - var _weatherCondition: GameplayWeatherProto.WeatherCondition = .none - var _routeBadgeType: AwardedRouteBadge.RouteBadgeType = .routeBadgeUnset - var _obLat: Double = 0 - var _obLng: Double = 0 - var _obInt642: Int64 = 0 - var _badgeLevel: RouteBadgeLevel.BadgeLevel = .routeBadgeUnset - var _obBool: Bool = false - var _obBool1: Bool = false - var _obBool2: Bool = false - var _obSharedRoute: SharedRouteProto? = nil + var _arType: ArPhotoSessionProto.ArType = .unset + var _furthestStepCompleted: ArPhotoSessionProto.Step = .unknown + var _numPhotosTaken: Int32 = 0 + var _numPhotosShared: Int32 = 0 + var _numPhotosTakenOcclusions: Int32 = 0 + var _numOcclusionsEnabled: Int32 = 0 + var _numOcclusionsDisabled: Int32 = 0 + var _arContext: ArPhotoSessionProto.ArContext = .none + var _sessionLength: Int64 = 0 + var _sessionLengthOcclusions: Int64 = 0 + var _numPhotosSharedOcclusions: Int32 = 0 + var _modelURL: String = String() + var _ardkVersion: String = String() + var _averageFramerate: Int32 = 0 + var _averageBatteryPerMin: Float = 0 + var _averageCpuUsage: Float = 0 + var _averageGpuUsage: Float = 0 + var _framerateSamples: [ArPhotoSessionProto.FramerateSample] = [] + var _batterySamples: [ArPhotoSessionProto.BatterySample] = [] + var _processorSamples: [ArPhotoSessionProto.ProcessorSample] = [] + var _sessionStartToPlaneDetectionMs: Int32 = 0 + var _planeDetectionToUserInteractionMs: Int32 = 0 static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _routeID = source._routeID - _routeType = source._routeType - _numCompletions = source._numCompletions - _lastPlayedTime = source._lastPlayedTime - _uniqueRouteStamp = source._uniqueRouteStamp - _routeName = source._routeName - _routeDescription = source._routeDescription - _routeCreatorCodename = source._routeCreatorCodename - _routeImageURL = source._routeImageURL - _routeDurationSeconds = source._routeDurationSeconds - _lastPlayedWaypoints = source._lastPlayedWaypoints - _obInt641 = source._obInt641 - _weatherCondition = source._weatherCondition - _routeBadgeType = source._routeBadgeType - _obLat = source._obLat - _obLng = source._obLng - _obInt642 = source._obInt642 - _badgeLevel = source._badgeLevel - _obBool = source._obBool - _obBool1 = source._obBool1 - _obBool2 = source._obBool2 - _obSharedRoute = source._obSharedRoute + _arType = source._arType + _furthestStepCompleted = source._furthestStepCompleted + _numPhotosTaken = source._numPhotosTaken + _numPhotosShared = source._numPhotosShared + _numPhotosTakenOcclusions = source._numPhotosTakenOcclusions + _numOcclusionsEnabled = source._numOcclusionsEnabled + _numOcclusionsDisabled = source._numOcclusionsDisabled + _arContext = source._arContext + _sessionLength = source._sessionLength + _sessionLengthOcclusions = source._sessionLengthOcclusions + _numPhotosSharedOcclusions = source._numPhotosSharedOcclusions + _modelURL = source._modelURL + _ardkVersion = source._ardkVersion + _averageFramerate = source._averageFramerate + _averageBatteryPerMin = source._averageBatteryPerMin + _averageCpuUsage = source._averageCpuUsage + _averageGpuUsage = source._averageGpuUsage + _framerateSamples = source._framerateSamples + _batterySamples = source._batterySamples + _processorSamples = source._processorSamples + _sessionStartToPlaneDetectionMs = source._sessionStartToPlaneDetectionMs + _planeDetectionToUserInteractionMs = source._planeDetectionToUserInteractionMs } } @@ -168254,28 +172687,28 @@ extension AwardedRouteBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._routeID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._routeType) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._numCompletions) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._lastPlayedTime) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._uniqueRouteStamp) }() - case 6: try { try decoder.decodeSingularStringField(value: &_storage._routeName) }() - case 7: try { try decoder.decodeSingularStringField(value: &_storage._routeDescription) }() - case 8: try { try decoder.decodeSingularStringField(value: &_storage._routeCreatorCodename) }() - case 9: try { try decoder.decodeSingularStringField(value: &_storage._routeImageURL) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._routeDurationSeconds) }() - case 11: try { try decoder.decodeRepeatedMessageField(value: &_storage._lastPlayedWaypoints) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt641) }() - case 13: try { try decoder.decodeSingularEnumField(value: &_storage._weatherCondition) }() - case 14: try { try decoder.decodeSingularEnumField(value: &_storage._routeBadgeType) }() - case 15: try { try decoder.decodeSingularDoubleField(value: &_storage._obLat) }() - case 16: try { try decoder.decodeSingularDoubleField(value: &_storage._obLng) }() - case 17: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt642) }() - case 18: try { try decoder.decodeSingularEnumField(value: &_storage._badgeLevel) }() - case 19: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 20: try { try decoder.decodeSingularBoolField(value: &_storage._obBool1) }() - case 21: try { try decoder.decodeSingularBoolField(value: &_storage._obBool2) }() - case 22: try { try decoder.decodeSingularMessageField(value: &_storage._obSharedRoute) }() + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._arType) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._furthestStepCompleted) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosTaken) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosShared) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosTakenOcclusions) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._numOcclusionsEnabled) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._numOcclusionsDisabled) }() + case 8: try { try decoder.decodeSingularEnumField(value: &_storage._arContext) }() + case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._sessionLength) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._sessionLengthOcclusions) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._numPhotosSharedOcclusions) }() + case 12: try { try decoder.decodeSingularStringField(value: &_storage._modelURL) }() + case 13: try { try decoder.decodeSingularStringField(value: &_storage._ardkVersion) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._averageFramerate) }() + case 15: try { try decoder.decodeSingularFloatField(value: &_storage._averageBatteryPerMin) }() + case 16: try { try decoder.decodeSingularFloatField(value: &_storage._averageCpuUsage) }() + case 17: try { try decoder.decodeSingularFloatField(value: &_storage._averageGpuUsage) }() + case 18: try { try decoder.decodeRepeatedMessageField(value: &_storage._framerateSamples) }() + case 19: try { try decoder.decodeRepeatedMessageField(value: &_storage._batterySamples) }() + case 20: try { try decoder.decodeRepeatedMessageField(value: &_storage._processorSamples) }() + case 21: try { try decoder.decodeSingularInt32Field(value: &_storage._sessionStartToPlaneDetectionMs) }() + case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._planeDetectionToUserInteractionMs) }() default: break } } @@ -168284,107 +172717,103 @@ extension AwardedRouteBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem public func traverse(visitor: inout V) throws { try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._routeID.isEmpty { - try visitor.visitSingularStringField(value: _storage._routeID, fieldNumber: 1) + if _storage._arType != .unset { + try visitor.visitSingularEnumField(value: _storage._arType, fieldNumber: 1) } - if _storage._routeType != .unset { - try visitor.visitSingularEnumField(value: _storage._routeType, fieldNumber: 2) + if _storage._furthestStepCompleted != .unknown { + try visitor.visitSingularEnumField(value: _storage._furthestStepCompleted, fieldNumber: 2) } - if _storage._numCompletions != 0 { - try visitor.visitSingularInt32Field(value: _storage._numCompletions, fieldNumber: 3) + if _storage._numPhotosTaken != 0 { + try visitor.visitSingularInt32Field(value: _storage._numPhotosTaken, fieldNumber: 3) } - if _storage._lastPlayedTime != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastPlayedTime, fieldNumber: 4) + if _storage._numPhotosShared != 0 { + try visitor.visitSingularInt32Field(value: _storage._numPhotosShared, fieldNumber: 4) } - if !_storage._uniqueRouteStamp.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._uniqueRouteStamp, fieldNumber: 5) + if _storage._numPhotosTakenOcclusions != 0 { + try visitor.visitSingularInt32Field(value: _storage._numPhotosTakenOcclusions, fieldNumber: 5) } - if !_storage._routeName.isEmpty { - try visitor.visitSingularStringField(value: _storage._routeName, fieldNumber: 6) + if _storage._numOcclusionsEnabled != 0 { + try visitor.visitSingularInt32Field(value: _storage._numOcclusionsEnabled, fieldNumber: 6) } - if !_storage._routeDescription.isEmpty { - try visitor.visitSingularStringField(value: _storage._routeDescription, fieldNumber: 7) + if _storage._numOcclusionsDisabled != 0 { + try visitor.visitSingularInt32Field(value: _storage._numOcclusionsDisabled, fieldNumber: 7) } - if !_storage._routeCreatorCodename.isEmpty { - try visitor.visitSingularStringField(value: _storage._routeCreatorCodename, fieldNumber: 8) + if _storage._arContext != .none { + try visitor.visitSingularEnumField(value: _storage._arContext, fieldNumber: 8) } - if !_storage._routeImageURL.isEmpty { - try visitor.visitSingularStringField(value: _storage._routeImageURL, fieldNumber: 9) + if _storage._sessionLength != 0 { + try visitor.visitSingularInt64Field(value: _storage._sessionLength, fieldNumber: 9) } - if _storage._routeDurationSeconds != 0 { - try visitor.visitSingularInt64Field(value: _storage._routeDurationSeconds, fieldNumber: 10) + if _storage._sessionLengthOcclusions != 0 { + try visitor.visitSingularInt64Field(value: _storage._sessionLengthOcclusions, fieldNumber: 10) } - if !_storage._lastPlayedWaypoints.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._lastPlayedWaypoints, fieldNumber: 11) + if _storage._numPhotosSharedOcclusions != 0 { + try visitor.visitSingularInt32Field(value: _storage._numPhotosSharedOcclusions, fieldNumber: 11) + } + if !_storage._modelURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._modelURL, fieldNumber: 12) } - if _storage._obInt641 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt641, fieldNumber: 12) + if !_storage._ardkVersion.isEmpty { + try visitor.visitSingularStringField(value: _storage._ardkVersion, fieldNumber: 13) } - if _storage._weatherCondition != .none { - try visitor.visitSingularEnumField(value: _storage._weatherCondition, fieldNumber: 13) + if _storage._averageFramerate != 0 { + try visitor.visitSingularInt32Field(value: _storage._averageFramerate, fieldNumber: 14) } - if _storage._routeBadgeType != .routeBadgeUnset { - try visitor.visitSingularEnumField(value: _storage._routeBadgeType, fieldNumber: 14) + if _storage._averageBatteryPerMin != 0 { + try visitor.visitSingularFloatField(value: _storage._averageBatteryPerMin, fieldNumber: 15) } - if _storage._obLat != 0 { - try visitor.visitSingularDoubleField(value: _storage._obLat, fieldNumber: 15) + if _storage._averageCpuUsage != 0 { + try visitor.visitSingularFloatField(value: _storage._averageCpuUsage, fieldNumber: 16) } - if _storage._obLng != 0 { - try visitor.visitSingularDoubleField(value: _storage._obLng, fieldNumber: 16) + if _storage._averageGpuUsage != 0 { + try visitor.visitSingularFloatField(value: _storage._averageGpuUsage, fieldNumber: 17) } - if _storage._obInt642 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt642, fieldNumber: 17) + if !_storage._framerateSamples.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._framerateSamples, fieldNumber: 18) } - if _storage._badgeLevel != .routeBadgeUnset { - try visitor.visitSingularEnumField(value: _storage._badgeLevel, fieldNumber: 18) + if !_storage._batterySamples.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._batterySamples, fieldNumber: 19) } - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 19) + if !_storage._processorSamples.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._processorSamples, fieldNumber: 20) } - if _storage._obBool1 != false { - try visitor.visitSingularBoolField(value: _storage._obBool1, fieldNumber: 20) + if _storage._sessionStartToPlaneDetectionMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._sessionStartToPlaneDetectionMs, fieldNumber: 21) } - if _storage._obBool2 != false { - try visitor.visitSingularBoolField(value: _storage._obBool2, fieldNumber: 21) + if _storage._planeDetectionToUserInteractionMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._planeDetectionToUserInteractionMs, fieldNumber: 22) } - try { if let v = _storage._obSharedRoute { - try visitor.visitSingularMessageField(value: v, fieldNumber: 22) - } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AwardedRouteBadge, rhs: AwardedRouteBadge) -> Bool { + public static func ==(lhs: ArPhotoSessionProto, rhs: ArPhotoSessionProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._routeID != rhs_storage._routeID {return false} - if _storage._routeType != rhs_storage._routeType {return false} - if _storage._numCompletions != rhs_storage._numCompletions {return false} - if _storage._lastPlayedTime != rhs_storage._lastPlayedTime {return false} - if _storage._uniqueRouteStamp != rhs_storage._uniqueRouteStamp {return false} - if _storage._routeName != rhs_storage._routeName {return false} - if _storage._routeDescription != rhs_storage._routeDescription {return false} - if _storage._routeCreatorCodename != rhs_storage._routeCreatorCodename {return false} - if _storage._routeImageURL != rhs_storage._routeImageURL {return false} - if _storage._routeDurationSeconds != rhs_storage._routeDurationSeconds {return false} - if _storage._lastPlayedWaypoints != rhs_storage._lastPlayedWaypoints {return false} - if _storage._obInt641 != rhs_storage._obInt641 {return false} - if _storage._weatherCondition != rhs_storage._weatherCondition {return false} - if _storage._routeBadgeType != rhs_storage._routeBadgeType {return false} - if _storage._obLat != rhs_storage._obLat {return false} - if _storage._obLng != rhs_storage._obLng {return false} - if _storage._obInt642 != rhs_storage._obInt642 {return false} - if _storage._badgeLevel != rhs_storage._badgeLevel {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obBool1 != rhs_storage._obBool1 {return false} - if _storage._obBool2 != rhs_storage._obBool2 {return false} - if _storage._obSharedRoute != rhs_storage._obSharedRoute {return false} + if _storage._arType != rhs_storage._arType {return false} + if _storage._furthestStepCompleted != rhs_storage._furthestStepCompleted {return false} + if _storage._numPhotosTaken != rhs_storage._numPhotosTaken {return false} + if _storage._numPhotosShared != rhs_storage._numPhotosShared {return false} + if _storage._numPhotosTakenOcclusions != rhs_storage._numPhotosTakenOcclusions {return false} + if _storage._numOcclusionsEnabled != rhs_storage._numOcclusionsEnabled {return false} + if _storage._numOcclusionsDisabled != rhs_storage._numOcclusionsDisabled {return false} + if _storage._arContext != rhs_storage._arContext {return false} + if _storage._sessionLength != rhs_storage._sessionLength {return false} + if _storage._sessionLengthOcclusions != rhs_storage._sessionLengthOcclusions {return false} + if _storage._numPhotosSharedOcclusions != rhs_storage._numPhotosSharedOcclusions {return false} + if _storage._modelURL != rhs_storage._modelURL {return false} + if _storage._ardkVersion != rhs_storage._ardkVersion {return false} + if _storage._averageFramerate != rhs_storage._averageFramerate {return false} + if _storage._averageBatteryPerMin != rhs_storage._averageBatteryPerMin {return false} + if _storage._averageCpuUsage != rhs_storage._averageCpuUsage {return false} + if _storage._averageGpuUsage != rhs_storage._averageGpuUsage {return false} + if _storage._framerateSamples != rhs_storage._framerateSamples {return false} + if _storage._batterySamples != rhs_storage._batterySamples {return false} + if _storage._processorSamples != rhs_storage._processorSamples {return false} + if _storage._sessionStartToPlaneDetectionMs != rhs_storage._sessionStartToPlaneDetectionMs {return false} + if _storage._planeDetectionToUserInteractionMs != rhs_storage._planeDetectionToUserInteractionMs {return false} return true } if !storagesAreEqual {return false} @@ -168394,21 +172823,51 @@ extension AwardedRouteBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem } } -extension AwardedRouteBadge.RouteBadgeType: SwiftProtobuf._ProtoNameProviding { +extension ArPhotoSessionProto.ArContext: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ROUTE_BADGE_UNSET"), - 1: .same(proto: "ROUTE_BADGE_BRONZE"), - 2: .same(proto: "ROUTE_BADGE_SILVER"), - 3: .same(proto: "ROUTE_BADGE_GOLD"), + 0: .same(proto: "NONE"), + 1: .same(proto: "AR_ENCOUNTER"), + 2: .same(proto: "AR_SNAPSHOT"), + 3: .same(proto: "SINGLEPLAYER_BUDDY"), + 4: .same(proto: "MULTIPLAYER_BUDDY"), ] } -extension AwardedRouteBadge.RouteBadgeWaypoint: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = AwardedRouteBadge.protoMessageName + ".RouteBadgeWaypoint" +extension ArPhotoSessionProto.ArType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_name"), - 2: .standard(proto: "image_url"), - 3: .standard(proto: "last_earned_stamp"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "PLUS"), + 2: .same(proto: "CLASSIC"), + ] +} + +extension ArPhotoSessionProto.BatteryStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNDETERMINED"), + 1: .same(proto: "CHARGING"), + 2: .same(proto: "DISCHARGING"), + 3: .same(proto: "NOT_CHARGING"), + 4: .same(proto: "FULL"), + ] +} + +extension ArPhotoSessionProto.Step: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "CAMERA_PERMISSION_GRANTED"), + 2: .same(proto: "ARPLUS_PLANE_FOUND"), + 3: .same(proto: "ARPLUS_POKEMON_PLACED"), + 4: .same(proto: "PHOTO_TAKEN"), + 5: .same(proto: "PHOTO_SHARED"), + ] +} + +extension ArPhotoSessionProto.ArConditions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ArPhotoSessionProto.protoMessageName + ".ArConditions" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "timestamp"), + 2: .standard(proto: "occlusions_enabled"), + 3: .standard(proto: "current_ar_step"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -168417,48 +172876,42 @@ extension AwardedRouteBadge.RouteBadgeWaypoint: SwiftProtobuf.Message, SwiftProt // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortName) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._lastEarnedStamp) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestamp) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.occlusionsEnabled) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.currentArStep) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.fortName.isEmpty { - try visitor.visitSingularStringField(value: self.fortName, fieldNumber: 1) + if self.timestamp != 0 { + try visitor.visitSingularInt64Field(value: self.timestamp, fieldNumber: 1) } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 2) + if self.occlusionsEnabled != false { + try visitor.visitSingularBoolField(value: self.occlusionsEnabled, fieldNumber: 2) + } + if self.currentArStep != .unknown { + try visitor.visitSingularEnumField(value: self.currentArStep, fieldNumber: 3) } - try { if let v = self._lastEarnedStamp { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AwardedRouteBadge.RouteBadgeWaypoint, rhs: AwardedRouteBadge.RouteBadgeWaypoint) -> Bool { - if lhs.fortName != rhs.fortName {return false} - if lhs.imageURL != rhs.imageURL {return false} - if lhs._lastEarnedStamp != rhs._lastEarnedStamp {return false} + public static func ==(lhs: ArPhotoSessionProto.ArConditions, rhs: ArPhotoSessionProto.ArConditions) -> Bool { + if lhs.timestamp != rhs.timestamp {return false} + if lhs.occlusionsEnabled != rhs.occlusionsEnabled {return false} + if lhs.currentArStep != rhs.currentArStep {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AwardedRouteStamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AwardedRouteStamp" +extension ArPhotoSessionProto.BatterySample: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ArPhotoSessionProto.protoMessageName + ".BatterySample" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "route_stamp"), - 2: .standard(proto: "acquire_time_ms"), - 3: .standard(proto: "route_id"), - 4: .standard(proto: "fort_id"), - 5: .standard(proto: "stamp_id"), + 1: .same(proto: "conditions"), + 2: .standard(proto: "battery_level"), + 3: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -168467,11 +172920,9 @@ extension AwardedRouteStamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._routeStamp) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.acquireTimeMs) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.routeID) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.stampID) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._conditions) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.batteryLevel) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } @@ -168482,39 +172933,32 @@ extension AwardedRouteStamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._routeStamp { + try { if let v = self._conditions { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if self.acquireTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.acquireTimeMs, fieldNumber: 2) - } - if !self.routeID.isEmpty { - try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 3) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 4) + if self.batteryLevel != 0 { + try visitor.visitSingularFloatField(value: self.batteryLevel, fieldNumber: 2) } - if !self.stampID.isEmpty { - try visitor.visitSingularStringField(value: self.stampID, fieldNumber: 5) + if self.status != .undetermined { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AwardedRouteStamp, rhs: AwardedRouteStamp) -> Bool { - if lhs._routeStamp != rhs._routeStamp {return false} - if lhs.acquireTimeMs != rhs.acquireTimeMs {return false} - if lhs.routeID != rhs.routeID {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.stampID != rhs.stampID {return false} + public static func ==(lhs: ArPhotoSessionProto.BatterySample, rhs: ArPhotoSessionProto.BatterySample) -> Bool { + if lhs._conditions != rhs._conditions {return false} + if lhs.batteryLevel != rhs.batteryLevel {return false} + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension AwardedRouteStamps: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".AwardedRouteStamps" +extension ArPhotoSessionProto.FramerateSample: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ArPhotoSessionProto.protoMessageName + ".FramerateSample" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "rewards"), + 1: .same(proto: "conditions"), + 2: .same(proto: "framerate"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -168523,44 +172967,41 @@ extension AwardedRouteStamps: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.rewards) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._conditions) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.framerate) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.rewards.isEmpty { - try visitor.visitRepeatedMessageField(value: self.rewards, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._conditions { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.framerate != 0 { + try visitor.visitSingularInt32Field(value: self.framerate, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: AwardedRouteStamps, rhs: AwardedRouteStamps) -> Bool { - if lhs.rewards != rhs.rewards {return false} + public static func ==(lhs: ArPhotoSessionProto.FramerateSample, rhs: ArPhotoSessionProto.FramerateSample) -> Bool { + if lhs._conditions != rhs._conditions {return false} + if lhs.framerate != rhs.framerate {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BackgroundModeClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BackgroundModeClientSettingsProto" +extension ArPhotoSessionProto.ProcessorSample: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ArPhotoSessionProto.protoMessageName + ".ProcessorSample" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "maximum_sample_age_ms"), - 2: .standard(proto: "accept_manual_fitness_samples"), - 3: .standard(proto: "minimum_location_accuracy_meters"), - 4: .standard(proto: "background_wake_up_interval_minutes"), - 5: .standard(proto: "max_upload_size_in_bytes"), - 6: .standard(proto: "min_enclosing_geofence_radius_m"), - 7: .standard(proto: "background_token_refresh_interval_s"), - 8: .standard(proto: "max_session_duration_m"), - 9: .standard(proto: "min_distance_delta_m"), - 10: .standard(proto: "min_update_interval_s"), - 11: .standard(proto: "min_session_reporting_interval_s"), - 12: .standard(proto: "min_persistent_reporting_interval_s"), - 13: .standard(proto: "enable_progress_request"), - 14: .standard(proto: "enable_foreground_notification"), - 15: .standard(proto: "proximity_settings"), + 1: .same(proto: "conditions"), + 2: .standard(proto: "cpu_usage"), + 3: .standard(proto: "gpu_usage"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -168569,21 +173010,9 @@ extension BackgroundModeClientSettingsProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.maximumSampleAgeMs) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.acceptManualFitnessSamples) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.minimumLocationAccuracyMeters) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.backgroundWakeUpIntervalMinutes) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxUploadSizeInBytes) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.minEnclosingGeofenceRadiusM) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.backgroundTokenRefreshIntervalS) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.maxSessionDurationM) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.minDistanceDeltaM) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &self.minUpdateIntervalS) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &self.minSessionReportingIntervalS) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &self.minPersistentReportingIntervalS) }() - case 13: try { try decoder.decodeSingularBoolField(value: &self.enableProgressRequest) }() - case 14: try { try decoder.decodeSingularBoolField(value: &self.enableForegroundNotification) }() - case 15: try { try decoder.decodeSingularMessageField(value: &self._proximitySettings) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._conditions) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.cpuUsage) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.gpuUsage) }() default: break } } @@ -168594,79 +173023,31 @@ extension BackgroundModeClientSettingsProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.maximumSampleAgeMs != 0 { - try visitor.visitSingularInt64Field(value: self.maximumSampleAgeMs, fieldNumber: 1) - } - if self.acceptManualFitnessSamples != false { - try visitor.visitSingularBoolField(value: self.acceptManualFitnessSamples, fieldNumber: 2) - } - if self.minimumLocationAccuracyMeters != 0 { - try visitor.visitSingularDoubleField(value: self.minimumLocationAccuracyMeters, fieldNumber: 3) - } - if self.backgroundWakeUpIntervalMinutes != 0 { - try visitor.visitSingularInt32Field(value: self.backgroundWakeUpIntervalMinutes, fieldNumber: 4) - } - if self.maxUploadSizeInBytes != 0 { - try visitor.visitSingularInt32Field(value: self.maxUploadSizeInBytes, fieldNumber: 5) - } - if self.minEnclosingGeofenceRadiusM != 0 { - try visitor.visitSingularDoubleField(value: self.minEnclosingGeofenceRadiusM, fieldNumber: 6) - } - if self.backgroundTokenRefreshIntervalS != 0 { - try visitor.visitSingularInt64Field(value: self.backgroundTokenRefreshIntervalS, fieldNumber: 7) - } - if self.maxSessionDurationM != 0 { - try visitor.visitSingularInt32Field(value: self.maxSessionDurationM, fieldNumber: 8) - } - if self.minDistanceDeltaM != 0 { - try visitor.visitSingularInt32Field(value: self.minDistanceDeltaM, fieldNumber: 9) - } - if self.minUpdateIntervalS != 0 { - try visitor.visitSingularInt32Field(value: self.minUpdateIntervalS, fieldNumber: 10) - } - if self.minSessionReportingIntervalS != 0 { - try visitor.visitSingularInt32Field(value: self.minSessionReportingIntervalS, fieldNumber: 11) - } - if self.minPersistentReportingIntervalS != 0 { - try visitor.visitSingularInt32Field(value: self.minPersistentReportingIntervalS, fieldNumber: 12) - } - if self.enableProgressRequest != false { - try visitor.visitSingularBoolField(value: self.enableProgressRequest, fieldNumber: 13) + try { if let v = self._conditions { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.cpuUsage != 0 { + try visitor.visitSingularFloatField(value: self.cpuUsage, fieldNumber: 2) } - if self.enableForegroundNotification != false { - try visitor.visitSingularBoolField(value: self.enableForegroundNotification, fieldNumber: 14) + if self.gpuUsage != 0 { + try visitor.visitSingularFloatField(value: self.gpuUsage, fieldNumber: 3) } - try { if let v = self._proximitySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BackgroundModeClientSettingsProto, rhs: BackgroundModeClientSettingsProto) -> Bool { - if lhs.maximumSampleAgeMs != rhs.maximumSampleAgeMs {return false} - if lhs.acceptManualFitnessSamples != rhs.acceptManualFitnessSamples {return false} - if lhs.minimumLocationAccuracyMeters != rhs.minimumLocationAccuracyMeters {return false} - if lhs.backgroundWakeUpIntervalMinutes != rhs.backgroundWakeUpIntervalMinutes {return false} - if lhs.maxUploadSizeInBytes != rhs.maxUploadSizeInBytes {return false} - if lhs.minEnclosingGeofenceRadiusM != rhs.minEnclosingGeofenceRadiusM {return false} - if lhs.backgroundTokenRefreshIntervalS != rhs.backgroundTokenRefreshIntervalS {return false} - if lhs.maxSessionDurationM != rhs.maxSessionDurationM {return false} - if lhs.minDistanceDeltaM != rhs.minDistanceDeltaM {return false} - if lhs.minUpdateIntervalS != rhs.minUpdateIntervalS {return false} - if lhs.minSessionReportingIntervalS != rhs.minSessionReportingIntervalS {return false} - if lhs.minPersistentReportingIntervalS != rhs.minPersistentReportingIntervalS {return false} - if lhs.enableProgressRequest != rhs.enableProgressRequest {return false} - if lhs.enableForegroundNotification != rhs.enableForegroundNotification {return false} - if lhs._proximitySettings != rhs._proximitySettings {return false} + public static func ==(lhs: ArPhotoSessionProto.ProcessorSample, rhs: ArPhotoSessionProto.ProcessorSample) -> Bool { + if lhs._conditions != rhs._conditions {return false} + if lhs.cpuUsage != rhs.cpuUsage {return false} + if lhs.gpuUsage != rhs.gpuUsage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BackgroundModeClientSettingsProto.ProximitySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = BackgroundModeClientSettingsProto.protoMessageName + ".ProximitySettingsProto" +extension ArSessionStartEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ArSessionStartEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 4: .standard(proto: "maximum_contact_age_ms"), + 99: .standard(proto: "empty_field"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -168675,31 +173056,36 @@ extension BackgroundModeClientSettingsProto.ProximitySettingsProto: SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 4: try { try decoder.decodeSingularInt64Field(value: &self.maximumContactAgeMs) }() + case 99: try { try decoder.decodeSingularBoolField(value: &self.emptyField) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.maximumContactAgeMs != 0 { - try visitor.visitSingularInt64Field(value: self.maximumContactAgeMs, fieldNumber: 4) + if self.emptyField != false { + try visitor.visitSingularBoolField(value: self.emptyField, fieldNumber: 99) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BackgroundModeClientSettingsProto.ProximitySettingsProto, rhs: BackgroundModeClientSettingsProto.ProximitySettingsProto) -> Bool { - if lhs.maximumContactAgeMs != rhs.maximumContactAgeMs {return false} + public static func ==(lhs: ArSessionStartEvent, rhs: ArSessionStartEvent) -> Bool { + if lhs.emptyField != rhs.emptyField {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BackgroundModeGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BackgroundModeGlobalSettingsProto" +extension ArTelemetrySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ArTelemetrySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_player_level_fitness"), - 2: .standard(proto: "service_prompt_timestamp_ms"), + 1: .standard(proto: "measure_battery"), + 2: .standard(proto: "battery_sampling_interval_ms"), + 3: .standard(proto: "measure_processor"), + 4: .standard(proto: "processor_sampling_interval_ms"), + 5: .standard(proto: "measure_framerate"), + 6: .standard(proto: "framerate_sampling_interval_ms"), + 7: .standard(proto: "percentage_sessions_to_sample"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -168708,93 +173094,66 @@ extension BackgroundModeGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.minPlayerLevelFitness) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.servicePromptTimestampMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.measureBattery) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.batterySamplingIntervalMs) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.measureProcessor) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.processorSamplingIntervalMs) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.measureFramerate) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.framerateSamplingIntervalMs) }() + case 7: try { try decoder.decodeSingularFloatField(value: &self.percentageSessionsToSample) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minPlayerLevelFitness != 0 { - try visitor.visitSingularUInt32Field(value: self.minPlayerLevelFitness, fieldNumber: 1) - } - if self.servicePromptTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.servicePromptTimestampMs, fieldNumber: 2) + if self.measureBattery != false { + try visitor.visitSingularBoolField(value: self.measureBattery, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BackgroundModeGlobalSettingsProto, rhs: BackgroundModeGlobalSettingsProto) -> Bool { - if lhs.minPlayerLevelFitness != rhs.minPlayerLevelFitness {return false} - if lhs.servicePromptTimestampMs != rhs.servicePromptTimestampMs {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension BackgroundModeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BackgroundModeSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "weekly_fitness_goal_level1_distance_km"), - 2: .standard(proto: "weekly_fitness_goal_level2_distance_km"), - 3: .standard(proto: "weekly_fitness_goal_level3_distance_km"), - 4: .standard(proto: "weekly_fitness_goal_level4_distance_km"), - 5: .standard(proto: "weekly_fitness_goal_level5_distance_km"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalLevel1DistanceKm) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalLevel2DistanceKm) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalLevel3DistanceKm) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalLevel4DistanceKm) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalLevel5DistanceKm) }() - default: break - } + if self.batterySamplingIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: self.batterySamplingIntervalMs, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - if self.weeklyFitnessGoalLevel1DistanceKm != 0 { - try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalLevel1DistanceKm, fieldNumber: 1) + if self.measureProcessor != false { + try visitor.visitSingularBoolField(value: self.measureProcessor, fieldNumber: 3) } - if self.weeklyFitnessGoalLevel2DistanceKm != 0 { - try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalLevel2DistanceKm, fieldNumber: 2) + if self.processorSamplingIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: self.processorSamplingIntervalMs, fieldNumber: 4) } - if self.weeklyFitnessGoalLevel3DistanceKm != 0 { - try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalLevel3DistanceKm, fieldNumber: 3) + if self.measureFramerate != false { + try visitor.visitSingularBoolField(value: self.measureFramerate, fieldNumber: 5) } - if self.weeklyFitnessGoalLevel4DistanceKm != 0 { - try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalLevel4DistanceKm, fieldNumber: 4) + if self.framerateSamplingIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: self.framerateSamplingIntervalMs, fieldNumber: 6) } - if self.weeklyFitnessGoalLevel5DistanceKm != 0 { - try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalLevel5DistanceKm, fieldNumber: 5) + if self.percentageSessionsToSample != 0 { + try visitor.visitSingularFloatField(value: self.percentageSessionsToSample, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BackgroundModeSettingsProto, rhs: BackgroundModeSettingsProto) -> Bool { - if lhs.weeklyFitnessGoalLevel1DistanceKm != rhs.weeklyFitnessGoalLevel1DistanceKm {return false} - if lhs.weeklyFitnessGoalLevel2DistanceKm != rhs.weeklyFitnessGoalLevel2DistanceKm {return false} - if lhs.weeklyFitnessGoalLevel3DistanceKm != rhs.weeklyFitnessGoalLevel3DistanceKm {return false} - if lhs.weeklyFitnessGoalLevel4DistanceKm != rhs.weeklyFitnessGoalLevel4DistanceKm {return false} - if lhs.weeklyFitnessGoalLevel5DistanceKm != rhs.weeklyFitnessGoalLevel5DistanceKm {return false} + public static func ==(lhs: ArTelemetrySettingsProto, rhs: ArTelemetrySettingsProto) -> Bool { + if lhs.measureBattery != rhs.measureBattery {return false} + if lhs.batterySamplingIntervalMs != rhs.batterySamplingIntervalMs {return false} + if lhs.measureProcessor != rhs.measureProcessor {return false} + if lhs.processorSamplingIntervalMs != rhs.processorSamplingIntervalMs {return false} + if lhs.measureFramerate != rhs.measureFramerate {return false} + if lhs.framerateSamplingIntervalMs != rhs.framerateSamplingIntervalMs {return false} + if lhs.percentageSessionsToSample != rhs.percentageSessionsToSample {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BackgroundToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BackgroundToken" +extension ArdkConfigSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ArdkConfigSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), - 2: .standard(proto: "expiration_time"), - 3: .same(proto: "iv"), + 1: .standard(proto: "orb_vocab_url"), + 2: .standard(proto: "monodpeth_model_url"), + 3: .standard(proto: "monodepth_devices"), + 4: .standard(proto: "monodepth_contexts"), + 5: .standard(proto: "ios_monodepth_model_url"), + 6: .standard(proto: "android_monodepth_model_url"), + 7: .standard(proto: "monodepth_model_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -168803,312 +173162,101 @@ extension BackgroundToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.token) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTime) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.iv) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.orbVocabURL) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.monodpethModelURL) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.monodepthDevices) }() + case 4: try { try decoder.decodeRepeatedEnumField(value: &self.monodepthContexts) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.iosMonodepthModelURL) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.androidMonodepthModelURL) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.monodepthModelURL) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.token.isEmpty { - try visitor.visitSingularBytesField(value: self.token, fieldNumber: 1) - } - if self.expirationTime != 0 { - try visitor.visitSingularInt64Field(value: self.expirationTime, fieldNumber: 2) - } - if !self.iv.isEmpty { - try visitor.visitSingularBytesField(value: self.iv, fieldNumber: 3) + if !self.orbVocabURL.isEmpty { + try visitor.visitSingularStringField(value: self.orbVocabURL, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BackgroundToken, rhs: BackgroundToken) -> Bool { - if lhs.token != rhs.token {return false} - if lhs.expirationTime != rhs.expirationTime {return false} - if lhs.iv != rhs.iv {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension BadgeCaptureReward: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BadgeCaptureReward" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "capture_reward_multiplier"), - 2: .standard(proto: "avatar_template_ids"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.captureRewardMultiplier) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.avatarTemplateIds) }() - default: break - } + if !self.monodpethModelURL.isEmpty { + try visitor.visitSingularStringField(value: self.monodpethModelURL, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - if self.captureRewardMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.captureRewardMultiplier, fieldNumber: 1) + if !self.monodepthDevices.isEmpty { + try visitor.visitRepeatedStringField(value: self.monodepthDevices, fieldNumber: 3) } - if !self.avatarTemplateIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.avatarTemplateIds, fieldNumber: 2) + if !self.monodepthContexts.isEmpty { + try visitor.visitPackedEnumField(value: self.monodepthContexts, fieldNumber: 4) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BadgeCaptureReward, rhs: BadgeCaptureReward) -> Bool { - if lhs.captureRewardMultiplier != rhs.captureRewardMultiplier {return false} - if lhs.avatarTemplateIds != rhs.avatarTemplateIds {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension BadgeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BadgeData" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "mini_collection"), - 3: .standard(proto: "butterfly_collector_data"), - 4: .standard(proto: "contest_data"), - 1: .same(proto: "badge"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.badge) }() - case 2: try { - var v: MiniCollectionBadgeData? - var hadOneofValue = false - if let current = self.data { - hadOneofValue = true - if case .miniCollection(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.data = .miniCollection(v) - } - }() - case 3: try { - var v: ButterflyCollectorBadgeData? - var hadOneofValue = false - if let current = self.data { - hadOneofValue = true - if case .butterflyCollectorData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.data = .butterflyCollectorData(v) - } - }() - case 4: try { - var v: ContestBadgeData? - var hadOneofValue = false - if let current = self.data { - hadOneofValue = true - if case .contestData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.data = .contestData(v) - } - }() - default: break - } + if !self.iosMonodepthModelURL.isEmpty { + try visitor.visitSingularStringField(value: self.iosMonodepthModelURL, fieldNumber: 5) } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.badge != .badgeUnset { - try visitor.visitSingularEnumField(value: self.badge, fieldNumber: 1) + if !self.androidMonodepthModelURL.isEmpty { + try visitor.visitSingularStringField(value: self.androidMonodepthModelURL, fieldNumber: 6) } - switch self.data { - case .miniCollection?: try { - guard case .miniCollection(let v)? = self.data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .butterflyCollectorData?: try { - guard case .butterflyCollectorData(let v)? = self.data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .contestData?: try { - guard case .contestData(let v)? = self.data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case nil: break + if !self.monodepthModelURL.isEmpty { + try visitor.visitSingularStringField(value: self.monodepthModelURL, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BadgeData, rhs: BadgeData) -> Bool { - if lhs.data != rhs.data {return false} - if lhs.badge != rhs.badge {return false} + public static func ==(lhs: ArdkConfigSettingsProto, rhs: ArdkConfigSettingsProto) -> Bool { + if lhs.orbVocabURL != rhs.orbVocabURL {return false} + if lhs.monodpethModelURL != rhs.monodpethModelURL {return false} + if lhs.monodepthDevices != rhs.monodepthDevices {return false} + if lhs.monodepthContexts != rhs.monodepthContexts {return false} + if lhs.iosMonodepthModelURL != rhs.iosMonodepthModelURL {return false} + if lhs.androidMonodepthModelURL != rhs.androidMonodepthModelURL {return false} + if lhs.monodepthModelURL != rhs.monodepthModelURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BadgeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BadgeSettingsProto" +extension ArdkConfigSettingsProto.ArContext: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "badge_type"), - 2: .standard(proto: "badge_rank"), - 3: .same(proto: "targets"), - 4: .standard(proto: "capture_reward"), - 5: .standard(proto: "event_badge"), - 6: .standard(proto: "event_badge_settings"), - 7: .standard(proto: "combat_league_template_id"), - 8: .standard(proto: "use_stat_as_medal_level"), - 9: .standard(proto: "ob_int32"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "AR_ENCOUNTER"), + 2: .same(proto: "AR_SNAPSHOT"), + 3: .same(proto: "SINGLEPLAYER_BUDDY"), + 4: .same(proto: "MULTIPLAYER_BUDDY"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.badgeType) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.badgeRank) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.targets) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.captureReward) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.eventBadge) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._eventBadgeSettings) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.useStatAsMedalLevel) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.badgeType != .badgeUnset { - try visitor.visitSingularEnumField(value: self.badgeType, fieldNumber: 1) - } - if self.badgeRank != 0 { - try visitor.visitSingularInt32Field(value: self.badgeRank, fieldNumber: 2) - } - if !self.targets.isEmpty { - try visitor.visitPackedInt32Field(value: self.targets, fieldNumber: 3) - } - if !self.captureReward.isEmpty { - try visitor.visitRepeatedMessageField(value: self.captureReward, fieldNumber: 4) - } - if self.eventBadge != false { - try visitor.visitSingularBoolField(value: self.eventBadge, fieldNumber: 5) - } - try { if let v = self._eventBadgeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - if !self.combatLeagueTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 7) - } - if self.useStatAsMedalLevel != false { - try visitor.visitSingularBoolField(value: self.useStatAsMedalLevel, fieldNumber: 8) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 9) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BadgeSettingsProto, rhs: BadgeSettingsProto) -> Bool { - if lhs.badgeType != rhs.badgeType {return false} - if lhs.badgeRank != rhs.badgeRank {return false} - if lhs.targets != rhs.targets {return false} - if lhs.captureReward != rhs.captureReward {return false} - if lhs.eventBadge != rhs.eventBadge {return false} - if lhs._eventBadgeSettings != rhs._eventBadgeSettings {return false} - if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} - if lhs.useStatAsMedalLevel != rhs.useStatAsMedalLevel {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension BattleActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleActionProto" +extension ArdkNextTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ArdkNextTelemetryOmniProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "action_start_ms"), - 3: .standard(proto: "duration_ms"), - 5: .standard(proto: "energy_delta"), - 6: .standard(proto: "attacker_index"), - 7: .standard(proto: "target_index"), - 8: .standard(proto: "active_pokemon_id"), - 9: .standard(proto: "joined_player"), - 10: .standard(proto: "battle_results"), - 11: .standard(proto: "damage_window_start_ms"), - 12: .standard(proto: "damage_window_end_ms"), - 13: .standard(proto: "quit_player"), - 14: .standard(proto: "target_pokemon_id"), - 15: .standard(proto: "leveled_up_friends"), - 16: .same(proto: "item"), - 17: .standard(proto: "trainer_ability"), + 1: .standard(proto: "initialization_event"), + 2: .standard(proto: "scan_recorder_start_event"), + 3: .standard(proto: "scan_recorder_stop_event"), + 4: .standard(proto: "scan_sqc_run_event"), + 5: .standard(proto: "scan_sqc_done_event"), + 6: .standard(proto: "scan_error_event"), + 7: .standard(proto: "scan_archive_builder_get_next_chunk_event"), + 8: .standard(proto: "scan_archive_builder_cancel_event"), + 9: .standard(proto: "vps_localization_started_event"), + 10: .standard(proto: "vps_localization_success_event"), + 11: .standard(proto: "vps_session_ended_event"), + 12: .standard(proto: "ar_session_start_event"), + 1000: .standard(proto: "ar_common_metadata"), + 1001: .standard(proto: "developer_key"), + 1002: .standard(proto: "timestamp_ms"), ] fileprivate class _StorageClass { - var _type: BattleActionProto.ActionType = .unset - var _actionStartMs: Int64 = 0 - var _durationMs: Int32 = 0 - var _energyDelta: Int32 = 0 - var _attackerIndex: Int32 = 0 - var _targetIndex: Int32 = 0 - var _activePokemonID: UInt64 = 0 - var _joinedPlayer: BattleParticipantProto? = nil - var _battleResults: BattleResultsProto? = nil - var _damageWindowStartMs: Int64 = 0 - var _damageWindowEndMs: Int64 = 0 - var _quitPlayer: BattleParticipantProto? = nil - var _targetPokemonID: UInt64 = 0 - var _leveledUpFriends: LeveledUpFriendsProto? = nil - var _item: [Item] = [] - var _trainerAbility: TrainerAbility = .unsetTrainerAbility + var _telemetryEvent: ArdkNextTelemetryOmniProto.OneOf_TelemetryEvent? + var _arCommonMetadata: ARDKARCommonMetadata? = nil + var _developerKey: String = String() + var _timestampMs: Int64 = 0 static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _type = source._type - _actionStartMs = source._actionStartMs - _durationMs = source._durationMs - _energyDelta = source._energyDelta - _attackerIndex = source._attackerIndex - _targetIndex = source._targetIndex - _activePokemonID = source._activePokemonID - _joinedPlayer = source._joinedPlayer - _battleResults = source._battleResults - _damageWindowStartMs = source._damageWindowStartMs - _damageWindowEndMs = source._damageWindowEndMs - _quitPlayer = source._quitPlayer - _targetPokemonID = source._targetPokemonID - _leveledUpFriends = source._leveledUpFriends - _item = source._item - _trainerAbility = source._trainerAbility + _telemetryEvent = source._telemetryEvent + _arCommonMetadata = source._arCommonMetadata + _developerKey = source._developerKey + _timestampMs = source._timestampMs } } @@ -169127,22 +173275,165 @@ extension BattleActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._type) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &_storage._actionStartMs) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._durationMs) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._energyDelta) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._attackerIndex) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._targetIndex) }() - case 8: try { try decoder.decodeSingularFixed64Field(value: &_storage._activePokemonID) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._joinedPlayer) }() - case 10: try { try decoder.decodeSingularMessageField(value: &_storage._battleResults) }() - case 11: try { try decoder.decodeSingularInt64Field(value: &_storage._damageWindowStartMs) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._damageWindowEndMs) }() - case 13: try { try decoder.decodeSingularMessageField(value: &_storage._quitPlayer) }() - case 14: try { try decoder.decodeSingularFixed64Field(value: &_storage._targetPokemonID) }() - case 15: try { try decoder.decodeSingularMessageField(value: &_storage._leveledUpFriends) }() - case 16: try { try decoder.decodeRepeatedEnumField(value: &_storage._item) }() - case 17: try { try decoder.decodeSingularEnumField(value: &_storage._trainerAbility) }() + case 1: try { + var v: InitializationEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .initializationEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .initializationEvent(v) + } + }() + case 2: try { + var v: ScanRecorderStartEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .scanRecorderStartEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .scanRecorderStartEvent(v) + } + }() + case 3: try { + var v: ScanRecorderStopEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .scanRecorderStopEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .scanRecorderStopEvent(v) + } + }() + case 4: try { + var v: ScanSQCRunEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .scanSqcRunEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .scanSqcRunEvent(v) + } + }() + case 5: try { + var v: ScanSQCDoneEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .scanSqcDoneEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .scanSqcDoneEvent(v) + } + }() + case 6: try { + var v: ScanErrorEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .scanErrorEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .scanErrorEvent(v) + } + }() + case 7: try { + var v: ScanArchiveBuilderGetNextChunkEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .scanArchiveBuilderGetNextChunkEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .scanArchiveBuilderGetNextChunkEvent(v) + } + }() + case 8: try { + var v: ScanArchiveBuilderCancelEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .scanArchiveBuilderCancelEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .scanArchiveBuilderCancelEvent(v) + } + }() + case 9: try { + var v: VpsLocalizationStartedEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .vpsLocalizationStartedEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .vpsLocalizationStartedEvent(v) + } + }() + case 10: try { + var v: VpsLocalizationSuccessEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .vpsLocalizationSuccessEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .vpsLocalizationSuccessEvent(v) + } + }() + case 11: try { + var v: VpsSessionEndedEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .vpsSessionEndedEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .vpsSessionEndedEvent(v) + } + }() + case 12: try { + var v: ArSessionStartEvent? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .arSessionStartEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .arSessionStartEvent(v) + } + }() + case 1000: try { try decoder.decodeSingularMessageField(value: &_storage._arCommonMetadata) }() + case 1001: try { try decoder.decodeSingularStringField(value: &_storage._developerKey) }() + case 1002: try { try decoder.decodeSingularInt64Field(value: &_storage._timestampMs) }() default: break } } @@ -169155,79 +173446,79 @@ extension BattleActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._type != .unset { - try visitor.visitSingularEnumField(value: _storage._type, fieldNumber: 1) - } - if _storage._actionStartMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._actionStartMs, fieldNumber: 2) - } - if _storage._durationMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._durationMs, fieldNumber: 3) - } - if _storage._energyDelta != 0 { - try visitor.visitSingularInt32Field(value: _storage._energyDelta, fieldNumber: 5) - } - if _storage._attackerIndex != 0 { - try visitor.visitSingularInt32Field(value: _storage._attackerIndex, fieldNumber: 6) - } - if _storage._targetIndex != 0 { - try visitor.visitSingularInt32Field(value: _storage._targetIndex, fieldNumber: 7) - } - if _storage._activePokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._activePokemonID, fieldNumber: 8) - } - try { if let v = _storage._joinedPlayer { + switch _storage._telemetryEvent { + case .initializationEvent?: try { + guard case .initializationEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .scanRecorderStartEvent?: try { + guard case .scanRecorderStartEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .scanRecorderStopEvent?: try { + guard case .scanRecorderStopEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .scanSqcRunEvent?: try { + guard case .scanSqcRunEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .scanSqcDoneEvent?: try { + guard case .scanSqcDoneEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .scanErrorEvent?: try { + guard case .scanErrorEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + }() + case .scanArchiveBuilderGetNextChunkEvent?: try { + guard case .scanArchiveBuilderGetNextChunkEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + }() + case .scanArchiveBuilderCancelEvent?: try { + guard case .scanArchiveBuilderCancelEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + }() + case .vpsLocalizationStartedEvent?: try { + guard case .vpsLocalizationStartedEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() - try { if let v = _storage._battleResults { + }() + case .vpsLocalizationSuccessEvent?: try { + guard case .vpsLocalizationSuccessEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - if _storage._damageWindowStartMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._damageWindowStartMs, fieldNumber: 11) - } - if _storage._damageWindowEndMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._damageWindowEndMs, fieldNumber: 12) - } - try { if let v = _storage._quitPlayer { - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - } }() - if _storage._targetPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._targetPokemonID, fieldNumber: 14) + }() + case .vpsSessionEndedEvent?: try { + guard case .vpsSessionEndedEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + }() + case .arSessionStartEvent?: try { + guard case .arSessionStartEvent(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + }() + case nil: break } - try { if let v = _storage._leveledUpFriends { - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + try { if let v = _storage._arCommonMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1000) } }() - if !_storage._item.isEmpty { - try visitor.visitPackedEnumField(value: _storage._item, fieldNumber: 16) + if !_storage._developerKey.isEmpty { + try visitor.visitSingularStringField(value: _storage._developerKey, fieldNumber: 1001) } - if _storage._trainerAbility != .unsetTrainerAbility { - try visitor.visitSingularEnumField(value: _storage._trainerAbility, fieldNumber: 17) + if _storage._timestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._timestampMs, fieldNumber: 1002) } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleActionProto, rhs: BattleActionProto) -> Bool { + public static func ==(lhs: ArdkNextTelemetryOmniProto, rhs: ArdkNextTelemetryOmniProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._type != rhs_storage._type {return false} - if _storage._actionStartMs != rhs_storage._actionStartMs {return false} - if _storage._durationMs != rhs_storage._durationMs {return false} - if _storage._energyDelta != rhs_storage._energyDelta {return false} - if _storage._attackerIndex != rhs_storage._attackerIndex {return false} - if _storage._targetIndex != rhs_storage._targetIndex {return false} - if _storage._activePokemonID != rhs_storage._activePokemonID {return false} - if _storage._joinedPlayer != rhs_storage._joinedPlayer {return false} - if _storage._battleResults != rhs_storage._battleResults {return false} - if _storage._damageWindowStartMs != rhs_storage._damageWindowStartMs {return false} - if _storage._damageWindowEndMs != rhs_storage._damageWindowEndMs {return false} - if _storage._quitPlayer != rhs_storage._quitPlayer {return false} - if _storage._targetPokemonID != rhs_storage._targetPokemonID {return false} - if _storage._leveledUpFriends != rhs_storage._leveledUpFriends {return false} - if _storage._item != rhs_storage._item {return false} - if _storage._trainerAbility != rhs_storage._trainerAbility {return false} + if _storage._telemetryEvent != rhs_storage._telemetryEvent {return false} + if _storage._arCommonMetadata != rhs_storage._arCommonMetadata {return false} + if _storage._developerKey != rhs_storage._developerKey {return false} + if _storage._timestampMs != rhs_storage._timestampMs {return false} return true } if !storagesAreEqual {return false} @@ -169237,33 +173528,11 @@ extension BattleActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem } } -extension BattleActionProto.ActionType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ATTACK"), - 2: .same(proto: "DODGE"), - 3: .same(proto: "SPECIAL_ATTACK"), - 4: .same(proto: "SWAP_POKEMON"), - 5: .same(proto: "FAINT"), - 6: .same(proto: "PLAYER_JOIN"), - 7: .same(proto: "PLAYER_QUIT"), - 8: .same(proto: "VICTORY"), - 9: .same(proto: "DEFEAT"), - 10: .same(proto: "TIMED_OUT"), - 11: .same(proto: "SPECIAL_ATTACK_2"), - 12: .same(proto: "USE_ITEM"), - 13: .same(proto: "DISPLAY_CHANGE"), - 14: .same(proto: "ACTIVATE_ABILITY"), - ] -} - -extension BattleAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleAttributesProto" +extension AssertionFailed: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssertionFailed" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sta_percent"), - 2: .standard(proto: "atk_percent"), - 3: .standard(proto: "def_percent"), - 4: .standard(proto: "duration_s"), + 1: .standard(proto: "timestamp_ms"), + 2: .same(proto: "message"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -169272,45 +173541,37 @@ extension BattleAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.staPercent) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.atkPercent) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.defPercent) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.durationS) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.message) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.staPercent != 0 { - try visitor.visitSingularFloatField(value: self.staPercent, fieldNumber: 1) - } - if self.atkPercent != 0 { - try visitor.visitSingularFloatField(value: self.atkPercent, fieldNumber: 2) - } - if self.defPercent != 0 { - try visitor.visitSingularFloatField(value: self.defPercent, fieldNumber: 3) + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) } - if self.durationS != 0 { - try visitor.visitSingularFloatField(value: self.durationS, fieldNumber: 4) + if !self.message.isEmpty { + try visitor.visitSingularStringField(value: self.message, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleAttributesProto, rhs: BattleAttributesProto) -> Bool { - if lhs.staPercent != rhs.staPercent {return false} - if lhs.atkPercent != rhs.atkPercent {return false} - if lhs.defPercent != rhs.defPercent {return false} - if lhs.durationS != rhs.durationS {return false} + public static func ==(lhs: AssertionFailed, rhs: AssertionFailed) -> Bool { + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs.message != rhs.message {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleHubBadgeSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleHubBadgeSettings" +extension AssetBundleDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetBundleDownloadTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "combat_hub_displayed_badges"), + 1: .standard(proto: "asset_event_id"), + 2: .standard(proto: "bundle_name"), + 3: .same(proto: "size"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -169319,31 +173580,45 @@ extension BattleHubBadgeSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.combatHubDisplayedBadges) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.assetEventID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.bundleName) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.size) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.combatHubDisplayedBadges.isEmpty { - try visitor.visitPackedEnumField(value: self.combatHubDisplayedBadges, fieldNumber: 1) + if self.assetEventID != .undefinedAssetEvent { + try visitor.visitSingularEnumField(value: self.assetEventID, fieldNumber: 1) + } + if !self.bundleName.isEmpty { + try visitor.visitSingularStringField(value: self.bundleName, fieldNumber: 2) + } + if self.size != 0 { + try visitor.visitSingularUInt32Field(value: self.size, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleHubBadgeSettings, rhs: BattleHubBadgeSettings) -> Bool { - if lhs.combatHubDisplayedBadges != rhs.combatHubDisplayedBadges {return false} + public static func ==(lhs: AssetBundleDownloadTelemetry, rhs: AssetBundleDownloadTelemetry) -> Bool { + if lhs.assetEventID != rhs.assetEventID {return false} + if lhs.bundleName != rhs.bundleName {return false} + if lhs.size != rhs.size {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleHubOrderSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleHubOrderSettings" +extension AssetDigestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetDigestEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "section"), - 2: .standard(proto: "section_group"), + 1: .standard(proto: "asset_id"), + 2: .standard(proto: "bundle_name"), + 3: .same(proto: "version"), + 4: .same(proto: "checksum"), + 5: .same(proto: "size"), + 6: .same(proto: "key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -169352,35 +173627,58 @@ extension BattleHubOrderSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.section) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.sectionGroup) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.assetID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.bundleName) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.version) }() + case 4: try { try decoder.decodeSingularFixed32Field(value: &self.checksum) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.size) }() + case 6: try { try decoder.decodeSingularBytesField(value: &self.key) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.section.isEmpty { - try visitor.visitRepeatedMessageField(value: self.section, fieldNumber: 1) + if !self.assetID.isEmpty { + try visitor.visitSingularStringField(value: self.assetID, fieldNumber: 1) } - if !self.sectionGroup.isEmpty { - try visitor.visitRepeatedMessageField(value: self.sectionGroup, fieldNumber: 2) + if !self.bundleName.isEmpty { + try visitor.visitSingularStringField(value: self.bundleName, fieldNumber: 2) + } + if self.version != 0 { + try visitor.visitSingularInt64Field(value: self.version, fieldNumber: 3) + } + if self.checksum != 0 { + try visitor.visitSingularFixed32Field(value: self.checksum, fieldNumber: 4) + } + if self.size != 0 { + try visitor.visitSingularInt32Field(value: self.size, fieldNumber: 5) + } + if !self.key.isEmpty { + try visitor.visitSingularBytesField(value: self.key, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleHubOrderSettings, rhs: BattleHubOrderSettings) -> Bool { - if lhs.section != rhs.section {return false} - if lhs.sectionGroup != rhs.sectionGroup {return false} + public static func ==(lhs: AssetDigestEntryProto, rhs: AssetDigestEntryProto) -> Bool { + if lhs.assetID != rhs.assetID {return false} + if lhs.bundleName != rhs.bundleName {return false} + if lhs.version != rhs.version {return false} + if lhs.checksum != rhs.checksum {return false} + if lhs.size != rhs.size {return false} + if lhs.key != rhs.key {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleHubOrderSettings.SectionGroup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = BattleHubOrderSettings.protoMessageName + ".SectionGroup" +extension AssetDigestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetDigestOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "section"), + 1: .same(proto: "digest"), + 2: .same(proto: "timestamp"), + 3: .same(proto: "result"), + 4: .standard(proto: "page_offset"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -169389,31 +173687,61 @@ extension BattleHubOrderSettings.SectionGroup: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.section) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.digest) }() + case 2: try { try decoder.decodeSingularUInt64Field(value: &self.timestamp) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.pageOffset) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.section.isEmpty { - try visitor.visitPackedEnumField(value: self.section, fieldNumber: 1) + if !self.digest.isEmpty { + try visitor.visitRepeatedMessageField(value: self.digest, fieldNumber: 1) + } + if self.timestamp != 0 { + try visitor.visitSingularUInt64Field(value: self.timestamp, fieldNumber: 2) + } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + } + if self.pageOffset != 0 { + try visitor.visitSingularInt32Field(value: self.pageOffset, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleHubOrderSettings.SectionGroup, rhs: BattleHubOrderSettings.SectionGroup) -> Bool { - if lhs.section != rhs.section {return false} + public static func ==(lhs: AssetDigestOutProto, rhs: AssetDigestOutProto) -> Bool { + if lhs.digest != rhs.digest {return false} + if lhs.timestamp != rhs.timestamp {return false} + if lhs.result != rhs.result {return false} + if lhs.pageOffset != rhs.pageOffset {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleHubOrderSettings.SectionSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = BattleHubOrderSettings.protoMessageName + ".SectionSettings" +extension AssetDigestOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "main_section"), - 2: .same(proto: "subsection"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "PAGE"), + 3: .same(proto: "RETRY"), + ] +} + +extension AssetDigestRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetDigestRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "platform"), + 2: .standard(proto: "device_manufacturer"), + 3: .standard(proto: "device_model"), + 4: .same(proto: "locale"), + 5: .standard(proto: "app_version"), + 6: .same(proto: "paginate"), + 7: .standard(proto: "page_offset"), + 8: .standard(proto: "page_timestamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -169422,40 +173750,67 @@ extension BattleHubOrderSettings.SectionSettings: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.mainSection) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.subsection) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.platform) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.deviceManufacturer) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.locale) }() + case 5: try { try decoder.decodeSingularUInt32Field(value: &self.appVersion) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.paginate) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.pageOffset) }() + case 8: try { try decoder.decodeSingularUInt64Field(value: &self.pageTimestamp) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.mainSection != .sectionUnset { - try visitor.visitSingularEnumField(value: self.mainSection, fieldNumber: 1) + if self.platform != .unset { + try visitor.visitSingularEnumField(value: self.platform, fieldNumber: 1) } - if !self.subsection.isEmpty { - try visitor.visitPackedEnumField(value: self.subsection, fieldNumber: 2) + if !self.deviceManufacturer.isEmpty { + try visitor.visitSingularStringField(value: self.deviceManufacturer, fieldNumber: 2) + } + if !self.deviceModel.isEmpty { + try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 3) + } + if !self.locale.isEmpty { + try visitor.visitSingularStringField(value: self.locale, fieldNumber: 4) + } + if self.appVersion != 0 { + try visitor.visitSingularUInt32Field(value: self.appVersion, fieldNumber: 5) + } + if self.paginate != false { + try visitor.visitSingularBoolField(value: self.paginate, fieldNumber: 6) + } + if self.pageOffset != 0 { + try visitor.visitSingularInt32Field(value: self.pageOffset, fieldNumber: 7) + } + if self.pageTimestamp != 0 { + try visitor.visitSingularUInt64Field(value: self.pageTimestamp, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleHubOrderSettings.SectionSettings, rhs: BattleHubOrderSettings.SectionSettings) -> Bool { - if lhs.mainSection != rhs.mainSection {return false} - if lhs.subsection != rhs.subsection {return false} + public static func ==(lhs: AssetDigestRequestProto, rhs: AssetDigestRequestProto) -> Bool { + if lhs.platform != rhs.platform {return false} + if lhs.deviceManufacturer != rhs.deviceManufacturer {return false} + if lhs.deviceModel != rhs.deviceModel {return false} + if lhs.locale != rhs.locale {return false} + if lhs.appVersion != rhs.appVersion {return false} + if lhs.paginate != rhs.paginate {return false} + if lhs.pageOffset != rhs.pageOffset {return false} + if lhs.pageTimestamp != rhs.pageTimestamp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleLogProto" +extension AssetPoiDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetPoiDownloadTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "state"), - 2: .standard(proto: "battle_type"), - 3: .standard(proto: "server_ms"), - 4: .standard(proto: "battle_actions"), - 5: .standard(proto: "battle_start_ms"), - 6: .standard(proto: "battle_end_ms"), + 1: .standard(proto: "asset_event_id"), + 2: .standard(proto: "fort_id"), + 3: .same(proto: "size"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -169464,398 +173819,72 @@ extension BattleLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.state) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.battleType) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.serverMs) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.battleActions) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.battleStartMs) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.battleEndMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.assetEventID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.size) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.state != .unset { - try visitor.visitSingularEnumField(value: self.state, fieldNumber: 1) - } - if self.battleType != .unset { - try visitor.visitSingularEnumField(value: self.battleType, fieldNumber: 2) - } - if self.serverMs != 0 { - try visitor.visitSingularInt64Field(value: self.serverMs, fieldNumber: 3) - } - if !self.battleActions.isEmpty { - try visitor.visitRepeatedMessageField(value: self.battleActions, fieldNumber: 4) + if self.assetEventID != .undefinedAssetEvent { + try visitor.visitSingularEnumField(value: self.assetEventID, fieldNumber: 1) } - if self.battleStartMs != 0 { - try visitor.visitSingularInt64Field(value: self.battleStartMs, fieldNumber: 5) + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) } - if self.battleEndMs != 0 { - try visitor.visitSingularInt64Field(value: self.battleEndMs, fieldNumber: 6) + if self.size != 0 { + try visitor.visitSingularUInt32Field(value: self.size, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleLogProto, rhs: BattleLogProto) -> Bool { - if lhs.state != rhs.state {return false} - if lhs.battleType != rhs.battleType {return false} - if lhs.serverMs != rhs.serverMs {return false} - if lhs.battleActions != rhs.battleActions {return false} - if lhs.battleStartMs != rhs.battleStartMs {return false} - if lhs.battleEndMs != rhs.battleEndMs {return false} + public static func ==(lhs: AssetPoiDownloadTelemetry, rhs: AssetPoiDownloadTelemetry) -> Bool { + if lhs.assetEventID != rhs.assetEventID {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.size != rhs.size {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleLogProto.BattleType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BATTLE_TYPE_UNSET"), - 1: .same(proto: "NORMAL"), - 2: .same(proto: "TRAINING"), - 3: .same(proto: "RAID"), - ] -} - -extension BattleLogProto.State: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "STATE_UNSET"), - 1: .same(proto: "ACTIVE"), - 2: .same(proto: "VICTORY"), - 3: .same(proto: "DEFEATED"), - 4: .same(proto: "TIMED_OUT"), - ] -} - -extension BattleParticipantProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleParticipantProto" +extension AssetRefreshProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetRefreshProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "active_pokemon"), - 2: .standard(proto: "trainer_public_profile"), - 3: .standard(proto: "reserve_pokemon"), - 4: .standard(proto: "defeated_pokemon"), - 5: .standard(proto: "lobby_pokemon"), - 6: .standard(proto: "damage_dealt"), - 7: .standard(proto: "super_effective_charge_move"), - 8: .standard(proto: "weather_boosted"), - 9: .standard(proto: "highest_friendship_milestone"), - 10: .standard(proto: "friend_codename"), - 11: .standard(proto: "is_remote"), - 12: .standard(proto: "is_social_invite"), - 13: .standard(proto: "has_active_mega_evolved_pokemon"), - 14: .standard(proto: "lobby_join_time_ms"), - 15: .standard(proto: "super_effective_charge_attacks_used"), - 16: .standard(proto: "pokemon_survival"), - 17: .standard(proto: "battle_mega_pokemon_id"), - 18: .standard(proto: "tall_pokemon_id"), - 19: .standard(proto: "number_of_charge_attacks_used"), - 20: .standard(proto: "last_player_join_time_ms"), - 21: .standard(proto: "last_player_quit_time_ms"), - 22: .standard(proto: "player_id"), - 23: .standard(proto: "referenced_pokemon"), - 24: .standard(proto: "join_buddy_pokemon_id"), - 25: .standard(proto: "battle_buddy_pokemon_id"), - 26: .standard(proto: "remote_friends"), - 27: .standard(proto: "local_friends"), - 28: .standard(proto: "last_update_time_ms"), - 29: .standard(proto: "boot_raid_state"), - 30: .standard(proto: "enabled_raid_friend_requests"), - 31: .standard(proto: "notable_action_history"), - 32: .standard(proto: "active_pokemon_stat_modifiers"), - 33: .standard(proto: "ability_energy"), + 5: .standard(proto: "string_refresh_seconds"), ] - fileprivate class _StorageClass { - var _activePokemon: PokemonInfo? = nil - var _trainerPublicProfile: PlayerPublicProfileProto? = nil - var _reservePokemon: [PokemonInfo] = [] - var _defeatedPokemon: [PokemonInfo] = [] - var _lobbyPokemon: [LobbyPokemonProto] = [] - var _damageDealt: Int32 = 0 - var _superEffectiveChargeMove: Bool = false - var _weatherBoosted: Bool = false - var _highestFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset - var _friendCodename: [String] = [] - var _isRemote: Bool = false - var _isSocialInvite: Bool = false - var _hasActiveMegaEvolvedPokemon_p: Bool = false - var _lobbyJoinTimeMs: Int64 = 0 - var _superEffectiveChargeAttacksUsed: Int32 = 0 - var _pokemonSurvival: PokemonSurvivalTimeInfo? = nil - var _battleMegaPokemonID: UInt64 = 0 - var _tallPokemonID: UInt64 = 0 - var _numberOfChargeAttacksUsed: Int32 = 0 - var _lastPlayerJoinTimeMs: Int64 = 0 - var _lastPlayerQuitTimeMs: Int64 = 0 - var _playerID: String = String() - var _referencedPokemon: [PokemonInfo] = [] - var _joinBuddyPokemonID: UInt64 = 0 - var _battleBuddyPokemonID: UInt64 = 0 - var _remoteFriends: Int32 = 0 - var _localFriends: Int32 = 0 - var _lastUpdateTimeMs: Int64 = 0 - var _bootRaidState: Bool = false - var _enabledRaidFriendRequests: Bool = false - var _notableActionHistory: [VsActionHistory] = [] - var _activePokemonStatModifiers: Dictionary = [:] - var _abilityEnergy: Dictionary = [:] - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _activePokemon = source._activePokemon - _trainerPublicProfile = source._trainerPublicProfile - _reservePokemon = source._reservePokemon - _defeatedPokemon = source._defeatedPokemon - _lobbyPokemon = source._lobbyPokemon - _damageDealt = source._damageDealt - _superEffectiveChargeMove = source._superEffectiveChargeMove - _weatherBoosted = source._weatherBoosted - _highestFriendshipMilestone = source._highestFriendshipMilestone - _friendCodename = source._friendCodename - _isRemote = source._isRemote - _isSocialInvite = source._isSocialInvite - _hasActiveMegaEvolvedPokemon_p = source._hasActiveMegaEvolvedPokemon_p - _lobbyJoinTimeMs = source._lobbyJoinTimeMs - _superEffectiveChargeAttacksUsed = source._superEffectiveChargeAttacksUsed - _pokemonSurvival = source._pokemonSurvival - _battleMegaPokemonID = source._battleMegaPokemonID - _tallPokemonID = source._tallPokemonID - _numberOfChargeAttacksUsed = source._numberOfChargeAttacksUsed - _lastPlayerJoinTimeMs = source._lastPlayerJoinTimeMs - _lastPlayerQuitTimeMs = source._lastPlayerQuitTimeMs - _playerID = source._playerID - _referencedPokemon = source._referencedPokemon - _joinBuddyPokemonID = source._joinBuddyPokemonID - _battleBuddyPokemonID = source._battleBuddyPokemonID - _remoteFriends = source._remoteFriends - _localFriends = source._localFriends - _lastUpdateTimeMs = source._lastUpdateTimeMs - _bootRaidState = source._bootRaidState - _enabledRaidFriendRequests = source._enabledRaidFriendRequests - _notableActionHistory = source._notableActionHistory - _activePokemonStatModifiers = source._activePokemonStatModifiers - _abilityEnergy = source._abilityEnergy - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._activePokemon) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._trainerPublicProfile) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._reservePokemon) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &_storage._defeatedPokemon) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._lobbyPokemon) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._damageDealt) }() - case 7: try { try decoder.decodeSingularBoolField(value: &_storage._superEffectiveChargeMove) }() - case 8: try { try decoder.decodeSingularBoolField(value: &_storage._weatherBoosted) }() - case 9: try { try decoder.decodeSingularEnumField(value: &_storage._highestFriendshipMilestone) }() - case 10: try { try decoder.decodeRepeatedStringField(value: &_storage._friendCodename) }() - case 11: try { try decoder.decodeSingularBoolField(value: &_storage._isRemote) }() - case 12: try { try decoder.decodeSingularBoolField(value: &_storage._isSocialInvite) }() - case 13: try { try decoder.decodeSingularBoolField(value: &_storage._hasActiveMegaEvolvedPokemon_p) }() - case 14: try { try decoder.decodeSingularInt64Field(value: &_storage._lobbyJoinTimeMs) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._superEffectiveChargeAttacksUsed) }() - case 16: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonSurvival) }() - case 17: try { try decoder.decodeSingularFixed64Field(value: &_storage._battleMegaPokemonID) }() - case 18: try { try decoder.decodeSingularFixed64Field(value: &_storage._tallPokemonID) }() - case 19: try { try decoder.decodeSingularInt32Field(value: &_storage._numberOfChargeAttacksUsed) }() - case 20: try { try decoder.decodeSingularInt64Field(value: &_storage._lastPlayerJoinTimeMs) }() - case 21: try { try decoder.decodeSingularInt64Field(value: &_storage._lastPlayerQuitTimeMs) }() - case 22: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() - case 23: try { try decoder.decodeRepeatedMessageField(value: &_storage._referencedPokemon) }() - case 24: try { try decoder.decodeSingularFixed64Field(value: &_storage._joinBuddyPokemonID) }() - case 25: try { try decoder.decodeSingularFixed64Field(value: &_storage._battleBuddyPokemonID) }() - case 26: try { try decoder.decodeSingularInt32Field(value: &_storage._remoteFriends) }() - case 27: try { try decoder.decodeSingularInt32Field(value: &_storage._localFriends) }() - case 28: try { try decoder.decodeSingularInt64Field(value: &_storage._lastUpdateTimeMs) }() - case 29: try { try decoder.decodeSingularBoolField(value: &_storage._bootRaidState) }() - case 30: try { try decoder.decodeSingularBoolField(value: &_storage._enabledRaidFriendRequests) }() - case 31: try { try decoder.decodeRepeatedMessageField(value: &_storage._notableActionHistory) }() - case 32: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._activePokemonStatModifiers) }() - case 33: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._abilityEnergy) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 5: try { try decoder.decodeSingularInt32Field(value: &self.stringRefreshSeconds) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._activePokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = _storage._trainerPublicProfile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !_storage._reservePokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._reservePokemon, fieldNumber: 3) - } - if !_storage._defeatedPokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._defeatedPokemon, fieldNumber: 4) - } - if !_storage._lobbyPokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._lobbyPokemon, fieldNumber: 5) - } - if _storage._damageDealt != 0 { - try visitor.visitSingularInt32Field(value: _storage._damageDealt, fieldNumber: 6) - } - if _storage._superEffectiveChargeMove != false { - try visitor.visitSingularBoolField(value: _storage._superEffectiveChargeMove, fieldNumber: 7) - } - if _storage._weatherBoosted != false { - try visitor.visitSingularBoolField(value: _storage._weatherBoosted, fieldNumber: 8) - } - if _storage._highestFriendshipMilestone != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: _storage._highestFriendshipMilestone, fieldNumber: 9) - } - if !_storage._friendCodename.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._friendCodename, fieldNumber: 10) - } - if _storage._isRemote != false { - try visitor.visitSingularBoolField(value: _storage._isRemote, fieldNumber: 11) - } - if _storage._isSocialInvite != false { - try visitor.visitSingularBoolField(value: _storage._isSocialInvite, fieldNumber: 12) - } - if _storage._hasActiveMegaEvolvedPokemon_p != false { - try visitor.visitSingularBoolField(value: _storage._hasActiveMegaEvolvedPokemon_p, fieldNumber: 13) - } - if _storage._lobbyJoinTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lobbyJoinTimeMs, fieldNumber: 14) - } - if _storage._superEffectiveChargeAttacksUsed != 0 { - try visitor.visitSingularInt32Field(value: _storage._superEffectiveChargeAttacksUsed, fieldNumber: 15) - } - try { if let v = _storage._pokemonSurvival { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - } }() - if _storage._battleMegaPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._battleMegaPokemonID, fieldNumber: 17) - } - if _storage._tallPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._tallPokemonID, fieldNumber: 18) - } - if _storage._numberOfChargeAttacksUsed != 0 { - try visitor.visitSingularInt32Field(value: _storage._numberOfChargeAttacksUsed, fieldNumber: 19) - } - if _storage._lastPlayerJoinTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastPlayerJoinTimeMs, fieldNumber: 20) - } - if _storage._lastPlayerQuitTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastPlayerQuitTimeMs, fieldNumber: 21) - } - if !_storage._playerID.isEmpty { - try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 22) - } - if !_storage._referencedPokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._referencedPokemon, fieldNumber: 23) - } - if _storage._joinBuddyPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._joinBuddyPokemonID, fieldNumber: 24) - } - if _storage._battleBuddyPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._battleBuddyPokemonID, fieldNumber: 25) - } - if _storage._remoteFriends != 0 { - try visitor.visitSingularInt32Field(value: _storage._remoteFriends, fieldNumber: 26) - } - if _storage._localFriends != 0 { - try visitor.visitSingularInt32Field(value: _storage._localFriends, fieldNumber: 27) - } - if _storage._lastUpdateTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastUpdateTimeMs, fieldNumber: 28) - } - if _storage._bootRaidState != false { - try visitor.visitSingularBoolField(value: _storage._bootRaidState, fieldNumber: 29) - } - if _storage._enabledRaidFriendRequests != false { - try visitor.visitSingularBoolField(value: _storage._enabledRaidFriendRequests, fieldNumber: 30) - } - if !_storage._notableActionHistory.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._notableActionHistory, fieldNumber: 31) - } - if !_storage._activePokemonStatModifiers.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._activePokemonStatModifiers, fieldNumber: 32) - } - if !_storage._abilityEnergy.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._abilityEnergy, fieldNumber: 33) - } + if self.stringRefreshSeconds != 0 { + try visitor.visitSingularInt32Field(value: self.stringRefreshSeconds, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleParticipantProto, rhs: BattleParticipantProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._activePokemon != rhs_storage._activePokemon {return false} - if _storage._trainerPublicProfile != rhs_storage._trainerPublicProfile {return false} - if _storage._reservePokemon != rhs_storage._reservePokemon {return false} - if _storage._defeatedPokemon != rhs_storage._defeatedPokemon {return false} - if _storage._lobbyPokemon != rhs_storage._lobbyPokemon {return false} - if _storage._damageDealt != rhs_storage._damageDealt {return false} - if _storage._superEffectiveChargeMove != rhs_storage._superEffectiveChargeMove {return false} - if _storage._weatherBoosted != rhs_storage._weatherBoosted {return false} - if _storage._highestFriendshipMilestone != rhs_storage._highestFriendshipMilestone {return false} - if _storage._friendCodename != rhs_storage._friendCodename {return false} - if _storage._isRemote != rhs_storage._isRemote {return false} - if _storage._isSocialInvite != rhs_storage._isSocialInvite {return false} - if _storage._hasActiveMegaEvolvedPokemon_p != rhs_storage._hasActiveMegaEvolvedPokemon_p {return false} - if _storage._lobbyJoinTimeMs != rhs_storage._lobbyJoinTimeMs {return false} - if _storage._superEffectiveChargeAttacksUsed != rhs_storage._superEffectiveChargeAttacksUsed {return false} - if _storage._pokemonSurvival != rhs_storage._pokemonSurvival {return false} - if _storage._battleMegaPokemonID != rhs_storage._battleMegaPokemonID {return false} - if _storage._tallPokemonID != rhs_storage._tallPokemonID {return false} - if _storage._numberOfChargeAttacksUsed != rhs_storage._numberOfChargeAttacksUsed {return false} - if _storage._lastPlayerJoinTimeMs != rhs_storage._lastPlayerJoinTimeMs {return false} - if _storage._lastPlayerQuitTimeMs != rhs_storage._lastPlayerQuitTimeMs {return false} - if _storage._playerID != rhs_storage._playerID {return false} - if _storage._referencedPokemon != rhs_storage._referencedPokemon {return false} - if _storage._joinBuddyPokemonID != rhs_storage._joinBuddyPokemonID {return false} - if _storage._battleBuddyPokemonID != rhs_storage._battleBuddyPokemonID {return false} - if _storage._remoteFriends != rhs_storage._remoteFriends {return false} - if _storage._localFriends != rhs_storage._localFriends {return false} - if _storage._lastUpdateTimeMs != rhs_storage._lastUpdateTimeMs {return false} - if _storage._bootRaidState != rhs_storage._bootRaidState {return false} - if _storage._enabledRaidFriendRequests != rhs_storage._enabledRaidFriendRequests {return false} - if _storage._notableActionHistory != rhs_storage._notableActionHistory {return false} - if _storage._activePokemonStatModifiers != rhs_storage._activePokemonStatModifiers {return false} - if _storage._abilityEnergy != rhs_storage._abilityEnergy {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: AssetRefreshProto, rhs: AssetRefreshProto) -> Bool { + if lhs.stringRefreshSeconds != rhs.stringRefreshSeconds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattlePartiesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattlePartiesProto" +extension AssetRefreshTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetRefreshTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "battle_parties"), + 1: .same(proto: "timestamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -169864,33 +173893,31 @@ extension BattlePartiesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.battleParties) }() + case 1: try { try decoder.decodeSingularUInt64Field(value: &self.timestamp) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.battleParties.isEmpty { - try visitor.visitRepeatedMessageField(value: self.battleParties, fieldNumber: 1) + if self.timestamp != 0 { + try visitor.visitSingularUInt64Field(value: self.timestamp, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattlePartiesProto, rhs: BattlePartiesProto) -> Bool { - if lhs.battleParties != rhs.battleParties {return false} + public static func ==(lhs: AssetRefreshTelemetry, rhs: AssetRefreshTelemetry) -> Bool { + if lhs.timestamp != rhs.timestamp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattlePartyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattlePartyProto" +extension AssetStreamCacheCulledTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetStreamCacheCulledTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .standard(proto: "team_number"), - 3: .same(proto: "ids"), - 4: .standard(proto: "combat_league_id"), + 1: .standard(proto: "asset_event_id"), + 2: .standard(proto: "space_released"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -169899,49 +173926,37 @@ extension BattlePartyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.teamNumber) }() - case 3: try { try decoder.decodeRepeatedFixed64Field(value: &self.ids) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.combatLeagueID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.assetEventID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.spaceReleased) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if self.teamNumber != 0 { - try visitor.visitSingularInt32Field(value: self.teamNumber, fieldNumber: 2) - } - if !self.ids.isEmpty { - try visitor.visitPackedFixed64Field(value: self.ids, fieldNumber: 3) + if self.assetEventID != .undefinedAssetEvent { + try visitor.visitSingularEnumField(value: self.assetEventID, fieldNumber: 1) } - if !self.combatLeagueID.isEmpty { - try visitor.visitSingularStringField(value: self.combatLeagueID, fieldNumber: 4) + if self.spaceReleased != 0 { + try visitor.visitSingularUInt32Field(value: self.spaceReleased, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattlePartyProto, rhs: BattlePartyProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.teamNumber != rhs.teamNumber {return false} - if lhs.ids != rhs.ids {return false} - if lhs.combatLeagueID != rhs.combatLeagueID {return false} + public static func ==(lhs: AssetStreamCacheCulledTelemetry, rhs: AssetStreamCacheCulledTelemetry) -> Bool { + if lhs.assetEventID != rhs.assetEventID {return false} + if lhs.spaceReleased != rhs.spaceReleased {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattlePartySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattlePartySettingsProto" +extension AssetStreamDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetStreamDownloadTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_battle_party_saving"), - 2: .standard(proto: "max_battle_parties"), - 3: .standard(proto: "overall_parties_cap"), - 4: .standard(proto: "ob_int32_battle_party_settings_1"), - 5: .standard(proto: "ob_int32_battle_party_settings_2"), + 1: .standard(proto: "asset_event_id"), + 2: .same(proto: "url"), + 3: .same(proto: "size"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -169950,52 +173965,40 @@ extension BattlePartySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableBattlePartySaving) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxBattleParties) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.overallPartiesCap) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt32BattlePartySettings1) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obInt32BattlePartySettings2) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.assetEventID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.url) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.size) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableBattlePartySaving != false { - try visitor.visitSingularBoolField(value: self.enableBattlePartySaving, fieldNumber: 1) - } - if self.maxBattleParties != 0 { - try visitor.visitSingularInt32Field(value: self.maxBattleParties, fieldNumber: 2) - } - if self.overallPartiesCap != 0 { - try visitor.visitSingularInt32Field(value: self.overallPartiesCap, fieldNumber: 3) + if self.assetEventID != .undefinedAssetEvent { + try visitor.visitSingularEnumField(value: self.assetEventID, fieldNumber: 1) } - if self.obInt32BattlePartySettings1 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32BattlePartySettings1, fieldNumber: 4) + if !self.url.isEmpty { + try visitor.visitSingularStringField(value: self.url, fieldNumber: 2) } - if self.obInt32BattlePartySettings2 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32BattlePartySettings2, fieldNumber: 5) + if self.size != 0 { + try visitor.visitSingularUInt32Field(value: self.size, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattlePartySettingsProto, rhs: BattlePartySettingsProto) -> Bool { - if lhs.enableBattlePartySaving != rhs.enableBattlePartySaving {return false} - if lhs.maxBattleParties != rhs.maxBattleParties {return false} - if lhs.overallPartiesCap != rhs.overallPartiesCap {return false} - if lhs.obInt32BattlePartySettings1 != rhs.obInt32BattlePartySettings1 {return false} - if lhs.obInt32BattlePartySettings2 != rhs.obInt32BattlePartySettings2 {return false} + public static func ==(lhs: AssetStreamDownloadTelemetry, rhs: AssetStreamDownloadTelemetry) -> Bool { + if lhs.assetEventID != rhs.assetEventID {return false} + if lhs.url != rhs.url {return false} + if lhs.size != rhs.size {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattlePartyTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattlePartyTelemetry" +extension AssetVersionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetVersionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "battle_party_click_id"), - 2: .standard(proto: "battle_party_count"), - 3: .standard(proto: "battle_party_number"), + 1: .same(proto: "response"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170004,49 +174007,41 @@ extension BattlePartyTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.battlePartyClickID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.battlePartyCount) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.battlePartyNumber) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.response) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.battlePartyClickID != .undefinedBattlePartyEvent { - try visitor.visitSingularEnumField(value: self.battlePartyClickID, fieldNumber: 1) - } - if self.battlePartyCount != 0 { - try visitor.visitSingularInt32Field(value: self.battlePartyCount, fieldNumber: 2) - } - if self.battlePartyNumber != 0 { - try visitor.visitSingularInt32Field(value: self.battlePartyNumber, fieldNumber: 3) + if !self.response.isEmpty { + try visitor.visitRepeatedMessageField(value: self.response, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattlePartyTelemetry, rhs: BattlePartyTelemetry) -> Bool { - if lhs.battlePartyClickID != rhs.battlePartyClickID {return false} - if lhs.battlePartyCount != rhs.battlePartyCount {return false} - if lhs.battlePartyNumber != rhs.battlePartyNumber {return false} + public static func ==(lhs: AssetVersionOutProto, rhs: AssetVersionOutProto) -> Bool { + if lhs.response != rhs.response {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleProto" +extension AssetVersionOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "battle_start_ms"), - 2: .standard(proto: "battle_end_ms"), - 3: .standard(proto: "battle_id"), - 4: .same(proto: "defender"), - 5: .standard(proto: "battle_log"), - 6: .same(proto: "attacker"), - 7: .standard(proto: "weather_condition"), - 8: .standard(proto: "highest_friendship_milestone"), - 9: .standard(proto: "battle_experiment"), - 10: .standard(proto: "ability_result_location"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ERROR"), + 2: .same(proto: "VALID"), + 3: .same(proto: "EXPIRED"), + ] +} + +extension AssetVersionOutProto.AssetVersionResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = AssetVersionOutProto.protoMessageName + ".AssetVersionResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "digest"), + 3: .same(proto: "url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170055,16 +174050,9 @@ extension BattleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.battleStartMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.battleEndMs) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.battleID) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._defender) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._battleLog) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._attacker) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.weatherCondition) }() - case 8: try { try decoder.decodeSingularEnumField(value: &self.highestFriendshipMilestone) }() - case 9: try { try decoder.decodeRepeatedEnumField(value: &self.battleExperiment) }() - case 10: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.abilityResultLocation) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._digest) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.url) }() default: break } } @@ -170075,59 +174063,70 @@ extension BattleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.battleStartMs != 0 { - try visitor.visitSingularInt64Field(value: self.battleStartMs, fieldNumber: 1) - } - if self.battleEndMs != 0 { - try visitor.visitSingularInt64Field(value: self.battleEndMs, fieldNumber: 2) - } - if !self.battleID.isEmpty { - try visitor.visitSingularStringField(value: self.battleID, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._defender { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = self._battleLog { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - try { if let v = self._attacker { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + try { if let v = self._digest { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if self.weatherCondition != .none { - try visitor.visitSingularEnumField(value: self.weatherCondition, fieldNumber: 7) + if !self.url.isEmpty { + try visitor.visitSingularStringField(value: self.url, fieldNumber: 3) } - if self.highestFriendshipMilestone != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: self.highestFriendshipMilestone, fieldNumber: 8) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AssetVersionOutProto.AssetVersionResponseProto, rhs: AssetVersionOutProto.AssetVersionResponseProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._digest != rhs._digest {return false} + if lhs.url != rhs.url {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension AssetVersionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AssetVersionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "app_version"), + 2: .same(proto: "request"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularUInt32Field(value: &self.appVersion) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.request) }() + default: break + } } - if !self.battleExperiment.isEmpty { - try visitor.visitPackedEnumField(value: self.battleExperiment, fieldNumber: 9) + } + + public func traverse(visitor: inout V) throws { + if self.appVersion != 0 { + try visitor.visitSingularUInt32Field(value: self.appVersion, fieldNumber: 1) } - if !self.abilityResultLocation.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.abilityResultLocation, fieldNumber: 10) + if !self.request.isEmpty { + try visitor.visitRepeatedMessageField(value: self.request, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleProto, rhs: BattleProto) -> Bool { - if lhs.battleStartMs != rhs.battleStartMs {return false} - if lhs.battleEndMs != rhs.battleEndMs {return false} - if lhs.battleID != rhs.battleID {return false} - if lhs._defender != rhs._defender {return false} - if lhs._battleLog != rhs._battleLog {return false} - if lhs._attacker != rhs._attacker {return false} - if lhs.weatherCondition != rhs.weatherCondition {return false} - if lhs.highestFriendshipMilestone != rhs.highestFriendshipMilestone {return false} - if lhs.battleExperiment != rhs.battleExperiment {return false} - if lhs.abilityResultLocation != rhs.abilityResultLocation {return false} + public static func ==(lhs: AssetVersionProto, rhs: AssetVersionProto) -> Bool { + if lhs.appVersion != rhs.appVersion {return false} + if lhs.request != rhs.request {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleQuestProto" +extension AssetVersionProto.AssetVersionRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = AssetVersionProto.protoMessageName + ".AssetVersionRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "battle_id"), + 1: .standard(proto: "asset_id"), + 2: .same(proto: "checksum"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170136,83 +174135,61 @@ extension BattleQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.battleID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.assetID) }() + case 2: try { try decoder.decodeSingularFixed32Field(value: &self.checksum) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.battleID.isEmpty { - try visitor.visitRepeatedStringField(value: self.battleID, fieldNumber: 1) + if !self.assetID.isEmpty { + try visitor.visitSingularStringField(value: self.assetID, fieldNumber: 1) + } + if self.checksum != 0 { + try visitor.visitSingularFixed32Field(value: self.checksum, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleQuestProto, rhs: BattleQuestProto) -> Bool { - if lhs.battleID != rhs.battleID {return false} + public static func ==(lhs: AssetVersionProto.AssetVersionRequestProto, rhs: AssetVersionProto.AssetVersionRequestProto) -> Bool { + if lhs.assetID != rhs.assetID {return false} + if lhs.checksum != rhs.checksum {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleResultsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleResultsProto" +extension AttackGymOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AttackGymOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gym_state"), - 2: .same(proto: "attackers"), - 3: .standard(proto: "player_xp_awarded"), - 4: .standard(proto: "next_defender_pokemon_id"), - 5: .standard(proto: "gym_points_delta"), - 6: .standard(proto: "gym_status"), - 7: .same(proto: "participation"), - 8: .standard(proto: "raid_item_rewards"), - 9: .standard(proto: "post_raid_encounter"), - 10: .standard(proto: "gym_badge"), - 11: .standard(proto: "default_raid_item_rewards"), - 12: .standard(proto: "battle_duration_ms"), - 13: .standard(proto: "raid_player_stats"), - 14: .standard(proto: "xl_candy_awarded"), - 16: .standard(proto: "xl_candy_pokemon_id"), + 1: .same(proto: "result"), + 2: .standard(proto: "battle_log"), + 3: .standard(proto: "battle_id"), + 4: .standard(proto: "active_defender"), + 5: .standard(proto: "active_attacker"), + 6: .standard(proto: "battle_update"), ] fileprivate class _StorageClass { - var _gymState: GymStateProto? = nil - var _attackers: [BattleParticipantProto] = [] - var _playerXpAwarded: [Int32] = [] - var _nextDefenderPokemonID: Int64 = 0 - var _gymPointsDelta: Int32 = 0 - var _gymStatus: GymStatusAndDefendersProto? = nil - var _participation: [ParticipationProto] = [] - var _raidItemRewards: [LootProto] = [] - var _postRaidEncounter: [RaidEncounterProto] = [] - var _gymBadge: [AwardedGymBadge] = [] - var _defaultRaidItemRewards: [LootProto] = [] - var _battleDurationMs: Int64 = 0 - var _raidPlayerStats: RaidPlayerStatsProto? = nil - var _xlCandyAwarded: [Int32] = [] - var _xlCandyPokemonID: HoloPokemonId = .missingno + var _result: AttackGymOutProto.Result = .unset + var _battleLog: BattleLogProto? = nil + var _battleID: String = String() + var _activeDefender: PokemonInfo? = nil + var _activeAttacker: PokemonInfo? = nil + var _battleUpdate: BattleUpdateProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _gymState = source._gymState - _attackers = source._attackers - _playerXpAwarded = source._playerXpAwarded - _nextDefenderPokemonID = source._nextDefenderPokemonID - _gymPointsDelta = source._gymPointsDelta - _gymStatus = source._gymStatus - _participation = source._participation - _raidItemRewards = source._raidItemRewards - _postRaidEncounter = source._postRaidEncounter - _gymBadge = source._gymBadge - _defaultRaidItemRewards = source._defaultRaidItemRewards - _battleDurationMs = source._battleDurationMs - _raidPlayerStats = source._raidPlayerStats - _xlCandyAwarded = source._xlCandyAwarded - _xlCandyPokemonID = source._xlCandyPokemonID + _result = source._result + _battleLog = source._battleLog + _battleID = source._battleID + _activeDefender = source._activeDefender + _activeAttacker = source._activeAttacker + _battleUpdate = source._battleUpdate } } @@ -170231,21 +174208,12 @@ extension BattleResultsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._gymState) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &_storage._attackers) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &_storage._playerXpAwarded) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._nextDefenderPokemonID) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._gymPointsDelta) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._gymStatus) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &_storage._participation) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &_storage._raidItemRewards) }() - case 9: try { try decoder.decodeRepeatedMessageField(value: &_storage._postRaidEncounter) }() - case 10: try { try decoder.decodeRepeatedMessageField(value: &_storage._gymBadge) }() - case 11: try { try decoder.decodeRepeatedMessageField(value: &_storage._defaultRaidItemRewards) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._battleDurationMs) }() - case 13: try { try decoder.decodeSingularMessageField(value: &_storage._raidPlayerStats) }() - case 14: try { try decoder.decodeRepeatedInt32Field(value: &_storage._xlCandyAwarded) }() - case 16: try { try decoder.decodeSingularEnumField(value: &_storage._xlCandyPokemonID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._battleLog) }() + case 3: try { try decoder.decodeSingularStringField(value: &_storage._battleID) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._activeDefender) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._activeAttacker) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._battleUpdate) }() default: break } } @@ -170258,75 +174226,39 @@ extension BattleResultsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._gymState { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !_storage._attackers.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._attackers, fieldNumber: 2) - } - if !_storage._playerXpAwarded.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._playerXpAwarded, fieldNumber: 3) - } - if _storage._nextDefenderPokemonID != 0 { - try visitor.visitSingularInt64Field(value: _storage._nextDefenderPokemonID, fieldNumber: 4) - } - if _storage._gymPointsDelta != 0 { - try visitor.visitSingularInt32Field(value: _storage._gymPointsDelta, fieldNumber: 5) + if _storage._result != .unset { + try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) } - try { if let v = _storage._gymStatus { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + try { if let v = _storage._battleLog { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if !_storage._participation.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._participation, fieldNumber: 7) - } - if !_storage._raidItemRewards.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._raidItemRewards, fieldNumber: 8) - } - if !_storage._postRaidEncounter.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._postRaidEncounter, fieldNumber: 9) - } - if !_storage._gymBadge.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._gymBadge, fieldNumber: 10) - } - if !_storage._defaultRaidItemRewards.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._defaultRaidItemRewards, fieldNumber: 11) - } - if _storage._battleDurationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._battleDurationMs, fieldNumber: 12) + if !_storage._battleID.isEmpty { + try visitor.visitSingularStringField(value: _storage._battleID, fieldNumber: 3) } - try { if let v = _storage._raidPlayerStats { - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + try { if let v = _storage._activeDefender { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = _storage._activeAttacker { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + try { if let v = _storage._battleUpdate { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) } }() - if !_storage._xlCandyAwarded.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._xlCandyAwarded, fieldNumber: 14) - } - if _storage._xlCandyPokemonID != .missingno { - try visitor.visitSingularEnumField(value: _storage._xlCandyPokemonID, fieldNumber: 16) - } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleResultsProto, rhs: BattleResultsProto) -> Bool { + public static func ==(lhs: AttackGymOutProto, rhs: AttackGymOutProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._gymState != rhs_storage._gymState {return false} - if _storage._attackers != rhs_storage._attackers {return false} - if _storage._playerXpAwarded != rhs_storage._playerXpAwarded {return false} - if _storage._nextDefenderPokemonID != rhs_storage._nextDefenderPokemonID {return false} - if _storage._gymPointsDelta != rhs_storage._gymPointsDelta {return false} - if _storage._gymStatus != rhs_storage._gymStatus {return false} - if _storage._participation != rhs_storage._participation {return false} - if _storage._raidItemRewards != rhs_storage._raidItemRewards {return false} - if _storage._postRaidEncounter != rhs_storage._postRaidEncounter {return false} - if _storage._gymBadge != rhs_storage._gymBadge {return false} - if _storage._defaultRaidItemRewards != rhs_storage._defaultRaidItemRewards {return false} - if _storage._battleDurationMs != rhs_storage._battleDurationMs {return false} - if _storage._raidPlayerStats != rhs_storage._raidPlayerStats {return false} - if _storage._xlCandyAwarded != rhs_storage._xlCandyAwarded {return false} - if _storage._xlCandyPokemonID != rhs_storage._xlCandyPokemonID {return false} + if _storage._result != rhs_storage._result {return false} + if _storage._battleLog != rhs_storage._battleLog {return false} + if _storage._battleID != rhs_storage._battleID {return false} + if _storage._activeDefender != rhs_storage._activeDefender {return false} + if _storage._activeAttacker != rhs_storage._activeAttacker {return false} + if _storage._battleUpdate != rhs_storage._battleUpdate {return false} return true } if !storagesAreEqual {return false} @@ -170336,51 +174268,105 @@ extension BattleResultsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } -extension BattleUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleUpdateProto" +extension AttackGymOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "battle_log"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_ATTACK_ACTIONS"), + 3: .same(proto: "ERROR_NOT_IN_RANGE"), + ] +} + +extension AttackGymProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AttackGymProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "gym_id"), 2: .standard(proto: "battle_id"), - 3: .standard(proto: "active_defender"), - 4: .standard(proto: "active_attacker"), - 5: .standard(proto: "highest_friendship_milestone"), - 6: .standard(proto: "render_effects"), - 7: .standard(proto: "remaining_item"), - 8: .standard(proto: "active_item"), - 9: .standard(proto: "ability_energy"), - 10: .standard(proto: "active_pokemon_stat_modifiers"), - 11: .standard(proto: "party_member_count"), + 3: .standard(proto: "attacker_actions"), + 4: .standard(proto: "last_retrieved_action"), + 5: .standard(proto: "player_lat_degrees"), + 6: .standard(proto: "player_lng_degrees"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.battleID) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.attackerActions) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._lastRetrievedAction) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) + } + if !self.battleID.isEmpty { + try visitor.visitSingularStringField(value: self.battleID, fieldNumber: 2) + } + if !self.attackerActions.isEmpty { + try visitor.visitRepeatedMessageField(value: self.attackerActions, fieldNumber: 3) + } + try { if let v = self._lastRetrievedAction { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.playerLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 5) + } + if self.playerLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AttackGymProto, rhs: AttackGymProto) -> Bool { + if lhs.gymID != rhs.gymID {return false} + if lhs.battleID != rhs.battleID {return false} + if lhs.attackerActions != rhs.attackerActions {return false} + if lhs._lastRetrievedAction != rhs._lastRetrievedAction {return false} + if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} + if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension AttackRaidBattleOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AttackRaidBattleOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "battle_update"), + 3: .standard(proto: "sponsored_gift"), + 4: .same(proto: "ad"), ] fileprivate class _StorageClass { - var _battleLog: BattleLogProto? = nil - var _battleID: String = String() - var _activeDefender: PokemonInfo? = nil - var _activeAttacker: PokemonInfo? = nil - var _highestFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset - var _renderEffects: [FormRenderModifier] = [] - var _remainingItem: [BattleUpdateProto.AvailableItem] = [] - var _activeItem: [BattleUpdateProto.ActiveItem] = [] - var _abilityEnergy: Dictionary = [:] - var _activePokemonStatModifiers: Dictionary = [:] - var _partyMemberCount: Int32 = 0 + var _result: AttackRaidBattleOutProto.Result = .unset + var _battleUpdate: BattleUpdateProto? = nil + var _sponsoredGift: AdDetails? = nil + var _ad: AdProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _battleLog = source._battleLog - _battleID = source._battleID - _activeDefender = source._activeDefender - _activeAttacker = source._activeAttacker - _highestFriendshipMilestone = source._highestFriendshipMilestone - _renderEffects = source._renderEffects - _remainingItem = source._remainingItem - _activeItem = source._activeItem - _abilityEnergy = source._abilityEnergy - _activePokemonStatModifiers = source._activePokemonStatModifiers - _partyMemberCount = source._partyMemberCount + _result = source._result + _battleUpdate = source._battleUpdate + _sponsoredGift = source._sponsoredGift + _ad = source._ad } } @@ -170399,17 +174385,10 @@ extension BattleUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._battleLog) }() - case 2: try { try decoder.decodeSingularStringField(value: &_storage._battleID) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._activeDefender) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._activeAttacker) }() - case 5: try { try decoder.decodeSingularEnumField(value: &_storage._highestFriendshipMilestone) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &_storage._renderEffects) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &_storage._remainingItem) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &_storage._activeItem) }() - case 9: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._abilityEnergy) }() - case 10: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._activePokemonStatModifiers) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._partyMemberCount) }() + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._battleUpdate) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._sponsoredGift) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._ad) }() default: break } } @@ -170422,59 +174401,31 @@ extension BattleUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._battleLog { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !_storage._battleID.isEmpty { - try visitor.visitSingularStringField(value: _storage._battleID, fieldNumber: 2) + if _storage._result != .unset { + try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) } - try { if let v = _storage._activeDefender { + try { if let v = _storage._battleUpdate { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = _storage._sponsoredGift { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() - try { if let v = _storage._activeAttacker { + try { if let v = _storage._ad { try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() - if _storage._highestFriendshipMilestone != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: _storage._highestFriendshipMilestone, fieldNumber: 5) - } - if !_storage._renderEffects.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._renderEffects, fieldNumber: 6) - } - if !_storage._remainingItem.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._remainingItem, fieldNumber: 7) - } - if !_storage._activeItem.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._activeItem, fieldNumber: 8) - } - if !_storage._abilityEnergy.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._abilityEnergy, fieldNumber: 9) - } - if !_storage._activePokemonStatModifiers.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._activePokemonStatModifiers, fieldNumber: 10) - } - if _storage._partyMemberCount != 0 { - try visitor.visitSingularInt32Field(value: _storage._partyMemberCount, fieldNumber: 11) - } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleUpdateProto, rhs: BattleUpdateProto) -> Bool { + public static func ==(lhs: AttackRaidBattleOutProto, rhs: AttackRaidBattleOutProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._battleLog != rhs_storage._battleLog {return false} - if _storage._battleID != rhs_storage._battleID {return false} - if _storage._activeDefender != rhs_storage._activeDefender {return false} - if _storage._activeAttacker != rhs_storage._activeAttacker {return false} - if _storage._highestFriendshipMilestone != rhs_storage._highestFriendshipMilestone {return false} - if _storage._renderEffects != rhs_storage._renderEffects {return false} - if _storage._remainingItem != rhs_storage._remainingItem {return false} - if _storage._activeItem != rhs_storage._activeItem {return false} - if _storage._abilityEnergy != rhs_storage._abilityEnergy {return false} - if _storage._activePokemonStatModifiers != rhs_storage._activePokemonStatModifiers {return false} - if _storage._partyMemberCount != rhs_storage._partyMemberCount {return false} + if _storage._result != rhs_storage._result {return false} + if _storage._battleUpdate != rhs_storage._battleUpdate {return false} + if _storage._sponsoredGift != rhs_storage._sponsoredGift {return false} + if _storage._ad != rhs_storage._ad {return false} return true } if !storagesAreEqual {return false} @@ -170484,12 +174435,27 @@ extension BattleUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem } } -extension BattleUpdateProto.AvailableItem: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = BattleUpdateProto.protoMessageName + ".AvailableItem" +extension AttackRaidBattleOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .same(proto: "quantity"), - 3: .standard(proto: "next_available_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_GYM_NOT_FOUND"), + 3: .same(proto: "ERROR_BATTLE_NOT_FOUND"), + 4: .same(proto: "ERROR_INVALID_ATTACK_ACTIONS"), + 5: .same(proto: "ERROR_NOT_PART_OF_BATTLE"), + 6: .same(proto: "ERROR_BATTLE_ID_NOT_RAID"), + ] +} + +extension AttackRaidBattleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AttackRaidBattleProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "gym_id"), + 2: .standard(proto: "battle_id"), + 3: .standard(proto: "attacker_actions"), + 4: .standard(proto: "last_retrieved_action"), + 5: .standard(proto: "timestamp_ms"), + 6: .standard(proto: "ad_targeting_info"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170498,43 +174464,62 @@ extension BattleUpdateProto.AvailableItem: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.quantity) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.nextAvailableMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.battleID) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.attackerActions) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._lastRetrievedAction) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._adTargetingInfo) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) } - if self.quantity != 0 { - try visitor.visitSingularInt32Field(value: self.quantity, fieldNumber: 2) + if !self.battleID.isEmpty { + try visitor.visitSingularStringField(value: self.battleID, fieldNumber: 2) } - if self.nextAvailableMs != 0 { - try visitor.visitSingularInt64Field(value: self.nextAvailableMs, fieldNumber: 3) + if !self.attackerActions.isEmpty { + try visitor.visitRepeatedMessageField(value: self.attackerActions, fieldNumber: 3) + } + try { if let v = self._lastRetrievedAction { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 5) } + try { if let v = self._adTargetingInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleUpdateProto.AvailableItem, rhs: BattleUpdateProto.AvailableItem) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.quantity != rhs.quantity {return false} - if lhs.nextAvailableMs != rhs.nextAvailableMs {return false} + public static func ==(lhs: AttackRaidBattleProto, rhs: AttackRaidBattleProto) -> Bool { + if lhs.gymID != rhs.gymID {return false} + if lhs.battleID != rhs.battleID {return false} + if lhs.attackerActions != rhs.attackerActions {return false} + if lhs._lastRetrievedAction != rhs._lastRetrievedAction {return false} + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs._adTargetingInfo != rhs._adTargetingInfo {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleUpdateProto.ActiveItem: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = BattleUpdateProto.protoMessageName + ".ActiveItem" +extension AttackRaidData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AttackRaidData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .same(proto: "user"), - 3: .standard(proto: "usage_time_ms"), - 4: .standard(proto: "expiry_time_ms"), + 1: .standard(proto: "attacker_actions"), + 2: .standard(proto: "last_retrieved_action"), + 3: .standard(proto: "timestamp_offset_ms"), + 4: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170543,10 +174528,10 @@ extension BattleUpdateProto.ActiveItem: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._item) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.user) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.usageTimeMs) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.expiryTimeMs) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.attackerActions) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._lastRetrievedAction) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.timestampOffsetMs) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } @@ -170557,37 +174542,42 @@ extension BattleUpdateProto.ActiveItem: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._item { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.user.isEmpty { - try visitor.visitSingularStringField(value: self.user, fieldNumber: 2) + if !self.attackerActions.isEmpty { + try visitor.visitRepeatedMessageField(value: self.attackerActions, fieldNumber: 1) } - if self.usageTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.usageTimeMs, fieldNumber: 3) + try { if let v = self._lastRetrievedAction { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.timestampOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.timestampOffsetMs, fieldNumber: 3) } - if self.expiryTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.expiryTimeMs, fieldNumber: 4) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleUpdateProto.ActiveItem, rhs: BattleUpdateProto.ActiveItem) -> Bool { - if lhs._item != rhs._item {return false} - if lhs.user != rhs.user {return false} - if lhs.usageTimeMs != rhs.usageTimeMs {return false} - if lhs.expiryTimeMs != rhs.expiryTimeMs {return false} + public static func ==(lhs: AttackRaidData, rhs: AttackRaidData) -> Bool { + if lhs.attackerActions != rhs.attackerActions {return false} + if lhs._lastRetrievedAction != rhs._lastRetrievedAction {return false} + if lhs.timestampOffsetMs != rhs.timestampOffsetMs {return false} + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BattleVisualSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BattleVisualSettings" +extension AttackRaidResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AttackRaidResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "battle_visual_stadium_enabled"), - 2: .standard(proto: "stadium_crowd_asset"), - 4: .standard(proto: "stadium_banner_asset"), + 1: .same(proto: "result"), + 2: .same(proto: "state"), + 3: .standard(proto: "server_offset_ms"), + 4: .standard(proto: "battle_actions"), + 5: .standard(proto: "battle_start_offset_ms"), + 6: .standard(proto: "battle_end_offset_ms"), + 7: .standard(proto: "rpc_id"), + 8: .standard(proto: "round_trip_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170596,42 +174586,72 @@ extension BattleVisualSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.battleVisualStadiumEnabled) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.stadiumCrowdAsset) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.stadiumBannerAsset) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.state) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.serverOffsetMs) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.battleActions) }() + case 5: try { try decoder.decodeSingularUInt32Field(value: &self.battleStartOffsetMs) }() + case 6: try { try decoder.decodeSingularUInt32Field(value: &self.battleEndOffsetMs) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 8: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.battleVisualStadiumEnabled != false { - try visitor.visitSingularBoolField(value: self.battleVisualStadiumEnabled, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if self.state != .unset { + try visitor.visitSingularEnumField(value: self.state, fieldNumber: 2) } - if !self.stadiumCrowdAsset.isEmpty { - try visitor.visitSingularStringField(value: self.stadiumCrowdAsset, fieldNumber: 2) + if self.serverOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.serverOffsetMs, fieldNumber: 3) } - if !self.stadiumBannerAsset.isEmpty { - try visitor.visitSingularStringField(value: self.stadiumBannerAsset, fieldNumber: 4) + if !self.battleActions.isEmpty { + try visitor.visitRepeatedMessageField(value: self.battleActions, fieldNumber: 4) + } + if self.battleStartOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.battleStartOffsetMs, fieldNumber: 5) + } + if self.battleEndOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.battleEndOffsetMs, fieldNumber: 6) + } + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 7) + } + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BattleVisualSettings, rhs: BattleVisualSettings) -> Bool { - if lhs.battleVisualStadiumEnabled != rhs.battleVisualStadiumEnabled {return false} - if lhs.stadiumCrowdAsset != rhs.stadiumCrowdAsset {return false} - if lhs.stadiumBannerAsset != rhs.stadiumBannerAsset {return false} + public static func ==(lhs: AttackRaidResponseData, rhs: AttackRaidResponseData) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.state != rhs.state {return false} + if lhs.serverOffsetMs != rhs.serverOffsetMs {return false} + if lhs.battleActions != rhs.battleActions {return false} + if lhs.battleStartOffsetMs != rhs.battleStartOffsetMs {return false} + if lhs.battleEndOffsetMs != rhs.battleEndOffsetMs {return false} + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaBleCompleteTransferRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaBleCompleteTransferRequestProto" +extension AttractedPokemonClientProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AttractedPokemonClientProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "transaction_id"), - 2: .standard(proto: "beluga_requested_item_id"), - 3: .same(proto: "nonce"), + 1: .same(proto: "context"), + 2: .standard(proto: "pokemon_type_id"), + 3: .standard(proto: "pokemon_display"), + 4: .same(proto: "lat"), + 5: .same(proto: "lng"), + 6: .standard(proto: "encounter_location"), + 7: .standard(proto: "encounter_id"), + 8: .standard(proto: "disappear_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170640,41 +174660,73 @@ extension BelugaBleCompleteTransferRequestProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.transactionID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.belugaRequestedItemID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.nonce) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.context) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokemonTypeID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.lat) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.lng) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() + case 7: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &self.disappearTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.transactionID != 0 { - try visitor.visitSingularInt64Field(value: self.transactionID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.context != .attractedPokemonUnset { + try visitor.visitSingularEnumField(value: self.context, fieldNumber: 1) } - if self.belugaRequestedItemID != 0 { - try visitor.visitSingularInt32Field(value: self.belugaRequestedItemID, fieldNumber: 2) + if self.pokemonTypeID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonTypeID, fieldNumber: 2) } - if !self.nonce.isEmpty { - try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 3) + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.lat != 0 { + try visitor.visitSingularDoubleField(value: self.lat, fieldNumber: 4) + } + if self.lng != 0 { + try visitor.visitSingularDoubleField(value: self.lng, fieldNumber: 5) + } + if !self.encounterLocation.isEmpty { + try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 6) + } + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 7) + } + if self.disappearTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.disappearTimeMs, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaBleCompleteTransferRequestProto, rhs: BelugaBleCompleteTransferRequestProto) -> Bool { - if lhs.transactionID != rhs.transactionID {return false} - if lhs.belugaRequestedItemID != rhs.belugaRequestedItemID {return false} - if lhs.nonce != rhs.nonce {return false} + public static func ==(lhs: AttractedPokemonClientProto, rhs: AttractedPokemonClientProto) -> Bool { + if lhs.context != rhs.context {return false} + if lhs.pokemonTypeID != rhs.pokemonTypeID {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + if lhs.lat != rhs.lat {return false} + if lhs.lng != rhs.lng {return false} + if lhs.encounterLocation != rhs.encounterLocation {return false} + if lhs.encounterID != rhs.encounterID {return false} + if lhs.disappearTimeMs != rhs.disappearTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaBleFinalizeTransfer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaBleFinalizeTransfer" +extension AttractedPokemonEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AttractedPokemonEncounterOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "beluga_transfer_complete"), - 2: .standard(proto: "server_signature"), + 1: .same(proto: "result"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "capture_probability"), + 4: .standard(proto: "active_item"), + 5: .standard(proto: "arplus_attempts_until_flee"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170683,8 +174735,11 @@ extension BelugaBleFinalizeTransfer: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._belugaTransferComplete) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.serverSignature) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() default: break } } @@ -170695,28 +174750,49 @@ extension BelugaBleFinalizeTransfer: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._belugaTransferComplete { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if !self.serverSignature.isEmpty { - try visitor.visitSingularBytesField(value: self.serverSignature, fieldNumber: 2) + try { if let v = self._captureProbability { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) + } + if self.arplusAttemptsUntilFlee != 0 { + try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaBleFinalizeTransfer, rhs: BelugaBleFinalizeTransfer) -> Bool { - if lhs._belugaTransferComplete != rhs._belugaTransferComplete {return false} - if lhs.serverSignature != rhs.serverSignature {return false} + public static func ==(lhs: AttractedPokemonEncounterOutProto, rhs: AttractedPokemonEncounterOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} + if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaBleTransferCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaBleTransferCompleteProto" +extension AttractedPokemonEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "nonce"), - 2: .standard(proto: "beluga_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_ENCOUNTER_NOT_AVAILABLE"), + 3: .same(proto: "ERROR_POKEMON_INVENTORY_FULL"), + ] +} + +extension AttractedPokemonEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AttractedPokemonEncounterProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "encounter_location"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170725,39 +174801,37 @@ extension BelugaBleTransferCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.nonce) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.belugaID) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.nonce.isEmpty { - try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 1) + if self.encounterID != 0 { + try visitor.visitSingularInt64Field(value: self.encounterID, fieldNumber: 1) } - if !self.belugaID.isEmpty { - try visitor.visitSingularStringField(value: self.belugaID, fieldNumber: 2) + if !self.encounterLocation.isEmpty { + try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaBleTransferCompleteProto, rhs: BelugaBleTransferCompleteProto) -> Bool { - if lhs.nonce != rhs.nonce {return false} - if lhs.belugaID != rhs.belugaID {return false} + public static func ==(lhs: AttractedPokemonEncounterProto, rhs: AttractedPokemonEncounterProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.encounterLocation != rhs.encounterLocation {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaBleTransferPrepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaBleTransferPrepProto" +extension AuthBackgroundToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AuthBackgroundToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_list"), - 2: .standard(proto: "eligble_for_item"), - 3: .standard(proto: "transaction_id"), - 4: .standard(proto: "beluga_id"), - 5: .same(proto: "nonce"), + 1: .same(proto: "token"), + 2: .standard(proto: "expiration_time"), + 3: .same(proto: "iv"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170766,53 +174840,41 @@ extension BelugaBleTransferPrepProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonList) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.eligbleForItem) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.transactionID) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.belugaID) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.nonce) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.token) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTime) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.iv) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.pokemonList.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokemonList, fieldNumber: 1) - } - if self.eligbleForItem != false { - try visitor.visitSingularBoolField(value: self.eligbleForItem, fieldNumber: 2) - } - if self.transactionID != 0 { - try visitor.visitSingularInt64Field(value: self.transactionID, fieldNumber: 3) + if !self.token.isEmpty { + try visitor.visitSingularBytesField(value: self.token, fieldNumber: 1) } - if !self.belugaID.isEmpty { - try visitor.visitSingularStringField(value: self.belugaID, fieldNumber: 4) + if self.expirationTime != 0 { + try visitor.visitSingularInt64Field(value: self.expirationTime, fieldNumber: 2) } - if !self.nonce.isEmpty { - try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 5) + if !self.iv.isEmpty { + try visitor.visitSingularBytesField(value: self.iv, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaBleTransferPrepProto, rhs: BelugaBleTransferPrepProto) -> Bool { - if lhs.pokemonList != rhs.pokemonList {return false} - if lhs.eligbleForItem != rhs.eligbleForItem {return false} - if lhs.transactionID != rhs.transactionID {return false} - if lhs.belugaID != rhs.belugaID {return false} - if lhs.nonce != rhs.nonce {return false} + public static func ==(lhs: AuthBackgroundToken, rhs: AuthBackgroundToken) -> Bool { + if lhs.token != rhs.token {return false} + if lhs.expirationTime != rhs.expirationTime {return false} + if lhs.iv != rhs.iv {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaBleTransferProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaBleTransferProto" +extension AuthRegisterBackgroundDeviceActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AuthRegisterBackgroundDeviceActionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "server_response"), - 2: .standard(proto: "server_signature"), - 3: .standard(proto: "localized_origins"), - 4: .same(proto: "language"), + 1: .standard(proto: "device_type"), + 2: .standard(proto: "device_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170821,51 +174883,36 @@ extension BelugaBleTransferProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._serverResponse) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.serverSignature) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.localizedOrigins) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.language) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.deviceType) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.deviceID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._serverResponse { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.serverSignature.isEmpty { - try visitor.visitSingularBytesField(value: self.serverSignature, fieldNumber: 2) - } - if !self.localizedOrigins.isEmpty { - try visitor.visitRepeatedStringField(value: self.localizedOrigins, fieldNumber: 3) + if !self.deviceType.isEmpty { + try visitor.visitSingularStringField(value: self.deviceType, fieldNumber: 1) } - if !self.language.isEmpty { - try visitor.visitSingularStringField(value: self.language, fieldNumber: 4) + if !self.deviceID.isEmpty { + try visitor.visitSingularStringField(value: self.deviceID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaBleTransferProto, rhs: BelugaBleTransferProto) -> Bool { - if lhs._serverResponse != rhs._serverResponse {return false} - if lhs.serverSignature != rhs.serverSignature {return false} - if lhs.localizedOrigins != rhs.localizedOrigins {return false} - if lhs.language != rhs.language {return false} + public static func ==(lhs: AuthRegisterBackgroundDeviceActionProto, rhs: AuthRegisterBackgroundDeviceActionProto) -> Bool { + if lhs.deviceType != rhs.deviceType {return false} + if lhs.deviceID != rhs.deviceID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaDailyTransferLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaDailyTransferLogEntry" +extension AuthRegisterBackgroundDeviceResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AuthRegisterBackgroundDeviceResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "includes_weekly_bonus"), - 3: .standard(proto: "items_awarded"), + 1: .same(proto: "status"), + 2: .same(proto: "token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170874,9 +174921,8 @@ extension BelugaDailyTransferLogEntry: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.includesWeeklyBonus) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._itemsAwarded) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._token) }() default: break } } @@ -170887,39 +174933,36 @@ extension BelugaDailyTransferLogEntry: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.includesWeeklyBonus != false { - try visitor.visitSingularBoolField(value: self.includesWeeklyBonus, fieldNumber: 2) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - try { if let v = self._itemsAwarded { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + try { if let v = self._token { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaDailyTransferLogEntry, rhs: BelugaDailyTransferLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.includesWeeklyBonus != rhs.includesWeeklyBonus {return false} - if lhs._itemsAwarded != rhs._itemsAwarded {return false} + public static func ==(lhs: AuthRegisterBackgroundDeviceResponseProto, rhs: AuthRegisterBackgroundDeviceResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._token != rhs._token {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaDailyTransferLogEntry.Result: SwiftProtobuf._ProtoNameProviding { +extension AuthRegisterBackgroundDeviceResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), ] } -extension BelugaGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaGlobalSettingsProto" +extension AuthenticateAppleSignInRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AuthenticateAppleSignInRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_beluga_transfer"), - 2: .standard(proto: "max_num_pokemon_per_transfer"), + 1: .standard(proto: "apple_id_token"), + 2: .standard(proto: "auth_code"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170928,38 +174971,36 @@ extension BelugaGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableBelugaTransfer) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxNumPokemonPerTransfer) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.appleIDToken) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.authCode) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableBelugaTransfer != false { - try visitor.visitSingularBoolField(value: self.enableBelugaTransfer, fieldNumber: 1) + if !self.appleIDToken.isEmpty { + try visitor.visitSingularBytesField(value: self.appleIDToken, fieldNumber: 1) } - if self.maxNumPokemonPerTransfer != 0 { - try visitor.visitSingularInt32Field(value: self.maxNumPokemonPerTransfer, fieldNumber: 2) + if !self.authCode.isEmpty { + try visitor.visitSingularBytesField(value: self.authCode, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaGlobalSettingsProto, rhs: BelugaGlobalSettingsProto) -> Bool { - if lhs.enableBelugaTransfer != rhs.enableBelugaTransfer {return false} - if lhs.maxNumPokemonPerTransfer != rhs.maxNumPokemonPerTransfer {return false} + public static func ==(lhs: AuthenticateAppleSignInRequestProto, rhs: AuthenticateAppleSignInRequestProto) -> Bool { + if lhs.appleIDToken != rhs.appleIDToken {return false} + if lhs.authCode != rhs.authCode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaIncenseBoxProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaIncenseBoxProto" +extension AuthenticateAppleSignInResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AuthenticateAppleSignInResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_usable"), - 2: .standard(proto: "cool_down_finished_timestamp_ms"), - 3: .standard(proto: "sparkly_limit"), - 4: .standard(proto: "sparkly_counter"), + 1: .same(proto: "status"), + 2: .standard(proto: "nia_apple_auth_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -170968,132 +175009,150 @@ extension BelugaIncenseBoxProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isUsable) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.coolDownFinishedTimestampMs) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._sparklyLimit) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.sparklyCounter) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.niaAppleAuthToken) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.isUsable != false { - try visitor.visitSingularBoolField(value: self.isUsable, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.coolDownFinishedTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.coolDownFinishedTimestampMs, fieldNumber: 2) + if !self.niaAppleAuthToken.isEmpty { + try visitor.visitSingularBytesField(value: self.niaAppleAuthToken, fieldNumber: 2) } - try { if let v = self._sparklyLimit { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if self.sparklyCounter != 0 { - try visitor.visitSingularInt32Field(value: self.sparklyCounter, fieldNumber: 4) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: AuthenticateAppleSignInResponseProto, rhs: AuthenticateAppleSignInResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.niaAppleAuthToken != rhs.niaAppleAuthToken {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension AuthenticateAppleSignInResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "INVALID_AUTH"), + 3: .same(proto: "SERVER_ERROR"), + ] +} + +extension AvatarArticleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AvatarArticleProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "article_id"), + 2: .same(proto: "color"), + 3: .standard(proto: "slot_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.articleID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.color) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.slotID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.articleID.isEmpty { + try visitor.visitSingularStringField(value: self.articleID, fieldNumber: 1) + } + if self.color != 0 { + try visitor.visitSingularInt32Field(value: self.color, fieldNumber: 2) + } + if self.slotID != 0 { + try visitor.visitSingularInt32Field(value: self.slotID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaIncenseBoxProto, rhs: BelugaIncenseBoxProto) -> Bool { - if lhs.isUsable != rhs.isUsable {return false} - if lhs.coolDownFinishedTimestampMs != rhs.coolDownFinishedTimestampMs {return false} - if lhs._sparklyLimit != rhs._sparklyLimit {return false} - if lhs.sparklyCounter != rhs.sparklyCounter {return false} + public static func ==(lhs: AvatarArticleProto, rhs: AvatarArticleProto) -> Bool { + if lhs.articleID != rhs.articleID {return false} + if lhs.color != rhs.color {return false} + if lhs.slotID != rhs.slotID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaPokemonProto" +extension AvatarCustomizationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AvatarCustomizationProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "trainer_name"), - 2: .standard(proto: "trainer_gender"), - 3: .standard(proto: "trainer_team"), - 4: .standard(proto: "trainer_level"), - 5: .standard(proto: "pokedex_id"), - 6: .same(proto: "cp"), - 7: .standard(proto: "pokemon_level"), - 8: .standard(proto: "max_hp"), - 9: .standard(proto: "origin_lat"), - 10: .standard(proto: "origin_lng"), - 11: .same(proto: "height"), - 12: .same(proto: "weight"), - 13: .standard(proto: "individual_attack"), - 14: .standard(proto: "individual_defense"), - 15: .standard(proto: "individual_stamina"), - 16: .standard(proto: "creation_day"), - 17: .standard(proto: "creation_month"), - 18: .standard(proto: "creation_year"), - 19: .same(proto: "nickname"), - 20: .same(proto: "gender"), - 21: .same(proto: "costume"), - 22: .same(proto: "form"), - 23: .same(proto: "shiny"), - 24: .same(proto: "move1"), - 25: .same(proto: "move2"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "avatar_type"), + 3: .same(proto: "slot"), + 4: .standard(proto: "bundle_name"), + 5: .standard(proto: "asset_name"), + 6: .standard(proto: "group_name"), + 7: .standard(proto: "sort_order"), + 8: .standard(proto: "unlock_type"), + 9: .standard(proto: "promo_type"), + 10: .standard(proto: "unlock_badge_type"), + 11: .standard(proto: "iap_sku"), + 12: .standard(proto: "unlock_badge_level"), + 13: .standard(proto: "icon_name"), + 14: .standard(proto: "unlock_player_level"), + 15: .standard(proto: "set_name"), + 16: .standard(proto: "set_prime_item"), + 17: .standard(proto: "incompatible_bundle_names"), + 18: .standard(proto: "set_names"), ] fileprivate class _StorageClass { - var _trainerName: String = String() - var _trainerGender: BelugaPokemonProto.TrainerGender = .trainerMale - var _trainerTeam: BelugaPokemonProto.Team = .none - var _trainerLevel: Int32 = 0 - var _pokedexID: HoloPokemonId = .missingno - var _cp: Int32 = 0 - var _pokemonLevel: Float = 0 - var _maxHp: Int32 = 0 - var _originLat: Double = 0 - var _originLng: Double = 0 - var _height: Float = 0 - var _weight: Float = 0 - var _individualAttack: Int32 = 0 - var _individualDefense: Int32 = 0 - var _individualStamina: Int32 = 0 - var _creationDay: Int32 = 0 - var _creationMonth: Int32 = 0 - var _creationYear: Int32 = 0 - var _nickname: String = String() - var _gender: BelugaPokemonProto.PokemonGender = .genderUnset - var _costume: BelugaPokemonProto.PokemonCostume = .unset - var _form: BelugaPokemonProto.PokemonForm = .formUnset - var _shiny: Bool = false - var _move1: HoloPokemonMove = .moveUnset - var _move2: HoloPokemonMove = .moveUnset + var _enabled: Bool = false + var _avatarType: PlayerAvatarType = .playerAvatarMale + var _slot: [AvatarCustomizationProto.Slot] = [] + var _bundleName: String = String() + var _assetName: String = String() + var _groupName: String = String() + var _sortOrder: Int32 = 0 + var _unlockType: AvatarCustomizationProto.AvatarCustomizationUnlockType = .unsetUnlockType + var _promoType: [AvatarCustomizationProto.AvatarCustomizationPromoType] = [] + var _unlockBadgeType: HoloBadgeType = .badgeUnset + var _iapSku: String = String() + var _unlockBadgeLevel: Int32 = 0 + var _iconName: String = String() + var _unlockPlayerLevel: Int32 = 0 + var _setName: String = String() + var _setPrimeItem: Bool = false + var _incompatibleBundleNames: [String] = [] + var _setNames: [String] = [] static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _trainerName = source._trainerName - _trainerGender = source._trainerGender - _trainerTeam = source._trainerTeam - _trainerLevel = source._trainerLevel - _pokedexID = source._pokedexID - _cp = source._cp - _pokemonLevel = source._pokemonLevel - _maxHp = source._maxHp - _originLat = source._originLat - _originLng = source._originLng - _height = source._height - _weight = source._weight - _individualAttack = source._individualAttack - _individualDefense = source._individualDefense - _individualStamina = source._individualStamina - _creationDay = source._creationDay - _creationMonth = source._creationMonth - _creationYear = source._creationYear - _nickname = source._nickname - _gender = source._gender - _costume = source._costume - _form = source._form - _shiny = source._shiny - _move1 = source._move1 - _move2 = source._move2 + _enabled = source._enabled + _avatarType = source._avatarType + _slot = source._slot + _bundleName = source._bundleName + _assetName = source._assetName + _groupName = source._groupName + _sortOrder = source._sortOrder + _unlockType = source._unlockType + _promoType = source._promoType + _unlockBadgeType = source._unlockBadgeType + _iapSku = source._iapSku + _unlockBadgeLevel = source._unlockBadgeLevel + _iconName = source._iconName + _unlockPlayerLevel = source._unlockPlayerLevel + _setName = source._setName + _setPrimeItem = source._setPrimeItem + _incompatibleBundleNames = source._incompatibleBundleNames + _setNames = source._setNames } } @@ -171112,148 +175171,113 @@ extension BelugaPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._trainerName) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._trainerGender) }() - case 3: try { try decoder.decodeSingularEnumField(value: &_storage._trainerTeam) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._trainerLevel) }() - case 5: try { try decoder.decodeSingularEnumField(value: &_storage._pokedexID) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._cp) }() - case 7: try { try decoder.decodeSingularFloatField(value: &_storage._pokemonLevel) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._maxHp) }() - case 9: try { try decoder.decodeSingularDoubleField(value: &_storage._originLat) }() - case 10: try { try decoder.decodeSingularDoubleField(value: &_storage._originLng) }() - case 11: try { try decoder.decodeSingularFloatField(value: &_storage._height) }() - case 12: try { try decoder.decodeSingularFloatField(value: &_storage._weight) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._individualAttack) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._individualDefense) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._individualStamina) }() - case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._creationDay) }() - case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._creationMonth) }() - case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._creationYear) }() - case 19: try { try decoder.decodeSingularStringField(value: &_storage._nickname) }() - case 20: try { try decoder.decodeSingularEnumField(value: &_storage._gender) }() - case 21: try { try decoder.decodeSingularEnumField(value: &_storage._costume) }() - case 22: try { try decoder.decodeSingularEnumField(value: &_storage._form) }() - case 23: try { try decoder.decodeSingularBoolField(value: &_storage._shiny) }() - case 24: try { try decoder.decodeSingularEnumField(value: &_storage._move1) }() - case 25: try { try decoder.decodeSingularEnumField(value: &_storage._move2) }() - default: break - } - } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if !_storage._trainerName.isEmpty { - try visitor.visitSingularStringField(value: _storage._trainerName, fieldNumber: 1) - } - if _storage._trainerGender != .trainerMale { - try visitor.visitSingularEnumField(value: _storage._trainerGender, fieldNumber: 2) - } - if _storage._trainerTeam != .none { - try visitor.visitSingularEnumField(value: _storage._trainerTeam, fieldNumber: 3) - } - if _storage._trainerLevel != 0 { - try visitor.visitSingularInt32Field(value: _storage._trainerLevel, fieldNumber: 4) - } - if _storage._pokedexID != .missingno { - try visitor.visitSingularEnumField(value: _storage._pokedexID, fieldNumber: 5) - } - if _storage._cp != 0 { - try visitor.visitSingularInt32Field(value: _storage._cp, fieldNumber: 6) - } - if _storage._pokemonLevel != 0 { - try visitor.visitSingularFloatField(value: _storage._pokemonLevel, fieldNumber: 7) + case 1: try { try decoder.decodeSingularBoolField(value: &_storage._enabled) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._avatarType) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &_storage._slot) }() + case 4: try { try decoder.decodeSingularStringField(value: &_storage._bundleName) }() + case 5: try { try decoder.decodeSingularStringField(value: &_storage._assetName) }() + case 6: try { try decoder.decodeSingularStringField(value: &_storage._groupName) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._sortOrder) }() + case 8: try { try decoder.decodeSingularEnumField(value: &_storage._unlockType) }() + case 9: try { try decoder.decodeRepeatedEnumField(value: &_storage._promoType) }() + case 10: try { try decoder.decodeSingularEnumField(value: &_storage._unlockBadgeType) }() + case 11: try { try decoder.decodeSingularStringField(value: &_storage._iapSku) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._unlockBadgeLevel) }() + case 13: try { try decoder.decodeSingularStringField(value: &_storage._iconName) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._unlockPlayerLevel) }() + case 15: try { try decoder.decodeSingularStringField(value: &_storage._setName) }() + case 16: try { try decoder.decodeSingularBoolField(value: &_storage._setPrimeItem) }() + case 17: try { try decoder.decodeRepeatedStringField(value: &_storage._incompatibleBundleNames) }() + case 18: try { try decoder.decodeRepeatedStringField(value: &_storage._setNames) }() + default: break + } } - if _storage._maxHp != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxHp, fieldNumber: 8) + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if _storage._enabled != false { + try visitor.visitSingularBoolField(value: _storage._enabled, fieldNumber: 1) } - if _storage._originLat != 0 { - try visitor.visitSingularDoubleField(value: _storage._originLat, fieldNumber: 9) + if _storage._avatarType != .playerAvatarMale { + try visitor.visitSingularEnumField(value: _storage._avatarType, fieldNumber: 2) } - if _storage._originLng != 0 { - try visitor.visitSingularDoubleField(value: _storage._originLng, fieldNumber: 10) + if !_storage._slot.isEmpty { + try visitor.visitPackedEnumField(value: _storage._slot, fieldNumber: 3) } - if _storage._height != 0 { - try visitor.visitSingularFloatField(value: _storage._height, fieldNumber: 11) + if !_storage._bundleName.isEmpty { + try visitor.visitSingularStringField(value: _storage._bundleName, fieldNumber: 4) } - if _storage._weight != 0 { - try visitor.visitSingularFloatField(value: _storage._weight, fieldNumber: 12) + if !_storage._assetName.isEmpty { + try visitor.visitSingularStringField(value: _storage._assetName, fieldNumber: 5) } - if _storage._individualAttack != 0 { - try visitor.visitSingularInt32Field(value: _storage._individualAttack, fieldNumber: 13) + if !_storage._groupName.isEmpty { + try visitor.visitSingularStringField(value: _storage._groupName, fieldNumber: 6) } - if _storage._individualDefense != 0 { - try visitor.visitSingularInt32Field(value: _storage._individualDefense, fieldNumber: 14) + if _storage._sortOrder != 0 { + try visitor.visitSingularInt32Field(value: _storage._sortOrder, fieldNumber: 7) } - if _storage._individualStamina != 0 { - try visitor.visitSingularInt32Field(value: _storage._individualStamina, fieldNumber: 15) + if _storage._unlockType != .unsetUnlockType { + try visitor.visitSingularEnumField(value: _storage._unlockType, fieldNumber: 8) } - if _storage._creationDay != 0 { - try visitor.visitSingularInt32Field(value: _storage._creationDay, fieldNumber: 16) + if !_storage._promoType.isEmpty { + try visitor.visitPackedEnumField(value: _storage._promoType, fieldNumber: 9) } - if _storage._creationMonth != 0 { - try visitor.visitSingularInt32Field(value: _storage._creationMonth, fieldNumber: 17) + if _storage._unlockBadgeType != .badgeUnset { + try visitor.visitSingularEnumField(value: _storage._unlockBadgeType, fieldNumber: 10) } - if _storage._creationYear != 0 { - try visitor.visitSingularInt32Field(value: _storage._creationYear, fieldNumber: 18) + if !_storage._iapSku.isEmpty { + try visitor.visitSingularStringField(value: _storage._iapSku, fieldNumber: 11) } - if !_storage._nickname.isEmpty { - try visitor.visitSingularStringField(value: _storage._nickname, fieldNumber: 19) + if _storage._unlockBadgeLevel != 0 { + try visitor.visitSingularInt32Field(value: _storage._unlockBadgeLevel, fieldNumber: 12) } - if _storage._gender != .genderUnset { - try visitor.visitSingularEnumField(value: _storage._gender, fieldNumber: 20) + if !_storage._iconName.isEmpty { + try visitor.visitSingularStringField(value: _storage._iconName, fieldNumber: 13) } - if _storage._costume != .unset { - try visitor.visitSingularEnumField(value: _storage._costume, fieldNumber: 21) + if _storage._unlockPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: _storage._unlockPlayerLevel, fieldNumber: 14) } - if _storage._form != .formUnset { - try visitor.visitSingularEnumField(value: _storage._form, fieldNumber: 22) + if !_storage._setName.isEmpty { + try visitor.visitSingularStringField(value: _storage._setName, fieldNumber: 15) } - if _storage._shiny != false { - try visitor.visitSingularBoolField(value: _storage._shiny, fieldNumber: 23) + if _storage._setPrimeItem != false { + try visitor.visitSingularBoolField(value: _storage._setPrimeItem, fieldNumber: 16) } - if _storage._move1 != .moveUnset { - try visitor.visitSingularEnumField(value: _storage._move1, fieldNumber: 24) + if !_storage._incompatibleBundleNames.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._incompatibleBundleNames, fieldNumber: 17) } - if _storage._move2 != .moveUnset { - try visitor.visitSingularEnumField(value: _storage._move2, fieldNumber: 25) + if !_storage._setNames.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._setNames, fieldNumber: 18) } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaPokemonProto, rhs: BelugaPokemonProto) -> Bool { + public static func ==(lhs: AvatarCustomizationProto, rhs: AvatarCustomizationProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._trainerName != rhs_storage._trainerName {return false} - if _storage._trainerGender != rhs_storage._trainerGender {return false} - if _storage._trainerTeam != rhs_storage._trainerTeam {return false} - if _storage._trainerLevel != rhs_storage._trainerLevel {return false} - if _storage._pokedexID != rhs_storage._pokedexID {return false} - if _storage._cp != rhs_storage._cp {return false} - if _storage._pokemonLevel != rhs_storage._pokemonLevel {return false} - if _storage._maxHp != rhs_storage._maxHp {return false} - if _storage._originLat != rhs_storage._originLat {return false} - if _storage._originLng != rhs_storage._originLng {return false} - if _storage._height != rhs_storage._height {return false} - if _storage._weight != rhs_storage._weight {return false} - if _storage._individualAttack != rhs_storage._individualAttack {return false} - if _storage._individualDefense != rhs_storage._individualDefense {return false} - if _storage._individualStamina != rhs_storage._individualStamina {return false} - if _storage._creationDay != rhs_storage._creationDay {return false} - if _storage._creationMonth != rhs_storage._creationMonth {return false} - if _storage._creationYear != rhs_storage._creationYear {return false} - if _storage._nickname != rhs_storage._nickname {return false} - if _storage._gender != rhs_storage._gender {return false} - if _storage._costume != rhs_storage._costume {return false} - if _storage._form != rhs_storage._form {return false} - if _storage._shiny != rhs_storage._shiny {return false} - if _storage._move1 != rhs_storage._move1 {return false} - if _storage._move2 != rhs_storage._move2 {return false} + if _storage._enabled != rhs_storage._enabled {return false} + if _storage._avatarType != rhs_storage._avatarType {return false} + if _storage._slot != rhs_storage._slot {return false} + if _storage._bundleName != rhs_storage._bundleName {return false} + if _storage._assetName != rhs_storage._assetName {return false} + if _storage._groupName != rhs_storage._groupName {return false} + if _storage._sortOrder != rhs_storage._sortOrder {return false} + if _storage._unlockType != rhs_storage._unlockType {return false} + if _storage._promoType != rhs_storage._promoType {return false} + if _storage._unlockBadgeType != rhs_storage._unlockBadgeType {return false} + if _storage._iapSku != rhs_storage._iapSku {return false} + if _storage._unlockBadgeLevel != rhs_storage._unlockBadgeLevel {return false} + if _storage._iconName != rhs_storage._iconName {return false} + if _storage._unlockPlayerLevel != rhs_storage._unlockPlayerLevel {return false} + if _storage._setName != rhs_storage._setName {return false} + if _storage._setPrimeItem != rhs_storage._setPrimeItem {return false} + if _storage._incompatibleBundleNames != rhs_storage._incompatibleBundleNames {return false} + if _storage._setNames != rhs_storage._setNames {return false} return true } if !storagesAreEqual {return false} @@ -171263,55 +175287,56 @@ extension BelugaPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } -extension BelugaPokemonProto.PokemonCostume: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "HOLIDAY_2016"), - 2: .same(proto: "ANNIVERSARY"), - 3: .same(proto: "ONE_YEAR_ANNIVERSARY"), - 4: .same(proto: "HALLOWEEN_2017"), - ] -} - -extension BelugaPokemonProto.PokemonForm: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "FORM_UNSET"), - 1: .same(proto: "ALOLA"), - ] -} - -extension BelugaPokemonProto.PokemonGender: SwiftProtobuf._ProtoNameProviding { +extension AvatarCustomizationProto.AvatarCustomizationPromoType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "GENDER_UNSET"), - 1: .same(proto: "MALE"), - 2: .same(proto: "FEMALE"), - 3: .same(proto: "GENDERLESS"), + 0: .same(proto: "UNSET_PROMO_TYPE"), + 1: .same(proto: "SALE"), + 2: .same(proto: "FEATURED"), ] } -extension BelugaPokemonProto.Team: SwiftProtobuf._ProtoNameProviding { +extension AvatarCustomizationProto.AvatarCustomizationUnlockType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE"), - 1: .same(proto: "TEAM_BLUE"), - 2: .same(proto: "TEAM_RED"), - 3: .same(proto: "TEAM_YELLOW"), + 0: .same(proto: "UNSET_UNLOCK_TYPE"), + 1: .same(proto: "DEFAULT"), + 2: .same(proto: "MEDAL_REWARD"), + 3: .same(proto: "IAP_CLOTHING"), + 4: .same(proto: "LEVEL_REWARD"), + 5: .same(proto: "COMBAT_RANK_REWARD"), ] } -extension BelugaPokemonProto.TrainerGender: SwiftProtobuf._ProtoNameProviding { +extension AvatarCustomizationProto.Slot: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TRAINER_MALE"), - 1: .same(proto: "TRAINER_FEMALE"), + 0: .same(proto: "UNSET_SLOT"), + 1: .same(proto: "HAIR"), + 2: .same(proto: "SHIRT"), + 3: .same(proto: "PANTS"), + 4: .same(proto: "HAT"), + 5: .same(proto: "SHOES"), + 6: .same(proto: "EYES"), + 7: .same(proto: "BACKPACK"), + 8: .same(proto: "GLOVES"), + 9: .same(proto: "SOCKS"), + 10: .same(proto: "BELT"), + 11: .same(proto: "GLASSES"), + 12: .same(proto: "NECKLACE"), + 13: .same(proto: "SKIN"), + 14: .same(proto: "POSE"), + 15: .same(proto: "FACE"), + 16: .same(proto: "PROP"), ] } -extension BelugaPokemonWhitelist: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaPokemonWhitelist" +extension AvatarCustomizationTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AvatarCustomizationTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "max_allowed_pokemon_pokedex_number"), - 2: .standard(proto: "additional_pokemon_allowed"), - 3: .standard(proto: "forms_allowed"), - 4: .standard(proto: "costumes_allowed"), + 1: .standard(proto: "avatar_customization_click_id"), + 2: .standard(proto: "asset_name"), + 3: .same(proto: "sku"), + 4: .standard(proto: "has_enough_coins"), + 5: .standard(proto: "group_name"), + 6: .standard(proto: "color_choice_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171320,50 +175345,55 @@ extension BelugaPokemonWhitelist: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.maxAllowedPokemonPokedexNumber) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.additionalPokemonAllowed) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.formsAllowed) }() - case 4: try { try decoder.decodeRepeatedEnumField(value: &self.costumesAllowed) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.avatarCustomizationClickID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.assetName) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.sku) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.hasEnoughCoins_p) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.groupName) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.colorChoiceID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.maxAllowedPokemonPokedexNumber != 0 { - try visitor.visitSingularInt32Field(value: self.maxAllowedPokemonPokedexNumber, fieldNumber: 1) + if self.avatarCustomizationClickID != .undefinedAvatarCustomization { + try visitor.visitSingularEnumField(value: self.avatarCustomizationClickID, fieldNumber: 1) } - if !self.additionalPokemonAllowed.isEmpty { - try visitor.visitPackedEnumField(value: self.additionalPokemonAllowed, fieldNumber: 2) + if !self.assetName.isEmpty { + try visitor.visitSingularStringField(value: self.assetName, fieldNumber: 2) } - if !self.formsAllowed.isEmpty { - try visitor.visitPackedEnumField(value: self.formsAllowed, fieldNumber: 3) + if !self.sku.isEmpty { + try visitor.visitSingularStringField(value: self.sku, fieldNumber: 3) } - if !self.costumesAllowed.isEmpty { - try visitor.visitPackedEnumField(value: self.costumesAllowed, fieldNumber: 4) + if self.hasEnoughCoins_p != false { + try visitor.visitSingularBoolField(value: self.hasEnoughCoins_p, fieldNumber: 4) + } + if !self.groupName.isEmpty { + try visitor.visitSingularStringField(value: self.groupName, fieldNumber: 5) + } + if !self.colorChoiceID.isEmpty { + try visitor.visitSingularStringField(value: self.colorChoiceID, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaPokemonWhitelist, rhs: BelugaPokemonWhitelist) -> Bool { - if lhs.maxAllowedPokemonPokedexNumber != rhs.maxAllowedPokemonPokedexNumber {return false} - if lhs.additionalPokemonAllowed != rhs.additionalPokemonAllowed {return false} - if lhs.formsAllowed != rhs.formsAllowed {return false} - if lhs.costumesAllowed != rhs.costumesAllowed {return false} + public static func ==(lhs: AvatarCustomizationTelemetry, rhs: AvatarCustomizationTelemetry) -> Bool { + if lhs.avatarCustomizationClickID != rhs.avatarCustomizationClickID {return false} + if lhs.assetName != rhs.assetName {return false} + if lhs.sku != rhs.sku {return false} + if lhs.hasEnoughCoins_p != rhs.hasEnoughCoins_p {return false} + if lhs.groupName != rhs.groupName {return false} + if lhs.colorChoiceID != rhs.colorChoiceID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaTransactionCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaTransactionCompleteOutProto" +extension AvatarGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AvatarGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "candy_awarded"), - 3: .standard(proto: "loot_awarded"), - 4: .standard(proto: "beluga_finalize_response"), - 5: .standard(proto: "buckets_until_weekly_award"), - 6: .standard(proto: "xl_candy_awarded_per_id"), + 1: .standard(proto: "enable_pose"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171372,75 +175402,30 @@ extension BelugaTransactionCompleteOutProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.candyAwarded) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._lootAwarded) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._belugaFinalizeResponse) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.bucketsUntilWeeklyAward) }() - case 6: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.xlCandyAwardedPerID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enablePose) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if self.candyAwarded != 0 { - try visitor.visitSingularInt32Field(value: self.candyAwarded, fieldNumber: 2) - } - try { if let v = self._lootAwarded { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._belugaFinalizeResponse { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.bucketsUntilWeeklyAward != 0 { - try visitor.visitSingularInt32Field(value: self.bucketsUntilWeeklyAward, fieldNumber: 5) - } - if !self.xlCandyAwardedPerID.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.xlCandyAwardedPerID, fieldNumber: 6) + if self.enablePose != false { + try visitor.visitSingularBoolField(value: self.enablePose, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaTransactionCompleteOutProto, rhs: BelugaTransactionCompleteOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.candyAwarded != rhs.candyAwarded {return false} - if lhs._lootAwarded != rhs._lootAwarded {return false} - if lhs._belugaFinalizeResponse != rhs._belugaFinalizeResponse {return false} - if lhs.bucketsUntilWeeklyAward != rhs.bucketsUntilWeeklyAward {return false} - if lhs.xlCandyAwardedPerID != rhs.xlCandyAwardedPerID {return false} + public static func ==(lhs: AvatarGlobalSettingsProto, rhs: AvatarGlobalSettingsProto) -> Bool { + if lhs.enablePose != rhs.enablePose {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaTransactionCompleteOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILED"), - 3: .same(proto: "ERROR_INVALID_POKEMON_ID"), - 4: .same(proto: "ERROR_POKEMON_DEPLOYED"), - 5: .same(proto: "ERROR_POKEMON_NOT_ALLOWED"), - 6: .same(proto: "ERROR_POKEMON_IS_BUDDY"), - 7: .same(proto: "ERROR_INVALID_TRANSACTION_ID"), - 8: .same(proto: "ERROR_MISSING_TRANSACTION_ID"), - ] -} - -extension BelugaTransactionCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaTransactionCompleteProto" +extension AvatarGroupSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AvatarGroupSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "beluga_transfer"), - 2: .standard(proto: "app_signature"), - 3: .standard(proto: "firmware_signature"), + 1: .same(proto: "group"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171449,46 +175434,32 @@ extension BelugaTransactionCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._belugaTransfer) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.appSignature) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.firmwareSignature) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.group) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._belugaTransfer { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.appSignature.isEmpty { - try visitor.visitSingularBytesField(value: self.appSignature, fieldNumber: 2) - } - if !self.firmwareSignature.isEmpty { - try visitor.visitSingularBytesField(value: self.firmwareSignature, fieldNumber: 3) + if !self.group.isEmpty { + try visitor.visitRepeatedMessageField(value: self.group, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaTransactionCompleteProto, rhs: BelugaTransactionCompleteProto) -> Bool { - if lhs._belugaTransfer != rhs._belugaTransfer {return false} - if lhs.appSignature != rhs.appSignature {return false} - if lhs.firmwareSignature != rhs.firmwareSignature {return false} + public static func ==(lhs: AvatarGroupSettingsProto, rhs: AvatarGroupSettingsProto) -> Bool { + if lhs.group != rhs.group {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaTransactionStartOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaTransactionStartOutProto" +extension AvatarGroupSettingsProto.AvatarGroupProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = AvatarGroupSettingsProto.protoMessageName + ".AvatarGroupProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "beluga_transfer_prep"), - 3: .standard(proto: "server_signature"), + 1: .same(proto: "name"), + 2: .same(proto: "order"), + 3: .standard(proto: "new_tag_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171497,62 +175468,42 @@ extension BelugaTransactionStartOutProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._belugaTransferPrep) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.serverSignature) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.order) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.newTagEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - try { if let v = self._belugaTransferPrep { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.serverSignature.isEmpty { - try visitor.visitSingularBytesField(value: self.serverSignature, fieldNumber: 3) + if self.order != 0 { + try visitor.visitSingularInt32Field(value: self.order, fieldNumber: 2) + } + if self.newTagEnabled != false { + try visitor.visitSingularBoolField(value: self.newTagEnabled, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaTransactionStartOutProto, rhs: BelugaTransactionStartOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._belugaTransferPrep != rhs._belugaTransferPrep {return false} - if lhs.serverSignature != rhs.serverSignature {return false} + public static func ==(lhs: AvatarGroupSettingsProto.AvatarGroupProto, rhs: AvatarGroupSettingsProto.AvatarGroupProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.order != rhs.order {return false} + if lhs.newTagEnabled != rhs.newTagEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BelugaTransactionStartOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILED"), - 3: .same(proto: "ERROR_INVALID_POKEMON_ID"), - 4: .same(proto: "ERROR_POKEMON_DEPLOYED"), - 5: .same(proto: "ERROR_POKEMON_IS_EGG"), - 6: .same(proto: "ERROR_POKEMON_IS_BUDDY"), - 7: .same(proto: "ERROR_POKEMON_NOT_ALLOWED"), - 8: .same(proto: "ERROR_INVALID_NONCE"), - 9: .same(proto: "ERROR_TOO_MANY_POKEMON"), - 10: .same(proto: "ERROR_NO_POKEMON_SPECIFIED"), - ] -} - -extension BelugaTransactionStartProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BelugaTransactionStartProto" +extension AvatarItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AvatarItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .same(proto: "nonce"), - 3: .standard(proto: "beluga_id"), + 1: .standard(proto: "avatar_template_id"), + 2: .standard(proto: "new_timestamp_ms"), + 3: .same(proto: "viewed"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171561,40 +175512,42 @@ extension BelugaTransactionStartProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedInt64Field(value: &self.pokemonID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.nonce) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.belugaID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.avatarTemplateID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.newTimestampMs) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.viewed) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.pokemonID.isEmpty { - try visitor.visitPackedInt64Field(value: self.pokemonID, fieldNumber: 1) + if !self.avatarTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.avatarTemplateID, fieldNumber: 1) } - if !self.nonce.isEmpty { - try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 2) + if self.newTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.newTimestampMs, fieldNumber: 2) } - if !self.belugaID.isEmpty { - try visitor.visitSingularStringField(value: self.belugaID, fieldNumber: 3) + if self.viewed != false { + try visitor.visitSingularBoolField(value: self.viewed, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BelugaTransactionStartProto, rhs: BelugaTransactionStartProto) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.nonce != rhs.nonce {return false} - if lhs.belugaID != rhs.belugaID {return false} + public static func ==(lhs: AvatarItemProto, rhs: AvatarItemProto) -> Bool { + if lhs.avatarTemplateID != rhs.avatarTemplateID {return false} + if lhs.newTimestampMs != rhs.newTimestampMs {return false} + if lhs.viewed != rhs.viewed {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BlockAccountOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BlockAccountOutProto" +extension AvatarLockProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AvatarLockProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 2: .standard(proto: "player_level_lock"), + 3: .standard(proto: "badge_level_lock"), + 1: .standard(proto: "is_locked"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171603,40 +175556,77 @@ extension BlockAccountOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isLocked) }() + case 2: try { + var v: PlayerLevelAvatarLockProto? + var hadOneofValue = false + if let current = self.lock { + hadOneofValue = true + if case .playerLevelLock(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.lock = .playerLevelLock(v) + } + }() + case 3: try { + var v: BadgeLevelAvatarLockProto? + var hadOneofValue = false + if let current = self.lock { + hadOneofValue = true + if case .badgeLevelLock(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.lock = .badgeLevelLock(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.isLocked != false { + try visitor.visitSingularBoolField(value: self.isLocked, fieldNumber: 1) + } + switch self.lock { + case .playerLevelLock?: try { + guard case .playerLevelLock(let v)? = self.lock else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .badgeLevelLock?: try { + guard case .badgeLevelLock(let v)? = self.lock else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BlockAccountOutProto, rhs: BlockAccountOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: AvatarLockProto, rhs: AvatarLockProto) -> Bool { + if lhs.lock != rhs.lock {return false} + if lhs.isLocked != rhs.isLocked {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BlockAccountOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_DOES_NOT_EXIST"), - 3: .same(proto: "ERROR_ALREADY_BLOCKED"), - 4: .same(proto: "ERROR_UPDATE_FRIENDSHIP_FAILED"), - ] -} - -extension BlockAccountProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BlockAccountProto" +extension AvatarStoreItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AvatarStoreItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "blockee_nia_account_id"), + 1: .standard(proto: "article_id"), + 2: .standard(proto: "iap_sku"), + 25: .standard(proto: "is_owned"), + 26: .standard(proto: "is_purchasable"), + 27: .standard(proto: "is_new"), + 1000: .same(proto: "slot"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171645,31 +175635,62 @@ extension BlockAccountProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.blockeeNiaAccountID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.articleID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.iapSku) }() + case 25: try { try decoder.decodeSingularBoolField(value: &self.isOwned) }() + case 26: try { try decoder.decodeSingularBoolField(value: &self.isPurchasable) }() + case 27: try { try decoder.decodeSingularBoolField(value: &self.isNew) }() + case 1000: try { try decoder.decodeSingularEnumField(value: &self.slot) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.blockeeNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.blockeeNiaAccountID, fieldNumber: 1) + if !self.articleID.isEmpty { + try visitor.visitSingularStringField(value: self.articleID, fieldNumber: 1) + } + if !self.iapSku.isEmpty { + try visitor.visitSingularStringField(value: self.iapSku, fieldNumber: 2) + } + if self.isOwned != false { + try visitor.visitSingularBoolField(value: self.isOwned, fieldNumber: 25) + } + if self.isPurchasable != false { + try visitor.visitSingularBoolField(value: self.isPurchasable, fieldNumber: 26) + } + if self.isNew != false { + try visitor.visitSingularBoolField(value: self.isNew, fieldNumber: 27) + } + if self.slot != .unset { + try visitor.visitSingularEnumField(value: self.slot, fieldNumber: 1000) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BlockAccountProto, rhs: BlockAccountProto) -> Bool { - if lhs.blockeeNiaAccountID != rhs.blockeeNiaAccountID {return false} + public static func ==(lhs: AvatarStoreItemProto, rhs: AvatarStoreItemProto) -> Bool { + if lhs.articleID != rhs.articleID {return false} + if lhs.iapSku != rhs.iapSku {return false} + if lhs.isOwned != rhs.isOwned {return false} + if lhs.isPurchasable != rhs.isPurchasable {return false} + if lhs.isNew != rhs.isNew {return false} + if lhs.slot != rhs.slot {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BonusBoxProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BonusBoxProto" +extension AvatarStoreListingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AvatarStoreListingProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "text"), - 2: .standard(proto: "icon_type"), + 1: .same(proto: "items"), + 3: .standard(proto: "sort_order"), + 4: .standard(proto: "icon_address"), + 5: .standard(proto: "display_name_string_id"), + 6: .standard(proto: "is_set"), + 7: .standard(proto: "is_recommended"), + 25: .same(proto: "lock"), + 1000: .standard(proto: "group_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171678,76 +175699,69 @@ extension BonusBoxProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.text) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.iconType) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.items) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.sortOrder) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.iconAddress) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.displayNameStringID) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.isSet) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.isRecommended) }() + case 25: try { try decoder.decodeSingularMessageField(value: &self._lock) }() + case 1000: try { try decoder.decodeSingularStringField(value: &self.groupName) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.text.isEmpty { - try visitor.visitSingularStringField(value: self.text, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.items.isEmpty { + try visitor.visitRepeatedMessageField(value: self.items, fieldNumber: 1) } - if self.iconType != .unset { - try visitor.visitSingularEnumField(value: self.iconType, fieldNumber: 2) + if self.sortOrder != 0 { + try visitor.visitSingularInt32Field(value: self.sortOrder, fieldNumber: 3) + } + if !self.iconAddress.isEmpty { + try visitor.visitSingularStringField(value: self.iconAddress, fieldNumber: 4) + } + if !self.displayNameStringID.isEmpty { + try visitor.visitSingularStringField(value: self.displayNameStringID, fieldNumber: 5) + } + if self.isSet != false { + try visitor.visitSingularBoolField(value: self.isSet, fieldNumber: 6) + } + if self.isRecommended != false { + try visitor.visitSingularBoolField(value: self.isRecommended, fieldNumber: 7) + } + try { if let v = self._lock { + try visitor.visitSingularMessageField(value: v, fieldNumber: 25) + } }() + if !self.groupName.isEmpty { + try visitor.visitSingularStringField(value: self.groupName, fieldNumber: 1000) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BonusBoxProto, rhs: BonusBoxProto) -> Bool { - if lhs.text != rhs.text {return false} - if lhs.iconType != rhs.iconType {return false} + public static func ==(lhs: AvatarStoreListingProto, rhs: AvatarStoreListingProto) -> Bool { + if lhs.items != rhs.items {return false} + if lhs.sortOrder != rhs.sortOrder {return false} + if lhs.iconAddress != rhs.iconAddress {return false} + if lhs.displayNameStringID != rhs.displayNameStringID {return false} + if lhs.isSet != rhs.isSet {return false} + if lhs.isRecommended != rhs.isRecommended {return false} + if lhs._lock != rhs._lock {return false} + if lhs.groupName != rhs.groupName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BonusBoxProto.IconType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ADVENTURE_SYNC"), - 2: .same(proto: "BUDDY"), - 3: .same(proto: "CANDY_GENERAL"), - 4: .same(proto: "EGG"), - 5: .same(proto: "EGG_INCUBATOR"), - 6: .same(proto: "EVENT_MOVE"), - 7: .same(proto: "EVOLUTION"), - 8: .same(proto: "FIELD_RESEARCH"), - 9: .same(proto: "FRIENDSHIP"), - 10: .same(proto: "GIFT"), - 11: .same(proto: "INCENSE"), - 12: .same(proto: "LUCKY_EGG"), - 13: .same(proto: "LURE_MODULE"), - 14: .same(proto: "PHOTOBOMB"), - 15: .same(proto: "POKESTOP"), - 16: .same(proto: "RAID"), - 17: .same(proto: "RAID_PASS"), - 18: .same(proto: "SPAWN_UNKNOWN"), - 19: .same(proto: "STAR_PIECE"), - 20: .same(proto: "STARDUST"), - 21: .same(proto: "TEAM_ROCKET"), - 22: .same(proto: "TRADE"), - 23: .same(proto: "TRANSFER_CANDY"), - 24: .same(proto: "BATTLE"), - 25: .same(proto: "XP"), - 26: .same(proto: "SHOP"), - 27: .same(proto: "LOCATION"), - 28: .same(proto: "EVENT"), - 29: .same(proto: "MYSTERY_BOX"), - 30: .same(proto: "TRADE_BALL"), - 31: .same(proto: "CANDY_XL"), - 32: .same(proto: "HEART"), - 33: .same(proto: "TIMER"), - 34: .same(proto: "POSTCARD"), - 35: .same(proto: "STICKER"), - ] -} - -extension BoolValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BoolValue" +extension AwardFreeRaidTicketOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AwardFreeRaidTicketOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171756,31 +175770,42 @@ extension BoolValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.value) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.value != false { - try visitor.visitSingularBoolField(value: self.value, fieldNumber: 1) + if self.result != .noResultSet { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BoolValue, rhs: BoolValue) -> Bool { - if lhs.value != rhs.value {return false} + public static func ==(lhs: AwardFreeRaidTicketOutProto, rhs: AwardFreeRaidTicketOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BootSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BootSettingsProto" +extension AwardFreeRaidTicketOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_bool"), + 0: .same(proto: "NO_RESULT_SET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_PLAYER_DOES_NOT_MEET_MIN_LEVEL"), + 3: .same(proto: "ERROR_DAILY_TICKET_ALREADY_AWARDED"), + 4: .same(proto: "ERROR_PLAYER_OUT_OF_RANGE"), + ] +} + +extension AwardFreeRaidTicketProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AwardFreeRaidTicketProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "gym_id"), + 2: .standard(proto: "player_lat_degrees"), + 3: .standard(proto: "player_lng_degrees"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171789,36 +175814,42 @@ extension BootSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) + } + if self.playerLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 2) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + if self.playerLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BootSettingsProto, rhs: BootSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: AwardFreeRaidTicketProto, rhs: AwardFreeRaidTicketProto) -> Bool { + if lhs.gymID != rhs.gymID {return false} + if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} + if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BootTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BootTelemetry" +extension AwardItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AwardItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "nearest_poi_distance"), - 2: .standard(proto: "poi_within_one_km_count"), + 1: .same(proto: "item"), + 2: .standard(proto: "item_count"), + 3: .standard(proto: "bonus_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -171827,58 +175858,93 @@ extension BootTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.nearestPoiDistance) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.poiWithinOneKmCount) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.itemCount) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.bonusCount) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.nearestPoiDistance != 0 { - try visitor.visitSingularFloatField(value: self.nearestPoiDistance, fieldNumber: 1) + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) } - if self.poiWithinOneKmCount != 0 { - try visitor.visitSingularInt32Field(value: self.poiWithinOneKmCount, fieldNumber: 2) + if self.itemCount != 0 { + try visitor.visitSingularInt32Field(value: self.itemCount, fieldNumber: 2) + } + if self.bonusCount != 0 { + try visitor.visitSingularInt32Field(value: self.bonusCount, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BootTelemetry, rhs: BootTelemetry) -> Bool { - if lhs.nearestPoiDistance != rhs.nearestPoiDistance {return false} - if lhs.poiWithinOneKmCount != rhs.poiWithinOneKmCount {return false} + public static func ==(lhs: AwardItemProto, rhs: AwardItemProto) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.itemCount != rhs.itemCount {return false} + if lhs.bonusCount != rhs.bonusCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BootTime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BootTime" +extension AwardedGymBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AwardedGymBadge" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "duration"), - 2: .standard(proto: "boot_phase"), - 3: .standard(proto: "account_type"), - 4: .standard(proto: "ob_bool"), - 5: .standard(proto: "ob_bool_1"), + 1: .standard(proto: "fort_id"), + 2: .standard(proto: "gym_badge_type"), + 3: .same(proto: "score"), + 4: .standard(proto: "gym_badge_stats"), + 5: .standard(proto: "last_update_timestamp_ms"), + 6: .same(proto: "name"), + 7: .standard(proto: "image_url"), + 8: .same(proto: "description"), + 9: .same(proto: "latitude"), + 10: .same(proto: "longitude"), + 11: .standard(proto: "last_check_timestamp_ms"), + 12: .standard(proto: "earned_points"), + 13: .same(proto: "progress"), + 14: .standard(proto: "level_up"), + 15: .same(proto: "raids"), ] fileprivate class _StorageClass { - var _duration: MetricData? = nil - var _bootPhase: BootTime.BootPhase = .undefined - var _accountType: BootTime.AccountType = .unknown - var _obBool: Bool = false - var _obBool1: Bool = false + var _fortID: String = String() + var _gymBadgeType: GymBadgeType = .gymBadgeUnset + var _score: UInt32 = 0 + var _gymBadgeStats: GymBadgeStats? = nil + var _lastUpdateTimestampMs: UInt64 = 0 + var _name: String = String() + var _imageURL: String = String() + var _description_p: String = String() + var _latitude: Double = 0 + var _longitude: Double = 0 + var _lastCheckTimestampMs: UInt64 = 0 + var _earnedPoints: UInt32 = 0 + var _progress: Float = 0 + var _levelUp: Bool = false + var _raids: PlayerRaidInfoProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _duration = source._duration - _bootPhase = source._bootPhase - _accountType = source._accountType - _obBool = source._obBool - _obBool1 = source._obBool1 + _fortID = source._fortID + _gymBadgeType = source._gymBadgeType + _score = source._score + _gymBadgeStats = source._gymBadgeStats + _lastUpdateTimestampMs = source._lastUpdateTimestampMs + _name = source._name + _imageURL = source._imageURL + _description_p = source._description_p + _latitude = source._latitude + _longitude = source._longitude + _lastCheckTimestampMs = source._lastCheckTimestampMs + _earnedPoints = source._earnedPoints + _progress = source._progress + _levelUp = source._levelUp + _raids = source._raids } } @@ -171897,11 +175963,21 @@ extension BootTime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._duration) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._bootPhase) }() - case 3: try { try decoder.decodeSingularEnumField(value: &_storage._accountType) }() - case 4: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 5: try { try decoder.decodeSingularBoolField(value: &_storage._obBool1) }() + case 1: try { try decoder.decodeSingularStringField(value: &_storage._fortID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._gymBadgeType) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &_storage._score) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._gymBadgeStats) }() + case 5: try { try decoder.decodeSingularUInt64Field(value: &_storage._lastUpdateTimestampMs) }() + case 6: try { try decoder.decodeSingularStringField(value: &_storage._name) }() + case 7: try { try decoder.decodeSingularStringField(value: &_storage._imageURL) }() + case 8: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }() + case 9: try { try decoder.decodeSingularDoubleField(value: &_storage._latitude) }() + case 10: try { try decoder.decodeSingularDoubleField(value: &_storage._longitude) }() + case 11: try { try decoder.decodeSingularUInt64Field(value: &_storage._lastCheckTimestampMs) }() + case 12: try { try decoder.decodeSingularUInt32Field(value: &_storage._earnedPoints) }() + case 13: try { try decoder.decodeSingularFloatField(value: &_storage._progress) }() + case 14: try { try decoder.decodeSingularBoolField(value: &_storage._levelUp) }() + case 15: try { try decoder.decodeSingularMessageField(value: &_storage._raids) }() default: break } } @@ -171914,35 +175990,75 @@ extension BootTime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._duration { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + if !_storage._fortID.isEmpty { + try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 1) + } + if _storage._gymBadgeType != .gymBadgeUnset { + try visitor.visitSingularEnumField(value: _storage._gymBadgeType, fieldNumber: 2) + } + if _storage._score != 0 { + try visitor.visitSingularUInt32Field(value: _storage._score, fieldNumber: 3) + } + try { if let v = _storage._gymBadgeStats { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() - if _storage._bootPhase != .undefined { - try visitor.visitSingularEnumField(value: _storage._bootPhase, fieldNumber: 2) + if _storage._lastUpdateTimestampMs != 0 { + try visitor.visitSingularUInt64Field(value: _storage._lastUpdateTimestampMs, fieldNumber: 5) + } + if !_storage._name.isEmpty { + try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 6) } - if _storage._accountType != .unknown { - try visitor.visitSingularEnumField(value: _storage._accountType, fieldNumber: 3) + if !_storage._imageURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._imageURL, fieldNumber: 7) + } + if !_storage._description_p.isEmpty { + try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 8) + } + if _storage._latitude != 0 { + try visitor.visitSingularDoubleField(value: _storage._latitude, fieldNumber: 9) + } + if _storage._longitude != 0 { + try visitor.visitSingularDoubleField(value: _storage._longitude, fieldNumber: 10) + } + if _storage._lastCheckTimestampMs != 0 { + try visitor.visitSingularUInt64Field(value: _storage._lastCheckTimestampMs, fieldNumber: 11) + } + if _storage._earnedPoints != 0 { + try visitor.visitSingularUInt32Field(value: _storage._earnedPoints, fieldNumber: 12) } - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 4) + if _storage._progress != 0 { + try visitor.visitSingularFloatField(value: _storage._progress, fieldNumber: 13) } - if _storage._obBool1 != false { - try visitor.visitSingularBoolField(value: _storage._obBool1, fieldNumber: 5) + if _storage._levelUp != false { + try visitor.visitSingularBoolField(value: _storage._levelUp, fieldNumber: 14) } + try { if let v = _storage._raids { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BootTime, rhs: BootTime) -> Bool { + public static func ==(lhs: AwardedGymBadge, rhs: AwardedGymBadge) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._duration != rhs_storage._duration {return false} - if _storage._bootPhase != rhs_storage._bootPhase {return false} - if _storage._accountType != rhs_storage._accountType {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obBool1 != rhs_storage._obBool1 {return false} + if _storage._fortID != rhs_storage._fortID {return false} + if _storage._gymBadgeType != rhs_storage._gymBadgeType {return false} + if _storage._score != rhs_storage._score {return false} + if _storage._gymBadgeStats != rhs_storage._gymBadgeStats {return false} + if _storage._lastUpdateTimestampMs != rhs_storage._lastUpdateTimestampMs {return false} + if _storage._name != rhs_storage._name {return false} + if _storage._imageURL != rhs_storage._imageURL {return false} + if _storage._description_p != rhs_storage._description_p {return false} + if _storage._latitude != rhs_storage._latitude {return false} + if _storage._longitude != rhs_storage._longitude {return false} + if _storage._lastCheckTimestampMs != rhs_storage._lastCheckTimestampMs {return false} + if _storage._earnedPoints != rhs_storage._earnedPoints {return false} + if _storage._progress != rhs_storage._progress {return false} + if _storage._levelUp != rhs_storage._levelUp {return false} + if _storage._raids != rhs_storage._raids {return false} return true } if !storagesAreEqual {return false} @@ -171952,110 +176068,257 @@ extension BootTime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB } } -extension BootTime.BootPhase: SwiftProtobuf._ProtoNameProviding { +extension AwardedRouteBadge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AwardedRouteBadge" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "TIME_TO_MAP"), - 2: .same(proto: "LOGO_SCREEN_TIME"), - 3: .same(proto: "MAIN_SCENE_LOAD_TIME"), - 4: .same(proto: "WAIT_FOR_AUTH"), - 5: .same(proto: "INIT_REMOTE_CONFIG_VERSIONS"), - 6: .same(proto: "INIT_BUNDLE_DIGEST"), - 7: .same(proto: "INIT_GMT"), - 8: .same(proto: "DOWNLOAD_I18N"), - 9: .same(proto: "DOWNLOAD_GLOBAL_ASSETS"), - 10: .same(proto: "REGISTER_PUSH_NOTIFICATION"), - 11: .same(proto: "INITIALIZE_UPSIGHT"), - 12: .same(proto: "INITIALIZE_CRITTERCISM"), - 13: .same(proto: "LOGIN_VERSION_CHECK"), - 14: .same(proto: "LOGIN_GET_PLAYER"), - 15: .same(proto: "LOGIN_AUTHENTICATION"), - 16: .same(proto: "MODAL_TIME"), - 17: .same(proto: "INITIALIZE_ADJUST"), - 20: .same(proto: "INITIALIZE_FIREBASE"), - 21: .same(proto: "INITIALIZE_CRASHLYTICS"), - 22: .same(proto: "INITIALIZE_BRAZE"), - 23: .same(proto: "DOWNLOAD_BOOT_ADDRESSABLES"), - 24: .same(proto: "INITIALIZE_OMNI"), - 25: .same(proto: "CONFIGURE_ARDK"), - 26: .same(proto: "LOAD_BOOT_SEQUENCE_GUI"), - 27: .same(proto: "WAIT_SERVER_SEQUENCE_DONE"), - 28: .same(proto: "SET_MAIN_SCENE_ACTIVE"), - 29: .same(proto: "INSTALL_SCENE_CONTEXT"), - 30: .same(proto: "WAIT_SHOW_MAP"), + 1: .standard(proto: "route_id"), + 2: .standard(proto: "route_type"), + 3: .standard(proto: "num_completions"), + 4: .standard(proto: "last_played_time"), + 5: .standard(proto: "unique_route_stamp"), + 6: .standard(proto: "route_name"), + 7: .standard(proto: "route_description"), + 8: .standard(proto: "route_creator_codename"), + 9: .standard(proto: "route_image_url"), + 10: .standard(proto: "route_duration_seconds"), + 11: .standard(proto: "last_played_waypoints"), + 12: .standard(proto: "last_played_duration_seconds"), + 13: .standard(proto: "weather_condition_on_last_completed_session"), + 14: .standard(proto: "route_badge_type"), + 15: .standard(proto: "start_lat"), + 16: .standard(proto: "start_lng"), + 17: .standard(proto: "route_distance_meters"), + 18: .standard(proto: "badge_level"), + 19: .same(proto: "rated"), + 20: .standard(proto: "can_preview"), + 21: .same(proto: "hidden"), + 22: .same(proto: "route"), ] -} -extension BootTime.AccountType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "GOOGLE"), - 2: .same(proto: "PTC"), - 3: .same(proto: "FACEBOOK"), - 4: .same(proto: "SUPER_AWESOME"), - 5: .same(proto: "APPLE"), - 6: .same(proto: "GUEST"), - ] -} + fileprivate class _StorageClass { + var _routeID: String = String() + var _routeType: RouteType = .unset + var _numCompletions: Int32 = 0 + var _lastPlayedTime: Int64 = 0 + var _uniqueRouteStamp: [RouteStamp] = [] + var _routeName: String = String() + var _routeDescription: String = String() + var _routeCreatorCodename: String = String() + var _routeImageURL: String = String() + var _routeDurationSeconds: Int64 = 0 + var _lastPlayedWaypoints: [AwardedRouteBadge.RouteBadgeWaypoint] = [] + var _lastPlayedDurationSeconds: Int64 = 0 + var _weatherConditionOnLastCompletedSession: GameplayWeatherProto.WeatherCondition = .none + var _routeBadgeType: AwardedRouteBadge.RouteBadgeType = .routeBadgeUnset + var _startLat: Double = 0 + var _startLng: Double = 0 + var _routeDistanceMeters: Int64 = 0 + var _badgeLevel: RouteBadgeLevel.BadgeLevel = .routeBadgeUnset + var _rated: Bool = false + var _canPreview: Bool = false + var _hidden: Bool = false + var _route: SharedRouteProto? = nil -extension BoundingRect: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BoundingRect" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "north"), - 2: .same(proto: "south"), - 3: .same(proto: "east"), - 4: .same(proto: "west"), - ] + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _routeID = source._routeID + _routeType = source._routeType + _numCompletions = source._numCompletions + _lastPlayedTime = source._lastPlayedTime + _uniqueRouteStamp = source._uniqueRouteStamp + _routeName = source._routeName + _routeDescription = source._routeDescription + _routeCreatorCodename = source._routeCreatorCodename + _routeImageURL = source._routeImageURL + _routeDurationSeconds = source._routeDurationSeconds + _lastPlayedWaypoints = source._lastPlayedWaypoints + _lastPlayedDurationSeconds = source._lastPlayedDurationSeconds + _weatherConditionOnLastCompletedSession = source._weatherConditionOnLastCompletedSession + _routeBadgeType = source._routeBadgeType + _startLat = source._startLat + _startLng = source._startLng + _routeDistanceMeters = source._routeDistanceMeters + _badgeLevel = source._badgeLevel + _rated = source._rated + _canPreview = source._canPreview + _hidden = source._hidden + _route = source._route + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.north) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.south) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.east) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.west) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._routeID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._routeType) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._numCompletions) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._lastPlayedTime) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._uniqueRouteStamp) }() + case 6: try { try decoder.decodeSingularStringField(value: &_storage._routeName) }() + case 7: try { try decoder.decodeSingularStringField(value: &_storage._routeDescription) }() + case 8: try { try decoder.decodeSingularStringField(value: &_storage._routeCreatorCodename) }() + case 9: try { try decoder.decodeSingularStringField(value: &_storage._routeImageURL) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._routeDurationSeconds) }() + case 11: try { try decoder.decodeRepeatedMessageField(value: &_storage._lastPlayedWaypoints) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._lastPlayedDurationSeconds) }() + case 13: try { try decoder.decodeSingularEnumField(value: &_storage._weatherConditionOnLastCompletedSession) }() + case 14: try { try decoder.decodeSingularEnumField(value: &_storage._routeBadgeType) }() + case 15: try { try decoder.decodeSingularDoubleField(value: &_storage._startLat) }() + case 16: try { try decoder.decodeSingularDoubleField(value: &_storage._startLng) }() + case 17: try { try decoder.decodeSingularInt64Field(value: &_storage._routeDistanceMeters) }() + case 18: try { try decoder.decodeSingularEnumField(value: &_storage._badgeLevel) }() + case 19: try { try decoder.decodeSingularBoolField(value: &_storage._rated) }() + case 20: try { try decoder.decodeSingularBoolField(value: &_storage._canPreview) }() + case 21: try { try decoder.decodeSingularBoolField(value: &_storage._hidden) }() + case 22: try { try decoder.decodeSingularMessageField(value: &_storage._route) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.north != 0 { - try visitor.visitSingularDoubleField(value: self.north, fieldNumber: 1) - } - if self.south != 0 { - try visitor.visitSingularDoubleField(value: self.south, fieldNumber: 2) - } - if self.east != 0 { - try visitor.visitSingularDoubleField(value: self.east, fieldNumber: 3) - } - if self.west != 0 { - try visitor.visitSingularDoubleField(value: self.west, fieldNumber: 4) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._routeID.isEmpty { + try visitor.visitSingularStringField(value: _storage._routeID, fieldNumber: 1) + } + if _storage._routeType != .unset { + try visitor.visitSingularEnumField(value: _storage._routeType, fieldNumber: 2) + } + if _storage._numCompletions != 0 { + try visitor.visitSingularInt32Field(value: _storage._numCompletions, fieldNumber: 3) + } + if _storage._lastPlayedTime != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastPlayedTime, fieldNumber: 4) + } + if !_storage._uniqueRouteStamp.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._uniqueRouteStamp, fieldNumber: 5) + } + if !_storage._routeName.isEmpty { + try visitor.visitSingularStringField(value: _storage._routeName, fieldNumber: 6) + } + if !_storage._routeDescription.isEmpty { + try visitor.visitSingularStringField(value: _storage._routeDescription, fieldNumber: 7) + } + if !_storage._routeCreatorCodename.isEmpty { + try visitor.visitSingularStringField(value: _storage._routeCreatorCodename, fieldNumber: 8) + } + if !_storage._routeImageURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._routeImageURL, fieldNumber: 9) + } + if _storage._routeDurationSeconds != 0 { + try visitor.visitSingularInt64Field(value: _storage._routeDurationSeconds, fieldNumber: 10) + } + if !_storage._lastPlayedWaypoints.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._lastPlayedWaypoints, fieldNumber: 11) + } + if _storage._lastPlayedDurationSeconds != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastPlayedDurationSeconds, fieldNumber: 12) + } + if _storage._weatherConditionOnLastCompletedSession != .none { + try visitor.visitSingularEnumField(value: _storage._weatherConditionOnLastCompletedSession, fieldNumber: 13) + } + if _storage._routeBadgeType != .routeBadgeUnset { + try visitor.visitSingularEnumField(value: _storage._routeBadgeType, fieldNumber: 14) + } + if _storage._startLat != 0 { + try visitor.visitSingularDoubleField(value: _storage._startLat, fieldNumber: 15) + } + if _storage._startLng != 0 { + try visitor.visitSingularDoubleField(value: _storage._startLng, fieldNumber: 16) + } + if _storage._routeDistanceMeters != 0 { + try visitor.visitSingularInt64Field(value: _storage._routeDistanceMeters, fieldNumber: 17) + } + if _storage._badgeLevel != .routeBadgeUnset { + try visitor.visitSingularEnumField(value: _storage._badgeLevel, fieldNumber: 18) + } + if _storage._rated != false { + try visitor.visitSingularBoolField(value: _storage._rated, fieldNumber: 19) + } + if _storage._canPreview != false { + try visitor.visitSingularBoolField(value: _storage._canPreview, fieldNumber: 20) + } + if _storage._hidden != false { + try visitor.visitSingularBoolField(value: _storage._hidden, fieldNumber: 21) + } + try { if let v = _storage._route { + try visitor.visitSingularMessageField(value: v, fieldNumber: 22) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BoundingRect, rhs: BoundingRect) -> Bool { - if lhs.north != rhs.north {return false} - if lhs.south != rhs.south {return false} - if lhs.east != rhs.east {return false} - if lhs.west != rhs.west {return false} + public static func ==(lhs: AwardedRouteBadge, rhs: AwardedRouteBadge) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._routeID != rhs_storage._routeID {return false} + if _storage._routeType != rhs_storage._routeType {return false} + if _storage._numCompletions != rhs_storage._numCompletions {return false} + if _storage._lastPlayedTime != rhs_storage._lastPlayedTime {return false} + if _storage._uniqueRouteStamp != rhs_storage._uniqueRouteStamp {return false} + if _storage._routeName != rhs_storage._routeName {return false} + if _storage._routeDescription != rhs_storage._routeDescription {return false} + if _storage._routeCreatorCodename != rhs_storage._routeCreatorCodename {return false} + if _storage._routeImageURL != rhs_storage._routeImageURL {return false} + if _storage._routeDurationSeconds != rhs_storage._routeDurationSeconds {return false} + if _storage._lastPlayedWaypoints != rhs_storage._lastPlayedWaypoints {return false} + if _storage._lastPlayedDurationSeconds != rhs_storage._lastPlayedDurationSeconds {return false} + if _storage._weatherConditionOnLastCompletedSession != rhs_storage._weatherConditionOnLastCompletedSession {return false} + if _storage._routeBadgeType != rhs_storage._routeBadgeType {return false} + if _storage._startLat != rhs_storage._startLat {return false} + if _storage._startLng != rhs_storage._startLng {return false} + if _storage._routeDistanceMeters != rhs_storage._routeDistanceMeters {return false} + if _storage._badgeLevel != rhs_storage._badgeLevel {return false} + if _storage._rated != rhs_storage._rated {return false} + if _storage._canPreview != rhs_storage._canPreview {return false} + if _storage._hidden != rhs_storage._hidden {return false} + if _storage._route != rhs_storage._route {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BreadcrumbRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BreadcrumbRecordProto" +extension AwardedRouteBadge.RouteBadgeType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "timestamp_ms"), - 2: .standard(proto: "latitude_deg"), - 3: .standard(proto: "longitude_deg"), - 4: .standard(proto: "app_is_foregrounded"), - 5: .standard(proto: "altitude_m"), + 0: .same(proto: "ROUTE_BADGE_UNSET"), + 1: .same(proto: "ROUTE_BADGE_BRONZE"), + 2: .same(proto: "ROUTE_BADGE_SILVER"), + 3: .same(proto: "ROUTE_BADGE_GOLD"), + ] +} + +extension AwardedRouteBadge.RouteBadgeWaypoint: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = AwardedRouteBadge.protoMessageName + ".RouteBadgeWaypoint" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_name"), + 2: .standard(proto: "image_url"), + 3: .standard(proto: "last_earned_stamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172064,51 +176327,48 @@ extension BreadcrumbRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitudeDeg) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitudeDeg) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.appIsForegrounded) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.altitudeM) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fortName) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._lastEarnedStamp) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) - } - if self.latitudeDeg != 0 { - try visitor.visitSingularDoubleField(value: self.latitudeDeg, fieldNumber: 2) - } - if self.longitudeDeg != 0 { - try visitor.visitSingularDoubleField(value: self.longitudeDeg, fieldNumber: 3) - } - if self.appIsForegrounded != false { - try visitor.visitSingularBoolField(value: self.appIsForegrounded, fieldNumber: 4) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.fortName.isEmpty { + try visitor.visitSingularStringField(value: self.fortName, fieldNumber: 1) } - if self.altitudeM != 0 { - try visitor.visitSingularDoubleField(value: self.altitudeM, fieldNumber: 5) + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 2) } + try { if let v = self._lastEarnedStamp { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BreadcrumbRecordProto, rhs: BreadcrumbRecordProto) -> Bool { - if lhs.timestampMs != rhs.timestampMs {return false} - if lhs.latitudeDeg != rhs.latitudeDeg {return false} - if lhs.longitudeDeg != rhs.longitudeDeg {return false} - if lhs.appIsForegrounded != rhs.appIsForegrounded {return false} - if lhs.altitudeM != rhs.altitudeM {return false} + public static func ==(lhs: AwardedRouteBadge.RouteBadgeWaypoint, rhs: AwardedRouteBadge.RouteBadgeWaypoint) -> Bool { + if lhs.fortName != rhs.fortName {return false} + if lhs.imageURL != rhs.imageURL {return false} + if lhs._lastEarnedStamp != rhs._lastEarnedStamp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyActivityCategorySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyActivityCategorySettings" +extension AwardedRouteStamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".AwardedRouteStamp" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "activity_category"), - 2: .standard(proto: "max_points_per_day"), + 1: .standard(proto: "route_stamp"), + 2: .standard(proto: "acquire_time_ms"), + 3: .standard(proto: "route_id"), + 4: .standard(proto: "fort_id"), + 5: .standard(proto: "stamp_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172117,40 +176377,68 @@ extension BuddyActivityCategorySettings: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.activityCategory) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxPointsPerDay) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._routeStamp) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.acquireTimeMs) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.routeID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.stampID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.activityCategory != .buddyCategoryUnset { - try visitor.visitSingularEnumField(value: self.activityCategory, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._routeStamp { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.acquireTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.acquireTimeMs, fieldNumber: 2) } - if self.maxPointsPerDay != 0 { - try visitor.visitSingularInt32Field(value: self.maxPointsPerDay, fieldNumber: 2) + if !self.routeID.isEmpty { + try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 3) + } + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 4) + } + if !self.stampID.isEmpty { + try visitor.visitSingularStringField(value: self.stampID, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyActivityCategorySettings, rhs: BuddyActivityCategorySettings) -> Bool { - if lhs.activityCategory != rhs.activityCategory {return false} - if lhs.maxPointsPerDay != rhs.maxPointsPerDay {return false} + public static func ==(lhs: AwardedRouteStamp, rhs: AwardedRouteStamp) -> Bool { + if lhs._routeStamp != rhs._routeStamp {return false} + if lhs.acquireTimeMs != rhs.acquireTimeMs {return false} + if lhs.routeID != rhs.routeID {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.stampID != rhs.stampID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyActivitySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyActivitySettings" +extension BackgroundModeClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BackgroundModeClientSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "activity"), - 2: .standard(proto: "activity_category"), - 3: .standard(proto: "max_times_per_day"), - 4: .standard(proto: "num_points_per_action"), - 5: .standard(proto: "num_emotion_points_per_action"), - 6: .standard(proto: "emotion_cooldown_duration_ms"), + 1: .standard(proto: "maximum_sample_age_ms"), + 2: .standard(proto: "accept_manual_fitness_samples"), + 3: .standard(proto: "minimum_location_accuracy_meters"), + 4: .standard(proto: "background_wake_up_interval_minutes"), + 5: .standard(proto: "max_upload_size_in_bytes"), + 6: .standard(proto: "min_enclosing_geofence_radius_m"), + 7: .standard(proto: "background_token_refresh_interval_s"), + 8: .standard(proto: "max_session_duration_m"), + 9: .standard(proto: "min_distance_delta_m"), + 10: .standard(proto: "min_update_interval_s"), + 11: .standard(proto: "min_session_reporting_interval_s"), + 12: .standard(proto: "min_persistent_reporting_interval_s"), + 13: .standard(proto: "enable_progress_request"), + 14: .standard(proto: "enable_foreground_notification"), + 15: .standard(proto: "proximity_settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172159,55 +176447,104 @@ extension BuddyActivitySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.activity) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.activityCategory) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxTimesPerDay) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.numPointsPerAction) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.numEmotionPointsPerAction) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.emotionCooldownDurationMs) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.maximumSampleAgeMs) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.acceptManualFitnessSamples) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.minimumLocationAccuracyMeters) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.backgroundWakeUpIntervalMinutes) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxUploadSizeInBytes) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.minEnclosingGeofenceRadiusM) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.backgroundTokenRefreshIntervalS) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.maxSessionDurationM) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.minDistanceDeltaM) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &self.minUpdateIntervalS) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &self.minSessionReportingIntervalS) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.minPersistentReportingIntervalS) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.enableProgressRequest) }() + case 14: try { try decoder.decodeSingularBoolField(value: &self.enableForegroundNotification) }() + case 15: try { try decoder.decodeSingularMessageField(value: &self._proximitySettings) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.activity != .unset { - try visitor.visitSingularEnumField(value: self.activity, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.maximumSampleAgeMs != 0 { + try visitor.visitSingularInt64Field(value: self.maximumSampleAgeMs, fieldNumber: 1) } - if self.activityCategory != .buddyCategoryUnset { - try visitor.visitSingularEnumField(value: self.activityCategory, fieldNumber: 2) + if self.acceptManualFitnessSamples != false { + try visitor.visitSingularBoolField(value: self.acceptManualFitnessSamples, fieldNumber: 2) } - if self.maxTimesPerDay != 0 { - try visitor.visitSingularInt32Field(value: self.maxTimesPerDay, fieldNumber: 3) + if self.minimumLocationAccuracyMeters != 0 { + try visitor.visitSingularDoubleField(value: self.minimumLocationAccuracyMeters, fieldNumber: 3) } - if self.numPointsPerAction != 0 { - try visitor.visitSingularInt32Field(value: self.numPointsPerAction, fieldNumber: 4) + if self.backgroundWakeUpIntervalMinutes != 0 { + try visitor.visitSingularInt32Field(value: self.backgroundWakeUpIntervalMinutes, fieldNumber: 4) } - if self.numEmotionPointsPerAction != 0 { - try visitor.visitSingularInt32Field(value: self.numEmotionPointsPerAction, fieldNumber: 5) + if self.maxUploadSizeInBytes != 0 { + try visitor.visitSingularInt32Field(value: self.maxUploadSizeInBytes, fieldNumber: 5) } - if self.emotionCooldownDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.emotionCooldownDurationMs, fieldNumber: 6) + if self.minEnclosingGeofenceRadiusM != 0 { + try visitor.visitSingularDoubleField(value: self.minEnclosingGeofenceRadiusM, fieldNumber: 6) + } + if self.backgroundTokenRefreshIntervalS != 0 { + try visitor.visitSingularInt64Field(value: self.backgroundTokenRefreshIntervalS, fieldNumber: 7) + } + if self.maxSessionDurationM != 0 { + try visitor.visitSingularInt32Field(value: self.maxSessionDurationM, fieldNumber: 8) + } + if self.minDistanceDeltaM != 0 { + try visitor.visitSingularInt32Field(value: self.minDistanceDeltaM, fieldNumber: 9) + } + if self.minUpdateIntervalS != 0 { + try visitor.visitSingularInt32Field(value: self.minUpdateIntervalS, fieldNumber: 10) + } + if self.minSessionReportingIntervalS != 0 { + try visitor.visitSingularInt32Field(value: self.minSessionReportingIntervalS, fieldNumber: 11) + } + if self.minPersistentReportingIntervalS != 0 { + try visitor.visitSingularInt32Field(value: self.minPersistentReportingIntervalS, fieldNumber: 12) + } + if self.enableProgressRequest != false { + try visitor.visitSingularBoolField(value: self.enableProgressRequest, fieldNumber: 13) + } + if self.enableForegroundNotification != false { + try visitor.visitSingularBoolField(value: self.enableForegroundNotification, fieldNumber: 14) } + try { if let v = self._proximitySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyActivitySettings, rhs: BuddyActivitySettings) -> Bool { - if lhs.activity != rhs.activity {return false} - if lhs.activityCategory != rhs.activityCategory {return false} - if lhs.maxTimesPerDay != rhs.maxTimesPerDay {return false} - if lhs.numPointsPerAction != rhs.numPointsPerAction {return false} - if lhs.numEmotionPointsPerAction != rhs.numEmotionPointsPerAction {return false} - if lhs.emotionCooldownDurationMs != rhs.emotionCooldownDurationMs {return false} + public static func ==(lhs: BackgroundModeClientSettingsProto, rhs: BackgroundModeClientSettingsProto) -> Bool { + if lhs.maximumSampleAgeMs != rhs.maximumSampleAgeMs {return false} + if lhs.acceptManualFitnessSamples != rhs.acceptManualFitnessSamples {return false} + if lhs.minimumLocationAccuracyMeters != rhs.minimumLocationAccuracyMeters {return false} + if lhs.backgroundWakeUpIntervalMinutes != rhs.backgroundWakeUpIntervalMinutes {return false} + if lhs.maxUploadSizeInBytes != rhs.maxUploadSizeInBytes {return false} + if lhs.minEnclosingGeofenceRadiusM != rhs.minEnclosingGeofenceRadiusM {return false} + if lhs.backgroundTokenRefreshIntervalS != rhs.backgroundTokenRefreshIntervalS {return false} + if lhs.maxSessionDurationM != rhs.maxSessionDurationM {return false} + if lhs.minDistanceDeltaM != rhs.minDistanceDeltaM {return false} + if lhs.minUpdateIntervalS != rhs.minUpdateIntervalS {return false} + if lhs.minSessionReportingIntervalS != rhs.minSessionReportingIntervalS {return false} + if lhs.minPersistentReportingIntervalS != rhs.minPersistentReportingIntervalS {return false} + if lhs.enableProgressRequest != rhs.enableProgressRequest {return false} + if lhs.enableForegroundNotification != rhs.enableForegroundNotification {return false} + if lhs._proximitySettings != rhs._proximitySettings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyConsumablesLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyConsumablesLogEntry" +extension BackgroundModeClientSettingsProto.ProximitySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BackgroundModeClientSettingsProto.protoMessageName + ".ProximitySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "rewards"), + 4: .standard(proto: "maximum_contact_age_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172216,439 +176553,72 @@ extension BuddyConsumablesLogEntry: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.maximumContactAgeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._rewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() + if self.maximumContactAgeMs != 0 { + try visitor.visitSingularInt64Field(value: self.maximumContactAgeMs, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyConsumablesLogEntry, rhs: BuddyConsumablesLogEntry) -> Bool { - if lhs._rewards != rhs._rewards {return false} + public static func ==(lhs: BackgroundModeClientSettingsProto.ProximitySettingsProto, rhs: BackgroundModeClientSettingsProto.ProximitySettingsProto) -> Bool { + if lhs.maximumContactAgeMs != rhs.maximumContactAgeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyDataProto" +extension BackgroundModeGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BackgroundModeGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "buddy_pokemon_id"), - 2: .standard(proto: "current_points_earned"), - 3: .standard(proto: "highest_points_earned"), - 4: .standard(proto: "last_reached_full_ms"), - 5: .standard(proto: "last_groomed_ms"), - 7: .standard(proto: "map_expiration_ms"), - 12: .standard(proto: "km_candy_pending"), - 15: .standard(proto: "buddy_gift_picked_up"), - 18: .standard(proto: "current_emotion_points"), - 19: .standard(proto: "daily_activity_counters"), - 20: .standard(proto: "daily_category_counters"), - 21: .standard(proto: "stats_today"), - 22: .standard(proto: "stats_total"), - 23: .standard(proto: "souvenirs_collected"), - 24: .standard(proto: "current_hunger_points"), - 25: .standard(proto: "interaction_expiration_ms"), - 26: .standard(proto: "poffin_feeding_expiration_ms"), - 27: .standard(proto: "last_affection_or_emotion_awarded_km"), - 28: .standard(proto: "last_set_timestamp_ms"), - 29: .standard(proto: "last_unset_timestamp_ms"), - 30: .same(proto: "ditched"), - 31: .standard(proto: "pokemon_display"), - 32: .standard(proto: "hatched_from_egg"), - 33: .same(proto: "nickname"), - 34: .standard(proto: "captured_s2_cell_id"), - 35: .standard(proto: "pokedex_entry_number"), - 36: .standard(proto: "creation_timestamp_ms"), - 37: .same(proto: "pokeball"), - 38: .standard(proto: "num_days_spent_with_buddy"), - 39: .standard(proto: "original_owner_nickname"), - 40: .standard(proto: "traded_time_ms"), - 41: .standard(proto: "attractive_poi_id"), - 42: .standard(proto: "attractive_poi_time_generated"), - 43: .standard(proto: "attractive_poi_cooldown_ms"), - 44: .standard(proto: "attractive_poi_visited"), - 45: .standard(proto: "berry_cooldown_ms"), - 46: .standard(proto: "activity_emotion_last_increment_ms"), - 47: .same(proto: "window"), - 48: .standard(proto: "last_fed_ms"), - 49: .standard(proto: "last_window_buddy_on_map"), - 50: .standard(proto: "last_window_fed_poffin"), - 51: .standard(proto: "yatta_expiration_ms"), - 52: .standard(proto: "hunger_points"), + 1: .standard(proto: "min_player_level_fitness"), + 2: .standard(proto: "service_prompt_timestamp_ms"), ] - fileprivate class _StorageClass { - var _buddyPokemonID: UInt64 = 0 - var _currentPointsEarned: Int32 = 0 - var _highestPointsEarned: Int32 = 0 - var _lastReachedFullMs: Int64 = 0 - var _lastGroomedMs: Int64 = 0 - var _mapExpirationMs: Int64 = 0 - var _kmCandyPending: Float = 0 - var _buddyGiftPickedUp: BuddyGiftProto? = nil - var _currentEmotionPoints: Int32 = 0 - var _dailyActivityCounters: Dictionary = [:] - var _dailyCategoryCounters: Dictionary = [:] - var _statsToday: BuddyDataProto.BuddyStoredStats? = nil - var _statsTotal: BuddyDataProto.BuddyStoredStats? = nil - var _souvenirsCollected: Dictionary = [:] - var _currentHungerPoints: Int32 = 0 - var _interactionExpirationMs: Int64 = 0 - var _poffinFeedingExpirationMs: Int64 = 0 - var _lastAffectionOrEmotionAwardedKm: Float = 0 - var _lastSetTimestampMs: Int64 = 0 - var _lastUnsetTimestampMs: Int64 = 0 - var _ditched: Bool = false - var _pokemonDisplay: PokemonDisplayProto? = nil - var _hatchedFromEgg: Bool = false - var _nickname: String = String() - var _capturedS2CellID: Int64 = 0 - var _pokedexEntryNumber: HoloPokemonId = .missingno - var _creationTimestampMs: Int64 = 0 - var _pokeball: Item = .unknown - var _numDaysSpentWithBuddy: Int32 = 0 - var _originalOwnerNickname: String = String() - var _tradedTimeMs: Int64 = 0 - var _attractivePoiID: String = String() - var _attractivePoiTimeGenerated: Int64 = 0 - var _attractivePoiCooldownMs: Int64 = 0 - var _attractivePoiVisited: Bool = false - var _berryCooldownMs: Int64 = 0 - var _activityEmotionLastIncrementMs: Dictionary = [:] - var _window: Int64 = 0 - var _lastFedMs: Int64 = 0 - var _lastWindowBuddyOnMap: Int32 = 0 - var _lastWindowFedPoffin: Int32 = 0 - var _yattaExpirationMs: Int64 = 0 - var _hungerPoints: Float = 0 - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _buddyPokemonID = source._buddyPokemonID - _currentPointsEarned = source._currentPointsEarned - _highestPointsEarned = source._highestPointsEarned - _lastReachedFullMs = source._lastReachedFullMs - _lastGroomedMs = source._lastGroomedMs - _mapExpirationMs = source._mapExpirationMs - _kmCandyPending = source._kmCandyPending - _buddyGiftPickedUp = source._buddyGiftPickedUp - _currentEmotionPoints = source._currentEmotionPoints - _dailyActivityCounters = source._dailyActivityCounters - _dailyCategoryCounters = source._dailyCategoryCounters - _statsToday = source._statsToday - _statsTotal = source._statsTotal - _souvenirsCollected = source._souvenirsCollected - _currentHungerPoints = source._currentHungerPoints - _interactionExpirationMs = source._interactionExpirationMs - _poffinFeedingExpirationMs = source._poffinFeedingExpirationMs - _lastAffectionOrEmotionAwardedKm = source._lastAffectionOrEmotionAwardedKm - _lastSetTimestampMs = source._lastSetTimestampMs - _lastUnsetTimestampMs = source._lastUnsetTimestampMs - _ditched = source._ditched - _pokemonDisplay = source._pokemonDisplay - _hatchedFromEgg = source._hatchedFromEgg - _nickname = source._nickname - _capturedS2CellID = source._capturedS2CellID - _pokedexEntryNumber = source._pokedexEntryNumber - _creationTimestampMs = source._creationTimestampMs - _pokeball = source._pokeball - _numDaysSpentWithBuddy = source._numDaysSpentWithBuddy - _originalOwnerNickname = source._originalOwnerNickname - _tradedTimeMs = source._tradedTimeMs - _attractivePoiID = source._attractivePoiID - _attractivePoiTimeGenerated = source._attractivePoiTimeGenerated - _attractivePoiCooldownMs = source._attractivePoiCooldownMs - _attractivePoiVisited = source._attractivePoiVisited - _berryCooldownMs = source._berryCooldownMs - _activityEmotionLastIncrementMs = source._activityEmotionLastIncrementMs - _window = source._window - _lastFedMs = source._lastFedMs - _lastWindowBuddyOnMap = source._lastWindowBuddyOnMap - _lastWindowFedPoffin = source._lastWindowFedPoffin - _yattaExpirationMs = source._yattaExpirationMs - _hungerPoints = source._hungerPoints - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &_storage._buddyPokemonID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._currentPointsEarned) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._highestPointsEarned) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._lastReachedFullMs) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._lastGroomedMs) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._mapExpirationMs) }() - case 12: try { try decoder.decodeSingularFloatField(value: &_storage._kmCandyPending) }() - case 15: try { try decoder.decodeSingularMessageField(value: &_storage._buddyGiftPickedUp) }() - case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._currentEmotionPoints) }() - case 19: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._dailyActivityCounters) }() - case 20: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._dailyCategoryCounters) }() - case 21: try { try decoder.decodeSingularMessageField(value: &_storage._statsToday) }() - case 22: try { try decoder.decodeSingularMessageField(value: &_storage._statsTotal) }() - case 23: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._souvenirsCollected) }() - case 24: try { try decoder.decodeSingularInt32Field(value: &_storage._currentHungerPoints) }() - case 25: try { try decoder.decodeSingularInt64Field(value: &_storage._interactionExpirationMs) }() - case 26: try { try decoder.decodeSingularInt64Field(value: &_storage._poffinFeedingExpirationMs) }() - case 27: try { try decoder.decodeSingularFloatField(value: &_storage._lastAffectionOrEmotionAwardedKm) }() - case 28: try { try decoder.decodeSingularInt64Field(value: &_storage._lastSetTimestampMs) }() - case 29: try { try decoder.decodeSingularInt64Field(value: &_storage._lastUnsetTimestampMs) }() - case 30: try { try decoder.decodeSingularBoolField(value: &_storage._ditched) }() - case 31: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay) }() - case 32: try { try decoder.decodeSingularBoolField(value: &_storage._hatchedFromEgg) }() - case 33: try { try decoder.decodeSingularStringField(value: &_storage._nickname) }() - case 34: try { try decoder.decodeSingularInt64Field(value: &_storage._capturedS2CellID) }() - case 35: try { try decoder.decodeSingularEnumField(value: &_storage._pokedexEntryNumber) }() - case 36: try { try decoder.decodeSingularInt64Field(value: &_storage._creationTimestampMs) }() - case 37: try { try decoder.decodeSingularEnumField(value: &_storage._pokeball) }() - case 38: try { try decoder.decodeSingularInt32Field(value: &_storage._numDaysSpentWithBuddy) }() - case 39: try { try decoder.decodeSingularStringField(value: &_storage._originalOwnerNickname) }() - case 40: try { try decoder.decodeSingularInt64Field(value: &_storage._tradedTimeMs) }() - case 41: try { try decoder.decodeSingularStringField(value: &_storage._attractivePoiID) }() - case 42: try { try decoder.decodeSingularInt64Field(value: &_storage._attractivePoiTimeGenerated) }() - case 43: try { try decoder.decodeSingularInt64Field(value: &_storage._attractivePoiCooldownMs) }() - case 44: try { try decoder.decodeSingularBoolField(value: &_storage._attractivePoiVisited) }() - case 45: try { try decoder.decodeSingularInt64Field(value: &_storage._berryCooldownMs) }() - case 46: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &_storage._activityEmotionLastIncrementMs) }() - case 47: try { try decoder.decodeSingularInt64Field(value: &_storage._window) }() - case 48: try { try decoder.decodeSingularInt64Field(value: &_storage._lastFedMs) }() - case 49: try { try decoder.decodeSingularInt32Field(value: &_storage._lastWindowBuddyOnMap) }() - case 50: try { try decoder.decodeSingularInt32Field(value: &_storage._lastWindowFedPoffin) }() - case 51: try { try decoder.decodeSingularInt64Field(value: &_storage._yattaExpirationMs) }() - case 52: try { try decoder.decodeSingularFloatField(value: &_storage._hungerPoints) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularUInt32Field(value: &self.minPlayerLevelFitness) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.servicePromptTimestampMs) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._buddyPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._buddyPokemonID, fieldNumber: 1) - } - if _storage._currentPointsEarned != 0 { - try visitor.visitSingularInt32Field(value: _storage._currentPointsEarned, fieldNumber: 2) - } - if _storage._highestPointsEarned != 0 { - try visitor.visitSingularInt32Field(value: _storage._highestPointsEarned, fieldNumber: 3) - } - if _storage._lastReachedFullMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastReachedFullMs, fieldNumber: 4) - } - if _storage._lastGroomedMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastGroomedMs, fieldNumber: 5) - } - if _storage._mapExpirationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._mapExpirationMs, fieldNumber: 7) - } - if _storage._kmCandyPending != 0 { - try visitor.visitSingularFloatField(value: _storage._kmCandyPending, fieldNumber: 12) - } - try { if let v = _storage._buddyGiftPickedUp { - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - } }() - if _storage._currentEmotionPoints != 0 { - try visitor.visitSingularInt32Field(value: _storage._currentEmotionPoints, fieldNumber: 18) - } - if !_storage._dailyActivityCounters.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._dailyActivityCounters, fieldNumber: 19) - } - if !_storage._dailyCategoryCounters.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._dailyCategoryCounters, fieldNumber: 20) - } - try { if let v = _storage._statsToday { - try visitor.visitSingularMessageField(value: v, fieldNumber: 21) - } }() - try { if let v = _storage._statsTotal { - try visitor.visitSingularMessageField(value: v, fieldNumber: 22) - } }() - if !_storage._souvenirsCollected.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._souvenirsCollected, fieldNumber: 23) - } - if _storage._currentHungerPoints != 0 { - try visitor.visitSingularInt32Field(value: _storage._currentHungerPoints, fieldNumber: 24) - } - if _storage._interactionExpirationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._interactionExpirationMs, fieldNumber: 25) - } - if _storage._poffinFeedingExpirationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._poffinFeedingExpirationMs, fieldNumber: 26) - } - if _storage._lastAffectionOrEmotionAwardedKm != 0 { - try visitor.visitSingularFloatField(value: _storage._lastAffectionOrEmotionAwardedKm, fieldNumber: 27) - } - if _storage._lastSetTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastSetTimestampMs, fieldNumber: 28) - } - if _storage._lastUnsetTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastUnsetTimestampMs, fieldNumber: 29) - } - if _storage._ditched != false { - try visitor.visitSingularBoolField(value: _storage._ditched, fieldNumber: 30) - } - try { if let v = _storage._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 31) - } }() - if _storage._hatchedFromEgg != false { - try visitor.visitSingularBoolField(value: _storage._hatchedFromEgg, fieldNumber: 32) - } - if !_storage._nickname.isEmpty { - try visitor.visitSingularStringField(value: _storage._nickname, fieldNumber: 33) - } - if _storage._capturedS2CellID != 0 { - try visitor.visitSingularInt64Field(value: _storage._capturedS2CellID, fieldNumber: 34) - } - if _storage._pokedexEntryNumber != .missingno { - try visitor.visitSingularEnumField(value: _storage._pokedexEntryNumber, fieldNumber: 35) - } - if _storage._creationTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._creationTimestampMs, fieldNumber: 36) - } - if _storage._pokeball != .unknown { - try visitor.visitSingularEnumField(value: _storage._pokeball, fieldNumber: 37) - } - if _storage._numDaysSpentWithBuddy != 0 { - try visitor.visitSingularInt32Field(value: _storage._numDaysSpentWithBuddy, fieldNumber: 38) - } - if !_storage._originalOwnerNickname.isEmpty { - try visitor.visitSingularStringField(value: _storage._originalOwnerNickname, fieldNumber: 39) - } - if _storage._tradedTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._tradedTimeMs, fieldNumber: 40) - } - if !_storage._attractivePoiID.isEmpty { - try visitor.visitSingularStringField(value: _storage._attractivePoiID, fieldNumber: 41) - } - if _storage._attractivePoiTimeGenerated != 0 { - try visitor.visitSingularInt64Field(value: _storage._attractivePoiTimeGenerated, fieldNumber: 42) - } - if _storage._attractivePoiCooldownMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._attractivePoiCooldownMs, fieldNumber: 43) - } - if _storage._attractivePoiVisited != false { - try visitor.visitSingularBoolField(value: _storage._attractivePoiVisited, fieldNumber: 44) - } - if _storage._berryCooldownMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._berryCooldownMs, fieldNumber: 45) - } - if !_storage._activityEmotionLastIncrementMs.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: _storage._activityEmotionLastIncrementMs, fieldNumber: 46) - } - if _storage._window != 0 { - try visitor.visitSingularInt64Field(value: _storage._window, fieldNumber: 47) - } - if _storage._lastFedMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastFedMs, fieldNumber: 48) - } - if _storage._lastWindowBuddyOnMap != 0 { - try visitor.visitSingularInt32Field(value: _storage._lastWindowBuddyOnMap, fieldNumber: 49) - } - if _storage._lastWindowFedPoffin != 0 { - try visitor.visitSingularInt32Field(value: _storage._lastWindowFedPoffin, fieldNumber: 50) - } - if _storage._yattaExpirationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._yattaExpirationMs, fieldNumber: 51) - } - if _storage._hungerPoints != 0 { - try visitor.visitSingularFloatField(value: _storage._hungerPoints, fieldNumber: 52) - } + if self.minPlayerLevelFitness != 0 { + try visitor.visitSingularUInt32Field(value: self.minPlayerLevelFitness, fieldNumber: 1) + } + if self.servicePromptTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.servicePromptTimestampMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyDataProto, rhs: BuddyDataProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._buddyPokemonID != rhs_storage._buddyPokemonID {return false} - if _storage._currentPointsEarned != rhs_storage._currentPointsEarned {return false} - if _storage._highestPointsEarned != rhs_storage._highestPointsEarned {return false} - if _storage._lastReachedFullMs != rhs_storage._lastReachedFullMs {return false} - if _storage._lastGroomedMs != rhs_storage._lastGroomedMs {return false} - if _storage._mapExpirationMs != rhs_storage._mapExpirationMs {return false} - if _storage._kmCandyPending != rhs_storage._kmCandyPending {return false} - if _storage._buddyGiftPickedUp != rhs_storage._buddyGiftPickedUp {return false} - if _storage._currentEmotionPoints != rhs_storage._currentEmotionPoints {return false} - if _storage._dailyActivityCounters != rhs_storage._dailyActivityCounters {return false} - if _storage._dailyCategoryCounters != rhs_storage._dailyCategoryCounters {return false} - if _storage._statsToday != rhs_storage._statsToday {return false} - if _storage._statsTotal != rhs_storage._statsTotal {return false} - if _storage._souvenirsCollected != rhs_storage._souvenirsCollected {return false} - if _storage._currentHungerPoints != rhs_storage._currentHungerPoints {return false} - if _storage._interactionExpirationMs != rhs_storage._interactionExpirationMs {return false} - if _storage._poffinFeedingExpirationMs != rhs_storage._poffinFeedingExpirationMs {return false} - if _storage._lastAffectionOrEmotionAwardedKm != rhs_storage._lastAffectionOrEmotionAwardedKm {return false} - if _storage._lastSetTimestampMs != rhs_storage._lastSetTimestampMs {return false} - if _storage._lastUnsetTimestampMs != rhs_storage._lastUnsetTimestampMs {return false} - if _storage._ditched != rhs_storage._ditched {return false} - if _storage._pokemonDisplay != rhs_storage._pokemonDisplay {return false} - if _storage._hatchedFromEgg != rhs_storage._hatchedFromEgg {return false} - if _storage._nickname != rhs_storage._nickname {return false} - if _storage._capturedS2CellID != rhs_storage._capturedS2CellID {return false} - if _storage._pokedexEntryNumber != rhs_storage._pokedexEntryNumber {return false} - if _storage._creationTimestampMs != rhs_storage._creationTimestampMs {return false} - if _storage._pokeball != rhs_storage._pokeball {return false} - if _storage._numDaysSpentWithBuddy != rhs_storage._numDaysSpentWithBuddy {return false} - if _storage._originalOwnerNickname != rhs_storage._originalOwnerNickname {return false} - if _storage._tradedTimeMs != rhs_storage._tradedTimeMs {return false} - if _storage._attractivePoiID != rhs_storage._attractivePoiID {return false} - if _storage._attractivePoiTimeGenerated != rhs_storage._attractivePoiTimeGenerated {return false} - if _storage._attractivePoiCooldownMs != rhs_storage._attractivePoiCooldownMs {return false} - if _storage._attractivePoiVisited != rhs_storage._attractivePoiVisited {return false} - if _storage._berryCooldownMs != rhs_storage._berryCooldownMs {return false} - if _storage._activityEmotionLastIncrementMs != rhs_storage._activityEmotionLastIncrementMs {return false} - if _storage._window != rhs_storage._window {return false} - if _storage._lastFedMs != rhs_storage._lastFedMs {return false} - if _storage._lastWindowBuddyOnMap != rhs_storage._lastWindowBuddyOnMap {return false} - if _storage._lastWindowFedPoffin != rhs_storage._lastWindowFedPoffin {return false} - if _storage._yattaExpirationMs != rhs_storage._yattaExpirationMs {return false} - if _storage._hungerPoints != rhs_storage._hungerPoints {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: BackgroundModeGlobalSettingsProto, rhs: BackgroundModeGlobalSettingsProto) -> Bool { + if lhs.minPlayerLevelFitness != rhs.minPlayerLevelFitness {return false} + if lhs.servicePromptTimestampMs != rhs.servicePromptTimestampMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyDataProto.BuddyStoredStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = BuddyDataProto.protoMessageName + ".BuddyStoredStats" +extension BackgroundModeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BackgroundModeSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "window"), - 2: .standard(proto: "buddy_stats"), + 1: .standard(proto: "weekly_fitness_goal_level1_distance_km"), + 2: .standard(proto: "weekly_fitness_goal_level2_distance_km"), + 3: .standard(proto: "weekly_fitness_goal_level3_distance_km"), + 4: .standard(proto: "weekly_fitness_goal_level4_distance_km"), + 5: .standard(proto: "weekly_fitness_goal_reminder_km"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172657,38 +176627,52 @@ extension BuddyDataProto.BuddyStoredStats: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.window) }() - case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.buddyStats) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalLevel1DistanceKm) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalLevel2DistanceKm) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalLevel3DistanceKm) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalLevel4DistanceKm) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.weeklyFitnessGoalReminderKm) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.window != 0 { - try visitor.visitSingularInt64Field(value: self.window, fieldNumber: 1) + if self.weeklyFitnessGoalLevel1DistanceKm != 0 { + try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalLevel1DistanceKm, fieldNumber: 1) } - if !self.buddyStats.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.buddyStats, fieldNumber: 2) + if self.weeklyFitnessGoalLevel2DistanceKm != 0 { + try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalLevel2DistanceKm, fieldNumber: 2) + } + if self.weeklyFitnessGoalLevel3DistanceKm != 0 { + try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalLevel3DistanceKm, fieldNumber: 3) + } + if self.weeklyFitnessGoalLevel4DistanceKm != 0 { + try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalLevel4DistanceKm, fieldNumber: 4) + } + if self.weeklyFitnessGoalReminderKm != 0 { + try visitor.visitSingularDoubleField(value: self.weeklyFitnessGoalReminderKm, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyDataProto.BuddyStoredStats, rhs: BuddyDataProto.BuddyStoredStats) -> Bool { - if lhs.window != rhs.window {return false} - if lhs.buddyStats != rhs.buddyStats {return false} + public static func ==(lhs: BackgroundModeSettingsProto, rhs: BackgroundModeSettingsProto) -> Bool { + if lhs.weeklyFitnessGoalLevel1DistanceKm != rhs.weeklyFitnessGoalLevel1DistanceKm {return false} + if lhs.weeklyFitnessGoalLevel2DistanceKm != rhs.weeklyFitnessGoalLevel2DistanceKm {return false} + if lhs.weeklyFitnessGoalLevel3DistanceKm != rhs.weeklyFitnessGoalLevel3DistanceKm {return false} + if lhs.weeklyFitnessGoalLevel4DistanceKm != rhs.weeklyFitnessGoalLevel4DistanceKm {return false} + if lhs.weeklyFitnessGoalReminderKm != rhs.weeklyFitnessGoalReminderKm {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyEmotionLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyEmotionLevelSettings" +extension BackgroundToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BackgroundToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "emotion_level"), - 2: .standard(proto: "min_emotion_points_required"), - 3: .standard(proto: "emotion_animation"), - 4: .standard(proto: "decay_prevention_duration_ms"), + 1: .same(proto: "token"), + 2: .standard(proto: "expiration_time"), + 3: .same(proto: "iv"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172697,49 +176681,44 @@ extension BuddyEmotionLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.emotionLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minEmotionPointsRequired) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.emotionAnimation) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.decayPreventionDurationMs) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.token) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTime) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.iv) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.emotionLevel != .unset { - try visitor.visitSingularEnumField(value: self.emotionLevel, fieldNumber: 1) - } - if self.minEmotionPointsRequired != 0 { - try visitor.visitSingularInt32Field(value: self.minEmotionPointsRequired, fieldNumber: 2) + if !self.token.isEmpty { + try visitor.visitSingularBytesField(value: self.token, fieldNumber: 1) } - if self.emotionAnimation != .unset { - try visitor.visitSingularEnumField(value: self.emotionAnimation, fieldNumber: 3) + if self.expirationTime != 0 { + try visitor.visitSingularInt64Field(value: self.expirationTime, fieldNumber: 2) } - if self.decayPreventionDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.decayPreventionDurationMs, fieldNumber: 4) + if !self.iv.isEmpty { + try visitor.visitSingularBytesField(value: self.iv, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyEmotionLevelSettings, rhs: BuddyEmotionLevelSettings) -> Bool { - if lhs.emotionLevel != rhs.emotionLevel {return false} - if lhs.minEmotionPointsRequired != rhs.minEmotionPointsRequired {return false} - if lhs.emotionAnimation != rhs.emotionAnimation {return false} - if lhs.decayPreventionDurationMs != rhs.decayPreventionDurationMs {return false} + public static func ==(lhs: BackgroundToken, rhs: BackgroundToken) -> Bool { + if lhs.token != rhs.token {return false} + if lhs.expirationTime != rhs.expirationTime {return false} + if lhs.iv != rhs.iv {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyEncounterCameoSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyEncounterCameoSettings" +extension BadgeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BadgeData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "buddy_wild_encounter_cameo_chance_percent"), - 2: .standard(proto: "buddy_quest_encounter_cameo_chance_percent"), - 3: .standard(proto: "buddy_raid_encounter_cameo_chance_percent"), - 4: .standard(proto: "buddy_invasion_encounter_cameo_chance_percent"), - 5: .standard(proto: "buddy_on_map_required"), + 2: .standard(proto: "mini_collection"), + 3: .standard(proto: "butterfly_collector_data"), + 4: .standard(proto: "contest_data"), + 1: .same(proto: "badge"), + 5: .standard(proto: "player_badge_tiers"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172748,55 +176727,95 @@ extension BuddyEncounterCameoSettings: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.buddyWildEncounterCameoChancePercent) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.buddyQuestEncounterCameoChancePercent) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.buddyRaidEncounterCameoChancePercent) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.buddyInvasionEncounterCameoChancePercent) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.buddyOnMapRequired) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.badge) }() + case 2: try { + var v: MiniCollectionBadgeData? + var hadOneofValue = false + if let current = self.data { + hadOneofValue = true + if case .miniCollection(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.data = .miniCollection(v) + } + }() + case 3: try { + var v: ButterflyCollectorBadgeData? + var hadOneofValue = false + if let current = self.data { + hadOneofValue = true + if case .butterflyCollectorData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.data = .butterflyCollectorData(v) + } + }() + case 4: try { + var v: ContestBadgeData? + var hadOneofValue = false + if let current = self.data { + hadOneofValue = true + if case .contestData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.data = .contestData(v) + } + }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.playerBadgeTiers) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.buddyWildEncounterCameoChancePercent != 0 { - try visitor.visitSingularFloatField(value: self.buddyWildEncounterCameoChancePercent, fieldNumber: 1) - } - if self.buddyQuestEncounterCameoChancePercent != 0 { - try visitor.visitSingularFloatField(value: self.buddyQuestEncounterCameoChancePercent, fieldNumber: 2) - } - if self.buddyRaidEncounterCameoChancePercent != 0 { - try visitor.visitSingularFloatField(value: self.buddyRaidEncounterCameoChancePercent, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.badge != .badgeUnset { + try visitor.visitSingularEnumField(value: self.badge, fieldNumber: 1) } - if self.buddyInvasionEncounterCameoChancePercent != 0 { - try visitor.visitSingularFloatField(value: self.buddyInvasionEncounterCameoChancePercent, fieldNumber: 4) + switch self.data { + case .miniCollection?: try { + guard case .miniCollection(let v)? = self.data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .butterflyCollectorData?: try { + guard case .butterflyCollectorData(let v)? = self.data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .contestData?: try { + guard case .contestData(let v)? = self.data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case nil: break } - if self.buddyOnMapRequired != false { - try visitor.visitSingularBoolField(value: self.buddyOnMapRequired, fieldNumber: 5) + if !self.playerBadgeTiers.isEmpty { + try visitor.visitRepeatedMessageField(value: self.playerBadgeTiers, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyEncounterCameoSettings, rhs: BuddyEncounterCameoSettings) -> Bool { - if lhs.buddyWildEncounterCameoChancePercent != rhs.buddyWildEncounterCameoChancePercent {return false} - if lhs.buddyQuestEncounterCameoChancePercent != rhs.buddyQuestEncounterCameoChancePercent {return false} - if lhs.buddyRaidEncounterCameoChancePercent != rhs.buddyRaidEncounterCameoChancePercent {return false} - if lhs.buddyInvasionEncounterCameoChancePercent != rhs.buddyInvasionEncounterCameoChancePercent {return false} - if lhs.buddyOnMapRequired != rhs.buddyOnMapRequired {return false} + public static func ==(lhs: BadgeData, rhs: BadgeData) -> Bool { + if lhs.data != rhs.data {return false} + if lhs.badge != rhs.badge {return false} + if lhs.playerBadgeTiers != rhs.playerBadgeTiers {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyEncounterHelpTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyEncounterHelpTelemetry" +extension BadgeLevelAvatarLockProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BadgeLevelAvatarLockProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .same(proto: "cp"), - 3: .standard(proto: "encounter_type"), - 4: .standard(proto: "ar_classic_enabled"), - 5: .standard(proto: "ar_plus_enabled"), - 6: .same(proto: "encounter"), + 1: .standard(proto: "badge_type"), + 2: .standard(proto: "badge_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172805,55 +176824,36 @@ extension BuddyEncounterHelpTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.cp) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.encounterType) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.arClassicEnabled) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.arPlusEnabled) }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.encounter) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.badgeType) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.badgeLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) - } - if self.cp != 0 { - try visitor.visitSingularInt32Field(value: self.cp, fieldNumber: 2) - } - if !self.encounterType.isEmpty { - try visitor.visitSingularStringField(value: self.encounterType, fieldNumber: 3) - } - if self.arClassicEnabled != false { - try visitor.visitSingularBoolField(value: self.arClassicEnabled, fieldNumber: 4) - } - if self.arPlusEnabled != false { - try visitor.visitSingularBoolField(value: self.arPlusEnabled, fieldNumber: 5) + if self.badgeType != .badgeUnset { + try visitor.visitSingularEnumField(value: self.badgeType, fieldNumber: 1) } - if self.encounter != .spawnPoint { - try visitor.visitSingularEnumField(value: self.encounter, fieldNumber: 6) + if self.badgeLevel != 0 { + try visitor.visitSingularInt32Field(value: self.badgeLevel, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyEncounterHelpTelemetry, rhs: BuddyEncounterHelpTelemetry) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.cp != rhs.cp {return false} - if lhs.encounterType != rhs.encounterType {return false} - if lhs.arClassicEnabled != rhs.arClassicEnabled {return false} - if lhs.arPlusEnabled != rhs.arPlusEnabled {return false} - if lhs.encounter != rhs.encounter {return false} + public static func ==(lhs: BadgeLevelAvatarLockProto, rhs: BadgeLevelAvatarLockProto) -> Bool { + if lhs.badgeType != rhs.badgeType {return false} + if lhs.badgeLevel != rhs.badgeLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyEvolutionWalkQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyEvolutionWalkQuestProto" +extension BadgeRewardEncounterRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BadgeRewardEncounterRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "last_km_recorded"), + 1: .standard(proto: "badge_type"), + 2: .standard(proto: "badge_tier"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172862,32 +176862,37 @@ extension BuddyEvolutionWalkQuestProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.lastKmRecorded) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.badgeType) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.badgeTier) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.lastKmRecorded != 0 { - try visitor.visitSingularFloatField(value: self.lastKmRecorded, fieldNumber: 1) + if self.badgeType != .badgeUnset { + try visitor.visitSingularEnumField(value: self.badgeType, fieldNumber: 1) + } + if self.badgeTier != 0 { + try visitor.visitSingularInt32Field(value: self.badgeTier, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyEvolutionWalkQuestProto, rhs: BuddyEvolutionWalkQuestProto) -> Bool { - if lhs.lastKmRecorded != rhs.lastKmRecorded {return false} + public static func ==(lhs: BadgeRewardEncounterRequestProto, rhs: BadgeRewardEncounterRequestProto) -> Bool { + if lhs.badgeType != rhs.badgeType {return false} + if lhs.badgeTier != rhs.badgeTier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyFeedingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyFeedingOutProto" +extension BadgeRewardEncounterResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BadgeRewardEncounterResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 3: .standard(proto: "observed_data"), - 4: .standard(proto: "shown_hearts"), + 1: .same(proto: "status"), + 2: .same(proto: "encounter"), + 3: .same(proto: "rewards"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172896,9 +176901,9 @@ extension BuddyFeedingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.shownHearts) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._encounter) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() default: break } } @@ -172909,43 +176914,45 @@ extension BuddyFeedingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.status != .unknown { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - try { if let v = self._observedData { + try { if let v = self._encounter { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._rewards { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() - if self.shownHearts != .buddyHeartUnset { - try visitor.visitSingularEnumField(value: self.shownHearts, fieldNumber: 4) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyFeedingOutProto, rhs: BuddyFeedingOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._observedData != rhs._observedData {return false} - if lhs.shownHearts != rhs.shownHearts {return false} + public static func ==(lhs: BadgeRewardEncounterResponseProto, rhs: BadgeRewardEncounterResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._encounter != rhs._encounter {return false} + if lhs._rewards != rhs._rewards {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyFeedingOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension BadgeRewardEncounterResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_BUDDY_NOT_VALID"), - 3: .same(proto: "FAILED_INSUFFICIENT_RESOURCES"), - 4: .same(proto: "FAILED_INVALID_ITEM_REQUIREMENT"), - 5: .same(proto: "FAILED_BUDDY_STILL_FULL_FROM_POFFIN"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "SUCCESS_ENCOUNTER"), + 2: .same(proto: "SUCCESS_POKEMON_INVENTORY_FULL"), + 3: .same(proto: "ERROR_REQUIRES_PROGRESS"), + 4: .same(proto: "ERROR_ENCOUNTER_COMPLETE"), + 5: .same(proto: "ERROR"), ] } -extension BuddyFeedingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyFeedingProto" +extension BadgeRewardEncounterResponseProto.EncounterInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BadgeRewardEncounterResponseProto.protoMessageName + ".EncounterInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .same(proto: "count"), + 1: .same(proto: "pokemon"), + 2: .standard(proto: "capture_probability"), + 3: .standard(proto: "active_item"), + 4: .standard(proto: "encounter_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172954,36 +176961,57 @@ extension BuddyFeedingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 4: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._captureProbability { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 3) } - if self.count != 0 { - try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyFeedingProto, rhs: BuddyFeedingProto) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.count != rhs.count {return false} + public static func ==(lhs: BadgeRewardEncounterResponseProto.EncounterInfoProto, rhs: BadgeRewardEncounterResponseProto.EncounterInfoProto) -> Bool { + if lhs._pokemon != rhs._pokemon {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} + if lhs.encounterID != rhs.encounterID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyGiftProto" +extension BadgeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BadgeSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "souvenir"), - 2: .standard(proto: "loot_proto"), + 1: .standard(proto: "badge_type"), + 2: .standard(proto: "badge_ranks"), + 3: .same(proto: "targets"), + 4: .standard(proto: "tier_rewards"), + 5: .standard(proto: "event_badge"), + 6: .standard(proto: "event_badge_settings"), + 7: .standard(proto: "combat_league_template_id"), + 8: .standard(proto: "use_stat_as_medal_level"), + 9: .standard(proto: "max_tracked_entries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -172992,8 +177020,15 @@ extension BuddyGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._souvenir) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._lootProto) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.badgeType) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.badgeRanks) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.targets) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.tierRewards) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.eventBadge) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._eventBadgeSettings) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.useStatAsMedalLevel) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.maxTrackedEntries) }() default: break } } @@ -173004,42 +177039,92 @@ extension BuddyGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._souvenir { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._lootProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + if self.badgeType != .badgeUnset { + try visitor.visitSingularEnumField(value: self.badgeType, fieldNumber: 1) + } + if self.badgeRanks != 0 { + try visitor.visitSingularInt32Field(value: self.badgeRanks, fieldNumber: 2) + } + if !self.targets.isEmpty { + try visitor.visitPackedInt32Field(value: self.targets, fieldNumber: 3) + } + if !self.tierRewards.isEmpty { + try visitor.visitRepeatedMessageField(value: self.tierRewards, fieldNumber: 4) + } + if self.eventBadge != false { + try visitor.visitSingularBoolField(value: self.eventBadge, fieldNumber: 5) + } + try { if let v = self._eventBadgeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) } }() + if !self.combatLeagueTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 7) + } + if self.useStatAsMedalLevel != false { + try visitor.visitSingularBoolField(value: self.useStatAsMedalLevel, fieldNumber: 8) + } + if self.maxTrackedEntries != 0 { + try visitor.visitSingularInt32Field(value: self.maxTrackedEntries, fieldNumber: 9) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: BadgeSettingsProto, rhs: BadgeSettingsProto) -> Bool { + if lhs.badgeType != rhs.badgeType {return false} + if lhs.badgeRanks != rhs.badgeRanks {return false} + if lhs.targets != rhs.targets {return false} + if lhs.tierRewards != rhs.tierRewards {return false} + if lhs.eventBadge != rhs.eventBadge {return false} + if lhs._eventBadgeSettings != rhs._eventBadgeSettings {return false} + if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} + if lhs.useStatAsMedalLevel != rhs.useStatAsMedalLevel {return false} + if lhs.maxTrackedEntries != rhs.maxTrackedEntries {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension BadgeSystemSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BadgeSystemSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "badge_reward_encounter_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.badgeRewardEncounterEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.badgeRewardEncounterEnabled != false { + try visitor.visitSingularBoolField(value: self.badgeRewardEncounterEnabled, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyGiftProto, rhs: BuddyGiftProto) -> Bool { - if lhs._souvenir != rhs._souvenir {return false} - if lhs._lootProto != rhs._lootProto {return false} + public static func ==(lhs: BadgeSystemSettingsProto, rhs: BadgeSystemSettingsProto) -> Bool { + if lhs.badgeRewardEncounterEnabled != rhs.badgeRewardEncounterEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyGlobalSettingsProto" +extension BadgeTierRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BadgeTierRewardProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "buddy_v2_min_player_level"), - 2: .standard(proto: "buddy_multiplayer_min_player_level"), - 3: .standard(proto: "enable_monodepth"), - 4: .standard(proto: "monodepth_devices"), - 5: .standard(proto: "lobby_status_message_duration_ms"), - 6: .standard(proto: "mapping_instruction_duration_ms"), - 7: .standard(proto: "group_photo_leader_tracking_interval_ms"), - 8: .standard(proto: "group_photo_countdown_ms"), - 9: .standard(proto: "lobby_timeout_ms"), - 10: .standard(proto: "enable_wallaby_telemetry"), - 11: .standard(proto: "mapping_hint_timeout_ms"), - 12: .standard(proto: "group_photo_simultaneous_shots"), - 13: .standard(proto: "plfe_auth_tokens_enabled"), - 14: .standard(proto: "group_photo_shot_interval_ms"), - 15: .standard(proto: "arbe_endpoint_url"), - 16: .standard(proto: "buddy_on_map_required_to_open_gifts"), + 1: .standard(proto: "capture_reward_multiplier"), + 2: .standard(proto: "avatar_template_ids"), + 3: .standard(proto: "reward_pokemon"), + 4: .standard(proto: "tier_index"), + 5: .standard(proto: "reward_description_key"), + 7: .standard(proto: "reward_types"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173048,167 +177133,119 @@ extension BuddyGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.buddyV2MinPlayerLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.buddyMultiplayerMinPlayerLevel) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.enableMonodepth) }() - case 4: try { try decoder.decodeRepeatedStringField(value: &self.monodepthDevices) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.lobbyStatusMessageDurationMs) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.mappingInstructionDurationMs) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.groupPhotoLeaderTrackingIntervalMs) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.groupPhotoCountdownMs) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.lobbyTimeoutMs) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.enableWallabyTelemetry) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &self.mappingHintTimeoutMs) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &self.groupPhotoSimultaneousShots) }() - case 13: try { try decoder.decodeSingularBoolField(value: &self.plfeAuthTokensEnabled) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &self.groupPhotoShotIntervalMs) }() - case 15: try { try decoder.decodeSingularStringField(value: &self.arbeEndpointURL) }() - case 16: try { try decoder.decodeSingularBoolField(value: &self.buddyOnMapRequiredToOpenGifts) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.captureRewardMultiplier) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.avatarTemplateIds) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.rewardPokemon) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.tierIndex) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.rewardDescriptionKey) }() + case 7: try { try decoder.decodeRepeatedEnumField(value: &self.rewardTypes) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.buddyV2MinPlayerLevel != 0 { - try visitor.visitSingularInt32Field(value: self.buddyV2MinPlayerLevel, fieldNumber: 1) - } - if self.buddyMultiplayerMinPlayerLevel != 0 { - try visitor.visitSingularInt32Field(value: self.buddyMultiplayerMinPlayerLevel, fieldNumber: 2) - } - if self.enableMonodepth != false { - try visitor.visitSingularBoolField(value: self.enableMonodepth, fieldNumber: 3) - } - if !self.monodepthDevices.isEmpty { - try visitor.visitRepeatedStringField(value: self.monodepthDevices, fieldNumber: 4) - } - if self.lobbyStatusMessageDurationMs != 0 { - try visitor.visitSingularInt32Field(value: self.lobbyStatusMessageDurationMs, fieldNumber: 5) - } - if self.mappingInstructionDurationMs != 0 { - try visitor.visitSingularInt32Field(value: self.mappingInstructionDurationMs, fieldNumber: 6) - } - if self.groupPhotoLeaderTrackingIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: self.groupPhotoLeaderTrackingIntervalMs, fieldNumber: 7) - } - if self.groupPhotoCountdownMs != 0 { - try visitor.visitSingularInt32Field(value: self.groupPhotoCountdownMs, fieldNumber: 8) - } - if self.lobbyTimeoutMs != 0 { - try visitor.visitSingularInt32Field(value: self.lobbyTimeoutMs, fieldNumber: 9) - } - if self.enableWallabyTelemetry != false { - try visitor.visitSingularBoolField(value: self.enableWallabyTelemetry, fieldNumber: 10) - } - if self.mappingHintTimeoutMs != 0 { - try visitor.visitSingularInt32Field(value: self.mappingHintTimeoutMs, fieldNumber: 11) + if self.captureRewardMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.captureRewardMultiplier, fieldNumber: 1) } - if self.groupPhotoSimultaneousShots != 0 { - try visitor.visitSingularInt32Field(value: self.groupPhotoSimultaneousShots, fieldNumber: 12) + if !self.avatarTemplateIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.avatarTemplateIds, fieldNumber: 2) } - if self.plfeAuthTokensEnabled != false { - try visitor.visitSingularBoolField(value: self.plfeAuthTokensEnabled, fieldNumber: 13) + if !self.rewardPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.rewardPokemon, fieldNumber: 3) } - if self.groupPhotoShotIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: self.groupPhotoShotIntervalMs, fieldNumber: 14) + if self.tierIndex != 0 { + try visitor.visitSingularInt32Field(value: self.tierIndex, fieldNumber: 4) } - if !self.arbeEndpointURL.isEmpty { - try visitor.visitSingularStringField(value: self.arbeEndpointURL, fieldNumber: 15) + if !self.rewardDescriptionKey.isEmpty { + try visitor.visitSingularStringField(value: self.rewardDescriptionKey, fieldNumber: 5) } - if self.buddyOnMapRequiredToOpenGifts != false { - try visitor.visitSingularBoolField(value: self.buddyOnMapRequiredToOpenGifts, fieldNumber: 16) + if !self.rewardTypes.isEmpty { + try visitor.visitPackedEnumField(value: self.rewardTypes, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyGlobalSettingsProto, rhs: BuddyGlobalSettingsProto) -> Bool { - if lhs.buddyV2MinPlayerLevel != rhs.buddyV2MinPlayerLevel {return false} - if lhs.buddyMultiplayerMinPlayerLevel != rhs.buddyMultiplayerMinPlayerLevel {return false} - if lhs.enableMonodepth != rhs.enableMonodepth {return false} - if lhs.monodepthDevices != rhs.monodepthDevices {return false} - if lhs.lobbyStatusMessageDurationMs != rhs.lobbyStatusMessageDurationMs {return false} - if lhs.mappingInstructionDurationMs != rhs.mappingInstructionDurationMs {return false} - if lhs.groupPhotoLeaderTrackingIntervalMs != rhs.groupPhotoLeaderTrackingIntervalMs {return false} - if lhs.groupPhotoCountdownMs != rhs.groupPhotoCountdownMs {return false} - if lhs.lobbyTimeoutMs != rhs.lobbyTimeoutMs {return false} - if lhs.enableWallabyTelemetry != rhs.enableWallabyTelemetry {return false} - if lhs.mappingHintTimeoutMs != rhs.mappingHintTimeoutMs {return false} - if lhs.groupPhotoSimultaneousShots != rhs.groupPhotoSimultaneousShots {return false} - if lhs.plfeAuthTokensEnabled != rhs.plfeAuthTokensEnabled {return false} - if lhs.groupPhotoShotIntervalMs != rhs.groupPhotoShotIntervalMs {return false} - if lhs.arbeEndpointURL != rhs.arbeEndpointURL {return false} - if lhs.buddyOnMapRequiredToOpenGifts != rhs.buddyOnMapRequiredToOpenGifts {return false} + public static func ==(lhs: BadgeTierRewardProto, rhs: BadgeTierRewardProto) -> Bool { + if lhs.captureRewardMultiplier != rhs.captureRewardMultiplier {return false} + if lhs.avatarTemplateIds != rhs.avatarTemplateIds {return false} + if lhs.rewardPokemon != rhs.rewardPokemon {return false} + if lhs.tierIndex != rhs.tierIndex {return false} + if lhs.rewardDescriptionKey != rhs.rewardDescriptionKey {return false} + if lhs.rewardTypes != rhs.rewardTypes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyHistoryData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyHistoryData" +extension BadgeTierRewardProto.BadgeRewardType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "pokedex_id"), - 3: .standard(proto: "pokemon_display"), - 4: .standard(proto: "hatched_from_egg"), - 5: .same(proto: "nickname"), - 6: .standard(proto: "captured_s2_cell_id"), - 7: .standard(proto: "creation_timestamp_ms"), - 8: .same(proto: "pokeball"), - 9: .standard(proto: "total_stats"), - 10: .standard(proto: "current_points_earned"), - 11: .standard(proto: "last_set_timestamp_ms"), - 12: .standard(proto: "last_unset_timestamp_ms"), - 13: .standard(proto: "num_days_spent_with_buddy"), - 14: .same(proto: "ditched"), - 15: .standard(proto: "original_owner_nickname"), - 16: .standard(proto: "traded_time_ms"), - 17: .standard(proto: "souvenirs_collected"), - 18: .standard(proto: "km_candy_progress"), + 0: .same(proto: "NONE"), + 1: .same(proto: "AVATAR_ITEM"), + 2: .same(proto: "POKEMON_ENCOUNTER"), + ] +} + +extension BattleActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleActionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "type"), + 2: .standard(proto: "action_start_ms"), + 3: .standard(proto: "duration_ms"), + 5: .standard(proto: "energy_delta"), + 6: .standard(proto: "attacker_index"), + 7: .standard(proto: "target_index"), + 8: .standard(proto: "active_pokemon_id"), + 9: .standard(proto: "joined_player"), + 10: .standard(proto: "battle_results"), + 11: .standard(proto: "damage_window_start_ms"), + 12: .standard(proto: "damage_window_end_ms"), + 13: .standard(proto: "quit_player"), + 14: .standard(proto: "target_pokemon_id"), + 15: .standard(proto: "leveled_up_friends"), + 16: .same(proto: "item"), + 17: .standard(proto: "trainer_ability"), ] fileprivate class _StorageClass { - var _pokemonID: UInt64 = 0 - var _pokedexID: HoloPokemonId = .missingno - var _pokemonDisplay: PokemonDisplayProto? = nil - var _hatchedFromEgg: Bool = false - var _nickname: String = String() - var _capturedS2CellID: Int64 = 0 - var _creationTimestampMs: Int64 = 0 - var _pokeball: Item = .unknown - var _totalStats: BuddyStats? = nil - var _currentPointsEarned: Int32 = 0 - var _lastSetTimestampMs: Int64 = 0 - var _lastUnsetTimestampMs: Int64 = 0 - var _numDaysSpentWithBuddy: Int32 = 0 - var _ditched: Bool = false - var _originalOwnerNickname: String = String() - var _tradedTimeMs: Int64 = 0 - var _souvenirsCollected: Dictionary = [:] - var _kmCandyProgress: Float = 0 + var _type: BattleActionProto.ActionType = .unset + var _actionStartMs: Int64 = 0 + var _durationMs: Int32 = 0 + var _energyDelta: Int32 = 0 + var _attackerIndex: Int32 = 0 + var _targetIndex: Int32 = 0 + var _activePokemonID: UInt64 = 0 + var _joinedPlayer: BattleParticipantProto? = nil + var _battleResults: BattleResultsProto? = nil + var _damageWindowStartMs: Int64 = 0 + var _damageWindowEndMs: Int64 = 0 + var _quitPlayer: BattleParticipantProto? = nil + var _targetPokemonID: UInt64 = 0 + var _leveledUpFriends: LeveledUpFriendsProto? = nil + var _item: [Item] = [] + var _trainerAbility: TrainerAbility = .unsetTrainerAbility static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _pokemonID = source._pokemonID - _pokedexID = source._pokedexID - _pokemonDisplay = source._pokemonDisplay - _hatchedFromEgg = source._hatchedFromEgg - _nickname = source._nickname - _capturedS2CellID = source._capturedS2CellID - _creationTimestampMs = source._creationTimestampMs - _pokeball = source._pokeball - _totalStats = source._totalStats - _currentPointsEarned = source._currentPointsEarned - _lastSetTimestampMs = source._lastSetTimestampMs - _lastUnsetTimestampMs = source._lastUnsetTimestampMs - _numDaysSpentWithBuddy = source._numDaysSpentWithBuddy - _ditched = source._ditched - _originalOwnerNickname = source._originalOwnerNickname - _tradedTimeMs = source._tradedTimeMs - _souvenirsCollected = source._souvenirsCollected - _kmCandyProgress = source._kmCandyProgress + _type = source._type + _actionStartMs = source._actionStartMs + _durationMs = source._durationMs + _energyDelta = source._energyDelta + _attackerIndex = source._attackerIndex + _targetIndex = source._targetIndex + _activePokemonID = source._activePokemonID + _joinedPlayer = source._joinedPlayer + _battleResults = source._battleResults + _damageWindowStartMs = source._damageWindowStartMs + _damageWindowEndMs = source._damageWindowEndMs + _quitPlayer = source._quitPlayer + _targetPokemonID = source._targetPokemonID + _leveledUpFriends = source._leveledUpFriends + _item = source._item + _trainerAbility = source._trainerAbility } } @@ -173227,24 +177264,22 @@ extension BuddyHistoryData: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &_storage._pokemonID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._pokedexID) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay) }() - case 4: try { try decoder.decodeSingularBoolField(value: &_storage._hatchedFromEgg) }() - case 5: try { try decoder.decodeSingularStringField(value: &_storage._nickname) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._capturedS2CellID) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._creationTimestampMs) }() - case 8: try { try decoder.decodeSingularEnumField(value: &_storage._pokeball) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._totalStats) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._currentPointsEarned) }() - case 11: try { try decoder.decodeSingularInt64Field(value: &_storage._lastSetTimestampMs) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._lastUnsetTimestampMs) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._numDaysSpentWithBuddy) }() - case 14: try { try decoder.decodeSingularBoolField(value: &_storage._ditched) }() - case 15: try { try decoder.decodeSingularStringField(value: &_storage._originalOwnerNickname) }() - case 16: try { try decoder.decodeSingularInt64Field(value: &_storage._tradedTimeMs) }() - case 17: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._souvenirsCollected) }() - case 18: try { try decoder.decodeSingularFloatField(value: &_storage._kmCandyProgress) }() + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._type) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &_storage._actionStartMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._durationMs) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._energyDelta) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._attackerIndex) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._targetIndex) }() + case 8: try { try decoder.decodeSingularFixed64Field(value: &_storage._activePokemonID) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._joinedPlayer) }() + case 10: try { try decoder.decodeSingularMessageField(value: &_storage._battleResults) }() + case 11: try { try decoder.decodeSingularInt64Field(value: &_storage._damageWindowStartMs) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._damageWindowEndMs) }() + case 13: try { try decoder.decodeSingularMessageField(value: &_storage._quitPlayer) }() + case 14: try { try decoder.decodeSingularFixed64Field(value: &_storage._targetPokemonID) }() + case 15: try { try decoder.decodeSingularMessageField(value: &_storage._leveledUpFriends) }() + case 16: try { try decoder.decodeRepeatedEnumField(value: &_storage._item) }() + case 17: try { try decoder.decodeSingularEnumField(value: &_storage._trainerAbility) }() default: break } } @@ -173257,87 +177292,79 @@ extension BuddyHistoryData: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._pokemonID, fieldNumber: 1) + if _storage._type != .unset { + try visitor.visitSingularEnumField(value: _storage._type, fieldNumber: 1) } - if _storage._pokedexID != .missingno { - try visitor.visitSingularEnumField(value: _storage._pokedexID, fieldNumber: 2) + if _storage._actionStartMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._actionStartMs, fieldNumber: 2) } - try { if let v = _storage._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if _storage._hatchedFromEgg != false { - try visitor.visitSingularBoolField(value: _storage._hatchedFromEgg, fieldNumber: 4) + if _storage._durationMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._durationMs, fieldNumber: 3) } - if !_storage._nickname.isEmpty { - try visitor.visitSingularStringField(value: _storage._nickname, fieldNumber: 5) + if _storage._energyDelta != 0 { + try visitor.visitSingularInt32Field(value: _storage._energyDelta, fieldNumber: 5) } - if _storage._capturedS2CellID != 0 { - try visitor.visitSingularInt64Field(value: _storage._capturedS2CellID, fieldNumber: 6) + if _storage._attackerIndex != 0 { + try visitor.visitSingularInt32Field(value: _storage._attackerIndex, fieldNumber: 6) } - if _storage._creationTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._creationTimestampMs, fieldNumber: 7) + if _storage._targetIndex != 0 { + try visitor.visitSingularInt32Field(value: _storage._targetIndex, fieldNumber: 7) } - if _storage._pokeball != .unknown { - try visitor.visitSingularEnumField(value: _storage._pokeball, fieldNumber: 8) + if _storage._activePokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._activePokemonID, fieldNumber: 8) } - try { if let v = _storage._totalStats { + try { if let v = _storage._joinedPlayer { try visitor.visitSingularMessageField(value: v, fieldNumber: 9) } }() - if _storage._currentPointsEarned != 0 { - try visitor.visitSingularInt32Field(value: _storage._currentPointsEarned, fieldNumber: 10) - } - if _storage._lastSetTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastSetTimestampMs, fieldNumber: 11) - } - if _storage._lastUnsetTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastUnsetTimestampMs, fieldNumber: 12) - } - if _storage._numDaysSpentWithBuddy != 0 { - try visitor.visitSingularInt32Field(value: _storage._numDaysSpentWithBuddy, fieldNumber: 13) - } - if _storage._ditched != false { - try visitor.visitSingularBoolField(value: _storage._ditched, fieldNumber: 14) + try { if let v = _storage._battleResults { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + if _storage._damageWindowStartMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._damageWindowStartMs, fieldNumber: 11) } - if !_storage._originalOwnerNickname.isEmpty { - try visitor.visitSingularStringField(value: _storage._originalOwnerNickname, fieldNumber: 15) + if _storage._damageWindowEndMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._damageWindowEndMs, fieldNumber: 12) } - if _storage._tradedTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._tradedTimeMs, fieldNumber: 16) + try { if let v = _storage._quitPlayer { + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + } }() + if _storage._targetPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._targetPokemonID, fieldNumber: 14) } - if !_storage._souvenirsCollected.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._souvenirsCollected, fieldNumber: 17) + try { if let v = _storage._leveledUpFriends { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + } }() + if !_storage._item.isEmpty { + try visitor.visitPackedEnumField(value: _storage._item, fieldNumber: 16) } - if _storage._kmCandyProgress != 0 { - try visitor.visitSingularFloatField(value: _storage._kmCandyProgress, fieldNumber: 18) + if _storage._trainerAbility != .unsetTrainerAbility { + try visitor.visitSingularEnumField(value: _storage._trainerAbility, fieldNumber: 17) } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyHistoryData, rhs: BuddyHistoryData) -> Bool { + public static func ==(lhs: BattleActionProto, rhs: BattleActionProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._pokemonID != rhs_storage._pokemonID {return false} - if _storage._pokedexID != rhs_storage._pokedexID {return false} - if _storage._pokemonDisplay != rhs_storage._pokemonDisplay {return false} - if _storage._hatchedFromEgg != rhs_storage._hatchedFromEgg {return false} - if _storage._nickname != rhs_storage._nickname {return false} - if _storage._capturedS2CellID != rhs_storage._capturedS2CellID {return false} - if _storage._creationTimestampMs != rhs_storage._creationTimestampMs {return false} - if _storage._pokeball != rhs_storage._pokeball {return false} - if _storage._totalStats != rhs_storage._totalStats {return false} - if _storage._currentPointsEarned != rhs_storage._currentPointsEarned {return false} - if _storage._lastSetTimestampMs != rhs_storage._lastSetTimestampMs {return false} - if _storage._lastUnsetTimestampMs != rhs_storage._lastUnsetTimestampMs {return false} - if _storage._numDaysSpentWithBuddy != rhs_storage._numDaysSpentWithBuddy {return false} - if _storage._ditched != rhs_storage._ditched {return false} - if _storage._originalOwnerNickname != rhs_storage._originalOwnerNickname {return false} - if _storage._tradedTimeMs != rhs_storage._tradedTimeMs {return false} - if _storage._souvenirsCollected != rhs_storage._souvenirsCollected {return false} - if _storage._kmCandyProgress != rhs_storage._kmCandyProgress {return false} + if _storage._type != rhs_storage._type {return false} + if _storage._actionStartMs != rhs_storage._actionStartMs {return false} + if _storage._durationMs != rhs_storage._durationMs {return false} + if _storage._energyDelta != rhs_storage._energyDelta {return false} + if _storage._attackerIndex != rhs_storage._attackerIndex {return false} + if _storage._targetIndex != rhs_storage._targetIndex {return false} + if _storage._activePokemonID != rhs_storage._activePokemonID {return false} + if _storage._joinedPlayer != rhs_storage._joinedPlayer {return false} + if _storage._battleResults != rhs_storage._battleResults {return false} + if _storage._damageWindowStartMs != rhs_storage._damageWindowStartMs {return false} + if _storage._damageWindowEndMs != rhs_storage._damageWindowEndMs {return false} + if _storage._quitPlayer != rhs_storage._quitPlayer {return false} + if _storage._targetPokemonID != rhs_storage._targetPokemonID {return false} + if _storage._leveledUpFriends != rhs_storage._leveledUpFriends {return false} + if _storage._item != rhs_storage._item {return false} + if _storage._trainerAbility != rhs_storage._trainerAbility {return false} return true } if !storagesAreEqual {return false} @@ -173347,14 +177374,38 @@ extension BuddyHistoryData: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme } } -extension BuddyHungerSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyHungerSettings" +extension BattleActionProto.ActionType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_hunger_points_required_for_full"), - 2: .standard(proto: "decay_points_per_bucket"), - 3: .standard(proto: "milliseconds_per_bucket"), - 4: .standard(proto: "cooldown_duration_ms"), - 5: .standard(proto: "decay_duration_after_full_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ATTACK"), + 2: .same(proto: "DODGE"), + 3: .same(proto: "SPECIAL_ATTACK"), + 4: .same(proto: "SWAP_POKEMON"), + 5: .same(proto: "FAINT"), + 6: .same(proto: "PLAYER_JOIN"), + 7: .same(proto: "PLAYER_QUIT"), + 8: .same(proto: "VICTORY"), + 9: .same(proto: "DEFEAT"), + 10: .same(proto: "TIMED_OUT"), + 11: .same(proto: "SPECIAL_ATTACK_2"), + 12: .same(proto: "USE_ITEM"), + 13: .same(proto: "DISPLAY_CHANGE"), + 14: .same(proto: "ACTIVATE_ABILITY"), + ] +} + +extension BattleActionProtoLog: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleActionProtoLog" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "type"), + 2: .standard(proto: "action_start_offset_ms"), + 3: .standard(proto: "duration_ms"), + 4: .standard(proto: "energy_delta"), + 5: .standard(proto: "attacker_index"), + 6: .standard(proto: "target_index"), + 7: .standard(proto: "active_pokemon_id"), + 8: .standard(proto: "damage_window_start_offset_ms"), + 9: .standard(proto: "damage_window_end_offset_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173363,90 +177414,73 @@ extension BuddyHungerSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.numHungerPointsRequiredForFull) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.decayPointsPerBucket) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.millisecondsPerBucket) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.cooldownDurationMs) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.decayDurationAfterFullMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.actionStartOffsetMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.durationMs) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.energyDelta) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.attackerIndex) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.targetIndex) }() + case 7: try { try decoder.decodeSingularFixed64Field(value: &self.activePokemonID) }() + case 8: try { try decoder.decodeSingularUInt32Field(value: &self.damageWindowStartOffsetMs) }() + case 9: try { try decoder.decodeSingularUInt32Field(value: &self.damageWindowEndOffsetMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numHungerPointsRequiredForFull != 0 { - try visitor.visitSingularInt32Field(value: self.numHungerPointsRequiredForFull, fieldNumber: 1) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } - if self.decayPointsPerBucket != 0 { - try visitor.visitSingularInt32Field(value: self.decayPointsPerBucket, fieldNumber: 2) + if self.actionStartOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.actionStartOffsetMs, fieldNumber: 2) } - if self.millisecondsPerBucket != 0 { - try visitor.visitSingularInt64Field(value: self.millisecondsPerBucket, fieldNumber: 3) + if self.durationMs != 0 { + try visitor.visitSingularInt32Field(value: self.durationMs, fieldNumber: 3) } - if self.cooldownDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.cooldownDurationMs, fieldNumber: 4) + if self.energyDelta != 0 { + try visitor.visitSingularInt32Field(value: self.energyDelta, fieldNumber: 4) } - if self.decayDurationAfterFullMs != 0 { - try visitor.visitSingularInt64Field(value: self.decayDurationAfterFullMs, fieldNumber: 5) + if self.attackerIndex != 0 { + try visitor.visitSingularInt32Field(value: self.attackerIndex, fieldNumber: 5) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BuddyHungerSettings, rhs: BuddyHungerSettings) -> Bool { - if lhs.numHungerPointsRequiredForFull != rhs.numHungerPointsRequiredForFull {return false} - if lhs.decayPointsPerBucket != rhs.decayPointsPerBucket {return false} - if lhs.millisecondsPerBucket != rhs.millisecondsPerBucket {return false} - if lhs.cooldownDurationMs != rhs.cooldownDurationMs {return false} - if lhs.decayDurationAfterFullMs != rhs.decayDurationAfterFullMs {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension BuddyInteractionSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyInteractionSettings" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "feed_item_whitelist"), - 2: .standard(proto: "care_item_whitelist"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.feedItemWhitelist) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.careItemWhitelist) }() - default: break - } + if self.targetIndex != 0 { + try visitor.visitSingularInt32Field(value: self.targetIndex, fieldNumber: 6) } - } - - public func traverse(visitor: inout V) throws { - if !self.feedItemWhitelist.isEmpty { - try visitor.visitPackedEnumField(value: self.feedItemWhitelist, fieldNumber: 1) + if self.activePokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.activePokemonID, fieldNumber: 7) } - if !self.careItemWhitelist.isEmpty { - try visitor.visitPackedEnumField(value: self.careItemWhitelist, fieldNumber: 2) + if self.damageWindowStartOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.damageWindowStartOffsetMs, fieldNumber: 8) + } + if self.damageWindowEndOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.damageWindowEndOffsetMs, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyInteractionSettings, rhs: BuddyInteractionSettings) -> Bool { - if lhs.feedItemWhitelist != rhs.feedItemWhitelist {return false} - if lhs.careItemWhitelist != rhs.careItemWhitelist {return false} + public static func ==(lhs: BattleActionProtoLog, rhs: BattleActionProtoLog) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.actionStartOffsetMs != rhs.actionStartOffsetMs {return false} + if lhs.durationMs != rhs.durationMs {return false} + if lhs.energyDelta != rhs.energyDelta {return false} + if lhs.attackerIndex != rhs.attackerIndex {return false} + if lhs.targetIndex != rhs.targetIndex {return false} + if lhs.activePokemonID != rhs.activePokemonID {return false} + if lhs.damageWindowStartOffsetMs != rhs.damageWindowStartOffsetMs {return false} + if lhs.damageWindowEndOffsetMs != rhs.damageWindowEndOffsetMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyLevelSettings" +extension BattleAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleAttributesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "level"), - 2: .standard(proto: "min_non_cumulative_points_required"), - 3: .standard(proto: "unlocked_traits"), + 1: .standard(proto: "sta_percent"), + 2: .standard(proto: "atk_percent"), + 3: .standard(proto: "def_percent"), + 4: .standard(proto: "duration_s"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173455,56 +177489,45 @@ extension BuddyLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.level) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minNonCumulativePointsRequired) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.unlockedTraits) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.staPercent) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.atkPercent) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.defPercent) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.durationS) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.level != .unset { - try visitor.visitSingularEnumField(value: self.level, fieldNumber: 1) + if self.staPercent != 0 { + try visitor.visitSingularFloatField(value: self.staPercent, fieldNumber: 1) } - if self.minNonCumulativePointsRequired != 0 { - try visitor.visitSingularInt32Field(value: self.minNonCumulativePointsRequired, fieldNumber: 2) + if self.atkPercent != 0 { + try visitor.visitSingularFloatField(value: self.atkPercent, fieldNumber: 2) } - if !self.unlockedTraits.isEmpty { - try visitor.visitPackedEnumField(value: self.unlockedTraits, fieldNumber: 3) + if self.defPercent != 0 { + try visitor.visitSingularFloatField(value: self.defPercent, fieldNumber: 3) + } + if self.durationS != 0 { + try visitor.visitSingularFloatField(value: self.durationS, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyLevelSettings, rhs: BuddyLevelSettings) -> Bool { - if lhs.level != rhs.level {return false} - if lhs.minNonCumulativePointsRequired != rhs.minNonCumulativePointsRequired {return false} - if lhs.unlockedTraits != rhs.unlockedTraits {return false} + public static func ==(lhs: BattleAttributesProto, rhs: BattleAttributesProto) -> Bool { + if lhs.staPercent != rhs.staPercent {return false} + if lhs.atkPercent != rhs.atkPercent {return false} + if lhs.defPercent != rhs.defPercent {return false} + if lhs.durationS != rhs.durationS {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyLevelSettings.BuddyTrait: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "MAP_DEPLOY"), - 2: .same(proto: "ENCOUNTER_CAMEO"), - 3: .same(proto: "EMOTION_INDICATOR"), - 4: .same(proto: "PICK_UP_CONSUMABLES"), - 5: .same(proto: "PICK_UP_SOUVENIRS"), - 6: .same(proto: "FIND_ATTRACTIVE_POIS"), - 7: .same(proto: "BEST_BUDDY_ASSET"), - 8: .same(proto: "CP_BOOST"), - ] -} - -extension BuddyMapEmotionCheckTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyMapEmotionCheckTelemetry" +extension BattleHubBadgeSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleHubBadgeSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "current_emotion_points"), - 3: .standard(proto: "current_affection_points"), + 1: .standard(proto: "combat_hub_displayed_badges"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173513,43 +177536,31 @@ extension BuddyMapEmotionCheckTelemetry: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.currentEmotionPoints) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.currentAffectionPoints) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.combatHubDisplayedBadges) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) - } - if self.currentEmotionPoints != 0 { - try visitor.visitSingularInt32Field(value: self.currentEmotionPoints, fieldNumber: 2) - } - if self.currentAffectionPoints != 0 { - try visitor.visitSingularInt32Field(value: self.currentAffectionPoints, fieldNumber: 3) + if !self.combatHubDisplayedBadges.isEmpty { + try visitor.visitPackedEnumField(value: self.combatHubDisplayedBadges, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyMapEmotionCheckTelemetry, rhs: BuddyMapEmotionCheckTelemetry) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.currentEmotionPoints != rhs.currentEmotionPoints {return false} - if lhs.currentAffectionPoints != rhs.currentAffectionPoints {return false} + public static func ==(lhs: BattleHubBadgeSettings, rhs: BattleHubBadgeSettings) -> Bool { + if lhs.combatHubDisplayedBadges != rhs.combatHubDisplayedBadges {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyMapOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyMapOutProto" +extension BattleHubOrderSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleHubOrderSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "expiration_ms"), - 3: .standard(proto: "applied_ms"), - 4: .standard(proto: "observed_data"), + 1: .same(proto: "section"), + 2: .standard(proto: "section_group"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173558,77 +177569,35 @@ extension BuddyMapOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.appliedMs) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.section) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.sectionGroup) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.expirationMs != 0 { - try visitor.visitSingularInt64Field(value: self.expirationMs, fieldNumber: 2) - } - if self.appliedMs != 0 { - try visitor.visitSingularInt64Field(value: self.appliedMs, fieldNumber: 3) + if !self.section.isEmpty { + try visitor.visitRepeatedMessageField(value: self.section, fieldNumber: 1) } - try { if let v = self._observedData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BuddyMapOutProto, rhs: BuddyMapOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.expirationMs != rhs.expirationMs {return false} - if lhs.appliedMs != rhs.appliedMs {return false} - if lhs._observedData != rhs._observedData {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension BuddyMapOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_BUDDY_NOT_VALID"), - ] -} - -extension BuddyMapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyMapProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if !self.sectionGroup.isEmpty { + try visitor.visitRepeatedMessageField(value: self.sectionGroup, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyMapProto, rhs: BuddyMapProto) -> Bool { + public static func ==(lhs: BattleHubOrderSettings, rhs: BattleHubOrderSettings) -> Bool { + if lhs.section != rhs.section {return false} + if lhs.sectionGroup != rhs.sectionGroup {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyMultiplayerConnectionFailedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyMultiplayerConnectionFailedProto" +extension BattleHubOrderSettings.SectionGroup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BattleHubOrderSettings.protoMessageName + ".SectionGroup" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "test_number"), - 2: .standard(proto: "response_time"), + 1: .same(proto: "section"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173637,36 +177606,31 @@ extension BuddyMultiplayerConnectionFailedProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.testNumber) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.responseTime) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.section) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.testNumber != 0 { - try visitor.visitSingularInt32Field(value: self.testNumber, fieldNumber: 1) - } - if self.responseTime != 0 { - try visitor.visitSingularInt64Field(value: self.responseTime, fieldNumber: 2) + if !self.section.isEmpty { + try visitor.visitPackedEnumField(value: self.section, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyMultiplayerConnectionFailedProto, rhs: BuddyMultiplayerConnectionFailedProto) -> Bool { - if lhs.testNumber != rhs.testNumber {return false} - if lhs.responseTime != rhs.responseTime {return false} + public static func ==(lhs: BattleHubOrderSettings.SectionGroup, rhs: BattleHubOrderSettings.SectionGroup) -> Bool { + if lhs.section != rhs.section {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyMultiplayerConnectionSucceededProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyMultiplayerConnectionSucceededProto" +extension BattleHubOrderSettings.SectionSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BattleHubOrderSettings.protoMessageName + ".SectionSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "test_number"), - 2: .standard(proto: "response_time"), + 1: .standard(proto: "main_section"), + 2: .same(proto: "subsection"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173675,36 +177639,40 @@ extension BuddyMultiplayerConnectionSucceededProto: SwiftProtobuf.Message, Swift // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.testNumber) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.responseTime) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.mainSection) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.subsection) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.testNumber != 0 { - try visitor.visitSingularInt32Field(value: self.testNumber, fieldNumber: 1) + if self.mainSection != .sectionUnset { + try visitor.visitSingularEnumField(value: self.mainSection, fieldNumber: 1) } - if self.responseTime != 0 { - try visitor.visitSingularInt64Field(value: self.responseTime, fieldNumber: 2) + if !self.subsection.isEmpty { + try visitor.visitPackedEnumField(value: self.subsection, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyMultiplayerConnectionSucceededProto, rhs: BuddyMultiplayerConnectionSucceededProto) -> Bool { - if lhs.testNumber != rhs.testNumber {return false} - if lhs.responseTime != rhs.responseTime {return false} + public static func ==(lhs: BattleHubOrderSettings.SectionSettings, rhs: BattleHubOrderSettings.SectionSettings) -> Bool { + if lhs.mainSection != rhs.mainSection {return false} + if lhs.subsection != rhs.subsection {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyMultiplayerTimeToGetSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyMultiplayerTimeToGetSessionProto" +extension BattleLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleLogProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "test_number"), - 2: .standard(proto: "time_to_get_session"), + 1: .same(proto: "state"), + 2: .standard(proto: "battle_type"), + 3: .standard(proto: "server_ms"), + 4: .standard(proto: "battle_actions"), + 5: .standard(proto: "battle_start_ms"), + 6: .standard(proto: "battle_end_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173713,108 +177681,187 @@ extension BuddyMultiplayerTimeToGetSessionProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.testNumber) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.timeToGetSession) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.state) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.battleType) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.serverMs) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.battleActions) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.battleStartMs) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.battleEndMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.testNumber != 0 { - try visitor.visitSingularInt32Field(value: self.testNumber, fieldNumber: 1) + if self.state != .unset { + try visitor.visitSingularEnumField(value: self.state, fieldNumber: 1) } - if self.timeToGetSession != 0 { - try visitor.visitSingularInt64Field(value: self.timeToGetSession, fieldNumber: 2) + if self.battleType != .unset { + try visitor.visitSingularEnumField(value: self.battleType, fieldNumber: 2) + } + if self.serverMs != 0 { + try visitor.visitSingularInt64Field(value: self.serverMs, fieldNumber: 3) + } + if !self.battleActions.isEmpty { + try visitor.visitRepeatedMessageField(value: self.battleActions, fieldNumber: 4) + } + if self.battleStartMs != 0 { + try visitor.visitSingularInt64Field(value: self.battleStartMs, fieldNumber: 5) + } + if self.battleEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.battleEndMs, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyMultiplayerTimeToGetSessionProto, rhs: BuddyMultiplayerTimeToGetSessionProto) -> Bool { - if lhs.testNumber != rhs.testNumber {return false} - if lhs.timeToGetSession != rhs.timeToGetSession {return false} + public static func ==(lhs: BattleLogProto, rhs: BattleLogProto) -> Bool { + if lhs.state != rhs.state {return false} + if lhs.battleType != rhs.battleType {return false} + if lhs.serverMs != rhs.serverMs {return false} + if lhs.battleActions != rhs.battleActions {return false} + if lhs.battleStartMs != rhs.battleStartMs {return false} + if lhs.battleEndMs != rhs.battleEndMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyNotificationClickTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyNotificationClickTelemetry" +extension BattleLogProto.BattleType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "notification_category"), + 0: .same(proto: "BATTLE_TYPE_UNSET"), + 1: .same(proto: "NORMAL"), + 2: .same(proto: "TRAINING"), + 3: .same(proto: "RAID"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.notificationCategory) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.notificationCategory != 0 { - try visitor.visitSingularInt32Field(value: self.notificationCategory, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BuddyNotificationClickTelemetry, rhs: BuddyNotificationClickTelemetry) -> Bool { - if lhs.notificationCategory != rhs.notificationCategory {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension BattleLogProto.State: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "STATE_UNSET"), + 1: .same(proto: "ACTIVE"), + 2: .same(proto: "VICTORY"), + 3: .same(proto: "DEFEATED"), + 4: .same(proto: "TIMED_OUT"), + ] } -extension BuddyObservedData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyObservedData" +extension BattleParticipantProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleParticipantProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "current_points_earned"), - 3: .standard(proto: "total_stats"), - 6: .standard(proto: "buddy_gift_picked_up"), - 7: .standard(proto: "current_emotion_points"), - 8: .standard(proto: "buddy_validation_result"), - 9: .standard(proto: "souvenirs_collected"), - 10: .standard(proto: "today_stats_shown_hearts"), - 11: .standard(proto: "buddy_feed_stats"), - 12: .standard(proto: "attractive_poi_id"), - 13: .standard(proto: "attractive_poi_expiration_time_ms"), - 14: .standard(proto: "num_days_spent_with_buddy"), + 1: .standard(proto: "active_pokemon"), + 2: .standard(proto: "trainer_public_profile"), + 3: .standard(proto: "reserve_pokemon"), + 4: .standard(proto: "defeated_pokemon"), + 5: .standard(proto: "lobby_pokemon"), + 6: .standard(proto: "damage_dealt"), + 7: .standard(proto: "super_effective_charge_move"), + 8: .standard(proto: "weather_boosted"), + 9: .standard(proto: "highest_friendship_milestone"), + 10: .standard(proto: "friend_codename"), + 11: .standard(proto: "is_remote"), + 12: .standard(proto: "is_social_invite"), + 13: .standard(proto: "has_active_mega_evolved_pokemon"), + 14: .standard(proto: "lobby_join_time_ms"), + 15: .standard(proto: "super_effective_charge_attacks_used"), + 16: .standard(proto: "pokemon_survival"), + 17: .standard(proto: "battle_mega_pokemon_id"), + 18: .standard(proto: "tall_pokemon_id"), + 19: .standard(proto: "number_of_charge_attacks_used"), + 20: .standard(proto: "last_player_join_time_ms"), + 21: .standard(proto: "last_player_quit_time_ms"), + 22: .standard(proto: "player_id"), + 23: .standard(proto: "referenced_pokemon"), + 24: .standard(proto: "join_buddy_pokemon_id"), + 25: .standard(proto: "battle_buddy_pokemon_id"), + 26: .standard(proto: "remote_friends"), + 27: .standard(proto: "local_friends"), + 28: .standard(proto: "last_update_time_ms"), + 29: .standard(proto: "boot_raid_state"), + 30: .standard(proto: "enabled_raid_friend_requests"), + 31: .standard(proto: "notable_action_history"), + 32: .standard(proto: "active_pokemon_stat_modifiers"), + 33: .standard(proto: "ability_energy"), + 36: .standard(proto: "ability_activation_count"), + 37: .standard(proto: "used_pokemon"), ] fileprivate class _StorageClass { - var _currentPointsEarned: Int32 = 0 - var _totalStats: BuddyStats? = nil - var _buddyGiftPickedUp: BuddyGiftProto? = nil - var _currentEmotionPoints: Int32 = 0 - var _buddyValidationResult: BuddyObservedData.BuddyValidationResult = .unset - var _souvenirsCollected: Dictionary = [:] - var _todayStatsShownHearts: BuddyStatsShownHearts? = nil - var _buddyFeedStats: BuddyObservedData.BuddyFeedStats? = nil - var _attractivePoiID: String = String() - var _attractivePoiExpirationTimeMs: Int64 = 0 - var _numDaysSpentWithBuddy: Int32 = 0 + var _activePokemon: PokemonInfo? = nil + var _trainerPublicProfile: PlayerPublicProfileProto? = nil + var _reservePokemon: [PokemonInfo] = [] + var _defeatedPokemon: [PokemonInfo] = [] + var _lobbyPokemon: [LobbyPokemonProto] = [] + var _damageDealt: Int32 = 0 + var _superEffectiveChargeMove: Bool = false + var _weatherBoosted: Bool = false + var _highestFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + var _friendCodename: [String] = [] + var _isRemote: Bool = false + var _isSocialInvite: Bool = false + var _hasActiveMegaEvolvedPokemon_p: Bool = false + var _lobbyJoinTimeMs: Int64 = 0 + var _superEffectiveChargeAttacksUsed: Int32 = 0 + var _pokemonSurvival: PokemonSurvivalTimeInfo? = nil + var _battleMegaPokemonID: UInt64 = 0 + var _tallPokemonID: UInt64 = 0 + var _numberOfChargeAttacksUsed: Int32 = 0 + var _lastPlayerJoinTimeMs: Int64 = 0 + var _lastPlayerQuitTimeMs: Int64 = 0 + var _playerID: String = String() + var _referencedPokemon: [PokemonInfo] = [] + var _joinBuddyPokemonID: UInt64 = 0 + var _battleBuddyPokemonID: UInt64 = 0 + var _remoteFriends: Int32 = 0 + var _localFriends: Int32 = 0 + var _lastUpdateTimeMs: Int64 = 0 + var _bootRaidState: Bool = false + var _enabledRaidFriendRequests: Bool = false + var _notableActionHistory: [VsActionHistory] = [] + var _activePokemonStatModifiers: Dictionary = [:] + var _abilityEnergy: Dictionary = [:] + var _abilityActivationCount: Dictionary = [:] + var _usedPokemon: [PokemonProto] = [] static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _currentPointsEarned = source._currentPointsEarned - _totalStats = source._totalStats - _buddyGiftPickedUp = source._buddyGiftPickedUp - _currentEmotionPoints = source._currentEmotionPoints - _buddyValidationResult = source._buddyValidationResult - _souvenirsCollected = source._souvenirsCollected - _todayStatsShownHearts = source._todayStatsShownHearts - _buddyFeedStats = source._buddyFeedStats - _attractivePoiID = source._attractivePoiID - _attractivePoiExpirationTimeMs = source._attractivePoiExpirationTimeMs - _numDaysSpentWithBuddy = source._numDaysSpentWithBuddy + _activePokemon = source._activePokemon + _trainerPublicProfile = source._trainerPublicProfile + _reservePokemon = source._reservePokemon + _defeatedPokemon = source._defeatedPokemon + _lobbyPokemon = source._lobbyPokemon + _damageDealt = source._damageDealt + _superEffectiveChargeMove = source._superEffectiveChargeMove + _weatherBoosted = source._weatherBoosted + _highestFriendshipMilestone = source._highestFriendshipMilestone + _friendCodename = source._friendCodename + _isRemote = source._isRemote + _isSocialInvite = source._isSocialInvite + _hasActiveMegaEvolvedPokemon_p = source._hasActiveMegaEvolvedPokemon_p + _lobbyJoinTimeMs = source._lobbyJoinTimeMs + _superEffectiveChargeAttacksUsed = source._superEffectiveChargeAttacksUsed + _pokemonSurvival = source._pokemonSurvival + _battleMegaPokemonID = source._battleMegaPokemonID + _tallPokemonID = source._tallPokemonID + _numberOfChargeAttacksUsed = source._numberOfChargeAttacksUsed + _lastPlayerJoinTimeMs = source._lastPlayerJoinTimeMs + _lastPlayerQuitTimeMs = source._lastPlayerQuitTimeMs + _playerID = source._playerID + _referencedPokemon = source._referencedPokemon + _joinBuddyPokemonID = source._joinBuddyPokemonID + _battleBuddyPokemonID = source._battleBuddyPokemonID + _remoteFriends = source._remoteFriends + _localFriends = source._localFriends + _lastUpdateTimeMs = source._lastUpdateTimeMs + _bootRaidState = source._bootRaidState + _enabledRaidFriendRequests = source._enabledRaidFriendRequests + _notableActionHistory = source._notableActionHistory + _activePokemonStatModifiers = source._activePokemonStatModifiers + _abilityEnergy = source._abilityEnergy + _abilityActivationCount = source._abilityActivationCount + _usedPokemon = source._usedPokemon } } @@ -173833,82 +177880,202 @@ extension BuddyObservedData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._currentPointsEarned) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._totalStats) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._buddyGiftPickedUp) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._currentEmotionPoints) }() - case 8: try { try decoder.decodeSingularEnumField(value: &_storage._buddyValidationResult) }() - case 9: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._souvenirsCollected) }() - case 10: try { try decoder.decodeSingularMessageField(value: &_storage._todayStatsShownHearts) }() - case 11: try { try decoder.decodeSingularMessageField(value: &_storage._buddyFeedStats) }() - case 12: try { try decoder.decodeSingularStringField(value: &_storage._attractivePoiID) }() - case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._attractivePoiExpirationTimeMs) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._numDaysSpentWithBuddy) }() + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._activePokemon) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._trainerPublicProfile) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._reservePokemon) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &_storage._defeatedPokemon) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._lobbyPokemon) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._damageDealt) }() + case 7: try { try decoder.decodeSingularBoolField(value: &_storage._superEffectiveChargeMove) }() + case 8: try { try decoder.decodeSingularBoolField(value: &_storage._weatherBoosted) }() + case 9: try { try decoder.decodeSingularEnumField(value: &_storage._highestFriendshipMilestone) }() + case 10: try { try decoder.decodeRepeatedStringField(value: &_storage._friendCodename) }() + case 11: try { try decoder.decodeSingularBoolField(value: &_storage._isRemote) }() + case 12: try { try decoder.decodeSingularBoolField(value: &_storage._isSocialInvite) }() + case 13: try { try decoder.decodeSingularBoolField(value: &_storage._hasActiveMegaEvolvedPokemon_p) }() + case 14: try { try decoder.decodeSingularInt64Field(value: &_storage._lobbyJoinTimeMs) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._superEffectiveChargeAttacksUsed) }() + case 16: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonSurvival) }() + case 17: try { try decoder.decodeSingularFixed64Field(value: &_storage._battleMegaPokemonID) }() + case 18: try { try decoder.decodeSingularFixed64Field(value: &_storage._tallPokemonID) }() + case 19: try { try decoder.decodeSingularInt32Field(value: &_storage._numberOfChargeAttacksUsed) }() + case 20: try { try decoder.decodeSingularInt64Field(value: &_storage._lastPlayerJoinTimeMs) }() + case 21: try { try decoder.decodeSingularInt64Field(value: &_storage._lastPlayerQuitTimeMs) }() + case 22: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() + case 23: try { try decoder.decodeRepeatedMessageField(value: &_storage._referencedPokemon) }() + case 24: try { try decoder.decodeSingularFixed64Field(value: &_storage._joinBuddyPokemonID) }() + case 25: try { try decoder.decodeSingularFixed64Field(value: &_storage._battleBuddyPokemonID) }() + case 26: try { try decoder.decodeSingularInt32Field(value: &_storage._remoteFriends) }() + case 27: try { try decoder.decodeSingularInt32Field(value: &_storage._localFriends) }() + case 28: try { try decoder.decodeSingularInt64Field(value: &_storage._lastUpdateTimeMs) }() + case 29: try { try decoder.decodeSingularBoolField(value: &_storage._bootRaidState) }() + case 30: try { try decoder.decodeSingularBoolField(value: &_storage._enabledRaidFriendRequests) }() + case 31: try { try decoder.decodeRepeatedMessageField(value: &_storage._notableActionHistory) }() + case 32: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._activePokemonStatModifiers) }() + case 33: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._abilityEnergy) }() + case 36: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &_storage._abilityActivationCount) }() + case 37: try { try decoder.decodeRepeatedMessageField(value: &_storage._usedPokemon) }() default: break } } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._currentPointsEarned != 0 { - try visitor.visitSingularInt32Field(value: _storage._currentPointsEarned, fieldNumber: 1) + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._activePokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = _storage._trainerPublicProfile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !_storage._reservePokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._reservePokemon, fieldNumber: 3) + } + if !_storage._defeatedPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._defeatedPokemon, fieldNumber: 4) + } + if !_storage._lobbyPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._lobbyPokemon, fieldNumber: 5) + } + if _storage._damageDealt != 0 { + try visitor.visitSingularInt32Field(value: _storage._damageDealt, fieldNumber: 6) + } + if _storage._superEffectiveChargeMove != false { + try visitor.visitSingularBoolField(value: _storage._superEffectiveChargeMove, fieldNumber: 7) + } + if _storage._weatherBoosted != false { + try visitor.visitSingularBoolField(value: _storage._weatherBoosted, fieldNumber: 8) + } + if _storage._highestFriendshipMilestone != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: _storage._highestFriendshipMilestone, fieldNumber: 9) + } + if !_storage._friendCodename.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._friendCodename, fieldNumber: 10) + } + if _storage._isRemote != false { + try visitor.visitSingularBoolField(value: _storage._isRemote, fieldNumber: 11) + } + if _storage._isSocialInvite != false { + try visitor.visitSingularBoolField(value: _storage._isSocialInvite, fieldNumber: 12) + } + if _storage._hasActiveMegaEvolvedPokemon_p != false { + try visitor.visitSingularBoolField(value: _storage._hasActiveMegaEvolvedPokemon_p, fieldNumber: 13) + } + if _storage._lobbyJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lobbyJoinTimeMs, fieldNumber: 14) + } + if _storage._superEffectiveChargeAttacksUsed != 0 { + try visitor.visitSingularInt32Field(value: _storage._superEffectiveChargeAttacksUsed, fieldNumber: 15) + } + try { if let v = _storage._pokemonSurvival { + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + } }() + if _storage._battleMegaPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._battleMegaPokemonID, fieldNumber: 17) + } + if _storage._tallPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._tallPokemonID, fieldNumber: 18) + } + if _storage._numberOfChargeAttacksUsed != 0 { + try visitor.visitSingularInt32Field(value: _storage._numberOfChargeAttacksUsed, fieldNumber: 19) + } + if _storage._lastPlayerJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastPlayerJoinTimeMs, fieldNumber: 20) + } + if _storage._lastPlayerQuitTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastPlayerQuitTimeMs, fieldNumber: 21) + } + if !_storage._playerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 22) + } + if !_storage._referencedPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._referencedPokemon, fieldNumber: 23) + } + if _storage._joinBuddyPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._joinBuddyPokemonID, fieldNumber: 24) + } + if _storage._battleBuddyPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._battleBuddyPokemonID, fieldNumber: 25) + } + if _storage._remoteFriends != 0 { + try visitor.visitSingularInt32Field(value: _storage._remoteFriends, fieldNumber: 26) } - try { if let v = _storage._totalStats { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = _storage._buddyGiftPickedUp { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - if _storage._currentEmotionPoints != 0 { - try visitor.visitSingularInt32Field(value: _storage._currentEmotionPoints, fieldNumber: 7) + if _storage._localFriends != 0 { + try visitor.visitSingularInt32Field(value: _storage._localFriends, fieldNumber: 27) } - if _storage._buddyValidationResult != .unset { - try visitor.visitSingularEnumField(value: _storage._buddyValidationResult, fieldNumber: 8) + if _storage._lastUpdateTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastUpdateTimeMs, fieldNumber: 28) } - if !_storage._souvenirsCollected.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._souvenirsCollected, fieldNumber: 9) + if _storage._bootRaidState != false { + try visitor.visitSingularBoolField(value: _storage._bootRaidState, fieldNumber: 29) } - try { if let v = _storage._todayStatsShownHearts { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - try { if let v = _storage._buddyFeedStats { - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - } }() - if !_storage._attractivePoiID.isEmpty { - try visitor.visitSingularStringField(value: _storage._attractivePoiID, fieldNumber: 12) + if _storage._enabledRaidFriendRequests != false { + try visitor.visitSingularBoolField(value: _storage._enabledRaidFriendRequests, fieldNumber: 30) } - if _storage._attractivePoiExpirationTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._attractivePoiExpirationTimeMs, fieldNumber: 13) + if !_storage._notableActionHistory.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._notableActionHistory, fieldNumber: 31) } - if _storage._numDaysSpentWithBuddy != 0 { - try visitor.visitSingularInt32Field(value: _storage._numDaysSpentWithBuddy, fieldNumber: 14) + if !_storage._activePokemonStatModifiers.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._activePokemonStatModifiers, fieldNumber: 32) + } + if !_storage._abilityEnergy.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._abilityEnergy, fieldNumber: 33) + } + if !_storage._abilityActivationCount.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: _storage._abilityActivationCount, fieldNumber: 36) + } + if !_storage._usedPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._usedPokemon, fieldNumber: 37) } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyObservedData, rhs: BuddyObservedData) -> Bool { + public static func ==(lhs: BattleParticipantProto, rhs: BattleParticipantProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._currentPointsEarned != rhs_storage._currentPointsEarned {return false} - if _storage._totalStats != rhs_storage._totalStats {return false} - if _storage._buddyGiftPickedUp != rhs_storage._buddyGiftPickedUp {return false} - if _storage._currentEmotionPoints != rhs_storage._currentEmotionPoints {return false} - if _storage._buddyValidationResult != rhs_storage._buddyValidationResult {return false} - if _storage._souvenirsCollected != rhs_storage._souvenirsCollected {return false} - if _storage._todayStatsShownHearts != rhs_storage._todayStatsShownHearts {return false} - if _storage._buddyFeedStats != rhs_storage._buddyFeedStats {return false} - if _storage._attractivePoiID != rhs_storage._attractivePoiID {return false} - if _storage._attractivePoiExpirationTimeMs != rhs_storage._attractivePoiExpirationTimeMs {return false} - if _storage._numDaysSpentWithBuddy != rhs_storage._numDaysSpentWithBuddy {return false} + if _storage._activePokemon != rhs_storage._activePokemon {return false} + if _storage._trainerPublicProfile != rhs_storage._trainerPublicProfile {return false} + if _storage._reservePokemon != rhs_storage._reservePokemon {return false} + if _storage._defeatedPokemon != rhs_storage._defeatedPokemon {return false} + if _storage._lobbyPokemon != rhs_storage._lobbyPokemon {return false} + if _storage._damageDealt != rhs_storage._damageDealt {return false} + if _storage._superEffectiveChargeMove != rhs_storage._superEffectiveChargeMove {return false} + if _storage._weatherBoosted != rhs_storage._weatherBoosted {return false} + if _storage._highestFriendshipMilestone != rhs_storage._highestFriendshipMilestone {return false} + if _storage._friendCodename != rhs_storage._friendCodename {return false} + if _storage._isRemote != rhs_storage._isRemote {return false} + if _storage._isSocialInvite != rhs_storage._isSocialInvite {return false} + if _storage._hasActiveMegaEvolvedPokemon_p != rhs_storage._hasActiveMegaEvolvedPokemon_p {return false} + if _storage._lobbyJoinTimeMs != rhs_storage._lobbyJoinTimeMs {return false} + if _storage._superEffectiveChargeAttacksUsed != rhs_storage._superEffectiveChargeAttacksUsed {return false} + if _storage._pokemonSurvival != rhs_storage._pokemonSurvival {return false} + if _storage._battleMegaPokemonID != rhs_storage._battleMegaPokemonID {return false} + if _storage._tallPokemonID != rhs_storage._tallPokemonID {return false} + if _storage._numberOfChargeAttacksUsed != rhs_storage._numberOfChargeAttacksUsed {return false} + if _storage._lastPlayerJoinTimeMs != rhs_storage._lastPlayerJoinTimeMs {return false} + if _storage._lastPlayerQuitTimeMs != rhs_storage._lastPlayerQuitTimeMs {return false} + if _storage._playerID != rhs_storage._playerID {return false} + if _storage._referencedPokemon != rhs_storage._referencedPokemon {return false} + if _storage._joinBuddyPokemonID != rhs_storage._joinBuddyPokemonID {return false} + if _storage._battleBuddyPokemonID != rhs_storage._battleBuddyPokemonID {return false} + if _storage._remoteFriends != rhs_storage._remoteFriends {return false} + if _storage._localFriends != rhs_storage._localFriends {return false} + if _storage._lastUpdateTimeMs != rhs_storage._lastUpdateTimeMs {return false} + if _storage._bootRaidState != rhs_storage._bootRaidState {return false} + if _storage._enabledRaidFriendRequests != rhs_storage._enabledRaidFriendRequests {return false} + if _storage._notableActionHistory != rhs_storage._notableActionHistory {return false} + if _storage._activePokemonStatModifiers != rhs_storage._activePokemonStatModifiers {return false} + if _storage._abilityEnergy != rhs_storage._abilityEnergy {return false} + if _storage._abilityActivationCount != rhs_storage._abilityActivationCount {return false} + if _storage._usedPokemon != rhs_storage._usedPokemon {return false} return true } if !storagesAreEqual {return false} @@ -173918,25 +178085,10 @@ extension BuddyObservedData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem } } -extension BuddyObservedData.BuddyValidationResult: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILED_BUDDY_NOT_SET"), - 3: .same(proto: "FAILED_BUDDY_NOT_FOUND"), - 4: .same(proto: "FAILED_BAD_BUDDY"), - 5: .same(proto: "FAILED_BUDDY_V2_NOT_ENABLED"), - 6: .same(proto: "FAILED_PLAYER_LEVEL_TOO_LOW"), - ] -} - -extension BuddyObservedData.BuddyFeedStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = BuddyObservedData.protoMessageName + ".BuddyFeedStats" +extension BattlePartiesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattlePartiesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "map_expiration_ms"), - 2: .standard(proto: "pre_map_fullness_percentage"), - 3: .standard(proto: "fullness_expiration_ms"), - 4: .standard(proto: "poffin_expiration_ms"), + 1: .standard(proto: "battle_parties"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173945,47 +178097,33 @@ extension BuddyObservedData.BuddyFeedStats: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.mapExpirationMs) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.preMapFullnessPercentage) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.fullnessExpirationMs) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.poffinExpirationMs) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.battleParties) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.mapExpirationMs != 0 { - try visitor.visitSingularInt64Field(value: self.mapExpirationMs, fieldNumber: 1) - } - if self.preMapFullnessPercentage != 0 { - try visitor.visitSingularFloatField(value: self.preMapFullnessPercentage, fieldNumber: 2) - } - if self.fullnessExpirationMs != 0 { - try visitor.visitSingularInt64Field(value: self.fullnessExpirationMs, fieldNumber: 3) - } - if self.poffinExpirationMs != 0 { - try visitor.visitSingularInt64Field(value: self.poffinExpirationMs, fieldNumber: 4) + if !self.battleParties.isEmpty { + try visitor.visitRepeatedMessageField(value: self.battleParties, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyObservedData.BuddyFeedStats, rhs: BuddyObservedData.BuddyFeedStats) -> Bool { - if lhs.mapExpirationMs != rhs.mapExpirationMs {return false} - if lhs.preMapFullnessPercentage != rhs.preMapFullnessPercentage {return false} - if lhs.fullnessExpirationMs != rhs.fullnessExpirationMs {return false} - if lhs.poffinExpirationMs != rhs.poffinExpirationMs {return false} + public static func ==(lhs: BattlePartiesProto, rhs: BattlePartiesProto) -> Bool { + if lhs.battleParties != rhs.battleParties {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyPettingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyPettingOutProto" +extension BattlePartyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattlePartyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "observed_data"), - 3: .standard(proto: "shown_hearts"), + 1: .same(proto: "name"), + 2: .standard(proto: "team_number"), + 3: .same(proto: "ids"), + 4: .standard(proto: "combat_league_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -173994,76 +178132,49 @@ extension BuddyPettingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.shownHearts) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.teamNumber) }() + case 3: try { try decoder.decodeRepeatedFixed64Field(value: &self.ids) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.combatLeagueID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - try { if let v = self._observedData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.shownHearts != .buddyHeartUnset { - try visitor.visitSingularEnumField(value: self.shownHearts, fieldNumber: 3) + if self.teamNumber != 0 { + try visitor.visitSingularInt32Field(value: self.teamNumber, fieldNumber: 2) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BuddyPettingOutProto, rhs: BuddyPettingOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._observedData != rhs._observedData {return false} - if lhs.shownHearts != rhs.shownHearts {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension BuddyPettingOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_BUDDY_NOT_VALID"), - ] -} - -extension BuddyPettingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyPettingProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if !self.ids.isEmpty { + try visitor.visitPackedFixed64Field(value: self.ids, fieldNumber: 3) + } + if !self.combatLeagueID.isEmpty { + try visitor.visitSingularStringField(value: self.combatLeagueID, fieldNumber: 4) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyPettingProto, rhs: BuddyPettingProto) -> Bool { + public static func ==(lhs: BattlePartyProto, rhs: BattlePartyProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.teamNumber != rhs.teamNumber {return false} + if lhs.ids != rhs.ids {return false} + if lhs.combatLeagueID != rhs.combatLeagueID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyPokemonLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyPokemonLogEntry" +extension BattlePartySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattlePartySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "pokemon_type"), - 3: .same(proto: "amount"), - 4: .standard(proto: "pokemon_display"), - 5: .standard(proto: "pokemon_id"), - 6: .standard(proto: "amount_xl"), + 1: .standard(proto: "enable_battle_party_saving"), + 2: .standard(proto: "max_battle_parties"), + 3: .standard(proto: "overall_parties_cap"), + 4: .standard(proto: "gym_and_raid_battle_party_size"), + 5: .standard(proto: "max_party_name_length"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174072,73 +178183,52 @@ extension BuddyPokemonLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.pokemonType) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.amount) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() - case 5: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.amountXl) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableBattlePartySaving) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxBattleParties) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.overallPartiesCap) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.gymAndRaidBattlePartySize) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxPartyNameLength) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.enableBattlePartySaving != false { + try visitor.visitSingularBoolField(value: self.enableBattlePartySaving, fieldNumber: 1) } - if self.pokemonType != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonType, fieldNumber: 2) + if self.maxBattleParties != 0 { + try visitor.visitSingularInt32Field(value: self.maxBattleParties, fieldNumber: 2) } - if self.amount != 0 { - try visitor.visitSingularInt32Field(value: self.amount, fieldNumber: 3) + if self.overallPartiesCap != 0 { + try visitor.visitSingularInt32Field(value: self.overallPartiesCap, fieldNumber: 3) } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 5) + if self.gymAndRaidBattlePartySize != 0 { + try visitor.visitSingularInt32Field(value: self.gymAndRaidBattlePartySize, fieldNumber: 4) } - if self.amountXl != 0 { - try visitor.visitSingularInt32Field(value: self.amountXl, fieldNumber: 6) + if self.maxPartyNameLength != 0 { + try visitor.visitSingularInt32Field(value: self.maxPartyNameLength, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyPokemonLogEntry, rhs: BuddyPokemonLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.pokemonType != rhs.pokemonType {return false} - if lhs.amount != rhs.amount {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.amountXl != rhs.amountXl {return false} + public static func ==(lhs: BattlePartySettingsProto, rhs: BattlePartySettingsProto) -> Bool { + if lhs.enableBattlePartySaving != rhs.enableBattlePartySaving {return false} + if lhs.maxBattleParties != rhs.maxBattleParties {return false} + if lhs.overallPartiesCap != rhs.overallPartiesCap {return false} + if lhs.gymAndRaidBattlePartySize != rhs.gymAndRaidBattlePartySize {return false} + if lhs.maxPartyNameLength != rhs.maxPartyNameLength {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyPokemonLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "CANDY_FOUND"), - ] -} - -extension BuddyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyPokemonProto" +extension BattlePartyTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattlePartyTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "buddy_pokemon_id"), - 2: .standard(proto: "start_km_walked"), - 3: .standard(proto: "last_km_awarded"), - 4: .standard(proto: "daily_buddy_swaps"), - 5: .standard(proto: "last_km_awarded_ms"), - 6: .standard(proto: "best_buddies_backfilled"), - 7: .standard(proto: "last_set_timestamp_ms"), - 8: .standard(proto: "pending_bonus_km"), + 1: .standard(proto: "battle_party_click_id"), + 2: .standard(proto: "battle_party_count"), + 3: .standard(proto: "battle_party_number"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174147,75 +178237,49 @@ extension BuddyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.buddyPokemonID) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.startKmWalked) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.lastKmAwarded) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._dailyBuddySwaps) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.lastKmAwardedMs) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.bestBuddiesBackfilled) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.lastSetTimestampMs) }() - case 8: try { try decoder.decodeSingularFloatField(value: &self.pendingBonusKm) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.battlePartyClickID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.battlePartyCount) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.battlePartyNumber) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.buddyPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.buddyPokemonID, fieldNumber: 1) - } - if self.startKmWalked != 0 { - try visitor.visitSingularDoubleField(value: self.startKmWalked, fieldNumber: 2) - } - if self.lastKmAwarded != 0 { - try visitor.visitSingularDoubleField(value: self.lastKmAwarded, fieldNumber: 3) - } - try { if let v = self._dailyBuddySwaps { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.lastKmAwardedMs != 0 { - try visitor.visitSingularInt64Field(value: self.lastKmAwardedMs, fieldNumber: 5) - } - if self.bestBuddiesBackfilled != false { - try visitor.visitSingularBoolField(value: self.bestBuddiesBackfilled, fieldNumber: 6) + if self.battlePartyClickID != .undefinedBattlePartyEvent { + try visitor.visitSingularEnumField(value: self.battlePartyClickID, fieldNumber: 1) } - if self.lastSetTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.lastSetTimestampMs, fieldNumber: 7) + if self.battlePartyCount != 0 { + try visitor.visitSingularInt32Field(value: self.battlePartyCount, fieldNumber: 2) } - if self.pendingBonusKm != 0 { - try visitor.visitSingularFloatField(value: self.pendingBonusKm, fieldNumber: 8) + if self.battlePartyNumber != 0 { + try visitor.visitSingularInt32Field(value: self.battlePartyNumber, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyPokemonProto, rhs: BuddyPokemonProto) -> Bool { - if lhs.buddyPokemonID != rhs.buddyPokemonID {return false} - if lhs.startKmWalked != rhs.startKmWalked {return false} - if lhs.lastKmAwarded != rhs.lastKmAwarded {return false} - if lhs._dailyBuddySwaps != rhs._dailyBuddySwaps {return false} - if lhs.lastKmAwardedMs != rhs.lastKmAwardedMs {return false} - if lhs.bestBuddiesBackfilled != rhs.bestBuddiesBackfilled {return false} - if lhs.lastSetTimestampMs != rhs.lastSetTimestampMs {return false} - if lhs.pendingBonusKm != rhs.pendingBonusKm {return false} + public static func ==(lhs: BattlePartyTelemetry, rhs: BattlePartyTelemetry) -> Bool { + if lhs.battlePartyClickID != rhs.battlePartyClickID {return false} + if lhs.battlePartyCount != rhs.battlePartyCount {return false} + if lhs.battlePartyNumber != rhs.battlePartyNumber {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyStats" +extension BattleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "km_walked"), - 2: .standard(proto: "berries_fed"), - 3: .same(proto: "communication"), - 4: .same(proto: "battles"), - 5: .same(proto: "photos"), - 6: .standard(proto: "new_visits"), - 7: .standard(proto: "routes_walked"), + 1: .standard(proto: "battle_start_ms"), + 2: .standard(proto: "battle_end_ms"), + 3: .standard(proto: "battle_id"), + 4: .same(proto: "defender"), + 5: .standard(proto: "battle_log"), + 6: .same(proto: "attacker"), + 7: .standard(proto: "weather_condition"), + 8: .standard(proto: "highest_friendship_milestone"), + 9: .standard(proto: "battle_experiment"), + 10: .standard(proto: "ability_result_location"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174224,61 +178288,79 @@ extension BuddyStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.kmWalked) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.berriesFed) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.communication) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.battles) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.photos) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.newVisits) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.routesWalked) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.battleStartMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.battleEndMs) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.battleID) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._defender) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._battleLog) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._attacker) }() + case 7: try { try decoder.decodeSingularEnumField(value: &self.weatherCondition) }() + case 8: try { try decoder.decodeSingularEnumField(value: &self.highestFriendshipMilestone) }() + case 9: try { try decoder.decodeRepeatedEnumField(value: &self.battleExperiment) }() + case 10: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.abilityResultLocation) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.kmWalked != 0 { - try visitor.visitSingularFloatField(value: self.kmWalked, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.battleStartMs != 0 { + try visitor.visitSingularInt64Field(value: self.battleStartMs, fieldNumber: 1) } - if self.berriesFed != 0 { - try visitor.visitSingularInt32Field(value: self.berriesFed, fieldNumber: 2) + if self.battleEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.battleEndMs, fieldNumber: 2) } - if self.communication != 0 { - try visitor.visitSingularInt32Field(value: self.communication, fieldNumber: 3) + if !self.battleID.isEmpty { + try visitor.visitSingularStringField(value: self.battleID, fieldNumber: 3) } - if self.battles != 0 { - try visitor.visitSingularInt32Field(value: self.battles, fieldNumber: 4) + try { if let v = self._defender { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = self._battleLog { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + try { if let v = self._attacker { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + if self.weatherCondition != .none { + try visitor.visitSingularEnumField(value: self.weatherCondition, fieldNumber: 7) } - if self.photos != 0 { - try visitor.visitSingularInt32Field(value: self.photos, fieldNumber: 5) + if self.highestFriendshipMilestone != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: self.highestFriendshipMilestone, fieldNumber: 8) } - if self.newVisits != 0 { - try visitor.visitSingularInt32Field(value: self.newVisits, fieldNumber: 6) + if !self.battleExperiment.isEmpty { + try visitor.visitPackedEnumField(value: self.battleExperiment, fieldNumber: 9) } - if self.routesWalked != 0 { - try visitor.visitSingularInt32Field(value: self.routesWalked, fieldNumber: 7) + if !self.abilityResultLocation.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.abilityResultLocation, fieldNumber: 10) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyStats, rhs: BuddyStats) -> Bool { - if lhs.kmWalked != rhs.kmWalked {return false} - if lhs.berriesFed != rhs.berriesFed {return false} - if lhs.communication != rhs.communication {return false} - if lhs.battles != rhs.battles {return false} - if lhs.photos != rhs.photos {return false} - if lhs.newVisits != rhs.newVisits {return false} - if lhs.routesWalked != rhs.routesWalked {return false} + public static func ==(lhs: BattleProto, rhs: BattleProto) -> Bool { + if lhs.battleStartMs != rhs.battleStartMs {return false} + if lhs.battleEndMs != rhs.battleEndMs {return false} + if lhs.battleID != rhs.battleID {return false} + if lhs._defender != rhs._defender {return false} + if lhs._battleLog != rhs._battleLog {return false} + if lhs._attacker != rhs._attacker {return false} + if lhs.weatherCondition != rhs.weatherCondition {return false} + if lhs.highestFriendshipMilestone != rhs.highestFriendshipMilestone {return false} + if lhs.battleExperiment != rhs.battleExperiment {return false} + if lhs.abilityResultLocation != rhs.abilityResultLocation {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyStatsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyStatsOutProto" +extension BattleQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "observed_data"), + 1: .standard(proto: "battle_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174287,302 +178369,369 @@ extension BuddyStatsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.battleID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.battleID.isEmpty { + try visitor.visitRepeatedStringField(value: self.battleID, fieldNumber: 1) } - try { if let v = self._observedData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddyStatsOutProto, rhs: BuddyStatsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._observedData != rhs._observedData {return false} + public static func ==(lhs: BattleQuestProto, rhs: BattleQuestProto) -> Bool { + if lhs.battleID != rhs.battleID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyStatsOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension BattleResultsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleResultsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_BUDDY_NOT_VALID"), + 1: .standard(proto: "gym_state"), + 2: .same(proto: "attackers"), + 3: .standard(proto: "player_xp_awarded"), + 4: .standard(proto: "next_defender_pokemon_id"), + 5: .standard(proto: "gym_points_delta"), + 6: .standard(proto: "gym_status"), + 7: .same(proto: "participation"), + 8: .standard(proto: "raid_item_rewards"), + 9: .standard(proto: "post_raid_encounter"), + 10: .standard(proto: "gym_badge"), + 11: .standard(proto: "default_raid_item_rewards"), + 12: .standard(proto: "battle_duration_ms"), + 13: .standard(proto: "raid_player_stats"), + 14: .standard(proto: "xl_candy_awarded"), + 16: .standard(proto: "xl_candy_pokemon_id"), + 17: .standard(proto: "candy_awarded"), ] -} - -extension BuddyStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyStatsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } + fileprivate class _StorageClass { + var _gymState: GymStateProto? = nil + var _attackers: [BattleParticipantProto] = [] + var _playerXpAwarded: [Int32] = [] + var _nextDefenderPokemonID: Int64 = 0 + var _gymPointsDelta: Int32 = 0 + var _gymStatus: GymStatusAndDefendersProto? = nil + var _participation: [ParticipationProto] = [] + var _raidItemRewards: [LootProto] = [] + var _postRaidEncounter: [RaidEncounterProto] = [] + var _gymBadge: [AwardedGymBadge] = [] + var _defaultRaidItemRewards: [LootProto] = [] + var _battleDurationMs: Int64 = 0 + var _raidPlayerStats: RaidPlayerStatsProto? = nil + var _xlCandyAwarded: [Int32] = [] + var _xlCandyPokemonID: HoloPokemonId = .missingno + var _candyAwarded: [Int32] = [] - public static func ==(lhs: BuddyStatsProto, rhs: BuddyStatsProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} + static let defaultInstance = _StorageClass() -extension BuddyStatsShownHearts: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyStatsShownHearts" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "buddy_affection_km_in_progress"), - 2: .standard(proto: "buddy_shown_hearts_per_category"), - ] + private init() {} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.buddyAffectionKmInProgress) }() - case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.buddyShownHeartsPerCategory) }() - default: break - } + init(copying source: _StorageClass) { + _gymState = source._gymState + _attackers = source._attackers + _playerXpAwarded = source._playerXpAwarded + _nextDefenderPokemonID = source._nextDefenderPokemonID + _gymPointsDelta = source._gymPointsDelta + _gymStatus = source._gymStatus + _participation = source._participation + _raidItemRewards = source._raidItemRewards + _postRaidEncounter = source._postRaidEncounter + _gymBadge = source._gymBadge + _defaultRaidItemRewards = source._defaultRaidItemRewards + _battleDurationMs = source._battleDurationMs + _raidPlayerStats = source._raidPlayerStats + _xlCandyAwarded = source._xlCandyAwarded + _xlCandyPokemonID = source._xlCandyPokemonID + _candyAwarded = source._candyAwarded } } - public func traverse(visitor: inout V) throws { - if self.buddyAffectionKmInProgress != 0 { - try visitor.visitSingularFloatField(value: self.buddyAffectionKmInProgress, fieldNumber: 1) - } - if !self.buddyShownHeartsPerCategory.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.buddyShownHeartsPerCategory, fieldNumber: 2) + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BuddyStatsShownHearts, rhs: BuddyStatsShownHearts) -> Bool { - if lhs.buddyAffectionKmInProgress != rhs.buddyAffectionKmInProgress {return false} - if lhs.buddyShownHeartsPerCategory != rhs.buddyShownHeartsPerCategory {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + return _storage } -} - -extension BuddyStatsShownHearts.BuddyShownHeartType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BUDDY_HEART_UNSET"), - 1: .same(proto: "BUDDY_HEART_SINGLE"), - 2: .same(proto: "BUDDY_HEART_DOUBLE"), - ] -} - -extension BuddyStatsShownHearts.BuddyShownHeartsList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = BuddyStatsShownHearts.protoMessageName + ".BuddyShownHeartsList" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "buddy_shown_heart_types"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.buddyShownHeartTypes) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._gymState) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &_storage._attackers) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &_storage._playerXpAwarded) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._nextDefenderPokemonID) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._gymPointsDelta) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._gymStatus) }() + case 7: try { try decoder.decodeRepeatedMessageField(value: &_storage._participation) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &_storage._raidItemRewards) }() + case 9: try { try decoder.decodeRepeatedMessageField(value: &_storage._postRaidEncounter) }() + case 10: try { try decoder.decodeRepeatedMessageField(value: &_storage._gymBadge) }() + case 11: try { try decoder.decodeRepeatedMessageField(value: &_storage._defaultRaidItemRewards) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._battleDurationMs) }() + case 13: try { try decoder.decodeSingularMessageField(value: &_storage._raidPlayerStats) }() + case 14: try { try decoder.decodeRepeatedInt32Field(value: &_storage._xlCandyAwarded) }() + case 16: try { try decoder.decodeSingularEnumField(value: &_storage._xlCandyPokemonID) }() + case 17: try { try decoder.decodeRepeatedInt32Field(value: &_storage._candyAwarded) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.buddyShownHeartTypes.isEmpty { - try visitor.visitPackedEnumField(value: self.buddyShownHeartTypes, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BuddyStatsShownHearts.BuddyShownHeartsList, rhs: BuddyStatsShownHearts.BuddyShownHeartsList) -> Bool { - if lhs.buddyShownHeartTypes != rhs.buddyShownHeartTypes {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension BuddySwapSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddySwapSettings" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "max_swaps_per_day"), - 2: .standard(proto: "ob_buddy_swap_bool"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.maxSwapsPerDay) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBuddySwapBool) }() - default: break + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._gymState { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !_storage._attackers.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._attackers, fieldNumber: 2) + } + if !_storage._playerXpAwarded.isEmpty { + try visitor.visitPackedInt32Field(value: _storage._playerXpAwarded, fieldNumber: 3) + } + if _storage._nextDefenderPokemonID != 0 { + try visitor.visitSingularInt64Field(value: _storage._nextDefenderPokemonID, fieldNumber: 4) + } + if _storage._gymPointsDelta != 0 { + try visitor.visitSingularInt32Field(value: _storage._gymPointsDelta, fieldNumber: 5) + } + try { if let v = _storage._gymStatus { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + if !_storage._participation.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._participation, fieldNumber: 7) + } + if !_storage._raidItemRewards.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._raidItemRewards, fieldNumber: 8) + } + if !_storage._postRaidEncounter.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._postRaidEncounter, fieldNumber: 9) + } + if !_storage._gymBadge.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._gymBadge, fieldNumber: 10) + } + if !_storage._defaultRaidItemRewards.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._defaultRaidItemRewards, fieldNumber: 11) + } + if _storage._battleDurationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._battleDurationMs, fieldNumber: 12) + } + try { if let v = _storage._raidPlayerStats { + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + } }() + if !_storage._xlCandyAwarded.isEmpty { + try visitor.visitPackedInt32Field(value: _storage._xlCandyAwarded, fieldNumber: 14) + } + if _storage._xlCandyPokemonID != .missingno { + try visitor.visitSingularEnumField(value: _storage._xlCandyPokemonID, fieldNumber: 16) + } + if !_storage._candyAwarded.isEmpty { + try visitor.visitPackedInt32Field(value: _storage._candyAwarded, fieldNumber: 17) } - } - } - - public func traverse(visitor: inout V) throws { - if self.maxSwapsPerDay != 0 { - try visitor.visitSingularInt32Field(value: self.maxSwapsPerDay, fieldNumber: 1) - } - if self.obBuddySwapBool != false { - try visitor.visitSingularBoolField(value: self.obBuddySwapBool, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BuddySwapSettings, rhs: BuddySwapSettings) -> Bool { - if lhs.maxSwapsPerDay != rhs.maxSwapsPerDay {return false} - if lhs.obBuddySwapBool != rhs.obBuddySwapBool {return false} + public static func ==(lhs: BattleResultsProto, rhs: BattleResultsProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._gymState != rhs_storage._gymState {return false} + if _storage._attackers != rhs_storage._attackers {return false} + if _storage._playerXpAwarded != rhs_storage._playerXpAwarded {return false} + if _storage._nextDefenderPokemonID != rhs_storage._nextDefenderPokemonID {return false} + if _storage._gymPointsDelta != rhs_storage._gymPointsDelta {return false} + if _storage._gymStatus != rhs_storage._gymStatus {return false} + if _storage._participation != rhs_storage._participation {return false} + if _storage._raidItemRewards != rhs_storage._raidItemRewards {return false} + if _storage._postRaidEncounter != rhs_storage._postRaidEncounter {return false} + if _storage._gymBadge != rhs_storage._gymBadge {return false} + if _storage._defaultRaidItemRewards != rhs_storage._defaultRaidItemRewards {return false} + if _storage._battleDurationMs != rhs_storage._battleDurationMs {return false} + if _storage._raidPlayerStats != rhs_storage._raidPlayerStats {return false} + if _storage._xlCandyAwarded != rhs_storage._xlCandyAwarded {return false} + if _storage._xlCandyPokemonID != rhs_storage._xlCandyPokemonID {return false} + if _storage._candyAwarded != rhs_storage._candyAwarded {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BuddyWalkSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuddyWalkSettings" +extension BattleUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleUpdateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "km_required_per_affection_point"), + 1: .standard(proto: "battle_log"), + 2: .standard(proto: "battle_id"), + 3: .standard(proto: "active_defender"), + 4: .standard(proto: "active_attacker"), + 5: .standard(proto: "highest_friendship_milestone"), + 6: .standard(proto: "render_effects"), + 7: .standard(proto: "remaining_item"), + 8: .standard(proto: "active_item"), + 9: .standard(proto: "ability_energy"), + 10: .standard(proto: "active_pokemon_stat_modifiers"), + 11: .standard(proto: "party_member_count"), ] - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.kmRequiredPerAffectionPoint) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.kmRequiredPerAffectionPoint != 0 { - try visitor.visitSingularFloatField(value: self.kmRequiredPerAffectionPoint, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } + fileprivate class _StorageClass { + var _battleLog: BattleLogProto? = nil + var _battleID: String = String() + var _activeDefender: PokemonInfo? = nil + var _activeAttacker: PokemonInfo? = nil + var _highestFriendshipMilestone: FriendshipLevelMilestone = .friendshipLevelUnset + var _renderEffects: [FormRenderModifier] = [] + var _remainingItem: [BattleUpdateProto.AvailableItem] = [] + var _activeItem: [BattleUpdateProto.ActiveItem] = [] + var _abilityEnergy: Dictionary = [:] + var _activePokemonStatModifiers: Dictionary = [:] + var _partyMemberCount: Int32 = 0 - public static func ==(lhs: BuddyWalkSettings, rhs: BuddyWalkSettings) -> Bool { - if lhs.kmRequiredPerAffectionPoint != rhs.kmRequiredPerAffectionPoint {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} + static let defaultInstance = _StorageClass() -extension BuildingMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BuildingMetadata" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "height_meters"), - 2: .standard(proto: "is_underground"), - ] + private init() {} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.heightMeters) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isUnderground) }() - default: break - } + init(copying source: _StorageClass) { + _battleLog = source._battleLog + _battleID = source._battleID + _activeDefender = source._activeDefender + _activeAttacker = source._activeAttacker + _highestFriendshipMilestone = source._highestFriendshipMilestone + _renderEffects = source._renderEffects + _remainingItem = source._remainingItem + _activeItem = source._activeItem + _abilityEnergy = source._abilityEnergy + _activePokemonStatModifiers = source._activePokemonStatModifiers + _partyMemberCount = source._partyMemberCount } } - public func traverse(visitor: inout V) throws { - if self.heightMeters != 0 { - try visitor.visitSingularInt32Field(value: self.heightMeters, fieldNumber: 1) - } - if self.isUnderground != false { - try visitor.visitSingularBoolField(value: self.isUnderground, fieldNumber: 2) + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: BuildingMetadata, rhs: BuildingMetadata) -> Bool { - if lhs.heightMeters != rhs.heightMeters {return false} - if lhs.isUnderground != rhs.isUnderground {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + return _storage } -} - -extension ButterflyCollectorBadgeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorBadgeData" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "version"), - 2: .same(proto: "region"), - 3: .same(proto: "encounter"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.version) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.region) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.encounter) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._battleLog) }() + case 2: try { try decoder.decodeSingularStringField(value: &_storage._battleID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._activeDefender) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._activeAttacker) }() + case 5: try { try decoder.decodeSingularEnumField(value: &_storage._highestFriendshipMilestone) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &_storage._renderEffects) }() + case 7: try { try decoder.decodeRepeatedMessageField(value: &_storage._remainingItem) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &_storage._activeItem) }() + case 9: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._abilityEnergy) }() + case 10: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._activePokemonStatModifiers) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._partyMemberCount) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.version != 0 { - try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 1) - } - if !self.region.isEmpty { - try visitor.visitRepeatedMessageField(value: self.region, fieldNumber: 2) - } - if !self.encounter.isEmpty { - try visitor.visitRepeatedMessageField(value: self.encounter, fieldNumber: 3) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._battleLog { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !_storage._battleID.isEmpty { + try visitor.visitSingularStringField(value: _storage._battleID, fieldNumber: 2) + } + try { if let v = _storage._activeDefender { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._activeAttacker { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if _storage._highestFriendshipMilestone != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: _storage._highestFriendshipMilestone, fieldNumber: 5) + } + if !_storage._renderEffects.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._renderEffects, fieldNumber: 6) + } + if !_storage._remainingItem.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._remainingItem, fieldNumber: 7) + } + if !_storage._activeItem.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._activeItem, fieldNumber: 8) + } + if !_storage._abilityEnergy.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._abilityEnergy, fieldNumber: 9) + } + if !_storage._activePokemonStatModifiers.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._activePokemonStatModifiers, fieldNumber: 10) + } + if _storage._partyMemberCount != 0 { + try visitor.visitSingularInt32Field(value: _storage._partyMemberCount, fieldNumber: 11) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ButterflyCollectorBadgeData, rhs: ButterflyCollectorBadgeData) -> Bool { - if lhs.version != rhs.version {return false} - if lhs.region != rhs.region {return false} - if lhs.encounter != rhs.encounter {return false} + public static func ==(lhs: BattleUpdateProto, rhs: BattleUpdateProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._battleLog != rhs_storage._battleLog {return false} + if _storage._battleID != rhs_storage._battleID {return false} + if _storage._activeDefender != rhs_storage._activeDefender {return false} + if _storage._activeAttacker != rhs_storage._activeAttacker {return false} + if _storage._highestFriendshipMilestone != rhs_storage._highestFriendshipMilestone {return false} + if _storage._renderEffects != rhs_storage._renderEffects {return false} + if _storage._remainingItem != rhs_storage._remainingItem {return false} + if _storage._activeItem != rhs_storage._activeItem {return false} + if _storage._abilityEnergy != rhs_storage._abilityEnergy {return false} + if _storage._activePokemonStatModifiers != rhs_storage._activePokemonStatModifiers {return false} + if _storage._partyMemberCount != rhs_storage._partyMemberCount {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ButterflyCollectorRegionMedal: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorRegionMedal" +extension BattleUpdateProto.ActiveItem: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BattleUpdateProto.protoMessageName + ".ActiveItem" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "region"), - 2: .same(proto: "rank"), - 3: .same(proto: "state"), - 4: .same(proto: "progress"), - 5: .same(proto: "goal"), - 6: .standard(proto: "postcard_origin"), - 7: .standard(proto: "received_time_ms"), + 1: .same(proto: "item"), + 2: .same(proto: "user"), + 3: .standard(proto: "usage_time_ms"), + 4: .standard(proto: "expiry_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174591,69 +178740,51 @@ extension ButterflyCollectorRegionMedal: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.region) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.rank) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.state) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.progress) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.goal) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.postcardOrigin) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.receivedTimeMs) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._item) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.user) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.usageTimeMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.expiryTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.region != .unknown { - try visitor.visitSingularEnumField(value: self.region, fieldNumber: 1) - } - if self.rank != 0 { - try visitor.visitSingularInt32Field(value: self.rank, fieldNumber: 2) - } - if self.state != .progress { - try visitor.visitSingularEnumField(value: self.state, fieldNumber: 3) - } - if self.progress != 0 { - try visitor.visitSingularInt32Field(value: self.progress, fieldNumber: 4) - } - if self.goal != 0 { - try visitor.visitSingularInt32Field(value: self.goal, fieldNumber: 5) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._item { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.user.isEmpty { + try visitor.visitSingularStringField(value: self.user, fieldNumber: 2) } - if self.postcardOrigin != 0 { - try visitor.visitSingularInt64Field(value: self.postcardOrigin, fieldNumber: 6) + if self.usageTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.usageTimeMs, fieldNumber: 3) } - if self.receivedTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.receivedTimeMs, fieldNumber: 7) + if self.expiryTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.expiryTimeMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ButterflyCollectorRegionMedal, rhs: ButterflyCollectorRegionMedal) -> Bool { - if lhs.region != rhs.region {return false} - if lhs.rank != rhs.rank {return false} - if lhs.state != rhs.state {return false} - if lhs.progress != rhs.progress {return false} - if lhs.goal != rhs.goal {return false} - if lhs.postcardOrigin != rhs.postcardOrigin {return false} - if lhs.receivedTimeMs != rhs.receivedTimeMs {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ButterflyCollectorRegionMedal.State: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PROGRESS"), - 1: .same(proto: "COMPLETE"), - ] + public static func ==(lhs: BattleUpdateProto.ActiveItem, rhs: BattleUpdateProto.ActiveItem) -> Bool { + if lhs._item != rhs._item {return false} + if lhs.user != rhs.user {return false} + if lhs.usageTimeMs != rhs.usageTimeMs {return false} + if lhs.expiryTimeMs != rhs.expiryTimeMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension ButterflyCollectorRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorRewardsLogEntry" +extension BattleUpdateProto.AvailableItem: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BattleUpdateProto.protoMessageName + ".AvailableItem" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "rewards"), - 3: .standard(proto: "vivillon_region"), + 1: .same(proto: "item"), + 2: .same(proto: "quantity"), + 3: .standard(proto: "next_available_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174662,56 +178793,42 @@ extension ButterflyCollectorRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.vivillonRegion) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.quantity) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.nextAvailableMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) } - try { if let v = self._rewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.vivillonRegion != .unknown { - try visitor.visitSingularEnumField(value: self.vivillonRegion, fieldNumber: 3) + if self.quantity != 0 { + try visitor.visitSingularInt32Field(value: self.quantity, fieldNumber: 2) + } + if self.nextAvailableMs != 0 { + try visitor.visitSingularInt64Field(value: self.nextAvailableMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ButterflyCollectorRewardsLogEntry, rhs: ButterflyCollectorRewardsLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._rewards != rhs._rewards {return false} - if lhs.vivillonRegion != rhs.vivillonRegion {return false} + public static func ==(lhs: BattleUpdateProto.AvailableItem, rhs: BattleUpdateProto.AvailableItem) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.quantity != rhs.quantity {return false} + if lhs.nextAvailableMs != rhs.nextAvailableMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ButterflyCollectorRewardsLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - ] -} - -extension ButterflyCollectorSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorSettings" +extension BattleVisualSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BattleVisualSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .same(proto: "version"), - 3: .same(proto: "region"), - 4: .standard(proto: "use_postcard_modifier"), - 5: .standard(proto: "daily_progress_from_inventory"), - 100: .standard(proto: "region_override"), + 1: .standard(proto: "enhancements_enabled"), + 2: .standard(proto: "crowd_texture_asset"), + 4: .standard(proto: "banner_texture_asset"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174720,55 +178837,42 @@ extension ButterflyCollectorSettings: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.version) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.region) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.usePostcardModifier) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.dailyProgressFromInventory) }() - case 100: try { try decoder.decodeSingularEnumField(value: &self.regionOverride) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enhancementsEnabled) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.crowdTextureAsset) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.bannerTextureAsset) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.version != 0 { - try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 2) - } - if !self.region.isEmpty { - try visitor.visitPackedEnumField(value: self.region, fieldNumber: 3) + if self.enhancementsEnabled != false { + try visitor.visitSingularBoolField(value: self.enhancementsEnabled, fieldNumber: 1) } - if self.usePostcardModifier != false { - try visitor.visitSingularBoolField(value: self.usePostcardModifier, fieldNumber: 4) - } - if self.dailyProgressFromInventory != 0 { - try visitor.visitSingularInt32Field(value: self.dailyProgressFromInventory, fieldNumber: 5) + if !self.crowdTextureAsset.isEmpty { + try visitor.visitSingularStringField(value: self.crowdTextureAsset, fieldNumber: 2) } - if self.regionOverride != .unknown { - try visitor.visitSingularEnumField(value: self.regionOverride, fieldNumber: 100) + if !self.bannerTextureAsset.isEmpty { + try visitor.visitSingularStringField(value: self.bannerTextureAsset, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ButterflyCollectorSettings, rhs: ButterflyCollectorSettings) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.version != rhs.version {return false} - if lhs.region != rhs.region {return false} - if lhs.usePostcardModifier != rhs.usePostcardModifier {return false} - if lhs.dailyProgressFromInventory != rhs.dailyProgressFromInventory {return false} - if lhs.regionOverride != rhs.regionOverride {return false} + public static func ==(lhs: BattleVisualSettingsProto, rhs: BattleVisualSettingsProto) -> Bool { + if lhs.enhancementsEnabled != rhs.enhancementsEnabled {return false} + if lhs.crowdTextureAsset != rhs.crowdTextureAsset {return false} + if lhs.bannerTextureAsset != rhs.bannerTextureAsset {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension BytesValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".BytesValue" +extension BelugaBleCompleteTransferRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaBleCompleteTransferRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), + 1: .standard(proto: "transaction_id"), + 2: .standard(proto: "beluga_requested_item_id"), + 3: .same(proto: "nonce"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174777,30 +178881,41 @@ extension BytesValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.value) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.transactionID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.belugaRequestedItemID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.nonce) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.value.isEmpty { - try visitor.visitSingularBytesField(value: self.value, fieldNumber: 1) + if self.transactionID != 0 { + try visitor.visitSingularInt64Field(value: self.transactionID, fieldNumber: 1) + } + if self.belugaRequestedItemID != 0 { + try visitor.visitSingularInt32Field(value: self.belugaRequestedItemID, fieldNumber: 2) + } + if !self.nonce.isEmpty { + try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: BytesValue, rhs: BytesValue) -> Bool { - if lhs.value != rhs.value {return false} + public static func ==(lhs: BelugaBleCompleteTransferRequestProto, rhs: BelugaBleCompleteTransferRequestProto) -> Bool { + if lhs.transactionID != rhs.transactionID {return false} + if lhs.belugaRequestedItemID != rhs.belugaRequestedItemID {return false} + if lhs.nonce != rhs.nonce {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CalculatorOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CalculatorOptions" +extension BelugaBleFinalizeTransfer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaBleFinalizeTransfer" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "merge_fields"), + 1: .standard(proto: "beluga_transfer_complete"), + 2: .standard(proto: "server_signature"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174809,7 +178924,8 @@ extension CalculatorOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self._mergeFields) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._belugaTransferComplete) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.serverSignature) }() default: break } } @@ -174820,38 +178936,28 @@ extension CalculatorOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._mergeFields { - try visitor.visitSingularBoolField(value: v, fieldNumber: 1) + try { if let v = self._belugaTransferComplete { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() + if !self.serverSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.serverSignature, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CalculatorOptions, rhs: CalculatorOptions) -> Bool { - if lhs._mergeFields != rhs._mergeFields {return false} + public static func ==(lhs: BelugaBleFinalizeTransfer, rhs: BelugaBleFinalizeTransfer) -> Bool { + if lhs._belugaTransferComplete != rhs._belugaTransferComplete {return false} + if lhs.serverSignature != rhs.serverSignature {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CameraSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CameraSettingsProto" +extension BelugaBleTransferCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaBleTransferCompleteProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "next_camera"), - 2: .same(proto: "interpolation"), - 3: .standard(proto: "target_type"), - 4: .standard(proto: "ease_in_speed"), - 5: .standard(proto: "ease_out_speed"), - 6: .standard(proto: "duration_seconds"), - 7: .standard(proto: "wait_seconds"), - 8: .standard(proto: "transition_seconds"), - 9: .standard(proto: "angle_degree"), - 10: .standard(proto: "angle_offset_degree"), - 11: .standard(proto: "pitch_degree"), - 12: .standard(proto: "pitch_offset_degree"), - 13: .standard(proto: "roll_degree"), - 14: .standard(proto: "distance_meters"), - 15: .standard(proto: "height_percent"), - 16: .standard(proto: "vert_ctr_ratio"), + 1: .same(proto: "nonce"), + 2: .standard(proto: "beluga_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174860,113 +178966,39 @@ extension CameraSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.nextCamera) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.interpolation) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.targetType) }() - case 4: try { try decoder.decodeRepeatedFloatField(value: &self.easeInSpeed) }() - case 5: try { try decoder.decodeRepeatedFloatField(value: &self.easeOutSpeed) }() - case 6: try { try decoder.decodeRepeatedFloatField(value: &self.durationSeconds) }() - case 7: try { try decoder.decodeRepeatedFloatField(value: &self.waitSeconds) }() - case 8: try { try decoder.decodeRepeatedFloatField(value: &self.transitionSeconds) }() - case 9: try { try decoder.decodeRepeatedFloatField(value: &self.angleDegree) }() - case 10: try { try decoder.decodeRepeatedFloatField(value: &self.angleOffsetDegree) }() - case 11: try { try decoder.decodeRepeatedFloatField(value: &self.pitchDegree) }() - case 12: try { try decoder.decodeRepeatedFloatField(value: &self.pitchOffsetDegree) }() - case 13: try { try decoder.decodeRepeatedFloatField(value: &self.rollDegree) }() - case 14: try { try decoder.decodeRepeatedFloatField(value: &self.distanceMeters) }() - case 15: try { try decoder.decodeRepeatedFloatField(value: &self.heightPercent) }() - case 16: try { try decoder.decodeRepeatedFloatField(value: &self.vertCtrRatio) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.nonce) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.belugaID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.nextCamera.isEmpty { - try visitor.visitSingularStringField(value: self.nextCamera, fieldNumber: 1) - } - if !self.interpolation.isEmpty { - try visitor.visitPackedEnumField(value: self.interpolation, fieldNumber: 2) - } - if !self.targetType.isEmpty { - try visitor.visitPackedEnumField(value: self.targetType, fieldNumber: 3) - } - if !self.easeInSpeed.isEmpty { - try visitor.visitPackedFloatField(value: self.easeInSpeed, fieldNumber: 4) - } - if !self.easeOutSpeed.isEmpty { - try visitor.visitPackedFloatField(value: self.easeOutSpeed, fieldNumber: 5) - } - if !self.durationSeconds.isEmpty { - try visitor.visitPackedFloatField(value: self.durationSeconds, fieldNumber: 6) - } - if !self.waitSeconds.isEmpty { - try visitor.visitPackedFloatField(value: self.waitSeconds, fieldNumber: 7) - } - if !self.transitionSeconds.isEmpty { - try visitor.visitPackedFloatField(value: self.transitionSeconds, fieldNumber: 8) - } - if !self.angleDegree.isEmpty { - try visitor.visitPackedFloatField(value: self.angleDegree, fieldNumber: 9) - } - if !self.angleOffsetDegree.isEmpty { - try visitor.visitPackedFloatField(value: self.angleOffsetDegree, fieldNumber: 10) - } - if !self.pitchDegree.isEmpty { - try visitor.visitPackedFloatField(value: self.pitchDegree, fieldNumber: 11) - } - if !self.pitchOffsetDegree.isEmpty { - try visitor.visitPackedFloatField(value: self.pitchOffsetDegree, fieldNumber: 12) - } - if !self.rollDegree.isEmpty { - try visitor.visitPackedFloatField(value: self.rollDegree, fieldNumber: 13) - } - if !self.distanceMeters.isEmpty { - try visitor.visitPackedFloatField(value: self.distanceMeters, fieldNumber: 14) - } - if !self.heightPercent.isEmpty { - try visitor.visitPackedFloatField(value: self.heightPercent, fieldNumber: 15) + if !self.nonce.isEmpty { + try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 1) } - if !self.vertCtrRatio.isEmpty { - try visitor.visitPackedFloatField(value: self.vertCtrRatio, fieldNumber: 16) + if !self.belugaID.isEmpty { + try visitor.visitSingularStringField(value: self.belugaID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CameraSettingsProto, rhs: CameraSettingsProto) -> Bool { - if lhs.nextCamera != rhs.nextCamera {return false} - if lhs.interpolation != rhs.interpolation {return false} - if lhs.targetType != rhs.targetType {return false} - if lhs.easeInSpeed != rhs.easeInSpeed {return false} - if lhs.easeOutSpeed != rhs.easeOutSpeed {return false} - if lhs.durationSeconds != rhs.durationSeconds {return false} - if lhs.waitSeconds != rhs.waitSeconds {return false} - if lhs.transitionSeconds != rhs.transitionSeconds {return false} - if lhs.angleDegree != rhs.angleDegree {return false} - if lhs.angleOffsetDegree != rhs.angleOffsetDegree {return false} - if lhs.pitchDegree != rhs.pitchDegree {return false} - if lhs.pitchOffsetDegree != rhs.pitchOffsetDegree {return false} - if lhs.rollDegree != rhs.rollDegree {return false} - if lhs.distanceMeters != rhs.distanceMeters {return false} - if lhs.heightPercent != rhs.heightPercent {return false} - if lhs.vertCtrRatio != rhs.vertCtrRatio {return false} + public static func ==(lhs: BelugaBleTransferCompleteProto, rhs: BelugaBleTransferCompleteProto) -> Bool { + if lhs.nonce != rhs.nonce {return false} + if lhs.belugaID != rhs.belugaID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CampfireSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CampfireSettingsProto" +extension BelugaBleTransferPrepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaBleTransferPrepProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool_1"), - 2: .standard(proto: "ob_bool_2"), - 3: .standard(proto: "catch_card_enabled"), - 4: .standard(proto: "catch_card_share_enabled"), - 5: .standard(proto: "ob_list_string"), - 6: .standard(proto: "catch_card_time_to_share_to_campfire_s"), - 7: .standard(proto: "ob_bool_5"), - 8: .standard(proto: "ob_bool_6"), - 9: .standard(proto: "ob_bool_7"), + 1: .standard(proto: "pokemon_list"), + 2: .standard(proto: "eligble_for_item"), + 3: .standard(proto: "transaction_id"), + 4: .standard(proto: "beluga_id"), + 5: .same(proto: "nonce"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -174975,70 +179007,53 @@ extension CampfireSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.catchCardEnabled) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.catchCardShareEnabled) }() - case 5: try { try decoder.decodeRepeatedStringField(value: &self.obListString) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.catchCardTimeToShareToCampfireS) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool5) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.obBool6) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.obBool7) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonList) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.eligbleForItem) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.transactionID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.belugaID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.nonce) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 1) - } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 2) - } - if self.catchCardEnabled != false { - try visitor.visitSingularBoolField(value: self.catchCardEnabled, fieldNumber: 3) - } - if self.catchCardShareEnabled != false { - try visitor.visitSingularBoolField(value: self.catchCardShareEnabled, fieldNumber: 4) - } - if !self.obListString.isEmpty { - try visitor.visitRepeatedStringField(value: self.obListString, fieldNumber: 5) + if !self.pokemonList.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemonList, fieldNumber: 1) } - if self.catchCardTimeToShareToCampfireS != 0 { - try visitor.visitSingularInt32Field(value: self.catchCardTimeToShareToCampfireS, fieldNumber: 6) + if self.eligbleForItem != false { + try visitor.visitSingularBoolField(value: self.eligbleForItem, fieldNumber: 2) } - if self.obBool5 != false { - try visitor.visitSingularBoolField(value: self.obBool5, fieldNumber: 7) + if self.transactionID != 0 { + try visitor.visitSingularInt64Field(value: self.transactionID, fieldNumber: 3) } - if self.obBool6 != false { - try visitor.visitSingularBoolField(value: self.obBool6, fieldNumber: 8) + if !self.belugaID.isEmpty { + try visitor.visitSingularStringField(value: self.belugaID, fieldNumber: 4) } - if self.obBool7 != false { - try visitor.visitSingularBoolField(value: self.obBool7, fieldNumber: 9) + if !self.nonce.isEmpty { + try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CampfireSettingsProto, rhs: CampfireSettingsProto) -> Bool { - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.catchCardEnabled != rhs.catchCardEnabled {return false} - if lhs.catchCardShareEnabled != rhs.catchCardShareEnabled {return false} - if lhs.obListString != rhs.obListString {return false} - if lhs.catchCardTimeToShareToCampfireS != rhs.catchCardTimeToShareToCampfireS {return false} - if lhs.obBool5 != rhs.obBool5 {return false} - if lhs.obBool6 != rhs.obBool6 {return false} - if lhs.obBool7 != rhs.obBool7 {return false} + public static func ==(lhs: BelugaBleTransferPrepProto, rhs: BelugaBleTransferPrepProto) -> Bool { + if lhs.pokemonList != rhs.pokemonList {return false} + if lhs.eligbleForItem != rhs.eligbleForItem {return false} + if lhs.transactionID != rhs.transactionID {return false} + if lhs.belugaID != rhs.belugaID {return false} + if lhs.nonce != rhs.nonce {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelCombatChallengeDataProto" +extension BelugaBleTransferProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaBleTransferProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .standard(proto: "server_response"), + 2: .standard(proto: "server_signature"), + 3: .standard(proto: "localized_origins"), + 4: .same(proto: "language"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175047,30 +179062,51 @@ extension CancelCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._serverResponse) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.serverSignature) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.localizedOrigins) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.language) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._serverResponse { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.serverSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.serverSignature, fieldNumber: 2) + } + if !self.localizedOrigins.isEmpty { + try visitor.visitRepeatedStringField(value: self.localizedOrigins, fieldNumber: 3) + } + if !self.language.isEmpty { + try visitor.visitSingularStringField(value: self.language, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelCombatChallengeDataProto, rhs: CancelCombatChallengeDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: BelugaBleTransferProto, rhs: BelugaBleTransferProto) -> Bool { + if lhs._serverResponse != rhs._serverResponse {return false} + if lhs.serverSignature != rhs.serverSignature {return false} + if lhs.localizedOrigins != rhs.localizedOrigins {return false} + if lhs.language != rhs.language {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelCombatChallengeOutProto" +extension BelugaDailyTransferLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaDailyTransferLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), + 2: .standard(proto: "includes_weekly_bonus"), + 3: .standard(proto: "items_awarded"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175080,42 +179116,51 @@ extension CancelCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._M // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.includesWeeklyBonus) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._itemsAwarded) }() default: break } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + if self.includesWeeklyBonus != false { + try visitor.visitSingularBoolField(value: self.includesWeeklyBonus, fieldNumber: 2) + } + try { if let v = self._itemsAwarded { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelCombatChallengeOutProto, rhs: CancelCombatChallengeOutProto) -> Bool { + public static func ==(lhs: BelugaDailyTransferLogEntry, rhs: BelugaDailyTransferLogEntry) -> Bool { if lhs.result != rhs.result {return false} + if lhs.includesWeeklyBonus != rhs.includesWeeklyBonus {return false} + if lhs._itemsAwarded != rhs._itemsAwarded {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension BelugaDailyTransferLogEntry.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), - 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), - 4: .same(proto: "ERROR_ALREADY_ACCEPTED"), - 5: .same(proto: "ERROR_ALREADY_DECLINED"), - 6: .same(proto: "ERROR_ALREADY_TIMEDOUT"), - 7: .same(proto: "ERROR_ACCESS_DENIED"), ] } -extension CancelCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelCombatChallengeProto" +extension BelugaGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), + 1: .standard(proto: "enable_beluga_transfer"), + 2: .standard(proto: "max_num_pokemon_per_transfer"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175124,32 +179169,38 @@ extension CancelCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableBelugaTransfer) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxNumPokemonPerTransfer) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) + if self.enableBelugaTransfer != false { + try visitor.visitSingularBoolField(value: self.enableBelugaTransfer, fieldNumber: 1) + } + if self.maxNumPokemonPerTransfer != 0 { + try visitor.visitSingularInt32Field(value: self.maxNumPokemonPerTransfer, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelCombatChallengeProto, rhs: CancelCombatChallengeProto) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} + public static func ==(lhs: BelugaGlobalSettingsProto, rhs: BelugaGlobalSettingsProto) -> Bool { + if lhs.enableBelugaTransfer != rhs.enableBelugaTransfer {return false} + if lhs.maxNumPokemonPerTransfer != rhs.maxNumPokemonPerTransfer {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelCombatChallengeResponseDataProto" +extension BelugaIncenseBoxProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaIncenseBoxProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), + 1: .standard(proto: "is_usable"), + 2: .standard(proto: "cool_down_finished_timestamp_ms"), + 3: .standard(proto: "sparkly_limit"), + 4: .standard(proto: "sparkly_counter"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175158,40 +179209,350 @@ extension CancelCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isUsable) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.coolDownFinishedTimestampMs) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._sparklyLimit) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.sparklyCounter) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.isUsable != false { + try visitor.visitSingularBoolField(value: self.isUsable, fieldNumber: 1) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if self.coolDownFinishedTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.coolDownFinishedTimestampMs, fieldNumber: 2) } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + try { if let v = self._sparklyLimit { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.sparklyCounter != 0 { + try visitor.visitSingularInt32Field(value: self.sparklyCounter, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelCombatChallengeResponseDataProto, rhs: CancelCombatChallengeResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} + public static func ==(lhs: BelugaIncenseBoxProto, rhs: BelugaIncenseBoxProto) -> Bool { + if lhs.isUsable != rhs.isUsable {return false} + if lhs.coolDownFinishedTimestampMs != rhs.coolDownFinishedTimestampMs {return false} + if lhs._sparklyLimit != rhs._sparklyLimit {return false} + if lhs.sparklyCounter != rhs.sparklyCounter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelFriendInviteOutProto" +extension BelugaPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .standard(proto: "trainer_name"), + 2: .standard(proto: "trainer_gender"), + 3: .standard(proto: "trainer_team"), + 4: .standard(proto: "trainer_level"), + 5: .standard(proto: "pokedex_id"), + 6: .same(proto: "cp"), + 7: .standard(proto: "pokemon_level"), + 8: .standard(proto: "max_hp"), + 9: .standard(proto: "origin_lat"), + 10: .standard(proto: "origin_lng"), + 11: .same(proto: "height"), + 12: .same(proto: "weight"), + 13: .standard(proto: "individual_attack"), + 14: .standard(proto: "individual_defense"), + 15: .standard(proto: "individual_stamina"), + 16: .standard(proto: "creation_day"), + 17: .standard(proto: "creation_month"), + 18: .standard(proto: "creation_year"), + 19: .same(proto: "nickname"), + 20: .same(proto: "gender"), + 21: .same(proto: "costume"), + 22: .same(proto: "form"), + 23: .same(proto: "shiny"), + 24: .same(proto: "move1"), + 25: .same(proto: "move2"), + ] + + fileprivate class _StorageClass { + var _trainerName: String = String() + var _trainerGender: BelugaPokemonProto.TrainerGender = .trainerMale + var _trainerTeam: BelugaPokemonProto.Team = .none + var _trainerLevel: Int32 = 0 + var _pokedexID: HoloPokemonId = .missingno + var _cp: Int32 = 0 + var _pokemonLevel: Float = 0 + var _maxHp: Int32 = 0 + var _originLat: Double = 0 + var _originLng: Double = 0 + var _height: Float = 0 + var _weight: Float = 0 + var _individualAttack: Int32 = 0 + var _individualDefense: Int32 = 0 + var _individualStamina: Int32 = 0 + var _creationDay: Int32 = 0 + var _creationMonth: Int32 = 0 + var _creationYear: Int32 = 0 + var _nickname: String = String() + var _gender: BelugaPokemonProto.PokemonGender = .genderUnset + var _costume: BelugaPokemonProto.PokemonCostume = .unset + var _form: BelugaPokemonProto.PokemonForm = .formUnset + var _shiny: Bool = false + var _move1: HoloPokemonMove = .moveUnset + var _move2: HoloPokemonMove = .moveUnset + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _trainerName = source._trainerName + _trainerGender = source._trainerGender + _trainerTeam = source._trainerTeam + _trainerLevel = source._trainerLevel + _pokedexID = source._pokedexID + _cp = source._cp + _pokemonLevel = source._pokemonLevel + _maxHp = source._maxHp + _originLat = source._originLat + _originLng = source._originLng + _height = source._height + _weight = source._weight + _individualAttack = source._individualAttack + _individualDefense = source._individualDefense + _individualStamina = source._individualStamina + _creationDay = source._creationDay + _creationMonth = source._creationMonth + _creationYear = source._creationYear + _nickname = source._nickname + _gender = source._gender + _costume = source._costume + _form = source._form + _shiny = source._shiny + _move1 = source._move1 + _move2 = source._move2 + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._trainerName) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._trainerGender) }() + case 3: try { try decoder.decodeSingularEnumField(value: &_storage._trainerTeam) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._trainerLevel) }() + case 5: try { try decoder.decodeSingularEnumField(value: &_storage._pokedexID) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._cp) }() + case 7: try { try decoder.decodeSingularFloatField(value: &_storage._pokemonLevel) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._maxHp) }() + case 9: try { try decoder.decodeSingularDoubleField(value: &_storage._originLat) }() + case 10: try { try decoder.decodeSingularDoubleField(value: &_storage._originLng) }() + case 11: try { try decoder.decodeSingularFloatField(value: &_storage._height) }() + case 12: try { try decoder.decodeSingularFloatField(value: &_storage._weight) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._individualAttack) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._individualDefense) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._individualStamina) }() + case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._creationDay) }() + case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._creationMonth) }() + case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._creationYear) }() + case 19: try { try decoder.decodeSingularStringField(value: &_storage._nickname) }() + case 20: try { try decoder.decodeSingularEnumField(value: &_storage._gender) }() + case 21: try { try decoder.decodeSingularEnumField(value: &_storage._costume) }() + case 22: try { try decoder.decodeSingularEnumField(value: &_storage._form) }() + case 23: try { try decoder.decodeSingularBoolField(value: &_storage._shiny) }() + case 24: try { try decoder.decodeSingularEnumField(value: &_storage._move1) }() + case 25: try { try decoder.decodeSingularEnumField(value: &_storage._move2) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if !_storage._trainerName.isEmpty { + try visitor.visitSingularStringField(value: _storage._trainerName, fieldNumber: 1) + } + if _storage._trainerGender != .trainerMale { + try visitor.visitSingularEnumField(value: _storage._trainerGender, fieldNumber: 2) + } + if _storage._trainerTeam != .none { + try visitor.visitSingularEnumField(value: _storage._trainerTeam, fieldNumber: 3) + } + if _storage._trainerLevel != 0 { + try visitor.visitSingularInt32Field(value: _storage._trainerLevel, fieldNumber: 4) + } + if _storage._pokedexID != .missingno { + try visitor.visitSingularEnumField(value: _storage._pokedexID, fieldNumber: 5) + } + if _storage._cp != 0 { + try visitor.visitSingularInt32Field(value: _storage._cp, fieldNumber: 6) + } + if _storage._pokemonLevel != 0 { + try visitor.visitSingularFloatField(value: _storage._pokemonLevel, fieldNumber: 7) + } + if _storage._maxHp != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxHp, fieldNumber: 8) + } + if _storage._originLat != 0 { + try visitor.visitSingularDoubleField(value: _storage._originLat, fieldNumber: 9) + } + if _storage._originLng != 0 { + try visitor.visitSingularDoubleField(value: _storage._originLng, fieldNumber: 10) + } + if _storage._height != 0 { + try visitor.visitSingularFloatField(value: _storage._height, fieldNumber: 11) + } + if _storage._weight != 0 { + try visitor.visitSingularFloatField(value: _storage._weight, fieldNumber: 12) + } + if _storage._individualAttack != 0 { + try visitor.visitSingularInt32Field(value: _storage._individualAttack, fieldNumber: 13) + } + if _storage._individualDefense != 0 { + try visitor.visitSingularInt32Field(value: _storage._individualDefense, fieldNumber: 14) + } + if _storage._individualStamina != 0 { + try visitor.visitSingularInt32Field(value: _storage._individualStamina, fieldNumber: 15) + } + if _storage._creationDay != 0 { + try visitor.visitSingularInt32Field(value: _storage._creationDay, fieldNumber: 16) + } + if _storage._creationMonth != 0 { + try visitor.visitSingularInt32Field(value: _storage._creationMonth, fieldNumber: 17) + } + if _storage._creationYear != 0 { + try visitor.visitSingularInt32Field(value: _storage._creationYear, fieldNumber: 18) + } + if !_storage._nickname.isEmpty { + try visitor.visitSingularStringField(value: _storage._nickname, fieldNumber: 19) + } + if _storage._gender != .genderUnset { + try visitor.visitSingularEnumField(value: _storage._gender, fieldNumber: 20) + } + if _storage._costume != .unset { + try visitor.visitSingularEnumField(value: _storage._costume, fieldNumber: 21) + } + if _storage._form != .formUnset { + try visitor.visitSingularEnumField(value: _storage._form, fieldNumber: 22) + } + if _storage._shiny != false { + try visitor.visitSingularBoolField(value: _storage._shiny, fieldNumber: 23) + } + if _storage._move1 != .moveUnset { + try visitor.visitSingularEnumField(value: _storage._move1, fieldNumber: 24) + } + if _storage._move2 != .moveUnset { + try visitor.visitSingularEnumField(value: _storage._move2, fieldNumber: 25) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: BelugaPokemonProto, rhs: BelugaPokemonProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._trainerName != rhs_storage._trainerName {return false} + if _storage._trainerGender != rhs_storage._trainerGender {return false} + if _storage._trainerTeam != rhs_storage._trainerTeam {return false} + if _storage._trainerLevel != rhs_storage._trainerLevel {return false} + if _storage._pokedexID != rhs_storage._pokedexID {return false} + if _storage._cp != rhs_storage._cp {return false} + if _storage._pokemonLevel != rhs_storage._pokemonLevel {return false} + if _storage._maxHp != rhs_storage._maxHp {return false} + if _storage._originLat != rhs_storage._originLat {return false} + if _storage._originLng != rhs_storage._originLng {return false} + if _storage._height != rhs_storage._height {return false} + if _storage._weight != rhs_storage._weight {return false} + if _storage._individualAttack != rhs_storage._individualAttack {return false} + if _storage._individualDefense != rhs_storage._individualDefense {return false} + if _storage._individualStamina != rhs_storage._individualStamina {return false} + if _storage._creationDay != rhs_storage._creationDay {return false} + if _storage._creationMonth != rhs_storage._creationMonth {return false} + if _storage._creationYear != rhs_storage._creationYear {return false} + if _storage._nickname != rhs_storage._nickname {return false} + if _storage._gender != rhs_storage._gender {return false} + if _storage._costume != rhs_storage._costume {return false} + if _storage._form != rhs_storage._form {return false} + if _storage._shiny != rhs_storage._shiny {return false} + if _storage._move1 != rhs_storage._move1 {return false} + if _storage._move2 != rhs_storage._move2 {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension BelugaPokemonProto.PokemonCostume: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "HOLIDAY_2016"), + 2: .same(proto: "ANNIVERSARY"), + 3: .same(proto: "ONE_YEAR_ANNIVERSARY"), + 4: .same(proto: "HALLOWEEN_2017"), + ] +} + +extension BelugaPokemonProto.PokemonForm: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "FORM_UNSET"), + 1: .same(proto: "ALOLA"), + ] +} + +extension BelugaPokemonProto.PokemonGender: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "GENDER_UNSET"), + 1: .same(proto: "MALE"), + 2: .same(proto: "FEMALE"), + 3: .same(proto: "GENDERLESS"), + ] +} + +extension BelugaPokemonProto.Team: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE"), + 1: .same(proto: "TEAM_BLUE"), + 2: .same(proto: "TEAM_RED"), + 3: .same(proto: "TEAM_YELLOW"), + ] +} + +extension BelugaPokemonProto.TrainerGender: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "TRAINER_MALE"), + 1: .same(proto: "TRAINER_FEMALE"), + ] +} + +extension BelugaPokemonWhitelist: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaPokemonWhitelist" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "max_allowed_pokemon_pokedex_number"), + 2: .standard(proto: "additional_pokemon_allowed"), + 3: .standard(proto: "forms_allowed"), + 4: .standard(proto: "costumes_allowed"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175200,41 +179561,50 @@ extension CancelFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.maxAllowedPokemonPokedexNumber) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.additionalPokemonAllowed) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.formsAllowed) }() + case 4: try { try decoder.decodeRepeatedEnumField(value: &self.costumesAllowed) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.maxAllowedPokemonPokedexNumber != 0 { + try visitor.visitSingularInt32Field(value: self.maxAllowedPokemonPokedexNumber, fieldNumber: 1) + } + if !self.additionalPokemonAllowed.isEmpty { + try visitor.visitPackedEnumField(value: self.additionalPokemonAllowed, fieldNumber: 2) + } + if !self.formsAllowed.isEmpty { + try visitor.visitPackedEnumField(value: self.formsAllowed, fieldNumber: 3) + } + if !self.costumesAllowed.isEmpty { + try visitor.visitPackedEnumField(value: self.costumesAllowed, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelFriendInviteOutProto, rhs: CancelFriendInviteOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: BelugaPokemonWhitelist, rhs: BelugaPokemonWhitelist) -> Bool { + if lhs.maxAllowedPokemonPokedexNumber != rhs.maxAllowedPokemonPokedexNumber {return false} + if lhs.additionalPokemonAllowed != rhs.additionalPokemonAllowed {return false} + if lhs.formsAllowed != rhs.formsAllowed {return false} + if lhs.costumesAllowed != rhs.costumesAllowed {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelFriendInviteOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_INVITE_DOES_NOT_EXIST"), - 4: .same(proto: "ERROR_ALREADY_CANCELLED"), - ] -} - -extension CancelFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelFriendInviteProto" +extension BelugaTransactionCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaTransactionCompleteOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "nia_account_id"), + 1: .same(proto: "status"), + 2: .standard(proto: "candy_awarded"), + 3: .standard(proto: "loot_awarded"), + 4: .standard(proto: "beluga_finalize_response"), + 5: .standard(proto: "buckets_until_weekly_award"), + 6: .standard(proto: "xl_candy_awarded_per_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175243,35 +179613,75 @@ extension CancelFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.candyAwarded) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._lootAwarded) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._belugaFinalizeResponse) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.bucketsUntilWeeklyAward) }() + case 6: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.xlCandyAwardedPerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) + if self.candyAwarded != 0 { + try visitor.visitSingularInt32Field(value: self.candyAwarded, fieldNumber: 2) + } + try { if let v = self._lootAwarded { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._belugaFinalizeResponse { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.bucketsUntilWeeklyAward != 0 { + try visitor.visitSingularInt32Field(value: self.bucketsUntilWeeklyAward, fieldNumber: 5) + } + if !self.xlCandyAwardedPerID.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.xlCandyAwardedPerID, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelFriendInviteProto, rhs: CancelFriendInviteProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} + public static func ==(lhs: BelugaTransactionCompleteOutProto, rhs: BelugaTransactionCompleteOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.candyAwarded != rhs.candyAwarded {return false} + if lhs._lootAwarded != rhs._lootAwarded {return false} + if lhs._belugaFinalizeResponse != rhs._belugaFinalizeResponse {return false} + if lhs.bucketsUntilWeeklyAward != rhs.bucketsUntilWeeklyAward {return false} + if lhs.xlCandyAwardedPerID != rhs.xlCandyAwardedPerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelMatchmakingDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelMatchmakingDataProto" +extension BelugaTransactionCompleteOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILED"), + 3: .same(proto: "ERROR_INVALID_POKEMON_ID"), + 4: .same(proto: "ERROR_POKEMON_DEPLOYED"), + 5: .same(proto: "ERROR_POKEMON_NOT_ALLOWED"), + 6: .same(proto: "ERROR_POKEMON_IS_BUDDY"), + 7: .same(proto: "ERROR_INVALID_TRANSACTION_ID"), + 8: .same(proto: "ERROR_MISSING_TRANSACTION_ID"), + ] +} + +extension BelugaTransactionCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaTransactionCompleteProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .standard(proto: "beluga_transfer"), + 2: .standard(proto: "app_signature"), + 3: .standard(proto: "firmware_signature"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175280,30 +179690,46 @@ extension CancelMatchmakingDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._belugaTransfer) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.appSignature) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.firmwareSignature) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._belugaTransfer { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.appSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.appSignature, fieldNumber: 2) + } + if !self.firmwareSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.firmwareSignature, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelMatchmakingDataProto, rhs: CancelMatchmakingDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: BelugaTransactionCompleteProto, rhs: BelugaTransactionCompleteProto) -> Bool { + if lhs._belugaTransfer != rhs._belugaTransfer {return false} + if lhs.appSignature != rhs.appSignature {return false} + if lhs.firmwareSignature != rhs.firmwareSignature {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelMatchmakingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelMatchmakingOutProto" +extension BelugaTransactionStartOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaTransactionStartOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .same(proto: "status"), + 2: .standard(proto: "beluga_transfer_prep"), + 3: .standard(proto: "server_signature"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175312,40 +179738,62 @@ extension CancelMatchmakingOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._belugaTransferPrep) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.serverSignature) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try { if let v = self._belugaTransferPrep { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.serverSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.serverSignature, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelMatchmakingOutProto, rhs: CancelMatchmakingOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: BelugaTransactionStartOutProto, rhs: BelugaTransactionStartOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._belugaTransferPrep != rhs._belugaTransferPrep {return false} + if lhs.serverSignature != rhs.serverSignature {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelMatchmakingOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension BelugaTransactionStartOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESSFULLY_CANCELLED"), - 2: .same(proto: "ERROR_ALREADY_MATCHED"), - 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - 4: .same(proto: "ERROR_QUEUE_NOT_FOUND"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILED"), + 3: .same(proto: "ERROR_INVALID_POKEMON_ID"), + 4: .same(proto: "ERROR_POKEMON_DEPLOYED"), + 5: .same(proto: "ERROR_POKEMON_IS_EGG"), + 6: .same(proto: "ERROR_POKEMON_IS_BUDDY"), + 7: .same(proto: "ERROR_POKEMON_NOT_ALLOWED"), + 8: .same(proto: "ERROR_INVALID_NONCE"), + 9: .same(proto: "ERROR_TOO_MANY_POKEMON"), + 10: .same(proto: "ERROR_NO_POKEMON_SPECIFIED"), ] } -extension CancelMatchmakingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelMatchmakingProto" +extension BelugaTransactionStartProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BelugaTransactionStartProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "queue_id"), + 1: .standard(proto: "pokemon_id"), + 2: .same(proto: "nonce"), + 3: .standard(proto: "beluga_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175354,32 +179802,41 @@ extension CancelMatchmakingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.queueID) }() + case 1: try { try decoder.decodeRepeatedInt64Field(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.nonce) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.belugaID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.queueID.isEmpty { - try visitor.visitSingularStringField(value: self.queueID, fieldNumber: 1) + if !self.pokemonID.isEmpty { + try visitor.visitPackedInt64Field(value: self.pokemonID, fieldNumber: 1) + } + if !self.nonce.isEmpty { + try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 2) + } + if !self.belugaID.isEmpty { + try visitor.visitSingularStringField(value: self.belugaID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelMatchmakingProto, rhs: CancelMatchmakingProto) -> Bool { - if lhs.queueID != rhs.queueID {return false} + public static func ==(lhs: BelugaTransactionStartProto, rhs: BelugaTransactionStartProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.nonce != rhs.nonce {return false} + if lhs.belugaID != rhs.belugaID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelMatchmakingResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelMatchmakingResponseDataProto" +extension BerryFarmingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BerryFarmingSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "poi_ids"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175388,41 +179845,37 @@ extension CancelMatchmakingResponseDataProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.poiIds) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + if !self.poiIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.poiIds, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelMatchmakingResponseDataProto, rhs: CancelMatchmakingResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} + public static func ==(lhs: BerryFarmingSettingsProto, rhs: BerryFarmingSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.poiIds != rhs.poiIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelRouteOutProto" +extension BonusBoxProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BonusBoxProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "cooldown_finish_ms"), + 1: .same(proto: "text"), + 2: .standard(proto: "icon_type"), + 3: .standard(proto: "additional_display"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175431,55 +179884,160 @@ extension CancelRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.cooldownFinishMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.text) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.iconType) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.additionalDisplay) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.text.isEmpty { + try visitor.visitSingularStringField(value: self.text, fieldNumber: 1) } - if self.cooldownFinishMs != 0 { - try visitor.visitSingularInt64Field(value: self.cooldownFinishMs, fieldNumber: 2) + if self.iconType != .unset { + try visitor.visitSingularEnumField(value: self.iconType, fieldNumber: 2) + } + if self.additionalDisplay != .none { + try visitor.visitSingularEnumField(value: self.additionalDisplay, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelRouteOutProto, rhs: CancelRouteOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.cooldownFinishMs != rhs.cooldownFinishMs {return false} + public static func ==(lhs: BonusBoxProto, rhs: BonusBoxProto) -> Bool { + if lhs.text != rhs.text {return false} + if lhs.iconType != rhs.iconType {return false} + if lhs.additionalDisplay != rhs.additionalDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelRouteProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension BonusBoxProto.AdditionalDisplay: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE"), + 1: .same(proto: "PARTY_PLAY"), + ] +} + +extension BonusBoxProto.IconType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "ADVENTURE_SYNC"), + 2: .same(proto: "BUDDY"), + 3: .same(proto: "CANDY_GENERAL"), + 4: .same(proto: "EGG"), + 5: .same(proto: "EGG_INCUBATOR"), + 6: .same(proto: "EVENT_MOVE"), + 7: .same(proto: "EVOLUTION"), + 8: .same(proto: "FIELD_RESEARCH"), + 9: .same(proto: "FRIENDSHIP"), + 10: .same(proto: "GIFT"), + 11: .same(proto: "INCENSE"), + 12: .same(proto: "LUCKY_EGG"), + 13: .same(proto: "LURE_MODULE"), + 14: .same(proto: "PHOTOBOMB"), + 15: .same(proto: "POKESTOP"), + 16: .same(proto: "RAID"), + 17: .same(proto: "RAID_PASS"), + 18: .same(proto: "SPAWN_UNKNOWN"), + 19: .same(proto: "STAR_PIECE"), + 20: .same(proto: "STARDUST"), + 21: .same(proto: "TEAM_ROCKET"), + 22: .same(proto: "TRADE"), + 23: .same(proto: "TRANSFER_CANDY"), + 24: .same(proto: "BATTLE"), + 25: .same(proto: "XP"), + 26: .same(proto: "SHOP"), + 27: .same(proto: "LOCATION"), + 28: .same(proto: "EVENT"), + 29: .same(proto: "MYSTERY_BOX"), + 30: .same(proto: "TRADE_BALL"), + 31: .same(proto: "CANDY_XL"), + 32: .same(proto: "HEART"), + 33: .same(proto: "TIMER"), + 34: .same(proto: "POSTCARD"), + 35: .same(proto: "STICKER"), + 36: .same(proto: "ADVENTURE_EFFECT"), + ] +} + +extension BonusEffectSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BonusEffectSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "time_bonus"), + 2: .standard(proto: "space_bonus"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { + var v: TimeBonusSettingsProto? + var hadOneofValue = false + if let current = self.bonus { + hadOneofValue = true + if case .timeBonus(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.bonus = .timeBonus(v) + } + }() + case 2: try { + var v: SpaceBonusSettingsProto? + var hadOneofValue = false + if let current = self.bonus { + hadOneofValue = true + if case .spaceBonus(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.bonus = .spaceBonus(v) + } + }() + default: break + } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.bonus { + case .timeBonus?: try { + guard case .timeBonus(let v)? = self.bonus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .spaceBonus?: try { + guard case .spaceBonus(let v)? = self.bonus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case nil: break + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelRouteProto, rhs: CancelRouteProto) -> Bool { + public static func ==(lhs: BonusEffectSettingsProto, rhs: BonusEffectSettingsProto) -> Bool { + if lhs.bonus != rhs.bonus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelTradingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelTradingOutProto" +extension BootRaidOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BootRaidOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "trading"), + 2: .same(proto: "lobby"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175489,7 +180047,7 @@ extension CancelTradingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._trading) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._lobby) }() default: break } } @@ -175503,36 +180061,74 @@ extension CancelTradingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._trading { + try { if let v = self._lobby { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelTradingOutProto, rhs: CancelTradingOutProto) -> Bool { + public static func ==(lhs: BootRaidOutProto, rhs: BootRaidOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs._trading != rhs._trading {return false} + if lhs._lobby != rhs._lobby {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CancelTradingOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension BootRaidOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_FRIEND_NOT_FOUND"), - 4: .same(proto: "ERROR_INVALID_PLAYER_ID"), - 5: .same(proto: "ERROR_INVALID_STATE"), - 6: .same(proto: "ERROR_STATE_HANDLER"), + 2: .same(proto: "ERROR_FEATURE_DISABLED"), + 3: .same(proto: "ERROR_LOBBY_NOT_FOUND"), + 4: .same(proto: "ERROR_RAID_UNAVAILABLE"), + 5: .same(proto: "ERROR_NOT_ENOUGH_TIME"), + ] +} + +extension BootRaidProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BootRaidProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "gym_id"), + 2: .standard(proto: "lobby_id"), ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) + } + if !self.lobbyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: BootRaidProto, rhs: BootRaidProto) -> Bool { + if lhs.gymID != rhs.gymID {return false} + if lhs.lobbyID != rhs.lobbyID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension CancelTradingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CancelTradingProto" +extension BootSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BootSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), + 1: .standard(proto: "boot_sequence_v2_enabled"), + 2: .standard(proto: "boot_lazy_inject_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175541,31 +180137,36 @@ extension CancelTradingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.bootSequenceV2Enabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.bootLazyInjectEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + if self.bootSequenceV2Enabled != false { + try visitor.visitSingularBoolField(value: self.bootSequenceV2Enabled, fieldNumber: 1) + } + if self.bootLazyInjectEnabled != false { + try visitor.visitSingularBoolField(value: self.bootLazyInjectEnabled, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CancelTradingProto, rhs: CancelTradingProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} + public static func ==(lhs: BootSettingsProto, rhs: BootSettingsProto) -> Bool { + if lhs.bootSequenceV2Enabled != rhs.bootSequenceV2Enabled {return false} + if lhs.bootLazyInjectEnabled != rhs.bootLazyInjectEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CapProto" +extension BootTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BootTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "center"), - 2: .standard(proto: "angle_degrees"), + 1: .standard(proto: "nearest_poi_distance"), + 2: .standard(proto: "poi_within_one_km_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175574,90 +180175,185 @@ extension CapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._center) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.angleDegrees) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.nearestPoiDistance) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.poiWithinOneKmCount) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._center { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.angleDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.angleDegrees, fieldNumber: 2) + if self.nearestPoiDistance != 0 { + try visitor.visitSingularFloatField(value: self.nearestPoiDistance, fieldNumber: 1) + } + if self.poiWithinOneKmCount != 0 { + try visitor.visitSingularInt32Field(value: self.poiWithinOneKmCount, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CapProto, rhs: CapProto) -> Bool { - if lhs._center != rhs._center {return false} - if lhs.angleDegrees != rhs.angleDegrees {return false} + public static func ==(lhs: BootTelemetry, rhs: BootTelemetry) -> Bool { + if lhs.nearestPoiDistance != rhs.nearestPoiDistance {return false} + if lhs.poiWithinOneKmCount != rhs.poiWithinOneKmCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CaptureProbabilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CaptureProbabilityProto" +extension BootTime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BootTime" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokeball_type"), - 2: .standard(proto: "capture_probability"), - 12: .standard(proto: "reticle_difficulty_scale"), + 1: .same(proto: "duration"), + 2: .standard(proto: "boot_phase"), + 3: .standard(proto: "auth_provider"), + 4: .standard(proto: "cached_login"), + 5: .standard(proto: "adventure_sync_enabled"), ] + fileprivate class _StorageClass { + var _duration: PlatformMetricData? = nil + var _bootPhase: BootTime.BootPhase = .undefined + var _authProvider: BootTime.AuthProvider = .unknown + var _cachedLogin: Bool = false + var _adventureSyncEnabled: Bool = false + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _duration = source._duration + _bootPhase = source._bootPhase + _authProvider = source._authProvider + _cachedLogin = source._cachedLogin + _adventureSyncEnabled = source._adventureSyncEnabled + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.pokeballType) }() - case 2: try { try decoder.decodeRepeatedFloatField(value: &self.captureProbability) }() - case 12: try { try decoder.decodeSingularDoubleField(value: &self.reticleDifficultyScale) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._duration) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._bootPhase) }() + case 3: try { try decoder.decodeSingularEnumField(value: &_storage._authProvider) }() + case 4: try { try decoder.decodeSingularBoolField(value: &_storage._cachedLogin) }() + case 5: try { try decoder.decodeSingularBoolField(value: &_storage._adventureSyncEnabled) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.pokeballType.isEmpty { - try visitor.visitPackedEnumField(value: self.pokeballType, fieldNumber: 1) - } - if !self.captureProbability.isEmpty { - try visitor.visitPackedFloatField(value: self.captureProbability, fieldNumber: 2) - } - if self.reticleDifficultyScale != 0 { - try visitor.visitSingularDoubleField(value: self.reticleDifficultyScale, fieldNumber: 12) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._duration { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if _storage._bootPhase != .undefined { + try visitor.visitSingularEnumField(value: _storage._bootPhase, fieldNumber: 2) + } + if _storage._authProvider != .unknown { + try visitor.visitSingularEnumField(value: _storage._authProvider, fieldNumber: 3) + } + if _storage._cachedLogin != false { + try visitor.visitSingularBoolField(value: _storage._cachedLogin, fieldNumber: 4) + } + if _storage._adventureSyncEnabled != false { + try visitor.visitSingularBoolField(value: _storage._adventureSyncEnabled, fieldNumber: 5) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CaptureProbabilityProto, rhs: CaptureProbabilityProto) -> Bool { - if lhs.pokeballType != rhs.pokeballType {return false} - if lhs.captureProbability != rhs.captureProbability {return false} - if lhs.reticleDifficultyScale != rhs.reticleDifficultyScale {return false} + public static func ==(lhs: BootTime, rhs: BootTime) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._duration != rhs_storage._duration {return false} + if _storage._bootPhase != rhs_storage._bootPhase {return false} + if _storage._authProvider != rhs_storage._authProvider {return false} + if _storage._cachedLogin != rhs_storage._cachedLogin {return false} + if _storage._adventureSyncEnabled != rhs_storage._adventureSyncEnabled {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CaptureScoreProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CaptureScoreProto" +extension BootTime.AuthProvider: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "activity_type"), - 2: .same(proto: "exp"), - 3: .same(proto: "candy"), - 4: .same(proto: "stardust"), - 5: .standard(proto: "xl_candy"), - 6: .standard(proto: "candy_from_active_mega"), - 7: .standard(proto: "ob_int32"), - 8: .standard(proto: "ob_field"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "GOOGLE"), + 2: .same(proto: "PTC"), + 3: .same(proto: "FACEBOOK"), + 4: .same(proto: "SUPER_AWESOME"), + 5: .same(proto: "APPLE"), + 6: .same(proto: "GUEST"), + 7: .same(proto: "PTC_OAUTH"), + ] +} + +extension BootTime.BootPhase: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNDEFINED"), + 1: .same(proto: "TIME_TO_MAP"), + 2: .same(proto: "LOGO_SCREEN_TIME"), + 3: .same(proto: "MAIN_SCENE_LOAD_TIME"), + 4: .same(proto: "WAIT_FOR_AUTH"), + 5: .same(proto: "INIT_REMOTE_CONFIG_VERSIONS"), + 6: .same(proto: "INIT_BUNDLE_DIGEST"), + 7: .same(proto: "INIT_GMT"), + 8: .same(proto: "DOWNLOAD_I18N"), + 9: .same(proto: "DOWNLOAD_GLOBAL_ASSETS"), + 10: .same(proto: "REGISTER_PUSH_NOTIFICATION"), + 11: .same(proto: "INITIALIZE_UPSIGHT"), + 12: .same(proto: "INITIALIZE_CRITTERCISM"), + 13: .same(proto: "LOGIN_VERSION_CHECK"), + 14: .same(proto: "LOGIN_GET_PLAYER"), + 15: .same(proto: "LOGIN_AUTHENTICATION"), + 16: .same(proto: "MODAL_TIME"), + 17: .same(proto: "INITIALIZE_ADJUST"), + 20: .same(proto: "INITIALIZE_FIREBASE"), + 21: .same(proto: "INITIALIZE_CRASHLYTICS"), + 22: .same(proto: "INITIALIZE_BRAZE"), + 23: .same(proto: "DOWNLOAD_BOOT_ADDRESSABLES"), + 24: .same(proto: "INITIALIZE_OMNI"), + 25: .same(proto: "CONFIGURE_ARDK"), + 26: .same(proto: "LOAD_BOOT_SEQUENCE_GUI"), + 27: .same(proto: "WAIT_SERVER_SEQUENCE_DONE"), + 28: .same(proto: "SET_MAIN_SCENE_ACTIVE"), + 29: .same(proto: "INSTALL_SCENE_CONTEXT"), + 30: .same(proto: "WAIT_SHOW_MAP"), + ] +} + +extension BoundingRect: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BoundingRect" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "north"), + 2: .same(proto: "south"), + 3: .same(proto: "east"), + 4: .same(proto: "west"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175666,71 +180362,49 @@ extension CaptureScoreProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.activityType) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.exp) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.candy) }() - case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.stardust) }() - case 5: try { try decoder.decodeRepeatedInt32Field(value: &self.xlCandy) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.candyFromActiveMega) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 8: try { try decoder.decodeSingularMessageField(value: &self._obField) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.north) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.south) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.east) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.west) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.activityType.isEmpty { - try visitor.visitPackedEnumField(value: self.activityType, fieldNumber: 1) - } - if !self.exp.isEmpty { - try visitor.visitPackedInt32Field(value: self.exp, fieldNumber: 2) - } - if !self.candy.isEmpty { - try visitor.visitPackedInt32Field(value: self.candy, fieldNumber: 3) - } - if !self.stardust.isEmpty { - try visitor.visitPackedInt32Field(value: self.stardust, fieldNumber: 4) + if self.north != 0 { + try visitor.visitSingularDoubleField(value: self.north, fieldNumber: 1) } - if !self.xlCandy.isEmpty { - try visitor.visitPackedInt32Field(value: self.xlCandy, fieldNumber: 5) + if self.south != 0 { + try visitor.visitSingularDoubleField(value: self.south, fieldNumber: 2) } - if self.candyFromActiveMega != 0 { - try visitor.visitSingularInt32Field(value: self.candyFromActiveMega, fieldNumber: 6) + if self.east != 0 { + try visitor.visitSingularDoubleField(value: self.east, fieldNumber: 3) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 7) + if self.west != 0 { + try visitor.visitSingularDoubleField(value: self.west, fieldNumber: 4) } - try { if let v = self._obField { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CaptureScoreProto, rhs: CaptureScoreProto) -> Bool { - if lhs.activityType != rhs.activityType {return false} - if lhs.exp != rhs.exp {return false} - if lhs.candy != rhs.candy {return false} - if lhs.stardust != rhs.stardust {return false} - if lhs.xlCandy != rhs.xlCandy {return false} - if lhs.candyFromActiveMega != rhs.candyFromActiveMega {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs._obField != rhs._obField {return false} + public static func ==(lhs: BoundingRect, rhs: BoundingRect) -> Bool { + if lhs.north != rhs.north {return false} + if lhs.south != rhs.south {return false} + if lhs.east != rhs.east {return false} + if lhs.west != rhs.west {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CaptureScoreProto.ScoreData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CaptureScoreProto.protoMessageName + ".ScoreData" +extension BreadcrumbRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BreadcrumbRecordProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "temp_evo"), - 2: .standard(proto: "ob_int32_1"), - 3: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "timestamp_ms"), + 2: .standard(proto: "latitude_deg"), + 3: .standard(proto: "longitude_deg"), + 4: .standard(proto: "app_is_foregrounded"), + 5: .standard(proto: "altitude_m"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175739,52 +180413,51 @@ extension CaptureScoreProto.ScoreData: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.tempEvo) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitudeDeg) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitudeDeg) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.appIsForegrounded) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.altitudeM) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.tempEvo != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: self.tempEvo, fieldNumber: 1) + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) + } + if self.latitudeDeg != 0 { + try visitor.visitSingularDoubleField(value: self.latitudeDeg, fieldNumber: 2) + } + if self.longitudeDeg != 0 { + try visitor.visitSingularDoubleField(value: self.longitudeDeg, fieldNumber: 3) } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 2) + if self.appIsForegrounded != false { + try visitor.visitSingularBoolField(value: self.appIsForegrounded, fieldNumber: 4) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 3) + if self.altitudeM != 0 { + try visitor.visitSingularDoubleField(value: self.altitudeM, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CaptureScoreProto.ScoreData, rhs: CaptureScoreProto.ScoreData) -> Bool { - if lhs.tempEvo != rhs.tempEvo {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: BreadcrumbRecordProto, rhs: BreadcrumbRecordProto) -> Bool { + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs.latitudeDeg != rhs.latitudeDeg {return false} + if lhs.longitudeDeg != rhs.longitudeDeg {return false} + if lhs.appIsForegrounded != rhs.appIsForegrounded {return false} + if lhs.altitudeM != rhs.altitudeM {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CatchCardTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CatchCardTelemetry" +extension BuddyActivityCategorySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyActivityCategorySettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "photo_type"), - 2: .standard(proto: "template_id"), - 3: .standard(proto: "shared_to_system"), - 4: .standard(proto: "campfire_id"), - 5: .standard(proto: "time_since_caught_seconds"), - 6: .standard(proto: "pokemon_id"), - 7: .same(proto: "shiny"), - 8: .same(proto: "form"), - 9: .same(proto: "costume"), - 10: .standard(proto: "individual_attack"), - 11: .standard(proto: "individual_defense"), - 12: .standard(proto: "individual_stamina"), - 13: .same(proto: "alignment"), + 1: .standard(proto: "activity_category"), + 2: .standard(proto: "max_points_per_day"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175793,100 +180466,40 @@ extension CatchCardTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.photoType) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.templateID) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.sharedToSystem) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.campfireID) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.timeSinceCaughtSeconds) }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.shiny) }() - case 8: try { try decoder.decodeSingularEnumField(value: &self.form) }() - case 9: try { try decoder.decodeSingularEnumField(value: &self.costume) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &self.individualAttack) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &self.individualDefense) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &self.individualStamina) }() - case 13: try { try decoder.decodeSingularEnumField(value: &self.alignment) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.activityCategory) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxPointsPerDay) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.photoType != .unset { - try visitor.visitSingularEnumField(value: self.photoType, fieldNumber: 1) - } - if !self.templateID.isEmpty { - try visitor.visitSingularStringField(value: self.templateID, fieldNumber: 2) - } - if self.sharedToSystem != false { - try visitor.visitSingularBoolField(value: self.sharedToSystem, fieldNumber: 3) - } - if !self.campfireID.isEmpty { - try visitor.visitSingularStringField(value: self.campfireID, fieldNumber: 4) - } - if self.timeSinceCaughtSeconds != 0 { - try visitor.visitSingularInt32Field(value: self.timeSinceCaughtSeconds, fieldNumber: 5) - } - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 6) - } - if self.shiny != false { - try visitor.visitSingularBoolField(value: self.shiny, fieldNumber: 7) - } - if self.form != .unset { - try visitor.visitSingularEnumField(value: self.form, fieldNumber: 8) - } - if self.costume != .unset { - try visitor.visitSingularEnumField(value: self.costume, fieldNumber: 9) - } - if self.individualAttack != 0 { - try visitor.visitSingularInt32Field(value: self.individualAttack, fieldNumber: 10) - } - if self.individualDefense != 0 { - try visitor.visitSingularInt32Field(value: self.individualDefense, fieldNumber: 11) - } - if self.individualStamina != 0 { - try visitor.visitSingularInt32Field(value: self.individualStamina, fieldNumber: 12) + if self.activityCategory != .buddyCategoryUnset { + try visitor.visitSingularEnumField(value: self.activityCategory, fieldNumber: 1) } - if self.alignment != .unset { - try visitor.visitSingularEnumField(value: self.alignment, fieldNumber: 13) + if self.maxPointsPerDay != 0 { + try visitor.visitSingularInt32Field(value: self.maxPointsPerDay, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CatchCardTelemetry, rhs: CatchCardTelemetry) -> Bool { - if lhs.photoType != rhs.photoType {return false} - if lhs.templateID != rhs.templateID {return false} - if lhs.sharedToSystem != rhs.sharedToSystem {return false} - if lhs.campfireID != rhs.campfireID {return false} - if lhs.timeSinceCaughtSeconds != rhs.timeSinceCaughtSeconds {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.shiny != rhs.shiny {return false} - if lhs.form != rhs.form {return false} - if lhs.costume != rhs.costume {return false} - if lhs.individualAttack != rhs.individualAttack {return false} - if lhs.individualDefense != rhs.individualDefense {return false} - if lhs.individualStamina != rhs.individualStamina {return false} - if lhs.alignment != rhs.alignment {return false} + public static func ==(lhs: BuddyActivityCategorySettings, rhs: BuddyActivityCategorySettings) -> Bool { + if lhs.activityCategory != rhs.activityCategory {return false} + if lhs.maxPointsPerDay != rhs.maxPointsPerDay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CatchCardTelemetry.PhotoType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "DEFAULT"), - 2: .same(proto: "AR_CLASSIC"), - 3: .same(proto: "AR_PLUS"), - ] -} - -extension CatchPokemonGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CatchPokemonGlobalSettingsProto" +extension BuddyActivitySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyActivitySettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_capture_origin_details_display"), - 2: .standard(proto: "enable_capture_origin_events_display"), + 1: .same(proto: "activity"), + 2: .standard(proto: "activity_category"), + 3: .standard(proto: "max_times_per_day"), + 4: .standard(proto: "num_points_per_action"), + 5: .standard(proto: "num_emotion_points_per_action"), + 6: .standard(proto: "emotion_cooldown_duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175895,40 +180508,55 @@ extension CatchPokemonGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableCaptureOriginDetailsDisplay) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.enableCaptureOriginEventsDisplay) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.activity) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.activityCategory) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxTimesPerDay) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.numPointsPerAction) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.numEmotionPointsPerAction) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.emotionCooldownDurationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableCaptureOriginDetailsDisplay != false { - try visitor.visitSingularBoolField(value: self.enableCaptureOriginDetailsDisplay, fieldNumber: 1) + if self.activity != .unset { + try visitor.visitSingularEnumField(value: self.activity, fieldNumber: 1) } - if self.enableCaptureOriginEventsDisplay != false { - try visitor.visitSingularBoolField(value: self.enableCaptureOriginEventsDisplay, fieldNumber: 2) + if self.activityCategory != .buddyCategoryUnset { + try visitor.visitSingularEnumField(value: self.activityCategory, fieldNumber: 2) + } + if self.maxTimesPerDay != 0 { + try visitor.visitSingularInt32Field(value: self.maxTimesPerDay, fieldNumber: 3) + } + if self.numPointsPerAction != 0 { + try visitor.visitSingularInt32Field(value: self.numPointsPerAction, fieldNumber: 4) + } + if self.numEmotionPointsPerAction != 0 { + try visitor.visitSingularInt32Field(value: self.numEmotionPointsPerAction, fieldNumber: 5) + } + if self.emotionCooldownDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.emotionCooldownDurationMs, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CatchPokemonGlobalSettingsProto, rhs: CatchPokemonGlobalSettingsProto) -> Bool { - if lhs.enableCaptureOriginDetailsDisplay != rhs.enableCaptureOriginDetailsDisplay {return false} - if lhs.enableCaptureOriginEventsDisplay != rhs.enableCaptureOriginEventsDisplay {return false} + public static func ==(lhs: BuddyActivitySettings, rhs: BuddyActivitySettings) -> Bool { + if lhs.activity != rhs.activity {return false} + if lhs.activityCategory != rhs.activityCategory {return false} + if lhs.maxTimesPerDay != rhs.maxTimesPerDay {return false} + if lhs.numPointsPerAction != rhs.numPointsPerAction {return false} + if lhs.numEmotionPointsPerAction != rhs.numEmotionPointsPerAction {return false} + if lhs.emotionCooldownDurationMs != rhs.emotionCooldownDurationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CatchPokemonLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CatchPokemonLogEntry" +extension BuddyConsumablesLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyConsumablesLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "pokedex_number"), - 3: .standard(proto: "combat_points"), - 4: .standard(proto: "pokemon_id"), - 5: .standard(proto: "pokemon_display"), - 6: .same(proto: "items"), + 1: .same(proto: "rewards"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -175937,12 +180565,7 @@ extension CatchPokemonLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokedexNumber) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.combatPoints) }() - case 4: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.items) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() default: break } } @@ -175953,90 +180576,163 @@ extension CatchPokemonLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.pokedexNumber != 0 { - try visitor.visitSingularInt32Field(value: self.pokedexNumber, fieldNumber: 2) - } - if self.combatPoints != 0 { - try visitor.visitSingularInt32Field(value: self.combatPoints, fieldNumber: 3) - } - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 4) - } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + try { if let v = self._rewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if !self.items.isEmpty { - try visitor.visitRepeatedMessageField(value: self.items, fieldNumber: 6) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CatchPokemonLogEntry, rhs: CatchPokemonLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.pokedexNumber != rhs.pokedexNumber {return false} - if lhs.combatPoints != rhs.combatPoints {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} - if lhs.items != rhs.items {return false} + public static func ==(lhs: BuddyConsumablesLogEntry, rhs: BuddyConsumablesLogEntry) -> Bool { + if lhs._rewards != rhs._rewards {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CatchPokemonLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "POKEMON_CAPTURED"), - 2: .same(proto: "POKEMON_FLED"), - 3: .same(proto: "POKEMON_HATCHED"), - ] -} - -extension CatchPokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CatchPokemonOutProto" +extension BuddyDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "miss_percent"), - 3: .standard(proto: "captured_pokemon_id"), - 4: .same(proto: "scores"), - 5: .standard(proto: "capture_reason"), - 6: .standard(proto: "display_pokedex_id"), - 7: .standard(proto: "throws_remaining"), - 8: .standard(proto: "pokemon_display_1"), - 9: .standard(proto: "pokemon_display_2"), - 10: .same(proto: "rewards"), + 1: .standard(proto: "buddy_pokemon_id"), + 2: .standard(proto: "current_points_earned"), + 3: .standard(proto: "highest_points_earned"), + 4: .standard(proto: "last_reached_full_ms"), + 5: .standard(proto: "last_groomed_ms"), + 7: .standard(proto: "map_expiration_ms"), + 12: .standard(proto: "km_candy_pending"), + 15: .standard(proto: "buddy_gift_picked_up"), + 18: .standard(proto: "current_emotion_points"), + 19: .standard(proto: "daily_activity_counters"), + 20: .standard(proto: "daily_category_counters"), + 21: .standard(proto: "stats_today"), + 22: .standard(proto: "stats_total"), + 23: .standard(proto: "souvenirs_collected"), + 24: .standard(proto: "current_hunger_points"), + 25: .standard(proto: "interaction_expiration_ms"), + 26: .standard(proto: "poffin_feeding_expiration_ms"), + 27: .standard(proto: "last_affection_or_emotion_awarded_km"), + 28: .standard(proto: "last_set_timestamp_ms"), + 29: .standard(proto: "last_unset_timestamp_ms"), + 30: .same(proto: "ditched"), + 31: .standard(proto: "pokemon_display"), + 32: .standard(proto: "hatched_from_egg"), + 33: .same(proto: "nickname"), + 34: .standard(proto: "captured_s2_cell_id"), + 35: .standard(proto: "pokedex_entry_number"), + 36: .standard(proto: "creation_timestamp_ms"), + 37: .same(proto: "pokeball"), + 38: .standard(proto: "num_days_spent_with_buddy"), + 39: .standard(proto: "original_owner_nickname"), + 40: .standard(proto: "traded_time_ms"), + 41: .standard(proto: "attractive_poi_id"), + 42: .standard(proto: "attractive_poi_time_generated"), + 43: .standard(proto: "attractive_poi_cooldown_ms"), + 44: .standard(proto: "attractive_poi_visited"), + 45: .standard(proto: "berry_cooldown_ms"), + 46: .standard(proto: "activity_emotion_last_increment_ms"), + 47: .same(proto: "window"), + 48: .standard(proto: "last_fed_ms"), + 49: .standard(proto: "last_window_buddy_on_map"), + 50: .standard(proto: "last_window_fed_poffin"), + 51: .standard(proto: "yatta_expiration_ms"), + 52: .standard(proto: "hunger_points"), + 56: .standard(proto: "fort_spins"), ] fileprivate class _StorageClass { - var _status: CatchPokemonOutProto.Status = .catchError - var _missPercent: Double = 0 - var _capturedPokemonID: UInt64 = 0 - var _scores: CaptureScoreProto? = nil - var _captureReason: CatchPokemonOutProto.CaptureReason = .unset - var _displayPokedexID: HoloPokemonId = .missingno - var _throwsRemaining: Int32 = 0 - var _pokemonDisplay1: PokemonDisplayProto? = nil - var _pokemonDisplay2: PokemonDisplayProto? = nil - var _rewards: LootProto? = nil + var _buddyPokemonID: UInt64 = 0 + var _currentPointsEarned: Int32 = 0 + var _highestPointsEarned: Int32 = 0 + var _lastReachedFullMs: Int64 = 0 + var _lastGroomedMs: Int64 = 0 + var _mapExpirationMs: Int64 = 0 + var _kmCandyPending: Float = 0 + var _buddyGiftPickedUp: BuddyGiftProto? = nil + var _currentEmotionPoints: Int32 = 0 + var _dailyActivityCounters: Dictionary = [:] + var _dailyCategoryCounters: Dictionary = [:] + var _statsToday: BuddyDataProto.BuddyStoredStats? = nil + var _statsTotal: BuddyDataProto.BuddyStoredStats? = nil + var _souvenirsCollected: Dictionary = [:] + var _currentHungerPoints: Int32 = 0 + var _interactionExpirationMs: Int64 = 0 + var _poffinFeedingExpirationMs: Int64 = 0 + var _lastAffectionOrEmotionAwardedKm: Float = 0 + var _lastSetTimestampMs: Int64 = 0 + var _lastUnsetTimestampMs: Int64 = 0 + var _ditched: Bool = false + var _pokemonDisplay: PokemonDisplayProto? = nil + var _hatchedFromEgg: Bool = false + var _nickname: String = String() + var _capturedS2CellID: Int64 = 0 + var _pokedexEntryNumber: HoloPokemonId = .missingno + var _creationTimestampMs: Int64 = 0 + var _pokeball: Item = .unknown + var _numDaysSpentWithBuddy: Int32 = 0 + var _originalOwnerNickname: String = String() + var _tradedTimeMs: Int64 = 0 + var _attractivePoiID: String = String() + var _attractivePoiTimeGenerated: Int64 = 0 + var _attractivePoiCooldownMs: Int64 = 0 + var _attractivePoiVisited: Bool = false + var _berryCooldownMs: Int64 = 0 + var _activityEmotionLastIncrementMs: Dictionary = [:] + var _window: Int64 = 0 + var _lastFedMs: Int64 = 0 + var _lastWindowBuddyOnMap: Int32 = 0 + var _lastWindowFedPoffin: Int32 = 0 + var _yattaExpirationMs: Int64 = 0 + var _hungerPoints: Float = 0 + var _fortSpins: Dictionary = [:] static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _status = source._status - _missPercent = source._missPercent - _capturedPokemonID = source._capturedPokemonID - _scores = source._scores - _captureReason = source._captureReason - _displayPokedexID = source._displayPokedexID - _throwsRemaining = source._throwsRemaining - _pokemonDisplay1 = source._pokemonDisplay1 - _pokemonDisplay2 = source._pokemonDisplay2 - _rewards = source._rewards + _buddyPokemonID = source._buddyPokemonID + _currentPointsEarned = source._currentPointsEarned + _highestPointsEarned = source._highestPointsEarned + _lastReachedFullMs = source._lastReachedFullMs + _lastGroomedMs = source._lastGroomedMs + _mapExpirationMs = source._mapExpirationMs + _kmCandyPending = source._kmCandyPending + _buddyGiftPickedUp = source._buddyGiftPickedUp + _currentEmotionPoints = source._currentEmotionPoints + _dailyActivityCounters = source._dailyActivityCounters + _dailyCategoryCounters = source._dailyCategoryCounters + _statsToday = source._statsToday + _statsTotal = source._statsTotal + _souvenirsCollected = source._souvenirsCollected + _currentHungerPoints = source._currentHungerPoints + _interactionExpirationMs = source._interactionExpirationMs + _poffinFeedingExpirationMs = source._poffinFeedingExpirationMs + _lastAffectionOrEmotionAwardedKm = source._lastAffectionOrEmotionAwardedKm + _lastSetTimestampMs = source._lastSetTimestampMs + _lastUnsetTimestampMs = source._lastUnsetTimestampMs + _ditched = source._ditched + _pokemonDisplay = source._pokemonDisplay + _hatchedFromEgg = source._hatchedFromEgg + _nickname = source._nickname + _capturedS2CellID = source._capturedS2CellID + _pokedexEntryNumber = source._pokedexEntryNumber + _creationTimestampMs = source._creationTimestampMs + _pokeball = source._pokeball + _numDaysSpentWithBuddy = source._numDaysSpentWithBuddy + _originalOwnerNickname = source._originalOwnerNickname + _tradedTimeMs = source._tradedTimeMs + _attractivePoiID = source._attractivePoiID + _attractivePoiTimeGenerated = source._attractivePoiTimeGenerated + _attractivePoiCooldownMs = source._attractivePoiCooldownMs + _attractivePoiVisited = source._attractivePoiVisited + _berryCooldownMs = source._berryCooldownMs + _activityEmotionLastIncrementMs = source._activityEmotionLastIncrementMs + _window = source._window + _lastFedMs = source._lastFedMs + _lastWindowBuddyOnMap = source._lastWindowBuddyOnMap + _lastWindowFedPoffin = source._lastWindowFedPoffin + _yattaExpirationMs = source._yattaExpirationMs + _hungerPoints = source._hungerPoints + _fortSpins = source._fortSpins } } @@ -176055,16 +180751,50 @@ extension CatchPokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._status) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &_storage._missPercent) }() - case 3: try { try decoder.decodeSingularFixed64Field(value: &_storage._capturedPokemonID) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._scores) }() - case 5: try { try decoder.decodeSingularEnumField(value: &_storage._captureReason) }() - case 6: try { try decoder.decodeSingularEnumField(value: &_storage._displayPokedexID) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._throwsRemaining) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay1) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay2) }() - case 10: try { try decoder.decodeSingularMessageField(value: &_storage._rewards) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &_storage._buddyPokemonID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._currentPointsEarned) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._highestPointsEarned) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._lastReachedFullMs) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._lastGroomedMs) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._mapExpirationMs) }() + case 12: try { try decoder.decodeSingularFloatField(value: &_storage._kmCandyPending) }() + case 15: try { try decoder.decodeSingularMessageField(value: &_storage._buddyGiftPickedUp) }() + case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._currentEmotionPoints) }() + case 19: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._dailyActivityCounters) }() + case 20: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._dailyCategoryCounters) }() + case 21: try { try decoder.decodeSingularMessageField(value: &_storage._statsToday) }() + case 22: try { try decoder.decodeSingularMessageField(value: &_storage._statsTotal) }() + case 23: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._souvenirsCollected) }() + case 24: try { try decoder.decodeSingularInt32Field(value: &_storage._currentHungerPoints) }() + case 25: try { try decoder.decodeSingularInt64Field(value: &_storage._interactionExpirationMs) }() + case 26: try { try decoder.decodeSingularInt64Field(value: &_storage._poffinFeedingExpirationMs) }() + case 27: try { try decoder.decodeSingularFloatField(value: &_storage._lastAffectionOrEmotionAwardedKm) }() + case 28: try { try decoder.decodeSingularInt64Field(value: &_storage._lastSetTimestampMs) }() + case 29: try { try decoder.decodeSingularInt64Field(value: &_storage._lastUnsetTimestampMs) }() + case 30: try { try decoder.decodeSingularBoolField(value: &_storage._ditched) }() + case 31: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay) }() + case 32: try { try decoder.decodeSingularBoolField(value: &_storage._hatchedFromEgg) }() + case 33: try { try decoder.decodeSingularStringField(value: &_storage._nickname) }() + case 34: try { try decoder.decodeSingularInt64Field(value: &_storage._capturedS2CellID) }() + case 35: try { try decoder.decodeSingularEnumField(value: &_storage._pokedexEntryNumber) }() + case 36: try { try decoder.decodeSingularInt64Field(value: &_storage._creationTimestampMs) }() + case 37: try { try decoder.decodeSingularEnumField(value: &_storage._pokeball) }() + case 38: try { try decoder.decodeSingularInt32Field(value: &_storage._numDaysSpentWithBuddy) }() + case 39: try { try decoder.decodeSingularStringField(value: &_storage._originalOwnerNickname) }() + case 40: try { try decoder.decodeSingularInt64Field(value: &_storage._tradedTimeMs) }() + case 41: try { try decoder.decodeSingularStringField(value: &_storage._attractivePoiID) }() + case 42: try { try decoder.decodeSingularInt64Field(value: &_storage._attractivePoiTimeGenerated) }() + case 43: try { try decoder.decodeSingularInt64Field(value: &_storage._attractivePoiCooldownMs) }() + case 44: try { try decoder.decodeSingularBoolField(value: &_storage._attractivePoiVisited) }() + case 45: try { try decoder.decodeSingularInt64Field(value: &_storage._berryCooldownMs) }() + case 46: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &_storage._activityEmotionLastIncrementMs) }() + case 47: try { try decoder.decodeSingularInt64Field(value: &_storage._window) }() + case 48: try { try decoder.decodeSingularInt64Field(value: &_storage._lastFedMs) }() + case 49: try { try decoder.decodeSingularInt32Field(value: &_storage._lastWindowBuddyOnMap) }() + case 50: try { try decoder.decodeSingularInt32Field(value: &_storage._lastWindowFedPoffin) }() + case 51: try { try decoder.decodeSingularInt64Field(value: &_storage._yattaExpirationMs) }() + case 52: try { try decoder.decodeSingularFloatField(value: &_storage._hungerPoints) }() + case 56: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._fortSpins) }() default: break } } @@ -176077,55 +180807,191 @@ extension CatchPokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._status != .catchError { - try visitor.visitSingularEnumField(value: _storage._status, fieldNumber: 1) + if _storage._buddyPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._buddyPokemonID, fieldNumber: 1) } - if _storage._missPercent != 0 { - try visitor.visitSingularDoubleField(value: _storage._missPercent, fieldNumber: 2) + if _storage._currentPointsEarned != 0 { + try visitor.visitSingularInt32Field(value: _storage._currentPointsEarned, fieldNumber: 2) } - if _storage._capturedPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._capturedPokemonID, fieldNumber: 3) + if _storage._highestPointsEarned != 0 { + try visitor.visitSingularInt32Field(value: _storage._highestPointsEarned, fieldNumber: 3) } - try { if let v = _storage._scores { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + if _storage._lastReachedFullMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastReachedFullMs, fieldNumber: 4) + } + if _storage._lastGroomedMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastGroomedMs, fieldNumber: 5) + } + if _storage._mapExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._mapExpirationMs, fieldNumber: 7) + } + if _storage._kmCandyPending != 0 { + try visitor.visitSingularFloatField(value: _storage._kmCandyPending, fieldNumber: 12) + } + try { if let v = _storage._buddyGiftPickedUp { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) } }() - if _storage._captureReason != .unset { - try visitor.visitSingularEnumField(value: _storage._captureReason, fieldNumber: 5) + if _storage._currentEmotionPoints != 0 { + try visitor.visitSingularInt32Field(value: _storage._currentEmotionPoints, fieldNumber: 18) } - if _storage._displayPokedexID != .missingno { - try visitor.visitSingularEnumField(value: _storage._displayPokedexID, fieldNumber: 6) + if !_storage._dailyActivityCounters.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._dailyActivityCounters, fieldNumber: 19) } - if _storage._throwsRemaining != 0 { - try visitor.visitSingularInt32Field(value: _storage._throwsRemaining, fieldNumber: 7) + if !_storage._dailyCategoryCounters.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._dailyCategoryCounters, fieldNumber: 20) } - try { if let v = _storage._pokemonDisplay1 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + try { if let v = _storage._statsToday { + try visitor.visitSingularMessageField(value: v, fieldNumber: 21) } }() - try { if let v = _storage._pokemonDisplay2 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + try { if let v = _storage._statsTotal { + try visitor.visitSingularMessageField(value: v, fieldNumber: 22) } }() - try { if let v = _storage._rewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + if !_storage._souvenirsCollected.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._souvenirsCollected, fieldNumber: 23) + } + if _storage._currentHungerPoints != 0 { + try visitor.visitSingularInt32Field(value: _storage._currentHungerPoints, fieldNumber: 24) + } + if _storage._interactionExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._interactionExpirationMs, fieldNumber: 25) + } + if _storage._poffinFeedingExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._poffinFeedingExpirationMs, fieldNumber: 26) + } + if _storage._lastAffectionOrEmotionAwardedKm != 0 { + try visitor.visitSingularFloatField(value: _storage._lastAffectionOrEmotionAwardedKm, fieldNumber: 27) + } + if _storage._lastSetTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastSetTimestampMs, fieldNumber: 28) + } + if _storage._lastUnsetTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastUnsetTimestampMs, fieldNumber: 29) + } + if _storage._ditched != false { + try visitor.visitSingularBoolField(value: _storage._ditched, fieldNumber: 30) + } + try { if let v = _storage._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 31) } }() + if _storage._hatchedFromEgg != false { + try visitor.visitSingularBoolField(value: _storage._hatchedFromEgg, fieldNumber: 32) + } + if !_storage._nickname.isEmpty { + try visitor.visitSingularStringField(value: _storage._nickname, fieldNumber: 33) + } + if _storage._capturedS2CellID != 0 { + try visitor.visitSingularInt64Field(value: _storage._capturedS2CellID, fieldNumber: 34) + } + if _storage._pokedexEntryNumber != .missingno { + try visitor.visitSingularEnumField(value: _storage._pokedexEntryNumber, fieldNumber: 35) + } + if _storage._creationTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._creationTimestampMs, fieldNumber: 36) + } + if _storage._pokeball != .unknown { + try visitor.visitSingularEnumField(value: _storage._pokeball, fieldNumber: 37) + } + if _storage._numDaysSpentWithBuddy != 0 { + try visitor.visitSingularInt32Field(value: _storage._numDaysSpentWithBuddy, fieldNumber: 38) + } + if !_storage._originalOwnerNickname.isEmpty { + try visitor.visitSingularStringField(value: _storage._originalOwnerNickname, fieldNumber: 39) + } + if _storage._tradedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._tradedTimeMs, fieldNumber: 40) + } + if !_storage._attractivePoiID.isEmpty { + try visitor.visitSingularStringField(value: _storage._attractivePoiID, fieldNumber: 41) + } + if _storage._attractivePoiTimeGenerated != 0 { + try visitor.visitSingularInt64Field(value: _storage._attractivePoiTimeGenerated, fieldNumber: 42) + } + if _storage._attractivePoiCooldownMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._attractivePoiCooldownMs, fieldNumber: 43) + } + if _storage._attractivePoiVisited != false { + try visitor.visitSingularBoolField(value: _storage._attractivePoiVisited, fieldNumber: 44) + } + if _storage._berryCooldownMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._berryCooldownMs, fieldNumber: 45) + } + if !_storage._activityEmotionLastIncrementMs.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: _storage._activityEmotionLastIncrementMs, fieldNumber: 46) + } + if _storage._window != 0 { + try visitor.visitSingularInt64Field(value: _storage._window, fieldNumber: 47) + } + if _storage._lastFedMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastFedMs, fieldNumber: 48) + } + if _storage._lastWindowBuddyOnMap != 0 { + try visitor.visitSingularInt32Field(value: _storage._lastWindowBuddyOnMap, fieldNumber: 49) + } + if _storage._lastWindowFedPoffin != 0 { + try visitor.visitSingularInt32Field(value: _storage._lastWindowFedPoffin, fieldNumber: 50) + } + if _storage._yattaExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._yattaExpirationMs, fieldNumber: 51) + } + if _storage._hungerPoints != 0 { + try visitor.visitSingularFloatField(value: _storage._hungerPoints, fieldNumber: 52) + } + if !_storage._fortSpins.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._fortSpins, fieldNumber: 56) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CatchPokemonOutProto, rhs: CatchPokemonOutProto) -> Bool { + public static func ==(lhs: BuddyDataProto, rhs: BuddyDataProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._status != rhs_storage._status {return false} - if _storage._missPercent != rhs_storage._missPercent {return false} - if _storage._capturedPokemonID != rhs_storage._capturedPokemonID {return false} - if _storage._scores != rhs_storage._scores {return false} - if _storage._captureReason != rhs_storage._captureReason {return false} - if _storage._displayPokedexID != rhs_storage._displayPokedexID {return false} - if _storage._throwsRemaining != rhs_storage._throwsRemaining {return false} - if _storage._pokemonDisplay1 != rhs_storage._pokemonDisplay1 {return false} - if _storage._pokemonDisplay2 != rhs_storage._pokemonDisplay2 {return false} - if _storage._rewards != rhs_storage._rewards {return false} + if _storage._buddyPokemonID != rhs_storage._buddyPokemonID {return false} + if _storage._currentPointsEarned != rhs_storage._currentPointsEarned {return false} + if _storage._highestPointsEarned != rhs_storage._highestPointsEarned {return false} + if _storage._lastReachedFullMs != rhs_storage._lastReachedFullMs {return false} + if _storage._lastGroomedMs != rhs_storage._lastGroomedMs {return false} + if _storage._mapExpirationMs != rhs_storage._mapExpirationMs {return false} + if _storage._kmCandyPending != rhs_storage._kmCandyPending {return false} + if _storage._buddyGiftPickedUp != rhs_storage._buddyGiftPickedUp {return false} + if _storage._currentEmotionPoints != rhs_storage._currentEmotionPoints {return false} + if _storage._dailyActivityCounters != rhs_storage._dailyActivityCounters {return false} + if _storage._dailyCategoryCounters != rhs_storage._dailyCategoryCounters {return false} + if _storage._statsToday != rhs_storage._statsToday {return false} + if _storage._statsTotal != rhs_storage._statsTotal {return false} + if _storage._souvenirsCollected != rhs_storage._souvenirsCollected {return false} + if _storage._currentHungerPoints != rhs_storage._currentHungerPoints {return false} + if _storage._interactionExpirationMs != rhs_storage._interactionExpirationMs {return false} + if _storage._poffinFeedingExpirationMs != rhs_storage._poffinFeedingExpirationMs {return false} + if _storage._lastAffectionOrEmotionAwardedKm != rhs_storage._lastAffectionOrEmotionAwardedKm {return false} + if _storage._lastSetTimestampMs != rhs_storage._lastSetTimestampMs {return false} + if _storage._lastUnsetTimestampMs != rhs_storage._lastUnsetTimestampMs {return false} + if _storage._ditched != rhs_storage._ditched {return false} + if _storage._pokemonDisplay != rhs_storage._pokemonDisplay {return false} + if _storage._hatchedFromEgg != rhs_storage._hatchedFromEgg {return false} + if _storage._nickname != rhs_storage._nickname {return false} + if _storage._capturedS2CellID != rhs_storage._capturedS2CellID {return false} + if _storage._pokedexEntryNumber != rhs_storage._pokedexEntryNumber {return false} + if _storage._creationTimestampMs != rhs_storage._creationTimestampMs {return false} + if _storage._pokeball != rhs_storage._pokeball {return false} + if _storage._numDaysSpentWithBuddy != rhs_storage._numDaysSpentWithBuddy {return false} + if _storage._originalOwnerNickname != rhs_storage._originalOwnerNickname {return false} + if _storage._tradedTimeMs != rhs_storage._tradedTimeMs {return false} + if _storage._attractivePoiID != rhs_storage._attractivePoiID {return false} + if _storage._attractivePoiTimeGenerated != rhs_storage._attractivePoiTimeGenerated {return false} + if _storage._attractivePoiCooldownMs != rhs_storage._attractivePoiCooldownMs {return false} + if _storage._attractivePoiVisited != rhs_storage._attractivePoiVisited {return false} + if _storage._berryCooldownMs != rhs_storage._berryCooldownMs {return false} + if _storage._activityEmotionLastIncrementMs != rhs_storage._activityEmotionLastIncrementMs {return false} + if _storage._window != rhs_storage._window {return false} + if _storage._lastFedMs != rhs_storage._lastFedMs {return false} + if _storage._lastWindowBuddyOnMap != rhs_storage._lastWindowBuddyOnMap {return false} + if _storage._lastWindowFedPoffin != rhs_storage._lastWindowFedPoffin {return false} + if _storage._yattaExpirationMs != rhs_storage._yattaExpirationMs {return false} + if _storage._hungerPoints != rhs_storage._hungerPoints {return false} + if _storage._fortSpins != rhs_storage._fortSpins {return false} return true } if !storagesAreEqual {return false} @@ -176135,36 +181001,43 @@ extension CatchPokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } } -extension CatchPokemonOutProto.CaptureReason: SwiftProtobuf._ProtoNameProviding { +extension BuddyDataProto.BuddySpinMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BuddyDataProto.protoMessageName + ".BuddySpinMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "DEFAULT"), - 2: .same(proto: "ELEMENTAL_BADGE"), - 3: .same(proto: "CRITICAL_CATCH"), + 1: .standard(proto: "next_power_up_bonus_available_ms"), ] -} -extension CatchPokemonOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CATCH_ERROR"), - 1: .same(proto: "CATCH_SUCCESS"), - 2: .same(proto: "CATCH_ESCAPE"), - 3: .same(proto: "CATCH_FLEE"), - 4: .same(proto: "CATCH_MISSED"), - ] + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.nextPowerUpBonusAvailableMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.nextPowerUpBonusAvailableMs != 0 { + try visitor.visitSingularInt64Field(value: self.nextPowerUpBonusAvailableMs, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: BuddyDataProto.BuddySpinMetadata, rhs: BuddyDataProto.BuddySpinMetadata) -> Bool { + if lhs.nextPowerUpBonusAvailableMs != rhs.nextPowerUpBonusAvailableMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension CatchPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CatchPokemonProto" +extension BuddyDataProto.BuddyStoredStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BuddyDataProto.protoMessageName + ".BuddyStoredStats" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "encounter_id"), - 2: .same(proto: "pokeball"), - 3: .standard(proto: "normalized_reticle_size"), - 4: .standard(proto: "spawn_point_guid"), - 5: .standard(proto: "hit_pokemon"), - 6: .standard(proto: "spin_modifier"), - 7: .standard(proto: "normalized_hit_position"), - 8: .standard(proto: "ar_plus_values"), + 1: .same(proto: "window"), + 2: .standard(proto: "buddy_stats"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176173,70 +181046,38 @@ extension CatchPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.pokeball) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.normalizedReticleSize) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.spawnPointGuid) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.hitPokemon) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.spinModifier) }() - case 7: try { try decoder.decodeSingularDoubleField(value: &self.normalizedHitPosition) }() - case 8: try { try decoder.decodeSingularMessageField(value: &self._arPlusValues) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.window) }() + case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.buddyStats) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) - } - if self.pokeball != .unknown { - try visitor.visitSingularEnumField(value: self.pokeball, fieldNumber: 2) - } - if self.normalizedReticleSize != 0 { - try visitor.visitSingularDoubleField(value: self.normalizedReticleSize, fieldNumber: 3) - } - if !self.spawnPointGuid.isEmpty { - try visitor.visitSingularStringField(value: self.spawnPointGuid, fieldNumber: 4) - } - if self.hitPokemon != false { - try visitor.visitSingularBoolField(value: self.hitPokemon, fieldNumber: 5) - } - if self.spinModifier != 0 { - try visitor.visitSingularDoubleField(value: self.spinModifier, fieldNumber: 6) + if self.window != 0 { + try visitor.visitSingularInt64Field(value: self.window, fieldNumber: 1) } - if self.normalizedHitPosition != 0 { - try visitor.visitSingularDoubleField(value: self.normalizedHitPosition, fieldNumber: 7) + if !self.buddyStats.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.buddyStats, fieldNumber: 2) } - try { if let v = self._arPlusValues { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CatchPokemonProto, rhs: CatchPokemonProto) -> Bool { - if lhs.encounterID != rhs.encounterID {return false} - if lhs.pokeball != rhs.pokeball {return false} - if lhs.normalizedReticleSize != rhs.normalizedReticleSize {return false} - if lhs.spawnPointGuid != rhs.spawnPointGuid {return false} - if lhs.hitPokemon != rhs.hitPokemon {return false} - if lhs.spinModifier != rhs.spinModifier {return false} - if lhs.normalizedHitPosition != rhs.normalizedHitPosition {return false} - if lhs._arPlusValues != rhs._arPlusValues {return false} + public static func ==(lhs: BuddyDataProto.BuddyStoredStats, rhs: BuddyDataProto.BuddyStoredStats) -> Bool { + if lhs.window != rhs.window {return false} + if lhs.buddyStats != rhs.buddyStats {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CatchPokemonQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CatchPokemonQuestProto" +extension BuddyEmotionLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyEmotionLevelSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "unique_pokemon_id"), - 2: .standard(proto: "active_encounter_id"), + 1: .standard(proto: "emotion_level"), + 2: .standard(proto: "min_emotion_points_required"), + 3: .standard(proto: "emotion_animation"), + 4: .standard(proto: "decay_prevention_duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176245,40 +181086,49 @@ extension CatchPokemonQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.uniquePokemonID) }() - case 2: try { try decoder.decodeSingularFixed64Field(value: &self.activeEncounterID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.emotionLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minEmotionPointsRequired) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.emotionAnimation) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.decayPreventionDurationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.uniquePokemonID.isEmpty { - try visitor.visitPackedEnumField(value: self.uniquePokemonID, fieldNumber: 1) + if self.emotionLevel != .unset { + try visitor.visitSingularEnumField(value: self.emotionLevel, fieldNumber: 1) } - if self.activeEncounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.activeEncounterID, fieldNumber: 2) + if self.minEmotionPointsRequired != 0 { + try visitor.visitSingularInt32Field(value: self.minEmotionPointsRequired, fieldNumber: 2) + } + if self.emotionAnimation != .unset { + try visitor.visitSingularEnumField(value: self.emotionAnimation, fieldNumber: 3) + } + if self.decayPreventionDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.decayPreventionDurationMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CatchPokemonQuestProto, rhs: CatchPokemonQuestProto) -> Bool { - if lhs.uniquePokemonID != rhs.uniquePokemonID {return false} - if lhs.activeEncounterID != rhs.activeEncounterID {return false} + public static func ==(lhs: BuddyEmotionLevelSettings, rhs: BuddyEmotionLevelSettings) -> Bool { + if lhs.emotionLevel != rhs.emotionLevel {return false} + if lhs.minEmotionPointsRequired != rhs.minEmotionPointsRequired {return false} + if lhs.emotionAnimation != rhs.emotionAnimation {return false} + if lhs.decayPreventionDurationMs != rhs.decayPreventionDurationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CatchPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CatchPokemonTelemetry" +extension BuddyEncounterCameoSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyEncounterCameoSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "encounter_pokemon_telemetry"), - 3: .same(proto: "balltype"), - 4: .standard(proto: "hit_grade"), - 5: .standard(proto: "curve_ball"), - 6: .standard(proto: "miss_percent"), + 1: .standard(proto: "buddy_wild_encounter_cameo_chance_percent"), + 2: .standard(proto: "buddy_quest_encounter_cameo_chance_percent"), + 3: .standard(proto: "buddy_raid_encounter_cameo_chance_percent"), + 4: .standard(proto: "buddy_invasion_encounter_cameo_chance_percent"), + 5: .standard(proto: "buddy_on_map_required"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176287,59 +181137,55 @@ extension CatchPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._encounterPokemonTelemetry) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.balltype) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.hitGrade) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.curveBall) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.missPercent) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.buddyWildEncounterCameoChancePercent) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.buddyQuestEncounterCameoChancePercent) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.buddyRaidEncounterCameoChancePercent) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.buddyInvasionEncounterCameoChancePercent) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.buddyOnMapRequired) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.status.isEmpty { - try visitor.visitSingularStringField(value: self.status, fieldNumber: 1) + if self.buddyWildEncounterCameoChancePercent != 0 { + try visitor.visitSingularFloatField(value: self.buddyWildEncounterCameoChancePercent, fieldNumber: 1) } - try { if let v = self._encounterPokemonTelemetry { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.balltype != .unknown { - try visitor.visitSingularEnumField(value: self.balltype, fieldNumber: 3) + if self.buddyQuestEncounterCameoChancePercent != 0 { + try visitor.visitSingularFloatField(value: self.buddyQuestEncounterCameoChancePercent, fieldNumber: 2) } - if self.hitGrade != 0 { - try visitor.visitSingularInt32Field(value: self.hitGrade, fieldNumber: 4) + if self.buddyRaidEncounterCameoChancePercent != 0 { + try visitor.visitSingularFloatField(value: self.buddyRaidEncounterCameoChancePercent, fieldNumber: 3) } - if self.curveBall != false { - try visitor.visitSingularBoolField(value: self.curveBall, fieldNumber: 5) + if self.buddyInvasionEncounterCameoChancePercent != 0 { + try visitor.visitSingularFloatField(value: self.buddyInvasionEncounterCameoChancePercent, fieldNumber: 4) } - if self.missPercent != 0 { - try visitor.visitSingularDoubleField(value: self.missPercent, fieldNumber: 6) + if self.buddyOnMapRequired != false { + try visitor.visitSingularBoolField(value: self.buddyOnMapRequired, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CatchPokemonTelemetry, rhs: CatchPokemonTelemetry) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._encounterPokemonTelemetry != rhs._encounterPokemonTelemetry {return false} - if lhs.balltype != rhs.balltype {return false} - if lhs.hitGrade != rhs.hitGrade {return false} - if lhs.curveBall != rhs.curveBall {return false} - if lhs.missPercent != rhs.missPercent {return false} + public static func ==(lhs: BuddyEncounterCameoSettings, rhs: BuddyEncounterCameoSettings) -> Bool { + if lhs.buddyWildEncounterCameoChancePercent != rhs.buddyWildEncounterCameoChancePercent {return false} + if lhs.buddyQuestEncounterCameoChancePercent != rhs.buddyQuestEncounterCameoChancePercent {return false} + if lhs.buddyRaidEncounterCameoChancePercent != rhs.buddyRaidEncounterCameoChancePercent {return false} + if lhs.buddyInvasionEncounterCameoChancePercent != rhs.buddyInvasionEncounterCameoChancePercent {return false} + if lhs.buddyOnMapRequired != rhs.buddyOnMapRequired {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CatchRadiusMultiplierSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CatchRadiusMultiplierSettingsProto" +extension BuddyEncounterHelpTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyEncounterHelpTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 1: .standard(proto: "pokemon_id"), + 2: .same(proto: "cp"), + 3: .standard(proto: "encounter_type"), + 4: .standard(proto: "ar_classic_enabled"), + 5: .standard(proto: "ar_plus_enabled"), + 6: .same(proto: "encounter"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176348,31 +181194,55 @@ extension CatchRadiusMultiplierSettingsProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.cp) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.encounterType) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.arClassicEnabled) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.arPlusEnabled) }() + case 6: try { try decoder.decodeSingularEnumField(value: &self.encounter) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) + } + if self.cp != 0 { + try visitor.visitSingularInt32Field(value: self.cp, fieldNumber: 2) + } + if !self.encounterType.isEmpty { + try visitor.visitSingularStringField(value: self.encounterType, fieldNumber: 3) + } + if self.arClassicEnabled != false { + try visitor.visitSingularBoolField(value: self.arClassicEnabled, fieldNumber: 4) + } + if self.arPlusEnabled != false { + try visitor.visitSingularBoolField(value: self.arPlusEnabled, fieldNumber: 5) + } + if self.encounter != .spawnPoint { + try visitor.visitSingularEnumField(value: self.encounter, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CatchRadiusMultiplierSettingsProto, rhs: CatchRadiusMultiplierSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: BuddyEncounterHelpTelemetry, rhs: BuddyEncounterHelpTelemetry) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.cp != rhs.cp {return false} + if lhs.encounterType != rhs.encounterType {return false} + if lhs.arClassicEnabled != rhs.arClassicEnabled {return false} + if lhs.arPlusEnabled != rhs.arPlusEnabled {return false} + if lhs.encounter != rhs.encounter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChallengeIdMismatchDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChallengeIdMismatchDataProto" +extension BuddyEvolutionWalkQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyEvolutionWalkQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .same(proto: "type"), + 1: .standard(proto: "last_km_recorded"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176381,35 +181251,32 @@ extension ChallengeIdMismatchDataProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.lastKmRecorded) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) - } - if self.type != .noType { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) + if self.lastKmRecorded != 0 { + try visitor.visitSingularFloatField(value: self.lastKmRecorded, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChallengeIdMismatchDataProto, rhs: ChallengeIdMismatchDataProto) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.type != rhs.type {return false} + public static func ==(lhs: BuddyEvolutionWalkQuestProto, rhs: BuddyEvolutionWalkQuestProto) -> Bool { + if lhs.lastKmRecorded != rhs.lastKmRecorded {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChallengeQuestsSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChallengeQuestsSectionProto" +extension BuddyFeedingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyFeedingOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_list"), + 1: .same(proto: "result"), + 3: .standard(proto: "observed_data"), + 4: .standard(proto: "shown_hearts"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176418,31 +181285,56 @@ extension ChallengeQuestsSectionProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.obStringList) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.shownHearts) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obStringList.isEmpty { - try visitor.visitRepeatedStringField(value: self.obStringList, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._observedData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.shownHearts != .buddyHeartUnset { + try visitor.visitSingularEnumField(value: self.shownHearts, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChallengeQuestsSectionProto, rhs: ChallengeQuestsSectionProto) -> Bool { - if lhs.obStringList != rhs.obStringList {return false} + public static func ==(lhs: BuddyFeedingOutProto, rhs: BuddyFeedingOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._observedData != rhs._observedData {return false} + if lhs.shownHearts != rhs.shownHearts {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChangeArTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChangeArTelemetry" +extension BuddyFeedingOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ar_enabled"), - 2: .standard(proto: "ar_plus_enabled"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_BUDDY_NOT_VALID"), + 3: .same(proto: "FAILED_INSUFFICIENT_RESOURCES"), + 4: .same(proto: "FAILED_INVALID_ITEM_REQUIREMENT"), + 5: .same(proto: "FAILED_BUDDY_STILL_FULL_FROM_POFFIN"), + ] +} + +extension BuddyFeedingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyFeedingProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "item"), + 2: .same(proto: "count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176451,35 +181343,36 @@ extension ChangeArTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.arEnabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.arPlusEnabled) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.arEnabled != false { - try visitor.visitSingularBoolField(value: self.arEnabled, fieldNumber: 1) + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) } - if self.arPlusEnabled != false { - try visitor.visitSingularBoolField(value: self.arPlusEnabled, fieldNumber: 2) + if self.count != 0 { + try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChangeArTelemetry, rhs: ChangeArTelemetry) -> Bool { - if lhs.arEnabled != rhs.arEnabled {return false} - if lhs.arPlusEnabled != rhs.arPlusEnabled {return false} + public static func ==(lhs: BuddyFeedingProto, rhs: BuddyFeedingProto) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.count != rhs.count {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChangeOnlineStatusTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChangeOnlineStatusTelemetry" +extension BuddyGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyGiftProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_online_status_on"), + 1: .same(proto: "souvenir"), + 2: .standard(proto: "loot_proto"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176488,33 +181381,54 @@ extension ChangeOnlineStatusTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isOnlineStatusOn) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._souvenir) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._lootProto) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isOnlineStatusOn != false { - try visitor.visitSingularBoolField(value: self.isOnlineStatusOn, fieldNumber: 1) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._souvenir { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._lootProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChangeOnlineStatusTelemetry, rhs: ChangeOnlineStatusTelemetry) -> Bool { - if lhs.isOnlineStatusOn != rhs.isOnlineStatusOn {return false} + public static func ==(lhs: BuddyGiftProto, rhs: BuddyGiftProto) -> Bool { + if lhs._souvenir != rhs._souvenir {return false} + if lhs._lootProto != rhs._lootProto {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChangePokemonFormOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChangePokemonFormOutProto" +extension BuddyGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "changed_pokemon"), - 3: .standard(proto: "exp_awarded"), - 4: .standard(proto: "candy_awarded"), + 1: .standard(proto: "buddy_v2_min_player_level"), + 2: .standard(proto: "buddy_multiplayer_min_player_level"), + 3: .standard(proto: "enable_monodepth"), + 4: .standard(proto: "monodepth_devices"), + 5: .standard(proto: "lobby_status_message_duration_ms"), + 6: .standard(proto: "mapping_instruction_duration_ms"), + 7: .standard(proto: "group_photo_leader_tracking_interval_ms"), + 8: .standard(proto: "group_photo_countdown_ms"), + 9: .standard(proto: "lobby_timeout_ms"), + 10: .standard(proto: "enable_wallaby_telemetry"), + 11: .standard(proto: "mapping_hint_timeout_ms"), + 12: .standard(proto: "group_photo_simultaneous_shots"), + 13: .standard(proto: "plfe_auth_tokens_enabled"), + 14: .standard(proto: "group_photo_shot_interval_ms"), + 15: .standard(proto: "arbe_endpoint_url"), + 16: .standard(proto: "buddy_on_map_required_to_open_gifts"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176523,63 +181437,313 @@ extension ChangePokemonFormOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._changedPokemon) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.expAwarded) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.candyAwarded) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.buddyV2MinPlayerLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.buddyMultiplayerMinPlayerLevel) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enableMonodepth) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.monodepthDevices) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.lobbyStatusMessageDurationMs) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.mappingInstructionDurationMs) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.groupPhotoLeaderTrackingIntervalMs) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.groupPhotoCountdownMs) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.lobbyTimeoutMs) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.enableWallabyTelemetry) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &self.mappingHintTimeoutMs) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.groupPhotoSimultaneousShots) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.plfeAuthTokensEnabled) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &self.groupPhotoShotIntervalMs) }() + case 15: try { try decoder.decodeSingularStringField(value: &self.arbeEndpointURL) }() + case 16: try { try decoder.decodeSingularBoolField(value: &self.buddyOnMapRequiredToOpenGifts) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.buddyV2MinPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.buddyV2MinPlayerLevel, fieldNumber: 1) } - try { if let v = self._changedPokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.expAwarded != 0 { - try visitor.visitSingularInt32Field(value: self.expAwarded, fieldNumber: 3) + if self.buddyMultiplayerMinPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.buddyMultiplayerMinPlayerLevel, fieldNumber: 2) } - if self.candyAwarded != 0 { - try visitor.visitSingularInt32Field(value: self.candyAwarded, fieldNumber: 4) + if self.enableMonodepth != false { + try visitor.visitSingularBoolField(value: self.enableMonodepth, fieldNumber: 3) + } + if !self.monodepthDevices.isEmpty { + try visitor.visitRepeatedStringField(value: self.monodepthDevices, fieldNumber: 4) + } + if self.lobbyStatusMessageDurationMs != 0 { + try visitor.visitSingularInt32Field(value: self.lobbyStatusMessageDurationMs, fieldNumber: 5) + } + if self.mappingInstructionDurationMs != 0 { + try visitor.visitSingularInt32Field(value: self.mappingInstructionDurationMs, fieldNumber: 6) + } + if self.groupPhotoLeaderTrackingIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: self.groupPhotoLeaderTrackingIntervalMs, fieldNumber: 7) + } + if self.groupPhotoCountdownMs != 0 { + try visitor.visitSingularInt32Field(value: self.groupPhotoCountdownMs, fieldNumber: 8) + } + if self.lobbyTimeoutMs != 0 { + try visitor.visitSingularInt32Field(value: self.lobbyTimeoutMs, fieldNumber: 9) + } + if self.enableWallabyTelemetry != false { + try visitor.visitSingularBoolField(value: self.enableWallabyTelemetry, fieldNumber: 10) + } + if self.mappingHintTimeoutMs != 0 { + try visitor.visitSingularInt32Field(value: self.mappingHintTimeoutMs, fieldNumber: 11) + } + if self.groupPhotoSimultaneousShots != 0 { + try visitor.visitSingularInt32Field(value: self.groupPhotoSimultaneousShots, fieldNumber: 12) + } + if self.plfeAuthTokensEnabled != false { + try visitor.visitSingularBoolField(value: self.plfeAuthTokensEnabled, fieldNumber: 13) + } + if self.groupPhotoShotIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: self.groupPhotoShotIntervalMs, fieldNumber: 14) + } + if !self.arbeEndpointURL.isEmpty { + try visitor.visitSingularStringField(value: self.arbeEndpointURL, fieldNumber: 15) + } + if self.buddyOnMapRequiredToOpenGifts != false { + try visitor.visitSingularBoolField(value: self.buddyOnMapRequiredToOpenGifts, fieldNumber: 16) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChangePokemonFormOutProto, rhs: ChangePokemonFormOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._changedPokemon != rhs._changedPokemon {return false} - if lhs.expAwarded != rhs.expAwarded {return false} - if lhs.candyAwarded != rhs.candyAwarded {return false} + public static func ==(lhs: BuddyGlobalSettingsProto, rhs: BuddyGlobalSettingsProto) -> Bool { + if lhs.buddyV2MinPlayerLevel != rhs.buddyV2MinPlayerLevel {return false} + if lhs.buddyMultiplayerMinPlayerLevel != rhs.buddyMultiplayerMinPlayerLevel {return false} + if lhs.enableMonodepth != rhs.enableMonodepth {return false} + if lhs.monodepthDevices != rhs.monodepthDevices {return false} + if lhs.lobbyStatusMessageDurationMs != rhs.lobbyStatusMessageDurationMs {return false} + if lhs.mappingInstructionDurationMs != rhs.mappingInstructionDurationMs {return false} + if lhs.groupPhotoLeaderTrackingIntervalMs != rhs.groupPhotoLeaderTrackingIntervalMs {return false} + if lhs.groupPhotoCountdownMs != rhs.groupPhotoCountdownMs {return false} + if lhs.lobbyTimeoutMs != rhs.lobbyTimeoutMs {return false} + if lhs.enableWallabyTelemetry != rhs.enableWallabyTelemetry {return false} + if lhs.mappingHintTimeoutMs != rhs.mappingHintTimeoutMs {return false} + if lhs.groupPhotoSimultaneousShots != rhs.groupPhotoSimultaneousShots {return false} + if lhs.plfeAuthTokensEnabled != rhs.plfeAuthTokensEnabled {return false} + if lhs.groupPhotoShotIntervalMs != rhs.groupPhotoShotIntervalMs {return false} + if lhs.arbeEndpointURL != rhs.arbeEndpointURL {return false} + if lhs.buddyOnMapRequiredToOpenGifts != rhs.buddyOnMapRequiredToOpenGifts {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChangePokemonFormOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension BuddyHistoryData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyHistoryData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_POKEMON_MISSING"), - 3: .same(proto: "ERROR_INSUFFICIENT_RESOURCES"), - 4: .same(proto: "ERROR_QUEST_INCOMPLETE"), - 5: .same(proto: "ERROR_POKEMON_CANNOT_CHANGE"), - 6: .same(proto: "ERROR_POKEMON_DEPLOYED"), - 7: .same(proto: "ERROR_FEATURE_DISABLED"), + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "pokedex_id"), + 3: .standard(proto: "pokemon_display"), + 4: .standard(proto: "hatched_from_egg"), + 5: .same(proto: "nickname"), + 6: .standard(proto: "captured_s2_cell_id"), + 7: .standard(proto: "creation_timestamp_ms"), + 8: .same(proto: "pokeball"), + 9: .standard(proto: "total_stats"), + 10: .standard(proto: "current_points_earned"), + 11: .standard(proto: "last_set_timestamp_ms"), + 12: .standard(proto: "last_unset_timestamp_ms"), + 13: .standard(proto: "num_days_spent_with_buddy"), + 14: .same(proto: "ditched"), + 15: .standard(proto: "original_owner_nickname"), + 16: .standard(proto: "traded_time_ms"), + 17: .standard(proto: "souvenirs_collected"), + 18: .standard(proto: "km_candy_progress"), ] + + fileprivate class _StorageClass { + var _pokemonID: UInt64 = 0 + var _pokedexID: HoloPokemonId = .missingno + var _pokemonDisplay: PokemonDisplayProto? = nil + var _hatchedFromEgg: Bool = false + var _nickname: String = String() + var _capturedS2CellID: Int64 = 0 + var _creationTimestampMs: Int64 = 0 + var _pokeball: Item = .unknown + var _totalStats: BuddyStats? = nil + var _currentPointsEarned: Int32 = 0 + var _lastSetTimestampMs: Int64 = 0 + var _lastUnsetTimestampMs: Int64 = 0 + var _numDaysSpentWithBuddy: Int32 = 0 + var _ditched: Bool = false + var _originalOwnerNickname: String = String() + var _tradedTimeMs: Int64 = 0 + var _souvenirsCollected: Dictionary = [:] + var _kmCandyProgress: Float = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _pokemonID = source._pokemonID + _pokedexID = source._pokedexID + _pokemonDisplay = source._pokemonDisplay + _hatchedFromEgg = source._hatchedFromEgg + _nickname = source._nickname + _capturedS2CellID = source._capturedS2CellID + _creationTimestampMs = source._creationTimestampMs + _pokeball = source._pokeball + _totalStats = source._totalStats + _currentPointsEarned = source._currentPointsEarned + _lastSetTimestampMs = source._lastSetTimestampMs + _lastUnsetTimestampMs = source._lastUnsetTimestampMs + _numDaysSpentWithBuddy = source._numDaysSpentWithBuddy + _ditched = source._ditched + _originalOwnerNickname = source._originalOwnerNickname + _tradedTimeMs = source._tradedTimeMs + _souvenirsCollected = source._souvenirsCollected + _kmCandyProgress = source._kmCandyProgress + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFixed64Field(value: &_storage._pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._pokedexID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay) }() + case 4: try { try decoder.decodeSingularBoolField(value: &_storage._hatchedFromEgg) }() + case 5: try { try decoder.decodeSingularStringField(value: &_storage._nickname) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._capturedS2CellID) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._creationTimestampMs) }() + case 8: try { try decoder.decodeSingularEnumField(value: &_storage._pokeball) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._totalStats) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._currentPointsEarned) }() + case 11: try { try decoder.decodeSingularInt64Field(value: &_storage._lastSetTimestampMs) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._lastUnsetTimestampMs) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._numDaysSpentWithBuddy) }() + case 14: try { try decoder.decodeSingularBoolField(value: &_storage._ditched) }() + case 15: try { try decoder.decodeSingularStringField(value: &_storage._originalOwnerNickname) }() + case 16: try { try decoder.decodeSingularInt64Field(value: &_storage._tradedTimeMs) }() + case 17: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._souvenirsCollected) }() + case 18: try { try decoder.decodeSingularFloatField(value: &_storage._kmCandyProgress) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._pokemonID, fieldNumber: 1) + } + if _storage._pokedexID != .missingno { + try visitor.visitSingularEnumField(value: _storage._pokedexID, fieldNumber: 2) + } + try { if let v = _storage._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if _storage._hatchedFromEgg != false { + try visitor.visitSingularBoolField(value: _storage._hatchedFromEgg, fieldNumber: 4) + } + if !_storage._nickname.isEmpty { + try visitor.visitSingularStringField(value: _storage._nickname, fieldNumber: 5) + } + if _storage._capturedS2CellID != 0 { + try visitor.visitSingularInt64Field(value: _storage._capturedS2CellID, fieldNumber: 6) + } + if _storage._creationTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._creationTimestampMs, fieldNumber: 7) + } + if _storage._pokeball != .unknown { + try visitor.visitSingularEnumField(value: _storage._pokeball, fieldNumber: 8) + } + try { if let v = _storage._totalStats { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() + if _storage._currentPointsEarned != 0 { + try visitor.visitSingularInt32Field(value: _storage._currentPointsEarned, fieldNumber: 10) + } + if _storage._lastSetTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastSetTimestampMs, fieldNumber: 11) + } + if _storage._lastUnsetTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastUnsetTimestampMs, fieldNumber: 12) + } + if _storage._numDaysSpentWithBuddy != 0 { + try visitor.visitSingularInt32Field(value: _storage._numDaysSpentWithBuddy, fieldNumber: 13) + } + if _storage._ditched != false { + try visitor.visitSingularBoolField(value: _storage._ditched, fieldNumber: 14) + } + if !_storage._originalOwnerNickname.isEmpty { + try visitor.visitSingularStringField(value: _storage._originalOwnerNickname, fieldNumber: 15) + } + if _storage._tradedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._tradedTimeMs, fieldNumber: 16) + } + if !_storage._souvenirsCollected.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._souvenirsCollected, fieldNumber: 17) + } + if _storage._kmCandyProgress != 0 { + try visitor.visitSingularFloatField(value: _storage._kmCandyProgress, fieldNumber: 18) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: BuddyHistoryData, rhs: BuddyHistoryData) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._pokemonID != rhs_storage._pokemonID {return false} + if _storage._pokedexID != rhs_storage._pokedexID {return false} + if _storage._pokemonDisplay != rhs_storage._pokemonDisplay {return false} + if _storage._hatchedFromEgg != rhs_storage._hatchedFromEgg {return false} + if _storage._nickname != rhs_storage._nickname {return false} + if _storage._capturedS2CellID != rhs_storage._capturedS2CellID {return false} + if _storage._creationTimestampMs != rhs_storage._creationTimestampMs {return false} + if _storage._pokeball != rhs_storage._pokeball {return false} + if _storage._totalStats != rhs_storage._totalStats {return false} + if _storage._currentPointsEarned != rhs_storage._currentPointsEarned {return false} + if _storage._lastSetTimestampMs != rhs_storage._lastSetTimestampMs {return false} + if _storage._lastUnsetTimestampMs != rhs_storage._lastUnsetTimestampMs {return false} + if _storage._numDaysSpentWithBuddy != rhs_storage._numDaysSpentWithBuddy {return false} + if _storage._ditched != rhs_storage._ditched {return false} + if _storage._originalOwnerNickname != rhs_storage._originalOwnerNickname {return false} + if _storage._tradedTimeMs != rhs_storage._tradedTimeMs {return false} + if _storage._souvenirsCollected != rhs_storage._souvenirsCollected {return false} + if _storage._kmCandyProgress != rhs_storage._kmCandyProgress {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension ChangePokemonFormProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChangePokemonFormProto" +extension BuddyHungerSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyHungerSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "target_form"), + 1: .standard(proto: "num_hunger_points_required_for_full"), + 2: .standard(proto: "decay_points_per_bucket"), + 3: .standard(proto: "milliseconds_per_bucket"), + 4: .standard(proto: "cooldown_duration_ms"), + 5: .standard(proto: "decay_duration_after_full_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176588,36 +181752,51 @@ extension ChangePokemonFormProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.targetForm) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numHungerPointsRequiredForFull) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.decayPointsPerBucket) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.millisecondsPerBucket) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.cooldownDurationMs) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.decayDurationAfterFullMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) + if self.numHungerPointsRequiredForFull != 0 { + try visitor.visitSingularInt32Field(value: self.numHungerPointsRequiredForFull, fieldNumber: 1) } - if self.targetForm != .unset { - try visitor.visitSingularEnumField(value: self.targetForm, fieldNumber: 2) + if self.decayPointsPerBucket != 0 { + try visitor.visitSingularInt32Field(value: self.decayPointsPerBucket, fieldNumber: 2) + } + if self.millisecondsPerBucket != 0 { + try visitor.visitSingularInt64Field(value: self.millisecondsPerBucket, fieldNumber: 3) + } + if self.cooldownDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.cooldownDurationMs, fieldNumber: 4) + } + if self.decayDurationAfterFullMs != 0 { + try visitor.visitSingularInt64Field(value: self.decayDurationAfterFullMs, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChangePokemonFormProto, rhs: ChangePokemonFormProto) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.targetForm != rhs.targetForm {return false} + public static func ==(lhs: BuddyHungerSettings, rhs: BuddyHungerSettings) -> Bool { + if lhs.numHungerPointsRequiredForFull != rhs.numHungerPointsRequiredForFull {return false} + if lhs.decayPointsPerBucket != rhs.decayPointsPerBucket {return false} + if lhs.millisecondsPerBucket != rhs.millisecondsPerBucket {return false} + if lhs.cooldownDurationMs != rhs.cooldownDurationMs {return false} + if lhs.decayDurationAfterFullMs != rhs.decayDurationAfterFullMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChangeTeamOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChangeTeamOutProto" +extension BuddyInteractionSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyInteractionSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "updated_player"), + 1: .standard(proto: "feed_item_whitelist"), + 2: .standard(proto: "care_item_whitelist"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176626,51 +181805,37 @@ extension ChangeTeamOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._updatedPlayer) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.feedItemWhitelist) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.careItemWhitelist) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.feedItemWhitelist.isEmpty { + try visitor.visitPackedEnumField(value: self.feedItemWhitelist, fieldNumber: 1) + } + if !self.careItemWhitelist.isEmpty { + try visitor.visitPackedEnumField(value: self.careItemWhitelist, fieldNumber: 2) } - try { if let v = self._updatedPlayer { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChangeTeamOutProto, rhs: ChangeTeamOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._updatedPlayer != rhs._updatedPlayer {return false} + public static func ==(lhs: BuddyInteractionSettings, rhs: BuddyInteractionSettings) -> Bool { + if lhs.feedItemWhitelist != rhs.feedItemWhitelist {return false} + if lhs.careItemWhitelist != rhs.careItemWhitelist {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChangeTeamOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_SAME_TEAM"), - 3: .same(proto: "ERROR_ITEM_NOT_IN_INVENTORY"), - 4: .same(proto: "ERROR_WRONG_ITEM"), - 5: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension ChangeTeamProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChangeTeamProto" +extension BuddyLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyLevelSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .same(proto: "team"), + 1: .same(proto: "level"), + 2: .standard(proto: "min_non_cumulative_points_required"), + 3: .standard(proto: "unlocked_traits"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176679,36 +181844,56 @@ extension ChangeTeamProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.team) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.level) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minNonCumulativePointsRequired) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.unlockedTraits) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) + if self.level != .unset { + try visitor.visitSingularEnumField(value: self.level, fieldNumber: 1) } - if self.team != .unset { - try visitor.visitSingularEnumField(value: self.team, fieldNumber: 2) + if self.minNonCumulativePointsRequired != 0 { + try visitor.visitSingularInt32Field(value: self.minNonCumulativePointsRequired, fieldNumber: 2) + } + if !self.unlockedTraits.isEmpty { + try visitor.visitPackedEnumField(value: self.unlockedTraits, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChangeTeamProto, rhs: ChangeTeamProto) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.team != rhs.team {return false} + public static func ==(lhs: BuddyLevelSettings, rhs: BuddyLevelSettings) -> Bool { + if lhs.level != rhs.level {return false} + if lhs.minNonCumulativePointsRequired != rhs.minNonCumulativePointsRequired {return false} + if lhs.unlockedTraits != rhs.unlockedTraits {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CharacterDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CharacterDisplayProto" +extension BuddyLevelSettings.BuddyTrait: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "style"), - 2: .same(proto: "character"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "MAP_DEPLOY"), + 2: .same(proto: "ENCOUNTER_CAMEO"), + 3: .same(proto: "EMOTION_INDICATOR"), + 4: .same(proto: "PICK_UP_CONSUMABLES"), + 5: .same(proto: "PICK_UP_SOUVENIRS"), + 6: .same(proto: "FIND_ATTRACTIVE_POIS"), + 7: .same(proto: "BEST_BUDDY_ASSET"), + 8: .same(proto: "CP_BOOST"), + ] +} + +extension BuddyMapEmotionCheckTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyMapEmotionCheckTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "current_emotion_points"), + 3: .standard(proto: "current_affection_points"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176717,39 +181902,43 @@ extension CharacterDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.style) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.character) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.currentEmotionPoints) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.currentAffectionPoints) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.style != .pokestopNormal { - try visitor.visitSingularEnumField(value: self.style, fieldNumber: 1) + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) } - if self.character != .characterUnset { - try visitor.visitSingularEnumField(value: self.character, fieldNumber: 2) + if self.currentEmotionPoints != 0 { + try visitor.visitSingularInt32Field(value: self.currentEmotionPoints, fieldNumber: 2) + } + if self.currentAffectionPoints != 0 { + try visitor.visitSingularInt32Field(value: self.currentAffectionPoints, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CharacterDisplayProto, rhs: CharacterDisplayProto) -> Bool { - if lhs.style != rhs.style {return false} - if lhs.character != rhs.character {return false} + public static func ==(lhs: BuddyMapEmotionCheckTelemetry, rhs: BuddyMapEmotionCheckTelemetry) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.currentEmotionPoints != rhs.currentEmotionPoints {return false} + if lhs.currentAffectionPoints != rhs.currentAffectionPoints {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChatMessageContext: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChatMessageContext" +extension BuddyMapOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyMapOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "text"), - 5: .standard(proto: "image_id"), - 1: .standard(proto: "message_id"), - 3: .standard(proto: "sender_id"), - 4: .standard(proto: "posted_timestamp_ms"), + 1: .same(proto: "result"), + 2: .standard(proto: "expiration_ms"), + 3: .standard(proto: "applied_ms"), + 4: .standard(proto: "observed_data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176758,25 +181947,10 @@ extension ChatMessageContext: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.messageID) }() - case 2: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.flagContent != nil {try decoder.handleConflictingOneOf()} - self.flagContent = .text(v) - } - }() - case 3: try { try decoder.decodeSingularStringField(value: &self.senderID) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.postedTimestampMs) }() - case 5: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.flagContent != nil {try decoder.handleConflictingOneOf()} - self.flagContent = .imageID(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.appliedMs) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() default: break } } @@ -176787,41 +181961,43 @@ extension ChatMessageContext: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.messageID != 0 { - try visitor.visitSingularInt64Field(value: self.messageID, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if case .text(let v)? = self.flagContent { - try visitor.visitSingularStringField(value: v, fieldNumber: 2) - } }() - if !self.senderID.isEmpty { - try visitor.visitSingularStringField(value: self.senderID, fieldNumber: 3) + if self.expirationMs != 0 { + try visitor.visitSingularInt64Field(value: self.expirationMs, fieldNumber: 2) } - if self.postedTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.postedTimestampMs, fieldNumber: 4) + if self.appliedMs != 0 { + try visitor.visitSingularInt64Field(value: self.appliedMs, fieldNumber: 3) } - try { if case .imageID(let v)? = self.flagContent { - try visitor.visitSingularStringField(value: v, fieldNumber: 5) + try { if let v = self._observedData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChatMessageContext, rhs: ChatMessageContext) -> Bool { - if lhs.flagContent != rhs.flagContent {return false} - if lhs.messageID != rhs.messageID {return false} - if lhs.senderID != rhs.senderID {return false} - if lhs.postedTimestampMs != rhs.postedTimestampMs {return false} + public static func ==(lhs: BuddyMapOutProto, rhs: BuddyMapOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.expirationMs != rhs.expirationMs {return false} + if lhs.appliedMs != rhs.appliedMs {return false} + if lhs._observedData != rhs._observedData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckAwardedBadgesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckAwardedBadgesOutProto" +extension BuddyMapOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "success"), - 2: .standard(proto: "awarded_badges"), - 3: .standard(proto: "awarded_badge_levels"), - 4: .standard(proto: "avatar_template_ids"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_BUDDY_NOT_VALID"), + ] +} + +extension BuddyMapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyMapProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "buddy_home_widget_active"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176830,65 +182006,69 @@ extension CheckAwardedBadgesOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.awardedBadges) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.awardedBadgeLevels) }() - case 4: try { try decoder.decodeRepeatedStringField(value: &self.avatarTemplateIds) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.buddyHomeWidgetActive) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) - } - if !self.awardedBadges.isEmpty { - try visitor.visitPackedEnumField(value: self.awardedBadges, fieldNumber: 2) - } - if !self.awardedBadgeLevels.isEmpty { - try visitor.visitPackedInt32Field(value: self.awardedBadgeLevels, fieldNumber: 3) - } - if !self.avatarTemplateIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.avatarTemplateIds, fieldNumber: 4) + if self.buddyHomeWidgetActive != false { + try visitor.visitSingularBoolField(value: self.buddyHomeWidgetActive, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckAwardedBadgesOutProto, rhs: CheckAwardedBadgesOutProto) -> Bool { - if lhs.success != rhs.success {return false} - if lhs.awardedBadges != rhs.awardedBadges {return false} - if lhs.awardedBadgeLevels != rhs.awardedBadgeLevels {return false} - if lhs.avatarTemplateIds != rhs.avatarTemplateIds {return false} + public static func ==(lhs: BuddyMapProto, rhs: BuddyMapProto) -> Bool { + if lhs.buddyHomeWidgetActive != rhs.buddyHomeWidgetActive {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckAwardedBadgesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckAwardedBadgesProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension BuddyMultiplayerConnectionFailedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyMultiplayerConnectionFailedProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "test_number"), + 2: .standard(proto: "response_time"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.testNumber) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.responseTime) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.testNumber != 0 { + try visitor.visitSingularInt32Field(value: self.testNumber, fieldNumber: 1) + } + if self.responseTime != 0 { + try visitor.visitSingularInt64Field(value: self.responseTime, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckAwardedBadgesProto, rhs: CheckAwardedBadgesProto) -> Bool { + public static func ==(lhs: BuddyMultiplayerConnectionFailedProto, rhs: BuddyMultiplayerConnectionFailedProto) -> Bool { + if lhs.testNumber != rhs.testNumber {return false} + if lhs.responseTime != rhs.responseTime {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckChallengeOutProto" +extension BuddyMultiplayerConnectionSucceededProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyMultiplayerConnectionSucceededProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "show_challenge"), - 2: .standard(proto: "challenge_url"), + 1: .standard(proto: "test_number"), + 2: .standard(proto: "response_time"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176897,35 +182077,36 @@ extension CheckChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.showChallenge) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.challengeURL) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.testNumber) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.responseTime) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.showChallenge != false { - try visitor.visitSingularBoolField(value: self.showChallenge, fieldNumber: 1) + if self.testNumber != 0 { + try visitor.visitSingularInt32Field(value: self.testNumber, fieldNumber: 1) } - if !self.challengeURL.isEmpty { - try visitor.visitSingularStringField(value: self.challengeURL, fieldNumber: 2) + if self.responseTime != 0 { + try visitor.visitSingularInt64Field(value: self.responseTime, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckChallengeOutProto, rhs: CheckChallengeOutProto) -> Bool { - if lhs.showChallenge != rhs.showChallenge {return false} - if lhs.challengeURL != rhs.challengeURL {return false} + public static func ==(lhs: BuddyMultiplayerConnectionSucceededProto, rhs: BuddyMultiplayerConnectionSucceededProto) -> Bool { + if lhs.testNumber != rhs.testNumber {return false} + if lhs.responseTime != rhs.responseTime {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckChallengeProto" +extension BuddyMultiplayerTimeToGetSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyMultiplayerTimeToGetSessionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "debug_request"), + 1: .standard(proto: "test_number"), + 2: .standard(proto: "time_to_get_session"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176934,31 +182115,35 @@ extension CheckChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.debugRequest) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.testNumber) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.timeToGetSession) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.debugRequest != false { - try visitor.visitSingularBoolField(value: self.debugRequest, fieldNumber: 1) + if self.testNumber != 0 { + try visitor.visitSingularInt32Field(value: self.testNumber, fieldNumber: 1) + } + if self.timeToGetSession != 0 { + try visitor.visitSingularInt64Field(value: self.timeToGetSession, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckChallengeProto, rhs: CheckChallengeProto) -> Bool { - if lhs.debugRequest != rhs.debugRequest {return false} + public static func ==(lhs: BuddyMultiplayerTimeToGetSessionProto, rhs: BuddyMultiplayerTimeToGetSessionProto) -> Bool { + if lhs.testNumber != rhs.testNumber {return false} + if lhs.timeToGetSession != rhs.timeToGetSession {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckEncounterTrayInfoTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckEncounterTrayInfoTelemetry" +extension BuddyNotificationClickTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyNotificationClickTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "berry_tray_info"), - 2: .standard(proto: "ball_tray_info"), + 1: .standard(proto: "notification_category"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -176967,72 +182152,193 @@ extension CheckEncounterTrayInfoTelemetry: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.berryTrayInfo) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.ballTrayInfo) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.notificationCategory) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.berryTrayInfo != false { - try visitor.visitSingularBoolField(value: self.berryTrayInfo, fieldNumber: 1) - } - if self.ballTrayInfo != false { - try visitor.visitSingularBoolField(value: self.ballTrayInfo, fieldNumber: 2) + if self.notificationCategory != 0 { + try visitor.visitSingularInt32Field(value: self.notificationCategory, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckEncounterTrayInfoTelemetry, rhs: CheckEncounterTrayInfoTelemetry) -> Bool { - if lhs.berryTrayInfo != rhs.berryTrayInfo {return false} - if lhs.ballTrayInfo != rhs.ballTrayInfo {return false} + public static func ==(lhs: BuddyNotificationClickTelemetry, rhs: BuddyNotificationClickTelemetry) -> Bool { + if lhs.notificationCategory != rhs.notificationCategory {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckGiftingEligibilityOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckGiftingEligibilityOutProto" +extension BuddyObservedData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyObservedData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gifting_eligibility"), + 1: .standard(proto: "current_points_earned"), + 3: .standard(proto: "total_stats"), + 6: .standard(proto: "buddy_gift_picked_up"), + 7: .standard(proto: "current_emotion_points"), + 8: .standard(proto: "buddy_validation_result"), + 9: .standard(proto: "souvenirs_collected"), + 10: .standard(proto: "today_stats_shown_hearts"), + 11: .standard(proto: "buddy_feed_stats"), + 12: .standard(proto: "attractive_poi_id"), + 13: .standard(proto: "attractive_poi_expiration_time_ms"), + 14: .standard(proto: "num_days_spent_with_buddy"), ] + fileprivate class _StorageClass { + var _currentPointsEarned: Int32 = 0 + var _totalStats: BuddyStats? = nil + var _buddyGiftPickedUp: BuddyGiftProto? = nil + var _currentEmotionPoints: Int32 = 0 + var _buddyValidationResult: BuddyObservedData.BuddyValidationResult = .unset + var _souvenirsCollected: Dictionary = [:] + var _todayStatsShownHearts: BuddyStatsShownHearts? = nil + var _buddyFeedStats: BuddyObservedData.BuddyFeedStats? = nil + var _attractivePoiID: String = String() + var _attractivePoiExpirationTimeMs: Int64 = 0 + var _numDaysSpentWithBuddy: Int32 = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _currentPointsEarned = source._currentPointsEarned + _totalStats = source._totalStats + _buddyGiftPickedUp = source._buddyGiftPickedUp + _currentEmotionPoints = source._currentEmotionPoints + _buddyValidationResult = source._buddyValidationResult + _souvenirsCollected = source._souvenirsCollected + _todayStatsShownHearts = source._todayStatsShownHearts + _buddyFeedStats = source._buddyFeedStats + _attractivePoiID = source._attractivePoiID + _attractivePoiExpirationTimeMs = source._attractivePoiExpirationTimeMs + _numDaysSpentWithBuddy = source._numDaysSpentWithBuddy + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._currentPointsEarned) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._totalStats) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._buddyGiftPickedUp) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._currentEmotionPoints) }() + case 8: try { try decoder.decodeSingularEnumField(value: &_storage._buddyValidationResult) }() + case 9: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._souvenirsCollected) }() + case 10: try { try decoder.decodeSingularMessageField(value: &_storage._todayStatsShownHearts) }() + case 11: try { try decoder.decodeSingularMessageField(value: &_storage._buddyFeedStats) }() + case 12: try { try decoder.decodeSingularStringField(value: &_storage._attractivePoiID) }() + case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._attractivePoiExpirationTimeMs) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._numDaysSpentWithBuddy) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._giftingEligibility) }() - default: break + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._currentPointsEarned != 0 { + try visitor.visitSingularInt32Field(value: _storage._currentPointsEarned, fieldNumber: 1) + } + try { if let v = _storage._totalStats { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._buddyGiftPickedUp { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + if _storage._currentEmotionPoints != 0 { + try visitor.visitSingularInt32Field(value: _storage._currentEmotionPoints, fieldNumber: 7) + } + if _storage._buddyValidationResult != .unset { + try visitor.visitSingularEnumField(value: _storage._buddyValidationResult, fieldNumber: 8) + } + if !_storage._souvenirsCollected.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._souvenirsCollected, fieldNumber: 9) + } + try { if let v = _storage._todayStatsShownHearts { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + try { if let v = _storage._buddyFeedStats { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + } }() + if !_storage._attractivePoiID.isEmpty { + try visitor.visitSingularStringField(value: _storage._attractivePoiID, fieldNumber: 12) + } + if _storage._attractivePoiExpirationTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._attractivePoiExpirationTimeMs, fieldNumber: 13) + } + if _storage._numDaysSpentWithBuddy != 0 { + try visitor.visitSingularInt32Field(value: _storage._numDaysSpentWithBuddy, fieldNumber: 14) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: BuddyObservedData, rhs: BuddyObservedData) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._currentPointsEarned != rhs_storage._currentPointsEarned {return false} + if _storage._totalStats != rhs_storage._totalStats {return false} + if _storage._buddyGiftPickedUp != rhs_storage._buddyGiftPickedUp {return false} + if _storage._currentEmotionPoints != rhs_storage._currentEmotionPoints {return false} + if _storage._buddyValidationResult != rhs_storage._buddyValidationResult {return false} + if _storage._souvenirsCollected != rhs_storage._souvenirsCollected {return false} + if _storage._todayStatsShownHearts != rhs_storage._todayStatsShownHearts {return false} + if _storage._buddyFeedStats != rhs_storage._buddyFeedStats {return false} + if _storage._attractivePoiID != rhs_storage._attractivePoiID {return false} + if _storage._attractivePoiExpirationTimeMs != rhs_storage._attractivePoiExpirationTimeMs {return false} + if _storage._numDaysSpentWithBuddy != rhs_storage._numDaysSpentWithBuddy {return false} + return true } + if !storagesAreEqual {return false} } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._giftingEligibility { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: CheckGiftingEligibilityOutProto, rhs: CheckGiftingEligibilityOutProto) -> Bool { - if lhs._giftingEligibility != rhs._giftingEligibility {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckGiftingEligibilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckGiftingEligibilityProto" +extension BuddyObservedData.BuddyValidationResult: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gifting_iap_item"), - 2: .standard(proto: "recipient_friend_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILED_BUDDY_NOT_SET"), + 3: .same(proto: "FAILED_BUDDY_NOT_FOUND"), + 4: .same(proto: "FAILED_BAD_BUDDY"), + 5: .same(proto: "FAILED_BUDDY_V2_NOT_ENABLED"), + 6: .same(proto: "FAILED_PLAYER_LEVEL_TOO_LOW"), + ] +} + +extension BuddyObservedData.BuddyFeedStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BuddyObservedData.protoMessageName + ".BuddyFeedStats" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "map_expiration_ms"), + 2: .standard(proto: "pre_map_fullness_percentage"), + 3: .standard(proto: "fullness_expiration_ms"), + 4: .standard(proto: "poffin_expiration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177041,43 +182347,47 @@ extension CheckGiftingEligibilityProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._giftingIapItem) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.recipientFriendID) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.mapExpirationMs) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.preMapFullnessPercentage) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.fullnessExpirationMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.poffinExpirationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._giftingIapItem { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.recipientFriendID.isEmpty { - try visitor.visitSingularStringField(value: self.recipientFriendID, fieldNumber: 2) + if self.mapExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: self.mapExpirationMs, fieldNumber: 1) + } + if self.preMapFullnessPercentage != 0 { + try visitor.visitSingularFloatField(value: self.preMapFullnessPercentage, fieldNumber: 2) + } + if self.fullnessExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: self.fullnessExpirationMs, fieldNumber: 3) + } + if self.poffinExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: self.poffinExpirationMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckGiftingEligibilityProto, rhs: CheckGiftingEligibilityProto) -> Bool { - if lhs._giftingIapItem != rhs._giftingIapItem {return false} - if lhs.recipientFriendID != rhs.recipientFriendID {return false} + public static func ==(lhs: BuddyObservedData.BuddyFeedStats, rhs: BuddyObservedData.BuddyFeedStats) -> Bool { + if lhs.mapExpirationMs != rhs.mapExpirationMs {return false} + if lhs.preMapFullnessPercentage != rhs.preMapFullnessPercentage {return false} + if lhs.fullnessExpirationMs != rhs.fullnessExpirationMs {return false} + if lhs.poffinExpirationMs != rhs.poffinExpirationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckPhotobombOutProto" +extension BuddyPettingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyPettingOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "photobomb_pokemon_id"), - 3: .standard(proto: "photobomb_pokemon_display"), - 4: .standard(proto: "encounter_id"), - 5: .same(proto: "uri"), + 1: .same(proto: "result"), + 2: .standard(proto: "observed_data"), + 3: .standard(proto: "shown_hearts"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177086,11 +182396,9 @@ extension CheckPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.photobombPokemonID) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._photobombPokemonDisplay) }() - case 4: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.uri) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.shownHearts) }() default: break } } @@ -177101,85 +182409,63 @@ extension CheckPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if self.photobombPokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.photobombPokemonID, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._photobombPokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + try { if let v = self._observedData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 4) - } - if !self.uri.isEmpty { - try visitor.visitSingularStringField(value: self.uri, fieldNumber: 5) + if self.shownHearts != .buddyHeartUnset { + try visitor.visitSingularEnumField(value: self.shownHearts, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckPhotobombOutProto, rhs: CheckPhotobombOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.photobombPokemonID != rhs.photobombPokemonID {return false} - if lhs._photobombPokemonDisplay != rhs._photobombPokemonDisplay {return false} - if lhs.encounterID != rhs.encounterID {return false} - if lhs.uri != rhs.uri {return false} + public static func ==(lhs: BuddyPettingOutProto, rhs: BuddyPettingOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._observedData != rhs._observedData {return false} + if lhs.shownHearts != rhs.shownHearts {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckPhotobombOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension BuddyPettingOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PHOTO_POKEMON_INVALID"), - 3: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "ERROR_BUDDY_NOT_VALID"), ] } -extension CheckPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckPhotobombProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "photo_pokemon_id"), - ] +extension BuddyPettingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyPettingProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.photoPokemonID) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.photoPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.photoPokemonID, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckPhotobombProto, rhs: CheckPhotobombProto) -> Bool { - if lhs.photoPokemonID != rhs.photoPokemonID {return false} + public static func ==(lhs: BuddyPettingProto, rhs: BuddyPettingProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckPokemonSizeContestEligibilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckPokemonSizeContestEligibilityProto" +extension BuddyPokemonLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyPokemonLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_id"), - 2: .same(proto: "schedule"), - 3: .standard(proto: "contest_metric"), - 4: .standard(proto: "pokemon_id"), - 5: .standard(proto: "fort_lat_degrees"), - 6: .standard(proto: "fort_lng_degrees"), + 1: .same(proto: "result"), + 2: .standard(proto: "pokemon_type"), + 3: .same(proto: "amount"), + 4: .standard(proto: "pokemon_display"), + 5: .standard(proto: "pokemon_id"), + 6: .standard(proto: "amount_xl"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177188,12 +182474,12 @@ extension CheckPokemonSizeContestEligibilityProto: SwiftProtobuf.Message, SwiftP // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._schedule) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() - case 4: try { try decoder.decodeSingularUInt64Field(value: &self.pokemonID) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.fortLatDegrees) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.fortLngDegrees) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokemonType) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.amount) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 5: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.amountXl) }() default: break } } @@ -177204,43 +182490,57 @@ extension CheckPokemonSizeContestEligibilityProto: SwiftProtobuf.Message, SwiftP // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._schedule { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._contestMetric { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + if self.pokemonType != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonType, fieldNumber: 2) + } + if self.amount != 0 { + try visitor.visitSingularInt32Field(value: self.amount, fieldNumber: 3) + } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() if self.pokemonID != 0 { - try visitor.visitSingularUInt64Field(value: self.pokemonID, fieldNumber: 4) - } - if self.fortLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.fortLatDegrees, fieldNumber: 5) + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 5) } - if self.fortLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.fortLngDegrees, fieldNumber: 6) + if self.amountXl != 0 { + try visitor.visitSingularInt32Field(value: self.amountXl, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckPokemonSizeContestEligibilityProto, rhs: CheckPokemonSizeContestEligibilityProto) -> Bool { - if lhs.fortID != rhs.fortID {return false} - if lhs._schedule != rhs._schedule {return false} - if lhs._contestMetric != rhs._contestMetric {return false} + public static func ==(lhs: BuddyPokemonLogEntry, rhs: BuddyPokemonLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.pokemonType != rhs.pokemonType {return false} + if lhs.amount != rhs.amount {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.fortLatDegrees != rhs.fortLatDegrees {return false} - if lhs.fortLngDegrees != rhs.fortLngDegrees {return false} + if lhs.amountXl != rhs.amountXl {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckSendGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckSendGiftOutProto" +extension BuddyPokemonLogEntry.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "CANDY_FOUND"), + ] +} + +extension BuddyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyPokemonProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "buddy_pokemon_id"), + 2: .standard(proto: "start_km_walked"), + 3: .standard(proto: "last_km_awarded"), + 4: .standard(proto: "daily_buddy_swaps"), + 5: .standard(proto: "last_km_awarded_ms"), + 6: .standard(proto: "best_buddies_backfilled"), + 7: .standard(proto: "last_set_timestamp_ms"), + 8: .standard(proto: "pending_bonus_km"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177249,42 +182549,75 @@ extension CheckSendGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.buddyPokemonID) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.startKmWalked) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.lastKmAwarded) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._dailyBuddySwaps) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.lastKmAwardedMs) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.bestBuddiesBackfilled) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.lastSetTimestampMs) }() + case 8: try { try decoder.decodeSingularFloatField(value: &self.pendingBonusKm) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.buddyPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.buddyPokemonID, fieldNumber: 1) + } + if self.startKmWalked != 0 { + try visitor.visitSingularDoubleField(value: self.startKmWalked, fieldNumber: 2) + } + if self.lastKmAwarded != 0 { + try visitor.visitSingularDoubleField(value: self.lastKmAwarded, fieldNumber: 3) + } + try { if let v = self._dailyBuddySwaps { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.lastKmAwardedMs != 0 { + try visitor.visitSingularInt64Field(value: self.lastKmAwardedMs, fieldNumber: 5) + } + if self.bestBuddiesBackfilled != false { + try visitor.visitSingularBoolField(value: self.bestBuddiesBackfilled, fieldNumber: 6) + } + if self.lastSetTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.lastSetTimestampMs, fieldNumber: 7) + } + if self.pendingBonusKm != 0 { + try visitor.visitSingularFloatField(value: self.pendingBonusKm, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckSendGiftOutProto, rhs: CheckSendGiftOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: BuddyPokemonProto, rhs: BuddyPokemonProto) -> Bool { + if lhs.buddyPokemonID != rhs.buddyPokemonID {return false} + if lhs.startKmWalked != rhs.startKmWalked {return false} + if lhs.lastKmAwarded != rhs.lastKmAwarded {return false} + if lhs._dailyBuddySwaps != rhs._dailyBuddySwaps {return false} + if lhs.lastKmAwardedMs != rhs.lastKmAwardedMs {return false} + if lhs.bestBuddiesBackfilled != rhs.bestBuddiesBackfilled {return false} + if lhs.lastSetTimestampMs != rhs.lastSetTimestampMs {return false} + if lhs.pendingBonusKm != rhs.pendingBonusKm {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckSendGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_DOES_NOT_EXIST"), - 4: .same(proto: "ERROR_GIFT_NOT_AVAILABLE"), - 5: .same(proto: "ERROR_GIFT_ALREADY_SENT_TODAY"), - 6: .same(proto: "ERROR_PLAYER_HAS_UNOPENED_GIFT"), - ] -} - -extension CheckSendGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckSendGiftProto" +extension BuddyStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyStats" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), + 1: .standard(proto: "km_walked"), + 2: .standard(proto: "berries_fed"), + 3: .same(proto: "communication"), + 4: .same(proto: "battles"), + 5: .same(proto: "photos"), + 6: .standard(proto: "new_visits"), + 7: .standard(proto: "routes_walked"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177293,30 +182626,61 @@ extension CheckSendGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.kmWalked) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.berriesFed) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.communication) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.battles) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.photos) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.newVisits) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.routesWalked) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + if self.kmWalked != 0 { + try visitor.visitSingularFloatField(value: self.kmWalked, fieldNumber: 1) + } + if self.berriesFed != 0 { + try visitor.visitSingularInt32Field(value: self.berriesFed, fieldNumber: 2) + } + if self.communication != 0 { + try visitor.visitSingularInt32Field(value: self.communication, fieldNumber: 3) + } + if self.battles != 0 { + try visitor.visitSingularInt32Field(value: self.battles, fieldNumber: 4) + } + if self.photos != 0 { + try visitor.visitSingularInt32Field(value: self.photos, fieldNumber: 5) + } + if self.newVisits != 0 { + try visitor.visitSingularInt32Field(value: self.newVisits, fieldNumber: 6) + } + if self.routesWalked != 0 { + try visitor.visitSingularInt32Field(value: self.routesWalked, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckSendGiftProto, rhs: CheckSendGiftProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} + public static func ==(lhs: BuddyStats, rhs: BuddyStats) -> Bool { + if lhs.kmWalked != rhs.kmWalked {return false} + if lhs.berriesFed != rhs.berriesFed {return false} + if lhs.communication != rhs.communication {return false} + if lhs.battles != rhs.battles {return false} + if lhs.photos != rhs.photos {return false} + if lhs.newVisits != rhs.newVisits {return false} + if lhs.routesWalked != rhs.routesWalked {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckShareExRaidPassOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckShareExRaidPassOutProto" +extension BuddyStatsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyStatsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), + 2: .standard(proto: "observed_data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177326,73 +182690,66 @@ extension CheckShareExRaidPassOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .shareExRaidPassUnset { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._observedData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckShareExRaidPassOutProto, rhs: CheckShareExRaidPassOutProto) -> Bool { + public static func ==(lhs: BuddyStatsOutProto, rhs: BuddyStatsOutProto) -> Bool { if lhs.result != rhs.result {return false} + if lhs._observedData != rhs._observedData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CheckShareExRaidPassProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CheckShareExRaidPassProto" +extension BuddyStatsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .standard(proto: "fort_id"), - 3: .standard(proto: "raid_seed"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_BUDDY_NOT_VALID"), ] +} + +extension BuddyStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyStatsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) - } - if self.raidSeed != 0 { - try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 3) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CheckShareExRaidPassProto, rhs: CheckShareExRaidPassProto) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.raidSeed != rhs.raidSeed {return false} + public static func ==(lhs: BuddyStatsProto, rhs: BuddyStatsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChooseGlobalTicketedEventVariantOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChooseGlobalTicketedEventVariantOutProto" +extension BuddyStatsShownHearts: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyStatsShownHearts" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "buddy_affection_km_in_progress"), + 2: .standard(proto: "buddy_shown_hearts_per_category"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177401,39 +182758,43 @@ extension ChooseGlobalTicketedEventVariantOutProto: SwiftProtobuf.Message, Swift // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.buddyAffectionKmInProgress) }() + case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.buddyShownHeartsPerCategory) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.buddyAffectionKmInProgress != 0 { + try visitor.visitSingularFloatField(value: self.buddyAffectionKmInProgress, fieldNumber: 1) + } + if !self.buddyShownHeartsPerCategory.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.buddyShownHeartsPerCategory, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChooseGlobalTicketedEventVariantOutProto, rhs: ChooseGlobalTicketedEventVariantOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: BuddyStatsShownHearts, rhs: BuddyStatsShownHearts) -> Bool { + if lhs.buddyAffectionKmInProgress != rhs.buddyAffectionKmInProgress {return false} + if lhs.buddyShownHeartsPerCategory != rhs.buddyShownHeartsPerCategory {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ChooseGlobalTicketedEventVariantOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension BuddyStatsShownHearts.BuddyShownHeartType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_HAS_REQUESTED_BADGE"), - 3: .same(proto: "ERROR_HAS_MUTUALLY_EXCLUSIVE_BADGE"), + 0: .same(proto: "BUDDY_HEART_UNSET"), + 1: .same(proto: "BUDDY_HEART_SINGLE"), + 2: .same(proto: "BUDDY_HEART_DOUBLE"), ] } -extension ChooseGlobalTicketedEventVariantProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ChooseGlobalTicketedEventVariantProto" +extension BuddyStatsShownHearts.BuddyShownHeartsList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = BuddyStatsShownHearts.protoMessageName + ".BuddyShownHeartsList" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "target_variant"), + 1: .standard(proto: "buddy_shown_heart_types"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177442,32 +182803,31 @@ extension ChooseGlobalTicketedEventVariantProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.targetVariant) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.buddyShownHeartTypes) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.targetVariant != .badgeUnset { - try visitor.visitSingularEnumField(value: self.targetVariant, fieldNumber: 1) + if !self.buddyShownHeartTypes.isEmpty { + try visitor.visitPackedEnumField(value: self.buddyShownHeartTypes, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ChooseGlobalTicketedEventVariantProto, rhs: ChooseGlobalTicketedEventVariantProto) -> Bool { - if lhs.targetVariant != rhs.targetVariant {return false} + public static func ==(lhs: BuddyStatsShownHearts.BuddyShownHeartsList, rhs: BuddyStatsShownHearts.BuddyShownHeartsList) -> Bool { + if lhs.buddyShownHeartTypes != rhs.buddyShownHeartTypes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClaimCodenameRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClaimCodenameRequestProto" +extension BuddySwapSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddySwapSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "codename"), - 2: .same(proto: "force"), - 3: .standard(proto: "generate_suggested_codenames"), + 1: .standard(proto: "max_swaps_per_day"), + 2: .standard(proto: "enable_swap_free_evolution"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177476,41 +182836,35 @@ extension ClaimCodenameRequestProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.codename) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.force) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.generateSuggestedCodenames) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.maxSwapsPerDay) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableSwapFreeEvolution) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.codename.isEmpty { - try visitor.visitSingularStringField(value: self.codename, fieldNumber: 1) - } - if self.force != false { - try visitor.visitSingularBoolField(value: self.force, fieldNumber: 2) + if self.maxSwapsPerDay != 0 { + try visitor.visitSingularInt32Field(value: self.maxSwapsPerDay, fieldNumber: 1) } - if self.generateSuggestedCodenames != false { - try visitor.visitSingularBoolField(value: self.generateSuggestedCodenames, fieldNumber: 3) + if self.enableSwapFreeEvolution != false { + try visitor.visitSingularBoolField(value: self.enableSwapFreeEvolution, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClaimCodenameRequestProto, rhs: ClaimCodenameRequestProto) -> Bool { - if lhs.codename != rhs.codename {return false} - if lhs.force != rhs.force {return false} - if lhs.generateSuggestedCodenames != rhs.generateSuggestedCodenames {return false} + public static func ==(lhs: BuddySwapSettings, rhs: BuddySwapSettings) -> Bool { + if lhs.maxSwapsPerDay != rhs.maxSwapsPerDay {return false} + if lhs.enableSwapFreeEvolution != rhs.enableSwapFreeEvolution {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClaimContestsRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClaimContestsRewardsOutProto" +extension BuddyWalkSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuddyWalkSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "rewards_per_contest"), + 1: .standard(proto: "km_required_per_affection_point"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177519,63 +182873,33 @@ extension ClaimContestsRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.rewardsPerContest) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.kmRequiredPerAffectionPoint) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.rewardsPerContest.isEmpty { - try visitor.visitRepeatedMessageField(value: self.rewardsPerContest, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ClaimContestsRewardsOutProto, rhs: ClaimContestsRewardsOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.rewardsPerContest != rhs.rewardsPerContest {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ClaimContestsRewardsOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - ] -} - -extension ClaimContestsRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClaimContestsRewardsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.kmRequiredPerAffectionPoint != 0 { + try visitor.visitSingularFloatField(value: self.kmRequiredPerAffectionPoint, fieldNumber: 1) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClaimContestsRewardsProto, rhs: ClaimContestsRewardsProto) -> Bool { + public static func ==(lhs: BuddyWalkSettings, rhs: BuddyWalkSettings) -> Bool { + if lhs.kmRequiredPerAffectionPoint != rhs.kmRequiredPerAffectionPoint {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClaimVsSeekerRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClaimVsSeekerRewardsOutProto" +extension BuffSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuffSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "rewards"), + 1: .standard(proto: "countdown_reminder_s"), + 2: .standard(proto: "click_extension_enabled"), + 3: .standard(proto: "applicable_buffs"), + 4: .standard(proto: "friendship_lucky_egg_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177584,50 +182908,46 @@ extension ClaimVsSeekerRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.countdownReminderS) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.clickExtensionEnabled) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.applicableBuffs) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.friendshipLuckyEggEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.countdownReminderS != 0 { + try visitor.visitSingularInt32Field(value: self.countdownReminderS, fieldNumber: 1) + } + if self.clickExtensionEnabled != false { + try visitor.visitSingularBoolField(value: self.clickExtensionEnabled, fieldNumber: 2) + } + if !self.applicableBuffs.isEmpty { + try visitor.visitPackedEnumField(value: self.applicableBuffs, fieldNumber: 3) + } + if self.friendshipLuckyEggEnabled != false { + try visitor.visitSingularBoolField(value: self.friendshipLuckyEggEnabled, fieldNumber: 4) } - try { if let v = self._rewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClaimVsSeekerRewardsOutProto, rhs: ClaimVsSeekerRewardsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._rewards != rhs._rewards {return false} + public static func ==(lhs: BuffSettingsProto, rhs: BuffSettingsProto) -> Bool { + if lhs.countdownReminderS != rhs.countdownReminderS {return false} + if lhs.clickExtensionEnabled != rhs.clickExtensionEnabled {return false} + if lhs.applicableBuffs != rhs.applicableBuffs {return false} + if lhs.friendshipLuckyEggEnabled != rhs.friendshipLuckyEggEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClaimVsSeekerRewardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_REDEEM_POKEMON"), - 3: .same(proto: "ERROR_PLAYER_NOT_ENOUGH_VICTORIES"), - 4: .same(proto: "ERROR_REWARD_ALREADY_CLAIMED"), - 5: .same(proto: "ERROR_INVENTORY_FULL"), - ] -} - -extension ClaimVsSeekerRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClaimVsSeekerRewardsProto" +extension BuildingMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BuildingMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "win_index"), + 1: .standard(proto: "height_meters"), + 2: .standard(proto: "is_underground"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177636,30 +182956,36 @@ extension ClaimVsSeekerRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.winIndex) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.heightMeters) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isUnderground) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.winIndex != 0 { - try visitor.visitSingularInt32Field(value: self.winIndex, fieldNumber: 1) + if self.heightMeters != 0 { + try visitor.visitSingularInt32Field(value: self.heightMeters, fieldNumber: 1) + } + if self.isUnderground != false { + try visitor.visitSingularBoolField(value: self.isUnderground, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClaimVsSeekerRewardsProto, rhs: ClaimVsSeekerRewardsProto) -> Bool { - if lhs.winIndex != rhs.winIndex {return false} + public static func ==(lhs: BuildingMetadata, rhs: BuildingMetadata) -> Bool { + if lhs.heightMeters != rhs.heightMeters {return false} + if lhs.isUnderground != rhs.isUnderground {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientApiSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientApiSettingsProto" +extension BulkHealingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".BulkHealingSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "payload"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "max_pokemons_per_heal"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177668,37 +182994,37 @@ extension ClientApiSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxPokemonsPerHeal) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.payload.isEmpty { - try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.maxPokemonsPerHeal != 0 { + try visitor.visitSingularInt32Field(value: self.maxPokemonsPerHeal, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientApiSettingsProto, rhs: ClientApiSettingsProto) -> Bool { - if lhs.payload != rhs.payload {return false} + public static func ==(lhs: BulkHealingSettingsProto, rhs: BulkHealingSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.maxPokemonsPerHeal != rhs.maxPokemonsPerHeal {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientApiSettingsProto.SettingsType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "MAP"), - ] -} - -extension ClientContestIncidentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientContestIncidentProto" +extension ButterflyCollectorBadgeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorBadgeData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contests"), + 1: .same(proto: "version"), + 2: .same(proto: "region"), + 3: .same(proto: "encounter"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177707,35 +183033,46 @@ extension ClientContestIncidentProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contests) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.version) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.region) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.encounter) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.contests.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contests, fieldNumber: 1) + if self.version != 0 { + try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 1) + } + if !self.region.isEmpty { + try visitor.visitRepeatedMessageField(value: self.region, fieldNumber: 2) + } + if !self.encounter.isEmpty { + try visitor.visitRepeatedMessageField(value: self.encounter, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientContestIncidentProto, rhs: ClientContestIncidentProto) -> Bool { - if lhs.contests != rhs.contests {return false} + public static func ==(lhs: ButterflyCollectorBadgeData, rhs: ButterflyCollectorBadgeData) -> Bool { + if lhs.version != rhs.version {return false} + if lhs.region != rhs.region {return false} + if lhs.encounter != rhs.encounter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientDialogueLineProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientDialogueLineProto" +extension ButterflyCollectorRegionMedal: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorRegionMedal" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "text"), - 2: .same(proto: "character"), - 3: .same(proto: "expression"), - 4: .standard(proto: "ob_string"), - 5: .standard(proto: "dialogue_line_status"), - 6: .standard(proto: "ob_loot"), + 1: .same(proto: "region"), + 2: .same(proto: "rank"), + 3: .same(proto: "state"), + 4: .same(proto: "progress"), + 5: .same(proto: "goal"), + 6: .standard(proto: "postcard_origin"), + 7: .standard(proto: "received_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177744,77 +183081,67 @@ extension ClientDialogueLineProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.text) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.character) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.expression) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.dialogueLineStatus) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._obLoot) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.region) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rank) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.state) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.progress) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.goal) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.postcardOrigin) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.receivedTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.text.isEmpty { - try visitor.visitSingularStringField(value: self.text, fieldNumber: 1) + if self.region != .unknown { + try visitor.visitSingularEnumField(value: self.region, fieldNumber: 1) } - if self.character != .characterUnset { - try visitor.visitSingularEnumField(value: self.character, fieldNumber: 2) + if self.rank != 0 { + try visitor.visitSingularInt32Field(value: self.rank, fieldNumber: 2) } - if self.expression != .expressionUnset { - try visitor.visitSingularEnumField(value: self.expression, fieldNumber: 3) + if self.state != .progress { + try visitor.visitSingularEnumField(value: self.state, fieldNumber: 3) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 4) + if self.progress != 0 { + try visitor.visitSingularInt32Field(value: self.progress, fieldNumber: 4) } - if self.dialogueLineStatus != .unset { - try visitor.visitSingularEnumField(value: self.dialogueLineStatus, fieldNumber: 5) + if self.goal != 0 { + try visitor.visitSingularInt32Field(value: self.goal, fieldNumber: 5) + } + if self.postcardOrigin != 0 { + try visitor.visitSingularInt64Field(value: self.postcardOrigin, fieldNumber: 6) + } + if self.receivedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.receivedTimeMs, fieldNumber: 7) } - try { if let v = self._obLoot { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientDialogueLineProto, rhs: ClientDialogueLineProto) -> Bool { - if lhs.text != rhs.text {return false} - if lhs.character != rhs.character {return false} - if lhs.expression != rhs.expression {return false} - if lhs.obString != rhs.obString {return false} - if lhs.dialogueLineStatus != rhs.dialogueLineStatus {return false} - if lhs._obLoot != rhs._obLoot {return false} + public static func ==(lhs: ButterflyCollectorRegionMedal, rhs: ButterflyCollectorRegionMedal) -> Bool { + if lhs.region != rhs.region {return false} + if lhs.rank != rhs.rank {return false} + if lhs.state != rhs.state {return false} + if lhs.progress != rhs.progress {return false} + if lhs.goal != rhs.goal {return false} + if lhs.postcardOrigin != rhs.postcardOrigin {return false} + if lhs.receivedTimeMs != rhs.receivedTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientDialogueLineProto.DialogueLineStatus: SwiftProtobuf._ProtoNameProviding { +extension ButterflyCollectorRegionMedal.State: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "RIGHT"), - 2: .same(proto: "LEFT"), + 0: .same(proto: "PROGRESS"), + 1: .same(proto: "COMPLETE"), ] } -extension ClientEnvironmentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientEnvironmentProto" +extension ButterflyCollectorRewardEncounterProtoRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorRewardEncounterProtoRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "language_code"), - 2: .same(proto: "timezone"), - 3: .standard(proto: "device_country_code"), - 4: .standard(proto: "ip_country_code"), - 5: .standard(proto: "client_version"), - 6: .standard(proto: "device_type"), - 7: .standard(proto: "device_os"), - 8: .standard(proto: "graphics_device_vendor"), - 9: .standard(proto: "graphics_device_name"), - 10: .standard(proto: "graphics_device_type"), - 11: .standard(proto: "graphics_shader_level"), + 1: .same(proto: "region"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177823,84 +183150,35 @@ extension ClientEnvironmentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.timezone) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.deviceCountryCode) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.ipCountryCode) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.clientVersion) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.deviceType) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.deviceOs) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceVendor) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceName) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceType) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.graphicsShaderLevel) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.region) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.languageCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 1) - } - if !self.timezone.isEmpty { - try visitor.visitSingularStringField(value: self.timezone, fieldNumber: 2) - } - if !self.deviceCountryCode.isEmpty { - try visitor.visitSingularStringField(value: self.deviceCountryCode, fieldNumber: 3) - } - if !self.ipCountryCode.isEmpty { - try visitor.visitSingularStringField(value: self.ipCountryCode, fieldNumber: 4) - } - if !self.clientVersion.isEmpty { - try visitor.visitSingularStringField(value: self.clientVersion, fieldNumber: 5) - } - if !self.deviceType.isEmpty { - try visitor.visitSingularStringField(value: self.deviceType, fieldNumber: 6) - } - if !self.deviceOs.isEmpty { - try visitor.visitSingularStringField(value: self.deviceOs, fieldNumber: 7) - } - if !self.graphicsDeviceVendor.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceVendor, fieldNumber: 8) - } - if !self.graphicsDeviceName.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceName, fieldNumber: 9) - } - if !self.graphicsDeviceType.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceType, fieldNumber: 10) - } - if !self.graphicsShaderLevel.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsShaderLevel, fieldNumber: 11) + if self.region != .unknown { + try visitor.visitSingularEnumField(value: self.region, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientEnvironmentProto, rhs: ClientEnvironmentProto) -> Bool { - if lhs.languageCode != rhs.languageCode {return false} - if lhs.timezone != rhs.timezone {return false} - if lhs.deviceCountryCode != rhs.deviceCountryCode {return false} - if lhs.ipCountryCode != rhs.ipCountryCode {return false} - if lhs.clientVersion != rhs.clientVersion {return false} - if lhs.deviceType != rhs.deviceType {return false} - if lhs.deviceOs != rhs.deviceOs {return false} - if lhs.graphicsDeviceVendor != rhs.graphicsDeviceVendor {return false} - if lhs.graphicsDeviceName != rhs.graphicsDeviceName {return false} - if lhs.graphicsDeviceType != rhs.graphicsDeviceType {return false} - if lhs.graphicsShaderLevel != rhs.graphicsShaderLevel {return false} + public static func ==(lhs: ButterflyCollectorRewardEncounterProtoRequest, rhs: ButterflyCollectorRewardEncounterProtoRequest) -> Bool { + if lhs.region != rhs.region {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientEvolutionQuestTemplateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientEvolutionQuestTemplateProto" +extension ButterflyCollectorRewardEncounterProtoResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorRewardEncounterProtoResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "quest_template_id"), - 2: .standard(proto: "quest_type"), - 3: .same(proto: "goals"), - 4: .same(proto: "context"), - 5: .same(proto: "display"), + 1: .same(proto: "result"), + 2: .same(proto: "rewards"), + 3: .same(proto: "pokemon"), + 4: .standard(proto: "capture_probability"), + 5: .standard(proto: "active_item"), + 6: .standard(proto: "encounter_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -177909,11 +183187,12 @@ extension ClientEvolutionQuestTemplateProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.questTemplateID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.questType) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.goals) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.context) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._display) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 6: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() default: break } } @@ -177924,84 +183203,54 @@ extension ClientEvolutionQuestTemplateProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.questTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.questTemplateID, fieldNumber: 1) - } - if self.questType != .questUnset { - try visitor.visitSingularEnumField(value: self.questType, fieldNumber: 2) + if self.result != .unknown { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.goals.isEmpty { - try visitor.visitRepeatedMessageField(value: self.goals, fieldNumber: 3) + try { if let v = self._rewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._captureProbability { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 5) } - if self.context != .unset { - try visitor.visitSingularEnumField(value: self.context, fieldNumber: 4) + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 6) } - try { if let v = self._display { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientEvolutionQuestTemplateProto, rhs: ClientEvolutionQuestTemplateProto) -> Bool { - if lhs.questTemplateID != rhs.questTemplateID {return false} - if lhs.questType != rhs.questType {return false} - if lhs.goals != rhs.goals {return false} - if lhs.context != rhs.context {return false} - if lhs._display != rhs._display {return false} + public static func ==(lhs: ButterflyCollectorRewardEncounterProtoResponse, rhs: ButterflyCollectorRewardEncounterProtoResponse) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._rewards != rhs._rewards {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} + if lhs.encounterID != rhs.encounterID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientFortModifierProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientFortModifierProto" +extension ButterflyCollectorRewardEncounterProtoResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "modifier_type"), - 2: .standard(proto: "expiration_time_ms"), - 3: .standard(proto: "deploying_player_codename"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "SUCCESS_ENCOUNTER"), + 2: .same(proto: "SUCCESS_POKEMON_INVENTORY_FULL"), + 3: .same(proto: "ERROR_REQUIRES_PROGRESS"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.modifierType) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTimeMs) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.deployingPlayerCodename) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.modifierType != .unknown { - try visitor.visitSingularEnumField(value: self.modifierType, fieldNumber: 1) - } - if self.expirationTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.expirationTimeMs, fieldNumber: 2) - } - if !self.deployingPlayerCodename.isEmpty { - try visitor.visitSingularStringField(value: self.deployingPlayerCodename, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ClientFortModifierProto, rhs: ClientFortModifierProto) -> Bool { - if lhs.modifierType != rhs.modifierType {return false} - if lhs.expirationTimeMs != rhs.expirationTimeMs {return false} - if lhs.deployingPlayerCodename != rhs.deployingPlayerCodename {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension ClientGameMasterTemplateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientGameMasterTemplateProto" +extension ButterflyCollectorRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorRewardsLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "template_id"), - 2: .same(proto: "data"), + 1: .same(proto: "result"), + 2: .same(proto: "rewards"), + 3: .standard(proto: "vivillon_region"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178010,8 +183259,9 @@ extension ClientGameMasterTemplateProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.templateID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._data) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.vivillonRegion) }() default: break } } @@ -178022,29 +183272,43 @@ extension ClientGameMasterTemplateProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.templateID.isEmpty { - try visitor.visitSingularStringField(value: self.templateID, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._data { + try { if let v = self._rewards { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() + if self.vivillonRegion != .unknown { + try visitor.visitSingularEnumField(value: self.vivillonRegion, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientGameMasterTemplateProto, rhs: ClientGameMasterTemplateProto) -> Bool { - if lhs.templateID != rhs.templateID {return false} - if lhs._data != rhs._data {return false} + public static func ==(lhs: ButterflyCollectorRewardsLogEntry, rhs: ButterflyCollectorRewardsLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._rewards != rhs._rewards {return false} + if lhs.vivillonRegion != rhs.vivillonRegion {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientGenderProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientGenderProto" +extension ButterflyCollectorRewardsLogEntry.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "male_percent"), - 2: .standard(proto: "female_percent"), - 3: .standard(proto: "genderless_percent"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + ] +} + +extension ButterflyCollectorSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ButterflyCollectorSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + 2: .same(proto: "version"), + 3: .same(proto: "region"), + 4: .standard(proto: "use_postcard_modifier"), + 5: .standard(proto: "daily_progress_from_inventory"), + 100: .standard(proto: "region_override"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178053,42 +183317,70 @@ extension ClientGenderProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.malePercent) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.femalePercent) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.genderlessPercent) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.version) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.region) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.usePostcardModifier) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.dailyProgressFromInventory) }() + case 100: try { try decoder.decodeSingularEnumField(value: &self.regionOverride) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.malePercent != 0 { - try visitor.visitSingularFloatField(value: self.malePercent, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } - if self.femalePercent != 0 { - try visitor.visitSingularFloatField(value: self.femalePercent, fieldNumber: 2) + if self.version != 0 { + try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 2) } - if self.genderlessPercent != 0 { - try visitor.visitSingularFloatField(value: self.genderlessPercent, fieldNumber: 3) + if !self.region.isEmpty { + try visitor.visitPackedEnumField(value: self.region, fieldNumber: 3) + } + if self.usePostcardModifier != false { + try visitor.visitSingularBoolField(value: self.usePostcardModifier, fieldNumber: 4) + } + if self.dailyProgressFromInventory != 0 { + try visitor.visitSingularInt32Field(value: self.dailyProgressFromInventory, fieldNumber: 5) + } + if self.regionOverride != .unknown { + try visitor.visitSingularEnumField(value: self.regionOverride, fieldNumber: 100) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientGenderProto, rhs: ClientGenderProto) -> Bool { - if lhs.malePercent != rhs.malePercent {return false} - if lhs.femalePercent != rhs.femalePercent {return false} - if lhs.genderlessPercent != rhs.genderlessPercent {return false} + public static func ==(lhs: ButterflyCollectorSettings, rhs: ButterflyCollectorSettings) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.version != rhs.version {return false} + if lhs.region != rhs.region {return false} + if lhs.usePostcardModifier != rhs.usePostcardModifier {return false} + if lhs.dailyProgressFromInventory != rhs.dailyProgressFromInventory {return false} + if lhs.regionOverride != rhs.regionOverride {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientGenderSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientGenderSettingsProto" +extension CameraSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CameraSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .same(proto: "gender"), - 3: .same(proto: "form"), + 1: .standard(proto: "next_camera"), + 2: .same(proto: "interpolation"), + 3: .standard(proto: "target_type"), + 4: .standard(proto: "ease_in_speed"), + 5: .standard(proto: "ease_out_speed"), + 6: .standard(proto: "duration_s"), + 7: .standard(proto: "wait_s"), + 8: .standard(proto: "transition_s"), + 9: .standard(proto: "angle_deg"), + 10: .standard(proto: "angle_offset_deg"), + 11: .standard(proto: "pitch_deg"), + 12: .standard(proto: "pitch_offset_deg"), + 13: .standard(proto: "roll_deg"), + 14: .standard(proto: "distance_m"), + 15: .standard(proto: "height_percent"), + 16: .standard(proto: "vert_ctr_ratio"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178097,45 +183389,113 @@ extension ClientGenderSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemon) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._gender) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.form) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.nextCamera) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.interpolation) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.targetType) }() + case 4: try { try decoder.decodeRepeatedFloatField(value: &self.easeInSpeed) }() + case 5: try { try decoder.decodeRepeatedFloatField(value: &self.easeOutSpeed) }() + case 6: try { try decoder.decodeRepeatedFloatField(value: &self.durationS) }() + case 7: try { try decoder.decodeRepeatedFloatField(value: &self.waitS) }() + case 8: try { try decoder.decodeRepeatedFloatField(value: &self.transitionS) }() + case 9: try { try decoder.decodeRepeatedFloatField(value: &self.angleDeg) }() + case 10: try { try decoder.decodeRepeatedFloatField(value: &self.angleOffsetDeg) }() + case 11: try { try decoder.decodeRepeatedFloatField(value: &self.pitchDeg) }() + case 12: try { try decoder.decodeRepeatedFloatField(value: &self.pitchOffsetDeg) }() + case 13: try { try decoder.decodeRepeatedFloatField(value: &self.rollDeg) }() + case 14: try { try decoder.decodeRepeatedFloatField(value: &self.distanceM) }() + case 15: try { try decoder.decodeRepeatedFloatField(value: &self.heightPercent) }() + case 16: try { try decoder.decodeRepeatedFloatField(value: &self.vertCtrRatio) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.pokemon != .missingno { - try visitor.visitSingularEnumField(value: self.pokemon, fieldNumber: 1) + if !self.nextCamera.isEmpty { + try visitor.visitSingularStringField(value: self.nextCamera, fieldNumber: 1) } - try { if let v = self._gender { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.form != .unset { - try visitor.visitSingularEnumField(value: self.form, fieldNumber: 3) + if !self.interpolation.isEmpty { + try visitor.visitPackedEnumField(value: self.interpolation, fieldNumber: 2) + } + if !self.targetType.isEmpty { + try visitor.visitPackedEnumField(value: self.targetType, fieldNumber: 3) + } + if !self.easeInSpeed.isEmpty { + try visitor.visitPackedFloatField(value: self.easeInSpeed, fieldNumber: 4) + } + if !self.easeOutSpeed.isEmpty { + try visitor.visitPackedFloatField(value: self.easeOutSpeed, fieldNumber: 5) + } + if !self.durationS.isEmpty { + try visitor.visitPackedFloatField(value: self.durationS, fieldNumber: 6) + } + if !self.waitS.isEmpty { + try visitor.visitPackedFloatField(value: self.waitS, fieldNumber: 7) + } + if !self.transitionS.isEmpty { + try visitor.visitPackedFloatField(value: self.transitionS, fieldNumber: 8) + } + if !self.angleDeg.isEmpty { + try visitor.visitPackedFloatField(value: self.angleDeg, fieldNumber: 9) + } + if !self.angleOffsetDeg.isEmpty { + try visitor.visitPackedFloatField(value: self.angleOffsetDeg, fieldNumber: 10) + } + if !self.pitchDeg.isEmpty { + try visitor.visitPackedFloatField(value: self.pitchDeg, fieldNumber: 11) + } + if !self.pitchOffsetDeg.isEmpty { + try visitor.visitPackedFloatField(value: self.pitchOffsetDeg, fieldNumber: 12) + } + if !self.rollDeg.isEmpty { + try visitor.visitPackedFloatField(value: self.rollDeg, fieldNumber: 13) + } + if !self.distanceM.isEmpty { + try visitor.visitPackedFloatField(value: self.distanceM, fieldNumber: 14) + } + if !self.heightPercent.isEmpty { + try visitor.visitPackedFloatField(value: self.heightPercent, fieldNumber: 15) + } + if !self.vertCtrRatio.isEmpty { + try visitor.visitPackedFloatField(value: self.vertCtrRatio, fieldNumber: 16) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientGenderSettingsProto, rhs: ClientGenderSettingsProto) -> Bool { - if lhs.pokemon != rhs.pokemon {return false} - if lhs._gender != rhs._gender {return false} - if lhs.form != rhs.form {return false} + public static func ==(lhs: CameraSettingsProto, rhs: CameraSettingsProto) -> Bool { + if lhs.nextCamera != rhs.nextCamera {return false} + if lhs.interpolation != rhs.interpolation {return false} + if lhs.targetType != rhs.targetType {return false} + if lhs.easeInSpeed != rhs.easeInSpeed {return false} + if lhs.easeOutSpeed != rhs.easeOutSpeed {return false} + if lhs.durationS != rhs.durationS {return false} + if lhs.waitS != rhs.waitS {return false} + if lhs.transitionS != rhs.transitionS {return false} + if lhs.angleDeg != rhs.angleDeg {return false} + if lhs.angleOffsetDeg != rhs.angleOffsetDeg {return false} + if lhs.pitchDeg != rhs.pitchDeg {return false} + if lhs.pitchOffsetDeg != rhs.pitchOffsetDeg {return false} + if lhs.rollDeg != rhs.rollDeg {return false} + if lhs.distanceM != rhs.distanceM {return false} + if lhs.heightPercent != rhs.heightPercent {return false} + if lhs.vertCtrRatio != rhs.vertCtrRatio {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientInbox: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientInbox" +extension CampfireSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CampfireSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "notifications"), - 2: .standard(proto: "builtin_variables"), + 1: .standard(proto: "campfire_enabled"), + 2: .standard(proto: "map_buttons_enabled"), + 3: .standard(proto: "catch_card_enabled"), + 4: .standard(proto: "ar_catch_card_enabled"), + 5: .standard(proto: "catch_card_template_bundle_keys"), + 6: .standard(proto: "catch_card_available_seconds"), + 7: .standard(proto: "settings_toggle_enabled"), + 8: .standard(proto: "catch_card_share_campfire_enabled"), + 9: .standard(proto: "ar_catch_card_share_campfire_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178144,50 +183504,70 @@ extension ClientInbox: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.notifications) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.builtinVariables) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.campfireEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.mapButtonsEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.catchCardEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.arCatchCardEnabled) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &self.catchCardTemplateBundleKeys) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.catchCardAvailableSeconds) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.settingsToggleEnabled) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.catchCardShareCampfireEnabled) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.arCatchCardShareCampfireEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.notifications.isEmpty { - try visitor.visitRepeatedMessageField(value: self.notifications, fieldNumber: 1) + if self.campfireEnabled != false { + try visitor.visitSingularBoolField(value: self.campfireEnabled, fieldNumber: 1) } - if !self.builtinVariables.isEmpty { - try visitor.visitRepeatedMessageField(value: self.builtinVariables, fieldNumber: 2) + if self.mapButtonsEnabled != false { + try visitor.visitSingularBoolField(value: self.mapButtonsEnabled, fieldNumber: 2) + } + if self.catchCardEnabled != false { + try visitor.visitSingularBoolField(value: self.catchCardEnabled, fieldNumber: 3) + } + if self.arCatchCardEnabled != false { + try visitor.visitSingularBoolField(value: self.arCatchCardEnabled, fieldNumber: 4) + } + if !self.catchCardTemplateBundleKeys.isEmpty { + try visitor.visitRepeatedStringField(value: self.catchCardTemplateBundleKeys, fieldNumber: 5) + } + if self.catchCardAvailableSeconds != 0 { + try visitor.visitSingularInt32Field(value: self.catchCardAvailableSeconds, fieldNumber: 6) + } + if self.settingsToggleEnabled != false { + try visitor.visitSingularBoolField(value: self.settingsToggleEnabled, fieldNumber: 7) + } + if self.catchCardShareCampfireEnabled != false { + try visitor.visitSingularBoolField(value: self.catchCardShareCampfireEnabled, fieldNumber: 8) + } + if self.arCatchCardShareCampfireEnabled != false { + try visitor.visitSingularBoolField(value: self.arCatchCardShareCampfireEnabled, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientInbox, rhs: ClientInbox) -> Bool { - if lhs.notifications != rhs.notifications {return false} - if lhs.builtinVariables != rhs.builtinVariables {return false} + public static func ==(lhs: CampfireSettingsProto, rhs: CampfireSettingsProto) -> Bool { + if lhs.campfireEnabled != rhs.campfireEnabled {return false} + if lhs.mapButtonsEnabled != rhs.mapButtonsEnabled {return false} + if lhs.catchCardEnabled != rhs.catchCardEnabled {return false} + if lhs.arCatchCardEnabled != rhs.arCatchCardEnabled {return false} + if lhs.catchCardTemplateBundleKeys != rhs.catchCardTemplateBundleKeys {return false} + if lhs.catchCardAvailableSeconds != rhs.catchCardAvailableSeconds {return false} + if lhs.settingsToggleEnabled != rhs.settingsToggleEnabled {return false} + if lhs.catchCardShareCampfireEnabled != rhs.catchCardShareCampfireEnabled {return false} + if lhs.arCatchCardShareCampfireEnabled != rhs.arCatchCardShareCampfireEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientInbox.Label: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_LABEL"), - 1: .same(proto: "UNREAD"), - 2: .same(proto: "NEW"), - 3: .same(proto: "IMMEDIATE"), - ] -} - -extension ClientInbox.Notification: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ClientInbox.protoMessageName + ".Notification" +extension CanClaimPtcRewardActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CanClaimPtcRewardActionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "notification_id"), - 2: .standard(proto: "title_key"), - 3: .same(proto: "category"), - 4: .standard(proto: "create_timestamp_ms"), - 5: .same(proto: "variables"), - 6: .same(proto: "labels"), - 7: .standard(proto: "expire_time_ms"), + 1: .standard(proto: "can_claim"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178196,195 +183576,50 @@ extension ClientInbox.Notification: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.notificationID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.titleKey) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.category) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.createTimestampMs) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.variables) }() - case 6: try { try decoder.decodeRepeatedEnumField(value: &self.labels) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.expireTimeMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.canClaim) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.notificationID.isEmpty { - try visitor.visitSingularStringField(value: self.notificationID, fieldNumber: 1) - } - if !self.titleKey.isEmpty { - try visitor.visitSingularStringField(value: self.titleKey, fieldNumber: 2) - } - if !self.category.isEmpty { - try visitor.visitSingularStringField(value: self.category, fieldNumber: 3) - } - if self.createTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.createTimestampMs, fieldNumber: 4) - } - if !self.variables.isEmpty { - try visitor.visitRepeatedMessageField(value: self.variables, fieldNumber: 5) - } - if !self.labels.isEmpty { - try visitor.visitPackedEnumField(value: self.labels, fieldNumber: 6) - } - if self.expireTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.expireTimeMs, fieldNumber: 7) + if self.canClaim != false { + try visitor.visitSingularBoolField(value: self.canClaim, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientInbox.Notification, rhs: ClientInbox.Notification) -> Bool { - if lhs.notificationID != rhs.notificationID {return false} - if lhs.titleKey != rhs.titleKey {return false} - if lhs.category != rhs.category {return false} - if lhs.createTimestampMs != rhs.createTimestampMs {return false} - if lhs.variables != rhs.variables {return false} - if lhs.labels != rhs.labels {return false} - if lhs.expireTimeMs != rhs.expireTimeMs {return false} + public static func ==(lhs: CanClaimPtcRewardActionOutProto, rhs: CanClaimPtcRewardActionOutProto) -> Bool { + if lhs.canClaim != rhs.canClaim {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientIncidentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientIncidentProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "incident_id"), - 2: .standard(proto: "fort_id"), - 3: .standard(proto: "fort_name"), - 4: .standard(proto: "pokestop_image_uri"), - 5: .standard(proto: "current_step"), - 6: .same(proto: "step"), - 7: .standard(proto: "completion_display"), - 8: .same(proto: "context"), - 9: .standard(proto: "incident_start_phase"), - ] - - fileprivate class _StorageClass { - var _incidentID: String = String() - var _fortID: String = String() - var _fortName: String = String() - var _pokestopImageUri: String = String() - var _currentStep: Int32 = 0 - var _step: [ClientIncidentStepProto] = [] - var _completionDisplay: PokestopIncidentDisplayProto? = nil - var _context: EnumWrapper.InvasionContext = .pokestopIncident - var _incidentStartPhase: EnumWrapper.IncidentStartPhase = .incidentStartOnSpinOrExit - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _incidentID = source._incidentID - _fortID = source._fortID - _fortName = source._fortName - _pokestopImageUri = source._pokestopImageUri - _currentStep = source._currentStep - _step = source._step - _completionDisplay = source._completionDisplay - _context = source._context - _incidentStartPhase = source._incidentStartPhase - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } +extension CanClaimPtcRewardActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CanClaimPtcRewardActionProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._incidentID) }() - case 2: try { try decoder.decodeSingularStringField(value: &_storage._fortID) }() - case 3: try { try decoder.decodeSingularStringField(value: &_storage._fortName) }() - case 4: try { try decoder.decodeSingularStringField(value: &_storage._pokestopImageUri) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._currentStep) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &_storage._step) }() - case 7: try { try decoder.decodeSingularMessageField(value: &_storage._completionDisplay) }() - case 8: try { try decoder.decodeSingularEnumField(value: &_storage._context) }() - case 9: try { try decoder.decodeSingularEnumField(value: &_storage._incidentStartPhase) }() - default: break - } - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._incidentID.isEmpty { - try visitor.visitSingularStringField(value: _storage._incidentID, fieldNumber: 1) - } - if !_storage._fortID.isEmpty { - try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 2) - } - if !_storage._fortName.isEmpty { - try visitor.visitSingularStringField(value: _storage._fortName, fieldNumber: 3) - } - if !_storage._pokestopImageUri.isEmpty { - try visitor.visitSingularStringField(value: _storage._pokestopImageUri, fieldNumber: 4) - } - if _storage._currentStep != 0 { - try visitor.visitSingularInt32Field(value: _storage._currentStep, fieldNumber: 5) - } - if !_storage._step.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._step, fieldNumber: 6) - } - try { if let v = _storage._completionDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - } }() - if _storage._context != .pokestopIncident { - try visitor.visitSingularEnumField(value: _storage._context, fieldNumber: 8) - } - if _storage._incidentStartPhase != .incidentStartOnSpinOrExit { - try visitor.visitSingularEnumField(value: _storage._incidentStartPhase, fieldNumber: 9) - } - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientIncidentProto, rhs: ClientIncidentProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._incidentID != rhs_storage._incidentID {return false} - if _storage._fortID != rhs_storage._fortID {return false} - if _storage._fortName != rhs_storage._fortName {return false} - if _storage._pokestopImageUri != rhs_storage._pokestopImageUri {return false} - if _storage._currentStep != rhs_storage._currentStep {return false} - if _storage._step != rhs_storage._step {return false} - if _storage._completionDisplay != rhs_storage._completionDisplay {return false} - if _storage._context != rhs_storage._context {return false} - if _storage._incidentStartPhase != rhs_storage._incidentStartPhase {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: CanClaimPtcRewardActionProto, rhs: CanClaimPtcRewardActionProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientIncidentStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientIncidentStepProto" +extension CanReportRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CanReportRouteOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "invasion_battle"), - 2: .standard(proto: "invasion_encounter"), - 3: .standard(proto: "pokestop_dialogue"), - 4: .standard(proto: "pokestop_spin"), + 1: .same(proto: "result"), + 2: .standard(proto: "remaining_cooldown_days"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178393,101 +183628,35 @@ extension ClientIncidentStepProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: ClientInvasionBattleStepProto? - var hadOneofValue = false - if let current = self.clientIncidentStep { - hadOneofValue = true - if case .invasionBattle(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.clientIncidentStep = .invasionBattle(v) - } - }() - case 2: try { - var v: ClientInvasionEncounterStepProto? - var hadOneofValue = false - if let current = self.clientIncidentStep { - hadOneofValue = true - if case .invasionEncounter(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.clientIncidentStep = .invasionEncounter(v) - } - }() - case 3: try { - var v: ClientPokestopNpcDialogueStepProto? - var hadOneofValue = false - if let current = self.clientIncidentStep { - hadOneofValue = true - if case .pokestopDialogue(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.clientIncidentStep = .pokestopDialogue(v) - } - }() - case 4: try { - var v: ClientPokestopSpinStepProto? - var hadOneofValue = false - if let current = self.clientIncidentStep { - hadOneofValue = true - if case .pokestopSpin(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.clientIncidentStep = .pokestopSpin(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.remainingCooldownDays) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.clientIncidentStep { - case .invasionBattle?: try { - guard case .invasionBattle(let v)? = self.clientIncidentStep else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .invasionEncounter?: try { - guard case .invasionEncounter(let v)? = self.clientIncidentStep else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .pokestopDialogue?: try { - guard case .pokestopDialogue(let v)? = self.clientIncidentStep else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .pokestopSpin?: try { - guard case .pokestopSpin(let v)? = self.clientIncidentStep else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case nil: break + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if self.remainingCooldownDays != 0 { + try visitor.visitSingularInt32Field(value: self.remainingCooldownDays, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientIncidentStepProto, rhs: ClientIncidentStepProto) -> Bool { - if lhs.clientIncidentStep != rhs.clientIncidentStep {return false} + public static func ==(lhs: CanReportRouteOutProto, rhs: CanReportRouteOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.remainingCooldownDays != rhs.remainingCooldownDays {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientInvasionBattleStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientInvasionBattleStepProto" +extension CanReportRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CanReportRouteProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "character"), + 1: .standard(proto: "route_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178496,61 +183665,62 @@ extension ClientInvasionBattleStepProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.character) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.routeID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.character != .characterUnset { - try visitor.visitSingularEnumField(value: self.character, fieldNumber: 1) + if !self.routeID.isEmpty { + try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientInvasionBattleStepProto, rhs: ClientInvasionBattleStepProto) -> Bool { - if lhs.character != rhs.character {return false} + public static func ==(lhs: CanReportRouteProto, rhs: CanReportRouteProto) -> Bool { + if lhs.routeID != rhs.routeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientInvasionEncounterStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientInvasionEncounterStepProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension CancelCombatChallengeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelCombatChallengeData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "rpc_id"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientInvasionEncounterStepProto, rhs: ClientInvasionEncounterStepProto) -> Bool { + public static func ==(lhs: CancelCombatChallengeData, rhs: CancelCombatChallengeData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientMapCellProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientMapCellProto" +extension CancelCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelCombatChallengeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "s2_cell_id"), - 2: .standard(proto: "as_of_time_ms"), - 3: .same(proto: "fort"), - 4: .standard(proto: "spawn_point"), - 5: .standard(proto: "wild_pokemon"), - 6: .standard(proto: "deleted_object"), - 7: .standard(proto: "is_truncated_list"), - 8: .standard(proto: "fort_summary"), - 9: .standard(proto: "decimated_spawn_point"), - 10: .standard(proto: "catchable_pokemon"), - 11: .standard(proto: "nearby_pokemon"), - 15: .standard(proto: "route_list_hash"), - 16: .standard(proto: "ob_client_map_cell"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178559,93 +183729,43 @@ extension ClientMapCellProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.asOfTimeMs) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.fort) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.spawnPoint) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.wildPokemon) }() - case 6: try { try decoder.decodeRepeatedStringField(value: &self.deletedObject) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.isTruncatedList) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &self.fortSummary) }() - case 9: try { try decoder.decodeRepeatedMessageField(value: &self.decimatedSpawnPoint) }() - case 10: try { try decoder.decodeRepeatedMessageField(value: &self.catchablePokemon) }() - case 11: try { try decoder.decodeRepeatedMessageField(value: &self.nearbyPokemon) }() - case 15: try { try decoder.decodeSingularStringField(value: &self.routeListHash) }() - case 16: try { try decoder.decodeRepeatedMessageField(value: &self.obClientMapCell) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.s2CellID != 0 { - try visitor.visitSingularUInt64Field(value: self.s2CellID, fieldNumber: 1) - } - if self.asOfTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.asOfTimeMs, fieldNumber: 2) - } - if !self.fort.isEmpty { - try visitor.visitRepeatedMessageField(value: self.fort, fieldNumber: 3) - } - if !self.spawnPoint.isEmpty { - try visitor.visitRepeatedMessageField(value: self.spawnPoint, fieldNumber: 4) - } - if !self.wildPokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: self.wildPokemon, fieldNumber: 5) - } - if !self.deletedObject.isEmpty { - try visitor.visitRepeatedStringField(value: self.deletedObject, fieldNumber: 6) - } - if self.isTruncatedList != false { - try visitor.visitSingularBoolField(value: self.isTruncatedList, fieldNumber: 7) - } - if !self.fortSummary.isEmpty { - try visitor.visitRepeatedMessageField(value: self.fortSummary, fieldNumber: 8) - } - if !self.decimatedSpawnPoint.isEmpty { - try visitor.visitRepeatedMessageField(value: self.decimatedSpawnPoint, fieldNumber: 9) - } - if !self.catchablePokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: self.catchablePokemon, fieldNumber: 10) - } - if !self.nearbyPokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: self.nearbyPokemon, fieldNumber: 11) - } - if !self.routeListHash.isEmpty { - try visitor.visitSingularStringField(value: self.routeListHash, fieldNumber: 15) - } - if !self.obClientMapCell.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obClientMapCell, fieldNumber: 16) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientMapCellProto, rhs: ClientMapCellProto) -> Bool { - if lhs.s2CellID != rhs.s2CellID {return false} - if lhs.asOfTimeMs != rhs.asOfTimeMs {return false} - if lhs.fort != rhs.fort {return false} - if lhs.spawnPoint != rhs.spawnPoint {return false} - if lhs.wildPokemon != rhs.wildPokemon {return false} - if lhs.deletedObject != rhs.deletedObject {return false} - if lhs.isTruncatedList != rhs.isTruncatedList {return false} - if lhs.fortSummary != rhs.fortSummary {return false} - if lhs.decimatedSpawnPoint != rhs.decimatedSpawnPoint {return false} - if lhs.catchablePokemon != rhs.catchablePokemon {return false} - if lhs.nearbyPokemon != rhs.nearbyPokemon {return false} - if lhs.routeListHash != rhs.routeListHash {return false} - if lhs.obClientMapCell != rhs.obClientMapCell {return false} + public static func ==(lhs: CancelCombatChallengeOutProto, rhs: CancelCombatChallengeOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientMetrics: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientMetrics" +extension CancelCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "window"), - 2: .standard(proto: "log_source_metrics"), - 3: .standard(proto: "global_metrics"), - 4: .standard(proto: "app_namespace"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), + 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), + 4: .same(proto: "ERROR_ALREADY_ACCEPTED"), + 5: .same(proto: "ERROR_ALREADY_DECLINED"), + 6: .same(proto: "ERROR_ALREADY_TIMEDOUT"), + 7: .same(proto: "ERROR_ACCESS_DENIED"), + ] +} + +extension CancelCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelCombatChallengeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "challenge_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178654,52 +183774,32 @@ extension ClientMetrics: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._window) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.logSourceMetrics) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._globalMetrics) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.appNamespace) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._window { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.logSourceMetrics.isEmpty { - try visitor.visitRepeatedMessageField(value: self.logSourceMetrics, fieldNumber: 2) - } - try { if let v = self._globalMetrics { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if !self.appNamespace.isEmpty { - try visitor.visitSingularStringField(value: self.appNamespace, fieldNumber: 4) + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientMetrics, rhs: ClientMetrics) -> Bool { - if lhs._window != rhs._window {return false} - if lhs.logSourceMetrics != rhs.logSourceMetrics {return false} - if lhs._globalMetrics != rhs._globalMetrics {return false} - if lhs.appNamespace != rhs.appNamespace {return false} + public static func ==(lhs: CancelCombatChallengeProto, rhs: CancelCombatChallengeProto) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientPerformanceSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientPerformanceSettingsProto" +extension CancelCombatChallengeResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelCombatChallengeResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_local_disk_caching"), - 2: .standard(proto: "max_number_local_battle_parties"), - 3: .standard(proto: "multi_pokemon_battle_party_select"), - 4: .standard(proto: "use_whole_match_for_filter_key"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -178708,345 +183808,72 @@ extension ClientPerformanceSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableLocalDiskCaching) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxNumberLocalBattleParties) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.multiPokemonBattlePartySelect) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.useWholeMatchForFilterKey) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableLocalDiskCaching != false { - try visitor.visitSingularBoolField(value: self.enableLocalDiskCaching, fieldNumber: 1) - } - if self.maxNumberLocalBattleParties != 0 { - try visitor.visitSingularInt32Field(value: self.maxNumberLocalBattleParties, fieldNumber: 2) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.multiPokemonBattlePartySelect != false { - try visitor.visitSingularBoolField(value: self.multiPokemonBattlePartySelect, fieldNumber: 3) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) } - if self.useWholeMatchForFilterKey != false { - try visitor.visitSingularBoolField(value: self.useWholeMatchForFilterKey, fieldNumber: 4) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientPerformanceSettingsProto, rhs: ClientPerformanceSettingsProto) -> Bool { - if lhs.enableLocalDiskCaching != rhs.enableLocalDiskCaching {return false} - if lhs.maxNumberLocalBattleParties != rhs.maxNumberLocalBattleParties {return false} - if lhs.multiPokemonBattlePartySelect != rhs.multiPokemonBattlePartySelect {return false} - if lhs.useWholeMatchForFilterKey != rhs.useWholeMatchForFilterKey {return false} + public static func ==(lhs: CancelCombatChallengeResponseData, rhs: CancelCombatChallengeResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientPlayerProto" +extension CancelMatchmakingData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelMatchmakingData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "creation_time_ms"), - 2: .same(proto: "name"), - 5: .same(proto: "team"), - 7: .standard(proto: "tutorial_complete"), - 8: .standard(proto: "player_avatar_proto"), - 9: .standard(proto: "max_pokemon_storage"), - 10: .standard(proto: "max_item_storage"), - 11: .standard(proto: "daily_bonus_proto"), - 12: .standard(proto: "equipped_badge_proto"), - 13: .standard(proto: "contact_settings_proto"), - 14: .standard(proto: "currency_balance"), - 15: .standard(proto: "remaining_codename_claims"), - 16: .standard(proto: "buddy_pokemon_proto"), - 17: .standard(proto: "battle_lockout_end_ms"), - 18: .standard(proto: "secondary_player_avatar_proto"), - 19: .standard(proto: "name_is_blacklisted"), - 20: .standard(proto: "social_player_settings"), - 21: .standard(proto: "combat_player_preferences"), - 22: .standard(proto: "player_support_id"), - 23: .standard(proto: "team_change_info"), - 24: .standard(proto: "consumed_eevee_easter_eggs"), - 25: .standard(proto: "combat_log"), - 26: .standard(proto: "time_zone_offset_ms"), - 27: .standard(proto: "buddy_observed_data"), - 28: .standard(proto: "helpshift_user_id"), - 29: .standard(proto: "player_preferences"), - 30: .standard(proto: "event_ticket_active_time"), - 31: .standard(proto: "lapsed_player_returned_time_ms"), - 33: .standard(proto: "max_postcard_storage"), - 35: .standard(proto: "pokecoin_caps"), + 1: .standard(proto: "rpc_id"), ] - fileprivate class _StorageClass { - var _creationTimeMs: Int64 = 0 - var _name: String = String() - var _team: Team = .unset - var _tutorialComplete: [TutorialCompletion] = [] - var _playerAvatarProto: PlayerAvatarProto? = nil - var _maxPokemonStorage: Int32 = 0 - var _maxItemStorage: Int32 = 0 - var _dailyBonusProto: DailyBonusProto? = nil - var _equippedBadgeProto: EquippedBadgeProto? = nil - var _contactSettingsProto: ContactSettingsProto? = nil - var _currencyBalance: [CurrencyQuantityProto] = [] - var _remainingCodenameClaims: Int32 = 0 - var _buddyPokemonProto: BuddyPokemonProto? = nil - var _battleLockoutEndMs: Int64 = 0 - var _secondaryPlayerAvatarProto: PlayerAvatarProto? = nil - var _nameIsBlacklisted: Bool = false - var _socialPlayerSettings: SocialPlayerSettingsProto? = nil - var _combatPlayerPreferences: CombatPlayerPreferencesProto? = nil - var _playerSupportID: String = String() - var _teamChangeInfo: TeamChangeInfoProto? = nil - var _consumedEeveeEasterEggs: [HoloPokemonId] = [] - var _combatLog: CombatLogProto? = nil - var _timeZoneOffsetMs: Int64 = 0 - var _buddyObservedData: BuddyObservedData? = nil - var _helpshiftUserID: String = String() - var _playerPreferences: PlayerPreferencesProto? = nil - var _eventTicketActiveTime: [EventTicketActiveTimeProto] = [] - var _lapsedPlayerReturnedTimeMs: Int64 = 0 - var _maxPostcardStorage: Int32 = 0 - var _pokecoinCaps: [PlayerPokecoinCapProto] = [] - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _creationTimeMs = source._creationTimeMs - _name = source._name - _team = source._team - _tutorialComplete = source._tutorialComplete - _playerAvatarProto = source._playerAvatarProto - _maxPokemonStorage = source._maxPokemonStorage - _maxItemStorage = source._maxItemStorage - _dailyBonusProto = source._dailyBonusProto - _equippedBadgeProto = source._equippedBadgeProto - _contactSettingsProto = source._contactSettingsProto - _currencyBalance = source._currencyBalance - _remainingCodenameClaims = source._remainingCodenameClaims - _buddyPokemonProto = source._buddyPokemonProto - _battleLockoutEndMs = source._battleLockoutEndMs - _secondaryPlayerAvatarProto = source._secondaryPlayerAvatarProto - _nameIsBlacklisted = source._nameIsBlacklisted - _socialPlayerSettings = source._socialPlayerSettings - _combatPlayerPreferences = source._combatPlayerPreferences - _playerSupportID = source._playerSupportID - _teamChangeInfo = source._teamChangeInfo - _consumedEeveeEasterEggs = source._consumedEeveeEasterEggs - _combatLog = source._combatLog - _timeZoneOffsetMs = source._timeZoneOffsetMs - _buddyObservedData = source._buddyObservedData - _helpshiftUserID = source._helpshiftUserID - _playerPreferences = source._playerPreferences - _eventTicketActiveTime = source._eventTicketActiveTime - _lapsedPlayerReturnedTimeMs = source._lapsedPlayerReturnedTimeMs - _maxPostcardStorage = source._maxPostcardStorage - _pokecoinCaps = source._pokecoinCaps - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &_storage._creationTimeMs) }() - case 2: try { try decoder.decodeSingularStringField(value: &_storage._name) }() - case 5: try { try decoder.decodeSingularEnumField(value: &_storage._team) }() - case 7: try { try decoder.decodeRepeatedEnumField(value: &_storage._tutorialComplete) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._playerAvatarProto) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPokemonStorage) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._maxItemStorage) }() - case 11: try { try decoder.decodeSingularMessageField(value: &_storage._dailyBonusProto) }() - case 12: try { try decoder.decodeSingularMessageField(value: &_storage._equippedBadgeProto) }() - case 13: try { try decoder.decodeSingularMessageField(value: &_storage._contactSettingsProto) }() - case 14: try { try decoder.decodeRepeatedMessageField(value: &_storage._currencyBalance) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._remainingCodenameClaims) }() - case 16: try { try decoder.decodeSingularMessageField(value: &_storage._buddyPokemonProto) }() - case 17: try { try decoder.decodeSingularInt64Field(value: &_storage._battleLockoutEndMs) }() - case 18: try { try decoder.decodeSingularMessageField(value: &_storage._secondaryPlayerAvatarProto) }() - case 19: try { try decoder.decodeSingularBoolField(value: &_storage._nameIsBlacklisted) }() - case 20: try { try decoder.decodeSingularMessageField(value: &_storage._socialPlayerSettings) }() - case 21: try { try decoder.decodeSingularMessageField(value: &_storage._combatPlayerPreferences) }() - case 22: try { try decoder.decodeSingularStringField(value: &_storage._playerSupportID) }() - case 23: try { try decoder.decodeSingularMessageField(value: &_storage._teamChangeInfo) }() - case 24: try { try decoder.decodeRepeatedEnumField(value: &_storage._consumedEeveeEasterEggs) }() - case 25: try { try decoder.decodeSingularMessageField(value: &_storage._combatLog) }() - case 26: try { try decoder.decodeSingularInt64Field(value: &_storage._timeZoneOffsetMs) }() - case 27: try { try decoder.decodeSingularMessageField(value: &_storage._buddyObservedData) }() - case 28: try { try decoder.decodeSingularStringField(value: &_storage._helpshiftUserID) }() - case 29: try { try decoder.decodeSingularMessageField(value: &_storage._playerPreferences) }() - case 30: try { try decoder.decodeRepeatedMessageField(value: &_storage._eventTicketActiveTime) }() - case 31: try { try decoder.decodeSingularInt64Field(value: &_storage._lapsedPlayerReturnedTimeMs) }() - case 33: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPostcardStorage) }() - case 35: try { try decoder.decodeRepeatedMessageField(value: &_storage._pokecoinCaps) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._creationTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._creationTimeMs, fieldNumber: 1) - } - if !_storage._name.isEmpty { - try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 2) - } - if _storage._team != .unset { - try visitor.visitSingularEnumField(value: _storage._team, fieldNumber: 5) - } - if !_storage._tutorialComplete.isEmpty { - try visitor.visitPackedEnumField(value: _storage._tutorialComplete, fieldNumber: 7) - } - try { if let v = _storage._playerAvatarProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - if _storage._maxPokemonStorage != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxPokemonStorage, fieldNumber: 9) - } - if _storage._maxItemStorage != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxItemStorage, fieldNumber: 10) - } - try { if let v = _storage._dailyBonusProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - } }() - try { if let v = _storage._equippedBadgeProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - } }() - try { if let v = _storage._contactSettingsProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - } }() - if !_storage._currencyBalance.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._currencyBalance, fieldNumber: 14) - } - if _storage._remainingCodenameClaims != 0 { - try visitor.visitSingularInt32Field(value: _storage._remainingCodenameClaims, fieldNumber: 15) - } - try { if let v = _storage._buddyPokemonProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - } }() - if _storage._battleLockoutEndMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._battleLockoutEndMs, fieldNumber: 17) - } - try { if let v = _storage._secondaryPlayerAvatarProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 18) - } }() - if _storage._nameIsBlacklisted != false { - try visitor.visitSingularBoolField(value: _storage._nameIsBlacklisted, fieldNumber: 19) - } - try { if let v = _storage._socialPlayerSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20) - } }() - try { if let v = _storage._combatPlayerPreferences { - try visitor.visitSingularMessageField(value: v, fieldNumber: 21) - } }() - if !_storage._playerSupportID.isEmpty { - try visitor.visitSingularStringField(value: _storage._playerSupportID, fieldNumber: 22) - } - try { if let v = _storage._teamChangeInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 23) - } }() - if !_storage._consumedEeveeEasterEggs.isEmpty { - try visitor.visitPackedEnumField(value: _storage._consumedEeveeEasterEggs, fieldNumber: 24) - } - try { if let v = _storage._combatLog { - try visitor.visitSingularMessageField(value: v, fieldNumber: 25) - } }() - if _storage._timeZoneOffsetMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._timeZoneOffsetMs, fieldNumber: 26) - } - try { if let v = _storage._buddyObservedData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 27) - } }() - if !_storage._helpshiftUserID.isEmpty { - try visitor.visitSingularStringField(value: _storage._helpshiftUserID, fieldNumber: 28) - } - try { if let v = _storage._playerPreferences { - try visitor.visitSingularMessageField(value: v, fieldNumber: 29) - } }() - if !_storage._eventTicketActiveTime.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._eventTicketActiveTime, fieldNumber: 30) - } - if _storage._lapsedPlayerReturnedTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lapsedPlayerReturnedTimeMs, fieldNumber: 31) - } - if _storage._maxPostcardStorage != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxPostcardStorage, fieldNumber: 33) - } - if !_storage._pokecoinCaps.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._pokecoinCaps, fieldNumber: 35) - } + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientPlayerProto, rhs: ClientPlayerProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._creationTimeMs != rhs_storage._creationTimeMs {return false} - if _storage._name != rhs_storage._name {return false} - if _storage._team != rhs_storage._team {return false} - if _storage._tutorialComplete != rhs_storage._tutorialComplete {return false} - if _storage._playerAvatarProto != rhs_storage._playerAvatarProto {return false} - if _storage._maxPokemonStorage != rhs_storage._maxPokemonStorage {return false} - if _storage._maxItemStorage != rhs_storage._maxItemStorage {return false} - if _storage._dailyBonusProto != rhs_storage._dailyBonusProto {return false} - if _storage._equippedBadgeProto != rhs_storage._equippedBadgeProto {return false} - if _storage._contactSettingsProto != rhs_storage._contactSettingsProto {return false} - if _storage._currencyBalance != rhs_storage._currencyBalance {return false} - if _storage._remainingCodenameClaims != rhs_storage._remainingCodenameClaims {return false} - if _storage._buddyPokemonProto != rhs_storage._buddyPokemonProto {return false} - if _storage._battleLockoutEndMs != rhs_storage._battleLockoutEndMs {return false} - if _storage._secondaryPlayerAvatarProto != rhs_storage._secondaryPlayerAvatarProto {return false} - if _storage._nameIsBlacklisted != rhs_storage._nameIsBlacklisted {return false} - if _storage._socialPlayerSettings != rhs_storage._socialPlayerSettings {return false} - if _storage._combatPlayerPreferences != rhs_storage._combatPlayerPreferences {return false} - if _storage._playerSupportID != rhs_storage._playerSupportID {return false} - if _storage._teamChangeInfo != rhs_storage._teamChangeInfo {return false} - if _storage._consumedEeveeEasterEggs != rhs_storage._consumedEeveeEasterEggs {return false} - if _storage._combatLog != rhs_storage._combatLog {return false} - if _storage._timeZoneOffsetMs != rhs_storage._timeZoneOffsetMs {return false} - if _storage._buddyObservedData != rhs_storage._buddyObservedData {return false} - if _storage._helpshiftUserID != rhs_storage._helpshiftUserID {return false} - if _storage._playerPreferences != rhs_storage._playerPreferences {return false} - if _storage._eventTicketActiveTime != rhs_storage._eventTicketActiveTime {return false} - if _storage._lapsedPlayerReturnedTimeMs != rhs_storage._lapsedPlayerReturnedTimeMs {return false} - if _storage._maxPostcardStorage != rhs_storage._maxPostcardStorage {return false} - if _storage._pokecoinCaps != rhs_storage._pokecoinCaps {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: CancelMatchmakingData, rhs: CancelMatchmakingData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientPokestopNpcDialogueStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientPokestopNpcDialogueStepProto" +extension CancelMatchmakingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelMatchmakingOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "dialogue_line"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179055,49 +183882,40 @@ extension ClientPokestopNpcDialogueStepProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.dialogueLine) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.dialogueLine.isEmpty { - try visitor.visitRepeatedMessageField(value: self.dialogueLine, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientPokestopNpcDialogueStepProto, rhs: ClientPokestopNpcDialogueStepProto) -> Bool { - if lhs.dialogueLine != rhs.dialogueLine {return false} + public static func ==(lhs: CancelMatchmakingOutProto, rhs: CancelMatchmakingOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientPokestopSpinStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientPokestopSpinStepProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ClientPokestopSpinStepProto, rhs: ClientPokestopSpinStepProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension CancelMatchmakingOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESSFULLY_CANCELLED"), + 2: .same(proto: "ERROR_ALREADY_MATCHED"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + 4: .same(proto: "ERROR_QUEUE_NOT_FOUND"), + ] } -extension ClientPredictionInconsistencyDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientPredictionInconsistencyDataProto" +extension CancelMatchmakingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelMatchmakingProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_client_prediction_inconsistency_uint32"), + 1: .standard(proto: "queue_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179106,31 +183924,32 @@ extension ClientPredictionInconsistencyDataProto: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.obClientPredictionInconsistencyUint32) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.queueID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obClientPredictionInconsistencyUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obClientPredictionInconsistencyUint32, fieldNumber: 1) + if !self.queueID.isEmpty { + try visitor.visitSingularStringField(value: self.queueID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientPredictionInconsistencyDataProto, rhs: ClientPredictionInconsistencyDataProto) -> Bool { - if lhs.obClientPredictionInconsistencyUint32 != rhs.obClientPredictionInconsistencyUint32 {return false} + public static func ==(lhs: CancelMatchmakingProto, rhs: CancelMatchmakingProto) -> Bool { + if lhs.queueID != rhs.queueID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientQuestProto" +extension CancelMatchmakingResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelMatchmakingResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "quest"), - 2: .standard(proto: "quest_display"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179139,41 +183958,41 @@ extension ClientQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._quest) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._questDisplay) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._quest { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._questDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) + } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientQuestProto, rhs: ClientQuestProto) -> Bool { - if lhs._quest != rhs._quest {return false} - if lhs._questDisplay != rhs._questDisplay {return false} + public static func ==(lhs: CancelMatchmakingResponseData, rhs: CancelMatchmakingResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientRouteMapCellProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientRouteMapCellProto" +extension CancelRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelRouteOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "s2_cell_id"), - 2: .standard(proto: "route_list_hash"), - 3: .same(proto: "route"), + 1: .same(proto: "status"), + 2: .standard(proto: "cooldown_finish_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179182,154 +184001,55 @@ extension ClientRouteMapCellProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.routeListHash) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.route) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.cooldownFinishMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.s2CellID != 0 { - try visitor.visitSingularUInt64Field(value: self.s2CellID, fieldNumber: 1) - } - if !self.routeListHash.isEmpty { - try visitor.visitSingularStringField(value: self.routeListHash, fieldNumber: 2) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.route.isEmpty { - try visitor.visitRepeatedMessageField(value: self.route, fieldNumber: 3) + if self.cooldownFinishMs != 0 { + try visitor.visitSingularInt64Field(value: self.cooldownFinishMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientRouteMapCellProto, rhs: ClientRouteMapCellProto) -> Bool { - if lhs.s2CellID != rhs.s2CellID {return false} - if lhs.routeListHash != rhs.routeListHash {return false} - if lhs.route != rhs.route {return false} + public static func ==(lhs: CancelRouteOutProto, rhs: CancelRouteOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.cooldownFinishMs != rhs.cooldownFinishMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientRouteProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "name"), - 3: .same(proto: "description"), - 4: .same(proto: "waypoints"), - 5: .standard(proto: "main_image"), - 6: .same(proto: "reversible"), - 7: .standard(proto: "submission_time"), - 8: .standard(proto: "route_distance_meters"), - 9: .standard(proto: "direction_in_degrees"), - 10: .standard(proto: "avg_rating"), - 11: .standard(proto: "route_type"), - 12: .standard(proto: "route_duration_seconds"), - 13: .standard(proto: "num_completions"), - 14: .standard(proto: "cooldown_finish_ms"), - ] +extension CancelRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelRouteProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.waypoints) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._mainImage) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.reversible) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.submissionTime) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &self.routeDistanceMeters) }() - case 9: try { try decoder.decodeSingularFloatField(value: &self.directionInDegrees) }() - case 10: try { try decoder.decodeSingularFloatField(value: &self.avgRating) }() - case 11: try { try decoder.decodeSingularEnumField(value: &self.routeType) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &self.routeDurationSeconds) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &self.numCompletions) }() - case 14: try { try decoder.decodeSingularInt64Field(value: &self.cooldownFinishMs) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.id.isEmpty { - try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) - } - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) - } - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) - } - if !self.waypoints.isEmpty { - try visitor.visitRepeatedMessageField(value: self.waypoints, fieldNumber: 4) - } - try { if let v = self._mainImage { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if self.reversible != false { - try visitor.visitSingularBoolField(value: self.reversible, fieldNumber: 6) - } - if self.submissionTime != 0 { - try visitor.visitSingularInt64Field(value: self.submissionTime, fieldNumber: 7) - } - if self.routeDistanceMeters != 0 { - try visitor.visitSingularInt64Field(value: self.routeDistanceMeters, fieldNumber: 8) - } - if self.directionInDegrees != 0 { - try visitor.visitSingularFloatField(value: self.directionInDegrees, fieldNumber: 9) - } - if self.avgRating != 0 { - try visitor.visitSingularFloatField(value: self.avgRating, fieldNumber: 10) - } - if self.routeType != .unset { - try visitor.visitSingularEnumField(value: self.routeType, fieldNumber: 11) - } - if self.routeDurationSeconds != 0 { - try visitor.visitSingularInt64Field(value: self.routeDurationSeconds, fieldNumber: 12) - } - if self.numCompletions != 0 { - try visitor.visitSingularInt32Field(value: self.numCompletions, fieldNumber: 13) - } - if self.cooldownFinishMs != 0 { - try visitor.visitSingularInt64Field(value: self.cooldownFinishMs, fieldNumber: 14) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientRouteProto, rhs: ClientRouteProto) -> Bool { - if lhs.id != rhs.id {return false} - if lhs.name != rhs.name {return false} - if lhs.description_p != rhs.description_p {return false} - if lhs.waypoints != rhs.waypoints {return false} - if lhs._mainImage != rhs._mainImage {return false} - if lhs.reversible != rhs.reversible {return false} - if lhs.submissionTime != rhs.submissionTime {return false} - if lhs.routeDistanceMeters != rhs.routeDistanceMeters {return false} - if lhs.directionInDegrees != rhs.directionInDegrees {return false} - if lhs.avgRating != rhs.avgRating {return false} - if lhs.routeType != rhs.routeType {return false} - if lhs.routeDurationSeconds != rhs.routeDurationSeconds {return false} - if lhs.numCompletions != rhs.numCompletions {return false} - if lhs.cooldownFinishMs != rhs.cooldownFinishMs {return false} + public static func ==(lhs: CancelRouteProto, rhs: CancelRouteProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientRouteProto.ImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ClientRouteProto.protoMessageName + ".ImageProto" +extension CancelTradingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelTradingOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "image_url"), + 1: .same(proto: "result"), + 2: .same(proto: "trading"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179338,32 +184058,51 @@ extension ClientRouteProto.ImageProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._trading) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._trading { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientRouteProto.ImageProto, rhs: ClientRouteProto.ImageProto) -> Bool { - if lhs.imageURL != rhs.imageURL {return false} + public static func ==(lhs: CancelTradingOutProto, rhs: CancelTradingOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._trading != rhs._trading {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientRouteProto.WaypointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ClientRouteProto.protoMessageName + ".WaypointProto" +extension CancelTradingOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_FRIEND_NOT_FOUND"), + 4: .same(proto: "ERROR_INVALID_PLAYER_ID"), + 5: .same(proto: "ERROR_INVALID_STATE"), + 6: .same(proto: "ERROR_STATE_HANDLER"), + ] +} + +extension CancelTradingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CancelTradingProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_id"), - 2: .standard(proto: "lat_degrees"), - 3: .standard(proto: "lng_degrees"), + 1: .standard(proto: "player_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179372,41 +184111,31 @@ extension ClientRouteProto.WaypointProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.latDegrees) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.lngDegrees) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) - } - if self.latDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.latDegrees, fieldNumber: 2) - } - if self.lngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.lngDegrees, fieldNumber: 3) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientRouteProto.WaypointProto, rhs: ClientRouteProto.WaypointProto) -> Bool { - if lhs.fortID != rhs.fortID {return false} - if lhs.latDegrees != rhs.latDegrees {return false} - if lhs.lngDegrees != rhs.lngDegrees {return false} + public static func ==(lhs: CancelTradingProto, rhs: CancelTradingProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientSettingsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientSettingsTelemetry" +extension CapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CapProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "music_volume"), - 2: .standard(proto: "sound_volume"), + 1: .same(proto: "center"), + 2: .standard(proto: "angle_degrees"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179415,36 +184144,41 @@ extension ClientSettingsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.musicVolume) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.soundVolume) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._center) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.angleDegrees) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.musicVolume != 0 { - try visitor.visitSingularFloatField(value: self.musicVolume, fieldNumber: 1) - } - if self.soundVolume != 0 { - try visitor.visitSingularFloatField(value: self.soundVolume, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._center { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.angleDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.angleDegrees, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientSettingsTelemetry, rhs: ClientSettingsTelemetry) -> Bool { - if lhs.musicVolume != rhs.musicVolume {return false} - if lhs.soundVolume != rhs.soundVolume {return false} + public static func ==(lhs: CapProto, rhs: CapProto) -> Bool { + if lhs._center != rhs._center {return false} + if lhs.angleDegrees != rhs.angleDegrees {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientSleepRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientSleepRecord" +extension CaptureProbabilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CaptureProbabilityProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "start_time_sec"), - 2: .standard(proto: "duration_sec"), + 1: .standard(proto: "pokeball_type"), + 2: .standard(proto: "capture_probability"), + 12: .standard(proto: "reticle_difficulty_scale"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179453,36 +184187,47 @@ extension ClientSleepRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.startTimeSec) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.durationSec) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.pokeballType) }() + case 2: try { try decoder.decodeRepeatedFloatField(value: &self.captureProbability) }() + case 12: try { try decoder.decodeSingularDoubleField(value: &self.reticleDifficultyScale) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.startTimeSec != 0 { - try visitor.visitSingularUInt32Field(value: self.startTimeSec, fieldNumber: 1) + if !self.pokeballType.isEmpty { + try visitor.visitPackedEnumField(value: self.pokeballType, fieldNumber: 1) } - if self.durationSec != 0 { - try visitor.visitSingularUInt32Field(value: self.durationSec, fieldNumber: 2) + if !self.captureProbability.isEmpty { + try visitor.visitPackedFloatField(value: self.captureProbability, fieldNumber: 2) + } + if self.reticleDifficultyScale != 0 { + try visitor.visitSingularDoubleField(value: self.reticleDifficultyScale, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientSleepRecord, rhs: ClientSleepRecord) -> Bool { - if lhs.startTimeSec != rhs.startTimeSec {return false} - if lhs.durationSec != rhs.durationSec {return false} + public static func ==(lhs: CaptureProbabilityProto, rhs: CaptureProbabilityProto) -> Bool { + if lhs.pokeballType != rhs.pokeballType {return false} + if lhs.captureProbability != rhs.captureProbability {return false} + if lhs.reticleDifficultyScale != rhs.reticleDifficultyScale {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientSpawnPointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientSpawnPointProto" +extension CaptureScoreProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CaptureScoreProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "latitude"), - 3: .same(proto: "longitude"), + 1: .standard(proto: "activity_type"), + 2: .same(proto: "exp"), + 3: .same(proto: "candy"), + 4: .same(proto: "stardust"), + 5: .standard(proto: "xl_candy"), + 6: .standard(proto: "candy_from_active_mega"), + 7: .standard(proto: "experience_from_active_mega"), + 8: .standard(proto: "temp_evo_score_info"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179491,36 +184236,71 @@ extension ClientSpawnPointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.activityType) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.exp) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.candy) }() + case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.stardust) }() + case 5: try { try decoder.decodeRepeatedInt32Field(value: &self.xlCandy) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.candyFromActiveMega) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.experienceFromActiveMega) }() + case 8: try { try decoder.decodeSingularMessageField(value: &self._tempEvoScoreInfo) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.latitude != 0 { - try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.activityType.isEmpty { + try visitor.visitPackedEnumField(value: self.activityType, fieldNumber: 1) } - if self.longitude != 0 { - try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 3) + if !self.exp.isEmpty { + try visitor.visitPackedInt32Field(value: self.exp, fieldNumber: 2) + } + if !self.candy.isEmpty { + try visitor.visitPackedInt32Field(value: self.candy, fieldNumber: 3) + } + if !self.stardust.isEmpty { + try visitor.visitPackedInt32Field(value: self.stardust, fieldNumber: 4) + } + if !self.xlCandy.isEmpty { + try visitor.visitPackedInt32Field(value: self.xlCandy, fieldNumber: 5) + } + if self.candyFromActiveMega != 0 { + try visitor.visitSingularInt32Field(value: self.candyFromActiveMega, fieldNumber: 6) } + if self.experienceFromActiveMega != 0 { + try visitor.visitSingularInt32Field(value: self.experienceFromActiveMega, fieldNumber: 7) + } + try { if let v = self._tempEvoScoreInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientSpawnPointProto, rhs: ClientSpawnPointProto) -> Bool { - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} + public static func ==(lhs: CaptureScoreProto, rhs: CaptureScoreProto) -> Bool { + if lhs.activityType != rhs.activityType {return false} + if lhs.exp != rhs.exp {return false} + if lhs.candy != rhs.candy {return false} + if lhs.stardust != rhs.stardust {return false} + if lhs.xlCandy != rhs.xlCandy {return false} + if lhs.candyFromActiveMega != rhs.candyFromActiveMega {return false} + if lhs.experienceFromActiveMega != rhs.experienceFromActiveMega {return false} + if lhs._tempEvoScoreInfo != rhs._tempEvoScoreInfo {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientTelemetryBatchOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryBatchOutProto" +extension CaptureScoreProto.TempEvoScoreInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CaptureScoreProto.protoMessageName + ".TempEvoScoreInfo" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "collected_count"), + 1: .standard(proto: "active_temp_evo_id"), + 2: .standard(proto: "candy_from_active_temp_evo"), + 3: .standard(proto: "experience_from_active_temp_evo"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179529,46 +184309,52 @@ extension ClientTelemetryBatchOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.collectedCount) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.activeTempEvoID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.candyFromActiveTempEvo) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.experienceFromActiveTempEvo) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.activeTempEvoID != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: self.activeTempEvoID, fieldNumber: 1) + } + if self.candyFromActiveTempEvo != 0 { + try visitor.visitSingularInt32Field(value: self.candyFromActiveTempEvo, fieldNumber: 2) } - if self.collectedCount != 0 { - try visitor.visitSingularInt32Field(value: self.collectedCount, fieldNumber: 2) + if self.experienceFromActiveTempEvo != 0 { + try visitor.visitSingularInt32Field(value: self.experienceFromActiveTempEvo, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientTelemetryBatchOutProto, rhs: ClientTelemetryBatchOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.collectedCount != rhs.collectedCount {return false} + public static func ==(lhs: CaptureScoreProto.TempEvoScoreInfo, rhs: CaptureScoreProto.TempEvoScoreInfo) -> Bool { + if lhs.activeTempEvoID != rhs.activeTempEvoID {return false} + if lhs.candyFromActiveTempEvo != rhs.candyFromActiveTempEvo {return false} + if lhs.experienceFromActiveTempEvo != rhs.experienceFromActiveTempEvo {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientTelemetryBatchOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - ] -} - -extension ClientTelemetryBatchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryBatchProto" +extension CatchCardTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CatchCardTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "telemetry_scope_id"), - 2: .same(proto: "events"), - 3: .standard(proto: "api_version"), - 4: .standard(proto: "message_version"), + 1: .standard(proto: "photo_type"), + 2: .standard(proto: "template_id"), + 3: .standard(proto: "shared_to_system"), + 4: .standard(proto: "campfire_id"), + 5: .standard(proto: "time_since_caught_seconds"), + 6: .standard(proto: "pokemon_id"), + 7: .same(proto: "shiny"), + 8: .same(proto: "form"), + 9: .same(proto: "costume"), + 10: .standard(proto: "individual_attack"), + 11: .standard(proto: "individual_defense"), + 12: .standard(proto: "individual_stamina"), + 13: .same(proto: "alignment"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179577,72 +184363,100 @@ extension ClientTelemetryBatchProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.telemetryScopeID) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.events) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.apiVersion) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.messageVersion) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.photoType) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.templateID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.sharedToSystem) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.campfireID) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.timeSinceCaughtSeconds) }() + case 6: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.shiny) }() + case 8: try { try decoder.decodeSingularEnumField(value: &self.form) }() + case 9: try { try decoder.decodeSingularEnumField(value: &self.costume) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &self.individualAttack) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &self.individualDefense) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.individualStamina) }() + case 13: try { try decoder.decodeSingularEnumField(value: &self.alignment) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.telemetryScopeID != .unset { - try visitor.visitSingularEnumField(value: self.telemetryScopeID, fieldNumber: 1) + if self.photoType != .unset { + try visitor.visitSingularEnumField(value: self.photoType, fieldNumber: 1) } - if !self.events.isEmpty { - try visitor.visitRepeatedMessageField(value: self.events, fieldNumber: 2) + if !self.templateID.isEmpty { + try visitor.visitSingularStringField(value: self.templateID, fieldNumber: 2) } - if !self.apiVersion.isEmpty { - try visitor.visitSingularStringField(value: self.apiVersion, fieldNumber: 3) + if self.sharedToSystem != false { + try visitor.visitSingularBoolField(value: self.sharedToSystem, fieldNumber: 3) } - if !self.messageVersion.isEmpty { - try visitor.visitSingularStringField(value: self.messageVersion, fieldNumber: 4) + if !self.campfireID.isEmpty { + try visitor.visitSingularStringField(value: self.campfireID, fieldNumber: 4) + } + if self.timeSinceCaughtSeconds != 0 { + try visitor.visitSingularInt32Field(value: self.timeSinceCaughtSeconds, fieldNumber: 5) + } + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 6) + } + if self.shiny != false { + try visitor.visitSingularBoolField(value: self.shiny, fieldNumber: 7) + } + if self.form != .unset { + try visitor.visitSingularEnumField(value: self.form, fieldNumber: 8) + } + if self.costume != .unset { + try visitor.visitSingularEnumField(value: self.costume, fieldNumber: 9) + } + if self.individualAttack != 0 { + try visitor.visitSingularInt32Field(value: self.individualAttack, fieldNumber: 10) + } + if self.individualDefense != 0 { + try visitor.visitSingularInt32Field(value: self.individualDefense, fieldNumber: 11) + } + if self.individualStamina != 0 { + try visitor.visitSingularInt32Field(value: self.individualStamina, fieldNumber: 12) + } + if self.alignment != .unset { + try visitor.visitSingularEnumField(value: self.alignment, fieldNumber: 13) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientTelemetryBatchProto, rhs: ClientTelemetryBatchProto) -> Bool { - if lhs.telemetryScopeID != rhs.telemetryScopeID {return false} - if lhs.events != rhs.events {return false} - if lhs.apiVersion != rhs.apiVersion {return false} - if lhs.messageVersion != rhs.messageVersion {return false} + public static func ==(lhs: CatchCardTelemetry, rhs: CatchCardTelemetry) -> Bool { + if lhs.photoType != rhs.photoType {return false} + if lhs.templateID != rhs.templateID {return false} + if lhs.sharedToSystem != rhs.sharedToSystem {return false} + if lhs.campfireID != rhs.campfireID {return false} + if lhs.timeSinceCaughtSeconds != rhs.timeSinceCaughtSeconds {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.shiny != rhs.shiny {return false} + if lhs.form != rhs.form {return false} + if lhs.costume != rhs.costume {return false} + if lhs.individualAttack != rhs.individualAttack {return false} + if lhs.individualDefense != rhs.individualDefense {return false} + if lhs.individualStamina != rhs.individualStamina {return false} + if lhs.alignment != rhs.alignment {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientTelemetryBatchProto.TelemetryScopeId: SwiftProtobuf._ProtoNameProviding { +extension CatchCardTelemetry.PhotoType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unset"), - 1: .same(proto: "core"), - 2: .same(proto: "game"), - 3: .same(proto: "titan"), - 4: .same(proto: "common"), - 5: .same(proto: "pre_age_gate"), - 6: .same(proto: "pre_login"), - 7: .same(proto: "ardk"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "DEFAULT"), + 2: .same(proto: "AR_CLASSIC"), + 3: .same(proto: "AR_PLUS"), ] } -extension ClientTelemetryClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryClientSettingsProto" +extension CatchPokemonGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CatchPokemonGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_upload_enabled"), - 2: .standard(proto: "max_upload_size_in_bytes"), - 3: .standard(proto: "update_interval_in_sec"), - 4: .standard(proto: "settings_update_interval_in_sec"), - 5: .standard(proto: "max_envelope_queue_size"), - 6: .standard(proto: "sampling_probability"), - 7: .standard(proto: "use_player_based_sampling"), - 8: .standard(proto: "player_hash"), - 9: .standard(proto: "player_external_omni_id"), - 10: .standard(proto: "disable_omni_sending"), - 11: .standard(proto: "special_sampling_probability_map"), - 12: .standard(proto: "player_external_ua_id"), - 13: .standard(proto: "player_external_in_app_survey_id"), - 14: .standard(proto: "player_external_ardk_id"), - 15: .standard(proto: "enable_experimental_features"), + 1: .standard(proto: "enable_capture_origin_details_display"), + 2: .standard(proto: "enable_capture_origin_events_display"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179651,115 +184465,40 @@ extension ClientTelemetryClientSettingsProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isUploadEnabled) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.maxUploadSizeInBytes) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.updateIntervalInSec) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.settingsUpdateIntervalInSec) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.maxEnvelopeQueueSize) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.samplingProbability) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.usePlayerBasedSampling) }() - case 8: try { try decoder.decodeSingularDoubleField(value: &self.playerHash) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.playerExternalOmniID) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.disableOmniSending) }() - case 11: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.specialSamplingProbabilityMap) }() - case 12: try { try decoder.decodeSingularStringField(value: &self.playerExternalUaID) }() - case 13: try { try decoder.decodeSingularStringField(value: &self.playerExternalInAppSurveyID) }() - case 14: try { try decoder.decodeSingularStringField(value: &self.playerExternalArdkID) }() - case 15: try { try decoder.decodeSingularBoolField(value: &self.enableExperimentalFeatures) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableCaptureOriginDetailsDisplay) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableCaptureOriginEventsDisplay) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isUploadEnabled != false { - try visitor.visitSingularBoolField(value: self.isUploadEnabled, fieldNumber: 1) - } - if self.maxUploadSizeInBytes != 0 { - try visitor.visitSingularInt64Field(value: self.maxUploadSizeInBytes, fieldNumber: 2) - } - if self.updateIntervalInSec != 0 { - try visitor.visitSingularInt64Field(value: self.updateIntervalInSec, fieldNumber: 3) - } - if self.settingsUpdateIntervalInSec != 0 { - try visitor.visitSingularInt64Field(value: self.settingsUpdateIntervalInSec, fieldNumber: 4) - } - if self.maxEnvelopeQueueSize != 0 { - try visitor.visitSingularInt64Field(value: self.maxEnvelopeQueueSize, fieldNumber: 5) - } - if self.samplingProbability != 0 { - try visitor.visitSingularDoubleField(value: self.samplingProbability, fieldNumber: 6) - } - if self.usePlayerBasedSampling != false { - try visitor.visitSingularBoolField(value: self.usePlayerBasedSampling, fieldNumber: 7) - } - if self.playerHash != 0 { - try visitor.visitSingularDoubleField(value: self.playerHash, fieldNumber: 8) - } - if !self.playerExternalOmniID.isEmpty { - try visitor.visitSingularStringField(value: self.playerExternalOmniID, fieldNumber: 9) - } - if self.disableOmniSending != false { - try visitor.visitSingularBoolField(value: self.disableOmniSending, fieldNumber: 10) - } - if !self.specialSamplingProbabilityMap.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.specialSamplingProbabilityMap, fieldNumber: 11) - } - if !self.playerExternalUaID.isEmpty { - try visitor.visitSingularStringField(value: self.playerExternalUaID, fieldNumber: 12) - } - if !self.playerExternalInAppSurveyID.isEmpty { - try visitor.visitSingularStringField(value: self.playerExternalInAppSurveyID, fieldNumber: 13) - } - if !self.playerExternalArdkID.isEmpty { - try visitor.visitSingularStringField(value: self.playerExternalArdkID, fieldNumber: 14) + if self.enableCaptureOriginDetailsDisplay != false { + try visitor.visitSingularBoolField(value: self.enableCaptureOriginDetailsDisplay, fieldNumber: 1) } - if self.enableExperimentalFeatures != false { - try visitor.visitSingularBoolField(value: self.enableExperimentalFeatures, fieldNumber: 15) + if self.enableCaptureOriginEventsDisplay != false { + try visitor.visitSingularBoolField(value: self.enableCaptureOriginEventsDisplay, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientTelemetryClientSettingsProto, rhs: ClientTelemetryClientSettingsProto) -> Bool { - if lhs.isUploadEnabled != rhs.isUploadEnabled {return false} - if lhs.maxUploadSizeInBytes != rhs.maxUploadSizeInBytes {return false} - if lhs.updateIntervalInSec != rhs.updateIntervalInSec {return false} - if lhs.settingsUpdateIntervalInSec != rhs.settingsUpdateIntervalInSec {return false} - if lhs.maxEnvelopeQueueSize != rhs.maxEnvelopeQueueSize {return false} - if lhs.samplingProbability != rhs.samplingProbability {return false} - if lhs.usePlayerBasedSampling != rhs.usePlayerBasedSampling {return false} - if lhs.playerHash != rhs.playerHash {return false} - if lhs.playerExternalOmniID != rhs.playerExternalOmniID {return false} - if lhs.disableOmniSending != rhs.disableOmniSending {return false} - if lhs.specialSamplingProbabilityMap != rhs.specialSamplingProbabilityMap {return false} - if lhs.playerExternalUaID != rhs.playerExternalUaID {return false} - if lhs.playerExternalInAppSurveyID != rhs.playerExternalInAppSurveyID {return false} - if lhs.playerExternalArdkID != rhs.playerExternalArdkID {return false} - if lhs.enableExperimentalFeatures != rhs.enableExperimentalFeatures {return false} + public static func ==(lhs: CatchPokemonGlobalSettingsProto, rhs: CatchPokemonGlobalSettingsProto) -> Bool { + if lhs.enableCaptureOriginDetailsDisplay != rhs.enableCaptureOriginDetailsDisplay {return false} + if lhs.enableCaptureOriginEventsDisplay != rhs.enableCaptureOriginEventsDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientTelemetryCommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryCommonFilterProto" +extension CatchPokemonLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CatchPokemonLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "application_identifier"), - 2: .standard(proto: "operating_system_name"), - 3: .standard(proto: "device_model"), - 4: .standard(proto: "locale_country_code"), - 5: .standard(proto: "locale_language_code"), - 6: .standard(proto: "sampling_probability"), - 7: .standard(proto: "quality_level"), - 8: .standard(proto: "network_connectivity_type"), - 9: .standard(proto: "game_context"), - 10: .standard(proto: "language_code"), - 11: .same(proto: "timezone"), - 12: .standard(proto: "ip_country_code"), - 13: .standard(proto: "graphics_device_vendor"), - 14: .standard(proto: "graphics_device_name"), - 15: .standard(proto: "graphics_device_type"), - 16: .standard(proto: "graphics_shader_level"), + 1: .same(proto: "result"), + 2: .standard(proto: "pokedex_number"), + 3: .standard(proto: "combat_points"), + 4: .standard(proto: "pokemon_id"), + 5: .standard(proto: "pokemon_display"), + 6: .same(proto: "items"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -179768,131 +184507,106 @@ extension ClientTelemetryCommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.applicationIdentifier) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.operatingSystemName) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.localeCountryCode) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.localeLanguageCode) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.samplingProbability) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.qualityLevel) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.networkConnectivityType) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.gameContext) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.timezone) }() - case 12: try { try decoder.decodeSingularStringField(value: &self.ipCountryCode) }() - case 13: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceVendor) }() - case 14: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceName) }() - case 15: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceType) }() - case 16: try { try decoder.decodeSingularStringField(value: &self.graphicsShaderLevel) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokedexNumber) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.combatPoints) }() + case 4: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &self.items) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.applicationIdentifier.isEmpty { - try visitor.visitSingularStringField(value: self.applicationIdentifier, fieldNumber: 1) - } - if !self.operatingSystemName.isEmpty { - try visitor.visitSingularStringField(value: self.operatingSystemName, fieldNumber: 2) - } - if !self.deviceModel.isEmpty { - try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 3) - } - if !self.localeCountryCode.isEmpty { - try visitor.visitSingularStringField(value: self.localeCountryCode, fieldNumber: 4) - } - if !self.localeLanguageCode.isEmpty { - try visitor.visitSingularStringField(value: self.localeLanguageCode, fieldNumber: 5) - } - if self.samplingProbability != 0 { - try visitor.visitSingularDoubleField(value: self.samplingProbability, fieldNumber: 6) - } - if !self.qualityLevel.isEmpty { - try visitor.visitSingularStringField(value: self.qualityLevel, fieldNumber: 7) - } - if !self.networkConnectivityType.isEmpty { - try visitor.visitSingularStringField(value: self.networkConnectivityType, fieldNumber: 8) - } - if !self.gameContext.isEmpty { - try visitor.visitSingularStringField(value: self.gameContext, fieldNumber: 9) - } - if !self.languageCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 10) - } - if !self.timezone.isEmpty { - try visitor.visitSingularStringField(value: self.timezone, fieldNumber: 11) - } - if !self.ipCountryCode.isEmpty { - try visitor.visitSingularStringField(value: self.ipCountryCode, fieldNumber: 12) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.graphicsDeviceVendor.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceVendor, fieldNumber: 13) + if self.pokedexNumber != 0 { + try visitor.visitSingularInt32Field(value: self.pokedexNumber, fieldNumber: 2) } - if !self.graphicsDeviceName.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceName, fieldNumber: 14) + if self.combatPoints != 0 { + try visitor.visitSingularInt32Field(value: self.combatPoints, fieldNumber: 3) } - if !self.graphicsDeviceType.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceType, fieldNumber: 15) + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 4) } - if !self.graphicsShaderLevel.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsShaderLevel, fieldNumber: 16) + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if !self.items.isEmpty { + try visitor.visitRepeatedMessageField(value: self.items, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientTelemetryCommonFilterProto, rhs: ClientTelemetryCommonFilterProto) -> Bool { - if lhs.applicationIdentifier != rhs.applicationIdentifier {return false} - if lhs.operatingSystemName != rhs.operatingSystemName {return false} - if lhs.deviceModel != rhs.deviceModel {return false} - if lhs.localeCountryCode != rhs.localeCountryCode {return false} - if lhs.localeLanguageCode != rhs.localeLanguageCode {return false} - if lhs.samplingProbability != rhs.samplingProbability {return false} - if lhs.qualityLevel != rhs.qualityLevel {return false} - if lhs.networkConnectivityType != rhs.networkConnectivityType {return false} - if lhs.gameContext != rhs.gameContext {return false} - if lhs.languageCode != rhs.languageCode {return false} - if lhs.timezone != rhs.timezone {return false} - if lhs.ipCountryCode != rhs.ipCountryCode {return false} - if lhs.graphicsDeviceVendor != rhs.graphicsDeviceVendor {return false} - if lhs.graphicsDeviceName != rhs.graphicsDeviceName {return false} - if lhs.graphicsDeviceType != rhs.graphicsDeviceType {return false} - if lhs.graphicsShaderLevel != rhs.graphicsShaderLevel {return false} + public static func ==(lhs: CatchPokemonLogEntry, rhs: CatchPokemonLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.pokedexNumber != rhs.pokedexNumber {return false} + if lhs.combatPoints != rhs.combatPoints {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + if lhs.items != rhs.items {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientTelemetryRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryRecordProto" +extension CatchPokemonLogEntry.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "record_id"), - 2: .standard(proto: "encoded_message"), - 3: .standard(proto: "client_timestamp_ms"), - 4: .standard(proto: "metric_id"), - 5: .standard(proto: "event_name"), - 6: .standard(proto: "common_filters"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "POKEMON_CAPTURED"), + 2: .same(proto: "POKEMON_FLED"), + 3: .same(proto: "POKEMON_HATCHED"), + ] +} + +extension CatchPokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CatchPokemonOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "miss_percent"), + 3: .standard(proto: "captured_pokemon_id"), + 4: .same(proto: "scores"), + 5: .standard(proto: "capture_reason"), + 6: .standard(proto: "display_pokedex_id"), + 7: .standard(proto: "throws_remaining"), + 8: .standard(proto: "pokemon_display"), + 9: .standard(proto: "display_pokemon_display"), + 10: .standard(proto: "dropped_items"), ] fileprivate class _StorageClass { - var _recordID: String = String() - var _encodedMessage: Data = Data() - var _clientTimestampMs: Int64 = 0 - var _metricID: Int64 = 0 - var _eventName: String = String() - var _commonFilters: ClientTelemetryCommonFilterProto? = nil + var _status: CatchPokemonOutProto.Status = .catchError + var _missPercent: Double = 0 + var _capturedPokemonID: UInt64 = 0 + var _scores: CaptureScoreProto? = nil + var _captureReason: CatchPokemonOutProto.CaptureReason = .unset + var _displayPokedexID: HoloPokemonId = .missingno + var _throwsRemaining: Int32 = 0 + var _pokemonDisplay: PokemonDisplayProto? = nil + var _displayPokemonDisplay: PokemonDisplayProto? = nil + var _droppedItems: LootProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _recordID = source._recordID - _encodedMessage = source._encodedMessage - _clientTimestampMs = source._clientTimestampMs - _metricID = source._metricID - _eventName = source._eventName - _commonFilters = source._commonFilters + _status = source._status + _missPercent = source._missPercent + _capturedPokemonID = source._capturedPokemonID + _scores = source._scores + _captureReason = source._captureReason + _displayPokedexID = source._displayPokedexID + _throwsRemaining = source._throwsRemaining + _pokemonDisplay = source._pokemonDisplay + _displayPokemonDisplay = source._displayPokemonDisplay + _droppedItems = source._droppedItems } } @@ -179911,12 +184625,16 @@ extension ClientTelemetryRecordProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._recordID) }() - case 2: try { try decoder.decodeSingularBytesField(value: &_storage._encodedMessage) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &_storage._clientTimestampMs) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._metricID) }() - case 5: try { try decoder.decodeSingularStringField(value: &_storage._eventName) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._status) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &_storage._missPercent) }() + case 3: try { try decoder.decodeSingularFixed64Field(value: &_storage._capturedPokemonID) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._scores) }() + case 5: try { try decoder.decodeSingularEnumField(value: &_storage._captureReason) }() + case 6: try { try decoder.decodeSingularEnumField(value: &_storage._displayPokedexID) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._throwsRemaining) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._displayPokemonDisplay) }() + case 10: try { try decoder.decodeSingularMessageField(value: &_storage._droppedItems) }() default: break } } @@ -179929,39 +184647,55 @@ extension ClientTelemetryRecordProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._recordID.isEmpty { - try visitor.visitSingularStringField(value: _storage._recordID, fieldNumber: 1) + if _storage._status != .catchError { + try visitor.visitSingularEnumField(value: _storage._status, fieldNumber: 1) } - if !_storage._encodedMessage.isEmpty { - try visitor.visitSingularBytesField(value: _storage._encodedMessage, fieldNumber: 2) + if _storage._missPercent != 0 { + try visitor.visitSingularDoubleField(value: _storage._missPercent, fieldNumber: 2) } - if _storage._clientTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._clientTimestampMs, fieldNumber: 3) + if _storage._capturedPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._capturedPokemonID, fieldNumber: 3) } - if _storage._metricID != 0 { - try visitor.visitSingularInt64Field(value: _storage._metricID, fieldNumber: 4) + try { if let v = _storage._scores { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if _storage._captureReason != .unset { + try visitor.visitSingularEnumField(value: _storage._captureReason, fieldNumber: 5) } - if !_storage._eventName.isEmpty { - try visitor.visitSingularStringField(value: _storage._eventName, fieldNumber: 5) + if _storage._displayPokedexID != .missingno { + try visitor.visitSingularEnumField(value: _storage._displayPokedexID, fieldNumber: 6) } - try { if let v = _storage._commonFilters { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + if _storage._throwsRemaining != 0 { + try visitor.visitSingularInt32Field(value: _storage._throwsRemaining, fieldNumber: 7) + } + try { if let v = _storage._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + try { if let v = _storage._displayPokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() + try { if let v = _storage._droppedItems { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientTelemetryRecordProto, rhs: ClientTelemetryRecordProto) -> Bool { + public static func ==(lhs: CatchPokemonOutProto, rhs: CatchPokemonOutProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._recordID != rhs_storage._recordID {return false} - if _storage._encodedMessage != rhs_storage._encodedMessage {return false} - if _storage._clientTimestampMs != rhs_storage._clientTimestampMs {return false} - if _storage._metricID != rhs_storage._metricID {return false} - if _storage._eventName != rhs_storage._eventName {return false} - if _storage._commonFilters != rhs_storage._commonFilters {return false} + if _storage._status != rhs_storage._status {return false} + if _storage._missPercent != rhs_storage._missPercent {return false} + if _storage._capturedPokemonID != rhs_storage._capturedPokemonID {return false} + if _storage._scores != rhs_storage._scores {return false} + if _storage._captureReason != rhs_storage._captureReason {return false} + if _storage._displayPokedexID != rhs_storage._displayPokedexID {return false} + if _storage._throwsRemaining != rhs_storage._throwsRemaining {return false} + if _storage._pokemonDisplay != rhs_storage._pokemonDisplay {return false} + if _storage._displayPokemonDisplay != rhs_storage._displayPokemonDisplay {return false} + if _storage._droppedItems != rhs_storage._droppedItems {return false} return true } if !storagesAreEqual {return false} @@ -179971,146 +184705,36 @@ extension ClientTelemetryRecordProto: SwiftProtobuf.Message, SwiftProtobuf._Mess } } -extension ClientTelemetryRecordResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryRecordResult" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "record_id"), - 2: .same(proto: "status"), - 3: .standard(proto: "telemetry_type_name"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.recordID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.telemetryTypeName) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.recordID.isEmpty { - try visitor.visitSingularStringField(value: self.recordID, fieldNumber: 1) - } - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) - } - if !self.telemetryTypeName.isEmpty { - try visitor.visitSingularStringField(value: self.telemetryTypeName, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ClientTelemetryRecordResult, rhs: ClientTelemetryRecordResult) -> Bool { - if lhs.recordID != rhs.recordID {return false} - if lhs.status != rhs.status {return false} - if lhs.telemetryTypeName != rhs.telemetryTypeName {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ClientTelemetryRecordResult.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unset"), - 20: .same(proto: "success"), - 21: .same(proto: "error_family_unset"), - 22: .same(proto: "error_family_invalid"), - 23: .same(proto: "error_encoding_invalid"), - 24: .same(proto: "error_unset_metric_id"), - 25: .same(proto: "error_event_telemetry_undefined"), - ] -} - -extension ClientTelemetryResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryResponseProto" +extension CatchPokemonOutProto.CaptureReason: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "rows_written"), - 3: .standard(proto: "nonretryable_failures"), - 4: .standard(proto: "retryable_failures"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "DEFAULT"), + 2: .same(proto: "ELEMENTAL_BADGE"), + 3: .same(proto: "CRITICAL_CATCH"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.rowsWritten) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.nonretryableFailures) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.retryableFailures) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if self.rowsWritten != 0 { - try visitor.visitSingularInt32Field(value: self.rowsWritten, fieldNumber: 2) - } - if self.nonretryableFailures != 0 { - try visitor.visitSingularInt32Field(value: self.nonretryableFailures, fieldNumber: 3) - } - if !self.retryableFailures.isEmpty { - try visitor.visitRepeatedMessageField(value: self.retryableFailures, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ClientTelemetryResponseProto, rhs: ClientTelemetryResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.rowsWritten != rhs.rowsWritten {return false} - if lhs.nonretryableFailures != rhs.nonretryableFailures {return false} - if lhs.retryableFailures != rhs.retryableFailures {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension ClientTelemetryResponseProto.Status: SwiftProtobuf._ProtoNameProviding { +extension CatchPokemonOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unset"), - 1: .same(proto: "success"), - 2: .same(proto: "failure"), - 3: .same(proto: "partial_failure"), - 4: .same(proto: "invalid_request"), + 0: .same(proto: "CATCH_ERROR"), + 1: .same(proto: "CATCH_SUCCESS"), + 2: .same(proto: "CATCH_ESCAPE"), + 3: .same(proto: "CATCH_FLEE"), + 4: .same(proto: "CATCH_MISSED"), ] } -extension ClientTelemetrySettingsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientTelemetrySettingsRequestProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ClientTelemetrySettingsRequestProto, rhs: ClientTelemetrySettingsRequestProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ClientTelemetryV2Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryV2Request" +extension CatchPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CatchPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "telemetry_request_metadata"), - 2: .standard(proto: "batch_proto"), + 1: .standard(proto: "encounter_id"), + 2: .same(proto: "pokeball"), + 3: .standard(proto: "normalized_reticle_size"), + 4: .standard(proto: "spawn_point_guid"), + 5: .standard(proto: "hit_pokemon"), + 6: .standard(proto: "spin_modifier"), + 7: .standard(proto: "normalized_hit_position"), + 8: .standard(proto: "ar_plus_values"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180119,8 +184743,14 @@ extension ClientTelemetryV2Request: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._telemetryRequestMetadata) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._batchProto) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokeball) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.normalizedReticleSize) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.spawnPointGuid) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.hitPokemon) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.spinModifier) }() + case 7: try { try decoder.decodeSingularDoubleField(value: &self.normalizedHitPosition) }() + case 8: try { try decoder.decodeSingularMessageField(value: &self._arPlusValues) }() default: break } } @@ -180131,150 +184761,52 @@ extension ClientTelemetryV2Request: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._telemetryRequestMetadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._batchProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ClientTelemetryV2Request, rhs: ClientTelemetryV2Request) -> Bool { - if lhs._telemetryRequestMetadata != rhs._telemetryRequestMetadata {return false} - if lhs._batchProto != rhs._batchProto {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ClientToggleSettingsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientToggleSettingsTelemetry" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "toggle_id"), - 2: .standard(proto: "toggle_event"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.toggleID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.toggleEvent) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.toggleID != .unset { - try visitor.visitSingularEnumField(value: self.toggleID, fieldNumber: 1) + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) } - if self.toggleEvent != .undefined { - try visitor.visitSingularEnumField(value: self.toggleEvent, fieldNumber: 2) + if self.pokeball != .unknown { + try visitor.visitSingularEnumField(value: self.pokeball, fieldNumber: 2) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ClientToggleSettingsTelemetry, rhs: ClientToggleSettingsTelemetry) -> Bool { - if lhs.toggleID != rhs.toggleID {return false} - if lhs.toggleEvent != rhs.toggleEvent {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ClientToggleSettingsTelemetry.ToggleEvent: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "OFF"), - 2: .same(proto: "ON"), - ] -} - -extension ClientToggleSettingsTelemetry.ToggleSettingId: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "REMEMBER_LAST_POKEBALL"), - ] -} - -extension ClientUpgradeRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientUpgradeRequestProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "version"), - 2: .standard(proto: "operating_system"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.version) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.operatingSystem) }() - default: break - } + if self.normalizedReticleSize != 0 { + try visitor.visitSingularDoubleField(value: self.normalizedReticleSize, fieldNumber: 3) } - } - - public func traverse(visitor: inout V) throws { - if !self.version.isEmpty { - try visitor.visitSingularStringField(value: self.version, fieldNumber: 1) + if !self.spawnPointGuid.isEmpty { + try visitor.visitSingularStringField(value: self.spawnPointGuid, fieldNumber: 4) } - if self.operatingSystem != .osUnknown { - try visitor.visitSingularEnumField(value: self.operatingSystem, fieldNumber: 2) + if self.hitPokemon != false { + try visitor.visitSingularBoolField(value: self.hitPokemon, fieldNumber: 5) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ClientUpgradeRequestProto, rhs: ClientUpgradeRequestProto) -> Bool { - if lhs.version != rhs.version {return false} - if lhs.operatingSystem != rhs.operatingSystem {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ClientUpgradeResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientUpgradeResponseProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "needs_upgrade"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.needsUpgrade) }() - default: break - } + if self.spinModifier != 0 { + try visitor.visitSingularDoubleField(value: self.spinModifier, fieldNumber: 6) } - } - - public func traverse(visitor: inout V) throws { - if self.needsUpgrade != false { - try visitor.visitSingularBoolField(value: self.needsUpgrade, fieldNumber: 1) + if self.normalizedHitPosition != 0 { + try visitor.visitSingularDoubleField(value: self.normalizedHitPosition, fieldNumber: 7) } + try { if let v = self._arPlusValues { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientUpgradeResponseProto, rhs: ClientUpgradeResponseProto) -> Bool { - if lhs.needsUpgrade != rhs.needsUpgrade {return false} + public static func ==(lhs: CatchPokemonProto, rhs: CatchPokemonProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.pokeball != rhs.pokeball {return false} + if lhs.normalizedReticleSize != rhs.normalizedReticleSize {return false} + if lhs.spawnPointGuid != rhs.spawnPointGuid {return false} + if lhs.hitPokemon != rhs.hitPokemon {return false} + if lhs.spinModifier != rhs.spinModifier {return false} + if lhs.normalizedHitPosition != rhs.normalizedHitPosition {return false} + if lhs._arPlusValues != rhs._arPlusValues {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientVersionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientVersionProto" +extension CatchPokemonQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CatchPokemonQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_version"), + 1: .standard(proto: "unique_pokemon_id"), + 2: .standard(proto: "active_encounter_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180283,33 +184815,40 @@ extension ClientVersionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.minVersion) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.uniquePokemonID) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.activeEncounterID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.minVersion.isEmpty { - try visitor.visitSingularStringField(value: self.minVersion, fieldNumber: 1) + if !self.uniquePokemonID.isEmpty { + try visitor.visitPackedEnumField(value: self.uniquePokemonID, fieldNumber: 1) + } + if self.activeEncounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.activeEncounterID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientVersionProto, rhs: ClientVersionProto) -> Bool { - if lhs.minVersion != rhs.minVersion {return false} + public static func ==(lhs: CatchPokemonQuestProto, rhs: CatchPokemonQuestProto) -> Bool { + if lhs.uniquePokemonID != rhs.uniquePokemonID {return false} + if lhs.activeEncounterID != rhs.activeEncounterID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ClientWeatherProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ClientWeatherProto" +extension CatchPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CatchPokemonTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "s2_cell_id"), - 2: .standard(proto: "display_weather"), - 3: .standard(proto: "gameplay_weather"), - 4: .same(proto: "alerts"), + 1: .same(proto: "status"), + 2: .standard(proto: "encounter_pokemon_telemetry"), + 3: .same(proto: "balltype"), + 4: .standard(proto: "hit_grade"), + 5: .standard(proto: "curve_ball"), + 6: .standard(proto: "miss_percent"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180318,10 +184857,12 @@ extension ClientWeatherProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.s2CellID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._displayWeather) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._gameplayWeather) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.alerts) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._encounterPokemonTelemetry) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.balltype) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.hitGrade) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.curveBall) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.missPercent) }() default: break } } @@ -180332,40 +184873,43 @@ extension ClientWeatherProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.s2CellID != 0 { - try visitor.visitSingularInt64Field(value: self.s2CellID, fieldNumber: 1) + if !self.status.isEmpty { + try visitor.visitSingularStringField(value: self.status, fieldNumber: 1) } - try { if let v = self._displayWeather { + try { if let v = self._encounterPokemonTelemetry { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if let v = self._gameplayWeather { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if !self.alerts.isEmpty { - try visitor.visitRepeatedMessageField(value: self.alerts, fieldNumber: 4) + if self.balltype != .unknown { + try visitor.visitSingularEnumField(value: self.balltype, fieldNumber: 3) + } + if self.hitGrade != 0 { + try visitor.visitSingularInt32Field(value: self.hitGrade, fieldNumber: 4) + } + if self.curveBall != false { + try visitor.visitSingularBoolField(value: self.curveBall, fieldNumber: 5) + } + if self.missPercent != 0 { + try visitor.visitSingularDoubleField(value: self.missPercent, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ClientWeatherProto, rhs: ClientWeatherProto) -> Bool { - if lhs.s2CellID != rhs.s2CellID {return false} - if lhs._displayWeather != rhs._displayWeather {return false} - if lhs._gameplayWeather != rhs._gameplayWeather {return false} - if lhs.alerts != rhs.alerts {return false} + public static func ==(lhs: CatchPokemonTelemetry, rhs: CatchPokemonTelemetry) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._encounterPokemonTelemetry != rhs._encounterPokemonTelemetry {return false} + if lhs.balltype != rhs.balltype {return false} + if lhs.hitGrade != rhs.hitGrade {return false} + if lhs.curveBall != rhs.curveBall {return false} + if lhs.missPercent != rhs.missPercent {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CodenameResultProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CodenameResultProto" +extension CatchRadiusMultiplierSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CatchRadiusMultiplierSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "codename"), - 2: .standard(proto: "user_message"), - 3: .standard(proto: "is_assignable"), - 4: .same(proto: "status"), - 5: .standard(proto: "updated_player"), - 6: .standard(proto: "suggested_codenames"), + 1: .standard(proto: "catch_radius_multiplier_settings_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180374,74 +184918,31 @@ extension CodenameResultProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.codename) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.userMessage) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.isAssignable) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._updatedPlayer) }() - case 6: try { try decoder.decodeRepeatedStringField(value: &self.suggestedCodenames) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.catchRadiusMultiplierSettingsEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.codename.isEmpty { - try visitor.visitSingularStringField(value: self.codename, fieldNumber: 1) - } - if !self.userMessage.isEmpty { - try visitor.visitSingularStringField(value: self.userMessage, fieldNumber: 2) - } - if self.isAssignable != false { - try visitor.visitSingularBoolField(value: self.isAssignable, fieldNumber: 3) - } - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 4) - } - try { if let v = self._updatedPlayer { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if !self.suggestedCodenames.isEmpty { - try visitor.visitRepeatedStringField(value: self.suggestedCodenames, fieldNumber: 6) + if self.catchRadiusMultiplierSettingsEnabled != false { + try visitor.visitSingularBoolField(value: self.catchRadiusMultiplierSettingsEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CodenameResultProto, rhs: CodenameResultProto) -> Bool { - if lhs.codename != rhs.codename {return false} - if lhs.userMessage != rhs.userMessage {return false} - if lhs.isAssignable != rhs.isAssignable {return false} - if lhs.status != rhs.status {return false} - if lhs._updatedPlayer != rhs._updatedPlayer {return false} - if lhs.suggestedCodenames != rhs.suggestedCodenames {return false} + public static func ==(lhs: CatchRadiusMultiplierSettingsProto, rhs: CatchRadiusMultiplierSettingsProto) -> Bool { + if lhs.catchRadiusMultiplierSettingsEnabled != rhs.catchRadiusMultiplierSettingsEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CodenameResultProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "CODENAME_NOT_AVAILABLE"), - 3: .same(proto: "CODENAME_NOT_VALID"), - 4: .same(proto: "CURRENT_OWNER"), - 5: .same(proto: "CODENAME_CHANGE_NOT_ALLOWED"), - ] -} - -extension CollectAdIdRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CollectAdIdRequestProto" +extension ChallengeIdMismatchData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChallengeIdMismatchData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "user_id"), - 2: .standard(proto: "ad_id"), - 3: .standard(proto: "device_platform"), - 4: .standard(proto: "failed_reason"), - 5: .standard(proto: "timestamp_ms"), + 1: .standard(proto: "non_matching_challenge_id"), + 2: .standard(proto: "log_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180450,65 +184951,35 @@ extension CollectAdIdRequestProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.userID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.adID) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.devicePlatform) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.failedReason) }() - case 5: try { try decoder.decodeSingularUInt64Field(value: &self.timestampMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.nonMatchingChallengeID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.logType) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.userID.isEmpty { - try visitor.visitSingularStringField(value: self.userID, fieldNumber: 1) - } - if !self.adID.isEmpty { - try visitor.visitSingularStringField(value: self.adID, fieldNumber: 2) + if !self.nonMatchingChallengeID.isEmpty { + try visitor.visitSingularStringField(value: self.nonMatchingChallengeID, fieldNumber: 1) } - if self.devicePlatform != .platformInvalid { - try visitor.visitSingularEnumField(value: self.devicePlatform, fieldNumber: 3) - } - if self.failedReason != .reasonInvalid { - try visitor.visitSingularEnumField(value: self.failedReason, fieldNumber: 4) - } - if self.timestampMs != 0 { - try visitor.visitSingularUInt64Field(value: self.timestampMs, fieldNumber: 5) + if self.logType != .noType { + try visitor.visitSingularEnumField(value: self.logType, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CollectAdIdRequestProto, rhs: CollectAdIdRequestProto) -> Bool { - if lhs.userID != rhs.userID {return false} - if lhs.adID != rhs.adID {return false} - if lhs.devicePlatform != rhs.devicePlatform {return false} - if lhs.failedReason != rhs.failedReason {return false} - if lhs.timestampMs != rhs.timestampMs {return false} + public static func ==(lhs: ChallengeIdMismatchData, rhs: ChallengeIdMismatchData) -> Bool { + if lhs.nonMatchingChallengeID != rhs.nonMatchingChallengeID {return false} + if lhs.logType != rhs.logType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CollectAdIdRequestProto.CollectionFailedReason: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "REASON_INVALID"), - 1: .same(proto: "AD_TRACKING_DISABLED"), - ] -} - -extension CollectAdIdRequestProto.DevicePlatform: SwiftProtobuf._ProtoNameProviding { +extension ChallengeQuestSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChallengeQuestSectionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PLATFORM_INVALID"), - 1: .same(proto: "ANDROID"), - 2: .same(proto: "IOS"), - ] -} - -extension CollectAdIdResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CollectAdIdResponseProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "quest_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180517,38 +184988,31 @@ extension CollectAdIdResponseProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.questID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .invalid { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.questID.isEmpty { + try visitor.visitRepeatedStringField(value: self.questID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CollectAdIdResponseProto, rhs: CollectAdIdResponseProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: ChallengeQuestSectionProto, rhs: ChallengeQuestSectionProto) -> Bool { + if lhs.questID != rhs.questID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CollectAdIdResponseProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INVALID"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - ] -} - -extension CollectDailyBonusOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CollectDailyBonusOutProto" +extension ChangeArTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChangeArTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .standard(proto: "ar_enabled"), + 2: .standard(proto: "ar_plus_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180557,61 +185021,70 @@ extension CollectDailyBonusOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.arEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.arPlusEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.arEnabled != false { + try visitor.visitSingularBoolField(value: self.arEnabled, fieldNumber: 1) + } + if self.arPlusEnabled != false { + try visitor.visitSingularBoolField(value: self.arPlusEnabled, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CollectDailyBonusOutProto, rhs: CollectDailyBonusOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: ChangeArTelemetry, rhs: ChangeArTelemetry) -> Bool { + if lhs.arEnabled != rhs.arEnabled {return false} + if lhs.arPlusEnabled != rhs.arPlusEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CollectDailyBonusOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension ChangeOnlineStatusTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChangeOnlineStatusTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - 3: .same(proto: "TOO_SOON"), + 1: .standard(proto: "is_online_status_on"), ] -} - -extension CollectDailyBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CollectDailyBonusProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.isOnlineStatusOn) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.isOnlineStatusOn != false { + try visitor.visitSingularBoolField(value: self.isOnlineStatusOn, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CollectDailyBonusProto, rhs: CollectDailyBonusProto) -> Bool { + public static func ==(lhs: ChangeOnlineStatusTelemetry, rhs: ChangeOnlineStatusTelemetry) -> Bool { + if lhs.isOnlineStatusOn != rhs.isOnlineStatusOn {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CollectDailyDefenderBonusOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CollectDailyDefenderBonusOutProto" +extension ChangePokemonFormOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChangePokemonFormOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "currency_type"), - 3: .standard(proto: "currency_awarded"), - 4: .standard(proto: "num_defenders"), + 2: .standard(proto: "changed_pokemon"), + 3: .standard(proto: "exp_awarded"), + 4: .standard(proto: "candy_awarded"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180621,81 +185094,100 @@ extension CollectDailyDefenderBonusOutProto: SwiftProtobuf.Message, SwiftProtobu // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.currencyType) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.currencyAwarded) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.numDefenders) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._changedPokemon) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.expAwarded) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.candyAwarded) }() default: break } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.currencyType.isEmpty { - try visitor.visitRepeatedStringField(value: self.currencyType, fieldNumber: 2) - } - if !self.currencyAwarded.isEmpty { - try visitor.visitPackedInt32Field(value: self.currencyAwarded, fieldNumber: 3) + try { if let v = self._changedPokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.expAwarded != 0 { + try visitor.visitSingularInt32Field(value: self.expAwarded, fieldNumber: 3) } - if self.numDefenders != 0 { - try visitor.visitSingularInt32Field(value: self.numDefenders, fieldNumber: 4) + if self.candyAwarded != 0 { + try visitor.visitSingularInt32Field(value: self.candyAwarded, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CollectDailyDefenderBonusOutProto, rhs: CollectDailyDefenderBonusOutProto) -> Bool { + public static func ==(lhs: ChangePokemonFormOutProto, rhs: ChangePokemonFormOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.currencyType != rhs.currencyType {return false} - if lhs.currencyAwarded != rhs.currencyAwarded {return false} - if lhs.numDefenders != rhs.numDefenders {return false} + if lhs._changedPokemon != rhs._changedPokemon {return false} + if lhs.expAwarded != rhs.expAwarded {return false} + if lhs.candyAwarded != rhs.candyAwarded {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CollectDailyDefenderBonusOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension ChangePokemonFormOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - 3: .same(proto: "TOO_SOON"), - 4: .same(proto: "NO_DEFENDERS"), + 2: .same(proto: "ERROR_POKEMON_MISSING"), + 3: .same(proto: "ERROR_INSUFFICIENT_RESOURCES"), + 4: .same(proto: "ERROR_QUEST_INCOMPLETE"), + 5: .same(proto: "ERROR_POKEMON_CANNOT_CHANGE"), + 6: .same(proto: "ERROR_POKEMON_DEPLOYED"), + 7: .same(proto: "ERROR_FEATURE_DISABLED"), ] } -extension CollectDailyDefenderBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CollectDailyDefenderBonusProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension ChangePokemonFormProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChangePokemonFormProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "target_form"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.targetForm) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) + } + if self.targetForm != .unset { + try visitor.visitSingularEnumField(value: self.targetForm, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CollectDailyDefenderBonusProto, rhs: CollectDailyDefenderBonusProto) -> Bool { + public static func ==(lhs: ChangePokemonFormProto, rhs: ChangePokemonFormProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.targetForm != rhs.targetForm {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatActionProto" +extension ChangeTeamOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChangeTeamOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 3: .standard(proto: "action_start_turn"), - 5: .standard(proto: "duration_turns"), - 6: .standard(proto: "attacker_index"), - 7: .standard(proto: "target_index"), - 8: .standard(proto: "active_pokemon_id"), - 14: .standard(proto: "target_pokemon_id"), - 15: .standard(proto: "minigame_score"), - 16: .same(proto: "move"), + 1: .same(proto: "status"), + 2: .standard(proto: "updated_player"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180704,87 +185196,51 @@ extension CombatActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.actionStartTurn) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.durationTurns) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.attackerIndex) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.targetIndex) }() - case 8: try { try decoder.decodeSingularFixed64Field(value: &self.activePokemonID) }() - case 14: try { try decoder.decodeSingularFixed64Field(value: &self.targetPokemonID) }() - case 15: try { try decoder.decodeSingularFloatField(value: &self.minigameScore) }() - case 16: try { try decoder.decodeSingularEnumField(value: &self.move) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._updatedPlayer) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) - } - if self.actionStartTurn != 0 { - try visitor.visitSingularInt32Field(value: self.actionStartTurn, fieldNumber: 3) - } - if self.durationTurns != 0 { - try visitor.visitSingularInt32Field(value: self.durationTurns, fieldNumber: 5) - } - if self.attackerIndex != 0 { - try visitor.visitSingularInt32Field(value: self.attackerIndex, fieldNumber: 6) - } - if self.targetIndex != 0 { - try visitor.visitSingularInt32Field(value: self.targetIndex, fieldNumber: 7) - } - if self.activePokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.activePokemonID, fieldNumber: 8) - } - if self.targetPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.targetPokemonID, fieldNumber: 14) - } - if self.minigameScore != 0 { - try visitor.visitSingularFloatField(value: self.minigameScore, fieldNumber: 15) - } - if self.move != .moveUnset { - try visitor.visitSingularEnumField(value: self.move, fieldNumber: 16) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } + try { if let v = self._updatedPlayer { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatActionProto, rhs: CombatActionProto) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.actionStartTurn != rhs.actionStartTurn {return false} - if lhs.durationTurns != rhs.durationTurns {return false} - if lhs.attackerIndex != rhs.attackerIndex {return false} - if lhs.targetIndex != rhs.targetIndex {return false} - if lhs.activePokemonID != rhs.activePokemonID {return false} - if lhs.targetPokemonID != rhs.targetPokemonID {return false} - if lhs.minigameScore != rhs.minigameScore {return false} - if lhs.move != rhs.move {return false} + public static func ==(lhs: ChangeTeamOutProto, rhs: ChangeTeamOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._updatedPlayer != rhs._updatedPlayer {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatActionProto.ActionType: SwiftProtobuf._ProtoNameProviding { +extension ChangeTeamOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "ATTACK"), - 2: .same(proto: "SPECIAL_ATTACK"), - 3: .same(proto: "SPECIAL_ATTACK_2"), - 4: .same(proto: "MINIGAME_OFFENSIVE_FINISH"), - 5: .same(proto: "MINIGAME_DEFENSIVE_START"), - 6: .same(proto: "MINIGAME_DEFENSIVE_FINISH"), - 7: .same(proto: "FAINT"), - 8: .same(proto: "CHANGE_POKEMON"), - 9: .same(proto: "QUICK_SWAP_POKEMON"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_SAME_TEAM"), + 3: .same(proto: "ERROR_ITEM_NOT_IN_INVENTORY"), + 4: .same(proto: "ERROR_WRONG_ITEM"), + 5: .same(proto: "ERROR_UNKNOWN"), ] } -extension CombatBaseStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatBaseStatsProto" +extension ChangeTeamProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChangeTeamProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "total_battles"), - 2: .same(proto: "wins"), - 3: .same(proto: "rating"), + 1: .same(proto: "item"), + 2: .same(proto: "team"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180793,43 +185249,36 @@ extension CombatBaseStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.totalBattles) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.wins) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.rating) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.team) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.totalBattles != 0 { - try visitor.visitSingularInt32Field(value: self.totalBattles, fieldNumber: 1) - } - if self.wins != 0 { - try visitor.visitSingularInt32Field(value: self.wins, fieldNumber: 2) + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) } - if self.rating != 0 { - try visitor.visitSingularFloatField(value: self.rating, fieldNumber: 3) + if self.team != .unset { + try visitor.visitSingularEnumField(value: self.team, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatBaseStatsProto, rhs: CombatBaseStatsProto) -> Bool { - if lhs.totalBattles != rhs.totalBattles {return false} - if lhs.wins != rhs.wins {return false} - if lhs.rating != rhs.rating {return false} + public static func ==(lhs: ChangeTeamProto, rhs: ChangeTeamProto) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.team != rhs.team {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatChallengeGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatChallengeGlobalSettingsProto" +extension CharacterDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CharacterDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "distance_check_override_friendship_level"), - 2: .standard(proto: "get_combat_challenge_polling_interval_sec"), - 3: .standard(proto: "enable_downstream_dispatch"), - 4: .standard(proto: "enable_challenge_notifications"), + 1: .same(proto: "style"), + 2: .same(proto: "character"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180838,54 +185287,38 @@ extension CombatChallengeGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.distanceCheckOverrideFriendshipLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.getCombatChallengePollingIntervalSec) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.enableDownstreamDispatch) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.enableChallengeNotifications) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.style) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.character) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.distanceCheckOverrideFriendshipLevel != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: self.distanceCheckOverrideFriendshipLevel, fieldNumber: 1) - } - if self.getCombatChallengePollingIntervalSec != 0 { - try visitor.visitSingularInt32Field(value: self.getCombatChallengePollingIntervalSec, fieldNumber: 2) - } - if self.enableDownstreamDispatch != false { - try visitor.visitSingularBoolField(value: self.enableDownstreamDispatch, fieldNumber: 3) + if self.style != .pokestopNormal { + try visitor.visitSingularEnumField(value: self.style, fieldNumber: 1) } - if self.enableChallengeNotifications != false { - try visitor.visitSingularBoolField(value: self.enableChallengeNotifications, fieldNumber: 4) + if self.character != .characterUnset { + try visitor.visitSingularEnumField(value: self.character, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatChallengeGlobalSettingsProto, rhs: CombatChallengeGlobalSettingsProto) -> Bool { - if lhs.distanceCheckOverrideFriendshipLevel != rhs.distanceCheckOverrideFriendshipLevel {return false} - if lhs.getCombatChallengePollingIntervalSec != rhs.getCombatChallengePollingIntervalSec {return false} - if lhs.enableDownstreamDispatch != rhs.enableDownstreamDispatch {return false} - if lhs.enableChallengeNotifications != rhs.enableChallengeNotifications {return false} + public static func ==(lhs: CharacterDisplayProto, rhs: CharacterDisplayProto) -> Bool { + if lhs.style != rhs.style {return false} + if lhs.character != rhs.character {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatChallengeProto" +extension CheckAwardedBadgesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckAwardedBadgesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), - 2: .same(proto: "type"), - 3: .standard(proto: "combat_league_template_id"), - 5: .same(proto: "challenger"), - 6: .same(proto: "opponent"), - 7: .same(proto: "state"), - 8: .standard(proto: "created_timestamp_ms"), - 10: .standard(proto: "combat_id"), - 11: .standard(proto: "ob_string"), - 19: .standard(proto: "expiration_timestamp_ms"), + 1: .same(proto: "success"), + 2: .standard(proto: "awarded_badges"), + 3: .standard(proto: "awarded_badge_levels"), + 4: .standard(proto: "avatar_template_ids"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -180894,203 +185327,65 @@ extension CombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._challenger) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._opponent) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.state) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &self.createdTimestampMs) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.combatID) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 19: try { try decoder.decodeSingularInt64Field(value: &self.expirationTimestampMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.awardedBadges) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.awardedBadgeLevels) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.avatarTemplateIds) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) - } - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) - } - if !self.combatLeagueTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 3) - } - try { if let v = self._challenger { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - try { if let v = self._opponent { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - if self.state != .unset { - try visitor.visitSingularEnumField(value: self.state, fieldNumber: 7) - } - if self.createdTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.createdTimestampMs, fieldNumber: 8) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } - if !self.combatID.isEmpty { - try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 10) + if !self.awardedBadges.isEmpty { + try visitor.visitPackedEnumField(value: self.awardedBadges, fieldNumber: 2) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 11) + if !self.awardedBadgeLevels.isEmpty { + try visitor.visitPackedInt32Field(value: self.awardedBadgeLevels, fieldNumber: 3) } - if self.expirationTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.expirationTimestampMs, fieldNumber: 19) + if !self.avatarTemplateIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.avatarTemplateIds, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatChallengeProto, rhs: CombatChallengeProto) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} - if lhs.type != rhs.type {return false} - if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} - if lhs._challenger != rhs._challenger {return false} - if lhs._opponent != rhs._opponent {return false} - if lhs.state != rhs.state {return false} - if lhs.createdTimestampMs != rhs.createdTimestampMs {return false} - if lhs.combatID != rhs.combatID {return false} - if lhs.obString != rhs.obString {return false} - if lhs.expirationTimestampMs != rhs.expirationTimestampMs {return false} + public static func ==(lhs: CheckAwardedBadgesOutProto, rhs: CheckAwardedBadgesOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.awardedBadges != rhs.awardedBadges {return false} + if lhs.awardedBadgeLevels != rhs.awardedBadgeLevels {return false} + if lhs.avatarTemplateIds != rhs.avatarTemplateIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatChallengeProto.CombatChallengeState: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "CREATED"), - 2: .same(proto: "OPENED"), - 3: .same(proto: "CANCELLED"), - 4: .same(proto: "ACCEPTED"), - 5: .same(proto: "DECLINED"), - 6: .same(proto: "READY"), - 7: .same(proto: "TIMEOUT"), - ] -} - -extension CombatChallengeProto.ChallengePlayer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatChallengeProto.protoMessageName + ".ChallengePlayer" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "player_avatar"), - 3: .standard(proto: "combat_player_s2_cell_id"), - 4: .standard(proto: "attacking_pokemon_id"), - 5: .standard(proto: "public_profile"), - 6: .standard(proto: "ob_string"), - ] - - fileprivate class _StorageClass { - var _playerID: String = String() - var _playerAvatar: PlayerAvatarProto? = nil - var _combatPlayerS2CellID: Int64 = 0 - var _attackingPokemonID: [UInt64] = [] - var _publicProfile: PlayerPublicProfileProto? = nil - var _obString: String = String() - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _playerID = source._playerID - _playerAvatar = source._playerAvatar - _combatPlayerS2CellID = source._combatPlayerS2CellID - _attackingPokemonID = source._attackingPokemonID - _publicProfile = source._publicProfile - _obString = source._obString - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } +extension CheckAwardedBadgesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckAwardedBadgesProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._playerAvatar) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &_storage._combatPlayerS2CellID) }() - case 4: try { try decoder.decodeRepeatedFixed64Field(value: &_storage._attackingPokemonID) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._publicProfile) }() - case 6: try { try decoder.decodeSingularStringField(value: &_storage._obString) }() - default: break - } - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._playerID.isEmpty { - try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 1) - } - try { if let v = _storage._playerAvatar { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if _storage._combatPlayerS2CellID != 0 { - try visitor.visitSingularInt64Field(value: _storage._combatPlayerS2CellID, fieldNumber: 3) - } - if !_storage._attackingPokemonID.isEmpty { - try visitor.visitPackedFixed64Field(value: _storage._attackingPokemonID, fieldNumber: 4) - } - try { if let v = _storage._publicProfile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if !_storage._obString.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString, fieldNumber: 6) - } - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatChallengeProto.ChallengePlayer, rhs: CombatChallengeProto.ChallengePlayer) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._playerID != rhs_storage._playerID {return false} - if _storage._playerAvatar != rhs_storage._playerAvatar {return false} - if _storage._combatPlayerS2CellID != rhs_storage._combatPlayerS2CellID {return false} - if _storage._attackingPokemonID != rhs_storage._attackingPokemonID {return false} - if _storage._publicProfile != rhs_storage._publicProfile {return false} - if _storage._obString != rhs_storage._obString {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: CheckAwardedBadgesProto, rhs: CheckAwardedBadgesProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatCompetitiveSeasonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatCompetitiveSeasonSettingsProto" +extension CheckChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckChallengeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "season_end_time_timestamp"), - 2: .standard(proto: "rating_adjustment_percentage"), - 3: .standard(proto: "ranking_adjustment_percentage"), - 4: .standard(proto: "ob_int32"), + 1: .standard(proto: "show_challenge"), + 2: .standard(proto: "challenge_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181099,45 +185394,35 @@ extension CombatCompetitiveSeasonSettingsProto: SwiftProtobuf.Message, SwiftProt // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedUInt64Field(value: &self.seasonEndTimeTimestamp) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.ratingAdjustmentPercentage) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.rankingAdjustmentPercentage) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.showChallenge) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.challengeURL) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.seasonEndTimeTimestamp.isEmpty { - try visitor.visitPackedUInt64Field(value: self.seasonEndTimeTimestamp, fieldNumber: 1) - } - if self.ratingAdjustmentPercentage != 0 { - try visitor.visitSingularFloatField(value: self.ratingAdjustmentPercentage, fieldNumber: 2) - } - if self.rankingAdjustmentPercentage != 0 { - try visitor.visitSingularFloatField(value: self.rankingAdjustmentPercentage, fieldNumber: 3) + if self.showChallenge != false { + try visitor.visitSingularBoolField(value: self.showChallenge, fieldNumber: 1) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 4) + if !self.challengeURL.isEmpty { + try visitor.visitSingularStringField(value: self.challengeURL, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatCompetitiveSeasonSettingsProto, rhs: CombatCompetitiveSeasonSettingsProto) -> Bool { - if lhs.seasonEndTimeTimestamp != rhs.seasonEndTimeTimestamp {return false} - if lhs.ratingAdjustmentPercentage != rhs.ratingAdjustmentPercentage {return false} - if lhs.rankingAdjustmentPercentage != rhs.rankingAdjustmentPercentage {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: CheckChallengeOutProto, rhs: CheckChallengeOutProto) -> Bool { + if lhs.showChallenge != rhs.showChallenge {return false} + if lhs.challengeURL != rhs.challengeURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatDefensiveInputChallengeSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatDefensiveInputChallengeSettings" +extension CheckChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckChallengeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "full_rotations_for_max_score"), + 1: .standard(proto: "debug_request"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181146,30 +185431,31 @@ extension CombatDefensiveInputChallengeSettings: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.fullRotationsForMaxScore) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.debugRequest) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.fullRotationsForMaxScore != 0 { - try visitor.visitSingularFloatField(value: self.fullRotationsForMaxScore, fieldNumber: 1) + if self.debugRequest != false { + try visitor.visitSingularBoolField(value: self.debugRequest, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatDefensiveInputChallengeSettings, rhs: CombatDefensiveInputChallengeSettings) -> Bool { - if lhs.fullRotationsForMaxScore != rhs.fullRotationsForMaxScore {return false} + public static func ==(lhs: CheckChallengeProto, rhs: CheckChallengeProto) -> Bool { + if lhs.debugRequest != rhs.debugRequest {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatEndDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatEndDataProto" +extension CheckContestEligibilityOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckContestEligibilityOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "end_type"), + 1: .same(proto: "status"), + 2: .standard(proto: "pokemon_id_to_replace"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181178,37 +185464,57 @@ extension CombatEndDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.endType) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonIDToReplace) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.endType != .noEnd { - try visitor.visitSingularEnumField(value: self.endType, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if self.pokemonIDToReplace != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonIDToReplace, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatEndDataProto, rhs: CombatEndDataProto) -> Bool { - if lhs.endType != rhs.endType {return false} + public static func ==(lhs: CheckContestEligibilityOutProto, rhs: CheckContestEligibilityOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.pokemonIDToReplace != rhs.pokemonIDToReplace {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatEndDataProto.EndType: SwiftProtobuf._ProtoNameProviding { +extension CheckContestEligibilityOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_END"), - 1: .same(proto: "COMBAT_STATE_EXIT"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "OUT_OF_RANGE"), + 4: .same(proto: "PLAYER_LIMIT_REACHED"), + 5: .same(proto: "CONTEST_LIMIT_REACHED"), + 6: .same(proto: "SAME_CYCLE_TRADE_NOT_ALLOWED"), + 7: .same(proto: "SAME_SEASON_WINNER_NOT_ALLOWED"), + 8: .same(proto: "POKEMON_IN_OTHER_CONTEST"), + 9: .same(proto: "POKEMON_IN_OTHER_CONTEST_NEED_SUBSTITUTION"), + 10: .same(proto: "NEED_SUBSTITUTION"), + 11: .same(proto: "PENDING_REWARD_ENTRY_NOT_ALLOWED"), ] } -extension CombatFriendRequestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatFriendRequestOutProto" +extension CheckContestEligibilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckContestEligibilityProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .standard(proto: "fort_id"), + 2: .standard(proto: "contest_schedule"), + 3: .standard(proto: "contest_metric"), + 4: .standard(proto: "pokemon_id"), + 5: .standard(proto: "fort_lat_degrees"), + 6: .standard(proto: "fort_lng_degrees"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181217,41 +185523,60 @@ extension CombatFriendRequestOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestSchedule) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 4: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.fortLatDegrees) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.fortLngDegrees) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + } + try { if let v = self._contestSchedule { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 4) + } + if self.fortLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLatDegrees, fieldNumber: 5) + } + if self.fortLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLngDegrees, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatFriendRequestOutProto, rhs: CombatFriendRequestOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: CheckContestEligibilityProto, rhs: CheckContestEligibilityProto) -> Bool { + if lhs.fortID != rhs.fortID {return false} + if lhs._contestSchedule != rhs._contestSchedule {return false} + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.fortLatDegrees != rhs.fortLatDegrees {return false} + if lhs.fortLngDegrees != rhs.fortLngDegrees {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatFriendRequestOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_COMBAT_NOT_FOUND"), - 3: .same(proto: "ERROR_COMBAT_INCOMPLETE"), - 4: .same(proto: "ERROR_PLAYER_NOT_IN_COMBAT"), - 5: .same(proto: "ERROR_SOCIAL_RPC"), - ] -} - -extension CombatFriendRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatFriendRequestProto" +extension CheckEncounterTrayInfoTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckEncounterTrayInfoTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "combat_id"), + 1: .standard(proto: "berry_tray_info"), + 2: .standard(proto: "ball_tray_info"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181260,304 +185585,35 @@ extension CombatFriendRequestProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.combatID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.berryTrayInfo) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.ballTrayInfo) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.combatID.isEmpty { - try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: CombatFriendRequestProto, rhs: CombatFriendRequestProto) -> Bool { - if lhs.combatID != rhs.combatID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension CombatGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatGlobalSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_combat"), - 2: .standard(proto: "maximum_daily_rewarded_battles"), - 3: .standard(proto: "enable_combat_stat_stages"), - 4: .standard(proto: "minimum_player_level"), - 5: .standard(proto: "maximum_daily_npc_rewarded_battles"), - 6: .standard(proto: "active_combat_update_interval_ms"), - 7: .standard(proto: "waiting_for_player_update_interval_ms"), - 8: .standard(proto: "ready_for_battle_update_interval_ms"), - 9: .standard(proto: "pre_move_submit_window_ms"), - 10: .standard(proto: "post_move_submit_window_ms"), - 11: .standard(proto: "enable_sockets"), - 12: .standard(proto: "enable_spin_minigame"), - 13: .standard(proto: "enable_quick_swap_v2"), - 14: .standard(proto: "deprecated_vs_seeker_setting"), - 15: .standard(proto: "vs_seeker_walking_dist_poll_duration_ms"), - 16: .standard(proto: "vs_seeker_player_min_level"), - 17: .standard(proto: "matchmaking_poll_duration_ms"), - 18: .standard(proto: "enable_particle_minigame"), - 19: .standard(proto: "enable_vs_seeker_upgrade_iap"), - 20: .standard(proto: "enable_flyout_animations"), - 21: .standard(proto: "enable_battle_hub"), - 22: .standard(proto: "matchmaking_timeout_duration_ms"), - 23: .standard(proto: "planned_downtime_timestamp_ms"), - 24: .standard(proto: "latency_compensation_threshold_ms"), - 25: .standard(proto: "combat_data_types"), - 26: .standard(proto: "combat_league_vs_seeker_ids"), - ] - - fileprivate class _StorageClass { - var _enableCombat: Bool = false - var _maximumDailyRewardedBattles: Int32 = 0 - var _enableCombatStatStages: Bool = false - var _minimumPlayerLevel: UInt32 = 0 - var _maximumDailyNpcRewardedBattles: Int32 = 0 - var _activeCombatUpdateIntervalMs: Int32 = 0 - var _waitingForPlayerUpdateIntervalMs: Int32 = 0 - var _readyForBattleUpdateIntervalMs: Int32 = 0 - var _preMoveSubmitWindowMs: Int32 = 0 - var _postMoveSubmitWindowMs: Int32 = 0 - var _enableSockets: Bool = false - var _enableSpinMinigame: Bool = false - var _enableQuickSwapV2: Bool = false - var _deprecatedVsSeekerSetting: Bool = false - var _vsSeekerWalkingDistPollDurationMs: Int32 = 0 - var _vsSeekerPlayerMinLevel: Int32 = 0 - var _matchmakingPollDurationMs: Int32 = 0 - var _enableParticleMinigame: Bool = false - var _enableVsSeekerUpgradeIap: Bool = false - var _enableFlyoutAnimations: Bool = false - var _enableBattleHub: Bool = false - var _matchmakingTimeoutDurationMs: Int32 = 0 - var _plannedDowntimeTimestampMs: Int64 = 0 - var _latencyCompensationThresholdMs: Int32 = 0 - var _combatDataTypes: [CombatGlobalSettingsProto.CombatDataTypes] = [] - var _combatLeagueVsSeekerIds: [String] = [] - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _enableCombat = source._enableCombat - _maximumDailyRewardedBattles = source._maximumDailyRewardedBattles - _enableCombatStatStages = source._enableCombatStatStages - _minimumPlayerLevel = source._minimumPlayerLevel - _maximumDailyNpcRewardedBattles = source._maximumDailyNpcRewardedBattles - _activeCombatUpdateIntervalMs = source._activeCombatUpdateIntervalMs - _waitingForPlayerUpdateIntervalMs = source._waitingForPlayerUpdateIntervalMs - _readyForBattleUpdateIntervalMs = source._readyForBattleUpdateIntervalMs - _preMoveSubmitWindowMs = source._preMoveSubmitWindowMs - _postMoveSubmitWindowMs = source._postMoveSubmitWindowMs - _enableSockets = source._enableSockets - _enableSpinMinigame = source._enableSpinMinigame - _enableQuickSwapV2 = source._enableQuickSwapV2 - _deprecatedVsSeekerSetting = source._deprecatedVsSeekerSetting - _vsSeekerWalkingDistPollDurationMs = source._vsSeekerWalkingDistPollDurationMs - _vsSeekerPlayerMinLevel = source._vsSeekerPlayerMinLevel - _matchmakingPollDurationMs = source._matchmakingPollDurationMs - _enableParticleMinigame = source._enableParticleMinigame - _enableVsSeekerUpgradeIap = source._enableVsSeekerUpgradeIap - _enableFlyoutAnimations = source._enableFlyoutAnimations - _enableBattleHub = source._enableBattleHub - _matchmakingTimeoutDurationMs = source._matchmakingTimeoutDurationMs - _plannedDowntimeTimestampMs = source._plannedDowntimeTimestampMs - _latencyCompensationThresholdMs = source._latencyCompensationThresholdMs - _combatDataTypes = source._combatDataTypes - _combatLeagueVsSeekerIds = source._combatLeagueVsSeekerIds - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &_storage._enableCombat) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._maximumDailyRewardedBattles) }() - case 3: try { try decoder.decodeSingularBoolField(value: &_storage._enableCombatStatStages) }() - case 4: try { try decoder.decodeSingularUInt32Field(value: &_storage._minimumPlayerLevel) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._maximumDailyNpcRewardedBattles) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._activeCombatUpdateIntervalMs) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._waitingForPlayerUpdateIntervalMs) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._readyForBattleUpdateIntervalMs) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._preMoveSubmitWindowMs) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._postMoveSubmitWindowMs) }() - case 11: try { try decoder.decodeSingularBoolField(value: &_storage._enableSockets) }() - case 12: try { try decoder.decodeSingularBoolField(value: &_storage._enableSpinMinigame) }() - case 13: try { try decoder.decodeSingularBoolField(value: &_storage._enableQuickSwapV2) }() - case 14: try { try decoder.decodeSingularBoolField(value: &_storage._deprecatedVsSeekerSetting) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._vsSeekerWalkingDistPollDurationMs) }() - case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._vsSeekerPlayerMinLevel) }() - case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._matchmakingPollDurationMs) }() - case 18: try { try decoder.decodeSingularBoolField(value: &_storage._enableParticleMinigame) }() - case 19: try { try decoder.decodeSingularBoolField(value: &_storage._enableVsSeekerUpgradeIap) }() - case 20: try { try decoder.decodeSingularBoolField(value: &_storage._enableFlyoutAnimations) }() - case 21: try { try decoder.decodeSingularBoolField(value: &_storage._enableBattleHub) }() - case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._matchmakingTimeoutDurationMs) }() - case 23: try { try decoder.decodeSingularInt64Field(value: &_storage._plannedDowntimeTimestampMs) }() - case 24: try { try decoder.decodeSingularInt32Field(value: &_storage._latencyCompensationThresholdMs) }() - case 25: try { try decoder.decodeRepeatedEnumField(value: &_storage._combatDataTypes) }() - case 26: try { try decoder.decodeRepeatedStringField(value: &_storage._combatLeagueVsSeekerIds) }() - default: break - } - } + if self.berryTrayInfo != false { + try visitor.visitSingularBoolField(value: self.berryTrayInfo, fieldNumber: 1) } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._enableCombat != false { - try visitor.visitSingularBoolField(value: _storage._enableCombat, fieldNumber: 1) - } - if _storage._maximumDailyRewardedBattles != 0 { - try visitor.visitSingularInt32Field(value: _storage._maximumDailyRewardedBattles, fieldNumber: 2) - } - if _storage._enableCombatStatStages != false { - try visitor.visitSingularBoolField(value: _storage._enableCombatStatStages, fieldNumber: 3) - } - if _storage._minimumPlayerLevel != 0 { - try visitor.visitSingularUInt32Field(value: _storage._minimumPlayerLevel, fieldNumber: 4) - } - if _storage._maximumDailyNpcRewardedBattles != 0 { - try visitor.visitSingularInt32Field(value: _storage._maximumDailyNpcRewardedBattles, fieldNumber: 5) - } - if _storage._activeCombatUpdateIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._activeCombatUpdateIntervalMs, fieldNumber: 6) - } - if _storage._waitingForPlayerUpdateIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._waitingForPlayerUpdateIntervalMs, fieldNumber: 7) - } - if _storage._readyForBattleUpdateIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._readyForBattleUpdateIntervalMs, fieldNumber: 8) - } - if _storage._preMoveSubmitWindowMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._preMoveSubmitWindowMs, fieldNumber: 9) - } - if _storage._postMoveSubmitWindowMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._postMoveSubmitWindowMs, fieldNumber: 10) - } - if _storage._enableSockets != false { - try visitor.visitSingularBoolField(value: _storage._enableSockets, fieldNumber: 11) - } - if _storage._enableSpinMinigame != false { - try visitor.visitSingularBoolField(value: _storage._enableSpinMinigame, fieldNumber: 12) - } - if _storage._enableQuickSwapV2 != false { - try visitor.visitSingularBoolField(value: _storage._enableQuickSwapV2, fieldNumber: 13) - } - if _storage._deprecatedVsSeekerSetting != false { - try visitor.visitSingularBoolField(value: _storage._deprecatedVsSeekerSetting, fieldNumber: 14) - } - if _storage._vsSeekerWalkingDistPollDurationMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._vsSeekerWalkingDistPollDurationMs, fieldNumber: 15) - } - if _storage._vsSeekerPlayerMinLevel != 0 { - try visitor.visitSingularInt32Field(value: _storage._vsSeekerPlayerMinLevel, fieldNumber: 16) - } - if _storage._matchmakingPollDurationMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._matchmakingPollDurationMs, fieldNumber: 17) - } - if _storage._enableParticleMinigame != false { - try visitor.visitSingularBoolField(value: _storage._enableParticleMinigame, fieldNumber: 18) - } - if _storage._enableVsSeekerUpgradeIap != false { - try visitor.visitSingularBoolField(value: _storage._enableVsSeekerUpgradeIap, fieldNumber: 19) - } - if _storage._enableFlyoutAnimations != false { - try visitor.visitSingularBoolField(value: _storage._enableFlyoutAnimations, fieldNumber: 20) - } - if _storage._enableBattleHub != false { - try visitor.visitSingularBoolField(value: _storage._enableBattleHub, fieldNumber: 21) - } - if _storage._matchmakingTimeoutDurationMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._matchmakingTimeoutDurationMs, fieldNumber: 22) - } - if _storage._plannedDowntimeTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._plannedDowntimeTimestampMs, fieldNumber: 23) - } - if _storage._latencyCompensationThresholdMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._latencyCompensationThresholdMs, fieldNumber: 24) - } - if !_storage._combatDataTypes.isEmpty { - try visitor.visitPackedEnumField(value: _storage._combatDataTypes, fieldNumber: 25) - } - if !_storage._combatLeagueVsSeekerIds.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._combatLeagueVsSeekerIds, fieldNumber: 26) - } + if self.ballTrayInfo != false { + try visitor.visitSingularBoolField(value: self.ballTrayInfo, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatGlobalSettingsProto, rhs: CombatGlobalSettingsProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._enableCombat != rhs_storage._enableCombat {return false} - if _storage._maximumDailyRewardedBattles != rhs_storage._maximumDailyRewardedBattles {return false} - if _storage._enableCombatStatStages != rhs_storage._enableCombatStatStages {return false} - if _storage._minimumPlayerLevel != rhs_storage._minimumPlayerLevel {return false} - if _storage._maximumDailyNpcRewardedBattles != rhs_storage._maximumDailyNpcRewardedBattles {return false} - if _storage._activeCombatUpdateIntervalMs != rhs_storage._activeCombatUpdateIntervalMs {return false} - if _storage._waitingForPlayerUpdateIntervalMs != rhs_storage._waitingForPlayerUpdateIntervalMs {return false} - if _storage._readyForBattleUpdateIntervalMs != rhs_storage._readyForBattleUpdateIntervalMs {return false} - if _storage._preMoveSubmitWindowMs != rhs_storage._preMoveSubmitWindowMs {return false} - if _storage._postMoveSubmitWindowMs != rhs_storage._postMoveSubmitWindowMs {return false} - if _storage._enableSockets != rhs_storage._enableSockets {return false} - if _storage._enableSpinMinigame != rhs_storage._enableSpinMinigame {return false} - if _storage._enableQuickSwapV2 != rhs_storage._enableQuickSwapV2 {return false} - if _storage._deprecatedVsSeekerSetting != rhs_storage._deprecatedVsSeekerSetting {return false} - if _storage._vsSeekerWalkingDistPollDurationMs != rhs_storage._vsSeekerWalkingDistPollDurationMs {return false} - if _storage._vsSeekerPlayerMinLevel != rhs_storage._vsSeekerPlayerMinLevel {return false} - if _storage._matchmakingPollDurationMs != rhs_storage._matchmakingPollDurationMs {return false} - if _storage._enableParticleMinigame != rhs_storage._enableParticleMinigame {return false} - if _storage._enableVsSeekerUpgradeIap != rhs_storage._enableVsSeekerUpgradeIap {return false} - if _storage._enableFlyoutAnimations != rhs_storage._enableFlyoutAnimations {return false} - if _storage._enableBattleHub != rhs_storage._enableBattleHub {return false} - if _storage._matchmakingTimeoutDurationMs != rhs_storage._matchmakingTimeoutDurationMs {return false} - if _storage._plannedDowntimeTimestampMs != rhs_storage._plannedDowntimeTimestampMs {return false} - if _storage._latencyCompensationThresholdMs != rhs_storage._latencyCompensationThresholdMs {return false} - if _storage._combatDataTypes != rhs_storage._combatDataTypes {return false} - if _storage._combatLeagueVsSeekerIds != rhs_storage._combatLeagueVsSeekerIds {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: CheckEncounterTrayInfoTelemetry, rhs: CheckEncounterTrayInfoTelemetry) -> Bool { + if lhs.berryTrayInfo != rhs.berryTrayInfo {return false} + if lhs.ballTrayInfo != rhs.ballTrayInfo {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatGlobalSettingsProto.CombatDataTypes: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE"), - 1: .same(proto: "TRAINER_NPC_COMBAT"), - 2: .same(proto: "INVASION_GRUNT_COMBAT"), - 3: .same(proto: "INVASION_BOSS_COMBAT"), - 4: .same(proto: "FRIEND_COMBAT"), - ] -} - -extension CombatHubEntranceTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatHubEntranceTelemetry" +extension CheckGiftingEligibilityOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckGiftingEligibilityOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "combat_hub_telemetry_id"), + 1: .standard(proto: "gifting_eligibility"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181566,31 +185622,35 @@ extension CombatHubEntranceTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.combatHubTelemetryID) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._giftingEligibility) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.combatHubTelemetryID != .undefinedEvent { - try visitor.visitSingularEnumField(value: self.combatHubTelemetryID, fieldNumber: 1) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._giftingEligibility { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatHubEntranceTelemetry, rhs: CombatHubEntranceTelemetry) -> Bool { - if lhs.combatHubTelemetryID != rhs.combatHubTelemetryID {return false} + public static func ==(lhs: CheckGiftingEligibilityOutProto, rhs: CheckGiftingEligibilityOutProto) -> Bool { + if lhs._giftingEligibility != rhs._giftingEligibility {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatIdMismatchDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatIdMismatchDataProto" +extension CheckGiftingEligibilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckGiftingEligibilityProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .same(proto: "type"), + 1: .standard(proto: "gifting_iap_item"), + 2: .standard(proto: "recipient_friend_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181599,48 +185659,43 @@ extension CombatIdMismatchDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._giftingIapItem) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.recipientFriendID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) - } - if self.type != .noType { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._giftingIapItem { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.recipientFriendID.isEmpty { + try visitor.visitSingularStringField(value: self.recipientFriendID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatIdMismatchDataProto, rhs: CombatIdMismatchDataProto) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.type != rhs.type {return false} + public static func ==(lhs: CheckGiftingEligibilityProto, rhs: CheckGiftingEligibilityProto) -> Bool { + if lhs._giftingIapItem != rhs._giftingIapItem {return false} + if lhs.recipientFriendID != rhs.recipientFriendID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatLeagueProto" +extension CheckPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckPhotobombOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "title"), - 2: .same(proto: "enabled"), - 3: .standard(proto: "unlock_condition"), - 4: .standard(proto: "pokemon_condition"), - 5: .standard(proto: "icon_url"), - 6: .standard(proto: "pokemon_count"), - 7: .standard(proto: "banned_pokemon"), - 8: .standard(proto: "badge_type"), - 9: .standard(proto: "minigame_defense_chance_limit"), - 10: .standard(proto: "battle_party_combat_league_template_id"), - 11: .standard(proto: "league_type"), - 12: .standard(proto: "border_color_hex"), - 13: .standard(proto: "allow_temp_evos"), - 14: .standard(proto: "combat_refactor_toggle"), + 1: .same(proto: "status"), + 2: .standard(proto: "photobomb_pokemon_id"), + 3: .standard(proto: "photobomb_pokemon_display"), + 4: .standard(proto: "encounter_id"), + 5: .same(proto: "uri"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181649,124 +185704,63 @@ extension CombatLeagueProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.unlockCondition) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonCondition) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.iconURL) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.pokemonCount) }() - case 7: try { try decoder.decodeRepeatedEnumField(value: &self.bannedPokemon) }() - case 8: try { try decoder.decodeSingularEnumField(value: &self.badgeType) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.minigameDefenseChanceLimit) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.battlePartyCombatLeagueTemplateID) }() - case 11: try { try decoder.decodeSingularEnumField(value: &self.leagueType) }() - case 12: try { try decoder.decodeSingularStringField(value: &self.borderColorHex) }() - case 13: try { try decoder.decodeSingularBoolField(value: &self.allowTempEvos) }() - case 14: try { try decoder.decodeRepeatedEnumField(value: &self.combatRefactorToggle) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.photobombPokemonID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._photobombPokemonDisplay) }() + case 4: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.uri) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.title.isEmpty { - try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) - } - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 2) - } - if !self.unlockCondition.isEmpty { - try visitor.visitRepeatedMessageField(value: self.unlockCondition, fieldNumber: 3) - } - if !self.pokemonCondition.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokemonCondition, fieldNumber: 4) - } - if !self.iconURL.isEmpty { - try visitor.visitSingularStringField(value: self.iconURL, fieldNumber: 5) - } - if self.pokemonCount != 0 { - try visitor.visitSingularInt32Field(value: self.pokemonCount, fieldNumber: 6) - } - if !self.bannedPokemon.isEmpty { - try visitor.visitPackedEnumField(value: self.bannedPokemon, fieldNumber: 7) - } - if self.badgeType != .badgeUnset { - try visitor.visitSingularEnumField(value: self.badgeType, fieldNumber: 8) - } - if self.minigameDefenseChanceLimit != 0 { - try visitor.visitSingularInt32Field(value: self.minigameDefenseChanceLimit, fieldNumber: 9) - } - if !self.battlePartyCombatLeagueTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.battlePartyCombatLeagueTemplateID, fieldNumber: 10) - } - if self.leagueType != .none { - try visitor.visitSingularEnumField(value: self.leagueType, fieldNumber: 11) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.borderColorHex.isEmpty { - try visitor.visitSingularStringField(value: self.borderColorHex, fieldNumber: 12) + if self.photobombPokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.photobombPokemonID, fieldNumber: 2) } - if self.allowTempEvos != false { - try visitor.visitSingularBoolField(value: self.allowTempEvos, fieldNumber: 13) + try { if let v = self._photobombPokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 4) } - if !self.combatRefactorToggle.isEmpty { - try visitor.visitPackedEnumField(value: self.combatRefactorToggle, fieldNumber: 14) + if !self.uri.isEmpty { + try visitor.visitSingularStringField(value: self.uri, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto, rhs: CombatLeagueProto) -> Bool { - if lhs.title != rhs.title {return false} - if lhs.enabled != rhs.enabled {return false} - if lhs.unlockCondition != rhs.unlockCondition {return false} - if lhs.pokemonCondition != rhs.pokemonCondition {return false} - if lhs.iconURL != rhs.iconURL {return false} - if lhs.pokemonCount != rhs.pokemonCount {return false} - if lhs.bannedPokemon != rhs.bannedPokemon {return false} - if lhs.badgeType != rhs.badgeType {return false} - if lhs.minigameDefenseChanceLimit != rhs.minigameDefenseChanceLimit {return false} - if lhs.battlePartyCombatLeagueTemplateID != rhs.battlePartyCombatLeagueTemplateID {return false} - if lhs.leagueType != rhs.leagueType {return false} - if lhs.borderColorHex != rhs.borderColorHex {return false} - if lhs.allowTempEvos != rhs.allowTempEvos {return false} - if lhs.combatRefactorToggle != rhs.combatRefactorToggle {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension CombatLeagueProto.ConditionType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "WITH_POKEMON_CP_LIMIT"), - 2: .same(proto: "WITH_PLAYER_LEVEL"), - 3: .same(proto: "WITH_POKEMON_TYPE"), - 4: .same(proto: "WITH_POKEMON_CATEGORY"), - 5: .same(proto: "WITH_UNIQUE_POKEMON"), - 6: .same(proto: "POKEMON_WHITELIST"), - 7: .same(proto: "POKEMON_BANLIST"), - 8: .same(proto: "POKEMON_CAUGHT_TIMESTAMP"), - 9: .same(proto: "POKEMON_LEVEL_RANGE"), - ] + public static func ==(lhs: CheckPhotobombOutProto, rhs: CheckPhotobombOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.photobombPokemonID != rhs.photobombPokemonID {return false} + if lhs._photobombPokemonDisplay != rhs._photobombPokemonDisplay {return false} + if lhs.encounterID != rhs.encounterID {return false} + if lhs.uri != rhs.uri {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension CombatLeagueProto.LeagueType: SwiftProtobuf._ProtoNameProviding { +extension CheckPhotobombOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE"), - 1: .same(proto: "STANDARD"), - 2: .same(proto: "PREMIER"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_PHOTO_POKEMON_INVALID"), + 3: .same(proto: "ERROR_UNKNOWN"), ] } -extension CombatLeagueProto.ObCombatLeagueProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".ObCombatLeagueProto" +extension CheckPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckPhotobombProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_data"), - 2: .standard(proto: "ob_bool_1"), - 3: .standard(proto: "ob_bool_2"), - 4: .standard(proto: "ob_bool_3"), - 5: .standard(proto: "pokemon_class"), - 6: .standard(proto: "pokemon_alignment"), - 7: .standard(proto: "pokemon_size"), + 1: .standard(proto: "photo_pokemon_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181775,61 +185769,31 @@ extension CombatLeagueProto.ObCombatLeagueProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.obData) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obBool3) }() - case 5: try { try decoder.decodeRepeatedEnumField(value: &self.pokemonClass) }() - case 6: try { try decoder.decodeRepeatedEnumField(value: &self.pokemonAlignment) }() - case 7: try { try decoder.decodeRepeatedEnumField(value: &self.pokemonSize) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.photoPokemonID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obData, fieldNumber: 1) - } - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 2) - } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 3) - } - if self.obBool3 != false { - try visitor.visitSingularBoolField(value: self.obBool3, fieldNumber: 4) - } - if !self.pokemonClass.isEmpty { - try visitor.visitPackedEnumField(value: self.pokemonClass, fieldNumber: 5) - } - if !self.pokemonAlignment.isEmpty { - try visitor.visitPackedEnumField(value: self.pokemonAlignment, fieldNumber: 6) - } - if !self.pokemonSize.isEmpty { - try visitor.visitPackedEnumField(value: self.pokemonSize, fieldNumber: 7) + if self.photoPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.photoPokemonID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto.ObCombatLeagueProto, rhs: CombatLeagueProto.ObCombatLeagueProto) -> Bool { - if lhs.obData != rhs.obData {return false} - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.obBool3 != rhs.obBool3 {return false} - if lhs.pokemonClass != rhs.pokemonClass {return false} - if lhs.pokemonAlignment != rhs.pokemonAlignment {return false} - if lhs.pokemonSize != rhs.pokemonSize {return false} + public static func ==(lhs: CheckPhotobombProto, rhs: CheckPhotobombProto) -> Bool { + if lhs.photoPokemonID != rhs.photoPokemonID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueProto.ObCombatLeagueProto.ObData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatLeagueProto.ObCombatLeagueProto.protoMessageName + ".ObData" +extension CheckPokemonSizeLeaderboardEligibilityOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckPokemonSizeLeaderboardEligibilityOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), + 1: .same(proto: "status"), + 2: .standard(proto: "pokemon_id_to_replace"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181838,37 +185802,57 @@ extension CombatLeagueProto.ObCombatLeagueProto.ObData: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonIDToReplace) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) + if self.pokemonIDToReplace != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonIDToReplace, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto.ObCombatLeagueProto.ObData, rhs: CombatLeagueProto.ObCombatLeagueProto.ObData) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: CheckPokemonSizeLeaderboardEligibilityOutProto, rhs: CheckPokemonSizeLeaderboardEligibilityOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.pokemonIDToReplace != rhs.pokemonIDToReplace {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueProto.PokemonBanlist: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonBanlist" +extension CheckPokemonSizeLeaderboardEligibilityOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "pokemon"), - 3: .standard(proto: "ob_proto"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "OUT_OF_RANGE"), + 4: .same(proto: "PLAYER_LIMIT_REACHED"), + 5: .same(proto: "CONTEST_LIMIT_REACHED"), + 6: .same(proto: "SAME_CYCLE_TRADE_NOT_ALLOWED"), + 7: .same(proto: "SAME_SEASON_WINNER_NOT_ALLOWED"), + 8: .same(proto: "POKEMON_IN_OTHER_CONTEST"), + 9: .same(proto: "POKEMON_IN_OTHER_CONTEST_NEED_SUBSTITUTION"), + 10: .same(proto: "NEED_SUBSTITUTION"), + 11: .same(proto: "PENDING_REWARD_ENTRY_NOT_ALLOWED"), + ] +} + +extension CheckPokemonSizeLeaderboardEligibilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckPokemonSizeLeaderboardEligibilityProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_id"), + 2: .standard(proto: "contest_schedule"), + 3: .standard(proto: "contest_metric"), + 4: .standard(proto: "pokemon_id"), + 5: .standard(proto: "fort_lat_degrees"), + 6: .standard(proto: "fort_lng_degrees"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181877,9 +185861,12 @@ extension CombatLeagueProto.PokemonBanlist: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pokemon) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._obProto) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestSchedule) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 4: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.fortLatDegrees) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.fortLngDegrees) }() default: break } } @@ -181890,32 +185877,43 @@ extension CombatLeagueProto.PokemonBanlist: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.pokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokemon, fieldNumber: 2) + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) } - try { if let v = self._obProto { + try { if let v = self._contestSchedule { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._contestMetric { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 4) + } + if self.fortLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLatDegrees, fieldNumber: 5) + } + if self.fortLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLngDegrees, fieldNumber: 6) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto.PokemonBanlist, rhs: CombatLeagueProto.PokemonBanlist) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.pokemon != rhs.pokemon {return false} - if lhs._obProto != rhs._obProto {return false} + public static func ==(lhs: CheckPokemonSizeLeaderboardEligibilityProto, rhs: CheckPokemonSizeLeaderboardEligibilityProto) -> Bool { + if lhs.fortID != rhs.fortID {return false} + if lhs._contestSchedule != rhs._contestSchedule {return false} + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.fortLatDegrees != rhs.fortLatDegrees {return false} + if lhs.fortLngDegrees != rhs.fortLngDegrees {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueProto.PokemonCaughtTimestamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonCaughtTimestamp" +extension CheckSendGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckSendGiftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "after_timestamp"), - 2: .standard(proto: "before_timestamp"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181924,42 +185922,42 @@ extension CombatLeagueProto.PokemonCaughtTimestamp: SwiftProtobuf.Message, Swift // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.afterTimestamp) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.beforeTimestamp) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.afterTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.afterTimestamp, fieldNumber: 1) - } - if self.beforeTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.beforeTimestamp, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto.PokemonCaughtTimestamp, rhs: CombatLeagueProto.PokemonCaughtTimestamp) -> Bool { - if lhs.afterTimestamp != rhs.afterTimestamp {return false} - if lhs.beforeTimestamp != rhs.beforeTimestamp {return false} + public static func ==(lhs: CheckSendGiftOutProto, rhs: CheckSendGiftOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueProto.PokemonConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonConditionProto" +extension CheckSendGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "with_pokemon_cp_limit"), - 3: .standard(proto: "with_pokemon_type"), - 4: .standard(proto: "with_pokemon_category"), - 5: .standard(proto: "pokemon_whitelist"), - 6: .standard(proto: "pokemon_banlist"), - 7: .standard(proto: "pokemon_caught_timestamp"), - 8: .standard(proto: "pokemon_level_range"), - 1: .same(proto: "type"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_DOES_NOT_EXIST"), + 4: .same(proto: "ERROR_GIFT_NOT_AVAILABLE"), + 5: .same(proto: "ERROR_GIFT_ALREADY_SENT_TODAY"), + 6: .same(proto: "ERROR_PLAYER_HAS_UNOPENED_GIFT"), + ] +} + +extension CheckSendGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CheckSendGiftProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -181968,158 +185966,30 @@ extension CombatLeagueProto.PokemonConditionProto: SwiftProtobuf.Message, SwiftP // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { - var v: WithPokemonCpLimitProto? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .withPokemonCpLimit(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .withPokemonCpLimit(v) - } - }() - case 3: try { - var v: WithPokemonTypeProto? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .withPokemonType(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .withPokemonType(v) - } - }() - case 4: try { - var v: WithPokemonCategoryProto? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .withPokemonCategory(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .withPokemonCategory(v) - } - }() - case 5: try { - var v: CombatLeagueProto.PokemonWhitelist? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .pokemonWhitelist(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .pokemonWhitelist(v) - } - }() - case 6: try { - var v: CombatLeagueProto.PokemonBanlist? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .pokemonBanlist(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .pokemonBanlist(v) - } - }() - case 7: try { - var v: CombatLeagueProto.PokemonCaughtTimestamp? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .pokemonCaughtTimestamp(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .pokemonCaughtTimestamp(v) - } - }() - case 8: try { - var v: CombatLeagueProto.PokemonLevelRange? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .pokemonLevelRange(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .pokemonLevelRange(v) - } - }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) - } - switch self.condition { - case .withPokemonCpLimit?: try { - guard case .withPokemonCpLimit(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .withPokemonType?: try { - guard case .withPokemonType(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .withPokemonCategory?: try { - guard case .withPokemonCategory(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .pokemonWhitelist?: try { - guard case .pokemonWhitelist(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case .pokemonBanlist?: try { - guard case .pokemonBanlist(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - }() - case .pokemonCaughtTimestamp?: try { - guard case .pokemonCaughtTimestamp(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - }() - case .pokemonLevelRange?: try { - guard case .pokemonLevelRange(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - }() - case nil: break + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto.PokemonConditionProto, rhs: CombatLeagueProto.PokemonConditionProto) -> Bool { - if lhs.condition != rhs.condition {return false} - if lhs.type != rhs.type {return false} + public static func ==(lhs: CheckSendGiftProto, rhs: CheckSendGiftProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueProto.PokemonLevelRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonLevelRange" +extension ChooseGlobalTicketedEventVariantOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChooseGlobalTicketedEventVariantOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_level"), - 2: .standard(proto: "max_level"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182128,37 +185998,39 @@ extension CombatLeagueProto.PokemonLevelRange: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxLevel) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minLevel != 0 { - try visitor.visitSingularInt32Field(value: self.minLevel, fieldNumber: 1) - } - if self.maxLevel != 0 { - try visitor.visitSingularInt32Field(value: self.maxLevel, fieldNumber: 2) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto.PokemonLevelRange, rhs: CombatLeagueProto.PokemonLevelRange) -> Bool { - if lhs.minLevel != rhs.minLevel {return false} - if lhs.maxLevel != rhs.maxLevel {return false} + public static func ==(lhs: ChooseGlobalTicketedEventVariantOutProto, rhs: ChooseGlobalTicketedEventVariantOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueProto.PokemonWhitelist: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonWhitelist" +extension ChooseGlobalTicketedEventVariantOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "pokemon"), - 3: .standard(proto: "ob_proto"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_HAS_REQUESTED_BADGE"), + 3: .same(proto: "ERROR_HAS_MUTUALLY_EXCLUSIVE_BADGE"), + ] +} + +extension ChooseGlobalTicketedEventVariantProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ChooseGlobalTicketedEventVariantProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "target_variant"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182167,46 +186039,32 @@ extension CombatLeagueProto.PokemonWhitelist: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pokemon) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._obProto) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.targetVariant) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.pokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokemon, fieldNumber: 2) + if self.targetVariant != .badgeUnset { + try visitor.visitSingularEnumField(value: self.targetVariant, fieldNumber: 1) } - try { if let v = self._obProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto.PokemonWhitelist, rhs: CombatLeagueProto.PokemonWhitelist) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.pokemon != rhs.pokemon {return false} - if lhs._obProto != rhs._obProto {return false} + public static func ==(lhs: ChooseGlobalTicketedEventVariantProto, rhs: ChooseGlobalTicketedEventVariantProto) -> Bool { + if lhs.targetVariant != rhs.targetVariant {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueProto.PokemonWithForm: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonWithForm" +extension ClaimCodenameRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClaimCodenameRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "form"), - 3: .same(proto: "forms"), + 1: .same(proto: "codename"), + 2: .same(proto: "force"), + 3: .standard(proto: "generate_suggested_codenames"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182215,49 +186073,41 @@ extension CombatLeagueProto.PokemonWithForm: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.id) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.form) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.forms) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.codename) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.force) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.generateSuggestedCodenames) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.id != .missingno { - try visitor.visitSingularEnumField(value: self.id, fieldNumber: 1) + if !self.codename.isEmpty { + try visitor.visitSingularStringField(value: self.codename, fieldNumber: 1) } - if self.form != .unset { - try visitor.visitSingularEnumField(value: self.form, fieldNumber: 2) + if self.force != false { + try visitor.visitSingularBoolField(value: self.force, fieldNumber: 2) } - if !self.forms.isEmpty { - try visitor.visitPackedEnumField(value: self.forms, fieldNumber: 3) + if self.generateSuggestedCodenames != false { + try visitor.visitSingularBoolField(value: self.generateSuggestedCodenames, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto.PokemonWithForm, rhs: CombatLeagueProto.PokemonWithForm) -> Bool { - if lhs.id != rhs.id {return false} - if lhs.form != rhs.form {return false} - if lhs.forms != rhs.forms {return false} + public static func ==(lhs: ClaimCodenameRequestProto, rhs: ClaimCodenameRequestProto) -> Bool { + if lhs.codename != rhs.codename {return false} + if lhs.force != rhs.force {return false} + if lhs.generateSuggestedCodenames != rhs.generateSuggestedCodenames {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueProto.UnlockConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".UnlockConditionProto" +extension ClaimContestsRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClaimContestsRewardsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 3: .standard(proto: "with_player_level"), - 4: .standard(proto: "with_pokemon_cp_limit"), - 5: .standard(proto: "with_pokemon_type"), - 6: .standard(proto: "with_pokemon_category"), - 7: .standard(proto: "pokemon_whitelist"), - 8: .standard(proto: "pokemon_banlist"), - 9: .standard(proto: "pokemon_caught_timestamp"), - 10: .standard(proto: "pokemon_level_range"), - 1: .same(proto: "type"), - 2: .standard(proto: "min_pokemon_count"), + 1: .same(proto: "status"), + 2: .standard(proto: "rewards_per_contest"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182266,179 +186116,62 @@ extension CombatLeagueProto.UnlockConditionProto: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPokemonCount) }() - case 3: try { - var v: WithPlayerLevelProto? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .withPlayerLevel(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .withPlayerLevel(v) - } - }() - case 4: try { - var v: WithPokemonCpLimitProto? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .withPokemonCpLimit(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .withPokemonCpLimit(v) - } - }() - case 5: try { - var v: WithPokemonTypeProto? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .withPokemonType(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .withPokemonType(v) - } - }() - case 6: try { - var v: WithPokemonCategoryProto? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .withPokemonCategory(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .withPokemonCategory(v) - } - }() - case 7: try { - var v: CombatLeagueProto.PokemonWhitelist? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .pokemonWhitelist(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .pokemonWhitelist(v) - } - }() - case 8: try { - var v: CombatLeagueProto.PokemonBanlist? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .pokemonBanlist(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .pokemonBanlist(v) - } - }() - case 9: try { - var v: CombatLeagueProto.PokemonCaughtTimestamp? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .pokemonCaughtTimestamp(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .pokemonCaughtTimestamp(v) - } - }() - case 10: try { - var v: CombatLeagueProto.PokemonLevelRange? - var hadOneofValue = false - if let current = self.condition { - hadOneofValue = true - if case .pokemonLevelRange(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.condition = .pokemonLevelRange(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.rewardsPerContest) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.minPokemonCount != 0 { - try visitor.visitSingularInt32Field(value: self.minPokemonCount, fieldNumber: 2) + if !self.rewardsPerContest.isEmpty { + try visitor.visitRepeatedMessageField(value: self.rewardsPerContest, fieldNumber: 2) } - switch self.condition { - case .withPlayerLevel?: try { - guard case .withPlayerLevel(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .withPokemonCpLimit?: try { - guard case .withPokemonCpLimit(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .withPokemonType?: try { - guard case .withPokemonType(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case .withPokemonCategory?: try { - guard case .withPokemonCategory(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - }() - case .pokemonWhitelist?: try { - guard case .pokemonWhitelist(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - }() - case .pokemonBanlist?: try { - guard case .pokemonBanlist(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - }() - case .pokemonCaughtTimestamp?: try { - guard case .pokemonCaughtTimestamp(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - }() - case .pokemonLevelRange?: try { - guard case .pokemonLevelRange(let v)? = self.condition else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - }() - case nil: break + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ClaimContestsRewardsOutProto, rhs: ClaimContestsRewardsOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.rewardsPerContest != rhs.rewardsPerContest {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ClaimContestsRewardsOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + ] +} + +extension ClaimContestsRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClaimContestsRewardsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueProto.UnlockConditionProto, rhs: CombatLeagueProto.UnlockConditionProto) -> Bool { - if lhs.condition != rhs.condition {return false} - if lhs.type != rhs.type {return false} - if lhs.minPokemonCount != rhs.minPokemonCount {return false} + public static func ==(lhs: ClaimContestsRewardsProto, rhs: ClaimContestsRewardsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLeagueSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatLeagueSettingsProto" +extension ClaimPtcLinkingRewardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClaimPtcLinkingRewardOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "combat_league_template_id"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182447,35 +186180,61 @@ extension CombatLeagueSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.combatLeagueTemplateID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.combatLeagueTemplateID.isEmpty { - try visitor.visitRepeatedStringField(value: self.combatLeagueTemplateID, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLeagueSettingsProto, rhs: CombatLeagueSettingsProto) -> Bool { - if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} + public static func ==(lhs: ClaimPtcLinkingRewardOutProto, rhs: ClaimPtcLinkingRewardOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatLogEntry" +extension ClaimPtcLinkingRewardOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "ERROR_GMT"), + 4: .same(proto: "ERROR_ITEM_NOT_SUPPORTED"), + 5: .same(proto: "ERROR_REWARD_CLAIMED_ALREADY"), + ] +} + +extension ClaimPtcLinkingRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClaimPtcLinkingRewardProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ClaimPtcLinkingRewardProto, rhs: ClaimPtcLinkingRewardProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ClaimVsSeekerRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClaimVsSeekerRewardsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "finish_state"), - 3: .same(proto: "rewards"), - 4: .same(proto: "opponent"), - 5: .standard(proto: "combat_league_template_id"), - 6: .standard(proto: "npc_template_id"), + 2: .same(proto: "rewards"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182485,11 +186244,7 @@ extension CombatLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.finishState) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.opponent) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.npcTemplateID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() default: break } } @@ -182503,141 +186258,69 @@ extension CombatLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.finishState != .winner { - try visitor.visitSingularEnumField(value: self.finishState, fieldNumber: 2) - } try { if let v = self._rewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if !self.opponent.isEmpty { - try visitor.visitSingularStringField(value: self.opponent, fieldNumber: 4) - } - if !self.combatLeagueTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 5) - } - if !self.npcTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.npcTemplateID, fieldNumber: 6) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLogEntry, rhs: CombatLogEntry) -> Bool { + public static func ==(lhs: ClaimVsSeekerRewardsOutProto, rhs: ClaimVsSeekerRewardsOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.finishState != rhs.finishState {return false} if lhs._rewards != rhs._rewards {return false} - if lhs.opponent != rhs.opponent {return false} - if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} - if lhs.npcTemplateID != rhs.npcTemplateID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatLogEntry.Result: SwiftProtobuf._ProtoNameProviding { +extension ClaimVsSeekerRewardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_REDEEM_POKEMON"), + 3: .same(proto: "ERROR_PLAYER_NOT_ENOUGH_VICTORIES"), + 4: .same(proto: "ERROR_REWARD_ALREADY_CLAIMED"), + 5: .same(proto: "ERROR_INVENTORY_FULL"), ] } -extension CombatLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatLogProto" +extension ClaimVsSeekerRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClaimVsSeekerRewardsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "lifetime_results"), - 2: .standard(proto: "current_season_results"), - 4: .standard(proto: "current_vs_seeker_set_results"), - 5: .standard(proto: "previous_season_results"), + 1: .standard(proto: "win_index"), ] - fileprivate class _StorageClass { - var _lifetimeResults: CombatSeasonResult? = nil - var _currentSeasonResults: CombatSeasonResult? = nil - var _currentVsSeekerSetResults: [VsSeekerBattleResult] = [] - var _previousSeasonResults: CombatSeasonResult? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _lifetimeResults = source._lifetimeResults - _currentSeasonResults = source._currentSeasonResults - _currentVsSeekerSetResults = source._currentVsSeekerSetResults - _previousSeasonResults = source._previousSeasonResults - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._lifetimeResults) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._currentSeasonResults) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &_storage._currentVsSeekerSetResults) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._previousSeasonResults) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.winIndex) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._lifetimeResults { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = _storage._currentSeasonResults { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !_storage._currentVsSeekerSetResults.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._currentVsSeekerSetResults, fieldNumber: 4) - } - try { if let v = _storage._previousSeasonResults { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() + if self.winIndex != 0 { + try visitor.visitSingularInt32Field(value: self.winIndex, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatLogProto, rhs: CombatLogProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._lifetimeResults != rhs_storage._lifetimeResults {return false} - if _storage._currentSeasonResults != rhs_storage._currentSeasonResults {return false} - if _storage._currentVsSeekerSetResults != rhs_storage._currentVsSeekerSetResults {return false} - if _storage._previousSeasonResults != rhs_storage._previousSeasonResults {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: ClaimVsSeekerRewardsProto, rhs: ClaimVsSeekerRewardsProto) -> Bool { + if lhs.winIndex != rhs.winIndex {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatMinigameTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatMinigameTelemetry" +extension ClientBreadcrumbSessionSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientBreadcrumbSessionSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "combat_type"), - 2: .standard(proto: "move_type"), - 3: .same(proto: "score"), + 1: .standard(proto: "session_duration_m"), + 2: .standard(proto: "update_interval_s"), + 3: .standard(proto: "as_fallback_foreground_reporting_interval_s"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182646,55 +186329,40 @@ extension CombatMinigameTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.combatType) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.moveType) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.score) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.sessionDurationM) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.updateIntervalS) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.asFallbackForegroundReportingIntervalS) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.combatType != .unset { - try visitor.visitSingularEnumField(value: self.combatType, fieldNumber: 1) + if self.sessionDurationM != 0 { + try visitor.visitSingularFloatField(value: self.sessionDurationM, fieldNumber: 1) } - if self.moveType != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: self.moveType, fieldNumber: 2) + if self.updateIntervalS != 0 { + try visitor.visitSingularFloatField(value: self.updateIntervalS, fieldNumber: 2) } - if self.score != 0 { - try visitor.visitSingularFloatField(value: self.score, fieldNumber: 3) + if self.asFallbackForegroundReportingIntervalS != 0 { + try visitor.visitSingularFloatField(value: self.asFallbackForegroundReportingIntervalS, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatMinigameTelemetry, rhs: CombatMinigameTelemetry) -> Bool { - if lhs.combatType != rhs.combatType {return false} - if lhs.moveType != rhs.moveType {return false} - if lhs.score != rhs.score {return false} + public static func ==(lhs: ClientBreadcrumbSessionSettings, rhs: ClientBreadcrumbSessionSettings) -> Bool { + if lhs.sessionDurationM != rhs.sessionDurationM {return false} + if lhs.updateIntervalS != rhs.updateIntervalS {return false} + if lhs.asFallbackForegroundReportingIntervalS != rhs.asFallbackForegroundReportingIntervalS {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatMinigameTelemetry.MinigameCombatType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "PVP"), - 2: .same(proto: "PVE"), - ] -} - -extension CombatMoveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatMoveSettingsProto" +extension ClientContestIncidentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientContestIncidentProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "unique_id"), - 2: .same(proto: "type"), - 3: .same(proto: "power"), - 4: .standard(proto: "vfx_name"), - 5: .standard(proto: "duration_turns"), - 6: .standard(proto: "energy_delta"), - 7: .same(proto: "buffs"), - 8: .same(proto: "modifier"), + 1: .same(proto: "contests"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182703,73 +186371,35 @@ extension CombatMoveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.uniqueID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.power) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.vfxName) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.durationTurns) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.energyDelta) }() - case 7: try { try decoder.decodeSingularMessageField(value: &self._buffs) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &self.modifier) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contests) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.uniqueID != .moveUnset { - try visitor.visitSingularEnumField(value: self.uniqueID, fieldNumber: 1) - } - if self.type != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) - } - if self.power != 0 { - try visitor.visitSingularFloatField(value: self.power, fieldNumber: 3) - } - if !self.vfxName.isEmpty { - try visitor.visitSingularStringField(value: self.vfxName, fieldNumber: 4) - } - if self.durationTurns != 0 { - try visitor.visitSingularInt32Field(value: self.durationTurns, fieldNumber: 5) - } - if self.energyDelta != 0 { - try visitor.visitSingularInt32Field(value: self.energyDelta, fieldNumber: 6) - } - try { if let v = self._buffs { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - } }() - if !self.modifier.isEmpty { - try visitor.visitRepeatedMessageField(value: self.modifier, fieldNumber: 8) + if !self.contests.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contests, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatMoveSettingsProto, rhs: CombatMoveSettingsProto) -> Bool { - if lhs.uniqueID != rhs.uniqueID {return false} - if lhs.type != rhs.type {return false} - if lhs.power != rhs.power {return false} - if lhs.vfxName != rhs.vfxName {return false} - if lhs.durationTurns != rhs.durationTurns {return false} - if lhs.energyDelta != rhs.energyDelta {return false} - if lhs._buffs != rhs._buffs {return false} - if lhs.modifier != rhs.modifier {return false} + public static func ==(lhs: ClientContestIncidentProto, rhs: ClientContestIncidentProto) -> Bool { + if lhs.contests != rhs.contests {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatMoveSettingsProto.CombatMoveBuffsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatMoveSettingsProto.protoMessageName + ".CombatMoveBuffsProto" +extension ClientDialogueLineProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientDialogueLineProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "attacker_attack_stat_stage_change"), - 2: .standard(proto: "attacker_defense_stat_stage_change"), - 3: .standard(proto: "target_attack_stat_stage_change"), - 4: .standard(proto: "target_defense_stat_stage_change"), - 5: .standard(proto: "buff_activation_chance"), + 1: .same(proto: "text"), + 2: .same(proto: "character"), + 3: .same(proto: "expression"), + 4: .standard(proto: "left_asset_address"), + 5: .same(proto: "side"), + 6: .standard(proto: "display_only_loot"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182778,56 +186408,77 @@ extension CombatMoveSettingsProto.CombatMoveBuffsProto: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.attackerAttackStatStageChange) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.attackerDefenseStatStageChange) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.targetAttackStatStageChange) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.targetDefenseStatStageChange) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.buffActivationChance) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.text) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.character) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.expression) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.leftAssetAddress) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.side) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._displayOnlyLoot) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.attackerAttackStatStageChange != 0 { - try visitor.visitSingularInt32Field(value: self.attackerAttackStatStageChange, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.text.isEmpty { + try visitor.visitSingularStringField(value: self.text, fieldNumber: 1) } - if self.attackerDefenseStatStageChange != 0 { - try visitor.visitSingularInt32Field(value: self.attackerDefenseStatStageChange, fieldNumber: 2) + if self.character != .characterUnset { + try visitor.visitSingularEnumField(value: self.character, fieldNumber: 2) } - if self.targetAttackStatStageChange != 0 { - try visitor.visitSingularInt32Field(value: self.targetAttackStatStageChange, fieldNumber: 3) + if self.expression != .expressionUnset { + try visitor.visitSingularEnumField(value: self.expression, fieldNumber: 3) } - if self.targetDefenseStatStageChange != 0 { - try visitor.visitSingularInt32Field(value: self.targetDefenseStatStageChange, fieldNumber: 4) + if !self.leftAssetAddress.isEmpty { + try visitor.visitSingularStringField(value: self.leftAssetAddress, fieldNumber: 4) } - if self.buffActivationChance != 0 { - try visitor.visitSingularFloatField(value: self.buffActivationChance, fieldNumber: 5) + if self.side != .unset { + try visitor.visitSingularEnumField(value: self.side, fieldNumber: 5) } + try { if let v = self._displayOnlyLoot { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatMoveSettingsProto.CombatMoveBuffsProto, rhs: CombatMoveSettingsProto.CombatMoveBuffsProto) -> Bool { - if lhs.attackerAttackStatStageChange != rhs.attackerAttackStatStageChange {return false} - if lhs.attackerDefenseStatStageChange != rhs.attackerDefenseStatStageChange {return false} - if lhs.targetAttackStatStageChange != rhs.targetAttackStatStageChange {return false} - if lhs.targetDefenseStatStageChange != rhs.targetDefenseStatStageChange {return false} - if lhs.buffActivationChance != rhs.buffActivationChance {return false} + public static func ==(lhs: ClientDialogueLineProto, rhs: ClientDialogueLineProto) -> Bool { + if lhs.text != rhs.text {return false} + if lhs.character != rhs.character {return false} + if lhs.expression != rhs.expression {return false} + if lhs.leftAssetAddress != rhs.leftAssetAddress {return false} + if lhs.side != rhs.side {return false} + if lhs._displayOnlyLoot != rhs._displayOnlyLoot {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatNpcPersonalityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatNpcPersonalityProto" +extension ClientDialogueLineProto.Side: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "personality_name"), - 2: .standard(proto: "super_effective_chance"), - 3: .standard(proto: "special_chance"), - 4: .standard(proto: "defensive_minimum_score"), - 5: .standard(proto: "defensive_maximum_score"), - 6: .standard(proto: "offensive_minimum_score"), - 7: .standard(proto: "offensive_maximum_score"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "RIGHT"), + 2: .same(proto: "LEFT"), + ] +} + +extension ClientEnvironmentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientEnvironmentProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "language_code"), + 2: .same(proto: "timezone"), + 3: .standard(proto: "device_country_code"), + 4: .standard(proto: "ip_country_code"), + 5: .standard(proto: "client_version"), + 6: .standard(proto: "device_type"), + 7: .standard(proto: "device_os"), + 8: .standard(proto: "graphics_device_vendor"), + 9: .standard(proto: "graphics_device_name"), + 10: .standard(proto: "graphics_device_type"), + 11: .standard(proto: "graphics_shader_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182836,89 +186487,97 @@ extension CombatNpcPersonalityProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.personalityName) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.superEffectiveChance) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.specialChance) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.defensiveMinimumScore) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.defensiveMaximumScore) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.offensiveMinimumScore) }() - case 7: try { try decoder.decodeSingularFloatField(value: &self.offensiveMaximumScore) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.timezone) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.deviceCountryCode) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.ipCountryCode) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.clientVersion) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.deviceType) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.deviceOs) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceVendor) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceName) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceType) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.graphicsShaderLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.personalityName.isEmpty { - try visitor.visitSingularStringField(value: self.personalityName, fieldNumber: 1) + if !self.languageCode.isEmpty { + try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 1) } - if self.superEffectiveChance != 0 { - try visitor.visitSingularFloatField(value: self.superEffectiveChance, fieldNumber: 2) + if !self.timezone.isEmpty { + try visitor.visitSingularStringField(value: self.timezone, fieldNumber: 2) } - if self.specialChance != 0 { - try visitor.visitSingularFloatField(value: self.specialChance, fieldNumber: 3) + if !self.deviceCountryCode.isEmpty { + try visitor.visitSingularStringField(value: self.deviceCountryCode, fieldNumber: 3) } - if self.defensiveMinimumScore != 0 { - try visitor.visitSingularFloatField(value: self.defensiveMinimumScore, fieldNumber: 4) + if !self.ipCountryCode.isEmpty { + try visitor.visitSingularStringField(value: self.ipCountryCode, fieldNumber: 4) } - if self.defensiveMaximumScore != 0 { - try visitor.visitSingularFloatField(value: self.defensiveMaximumScore, fieldNumber: 5) + if !self.clientVersion.isEmpty { + try visitor.visitSingularStringField(value: self.clientVersion, fieldNumber: 5) } - if self.offensiveMinimumScore != 0 { - try visitor.visitSingularFloatField(value: self.offensiveMinimumScore, fieldNumber: 6) + if !self.deviceType.isEmpty { + try visitor.visitSingularStringField(value: self.deviceType, fieldNumber: 6) } - if self.offensiveMaximumScore != 0 { - try visitor.visitSingularFloatField(value: self.offensiveMaximumScore, fieldNumber: 7) + if !self.deviceOs.isEmpty { + try visitor.visitSingularStringField(value: self.deviceOs, fieldNumber: 7) + } + if !self.graphicsDeviceVendor.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceVendor, fieldNumber: 8) + } + if !self.graphicsDeviceName.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceName, fieldNumber: 9) + } + if !self.graphicsDeviceType.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceType, fieldNumber: 10) + } + if !self.graphicsShaderLevel.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsShaderLevel, fieldNumber: 11) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatNpcPersonalityProto, rhs: CombatNpcPersonalityProto) -> Bool { - if lhs.personalityName != rhs.personalityName {return false} - if lhs.superEffectiveChance != rhs.superEffectiveChance {return false} - if lhs.specialChance != rhs.specialChance {return false} - if lhs.defensiveMinimumScore != rhs.defensiveMinimumScore {return false} - if lhs.defensiveMaximumScore != rhs.defensiveMaximumScore {return false} - if lhs.offensiveMinimumScore != rhs.offensiveMinimumScore {return false} - if lhs.offensiveMaximumScore != rhs.offensiveMaximumScore {return false} + public static func ==(lhs: ClientEnvironmentProto, rhs: ClientEnvironmentProto) -> Bool { + if lhs.languageCode != rhs.languageCode {return false} + if lhs.timezone != rhs.timezone {return false} + if lhs.deviceCountryCode != rhs.deviceCountryCode {return false} + if lhs.ipCountryCode != rhs.ipCountryCode {return false} + if lhs.clientVersion != rhs.clientVersion {return false} + if lhs.deviceType != rhs.deviceType {return false} + if lhs.deviceOs != rhs.deviceOs {return false} + if lhs.graphicsDeviceVendor != rhs.graphicsDeviceVendor {return false} + if lhs.graphicsDeviceName != rhs.graphicsDeviceName {return false} + if lhs.graphicsDeviceType != rhs.graphicsDeviceType {return false} + if lhs.graphicsShaderLevel != rhs.graphicsShaderLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatNpcTrainerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatNpcTrainerProto" +extension ClientEvolutionQuestTemplateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientEvolutionQuestTemplateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "trainer_name"), - 2: .standard(proto: "combat_league_template_id"), - 3: .standard(proto: "combat_personality_id"), - 4: .standard(proto: "win_loot_table_id"), - 5: .standard(proto: "lose_loot_table_id"), - 7: .same(proto: "avatar"), - 8: .standard(proto: "available_pokemon"), - 9: .standard(proto: "trainer_title"), - 10: .standard(proto: "trainer_quote"), - 11: .standard(proto: "icon_url"), - 12: .standard(proto: "backdrop_image_bundle"), + 1: .standard(proto: "quest_template_id"), + 2: .standard(proto: "quest_type"), + 3: .same(proto: "goals"), + 4: .same(proto: "context"), + 5: .same(proto: "display"), ] public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.trainerName) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.combatPersonalityID) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.winLootTableID) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.loseLootTableID) }() - case 7: try { try decoder.decodeSingularMessageField(value: &self._avatar) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &self.availablePokemon) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.trainerTitle) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.trainerQuote) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.iconURL) }() - case 12: try { try decoder.decodeSingularStringField(value: &self.backdropImageBundle) }() + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.questTemplateID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.questType) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.goals) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.context) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._display) }() default: break } } @@ -182929,67 +186588,41 @@ extension CombatNpcTrainerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.trainerName.isEmpty { - try visitor.visitSingularStringField(value: self.trainerName, fieldNumber: 1) - } - if !self.combatLeagueTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 2) + if !self.questTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.questTemplateID, fieldNumber: 1) } - if !self.combatPersonalityID.isEmpty { - try visitor.visitSingularStringField(value: self.combatPersonalityID, fieldNumber: 3) + if self.questType != .questUnset { + try visitor.visitSingularEnumField(value: self.questType, fieldNumber: 2) } - if !self.winLootTableID.isEmpty { - try visitor.visitSingularStringField(value: self.winLootTableID, fieldNumber: 4) + if !self.goals.isEmpty { + try visitor.visitRepeatedMessageField(value: self.goals, fieldNumber: 3) } - if !self.loseLootTableID.isEmpty { - try visitor.visitSingularStringField(value: self.loseLootTableID, fieldNumber: 5) + if self.context != .unset { + try visitor.visitSingularEnumField(value: self.context, fieldNumber: 4) } - try { if let v = self._avatar { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + try { if let v = self._display { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) } }() - if !self.availablePokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: self.availablePokemon, fieldNumber: 8) - } - if !self.trainerTitle.isEmpty { - try visitor.visitSingularStringField(value: self.trainerTitle, fieldNumber: 9) - } - if !self.trainerQuote.isEmpty { - try visitor.visitSingularStringField(value: self.trainerQuote, fieldNumber: 10) - } - if !self.iconURL.isEmpty { - try visitor.visitSingularStringField(value: self.iconURL, fieldNumber: 11) - } - if !self.backdropImageBundle.isEmpty { - try visitor.visitSingularStringField(value: self.backdropImageBundle, fieldNumber: 12) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatNpcTrainerProto, rhs: CombatNpcTrainerProto) -> Bool { - if lhs.trainerName != rhs.trainerName {return false} - if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} - if lhs.combatPersonalityID != rhs.combatPersonalityID {return false} - if lhs.winLootTableID != rhs.winLootTableID {return false} - if lhs.loseLootTableID != rhs.loseLootTableID {return false} - if lhs._avatar != rhs._avatar {return false} - if lhs.availablePokemon != rhs.availablePokemon {return false} - if lhs.trainerTitle != rhs.trainerTitle {return false} - if lhs.trainerQuote != rhs.trainerQuote {return false} - if lhs.iconURL != rhs.iconURL {return false} - if lhs.backdropImageBundle != rhs.backdropImageBundle {return false} + public static func ==(lhs: ClientEvolutionQuestTemplateProto, rhs: ClientEvolutionQuestTemplateProto) -> Bool { + if lhs.questTemplateID != rhs.questTemplateID {return false} + if lhs.questType != rhs.questType {return false} + if lhs.goals != rhs.goals {return false} + if lhs.context != rhs.context {return false} + if lhs._display != rhs._display {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatOffensiveInputChallengeSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatOffensiveInputChallengeSettings" +extension ClientFortModifierProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientFortModifierProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "score_per_tap"), - 2: .standard(proto: "score_decay_per_second"), - 3: .standard(proto: "max_score"), - 4: .standard(proto: "high_score_additional_decay_per_second"), - 5: .standard(proto: "max_time_additional_decay_per_second"), + 1: .standard(proto: "modifier_type"), + 2: .standard(proto: "expiration_time_ms"), + 3: .standard(proto: "deploying_player_codename"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -182998,51 +186631,41 @@ extension CombatOffensiveInputChallengeSettings: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.scorePerTap) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.scoreDecayPerSecond) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.maxScore) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.highScoreAdditionalDecayPerSecond) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.maxTimeAdditionalDecayPerSecond) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.modifierType) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTimeMs) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.deployingPlayerCodename) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.scorePerTap != 0 { - try visitor.visitSingularFloatField(value: self.scorePerTap, fieldNumber: 1) - } - if self.scoreDecayPerSecond != 0 { - try visitor.visitSingularFloatField(value: self.scoreDecayPerSecond, fieldNumber: 2) - } - if self.maxScore != 0 { - try visitor.visitSingularFloatField(value: self.maxScore, fieldNumber: 3) + if self.modifierType != .unknown { + try visitor.visitSingularEnumField(value: self.modifierType, fieldNumber: 1) } - if self.highScoreAdditionalDecayPerSecond != 0 { - try visitor.visitSingularFloatField(value: self.highScoreAdditionalDecayPerSecond, fieldNumber: 4) + if self.expirationTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.expirationTimeMs, fieldNumber: 2) } - if self.maxTimeAdditionalDecayPerSecond != 0 { - try visitor.visitSingularFloatField(value: self.maxTimeAdditionalDecayPerSecond, fieldNumber: 5) + if !self.deployingPlayerCodename.isEmpty { + try visitor.visitSingularStringField(value: self.deployingPlayerCodename, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatOffensiveInputChallengeSettings, rhs: CombatOffensiveInputChallengeSettings) -> Bool { - if lhs.scorePerTap != rhs.scorePerTap {return false} - if lhs.scoreDecayPerSecond != rhs.scoreDecayPerSecond {return false} - if lhs.maxScore != rhs.maxScore {return false} - if lhs.highScoreAdditionalDecayPerSecond != rhs.highScoreAdditionalDecayPerSecond {return false} - if lhs.maxTimeAdditionalDecayPerSecond != rhs.maxTimeAdditionalDecayPerSecond {return false} + public static func ==(lhs: ClientFortModifierProto, rhs: ClientFortModifierProto) -> Bool { + if lhs.modifierType != rhs.modifierType {return false} + if lhs.expirationTimeMs != rhs.expirationTimeMs {return false} + if lhs.deployingPlayerCodename != rhs.deployingPlayerCodename {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatPlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatPlayerPreferencesProto" +extension ClientGameMasterTemplateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientGameMasterTemplateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friends_combat_opt_out"), - 2: .standard(proto: "nearby_combat_opt_in"), + 1: .standard(proto: "template_id"), + 2: .same(proto: "data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -183051,152 +186674,85 @@ extension CombatPlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.friendsCombatOptOut) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.nearbyCombatOptIn) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.templateID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._data) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.friendsCombatOptOut != false { - try visitor.visitSingularBoolField(value: self.friendsCombatOptOut, fieldNumber: 1) - } - if self.nearbyCombatOptIn != false { - try visitor.visitSingularBoolField(value: self.nearbyCombatOptIn, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.templateID.isEmpty { + try visitor.visitSingularStringField(value: self.templateID, fieldNumber: 1) } + try { if let v = self._data { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatPlayerPreferencesProto, rhs: CombatPlayerPreferencesProto) -> Bool { - if lhs.friendsCombatOptOut != rhs.friendsCombatOptOut {return false} - if lhs.nearbyCombatOptIn != rhs.nearbyCombatOptIn {return false} + public static func ==(lhs: ClientGameMasterTemplateProto, rhs: ClientGameMasterTemplateProto) -> Bool { + if lhs.templateID != rhs.templateID {return false} + if lhs._data != rhs._data {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatPlayerProfileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatPlayerProfileProto" +extension ClientGenderProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientGenderProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "public_profile"), - 3: .standard(proto: "combat_league_template_id"), - 4: .standard(proto: "buddy_pokemon_id"), - 5: .same(proto: "location"), - 6: .standard(proto: "combat_player_preferences"), - 7: .standard(proto: "ob_string"), + 1: .standard(proto: "male_percent"), + 2: .standard(proto: "female_percent"), + 3: .standard(proto: "genderless_percent"), ] - fileprivate class _StorageClass { - var _playerID: String = String() - var _publicProfile: PlayerPublicProfileProto? = nil - var _combatLeagueTemplateID: [String] = [] - var _buddyPokemonID: UInt64 = 0 - var _location: CombatPlayerProfileProto.Location? = nil - var _combatPlayerPreferences: CombatPlayerPreferencesProto? = nil - var _obString: String = String() - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _playerID = source._playerID - _publicProfile = source._publicProfile - _combatLeagueTemplateID = source._combatLeagueTemplateID - _buddyPokemonID = source._buddyPokemonID - _location = source._location - _combatPlayerPreferences = source._combatPlayerPreferences - _obString = source._obString - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._publicProfile) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &_storage._combatLeagueTemplateID) }() - case 4: try { try decoder.decodeSingularFixed64Field(value: &_storage._buddyPokemonID) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._location) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._combatPlayerPreferences) }() - case 7: try { try decoder.decodeSingularStringField(value: &_storage._obString) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFloatField(value: &self.malePercent) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.femalePercent) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.genderlessPercent) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._playerID.isEmpty { - try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 1) - } - try { if let v = _storage._publicProfile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !_storage._combatLeagueTemplateID.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._combatLeagueTemplateID, fieldNumber: 3) - } - if _storage._buddyPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._buddyPokemonID, fieldNumber: 4) - } - try { if let v = _storage._location { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - try { if let v = _storage._combatPlayerPreferences { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - if !_storage._obString.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString, fieldNumber: 7) - } + if self.malePercent != 0 { + try visitor.visitSingularFloatField(value: self.malePercent, fieldNumber: 1) + } + if self.femalePercent != 0 { + try visitor.visitSingularFloatField(value: self.femalePercent, fieldNumber: 2) + } + if self.genderlessPercent != 0 { + try visitor.visitSingularFloatField(value: self.genderlessPercent, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatPlayerProfileProto, rhs: CombatPlayerProfileProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._playerID != rhs_storage._playerID {return false} - if _storage._publicProfile != rhs_storage._publicProfile {return false} - if _storage._combatLeagueTemplateID != rhs_storage._combatLeagueTemplateID {return false} - if _storage._buddyPokemonID != rhs_storage._buddyPokemonID {return false} - if _storage._location != rhs_storage._location {return false} - if _storage._combatPlayerPreferences != rhs_storage._combatPlayerPreferences {return false} - if _storage._obString != rhs_storage._obString {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: ClientGenderProto, rhs: ClientGenderProto) -> Bool { + if lhs.malePercent != rhs.malePercent {return false} + if lhs.femalePercent != rhs.femalePercent {return false} + if lhs.genderlessPercent != rhs.genderlessPercent {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatPlayerProfileProto.Location: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatPlayerProfileProto.protoMessageName + ".Location" +extension ClientGenderSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientGenderSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "lat_degree"), - 2: .standard(proto: "lng_degree"), + 1: .same(proto: "pokemon"), + 2: .same(proto: "gender"), + 3: .same(proto: "form"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -183205,509 +186761,194 @@ extension CombatPlayerProfileProto.Location: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.latDegree) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.lngDegree) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemon) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._gender) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.form) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.latDegree != 0 { - try visitor.visitSingularDoubleField(value: self.latDegree, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.pokemon != .missingno { + try visitor.visitSingularEnumField(value: self.pokemon, fieldNumber: 1) } - if self.lngDegree != 0 { - try visitor.visitSingularDoubleField(value: self.lngDegree, fieldNumber: 2) + try { if let v = self._gender { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.form != .unset { + try visitor.visitSingularEnumField(value: self.form, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatPlayerProfileProto.Location, rhs: CombatPlayerProfileProto.Location) -> Bool { - if lhs.latDegree != rhs.latDegree {return false} - if lhs.lngDegree != rhs.lngDegree {return false} + public static func ==(lhs: ClientGenderSettingsProto, rhs: ClientGenderSettingsProto) -> Bool { + if lhs.pokemon != rhs.pokemon {return false} + if lhs._gender != rhs._gender {return false} + if lhs.form != rhs.form {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatProto" +extension ClientInbox: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientInbox" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "combat_state"), - 2: .standard(proto: "combat_id"), - 3: .same(proto: "player"), - 4: .same(proto: "opponent"), - 5: .standard(proto: "combat_start_ms"), - 6: .standard(proto: "combat_end_ms"), - 7: .standard(proto: "server_ms"), - 8: .standard(proto: "current_turn"), - 9: .standard(proto: "turn_start_ms"), - 10: .standard(proto: "minigame_end_ms"), - 11: .standard(proto: "minigame_submit_score_end_ms"), - 12: .standard(proto: "change_pokemon_end_ms"), - 13: .standard(proto: "quick_swap_cooldown_duration_ms"), - 14: .standard(proto: "state_change_delay_until_turn"), - 15: .standard(proto: "ob_field"), - 16: .standard(proto: "ob_int32_1"), - 17: .standard(proto: "ob_bool"), - 18: .standard(proto: "ob_int32_2"), + 1: .same(proto: "notifications"), + 2: .standard(proto: "builtin_variables"), ] - fileprivate class _StorageClass { - var _combatState: CombatProto.CombatState = .unset - var _combatID: String = String() - var _player: CombatProto.CombatPlayerProto? = nil - var _opponent: CombatProto.CombatPlayerProto? = nil - var _combatStartMs: Int64 = 0 - var _combatEndMs: Int64 = 0 - var _serverMs: Int64 = 0 - var _currentTurn: Int32 = 0 - var _turnStartMs: Int64 = 0 - var _minigameEndMs: Int64 = 0 - var _minigameSubmitScoreEndMs: Int64 = 0 - var _changePokemonEndMs: Int64 = 0 - var _quickSwapCooldownDurationMs: Int64 = 0 - var _stateChangeDelayUntilTurn: Int64 = 0 - var _obField: CombatProto.ObCombatField? = nil - var _obInt321: Int32 = 0 - var _obBool: Bool = false - var _obInt322: Int32 = 0 - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _combatState = source._combatState - _combatID = source._combatID - _player = source._player - _opponent = source._opponent - _combatStartMs = source._combatStartMs - _combatEndMs = source._combatEndMs - _serverMs = source._serverMs - _currentTurn = source._currentTurn - _turnStartMs = source._turnStartMs - _minigameEndMs = source._minigameEndMs - _minigameSubmitScoreEndMs = source._minigameSubmitScoreEndMs - _changePokemonEndMs = source._changePokemonEndMs - _quickSwapCooldownDurationMs = source._quickSwapCooldownDurationMs - _stateChangeDelayUntilTurn = source._stateChangeDelayUntilTurn - _obField = source._obField - _obInt321 = source._obInt321 - _obBool = source._obBool - _obInt322 = source._obInt322 - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._combatState) }() - case 2: try { try decoder.decodeSingularStringField(value: &_storage._combatID) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._player) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._opponent) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._combatStartMs) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._combatEndMs) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._serverMs) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._currentTurn) }() - case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._turnStartMs) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._minigameEndMs) }() - case 11: try { try decoder.decodeSingularInt64Field(value: &_storage._minigameSubmitScoreEndMs) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._changePokemonEndMs) }() - case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._quickSwapCooldownDurationMs) }() - case 14: try { try decoder.decodeSingularInt64Field(value: &_storage._stateChangeDelayUntilTurn) }() - case 15: try { try decoder.decodeSingularMessageField(value: &_storage._obField) }() - case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 17: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt322) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.notifications) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.builtinVariables) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._combatState != .unset { - try visitor.visitSingularEnumField(value: _storage._combatState, fieldNumber: 1) - } - if !_storage._combatID.isEmpty { - try visitor.visitSingularStringField(value: _storage._combatID, fieldNumber: 2) - } - try { if let v = _storage._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = _storage._opponent { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if _storage._combatStartMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._combatStartMs, fieldNumber: 5) - } - if _storage._combatEndMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._combatEndMs, fieldNumber: 6) - } - if _storage._serverMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._serverMs, fieldNumber: 7) - } - if _storage._currentTurn != 0 { - try visitor.visitSingularInt32Field(value: _storage._currentTurn, fieldNumber: 8) - } - if _storage._turnStartMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._turnStartMs, fieldNumber: 9) - } - if _storage._minigameEndMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._minigameEndMs, fieldNumber: 10) - } - if _storage._minigameSubmitScoreEndMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._minigameSubmitScoreEndMs, fieldNumber: 11) - } - if _storage._changePokemonEndMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._changePokemonEndMs, fieldNumber: 12) - } - if _storage._quickSwapCooldownDurationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._quickSwapCooldownDurationMs, fieldNumber: 13) - } - if _storage._stateChangeDelayUntilTurn != 0 { - try visitor.visitSingularInt64Field(value: _storage._stateChangeDelayUntilTurn, fieldNumber: 14) - } - try { if let v = _storage._obField { - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - } }() - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 16) - } - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 17) - } - if _storage._obInt322 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt322, fieldNumber: 18) - } + if !self.notifications.isEmpty { + try visitor.visitRepeatedMessageField(value: self.notifications, fieldNumber: 1) + } + if !self.builtinVariables.isEmpty { + try visitor.visitRepeatedMessageField(value: self.builtinVariables, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatProto, rhs: CombatProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._combatState != rhs_storage._combatState {return false} - if _storage._combatID != rhs_storage._combatID {return false} - if _storage._player != rhs_storage._player {return false} - if _storage._opponent != rhs_storage._opponent {return false} - if _storage._combatStartMs != rhs_storage._combatStartMs {return false} - if _storage._combatEndMs != rhs_storage._combatEndMs {return false} - if _storage._serverMs != rhs_storage._serverMs {return false} - if _storage._currentTurn != rhs_storage._currentTurn {return false} - if _storage._turnStartMs != rhs_storage._turnStartMs {return false} - if _storage._minigameEndMs != rhs_storage._minigameEndMs {return false} - if _storage._minigameSubmitScoreEndMs != rhs_storage._minigameSubmitScoreEndMs {return false} - if _storage._changePokemonEndMs != rhs_storage._changePokemonEndMs {return false} - if _storage._quickSwapCooldownDurationMs != rhs_storage._quickSwapCooldownDurationMs {return false} - if _storage._stateChangeDelayUntilTurn != rhs_storage._stateChangeDelayUntilTurn {return false} - if _storage._obField != rhs_storage._obField {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obInt322 != rhs_storage._obInt322 {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: ClientInbox, rhs: ClientInbox) -> Bool { + if lhs.notifications != rhs.notifications {return false} + if lhs.builtinVariables != rhs.builtinVariables {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatProto.CombatState: SwiftProtobuf._ProtoNameProviding { +extension ClientInbox.Label: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "WAITING_FOR_PLAYERS"), - 2: .same(proto: "READY"), - 3: .same(proto: "ACTIVE"), - 4: .same(proto: "SPECIAL_ATTACK"), - 5: .same(proto: "WAITING_FOR_CHANGE_POKEMON"), - 6: .same(proto: "FINISHED"), - 7: .same(proto: "PLAYER_QUIT"), - 8: .same(proto: "TIMEOUT"), - 9: .same(proto: "SYNC"), + 0: .same(proto: "UNSET_LABEL"), + 1: .same(proto: "UNREAD"), + 2: .same(proto: "NEW"), + 3: .same(proto: "IMMEDIATE"), ] } -extension CombatProto.CombatPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatProto.protoMessageName + ".CombatPlayerProto" +extension ClientInbox.Notification: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ClientInbox.protoMessageName + ".Notification" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "public_profile"), - 2: .standard(proto: "active_pokemon"), - 3: .standard(proto: "reserve_pokemon"), - 4: .standard(proto: "fainted_pokemon"), - 5: .standard(proto: "current_action"), - 6: .standard(proto: "lockstep_ack"), - 7: .standard(proto: "last_updated_turn"), - 8: .standard(proto: "minigame_action"), - 9: .standard(proto: "quick_swap_available_ms"), - 10: .standard(proto: "minigame_defense_chances_left"), - 11: .standard(proto: "combat_npc_personality_id"), - 12: .standard(proto: "times_combat_actions_called"), - 13: .standard(proto: "lobby_join_time_ms"), - 14: .standard(proto: "super_effective_charge_attacks_used"), + 1: .standard(proto: "notification_id"), + 2: .standard(proto: "title_key"), + 3: .same(proto: "category"), + 4: .standard(proto: "create_timestamp_ms"), + 5: .same(proto: "variables"), + 6: .same(proto: "labels"), + 7: .standard(proto: "expire_time_ms"), ] - fileprivate class _StorageClass { - var _publicProfile: PlayerPublicProfileProto? = nil - var _activePokemon: CombatProto.CombatPokemonProto? = nil - var _reservePokemon: [CombatProto.CombatPokemonProto] = [] - var _faintedPokemon: [CombatProto.CombatPokemonProto] = [] - var _currentAction: CombatActionProto? = nil - var _lockstepAck: Bool = false - var _lastUpdatedTurn: Int32 = 0 - var _minigameAction: CombatActionProto? = nil - var _quickSwapAvailableMs: Int64 = 0 - var _minigameDefenseChancesLeft: Int32 = 0 - var _combatNpcPersonalityID: String = String() - var _timesCombatActionsCalled: Int32 = 0 - var _lobbyJoinTimeMs: Int64 = 0 - var _superEffectiveChargeAttacksUsed: Int32 = 0 - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _publicProfile = source._publicProfile - _activePokemon = source._activePokemon - _reservePokemon = source._reservePokemon - _faintedPokemon = source._faintedPokemon - _currentAction = source._currentAction - _lockstepAck = source._lockstepAck - _lastUpdatedTurn = source._lastUpdatedTurn - _minigameAction = source._minigameAction - _quickSwapAvailableMs = source._quickSwapAvailableMs - _minigameDefenseChancesLeft = source._minigameDefenseChancesLeft - _combatNpcPersonalityID = source._combatNpcPersonalityID - _timesCombatActionsCalled = source._timesCombatActionsCalled - _lobbyJoinTimeMs = source._lobbyJoinTimeMs - _superEffectiveChargeAttacksUsed = source._superEffectiveChargeAttacksUsed - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._publicProfile) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._activePokemon) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._reservePokemon) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &_storage._faintedPokemon) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._currentAction) }() - case 6: try { try decoder.decodeSingularBoolField(value: &_storage._lockstepAck) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._lastUpdatedTurn) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._minigameAction) }() - case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._quickSwapAvailableMs) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._minigameDefenseChancesLeft) }() - case 11: try { try decoder.decodeSingularStringField(value: &_storage._combatNpcPersonalityID) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._timesCombatActionsCalled) }() - case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._lobbyJoinTimeMs) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._superEffectiveChargeAttacksUsed) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.notificationID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.titleKey) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.category) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.createTimestampMs) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.variables) }() + case 6: try { try decoder.decodeRepeatedEnumField(value: &self.labels) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.expireTimeMs) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._publicProfile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = _storage._activePokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !_storage._reservePokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._reservePokemon, fieldNumber: 3) - } - if !_storage._faintedPokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._faintedPokemon, fieldNumber: 4) - } - try { if let v = _storage._currentAction { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if _storage._lockstepAck != false { - try visitor.visitSingularBoolField(value: _storage._lockstepAck, fieldNumber: 6) - } - if _storage._lastUpdatedTurn != 0 { - try visitor.visitSingularInt32Field(value: _storage._lastUpdatedTurn, fieldNumber: 7) - } - try { if let v = _storage._minigameAction { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - if _storage._quickSwapAvailableMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._quickSwapAvailableMs, fieldNumber: 9) - } - if _storage._minigameDefenseChancesLeft != 0 { - try visitor.visitSingularInt32Field(value: _storage._minigameDefenseChancesLeft, fieldNumber: 10) - } - if !_storage._combatNpcPersonalityID.isEmpty { - try visitor.visitSingularStringField(value: _storage._combatNpcPersonalityID, fieldNumber: 11) - } - if _storage._timesCombatActionsCalled != 0 { - try visitor.visitSingularInt32Field(value: _storage._timesCombatActionsCalled, fieldNumber: 12) - } - if _storage._lobbyJoinTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lobbyJoinTimeMs, fieldNumber: 13) - } - if _storage._superEffectiveChargeAttacksUsed != 0 { - try visitor.visitSingularInt32Field(value: _storage._superEffectiveChargeAttacksUsed, fieldNumber: 14) - } + if !self.notificationID.isEmpty { + try visitor.visitSingularStringField(value: self.notificationID, fieldNumber: 1) + } + if !self.titleKey.isEmpty { + try visitor.visitSingularStringField(value: self.titleKey, fieldNumber: 2) + } + if !self.category.isEmpty { + try visitor.visitSingularStringField(value: self.category, fieldNumber: 3) + } + if self.createTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.createTimestampMs, fieldNumber: 4) + } + if !self.variables.isEmpty { + try visitor.visitRepeatedMessageField(value: self.variables, fieldNumber: 5) + } + if !self.labels.isEmpty { + try visitor.visitPackedEnumField(value: self.labels, fieldNumber: 6) + } + if self.expireTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.expireTimeMs, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatProto.CombatPlayerProto, rhs: CombatProto.CombatPlayerProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._publicProfile != rhs_storage._publicProfile {return false} - if _storage._activePokemon != rhs_storage._activePokemon {return false} - if _storage._reservePokemon != rhs_storage._reservePokemon {return false} - if _storage._faintedPokemon != rhs_storage._faintedPokemon {return false} - if _storage._currentAction != rhs_storage._currentAction {return false} - if _storage._lockstepAck != rhs_storage._lockstepAck {return false} - if _storage._lastUpdatedTurn != rhs_storage._lastUpdatedTurn {return false} - if _storage._minigameAction != rhs_storage._minigameAction {return false} - if _storage._quickSwapAvailableMs != rhs_storage._quickSwapAvailableMs {return false} - if _storage._minigameDefenseChancesLeft != rhs_storage._minigameDefenseChancesLeft {return false} - if _storage._combatNpcPersonalityID != rhs_storage._combatNpcPersonalityID {return false} - if _storage._timesCombatActionsCalled != rhs_storage._timesCombatActionsCalled {return false} - if _storage._lobbyJoinTimeMs != rhs_storage._lobbyJoinTimeMs {return false} - if _storage._superEffectiveChargeAttacksUsed != rhs_storage._superEffectiveChargeAttacksUsed {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: ClientInbox.Notification, rhs: ClientInbox.Notification) -> Bool { + if lhs.notificationID != rhs.notificationID {return false} + if lhs.titleKey != rhs.titleKey {return false} + if lhs.category != rhs.category {return false} + if lhs.createTimestampMs != rhs.createTimestampMs {return false} + if lhs.variables != rhs.variables {return false} + if lhs.labels != rhs.labels {return false} + if lhs.expireTimeMs != rhs.expireTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatProto.CombatPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatProto.protoMessageName + ".CombatPokemonProto" +extension ClientIncidentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientIncidentProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "pokedex_id"), - 3: .same(proto: "cp"), - 4: .standard(proto: "cp_multiplier"), - 5: .same(proto: "stamina"), - 6: .standard(proto: "max_stamina"), - 7: .same(proto: "move1"), - 8: .same(proto: "move2"), - 9: .same(proto: "move3"), - 10: .same(proto: "energy"), - 11: .standard(proto: "pokemon_display"), - 12: .standard(proto: "individual_attack"), - 13: .standard(proto: "individual_defense"), - 14: .standard(proto: "individual_stamina"), - 15: .standard(proto: "attack_stat_stage"), - 16: .standard(proto: "defense_stat_stage"), - 17: .standard(proto: "battles_won"), - 18: .standard(proto: "battles_lost"), - 19: .same(proto: "nickname"), - 20: .same(proto: "pokeball"), - 21: .same(proto: "height"), - 22: .same(proto: "weight"), - 23: .standard(proto: "pokemon_size"), - 24: .standard(proto: "notable_action_history"), - 25: .standard(proto: "vs_effect_tag"), + 1: .standard(proto: "incident_id"), + 2: .standard(proto: "fort_id"), + 3: .standard(proto: "fort_name"), + 4: .standard(proto: "pokestop_image_uri"), + 5: .standard(proto: "current_step"), + 6: .same(proto: "step"), + 7: .standard(proto: "completion_display"), + 8: .same(proto: "context"), + 9: .standard(proto: "start_phase"), ] fileprivate class _StorageClass { - var _pokemonID: UInt64 = 0 - var _pokedexID: HoloPokemonId = .missingno - var _cp: Int32 = 0 - var _cpMultiplier: Float = 0 - var _stamina: Int32 = 0 - var _maxStamina: Int32 = 0 - var _move1: HoloPokemonMove = .moveUnset - var _move2: HoloPokemonMove = .moveUnset - var _move3: HoloPokemonMove = .moveUnset - var _energy: Int32 = 0 - var _pokemonDisplay: PokemonDisplayProto? = nil - var _individualAttack: Int32 = 0 - var _individualDefense: Int32 = 0 - var _individualStamina: Int32 = 0 - var _attackStatStage: Int32 = 0 - var _defenseStatStage: Int32 = 0 - var _battlesWon: Int32 = 0 - var _battlesLost: Int32 = 0 - var _nickname: String = String() - var _pokeball: Item = .unknown - var _height: Float = 0 - var _weight: Float = 0 - var _pokemonSize: HoloPokemonSize = .pokemonSizeUnset - var _notableActionHistory: [VsActionHistory] = [] - var _vsEffectTag: [VsEffectTag] = [] + var _incidentID: String = String() + var _fortID: String = String() + var _fortName: String = String() + var _pokestopImageUri: String = String() + var _currentStep: Int32 = 0 + var _step: [ClientIncidentStepProto] = [] + var _completionDisplay: PokestopIncidentDisplayProto? = nil + var _context: EnumWrapper.InvasionContext = .pokestopIncident + var _startPhase: EnumWrapper.IncidentStartPhase = .incidentStartOnSpinOrExit static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _pokemonID = source._pokemonID - _pokedexID = source._pokedexID - _cp = source._cp - _cpMultiplier = source._cpMultiplier - _stamina = source._stamina - _maxStamina = source._maxStamina - _move1 = source._move1 - _move2 = source._move2 - _move3 = source._move3 - _energy = source._energy - _pokemonDisplay = source._pokemonDisplay - _individualAttack = source._individualAttack - _individualDefense = source._individualDefense - _individualStamina = source._individualStamina - _attackStatStage = source._attackStatStage - _defenseStatStage = source._defenseStatStage - _battlesWon = source._battlesWon - _battlesLost = source._battlesLost - _nickname = source._nickname - _pokeball = source._pokeball - _height = source._height - _weight = source._weight - _pokemonSize = source._pokemonSize - _notableActionHistory = source._notableActionHistory - _vsEffectTag = source._vsEffectTag + _incidentID = source._incidentID + _fortID = source._fortID + _fortName = source._fortName + _pokestopImageUri = source._pokestopImageUri + _currentStep = source._currentStep + _step = source._step + _completionDisplay = source._completionDisplay + _context = source._context + _startPhase = source._startPhase } } @@ -183726,31 +186967,15 @@ extension CombatProto.CombatPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &_storage._pokemonID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._pokedexID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._cp) }() - case 4: try { try decoder.decodeSingularFloatField(value: &_storage._cpMultiplier) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._stamina) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._maxStamina) }() - case 7: try { try decoder.decodeSingularEnumField(value: &_storage._move1) }() - case 8: try { try decoder.decodeSingularEnumField(value: &_storage._move2) }() - case 9: try { try decoder.decodeSingularEnumField(value: &_storage._move3) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._energy) }() - case 11: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._individualAttack) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._individualDefense) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._individualStamina) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._attackStatStage) }() - case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._defenseStatStage) }() - case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._battlesWon) }() - case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._battlesLost) }() - case 19: try { try decoder.decodeSingularStringField(value: &_storage._nickname) }() - case 20: try { try decoder.decodeSingularEnumField(value: &_storage._pokeball) }() - case 21: try { try decoder.decodeSingularFloatField(value: &_storage._height) }() - case 22: try { try decoder.decodeSingularFloatField(value: &_storage._weight) }() - case 23: try { try decoder.decodeSingularEnumField(value: &_storage._pokemonSize) }() - case 24: try { try decoder.decodeRepeatedMessageField(value: &_storage._notableActionHistory) }() - case 25: try { try decoder.decodeRepeatedEnumField(value: &_storage._vsEffectTag) }() + case 1: try { try decoder.decodeSingularStringField(value: &_storage._incidentID) }() + case 2: try { try decoder.decodeSingularStringField(value: &_storage._fortID) }() + case 3: try { try decoder.decodeSingularStringField(value: &_storage._fortName) }() + case 4: try { try decoder.decodeSingularStringField(value: &_storage._pokestopImageUri) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._currentStep) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &_storage._step) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._completionDisplay) }() + case 8: try { try decoder.decodeSingularEnumField(value: &_storage._context) }() + case 9: try { try decoder.decodeSingularEnumField(value: &_storage._startPhase) }() default: break } } @@ -183763,115 +186988,51 @@ extension CombatProto.CombatPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: _storage._pokemonID, fieldNumber: 1) - } - if _storage._pokedexID != .missingno { - try visitor.visitSingularEnumField(value: _storage._pokedexID, fieldNumber: 2) - } - if _storage._cp != 0 { - try visitor.visitSingularInt32Field(value: _storage._cp, fieldNumber: 3) - } - if _storage._cpMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._cpMultiplier, fieldNumber: 4) - } - if _storage._stamina != 0 { - try visitor.visitSingularInt32Field(value: _storage._stamina, fieldNumber: 5) + if !_storage._incidentID.isEmpty { + try visitor.visitSingularStringField(value: _storage._incidentID, fieldNumber: 1) } - if _storage._maxStamina != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxStamina, fieldNumber: 6) + if !_storage._fortID.isEmpty { + try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 2) } - if _storage._move1 != .moveUnset { - try visitor.visitSingularEnumField(value: _storage._move1, fieldNumber: 7) + if !_storage._fortName.isEmpty { + try visitor.visitSingularStringField(value: _storage._fortName, fieldNumber: 3) } - if _storage._move2 != .moveUnset { - try visitor.visitSingularEnumField(value: _storage._move2, fieldNumber: 8) + if !_storage._pokestopImageUri.isEmpty { + try visitor.visitSingularStringField(value: _storage._pokestopImageUri, fieldNumber: 4) } - if _storage._move3 != .moveUnset { - try visitor.visitSingularEnumField(value: _storage._move3, fieldNumber: 9) + if _storage._currentStep != 0 { + try visitor.visitSingularInt32Field(value: _storage._currentStep, fieldNumber: 5) } - if _storage._energy != 0 { - try visitor.visitSingularInt32Field(value: _storage._energy, fieldNumber: 10) + if !_storage._step.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._step, fieldNumber: 6) } - try { if let v = _storage._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + try { if let v = _storage._completionDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) } }() - if _storage._individualAttack != 0 { - try visitor.visitSingularInt32Field(value: _storage._individualAttack, fieldNumber: 12) - } - if _storage._individualDefense != 0 { - try visitor.visitSingularInt32Field(value: _storage._individualDefense, fieldNumber: 13) - } - if _storage._individualStamina != 0 { - try visitor.visitSingularInt32Field(value: _storage._individualStamina, fieldNumber: 14) - } - if _storage._attackStatStage != 0 { - try visitor.visitSingularInt32Field(value: _storage._attackStatStage, fieldNumber: 15) - } - if _storage._defenseStatStage != 0 { - try visitor.visitSingularInt32Field(value: _storage._defenseStatStage, fieldNumber: 16) - } - if _storage._battlesWon != 0 { - try visitor.visitSingularInt32Field(value: _storage._battlesWon, fieldNumber: 17) - } - if _storage._battlesLost != 0 { - try visitor.visitSingularInt32Field(value: _storage._battlesLost, fieldNumber: 18) - } - if !_storage._nickname.isEmpty { - try visitor.visitSingularStringField(value: _storage._nickname, fieldNumber: 19) - } - if _storage._pokeball != .unknown { - try visitor.visitSingularEnumField(value: _storage._pokeball, fieldNumber: 20) - } - if _storage._height != 0 { - try visitor.visitSingularFloatField(value: _storage._height, fieldNumber: 21) - } - if _storage._weight != 0 { - try visitor.visitSingularFloatField(value: _storage._weight, fieldNumber: 22) - } - if _storage._pokemonSize != .pokemonSizeUnset { - try visitor.visitSingularEnumField(value: _storage._pokemonSize, fieldNumber: 23) - } - if !_storage._notableActionHistory.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._notableActionHistory, fieldNumber: 24) + if _storage._context != .pokestopIncident { + try visitor.visitSingularEnumField(value: _storage._context, fieldNumber: 8) } - if !_storage._vsEffectTag.isEmpty { - try visitor.visitPackedEnumField(value: _storage._vsEffectTag, fieldNumber: 25) + if _storage._startPhase != .incidentStartOnSpinOrExit { + try visitor.visitSingularEnumField(value: _storage._startPhase, fieldNumber: 9) } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatProto.CombatPokemonProto, rhs: CombatProto.CombatPokemonProto) -> Bool { + public static func ==(lhs: ClientIncidentProto, rhs: ClientIncidentProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._pokemonID != rhs_storage._pokemonID {return false} - if _storage._pokedexID != rhs_storage._pokedexID {return false} - if _storage._cp != rhs_storage._cp {return false} - if _storage._cpMultiplier != rhs_storage._cpMultiplier {return false} - if _storage._stamina != rhs_storage._stamina {return false} - if _storage._maxStamina != rhs_storage._maxStamina {return false} - if _storage._move1 != rhs_storage._move1 {return false} - if _storage._move2 != rhs_storage._move2 {return false} - if _storage._move3 != rhs_storage._move3 {return false} - if _storage._energy != rhs_storage._energy {return false} - if _storage._pokemonDisplay != rhs_storage._pokemonDisplay {return false} - if _storage._individualAttack != rhs_storage._individualAttack {return false} - if _storage._individualDefense != rhs_storage._individualDefense {return false} - if _storage._individualStamina != rhs_storage._individualStamina {return false} - if _storage._attackStatStage != rhs_storage._attackStatStage {return false} - if _storage._defenseStatStage != rhs_storage._defenseStatStage {return false} - if _storage._battlesWon != rhs_storage._battlesWon {return false} - if _storage._battlesLost != rhs_storage._battlesLost {return false} - if _storage._nickname != rhs_storage._nickname {return false} - if _storage._pokeball != rhs_storage._pokeball {return false} - if _storage._height != rhs_storage._height {return false} - if _storage._weight != rhs_storage._weight {return false} - if _storage._pokemonSize != rhs_storage._pokemonSize {return false} - if _storage._notableActionHistory != rhs_storage._notableActionHistory {return false} - if _storage._vsEffectTag != rhs_storage._vsEffectTag {return false} + if _storage._incidentID != rhs_storage._incidentID {return false} + if _storage._fortID != rhs_storage._fortID {return false} + if _storage._fortName != rhs_storage._fortName {return false} + if _storage._pokestopImageUri != rhs_storage._pokestopImageUri {return false} + if _storage._currentStep != rhs_storage._currentStep {return false} + if _storage._step != rhs_storage._step {return false} + if _storage._completionDisplay != rhs_storage._completionDisplay {return false} + if _storage._context != rhs_storage._context {return false} + if _storage._startPhase != rhs_storage._startPhase {return false} return true } if !storagesAreEqual {return false} @@ -183881,14 +187042,13 @@ extension CombatProto.CombatPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._ } } -extension CombatProto.ObCombatField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatProto.protoMessageName + ".ObCombatField" +extension ClientIncidentStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientIncidentStepProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int64_1"), - 2: .standard(proto: "ob_int64_2"), - 3: .standard(proto: "ob_int32_1"), - 4: .standard(proto: "ob_int32_2"), - 5: .standard(proto: "render_modifier"), + 1: .standard(proto: "invasion_battle"), + 2: .standard(proto: "invasion_encounter"), + 3: .standard(proto: "pokestop_dialogue"), + 4: .standard(proto: "pokestop_spin"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -183897,50 +187057,101 @@ extension CombatProto.ObCombatField: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.obInt641) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.obInt642) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.renderModifier) }() + case 1: try { + var v: ClientInvasionBattleStepProto? + var hadOneofValue = false + if let current = self.clientIncidentStep { + hadOneofValue = true + if case .invasionBattle(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.clientIncidentStep = .invasionBattle(v) + } + }() + case 2: try { + var v: ClientInvasionEncounterStepProto? + var hadOneofValue = false + if let current = self.clientIncidentStep { + hadOneofValue = true + if case .invasionEncounter(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.clientIncidentStep = .invasionEncounter(v) + } + }() + case 3: try { + var v: ClientPokestopNpcDialogueStepProto? + var hadOneofValue = false + if let current = self.clientIncidentStep { + hadOneofValue = true + if case .pokestopDialogue(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.clientIncidentStep = .pokestopDialogue(v) + } + }() + case 4: try { + var v: ClientPokestopSpinStepProto? + var hadOneofValue = false + if let current = self.clientIncidentStep { + hadOneofValue = true + if case .pokestopSpin(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.clientIncidentStep = .pokestopSpin(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt641 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt641, fieldNumber: 1) - } - if self.obInt642 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt642, fieldNumber: 2) - } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 3) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 4) - } - if !self.renderModifier.isEmpty { - try visitor.visitRepeatedMessageField(value: self.renderModifier, fieldNumber: 5) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.clientIncidentStep { + case .invasionBattle?: try { + guard case .invasionBattle(let v)? = self.clientIncidentStep else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .invasionEncounter?: try { + guard case .invasionEncounter(let v)? = self.clientIncidentStep else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .pokestopDialogue?: try { + guard case .pokestopDialogue(let v)? = self.clientIncidentStep else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .pokestopSpin?: try { + guard case .pokestopSpin(let v)? = self.clientIncidentStep else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatProto.ObCombatField, rhs: CombatProto.ObCombatField) -> Bool { - if lhs.obInt641 != rhs.obInt641 {return false} - if lhs.obInt642 != rhs.obInt642 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.renderModifier != rhs.renderModifier {return false} + public static func ==(lhs: ClientIncidentStepProto, rhs: ClientIncidentStepProto) -> Bool { + if lhs.clientIncidentStep != rhs.clientIncidentStep {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatPubSubDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatPubSubDataProto" +extension ClientInvasionBattleStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientInvasionBattleStepProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), + 1: .same(proto: "character"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -183949,113 +187160,61 @@ extension CombatPubSubDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.character) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .noType { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + if self.character != .characterUnset { + try visitor.visitSingularEnumField(value: self.character, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatPubSubDataProto, rhs: CombatPubSubDataProto) -> Bool { - if lhs.type != rhs.type {return false} + public static func ==(lhs: ClientInvasionBattleStepProto, rhs: ClientInvasionBattleStepProto) -> Bool { + if lhs.character != rhs.character {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatPubSubDataProto.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_TYPE"), - 1: .same(proto: "END_NPC_COMBAT"), - 2: .same(proto: "END_INVASION_COMBAT"), - 3: .same(proto: "COMBAT_NOTIFY"), - 4: .same(proto: "END_PVP_COMBAT"), - 5: .same(proto: "VS_SEEKER_MATCH_STARTED"), - 6: .same(proto: "COMBAT_CHARGE_ATTACK_ANIMATION_ACTIVE_CHANGE"), - 7: .same(proto: "COMBAT_UPDATE_ACTION_UI"), - 8: .same(proto: "COMBAT_EXIT_COMBAT_STATE"), - 9: .same(proto: "COMBAT_SUPER_EFFECTIVE_CHARGED_ATTACKS_UPDATE"), - 10: .same(proto: "COMBAT_STATE_ENTERED"), - 11: .same(proto: "COMBAT_STATE_DONE"), - 12: .same(proto: "COMBAT_STATE_EXITED"), - 13: .same(proto: "COMBAT_INITIALIZE_PRESENTATION_DIRECTOR"), - 14: .same(proto: "COMBAT_SHOW_UI"), - 15: .same(proto: "COMBAT_HIDE_UI"), - 16: .same(proto: "COMBAT_SHOW_MESSAGE"), - 17: .same(proto: "COMBAT_SHOW_TOAST"), - 18: .same(proto: "COMBAT_SHOW_TUTORIAL"), - 19: .same(proto: "COMBAT_UPDATE_IS_SHOWING_CHARGE_ANIM"), - 20: .same(proto: "COMBAT_PLAY_MINI_GAME"), - 21: .same(proto: "COMBAT_CONTINUE_AFTER_MINI_GAME"), - 22: .same(proto: "COMBAT_SHOW_SPECIAL_ATTACK"), - 23: .same(proto: "COMBAT_SPECIAL_MOVE_STATE_ENDED"), - 24: .same(proto: "COMBAT_CLEAN_UP_SPECIAL_MOVE_STATE"), - 25: .same(proto: "COMBAT_HANDLE_SPECIAL_MOVE_CAMERA_ZOOM"), - 26: .same(proto: "COMBAT_SHIELD_USED"), - 27: .same(proto: "COMBAT_DEFENDER_FLINCH"), - 28: .same(proto: "COMBAT_OPPONENT_REACT"), - 29: .same(proto: "COMBAT_FOCUS_ON_POKEMON"), - 30: .same(proto: "COMBAT_PLAY_START_FADE_TRANSITION"), - 31: .same(proto: "COMBAT_PLAY_END_FADE_TRANSITION"), - 32: .same(proto: "COMBAT_COUNTDOWN_STARTED"), - 33: .same(proto: "COMBAT_PLAY_BACK_BUTTON_SFX"), - 34: .same(proto: "COMBAT_SETUP_COMBAT_STAGE_SUBSCRIPTIONS"), - 35: .same(proto: "COMBAT_OPPONENT_RETRIEVE_POKEMON"), - 36: .same(proto: "COMBAT_HIDE_NAMEPLATE"), - 37: .same(proto: "COMBAT_DISPLAY_PHYSICAL_SHIELD"), - 38: .same(proto: "COMBAT_UPDATE_TIMER"), - 39: .same(proto: "COMBAT_STOP_CHARGE_ATTACK_EFFECTS"), - 40: .same(proto: "COMBAT_DEFENSIVE_MINI_GAME_DECIDED"), - 41: .same(proto: "COMBAT_DEFENSIVE_MINI_GAME_SERVER_RESPONSE"), - 42: .same(proto: "COMBAT_PAUSE_NOTIFY_COMBAT_POKEMON"), - ] -} - -extension CombatQuestUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatQuestUpdateProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "super_effective_charged_attacks_update"), - ] +extension ClientInvasionEncounterStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientInvasionEncounterStepProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.superEffectiveChargedAttacksUpdate) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.superEffectiveChargedAttacksUpdate != 0 { - try visitor.visitSingularInt32Field(value: self.superEffectiveChargedAttacksUpdate, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatQuestUpdateProto, rhs: CombatQuestUpdateProto) -> Bool { - if lhs.superEffectiveChargedAttacksUpdate != rhs.superEffectiveChargedAttacksUpdate {return false} + public static func ==(lhs: ClientInvasionEncounterStepProto, rhs: ClientInvasionEncounterStepProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatRankingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatRankingSettingsProto" +extension ClientMapCellProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientMapCellProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "rank_level"), - 2: .standard(proto: "required_for_rewards"), - 3: .standard(proto: "min_rank_to_display_rating"), - 4: .standard(proto: "min_rating_required"), + 1: .standard(proto: "s2_cell_id"), + 2: .standard(proto: "as_of_time_ms"), + 3: .same(proto: "fort"), + 4: .standard(proto: "spawn_point"), + 5: .standard(proto: "wild_pokemon"), + 6: .standard(proto: "deleted_object"), + 7: .standard(proto: "is_truncated_list"), + 8: .standard(proto: "fort_summary"), + 9: .standard(proto: "decimated_spawn_point"), + 10: .standard(proto: "catchable_pokemon"), + 11: .standard(proto: "nearby_pokemon"), + 15: .standard(proto: "route_list_hash"), + 16: .standard(proto: "hyperlocal_experiment"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184064,52 +187223,93 @@ extension CombatRankingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.rankLevel) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._requiredForRewards) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.minRankToDisplayRating) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.minRatingRequired) }() + case 1: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.asOfTimeMs) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.fort) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.spawnPoint) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.wildPokemon) }() + case 6: try { try decoder.decodeRepeatedStringField(value: &self.deletedObject) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.isTruncatedList) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &self.fortSummary) }() + case 9: try { try decoder.decodeRepeatedMessageField(value: &self.decimatedSpawnPoint) }() + case 10: try { try decoder.decodeRepeatedMessageField(value: &self.catchablePokemon) }() + case 11: try { try decoder.decodeRepeatedMessageField(value: &self.nearbyPokemon) }() + case 15: try { try decoder.decodeSingularStringField(value: &self.routeListHash) }() + case 16: try { try decoder.decodeRepeatedMessageField(value: &self.hyperlocalExperiment) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.rankLevel.isEmpty { - try visitor.visitRepeatedMessageField(value: self.rankLevel, fieldNumber: 1) + if self.s2CellID != 0 { + try visitor.visitSingularUInt64Field(value: self.s2CellID, fieldNumber: 1) } - try { if let v = self._requiredForRewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.minRankToDisplayRating != 0 { - try visitor.visitSingularInt32Field(value: self.minRankToDisplayRating, fieldNumber: 3) + if self.asOfTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.asOfTimeMs, fieldNumber: 2) } - if self.minRatingRequired != 0 { - try visitor.visitSingularInt32Field(value: self.minRatingRequired, fieldNumber: 4) + if !self.fort.isEmpty { + try visitor.visitRepeatedMessageField(value: self.fort, fieldNumber: 3) + } + if !self.spawnPoint.isEmpty { + try visitor.visitRepeatedMessageField(value: self.spawnPoint, fieldNumber: 4) + } + if !self.wildPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.wildPokemon, fieldNumber: 5) + } + if !self.deletedObject.isEmpty { + try visitor.visitRepeatedStringField(value: self.deletedObject, fieldNumber: 6) + } + if self.isTruncatedList != false { + try visitor.visitSingularBoolField(value: self.isTruncatedList, fieldNumber: 7) + } + if !self.fortSummary.isEmpty { + try visitor.visitRepeatedMessageField(value: self.fortSummary, fieldNumber: 8) + } + if !self.decimatedSpawnPoint.isEmpty { + try visitor.visitRepeatedMessageField(value: self.decimatedSpawnPoint, fieldNumber: 9) + } + if !self.catchablePokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.catchablePokemon, fieldNumber: 10) + } + if !self.nearbyPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.nearbyPokemon, fieldNumber: 11) + } + if !self.routeListHash.isEmpty { + try visitor.visitSingularStringField(value: self.routeListHash, fieldNumber: 15) + } + if !self.hyperlocalExperiment.isEmpty { + try visitor.visitRepeatedMessageField(value: self.hyperlocalExperiment, fieldNumber: 16) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatRankingSettingsProto, rhs: CombatRankingSettingsProto) -> Bool { - if lhs.rankLevel != rhs.rankLevel {return false} - if lhs._requiredForRewards != rhs._requiredForRewards {return false} - if lhs.minRankToDisplayRating != rhs.minRankToDisplayRating {return false} - if lhs.minRatingRequired != rhs.minRatingRequired {return false} + public static func ==(lhs: ClientMapCellProto, rhs: ClientMapCellProto) -> Bool { + if lhs.s2CellID != rhs.s2CellID {return false} + if lhs.asOfTimeMs != rhs.asOfTimeMs {return false} + if lhs.fort != rhs.fort {return false} + if lhs.spawnPoint != rhs.spawnPoint {return false} + if lhs.wildPokemon != rhs.wildPokemon {return false} + if lhs.deletedObject != rhs.deletedObject {return false} + if lhs.isTruncatedList != rhs.isTruncatedList {return false} + if lhs.fortSummary != rhs.fortSummary {return false} + if lhs.decimatedSpawnPoint != rhs.decimatedSpawnPoint {return false} + if lhs.catchablePokemon != rhs.catchablePokemon {return false} + if lhs.nearbyPokemon != rhs.nearbyPokemon {return false} + if lhs.routeListHash != rhs.routeListHash {return false} + if lhs.hyperlocalExperiment != rhs.hyperlocalExperiment {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatRankingSettingsProto.RankLevelProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CombatRankingSettingsProto.protoMessageName + ".RankLevelProto" +extension ClientMapObjectsInteractionRangeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientMapObjectsInteractionRangeSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "rank_level"), - 2: .standard(proto: "additional_total_battles_required"), - 3: .standard(proto: "additional_wins_required"), - 4: .standard(proto: "min_rating_required"), + 1: .standard(proto: "interaction_range_meters"), + 2: .standard(proto: "far_interaction_range_meters"), + 3: .standard(proto: "remote_interaction_range_meters"), + 4: .standard(proto: "white_pulse_radius_meters"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184118,52 +187318,48 @@ extension CombatRankingSettingsProto.RankLevelProto: SwiftProtobuf.Message, Swif // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.rankLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.additionalTotalBattlesRequired) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.additionalWinsRequired) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.minRatingRequired) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.interactionRangeMeters) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.farInteractionRangeMeters) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.remoteInteractionRangeMeters) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.whitePulseRadiusMeters) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.rankLevel != 0 { - try visitor.visitSingularInt32Field(value: self.rankLevel, fieldNumber: 1) + if self.interactionRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.interactionRangeMeters, fieldNumber: 1) } - if self.additionalTotalBattlesRequired != 0 { - try visitor.visitSingularInt32Field(value: self.additionalTotalBattlesRequired, fieldNumber: 2) + if self.farInteractionRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.farInteractionRangeMeters, fieldNumber: 2) } - if self.additionalWinsRequired != 0 { - try visitor.visitSingularInt32Field(value: self.additionalWinsRequired, fieldNumber: 3) + if self.remoteInteractionRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.remoteInteractionRangeMeters, fieldNumber: 3) } - if self.minRatingRequired != 0 { - try visitor.visitSingularInt32Field(value: self.minRatingRequired, fieldNumber: 4) + if self.whitePulseRadiusMeters != 0 { + try visitor.visitSingularDoubleField(value: self.whitePulseRadiusMeters, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatRankingSettingsProto.RankLevelProto, rhs: CombatRankingSettingsProto.RankLevelProto) -> Bool { - if lhs.rankLevel != rhs.rankLevel {return false} - if lhs.additionalTotalBattlesRequired != rhs.additionalTotalBattlesRequired {return false} - if lhs.additionalWinsRequired != rhs.additionalWinsRequired {return false} - if lhs.minRatingRequired != rhs.minRatingRequired {return false} + public static func ==(lhs: ClientMapObjectsInteractionRangeSettingsProto, rhs: ClientMapObjectsInteractionRangeSettingsProto) -> Bool { + if lhs.interactionRangeMeters != rhs.interactionRangeMeters {return false} + if lhs.farInteractionRangeMeters != rhs.farInteractionRangeMeters {return false} + if lhs.remoteInteractionRangeMeters != rhs.remoteInteractionRangeMeters {return false} + if lhs.whitePulseRadiusMeters != rhs.whitePulseRadiusMeters {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatSeasonResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatSeasonResult" +extension ClientPerformanceSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientPerformanceSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "season"), - 2: .same(proto: "rank"), - 3: .standard(proto: "total_battles"), - 4: .standard(proto: "total_wins"), - 5: .same(proto: "rating"), - 6: .standard(proto: "longest_win_streak"), - 7: .standard(proto: "current_streak"), - 8: .standard(proto: "stardust_earned"), + 1: .standard(proto: "enable_local_disk_caching"), + 2: .standard(proto: "max_number_local_battle_parties"), + 3: .standard(proto: "multi_pokemon_battle_party_select"), + 4: .standard(proto: "use_whole_match_for_filter_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184172,187 +187368,146 @@ extension CombatSeasonResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.season) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.rank) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.totalBattles) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.totalWins) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.rating) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.longestWinStreak) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.currentStreak) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &self.stardustEarned) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableLocalDiskCaching) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxNumberLocalBattleParties) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.multiPokemonBattlePartySelect) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.useWholeMatchForFilterKey) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.season != 0 { - try visitor.visitSingularInt32Field(value: self.season, fieldNumber: 1) - } - if self.rank != 0 { - try visitor.visitSingularInt32Field(value: self.rank, fieldNumber: 2) - } - if self.totalBattles != 0 { - try visitor.visitSingularInt32Field(value: self.totalBattles, fieldNumber: 3) - } - if self.totalWins != 0 { - try visitor.visitSingularInt32Field(value: self.totalWins, fieldNumber: 4) - } - if self.rating != 0 { - try visitor.visitSingularFloatField(value: self.rating, fieldNumber: 5) + if self.enableLocalDiskCaching != false { + try visitor.visitSingularBoolField(value: self.enableLocalDiskCaching, fieldNumber: 1) } - if self.longestWinStreak != 0 { - try visitor.visitSingularInt32Field(value: self.longestWinStreak, fieldNumber: 6) + if self.maxNumberLocalBattleParties != 0 { + try visitor.visitSingularInt32Field(value: self.maxNumberLocalBattleParties, fieldNumber: 2) } - if self.currentStreak != 0 { - try visitor.visitSingularInt32Field(value: self.currentStreak, fieldNumber: 7) + if self.multiPokemonBattlePartySelect != false { + try visitor.visitSingularBoolField(value: self.multiPokemonBattlePartySelect, fieldNumber: 3) } - if self.stardustEarned != 0 { - try visitor.visitSingularInt64Field(value: self.stardustEarned, fieldNumber: 8) + if self.useWholeMatchForFilterKey != false { + try visitor.visitSingularBoolField(value: self.useWholeMatchForFilterKey, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatSeasonResult, rhs: CombatSeasonResult) -> Bool { - if lhs.season != rhs.season {return false} - if lhs.rank != rhs.rank {return false} - if lhs.totalBattles != rhs.totalBattles {return false} - if lhs.totalWins != rhs.totalWins {return false} - if lhs.rating != rhs.rating {return false} - if lhs.longestWinStreak != rhs.longestWinStreak {return false} - if lhs.currentStreak != rhs.currentStreak {return false} - if lhs.stardustEarned != rhs.stardustEarned {return false} + public static func ==(lhs: ClientPerformanceSettingsProto, rhs: ClientPerformanceSettingsProto) -> Bool { + if lhs.enableLocalDiskCaching != rhs.enableLocalDiskCaching {return false} + if lhs.maxNumberLocalBattleParties != rhs.maxNumberLocalBattleParties {return false} + if lhs.multiPokemonBattlePartySelect != rhs.multiPokemonBattlePartySelect {return false} + if lhs.useWholeMatchForFilterKey != rhs.useWholeMatchForFilterKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatSettingsProto" +extension ClientPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientPlayerProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "round_duration_seconds"), - 2: .standard(proto: "turn_duration_seconds"), - 3: .standard(proto: "minigame_duration_seconds"), - 4: .standard(proto: "same_type_attack_bonus_multiplier"), - 5: .standard(proto: "fast_attack_bonus_multiplier"), - 6: .standard(proto: "charge_attack_bonus_multiplier"), - 7: .standard(proto: "defense_bonus_multiplier"), - 8: .standard(proto: "minigame_bonus_base_multiplier"), - 9: .standard(proto: "minigame_bonus_variable_multiplier"), - 10: .standard(proto: "max_energy"), - 11: .standard(proto: "defender_minigame_multiplier"), - 12: .standard(proto: "change_pokemon_duration_seconds"), - 13: .standard(proto: "minigame_submit_score_duration_seconds"), - 14: .standard(proto: "quick_swap_combat_start_available_seconds"), - 15: .standard(proto: "quick_swap_cooldown_duration_seconds"), - 16: .standard(proto: "offensive_input_challenge_settings"), - 17: .standard(proto: "defensive_input_challenge_settings"), - 18: .standard(proto: "charge_score_base"), - 19: .standard(proto: "charge_score_nice"), - 20: .standard(proto: "charge_score_great"), - 21: .standard(proto: "charge_score_excellent"), - 22: .standard(proto: "swap_animation_duration_turns"), - 23: .standard(proto: "super_effective_flyout_duration_turns"), - 24: .standard(proto: "not_very_effective_flyout_duration_turns"), - 25: .standard(proto: "blocked_effective_flyout_duration_turns"), - 26: .standard(proto: "normal_effective_flyout_duration_turns"), - 27: .standard(proto: "faint_animation_duration_turns"), - 28: .standard(proto: "npc_swap_delay_turns"), - 29: .standard(proto: "npc_charged_attack_delay_turns"), - 30: .standard(proto: "shadow_pokemon_attack_bonus_multiplier"), - 31: .standard(proto: "shadow_pokemon_defense_bonus_multiplier"), - 32: .standard(proto: "purified_pokemon_attack_multiplier_vs_shadow"), - 35: .standard(proto: "combat_refactor_toggle"), - 36: .standard(proto: "ob_bool"), - 37: .standard(proto: "ob_int32_1"), - 38: .standard(proto: "ob_combat_settings"), - 39: .standard(proto: "ob_combat_settings_1"), - 40: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "creation_time_ms"), + 2: .same(proto: "name"), + 5: .same(proto: "team"), + 7: .standard(proto: "tutorial_complete"), + 8: .standard(proto: "player_avatar_proto"), + 9: .standard(proto: "max_pokemon_storage"), + 10: .standard(proto: "max_item_storage"), + 11: .standard(proto: "daily_bonus_proto"), + 13: .standard(proto: "contact_settings_proto"), + 14: .standard(proto: "currency_balance"), + 15: .standard(proto: "remaining_codename_claims"), + 16: .standard(proto: "buddy_pokemon_proto"), + 17: .standard(proto: "battle_lockout_end_ms"), + 18: .standard(proto: "secondary_player_avatar_proto"), + 19: .standard(proto: "name_is_blacklisted"), + 20: .standard(proto: "social_player_settings"), + 21: .standard(proto: "combat_player_preferences"), + 22: .standard(proto: "player_support_id"), + 23: .standard(proto: "team_change_info"), + 24: .standard(proto: "consumed_eevee_easter_eggs"), + 25: .standard(proto: "combat_log"), + 26: .standard(proto: "time_zone_offset_ms"), + 27: .standard(proto: "buddy_observed_data"), + 28: .standard(proto: "helpshift_user_id"), + 29: .standard(proto: "player_preferences"), + 30: .standard(proto: "event_ticket_active_time"), + 31: .standard(proto: "lapsed_player_returned_time_ms"), + 33: .standard(proto: "max_postcard_storage"), + 35: .standard(proto: "pokecoin_caps"), + 36: .standard(proto: "obfuscated_player_id"), + 37: .standard(proto: "ptc_oauth_linked_before"), ] fileprivate class _StorageClass { - var _roundDurationSeconds: Float = 0 - var _turnDurationSeconds: Float = 0 - var _minigameDurationSeconds: Float = 0 - var _sameTypeAttackBonusMultiplier: Float = 0 - var _fastAttackBonusMultiplier: Float = 0 - var _chargeAttackBonusMultiplier: Float = 0 - var _defenseBonusMultiplier: Float = 0 - var _minigameBonusBaseMultiplier: Float = 0 - var _minigameBonusVariableMultiplier: Float = 0 - var _maxEnergy: Int32 = 0 - var _defenderMinigameMultiplier: Float = 0 - var _changePokemonDurationSeconds: Float = 0 - var _minigameSubmitScoreDurationSeconds: Float = 0 - var _quickSwapCombatStartAvailableSeconds: Float = 0 - var _quickSwapCooldownDurationSeconds: Float = 0 - var _offensiveInputChallengeSettings: CombatOffensiveInputChallengeSettings? = nil - var _defensiveInputChallengeSettings: CombatDefensiveInputChallengeSettings? = nil - var _chargeScoreBase: Float = 0 - var _chargeScoreNice: Float = 0 - var _chargeScoreGreat: Float = 0 - var _chargeScoreExcellent: Float = 0 - var _swapAnimationDurationTurns: Int32 = 0 - var _superEffectiveFlyoutDurationTurns: Int32 = 0 - var _notVeryEffectiveFlyoutDurationTurns: Int32 = 0 - var _blockedEffectiveFlyoutDurationTurns: Int32 = 0 - var _normalEffectiveFlyoutDurationTurns: Int32 = 0 - var _faintAnimationDurationTurns: Int32 = 0 - var _npcSwapDelayTurns: Int32 = 0 - var _npcChargedAttackDelayTurns: Int32 = 0 - var _shadowPokemonAttackBonusMultiplier: Float = 0 - var _shadowPokemonDefenseBonusMultiplier: Float = 0 - var _purifiedPokemonAttackMultiplierVsShadow: Float = 0 - var _combatRefactorToggle: [CombatRefactorToggleProto] = [] - var _obBool: Bool = false - var _obInt321: Int32 = 0 - var _obCombatSettings: ObCombatSettings? = nil - var _obCombatSettings1: ObCombatSettings1? = nil - var _obInt322: Int32 = 0 + var _creationTimeMs: Int64 = 0 + var _name: String = String() + var _team: Team = .unset + var _tutorialComplete: [TutorialCompletion] = [] + var _playerAvatarProto: PlayerAvatarProto? = nil + var _maxPokemonStorage: Int32 = 0 + var _maxItemStorage: Int32 = 0 + var _dailyBonusProto: DailyBonusProto? = nil + var _contactSettingsProto: ContactSettingsProto? = nil + var _currencyBalance: [CurrencyQuantityProto] = [] + var _remainingCodenameClaims: Int32 = 0 + var _buddyPokemonProto: BuddyPokemonProto? = nil + var _battleLockoutEndMs: Int64 = 0 + var _secondaryPlayerAvatarProto: PlayerAvatarProto? = nil + var _nameIsBlacklisted: Bool = false + var _socialPlayerSettings: SocialPlayerSettingsProto? = nil + var _combatPlayerPreferences: CombatPlayerPreferencesProto? = nil + var _playerSupportID: String = String() + var _teamChangeInfo: TeamChangeInfoProto? = nil + var _consumedEeveeEasterEggs: [HoloPokemonId] = [] + var _combatLog: CombatLogProto? = nil + var _timeZoneOffsetMs: Int64 = 0 + var _buddyObservedData: BuddyObservedData? = nil + var _helpshiftUserID: String = String() + var _playerPreferences: PlayerPreferencesProto? = nil + var _eventTicketActiveTime: [EventTicketActiveTimeProto] = [] + var _lapsedPlayerReturnedTimeMs: Int64 = 0 + var _maxPostcardStorage: Int32 = 0 + var _pokecoinCaps: [PlayerPokecoinCapProto] = [] + var _obfuscatedPlayerID: String = String() + var _ptcOauthLinkedBefore: Bool = false static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _roundDurationSeconds = source._roundDurationSeconds - _turnDurationSeconds = source._turnDurationSeconds - _minigameDurationSeconds = source._minigameDurationSeconds - _sameTypeAttackBonusMultiplier = source._sameTypeAttackBonusMultiplier - _fastAttackBonusMultiplier = source._fastAttackBonusMultiplier - _chargeAttackBonusMultiplier = source._chargeAttackBonusMultiplier - _defenseBonusMultiplier = source._defenseBonusMultiplier - _minigameBonusBaseMultiplier = source._minigameBonusBaseMultiplier - _minigameBonusVariableMultiplier = source._minigameBonusVariableMultiplier - _maxEnergy = source._maxEnergy - _defenderMinigameMultiplier = source._defenderMinigameMultiplier - _changePokemonDurationSeconds = source._changePokemonDurationSeconds - _minigameSubmitScoreDurationSeconds = source._minigameSubmitScoreDurationSeconds - _quickSwapCombatStartAvailableSeconds = source._quickSwapCombatStartAvailableSeconds - _quickSwapCooldownDurationSeconds = source._quickSwapCooldownDurationSeconds - _offensiveInputChallengeSettings = source._offensiveInputChallengeSettings - _defensiveInputChallengeSettings = source._defensiveInputChallengeSettings - _chargeScoreBase = source._chargeScoreBase - _chargeScoreNice = source._chargeScoreNice - _chargeScoreGreat = source._chargeScoreGreat - _chargeScoreExcellent = source._chargeScoreExcellent - _swapAnimationDurationTurns = source._swapAnimationDurationTurns - _superEffectiveFlyoutDurationTurns = source._superEffectiveFlyoutDurationTurns - _notVeryEffectiveFlyoutDurationTurns = source._notVeryEffectiveFlyoutDurationTurns - _blockedEffectiveFlyoutDurationTurns = source._blockedEffectiveFlyoutDurationTurns - _normalEffectiveFlyoutDurationTurns = source._normalEffectiveFlyoutDurationTurns - _faintAnimationDurationTurns = source._faintAnimationDurationTurns - _npcSwapDelayTurns = source._npcSwapDelayTurns - _npcChargedAttackDelayTurns = source._npcChargedAttackDelayTurns - _shadowPokemonAttackBonusMultiplier = source._shadowPokemonAttackBonusMultiplier - _shadowPokemonDefenseBonusMultiplier = source._shadowPokemonDefenseBonusMultiplier - _purifiedPokemonAttackMultiplierVsShadow = source._purifiedPokemonAttackMultiplierVsShadow - _combatRefactorToggle = source._combatRefactorToggle - _obBool = source._obBool - _obInt321 = source._obInt321 - _obCombatSettings = source._obCombatSettings - _obCombatSettings1 = source._obCombatSettings1 - _obInt322 = source._obInt322 + _creationTimeMs = source._creationTimeMs + _name = source._name + _team = source._team + _tutorialComplete = source._tutorialComplete + _playerAvatarProto = source._playerAvatarProto + _maxPokemonStorage = source._maxPokemonStorage + _maxItemStorage = source._maxItemStorage + _dailyBonusProto = source._dailyBonusProto + _contactSettingsProto = source._contactSettingsProto + _currencyBalance = source._currencyBalance + _remainingCodenameClaims = source._remainingCodenameClaims + _buddyPokemonProto = source._buddyPokemonProto + _battleLockoutEndMs = source._battleLockoutEndMs + _secondaryPlayerAvatarProto = source._secondaryPlayerAvatarProto + _nameIsBlacklisted = source._nameIsBlacklisted + _socialPlayerSettings = source._socialPlayerSettings + _combatPlayerPreferences = source._combatPlayerPreferences + _playerSupportID = source._playerSupportID + _teamChangeInfo = source._teamChangeInfo + _consumedEeveeEasterEggs = source._consumedEeveeEasterEggs + _combatLog = source._combatLog + _timeZoneOffsetMs = source._timeZoneOffsetMs + _buddyObservedData = source._buddyObservedData + _helpshiftUserID = source._helpshiftUserID + _playerPreferences = source._playerPreferences + _eventTicketActiveTime = source._eventTicketActiveTime + _lapsedPlayerReturnedTimeMs = source._lapsedPlayerReturnedTimeMs + _maxPostcardStorage = source._maxPostcardStorage + _pokecoinCaps = source._pokecoinCaps + _obfuscatedPlayerID = source._obfuscatedPlayerID + _ptcOauthLinkedBefore = source._ptcOauthLinkedBefore } } @@ -184371,44 +187526,37 @@ extension CombatSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &_storage._roundDurationSeconds) }() - case 2: try { try decoder.decodeSingularFloatField(value: &_storage._turnDurationSeconds) }() - case 3: try { try decoder.decodeSingularFloatField(value: &_storage._minigameDurationSeconds) }() - case 4: try { try decoder.decodeSingularFloatField(value: &_storage._sameTypeAttackBonusMultiplier) }() - case 5: try { try decoder.decodeSingularFloatField(value: &_storage._fastAttackBonusMultiplier) }() - case 6: try { try decoder.decodeSingularFloatField(value: &_storage._chargeAttackBonusMultiplier) }() - case 7: try { try decoder.decodeSingularFloatField(value: &_storage._defenseBonusMultiplier) }() - case 8: try { try decoder.decodeSingularFloatField(value: &_storage._minigameBonusBaseMultiplier) }() - case 9: try { try decoder.decodeSingularFloatField(value: &_storage._minigameBonusVariableMultiplier) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._maxEnergy) }() - case 11: try { try decoder.decodeSingularFloatField(value: &_storage._defenderMinigameMultiplier) }() - case 12: try { try decoder.decodeSingularFloatField(value: &_storage._changePokemonDurationSeconds) }() - case 13: try { try decoder.decodeSingularFloatField(value: &_storage._minigameSubmitScoreDurationSeconds) }() - case 14: try { try decoder.decodeSingularFloatField(value: &_storage._quickSwapCombatStartAvailableSeconds) }() - case 15: try { try decoder.decodeSingularFloatField(value: &_storage._quickSwapCooldownDurationSeconds) }() - case 16: try { try decoder.decodeSingularMessageField(value: &_storage._offensiveInputChallengeSettings) }() - case 17: try { try decoder.decodeSingularMessageField(value: &_storage._defensiveInputChallengeSettings) }() - case 18: try { try decoder.decodeSingularFloatField(value: &_storage._chargeScoreBase) }() - case 19: try { try decoder.decodeSingularFloatField(value: &_storage._chargeScoreNice) }() - case 20: try { try decoder.decodeSingularFloatField(value: &_storage._chargeScoreGreat) }() - case 21: try { try decoder.decodeSingularFloatField(value: &_storage._chargeScoreExcellent) }() - case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._swapAnimationDurationTurns) }() - case 23: try { try decoder.decodeSingularInt32Field(value: &_storage._superEffectiveFlyoutDurationTurns) }() - case 24: try { try decoder.decodeSingularInt32Field(value: &_storage._notVeryEffectiveFlyoutDurationTurns) }() - case 25: try { try decoder.decodeSingularInt32Field(value: &_storage._blockedEffectiveFlyoutDurationTurns) }() - case 26: try { try decoder.decodeSingularInt32Field(value: &_storage._normalEffectiveFlyoutDurationTurns) }() - case 27: try { try decoder.decodeSingularInt32Field(value: &_storage._faintAnimationDurationTurns) }() - case 28: try { try decoder.decodeSingularInt32Field(value: &_storage._npcSwapDelayTurns) }() - case 29: try { try decoder.decodeSingularInt32Field(value: &_storage._npcChargedAttackDelayTurns) }() - case 30: try { try decoder.decodeSingularFloatField(value: &_storage._shadowPokemonAttackBonusMultiplier) }() - case 31: try { try decoder.decodeSingularFloatField(value: &_storage._shadowPokemonDefenseBonusMultiplier) }() - case 32: try { try decoder.decodeSingularFloatField(value: &_storage._purifiedPokemonAttackMultiplierVsShadow) }() - case 35: try { try decoder.decodeRepeatedEnumField(value: &_storage._combatRefactorToggle) }() - case 36: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 37: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 38: try { try decoder.decodeSingularMessageField(value: &_storage._obCombatSettings) }() - case 39: try { try decoder.decodeSingularMessageField(value: &_storage._obCombatSettings1) }() - case 40: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt322) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &_storage._creationTimeMs) }() + case 2: try { try decoder.decodeSingularStringField(value: &_storage._name) }() + case 5: try { try decoder.decodeSingularEnumField(value: &_storage._team) }() + case 7: try { try decoder.decodeRepeatedEnumField(value: &_storage._tutorialComplete) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._playerAvatarProto) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPokemonStorage) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._maxItemStorage) }() + case 11: try { try decoder.decodeSingularMessageField(value: &_storage._dailyBonusProto) }() + case 13: try { try decoder.decodeSingularMessageField(value: &_storage._contactSettingsProto) }() + case 14: try { try decoder.decodeRepeatedMessageField(value: &_storage._currencyBalance) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._remainingCodenameClaims) }() + case 16: try { try decoder.decodeSingularMessageField(value: &_storage._buddyPokemonProto) }() + case 17: try { try decoder.decodeSingularInt64Field(value: &_storage._battleLockoutEndMs) }() + case 18: try { try decoder.decodeSingularMessageField(value: &_storage._secondaryPlayerAvatarProto) }() + case 19: try { try decoder.decodeSingularBoolField(value: &_storage._nameIsBlacklisted) }() + case 20: try { try decoder.decodeSingularMessageField(value: &_storage._socialPlayerSettings) }() + case 21: try { try decoder.decodeSingularMessageField(value: &_storage._combatPlayerPreferences) }() + case 22: try { try decoder.decodeSingularStringField(value: &_storage._playerSupportID) }() + case 23: try { try decoder.decodeSingularMessageField(value: &_storage._teamChangeInfo) }() + case 24: try { try decoder.decodeRepeatedEnumField(value: &_storage._consumedEeveeEasterEggs) }() + case 25: try { try decoder.decodeSingularMessageField(value: &_storage._combatLog) }() + case 26: try { try decoder.decodeSingularInt64Field(value: &_storage._timeZoneOffsetMs) }() + case 27: try { try decoder.decodeSingularMessageField(value: &_storage._buddyObservedData) }() + case 28: try { try decoder.decodeSingularStringField(value: &_storage._helpshiftUserID) }() + case 29: try { try decoder.decodeSingularMessageField(value: &_storage._playerPreferences) }() + case 30: try { try decoder.decodeRepeatedMessageField(value: &_storage._eventTicketActiveTime) }() + case 31: try { try decoder.decodeSingularInt64Field(value: &_storage._lapsedPlayerReturnedTimeMs) }() + case 33: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPostcardStorage) }() + case 35: try { try decoder.decodeRepeatedMessageField(value: &_storage._pokecoinCaps) }() + case 36: try { try decoder.decodeSingularStringField(value: &_storage._obfuscatedPlayerID) }() + case 37: try { try decoder.decodeSingularBoolField(value: &_storage._ptcOauthLinkedBefore) }() default: break } } @@ -184421,167 +187569,139 @@ extension CombatSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._roundDurationSeconds != 0 { - try visitor.visitSingularFloatField(value: _storage._roundDurationSeconds, fieldNumber: 1) - } - if _storage._turnDurationSeconds != 0 { - try visitor.visitSingularFloatField(value: _storage._turnDurationSeconds, fieldNumber: 2) - } - if _storage._minigameDurationSeconds != 0 { - try visitor.visitSingularFloatField(value: _storage._minigameDurationSeconds, fieldNumber: 3) - } - if _storage._sameTypeAttackBonusMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._sameTypeAttackBonusMultiplier, fieldNumber: 4) - } - if _storage._fastAttackBonusMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._fastAttackBonusMultiplier, fieldNumber: 5) - } - if _storage._chargeAttackBonusMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._chargeAttackBonusMultiplier, fieldNumber: 6) - } - if _storage._defenseBonusMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._defenseBonusMultiplier, fieldNumber: 7) - } - if _storage._minigameBonusBaseMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._minigameBonusBaseMultiplier, fieldNumber: 8) - } - if _storage._minigameBonusVariableMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._minigameBonusVariableMultiplier, fieldNumber: 9) - } - if _storage._maxEnergy != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxEnergy, fieldNumber: 10) + if _storage._creationTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._creationTimeMs, fieldNumber: 1) } - if _storage._defenderMinigameMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._defenderMinigameMultiplier, fieldNumber: 11) + if !_storage._name.isEmpty { + try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 2) } - if _storage._changePokemonDurationSeconds != 0 { - try visitor.visitSingularFloatField(value: _storage._changePokemonDurationSeconds, fieldNumber: 12) + if _storage._team != .unset { + try visitor.visitSingularEnumField(value: _storage._team, fieldNumber: 5) } - if _storage._minigameSubmitScoreDurationSeconds != 0 { - try visitor.visitSingularFloatField(value: _storage._minigameSubmitScoreDurationSeconds, fieldNumber: 13) + if !_storage._tutorialComplete.isEmpty { + try visitor.visitPackedEnumField(value: _storage._tutorialComplete, fieldNumber: 7) } - if _storage._quickSwapCombatStartAvailableSeconds != 0 { - try visitor.visitSingularFloatField(value: _storage._quickSwapCombatStartAvailableSeconds, fieldNumber: 14) + try { if let v = _storage._playerAvatarProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + if _storage._maxPokemonStorage != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxPokemonStorage, fieldNumber: 9) } - if _storage._quickSwapCooldownDurationSeconds != 0 { - try visitor.visitSingularFloatField(value: _storage._quickSwapCooldownDurationSeconds, fieldNumber: 15) + if _storage._maxItemStorage != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxItemStorage, fieldNumber: 10) } - try { if let v = _storage._offensiveInputChallengeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + try { if let v = _storage._dailyBonusProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) } }() - try { if let v = _storage._defensiveInputChallengeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 17) + try { if let v = _storage._contactSettingsProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) } }() - if _storage._chargeScoreBase != 0 { - try visitor.visitSingularFloatField(value: _storage._chargeScoreBase, fieldNumber: 18) - } - if _storage._chargeScoreNice != 0 { - try visitor.visitSingularFloatField(value: _storage._chargeScoreNice, fieldNumber: 19) - } - if _storage._chargeScoreGreat != 0 { - try visitor.visitSingularFloatField(value: _storage._chargeScoreGreat, fieldNumber: 20) - } - if _storage._chargeScoreExcellent != 0 { - try visitor.visitSingularFloatField(value: _storage._chargeScoreExcellent, fieldNumber: 21) - } - if _storage._swapAnimationDurationTurns != 0 { - try visitor.visitSingularInt32Field(value: _storage._swapAnimationDurationTurns, fieldNumber: 22) - } - if _storage._superEffectiveFlyoutDurationTurns != 0 { - try visitor.visitSingularInt32Field(value: _storage._superEffectiveFlyoutDurationTurns, fieldNumber: 23) + if !_storage._currencyBalance.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._currencyBalance, fieldNumber: 14) } - if _storage._notVeryEffectiveFlyoutDurationTurns != 0 { - try visitor.visitSingularInt32Field(value: _storage._notVeryEffectiveFlyoutDurationTurns, fieldNumber: 24) + if _storage._remainingCodenameClaims != 0 { + try visitor.visitSingularInt32Field(value: _storage._remainingCodenameClaims, fieldNumber: 15) } - if _storage._blockedEffectiveFlyoutDurationTurns != 0 { - try visitor.visitSingularInt32Field(value: _storage._blockedEffectiveFlyoutDurationTurns, fieldNumber: 25) + try { if let v = _storage._buddyPokemonProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + } }() + if _storage._battleLockoutEndMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._battleLockoutEndMs, fieldNumber: 17) } - if _storage._normalEffectiveFlyoutDurationTurns != 0 { - try visitor.visitSingularInt32Field(value: _storage._normalEffectiveFlyoutDurationTurns, fieldNumber: 26) + try { if let v = _storage._secondaryPlayerAvatarProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 18) + } }() + if _storage._nameIsBlacklisted != false { + try visitor.visitSingularBoolField(value: _storage._nameIsBlacklisted, fieldNumber: 19) } - if _storage._faintAnimationDurationTurns != 0 { - try visitor.visitSingularInt32Field(value: _storage._faintAnimationDurationTurns, fieldNumber: 27) + try { if let v = _storage._socialPlayerSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 20) + } }() + try { if let v = _storage._combatPlayerPreferences { + try visitor.visitSingularMessageField(value: v, fieldNumber: 21) + } }() + if !_storage._playerSupportID.isEmpty { + try visitor.visitSingularStringField(value: _storage._playerSupportID, fieldNumber: 22) } - if _storage._npcSwapDelayTurns != 0 { - try visitor.visitSingularInt32Field(value: _storage._npcSwapDelayTurns, fieldNumber: 28) + try { if let v = _storage._teamChangeInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 23) + } }() + if !_storage._consumedEeveeEasterEggs.isEmpty { + try visitor.visitPackedEnumField(value: _storage._consumedEeveeEasterEggs, fieldNumber: 24) } - if _storage._npcChargedAttackDelayTurns != 0 { - try visitor.visitSingularInt32Field(value: _storage._npcChargedAttackDelayTurns, fieldNumber: 29) + try { if let v = _storage._combatLog { + try visitor.visitSingularMessageField(value: v, fieldNumber: 25) + } }() + if _storage._timeZoneOffsetMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._timeZoneOffsetMs, fieldNumber: 26) } - if _storage._shadowPokemonAttackBonusMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._shadowPokemonAttackBonusMultiplier, fieldNumber: 30) + try { if let v = _storage._buddyObservedData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 27) + } }() + if !_storage._helpshiftUserID.isEmpty { + try visitor.visitSingularStringField(value: _storage._helpshiftUserID, fieldNumber: 28) } - if _storage._shadowPokemonDefenseBonusMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._shadowPokemonDefenseBonusMultiplier, fieldNumber: 31) + try { if let v = _storage._playerPreferences { + try visitor.visitSingularMessageField(value: v, fieldNumber: 29) + } }() + if !_storage._eventTicketActiveTime.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._eventTicketActiveTime, fieldNumber: 30) } - if _storage._purifiedPokemonAttackMultiplierVsShadow != 0 { - try visitor.visitSingularFloatField(value: _storage._purifiedPokemonAttackMultiplierVsShadow, fieldNumber: 32) + if _storage._lapsedPlayerReturnedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lapsedPlayerReturnedTimeMs, fieldNumber: 31) } - if !_storage._combatRefactorToggle.isEmpty { - try visitor.visitPackedEnumField(value: _storage._combatRefactorToggle, fieldNumber: 35) + if _storage._maxPostcardStorage != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxPostcardStorage, fieldNumber: 33) } - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 36) + if !_storage._pokecoinCaps.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._pokecoinCaps, fieldNumber: 35) } - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 37) + if !_storage._obfuscatedPlayerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._obfuscatedPlayerID, fieldNumber: 36) } - try { if let v = _storage._obCombatSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 38) - } }() - try { if let v = _storage._obCombatSettings1 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 39) - } }() - if _storage._obInt322 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt322, fieldNumber: 40) + if _storage._ptcOauthLinkedBefore != false { + try visitor.visitSingularBoolField(value: _storage._ptcOauthLinkedBefore, fieldNumber: 37) } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatSettingsProto, rhs: CombatSettingsProto) -> Bool { + public static func ==(lhs: ClientPlayerProto, rhs: ClientPlayerProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._roundDurationSeconds != rhs_storage._roundDurationSeconds {return false} - if _storage._turnDurationSeconds != rhs_storage._turnDurationSeconds {return false} - if _storage._minigameDurationSeconds != rhs_storage._minigameDurationSeconds {return false} - if _storage._sameTypeAttackBonusMultiplier != rhs_storage._sameTypeAttackBonusMultiplier {return false} - if _storage._fastAttackBonusMultiplier != rhs_storage._fastAttackBonusMultiplier {return false} - if _storage._chargeAttackBonusMultiplier != rhs_storage._chargeAttackBonusMultiplier {return false} - if _storage._defenseBonusMultiplier != rhs_storage._defenseBonusMultiplier {return false} - if _storage._minigameBonusBaseMultiplier != rhs_storage._minigameBonusBaseMultiplier {return false} - if _storage._minigameBonusVariableMultiplier != rhs_storage._minigameBonusVariableMultiplier {return false} - if _storage._maxEnergy != rhs_storage._maxEnergy {return false} - if _storage._defenderMinigameMultiplier != rhs_storage._defenderMinigameMultiplier {return false} - if _storage._changePokemonDurationSeconds != rhs_storage._changePokemonDurationSeconds {return false} - if _storage._minigameSubmitScoreDurationSeconds != rhs_storage._minigameSubmitScoreDurationSeconds {return false} - if _storage._quickSwapCombatStartAvailableSeconds != rhs_storage._quickSwapCombatStartAvailableSeconds {return false} - if _storage._quickSwapCooldownDurationSeconds != rhs_storage._quickSwapCooldownDurationSeconds {return false} - if _storage._offensiveInputChallengeSettings != rhs_storage._offensiveInputChallengeSettings {return false} - if _storage._defensiveInputChallengeSettings != rhs_storage._defensiveInputChallengeSettings {return false} - if _storage._chargeScoreBase != rhs_storage._chargeScoreBase {return false} - if _storage._chargeScoreNice != rhs_storage._chargeScoreNice {return false} - if _storage._chargeScoreGreat != rhs_storage._chargeScoreGreat {return false} - if _storage._chargeScoreExcellent != rhs_storage._chargeScoreExcellent {return false} - if _storage._swapAnimationDurationTurns != rhs_storage._swapAnimationDurationTurns {return false} - if _storage._superEffectiveFlyoutDurationTurns != rhs_storage._superEffectiveFlyoutDurationTurns {return false} - if _storage._notVeryEffectiveFlyoutDurationTurns != rhs_storage._notVeryEffectiveFlyoutDurationTurns {return false} - if _storage._blockedEffectiveFlyoutDurationTurns != rhs_storage._blockedEffectiveFlyoutDurationTurns {return false} - if _storage._normalEffectiveFlyoutDurationTurns != rhs_storage._normalEffectiveFlyoutDurationTurns {return false} - if _storage._faintAnimationDurationTurns != rhs_storage._faintAnimationDurationTurns {return false} - if _storage._npcSwapDelayTurns != rhs_storage._npcSwapDelayTurns {return false} - if _storage._npcChargedAttackDelayTurns != rhs_storage._npcChargedAttackDelayTurns {return false} - if _storage._shadowPokemonAttackBonusMultiplier != rhs_storage._shadowPokemonAttackBonusMultiplier {return false} - if _storage._shadowPokemonDefenseBonusMultiplier != rhs_storage._shadowPokemonDefenseBonusMultiplier {return false} - if _storage._purifiedPokemonAttackMultiplierVsShadow != rhs_storage._purifiedPokemonAttackMultiplierVsShadow {return false} - if _storage._combatRefactorToggle != rhs_storage._combatRefactorToggle {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obCombatSettings != rhs_storage._obCombatSettings {return false} - if _storage._obCombatSettings1 != rhs_storage._obCombatSettings1 {return false} - if _storage._obInt322 != rhs_storage._obInt322 {return false} + if _storage._creationTimeMs != rhs_storage._creationTimeMs {return false} + if _storage._name != rhs_storage._name {return false} + if _storage._team != rhs_storage._team {return false} + if _storage._tutorialComplete != rhs_storage._tutorialComplete {return false} + if _storage._playerAvatarProto != rhs_storage._playerAvatarProto {return false} + if _storage._maxPokemonStorage != rhs_storage._maxPokemonStorage {return false} + if _storage._maxItemStorage != rhs_storage._maxItemStorage {return false} + if _storage._dailyBonusProto != rhs_storage._dailyBonusProto {return false} + if _storage._contactSettingsProto != rhs_storage._contactSettingsProto {return false} + if _storage._currencyBalance != rhs_storage._currencyBalance {return false} + if _storage._remainingCodenameClaims != rhs_storage._remainingCodenameClaims {return false} + if _storage._buddyPokemonProto != rhs_storage._buddyPokemonProto {return false} + if _storage._battleLockoutEndMs != rhs_storage._battleLockoutEndMs {return false} + if _storage._secondaryPlayerAvatarProto != rhs_storage._secondaryPlayerAvatarProto {return false} + if _storage._nameIsBlacklisted != rhs_storage._nameIsBlacklisted {return false} + if _storage._socialPlayerSettings != rhs_storage._socialPlayerSettings {return false} + if _storage._combatPlayerPreferences != rhs_storage._combatPlayerPreferences {return false} + if _storage._playerSupportID != rhs_storage._playerSupportID {return false} + if _storage._teamChangeInfo != rhs_storage._teamChangeInfo {return false} + if _storage._consumedEeveeEasterEggs != rhs_storage._consumedEeveeEasterEggs {return false} + if _storage._combatLog != rhs_storage._combatLog {return false} + if _storage._timeZoneOffsetMs != rhs_storage._timeZoneOffsetMs {return false} + if _storage._buddyObservedData != rhs_storage._buddyObservedData {return false} + if _storage._helpshiftUserID != rhs_storage._helpshiftUserID {return false} + if _storage._playerPreferences != rhs_storage._playerPreferences {return false} + if _storage._eventTicketActiveTime != rhs_storage._eventTicketActiveTime {return false} + if _storage._lapsedPlayerReturnedTimeMs != rhs_storage._lapsedPlayerReturnedTimeMs {return false} + if _storage._maxPostcardStorage != rhs_storage._maxPostcardStorage {return false} + if _storage._pokecoinCaps != rhs_storage._pokecoinCaps {return false} + if _storage._obfuscatedPlayerID != rhs_storage._obfuscatedPlayerID {return false} + if _storage._ptcOauthLinkedBefore != rhs_storage._ptcOauthLinkedBefore {return false} return true } if !storagesAreEqual {return false} @@ -184591,12 +187711,12 @@ extension CombatSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } -extension CombatSpecialMovePlayerDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatSpecialMovePlayerDataProto" +extension ClientPoiDecorationGroupProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientPoiDecorationGroupProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "player"), - 2: .standard(proto: "ob_data"), - 3: .standard(proto: "ob_string"), + 1: .standard(proto: "decoration_id"), + 2: .standard(proto: "addressable_id"), + 3: .standard(proto: "decorated_pois"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184605,9 +187725,134 @@ extension CombatSpecialMovePlayerDataProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._player) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._obData) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.decorationID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.addressableID) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.decoratedPois) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.decorationID.isEmpty { + try visitor.visitSingularStringField(value: self.decorationID, fieldNumber: 1) + } + if !self.addressableID.isEmpty { + try visitor.visitSingularStringField(value: self.addressableID, fieldNumber: 2) + } + if !self.decoratedPois.isEmpty { + try visitor.visitRepeatedStringField(value: self.decoratedPois, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ClientPoiDecorationGroupProto, rhs: ClientPoiDecorationGroupProto) -> Bool { + if lhs.decorationID != rhs.decorationID {return false} + if lhs.addressableID != rhs.addressableID {return false} + if lhs.decoratedPois != rhs.decoratedPois {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ClientPokestopNpcDialogueStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientPokestopNpcDialogueStepProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "dialogue_line"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.dialogueLine) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.dialogueLine.isEmpty { + try visitor.visitRepeatedMessageField(value: self.dialogueLine, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ClientPokestopNpcDialogueStepProto, rhs: ClientPokestopNpcDialogueStepProto) -> Bool { + if lhs.dialogueLine != rhs.dialogueLine {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ClientPokestopSpinStepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientPokestopSpinStepProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ClientPokestopSpinStepProto, rhs: ClientPokestopSpinStepProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ClientPredictionInconsistencyData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientPredictionInconsistencyData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "hp_change"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularUInt32Field(value: &self.hpChange) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.hpChange != 0 { + try visitor.visitSingularUInt32Field(value: self.hpChange, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ClientPredictionInconsistencyData, rhs: ClientPredictionInconsistencyData) -> Bool { + if lhs.hpChange != rhs.hpChange {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ClientQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientQuestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "quest"), + 2: .standard(proto: "quest_display"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._quest) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._questDisplay) }() default: break } } @@ -184618,34 +187863,29 @@ extension CombatSpecialMovePlayerDataProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._player { + try { if let v = self._quest { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - try { if let v = self._obData { + try { if let v = self._questDisplay { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 3) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatSpecialMovePlayerDataProto, rhs: CombatSpecialMovePlayerDataProto) -> Bool { - if lhs._player != rhs._player {return false} - if lhs._obData != rhs._obData {return false} - if lhs.obString != rhs.obString {return false} + public static func ==(lhs: ClientQuestProto, rhs: ClientQuestProto) -> Bool { + if lhs._quest != rhs._quest {return false} + if lhs._questDisplay != rhs._questDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatStatStageSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatStatStageSettingsProto" +extension ClientRouteMapCellProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientRouteMapCellProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "minimum_stat_stage"), - 2: .standard(proto: "maximum_stat_stage"), - 3: .standard(proto: "attack_buff_multiplier"), - 4: .standard(proto: "defense_buff_multiplier"), + 1: .standard(proto: "s2_cell_id"), + 2: .standard(proto: "route_list_hash"), + 3: .same(proto: "route"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184654,45 +187894,41 @@ extension CombatStatStageSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minimumStatStage) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maximumStatStage) }() - case 3: try { try decoder.decodeRepeatedFloatField(value: &self.attackBuffMultiplier) }() - case 4: try { try decoder.decodeRepeatedFloatField(value: &self.defenseBuffMultiplier) }() + case 1: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.routeListHash) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.route) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minimumStatStage != 0 { - try visitor.visitSingularInt32Field(value: self.minimumStatStage, fieldNumber: 1) - } - if self.maximumStatStage != 0 { - try visitor.visitSingularInt32Field(value: self.maximumStatStage, fieldNumber: 2) + if self.s2CellID != 0 { + try visitor.visitSingularUInt64Field(value: self.s2CellID, fieldNumber: 1) } - if !self.attackBuffMultiplier.isEmpty { - try visitor.visitPackedFloatField(value: self.attackBuffMultiplier, fieldNumber: 3) + if !self.routeListHash.isEmpty { + try visitor.visitSingularStringField(value: self.routeListHash, fieldNumber: 2) } - if !self.defenseBuffMultiplier.isEmpty { - try visitor.visitPackedFloatField(value: self.defenseBuffMultiplier, fieldNumber: 4) + if !self.route.isEmpty { + try visitor.visitRepeatedMessageField(value: self.route, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatStatStageSettingsProto, rhs: CombatStatStageSettingsProto) -> Bool { - if lhs.minimumStatStage != rhs.minimumStatStage {return false} - if lhs.maximumStatStage != rhs.maximumStatStage {return false} - if lhs.attackBuffMultiplier != rhs.attackBuffMultiplier {return false} - if lhs.defenseBuffMultiplier != rhs.defenseBuffMultiplier {return false} + public static func ==(lhs: ClientRouteMapCellProto, rhs: ClientRouteMapCellProto) -> Bool { + if lhs.s2CellID != rhs.s2CellID {return false} + if lhs.routeListHash != rhs.routeListHash {return false} + if lhs.route != rhs.route {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatSyncServerDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatSyncServerDataProto" +extension ClientSettingsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientSettingsTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .standard(proto: "music_volume"), + 2: .standard(proto: "sound_volume"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184701,32 +187937,36 @@ extension CombatSyncServerDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.musicVolume) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.soundVolume) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.musicVolume != 0 { + try visitor.visitSingularFloatField(value: self.musicVolume, fieldNumber: 1) + } + if self.soundVolume != 0 { + try visitor.visitSingularFloatField(value: self.soundVolume, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatSyncServerDataProto, rhs: CombatSyncServerDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: ClientSettingsTelemetry, rhs: ClientSettingsTelemetry) -> Bool { + if lhs.musicVolume != rhs.musicVolume {return false} + if lhs.soundVolume != rhs.soundVolume {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatSyncServerResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatSyncServerResponseDataProto" +extension ClientSleepRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientSleepRecord" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .same(proto: "result"), - 3: .standard(proto: "ob_uint32"), + 1: .standard(proto: "start_time_sec"), + 2: .standard(proto: "duration_sec"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184735,41 +187975,76 @@ extension CombatSyncServerResponseDataProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() + case 1: try { try decoder.decodeSingularUInt32Field(value: &self.startTimeSec) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.durationSec) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.startTimeSec != 0 { + try visitor.visitSingularUInt32Field(value: self.startTimeSec, fieldNumber: 1) } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) + if self.durationSec != 0 { + try visitor.visitSingularUInt32Field(value: self.durationSec, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ClientSleepRecord, rhs: ClientSleepRecord) -> Bool { + if lhs.startTimeSec != rhs.startTimeSec {return false} + if lhs.durationSec != rhs.durationSec {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ClientSpawnPointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientSpawnPointProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 2: .same(proto: "latitude"), + 3: .same(proto: "longitude"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 2) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 3) + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatSyncServerResponseDataProto, rhs: CombatSyncServerResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.result != rhs.result {return false} - if lhs.obUint32 != rhs.obUint32 {return false} + public static func ==(lhs: ClientSpawnPointProto, rhs: ClientSpawnPointProto) -> Bool { + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatSyncServerResponseStateDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatSyncServerResponseStateDataProto" +extension ClientTelemetryBatchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryBatchProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int64"), - 2: .same(proto: "result"), + 1: .standard(proto: "telemetry_scope_id"), + 2: .same(proto: "events"), + 3: .standard(proto: "api_version"), + 4: .standard(proto: "message_version"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184778,46 +188053,73 @@ extension CombatSyncServerResponseStateDataProto: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.telemetryScopeID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.events) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.apiVersion) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.messageVersion) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 1) + if self.telemetryScopeID != .unset { + try visitor.visitSingularEnumField(value: self.telemetryScopeID, fieldNumber: 1) } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) + if !self.events.isEmpty { + try visitor.visitRepeatedMessageField(value: self.events, fieldNumber: 2) + } + if !self.apiVersion.isEmpty { + try visitor.visitSingularStringField(value: self.apiVersion, fieldNumber: 3) + } + if !self.messageVersion.isEmpty { + try visitor.visitSingularStringField(value: self.messageVersion, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatSyncServerResponseStateDataProto, rhs: CombatSyncServerResponseStateDataProto) -> Bool { - if lhs.obInt64 != rhs.obInt64 {return false} - if lhs.result != rhs.result {return false} + public static func ==(lhs: ClientTelemetryBatchProto, rhs: ClientTelemetryBatchProto) -> Bool { + if lhs.telemetryScopeID != rhs.telemetryScopeID {return false} + if lhs.events != rhs.events {return false} + if lhs.apiVersion != rhs.apiVersion {return false} + if lhs.messageVersion != rhs.messageVersion {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CombatSyncServerResponseStateDataProto.Result: SwiftProtobuf._ProtoNameProviding { +extension ClientTelemetryBatchProto.TelemetryScopeId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), + 1: .same(proto: "CORE"), + 2: .same(proto: "GAME"), + 3: .same(proto: "TITAN"), + 4: .same(proto: "COMMON"), + 5: .same(proto: "PRE_AGE_GATE"), + 6: .same(proto: "PRE_LOGIN"), + 7: .same(proto: "ARDK"), + 8: .same(proto: "MARKETING"), ] } -extension CombatTypeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CombatTypeProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "nice_level_threshold"), - 3: .standard(proto: "great_level_threshold"), - 4: .standard(proto: "excellent_level_threshold"), +extension ClientTelemetryClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryClientSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "is_upload_enabled"), + 2: .standard(proto: "max_upload_size_in_bytes"), + 3: .standard(proto: "update_interval_in_sec"), + 4: .standard(proto: "settings_update_interval_in_sec"), + 5: .standard(proto: "max_envelope_queue_size"), + 6: .standard(proto: "sampling_probability"), + 7: .standard(proto: "use_player_based_sampling"), + 8: .standard(proto: "player_hash"), + 9: .standard(proto: "player_external_omni_id"), + 10: .standard(proto: "disable_omni_sending"), + 11: .standard(proto: "special_sampling_probability_map"), + 12: .standard(proto: "player_external_ua_id"), + 13: .standard(proto: "player_external_in_app_survey_id"), + 14: .standard(proto: "player_external_ardk_id"), + 15: .standard(proto: "enable_experimental_features"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184826,43 +188128,98 @@ extension CombatTypeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.niceLevelThreshold) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.greatLevelThreshold) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.excellentLevelThreshold) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isUploadEnabled) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.maxUploadSizeInBytes) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.updateIntervalInSec) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.settingsUpdateIntervalInSec) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.maxEnvelopeQueueSize) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.samplingProbability) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.usePlayerBasedSampling) }() + case 8: try { try decoder.decodeSingularDoubleField(value: &self.playerHash) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.playerExternalOmniID) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.disableOmniSending) }() + case 11: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.specialSamplingProbabilityMap) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.playerExternalUaID) }() + case 13: try { try decoder.decodeSingularStringField(value: &self.playerExternalInAppSurveyID) }() + case 14: try { try decoder.decodeSingularStringField(value: &self.playerExternalArdkID) }() + case 15: try { try decoder.decodeSingularBoolField(value: &self.enableExperimentalFeatures) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + if self.isUploadEnabled != false { + try visitor.visitSingularBoolField(value: self.isUploadEnabled, fieldNumber: 1) } - if self.niceLevelThreshold != 0 { - try visitor.visitSingularFloatField(value: self.niceLevelThreshold, fieldNumber: 2) + if self.maxUploadSizeInBytes != 0 { + try visitor.visitSingularInt64Field(value: self.maxUploadSizeInBytes, fieldNumber: 2) } - if self.greatLevelThreshold != 0 { - try visitor.visitSingularFloatField(value: self.greatLevelThreshold, fieldNumber: 3) + if self.updateIntervalInSec != 0 { + try visitor.visitSingularInt64Field(value: self.updateIntervalInSec, fieldNumber: 3) } - if self.excellentLevelThreshold != 0 { - try visitor.visitSingularFloatField(value: self.excellentLevelThreshold, fieldNumber: 4) + if self.settingsUpdateIntervalInSec != 0 { + try visitor.visitSingularInt64Field(value: self.settingsUpdateIntervalInSec, fieldNumber: 4) + } + if self.maxEnvelopeQueueSize != 0 { + try visitor.visitSingularInt64Field(value: self.maxEnvelopeQueueSize, fieldNumber: 5) + } + if self.samplingProbability != 0 { + try visitor.visitSingularDoubleField(value: self.samplingProbability, fieldNumber: 6) + } + if self.usePlayerBasedSampling != false { + try visitor.visitSingularBoolField(value: self.usePlayerBasedSampling, fieldNumber: 7) + } + if self.playerHash != 0 { + try visitor.visitSingularDoubleField(value: self.playerHash, fieldNumber: 8) + } + if !self.playerExternalOmniID.isEmpty { + try visitor.visitSingularStringField(value: self.playerExternalOmniID, fieldNumber: 9) + } + if self.disableOmniSending != false { + try visitor.visitSingularBoolField(value: self.disableOmniSending, fieldNumber: 10) + } + if !self.specialSamplingProbabilityMap.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.specialSamplingProbabilityMap, fieldNumber: 11) + } + if !self.playerExternalUaID.isEmpty { + try visitor.visitSingularStringField(value: self.playerExternalUaID, fieldNumber: 12) + } + if !self.playerExternalInAppSurveyID.isEmpty { + try visitor.visitSingularStringField(value: self.playerExternalInAppSurveyID, fieldNumber: 13) + } + if !self.playerExternalArdkID.isEmpty { + try visitor.visitSingularStringField(value: self.playerExternalArdkID, fieldNumber: 14) + } + if self.enableExperimentalFeatures != false { + try visitor.visitSingularBoolField(value: self.enableExperimentalFeatures, fieldNumber: 15) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CombatTypeProto, rhs: CombatTypeProto) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.niceLevelThreshold != rhs.niceLevelThreshold {return false} - if lhs.greatLevelThreshold != rhs.greatLevelThreshold {return false} - if lhs.excellentLevelThreshold != rhs.excellentLevelThreshold {return false} + public static func ==(lhs: ClientTelemetryClientSettingsProto, rhs: ClientTelemetryClientSettingsProto) -> Bool { + if lhs.isUploadEnabled != rhs.isUploadEnabled {return false} + if lhs.maxUploadSizeInBytes != rhs.maxUploadSizeInBytes {return false} + if lhs.updateIntervalInSec != rhs.updateIntervalInSec {return false} + if lhs.settingsUpdateIntervalInSec != rhs.settingsUpdateIntervalInSec {return false} + if lhs.maxEnvelopeQueueSize != rhs.maxEnvelopeQueueSize {return false} + if lhs.samplingProbability != rhs.samplingProbability {return false} + if lhs.usePlayerBasedSampling != rhs.usePlayerBasedSampling {return false} + if lhs.playerHash != rhs.playerHash {return false} + if lhs.playerExternalOmniID != rhs.playerExternalOmniID {return false} + if lhs.disableOmniSending != rhs.disableOmniSending {return false} + if lhs.specialSamplingProbabilityMap != rhs.specialSamplingProbabilityMap {return false} + if lhs.playerExternalUaID != rhs.playerExternalUaID {return false} + if lhs.playerExternalInAppSurveyID != rhs.playerExternalInAppSurveyID {return false} + if lhs.playerExternalArdkID != rhs.playerExternalArdkID {return false} + if lhs.enableExperimentalFeatures != rhs.enableExperimentalFeatures {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CommonFilterProto" +extension ClientTelemetryCommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryCommonFilterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "application_identifier"), 2: .standard(proto: "operating_system_name"), @@ -184876,10 +188233,10 @@ extension CommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem 10: .standard(proto: "language_code"), 11: .same(proto: "timezone"), 12: .standard(proto: "ip_country_code"), - 13: .standard(proto: "graphics_device_vendor"), - 14: .standard(proto: "graphics_device_name"), - 15: .standard(proto: "graphics_device_type"), - 16: .standard(proto: "graphics_shader_level"), + 17: .standard(proto: "graphics_device_vendor"), + 18: .standard(proto: "graphics_device_name"), + 19: .standard(proto: "graphics_device_type"), + 20: .standard(proto: "graphics_shader_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -184900,10 +188257,10 @@ extension CommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem case 10: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() case 11: try { try decoder.decodeSingularStringField(value: &self.timezone) }() case 12: try { try decoder.decodeSingularStringField(value: &self.ipCountryCode) }() - case 13: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceVendor) }() - case 14: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceName) }() - case 15: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceType) }() - case 16: try { try decoder.decodeSingularStringField(value: &self.graphicsShaderLevel) }() + case 17: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceVendor) }() + case 18: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceName) }() + case 19: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceType) }() + case 20: try { try decoder.decodeSingularStringField(value: &self.graphicsShaderLevel) }() default: break } } @@ -184947,21 +188304,21 @@ extension CommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem try visitor.visitSingularStringField(value: self.ipCountryCode, fieldNumber: 12) } if !self.graphicsDeviceVendor.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceVendor, fieldNumber: 13) + try visitor.visitSingularStringField(value: self.graphicsDeviceVendor, fieldNumber: 17) } if !self.graphicsDeviceName.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceName, fieldNumber: 14) + try visitor.visitSingularStringField(value: self.graphicsDeviceName, fieldNumber: 18) } if !self.graphicsDeviceType.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceType, fieldNumber: 15) + try visitor.visitSingularStringField(value: self.graphicsDeviceType, fieldNumber: 19) } if !self.graphicsShaderLevel.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsShaderLevel, fieldNumber: 16) + try visitor.visitSingularStringField(value: self.graphicsShaderLevel, fieldNumber: 20) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CommonFilterProto, rhs: CommonFilterProto) -> Bool { + public static func ==(lhs: ClientTelemetryCommonFilterProto, rhs: ClientTelemetryCommonFilterProto) -> Bool { if lhs.applicationIdentifier != rhs.applicationIdentifier {return false} if lhs.operatingSystemName != rhs.operatingSystemName {return false} if lhs.deviceModel != rhs.deviceModel {return false} @@ -184983,49 +188340,120 @@ extension CommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem } } -extension CommonTelemetryBootTime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryBootTime" +extension ClientTelemetryRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryRecordProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "boot_phase"), - 2: .standard(proto: "duration_ms"), + 1: .standard(proto: "record_id"), + 2: .standard(proto: "encoded_message"), + 3: .standard(proto: "client_timestamp_ms"), + 4: .standard(proto: "metric_id"), + 5: .standard(proto: "event_name"), + 6: .standard(proto: "common_filters"), ] + fileprivate class _StorageClass { + var _recordID: String = String() + var _encodedMessage: HoloholoClientTelemetryOmniProto? = nil + var _clientTimestampMs: Int64 = 0 + var _metricID: Int64 = 0 + var _eventName: String = String() + var _commonFilters: ClientTelemetryCommonFilterProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _recordID = source._recordID + _encodedMessage = source._encodedMessage + _clientTimestampMs = source._clientTimestampMs + _metricID = source._metricID + _eventName = source._eventName + _commonFilters = source._commonFilters + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.bootPhase) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.durationMs) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._recordID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._encodedMessage) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &_storage._clientTimestampMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._metricID) }() + case 5: try { try decoder.decodeSingularStringField(value: &_storage._eventName) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.bootPhase.isEmpty { - try visitor.visitSingularStringField(value: self.bootPhase, fieldNumber: 1) - } - if self.durationMs != 0 { - try visitor.visitSingularInt64Field(value: self.durationMs, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._recordID.isEmpty { + try visitor.visitSingularStringField(value: _storage._recordID, fieldNumber: 1) + } + try { if let v = _storage._encodedMessage { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if _storage._clientTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._clientTimestampMs, fieldNumber: 3) + } + if _storage._metricID != 0 { + try visitor.visitSingularInt64Field(value: _storage._metricID, fieldNumber: 4) + } + if !_storage._eventName.isEmpty { + try visitor.visitSingularStringField(value: _storage._eventName, fieldNumber: 5) + } + try { if let v = _storage._commonFilters { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CommonTelemetryBootTime, rhs: CommonTelemetryBootTime) -> Bool { - if lhs.bootPhase != rhs.bootPhase {return false} - if lhs.durationMs != rhs.durationMs {return false} + public static func ==(lhs: ClientTelemetryRecordProto, rhs: ClientTelemetryRecordProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._recordID != rhs_storage._recordID {return false} + if _storage._encodedMessage != rhs_storage._encodedMessage {return false} + if _storage._clientTimestampMs != rhs_storage._clientTimestampMs {return false} + if _storage._metricID != rhs_storage._metricID {return false} + if _storage._eventName != rhs_storage._eventName {return false} + if _storage._commonFilters != rhs_storage._commonFilters {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CommonTelemetryLogIn: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryLogIn" +extension ClientTelemetryRecordResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryRecordResult" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "timestamp_ms"), - 2: .standard(proto: "pre_login_user_id"), + 1: .standard(proto: "record_id"), + 2: .same(proto: "status"), + 3: .standard(proto: "telemetry_type_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185034,35 +188462,54 @@ extension CommonTelemetryLogIn: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.preLoginUserID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.recordID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.telemetryTypeName) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) + if !self.recordID.isEmpty { + try visitor.visitSingularStringField(value: self.recordID, fieldNumber: 1) } - if !self.preLoginUserID.isEmpty { - try visitor.visitSingularStringField(value: self.preLoginUserID, fieldNumber: 2) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) + } + if !self.telemetryTypeName.isEmpty { + try visitor.visitSingularStringField(value: self.telemetryTypeName, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CommonTelemetryLogIn, rhs: CommonTelemetryLogIn) -> Bool { - if lhs.timestampMs != rhs.timestampMs {return false} - if lhs.preLoginUserID != rhs.preLoginUserID {return false} + public static func ==(lhs: ClientTelemetryRecordResult, rhs: ClientTelemetryRecordResult) -> Bool { + if lhs.recordID != rhs.recordID {return false} + if lhs.status != rhs.status {return false} + if lhs.telemetryTypeName != rhs.telemetryTypeName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CommonTelemetryLogOut: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryLogOut" +extension ClientTelemetryRecordResult.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "timestamp_ms"), + 0: .same(proto: "unset"), + 20: .same(proto: "success"), + 21: .same(proto: "error_family_unset"), + 22: .same(proto: "error_family_invalid"), + 23: .same(proto: "error_encoding_invalid"), + 24: .same(proto: "error_unset_metric_id"), + 25: .same(proto: "error_event_telemetry_undefined"), + ] +} + +extension ClientTelemetryResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientTelemetryResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "rows_written"), + 3: .standard(proto: "nonretryable_failures"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185071,33 +188518,70 @@ extension CommonTelemetryLogOut: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rowsWritten) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.nonretryableFailures) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if self.rowsWritten != 0 { + try visitor.visitSingularInt32Field(value: self.rowsWritten, fieldNumber: 2) + } + if self.nonretryableFailures != 0 { + try visitor.visitSingularInt32Field(value: self.nonretryableFailures, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CommonTelemetryLogOut, rhs: CommonTelemetryLogOut) -> Bool { - if lhs.timestampMs != rhs.timestampMs {return false} + public static func ==(lhs: ClientTelemetryResponseProto, rhs: ClientTelemetryResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.rowsWritten != rhs.rowsWritten {return false} + if lhs.nonretryableFailures != rhs.nonretryableFailures {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ClientTelemetryResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unset"), + 1: .same(proto: "success"), + 2: .same(proto: "failure"), + 3: .same(proto: "partial_failure"), + 4: .same(proto: "invalid_request"), + ] +} + +extension ClientTelemetrySettingsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientTelemetrySettingsRequestProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ClientTelemetrySettingsRequestProto, rhs: ClientTelemetrySettingsRequestProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CommonTelemetryOmniPushEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryOmniPushEvent" +extension ClientToggleSettingsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientToggleSettingsTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "campaign_id"), - 2: .standard(proto: "treatment_group"), - 3: .standard(proto: "push_event"), - 4: .standard(proto: "event_timestamp_ms"), + 1: .standard(proto: "toggle_id"), + 2: .standard(proto: "toggle_event"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185106,56 +188590,52 @@ extension CommonTelemetryOmniPushEvent: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.campaignID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.treatmentGroup) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.pushEvent) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.eventTimestampMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.toggleID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.toggleEvent) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.campaignID.isEmpty { - try visitor.visitSingularStringField(value: self.campaignID, fieldNumber: 1) - } - if !self.treatmentGroup.isEmpty { - try visitor.visitSingularStringField(value: self.treatmentGroup, fieldNumber: 2) - } - if self.pushEvent != .unset { - try visitor.visitSingularEnumField(value: self.pushEvent, fieldNumber: 3) + if self.toggleID != .unset { + try visitor.visitSingularEnumField(value: self.toggleID, fieldNumber: 1) } - if self.eventTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.eventTimestampMs, fieldNumber: 4) + if self.toggleEvent != .undefined { + try visitor.visitSingularEnumField(value: self.toggleEvent, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CommonTelemetryOmniPushEvent, rhs: CommonTelemetryOmniPushEvent) -> Bool { - if lhs.campaignID != rhs.campaignID {return false} - if lhs.treatmentGroup != rhs.treatmentGroup {return false} - if lhs.pushEvent != rhs.pushEvent {return false} - if lhs.eventTimestampMs != rhs.eventTimestampMs {return false} + public static func ==(lhs: ClientToggleSettingsTelemetry, rhs: ClientToggleSettingsTelemetry) -> Bool { + if lhs.toggleID != rhs.toggleID {return false} + if lhs.toggleEvent != rhs.toggleEvent {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CommonTelemetryOmniPushEvent.PushEventType: SwiftProtobuf._ProtoNameProviding { +extension ClientToggleSettingsTelemetry.ToggleEvent: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNDEFINED"), + 1: .same(proto: "OFF"), + 2: .same(proto: "ON"), + ] +} + +extension ClientToggleSettingsTelemetry.ToggleSettingId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "RECEIVED"), - 2: .same(proto: "OPENED"), - 3: .same(proto: "DISMISSED"), - 4: .same(proto: "BOUNCED"), + 1: .same(proto: "REMEMBER_LAST_POKEBALL"), + 2: .same(proto: "ADVANCED_HAPTICS"), ] } -extension CommonTelemetryOmniPushOpened: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryOmniPushOpened" +extension ClientUpgradeRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientUpgradeRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "push_id"), - 2: .standard(proto: "opened_timestamp_ms"), + 1: .same(proto: "version"), + 2: .standard(proto: "operating_system"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185164,36 +188644,35 @@ extension CommonTelemetryOmniPushOpened: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.pushID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.openedTimestampMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.version) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.operatingSystem) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.pushID.isEmpty { - try visitor.visitSingularStringField(value: self.pushID, fieldNumber: 1) + if !self.version.isEmpty { + try visitor.visitSingularStringField(value: self.version, fieldNumber: 1) } - if self.openedTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.openedTimestampMs, fieldNumber: 2) + if self.operatingSystem != .osUnknown { + try visitor.visitSingularEnumField(value: self.operatingSystem, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CommonTelemetryOmniPushOpened, rhs: CommonTelemetryOmniPushOpened) -> Bool { - if lhs.pushID != rhs.pushID {return false} - if lhs.openedTimestampMs != rhs.openedTimestampMs {return false} + public static func ==(lhs: ClientUpgradeRequestProto, rhs: ClientUpgradeRequestProto) -> Bool { + if lhs.version != rhs.version {return false} + if lhs.operatingSystem != rhs.operatingSystem {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CommonTelemetryOmniPushReceived: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryOmniPushReceived" +extension ClientUpgradeResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientUpgradeResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "push_id"), - 2: .standard(proto: "received_timestamp_ms"), + 1: .standard(proto: "needs_upgrade"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185202,50 +188681,30 @@ extension CommonTelemetryOmniPushReceived: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.pushID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.receivedTimestampMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.needsUpgrade) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.pushID.isEmpty { - try visitor.visitSingularStringField(value: self.pushID, fieldNumber: 1) - } - if self.receivedTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.receivedTimestampMs, fieldNumber: 2) + if self.needsUpgrade != false { + try visitor.visitSingularBoolField(value: self.needsUpgrade, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CommonTelemetryOmniPushReceived, rhs: CommonTelemetryOmniPushReceived) -> Bool { - if lhs.pushID != rhs.pushID {return false} - if lhs.receivedTimestampMs != rhs.receivedTimestampMs {return false} + public static func ==(lhs: ClientUpgradeResponseProto, rhs: ClientUpgradeResponseProto) -> Bool { + if lhs.needsUpgrade != rhs.needsUpgrade {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CommonTelemetryShopClick: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryShopClick" +extension ClientVersionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientVersionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "shopping_page_click_id"), - 2: .standard(proto: "sku_id"), - 3: .standard(proto: "item_id"), - 4: .standard(proto: "consolidated_item_id"), - 5: .same(proto: "currency"), - 6: .standard(proto: "fiat_price"), - 7: .standard(proto: "in_game_purchase_details"), - 8: .standard(proto: "is_item_free_fiat"), - 9: .standard(proto: "is_item_free_ingame"), - 10: .standard(proto: "time_elapsed_since_enter_page"), - 11: .standard(proto: "root_store_page_session_id"), - 12: .standard(proto: "pair_id"), - 13: .standard(proto: "store_page_name"), - 14: .standard(proto: "root_store_page_name"), - 15: .standard(proto: "access_type"), - 16: .standard(proto: "fiat_formatted_price"), + 1: .standard(proto: "min_version"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185254,117 +188713,33 @@ extension CommonTelemetryShopClick: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.shoppingPageClickID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.skuID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.itemID) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.consolidatedItemID) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.currency) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.fiatPrice) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &self.inGamePurchaseDetails) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.isItemFreeFiat) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.isItemFreeIngame) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &self.timeElapsedSinceEnterPage) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.rootStorePageSessionID) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &self.pairID) }() - case 13: try { try decoder.decodeSingularStringField(value: &self.storePageName) }() - case 14: try { try decoder.decodeSingularStringField(value: &self.rootStorePageName) }() - case 15: try { try decoder.decodeSingularEnumField(value: &self.accessType) }() - case 16: try { try decoder.decodeSingularStringField(value: &self.fiatFormattedPrice) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.minVersion) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.shoppingPageClickID.isEmpty { - try visitor.visitSingularStringField(value: self.shoppingPageClickID, fieldNumber: 1) - } - if !self.skuID.isEmpty { - try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 2) - } - if !self.itemID.isEmpty { - try visitor.visitSingularStringField(value: self.itemID, fieldNumber: 3) - } - if !self.consolidatedItemID.isEmpty { - try visitor.visitSingularStringField(value: self.consolidatedItemID, fieldNumber: 4) - } - if !self.currency.isEmpty { - try visitor.visitSingularStringField(value: self.currency, fieldNumber: 5) - } - if self.fiatPrice != 0 { - try visitor.visitSingularInt64Field(value: self.fiatPrice, fieldNumber: 6) - } - if !self.inGamePurchaseDetails.isEmpty { - try visitor.visitRepeatedMessageField(value: self.inGamePurchaseDetails, fieldNumber: 7) - } - if self.isItemFreeFiat != false { - try visitor.visitSingularBoolField(value: self.isItemFreeFiat, fieldNumber: 8) - } - if self.isItemFreeIngame != false { - try visitor.visitSingularBoolField(value: self.isItemFreeIngame, fieldNumber: 9) - } - if self.timeElapsedSinceEnterPage != 0 { - try visitor.visitSingularInt64Field(value: self.timeElapsedSinceEnterPage, fieldNumber: 10) - } - if !self.rootStorePageSessionID.isEmpty { - try visitor.visitSingularStringField(value: self.rootStorePageSessionID, fieldNumber: 11) - } - if self.pairID != 0 { - try visitor.visitSingularInt64Field(value: self.pairID, fieldNumber: 12) - } - if !self.storePageName.isEmpty { - try visitor.visitSingularStringField(value: self.storePageName, fieldNumber: 13) - } - if !self.rootStorePageName.isEmpty { - try visitor.visitSingularStringField(value: self.rootStorePageName, fieldNumber: 14) - } - if self.accessType != .unspecified { - try visitor.visitSingularEnumField(value: self.accessType, fieldNumber: 15) - } - if !self.fiatFormattedPrice.isEmpty { - try visitor.visitSingularStringField(value: self.fiatFormattedPrice, fieldNumber: 16) + if !self.minVersion.isEmpty { + try visitor.visitSingularStringField(value: self.minVersion, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CommonTelemetryShopClick, rhs: CommonTelemetryShopClick) -> Bool { - if lhs.shoppingPageClickID != rhs.shoppingPageClickID {return false} - if lhs.skuID != rhs.skuID {return false} - if lhs.itemID != rhs.itemID {return false} - if lhs.consolidatedItemID != rhs.consolidatedItemID {return false} - if lhs.currency != rhs.currency {return false} - if lhs.fiatPrice != rhs.fiatPrice {return false} - if lhs.inGamePurchaseDetails != rhs.inGamePurchaseDetails {return false} - if lhs.isItemFreeFiat != rhs.isItemFreeFiat {return false} - if lhs.isItemFreeIngame != rhs.isItemFreeIngame {return false} - if lhs.timeElapsedSinceEnterPage != rhs.timeElapsedSinceEnterPage {return false} - if lhs.rootStorePageSessionID != rhs.rootStorePageSessionID {return false} - if lhs.pairID != rhs.pairID {return false} - if lhs.storePageName != rhs.storePageName {return false} - if lhs.rootStorePageName != rhs.rootStorePageName {return false} - if lhs.accessType != rhs.accessType {return false} - if lhs.fiatFormattedPrice != rhs.fiatFormattedPrice {return false} + public static func ==(lhs: ClientVersionProto, rhs: ClientVersionProto) -> Bool { + if lhs.minVersion != rhs.minVersion {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CommonTelemetryShopClick.AccessType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSPECIFIED"), - 1: .same(proto: "PASSIVE"), - 2: .same(proto: "ACTIVE"), - ] -} - -extension CommonTelemetryShopView: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryShopView" +extension ClientWeatherProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ClientWeatherProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "shopping_page_view_type_id"), - 2: .standard(proto: "view_start_timestamp_ms"), - 3: .standard(proto: "view_end_timestamp_ms"), - 4: .standard(proto: "consolidated_item_id"), - 5: .standard(proto: "root_store_page_session_id"), + 1: .standard(proto: "s2_cell_id"), + 2: .standard(proto: "display_weather"), + 3: .standard(proto: "gameplay_weather"), + 4: .same(proto: "alerts"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185373,55 +188748,54 @@ extension CommonTelemetryShopView: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.shoppingPageViewTypeID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.viewStartTimestampMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.viewEndTimestampMs) }() - case 4: try { try decoder.decodeRepeatedStringField(value: &self.consolidatedItemID) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.rootStorePageSessionID) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.s2CellID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._displayWeather) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._gameplayWeather) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.alerts) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.shoppingPageViewTypeID.isEmpty { - try visitor.visitSingularStringField(value: self.shoppingPageViewTypeID, fieldNumber: 1) - } - if self.viewStartTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.viewStartTimestampMs, fieldNumber: 2) - } - if self.viewEndTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.viewEndTimestampMs, fieldNumber: 3) - } - if !self.consolidatedItemID.isEmpty { - try visitor.visitRepeatedStringField(value: self.consolidatedItemID, fieldNumber: 4) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.s2CellID != 0 { + try visitor.visitSingularInt64Field(value: self.s2CellID, fieldNumber: 1) } - if !self.rootStorePageSessionID.isEmpty { - try visitor.visitSingularStringField(value: self.rootStorePageSessionID, fieldNumber: 5) + try { if let v = self._displayWeather { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._gameplayWeather { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if !self.alerts.isEmpty { + try visitor.visitRepeatedMessageField(value: self.alerts, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CommonTelemetryShopView, rhs: CommonTelemetryShopView) -> Bool { - if lhs.shoppingPageViewTypeID != rhs.shoppingPageViewTypeID {return false} - if lhs.viewStartTimestampMs != rhs.viewStartTimestampMs {return false} - if lhs.viewEndTimestampMs != rhs.viewEndTimestampMs {return false} - if lhs.consolidatedItemID != rhs.consolidatedItemID {return false} - if lhs.rootStorePageSessionID != rhs.rootStorePageSessionID {return false} + public static func ==(lhs: ClientWeatherProto, rhs: ClientWeatherProto) -> Bool { + if lhs.s2CellID != rhs.s2CellID {return false} + if lhs._displayWeather != rhs._displayWeather {return false} + if lhs._gameplayWeather != rhs._gameplayWeather {return false} + if lhs.alerts != rhs.alerts {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteCompetitiveSeasonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteCompetitiveSeasonOutProto" +extension CodenameResultProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CodenameResultProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "loot_proto"), - 3: .standard(proto: "new_rank"), - 4: .standard(proto: "new_rating"), - 5: .standard(proto: "last_season_result"), - 6: .standard(proto: "was_player_active"), + 1: .same(proto: "codename"), + 2: .standard(proto: "user_message"), + 3: .standard(proto: "is_assignable"), + 4: .same(proto: "status"), + 5: .standard(proto: "updated_player"), + 6: .standard(proto: "suggested_codenames"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185430,12 +188804,12 @@ extension CompleteCompetitiveSeasonOutProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._lootProto) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.newRank) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.newRating) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._lastSeasonResult) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.wasPlayerActive) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.codename) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.userMessage) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isAssignable) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._updatedPlayer) }() + case 6: try { try decoder.decodeRepeatedStringField(value: &self.suggestedCodenames) }() default: break } } @@ -185446,71 +188820,54 @@ extension CompleteCompetitiveSeasonOutProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.codename.isEmpty { + try visitor.visitSingularStringField(value: self.codename, fieldNumber: 1) } - try { if let v = self._lootProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.newRank != 0 { - try visitor.visitSingularInt32Field(value: self.newRank, fieldNumber: 3) + if !self.userMessage.isEmpty { + try visitor.visitSingularStringField(value: self.userMessage, fieldNumber: 2) } - if self.newRating != 0 { - try visitor.visitSingularFloatField(value: self.newRating, fieldNumber: 4) + if self.isAssignable != false { + try visitor.visitSingularBoolField(value: self.isAssignable, fieldNumber: 3) } - try { if let v = self._lastSeasonResult { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 4) + } + try { if let v = self._updatedPlayer { try visitor.visitSingularMessageField(value: v, fieldNumber: 5) } }() - if self.wasPlayerActive != false { - try visitor.visitSingularBoolField(value: self.wasPlayerActive, fieldNumber: 6) + if !self.suggestedCodenames.isEmpty { + try visitor.visitRepeatedStringField(value: self.suggestedCodenames, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteCompetitiveSeasonOutProto, rhs: CompleteCompetitiveSeasonOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._lootProto != rhs._lootProto {return false} - if lhs.newRank != rhs.newRank {return false} - if lhs.newRating != rhs.newRating {return false} - if lhs._lastSeasonResult != rhs._lastSeasonResult {return false} - if lhs.wasPlayerActive != rhs.wasPlayerActive {return false} + public static func ==(lhs: CodenameResultProto, rhs: CodenameResultProto) -> Bool { + if lhs.codename != rhs.codename {return false} + if lhs.userMessage != rhs.userMessage {return false} + if lhs.isAssignable != rhs.isAssignable {return false} + if lhs.status != rhs.status {return false} + if lhs._updatedPlayer != rhs._updatedPlayer {return false} + if lhs.suggestedCodenames != rhs.suggestedCodenames {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteCompetitiveSeasonOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension CodenameResultProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_HAS_NO_VS_SEEKER"), - 3: .same(proto: "ERROR_REWARDS_ALREADY_COLLECTED"), + 2: .same(proto: "CODENAME_NOT_AVAILABLE"), + 3: .same(proto: "CODENAME_NOT_VALID"), + 4: .same(proto: "CURRENT_OWNER"), + 5: .same(proto: "CODENAME_CHANGE_NOT_ALLOWED"), ] } -extension CompleteCompetitiveSeasonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteCompetitiveSeasonProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: CompleteCompetitiveSeasonProto, rhs: CompleteCompetitiveSeasonProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension CompleteInvasionDialogueOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteInvasionDialogueOutProto" +extension CollectDailyBonusOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CollectDailyBonusOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185519,72 +188876,61 @@ extension CompleteInvasionDialogueOutProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteInvasionDialogueOutProto, rhs: CompleteInvasionDialogueOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: CollectDailyBonusOutProto, rhs: CollectDailyBonusOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteInvasionDialogueProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteInvasionDialogueProto" +extension CollectDailyBonusOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "incident_lookup"), - 2: .same(proto: "step"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + 3: .same(proto: "TOO_SOON"), ] +} + +extension CollectDailyBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CollectDailyBonusProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._incidentLookup) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.step) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._incidentLookup { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.step != 0 { - try visitor.visitSingularInt32Field(value: self.step, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteInvasionDialogueProto, rhs: CompleteInvasionDialogueProto) -> Bool { - if lhs._incidentLookup != rhs._incidentLookup {return false} - if lhs.step != rhs.step {return false} + public static func ==(lhs: CollectDailyBonusProto, rhs: CollectDailyBonusProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteMilestoneOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteMilestoneOutProto" +extension CollectDailyDefenderBonusOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CollectDailyDefenderBonusOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .same(proto: "result"), + 2: .standard(proto: "currency_type"), + 3: .standard(proto: "currency_awarded"), + 4: .standard(proto: "num_defenders"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185593,76 +188939,82 @@ extension CompleteMilestoneOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.currencyType) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.currencyAwarded) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.numDefenders) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.currencyType.isEmpty { + try visitor.visitRepeatedStringField(value: self.currencyType, fieldNumber: 2) + } + if !self.currencyAwarded.isEmpty { + try visitor.visitPackedInt32Field(value: self.currencyAwarded, fieldNumber: 3) + } + if self.numDefenders != 0 { + try visitor.visitSingularInt32Field(value: self.numDefenders, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteMilestoneOutProto, rhs: CompleteMilestoneOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: CollectDailyDefenderBonusOutProto, rhs: CollectDailyDefenderBonusOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.currencyType != rhs.currencyType {return false} + if lhs.currencyAwarded != rhs.currencyAwarded {return false} + if lhs.numDefenders != rhs.numDefenders {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteMilestoneOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension CollectDailyDefenderBonusOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_DISABLED"), - 3: .same(proto: "ERROR_MILESTONE_NOT_FOUND"), - 4: .same(proto: "ERROR_MILESTONE_COMPLETE"), - 5: .same(proto: "ERROR_MILESTONE_NOT_ACHIEVED"), - 6: .same(proto: "ERROR_POKEMON_INVENTORY_FULL"), + 2: .same(proto: "FAILURE"), + 3: .same(proto: "TOO_SOON"), + 4: .same(proto: "NO_DEFENDERS"), ] } -extension CompleteMilestoneProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteMilestoneProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "milestone_id"), - ] +extension CollectDailyDefenderBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CollectDailyDefenderBonusProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.milestoneID) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.milestoneID.isEmpty { - try visitor.visitSingularStringField(value: self.milestoneID, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteMilestoneProto, rhs: CompleteMilestoneProto) -> Bool { - if lhs.milestoneID != rhs.milestoneID {return false} + public static func ==(lhs: CollectDailyDefenderBonusProto, rhs: CollectDailyDefenderBonusProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteQuestLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteQuestLogEntry" +extension CombatActionLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatActionLogProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "quest"), - 3: .same(proto: "stamp"), + 1: .same(proto: "type"), + 2: .standard(proto: "action_start_turn"), + 3: .standard(proto: "duration_turns"), + 4: .standard(proto: "attacker_index"), + 5: .standard(proto: "target_index"), + 6: .standard(proto: "active_pokemon_index"), + 7: .standard(proto: "target_pokemon_index"), + 8: .standard(proto: "minigame_score"), + 9: .same(proto: "move"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185671,54 +189023,78 @@ extension CompleteQuestLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._quest) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.stamp) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.actionStartTurn) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.durationTurns) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.attackerIndex) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.targetIndex) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.activePokemonIndex) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.targetPokemonIndex) }() + case 8: try { try decoder.decodeSingularFloatField(value: &self.minigameScore) }() + case 9: try { try decoder.decodeSingularEnumField(value: &self.move) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } - try { if let v = self._quest { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.stamp.isEmpty { - try visitor.visitRepeatedMessageField(value: self.stamp, fieldNumber: 3) + if self.actionStartTurn != 0 { + try visitor.visitSingularInt32Field(value: self.actionStartTurn, fieldNumber: 2) + } + if self.durationTurns != 0 { + try visitor.visitSingularInt32Field(value: self.durationTurns, fieldNumber: 3) + } + if self.attackerIndex != 0 { + try visitor.visitSingularInt32Field(value: self.attackerIndex, fieldNumber: 4) + } + if self.targetIndex != 0 { + try visitor.visitSingularInt32Field(value: self.targetIndex, fieldNumber: 5) + } + if self.activePokemonIndex != 0 { + try visitor.visitSingularInt32Field(value: self.activePokemonIndex, fieldNumber: 6) + } + if self.targetPokemonIndex != 0 { + try visitor.visitSingularInt32Field(value: self.targetPokemonIndex, fieldNumber: 7) + } + if self.minigameScore != 0 { + try visitor.visitSingularFloatField(value: self.minigameScore, fieldNumber: 8) + } + if self.move != .moveUnset { + try visitor.visitSingularEnumField(value: self.move, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteQuestLogEntry, rhs: CompleteQuestLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._quest != rhs._quest {return false} - if lhs.stamp != rhs.stamp {return false} + public static func ==(lhs: CombatActionLogProto, rhs: CombatActionLogProto) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.actionStartTurn != rhs.actionStartTurn {return false} + if lhs.durationTurns != rhs.durationTurns {return false} + if lhs.attackerIndex != rhs.attackerIndex {return false} + if lhs.targetIndex != rhs.targetIndex {return false} + if lhs.activePokemonIndex != rhs.activePokemonIndex {return false} + if lhs.targetPokemonIndex != rhs.targetPokemonIndex {return false} + if lhs.minigameScore != rhs.minigameScore {return false} + if lhs.move != rhs.move {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteQuestLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - ] -} - -extension CompleteQuestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteQuestOutProto" +extension CombatActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatActionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "quest"), - 3: .same(proto: "stamp"), - 4: .same(proto: "quests"), + 1: .same(proto: "type"), + 3: .standard(proto: "action_start_turn"), + 5: .standard(proto: "duration_turns"), + 6: .standard(proto: "attacker_index"), + 7: .standard(proto: "target_index"), + 8: .standard(proto: "active_pokemon_id"), + 14: .standard(proto: "target_pokemon_id"), + 15: .standard(proto: "minigame_score"), + 16: .same(proto: "move"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185727,79 +189103,87 @@ extension CompleteQuestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._quest) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.stamp) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.quests) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.actionStartTurn) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.durationTurns) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.attackerIndex) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.targetIndex) }() + case 8: try { try decoder.decodeSingularFixed64Field(value: &self.activePokemonID) }() + case 14: try { try decoder.decodeSingularFixed64Field(value: &self.targetPokemonID) }() + case 15: try { try decoder.decodeSingularFloatField(value: &self.minigameScore) }() + case 16: try { try decoder.decodeSingularEnumField(value: &self.move) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } - try { if let v = self._quest { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.stamp.isEmpty { - try visitor.visitRepeatedMessageField(value: self.stamp, fieldNumber: 3) + if self.actionStartTurn != 0 { + try visitor.visitSingularInt32Field(value: self.actionStartTurn, fieldNumber: 3) } - if !self.quests.isEmpty { - try visitor.visitRepeatedMessageField(value: self.quests, fieldNumber: 4) + if self.durationTurns != 0 { + try visitor.visitSingularInt32Field(value: self.durationTurns, fieldNumber: 5) + } + if self.attackerIndex != 0 { + try visitor.visitSingularInt32Field(value: self.attackerIndex, fieldNumber: 6) + } + if self.targetIndex != 0 { + try visitor.visitSingularInt32Field(value: self.targetIndex, fieldNumber: 7) + } + if self.activePokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.activePokemonID, fieldNumber: 8) + } + if self.targetPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.targetPokemonID, fieldNumber: 14) + } + if self.minigameScore != 0 { + try visitor.visitSingularFloatField(value: self.minigameScore, fieldNumber: 15) + } + if self.move != .moveUnset { + try visitor.visitSingularEnumField(value: self.move, fieldNumber: 16) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteQuestOutProto, rhs: CompleteQuestOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._quest != rhs._quest {return false} - if lhs.stamp != rhs.stamp {return false} - if lhs.quests != rhs.quests {return false} + public static func ==(lhs: CombatActionProto, rhs: CombatActionProto) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.actionStartTurn != rhs.actionStartTurn {return false} + if lhs.durationTurns != rhs.durationTurns {return false} + if lhs.attackerIndex != rhs.attackerIndex {return false} + if lhs.targetIndex != rhs.targetIndex {return false} + if lhs.activePokemonID != rhs.activePokemonID {return false} + if lhs.targetPokemonID != rhs.targetPokemonID {return false} + if lhs.minigameScore != rhs.minigameScore {return false} + if lhs.move != rhs.move {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteQuestOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension CombatActionProto.ActionType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_QUEST_NOT_FOUND"), - 3: .same(proto: "ERROR_QUEST_STILL_IN_PROGRESS"), - 4: .same(proto: "ERROR_QUEST_ALREADY_COMPLETED"), - 5: .same(proto: "ERROR_SUBQUEST_NOT_FOUND"), - 6: .same(proto: "ERROR_SUBQUEST_STILL_IN_PROGRESS"), - 7: .same(proto: "ERROR_SUBQUEST_ALREADY_COMPLETED"), - 8: .same(proto: "ERROR_MULTIPART_STILL_IN_PROGRESS"), - 9: .same(proto: "ERROR_MULTIPART_ALREADY_COMPLETED"), - 10: .same(proto: "ERROR_REDEEM_COMPLETED_QUEST_STAMP_CARD_FIRST"), - 11: .same(proto: "ERROR_INVENTORY_FULL"), - 12: .same(proto: "ERROR_INVALID_BRANCH"), - 13: .same(proto: "ERROR_REWARD_ITEM_REACH_LIMIT"), - 14: .same(proto: "SUCCESS_PARTY_QUEST_CONCLUDED"), - 15: .same(proto: "ERROR_PARTY_QUEST_CLAIM_REWARDS_DEADLINE_EXCEEDED"), - 16: .same(proto: "SUCCESS_PARTY_QUEST_FORCE_CONCLUDED"), - 17: .same(proto: "SUCCESS_PARTY_QUEST_FORCE_CONCLUDE_IGNORED"), - 18: .same(proto: "ERROR_PARTY_QUEST_FORCE_CONCLUDE_STILL_AWARDING"), - 19: .same(proto: "ERROR_PARTY_QUEST_FORCE_CONCLUDE_ALREADY_CONCLUDED"), + 1: .same(proto: "ATTACK"), + 2: .same(proto: "SPECIAL_ATTACK"), + 3: .same(proto: "SPECIAL_ATTACK_2"), + 4: .same(proto: "MINIGAME_OFFENSIVE_FINISH"), + 5: .same(proto: "MINIGAME_DEFENSIVE_START"), + 6: .same(proto: "MINIGAME_DEFENSIVE_FINISH"), + 7: .same(proto: "FAINT"), + 8: .same(proto: "CHANGE_POKEMON"), + 9: .same(proto: "QUICK_SWAP_POKEMON"), ] } -extension CompleteQuestPokemonEncounterLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteQuestPokemonEncounterLogEntry" +extension CombatBaseStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatBaseStatsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "pokedex_number"), - 3: .standard(proto: "combat_points"), - 4: .standard(proto: "pokemon_id"), - 5: .standard(proto: "pokemon_display"), - 6: .standard(proto: "encounter_type"), + 1: .standard(proto: "total_battles"), + 2: .same(proto: "wins"), + 3: .same(proto: "rating"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185808,69 +189192,43 @@ extension CompleteQuestPokemonEncounterLogEntry: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokedexNumber) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.combatPoints) }() - case 4: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.encounterType) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.totalBattles) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.wins) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.rating) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.pokedexNumber != 0 { - try visitor.visitSingularInt32Field(value: self.pokedexNumber, fieldNumber: 2) - } - if self.combatPoints != 0 { - try visitor.visitSingularInt32Field(value: self.combatPoints, fieldNumber: 3) + if self.totalBattles != 0 { + try visitor.visitSingularInt32Field(value: self.totalBattles, fieldNumber: 1) } - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 4) + if self.wins != 0 { + try visitor.visitSingularInt32Field(value: self.wins, fieldNumber: 2) } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if self.encounterType != .spawnPoint { - try visitor.visitSingularEnumField(value: self.encounterType, fieldNumber: 6) + if self.rating != 0 { + try visitor.visitSingularFloatField(value: self.rating, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteQuestPokemonEncounterLogEntry, rhs: CompleteQuestPokemonEncounterLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.pokedexNumber != rhs.pokedexNumber {return false} - if lhs.combatPoints != rhs.combatPoints {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} - if lhs.encounterType != rhs.encounterType {return false} + public static func ==(lhs: CombatBaseStatsProto, rhs: CombatBaseStatsProto) -> Bool { + if lhs.totalBattles != rhs.totalBattles {return false} + if lhs.wins != rhs.wins {return false} + if lhs.rating != rhs.rating {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteQuestPokemonEncounterLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "POKEMON_CAPTURED"), - 2: .same(proto: "POKEMON_FLED"), - ] -} - -extension CompleteQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteQuestProto" +extension CombatChallengeGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatChallengeGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "quest_id"), - 2: .standard(proto: "sub_quest_id"), - 3: .standard(proto: "ob_int32"), + 1: .standard(proto: "distance_check_override_friendship_level"), + 2: .standard(proto: "get_combat_challenge_polling_interval_sec"), + 3: .standard(proto: "enable_downstream_dispatch"), + 4: .standard(proto: "enable_challenge_notifications"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185879,41 +189237,50 @@ extension CompleteQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.questID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.subQuestID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.distanceCheckOverrideFriendshipLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.getCombatChallengePollingIntervalSec) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enableDownstreamDispatch) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.enableChallengeNotifications) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.questID.isEmpty { - try visitor.visitSingularStringField(value: self.questID, fieldNumber: 1) + if self.distanceCheckOverrideFriendshipLevel != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: self.distanceCheckOverrideFriendshipLevel, fieldNumber: 1) } - if !self.subQuestID.isEmpty { - try visitor.visitSingularStringField(value: self.subQuestID, fieldNumber: 2) + if self.getCombatChallengePollingIntervalSec != 0 { + try visitor.visitSingularInt32Field(value: self.getCombatChallengePollingIntervalSec, fieldNumber: 2) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 3) + if self.enableDownstreamDispatch != false { + try visitor.visitSingularBoolField(value: self.enableDownstreamDispatch, fieldNumber: 3) + } + if self.enableChallengeNotifications != false { + try visitor.visitSingularBoolField(value: self.enableChallengeNotifications, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteQuestProto, rhs: CompleteQuestProto) -> Bool { - if lhs.questID != rhs.questID {return false} - if lhs.subQuestID != rhs.subQuestID {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: CombatChallengeGlobalSettingsProto, rhs: CombatChallengeGlobalSettingsProto) -> Bool { + if lhs.distanceCheckOverrideFriendshipLevel != rhs.distanceCheckOverrideFriendshipLevel {return false} + if lhs.getCombatChallengePollingIntervalSec != rhs.getCombatChallengePollingIntervalSec {return false} + if lhs.enableDownstreamDispatch != rhs.enableDownstreamDispatch {return false} + if lhs.enableChallengeNotifications != rhs.enableChallengeNotifications {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteQuestStampCardLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteQuestStampCardLogEntry" +extension CombatChallengeLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatChallengeLogProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "reward"), + 1: .same(proto: "type"), + 2: .standard(proto: "challenger_pokemon_indexes"), + 3: .standard(proto: "opponent_pokemon_indexes"), + 4: .same(proto: "state"), + 5: .standard(proto: "created_timestamp_offset_ms"), + 6: .standard(proto: "expiration_timestamp_offset_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185922,43 +189289,64 @@ extension CompleteQuestStampCardLogEntry: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.reward) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.challengerPokemonIndexes) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.opponentPokemonIndexes) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.state) }() + case 5: try { try decoder.decodeSingularUInt32Field(value: &self.createdTimestampOffsetMs) }() + case 6: try { try decoder.decodeSingularUInt32Field(value: &self.expirationTimestampOffsetMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } - if !self.reward.isEmpty { - try visitor.visitRepeatedMessageField(value: self.reward, fieldNumber: 2) + if !self.challengerPokemonIndexes.isEmpty { + try visitor.visitPackedInt32Field(value: self.challengerPokemonIndexes, fieldNumber: 2) + } + if !self.opponentPokemonIndexes.isEmpty { + try visitor.visitPackedInt32Field(value: self.opponentPokemonIndexes, fieldNumber: 3) + } + if self.state != .unset { + try visitor.visitSingularEnumField(value: self.state, fieldNumber: 4) + } + if self.createdTimestampOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.createdTimestampOffsetMs, fieldNumber: 5) + } + if self.expirationTimestampOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.expirationTimestampOffsetMs, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteQuestStampCardLogEntry, rhs: CompleteQuestStampCardLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.reward != rhs.reward {return false} + public static func ==(lhs: CombatChallengeLogProto, rhs: CombatChallengeLogProto) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.challengerPokemonIndexes != rhs.challengerPokemonIndexes {return false} + if lhs.opponentPokemonIndexes != rhs.opponentPokemonIndexes {return false} + if lhs.state != rhs.state {return false} + if lhs.createdTimestampOffsetMs != rhs.createdTimestampOffsetMs {return false} + if lhs.expirationTimestampOffsetMs != rhs.expirationTimestampOffsetMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteQuestStampCardLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - ] -} - -extension CompleteQuestStampCardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteQuestStampCardOutProto" +extension CombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatChallengeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "reward"), + 1: .standard(proto: "challenge_id"), + 2: .same(proto: "type"), + 3: .standard(proto: "combat_league_template_id"), + 5: .same(proto: "challenger"), + 6: .same(proto: "opponent"), + 7: .same(proto: "state"), + 8: .standard(proto: "created_timestamp_ms"), + 10: .standard(proto: "combat_id"), + 11: .standard(proto: "gbl_battle_realm"), + 19: .standard(proto: "expiration_timestamp_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -185967,63 +189355,201 @@ extension CompleteQuestStampCardOutProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.reward) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._challenger) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._opponent) }() + case 7: try { try decoder.decodeSingularEnumField(value: &self.state) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &self.createdTimestampMs) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.combatID) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.gblBattleRealm) }() + case 19: try { try decoder.decodeSingularInt64Field(value: &self.expirationTimestampMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) } - if !self.reward.isEmpty { - try visitor.visitRepeatedMessageField(value: self.reward, fieldNumber: 2) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) + } + if !self.combatLeagueTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 3) + } + try { if let v = self._challenger { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + try { if let v = self._opponent { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + if self.state != .unset { + try visitor.visitSingularEnumField(value: self.state, fieldNumber: 7) + } + if self.createdTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.createdTimestampMs, fieldNumber: 8) + } + if !self.combatID.isEmpty { + try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 10) + } + if !self.gblBattleRealm.isEmpty { + try visitor.visitSingularStringField(value: self.gblBattleRealm, fieldNumber: 11) + } + if self.expirationTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.expirationTimestampMs, fieldNumber: 19) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteQuestStampCardOutProto, rhs: CompleteQuestStampCardOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.reward != rhs.reward {return false} + public static func ==(lhs: CombatChallengeProto, rhs: CombatChallengeProto) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} + if lhs.type != rhs.type {return false} + if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} + if lhs._challenger != rhs._challenger {return false} + if lhs._opponent != rhs._opponent {return false} + if lhs.state != rhs.state {return false} + if lhs.createdTimestampMs != rhs.createdTimestampMs {return false} + if lhs.combatID != rhs.combatID {return false} + if lhs.gblBattleRealm != rhs.gblBattleRealm {return false} + if lhs.expirationTimestampMs != rhs.expirationTimestampMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteQuestStampCardOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension CombatChallengeProto.CombatChallengeState: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_STILL_IN_PROGRESS"), + 1: .same(proto: "CREATED"), + 2: .same(proto: "OPENED"), + 3: .same(proto: "CANCELLED"), + 4: .same(proto: "ACCEPTED"), + 5: .same(proto: "DECLINED"), + 6: .same(proto: "READY"), + 7: .same(proto: "TIMEOUT"), ] } -extension CompleteQuestStampCardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteQuestStampCardProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension CombatChallengeProto.ChallengePlayer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatChallengeProto.protoMessageName + ".ChallengePlayer" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .standard(proto: "player_avatar"), + 3: .standard(proto: "combat_player_s2_cell_id"), + 4: .standard(proto: "attacking_pokemon_id"), + 5: .standard(proto: "public_profile"), + 6: .standard(proto: "nia_account_id"), + ] + + fileprivate class _StorageClass { + var _playerID: String = String() + var _playerAvatar: PlayerAvatarProto? = nil + var _combatPlayerS2CellID: Int64 = 0 + var _attackingPokemonID: [UInt64] = [] + var _publicProfile: PlayerPublicProfileProto? = nil + var _niaAccountID: String = String() + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _playerID = source._playerID + _playerAvatar = source._playerAvatar + _combatPlayerS2CellID = source._combatPlayerS2CellID + _attackingPokemonID = source._attackingPokemonID + _publicProfile = source._publicProfile + _niaAccountID = source._niaAccountID + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._playerAvatar) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &_storage._combatPlayerS2CellID) }() + case 4: try { try decoder.decodeRepeatedFixed64Field(value: &_storage._attackingPokemonID) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._publicProfile) }() + case 6: try { try decoder.decodeSingularStringField(value: &_storage._niaAccountID) }() + default: break + } + } } } public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._playerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 1) + } + try { if let v = _storage._playerAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if _storage._combatPlayerS2CellID != 0 { + try visitor.visitSingularInt64Field(value: _storage._combatPlayerS2CellID, fieldNumber: 3) + } + if !_storage._attackingPokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: _storage._attackingPokemonID, fieldNumber: 4) + } + try { if let v = _storage._publicProfile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if !_storage._niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: _storage._niaAccountID, fieldNumber: 6) + } + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteQuestStampCardProto, rhs: CompleteQuestStampCardProto) -> Bool { + public static func ==(lhs: CombatChallengeProto.ChallengePlayer, rhs: CombatChallengeProto.ChallengePlayer) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._playerID != rhs_storage._playerID {return false} + if _storage._playerAvatar != rhs_storage._playerAvatar {return false} + if _storage._combatPlayerS2CellID != rhs_storage._combatPlayerS2CellID {return false} + if _storage._attackingPokemonID != rhs_storage._attackingPokemonID {return false} + if _storage._publicProfile != rhs_storage._publicProfile {return false} + if _storage._niaAccountID != rhs_storage._niaAccountID {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteReferralMilestoneLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteReferralMilestoneLogEntry" +extension CombatClientLog: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatClientLog" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "milestone_completed"), - 2: .same(proto: "reward"), + 1: .same(proto: "header"), + 2: .same(proto: "entries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186032,8 +189558,8 @@ extension CompleteReferralMilestoneLogEntry: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._milestoneCompleted) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.reward) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._header) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.entries) }() default: break } } @@ -186044,28 +189570,28 @@ extension CompleteReferralMilestoneLogEntry: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._milestoneCompleted { + try { if let v = self._header { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if !self.reward.isEmpty { - try visitor.visitRepeatedMessageField(value: self.reward, fieldNumber: 2) + if !self.entries.isEmpty { + try visitor.visitRepeatedMessageField(value: self.entries, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteReferralMilestoneLogEntry, rhs: CompleteReferralMilestoneLogEntry) -> Bool { - if lhs._milestoneCompleted != rhs._milestoneCompleted {return false} - if lhs.reward != rhs.reward {return false} + public static func ==(lhs: CombatClientLog, rhs: CombatClientLog) -> Bool { + if lhs._header != rhs._header {return false} + if lhs.entries != rhs.entries {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CompleteReferralMilestoneLogEntry.protoMessageName + ".MilestoneLogEntryProto" +extension CombatClockSynchronization: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatClockSynchronization" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "name_key"), - 6: .standard(proto: "name_template_variable"), + 1: .standard(proto: "sync_attempt_count"), + 2: .same(proto: "enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186074,36 +189600,38 @@ extension CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto: SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.nameKey) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.nameTemplateVariable) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.syncAttemptCount) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.nameKey.isEmpty { - try visitor.visitSingularStringField(value: self.nameKey, fieldNumber: 1) + if self.syncAttemptCount != 0 { + try visitor.visitSingularInt32Field(value: self.syncAttemptCount, fieldNumber: 1) } - if !self.nameTemplateVariable.isEmpty { - try visitor.visitRepeatedMessageField(value: self.nameTemplateVariable, fieldNumber: 6) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto, rhs: CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto) -> Bool { - if lhs.nameKey != rhs.nameKey {return false} - if lhs.nameTemplateVariable != rhs.nameTemplateVariable {return false} + public static func ==(lhs: CombatClockSynchronization, rhs: CombatClockSynchronization) -> Bool { + if lhs.syncAttemptCount != rhs.syncAttemptCount {return false} + if lhs.enabled != rhs.enabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteReferralMilestoneLogEntry.TemplateVariableProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CompleteReferralMilestoneLogEntry.protoMessageName + ".TemplateVariableProto" +extension CombatCompetitiveSeasonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatCompetitiveSeasonSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "literal"), + 1: .standard(proto: "season_end_time_timestamp"), + 2: .standard(proto: "rating_adjustment_percentage"), + 3: .standard(proto: "ranking_adjustment_percentage"), + 4: .standard(proto: "player_facing_season_number"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186112,40 +189640,45 @@ extension CompleteReferralMilestoneLogEntry.TemplateVariableProto: SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.literal) }() + case 1: try { try decoder.decodeRepeatedUInt64Field(value: &self.seasonEndTimeTimestamp) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.ratingAdjustmentPercentage) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.rankingAdjustmentPercentage) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.playerFacingSeasonNumber) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + if !self.seasonEndTimeTimestamp.isEmpty { + try visitor.visitPackedUInt64Field(value: self.seasonEndTimeTimestamp, fieldNumber: 1) } - if !self.literal.isEmpty { - try visitor.visitSingularStringField(value: self.literal, fieldNumber: 2) + if self.ratingAdjustmentPercentage != 0 { + try visitor.visitSingularFloatField(value: self.ratingAdjustmentPercentage, fieldNumber: 2) + } + if self.rankingAdjustmentPercentage != 0 { + try visitor.visitSingularFloatField(value: self.rankingAdjustmentPercentage, fieldNumber: 3) + } + if self.playerFacingSeasonNumber != 0 { + try visitor.visitSingularInt32Field(value: self.playerFacingSeasonNumber, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteReferralMilestoneLogEntry.TemplateVariableProto, rhs: CompleteReferralMilestoneLogEntry.TemplateVariableProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.literal != rhs.literal {return false} + public static func ==(lhs: CombatCompetitiveSeasonSettingsProto, rhs: CombatCompetitiveSeasonSettingsProto) -> Bool { + if lhs.seasonEndTimeTimestamp != rhs.seasonEndTimeTimestamp {return false} + if lhs.ratingAdjustmentPercentage != rhs.ratingAdjustmentPercentage {return false} + if lhs.rankingAdjustmentPercentage != rhs.rankingAdjustmentPercentage {return false} + if lhs.playerFacingSeasonNumber != rhs.playerFacingSeasonNumber {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteRoutePlayLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteRoutePlayLogEntry" +extension CombatDefensiveInputChallengeSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatDefensiveInputChallengeSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "badge_level"), - 2: .standard(proto: "route_image_url"), - 4: .standard(proto: "awarded_items"), - 5: .standard(proto: "bonus_awarded_items"), - 6: .standard(proto: "route_name"), - 7: .standard(proto: "route_visuals"), + 1: .standard(proto: "full_rotations_for_max_score"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186154,59 +189687,30 @@ extension CompleteRoutePlayLogEntry: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.badgeLevel) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.routeImageURL) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._awardedItems) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._bonusAwardedItems) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.routeName) }() - case 7: try { try decoder.decodeSingularMessageField(value: &self._routeVisuals) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.fullRotationsForMaxScore) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.badgeLevel != .routeBadgeUnset { - try visitor.visitSingularEnumField(value: self.badgeLevel, fieldNumber: 1) - } - if !self.routeImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.routeImageURL, fieldNumber: 2) - } - try { if let v = self._awardedItems { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = self._bonusAwardedItems { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if !self.routeName.isEmpty { - try visitor.visitSingularStringField(value: self.routeName, fieldNumber: 6) + if self.fullRotationsForMaxScore != 0 { + try visitor.visitSingularFloatField(value: self.fullRotationsForMaxScore, fieldNumber: 1) } - try { if let v = self._routeVisuals { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteRoutePlayLogEntry, rhs: CompleteRoutePlayLogEntry) -> Bool { - if lhs.badgeLevel != rhs.badgeLevel {return false} - if lhs.routeImageURL != rhs.routeImageURL {return false} - if lhs._awardedItems != rhs._awardedItems {return false} - if lhs._bonusAwardedItems != rhs._bonusAwardedItems {return false} - if lhs.routeName != rhs.routeName {return false} - if lhs._routeVisuals != rhs._routeVisuals {return false} + public static func ==(lhs: CombatDefensiveInputChallengeSettings, rhs: CombatDefensiveInputChallengeSettings) -> Bool { + if lhs.fullRotationsForMaxScore != rhs.fullRotationsForMaxScore {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteSnapshotSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteSnapshotSessionOutProto" +extension CombatEndData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatEndData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .same(proto: "type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186215,41 +189719,40 @@ extension CompleteSnapshotSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.type != .noEnd { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteSnapshotSessionOutProto, rhs: CompleteSnapshotSessionOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: CombatEndData, rhs: CombatEndData) -> Bool { + if lhs.type != rhs.type {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteSnapshotSessionOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension CombatEndData.TypeEnum: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PHOTO_POKEMON_INVALID"), - 3: .same(proto: "ERROR_UNKNOWN"), + 0: .same(proto: "NO_END"), + 1: .same(proto: "COMBAT_STATE_EXIT"), ] } -extension CompleteSnapshotSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteSnapshotSessionProto" +extension CombatFeatureFlags: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatFeatureFlags" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "photo_pokemon_id"), - 2: .standard(proto: "num_photos_taken"), - 3: .standard(proto: "snapshot_session_start_time"), + 1: .standard(proto: "real_device_time_enabled"), + 2: .standard(proto: "next_available_turn_enabled"), + 3: .standard(proto: "server_fly_in_fly_out_enabled"), + 4: .standard(proto: "client_shield_insta_report_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186258,72 +189761,200 @@ extension CompleteSnapshotSessionProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.photoPokemonID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numPhotosTaken) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.snapshotSessionStartTime) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.realDeviceTimeEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.nextAvailableTurnEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.serverFlyInFlyOutEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.clientShieldInstaReportEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.photoPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.photoPokemonID, fieldNumber: 1) + if self.realDeviceTimeEnabled != false { + try visitor.visitSingularBoolField(value: self.realDeviceTimeEnabled, fieldNumber: 1) } - if self.numPhotosTaken != 0 { - try visitor.visitSingularInt32Field(value: self.numPhotosTaken, fieldNumber: 2) + if self.nextAvailableTurnEnabled != false { + try visitor.visitSingularBoolField(value: self.nextAvailableTurnEnabled, fieldNumber: 2) } - if self.snapshotSessionStartTime != 0 { - try visitor.visitSingularInt64Field(value: self.snapshotSessionStartTime, fieldNumber: 3) + if self.serverFlyInFlyOutEnabled != false { + try visitor.visitSingularBoolField(value: self.serverFlyInFlyOutEnabled, fieldNumber: 3) + } + if self.clientShieldInstaReportEnabled != false { + try visitor.visitSingularBoolField(value: self.clientShieldInstaReportEnabled, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteSnapshotSessionProto, rhs: CompleteSnapshotSessionProto) -> Bool { - if lhs.photoPokemonID != rhs.photoPokemonID {return false} - if lhs.numPhotosTaken != rhs.numPhotosTaken {return false} - if lhs.snapshotSessionStartTime != rhs.snapshotSessionStartTime {return false} + public static func ==(lhs: CombatFeatureFlags, rhs: CombatFeatureFlags) -> Bool { + if lhs.realDeviceTimeEnabled != rhs.realDeviceTimeEnabled {return false} + if lhs.nextAvailableTurnEnabled != rhs.nextAvailableTurnEnabled {return false} + if lhs.serverFlyInFlyOutEnabled != rhs.serverFlyInFlyOutEnabled {return false} + if lhs.clientShieldInstaReportEnabled != rhs.clientShieldInstaReportEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CompleteVsSeekerAndRestartChargingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteVsSeekerAndRestartChargingOutProto" +extension CombatForLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatForLogProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "vs_seeker"), - 3: .standard(proto: "loot_proto"), - 4: .standard(proto: "current_season_result"), - 5: .standard(proto: "previous_rank"), - 6: .standard(proto: "previous_rating"), - 7: .standard(proto: "stats_at_rank_start"), - 8: .standard(proto: "avatar_template_id_rewarded"), + 1: .standard(proto: "combat_state"), + 3: .same(proto: "player"), + 4: .same(proto: "opponent"), + 7: .standard(proto: "server_offset_ms"), + 8: .standard(proto: "current_turn"), + 9: .standard(proto: "turn_start_offset_ms"), + 10: .standard(proto: "minigame_end_offset_ms"), + 11: .standard(proto: "minigame_submit_score_end_offset_ms"), + 12: .standard(proto: "change_pokemon_end_offset_ms"), + 13: .standard(proto: "quick_swap_cooldown_duration_offset_ms"), + 14: .standard(proto: "state_change_delay_until_turn"), + 15: .standard(proto: "combat_request_counter"), + 16: .standard(proto: "opponent_triggered"), + 17: .standard(proto: "opponent_request_counter"), + 18: .standard(proto: "round_trip_time_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.combatState) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._player) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._opponent) }() + case 7: try { try decoder.decodeSingularUInt32Field(value: &self.serverOffsetMs) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.currentTurn) }() + case 9: try { try decoder.decodeSingularUInt32Field(value: &self.turnStartOffsetMs) }() + case 10: try { try decoder.decodeSingularUInt32Field(value: &self.minigameEndOffsetMs) }() + case 11: try { try decoder.decodeSingularUInt32Field(value: &self.minigameSubmitScoreEndOffsetMs) }() + case 12: try { try decoder.decodeSingularUInt32Field(value: &self.changePokemonEndOffsetMs) }() + case 13: try { try decoder.decodeSingularUInt32Field(value: &self.quickSwapCooldownDurationOffsetMs) }() + case 14: try { try decoder.decodeSingularUInt32Field(value: &self.stateChangeDelayUntilTurn) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &self.combatRequestCounter) }() + case 16: try { try decoder.decodeSingularBoolField(value: &self.opponentTriggered) }() + case 17: try { try decoder.decodeSingularInt32Field(value: &self.opponentRequestCounter) }() + case 18: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.combatState != .unset { + try visitor.visitSingularEnumField(value: self.combatState, fieldNumber: 1) + } + try { if let v = self._player { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._opponent { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.serverOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.serverOffsetMs, fieldNumber: 7) + } + if self.currentTurn != 0 { + try visitor.visitSingularInt32Field(value: self.currentTurn, fieldNumber: 8) + } + if self.turnStartOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.turnStartOffsetMs, fieldNumber: 9) + } + if self.minigameEndOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.minigameEndOffsetMs, fieldNumber: 10) + } + if self.minigameSubmitScoreEndOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.minigameSubmitScoreEndOffsetMs, fieldNumber: 11) + } + if self.changePokemonEndOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.changePokemonEndOffsetMs, fieldNumber: 12) + } + if self.quickSwapCooldownDurationOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.quickSwapCooldownDurationOffsetMs, fieldNumber: 13) + } + if self.stateChangeDelayUntilTurn != 0 { + try visitor.visitSingularUInt32Field(value: self.stateChangeDelayUntilTurn, fieldNumber: 14) + } + if self.combatRequestCounter != 0 { + try visitor.visitSingularInt32Field(value: self.combatRequestCounter, fieldNumber: 15) + } + if self.opponentTriggered != false { + try visitor.visitSingularBoolField(value: self.opponentTriggered, fieldNumber: 16) + } + if self.opponentRequestCounter != 0 { + try visitor.visitSingularInt32Field(value: self.opponentRequestCounter, fieldNumber: 17) + } + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 18) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: CombatForLogProto, rhs: CombatForLogProto) -> Bool { + if lhs.combatState != rhs.combatState {return false} + if lhs._player != rhs._player {return false} + if lhs._opponent != rhs._opponent {return false} + if lhs.serverOffsetMs != rhs.serverOffsetMs {return false} + if lhs.currentTurn != rhs.currentTurn {return false} + if lhs.turnStartOffsetMs != rhs.turnStartOffsetMs {return false} + if lhs.minigameEndOffsetMs != rhs.minigameEndOffsetMs {return false} + if lhs.minigameSubmitScoreEndOffsetMs != rhs.minigameSubmitScoreEndOffsetMs {return false} + if lhs.changePokemonEndOffsetMs != rhs.changePokemonEndOffsetMs {return false} + if lhs.quickSwapCooldownDurationOffsetMs != rhs.quickSwapCooldownDurationOffsetMs {return false} + if lhs.stateChangeDelayUntilTurn != rhs.stateChangeDelayUntilTurn {return false} + if lhs.combatRequestCounter != rhs.combatRequestCounter {return false} + if lhs.opponentTriggered != rhs.opponentTriggered {return false} + if lhs.opponentRequestCounter != rhs.opponentRequestCounter {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension CombatForLogProto.CombatPlayerLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatForLogProto.protoMessageName + ".CombatPlayerLogProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "active_pokemon"), + 2: .standard(proto: "reserve_pokemon"), + 3: .standard(proto: "fainted_pokemon"), + 4: .standard(proto: "current_action"), + 5: .standard(proto: "lockstep_ack"), + 6: .standard(proto: "last_updated_turn"), + 7: .standard(proto: "minigame_action"), + 8: .standard(proto: "quick_swap_available_offset_ms"), + 9: .standard(proto: "minigame_defense_chances_left"), ] fileprivate class _StorageClass { - var _result: CompleteVsSeekerAndRestartChargingOutProto.Result = .unset - var _vsSeeker: VsSeekerAttributesProto? = nil - var _lootProto: LootProto? = nil - var _currentSeasonResult: CombatSeasonResult? = nil - var _previousRank: Int32 = 0 - var _previousRating: Float = 0 - var _statsAtRankStart: CombatBaseStatsProto? = nil - var _avatarTemplateIDRewarded: [String] = [] + var _activePokemon: CombatForLogProto.CombatPokemonDynamicProto? = nil + var _reservePokemon: [CombatForLogProto.CombatPokemonDynamicProto] = [] + var _faintedPokemon: [CombatForLogProto.CombatPokemonDynamicProto] = [] + var _currentAction: CombatActionLogProto? = nil + var _lockstepAck: Bool = false + var _lastUpdatedTurn: Int32 = 0 + var _minigameAction: CombatActionLogProto? = nil + var _quickSwapAvailableOffsetMs: UInt32 = 0 + var _minigameDefenseChancesLeft: Int32 = 0 static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _result = source._result - _vsSeeker = source._vsSeeker - _lootProto = source._lootProto - _currentSeasonResult = source._currentSeasonResult - _previousRank = source._previousRank - _previousRating = source._previousRating - _statsAtRankStart = source._statsAtRankStart - _avatarTemplateIDRewarded = source._avatarTemplateIDRewarded + _activePokemon = source._activePokemon + _reservePokemon = source._reservePokemon + _faintedPokemon = source._faintedPokemon + _currentAction = source._currentAction + _lockstepAck = source._lockstepAck + _lastUpdatedTurn = source._lastUpdatedTurn + _minigameAction = source._minigameAction + _quickSwapAvailableOffsetMs = source._quickSwapAvailableOffsetMs + _minigameDefenseChancesLeft = source._minigameDefenseChancesLeft } } @@ -186342,14 +189973,15 @@ extension CompleteVsSeekerAndRestartChargingOutProto: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeeker) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._lootProto) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._currentSeasonResult) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._previousRank) }() - case 6: try { try decoder.decodeSingularFloatField(value: &_storage._previousRating) }() - case 7: try { try decoder.decodeSingularMessageField(value: &_storage._statsAtRankStart) }() - case 8: try { try decoder.decodeRepeatedStringField(value: &_storage._avatarTemplateIDRewarded) }() + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._activePokemon) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &_storage._reservePokemon) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._faintedPokemon) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._currentAction) }() + case 5: try { try decoder.decodeSingularBoolField(value: &_storage._lockstepAck) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._lastUpdatedTurn) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._minigameAction) }() + case 8: try { try decoder.decodeSingularUInt32Field(value: &_storage._quickSwapAvailableOffsetMs) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._minigameDefenseChancesLeft) }() default: break } } @@ -186362,47 +189994,51 @@ extension CompleteVsSeekerAndRestartChargingOutProto: SwiftProtobuf.Message, Swi // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._result != .unset { - try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) - } - try { if let v = _storage._vsSeeker { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._lootProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + try { if let v = _storage._activePokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - try { if let v = _storage._currentSeasonResult { + if !_storage._reservePokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._reservePokemon, fieldNumber: 2) + } + if !_storage._faintedPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._faintedPokemon, fieldNumber: 3) + } + try { if let v = _storage._currentAction { try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() - if _storage._previousRank != 0 { - try visitor.visitSingularInt32Field(value: _storage._previousRank, fieldNumber: 5) + if _storage._lockstepAck != false { + try visitor.visitSingularBoolField(value: _storage._lockstepAck, fieldNumber: 5) } - if _storage._previousRating != 0 { - try visitor.visitSingularFloatField(value: _storage._previousRating, fieldNumber: 6) + if _storage._lastUpdatedTurn != 0 { + try visitor.visitSingularInt32Field(value: _storage._lastUpdatedTurn, fieldNumber: 6) } - try { if let v = _storage._statsAtRankStart { + try { if let v = _storage._minigameAction { try visitor.visitSingularMessageField(value: v, fieldNumber: 7) } }() - if !_storage._avatarTemplateIDRewarded.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._avatarTemplateIDRewarded, fieldNumber: 8) + if _storage._quickSwapAvailableOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: _storage._quickSwapAvailableOffsetMs, fieldNumber: 8) + } + if _storage._minigameDefenseChancesLeft != 0 { + try visitor.visitSingularInt32Field(value: _storage._minigameDefenseChancesLeft, fieldNumber: 9) } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteVsSeekerAndRestartChargingOutProto, rhs: CompleteVsSeekerAndRestartChargingOutProto) -> Bool { + public static func ==(lhs: CombatForLogProto.CombatPlayerLogProto, rhs: CombatForLogProto.CombatPlayerLogProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._result != rhs_storage._result {return false} - if _storage._vsSeeker != rhs_storage._vsSeeker {return false} - if _storage._lootProto != rhs_storage._lootProto {return false} - if _storage._currentSeasonResult != rhs_storage._currentSeasonResult {return false} - if _storage._previousRank != rhs_storage._previousRank {return false} - if _storage._previousRating != rhs_storage._previousRating {return false} - if _storage._statsAtRankStart != rhs_storage._statsAtRankStart {return false} - if _storage._avatarTemplateIDRewarded != rhs_storage._avatarTemplateIDRewarded {return false} + if _storage._activePokemon != rhs_storage._activePokemon {return false} + if _storage._reservePokemon != rhs_storage._reservePokemon {return false} + if _storage._faintedPokemon != rhs_storage._faintedPokemon {return false} + if _storage._currentAction != rhs_storage._currentAction {return false} + if _storage._lockstepAck != rhs_storage._lockstepAck {return false} + if _storage._lastUpdatedTurn != rhs_storage._lastUpdatedTurn {return false} + if _storage._minigameAction != rhs_storage._minigameAction {return false} + if _storage._quickSwapAvailableOffsetMs != rhs_storage._quickSwapAvailableOffsetMs {return false} + if _storage._minigameDefenseChancesLeft != rhs_storage._minigameDefenseChancesLeft {return false} return true } if !storagesAreEqual {return false} @@ -186412,89 +190048,14 @@ extension CompleteVsSeekerAndRestartChargingOutProto: SwiftProtobuf.Message, Swi } } -extension CompleteVsSeekerAndRestartChargingOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_VS_SEEKER_NOT_FOUND"), - 3: .same(proto: "ERROR_VS_SEEKER_ALREADY_STARTED_CHARGING"), - 4: .same(proto: "ERROR_VS_SEEKER_ALREADY_FULLY_CHARGED"), - 5: .same(proto: "ERROR_VS_SEEKER_PLAYER_IN_WRONG_SEASON"), - 6: .same(proto: "ERROR_PLAYER_INVENTORY_FULL"), - 7: .same(proto: "ERROR_PLAYER_HAS_UNCLAIMED_REWARDS"), - ] -} - -extension CompleteVsSeekerAndRestartChargingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteVsSeekerAndRestartChargingProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: CompleteVsSeekerAndRestartChargingProto, rhs: CompleteVsSeekerAndRestartChargingProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension CompleteWildSnapshotSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteWildSnapshotSessionOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: CompleteWildSnapshotSessionOutProto, rhs: CompleteWildSnapshotSessionOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension CompleteWildSnapshotSessionOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PHOTO_POKEMON_INVALID"), - 3: .same(proto: "ERROR_NO_PHOTOS_TAKEN"), - 4: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension CompleteWildSnapshotSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CompleteWildSnapshotSessionProto" +extension CombatForLogProto.CombatPokemonDynamicProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatForLogProto.protoMessageName + ".CombatPokemonDynamicProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "photo_pokedex_id"), - 2: .standard(proto: "num_photos_taken"), - 3: .standard(proto: "type_1"), - 4: .standard(proto: "type_2"), - 5: .standard(proto: "spawn_point_id"), - 6: .standard(proto: "encounter_id"), + 1: .same(proto: "index"), + 2: .same(proto: "stamina"), + 3: .same(proto: "energy"), + 4: .standard(proto: "attack_stat_stage"), + 5: .standard(proto: "defense_stat_stage"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186503,55 +190064,50 @@ extension CompleteWildSnapshotSessionProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.photoPokedexID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numPhotosTaken) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.type1) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.type2) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.spawnPointID) }() - case 6: try { try decoder.decodeSingularUInt64Field(value: &self.encounterID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.index) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.stamina) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.energy) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.attackStatStage) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.defenseStatStage) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.photoPokedexID != 0 { - try visitor.visitSingularInt32Field(value: self.photoPokedexID, fieldNumber: 1) - } - if self.numPhotosTaken != 0 { - try visitor.visitSingularInt32Field(value: self.numPhotosTaken, fieldNumber: 2) + if self.index != 0 { + try visitor.visitSingularInt32Field(value: self.index, fieldNumber: 1) } - if self.type1 != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: self.type1, fieldNumber: 3) + if self.stamina != 0 { + try visitor.visitSingularInt32Field(value: self.stamina, fieldNumber: 2) } - if self.type2 != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: self.type2, fieldNumber: 4) + if self.energy != 0 { + try visitor.visitSingularInt32Field(value: self.energy, fieldNumber: 3) } - if !self.spawnPointID.isEmpty { - try visitor.visitSingularStringField(value: self.spawnPointID, fieldNumber: 5) + if self.attackStatStage != 0 { + try visitor.visitSingularInt32Field(value: self.attackStatStage, fieldNumber: 4) } - if self.encounterID != 0 { - try visitor.visitSingularUInt64Field(value: self.encounterID, fieldNumber: 6) + if self.defenseStatStage != 0 { + try visitor.visitSingularInt32Field(value: self.defenseStatStage, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CompleteWildSnapshotSessionProto, rhs: CompleteWildSnapshotSessionProto) -> Bool { - if lhs.photoPokedexID != rhs.photoPokedexID {return false} - if lhs.numPhotosTaken != rhs.numPhotosTaken {return false} - if lhs.type1 != rhs.type1 {return false} - if lhs.type2 != rhs.type2 {return false} - if lhs.spawnPointID != rhs.spawnPointID {return false} - if lhs.encounterID != rhs.encounterID {return false} + public static func ==(lhs: CombatForLogProto.CombatPokemonDynamicProto, rhs: CombatForLogProto.CombatPokemonDynamicProto) -> Bool { + if lhs.index != rhs.index {return false} + if lhs.stamina != rhs.stamina {return false} + if lhs.energy != rhs.energy {return false} + if lhs.attackStatStage != rhs.attackStatStage {return false} + if lhs.defenseStatStage != rhs.defenseStatStage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ConfirmPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ConfirmPhotobombOutProto" +extension CombatFriendRequestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatFriendRequestOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186560,40 +190116,41 @@ extension ConfirmPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ConfirmPhotobombOutProto, rhs: ConfirmPhotobombOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: CombatFriendRequestOutProto, rhs: CombatFriendRequestOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ConfirmPhotobombOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension CombatFriendRequestOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PHOTOBOMB_NOT_FOUND"), - 3: .same(proto: "ERROR_PHOTOBOMB_ALREADY_CONFIRMED"), - 4: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "ERROR_COMBAT_NOT_FOUND"), + 3: .same(proto: "ERROR_COMBAT_INCOMPLETE"), + 4: .same(proto: "ERROR_PLAYER_NOT_IN_COMBAT"), + 5: .same(proto: "ERROR_SOCIAL_RPC"), ] } -extension ConfirmPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ConfirmPhotobombProto" +extension CombatFriendRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatFriendRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "encounter_id"), + 1: .standard(proto: "combat_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186602,170 +190159,304 @@ extension ConfirmPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.combatID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) + if !self.combatID.isEmpty { + try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ConfirmPhotobombProto, rhs: ConfirmPhotobombProto) -> Bool { - if lhs.encounterID != rhs.encounterID {return false} + public static func ==(lhs: CombatFriendRequestProto, rhs: CombatFriendRequestProto) -> Bool { + if lhs.combatID != rhs.combatID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ConfirmTradingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ConfirmTradingOutProto" +extension CombatGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "trading"), + 1: .standard(proto: "enable_combat"), + 2: .standard(proto: "maximum_daily_rewarded_battles"), + 3: .standard(proto: "enable_combat_stat_stages"), + 4: .standard(proto: "minimum_player_level"), + 5: .standard(proto: "maximum_daily_npc_rewarded_battles"), + 6: .standard(proto: "active_combat_update_interval_ms"), + 7: .standard(proto: "waiting_for_player_update_interval_ms"), + 8: .standard(proto: "ready_for_battle_update_interval_ms"), + 9: .standard(proto: "pre_move_submit_window_ms"), + 10: .standard(proto: "post_move_submit_window_ms"), + 11: .standard(proto: "enable_sockets"), + 12: .standard(proto: "enable_spin_minigame"), + 13: .standard(proto: "enable_quick_swap_v2"), + 14: .standard(proto: "deprecated_vs_seeker_setting"), + 15: .standard(proto: "vs_seeker_walking_dist_poll_duration_ms"), + 16: .standard(proto: "vs_seeker_player_min_level"), + 17: .standard(proto: "matchmaking_poll_duration_ms"), + 18: .standard(proto: "enable_particle_minigame"), + 19: .standard(proto: "enable_vs_seeker_upgrade_iap"), + 20: .standard(proto: "enable_flyout_animations"), + 21: .standard(proto: "enable_battle_hub"), + 22: .standard(proto: "matchmaking_timeout_duration_ms"), + 23: .standard(proto: "planned_downtime_timestamp_ms"), + 24: .standard(proto: "latency_compensation_threshold_ms"), + 25: .standard(proto: "combat_refactor_allowlist_set1"), + 26: .standard(proto: "combat_refactor_allowlist_gbl_leagues"), ] - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._trading) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._trading { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ConfirmTradingOutProto, rhs: ConfirmTradingOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._trading != rhs._trading {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} + fileprivate class _StorageClass { + var _enableCombat: Bool = false + var _maximumDailyRewardedBattles: Int32 = 0 + var _enableCombatStatStages: Bool = false + var _minimumPlayerLevel: UInt32 = 0 + var _maximumDailyNpcRewardedBattles: Int32 = 0 + var _activeCombatUpdateIntervalMs: Int32 = 0 + var _waitingForPlayerUpdateIntervalMs: Int32 = 0 + var _readyForBattleUpdateIntervalMs: Int32 = 0 + var _preMoveSubmitWindowMs: Int32 = 0 + var _postMoveSubmitWindowMs: Int32 = 0 + var _enableSockets: Bool = false + var _enableSpinMinigame: Bool = false + var _enableQuickSwapV2: Bool = false + var _deprecatedVsSeekerSetting: Bool = false + var _vsSeekerWalkingDistPollDurationMs: Int32 = 0 + var _vsSeekerPlayerMinLevel: Int32 = 0 + var _matchmakingPollDurationMs: Int32 = 0 + var _enableParticleMinigame: Bool = false + var _enableVsSeekerUpgradeIap: Bool = false + var _enableFlyoutAnimations: Bool = false + var _enableBattleHub: Bool = false + var _matchmakingTimeoutDurationMs: Int32 = 0 + var _plannedDowntimeTimestampMs: Int64 = 0 + var _latencyCompensationThresholdMs: Int32 = 0 + var _combatRefactorAllowlistSet1: [CombatGlobalSettingsProto.CombatRefactorFlags] = [] + var _combatRefactorAllowlistGblLeagues: [String] = [] -extension ConfirmTradingOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_FRIEND_NOT_FOUND"), - 4: .same(proto: "ERROR_INVALID_PLAYER_ID"), - 5: .same(proto: "ERROR_INVALID_STATE"), - 6: .same(proto: "ERROR_STATE_HANDLER"), - 7: .same(proto: "ERROR_INVALID_POKEMON"), - 8: .same(proto: "ERROR_INSUFFICIENT_PAYMENT"), - 9: .same(proto: "ERROR_NO_PLAYER_POKEMON"), - 10: .same(proto: "ERROR_NO_FRIEND_POKEMON"), - 11: .same(proto: "ERROR_PLAYER_ALREADY_CONFIRMED"), - 12: .same(proto: "ERROR_TRANSACTION_LOG_NOT_MATCH"), - 13: .same(proto: "ERROR_TRADING_EXPIRED"), - 14: .same(proto: "ERROR_TRANSACTION"), - 15: .same(proto: "ERROR_DAILY_LIMIT_REACHED"), - ] -} + static let defaultInstance = _StorageClass() -extension ConfirmTradingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ConfirmTradingProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "transaction_log"), - ] + private init() {} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.transactionLog) }() - default: break - } + init(copying source: _StorageClass) { + _enableCombat = source._enableCombat + _maximumDailyRewardedBattles = source._maximumDailyRewardedBattles + _enableCombatStatStages = source._enableCombatStatStages + _minimumPlayerLevel = source._minimumPlayerLevel + _maximumDailyNpcRewardedBattles = source._maximumDailyNpcRewardedBattles + _activeCombatUpdateIntervalMs = source._activeCombatUpdateIntervalMs + _waitingForPlayerUpdateIntervalMs = source._waitingForPlayerUpdateIntervalMs + _readyForBattleUpdateIntervalMs = source._readyForBattleUpdateIntervalMs + _preMoveSubmitWindowMs = source._preMoveSubmitWindowMs + _postMoveSubmitWindowMs = source._postMoveSubmitWindowMs + _enableSockets = source._enableSockets + _enableSpinMinigame = source._enableSpinMinigame + _enableQuickSwapV2 = source._enableQuickSwapV2 + _deprecatedVsSeekerSetting = source._deprecatedVsSeekerSetting + _vsSeekerWalkingDistPollDurationMs = source._vsSeekerWalkingDistPollDurationMs + _vsSeekerPlayerMinLevel = source._vsSeekerPlayerMinLevel + _matchmakingPollDurationMs = source._matchmakingPollDurationMs + _enableParticleMinigame = source._enableParticleMinigame + _enableVsSeekerUpgradeIap = source._enableVsSeekerUpgradeIap + _enableFlyoutAnimations = source._enableFlyoutAnimations + _enableBattleHub = source._enableBattleHub + _matchmakingTimeoutDurationMs = source._matchmakingTimeoutDurationMs + _plannedDowntimeTimestampMs = source._plannedDowntimeTimestampMs + _latencyCompensationThresholdMs = source._latencyCompensationThresholdMs + _combatRefactorAllowlistSet1 = source._combatRefactorAllowlistSet1 + _combatRefactorAllowlistGblLeagues = source._combatRefactorAllowlistGblLeagues } } - public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) - } - if !self.transactionLog.isEmpty { - try visitor.visitSingularStringField(value: self.transactionLog, fieldNumber: 2) + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ConfirmTradingProto, rhs: ConfirmTradingProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.transactionLog != rhs.transactionLog {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + return _storage } -} - -extension ContactSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContactSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "send_marketing_emails"), - 2: .standard(proto: "send_push_notifications"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.sendMarketingEmails) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.sendPushNotifications) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &_storage._enableCombat) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._maximumDailyRewardedBattles) }() + case 3: try { try decoder.decodeSingularBoolField(value: &_storage._enableCombatStatStages) }() + case 4: try { try decoder.decodeSingularUInt32Field(value: &_storage._minimumPlayerLevel) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._maximumDailyNpcRewardedBattles) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._activeCombatUpdateIntervalMs) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._waitingForPlayerUpdateIntervalMs) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._readyForBattleUpdateIntervalMs) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._preMoveSubmitWindowMs) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._postMoveSubmitWindowMs) }() + case 11: try { try decoder.decodeSingularBoolField(value: &_storage._enableSockets) }() + case 12: try { try decoder.decodeSingularBoolField(value: &_storage._enableSpinMinigame) }() + case 13: try { try decoder.decodeSingularBoolField(value: &_storage._enableQuickSwapV2) }() + case 14: try { try decoder.decodeSingularBoolField(value: &_storage._deprecatedVsSeekerSetting) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._vsSeekerWalkingDistPollDurationMs) }() + case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._vsSeekerPlayerMinLevel) }() + case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._matchmakingPollDurationMs) }() + case 18: try { try decoder.decodeSingularBoolField(value: &_storage._enableParticleMinigame) }() + case 19: try { try decoder.decodeSingularBoolField(value: &_storage._enableVsSeekerUpgradeIap) }() + case 20: try { try decoder.decodeSingularBoolField(value: &_storage._enableFlyoutAnimations) }() + case 21: try { try decoder.decodeSingularBoolField(value: &_storage._enableBattleHub) }() + case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._matchmakingTimeoutDurationMs) }() + case 23: try { try decoder.decodeSingularInt64Field(value: &_storage._plannedDowntimeTimestampMs) }() + case 24: try { try decoder.decodeSingularInt32Field(value: &_storage._latencyCompensationThresholdMs) }() + case 25: try { try decoder.decodeRepeatedEnumField(value: &_storage._combatRefactorAllowlistSet1) }() + case 26: try { try decoder.decodeRepeatedStringField(value: &_storage._combatRefactorAllowlistGblLeagues) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.sendMarketingEmails != false { - try visitor.visitSingularBoolField(value: self.sendMarketingEmails, fieldNumber: 1) - } - if self.sendPushNotifications != false { - try visitor.visitSingularBoolField(value: self.sendPushNotifications, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if _storage._enableCombat != false { + try visitor.visitSingularBoolField(value: _storage._enableCombat, fieldNumber: 1) + } + if _storage._maximumDailyRewardedBattles != 0 { + try visitor.visitSingularInt32Field(value: _storage._maximumDailyRewardedBattles, fieldNumber: 2) + } + if _storage._enableCombatStatStages != false { + try visitor.visitSingularBoolField(value: _storage._enableCombatStatStages, fieldNumber: 3) + } + if _storage._minimumPlayerLevel != 0 { + try visitor.visitSingularUInt32Field(value: _storage._minimumPlayerLevel, fieldNumber: 4) + } + if _storage._maximumDailyNpcRewardedBattles != 0 { + try visitor.visitSingularInt32Field(value: _storage._maximumDailyNpcRewardedBattles, fieldNumber: 5) + } + if _storage._activeCombatUpdateIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._activeCombatUpdateIntervalMs, fieldNumber: 6) + } + if _storage._waitingForPlayerUpdateIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._waitingForPlayerUpdateIntervalMs, fieldNumber: 7) + } + if _storage._readyForBattleUpdateIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._readyForBattleUpdateIntervalMs, fieldNumber: 8) + } + if _storage._preMoveSubmitWindowMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._preMoveSubmitWindowMs, fieldNumber: 9) + } + if _storage._postMoveSubmitWindowMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._postMoveSubmitWindowMs, fieldNumber: 10) + } + if _storage._enableSockets != false { + try visitor.visitSingularBoolField(value: _storage._enableSockets, fieldNumber: 11) + } + if _storage._enableSpinMinigame != false { + try visitor.visitSingularBoolField(value: _storage._enableSpinMinigame, fieldNumber: 12) + } + if _storage._enableQuickSwapV2 != false { + try visitor.visitSingularBoolField(value: _storage._enableQuickSwapV2, fieldNumber: 13) + } + if _storage._deprecatedVsSeekerSetting != false { + try visitor.visitSingularBoolField(value: _storage._deprecatedVsSeekerSetting, fieldNumber: 14) + } + if _storage._vsSeekerWalkingDistPollDurationMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._vsSeekerWalkingDistPollDurationMs, fieldNumber: 15) + } + if _storage._vsSeekerPlayerMinLevel != 0 { + try visitor.visitSingularInt32Field(value: _storage._vsSeekerPlayerMinLevel, fieldNumber: 16) + } + if _storage._matchmakingPollDurationMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._matchmakingPollDurationMs, fieldNumber: 17) + } + if _storage._enableParticleMinigame != false { + try visitor.visitSingularBoolField(value: _storage._enableParticleMinigame, fieldNumber: 18) + } + if _storage._enableVsSeekerUpgradeIap != false { + try visitor.visitSingularBoolField(value: _storage._enableVsSeekerUpgradeIap, fieldNumber: 19) + } + if _storage._enableFlyoutAnimations != false { + try visitor.visitSingularBoolField(value: _storage._enableFlyoutAnimations, fieldNumber: 20) + } + if _storage._enableBattleHub != false { + try visitor.visitSingularBoolField(value: _storage._enableBattleHub, fieldNumber: 21) + } + if _storage._matchmakingTimeoutDurationMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._matchmakingTimeoutDurationMs, fieldNumber: 22) + } + if _storage._plannedDowntimeTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._plannedDowntimeTimestampMs, fieldNumber: 23) + } + if _storage._latencyCompensationThresholdMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._latencyCompensationThresholdMs, fieldNumber: 24) + } + if !_storage._combatRefactorAllowlistSet1.isEmpty { + try visitor.visitPackedEnumField(value: _storage._combatRefactorAllowlistSet1, fieldNumber: 25) + } + if !_storage._combatRefactorAllowlistGblLeagues.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._combatRefactorAllowlistGblLeagues, fieldNumber: 26) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContactSettingsProto, rhs: ContactSettingsProto) -> Bool { - if lhs.sendMarketingEmails != rhs.sendMarketingEmails {return false} - if lhs.sendPushNotifications != rhs.sendPushNotifications {return false} + public static func ==(lhs: CombatGlobalSettingsProto, rhs: CombatGlobalSettingsProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._enableCombat != rhs_storage._enableCombat {return false} + if _storage._maximumDailyRewardedBattles != rhs_storage._maximumDailyRewardedBattles {return false} + if _storage._enableCombatStatStages != rhs_storage._enableCombatStatStages {return false} + if _storage._minimumPlayerLevel != rhs_storage._minimumPlayerLevel {return false} + if _storage._maximumDailyNpcRewardedBattles != rhs_storage._maximumDailyNpcRewardedBattles {return false} + if _storage._activeCombatUpdateIntervalMs != rhs_storage._activeCombatUpdateIntervalMs {return false} + if _storage._waitingForPlayerUpdateIntervalMs != rhs_storage._waitingForPlayerUpdateIntervalMs {return false} + if _storage._readyForBattleUpdateIntervalMs != rhs_storage._readyForBattleUpdateIntervalMs {return false} + if _storage._preMoveSubmitWindowMs != rhs_storage._preMoveSubmitWindowMs {return false} + if _storage._postMoveSubmitWindowMs != rhs_storage._postMoveSubmitWindowMs {return false} + if _storage._enableSockets != rhs_storage._enableSockets {return false} + if _storage._enableSpinMinigame != rhs_storage._enableSpinMinigame {return false} + if _storage._enableQuickSwapV2 != rhs_storage._enableQuickSwapV2 {return false} + if _storage._deprecatedVsSeekerSetting != rhs_storage._deprecatedVsSeekerSetting {return false} + if _storage._vsSeekerWalkingDistPollDurationMs != rhs_storage._vsSeekerWalkingDistPollDurationMs {return false} + if _storage._vsSeekerPlayerMinLevel != rhs_storage._vsSeekerPlayerMinLevel {return false} + if _storage._matchmakingPollDurationMs != rhs_storage._matchmakingPollDurationMs {return false} + if _storage._enableParticleMinigame != rhs_storage._enableParticleMinigame {return false} + if _storage._enableVsSeekerUpgradeIap != rhs_storage._enableVsSeekerUpgradeIap {return false} + if _storage._enableFlyoutAnimations != rhs_storage._enableFlyoutAnimations {return false} + if _storage._enableBattleHub != rhs_storage._enableBattleHub {return false} + if _storage._matchmakingTimeoutDurationMs != rhs_storage._matchmakingTimeoutDurationMs {return false} + if _storage._plannedDowntimeTimestampMs != rhs_storage._plannedDowntimeTimestampMs {return false} + if _storage._latencyCompensationThresholdMs != rhs_storage._latencyCompensationThresholdMs {return false} + if _storage._combatRefactorAllowlistSet1 != rhs_storage._combatRefactorAllowlistSet1 {return false} + if _storage._combatRefactorAllowlistGblLeagues != rhs_storage._combatRefactorAllowlistGblLeagues {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestBadgeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestBadgeData" +extension CombatGlobalSettingsProto.CombatRefactorFlags: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE"), + 1: .same(proto: "TRAINER_NPC_COMBAT"), + 2: .same(proto: "INVASION_GRUNT_COMBAT"), + 3: .same(proto: "INVASION_BOSS_COMBAT"), + 4: .same(proto: "FRIEND_COMBAT"), + ] +} + +extension CombatHubEntranceTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatHubEntranceTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "number_of_first_place_wins"), - 2: .standard(proto: "contest_data"), + 1: .standard(proto: "combat_hub_telemetry_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186774,35 +190465,31 @@ extension ContestBadgeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.numberOfFirstPlaceWins) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contestData) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.combatHubTelemetryID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numberOfFirstPlaceWins != 0 { - try visitor.visitSingularInt32Field(value: self.numberOfFirstPlaceWins, fieldNumber: 1) - } - if !self.contestData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contestData, fieldNumber: 2) + if self.combatHubTelemetryID != .undefinedEvent { + try visitor.visitSingularEnumField(value: self.combatHubTelemetryID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestBadgeData, rhs: ContestBadgeData) -> Bool { - if lhs.numberOfFirstPlaceWins != rhs.numberOfFirstPlaceWins {return false} - if lhs.contestData != rhs.contestData {return false} + public static func ==(lhs: CombatHubEntranceTelemetry, rhs: CombatHubEntranceTelemetry) -> Bool { + if lhs.combatHubTelemetryID != rhs.combatHubTelemetryID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestBuddyFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestBuddyFocusProto" +extension CombatIdMismatchData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatIdMismatchData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_buddy_level"), + 1: .standard(proto: "non_matching_combat_id"), + 2: .standard(proto: "log_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186811,34 +190498,48 @@ extension ContestBuddyFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.minBuddyLevel) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.nonMatchingCombatID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.logType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minBuddyLevel != .unset { - try visitor.visitSingularEnumField(value: self.minBuddyLevel, fieldNumber: 1) + if !self.nonMatchingCombatID.isEmpty { + try visitor.visitSingularStringField(value: self.nonMatchingCombatID, fieldNumber: 1) + } + if self.logType != .noType { + try visitor.visitSingularEnumField(value: self.logType, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestBuddyFocusProto, rhs: ContestBuddyFocusProto) -> Bool { - if lhs.minBuddyLevel != rhs.minBuddyLevel {return false} + public static func ==(lhs: CombatIdMismatchData, rhs: CombatIdMismatchData) -> Bool { + if lhs.nonMatchingCombatID != rhs.nonMatchingCombatID {return false} + if lhs.logType != rhs.logType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestCycleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestCycleProto" +extension CombatLeagueProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatLeagueProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "start_time_ms"), - 2: .standard(proto: "end_time_ms"), - 3: .standard(proto: "contest_occurrence"), - 4: .standard(proto: "custom_cycle_warmup_duration_ms"), - 5: .standard(proto: "custom_cycle_cooldown_duration_ms"), + 1: .same(proto: "title"), + 2: .same(proto: "enabled"), + 3: .standard(proto: "unlock_condition"), + 4: .standard(proto: "pokemon_condition"), + 5: .standard(proto: "icon_url"), + 6: .standard(proto: "pokemon_count"), + 7: .standard(proto: "banned_pokemon"), + 8: .standard(proto: "badge_type"), + 9: .standard(proto: "minigame_defense_chance_limit"), + 10: .standard(proto: "battle_party_combat_league_template_id"), + 11: .standard(proto: "league_type"), + 12: .standard(proto: "border_color_hex"), + 13: .standard(proto: "allow_temp_evos"), + 14: .standard(proto: "combat_experiment"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186847,50 +190548,120 @@ extension ContestCycleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.startTimeMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMs) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.contestOccurrence) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.customCycleWarmupDurationMs) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.customCycleCooldownDurationMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.unlockCondition) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonCondition) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.iconURL) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.pokemonCount) }() + case 7: try { try decoder.decodeRepeatedEnumField(value: &self.bannedPokemon) }() + case 8: try { try decoder.decodeSingularEnumField(value: &self.badgeType) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.minigameDefenseChanceLimit) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.battlePartyCombatLeagueTemplateID) }() + case 11: try { try decoder.decodeSingularEnumField(value: &self.leagueType) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.borderColorHex) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.allowTempEvos) }() + case 14: try { try decoder.decodeRepeatedEnumField(value: &self.combatExperiment) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.startTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.startTimeMs, fieldNumber: 1) + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) } - if self.endTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.endTimeMs, fieldNumber: 2) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 2) } - if self.contestOccurrence != .unset { - try visitor.visitSingularEnumField(value: self.contestOccurrence, fieldNumber: 3) + if !self.unlockCondition.isEmpty { + try visitor.visitRepeatedMessageField(value: self.unlockCondition, fieldNumber: 3) } - if self.customCycleWarmupDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.customCycleWarmupDurationMs, fieldNumber: 4) + if !self.pokemonCondition.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemonCondition, fieldNumber: 4) } - if self.customCycleCooldownDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.customCycleCooldownDurationMs, fieldNumber: 5) + if !self.iconURL.isEmpty { + try visitor.visitSingularStringField(value: self.iconURL, fieldNumber: 5) + } + if self.pokemonCount != 0 { + try visitor.visitSingularInt32Field(value: self.pokemonCount, fieldNumber: 6) + } + if !self.bannedPokemon.isEmpty { + try visitor.visitPackedEnumField(value: self.bannedPokemon, fieldNumber: 7) + } + if self.badgeType != .badgeUnset { + try visitor.visitSingularEnumField(value: self.badgeType, fieldNumber: 8) + } + if self.minigameDefenseChanceLimit != 0 { + try visitor.visitSingularInt32Field(value: self.minigameDefenseChanceLimit, fieldNumber: 9) + } + if !self.battlePartyCombatLeagueTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.battlePartyCombatLeagueTemplateID, fieldNumber: 10) + } + if self.leagueType != .none { + try visitor.visitSingularEnumField(value: self.leagueType, fieldNumber: 11) + } + if !self.borderColorHex.isEmpty { + try visitor.visitSingularStringField(value: self.borderColorHex, fieldNumber: 12) + } + if self.allowTempEvos != false { + try visitor.visitSingularBoolField(value: self.allowTempEvos, fieldNumber: 13) + } + if !self.combatExperiment.isEmpty { + try visitor.visitPackedEnumField(value: self.combatExperiment, fieldNumber: 14) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestCycleProto, rhs: ContestCycleProto) -> Bool { - if lhs.startTimeMs != rhs.startTimeMs {return false} - if lhs.endTimeMs != rhs.endTimeMs {return false} - if lhs.contestOccurrence != rhs.contestOccurrence {return false} - if lhs.customCycleWarmupDurationMs != rhs.customCycleWarmupDurationMs {return false} - if lhs.customCycleCooldownDurationMs != rhs.customCycleCooldownDurationMs {return false} + public static func ==(lhs: CombatLeagueProto, rhs: CombatLeagueProto) -> Bool { + if lhs.title != rhs.title {return false} + if lhs.enabled != rhs.enabled {return false} + if lhs.unlockCondition != rhs.unlockCondition {return false} + if lhs.pokemonCondition != rhs.pokemonCondition {return false} + if lhs.iconURL != rhs.iconURL {return false} + if lhs.pokemonCount != rhs.pokemonCount {return false} + if lhs.bannedPokemon != rhs.bannedPokemon {return false} + if lhs.badgeType != rhs.badgeType {return false} + if lhs.minigameDefenseChanceLimit != rhs.minigameDefenseChanceLimit {return false} + if lhs.battlePartyCombatLeagueTemplateID != rhs.battlePartyCombatLeagueTemplateID {return false} + if lhs.leagueType != rhs.leagueType {return false} + if lhs.borderColorHex != rhs.borderColorHex {return false} + if lhs.allowTempEvos != rhs.allowTempEvos {return false} + if lhs.combatExperiment != rhs.combatExperiment {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestDisplayProto" +extension CombatLeagueProto.ConditionType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "style"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "WITH_POKEMON_CP_LIMIT"), + 2: .same(proto: "WITH_PLAYER_LEVEL"), + 3: .same(proto: "WITH_POKEMON_TYPE"), + 4: .same(proto: "WITH_POKEMON_CATEGORY"), + 5: .same(proto: "WITH_UNIQUE_POKEMON"), + 6: .same(proto: "POKEMON_WHITELIST"), + 7: .same(proto: "POKEMON_BANLIST"), + 8: .same(proto: "POKEMON_CAUGHT_TIMESTAMP"), + 9: .same(proto: "POKEMON_LEVEL_RANGE"), + ] +} + +extension CombatLeagueProto.LeagueType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE"), + 1: .same(proto: "STANDARD"), + 2: .same(proto: "PREMIER"), + ] +} + +extension CombatLeagueProto.PokemonBanlist: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonBanlist" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "name"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "group_condition"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186899,39 +190670,45 @@ extension ContestDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.style) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._groupCondition) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.style != .pokestopNormal { - try visitor.visitSingularEnumField(value: self.style, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } + if !self.pokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemon, fieldNumber: 2) + } + try { if let v = self._groupCondition { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestDisplayProto, rhs: ContestDisplayProto) -> Bool { - if lhs.style != rhs.style {return false} + public static func ==(lhs: CombatLeagueProto.PokemonBanlist, rhs: CombatLeagueProto.PokemonBanlist) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.pokemon != rhs.pokemon {return false} + if lhs._groupCondition != rhs._groupCondition {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestEntryProto" +extension CombatLeagueProto.PokemonCaughtTimestamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonCaughtTimestamp" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokedex_id"), - 2: .standard(proto: "pokemon_display"), - 3: .same(proto: "score"), - 4: .same(proto: "rank"), - 5: .standard(proto: "player_avatar"), - 6: .standard(proto: "trainer_name"), - 7: .same(proto: "team"), - 8: .standard(proto: "pokemon_id"), - 9: .standard(proto: "player_id"), - 10: .standard(proto: "pokemon_nickname"), + 1: .standard(proto: "after_timestamp"), + 2: .standard(proto: "before_timestamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -186940,87 +190717,42 @@ extension ContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.score) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.rank) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._playerAvatar) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.trainerName) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.team) }() - case 8: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.pokemonNickname) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.afterTimestamp) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.beforeTimestamp) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) - } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.score != 0 { - try visitor.visitSingularDoubleField(value: self.score, fieldNumber: 3) - } - if self.rank != 0 { - try visitor.visitSingularInt32Field(value: self.rank, fieldNumber: 4) - } - try { if let v = self._playerAvatar { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if !self.trainerName.isEmpty { - try visitor.visitSingularStringField(value: self.trainerName, fieldNumber: 6) - } - if self.team != .unset { - try visitor.visitSingularEnumField(value: self.team, fieldNumber: 7) - } - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 8) - } - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 9) + if self.afterTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.afterTimestamp, fieldNumber: 1) } - if !self.pokemonNickname.isEmpty { - try visitor.visitSingularStringField(value: self.pokemonNickname, fieldNumber: 10) + if self.beforeTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.beforeTimestamp, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestEntryProto, rhs: ContestEntryProto) -> Bool { - if lhs.pokedexID != rhs.pokedexID {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} - if lhs.score != rhs.score {return false} - if lhs.rank != rhs.rank {return false} - if lhs._playerAvatar != rhs._playerAvatar {return false} - if lhs.trainerName != rhs.trainerName {return false} - if lhs.team != rhs.team {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.playerID != rhs.playerID {return false} - if lhs.pokemonNickname != rhs.pokemonNickname {return false} + public static func ==(lhs: CombatLeagueProto.PokemonCaughtTimestamp, rhs: CombatLeagueProto.PokemonCaughtTimestamp) -> Bool { + if lhs.afterTimestamp != rhs.afterTimestamp {return false} + if lhs.beforeTimestamp != rhs.beforeTimestamp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestFocusProto" +extension CombatLeagueProto.PokemonConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonConditionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .same(proto: "region"), - 3: .same(proto: "hatched"), - 4: .same(proto: "mega"), - 5: .same(proto: "shiny"), - 6: .same(proto: "type"), - 7: .same(proto: "buddy"), - 8: .standard(proto: "pokemon_class"), - 9: .standard(proto: "pokemon_family"), + 2: .standard(proto: "with_pokemon_cp_limit"), + 3: .standard(proto: "with_pokemon_type"), + 4: .standard(proto: "with_pokemon_category"), + 5: .standard(proto: "pokemon_whitelist"), + 6: .standard(proto: "pokemon_banlist"), + 7: .standard(proto: "pokemon_caught_timestamp"), + 8: .standard(proto: "pokemon_level_range"), + 1: .same(proto: "type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -187029,121 +190761,96 @@ extension ContestFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: ContestPokemonFocusProto? - var hadOneofValue = false - if let current = self.contestFocus { - hadOneofValue = true - if case .pokemon(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestFocus = .pokemon(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() case 2: try { - var v: ContestRegionFocusProto? + var v: WithPokemonCpLimitProto? var hadOneofValue = false - if let current = self.contestFocus { + if let current = self.condition { hadOneofValue = true - if case .region(let m) = current {v = m} + if case .withPokemonCpLimit(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestFocus = .region(v) + self.condition = .withPokemonCpLimit(v) } }() case 3: try { - var v: ContestHatchedFocusProto? + var v: WithPokemonTypeProto? var hadOneofValue = false - if let current = self.contestFocus { + if let current = self.condition { hadOneofValue = true - if case .hatched(let m) = current {v = m} + if case .withPokemonType(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestFocus = .hatched(v) + self.condition = .withPokemonType(v) } }() case 4: try { - var v: ContestMegaFocusProto? + var v: WithPokemonCategoryProto? var hadOneofValue = false - if let current = self.contestFocus { + if let current = self.condition { hadOneofValue = true - if case .mega(let m) = current {v = m} + if case .withPokemonCategory(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestFocus = .mega(v) + self.condition = .withPokemonCategory(v) } }() case 5: try { - var v: ContestShinyFocusProto? + var v: CombatLeagueProto.PokemonWhitelist? var hadOneofValue = false - if let current = self.contestFocus { + if let current = self.condition { hadOneofValue = true - if case .shiny(let m) = current {v = m} + if case .pokemonWhitelist(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestFocus = .shiny(v) + self.condition = .pokemonWhitelist(v) } }() case 6: try { - var v: ContestTypeFocusProto? + var v: CombatLeagueProto.PokemonBanlist? var hadOneofValue = false - if let current = self.contestFocus { + if let current = self.condition { hadOneofValue = true - if case .type(let m) = current {v = m} + if case .pokemonBanlist(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestFocus = .type(v) + self.condition = .pokemonBanlist(v) } }() case 7: try { - var v: ContestBuddyFocusProto? + var v: CombatLeagueProto.PokemonCaughtTimestamp? var hadOneofValue = false - if let current = self.contestFocus { + if let current = self.condition { hadOneofValue = true - if case .buddy(let m) = current {v = m} + if case .pokemonCaughtTimestamp(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestFocus = .buddy(v) + self.condition = .pokemonCaughtTimestamp(v) } }() case 8: try { - var v: ContestPokemonClassFocusProto? - var hadOneofValue = false - if let current = self.contestFocus { - hadOneofValue = true - if case .pokemonClass(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestFocus = .pokemonClass(v) - } - }() - case 9: try { - var v: ContestPokemonFamilyFocusProto? + var v: CombatLeagueProto.PokemonLevelRange? var hadOneofValue = false - if let current = self.contestFocus { + if let current = self.condition { hadOneofValue = true - if case .pokemonFamily(let m) = current {v = m} + if case .pokemonLevelRange(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestFocus = .pokemonFamily(v) + self.condition = .pokemonLevelRange(v) } }() default: break @@ -187156,161 +190863,61 @@ extension ContestFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - switch self.contestFocus { - case .pokemon?: try { - guard case .pokemon(let v)? = self.contestFocus else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .region?: try { - guard case .region(let v)? = self.contestFocus else { preconditionFailure() } + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + } + switch self.condition { + case .withPokemonCpLimit?: try { + guard case .withPokemonCpLimit(let v)? = self.condition else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 2) }() - case .hatched?: try { - guard case .hatched(let v)? = self.contestFocus else { preconditionFailure() } + case .withPokemonType?: try { + guard case .withPokemonType(let v)? = self.condition else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 3) }() - case .mega?: try { - guard case .mega(let v)? = self.contestFocus else { preconditionFailure() } + case .withPokemonCategory?: try { + guard case .withPokemonCategory(let v)? = self.condition else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 4) }() - case .shiny?: try { - guard case .shiny(let v)? = self.contestFocus else { preconditionFailure() } + case .pokemonWhitelist?: try { + guard case .pokemonWhitelist(let v)? = self.condition else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 5) }() - case .type?: try { - guard case .type(let v)? = self.contestFocus else { preconditionFailure() } + case .pokemonBanlist?: try { + guard case .pokemonBanlist(let v)? = self.condition else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 6) }() - case .buddy?: try { - guard case .buddy(let v)? = self.contestFocus else { preconditionFailure() } + case .pokemonCaughtTimestamp?: try { + guard case .pokemonCaughtTimestamp(let v)? = self.condition else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 7) }() - case .pokemonClass?: try { - guard case .pokemonClass(let v)? = self.contestFocus else { preconditionFailure() } + case .pokemonLevelRange?: try { + guard case .pokemonLevelRange(let v)? = self.condition else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 8) }() - case .pokemonFamily?: try { - guard case .pokemonFamily(let v)? = self.contestFocus else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - }() case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestFocusProto, rhs: ContestFocusProto) -> Bool { - if lhs.contestFocus != rhs.contestFocus {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ContestFriendEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestFriendEntryProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "trainer_name"), - 2: .standard(proto: "friendship_level_milestone"), - 3: .same(proto: "rank"), - 4: .standard(proto: "player_avatar"), - 5: .same(proto: "team"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.trainerName) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.friendshipLevelMilestone) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.rank) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._playerAvatar) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.team) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.trainerName.isEmpty { - try visitor.visitSingularStringField(value: self.trainerName, fieldNumber: 1) - } - if self.friendshipLevelMilestone != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: self.friendshipLevelMilestone, fieldNumber: 2) - } - if self.rank != 0 { - try visitor.visitSingularInt32Field(value: self.rank, fieldNumber: 3) - } - try { if let v = self._playerAvatar { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.team != .unset { - try visitor.visitSingularEnumField(value: self.team, fieldNumber: 5) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ContestFriendEntryProto, rhs: ContestFriendEntryProto) -> Bool { - if lhs.trainerName != rhs.trainerName {return false} - if lhs.friendshipLevelMilestone != rhs.friendshipLevelMilestone {return false} - if lhs.rank != rhs.rank {return false} - if lhs._playerAvatar != rhs._playerAvatar {return false} - if lhs.team != rhs.team {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ContestHatchedFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestHatchedFocusProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "require_to_be_hatched"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.requireToBeHatched) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.requireToBeHatched != false { - try visitor.visitSingularBoolField(value: self.requireToBeHatched, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ContestHatchedFocusProto, rhs: ContestHatchedFocusProto) -> Bool { - if lhs.requireToBeHatched != rhs.requireToBeHatched {return false} + public static func ==(lhs: CombatLeagueProto.PokemonConditionProto, rhs: CombatLeagueProto.PokemonConditionProto) -> Bool { + if lhs.condition != rhs.condition {return false} + if lhs.type != rhs.type {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestInfoProto" +extension CombatLeagueProto.PokemonGroupConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonGroupConditionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contest_id"), - 2: .standard(proto: "pokemon_id"), - 3: .same(proto: "ranking"), - 4: .standard(proto: "fort_image_url"), - 5: .standard(proto: "pokemon_display"), - 6: .standard(proto: "fort_name"), - 7: .standard(proto: "rewards_template_id"), - 8: .standard(proto: "pokedex_id"), - 9: .standard(proto: "local_end_time_ms"), - 10: .standard(proto: "is_ranking_locked"), - 11: .standard(proto: "evolved_pokemon_id"), + 1: .standard(proto: "pokedex_range"), + 2: .standard(proto: "can_evolve"), + 3: .standard(proto: "has_mega"), + 4: .standard(proto: "is_evolved"), + 5: .standard(proto: "pokemon_class"), + 6: .same(proto: "alignment"), + 7: .standard(proto: "pokemon_size"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -187319,89 +190926,61 @@ extension ContestInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.contestID) }() - case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.ranking) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.fortImageURL) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.fortName) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.rewardsTemplateID) }() - case 8: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() - case 9: try { try decoder.decodeSingularInt64Field(value: &self.localEndTimeMs) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.isRankingLocked) }() - case 11: try { try decoder.decodeSingularFixed64Field(value: &self.evolvedPokemonID) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.pokedexRange) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.canEvolve) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.hasMega_p) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isEvolved) }() + case 5: try { try decoder.decodeRepeatedEnumField(value: &self.pokemonClass) }() + case 6: try { try decoder.decodeRepeatedEnumField(value: &self.alignment) }() + case 7: try { try decoder.decodeRepeatedEnumField(value: &self.pokemonSize) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.contestID.isEmpty { - try visitor.visitSingularStringField(value: self.contestID, fieldNumber: 1) - } - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 2) - } - if self.ranking != 0 { - try visitor.visitSingularInt32Field(value: self.ranking, fieldNumber: 3) + if !self.pokedexRange.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokedexRange, fieldNumber: 1) } - if !self.fortImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.fortImageURL, fieldNumber: 4) - } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if !self.fortName.isEmpty { - try visitor.visitSingularStringField(value: self.fortName, fieldNumber: 6) + if self.canEvolve != false { + try visitor.visitSingularBoolField(value: self.canEvolve, fieldNumber: 2) } - if !self.rewardsTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.rewardsTemplateID, fieldNumber: 7) + if self.hasMega_p != false { + try visitor.visitSingularBoolField(value: self.hasMega_p, fieldNumber: 3) } - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 8) + if self.isEvolved != false { + try visitor.visitSingularBoolField(value: self.isEvolved, fieldNumber: 4) } - if self.localEndTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.localEndTimeMs, fieldNumber: 9) + if !self.pokemonClass.isEmpty { + try visitor.visitPackedEnumField(value: self.pokemonClass, fieldNumber: 5) } - if self.isRankingLocked != false { - try visitor.visitSingularBoolField(value: self.isRankingLocked, fieldNumber: 10) + if !self.alignment.isEmpty { + try visitor.visitPackedEnumField(value: self.alignment, fieldNumber: 6) } - if self.evolvedPokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.evolvedPokemonID, fieldNumber: 11) + if !self.pokemonSize.isEmpty { + try visitor.visitPackedEnumField(value: self.pokemonSize, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestInfoProto, rhs: ContestInfoProto) -> Bool { - if lhs.contestID != rhs.contestID {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.ranking != rhs.ranking {return false} - if lhs.fortImageURL != rhs.fortImageURL {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} - if lhs.fortName != rhs.fortName {return false} - if lhs.rewardsTemplateID != rhs.rewardsTemplateID {return false} - if lhs.pokedexID != rhs.pokedexID {return false} - if lhs.localEndTimeMs != rhs.localEndTimeMs {return false} - if lhs.isRankingLocked != rhs.isRankingLocked {return false} - if lhs.evolvedPokemonID != rhs.evolvedPokemonID {return false} + public static func ==(lhs: CombatLeagueProto.PokemonGroupConditionProto, rhs: CombatLeagueProto.PokemonGroupConditionProto) -> Bool { + if lhs.pokedexRange != rhs.pokedexRange {return false} + if lhs.canEvolve != rhs.canEvolve {return false} + if lhs.hasMega_p != rhs.hasMega_p {return false} + if lhs.isEvolved != rhs.isEvolved {return false} + if lhs.pokemonClass != rhs.pokemonClass {return false} + if lhs.alignment != rhs.alignment {return false} + if lhs.pokemonSize != rhs.pokemonSize {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestInfoSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestInfoSummaryProto" +extension CombatLeagueProto.PokemonGroupConditionProto.PokedexNumberRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLeagueProto.PokemonGroupConditionProto.protoMessageName + ".PokedexNumberRange" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contest_info"), - 2: .standard(proto: "traded_contest_pokemon_id"), - 3: .standard(proto: "is_ranking_locked"), - 4: .standard(proto: "end_time_ms"), - 5: .same(proto: "metric"), - 6: .standard(proto: "num_contests_entered"), + 1: .same(proto: "start"), + 2: .same(proto: "end"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -187410,61 +190989,36 @@ extension ContestInfoSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contestInfo) }() - case 2: try { try decoder.decodeRepeatedFixed64Field(value: &self.tradedContestPokemonID) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.isRankingLocked) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMs) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._metric) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.numContestsEntered) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.start) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.end) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.contestInfo.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contestInfo, fieldNumber: 1) - } - if !self.tradedContestPokemonID.isEmpty { - try visitor.visitPackedFixed64Field(value: self.tradedContestPokemonID, fieldNumber: 2) - } - if self.isRankingLocked != false { - try visitor.visitSingularBoolField(value: self.isRankingLocked, fieldNumber: 3) - } - if self.endTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.endTimeMs, fieldNumber: 4) + if self.start != 0 { + try visitor.visitSingularInt32Field(value: self.start, fieldNumber: 1) } - try { if let v = self._metric { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if self.numContestsEntered != 0 { - try visitor.visitSingularInt32Field(value: self.numContestsEntered, fieldNumber: 6) + if self.end != 0 { + try visitor.visitSingularInt32Field(value: self.end, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestInfoSummaryProto, rhs: ContestInfoSummaryProto) -> Bool { - if lhs.contestInfo != rhs.contestInfo {return false} - if lhs.tradedContestPokemonID != rhs.tradedContestPokemonID {return false} - if lhs.isRankingLocked != rhs.isRankingLocked {return false} - if lhs.endTimeMs != rhs.endTimeMs {return false} - if lhs._metric != rhs._metric {return false} - if lhs.numContestsEntered != rhs.numContestsEntered {return false} + public static func ==(lhs: CombatLeagueProto.PokemonGroupConditionProto.PokedexNumberRange, rhs: CombatLeagueProto.PokemonGroupConditionProto.PokedexNumberRange) -> Bool { + if lhs.start != rhs.start {return false} + if lhs.end != rhs.end {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestLengthThresholdsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestLengthThresholdsProto" +extension CombatLeagueProto.PokemonLevelRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonLevelRange" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "length"), - 2: .standard(proto: "min_duration_ms"), - 3: .standard(proto: "max_duration_ms"), + 1: .standard(proto: "min_level"), + 2: .standard(proto: "max_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -187473,42 +191027,37 @@ extension ContestLengthThresholdsProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.length) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.minDurationMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.maxDurationMs) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.length.isEmpty { - try visitor.visitSingularStringField(value: self.length, fieldNumber: 1) - } - if self.minDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.minDurationMs, fieldNumber: 2) + if self.minLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minLevel, fieldNumber: 1) } - if self.maxDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.maxDurationMs, fieldNumber: 3) + if self.maxLevel != 0 { + try visitor.visitSingularInt32Field(value: self.maxLevel, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestLengthThresholdsProto, rhs: ContestLengthThresholdsProto) -> Bool { - if lhs.length != rhs.length {return false} - if lhs.minDurationMs != rhs.minDurationMs {return false} - if lhs.maxDurationMs != rhs.maxDurationMs {return false} + public static func ==(lhs: CombatLeagueProto.PokemonLevelRange, rhs: CombatLeagueProto.PokemonLevelRange) -> Bool { + if lhs.minLevel != rhs.minLevel {return false} + if lhs.maxLevel != rhs.maxLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestLimitProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestLimitProto" +extension CombatLeagueProto.PokemonWhitelist: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonWhitelist" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contest_metric"), - 2: .standard(proto: "contest_occurrence"), - 3: .standard(proto: "per_contest_max_entries"), + 1: .same(proto: "name"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "group_condition"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -187517,9 +191066,9 @@ extension ContestLimitProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.contestOccurrence) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.perContestMaxEntries) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._groupCondition) }() default: break } } @@ -187530,112 +191079,33 @@ extension ContestLimitProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._contestMetric { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.contestOccurrence != .unset { - try visitor.visitSingularEnumField(value: self.contestOccurrence, fieldNumber: 2) - } - if self.perContestMaxEntries != 0 { - try visitor.visitSingularInt32Field(value: self.perContestMaxEntries, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ContestLimitProto, rhs: ContestLimitProto) -> Bool { - if lhs._contestMetric != rhs._contestMetric {return false} - if lhs.contestOccurrence != rhs.contestOccurrence {return false} - if lhs.perContestMaxEntries != rhs.perContestMaxEntries {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ContestMegaFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestMegaFocusProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "temporary_evolution_required"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.temporaryEvolutionRequired) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.temporaryEvolutionRequired != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: self.temporaryEvolutionRequired, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ContestMegaFocusProto, rhs: ContestMegaFocusProto) -> Bool { - if lhs.temporaryEvolutionRequired != rhs.temporaryEvolutionRequired {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ContestMetricProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestMetricProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_metric"), - 2: .standard(proto: "ranking_standard"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { - var v: ContestPokemonMetric? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.metric != nil {try decoder.handleConflictingOneOf()} - self.metric = .pokemonMetric(v) - } - }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.rankingStandard) }() - default: break - } + if !self.pokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemon, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if case .pokemonMetric(let v)? = self.metric { - try visitor.visitSingularEnumField(value: v, fieldNumber: 1) + try { if let v = self._groupCondition { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() - if self.rankingStandard != .unset { - try visitor.visitSingularEnumField(value: self.rankingStandard, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestMetricProto, rhs: ContestMetricProto) -> Bool { - if lhs.metric != rhs.metric {return false} - if lhs.rankingStandard != rhs.rankingStandard {return false} + public static func ==(lhs: CombatLeagueProto.PokemonWhitelist, rhs: CombatLeagueProto.PokemonWhitelist) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.pokemon != rhs.pokemon {return false} + if lhs._groupCondition != rhs._groupCondition {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestPokemonClassFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestPokemonClassFocusProto" +extension CombatLeagueProto.PokemonWithForm: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".PokemonWithForm" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "required_class"), + 1: .same(proto: "id"), + 2: .same(proto: "form"), + 3: .same(proto: "forms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -187644,64 +191114,49 @@ extension ContestPokemonClassFocusProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.requiredClass) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.id) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.form) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.forms) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.requiredClass != .pokemonClassNormal { - try visitor.visitSingularEnumField(value: self.requiredClass, fieldNumber: 1) + if self.id != .missingno { + try visitor.visitSingularEnumField(value: self.id, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ContestPokemonClassFocusProto, rhs: ContestPokemonClassFocusProto) -> Bool { - if lhs.requiredClass != rhs.requiredClass {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ContestPokemonFamilyFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestPokemonFamilyFocusProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "required_family"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.requiredFamily) }() - default: break - } + if self.form != .unset { + try visitor.visitSingularEnumField(value: self.form, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - if self.requiredFamily != .familyUnset { - try visitor.visitSingularEnumField(value: self.requiredFamily, fieldNumber: 1) + if !self.forms.isEmpty { + try visitor.visitPackedEnumField(value: self.forms, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestPokemonFamilyFocusProto, rhs: ContestPokemonFamilyFocusProto) -> Bool { - if lhs.requiredFamily != rhs.requiredFamily {return false} + public static func ==(lhs: CombatLeagueProto.PokemonWithForm, rhs: CombatLeagueProto.PokemonWithForm) -> Bool { + if lhs.id != rhs.id {return false} + if lhs.form != rhs.form {return false} + if lhs.forms != rhs.forms {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestPokemonFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestPokemonFocusProto" +extension CombatLeagueProto.UnlockConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLeagueProto.protoMessageName + ".UnlockConditionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokedex_id"), - 2: .standard(proto: "pokemon_display"), - 3: .standard(proto: "require_form_to_match"), + 3: .standard(proto: "with_player_level"), + 4: .standard(proto: "with_pokemon_cp_limit"), + 5: .standard(proto: "with_pokemon_type"), + 6: .standard(proto: "with_pokemon_category"), + 7: .standard(proto: "pokemon_whitelist"), + 8: .standard(proto: "pokemon_banlist"), + 9: .standard(proto: "pokemon_caught_timestamp"), + 10: .standard(proto: "pokemon_level_range"), + 1: .same(proto: "type"), + 2: .standard(proto: "min_pokemon_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -187710,9 +191165,112 @@ extension ContestPokemonFocusProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.requireFormToMatch) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPokemonCount) }() + case 3: try { + var v: WithPlayerLevelProto? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .withPlayerLevel(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .withPlayerLevel(v) + } + }() + case 4: try { + var v: WithPokemonCpLimitProto? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .withPokemonCpLimit(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .withPokemonCpLimit(v) + } + }() + case 5: try { + var v: WithPokemonTypeProto? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .withPokemonType(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .withPokemonType(v) + } + }() + case 6: try { + var v: WithPokemonCategoryProto? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .withPokemonCategory(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .withPokemonCategory(v) + } + }() + case 7: try { + var v: CombatLeagueProto.PokemonWhitelist? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .pokemonWhitelist(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .pokemonWhitelist(v) + } + }() + case 8: try { + var v: CombatLeagueProto.PokemonBanlist? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .pokemonBanlist(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .pokemonBanlist(v) + } + }() + case 9: try { + var v: CombatLeagueProto.PokemonCaughtTimestamp? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .pokemonCaughtTimestamp(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .pokemonCaughtTimestamp(v) + } + }() + case 10: try { + var v: CombatLeagueProto.PokemonLevelRange? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .pokemonLevelRange(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .pokemonLevelRange(v) + } + }() default: break } } @@ -187723,56 +191281,63 @@ extension ContestPokemonFocusProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) - } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.requireFormToMatch != false { - try visitor.visitSingularBoolField(value: self.requireFormToMatch, fieldNumber: 3) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ContestPokemonFocusProto, rhs: ContestPokemonFocusProto) -> Bool { - if lhs.pokedexID != rhs.pokedexID {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} - if lhs.requireFormToMatch != rhs.requireFormToMatch {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ContestPokemonSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestPokemonSectionProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.minPokemonCount != 0 { + try visitor.visitSingularInt32Field(value: self.minPokemonCount, fieldNumber: 2) + } + switch self.condition { + case .withPlayerLevel?: try { + guard case .withPlayerLevel(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .withPokemonCpLimit?: try { + guard case .withPokemonCpLimit(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .withPokemonType?: try { + guard case .withPokemonType(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .withPokemonCategory?: try { + guard case .withPokemonCategory(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + }() + case .pokemonWhitelist?: try { + guard case .pokemonWhitelist(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + }() + case .pokemonBanlist?: try { + guard case .pokemonBanlist(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + }() + case .pokemonCaughtTimestamp?: try { + guard case .pokemonCaughtTimestamp(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + }() + case .pokemonLevelRange?: try { + guard case .pokemonLevelRange(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + }() + case nil: break } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestPokemonSectionProto, rhs: ContestPokemonSectionProto) -> Bool { + public static func ==(lhs: CombatLeagueProto.UnlockConditionProto, rhs: CombatLeagueProto.UnlockConditionProto) -> Bool { + if lhs.condition != rhs.condition {return false} + if lhs.type != rhs.type {return false} + if lhs.minPokemonCount != rhs.minPokemonCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestProto" +extension CombatLeagueSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatLeagueSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contest_id"), - 2: .same(proto: "focus"), - 3: .same(proto: "metric"), - 4: .same(proto: "schedule"), - 5: .standard(proto: "rewards_template_id"), - 6: .same(proto: "focuses"), - 7: .standard(proto: "focus_string_key"), + 1: .standard(proto: "combat_league_template_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -187781,182 +191346,1043 @@ extension ContestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.contestID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._focus) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._metric) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._schedule) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.rewardsTemplateID) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.focuses) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.focusStringKey) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.combatLeagueTemplateID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.contestID.isEmpty { - try visitor.visitSingularStringField(value: self.contestID, fieldNumber: 1) - } - try { if let v = self._focus { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._metric { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._schedule { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if !self.rewardsTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.rewardsTemplateID, fieldNumber: 5) - } - if !self.focuses.isEmpty { - try visitor.visitRepeatedMessageField(value: self.focuses, fieldNumber: 6) - } - if !self.focusStringKey.isEmpty { - try visitor.visitSingularStringField(value: self.focusStringKey, fieldNumber: 7) + if !self.combatLeagueTemplateID.isEmpty { + try visitor.visitRepeatedStringField(value: self.combatLeagueTemplateID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestProto, rhs: ContestProto) -> Bool { - if lhs.contestID != rhs.contestID {return false} - if lhs._focus != rhs._focus {return false} - if lhs._metric != rhs._metric {return false} - if lhs._schedule != rhs._schedule {return false} - if lhs.rewardsTemplateID != rhs.rewardsTemplateID {return false} - if lhs.focuses != rhs.focuses {return false} - if lhs.focusStringKey != rhs.focusStringKey {return false} + public static func ==(lhs: CombatLeagueSettingsProto, rhs: CombatLeagueSettingsProto) -> Bool { + if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestRegionFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestRegionFocusProto" +extension CombatLogData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatLogData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "region"), + 2: .standard(proto: "open_combat_session_data"), + 3: .standard(proto: "open_combat_session_response_data"), + 4: .standard(proto: "update_combat_data"), + 5: .standard(proto: "update_combat_response_data"), + 6: .standard(proto: "quit_combat_data"), + 7: .standard(proto: "quit_combat_response_data"), + 8: .standard(proto: "web_socket_response_data"), + 9: .standard(proto: "rpc_error_data"), + 10: .standard(proto: "get_combat_player_profile_data"), + 11: .standard(proto: "get_combat_player_profile_response_data"), + 12: .standard(proto: "generate_combat_challenge_id_data"), + 13: .standard(proto: "generate_combat_challenge_id_response_data"), + 14: .standard(proto: "create_combat_challenge_data"), + 15: .standard(proto: "create_combat_challenge_response_data"), + 16: .standard(proto: "open_combat_challenge_data"), + 17: .standard(proto: "open_combat_challenge_response_data"), + 18: .standard(proto: "open_npc_combat_session_data"), + 19: .standard(proto: "open_npc_combat_session_response_data"), + 20: .standard(proto: "accept_combat_challenge_data"), + 21: .standard(proto: "accept_combat_challenge_response_data"), + 22: .standard(proto: "submit_combat_challenge_pokemons_data"), + 23: .standard(proto: "submit_combat_challenge_pokemons_response_data"), + 24: .standard(proto: "decline_combat_challenge_data"), + 25: .standard(proto: "decline_combat_challenge_response_data"), + 26: .standard(proto: "cancel_combat_challenge_data"), + 27: .standard(proto: "cancel_combat_challenge_response_data"), + 28: .standard(proto: "get_combat_challenge_data"), + 29: .standard(proto: "get_combat_challenge_response_data"), + 30: .standard(proto: "vs_seeker_start_matchmaking_data"), + 31: .standard(proto: "vs_seeker_start_matchmaking_response_data"), + 32: .standard(proto: "get_matchmaking_status_data"), + 33: .standard(proto: "get_matchmaking_status_response_data"), + 34: .standard(proto: "cancel_matchmaking_data"), + 35: .standard(proto: "cancel_matchmaking_response_data"), + 36: .standard(proto: "submit_combat_action"), + 37: .standard(proto: "invasion_open_combat_session_data"), + 38: .standard(proto: "invasion_open_combat_session_response_data"), + 39: .standard(proto: "invasion_battle_update"), + 40: .standard(proto: "invasion_battle_response_update"), + 41: .standard(proto: "combat_id_mismatch_data"), + 42: .standard(proto: "league_id_mismatch_data"), + 43: .standard(proto: "challenge_id_mismatch_data"), + 44: .standard(proto: "progress_token_data"), + 45: .standard(proto: "on_application_focus_data"), + 46: .standard(proto: "on_application_pause_data"), + 47: .standard(proto: "on_application_quit_data"), + 48: .standard(proto: "exception_caught_data"), + 49: .standard(proto: "combat_pub_sub_data"), + 50: .standard(proto: "combat_end_data"), + 51: .standard(proto: "combat_sync_server_data"), + 52: .standard(proto: "combat_sync_server_response_data"), + 53: .standard(proto: "combat_special_move_player_data"), + 1: .same(proto: "header"), ] - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.region) }() - default: break - } - } - } + fileprivate class _StorageClass { + var _data: CombatLogData.OneOf_Data? + var _header: CombatLogData.CombatLogDataHeader? = nil - public func traverse(visitor: inout V) throws { - if self.region != .generationUnset { - try visitor.visitSingularEnumField(value: self.region, fieldNumber: 1) + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _data = source._data + _header = source._header } - try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestRegionFocusProto, rhs: ContestRegionFocusProto) -> Bool { - if lhs.region != rhs.region {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage } -} - -extension ContestScheduleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestScheduleProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contest_cycle"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._contestCycle) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._header) }() + case 2: try { + var v: OpenCombatSessionData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .openCombatSessionData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .openCombatSessionData(v) + } + }() + case 3: try { + var v: OpenCombatSessionResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .openCombatSessionResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .openCombatSessionResponseData(v) + } + }() + case 4: try { + var v: UpdateCombatData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .updateCombatData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .updateCombatData(v) + } + }() + case 5: try { + var v: UpdateCombatResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .updateCombatResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .updateCombatResponseData(v) + } + }() + case 6: try { + var v: QuitCombatData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .quitCombatData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .quitCombatData(v) + } + }() + case 7: try { + var v: QuitCombatResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .quitCombatResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .quitCombatResponseData(v) + } + }() + case 8: try { + var v: WebSocketResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .webSocketResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .webSocketResponseData(v) + } + }() + case 9: try { + var v: RpcErrorData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .rpcErrorData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .rpcErrorData(v) + } + }() + case 10: try { + var v: GetCombatPlayerProfileData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .getCombatPlayerProfileData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .getCombatPlayerProfileData(v) + } + }() + case 11: try { + var v: GetCombatPlayerProfileResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .getCombatPlayerProfileResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .getCombatPlayerProfileResponseData(v) + } + }() + case 12: try { + var v: GenerateCombatChallengeIdData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .generateCombatChallengeIDData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .generateCombatChallengeIDData(v) + } + }() + case 13: try { + var v: GenerateCombatChallengeIdResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .generateCombatChallengeIDResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .generateCombatChallengeIDResponseData(v) + } + }() + case 14: try { + var v: CreateCombatChallengeData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .createCombatChallengeData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .createCombatChallengeData(v) + } + }() + case 15: try { + var v: CreateCombatChallengeResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .createCombatChallengeResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .createCombatChallengeResponseData(v) + } + }() + case 16: try { + var v: OpenCombatChallengeData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .openCombatChallengeData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .openCombatChallengeData(v) + } + }() + case 17: try { + var v: OpenCombatChallengeResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .openCombatChallengeResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .openCombatChallengeResponseData(v) + } + }() + case 18: try { + var v: OpenNpcCombatSessionData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .openNpcCombatSessionData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .openNpcCombatSessionData(v) + } + }() + case 19: try { + var v: OpenNpcCombatSessionResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .openNpcCombatSessionResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .openNpcCombatSessionResponseData(v) + } + }() + case 20: try { + var v: AcceptCombatChallengeData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .acceptCombatChallengeData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .acceptCombatChallengeData(v) + } + }() + case 21: try { + var v: AcceptCombatChallengeResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .acceptCombatChallengeResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .acceptCombatChallengeResponseData(v) + } + }() + case 22: try { + var v: SubmitCombatChallengePokemonsData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .submitCombatChallengePokemonsData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .submitCombatChallengePokemonsData(v) + } + }() + case 23: try { + var v: SubmitCombatChallengePokemonsResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .submitCombatChallengePokemonsResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .submitCombatChallengePokemonsResponseData(v) + } + }() + case 24: try { + var v: DeclineCombatChallengeData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .declineCombatChallengeData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .declineCombatChallengeData(v) + } + }() + case 25: try { + var v: DeclineCombatChallengeResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .declineCombatChallengeResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .declineCombatChallengeResponseData(v) + } + }() + case 26: try { + var v: CancelCombatChallengeData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .cancelCombatChallengeData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .cancelCombatChallengeData(v) + } + }() + case 27: try { + var v: CancelCombatChallengeResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .cancelCombatChallengeResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .cancelCombatChallengeResponseData(v) + } + }() + case 28: try { + var v: GetCombatChallengeData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .getCombatChallengeData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .getCombatChallengeData(v) + } + }() + case 29: try { + var v: GetCombatChallengeResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .getCombatChallengeResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .getCombatChallengeResponseData(v) + } + }() + case 30: try { + var v: VsSeekerStartMatchmakingData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .vsSeekerStartMatchmakingData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .vsSeekerStartMatchmakingData(v) + } + }() + case 31: try { + var v: VsSeekerStartMatchmakingResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .vsSeekerStartMatchmakingResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .vsSeekerStartMatchmakingResponseData(v) + } + }() + case 32: try { + var v: GetMatchmakingStatusData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .getMatchmakingStatusData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .getMatchmakingStatusData(v) + } + }() + case 33: try { + var v: GetMatchmakingStatusResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .getMatchmakingStatusResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .getMatchmakingStatusResponseData(v) + } + }() + case 34: try { + var v: CancelMatchmakingData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .cancelMatchmakingData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .cancelMatchmakingData(v) + } + }() + case 35: try { + var v: CancelMatchmakingResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .cancelMatchmakingResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .cancelMatchmakingResponseData(v) + } + }() + case 36: try { + var v: SubmitCombatAction? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .submitCombatAction(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .submitCombatAction(v) + } + }() + case 37: try { + var v: InvasionOpenCombatSessionData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .invasionOpenCombatSessionData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .invasionOpenCombatSessionData(v) + } + }() + case 38: try { + var v: InvasionOpenCombatSessionResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .invasionOpenCombatSessionResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .invasionOpenCombatSessionResponseData(v) + } + }() + case 39: try { + var v: InvasionBattleUpdate? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .invasionBattleUpdate(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .invasionBattleUpdate(v) + } + }() + case 40: try { + var v: InvasionBattleResponseUpdate? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .invasionBattleResponseUpdate(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .invasionBattleResponseUpdate(v) + } + }() + case 41: try { + var v: CombatIdMismatchData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .combatIDMismatchData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .combatIDMismatchData(v) + } + }() + case 42: try { + var v: LeagueIdMismatchData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .leagueIDMismatchData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .leagueIDMismatchData(v) + } + }() + case 43: try { + var v: ChallengeIdMismatchData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .challengeIDMismatchData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .challengeIDMismatchData(v) + } + }() + case 44: try { + var v: CombatProgressTokenData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .progressTokenData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .progressTokenData(v) + } + }() + case 45: try { + var v: OnApplicationFocusData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .onApplicationFocusData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .onApplicationFocusData(v) + } + }() + case 46: try { + var v: OnApplicationPauseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .onApplicationPauseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .onApplicationPauseData(v) + } + }() + case 47: try { + var v: OnApplicationQuitData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .onApplicationQuitData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .onApplicationQuitData(v) + } + }() + case 48: try { + var v: ExceptionCaughtInCombatData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .exceptionCaughtData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .exceptionCaughtData(v) + } + }() + case 49: try { + var v: CombatPubSubData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .combatPubSubData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .combatPubSubData(v) + } + }() + case 50: try { + var v: CombatEndData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .combatEndData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .combatEndData(v) + } + }() + case 51: try { + var v: CombatSyncServerData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .combatSyncServerData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .combatSyncServerData(v) + } + }() + case 52: try { + var v: CombatSyncServerResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .combatSyncServerResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .combatSyncServerResponseData(v) + } + }() + case 53: try { + var v: CombatSpecialMovePlayerData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .combatSpecialMovePlayerData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .combatSpecialMovePlayerData(v) + } + }() + default: break + } } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._contestCycle { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ContestScheduleProto, rhs: ContestScheduleProto) -> Bool { - if lhs._contestCycle != rhs._contestCycle {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ContestScoreCoefficientProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestScoreCoefficientProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_size"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { - var v: ContestScoreCoefficientProto.PokemonSize? - var hadOneofValue = false - if let current = self.contestType { - hadOneofValue = true - if case .pokemonSize(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contestType = .pokemonSize(v) - } + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._header { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + switch _storage._data { + case .openCombatSessionData?: try { + guard case .openCombatSessionData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .openCombatSessionResponseData?: try { + guard case .openCombatSessionResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .updateCombatData?: try { + guard case .updateCombatData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .updateCombatResponseData?: try { + guard case .updateCombatResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .quitCombatData?: try { + guard case .quitCombatData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + }() + case .quitCombatResponseData?: try { + guard case .quitCombatResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + }() + case .webSocketResponseData?: try { + guard case .webSocketResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + }() + case .rpcErrorData?: try { + guard case .rpcErrorData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + }() + case .getCombatPlayerProfileData?: try { + guard case .getCombatPlayerProfileData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + }() + case .getCombatPlayerProfileResponseData?: try { + guard case .getCombatPlayerProfileResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + }() + case .generateCombatChallengeIDData?: try { + guard case .generateCombatChallengeIDData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + }() + case .generateCombatChallengeIDResponseData?: try { + guard case .generateCombatChallengeIDResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + }() + case .createCombatChallengeData?: try { + guard case .createCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 14) + }() + case .createCombatChallengeResponseData?: try { + guard case .createCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + }() + case .openCombatChallengeData?: try { + guard case .openCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + }() + case .openCombatChallengeResponseData?: try { + guard case .openCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 17) + }() + case .openNpcCombatSessionData?: try { + guard case .openNpcCombatSessionData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 18) + }() + case .openNpcCombatSessionResponseData?: try { + guard case .openNpcCombatSessionResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 19) + }() + case .acceptCombatChallengeData?: try { + guard case .acceptCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 20) + }() + case .acceptCombatChallengeResponseData?: try { + guard case .acceptCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 21) + }() + case .submitCombatChallengePokemonsData?: try { + guard case .submitCombatChallengePokemonsData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 22) + }() + case .submitCombatChallengePokemonsResponseData?: try { + guard case .submitCombatChallengePokemonsResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 23) + }() + case .declineCombatChallengeData?: try { + guard case .declineCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 24) + }() + case .declineCombatChallengeResponseData?: try { + guard case .declineCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 25) + }() + case .cancelCombatChallengeData?: try { + guard case .cancelCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 26) + }() + case .cancelCombatChallengeResponseData?: try { + guard case .cancelCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 27) + }() + case .getCombatChallengeData?: try { + guard case .getCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 28) + }() + case .getCombatChallengeResponseData?: try { + guard case .getCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 29) + }() + case .vsSeekerStartMatchmakingData?: try { + guard case .vsSeekerStartMatchmakingData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 30) + }() + case .vsSeekerStartMatchmakingResponseData?: try { + guard case .vsSeekerStartMatchmakingResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 31) + }() + case .getMatchmakingStatusData?: try { + guard case .getMatchmakingStatusData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 32) + }() + case .getMatchmakingStatusResponseData?: try { + guard case .getMatchmakingStatusResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 33) + }() + case .cancelMatchmakingData?: try { + guard case .cancelMatchmakingData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 34) + }() + case .cancelMatchmakingResponseData?: try { + guard case .cancelMatchmakingResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 35) + }() + case .submitCombatAction?: try { + guard case .submitCombatAction(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 36) + }() + case .invasionOpenCombatSessionData?: try { + guard case .invasionOpenCombatSessionData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 37) + }() + case .invasionOpenCombatSessionResponseData?: try { + guard case .invasionOpenCombatSessionResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 38) + }() + case .invasionBattleUpdate?: try { + guard case .invasionBattleUpdate(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 39) + }() + case .invasionBattleResponseUpdate?: try { + guard case .invasionBattleResponseUpdate(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 40) + }() + case .combatIDMismatchData?: try { + guard case .combatIDMismatchData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 41) + }() + case .leagueIDMismatchData?: try { + guard case .leagueIDMismatchData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 42) + }() + case .challengeIDMismatchData?: try { + guard case .challengeIDMismatchData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 43) + }() + case .progressTokenData?: try { + guard case .progressTokenData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 44) + }() + case .onApplicationFocusData?: try { + guard case .onApplicationFocusData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 45) + }() + case .onApplicationPauseData?: try { + guard case .onApplicationPauseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 46) + }() + case .onApplicationQuitData?: try { + guard case .onApplicationQuitData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 47) + }() + case .exceptionCaughtData?: try { + guard case .exceptionCaughtData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 48) + }() + case .combatPubSubData?: try { + guard case .combatPubSubData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 49) + }() + case .combatEndData?: try { + guard case .combatEndData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 50) + }() + case .combatSyncServerData?: try { + guard case .combatSyncServerData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 51) + }() + case .combatSyncServerResponseData?: try { + guard case .combatSyncServerResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 52) }() - default: break + case .combatSpecialMovePlayerData?: try { + guard case .combatSpecialMovePlayerData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 53) + }() + case nil: break } } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if case .pokemonSize(let v)? = self.contestType { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestScoreCoefficientProto, rhs: ContestScoreCoefficientProto) -> Bool { - if lhs.contestType != rhs.contestType {return false} + public static func ==(lhs: CombatLogData, rhs: CombatLogData) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._data != rhs_storage._data {return false} + if _storage._header != rhs_storage._header {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestScoreCoefficientProto.PokemonSize: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ContestScoreCoefficientProto.protoMessageName + ".PokemonSize" +extension CombatLogData.CombatLogDataHeader: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatLogData.protoMessageName + ".CombatLogDataHeader" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "height_coefficient"), - 2: .standard(proto: "weight_coefficient"), - 3: .standard(proto: "iv_coefficient"), + 1: .same(proto: "type"), + 2: .standard(proto: "time_now_offset_ms"), + 3: .standard(proto: "client_server_time_offset_ms"), + 4: .standard(proto: "frame_rate"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -187965,42 +192391,108 @@ extension ContestScoreCoefficientProto.PokemonSize: SwiftProtobuf.Message, Swift // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.heightCoefficient) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.weightCoefficient) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.ivCoefficient) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.timeNowOffsetMs) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.clientServerTimeOffsetMs) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.frameRate) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.heightCoefficient != 0 { - try visitor.visitSingularDoubleField(value: self.heightCoefficient, fieldNumber: 1) + if self.type != .noType { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } - if self.weightCoefficient != 0 { - try visitor.visitSingularDoubleField(value: self.weightCoefficient, fieldNumber: 2) + if self.timeNowOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.timeNowOffsetMs, fieldNumber: 2) } - if self.ivCoefficient != 0 { - try visitor.visitSingularDoubleField(value: self.ivCoefficient, fieldNumber: 3) + if self.clientServerTimeOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.clientServerTimeOffsetMs, fieldNumber: 3) + } + if self.frameRate != 0 { + try visitor.visitSingularFloatField(value: self.frameRate, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestScoreCoefficientProto.PokemonSize, rhs: ContestScoreCoefficientProto.PokemonSize) -> Bool { - if lhs.heightCoefficient != rhs.heightCoefficient {return false} - if lhs.weightCoefficient != rhs.weightCoefficient {return false} - if lhs.ivCoefficient != rhs.ivCoefficient {return false} + public static func ==(lhs: CombatLogData.CombatLogDataHeader, rhs: CombatLogData.CombatLogDataHeader) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.timeNowOffsetMs != rhs.timeNowOffsetMs {return false} + if lhs.clientServerTimeOffsetMs != rhs.clientServerTimeOffsetMs {return false} + if lhs.frameRate != rhs.frameRate {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestScoreComponentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestScoreComponentProto" +extension CombatLogData.CombatLogDataHeader.LogType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "component_type"), - 2: .standard(proto: "coefficient_value"), - 3: .standard(proto: "is_visible"), + 0: .same(proto: "NO_TYPE"), + 1: .same(proto: "OPEN_COMBAT_SESSION"), + 2: .same(proto: "OPEN_COMBAT_SESSION_RESPONSE"), + 3: .same(proto: "UPDATE_COMBAT"), + 4: .same(proto: "UPDATE_COMBAT_RESPONSE"), + 5: .same(proto: "QUIT_COMBAT"), + 6: .same(proto: "QUIT_COMBAT_RESPONSE"), + 7: .same(proto: "WEB_SOCKET_RESPONSE"), + 8: .same(proto: "RPC_ERROR"), + 9: .same(proto: "GET_COMBAT_PLAYER_PROFILE"), + 10: .same(proto: "GET_COMBAT_PLAYER_PROFILE_RESPONSE"), + 11: .same(proto: "GENERATE_COMBAT_CHALLENGE_ID"), + 12: .same(proto: "GENERATE_COMBAT_CHALLENGE_ID_RESPONSE"), + 13: .same(proto: "CREATE_COMBAT_CHALLENGE"), + 14: .same(proto: "CREATE_COMBAT_CHALLENGE_RESPONSE"), + 15: .same(proto: "OPEN_COMBAT_CHALLENGE"), + 16: .same(proto: "OPEN_COMBAT_CHALLENGE_RESPONSE"), + 17: .same(proto: "OPEN_NPC_COMBAT_SESSION"), + 18: .same(proto: "OPEN_NPC_COMBAT_SESSION_RESPONSE"), + 19: .same(proto: "ACCEPT_COMBAT_CHALLENGE"), + 20: .same(proto: "ACCEPT_COMBAT_CHALLENGE_RESPONSE"), + 21: .same(proto: "SUBMIT_COMBAT_CHALLENGE_POKEMONS"), + 22: .same(proto: "SUBMIT_COMBAT_CHALLENGE_POKEMONS_RESPONSE"), + 23: .same(proto: "DECLINE_COMBAT_CHALLENGE"), + 24: .same(proto: "DECLINE_COMBAT_CHALLENGE_RESPONSE"), + 25: .same(proto: "CANCEL_COMBAT_CHALLENGE"), + 26: .same(proto: "CANCEL_COMBAT_CHALLENGE_RESPONSE"), + 27: .same(proto: "GET_COMBAT_CHALLENGE"), + 28: .same(proto: "GET_COMBAT_CHALLENGE_RESPONSE"), + 29: .same(proto: "VS_SEEKER_START_MATCHMAKING"), + 30: .same(proto: "VS_SEEKER_START_MATCHMAKING_RESPONSE"), + 31: .same(proto: "GET_MATCHMAKING_STATUS"), + 32: .same(proto: "GET_MATCHMAKING_STATUS_RESPONSE"), + 33: .same(proto: "CANCEL_MATCHMAKING"), + 34: .same(proto: "CANCEL_MATCHMAKING_RESPONSE"), + 35: .same(proto: "SUBMIT_COMBAT_ACTION"), + 36: .same(proto: "INVASION_OPEN_COMBAT_SESSION"), + 37: .same(proto: "INVASION_OPEN_COMBAT_SESSION_RESPONSE"), + 38: .same(proto: "INVASION_BATTLE_UPDATE"), + 39: .same(proto: "INVASION_BATTLE_UPDATE_RESPONSE"), + 40: .same(proto: "COMBAT_ID_MISMATCH"), + 41: .same(proto: "LEAGUE_ID_MISMATCH"), + 42: .same(proto: "CHALLENGE_ID_MISMATCH"), + 43: .same(proto: "PROGRESS_TOKEN"), + 44: .same(proto: "ON_APPLICATION_FOCUS"), + 45: .same(proto: "ON_APPLICATION_PAUSE"), + 46: .same(proto: "ON_APPLICATION_QUIT"), + 47: .same(proto: "EXCEPTION_CAUGHT"), + 48: .same(proto: "PUB_SUB_MESSAGE"), + 49: .same(proto: "PLAYER_END_COMBAT"), + 50: .same(proto: "COMBAT_SYNC_SERVER"), + 51: .same(proto: "COMBAT_SYNC_SERVER_RESPONSE"), + 52: .same(proto: "COMBAT_SPECIAL_MOVE_PLAYER"), + ] +} + +extension CombatLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatLogEntry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "finish_state"), + 3: .same(proto: "rewards"), + 4: .same(proto: "opponent"), + 5: .standard(proto: "combat_league_template_id"), + 6: .standard(proto: "npc_template_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188009,41 +192501,79 @@ extension ContestScoreComponentProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.componentType) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.coefficientValue) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.isVisible) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.finishState) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.opponent) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.npcTemplateID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.componentType != .typeUnset { - try visitor.visitSingularEnumField(value: self.componentType, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.coefficientValue != 0 { - try visitor.visitSingularDoubleField(value: self.coefficientValue, fieldNumber: 2) + if self.finishState != .winner { + try visitor.visitSingularEnumField(value: self.finishState, fieldNumber: 2) } - if self.isVisible != false { - try visitor.visitSingularBoolField(value: self.isVisible, fieldNumber: 3) + try { if let v = self._rewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if !self.opponent.isEmpty { + try visitor.visitSingularStringField(value: self.opponent, fieldNumber: 4) + } + if !self.combatLeagueTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 5) + } + if !self.npcTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.npcTemplateID, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestScoreComponentProto, rhs: ContestScoreComponentProto) -> Bool { - if lhs.componentType != rhs.componentType {return false} - if lhs.coefficientValue != rhs.coefficientValue {return false} - if lhs.isVisible != rhs.isVisible {return false} + public static func ==(lhs: CombatLogEntry, rhs: CombatLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.finishState != rhs.finishState {return false} + if lhs._rewards != rhs._rewards {return false} + if lhs.opponent != rhs.opponent {return false} + if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} + if lhs.npcTemplateID != rhs.npcTemplateID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestScoreFormulaProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestScoreFormulaProto" +extension CombatLogEntry.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contest_type"), - 2: .standard(proto: "score_components"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + ] +} + +extension CombatLogHeader: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatLogHeader" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "combat_id"), + 2: .standard(proto: "combat_league_template_id"), + 3: .standard(proto: "combat_challenge_id"), + 4: .standard(proto: "combat_npc_id"), + 5: .standard(proto: "combat_npc_personality_id"), + 6: .standard(proto: "queue_id"), + 7: .standard(proto: "challenger_pokemon"), + 8: .standard(proto: "opponent_pokemon"), + 9: .standard(proto: "time_root_ms"), + 10: .standard(proto: "lobby_challenger_join_time_ms"), + 11: .standard(proto: "lobby_opponent_join_time_ms"), + 12: .standard(proto: "combat_start_ms"), + 13: .standard(proto: "combat_end_ms"), + 14: .same(proto: "realm"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188052,98 +192582,115 @@ extension ContestScoreFormulaProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._contestType) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.scoreComponents) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.combatID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.combatChallengeID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.combatNpcID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.combatNpcPersonalityID) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.queueID) }() + case 7: try { try decoder.decodeRepeatedMessageField(value: &self.challengerPokemon) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &self.opponentPokemon) }() + case 9: try { try decoder.decodeSingularInt64Field(value: &self.timeRootMs) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &self.lobbyChallengerJoinTimeMs) }() + case 11: try { try decoder.decodeSingularInt64Field(value: &self.lobbyOpponentJoinTimeMs) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &self.combatStartMs) }() + case 13: try { try decoder.decodeSingularInt64Field(value: &self.combatEndMs) }() + case 14: try { try decoder.decodeSingularStringField(value: &self.realm) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._contestType { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.scoreComponents.isEmpty { - try visitor.visitRepeatedMessageField(value: self.scoreComponents, fieldNumber: 2) + if !self.combatID.isEmpty { + try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 1) + } + if !self.combatLeagueTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 2) + } + if !self.combatChallengeID.isEmpty { + try visitor.visitSingularStringField(value: self.combatChallengeID, fieldNumber: 3) + } + if !self.combatNpcID.isEmpty { + try visitor.visitSingularStringField(value: self.combatNpcID, fieldNumber: 4) + } + if !self.combatNpcPersonalityID.isEmpty { + try visitor.visitSingularStringField(value: self.combatNpcPersonalityID, fieldNumber: 5) + } + if !self.queueID.isEmpty { + try visitor.visitSingularStringField(value: self.queueID, fieldNumber: 6) + } + if !self.challengerPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.challengerPokemon, fieldNumber: 7) + } + if !self.opponentPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.opponentPokemon, fieldNumber: 8) + } + if self.timeRootMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeRootMs, fieldNumber: 9) + } + if self.lobbyChallengerJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyChallengerJoinTimeMs, fieldNumber: 10) + } + if self.lobbyOpponentJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyOpponentJoinTimeMs, fieldNumber: 11) + } + if self.combatStartMs != 0 { + try visitor.visitSingularInt64Field(value: self.combatStartMs, fieldNumber: 12) + } + if self.combatEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.combatEndMs, fieldNumber: 13) + } + if !self.realm.isEmpty { + try visitor.visitSingularStringField(value: self.realm, fieldNumber: 14) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestScoreFormulaProto, rhs: ContestScoreFormulaProto) -> Bool { - if lhs._contestType != rhs._contestType {return false} - if lhs.scoreComponents != rhs.scoreComponents {return false} + public static func ==(lhs: CombatLogHeader, rhs: CombatLogHeader) -> Bool { + if lhs.combatID != rhs.combatID {return false} + if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} + if lhs.combatChallengeID != rhs.combatChallengeID {return false} + if lhs.combatNpcID != rhs.combatNpcID {return false} + if lhs.combatNpcPersonalityID != rhs.combatNpcPersonalityID {return false} + if lhs.queueID != rhs.queueID {return false} + if lhs.challengerPokemon != rhs.challengerPokemon {return false} + if lhs.opponentPokemon != rhs.opponentPokemon {return false} + if lhs.timeRootMs != rhs.timeRootMs {return false} + if lhs.lobbyChallengerJoinTimeMs != rhs.lobbyChallengerJoinTimeMs {return false} + if lhs.lobbyOpponentJoinTimeMs != rhs.lobbyOpponentJoinTimeMs {return false} + if lhs.combatStartMs != rhs.combatStartMs {return false} + if lhs.combatEndMs != rhs.combatEndMs {return false} + if lhs.realm != rhs.realm {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestSettingsProto" +extension CombatLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatLogProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_feature_enabled"), - 2: .standard(proto: "player_contest_max_entries"), - 3: .standard(proto: "contest_limits"), - 4: .standard(proto: "default_contest_max_entries"), - 5: .standard(proto: "min_cooldown_before_season_end_ms"), - 6: .standard(proto: "contest_warmup_and_cooldown_durations_ms"), - 7: .standard(proto: "default_cycle_warmup_duration_ms"), - 8: .standard(proto: "default_cycle_cooldown_duration_ms"), - 9: .standard(proto: "max_catch_prompt_range"), - 10: .standard(proto: "catch_prompt_timeout_ms"), - 11: .standard(proto: "contest_score_coefficient"), - 12: .standard(proto: "contest_length_thresholds"), - 13: .standard(proto: "is_friends_display_enabled"), - 14: .standard(proto: "leaderboard_card_display_count"), - 15: .standard(proto: "postcontest_leaderboard_card_display_count"), - 16: .standard(proto: "contest_score_formulas"), - 17: .standard(proto: "is_v2_feature_enabled"), + 1: .standard(proto: "lifetime_results"), + 2: .standard(proto: "current_season_results"), + 4: .standard(proto: "current_vs_seeker_set_results"), + 5: .standard(proto: "previous_season_results"), ] fileprivate class _StorageClass { - var _isFeatureEnabled: Bool = false - var _playerContestMaxEntries: Int32 = 0 - var _contestLimits: [ContestLimitProto] = [] - var _defaultContestMaxEntries: Int32 = 0 - var _minCooldownBeforeSeasonEndMs: Int64 = 0 - var _contestWarmupAndCooldownDurationsMs: [ContestWarmupAndCooldownDurationSettingsProto] = [] - var _defaultCycleWarmupDurationMs: Int64 = 0 - var _defaultCycleCooldownDurationMs: Int64 = 0 - var _maxCatchPromptRange: Double = 0 - var _catchPromptTimeoutMs: Float = 0 - var _contestScoreCoefficient: [ContestScoreCoefficientProto] = [] - var _contestLengthThresholds: [ContestLengthThresholdsProto] = [] - var _isFriendsDisplayEnabled: Bool = false - var _leaderboardCardDisplayCount: Int32 = 0 - var _postcontestLeaderboardCardDisplayCount: Int32 = 0 - var _contestScoreFormulas: [ContestScoreFormulaProto] = [] - var _isV2FeatureEnabled: Bool = false + var _lifetimeResults: CombatSeasonResult? = nil + var _currentSeasonResults: CombatSeasonResult? = nil + var _currentVsSeekerSetResults: [VsSeekerBattleResult] = [] + var _previousSeasonResults: CombatSeasonResult? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _isFeatureEnabled = source._isFeatureEnabled - _playerContestMaxEntries = source._playerContestMaxEntries - _contestLimits = source._contestLimits - _defaultContestMaxEntries = source._defaultContestMaxEntries - _minCooldownBeforeSeasonEndMs = source._minCooldownBeforeSeasonEndMs - _contestWarmupAndCooldownDurationsMs = source._contestWarmupAndCooldownDurationsMs - _defaultCycleWarmupDurationMs = source._defaultCycleWarmupDurationMs - _defaultCycleCooldownDurationMs = source._defaultCycleCooldownDurationMs - _maxCatchPromptRange = source._maxCatchPromptRange - _catchPromptTimeoutMs = source._catchPromptTimeoutMs - _contestScoreCoefficient = source._contestScoreCoefficient - _contestLengthThresholds = source._contestLengthThresholds - _isFriendsDisplayEnabled = source._isFriendsDisplayEnabled - _leaderboardCardDisplayCount = source._leaderboardCardDisplayCount - _postcontestLeaderboardCardDisplayCount = source._postcontestLeaderboardCardDisplayCount - _contestScoreFormulas = source._contestScoreFormulas - _isV2FeatureEnabled = source._isV2FeatureEnabled + _lifetimeResults = source._lifetimeResults + _currentSeasonResults = source._currentSeasonResults + _currentVsSeekerSetResults = source._currentVsSeekerSetResults + _previousSeasonResults = source._previousSeasonResults } } @@ -188162,23 +192709,10 @@ extension ContestSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &_storage._isFeatureEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._playerContestMaxEntries) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestLimits) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._defaultContestMaxEntries) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._minCooldownBeforeSeasonEndMs) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestWarmupAndCooldownDurationsMs) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._defaultCycleWarmupDurationMs) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._defaultCycleCooldownDurationMs) }() - case 9: try { try decoder.decodeSingularDoubleField(value: &_storage._maxCatchPromptRange) }() - case 10: try { try decoder.decodeSingularFloatField(value: &_storage._catchPromptTimeoutMs) }() - case 11: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestScoreCoefficient) }() - case 12: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestLengthThresholds) }() - case 13: try { try decoder.decodeSingularBoolField(value: &_storage._isFriendsDisplayEnabled) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._leaderboardCardDisplayCount) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._postcontestLeaderboardCardDisplayCount) }() - case 16: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestScoreFormulas) }() - case 17: try { try decoder.decodeSingularBoolField(value: &_storage._isV2FeatureEnabled) }() + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._lifetimeResults) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._currentSeasonResults) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &_storage._currentVsSeekerSetResults) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._previousSeasonResults) }() default: break } } @@ -188187,83 +192721,35 @@ extension ContestSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp public func traverse(visitor: inout V) throws { try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._isFeatureEnabled != false { - try visitor.visitSingularBoolField(value: _storage._isFeatureEnabled, fieldNumber: 1) - } - if _storage._playerContestMaxEntries != 0 { - try visitor.visitSingularInt32Field(value: _storage._playerContestMaxEntries, fieldNumber: 2) - } - if !_storage._contestLimits.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._contestLimits, fieldNumber: 3) - } - if _storage._defaultContestMaxEntries != 0 { - try visitor.visitSingularInt32Field(value: _storage._defaultContestMaxEntries, fieldNumber: 4) - } - if _storage._minCooldownBeforeSeasonEndMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._minCooldownBeforeSeasonEndMs, fieldNumber: 5) - } - if !_storage._contestWarmupAndCooldownDurationsMs.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._contestWarmupAndCooldownDurationsMs, fieldNumber: 6) - } - if _storage._defaultCycleWarmupDurationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._defaultCycleWarmupDurationMs, fieldNumber: 7) - } - if _storage._defaultCycleCooldownDurationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._defaultCycleCooldownDurationMs, fieldNumber: 8) - } - if _storage._maxCatchPromptRange != 0 { - try visitor.visitSingularDoubleField(value: _storage._maxCatchPromptRange, fieldNumber: 9) - } - if _storage._catchPromptTimeoutMs != 0 { - try visitor.visitSingularFloatField(value: _storage._catchPromptTimeoutMs, fieldNumber: 10) - } - if !_storage._contestScoreCoefficient.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._contestScoreCoefficient, fieldNumber: 11) - } - if !_storage._contestLengthThresholds.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._contestLengthThresholds, fieldNumber: 12) - } - if _storage._isFriendsDisplayEnabled != false { - try visitor.visitSingularBoolField(value: _storage._isFriendsDisplayEnabled, fieldNumber: 13) - } - if _storage._leaderboardCardDisplayCount != 0 { - try visitor.visitSingularInt32Field(value: _storage._leaderboardCardDisplayCount, fieldNumber: 14) - } - if _storage._postcontestLeaderboardCardDisplayCount != 0 { - try visitor.visitSingularInt32Field(value: _storage._postcontestLeaderboardCardDisplayCount, fieldNumber: 15) - } - if !_storage._contestScoreFormulas.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._contestScoreFormulas, fieldNumber: 16) - } - if _storage._isV2FeatureEnabled != false { - try visitor.visitSingularBoolField(value: _storage._isV2FeatureEnabled, fieldNumber: 17) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._lifetimeResults { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = _storage._currentSeasonResults { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !_storage._currentVsSeekerSetResults.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._currentVsSeekerSetResults, fieldNumber: 4) } + try { if let v = _storage._previousSeasonResults { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestSettingsProto, rhs: ContestSettingsProto) -> Bool { + public static func ==(lhs: CombatLogProto, rhs: CombatLogProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._isFeatureEnabled != rhs_storage._isFeatureEnabled {return false} - if _storage._playerContestMaxEntries != rhs_storage._playerContestMaxEntries {return false} - if _storage._contestLimits != rhs_storage._contestLimits {return false} - if _storage._defaultContestMaxEntries != rhs_storage._defaultContestMaxEntries {return false} - if _storage._minCooldownBeforeSeasonEndMs != rhs_storage._minCooldownBeforeSeasonEndMs {return false} - if _storage._contestWarmupAndCooldownDurationsMs != rhs_storage._contestWarmupAndCooldownDurationsMs {return false} - if _storage._defaultCycleWarmupDurationMs != rhs_storage._defaultCycleWarmupDurationMs {return false} - if _storage._defaultCycleCooldownDurationMs != rhs_storage._defaultCycleCooldownDurationMs {return false} - if _storage._maxCatchPromptRange != rhs_storage._maxCatchPromptRange {return false} - if _storage._catchPromptTimeoutMs != rhs_storage._catchPromptTimeoutMs {return false} - if _storage._contestScoreCoefficient != rhs_storage._contestScoreCoefficient {return false} - if _storage._contestLengthThresholds != rhs_storage._contestLengthThresholds {return false} - if _storage._isFriendsDisplayEnabled != rhs_storage._isFriendsDisplayEnabled {return false} - if _storage._leaderboardCardDisplayCount != rhs_storage._leaderboardCardDisplayCount {return false} - if _storage._postcontestLeaderboardCardDisplayCount != rhs_storage._postcontestLeaderboardCardDisplayCount {return false} - if _storage._contestScoreFormulas != rhs_storage._contestScoreFormulas {return false} - if _storage._isV2FeatureEnabled != rhs_storage._isV2FeatureEnabled {return false} + if _storage._lifetimeResults != rhs_storage._lifetimeResults {return false} + if _storage._currentSeasonResults != rhs_storage._currentSeasonResults {return false} + if _storage._currentVsSeekerSetResults != rhs_storage._currentVsSeekerSetResults {return false} + if _storage._previousSeasonResults != rhs_storage._previousSeasonResults {return false} return true } if !storagesAreEqual {return false} @@ -188273,10 +192759,12 @@ extension ContestSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } } -extension ContestShinyFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestShinyFocusProto" +extension CombatMinigameTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatMinigameTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "require_to_be_shiny"), + 1: .standard(proto: "combat_type"), + 2: .standard(proto: "move_type"), + 3: .same(proto: "score"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188285,71 +192773,55 @@ extension ContestShinyFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.requireToBeShiny) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.combatType) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.moveType) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.score) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.requireToBeShiny != false { - try visitor.visitSingularBoolField(value: self.requireToBeShiny, fieldNumber: 1) + if self.combatType != .unset { + try visitor.visitSingularEnumField(value: self.combatType, fieldNumber: 1) + } + if self.moveType != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: self.moveType, fieldNumber: 2) + } + if self.score != 0 { + try visitor.visitSingularFloatField(value: self.score, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestShinyFocusProto, rhs: ContestShinyFocusProto) -> Bool { - if lhs.requireToBeShiny != rhs.requireToBeShiny {return false} + public static func ==(lhs: CombatMinigameTelemetry, rhs: CombatMinigameTelemetry) -> Bool { + if lhs.combatType != rhs.combatType {return false} + if lhs.moveType != rhs.moveType {return false} + if lhs.score != rhs.score {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestTypeFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestTypeFocusProto" +extension CombatMinigameTelemetry.MinigameCombatType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "type_1"), - 2: .standard(proto: "type_2"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "PVP"), + 2: .same(proto: "PVE"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type1) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type2) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.type1 != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: self.type1, fieldNumber: 1) - } - if self.type2 != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: self.type2, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ContestTypeFocusProto, rhs: ContestTypeFocusProto) -> Bool { - if lhs.type1 != rhs.type1 {return false} - if lhs.type2 != rhs.type2 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension ContestWarmupAndCooldownDurationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestWarmupAndCooldownDurationSettingsProto" +extension CombatMoveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatMoveSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contest_metric"), - 2: .standard(proto: "contest_occurrence"), - 3: .standard(proto: "cycle_warmup_duration_ms"), - 4: .standard(proto: "cycle_cooldown_duration_ms"), + 1: .standard(proto: "unique_id"), + 2: .same(proto: "type"), + 3: .same(proto: "power"), + 4: .standard(proto: "vfx_name"), + 5: .standard(proto: "duration_turns"), + 6: .standard(proto: "energy_delta"), + 7: .same(proto: "buffs"), + 8: .same(proto: "modifier"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188358,10 +192830,14 @@ extension ContestWarmupAndCooldownDurationSettingsProto: SwiftProtobuf.Message, // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.contestOccurrence) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.cycleWarmupDurationMs) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.cycleCooldownDurationMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.uniqueID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.power) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.vfxName) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.durationTurns) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.energyDelta) }() + case 7: try { try decoder.decodeSingularMessageField(value: &self._buffs) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &self.modifier) }() default: break } } @@ -188372,38 +192848,55 @@ extension ContestWarmupAndCooldownDurationSettingsProto: SwiftProtobuf.Message, // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._contestMetric { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.contestOccurrence != .unset { - try visitor.visitSingularEnumField(value: self.contestOccurrence, fieldNumber: 2) + if self.uniqueID != .moveUnset { + try visitor.visitSingularEnumField(value: self.uniqueID, fieldNumber: 1) } - if self.cycleWarmupDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.cycleWarmupDurationMs, fieldNumber: 3) + if self.type != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) } - if self.cycleCooldownDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.cycleCooldownDurationMs, fieldNumber: 4) + if self.power != 0 { + try visitor.visitSingularFloatField(value: self.power, fieldNumber: 3) + } + if !self.vfxName.isEmpty { + try visitor.visitSingularStringField(value: self.vfxName, fieldNumber: 4) + } + if self.durationTurns != 0 { + try visitor.visitSingularInt32Field(value: self.durationTurns, fieldNumber: 5) + } + if self.energyDelta != 0 { + try visitor.visitSingularInt32Field(value: self.energyDelta, fieldNumber: 6) + } + try { if let v = self._buffs { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() + if !self.modifier.isEmpty { + try visitor.visitRepeatedMessageField(value: self.modifier, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestWarmupAndCooldownDurationSettingsProto, rhs: ContestWarmupAndCooldownDurationSettingsProto) -> Bool { - if lhs._contestMetric != rhs._contestMetric {return false} - if lhs.contestOccurrence != rhs.contestOccurrence {return false} - if lhs.cycleWarmupDurationMs != rhs.cycleWarmupDurationMs {return false} - if lhs.cycleCooldownDurationMs != rhs.cycleCooldownDurationMs {return false} + public static func ==(lhs: CombatMoveSettingsProto, rhs: CombatMoveSettingsProto) -> Bool { + if lhs.uniqueID != rhs.uniqueID {return false} + if lhs.type != rhs.type {return false} + if lhs.power != rhs.power {return false} + if lhs.vfxName != rhs.vfxName {return false} + if lhs.durationTurns != rhs.durationTurns {return false} + if lhs.energyDelta != rhs.energyDelta {return false} + if lhs._buffs != rhs._buffs {return false} + if lhs.modifier != rhs.modifier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ContestWinDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ContestWinDataProto" +extension CombatMoveSettingsProto.CombatMoveBuffsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatMoveSettingsProto.protoMessageName + ".CombatMoveBuffsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_name"), - 2: .standard(proto: "pokemon_id"), - 3: .standard(proto: "contest_end_ms"), - 4: .standard(proto: "pokedex_id"), + 1: .standard(proto: "attacker_attack_stat_stage_change"), + 2: .standard(proto: "attacker_defense_stat_stage_change"), + 3: .standard(proto: "target_attack_stat_stage_change"), + 4: .standard(proto: "target_defense_stat_stage_change"), + 5: .standard(proto: "buff_activation_chance"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188412,45 +192905,56 @@ extension ContestWinDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortName) }() - case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.contestEndMs) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.attackerAttackStatStageChange) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.attackerDefenseStatStageChange) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.targetAttackStatStageChange) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.targetDefenseStatStageChange) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.buffActivationChance) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.fortName.isEmpty { - try visitor.visitSingularStringField(value: self.fortName, fieldNumber: 1) + if self.attackerAttackStatStageChange != 0 { + try visitor.visitSingularInt32Field(value: self.attackerAttackStatStageChange, fieldNumber: 1) } - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 2) + if self.attackerDefenseStatStageChange != 0 { + try visitor.visitSingularInt32Field(value: self.attackerDefenseStatStageChange, fieldNumber: 2) } - if self.contestEndMs != 0 { - try visitor.visitSingularInt64Field(value: self.contestEndMs, fieldNumber: 3) + if self.targetAttackStatStageChange != 0 { + try visitor.visitSingularInt32Field(value: self.targetAttackStatStageChange, fieldNumber: 3) } - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 4) + if self.targetDefenseStatStageChange != 0 { + try visitor.visitSingularInt32Field(value: self.targetDefenseStatStageChange, fieldNumber: 4) + } + if self.buffActivationChance != 0 { + try visitor.visitSingularFloatField(value: self.buffActivationChance, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ContestWinDataProto, rhs: ContestWinDataProto) -> Bool { - if lhs.fortName != rhs.fortName {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.contestEndMs != rhs.contestEndMs {return false} - if lhs.pokedexID != rhs.pokedexID {return false} + public static func ==(lhs: CombatMoveSettingsProto.CombatMoveBuffsProto, rhs: CombatMoveSettingsProto.CombatMoveBuffsProto) -> Bool { + if lhs.attackerAttackStatStageChange != rhs.attackerAttackStatStageChange {return false} + if lhs.attackerDefenseStatStageChange != rhs.attackerDefenseStatStageChange {return false} + if lhs.targetAttackStatStageChange != rhs.targetAttackStatStageChange {return false} + if lhs.targetDefenseStatStageChange != rhs.targetDefenseStatStageChange {return false} + if lhs.buffActivationChance != rhs.buffActivationChance {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ConversationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ConversationSettingsProto" +extension CombatNpcPersonalityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatNpcPersonalityProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), + 1: .standard(proto: "personality_name"), + 2: .standard(proto: "super_effective_chance"), + 3: .standard(proto: "special_chance"), + 4: .standard(proto: "defensive_minimum_score"), + 5: .standard(proto: "defensive_maximum_score"), + 6: .standard(proto: "offensive_minimum_score"), + 7: .standard(proto: "offensive_maximum_score"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188459,111 +192963,70 @@ extension ConversationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.personalityName) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.superEffectiveChance) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.specialChance) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.defensiveMinimumScore) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.defensiveMaximumScore) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.offensiveMinimumScore) }() + case 7: try { try decoder.decodeSingularFloatField(value: &self.offensiveMaximumScore) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + if !self.personalityName.isEmpty { + try visitor.visitSingularStringField(value: self.personalityName, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ConversationSettingsProto, rhs: ConversationSettingsProto) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ConvertCandyToXlCandyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ConvertCandyToXlCandyOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } + if self.superEffectiveChance != 0 { + try visitor.visitSingularFloatField(value: self.superEffectiveChance, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.specialChance != 0 { + try visitor.visitSingularFloatField(value: self.specialChance, fieldNumber: 3) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ConvertCandyToXlCandyOutProto, rhs: ConvertCandyToXlCandyOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ConvertCandyToXlCandyOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_NOT_ENOUGH_CANDY"), - 3: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), - ] -} - -extension ConvertCandyToXlCandyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ConvertCandyToXlCandyProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "family"), - 2: .standard(proto: "num_xl_candy"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.family) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numXlCandy) }() - default: break - } + if self.defensiveMinimumScore != 0 { + try visitor.visitSingularFloatField(value: self.defensiveMinimumScore, fieldNumber: 4) } - } - - public func traverse(visitor: inout V) throws { - if self.family != .familyUnset { - try visitor.visitSingularEnumField(value: self.family, fieldNumber: 1) + if self.defensiveMaximumScore != 0 { + try visitor.visitSingularFloatField(value: self.defensiveMaximumScore, fieldNumber: 5) } - if self.numXlCandy != 0 { - try visitor.visitSingularInt32Field(value: self.numXlCandy, fieldNumber: 2) + if self.offensiveMinimumScore != 0 { + try visitor.visitSingularFloatField(value: self.offensiveMinimumScore, fieldNumber: 6) + } + if self.offensiveMaximumScore != 0 { + try visitor.visitSingularFloatField(value: self.offensiveMaximumScore, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ConvertCandyToXlCandyProto, rhs: ConvertCandyToXlCandyProto) -> Bool { - if lhs.family != rhs.family {return false} - if lhs.numXlCandy != rhs.numXlCandy {return false} + public static func ==(lhs: CombatNpcPersonalityProto, rhs: CombatNpcPersonalityProto) -> Bool { + if lhs.personalityName != rhs.personalityName {return false} + if lhs.superEffectiveChance != rhs.superEffectiveChance {return false} + if lhs.specialChance != rhs.specialChance {return false} + if lhs.defensiveMinimumScore != rhs.defensiveMinimumScore {return false} + if lhs.defensiveMaximumScore != rhs.defensiveMaximumScore {return false} + if lhs.offensiveMinimumScore != rhs.offensiveMinimumScore {return false} + if lhs.offensiveMaximumScore != rhs.offensiveMaximumScore {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CopyrightProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CopyrightProto" +extension CombatNpcTrainerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatNpcTrainerProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "map_data_copyright"), - 2: .standard(proto: "imagery_copyright"), - 3: .same(proto: "year"), + 1: .standard(proto: "trainer_name"), + 2: .standard(proto: "combat_league_template_id"), + 3: .standard(proto: "combat_personality_id"), + 4: .standard(proto: "win_loot_table_id"), + 5: .standard(proto: "lose_loot_table_id"), + 7: .same(proto: "avatar"), + 8: .standard(proto: "available_pokemon"), + 9: .standard(proto: "trainer_title"), + 10: .standard(proto: "trainer_quote"), + 11: .standard(proto: "icon_url"), + 12: .standard(proto: "backdrop_image_bundle"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188572,73 +193035,88 @@ extension CopyrightProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.mapDataCopyright) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.imageryCopyright) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.year) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.trainerName) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.combatPersonalityID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.winLootTableID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.loseLootTableID) }() + case 7: try { try decoder.decodeSingularMessageField(value: &self._avatar) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &self.availablePokemon) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.trainerTitle) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.trainerQuote) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.iconURL) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.backdropImageBundle) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.mapDataCopyright.isEmpty { - try visitor.visitRepeatedStringField(value: self.mapDataCopyright, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.trainerName.isEmpty { + try visitor.visitSingularStringField(value: self.trainerName, fieldNumber: 1) } - if !self.imageryCopyright.isEmpty { - try visitor.visitRepeatedStringField(value: self.imageryCopyright, fieldNumber: 2) + if !self.combatLeagueTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 2) } - if self.year != 0 { - try visitor.visitSingularInt32Field(value: self.year, fieldNumber: 3) + if !self.combatPersonalityID.isEmpty { + try visitor.visitSingularStringField(value: self.combatPersonalityID, fieldNumber: 3) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: CopyrightProto, rhs: CopyrightProto) -> Bool { - if lhs.mapDataCopyright != rhs.mapDataCopyright {return false} - if lhs.imageryCopyright != rhs.imageryCopyright {return false} - if lhs.year != rhs.year {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension CoveringProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CoveringProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "cell_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedInt64Field(value: &self.cellID) }() - default: break - } + if !self.winLootTableID.isEmpty { + try visitor.visitSingularStringField(value: self.winLootTableID, fieldNumber: 4) } - } - - public func traverse(visitor: inout V) throws { - if !self.cellID.isEmpty { - try visitor.visitPackedInt64Field(value: self.cellID, fieldNumber: 1) + if !self.loseLootTableID.isEmpty { + try visitor.visitSingularStringField(value: self.loseLootTableID, fieldNumber: 5) + } + try { if let v = self._avatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() + if !self.availablePokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.availablePokemon, fieldNumber: 8) + } + if !self.trainerTitle.isEmpty { + try visitor.visitSingularStringField(value: self.trainerTitle, fieldNumber: 9) + } + if !self.trainerQuote.isEmpty { + try visitor.visitSingularStringField(value: self.trainerQuote, fieldNumber: 10) + } + if !self.iconURL.isEmpty { + try visitor.visitSingularStringField(value: self.iconURL, fieldNumber: 11) + } + if !self.backdropImageBundle.isEmpty { + try visitor.visitSingularStringField(value: self.backdropImageBundle, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CoveringProto, rhs: CoveringProto) -> Bool { - if lhs.cellID != rhs.cellID {return false} + public static func ==(lhs: CombatNpcTrainerProto, rhs: CombatNpcTrainerProto) -> Bool { + if lhs.trainerName != rhs.trainerName {return false} + if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} + if lhs.combatPersonalityID != rhs.combatPersonalityID {return false} + if lhs.winLootTableID != rhs.winLootTableID {return false} + if lhs.loseLootTableID != rhs.loseLootTableID {return false} + if lhs._avatar != rhs._avatar {return false} + if lhs.availablePokemon != rhs.availablePokemon {return false} + if lhs.trainerTitle != rhs.trainerTitle {return false} + if lhs.trainerQuote != rhs.trainerQuote {return false} + if lhs.iconURL != rhs.iconURL {return false} + if lhs.backdropImageBundle != rhs.backdropImageBundle {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CrashlyticsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CrashlyticsSettingsProto" +extension CombatOffensiveInputChallengeSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatOffensiveInputChallengeSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "session_sampling_fraction"), + 1: .standard(proto: "score_per_tap"), + 2: .standard(proto: "score_decay_per_second"), + 3: .standard(proto: "max_score"), + 4: .standard(proto: "high_score_additional_decay_per_second"), + 5: .standard(proto: "max_time_additional_decay_per_second"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188647,39 +193125,51 @@ extension CrashlyticsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.sessionSamplingFraction) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.scorePerTap) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.scoreDecayPerSecond) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.maxScore) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.highScoreAdditionalDecayPerSecond) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.maxTimeAdditionalDecayPerSecond) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.scorePerTap != 0 { + try visitor.visitSingularFloatField(value: self.scorePerTap, fieldNumber: 1) } - if self.sessionSamplingFraction != 0 { - try visitor.visitSingularFloatField(value: self.sessionSamplingFraction, fieldNumber: 2) + if self.scoreDecayPerSecond != 0 { + try visitor.visitSingularFloatField(value: self.scoreDecayPerSecond, fieldNumber: 2) + } + if self.maxScore != 0 { + try visitor.visitSingularFloatField(value: self.maxScore, fieldNumber: 3) + } + if self.highScoreAdditionalDecayPerSecond != 0 { + try visitor.visitSingularFloatField(value: self.highScoreAdditionalDecayPerSecond, fieldNumber: 4) + } + if self.maxTimeAdditionalDecayPerSecond != 0 { + try visitor.visitSingularFloatField(value: self.maxTimeAdditionalDecayPerSecond, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CrashlyticsSettingsProto, rhs: CrashlyticsSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.sessionSamplingFraction != rhs.sessionSamplingFraction {return false} + public static func ==(lhs: CombatOffensiveInputChallengeSettings, rhs: CombatOffensiveInputChallengeSettings) -> Bool { + if lhs.scorePerTap != rhs.scorePerTap {return false} + if lhs.scoreDecayPerSecond != rhs.scoreDecayPerSecond {return false} + if lhs.maxScore != rhs.maxScore {return false} + if lhs.highScoreAdditionalDecayPerSecond != rhs.highScoreAdditionalDecayPerSecond {return false} + if lhs.maxTimeAdditionalDecayPerSecond != rhs.maxTimeAdditionalDecayPerSecond {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateBuddyMultiplayerSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateBuddyMultiplayerSessionOutProto" +extension CombatPlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatPlayerPreferencesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "plfe_session_id"), - 2: .standard(proto: "arbe_join_token"), - 3: .standard(proto: "generation_timestamp"), - 4: .standard(proto: "max_players"), - 5: .same(proto: "result"), + 1: .standard(proto: "friends_combat_opt_out"), + 2: .standard(proto: "nearby_combat_opt_in"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188688,166 +193178,152 @@ extension CreateBuddyMultiplayerSessionOutProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.plfeSessionID) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.arbeJoinToken) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.generationTimestamp) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxPlayers) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.friendsCombatOptOut) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.nearbyCombatOptIn) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.plfeSessionID.isEmpty { - try visitor.visitSingularStringField(value: self.plfeSessionID, fieldNumber: 1) - } - if !self.arbeJoinToken.isEmpty { - try visitor.visitSingularBytesField(value: self.arbeJoinToken, fieldNumber: 2) - } - if self.generationTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.generationTimestamp, fieldNumber: 3) - } - if self.maxPlayers != 0 { - try visitor.visitSingularInt32Field(value: self.maxPlayers, fieldNumber: 4) + if self.friendsCombatOptOut != false { + try visitor.visitSingularBoolField(value: self.friendsCombatOptOut, fieldNumber: 1) } - if self.result != .createSuccess { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 5) + if self.nearbyCombatOptIn != false { + try visitor.visitSingularBoolField(value: self.nearbyCombatOptIn, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreateBuddyMultiplayerSessionOutProto, rhs: CreateBuddyMultiplayerSessionOutProto) -> Bool { - if lhs.plfeSessionID != rhs.plfeSessionID {return false} - if lhs.arbeJoinToken != rhs.arbeJoinToken {return false} - if lhs.generationTimestamp != rhs.generationTimestamp {return false} - if lhs.maxPlayers != rhs.maxPlayers {return false} - if lhs.result != rhs.result {return false} + public static func ==(lhs: CombatPlayerPreferencesProto, rhs: CombatPlayerPreferencesProto) -> Bool { + if lhs.friendsCombatOptOut != rhs.friendsCombatOptOut {return false} + if lhs.nearbyCombatOptIn != rhs.nearbyCombatOptIn {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateBuddyMultiplayerSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension CombatPlayerProfileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatPlayerProfileProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CREATE_SUCCESS"), - 1: .same(proto: "CREATE_BUDDY_NOT_SET"), - 2: .same(proto: "CREATE_BUDDY_NOT_FOUND"), - 3: .same(proto: "CREATE_BAD_BUDDY"), - 4: .same(proto: "CREATE_BUDDY_V2_NOT_ENABLED"), - 5: .same(proto: "CREATE_PLAYER_LEVEL_TOO_LOW"), - 6: .same(proto: "CREATE_UNKNOWN_ERROR"), - 7: .same(proto: "CREATE_U13_NO_PERMISSION"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "public_profile"), + 3: .standard(proto: "combat_league_template_id"), + 4: .standard(proto: "buddy_pokemon_id"), + 5: .same(proto: "location"), + 6: .standard(proto: "combat_player_preferences"), + 7: .standard(proto: "player_nia_id"), ] -} -extension CreateBuddyMultiplayerSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateBuddyMultiplayerSessionProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } + fileprivate class _StorageClass { + var _playerID: String = String() + var _publicProfile: PlayerPublicProfileProto? = nil + var _combatLeagueTemplateID: [String] = [] + var _buddyPokemonID: UInt64 = 0 + var _location: CombatPlayerProfileProto.Location? = nil + var _combatPlayerPreferences: CombatPlayerPreferencesProto? = nil + var _playerNiaID: String = String() - public static func ==(lhs: CreateBuddyMultiplayerSessionProto, rhs: CreateBuddyMultiplayerSessionProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} + static let defaultInstance = _StorageClass() -extension CreateCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateCombatChallengeDataProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - ] + private init() {} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - default: break - } + init(copying source: _StorageClass) { + _playerID = source._playerID + _publicProfile = source._publicProfile + _combatLeagueTemplateID = source._combatLeagueTemplateID + _buddyPokemonID = source._buddyPokemonID + _location = source._location + _combatPlayerPreferences = source._combatPlayerPreferences + _playerNiaID = source._playerNiaID } } - public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: CreateCombatChallengeDataProto, rhs: CreateCombatChallengeDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + return _storage } -} - -extension CreateCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateCombatChallengeOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "challenge"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._publicProfile) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &_storage._combatLeagueTemplateID) }() + case 4: try { try decoder.decodeSingularFixed64Field(value: &_storage._buddyPokemonID) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._location) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._combatPlayerPreferences) }() + case 7: try { try decoder.decodeSingularStringField(value: &_storage._playerNiaID) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._playerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 1) + } + try { if let v = _storage._publicProfile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !_storage._combatLeagueTemplateID.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._combatLeagueTemplateID, fieldNumber: 3) + } + if _storage._buddyPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._buddyPokemonID, fieldNumber: 4) + } + try { if let v = _storage._location { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + try { if let v = _storage._combatPlayerPreferences { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + if !_storage._playerNiaID.isEmpty { + try visitor.visitSingularStringField(value: _storage._playerNiaID, fieldNumber: 7) + } } - try { if let v = self._challenge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreateCombatChallengeOutProto, rhs: CreateCombatChallengeOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._challenge != rhs._challenge {return false} + public static func ==(lhs: CombatPlayerProfileProto, rhs: CombatPlayerProfileProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._playerID != rhs_storage._playerID {return false} + if _storage._publicProfile != rhs_storage._publicProfile {return false} + if _storage._combatLeagueTemplateID != rhs_storage._combatLeagueTemplateID {return false} + if _storage._buddyPokemonID != rhs_storage._buddyPokemonID {return false} + if _storage._location != rhs_storage._location {return false} + if _storage._combatPlayerPreferences != rhs_storage._combatPlayerPreferences {return false} + if _storage._playerNiaID != rhs_storage._playerNiaID {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), - 3: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), - 4: .same(proto: "ERROR_ACCESS_DENIED"), - ] -} - -extension CreateCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateCombatChallengeProto" +extension CombatPlayerProfileProto.Location: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatPlayerProfileProto.protoMessageName + ".Location" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), + 1: .standard(proto: "lat_degree"), + 2: .standard(proto: "lng_degree"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188856,32 +193332,50 @@ extension CreateCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.latDegree) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.lngDegree) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) + if self.latDegree != 0 { + try visitor.visitSingularDoubleField(value: self.latDegree, fieldNumber: 1) + } + if self.lngDegree != 0 { + try visitor.visitSingularDoubleField(value: self.lngDegree, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreateCombatChallengeProto, rhs: CreateCombatChallengeProto) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} + public static func ==(lhs: CombatPlayerProfileProto.Location, rhs: CombatPlayerProfileProto.Location) -> Bool { + if lhs.latDegree != rhs.latDegree {return false} + if lhs.lngDegree != rhs.lngDegree {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateCombatChallengeResponseDataProto" +extension CombatPokemonLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatPokemonLogProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "pokedex_id"), + 3: .same(proto: "cp"), + 4: .standard(proto: "cp_multiplier"), + 5: .standard(proto: "max_stamina"), + 6: .same(proto: "move1"), + 7: .same(proto: "move2"), + 8: .same(proto: "move3"), + 9: .standard(proto: "pokemon_display"), + 10: .standard(proto: "individual_attack"), + 11: .standard(proto: "individual_defense"), + 12: .standard(proto: "individual_stamina"), + 13: .standard(proto: "battles_won"), + 14: .standard(proto: "battles_lost"), + 15: .same(proto: "nickname"), + 16: .same(proto: "pokeball"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188890,41 +193384,119 @@ extension CreateCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.cp) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.cpMultiplier) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxStamina) }() + case 6: try { try decoder.decodeSingularEnumField(value: &self.move1) }() + case 7: try { try decoder.decodeSingularEnumField(value: &self.move2) }() + case 8: try { try decoder.decodeSingularEnumField(value: &self.move3) }() + case 9: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &self.individualAttack) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &self.individualDefense) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.individualStamina) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &self.battlesWon) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &self.battlesLost) }() + case 15: try { try decoder.decodeSingularStringField(value: &self.nickname) }() + case 16: try { try decoder.decodeSingularEnumField(value: &self.pokeball) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 2) } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + if self.cp != 0 { + try visitor.visitSingularInt32Field(value: self.cp, fieldNumber: 3) + } + if self.cpMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.cpMultiplier, fieldNumber: 4) + } + if self.maxStamina != 0 { + try visitor.visitSingularInt32Field(value: self.maxStamina, fieldNumber: 5) + } + if self.move1 != .moveUnset { + try visitor.visitSingularEnumField(value: self.move1, fieldNumber: 6) + } + if self.move2 != .moveUnset { + try visitor.visitSingularEnumField(value: self.move2, fieldNumber: 7) + } + if self.move3 != .moveUnset { + try visitor.visitSingularEnumField(value: self.move3, fieldNumber: 8) + } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() + if self.individualAttack != 0 { + try visitor.visitSingularInt32Field(value: self.individualAttack, fieldNumber: 10) + } + if self.individualDefense != 0 { + try visitor.visitSingularInt32Field(value: self.individualDefense, fieldNumber: 11) + } + if self.individualStamina != 0 { + try visitor.visitSingularInt32Field(value: self.individualStamina, fieldNumber: 12) + } + if self.battlesWon != 0 { + try visitor.visitSingularInt32Field(value: self.battlesWon, fieldNumber: 13) + } + if self.battlesLost != 0 { + try visitor.visitSingularInt32Field(value: self.battlesLost, fieldNumber: 14) + } + if !self.nickname.isEmpty { + try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 15) + } + if self.pokeball != .unknown { + try visitor.visitSingularEnumField(value: self.pokeball, fieldNumber: 16) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreateCombatChallengeResponseDataProto, rhs: CreateCombatChallengeResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} + public static func ==(lhs: CombatPokemonLogProto, rhs: CombatPokemonLogProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs.cp != rhs.cp {return false} + if lhs.cpMultiplier != rhs.cpMultiplier {return false} + if lhs.maxStamina != rhs.maxStamina {return false} + if lhs.move1 != rhs.move1 {return false} + if lhs.move2 != rhs.move2 {return false} + if lhs.move3 != rhs.move3 {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + if lhs.individualAttack != rhs.individualAttack {return false} + if lhs.individualDefense != rhs.individualDefense {return false} + if lhs.individualStamina != rhs.individualStamina {return false} + if lhs.battlesWon != rhs.battlesWon {return false} + if lhs.battlesLost != rhs.battlesLost {return false} + if lhs.nickname != rhs.nickname {return false} + if lhs.pokeball != rhs.pokeball {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateGuestLoginSecretTokenRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateGuestLoginSecretTokenRequestProto" +extension CombatProgressTokenData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatProgressTokenData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "api_key"), - 2: .standard(proto: "device_id"), + 2: .standard(proto: "combat_active_state_function"), + 3: .standard(proto: "combat_end_state_function"), + 4: .standard(proto: "combat_ready_state_function"), + 5: .standard(proto: "combat_swap_state_function"), + 6: .standard(proto: "combat_special_move_state_function"), + 7: .standard(proto: "combat_wait_for_player_state_function"), + 8: .standard(proto: "combat_presentation_director_function"), + 9: .standard(proto: "combat_director_v2_function"), + 10: .standard(proto: "combat_state_v2_function"), + 11: .standard(proto: "combat_pokemon_function"), + 1: .standard(proto: "line_number"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -188933,138 +193505,917 @@ extension CreateGuestLoginSecretTokenRequestProto: SwiftProtobuf.Message, SwiftP // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.apiKey) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.deviceID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.lineNumber) }() + case 2: try { + var v: CombatProgressTokenData.CombatActiveStateFunction? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatActiveStateFunction(v) + } + }() + case 3: try { + var v: CombatProgressTokenData.CombatEndStateFunction? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatEndStateFunction(v) + } + }() + case 4: try { + var v: CombatProgressTokenData.CombatReadyStateFunction? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatReadyStateFunction(v) + } + }() + case 5: try { + var v: CombatProgressTokenData.CombatSwapStateFunction? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatSwapStateFunction(v) + } + }() + case 6: try { + var v: CombatProgressTokenData.CombatSpecialMoveStateFunction? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatSpecialMoveStateFunction(v) + } + }() + case 7: try { + var v: CombatProgressTokenData.CombatWaitForPlayerStateFunction? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatWaitForPlayerStateFunction(v) + } + }() + case 8: try { + var v: CombatProgressTokenData.CombatPresentationDirectorFunction? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatPresentationDirectorFunction(v) + } + }() + case 9: try { + var v: CombatProgressTokenData.CombatDirectorV2Function? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatDirectorV2Function(v) + } + }() + case 10: try { + var v: CombatProgressTokenData.CombatStateV2Function? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatStateV2Function(v) + } + }() + case 11: try { + var v: CombatProgressTokenData.CombatPokemonFunction? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .combatPokemonFunction(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.apiKey.isEmpty { - try visitor.visitSingularStringField(value: self.apiKey, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.lineNumber != 0 { + try visitor.visitSingularInt32Field(value: self.lineNumber, fieldNumber: 1) } - if !self.deviceID.isEmpty { - try visitor.visitSingularStringField(value: self.deviceID, fieldNumber: 2) + switch self.token { + case .combatActiveStateFunction?: try { + guard case .combatActiveStateFunction(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 2) + }() + case .combatEndStateFunction?: try { + guard case .combatEndStateFunction(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 3) + }() + case .combatReadyStateFunction?: try { + guard case .combatReadyStateFunction(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 4) + }() + case .combatSwapStateFunction?: try { + guard case .combatSwapStateFunction(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 5) + }() + case .combatSpecialMoveStateFunction?: try { + guard case .combatSpecialMoveStateFunction(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 6) + }() + case .combatWaitForPlayerStateFunction?: try { + guard case .combatWaitForPlayerStateFunction(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 7) + }() + case .combatPresentationDirectorFunction?: try { + guard case .combatPresentationDirectorFunction(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 8) + }() + case .combatDirectorV2Function?: try { + guard case .combatDirectorV2Function(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 9) + }() + case .combatStateV2Function?: try { + guard case .combatStateV2Function(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 10) + }() + case .combatPokemonFunction?: try { + guard case .combatPokemonFunction(let v)? = self.token else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 11) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreateGuestLoginSecretTokenRequestProto, rhs: CreateGuestLoginSecretTokenRequestProto) -> Bool { - if lhs.apiKey != rhs.apiKey {return false} - if lhs.deviceID != rhs.deviceID {return false} + public static func ==(lhs: CombatProgressTokenData, rhs: CombatProgressTokenData) -> Bool { + if lhs.token != rhs.token {return false} + if lhs.lineNumber != rhs.lineNumber {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateGuestLoginSecretTokenResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateGuestLoginSecretTokenResponseProto" +extension CombatProgressTokenData.CombatActiveStateFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "secret"), + 0: .same(proto: "NONE_COMBAT_ACTIVE_STATE"), + 1: .same(proto: "ENTER_COMBAT_ACTIVE_STATE"), + 2: .same(proto: "EXIT_COMBAT_ACTIVE_STATE"), + 3: .same(proto: "DO_WORK_COMBAT_ACTIVE_STATE"), + ] +} + +extension CombatProgressTokenData.CombatDirectorV2Function: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE_COMBAT_DIRECTOR_V2"), + 1: .same(proto: "TRY_START_COMBAT"), + 2: .same(proto: "START_COMBAT_ERROR"), + 3: .same(proto: "RECEIVE_COMBAT_UPDATE"), + 4: .same(proto: "TRY_FAST_ATTACK"), + 5: .same(proto: "SWAP_POKEMON_TO"), + 6: .same(proto: "QUEUE_SPECIAL_ATTACK"), + 7: .same(proto: "TRY_SPECIAL_ATTACK"), + 8: .same(proto: "TRY_EXECUTE_BUFFERED_ACTION"), + 9: .same(proto: "CAN_ACT_ON_TURN"), + 10: .same(proto: "CAN_PERFORM_ATTACK"), + 11: .same(proto: "CHECK_OPPONENT_CHARGE_MOVE_CHANCE"), + ] +} + +extension CombatProgressTokenData.CombatEndStateFunction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE_COMBAT_END_STATE"), + 1: .same(proto: "ENTER_COMBAT_END_STATE"), + 2: .same(proto: "EXIT_COMBAT_END_STATE"), + 3: .same(proto: "DO_WORK_COMBAT_END_STATE"), + ] +} + +extension CombatProgressTokenData.CombatPokemonFunction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "OBSERVE_ACTION"), + 1: .same(proto: "EXECUTE_ACTION"), + 2: .same(proto: "PAUSE_UPDATES"), + ] +} + +extension CombatProgressTokenData.CombatPresentationDirectorFunction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE_COMBAT_PRESENTATION_DIRECTOR"), + 1: .same(proto: "PLAY_MINI_GAME"), + ] +} + +extension CombatProgressTokenData.CombatReadyStateFunction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE_COMBAT_READY_STATE"), + 1: .same(proto: "ENTER_COMBAT_READY_STATE"), + 2: .same(proto: "EXIT_COMBAT_READY_STATE"), + 3: .same(proto: "DO_WORK_COMBAT_READY_STATE"), + ] +} + +extension CombatProgressTokenData.CombatSpecialMoveStateFunction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE_COMBAT_SPECIAL_MOVE_STATE"), + 1: .same(proto: "ENTER_COMBAT_SPECIAL_MOVE_STATE"), + 2: .same(proto: "EXIT_COMBAT_SPECIAL_MOVE_STATE"), + 3: .same(proto: "DO_WORK_COMBAT_SPECIAL_MOVE_STATE"), + 4: .same(proto: "PERFORM_FLY_IN"), + 5: .same(proto: "PERFORM_FLY_OUT"), + ] +} + +extension CombatProgressTokenData.CombatStateV2Function: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE_COMBAT_STATE_V2"), + 1: .same(proto: "OBSERVE_COMBAT_STATE"), + 2: .same(proto: "DELAY_SPECIAL_TRANSITION"), + ] +} + +extension CombatProgressTokenData.CombatSwapStateFunction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE_COMBAT_SWAP_STATE"), + 1: .same(proto: "ENTER_COMBAT_SWAP_STATE"), + 2: .same(proto: "EXIT_COMBAT_SWAP_STATE"), + 3: .same(proto: "DO_WORK_COMBAT_SWAP_STATE"), + ] +} + +extension CombatProgressTokenData.CombatWaitForPlayerStateFunction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NONE_COMBAT_WAIT_FOR_PLAYER_STATE"), + 1: .same(proto: "ENTER_COMBAT_WAIT_FOR_PLAYER_STATE"), + 2: .same(proto: "EXIT_COMBAT_WAIT_FOR_PLAYER_STATE"), + 3: .same(proto: "DO_WORK_COMBAT_WAIT_FOR_PLAYER_STATE"), + ] +} + +extension CombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "combat_state"), + 2: .standard(proto: "combat_id"), + 3: .same(proto: "player"), + 4: .same(proto: "opponent"), + 5: .standard(proto: "combat_start_ms"), + 6: .standard(proto: "combat_end_ms"), + 7: .standard(proto: "server_ms"), + 8: .standard(proto: "current_turn"), + 9: .standard(proto: "turn_start_ms"), + 10: .standard(proto: "minigame_end_ms"), + 11: .standard(proto: "minigame_submit_score_end_ms"), + 12: .standard(proto: "change_pokemon_end_ms"), + 13: .standard(proto: "quick_swap_cooldown_duration_ms"), + 14: .standard(proto: "state_change_delay_until_turn"), + 15: .standard(proto: "minigame_data"), + 16: .standard(proto: "combat_request_counter"), + 17: .standard(proto: "opponent_triggered"), + 18: .standard(proto: "opponent_request_counter"), ] + fileprivate class _StorageClass { + var _combatState: CombatProto.CombatState = .unset + var _combatID: String = String() + var _player: CombatProto.CombatPlayerProto? = nil + var _opponent: CombatProto.CombatPlayerProto? = nil + var _combatStartMs: Int64 = 0 + var _combatEndMs: Int64 = 0 + var _serverMs: Int64 = 0 + var _currentTurn: Int32 = 0 + var _turnStartMs: Int64 = 0 + var _minigameEndMs: Int64 = 0 + var _minigameSubmitScoreEndMs: Int64 = 0 + var _changePokemonEndMs: Int64 = 0 + var _quickSwapCooldownDurationMs: Int64 = 0 + var _stateChangeDelayUntilTurn: Int64 = 0 + var _minigameData: CombatProto.MinigameProto? = nil + var _combatRequestCounter: Int32 = 0 + var _opponentTriggered: Bool = false + var _opponentRequestCounter: Int32 = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _combatState = source._combatState + _combatID = source._combatID + _player = source._player + _opponent = source._opponent + _combatStartMs = source._combatStartMs + _combatEndMs = source._combatEndMs + _serverMs = source._serverMs + _currentTurn = source._currentTurn + _turnStartMs = source._turnStartMs + _minigameEndMs = source._minigameEndMs + _minigameSubmitScoreEndMs = source._minigameSubmitScoreEndMs + _changePokemonEndMs = source._changePokemonEndMs + _quickSwapCooldownDurationMs = source._quickSwapCooldownDurationMs + _stateChangeDelayUntilTurn = source._stateChangeDelayUntilTurn + _minigameData = source._minigameData + _combatRequestCounter = source._combatRequestCounter + _opponentTriggered = source._opponentTriggered + _opponentRequestCounter = source._opponentRequestCounter + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.secret) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._combatState) }() + case 2: try { try decoder.decodeSingularStringField(value: &_storage._combatID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._player) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._opponent) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._combatStartMs) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._combatEndMs) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._serverMs) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._currentTurn) }() + case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._turnStartMs) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._minigameEndMs) }() + case 11: try { try decoder.decodeSingularInt64Field(value: &_storage._minigameSubmitScoreEndMs) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._changePokemonEndMs) }() + case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._quickSwapCooldownDurationMs) }() + case 14: try { try decoder.decodeSingularInt64Field(value: &_storage._stateChangeDelayUntilTurn) }() + case 15: try { try decoder.decodeSingularMessageField(value: &_storage._minigameData) }() + case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._combatRequestCounter) }() + case 17: try { try decoder.decodeSingularBoolField(value: &_storage._opponentTriggered) }() + case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._opponentRequestCounter) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.secret.isEmpty { - try visitor.visitSingularBytesField(value: self.secret, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._combatState != .unset { + try visitor.visitSingularEnumField(value: _storage._combatState, fieldNumber: 1) + } + if !_storage._combatID.isEmpty { + try visitor.visitSingularStringField(value: _storage._combatID, fieldNumber: 2) + } + try { if let v = _storage._player { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._opponent { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if _storage._combatStartMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._combatStartMs, fieldNumber: 5) + } + if _storage._combatEndMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._combatEndMs, fieldNumber: 6) + } + if _storage._serverMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._serverMs, fieldNumber: 7) + } + if _storage._currentTurn != 0 { + try visitor.visitSingularInt32Field(value: _storage._currentTurn, fieldNumber: 8) + } + if _storage._turnStartMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._turnStartMs, fieldNumber: 9) + } + if _storage._minigameEndMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._minigameEndMs, fieldNumber: 10) + } + if _storage._minigameSubmitScoreEndMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._minigameSubmitScoreEndMs, fieldNumber: 11) + } + if _storage._changePokemonEndMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._changePokemonEndMs, fieldNumber: 12) + } + if _storage._quickSwapCooldownDurationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._quickSwapCooldownDurationMs, fieldNumber: 13) + } + if _storage._stateChangeDelayUntilTurn != 0 { + try visitor.visitSingularInt64Field(value: _storage._stateChangeDelayUntilTurn, fieldNumber: 14) + } + try { if let v = _storage._minigameData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + } }() + if _storage._combatRequestCounter != 0 { + try visitor.visitSingularInt32Field(value: _storage._combatRequestCounter, fieldNumber: 16) + } + if _storage._opponentTriggered != false { + try visitor.visitSingularBoolField(value: _storage._opponentTriggered, fieldNumber: 17) + } + if _storage._opponentRequestCounter != 0 { + try visitor.visitSingularInt32Field(value: _storage._opponentRequestCounter, fieldNumber: 18) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreateGuestLoginSecretTokenResponseProto, rhs: CreateGuestLoginSecretTokenResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.secret != rhs.secret {return false} + public static func ==(lhs: CombatProto, rhs: CombatProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._combatState != rhs_storage._combatState {return false} + if _storage._combatID != rhs_storage._combatID {return false} + if _storage._player != rhs_storage._player {return false} + if _storage._opponent != rhs_storage._opponent {return false} + if _storage._combatStartMs != rhs_storage._combatStartMs {return false} + if _storage._combatEndMs != rhs_storage._combatEndMs {return false} + if _storage._serverMs != rhs_storage._serverMs {return false} + if _storage._currentTurn != rhs_storage._currentTurn {return false} + if _storage._turnStartMs != rhs_storage._turnStartMs {return false} + if _storage._minigameEndMs != rhs_storage._minigameEndMs {return false} + if _storage._minigameSubmitScoreEndMs != rhs_storage._minigameSubmitScoreEndMs {return false} + if _storage._changePokemonEndMs != rhs_storage._changePokemonEndMs {return false} + if _storage._quickSwapCooldownDurationMs != rhs_storage._quickSwapCooldownDurationMs {return false} + if _storage._stateChangeDelayUntilTurn != rhs_storage._stateChangeDelayUntilTurn {return false} + if _storage._minigameData != rhs_storage._minigameData {return false} + if _storage._combatRequestCounter != rhs_storage._combatRequestCounter {return false} + if _storage._opponentTriggered != rhs_storage._opponentTriggered {return false} + if _storage._opponentRequestCounter != rhs_storage._opponentRequestCounter {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateGuestLoginSecretTokenResponseProto.Status: SwiftProtobuf._ProtoNameProviding { +extension CombatProto.CombatState: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "UNKNOWN_ERROR"), - 3: .same(proto: "UNAUTHORIZED"), - 4: .same(proto: "DISABLED"), - 5: .same(proto: "EXCEEDED_RATE_LIMIT"), + 1: .same(proto: "WAITING_FOR_PLAYERS"), + 2: .same(proto: "READY"), + 3: .same(proto: "ACTIVE"), + 4: .same(proto: "SPECIAL_ATTACK"), + 5: .same(proto: "WAITING_FOR_CHANGE_POKEMON"), + 6: .same(proto: "FINISHED"), + 7: .same(proto: "PLAYER_QUIT"), + 8: .same(proto: "TIMEOUT"), + 9: .same(proto: "SYNC"), ] } -extension CreatePokemonTagOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreatePokemonTagOutProto" +extension CombatProto.CombatPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatProto.protoMessageName + ".CombatPlayerProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "created_tag"), + 1: .standard(proto: "public_profile"), + 2: .standard(proto: "active_pokemon"), + 3: .standard(proto: "reserve_pokemon"), + 4: .standard(proto: "fainted_pokemon"), + 5: .standard(proto: "current_action"), + 6: .standard(proto: "lockstep_ack"), + 7: .standard(proto: "last_updated_turn"), + 8: .standard(proto: "minigame_action"), + 9: .standard(proto: "quick_swap_available_ms"), + 10: .standard(proto: "minigame_defense_chances_left"), + 11: .standard(proto: "combat_npc_personality_id"), + 12: .standard(proto: "times_combat_actions_called"), + 13: .standard(proto: "lobby_join_time_ms"), + 14: .standard(proto: "super_effective_charge_attacks_used"), + 15: .standard(proto: "last_snapshot_action_type"), ] + fileprivate class _StorageClass { + var _publicProfile: PlayerPublicProfileProto? = nil + var _activePokemon: CombatProto.CombatPokemonProto? = nil + var _reservePokemon: [CombatProto.CombatPokemonProto] = [] + var _faintedPokemon: [CombatProto.CombatPokemonProto] = [] + var _currentAction: CombatActionProto? = nil + var _lockstepAck: Bool = false + var _lastUpdatedTurn: Int32 = 0 + var _minigameAction: CombatActionProto? = nil + var _quickSwapAvailableMs: Int64 = 0 + var _minigameDefenseChancesLeft: Int32 = 0 + var _combatNpcPersonalityID: String = String() + var _timesCombatActionsCalled: Int32 = 0 + var _lobbyJoinTimeMs: Int64 = 0 + var _superEffectiveChargeAttacksUsed: Int32 = 0 + var _lastSnapshotActionType: CombatActionProto.ActionType = .unset + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _publicProfile = source._publicProfile + _activePokemon = source._activePokemon + _reservePokemon = source._reservePokemon + _faintedPokemon = source._faintedPokemon + _currentAction = source._currentAction + _lockstepAck = source._lockstepAck + _lastUpdatedTurn = source._lastUpdatedTurn + _minigameAction = source._minigameAction + _quickSwapAvailableMs = source._quickSwapAvailableMs + _minigameDefenseChancesLeft = source._minigameDefenseChancesLeft + _combatNpcPersonalityID = source._combatNpcPersonalityID + _timesCombatActionsCalled = source._timesCombatActionsCalled + _lobbyJoinTimeMs = source._lobbyJoinTimeMs + _superEffectiveChargeAttacksUsed = source._superEffectiveChargeAttacksUsed + _lastSnapshotActionType = source._lastSnapshotActionType + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._createdTag) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._publicProfile) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._activePokemon) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._reservePokemon) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &_storage._faintedPokemon) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._currentAction) }() + case 6: try { try decoder.decodeSingularBoolField(value: &_storage._lockstepAck) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._lastUpdatedTurn) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._minigameAction) }() + case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._quickSwapAvailableMs) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._minigameDefenseChancesLeft) }() + case 11: try { try decoder.decodeSingularStringField(value: &_storage._combatNpcPersonalityID) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._timesCombatActionsCalled) }() + case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._lobbyJoinTimeMs) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._superEffectiveChargeAttacksUsed) }() + case 15: try { try decoder.decodeSingularEnumField(value: &_storage._lastSnapshotActionType) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._publicProfile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = _storage._activePokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !_storage._reservePokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._reservePokemon, fieldNumber: 3) + } + if !_storage._faintedPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._faintedPokemon, fieldNumber: 4) + } + try { if let v = _storage._currentAction { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if _storage._lockstepAck != false { + try visitor.visitSingularBoolField(value: _storage._lockstepAck, fieldNumber: 6) + } + if _storage._lastUpdatedTurn != 0 { + try visitor.visitSingularInt32Field(value: _storage._lastUpdatedTurn, fieldNumber: 7) + } + try { if let v = _storage._minigameAction { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + if _storage._quickSwapAvailableMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._quickSwapAvailableMs, fieldNumber: 9) + } + if _storage._minigameDefenseChancesLeft != 0 { + try visitor.visitSingularInt32Field(value: _storage._minigameDefenseChancesLeft, fieldNumber: 10) + } + if !_storage._combatNpcPersonalityID.isEmpty { + try visitor.visitSingularStringField(value: _storage._combatNpcPersonalityID, fieldNumber: 11) + } + if _storage._timesCombatActionsCalled != 0 { + try visitor.visitSingularInt32Field(value: _storage._timesCombatActionsCalled, fieldNumber: 12) + } + if _storage._lobbyJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lobbyJoinTimeMs, fieldNumber: 13) + } + if _storage._superEffectiveChargeAttacksUsed != 0 { + try visitor.visitSingularInt32Field(value: _storage._superEffectiveChargeAttacksUsed, fieldNumber: 14) + } + if _storage._lastSnapshotActionType != .unset { + try visitor.visitSingularEnumField(value: _storage._lastSnapshotActionType, fieldNumber: 15) + } } - try { if let v = self._createdTag { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreatePokemonTagOutProto, rhs: CreatePokemonTagOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._createdTag != rhs._createdTag {return false} + public static func ==(lhs: CombatProto.CombatPlayerProto, rhs: CombatProto.CombatPlayerProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._publicProfile != rhs_storage._publicProfile {return false} + if _storage._activePokemon != rhs_storage._activePokemon {return false} + if _storage._reservePokemon != rhs_storage._reservePokemon {return false} + if _storage._faintedPokemon != rhs_storage._faintedPokemon {return false} + if _storage._currentAction != rhs_storage._currentAction {return false} + if _storage._lockstepAck != rhs_storage._lockstepAck {return false} + if _storage._lastUpdatedTurn != rhs_storage._lastUpdatedTurn {return false} + if _storage._minigameAction != rhs_storage._minigameAction {return false} + if _storage._quickSwapAvailableMs != rhs_storage._quickSwapAvailableMs {return false} + if _storage._minigameDefenseChancesLeft != rhs_storage._minigameDefenseChancesLeft {return false} + if _storage._combatNpcPersonalityID != rhs_storage._combatNpcPersonalityID {return false} + if _storage._timesCombatActionsCalled != rhs_storage._timesCombatActionsCalled {return false} + if _storage._lobbyJoinTimeMs != rhs_storage._lobbyJoinTimeMs {return false} + if _storage._superEffectiveChargeAttacksUsed != rhs_storage._superEffectiveChargeAttacksUsed {return false} + if _storage._lastSnapshotActionType != rhs_storage._lastSnapshotActionType {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreatePokemonTagOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension CombatProto.CombatPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatProto.protoMessageName + ".CombatPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), - 3: .same(proto: "TAG_ALREADY_EXISTS"), - 4: .same(proto: "PLAYER_HAS_MAXIMUM_NUMBER_OF_TAGS"), - 5: .same(proto: "TAG_NAME_CONTAINS_PROFANITY"), + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "pokedex_id"), + 3: .same(proto: "cp"), + 4: .standard(proto: "cp_multiplier"), + 5: .same(proto: "stamina"), + 6: .standard(proto: "max_stamina"), + 7: .same(proto: "move1"), + 8: .same(proto: "move2"), + 9: .same(proto: "move3"), + 10: .same(proto: "energy"), + 11: .standard(proto: "pokemon_display"), + 12: .standard(proto: "individual_attack"), + 13: .standard(proto: "individual_defense"), + 14: .standard(proto: "individual_stamina"), + 15: .standard(proto: "attack_stat_stage"), + 16: .standard(proto: "defense_stat_stage"), + 17: .standard(proto: "battles_won"), + 18: .standard(proto: "battles_lost"), + 19: .same(proto: "nickname"), + 20: .same(proto: "pokeball"), + 21: .standard(proto: "height_m"), + 22: .standard(proto: "weight_kg"), + 23: .standard(proto: "pokemon_size"), + 24: .standard(proto: "notable_action_history"), + 25: .standard(proto: "vs_effect_tag"), ] + + fileprivate class _StorageClass { + var _pokemonID: UInt64 = 0 + var _pokedexID: HoloPokemonId = .missingno + var _cp: Int32 = 0 + var _cpMultiplier: Float = 0 + var _stamina: Int32 = 0 + var _maxStamina: Int32 = 0 + var _move1: HoloPokemonMove = .moveUnset + var _move2: HoloPokemonMove = .moveUnset + var _move3: HoloPokemonMove = .moveUnset + var _energy: Int32 = 0 + var _pokemonDisplay: PokemonDisplayProto? = nil + var _individualAttack: Int32 = 0 + var _individualDefense: Int32 = 0 + var _individualStamina: Int32 = 0 + var _attackStatStage: Int32 = 0 + var _defenseStatStage: Int32 = 0 + var _battlesWon: Int32 = 0 + var _battlesLost: Int32 = 0 + var _nickname: String = String() + var _pokeball: Item = .unknown + var _heightM: Float = 0 + var _weightKg: Float = 0 + var _pokemonSize: HoloPokemonSize = .pokemonSizeUnset + var _notableActionHistory: [VsActionHistory] = [] + var _vsEffectTag: [VsEffectTag] = [] + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _pokemonID = source._pokemonID + _pokedexID = source._pokedexID + _cp = source._cp + _cpMultiplier = source._cpMultiplier + _stamina = source._stamina + _maxStamina = source._maxStamina + _move1 = source._move1 + _move2 = source._move2 + _move3 = source._move3 + _energy = source._energy + _pokemonDisplay = source._pokemonDisplay + _individualAttack = source._individualAttack + _individualDefense = source._individualDefense + _individualStamina = source._individualStamina + _attackStatStage = source._attackStatStage + _defenseStatStage = source._defenseStatStage + _battlesWon = source._battlesWon + _battlesLost = source._battlesLost + _nickname = source._nickname + _pokeball = source._pokeball + _heightM = source._heightM + _weightKg = source._weightKg + _pokemonSize = source._pokemonSize + _notableActionHistory = source._notableActionHistory + _vsEffectTag = source._vsEffectTag + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFixed64Field(value: &_storage._pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._pokedexID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._cp) }() + case 4: try { try decoder.decodeSingularFloatField(value: &_storage._cpMultiplier) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._stamina) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._maxStamina) }() + case 7: try { try decoder.decodeSingularEnumField(value: &_storage._move1) }() + case 8: try { try decoder.decodeSingularEnumField(value: &_storage._move2) }() + case 9: try { try decoder.decodeSingularEnumField(value: &_storage._move3) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._energy) }() + case 11: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._individualAttack) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._individualDefense) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._individualStamina) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._attackStatStage) }() + case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._defenseStatStage) }() + case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._battlesWon) }() + case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._battlesLost) }() + case 19: try { try decoder.decodeSingularStringField(value: &_storage._nickname) }() + case 20: try { try decoder.decodeSingularEnumField(value: &_storage._pokeball) }() + case 21: try { try decoder.decodeSingularFloatField(value: &_storage._heightM) }() + case 22: try { try decoder.decodeSingularFloatField(value: &_storage._weightKg) }() + case 23: try { try decoder.decodeSingularEnumField(value: &_storage._pokemonSize) }() + case 24: try { try decoder.decodeRepeatedMessageField(value: &_storage._notableActionHistory) }() + case 25: try { try decoder.decodeRepeatedEnumField(value: &_storage._vsEffectTag) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: _storage._pokemonID, fieldNumber: 1) + } + if _storage._pokedexID != .missingno { + try visitor.visitSingularEnumField(value: _storage._pokedexID, fieldNumber: 2) + } + if _storage._cp != 0 { + try visitor.visitSingularInt32Field(value: _storage._cp, fieldNumber: 3) + } + if _storage._cpMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._cpMultiplier, fieldNumber: 4) + } + if _storage._stamina != 0 { + try visitor.visitSingularInt32Field(value: _storage._stamina, fieldNumber: 5) + } + if _storage._maxStamina != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxStamina, fieldNumber: 6) + } + if _storage._move1 != .moveUnset { + try visitor.visitSingularEnumField(value: _storage._move1, fieldNumber: 7) + } + if _storage._move2 != .moveUnset { + try visitor.visitSingularEnumField(value: _storage._move2, fieldNumber: 8) + } + if _storage._move3 != .moveUnset { + try visitor.visitSingularEnumField(value: _storage._move3, fieldNumber: 9) + } + if _storage._energy != 0 { + try visitor.visitSingularInt32Field(value: _storage._energy, fieldNumber: 10) + } + try { if let v = _storage._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + } }() + if _storage._individualAttack != 0 { + try visitor.visitSingularInt32Field(value: _storage._individualAttack, fieldNumber: 12) + } + if _storage._individualDefense != 0 { + try visitor.visitSingularInt32Field(value: _storage._individualDefense, fieldNumber: 13) + } + if _storage._individualStamina != 0 { + try visitor.visitSingularInt32Field(value: _storage._individualStamina, fieldNumber: 14) + } + if _storage._attackStatStage != 0 { + try visitor.visitSingularInt32Field(value: _storage._attackStatStage, fieldNumber: 15) + } + if _storage._defenseStatStage != 0 { + try visitor.visitSingularInt32Field(value: _storage._defenseStatStage, fieldNumber: 16) + } + if _storage._battlesWon != 0 { + try visitor.visitSingularInt32Field(value: _storage._battlesWon, fieldNumber: 17) + } + if _storage._battlesLost != 0 { + try visitor.visitSingularInt32Field(value: _storage._battlesLost, fieldNumber: 18) + } + if !_storage._nickname.isEmpty { + try visitor.visitSingularStringField(value: _storage._nickname, fieldNumber: 19) + } + if _storage._pokeball != .unknown { + try visitor.visitSingularEnumField(value: _storage._pokeball, fieldNumber: 20) + } + if _storage._heightM != 0 { + try visitor.visitSingularFloatField(value: _storage._heightM, fieldNumber: 21) + } + if _storage._weightKg != 0 { + try visitor.visitSingularFloatField(value: _storage._weightKg, fieldNumber: 22) + } + if _storage._pokemonSize != .pokemonSizeUnset { + try visitor.visitSingularEnumField(value: _storage._pokemonSize, fieldNumber: 23) + } + if !_storage._notableActionHistory.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._notableActionHistory, fieldNumber: 24) + } + if !_storage._vsEffectTag.isEmpty { + try visitor.visitPackedEnumField(value: _storage._vsEffectTag, fieldNumber: 25) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: CombatProto.CombatPokemonProto, rhs: CombatProto.CombatPokemonProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._pokemonID != rhs_storage._pokemonID {return false} + if _storage._pokedexID != rhs_storage._pokedexID {return false} + if _storage._cp != rhs_storage._cp {return false} + if _storage._cpMultiplier != rhs_storage._cpMultiplier {return false} + if _storage._stamina != rhs_storage._stamina {return false} + if _storage._maxStamina != rhs_storage._maxStamina {return false} + if _storage._move1 != rhs_storage._move1 {return false} + if _storage._move2 != rhs_storage._move2 {return false} + if _storage._move3 != rhs_storage._move3 {return false} + if _storage._energy != rhs_storage._energy {return false} + if _storage._pokemonDisplay != rhs_storage._pokemonDisplay {return false} + if _storage._individualAttack != rhs_storage._individualAttack {return false} + if _storage._individualDefense != rhs_storage._individualDefense {return false} + if _storage._individualStamina != rhs_storage._individualStamina {return false} + if _storage._attackStatStage != rhs_storage._attackStatStage {return false} + if _storage._defenseStatStage != rhs_storage._defenseStatStage {return false} + if _storage._battlesWon != rhs_storage._battlesWon {return false} + if _storage._battlesLost != rhs_storage._battlesLost {return false} + if _storage._nickname != rhs_storage._nickname {return false} + if _storage._pokeball != rhs_storage._pokeball {return false} + if _storage._heightM != rhs_storage._heightM {return false} + if _storage._weightKg != rhs_storage._weightKg {return false} + if _storage._pokemonSize != rhs_storage._pokemonSize {return false} + if _storage._notableActionHistory != rhs_storage._notableActionHistory {return false} + if _storage._vsEffectTag != rhs_storage._vsEffectTag {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension CreatePokemonTagProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreatePokemonTagProto" +extension CombatProto.MinigameProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatProto.protoMessageName + ".MinigameProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "color"), + 1: .standard(proto: "minigame_end_ms"), + 2: .standard(proto: "minigame_submit_score_end_ms"), + 3: .standard(proto: "fly_in_completion_turn"), + 4: .standard(proto: "fly_out_completion_turn"), + 5: .standard(proto: "render_modifiers"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189073,37 +194424,50 @@ extension CreatePokemonTagProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.color) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.minigameEndMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.minigameSubmitScoreEndMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.flyInCompletionTurn) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.flyOutCompletionTurn) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.renderModifiers) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + if self.minigameEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.minigameEndMs, fieldNumber: 1) } - if self.color != .unset { - try visitor.visitSingularEnumField(value: self.color, fieldNumber: 2) + if self.minigameSubmitScoreEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.minigameSubmitScoreEndMs, fieldNumber: 2) + } + if self.flyInCompletionTurn != 0 { + try visitor.visitSingularInt32Field(value: self.flyInCompletionTurn, fieldNumber: 3) + } + if self.flyOutCompletionTurn != 0 { + try visitor.visitSingularInt32Field(value: self.flyOutCompletionTurn, fieldNumber: 4) + } + if !self.renderModifiers.isEmpty { + try visitor.visitRepeatedMessageField(value: self.renderModifiers, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreatePokemonTagProto, rhs: CreatePokemonTagProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.color != rhs.color {return false} + public static func ==(lhs: CombatProto.MinigameProto, rhs: CombatProto.MinigameProto) -> Bool { + if lhs.minigameEndMs != rhs.minigameEndMs {return false} + if lhs.minigameSubmitScoreEndMs != rhs.minigameSubmitScoreEndMs {return false} + if lhs.flyInCompletionTurn != rhs.flyInCompletionTurn {return false} + if lhs.flyOutCompletionTurn != rhs.flyOutCompletionTurn {return false} + if lhs.renderModifiers != rhs.renderModifiers {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreatePostcardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreatePostcardOutProto" +extension CombatPubSubData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatPubSubData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "postcard"), - 3: .standard(proto: "butterfly_collector_updated_region"), + 1: .standard(proto: "message_sent"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189112,61 +194476,79 @@ extension CreatePostcardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._postcard) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._butterflyCollectorUpdatedRegion) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.messageSent) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.messageSent != .noType { + try visitor.visitSingularEnumField(value: self.messageSent, fieldNumber: 1) } - try { if let v = self._postcard { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._butterflyCollectorUpdatedRegion { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreatePostcardOutProto, rhs: CreatePostcardOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._postcard != rhs._postcard {return false} - if lhs._butterflyCollectorUpdatedRegion != rhs._butterflyCollectorUpdatedRegion {return false} + public static func ==(lhs: CombatPubSubData, rhs: CombatPubSubData) -> Bool { + if lhs.messageSent != rhs.messageSent {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreatePostcardOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension CombatPubSubData.MessageType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_SENDER_DOES_NOT_EXIST"), - 3: .same(proto: "ERROR_GIFT_DOES_NOT_EXIST"), - 4: .same(proto: "ERROR_POSTCARD_ALREADY_CREATED"), - 5: .same(proto: "ERROR_POSTCARD_INVENTORY_FULL"), - 6: .same(proto: "ERROR_NOT_ENABLED"), - 7: .same(proto: "ERROR_RATE_LIMITED"), - 8: .same(proto: "ERROR_PLAYER_HAS_NO_STICKERS"), - 9: .same(proto: "SUCCESS_INVENTORY_DAILY_BUTTERFLY_LIMIT"), + 0: .same(proto: "NO_TYPE"), + 1: .same(proto: "END_NPC_COMBAT"), + 2: .same(proto: "END_INVASION_COMBAT"), + 3: .same(proto: "COMBAT_NOTIFY"), + 4: .same(proto: "END_PVP_COMBAT"), + 5: .same(proto: "VS_SEEKER_MATCH_STARTED"), + 6: .same(proto: "COMBAT_CHARGE_ATTACK_ANIMATION_ACTIVE_CHANGE"), + 7: .same(proto: "COMBAT_UPDATE_ACTION_UI"), + 8: .same(proto: "COMBAT_EXIT_COMBAT_STATE"), + 9: .same(proto: "COMBAT_SUPER_EFFECTIVE_CHARGED_ATTACKS_UPDATE"), + 10: .same(proto: "COMBAT_STATE_ENTERED"), + 11: .same(proto: "COMBAT_STATE_DONE"), + 12: .same(proto: "COMBAT_STATE_EXITED"), + 13: .same(proto: "COMBAT_INITIALIZE_PRESENTATION_DIRECTOR"), + 14: .same(proto: "COMBAT_SHOW_UI"), + 15: .same(proto: "COMBAT_HIDE_UI"), + 16: .same(proto: "COMBAT_SHOW_MESSAGE"), + 17: .same(proto: "COMBAT_SHOW_TOAST"), + 18: .same(proto: "COMBAT_SHOW_TUTORIAL"), + 19: .same(proto: "COMBAT_UPDATE_IS_SHOWING_CHARGE_ANIM"), + 20: .same(proto: "COMBAT_PLAY_MINI_GAME"), + 21: .same(proto: "COMBAT_CONTINUE_AFTER_MINI_GAME"), + 22: .same(proto: "COMBAT_SHOW_SPECIAL_ATTACK"), + 23: .same(proto: "COMBAT_SPECIAL_MOVE_STATE_ENDED"), + 24: .same(proto: "COMBAT_CLEAN_UP_SPECIAL_MOVE_STATE"), + 25: .same(proto: "COMBAT_HANDLE_SPECIAL_MOVE_CAMERA_ZOOM"), + 26: .same(proto: "COMBAT_SHIELD_USED"), + 27: .same(proto: "COMBAT_DEFENDER_FLINCH"), + 28: .same(proto: "COMBAT_OPPONENT_REACT"), + 29: .same(proto: "COMBAT_FOCUS_ON_POKEMON"), + 30: .same(proto: "COMBAT_PLAY_START_FADE_TRANSITION"), + 31: .same(proto: "COMBAT_PLAY_END_FADE_TRANSITION"), + 32: .same(proto: "COMBAT_COUNTDOWN_STARTED"), + 33: .same(proto: "COMBAT_PLAY_BACK_BUTTON_SFX"), + 34: .same(proto: "COMBAT_SETUP_COMBAT_STAGE_SUBSCRIPTIONS"), + 35: .same(proto: "COMBAT_OPPONENT_RETRIEVE_POKEMON"), + 36: .same(proto: "COMBAT_HIDE_NAMEPLATE"), + 37: .same(proto: "COMBAT_DISPLAY_PHYSICAL_SHIELD"), + 38: .same(proto: "COMBAT_UPDATE_TIMER"), + 39: .same(proto: "COMBAT_STOP_CHARGE_ATTACK_EFFECTS"), + 40: .same(proto: "COMBAT_DEFENSIVE_MINI_GAME_DECIDED"), + 41: .same(proto: "COMBAT_DEFENSIVE_MINI_GAME_SERVER_RESPONSE"), + 42: .same(proto: "COMBAT_PAUSE_NOTIFY_COMBAT_POKEMON"), ] } -extension CreatePostcardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreatePostcardProto" +extension CombatQuestUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatQuestUpdateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "giftbox_id"), - 2: .standard(proto: "sender_id"), - 3: .standard(proto: "sticker_id"), + 1: .standard(proto: "super_effective_charged_attacks_update"), + 2: .standard(proto: "fainted_opponent_pokemon"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189175,40 +194557,37 @@ extension CreatePostcardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.giftboxID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.senderID) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.stickerID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.superEffectiveChargedAttacksUpdate) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.faintedOpponentPokemon) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.giftboxID != 0 { - try visitor.visitSingularUInt64Field(value: self.giftboxID, fieldNumber: 1) - } - if !self.senderID.isEmpty { - try visitor.visitSingularStringField(value: self.senderID, fieldNumber: 2) + if self.superEffectiveChargedAttacksUpdate != 0 { + try visitor.visitSingularInt32Field(value: self.superEffectiveChargedAttacksUpdate, fieldNumber: 1) } - if !self.stickerID.isEmpty { - try visitor.visitRepeatedStringField(value: self.stickerID, fieldNumber: 3) + if !self.faintedOpponentPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.faintedOpponentPokemon, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreatePostcardProto, rhs: CreatePostcardProto) -> Bool { - if lhs.giftboxID != rhs.giftboxID {return false} - if lhs.senderID != rhs.senderID {return false} - if lhs.stickerID != rhs.stickerID {return false} + public static func ==(lhs: CombatQuestUpdateProto, rhs: CombatQuestUpdateProto) -> Bool { + if lhs.superEffectiveChargedAttacksUpdate != rhs.superEffectiveChargedAttacksUpdate {return false} + if lhs.faintedOpponentPokemon != rhs.faintedOpponentPokemon {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateSharedLoginTokenRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateSharedLoginTokenRequest" +extension CombatQuestUpdateProto.CombatQuestPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatQuestUpdateProto.protoMessageName + ".CombatQuestPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "device_id"), + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "pokedex_id"), + 3: .standard(proto: "pokemon_display"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189217,32 +194596,47 @@ extension CreateSharedLoginTokenRequest: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.deviceID) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.deviceID.isEmpty { - try visitor.visitSingularStringField(value: self.deviceID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) + } + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 2) } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreateSharedLoginTokenRequest, rhs: CreateSharedLoginTokenRequest) -> Bool { - if lhs.deviceID != rhs.deviceID {return false} + public static func ==(lhs: CombatQuestUpdateProto.CombatQuestPokemonProto, rhs: CombatQuestUpdateProto.CombatQuestPokemonProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateSharedLoginTokenResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreateSharedLoginTokenResponse" +extension CombatRankingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatRankingSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "shared_login_token"), - 3: .standard(proto: "token_meta_data"), + 1: .standard(proto: "rank_level"), + 2: .standard(proto: "required_for_rewards"), + 3: .standard(proto: "min_rank_to_display_rating"), + 4: .standard(proto: "season_number"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189251,9 +194645,10 @@ extension CreateSharedLoginTokenResponse: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.sharedLoginToken) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._tokenMetaData) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.rankLevel) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._requiredForRewards) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.minRankToDisplayRating) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.seasonNumber) }() default: break } } @@ -189264,40 +194659,38 @@ extension CreateSharedLoginTokenResponse: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.sharedLoginToken.isEmpty { - try visitor.visitSingularBytesField(value: self.sharedLoginToken, fieldNumber: 2) + if !self.rankLevel.isEmpty { + try visitor.visitRepeatedMessageField(value: self.rankLevel, fieldNumber: 1) } - try { if let v = self._tokenMetaData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + try { if let v = self._requiredForRewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() + if self.minRankToDisplayRating != 0 { + try visitor.visitSingularInt32Field(value: self.minRankToDisplayRating, fieldNumber: 3) + } + if self.seasonNumber != 0 { + try visitor.visitSingularInt32Field(value: self.seasonNumber, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreateSharedLoginTokenResponse, rhs: CreateSharedLoginTokenResponse) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.sharedLoginToken != rhs.sharedLoginToken {return false} - if lhs._tokenMetaData != rhs._tokenMetaData {return false} + public static func ==(lhs: CombatRankingSettingsProto, rhs: CombatRankingSettingsProto) -> Bool { + if lhs.rankLevel != rhs.rankLevel {return false} + if lhs._requiredForRewards != rhs._requiredForRewards {return false} + if lhs.minRankToDisplayRating != rhs.minRankToDisplayRating {return false} + if lhs.seasonNumber != rhs.seasonNumber {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreateSharedLoginTokenResponse.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension CreateSharedLoginTokenResponse.TokenMetaData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = CreateSharedLoginTokenResponse.protoMessageName + ".TokenMetaData" +extension CombatRankingSettingsProto.RankLevelProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CombatRankingSettingsProto.protoMessageName + ".RankLevelProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "email"), - 2: .standard(proto: "expiration_timestamp_ms"), + 1: .standard(proto: "rank_level"), + 2: .standard(proto: "additional_total_battles_required"), + 3: .standard(proto: "additional_wins_required"), + 4: .standard(proto: "min_rating_required"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189306,37 +194699,52 @@ extension CreateSharedLoginTokenResponse.TokenMetaData: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.email) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTimestampMs) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rankLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.additionalTotalBattlesRequired) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.additionalWinsRequired) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.minRatingRequired) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.email.isEmpty { - try visitor.visitSingularStringField(value: self.email, fieldNumber: 1) + if self.rankLevel != 0 { + try visitor.visitSingularInt32Field(value: self.rankLevel, fieldNumber: 1) } - if self.expirationTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.expirationTimestampMs, fieldNumber: 2) + if self.additionalTotalBattlesRequired != 0 { + try visitor.visitSingularInt32Field(value: self.additionalTotalBattlesRequired, fieldNumber: 2) + } + if self.additionalWinsRequired != 0 { + try visitor.visitSingularInt32Field(value: self.additionalWinsRequired, fieldNumber: 3) + } + if self.minRatingRequired != 0 { + try visitor.visitSingularInt32Field(value: self.minRatingRequired, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreateSharedLoginTokenResponse.TokenMetaData, rhs: CreateSharedLoginTokenResponse.TokenMetaData) -> Bool { - if lhs.email != rhs.email {return false} - if lhs.expirationTimestampMs != rhs.expirationTimestampMs {return false} + public static func ==(lhs: CombatRankingSettingsProto.RankLevelProto, rhs: CombatRankingSettingsProto.RankLevelProto) -> Bool { + if lhs.rankLevel != rhs.rankLevel {return false} + if lhs.additionalTotalBattlesRequired != rhs.additionalTotalBattlesRequired {return false} + if lhs.additionalWinsRequired != rhs.additionalWinsRequired {return false} + if lhs.minRatingRequired != rhs.minRatingRequired {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CreatorInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CreatorInfo" +extension CombatSeasonResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatSeasonResult" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "creator_player_id"), - 2: .standard(proto: "creator_codename"), - 3: .standard(proto: "show_creator_name"), + 1: .same(proto: "season"), + 2: .same(proto: "rank"), + 3: .standard(proto: "total_battles"), + 4: .standard(proto: "total_wins"), + 5: .same(proto: "rating"), + 6: .standard(proto: "longest_win_streak"), + 7: .standard(proto: "current_streak"), + 8: .standard(proto: "stardust_earned"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189345,80 +194753,423 @@ extension CreatorInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.creatorPlayerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.creatorCodename) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.showCreatorName) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.season) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rank) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.totalBattles) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.totalWins) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.rating) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.longestWinStreak) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.currentStreak) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &self.stardustEarned) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.creatorPlayerID.isEmpty { - try visitor.visitSingularStringField(value: self.creatorPlayerID, fieldNumber: 1) + if self.season != 0 { + try visitor.visitSingularInt32Field(value: self.season, fieldNumber: 1) + } + if self.rank != 0 { + try visitor.visitSingularInt32Field(value: self.rank, fieldNumber: 2) + } + if self.totalBattles != 0 { + try visitor.visitSingularInt32Field(value: self.totalBattles, fieldNumber: 3) + } + if self.totalWins != 0 { + try visitor.visitSingularInt32Field(value: self.totalWins, fieldNumber: 4) + } + if self.rating != 0 { + try visitor.visitSingularFloatField(value: self.rating, fieldNumber: 5) } - if !self.creatorCodename.isEmpty { - try visitor.visitSingularStringField(value: self.creatorCodename, fieldNumber: 2) + if self.longestWinStreak != 0 { + try visitor.visitSingularInt32Field(value: self.longestWinStreak, fieldNumber: 6) + } + if self.currentStreak != 0 { + try visitor.visitSingularInt32Field(value: self.currentStreak, fieldNumber: 7) } - if self.showCreatorName != false { - try visitor.visitSingularBoolField(value: self.showCreatorName, fieldNumber: 3) + if self.stardustEarned != 0 { + try visitor.visitSingularInt64Field(value: self.stardustEarned, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CreatorInfo, rhs: CreatorInfo) -> Bool { - if lhs.creatorPlayerID != rhs.creatorPlayerID {return false} - if lhs.creatorCodename != rhs.creatorCodename {return false} - if lhs.showCreatorName != rhs.showCreatorName {return false} + public static func ==(lhs: CombatSeasonResult, rhs: CombatSeasonResult) -> Bool { + if lhs.season != rhs.season {return false} + if lhs.rank != rhs.rank {return false} + if lhs.totalBattles != rhs.totalBattles {return false} + if lhs.totalWins != rhs.totalWins {return false} + if lhs.rating != rhs.rating {return false} + if lhs.longestWinStreak != rhs.longestWinStreak {return false} + if lhs.currentStreak != rhs.currentStreak {return false} + if lhs.stardustEarned != rhs.stardustEarned {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CrmProxyRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CrmProxyRequestProto" +extension CombatSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "action"), - 2: .same(proto: "payload"), + 1: .standard(proto: "round_duration_seconds"), + 2: .standard(proto: "turn_duration_seconds"), + 3: .standard(proto: "minigame_duration_seconds"), + 4: .standard(proto: "same_type_attack_bonus_multiplier"), + 5: .standard(proto: "fast_attack_bonus_multiplier"), + 6: .standard(proto: "charge_attack_bonus_multiplier"), + 7: .standard(proto: "defense_bonus_multiplier"), + 8: .standard(proto: "minigame_bonus_base_multiplier"), + 9: .standard(proto: "minigame_bonus_variable_multiplier"), + 10: .standard(proto: "max_energy"), + 11: .standard(proto: "defender_minigame_multiplier"), + 12: .standard(proto: "change_pokemon_duration_seconds"), + 13: .standard(proto: "minigame_submit_score_duration_seconds"), + 14: .standard(proto: "quick_swap_combat_start_available_seconds"), + 15: .standard(proto: "quick_swap_cooldown_duration_seconds"), + 16: .standard(proto: "offensive_input_challenge_settings"), + 17: .standard(proto: "defensive_input_challenge_settings"), + 18: .standard(proto: "charge_score_base"), + 19: .standard(proto: "charge_score_nice"), + 20: .standard(proto: "charge_score_great"), + 21: .standard(proto: "charge_score_excellent"), + 22: .standard(proto: "swap_animation_duration_turns"), + 23: .standard(proto: "super_effective_flyout_duration_turns"), + 24: .standard(proto: "not_very_effective_flyout_duration_turns"), + 25: .standard(proto: "blocked_flyout_duration_turns"), + 26: .standard(proto: "normal_effective_flyout_duration_turns"), + 27: .standard(proto: "faint_animation_duration_turns"), + 28: .standard(proto: "npc_swap_delay_turns"), + 29: .standard(proto: "npc_charged_attack_delay_turns"), + 30: .standard(proto: "shadow_pokemon_attack_bonus_multiplier"), + 31: .standard(proto: "shadow_pokemon_defense_bonus_multiplier"), + 32: .standard(proto: "purified_pokemon_attack_multiplier_vs_shadow"), + 35: .standard(proto: "combat_experiment"), + 36: .standard(proto: "show_quick_swap_buttons_during_countdown"), + 38: .standard(proto: "clock_sync_settings"), + 39: .standard(proto: "combat_feature_flags"), + 40: .standard(proto: "flyin_duration_turns"), ] + fileprivate class _StorageClass { + var _roundDurationSeconds: Float = 0 + var _turnDurationSeconds: Float = 0 + var _minigameDurationSeconds: Float = 0 + var _sameTypeAttackBonusMultiplier: Float = 0 + var _fastAttackBonusMultiplier: Float = 0 + var _chargeAttackBonusMultiplier: Float = 0 + var _defenseBonusMultiplier: Float = 0 + var _minigameBonusBaseMultiplier: Float = 0 + var _minigameBonusVariableMultiplier: Float = 0 + var _maxEnergy: Int32 = 0 + var _defenderMinigameMultiplier: Float = 0 + var _changePokemonDurationSeconds: Float = 0 + var _minigameSubmitScoreDurationSeconds: Float = 0 + var _quickSwapCombatStartAvailableSeconds: Float = 0 + var _quickSwapCooldownDurationSeconds: Float = 0 + var _offensiveInputChallengeSettings: CombatOffensiveInputChallengeSettings? = nil + var _defensiveInputChallengeSettings: CombatDefensiveInputChallengeSettings? = nil + var _chargeScoreBase: Float = 0 + var _chargeScoreNice: Float = 0 + var _chargeScoreGreat: Float = 0 + var _chargeScoreExcellent: Float = 0 + var _swapAnimationDurationTurns: Int32 = 0 + var _superEffectiveFlyoutDurationTurns: Int32 = 0 + var _notVeryEffectiveFlyoutDurationTurns: Int32 = 0 + var _blockedFlyoutDurationTurns: Int32 = 0 + var _normalEffectiveFlyoutDurationTurns: Int32 = 0 + var _faintAnimationDurationTurns: Int32 = 0 + var _npcSwapDelayTurns: Int32 = 0 + var _npcChargedAttackDelayTurns: Int32 = 0 + var _shadowPokemonAttackBonusMultiplier: Float = 0 + var _shadowPokemonDefenseBonusMultiplier: Float = 0 + var _purifiedPokemonAttackMultiplierVsShadow: Float = 0 + var _combatExperiment: [CombatExperiment] = [] + var _showQuickSwapButtonsDuringCountdown: Bool = false + var _clockSyncSettings: CombatClockSynchronization? = nil + var _combatFeatureFlags: CombatFeatureFlags? = nil + var _flyinDurationTurns: Int32 = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _roundDurationSeconds = source._roundDurationSeconds + _turnDurationSeconds = source._turnDurationSeconds + _minigameDurationSeconds = source._minigameDurationSeconds + _sameTypeAttackBonusMultiplier = source._sameTypeAttackBonusMultiplier + _fastAttackBonusMultiplier = source._fastAttackBonusMultiplier + _chargeAttackBonusMultiplier = source._chargeAttackBonusMultiplier + _defenseBonusMultiplier = source._defenseBonusMultiplier + _minigameBonusBaseMultiplier = source._minigameBonusBaseMultiplier + _minigameBonusVariableMultiplier = source._minigameBonusVariableMultiplier + _maxEnergy = source._maxEnergy + _defenderMinigameMultiplier = source._defenderMinigameMultiplier + _changePokemonDurationSeconds = source._changePokemonDurationSeconds + _minigameSubmitScoreDurationSeconds = source._minigameSubmitScoreDurationSeconds + _quickSwapCombatStartAvailableSeconds = source._quickSwapCombatStartAvailableSeconds + _quickSwapCooldownDurationSeconds = source._quickSwapCooldownDurationSeconds + _offensiveInputChallengeSettings = source._offensiveInputChallengeSettings + _defensiveInputChallengeSettings = source._defensiveInputChallengeSettings + _chargeScoreBase = source._chargeScoreBase + _chargeScoreNice = source._chargeScoreNice + _chargeScoreGreat = source._chargeScoreGreat + _chargeScoreExcellent = source._chargeScoreExcellent + _swapAnimationDurationTurns = source._swapAnimationDurationTurns + _superEffectiveFlyoutDurationTurns = source._superEffectiveFlyoutDurationTurns + _notVeryEffectiveFlyoutDurationTurns = source._notVeryEffectiveFlyoutDurationTurns + _blockedFlyoutDurationTurns = source._blockedFlyoutDurationTurns + _normalEffectiveFlyoutDurationTurns = source._normalEffectiveFlyoutDurationTurns + _faintAnimationDurationTurns = source._faintAnimationDurationTurns + _npcSwapDelayTurns = source._npcSwapDelayTurns + _npcChargedAttackDelayTurns = source._npcChargedAttackDelayTurns + _shadowPokemonAttackBonusMultiplier = source._shadowPokemonAttackBonusMultiplier + _shadowPokemonDefenseBonusMultiplier = source._shadowPokemonDefenseBonusMultiplier + _purifiedPokemonAttackMultiplierVsShadow = source._purifiedPokemonAttackMultiplierVsShadow + _combatExperiment = source._combatExperiment + _showQuickSwapButtonsDuringCountdown = source._showQuickSwapButtonsDuringCountdown + _clockSyncSettings = source._clockSyncSettings + _combatFeatureFlags = source._combatFeatureFlags + _flyinDurationTurns = source._flyinDurationTurns + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.action) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.payload) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFloatField(value: &_storage._roundDurationSeconds) }() + case 2: try { try decoder.decodeSingularFloatField(value: &_storage._turnDurationSeconds) }() + case 3: try { try decoder.decodeSingularFloatField(value: &_storage._minigameDurationSeconds) }() + case 4: try { try decoder.decodeSingularFloatField(value: &_storage._sameTypeAttackBonusMultiplier) }() + case 5: try { try decoder.decodeSingularFloatField(value: &_storage._fastAttackBonusMultiplier) }() + case 6: try { try decoder.decodeSingularFloatField(value: &_storage._chargeAttackBonusMultiplier) }() + case 7: try { try decoder.decodeSingularFloatField(value: &_storage._defenseBonusMultiplier) }() + case 8: try { try decoder.decodeSingularFloatField(value: &_storage._minigameBonusBaseMultiplier) }() + case 9: try { try decoder.decodeSingularFloatField(value: &_storage._minigameBonusVariableMultiplier) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._maxEnergy) }() + case 11: try { try decoder.decodeSingularFloatField(value: &_storage._defenderMinigameMultiplier) }() + case 12: try { try decoder.decodeSingularFloatField(value: &_storage._changePokemonDurationSeconds) }() + case 13: try { try decoder.decodeSingularFloatField(value: &_storage._minigameSubmitScoreDurationSeconds) }() + case 14: try { try decoder.decodeSingularFloatField(value: &_storage._quickSwapCombatStartAvailableSeconds) }() + case 15: try { try decoder.decodeSingularFloatField(value: &_storage._quickSwapCooldownDurationSeconds) }() + case 16: try { try decoder.decodeSingularMessageField(value: &_storage._offensiveInputChallengeSettings) }() + case 17: try { try decoder.decodeSingularMessageField(value: &_storage._defensiveInputChallengeSettings) }() + case 18: try { try decoder.decodeSingularFloatField(value: &_storage._chargeScoreBase) }() + case 19: try { try decoder.decodeSingularFloatField(value: &_storage._chargeScoreNice) }() + case 20: try { try decoder.decodeSingularFloatField(value: &_storage._chargeScoreGreat) }() + case 21: try { try decoder.decodeSingularFloatField(value: &_storage._chargeScoreExcellent) }() + case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._swapAnimationDurationTurns) }() + case 23: try { try decoder.decodeSingularInt32Field(value: &_storage._superEffectiveFlyoutDurationTurns) }() + case 24: try { try decoder.decodeSingularInt32Field(value: &_storage._notVeryEffectiveFlyoutDurationTurns) }() + case 25: try { try decoder.decodeSingularInt32Field(value: &_storage._blockedFlyoutDurationTurns) }() + case 26: try { try decoder.decodeSingularInt32Field(value: &_storage._normalEffectiveFlyoutDurationTurns) }() + case 27: try { try decoder.decodeSingularInt32Field(value: &_storage._faintAnimationDurationTurns) }() + case 28: try { try decoder.decodeSingularInt32Field(value: &_storage._npcSwapDelayTurns) }() + case 29: try { try decoder.decodeSingularInt32Field(value: &_storage._npcChargedAttackDelayTurns) }() + case 30: try { try decoder.decodeSingularFloatField(value: &_storage._shadowPokemonAttackBonusMultiplier) }() + case 31: try { try decoder.decodeSingularFloatField(value: &_storage._shadowPokemonDefenseBonusMultiplier) }() + case 32: try { try decoder.decodeSingularFloatField(value: &_storage._purifiedPokemonAttackMultiplierVsShadow) }() + case 35: try { try decoder.decodeRepeatedEnumField(value: &_storage._combatExperiment) }() + case 36: try { try decoder.decodeSingularBoolField(value: &_storage._showQuickSwapButtonsDuringCountdown) }() + case 38: try { try decoder.decodeSingularMessageField(value: &_storage._clockSyncSettings) }() + case 39: try { try decoder.decodeSingularMessageField(value: &_storage._combatFeatureFlags) }() + case 40: try { try decoder.decodeSingularInt32Field(value: &_storage._flyinDurationTurns) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.action != 0 { - try visitor.visitSingularUInt32Field(value: self.action, fieldNumber: 1) - } - if !self.payload.isEmpty { - try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._roundDurationSeconds != 0 { + try visitor.visitSingularFloatField(value: _storage._roundDurationSeconds, fieldNumber: 1) + } + if _storage._turnDurationSeconds != 0 { + try visitor.visitSingularFloatField(value: _storage._turnDurationSeconds, fieldNumber: 2) + } + if _storage._minigameDurationSeconds != 0 { + try visitor.visitSingularFloatField(value: _storage._minigameDurationSeconds, fieldNumber: 3) + } + if _storage._sameTypeAttackBonusMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._sameTypeAttackBonusMultiplier, fieldNumber: 4) + } + if _storage._fastAttackBonusMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._fastAttackBonusMultiplier, fieldNumber: 5) + } + if _storage._chargeAttackBonusMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._chargeAttackBonusMultiplier, fieldNumber: 6) + } + if _storage._defenseBonusMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._defenseBonusMultiplier, fieldNumber: 7) + } + if _storage._minigameBonusBaseMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._minigameBonusBaseMultiplier, fieldNumber: 8) + } + if _storage._minigameBonusVariableMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._minigameBonusVariableMultiplier, fieldNumber: 9) + } + if _storage._maxEnergy != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxEnergy, fieldNumber: 10) + } + if _storage._defenderMinigameMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._defenderMinigameMultiplier, fieldNumber: 11) + } + if _storage._changePokemonDurationSeconds != 0 { + try visitor.visitSingularFloatField(value: _storage._changePokemonDurationSeconds, fieldNumber: 12) + } + if _storage._minigameSubmitScoreDurationSeconds != 0 { + try visitor.visitSingularFloatField(value: _storage._minigameSubmitScoreDurationSeconds, fieldNumber: 13) + } + if _storage._quickSwapCombatStartAvailableSeconds != 0 { + try visitor.visitSingularFloatField(value: _storage._quickSwapCombatStartAvailableSeconds, fieldNumber: 14) + } + if _storage._quickSwapCooldownDurationSeconds != 0 { + try visitor.visitSingularFloatField(value: _storage._quickSwapCooldownDurationSeconds, fieldNumber: 15) + } + try { if let v = _storage._offensiveInputChallengeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + } }() + try { if let v = _storage._defensiveInputChallengeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 17) + } }() + if _storage._chargeScoreBase != 0 { + try visitor.visitSingularFloatField(value: _storage._chargeScoreBase, fieldNumber: 18) + } + if _storage._chargeScoreNice != 0 { + try visitor.visitSingularFloatField(value: _storage._chargeScoreNice, fieldNumber: 19) + } + if _storage._chargeScoreGreat != 0 { + try visitor.visitSingularFloatField(value: _storage._chargeScoreGreat, fieldNumber: 20) + } + if _storage._chargeScoreExcellent != 0 { + try visitor.visitSingularFloatField(value: _storage._chargeScoreExcellent, fieldNumber: 21) + } + if _storage._swapAnimationDurationTurns != 0 { + try visitor.visitSingularInt32Field(value: _storage._swapAnimationDurationTurns, fieldNumber: 22) + } + if _storage._superEffectiveFlyoutDurationTurns != 0 { + try visitor.visitSingularInt32Field(value: _storage._superEffectiveFlyoutDurationTurns, fieldNumber: 23) + } + if _storage._notVeryEffectiveFlyoutDurationTurns != 0 { + try visitor.visitSingularInt32Field(value: _storage._notVeryEffectiveFlyoutDurationTurns, fieldNumber: 24) + } + if _storage._blockedFlyoutDurationTurns != 0 { + try visitor.visitSingularInt32Field(value: _storage._blockedFlyoutDurationTurns, fieldNumber: 25) + } + if _storage._normalEffectiveFlyoutDurationTurns != 0 { + try visitor.visitSingularInt32Field(value: _storage._normalEffectiveFlyoutDurationTurns, fieldNumber: 26) + } + if _storage._faintAnimationDurationTurns != 0 { + try visitor.visitSingularInt32Field(value: _storage._faintAnimationDurationTurns, fieldNumber: 27) + } + if _storage._npcSwapDelayTurns != 0 { + try visitor.visitSingularInt32Field(value: _storage._npcSwapDelayTurns, fieldNumber: 28) + } + if _storage._npcChargedAttackDelayTurns != 0 { + try visitor.visitSingularInt32Field(value: _storage._npcChargedAttackDelayTurns, fieldNumber: 29) + } + if _storage._shadowPokemonAttackBonusMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._shadowPokemonAttackBonusMultiplier, fieldNumber: 30) + } + if _storage._shadowPokemonDefenseBonusMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._shadowPokemonDefenseBonusMultiplier, fieldNumber: 31) + } + if _storage._purifiedPokemonAttackMultiplierVsShadow != 0 { + try visitor.visitSingularFloatField(value: _storage._purifiedPokemonAttackMultiplierVsShadow, fieldNumber: 32) + } + if !_storage._combatExperiment.isEmpty { + try visitor.visitPackedEnumField(value: _storage._combatExperiment, fieldNumber: 35) + } + if _storage._showQuickSwapButtonsDuringCountdown != false { + try visitor.visitSingularBoolField(value: _storage._showQuickSwapButtonsDuringCountdown, fieldNumber: 36) + } + try { if let v = _storage._clockSyncSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 38) + } }() + try { if let v = _storage._combatFeatureFlags { + try visitor.visitSingularMessageField(value: v, fieldNumber: 39) + } }() + if _storage._flyinDurationTurns != 0 { + try visitor.visitSingularInt32Field(value: _storage._flyinDurationTurns, fieldNumber: 40) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CrmProxyRequestProto, rhs: CrmProxyRequestProto) -> Bool { - if lhs.action != rhs.action {return false} - if lhs.payload != rhs.payload {return false} + public static func ==(lhs: CombatSettingsProto, rhs: CombatSettingsProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._roundDurationSeconds != rhs_storage._roundDurationSeconds {return false} + if _storage._turnDurationSeconds != rhs_storage._turnDurationSeconds {return false} + if _storage._minigameDurationSeconds != rhs_storage._minigameDurationSeconds {return false} + if _storage._sameTypeAttackBonusMultiplier != rhs_storage._sameTypeAttackBonusMultiplier {return false} + if _storage._fastAttackBonusMultiplier != rhs_storage._fastAttackBonusMultiplier {return false} + if _storage._chargeAttackBonusMultiplier != rhs_storage._chargeAttackBonusMultiplier {return false} + if _storage._defenseBonusMultiplier != rhs_storage._defenseBonusMultiplier {return false} + if _storage._minigameBonusBaseMultiplier != rhs_storage._minigameBonusBaseMultiplier {return false} + if _storage._minigameBonusVariableMultiplier != rhs_storage._minigameBonusVariableMultiplier {return false} + if _storage._maxEnergy != rhs_storage._maxEnergy {return false} + if _storage._defenderMinigameMultiplier != rhs_storage._defenderMinigameMultiplier {return false} + if _storage._changePokemonDurationSeconds != rhs_storage._changePokemonDurationSeconds {return false} + if _storage._minigameSubmitScoreDurationSeconds != rhs_storage._minigameSubmitScoreDurationSeconds {return false} + if _storage._quickSwapCombatStartAvailableSeconds != rhs_storage._quickSwapCombatStartAvailableSeconds {return false} + if _storage._quickSwapCooldownDurationSeconds != rhs_storage._quickSwapCooldownDurationSeconds {return false} + if _storage._offensiveInputChallengeSettings != rhs_storage._offensiveInputChallengeSettings {return false} + if _storage._defensiveInputChallengeSettings != rhs_storage._defensiveInputChallengeSettings {return false} + if _storage._chargeScoreBase != rhs_storage._chargeScoreBase {return false} + if _storage._chargeScoreNice != rhs_storage._chargeScoreNice {return false} + if _storage._chargeScoreGreat != rhs_storage._chargeScoreGreat {return false} + if _storage._chargeScoreExcellent != rhs_storage._chargeScoreExcellent {return false} + if _storage._swapAnimationDurationTurns != rhs_storage._swapAnimationDurationTurns {return false} + if _storage._superEffectiveFlyoutDurationTurns != rhs_storage._superEffectiveFlyoutDurationTurns {return false} + if _storage._notVeryEffectiveFlyoutDurationTurns != rhs_storage._notVeryEffectiveFlyoutDurationTurns {return false} + if _storage._blockedFlyoutDurationTurns != rhs_storage._blockedFlyoutDurationTurns {return false} + if _storage._normalEffectiveFlyoutDurationTurns != rhs_storage._normalEffectiveFlyoutDurationTurns {return false} + if _storage._faintAnimationDurationTurns != rhs_storage._faintAnimationDurationTurns {return false} + if _storage._npcSwapDelayTurns != rhs_storage._npcSwapDelayTurns {return false} + if _storage._npcChargedAttackDelayTurns != rhs_storage._npcChargedAttackDelayTurns {return false} + if _storage._shadowPokemonAttackBonusMultiplier != rhs_storage._shadowPokemonAttackBonusMultiplier {return false} + if _storage._shadowPokemonDefenseBonusMultiplier != rhs_storage._shadowPokemonDefenseBonusMultiplier {return false} + if _storage._purifiedPokemonAttackMultiplierVsShadow != rhs_storage._purifiedPokemonAttackMultiplierVsShadow {return false} + if _storage._combatExperiment != rhs_storage._combatExperiment {return false} + if _storage._showQuickSwapButtonsDuringCountdown != rhs_storage._showQuickSwapButtonsDuringCountdown {return false} + if _storage._clockSyncSettings != rhs_storage._clockSyncSettings {return false} + if _storage._combatFeatureFlags != rhs_storage._combatFeatureFlags {return false} + if _storage._flyinDurationTurns != rhs_storage._flyinDurationTurns {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CrmProxyResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CrmProxyResponseProto" +extension CombatSpecialMovePlayerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatSpecialMovePlayerData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), - 3: .same(proto: "payload"), + 1: .same(proto: "player"), + 2: .same(proto: "opponent"), + 3: .standard(proto: "combat_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189427,103 +195178,163 @@ extension CrmProxyResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._player) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._opponent) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.combatID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) - } - if !self.payload.isEmpty { - try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._player { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._opponent { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.combatID.isEmpty { + try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CrmProxyResponseProto, rhs: CrmProxyResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} - if lhs.payload != rhs.payload {return false} + public static func ==(lhs: CombatSpecialMovePlayerData, rhs: CombatSpecialMovePlayerData) -> Bool { + if lhs._player != rhs._player {return false} + if lhs._opponent != rhs._opponent {return false} + if lhs.combatID != rhs.combatID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CrmProxyResponseProto.Status: SwiftProtobuf._ProtoNameProviding { +extension CombatSpecialMovePlayerLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatSpecialMovePlayerLogProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "OK"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PERMISSION_DENIED"), - 4: .same(proto: "ERROR_UNAVAILABLE"), - 5: .same(proto: "ERROR_UNAUTHENTICATED"), + 1: .standard(proto: "active_pokemon_id"), + 2: .standard(proto: "reserve_pokemon_id"), + 3: .standard(proto: "fainted_pokemon_id"), + 4: .standard(proto: "current_action"), + 5: .standard(proto: "last_updated_turn"), + 6: .standard(proto: "minigame_action"), + 7: .standard(proto: "minigame_defense_chances_left"), ] -} -extension CrossGameSocialGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CrossGameSocialGlobalSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "online_status_min_level"), - 2: .standard(proto: "niantic_profile_min_level"), - 3: .standard(proto: "friends_list_min_level"), - 4: .standard(proto: "max_friends_per_detail_page"), - ] + fileprivate class _StorageClass { + var _activePokemonID: Int32 = 0 + var _reservePokemonID: [Int32] = [] + var _faintedPokemonID: [Int32] = [] + var _currentAction: CombatActionLogProto? = nil + var _lastUpdatedTurn: Int32 = 0 + var _minigameAction: CombatActionLogProto? = nil + var _minigameDefenseChancesLeft: Int32 = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _activePokemonID = source._activePokemonID + _reservePokemonID = source._reservePokemonID + _faintedPokemonID = source._faintedPokemonID + _currentAction = source._currentAction + _lastUpdatedTurn = source._lastUpdatedTurn + _minigameAction = source._minigameAction + _minigameDefenseChancesLeft = source._minigameDefenseChancesLeft + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.onlineStatusMinLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.nianticProfileMinLevel) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.friendsListMinLevel) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxFriendsPerDetailPage) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._activePokemonID) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &_storage._reservePokemonID) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &_storage._faintedPokemonID) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._currentAction) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._lastUpdatedTurn) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._minigameAction) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._minigameDefenseChancesLeft) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.onlineStatusMinLevel != 0 { - try visitor.visitSingularInt32Field(value: self.onlineStatusMinLevel, fieldNumber: 1) - } - if self.nianticProfileMinLevel != 0 { - try visitor.visitSingularInt32Field(value: self.nianticProfileMinLevel, fieldNumber: 2) - } - if self.friendsListMinLevel != 0 { - try visitor.visitSingularInt32Field(value: self.friendsListMinLevel, fieldNumber: 3) - } - if self.maxFriendsPerDetailPage != 0 { - try visitor.visitSingularInt32Field(value: self.maxFriendsPerDetailPage, fieldNumber: 4) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._activePokemonID != 0 { + try visitor.visitSingularInt32Field(value: _storage._activePokemonID, fieldNumber: 1) + } + if !_storage._reservePokemonID.isEmpty { + try visitor.visitPackedInt32Field(value: _storage._reservePokemonID, fieldNumber: 2) + } + if !_storage._faintedPokemonID.isEmpty { + try visitor.visitPackedInt32Field(value: _storage._faintedPokemonID, fieldNumber: 3) + } + try { if let v = _storage._currentAction { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if _storage._lastUpdatedTurn != 0 { + try visitor.visitSingularInt32Field(value: _storage._lastUpdatedTurn, fieldNumber: 5) + } + try { if let v = _storage._minigameAction { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + if _storage._minigameDefenseChancesLeft != 0 { + try visitor.visitSingularInt32Field(value: _storage._minigameDefenseChancesLeft, fieldNumber: 7) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CrossGameSocialGlobalSettingsProto, rhs: CrossGameSocialGlobalSettingsProto) -> Bool { - if lhs.onlineStatusMinLevel != rhs.onlineStatusMinLevel {return false} - if lhs.nianticProfileMinLevel != rhs.nianticProfileMinLevel {return false} - if lhs.friendsListMinLevel != rhs.friendsListMinLevel {return false} - if lhs.maxFriendsPerDetailPage != rhs.maxFriendsPerDetailPage {return false} + public static func ==(lhs: CombatSpecialMovePlayerLogProto, rhs: CombatSpecialMovePlayerLogProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._activePokemonID != rhs_storage._activePokemonID {return false} + if _storage._reservePokemonID != rhs_storage._reservePokemonID {return false} + if _storage._faintedPokemonID != rhs_storage._faintedPokemonID {return false} + if _storage._currentAction != rhs_storage._currentAction {return false} + if _storage._lastUpdatedTurn != rhs_storage._lastUpdatedTurn {return false} + if _storage._minigameAction != rhs_storage._minigameAction {return false} + if _storage._minigameDefenseChancesLeft != rhs_storage._minigameDefenseChancesLeft {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CrossGameSocialSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CrossGameSocialSettingsProto" +extension CombatStatStageSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatStatStageSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "online_status_enabled_override_level"), - 2: .standard(proto: "niantic_profile_enabled_override_level"), - 3: .standard(proto: "friends_list_enabled_override_level"), + 1: .standard(proto: "minimum_stat_stage"), + 2: .standard(proto: "maximum_stat_stage"), + 3: .standard(proto: "attack_buff_multiplier"), + 4: .standard(proto: "defense_buff_multiplier"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189532,41 +195343,45 @@ extension CrossGameSocialSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.onlineStatusEnabledOverrideLevel) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.nianticProfileEnabledOverrideLevel) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.friendsListEnabledOverrideLevel) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minimumStatStage) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maximumStatStage) }() + case 3: try { try decoder.decodeRepeatedFloatField(value: &self.attackBuffMultiplier) }() + case 4: try { try decoder.decodeRepeatedFloatField(value: &self.defenseBuffMultiplier) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.onlineStatusEnabledOverrideLevel != false { - try visitor.visitSingularBoolField(value: self.onlineStatusEnabledOverrideLevel, fieldNumber: 1) + if self.minimumStatStage != 0 { + try visitor.visitSingularInt32Field(value: self.minimumStatStage, fieldNumber: 1) } - if self.nianticProfileEnabledOverrideLevel != false { - try visitor.visitSingularBoolField(value: self.nianticProfileEnabledOverrideLevel, fieldNumber: 2) + if self.maximumStatStage != 0 { + try visitor.visitSingularInt32Field(value: self.maximumStatStage, fieldNumber: 2) } - if self.friendsListEnabledOverrideLevel != false { - try visitor.visitSingularBoolField(value: self.friendsListEnabledOverrideLevel, fieldNumber: 3) + if !self.attackBuffMultiplier.isEmpty { + try visitor.visitPackedFloatField(value: self.attackBuffMultiplier, fieldNumber: 3) + } + if !self.defenseBuffMultiplier.isEmpty { + try visitor.visitPackedFloatField(value: self.defenseBuffMultiplier, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CrossGameSocialSettingsProto, rhs: CrossGameSocialSettingsProto) -> Bool { - if lhs.onlineStatusEnabledOverrideLevel != rhs.onlineStatusEnabledOverrideLevel {return false} - if lhs.nianticProfileEnabledOverrideLevel != rhs.nianticProfileEnabledOverrideLevel {return false} - if lhs.friendsListEnabledOverrideLevel != rhs.friendsListEnabledOverrideLevel {return false} + public static func ==(lhs: CombatStatStageSettingsProto, rhs: CombatStatStageSettingsProto) -> Bool { + if lhs.minimumStatStage != rhs.minimumStatStage {return false} + if lhs.maximumStatStage != rhs.maximumStatStage {return false} + if lhs.attackBuffMultiplier != rhs.attackBuffMultiplier {return false} + if lhs.defenseBuffMultiplier != rhs.defenseBuffMultiplier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CuratedLabelSpec: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CuratedLabelSpec" +extension CombatSyncServerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatSyncServerData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "blocked_labels"), - 2: .standard(proto: "added_labels"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189575,39 +195390,31 @@ extension CuratedLabelSpec: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.blockedLabels) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.addedLabels) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.blockedLabels.isEmpty { - try visitor.visitRepeatedMessageField(value: self.blockedLabels, fieldNumber: 1) - } - if !self.addedLabels.isEmpty { - try visitor.visitRepeatedMessageField(value: self.addedLabels, fieldNumber: 2) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CuratedLabelSpec, rhs: CuratedLabelSpec) -> Bool { - if lhs.blockedLabels != rhs.blockedLabels {return false} - if lhs.addedLabels != rhs.addedLabels {return false} + public static func ==(lhs: CombatSyncServerData, rhs: CombatSyncServerData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CurrencyQuantityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CurrencyQuantityProto" +extension CombatSyncServerOffsetOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatSyncServerOffsetOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "currency_type"), - 2: .same(proto: "quantity"), - 3: .standard(proto: "fiat_purchased_quantity"), - 4: .standard(proto: "fiat_currency_type"), - 5: .standard(proto: "fiat_currency_cost_e6"), + 1: .standard(proto: "server_time_ms"), + 2: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189616,100 +195423,64 @@ extension CurrencyQuantityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.currencyType) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.quantity) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.fiatPurchasedQuantity) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.fiatCurrencyType) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.fiatCurrencyCostE6) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.serverTimeMs) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.currencyType.isEmpty { - try visitor.visitSingularStringField(value: self.currencyType, fieldNumber: 1) - } - if self.quantity != 0 { - try visitor.visitSingularInt32Field(value: self.quantity, fieldNumber: 2) - } - if self.fiatPurchasedQuantity != 0 { - try visitor.visitSingularInt32Field(value: self.fiatPurchasedQuantity, fieldNumber: 3) - } - if !self.fiatCurrencyType.isEmpty { - try visitor.visitSingularStringField(value: self.fiatCurrencyType, fieldNumber: 4) + if self.serverTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.serverTimeMs, fieldNumber: 1) } - if self.fiatCurrencyCostE6 != 0 { - try visitor.visitSingularInt64Field(value: self.fiatCurrencyCostE6, fieldNumber: 5) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CurrencyQuantityProto, rhs: CurrencyQuantityProto) -> Bool { - if lhs.currencyType != rhs.currencyType {return false} - if lhs.quantity != rhs.quantity {return false} - if lhs.fiatPurchasedQuantity != rhs.fiatPurchasedQuantity {return false} - if lhs.fiatCurrencyType != rhs.fiatCurrencyType {return false} - if lhs.fiatCurrencyCostE6 != rhs.fiatCurrencyCostE6 {return false} + public static func ==(lhs: CombatSyncServerOffsetOutProto, rhs: CombatSyncServerOffsetOutProto) -> Bool { + if lhs.serverTimeMs != rhs.serverTimeMs {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CurrencyUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CurrencyUpdateProto" +extension CombatSyncServerOffsetOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "currency_name"), - 2: .standard(proto: "currency_delta"), - 3: .standard(proto: "currency_balance"), - 4: .standard(proto: "fiat_purchased_balance"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), ] +} + +extension CombatSyncServerOffsetProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatSyncServerOffsetProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.currencyName) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.currencyDelta) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.currencyBalance) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.fiatPurchasedBalance) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.currencyName.isEmpty { - try visitor.visitSingularStringField(value: self.currencyName, fieldNumber: 1) - } - if self.currencyDelta != 0 { - try visitor.visitSingularInt32Field(value: self.currencyDelta, fieldNumber: 2) - } - if self.currencyBalance != 0 { - try visitor.visitSingularInt32Field(value: self.currencyBalance, fieldNumber: 3) - } - if self.fiatPurchasedBalance != 0 { - try visitor.visitSingularInt32Field(value: self.fiatPurchasedBalance, fieldNumber: 4) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CurrencyUpdateProto, rhs: CurrencyUpdateProto) -> Bool { - if lhs.currencyName != rhs.currencyName {return false} - if lhs.currencyDelta != rhs.currencyDelta {return false} - if lhs.currencyBalance != rhs.currencyBalance {return false} - if lhs.fiatPurchasedBalance != rhs.fiatPurchasedBalance {return false} + public static func ==(lhs: CombatSyncServerOffsetProto, rhs: CombatSyncServerOffsetProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CurrentEventsSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CurrentEventsSectionProto" +extension CombatSyncServerResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatSyncServerResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "events"), + 1: .standard(proto: "rpc_id"), + 2: .same(proto: "result"), + 3: .standard(proto: "server_time_offset_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189718,32 +195489,43 @@ extension CurrentEventsSectionProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.events) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.serverTimeOffsetMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.events.isEmpty { - try visitor.visitRepeatedMessageField(value: self.events, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) + } + if self.serverTimeOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.serverTimeOffsetMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CurrentEventsSectionProto, rhs: CurrentEventsSectionProto) -> Bool { - if lhs.events != rhs.events {return false} + public static func ==(lhs: CombatSyncServerResponseData, rhs: CombatSyncServerResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.result != rhs.result {return false} + if lhs.serverTimeOffsetMs != rhs.serverTimeOffsetMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension CurrentNewsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".CurrentNewsProto" +extension CombatTypeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CombatTypeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "news_articles"), - 2: .standard(proto: "news_strings_url"), - 3: .standard(proto: "last_updated_timestamp"), + 1: .same(proto: "type"), + 2: .standard(proto: "nice_level_threshold"), + 3: .standard(proto: "great_level_threshold"), + 4: .standard(proto: "excellent_level_threshold"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189752,40 +195534,50 @@ extension CurrentNewsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.newsArticles) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.newsStringsURL) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.lastUpdatedTimestamp) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.niceLevelThreshold) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.greatLevelThreshold) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.excellentLevelThreshold) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.newsArticles.isEmpty { - try visitor.visitRepeatedMessageField(value: self.newsArticles, fieldNumber: 1) + if self.type != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } - if !self.newsStringsURL.isEmpty { - try visitor.visitSingularStringField(value: self.newsStringsURL, fieldNumber: 2) + if self.niceLevelThreshold != 0 { + try visitor.visitSingularFloatField(value: self.niceLevelThreshold, fieldNumber: 2) } - if self.lastUpdatedTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.lastUpdatedTimestamp, fieldNumber: 3) + if self.greatLevelThreshold != 0 { + try visitor.visitSingularFloatField(value: self.greatLevelThreshold, fieldNumber: 3) + } + if self.excellentLevelThreshold != 0 { + try visitor.visitSingularFloatField(value: self.excellentLevelThreshold, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: CurrentNewsProto, rhs: CurrentNewsProto) -> Bool { - if lhs.newsArticles != rhs.newsArticles {return false} - if lhs.newsStringsURL != rhs.newsStringsURL {return false} - if lhs.lastUpdatedTimestamp != rhs.lastUpdatedTimestamp {return false} + public static func ==(lhs: CombatTypeProto, rhs: CombatTypeProto) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.niceLevelThreshold != rhs.niceLevelThreshold {return false} + if lhs.greatLevelThreshold != rhs.greatLevelThreshold {return false} + if lhs.excellentLevelThreshold != rhs.excellentLevelThreshold {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyAdventureIncenseLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyAdventureIncenseLogEntry" +extension CommonMarketingTelemetryMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CommonMarketingTelemetryMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "day_bucket"), + 1: .standard(proto: "event_timestamp_ms"), + 2: .standard(proto: "environment_id"), + 3: .standard(proto: "environment_project_id"), + 4: .standard(proto: "campaign_experiment_id"), + 5: .standard(proto: "treatment_group"), + 6: .standard(proto: "local_send_time"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189794,36 +195586,56 @@ extension DailyAdventureIncenseLogEntry: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.dayBucket) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.eventTimestampMs) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.environmentID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.environmentProjectID) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.campaignExperimentID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.treatmentGroup) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.localSendTime) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.dayBucket != 0 { - try visitor.visitSingularUInt64Field(value: self.dayBucket, fieldNumber: 1) + if self.eventTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.eventTimestampMs, fieldNumber: 1) + } + if !self.environmentID.isEmpty { + try visitor.visitSingularStringField(value: self.environmentID, fieldNumber: 2) + } + if !self.environmentProjectID.isEmpty { + try visitor.visitSingularStringField(value: self.environmentProjectID, fieldNumber: 3) + } + if self.campaignExperimentID != 0 { + try visitor.visitSingularInt64Field(value: self.campaignExperimentID, fieldNumber: 4) + } + if !self.treatmentGroup.isEmpty { + try visitor.visitSingularStringField(value: self.treatmentGroup, fieldNumber: 5) + } + if !self.localSendTime.isEmpty { + try visitor.visitSingularStringField(value: self.localSendTime, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyAdventureIncenseLogEntry, rhs: DailyAdventureIncenseLogEntry) -> Bool { - if lhs.dayBucket != rhs.dayBucket {return false} + public static func ==(lhs: CommonMarketingTelemetryMetadata, rhs: CommonMarketingTelemetryMetadata) -> Bool { + if lhs.eventTimestampMs != rhs.eventTimestampMs {return false} + if lhs.environmentID != rhs.environmentID {return false} + if lhs.environmentProjectID != rhs.environmentProjectID {return false} + if lhs.campaignExperimentID != rhs.campaignExperimentID {return false} + if lhs.treatmentGroup != rhs.treatmentGroup {return false} + if lhs.localSendTime != rhs.localSendTime {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyAdventureIncenseSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyAdventureIncenseSettingsProto" +extension CommonTelemetryBootTime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryBootTime" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "pokeball_threshold_to_reward_loot"), - 3: .same(proto: "rewards"), - 4: .standard(proto: "daily_adventure_incense_reset_time"), - 5: .standard(proto: "ob_bool_2"), - 6: .standard(proto: "pace_multiplier"), - 7: .standard(proto: "ob_bool"), + 1: .standard(proto: "boot_phase"), + 2: .standard(proto: "duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189832,65 +195644,36 @@ extension DailyAdventureIncenseSettingsProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokeballThresholdToRewardLoot) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.dailyAdventureIncenseResetTime) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.paceMultiplier) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.bootPhase) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.durationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.pokeballThresholdToRewardLoot != 0 { - try visitor.visitSingularInt32Field(value: self.pokeballThresholdToRewardLoot, fieldNumber: 2) - } - try { if let v = self._rewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if !self.dailyAdventureIncenseResetTime.isEmpty { - try visitor.visitSingularStringField(value: self.dailyAdventureIncenseResetTime, fieldNumber: 4) - } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 5) - } - if self.paceMultiplier != 0 { - try visitor.visitSingularInt32Field(value: self.paceMultiplier, fieldNumber: 6) + if !self.bootPhase.isEmpty { + try visitor.visitSingularStringField(value: self.bootPhase, fieldNumber: 1) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 7) + if self.durationMs != 0 { + try visitor.visitSingularInt64Field(value: self.durationMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyAdventureIncenseSettingsProto, rhs: DailyAdventureIncenseSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.pokeballThresholdToRewardLoot != rhs.pokeballThresholdToRewardLoot {return false} - if lhs._rewards != rhs._rewards {return false} - if lhs.dailyAdventureIncenseResetTime != rhs.dailyAdventureIncenseResetTime {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.paceMultiplier != rhs.paceMultiplier {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: CommonTelemetryBootTime, rhs: CommonTelemetryBootTime) -> Bool { + if lhs.bootPhase != rhs.bootPhase {return false} + if lhs.durationMs != rhs.durationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyAdventureIncenseTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyAdventureIncenseTelemetry" +extension CommonTelemetryLogIn: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryLogIn" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "ob_bool"), + 1: .standard(proto: "timestamp_ms"), + 2: .standard(proto: "pre_login_user_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189899,45 +195682,35 @@ extension DailyAdventureIncenseTelemetry: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.preLoginUserID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + if !self.preLoginUserID.isEmpty { + try visitor.visitSingularStringField(value: self.preLoginUserID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyAdventureIncenseTelemetry, rhs: DailyAdventureIncenseTelemetry) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: CommonTelemetryLogIn, rhs: CommonTelemetryLogIn) -> Bool { + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs.preLoginUserID != rhs.preLoginUserID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyAdventureIncenseTelemetry.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "VIEW_RECAP"), - 2: .same(proto: "CLICK_SHARE_FROM_RECAP"), - 3: .same(proto: "CLICK_SHARE_FROM_PHOTO_COLLECTION"), - ] -} - -extension DailyBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyBonusProto" +extension CommonTelemetryLogOut: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryLogOut" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "next_collect_timestamp_ms"), - 2: .standard(proto: "next_defender_bonus_collect_timestamp_ms"), + 1: .standard(proto: "timestamp_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189946,35 +195719,45 @@ extension DailyBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.nextCollectTimestampMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.nextDefenderBonusCollectTimestampMs) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.nextCollectTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.nextCollectTimestampMs, fieldNumber: 1) - } - if self.nextDefenderBonusCollectTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.nextDefenderBonusCollectTimestampMs, fieldNumber: 2) + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyBonusProto, rhs: DailyBonusProto) -> Bool { - if lhs.nextCollectTimestampMs != rhs.nextCollectTimestampMs {return false} - if lhs.nextDefenderBonusCollectTimestampMs != rhs.nextDefenderBonusCollectTimestampMs {return false} + public static func ==(lhs: CommonTelemetryLogOut, rhs: CommonTelemetryLogOut) -> Bool { + if lhs.timestampMs != rhs.timestampMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyBuddyAffectionQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyBuddyAffectionQuestProto" +extension CommonTelemetryShopClick: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryShopClick" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "daily_affection_counter"), + 1: .standard(proto: "shopping_page_click_id"), + 2: .standard(proto: "sku_id"), + 3: .standard(proto: "item_id"), + 4: .standard(proto: "consolidated_item_id"), + 5: .same(proto: "currency"), + 6: .standard(proto: "fiat_price"), + 7: .standard(proto: "in_game_purchase_details"), + 8: .standard(proto: "is_item_free_fiat"), + 9: .standard(proto: "is_item_free_ingame"), + 10: .standard(proto: "time_elapsed_since_enter_page"), + 11: .standard(proto: "root_store_page_session_id"), + 12: .standard(proto: "pair_id"), + 13: .standard(proto: "store_page_name"), + 14: .standard(proto: "root_store_page_name"), + 15: .standard(proto: "access_type"), + 16: .standard(proto: "fiat_formatted_price"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -189983,36 +195766,117 @@ extension DailyBuddyAffectionQuestProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._dailyAffectionCounter) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.shoppingPageClickID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.skuID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.itemID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.consolidatedItemID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.currency) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.fiatPrice) }() + case 7: try { try decoder.decodeRepeatedMessageField(value: &self.inGamePurchaseDetails) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.isItemFreeFiat) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.isItemFreeIngame) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &self.timeElapsedSinceEnterPage) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.rootStorePageSessionID) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &self.pairID) }() + case 13: try { try decoder.decodeSingularStringField(value: &self.storePageName) }() + case 14: try { try decoder.decodeSingularStringField(value: &self.rootStorePageName) }() + case 15: try { try decoder.decodeSingularEnumField(value: &self.accessType) }() + case 16: try { try decoder.decodeSingularStringField(value: &self.fiatFormattedPrice) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._dailyAffectionCounter { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() + if !self.shoppingPageClickID.isEmpty { + try visitor.visitSingularStringField(value: self.shoppingPageClickID, fieldNumber: 1) + } + if !self.skuID.isEmpty { + try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 2) + } + if !self.itemID.isEmpty { + try visitor.visitSingularStringField(value: self.itemID, fieldNumber: 3) + } + if !self.consolidatedItemID.isEmpty { + try visitor.visitSingularStringField(value: self.consolidatedItemID, fieldNumber: 4) + } + if !self.currency.isEmpty { + try visitor.visitSingularStringField(value: self.currency, fieldNumber: 5) + } + if self.fiatPrice != 0 { + try visitor.visitSingularInt64Field(value: self.fiatPrice, fieldNumber: 6) + } + if !self.inGamePurchaseDetails.isEmpty { + try visitor.visitRepeatedMessageField(value: self.inGamePurchaseDetails, fieldNumber: 7) + } + if self.isItemFreeFiat != false { + try visitor.visitSingularBoolField(value: self.isItemFreeFiat, fieldNumber: 8) + } + if self.isItemFreeIngame != false { + try visitor.visitSingularBoolField(value: self.isItemFreeIngame, fieldNumber: 9) + } + if self.timeElapsedSinceEnterPage != 0 { + try visitor.visitSingularInt64Field(value: self.timeElapsedSinceEnterPage, fieldNumber: 10) + } + if !self.rootStorePageSessionID.isEmpty { + try visitor.visitSingularStringField(value: self.rootStorePageSessionID, fieldNumber: 11) + } + if self.pairID != 0 { + try visitor.visitSingularInt64Field(value: self.pairID, fieldNumber: 12) + } + if !self.storePageName.isEmpty { + try visitor.visitSingularStringField(value: self.storePageName, fieldNumber: 13) + } + if !self.rootStorePageName.isEmpty { + try visitor.visitSingularStringField(value: self.rootStorePageName, fieldNumber: 14) + } + if self.accessType != .unspecified { + try visitor.visitSingularEnumField(value: self.accessType, fieldNumber: 15) + } + if !self.fiatFormattedPrice.isEmpty { + try visitor.visitSingularStringField(value: self.fiatFormattedPrice, fieldNumber: 16) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyBuddyAffectionQuestProto, rhs: DailyBuddyAffectionQuestProto) -> Bool { - if lhs._dailyAffectionCounter != rhs._dailyAffectionCounter {return false} + public static func ==(lhs: CommonTelemetryShopClick, rhs: CommonTelemetryShopClick) -> Bool { + if lhs.shoppingPageClickID != rhs.shoppingPageClickID {return false} + if lhs.skuID != rhs.skuID {return false} + if lhs.itemID != rhs.itemID {return false} + if lhs.consolidatedItemID != rhs.consolidatedItemID {return false} + if lhs.currency != rhs.currency {return false} + if lhs.fiatPrice != rhs.fiatPrice {return false} + if lhs.inGamePurchaseDetails != rhs.inGamePurchaseDetails {return false} + if lhs.isItemFreeFiat != rhs.isItemFreeFiat {return false} + if lhs.isItemFreeIngame != rhs.isItemFreeIngame {return false} + if lhs.timeElapsedSinceEnterPage != rhs.timeElapsedSinceEnterPage {return false} + if lhs.rootStorePageSessionID != rhs.rootStorePageSessionID {return false} + if lhs.pairID != rhs.pairID {return false} + if lhs.storePageName != rhs.storePageName {return false} + if lhs.rootStorePageName != rhs.rootStorePageName {return false} + if lhs.accessType != rhs.accessType {return false} + if lhs.fiatFormattedPrice != rhs.fiatFormattedPrice {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyCounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyCounterProto" +extension CommonTelemetryShopClick.AccessType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "window"), - 2: .same(proto: "count"), - 3: .standard(proto: "buckets_per_day"), + 0: .same(proto: "UNSPECIFIED"), + 1: .same(proto: "PASSIVE"), + 2: .same(proto: "ACTIVE"), + ] +} + +extension CommonTelemetryShopView: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CommonTelemetryShopView" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "shopping_page_view_type_id"), + 2: .standard(proto: "view_start_timestamp_ms"), + 3: .standard(proto: "view_end_timestamp_ms"), + 4: .standard(proto: "consolidated_item_id"), + 5: .standard(proto: "root_store_page_session_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190021,40 +195885,54 @@ extension DailyCounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.window) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.bucketsPerDay) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.shoppingPageViewTypeID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.viewStartTimestampMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.viewEndTimestampMs) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.consolidatedItemID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.rootStorePageSessionID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.window != 0 { - try visitor.visitSingularInt64Field(value: self.window, fieldNumber: 1) + if !self.shoppingPageViewTypeID.isEmpty { + try visitor.visitSingularStringField(value: self.shoppingPageViewTypeID, fieldNumber: 1) } - if self.count != 0 { - try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) + if self.viewStartTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.viewStartTimestampMs, fieldNumber: 2) } - if self.bucketsPerDay != 0 { - try visitor.visitSingularInt32Field(value: self.bucketsPerDay, fieldNumber: 3) + if self.viewEndTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.viewEndTimestampMs, fieldNumber: 3) + } + if !self.consolidatedItemID.isEmpty { + try visitor.visitRepeatedStringField(value: self.consolidatedItemID, fieldNumber: 4) + } + if !self.rootStorePageSessionID.isEmpty { + try visitor.visitSingularStringField(value: self.rootStorePageSessionID, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyCounterProto, rhs: DailyCounterProto) -> Bool { - if lhs.window != rhs.window {return false} - if lhs.count != rhs.count {return false} - if lhs.bucketsPerDay != rhs.bucketsPerDay {return false} + public static func ==(lhs: CommonTelemetryShopView, rhs: CommonTelemetryShopView) -> Bool { + if lhs.shoppingPageViewTypeID != rhs.shoppingPageViewTypeID {return false} + if lhs.viewStartTimestampMs != rhs.viewStartTimestampMs {return false} + if lhs.viewEndTimestampMs != rhs.viewEndTimestampMs {return false} + if lhs.consolidatedItemID != rhs.consolidatedItemID {return false} + if lhs.rootStorePageSessionID != rhs.rootStorePageSessionID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyEncounterGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyEncounterGlobalSettingsProto" +extension CommonTempEvoSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CommonTempEvoSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 1: .standard(proto: "evolution_length_ms"), + 2: .standard(proto: "enable_temp_evo_level"), + 3: .standard(proto: "num_temp_evo_levels"), + 4: .standard(proto: "enable_buddy_walking_temp_evo_energy_award"), + 10: .standard(proto: "client_mega_cooldown_buffer_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190063,34 +195941,55 @@ extension DailyEncounterGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.evolutionLengthMs) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableTempEvoLevel) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.numTempEvoLevels) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.enableBuddyWalkingTempEvoEnergyAward) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &self.clientMegaCooldownBufferMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.evolutionLengthMs != 0 { + try visitor.visitSingularInt64Field(value: self.evolutionLengthMs, fieldNumber: 1) + } + if self.enableTempEvoLevel != false { + try visitor.visitSingularBoolField(value: self.enableTempEvoLevel, fieldNumber: 2) + } + if self.numTempEvoLevels != 0 { + try visitor.visitSingularInt32Field(value: self.numTempEvoLevels, fieldNumber: 3) + } + if self.enableBuddyWalkingTempEvoEnergyAward != false { + try visitor.visitSingularBoolField(value: self.enableBuddyWalkingTempEvoEnergyAward, fieldNumber: 4) + } + if self.clientMegaCooldownBufferMs != 0 { + try visitor.visitSingularInt32Field(value: self.clientMegaCooldownBufferMs, fieldNumber: 10) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyEncounterGlobalSettingsProto, rhs: DailyEncounterGlobalSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: CommonTempEvoSettingsProto, rhs: CommonTempEvoSettingsProto) -> Bool { + if lhs.evolutionLengthMs != rhs.evolutionLengthMs {return false} + if lhs.enableTempEvoLevel != rhs.enableTempEvoLevel {return false} + if lhs.numTempEvoLevels != rhs.numTempEvoLevels {return false} + if lhs.enableBuddyWalkingTempEvoEnergyAward != rhs.enableBuddyWalkingTempEvoEnergyAward {return false} + if lhs.clientMegaCooldownBufferMs != rhs.clientMegaCooldownBufferMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyEncounterOutProto" +extension CompleteCompetitiveSeasonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteCompetitiveSeasonOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "pokemon"), - 3: .standard(proto: "capture_probability"), - 4: .standard(proto: "active_item"), - 5: .standard(proto: "arplus_attempts_until_flee"), + 2: .standard(proto: "loot_proto"), + 3: .standard(proto: "new_rank"), + 4: .standard(proto: "new_rating"), + 5: .standard(proto: "last_season_result"), + 6: .standard(proto: "was_player_active"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190100,10 +195999,11 @@ extension DailyEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._lootProto) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.newRank) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.newRating) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._lastSeasonResult) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.wasPlayerActive) }() default: break } } @@ -190117,84 +196017,69 @@ extension DailyEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._pokemon { + try { if let v = self._lootProto { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if let v = self._captureProbability { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if self.activeItem != .unknown { - try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) + if self.newRank != 0 { + try visitor.visitSingularInt32Field(value: self.newRank, fieldNumber: 3) } - if self.arplusAttemptsUntilFlee != 0 { - try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 5) + if self.newRating != 0 { + try visitor.visitSingularFloatField(value: self.newRating, fieldNumber: 4) + } + try { if let v = self._lastSeasonResult { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if self.wasPlayerActive != false { + try visitor.visitSingularBoolField(value: self.wasPlayerActive, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyEncounterOutProto, rhs: DailyEncounterOutProto) -> Bool { + public static func ==(lhs: CompleteCompetitiveSeasonOutProto, rhs: CompleteCompetitiveSeasonOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs._pokemon != rhs._pokemon {return false} - if lhs._captureProbability != rhs._captureProbability {return false} - if lhs.activeItem != rhs.activeItem {return false} - if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} + if lhs._lootProto != rhs._lootProto {return false} + if lhs.newRank != rhs.newRank {return false} + if lhs.newRating != rhs.newRating {return false} + if lhs._lastSeasonResult != rhs._lastSeasonResult {return false} + if lhs.wasPlayerActive != rhs.wasPlayerActive {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension CompleteCompetitiveSeasonOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ENCOUNTER_NOT_AVAILABLE"), - 3: .same(proto: "POKEMON_INVENTORY_FULL"), + 2: .same(proto: "ERROR_PLAYER_HAS_NO_VS_SEEKER"), + 3: .same(proto: "ERROR_REWARDS_ALREADY_COLLECTED"), ] } -extension DailyEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyEncounterProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "encounter_id"), - 2: .standard(proto: "encounter_location"), - ] +extension CompleteCompetitiveSeasonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteCompetitiveSeasonProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.encounterID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.encounterID != 0 { - try visitor.visitSingularInt64Field(value: self.encounterID, fieldNumber: 1) - } - if !self.encounterLocation.isEmpty { - try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyEncounterProto, rhs: DailyEncounterProto) -> Bool { - if lhs.encounterID != rhs.encounterID {return false} - if lhs.encounterLocation != rhs.encounterLocation {return false} + public static func ==(lhs: CompleteCompetitiveSeasonProto, rhs: CompleteCompetitiveSeasonProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyQuestProto" +extension CompleteInvasionDialogueOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteInvasionDialogueOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "current_period_bucket"), - 2: .standard(proto: "current_streak_count"), + 1: .same(proto: "status"), + 2: .standard(proto: "granted_loot"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190203,40 +196088,40 @@ extension DailyQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.currentPeriodBucket) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.currentStreakCount) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._grantedLoot) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.currentPeriodBucket != 0 { - try visitor.visitSingularInt32Field(value: self.currentPeriodBucket, fieldNumber: 1) - } - if self.currentStreakCount != 0 { - try visitor.visitSingularInt32Field(value: self.currentStreakCount, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } + try { if let v = self._grantedLoot { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyQuestProto, rhs: DailyQuestProto) -> Bool { - if lhs.currentPeriodBucket != rhs.currentPeriodBucket {return false} - if lhs.currentStreakCount != rhs.currentStreakCount {return false} + public static func ==(lhs: CompleteInvasionDialogueOutProto, rhs: CompleteInvasionDialogueOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._grantedLoot != rhs._grantedLoot {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyQuestSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyQuestSettings" +extension CompleteInvasionDialogueProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteInvasionDialogueProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "buckets_per_day"), - 2: .standard(proto: "streak_length"), - 3: .standard(proto: "bonus_multiplier"), - 4: .standard(proto: "streak_bonus_multiplier"), - 5: .same(proto: "disable"), - 6: .standard(proto: "ob_bool"), + 1: .standard(proto: "incident_lookup"), + 2: .same(proto: "step"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190245,55 +196130,39 @@ extension DailyQuestSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.bucketsPerDay) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.streakLength) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.bonusMultiplier) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.streakBonusMultiplier) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.disable) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._incidentLookup) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.step) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.bucketsPerDay != 0 { - try visitor.visitSingularInt32Field(value: self.bucketsPerDay, fieldNumber: 1) - } - if self.streakLength != 0 { - try visitor.visitSingularInt32Field(value: self.streakLength, fieldNumber: 2) - } - if self.bonusMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.bonusMultiplier, fieldNumber: 3) - } - if self.streakBonusMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.streakBonusMultiplier, fieldNumber: 4) - } - if self.disable != false { - try visitor.visitSingularBoolField(value: self.disable, fieldNumber: 5) - } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 6) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._incidentLookup { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.step != 0 { + try visitor.visitSingularInt32Field(value: self.step, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyQuestSettings, rhs: DailyQuestSettings) -> Bool { - if lhs.bucketsPerDay != rhs.bucketsPerDay {return false} - if lhs.streakLength != rhs.streakLength {return false} - if lhs.bonusMultiplier != rhs.bonusMultiplier {return false} - if lhs.streakBonusMultiplier != rhs.streakBonusMultiplier {return false} - if lhs.disable != rhs.disable {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: CompleteInvasionDialogueProto, rhs: CompleteInvasionDialogueProto) -> Bool { + if lhs._incidentLookup != rhs._incidentLookup {return false} + if lhs.step != rhs.step {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyStreaksProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DailyStreaksProto" +extension CompleteMilestoneOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteMilestoneOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "streaks"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190302,33 +196171,42 @@ extension DailyStreaksProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.streaks) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.streaks.isEmpty { - try visitor.visitRepeatedMessageField(value: self.streaks, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyStreaksProto, rhs: DailyStreaksProto) -> Bool { - if lhs.streaks != rhs.streaks {return false} + public static func ==(lhs: CompleteMilestoneOutProto, rhs: CompleteMilestoneOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DailyStreaksProto.StreakProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = DailyStreaksProto.protoMessageName + ".StreakProto" +extension CompleteMilestoneOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "quest_type"), - 2: .same(proto: "count"), - 3: .same(proto: "target"), - 4: .standard(proto: "remaining_today"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_DISABLED"), + 3: .same(proto: "ERROR_MILESTONE_NOT_FOUND"), + 4: .same(proto: "ERROR_MILESTONE_COMPLETE"), + 5: .same(proto: "ERROR_MILESTONE_NOT_ACHIEVED"), + 6: .same(proto: "ERROR_POKEMON_INVENTORY_FULL"), + ] +} + +extension CompleteMilestoneProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteMilestoneProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "milestone_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190337,84 +196215,132 @@ extension DailyStreaksProto.StreakProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.questType) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.target) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.remainingToday) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.milestoneID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.questType != .questUnset { - try visitor.visitSingularEnumField(value: self.questType, fieldNumber: 1) - } - if self.count != 0 { - try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) - } - if self.target != 0 { - try visitor.visitSingularInt32Field(value: self.target, fieldNumber: 3) - } - if self.remainingToday != 0 { - try visitor.visitSingularInt32Field(value: self.remainingToday, fieldNumber: 4) + if !self.milestoneID.isEmpty { + try visitor.visitSingularStringField(value: self.milestoneID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DailyStreaksProto.StreakProto, rhs: DailyStreaksProto.StreakProto) -> Bool { - if lhs.questType != rhs.questType {return false} - if lhs.count != rhs.count {return false} - if lhs.target != rhs.target {return false} - if lhs.remainingToday != rhs.remainingToday {return false} + public static func ==(lhs: CompleteMilestoneProto, rhs: CompleteMilestoneProto) -> Bool { + if lhs.milestoneID != rhs.milestoneID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DamagePropertyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DamagePropertyProto" +extension CompletePartyQuestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompletePartyQuestOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "super_effective_charge_move"), - 2: .standard(proto: "weather_boosted"), + 1: .same(proto: "result"), + 2: .standard(proto: "claimed_quest"), + 3: .standard(proto: "updated_party_quest"), ] + fileprivate class _StorageClass { + var _result: CompletePartyQuestOutProto.Result = .unset + var _claimedQuest: PartyQuestStateProto? = nil + var _updatedPartyQuest: PartyQuestRpcProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _result = source._result + _claimedQuest = source._claimedQuest + _updatedPartyQuest = source._updatedPartyQuest + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.superEffectiveChargeMove) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.weatherBoosted) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._claimedQuest) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._updatedPartyQuest) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.superEffectiveChargeMove != false { - try visitor.visitSingularBoolField(value: self.superEffectiveChargeMove, fieldNumber: 1) - } - if self.weatherBoosted != false { - try visitor.visitSingularBoolField(value: self.weatherBoosted, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._result != .unset { + try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) + } + try { if let v = _storage._claimedQuest { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = _storage._updatedPartyQuest { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DamagePropertyProto, rhs: DamagePropertyProto) -> Bool { - if lhs.superEffectiveChargeMove != rhs.superEffectiveChargeMove {return false} - if lhs.weatherBoosted != rhs.weatherBoosted {return false} + public static func ==(lhs: CompletePartyQuestOutProto, rhs: CompletePartyQuestOutProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._result != rhs_storage._result {return false} + if _storage._claimedQuest != rhs_storage._claimedQuest {return false} + if _storage._updatedPartyQuest != rhs_storage._updatedPartyQuest {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DataAccessRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DataAccessRequest" +extension CompletePartyQuestOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "email"), - 2: .standard(proto: "language_short_code"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "ERROR_FEATURE_DISABLED"), + 3: .same(proto: "ERROR_PLAYER_NOT_IN_PARTY"), + 4: .same(proto: "ERROR_PARTY_NOT_FOUND"), + 5: .same(proto: "ERROR_PARTY_STATUS_INVALID"), + 6: .same(proto: "ERROR_QUEST_NOT_FOUND"), + 7: .same(proto: "ERROR_QUEST_STILL_IN_PROGRESS"), + 9: .same(proto: "ERROR_PLAYER_STATE_NOT_FOUND"), + 10: .same(proto: "ERROR_PLAYER_ALREADY_AWARDED"), + 11: .same(proto: "ERROR_REWARD_ITEM_REACH_LIMIT"), + 12: .same(proto: "SUCCESS"), + 13: .same(proto: "ERROR_PLFE_REDIRECT_NEEDED"), + ] +} + +extension CompletePartyQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompletePartyQuestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "unclaimed_quest_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190423,36 +196349,32 @@ extension DataAccessRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.email) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.languageShortCode) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.unclaimedQuestID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.email.isEmpty { - try visitor.visitSingularStringField(value: self.email, fieldNumber: 1) - } - if !self.languageShortCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageShortCode, fieldNumber: 2) + if !self.unclaimedQuestID.isEmpty { + try visitor.visitSingularStringField(value: self.unclaimedQuestID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DataAccessRequest, rhs: DataAccessRequest) -> Bool { - if lhs.email != rhs.email {return false} - if lhs.languageShortCode != rhs.languageShortCode {return false} + public static func ==(lhs: CompletePartyQuestProto, rhs: CompletePartyQuestProto) -> Bool { + if lhs.unclaimedQuestID != rhs.unclaimedQuestID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DataAccessResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DataAccessResponse" +extension CompleteQuestLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteQuestLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), + 1: .same(proto: "result"), + 2: .same(proto: "quest"), + 3: .same(proto: "stamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190461,48 +196383,54 @@ extension DataAccessResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._quest) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.stamp) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + try { if let v = self._quest { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.stamp.isEmpty { + try visitor.visitRepeatedMessageField(value: self.stamp, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DataAccessResponse, rhs: DataAccessResponse) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} + public static func ==(lhs: CompleteQuestLogEntry, rhs: CompleteQuestLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._quest != rhs._quest {return false} + if lhs.stamp != rhs.stamp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DataAccessResponse.Status: SwiftProtobuf._ProtoNameProviding { +extension CompleteQuestLogEntry.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALIDEMAIL"), - 3: .same(proto: "ERROR_INVALIDLANGUAGE"), - 4: .same(proto: "ERROR_UNKNOWN"), ] } -extension Datapoint: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Datapoint" +extension CompleteQuestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteQuestOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "long"), - 2: .same(proto: "double"), - 3: .same(proto: "boolean"), - 5: .same(proto: "kind"), + 1: .same(proto: "status"), + 2: .same(proto: "quest"), + 3: .same(proto: "stamp"), + 4: .standard(proto: "party_quest_candidates"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190511,31 +196439,10 @@ extension Datapoint: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: Int64? - try decoder.decodeSingularInt64Field(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .long(v) - } - }() - case 2: try { - var v: Double? - try decoder.decodeSingularDoubleField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .double(v) - } - }() - case 3: try { - var v: Bool? - try decoder.decodeSingularBoolField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .boolean(v) - } - }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.kind) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._quest) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.stamp) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.partyQuestCandidates) }() default: break } } @@ -190546,48 +196453,65 @@ extension Datapoint: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - switch self.value { - case .long?: try { - guard case .long(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularInt64Field(value: v, fieldNumber: 1) - }() - case .double?: try { - guard case .double(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularDoubleField(value: v, fieldNumber: 2) - }() - case .boolean?: try { - guard case .boolean(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularBoolField(value: v, fieldNumber: 3) - }() - case nil: break + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try { if let v = self._quest { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.stamp.isEmpty { + try visitor.visitRepeatedMessageField(value: self.stamp, fieldNumber: 3) } - if self.kind != .unspecified { - try visitor.visitSingularEnumField(value: self.kind, fieldNumber: 5) + if !self.partyQuestCandidates.isEmpty { + try visitor.visitRepeatedMessageField(value: self.partyQuestCandidates, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Datapoint, rhs: Datapoint) -> Bool { - if lhs.value != rhs.value {return false} - if lhs.kind != rhs.kind {return false} + public static func ==(lhs: CompleteQuestOutProto, rhs: CompleteQuestOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._quest != rhs._quest {return false} + if lhs.stamp != rhs.stamp {return false} + if lhs.partyQuestCandidates != rhs.partyQuestCandidates {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Datapoint.Kind: SwiftProtobuf._ProtoNameProviding { +extension CompleteQuestOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unspecified"), - 1: .same(proto: "gauge"), - 2: .same(proto: "delta"), - 3: .same(proto: "cumulative"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_QUEST_NOT_FOUND"), + 3: .same(proto: "ERROR_QUEST_STILL_IN_PROGRESS"), + 4: .same(proto: "ERROR_QUEST_ALREADY_COMPLETED"), + 5: .same(proto: "ERROR_SUBQUEST_NOT_FOUND"), + 6: .same(proto: "ERROR_SUBQUEST_STILL_IN_PROGRESS"), + 7: .same(proto: "ERROR_SUBQUEST_ALREADY_COMPLETED"), + 8: .same(proto: "ERROR_MULTIPART_STILL_IN_PROGRESS"), + 9: .same(proto: "ERROR_MULTIPART_ALREADY_COMPLETED"), + 10: .same(proto: "ERROR_REDEEM_COMPLETED_QUEST_STAMP_CARD_FIRST"), + 11: .same(proto: "ERROR_INVENTORY_FULL"), + 12: .same(proto: "ERROR_INVALID_BRANCH"), + 13: .same(proto: "ERROR_REWARD_ITEM_REACH_LIMIT"), + 14: .same(proto: "SUCCESS_PARTY_QUEST_CONCLUDED"), + 15: .same(proto: "ERROR_PARTY_QUEST_CLAIM_REWARDS_DEADLINE_EXCEEDED"), + 16: .same(proto: "SUCCESS_PARTY_QUEST_FORCE_CONCLUDED"), + 17: .same(proto: "SUCCESS_PARTY_QUEST_FORCE_CONCLUDE_IGNORED"), + 18: .same(proto: "ERROR_PARTY_QUEST_FORCE_CONCLUDE_STILL_AWARDING"), + 19: .same(proto: "ERROR_PARTY_QUEST_FORCE_CONCLUDE_ALREADY_CONCLUDED"), ] } -extension DaysWithARowQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DaysWithARowQuestProto" +extension CompleteQuestPokemonEncounterLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteQuestPokemonEncounterLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "last_window"), + 1: .same(proto: "result"), + 2: .standard(proto: "pokedex_number"), + 3: .standard(proto: "combat_points"), + 4: .standard(proto: "pokemon_id"), + 5: .standard(proto: "pokemon_display"), + 6: .standard(proto: "encounter_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190596,31 +196520,70 @@ extension DaysWithARowQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.lastWindow) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokedexNumber) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.combatPoints) }() + case 4: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 6: try { try decoder.decodeSingularEnumField(value: &self.encounterType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.lastWindow != 0 { - try visitor.visitSingularInt32Field(value: self.lastWindow, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if self.pokedexNumber != 0 { + try visitor.visitSingularInt32Field(value: self.pokedexNumber, fieldNumber: 2) + } + if self.combatPoints != 0 { + try visitor.visitSingularInt32Field(value: self.combatPoints, fieldNumber: 3) + } + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 4) + } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if self.encounterType != .spawnPoint { + try visitor.visitSingularEnumField(value: self.encounterType, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DaysWithARowQuestProto, rhs: DaysWithARowQuestProto) -> Bool { - if lhs.lastWindow != rhs.lastWindow {return false} + public static func ==(lhs: CompleteQuestPokemonEncounterLogEntry, rhs: CompleteQuestPokemonEncounterLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.pokedexNumber != rhs.pokedexNumber {return false} + if lhs.combatPoints != rhs.combatPoints {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + if lhs.encounterType != rhs.encounterType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DebugInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DebugInfoProto" +extension CompleteQuestPokemonEncounterLogEntry.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "latitude"), - 2: .same(proto: "longitude"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "POKEMON_CAPTURED"), + 2: .same(proto: "POKEMON_FLED"), + ] +} + +extension CompleteQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteQuestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "quest_id"), + 2: .standard(proto: "sub_quest_id"), + 3: .standard(proto: "choice_id"), + 4: .standard(proto: "force_conclude_party_quest"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190629,35 +196592,46 @@ extension DebugInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.questID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.subQuestID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.choiceID) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.forceConcludePartyQuest) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.latitude != 0 { - try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 1) + if !self.questID.isEmpty { + try visitor.visitSingularStringField(value: self.questID, fieldNumber: 1) } - if self.longitude != 0 { - try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 2) + if !self.subQuestID.isEmpty { + try visitor.visitSingularStringField(value: self.subQuestID, fieldNumber: 2) + } + if self.choiceID != 0 { + try visitor.visitSingularInt32Field(value: self.choiceID, fieldNumber: 3) + } + if self.forceConcludePartyQuest != false { + try visitor.visitSingularBoolField(value: self.forceConcludePartyQuest, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DebugInfoProto, rhs: DebugInfoProto) -> Bool { - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} + public static func ==(lhs: CompleteQuestProto, rhs: CompleteQuestProto) -> Bool { + if lhs.questID != rhs.questID {return false} + if lhs.subQuestID != rhs.subQuestID {return false} + if lhs.choiceID != rhs.choiceID {return false} + if lhs.forceConcludePartyQuest != rhs.forceConcludePartyQuest {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeclineCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeclineCombatChallengeDataProto" +extension CompleteQuestStampCardLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteQuestStampCardLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .same(proto: "result"), + 2: .same(proto: "reward"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190666,30 +196640,43 @@ extension DeclineCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.reward) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.reward.isEmpty { + try visitor.visitRepeatedMessageField(value: self.reward, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeclineCombatChallengeDataProto, rhs: DeclineCombatChallengeDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: CompleteQuestStampCardLogEntry, rhs: CompleteQuestStampCardLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.reward != rhs.reward {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeclineCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeclineCombatChallengeOutProto" +extension CompleteQuestStampCardLogEntry.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + ] +} + +extension CompleteQuestStampCardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteQuestStampCardOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .same(proto: "reward"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190698,75 +196685,63 @@ extension DeclineCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.reward) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.reward.isEmpty { + try visitor.visitRepeatedMessageField(value: self.reward, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeclineCombatChallengeOutProto, rhs: DeclineCombatChallengeOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: CompleteQuestStampCardOutProto, rhs: CompleteQuestStampCardOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.reward != rhs.reward {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeclineCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension CompleteQuestStampCardOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), - 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), - 4: .same(proto: "ERROR_ALREADY_TIMEDOUT"), - 5: .same(proto: "ERROR_ALREADY_CANCELLED"), + 2: .same(proto: "ERROR_STILL_IN_PROGRESS"), ] } -extension DeclineCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeclineCombatChallengeProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), - ] +extension CompleteQuestStampCardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteQuestStampCardProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeclineCombatChallengeProto, rhs: DeclineCombatChallengeProto) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} + public static func ==(lhs: CompleteQuestStampCardProto, rhs: CompleteQuestStampCardProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeclineCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeclineCombatChallengeResponseDataProto" +extension CompleteReferralMilestoneLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteReferralMilestoneLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), + 1: .standard(proto: "milestone_completed"), + 2: .same(proto: "reward"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190775,41 +196750,40 @@ extension DeclineCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftP // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._milestoneCompleted) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.reward) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) - } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._milestoneCompleted { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.reward.isEmpty { + try visitor.visitRepeatedMessageField(value: self.reward, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeclineCombatChallengeResponseDataProto, rhs: DeclineCombatChallengeResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} + public static func ==(lhs: CompleteReferralMilestoneLogEntry, rhs: CompleteReferralMilestoneLogEntry) -> Bool { + if lhs._milestoneCompleted != rhs._milestoneCompleted {return false} + if lhs.reward != rhs.reward {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeclineExRaidPassLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeclineExRaidPassLogEntry" +extension CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CompleteReferralMilestoneLogEntry.protoMessageName + ".MilestoneLogEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "friend_codename"), + 1: .standard(proto: "name_key"), + 6: .standard(proto: "name_template_variable"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190818,42 +196792,36 @@ extension DeclineExRaidPassLogEntry: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.friendCodename) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.nameKey) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &self.nameTemplateVariable) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.nameKey.isEmpty { + try visitor.visitSingularStringField(value: self.nameKey, fieldNumber: 1) } - if !self.friendCodename.isEmpty { - try visitor.visitSingularStringField(value: self.friendCodename, fieldNumber: 2) + if !self.nameTemplateVariable.isEmpty { + try visitor.visitRepeatedMessageField(value: self.nameTemplateVariable, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeclineExRaidPassLogEntry, rhs: DeclineExRaidPassLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.friendCodename != rhs.friendCodename {return false} + public static func ==(lhs: CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto, rhs: CompleteReferralMilestoneLogEntry.MilestoneLogEntryProto) -> Bool { + if lhs.nameKey != rhs.nameKey {return false} + if lhs.nameTemplateVariable != rhs.nameTemplateVariable {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeclineExRaidPassLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - ] -} - -extension DeclineExRaidPassOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeclineExRaidPassOutProto" +extension CompleteReferralMilestoneLogEntry.TemplateVariableProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = CompleteReferralMilestoneLogEntry.protoMessageName + ".TemplateVariableProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .same(proto: "name"), + 2: .same(proto: "literal"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190862,40 +196830,40 @@ extension DeclineExRaidPassOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.literal) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + } + if !self.literal.isEmpty { + try visitor.visitSingularStringField(value: self.literal, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeclineExRaidPassOutProto, rhs: DeclineExRaidPassOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: CompleteReferralMilestoneLogEntry.TemplateVariableProto, rhs: CompleteReferralMilestoneLogEntry.TemplateVariableProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.literal != rhs.literal {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeclineExRaidPassOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_EX_RAID_PASS_NOT_FOUND"), - 3: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension DeclineExRaidPassProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeclineExRaidPassProto" +extension CompleteRoutePlayLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteRoutePlayLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_id"), - 2: .standard(proto: "raid_seed"), + 1: .standard(proto: "badge_level"), + 2: .standard(proto: "route_image_url"), + 4: .standard(proto: "awarded_items"), + 5: .standard(proto: "bonus_awarded_items"), + 6: .standard(proto: "route_name"), + 7: .standard(proto: "route_visuals"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190904,35 +196872,59 @@ extension DeclineExRaidPassProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.badgeLevel) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.routeImageURL) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._awardedItems) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._bonusAwardedItems) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.routeName) }() + case 7: try { try decoder.decodeSingularMessageField(value: &self._routeVisuals) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.badgeLevel != .routeBadgeUnset { + try visitor.visitSingularEnumField(value: self.badgeLevel, fieldNumber: 1) } - if self.raidSeed != 0 { - try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 2) + if !self.routeImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.routeImageURL, fieldNumber: 2) + } + try { if let v = self._awardedItems { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = self._bonusAwardedItems { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if !self.routeName.isEmpty { + try visitor.visitSingularStringField(value: self.routeName, fieldNumber: 6) } + try { if let v = self._routeVisuals { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeclineExRaidPassProto, rhs: DeclineExRaidPassProto) -> Bool { - if lhs.fortID != rhs.fortID {return false} - if lhs.raidSeed != rhs.raidSeed {return false} + public static func ==(lhs: CompleteRoutePlayLogEntry, rhs: CompleteRoutePlayLogEntry) -> Bool { + if lhs.badgeLevel != rhs.badgeLevel {return false} + if lhs.routeImageURL != rhs.routeImageURL {return false} + if lhs._awardedItems != rhs._awardedItems {return false} + if lhs._bonusAwardedItems != rhs._bonusAwardedItems {return false} + if lhs.routeName != rhs.routeName {return false} + if lhs._routeVisuals != rhs._routeVisuals {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeclineFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeclineFriendInviteOutProto" +extension CompleteSnapshotSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteSnapshotSessionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190941,41 +196933,41 @@ extension DeclineFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeclineFriendInviteOutProto, rhs: DeclineFriendInviteOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: CompleteSnapshotSessionOutProto, rhs: CompleteSnapshotSessionOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeclineFriendInviteOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension CompleteSnapshotSessionOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_INVITE_DOES_NOT_EXIST"), - 4: .same(proto: "ERROR_INVITE_ALREADY_DECLINED"), + 2: .same(proto: "ERROR_PHOTO_POKEMON_INVALID"), + 3: .same(proto: "ERROR_UNKNOWN"), ] } -extension DeclineFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeclineFriendInviteProto" +extension CompleteSnapshotSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteSnapshotSessionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "nia_account_id"), + 1: .standard(proto: "photo_pokemon_id"), + 2: .standard(proto: "num_photos_taken"), + 3: .standard(proto: "snapshot_session_start_time"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -190984,254 +196976,196 @@ extension DeclineFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.photoPokemonID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numPhotosTaken) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.snapshotSessionStartTime) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + if self.photoPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.photoPokemonID, fieldNumber: 1) } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) + if self.numPhotosTaken != 0 { + try visitor.visitSingularInt32Field(value: self.numPhotosTaken, fieldNumber: 2) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: DeclineFriendInviteProto, rhs: DeclineFriendInviteProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension DeepLinkingEnumWrapperProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeepLinkingEnumWrapperProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.snapshotSessionStartTime != 0 { + try visitor.visitSingularInt64Field(value: self.snapshotSessionStartTime, fieldNumber: 3) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeepLinkingEnumWrapperProto, rhs: DeepLinkingEnumWrapperProto) -> Bool { + public static func ==(lhs: CompleteSnapshotSessionProto, rhs: CompleteSnapshotSessionProto) -> Bool { + if lhs.photoPokemonID != rhs.photoPokemonID {return false} + if lhs.numPhotosTaken != rhs.numPhotosTaken {return false} + if lhs.snapshotSessionStartTime != rhs.snapshotSessionStartTime {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeepLinkingEnumWrapperProto.DeepLinkingActionName: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "OPEN_SHOP"), - 2: .same(proto: "OPEN_NEWS"), - 3: .same(proto: "OPEN_BATTLE_LEAGUE"), - 4: .same(proto: "OPEN_SETTINGS"), - 5: .same(proto: "OPEN_PLAYER_PROFILE"), - 6: .same(proto: "OPEN_BUDDY"), - 7: .same(proto: "OPEN_AVATAR_ITEMS"), - 8: .same(proto: "OPEN_QUEST_LIST"), - 9: .same(proto: "OPEN_POKEMON_INVENTORY"), - 10: .same(proto: "OPEN_NEARBY_POKEMON"), - 11: .same(proto: "OPEN_POKEDEX"), - 12: .same(proto: "OPEN_EVENTS"), - 13: .same(proto: "OPEN_JOURNAL"), - 14: .same(proto: "OPEN_TIPS"), - 15: .same(proto: "OPEN_ITEM_INVENTORY"), - 16: .same(proto: "FILL_REFERRAL_CODE"), - 17: .same(proto: "OPEN_ADDRESS_BOOK"), - 18: .same(proto: "OPEN_EGG_HATCH"), - 19: .same(proto: "OPEN_GYM"), - 20: .same(proto: "OPEN_RAID"), - 21: .same(proto: "USE_DAILY_INCENSE"), - 22: .same(proto: "OPEN_DEFENDING_GYM"), - 23: .same(proto: "OPEN_NEARBY_GYM"), - 24: .same(proto: "REDEEM_PASSCODE"), - 25: .same(proto: "OPEN_CONTEST_REWARD"), - 26: .same(proto: "ADD_FRIEND"), - ] -} - -extension DeepLinkingEnumWrapperProto.NearbyPokemonTab: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NEARBY_POKEMON"), - 1: .same(proto: "RAIDS"), - 2: .same(proto: "ROUTES"), - ] -} - -extension DeepLinkingEnumWrapperProto.PlayerProfileTab: SwiftProtobuf._ProtoNameProviding { +extension CompleteVsSeekerAndRestartChargingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteVsSeekerAndRestartChargingOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PROFILE"), - 1: .same(proto: "FRIENDS"), + 1: .same(proto: "result"), + 2: .standard(proto: "vs_seeker"), + 3: .standard(proto: "loot_proto"), + 4: .standard(proto: "current_season_result"), + 5: .standard(proto: "previous_rank"), + 6: .standard(proto: "previous_rating"), + 7: .standard(proto: "stats_at_rank_start"), + 8: .standard(proto: "avatar_template_id_rewarded"), ] -} -extension DeepLinkingEnumWrapperProto.PokemonInventoryTab: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "COMBAT_PARTY"), - 1: .same(proto: "POKEMON"), - 2: .same(proto: "EGGS"), - ] -} + fileprivate class _StorageClass { + var _result: CompleteVsSeekerAndRestartChargingOutProto.Result = .unset + var _vsSeeker: VsSeekerAttributesProto? = nil + var _lootProto: LootProto? = nil + var _currentSeasonResult: CombatSeasonResult? = nil + var _previousRank: Int32 = 0 + var _previousRating: Float = 0 + var _statsAtRankStart: CombatBaseStatsProto? = nil + var _avatarTemplateIDRewarded: [String] = [] -extension DeepLinkingEnumWrapperProto.QuestListTab: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TODAY_VIEW"), - 1: .same(proto: "FIELD_RESEARCH"), - 2: .same(proto: "SPECIAL_RESEARCH"), - ] -} + static let defaultInstance = _StorageClass() -extension DeepLinkingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeepLinkingSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_player_level_for_external_link"), - 2: .standard(proto: "min_player_level_for_notification_link"), - 3: .standard(proto: "external_action"), - 4: .standard(proto: "notification_action"), - 5: .standard(proto: "ob_bool"), - ] + private init() {} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevelForExternalLink) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevelForNotificationLink) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.externalAction) }() - case 4: try { try decoder.decodeRepeatedEnumField(value: &self.notificationAction) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - default: break - } + init(copying source: _StorageClass) { + _result = source._result + _vsSeeker = source._vsSeeker + _lootProto = source._lootProto + _currentSeasonResult = source._currentSeasonResult + _previousRank = source._previousRank + _previousRating = source._previousRating + _statsAtRankStart = source._statsAtRankStart + _avatarTemplateIDRewarded = source._avatarTemplateIDRewarded } } - public func traverse(visitor: inout V) throws { - if self.minPlayerLevelForExternalLink != 0 { - try visitor.visitSingularInt32Field(value: self.minPlayerLevelForExternalLink, fieldNumber: 1) - } - if self.minPlayerLevelForNotificationLink != 0 { - try visitor.visitSingularInt32Field(value: self.minPlayerLevelForNotificationLink, fieldNumber: 2) - } - if !self.externalAction.isEmpty { - try visitor.visitPackedEnumField(value: self.externalAction, fieldNumber: 3) - } - if !self.notificationAction.isEmpty { - try visitor.visitPackedEnumField(value: self.notificationAction, fieldNumber: 4) - } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 5) + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: DeepLinkingSettingsProto, rhs: DeepLinkingSettingsProto) -> Bool { - if lhs.minPlayerLevelForExternalLink != rhs.minPlayerLevelForExternalLink {return false} - if lhs.minPlayerLevelForNotificationLink != rhs.minPlayerLevelForNotificationLink {return false} - if lhs.externalAction != rhs.externalAction {return false} - if lhs.notificationAction != rhs.notificationAction {return false} - if lhs.obBool != rhs.obBool {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + return _storage } -} - -extension DeepLinkingTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeepLinkingTelemetry" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "action_name"), - 2: .standard(proto: "link_source"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.actionName) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.linkSource) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeeker) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._lootProto) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._currentSeasonResult) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._previousRank) }() + case 6: try { try decoder.decodeSingularFloatField(value: &_storage._previousRating) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._statsAtRankStart) }() + case 8: try { try decoder.decodeRepeatedStringField(value: &_storage._avatarTemplateIDRewarded) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.actionName.isEmpty { - try visitor.visitSingularStringField(value: self.actionName, fieldNumber: 1) - } - if self.linkSource != .unknown { - try visitor.visitSingularEnumField(value: self.linkSource, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._result != .unset { + try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) + } + try { if let v = _storage._vsSeeker { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = _storage._lootProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._currentSeasonResult { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if _storage._previousRank != 0 { + try visitor.visitSingularInt32Field(value: _storage._previousRank, fieldNumber: 5) + } + if _storage._previousRating != 0 { + try visitor.visitSingularFloatField(value: _storage._previousRating, fieldNumber: 6) + } + try { if let v = _storage._statsAtRankStart { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() + if !_storage._avatarTemplateIDRewarded.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._avatarTemplateIDRewarded, fieldNumber: 8) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeepLinkingTelemetry, rhs: DeepLinkingTelemetry) -> Bool { - if lhs.actionName != rhs.actionName {return false} - if lhs.linkSource != rhs.linkSource {return false} + public static func ==(lhs: CompleteVsSeekerAndRestartChargingOutProto, rhs: CompleteVsSeekerAndRestartChargingOutProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._result != rhs_storage._result {return false} + if _storage._vsSeeker != rhs_storage._vsSeeker {return false} + if _storage._lootProto != rhs_storage._lootProto {return false} + if _storage._currentSeasonResult != rhs_storage._currentSeasonResult {return false} + if _storage._previousRank != rhs_storage._previousRank {return false} + if _storage._previousRating != rhs_storage._previousRating {return false} + if _storage._statsAtRankStart != rhs_storage._statsAtRankStart {return false} + if _storage._avatarTemplateIDRewarded != rhs_storage._avatarTemplateIDRewarded {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeepLinkingTelemetry.LinkSource: SwiftProtobuf._ProtoNameProviding { +extension CompleteVsSeekerAndRestartChargingOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "URL"), - 2: .same(proto: "NOTIFICATION"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_VS_SEEKER_NOT_FOUND"), + 3: .same(proto: "ERROR_VS_SEEKER_ALREADY_STARTED_CHARGING"), + 4: .same(proto: "ERROR_VS_SEEKER_ALREADY_FULLY_CHARGED"), + 5: .same(proto: "ERROR_VS_SEEKER_PLAYER_IN_WRONG_SEASON"), + 6: .same(proto: "ERROR_PLAYER_INVENTORY_FULL"), + 7: .same(proto: "ERROR_PLAYER_HAS_UNCLAIMED_REWARDS"), ] } -extension DeleteAccountEmailOnFileRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeleteAccountEmailOnFileRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "language_short_code"), - ] +extension CompleteVsSeekerAndRestartChargingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteVsSeekerAndRestartChargingProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.languageShortCode) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.languageShortCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageShortCode, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeleteAccountEmailOnFileRequest, rhs: DeleteAccountEmailOnFileRequest) -> Bool { - if lhs.languageShortCode != rhs.languageShortCode {return false} + public static func ==(lhs: CompleteVsSeekerAndRestartChargingProto, rhs: CompleteVsSeekerAndRestartChargingProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeleteAccountEmailOnFileResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeleteAccountEmailOnFileResponse" +extension CompleteWildSnapshotSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteWildSnapshotSessionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), - 3: .standard(proto: "confirmation_email"), - 4: .standard(proto: "has_apple_provider"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191241,9 +197175,6 @@ extension DeleteAccountEmailOnFileResponse: SwiftProtobuf.Message, SwiftProtobuf // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.confirmationEmail) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.hasAppleProvider_p) }() default: break } } @@ -191253,49 +197184,35 @@ extension DeleteAccountEmailOnFileResponse: SwiftProtobuf.Message, SwiftProtobuf if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) - } - if !self.confirmationEmail.isEmpty { - try visitor.visitSingularStringField(value: self.confirmationEmail, fieldNumber: 3) - } - if self.hasAppleProvider_p != false { - try visitor.visitSingularBoolField(value: self.hasAppleProvider_p, fieldNumber: 4) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeleteAccountEmailOnFileResponse, rhs: DeleteAccountEmailOnFileResponse) -> Bool { + public static func ==(lhs: CompleteWildSnapshotSessionOutProto, rhs: CompleteWildSnapshotSessionOutProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} - if lhs.confirmationEmail != rhs.confirmationEmail {return false} - if lhs.hasAppleProvider_p != rhs.hasAppleProvider_p {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeleteAccountEmailOnFileResponse.Status: SwiftProtobuf._ProtoNameProviding { +extension CompleteWildSnapshotSessionOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_EMAIL_NOT_ON_FILE"), - 3: .same(proto: "ERROR_INVALID_LANGUAGE"), - 4: .same(proto: "ERROR_APP_NOT_SUPPORTED"), - 5: .same(proto: "ERROR_INVALID_PLAYER"), - 6: .same(proto: "ERROR_DUPLICATE_REQUEST"), - 7: .same(proto: "ERROR_HELPSHIFT_ERROR"), - 8: .same(proto: "ERROR_UNKNOWN"), - 9: .same(proto: "ERROR_CODENAME_NOT_ON_FILE"), + 2: .same(proto: "ERROR_PHOTO_POKEMON_INVALID"), + 3: .same(proto: "ERROR_NO_PHOTOS_TAKEN"), + 4: .same(proto: "ERROR_UNKNOWN"), ] } -extension DeleteAccountRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeleteAccountRequest" +extension CompleteWildSnapshotSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CompleteWildSnapshotSessionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "email"), - 2: .standard(proto: "language_short_code"), - 3: .standard(proto: "is_dry_run"), + 1: .standard(proto: "photo_pokedex_id"), + 2: .standard(proto: "num_photos_taken"), + 3: .same(proto: "type1"), + 4: .same(proto: "type2"), + 5: .standard(proto: "spawn_point_id"), + 6: .standard(proto: "encounter_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191304,41 +197221,55 @@ extension DeleteAccountRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.email) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.languageShortCode) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.isDryRun) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.photoPokedexID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numPhotosTaken) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.type1) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.type2) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.spawnPointID) }() + case 6: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.email.isEmpty { - try visitor.visitSingularStringField(value: self.email, fieldNumber: 1) + if self.photoPokedexID != 0 { + try visitor.visitSingularInt32Field(value: self.photoPokedexID, fieldNumber: 1) } - if !self.languageShortCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageShortCode, fieldNumber: 2) + if self.numPhotosTaken != 0 { + try visitor.visitSingularInt32Field(value: self.numPhotosTaken, fieldNumber: 2) } - if self.isDryRun != false { - try visitor.visitSingularBoolField(value: self.isDryRun, fieldNumber: 3) + if self.type1 != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: self.type1, fieldNumber: 3) + } + if self.type2 != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: self.type2, fieldNumber: 4) + } + if !self.spawnPointID.isEmpty { + try visitor.visitSingularStringField(value: self.spawnPointID, fieldNumber: 5) + } + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeleteAccountRequest, rhs: DeleteAccountRequest) -> Bool { - if lhs.email != rhs.email {return false} - if lhs.languageShortCode != rhs.languageShortCode {return false} - if lhs.isDryRun != rhs.isDryRun {return false} + public static func ==(lhs: CompleteWildSnapshotSessionProto, rhs: CompleteWildSnapshotSessionProto) -> Bool { + if lhs.photoPokedexID != rhs.photoPokedexID {return false} + if lhs.numPhotosTaken != rhs.numPhotosTaken {return false} + if lhs.type1 != rhs.type1 {return false} + if lhs.type2 != rhs.type2 {return false} + if lhs.spawnPointID != rhs.spawnPointID {return false} + if lhs.encounterID != rhs.encounterID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeleteAccountResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeleteAccountResponse" +extension ConfirmPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ConfirmPhotobombOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191348,7 +197279,6 @@ extension DeleteAccountResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() default: break } } @@ -191358,78 +197288,30 @@ extension DeleteAccountResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageIm if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeleteAccountResponse, rhs: DeleteAccountResponse) -> Bool { + public static func ==(lhs: ConfirmPhotobombOutProto, rhs: ConfirmPhotobombOutProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeleteAccountResponse.Status: SwiftProtobuf._ProtoNameProviding { +extension ConfirmPhotobombOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALIDEMAIL"), - 3: .same(proto: "ERROR_INVALIDLANGUAGE"), + 2: .same(proto: "ERROR_PHOTOBOMB_NOT_FOUND"), + 3: .same(proto: "ERROR_PHOTOBOMB_ALREADY_CONFIRMED"), 4: .same(proto: "ERROR_UNKNOWN"), - 5: .same(proto: "ERROR_APP_NOT_SUPPORTED"), - 6: .same(proto: "ERROR_INVALID_PLAYER"), - 7: .same(proto: "ERROR_DUPLICATE_REQUEST"), - ] -} - -extension DeleteGiftFromInventoryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeleteGiftFromInventoryOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: DeleteGiftFromInventoryOutProto, rhs: DeleteGiftFromInventoryOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension DeleteGiftFromInventoryOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_GIFT_DOES_NOT_EXIST"), ] } -extension DeleteGiftFromInventoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeleteGiftFromInventoryProto" +extension ConfirmPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ConfirmPhotobombProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "giftbox_id"), + 1: .standard(proto: "encounter_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191438,30 +197320,31 @@ extension DeleteGiftFromInventoryProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedUInt64Field(value: &self.giftboxID) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.giftboxID.isEmpty { - try visitor.visitPackedUInt64Field(value: self.giftboxID, fieldNumber: 1) + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeleteGiftFromInventoryProto, rhs: DeleteGiftFromInventoryProto) -> Bool { - if lhs.giftboxID != rhs.giftboxID {return false} + public static func ==(lhs: ConfirmPhotobombProto, rhs: ConfirmPhotobombProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeleteGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeleteGiftOutProto" +extension ConfirmTradingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ConfirmTradingOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), + 2: .same(proto: "trading"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191471,42 +197354,60 @@ extension DeleteGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._trading) }() default: break } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._trading { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeleteGiftOutProto, rhs: DeleteGiftOutProto) -> Bool { + public static func ==(lhs: ConfirmTradingOutProto, rhs: ConfirmTradingOutProto) -> Bool { if lhs.result != rhs.result {return false} + if lhs._trading != rhs._trading {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeleteGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension ConfirmTradingOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_INVALID_PLAYER_ID"), - 4: .same(proto: "ERROR_FRIEND_NOT_FOUND"), - 5: .same(proto: "ERROR_GIFT_DOES_NOT_EXIST"), - 6: .same(proto: "ERROR_FRIEND_UPDATE"), + 3: .same(proto: "ERROR_FRIEND_NOT_FOUND"), + 4: .same(proto: "ERROR_INVALID_PLAYER_ID"), + 5: .same(proto: "ERROR_INVALID_STATE"), + 6: .same(proto: "ERROR_STATE_HANDLER"), + 7: .same(proto: "ERROR_INVALID_POKEMON"), + 8: .same(proto: "ERROR_INSUFFICIENT_PAYMENT"), + 9: .same(proto: "ERROR_NO_PLAYER_POKEMON"), + 10: .same(proto: "ERROR_NO_FRIEND_POKEMON"), + 11: .same(proto: "ERROR_PLAYER_ALREADY_CONFIRMED"), + 12: .same(proto: "ERROR_TRANSACTION_LOG_NOT_MATCH"), + 13: .same(proto: "ERROR_TRADING_EXPIRED"), + 14: .same(proto: "ERROR_TRANSACTION"), + 15: .same(proto: "ERROR_DAILY_LIMIT_REACHED"), ] } -extension DeleteGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeleteGiftProto" +extension ConfirmTradingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ConfirmTradingProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "player_id"), - 2: .standard(proto: "giftbox_id"), + 2: .standard(proto: "transaction_log"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191516,7 +197417,7 @@ extension DeleteGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularUInt64Field(value: &self.giftboxID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.transactionLog) }() default: break } } @@ -191526,57 +197427,25 @@ extension DeleteGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen if !self.playerID.isEmpty { try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if self.giftboxID != 0 { - try visitor.visitSingularUInt64Field(value: self.giftboxID, fieldNumber: 2) + if !self.transactionLog.isEmpty { + try visitor.visitSingularStringField(value: self.transactionLog, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeleteGiftProto, rhs: DeleteGiftProto) -> Bool { + public static func ==(lhs: ConfirmTradingProto, rhs: ConfirmTradingProto) -> Bool { if lhs.playerID != rhs.playerID {return false} - if lhs.giftboxID != rhs.giftboxID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension DeletePhoneNumberRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePhoneNumberRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contact_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.contactID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.contactID.isEmpty { - try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: DeletePhoneNumberRequest, rhs: DeletePhoneNumberRequest) -> Bool { - if lhs.contactID != rhs.contactID {return false} + if lhs.transactionLog != rhs.transactionLog {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeletePhoneNumberResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePhoneNumberResponse" +extension ConsumePartyItemsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ConsumePartyItemsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), + 1: .same(proto: "result"), + 2: .standard(proto: "applied_items"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191585,84 +197454,64 @@ extension DeletePhoneNumberResponse: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.appliedItems) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + if !self.appliedItems.isEmpty { + try visitor.visitRepeatedMessageField(value: self.appliedItems, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeletePhoneNumberResponse, rhs: DeletePhoneNumberResponse) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} + public static func ==(lhs: ConsumePartyItemsOutProto, rhs: ConsumePartyItemsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.appliedItems != rhs.appliedItems {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeletePhoneNumberResponse.Status: SwiftProtobuf._ProtoNameProviding { +extension ConsumePartyItemsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "ERROR_PLAYER_NOT_IN_PARTY"), ] } -extension DeletePhotoOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePhotoOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] +extension ConsumePartyItemsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ConsumePartyItemsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeletePhotoOutProto, rhs: DeletePhotoOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: ConsumePartyItemsProto, rhs: ConsumePartyItemsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeletePhotoOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "IMAGE_NOT_FOUND"), - 3: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension DeletePhotoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePhotoProto" +extension ContactSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContactSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "photo_id"), + 1: .standard(proto: "send_marketing_emails"), + 2: .standard(proto: "send_push_notifications"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191671,30 +197520,36 @@ extension DeletePhotoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.photoID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.sendMarketingEmails) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.sendPushNotifications) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.photoID.isEmpty { - try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 1) + if self.sendMarketingEmails != false { + try visitor.visitSingularBoolField(value: self.sendMarketingEmails, fieldNumber: 1) + } + if self.sendPushNotifications != false { + try visitor.visitSingularBoolField(value: self.sendPushNotifications, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeletePhotoProto, rhs: DeletePhotoProto) -> Bool { - if lhs.photoID != rhs.photoID {return false} + public static func ==(lhs: ContactSettingsProto, rhs: ContactSettingsProto) -> Bool { + if lhs.sendMarketingEmails != rhs.sendMarketingEmails {return false} + if lhs.sendPushNotifications != rhs.sendPushNotifications {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeletePokemonTagOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePokemonTagOutProto" +extension ContestBadgeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestBadgeData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .standard(proto: "number_of_first_place_wins"), + 2: .standard(proto: "contest_data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191703,39 +197558,35 @@ extension DeletePokemonTagOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numberOfFirstPlaceWins) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contestData) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.numberOfFirstPlaceWins != 0 { + try visitor.visitSingularInt32Field(value: self.numberOfFirstPlaceWins, fieldNumber: 1) + } + if !self.contestData.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contestData, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeletePokemonTagOutProto, rhs: DeletePokemonTagOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: ContestBadgeData, rhs: ContestBadgeData) -> Bool { + if lhs.numberOfFirstPlaceWins != rhs.numberOfFirstPlaceWins {return false} + if lhs.contestData != rhs.contestData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeletePokemonTagOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), - 3: .same(proto: "TAG_DOES_NOT_EXIST"), - ] -} - -extension DeletePokemonTagProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePokemonTagProto" +extension ContestBuddyFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestBuddyFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "tag_id"), + 1: .standard(proto: "min_buddy_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191744,31 +197595,35 @@ extension DeletePokemonTagProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.tagID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.minBuddyLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.tagID != 0 { - try visitor.visitSingularUInt64Field(value: self.tagID, fieldNumber: 1) + if self.minBuddyLevel != .unset { + try visitor.visitSingularEnumField(value: self.minBuddyLevel, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeletePokemonTagProto, rhs: DeletePokemonTagProto) -> Bool { - if lhs.tagID != rhs.tagID {return false} + public static func ==(lhs: ContestBuddyFocusProto, rhs: ContestBuddyFocusProto) -> Bool { + if lhs.minBuddyLevel != rhs.minBuddyLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeletePostcardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePostcardOutProto" +extension ContestCycleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestCycleProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "postcard"), + 1: .standard(proto: "start_time_ms"), + 2: .standard(proto: "end_time_ms"), + 3: .standard(proto: "contest_occurrence"), + 4: .standard(proto: "custom_cycle_warmup_duration_ms"), + 5: .standard(proto: "custom_cycle_cooldown_duration_ms"), + 6: .standard(proto: "activate_early_termination"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191777,49 +197632,55 @@ extension DeletePostcardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._postcard) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.startTimeMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.contestOccurrence) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.customCycleWarmupDurationMs) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.customCycleCooldownDurationMs) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.activateEarlyTermination) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.startTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.startTimeMs, fieldNumber: 1) + } + if self.endTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.endTimeMs, fieldNumber: 2) + } + if self.contestOccurrence != .unset { + try visitor.visitSingularEnumField(value: self.contestOccurrence, fieldNumber: 3) + } + if self.customCycleWarmupDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.customCycleWarmupDurationMs, fieldNumber: 4) + } + if self.customCycleCooldownDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.customCycleCooldownDurationMs, fieldNumber: 5) + } + if self.activateEarlyTermination != false { + try visitor.visitSingularBoolField(value: self.activateEarlyTermination, fieldNumber: 6) } - try { if let v = self._postcard { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeletePostcardOutProto, rhs: DeletePostcardOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._postcard != rhs._postcard {return false} + public static func ==(lhs: ContestCycleProto, rhs: ContestCycleProto) -> Bool { + if lhs.startTimeMs != rhs.startTimeMs {return false} + if lhs.endTimeMs != rhs.endTimeMs {return false} + if lhs.contestOccurrence != rhs.contestOccurrence {return false} + if lhs.customCycleWarmupDurationMs != rhs.customCycleWarmupDurationMs {return false} + if lhs.customCycleCooldownDurationMs != rhs.customCycleCooldownDurationMs {return false} + if lhs.activateEarlyTermination != rhs.activateEarlyTermination {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeletePostcardOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_POSTCARD_DOES_NOT_EXIST"), - 3: .same(proto: "ERROR_POSTCARD_FAVORITED"), - 4: .same(proto: "ERROR_NOT_ENABLED"), - ] -} - -extension DeletePostcardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePostcardProto" +extension ContestDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "postcard_id"), + 1: .same(proto: "style"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191828,31 +197689,40 @@ extension DeletePostcardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.postcardID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.style) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.postcardID.isEmpty { - try visitor.visitSingularStringField(value: self.postcardID, fieldNumber: 1) + if self.style != .pokestopNormal { + try visitor.visitSingularEnumField(value: self.style, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeletePostcardProto, rhs: DeletePostcardProto) -> Bool { - if lhs.postcardID != rhs.postcardID {return false} + public static func ==(lhs: ContestDisplayProto, rhs: ContestDisplayProto) -> Bool { + if lhs.style != rhs.style {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeletePostcardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePostcardsOutProto" +extension ContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "postcards"), + 1: .standard(proto: "pokedex_id"), + 2: .standard(proto: "pokemon_display"), + 3: .same(proto: "score"), + 4: .same(proto: "rank"), + 5: .standard(proto: "player_avatar"), + 6: .standard(proto: "trainer_name"), + 7: .same(proto: "team"), + 8: .standard(proto: "pokemon_id"), + 9: .standard(proto: "player_id"), + 10: .standard(proto: "pokemon_nickname"), + 11: .standard(proto: "player_neutral_avatar"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191861,45 +197731,93 @@ extension DeletePostcardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.postcards) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.score) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.rank) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._playerAvatar) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.trainerName) }() + case 7: try { try decoder.decodeSingularEnumField(value: &self.team) }() + case 8: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.pokemonNickname) }() + case 11: try { try decoder.decodeSingularMessageField(value: &self._playerNeutralAvatar) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) } - if !self.postcards.isEmpty { - try visitor.visitRepeatedMessageField(value: self.postcards, fieldNumber: 2) + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.score != 0 { + try visitor.visitSingularDoubleField(value: self.score, fieldNumber: 3) + } + if self.rank != 0 { + try visitor.visitSingularInt32Field(value: self.rank, fieldNumber: 4) + } + try { if let v = self._playerAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if !self.trainerName.isEmpty { + try visitor.visitSingularStringField(value: self.trainerName, fieldNumber: 6) + } + if self.team != .unset { + try visitor.visitSingularEnumField(value: self.team, fieldNumber: 7) + } + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 8) + } + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 9) } + if !self.pokemonNickname.isEmpty { + try visitor.visitSingularStringField(value: self.pokemonNickname, fieldNumber: 10) + } + try { if let v = self._playerNeutralAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeletePostcardsOutProto, rhs: DeletePostcardsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.postcards != rhs.postcards {return false} + public static func ==(lhs: ContestEntryProto, rhs: ContestEntryProto) -> Bool { + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + if lhs.score != rhs.score {return false} + if lhs.rank != rhs.rank {return false} + if lhs._playerAvatar != rhs._playerAvatar {return false} + if lhs.trainerName != rhs.trainerName {return false} + if lhs.team != rhs.team {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.playerID != rhs.playerID {return false} + if lhs.pokemonNickname != rhs.pokemonNickname {return false} + if lhs._playerNeutralAvatar != rhs._playerNeutralAvatar {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeletePostcardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_POSTCARD_DOES_NOT_EXIST"), - 3: .same(proto: "ERROR_POSTCARD_FAVORITED"), - 4: .same(proto: "ERROR_NOT_ENABLED"), - ] -} - -extension DeletePostcardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeletePostcardsProto" +extension ContestFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "postcard_ids"), + 1: .same(proto: "pokemon"), + 2: .same(proto: "generation"), + 3: .same(proto: "hatched"), + 4: .same(proto: "mega"), + 5: .same(proto: "shiny"), + 6: .same(proto: "type"), + 7: .same(proto: "buddy"), + 8: .standard(proto: "pokemon_class"), + 9: .standard(proto: "pokemon_family"), + 10: .same(proto: "alignment"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191908,34 +197826,208 @@ extension DeletePostcardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.postcardIds) }() + case 1: try { + var v: ContestPokemonFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .pokemon(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .pokemon(v) + } + }() + case 2: try { + var v: ContestGenerationFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .generation(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .generation(v) + } + }() + case 3: try { + var v: ContestHatchedFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .hatched(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .hatched(v) + } + }() + case 4: try { + var v: ContestTemporaryEvolutionFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .mega(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .mega(v) + } + }() + case 5: try { + var v: ContestShinyFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .shiny(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .shiny(v) + } + }() + case 6: try { + var v: ContestPokemonTypeFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .type(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .type(v) + } + }() + case 7: try { + var v: ContestBuddyFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .buddy(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .buddy(v) + } + }() + case 8: try { + var v: ContestPokemonClassFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .pokemonClass(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .pokemonClass(v) + } + }() + case 9: try { + var v: ContestPokemonFamilyFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .pokemonFamily(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .pokemonFamily(v) + } + }() + case 10: try { + var v: ContestPokemonAlignmentFocusProto? + var hadOneofValue = false + if let current = self.contestFocus { + hadOneofValue = true + if case .alignment(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestFocus = .alignment(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.postcardIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.postcardIds, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.contestFocus { + case .pokemon?: try { + guard case .pokemon(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .generation?: try { + guard case .generation(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .hatched?: try { + guard case .hatched(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .mega?: try { + guard case .mega(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .shiny?: try { + guard case .shiny(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .type?: try { + guard case .type(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + }() + case .buddy?: try { + guard case .buddy(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + }() + case .pokemonClass?: try { + guard case .pokemonClass(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + }() + case .pokemonFamily?: try { + guard case .pokemonFamily(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + }() + case .alignment?: try { + guard case .alignment(let v)? = self.contestFocus else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeletePostcardsProto, rhs: DeletePostcardsProto) -> Bool { - if lhs.postcardIds != rhs.postcardIds {return false} + public static func ==(lhs: ContestFocusProto, rhs: ContestFocusProto) -> Bool { + if lhs.contestFocus != rhs.contestFocus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeployPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeployPokemonTelemetry" +extension ContestFriendEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestFriendEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "pokemon"), - 3: .standard(proto: "gym_id"), - 4: .same(proto: "team"), - 5: .standard(proto: "defender_count"), + 1: .standard(proto: "trainer_name"), + 2: .standard(proto: "friendship_level_milestone"), + 3: .same(proto: "rank"), + 4: .standard(proto: "player_avatar"), + 5: .same(proto: "team"), + 6: .standard(proto: "player_neutral_avatar"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -191944,11 +198036,12 @@ extension DeployPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.gymID) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.team) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.defenderCount) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.trainerName) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.friendshipLevelMilestone) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.rank) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._playerAvatar) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.team) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._playerNeutralAvatar) }() default: break } } @@ -191959,42 +198052,43 @@ extension DeployPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != 0 { - try visitor.visitSingularInt32Field(value: self.status, fieldNumber: 1) + if !self.trainerName.isEmpty { + try visitor.visitSingularStringField(value: self.trainerName, fieldNumber: 1) } - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.gymID.isEmpty { - try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 3) + if self.friendshipLevelMilestone != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: self.friendshipLevelMilestone, fieldNumber: 2) } - if self.team != .unset { - try visitor.visitSingularEnumField(value: self.team, fieldNumber: 4) + if self.rank != 0 { + try visitor.visitSingularInt32Field(value: self.rank, fieldNumber: 3) } - if self.defenderCount != 0 { - try visitor.visitSingularInt32Field(value: self.defenderCount, fieldNumber: 5) + try { if let v = self._playerAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.team != .unset { + try visitor.visitSingularEnumField(value: self.team, fieldNumber: 5) } + try { if let v = self._playerNeutralAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeployPokemonTelemetry, rhs: DeployPokemonTelemetry) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._pokemon != rhs._pokemon {return false} - if lhs.gymID != rhs.gymID {return false} + public static func ==(lhs: ContestFriendEntryProto, rhs: ContestFriendEntryProto) -> Bool { + if lhs.trainerName != rhs.trainerName {return false} + if lhs.friendshipLevelMilestone != rhs.friendshipLevelMilestone {return false} + if lhs.rank != rhs.rank {return false} + if lhs._playerAvatar != rhs._playerAvatar {return false} if lhs.team != rhs.team {return false} - if lhs.defenderCount != rhs.defenderCount {return false} + if lhs._playerNeutralAvatar != rhs._playerNeutralAvatar {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeploymentTotalsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeploymentTotalsProto" +extension ContestGenerationFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestGenerationFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "times_fed"), - 2: .standard(proto: "battles_won"), - 3: .standard(proto: "battles_lost"), - 4: .standard(proto: "deployment_duration_ms"), + 1: .standard(proto: "pokemon_generation"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192003,50 +198097,30 @@ extension DeploymentTotalsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.timesFed) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.battlesWon) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.battlesLost) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.deploymentDurationMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonGeneration) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timesFed != 0 { - try visitor.visitSingularInt32Field(value: self.timesFed, fieldNumber: 1) - } - if self.battlesWon != 0 { - try visitor.visitSingularInt32Field(value: self.battlesWon, fieldNumber: 2) - } - if self.battlesLost != 0 { - try visitor.visitSingularInt32Field(value: self.battlesLost, fieldNumber: 3) - } - if self.deploymentDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.deploymentDurationMs, fieldNumber: 4) + if self.pokemonGeneration != .generationUnset { + try visitor.visitSingularEnumField(value: self.pokemonGeneration, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeploymentTotalsProto, rhs: DeploymentTotalsProto) -> Bool { - if lhs.timesFed != rhs.timesFed {return false} - if lhs.battlesWon != rhs.battlesWon {return false} - if lhs.battlesLost != rhs.battlesLost {return false} - if lhs.deploymentDurationMs != rhs.deploymentDurationMs {return false} + public static func ==(lhs: ContestGenerationFocusProto, rhs: ContestGenerationFocusProto) -> Bool { + if lhs.pokemonGeneration != rhs.pokemonGeneration {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DescriptorProto" +extension ContestHatchedFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestHatchedFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "field"), - 3: .standard(proto: "nested_type"), - 4: .standard(proto: "enum_type"), - 5: .standard(proto: "oneof_decl"), - 6: .same(proto: "options"), + 1: .standard(proto: "require_to_be_hatched"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192055,60 +198129,40 @@ extension DescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.field) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.nestedType) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.enumType) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.oneofDecl) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._options) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.requireToBeHatched) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.field.isEmpty { - try visitor.visitRepeatedMessageField(value: self.field, fieldNumber: 2) - } - if !self.nestedType.isEmpty { - try visitor.visitRepeatedMessageField(value: self.nestedType, fieldNumber: 3) - } - if !self.enumType.isEmpty { - try visitor.visitRepeatedMessageField(value: self.enumType, fieldNumber: 4) - } - if !self.oneofDecl.isEmpty { - try visitor.visitRepeatedMessageField(value: self.oneofDecl, fieldNumber: 5) + if self.requireToBeHatched != false { + try visitor.visitSingularBoolField(value: self.requireToBeHatched, fieldNumber: 1) } - try { if let v = self._options { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DescriptorProto, rhs: DescriptorProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.field != rhs.field {return false} - if lhs.nestedType != rhs.nestedType {return false} - if lhs.enumType != rhs.enumType {return false} - if lhs.oneofDecl != rhs.oneofDecl {return false} - if lhs._options != rhs._options {return false} + public static func ==(lhs: ContestHatchedFocusProto, rhs: ContestHatchedFocusProto) -> Bool { + if lhs.requireToBeHatched != rhs.requireToBeHatched {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DescriptorProto.ExtensionRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = DescriptorProto.protoMessageName + ".ExtensionRange" +extension ContestInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "start"), - 2: .same(proto: "end"), + 1: .standard(proto: "contest_id"), + 2: .standard(proto: "pokemon_id"), + 3: .same(proto: "ranking"), + 4: .standard(proto: "fort_image_url"), + 5: .standard(proto: "pokemon_display"), + 6: .standard(proto: "fort_name"), + 7: .standard(proto: "rewards_template_id"), + 8: .standard(proto: "pokedex_id"), + 9: .standard(proto: "local_end_time_ms"), + 10: .standard(proto: "is_ranking_locked"), + 11: .standard(proto: "evolved_pokemon_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192117,36 +198171,89 @@ extension DescriptorProto.ExtensionRange: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.start) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.end) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.contestID) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.ranking) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.fortImageURL) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.fortName) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.rewardsTemplateID) }() + case 8: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 9: try { try decoder.decodeSingularInt64Field(value: &self.localEndTimeMs) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.isRankingLocked) }() + case 11: try { try decoder.decodeSingularFixed64Field(value: &self.evolvedPokemonID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.start != 0 { - try visitor.visitSingularInt32Field(value: self.start, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.contestID.isEmpty { + try visitor.visitSingularStringField(value: self.contestID, fieldNumber: 1) } - if self.end != 0 { - try visitor.visitSingularInt32Field(value: self.end, fieldNumber: 2) + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 2) + } + if self.ranking != 0 { + try visitor.visitSingularInt32Field(value: self.ranking, fieldNumber: 3) + } + if !self.fortImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.fortImageURL, fieldNumber: 4) + } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if !self.fortName.isEmpty { + try visitor.visitSingularStringField(value: self.fortName, fieldNumber: 6) + } + if !self.rewardsTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.rewardsTemplateID, fieldNumber: 7) + } + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 8) + } + if self.localEndTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.localEndTimeMs, fieldNumber: 9) + } + if self.isRankingLocked != false { + try visitor.visitSingularBoolField(value: self.isRankingLocked, fieldNumber: 10) + } + if self.evolvedPokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.evolvedPokemonID, fieldNumber: 11) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DescriptorProto.ExtensionRange, rhs: DescriptorProto.ExtensionRange) -> Bool { - if lhs.start != rhs.start {return false} - if lhs.end != rhs.end {return false} + public static func ==(lhs: ContestInfoProto, rhs: ContestInfoProto) -> Bool { + if lhs.contestID != rhs.contestID {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.ranking != rhs.ranking {return false} + if lhs.fortImageURL != rhs.fortImageURL {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + if lhs.fortName != rhs.fortName {return false} + if lhs.rewardsTemplateID != rhs.rewardsTemplateID {return false} + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs.localEndTimeMs != rhs.localEndTimeMs {return false} + if lhs.isRankingLocked != rhs.isRankingLocked {return false} + if lhs.evolvedPokemonID != rhs.evolvedPokemonID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DescriptorProto.ReservedRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = DescriptorProto.protoMessageName + ".ReservedRange" +extension ContestInfoSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestInfoSummaryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "start"), - 2: .same(proto: "end"), + 1: .standard(proto: "contest_info"), + 2: .standard(proto: "traded_contest_pokemon_id"), + 3: .standard(proto: "is_ranking_locked"), + 4: .standard(proto: "end_time_ms"), + 5: .same(proto: "metric"), + 6: .standard(proto: "num_contests_entered"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192155,176 +198262,61 @@ extension DescriptorProto.ReservedRange: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.start) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.end) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contestInfo) }() + case 2: try { try decoder.decodeRepeatedFixed64Field(value: &self.tradedContestPokemonID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isRankingLocked) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMs) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._metric) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.numContestsEntered) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.start != 0 { - try visitor.visitSingularInt32Field(value: self.start, fieldNumber: 1) - } - if self.end != 0 { - try visitor.visitSingularInt32Field(value: self.end, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.contestInfo.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contestInfo, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: DescriptorProto.ReservedRange, rhs: DescriptorProto.ReservedRange) -> Bool { - if lhs.start != rhs.start {return false} - if lhs.end != rhs.end {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension Detection: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Detection" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "label"), - 2: .standard(proto: "label_id"), - 3: .same(proto: "score"), - 4: .standard(proto: "location_data"), - 5: .standard(proto: "feature_tag"), - 6: .standard(proto: "track_id"), - 7: .standard(proto: "detection_id"), - 8: .standard(proto: "associated_detections"), - 9: .standard(proto: "display_name"), - 10: .standard(proto: "timestamp_usec"), - ] - - fileprivate class _StorageClass { - var _label: [String] = [] - var _labelID: [Int32] = [] - var _score: [Float] = [] - var _locationData: LocationData? = nil - var _featureTag: String? = nil - var _trackID: String? = nil - var _detectionID: Int64? = nil - var _associatedDetections: [Detection.AssociatedDetection] = [] - var _displayName: [String] = [] - var _timestampUsec: Int64? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _label = source._label - _labelID = source._labelID - _score = source._score - _locationData = source._locationData - _featureTag = source._featureTag - _trackID = source._trackID - _detectionID = source._detectionID - _associatedDetections = source._associatedDetections - _displayName = source._displayName - _timestampUsec = source._timestampUsec + if !self.tradedContestPokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: self.tradedContestPokemonID, fieldNumber: 2) } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + if self.isRankingLocked != false { + try visitor.visitSingularBoolField(value: self.isRankingLocked, fieldNumber: 3) } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &_storage._label) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &_storage._labelID) }() - case 3: try { try decoder.decodeRepeatedFloatField(value: &_storage._score) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._locationData) }() - case 5: try { try decoder.decodeSingularStringField(value: &_storage._featureTag) }() - case 6: try { try decoder.decodeSingularStringField(value: &_storage._trackID) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._detectionID) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &_storage._associatedDetections) }() - case 9: try { try decoder.decodeRepeatedStringField(value: &_storage._displayName) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._timestampUsec) }() - default: break - } - } + if self.endTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.endTimeMs, fieldNumber: 4) } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._label.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._label, fieldNumber: 1) - } - if !_storage._labelID.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._labelID, fieldNumber: 2) - } - if !_storage._score.isEmpty { - try visitor.visitPackedFloatField(value: _storage._score, fieldNumber: 3) - } - try { if let v = _storage._locationData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = _storage._featureTag { - try visitor.visitSingularStringField(value: v, fieldNumber: 5) - } }() - try { if let v = _storage._trackID { - try visitor.visitSingularStringField(value: v, fieldNumber: 6) - } }() - try { if let v = _storage._detectionID { - try visitor.visitSingularInt64Field(value: v, fieldNumber: 7) - } }() - if !_storage._associatedDetections.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._associatedDetections, fieldNumber: 8) - } - if !_storage._displayName.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._displayName, fieldNumber: 9) - } - try { if let v = _storage._timestampUsec { - try visitor.visitSingularInt64Field(value: v, fieldNumber: 10) - } }() + try { if let v = self._metric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if self.numContestsEntered != 0 { + try visitor.visitSingularInt32Field(value: self.numContestsEntered, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Detection, rhs: Detection) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._label != rhs_storage._label {return false} - if _storage._labelID != rhs_storage._labelID {return false} - if _storage._score != rhs_storage._score {return false} - if _storage._locationData != rhs_storage._locationData {return false} - if _storage._featureTag != rhs_storage._featureTag {return false} - if _storage._trackID != rhs_storage._trackID {return false} - if _storage._detectionID != rhs_storage._detectionID {return false} - if _storage._associatedDetections != rhs_storage._associatedDetections {return false} - if _storage._displayName != rhs_storage._displayName {return false} - if _storage._timestampUsec != rhs_storage._timestampUsec {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: ContestInfoSummaryProto, rhs: ContestInfoSummaryProto) -> Bool { + if lhs.contestInfo != rhs.contestInfo {return false} + if lhs.tradedContestPokemonID != rhs.tradedContestPokemonID {return false} + if lhs.isRankingLocked != rhs.isRankingLocked {return false} + if lhs.endTimeMs != rhs.endTimeMs {return false} + if lhs._metric != rhs._metric {return false} + if lhs.numContestsEntered != rhs.numContestsEntered {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Detection.AssociatedDetection: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Detection.protoMessageName + ".AssociatedDetection" +extension ContestLengthThresholdsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestLengthThresholdsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "confidence"), + 1: .same(proto: "length"), + 2: .standard(proto: "min_duration_ms"), + 3: .standard(proto: "max_duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192333,39 +198325,42 @@ extension Detection.AssociatedDetection: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self._id) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self._confidence) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.length) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.minDurationMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.maxDurationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._id { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 1) - } }() - try { if let v = self._confidence { - try visitor.visitSingularFloatField(value: v, fieldNumber: 2) - } }() + if !self.length.isEmpty { + try visitor.visitSingularStringField(value: self.length, fieldNumber: 1) + } + if self.minDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.minDurationMs, fieldNumber: 2) + } + if self.maxDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.maxDurationMs, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Detection.AssociatedDetection, rhs: Detection.AssociatedDetection) -> Bool { - if lhs._id != rhs._id {return false} - if lhs._confidence != rhs._confidence {return false} + public static func ==(lhs: ContestLengthThresholdsProto, rhs: ContestLengthThresholdsProto) -> Bool { + if lhs.length != rhs.length {return false} + if lhs.minDurationMs != rhs.minDurationMs {return false} + if lhs.maxDurationMs != rhs.maxDurationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DetectionList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DetectionList" +extension ContestLimitProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestLimitProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "detection"), + 1: .standard(proto: "contest_metric"), + 2: .standard(proto: "contest_occurrence"), + 3: .standard(proto: "per_contest_max_entries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192374,31 +198369,45 @@ extension DetectionList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.detection) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.contestOccurrence) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.perContestMaxEntries) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.detection.isEmpty { - try visitor.visitRepeatedMessageField(value: self.detection, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.contestOccurrence != .unset { + try visitor.visitSingularEnumField(value: self.contestOccurrence, fieldNumber: 2) + } + if self.perContestMaxEntries != 0 { + try visitor.visitSingularInt32Field(value: self.perContestMaxEntries, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DetectionList, rhs: DetectionList) -> Bool { - if lhs.detection != rhs.detection {return false} + public static func ==(lhs: ContestLimitProto, rhs: ContestLimitProto) -> Bool { + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.contestOccurrence != rhs.contestOccurrence {return false} + if lhs.perContestMaxEntries != rhs.perContestMaxEntries {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeveloperToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeveloperToken" +extension ContestMetricProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestMetricProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "id_token"), - 2: .standard(proto: "owner_email"), + 1: .standard(proto: "pokemon_metric"), + 2: .standard(proto: "ranking_standard"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192407,35 +198416,46 @@ extension DeveloperToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.idToken) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.ownerEmail) }() + case 1: try { + var v: ContestPokemonMetric? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.metric != nil {try decoder.handleConflictingOneOf()} + self.metric = .pokemonMetric(v) + } + }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.rankingStandard) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.idToken.isEmpty { - try visitor.visitSingularStringField(value: self.idToken, fieldNumber: 1) - } - if !self.ownerEmail.isEmpty { - try visitor.visitSingularStringField(value: self.ownerEmail, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if case .pokemonMetric(let v)? = self.metric { + try visitor.visitSingularEnumField(value: v, fieldNumber: 1) + } }() + if self.rankingStandard != .unset { + try visitor.visitSingularEnumField(value: self.rankingStandard, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeveloperToken, rhs: DeveloperToken) -> Bool { - if lhs.idToken != rhs.idToken {return false} - if lhs.ownerEmail != rhs.ownerEmail {return false} + public static func ==(lhs: ContestMetricProto, rhs: ContestMetricProto) -> Bool { + if lhs.metric != rhs.metric {return false} + if lhs.rankingStandard != rhs.rankingStandard {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeviceOSTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeviceOSTelemetry" +extension ContestPokemonAlignmentFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestPokemonAlignmentFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "architecture"), + 1: .standard(proto: "required_alignment"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192444,40 +198464,38 @@ extension DeviceOSTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.architecture) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.requiredAlignment) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.architecture != .unset { - try visitor.visitSingularEnumField(value: self.architecture, fieldNumber: 1) + if self.requiredAlignment != .unset { + try visitor.visitSingularEnumField(value: self.requiredAlignment, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeviceOSTelemetry, rhs: DeviceOSTelemetry) -> Bool { - if lhs.architecture != rhs.architecture {return false} + public static func ==(lhs: ContestPokemonAlignmentFocusProto, rhs: ContestPokemonAlignmentFocusProto) -> Bool { + if lhs.requiredAlignment != rhs.requiredAlignment {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeviceOSTelemetry.OSArchitecture: SwiftProtobuf._ProtoNameProviding { +extension ContestPokemonAlignmentFocusProto.alignment: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "arch32_bit"), - 2: .same(proto: "arch64_bit"), + 1: .same(proto: "PURIFIED"), + 2: .same(proto: "SHADOW"), ] } -extension DeviceServiceToggleTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeviceServiceToggleTelemetry" +extension ContestPokemonClassFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestPokemonClassFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "device_service_telemetry_id"), - 2: .standard(proto: "was_enabled"), - 3: .standard(proto: "was_subsequent"), + 1: .standard(proto: "required_class"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192486,46 +198504,30 @@ extension DeviceServiceToggleTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.deviceServiceTelemetryID) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.wasEnabled) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.wasSubsequent) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.requiredClass) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.deviceServiceTelemetryID != .undefinedDeviceService { - try visitor.visitSingularEnumField(value: self.deviceServiceTelemetryID, fieldNumber: 1) - } - if self.wasEnabled != false { - try visitor.visitSingularBoolField(value: self.wasEnabled, fieldNumber: 2) - } - if self.wasSubsequent != false { - try visitor.visitSingularBoolField(value: self.wasSubsequent, fieldNumber: 3) + if self.requiredClass != .pokemonClassNormal { + try visitor.visitSingularEnumField(value: self.requiredClass, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeviceServiceToggleTelemetry, rhs: DeviceServiceToggleTelemetry) -> Bool { - if lhs.deviceServiceTelemetryID != rhs.deviceServiceTelemetryID {return false} - if lhs.wasEnabled != rhs.wasEnabled {return false} - if lhs.wasSubsequent != rhs.wasSubsequent {return false} + public static func ==(lhs: ContestPokemonClassFocusProto, rhs: ContestPokemonClassFocusProto) -> Bool { + if lhs.requiredClass != rhs.requiredClass {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DeviceSpecificationsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DeviceSpecificationsTelemetry" +extension ContestPokemonFamilyFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestPokemonFamilyFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "device_width"), - 2: .standard(proto: "device_height"), - 3: .standard(proto: "camera_width"), - 4: .standard(proto: "camera_height"), - 5: .standard(proto: "camera_focal_length_fx"), - 6: .standard(proto: "camera_focal_length_fy"), - 7: .standard(proto: "camera_refresh_rate"), + 1: .standard(proto: "required_family"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192534,61 +198536,32 @@ extension DeviceSpecificationsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.deviceWidth) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.deviceHeight) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.cameraWidth) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.cameraHeight) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.cameraFocalLengthFx) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.cameraFocalLengthFy) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.cameraRefreshRate) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.requiredFamily) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.deviceWidth != 0 { - try visitor.visitSingularInt32Field(value: self.deviceWidth, fieldNumber: 1) - } - if self.deviceHeight != 0 { - try visitor.visitSingularInt32Field(value: self.deviceHeight, fieldNumber: 2) - } - if self.cameraWidth != 0 { - try visitor.visitSingularInt32Field(value: self.cameraWidth, fieldNumber: 3) - } - if self.cameraHeight != 0 { - try visitor.visitSingularInt32Field(value: self.cameraHeight, fieldNumber: 4) - } - if self.cameraFocalLengthFx != 0 { - try visitor.visitSingularFloatField(value: self.cameraFocalLengthFx, fieldNumber: 5) - } - if self.cameraFocalLengthFy != 0 { - try visitor.visitSingularFloatField(value: self.cameraFocalLengthFy, fieldNumber: 6) - } - if self.cameraRefreshRate != 0 { - try visitor.visitSingularInt32Field(value: self.cameraRefreshRate, fieldNumber: 7) + if self.requiredFamily != .familyUnset { + try visitor.visitSingularEnumField(value: self.requiredFamily, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DeviceSpecificationsTelemetry, rhs: DeviceSpecificationsTelemetry) -> Bool { - if lhs.deviceWidth != rhs.deviceWidth {return false} - if lhs.deviceHeight != rhs.deviceHeight {return false} - if lhs.cameraWidth != rhs.cameraWidth {return false} - if lhs.cameraHeight != rhs.cameraHeight {return false} - if lhs.cameraFocalLengthFx != rhs.cameraFocalLengthFx {return false} - if lhs.cameraFocalLengthFy != rhs.cameraFocalLengthFy {return false} - if lhs.cameraRefreshRate != rhs.cameraRefreshRate {return false} + public static func ==(lhs: ContestPokemonFamilyFocusProto, rhs: ContestPokemonFamilyFocusProto) -> Bool { + if lhs.requiredFamily != rhs.requiredFamily {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DialogueLineProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DialogueLineProto" +extension ContestPokemonFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestPokemonFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "text"), - 2: .same(proto: "npc"), + 1: .standard(proto: "pokedex_id"), + 2: .standard(proto: "pokemon_display"), + 3: .standard(proto: "require_form_to_match"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192597,8 +198570,9 @@ extension DialogueLineProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.text) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._npc) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.requireFormToMatch) }() default: break } } @@ -192609,28 +198583,51 @@ extension DialogueLineProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.text.isEmpty { - try visitor.visitSingularStringField(value: self.text, fieldNumber: 1) + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) } - try { if let v = self._npc { + try { if let v = self._pokemonDisplay { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() + if self.requireFormToMatch != false { + try visitor.visitSingularBoolField(value: self.requireFormToMatch, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DialogueLineProto, rhs: DialogueLineProto) -> Bool { - if lhs.text != rhs.text {return false} - if lhs._npc != rhs._npc {return false} + public static func ==(lhs: ContestPokemonFocusProto, rhs: ContestPokemonFocusProto) -> Bool { + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + if lhs.requireFormToMatch != rhs.requireFormToMatch {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ContestPokemonSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestPokemonSectionProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ContestPokemonSectionProto, rhs: ContestPokemonSectionProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DialogueNpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DialogueNpcProto" +extension ContestPokemonTypeFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestPokemonTypeFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "character"), - 2: .same(proto: "expression"), + 1: .standard(proto: "pokemon_type1"), + 2: .standard(proto: "pokemon_type2"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192639,89 +198636,167 @@ extension DialogueNpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.character) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.expression) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonType1) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokemonType2) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.character != .unset { - try visitor.visitSingularEnumField(value: self.character, fieldNumber: 1) + if self.pokemonType1 != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: self.pokemonType1, fieldNumber: 1) } - if self.expression != .unset { - try visitor.visitSingularEnumField(value: self.expression, fieldNumber: 2) + if self.pokemonType2 != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: self.pokemonType2, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DialogueNpcProto, rhs: DialogueNpcProto) -> Bool { - if lhs.character != rhs.character {return false} - if lhs.expression != rhs.expression {return false} + public static func ==(lhs: ContestPokemonTypeFocusProto, rhs: ContestPokemonTypeFocusProto) -> Bool { + if lhs.pokemonType1 != rhs.pokemonType1 {return false} + if lhs.pokemonType2 != rhs.pokemonType2 {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DialogueNpcProto.Character: SwiftProtobuf._ProtoNameProviding { +extension ContestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CHARACTER_UNSET"), + 1: .standard(proto: "contest_id"), + 2: .same(proto: "focus"), + 3: .same(proto: "metric"), + 4: .same(proto: "schedule"), + 5: .standard(proto: "rewards_template_id"), + 6: .same(proto: "focuses"), + 7: .standard(proto: "focus_string_key"), + 8: .standard(proto: "scalar_score_reference_pokemon"), + 9: .standard(proto: "scalar_score_reference_pokemon_form"), ] -} -extension DialogueNpcProto.Expression: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "EXPRESSION_UNSET"), - ] -} + fileprivate class _StorageClass { + var _contestID: String = String() + var _focus: ContestFocusProto? = nil + var _metric: ContestMetricProto? = nil + var _schedule: ContestScheduleProto? = nil + var _rewardsTemplateID: String = String() + var _focuses: [ContestFocusProto] = [] + var _focusStringKey: String = String() + var _scalarScoreReferencePokemon: HoloPokemonId = .missingno + var _scalarScoreReferencePokemonForm: PokemonDisplayProto.Form = .unset -extension DiffInventoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DiffInventoryProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "compacted_item"), - 3: .standard(proto: "last_compaction_ms"), - ] + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _contestID = source._contestID + _focus = source._focus + _metric = source._metric + _schedule = source._schedule + _rewardsTemplateID = source._rewardsTemplateID + _focuses = source._focuses + _focusStringKey = source._focusStringKey + _scalarScoreReferencePokemon = source._scalarScoreReferencePokemon + _scalarScoreReferencePokemonForm = source._scalarScoreReferencePokemonForm + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.compactedItem) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.lastCompactionMs) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._contestID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._focus) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._metric) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._schedule) }() + case 5: try { try decoder.decodeSingularStringField(value: &_storage._rewardsTemplateID) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &_storage._focuses) }() + case 7: try { try decoder.decodeSingularStringField(value: &_storage._focusStringKey) }() + case 8: try { try decoder.decodeSingularEnumField(value: &_storage._scalarScoreReferencePokemon) }() + case 9: try { try decoder.decodeSingularEnumField(value: &_storage._scalarScoreReferencePokemonForm) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.compactedItem.isEmpty { - try visitor.visitRepeatedMessageField(value: self.compactedItem, fieldNumber: 1) - } - if self.lastCompactionMs != 0 { - try visitor.visitSingularInt64Field(value: self.lastCompactionMs, fieldNumber: 3) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._contestID.isEmpty { + try visitor.visitSingularStringField(value: _storage._contestID, fieldNumber: 1) + } + try { if let v = _storage._focus { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = _storage._metric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._schedule { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if !_storage._rewardsTemplateID.isEmpty { + try visitor.visitSingularStringField(value: _storage._rewardsTemplateID, fieldNumber: 5) + } + if !_storage._focuses.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._focuses, fieldNumber: 6) + } + if !_storage._focusStringKey.isEmpty { + try visitor.visitSingularStringField(value: _storage._focusStringKey, fieldNumber: 7) + } + if _storage._scalarScoreReferencePokemon != .missingno { + try visitor.visitSingularEnumField(value: _storage._scalarScoreReferencePokemon, fieldNumber: 8) + } + if _storage._scalarScoreReferencePokemonForm != .unset { + try visitor.visitSingularEnumField(value: _storage._scalarScoreReferencePokemonForm, fieldNumber: 9) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DiffInventoryProto, rhs: DiffInventoryProto) -> Bool { - if lhs.compactedItem != rhs.compactedItem {return false} - if lhs.lastCompactionMs != rhs.lastCompactionMs {return false} + public static func ==(lhs: ContestProto, rhs: ContestProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._contestID != rhs_storage._contestID {return false} + if _storage._focus != rhs_storage._focus {return false} + if _storage._metric != rhs_storage._metric {return false} + if _storage._schedule != rhs_storage._schedule {return false} + if _storage._rewardsTemplateID != rhs_storage._rewardsTemplateID {return false} + if _storage._focuses != rhs_storage._focuses {return false} + if _storage._focusStringKey != rhs_storage._focusStringKey {return false} + if _storage._scalarScoreReferencePokemon != rhs_storage._scalarScoreReferencePokemon {return false} + if _storage._scalarScoreReferencePokemonForm != rhs_storage._scalarScoreReferencePokemonForm {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DiskEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DiskEncounterOutProto" +extension ContestScheduleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestScheduleProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "pokemon"), - 3: .standard(proto: "capture_probability"), - 4: .standard(proto: "active_item"), - 5: .standard(proto: "arplus_attempts_until_flee"), + 1: .standard(proto: "contest_cycle"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192730,11 +198805,7 @@ extension DiskEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._contestCycle) }() default: break } } @@ -192745,55 +198816,23 @@ extension DiskEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unknown { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._captureProbability { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + try { if let v = self._contestCycle { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if self.activeItem != .unknown { - try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) - } - if self.arplusAttemptsUntilFlee != 0 { - try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 5) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DiskEncounterOutProto, rhs: DiskEncounterOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._pokemon != rhs._pokemon {return false} - if lhs._captureProbability != rhs._captureProbability {return false} - if lhs.activeItem != rhs.activeItem {return false} - if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} + public static func ==(lhs: ContestScheduleProto, rhs: ContestScheduleProto) -> Bool { + if lhs._contestCycle != rhs._contestCycle {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DiskEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "NOT_AVAILABLE"), - 3: .same(proto: "NOT_IN_RANGE"), - 4: .same(proto: "ENCOUNTER_ALREADY_FINISHED"), - 5: .same(proto: "POKEMON_INVENTORY_FULL"), - ] -} - -extension DiskEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DiskEncounterProto" +extension ContestScoreCoefficientProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestScoreCoefficientProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "encounter_id"), - 2: .standard(proto: "fort_id"), - 3: .standard(proto: "player_lat_degrees"), - 4: .standard(proto: "player_lng_degrees"), - 5: .standard(proto: "gym_lat_degrees"), - 6: .standard(proto: "gym_lng_degrees"), + 1: .standard(proto: "pokemon_size"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192802,74 +198841,49 @@ extension DiskEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.encounterID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.gymLatDegrees) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.gymLngDegrees) }() + case 1: try { + var v: ContestScoreCoefficientProto.PokemonSize? + var hadOneofValue = false + if let current = self.contestType { + hadOneofValue = true + if case .pokemonSize(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.contestType = .pokemonSize(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if self.encounterID != 0 { - try visitor.visitSingularInt64Field(value: self.encounterID, fieldNumber: 1) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) - } - if self.playerLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) - } - if self.playerLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 4) - } - if self.gymLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.gymLatDegrees, fieldNumber: 5) - } - if self.gymLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.gymLngDegrees, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: DiskEncounterProto, rhs: DiskEncounterProto) -> Bool { - if lhs.encounterID != rhs.encounterID {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} - if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} - if lhs.gymLatDegrees != rhs.gymLatDegrees {return false} - if lhs.gymLngDegrees != rhs.gymLngDegrees {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension DismissContactListUpdateRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DismissContactListUpdateRequest" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if case .pokemonSize(let v)? = self.contestType { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DismissContactListUpdateRequest, rhs: DismissContactListUpdateRequest) -> Bool { + public static func ==(lhs: ContestScoreCoefficientProto, rhs: ContestScoreCoefficientProto) -> Bool { + if lhs.contestType != rhs.contestType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DismissContactListUpdateResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DismissContactListUpdateResponse" +extension ContestScoreCoefficientProto.PokemonSize: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ContestScoreCoefficientProto.protoMessageName + ".PokemonSize" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .standard(proto: "height_coefficient"), + 2: .standard(proto: "weight_coefficient"), + 3: .standard(proto: "iv_coefficient"), + 4: .standard(proto: "xxl_adjustment_factor"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192878,40 +198892,47 @@ extension DismissContactListUpdateResponse: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.heightCoefficient) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.weightCoefficient) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.ivCoefficient) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.xxlAdjustmentFactor) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.heightCoefficient != 0 { + try visitor.visitSingularDoubleField(value: self.heightCoefficient, fieldNumber: 1) + } + if self.weightCoefficient != 0 { + try visitor.visitSingularDoubleField(value: self.weightCoefficient, fieldNumber: 2) + } + if self.ivCoefficient != 0 { + try visitor.visitSingularDoubleField(value: self.ivCoefficient, fieldNumber: 3) + } + if self.xxlAdjustmentFactor != 0 { + try visitor.visitSingularDoubleField(value: self.xxlAdjustmentFactor, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DismissContactListUpdateResponse, rhs: DismissContactListUpdateResponse) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: ContestScoreCoefficientProto.PokemonSize, rhs: ContestScoreCoefficientProto.PokemonSize) -> Bool { + if lhs.heightCoefficient != rhs.heightCoefficient {return false} + if lhs.weightCoefficient != rhs.weightCoefficient {return false} + if lhs.ivCoefficient != rhs.ivCoefficient {return false} + if lhs.xxlAdjustmentFactor != rhs.xxlAdjustmentFactor {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DismissContactListUpdateResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension DismissOutgoingGameInvitesRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DismissOutgoingGameInvitesRequest" +extension ContestScoreComponentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestScoreComponentProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .standard(proto: "app_key"), - 3: .standard(proto: "friend_nia_account_id"), + 1: .standard(proto: "component_type"), + 2: .standard(proto: "coefficient_value"), + 3: .standard(proto: "is_visible"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192920,40 +198941,41 @@ extension DismissOutgoingGameInvitesRequest: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.appKey) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.friendNiaAccountID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.componentType) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.coefficientValue) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isVisible) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) + if self.componentType != .typeUnset { + try visitor.visitSingularEnumField(value: self.componentType, fieldNumber: 1) } - if !self.appKey.isEmpty { - try visitor.visitRepeatedStringField(value: self.appKey, fieldNumber: 2) + if self.coefficientValue != 0 { + try visitor.visitSingularDoubleField(value: self.coefficientValue, fieldNumber: 2) } - if !self.friendNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.friendNiaAccountID, fieldNumber: 3) + if self.isVisible != false { + try visitor.visitSingularBoolField(value: self.isVisible, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DismissOutgoingGameInvitesRequest, rhs: DismissOutgoingGameInvitesRequest) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs.appKey != rhs.appKey {return false} - if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} + public static func ==(lhs: ContestScoreComponentProto, rhs: ContestScoreComponentProto) -> Bool { + if lhs.componentType != rhs.componentType {return false} + if lhs.coefficientValue != rhs.coefficientValue {return false} + if lhs.isVisible != rhs.isVisible {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DismissOutgoingGameInvitesResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DismissOutgoingGameInvitesResponse" +extension ContestScoreFormulaProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestScoreFormulaProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "result"), + 1: .standard(proto: "contest_type"), + 2: .standard(proto: "score_components"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -192962,119 +198984,271 @@ extension DismissOutgoingGameInvitesResponse: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._contestType) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.scoreComponents) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._contestType { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.scoreComponents.isEmpty { + try visitor.visitRepeatedMessageField(value: self.scoreComponents, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DismissOutgoingGameInvitesResponse, rhs: DismissOutgoingGameInvitesResponse) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: ContestScoreFormulaProto, rhs: ContestScoreFormulaProto) -> Bool { + if lhs._contestType != rhs._contestType {return false} + if lhs.scoreComponents != rhs.scoreComponents {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DismissOutgoingGameInvitesResponse.Result: SwiftProtobuf._ProtoNameProviding { +extension ContestSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), + 1: .standard(proto: "is_feature_enabled"), + 2: .standard(proto: "player_contest_max_entries"), + 3: .standard(proto: "contest_limits"), + 4: .standard(proto: "default_contest_max_entries"), + 5: .standard(proto: "min_cooldown_before_season_end_ms"), + 6: .standard(proto: "contest_warmup_and_cooldown_durations_ms"), + 7: .standard(proto: "default_cycle_warmup_duration_ms"), + 8: .standard(proto: "default_cycle_cooldown_duration_ms"), + 9: .standard(proto: "max_catch_prompt_range"), + 10: .standard(proto: "catch_prompt_timeout_ms"), + 11: .standard(proto: "contest_score_coefficient"), + 12: .standard(proto: "contest_length_thresholds"), + 13: .standard(proto: "is_friends_display_enabled"), + 14: .standard(proto: "leaderboard_card_display_count"), + 15: .standard(proto: "postcontest_leaderboard_card_display_count"), + 16: .standard(proto: "contest_score_formulas"), + 17: .standard(proto: "is_v2_feature_enabled"), + 18: .standard(proto: "is_anticheat_removal_enabled"), + 19: .standard(proto: "is_normalized_score_to_species"), + 20: .standard(proto: "is_v2_focuses_enabled"), + 21: .standard(proto: "is_contest_in_nearby_menu"), + 22: .standard(proto: "is_pokemon_scalar_enabled"), ] -} -extension DisplayWeatherProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DisplayWeatherProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "cloud_level"), - 2: .standard(proto: "rain_level"), - 3: .standard(proto: "wind_level"), - 4: .standard(proto: "snow_level"), - 5: .standard(proto: "fog_level"), - 6: .standard(proto: "wind_direction"), - 7: .standard(proto: "special_effect_level"), - ] + fileprivate class _StorageClass { + var _isFeatureEnabled: Bool = false + var _playerContestMaxEntries: Int32 = 0 + var _contestLimits: [ContestLimitProto] = [] + var _defaultContestMaxEntries: Int32 = 0 + var _minCooldownBeforeSeasonEndMs: Int64 = 0 + var _contestWarmupAndCooldownDurationsMs: [ContestWarmupAndCooldownDurationSettingsProto] = [] + var _defaultCycleWarmupDurationMs: Int64 = 0 + var _defaultCycleCooldownDurationMs: Int64 = 0 + var _maxCatchPromptRange: Double = 0 + var _catchPromptTimeoutMs: Float = 0 + var _contestScoreCoefficient: [ContestScoreCoefficientProto] = [] + var _contestLengthThresholds: [ContestLengthThresholdsProto] = [] + var _isFriendsDisplayEnabled: Bool = false + var _leaderboardCardDisplayCount: Int32 = 0 + var _postcontestLeaderboardCardDisplayCount: Int32 = 0 + var _contestScoreFormulas: [ContestScoreFormulaProto] = [] + var _isV2FeatureEnabled: Bool = false + var _isAnticheatRemovalEnabled: Bool = false + var _isNormalizedScoreToSpecies: Bool = false + var _isV2FocusesEnabled: Bool = false + var _isContestInNearbyMenu: Bool = false + var _isPokemonScalarEnabled: Bool = false + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _isFeatureEnabled = source._isFeatureEnabled + _playerContestMaxEntries = source._playerContestMaxEntries + _contestLimits = source._contestLimits + _defaultContestMaxEntries = source._defaultContestMaxEntries + _minCooldownBeforeSeasonEndMs = source._minCooldownBeforeSeasonEndMs + _contestWarmupAndCooldownDurationsMs = source._contestWarmupAndCooldownDurationsMs + _defaultCycleWarmupDurationMs = source._defaultCycleWarmupDurationMs + _defaultCycleCooldownDurationMs = source._defaultCycleCooldownDurationMs + _maxCatchPromptRange = source._maxCatchPromptRange + _catchPromptTimeoutMs = source._catchPromptTimeoutMs + _contestScoreCoefficient = source._contestScoreCoefficient + _contestLengthThresholds = source._contestLengthThresholds + _isFriendsDisplayEnabled = source._isFriendsDisplayEnabled + _leaderboardCardDisplayCount = source._leaderboardCardDisplayCount + _postcontestLeaderboardCardDisplayCount = source._postcontestLeaderboardCardDisplayCount + _contestScoreFormulas = source._contestScoreFormulas + _isV2FeatureEnabled = source._isV2FeatureEnabled + _isAnticheatRemovalEnabled = source._isAnticheatRemovalEnabled + _isNormalizedScoreToSpecies = source._isNormalizedScoreToSpecies + _isV2FocusesEnabled = source._isV2FocusesEnabled + _isContestInNearbyMenu = source._isContestInNearbyMenu + _isPokemonScalarEnabled = source._isPokemonScalarEnabled + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.cloudLevel) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.rainLevel) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.windLevel) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.snowLevel) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.fogLevel) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.windDirection) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.specialEffectLevel) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &_storage._isFeatureEnabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._playerContestMaxEntries) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestLimits) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._defaultContestMaxEntries) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._minCooldownBeforeSeasonEndMs) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestWarmupAndCooldownDurationsMs) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._defaultCycleWarmupDurationMs) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._defaultCycleCooldownDurationMs) }() + case 9: try { try decoder.decodeSingularDoubleField(value: &_storage._maxCatchPromptRange) }() + case 10: try { try decoder.decodeSingularFloatField(value: &_storage._catchPromptTimeoutMs) }() + case 11: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestScoreCoefficient) }() + case 12: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestLengthThresholds) }() + case 13: try { try decoder.decodeSingularBoolField(value: &_storage._isFriendsDisplayEnabled) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._leaderboardCardDisplayCount) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._postcontestLeaderboardCardDisplayCount) }() + case 16: try { try decoder.decodeRepeatedMessageField(value: &_storage._contestScoreFormulas) }() + case 17: try { try decoder.decodeSingularBoolField(value: &_storage._isV2FeatureEnabled) }() + case 18: try { try decoder.decodeSingularBoolField(value: &_storage._isAnticheatRemovalEnabled) }() + case 19: try { try decoder.decodeSingularBoolField(value: &_storage._isNormalizedScoreToSpecies) }() + case 20: try { try decoder.decodeSingularBoolField(value: &_storage._isV2FocusesEnabled) }() + case 21: try { try decoder.decodeSingularBoolField(value: &_storage._isContestInNearbyMenu) }() + case 22: try { try decoder.decodeSingularBoolField(value: &_storage._isPokemonScalarEnabled) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.cloudLevel != .level0 { - try visitor.visitSingularEnumField(value: self.cloudLevel, fieldNumber: 1) - } - if self.rainLevel != .level0 { - try visitor.visitSingularEnumField(value: self.rainLevel, fieldNumber: 2) - } - if self.windLevel != .level0 { - try visitor.visitSingularEnumField(value: self.windLevel, fieldNumber: 3) - } - if self.snowLevel != .level0 { - try visitor.visitSingularEnumField(value: self.snowLevel, fieldNumber: 4) - } - if self.fogLevel != .level0 { - try visitor.visitSingularEnumField(value: self.fogLevel, fieldNumber: 5) - } - if self.windDirection != 0 { - try visitor.visitSingularInt32Field(value: self.windDirection, fieldNumber: 6) - } - if self.specialEffectLevel != .level0 { - try visitor.visitSingularEnumField(value: self.specialEffectLevel, fieldNumber: 7) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if _storage._isFeatureEnabled != false { + try visitor.visitSingularBoolField(value: _storage._isFeatureEnabled, fieldNumber: 1) + } + if _storage._playerContestMaxEntries != 0 { + try visitor.visitSingularInt32Field(value: _storage._playerContestMaxEntries, fieldNumber: 2) + } + if !_storage._contestLimits.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._contestLimits, fieldNumber: 3) + } + if _storage._defaultContestMaxEntries != 0 { + try visitor.visitSingularInt32Field(value: _storage._defaultContestMaxEntries, fieldNumber: 4) + } + if _storage._minCooldownBeforeSeasonEndMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._minCooldownBeforeSeasonEndMs, fieldNumber: 5) + } + if !_storage._contestWarmupAndCooldownDurationsMs.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._contestWarmupAndCooldownDurationsMs, fieldNumber: 6) + } + if _storage._defaultCycleWarmupDurationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._defaultCycleWarmupDurationMs, fieldNumber: 7) + } + if _storage._defaultCycleCooldownDurationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._defaultCycleCooldownDurationMs, fieldNumber: 8) + } + if _storage._maxCatchPromptRange != 0 { + try visitor.visitSingularDoubleField(value: _storage._maxCatchPromptRange, fieldNumber: 9) + } + if _storage._catchPromptTimeoutMs != 0 { + try visitor.visitSingularFloatField(value: _storage._catchPromptTimeoutMs, fieldNumber: 10) + } + if !_storage._contestScoreCoefficient.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._contestScoreCoefficient, fieldNumber: 11) + } + if !_storage._contestLengthThresholds.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._contestLengthThresholds, fieldNumber: 12) + } + if _storage._isFriendsDisplayEnabled != false { + try visitor.visitSingularBoolField(value: _storage._isFriendsDisplayEnabled, fieldNumber: 13) + } + if _storage._leaderboardCardDisplayCount != 0 { + try visitor.visitSingularInt32Field(value: _storage._leaderboardCardDisplayCount, fieldNumber: 14) + } + if _storage._postcontestLeaderboardCardDisplayCount != 0 { + try visitor.visitSingularInt32Field(value: _storage._postcontestLeaderboardCardDisplayCount, fieldNumber: 15) + } + if !_storage._contestScoreFormulas.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._contestScoreFormulas, fieldNumber: 16) + } + if _storage._isV2FeatureEnabled != false { + try visitor.visitSingularBoolField(value: _storage._isV2FeatureEnabled, fieldNumber: 17) + } + if _storage._isAnticheatRemovalEnabled != false { + try visitor.visitSingularBoolField(value: _storage._isAnticheatRemovalEnabled, fieldNumber: 18) + } + if _storage._isNormalizedScoreToSpecies != false { + try visitor.visitSingularBoolField(value: _storage._isNormalizedScoreToSpecies, fieldNumber: 19) + } + if _storage._isV2FocusesEnabled != false { + try visitor.visitSingularBoolField(value: _storage._isV2FocusesEnabled, fieldNumber: 20) + } + if _storage._isContestInNearbyMenu != false { + try visitor.visitSingularBoolField(value: _storage._isContestInNearbyMenu, fieldNumber: 21) + } + if _storage._isPokemonScalarEnabled != false { + try visitor.visitSingularBoolField(value: _storage._isPokemonScalarEnabled, fieldNumber: 22) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DisplayWeatherProto, rhs: DisplayWeatherProto) -> Bool { - if lhs.cloudLevel != rhs.cloudLevel {return false} - if lhs.rainLevel != rhs.rainLevel {return false} - if lhs.windLevel != rhs.windLevel {return false} - if lhs.snowLevel != rhs.snowLevel {return false} - if lhs.fogLevel != rhs.fogLevel {return false} - if lhs.windDirection != rhs.windDirection {return false} - if lhs.specialEffectLevel != rhs.specialEffectLevel {return false} + public static func ==(lhs: ContestSettingsProto, rhs: ContestSettingsProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._isFeatureEnabled != rhs_storage._isFeatureEnabled {return false} + if _storage._playerContestMaxEntries != rhs_storage._playerContestMaxEntries {return false} + if _storage._contestLimits != rhs_storage._contestLimits {return false} + if _storage._defaultContestMaxEntries != rhs_storage._defaultContestMaxEntries {return false} + if _storage._minCooldownBeforeSeasonEndMs != rhs_storage._minCooldownBeforeSeasonEndMs {return false} + if _storage._contestWarmupAndCooldownDurationsMs != rhs_storage._contestWarmupAndCooldownDurationsMs {return false} + if _storage._defaultCycleWarmupDurationMs != rhs_storage._defaultCycleWarmupDurationMs {return false} + if _storage._defaultCycleCooldownDurationMs != rhs_storage._defaultCycleCooldownDurationMs {return false} + if _storage._maxCatchPromptRange != rhs_storage._maxCatchPromptRange {return false} + if _storage._catchPromptTimeoutMs != rhs_storage._catchPromptTimeoutMs {return false} + if _storage._contestScoreCoefficient != rhs_storage._contestScoreCoefficient {return false} + if _storage._contestLengthThresholds != rhs_storage._contestLengthThresholds {return false} + if _storage._isFriendsDisplayEnabled != rhs_storage._isFriendsDisplayEnabled {return false} + if _storage._leaderboardCardDisplayCount != rhs_storage._leaderboardCardDisplayCount {return false} + if _storage._postcontestLeaderboardCardDisplayCount != rhs_storage._postcontestLeaderboardCardDisplayCount {return false} + if _storage._contestScoreFormulas != rhs_storage._contestScoreFormulas {return false} + if _storage._isV2FeatureEnabled != rhs_storage._isV2FeatureEnabled {return false} + if _storage._isAnticheatRemovalEnabled != rhs_storage._isAnticheatRemovalEnabled {return false} + if _storage._isNormalizedScoreToSpecies != rhs_storage._isNormalizedScoreToSpecies {return false} + if _storage._isV2FocusesEnabled != rhs_storage._isV2FocusesEnabled {return false} + if _storage._isContestInNearbyMenu != rhs_storage._isContestInNearbyMenu {return false} + if _storage._isPokemonScalarEnabled != rhs_storage._isPokemonScalarEnabled {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DisplayWeatherProto.DisplayLevel: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "LEVEL_0"), - 1: .same(proto: "LEVEL_1"), - 2: .same(proto: "LEVEL_2"), - 3: .same(proto: "LEVEL_3"), - ] -} - -extension Distribution: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Distribution" +extension ContestShinyFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestShinyFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "count"), - 2: .same(proto: "mean"), - 3: .standard(proto: "sum_of_squared_deviation"), - 4: .same(proto: "range"), - 5: .standard(proto: "bucket_options"), - 6: .standard(proto: "bucket_counts"), + 1: .standard(proto: "require_to_be_shiny"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193083,61 +199257,31 @@ extension Distribution: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.count) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.mean) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.sumOfSquaredDeviation) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._range) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._bucketOptions) }() - case 6: try { try decoder.decodeRepeatedInt64Field(value: &self.bucketCounts) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.requireToBeShiny) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.count != 0 { - try visitor.visitSingularInt64Field(value: self.count, fieldNumber: 1) - } - if self.mean != 0 { - try visitor.visitSingularFloatField(value: self.mean, fieldNumber: 2) - } - if self.sumOfSquaredDeviation != 0 { - try visitor.visitSingularDoubleField(value: self.sumOfSquaredDeviation, fieldNumber: 3) - } - try { if let v = self._range { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = self._bucketOptions { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if !self.bucketCounts.isEmpty { - try visitor.visitPackedInt64Field(value: self.bucketCounts, fieldNumber: 6) + if self.requireToBeShiny != false { + try visitor.visitSingularBoolField(value: self.requireToBeShiny, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Distribution, rhs: Distribution) -> Bool { - if lhs.count != rhs.count {return false} - if lhs.mean != rhs.mean {return false} - if lhs.sumOfSquaredDeviation != rhs.sumOfSquaredDeviation {return false} - if lhs._range != rhs._range {return false} - if lhs._bucketOptions != rhs._bucketOptions {return false} - if lhs.bucketCounts != rhs.bucketCounts {return false} + public static func ==(lhs: ContestShinyFocusProto, rhs: ContestShinyFocusProto) -> Bool { + if lhs.requireToBeShiny != rhs.requireToBeShiny {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Distribution.BucketOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Distribution.protoMessageName + ".BucketOptions" +extension ContestTemporaryEvolutionFocusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestTemporaryEvolutionFocusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "linear_buckets"), - 2: .standard(proto: "exponential_buckets"), - 3: .standard(proto: "explicit_buckets"), + 1: .standard(proto: "temporary_evolution_required"), + 2: .same(proto: "restriction"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193146,84 +199290,46 @@ extension Distribution.BucketOptions: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: Distribution.BucketOptions.LinearBuckets? - var hadOneofValue = false - if let current = self.bucketType { - hadOneofValue = true - if case .linearBuckets(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.bucketType = .linearBuckets(v) - } - }() - case 2: try { - var v: Distribution.BucketOptions.ExponentialBuckets? - var hadOneofValue = false - if let current = self.bucketType { - hadOneofValue = true - if case .exponentialBuckets(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.bucketType = .exponentialBuckets(v) - } - }() - case 3: try { - var v: Distribution.BucketOptions.ExplicitBuckets? - var hadOneofValue = false - if let current = self.bucketType { - hadOneofValue = true - if case .explicitBuckets(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.bucketType = .explicitBuckets(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.temporaryEvolutionRequired) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.restriction) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.bucketType { - case .linearBuckets?: try { - guard case .linearBuckets(let v)? = self.bucketType else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .exponentialBuckets?: try { - guard case .exponentialBuckets(let v)? = self.bucketType else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .explicitBuckets?: try { - guard case .explicitBuckets(let v)? = self.bucketType else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case nil: break + if self.temporaryEvolutionRequired != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: self.temporaryEvolutionRequired, fieldNumber: 1) + } + if self.restriction != .unset { + try visitor.visitSingularEnumField(value: self.restriction, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Distribution.BucketOptions, rhs: Distribution.BucketOptions) -> Bool { - if lhs.bucketType != rhs.bucketType {return false} + public static func ==(lhs: ContestTemporaryEvolutionFocusProto, rhs: ContestTemporaryEvolutionFocusProto) -> Bool { + if lhs.temporaryEvolutionRequired != rhs.temporaryEvolutionRequired {return false} + if lhs.restriction != rhs.restriction {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Distribution.BucketOptions.ExplicitBuckets: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Distribution.BucketOptions.protoMessageName + ".ExplicitBuckets" +extension ContestTemporaryEvolutionFocusProto.Restriction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "MEGA"), + 2: .same(proto: "NOT_TEMP_EVO"), + ] +} + +extension ContestWarmupAndCooldownDurationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestWarmupAndCooldownDurationSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "bounds"), + 1: .standard(proto: "contest_metric"), + 2: .standard(proto: "contest_occurrence"), + 3: .standard(proto: "cycle_warmup_duration_ms"), + 4: .standard(proto: "cycle_cooldown_duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193232,32 +199338,52 @@ extension Distribution.BucketOptions.ExplicitBuckets: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedInt64Field(value: &self.bounds) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.contestOccurrence) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.cycleWarmupDurationMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.cycleCooldownDurationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.bounds.isEmpty { - try visitor.visitPackedInt64Field(value: self.bounds, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.contestOccurrence != .unset { + try visitor.visitSingularEnumField(value: self.contestOccurrence, fieldNumber: 2) + } + if self.cycleWarmupDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.cycleWarmupDurationMs, fieldNumber: 3) + } + if self.cycleCooldownDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.cycleCooldownDurationMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Distribution.BucketOptions.ExplicitBuckets, rhs: Distribution.BucketOptions.ExplicitBuckets) -> Bool { - if lhs.bounds != rhs.bounds {return false} + public static func ==(lhs: ContestWarmupAndCooldownDurationSettingsProto, rhs: ContestWarmupAndCooldownDurationSettingsProto) -> Bool { + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.contestOccurrence != rhs.contestOccurrence {return false} + if lhs.cycleWarmupDurationMs != rhs.cycleWarmupDurationMs {return false} + if lhs.cycleCooldownDurationMs != rhs.cycleCooldownDurationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Distribution.BucketOptions.ExponentialBuckets: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Distribution.BucketOptions.protoMessageName + ".ExponentialBuckets" +extension ContestWinDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContestWinDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_finite_buckets"), - 2: .standard(proto: "growth_factor"), - 3: .same(proto: "scale"), + 1: .standard(proto: "fort_name"), + 2: .standard(proto: "pokemon_id"), + 3: .standard(proto: "contest_end_ms"), + 4: .standard(proto: "pokedex_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193266,42 +199392,46 @@ extension Distribution.BucketOptions.ExponentialBuckets: SwiftProtobuf.Message, // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.numFiniteBuckets) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.growthFactor) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.scale) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fortName) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.contestEndMs) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numFiniteBuckets != 0 { - try visitor.visitSingularInt64Field(value: self.numFiniteBuckets, fieldNumber: 1) + if !self.fortName.isEmpty { + try visitor.visitSingularStringField(value: self.fortName, fieldNumber: 1) } - if self.growthFactor != 0 { - try visitor.visitSingularFloatField(value: self.growthFactor, fieldNumber: 2) + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 2) } - if self.scale != 0 { - try visitor.visitSingularFloatField(value: self.scale, fieldNumber: 3) + if self.contestEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.contestEndMs, fieldNumber: 3) + } + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Distribution.BucketOptions.ExponentialBuckets, rhs: Distribution.BucketOptions.ExponentialBuckets) -> Bool { - if lhs.numFiniteBuckets != rhs.numFiniteBuckets {return false} - if lhs.growthFactor != rhs.growthFactor {return false} - if lhs.scale != rhs.scale {return false} + public static func ==(lhs: ContestWinDataProto, rhs: ContestWinDataProto) -> Bool { + if lhs.fortName != rhs.fortName {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.contestEndMs != rhs.contestEndMs {return false} + if lhs.pokedexID != rhs.pokedexID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Distribution.BucketOptions.LinearBuckets: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Distribution.BucketOptions.protoMessageName + ".LinearBuckets" +extension ContributePartyItemOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContributePartyItemOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_finite_buckets"), - 2: .same(proto: "width"), - 3: .same(proto: "offset"), + 1: .same(proto: "result"), + 2: .same(proto: "party"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193310,41 +199440,50 @@ extension Distribution.BucketOptions.LinearBuckets: SwiftProtobuf.Message, Swift // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.numFiniteBuckets) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.width) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.offset) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._party) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numFiniteBuckets != 0 { - try visitor.visitSingularInt64Field(value: self.numFiniteBuckets, fieldNumber: 1) - } - if self.width != 0 { - try visitor.visitSingularInt64Field(value: self.width, fieldNumber: 2) - } - if self.offset != 0 { - try visitor.visitSingularInt64Field(value: self.offset, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._party { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Distribution.BucketOptions.LinearBuckets, rhs: Distribution.BucketOptions.LinearBuckets) -> Bool { - if lhs.numFiniteBuckets != rhs.numFiniteBuckets {return false} - if lhs.width != rhs.width {return false} - if lhs.offset != rhs.offset {return false} + public static func ==(lhs: ContributePartyItemOutProto, rhs: ContributePartyItemOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._party != rhs._party {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Distribution.Range: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Distribution.protoMessageName + ".Range" +extension ContributePartyItemOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "min"), - 2: .same(proto: "max"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "ERROR_INSUFFICIENT_INVENTORY"), + 4: .same(proto: "ERROR_PLAYER_NOT_IN_PARTY"), + 5: .same(proto: "ERROR_UNSANCTIONED_ITEM_TYPE"), + ] +} + +extension ContributePartyItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ContributePartyItemProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "contributed_items"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193353,35 +199492,30 @@ extension Distribution.Range: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.min) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.max) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contributedItems) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.min != 0 { - try visitor.visitSingularInt64Field(value: self.min, fieldNumber: 1) - } - if self.max != 0 { - try visitor.visitSingularInt64Field(value: self.max, fieldNumber: 2) + if !self.contributedItems.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contributedItems, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Distribution.Range, rhs: Distribution.Range) -> Bool { - if lhs.min != rhs.min {return false} - if lhs.max != rhs.max {return false} + public static func ==(lhs: ContributePartyItemProto, rhs: ContributePartyItemProto) -> Bool { + if lhs.contributedItems != rhs.contributedItems {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DoubleValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DoubleValue" +extension ConversationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ConversationSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), + 1: .standard(proto: "appraisal_conv_override_config"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193390,30 +199524,30 @@ extension DoubleValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.value) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.appraisalConvOverrideConfig) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.value != 0 { - try visitor.visitSingularDoubleField(value: self.value, fieldNumber: 1) + if !self.appraisalConvOverrideConfig.isEmpty { + try visitor.visitSingularStringField(value: self.appraisalConvOverrideConfig, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DoubleValue, rhs: DoubleValue) -> Bool { - if lhs.value != rhs.value {return false} + public static func ==(lhs: ConversationSettingsProto, rhs: ConversationSettingsProto) -> Bool { + if lhs.appraisalConvOverrideConfig != rhs.appraisalConvOverrideConfig {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownloadAllAssetsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownloadAllAssetsTelemetry" +extension ConvertCandyToXlCandyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ConvertCandyToXlCandyOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "download_all_assets_event_id"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193422,44 +199556,40 @@ extension DownloadAllAssetsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.downloadAllAssetsEventID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.downloadAllAssetsEventID != .unset { - try visitor.visitSingularEnumField(value: self.downloadAllAssetsEventID, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownloadAllAssetsTelemetry, rhs: DownloadAllAssetsTelemetry) -> Bool { - if lhs.downloadAllAssetsEventID != rhs.downloadAllAssetsEventID {return false} + public static func ==(lhs: ConvertCandyToXlCandyOutProto, rhs: ConvertCandyToXlCandyOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownloadAllAssetsTelemetry.DownloadAllAssetsEventId: SwiftProtobuf._ProtoNameProviding { +extension ConvertCandyToXlCandyOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "DOWNLOAD_STARTED"), - 2: .same(proto: "DOWNLOAD_PAUSED"), - 3: .same(proto: "DOWNLOAD_COMPLETED"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_NOT_ENOUGH_CANDY"), + 3: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), ] } -extension DownloadGmTemplatesRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownloadGmTemplatesRequestProto" +extension ConvertCandyToXlCandyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ConvertCandyToXlCandyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "basis_batch_id"), - 2: .standard(proto: "batch_id"), - 3: .standard(proto: "page_offset"), - 4: .standard(proto: "apply_experiments"), - 5: .standard(proto: "basis_experiment_id"), - 6: .standard(proto: "experiment_id"), + 1: .same(proto: "family"), + 2: .standard(proto: "num_xl_candy"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193468,60 +199598,36 @@ extension DownloadGmTemplatesRequestProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.basisBatchID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.batchID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.pageOffset) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.applyExperiments) }() - case 5: try { try decoder.decodeRepeatedInt32Field(value: &self.basisExperimentID) }() - case 6: try { try decoder.decodeRepeatedInt32Field(value: &self.experimentID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.family) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numXlCandy) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.basisBatchID != 0 { - try visitor.visitSingularInt64Field(value: self.basisBatchID, fieldNumber: 1) - } - if self.batchID != 0 { - try visitor.visitSingularInt64Field(value: self.batchID, fieldNumber: 2) - } - if self.pageOffset != 0 { - try visitor.visitSingularInt32Field(value: self.pageOffset, fieldNumber: 3) - } - if self.applyExperiments != false { - try visitor.visitSingularBoolField(value: self.applyExperiments, fieldNumber: 4) - } - if !self.basisExperimentID.isEmpty { - try visitor.visitPackedInt32Field(value: self.basisExperimentID, fieldNumber: 5) + if self.family != .familyUnset { + try visitor.visitSingularEnumField(value: self.family, fieldNumber: 1) } - if !self.experimentID.isEmpty { - try visitor.visitPackedInt32Field(value: self.experimentID, fieldNumber: 6) + if self.numXlCandy != 0 { + try visitor.visitSingularInt32Field(value: self.numXlCandy, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownloadGmTemplatesRequestProto, rhs: DownloadGmTemplatesRequestProto) -> Bool { - if lhs.basisBatchID != rhs.basisBatchID {return false} - if lhs.batchID != rhs.batchID {return false} - if lhs.pageOffset != rhs.pageOffset {return false} - if lhs.applyExperiments != rhs.applyExperiments {return false} - if lhs.basisExperimentID != rhs.basisExperimentID {return false} - if lhs.experimentID != rhs.experimentID {return false} + public static func ==(lhs: ConvertCandyToXlCandyProto, rhs: ConvertCandyToXlCandyProto) -> Bool { + if lhs.family != rhs.family {return false} + if lhs.numXlCandy != rhs.numXlCandy {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownloadGmTemplatesResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownloadGmTemplatesResponseProto" +extension CostSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CostSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "template"), - 3: .standard(proto: "deleted_template"), - 4: .standard(proto: "batch_id"), - 5: .standard(proto: "page_offset"), - 6: .standard(proto: "experiment_id"), + 1: .standard(proto: "candy_cost"), + 2: .standard(proto: "stardust_cost"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193530,100 +199636,55 @@ extension DownloadGmTemplatesResponseProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.template) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.deletedTemplate) }() - case 4: try { try decoder.decodeSingularUInt64Field(value: &self.batchID) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.pageOffset) }() - case 6: try { try decoder.decodeRepeatedInt32Field(value: &self.experimentID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.candyCost) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.stardustCost) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.template.isEmpty { - try visitor.visitRepeatedMessageField(value: self.template, fieldNumber: 2) - } - if !self.deletedTemplate.isEmpty { - try visitor.visitRepeatedStringField(value: self.deletedTemplate, fieldNumber: 3) - } - if self.batchID != 0 { - try visitor.visitSingularUInt64Field(value: self.batchID, fieldNumber: 4) - } - if self.pageOffset != 0 { - try visitor.visitSingularInt32Field(value: self.pageOffset, fieldNumber: 5) + if self.candyCost != 0 { + try visitor.visitSingularInt32Field(value: self.candyCost, fieldNumber: 1) } - if !self.experimentID.isEmpty { - try visitor.visitPackedInt32Field(value: self.experimentID, fieldNumber: 6) + if self.stardustCost != 0 { + try visitor.visitSingularInt32Field(value: self.stardustCost, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownloadGmTemplatesResponseProto, rhs: DownloadGmTemplatesResponseProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.template != rhs.template {return false} - if lhs.deletedTemplate != rhs.deletedTemplate {return false} - if lhs.batchID != rhs.batchID {return false} - if lhs.pageOffset != rhs.pageOffset {return false} - if lhs.experimentID != rhs.experimentID {return false} + public static func ==(lhs: CostSettingsProto, rhs: CostSettingsProto) -> Bool { + if lhs.candyCost != rhs.candyCost {return false} + if lhs.stardustCost != rhs.stardustCost {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownloadGmTemplatesResponseProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "COMPLETE"), - 2: .same(proto: "MORE_RESULTS"), - 3: .same(proto: "BATCH_ID_NOT_LIVE"), - 4: .same(proto: "INVALID_BASIS_BATCH_ID"), - 5: .same(proto: "WRONG_EXPERIMENTS"), - ] -} - -extension DownloadSettingsActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownloadSettingsActionProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "sha1"), - ] +extension CoveringProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CoveringProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.sha1) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.sha1.isEmpty { - try visitor.visitSingularStringField(value: self.sha1, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownloadSettingsActionProto, rhs: DownloadSettingsActionProto) -> Bool { - if lhs.sha1 != rhs.sha1 {return false} + public static func ==(lhs: CoveringProto, rhs: CoveringProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownloadSettingsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownloadSettingsResponseProto" +extension CrashlyticsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CrashlyticsSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "sha1"), - 3: .same(proto: "values"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "session_sampling_fraction"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193632,47 +199693,39 @@ extension DownloadSettingsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.error) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.sha1) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._values) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.sessionSamplingFraction) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.error.isEmpty { - try visitor.visitSingularStringField(value: self.error, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } - if !self.sha1.isEmpty { - try visitor.visitSingularStringField(value: self.sha1, fieldNumber: 2) + if self.sessionSamplingFraction != 0 { + try visitor.visitSingularFloatField(value: self.sessionSamplingFraction, fieldNumber: 2) } - try { if let v = self._values { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownloadSettingsResponseProto, rhs: DownloadSettingsResponseProto) -> Bool { - if lhs.error != rhs.error {return false} - if lhs.sha1 != rhs.sha1 {return false} - if lhs._values != rhs._values {return false} + public static func ==(lhs: CrashlyticsSettingsProto, rhs: CrashlyticsSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.sessionSamplingFraction != rhs.sessionSamplingFraction {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownloadUrlEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownloadUrlEntryProto" +extension CreateBuddyMultiplayerSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateBuddyMultiplayerSessionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "asset_id"), - 2: .same(proto: "url"), - 3: .same(proto: "size"), - 4: .same(proto: "checksum"), + 1: .standard(proto: "plfe_session_id"), + 2: .standard(proto: "arbe_join_token"), + 3: .standard(proto: "generation_timestamp"), + 4: .standard(proto: "max_players"), + 5: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193681,77 +199734,82 @@ extension DownloadUrlEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.assetID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.url) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.size) }() - case 4: try { try decoder.decodeSingularFixed32Field(value: &self.checksum) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.plfeSessionID) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.arbeJoinToken) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.generationTimestamp) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxPlayers) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.assetID.isEmpty { - try visitor.visitSingularStringField(value: self.assetID, fieldNumber: 1) + if !self.plfeSessionID.isEmpty { + try visitor.visitSingularStringField(value: self.plfeSessionID, fieldNumber: 1) } - if !self.url.isEmpty { - try visitor.visitSingularStringField(value: self.url, fieldNumber: 2) + if !self.arbeJoinToken.isEmpty { + try visitor.visitSingularBytesField(value: self.arbeJoinToken, fieldNumber: 2) } - if self.size != 0 { - try visitor.visitSingularInt32Field(value: self.size, fieldNumber: 3) + if self.generationTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.generationTimestamp, fieldNumber: 3) } - if self.checksum != 0 { - try visitor.visitSingularFixed32Field(value: self.checksum, fieldNumber: 4) + if self.maxPlayers != 0 { + try visitor.visitSingularInt32Field(value: self.maxPlayers, fieldNumber: 4) + } + if self.result != .createSuccess { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownloadUrlEntryProto, rhs: DownloadUrlEntryProto) -> Bool { - if lhs.assetID != rhs.assetID {return false} - if lhs.url != rhs.url {return false} - if lhs.size != rhs.size {return false} - if lhs.checksum != rhs.checksum {return false} + public static func ==(lhs: CreateBuddyMultiplayerSessionOutProto, rhs: CreateBuddyMultiplayerSessionOutProto) -> Bool { + if lhs.plfeSessionID != rhs.plfeSessionID {return false} + if lhs.arbeJoinToken != rhs.arbeJoinToken {return false} + if lhs.generationTimestamp != rhs.generationTimestamp {return false} + if lhs.maxPlayers != rhs.maxPlayers {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownloadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownloadUrlOutProto" +extension CreateBuddyMultiplayerSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "download_urls"), + 0: .same(proto: "CREATE_SUCCESS"), + 1: .same(proto: "CREATE_BUDDY_NOT_SET"), + 2: .same(proto: "CREATE_BUDDY_NOT_FOUND"), + 3: .same(proto: "CREATE_BAD_BUDDY"), + 4: .same(proto: "CREATE_BUDDY_V2_NOT_ENABLED"), + 5: .same(proto: "CREATE_PLAYER_LEVEL_TOO_LOW"), + 6: .same(proto: "CREATE_UNKNOWN_ERROR"), + 7: .same(proto: "CREATE_U13_NO_PERMISSION"), ] +} + +extension CreateBuddyMultiplayerSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateBuddyMultiplayerSessionProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.downloadUrls) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.downloadUrls.isEmpty { - try visitor.visitRepeatedMessageField(value: self.downloadUrls, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownloadUrlOutProto, rhs: DownloadUrlOutProto) -> Bool { - if lhs.downloadUrls != rhs.downloadUrls {return false} + public static func ==(lhs: CreateBuddyMultiplayerSessionProto, rhs: CreateBuddyMultiplayerSessionProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownloadUrlRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownloadUrlRequestProto" +extension CreateCombatChallengeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateCombatChallengeData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "asset_id"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193760,34 +199818,31 @@ extension DownloadUrlRequestProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.assetID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.assetID.isEmpty { - try visitor.visitRepeatedStringField(value: self.assetID, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownloadUrlRequestProto, rhs: DownloadUrlRequestProto) -> Bool { - if lhs.assetID != rhs.assetID {return false} + public static func ==(lhs: CreateCombatChallengeData, rhs: CreateCombatChallengeData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Downstream: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Downstream" +extension CreateCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateCombatChallengeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "downstream"), - 2: .same(proto: "response"), - 3: .same(proto: "probe"), - 4: .same(proto: "drain"), - 5: .same(proto: "connected"), + 1: .same(proto: "result"), + 2: .same(proto: "challenge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193796,71 +199851,8 @@ extension Downstream: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: DownstreamActionMessages? - var hadOneofValue = false - if let current = self.message { - hadOneofValue = true - if case .downstream(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.message = .downstream(v) - } - }() - case 2: try { - var v: Downstream.ResponseWithStatus? - var hadOneofValue = false - if let current = self.message { - hadOneofValue = true - if case .response(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.message = .response(v) - } - }() - case 3: try { - var v: Downstream.ProbeRequest? - var hadOneofValue = false - if let current = self.message { - hadOneofValue = true - if case .probe(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.message = .probe(v) - } - }() - case 4: try { - var v: Downstream.Drain? - var hadOneofValue = false - if let current = self.message { - hadOneofValue = true - if case .drain(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.message = .drain(v) - } - }() - case 5: try { - var v: Downstream.Connected? - var hadOneofValue = false - if let current = self.message { - hadOneofValue = true - if case .connected(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.message = .connected(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break } } @@ -193871,44 +199863,37 @@ extension Downstream: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - switch self.message { - case .downstream?: try { - guard case .downstream(let v)? = self.message else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .response?: try { - guard case .response(let v)? = self.message else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .probe?: try { - guard case .probe(let v)? = self.message else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .drain?: try { - guard case .drain(let v)? = self.message else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .connected?: try { - guard case .connected(let v)? = self.message else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case nil: break + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._challenge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Downstream, rhs: Downstream) -> Bool { - if lhs.message != rhs.message {return false} + public static func ==(lhs: CreateCombatChallengeOutProto, rhs: CreateCombatChallengeOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Downstream.Connected: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Downstream.protoMessageName + ".Connected" +extension CreateCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "debug_message"), - 2: .standard(proto: "ttl_seconds"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), + 3: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), + 4: .same(proto: "ERROR_ACCESS_DENIED"), + ] +} + +extension CreateCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateCombatChallengeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "challenge_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193917,54 +199902,75 @@ extension Downstream.Connected: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.debugMessage) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.ttlSeconds) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.debugMessage.isEmpty { - try visitor.visitSingularStringField(value: self.debugMessage, fieldNumber: 1) - } - if self.ttlSeconds != 0 { - try visitor.visitSingularInt32Field(value: self.ttlSeconds, fieldNumber: 2) + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Downstream.Connected, rhs: Downstream.Connected) -> Bool { - if lhs.debugMessage != rhs.debugMessage {return false} - if lhs.ttlSeconds != rhs.ttlSeconds {return false} + public static func ==(lhs: CreateCombatChallengeProto, rhs: CreateCombatChallengeProto) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Downstream.Drain: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Downstream.protoMessageName + ".Drain" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension CreateCombatChallengeResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateCombatChallengeResponseData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) + } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Downstream.Drain, rhs: Downstream.Drain) -> Bool { + public static func ==(lhs: CreateCombatChallengeResponseData, rhs: CreateCombatChallengeResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Downstream.ProbeRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Downstream.protoMessageName + ".ProbeRequest" +extension CreateGuestLoginSecretTokenRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateGuestLoginSecretTokenRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "probe_start_ms"), + 1: .standard(proto: "api_key"), + 2: .standard(proto: "device_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -193973,33 +199979,36 @@ extension Downstream.ProbeRequest: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.probeStartMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.apiKey) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.deviceID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.probeStartMs != 0 { - try visitor.visitSingularInt64Field(value: self.probeStartMs, fieldNumber: 1) + if !self.apiKey.isEmpty { + try visitor.visitSingularStringField(value: self.apiKey, fieldNumber: 1) + } + if !self.deviceID.isEmpty { + try visitor.visitSingularStringField(value: self.deviceID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Downstream.ProbeRequest, rhs: Downstream.ProbeRequest) -> Bool { - if lhs.probeStartMs != rhs.probeStartMs {return false} + public static func ==(lhs: CreateGuestLoginSecretTokenRequestProto, rhs: CreateGuestLoginSecretTokenRequestProto) -> Bool { + if lhs.apiKey != rhs.apiKey {return false} + if lhs.deviceID != rhs.deviceID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Downstream.ResponseWithStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Downstream.protoMessageName + ".ResponseWithStatus" +extension CreateGuestLoginSecretTokenResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateGuestLoginSecretTokenResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 4: .same(proto: "subscribe"), - 1: .standard(proto: "request_id"), - 2: .standard(proto: "response_status"), - 3: .standard(proto: "debug_message"), + 1: .same(proto: "status"), + 2: .same(proto: "secret"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194008,75 +200017,47 @@ extension Downstream.ResponseWithStatus: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.requestID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.responseStatus) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.debugMessage) }() - case 4: try { - var v: Downstream.SubscriptionResponse? - var hadOneofValue = false - if let current = self.response { - hadOneofValue = true - if case .subscribe(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.response = .subscribe(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.secret) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.requestID != 0 { - try visitor.visitSingularInt64Field(value: self.requestID, fieldNumber: 1) - } - if self.responseStatus != .unset { - try visitor.visitSingularEnumField(value: self.responseStatus, fieldNumber: 2) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.debugMessage.isEmpty { - try visitor.visitSingularStringField(value: self.debugMessage, fieldNumber: 3) + if !self.secret.isEmpty { + try visitor.visitSingularBytesField(value: self.secret, fieldNumber: 2) } - try { if case .subscribe(let v)? = self.response { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Downstream.ResponseWithStatus, rhs: Downstream.ResponseWithStatus) -> Bool { - if lhs.response != rhs.response {return false} - if lhs.requestID != rhs.requestID {return false} - if lhs.responseStatus != rhs.responseStatus {return false} - if lhs.debugMessage != rhs.debugMessage {return false} + public static func ==(lhs: CreateGuestLoginSecretTokenResponseProto, rhs: CreateGuestLoginSecretTokenResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.secret != rhs.secret {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Downstream.ResponseWithStatus.Status: SwiftProtobuf._ProtoNameProviding { +extension CreateGuestLoginSecretTokenResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "OK"), - 2: .same(proto: "UNKNOWN"), - 3: .same(proto: "UNAUTHENTICATED"), - 4: .same(proto: "UNAUTHORIZED"), - 5: .same(proto: "BAD_REQUEST"), - 6: .same(proto: "UNIMPLEMENTED"), - 7: .same(proto: "RATE_LIMITED"), - 8: .same(proto: "CONNECTION_LIMITED"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "UNKNOWN_ERROR"), + 3: .same(proto: "UNAUTHORIZED"), + 4: .same(proto: "DISABLED"), + 5: .same(proto: "EXCEEDED_RATE_LIMIT"), ] } -extension Downstream.SubscriptionResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Downstream.protoMessageName + ".SubscriptionResponse" +extension CreatePartyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreatePartyOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .same(proto: "party"), + 2: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194085,43 +200066,55 @@ extension Downstream.SubscriptionResponse: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._party) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._party { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Downstream.SubscriptionResponse, rhs: Downstream.SubscriptionResponse) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: CreatePartyOutProto, rhs: CreatePartyOutProto) -> Bool { + if lhs._party != rhs._party {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Downstream.SubscriptionResponse.Status: SwiftProtobuf._ProtoNameProviding { +extension CreatePartyOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "OK"), - 2: .same(proto: "UNKNOWN"), - 3: .same(proto: "TOPIC_LIMITED"), - 4: .same(proto: "MAXIMUM_TOPIC_ID_LENGTH_EXCEEDED"), - 5: .same(proto: "TOPIC_ID_INVALID"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "ERROR_ALREADY_IN_PARTY"), + 4: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), + 5: .same(proto: "ERROR_FEATURE_DISABLED"), + 6: .same(proto: "ERROR_DARK_LAUNCH_NOT_ENABLED_FOR_PLAYER"), + 7: .same(proto: "ERROR_REDIS_EXCEPTION"), + 8: .same(proto: "ERROR_U13_NO_PERMISSION"), + 9: .same(proto: "ERROR_NO_LOCATION"), + 10: .same(proto: "ERROR_PLFE_REDIRECT_NEEDED"), ] } -extension DownstreamAction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownstreamAction" +extension CreatePartyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreatePartyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "action_id"), - 2: .same(proto: "method"), - 3: .same(proto: "payload"), + 1: .standard(proto: "is_dark_launch_request"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194130,40 +200123,31 @@ extension DownstreamAction: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.actionID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.method) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isDarkLaunchRequest) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.actionID != 0 { - try visitor.visitSingularInt64Field(value: self.actionID, fieldNumber: 1) - } - if self.method != 0 { - try visitor.visitSingularInt32Field(value: self.method, fieldNumber: 2) - } - if !self.payload.isEmpty { - try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) + if self.isDarkLaunchRequest != false { + try visitor.visitSingularBoolField(value: self.isDarkLaunchRequest, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownstreamAction, rhs: DownstreamAction) -> Bool { - if lhs.actionID != rhs.actionID {return false} - if lhs.method != rhs.method {return false} - if lhs.payload != rhs.payload {return false} + public static func ==(lhs: CreatePartyProto, rhs: CreatePartyProto) -> Bool { + if lhs.isDarkLaunchRequest != rhs.isDarkLaunchRequest {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownstreamActionMessages: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DownstreamActionMessages" +extension CreatePokemonTagOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreatePokemonTagOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "messages"), + 1: .same(proto: "result"), + 2: .standard(proto: "created_tag"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194172,57 +200156,51 @@ extension DownstreamActionMessages: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.messages) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._createdTag) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.messages.isEmpty { - try visitor.visitRepeatedMessageField(value: self.messages, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._createdTag { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: DownstreamActionMessages, rhs: DownstreamActionMessages) -> Bool { - if lhs.messages != rhs.messages {return false} + public static func ==(lhs: CreatePokemonTagOutProto, rhs: CreatePokemonTagOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._createdTag != rhs._createdTag {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension DownstreamActionMessages.MessageId: SwiftProtobuf._ProtoNameProviding { +extension CreatePokemonTagOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 2147483647: .same(proto: "DOWNSTREAM_ACTION_MESSAGE_ID"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), + 3: .same(proto: "TAG_ALREADY_EXISTS"), + 4: .same(proto: "PLAYER_HAS_MAXIMUM_NUMBER_OF_TAGS"), + 5: .same(proto: "TAG_NAME_CONTAINS_PROFANITY"), ] } -extension DumbBeaconProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".DumbBeaconProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: DumbBeaconProto, rhs: DumbBeaconProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension Duration: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Duration" +extension CreatePokemonTagProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreatePokemonTagProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "seconds"), - 2: .same(proto: "nanos"), + 1: .same(proto: "name"), + 2: .same(proto: "color"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194231,35 +200209,37 @@ extension Duration: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.seconds) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.nanos) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.color) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.seconds != 0 { - try visitor.visitSingularInt64Field(value: self.seconds, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - if self.nanos != 0 { - try visitor.visitSingularInt32Field(value: self.nanos, fieldNumber: 2) + if self.color != .unset { + try visitor.visitSingularEnumField(value: self.color, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Duration, rhs: Duration) -> Bool { - if lhs.seconds != rhs.seconds {return false} - if lhs.nanos != rhs.nanos {return false} + public static func ==(lhs: CreatePokemonTagProto, rhs: CreatePokemonTagProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.color != rhs.color {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EchoOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EchoOutProto" +extension CreatePostcardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreatePostcardOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "context"), + 1: .same(proto: "result"), + 2: .same(proto: "postcard"), + 3: .standard(proto: "butterfly_collector_updated_region"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194268,49 +200248,110 @@ extension EchoOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.context) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._postcard) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._butterflyCollectorUpdatedRegion) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.context.isEmpty { - try visitor.visitSingularStringField(value: self.context, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._postcard { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._butterflyCollectorUpdatedRegion { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EchoOutProto, rhs: EchoOutProto) -> Bool { - if lhs.context != rhs.context {return false} + public static func ==(lhs: CreatePostcardOutProto, rhs: CreatePostcardOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._postcard != rhs._postcard {return false} + if lhs._butterflyCollectorUpdatedRegion != rhs._butterflyCollectorUpdatedRegion {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EchoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EchoProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension CreatePostcardOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_SENDER_DOES_NOT_EXIST"), + 3: .same(proto: "ERROR_GIFT_DOES_NOT_EXIST"), + 4: .same(proto: "ERROR_POSTCARD_ALREADY_CREATED"), + 5: .same(proto: "ERROR_POSTCARD_INVENTORY_FULL"), + 6: .same(proto: "ERROR_NOT_ENABLED"), + 7: .same(proto: "ERROR_RATE_LIMITED"), + 8: .same(proto: "ERROR_PLAYER_HAS_NO_STICKERS"), + 9: .same(proto: "SUCCESS_INVENTORY_DAILY_BUTTERFLY_LIMIT"), + ] +} + +extension CreatePostcardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreatePostcardProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "giftbox_id"), + 2: .standard(proto: "sender_id"), + 3: .standard(proto: "sticker_id"), + 4: .standard(proto: "encounter_id"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularUInt64Field(value: &self.giftboxID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.senderID) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.stickerID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.encounterID) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.giftboxID != 0 { + try visitor.visitSingularUInt64Field(value: self.giftboxID, fieldNumber: 1) + } + if !self.senderID.isEmpty { + try visitor.visitSingularStringField(value: self.senderID, fieldNumber: 2) + } + if !self.stickerID.isEmpty { + try visitor.visitRepeatedStringField(value: self.stickerID, fieldNumber: 3) + } + if !self.encounterID.isEmpty { + try visitor.visitSingularStringField(value: self.encounterID, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EchoProto, rhs: EchoProto) -> Bool { + public static func ==(lhs: CreatePostcardProto, rhs: CreatePostcardProto) -> Bool { + if lhs.giftboxID != rhs.giftboxID {return false} + if lhs.senderID != rhs.senderID {return false} + if lhs.stickerID != rhs.stickerID {return false} + if lhs.encounterID != rhs.encounterID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EditPokemonTagOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EditPokemonTagOutProto" +extension CreateRouteDraftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateRouteDraftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "edit_result"), + 1: .same(proto: "result"), + 2: .standard(proto: "updated_route"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194319,42 +200360,52 @@ extension EditPokemonTagOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.editResult) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._updatedRoute) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.editResult.isEmpty { - try visitor.visitPackedEnumField(value: self.editResult, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._updatedRoute { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EditPokemonTagOutProto, rhs: EditPokemonTagOutProto) -> Bool { - if lhs.editResult != rhs.editResult {return false} + public static func ==(lhs: CreateRouteDraftOutProto, rhs: CreateRouteDraftOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._updatedRoute != rhs._updatedRoute {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EditPokemonTagOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension CreateRouteDraftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), - 3: .same(proto: "TAG_DOES_NOT_EXIST"), - 4: .same(proto: "INVALID_TAG_NAME"), - 5: .same(proto: "INVALID_TAG_SORT_INDEX"), - 6: .same(proto: "TAG_NAME_CONTAINS_PROFANITY"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_TOO_MANY_IN_PROGRESS"), + 4: .same(proto: "ERROR_MINOR"), + 5: .same(proto: "ERROR_LEVEL_TOO_LOW"), + 6: .same(proto: "ERROR_INVALID_START_ANCHOR"), + 7: .same(proto: "ERROR_CREATION_LIMIT"), ] } -extension EditPokemonTagProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EditPokemonTagProto" +extension CreateRouteDraftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreateRouteDraftProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "tag_to_edit"), + 1: .standard(proto: "start_anchor"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194363,70 +200414,126 @@ extension EditPokemonTagProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.tagToEdit) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._startAnchor) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.tagToEdit.isEmpty { - try visitor.visitRepeatedMessageField(value: self.tagToEdit, fieldNumber: 2) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._startAnchor { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EditPokemonTagProto, rhs: EditPokemonTagProto) -> Bool { - if lhs.tagToEdit != rhs.tagToEdit {return false} + public static func ==(lhs: CreateRouteDraftProto, rhs: CreateRouteDraftProto) -> Bool { + if lhs._startAnchor != rhs._startAnchor {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EfficientMapPointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EfficientMapPointProto" +extension CreatorInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CreatorInfo" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "latitude"), - 2: .same(proto: "longitude"), + 1: .standard(proto: "creator_player_id"), + 2: .standard(proto: "creator_codename"), + 3: .standard(proto: "show_creator_name"), + 4: .standard(proto: "public_profile"), ] + fileprivate class _StorageClass { + var _creatorPlayerID: String = String() + var _creatorCodename: String = String() + var _showCreatorName: Bool = false + var _publicProfile: PlayerPublicProfileProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _creatorPlayerID = source._creatorPlayerID + _creatorCodename = source._creatorCodename + _showCreatorName = source._showCreatorName + _publicProfile = source._publicProfile + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.latitude) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.longitude) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._creatorPlayerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &_storage._creatorCodename) }() + case 3: try { try decoder.decodeSingularBoolField(value: &_storage._showCreatorName) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._publicProfile) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.latitude != 0 { - try visitor.visitSingularInt32Field(value: self.latitude, fieldNumber: 1) - } - if self.longitude != 0 { - try visitor.visitSingularInt32Field(value: self.longitude, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._creatorPlayerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._creatorPlayerID, fieldNumber: 1) + } + if !_storage._creatorCodename.isEmpty { + try visitor.visitSingularStringField(value: _storage._creatorCodename, fieldNumber: 2) + } + if _storage._showCreatorName != false { + try visitor.visitSingularBoolField(value: _storage._showCreatorName, fieldNumber: 3) + } + try { if let v = _storage._publicProfile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EfficientMapPointProto, rhs: EfficientMapPointProto) -> Bool { - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} + public static func ==(lhs: CreatorInfo, rhs: CreatorInfo) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._creatorPlayerID != rhs_storage._creatorPlayerID {return false} + if _storage._creatorCodename != rhs_storage._creatorCodename {return false} + if _storage._showCreatorName != rhs_storage._showCreatorName {return false} + if _storage._publicProfile != rhs_storage._publicProfile {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EggCreateDetail" +extension CriticalReticleSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CriticalReticleSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "hatched_time_ms"), - 2: .standard(proto: "player_hatched_s2_cell_id"), - 3: .standard(proto: "received_time_ms"), + 1: .standard(proto: "critical_reticle_settings_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194435,40 +200542,31 @@ extension EggCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.hatchedTimeMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.playerHatchedS2CellID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.receivedTimeMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.criticalReticleSettingsEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.hatchedTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.hatchedTimeMs, fieldNumber: 1) - } - if self.playerHatchedS2CellID != 0 { - try visitor.visitSingularInt64Field(value: self.playerHatchedS2CellID, fieldNumber: 2) - } - if self.receivedTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.receivedTimeMs, fieldNumber: 3) + if self.criticalReticleSettingsEnabled != false { + try visitor.visitSingularBoolField(value: self.criticalReticleSettingsEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggCreateDetail, rhs: EggCreateDetail) -> Bool { - if lhs.hatchedTimeMs != rhs.hatchedTimeMs {return false} - if lhs.playerHatchedS2CellID != rhs.playerHatchedS2CellID {return false} - if lhs.receivedTimeMs != rhs.receivedTimeMs {return false} + public static func ==(lhs: CriticalReticleSettingsProto, rhs: CriticalReticleSettingsProto) -> Bool { + if lhs.criticalReticleSettingsEnabled != rhs.criticalReticleSettingsEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggDistributionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EggDistributionProto" +extension CrmProxyRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CrmProxyRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "egg_distribution"), + 1: .same(proto: "action"), + 2: .same(proto: "payload"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194477,32 +200575,37 @@ extension EggDistributionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.eggDistribution) }() + case 1: try { try decoder.decodeSingularUInt32Field(value: &self.action) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.payload) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.eggDistribution.isEmpty { - try visitor.visitRepeatedMessageField(value: self.eggDistribution, fieldNumber: 1) + if self.action != 0 { + try visitor.visitSingularUInt32Field(value: self.action, fieldNumber: 1) + } + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggDistributionProto, rhs: EggDistributionProto) -> Bool { - if lhs.eggDistribution != rhs.eggDistribution {return false} + public static func ==(lhs: CrmProxyRequestProto, rhs: CrmProxyRequestProto) -> Bool { + if lhs.action != rhs.action {return false} + if lhs.payload != rhs.payload {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggDistributionProto.EggDistributionEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = EggDistributionProto.protoMessageName + ".EggDistributionEntryProto" +extension CrmProxyResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CrmProxyResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "rarity"), - 2: .standard(proto: "pokemon_id"), - 3: .standard(proto: "pokemon_display"), + 1: .same(proto: "status"), + 2: .standard(proto: "error_message"), + 3: .same(proto: "payload"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194511,46 +200614,54 @@ extension EggDistributionProto.EggDistributionEntryProto: SwiftProtobuf.Message, // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.rarity) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.rarity != .pokemonClassNormal { - try visitor.visitSingularEnumField(value: self.rarity, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 2) + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + } + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggDistributionProto.EggDistributionEntryProto, rhs: EggDistributionProto.EggDistributionEntryProto) -> Bool { - if lhs.rarity != rhs.rarity {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + public static func ==(lhs: CrmProxyResponseProto, rhs: CrmProxyResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.errorMessage != rhs.errorMessage {return false} + if lhs.payload != rhs.payload {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggHatchImprovementsSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EggHatchImprovementsSettings" +extension CrmProxyResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "feature_enabled"), - 2: .standard(proto: "egg_hatch_animation_delay_ms"), - 3: .standard(proto: "egg_hatch_animation_interuption_delay_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "OK"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PERMISSION_DENIED"), + 4: .same(proto: "ERROR_UNAVAILABLE"), + 5: .same(proto: "ERROR_UNAUTHENTICATED"), + ] +} + +extension CrossGameSocialGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CrossGameSocialGlobalSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "online_status_min_level"), + 2: .standard(proto: "niantic_profile_min_level"), + 3: .standard(proto: "friends_list_min_level"), + 4: .standard(proto: "max_friends_per_detail_page"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194559,41 +200670,47 @@ extension EggHatchImprovementsSettings: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.featureEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.eggHatchAnimationDelayMs) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.eggHatchAnimationInteruptionDelayMs) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.onlineStatusMinLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.nianticProfileMinLevel) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.friendsListMinLevel) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxFriendsPerDetailPage) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.featureEnabled != false { - try visitor.visitSingularBoolField(value: self.featureEnabled, fieldNumber: 1) + if self.onlineStatusMinLevel != 0 { + try visitor.visitSingularInt32Field(value: self.onlineStatusMinLevel, fieldNumber: 1) + } + if self.nianticProfileMinLevel != 0 { + try visitor.visitSingularInt32Field(value: self.nianticProfileMinLevel, fieldNumber: 2) } - if self.eggHatchAnimationDelayMs != 0 { - try visitor.visitSingularInt32Field(value: self.eggHatchAnimationDelayMs, fieldNumber: 2) + if self.friendsListMinLevel != 0 { + try visitor.visitSingularInt32Field(value: self.friendsListMinLevel, fieldNumber: 3) } - if self.eggHatchAnimationInteruptionDelayMs != 0 { - try visitor.visitSingularInt32Field(value: self.eggHatchAnimationInteruptionDelayMs, fieldNumber: 3) + if self.maxFriendsPerDetailPage != 0 { + try visitor.visitSingularInt32Field(value: self.maxFriendsPerDetailPage, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggHatchImprovementsSettings, rhs: EggHatchImprovementsSettings) -> Bool { - if lhs.featureEnabled != rhs.featureEnabled {return false} - if lhs.eggHatchAnimationDelayMs != rhs.eggHatchAnimationDelayMs {return false} - if lhs.eggHatchAnimationInteruptionDelayMs != rhs.eggHatchAnimationInteruptionDelayMs {return false} + public static func ==(lhs: CrossGameSocialGlobalSettingsProto, rhs: CrossGameSocialGlobalSettingsProto) -> Bool { + if lhs.onlineStatusMinLevel != rhs.onlineStatusMinLevel {return false} + if lhs.nianticProfileMinLevel != rhs.nianticProfileMinLevel {return false} + if lhs.friendsListMinLevel != rhs.friendsListMinLevel {return false} + if lhs.maxFriendsPerDetailPage != rhs.maxFriendsPerDetailPage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggHatchTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EggHatchTelemetry" +extension CrossGameSocialSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CrossGameSocialSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_eggs_hatched"), - 2: .standard(proto: "num_animations_skipped"), + 1: .standard(proto: "online_status_enabled_override_level"), + 2: .standard(proto: "niantic_profile_enabled_override_level"), + 3: .standard(proto: "friends_list_enabled_override_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194602,37 +200719,44 @@ extension EggHatchTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.numEggsHatched) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numAnimationsSkipped) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.onlineStatusEnabledOverrideLevel) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.nianticProfileEnabledOverrideLevel) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.friendsListEnabledOverrideLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numEggsHatched != 0 { - try visitor.visitSingularInt32Field(value: self.numEggsHatched, fieldNumber: 1) + if self.onlineStatusEnabledOverrideLevel != false { + try visitor.visitSingularBoolField(value: self.onlineStatusEnabledOverrideLevel, fieldNumber: 1) } - if self.numAnimationsSkipped != 0 { - try visitor.visitSingularInt32Field(value: self.numAnimationsSkipped, fieldNumber: 2) + if self.nianticProfileEnabledOverrideLevel != false { + try visitor.visitSingularBoolField(value: self.nianticProfileEnabledOverrideLevel, fieldNumber: 2) + } + if self.friendsListEnabledOverrideLevel != false { + try visitor.visitSingularBoolField(value: self.friendsListEnabledOverrideLevel, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggHatchTelemetry, rhs: EggHatchTelemetry) -> Bool { - if lhs.numEggsHatched != rhs.numEggsHatched {return false} - if lhs.numAnimationsSkipped != rhs.numAnimationsSkipped {return false} + public static func ==(lhs: CrossGameSocialSettingsProto, rhs: CrossGameSocialSettingsProto) -> Bool { + if lhs.onlineStatusEnabledOverrideLevel != rhs.onlineStatusEnabledOverrideLevel {return false} + if lhs.nianticProfileEnabledOverrideLevel != rhs.nianticProfileEnabledOverrideLevel {return false} + if lhs.friendsListEnabledOverrideLevel != rhs.friendsListEnabledOverrideLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggIncubatorAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EggIncubatorAttributesProto" +extension CurrencyQuantityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CurrencyQuantityProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "incubator_type"), - 2: .same(proto: "uses"), - 3: .standard(proto: "distance_multiplier"), + 1: .standard(proto: "currency_type"), + 2: .same(proto: "quantity"), + 3: .standard(proto: "fiat_purchased_quantity"), + 4: .standard(proto: "fiat_currency_type"), + 5: .standard(proto: "fiat_currency_cost_e6"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194641,46 +200765,50 @@ extension EggIncubatorAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.incubatorType) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.uses) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.distanceMultiplier) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.currencyType) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.quantity) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.fiatPurchasedQuantity) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.fiatCurrencyType) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.fiatCurrencyCostE6) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.incubatorType != .incubatorUnset { - try visitor.visitSingularEnumField(value: self.incubatorType, fieldNumber: 1) + if !self.currencyType.isEmpty { + try visitor.visitSingularStringField(value: self.currencyType, fieldNumber: 1) } - if self.uses != 0 { - try visitor.visitSingularInt32Field(value: self.uses, fieldNumber: 2) + if self.quantity != 0 { + try visitor.visitSingularInt32Field(value: self.quantity, fieldNumber: 2) } - if self.distanceMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.distanceMultiplier, fieldNumber: 3) + if self.fiatPurchasedQuantity != 0 { + try visitor.visitSingularInt32Field(value: self.fiatPurchasedQuantity, fieldNumber: 3) + } + if !self.fiatCurrencyType.isEmpty { + try visitor.visitSingularStringField(value: self.fiatCurrencyType, fieldNumber: 4) + } + if self.fiatCurrencyCostE6 != 0 { + try visitor.visitSingularInt64Field(value: self.fiatCurrencyCostE6, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggIncubatorAttributesProto, rhs: EggIncubatorAttributesProto) -> Bool { - if lhs.incubatorType != rhs.incubatorType {return false} - if lhs.uses != rhs.uses {return false} - if lhs.distanceMultiplier != rhs.distanceMultiplier {return false} + public static func ==(lhs: CurrencyQuantityProto, rhs: CurrencyQuantityProto) -> Bool { + if lhs.currencyType != rhs.currencyType {return false} + if lhs.quantity != rhs.quantity {return false} + if lhs.fiatPurchasedQuantity != rhs.fiatPurchasedQuantity {return false} + if lhs.fiatCurrencyType != rhs.fiatCurrencyType {return false} + if lhs.fiatCurrencyCostE6 != rhs.fiatCurrencyCostE6 {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggIncubatorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EggIncubatorProto" +extension CurrentEventsSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CurrentEventsSectionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "item_id"), - 2: .same(proto: "item"), - 3: .standard(proto: "incubator_type"), - 4: .standard(proto: "uses_remaining"), - 5: .standard(proto: "pokemon_id"), - 6: .standard(proto: "start_km_walked"), - 7: .standard(proto: "target_km_walked"), + 1: .same(proto: "events"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194689,60 +200817,32 @@ extension EggIncubatorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.itemID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.incubatorType) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.usesRemaining) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.pokemonID) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.startKmWalked) }() - case 7: try { try decoder.decodeSingularDoubleField(value: &self.targetKmWalked) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.events) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.itemID.isEmpty { - try visitor.visitSingularStringField(value: self.itemID, fieldNumber: 1) - } - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 2) - } - if self.incubatorType != .incubatorUnset { - try visitor.visitSingularEnumField(value: self.incubatorType, fieldNumber: 3) - } - if self.usesRemaining != 0 { - try visitor.visitSingularInt32Field(value: self.usesRemaining, fieldNumber: 4) - } - if self.pokemonID != 0 { - try visitor.visitSingularInt64Field(value: self.pokemonID, fieldNumber: 5) - } - if self.startKmWalked != 0 { - try visitor.visitSingularDoubleField(value: self.startKmWalked, fieldNumber: 6) - } - if self.targetKmWalked != 0 { - try visitor.visitSingularDoubleField(value: self.targetKmWalked, fieldNumber: 7) + if !self.events.isEmpty { + try visitor.visitRepeatedMessageField(value: self.events, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggIncubatorProto, rhs: EggIncubatorProto) -> Bool { - if lhs.itemID != rhs.itemID {return false} - if lhs.item != rhs.item {return false} - if lhs.incubatorType != rhs.incubatorType {return false} - if lhs.usesRemaining != rhs.usesRemaining {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.startKmWalked != rhs.startKmWalked {return false} - if lhs.targetKmWalked != rhs.targetKmWalked {return false} + public static func ==(lhs: CurrentEventsSectionProto, rhs: CurrentEventsSectionProto) -> Bool { + if lhs.events != rhs.events {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggIncubatorsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EggIncubatorsProto" +extension CurrentNewsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CurrentNewsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "egg_incubator"), + 1: .standard(proto: "news_articles"), + 2: .standard(proto: "news_strings_url"), + 3: .standard(proto: "last_updated_timestamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194751,31 +200851,40 @@ extension EggIncubatorsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.eggIncubator) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.newsArticles) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.newsStringsURL) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.lastUpdatedTimestamp) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.eggIncubator.isEmpty { - try visitor.visitRepeatedMessageField(value: self.eggIncubator, fieldNumber: 1) + if !self.newsArticles.isEmpty { + try visitor.visitRepeatedMessageField(value: self.newsArticles, fieldNumber: 1) + } + if !self.newsStringsURL.isEmpty { + try visitor.visitSingularStringField(value: self.newsStringsURL, fieldNumber: 2) + } + if self.lastUpdatedTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.lastUpdatedTimestamp, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggIncubatorsProto, rhs: EggIncubatorsProto) -> Bool { - if lhs.eggIncubator != rhs.eggIncubator {return false} + public static func ==(lhs: CurrentNewsProto, rhs: CurrentNewsProto) -> Bool { + if lhs.newsArticles != rhs.newsArticles {return false} + if lhs.newsStringsURL != rhs.newsStringsURL {return false} + if lhs.lastUpdatedTimestamp != rhs.lastUpdatedTimestamp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EggTelemetryProto" +extension CustomizeQuestTabProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".CustomizeQuestTabProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "egg_loot_table_id"), - 2: .standard(proto: "original_egg_slot_type"), + 1: .same(proto: "sections"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194784,35 +200893,30 @@ extension EggTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.eggLootTableID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.originalEggSlotType) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.sections) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.eggLootTableID.isEmpty { - try visitor.visitSingularStringField(value: self.eggLootTableID, fieldNumber: 1) - } - if self.originalEggSlotType != .eggSlotDefault { - try visitor.visitSingularEnumField(value: self.originalEggSlotType, fieldNumber: 2) + if !self.sections.isEmpty { + try visitor.visitRepeatedMessageField(value: self.sections, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggTelemetryProto, rhs: EggTelemetryProto) -> Bool { - if lhs.eggLootTableID != rhs.eggLootTableID {return false} - if lhs.originalEggSlotType != rhs.originalEggSlotType {return false} + public static func ==(lhs: CustomizeQuestTabProto, rhs: CustomizeQuestTabProto) -> Bool { + if lhs.sections != rhs.sections {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EggTransparencySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EggTransparencySettingsProto" +extension DailyAdventureIncenseLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyAdventureIncenseLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_egg_distribution"), + 1: .standard(proto: "day_bucket"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194821,30 +200925,33 @@ extension EggTransparencySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableEggDistribution) }() + case 1: try { try decoder.decodeSingularUInt64Field(value: &self.dayBucket) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableEggDistribution != false { - try visitor.visitSingularBoolField(value: self.enableEggDistribution, fieldNumber: 1) + if self.dayBucket != 0 { + try visitor.visitSingularUInt64Field(value: self.dayBucket, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EggTransparencySettingsProto, rhs: EggTransparencySettingsProto) -> Bool { - if lhs.enableEggDistribution != rhs.enableEggDistribution {return false} + public static func ==(lhs: DailyAdventureIncenseLogEntry, rhs: DailyAdventureIncenseLogEntry) -> Bool { + if lhs.dayBucket != rhs.dayBucket {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EligibleContestPoolSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EligibleContestPoolSettingsProto" +extension DailyAdventureIncenseRecapDayDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyAdventureIncenseRecapDayDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contest"), + 1: .standard(proto: "distance_walked_km"), + 2: .standard(proto: "pokemon_captured"), + 3: .standard(proto: "pokemon_fled"), + 4: .standard(proto: "distinct_pokestops_visited"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194853,31 +200960,51 @@ extension EligibleContestPoolSettingsProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contest) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.distanceWalkedKm) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonCaptured) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonFled) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.distinctPokestopsVisited) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.contest.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contest, fieldNumber: 1) + if self.distanceWalkedKm != 0 { + try visitor.visitSingularFloatField(value: self.distanceWalkedKm, fieldNumber: 1) + } + if !self.pokemonCaptured.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemonCaptured, fieldNumber: 2) + } + if !self.pokemonFled.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemonFled, fieldNumber: 3) + } + if self.distinctPokestopsVisited != 0 { + try visitor.visitSingularInt32Field(value: self.distinctPokestopsVisited, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EligibleContestPoolSettingsProto, rhs: EligibleContestPoolSettingsProto) -> Bool { - if lhs.contest != rhs.contest {return false} + public static func ==(lhs: DailyAdventureIncenseRecapDayDisplayProto, rhs: DailyAdventureIncenseRecapDayDisplayProto) -> Bool { + if lhs.distanceWalkedKm != rhs.distanceWalkedKm {return false} + if lhs.pokemonCaptured != rhs.pokemonCaptured {return false} + if lhs.pokemonFled != rhs.pokemonFled {return false} + if lhs.distinctPokestopsVisited != rhs.distinctPokestopsVisited {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EligibleContestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EligibleContestProto" +extension DailyAdventureIncenseSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyAdventureIncenseSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contest"), - 2: .same(proto: "weight"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "pokeball_grant_threshold"), + 3: .standard(proto: "pokeball_grant"), + 4: .standard(proto: "local_delivery_time"), + 5: .standard(proto: "enable_push_notification"), + 6: .standard(proto: "push_notification_hour_of_day"), + 7: .standard(proto: "can_be_paused"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194886,8 +201013,13 @@ extension EligibleContestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._contest) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.weight) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokeballGrantThreshold) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._pokeballGrant) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.localDeliveryTime) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.enablePushNotification) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.pushNotificationHourOfDay) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.canBePaused) }() default: break } } @@ -194898,49 +201030,95 @@ extension EligibleContestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._contest { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.pokeballGrantThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.pokeballGrantThreshold, fieldNumber: 2) + } + try { if let v = self._pokeballGrant { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() - if self.weight != 0 { - try visitor.visitSingularFloatField(value: self.weight, fieldNumber: 2) + if !self.localDeliveryTime.isEmpty { + try visitor.visitSingularStringField(value: self.localDeliveryTime, fieldNumber: 4) + } + if self.enablePushNotification != false { + try visitor.visitSingularBoolField(value: self.enablePushNotification, fieldNumber: 5) + } + if self.pushNotificationHourOfDay != 0 { + try visitor.visitSingularInt32Field(value: self.pushNotificationHourOfDay, fieldNumber: 6) + } + if self.canBePaused != false { + try visitor.visitSingularBoolField(value: self.canBePaused, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EligibleContestProto, rhs: EligibleContestProto) -> Bool { - if lhs._contest != rhs._contest {return false} - if lhs.weight != rhs.weight {return false} + public static func ==(lhs: DailyAdventureIncenseSettingsProto, rhs: DailyAdventureIncenseSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.pokeballGrantThreshold != rhs.pokeballGrantThreshold {return false} + if lhs._pokeballGrant != rhs._pokeballGrant {return false} + if lhs.localDeliveryTime != rhs.localDeliveryTime {return false} + if lhs.enablePushNotification != rhs.enablePushNotification {return false} + if lhs.pushNotificationHourOfDay != rhs.pushNotificationHourOfDay {return false} + if lhs.canBePaused != rhs.canBePaused {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Empty: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Empty" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension DailyAdventureIncenseTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyAdventureIncenseTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "event_id"), + 2: .standard(proto: "from_journal"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.eventID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.fromJournal) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.eventID != .unset { + try visitor.visitSingularEnumField(value: self.eventID, fieldNumber: 1) + } + if self.fromJournal != false { + try visitor.visitSingularBoolField(value: self.fromJournal, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Empty, rhs: Empty) -> Bool { + public static func ==(lhs: DailyAdventureIncenseTelemetry, rhs: DailyAdventureIncenseTelemetry) -> Bool { + if lhs.eventID != rhs.eventID {return false} + if lhs.fromJournal != rhs.fromJournal {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnabledContextualAwarenessEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EnabledContextualAwarenessEvent" +extension DailyAdventureIncenseTelemetry.TelemetryIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "meshing"), - 2: .same(proto: "fusion"), - 3: .same(proto: "depth"), - 4: .same(proto: "semantics"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "VIEW_RECAP"), + 2: .same(proto: "CLICK_SHARE_FROM_RECAP"), + 3: .same(proto: "CLICK_SHARE_FROM_PHOTO_COLLECTION"), + ] +} + +extension DailyBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyBonusProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "next_collect_timestamp_ms"), + 2: .standard(proto: "next_defender_bonus_collect_timestamp_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194949,45 +201127,35 @@ extension EnabledContextualAwarenessEvent: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.meshing) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.fusion) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.depth) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.semantics) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.nextCollectTimestampMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.nextDefenderBonusCollectTimestampMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.meshing != false { - try visitor.visitSingularBoolField(value: self.meshing, fieldNumber: 1) - } - if self.fusion != false { - try visitor.visitSingularBoolField(value: self.fusion, fieldNumber: 2) - } - if self.depth != false { - try visitor.visitSingularBoolField(value: self.depth, fieldNumber: 3) + if self.nextCollectTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.nextCollectTimestampMs, fieldNumber: 1) } - if self.semantics != false { - try visitor.visitSingularBoolField(value: self.semantics, fieldNumber: 4) + if self.nextDefenderBonusCollectTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.nextDefenderBonusCollectTimestampMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EnabledContextualAwarenessEvent, rhs: EnabledContextualAwarenessEvent) -> Bool { - if lhs.meshing != rhs.meshing {return false} - if lhs.fusion != rhs.fusion {return false} - if lhs.depth != rhs.depth {return false} - if lhs.semantics != rhs.semantics {return false} + public static func ==(lhs: DailyBonusProto, rhs: DailyBonusProto) -> Bool { + if lhs.nextCollectTimestampMs != rhs.nextCollectTimestampMs {return false} + if lhs.nextDefenderBonusCollectTimestampMs != rhs.nextDefenderBonusCollectTimestampMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnabledPokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EnabledPokemonSettingsProto" +extension DailyBuddyAffectionQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyBuddyAffectionQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 3: .standard(proto: "enabled_pokemon_range"), + 1: .standard(proto: "daily_affection_counter"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -194996,31 +201164,36 @@ extension EnabledPokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.enabledPokemonRange) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._dailyAffectionCounter) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.enabledPokemonRange.isEmpty { - try visitor.visitRepeatedMessageField(value: self.enabledPokemonRange, fieldNumber: 3) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._dailyAffectionCounter { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EnabledPokemonSettingsProto, rhs: EnabledPokemonSettingsProto) -> Bool { - if lhs.enabledPokemonRange != rhs.enabledPokemonRange {return false} + public static func ==(lhs: DailyBuddyAffectionQuestProto, rhs: DailyBuddyAffectionQuestProto) -> Bool { + if lhs._dailyAffectionCounter != rhs._dailyAffectionCounter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnabledPokemonSettingsProto.Range: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = EnabledPokemonSettingsProto.protoMessageName + ".Range" +extension DailyCounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyCounterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "start"), - 2: .same(proto: "end"), + 1: .same(proto: "window"), + 2: .same(proto: "count"), + 3: .standard(proto: "buckets_per_day"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195029,40 +201202,40 @@ extension EnabledPokemonSettingsProto.Range: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.start) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.end) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.window) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.bucketsPerDay) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.start != 0 { - try visitor.visitSingularInt32Field(value: self.start, fieldNumber: 1) + if self.window != 0 { + try visitor.visitSingularInt64Field(value: self.window, fieldNumber: 1) } - if self.end != 0 { - try visitor.visitSingularInt32Field(value: self.end, fieldNumber: 2) + if self.count != 0 { + try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) + } + if self.bucketsPerDay != 0 { + try visitor.visitSingularInt32Field(value: self.bucketsPerDay, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EnabledPokemonSettingsProto.Range, rhs: EnabledPokemonSettingsProto.Range) -> Bool { - if lhs.start != rhs.start {return false} - if lhs.end != rhs.end {return false} + public static func ==(lhs: DailyCounterProto, rhs: DailyCounterProto) -> Bool { + if lhs.window != rhs.window {return false} + if lhs.count != rhs.count {return false} + if lhs.bucketsPerDay != rhs.bucketsPerDay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterOutProto" +extension DailyEncounterGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyEncounterGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .same(proto: "background"), - 3: .same(proto: "status"), - 4: .standard(proto: "capture_probability"), - 5: .standard(proto: "active_item"), - 6: .standard(proto: "arplus_attempts_until_flee"), + 1: .same(proto: "enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195071,77 +201244,28 @@ extension EncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.background) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.background != .park { - try visitor.visitSingularEnumField(value: self.background, fieldNumber: 2) - } - if self.status != .encounterError { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) - } - try { if let v = self._captureProbability { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.activeItem != .unknown { - try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 5) - } - if self.arplusAttemptsUntilFlee != 0 { - try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 6) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterOutProto, rhs: EncounterOutProto) -> Bool { - if lhs._pokemon != rhs._pokemon {return false} - if lhs.background != rhs.background {return false} - if lhs.status != rhs.status {return false} - if lhs._captureProbability != rhs._captureProbability {return false} - if lhs.activeItem != rhs.activeItem {return false} - if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} + public static func ==(lhs: DailyEncounterGlobalSettingsProto, rhs: DailyEncounterGlobalSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EncounterOutProto.Background: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PARK"), - 1: .same(proto: "DESERT"), - ] -} - -extension EncounterOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ENCOUNTER_ERROR"), - 1: .same(proto: "ENCOUNTER_SUCCESS"), - 2: .same(proto: "ENCOUNTER_NOT_FOUND"), - 3: .same(proto: "ENCOUNTER_CLOSED"), - 4: .same(proto: "ENCOUNTER_POKEMON_FLED"), - 5: .same(proto: "ENCOUNTER_NOT_IN_RANGE"), - 6: .same(proto: "ENCOUNTER_ALREADY_HAPPENED"), - 7: .same(proto: "POKEMON_INVENTORY_FULL"), - ] -} - -extension EncounterPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterPhotobombOutProto" +extension DailyEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyEncounterOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), 2: .same(proto: "pokemon"), @@ -195189,7 +201313,7 @@ extension EncounterPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterPhotobombOutProto, rhs: EncounterPhotobombOutProto) -> Bool { + public static func ==(lhs: DailyEncounterOutProto, rhs: DailyEncounterOutProto) -> Bool { if lhs.result != rhs.result {return false} if lhs._pokemon != rhs._pokemon {return false} if lhs._captureProbability != rhs._captureProbability {return false} @@ -195200,18 +201324,17 @@ extension EncounterPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess } } -extension EncounterPhotobombOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension DailyEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "NO_ENCOUNTER_AVAILABLE"), + 2: .same(proto: "ENCOUNTER_NOT_AVAILABLE"), 3: .same(proto: "POKEMON_INVENTORY_FULL"), - 4: .same(proto: "ERROR_UNKNOWN"), ] } -extension EncounterPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterPhotobombProto" +extension DailyEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyEncounterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "encounter_id"), 2: .standard(proto: "encounter_location"), @@ -195223,7 +201346,7 @@ extension EncounterPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.encounterID) }() case 2: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() default: break } @@ -195232,7 +201355,7 @@ extension EncounterPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._Message public func traverse(visitor: inout V) throws { if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) + try visitor.visitSingularInt64Field(value: self.encounterID, fieldNumber: 1) } if !self.encounterLocation.isEmpty { try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 2) @@ -195240,7 +201363,7 @@ extension EncounterPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._Message try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterPhotobombProto, rhs: EncounterPhotobombProto) -> Bool { + public static func ==(lhs: DailyEncounterProto, rhs: DailyEncounterProto) -> Bool { if lhs.encounterID != rhs.encounterID {return false} if lhs.encounterLocation != rhs.encounterLocation {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -195248,13 +201371,11 @@ extension EncounterPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._Message } } -extension EncounterPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterPokemonTelemetry" +extension DailyQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .standard(proto: "map_pokemon_type"), - 3: .standard(proto: "ar_enabled"), - 4: .standard(proto: "ar_plus_enabled"), + 1: .standard(proto: "current_period_bucket"), + 2: .standard(proto: "current_streak_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195263,52 +201384,40 @@ extension EncounterPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.mapPokemonType) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.arEnabled) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.arPlusEnabled) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.currentPeriodBucket) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.currentStreakCount) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.mapPokemonType.isEmpty { - try visitor.visitSingularStringField(value: self.mapPokemonType, fieldNumber: 2) - } - if self.arEnabled != false { - try visitor.visitSingularBoolField(value: self.arEnabled, fieldNumber: 3) + if self.currentPeriodBucket != 0 { + try visitor.visitSingularInt32Field(value: self.currentPeriodBucket, fieldNumber: 1) } - if self.arPlusEnabled != false { - try visitor.visitSingularBoolField(value: self.arPlusEnabled, fieldNumber: 4) + if self.currentStreakCount != 0 { + try visitor.visitSingularInt32Field(value: self.currentStreakCount, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterPokemonTelemetry, rhs: EncounterPokemonTelemetry) -> Bool { - if lhs._pokemon != rhs._pokemon {return false} - if lhs.mapPokemonType != rhs.mapPokemonType {return false} - if lhs.arEnabled != rhs.arEnabled {return false} - if lhs.arPlusEnabled != rhs.arPlusEnabled {return false} + public static func ==(lhs: DailyQuestProto, rhs: DailyQuestProto) -> Bool { + if lhs.currentPeriodBucket != rhs.currentPeriodBucket {return false} + if lhs.currentStreakCount != rhs.currentStreakCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EncounterPokestopEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterPokestopEncounterOutProto" +extension DailyQuestSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyQuestSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "pokemon"), - 3: .standard(proto: "capture_probability"), - 4: .standard(proto: "active_item"), + 1: .standard(proto: "buckets_per_day"), + 2: .standard(proto: "streak_length"), + 3: .standard(proto: "bonus_multiplier"), + 4: .standard(proto: "streak_bonus_multiplier"), + 5: .same(proto: "disable"), + 6: .standard(proto: "prevent_streak_broken"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195317,60 +201426,55 @@ extension EncounterPokestopEncounterOutProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.bucketsPerDay) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.streakLength) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.bonusMultiplier) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.streakBonusMultiplier) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.disable) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.preventStreakBroken) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.bucketsPerDay != 0 { + try visitor.visitSingularInt32Field(value: self.bucketsPerDay, fieldNumber: 1) } - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._captureProbability { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if self.activeItem != .unknown { - try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) + if self.streakLength != 0 { + try visitor.visitSingularInt32Field(value: self.streakLength, fieldNumber: 2) + } + if self.bonusMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.bonusMultiplier, fieldNumber: 3) + } + if self.streakBonusMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.streakBonusMultiplier, fieldNumber: 4) + } + if self.disable != false { + try visitor.visitSingularBoolField(value: self.disable, fieldNumber: 5) + } + if self.preventStreakBroken != false { + try visitor.visitSingularBoolField(value: self.preventStreakBroken, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterPokestopEncounterOutProto, rhs: EncounterPokestopEncounterOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._pokemon != rhs._pokemon {return false} - if lhs._captureProbability != rhs._captureProbability {return false} - if lhs.activeItem != rhs.activeItem {return false} + public static func ==(lhs: DailyQuestSettings, rhs: DailyQuestSettings) -> Bool { + if lhs.bucketsPerDay != rhs.bucketsPerDay {return false} + if lhs.streakLength != rhs.streakLength {return false} + if lhs.bonusMultiplier != rhs.bonusMultiplier {return false} + if lhs.streakBonusMultiplier != rhs.streakBonusMultiplier {return false} + if lhs.disable != rhs.disable {return false} + if lhs.preventStreakBroken != rhs.preventStreakBroken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EncounterPokestopEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "NO_ENCOUNTER_AVAILABLE"), - 3: .same(proto: "POKEMON_INVENTORY_FULL"), - 4: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension EncounterPokestopEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterPokestopEncounterProto" +extension DailyStreaksProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DailyStreaksProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "encounter_id"), - 2: .standard(proto: "encounter_location"), + 1: .same(proto: "streaks"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195379,38 +201483,33 @@ extension EncounterPokestopEncounterProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.streaks) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) - } - if !self.encounterLocation.isEmpty { - try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 2) + if !self.streaks.isEmpty { + try visitor.visitRepeatedMessageField(value: self.streaks, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterPokestopEncounterProto, rhs: EncounterPokestopEncounterProto) -> Bool { - if lhs.encounterID != rhs.encounterID {return false} - if lhs.encounterLocation != rhs.encounterLocation {return false} + public static func ==(lhs: DailyStreaksProto, rhs: DailyStreaksProto) -> Bool { + if lhs.streaks != rhs.streaks {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterProto" +extension DailyStreaksProto.StreakProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = DailyStreaksProto.protoMessageName + ".StreakProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "encounter_id"), - 2: .standard(proto: "spawnpoint_id"), - 3: .standard(proto: "player_lat_degrees"), - 4: .standard(proto: "player_lng_degrees"), + 1: .standard(proto: "quest_type"), + 2: .same(proto: "count"), + 3: .same(proto: "target"), + 4: .standard(proto: "remaining_today"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195419,311 +201518,86 @@ extension EncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.spawnpointID) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.questType) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.target) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.remainingToday) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) + if self.questType != .questUnset { + try visitor.visitSingularEnumField(value: self.questType, fieldNumber: 1) } - if !self.spawnpointID.isEmpty { - try visitor.visitSingularStringField(value: self.spawnpointID, fieldNumber: 2) + if self.count != 0 { + try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) } - if self.playerLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) + if self.target != 0 { + try visitor.visitSingularInt32Field(value: self.target, fieldNumber: 3) } - if self.playerLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 4) + if self.remainingToday != 0 { + try visitor.visitSingularInt32Field(value: self.remainingToday, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterProto, rhs: EncounterProto) -> Bool { - if lhs.encounterID != rhs.encounterID {return false} - if lhs.spawnpointID != rhs.spawnpointID {return false} - if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} - if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + public static func ==(lhs: DailyStreaksProto.StreakProto, rhs: DailyStreaksProto.StreakProto) -> Bool { + if lhs.questType != rhs.questType {return false} + if lhs.count != rhs.count {return false} + if lhs.target != rhs.target {return false} + if lhs.remainingToday != rhs.remainingToday {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EncounterSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterSettingsProto" +extension DamagePropertyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DamagePropertyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "spin_bonus_threshold"), - 2: .standard(proto: "excellent_throw_threshold"), - 3: .standard(proto: "great_throw_threshold"), - 4: .standard(proto: "nice_throw_threshold"), - 5: .standard(proto: "milestone_threshold"), - 6: .standard(proto: "ar_plus_mode_enabled"), - 7: .standard(proto: "ar_close_proximity_threshold"), - 8: .standard(proto: "ar_low_awareness_threshold"), - 9: .standard(proto: "ar_close_proximity_multiplier"), - 10: .standard(proto: "ar_awareness_penalty_threshold"), - 11: .standard(proto: "ar_low_awareness_max_multiplier"), - 12: .standard(proto: "ar_high_awareness_min_penalty_multiplier"), - 13: .standard(proto: "ar_plus_attempts_until_flee_max"), - 14: .standard(proto: "ar_plus_attempts_until_flee_infinite"), - 15: .standard(proto: "escaped_bonus_multiplier_max"), - 16: .standard(proto: "escaped_bonus_multiplier_by_excellent_throw"), - 17: .standard(proto: "escaped_bonus_multiplier_by_great_throw"), - 18: .standard(proto: "escaped_bonus_multiplier_by_nice_throw"), - 19: .standard(proto: "ob_string"), - 20: .standard(proto: "global_stardust_multiplier"), - 21: .standard(proto: "global_candy_multiplier"), - 22: .standard(proto: "ob_float_1"), - 23: .standard(proto: "ob_float_2"), - 24: .standard(proto: "ob_float_3"), - 25: .standard(proto: "ob_float_4"), - 26: .standard(proto: "ob_bool"), + 1: .standard(proto: "super_effective_charge_move"), + 2: .standard(proto: "weather_boosted"), ] - fileprivate class _StorageClass { - var _spinBonusThreshold: Float = 0 - var _excellentThrowThreshold: Float = 0 - var _greatThrowThreshold: Float = 0 - var _niceThrowThreshold: Float = 0 - var _milestoneThreshold: Int32 = 0 - var _arPlusModeEnabled: Bool = false - var _arCloseProximityThreshold: Float = 0 - var _arLowAwarenessThreshold: Float = 0 - var _arCloseProximityMultiplier: Float = 0 - var _arAwarenessPenaltyThreshold: Float = 0 - var _arLowAwarenessMaxMultiplier: Float = 0 - var _arHighAwarenessMinPenaltyMultiplier: Float = 0 - var _arPlusAttemptsUntilFleeMax: Int32 = 0 - var _arPlusAttemptsUntilFleeInfinite: Int32 = 0 - var _escapedBonusMultiplierMax: Float = 0 - var _escapedBonusMultiplierByExcellentThrow: Float = 0 - var _escapedBonusMultiplierByGreatThrow: Float = 0 - var _escapedBonusMultiplierByNiceThrow: Float = 0 - var _obString: String = String() - var _globalStardustMultiplier: Float = 0 - var _globalCandyMultiplier: Float = 0 - var _obFloat1: Float = 0 - var _obFloat2: Float = 0 - var _obFloat3: Float = 0 - var _obFloat4: Float = 0 - var _obBool: Bool = false - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _spinBonusThreshold = source._spinBonusThreshold - _excellentThrowThreshold = source._excellentThrowThreshold - _greatThrowThreshold = source._greatThrowThreshold - _niceThrowThreshold = source._niceThrowThreshold - _milestoneThreshold = source._milestoneThreshold - _arPlusModeEnabled = source._arPlusModeEnabled - _arCloseProximityThreshold = source._arCloseProximityThreshold - _arLowAwarenessThreshold = source._arLowAwarenessThreshold - _arCloseProximityMultiplier = source._arCloseProximityMultiplier - _arAwarenessPenaltyThreshold = source._arAwarenessPenaltyThreshold - _arLowAwarenessMaxMultiplier = source._arLowAwarenessMaxMultiplier - _arHighAwarenessMinPenaltyMultiplier = source._arHighAwarenessMinPenaltyMultiplier - _arPlusAttemptsUntilFleeMax = source._arPlusAttemptsUntilFleeMax - _arPlusAttemptsUntilFleeInfinite = source._arPlusAttemptsUntilFleeInfinite - _escapedBonusMultiplierMax = source._escapedBonusMultiplierMax - _escapedBonusMultiplierByExcellentThrow = source._escapedBonusMultiplierByExcellentThrow - _escapedBonusMultiplierByGreatThrow = source._escapedBonusMultiplierByGreatThrow - _escapedBonusMultiplierByNiceThrow = source._escapedBonusMultiplierByNiceThrow - _obString = source._obString - _globalStardustMultiplier = source._globalStardustMultiplier - _globalCandyMultiplier = source._globalCandyMultiplier - _obFloat1 = source._obFloat1 - _obFloat2 = source._obFloat2 - _obFloat3 = source._obFloat3 - _obFloat4 = source._obFloat4 - _obBool = source._obBool - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &_storage._spinBonusThreshold) }() - case 2: try { try decoder.decodeSingularFloatField(value: &_storage._excellentThrowThreshold) }() - case 3: try { try decoder.decodeSingularFloatField(value: &_storage._greatThrowThreshold) }() - case 4: try { try decoder.decodeSingularFloatField(value: &_storage._niceThrowThreshold) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._milestoneThreshold) }() - case 6: try { try decoder.decodeSingularBoolField(value: &_storage._arPlusModeEnabled) }() - case 7: try { try decoder.decodeSingularFloatField(value: &_storage._arCloseProximityThreshold) }() - case 8: try { try decoder.decodeSingularFloatField(value: &_storage._arLowAwarenessThreshold) }() - case 9: try { try decoder.decodeSingularFloatField(value: &_storage._arCloseProximityMultiplier) }() - case 10: try { try decoder.decodeSingularFloatField(value: &_storage._arAwarenessPenaltyThreshold) }() - case 11: try { try decoder.decodeSingularFloatField(value: &_storage._arLowAwarenessMaxMultiplier) }() - case 12: try { try decoder.decodeSingularFloatField(value: &_storage._arHighAwarenessMinPenaltyMultiplier) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._arPlusAttemptsUntilFleeMax) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._arPlusAttemptsUntilFleeInfinite) }() - case 15: try { try decoder.decodeSingularFloatField(value: &_storage._escapedBonusMultiplierMax) }() - case 16: try { try decoder.decodeSingularFloatField(value: &_storage._escapedBonusMultiplierByExcellentThrow) }() - case 17: try { try decoder.decodeSingularFloatField(value: &_storage._escapedBonusMultiplierByGreatThrow) }() - case 18: try { try decoder.decodeSingularFloatField(value: &_storage._escapedBonusMultiplierByNiceThrow) }() - case 19: try { try decoder.decodeSingularStringField(value: &_storage._obString) }() - case 20: try { try decoder.decodeSingularFloatField(value: &_storage._globalStardustMultiplier) }() - case 21: try { try decoder.decodeSingularFloatField(value: &_storage._globalCandyMultiplier) }() - case 22: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat1) }() - case 23: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat2) }() - case 24: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat3) }() - case 25: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat4) }() - case 26: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.superEffectiveChargeMove) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.weatherBoosted) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._spinBonusThreshold != 0 { - try visitor.visitSingularFloatField(value: _storage._spinBonusThreshold, fieldNumber: 1) - } - if _storage._excellentThrowThreshold != 0 { - try visitor.visitSingularFloatField(value: _storage._excellentThrowThreshold, fieldNumber: 2) - } - if _storage._greatThrowThreshold != 0 { - try visitor.visitSingularFloatField(value: _storage._greatThrowThreshold, fieldNumber: 3) - } - if _storage._niceThrowThreshold != 0 { - try visitor.visitSingularFloatField(value: _storage._niceThrowThreshold, fieldNumber: 4) - } - if _storage._milestoneThreshold != 0 { - try visitor.visitSingularInt32Field(value: _storage._milestoneThreshold, fieldNumber: 5) - } - if _storage._arPlusModeEnabled != false { - try visitor.visitSingularBoolField(value: _storage._arPlusModeEnabled, fieldNumber: 6) - } - if _storage._arCloseProximityThreshold != 0 { - try visitor.visitSingularFloatField(value: _storage._arCloseProximityThreshold, fieldNumber: 7) - } - if _storage._arLowAwarenessThreshold != 0 { - try visitor.visitSingularFloatField(value: _storage._arLowAwarenessThreshold, fieldNumber: 8) - } - if _storage._arCloseProximityMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._arCloseProximityMultiplier, fieldNumber: 9) - } - if _storage._arAwarenessPenaltyThreshold != 0 { - try visitor.visitSingularFloatField(value: _storage._arAwarenessPenaltyThreshold, fieldNumber: 10) - } - if _storage._arLowAwarenessMaxMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._arLowAwarenessMaxMultiplier, fieldNumber: 11) - } - if _storage._arHighAwarenessMinPenaltyMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._arHighAwarenessMinPenaltyMultiplier, fieldNumber: 12) - } - if _storage._arPlusAttemptsUntilFleeMax != 0 { - try visitor.visitSingularInt32Field(value: _storage._arPlusAttemptsUntilFleeMax, fieldNumber: 13) - } - if _storage._arPlusAttemptsUntilFleeInfinite != 0 { - try visitor.visitSingularInt32Field(value: _storage._arPlusAttemptsUntilFleeInfinite, fieldNumber: 14) - } - if _storage._escapedBonusMultiplierMax != 0 { - try visitor.visitSingularFloatField(value: _storage._escapedBonusMultiplierMax, fieldNumber: 15) - } - if _storage._escapedBonusMultiplierByExcellentThrow != 0 { - try visitor.visitSingularFloatField(value: _storage._escapedBonusMultiplierByExcellentThrow, fieldNumber: 16) - } - if _storage._escapedBonusMultiplierByGreatThrow != 0 { - try visitor.visitSingularFloatField(value: _storage._escapedBonusMultiplierByGreatThrow, fieldNumber: 17) - } - if _storage._escapedBonusMultiplierByNiceThrow != 0 { - try visitor.visitSingularFloatField(value: _storage._escapedBonusMultiplierByNiceThrow, fieldNumber: 18) - } - if !_storage._obString.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString, fieldNumber: 19) - } - if _storage._globalStardustMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._globalStardustMultiplier, fieldNumber: 20) - } - if _storage._globalCandyMultiplier != 0 { - try visitor.visitSingularFloatField(value: _storage._globalCandyMultiplier, fieldNumber: 21) - } - if _storage._obFloat1 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat1, fieldNumber: 22) - } - if _storage._obFloat2 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat2, fieldNumber: 23) - } - if _storage._obFloat3 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat3, fieldNumber: 24) - } - if _storage._obFloat4 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat4, fieldNumber: 25) - } - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 26) - } + if self.superEffectiveChargeMove != false { + try visitor.visitSingularBoolField(value: self.superEffectiveChargeMove, fieldNumber: 1) + } + if self.weatherBoosted != false { + try visitor.visitSingularBoolField(value: self.weatherBoosted, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterSettingsProto, rhs: EncounterSettingsProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._spinBonusThreshold != rhs_storage._spinBonusThreshold {return false} - if _storage._excellentThrowThreshold != rhs_storage._excellentThrowThreshold {return false} - if _storage._greatThrowThreshold != rhs_storage._greatThrowThreshold {return false} - if _storage._niceThrowThreshold != rhs_storage._niceThrowThreshold {return false} - if _storage._milestoneThreshold != rhs_storage._milestoneThreshold {return false} - if _storage._arPlusModeEnabled != rhs_storage._arPlusModeEnabled {return false} - if _storage._arCloseProximityThreshold != rhs_storage._arCloseProximityThreshold {return false} - if _storage._arLowAwarenessThreshold != rhs_storage._arLowAwarenessThreshold {return false} - if _storage._arCloseProximityMultiplier != rhs_storage._arCloseProximityMultiplier {return false} - if _storage._arAwarenessPenaltyThreshold != rhs_storage._arAwarenessPenaltyThreshold {return false} - if _storage._arLowAwarenessMaxMultiplier != rhs_storage._arLowAwarenessMaxMultiplier {return false} - if _storage._arHighAwarenessMinPenaltyMultiplier != rhs_storage._arHighAwarenessMinPenaltyMultiplier {return false} - if _storage._arPlusAttemptsUntilFleeMax != rhs_storage._arPlusAttemptsUntilFleeMax {return false} - if _storage._arPlusAttemptsUntilFleeInfinite != rhs_storage._arPlusAttemptsUntilFleeInfinite {return false} - if _storage._escapedBonusMultiplierMax != rhs_storage._escapedBonusMultiplierMax {return false} - if _storage._escapedBonusMultiplierByExcellentThrow != rhs_storage._escapedBonusMultiplierByExcellentThrow {return false} - if _storage._escapedBonusMultiplierByGreatThrow != rhs_storage._escapedBonusMultiplierByGreatThrow {return false} - if _storage._escapedBonusMultiplierByNiceThrow != rhs_storage._escapedBonusMultiplierByNiceThrow {return false} - if _storage._obString != rhs_storage._obString {return false} - if _storage._globalStardustMultiplier != rhs_storage._globalStardustMultiplier {return false} - if _storage._globalCandyMultiplier != rhs_storage._globalCandyMultiplier {return false} - if _storage._obFloat1 != rhs_storage._obFloat1 {return false} - if _storage._obFloat2 != rhs_storage._obFloat2 {return false} - if _storage._obFloat3 != rhs_storage._obFloat3 {return false} - if _storage._obFloat4 != rhs_storage._obFloat4 {return false} - if _storage._obBool != rhs_storage._obBool {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: DamagePropertyProto, rhs: DamagePropertyProto) -> Bool { + if lhs.superEffectiveChargeMove != rhs.superEffectiveChargeMove {return false} + if lhs.weatherBoosted != rhs.weatherBoosted {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EncounterTutorialCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterTutorialCompleteOutProto" +extension DawnDuskSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DawnDuskSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "pokemon"), - 3: .same(proto: "scores"), + 1: .standard(proto: "dawn_start_offset_before_sunrise_ms"), + 2: .standard(proto: "dawn_end_offset_after_sunrise_ms"), + 3: .standard(proto: "dusk_start_offset_before_sunset_ms"), + 4: .standard(proto: "dusk_end_offset_after_sunset_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195732,52 +201606,45 @@ extension EncounterTutorialCompleteOutProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._scores) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.dawnStartOffsetBeforeSunriseMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.dawnEndOffsetAfterSunriseMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.duskStartOffsetBeforeSunsetMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.duskEndOffsetAfterSunsetMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.dawnStartOffsetBeforeSunriseMs != 0 { + try visitor.visitSingularInt64Field(value: self.dawnStartOffsetBeforeSunriseMs, fieldNumber: 1) + } + if self.dawnEndOffsetAfterSunriseMs != 0 { + try visitor.visitSingularInt64Field(value: self.dawnEndOffsetAfterSunriseMs, fieldNumber: 2) + } + if self.duskStartOffsetBeforeSunsetMs != 0 { + try visitor.visitSingularInt64Field(value: self.duskStartOffsetBeforeSunsetMs, fieldNumber: 3) + } + if self.duskEndOffsetAfterSunsetMs != 0 { + try visitor.visitSingularInt64Field(value: self.duskEndOffsetAfterSunsetMs, fieldNumber: 4) } - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._scores { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterTutorialCompleteOutProto, rhs: EncounterTutorialCompleteOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._pokemon != rhs._pokemon {return false} - if lhs._scores != rhs._scores {return false} + public static func ==(lhs: DawnDuskSettingsProto, rhs: DawnDuskSettingsProto) -> Bool { + if lhs.dawnStartOffsetBeforeSunriseMs != rhs.dawnStartOffsetBeforeSunriseMs {return false} + if lhs.dawnEndOffsetAfterSunriseMs != rhs.dawnEndOffsetAfterSunriseMs {return false} + if lhs.duskStartOffsetBeforeSunsetMs != rhs.duskStartOffsetBeforeSunsetMs {return false} + if lhs.duskEndOffsetAfterSunsetMs != rhs.duskEndOffsetAfterSunsetMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EncounterTutorialCompleteOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_POKEMON"), - ] -} - -extension EncounterTutorialCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EncounterTutorialCompleteProto" +extension DaysWithARowQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DaysWithARowQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokedex_id"), + 1: .standard(proto: "last_window"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195786,34 +201653,31 @@ extension EncounterTutorialCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.lastWindow) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) + if self.lastWindow != 0 { + try visitor.visitSingularInt32Field(value: self.lastWindow, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EncounterTutorialCompleteProto, rhs: EncounterTutorialCompleteProto) -> Bool { - if lhs.pokedexID != rhs.pokedexID {return false} + public static func ==(lhs: DaysWithARowQuestProto, rhs: DaysWithARowQuestProto) -> Bool { + if lhs.lastWindow != rhs.lastWindow {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Enum: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Enum" +extension DebugEvolvePreviewProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DebugEvolvePreviewProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "enumvalue"), - 3: .same(proto: "options"), - 4: .standard(proto: "source_context"), - 5: .same(proto: "syntax"), + 1: .standard(proto: "expected_buddy_km_walked"), + 2: .standard(proto: "expected_distance_progress_km_since_set_or_candy_award"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195822,56 +201686,36 @@ extension Enum: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.enumvalue) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.options) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._sourceContext) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.syntax) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.expectedBuddyKmWalked) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.expectedDistanceProgressKmSinceSetOrCandyAward) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.enumvalue.isEmpty { - try visitor.visitRepeatedMessageField(value: self.enumvalue, fieldNumber: 2) + if self.expectedBuddyKmWalked != 0 { + try visitor.visitSingularFloatField(value: self.expectedBuddyKmWalked, fieldNumber: 1) } - if !self.options.isEmpty { - try visitor.visitRepeatedMessageField(value: self.options, fieldNumber: 3) - } - try { if let v = self._sourceContext { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.syntax != .proto2 { - try visitor.visitSingularEnumField(value: self.syntax, fieldNumber: 5) + if self.expectedDistanceProgressKmSinceSetOrCandyAward != 0 { + try visitor.visitSingularFloatField(value: self.expectedDistanceProgressKmSinceSetOrCandyAward, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Enum, rhs: Enum) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.enumvalue != rhs.enumvalue {return false} - if lhs.options != rhs.options {return false} - if lhs._sourceContext != rhs._sourceContext {return false} - if lhs.syntax != rhs.syntax {return false} + public static func ==(lhs: DebugEvolvePreviewProto, rhs: DebugEvolvePreviewProto) -> Bool { + if lhs.expectedBuddyKmWalked != rhs.expectedBuddyKmWalked {return false} + if lhs.expectedDistanceProgressKmSinceSetOrCandyAward != rhs.expectedDistanceProgressKmSinceSetOrCandyAward {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnumDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EnumDescriptorProto" +extension DebugInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DebugInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "value"), - 3: .same(proto: "options"), + 1: .same(proto: "latitude"), + 2: .same(proto: "longitude"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195880,45 +201724,35 @@ extension EnumDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.value) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._options) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 1) } - if !self.value.isEmpty { - try visitor.visitRepeatedMessageField(value: self.value, fieldNumber: 2) + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 2) } - try { if let v = self._options { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - - public static func ==(lhs: EnumDescriptorProto, rhs: EnumDescriptorProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.value != rhs.value {return false} - if lhs._options != rhs._options {return false} + + public static func ==(lhs: DebugInfoProto, rhs: DebugInfoProto) -> Bool { + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnumOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EnumOptions" +extension DeclineCombatChallengeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeclineCombatChallengeData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "allow_alias"), - 2: .same(proto: "deprecated"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195927,37 +201761,30 @@ extension EnumOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.allowAlias) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.allowAlias != false { - try visitor.visitSingularBoolField(value: self.allowAlias, fieldNumber: 1) - } - if self.deprecated != false { - try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 2) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EnumOptions, rhs: EnumOptions) -> Bool { - if lhs.allowAlias != rhs.allowAlias {return false} - if lhs.deprecated != rhs.deprecated {return false} + public static func ==(lhs: DeclineCombatChallengeData, rhs: DeclineCombatChallengeData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnumValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EnumValue" +extension DeclineCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeclineCombatChallengeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "number"), - 3: .same(proto: "options"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -195966,42 +201793,41 @@ extension EnumValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.number) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.options) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if self.number != 0 { - try visitor.visitSingularInt32Field(value: self.number, fieldNumber: 2) - } - if !self.options.isEmpty { - try visitor.visitRepeatedMessageField(value: self.options, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EnumValue, rhs: EnumValue) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.number != rhs.number {return false} - if lhs.options != rhs.options {return false} + public static func ==(lhs: DeclineCombatChallengeOutProto, rhs: DeclineCombatChallengeOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnumValueDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EnumValueDescriptorProto" +extension DeclineCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "number"), - 3: .same(proto: "options"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), + 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), + 4: .same(proto: "ERROR_ALREADY_TIMEDOUT"), + 5: .same(proto: "ERROR_ALREADY_CANCELLED"), + ] +} + +extension DeclineCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeclineCombatChallengeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "challenge_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196010,44 +201836,32 @@ extension EnumValueDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.number) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._options) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if self.number != 0 { - try visitor.visitSingularInt32Field(value: self.number, fieldNumber: 2) + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) } - try { if let v = self._options { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EnumValueDescriptorProto, rhs: EnumValueDescriptorProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.number != rhs.number {return false} - if lhs._options != rhs._options {return false} + public static func ==(lhs: DeclineCombatChallengeProto, rhs: DeclineCombatChallengeProto) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnumValueOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EnumValueOptions" +extension DeclineCombatChallengeResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeclineCombatChallengeResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "deprecated"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196056,28 +201870,38 @@ extension EnumValueOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.deprecated != false { - try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) + } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EnumValueOptions, rhs: EnumValueOptions) -> Bool { - if lhs.deprecated != rhs.deprecated {return false} + public static func ==(lhs: DeclineCombatChallengeResponseData, rhs: DeclineCombatChallengeResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnumWrapper: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EnumWrapper" +extension DeepLinkingEnumWrapperProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeepLinkingEnumWrapperProto" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -196089,197 +201913,85 @@ extension EnumWrapper: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EnumWrapper, rhs: EnumWrapper) -> Bool { + public static func ==(lhs: DeepLinkingEnumWrapperProto, rhs: DeepLinkingEnumWrapperProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EnumWrapper.InvasionCharacter: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CHARACTER_UNSET"), - 1: .same(proto: "CHARACTER_BLANCHE"), - 2: .same(proto: "CHARACTER_CANDELA"), - 3: .same(proto: "CHARACTER_SPARK"), - 4: .same(proto: "CHARACTER_GRUNT_MALE"), - 5: .same(proto: "CHARACTER_GRUNT_FEMALE"), - 6: .same(proto: "CHARACTER_BUG_GRUNT_FEMALE"), - 7: .same(proto: "CHARACTER_BUG_GRUNT_MALE"), - 8: .same(proto: "CHARACTER_DARKNESS_GRUNT_FEMALE"), - 9: .same(proto: "CHARACTER_DARKNESS_GRUNT_MALE"), - 10: .same(proto: "CHARACTER_DARK_GRUNT_FEMALE"), - 11: .same(proto: "CHARACTER_DARK_GRUNT_MALE"), - 12: .same(proto: "CHARACTER_DRAGON_GRUNT_FEMALE"), - 13: .same(proto: "CHARACTER_DRAGON_GRUNT_MALE"), - 14: .same(proto: "CHARACTER_FAIRY_GRUNT_FEMALE"), - 15: .same(proto: "CHARACTER_FAIRY_GRUNT_MALE"), - 16: .same(proto: "CHARACTER_FIGHTING_GRUNT_FEMALE"), - 17: .same(proto: "CHARACTER_FIGHTING_GRUNT_MALE"), - 18: .same(proto: "CHARACTER_FIRE_GRUNT_FEMALE"), - 19: .same(proto: "CHARACTER_FIRE_GRUNT_MALE"), - 20: .same(proto: "CHARACTER_FLYING_GRUNT_FEMALE"), - 21: .same(proto: "CHARACTER_FLYING_GRUNT_MALE"), - 22: .same(proto: "CHARACTER_GRASS_GRUNT_FEMALE"), - 23: .same(proto: "CHARACTER_GRASS_GRUNT_MALE"), - 24: .same(proto: "CHARACTER_GROUND_GRUNT_FEMALE"), - 25: .same(proto: "CHARACTER_GROUND_GRUNT_MALE"), - 26: .same(proto: "CHARACTER_ICE_GRUNT_FEMALE"), - 27: .same(proto: "CHARACTER_ICE_GRUNT_MALE"), - 28: .same(proto: "CHARACTER_METAL_GRUNT_FEMALE"), - 29: .same(proto: "CHARACTER_METAL_GRUNT_MALE"), - 30: .same(proto: "CHARACTER_NORMAL_GRUNT_FEMALE"), - 31: .same(proto: "CHARACTER_NORMAL_GRUNT_MALE"), - 32: .same(proto: "CHARACTER_POISON_GRUNT_FEMALE"), - 33: .same(proto: "CHARACTER_POISON_GRUNT_MALE"), - 34: .same(proto: "CHARACTER_PSYCHIC_GRUNT_FEMALE"), - 35: .same(proto: "CHARACTER_PSYCHIC_GRUNT_MALE"), - 36: .same(proto: "CHARACTER_ROCK_GRUNT_FEMALE"), - 37: .same(proto: "CHARACTER_ROCK_GRUNT_MALE"), - 38: .same(proto: "CHARACTER_WATER_GRUNT_FEMALE"), - 39: .same(proto: "CHARACTER_WATER_GRUNT_MALE"), - 40: .same(proto: "CHARACTER_PLAYER_TEAM_LEADER"), - 41: .same(proto: "CHARACTER_EXECUTIVE_CLIFF"), - 42: .same(proto: "CHARACTER_EXECUTIVE_ARLO"), - 43: .same(proto: "CHARACTER_EXECUTIVE_SIERRA"), - 44: .same(proto: "CHARACTER_GIOVANNI"), - 45: .same(proto: "CHARACTER_DECOY_GRUNT_MALE"), - 46: .same(proto: "CHARACTER_DECOY_GRUNT_FEMALE"), - 47: .same(proto: "CHARACTER_GHOST_GRUNT_FEMALE"), - 48: .same(proto: "CHARACTER_GHOST_GRUNT_MALE"), - 49: .same(proto: "CHARACTER_ELECTRIC_GRUNT_FEMALE"), - 50: .same(proto: "CHARACTER_ELECTRIC_GRUNT_MALE"), - 51: .same(proto: "CHARACTER_BALLOON_GRUNT_FEMALE"), - 52: .same(proto: "CHARACTER_BALLOON_GRUNT_MALE"), - 53: .same(proto: "CHARACTER_GRUNTB_FEMALE"), - 54: .same(proto: "CHARACTER_GRUNTB_MALE"), - 55: .same(proto: "CHARACTER_BUG_BALLOON_GRUNT_FEMALE"), - 56: .same(proto: "CHARACTER_BUG_BALLOON_GRUNT_MALE"), - 57: .same(proto: "CHARACTER_DARK_BALLOON_GRUNT_FEMALE"), - 58: .same(proto: "CHARACTER_DARK_BALLOON_GRUNT_MALE"), - 59: .same(proto: "CHARACTER_DRAGON_BALLOON_GRUNT_FEMALE"), - 60: .same(proto: "CHARACTER_DRAGON_BALLOON_GRUNT_MALE"), - 61: .same(proto: "CHARACTER_FAIRY_BALLOON_GRUNT_FEMALE"), - 62: .same(proto: "CHARACTER_FAIRY_BALLOON_GRUNT_MALE"), - 63: .same(proto: "CHARACTER_FIGHTING_BALLOON_GRUNT_FEMALE"), - 64: .same(proto: "CHARACTER_FIGHTING_BALLOON_GRUNT_MALE"), - 65: .same(proto: "CHARACTER_FIRE_BALLOON_GRUNT_FEMALE"), - 66: .same(proto: "CHARACTER_FIRE_BALLOON_GRUNT_MALE"), - 67: .same(proto: "CHARACTER_FLYING_BALLOON_GRUNT_FEMALE"), - 68: .same(proto: "CHARACTER_FLYING_BALLOON_GRUNT_MALE"), - 69: .same(proto: "CHARACTER_GRASS_BALLOON_GRUNT_FEMALE"), - 70: .same(proto: "CHARACTER_GRASS_BALLOON_GRUNT_MALE"), - 71: .same(proto: "CHARACTER_GROUND_BALLOON_GRUNT_FEMALE"), - 72: .same(proto: "CHARACTER_GROUND_BALLOON_GRUNT_MALE"), - 73: .same(proto: "CHARACTER_ICE_BALLOON_GRUNT_FEMALE"), - 74: .same(proto: "CHARACTER_ICE_BALLOON_GRUNT_MALE"), - 75: .same(proto: "CHARACTER_METAL_BALLOON_GRUNT_FEMALE"), - 76: .same(proto: "CHARACTER_METAL_BALLOON_GRUNT_MALE"), - 77: .same(proto: "CHARACTER_NORMAL_BALLOON_GRUNT_FEMALE"), - 78: .same(proto: "CHARACTER_NORMAL_BALLOON_GRUNT_MALE"), - 79: .same(proto: "CHARACTER_POISON_BALLOON_GRUNT_FEMALE"), - 80: .same(proto: "CHARACTER_POISON_BALLOON_GRUNT_MALE"), - 81: .same(proto: "CHARACTER_PSYCHIC_BALLOON_GRUNT_FEMALE"), - 82: .same(proto: "CHARACTER_PSYCHIC_BALLOON_GRUNT_MALE"), - 83: .same(proto: "CHARACTER_ROCK_BALLOON_GRUNT_FEMALE"), - 84: .same(proto: "CHARACTER_ROCK_BALLOON_GRUNT_MALE"), - 85: .same(proto: "CHARACTER_WATER_BALLOON_GRUNT_FEMALE"), - 86: .same(proto: "CHARACTER_WATER_BALLOON_GRUNT_MALE"), - 87: .same(proto: "CHARACTER_GHOST_BALLOON_GRUNT_FEMALE"), - 88: .same(proto: "CHARACTER_GHOST_BALLOON_GRUNT_MALE"), - 89: .same(proto: "CHARACTER_ELECTRIC_BALLOON_GRUNT_FEMALE"), - 90: .same(proto: "CHARACTER_ELECTRIC_BALLOON_GRUNT_MALE"), - 91: .same(proto: "CHARACTER_WILLOW"), - 92: .same(proto: "CHARACTER_WILLOWB"), - 93: .same(proto: "CHARACTER_TRAVELER"), - 94: .same(proto: "CHARACTER_EXPLORER"), - 500: .same(proto: "CHARACTER_EVENT_NPC_0"), - 501: .same(proto: "CHARACTER_EVENT_NPC_1"), - 502: .same(proto: "CHARACTER_EVENT_NPC_2"), - 503: .same(proto: "CHARACTER_EVENT_NPC_3"), - 504: .same(proto: "CHARACTER_EVENT_NPC_4"), - 505: .same(proto: "CHARACTER_EVENT_NPC_5"), - 506: .same(proto: "CHARACTER_EVENT_NPC_6"), - 507: .same(proto: "CHARACTER_EVENT_NPC_7"), - 508: .same(proto: "CHARACTER_EVENT_NPC_8"), - 509: .same(proto: "CHARACTER_EVENT_NPC_9"), - 510: .same(proto: "CHARACTER_EVENT_NPC_10"), - 511: .same(proto: "CHARACTER_EVENT_NPC_BLANCHE"), - 512: .same(proto: "CHARACTER_EVENT_NPC_CANDELA"), - 513: .same(proto: "CHARACTER_EVENT_NPC_SPARK"), - 514: .same(proto: "CHARACTER_EVENT_NPC_11"), - 515: .same(proto: "CHARACTER_EVENT_NPC_12"), - 516: .same(proto: "CHARACTER_EVENT_NPC_13"), - 517: .same(proto: "CHARACTER_EVENT_NPC_14"), - 518: .same(proto: "CHARACTER_EVENT_NPC_15"), - 519: .same(proto: "CHARACTER_EVENT_NPC_16"), - 520: .same(proto: "CHARACTER_EVENT_NPC_17"), - 521: .same(proto: "CHARACTER_EVENT_NPC_18"), - 522: .same(proto: "CHARACTER_EVENT_NPC_19"), - 523: .same(proto: "CHARACTER_EVENT_NPC_20"), - ] -} - -extension EnumWrapper.InvasionContext: SwiftProtobuf._ProtoNameProviding { +extension DeepLinkingEnumWrapperProto.DeepLinkingActionName: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKESTOP_INCIDENT"), - 1: .same(proto: "ROCKET_BALLOON"), - 2: .same(proto: "QUEST_REWARD_INCIDENT"), - 3: .same(proto: "CROSS_POKESTOP_INCIDENT"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "OPEN_SHOP"), + 2: .same(proto: "OPEN_NEWS"), + 3: .same(proto: "OPEN_BATTLE_LEAGUE"), + 4: .same(proto: "OPEN_SETTINGS"), + 5: .same(proto: "OPEN_PLAYER_PROFILE"), + 6: .same(proto: "OPEN_BUDDY"), + 7: .same(proto: "OPEN_AVATAR_ITEMS"), + 8: .same(proto: "OPEN_QUEST_LIST"), + 9: .same(proto: "OPEN_POKEMON_INVENTORY"), + 10: .same(proto: "OPEN_NEARBY_POKEMON"), + 11: .same(proto: "OPEN_POKEDEX"), + 12: .same(proto: "OPEN_EVENTS"), + 13: .same(proto: "OPEN_JOURNAL"), + 14: .same(proto: "OPEN_TIPS"), + 15: .same(proto: "OPEN_ITEM_INVENTORY"), + 16: .same(proto: "FILL_REFERRAL_CODE"), + 17: .same(proto: "OPEN_ADDRESS_BOOK"), + 18: .same(proto: "OPEN_EGG_HATCH"), + 19: .same(proto: "OPEN_GYM"), + 20: .same(proto: "OPEN_RAID"), + 21: .same(proto: "USE_DAILY_INCENSE"), + 22: .same(proto: "OPEN_DEFENDING_GYM"), + 23: .same(proto: "OPEN_NEARBY_GYM"), + 24: .same(proto: "REDEEM_PASSCODE"), + 25: .same(proto: "OPEN_CONTEST_REWARD"), + 26: .same(proto: "ADD_FRIEND"), + 27: .same(proto: "OPEN_CAMPFIRE"), + 28: .same(proto: "OPEN_PARTY"), ] } -extension EnumWrapper.CharacterCategory: SwiftProtobuf._ProtoNameProviding { +extension DeepLinkingEnumWrapperProto.NearbyPokemonTab: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "TEAM_LEADER"), - 2: .same(proto: "GRUNT"), - 3: .same(proto: "ARLO"), - 4: .same(proto: "CLIFF"), - 5: .same(proto: "SIERRA"), - 6: .same(proto: "GIOVANNI"), - 7: .same(proto: "GRUNTBF"), - 8: .same(proto: "GRUNTBM"), - 9: .same(proto: "EVENT_NPC"), - 10: .same(proto: "PLAYER_TEAM_LEADER"), + 0: .same(proto: "NEARBY_POKEMON"), + 1: .same(proto: "RAIDS"), + 2: .same(proto: "ROUTES"), ] } -extension EnumWrapper.PokestopStyle: SwiftProtobuf._ProtoNameProviding { +extension DeepLinkingEnumWrapperProto.PlayerProfileTab: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKESTOP_NORMAL"), - 1: .same(proto: "POKESTOP_ROCKET_INVASION"), - 2: .same(proto: "POKESTOP_ROCKET_VICTORY"), - 3: .same(proto: "POKESTOP_CONTEST"), + 0: .same(proto: "PROFILE"), + 1: .same(proto: "FRIENDS"), ] } -extension EnumWrapper.InvasionCharacterExpression: SwiftProtobuf._ProtoNameProviding { +extension DeepLinkingEnumWrapperProto.PokemonInventoryTab: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "EXPRESSION_UNSET"), - 1: .same(proto: "PLACEHOLDER_1"), - 2: .same(proto: "PLACEHOLDER_2"), - 3: .same(proto: "PLACEHOLDER_3"), - 4: .same(proto: "PLACEHOLDER_4"), - 5: .same(proto: "GREETING"), - 6: .same(proto: "CHALLENGE"), - 7: .same(proto: "VICTORY"), - 8: .same(proto: "DEFEAT"), + 0: .same(proto: "COMBAT_PARTY"), + 1: .same(proto: "POKEMON"), + 2: .same(proto: "EGGS"), ] } -extension EnumWrapper.IncidentStartPhase: SwiftProtobuf._ProtoNameProviding { +extension DeepLinkingEnumWrapperProto.QuestListTab: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INCIDENT_START_ON_SPIN_OR_EXIT"), - 1: .same(proto: "INCIDENT_START_ON_SPIN_NOT_EXIT"), - 2: .same(proto: "INCIDENT_START_ON_EXIT_NOT_SPIN"), + 0: .same(proto: "TODAY_VIEW"), + 1: .same(proto: "FIELD_RESEARCH"), + 2: .same(proto: "SPECIAL_RESEARCH"), ] } -extension EquipBadgeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EquipBadgeOutProto" +extension DeepLinkingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeepLinkingSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "equipped"), + 1: .standard(proto: "min_player_level_for_external_link"), + 2: .standard(proto: "min_player_level_for_notification_link"), + 3: .standard(proto: "actions_that_ignore_min_level"), + 4: .standard(proto: "actions_that_execute_before_map_loads"), + 5: .standard(proto: "ios_action_button_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196288,48 +202000,51 @@ extension EquipBadgeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._equipped) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevelForExternalLink) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevelForNotificationLink) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.actionsThatIgnoreMinLevel) }() + case 4: try { try decoder.decodeRepeatedEnumField(value: &self.actionsThatExecuteBeforeMapLoads) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.iosActionButtonEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.minPlayerLevelForExternalLink != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevelForExternalLink, fieldNumber: 1) + } + if self.minPlayerLevelForNotificationLink != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevelForNotificationLink, fieldNumber: 2) + } + if !self.actionsThatIgnoreMinLevel.isEmpty { + try visitor.visitPackedEnumField(value: self.actionsThatIgnoreMinLevel, fieldNumber: 3) + } + if !self.actionsThatExecuteBeforeMapLoads.isEmpty { + try visitor.visitPackedEnumField(value: self.actionsThatExecuteBeforeMapLoads, fieldNumber: 4) + } + if self.iosActionButtonEnabled != false { + try visitor.visitSingularBoolField(value: self.iosActionButtonEnabled, fieldNumber: 5) } - try { if let v = self._equipped { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EquipBadgeOutProto, rhs: EquipBadgeOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._equipped != rhs._equipped {return false} + public static func ==(lhs: DeepLinkingSettingsProto, rhs: DeepLinkingSettingsProto) -> Bool { + if lhs.minPlayerLevelForExternalLink != rhs.minPlayerLevelForExternalLink {return false} + if lhs.minPlayerLevelForNotificationLink != rhs.minPlayerLevelForNotificationLink {return false} + if lhs.actionsThatIgnoreMinLevel != rhs.actionsThatIgnoreMinLevel {return false} + if lhs.actionsThatExecuteBeforeMapLoads != rhs.actionsThatExecuteBeforeMapLoads {return false} + if lhs.iosActionButtonEnabled != rhs.iosActionButtonEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EquipBadgeOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "COOLDOWN_ACTIVE"), - 3: .same(proto: "NOT_QUALIFIED"), - ] -} - -extension EquipBadgeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EquipBadgeProto" +extension DeepLinkingTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeepLinkingTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "badge"), + 1: .standard(proto: "action_name"), + 2: .standard(proto: "link_source"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196338,32 +202053,43 @@ extension EquipBadgeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.badge) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.actionName) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.linkSource) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.badge != .badgeUnset { - try visitor.visitSingularEnumField(value: self.badge, fieldNumber: 1) + if !self.actionName.isEmpty { + try visitor.visitSingularStringField(value: self.actionName, fieldNumber: 1) + } + if self.linkSource != .unknown { + try visitor.visitSingularEnumField(value: self.linkSource, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EquipBadgeProto, rhs: EquipBadgeProto) -> Bool { - if lhs.badge != rhs.badge {return false} + public static func ==(lhs: DeepLinkingTelemetry, rhs: DeepLinkingTelemetry) -> Bool { + if lhs.actionName != rhs.actionName {return false} + if lhs.linkSource != rhs.linkSource {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EquippedBadgeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EquippedBadgeProto" +extension DeepLinkingTelemetry.LinkSource: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "equipped_badge"), - 2: .same(proto: "level"), - 3: .standard(proto: "next_equip_change_allowed_timestamp_ms"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "URL"), + 2: .same(proto: "NOTIFICATION"), + ] +} + +extension DeleteGiftFromInventoryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeleteGiftFromInventoryOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196372,42 +202098,39 @@ extension EquippedBadgeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.equippedBadge) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.level) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.nextEquipChangeAllowedTimestampMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.equippedBadge != .badgeUnset { - try visitor.visitSingularEnumField(value: self.equippedBadge, fieldNumber: 1) - } - if self.level != 0 { - try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 2) - } - if self.nextEquipChangeAllowedTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.nextEquipChangeAllowedTimestampMs, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EquippedBadgeProto, rhs: EquippedBadgeProto) -> Bool { - if lhs.equippedBadge != rhs.equippedBadge {return false} - if lhs.level != rhs.level {return false} - if lhs.nextEquipChangeAllowedTimestampMs != rhs.nextEquipChangeAllowedTimestampMs {return false} + public static func ==(lhs: DeleteGiftFromInventoryOutProto, rhs: DeleteGiftFromInventoryOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EquippedBadgeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EquippedBadgeSettingsProto" +extension DeleteGiftFromInventoryOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_GIFT_DOES_NOT_EXIST"), + ] +} + +extension DeleteGiftFromInventoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeleteGiftFromInventoryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "equip_badge_cooldown_ms"), - 2: .standard(proto: "catch_probability_bonus"), - 3: .standard(proto: "flee_probability_bonus"), + 1: .standard(proto: "giftbox_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196416,43 +202139,30 @@ extension EquippedBadgeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.equipBadgeCooldownMs) }() - case 2: try { try decoder.decodeRepeatedFloatField(value: &self.catchProbabilityBonus) }() - case 3: try { try decoder.decodeRepeatedFloatField(value: &self.fleeProbabilityBonus) }() + case 1: try { try decoder.decodeRepeatedUInt64Field(value: &self.giftboxID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.equipBadgeCooldownMs != 0 { - try visitor.visitSingularInt64Field(value: self.equipBadgeCooldownMs, fieldNumber: 1) - } - if !self.catchProbabilityBonus.isEmpty { - try visitor.visitPackedFloatField(value: self.catchProbabilityBonus, fieldNumber: 2) - } - if !self.fleeProbabilityBonus.isEmpty { - try visitor.visitPackedFloatField(value: self.fleeProbabilityBonus, fieldNumber: 3) + if !self.giftboxID.isEmpty { + try visitor.visitPackedUInt64Field(value: self.giftboxID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EquippedBadgeSettingsProto, rhs: EquippedBadgeSettingsProto) -> Bool { - if lhs.equipBadgeCooldownMs != rhs.equipBadgeCooldownMs {return false} - if lhs.catchProbabilityBonus != rhs.catchProbabilityBonus {return false} - if lhs.fleeProbabilityBonus != rhs.fleeProbabilityBonus {return false} + public static func ==(lhs: DeleteGiftFromInventoryProto, rhs: DeleteGiftFromInventoryProto) -> Bool { + if lhs.giftboxID != rhs.giftboxID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EventBadgeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EventBadgeSettingsProto" +extension DeleteGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeleteGiftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "valid_from_ms"), - 2: .standard(proto: "valid_to_ms"), - 3: .standard(proto: "mutually_exclusive_badges"), - 4: .standard(proto: "automatically_award_badge"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196461,54 +202171,43 @@ extension EventBadgeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.validFromMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.validToMs) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.mutuallyExclusiveBadges) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.automaticallyAwardBadge) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.validFromMs != 0 { - try visitor.visitSingularInt64Field(value: self.validFromMs, fieldNumber: 1) - } - if self.validToMs != 0 { - try visitor.visitSingularInt64Field(value: self.validToMs, fieldNumber: 2) - } - if !self.mutuallyExclusiveBadges.isEmpty { - try visitor.visitPackedEnumField(value: self.mutuallyExclusiveBadges, fieldNumber: 3) - } - if self.automaticallyAwardBadge != false { - try visitor.visitSingularBoolField(value: self.automaticallyAwardBadge, fieldNumber: 4) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EventBadgeSettingsProto, rhs: EventBadgeSettingsProto) -> Bool { - if lhs.validFromMs != rhs.validFromMs {return false} - if lhs.validToMs != rhs.validToMs {return false} - if lhs.mutuallyExclusiveBadges != rhs.mutuallyExclusiveBadges {return false} - if lhs.automaticallyAwardBadge != rhs.automaticallyAwardBadge {return false} + public static func ==(lhs: DeleteGiftOutProto, rhs: DeleteGiftOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EventBannerSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EventBannerSectionProto" +extension DeleteGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "event_icon"), - 2: .standard(proto: "title_text"), - 3: .standard(proto: "body_text"), - 4: .standard(proto: "image_url"), - 5: .standard(proto: "header_image_url"), - 6: .standard(proto: "image_overlay_text"), - 7: .standard(proto: "link_from_image"), - 8: .standard(proto: "image_sub_text"), - 9: .standard(proto: "image_urls"), - 10: .standard(proto: "image_auto_scroll_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_INVALID_PLAYER_ID"), + 4: .same(proto: "ERROR_FRIEND_NOT_FOUND"), + 5: .same(proto: "ERROR_GIFT_DOES_NOT_EXIST"), + 6: .same(proto: "ERROR_FRIEND_UPDATE"), + ] +} + +extension DeleteGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeleteGiftProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .standard(proto: "giftbox_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196517,77 +202216,35 @@ extension EventBannerSectionProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.eventIcon) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.titleText) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.bodyText) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.headerImageURL) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.imageOverlayText) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.linkFromImage) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.imageSubText) }() - case 9: try { try decoder.decodeRepeatedStringField(value: &self.imageUrls) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &self.imageAutoScrollMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularUInt64Field(value: &self.giftboxID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.eventIcon.isEmpty { - try visitor.visitSingularStringField(value: self.eventIcon, fieldNumber: 1) - } - if !self.titleText.isEmpty { - try visitor.visitSingularStringField(value: self.titleText, fieldNumber: 2) - } - if !self.bodyText.isEmpty { - try visitor.visitSingularStringField(value: self.bodyText, fieldNumber: 3) - } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 4) - } - if !self.headerImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.headerImageURL, fieldNumber: 5) - } - if !self.imageOverlayText.isEmpty { - try visitor.visitSingularStringField(value: self.imageOverlayText, fieldNumber: 6) - } - if !self.linkFromImage.isEmpty { - try visitor.visitSingularStringField(value: self.linkFromImage, fieldNumber: 7) - } - if !self.imageSubText.isEmpty { - try visitor.visitSingularStringField(value: self.imageSubText, fieldNumber: 8) - } - if !self.imageUrls.isEmpty { - try visitor.visitRepeatedStringField(value: self.imageUrls, fieldNumber: 9) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if self.imageAutoScrollMs != 0 { - try visitor.visitSingularInt64Field(value: self.imageAutoScrollMs, fieldNumber: 10) + if self.giftboxID != 0 { + try visitor.visitSingularUInt64Field(value: self.giftboxID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EventBannerSectionProto, rhs: EventBannerSectionProto) -> Bool { - if lhs.eventIcon != rhs.eventIcon {return false} - if lhs.titleText != rhs.titleText {return false} - if lhs.bodyText != rhs.bodyText {return false} - if lhs.imageURL != rhs.imageURL {return false} - if lhs.headerImageURL != rhs.headerImageURL {return false} - if lhs.imageOverlayText != rhs.imageOverlayText {return false} - if lhs.linkFromImage != rhs.linkFromImage {return false} - if lhs.imageSubText != rhs.imageSubText {return false} - if lhs.imageUrls != rhs.imageUrls {return false} - if lhs.imageAutoScrollMs != rhs.imageAutoScrollMs {return false} + public static func ==(lhs: DeleteGiftProto, rhs: DeleteGiftProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.giftboxID != rhs.giftboxID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EventInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EventInfoProto" +extension DeletePokemonTagOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeletePokemonTagOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "image_url"), - 2: .standard(proto: "icon_url"), - 3: .standard(proto: "name_key"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196596,177 +202253,72 @@ extension EventInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.iconURL) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.nameKey) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 1) - } - if !self.iconURL.isEmpty { - try visitor.visitSingularStringField(value: self.iconURL, fieldNumber: 2) - } - if !self.nameKey.isEmpty { - try visitor.visitSingularStringField(value: self.nameKey, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EventInfoProto, rhs: EventInfoProto) -> Bool { - if lhs.imageURL != rhs.imageURL {return false} - if lhs.iconURL != rhs.iconURL {return false} - if lhs.nameKey != rhs.nameKey {return false} + public static func ==(lhs: DeletePokemonTagOutProto, rhs: DeletePokemonTagOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EventSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EventSectionProto" +extension DeletePokemonTagOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 3: .standard(proto: "local_time_1"), - 4: .standard(proto: "ob_string_2"), - 5: .standard(proto: "bonus_box"), - 6: .standard(proto: "local_time_2"), - 7: .standard(proto: "ob_string_3"), - 8: .standard(proto: "ob_string_4"), - 9: .standard(proto: "ob_string_5"), - 10: .standard(proto: "time_stamp_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), + 3: .same(proto: "TAG_DOES_NOT_EXIST"), ] +} - fileprivate class _StorageClass { - var _obString1: String = String() - var _localTime1: GetLocalTimeOutProto.LocalTimeProto? = nil - var _obString2: String = String() - var _bonusBox: [BonusBoxProto] = [] - var _localTime2: GetLocalTimeOutProto.LocalTimeProto? = nil - var _obString3: String = String() - var _obString4: String = String() - var _obString5: String = String() - var _timeStampMs: Int64 = 0 - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _obString1 = source._obString1 - _localTime1 = source._localTime1 - _obString2 = source._obString2 - _bonusBox = source._bonusBox - _localTime2 = source._localTime2 - _obString3 = source._obString3 - _obString4 = source._obString4 - _obString5 = source._obString5 - _timeStampMs = source._timeStampMs - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } +extension DeletePokemonTagProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeletePokemonTagProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "tag_id"), + ] public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._obString1) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._localTime1) }() - case 4: try { try decoder.decodeSingularStringField(value: &_storage._obString2) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._bonusBox) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._localTime2) }() - case 7: try { try decoder.decodeSingularStringField(value: &_storage._obString3) }() - case 8: try { try decoder.decodeSingularStringField(value: &_storage._obString4) }() - case 9: try { try decoder.decodeSingularStringField(value: &_storage._obString5) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._timeStampMs) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularUInt64Field(value: &self.tagID) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._obString1.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString1, fieldNumber: 1) - } - try { if let v = _storage._localTime1 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if !_storage._obString2.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString2, fieldNumber: 4) - } - if !_storage._bonusBox.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._bonusBox, fieldNumber: 5) - } - try { if let v = _storage._localTime2 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - if !_storage._obString3.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString3, fieldNumber: 7) - } - if !_storage._obString4.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString4, fieldNumber: 8) - } - if !_storage._obString5.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString5, fieldNumber: 9) - } - if _storage._timeStampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._timeStampMs, fieldNumber: 10) - } + if self.tagID != 0 { + try visitor.visitSingularUInt64Field(value: self.tagID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EventSectionProto, rhs: EventSectionProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._obString1 != rhs_storage._obString1 {return false} - if _storage._localTime1 != rhs_storage._localTime1 {return false} - if _storage._obString2 != rhs_storage._obString2 {return false} - if _storage._bonusBox != rhs_storage._bonusBox {return false} - if _storage._localTime2 != rhs_storage._localTime2 {return false} - if _storage._obString3 != rhs_storage._obString3 {return false} - if _storage._obString4 != rhs_storage._obString4 {return false} - if _storage._obString5 != rhs_storage._obString5 {return false} - if _storage._timeStampMs != rhs_storage._timeStampMs {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: DeletePokemonTagProto, rhs: DeletePokemonTagProto) -> Bool { + if lhs.tagID != rhs.tagID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EventSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EventSettingsProto" +extension DeletePostcardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeletePostcardOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "condolence_ribbon_country"), - 2: .standard(proto: "enable_event_link"), - 3: .standard(proto: "enable_event_link_for_children"), - 4: .standard(proto: "event_webtoken_server_url"), - 5: .standard(proto: "enable_event_lnt"), - 6: .standard(proto: "event_lnt_url"), + 1: .same(proto: "result"), + 2: .same(proto: "postcard"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196775,57 +202327,49 @@ extension EventSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.condolenceRibbonCountry) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.enableEventLink) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.enableEventLinkForChildren) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.eventWebtokenServerURL) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.enableEventLnt) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.eventLntURL) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._postcard) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.condolenceRibbonCountry.isEmpty { - try visitor.visitRepeatedStringField(value: self.condolenceRibbonCountry, fieldNumber: 1) - } - if self.enableEventLink != false { - try visitor.visitSingularBoolField(value: self.enableEventLink, fieldNumber: 2) - } - if self.enableEventLinkForChildren != false { - try visitor.visitSingularBoolField(value: self.enableEventLinkForChildren, fieldNumber: 3) - } - if !self.eventWebtokenServerURL.isEmpty { - try visitor.visitSingularStringField(value: self.eventWebtokenServerURL, fieldNumber: 4) - } - if self.enableEventLnt != false { - try visitor.visitSingularBoolField(value: self.enableEventLnt, fieldNumber: 5) - } - if !self.eventLntURL.isEmpty { - try visitor.visitSingularStringField(value: self.eventLntURL, fieldNumber: 6) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._postcard { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EventSettingsProto, rhs: EventSettingsProto) -> Bool { - if lhs.condolenceRibbonCountry != rhs.condolenceRibbonCountry {return false} - if lhs.enableEventLink != rhs.enableEventLink {return false} - if lhs.enableEventLinkForChildren != rhs.enableEventLinkForChildren {return false} - if lhs.eventWebtokenServerURL != rhs.eventWebtokenServerURL {return false} - if lhs.enableEventLnt != rhs.enableEventLnt {return false} - if lhs.eventLntURL != rhs.eventLntURL {return false} + public static func ==(lhs: DeletePostcardOutProto, rhs: DeletePostcardOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._postcard != rhs._postcard {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EventTicketActiveTimeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EventTicketActiveTimeProto" +extension DeletePostcardOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "event_ticket"), - 2: .standard(proto: "event_start_ms"), - 3: .standard(proto: "event_end_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_POSTCARD_DOES_NOT_EXIST"), + 3: .same(proto: "ERROR_POSTCARD_FAVORITED"), + 4: .same(proto: "ERROR_NOT_ENABLED"), + ] +} + +extension DeletePostcardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeletePostcardProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "postcard_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196834,42 +202378,31 @@ extension EventTicketActiveTimeProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.eventTicket) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.eventStartMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.eventEndMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.postcardID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.eventTicket != .unknown { - try visitor.visitSingularEnumField(value: self.eventTicket, fieldNumber: 1) - } - if self.eventStartMs != 0 { - try visitor.visitSingularInt64Field(value: self.eventStartMs, fieldNumber: 2) - } - if self.eventEndMs != 0 { - try visitor.visitSingularInt64Field(value: self.eventEndMs, fieldNumber: 3) + if !self.postcardID.isEmpty { + try visitor.visitSingularStringField(value: self.postcardID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EventTicketActiveTimeProto, rhs: EventTicketActiveTimeProto) -> Bool { - if lhs.eventTicket != rhs.eventTicket {return false} - if lhs.eventStartMs != rhs.eventStartMs {return false} - if lhs.eventEndMs != rhs.eventEndMs {return false} + public static func ==(lhs: DeletePostcardProto, rhs: DeletePostcardProto) -> Bool { + if lhs.postcardID != rhs.postcardID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolePreviewSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolePreviewSettings" +extension DeletePostcardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeletePostcardsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_evolution_preview"), - 2: .standard(proto: "enable_mega_evolution_preview"), - 3: .standard(proto: "ob_bool"), + 1: .same(proto: "result"), + 2: .same(proto: "postcards"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -196878,273 +202411,119 @@ extension EvolePreviewSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableEvolutionPreview) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.enableMegaEvolutionPreview) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.postcards) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableEvolutionPreview != false { - try visitor.visitSingularBoolField(value: self.enableEvolutionPreview, fieldNumber: 1) - } - if self.enableMegaEvolutionPreview != false { - try visitor.visitSingularBoolField(value: self.enableMegaEvolutionPreview, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 3) + if !self.postcards.isEmpty { + try visitor.visitRepeatedMessageField(value: self.postcards, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolePreviewSettings, rhs: EvolePreviewSettings) -> Bool { - if lhs.enableEvolutionPreview != rhs.enableEvolutionPreview {return false} - if lhs.enableMegaEvolutionPreview != rhs.enableMegaEvolutionPreview {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: DeletePostcardsOutProto, rhs: DeletePostcardsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.postcards != rhs.postcards {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolutionBranchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolutionBranchProto" +extension DeletePostcardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "evolution"), - 2: .standard(proto: "evolution_item_requirement"), - 3: .standard(proto: "candy_cost"), - 4: .standard(proto: "km_buddy_distance_requirement"), - 5: .same(proto: "form"), - 6: .standard(proto: "gender_requirement"), - 8: .standard(proto: "lure_item_requirement"), - 9: .standard(proto: "must_be_buddy"), - 10: .standard(proto: "only_daytime"), - 11: .standard(proto: "only_nighttime"), - 12: .same(proto: "priority"), - 13: .standard(proto: "no_candy_cost_via_trade"), - 14: .standard(proto: "temporary_evolution"), - 15: .standard(proto: "temporary_evolution_energy_cost"), - 16: .standard(proto: "temporary_evolution_energy_cost_subsequent"), - 17: .standard(proto: "quest_display"), - 18: .standard(proto: "only_upside_down"), - 19: .standard(proto: "purification_evolution_candy_cost"), - 20: .standard(proto: "ob_bool_1"), - 21: .standard(proto: "ob_bool_2"), - 22: .standard(proto: "ob_int32_1"), - 23: .same(proto: "move"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_POSTCARD_DOES_NOT_EXIST"), + 3: .same(proto: "ERROR_POSTCARD_FAVORITED"), + 4: .same(proto: "ERROR_NOT_ENABLED"), ] +} - fileprivate class _StorageClass { - var _evolution: HoloPokemonId = .missingno - var _evolutionItemRequirement: Item = .unknown - var _candyCost: Int32 = 0 - var _kmBuddyDistanceRequirement: Float = 0 - var _form: PokemonDisplayProto.Form = .unset - var _genderRequirement: PokemonDisplayProto.Gender = .unset - var _lureItemRequirement: Item = .unknown - var _mustBeBuddy: Bool = false - var _onlyDaytime: Bool = false - var _onlyNighttime: Bool = false - var _priority: Int32 = 0 - var _noCandyCostViaTrade: Bool = false - var _temporaryEvolution: HoloTemporaryEvolutionId = .tempEvolutionUnset - var _temporaryEvolutionEnergyCost: Int32 = 0 - var _temporaryEvolutionEnergyCostSubsequent: Int32 = 0 - var _questDisplay: [EvolutionQuestInfoProto] = [] - var _onlyUpsideDown: Bool = false - var _purificationEvolutionCandyCost: Int32 = 0 - var _obBool1: Bool = false - var _obBool2: Bool = false - var _obInt321: Int32 = 0 - var _move: HoloPokemonMove = .moveUnset - - static let defaultInstance = _StorageClass() - - private init() {} +extension DeletePostcardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeletePostcardsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "postcard_ids"), + ] - init(copying source: _StorageClass) { - _evolution = source._evolution - _evolutionItemRequirement = source._evolutionItemRequirement - _candyCost = source._candyCost - _kmBuddyDistanceRequirement = source._kmBuddyDistanceRequirement - _form = source._form - _genderRequirement = source._genderRequirement - _lureItemRequirement = source._lureItemRequirement - _mustBeBuddy = source._mustBeBuddy - _onlyDaytime = source._onlyDaytime - _onlyNighttime = source._onlyNighttime - _priority = source._priority - _noCandyCostViaTrade = source._noCandyCostViaTrade - _temporaryEvolution = source._temporaryEvolution - _temporaryEvolutionEnergyCost = source._temporaryEvolutionEnergyCost - _temporaryEvolutionEnergyCostSubsequent = source._temporaryEvolutionEnergyCostSubsequent - _questDisplay = source._questDisplay - _onlyUpsideDown = source._onlyUpsideDown - _purificationEvolutionCandyCost = source._purificationEvolutionCandyCost - _obBool1 = source._obBool1 - _obBool2 = source._obBool2 - _obInt321 = source._obInt321 - _move = source._move + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.postcardIds) }() + default: break + } } } - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + public func traverse(visitor: inout V) throws { + if !self.postcardIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.postcardIds, fieldNumber: 1) } - return _storage + try unknownFields.traverse(visitor: &visitor) } + public static func ==(lhs: DeletePostcardsProto, rhs: DeletePostcardsProto) -> Bool { + if lhs.postcardIds != rhs.postcardIds {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension DeleteRouteDraftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeleteRouteDraftOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._evolution) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._evolutionItemRequirement) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._candyCost) }() - case 4: try { try decoder.decodeSingularFloatField(value: &_storage._kmBuddyDistanceRequirement) }() - case 5: try { try decoder.decodeSingularEnumField(value: &_storage._form) }() - case 6: try { try decoder.decodeSingularEnumField(value: &_storage._genderRequirement) }() - case 8: try { try decoder.decodeSingularEnumField(value: &_storage._lureItemRequirement) }() - case 9: try { try decoder.decodeSingularBoolField(value: &_storage._mustBeBuddy) }() - case 10: try { try decoder.decodeSingularBoolField(value: &_storage._onlyDaytime) }() - case 11: try { try decoder.decodeSingularBoolField(value: &_storage._onlyNighttime) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._priority) }() - case 13: try { try decoder.decodeSingularBoolField(value: &_storage._noCandyCostViaTrade) }() - case 14: try { try decoder.decodeSingularEnumField(value: &_storage._temporaryEvolution) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._temporaryEvolutionEnergyCost) }() - case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._temporaryEvolutionEnergyCostSubsequent) }() - case 17: try { try decoder.decodeRepeatedMessageField(value: &_storage._questDisplay) }() - case 18: try { try decoder.decodeSingularBoolField(value: &_storage._onlyUpsideDown) }() - case 19: try { try decoder.decodeSingularInt32Field(value: &_storage._purificationEvolutionCandyCost) }() - case 20: try { try decoder.decodeSingularBoolField(value: &_storage._obBool1) }() - case 21: try { try decoder.decodeSingularBoolField(value: &_storage._obBool2) }() - case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 23: try { try decoder.decodeSingularEnumField(value: &_storage._move) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._evolution != .missingno { - try visitor.visitSingularEnumField(value: _storage._evolution, fieldNumber: 1) - } - if _storage._evolutionItemRequirement != .unknown { - try visitor.visitSingularEnumField(value: _storage._evolutionItemRequirement, fieldNumber: 2) - } - if _storage._candyCost != 0 { - try visitor.visitSingularInt32Field(value: _storage._candyCost, fieldNumber: 3) - } - if _storage._kmBuddyDistanceRequirement != 0 { - try visitor.visitSingularFloatField(value: _storage._kmBuddyDistanceRequirement, fieldNumber: 4) - } - if _storage._form != .unset { - try visitor.visitSingularEnumField(value: _storage._form, fieldNumber: 5) - } - if _storage._genderRequirement != .unset { - try visitor.visitSingularEnumField(value: _storage._genderRequirement, fieldNumber: 6) - } - if _storage._lureItemRequirement != .unknown { - try visitor.visitSingularEnumField(value: _storage._lureItemRequirement, fieldNumber: 8) - } - if _storage._mustBeBuddy != false { - try visitor.visitSingularBoolField(value: _storage._mustBeBuddy, fieldNumber: 9) - } - if _storage._onlyDaytime != false { - try visitor.visitSingularBoolField(value: _storage._onlyDaytime, fieldNumber: 10) - } - if _storage._onlyNighttime != false { - try visitor.visitSingularBoolField(value: _storage._onlyNighttime, fieldNumber: 11) - } - if _storage._priority != 0 { - try visitor.visitSingularInt32Field(value: _storage._priority, fieldNumber: 12) - } - if _storage._noCandyCostViaTrade != false { - try visitor.visitSingularBoolField(value: _storage._noCandyCostViaTrade, fieldNumber: 13) - } - if _storage._temporaryEvolution != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: _storage._temporaryEvolution, fieldNumber: 14) - } - if _storage._temporaryEvolutionEnergyCost != 0 { - try visitor.visitSingularInt32Field(value: _storage._temporaryEvolutionEnergyCost, fieldNumber: 15) - } - if _storage._temporaryEvolutionEnergyCostSubsequent != 0 { - try visitor.visitSingularInt32Field(value: _storage._temporaryEvolutionEnergyCostSubsequent, fieldNumber: 16) - } - if !_storage._questDisplay.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._questDisplay, fieldNumber: 17) - } - if _storage._onlyUpsideDown != false { - try visitor.visitSingularBoolField(value: _storage._onlyUpsideDown, fieldNumber: 18) - } - if _storage._purificationEvolutionCandyCost != 0 { - try visitor.visitSingularInt32Field(value: _storage._purificationEvolutionCandyCost, fieldNumber: 19) - } - if _storage._obBool1 != false { - try visitor.visitSingularBoolField(value: _storage._obBool1, fieldNumber: 20) - } - if _storage._obBool2 != false { - try visitor.visitSingularBoolField(value: _storage._obBool2, fieldNumber: 21) - } - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 22) - } - if _storage._move != .moveUnset { - try visitor.visitSingularEnumField(value: _storage._move, fieldNumber: 23) - } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolutionBranchProto, rhs: EvolutionBranchProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._evolution != rhs_storage._evolution {return false} - if _storage._evolutionItemRequirement != rhs_storage._evolutionItemRequirement {return false} - if _storage._candyCost != rhs_storage._candyCost {return false} - if _storage._kmBuddyDistanceRequirement != rhs_storage._kmBuddyDistanceRequirement {return false} - if _storage._form != rhs_storage._form {return false} - if _storage._genderRequirement != rhs_storage._genderRequirement {return false} - if _storage._lureItemRequirement != rhs_storage._lureItemRequirement {return false} - if _storage._mustBeBuddy != rhs_storage._mustBeBuddy {return false} - if _storage._onlyDaytime != rhs_storage._onlyDaytime {return false} - if _storage._onlyNighttime != rhs_storage._onlyNighttime {return false} - if _storage._priority != rhs_storage._priority {return false} - if _storage._noCandyCostViaTrade != rhs_storage._noCandyCostViaTrade {return false} - if _storage._temporaryEvolution != rhs_storage._temporaryEvolution {return false} - if _storage._temporaryEvolutionEnergyCost != rhs_storage._temporaryEvolutionEnergyCost {return false} - if _storage._temporaryEvolutionEnergyCostSubsequent != rhs_storage._temporaryEvolutionEnergyCostSubsequent {return false} - if _storage._questDisplay != rhs_storage._questDisplay {return false} - if _storage._onlyUpsideDown != rhs_storage._onlyUpsideDown {return false} - if _storage._purificationEvolutionCandyCost != rhs_storage._purificationEvolutionCandyCost {return false} - if _storage._obBool1 != rhs_storage._obBool1 {return false} - if _storage._obBool2 != rhs_storage._obBool2 {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._move != rhs_storage._move {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: DeleteRouteDraftOutProto, rhs: DeleteRouteDraftOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolutionChainDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolutionChainDataProto" +extension DeleteRouteDraftOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + -1: .same(proto: "SUCCESS_ROUTE_NOT_FOUND"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 3: .same(proto: "ERROR_UNKNOWN"), + 4: .same(proto: "ERROR_ROUTE_NOT_EDITABLE"), + ] +} + +extension DeleteRouteDraftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeleteRouteDraftProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokedex_header"), - 2: .standard(proto: "evolution_chain_entry"), + 1: .standard(proto: "route_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197153,36 +202532,34 @@ extension EvolutionChainDataProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.pokedexHeader) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.evolutionChainEntry) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.routeID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.pokedexHeader.isEmpty { - try visitor.visitSingularStringField(value: self.pokedexHeader, fieldNumber: 1) - } - if !self.evolutionChainEntry.isEmpty { - try visitor.visitRepeatedMessageField(value: self.evolutionChainEntry, fieldNumber: 2) + if !self.routeID.isEmpty { + try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolutionChainDataProto, rhs: EvolutionChainDataProto) -> Bool { - if lhs.pokedexHeader != rhs.pokedexHeader {return false} - if lhs.evolutionChainEntry != rhs.evolutionChainEntry {return false} + public static func ==(lhs: DeleteRouteDraftProto, rhs: DeleteRouteDraftProto) -> Bool { + if lhs.routeID != rhs.routeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolutionChainDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolutionChainDisplaySettingsProto" +extension DeployPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeployPokemonTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .same(proto: "chain"), + 1: .same(proto: "status"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "gym_id"), + 4: .same(proto: "team"), + 5: .standard(proto: "defender_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197191,38 +202568,57 @@ extension EvolutionChainDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemon) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.chain) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.team) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.defenderCount) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemon != .missingno { - try visitor.visitSingularEnumField(value: self.pokemon, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != 0 { + try visitor.visitSingularInt32Field(value: self.status, fieldNumber: 1) } - if !self.chain.isEmpty { - try visitor.visitRepeatedMessageField(value: self.chain, fieldNumber: 2) + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 3) + } + if self.team != .unset { + try visitor.visitSingularEnumField(value: self.team, fieldNumber: 4) + } + if self.defenderCount != 0 { + try visitor.visitSingularInt32Field(value: self.defenderCount, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolutionChainDisplaySettingsProto, rhs: EvolutionChainDisplaySettingsProto) -> Bool { - if lhs.pokemon != rhs.pokemon {return false} - if lhs.chain != rhs.chain {return false} + public static func ==(lhs: DeployPokemonTelemetry, rhs: DeployPokemonTelemetry) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs.gymID != rhs.gymID {return false} + if lhs.team != rhs.team {return false} + if lhs.defenderCount != rhs.defenderCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolutionChainEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolutionChainEntryProto" +extension DeploymentTotalsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeploymentTotalsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .standard(proto: "mega_evolution"), - 3: .same(proto: "form"), - 4: .same(proto: "gender"), + 1: .standard(proto: "times_fed"), + 2: .standard(proto: "battles_won"), + 3: .standard(proto: "battles_lost"), + 4: .standard(proto: "deployment_duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197230,48 +202626,51 @@ extension EvolutionChainEntryProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // The use of inline closures is to circumvent an issue where the compiler // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemon) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.megaEvolution) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.form) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.gender) }() + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.timesFed) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.battlesWon) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.battlesLost) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.deploymentDurationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemon != .missingno { - try visitor.visitSingularEnumField(value: self.pokemon, fieldNumber: 1) + if self.timesFed != 0 { + try visitor.visitSingularInt32Field(value: self.timesFed, fieldNumber: 1) } - if self.megaEvolution != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: self.megaEvolution, fieldNumber: 2) + if self.battlesWon != 0 { + try visitor.visitSingularInt32Field(value: self.battlesWon, fieldNumber: 2) } - if self.form != .unset { - try visitor.visitSingularEnumField(value: self.form, fieldNumber: 3) + if self.battlesLost != 0 { + try visitor.visitSingularInt32Field(value: self.battlesLost, fieldNumber: 3) } - if self.gender != .unset { - try visitor.visitSingularEnumField(value: self.gender, fieldNumber: 4) + if self.deploymentDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.deploymentDurationMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolutionChainEntryProto, rhs: EvolutionChainEntryProto) -> Bool { - if lhs.pokemon != rhs.pokemon {return false} - if lhs.megaEvolution != rhs.megaEvolution {return false} - if lhs.form != rhs.form {return false} - if lhs.gender != rhs.gender {return false} + public static func ==(lhs: DeploymentTotalsProto, rhs: DeploymentTotalsProto) -> Bool { + if lhs.timesFed != rhs.timesFed {return false} + if lhs.battlesWon != rhs.battlesWon {return false} + if lhs.battlesLost != rhs.battlesLost {return false} + if lhs.deploymentDurationMs != rhs.deploymentDurationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolutionQuestInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolutionQuestInfoProto" +extension DescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DescriptorProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "quest_requirement_template_id"), - 2: .same(proto: "description"), - 3: .same(proto: "target"), + 1: .same(proto: "name"), + 2: .same(proto: "field"), + 3: .standard(proto: "nested_type"), + 4: .standard(proto: "enum_type"), + 5: .standard(proto: "oneof_decl"), + 6: .same(proto: "options"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197280,40 +202679,60 @@ extension EvolutionQuestInfoProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.questRequirementTemplateID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.target) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.field) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.nestedType) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.enumType) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.oneofDecl) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._options) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.questRequirementTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.questRequirementTemplateID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 2) + if !self.field.isEmpty { + try visitor.visitRepeatedMessageField(value: self.field, fieldNumber: 2) } - if self.target != 0 { - try visitor.visitSingularInt32Field(value: self.target, fieldNumber: 3) + if !self.nestedType.isEmpty { + try visitor.visitRepeatedMessageField(value: self.nestedType, fieldNumber: 3) + } + if !self.enumType.isEmpty { + try visitor.visitRepeatedMessageField(value: self.enumType, fieldNumber: 4) } + if !self.oneofDecl.isEmpty { + try visitor.visitRepeatedMessageField(value: self.oneofDecl, fieldNumber: 5) + } + try { if let v = self._options { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolutionQuestInfoProto, rhs: EvolutionQuestInfoProto) -> Bool { - if lhs.questRequirementTemplateID != rhs.questRequirementTemplateID {return false} - if lhs.description_p != rhs.description_p {return false} - if lhs.target != rhs.target {return false} + public static func ==(lhs: DescriptorProto, rhs: DescriptorProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.field != rhs.field {return false} + if lhs.nestedType != rhs.nestedType {return false} + if lhs.enumType != rhs.enumType {return false} + if lhs.oneofDecl != rhs.oneofDecl {return false} + if lhs._options != rhs._options {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolutionV2SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolutionV2SettingsProto" +extension DescriptorProto.ExtensionRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = DescriptorProto.protoMessageName + ".ExtensionRange" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_enabled"), + 1: .same(proto: "start"), + 2: .same(proto: "end"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197322,30 +202741,36 @@ extension EvolutionV2SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isEnabled) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.start) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.end) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isEnabled != false { - try visitor.visitSingularBoolField(value: self.isEnabled, fieldNumber: 1) + if self.start != 0 { + try visitor.visitSingularInt32Field(value: self.start, fieldNumber: 1) + } + if self.end != 0 { + try visitor.visitSingularInt32Field(value: self.end, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolutionV2SettingsProto, rhs: EvolutionV2SettingsProto) -> Bool { - if lhs.isEnabled != rhs.isEnabled {return false} + public static func ==(lhs: DescriptorProto.ExtensionRange, rhs: DescriptorProto.ExtensionRange) -> Bool { + if lhs.start != rhs.start {return false} + if lhs.end != rhs.end {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolveIntoPokemonQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolveIntoPokemonQuestProto" +extension DescriptorProto.ReservedRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = DescriptorProto.protoMessageName + ".ReservedRange" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "unique_pokemon_id"), + 1: .same(proto: "start"), + 2: .same(proto: "end"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197354,34 +202779,35 @@ extension EvolveIntoPokemonQuestProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.uniquePokemonID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.start) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.end) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.uniquePokemonID.isEmpty { - try visitor.visitPackedEnumField(value: self.uniquePokemonID, fieldNumber: 1) + if self.start != 0 { + try visitor.visitSingularInt32Field(value: self.start, fieldNumber: 1) + } + if self.end != 0 { + try visitor.visitSingularInt32Field(value: self.end, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolveIntoPokemonQuestProto, rhs: EvolveIntoPokemonQuestProto) -> Bool { - if lhs.uniquePokemonID != rhs.uniquePokemonID {return false} + public static func ==(lhs: DescriptorProto.ReservedRange, rhs: DescriptorProto.ReservedRange) -> Bool { + if lhs.start != rhs.start {return false} + if lhs.end != rhs.end {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolvePokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolvePokemonOutProto" +extension DeviceOSTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeviceOSTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "evolved_pokemon"), - 3: .standard(proto: "exp_awarded"), - 4: .standard(proto: "candy_awarded"), - 5: .standard(proto: "ob_mega_evole_pokemon"), + 1: .same(proto: "architecture"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197390,72 +202816,40 @@ extension EvolvePokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._evolvedPokemon) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.expAwarded) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.candyAwarded) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._obMegaEvolePokemon) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.architecture) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._evolvedPokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.expAwarded != 0 { - try visitor.visitSingularInt32Field(value: self.expAwarded, fieldNumber: 3) - } - if self.candyAwarded != 0 { - try visitor.visitSingularInt32Field(value: self.candyAwarded, fieldNumber: 4) + if self.architecture != .unset { + try visitor.visitSingularEnumField(value: self.architecture, fieldNumber: 1) } - try { if let v = self._obMegaEvolePokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolvePokemonOutProto, rhs: EvolvePokemonOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._evolvedPokemon != rhs._evolvedPokemon {return false} - if lhs.expAwarded != rhs.expAwarded {return false} - if lhs.candyAwarded != rhs.candyAwarded {return false} - if lhs._obMegaEvolePokemon != rhs._obMegaEvolePokemon {return false} + public static func ==(lhs: DeviceOSTelemetry, rhs: DeviceOSTelemetry) -> Bool { + if lhs.architecture != rhs.architecture {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolvePokemonOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension DeviceOSTelemetry.OSArchitecture: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILED_POKEMON_MISSING"), - 3: .same(proto: "FAILED_INSUFFICIENT_RESOURCES"), - 4: .same(proto: "FAILED_POKEMON_CANNOT_EVOLVE"), - 5: .same(proto: "FAILED_POKEMON_IS_DEPLOYED"), - 6: .same(proto: "FAILED_INVALID_ITEM_REQUIREMENT"), + 1: .same(proto: "arch32_bit"), + 2: .same(proto: "arch64_bit"), ] } -extension EvolvePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolvePokemonProto" +extension DeviceServiceToggleTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeviceServiceToggleTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "evolution_item_requirement"), - 3: .standard(proto: "target_pokemon_id"), - 4: .standard(proto: "target_pokemon_form"), - 5: .standard(proto: "use_special"), - 6: .standard(proto: "ob_mega_evole_pokemon"), - 7: .standard(proto: "ob_evole_field"), + 1: .standard(proto: "device_service_telemetry_id"), + 2: .standard(proto: "was_enabled"), + 3: .standard(proto: "was_subsequent"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197464,65 +202858,46 @@ extension EvolvePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.evolutionItemRequirement) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.targetPokemonID) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.targetPokemonForm) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.useSpecial) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.obMegaEvolePokemon) }() - case 7: try { try decoder.decodeSingularMessageField(value: &self._obEvoleField) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.deviceServiceTelemetryID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.wasEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.wasSubsequent) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) - } - if self.evolutionItemRequirement != .unknown { - try visitor.visitSingularEnumField(value: self.evolutionItemRequirement, fieldNumber: 2) - } - if self.targetPokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.targetPokemonID, fieldNumber: 3) - } - if self.targetPokemonForm != .unset { - try visitor.visitSingularEnumField(value: self.targetPokemonForm, fieldNumber: 4) + if self.deviceServiceTelemetryID != .undefinedDeviceService { + try visitor.visitSingularEnumField(value: self.deviceServiceTelemetryID, fieldNumber: 1) } - if self.useSpecial != false { - try visitor.visitSingularBoolField(value: self.useSpecial, fieldNumber: 5) + if self.wasEnabled != false { + try visitor.visitSingularBoolField(value: self.wasEnabled, fieldNumber: 2) } - if self.obMegaEvolePokemon != false { - try visitor.visitSingularBoolField(value: self.obMegaEvolePokemon, fieldNumber: 6) + if self.wasSubsequent != false { + try visitor.visitSingularBoolField(value: self.wasSubsequent, fieldNumber: 3) } - try { if let v = self._obEvoleField { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolvePokemonProto, rhs: EvolvePokemonProto) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.evolutionItemRequirement != rhs.evolutionItemRequirement {return false} - if lhs.targetPokemonID != rhs.targetPokemonID {return false} - if lhs.targetPokemonForm != rhs.targetPokemonForm {return false} - if lhs.useSpecial != rhs.useSpecial {return false} - if lhs.obMegaEvolePokemon != rhs.obMegaEvolePokemon {return false} - if lhs._obEvoleField != rhs._obEvoleField {return false} + public static func ==(lhs: DeviceServiceToggleTelemetry, rhs: DeviceServiceToggleTelemetry) -> Bool { + if lhs.deviceServiceTelemetryID != rhs.deviceServiceTelemetryID {return false} + if lhs.wasEnabled != rhs.wasEnabled {return false} + if lhs.wasSubsequent != rhs.wasSubsequent {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension EvolvePokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".EvolvePokemonTelemetry" +extension DeviceSpecificationsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DeviceSpecificationsTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .standard(proto: "evolved_pokemon"), + 1: .standard(proto: "device_width"), + 2: .standard(proto: "device_height"), + 3: .standard(proto: "camera_width"), + 4: .standard(proto: "camera_height"), + 5: .standard(proto: "camera_focal_length_fx"), + 6: .standard(proto: "camera_focal_length_fy"), + 7: .standard(proto: "camera_refresh_rate"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197531,40 +202906,61 @@ extension EvolvePokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._evolvedPokemon) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.deviceWidth) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.deviceHeight) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.cameraWidth) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.cameraHeight) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.cameraFocalLengthFx) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.cameraFocalLengthFy) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.cameraRefreshRate) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._evolvedPokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() + if self.deviceWidth != 0 { + try visitor.visitSingularInt32Field(value: self.deviceWidth, fieldNumber: 1) + } + if self.deviceHeight != 0 { + try visitor.visitSingularInt32Field(value: self.deviceHeight, fieldNumber: 2) + } + if self.cameraWidth != 0 { + try visitor.visitSingularInt32Field(value: self.cameraWidth, fieldNumber: 3) + } + if self.cameraHeight != 0 { + try visitor.visitSingularInt32Field(value: self.cameraHeight, fieldNumber: 4) + } + if self.cameraFocalLengthFx != 0 { + try visitor.visitSingularFloatField(value: self.cameraFocalLengthFx, fieldNumber: 5) + } + if self.cameraFocalLengthFy != 0 { + try visitor.visitSingularFloatField(value: self.cameraFocalLengthFy, fieldNumber: 6) + } + if self.cameraRefreshRate != 0 { + try visitor.visitSingularInt32Field(value: self.cameraRefreshRate, fieldNumber: 7) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: EvolvePokemonTelemetry, rhs: EvolvePokemonTelemetry) -> Bool { - if lhs._pokemon != rhs._pokemon {return false} - if lhs._evolvedPokemon != rhs._evolvedPokemon {return false} + public static func ==(lhs: DeviceSpecificationsTelemetry, rhs: DeviceSpecificationsTelemetry) -> Bool { + if lhs.deviceWidth != rhs.deviceWidth {return false} + if lhs.deviceHeight != rhs.deviceHeight {return false} + if lhs.cameraWidth != rhs.cameraWidth {return false} + if lhs.cameraHeight != rhs.cameraHeight {return false} + if lhs.cameraFocalLengthFx != rhs.cameraFocalLengthFx {return false} + if lhs.cameraFocalLengthFy != rhs.cameraFocalLengthFy {return false} + if lhs.cameraRefreshRate != rhs.cameraRefreshRate {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ExRaidSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExRaidSettingsProto" +extension DiffInventoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DiffInventoryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "minimum_ex_raid_share_level"), - 2: .standard(proto: "ob_ex_raid_setting"), + 1: .standard(proto: "compacted_item"), + 3: .standard(proto: "last_compaction_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197573,36 +202969,39 @@ extension ExRaidSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.minimumExRaidShareLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obExRaidSetting) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.compactedItem) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.lastCompactionMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minimumExRaidShareLevel != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: self.minimumExRaidShareLevel, fieldNumber: 1) + if !self.compactedItem.isEmpty { + try visitor.visitRepeatedMessageField(value: self.compactedItem, fieldNumber: 1) } - if self.obExRaidSetting != 0 { - try visitor.visitSingularInt32Field(value: self.obExRaidSetting, fieldNumber: 2) + if self.lastCompactionMs != 0 { + try visitor.visitSingularInt64Field(value: self.lastCompactionMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ExRaidSettingsProto, rhs: ExRaidSettingsProto) -> Bool { - if lhs.minimumExRaidShareLevel != rhs.minimumExRaidShareLevel {return false} - if lhs.obExRaidSetting != rhs.obExRaidSetting {return false} + public static func ==(lhs: DiffInventoryProto, rhs: DiffInventoryProto) -> Bool { + if lhs.compactedItem != rhs.compactedItem {return false} + if lhs.lastCompactionMs != rhs.lastCompactionMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ExceptionCaugthDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExceptionCaugthDataProto" +extension DiskEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DiskEncounterOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_exception_int32"), - 2: .standard(proto: "ob_exception"), + 1: .same(proto: "result"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "capture_probability"), + 4: .standard(proto: "active_item"), + 5: .standard(proto: "arplus_attempts_until_flee"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197611,42 +203010,70 @@ extension ExceptionCaugthDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obExceptionInt32) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.obException) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obExceptionInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obExceptionInt32, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unknown { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._captureProbability { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) } - if self.obException != .noException { - try visitor.visitSingularEnumField(value: self.obException, fieldNumber: 2) + if self.arplusAttemptsUntilFlee != 0 { + try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ExceptionCaugthDataProto, rhs: ExceptionCaugthDataProto) -> Bool { - if lhs.obExceptionInt32 != rhs.obExceptionInt32 {return false} - if lhs.obException != rhs.obException {return false} + public static func ==(lhs: DiskEncounterOutProto, rhs: DiskEncounterOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} + if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ExceptionCaugthDataProto.ExceptionType: SwiftProtobuf._ProtoNameProviding { +extension DiskEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_EXCEPTION"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "NOT_AVAILABLE"), + 3: .same(proto: "NOT_IN_RANGE"), + 4: .same(proto: "ENCOUNTER_ALREADY_FINISHED"), + 5: .same(proto: "POKEMON_INVENTORY_FULL"), ] } -extension ExceptionCaugthDataV2Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExceptionCaugthDataV2Proto" +extension DiskEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DiskEncounterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .same(proto: "type"), + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "fort_id"), + 3: .standard(proto: "player_lat_degrees"), + 4: .standard(proto: "player_lng_degrees"), + 5: .standard(proto: "gym_lat_degrees"), + 6: .standard(proto: "gym_lng_degrees"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197655,49 +203082,61 @@ extension ExceptionCaugthDataV2Proto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.gymLatDegrees) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.gymLngDegrees) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.encounterID != 0 { + try visitor.visitSingularInt64Field(value: self.encounterID, fieldNumber: 1) } - if self.type != .noException { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) + } + if self.playerLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) + } + if self.playerLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 4) + } + if self.gymLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.gymLatDegrees, fieldNumber: 5) + } + if self.gymLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.gymLngDegrees, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ExceptionCaugthDataV2Proto, rhs: ExceptionCaugthDataV2Proto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.type != rhs.type {return false} + public static func ==(lhs: DiskEncounterProto, rhs: DiskEncounterProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} + if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + if lhs.gymLatDegrees != rhs.gymLatDegrees {return false} + if lhs.gymLngDegrees != rhs.gymLngDegrees {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ExceptionCaugthDataV2Proto.ExceptionType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_EXCEPTION"), - 1: .same(proto: "COMBAT_PUB_SUB"), - ] -} - -extension ExclusiveRaidCancellationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExclusiveRaidCancellationProto" +extension DisplayWeatherProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DisplayWeatherProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_id"), - 2: .standard(proto: "start_time_ms"), - 3: .standard(proto: "end_time_ms"), - 4: .standard(proto: "image_url"), - 5: .same(proto: "latitude"), - 6: .same(proto: "longitude"), - 7: .standard(proto: "gym_name"), - 8: .same(proto: "rewards"), + 1: .standard(proto: "cloud_level"), + 2: .standard(proto: "rain_level"), + 3: .standard(proto: "wind_level"), + 4: .standard(proto: "snow_level"), + 5: .standard(proto: "fog_level"), + 6: .standard(proto: "wind_direction"), + 7: .standard(proto: "special_effect_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197706,230 +203145,74 @@ extension ExclusiveRaidCancellationProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.startTimeMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMs) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.gymName) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &self.rewards) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.cloudLevel) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.rainLevel) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.windLevel) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.snowLevel) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.fogLevel) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.windDirection) }() + case 7: try { try decoder.decodeSingularEnumField(value: &self.specialEffectLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) - } - if self.startTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.startTimeMs, fieldNumber: 2) + if self.cloudLevel != .level0 { + try visitor.visitSingularEnumField(value: self.cloudLevel, fieldNumber: 1) } - if self.endTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.endTimeMs, fieldNumber: 3) + if self.rainLevel != .level0 { + try visitor.visitSingularEnumField(value: self.rainLevel, fieldNumber: 2) } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 4) + if self.windLevel != .level0 { + try visitor.visitSingularEnumField(value: self.windLevel, fieldNumber: 3) } - if self.latitude != 0 { - try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 5) + if self.snowLevel != .level0 { + try visitor.visitSingularEnumField(value: self.snowLevel, fieldNumber: 4) } - if self.longitude != 0 { - try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 6) + if self.fogLevel != .level0 { + try visitor.visitSingularEnumField(value: self.fogLevel, fieldNumber: 5) } - if !self.gymName.isEmpty { - try visitor.visitSingularStringField(value: self.gymName, fieldNumber: 7) + if self.windDirection != 0 { + try visitor.visitSingularInt32Field(value: self.windDirection, fieldNumber: 6) } - if !self.rewards.isEmpty { - try visitor.visitRepeatedMessageField(value: self.rewards, fieldNumber: 8) + if self.specialEffectLevel != .level0 { + try visitor.visitSingularEnumField(value: self.specialEffectLevel, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ExclusiveRaidCancellationProto, rhs: ExclusiveRaidCancellationProto) -> Bool { - if lhs.fortID != rhs.fortID {return false} - if lhs.startTimeMs != rhs.startTimeMs {return false} - if lhs.endTimeMs != rhs.endTimeMs {return false} - if lhs.imageURL != rhs.imageURL {return false} - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} - if lhs.gymName != rhs.gymName {return false} - if lhs.rewards != rhs.rewards {return false} + public static func ==(lhs: DisplayWeatherProto, rhs: DisplayWeatherProto) -> Bool { + if lhs.cloudLevel != rhs.cloudLevel {return false} + if lhs.rainLevel != rhs.rainLevel {return false} + if lhs.windLevel != rhs.windLevel {return false} + if lhs.snowLevel != rhs.snowLevel {return false} + if lhs.fogLevel != rhs.fogLevel {return false} + if lhs.windDirection != rhs.windDirection {return false} + if lhs.specialEffectLevel != rhs.specialEffectLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ExclusiveTicketInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExclusiveTicketInfoProto" +extension DisplayWeatherProto.DisplayLevel: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "raid_seed"), - 2: .standard(proto: "fort_id"), - 4: .standard(proto: "start_time_ms"), - 5: .standard(proto: "end_time_ms"), - 6: .standard(proto: "image_url"), - 7: .same(proto: "latitude"), - 8: .same(proto: "longitude"), - 9: .standard(proto: "gym_name"), - 10: .standard(proto: "spawn_time_ms"), - 11: .standard(proto: "is_cancelled"), - 12: .standard(proto: "raid_pokemon"), - 13: .same(proto: "inviter"), - 14: .same(proto: "invitee"), + 0: .same(proto: "LEVEL_0"), + 1: .same(proto: "LEVEL_1"), + 2: .same(proto: "LEVEL_2"), + 3: .same(proto: "LEVEL_3"), ] - - fileprivate class _StorageClass { - var _raidSeed: Int64 = 0 - var _fortID: String = String() - var _startTimeMs: Int64 = 0 - var _endTimeMs: Int64 = 0 - var _imageURL: String = String() - var _latitude: Double = 0 - var _longitude: Double = 0 - var _gymName: String = String() - var _spawnTimeMs: Int64 = 0 - var _isCancelled: Bool = false - var _raidPokemon: PokemonProto? = nil - var _inviter: SharedExclusiveTicketTrainerInfo? = nil - var _invitee: SharedExclusiveTicketTrainerInfo? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _raidSeed = source._raidSeed - _fortID = source._fortID - _startTimeMs = source._startTimeMs - _endTimeMs = source._endTimeMs - _imageURL = source._imageURL - _latitude = source._latitude - _longitude = source._longitude - _gymName = source._gymName - _spawnTimeMs = source._spawnTimeMs - _isCancelled = source._isCancelled - _raidPokemon = source._raidPokemon - _inviter = source._inviter - _invitee = source._invitee - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &_storage._raidSeed) }() - case 2: try { try decoder.decodeSingularStringField(value: &_storage._fortID) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._startTimeMs) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._endTimeMs) }() - case 6: try { try decoder.decodeSingularStringField(value: &_storage._imageURL) }() - case 7: try { try decoder.decodeSingularDoubleField(value: &_storage._latitude) }() - case 8: try { try decoder.decodeSingularDoubleField(value: &_storage._longitude) }() - case 9: try { try decoder.decodeSingularStringField(value: &_storage._gymName) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._spawnTimeMs) }() - case 11: try { try decoder.decodeSingularBoolField(value: &_storage._isCancelled) }() - case 12: try { try decoder.decodeSingularMessageField(value: &_storage._raidPokemon) }() - case 13: try { try decoder.decodeSingularMessageField(value: &_storage._inviter) }() - case 14: try { try decoder.decodeSingularMessageField(value: &_storage._invitee) }() - default: break - } - } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._raidSeed != 0 { - try visitor.visitSingularInt64Field(value: _storage._raidSeed, fieldNumber: 1) - } - if !_storage._fortID.isEmpty { - try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 2) - } - if _storage._startTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._startTimeMs, fieldNumber: 4) - } - if _storage._endTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._endTimeMs, fieldNumber: 5) - } - if !_storage._imageURL.isEmpty { - try visitor.visitSingularStringField(value: _storage._imageURL, fieldNumber: 6) - } - if _storage._latitude != 0 { - try visitor.visitSingularDoubleField(value: _storage._latitude, fieldNumber: 7) - } - if _storage._longitude != 0 { - try visitor.visitSingularDoubleField(value: _storage._longitude, fieldNumber: 8) - } - if !_storage._gymName.isEmpty { - try visitor.visitSingularStringField(value: _storage._gymName, fieldNumber: 9) - } - if _storage._spawnTimeMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._spawnTimeMs, fieldNumber: 10) - } - if _storage._isCancelled != false { - try visitor.visitSingularBoolField(value: _storage._isCancelled, fieldNumber: 11) - } - try { if let v = _storage._raidPokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - } }() - try { if let v = _storage._inviter { - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - } }() - try { if let v = _storage._invitee { - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - } }() - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ExclusiveTicketInfoProto, rhs: ExclusiveTicketInfoProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._raidSeed != rhs_storage._raidSeed {return false} - if _storage._fortID != rhs_storage._fortID {return false} - if _storage._startTimeMs != rhs_storage._startTimeMs {return false} - if _storage._endTimeMs != rhs_storage._endTimeMs {return false} - if _storage._imageURL != rhs_storage._imageURL {return false} - if _storage._latitude != rhs_storage._latitude {return false} - if _storage._longitude != rhs_storage._longitude {return false} - if _storage._gymName != rhs_storage._gymName {return false} - if _storage._spawnTimeMs != rhs_storage._spawnTimeMs {return false} - if _storage._isCancelled != rhs_storage._isCancelled {return false} - if _storage._raidPokemon != rhs_storage._raidPokemon {return false} - if _storage._inviter != rhs_storage._inviter {return false} - if _storage._invitee != rhs_storage._invitee {return false} - return true - } - if !storagesAreEqual {return false} - } - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension ExperienceBoostAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExperienceBoostAttributesProto" +extension Distribution: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Distribution" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "xp_multiplier"), - 2: .standard(proto: "boost_duration_ms"), + 1: .same(proto: "count"), + 2: .same(proto: "mean"), + 3: .standard(proto: "sum_of_squared_deviation"), + 4: .same(proto: "range"), + 5: .standard(proto: "bucket_options"), + 6: .standard(proto: "bucket_counts"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197938,36 +203221,61 @@ extension ExperienceBoostAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.xpMultiplier) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.boostDurationMs) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.count) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.mean) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.sumOfSquaredDeviation) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._range) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._bucketOptions) }() + case 6: try { try decoder.decodeRepeatedInt64Field(value: &self.bucketCounts) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.xpMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.xpMultiplier, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.count != 0 { + try visitor.visitSingularInt64Field(value: self.count, fieldNumber: 1) } - if self.boostDurationMs != 0 { - try visitor.visitSingularInt32Field(value: self.boostDurationMs, fieldNumber: 2) + if self.mean != 0 { + try visitor.visitSingularFloatField(value: self.mean, fieldNumber: 2) + } + if self.sumOfSquaredDeviation != 0 { + try visitor.visitSingularDoubleField(value: self.sumOfSquaredDeviation, fieldNumber: 3) + } + try { if let v = self._range { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = self._bucketOptions { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if !self.bucketCounts.isEmpty { + try visitor.visitPackedInt64Field(value: self.bucketCounts, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ExperienceBoostAttributesProto, rhs: ExperienceBoostAttributesProto) -> Bool { - if lhs.xpMultiplier != rhs.xpMultiplier {return false} - if lhs.boostDurationMs != rhs.boostDurationMs {return false} + public static func ==(lhs: Distribution, rhs: Distribution) -> Bool { + if lhs.count != rhs.count {return false} + if lhs.mean != rhs.mean {return false} + if lhs.sumOfSquaredDeviation != rhs.sumOfSquaredDeviation {return false} + if lhs._range != rhs._range {return false} + if lhs._bucketOptions != rhs._bucketOptions {return false} + if lhs.bucketCounts != rhs.bucketCounts {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ExtendedOverrideSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExtendedOverrideSettingsProto" +extension Distribution.BucketOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Distribution.protoMessageName + ".BucketOptions" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "temp_evolution_id"), - 16: .standard(proto: "pokemon_size_settings"), + 1: .standard(proto: "linear_buckets"), + 2: .standard(proto: "exponential_buckets"), + 3: .standard(proto: "explicit_buckets"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -197976,8 +203284,45 @@ extension ExtendedOverrideSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.tempEvolutionID) }() - case 16: try { try decoder.decodeSingularMessageField(value: &self._pokemonSizeSettings) }() + case 1: try { + var v: Distribution.BucketOptions.LinearBuckets? + var hadOneofValue = false + if let current = self.bucketType { + hadOneofValue = true + if case .linearBuckets(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.bucketType = .linearBuckets(v) + } + }() + case 2: try { + var v: Distribution.BucketOptions.ExponentialBuckets? + var hadOneofValue = false + if let current = self.bucketType { + hadOneofValue = true + if case .exponentialBuckets(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.bucketType = .exponentialBuckets(v) + } + }() + case 3: try { + var v: Distribution.BucketOptions.ExplicitBuckets? + var hadOneofValue = false + if let current = self.bucketType { + hadOneofValue = true + if case .explicitBuckets(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.bucketType = .explicitBuckets(v) + } + }() default: break } } @@ -197988,27 +203333,35 @@ extension ExtendedOverrideSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.tempEvolutionID != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: self.tempEvolutionID, fieldNumber: 1) + switch self.bucketType { + case .linearBuckets?: try { + guard case .linearBuckets(let v)? = self.bucketType else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .exponentialBuckets?: try { + guard case .exponentialBuckets(let v)? = self.bucketType else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .explicitBuckets?: try { + guard case .explicitBuckets(let v)? = self.bucketType else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case nil: break } - try { if let v = self._pokemonSizeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ExtendedOverrideSettingsProto, rhs: ExtendedOverrideSettingsProto) -> Bool { - if lhs.tempEvolutionID != rhs.tempEvolutionID {return false} - if lhs._pokemonSizeSettings != rhs._pokemonSizeSettings {return false} + public static func ==(lhs: Distribution.BucketOptions, rhs: Distribution.BucketOptions) -> Bool { + if lhs.bucketType != rhs.bucketType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ExtendedPrimalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExtendedPrimalSettingsProto" +extension Distribution.BucketOptions.ExplicitBuckets: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Distribution.BucketOptions.protoMessageName + ".ExplicitBuckets" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 1: .same(proto: "bounds"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198017,50 +203370,32 @@ extension ExtendedPrimalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeRepeatedInt64Field(value: &self.bounds) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ExtendedPrimalSettingsProto, rhs: ExtendedPrimalSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ExtensionRangeOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExtensionRangeOptions" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if !self.bounds.isEmpty { + try visitor.visitPackedInt64Field(value: self.bounds, fieldNumber: 1) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ExtensionRangeOptions, rhs: ExtensionRangeOptions) -> Bool { + public static func ==(lhs: Distribution.BucketOptions.ExplicitBuckets, rhs: Distribution.BucketOptions.ExplicitBuckets) -> Bool { + if lhs.bounds != rhs.bounds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ExternalAddressableAssetsSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ExternalAddressableAssetsSettings" +extension Distribution.BucketOptions.ExponentialBuckets: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Distribution.BucketOptions.protoMessageName + ".ExponentialBuckets" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "num_finite_buckets"), + 2: .standard(proto: "growth_factor"), + 3: .same(proto: "scale"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198069,35 +203404,42 @@ extension ExternalAddressableAssetsSettings: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.numFiniteBuckets) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.growthFactor) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.scale) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) + if self.numFiniteBuckets != 0 { + try visitor.visitSingularInt64Field(value: self.numFiniteBuckets, fieldNumber: 1) + } + if self.growthFactor != 0 { + try visitor.visitSingularFloatField(value: self.growthFactor, fieldNumber: 2) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) + if self.scale != 0 { + try visitor.visitSingularFloatField(value: self.scale, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ExternalAddressableAssetsSettings, rhs: ExternalAddressableAssetsSettings) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: Distribution.BucketOptions.ExponentialBuckets, rhs: Distribution.BucketOptions.ExponentialBuckets) -> Bool { + if lhs.numFiniteBuckets != rhs.numFiniteBuckets {return false} + if lhs.growthFactor != rhs.growthFactor {return false} + if lhs.scale != rhs.scale {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FakeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FakeDataProto" +extension Distribution.BucketOptions.LinearBuckets: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Distribution.BucketOptions.protoMessageName + ".LinearBuckets" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fake_pokemon"), + 1: .standard(proto: "num_finite_buckets"), + 2: .same(proto: "width"), + 3: .same(proto: "offset"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198106,35 +203448,41 @@ extension FakeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._fakePokemon) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.numFiniteBuckets) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.width) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.offset) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._fakePokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() + if self.numFiniteBuckets != 0 { + try visitor.visitSingularInt64Field(value: self.numFiniteBuckets, fieldNumber: 1) + } + if self.width != 0 { + try visitor.visitSingularInt64Field(value: self.width, fieldNumber: 2) + } + if self.offset != 0 { + try visitor.visitSingularInt64Field(value: self.offset, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FakeDataProto, rhs: FakeDataProto) -> Bool { - if lhs._fakePokemon != rhs._fakePokemon {return false} + public static func ==(lhs: Distribution.BucketOptions.LinearBuckets, rhs: Distribution.BucketOptions.LinearBuckets) -> Bool { + if lhs.numFiniteBuckets != rhs.numFiniteBuckets {return false} + if lhs.width != rhs.width {return false} + if lhs.offset != rhs.offset {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FavoritePokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FavoritePokemonTelemetry" +extension Distribution.Range: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Distribution.protoMessageName + ".Range" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .same(proto: "favored"), + 1: .same(proto: "min"), + 2: .same(proto: "max"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198143,39 +203491,35 @@ extension FavoritePokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.favored) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.min) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.max) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.favored != false { - try visitor.visitSingularBoolField(value: self.favored, fieldNumber: 2) + if self.min != 0 { + try visitor.visitSingularInt64Field(value: self.min, fieldNumber: 1) + } + if self.max != 0 { + try visitor.visitSingularInt64Field(value: self.max, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FavoritePokemonTelemetry, rhs: FavoritePokemonTelemetry) -> Bool { - if lhs._pokemon != rhs._pokemon {return false} - if lhs.favored != rhs.favored {return false} + public static func ==(lhs: Distribution.Range, rhs: Distribution.Range) -> Bool { + if lhs.min != rhs.min {return false} + if lhs.max != rhs.max {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FbTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FbTokenProto" +extension DojoSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DojoSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), + 1: .standard(proto: "dojo_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198184,34 +203528,30 @@ extension FbTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.token) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.dojoEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.token.isEmpty { - try visitor.visitSingularStringField(value: self.token, fieldNumber: 1) + if self.dojoEnabled != false { + try visitor.visitSingularBoolField(value: self.dojoEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FbTokenProto, rhs: FbTokenProto) -> Bool { - if lhs.token != rhs.token {return false} + public static func ==(lhs: DojoSettingsProto, rhs: DojoSettingsProto) -> Bool { + if lhs.dojoEnabled != rhs.dojoEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Feature: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Feature" +extension DownloadAllAssetsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownloadAllAssetsSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 3: .standard(proto: "building_metadata"), - 4: .standard(proto: "road_metadata"), - 5: .standard(proto: "transit_metadata"), - 1: .same(proto: "geometry"), - 2: .same(proto: "label"), + 1: .same(proto: "enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198220,96 +203560,30 @@ extension Feature: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._geometry) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._label) }() - case 3: try { - var v: BuildingMetadata? - var hadOneofValue = false - if let current = self.metadata { - hadOneofValue = true - if case .buildingMetadata(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.metadata = .buildingMetadata(v) - } - }() - case 4: try { - var v: RoadMetadata? - var hadOneofValue = false - if let current = self.metadata { - hadOneofValue = true - if case .roadMetadata(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.metadata = .roadMetadata(v) - } - }() - case 5: try { - var v: TransitMetadata? - var hadOneofValue = false - if let current = self.metadata { - hadOneofValue = true - if case .transitMetadata(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.metadata = .transitMetadata(v) - } - }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._geometry { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._label { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - switch self.metadata { - case .buildingMetadata?: try { - guard case .buildingMetadata(let v)? = self.metadata else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .roadMetadata?: try { - guard case .roadMetadata(let v)? = self.metadata else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .transitMetadata?: try { - guard case .transitMetadata(let v)? = self.metadata else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case nil: break + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Feature, rhs: Feature) -> Bool { - if lhs.metadata != rhs.metadata {return false} - if lhs._geometry != rhs._geometry {return false} - if lhs._label != rhs._label {return false} + public static func ==(lhs: DownloadAllAssetsSettingsProto, rhs: DownloadAllAssetsSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FeatureUnlockLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FeatureUnlockLevelSettings" +extension DownloadAllAssetsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownloadAllAssetsTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "bulk_postcard_delete_enabled"), - 2: .standard(proto: "ob_int32_2"), - 3: .standard(proto: "ob_int32_3"), + 1: .standard(proto: "download_all_assets_event_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198318,114 +203592,44 @@ extension FeatureUnlockLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.bulkPostcardDeleteEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.downloadAllAssetsEventID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.bulkPostcardDeleteEnabled != 0 { - try visitor.visitSingularInt32Field(value: self.bulkPostcardDeleteEnabled, fieldNumber: 1) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) - } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 3) + if self.downloadAllAssetsEventID != .unset { + try visitor.visitSingularEnumField(value: self.downloadAllAssetsEventID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FeatureUnlockLevelSettings, rhs: FeatureUnlockLevelSettings) -> Bool { - if lhs.bulkPostcardDeleteEnabled != rhs.bulkPostcardDeleteEnabled {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} + public static func ==(lhs: DownloadAllAssetsTelemetry, rhs: DownloadAllAssetsTelemetry) -> Bool { + if lhs.downloadAllAssetsEventID != rhs.downloadAllAssetsEventID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FeedPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FeedPokemonTelemetry" +extension DownloadAllAssetsTelemetry.DownloadAllAssetsEventId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "pokemon"), - 3: .standard(proto: "gym_id"), - 4: .same(proto: "team"), - 5: .standard(proto: "defender_count"), - 6: .same(proto: "motivation"), - 7: .standard(proto: "cp_now"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "DOWNLOAD_STARTED"), + 2: .same(proto: "DOWNLOAD_PAUSED"), + 3: .same(proto: "DOWNLOAD_COMPLETED"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.gymID) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.team) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.defenderCount) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.motivation) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.cpNow) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != 0 { - try visitor.visitSingularInt32Field(value: self.status, fieldNumber: 1) - } - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.gymID.isEmpty { - try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 3) - } - if self.team != .unset { - try visitor.visitSingularEnumField(value: self.team, fieldNumber: 4) - } - if self.defenderCount != 0 { - try visitor.visitSingularInt32Field(value: self.defenderCount, fieldNumber: 5) - } - if self.motivation != 0 { - try visitor.visitSingularInt32Field(value: self.motivation, fieldNumber: 6) - } - if self.cpNow != 0 { - try visitor.visitSingularInt32Field(value: self.cpNow, fieldNumber: 7) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: FeedPokemonTelemetry, rhs: FeedPokemonTelemetry) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._pokemon != rhs._pokemon {return false} - if lhs.gymID != rhs.gymID {return false} - if lhs.team != rhs.team {return false} - if lhs.defenderCount != rhs.defenderCount {return false} - if lhs.motivation != rhs.motivation {return false} - if lhs.cpNow != rhs.cpNow {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension FestivalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FestivalSettingsProto" +extension DownloadGmTemplatesRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownloadGmTemplatesRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "festival_type"), - 2: .same(proto: "key"), - 3: .same(proto: "vector"), + 1: .standard(proto: "basis_batch_id"), + 2: .standard(proto: "batch_id"), + 3: .standard(proto: "page_offset"), + 4: .standard(proto: "apply_experiments"), + 5: .standard(proto: "basis_experiment_id"), + 6: .standard(proto: "experiment_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198434,50 +203638,60 @@ extension FestivalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.festivalType) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.key) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.vector) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.basisBatchID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.batchID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.pageOffset) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.applyExperiments) }() + case 5: try { try decoder.decodeRepeatedInt32Field(value: &self.basisExperimentID) }() + case 6: try { try decoder.decodeRepeatedInt32Field(value: &self.experimentID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.festivalType != .none { - try visitor.visitSingularEnumField(value: self.festivalType, fieldNumber: 1) + if self.basisBatchID != 0 { + try visitor.visitSingularInt64Field(value: self.basisBatchID, fieldNumber: 1) + } + if self.batchID != 0 { + try visitor.visitSingularInt64Field(value: self.batchID, fieldNumber: 2) } - if !self.key.isEmpty { - try visitor.visitSingularStringField(value: self.key, fieldNumber: 2) + if self.pageOffset != 0 { + try visitor.visitSingularInt32Field(value: self.pageOffset, fieldNumber: 3) } - if !self.vector.isEmpty { - try visitor.visitSingularStringField(value: self.vector, fieldNumber: 3) + if self.applyExperiments != false { + try visitor.visitSingularBoolField(value: self.applyExperiments, fieldNumber: 4) + } + if !self.basisExperimentID.isEmpty { + try visitor.visitPackedInt32Field(value: self.basisExperimentID, fieldNumber: 5) + } + if !self.experimentID.isEmpty { + try visitor.visitPackedInt32Field(value: self.experimentID, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FestivalSettingsProto, rhs: FestivalSettingsProto) -> Bool { - if lhs.festivalType != rhs.festivalType {return false} - if lhs.key != rhs.key {return false} - if lhs.vector != rhs.vector {return false} + public static func ==(lhs: DownloadGmTemplatesRequestProto, rhs: DownloadGmTemplatesRequestProto) -> Bool { + if lhs.basisBatchID != rhs.basisBatchID {return false} + if lhs.batchID != rhs.batchID {return false} + if lhs.pageOffset != rhs.pageOffset {return false} + if lhs.applyExperiments != rhs.applyExperiments {return false} + if lhs.basisExperimentID != rhs.basisExperimentID {return false} + if lhs.experimentID != rhs.experimentID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FestivalSettingsProto.FestivalType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE"), - 1: .same(proto: "HALLOWEEN"), - 2: .same(proto: "HOLIDAY"), - 3: .same(proto: "ROCKET"), - ] -} - -extension FetchAllNewsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FetchAllNewsOutProto" +extension DownloadGmTemplatesResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownloadGmTemplatesResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "current_news"), + 2: .same(proto: "template"), + 3: .standard(proto: "deleted_template"), + 4: .standard(proto: "batch_id"), + 5: .standard(proto: "page_offset"), + 6: .standard(proto: "experiment_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198487,67 +203701,99 @@ extension FetchAllNewsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._currentNews) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.template) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.deletedTemplate) }() + case 4: try { try decoder.decodeSingularUInt64Field(value: &self.batchID) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.pageOffset) }() + case 6: try { try decoder.decodeRepeatedInt32Field(value: &self.experimentID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._currentNews { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() + if !self.template.isEmpty { + try visitor.visitRepeatedMessageField(value: self.template, fieldNumber: 2) + } + if !self.deletedTemplate.isEmpty { + try visitor.visitRepeatedStringField(value: self.deletedTemplate, fieldNumber: 3) + } + if self.batchID != 0 { + try visitor.visitSingularUInt64Field(value: self.batchID, fieldNumber: 4) + } + if self.pageOffset != 0 { + try visitor.visitSingularInt32Field(value: self.pageOffset, fieldNumber: 5) + } + if !self.experimentID.isEmpty { + try visitor.visitPackedInt32Field(value: self.experimentID, fieldNumber: 6) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FetchAllNewsOutProto, rhs: FetchAllNewsOutProto) -> Bool { + public static func ==(lhs: DownloadGmTemplatesResponseProto, rhs: DownloadGmTemplatesResponseProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs._currentNews != rhs._currentNews {return false} + if lhs.template != rhs.template {return false} + if lhs.deletedTemplate != rhs.deletedTemplate {return false} + if lhs.batchID != rhs.batchID {return false} + if lhs.pageOffset != rhs.pageOffset {return false} + if lhs.experimentID != rhs.experimentID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FetchAllNewsOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension DownloadGmTemplatesResponseProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "NO_NEWS_FOUND"), + 1: .same(proto: "COMPLETE"), + 2: .same(proto: "MORE_RESULTS"), + 3: .same(proto: "BATCH_ID_NOT_LIVE"), + 4: .same(proto: "INVALID_BASIS_BATCH_ID"), + 5: .same(proto: "WRONG_EXPERIMENTS"), ] } -extension FetchAllNewsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FetchAllNewsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension DownloadSettingsActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownloadSettingsActionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "sha1"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.sha1) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if !self.sha1.isEmpty { + try visitor.visitSingularStringField(value: self.sha1, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FetchAllNewsProto, rhs: FetchAllNewsProto) -> Bool { + public static func ==(lhs: DownloadSettingsActionProto, rhs: DownloadSettingsActionProto) -> Bool { + if lhs.sha1 != rhs.sha1 {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FetchNewsfeedRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FetchNewsfeedRequest" +extension DownloadSettingsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownloadSettingsResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "newsfeed_channel"), - 2: .standard(proto: "language_version"), - 3: .standard(proto: "country_code"), + 1: .same(proto: "error"), + 2: .same(proto: "sha1"), + 3: .same(proto: "values"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198556,42 +203802,47 @@ extension FetchNewsfeedRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.newsfeedChannel) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.languageVersion) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.error) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.sha1) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._values) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.newsfeedChannel.isEmpty { - try visitor.visitPackedEnumField(value: self.newsfeedChannel, fieldNumber: 1) - } - if !self.languageVersion.isEmpty { - try visitor.visitSingularStringField(value: self.languageVersion, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.error.isEmpty { + try visitor.visitSingularStringField(value: self.error, fieldNumber: 1) } - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 3) + if !self.sha1.isEmpty { + try visitor.visitSingularStringField(value: self.sha1, fieldNumber: 2) } + try { if let v = self._values { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FetchNewsfeedRequest, rhs: FetchNewsfeedRequest) -> Bool { - if lhs.newsfeedChannel != rhs.newsfeedChannel {return false} - if lhs.languageVersion != rhs.languageVersion {return false} - if lhs.countryCode != rhs.countryCode {return false} + public static func ==(lhs: DownloadSettingsResponseProto, rhs: DownloadSettingsResponseProto) -> Bool { + if lhs.error != rhs.error {return false} + if lhs.sha1 != rhs.sha1 {return false} + if lhs._values != rhs._values {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FetchNewsfeedResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FetchNewsfeedResponse" +extension DownloadUrlEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownloadUrlEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "post_record"), - 3: .standard(proto: "next_page_token"), + 1: .standard(proto: "asset_id"), + 2: .same(proto: "url"), + 3: .same(proto: "size"), + 4: .same(proto: "checksum"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198600,58 +203851,45 @@ extension FetchNewsfeedResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.postRecord) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.nextPageToken) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.assetID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.url) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.size) }() + case 4: try { try decoder.decodeSingularFixed32Field(value: &self.checksum) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.assetID.isEmpty { + try visitor.visitSingularStringField(value: self.assetID, fieldNumber: 1) } - if !self.postRecord.isEmpty { - try visitor.visitRepeatedMessageField(value: self.postRecord, fieldNumber: 2) + if !self.url.isEmpty { + try visitor.visitSingularStringField(value: self.url, fieldNumber: 2) } - if !self.nextPageToken.isEmpty { - try visitor.visitSingularStringField(value: self.nextPageToken, fieldNumber: 3) + if self.size != 0 { + try visitor.visitSingularInt32Field(value: self.size, fieldNumber: 3) + } + if self.checksum != 0 { + try visitor.visitSingularFixed32Field(value: self.checksum, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FetchNewsfeedResponse, rhs: FetchNewsfeedResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.postRecord != rhs.postRecord {return false} - if lhs.nextPageToken != rhs.nextPageToken {return false} + public static func ==(lhs: DownloadUrlEntryProto, rhs: DownloadUrlEntryProto) -> Bool { + if lhs.assetID != rhs.assetID {return false} + if lhs.url != rhs.url {return false} + if lhs.size != rhs.size {return false} + if lhs.checksum != rhs.checksum {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FetchNewsfeedResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "INTERNAL_ERROR"), - 3: .same(proto: "CHANNEL_NOT_DEFINED"), - ] -} - -extension Field: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Field" +extension DownloadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownloadUrlOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "kind"), - 2: .same(proto: "cardinality"), - 3: .same(proto: "number"), - 4: .same(proto: "name"), - 6: .standard(proto: "type_url"), - 7: .standard(proto: "oneof_index"), - 8: .same(proto: "packed"), - 9: .same(proto: "options"), - 10: .standard(proto: "json_name"), - 11: .standard(proto: "default_value"), + 1: .standard(proto: "download_urls"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198660,115 +203898,30 @@ extension Field: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.kind) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.cardinality) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.number) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.typeURL) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.oneofIndex) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.packed) }() - case 9: try { try decoder.decodeRepeatedMessageField(value: &self.options) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.jsonName) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.defaultValue) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.downloadUrls) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.kind != .typeUnknown { - try visitor.visitSingularEnumField(value: self.kind, fieldNumber: 1) - } - if self.cardinality != .unknown { - try visitor.visitSingularEnumField(value: self.cardinality, fieldNumber: 2) - } - if self.number != 0 { - try visitor.visitSingularInt32Field(value: self.number, fieldNumber: 3) - } - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 4) - } - if !self.typeURL.isEmpty { - try visitor.visitSingularStringField(value: self.typeURL, fieldNumber: 6) - } - if self.oneofIndex != 0 { - try visitor.visitSingularInt32Field(value: self.oneofIndex, fieldNumber: 7) - } - if self.packed != false { - try visitor.visitSingularBoolField(value: self.packed, fieldNumber: 8) - } - if !self.options.isEmpty { - try visitor.visitRepeatedMessageField(value: self.options, fieldNumber: 9) - } - if !self.jsonName.isEmpty { - try visitor.visitSingularStringField(value: self.jsonName, fieldNumber: 10) - } - if !self.defaultValue.isEmpty { - try visitor.visitSingularStringField(value: self.defaultValue, fieldNumber: 11) + if !self.downloadUrls.isEmpty { + try visitor.visitRepeatedMessageField(value: self.downloadUrls, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Field, rhs: Field) -> Bool { - if lhs.kind != rhs.kind {return false} - if lhs.cardinality != rhs.cardinality {return false} - if lhs.number != rhs.number {return false} - if lhs.name != rhs.name {return false} - if lhs.typeURL != rhs.typeURL {return false} - if lhs.oneofIndex != rhs.oneofIndex {return false} - if lhs.packed != rhs.packed {return false} - if lhs.options != rhs.options {return false} - if lhs.jsonName != rhs.jsonName {return false} - if lhs.defaultValue != rhs.defaultValue {return false} + public static func ==(lhs: DownloadUrlOutProto, rhs: DownloadUrlOutProto) -> Bool { + if lhs.downloadUrls != rhs.downloadUrls {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Field.Cardinality: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unknown"), - 1: .same(proto: "optional"), - 2: .same(proto: "required"), - 3: .same(proto: "repeated"), - ] -} - -extension Field.Kind: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "type_unknown"), - 1: .same(proto: "type_double"), - 2: .same(proto: "type_float"), - 3: .same(proto: "type_int64"), - 4: .same(proto: "type_uint64"), - 5: .same(proto: "type_int32"), - 6: .same(proto: "type_fixed64"), - 7: .same(proto: "type_fixed32"), - 8: .same(proto: "type_bool"), - 9: .same(proto: "type_string"), - 10: .same(proto: "type_group"), - 11: .same(proto: "type_message"), - 12: .same(proto: "type_bytes"), - 13: .same(proto: "type_uint32"), - 14: .same(proto: "type_enum"), - 15: .same(proto: "type_sfixed32"), - 16: .same(proto: "type_sfixed64"), - 17: .same(proto: "type_sint32"), - 18: .same(proto: "type_sint64"), - ] -} - -extension FieldDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FieldDescriptorProto" +extension DownloadUrlRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownloadUrlRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "number"), - 3: .standard(proto: "type_name"), - 4: .same(proto: "extendee"), - 5: .standard(proto: "default_value"), - 6: .standard(proto: "oneof_index"), - 7: .standard(proto: "json_name"), - 8: .same(proto: "options"), + 1: .standard(proto: "asset_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198777,102 +203930,34 @@ extension FieldDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.number) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.typeName) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.extendee) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.defaultValue) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.oneofIndex) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.jsonName) }() - case 8: try { try decoder.decodeSingularMessageField(value: &self._options) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.assetID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if self.number != 0 { - try visitor.visitSingularInt32Field(value: self.number, fieldNumber: 2) - } - if !self.typeName.isEmpty { - try visitor.visitSingularStringField(value: self.typeName, fieldNumber: 3) - } - if !self.extendee.isEmpty { - try visitor.visitSingularStringField(value: self.extendee, fieldNumber: 4) - } - if !self.defaultValue.isEmpty { - try visitor.visitSingularStringField(value: self.defaultValue, fieldNumber: 5) - } - if self.oneofIndex != 0 { - try visitor.visitSingularInt32Field(value: self.oneofIndex, fieldNumber: 6) - } - if !self.jsonName.isEmpty { - try visitor.visitSingularStringField(value: self.jsonName, fieldNumber: 7) + if !self.assetID.isEmpty { + try visitor.visitRepeatedStringField(value: self.assetID, fieldNumber: 1) } - try { if let v = self._options { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FieldDescriptorProto, rhs: FieldDescriptorProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.number != rhs.number {return false} - if lhs.typeName != rhs.typeName {return false} - if lhs.extendee != rhs.extendee {return false} - if lhs.defaultValue != rhs.defaultValue {return false} - if lhs.oneofIndex != rhs.oneofIndex {return false} - if lhs.jsonName != rhs.jsonName {return false} - if lhs._options != rhs._options {return false} + public static func ==(lhs: DownloadUrlRequestProto, rhs: DownloadUrlRequestProto) -> Bool { + if lhs.assetID != rhs.assetID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FieldDescriptorProto.Label: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "LABEL_AUTO_INVALID"), - 1: .same(proto: "optional"), - 2: .same(proto: "required"), - 3: .same(proto: "repeated"), - ] -} - -extension FieldDescriptorProto.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TYPE_AUTO_INVALID"), - 1: .same(proto: "type_double"), - 2: .same(proto: "type_float"), - 3: .same(proto: "type_int64"), - 4: .same(proto: "type_uint64"), - 5: .same(proto: "type_int32"), - 6: .same(proto: "type_fixed64"), - 7: .same(proto: "type_fixed32"), - 8: .same(proto: "type_bool"), - 9: .same(proto: "type_string"), - 10: .same(proto: "type_group"), - 11: .same(proto: "type_message"), - 12: .same(proto: "type_bytes"), - 13: .same(proto: "type_uint32"), - 14: .same(proto: "type_enum"), - 15: .same(proto: "type_sfixed32"), - 16: .same(proto: "type_sfixed64"), - 17: .same(proto: "type_sint32"), - 18: .same(proto: "type_sint64"), - ] -} - -extension FieldMask: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FieldMask" +extension Downstream: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Downstream" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "paths"), + 1: .same(proto: "downstream"), + 2: .same(proto: "response"), + 3: .same(proto: "probe"), + 4: .same(proto: "drain"), + 5: .same(proto: "connected"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198881,33 +203966,119 @@ extension FieldMask: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.paths) }() + case 1: try { + var v: DownstreamActionMessages? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .downstream(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .downstream(v) + } + }() + case 2: try { + var v: Downstream.ResponseWithStatus? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .response(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .response(v) + } + }() + case 3: try { + var v: Downstream.ProbeRequest? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .probe(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .probe(v) + } + }() + case 4: try { + var v: Downstream.Drain? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .drain(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .drain(v) + } + }() + case 5: try { + var v: Downstream.Connected? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .connected(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .connected(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.paths.isEmpty { - try visitor.visitRepeatedStringField(value: self.paths, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.message { + case .downstream?: try { + guard case .downstream(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .response?: try { + guard case .response(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .probe?: try { + guard case .probe(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .drain?: try { + guard case .drain(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .connected?: try { + guard case .connected(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FieldMask, rhs: FieldMask) -> Bool { - if lhs.paths != rhs.paths {return false} + public static func ==(lhs: Downstream, rhs: Downstream) -> Bool { + if lhs.message != rhs.message {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FieldOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FieldOptions" +extension Downstream.Connected: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Downstream.protoMessageName + ".Connected" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "packed"), - 2: .same(proto: "lazy"), - 3: .same(proto: "deprecated"), - 4: .same(proto: "weak"), + 1: .standard(proto: "debug_message"), + 2: .standard(proto: "ttl_seconds"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -198916,232 +204087,89 @@ extension FieldOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.packed) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.lazy) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.weak) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.debugMessage) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.ttlSeconds) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.packed != false { - try visitor.visitSingularBoolField(value: self.packed, fieldNumber: 1) - } - if self.lazy != false { - try visitor.visitSingularBoolField(value: self.lazy, fieldNumber: 2) - } - if self.deprecated != false { - try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 3) + if !self.debugMessage.isEmpty { + try visitor.visitSingularStringField(value: self.debugMessage, fieldNumber: 1) } - if self.weak != false { - try visitor.visitSingularBoolField(value: self.weak, fieldNumber: 4) + if self.ttlSeconds != 0 { + try visitor.visitSingularInt32Field(value: self.ttlSeconds, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FieldOptions, rhs: FieldOptions) -> Bool { - if lhs.packed != rhs.packed {return false} - if lhs.lazy != rhs.lazy {return false} - if lhs.deprecated != rhs.deprecated {return false} - if lhs.weak != rhs.weak {return false} + public static func ==(lhs: Downstream.Connected, rhs: Downstream.Connected) -> Bool { + if lhs.debugMessage != rhs.debugMessage {return false} + if lhs.ttlSeconds != rhs.ttlSeconds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FieldOptions.CType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "string"), - 1: .same(proto: "cord"), - 2: .same(proto: "string_piece"), - ] -} - -extension FieldOptions.JSType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "js_normal"), - 1: .same(proto: "js_string"), - 2: .same(proto: "js_number"), - ] -} - -extension FileDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FileDescriptorProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "package"), - 3: .same(proto: "dependency"), - 4: .standard(proto: "public_dependency"), - 5: .standard(proto: "message_type"), - 6: .standard(proto: "enum_type"), - 7: .same(proto: "service"), - 8: .same(proto: "options"), - 9: .standard(proto: "source_code_info"), - 10: .same(proto: "syntax"), - ] - - fileprivate class _StorageClass { - var _name: String = String() - var _package: String = String() - var _dependency: [String] = [] - var _publicDependency: [Int32] = [] - var _messageType: [DescriptorProto] = [] - var _enumType: [EnumDescriptorProto] = [] - var _service: [ServiceDescriptorProto] = [] - var _options: FileOptions? = nil - var _sourceCodeInfo: SourceCodeInfo? = nil - var _syntax: String = String() - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _name = source._name - _package = source._package - _dependency = source._dependency - _publicDependency = source._publicDependency - _messageType = source._messageType - _enumType = source._enumType - _service = source._service - _options = source._options - _sourceCodeInfo = source._sourceCodeInfo - _syntax = source._syntax - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } +extension Downstream.Drain: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Downstream.protoMessageName + ".Drain" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._name) }() - case 2: try { try decoder.decodeSingularStringField(value: &_storage._package) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &_storage._dependency) }() - case 4: try { try decoder.decodeRepeatedInt32Field(value: &_storage._publicDependency) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._messageType) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &_storage._enumType) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &_storage._service) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._options) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._sourceCodeInfo) }() - case 10: try { try decoder.decodeSingularStringField(value: &_storage._syntax) }() - default: break - } - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._name.isEmpty { - try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1) - } - if !_storage._package.isEmpty { - try visitor.visitSingularStringField(value: _storage._package, fieldNumber: 2) - } - if !_storage._dependency.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._dependency, fieldNumber: 3) - } - if !_storage._publicDependency.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._publicDependency, fieldNumber: 4) - } - if !_storage._messageType.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._messageType, fieldNumber: 5) - } - if !_storage._enumType.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._enumType, fieldNumber: 6) - } - if !_storage._service.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._service, fieldNumber: 7) - } - try { if let v = _storage._options { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - try { if let v = _storage._sourceCodeInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() - if !_storage._syntax.isEmpty { - try visitor.visitSingularStringField(value: _storage._syntax, fieldNumber: 10) - } - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FileDescriptorProto, rhs: FileDescriptorProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._name != rhs_storage._name {return false} - if _storage._package != rhs_storage._package {return false} - if _storage._dependency != rhs_storage._dependency {return false} - if _storage._publicDependency != rhs_storage._publicDependency {return false} - if _storage._messageType != rhs_storage._messageType {return false} - if _storage._enumType != rhs_storage._enumType {return false} - if _storage._service != rhs_storage._service {return false} - if _storage._options != rhs_storage._options {return false} - if _storage._sourceCodeInfo != rhs_storage._sourceCodeInfo {return false} - if _storage._syntax != rhs_storage._syntax {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: Downstream.Drain, rhs: Downstream.Drain) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FileDescriptorSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FileDescriptorSet" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension Downstream.ProbeRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Downstream.protoMessageName + ".ProbeRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "probe_start_ms"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.probeStartMs) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.probeStartMs != 0 { + try visitor.visitSingularInt64Field(value: self.probeStartMs, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FileDescriptorSet, rhs: FileDescriptorSet) -> Bool { + public static func ==(lhs: Downstream.ProbeRequest, rhs: Downstream.ProbeRequest) -> Bool { + if lhs.probeStartMs != rhs.probeStartMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FileOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FileOptions" +extension Downstream.ResponseWithStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Downstream.protoMessageName + ".ResponseWithStatus" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "java_package"), - 2: .standard(proto: "java_outer_classname"), - 3: .standard(proto: "java_multiple_files"), - 4: .standard(proto: "java_generate_equals_and_hash"), - 5: .standard(proto: "java_string_check_utf8"), - 6: .standard(proto: "go_package"), - 7: .standard(proto: "cc_generic_services"), - 8: .standard(proto: "java_generic_services"), - 9: .standard(proto: "py_generic_services"), - 10: .same(proto: "deprecated"), - 11: .standard(proto: "cc_enable_arenas"), - 12: .standard(proto: "objc_class_prefix"), - 13: .standard(proto: "csharp_namespace"), + 4: .same(proto: "subscribe"), + 1: .standard(proto: "request_id"), + 2: .standard(proto: "response_status"), + 3: .standard(proto: "debug_message"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199150,104 +204178,75 @@ extension FileOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.javaPackage) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.javaOuterClassname) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.javaMultipleFiles) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.javaGenerateEqualsAndHash) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.javaStringCheckUtf8) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.goPackage) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.ccGenericServices) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.javaGenericServices) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.pyGenericServices) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.ccEnableArenas) }() - case 12: try { try decoder.decodeSingularStringField(value: &self.objcClassPrefix) }() - case 13: try { try decoder.decodeSingularStringField(value: &self.csharpNamespace) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.requestID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.responseStatus) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.debugMessage) }() + case 4: try { + var v: Downstream.SubscriptionResponse? + var hadOneofValue = false + if let current = self.response { + hadOneofValue = true + if case .subscribe(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.response = .subscribe(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.javaPackage.isEmpty { - try visitor.visitSingularStringField(value: self.javaPackage, fieldNumber: 1) - } - if !self.javaOuterClassname.isEmpty { - try visitor.visitSingularStringField(value: self.javaOuterClassname, fieldNumber: 2) - } - if self.javaMultipleFiles != false { - try visitor.visitSingularBoolField(value: self.javaMultipleFiles, fieldNumber: 3) - } - if self.javaGenerateEqualsAndHash != false { - try visitor.visitSingularBoolField(value: self.javaGenerateEqualsAndHash, fieldNumber: 4) - } - if self.javaStringCheckUtf8 != false { - try visitor.visitSingularBoolField(value: self.javaStringCheckUtf8, fieldNumber: 5) - } - if !self.goPackage.isEmpty { - try visitor.visitSingularStringField(value: self.goPackage, fieldNumber: 6) - } - if self.ccGenericServices != false { - try visitor.visitSingularBoolField(value: self.ccGenericServices, fieldNumber: 7) - } - if self.javaGenericServices != false { - try visitor.visitSingularBoolField(value: self.javaGenericServices, fieldNumber: 8) - } - if self.pyGenericServices != false { - try visitor.visitSingularBoolField(value: self.pyGenericServices, fieldNumber: 9) - } - if self.deprecated != false { - try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 10) - } - if self.ccEnableArenas != false { - try visitor.visitSingularBoolField(value: self.ccEnableArenas, fieldNumber: 11) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.requestID != 0 { + try visitor.visitSingularInt64Field(value: self.requestID, fieldNumber: 1) } - if !self.objcClassPrefix.isEmpty { - try visitor.visitSingularStringField(value: self.objcClassPrefix, fieldNumber: 12) + if self.responseStatus != .unset { + try visitor.visitSingularEnumField(value: self.responseStatus, fieldNumber: 2) } - if !self.csharpNamespace.isEmpty { - try visitor.visitSingularStringField(value: self.csharpNamespace, fieldNumber: 13) + if !self.debugMessage.isEmpty { + try visitor.visitSingularStringField(value: self.debugMessage, fieldNumber: 3) } + try { if case .subscribe(let v)? = self.response { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FileOptions, rhs: FileOptions) -> Bool { - if lhs.javaPackage != rhs.javaPackage {return false} - if lhs.javaOuterClassname != rhs.javaOuterClassname {return false} - if lhs.javaMultipleFiles != rhs.javaMultipleFiles {return false} - if lhs.javaGenerateEqualsAndHash != rhs.javaGenerateEqualsAndHash {return false} - if lhs.javaStringCheckUtf8 != rhs.javaStringCheckUtf8 {return false} - if lhs.goPackage != rhs.goPackage {return false} - if lhs.ccGenericServices != rhs.ccGenericServices {return false} - if lhs.javaGenericServices != rhs.javaGenericServices {return false} - if lhs.pyGenericServices != rhs.pyGenericServices {return false} - if lhs.deprecated != rhs.deprecated {return false} - if lhs.ccEnableArenas != rhs.ccEnableArenas {return false} - if lhs.objcClassPrefix != rhs.objcClassPrefix {return false} - if lhs.csharpNamespace != rhs.csharpNamespace {return false} + public static func ==(lhs: Downstream.ResponseWithStatus, rhs: Downstream.ResponseWithStatus) -> Bool { + if lhs.response != rhs.response {return false} + if lhs.requestID != rhs.requestID {return false} + if lhs.responseStatus != rhs.responseStatus {return false} + if lhs.debugMessage != rhs.debugMessage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FileOptions.OptimizeMode: SwiftProtobuf._ProtoNameProviding { +extension Downstream.ResponseWithStatus.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "OPTIMIZEMODE_AUTO_INVALID"), - 1: .same(proto: "speed"), - 2: .same(proto: "code_size"), - 3: .same(proto: "lite_runtime"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "OK"), + 2: .same(proto: "UNKNOWN"), + 3: .same(proto: "UNAUTHENTICATED"), + 4: .same(proto: "UNAUTHORIZED"), + 5: .same(proto: "BAD_REQUEST"), + 6: .same(proto: "UNIMPLEMENTED"), + 7: .same(proto: "RATE_LIMITED"), + 8: .same(proto: "CONNECTION_LIMITED"), ] } -extension FitnessMetricsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessMetricsProto" +extension Downstream.SubscriptionResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Downstream.protoMessageName + ".SubscriptionResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "distance_walked_meters"), - 2: .standard(proto: "step_count"), - 3: .standard(proto: "calories_burned_kcals"), - 4: .standard(proto: "exercise_duration_mi"), - 5: .standard(proto: "wheelchair_distance_meters"), - 6: .standard(proto: "wheelchair_push_count"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199256,57 +204255,42 @@ extension FitnessMetricsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.distanceWalkedMeters) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.stepCount) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.caloriesBurnedKcals) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.exerciseDurationMi) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.wheelchairDistanceMeters) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.wheelchairPushCount) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.distanceWalkedMeters != 0 { - try visitor.visitSingularDoubleField(value: self.distanceWalkedMeters, fieldNumber: 1) - } - if self.stepCount != 0 { - try visitor.visitSingularInt32Field(value: self.stepCount, fieldNumber: 2) - } - if self.caloriesBurnedKcals != 0 { - try visitor.visitSingularDoubleField(value: self.caloriesBurnedKcals, fieldNumber: 3) - } - if self.exerciseDurationMi != 0 { - try visitor.visitSingularInt64Field(value: self.exerciseDurationMi, fieldNumber: 4) - } - if self.wheelchairDistanceMeters != 0 { - try visitor.visitSingularDoubleField(value: self.wheelchairDistanceMeters, fieldNumber: 5) - } - if self.wheelchairPushCount != 0 { - try visitor.visitSingularDoubleField(value: self.wheelchairPushCount, fieldNumber: 6) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessMetricsProto, rhs: FitnessMetricsProto) -> Bool { - if lhs.distanceWalkedMeters != rhs.distanceWalkedMeters {return false} - if lhs.stepCount != rhs.stepCount {return false} - if lhs.caloriesBurnedKcals != rhs.caloriesBurnedKcals {return false} - if lhs.exerciseDurationMi != rhs.exerciseDurationMi {return false} - if lhs.wheelchairDistanceMeters != rhs.wheelchairDistanceMeters {return false} - if lhs.wheelchairPushCount != rhs.wheelchairPushCount {return false} + public static func ==(lhs: Downstream.SubscriptionResponse, rhs: Downstream.SubscriptionResponse) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessMetricsReportHistory: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessMetricsReportHistory" +extension Downstream.SubscriptionResponse.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "weekly_history"), - 2: .standard(proto: "daily_history"), - 3: .standard(proto: "hourly_history"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "OK"), + 2: .same(proto: "UNKNOWN"), + 3: .same(proto: "TOPIC_LIMITED"), + 4: .same(proto: "MAXIMUM_TOPIC_ID_LENGTH_EXCEEDED"), + 5: .same(proto: "TOPIC_ID_INVALID"), + ] +} + +extension DownstreamAction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownstreamAction" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 2: .same(proto: "method"), + 3: .same(proto: "payload"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199315,41 +204299,35 @@ extension FitnessMetricsReportHistory: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.weeklyHistory) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.dailyHistory) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.hourlyHistory) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.method) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.weeklyHistory.isEmpty { - try visitor.visitRepeatedMessageField(value: self.weeklyHistory, fieldNumber: 1) - } - if !self.dailyHistory.isEmpty { - try visitor.visitRepeatedMessageField(value: self.dailyHistory, fieldNumber: 2) + if self.method != 0 { + try visitor.visitSingularInt32Field(value: self.method, fieldNumber: 2) } - if !self.hourlyHistory.isEmpty { - try visitor.visitRepeatedMessageField(value: self.hourlyHistory, fieldNumber: 3) + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessMetricsReportHistory, rhs: FitnessMetricsReportHistory) -> Bool { - if lhs.weeklyHistory != rhs.weeklyHistory {return false} - if lhs.dailyHistory != rhs.dailyHistory {return false} - if lhs.hourlyHistory != rhs.hourlyHistory {return false} + public static func ==(lhs: DownstreamAction, rhs: DownstreamAction) -> Bool { + if lhs.method != rhs.method {return false} + if lhs.payload != rhs.payload {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessMetricsReportHistory.MetricsHistory: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = FitnessMetricsReportHistory.protoMessageName + ".MetricsHistory" +extension DownstreamActionMessages: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DownstreamActionMessages" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "bucket"), - 2: .same(proto: "metrics"), + 1: .same(proto: "messages"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199358,143 +204336,50 @@ extension FitnessMetricsReportHistory.MetricsHistory: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.bucket) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._metrics) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.messages) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.bucket != 0 { - try visitor.visitSingularInt64Field(value: self.bucket, fieldNumber: 1) + if !self.messages.isEmpty { + try visitor.visitRepeatedMessageField(value: self.messages, fieldNumber: 1) } - try { if let v = self._metrics { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessMetricsReportHistory.MetricsHistory, rhs: FitnessMetricsReportHistory.MetricsHistory) -> Bool { - if lhs.bucket != rhs.bucket {return false} - if lhs._metrics != rhs._metrics {return false} + public static func ==(lhs: DownstreamActionMessages, rhs: DownstreamActionMessages) -> Bool { + if lhs.messages != rhs.messages {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessRecordProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "hourly_reports"), - 2: .standard(proto: "raw_samples"), - 3: .standard(proto: "last_aggregation_timestamp_ms"), - 4: .standard(proto: "fitness_stats"), - 5: .standard(proto: "report_history"), - ] - - fileprivate class _StorageClass { - var _hourlyReports: Dictionary = [:] - var _rawSamples: [FitnessSample] = [] - var _lastAggregationTimestampMs: Int64 = 0 - var _fitnessStats: FitnessStatsProto? = nil - var _reportHistory: FitnessMetricsReportHistory? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _hourlyReports = source._hourlyReports - _rawSamples = source._rawSamples - _lastAggregationTimestampMs = source._lastAggregationTimestampMs - _fitnessStats = source._fitnessStats - _reportHistory = source._reportHistory - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } +extension DumbBeaconProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".DumbBeaconProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._hourlyReports) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &_storage._rawSamples) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &_storage._lastAggregationTimestampMs) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessStats) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._reportHistory) }() - default: break - } - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._hourlyReports.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._hourlyReports, fieldNumber: 1) - } - if !_storage._rawSamples.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._rawSamples, fieldNumber: 2) - } - if _storage._lastAggregationTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lastAggregationTimestampMs, fieldNumber: 3) - } - try { if let v = _storage._fitnessStats { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = _storage._reportHistory { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessRecordProto, rhs: FitnessRecordProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._hourlyReports != rhs_storage._hourlyReports {return false} - if _storage._rawSamples != rhs_storage._rawSamples {return false} - if _storage._lastAggregationTimestampMs != rhs_storage._lastAggregationTimestampMs {return false} - if _storage._fitnessStats != rhs_storage._fitnessStats {return false} - if _storage._reportHistory != rhs_storage._reportHistory {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: DumbBeaconProto, rhs: DumbBeaconProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessReportProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "day_offset_from_now"), - 2: .standard(proto: "week_offset_from_now"), - 3: .standard(proto: "hour_offset_from_now"), - 10: .same(proto: "metrics"), - 11: .standard(proto: "game_data"), +extension Duration: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Duration" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "seconds"), + 2: .same(proto: "nanos"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199503,81 +204388,35 @@ extension FitnessReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: Int32? - try decoder.decodeSingularInt32Field(value: &v) - if let v = v { - if self.window != nil {try decoder.handleConflictingOneOf()} - self.window = .dayOffsetFromNow(v) - } - }() - case 2: try { - var v: Int32? - try decoder.decodeSingularInt32Field(value: &v) - if let v = v { - if self.window != nil {try decoder.handleConflictingOneOf()} - self.window = .weekOffsetFromNow(v) - } - }() - case 3: try { - var v: Int32? - try decoder.decodeSingularInt32Field(value: &v) - if let v = v { - if self.window != nil {try decoder.handleConflictingOneOf()} - self.window = .hourOffsetFromNow(v) - } - }() - case 10: try { try decoder.decodeSingularMessageField(value: &self._metrics) }() - case 11: try { try decoder.decodeSingularBytesField(value: &self.gameData) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.seconds) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.nanos) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.window { - case .dayOffsetFromNow?: try { - guard case .dayOffsetFromNow(let v)? = self.window else { preconditionFailure() } - try visitor.visitSingularInt32Field(value: v, fieldNumber: 1) - }() - case .weekOffsetFromNow?: try { - guard case .weekOffsetFromNow(let v)? = self.window else { preconditionFailure() } - try visitor.visitSingularInt32Field(value: v, fieldNumber: 2) - }() - case .hourOffsetFromNow?: try { - guard case .hourOffsetFromNow(let v)? = self.window else { preconditionFailure() } - try visitor.visitSingularInt32Field(value: v, fieldNumber: 3) - }() - case nil: break + if self.seconds != 0 { + try visitor.visitSingularInt64Field(value: self.seconds, fieldNumber: 1) } - try { if let v = self._metrics { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - if !self.gameData.isEmpty { - try visitor.visitSingularBytesField(value: self.gameData, fieldNumber: 11) + if self.nanos != 0 { + try visitor.visitSingularInt32Field(value: self.nanos, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessReportProto, rhs: FitnessReportProto) -> Bool { - if lhs.window != rhs.window {return false} - if lhs._metrics != rhs._metrics {return false} - if lhs.gameData != rhs.gameData {return false} + public static func ==(lhs: Duration, rhs: Duration) -> Bool { + if lhs.seconds != rhs.seconds {return false} + if lhs.nanos != rhs.nanos {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessRewardsLogEntry" +extension EchoOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EchoOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "rewards"), - 3: .standard(proto: "distance_walked_km"), + 1: .same(proto: "context"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199586,56 +204425,49 @@ extension FitnessRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.distanceWalkedKm) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.context) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._rewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.distanceWalkedKm != 0 { - try visitor.visitSingularDoubleField(value: self.distanceWalkedKm, fieldNumber: 3) + if !self.context.isEmpty { + try visitor.visitSingularStringField(value: self.context, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessRewardsLogEntry, rhs: FitnessRewardsLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._rewards != rhs._rewards {return false} - if lhs.distanceWalkedKm != rhs.distanceWalkedKm {return false} + public static func ==(lhs: EchoOutProto, rhs: EchoOutProto) -> Bool { + if lhs.context != rhs.context {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessRewardsLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - ] +extension EchoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EchoProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EchoProto, rhs: EchoProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension FitnessSample: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessSample" +extension EditPokemonTagOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EditPokemonTagOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sample_type"), - 2: .standard(proto: "sample_start_timestamp_ms"), - 3: .standard(proto: "sample_end_timestamp_ms"), - 4: .same(proto: "value"), - 5: .standard(proto: "source_type"), - 6: .same(proto: "metadata"), + 2: .standard(proto: "edit_result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199644,187 +204476,76 @@ extension FitnessSample: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.sampleType) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.sampleStartTimestampMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.sampleEndTimestampMs) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.value) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.sourceType) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._metadata) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.editResult) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.sampleType != .sampleUnset { - try visitor.visitSingularEnumField(value: self.sampleType, fieldNumber: 1) - } - if self.sampleStartTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.sampleStartTimestampMs, fieldNumber: 2) - } - if self.sampleEndTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.sampleEndTimestampMs, fieldNumber: 3) - } - if self.value != 0 { - try visitor.visitSingularDoubleField(value: self.value, fieldNumber: 4) - } - if self.sourceType != .sourceUnset { - try visitor.visitSingularEnumField(value: self.sourceType, fieldNumber: 5) + if !self.editResult.isEmpty { + try visitor.visitPackedEnumField(value: self.editResult, fieldNumber: 2) } - try { if let v = self._metadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessSample, rhs: FitnessSample) -> Bool { - if lhs.sampleType != rhs.sampleType {return false} - if lhs.sampleStartTimestampMs != rhs.sampleStartTimestampMs {return false} - if lhs.sampleEndTimestampMs != rhs.sampleEndTimestampMs {return false} - if lhs.value != rhs.value {return false} - if lhs.sourceType != rhs.sourceType {return false} - if lhs._metadata != rhs._metadata {return false} + public static func ==(lhs: EditPokemonTagOutProto, rhs: EditPokemonTagOutProto) -> Bool { + if lhs.editResult != rhs.editResult {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessSample.FitnessSampleType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SAMPLE_UNSET"), - 1: .same(proto: "STEPS"), - 2: .same(proto: "WALKING_DISTANCE_METERS"), - 3: .same(proto: "WHEELCHAIR_DISTANCE_METERS"), - 4: .same(proto: "CALORIES_KCALS"), - 5: .same(proto: "WHEELCHAIR_PUSH_COUNT"), - 6: .same(proto: "EXERCISE_TIME_MI"), - ] -} - -extension FitnessSample.FitnessSourceType: SwiftProtobuf._ProtoNameProviding { +extension EditPokemonTagOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SOURCE_UNSET"), - 1: .same(proto: "HEALTHKIT"), - 2: .same(proto: "GOOGLE_FIT"), - 3: .same(proto: "APPLE_WATCH"), - 4: .same(proto: "GPS"), - 5: .same(proto: "ANDROID_SENSOR_HUB"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), + 3: .same(proto: "TAG_DOES_NOT_EXIST"), + 4: .same(proto: "INVALID_TAG_NAME"), + 5: .same(proto: "INVALID_TAG_SORT_INDEX"), + 6: .same(proto: "TAG_NAME_CONTAINS_PROFANITY"), ] } -extension FitnessSampleMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessSampleMetadata" +extension EditPokemonTagProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EditPokemonTagProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "original_data_source"), - 2: .standard(proto: "data_source"), - 3: .standard(proto: "source_revision"), - 4: .same(proto: "device"), - 5: .standard(proto: "user_entered"), + 2: .standard(proto: "tag_to_edit"), ] - fileprivate class _StorageClass { - var _originalDataSource: AndroidDataSource? = nil - var _dataSource: AndroidDataSource? = nil - var _sourceRevision: IosSourceRevision? = nil - var _device: IosDevice? = nil - var _userEntered: Bool = false - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _originalDataSource = source._originalDataSource - _dataSource = source._dataSource - _sourceRevision = source._sourceRevision - _device = source._device - _userEntered = source._userEntered - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._originalDataSource) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._dataSource) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._sourceRevision) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._device) }() - case 5: try { try decoder.decodeSingularBoolField(value: &_storage._userEntered) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.tagToEdit) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._originalDataSource { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = _storage._dataSource { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._sourceRevision { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = _storage._device { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if _storage._userEntered != false { - try visitor.visitSingularBoolField(value: _storage._userEntered, fieldNumber: 5) - } + if !self.tagToEdit.isEmpty { + try visitor.visitRepeatedMessageField(value: self.tagToEdit, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessSampleMetadata, rhs: FitnessSampleMetadata) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._originalDataSource != rhs_storage._originalDataSource {return false} - if _storage._dataSource != rhs_storage._dataSource {return false} - if _storage._sourceRevision != rhs_storage._sourceRevision {return false} - if _storage._device != rhs_storage._device {return false} - if _storage._userEntered != rhs_storage._userEntered {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: EditPokemonTagProto, rhs: EditPokemonTagProto) -> Bool { + if lhs.tagToEdit != rhs.tagToEdit {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessStatsProto" +extension EggCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EggCreateDetail" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "last_accumulated_timestamp_ms"), - 2: .same(proto: "accumulated"), - 3: .same(proto: "pending"), - 4: .standard(proto: "player_initial_walk_km"), - 5: .standard(proto: "player_total_walk_km"), - 6: .standard(proto: "player_total_steps"), + 1: .standard(proto: "hatched_time_ms"), + 2: .standard(proto: "player_hatched_s2_cell_id"), + 3: .standard(proto: "received_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199833,59 +204554,40 @@ extension FitnessStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.lastAccumulatedTimestampMs) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._accumulated) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._pending) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerInitialWalkKm) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.playerTotalWalkKm) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.playerTotalSteps) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.hatchedTimeMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.playerHatchedS2CellID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.receivedTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.lastAccumulatedTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.lastAccumulatedTimestampMs, fieldNumber: 1) - } - try { if let v = self._accumulated { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._pending { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if self.playerInitialWalkKm != 0 { - try visitor.visitSingularDoubleField(value: self.playerInitialWalkKm, fieldNumber: 4) + if self.hatchedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.hatchedTimeMs, fieldNumber: 1) } - if self.playerTotalWalkKm != 0 { - try visitor.visitSingularDoubleField(value: self.playerTotalWalkKm, fieldNumber: 5) + if self.playerHatchedS2CellID != 0 { + try visitor.visitSingularInt64Field(value: self.playerHatchedS2CellID, fieldNumber: 2) } - if self.playerTotalSteps != 0 { - try visitor.visitSingularInt64Field(value: self.playerTotalSteps, fieldNumber: 6) + if self.receivedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.receivedTimeMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessStatsProto, rhs: FitnessStatsProto) -> Bool { - if lhs.lastAccumulatedTimestampMs != rhs.lastAccumulatedTimestampMs {return false} - if lhs._accumulated != rhs._accumulated {return false} - if lhs._pending != rhs._pending {return false} - if lhs.playerInitialWalkKm != rhs.playerInitialWalkKm {return false} - if lhs.playerTotalWalkKm != rhs.playerTotalWalkKm {return false} - if lhs.playerTotalSteps != rhs.playerTotalSteps {return false} + public static func ==(lhs: EggCreateDetail, rhs: EggCreateDetail) -> Bool { + if lhs.hatchedTimeMs != rhs.hatchedTimeMs {return false} + if lhs.playerHatchedS2CellID != rhs.playerHatchedS2CellID {return false} + if lhs.receivedTimeMs != rhs.receivedTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessUpdateOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessUpdateOutProto" +extension EggDistributionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EggDistributionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "egg_distribution"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199894,38 +204596,32 @@ extension FitnessUpdateOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.eggDistribution) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.eggDistribution.isEmpty { + try visitor.visitRepeatedMessageField(value: self.eggDistribution, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessUpdateOutProto, rhs: FitnessUpdateOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: EggDistributionProto, rhs: EggDistributionProto) -> Bool { + if lhs.eggDistribution != rhs.eggDistribution {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FitnessUpdateOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension FitnessUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FitnessUpdateProto" +extension EggDistributionProto.EggDistributionEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = EggDistributionProto.protoMessageName + ".EggDistributionEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fitness_samples"), + 1: .same(proto: "rarity"), + 2: .standard(proto: "pokemon_id"), + 3: .standard(proto: "pokemon_display"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -199934,77 +204630,89 @@ extension FitnessUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.fitnessSamples) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.rarity) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.fitnessSamples.isEmpty { - try visitor.visitRepeatedMessageField(value: self.fitnessSamples, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.rarity != .pokemonClassNormal { + try visitor.visitSingularEnumField(value: self.rarity, fieldNumber: 1) + } + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 2) } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FitnessUpdateProto, rhs: FitnessUpdateProto) -> Bool { - if lhs.fitnessSamples != rhs.fitnessSamples {return false} + public static func ==(lhs: EggDistributionProto.EggDistributionEntryProto, rhs: EggDistributionProto.EggDistributionEntryProto) -> Bool { + if lhs.rarity != rhs.rarity {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FlagCategory: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FlagCategory" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension EggHatchImprovementsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EggHatchImprovementsSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "feature_enabled"), + 2: .standard(proto: "boot_delay_ms"), + 3: .standard(proto: "raid_invite_hard_cap_ms"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.featureEnabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.bootDelayMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.raidInviteHardCapMs) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.featureEnabled != false { + try visitor.visitSingularBoolField(value: self.featureEnabled, fieldNumber: 1) + } + if self.bootDelayMs != 0 { + try visitor.visitSingularInt32Field(value: self.bootDelayMs, fieldNumber: 2) + } + if self.raidInviteHardCapMs != 0 { + try visitor.visitSingularInt32Field(value: self.raidInviteHardCapMs, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FlagCategory, rhs: FlagCategory) -> Bool { + public static func ==(lhs: EggHatchImprovementsSettingsProto, rhs: EggHatchImprovementsSettingsProto) -> Bool { + if lhs.featureEnabled != rhs.featureEnabled {return false} + if lhs.bootDelayMs != rhs.bootDelayMs {return false} + if lhs.raidInviteHardCapMs != rhs.raidInviteHardCapMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FlagCategory.Category: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 100: .same(proto: "THREAT"), - 101: .same(proto: "SELF_HARM"), - 102: .same(proto: "NUDITY"), - 103: .same(proto: "VIOLENCE"), - 104: .same(proto: "DRUGS"), - 105: .same(proto: "CHILD_SAFETY"), - 106: .same(proto: "EXTREMISM"), - 107: .same(proto: "WEAPONS_AND_SOLICITATION"), - 108: .same(proto: "PUBLIC_THREAT"), - 200: .same(proto: "INAPPROPRIATE"), - 201: .same(proto: "HATE_SPEECH"), - 202: .same(proto: "PRIVACY_INVASION"), - 203: .same(proto: "SEXUAL"), - 204: .same(proto: "IP_VIOLATION"), - 205: .same(proto: "HACKING"), - 300: .same(proto: "BULLYING"), - 301: .same(proto: "SPAM"), - 302: .same(proto: "OTHER_VIOLATION"), - ] -} - -extension FlagPhotoRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FlagPhotoRequest" +extension EggHatchTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EggHatchTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "reported_player_id"), - 2: .standard(proto: "photo_id"), - 3: .same(proto: "origin"), - 4: .same(proto: "category"), - 5: .standard(proto: "reported_nia_account_id"), + 1: .standard(proto: "num_eggs_hatched"), + 2: .standard(proto: "num_animations_skipped"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200013,50 +204721,37 @@ extension FlagPhotoRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.reportedPlayerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.photoID) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.origin) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.category) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.reportedNiaAccountID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numEggsHatched) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numAnimationsSkipped) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.reportedPlayerID.isEmpty { - try visitor.visitSingularStringField(value: self.reportedPlayerID, fieldNumber: 1) - } - if !self.photoID.isEmpty { - try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 2) - } - if self.origin != .undefinedOrigin { - try visitor.visitSingularEnumField(value: self.origin, fieldNumber: 3) - } - if self.category != .undefined { - try visitor.visitSingularEnumField(value: self.category, fieldNumber: 4) + if self.numEggsHatched != 0 { + try visitor.visitSingularInt32Field(value: self.numEggsHatched, fieldNumber: 1) } - if !self.reportedNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.reportedNiaAccountID, fieldNumber: 5) + if self.numAnimationsSkipped != 0 { + try visitor.visitSingularInt32Field(value: self.numAnimationsSkipped, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FlagPhotoRequest, rhs: FlagPhotoRequest) -> Bool { - if lhs.reportedPlayerID != rhs.reportedPlayerID {return false} - if lhs.photoID != rhs.photoID {return false} - if lhs.origin != rhs.origin {return false} - if lhs.category != rhs.category {return false} - if lhs.reportedNiaAccountID != rhs.reportedNiaAccountID {return false} + public static func ==(lhs: EggHatchTelemetry, rhs: EggHatchTelemetry) -> Bool { + if lhs.numEggsHatched != rhs.numEggsHatched {return false} + if lhs.numAnimationsSkipped != rhs.numAnimationsSkipped {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FlagPhotoResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FlagPhotoResponse" +extension EggIncubatorAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EggIncubatorAttributesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .standard(proto: "incubator_type"), + 2: .same(proto: "uses"), + 3: .standard(proto: "distance_multiplier"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200065,40 +204760,46 @@ extension FlagPhotoResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.incubatorType) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.uses) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.distanceMultiplier) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.incubatorType != .incubatorUnset { + try visitor.visitSingularEnumField(value: self.incubatorType, fieldNumber: 1) + } + if self.uses != 0 { + try visitor.visitSingularInt32Field(value: self.uses, fieldNumber: 2) + } + if self.distanceMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.distanceMultiplier, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FlagPhotoResponse, rhs: FlagPhotoResponse) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: EggIncubatorAttributesProto, rhs: EggIncubatorAttributesProto) -> Bool { + if lhs.incubatorType != rhs.incubatorType {return false} + if lhs.uses != rhs.uses {return false} + if lhs.distanceMultiplier != rhs.distanceMultiplier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FlagPhotoResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "IMAGE_NOT_FOUND"), - 3: .same(proto: "ERROR_UNKNOWN"), - 4: .same(proto: "ERROR_FILING_REPORT"), - ] -} - -extension FloatValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FloatValue" +extension EggIncubatorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EggIncubatorProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), + 1: .standard(proto: "item_id"), + 2: .same(proto: "item"), + 3: .standard(proto: "incubator_type"), + 4: .standard(proto: "uses_remaining"), + 5: .standard(proto: "pokemon_id"), + 6: .standard(proto: "start_km_walked"), + 7: .standard(proto: "target_km_walked"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200107,30 +204808,60 @@ extension FloatValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.value) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.itemID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.incubatorType) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.usesRemaining) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.pokemonID) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.startKmWalked) }() + case 7: try { try decoder.decodeSingularDoubleField(value: &self.targetKmWalked) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.value != 0 { - try visitor.visitSingularFloatField(value: self.value, fieldNumber: 1) + if !self.itemID.isEmpty { + try visitor.visitSingularStringField(value: self.itemID, fieldNumber: 1) + } + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 2) + } + if self.incubatorType != .incubatorUnset { + try visitor.visitSingularEnumField(value: self.incubatorType, fieldNumber: 3) + } + if self.usesRemaining != 0 { + try visitor.visitSingularInt32Field(value: self.usesRemaining, fieldNumber: 4) + } + if self.pokemonID != 0 { + try visitor.visitSingularInt64Field(value: self.pokemonID, fieldNumber: 5) + } + if self.startKmWalked != 0 { + try visitor.visitSingularDoubleField(value: self.startKmWalked, fieldNumber: 6) + } + if self.targetKmWalked != 0 { + try visitor.visitSingularDoubleField(value: self.targetKmWalked, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FloatValue, rhs: FloatValue) -> Bool { - if lhs.value != rhs.value {return false} + public static func ==(lhs: EggIncubatorProto, rhs: EggIncubatorProto) -> Bool { + if lhs.itemID != rhs.itemID {return false} + if lhs.item != rhs.item {return false} + if lhs.incubatorType != rhs.incubatorType {return false} + if lhs.usesRemaining != rhs.usesRemaining {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.startKmWalked != rhs.startKmWalked {return false} + if lhs.targetKmWalked != rhs.targetKmWalked {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FollowerDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FollowerDataProto" +extension EggIncubatorsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EggIncubatorsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_followers"), + 1: .standard(proto: "egg_incubator"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200139,34 +204870,31 @@ extension FollowerDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonFollowers) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.eggIncubator) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.pokemonFollowers.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokemonFollowers, fieldNumber: 1) + if !self.eggIncubator.isEmpty { + try visitor.visitRepeatedMessageField(value: self.eggIncubator, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FollowerDataProto, rhs: FollowerDataProto) -> Bool { - if lhs.pokemonFollowers != rhs.pokemonFollowers {return false} + public static func ==(lhs: EggIncubatorsProto, rhs: EggIncubatorsProto) -> Bool { + if lhs.eggIncubator != rhs.eggIncubator {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FollowerPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FollowerPokemonProto" +extension EggTelemetryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EggTelemetryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .same(proto: "address"), - 3: .same(proto: "display"), - 4: .standard(proto: "end_ms"), - 5: .same(proto: "id"), + 1: .standard(proto: "egg_loot_table_id"), + 2: .standard(proto: "original_egg_slot_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200175,81 +204903,35 @@ extension FollowerPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: HoloPokemonId? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.pokemonData != nil {try decoder.handleConflictingOneOf()} - self.pokemonData = .pokemonID(v) - } - }() - case 2: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.pokemonData != nil {try decoder.handleConflictingOneOf()} - self.pokemonData = .address(v) - } - }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._display) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.endMs) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.id) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.eggLootTableID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.originalEggSlotType) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.pokemonData { - case .pokemonID?: try { - guard case .pokemonID(let v)? = self.pokemonData else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 1) - }() - case .address?: try { - guard case .address(let v)? = self.pokemonData else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 2) - }() - case nil: break - } - try { if let v = self._display { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if self.endMs != 0 { - try visitor.visitSingularInt64Field(value: self.endMs, fieldNumber: 4) + if !self.eggLootTableID.isEmpty { + try visitor.visitSingularStringField(value: self.eggLootTableID, fieldNumber: 1) } - if self.id != .unset { - try visitor.visitSingularEnumField(value: self.id, fieldNumber: 5) + if self.originalEggSlotType != .eggSlotDefault { + try visitor.visitSingularEnumField(value: self.originalEggSlotType, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FollowerPokemonProto, rhs: FollowerPokemonProto) -> Bool { - if lhs.pokemonData != rhs.pokemonData {return false} - if lhs._display != rhs._display {return false} - if lhs.endMs != rhs.endMs {return false} - if lhs.id != rhs.id {return false} + public static func ==(lhs: EggTelemetryProto, rhs: EggTelemetryProto) -> Bool { + if lhs.eggLootTableID != rhs.eggLootTableID {return false} + if lhs.originalEggSlotType != rhs.originalEggSlotType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FollowerPokemonProto.FollowerId: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ID_1"), - ] -} - -extension FollowerPokemonTappedTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FollowerPokemonTappedTelemetry" +extension EggTransparencySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EggTransparencySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "follower_holo_pokemon_id"), - 3: .standard(proto: "follower_address"), - 1: .standard(proto: "follower_id"), + 1: .standard(proto: "enable_egg_distribution"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200258,70 +204940,30 @@ extension FollowerPokemonTappedTelemetry: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.followerID) }() - case 2: try { - var v: HoloPokemonId? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.pokemonData != nil {try decoder.handleConflictingOneOf()} - self.pokemonData = .followerHoloPokemonID(v) - } - }() - case 3: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.pokemonData != nil {try decoder.handleConflictingOneOf()} - self.pokemonData = .followerAddress(v) - } - }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableEggDistribution) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.followerID != .unset { - try visitor.visitSingularEnumField(value: self.followerID, fieldNumber: 1) - } - switch self.pokemonData { - case .followerHoloPokemonID?: try { - guard case .followerHoloPokemonID(let v)? = self.pokemonData else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 2) - }() - case .followerAddress?: try { - guard case .followerAddress(let v)? = self.pokemonData else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 3) - }() - case nil: break + if self.enableEggDistribution != false { + try visitor.visitSingularBoolField(value: self.enableEggDistribution, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FollowerPokemonTappedTelemetry, rhs: FollowerPokemonTappedTelemetry) -> Bool { - if lhs.pokemonData != rhs.pokemonData {return false} - if lhs.followerID != rhs.followerID {return false} + public static func ==(lhs: EggTransparencySettingsProto, rhs: EggTransparencySettingsProto) -> Bool { + if lhs.enableEggDistribution != rhs.enableEggDistribution {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FoodAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FoodAttributesProto" +extension EligibleContestPoolSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EligibleContestPoolSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "item_effect"), - 2: .standard(proto: "item_effect_percent"), - 3: .standard(proto: "growth_percent"), - 4: .standard(proto: "berry_multiplier"), - 5: .standard(proto: "remote_berry_multiplier"), - 6: .standard(proto: "num_buddy_affection_points"), - 7: .standard(proto: "map_duration_ms"), - 8: .standard(proto: "active_duration_ms"), - 9: .standard(proto: "num_buddy_hunger_points"), + 1: .same(proto: "contest"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200330,72 +204972,31 @@ extension FoodAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.itemEffect) }() - case 2: try { try decoder.decodeRepeatedFloatField(value: &self.itemEffectPercent) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.growthPercent) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.berryMultiplier) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.remoteBerryMultiplier) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.numBuddyAffectionPoints) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.mapDurationMs) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &self.activeDurationMs) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.numBuddyHungerPoints) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contest) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.itemEffect.isEmpty { - try visitor.visitPackedEnumField(value: self.itemEffect, fieldNumber: 1) - } - if !self.itemEffectPercent.isEmpty { - try visitor.visitPackedFloatField(value: self.itemEffectPercent, fieldNumber: 2) - } - if self.growthPercent != 0 { - try visitor.visitSingularFloatField(value: self.growthPercent, fieldNumber: 3) - } - if self.berryMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.berryMultiplier, fieldNumber: 4) - } - if self.remoteBerryMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.remoteBerryMultiplier, fieldNumber: 5) - } - if self.numBuddyAffectionPoints != 0 { - try visitor.visitSingularInt32Field(value: self.numBuddyAffectionPoints, fieldNumber: 6) - } - if self.mapDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.mapDurationMs, fieldNumber: 7) - } - if self.activeDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.activeDurationMs, fieldNumber: 8) - } - if self.numBuddyHungerPoints != 0 { - try visitor.visitSingularInt32Field(value: self.numBuddyHungerPoints, fieldNumber: 9) + if !self.contest.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contest, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FoodAttributesProto, rhs: FoodAttributesProto) -> Bool { - if lhs.itemEffect != rhs.itemEffect {return false} - if lhs.itemEffectPercent != rhs.itemEffectPercent {return false} - if lhs.growthPercent != rhs.growthPercent {return false} - if lhs.berryMultiplier != rhs.berryMultiplier {return false} - if lhs.remoteBerryMultiplier != rhs.remoteBerryMultiplier {return false} - if lhs.numBuddyAffectionPoints != rhs.numBuddyAffectionPoints {return false} - if lhs.mapDurationMs != rhs.mapDurationMs {return false} - if lhs.activeDurationMs != rhs.activeDurationMs {return false} - if lhs.numBuddyHungerPoints != rhs.numBuddyHungerPoints {return false} + public static func ==(lhs: EligibleContestPoolSettingsProto, rhs: EligibleContestPoolSettingsProto) -> Bool { + if lhs.contest != rhs.contest {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FoodValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FoodValue" +extension EligibleContestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EligibleContestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "motivation_increase"), - 2: .standard(proto: "cp_increase"), - 3: .standard(proto: "food_item"), + 1: .same(proto: "contest"), + 2: .same(proto: "weight"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200404,45 +205005,39 @@ extension FoodValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.motivationIncrease) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.cpIncrease) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.foodItem) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._contest) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.weight) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.motivationIncrease != 0 { - try visitor.visitSingularFloatField(value: self.motivationIncrease, fieldNumber: 1) - } - if self.cpIncrease != 0 { - try visitor.visitSingularInt32Field(value: self.cpIncrease, fieldNumber: 2) - } - if self.foodItem != .unknown { - try visitor.visitSingularEnumField(value: self.foodItem, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._contest { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.weight != 0 { + try visitor.visitSingularFloatField(value: self.weight, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FoodValue, rhs: FoodValue) -> Bool { - if lhs.motivationIncrease != rhs.motivationIncrease {return false} - if lhs.cpIncrease != rhs.cpIncrease {return false} - if lhs.foodItem != rhs.foodItem {return false} + public static func ==(lhs: EligibleContestProto, rhs: EligibleContestProto) -> Bool { + if lhs._contest != rhs._contest {return false} + if lhs.weight != rhs.weight {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FormChangeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FormChangeProto" +extension EnabledPokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EnabledPokemonSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "available_form"), - 2: .standard(proto: "candy_cost"), - 3: .standard(proto: "stardust_cost"), - 4: .standard(proto: "item_cost"), - 5: .standard(proto: "quest_requirement"), - 6: .standard(proto: "ob_int32"), + 3: .standard(proto: "enabled_pokemon_range"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200451,55 +205046,31 @@ extension FormChangeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.availableForm) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.candyCost) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.stardustCost) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.itemCost) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.questRequirement) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.enabledPokemonRange) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.availableForm.isEmpty { - try visitor.visitPackedEnumField(value: self.availableForm, fieldNumber: 1) - } - if self.candyCost != 0 { - try visitor.visitSingularInt32Field(value: self.candyCost, fieldNumber: 2) - } - if self.stardustCost != 0 { - try visitor.visitSingularInt32Field(value: self.stardustCost, fieldNumber: 3) - } - if self.itemCost != .unknown { - try visitor.visitSingularEnumField(value: self.itemCost, fieldNumber: 4) - } - if !self.questRequirement.isEmpty { - try visitor.visitRepeatedMessageField(value: self.questRequirement, fieldNumber: 5) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 6) + if !self.enabledPokemonRange.isEmpty { + try visitor.visitRepeatedMessageField(value: self.enabledPokemonRange, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FormChangeProto, rhs: FormChangeProto) -> Bool { - if lhs.availableForm != rhs.availableForm {return false} - if lhs.candyCost != rhs.candyCost {return false} - if lhs.stardustCost != rhs.stardustCost {return false} - if lhs.itemCost != rhs.itemCost {return false} - if lhs.questRequirement != rhs.questRequirement {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: EnabledPokemonSettingsProto, rhs: EnabledPokemonSettingsProto) -> Bool { + if lhs.enabledPokemonRange != rhs.enabledPokemonRange {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FormChangeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FormChangeSettingsProto" +extension EnabledPokemonSettingsProto.Range: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = EnabledPokemonSettingsProto.protoMessageName + ".Range" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 1: .same(proto: "start"), + 2: .same(proto: "end"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200508,34 +205079,40 @@ extension FormChangeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.start) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.end) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.start != 0 { + try visitor.visitSingularInt32Field(value: self.start, fieldNumber: 1) + } + if self.end != 0 { + try visitor.visitSingularInt32Field(value: self.end, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FormChangeSettingsProto, rhs: FormChangeSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: EnabledPokemonSettingsProto.Range, rhs: EnabledPokemonSettingsProto.Range) -> Bool { + if lhs.start != rhs.start {return false} + if lhs.end != rhs.end {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FormProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FormProto" +extension EncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "form"), - 2: .standard(proto: "asset_bundle_value"), - 3: .standard(proto: "asset_bundle_suffix"), - 4: .standard(proto: "is_costume"), - 5: .standard(proto: "ob_form_data"), + 1: .same(proto: "pokemon"), + 2: .same(proto: "background"), + 3: .same(proto: "status"), + 4: .standard(proto: "capture_probability"), + 5: .standard(proto: "active_item"), + 6: .standard(proto: "arplus_attempts_until_flee"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200544,11 +205121,12 @@ extension FormProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.form) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.assetBundleValue) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.assetBundleSuffix) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.isCostume) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._obFormData) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.background) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() default: break } } @@ -200559,46 +205137,71 @@ extension FormProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.form != .unset { - try visitor.visitSingularEnumField(value: self.form, fieldNumber: 1) + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.background != .park { + try visitor.visitSingularEnumField(value: self.background, fieldNumber: 2) } - if self.assetBundleValue != 0 { - try visitor.visitSingularInt32Field(value: self.assetBundleValue, fieldNumber: 2) + if self.status != .encounterError { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) } - if !self.assetBundleSuffix.isEmpty { - try visitor.visitSingularStringField(value: self.assetBundleSuffix, fieldNumber: 3) + try { if let v = self._captureProbability { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 5) } - if self.isCostume != false { - try visitor.visitSingularBoolField(value: self.isCostume, fieldNumber: 4) + if self.arplusAttemptsUntilFlee != 0 { + try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 6) } - try { if let v = self._obFormData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FormProto, rhs: FormProto) -> Bool { - if lhs.form != rhs.form {return false} - if lhs.assetBundleValue != rhs.assetBundleValue {return false} - if lhs.assetBundleSuffix != rhs.assetBundleSuffix {return false} - if lhs.isCostume != rhs.isCostume {return false} - if lhs._obFormData != rhs._obFormData {return false} + public static func ==(lhs: EncounterOutProto, rhs: EncounterOutProto) -> Bool { + if lhs._pokemon != rhs._pokemon {return false} + if lhs.background != rhs.background {return false} + if lhs.status != rhs.status {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} + if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FormRenderModifier: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FormRenderModifier" +extension EncounterOutProto.Background: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "effect_target"), - 3: .standard(proto: "pokemon_id"), - 4: .standard(proto: "pokedex_id"), - 5: .standard(proto: "pokemon_form"), - 6: .same(proto: "alignment"), - 7: .standard(proto: "transition_vfx_key"), - 8: .standard(proto: "ob_int64"), + 0: .same(proto: "PARK"), + 1: .same(proto: "DESERT"), + 2: .same(proto: "BEACH"), + 3: .same(proto: "LAKE"), + 4: .same(proto: "RIVER"), + 5: .same(proto: "OCEAN"), + ] +} + +extension EncounterOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "ENCOUNTER_ERROR"), + 1: .same(proto: "ENCOUNTER_SUCCESS"), + 2: .same(proto: "ENCOUNTER_NOT_FOUND"), + 3: .same(proto: "ENCOUNTER_CLOSED"), + 4: .same(proto: "ENCOUNTER_POKEMON_FLED"), + 5: .same(proto: "ENCOUNTER_NOT_IN_RANGE"), + 6: .same(proto: "ENCOUNTER_ALREADY_HAPPENED"), + 7: .same(proto: "POKEMON_INVENTORY_FULL"), + ] +} + +extension EncounterPhotobombOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterPhotobombOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "capture_probability"), + 4: .standard(proto: "active_item"), + 5: .standard(proto: "arplus_attempts_until_flee"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200607,92 +205210,65 @@ extension FormRenderModifier: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.effectTarget) }() - case 3: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.pokemonForm) }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.alignment) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.transitionVfxKey) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.type.isEmpty { - try visitor.visitPackedEnumField(value: self.type, fieldNumber: 1) - } - if self.effectTarget != .unsetTarget { - try visitor.visitSingularEnumField(value: self.effectTarget, fieldNumber: 2) - } - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 3) - } - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 4) - } - if self.pokemonForm != .unset { - try visitor.visitSingularEnumField(value: self.pokemonForm, fieldNumber: 5) - } - if self.alignment != .unset { - try visitor.visitSingularEnumField(value: self.alignment, fieldNumber: 6) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.transitionVfxKey != .defaultTransition { - try visitor.visitSingularEnumField(value: self.transitionVfxKey, fieldNumber: 7) + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._captureProbability { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 8) + if self.arplusAttemptsUntilFlee != 0 { + try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FormRenderModifier, rhs: FormRenderModifier) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.effectTarget != rhs.effectTarget {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.pokedexID != rhs.pokedexID {return false} - if lhs.pokemonForm != rhs.pokemonForm {return false} - if lhs.alignment != rhs.alignment {return false} - if lhs.transitionVfxKey != rhs.transitionVfxKey {return false} - if lhs.obInt64 != rhs.obInt64 {return false} + public static func ==(lhs: EncounterPhotobombOutProto, rhs: EncounterPhotobombOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} + if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FormRenderModifier.RenderModifierType: SwiftProtobuf._ProtoNameProviding { +extension EncounterPhotobombOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUPPRESS_SELF"), - 2: .same(proto: "SUPPRESS_OPPONENT"), - 3: .same(proto: "DISPLAY_CHANGE"), - ] -} - -extension FormRenderModifier.EffectTarget: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_TARGET"), - 1: .same(proto: "DEFENDER"), - 2: .same(proto: "ATTACKER"), - 3: .same(proto: "ALL_PLAYERS"), - ] -} - -extension FormRenderModifier.TransitionVfxKey: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DEFAULT_TRANSITION"), - 1: .same(proto: "SHADOW_ENRAGE"), - 2: .same(proto: "SHADOW_SUPPRESS"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "NO_ENCOUNTER_AVAILABLE"), + 3: .same(proto: "POKEMON_INVENTORY_FULL"), + 4: .same(proto: "ERROR_UNKNOWN"), ] } -extension FormSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FormSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .same(proto: "forms"), +extension EncounterPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterPhotobombProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "encounter_location"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200701,38 +205277,38 @@ extension FormSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemon) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.forms) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemon != .missingno { - try visitor.visitSingularEnumField(value: self.pokemon, fieldNumber: 1) + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) } - if !self.forms.isEmpty { - try visitor.visitRepeatedMessageField(value: self.forms, fieldNumber: 2) + if !self.encounterLocation.isEmpty { + try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FormSettingsProto, rhs: FormSettingsProto) -> Bool { - if lhs.pokemon != rhs.pokemon {return false} - if lhs.forms != rhs.forms {return false} + public static func ==(lhs: EncounterPhotobombProto, rhs: EncounterPhotobombProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.encounterLocation != rhs.encounterLocation {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FormsRefactorSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FormsRefactorSettings" +extension EncounterPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterPokemonTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_forms_refactor_settings_bool_1"), - 2: .standard(proto: "ob_forms_refactor_settings_bool_2"), - 3: .standard(proto: "ob_forms_refactor_settings_bool_3"), - 4: .standard(proto: "enable_singular_shadow_form"), + 1: .same(proto: "pokemon"), + 2: .standard(proto: "map_pokemon_type"), + 3: .standard(proto: "ar_enabled"), + 4: .standard(proto: "ar_plus_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200741,48 +205317,52 @@ extension FormsRefactorSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obFormsRefactorSettingsBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obFormsRefactorSettingsBool2) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obFormsRefactorSettingsBool3) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.enableSingularShadowForm) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.mapPokemonType) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.arEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.arPlusEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obFormsRefactorSettingsBool1 != false { - try visitor.visitSingularBoolField(value: self.obFormsRefactorSettingsBool1, fieldNumber: 1) - } - if self.obFormsRefactorSettingsBool2 != false { - try visitor.visitSingularBoolField(value: self.obFormsRefactorSettingsBool2, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.mapPokemonType.isEmpty { + try visitor.visitSingularStringField(value: self.mapPokemonType, fieldNumber: 2) } - if self.obFormsRefactorSettingsBool3 != false { - try visitor.visitSingularBoolField(value: self.obFormsRefactorSettingsBool3, fieldNumber: 3) + if self.arEnabled != false { + try visitor.visitSingularBoolField(value: self.arEnabled, fieldNumber: 3) } - if self.enableSingularShadowForm != false { - try visitor.visitSingularBoolField(value: self.enableSingularShadowForm, fieldNumber: 4) + if self.arPlusEnabled != false { + try visitor.visitSingularBoolField(value: self.arPlusEnabled, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FormsRefactorSettings, rhs: FormsRefactorSettings) -> Bool { - if lhs.obFormsRefactorSettingsBool1 != rhs.obFormsRefactorSettingsBool1 {return false} - if lhs.obFormsRefactorSettingsBool2 != rhs.obFormsRefactorSettingsBool2 {return false} - if lhs.obFormsRefactorSettingsBool3 != rhs.obFormsRefactorSettingsBool3 {return false} - if lhs.enableSingularShadowForm != rhs.enableSingularShadowForm {return false} + public static func ==(lhs: EncounterPokemonTelemetry, rhs: EncounterPokemonTelemetry) -> Bool { + if lhs._pokemon != rhs._pokemon {return false} + if lhs.mapPokemonType != rhs.mapPokemonType {return false} + if lhs.arEnabled != rhs.arEnabled {return false} + if lhs.arPlusEnabled != rhs.arPlusEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortDeployOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortDeployOutProto" +extension EncounterPokestopEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterPokestopEncounterOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "fort_details_out_proto"), - 3: .standard(proto: "egg_pokemon"), - 4: .standard(proto: "gym_state_proto"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "capture_probability"), + 4: .standard(proto: "active_item"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -200792,9 +205372,9 @@ extension FortDeployOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._fortDetailsOutProto) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._eggPokemon) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._gymStateProto) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() default: break } } @@ -200805,56 +205385,84 @@ extension FortDeployOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .noResultSet { + if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._fortDetailsOutProto { + try { if let v = self._pokemon { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if let v = self._eggPokemon { + try { if let v = self._captureProbability { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() - try { if let v = self._gymStateProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortDeployOutProto, rhs: FortDeployOutProto) -> Bool { + public static func ==(lhs: EncounterPokestopEncounterOutProto, rhs: EncounterPokestopEncounterOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs._fortDetailsOutProto != rhs._fortDetailsOutProto {return false} - if lhs._eggPokemon != rhs._eggPokemon {return false} - if lhs._gymStateProto != rhs._gymStateProto {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortDeployOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension EncounterPokestopEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_RESULT_SET"), + 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_ALREADY_HAS_POKEMON_ON_FORT"), - 3: .same(proto: "ERROR_OPPOSING_TEAM_OWNS_FORT"), - 4: .same(proto: "ERROR_FORT_IS_FULL"), - 5: .same(proto: "ERROR_NOT_IN_RANGE"), - 6: .same(proto: "ERROR_PLAYER_HAS_NO_TEAM"), - 7: .same(proto: "ERROR_POKEMON_NOT_FULL_HP"), - 8: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), - 9: .same(proto: "ERROR_POKEMON_IS_BUDDY"), - 10: .same(proto: "ERROR_FORT_DEPLOY_LOCKOUT"), - 11: .same(proto: "ERROR_PLAYER_HAS_NO_NICKNAME"), - 12: .same(proto: "ERROR_POI_INACCESSIBLE"), - 13: .same(proto: "ERROR_LEGENDARY_POKEMON"), - 14: .same(proto: "ERROR_INVALID_POKEMON"), + 2: .same(proto: "NO_ENCOUNTER_AVAILABLE"), + 3: .same(proto: "POKEMON_INVENTORY_FULL"), + 4: .same(proto: "ERROR_UNKNOWN"), ] } -extension FortDeployProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortDeployProto" +extension EncounterPokestopEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterPokestopEncounterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_id"), - 2: .standard(proto: "pokemon_id"), + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "encounter_location"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) + } + if !self.encounterLocation.isEmpty { + try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EncounterPokestopEncounterProto, rhs: EncounterPokestopEncounterProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.encounterLocation != rhs.encounterLocation {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension EncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "spawnpoint_id"), 3: .standard(proto: "player_lat_degrees"), 4: .standard(proto: "player_lng_degrees"), ] @@ -200865,8 +205473,8 @@ extension FortDeployProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.spawnpointID) }() case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() default: break @@ -200875,11 +205483,11 @@ extension FortDeployProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen } public func traverse(visitor: inout V) throws { - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 1) } - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 2) + if !self.spawnpointID.isEmpty { + try visitor.visitSingularStringField(value: self.spawnpointID, fieldNumber: 2) } if self.playerLatDegrees != 0 { try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) @@ -200890,9 +205498,9 @@ extension FortDeployProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortDeployProto, rhs: FortDeployProto) -> Bool { - if lhs.fortID != rhs.fortID {return false} - if lhs.pokemonID != rhs.pokemonID {return false} + public static func ==(lhs: EncounterProto, rhs: EncounterProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.spawnpointID != rhs.spawnpointID {return false} if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -200900,93 +205508,96 @@ extension FortDeployProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen } } -extension FortDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortDetailsOutProto" +extension EncounterSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "team"), - 3: .same(proto: "pokemon"), - 4: .same(proto: "name"), - 5: .standard(proto: "image_url"), - 6: .same(proto: "fp"), - 7: .same(proto: "stamina"), - 8: .standard(proto: "max_stamina"), - 9: .standard(proto: "fort_type"), - 10: .same(proto: "latitude"), - 11: .same(proto: "longitude"), - 12: .same(proto: "description"), - 13: .same(proto: "modifier"), - 14: .standard(proto: "close_soon"), - 15: .standard(proto: "checkin_image_url"), - 16: .standard(proto: "event_info"), - 17: .standard(proto: "promo_description"), - 18: .standard(proto: "call_to_action_link"), - 19: .standard(proto: "sponsored_details"), - 20: .standard(proto: "geostore_tombstone_message_key"), - 21: .standard(proto: "geostore_suspension_message_key"), - 22: .standard(proto: "poi_images_count"), - 23: .standard(proto: "power_up_progress_points"), - 24: .standard(proto: "power_up_level_expiration_ms"), - 25: .standard(proto: "next_fort_close_ms"), + 1: .standard(proto: "spin_bonus_threshold"), + 2: .standard(proto: "excellent_throw_threshold"), + 3: .standard(proto: "great_throw_threshold"), + 4: .standard(proto: "nice_throw_threshold"), + 5: .standard(proto: "milestone_threshold"), + 6: .standard(proto: "ar_plus_mode_enabled"), + 7: .standard(proto: "ar_close_proximity_threshold"), + 8: .standard(proto: "ar_low_awareness_threshold"), + 9: .standard(proto: "ar_close_proximity_multiplier"), + 10: .standard(proto: "ar_awareness_penalty_threshold"), + 11: .standard(proto: "ar_low_awareness_max_multiplier"), + 12: .standard(proto: "ar_high_awareness_min_penalty_multiplier"), + 13: .standard(proto: "ar_plus_attempts_until_flee_max"), + 14: .standard(proto: "ar_plus_attempts_until_flee_infinite"), + 15: .standard(proto: "escaped_bonus_multiplier_max"), + 16: .standard(proto: "escaped_bonus_multiplier_by_excellent_throw"), + 17: .standard(proto: "escaped_bonus_multiplier_by_great_throw"), + 18: .standard(proto: "escaped_bonus_multiplier_by_nice_throw"), + 19: .standard(proto: "encounter_arena_scene_asset_name"), + 20: .standard(proto: "global_stardust_multiplier"), + 21: .standard(proto: "global_candy_multiplier"), + 22: .standard(proto: "critical_reticle_threshold"), + 23: .standard(proto: "critical_reticle_catch_multiplier"), + 24: .standard(proto: "critical_reticle_capture_rate_threshold"), + 25: .standard(proto: "critical_reticle_fallback_catch_multiplier"), + 26: .standard(proto: "show_last_throw_animation"), ] fileprivate class _StorageClass { - var _id: String = String() - var _team: Team = .unset - var _pokemon: [PokemonProto] = [] - var _name: String = String() - var _imageURL: [String] = [] - var _fp: Int32 = 0 - var _stamina: Int32 = 0 - var _maxStamina: Int32 = 0 - var _fortType: FortType = .gym - var _latitude: Double = 0 - var _longitude: Double = 0 - var _description_p: String = String() - var _modifier: [ClientFortModifierProto] = [] - var _closeSoon: Bool = false - var _checkinImageURL: String = String() - var _eventInfo: EventInfoProto? = nil - var _promoDescription: [String] = [] - var _callToActionLink: String = String() - var _sponsoredDetails: SponsoredDetailsProto? = nil - var _geostoreTombstoneMessageKey: String = String() - var _geostoreSuspensionMessageKey: String = String() - var _poiImagesCount: Int32 = 0 - var _powerUpProgressPoints: Int32 = 0 - var _powerUpLevelExpirationMs: Int64 = 0 - var _nextFortCloseMs: Int64 = 0 + var _spinBonusThreshold: Float = 0 + var _excellentThrowThreshold: Float = 0 + var _greatThrowThreshold: Float = 0 + var _niceThrowThreshold: Float = 0 + var _milestoneThreshold: Int32 = 0 + var _arPlusModeEnabled: Bool = false + var _arCloseProximityThreshold: Float = 0 + var _arLowAwarenessThreshold: Float = 0 + var _arCloseProximityMultiplier: Float = 0 + var _arAwarenessPenaltyThreshold: Float = 0 + var _arLowAwarenessMaxMultiplier: Float = 0 + var _arHighAwarenessMinPenaltyMultiplier: Float = 0 + var _arPlusAttemptsUntilFleeMax: Int32 = 0 + var _arPlusAttemptsUntilFleeInfinite: Int32 = 0 + var _escapedBonusMultiplierMax: Float = 0 + var _escapedBonusMultiplierByExcellentThrow: Float = 0 + var _escapedBonusMultiplierByGreatThrow: Float = 0 + var _escapedBonusMultiplierByNiceThrow: Float = 0 + var _encounterArenaSceneAssetName: String = String() + var _globalStardustMultiplier: Float = 0 + var _globalCandyMultiplier: Float = 0 + var _criticalReticleThreshold: Float = 0 + var _criticalReticleCatchMultiplier: Float = 0 + var _criticalReticleCaptureRateThreshold: Float = 0 + var _criticalReticleFallbackCatchMultiplier: Float = 0 + var _showLastThrowAnimation: Bool = false static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _id = source._id - _team = source._team - _pokemon = source._pokemon - _name = source._name - _imageURL = source._imageURL - _fp = source._fp - _stamina = source._stamina - _maxStamina = source._maxStamina - _fortType = source._fortType - _latitude = source._latitude - _longitude = source._longitude - _description_p = source._description_p - _modifier = source._modifier - _closeSoon = source._closeSoon - _checkinImageURL = source._checkinImageURL - _eventInfo = source._eventInfo - _promoDescription = source._promoDescription - _callToActionLink = source._callToActionLink - _sponsoredDetails = source._sponsoredDetails - _geostoreTombstoneMessageKey = source._geostoreTombstoneMessageKey - _geostoreSuspensionMessageKey = source._geostoreSuspensionMessageKey - _poiImagesCount = source._poiImagesCount - _powerUpProgressPoints = source._powerUpProgressPoints - _powerUpLevelExpirationMs = source._powerUpLevelExpirationMs - _nextFortCloseMs = source._nextFortCloseMs + _spinBonusThreshold = source._spinBonusThreshold + _excellentThrowThreshold = source._excellentThrowThreshold + _greatThrowThreshold = source._greatThrowThreshold + _niceThrowThreshold = source._niceThrowThreshold + _milestoneThreshold = source._milestoneThreshold + _arPlusModeEnabled = source._arPlusModeEnabled + _arCloseProximityThreshold = source._arCloseProximityThreshold + _arLowAwarenessThreshold = source._arLowAwarenessThreshold + _arCloseProximityMultiplier = source._arCloseProximityMultiplier + _arAwarenessPenaltyThreshold = source._arAwarenessPenaltyThreshold + _arLowAwarenessMaxMultiplier = source._arLowAwarenessMaxMultiplier + _arHighAwarenessMinPenaltyMultiplier = source._arHighAwarenessMinPenaltyMultiplier + _arPlusAttemptsUntilFleeMax = source._arPlusAttemptsUntilFleeMax + _arPlusAttemptsUntilFleeInfinite = source._arPlusAttemptsUntilFleeInfinite + _escapedBonusMultiplierMax = source._escapedBonusMultiplierMax + _escapedBonusMultiplierByExcellentThrow = source._escapedBonusMultiplierByExcellentThrow + _escapedBonusMultiplierByGreatThrow = source._escapedBonusMultiplierByGreatThrow + _escapedBonusMultiplierByNiceThrow = source._escapedBonusMultiplierByNiceThrow + _encounterArenaSceneAssetName = source._encounterArenaSceneAssetName + _globalStardustMultiplier = source._globalStardustMultiplier + _globalCandyMultiplier = source._globalCandyMultiplier + _criticalReticleThreshold = source._criticalReticleThreshold + _criticalReticleCatchMultiplier = source._criticalReticleCatchMultiplier + _criticalReticleCaptureRateThreshold = source._criticalReticleCaptureRateThreshold + _criticalReticleFallbackCatchMultiplier = source._criticalReticleFallbackCatchMultiplier + _showLastThrowAnimation = source._showLastThrowAnimation } } @@ -201005,31 +205616,32 @@ extension FortDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._id) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._team) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._pokemon) }() - case 4: try { try decoder.decodeSingularStringField(value: &_storage._name) }() - case 5: try { try decoder.decodeRepeatedStringField(value: &_storage._imageURL) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._fp) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._stamina) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._maxStamina) }() - case 9: try { try decoder.decodeSingularEnumField(value: &_storage._fortType) }() - case 10: try { try decoder.decodeSingularDoubleField(value: &_storage._latitude) }() - case 11: try { try decoder.decodeSingularDoubleField(value: &_storage._longitude) }() - case 12: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }() - case 13: try { try decoder.decodeRepeatedMessageField(value: &_storage._modifier) }() - case 14: try { try decoder.decodeSingularBoolField(value: &_storage._closeSoon) }() - case 15: try { try decoder.decodeSingularStringField(value: &_storage._checkinImageURL) }() - case 16: try { try decoder.decodeSingularMessageField(value: &_storage._eventInfo) }() - case 17: try { try decoder.decodeRepeatedStringField(value: &_storage._promoDescription) }() - case 18: try { try decoder.decodeSingularStringField(value: &_storage._callToActionLink) }() - case 19: try { try decoder.decodeSingularMessageField(value: &_storage._sponsoredDetails) }() - case 20: try { try decoder.decodeSingularStringField(value: &_storage._geostoreTombstoneMessageKey) }() - case 21: try { try decoder.decodeSingularStringField(value: &_storage._geostoreSuspensionMessageKey) }() - case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._poiImagesCount) }() - case 23: try { try decoder.decodeSingularInt32Field(value: &_storage._powerUpProgressPoints) }() - case 24: try { try decoder.decodeSingularInt64Field(value: &_storage._powerUpLevelExpirationMs) }() - case 25: try { try decoder.decodeSingularInt64Field(value: &_storage._nextFortCloseMs) }() + case 1: try { try decoder.decodeSingularFloatField(value: &_storage._spinBonusThreshold) }() + case 2: try { try decoder.decodeSingularFloatField(value: &_storage._excellentThrowThreshold) }() + case 3: try { try decoder.decodeSingularFloatField(value: &_storage._greatThrowThreshold) }() + case 4: try { try decoder.decodeSingularFloatField(value: &_storage._niceThrowThreshold) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._milestoneThreshold) }() + case 6: try { try decoder.decodeSingularBoolField(value: &_storage._arPlusModeEnabled) }() + case 7: try { try decoder.decodeSingularFloatField(value: &_storage._arCloseProximityThreshold) }() + case 8: try { try decoder.decodeSingularFloatField(value: &_storage._arLowAwarenessThreshold) }() + case 9: try { try decoder.decodeSingularFloatField(value: &_storage._arCloseProximityMultiplier) }() + case 10: try { try decoder.decodeSingularFloatField(value: &_storage._arAwarenessPenaltyThreshold) }() + case 11: try { try decoder.decodeSingularFloatField(value: &_storage._arLowAwarenessMaxMultiplier) }() + case 12: try { try decoder.decodeSingularFloatField(value: &_storage._arHighAwarenessMinPenaltyMultiplier) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._arPlusAttemptsUntilFleeMax) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._arPlusAttemptsUntilFleeInfinite) }() + case 15: try { try decoder.decodeSingularFloatField(value: &_storage._escapedBonusMultiplierMax) }() + case 16: try { try decoder.decodeSingularFloatField(value: &_storage._escapedBonusMultiplierByExcellentThrow) }() + case 17: try { try decoder.decodeSingularFloatField(value: &_storage._escapedBonusMultiplierByGreatThrow) }() + case 18: try { try decoder.decodeSingularFloatField(value: &_storage._escapedBonusMultiplierByNiceThrow) }() + case 19: try { try decoder.decodeSingularStringField(value: &_storage._encounterArenaSceneAssetName) }() + case 20: try { try decoder.decodeSingularFloatField(value: &_storage._globalStardustMultiplier) }() + case 21: try { try decoder.decodeSingularFloatField(value: &_storage._globalCandyMultiplier) }() + case 22: try { try decoder.decodeSingularFloatField(value: &_storage._criticalReticleThreshold) }() + case 23: try { try decoder.decodeSingularFloatField(value: &_storage._criticalReticleCatchMultiplier) }() + case 24: try { try decoder.decodeSingularFloatField(value: &_storage._criticalReticleCaptureRateThreshold) }() + case 25: try { try decoder.decodeSingularFloatField(value: &_storage._criticalReticleFallbackCatchMultiplier) }() + case 26: try { try decoder.decodeSingularBoolField(value: &_storage._showLastThrowAnimation) }() default: break } } @@ -201038,119 +205650,119 @@ extension FortDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl public func traverse(visitor: inout V) throws { try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._id.isEmpty { - try visitor.visitSingularStringField(value: _storage._id, fieldNumber: 1) + if _storage._spinBonusThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._spinBonusThreshold, fieldNumber: 1) } - if _storage._team != .unset { - try visitor.visitSingularEnumField(value: _storage._team, fieldNumber: 2) + if _storage._excellentThrowThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._excellentThrowThreshold, fieldNumber: 2) } - if !_storage._pokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._pokemon, fieldNumber: 3) + if _storage._greatThrowThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._greatThrowThreshold, fieldNumber: 3) } - if !_storage._name.isEmpty { - try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 4) + if _storage._niceThrowThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._niceThrowThreshold, fieldNumber: 4) } - if !_storage._imageURL.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._imageURL, fieldNumber: 5) + if _storage._milestoneThreshold != 0 { + try visitor.visitSingularInt32Field(value: _storage._milestoneThreshold, fieldNumber: 5) } - if _storage._fp != 0 { - try visitor.visitSingularInt32Field(value: _storage._fp, fieldNumber: 6) + if _storage._arPlusModeEnabled != false { + try visitor.visitSingularBoolField(value: _storage._arPlusModeEnabled, fieldNumber: 6) } - if _storage._stamina != 0 { - try visitor.visitSingularInt32Field(value: _storage._stamina, fieldNumber: 7) + if _storage._arCloseProximityThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._arCloseProximityThreshold, fieldNumber: 7) } - if _storage._maxStamina != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxStamina, fieldNumber: 8) + if _storage._arLowAwarenessThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._arLowAwarenessThreshold, fieldNumber: 8) } - if _storage._fortType != .gym { - try visitor.visitSingularEnumField(value: _storage._fortType, fieldNumber: 9) + if _storage._arCloseProximityMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._arCloseProximityMultiplier, fieldNumber: 9) } - if _storage._latitude != 0 { - try visitor.visitSingularDoubleField(value: _storage._latitude, fieldNumber: 10) + if _storage._arAwarenessPenaltyThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._arAwarenessPenaltyThreshold, fieldNumber: 10) } - if _storage._longitude != 0 { - try visitor.visitSingularDoubleField(value: _storage._longitude, fieldNumber: 11) + if _storage._arLowAwarenessMaxMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._arLowAwarenessMaxMultiplier, fieldNumber: 11) } - if !_storage._description_p.isEmpty { - try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 12) + if _storage._arHighAwarenessMinPenaltyMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._arHighAwarenessMinPenaltyMultiplier, fieldNumber: 12) } - if !_storage._modifier.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._modifier, fieldNumber: 13) + if _storage._arPlusAttemptsUntilFleeMax != 0 { + try visitor.visitSingularInt32Field(value: _storage._arPlusAttemptsUntilFleeMax, fieldNumber: 13) } - if _storage._closeSoon != false { - try visitor.visitSingularBoolField(value: _storage._closeSoon, fieldNumber: 14) + if _storage._arPlusAttemptsUntilFleeInfinite != 0 { + try visitor.visitSingularInt32Field(value: _storage._arPlusAttemptsUntilFleeInfinite, fieldNumber: 14) } - if !_storage._checkinImageURL.isEmpty { - try visitor.visitSingularStringField(value: _storage._checkinImageURL, fieldNumber: 15) + if _storage._escapedBonusMultiplierMax != 0 { + try visitor.visitSingularFloatField(value: _storage._escapedBonusMultiplierMax, fieldNumber: 15) } - try { if let v = _storage._eventInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - } }() - if !_storage._promoDescription.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._promoDescription, fieldNumber: 17) + if _storage._escapedBonusMultiplierByExcellentThrow != 0 { + try visitor.visitSingularFloatField(value: _storage._escapedBonusMultiplierByExcellentThrow, fieldNumber: 16) } - if !_storage._callToActionLink.isEmpty { - try visitor.visitSingularStringField(value: _storage._callToActionLink, fieldNumber: 18) + if _storage._escapedBonusMultiplierByGreatThrow != 0 { + try visitor.visitSingularFloatField(value: _storage._escapedBonusMultiplierByGreatThrow, fieldNumber: 17) } - try { if let v = _storage._sponsoredDetails { - try visitor.visitSingularMessageField(value: v, fieldNumber: 19) - } }() - if !_storage._geostoreTombstoneMessageKey.isEmpty { - try visitor.visitSingularStringField(value: _storage._geostoreTombstoneMessageKey, fieldNumber: 20) + if _storage._escapedBonusMultiplierByNiceThrow != 0 { + try visitor.visitSingularFloatField(value: _storage._escapedBonusMultiplierByNiceThrow, fieldNumber: 18) } - if !_storage._geostoreSuspensionMessageKey.isEmpty { - try visitor.visitSingularStringField(value: _storage._geostoreSuspensionMessageKey, fieldNumber: 21) + if !_storage._encounterArenaSceneAssetName.isEmpty { + try visitor.visitSingularStringField(value: _storage._encounterArenaSceneAssetName, fieldNumber: 19) } - if _storage._poiImagesCount != 0 { - try visitor.visitSingularInt32Field(value: _storage._poiImagesCount, fieldNumber: 22) + if _storage._globalStardustMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._globalStardustMultiplier, fieldNumber: 20) } - if _storage._powerUpProgressPoints != 0 { - try visitor.visitSingularInt32Field(value: _storage._powerUpProgressPoints, fieldNumber: 23) + if _storage._globalCandyMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._globalCandyMultiplier, fieldNumber: 21) } - if _storage._powerUpLevelExpirationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._powerUpLevelExpirationMs, fieldNumber: 24) + if _storage._criticalReticleThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._criticalReticleThreshold, fieldNumber: 22) } - if _storage._nextFortCloseMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._nextFortCloseMs, fieldNumber: 25) + if _storage._criticalReticleCatchMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._criticalReticleCatchMultiplier, fieldNumber: 23) + } + if _storage._criticalReticleCaptureRateThreshold != 0 { + try visitor.visitSingularFloatField(value: _storage._criticalReticleCaptureRateThreshold, fieldNumber: 24) + } + if _storage._criticalReticleFallbackCatchMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._criticalReticleFallbackCatchMultiplier, fieldNumber: 25) + } + if _storage._showLastThrowAnimation != false { + try visitor.visitSingularBoolField(value: _storage._showLastThrowAnimation, fieldNumber: 26) } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortDetailsOutProto, rhs: FortDetailsOutProto) -> Bool { + public static func ==(lhs: EncounterSettingsProto, rhs: EncounterSettingsProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._id != rhs_storage._id {return false} - if _storage._team != rhs_storage._team {return false} - if _storage._pokemon != rhs_storage._pokemon {return false} - if _storage._name != rhs_storage._name {return false} - if _storage._imageURL != rhs_storage._imageURL {return false} - if _storage._fp != rhs_storage._fp {return false} - if _storage._stamina != rhs_storage._stamina {return false} - if _storage._maxStamina != rhs_storage._maxStamina {return false} - if _storage._fortType != rhs_storage._fortType {return false} - if _storage._latitude != rhs_storage._latitude {return false} - if _storage._longitude != rhs_storage._longitude {return false} - if _storage._description_p != rhs_storage._description_p {return false} - if _storage._modifier != rhs_storage._modifier {return false} - if _storage._closeSoon != rhs_storage._closeSoon {return false} - if _storage._checkinImageURL != rhs_storage._checkinImageURL {return false} - if _storage._eventInfo != rhs_storage._eventInfo {return false} - if _storage._promoDescription != rhs_storage._promoDescription {return false} - if _storage._callToActionLink != rhs_storage._callToActionLink {return false} - if _storage._sponsoredDetails != rhs_storage._sponsoredDetails {return false} - if _storage._geostoreTombstoneMessageKey != rhs_storage._geostoreTombstoneMessageKey {return false} - if _storage._geostoreSuspensionMessageKey != rhs_storage._geostoreSuspensionMessageKey {return false} - if _storage._poiImagesCount != rhs_storage._poiImagesCount {return false} - if _storage._powerUpProgressPoints != rhs_storage._powerUpProgressPoints {return false} - if _storage._powerUpLevelExpirationMs != rhs_storage._powerUpLevelExpirationMs {return false} - if _storage._nextFortCloseMs != rhs_storage._nextFortCloseMs {return false} + if _storage._spinBonusThreshold != rhs_storage._spinBonusThreshold {return false} + if _storage._excellentThrowThreshold != rhs_storage._excellentThrowThreshold {return false} + if _storage._greatThrowThreshold != rhs_storage._greatThrowThreshold {return false} + if _storage._niceThrowThreshold != rhs_storage._niceThrowThreshold {return false} + if _storage._milestoneThreshold != rhs_storage._milestoneThreshold {return false} + if _storage._arPlusModeEnabled != rhs_storage._arPlusModeEnabled {return false} + if _storage._arCloseProximityThreshold != rhs_storage._arCloseProximityThreshold {return false} + if _storage._arLowAwarenessThreshold != rhs_storage._arLowAwarenessThreshold {return false} + if _storage._arCloseProximityMultiplier != rhs_storage._arCloseProximityMultiplier {return false} + if _storage._arAwarenessPenaltyThreshold != rhs_storage._arAwarenessPenaltyThreshold {return false} + if _storage._arLowAwarenessMaxMultiplier != rhs_storage._arLowAwarenessMaxMultiplier {return false} + if _storage._arHighAwarenessMinPenaltyMultiplier != rhs_storage._arHighAwarenessMinPenaltyMultiplier {return false} + if _storage._arPlusAttemptsUntilFleeMax != rhs_storage._arPlusAttemptsUntilFleeMax {return false} + if _storage._arPlusAttemptsUntilFleeInfinite != rhs_storage._arPlusAttemptsUntilFleeInfinite {return false} + if _storage._escapedBonusMultiplierMax != rhs_storage._escapedBonusMultiplierMax {return false} + if _storage._escapedBonusMultiplierByExcellentThrow != rhs_storage._escapedBonusMultiplierByExcellentThrow {return false} + if _storage._escapedBonusMultiplierByGreatThrow != rhs_storage._escapedBonusMultiplierByGreatThrow {return false} + if _storage._escapedBonusMultiplierByNiceThrow != rhs_storage._escapedBonusMultiplierByNiceThrow {return false} + if _storage._encounterArenaSceneAssetName != rhs_storage._encounterArenaSceneAssetName {return false} + if _storage._globalStardustMultiplier != rhs_storage._globalStardustMultiplier {return false} + if _storage._globalCandyMultiplier != rhs_storage._globalCandyMultiplier {return false} + if _storage._criticalReticleThreshold != rhs_storage._criticalReticleThreshold {return false} + if _storage._criticalReticleCatchMultiplier != rhs_storage._criticalReticleCatchMultiplier {return false} + if _storage._criticalReticleCaptureRateThreshold != rhs_storage._criticalReticleCaptureRateThreshold {return false} + if _storage._criticalReticleFallbackCatchMultiplier != rhs_storage._criticalReticleFallbackCatchMultiplier {return false} + if _storage._showLastThrowAnimation != rhs_storage._showLastThrowAnimation {return false} return true } if !storagesAreEqual {return false} @@ -201160,12 +205772,12 @@ extension FortDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } -extension FortDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortDetailsProto" +extension EncounterTutorialCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterTutorialCompleteOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "latitude"), - 3: .same(proto: "longitude"), + 1: .same(proto: "result"), + 2: .same(proto: "pokemon"), + 3: .same(proto: "scores"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201174,41 +205786,86 @@ extension FortDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._scores) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.id.isEmpty { - try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.latitude != 0 { - try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 2) + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._scores { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EncounterTutorialCompleteOutProto, rhs: EncounterTutorialCompleteOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs._scores != rhs._scores {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension EncounterTutorialCompleteOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_POKEMON"), + ] +} + +extension EncounterTutorialCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EncounterTutorialCompleteProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokedex_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + default: break + } } - if self.longitude != 0 { - try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 3) + } + + public func traverse(visitor: inout V) throws { + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortDetailsProto, rhs: FortDetailsProto) -> Bool { - if lhs.id != rhs.id {return false} - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} + public static func ==(lhs: EncounterTutorialCompleteProto, rhs: EncounterTutorialCompleteProto) -> Bool { + if lhs.pokedexID != rhs.pokedexID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortModifierAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortModifierAttributesProto" +extension EnumDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EnumDescriptorProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "modifier_lifetime_seconds"), - 2: .standard(proto: "troy_disk_num_pokemon_spawned"), + 1: .same(proto: "name"), + 2: .same(proto: "value"), + 3: .same(proto: "options"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201217,36 +205874,45 @@ extension FortModifierAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.modifierLifetimeSeconds) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.troyDiskNumPokemonSpawned) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.value) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._options) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.modifierLifetimeSeconds != 0 { - try visitor.visitSingularInt32Field(value: self.modifierLifetimeSeconds, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - if self.troyDiskNumPokemonSpawned != 0 { - try visitor.visitSingularInt32Field(value: self.troyDiskNumPokemonSpawned, fieldNumber: 2) + if !self.value.isEmpty { + try visitor.visitRepeatedMessageField(value: self.value, fieldNumber: 2) } + try { if let v = self._options { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortModifierAttributesProto, rhs: FortModifierAttributesProto) -> Bool { - if lhs.modifierLifetimeSeconds != rhs.modifierLifetimeSeconds {return false} - if lhs.troyDiskNumPokemonSpawned != rhs.troyDiskNumPokemonSpawned {return false} + public static func ==(lhs: EnumDescriptorProto, rhs: EnumDescriptorProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.value != rhs.value {return false} + if lhs._options != rhs._options {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortPokemonProto" +extension EnumOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EnumOptions" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_proto"), - 2: .standard(proto: "spawn_type"), + 1: .standard(proto: "allow_alias"), + 2: .same(proto: "deprecated"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201255,8 +205921,48 @@ extension FortPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemonProto) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.spawnType) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.allowAlias) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.allowAlias != false { + try visitor.visitSingularBoolField(value: self.allowAlias, fieldNumber: 1) + } + if self.deprecated != false { + try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EnumOptions, rhs: EnumOptions) -> Bool { + if lhs.allowAlias != rhs.allowAlias {return false} + if lhs.deprecated != rhs.deprecated {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension EnumValueDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EnumValueDescriptorProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "name"), + 2: .same(proto: "number"), + 3: .same(proto: "options"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.number) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._options) }() default: break } } @@ -201267,37 +205973,269 @@ extension FortPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._pokemonProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + } + if self.number != 0 { + try visitor.visitSingularInt32Field(value: self.number, fieldNumber: 2) + } + try { if let v = self._options { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() - if self.spawnType != .lure { - try visitor.visitSingularEnumField(value: self.spawnType, fieldNumber: 2) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EnumValueDescriptorProto, rhs: EnumValueDescriptorProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.number != rhs.number {return false} + if lhs._options != rhs._options {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension EnumValueOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EnumValueOptions" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "deprecated"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.deprecated != false { + try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortPokemonProto, rhs: FortPokemonProto) -> Bool { - if lhs._pokemonProto != rhs._pokemonProto {return false} - if lhs.spawnType != rhs.spawnType {return false} + public static func ==(lhs: EnumValueOptions, rhs: EnumValueOptions) -> Bool { + if lhs.deprecated != rhs.deprecated {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortPokemonProto.SpawnType: SwiftProtobuf._ProtoNameProviding { +extension EnumWrapper: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EnumWrapper" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EnumWrapper, rhs: EnumWrapper) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension EnumWrapper.CharacterCategory: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "LURE"), - 1: .same(proto: "POWER_UP"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "TEAM_LEADER"), + 2: .same(proto: "GRUNT"), + 3: .same(proto: "ARLO"), + 4: .same(proto: "CLIFF"), + 5: .same(proto: "SIERRA"), + 6: .same(proto: "GIOVANNI"), + 7: .same(proto: "GRUNTBF"), + 8: .same(proto: "GRUNTBM"), + 9: .same(proto: "EVENT_NPC"), + 10: .same(proto: "PLAYER_TEAM_LEADER"), ] } -extension FortPowerUpLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortPowerUpLevelSettings" +extension EnumWrapper.IncidentStartPhase: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "level"), - 2: .standard(proto: "points_needed_for_level_up"), - 3: .standard(proto: "power_up_reward"), - 4: .standard(proto: "duration_of_power_up_ms"), + 0: .same(proto: "INCIDENT_START_ON_SPIN_OR_EXIT"), + 1: .same(proto: "INCIDENT_START_ON_SPIN_NOT_EXIT"), + 2: .same(proto: "INCIDENT_START_ON_EXIT_NOT_SPIN"), + ] +} + +extension EnumWrapper.InvasionCharacter: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "CHARACTER_UNSET"), + 1: .same(proto: "CHARACTER_BLANCHE"), + 2: .same(proto: "CHARACTER_CANDELA"), + 3: .same(proto: "CHARACTER_SPARK"), + 4: .same(proto: "CHARACTER_GRUNT_MALE"), + 5: .same(proto: "CHARACTER_GRUNT_FEMALE"), + 6: .same(proto: "CHARACTER_BUG_GRUNT_FEMALE"), + 7: .same(proto: "CHARACTER_BUG_GRUNT_MALE"), + 8: .same(proto: "CHARACTER_DARKNESS_GRUNT_FEMALE"), + 9: .same(proto: "CHARACTER_DARKNESS_GRUNT_MALE"), + 10: .same(proto: "CHARACTER_DARK_GRUNT_FEMALE"), + 11: .same(proto: "CHARACTER_DARK_GRUNT_MALE"), + 12: .same(proto: "CHARACTER_DRAGON_GRUNT_FEMALE"), + 13: .same(proto: "CHARACTER_DRAGON_GRUNT_MALE"), + 14: .same(proto: "CHARACTER_FAIRY_GRUNT_FEMALE"), + 15: .same(proto: "CHARACTER_FAIRY_GRUNT_MALE"), + 16: .same(proto: "CHARACTER_FIGHTING_GRUNT_FEMALE"), + 17: .same(proto: "CHARACTER_FIGHTING_GRUNT_MALE"), + 18: .same(proto: "CHARACTER_FIRE_GRUNT_FEMALE"), + 19: .same(proto: "CHARACTER_FIRE_GRUNT_MALE"), + 20: .same(proto: "CHARACTER_FLYING_GRUNT_FEMALE"), + 21: .same(proto: "CHARACTER_FLYING_GRUNT_MALE"), + 22: .same(proto: "CHARACTER_GRASS_GRUNT_FEMALE"), + 23: .same(proto: "CHARACTER_GRASS_GRUNT_MALE"), + 24: .same(proto: "CHARACTER_GROUND_GRUNT_FEMALE"), + 25: .same(proto: "CHARACTER_GROUND_GRUNT_MALE"), + 26: .same(proto: "CHARACTER_ICE_GRUNT_FEMALE"), + 27: .same(proto: "CHARACTER_ICE_GRUNT_MALE"), + 28: .same(proto: "CHARACTER_METAL_GRUNT_FEMALE"), + 29: .same(proto: "CHARACTER_METAL_GRUNT_MALE"), + 30: .same(proto: "CHARACTER_NORMAL_GRUNT_FEMALE"), + 31: .same(proto: "CHARACTER_NORMAL_GRUNT_MALE"), + 32: .same(proto: "CHARACTER_POISON_GRUNT_FEMALE"), + 33: .same(proto: "CHARACTER_POISON_GRUNT_MALE"), + 34: .same(proto: "CHARACTER_PSYCHIC_GRUNT_FEMALE"), + 35: .same(proto: "CHARACTER_PSYCHIC_GRUNT_MALE"), + 36: .same(proto: "CHARACTER_ROCK_GRUNT_FEMALE"), + 37: .same(proto: "CHARACTER_ROCK_GRUNT_MALE"), + 38: .same(proto: "CHARACTER_WATER_GRUNT_FEMALE"), + 39: .same(proto: "CHARACTER_WATER_GRUNT_MALE"), + 40: .same(proto: "CHARACTER_PLAYER_TEAM_LEADER"), + 41: .same(proto: "CHARACTER_EXECUTIVE_CLIFF"), + 42: .same(proto: "CHARACTER_EXECUTIVE_ARLO"), + 43: .same(proto: "CHARACTER_EXECUTIVE_SIERRA"), + 44: .same(proto: "CHARACTER_GIOVANNI"), + 45: .same(proto: "CHARACTER_DECOY_GRUNT_MALE"), + 46: .same(proto: "CHARACTER_DECOY_GRUNT_FEMALE"), + 47: .same(proto: "CHARACTER_GHOST_GRUNT_FEMALE"), + 48: .same(proto: "CHARACTER_GHOST_GRUNT_MALE"), + 49: .same(proto: "CHARACTER_ELECTRIC_GRUNT_FEMALE"), + 50: .same(proto: "CHARACTER_ELECTRIC_GRUNT_MALE"), + 51: .same(proto: "CHARACTER_BALLOON_GRUNT_FEMALE"), + 52: .same(proto: "CHARACTER_BALLOON_GRUNT_MALE"), + 53: .same(proto: "CHARACTER_GRUNTB_FEMALE"), + 54: .same(proto: "CHARACTER_GRUNTB_MALE"), + 55: .same(proto: "CHARACTER_BUG_BALLOON_GRUNT_FEMALE"), + 56: .same(proto: "CHARACTER_BUG_BALLOON_GRUNT_MALE"), + 57: .same(proto: "CHARACTER_DARK_BALLOON_GRUNT_FEMALE"), + 58: .same(proto: "CHARACTER_DARK_BALLOON_GRUNT_MALE"), + 59: .same(proto: "CHARACTER_DRAGON_BALLOON_GRUNT_FEMALE"), + 60: .same(proto: "CHARACTER_DRAGON_BALLOON_GRUNT_MALE"), + 61: .same(proto: "CHARACTER_FAIRY_BALLOON_GRUNT_FEMALE"), + 62: .same(proto: "CHARACTER_FAIRY_BALLOON_GRUNT_MALE"), + 63: .same(proto: "CHARACTER_FIGHTING_BALLOON_GRUNT_FEMALE"), + 64: .same(proto: "CHARACTER_FIGHTING_BALLOON_GRUNT_MALE"), + 65: .same(proto: "CHARACTER_FIRE_BALLOON_GRUNT_FEMALE"), + 66: .same(proto: "CHARACTER_FIRE_BALLOON_GRUNT_MALE"), + 67: .same(proto: "CHARACTER_FLYING_BALLOON_GRUNT_FEMALE"), + 68: .same(proto: "CHARACTER_FLYING_BALLOON_GRUNT_MALE"), + 69: .same(proto: "CHARACTER_GRASS_BALLOON_GRUNT_FEMALE"), + 70: .same(proto: "CHARACTER_GRASS_BALLOON_GRUNT_MALE"), + 71: .same(proto: "CHARACTER_GROUND_BALLOON_GRUNT_FEMALE"), + 72: .same(proto: "CHARACTER_GROUND_BALLOON_GRUNT_MALE"), + 73: .same(proto: "CHARACTER_ICE_BALLOON_GRUNT_FEMALE"), + 74: .same(proto: "CHARACTER_ICE_BALLOON_GRUNT_MALE"), + 75: .same(proto: "CHARACTER_METAL_BALLOON_GRUNT_FEMALE"), + 76: .same(proto: "CHARACTER_METAL_BALLOON_GRUNT_MALE"), + 77: .same(proto: "CHARACTER_NORMAL_BALLOON_GRUNT_FEMALE"), + 78: .same(proto: "CHARACTER_NORMAL_BALLOON_GRUNT_MALE"), + 79: .same(proto: "CHARACTER_POISON_BALLOON_GRUNT_FEMALE"), + 80: .same(proto: "CHARACTER_POISON_BALLOON_GRUNT_MALE"), + 81: .same(proto: "CHARACTER_PSYCHIC_BALLOON_GRUNT_FEMALE"), + 82: .same(proto: "CHARACTER_PSYCHIC_BALLOON_GRUNT_MALE"), + 83: .same(proto: "CHARACTER_ROCK_BALLOON_GRUNT_FEMALE"), + 84: .same(proto: "CHARACTER_ROCK_BALLOON_GRUNT_MALE"), + 85: .same(proto: "CHARACTER_WATER_BALLOON_GRUNT_FEMALE"), + 86: .same(proto: "CHARACTER_WATER_BALLOON_GRUNT_MALE"), + 87: .same(proto: "CHARACTER_GHOST_BALLOON_GRUNT_FEMALE"), + 88: .same(proto: "CHARACTER_GHOST_BALLOON_GRUNT_MALE"), + 89: .same(proto: "CHARACTER_ELECTRIC_BALLOON_GRUNT_FEMALE"), + 90: .same(proto: "CHARACTER_ELECTRIC_BALLOON_GRUNT_MALE"), + 91: .same(proto: "CHARACTER_WILLOW"), + 92: .same(proto: "CHARACTER_WILLOWB"), + 93: .same(proto: "CHARACTER_TRAVELER"), + 94: .same(proto: "CHARACTER_EXPLORER"), + 500: .same(proto: "CHARACTER_EVENT_NPC_0"), + 501: .same(proto: "CHARACTER_EVENT_NPC_1"), + 502: .same(proto: "CHARACTER_EVENT_NPC_2"), + 503: .same(proto: "CHARACTER_EVENT_NPC_3"), + 504: .same(proto: "CHARACTER_EVENT_NPC_4"), + 505: .same(proto: "CHARACTER_EVENT_NPC_5"), + 506: .same(proto: "CHARACTER_EVENT_NPC_6"), + 507: .same(proto: "CHARACTER_EVENT_NPC_7"), + 508: .same(proto: "CHARACTER_EVENT_NPC_8"), + 509: .same(proto: "CHARACTER_EVENT_NPC_9"), + 510: .same(proto: "CHARACTER_EVENT_NPC_10"), + 511: .same(proto: "CHARACTER_EVENT_NPC_BLANCHE"), + 512: .same(proto: "CHARACTER_EVENT_NPC_CANDELA"), + 513: .same(proto: "CHARACTER_EVENT_NPC_SPARK"), + 514: .same(proto: "CHARACTER_EVENT_NPC_11"), + 515: .same(proto: "CHARACTER_EVENT_NPC_12"), + 516: .same(proto: "CHARACTER_EVENT_NPC_13"), + 517: .same(proto: "CHARACTER_EVENT_NPC_14"), + 518: .same(proto: "CHARACTER_EVENT_NPC_15"), + 519: .same(proto: "CHARACTER_EVENT_NPC_16"), + 520: .same(proto: "CHARACTER_EVENT_NPC_17"), + 521: .same(proto: "CHARACTER_EVENT_NPC_18"), + 522: .same(proto: "CHARACTER_EVENT_NPC_19"), + 523: .same(proto: "CHARACTER_EVENT_NPC_20"), + 524: .same(proto: "CHARACTER_EVENT_GIOVANNI_UNTICKETED"), + 525: .same(proto: "CHARACTER_EVENT_SIERRA_UNTICKETED"), + 526: .same(proto: "CHARACTER_EVENT_ARLO_UNTICKETED"), + 527: .same(proto: "CHARACTER_EVENT_CLIFF_UNTICKETED"), + ] +} + +extension EnumWrapper.InvasionCharacterExpression: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "EXPRESSION_UNSET"), + 1: .same(proto: "PLACEHOLDER_1"), + 2: .same(proto: "PLACEHOLDER_2"), + 3: .same(proto: "PLACEHOLDER_3"), + 4: .same(proto: "PLACEHOLDER_4"), + 5: .same(proto: "GREETING"), + 6: .same(proto: "CHALLENGE"), + 7: .same(proto: "VICTORY"), + 8: .same(proto: "DEFEAT"), + ] +} + +extension EnumWrapper.InvasionContext: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POKESTOP_INCIDENT"), + 1: .same(proto: "ROCKET_BALLOON"), + 2: .same(proto: "QUEST_REWARD_INCIDENT"), + 3: .same(proto: "CROSS_POKESTOP_INCIDENT"), + ] +} + +extension EnumWrapper.PokestopStyle: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POKESTOP_NORMAL"), + 1: .same(proto: "POKESTOP_ROCKET_INVASION"), + 2: .same(proto: "POKESTOP_ROCKET_VICTORY"), + 3: .same(proto: "POKESTOP_CONTEST"), + ] +} + +extension EventBadgeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EventBadgeSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "valid_from_ms"), + 2: .standard(proto: "valid_to_ms"), + 3: .standard(proto: "mutually_exclusive_badges"), + 4: .standard(proto: "automatically_award_badge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201306,46 +206244,133 @@ extension FortPowerUpLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.level) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.pointsNeededForLevelUp) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.powerUpReward) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.durationOfPowerUpMs) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.validFromMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.validToMs) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.mutuallyExclusiveBadges) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.automaticallyAwardBadge) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.level != .unset { - try visitor.visitSingularEnumField(value: self.level, fieldNumber: 1) + if self.validFromMs != 0 { + try visitor.visitSingularInt64Field(value: self.validFromMs, fieldNumber: 1) } - if self.pointsNeededForLevelUp != 0 { - try visitor.visitSingularInt32Field(value: self.pointsNeededForLevelUp, fieldNumber: 2) + if self.validToMs != 0 { + try visitor.visitSingularInt64Field(value: self.validToMs, fieldNumber: 2) } - if !self.powerUpReward.isEmpty { - try visitor.visitPackedEnumField(value: self.powerUpReward, fieldNumber: 3) + if !self.mutuallyExclusiveBadges.isEmpty { + try visitor.visitPackedEnumField(value: self.mutuallyExclusiveBadges, fieldNumber: 3) } - if self.durationOfPowerUpMs != 0 { - try visitor.visitSingularInt32Field(value: self.durationOfPowerUpMs, fieldNumber: 4) + if self.automaticallyAwardBadge != false { + try visitor.visitSingularBoolField(value: self.automaticallyAwardBadge, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortPowerUpLevelSettings, rhs: FortPowerUpLevelSettings) -> Bool { - if lhs.level != rhs.level {return false} - if lhs.pointsNeededForLevelUp != rhs.pointsNeededForLevelUp {return false} - if lhs.powerUpReward != rhs.powerUpReward {return false} - if lhs.durationOfPowerUpMs != rhs.durationOfPowerUpMs {return false} + public static func ==(lhs: EventBadgeSettingsProto, rhs: EventBadgeSettingsProto) -> Bool { + if lhs.validFromMs != rhs.validFromMs {return false} + if lhs.validToMs != rhs.validToMs {return false} + if lhs.mutuallyExclusiveBadges != rhs.mutuallyExclusiveBadges {return false} + if lhs.automaticallyAwardBadge != rhs.automaticallyAwardBadge {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension EventBannerSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EventBannerSectionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "event_icon"), + 2: .standard(proto: "title_text"), + 3: .standard(proto: "body_text"), + 4: .standard(proto: "image_url"), + 5: .standard(proto: "header_image_url"), + 6: .standard(proto: "image_overlay_text"), + 7: .standard(proto: "link_from_image"), + 8: .standard(proto: "image_sub_text"), + 9: .standard(proto: "image_urls"), + 10: .standard(proto: "image_auto_scroll_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.eventIcon) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.titleText) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.bodyText) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.headerImageURL) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.imageOverlayText) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.linkFromImage) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.imageSubText) }() + case 9: try { try decoder.decodeRepeatedStringField(value: &self.imageUrls) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &self.imageAutoScrollMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.eventIcon.isEmpty { + try visitor.visitSingularStringField(value: self.eventIcon, fieldNumber: 1) + } + if !self.titleText.isEmpty { + try visitor.visitSingularStringField(value: self.titleText, fieldNumber: 2) + } + if !self.bodyText.isEmpty { + try visitor.visitSingularStringField(value: self.bodyText, fieldNumber: 3) + } + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 4) + } + if !self.headerImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.headerImageURL, fieldNumber: 5) + } + if !self.imageOverlayText.isEmpty { + try visitor.visitSingularStringField(value: self.imageOverlayText, fieldNumber: 6) + } + if !self.linkFromImage.isEmpty { + try visitor.visitSingularStringField(value: self.linkFromImage, fieldNumber: 7) + } + if !self.imageSubText.isEmpty { + try visitor.visitSingularStringField(value: self.imageSubText, fieldNumber: 8) + } + if !self.imageUrls.isEmpty { + try visitor.visitRepeatedStringField(value: self.imageUrls, fieldNumber: 9) + } + if self.imageAutoScrollMs != 0 { + try visitor.visitSingularInt64Field(value: self.imageAutoScrollMs, fieldNumber: 10) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EventBannerSectionProto, rhs: EventBannerSectionProto) -> Bool { + if lhs.eventIcon != rhs.eventIcon {return false} + if lhs.titleText != rhs.titleText {return false} + if lhs.bodyText != rhs.bodyText {return false} + if lhs.imageURL != rhs.imageURL {return false} + if lhs.headerImageURL != rhs.headerImageURL {return false} + if lhs.imageOverlayText != rhs.imageOverlayText {return false} + if lhs.linkFromImage != rhs.linkFromImage {return false} + if lhs.imageSubText != rhs.imageSubText {return false} + if lhs.imageUrls != rhs.imageUrls {return false} + if lhs.imageAutoScrollMs != rhs.imageAutoScrollMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortRecallOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortRecallOutProto" +extension EventInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EventInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "fort_details_out_proto"), + 1: .standard(proto: "image_url"), + 2: .standard(proto: "icon_url"), + 3: .standard(proto: "name_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201354,99 +206379,193 @@ extension FortRecallOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._fortDetailsOutProto) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.iconURL) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.nameKey) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .noResultSet { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 1) + } + if !self.iconURL.isEmpty { + try visitor.visitSingularStringField(value: self.iconURL, fieldNumber: 2) + } + if !self.nameKey.isEmpty { + try visitor.visitSingularStringField(value: self.nameKey, fieldNumber: 3) } - try { if let v = self._fortDetailsOutProto { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortRecallOutProto, rhs: FortRecallOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._fortDetailsOutProto != rhs._fortDetailsOutProto {return false} + public static func ==(lhs: EventInfoProto, rhs: EventInfoProto) -> Bool { + if lhs.imageURL != rhs.imageURL {return false} + if lhs.iconURL != rhs.iconURL {return false} + if lhs.nameKey != rhs.nameKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortRecallOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension EventSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EventSectionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_RESULT_SET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_NOT_IN_RANGE"), - 3: .same(proto: "ERROR_POKEMON_NOT_ON_FORT"), - 4: .same(proto: "ERROR_NO_PLAYER"), + 1: .standard(proto: "event_name"), + 3: .standard(proto: "end_time"), + 4: .standard(proto: "ref_news_id"), + 5: .standard(proto: "bonus_boxes"), + 6: .standard(proto: "start_time"), + 7: .standard(proto: "banner_url"), + 8: .standard(proto: "icon_url"), + 9: .standard(proto: "blog_url"), + 10: .same(proto: "priority"), + 11: .standard(proto: "enable_local_timezone"), + 12: .standard(proto: "banner_display_offset_days"), ] -} -extension FortRecallProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortRecallProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_id"), - 2: .standard(proto: "pokemon_id"), - 3: .standard(proto: "player_lat_degrees"), - 4: .standard(proto: "player_lng_degrees"), - ] + fileprivate class _StorageClass { + var _eventName: String = String() + var _endTime: GetLocalTimeOutProto.LocalTimeProto? = nil + var _refNewsID: String = String() + var _bonusBoxes: [BonusBoxProto] = [] + var _startTime: GetLocalTimeOutProto.LocalTimeProto? = nil + var _bannerURL: String = String() + var _iconURL: String = String() + var _blogURL: String = String() + var _priority: Int64 = 0 + var _enableLocalTimezone: Bool = false + var _bannerDisplayOffsetDays: Int64 = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _eventName = source._eventName + _endTime = source._endTime + _refNewsID = source._refNewsID + _bonusBoxes = source._bonusBoxes + _startTime = source._startTime + _bannerURL = source._bannerURL + _iconURL = source._iconURL + _blogURL = source._blogURL + _priority = source._priority + _enableLocalTimezone = source._enableLocalTimezone + _bannerDisplayOffsetDays = source._bannerDisplayOffsetDays + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._eventName) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._endTime) }() + case 4: try { try decoder.decodeSingularStringField(value: &_storage._refNewsID) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._bonusBoxes) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._startTime) }() + case 7: try { try decoder.decodeSingularStringField(value: &_storage._bannerURL) }() + case 8: try { try decoder.decodeSingularStringField(value: &_storage._iconURL) }() + case 9: try { try decoder.decodeSingularStringField(value: &_storage._blogURL) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._priority) }() + case 11: try { try decoder.decodeSingularBoolField(value: &_storage._enableLocalTimezone) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._bannerDisplayOffsetDays) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) - } - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 2) - } - if self.playerLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) - } - if self.playerLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 4) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._eventName.isEmpty { + try visitor.visitSingularStringField(value: _storage._eventName, fieldNumber: 1) + } + try { if let v = _storage._endTime { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if !_storage._refNewsID.isEmpty { + try visitor.visitSingularStringField(value: _storage._refNewsID, fieldNumber: 4) + } + if !_storage._bonusBoxes.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._bonusBoxes, fieldNumber: 5) + } + try { if let v = _storage._startTime { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + if !_storage._bannerURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._bannerURL, fieldNumber: 7) + } + if !_storage._iconURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._iconURL, fieldNumber: 8) + } + if !_storage._blogURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._blogURL, fieldNumber: 9) + } + if _storage._priority != 0 { + try visitor.visitSingularInt64Field(value: _storage._priority, fieldNumber: 10) + } + if _storage._enableLocalTimezone != false { + try visitor.visitSingularBoolField(value: _storage._enableLocalTimezone, fieldNumber: 11) + } + if _storage._bannerDisplayOffsetDays != 0 { + try visitor.visitSingularInt64Field(value: _storage._bannerDisplayOffsetDays, fieldNumber: 12) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortRecallProto, rhs: FortRecallProto) -> Bool { - if lhs.fortID != rhs.fortID {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} - if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + public static func ==(lhs: EventSectionProto, rhs: EventSectionProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._eventName != rhs_storage._eventName {return false} + if _storage._endTime != rhs_storage._endTime {return false} + if _storage._refNewsID != rhs_storage._refNewsID {return false} + if _storage._bonusBoxes != rhs_storage._bonusBoxes {return false} + if _storage._startTime != rhs_storage._startTime {return false} + if _storage._bannerURL != rhs_storage._bannerURL {return false} + if _storage._iconURL != rhs_storage._iconURL {return false} + if _storage._blogURL != rhs_storage._blogURL {return false} + if _storage._priority != rhs_storage._priority {return false} + if _storage._enableLocalTimezone != rhs_storage._enableLocalTimezone {return false} + if _storage._bannerDisplayOffsetDays != rhs_storage._bannerDisplayOffsetDays {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortRenderingType: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortRenderingType" +extension EventSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EventSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "rendering_type"), + 1: .standard(proto: "condolence_ribbon_country"), + 2: .standard(proto: "enable_event_link"), + 3: .standard(proto: "enable_event_link_for_children"), + 4: .standard(proto: "event_webtoken_server_url"), + 5: .standard(proto: "enable_event_lnt"), + 6: .standard(proto: "event_lnt_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201455,48 +206574,57 @@ extension FortRenderingType: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.renderingType) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.condolenceRibbonCountry) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableEventLink) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enableEventLinkForChildren) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.eventWebtokenServerURL) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.enableEventLnt) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.eventLntURL) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.renderingType != .default { - try visitor.visitSingularEnumField(value: self.renderingType, fieldNumber: 1) + if !self.condolenceRibbonCountry.isEmpty { + try visitor.visitRepeatedStringField(value: self.condolenceRibbonCountry, fieldNumber: 1) + } + if self.enableEventLink != false { + try visitor.visitSingularBoolField(value: self.enableEventLink, fieldNumber: 2) + } + if self.enableEventLinkForChildren != false { + try visitor.visitSingularBoolField(value: self.enableEventLinkForChildren, fieldNumber: 3) + } + if !self.eventWebtokenServerURL.isEmpty { + try visitor.visitSingularStringField(value: self.eventWebtokenServerURL, fieldNumber: 4) + } + if self.enableEventLnt != false { + try visitor.visitSingularBoolField(value: self.enableEventLnt, fieldNumber: 5) + } + if !self.eventLntURL.isEmpty { + try visitor.visitSingularStringField(value: self.eventLntURL, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortRenderingType, rhs: FortRenderingType) -> Bool { - if lhs.renderingType != rhs.renderingType {return false} + public static func ==(lhs: EventSettingsProto, rhs: EventSettingsProto) -> Bool { + if lhs.condolenceRibbonCountry != rhs.condolenceRibbonCountry {return false} + if lhs.enableEventLink != rhs.enableEventLink {return false} + if lhs.enableEventLinkForChildren != rhs.enableEventLinkForChildren {return false} + if lhs.eventWebtokenServerURL != rhs.eventWebtokenServerURL {return false} + if lhs.enableEventLnt != rhs.enableEventLnt {return false} + if lhs.eventLntURL != rhs.eventLntURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortRenderingType.RenderingType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DEFAULT"), - 1: .same(proto: "INTERNAL_TEST"), - ] -} - -extension FortSearchLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortSearchLogEntry" +extension EventTicketActiveTimeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EventTicketActiveTimeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "fort_id"), - 3: .same(proto: "items"), - 4: .same(proto: "eggs"), - 5: .standard(proto: "pokemon_eggs"), - 6: .standard(proto: "fort_type"), - 7: .standard(proto: "awarded_items"), - 8: .standard(proto: "bonus_items"), - 9: .standard(proto: "team_bonus_items"), - 10: .standard(proto: "gift_boxes"), - 11: .same(proto: "stickers"), - 12: .standard(proto: "powered_up_stop_bonus_items"), + 1: .standard(proto: "event_ticket"), + 2: .standard(proto: "event_start_ms"), + 3: .standard(proto: "event_end_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201505,154 +206633,114 @@ extension FortSearchLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.items) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.eggs) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonEggs) }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.fortType) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &self.awardedItems) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &self.bonusItems) }() - case 9: try { try decoder.decodeRepeatedMessageField(value: &self.teamBonusItems) }() - case 10: try { try decoder.decodeRepeatedMessageField(value: &self.giftBoxes) }() - case 11: try { try decoder.decodeRepeatedMessageField(value: &self.stickers) }() - case 12: try { try decoder.decodeRepeatedMessageField(value: &self.poweredUpStopBonusItems) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.eventTicket) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.eventStartMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.eventEndMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) - } - if !self.items.isEmpty { - try visitor.visitRepeatedMessageField(value: self.items, fieldNumber: 3) - } - if self.eggs != 0 { - try visitor.visitSingularInt32Field(value: self.eggs, fieldNumber: 4) - } - if !self.pokemonEggs.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokemonEggs, fieldNumber: 5) - } - if self.fortType != .gym { - try visitor.visitSingularEnumField(value: self.fortType, fieldNumber: 6) - } - if !self.awardedItems.isEmpty { - try visitor.visitRepeatedMessageField(value: self.awardedItems, fieldNumber: 7) - } - if !self.bonusItems.isEmpty { - try visitor.visitRepeatedMessageField(value: self.bonusItems, fieldNumber: 8) - } - if !self.teamBonusItems.isEmpty { - try visitor.visitRepeatedMessageField(value: self.teamBonusItems, fieldNumber: 9) - } - if !self.giftBoxes.isEmpty { - try visitor.visitRepeatedMessageField(value: self.giftBoxes, fieldNumber: 10) + if self.eventTicket != .unknown { + try visitor.visitSingularEnumField(value: self.eventTicket, fieldNumber: 1) } - if !self.stickers.isEmpty { - try visitor.visitRepeatedMessageField(value: self.stickers, fieldNumber: 11) + if self.eventStartMs != 0 { + try visitor.visitSingularInt64Field(value: self.eventStartMs, fieldNumber: 2) } - if !self.poweredUpStopBonusItems.isEmpty { - try visitor.visitRepeatedMessageField(value: self.poweredUpStopBonusItems, fieldNumber: 12) + if self.eventEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.eventEndMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortSearchLogEntry, rhs: FortSearchLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.items != rhs.items {return false} - if lhs.eggs != rhs.eggs {return false} - if lhs.pokemonEggs != rhs.pokemonEggs {return false} - if lhs.fortType != rhs.fortType {return false} - if lhs.awardedItems != rhs.awardedItems {return false} - if lhs.bonusItems != rhs.bonusItems {return false} - if lhs.teamBonusItems != rhs.teamBonusItems {return false} - if lhs.giftBoxes != rhs.giftBoxes {return false} - if lhs.stickers != rhs.stickers {return false} - if lhs.poweredUpStopBonusItems != rhs.poweredUpStopBonusItems {return false} + public static func ==(lhs: EventTicketActiveTimeProto, rhs: EventTicketActiveTimeProto) -> Bool { + if lhs.eventTicket != rhs.eventTicket {return false} + if lhs.eventStartMs != rhs.eventStartMs {return false} + if lhs.eventEndMs != rhs.eventEndMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortSearchLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - ] -} - -extension FortSearchOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortSearchOutProto" +extension EvolutionBranchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolutionBranchProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "items"), - 3: .standard(proto: "gems_awarded"), - 4: .standard(proto: "egg_pokemon"), - 5: .standard(proto: "xp_awarded"), - 6: .standard(proto: "cooldown_complete"), - 7: .standard(proto: "chain_hack_sequence_number"), - 8: .standard(proto: "awarded_gym_badge"), - 9: .same(proto: "loot"), - 10: .standard(proto: "bonus_loot"), - 11: .standard(proto: "raid_tickets"), - 12: .standard(proto: "team_bonus_loot"), - 13: .standard(proto: "fort_id"), - 14: .standard(proto: "challenge_quest"), - 15: .standard(proto: "gift_box"), - 16: .standard(proto: "sponsored_gift"), - 17: .standard(proto: "power_up_stop_bonus_loot"), - 18: .same(proto: "ad"), + 1: .same(proto: "evolution"), + 2: .standard(proto: "evolution_item_requirement"), + 3: .standard(proto: "candy_cost"), + 4: .standard(proto: "km_buddy_distance_requirement"), + 5: .same(proto: "form"), + 6: .standard(proto: "gender_requirement"), + 8: .standard(proto: "lure_item_requirement"), + 9: .standard(proto: "must_be_buddy"), + 10: .standard(proto: "only_daytime"), + 11: .standard(proto: "only_nighttime"), + 12: .same(proto: "priority"), + 13: .standard(proto: "no_candy_cost_via_trade"), + 14: .standard(proto: "temporary_evolution"), + 15: .standard(proto: "temporary_evolution_energy_cost"), + 16: .standard(proto: "temporary_evolution_energy_cost_subsequent"), + 17: .standard(proto: "quest_display"), + 18: .standard(proto: "only_upside_down"), + 19: .standard(proto: "candy_cost_purified"), + 20: .standard(proto: "only_dusk_period"), + 21: .standard(proto: "only_full_moon"), + 22: .standard(proto: "evolution_item_requirement_cost"), + 23: .standard(proto: "evolution_move_requirement"), ] fileprivate class _StorageClass { - var _result: FortSearchOutProto.Result = .noResultSet - var _items: [AwardItemProto] = [] - var _gemsAwarded: Int32 = 0 - var _eggPokemon: PokemonProto? = nil - var _xpAwarded: Int32 = 0 - var _cooldownComplete: Int64 = 0 - var _chainHackSequenceNumber: Int32 = 0 - var _awardedGymBadge: AwardedGymBadge? = nil - var _loot: LootProto? = nil - var _bonusLoot: LootProto? = nil - var _raidTickets: Int32 = 0 - var _teamBonusLoot: LootProto? = nil - var _fortID: String = String() - var _challengeQuest: ClientQuestProto? = nil - var _giftBox: GiftBoxProto? = nil - var _sponsoredGift: AdDetails? = nil - var _powerUpStopBonusLoot: LootProto? = nil - var _ad: AdProto? = nil + var _evolution: HoloPokemonId = .missingno + var _evolutionItemRequirement: Item = .unknown + var _candyCost: Int32 = 0 + var _kmBuddyDistanceRequirement: Float = 0 + var _form: PokemonDisplayProto.Form = .unset + var _genderRequirement: PokemonDisplayProto.Gender = .unset + var _lureItemRequirement: Item = .unknown + var _mustBeBuddy: Bool = false + var _onlyDaytime: Bool = false + var _onlyNighttime: Bool = false + var _priority: Int32 = 0 + var _noCandyCostViaTrade: Bool = false + var _temporaryEvolution: HoloTemporaryEvolutionId = .tempEvolutionUnset + var _temporaryEvolutionEnergyCost: Int32 = 0 + var _temporaryEvolutionEnergyCostSubsequent: Int32 = 0 + var _questDisplay: [EvolutionQuestInfoProto] = [] + var _onlyUpsideDown: Bool = false + var _candyCostPurified: Int32 = 0 + var _onlyDuskPeriod: Bool = false + var _onlyFullMoon: Bool = false + var _evolutionItemRequirementCost: Int32 = 0 + var _evolutionMoveRequirement: HoloPokemonMove = .moveUnset static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _result = source._result - _items = source._items - _gemsAwarded = source._gemsAwarded - _eggPokemon = source._eggPokemon - _xpAwarded = source._xpAwarded - _cooldownComplete = source._cooldownComplete - _chainHackSequenceNumber = source._chainHackSequenceNumber - _awardedGymBadge = source._awardedGymBadge - _loot = source._loot - _bonusLoot = source._bonusLoot - _raidTickets = source._raidTickets - _teamBonusLoot = source._teamBonusLoot - _fortID = source._fortID - _challengeQuest = source._challengeQuest - _giftBox = source._giftBox - _sponsoredGift = source._sponsoredGift - _powerUpStopBonusLoot = source._powerUpStopBonusLoot - _ad = source._ad + _evolution = source._evolution + _evolutionItemRequirement = source._evolutionItemRequirement + _candyCost = source._candyCost + _kmBuddyDistanceRequirement = source._kmBuddyDistanceRequirement + _form = source._form + _genderRequirement = source._genderRequirement + _lureItemRequirement = source._lureItemRequirement + _mustBeBuddy = source._mustBeBuddy + _onlyDaytime = source._onlyDaytime + _onlyNighttime = source._onlyNighttime + _priority = source._priority + _noCandyCostViaTrade = source._noCandyCostViaTrade + _temporaryEvolution = source._temporaryEvolution + _temporaryEvolutionEnergyCost = source._temporaryEvolutionEnergyCost + _temporaryEvolutionEnergyCostSubsequent = source._temporaryEvolutionEnergyCostSubsequent + _questDisplay = source._questDisplay + _onlyUpsideDown = source._onlyUpsideDown + _candyCostPurified = source._candyCostPurified + _onlyDuskPeriod = source._onlyDuskPeriod + _onlyFullMoon = source._onlyFullMoon + _evolutionItemRequirementCost = source._evolutionItemRequirementCost + _evolutionMoveRequirement = source._evolutionMoveRequirement } } @@ -201671,24 +206759,28 @@ extension FortSearchOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &_storage._items) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._gemsAwarded) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._eggPokemon) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._xpAwarded) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._cooldownComplete) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._chainHackSequenceNumber) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._awardedGymBadge) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._loot) }() - case 10: try { try decoder.decodeSingularMessageField(value: &_storage._bonusLoot) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._raidTickets) }() - case 12: try { try decoder.decodeSingularMessageField(value: &_storage._teamBonusLoot) }() - case 13: try { try decoder.decodeSingularStringField(value: &_storage._fortID) }() - case 14: try { try decoder.decodeSingularMessageField(value: &_storage._challengeQuest) }() - case 15: try { try decoder.decodeSingularMessageField(value: &_storage._giftBox) }() - case 16: try { try decoder.decodeSingularMessageField(value: &_storage._sponsoredGift) }() - case 17: try { try decoder.decodeSingularMessageField(value: &_storage._powerUpStopBonusLoot) }() - case 18: try { try decoder.decodeSingularMessageField(value: &_storage._ad) }() + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._evolution) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._evolutionItemRequirement) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._candyCost) }() + case 4: try { try decoder.decodeSingularFloatField(value: &_storage._kmBuddyDistanceRequirement) }() + case 5: try { try decoder.decodeSingularEnumField(value: &_storage._form) }() + case 6: try { try decoder.decodeSingularEnumField(value: &_storage._genderRequirement) }() + case 8: try { try decoder.decodeSingularEnumField(value: &_storage._lureItemRequirement) }() + case 9: try { try decoder.decodeSingularBoolField(value: &_storage._mustBeBuddy) }() + case 10: try { try decoder.decodeSingularBoolField(value: &_storage._onlyDaytime) }() + case 11: try { try decoder.decodeSingularBoolField(value: &_storage._onlyNighttime) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._priority) }() + case 13: try { try decoder.decodeSingularBoolField(value: &_storage._noCandyCostViaTrade) }() + case 14: try { try decoder.decodeSingularEnumField(value: &_storage._temporaryEvolution) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._temporaryEvolutionEnergyCost) }() + case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._temporaryEvolutionEnergyCostSubsequent) }() + case 17: try { try decoder.decodeRepeatedMessageField(value: &_storage._questDisplay) }() + case 18: try { try decoder.decodeSingularBoolField(value: &_storage._onlyUpsideDown) }() + case 19: try { try decoder.decodeSingularInt32Field(value: &_storage._candyCostPurified) }() + case 20: try { try decoder.decodeSingularBoolField(value: &_storage._onlyDuskPeriod) }() + case 21: try { try decoder.decodeSingularBoolField(value: &_storage._onlyFullMoon) }() + case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._evolutionItemRequirementCost) }() + case 23: try { try decoder.decodeSingularEnumField(value: &_storage._evolutionMoveRequirement) }() default: break } } @@ -201697,91 +206789,103 @@ extension FortSearchOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple public func traverse(visitor: inout V) throws { try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._result != .noResultSet { - try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) + if _storage._evolution != .missingno { + try visitor.visitSingularEnumField(value: _storage._evolution, fieldNumber: 1) } - if !_storage._items.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._items, fieldNumber: 2) + if _storage._evolutionItemRequirement != .unknown { + try visitor.visitSingularEnumField(value: _storage._evolutionItemRequirement, fieldNumber: 2) } - if _storage._gemsAwarded != 0 { - try visitor.visitSingularInt32Field(value: _storage._gemsAwarded, fieldNumber: 3) + if _storage._candyCost != 0 { + try visitor.visitSingularInt32Field(value: _storage._candyCost, fieldNumber: 3) } - try { if let v = _storage._eggPokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if _storage._xpAwarded != 0 { - try visitor.visitSingularInt32Field(value: _storage._xpAwarded, fieldNumber: 5) + if _storage._kmBuddyDistanceRequirement != 0 { + try visitor.visitSingularFloatField(value: _storage._kmBuddyDistanceRequirement, fieldNumber: 4) } - if _storage._cooldownComplete != 0 { - try visitor.visitSingularInt64Field(value: _storage._cooldownComplete, fieldNumber: 6) + if _storage._form != .unset { + try visitor.visitSingularEnumField(value: _storage._form, fieldNumber: 5) } - if _storage._chainHackSequenceNumber != 0 { - try visitor.visitSingularInt32Field(value: _storage._chainHackSequenceNumber, fieldNumber: 7) + if _storage._genderRequirement != .unset { + try visitor.visitSingularEnumField(value: _storage._genderRequirement, fieldNumber: 6) } - try { if let v = _storage._awardedGymBadge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - try { if let v = _storage._loot { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() - try { if let v = _storage._bonusLoot { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - if _storage._raidTickets != 0 { - try visitor.visitSingularInt32Field(value: _storage._raidTickets, fieldNumber: 11) + if _storage._lureItemRequirement != .unknown { + try visitor.visitSingularEnumField(value: _storage._lureItemRequirement, fieldNumber: 8) } - try { if let v = _storage._teamBonusLoot { - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - } }() - if !_storage._fortID.isEmpty { - try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 13) + if _storage._mustBeBuddy != false { + try visitor.visitSingularBoolField(value: _storage._mustBeBuddy, fieldNumber: 9) + } + if _storage._onlyDaytime != false { + try visitor.visitSingularBoolField(value: _storage._onlyDaytime, fieldNumber: 10) + } + if _storage._onlyNighttime != false { + try visitor.visitSingularBoolField(value: _storage._onlyNighttime, fieldNumber: 11) + } + if _storage._priority != 0 { + try visitor.visitSingularInt32Field(value: _storage._priority, fieldNumber: 12) + } + if _storage._noCandyCostViaTrade != false { + try visitor.visitSingularBoolField(value: _storage._noCandyCostViaTrade, fieldNumber: 13) + } + if _storage._temporaryEvolution != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: _storage._temporaryEvolution, fieldNumber: 14) + } + if _storage._temporaryEvolutionEnergyCost != 0 { + try visitor.visitSingularInt32Field(value: _storage._temporaryEvolutionEnergyCost, fieldNumber: 15) + } + if _storage._temporaryEvolutionEnergyCostSubsequent != 0 { + try visitor.visitSingularInt32Field(value: _storage._temporaryEvolutionEnergyCostSubsequent, fieldNumber: 16) + } + if !_storage._questDisplay.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._questDisplay, fieldNumber: 17) + } + if _storage._onlyUpsideDown != false { + try visitor.visitSingularBoolField(value: _storage._onlyUpsideDown, fieldNumber: 18) + } + if _storage._candyCostPurified != 0 { + try visitor.visitSingularInt32Field(value: _storage._candyCostPurified, fieldNumber: 19) + } + if _storage._onlyDuskPeriod != false { + try visitor.visitSingularBoolField(value: _storage._onlyDuskPeriod, fieldNumber: 20) + } + if _storage._onlyFullMoon != false { + try visitor.visitSingularBoolField(value: _storage._onlyFullMoon, fieldNumber: 21) + } + if _storage._evolutionItemRequirementCost != 0 { + try visitor.visitSingularInt32Field(value: _storage._evolutionItemRequirementCost, fieldNumber: 22) + } + if _storage._evolutionMoveRequirement != .moveUnset { + try visitor.visitSingularEnumField(value: _storage._evolutionMoveRequirement, fieldNumber: 23) } - try { if let v = _storage._challengeQuest { - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - } }() - try { if let v = _storage._giftBox { - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - } }() - try { if let v = _storage._sponsoredGift { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - } }() - try { if let v = _storage._powerUpStopBonusLoot { - try visitor.visitSingularMessageField(value: v, fieldNumber: 17) - } }() - try { if let v = _storage._ad { - try visitor.visitSingularMessageField(value: v, fieldNumber: 18) - } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortSearchOutProto, rhs: FortSearchOutProto) -> Bool { + public static func ==(lhs: EvolutionBranchProto, rhs: EvolutionBranchProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._result != rhs_storage._result {return false} - if _storage._items != rhs_storage._items {return false} - if _storage._gemsAwarded != rhs_storage._gemsAwarded {return false} - if _storage._eggPokemon != rhs_storage._eggPokemon {return false} - if _storage._xpAwarded != rhs_storage._xpAwarded {return false} - if _storage._cooldownComplete != rhs_storage._cooldownComplete {return false} - if _storage._chainHackSequenceNumber != rhs_storage._chainHackSequenceNumber {return false} - if _storage._awardedGymBadge != rhs_storage._awardedGymBadge {return false} - if _storage._loot != rhs_storage._loot {return false} - if _storage._bonusLoot != rhs_storage._bonusLoot {return false} - if _storage._raidTickets != rhs_storage._raidTickets {return false} - if _storage._teamBonusLoot != rhs_storage._teamBonusLoot {return false} - if _storage._fortID != rhs_storage._fortID {return false} - if _storage._challengeQuest != rhs_storage._challengeQuest {return false} - if _storage._giftBox != rhs_storage._giftBox {return false} - if _storage._sponsoredGift != rhs_storage._sponsoredGift {return false} - if _storage._powerUpStopBonusLoot != rhs_storage._powerUpStopBonusLoot {return false} - if _storage._ad != rhs_storage._ad {return false} + if _storage._evolution != rhs_storage._evolution {return false} + if _storage._evolutionItemRequirement != rhs_storage._evolutionItemRequirement {return false} + if _storage._candyCost != rhs_storage._candyCost {return false} + if _storage._kmBuddyDistanceRequirement != rhs_storage._kmBuddyDistanceRequirement {return false} + if _storage._form != rhs_storage._form {return false} + if _storage._genderRequirement != rhs_storage._genderRequirement {return false} + if _storage._lureItemRequirement != rhs_storage._lureItemRequirement {return false} + if _storage._mustBeBuddy != rhs_storage._mustBeBuddy {return false} + if _storage._onlyDaytime != rhs_storage._onlyDaytime {return false} + if _storage._onlyNighttime != rhs_storage._onlyNighttime {return false} + if _storage._priority != rhs_storage._priority {return false} + if _storage._noCandyCostViaTrade != rhs_storage._noCandyCostViaTrade {return false} + if _storage._temporaryEvolution != rhs_storage._temporaryEvolution {return false} + if _storage._temporaryEvolutionEnergyCost != rhs_storage._temporaryEvolutionEnergyCost {return false} + if _storage._temporaryEvolutionEnergyCostSubsequent != rhs_storage._temporaryEvolutionEnergyCostSubsequent {return false} + if _storage._questDisplay != rhs_storage._questDisplay {return false} + if _storage._onlyUpsideDown != rhs_storage._onlyUpsideDown {return false} + if _storage._candyCostPurified != rhs_storage._candyCostPurified {return false} + if _storage._onlyDuskPeriod != rhs_storage._onlyDuskPeriod {return false} + if _storage._onlyFullMoon != rhs_storage._onlyFullMoon {return false} + if _storage._evolutionItemRequirementCost != rhs_storage._evolutionItemRequirementCost {return false} + if _storage._evolutionMoveRequirement != rhs_storage._evolutionMoveRequirement {return false} return true } if !storagesAreEqual {return false} @@ -201791,29 +206895,49 @@ extension FortSearchOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } -extension FortSearchOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension EvolutionChainDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolutionChainDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_RESULT_SET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "OUT_OF_RANGE"), - 3: .same(proto: "IN_COOLDOWN_PERIOD"), - 4: .same(proto: "INVENTORY_FULL"), - 5: .same(proto: "EXCEEDED_DAILY_LIMIT"), - 6: .same(proto: "POI_INACCESSIBLE"), + 1: .standard(proto: "header_message"), + 2: .standard(proto: "evolution_infos"), ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.headerMessage) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.evolutionInfos) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.headerMessage.isEmpty { + try visitor.visitSingularStringField(value: self.headerMessage, fieldNumber: 1) + } + if !self.evolutionInfos.isEmpty { + try visitor.visitRepeatedMessageField(value: self.evolutionInfos, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EvolutionChainDisplayProto, rhs: EvolutionChainDisplayProto) -> Bool { + if lhs.headerMessage != rhs.headerMessage {return false} + if lhs.evolutionInfos != rhs.evolutionInfos {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension FortSearchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortSearchProto" +extension EvolutionChainDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolutionChainDisplaySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .standard(proto: "player_lat_degrees"), - 3: .standard(proto: "player_lng_degrees"), - 4: .standard(proto: "fort_lat_degrees"), - 5: .standard(proto: "fort_lng_degrees"), - 7: .standard(proto: "ad_targeting_info"), - 8: .standard(proto: "is_player_eligible_for_geotargeted_quest"), - 9: .standard(proto: "is_from_wearable_device"), + 1: .same(proto: "pokemon"), + 2: .standard(proto: "evolution_chains"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201822,81 +206946,38 @@ extension FortSearchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.fortLatDegrees) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.fortLngDegrees) }() - case 7: try { try decoder.decodeSingularMessageField(value: &self._adTargetingInfo) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.isPlayerEligibleForGeotargetedQuest) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.isFromWearableDevice) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemon) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.evolutionChains) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.id.isEmpty { - try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) - } - if self.playerLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 2) - } - if self.playerLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 3) - } - if self.fortLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.fortLatDegrees, fieldNumber: 4) - } - if self.fortLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.fortLngDegrees, fieldNumber: 5) - } - try { if let v = self._adTargetingInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - } }() - if self.isPlayerEligibleForGeotargetedQuest != false { - try visitor.visitSingularBoolField(value: self.isPlayerEligibleForGeotargetedQuest, fieldNumber: 8) + if self.pokemon != .missingno { + try visitor.visitSingularEnumField(value: self.pokemon, fieldNumber: 1) } - if self.isFromWearableDevice != false { - try visitor.visitSingularBoolField(value: self.isFromWearableDevice, fieldNumber: 9) + if !self.evolutionChains.isEmpty { + try visitor.visitRepeatedMessageField(value: self.evolutionChains, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortSearchProto, rhs: FortSearchProto) -> Bool { - if lhs.id != rhs.id {return false} - if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} - if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} - if lhs.fortLatDegrees != rhs.fortLatDegrees {return false} - if lhs.fortLngDegrees != rhs.fortLngDegrees {return false} - if lhs._adTargetingInfo != rhs._adTargetingInfo {return false} - if lhs.isPlayerEligibleForGeotargetedQuest != rhs.isPlayerEligibleForGeotargetedQuest {return false} - if lhs.isFromWearableDevice != rhs.isFromWearableDevice {return false} + public static func ==(lhs: EvolutionChainDisplaySettingsProto, rhs: EvolutionChainDisplaySettingsProto) -> Bool { + if lhs.pokemon != rhs.pokemon {return false} + if lhs.evolutionChains != rhs.evolutionChains {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortSettingsProto" +extension EvolutionDisplayInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolutionDisplayInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "interaction_range_meters"), - 2: .standard(proto: "max_total_deployed_pokemon"), - 3: .standard(proto: "max_player_deployed_pokemon"), - 4: .standard(proto: "deploy_stamina_multiplier"), - 5: .standard(proto: "deploy_attack_multiplier"), - 6: .standard(proto: "far_interaction_range_meters"), - 7: .standard(proto: "disable_gyms"), - 8: .standard(proto: "max_same_pokemon_at_fort"), - 9: .standard(proto: "max_player_total_deployed_pokemon"), - 10: .standard(proto: "enable_hyperlinks_in_poi_descriptions"), - 11: .standard(proto: "enable_right_to_left_text_display"), - 12: .standard(proto: "enable_sponsored_poi_decorators"), - 13: .standard(proto: "remote_interaction_range_meters"), + 1: .same(proto: "pokemon"), + 2: .standard(proto: "temp_evo_id"), + 3: .same(proto: "form"), + 4: .same(proto: "gender"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201905,90 +206986,157 @@ extension FortSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.interactionRangeMeters) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxTotalDeployedPokemon) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxPlayerDeployedPokemon) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.deployStaminaMultiplier) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.deployAttackMultiplier) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.farInteractionRangeMeters) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.disableGyms) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.maxSamePokemonAtFort) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.maxPlayerTotalDeployedPokemon) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.enableHyperlinksInPoiDescriptions) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.enableRightToLeftTextDisplay) }() - case 12: try { try decoder.decodeSingularBoolField(value: &self.enableSponsoredPoiDecorators) }() - case 13: try { try decoder.decodeSingularDoubleField(value: &self.remoteInteractionRangeMeters) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemon) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.tempEvoID) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.form) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.gender) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.interactionRangeMeters != 0 { - try visitor.visitSingularDoubleField(value: self.interactionRangeMeters, fieldNumber: 1) - } - if self.maxTotalDeployedPokemon != 0 { - try visitor.visitSingularInt32Field(value: self.maxTotalDeployedPokemon, fieldNumber: 2) + if self.pokemon != .missingno { + try visitor.visitSingularEnumField(value: self.pokemon, fieldNumber: 1) } - if self.maxPlayerDeployedPokemon != 0 { - try visitor.visitSingularInt32Field(value: self.maxPlayerDeployedPokemon, fieldNumber: 3) + if self.tempEvoID != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: self.tempEvoID, fieldNumber: 2) } - if self.deployStaminaMultiplier != 0 { - try visitor.visitSingularDoubleField(value: self.deployStaminaMultiplier, fieldNumber: 4) + if self.form != .unset { + try visitor.visitSingularEnumField(value: self.form, fieldNumber: 3) } - if self.deployAttackMultiplier != 0 { - try visitor.visitSingularDoubleField(value: self.deployAttackMultiplier, fieldNumber: 5) + if self.gender != .unset { + try visitor.visitSingularEnumField(value: self.gender, fieldNumber: 4) } - if self.farInteractionRangeMeters != 0 { - try visitor.visitSingularDoubleField(value: self.farInteractionRangeMeters, fieldNumber: 6) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EvolutionDisplayInfoProto, rhs: EvolutionDisplayInfoProto) -> Bool { + if lhs.pokemon != rhs.pokemon {return false} + if lhs.tempEvoID != rhs.tempEvoID {return false} + if lhs.form != rhs.form {return false} + if lhs.gender != rhs.gender {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension EvolutionQuestInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolutionQuestInfoProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "quest_requirement_template_id"), + 2: .same(proto: "description"), + 3: .same(proto: "target"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.questRequirementTemplateID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.target) }() + default: break + } } - if self.disableGyms != false { - try visitor.visitSingularBoolField(value: self.disableGyms, fieldNumber: 7) + } + + public func traverse(visitor: inout V) throws { + if !self.questRequirementTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.questRequirementTemplateID, fieldNumber: 1) } - if self.maxSamePokemonAtFort != 0 { - try visitor.visitSingularInt32Field(value: self.maxSamePokemonAtFort, fieldNumber: 8) + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 2) } - if self.maxPlayerTotalDeployedPokemon != 0 { - try visitor.visitSingularInt32Field(value: self.maxPlayerTotalDeployedPokemon, fieldNumber: 9) + if self.target != 0 { + try visitor.visitSingularInt32Field(value: self.target, fieldNumber: 3) } - if self.enableHyperlinksInPoiDescriptions != false { - try visitor.visitSingularBoolField(value: self.enableHyperlinksInPoiDescriptions, fieldNumber: 10) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EvolutionQuestInfoProto, rhs: EvolutionQuestInfoProto) -> Bool { + if lhs.questRequirementTemplateID != rhs.questRequirementTemplateID {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.target != rhs.target {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension EvolutionV2SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolutionV2SettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "is_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.isEnabled) }() + default: break + } } - if self.enableRightToLeftTextDisplay != false { - try visitor.visitSingularBoolField(value: self.enableRightToLeftTextDisplay, fieldNumber: 11) + } + + public func traverse(visitor: inout V) throws { + if self.isEnabled != false { + try visitor.visitSingularBoolField(value: self.isEnabled, fieldNumber: 1) } - if self.enableSponsoredPoiDecorators != false { - try visitor.visitSingularBoolField(value: self.enableSponsoredPoiDecorators, fieldNumber: 12) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EvolutionV2SettingsProto, rhs: EvolutionV2SettingsProto) -> Bool { + if lhs.isEnabled != rhs.isEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension EvolveIntoPokemonQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolveIntoPokemonQuestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "unique_pokemon_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.uniquePokemonID) }() + default: break + } } - if self.remoteInteractionRangeMeters != 0 { - try visitor.visitSingularDoubleField(value: self.remoteInteractionRangeMeters, fieldNumber: 13) + } + + public func traverse(visitor: inout V) throws { + if !self.uniquePokemonID.isEmpty { + try visitor.visitPackedEnumField(value: self.uniquePokemonID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortSettingsProto, rhs: FortSettingsProto) -> Bool { - if lhs.interactionRangeMeters != rhs.interactionRangeMeters {return false} - if lhs.maxTotalDeployedPokemon != rhs.maxTotalDeployedPokemon {return false} - if lhs.maxPlayerDeployedPokemon != rhs.maxPlayerDeployedPokemon {return false} - if lhs.deployStaminaMultiplier != rhs.deployStaminaMultiplier {return false} - if lhs.deployAttackMultiplier != rhs.deployAttackMultiplier {return false} - if lhs.farInteractionRangeMeters != rhs.farInteractionRangeMeters {return false} - if lhs.disableGyms != rhs.disableGyms {return false} - if lhs.maxSamePokemonAtFort != rhs.maxSamePokemonAtFort {return false} - if lhs.maxPlayerTotalDeployedPokemon != rhs.maxPlayerTotalDeployedPokemon {return false} - if lhs.enableHyperlinksInPoiDescriptions != rhs.enableHyperlinksInPoiDescriptions {return false} - if lhs.enableRightToLeftTextDisplay != rhs.enableRightToLeftTextDisplay {return false} - if lhs.enableSponsoredPoiDecorators != rhs.enableSponsoredPoiDecorators {return false} - if lhs.remoteInteractionRangeMeters != rhs.remoteInteractionRangeMeters {return false} + public static func ==(lhs: EvolveIntoPokemonQuestProto, rhs: EvolveIntoPokemonQuestProto) -> Bool { + if lhs.uniquePokemonID != rhs.uniquePokemonID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortSponsor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortSponsor" +extension EvolvePokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolvePokemonOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "sponsor"), + 1: .same(proto: "result"), + 2: .standard(proto: "evolved_pokemon"), + 3: .standard(proto: "exp_awarded"), + 4: .standard(proto: "candy_awarded"), + 5: .same(proto: "preview"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -201997,62 +207145,73 @@ extension FortSponsor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.sponsor) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._evolvedPokemon) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.expAwarded) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.candyAwarded) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._preview) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.sponsor != .unset { - try visitor.visitSingularEnumField(value: self.sponsor, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._evolvedPokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.expAwarded != 0 { + try visitor.visitSingularInt32Field(value: self.expAwarded, fieldNumber: 3) } + if self.candyAwarded != 0 { + try visitor.visitSingularInt32Field(value: self.candyAwarded, fieldNumber: 4) + } + try { if let v = self._preview { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortSponsor, rhs: FortSponsor) -> Bool { - if lhs.sponsor != rhs.sponsor {return false} + public static func ==(lhs: EvolvePokemonOutProto, rhs: EvolvePokemonOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._evolvedPokemon != rhs._evolvedPokemon {return false} + if lhs.expAwarded != rhs.expAwarded {return false} + if lhs.candyAwarded != rhs.candyAwarded {return false} + if lhs._preview != rhs._preview {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FortSponsor.Sponsor: SwiftProtobuf._ProtoNameProviding { +extension EvolvePokemonOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "MCDONALDS"), - 2: .same(proto: "POKEMON_STORE"), - 3: .same(proto: "TOHO"), - 4: .same(proto: "SOFTBANK"), - 5: .same(proto: "GLOBE"), - 6: .same(proto: "SPATULA"), - 7: .same(proto: "THERMOMETER"), - 8: .same(proto: "KNIFE"), - 9: .same(proto: "GRILL"), - 10: .same(proto: "SMOKER"), - 11: .same(proto: "PAN"), - 12: .same(proto: "BBQ"), - 13: .same(proto: "FRYER"), - 14: .same(proto: "STEAMER"), - 15: .same(proto: "HOOD"), - 16: .same(proto: "SLOWCOOKER"), - 17: .same(proto: "MIXER"), - 18: .same(proto: "SCOOPER"), - 19: .same(proto: "MUFFINTIN"), - 20: .same(proto: "SALAMANDER"), - 21: .same(proto: "PLANCHA"), - 22: .same(proto: "NIA_OPS"), - 23: .same(proto: "WHISK"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILED_POKEMON_MISSING"), + 3: .same(proto: "FAILED_INSUFFICIENT_RESOURCES"), + 4: .same(proto: "FAILED_POKEMON_CANNOT_EVOLVE"), + 5: .same(proto: "FAILED_POKEMON_IS_DEPLOYED"), + 6: .same(proto: "FAILED_INVALID_ITEM_REQUIREMENT"), ] } -extension FortUpdateLatencyTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FortUpdateLatencyTelemetry" +extension EvolvePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolvePokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "latency_ms"), - 2: .standard(proto: "fort_type"), - 3: .same(proto: "distance"), - 4: .same(proto: "context"), + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "evolution_item_requirement"), + 3: .standard(proto: "target_pokemon_id"), + 4: .standard(proto: "target_pokemon_form"), + 5: .standard(proto: "use_special"), + 6: .same(proto: "preview"), + 7: .standard(proto: "debug_proto"), + 8: .standard(proto: "evolution_item_requirement_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202061,45 +207220,70 @@ extension FortUpdateLatencyTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.latencyMs) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.fortType) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.distance) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.context) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.evolutionItemRequirement) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.targetPokemonID) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.targetPokemonForm) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.useSpecial) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.preview) }() + case 7: try { try decoder.decodeSingularMessageField(value: &self._debugProto) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.evolutionItemRequirementCount) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.latencyMs != 0 { - try visitor.visitSingularInt32Field(value: self.latencyMs, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) } - if self.fortType != 0 { - try visitor.visitSingularInt32Field(value: self.fortType, fieldNumber: 2) + if self.evolutionItemRequirement != .unknown { + try visitor.visitSingularEnumField(value: self.evolutionItemRequirement, fieldNumber: 2) } - if self.distance != 0 { - try visitor.visitSingularFloatField(value: self.distance, fieldNumber: 3) + if self.targetPokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.targetPokemonID, fieldNumber: 3) } - if !self.context.isEmpty { - try visitor.visitSingularStringField(value: self.context, fieldNumber: 4) + if self.targetPokemonForm != .unset { + try visitor.visitSingularEnumField(value: self.targetPokemonForm, fieldNumber: 4) + } + if self.useSpecial != false { + try visitor.visitSingularBoolField(value: self.useSpecial, fieldNumber: 5) + } + if self.preview != false { + try visitor.visitSingularBoolField(value: self.preview, fieldNumber: 6) + } + try { if let v = self._debugProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() + if self.evolutionItemRequirementCount != 0 { + try visitor.visitSingularInt32Field(value: self.evolutionItemRequirementCount, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FortUpdateLatencyTelemetry, rhs: FortUpdateLatencyTelemetry) -> Bool { - if lhs.latencyMs != rhs.latencyMs {return false} - if lhs.fortType != rhs.fortType {return false} - if lhs.distance != rhs.distance {return false} - if lhs.context != rhs.context {return false} + public static func ==(lhs: EvolvePokemonProto, rhs: EvolvePokemonProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.evolutionItemRequirement != rhs.evolutionItemRequirement {return false} + if lhs.targetPokemonID != rhs.targetPokemonID {return false} + if lhs.targetPokemonForm != rhs.targetPokemonForm {return false} + if lhs.useSpecial != rhs.useSpecial {return false} + if lhs.preview != rhs.preview {return false} + if lhs._debugProto != rhs._debugProto {return false} + if lhs.evolutionItemRequirementCount != rhs.evolutionItemRequirementCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FrameRate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FrameRate" +extension EvolvePokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolvePokemonTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sampled_frame_rate"), + 1: .same(proto: "pokemon"), + 2: .standard(proto: "evolved_pokemon"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202108,7 +207292,8 @@ extension FrameRate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._sampledFrameRate) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._evolvedPokemon) }() default: break } } @@ -202119,165 +207304,116 @@ extension FrameRate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._sampledFrameRate { + try { if let v = self._pokemon { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() + try { if let v = self._evolvedPokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FrameRate, rhs: FrameRate) -> Bool { - if lhs._sampledFrameRate != rhs._sampledFrameRate {return false} + public static func ==(lhs: EvolvePokemonTelemetry, rhs: EvolvePokemonTelemetry) -> Bool { + if lhs._pokemon != rhs._pokemon {return false} + if lhs._evolvedPokemon != rhs._evolvedPokemon {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FriendDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FriendDetailsProto" +extension EvolvePreviewSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".EvolvePreviewSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "player"), - 2: .standard(proto: "friend_visible_data"), - 3: .same(proto: "score"), - 4: .standard(proto: "data_with_me"), - 5: .standard(proto: "online_status"), - 6: .standard(proto: "created_ms"), - 7: .standard(proto: "shared_data"), - 8: .standard(proto: "data_from_me"), - 9: .standard(proto: "data_to_me"), + 1: .standard(proto: "enable_normal_evolve_preview"), + 2: .standard(proto: "enable_mega_evolve_preview"), + 3: .standard(proto: "enable_evolve_preview_debug_logging"), ] - fileprivate class _StorageClass { - var _player: PlayerSummaryProto? = nil - var _friendVisibleData: Data = Data() - var _score: Int32 = 0 - var _dataWithMe: FriendshipDataProto? = nil - var _onlineStatus: FriendDetailsProto.OnlineStatus = .unset - var _createdMs: Int64 = 0 - var _sharedData: Data = Data() - var _dataFromMe: OneWaySharedFriendshipDataProto? = nil - var _dataToMe: OneWaySharedFriendshipDataProto? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _player = source._player - _friendVisibleData = source._friendVisibleData - _score = source._score - _dataWithMe = source._dataWithMe - _onlineStatus = source._onlineStatus - _createdMs = source._createdMs - _sharedData = source._sharedData - _dataFromMe = source._dataFromMe - _dataToMe = source._dataToMe + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableNormalEvolvePreview) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableMegaEvolvePreview) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enableEvolvePreviewDebugLogging) }() + default: break + } } } - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + public func traverse(visitor: inout V) throws { + if self.enableNormalEvolvePreview != false { + try visitor.visitSingularBoolField(value: self.enableNormalEvolvePreview, fieldNumber: 1) } - return _storage + if self.enableMegaEvolvePreview != false { + try visitor.visitSingularBoolField(value: self.enableMegaEvolvePreview, fieldNumber: 2) + } + if self.enableEvolvePreviewDebugLogging != false { + try visitor.visitSingularBoolField(value: self.enableEvolvePreviewDebugLogging, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: EvolvePreviewSettingsProto, rhs: EvolvePreviewSettingsProto) -> Bool { + if lhs.enableNormalEvolvePreview != rhs.enableNormalEvolvePreview {return false} + if lhs.enableMegaEvolvePreview != rhs.enableMegaEvolvePreview {return false} + if lhs.enableEvolvePreviewDebugLogging != rhs.enableEvolvePreviewDebugLogging {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true } +} + +extension ExceptionCaughtData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ExceptionCaughtData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "exception_code"), + 2: .same(proto: "location"), + ] public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._player) }() - case 2: try { try decoder.decodeSingularBytesField(value: &_storage._friendVisibleData) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._score) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._dataWithMe) }() - case 5: try { try decoder.decodeSingularEnumField(value: &_storage._onlineStatus) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._createdMs) }() - case 7: try { try decoder.decodeSingularBytesField(value: &_storage._sharedData) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._dataFromMe) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._dataToMe) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.exceptionCode) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.location) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !_storage._friendVisibleData.isEmpty { - try visitor.visitSingularBytesField(value: _storage._friendVisibleData, fieldNumber: 2) - } - if _storage._score != 0 { - try visitor.visitSingularInt32Field(value: _storage._score, fieldNumber: 3) - } - try { if let v = _storage._dataWithMe { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if _storage._onlineStatus != .unset { - try visitor.visitSingularEnumField(value: _storage._onlineStatus, fieldNumber: 5) - } - if _storage._createdMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._createdMs, fieldNumber: 6) - } - if !_storage._sharedData.isEmpty { - try visitor.visitSingularBytesField(value: _storage._sharedData, fieldNumber: 7) - } - try { if let v = _storage._dataFromMe { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - try { if let v = _storage._dataToMe { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() + if self.exceptionCode != 0 { + try visitor.visitSingularInt32Field(value: self.exceptionCode, fieldNumber: 1) + } + if self.location != .noException { + try visitor.visitSingularEnumField(value: self.location, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FriendDetailsProto, rhs: FriendDetailsProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._player != rhs_storage._player {return false} - if _storage._friendVisibleData != rhs_storage._friendVisibleData {return false} - if _storage._score != rhs_storage._score {return false} - if _storage._dataWithMe != rhs_storage._dataWithMe {return false} - if _storage._onlineStatus != rhs_storage._onlineStatus {return false} - if _storage._createdMs != rhs_storage._createdMs {return false} - if _storage._sharedData != rhs_storage._sharedData {return false} - if _storage._dataFromMe != rhs_storage._dataFromMe {return false} - if _storage._dataToMe != rhs_storage._dataToMe {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: ExceptionCaughtData, rhs: ExceptionCaughtData) -> Bool { + if lhs.exceptionCode != rhs.exceptionCode {return false} + if lhs.location != rhs.location {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FriendDetailsProto.OnlineStatus: SwiftProtobuf._ProtoNameProviding { +extension ExceptionCaughtData.ExceptionLocation: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "STATUS_UNKNOWN"), - 2: .same(proto: "STATUS_ONLINE"), - 3: .same(proto: "STATUS_OFFLINE"), + 0: .same(proto: "NO_EXCEPTION"), ] } -extension FriendProfileSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FriendProfileSettingsProto" +extension ExceptionCaughtInCombatData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ExceptionCaughtInCombatData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_swiping"), - 2: .standard(proto: "ob_bool"), + 1: .standard(proto: "exception_code"), + 2: .same(proto: "location"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202286,38 +207422,43 @@ extension FriendProfileSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableSwiping) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.exceptionCode) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.location) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableSwiping != false { - try visitor.visitSingularBoolField(value: self.enableSwiping, fieldNumber: 1) + if self.exceptionCode != 0 { + try visitor.visitSingularInt32Field(value: self.exceptionCode, fieldNumber: 1) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + if self.location != .noException { + try visitor.visitSingularEnumField(value: self.location, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FriendProfileSettingsProto, rhs: FriendProfileSettingsProto) -> Bool { - if lhs.enableSwiping != rhs.enableSwiping {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: ExceptionCaughtInCombatData, rhs: ExceptionCaughtInCombatData) -> Bool { + if lhs.exceptionCode != rhs.exceptionCode {return false} + if lhs.location != rhs.location {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FriendRecommendation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FriendRecommendation" +extension ExceptionCaughtInCombatData.ExceptionLocation: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "nia_account_id"), - 2: .standard(proto: "recommendation_score"), - 3: .same(proto: "reason"), - 4: .standard(proto: "recommendation_id"), + 0: .same(proto: "NO_EXCEPTION"), + 1: .same(proto: "COMBAT_PUB_SUB"), + ] +} + +extension ExperienceBoostAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ExperienceBoostAttributesProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "xp_multiplier"), + 2: .standard(proto: "boost_duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202326,83 +207467,105 @@ extension FriendRecommendation: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.recommendationScore) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.reason) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.recommendationID) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.xpMultiplier) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.boostDurationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 1) - } - if self.recommendationScore != 0 { - try visitor.visitSingularDoubleField(value: self.recommendationScore, fieldNumber: 2) - } - if self.reason != .unsetReason { - try visitor.visitSingularEnumField(value: self.reason, fieldNumber: 3) + if self.xpMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.xpMultiplier, fieldNumber: 1) } - if !self.recommendationID.isEmpty { - try visitor.visitSingularStringField(value: self.recommendationID, fieldNumber: 4) + if self.boostDurationMs != 0 { + try visitor.visitSingularInt32Field(value: self.boostDurationMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FriendRecommendation, rhs: FriendRecommendation) -> Bool { - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs.recommendationScore != rhs.recommendationScore {return false} - if lhs.reason != rhs.reason {return false} - if lhs.recommendationID != rhs.recommendationID {return false} + public static func ==(lhs: ExperienceBoostAttributesProto, rhs: ExperienceBoostAttributesProto) -> Bool { + if lhs.xpMultiplier != rhs.xpMultiplier {return false} + if lhs.boostDurationMs != rhs.boostDurationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FriendRecommendationAttributeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FriendRecommendationAttributeData" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension ExtendedPrimalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ExtendedPrimalSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "extended_primals_enabled"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.extendedPrimalsEnabled) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.extendedPrimalsEnabled != false { + try visitor.visitSingularBoolField(value: self.extendedPrimalsEnabled, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FriendRecommendationAttributeData, rhs: FriendRecommendationAttributeData) -> Bool { + public static func ==(lhs: ExtendedPrimalSettingsProto, rhs: ExtendedPrimalSettingsProto) -> Bool { + if lhs.extendedPrimalsEnabled != rhs.extendedPrimalsEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FriendRecommendationAttributeData.Reason: SwiftProtobuf._ProtoNameProviding { +extension ExternalAddressableAssetsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ExternalAddressableAssetsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_REASON"), + 1: .standard(proto: "main_catalog_id"), + 2: .standard(proto: "avatar_catalog_id"), ] -} -extension FriendRecommendationAttributeData.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_TYPE"), - 1: .same(proto: "NEW_APP_FRIEND_TYPE"), - ] + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.mainCatalogID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.avatarCatalogID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.mainCatalogID != 0 { + try visitor.visitSingularInt32Field(value: self.mainCatalogID, fieldNumber: 1) + } + if self.avatarCatalogID != 0 { + try visitor.visitSingularInt32Field(value: self.avatarCatalogID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ExternalAddressableAssetsProto, rhs: ExternalAddressableAssetsProto) -> Bool { + if lhs.mainCatalogID != rhs.mainCatalogID {return false} + if lhs.avatarCatalogID != rhs.avatarCatalogID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension FriendshipDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FriendshipDataProto" +extension FakeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FakeDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friendship_level_data"), - 2: .standard(proto: "giftbox_details"), - 3: .same(proto: "codename"), - 4: .same(proto: "nickname"), - 5: .standard(proto: "open_trade_expire_ms"), - 6: .standard(proto: "is_lucky"), - 7: .standard(proto: "lucky_count"), + 1: .standard(proto: "fake_pokemon"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202411,13 +207574,7 @@ extension FriendshipDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._friendshipLevelData) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.giftboxDetails) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.codename) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.nickname) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.openTradeExpireMs) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.isLucky) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.luckyCount) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._fakePokemon) }() default: break } } @@ -202428,52 +207585,24 @@ extension FriendshipDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._friendshipLevelData { + try { if let v = self._fakePokemon { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if !self.giftboxDetails.isEmpty { - try visitor.visitRepeatedMessageField(value: self.giftboxDetails, fieldNumber: 2) - } - if !self.codename.isEmpty { - try visitor.visitSingularStringField(value: self.codename, fieldNumber: 3) - } - if !self.nickname.isEmpty { - try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 4) - } - if self.openTradeExpireMs != 0 { - try visitor.visitSingularInt64Field(value: self.openTradeExpireMs, fieldNumber: 5) - } - if self.isLucky != false { - try visitor.visitSingularBoolField(value: self.isLucky, fieldNumber: 6) - } - if self.luckyCount != 0 { - try visitor.visitSingularInt32Field(value: self.luckyCount, fieldNumber: 7) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FriendshipDataProto, rhs: FriendshipDataProto) -> Bool { - if lhs._friendshipLevelData != rhs._friendshipLevelData {return false} - if lhs.giftboxDetails != rhs.giftboxDetails {return false} - if lhs.codename != rhs.codename {return false} - if lhs.nickname != rhs.nickname {return false} - if lhs.openTradeExpireMs != rhs.openTradeExpireMs {return false} - if lhs.isLucky != rhs.isLucky {return false} - if lhs.luckyCount != rhs.luckyCount {return false} + public static func ==(lhs: FakeDataProto, rhs: FakeDataProto) -> Bool { + if lhs._fakePokemon != rhs._fakePokemon {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FriendshipLevelDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FriendshipLevelDataProto" +extension FavoritePokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FavoritePokemonTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "bucket"), - 2: .standard(proto: "points_earned_today"), - 3: .standard(proto: "awarded_friendship_milestone"), - 4: .standard(proto: "current_friendship_milestone"), - 5: .standard(proto: "next_friendship_milestone_progress_percentage"), - 6: .standard(proto: "points_toward_next_milestone"), + 1: .same(proto: "pokemon"), + 2: .same(proto: "favored"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202482,60 +207611,39 @@ extension FriendshipLevelDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.bucket) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.pointsEarnedToday) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.awardedFriendshipMilestone) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.currentFriendshipMilestone) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.nextFriendshipMilestoneProgressPercentage) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.pointsTowardNextMilestone) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.favored) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.bucket != 0 { - try visitor.visitSingularInt64Field(value: self.bucket, fieldNumber: 1) - } - if self.pointsEarnedToday != 0 { - try visitor.visitSingularInt32Field(value: self.pointsEarnedToday, fieldNumber: 2) - } - if self.awardedFriendshipMilestone != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: self.awardedFriendshipMilestone, fieldNumber: 3) - } - if self.currentFriendshipMilestone != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: self.currentFriendshipMilestone, fieldNumber: 4) - } - if self.nextFriendshipMilestoneProgressPercentage != 0 { - try visitor.visitSingularDoubleField(value: self.nextFriendshipMilestoneProgressPercentage, fieldNumber: 5) - } - if self.pointsTowardNextMilestone != 0 { - try visitor.visitSingularInt32Field(value: self.pointsTowardNextMilestone, fieldNumber: 6) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.favored != false { + try visitor.visitSingularBoolField(value: self.favored, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FriendshipLevelDataProto, rhs: FriendshipLevelDataProto) -> Bool { - if lhs.bucket != rhs.bucket {return false} - if lhs.pointsEarnedToday != rhs.pointsEarnedToday {return false} - if lhs.awardedFriendshipMilestone != rhs.awardedFriendshipMilestone {return false} - if lhs.currentFriendshipMilestone != rhs.currentFriendshipMilestone {return false} - if lhs.nextFriendshipMilestoneProgressPercentage != rhs.nextFriendshipMilestoneProgressPercentage {return false} - if lhs.pointsTowardNextMilestone != rhs.pointsTowardNextMilestone {return false} + public static func ==(lhs: FavoritePokemonTelemetry, rhs: FavoritePokemonTelemetry) -> Bool { + if lhs._pokemon != rhs._pokemon {return false} + if lhs.favored != rhs.favored {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FriendshipLevelMilestoneSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FriendshipLevelMilestoneSettingsProto" +extension FbTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FbTokenProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_points_to_reach"), - 2: .standard(proto: "milestone_xp_reward"), - 3: .standard(proto: "attack_bonus_percentage"), - 4: .standard(proto: "raid_ball_bonus"), - 5: .standard(proto: "unlocked_trading"), - 6: .standard(proto: "trading_discount"), + 1: .same(proto: "token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202544,71 +207652,34 @@ extension FriendshipLevelMilestoneSettingsProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPointsToReach) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.milestoneXpReward) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.attackBonusPercentage) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.raidBallBonus) }() - case 5: try { try decoder.decodeRepeatedEnumField(value: &self.unlockedTrading) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.tradingDiscount) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.token) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minPointsToReach != 0 { - try visitor.visitSingularInt32Field(value: self.minPointsToReach, fieldNumber: 1) - } - if self.milestoneXpReward != 0 { - try visitor.visitSingularInt32Field(value: self.milestoneXpReward, fieldNumber: 2) - } - if self.attackBonusPercentage != 0 { - try visitor.visitSingularFloatField(value: self.attackBonusPercentage, fieldNumber: 3) - } - if self.raidBallBonus != 0 { - try visitor.visitSingularInt32Field(value: self.raidBallBonus, fieldNumber: 4) - } - if !self.unlockedTrading.isEmpty { - try visitor.visitPackedEnumField(value: self.unlockedTrading, fieldNumber: 5) - } - if self.tradingDiscount != 0 { - try visitor.visitSingularFloatField(value: self.tradingDiscount, fieldNumber: 6) + if !self.token.isEmpty { + try visitor.visitSingularStringField(value: self.token, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FriendshipLevelMilestoneSettingsProto, rhs: FriendshipLevelMilestoneSettingsProto) -> Bool { - if lhs.minPointsToReach != rhs.minPointsToReach {return false} - if lhs.milestoneXpReward != rhs.milestoneXpReward {return false} - if lhs.attackBonusPercentage != rhs.attackBonusPercentage {return false} - if lhs.raidBallBonus != rhs.raidBallBonus {return false} - if lhs.unlockedTrading != rhs.unlockedTrading {return false} - if lhs.tradingDiscount != rhs.tradingDiscount {return false} + public static func ==(lhs: FbTokenProto, rhs: FbTokenProto) -> Bool { + if lhs.token != rhs.token {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FriendshipLevelMilestoneSettingsProto.PokemonTradingType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "REGULAR_IN_POKEDEX"), - 2: .same(proto: "SPECIAL_IN_POKEDEX"), - 3: .same(proto: "REGULAR_NON_POKEDEX"), - 4: .same(proto: "REGIONAL_NON_POKEDEX"), - 5: .same(proto: "FORM_NON_POKEDEX"), - 6: .same(proto: "LEGENDARY_NON_POKEDEX"), - 7: .same(proto: "SHINY_NON_POKEDEX"), - ] -} - -extension FriendshipMilestoneRewardNotificationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FriendshipMilestoneRewardNotificationProto" +extension Feature: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Feature" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .standard(proto: "friend_codename"), - 3: .standard(proto: "friendship_milestone_level"), - 4: .standard(proto: "xp_reward"), + 3: .standard(proto: "building_metadata"), + 4: .standard(proto: "road_metadata"), + 5: .standard(proto: "transit_metadata"), + 1: .same(proto: "geometry"), + 2: .same(proto: "label"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202617,47 +207688,96 @@ extension FriendshipMilestoneRewardNotificationProto: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.friendCodename) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.friendshipMilestoneLevel) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.xpReward) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._geometry) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._label) }() + case 3: try { + var v: BuildingMetadata? + var hadOneofValue = false + if let current = self.metadata { + hadOneofValue = true + if case .buildingMetadata(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.metadata = .buildingMetadata(v) + } + }() + case 4: try { + var v: RoadMetadata? + var hadOneofValue = false + if let current = self.metadata { + hadOneofValue = true + if case .roadMetadata(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.metadata = .roadMetadata(v) + } + }() + case 5: try { + var v: TransitMetadata? + var hadOneofValue = false + if let current = self.metadata { + hadOneofValue = true + if case .transitMetadata(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.metadata = .transitMetadata(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) - } - if !self.friendCodename.isEmpty { - try visitor.visitSingularStringField(value: self.friendCodename, fieldNumber: 2) - } - if self.friendshipMilestoneLevel != 0 { - try visitor.visitSingularInt32Field(value: self.friendshipMilestoneLevel, fieldNumber: 3) - } - if self.xpReward != 0 { - try visitor.visitSingularInt64Field(value: self.xpReward, fieldNumber: 4) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._geometry { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._label { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + switch self.metadata { + case .buildingMetadata?: try { + guard case .buildingMetadata(let v)? = self.metadata else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .roadMetadata?: try { + guard case .roadMetadata(let v)? = self.metadata else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .transitMetadata?: try { + guard case .transitMetadata(let v)? = self.metadata else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FriendshipMilestoneRewardNotificationProto, rhs: FriendshipMilestoneRewardNotificationProto) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs.friendCodename != rhs.friendCodename {return false} - if lhs.friendshipMilestoneLevel != rhs.friendshipMilestoneLevel {return false} - if lhs.xpReward != rhs.xpReward {return false} + public static func ==(lhs: Feature, rhs: Feature) -> Bool { + if lhs.metadata != rhs.metadata {return false} + if lhs._geometry != rhs._geometry {return false} + if lhs._label != rhs._label {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension FriendshipMilestoneRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".FriendshipMilestoneRewardProto" +extension FeatureUnlockLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FeatureUnlockLevelSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .standard(proto: "friendship_milestone"), - 3: .standard(proto: "nia_account_id"), + 1: .standard(proto: "lures_unlock_level"), + 2: .standard(proto: "trading_unlock_level"), + 3: .standard(proto: "rare_candy_conversion_unlock_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202666,44 +207786,46 @@ extension FriendshipMilestoneRewardProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.friendshipMilestone) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.luresUnlockLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.tradingUnlockLevel) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.rareCandyConversionUnlockLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) + if self.luresUnlockLevel != 0 { + try visitor.visitSingularInt32Field(value: self.luresUnlockLevel, fieldNumber: 1) } - if self.friendshipMilestone != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: self.friendshipMilestone, fieldNumber: 2) + if self.tradingUnlockLevel != 0 { + try visitor.visitSingularInt32Field(value: self.tradingUnlockLevel, fieldNumber: 2) } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 3) + if self.rareCandyConversionUnlockLevel != 0 { + try visitor.visitSingularInt32Field(value: self.rareCandyConversionUnlockLevel, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: FriendshipMilestoneRewardProto, rhs: FriendshipMilestoneRewardProto) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs.friendshipMilestone != rhs.friendshipMilestone {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} + public static func ==(lhs: FeatureUnlockLevelSettings, rhs: FeatureUnlockLevelSettings) -> Bool { + if lhs.luresUnlockLevel != rhs.luresUnlockLevel {return false} + if lhs.tradingUnlockLevel != rhs.tradingUnlockLevel {return false} + if lhs.rareCandyConversionUnlockLevel != rhs.rareCandyConversionUnlockLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM11SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM11SettingsProto" +extension FeedPokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FeedPokemonTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), - 3: .standard(proto: "ob_int32_3"), - 4: .standard(proto: "ob_int32_4"), - 5: .standard(proto: "ob_float"), + 1: .same(proto: "status"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "gym_id"), + 4: .same(proto: "team"), + 5: .standard(proto: "defender_count"), + 6: .same(proto: "motivation"), + 7: .standard(proto: "cp_now"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202712,52 +207834,66 @@ extension GM11SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt324) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.team) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.defenderCount) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.motivation) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.cpNow) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != 0 { + try visitor.visitSingularInt32Field(value: self.status, fieldNumber: 1) + } + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 3) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) + if self.team != .unset { + try visitor.visitSingularEnumField(value: self.team, fieldNumber: 4) } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 3) + if self.defenderCount != 0 { + try visitor.visitSingularInt32Field(value: self.defenderCount, fieldNumber: 5) } - if self.obInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt324, fieldNumber: 4) + if self.motivation != 0 { + try visitor.visitSingularInt32Field(value: self.motivation, fieldNumber: 6) } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 5) + if self.cpNow != 0 { + try visitor.visitSingularInt32Field(value: self.cpNow, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM11SettingsProto, rhs: GM11SettingsProto) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obInt324 != rhs.obInt324 {return false} - if lhs.obFloat != rhs.obFloat {return false} + public static func ==(lhs: FeedPokemonTelemetry, rhs: FeedPokemonTelemetry) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs.gymID != rhs.gymID {return false} + if lhs.team != rhs.team {return false} + if lhs.defenderCount != rhs.defenderCount {return false} + if lhs.motivation != rhs.motivation {return false} + if lhs.cpNow != rhs.cpNow {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM1SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM1SettingsProto" +extension FestivalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FestivalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "activity"), - 2: .standard(proto: "ob_int32_1"), - 3: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "festival_type"), + 2: .same(proto: "key"), + 3: .same(proto: "vector"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202766,47 +207902,50 @@ extension GM1SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.activity) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.festivalType) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.key) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.vector) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.activity != .unset { - try visitor.visitSingularEnumField(value: self.activity, fieldNumber: 1) + if self.festivalType != .none { + try visitor.visitSingularEnumField(value: self.festivalType, fieldNumber: 1) } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 2) + if !self.key.isEmpty { + try visitor.visitSingularStringField(value: self.key, fieldNumber: 2) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 3) + if !self.vector.isEmpty { + try visitor.visitSingularStringField(value: self.vector, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM1SettingsProto, rhs: GM1SettingsProto) -> Bool { - if lhs.activity != rhs.activity {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: FestivalSettingsProto, rhs: FestivalSettingsProto) -> Bool { + if lhs.festivalType != rhs.festivalType {return false} + if lhs.key != rhs.key {return false} + if lhs.vector != rhs.vector {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM1SettingsProto.Activity: SwiftProtobuf._ProtoNameProviding { +extension FestivalSettingsProto.FestivalType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "FORT_POWER_UP_ACTIVITY_AR_SCAN"), + 0: .same(proto: "NONE"), + 1: .same(proto: "HALLOWEEN"), + 2: .same(proto: "HOLIDAY"), + 3: .same(proto: "ROCKET"), ] } -extension GM27SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM27SettingsProto" +extension FetchAllNewsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FetchAllNewsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 1: .same(proto: "result"), + 2: .standard(proto: "current_news"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202815,62 +207954,68 @@ extension GM27SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._currentNews) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._currentNews { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM27SettingsProto, rhs: GM27SettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: FetchAllNewsOutProto, rhs: FetchAllNewsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._currentNews != rhs._currentNews {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM29SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM29SettingsProto" +extension FetchAllNewsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_enabled"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "NO_NEWS_FOUND"), ] +} + +extension FetchAllNewsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FetchAllNewsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obEnabled) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.obEnabled != false { - try visitor.visitSingularBoolField(value: self.obEnabled, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM29SettingsProto, rhs: GM29SettingsProto) -> Bool { - if lhs.obEnabled != rhs.obEnabled {return false} + public static func ==(lhs: FetchAllNewsProto, rhs: FetchAllNewsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM2SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM2SettingsProto" +extension FetchNewsfeedResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FetchNewsfeedResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .same(proto: "result"), + 2: .standard(proto: "post_record"), + 3: .standard(proto: "next_page_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202879,30 +208024,56 @@ extension GM2SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.postRecord) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.nextPageToken) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.postRecord.isEmpty { + try visitor.visitRepeatedMessageField(value: self.postRecord, fieldNumber: 2) + } + if !self.nextPageToken.isEmpty { + try visitor.visitSingularStringField(value: self.nextPageToken, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM2SettingsProto, rhs: GM2SettingsProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: FetchNewsfeedResponse, rhs: FetchNewsfeedResponse) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.postRecord != rhs.postRecord {return false} + if lhs.nextPageToken != rhs.nextPageToken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM30SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM30SettingsProto" +extension FetchNewsfeedResponse.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "INTERNAL_ERROR"), + 3: .same(proto: "CHANNEL_NOT_DEFINED"), + ] +} + +extension FieldDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FieldDescriptorProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_enabled"), + 1: .same(proto: "name"), + 2: .same(proto: "number"), + 3: .standard(proto: "type_name"), + 4: .same(proto: "extendee"), + 5: .standard(proto: "default_value"), + 6: .standard(proto: "oneof_index"), + 7: .standard(proto: "json_name"), + 8: .same(proto: "options"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202911,30 +208082,102 @@ extension GM30SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obEnabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.number) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.typeName) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.extendee) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.defaultValue) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.oneofIndex) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.jsonName) }() + case 8: try { try decoder.decodeSingularMessageField(value: &self._options) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obEnabled != false { - try visitor.visitSingularBoolField(value: self.obEnabled, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + } + if self.number != 0 { + try visitor.visitSingularInt32Field(value: self.number, fieldNumber: 2) + } + if !self.typeName.isEmpty { + try visitor.visitSingularStringField(value: self.typeName, fieldNumber: 3) } + if !self.extendee.isEmpty { + try visitor.visitSingularStringField(value: self.extendee, fieldNumber: 4) + } + if !self.defaultValue.isEmpty { + try visitor.visitSingularStringField(value: self.defaultValue, fieldNumber: 5) + } + if self.oneofIndex != 0 { + try visitor.visitSingularInt32Field(value: self.oneofIndex, fieldNumber: 6) + } + if !self.jsonName.isEmpty { + try visitor.visitSingularStringField(value: self.jsonName, fieldNumber: 7) + } + try { if let v = self._options { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM30SettingsProto, rhs: GM30SettingsProto) -> Bool { - if lhs.obEnabled != rhs.obEnabled {return false} + public static func ==(lhs: FieldDescriptorProto, rhs: FieldDescriptorProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.number != rhs.number {return false} + if lhs.typeName != rhs.typeName {return false} + if lhs.extendee != rhs.extendee {return false} + if lhs.defaultValue != rhs.defaultValue {return false} + if lhs.oneofIndex != rhs.oneofIndex {return false} + if lhs.jsonName != rhs.jsonName {return false} + if lhs._options != rhs._options {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM37SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM37SettingsProto" +extension FieldDescriptorProto.Label: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 0: .same(proto: "LABEL_AUTO_INVALID"), + 1: .same(proto: "optional"), + 2: .same(proto: "required"), + 3: .same(proto: "repeated"), + ] +} + +extension FieldDescriptorProto.TypeEnum: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "TYPE_AUTO_INVALID"), + 1: .same(proto: "type_double"), + 2: .same(proto: "type_float"), + 3: .same(proto: "type_int64"), + 4: .same(proto: "type_uint64"), + 5: .same(proto: "type_int32"), + 6: .same(proto: "type_fixed64"), + 7: .same(proto: "type_fixed32"), + 8: .same(proto: "type_bool"), + 9: .same(proto: "type_string"), + 10: .same(proto: "type_group"), + 11: .same(proto: "type_message"), + 12: .same(proto: "type_bytes"), + 13: .same(proto: "type_uint32"), + 14: .same(proto: "type_enum"), + 15: .same(proto: "type_sfixed32"), + 16: .same(proto: "type_sfixed64"), + 17: .same(proto: "type_sint32"), + 18: .same(proto: "type_sint64"), + ] +} + +extension FieldEffectTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FieldEffectTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "field_effect_source_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202943,32 +208186,39 @@ extension GM37SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.fieldEffectSourceID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.fieldEffectSourceID != .undefined { + try visitor.visitSingularEnumField(value: self.fieldEffectSourceID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM37SettingsProto, rhs: GM37SettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: FieldEffectTelemetry, rhs: FieldEffectTelemetry) -> Bool { + if lhs.fieldEffectSourceID != rhs.fieldEffectSourceID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM39SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM39SettingsProto" +extension FieldEffectTelemetry.FieldEffectSourceId: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNDEFINED"), + 1: .same(proto: "FROM_POKEMON_INFO_PANEL"), + 2: .same(proto: "FROM_BUDDY_PAGE"), + 3: .same(proto: "FROM_IAP_USAGE"), + ] +} + +extension FieldMask: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FieldMask" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), - 3: .standard(proto: "ob_quest_reward"), + 1: .same(proto: "paths"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -202977,40 +208227,33 @@ extension GM39SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.obQuestReward) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.paths) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) - } - if !self.obQuestReward.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obQuestReward, fieldNumber: 3) + if !self.paths.isEmpty { + try visitor.visitRepeatedStringField(value: self.paths, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM39SettingsProto, rhs: GM39SettingsProto) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obQuestReward != rhs.obQuestReward {return false} + public static func ==(lhs: FieldMask, rhs: FieldMask) -> Bool { + if lhs.paths != rhs.paths {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM3SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM3SettingsProto" +extension FieldOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FieldOptions" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), + 1: .same(proto: "packed"), + 2: .same(proto: "lazy"), + 3: .same(proto: "deprecated"), + 4: .same(proto: "weak"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203019,31 +208262,62 @@ extension GM3SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.obString) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.packed) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.lazy) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.weak) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitRepeatedStringField(value: self.obString, fieldNumber: 1) + if self.packed != false { + try visitor.visitSingularBoolField(value: self.packed, fieldNumber: 1) + } + if self.lazy != false { + try visitor.visitSingularBoolField(value: self.lazy, fieldNumber: 2) + } + if self.deprecated != false { + try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 3) + } + if self.weak != false { + try visitor.visitSingularBoolField(value: self.weak, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM3SettingsProto, rhs: GM3SettingsProto) -> Bool { - if lhs.obString != rhs.obString {return false} + public static func ==(lhs: FieldOptions, rhs: FieldOptions) -> Bool { + if lhs.packed != rhs.packed {return false} + if lhs.lazy != rhs.lazy {return false} + if lhs.deprecated != rhs.deprecated {return false} + if lhs.weak != rhs.weak {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM43SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM43SettingsProto" +extension FieldOptions.CType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "string"), + 1: .same(proto: "cord"), + 2: .same(proto: "string_piece"), + ] +} + +extension FieldOptions.JSType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "js_normal"), + 1: .same(proto: "js_string"), + 2: .same(proto: "js_number"), + ] +} + +extension FileCacheSizeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FileCacheSizeSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool_1"), - 2: .standard(proto: "ob_bool_2"), + 1: .standard(proto: "total_cache_size_max_megabytes"), + 2: .standard(proto: "image_cache_size_max_megabytes"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203052,83 +208326,206 @@ extension GM43SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.totalCacheSizeMaxMegabytes) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.imageCacheSizeMaxMegabytes) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 1) + if self.totalCacheSizeMaxMegabytes != 0 { + try visitor.visitSingularInt32Field(value: self.totalCacheSizeMaxMegabytes, fieldNumber: 1) } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 2) + if self.imageCacheSizeMaxMegabytes != 0 { + try visitor.visitSingularInt32Field(value: self.imageCacheSizeMaxMegabytes, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM43SettingsProto, rhs: GM43SettingsProto) -> Bool { - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} + public static func ==(lhs: FileCacheSizeSettingsProto, rhs: FileCacheSizeSettingsProto) -> Bool { + if lhs.totalCacheSizeMaxMegabytes != rhs.totalCacheSizeMaxMegabytes {return false} + if lhs.imageCacheSizeMaxMegabytes != rhs.imageCacheSizeMaxMegabytes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM44SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM44SettingsProto" +extension FileDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FileDescriptorProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_bool"), - 3: .same(proto: "item"), + 1: .same(proto: "name"), + 2: .same(proto: "package"), + 3: .same(proto: "dependency"), + 4: .standard(proto: "public_dependency"), + 5: .standard(proto: "message_type"), + 6: .standard(proto: "enum_type"), + 7: .same(proto: "service"), + 8: .same(proto: "options"), + 9: .standard(proto: "source_code_info"), + 10: .same(proto: "syntax"), ] + fileprivate class _StorageClass { + var _name: String = String() + var _package: String = String() + var _dependency: [String] = [] + var _publicDependency: [Int32] = [] + var _messageType: [DescriptorProto] = [] + var _enumType: [EnumDescriptorProto] = [] + var _service: [ServiceDescriptorProto] = [] + var _options: FileOptions? = nil + var _sourceCodeInfo: SourceCodeInfo? = nil + var _syntax: String = String() + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _name = source._name + _package = source._package + _dependency = source._dependency + _publicDependency = source._publicDependency + _messageType = source._messageType + _enumType = source._enumType + _service = source._service + _options = source._options + _sourceCodeInfo = source._sourceCodeInfo + _syntax = source._syntax + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.item) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._name) }() + case 2: try { try decoder.decodeSingularStringField(value: &_storage._package) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &_storage._dependency) }() + case 4: try { try decoder.decodeRepeatedInt32Field(value: &_storage._publicDependency) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._messageType) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &_storage._enumType) }() + case 7: try { try decoder.decodeRepeatedMessageField(value: &_storage._service) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._options) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._sourceCodeInfo) }() + case 10: try { try decoder.decodeSingularStringField(value: &_storage._syntax) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._name.isEmpty { + try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1) + } + if !_storage._package.isEmpty { + try visitor.visitSingularStringField(value: _storage._package, fieldNumber: 2) + } + if !_storage._dependency.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._dependency, fieldNumber: 3) + } + if !_storage._publicDependency.isEmpty { + try visitor.visitPackedInt32Field(value: _storage._publicDependency, fieldNumber: 4) + } + if !_storage._messageType.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._messageType, fieldNumber: 5) + } + if !_storage._enumType.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._enumType, fieldNumber: 6) + } + if !_storage._service.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._service, fieldNumber: 7) + } + try { if let v = _storage._options { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + try { if let v = _storage._sourceCodeInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() + if !_storage._syntax.isEmpty { + try visitor.visitSingularStringField(value: _storage._syntax, fieldNumber: 10) + } } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FileDescriptorProto, rhs: FileDescriptorProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._name != rhs_storage._name {return false} + if _storage._package != rhs_storage._package {return false} + if _storage._dependency != rhs_storage._dependency {return false} + if _storage._publicDependency != rhs_storage._publicDependency {return false} + if _storage._messageType != rhs_storage._messageType {return false} + if _storage._enumType != rhs_storage._enumType {return false} + if _storage._service != rhs_storage._service {return false} + if _storage._options != rhs_storage._options {return false} + if _storage._sourceCodeInfo != rhs_storage._sourceCodeInfo {return false} + if _storage._syntax != rhs_storage._syntax {return false} + return true + } + if !storagesAreEqual {return false} } - if !self.item.isEmpty { - try visitor.visitPackedEnumField(value: self.item, fieldNumber: 3) + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension FileDescriptorSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FileDescriptorSet" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM44SettingsProto, rhs: GM44SettingsProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obBool != rhs.obBool {return false} - if lhs.item != rhs.item {return false} + public static func ==(lhs: FileDescriptorSet, rhs: FileDescriptorSet) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM45SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM45SettingsProto" +extension FileOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FileOptions" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "ob_type_1"), - 4: .standard(proto: "ob_type_2"), - 5: .standard(proto: "ob_type_3"), + 1: .standard(proto: "java_package"), + 2: .standard(proto: "java_outer_classname"), + 3: .standard(proto: "java_multiple_files"), + 4: .standard(proto: "java_generate_equals_and_hash"), + 5: .standard(proto: "java_string_check_utf8"), + 6: .standard(proto: "go_package"), + 7: .standard(proto: "cc_generic_services"), + 8: .standard(proto: "java_generic_services"), + 9: .standard(proto: "py_generic_services"), + 10: .same(proto: "deprecated"), + 11: .standard(proto: "cc_enable_arenas"), + 12: .standard(proto: "objc_class_prefix"), + 13: .standard(proto: "csharp_namespace"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203137,70 +208534,104 @@ extension GM45SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.obType1) }() - case 4: try { try decoder.decodeRepeatedEnumField(value: &self.obType2) }() - case 5: try { try decoder.decodeRepeatedEnumField(value: &self.obType3) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.javaPackage) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.javaOuterClassname) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.javaMultipleFiles) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.javaGenerateEqualsAndHash) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.javaStringCheckUtf8) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.goPackage) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.ccGenericServices) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.javaGenericServices) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.pyGenericServices) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.ccEnableArenas) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.objcClassPrefix) }() + case 13: try { try decoder.decodeSingularStringField(value: &self.csharpNamespace) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if !self.javaPackage.isEmpty { + try visitor.visitSingularStringField(value: self.javaPackage, fieldNumber: 1) + } + if !self.javaOuterClassname.isEmpty { + try visitor.visitSingularStringField(value: self.javaOuterClassname, fieldNumber: 2) + } + if self.javaMultipleFiles != false { + try visitor.visitSingularBoolField(value: self.javaMultipleFiles, fieldNumber: 3) + } + if self.javaGenerateEqualsAndHash != false { + try visitor.visitSingularBoolField(value: self.javaGenerateEqualsAndHash, fieldNumber: 4) + } + if self.javaStringCheckUtf8 != false { + try visitor.visitSingularBoolField(value: self.javaStringCheckUtf8, fieldNumber: 5) + } + if !self.goPackage.isEmpty { + try visitor.visitSingularStringField(value: self.goPackage, fieldNumber: 6) + } + if self.ccGenericServices != false { + try visitor.visitSingularBoolField(value: self.ccGenericServices, fieldNumber: 7) + } + if self.javaGenericServices != false { + try visitor.visitSingularBoolField(value: self.javaGenericServices, fieldNumber: 8) + } + if self.pyGenericServices != false { + try visitor.visitSingularBoolField(value: self.pyGenericServices, fieldNumber: 9) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) + if self.deprecated != false { + try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 10) } - if !self.obType1.isEmpty { - try visitor.visitPackedEnumField(value: self.obType1, fieldNumber: 3) + if self.ccEnableArenas != false { + try visitor.visitSingularBoolField(value: self.ccEnableArenas, fieldNumber: 11) } - if !self.obType2.isEmpty { - try visitor.visitPackedEnumField(value: self.obType2, fieldNumber: 4) + if !self.objcClassPrefix.isEmpty { + try visitor.visitSingularStringField(value: self.objcClassPrefix, fieldNumber: 12) } - if !self.obType3.isEmpty { - try visitor.visitPackedEnumField(value: self.obType3, fieldNumber: 5) + if !self.csharpNamespace.isEmpty { + try visitor.visitSingularStringField(value: self.csharpNamespace, fieldNumber: 13) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM45SettingsProto, rhs: GM45SettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obType1 != rhs.obType1 {return false} - if lhs.obType2 != rhs.obType2 {return false} - if lhs.obType3 != rhs.obType3 {return false} + public static func ==(lhs: FileOptions, rhs: FileOptions) -> Bool { + if lhs.javaPackage != rhs.javaPackage {return false} + if lhs.javaOuterClassname != rhs.javaOuterClassname {return false} + if lhs.javaMultipleFiles != rhs.javaMultipleFiles {return false} + if lhs.javaGenerateEqualsAndHash != rhs.javaGenerateEqualsAndHash {return false} + if lhs.javaStringCheckUtf8 != rhs.javaStringCheckUtf8 {return false} + if lhs.goPackage != rhs.goPackage {return false} + if lhs.ccGenericServices != rhs.ccGenericServices {return false} + if lhs.javaGenericServices != rhs.javaGenericServices {return false} + if lhs.pyGenericServices != rhs.pyGenericServices {return false} + if lhs.deprecated != rhs.deprecated {return false} + if lhs.ccEnableArenas != rhs.ccEnableArenas {return false} + if lhs.objcClassPrefix != rhs.objcClassPrefix {return false} + if lhs.csharpNamespace != rhs.csharpNamespace {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM45SettingsProto.Generator: SwiftProtobuf._ProtoNameProviding { +extension FileOptions.OptimizeMode: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "EVENT_SECTION_GENERATOR"), - 1: .same(proto: "POKECOIN_SECTION_GENERATOR"), - 2: .same(proto: "DAILY_STREAK_SECTION_GENERATOR"), - 3: .same(proto: "GYM_POKEMON_SECTION_GENERATOR"), - 4: .same(proto: "UPCOMING_EVENTS_SECTION_GENERATOR"), - 5: .same(proto: "UP_NEXT_SECTION_GENERATOR"), - 6: .same(proto: "STAMP_CARD_SECTION_GENERATOR"), - 7: .same(proto: "EVENT_BANNER_SECTION_GENERATOR"), - 8: .same(proto: "TIMED_STORY_QUEST_SECTION_GENERATOR"), - 9: .same(proto: "TIMED_GROUP_CHALLENGE_SECTION_GENERATOR"), - 10: .same(proto: "MINI_COLLECTION_SECTION_GENERATOR"), - 11: .same(proto: "CHALLENGE_QUEST_SECTION_GENERATOR"), - 12: .same(proto: "STORY_QUEST_SECTION_GENERATOR"), - 13: .same(proto: "CONTEST_POKEMON_SECTION_GENERATOR"), + 0: .same(proto: "OPTIMIZEMODE_AUTO_INVALID"), + 1: .same(proto: "speed"), + 2: .same(proto: "code_size"), + 3: .same(proto: "lite_runtime"), ] } -extension GM46SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM46SettingsProto" +extension FitnessMetricsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessMetricsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_bool"), + 1: .standard(proto: "distance_walked_meters"), + 2: .standard(proto: "step_count"), + 3: .standard(proto: "calories_burned_kcals"), + 4: .standard(proto: "exercise_duration_mi"), + 5: .standard(proto: "wheelchair_distance_meters"), + 6: .standard(proto: "wheelchair_push_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203209,40 +208640,57 @@ extension GM46SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.distanceWalkedMeters) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.stepCount) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.caloriesBurnedKcals) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.exerciseDurationMi) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.wheelchairDistanceMeters) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.wheelchairPushCount) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.distanceWalkedMeters != 0 { + try visitor.visitSingularDoubleField(value: self.distanceWalkedMeters, fieldNumber: 1) + } + if self.stepCount != 0 { + try visitor.visitSingularInt32Field(value: self.stepCount, fieldNumber: 2) + } + if self.caloriesBurnedKcals != 0 { + try visitor.visitSingularDoubleField(value: self.caloriesBurnedKcals, fieldNumber: 3) + } + if self.exerciseDurationMi != 0 { + try visitor.visitSingularInt64Field(value: self.exerciseDurationMi, fieldNumber: 4) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + if self.wheelchairDistanceMeters != 0 { + try visitor.visitSingularDoubleField(value: self.wheelchairDistanceMeters, fieldNumber: 5) + } + if self.wheelchairPushCount != 0 { + try visitor.visitSingularDoubleField(value: self.wheelchairPushCount, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM46SettingsProto, rhs: GM46SettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: FitnessMetricsProto, rhs: FitnessMetricsProto) -> Bool { + if lhs.distanceWalkedMeters != rhs.distanceWalkedMeters {return false} + if lhs.stepCount != rhs.stepCount {return false} + if lhs.caloriesBurnedKcals != rhs.caloriesBurnedKcals {return false} + if lhs.exerciseDurationMi != rhs.exerciseDurationMi {return false} + if lhs.wheelchairDistanceMeters != rhs.wheelchairDistanceMeters {return false} + if lhs.wheelchairPushCount != rhs.wheelchairPushCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM47SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM47SettingsProto" +extension FitnessMetricsReportHistory: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessMetricsReportHistory" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_float_1"), - 3: .standard(proto: "ob_float_2"), - 4: .standard(proto: "ob_list_string_1"), - 5: .standard(proto: "ob_list_string_2"), - 6: .standard(proto: "ob_list_string_3"), + 1: .standard(proto: "weekly_history"), + 2: .standard(proto: "daily_history"), + 3: .standard(proto: "hourly_history"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203251,60 +208699,41 @@ extension GM47SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.obFloat1) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.obFloat2) }() - case 4: try { try decoder.decodeRepeatedStringField(value: &self.obListString1) }() - case 5: try { try decoder.decodeRepeatedStringField(value: &self.obListString2) }() - case 6: try { try decoder.decodeRepeatedStringField(value: &self.obListString3) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.weeklyHistory) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.dailyHistory) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.hourlyHistory) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.obFloat1 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat1, fieldNumber: 2) - } - if self.obFloat2 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat2, fieldNumber: 3) - } - if !self.obListString1.isEmpty { - try visitor.visitRepeatedStringField(value: self.obListString1, fieldNumber: 4) + if !self.weeklyHistory.isEmpty { + try visitor.visitRepeatedMessageField(value: self.weeklyHistory, fieldNumber: 1) } - if !self.obListString2.isEmpty { - try visitor.visitRepeatedStringField(value: self.obListString2, fieldNumber: 5) + if !self.dailyHistory.isEmpty { + try visitor.visitRepeatedMessageField(value: self.dailyHistory, fieldNumber: 2) } - if !self.obListString3.isEmpty { - try visitor.visitRepeatedStringField(value: self.obListString3, fieldNumber: 6) + if !self.hourlyHistory.isEmpty { + try visitor.visitRepeatedMessageField(value: self.hourlyHistory, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM47SettingsProto, rhs: GM47SettingsProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obFloat1 != rhs.obFloat1 {return false} - if lhs.obFloat2 != rhs.obFloat2 {return false} - if lhs.obListString1 != rhs.obListString1 {return false} - if lhs.obListString2 != rhs.obListString2 {return false} - if lhs.obListString3 != rhs.obListString3 {return false} + public static func ==(lhs: FitnessMetricsReportHistory, rhs: FitnessMetricsReportHistory) -> Bool { + if lhs.weeklyHistory != rhs.weeklyHistory {return false} + if lhs.dailyHistory != rhs.dailyHistory {return false} + if lhs.hourlyHistory != rhs.hourlyHistory {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM49SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM49SettingsProto" +extension FitnessMetricsReportHistory.MetricsHistory: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = FitnessMetricsReportHistory.protoMessageName + ".MetricsHistory" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "ob_int64"), - 4: .standard(proto: "ob_bool_1"), - 5: .standard(proto: "ob_bool_2"), - 6: .standard(proto: "ob_int32_1"), + 1: .same(proto: "bucket"), + 2: .same(proto: "metrics"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203313,93 +208742,143 @@ extension GM49SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.bucket) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._metrics) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) - } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 3) - } - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 4) - } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 5) - } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 6) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.bucket != 0 { + try visitor.visitSingularInt64Field(value: self.bucket, fieldNumber: 1) } + try { if let v = self._metrics { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM49SettingsProto, rhs: GM49SettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obInt64 != rhs.obInt64 {return false} - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} + public static func ==(lhs: FitnessMetricsReportHistory.MetricsHistory, rhs: FitnessMetricsReportHistory.MetricsHistory) -> Bool { + if lhs.bucket != rhs.bucket {return false} + if lhs._metrics != rhs._metrics {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM51SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM51SettingsProto" +extension FitnessRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessRecordProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_bool"), + 1: .standard(proto: "hourly_reports"), + 2: .standard(proto: "raw_samples"), + 3: .standard(proto: "last_aggregation_timestamp_ms"), + 4: .standard(proto: "fitness_stats"), + 5: .standard(proto: "report_history"), ] + fileprivate class _StorageClass { + var _hourlyReports: Dictionary = [:] + var _rawSamples: [FitnessSample] = [] + var _lastAggregationTimestampMs: Int64 = 0 + var _fitnessStats: FitnessStatsProto? = nil + var _reportHistory: FitnessMetricsReportHistory? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _hourlyReports = source._hourlyReports + _rawSamples = source._rawSamples + _lastAggregationTimestampMs = source._lastAggregationTimestampMs + _fitnessStats = source._fitnessStats + _reportHistory = source._reportHistory + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &_storage._hourlyReports) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &_storage._rawSamples) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &_storage._lastAggregationTimestampMs) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._fitnessStats) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._reportHistory) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._hourlyReports.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: _storage._hourlyReports, fieldNumber: 1) + } + if !_storage._rawSamples.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._rawSamples, fieldNumber: 2) + } + if _storage._lastAggregationTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastAggregationTimestampMs, fieldNumber: 3) + } + try { if let v = _storage._fitnessStats { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = _storage._reportHistory { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM51SettingsProto, rhs: GM51SettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: FitnessRecordProto, rhs: FitnessRecordProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._hourlyReports != rhs_storage._hourlyReports {return false} + if _storage._rawSamples != rhs_storage._rawSamples {return false} + if _storage._lastAggregationTimestampMs != rhs_storage._lastAggregationTimestampMs {return false} + if _storage._fitnessStats != rhs_storage._fitnessStats {return false} + if _storage._reportHistory != rhs_storage._reportHistory {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM53SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM53SettingsProto" +extension FitnessReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessReportProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_setting"), + 1: .standard(proto: "day_offset_from_now"), + 2: .standard(proto: "week_offset_from_now"), + 3: .standard(proto: "hour_offset_from_now"), + 10: .same(proto: "metrics"), + 11: .standard(proto: "game_data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203408,33 +208887,81 @@ extension GM53SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.obSetting) }() + case 1: try { + var v: Int32? + try decoder.decodeSingularInt32Field(value: &v) + if let v = v { + if self.window != nil {try decoder.handleConflictingOneOf()} + self.window = .dayOffsetFromNow(v) + } + }() + case 2: try { + var v: Int32? + try decoder.decodeSingularInt32Field(value: &v) + if let v = v { + if self.window != nil {try decoder.handleConflictingOneOf()} + self.window = .weekOffsetFromNow(v) + } + }() + case 3: try { + var v: Int32? + try decoder.decodeSingularInt32Field(value: &v) + if let v = v { + if self.window != nil {try decoder.handleConflictingOneOf()} + self.window = .hourOffsetFromNow(v) + } + }() + case 10: try { try decoder.decodeSingularMessageField(value: &self._metrics) }() + case 11: try { try decoder.decodeSingularBytesField(value: &self.gameData) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obSetting.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obSetting, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.window { + case .dayOffsetFromNow?: try { + guard case .dayOffsetFromNow(let v)? = self.window else { preconditionFailure() } + try visitor.visitSingularInt32Field(value: v, fieldNumber: 1) + }() + case .weekOffsetFromNow?: try { + guard case .weekOffsetFromNow(let v)? = self.window else { preconditionFailure() } + try visitor.visitSingularInt32Field(value: v, fieldNumber: 2) + }() + case .hourOffsetFromNow?: try { + guard case .hourOffsetFromNow(let v)? = self.window else { preconditionFailure() } + try visitor.visitSingularInt32Field(value: v, fieldNumber: 3) + }() + case nil: break + } + try { if let v = self._metrics { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + if !self.gameData.isEmpty { + try visitor.visitSingularBytesField(value: self.gameData, fieldNumber: 11) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM53SettingsProto, rhs: GM53SettingsProto) -> Bool { - if lhs.obSetting != rhs.obSetting {return false} + public static func ==(lhs: FitnessReportProto, rhs: FitnessReportProto) -> Bool { + if lhs.window != rhs.window {return false} + if lhs._metrics != rhs._metrics {return false} + if lhs.gameData != rhs.gameData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM53SettingsProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM53SettingsProto2" +extension FitnessRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessRewardsLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "quest_type"), - 3: .standard(proto: "quest_condition"), - 4: .standard(proto: "ob_int64"), + 1: .same(proto: "result"), + 2: .same(proto: "rewards"), + 3: .standard(proto: "distance_walked_km"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203443,48 +208970,56 @@ extension GM53SettingsProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.questType) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.questCondition) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.distanceWalkedKm) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.questType != .questUnset { - try visitor.visitSingularEnumField(value: self.questType, fieldNumber: 2) - } - if !self.questCondition.isEmpty { - try visitor.visitRepeatedMessageField(value: self.questCondition, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 4) + try { if let v = self._rewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.distanceWalkedKm != 0 { + try visitor.visitSingularDoubleField(value: self.distanceWalkedKm, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM53SettingsProto2, rhs: GM53SettingsProto2) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.questType != rhs.questType {return false} - if lhs.questCondition != rhs.questCondition {return false} - if lhs.obInt64 != rhs.obInt64 {return false} + public static func ==(lhs: FitnessRewardsLogEntry, rhs: FitnessRewardsLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._rewards != rhs._rewards {return false} + if lhs.distanceWalkedKm != rhs.distanceWalkedKm {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM55SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM55SettingsProto" +extension FitnessRewardsLogEntry.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + ] +} + +extension FitnessSample: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessSample" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), - 3: .standard(proto: "ob_int32_3"), - 4: .standard(proto: "ob_int32_4"), + 1: .standard(proto: "sample_type"), + 2: .standard(proto: "sample_start_timestamp_ms"), + 3: .standard(proto: "sample_end_timestamp_ms"), + 4: .same(proto: "value"), + 5: .standard(proto: "source_type"), + 6: .same(proto: "metadata"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203493,79 +209028,187 @@ extension GM55SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt324) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.sampleType) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.sampleStartTimestampMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.sampleEndTimestampMs) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.value) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.sourceType) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._metadata) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.sampleType != .sampleUnset { + try visitor.visitSingularEnumField(value: self.sampleType, fieldNumber: 1) + } + if self.sampleStartTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.sampleStartTimestampMs, fieldNumber: 2) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) + if self.sampleEndTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.sampleEndTimestampMs, fieldNumber: 3) } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 3) + if self.value != 0 { + try visitor.visitSingularDoubleField(value: self.value, fieldNumber: 4) } - if self.obInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt324, fieldNumber: 4) + if self.sourceType != .sourceUnset { + try visitor.visitSingularEnumField(value: self.sourceType, fieldNumber: 5) } + try { if let v = self._metadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM55SettingsProto, rhs: GM55SettingsProto) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obInt324 != rhs.obInt324 {return false} + public static func ==(lhs: FitnessSample, rhs: FitnessSample) -> Bool { + if lhs.sampleType != rhs.sampleType {return false} + if lhs.sampleStartTimestampMs != rhs.sampleStartTimestampMs {return false} + if lhs.sampleEndTimestampMs != rhs.sampleEndTimestampMs {return false} + if lhs.value != rhs.value {return false} + if lhs.sourceType != rhs.sourceType {return false} + if lhs._metadata != rhs._metadata {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM56SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM56SettingsProto" +extension FitnessSample.FitnessSampleType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "SAMPLE_UNSET"), + 1: .same(proto: "STEPS"), + 2: .same(proto: "WALKING_DISTANCE_METERS"), + 3: .same(proto: "WHEELCHAIR_DISTANCE_METERS"), + 4: .same(proto: "CALORIES_KCALS"), + 5: .same(proto: "WHEELCHAIR_PUSH_COUNT"), + 6: .same(proto: "EXERCISE_TIME_MI"), + ] +} + +extension FitnessSample.FitnessSourceType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "SOURCE_UNSET"), + 1: .same(proto: "HEALTHKIT"), + 2: .same(proto: "GOOGLE_FIT"), + 3: .same(proto: "APPLE_WATCH"), + 4: .same(proto: "GPS"), + 5: .same(proto: "ANDROID_SENSOR_HUB"), + ] +} + +extension FitnessSampleMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessSampleMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_field"), + 1: .standard(proto: "original_data_source"), + 2: .standard(proto: "data_source"), + 3: .standard(proto: "source_revision"), + 4: .same(proto: "device"), + 5: .standard(proto: "user_entered"), ] + fileprivate class _StorageClass { + var _originalDataSource: AndroidDataSource? = nil + var _dataSource: AndroidDataSource? = nil + var _sourceRevision: IosSourceRevision? = nil + var _device: IosDevice? = nil + var _userEntered: Bool = false + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _originalDataSource = source._originalDataSource + _dataSource = source._dataSource + _sourceRevision = source._sourceRevision + _device = source._device + _userEntered = source._userEntered + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.obField) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._originalDataSource) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._dataSource) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._sourceRevision) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._device) }() + case 5: try { try decoder.decodeSingularBoolField(value: &_storage._userEntered) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.obField.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obField, fieldNumber: 1) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._originalDataSource { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = _storage._dataSource { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = _storage._sourceRevision { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._device { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if _storage._userEntered != false { + try visitor.visitSingularBoolField(value: _storage._userEntered, fieldNumber: 5) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM56SettingsProto, rhs: GM56SettingsProto) -> Bool { - if lhs.obField != rhs.obField {return false} + public static func ==(lhs: FitnessSampleMetadata, rhs: FitnessSampleMetadata) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._originalDataSource != rhs_storage._originalDataSource {return false} + if _storage._dataSource != rhs_storage._dataSource {return false} + if _storage._sourceRevision != rhs_storage._sourceRevision {return false} + if _storage._device != rhs_storage._device {return false} + if _storage._userEntered != rhs_storage._userEntered {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM56SettingsProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM56SettingsProto2" +extension FitnessStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessStatsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokecoin_source"), - 2: .standard(proto: "pokecoin_cap_reset_frequency"), - 3: .standard(proto: "ob_int64"), + 1: .standard(proto: "last_accumulated_timestamp_ms"), + 2: .same(proto: "accumulated"), + 3: .same(proto: "pending"), + 4: .standard(proto: "player_initial_walk_km"), + 5: .standard(proto: "player_total_walk_km"), + 6: .standard(proto: "player_total_steps"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203574,42 +209217,59 @@ extension GM56SettingsProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokecoinSource) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.pokecoinCapResetFrequency) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.lastAccumulatedTimestampMs) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._accumulated) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._pending) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerInitialWalkKm) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.playerTotalWalkKm) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.playerTotalSteps) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokecoinSource != .sourceUnset { - try visitor.visitSingularEnumField(value: self.pokecoinSource, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.lastAccumulatedTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.lastAccumulatedTimestampMs, fieldNumber: 1) + } + try { if let v = self._accumulated { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._pending { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.playerInitialWalkKm != 0 { + try visitor.visitSingularDoubleField(value: self.playerInitialWalkKm, fieldNumber: 4) } - if self.pokecoinCapResetFrequency != .frequencyUnset { - try visitor.visitSingularEnumField(value: self.pokecoinCapResetFrequency, fieldNumber: 2) + if self.playerTotalWalkKm != 0 { + try visitor.visitSingularDoubleField(value: self.playerTotalWalkKm, fieldNumber: 5) } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 3) + if self.playerTotalSteps != 0 { + try visitor.visitSingularInt64Field(value: self.playerTotalSteps, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM56SettingsProto2, rhs: GM56SettingsProto2) -> Bool { - if lhs.pokecoinSource != rhs.pokecoinSource {return false} - if lhs.pokecoinCapResetFrequency != rhs.pokecoinCapResetFrequency {return false} - if lhs.obInt64 != rhs.obInt64 {return false} + public static func ==(lhs: FitnessStatsProto, rhs: FitnessStatsProto) -> Bool { + if lhs.lastAccumulatedTimestampMs != rhs.lastAccumulatedTimestampMs {return false} + if lhs._accumulated != rhs._accumulated {return false} + if lhs._pending != rhs._pending {return false} + if lhs.playerInitialWalkKm != rhs.playerInitialWalkKm {return false} + if lhs.playerTotalWalkKm != rhs.playerTotalWalkKm {return false} + if lhs.playerTotalSteps != rhs.playerTotalSteps {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM57SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM57SettingsProto" +extension FitnessUpdateOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessUpdateOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .standard(proto: "ob_string_2"), - 3: .standard(proto: "ob_list_string"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203618,43 +209278,38 @@ extension GM57SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.obString2) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.obListString) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) - } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 2) - } - if !self.obListString.isEmpty { - try visitor.visitRepeatedStringField(value: self.obListString, fieldNumber: 3) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM57SettingsProto, rhs: GM57SettingsProto) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} - if lhs.obListString != rhs.obListString {return false} + public static func ==(lhs: FitnessUpdateOutProto, rhs: FitnessUpdateOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM58SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM58SettingsProto" +extension FitnessUpdateOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension FitnessUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FitnessUpdateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .standard(proto: "ob_string_2"), - 3: .standard(proto: "ob_double_1"), - 4: .standard(proto: "ob_double_2"), + 1: .standard(proto: "fitness_samples"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203663,45 +209318,30 @@ extension GM58SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.obString2) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.obDouble1) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.obDouble2) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.fitnessSamples) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) - } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 2) - } - if self.obDouble1 != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble1, fieldNumber: 3) - } - if self.obDouble2 != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble2, fieldNumber: 4) + if !self.fitnessSamples.isEmpty { + try visitor.visitRepeatedMessageField(value: self.fitnessSamples, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM58SettingsProto, rhs: GM58SettingsProto) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} - if lhs.obDouble1 != rhs.obDouble1 {return false} - if lhs.obDouble2 != rhs.obDouble2 {return false} + public static func ==(lhs: FitnessUpdateProto, rhs: FitnessUpdateProto) -> Bool { + if lhs.fitnessSamples != rhs.fitnessSamples {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM59SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM59SettingsProto" +extension FollowerDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FollowerDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 1: .standard(proto: "pokemon_followers"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203710,36 +209350,34 @@ extension GM59SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonFollowers) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if !self.pokemonFollowers.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemonFollowers, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM59SettingsProto, rhs: GM59SettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: FollowerDataProto, rhs: FollowerDataProto) -> Bool { + if lhs.pokemonFollowers != rhs.pokemonFollowers {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM60SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM60SettingsProto" +extension FollowerPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FollowerPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool_1"), - 2: .standard(proto: "ob_int32_1"), - 3: .standard(proto: "ob_gm_60_data_1"), - 4: .standard(proto: "ob_int32_2"), - 6: .standard(proto: "ob_gm_60_data"), - 7: .standard(proto: "ob_bool_2"), - 8: .standard(proto: "ob_int32_3"), + 1: .standard(proto: "pokemon_id"), + 2: .same(proto: "address"), + 3: .same(proto: "display"), + 4: .standard(proto: "end_ms"), + 5: .same(proto: "id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203748,61 +209386,81 @@ extension GM60SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.obGm60Data1) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.obGm60Data) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() + case 1: try { + var v: HoloPokemonId? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.pokemonData != nil {try decoder.handleConflictingOneOf()} + self.pokemonData = .pokemonID(v) + } + }() + case 2: try { + var v: String? + try decoder.decodeSingularStringField(value: &v) + if let v = v { + if self.pokemonData != nil {try decoder.handleConflictingOneOf()} + self.pokemonData = .address(v) + } + }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._display) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.endMs) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.id) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 1) - } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 2) - } - if !self.obGm60Data1.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obGm60Data1, fieldNumber: 3) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 4) - } - if !self.obGm60Data.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obGm60Data, fieldNumber: 6) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.pokemonData { + case .pokemonID?: try { + guard case .pokemonID(let v)? = self.pokemonData else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 1) + }() + case .address?: try { + guard case .address(let v)? = self.pokemonData else { preconditionFailure() } + try visitor.visitSingularStringField(value: v, fieldNumber: 2) + }() + case nil: break } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 7) + try { if let v = self._display { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.endMs != 0 { + try visitor.visitSingularInt64Field(value: self.endMs, fieldNumber: 4) } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 8) + if self.id != .unset { + try visitor.visitSingularEnumField(value: self.id, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM60SettingsProto, rhs: GM60SettingsProto) -> Bool { - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obGm60Data1 != rhs.obGm60Data1 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obGm60Data != rhs.obGm60Data {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} + public static func ==(lhs: FollowerPokemonProto, rhs: FollowerPokemonProto) -> Bool { + if lhs.pokemonData != rhs.pokemonData {return false} + if lhs._display != rhs._display {return false} + if lhs.endMs != rhs.endMs {return false} + if lhs.id != rhs.id {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM60SettingsProto.ObGm60Data: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GM60SettingsProto.protoMessageName + ".ObGm60Data" +extension FollowerPokemonProto.FollowerId: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "ID_1"), + ] +} + +extension FollowerPokemonTappedTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FollowerPokemonTappedTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), + 2: .standard(proto: "follower_holo_pokemon_id"), + 3: .standard(proto: "follower_address"), + 1: .standard(proto: "follower_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203811,36 +209469,70 @@ extension GM60SettingsProto.ObGm60Data: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.followerID) }() + case 2: try { + var v: HoloPokemonId? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.pokemonData != nil {try decoder.handleConflictingOneOf()} + self.pokemonData = .followerHoloPokemonID(v) + } + }() + case 3: try { + var v: String? + try decoder.decodeSingularStringField(value: &v) + if let v = v { + if self.pokemonData != nil {try decoder.handleConflictingOneOf()} + self.pokemonData = .followerAddress(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.followerID != .unset { + try visitor.visitSingularEnumField(value: self.followerID, fieldNumber: 1) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) + switch self.pokemonData { + case .followerHoloPokemonID?: try { + guard case .followerHoloPokemonID(let v)? = self.pokemonData else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 2) + }() + case .followerAddress?: try { + guard case .followerAddress(let v)? = self.pokemonData else { preconditionFailure() } + try visitor.visitSingularStringField(value: v, fieldNumber: 3) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM60SettingsProto.ObGm60Data, rhs: GM60SettingsProto.ObGm60Data) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: FollowerPokemonTappedTelemetry, rhs: FollowerPokemonTappedTelemetry) -> Bool { + if lhs.pokemonData != rhs.pokemonData {return false} + if lhs.followerID != rhs.followerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM60SettingsProto.ObGm60Data1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GM60SettingsProto.protoMessageName + ".ObGm60Data1" +extension FoodAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FoodAttributesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "item_effect"), + 2: .standard(proto: "item_effect_percent"), + 3: .standard(proto: "growth_percent"), + 4: .standard(proto: "berry_multiplier"), + 5: .standard(proto: "remote_berry_multiplier"), + 6: .standard(proto: "num_buddy_affection_points"), + 7: .standard(proto: "map_duration_ms"), + 8: .standard(proto: "active_duration_ms"), + 9: .standard(proto: "num_buddy_hunger_points"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203849,36 +209541,72 @@ extension GM60SettingsProto.ObGm60Data1: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.itemEffect) }() + case 2: try { try decoder.decodeRepeatedFloatField(value: &self.itemEffectPercent) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.growthPercent) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.berryMultiplier) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.remoteBerryMultiplier) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.numBuddyAffectionPoints) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.mapDurationMs) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &self.activeDurationMs) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.numBuddyHungerPoints) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) + if !self.itemEffect.isEmpty { + try visitor.visitPackedEnumField(value: self.itemEffect, fieldNumber: 1) + } + if !self.itemEffectPercent.isEmpty { + try visitor.visitPackedFloatField(value: self.itemEffectPercent, fieldNumber: 2) + } + if self.growthPercent != 0 { + try visitor.visitSingularFloatField(value: self.growthPercent, fieldNumber: 3) + } + if self.berryMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.berryMultiplier, fieldNumber: 4) + } + if self.remoteBerryMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.remoteBerryMultiplier, fieldNumber: 5) + } + if self.numBuddyAffectionPoints != 0 { + try visitor.visitSingularInt32Field(value: self.numBuddyAffectionPoints, fieldNumber: 6) + } + if self.mapDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.mapDurationMs, fieldNumber: 7) + } + if self.activeDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.activeDurationMs, fieldNumber: 8) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) + if self.numBuddyHungerPoints != 0 { + try visitor.visitSingularInt32Field(value: self.numBuddyHungerPoints, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM60SettingsProto.ObGm60Data1, rhs: GM60SettingsProto.ObGm60Data1) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: FoodAttributesProto, rhs: FoodAttributesProto) -> Bool { + if lhs.itemEffect != rhs.itemEffect {return false} + if lhs.itemEffectPercent != rhs.itemEffectPercent {return false} + if lhs.growthPercent != rhs.growthPercent {return false} + if lhs.berryMultiplier != rhs.berryMultiplier {return false} + if lhs.remoteBerryMultiplier != rhs.remoteBerryMultiplier {return false} + if lhs.numBuddyAffectionPoints != rhs.numBuddyAffectionPoints {return false} + if lhs.mapDurationMs != rhs.mapDurationMs {return false} + if lhs.activeDurationMs != rhs.activeDurationMs {return false} + if lhs.numBuddyHungerPoints != rhs.numBuddyHungerPoints {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM6SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM6SettingsProto" +extension FoodValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FoodValue" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool"), - 2: .standard(proto: "ob_string"), + 1: .standard(proto: "motivation_increase"), + 2: .standard(proto: "cp_increase"), + 3: .standard(proto: "food_item"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203887,36 +209615,45 @@ extension GM6SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.obString) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.motivationIncrease) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.cpIncrease) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.foodItem) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 1) + if self.motivationIncrease != 0 { + try visitor.visitSingularFloatField(value: self.motivationIncrease, fieldNumber: 1) } - if !self.obString.isEmpty { - try visitor.visitRepeatedStringField(value: self.obString, fieldNumber: 2) + if self.cpIncrease != 0 { + try visitor.visitSingularInt32Field(value: self.cpIncrease, fieldNumber: 2) + } + if self.foodItem != .unknown { + try visitor.visitSingularEnumField(value: self.foodItem, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM6SettingsProto, rhs: GM6SettingsProto) -> Bool { - if lhs.obBool != rhs.obBool {return false} - if lhs.obString != rhs.obString {return false} + public static func ==(lhs: FoodValue, rhs: FoodValue) -> Bool { + if lhs.motivationIncrease != rhs.motivationIncrease {return false} + if lhs.cpIncrease != rhs.cpIncrease {return false} + if lhs.foodItem != rhs.foodItem {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GM9SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GM9SettingsProto" +extension FormChangeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FormChangeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "available_form"), + 2: .standard(proto: "candy_cost"), + 3: .standard(proto: "stardust_cost"), + 4: .standard(proto: "item_cost"), + 5: .standard(proto: "quest_requirement"), + 6: .standard(proto: "item_cost_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203925,36 +209662,55 @@ extension GM9SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.availableForm) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.candyCost) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.stardustCost) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.itemCost) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.questRequirement) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.itemCostCount) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) + if !self.availableForm.isEmpty { + try visitor.visitPackedEnumField(value: self.availableForm, fieldNumber: 1) + } + if self.candyCost != 0 { + try visitor.visitSingularInt32Field(value: self.candyCost, fieldNumber: 2) + } + if self.stardustCost != 0 { + try visitor.visitSingularInt32Field(value: self.stardustCost, fieldNumber: 3) + } + if self.itemCost != .unknown { + try visitor.visitSingularEnumField(value: self.itemCost, fieldNumber: 4) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) + if !self.questRequirement.isEmpty { + try visitor.visitRepeatedMessageField(value: self.questRequirement, fieldNumber: 5) + } + if self.itemCostCount != 0 { + try visitor.visitSingularInt32Field(value: self.itemCostCount, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GM9SettingsProto, rhs: GM9SettingsProto) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: FormChangeProto, rhs: FormChangeProto) -> Bool { + if lhs.availableForm != rhs.availableForm {return false} + if lhs.candyCost != rhs.candyCost {return false} + if lhs.stardustCost != rhs.stardustCost {return false} + if lhs.itemCost != rhs.itemCost {return false} + if lhs.questRequirement != rhs.questRequirement {return false} + if lhs.itemCostCount != rhs.itemCostCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GamDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GamDetails" +extension FormChangeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FormChangeSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gam_request_keywords"), - 2: .standard(proto: "gam_request_extras"), + 1: .same(proto: "enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -203963,41 +209719,31 @@ extension GamDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.gamRequestKeywords) }() - case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.gamRequestExtras) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.gamRequestKeywords.isEmpty { - try visitor.visitRepeatedStringField(value: self.gamRequestKeywords, fieldNumber: 1) - } - if !self.gamRequestExtras.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.gamRequestExtras, fieldNumber: 2) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GamDetails, rhs: GamDetails) -> Bool { - if lhs.gamRequestKeywords != rhs.gamRequestKeywords {return false} - if lhs.gamRequestExtras != rhs.gamRequestExtras {return false} + public static func ==(lhs: FormChangeSettingsProto, rhs: FormChangeSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameClientPhotoGalleryPoiImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GameClientPhotoGalleryPoiImageProto" +extension FormPokedexSizeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FormPokedexSizeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "image_id"), - 2: .standard(proto: "poi_id"), - 3: .standard(proto: "submitter_codename"), - 4: .standard(proto: "image_url"), - 5: .standard(proto: "creation_timestamp_ms"), - 6: .standard(proto: "has_player_voted"), - 7: .standard(proto: "num_votes_from_game"), + 1: .standard(proto: "is_alias"), + 2: .standard(proto: "alias_form"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -204006,63 +209752,39 @@ extension GameClientPhotoGalleryPoiImageProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.imageID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.submitterCodename) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.creationTimestampMs) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.hasPlayerVoted_p) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.numVotesFromGame) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isAlias) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.aliasForm) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.imageID.isEmpty { - try visitor.visitSingularStringField(value: self.imageID, fieldNumber: 1) - } - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 2) - } - if !self.submitterCodename.isEmpty { - try visitor.visitSingularStringField(value: self.submitterCodename, fieldNumber: 3) - } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 4) + if self.isAlias != false { + try visitor.visitSingularBoolField(value: self.isAlias, fieldNumber: 1) } - if self.creationTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.creationTimestampMs, fieldNumber: 5) - } - if self.hasPlayerVoted_p != false { - try visitor.visitSingularBoolField(value: self.hasPlayerVoted_p, fieldNumber: 6) - } - if self.numVotesFromGame != 0 { - try visitor.visitSingularInt32Field(value: self.numVotesFromGame, fieldNumber: 7) + if self.aliasForm != .unset { + try visitor.visitSingularEnumField(value: self.aliasForm, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameClientPhotoGalleryPoiImageProto, rhs: GameClientPhotoGalleryPoiImageProto) -> Bool { - if lhs.imageID != rhs.imageID {return false} - if lhs.poiID != rhs.poiID {return false} - if lhs.submitterCodename != rhs.submitterCodename {return false} - if lhs.imageURL != rhs.imageURL {return false} - if lhs.creationTimestampMs != rhs.creationTimestampMs {return false} - if lhs.hasPlayerVoted_p != rhs.hasPlayerVoted_p {return false} - if lhs.numVotesFromGame != rhs.numVotesFromGame {return false} + public static func ==(lhs: FormPokedexSizeProto, rhs: FormPokedexSizeProto) -> Bool { + if lhs.isAlias != rhs.isAlias {return false} + if lhs.aliasForm != rhs.aliasForm {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GameClientTelemetryOmniProto" +extension FormProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FormProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_submission_telemetry"), - 2: .standard(proto: "poi_submission_photo_upload_error_telemetry"), - 3: .standard(proto: "player_metadata_telemetry"), - 1001: .standard(proto: "server_data"), + 1: .same(proto: "form"), + 2: .standard(proto: "asset_bundle_value"), + 3: .standard(proto: "asset_bundle_suffix"), + 4: .standard(proto: "is_costume"), + 5: .standard(proto: "size_data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -204071,46 +209793,11 @@ extension GameClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: PoiSubmissionTelemetry? - var hadOneofValue = false - if let current = self.telemetryData { - hadOneofValue = true - if case .poiSubmissionTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.telemetryData = .poiSubmissionTelemetry(v) - } - }() - case 2: try { - var v: PoiSubmissionPhotoUploadErrorTelemetry? - var hadOneofValue = false - if let current = self.telemetryData { - hadOneofValue = true - if case .poiSubmissionPhotoUploadErrorTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.telemetryData = .poiSubmissionPhotoUploadErrorTelemetry(v) - } - }() - case 3: try { - var v: PoiPlayerMetadataTelemetry? - var hadOneofValue = false - if let current = self.telemetryData { - hadOneofValue = true - if case .playerMetadataTelemetry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.telemetryData = .playerMetadataTelemetry(v) - } - }() - case 1001: try { try decoder.decodeSingularMessageField(value: &self._serverData) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.form) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.assetBundleValue) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.assetBundleSuffix) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isCostume) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._sizeData) }() default: break } } @@ -204121,40 +209808,46 @@ extension GameClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - switch self.telemetryData { - case .poiSubmissionTelemetry?: try { - guard case .poiSubmissionTelemetry(let v)? = self.telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .poiSubmissionPhotoUploadErrorTelemetry?: try { - guard case .poiSubmissionPhotoUploadErrorTelemetry(let v)? = self.telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .playerMetadataTelemetry?: try { - guard case .playerMetadataTelemetry(let v)? = self.telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case nil: break + if self.form != .unset { + try visitor.visitSingularEnumField(value: self.form, fieldNumber: 1) } - try { if let v = self._serverData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) + if self.assetBundleValue != 0 { + try visitor.visitSingularInt32Field(value: self.assetBundleValue, fieldNumber: 2) + } + if !self.assetBundleSuffix.isEmpty { + try visitor.visitSingularStringField(value: self.assetBundleSuffix, fieldNumber: 3) + } + if self.isCostume != false { + try visitor.visitSingularBoolField(value: self.isCostume, fieldNumber: 4) + } + try { if let v = self._sizeData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameClientTelemetryOmniProto, rhs: GameClientTelemetryOmniProto) -> Bool { - if lhs.telemetryData != rhs.telemetryData {return false} - if lhs._serverData != rhs._serverData {return false} + public static func ==(lhs: FormProto, rhs: FormProto) -> Bool { + if lhs.form != rhs.form {return false} + if lhs.assetBundleValue != rhs.assetBundleValue {return false} + if lhs.assetBundleSuffix != rhs.assetBundleSuffix {return false} + if lhs.isCostume != rhs.isCostume {return false} + if lhs._sizeData != rhs._sizeData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameItemContentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GameItemContentProto" +extension FormRenderModifier: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FormRenderModifier" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "type"), - 2: .same(proto: "quantity"), + 2: .standard(proto: "effect_target"), + 3: .standard(proto: "pokemon_id"), + 4: .standard(proto: "pokedex_id"), + 5: .standard(proto: "pokemon_form"), + 6: .same(proto: "alignment"), + 7: .standard(proto: "transition_vfx_key"), + 8: .standard(proto: "event_trigger_time"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -204163,8 +209856,14 @@ extension GameItemContentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.type) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.quantity) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.effectTarget) }() + case 3: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.pokemonForm) }() + case 6: try { try decoder.decodeSingularEnumField(value: &self.alignment) }() + case 7: try { try decoder.decodeSingularEnumField(value: &self.transitionVfxKey) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &self.eventTriggerTime) }() default: break } } @@ -204172,1569 +209871,535 @@ extension GameItemContentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp public func traverse(visitor: inout V) throws { if !self.type.isEmpty { - try visitor.visitSingularStringField(value: self.type, fieldNumber: 1) + try visitor.visitPackedEnumField(value: self.type, fieldNumber: 1) } - if self.quantity != 0 { - try visitor.visitSingularInt32Field(value: self.quantity, fieldNumber: 2) + if self.effectTarget != .unsetTarget { + try visitor.visitSingularEnumField(value: self.effectTarget, fieldNumber: 2) + } + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 3) + } + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 4) + } + if self.pokemonForm != .unset { + try visitor.visitSingularEnumField(value: self.pokemonForm, fieldNumber: 5) + } + if self.alignment != .unset { + try visitor.visitSingularEnumField(value: self.alignment, fieldNumber: 6) + } + if self.transitionVfxKey != .defaultTransition { + try visitor.visitSingularEnumField(value: self.transitionVfxKey, fieldNumber: 7) + } + if self.eventTriggerTime != 0 { + try visitor.visitSingularInt64Field(value: self.eventTriggerTime, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameItemContentProto, rhs: GameItemContentProto) -> Bool { + public static func ==(lhs: FormRenderModifier, rhs: FormRenderModifier) -> Bool { if lhs.type != rhs.type {return false} - if lhs.quantity != rhs.quantity {return false} + if lhs.effectTarget != rhs.effectTarget {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs.pokemonForm != rhs.pokemonForm {return false} + if lhs.alignment != rhs.alignment {return false} + if lhs.transitionVfxKey != rhs.transitionVfxKey {return false} + if lhs.eventTriggerTime != rhs.eventTriggerTime {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameMasterClientTemplateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GameMasterClientTemplateProto" +extension FormRenderModifier.EffectTarget: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "template_id"), - 2: .standard(proto: "pokemon_settings"), - 3: .standard(proto: "item_settings"), - 4: .standard(proto: "move_settings"), - 5: .standard(proto: "move_sequence_settings"), - 8: .standard(proto: "type_effective"), - 10: .standard(proto: "badge_settings"), - 11: .same(proto: "camera"), - 12: .standard(proto: "player_level"), - 13: .standard(proto: "gym_level"), - 14: .standard(proto: "battle_settings"), - 15: .standard(proto: "encounter_settings"), - 16: .standard(proto: "iap_item_display"), - 17: .standard(proto: "iap_settings"), - 18: .standard(proto: "pokemon_upgrades"), - 19: .standard(proto: "equipped_badges"), - 20: .standard(proto: "quest_settings"), - 21: .standard(proto: "avatar_customization"), - 22: .standard(proto: "form_settings"), - 23: .standard(proto: "gender_settings"), - 24: .standard(proto: "gym_badge_settings"), - 25: .standard(proto: "weather_affinities"), - 26: .standard(proto: "weather_bonus_settings"), - 27: .standard(proto: "pokemon_scale_settings"), - 28: .standard(proto: "iap_category_display"), - 29: .standard(proto: "beluga_pokemon_whitelist"), - 30: .standard(proto: "onboarding_settings"), - 31: .standard(proto: "friendship_milestone_settings"), - 32: .standard(proto: "lucky_pokemon_settings"), - 33: .standard(proto: "combat_settings"), - 34: .standard(proto: "combat_league_settings"), - 35: .standard(proto: "combat_league"), - 36: .standard(proto: "ex_raid_settings"), - 37: .standard(proto: "combat_move"), - 38: .standard(proto: "background_mode_settings"), - 39: .standard(proto: "combat_stat_stage_settings"), - 40: .standard(proto: "combat_npc_trainer"), - 41: .standard(proto: "combat_npc_personality"), - 42: .standard(proto: "onboarding_v2_settings"), - 43: .standard(proto: "party_recommendation_settings"), - 44: .standard(proto: "smeargle_moves_settings"), - 45: .standard(proto: "pokecoin_purchase_display_gmt"), - 46: .standard(proto: "adventure_sync_v2_gmt"), - 47: .standard(proto: "loading_screen_settings"), - 48: .standard(proto: "invasion_npc_display_settings"), - 49: .standard(proto: "combat_competitive_season_settings"), - 50: .standard(proto: "combat_ranking_proto_settings"), - 51: .standard(proto: "combat_type"), - 52: .standard(proto: "buddy_level_settings"), - 53: .standard(proto: "buddy_activity_category_settings"), - 54: .standard(proto: "buddy_activity_settings"), - 56: .standard(proto: "buddy_swap_settings"), - 57: .standard(proto: "route_creation_settings"), - 58: .standard(proto: "vs_seeker_client_settings"), - 59: .standard(proto: "buddy_encounter_cameo_settings"), - 60: .standard(proto: "limited_purchase_sku_settings"), - 61: .standard(proto: "buddy_emotion_level_settings"), - 62: .standard(proto: "pokestop_invasion_availability_settings"), - 63: .standard(proto: "buddy_interaction_settings"), - 64: .standard(proto: "vs_seeker_loot"), - 65: .standard(proto: "vs_seeker_pokemon_rewards"), - 66: .standard(proto: "battle_hub_order_settings"), - 67: .standard(proto: "battle_hub_badge_settings"), - 68: .standard(proto: "map_buddy_settings"), - 69: .standard(proto: "buddy_walk_settings"), - 70: .standard(proto: "platypus_rollout_settings"), - 72: .standard(proto: "buddy_hunger_settings"), - 73: .standard(proto: "project_vacation"), - 74: .standard(proto: "mega_evo_settings"), - 75: .standard(proto: "temporary_evolution_settings"), - 76: .standard(proto: "avatar_group_order_settings"), - 77: .standard(proto: "pokemon_family"), - 78: .standard(proto: "monodepth_settings"), - 79: .standard(proto: "level_up_reward_settings"), - 81: .standard(proto: "raid_settings"), - 82: .standard(proto: "tappable_settings"), - 83: .standard(proto: "route_play_settings"), - 84: .standard(proto: "sponsored_geofence_gift_settings"), - 85: .standard(proto: "sticker_metadata"), - 86: .standard(proto: "cross_game_social_settings"), - 87: .standard(proto: "map_display_settings"), - 88: .standard(proto: "pokemon_home_energy_costs"), - 89: .standard(proto: "pokemon_home_settings"), - 90: .standard(proto: "ar_telemetry_settings"), - 91: .standard(proto: "battle_party_settings"), - 93: .standard(proto: "quest_evolution_settings"), - 94: .standard(proto: "pokemon_home_form_reversions"), - 95: .standard(proto: "deep_linking_settings"), - 96: .standard(proto: "gui_search_settings"), - 97: .standard(proto: "evolution_quest_template"), - 98: .standard(proto: "ad_feedback_settings"), - 99: .standard(proto: "friend_profile_settings"), - 100: .standard(proto: "geotargeted_quest_settings"), - 101: .standard(proto: "pokemon_tag_settings"), - 102: .standard(proto: "recommended_search_settings"), - 103: .standard(proto: "inventory_settings"), - 104: .standard(proto: "route_discovery_settings"), - 105: .standard(proto: "egg_transparency_settings"), - 106: .standard(proto: "fort_power_up_level_settings"), - 107: .standard(proto: "power_up_pokestop_shared_settings"), - 108: .standard(proto: "incident_priority_settings"), - 109: .standard(proto: "referral_settings"), - 110: .standard(proto: "ob_gm_1_settings"), - 111: .standard(proto: "ob_gm_2_settings"), - 112: .standard(proto: "appraisal_star_threshold_settings"), - 114: .standard(proto: "pokedex_categories_settings"), - 115: .standard(proto: "battle_visual_settings"), - 116: .standard(proto: "addressable_pokemon_settings"), - 117: .standard(proto: "verbose_log_raid_settings"), - 118: .standard(proto: "forms_refactor_settings"), - 119: .standard(proto: "shared_move_settings"), - 120: .standard(proto: "address_book_import_settings"), - 121: .standard(proto: "music_settings"), - 122: .standard(proto: "news_feed_client_settings"), - 123: .standard(proto: "map_objects_interaction_range_settings"), - 124: .standard(proto: "external_addressable_assets_settings"), - 125: .standard(proto: "evolve_preview_settings"), - 126: .standard(proto: "ob_gm_3_settings"), - 127: .standard(proto: "push_gateway_settings"), - 128: .standard(proto: "username_suggestion_settings"), - 129: .standard(proto: "tutorials_settings"), - 130: .standard(proto: "egg_hatch_improvements_settings"), - 131: .standard(proto: "feature_unlock_level_settings"), - 132: .standard(proto: "survey_settings"), - 133: .standard(proto: "incident_visibility_settings"), - 134: .standard(proto: "postcard_collection_settings"), - 135: .standard(proto: "ob_gm_6_settings"), - 136: .standard(proto: "verbose_log_combat_settings"), - 137: .standard(proto: "mega_level_settings"), - 138: .standard(proto: "advanced_settings"), - 139: .standard(proto: "ob_gm_9_settings"), - 140: .standard(proto: "impression_tracking_setting"), - 141: .standard(proto: "ob_gm_11_settings"), - 142: .standard(proto: "evolution_chain_display_settings"), - 143: .standard(proto: "route_stamp_category_settings"), - 145: .standard(proto: "popup_control_settings"), - 146: .standard(proto: "ticket_gifting_settings"), - 147: .standard(proto: "language_selector_settings"), - 148: .standard(proto: "gifting_settings"), - 149: .standard(proto: "campfire_settings"), - 150: .standard(proto: "photo_settings"), - 151: .standard(proto: "daily_adventure_incense_settings"), - 152: .standard(proto: "item_inventory_update_settings"), - 153: .standard(proto: "sticker_category_settings"), - 154: .standard(proto: "home_widget_settings"), - 155: .standard(proto: "vs_seeker_schedule_settings"), - 156: .standard(proto: "pokedex_size_stats_settings"), - 157: .standard(proto: "asset_refresh_settings"), - 159: .standard(proto: "pokemon_fx_settings"), - 160: .standard(proto: "butterfly_collector_settings"), - 161: .standard(proto: "game_master_language_settings"), - 162: .standard(proto: "pokemon_extended_settings"), - 163: .standard(proto: "ob_gm_27_settings"), - 164: .standard(proto: "incubator_flow_settings"), - 165: .standard(proto: "primal_evo_settings"), - 167: .standard(proto: "ob_gm_29_settings"), - 168: .standard(proto: "ob_gm_30_settings"), - 169: .standard(proto: "location_card_feature_settings"), - 170: .standard(proto: "location_card_settings"), - 171: .standard(proto: "conversation_settings"), - 172: .standard(proto: "vps_event_settings"), - 173: .standard(proto: "catch_radius_multiplier_settings"), - 174: .standard(proto: "ob_gm_37_settings"), - 177: .standard(proto: "raid_lobby_counter_settings"), - 178: .standard(proto: "contest_settings"), - 179: .standard(proto: "ob_gm_39_settings"), - 180: .standard(proto: "neutral_avatar_settings"), - 181: .standard(proto: "remote_raid_limit_settings"), - 182: .standard(proto: "ob_gm_43_settings"), - 183: .standard(proto: "ob_gm_44_settings"), - 184: .standard(proto: "ob_gm_45_settings"), - 185: .standard(proto: "ob_gm_46_settings"), - 186: .standard(proto: "ob_gm_47_settings"), - 187: .standard(proto: "style_shop_settings"), - 188: .standard(proto: "ob_gm_49_settings"), - 189: .standard(proto: "boot_settings"), - 190: .standard(proto: "ob_gm_51_settings"), - 191: .standard(proto: "nearby_pokemon_settings"), - 192: .standard(proto: "ob_gm_53_settings"), - 193: .standard(proto: "extended_primal_settings"), - 194: .standard(proto: "ob_gm_55_settings"), - 195: .standard(proto: "ob_gm_56_settings"), - 196: .standard(proto: "ob_gm_57_settings"), - 197: .standard(proto: "ob_gm_58_settings"), - 198: .standard(proto: "ob_gm_59_settings"), - 199: .standard(proto: "route_badge_settings"), - 200: .standard(proto: "ob_gm_60_settings"), + 0: .same(proto: "UNSET_TARGET"), + 1: .same(proto: "DEFENDER"), + 2: .same(proto: "ATTACKER"), + 3: .same(proto: "ALL_PLAYERS"), ] +} - fileprivate class _StorageClass { - var _templateID: String = String() - var _pokemonSettings: PokemonSettingsProto? = nil - var _itemSettings: ItemSettingsProto? = nil - var _moveSettings: MoveSettingsProto? = nil - var _moveSequenceSettings: MoveSequenceSettingsProto? = nil - var _typeEffective: TypeEffectiveSettingsProto? = nil - var _badgeSettings: BadgeSettingsProto? = nil - var _camera: CameraSettingsProto? = nil - var _playerLevel: PlayerLevelSettingsProto? = nil - var _gymLevel: GymLevelSettingsProto? = nil - var _battleSettings: GymBattleSettingsProto? = nil - var _encounterSettings: EncounterSettingsProto? = nil - var _iapItemDisplay: IapItemDisplayProto? = nil - var _iapSettings: IapSettingsProto? = nil - var _pokemonUpgrades: PokemonUpgradeSettingsProto? = nil - var _equippedBadges: EquippedBadgeSettingsProto? = nil - var _questSettings: QuestSettingsProto? = nil - var _avatarCustomization: AvatarCustomizationProto? = nil - var _formSettings: FormSettingsProto? = nil - var _genderSettings: ClientGenderSettingsProto? = nil - var _gymBadgeSettings: GymBadgeGmtSettingsProto? = nil - var _weatherAffinities: WeatherAffinityProto? = nil - var _weatherBonusSettings: WeatherBonusProto? = nil - var _pokemonScaleSettings: PokemonScaleSettingProto? = nil - var _iapCategoryDisplay: IapItemCategoryDisplayProto? = nil - var _belugaPokemonWhitelist: BelugaPokemonWhitelist? = nil - var _onboardingSettings: OnboardingSettingsProto? = nil - var _friendshipMilestoneSettings: FriendshipLevelMilestoneSettingsProto? = nil - var _luckyPokemonSettings: LuckyPokemonSettingsProto? = nil - var _combatSettings: CombatSettingsProto? = nil - var _combatLeagueSettings: CombatLeagueSettingsProto? = nil - var _combatLeague: CombatLeagueProto? = nil - var _exRaidSettings: ExRaidSettingsProto? = nil - var _combatMove: CombatMoveSettingsProto? = nil - var _backgroundModeSettings: BackgroundModeSettingsProto? = nil - var _combatStatStageSettings: CombatStatStageSettingsProto? = nil - var _combatNpcTrainer: CombatNpcTrainerProto? = nil - var _combatNpcPersonality: CombatNpcPersonalityProto? = nil - var _onboardingV2Settings: OnboardingV2SettingsProto? = nil - var _partyRecommendationSettings: PartyRecommendationSettingsProto? = nil - var _smeargleMovesSettings: SmeargleMovesSettingsProto? = nil - var _pokecoinPurchaseDisplayGmt: PokecoinPurchaseDisplayGmtProto? = nil - var _adventureSyncV2Gmt: AdventureSyncV2GmtProto? = nil - var _loadingScreenSettings: LoadingScreenProto? = nil - var _invasionNpcDisplaySettings: InvasionNpcDisplaySettingsProto? = nil - var _combatCompetitiveSeasonSettings: CombatCompetitiveSeasonSettingsProto? = nil - var _combatRankingProtoSettings: CombatRankingSettingsProto? = nil - var _combatType: CombatTypeProto? = nil - var _buddyLevelSettings: BuddyLevelSettings? = nil - var _buddyActivityCategorySettings: BuddyActivityCategorySettings? = nil - var _buddyActivitySettings: BuddyActivitySettings? = nil - var _buddySwapSettings: BuddySwapSettings? = nil - var _routeCreationSettings: RoutesCreationSettingsProto? = nil - var _vsSeekerClientSettings: VsSeekerClientSettingsProto? = nil - var _buddyEncounterCameoSettings: BuddyEncounterCameoSettings? = nil - var _limitedPurchaseSkuSettings: LimitedPurchaseSkuSettingsProto? = nil - var _buddyEmotionLevelSettings: BuddyEmotionLevelSettings? = nil - var _pokestopInvasionAvailabilitySettings: InvasionAvailabilitySettingsProto? = nil - var _buddyInteractionSettings: BuddyInteractionSettings? = nil - var _vsSeekerLoot: VsSeekerLootProto? = nil - var _vsSeekerPokemonRewards: VsSeekerPokemonRewardsProto? = nil - var _battleHubOrderSettings: BattleHubOrderSettings? = nil - var _battleHubBadgeSettings: BattleHubBadgeSettings? = nil - var _mapBuddySettings: MapBuddySettingsProto? = nil - var _buddyWalkSettings: BuddyWalkSettings? = nil - var _platypusRolloutSettings: PlatypusRolloutSettingsProto? = nil - var _buddyHungerSettings: BuddyHungerSettings? = nil - var _projectVacation: ProjectVacationProto? = nil - var _megaEvoSettings: MegaEvoSettingsProto? = nil - var _temporaryEvolutionSettings: TemporaryEvolutionSettingsProto? = nil - var _avatarGroupOrderSettings: AvatarGroupOrderSettingsProto? = nil - var _pokemonFamily: PokemonFamilySettingsProto? = nil - var _monodepthSettings: MonodepthSettingsProto? = nil - var _levelUpRewardSettings: LevelUpRewardsSettingsProto? = nil - var _raidSettings: RaidClientSettingsProto? = nil - var _tappableSettings: TappableSettingsProto? = nil - var _routePlaySettings: RoutePlaySettingsProto? = nil - var _sponsoredGeofenceGiftSettings: SponsoredGeofenceGiftSettingsProto? = nil - var _stickerMetadata: StickerMetadataProto? = nil - var _crossGameSocialSettings: CrossGameSocialSettingsProto? = nil - var _mapDisplaySettings: MapDisplaySettingsProto? = nil - var _pokemonHomeEnergyCosts: PokemonHomeEnergyCostsProto? = nil - var _pokemonHomeSettings: PokemonHomeSettingsProto? = nil - var _arTelemetrySettings: ArTelemetrySettingsProto? = nil - var _battlePartySettings: BattlePartySettingsProto? = nil - var _questEvolutionSettings: QuestEvolutionSettingsProto? = nil - var _pokemonHomeFormReversions: PokemonHomeFormReversionProto? = nil - var _deepLinkingSettings: DeepLinkingSettingsProto? = nil - var _guiSearchSettings: GuiSearchSettingsProto? = nil - var _evolutionQuestTemplate: ClientEvolutionQuestTemplateProto? = nil - var _adFeedbackSettings: AdFeedbackSettingsProto? = nil - var _friendProfileSettings: FriendProfileSettingsProto? = nil - var _geotargetedQuestSettings: GeotargetedQuestSettingsProto? = nil - var _pokemonTagSettings: PokemonTagSettingsProto? = nil - var _recommendedSearchSettings: RecommendedSearchProto? = nil - var _inventorySettings: InventorySettingsProto? = nil - var _routeDiscoverySettings: RouteDiscoverySettingsProto? = nil - var _eggTransparencySettings: EggTransparencySettingsProto? = nil - var _fortPowerUpLevelSettings: FortPowerUpLevelSettings? = nil - var _powerUpPokestopSharedSettings: PowerUpPokestopSharedSettings? = nil - var _incidentPrioritySettings: IncidentPrioritySettingsProto? = nil - var _referralSettings: ReferralSettingsProto? = nil - var _obGm1Settings: GM1SettingsProto? = nil - var _obGm2Settings: GM2SettingsProto? = nil - var _appraisalStarThresholdSettings: AppraisalStarThresholdSettings? = nil - var _pokedexCategoriesSettings: PokedexCategoriesSettings? = nil - var _battleVisualSettings: BattleVisualSettings? = nil - var _addressablePokemonSettings: AddressablePokemonSettings? = nil - var _verboseLogRaidSettings: VerboseLogRaidSettings? = nil - var _formsRefactorSettings: FormsRefactorSettings? = nil - var _sharedMoveSettings: SharedMoveSettings? = nil - var _addressBookImportSettings: AddressBookImportSettingsProto? = nil - var _musicSettings: MusicSettings? = nil - var _newsFeedClientSettings: NewsFeedClientSettings? = nil - var _mapObjectsInteractionRangeSettings: MapObjectsInteractionRangeSettings? = nil - var _externalAddressableAssetsSettings: ExternalAddressableAssetsSettings? = nil - var _evolvePreviewSettings: EvolePreviewSettings? = nil - var _obGm3Settings: GM3SettingsProto? = nil - var _pushGatewaySettings: PushGatewaySettings? = nil - var _usernameSuggestionSettings: UsernameSuggestionSettings? = nil - var _tutorialsSettings: TutorialsSettings? = nil - var _eggHatchImprovementsSettings: EggHatchImprovementsSettings? = nil - var _featureUnlockLevelSettings: FeatureUnlockLevelSettings? = nil - var _surveySettings: SurveySettings? = nil - var _incidentVisibilitySettings: IncidentVisibilitySettingsProto? = nil - var _postcardCollectionSettings: PostcardCollectionSettings? = nil - var _obGm6Settings: GM6SettingsProto? = nil - var _verboseLogCombatSettings: VerboseLogCombatSettingsProto? = nil - var _megaLevelSettings: MegaLevelSettingsProto? = nil - var _advancedSettings: AdvancedSettingsProto? = nil - var _obGm9Settings: GM9SettingsProto? = nil - var _impressionTrackingSetting: ImpressionTrackingSettingsProto? = nil - var _obGm11Settings: GM11SettingsProto? = nil - var _evolutionChainDisplaySettings: EvolutionChainDisplaySettingsProto? = nil - var _routeStampCategorySettings: RouteStampCategorySettingsProto? = nil - var _popupControlSettings: PopupControlSettingsProto? = nil - var _ticketGiftingSettings: TicketGiftingSettingsProto? = nil - var _languageSelectorSettings: LanguageSelectorSettingsProto? = nil - var _giftingSettings: GiftingSettingsProto? = nil - var _campfireSettings: CampfireSettingsProto? = nil - var _photoSettings: PhotoSettingsProto? = nil - var _dailyAdventureIncenseSettings: DailyAdventureIncenseSettingsProto? = nil - var _itemInventoryUpdateSettings: ItemInventoryUpdateSettingsProto? = nil - var _stickerCategorySettings: StickerCategorySettingsProto? = nil - var _homeWidgetSettings: HomeWidgetSettingsProto? = nil - var _vsSeekerScheduleSettings: VSSeekerScheduleSettingsProto? = nil - var _pokedexSizeStatsSettings: PokedexSizeStatsSettingsProto? = nil - var _assetRefreshSettings: AssetRefreshSettingsProto? = nil - var _pokemonFxSettings: PokemonFXSettingsSettingsProto? = nil - var _butterflyCollectorSettings: ButterflyCollectorSettings? = nil - var _gameMasterLanguageSettings: GameMasterLanguageSettingsProto? = nil - var _pokemonExtendedSettings: PokemonExtendedSettingsProto? = nil - var _obGm27Settings: GM27SettingsProto? = nil - var _incubatorFlowSettings: IncubatorFlowSettingsProto? = nil - var _primalEvoSettings: PrimalEvoSettingsProto? = nil - var _obGm29Settings: GM29SettingsProto? = nil - var _obGm30Settings: GM30SettingsProto? = nil - var _locationCardFeatureSettings: LocationCardFeatureSettingsProto? = nil - var _locationCardSettings: LocationCardSettingsProto? = nil - var _conversationSettings: ConversationSettingsProto? = nil - var _vpsEventSettings: VpsEventSettingsProto? = nil - var _catchRadiusMultiplierSettings: CatchRadiusMultiplierSettingsProto? = nil - var _obGm37Settings: GM37SettingsProto? = nil - var _raidLobbyCounterSettings: RaidLobbyCounterSettingsProto? = nil - var _contestSettings: ContestSettingsProto? = nil - var _obGm39Settings: GM39SettingsProto? = nil - var _neutralAvatarSettings: NeutralAvatarSettingsProto? = nil - var _remoteRaidLimitSettings: RemoteRaidLimitSettingsProto? = nil - var _obGm43Settings: GM43SettingsProto? = nil - var _obGm44Settings: GM44SettingsProto? = nil - var _obGm45Settings: GM45SettingsProto? = nil - var _obGm46Settings: GM46SettingsProto? = nil - var _obGm47Settings: GM47SettingsProto? = nil - var _styleShopSettings: StyleShopSettingsProto? = nil - var _obGm49Settings: GM49SettingsProto? = nil - var _bootSettings: BootSettingsProto? = nil - var _obGm51Settings: GM51SettingsProto? = nil - var _nearbyPokemonSettings: NearbyPokemonSettingsProto? = nil - var _obGm53Settings: GM53SettingsProto? = nil - var _extendedPrimalSettings: ExtendedPrimalSettingsProto? = nil - var _obGm55Settings: GM55SettingsProto? = nil - var _obGm56Settings: GM56SettingsProto? = nil - var _obGm57Settings: GM57SettingsProto? = nil - var _obGm58Settings: GM58SettingsProto? = nil - var _obGm59Settings: GM59SettingsProto? = nil - var _routeBadgeSettings: RouteBadgeSettingsProto? = nil - var _obGm60Settings: GM60SettingsProto? = nil +extension FormRenderModifier.RenderModifierType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUPPRESS_SELF"), + 2: .same(proto: "SUPPRESS_OPPONENT"), + 3: .same(proto: "DISPLAY_CHANGE"), + ] +} - static let defaultInstance = _StorageClass() +extension FormRenderModifier.TransitionVfxKey: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "DEFAULT_TRANSITION"), + 1: .same(proto: "SHADOW_ENRAGE"), + 2: .same(proto: "SHADOW_SUPPRESS"), + ] +} - private init() {} +extension FormSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FormSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "pokemon"), + 2: .same(proto: "forms"), + ] - init(copying source: _StorageClass) { - _templateID = source._templateID - _pokemonSettings = source._pokemonSettings - _itemSettings = source._itemSettings - _moveSettings = source._moveSettings - _moveSequenceSettings = source._moveSequenceSettings - _typeEffective = source._typeEffective - _badgeSettings = source._badgeSettings - _camera = source._camera - _playerLevel = source._playerLevel - _gymLevel = source._gymLevel - _battleSettings = source._battleSettings - _encounterSettings = source._encounterSettings - _iapItemDisplay = source._iapItemDisplay - _iapSettings = source._iapSettings - _pokemonUpgrades = source._pokemonUpgrades - _equippedBadges = source._equippedBadges - _questSettings = source._questSettings - _avatarCustomization = source._avatarCustomization - _formSettings = source._formSettings - _genderSettings = source._genderSettings - _gymBadgeSettings = source._gymBadgeSettings - _weatherAffinities = source._weatherAffinities - _weatherBonusSettings = source._weatherBonusSettings - _pokemonScaleSettings = source._pokemonScaleSettings - _iapCategoryDisplay = source._iapCategoryDisplay - _belugaPokemonWhitelist = source._belugaPokemonWhitelist - _onboardingSettings = source._onboardingSettings - _friendshipMilestoneSettings = source._friendshipMilestoneSettings - _luckyPokemonSettings = source._luckyPokemonSettings - _combatSettings = source._combatSettings - _combatLeagueSettings = source._combatLeagueSettings - _combatLeague = source._combatLeague - _exRaidSettings = source._exRaidSettings - _combatMove = source._combatMove - _backgroundModeSettings = source._backgroundModeSettings - _combatStatStageSettings = source._combatStatStageSettings - _combatNpcTrainer = source._combatNpcTrainer - _combatNpcPersonality = source._combatNpcPersonality - _onboardingV2Settings = source._onboardingV2Settings - _partyRecommendationSettings = source._partyRecommendationSettings - _smeargleMovesSettings = source._smeargleMovesSettings - _pokecoinPurchaseDisplayGmt = source._pokecoinPurchaseDisplayGmt - _adventureSyncV2Gmt = source._adventureSyncV2Gmt - _loadingScreenSettings = source._loadingScreenSettings - _invasionNpcDisplaySettings = source._invasionNpcDisplaySettings - _combatCompetitiveSeasonSettings = source._combatCompetitiveSeasonSettings - _combatRankingProtoSettings = source._combatRankingProtoSettings - _combatType = source._combatType - _buddyLevelSettings = source._buddyLevelSettings - _buddyActivityCategorySettings = source._buddyActivityCategorySettings - _buddyActivitySettings = source._buddyActivitySettings - _buddySwapSettings = source._buddySwapSettings - _routeCreationSettings = source._routeCreationSettings - _vsSeekerClientSettings = source._vsSeekerClientSettings - _buddyEncounterCameoSettings = source._buddyEncounterCameoSettings - _limitedPurchaseSkuSettings = source._limitedPurchaseSkuSettings - _buddyEmotionLevelSettings = source._buddyEmotionLevelSettings - _pokestopInvasionAvailabilitySettings = source._pokestopInvasionAvailabilitySettings - _buddyInteractionSettings = source._buddyInteractionSettings - _vsSeekerLoot = source._vsSeekerLoot - _vsSeekerPokemonRewards = source._vsSeekerPokemonRewards - _battleHubOrderSettings = source._battleHubOrderSettings - _battleHubBadgeSettings = source._battleHubBadgeSettings - _mapBuddySettings = source._mapBuddySettings - _buddyWalkSettings = source._buddyWalkSettings - _platypusRolloutSettings = source._platypusRolloutSettings - _buddyHungerSettings = source._buddyHungerSettings - _projectVacation = source._projectVacation - _megaEvoSettings = source._megaEvoSettings - _temporaryEvolutionSettings = source._temporaryEvolutionSettings - _avatarGroupOrderSettings = source._avatarGroupOrderSettings - _pokemonFamily = source._pokemonFamily - _monodepthSettings = source._monodepthSettings - _levelUpRewardSettings = source._levelUpRewardSettings - _raidSettings = source._raidSettings - _tappableSettings = source._tappableSettings - _routePlaySettings = source._routePlaySettings - _sponsoredGeofenceGiftSettings = source._sponsoredGeofenceGiftSettings - _stickerMetadata = source._stickerMetadata - _crossGameSocialSettings = source._crossGameSocialSettings - _mapDisplaySettings = source._mapDisplaySettings - _pokemonHomeEnergyCosts = source._pokemonHomeEnergyCosts - _pokemonHomeSettings = source._pokemonHomeSettings - _arTelemetrySettings = source._arTelemetrySettings - _battlePartySettings = source._battlePartySettings - _questEvolutionSettings = source._questEvolutionSettings - _pokemonHomeFormReversions = source._pokemonHomeFormReversions - _deepLinkingSettings = source._deepLinkingSettings - _guiSearchSettings = source._guiSearchSettings - _evolutionQuestTemplate = source._evolutionQuestTemplate - _adFeedbackSettings = source._adFeedbackSettings - _friendProfileSettings = source._friendProfileSettings - _geotargetedQuestSettings = source._geotargetedQuestSettings - _pokemonTagSettings = source._pokemonTagSettings - _recommendedSearchSettings = source._recommendedSearchSettings - _inventorySettings = source._inventorySettings - _routeDiscoverySettings = source._routeDiscoverySettings - _eggTransparencySettings = source._eggTransparencySettings - _fortPowerUpLevelSettings = source._fortPowerUpLevelSettings - _powerUpPokestopSharedSettings = source._powerUpPokestopSharedSettings - _incidentPrioritySettings = source._incidentPrioritySettings - _referralSettings = source._referralSettings - _obGm1Settings = source._obGm1Settings - _obGm2Settings = source._obGm2Settings - _appraisalStarThresholdSettings = source._appraisalStarThresholdSettings - _pokedexCategoriesSettings = source._pokedexCategoriesSettings - _battleVisualSettings = source._battleVisualSettings - _addressablePokemonSettings = source._addressablePokemonSettings - _verboseLogRaidSettings = source._verboseLogRaidSettings - _formsRefactorSettings = source._formsRefactorSettings - _sharedMoveSettings = source._sharedMoveSettings - _addressBookImportSettings = source._addressBookImportSettings - _musicSettings = source._musicSettings - _newsFeedClientSettings = source._newsFeedClientSettings - _mapObjectsInteractionRangeSettings = source._mapObjectsInteractionRangeSettings - _externalAddressableAssetsSettings = source._externalAddressableAssetsSettings - _evolvePreviewSettings = source._evolvePreviewSettings - _obGm3Settings = source._obGm3Settings - _pushGatewaySettings = source._pushGatewaySettings - _usernameSuggestionSettings = source._usernameSuggestionSettings - _tutorialsSettings = source._tutorialsSettings - _eggHatchImprovementsSettings = source._eggHatchImprovementsSettings - _featureUnlockLevelSettings = source._featureUnlockLevelSettings - _surveySettings = source._surveySettings - _incidentVisibilitySettings = source._incidentVisibilitySettings - _postcardCollectionSettings = source._postcardCollectionSettings - _obGm6Settings = source._obGm6Settings - _verboseLogCombatSettings = source._verboseLogCombatSettings - _megaLevelSettings = source._megaLevelSettings - _advancedSettings = source._advancedSettings - _obGm9Settings = source._obGm9Settings - _impressionTrackingSetting = source._impressionTrackingSetting - _obGm11Settings = source._obGm11Settings - _evolutionChainDisplaySettings = source._evolutionChainDisplaySettings - _routeStampCategorySettings = source._routeStampCategorySettings - _popupControlSettings = source._popupControlSettings - _ticketGiftingSettings = source._ticketGiftingSettings - _languageSelectorSettings = source._languageSelectorSettings - _giftingSettings = source._giftingSettings - _campfireSettings = source._campfireSettings - _photoSettings = source._photoSettings - _dailyAdventureIncenseSettings = source._dailyAdventureIncenseSettings - _itemInventoryUpdateSettings = source._itemInventoryUpdateSettings - _stickerCategorySettings = source._stickerCategorySettings - _homeWidgetSettings = source._homeWidgetSettings - _vsSeekerScheduleSettings = source._vsSeekerScheduleSettings - _pokedexSizeStatsSettings = source._pokedexSizeStatsSettings - _assetRefreshSettings = source._assetRefreshSettings - _pokemonFxSettings = source._pokemonFxSettings - _butterflyCollectorSettings = source._butterflyCollectorSettings - _gameMasterLanguageSettings = source._gameMasterLanguageSettings - _pokemonExtendedSettings = source._pokemonExtendedSettings - _obGm27Settings = source._obGm27Settings - _incubatorFlowSettings = source._incubatorFlowSettings - _primalEvoSettings = source._primalEvoSettings - _obGm29Settings = source._obGm29Settings - _obGm30Settings = source._obGm30Settings - _locationCardFeatureSettings = source._locationCardFeatureSettings - _locationCardSettings = source._locationCardSettings - _conversationSettings = source._conversationSettings - _vpsEventSettings = source._vpsEventSettings - _catchRadiusMultiplierSettings = source._catchRadiusMultiplierSettings - _obGm37Settings = source._obGm37Settings - _raidLobbyCounterSettings = source._raidLobbyCounterSettings - _contestSettings = source._contestSettings - _obGm39Settings = source._obGm39Settings - _neutralAvatarSettings = source._neutralAvatarSettings - _remoteRaidLimitSettings = source._remoteRaidLimitSettings - _obGm43Settings = source._obGm43Settings - _obGm44Settings = source._obGm44Settings - _obGm45Settings = source._obGm45Settings - _obGm46Settings = source._obGm46Settings - _obGm47Settings = source._obGm47Settings - _styleShopSettings = source._styleShopSettings - _obGm49Settings = source._obGm49Settings - _bootSettings = source._bootSettings - _obGm51Settings = source._obGm51Settings - _nearbyPokemonSettings = source._nearbyPokemonSettings - _obGm53Settings = source._obGm53Settings - _extendedPrimalSettings = source._extendedPrimalSettings - _obGm55Settings = source._obGm55Settings - _obGm56Settings = source._obGm56Settings - _obGm57Settings = source._obGm57Settings - _obGm58Settings = source._obGm58Settings - _obGm59Settings = source._obGm59Settings - _routeBadgeSettings = source._routeBadgeSettings - _obGm60Settings = source._obGm60Settings + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemon) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.forms) }() + default: break + } } } - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + public func traverse(visitor: inout V) throws { + if self.pokemon != .missingno { + try visitor.visitSingularEnumField(value: self.pokemon, fieldNumber: 1) } - return _storage + if !self.forms.isEmpty { + try visitor.visitRepeatedMessageField(value: self.forms, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FormSettingsProto, rhs: FormSettingsProto) -> Bool { + if lhs.pokemon != rhs.pokemon {return false} + if lhs.forms != rhs.forms {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true } +} + +extension FormsRefactorSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FormsRefactorSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "enable_shadow_v2_gmts"), + 2: .standard(proto: "read_from_new_pokedex_entry_fields"), + 3: .standard(proto: "validate_no_shadows_in_quest_or_invasion_gmts"), + 4: .standard(proto: "validate_no_shadow_or_purified_in_gmts"), + ] public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._templateID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonSettings) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._itemSettings) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._moveSettings) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._moveSequenceSettings) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._typeEffective) }() - case 10: try { try decoder.decodeSingularMessageField(value: &_storage._badgeSettings) }() - case 11: try { try decoder.decodeSingularMessageField(value: &_storage._camera) }() - case 12: try { try decoder.decodeSingularMessageField(value: &_storage._playerLevel) }() - case 13: try { try decoder.decodeSingularMessageField(value: &_storage._gymLevel) }() - case 14: try { try decoder.decodeSingularMessageField(value: &_storage._battleSettings) }() - case 15: try { try decoder.decodeSingularMessageField(value: &_storage._encounterSettings) }() - case 16: try { try decoder.decodeSingularMessageField(value: &_storage._iapItemDisplay) }() - case 17: try { try decoder.decodeSingularMessageField(value: &_storage._iapSettings) }() - case 18: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonUpgrades) }() - case 19: try { try decoder.decodeSingularMessageField(value: &_storage._equippedBadges) }() - case 20: try { try decoder.decodeSingularMessageField(value: &_storage._questSettings) }() - case 21: try { try decoder.decodeSingularMessageField(value: &_storage._avatarCustomization) }() - case 22: try { try decoder.decodeSingularMessageField(value: &_storage._formSettings) }() - case 23: try { try decoder.decodeSingularMessageField(value: &_storage._genderSettings) }() - case 24: try { try decoder.decodeSingularMessageField(value: &_storage._gymBadgeSettings) }() - case 25: try { try decoder.decodeSingularMessageField(value: &_storage._weatherAffinities) }() - case 26: try { try decoder.decodeSingularMessageField(value: &_storage._weatherBonusSettings) }() - case 27: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonScaleSettings) }() - case 28: try { try decoder.decodeSingularMessageField(value: &_storage._iapCategoryDisplay) }() - case 29: try { try decoder.decodeSingularMessageField(value: &_storage._belugaPokemonWhitelist) }() - case 30: try { try decoder.decodeSingularMessageField(value: &_storage._onboardingSettings) }() - case 31: try { try decoder.decodeSingularMessageField(value: &_storage._friendshipMilestoneSettings) }() - case 32: try { try decoder.decodeSingularMessageField(value: &_storage._luckyPokemonSettings) }() - case 33: try { try decoder.decodeSingularMessageField(value: &_storage._combatSettings) }() - case 34: try { try decoder.decodeSingularMessageField(value: &_storage._combatLeagueSettings) }() - case 35: try { try decoder.decodeSingularMessageField(value: &_storage._combatLeague) }() - case 36: try { try decoder.decodeSingularMessageField(value: &_storage._exRaidSettings) }() - case 37: try { try decoder.decodeSingularMessageField(value: &_storage._combatMove) }() - case 38: try { try decoder.decodeSingularMessageField(value: &_storage._backgroundModeSettings) }() - case 39: try { try decoder.decodeSingularMessageField(value: &_storage._combatStatStageSettings) }() - case 40: try { try decoder.decodeSingularMessageField(value: &_storage._combatNpcTrainer) }() - case 41: try { try decoder.decodeSingularMessageField(value: &_storage._combatNpcPersonality) }() - case 42: try { try decoder.decodeSingularMessageField(value: &_storage._onboardingV2Settings) }() - case 43: try { try decoder.decodeSingularMessageField(value: &_storage._partyRecommendationSettings) }() - case 44: try { try decoder.decodeSingularMessageField(value: &_storage._smeargleMovesSettings) }() - case 45: try { try decoder.decodeSingularMessageField(value: &_storage._pokecoinPurchaseDisplayGmt) }() - case 46: try { try decoder.decodeSingularMessageField(value: &_storage._adventureSyncV2Gmt) }() - case 47: try { try decoder.decodeSingularMessageField(value: &_storage._loadingScreenSettings) }() - case 48: try { try decoder.decodeSingularMessageField(value: &_storage._invasionNpcDisplaySettings) }() - case 49: try { try decoder.decodeSingularMessageField(value: &_storage._combatCompetitiveSeasonSettings) }() - case 50: try { try decoder.decodeSingularMessageField(value: &_storage._combatRankingProtoSettings) }() - case 51: try { try decoder.decodeSingularMessageField(value: &_storage._combatType) }() - case 52: try { try decoder.decodeSingularMessageField(value: &_storage._buddyLevelSettings) }() - case 53: try { try decoder.decodeSingularMessageField(value: &_storage._buddyActivityCategorySettings) }() - case 54: try { try decoder.decodeSingularMessageField(value: &_storage._buddyActivitySettings) }() - case 56: try { try decoder.decodeSingularMessageField(value: &_storage._buddySwapSettings) }() - case 57: try { try decoder.decodeSingularMessageField(value: &_storage._routeCreationSettings) }() - case 58: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerClientSettings) }() - case 59: try { try decoder.decodeSingularMessageField(value: &_storage._buddyEncounterCameoSettings) }() - case 60: try { try decoder.decodeSingularMessageField(value: &_storage._limitedPurchaseSkuSettings) }() - case 61: try { try decoder.decodeSingularMessageField(value: &_storage._buddyEmotionLevelSettings) }() - case 62: try { try decoder.decodeSingularMessageField(value: &_storage._pokestopInvasionAvailabilitySettings) }() - case 63: try { try decoder.decodeSingularMessageField(value: &_storage._buddyInteractionSettings) }() - case 64: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerLoot) }() - case 65: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerPokemonRewards) }() - case 66: try { try decoder.decodeSingularMessageField(value: &_storage._battleHubOrderSettings) }() - case 67: try { try decoder.decodeSingularMessageField(value: &_storage._battleHubBadgeSettings) }() - case 68: try { try decoder.decodeSingularMessageField(value: &_storage._mapBuddySettings) }() - case 69: try { try decoder.decodeSingularMessageField(value: &_storage._buddyWalkSettings) }() - case 70: try { try decoder.decodeSingularMessageField(value: &_storage._platypusRolloutSettings) }() - case 72: try { try decoder.decodeSingularMessageField(value: &_storage._buddyHungerSettings) }() - case 73: try { try decoder.decodeSingularMessageField(value: &_storage._projectVacation) }() - case 74: try { try decoder.decodeSingularMessageField(value: &_storage._megaEvoSettings) }() - case 75: try { try decoder.decodeSingularMessageField(value: &_storage._temporaryEvolutionSettings) }() - case 76: try { try decoder.decodeSingularMessageField(value: &_storage._avatarGroupOrderSettings) }() - case 77: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonFamily) }() - case 78: try { try decoder.decodeSingularMessageField(value: &_storage._monodepthSettings) }() - case 79: try { try decoder.decodeSingularMessageField(value: &_storage._levelUpRewardSettings) }() - case 81: try { try decoder.decodeSingularMessageField(value: &_storage._raidSettings) }() - case 82: try { try decoder.decodeSingularMessageField(value: &_storage._tappableSettings) }() - case 83: try { try decoder.decodeSingularMessageField(value: &_storage._routePlaySettings) }() - case 84: try { try decoder.decodeSingularMessageField(value: &_storage._sponsoredGeofenceGiftSettings) }() - case 85: try { try decoder.decodeSingularMessageField(value: &_storage._stickerMetadata) }() - case 86: try { try decoder.decodeSingularMessageField(value: &_storage._crossGameSocialSettings) }() - case 87: try { try decoder.decodeSingularMessageField(value: &_storage._mapDisplaySettings) }() - case 88: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonHomeEnergyCosts) }() - case 89: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonHomeSettings) }() - case 90: try { try decoder.decodeSingularMessageField(value: &_storage._arTelemetrySettings) }() - case 91: try { try decoder.decodeSingularMessageField(value: &_storage._battlePartySettings) }() - case 93: try { try decoder.decodeSingularMessageField(value: &_storage._questEvolutionSettings) }() - case 94: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonHomeFormReversions) }() - case 95: try { try decoder.decodeSingularMessageField(value: &_storage._deepLinkingSettings) }() - case 96: try { try decoder.decodeSingularMessageField(value: &_storage._guiSearchSettings) }() - case 97: try { try decoder.decodeSingularMessageField(value: &_storage._evolutionQuestTemplate) }() - case 98: try { try decoder.decodeSingularMessageField(value: &_storage._adFeedbackSettings) }() - case 99: try { try decoder.decodeSingularMessageField(value: &_storage._friendProfileSettings) }() - case 100: try { try decoder.decodeSingularMessageField(value: &_storage._geotargetedQuestSettings) }() - case 101: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonTagSettings) }() - case 102: try { try decoder.decodeSingularMessageField(value: &_storage._recommendedSearchSettings) }() - case 103: try { try decoder.decodeSingularMessageField(value: &_storage._inventorySettings) }() - case 104: try { try decoder.decodeSingularMessageField(value: &_storage._routeDiscoverySettings) }() - case 105: try { try decoder.decodeSingularMessageField(value: &_storage._eggTransparencySettings) }() - case 106: try { try decoder.decodeSingularMessageField(value: &_storage._fortPowerUpLevelSettings) }() - case 107: try { try decoder.decodeSingularMessageField(value: &_storage._powerUpPokestopSharedSettings) }() - case 108: try { try decoder.decodeSingularMessageField(value: &_storage._incidentPrioritySettings) }() - case 109: try { try decoder.decodeSingularMessageField(value: &_storage._referralSettings) }() - case 110: try { try decoder.decodeSingularMessageField(value: &_storage._obGm1Settings) }() - case 111: try { try decoder.decodeSingularMessageField(value: &_storage._obGm2Settings) }() - case 112: try { try decoder.decodeSingularMessageField(value: &_storage._appraisalStarThresholdSettings) }() - case 114: try { try decoder.decodeSingularMessageField(value: &_storage._pokedexCategoriesSettings) }() - case 115: try { try decoder.decodeSingularMessageField(value: &_storage._battleVisualSettings) }() - case 116: try { try decoder.decodeSingularMessageField(value: &_storage._addressablePokemonSettings) }() - case 117: try { try decoder.decodeSingularMessageField(value: &_storage._verboseLogRaidSettings) }() - case 118: try { try decoder.decodeSingularMessageField(value: &_storage._formsRefactorSettings) }() - case 119: try { try decoder.decodeSingularMessageField(value: &_storage._sharedMoveSettings) }() - case 120: try { try decoder.decodeSingularMessageField(value: &_storage._addressBookImportSettings) }() - case 121: try { try decoder.decodeSingularMessageField(value: &_storage._musicSettings) }() - case 122: try { try decoder.decodeSingularMessageField(value: &_storage._newsFeedClientSettings) }() - case 123: try { try decoder.decodeSingularMessageField(value: &_storage._mapObjectsInteractionRangeSettings) }() - case 124: try { try decoder.decodeSingularMessageField(value: &_storage._externalAddressableAssetsSettings) }() - case 125: try { try decoder.decodeSingularMessageField(value: &_storage._evolvePreviewSettings) }() - case 126: try { try decoder.decodeSingularMessageField(value: &_storage._obGm3Settings) }() - case 127: try { try decoder.decodeSingularMessageField(value: &_storage._pushGatewaySettings) }() - case 128: try { try decoder.decodeSingularMessageField(value: &_storage._usernameSuggestionSettings) }() - case 129: try { try decoder.decodeSingularMessageField(value: &_storage._tutorialsSettings) }() - case 130: try { try decoder.decodeSingularMessageField(value: &_storage._eggHatchImprovementsSettings) }() - case 131: try { try decoder.decodeSingularMessageField(value: &_storage._featureUnlockLevelSettings) }() - case 132: try { try decoder.decodeSingularMessageField(value: &_storage._surveySettings) }() - case 133: try { try decoder.decodeSingularMessageField(value: &_storage._incidentVisibilitySettings) }() - case 134: try { try decoder.decodeSingularMessageField(value: &_storage._postcardCollectionSettings) }() - case 135: try { try decoder.decodeSingularMessageField(value: &_storage._obGm6Settings) }() - case 136: try { try decoder.decodeSingularMessageField(value: &_storage._verboseLogCombatSettings) }() - case 137: try { try decoder.decodeSingularMessageField(value: &_storage._megaLevelSettings) }() - case 138: try { try decoder.decodeSingularMessageField(value: &_storage._advancedSettings) }() - case 139: try { try decoder.decodeSingularMessageField(value: &_storage._obGm9Settings) }() - case 140: try { try decoder.decodeSingularMessageField(value: &_storage._impressionTrackingSetting) }() - case 141: try { try decoder.decodeSingularMessageField(value: &_storage._obGm11Settings) }() - case 142: try { try decoder.decodeSingularMessageField(value: &_storage._evolutionChainDisplaySettings) }() - case 143: try { try decoder.decodeSingularMessageField(value: &_storage._routeStampCategorySettings) }() - case 145: try { try decoder.decodeSingularMessageField(value: &_storage._popupControlSettings) }() - case 146: try { try decoder.decodeSingularMessageField(value: &_storage._ticketGiftingSettings) }() - case 147: try { try decoder.decodeSingularMessageField(value: &_storage._languageSelectorSettings) }() - case 148: try { try decoder.decodeSingularMessageField(value: &_storage._giftingSettings) }() - case 149: try { try decoder.decodeSingularMessageField(value: &_storage._campfireSettings) }() - case 150: try { try decoder.decodeSingularMessageField(value: &_storage._photoSettings) }() - case 151: try { try decoder.decodeSingularMessageField(value: &_storage._dailyAdventureIncenseSettings) }() - case 152: try { try decoder.decodeSingularMessageField(value: &_storage._itemInventoryUpdateSettings) }() - case 153: try { try decoder.decodeSingularMessageField(value: &_storage._stickerCategorySettings) }() - case 154: try { try decoder.decodeSingularMessageField(value: &_storage._homeWidgetSettings) }() - case 155: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerScheduleSettings) }() - case 156: try { try decoder.decodeSingularMessageField(value: &_storage._pokedexSizeStatsSettings) }() - case 157: try { try decoder.decodeSingularMessageField(value: &_storage._assetRefreshSettings) }() - case 159: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonFxSettings) }() - case 160: try { try decoder.decodeSingularMessageField(value: &_storage._butterflyCollectorSettings) }() - case 161: try { try decoder.decodeSingularMessageField(value: &_storage._gameMasterLanguageSettings) }() - case 162: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonExtendedSettings) }() - case 163: try { try decoder.decodeSingularMessageField(value: &_storage._obGm27Settings) }() - case 164: try { try decoder.decodeSingularMessageField(value: &_storage._incubatorFlowSettings) }() - case 165: try { try decoder.decodeSingularMessageField(value: &_storage._primalEvoSettings) }() - case 167: try { try decoder.decodeSingularMessageField(value: &_storage._obGm29Settings) }() - case 168: try { try decoder.decodeSingularMessageField(value: &_storage._obGm30Settings) }() - case 169: try { try decoder.decodeSingularMessageField(value: &_storage._locationCardFeatureSettings) }() - case 170: try { try decoder.decodeSingularMessageField(value: &_storage._locationCardSettings) }() - case 171: try { try decoder.decodeSingularMessageField(value: &_storage._conversationSettings) }() - case 172: try { try decoder.decodeSingularMessageField(value: &_storage._vpsEventSettings) }() - case 173: try { try decoder.decodeSingularMessageField(value: &_storage._catchRadiusMultiplierSettings) }() - case 174: try { try decoder.decodeSingularMessageField(value: &_storage._obGm37Settings) }() - case 177: try { try decoder.decodeSingularMessageField(value: &_storage._raidLobbyCounterSettings) }() - case 178: try { try decoder.decodeSingularMessageField(value: &_storage._contestSettings) }() - case 179: try { try decoder.decodeSingularMessageField(value: &_storage._obGm39Settings) }() - case 180: try { try decoder.decodeSingularMessageField(value: &_storage._neutralAvatarSettings) }() - case 181: try { try decoder.decodeSingularMessageField(value: &_storage._remoteRaidLimitSettings) }() - case 182: try { try decoder.decodeSingularMessageField(value: &_storage._obGm43Settings) }() - case 183: try { try decoder.decodeSingularMessageField(value: &_storage._obGm44Settings) }() - case 184: try { try decoder.decodeSingularMessageField(value: &_storage._obGm45Settings) }() - case 185: try { try decoder.decodeSingularMessageField(value: &_storage._obGm46Settings) }() - case 186: try { try decoder.decodeSingularMessageField(value: &_storage._obGm47Settings) }() - case 187: try { try decoder.decodeSingularMessageField(value: &_storage._styleShopSettings) }() - case 188: try { try decoder.decodeSingularMessageField(value: &_storage._obGm49Settings) }() - case 189: try { try decoder.decodeSingularMessageField(value: &_storage._bootSettings) }() - case 190: try { try decoder.decodeSingularMessageField(value: &_storage._obGm51Settings) }() - case 191: try { try decoder.decodeSingularMessageField(value: &_storage._nearbyPokemonSettings) }() - case 192: try { try decoder.decodeSingularMessageField(value: &_storage._obGm53Settings) }() - case 193: try { try decoder.decodeSingularMessageField(value: &_storage._extendedPrimalSettings) }() - case 194: try { try decoder.decodeSingularMessageField(value: &_storage._obGm55Settings) }() - case 195: try { try decoder.decodeSingularMessageField(value: &_storage._obGm56Settings) }() - case 196: try { try decoder.decodeSingularMessageField(value: &_storage._obGm57Settings) }() - case 197: try { try decoder.decodeSingularMessageField(value: &_storage._obGm58Settings) }() - case 198: try { try decoder.decodeSingularMessageField(value: &_storage._obGm59Settings) }() - case 199: try { try decoder.decodeSingularMessageField(value: &_storage._routeBadgeSettings) }() - case 200: try { try decoder.decodeSingularMessageField(value: &_storage._obGm60Settings) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableShadowV2Gmts) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.readFromNewPokedexEntryFields) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.validateNoShadowsInQuestOrInvasionGmts) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.validateNoShadowOrPurifiedInGmts) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if self.enableShadowV2Gmts != false { + try visitor.visitSingularBoolField(value: self.enableShadowV2Gmts, fieldNumber: 1) + } + if self.readFromNewPokedexEntryFields != false { + try visitor.visitSingularBoolField(value: self.readFromNewPokedexEntryFields, fieldNumber: 2) + } + if self.validateNoShadowsInQuestOrInvasionGmts != false { + try visitor.visitSingularBoolField(value: self.validateNoShadowsInQuestOrInvasionGmts, fieldNumber: 3) + } + if self.validateNoShadowOrPurifiedInGmts != false { + try visitor.visitSingularBoolField(value: self.validateNoShadowOrPurifiedInGmts, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FormsRefactorSettingsProto, rhs: FormsRefactorSettingsProto) -> Bool { + if lhs.enableShadowV2Gmts != rhs.enableShadowV2Gmts {return false} + if lhs.readFromNewPokedexEntryFields != rhs.readFromNewPokedexEntryFields {return false} + if lhs.validateNoShadowsInQuestOrInvasionGmts != rhs.validateNoShadowsInQuestOrInvasionGmts {return false} + if lhs.validateNoShadowOrPurifiedInGmts != rhs.validateNoShadowOrPurifiedInGmts {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension FortDeployOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortDeployOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "fort_details_out_proto"), + 3: .standard(proto: "egg_pokemon"), + 4: .standard(proto: "gym_state_proto"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._templateID.isEmpty { - try visitor.visitSingularStringField(value: _storage._templateID, fieldNumber: 1) + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._fortDetailsOutProto) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._eggPokemon) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._gymStateProto) }() + default: break } - try { if let v = _storage._pokemonSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._itemSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = _storage._moveSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = _storage._moveSequenceSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - try { if let v = _storage._typeEffective { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - try { if let v = _storage._badgeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - try { if let v = _storage._camera { - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - } }() - try { if let v = _storage._playerLevel { - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - } }() - try { if let v = _storage._gymLevel { - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - } }() - try { if let v = _storage._battleSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - } }() - try { if let v = _storage._encounterSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - } }() - try { if let v = _storage._iapItemDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - } }() - try { if let v = _storage._iapSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 17) - } }() - try { if let v = _storage._pokemonUpgrades { - try visitor.visitSingularMessageField(value: v, fieldNumber: 18) - } }() - try { if let v = _storage._equippedBadges { - try visitor.visitSingularMessageField(value: v, fieldNumber: 19) - } }() - try { if let v = _storage._questSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 20) - } }() - try { if let v = _storage._avatarCustomization { - try visitor.visitSingularMessageField(value: v, fieldNumber: 21) - } }() - try { if let v = _storage._formSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 22) - } }() - try { if let v = _storage._genderSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 23) - } }() - try { if let v = _storage._gymBadgeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 24) - } }() - try { if let v = _storage._weatherAffinities { - try visitor.visitSingularMessageField(value: v, fieldNumber: 25) - } }() - try { if let v = _storage._weatherBonusSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 26) - } }() - try { if let v = _storage._pokemonScaleSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 27) - } }() - try { if let v = _storage._iapCategoryDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 28) - } }() - try { if let v = _storage._belugaPokemonWhitelist { - try visitor.visitSingularMessageField(value: v, fieldNumber: 29) - } }() - try { if let v = _storage._onboardingSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 30) - } }() - try { if let v = _storage._friendshipMilestoneSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 31) - } }() - try { if let v = _storage._luckyPokemonSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 32) - } }() - try { if let v = _storage._combatSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 33) - } }() - try { if let v = _storage._combatLeagueSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 34) - } }() - try { if let v = _storage._combatLeague { - try visitor.visitSingularMessageField(value: v, fieldNumber: 35) - } }() - try { if let v = _storage._exRaidSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 36) - } }() - try { if let v = _storage._combatMove { - try visitor.visitSingularMessageField(value: v, fieldNumber: 37) - } }() - try { if let v = _storage._backgroundModeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 38) - } }() - try { if let v = _storage._combatStatStageSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 39) - } }() - try { if let v = _storage._combatNpcTrainer { - try visitor.visitSingularMessageField(value: v, fieldNumber: 40) - } }() - try { if let v = _storage._combatNpcPersonality { - try visitor.visitSingularMessageField(value: v, fieldNumber: 41) - } }() - try { if let v = _storage._onboardingV2Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 42) - } }() - try { if let v = _storage._partyRecommendationSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 43) - } }() - try { if let v = _storage._smeargleMovesSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 44) - } }() - try { if let v = _storage._pokecoinPurchaseDisplayGmt { - try visitor.visitSingularMessageField(value: v, fieldNumber: 45) - } }() - try { if let v = _storage._adventureSyncV2Gmt { - try visitor.visitSingularMessageField(value: v, fieldNumber: 46) - } }() - try { if let v = _storage._loadingScreenSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 47) - } }() - try { if let v = _storage._invasionNpcDisplaySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 48) - } }() - try { if let v = _storage._combatCompetitiveSeasonSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 49) - } }() - try { if let v = _storage._combatRankingProtoSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 50) - } }() - try { if let v = _storage._combatType { - try visitor.visitSingularMessageField(value: v, fieldNumber: 51) - } }() - try { if let v = _storage._buddyLevelSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 52) - } }() - try { if let v = _storage._buddyActivityCategorySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 53) - } }() - try { if let v = _storage._buddyActivitySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 54) - } }() - try { if let v = _storage._buddySwapSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 56) - } }() - try { if let v = _storage._routeCreationSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 57) - } }() - try { if let v = _storage._vsSeekerClientSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 58) - } }() - try { if let v = _storage._buddyEncounterCameoSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 59) - } }() - try { if let v = _storage._limitedPurchaseSkuSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 60) - } }() - try { if let v = _storage._buddyEmotionLevelSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 61) - } }() - try { if let v = _storage._pokestopInvasionAvailabilitySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 62) - } }() - try { if let v = _storage._buddyInteractionSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 63) - } }() - try { if let v = _storage._vsSeekerLoot { - try visitor.visitSingularMessageField(value: v, fieldNumber: 64) - } }() - try { if let v = _storage._vsSeekerPokemonRewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 65) - } }() - try { if let v = _storage._battleHubOrderSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 66) - } }() - try { if let v = _storage._battleHubBadgeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 67) - } }() - try { if let v = _storage._mapBuddySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 68) - } }() - try { if let v = _storage._buddyWalkSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 69) - } }() - try { if let v = _storage._platypusRolloutSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 70) - } }() - try { if let v = _storage._buddyHungerSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 72) - } }() - try { if let v = _storage._projectVacation { - try visitor.visitSingularMessageField(value: v, fieldNumber: 73) - } }() - try { if let v = _storage._megaEvoSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 74) - } }() - try { if let v = _storage._temporaryEvolutionSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 75) - } }() - try { if let v = _storage._avatarGroupOrderSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 76) - } }() - try { if let v = _storage._pokemonFamily { - try visitor.visitSingularMessageField(value: v, fieldNumber: 77) - } }() - try { if let v = _storage._monodepthSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 78) - } }() - try { if let v = _storage._levelUpRewardSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 79) - } }() - try { if let v = _storage._raidSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 81) - } }() - try { if let v = _storage._tappableSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 82) - } }() - try { if let v = _storage._routePlaySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 83) - } }() - try { if let v = _storage._sponsoredGeofenceGiftSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 84) - } }() - try { if let v = _storage._stickerMetadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 85) - } }() - try { if let v = _storage._crossGameSocialSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 86) - } }() - try { if let v = _storage._mapDisplaySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 87) - } }() - try { if let v = _storage._pokemonHomeEnergyCosts { - try visitor.visitSingularMessageField(value: v, fieldNumber: 88) - } }() - try { if let v = _storage._pokemonHomeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 89) - } }() - try { if let v = _storage._arTelemetrySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 90) - } }() - try { if let v = _storage._battlePartySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 91) - } }() - try { if let v = _storage._questEvolutionSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 93) - } }() - try { if let v = _storage._pokemonHomeFormReversions { - try visitor.visitSingularMessageField(value: v, fieldNumber: 94) - } }() - try { if let v = _storage._deepLinkingSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 95) - } }() - try { if let v = _storage._guiSearchSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 96) - } }() - try { if let v = _storage._evolutionQuestTemplate { - try visitor.visitSingularMessageField(value: v, fieldNumber: 97) - } }() - try { if let v = _storage._adFeedbackSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 98) - } }() - try { if let v = _storage._friendProfileSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 99) - } }() - try { if let v = _storage._geotargetedQuestSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 100) - } }() - try { if let v = _storage._pokemonTagSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 101) - } }() - try { if let v = _storage._recommendedSearchSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 102) - } }() - try { if let v = _storage._inventorySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 103) - } }() - try { if let v = _storage._routeDiscoverySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 104) - } }() - try { if let v = _storage._eggTransparencySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 105) - } }() - try { if let v = _storage._fortPowerUpLevelSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 106) - } }() - try { if let v = _storage._powerUpPokestopSharedSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 107) - } }() - try { if let v = _storage._incidentPrioritySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 108) - } }() - try { if let v = _storage._referralSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 109) - } }() - try { if let v = _storage._obGm1Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 110) - } }() - try { if let v = _storage._obGm2Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 111) - } }() - try { if let v = _storage._appraisalStarThresholdSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 112) - } }() - try { if let v = _storage._pokedexCategoriesSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 114) - } }() - try { if let v = _storage._battleVisualSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 115) - } }() - try { if let v = _storage._addressablePokemonSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 116) - } }() - try { if let v = _storage._verboseLogRaidSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 117) - } }() - try { if let v = _storage._formsRefactorSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 118) - } }() - try { if let v = _storage._sharedMoveSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 119) - } }() - try { if let v = _storage._addressBookImportSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 120) - } }() - try { if let v = _storage._musicSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 121) - } }() - try { if let v = _storage._newsFeedClientSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 122) - } }() - try { if let v = _storage._mapObjectsInteractionRangeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 123) - } }() - try { if let v = _storage._externalAddressableAssetsSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 124) - } }() - try { if let v = _storage._evolvePreviewSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 125) - } }() - try { if let v = _storage._obGm3Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 126) - } }() - try { if let v = _storage._pushGatewaySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 127) - } }() - try { if let v = _storage._usernameSuggestionSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 128) - } }() - try { if let v = _storage._tutorialsSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 129) - } }() - try { if let v = _storage._eggHatchImprovementsSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 130) - } }() - try { if let v = _storage._featureUnlockLevelSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 131) - } }() - try { if let v = _storage._surveySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 132) - } }() - try { if let v = _storage._incidentVisibilitySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 133) - } }() - try { if let v = _storage._postcardCollectionSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 134) - } }() - try { if let v = _storage._obGm6Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 135) - } }() - try { if let v = _storage._verboseLogCombatSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 136) - } }() - try { if let v = _storage._megaLevelSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 137) - } }() - try { if let v = _storage._advancedSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 138) - } }() - try { if let v = _storage._obGm9Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 139) - } }() - try { if let v = _storage._impressionTrackingSetting { - try visitor.visitSingularMessageField(value: v, fieldNumber: 140) - } }() - try { if let v = _storage._obGm11Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 141) - } }() - try { if let v = _storage._evolutionChainDisplaySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 142) - } }() - try { if let v = _storage._routeStampCategorySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 143) - } }() - try { if let v = _storage._popupControlSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 145) - } }() - try { if let v = _storage._ticketGiftingSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 146) - } }() - try { if let v = _storage._languageSelectorSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 147) - } }() - try { if let v = _storage._giftingSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 148) - } }() - try { if let v = _storage._campfireSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 149) - } }() - try { if let v = _storage._photoSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 150) - } }() - try { if let v = _storage._dailyAdventureIncenseSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 151) - } }() - try { if let v = _storage._itemInventoryUpdateSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 152) - } }() - try { if let v = _storage._stickerCategorySettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 153) - } }() - try { if let v = _storage._homeWidgetSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 154) - } }() - try { if let v = _storage._vsSeekerScheduleSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 155) - } }() - try { if let v = _storage._pokedexSizeStatsSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 156) - } }() - try { if let v = _storage._assetRefreshSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 157) - } }() - try { if let v = _storage._pokemonFxSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 159) - } }() - try { if let v = _storage._butterflyCollectorSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 160) - } }() - try { if let v = _storage._gameMasterLanguageSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 161) - } }() - try { if let v = _storage._pokemonExtendedSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 162) - } }() - try { if let v = _storage._obGm27Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 163) - } }() - try { if let v = _storage._incubatorFlowSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 164) - } }() - try { if let v = _storage._primalEvoSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 165) - } }() - try { if let v = _storage._obGm29Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 167) - } }() - try { if let v = _storage._obGm30Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 168) - } }() - try { if let v = _storage._locationCardFeatureSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 169) - } }() - try { if let v = _storage._locationCardSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 170) - } }() - try { if let v = _storage._conversationSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 171) - } }() - try { if let v = _storage._vpsEventSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 172) - } }() - try { if let v = _storage._catchRadiusMultiplierSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 173) - } }() - try { if let v = _storage._obGm37Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 174) - } }() - try { if let v = _storage._raidLobbyCounterSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 177) - } }() - try { if let v = _storage._contestSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 178) - } }() - try { if let v = _storage._obGm39Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 179) - } }() - try { if let v = _storage._neutralAvatarSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 180) - } }() - try { if let v = _storage._remoteRaidLimitSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 181) - } }() - try { if let v = _storage._obGm43Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 182) - } }() - try { if let v = _storage._obGm44Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 183) - } }() - try { if let v = _storage._obGm45Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 184) - } }() - try { if let v = _storage._obGm46Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 185) - } }() - try { if let v = _storage._obGm47Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 186) - } }() - try { if let v = _storage._styleShopSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 187) - } }() - try { if let v = _storage._obGm49Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 188) - } }() - try { if let v = _storage._bootSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 189) - } }() - try { if let v = _storage._obGm51Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 190) - } }() - try { if let v = _storage._nearbyPokemonSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 191) - } }() - try { if let v = _storage._obGm53Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 192) - } }() - try { if let v = _storage._extendedPrimalSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 193) - } }() - try { if let v = _storage._obGm55Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 194) - } }() - try { if let v = _storage._obGm56Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 195) - } }() - try { if let v = _storage._obGm57Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 196) - } }() - try { if let v = _storage._obGm58Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 197) - } }() - try { if let v = _storage._obGm59Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 198) - } }() - try { if let v = _storage._routeBadgeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 199) + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .noResultSet { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._fortDetailsOutProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._eggPokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._gymStateProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FortDeployOutProto, rhs: FortDeployOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._fortDetailsOutProto != rhs._fortDetailsOutProto {return false} + if lhs._eggPokemon != rhs._eggPokemon {return false} + if lhs._gymStateProto != rhs._gymStateProto {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension FortDeployOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NO_RESULT_SET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_ALREADY_HAS_POKEMON_ON_FORT"), + 3: .same(proto: "ERROR_OPPOSING_TEAM_OWNS_FORT"), + 4: .same(proto: "ERROR_FORT_IS_FULL"), + 5: .same(proto: "ERROR_NOT_IN_RANGE"), + 6: .same(proto: "ERROR_PLAYER_HAS_NO_TEAM"), + 7: .same(proto: "ERROR_POKEMON_NOT_FULL_HP"), + 8: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), + 9: .same(proto: "ERROR_POKEMON_IS_BUDDY"), + 10: .same(proto: "ERROR_FORT_DEPLOY_LOCKOUT"), + 11: .same(proto: "ERROR_PLAYER_HAS_NO_NICKNAME"), + 12: .same(proto: "ERROR_POI_INACCESSIBLE"), + 13: .same(proto: "ERROR_LEGENDARY_POKEMON"), + 14: .same(proto: "ERROR_INVALID_POKEMON"), + ] +} + +extension FortDeployProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortDeployProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_id"), + 2: .standard(proto: "pokemon_id"), + 3: .standard(proto: "player_lat_degrees"), + 4: .standard(proto: "player_lng_degrees"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + } + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 2) + } + if self.playerLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) + } + if self.playerLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FortDeployProto, rhs: FortDeployProto) -> Bool { + if lhs.fortID != rhs.fortID {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} + if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension FortDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortDetailsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "id"), + 2: .same(proto: "team"), + 3: .same(proto: "pokemon"), + 4: .same(proto: "name"), + 5: .standard(proto: "image_url"), + 6: .same(proto: "fp"), + 7: .same(proto: "stamina"), + 8: .standard(proto: "max_stamina"), + 9: .standard(proto: "fort_type"), + 10: .same(proto: "latitude"), + 11: .same(proto: "longitude"), + 12: .same(proto: "description"), + 13: .same(proto: "modifier"), + 14: .standard(proto: "close_soon"), + 15: .standard(proto: "checkin_image_url"), + 16: .standard(proto: "event_info"), + 17: .standard(proto: "promo_description"), + 18: .standard(proto: "call_to_action_link"), + 19: .standard(proto: "sponsored_details"), + 20: .standard(proto: "geostore_tombstone_message_key"), + 21: .standard(proto: "geostore_suspension_message_key"), + 22: .standard(proto: "poi_images_count"), + 23: .standard(proto: "power_up_progress_points"), + 24: .standard(proto: "power_up_level_expiration_ms"), + 25: .standard(proto: "next_fort_close_ms"), + ] + + fileprivate class _StorageClass { + var _id: String = String() + var _team: Team = .unset + var _pokemon: [PokemonProto] = [] + var _name: String = String() + var _imageURL: [String] = [] + var _fp: Int32 = 0 + var _stamina: Int32 = 0 + var _maxStamina: Int32 = 0 + var _fortType: FortType = .gym + var _latitude: Double = 0 + var _longitude: Double = 0 + var _description_p: String = String() + var _modifier: [ClientFortModifierProto] = [] + var _closeSoon: Bool = false + var _checkinImageURL: String = String() + var _eventInfo: EventInfoProto? = nil + var _promoDescription: [String] = [] + var _callToActionLink: String = String() + var _sponsoredDetails: SponsoredDetailsProto? = nil + var _geostoreTombstoneMessageKey: String = String() + var _geostoreSuspensionMessageKey: String = String() + var _poiImagesCount: Int32 = 0 + var _powerUpProgressPoints: Int32 = 0 + var _powerUpLevelExpirationMs: Int64 = 0 + var _nextFortCloseMs: Int64 = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _id = source._id + _team = source._team + _pokemon = source._pokemon + _name = source._name + _imageURL = source._imageURL + _fp = source._fp + _stamina = source._stamina + _maxStamina = source._maxStamina + _fortType = source._fortType + _latitude = source._latitude + _longitude = source._longitude + _description_p = source._description_p + _modifier = source._modifier + _closeSoon = source._closeSoon + _checkinImageURL = source._checkinImageURL + _eventInfo = source._eventInfo + _promoDescription = source._promoDescription + _callToActionLink = source._callToActionLink + _sponsoredDetails = source._sponsoredDetails + _geostoreTombstoneMessageKey = source._geostoreTombstoneMessageKey + _geostoreSuspensionMessageKey = source._geostoreSuspensionMessageKey + _poiImagesCount = source._poiImagesCount + _powerUpProgressPoints = source._powerUpProgressPoints + _powerUpLevelExpirationMs = source._powerUpLevelExpirationMs + _nextFortCloseMs = source._nextFortCloseMs + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._id) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._team) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._pokemon) }() + case 4: try { try decoder.decodeSingularStringField(value: &_storage._name) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &_storage._imageURL) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._fp) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._stamina) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._maxStamina) }() + case 9: try { try decoder.decodeSingularEnumField(value: &_storage._fortType) }() + case 10: try { try decoder.decodeSingularDoubleField(value: &_storage._latitude) }() + case 11: try { try decoder.decodeSingularDoubleField(value: &_storage._longitude) }() + case 12: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }() + case 13: try { try decoder.decodeRepeatedMessageField(value: &_storage._modifier) }() + case 14: try { try decoder.decodeSingularBoolField(value: &_storage._closeSoon) }() + case 15: try { try decoder.decodeSingularStringField(value: &_storage._checkinImageURL) }() + case 16: try { try decoder.decodeSingularMessageField(value: &_storage._eventInfo) }() + case 17: try { try decoder.decodeRepeatedStringField(value: &_storage._promoDescription) }() + case 18: try { try decoder.decodeSingularStringField(value: &_storage._callToActionLink) }() + case 19: try { try decoder.decodeSingularMessageField(value: &_storage._sponsoredDetails) }() + case 20: try { try decoder.decodeSingularStringField(value: &_storage._geostoreTombstoneMessageKey) }() + case 21: try { try decoder.decodeSingularStringField(value: &_storage._geostoreSuspensionMessageKey) }() + case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._poiImagesCount) }() + case 23: try { try decoder.decodeSingularInt32Field(value: &_storage._powerUpProgressPoints) }() + case 24: try { try decoder.decodeSingularInt64Field(value: &_storage._powerUpLevelExpirationMs) }() + case 25: try { try decoder.decodeSingularInt64Field(value: &_storage._nextFortCloseMs) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._id.isEmpty { + try visitor.visitSingularStringField(value: _storage._id, fieldNumber: 1) + } + if _storage._team != .unset { + try visitor.visitSingularEnumField(value: _storage._team, fieldNumber: 2) + } + if !_storage._pokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._pokemon, fieldNumber: 3) + } + if !_storage._name.isEmpty { + try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 4) + } + if !_storage._imageURL.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._imageURL, fieldNumber: 5) + } + if _storage._fp != 0 { + try visitor.visitSingularInt32Field(value: _storage._fp, fieldNumber: 6) + } + if _storage._stamina != 0 { + try visitor.visitSingularInt32Field(value: _storage._stamina, fieldNumber: 7) + } + if _storage._maxStamina != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxStamina, fieldNumber: 8) + } + if _storage._fortType != .gym { + try visitor.visitSingularEnumField(value: _storage._fortType, fieldNumber: 9) + } + if _storage._latitude != 0 { + try visitor.visitSingularDoubleField(value: _storage._latitude, fieldNumber: 10) + } + if _storage._longitude != 0 { + try visitor.visitSingularDoubleField(value: _storage._longitude, fieldNumber: 11) + } + if !_storage._description_p.isEmpty { + try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 12) + } + if !_storage._modifier.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._modifier, fieldNumber: 13) + } + if _storage._closeSoon != false { + try visitor.visitSingularBoolField(value: _storage._closeSoon, fieldNumber: 14) + } + if !_storage._checkinImageURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._checkinImageURL, fieldNumber: 15) + } + try { if let v = _storage._eventInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) } }() - try { if let v = _storage._obGm60Settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 200) + if !_storage._promoDescription.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._promoDescription, fieldNumber: 17) + } + if !_storage._callToActionLink.isEmpty { + try visitor.visitSingularStringField(value: _storage._callToActionLink, fieldNumber: 18) + } + try { if let v = _storage._sponsoredDetails { + try visitor.visitSingularMessageField(value: v, fieldNumber: 19) } }() + if !_storage._geostoreTombstoneMessageKey.isEmpty { + try visitor.visitSingularStringField(value: _storage._geostoreTombstoneMessageKey, fieldNumber: 20) + } + if !_storage._geostoreSuspensionMessageKey.isEmpty { + try visitor.visitSingularStringField(value: _storage._geostoreSuspensionMessageKey, fieldNumber: 21) + } + if _storage._poiImagesCount != 0 { + try visitor.visitSingularInt32Field(value: _storage._poiImagesCount, fieldNumber: 22) + } + if _storage._powerUpProgressPoints != 0 { + try visitor.visitSingularInt32Field(value: _storage._powerUpProgressPoints, fieldNumber: 23) + } + if _storage._powerUpLevelExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._powerUpLevelExpirationMs, fieldNumber: 24) + } + if _storage._nextFortCloseMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._nextFortCloseMs, fieldNumber: 25) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameMasterClientTemplateProto, rhs: GameMasterClientTemplateProto) -> Bool { + public static func ==(lhs: FortDetailsOutProto, rhs: FortDetailsOutProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._templateID != rhs_storage._templateID {return false} - if _storage._pokemonSettings != rhs_storage._pokemonSettings {return false} - if _storage._itemSettings != rhs_storage._itemSettings {return false} - if _storage._moveSettings != rhs_storage._moveSettings {return false} - if _storage._moveSequenceSettings != rhs_storage._moveSequenceSettings {return false} - if _storage._typeEffective != rhs_storage._typeEffective {return false} - if _storage._badgeSettings != rhs_storage._badgeSettings {return false} - if _storage._camera != rhs_storage._camera {return false} - if _storage._playerLevel != rhs_storage._playerLevel {return false} - if _storage._gymLevel != rhs_storage._gymLevel {return false} - if _storage._battleSettings != rhs_storage._battleSettings {return false} - if _storage._encounterSettings != rhs_storage._encounterSettings {return false} - if _storage._iapItemDisplay != rhs_storage._iapItemDisplay {return false} - if _storage._iapSettings != rhs_storage._iapSettings {return false} - if _storage._pokemonUpgrades != rhs_storage._pokemonUpgrades {return false} - if _storage._equippedBadges != rhs_storage._equippedBadges {return false} - if _storage._questSettings != rhs_storage._questSettings {return false} - if _storage._avatarCustomization != rhs_storage._avatarCustomization {return false} - if _storage._formSettings != rhs_storage._formSettings {return false} - if _storage._genderSettings != rhs_storage._genderSettings {return false} - if _storage._gymBadgeSettings != rhs_storage._gymBadgeSettings {return false} - if _storage._weatherAffinities != rhs_storage._weatherAffinities {return false} - if _storage._weatherBonusSettings != rhs_storage._weatherBonusSettings {return false} - if _storage._pokemonScaleSettings != rhs_storage._pokemonScaleSettings {return false} - if _storage._iapCategoryDisplay != rhs_storage._iapCategoryDisplay {return false} - if _storage._belugaPokemonWhitelist != rhs_storage._belugaPokemonWhitelist {return false} - if _storage._onboardingSettings != rhs_storage._onboardingSettings {return false} - if _storage._friendshipMilestoneSettings != rhs_storage._friendshipMilestoneSettings {return false} - if _storage._luckyPokemonSettings != rhs_storage._luckyPokemonSettings {return false} - if _storage._combatSettings != rhs_storage._combatSettings {return false} - if _storage._combatLeagueSettings != rhs_storage._combatLeagueSettings {return false} - if _storage._combatLeague != rhs_storage._combatLeague {return false} - if _storage._exRaidSettings != rhs_storage._exRaidSettings {return false} - if _storage._combatMove != rhs_storage._combatMove {return false} - if _storage._backgroundModeSettings != rhs_storage._backgroundModeSettings {return false} - if _storage._combatStatStageSettings != rhs_storage._combatStatStageSettings {return false} - if _storage._combatNpcTrainer != rhs_storage._combatNpcTrainer {return false} - if _storage._combatNpcPersonality != rhs_storage._combatNpcPersonality {return false} - if _storage._onboardingV2Settings != rhs_storage._onboardingV2Settings {return false} - if _storage._partyRecommendationSettings != rhs_storage._partyRecommendationSettings {return false} - if _storage._smeargleMovesSettings != rhs_storage._smeargleMovesSettings {return false} - if _storage._pokecoinPurchaseDisplayGmt != rhs_storage._pokecoinPurchaseDisplayGmt {return false} - if _storage._adventureSyncV2Gmt != rhs_storage._adventureSyncV2Gmt {return false} - if _storage._loadingScreenSettings != rhs_storage._loadingScreenSettings {return false} - if _storage._invasionNpcDisplaySettings != rhs_storage._invasionNpcDisplaySettings {return false} - if _storage._combatCompetitiveSeasonSettings != rhs_storage._combatCompetitiveSeasonSettings {return false} - if _storage._combatRankingProtoSettings != rhs_storage._combatRankingProtoSettings {return false} - if _storage._combatType != rhs_storage._combatType {return false} - if _storage._buddyLevelSettings != rhs_storage._buddyLevelSettings {return false} - if _storage._buddyActivityCategorySettings != rhs_storage._buddyActivityCategorySettings {return false} - if _storage._buddyActivitySettings != rhs_storage._buddyActivitySettings {return false} - if _storage._buddySwapSettings != rhs_storage._buddySwapSettings {return false} - if _storage._routeCreationSettings != rhs_storage._routeCreationSettings {return false} - if _storage._vsSeekerClientSettings != rhs_storage._vsSeekerClientSettings {return false} - if _storage._buddyEncounterCameoSettings != rhs_storage._buddyEncounterCameoSettings {return false} - if _storage._limitedPurchaseSkuSettings != rhs_storage._limitedPurchaseSkuSettings {return false} - if _storage._buddyEmotionLevelSettings != rhs_storage._buddyEmotionLevelSettings {return false} - if _storage._pokestopInvasionAvailabilitySettings != rhs_storage._pokestopInvasionAvailabilitySettings {return false} - if _storage._buddyInteractionSettings != rhs_storage._buddyInteractionSettings {return false} - if _storage._vsSeekerLoot != rhs_storage._vsSeekerLoot {return false} - if _storage._vsSeekerPokemonRewards != rhs_storage._vsSeekerPokemonRewards {return false} - if _storage._battleHubOrderSettings != rhs_storage._battleHubOrderSettings {return false} - if _storage._battleHubBadgeSettings != rhs_storage._battleHubBadgeSettings {return false} - if _storage._mapBuddySettings != rhs_storage._mapBuddySettings {return false} - if _storage._buddyWalkSettings != rhs_storage._buddyWalkSettings {return false} - if _storage._platypusRolloutSettings != rhs_storage._platypusRolloutSettings {return false} - if _storage._buddyHungerSettings != rhs_storage._buddyHungerSettings {return false} - if _storage._projectVacation != rhs_storage._projectVacation {return false} - if _storage._megaEvoSettings != rhs_storage._megaEvoSettings {return false} - if _storage._temporaryEvolutionSettings != rhs_storage._temporaryEvolutionSettings {return false} - if _storage._avatarGroupOrderSettings != rhs_storage._avatarGroupOrderSettings {return false} - if _storage._pokemonFamily != rhs_storage._pokemonFamily {return false} - if _storage._monodepthSettings != rhs_storage._monodepthSettings {return false} - if _storage._levelUpRewardSettings != rhs_storage._levelUpRewardSettings {return false} - if _storage._raidSettings != rhs_storage._raidSettings {return false} - if _storage._tappableSettings != rhs_storage._tappableSettings {return false} - if _storage._routePlaySettings != rhs_storage._routePlaySettings {return false} - if _storage._sponsoredGeofenceGiftSettings != rhs_storage._sponsoredGeofenceGiftSettings {return false} - if _storage._stickerMetadata != rhs_storage._stickerMetadata {return false} - if _storage._crossGameSocialSettings != rhs_storage._crossGameSocialSettings {return false} - if _storage._mapDisplaySettings != rhs_storage._mapDisplaySettings {return false} - if _storage._pokemonHomeEnergyCosts != rhs_storage._pokemonHomeEnergyCosts {return false} - if _storage._pokemonHomeSettings != rhs_storage._pokemonHomeSettings {return false} - if _storage._arTelemetrySettings != rhs_storage._arTelemetrySettings {return false} - if _storage._battlePartySettings != rhs_storage._battlePartySettings {return false} - if _storage._questEvolutionSettings != rhs_storage._questEvolutionSettings {return false} - if _storage._pokemonHomeFormReversions != rhs_storage._pokemonHomeFormReversions {return false} - if _storage._deepLinkingSettings != rhs_storage._deepLinkingSettings {return false} - if _storage._guiSearchSettings != rhs_storage._guiSearchSettings {return false} - if _storage._evolutionQuestTemplate != rhs_storage._evolutionQuestTemplate {return false} - if _storage._adFeedbackSettings != rhs_storage._adFeedbackSettings {return false} - if _storage._friendProfileSettings != rhs_storage._friendProfileSettings {return false} - if _storage._geotargetedQuestSettings != rhs_storage._geotargetedQuestSettings {return false} - if _storage._pokemonTagSettings != rhs_storage._pokemonTagSettings {return false} - if _storage._recommendedSearchSettings != rhs_storage._recommendedSearchSettings {return false} - if _storage._inventorySettings != rhs_storage._inventorySettings {return false} - if _storage._routeDiscoverySettings != rhs_storage._routeDiscoverySettings {return false} - if _storage._eggTransparencySettings != rhs_storage._eggTransparencySettings {return false} - if _storage._fortPowerUpLevelSettings != rhs_storage._fortPowerUpLevelSettings {return false} - if _storage._powerUpPokestopSharedSettings != rhs_storage._powerUpPokestopSharedSettings {return false} - if _storage._incidentPrioritySettings != rhs_storage._incidentPrioritySettings {return false} - if _storage._referralSettings != rhs_storage._referralSettings {return false} - if _storage._obGm1Settings != rhs_storage._obGm1Settings {return false} - if _storage._obGm2Settings != rhs_storage._obGm2Settings {return false} - if _storage._appraisalStarThresholdSettings != rhs_storage._appraisalStarThresholdSettings {return false} - if _storage._pokedexCategoriesSettings != rhs_storage._pokedexCategoriesSettings {return false} - if _storage._battleVisualSettings != rhs_storage._battleVisualSettings {return false} - if _storage._addressablePokemonSettings != rhs_storage._addressablePokemonSettings {return false} - if _storage._verboseLogRaidSettings != rhs_storage._verboseLogRaidSettings {return false} - if _storage._formsRefactorSettings != rhs_storage._formsRefactorSettings {return false} - if _storage._sharedMoveSettings != rhs_storage._sharedMoveSettings {return false} - if _storage._addressBookImportSettings != rhs_storage._addressBookImportSettings {return false} - if _storage._musicSettings != rhs_storage._musicSettings {return false} - if _storage._newsFeedClientSettings != rhs_storage._newsFeedClientSettings {return false} - if _storage._mapObjectsInteractionRangeSettings != rhs_storage._mapObjectsInteractionRangeSettings {return false} - if _storage._externalAddressableAssetsSettings != rhs_storage._externalAddressableAssetsSettings {return false} - if _storage._evolvePreviewSettings != rhs_storage._evolvePreviewSettings {return false} - if _storage._obGm3Settings != rhs_storage._obGm3Settings {return false} - if _storage._pushGatewaySettings != rhs_storage._pushGatewaySettings {return false} - if _storage._usernameSuggestionSettings != rhs_storage._usernameSuggestionSettings {return false} - if _storage._tutorialsSettings != rhs_storage._tutorialsSettings {return false} - if _storage._eggHatchImprovementsSettings != rhs_storage._eggHatchImprovementsSettings {return false} - if _storage._featureUnlockLevelSettings != rhs_storage._featureUnlockLevelSettings {return false} - if _storage._surveySettings != rhs_storage._surveySettings {return false} - if _storage._incidentVisibilitySettings != rhs_storage._incidentVisibilitySettings {return false} - if _storage._postcardCollectionSettings != rhs_storage._postcardCollectionSettings {return false} - if _storage._obGm6Settings != rhs_storage._obGm6Settings {return false} - if _storage._verboseLogCombatSettings != rhs_storage._verboseLogCombatSettings {return false} - if _storage._megaLevelSettings != rhs_storage._megaLevelSettings {return false} - if _storage._advancedSettings != rhs_storage._advancedSettings {return false} - if _storage._obGm9Settings != rhs_storage._obGm9Settings {return false} - if _storage._impressionTrackingSetting != rhs_storage._impressionTrackingSetting {return false} - if _storage._obGm11Settings != rhs_storage._obGm11Settings {return false} - if _storage._evolutionChainDisplaySettings != rhs_storage._evolutionChainDisplaySettings {return false} - if _storage._routeStampCategorySettings != rhs_storage._routeStampCategorySettings {return false} - if _storage._popupControlSettings != rhs_storage._popupControlSettings {return false} - if _storage._ticketGiftingSettings != rhs_storage._ticketGiftingSettings {return false} - if _storage._languageSelectorSettings != rhs_storage._languageSelectorSettings {return false} - if _storage._giftingSettings != rhs_storage._giftingSettings {return false} - if _storage._campfireSettings != rhs_storage._campfireSettings {return false} - if _storage._photoSettings != rhs_storage._photoSettings {return false} - if _storage._dailyAdventureIncenseSettings != rhs_storage._dailyAdventureIncenseSettings {return false} - if _storage._itemInventoryUpdateSettings != rhs_storage._itemInventoryUpdateSettings {return false} - if _storage._stickerCategorySettings != rhs_storage._stickerCategorySettings {return false} - if _storage._homeWidgetSettings != rhs_storage._homeWidgetSettings {return false} - if _storage._vsSeekerScheduleSettings != rhs_storage._vsSeekerScheduleSettings {return false} - if _storage._pokedexSizeStatsSettings != rhs_storage._pokedexSizeStatsSettings {return false} - if _storage._assetRefreshSettings != rhs_storage._assetRefreshSettings {return false} - if _storage._pokemonFxSettings != rhs_storage._pokemonFxSettings {return false} - if _storage._butterflyCollectorSettings != rhs_storage._butterflyCollectorSettings {return false} - if _storage._gameMasterLanguageSettings != rhs_storage._gameMasterLanguageSettings {return false} - if _storage._pokemonExtendedSettings != rhs_storage._pokemonExtendedSettings {return false} - if _storage._obGm27Settings != rhs_storage._obGm27Settings {return false} - if _storage._incubatorFlowSettings != rhs_storage._incubatorFlowSettings {return false} - if _storage._primalEvoSettings != rhs_storage._primalEvoSettings {return false} - if _storage._obGm29Settings != rhs_storage._obGm29Settings {return false} - if _storage._obGm30Settings != rhs_storage._obGm30Settings {return false} - if _storage._locationCardFeatureSettings != rhs_storage._locationCardFeatureSettings {return false} - if _storage._locationCardSettings != rhs_storage._locationCardSettings {return false} - if _storage._conversationSettings != rhs_storage._conversationSettings {return false} - if _storage._vpsEventSettings != rhs_storage._vpsEventSettings {return false} - if _storage._catchRadiusMultiplierSettings != rhs_storage._catchRadiusMultiplierSettings {return false} - if _storage._obGm37Settings != rhs_storage._obGm37Settings {return false} - if _storage._raidLobbyCounterSettings != rhs_storage._raidLobbyCounterSettings {return false} - if _storage._contestSettings != rhs_storage._contestSettings {return false} - if _storage._obGm39Settings != rhs_storage._obGm39Settings {return false} - if _storage._neutralAvatarSettings != rhs_storage._neutralAvatarSettings {return false} - if _storage._remoteRaidLimitSettings != rhs_storage._remoteRaidLimitSettings {return false} - if _storage._obGm43Settings != rhs_storage._obGm43Settings {return false} - if _storage._obGm44Settings != rhs_storage._obGm44Settings {return false} - if _storage._obGm45Settings != rhs_storage._obGm45Settings {return false} - if _storage._obGm46Settings != rhs_storage._obGm46Settings {return false} - if _storage._obGm47Settings != rhs_storage._obGm47Settings {return false} - if _storage._styleShopSettings != rhs_storage._styleShopSettings {return false} - if _storage._obGm49Settings != rhs_storage._obGm49Settings {return false} - if _storage._bootSettings != rhs_storage._bootSettings {return false} - if _storage._obGm51Settings != rhs_storage._obGm51Settings {return false} - if _storage._nearbyPokemonSettings != rhs_storage._nearbyPokemonSettings {return false} - if _storage._obGm53Settings != rhs_storage._obGm53Settings {return false} - if _storage._extendedPrimalSettings != rhs_storage._extendedPrimalSettings {return false} - if _storage._obGm55Settings != rhs_storage._obGm55Settings {return false} - if _storage._obGm56Settings != rhs_storage._obGm56Settings {return false} - if _storage._obGm57Settings != rhs_storage._obGm57Settings {return false} - if _storage._obGm58Settings != rhs_storage._obGm58Settings {return false} - if _storage._obGm59Settings != rhs_storage._obGm59Settings {return false} - if _storage._routeBadgeSettings != rhs_storage._routeBadgeSettings {return false} - if _storage._obGm60Settings != rhs_storage._obGm60Settings {return false} + if _storage._id != rhs_storage._id {return false} + if _storage._team != rhs_storage._team {return false} + if _storage._pokemon != rhs_storage._pokemon {return false} + if _storage._name != rhs_storage._name {return false} + if _storage._imageURL != rhs_storage._imageURL {return false} + if _storage._fp != rhs_storage._fp {return false} + if _storage._stamina != rhs_storage._stamina {return false} + if _storage._maxStamina != rhs_storage._maxStamina {return false} + if _storage._fortType != rhs_storage._fortType {return false} + if _storage._latitude != rhs_storage._latitude {return false} + if _storage._longitude != rhs_storage._longitude {return false} + if _storage._description_p != rhs_storage._description_p {return false} + if _storage._modifier != rhs_storage._modifier {return false} + if _storage._closeSoon != rhs_storage._closeSoon {return false} + if _storage._checkinImageURL != rhs_storage._checkinImageURL {return false} + if _storage._eventInfo != rhs_storage._eventInfo {return false} + if _storage._promoDescription != rhs_storage._promoDescription {return false} + if _storage._callToActionLink != rhs_storage._callToActionLink {return false} + if _storage._sponsoredDetails != rhs_storage._sponsoredDetails {return false} + if _storage._geostoreTombstoneMessageKey != rhs_storage._geostoreTombstoneMessageKey {return false} + if _storage._geostoreSuspensionMessageKey != rhs_storage._geostoreSuspensionMessageKey {return false} + if _storage._poiImagesCount != rhs_storage._poiImagesCount {return false} + if _storage._powerUpProgressPoints != rhs_storage._powerUpProgressPoints {return false} + if _storage._powerUpLevelExpirationMs != rhs_storage._powerUpLevelExpirationMs {return false} + if _storage._nextFortCloseMs != rhs_storage._nextFortCloseMs {return false} return true } if !storagesAreEqual {return false} @@ -205744,12 +210409,12 @@ extension GameMasterClientTemplateProto: SwiftProtobuf.Message, SwiftProtobuf._M } } -extension GameMasterLanguageSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GameMasterLanguageSettingsProto" +extension FortDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortDetailsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "language"), - 2: .standard(proto: "is_enabled"), - 3: .standard(proto: "is_beta_language"), + 1: .same(proto: "id"), + 2: .same(proto: "latitude"), + 3: .same(proto: "longitude"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -205758,40 +210423,41 @@ extension GameMasterLanguageSettingsProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.language) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isEnabled) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.isBetaLanguage) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.language.isEmpty { - try visitor.visitSingularStringField(value: self.language, fieldNumber: 1) + if !self.id.isEmpty { + try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) } - if self.isEnabled != false { - try visitor.visitSingularBoolField(value: self.isEnabled, fieldNumber: 2) + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 2) } - if self.isBetaLanguage != false { - try visitor.visitSingularBoolField(value: self.isBetaLanguage, fieldNumber: 3) + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameMasterLanguageSettingsProto, rhs: GameMasterLanguageSettingsProto) -> Bool { - if lhs.language != rhs.language {return false} - if lhs.isEnabled != rhs.isEnabled {return false} - if lhs.isBetaLanguage != rhs.isBetaLanguage {return false} + public static func ==(lhs: FortDetailsProto, rhs: FortDetailsProto) -> Bool { + if lhs.id != rhs.id {return false} + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameMasterLocalProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GameMasterLocalProto" +extension FortModifierAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortModifierAttributesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "templates"), + 1: .standard(proto: "modifier_lifetime_seconds"), + 2: .standard(proto: "troy_disk_num_pokemon_spawned"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -205800,31 +210466,36 @@ extension GameMasterLocalProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.templates) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.modifierLifetimeSeconds) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.troyDiskNumPokemonSpawned) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.templates.isEmpty { - try visitor.visitRepeatedMessageField(value: self.templates, fieldNumber: 1) + if self.modifierLifetimeSeconds != 0 { + try visitor.visitSingularInt32Field(value: self.modifierLifetimeSeconds, fieldNumber: 1) + } + if self.troyDiskNumPokemonSpawned != 0 { + try visitor.visitSingularInt32Field(value: self.troyDiskNumPokemonSpawned, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameMasterLocalProto, rhs: GameMasterLocalProto) -> Bool { - if lhs.templates != rhs.templates {return false} + public static func ==(lhs: FortModifierAttributesProto, rhs: FortModifierAttributesProto) -> Bool { + if lhs.modifierLifetimeSeconds != rhs.modifierLifetimeSeconds {return false} + if lhs.troyDiskNumPokemonSpawned != rhs.troyDiskNumPokemonSpawned {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameObjectLocationData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GameObjectLocationData" +extension FortPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "anchor_id"), - 2: .same(proto: "offset"), + 1: .standard(proto: "pokemon_proto"), + 2: .standard(proto: "spawn_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -205833,8 +210504,8 @@ extension GameObjectLocationData: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.anchorID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._offset) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemonProto) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.spawnType) }() default: break } } @@ -205845,29 +210516,36 @@ extension GameObjectLocationData: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.anchorID.isEmpty { - try visitor.visitSingularStringField(value: self.anchorID, fieldNumber: 1) - } - try { if let v = self._offset { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + try { if let v = self._pokemonProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() + if self.spawnType != .lure { + try visitor.visitSingularEnumField(value: self.spawnType, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameObjectLocationData, rhs: GameObjectLocationData) -> Bool { - if lhs.anchorID != rhs.anchorID {return false} - if lhs._offset != rhs._offset {return false} + public static func ==(lhs: FortPokemonProto, rhs: FortPokemonProto) -> Bool { + if lhs._pokemonProto != rhs._pokemonProto {return false} + if lhs.spawnType != rhs.spawnType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameObjectLocationData.OffsetPosition: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GameObjectLocationData.protoMessageName + ".OffsetPosition" +extension FortPokemonProto.SpawnType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "offset_x"), - 2: .standard(proto: "offset_y"), - 3: .standard(proto: "offset_z"), + 0: .same(proto: "LURE"), + 1: .same(proto: "POWER_UP"), + ] +} + +extension FortPowerUpActivitySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortPowerUpActivitySettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "activity"), + 2: .standard(proto: "num_points_per_activity"), + 3: .standard(proto: "max_daily_limit_per_player"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -205876,45 +210554,50 @@ extension GameObjectLocationData.OffsetPosition: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.offsetX) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.offsetY) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.offsetZ) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.activity) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numPointsPerActivity) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxDailyLimitPerPlayer) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.offsetX != 0 { - try visitor.visitSingularDoubleField(value: self.offsetX, fieldNumber: 1) + if self.activity != .unset { + try visitor.visitSingularEnumField(value: self.activity, fieldNumber: 1) } - if self.offsetY != 0 { - try visitor.visitSingularDoubleField(value: self.offsetY, fieldNumber: 2) + if self.numPointsPerActivity != 0 { + try visitor.visitSingularInt32Field(value: self.numPointsPerActivity, fieldNumber: 2) } - if self.offsetZ != 0 { - try visitor.visitSingularDoubleField(value: self.offsetZ, fieldNumber: 3) + if self.maxDailyLimitPerPlayer != 0 { + try visitor.visitSingularInt32Field(value: self.maxDailyLimitPerPlayer, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameObjectLocationData.OffsetPosition, rhs: GameObjectLocationData.OffsetPosition) -> Bool { - if lhs.offsetX != rhs.offsetX {return false} - if lhs.offsetY != rhs.offsetY {return false} - if lhs.offsetZ != rhs.offsetZ {return false} + public static func ==(lhs: FortPowerUpActivitySettings, rhs: FortPowerUpActivitySettings) -> Bool { + if lhs.activity != rhs.activity {return false} + if lhs.numPointsPerActivity != rhs.numPointsPerActivity {return false} + if lhs.maxDailyLimitPerPlayer != rhs.maxDailyLimitPerPlayer {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameboardSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GameboardSettings" +extension FortPowerUpActivitySettings.FortPowerUpActivity: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_s2_cell_level"), - 2: .standard(proto: "max_s2_cell_level"), - 3: .standard(proto: "max_s2_cells_per_view"), - 4: .standard(proto: "map_query_max_s2_cells_per_request"), - 5: .standard(proto: "map_query_min_update_interval_ms"), - 6: .standard(proto: "map_query_max_update_interval_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "FORT_POWER_UP_ACTIVITY_AR_SCAN"), + ] +} + +extension FortPowerUpLevelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortPowerUpLevelSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "level"), + 2: .standard(proto: "min_power_up_points_required"), + 3: .standard(proto: "powerup_level_rewards"), + 4: .standard(proto: "additional_level_powerup_duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -205923,55 +210606,78 @@ extension GameboardSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minS2CellLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxS2CellLevel) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxS2CellsPerView) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.mapQueryMaxS2CellsPerRequest) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.mapQueryMinUpdateIntervalMs) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.mapQueryMaxUpdateIntervalMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.level) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPowerUpPointsRequired) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.powerupLevelRewards) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.additionalLevelPowerupDurationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minS2CellLevel != 0 { - try visitor.visitSingularInt32Field(value: self.minS2CellLevel, fieldNumber: 1) + if self.level != .unset { + try visitor.visitSingularEnumField(value: self.level, fieldNumber: 1) } - if self.maxS2CellLevel != 0 { - try visitor.visitSingularInt32Field(value: self.maxS2CellLevel, fieldNumber: 2) + if self.minPowerUpPointsRequired != 0 { + try visitor.visitSingularInt32Field(value: self.minPowerUpPointsRequired, fieldNumber: 2) } - if self.maxS2CellsPerView != 0 { - try visitor.visitSingularInt32Field(value: self.maxS2CellsPerView, fieldNumber: 3) + if !self.powerupLevelRewards.isEmpty { + try visitor.visitPackedEnumField(value: self.powerupLevelRewards, fieldNumber: 3) } - if self.mapQueryMaxS2CellsPerRequest != 0 { - try visitor.visitSingularInt32Field(value: self.mapQueryMaxS2CellsPerRequest, fieldNumber: 4) + if self.additionalLevelPowerupDurationMs != 0 { + try visitor.visitSingularInt32Field(value: self.additionalLevelPowerupDurationMs, fieldNumber: 4) } - if self.mapQueryMinUpdateIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: self.mapQueryMinUpdateIntervalMs, fieldNumber: 5) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FortPowerUpLevelSettings, rhs: FortPowerUpLevelSettings) -> Bool { + if lhs.level != rhs.level {return false} + if lhs.minPowerUpPointsRequired != rhs.minPowerUpPointsRequired {return false} + if lhs.powerupLevelRewards != rhs.powerupLevelRewards {return false} + if lhs.additionalLevelPowerupDurationMs != rhs.additionalLevelPowerupDurationMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension FortPowerUpSpawnSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortPowerUpSpawnSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_power_up_pokemon_spawn_count"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.fortPowerUpPokemonSpawnCount) }() + default: break + } } - if self.mapQueryMaxUpdateIntervalMs != 0 { - try visitor.visitSingularInt32Field(value: self.mapQueryMaxUpdateIntervalMs, fieldNumber: 6) + } + + public func traverse(visitor: inout V) throws { + if self.fortPowerUpPokemonSpawnCount != 0 { + try visitor.visitSingularInt32Field(value: self.fortPowerUpPokemonSpawnCount, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameboardSettings, rhs: GameboardSettings) -> Bool { - if lhs.minS2CellLevel != rhs.minS2CellLevel {return false} - if lhs.maxS2CellLevel != rhs.maxS2CellLevel {return false} - if lhs.maxS2CellsPerView != rhs.maxS2CellsPerView {return false} - if lhs.mapQueryMaxS2CellsPerRequest != rhs.mapQueryMaxS2CellsPerRequest {return false} - if lhs.mapQueryMinUpdateIntervalMs != rhs.mapQueryMinUpdateIntervalMs {return false} - if lhs.mapQueryMaxUpdateIntervalMs != rhs.mapQueryMaxUpdateIntervalMs {return false} + public static func ==(lhs: FortPowerUpSpawnSettings, rhs: FortPowerUpSpawnSettings) -> Bool { + if lhs.fortPowerUpPokemonSpawnCount != rhs.fortPowerUpPokemonSpawnCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameplayWeatherProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GameplayWeatherProto" +extension FortRecallOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortRecallOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gameplay_condition"), + 1: .same(proto: "result"), + 2: .standard(proto: "fort_details_out_proto"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -205980,44 +210686,453 @@ extension GameplayWeatherProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.gameplayCondition) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._fortDetailsOutProto) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .noResultSet { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._fortDetailsOutProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FortRecallOutProto, rhs: FortRecallOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._fortDetailsOutProto != rhs._fortDetailsOutProto {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension FortRecallOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NO_RESULT_SET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_NOT_IN_RANGE"), + 3: .same(proto: "ERROR_POKEMON_NOT_ON_FORT"), + 4: .same(proto: "ERROR_NO_PLAYER"), + ] +} + +extension FortRecallProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortRecallProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_id"), + 2: .standard(proto: "pokemon_id"), + 3: .standard(proto: "player_lat_degrees"), + 4: .standard(proto: "player_lng_degrees"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + } + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 2) + } + if self.playerLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) + } + if self.playerLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FortRecallProto, rhs: FortRecallProto) -> Bool { + if lhs.fortID != rhs.fortID {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} + if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension FortRenderingType: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortRenderingType" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FortRenderingType, rhs: FortRenderingType) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension FortRenderingType.RenderingType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "DEFAULT"), + 1: .same(proto: "INTERNAL_TEST"), + ] +} + +extension FortSearchLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortSearchLogEntry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "fort_id"), + 3: .same(proto: "items"), + 4: .same(proto: "eggs"), + 5: .standard(proto: "pokemon_eggs"), + 6: .standard(proto: "fort_type"), + 7: .standard(proto: "awarded_items"), + 8: .standard(proto: "bonus_items"), + 9: .standard(proto: "team_bonus_items"), + 10: .standard(proto: "gift_boxes"), + 11: .same(proto: "stickers"), + 12: .standard(proto: "powered_up_stop_bonus_items"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.items) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.eggs) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonEggs) }() + case 6: try { try decoder.decodeSingularEnumField(value: &self.fortType) }() + case 7: try { try decoder.decodeRepeatedMessageField(value: &self.awardedItems) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &self.bonusItems) }() + case 9: try { try decoder.decodeRepeatedMessageField(value: &self.teamBonusItems) }() + case 10: try { try decoder.decodeRepeatedMessageField(value: &self.giftBoxes) }() + case 11: try { try decoder.decodeRepeatedMessageField(value: &self.stickers) }() + case 12: try { try decoder.decodeRepeatedMessageField(value: &self.poweredUpStopBonusItems) }() default: break } - } - } - - public func traverse(visitor: inout V) throws { - if self.gameplayCondition != .none { - try visitor.visitSingularEnumField(value: self.gameplayCondition, fieldNumber: 1) + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) + } + if !self.items.isEmpty { + try visitor.visitRepeatedMessageField(value: self.items, fieldNumber: 3) + } + if self.eggs != 0 { + try visitor.visitSingularInt32Field(value: self.eggs, fieldNumber: 4) + } + if !self.pokemonEggs.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemonEggs, fieldNumber: 5) + } + if self.fortType != .gym { + try visitor.visitSingularEnumField(value: self.fortType, fieldNumber: 6) + } + if !self.awardedItems.isEmpty { + try visitor.visitRepeatedMessageField(value: self.awardedItems, fieldNumber: 7) + } + if !self.bonusItems.isEmpty { + try visitor.visitRepeatedMessageField(value: self.bonusItems, fieldNumber: 8) + } + if !self.teamBonusItems.isEmpty { + try visitor.visitRepeatedMessageField(value: self.teamBonusItems, fieldNumber: 9) + } + if !self.giftBoxes.isEmpty { + try visitor.visitRepeatedMessageField(value: self.giftBoxes, fieldNumber: 10) + } + if !self.stickers.isEmpty { + try visitor.visitRepeatedMessageField(value: self.stickers, fieldNumber: 11) + } + if !self.poweredUpStopBonusItems.isEmpty { + try visitor.visitRepeatedMessageField(value: self.poweredUpStopBonusItems, fieldNumber: 12) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: FortSearchLogEntry, rhs: FortSearchLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.items != rhs.items {return false} + if lhs.eggs != rhs.eggs {return false} + if lhs.pokemonEggs != rhs.pokemonEggs {return false} + if lhs.fortType != rhs.fortType {return false} + if lhs.awardedItems != rhs.awardedItems {return false} + if lhs.bonusItems != rhs.bonusItems {return false} + if lhs.teamBonusItems != rhs.teamBonusItems {return false} + if lhs.giftBoxes != rhs.giftBoxes {return false} + if lhs.stickers != rhs.stickers {return false} + if lhs.poweredUpStopBonusItems != rhs.poweredUpStopBonusItems {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension FortSearchLogEntry.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + ] +} + +extension FortSearchOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortSearchOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "items"), + 3: .standard(proto: "gems_awarded"), + 4: .standard(proto: "egg_pokemon"), + 5: .standard(proto: "xp_awarded"), + 6: .standard(proto: "cooldown_complete"), + 7: .standard(proto: "chain_hack_sequence_number"), + 8: .standard(proto: "awarded_gym_badge"), + 9: .same(proto: "loot"), + 10: .standard(proto: "bonus_loot"), + 11: .standard(proto: "raid_tickets"), + 12: .standard(proto: "team_bonus_loot"), + 13: .standard(proto: "fort_id"), + 14: .standard(proto: "challenge_quest"), + 15: .standard(proto: "gift_box"), + 16: .standard(proto: "sponsored_gift"), + 17: .standard(proto: "power_up_stop_bonus_loot"), + 18: .same(proto: "ad"), + ] + + fileprivate class _StorageClass { + var _result: FortSearchOutProto.Result = .noResultSet + var _items: [AwardItemProto] = [] + var _gemsAwarded: Int32 = 0 + var _eggPokemon: PokemonProto? = nil + var _xpAwarded: Int32 = 0 + var _cooldownComplete: Int64 = 0 + var _chainHackSequenceNumber: Int32 = 0 + var _awardedGymBadge: AwardedGymBadge? = nil + var _loot: LootProto? = nil + var _bonusLoot: LootProto? = nil + var _raidTickets: Int32 = 0 + var _teamBonusLoot: LootProto? = nil + var _fortID: String = String() + var _challengeQuest: ClientQuestProto? = nil + var _giftBox: GiftBoxProto? = nil + var _sponsoredGift: AdDetails? = nil + var _powerUpStopBonusLoot: LootProto? = nil + var _ad: AdProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _result = source._result + _items = source._items + _gemsAwarded = source._gemsAwarded + _eggPokemon = source._eggPokemon + _xpAwarded = source._xpAwarded + _cooldownComplete = source._cooldownComplete + _chainHackSequenceNumber = source._chainHackSequenceNumber + _awardedGymBadge = source._awardedGymBadge + _loot = source._loot + _bonusLoot = source._bonusLoot + _raidTickets = source._raidTickets + _teamBonusLoot = source._teamBonusLoot + _fortID = source._fortID + _challengeQuest = source._challengeQuest + _giftBox = source._giftBox + _sponsoredGift = source._sponsoredGift + _powerUpStopBonusLoot = source._powerUpStopBonusLoot + _ad = source._ad + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &_storage._items) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._gemsAwarded) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._eggPokemon) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._xpAwarded) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._cooldownComplete) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._chainHackSequenceNumber) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._awardedGymBadge) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._loot) }() + case 10: try { try decoder.decodeSingularMessageField(value: &_storage._bonusLoot) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._raidTickets) }() + case 12: try { try decoder.decodeSingularMessageField(value: &_storage._teamBonusLoot) }() + case 13: try { try decoder.decodeSingularStringField(value: &_storage._fortID) }() + case 14: try { try decoder.decodeSingularMessageField(value: &_storage._challengeQuest) }() + case 15: try { try decoder.decodeSingularMessageField(value: &_storage._giftBox) }() + case 16: try { try decoder.decodeSingularMessageField(value: &_storage._sponsoredGift) }() + case 17: try { try decoder.decodeSingularMessageField(value: &_storage._powerUpStopBonusLoot) }() + case 18: try { try decoder.decodeSingularMessageField(value: &_storage._ad) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._result != .noResultSet { + try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) + } + if !_storage._items.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._items, fieldNumber: 2) + } + if _storage._gemsAwarded != 0 { + try visitor.visitSingularInt32Field(value: _storage._gemsAwarded, fieldNumber: 3) + } + try { if let v = _storage._eggPokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if _storage._xpAwarded != 0 { + try visitor.visitSingularInt32Field(value: _storage._xpAwarded, fieldNumber: 5) + } + if _storage._cooldownComplete != 0 { + try visitor.visitSingularInt64Field(value: _storage._cooldownComplete, fieldNumber: 6) + } + if _storage._chainHackSequenceNumber != 0 { + try visitor.visitSingularInt32Field(value: _storage._chainHackSequenceNumber, fieldNumber: 7) + } + try { if let v = _storage._awardedGymBadge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + try { if let v = _storage._loot { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() + try { if let v = _storage._bonusLoot { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + if _storage._raidTickets != 0 { + try visitor.visitSingularInt32Field(value: _storage._raidTickets, fieldNumber: 11) + } + try { if let v = _storage._teamBonusLoot { + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + } }() + if !_storage._fortID.isEmpty { + try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 13) + } + try { if let v = _storage._challengeQuest { + try visitor.visitSingularMessageField(value: v, fieldNumber: 14) + } }() + try { if let v = _storage._giftBox { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + } }() + try { if let v = _storage._sponsoredGift { + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + } }() + try { if let v = _storage._powerUpStopBonusLoot { + try visitor.visitSingularMessageField(value: v, fieldNumber: 17) + } }() + try { if let v = _storage._ad { + try visitor.visitSingularMessageField(value: v, fieldNumber: 18) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GameplayWeatherProto, rhs: GameplayWeatherProto) -> Bool { - if lhs.gameplayCondition != rhs.gameplayCondition {return false} + public static func ==(lhs: FortSearchOutProto, rhs: FortSearchOutProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._result != rhs_storage._result {return false} + if _storage._items != rhs_storage._items {return false} + if _storage._gemsAwarded != rhs_storage._gemsAwarded {return false} + if _storage._eggPokemon != rhs_storage._eggPokemon {return false} + if _storage._xpAwarded != rhs_storage._xpAwarded {return false} + if _storage._cooldownComplete != rhs_storage._cooldownComplete {return false} + if _storage._chainHackSequenceNumber != rhs_storage._chainHackSequenceNumber {return false} + if _storage._awardedGymBadge != rhs_storage._awardedGymBadge {return false} + if _storage._loot != rhs_storage._loot {return false} + if _storage._bonusLoot != rhs_storage._bonusLoot {return false} + if _storage._raidTickets != rhs_storage._raidTickets {return false} + if _storage._teamBonusLoot != rhs_storage._teamBonusLoot {return false} + if _storage._fortID != rhs_storage._fortID {return false} + if _storage._challengeQuest != rhs_storage._challengeQuest {return false} + if _storage._giftBox != rhs_storage._giftBox {return false} + if _storage._sponsoredGift != rhs_storage._sponsoredGift {return false} + if _storage._powerUpStopBonusLoot != rhs_storage._powerUpStopBonusLoot {return false} + if _storage._ad != rhs_storage._ad {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GameplayWeatherProto.WeatherCondition: SwiftProtobuf._ProtoNameProviding { +extension FortSearchOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE"), - 1: .same(proto: "CLEAR"), - 2: .same(proto: "RAINY"), - 3: .same(proto: "PARTLY_CLOUDY"), - 4: .same(proto: "OVERCAST"), - 5: .same(proto: "WINDY"), - 6: .same(proto: "SNOW"), - 7: .same(proto: "FOG"), + 0: .same(proto: "NO_RESULT_SET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "OUT_OF_RANGE"), + 3: .same(proto: "IN_COOLDOWN_PERIOD"), + 4: .same(proto: "INVENTORY_FULL"), + 5: .same(proto: "EXCEEDED_DAILY_LIMIT"), + 6: .same(proto: "POI_INACCESSIBLE"), ] } -extension GarAccountInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GarAccountInfoProto" +extension FortSearchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortSearchProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "niantic_id"), - 2: .standard(proto: "display_name"), + 1: .same(proto: "id"), + 2: .standard(proto: "player_lat_degrees"), + 3: .standard(proto: "player_lng_degrees"), + 4: .standard(proto: "fort_lat_degrees"), + 5: .standard(proto: "fort_lng_degrees"), + 7: .standard(proto: "ad_targeting_info"), + 8: .standard(proto: "is_player_eligible_for_geotargeted_quest"), + 9: .standard(proto: "is_from_wearable_device"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206026,36 +211141,81 @@ extension GarAccountInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.nianticID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.displayName) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.fortLatDegrees) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.fortLngDegrees) }() + case 7: try { try decoder.decodeSingularMessageField(value: &self._adTargetingInfo) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.isPlayerEligibleForGeotargetedQuest) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.isFromWearableDevice) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.nianticID.isEmpty { - try visitor.visitSingularStringField(value: self.nianticID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.id.isEmpty { + try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) } - if !self.displayName.isEmpty { - try visitor.visitSingularStringField(value: self.displayName, fieldNumber: 2) + if self.playerLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 2) + } + if self.playerLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 3) + } + if self.fortLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLatDegrees, fieldNumber: 4) + } + if self.fortLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLngDegrees, fieldNumber: 5) + } + try { if let v = self._adTargetingInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() + if self.isPlayerEligibleForGeotargetedQuest != false { + try visitor.visitSingularBoolField(value: self.isPlayerEligibleForGeotargetedQuest, fieldNumber: 8) + } + if self.isFromWearableDevice != false { + try visitor.visitSingularBoolField(value: self.isFromWearableDevice, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GarAccountInfoProto, rhs: GarAccountInfoProto) -> Bool { - if lhs.nianticID != rhs.nianticID {return false} - if lhs.displayName != rhs.displayName {return false} + public static func ==(lhs: FortSearchProto, rhs: FortSearchProto) -> Bool { + if lhs.id != rhs.id {return false} + if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} + if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + if lhs.fortLatDegrees != rhs.fortLatDegrees {return false} + if lhs.fortLngDegrees != rhs.fortLngDegrees {return false} + if lhs._adTargetingInfo != rhs._adTargetingInfo {return false} + if lhs.isPlayerEligibleForGeotargetedQuest != rhs.isPlayerEligibleForGeotargetedQuest {return false} + if lhs.isFromWearableDevice != rhs.isFromWearableDevice {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GarProxyRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GarProxyRequestProto" +extension FortSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "action"), - 2: .same(proto: "payload"), + 1: .standard(proto: "interaction_range_meters"), + 2: .standard(proto: "max_total_deployed_pokemon"), + 3: .standard(proto: "max_player_deployed_pokemon"), + 4: .standard(proto: "deploy_stamina_multiplier"), + 5: .standard(proto: "deploy_attack_multiplier"), + 6: .standard(proto: "far_interaction_range_meters"), + 7: .standard(proto: "disable_gyms"), + 8: .standard(proto: "max_same_pokemon_at_fort"), + 9: .standard(proto: "max_player_total_deployed_pokemon"), + 10: .standard(proto: "enable_hyperlinks_in_poi_descriptions"), + 11: .standard(proto: "enable_right_to_left_text_display"), + 12: .standard(proto: "enable_sponsored_poi_decorators"), + 13: .standard(proto: "remote_interaction_range_meters"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206064,90 +211224,141 @@ extension GarProxyRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.action) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.interactionRangeMeters) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxTotalDeployedPokemon) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxPlayerDeployedPokemon) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.deployStaminaMultiplier) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.deployAttackMultiplier) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.farInteractionRangeMeters) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.disableGyms) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.maxSamePokemonAtFort) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.maxPlayerTotalDeployedPokemon) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.enableHyperlinksInPoiDescriptions) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.enableRightToLeftTextDisplay) }() + case 12: try { try decoder.decodeSingularBoolField(value: &self.enableSponsoredPoiDecorators) }() + case 13: try { try decoder.decodeSingularDoubleField(value: &self.remoteInteractionRangeMeters) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.action != 0 { - try visitor.visitSingularUInt32Field(value: self.action, fieldNumber: 1) + if self.interactionRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.interactionRangeMeters, fieldNumber: 1) } - if !self.payload.isEmpty { - try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 2) + if self.maxTotalDeployedPokemon != 0 { + try visitor.visitSingularInt32Field(value: self.maxTotalDeployedPokemon, fieldNumber: 2) + } + if self.maxPlayerDeployedPokemon != 0 { + try visitor.visitSingularInt32Field(value: self.maxPlayerDeployedPokemon, fieldNumber: 3) + } + if self.deployStaminaMultiplier != 0 { + try visitor.visitSingularDoubleField(value: self.deployStaminaMultiplier, fieldNumber: 4) + } + if self.deployAttackMultiplier != 0 { + try visitor.visitSingularDoubleField(value: self.deployAttackMultiplier, fieldNumber: 5) + } + if self.farInteractionRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.farInteractionRangeMeters, fieldNumber: 6) + } + if self.disableGyms != false { + try visitor.visitSingularBoolField(value: self.disableGyms, fieldNumber: 7) + } + if self.maxSamePokemonAtFort != 0 { + try visitor.visitSingularInt32Field(value: self.maxSamePokemonAtFort, fieldNumber: 8) + } + if self.maxPlayerTotalDeployedPokemon != 0 { + try visitor.visitSingularInt32Field(value: self.maxPlayerTotalDeployedPokemon, fieldNumber: 9) + } + if self.enableHyperlinksInPoiDescriptions != false { + try visitor.visitSingularBoolField(value: self.enableHyperlinksInPoiDescriptions, fieldNumber: 10) + } + if self.enableRightToLeftTextDisplay != false { + try visitor.visitSingularBoolField(value: self.enableRightToLeftTextDisplay, fieldNumber: 11) + } + if self.enableSponsoredPoiDecorators != false { + try visitor.visitSingularBoolField(value: self.enableSponsoredPoiDecorators, fieldNumber: 12) + } + if self.remoteInteractionRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.remoteInteractionRangeMeters, fieldNumber: 13) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GarProxyRequestProto, rhs: GarProxyRequestProto) -> Bool { - if lhs.action != rhs.action {return false} - if lhs.payload != rhs.payload {return false} + public static func ==(lhs: FortSettingsProto, rhs: FortSettingsProto) -> Bool { + if lhs.interactionRangeMeters != rhs.interactionRangeMeters {return false} + if lhs.maxTotalDeployedPokemon != rhs.maxTotalDeployedPokemon {return false} + if lhs.maxPlayerDeployedPokemon != rhs.maxPlayerDeployedPokemon {return false} + if lhs.deployStaminaMultiplier != rhs.deployStaminaMultiplier {return false} + if lhs.deployAttackMultiplier != rhs.deployAttackMultiplier {return false} + if lhs.farInteractionRangeMeters != rhs.farInteractionRangeMeters {return false} + if lhs.disableGyms != rhs.disableGyms {return false} + if lhs.maxSamePokemonAtFort != rhs.maxSamePokemonAtFort {return false} + if lhs.maxPlayerTotalDeployedPokemon != rhs.maxPlayerTotalDeployedPokemon {return false} + if lhs.enableHyperlinksInPoiDescriptions != rhs.enableHyperlinksInPoiDescriptions {return false} + if lhs.enableRightToLeftTextDisplay != rhs.enableRightToLeftTextDisplay {return false} + if lhs.enableSponsoredPoiDecorators != rhs.enableSponsoredPoiDecorators {return false} + if lhs.remoteInteractionRangeMeters != rhs.remoteInteractionRangeMeters {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GarProxyResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GarProxyResponseProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), - 3: .same(proto: "payload"), - ] +extension FortSponsor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortSponsor" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.status != .ok { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) - } - if !self.payload.isEmpty { - try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GarProxyResponseProto, rhs: GarProxyResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} - if lhs.payload != rhs.payload {return false} + public static func ==(lhs: FortSponsor, rhs: FortSponsor) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GarProxyResponseProto.Status: SwiftProtobuf._ProtoNameProviding { +extension FortSponsor.Sponsor: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "OK"), - 2: .same(proto: "ERROR_UNKNOWN"), - 7: .same(proto: "ERROR_PERMISSION_DENIED"), - 14: .same(proto: "ERROR_UNAVAILABLE"), - 16: .same(proto: "ERROR_UNAUTHENTICATED"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "MCDONALDS"), + 2: .same(proto: "POKEMON_STORE"), + 3: .same(proto: "TOHO"), + 4: .same(proto: "SOFTBANK"), + 5: .same(proto: "GLOBE"), + 6: .same(proto: "SPATULA"), + 7: .same(proto: "THERMOMETER"), + 8: .same(proto: "KNIFE"), + 9: .same(proto: "GRILL"), + 10: .same(proto: "SMOKER"), + 11: .same(proto: "PAN"), + 12: .same(proto: "BBQ"), + 13: .same(proto: "FRYER"), + 14: .same(proto: "STEAMER"), + 15: .same(proto: "HOOD"), + 16: .same(proto: "SLOWCOOKER"), + 17: .same(proto: "MIXER"), + 18: .same(proto: "SCOOPER"), + 19: .same(proto: "MUFFINTIN"), + 20: .same(proto: "SALAMANDER"), + 21: .same(proto: "PLANCHA"), + 22: .same(proto: "NIA_OPS"), + 23: .same(proto: "WHISK"), ] } -extension GcmToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GcmToken" +extension FortUpdateLatencyTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FortUpdateLatencyTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "registration_id"), - 2: .standard(proto: "client_operating_system"), + 1: .standard(proto: "latency_ms"), + 2: .standard(proto: "fort_type"), + 3: .same(proto: "distance"), + 4: .same(proto: "context"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206156,68 +211367,45 @@ extension GcmToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.registrationID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.clientOperatingSystem) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.latencyMs) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.fortType) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.distance) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.context) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.registrationID.isEmpty { - try visitor.visitSingularStringField(value: self.registrationID, fieldNumber: 1) + if self.latencyMs != 0 { + try visitor.visitSingularInt32Field(value: self.latencyMs, fieldNumber: 1) } - if self.clientOperatingSystem != .osUnknown { - try visitor.visitSingularEnumField(value: self.clientOperatingSystem, fieldNumber: 2) + if self.fortType != 0 { + try visitor.visitSingularInt32Field(value: self.fortType, fieldNumber: 2) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GcmToken, rhs: GcmToken) -> Bool { - if lhs.registrationID != rhs.registrationID {return false} - if lhs.clientOperatingSystem != rhs.clientOperatingSystem {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GenerateCombatChallengeIdDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GenerateCombatChallengeIdDataProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - default: break - } + if self.distance != 0 { + try visitor.visitSingularFloatField(value: self.distance, fieldNumber: 3) } - } - - public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if !self.context.isEmpty { + try visitor.visitSingularStringField(value: self.context, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GenerateCombatChallengeIdDataProto, rhs: GenerateCombatChallengeIdDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: FortUpdateLatencyTelemetry, rhs: FortUpdateLatencyTelemetry) -> Bool { + if lhs.latencyMs != rhs.latencyMs {return false} + if lhs.fortType != rhs.fortType {return false} + if lhs.distance != rhs.distance {return false} + if lhs.context != rhs.context {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GenerateCombatChallengeIdOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GenerateCombatChallengeIdOutProto" +extension FrameRate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FrameRate" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "challenge_id"), + 1: .standard(proto: "sampled_frame_rate"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206226,44 +211414,34 @@ extension GenerateCombatChallengeIdOutProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._sampledFrameRate) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 2) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._sampledFrameRate { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GenerateCombatChallengeIdOutProto, rhs: GenerateCombatChallengeIdOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.challengeID != rhs.challengeID {return false} + public static func ==(lhs: FrameRate, rhs: FrameRate) -> Bool { + if lhs._sampledFrameRate != rhs._sampledFrameRate {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GenerateCombatChallengeIdOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), - 3: .same(proto: "ERROR_ACCESS_DENIED"), - ] -} - -extension GenerateCombatChallengeIdProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GenerateCombatChallengeIdProto" +extension FriendProfileSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FriendProfileSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), + 2: .standard(proto: "enable_trainer_code_tab_v2"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206272,32 +211450,36 @@ extension GenerateCombatChallengeIdProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableTrainerCodeTabV2) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + if self.enableTrainerCodeTabV2 != false { + try visitor.visitSingularBoolField(value: self.enableTrainerCodeTabV2, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GenerateCombatChallengeIdProto, rhs: GenerateCombatChallengeIdProto) -> Bool { - if lhs.obString != rhs.obString {return false} + public static func ==(lhs: FriendProfileSettingsProto, rhs: FriendProfileSettingsProto) -> Bool { + if lhs.enableTrainerCodeTabV2 != rhs.enableTrainerCodeTabV2 {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GenerateCombatChallengeIdResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GenerateCombatChallengeIdResponseDataProto" +extension FriendshipDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FriendshipDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), + 1: .standard(proto: "friendship_level_data"), + 2: .standard(proto: "giftbox_details"), + 3: .same(proto: "codename"), + 4: .same(proto: "nickname"), + 5: .standard(proto: "open_trade_expire_ms"), + 6: .standard(proto: "is_lucky"), + 7: .standard(proto: "lucky_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206306,41 +211488,69 @@ extension GenerateCombatChallengeIdResponseDataProto: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._friendshipLevelData) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.giftboxDetails) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.codename) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.nickname) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.openTradeExpireMs) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.isLucky) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.luckyCount) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._friendshipLevelData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.giftboxDetails.isEmpty { + try visitor.visitRepeatedMessageField(value: self.giftboxDetails, fieldNumber: 2) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if !self.codename.isEmpty { + try visitor.visitSingularStringField(value: self.codename, fieldNumber: 3) } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + if !self.nickname.isEmpty { + try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 4) + } + if self.openTradeExpireMs != 0 { + try visitor.visitSingularInt64Field(value: self.openTradeExpireMs, fieldNumber: 5) + } + if self.isLucky != false { + try visitor.visitSingularBoolField(value: self.isLucky, fieldNumber: 6) + } + if self.luckyCount != 0 { + try visitor.visitSingularInt32Field(value: self.luckyCount, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GenerateCombatChallengeIdResponseDataProto, rhs: GenerateCombatChallengeIdResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} + public static func ==(lhs: FriendshipDataProto, rhs: FriendshipDataProto) -> Bool { + if lhs._friendshipLevelData != rhs._friendshipLevelData {return false} + if lhs.giftboxDetails != rhs.giftboxDetails {return false} + if lhs.codename != rhs.codename {return false} + if lhs.nickname != rhs.nickname {return false} + if lhs.openTradeExpireMs != rhs.openTradeExpireMs {return false} + if lhs.isLucky != rhs.isLucky {return false} + if lhs.luckyCount != rhs.luckyCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GenerateGmapSignedUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GenerateGmapSignedUrlOutProto" +extension FriendshipLevelDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FriendshipLevelDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "signed_url"), + 1: .same(proto: "bucket"), + 2: .standard(proto: "points_earned_today"), + 3: .standard(proto: "awarded_friendship_milestone"), + 4: .standard(proto: "current_friendship_milestone"), + 5: .standard(proto: "next_friendship_milestone_progress_percentage"), + 6: .standard(proto: "points_toward_next_milestone"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206349,58 +211559,60 @@ extension GenerateGmapSignedUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.signedURL) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.bucket) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.pointsEarnedToday) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.awardedFriendshipMilestone) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.currentFriendshipMilestone) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.nextFriendshipMilestoneProgressPercentage) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.pointsTowardNextMilestone) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.bucket != 0 { + try visitor.visitSingularInt64Field(value: self.bucket, fieldNumber: 1) } - if !self.signedURL.isEmpty { - try visitor.visitSingularStringField(value: self.signedURL, fieldNumber: 2) + if self.pointsEarnedToday != 0 { + try visitor.visitSingularInt32Field(value: self.pointsEarnedToday, fieldNumber: 2) + } + if self.awardedFriendshipMilestone != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: self.awardedFriendshipMilestone, fieldNumber: 3) + } + if self.currentFriendshipMilestone != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: self.currentFriendshipMilestone, fieldNumber: 4) + } + if self.nextFriendshipMilestoneProgressPercentage != 0 { + try visitor.visitSingularDoubleField(value: self.nextFriendshipMilestoneProgressPercentage, fieldNumber: 5) + } + if self.pointsTowardNextMilestone != 0 { + try visitor.visitSingularInt32Field(value: self.pointsTowardNextMilestone, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GenerateGmapSignedUrlOutProto, rhs: GenerateGmapSignedUrlOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.signedURL != rhs.signedURL {return false} + public static func ==(lhs: FriendshipLevelDataProto, rhs: FriendshipLevelDataProto) -> Bool { + if lhs.bucket != rhs.bucket {return false} + if lhs.pointsEarnedToday != rhs.pointsEarnedToday {return false} + if lhs.awardedFriendshipMilestone != rhs.awardedFriendshipMilestone {return false} + if lhs.currentFriendshipMilestone != rhs.currentFriendshipMilestone {return false} + if lhs.nextFriendshipMilestoneProgressPercentage != rhs.nextFriendshipMilestoneProgressPercentage {return false} + if lhs.pointsTowardNextMilestone != rhs.pointsTowardNextMilestone {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GenerateGmapSignedUrlOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_NOT_VALID"), - 3: .same(proto: "ERROR_RATE_LIMITED"), - 4: .same(proto: "ERROR_MISSING_INPUT"), - 5: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension GenerateGmapSignedUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GenerateGmapSignedUrlProto" +extension FriendshipLevelMilestoneSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FriendshipLevelMilestoneSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "latitude"), - 2: .same(proto: "longitude"), - 3: .same(proto: "width"), - 4: .same(proto: "height"), - 5: .same(proto: "zoom"), - 6: .standard(proto: "language_code"), - 7: .standard(proto: "country_code"), - 8: .standard(proto: "map_style"), - 9: .standard(proto: "map_type"), - 10: .standard(proto: "icon_params"), - 11: .standard(proto: "is_multi_marker_map"), - 12: .standard(proto: "original_location"), - 13: .standard(proto: "proposed_location"), + 1: .standard(proto: "min_points_to_reach"), + 2: .standard(proto: "milestone_xp_reward"), + 3: .standard(proto: "attack_bonus_percentage"), + 4: .standard(proto: "raid_ball_bonus"), + 5: .standard(proto: "unlocked_trading"), + 6: .standard(proto: "trading_discount"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206409,128 +211621,71 @@ extension GenerateGmapSignedUrlProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.width) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.height) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.zoom) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.mapStyle) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.mapType) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.iconParams) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.isMultiMarkerMap) }() - case 12: try { try decoder.decodeSingularMessageField(value: &self._originalLocation) }() - case 13: try { try decoder.decodeSingularMessageField(value: &self._proposedLocation) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPointsToReach) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.milestoneXpReward) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.attackBonusPercentage) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.raidBallBonus) }() + case 5: try { try decoder.decodeRepeatedEnumField(value: &self.unlockedTrading) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.tradingDiscount) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.latitude != 0 { - try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 1) - } - if self.longitude != 0 { - try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 2) - } - if self.width != 0 { - try visitor.visitSingularInt32Field(value: self.width, fieldNumber: 3) - } - if self.height != 0 { - try visitor.visitSingularInt32Field(value: self.height, fieldNumber: 4) - } - if self.zoom != 0 { - try visitor.visitSingularInt32Field(value: self.zoom, fieldNumber: 5) - } - if !self.languageCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 6) + if self.minPointsToReach != 0 { + try visitor.visitSingularInt32Field(value: self.minPointsToReach, fieldNumber: 1) } - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 7) + if self.milestoneXpReward != 0 { + try visitor.visitSingularInt32Field(value: self.milestoneXpReward, fieldNumber: 2) } - if !self.mapStyle.isEmpty { - try visitor.visitSingularStringField(value: self.mapStyle, fieldNumber: 8) + if self.attackBonusPercentage != 0 { + try visitor.visitSingularFloatField(value: self.attackBonusPercentage, fieldNumber: 3) } - if !self.mapType.isEmpty { - try visitor.visitSingularStringField(value: self.mapType, fieldNumber: 9) + if self.raidBallBonus != 0 { + try visitor.visitSingularInt32Field(value: self.raidBallBonus, fieldNumber: 4) } - if !self.iconParams.isEmpty { - try visitor.visitSingularStringField(value: self.iconParams, fieldNumber: 10) + if !self.unlockedTrading.isEmpty { + try visitor.visitPackedEnumField(value: self.unlockedTrading, fieldNumber: 5) } - if self.isMultiMarkerMap != false { - try visitor.visitSingularBoolField(value: self.isMultiMarkerMap, fieldNumber: 11) + if self.tradingDiscount != 0 { + try visitor.visitSingularFloatField(value: self.tradingDiscount, fieldNumber: 6) } - try { if let v = self._originalLocation { - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - } }() - try { if let v = self._proposedLocation { - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GenerateGmapSignedUrlProto, rhs: GenerateGmapSignedUrlProto) -> Bool { - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} - if lhs.width != rhs.width {return false} - if lhs.height != rhs.height {return false} - if lhs.zoom != rhs.zoom {return false} - if lhs.languageCode != rhs.languageCode {return false} - if lhs.countryCode != rhs.countryCode {return false} - if lhs.mapStyle != rhs.mapStyle {return false} - if lhs.mapType != rhs.mapType {return false} - if lhs.iconParams != rhs.iconParams {return false} - if lhs.isMultiMarkerMap != rhs.isMultiMarkerMap {return false} - if lhs._originalLocation != rhs._originalLocation {return false} - if lhs._proposedLocation != rhs._proposedLocation {return false} + public static func ==(lhs: FriendshipLevelMilestoneSettingsProto, rhs: FriendshipLevelMilestoneSettingsProto) -> Bool { + if lhs.minPointsToReach != rhs.minPointsToReach {return false} + if lhs.milestoneXpReward != rhs.milestoneXpReward {return false} + if lhs.attackBonusPercentage != rhs.attackBonusPercentage {return false} + if lhs.raidBallBonus != rhs.raidBallBonus {return false} + if lhs.unlockedTrading != rhs.unlockedTrading {return false} + if lhs.tradingDiscount != rhs.tradingDiscount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GeneratedCodeInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GeneratedCodeInfo" +extension FriendshipLevelMilestoneSettingsProto.PokemonTradingType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "annotation"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "REGULAR_IN_POKEDEX"), + 2: .same(proto: "SPECIAL_IN_POKEDEX"), + 3: .same(proto: "REGULAR_NON_POKEDEX"), + 4: .same(proto: "REGIONAL_NON_POKEDEX"), + 5: .same(proto: "FORM_NON_POKEDEX"), + 6: .same(proto: "LEGENDARY_NON_POKEDEX"), + 7: .same(proto: "SHINY_NON_POKEDEX"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.annotation) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.annotation.isEmpty { - try visitor.visitRepeatedMessageField(value: self.annotation, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GeneratedCodeInfo, rhs: GeneratedCodeInfo) -> Bool { - if lhs.annotation != rhs.annotation {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension GeneratedCodeInfo.Annotation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GeneratedCodeInfo.protoMessageName + ".Annotation" +extension FriendshipMilestoneRewardNotificationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FriendshipMilestoneRewardNotificationProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "source_file"), - 2: .same(proto: "begin"), - 3: .same(proto: "end"), + 1: .standard(proto: "friend_id"), + 2: .standard(proto: "friend_codename"), + 3: .standard(proto: "friendship_milestone_level"), + 4: .standard(proto: "xp_reward"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206539,40 +211694,47 @@ extension GeneratedCodeInfo.Annotation: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.sourceFile) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.begin) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.end) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.friendCodename) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.friendshipMilestoneLevel) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.xpReward) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.sourceFile.isEmpty { - try visitor.visitSingularStringField(value: self.sourceFile, fieldNumber: 1) + if !self.friendID.isEmpty { + try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) } - if self.begin != 0 { - try visitor.visitSingularInt32Field(value: self.begin, fieldNumber: 2) + if !self.friendCodename.isEmpty { + try visitor.visitSingularStringField(value: self.friendCodename, fieldNumber: 2) } - if self.end != 0 { - try visitor.visitSingularInt32Field(value: self.end, fieldNumber: 3) + if self.friendshipMilestoneLevel != 0 { + try visitor.visitSingularInt32Field(value: self.friendshipMilestoneLevel, fieldNumber: 3) + } + if self.xpReward != 0 { + try visitor.visitSingularInt64Field(value: self.xpReward, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GeneratedCodeInfo.Annotation, rhs: GeneratedCodeInfo.Annotation) -> Bool { - if lhs.sourceFile != rhs.sourceFile {return false} - if lhs.begin != rhs.begin {return false} - if lhs.end != rhs.end {return false} + public static func ==(lhs: FriendshipMilestoneRewardNotificationProto, rhs: FriendshipMilestoneRewardNotificationProto) -> Bool { + if lhs.friendID != rhs.friendID {return false} + if lhs.friendCodename != rhs.friendCodename {return false} + if lhs.friendshipMilestoneLevel != rhs.friendshipMilestoneLevel {return false} + if lhs.xpReward != rhs.xpReward {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GenericClickTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GenericClickTelemetry" +extension FriendshipMilestoneRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".FriendshipMilestoneRewardProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "generic_click_id"), + 1: .standard(proto: "friend_id"), + 2: .standard(proto: "friendship_milestone"), + 3: .standard(proto: "nia_account_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206581,32 +211743,41 @@ extension GenericClickTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.genericClickID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.friendshipMilestone) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.genericClickID != .undefinedGenericEvent { - try visitor.visitSingularEnumField(value: self.genericClickID, fieldNumber: 1) + if !self.friendID.isEmpty { + try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) + } + if self.friendshipMilestone != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: self.friendshipMilestone, fieldNumber: 2) + } + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GenericClickTelemetry, rhs: GenericClickTelemetry) -> Bool { - if lhs.genericClickID != rhs.genericClickID {return false} + public static func ==(lhs: FriendshipMilestoneRewardProto, rhs: FriendshipMilestoneRewardProto) -> Bool { + if lhs.friendID != rhs.friendID {return false} + if lhs.friendshipMilestone != rhs.friendshipMilestone {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GenericReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GenericReportData" +extension GamDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GamDetails" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "item_proto"), - 2: .same(proto: "origin"), - 3: .standard(proto: "content_unit_id"), + 1: .standard(proto: "gam_request_keywords"), + 2: .standard(proto: "gam_request_extras"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206615,273 +211786,1655 @@ extension GenericReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.itemProto) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.origin) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.contentUnitID) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.gamRequestKeywords) }() + case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.gamRequestExtras) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.itemProto.isEmpty { - try visitor.visitRepeatedMessageField(value: self.itemProto, fieldNumber: 1) - } - if self.origin != .undefinedOrigin { - try visitor.visitSingularEnumField(value: self.origin, fieldNumber: 2) + if !self.gamRequestKeywords.isEmpty { + try visitor.visitRepeatedStringField(value: self.gamRequestKeywords, fieldNumber: 1) } - if !self.contentUnitID.isEmpty { - try visitor.visitSingularStringField(value: self.contentUnitID, fieldNumber: 3) + if !self.gamRequestExtras.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.gamRequestExtras, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GenericReportData, rhs: GenericReportData) -> Bool { - if lhs.itemProto != rhs.itemProto {return false} - if lhs.origin != rhs.origin {return false} - if lhs.contentUnitID != rhs.contentUnitID {return false} + public static func ==(lhs: GamDetails, rhs: GamDetails) -> Bool { + if lhs.gamRequestKeywords != rhs.gamRequestKeywords {return false} + if lhs.gamRequestExtras != rhs.gamRequestExtras {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GeoAssociation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GeoAssociation" +extension GameMasterClientTemplateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GameMasterClientTemplateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "rotation"), - 2: .same(proto: "latitudeDegrees"), - 3: .same(proto: "longitudeDegrees"), - 4: .same(proto: "altitudeMetres"), - 5: .same(proto: "placementAccuracy"), + 1: .standard(proto: "template_id"), + 2: .same(proto: "pokemon"), + 3: .same(proto: "item"), + 4: .same(proto: "move"), + 5: .standard(proto: "move_sequence"), + 8: .standard(proto: "type_effective"), + 10: .same(proto: "badge"), + 11: .same(proto: "camera"), + 12: .standard(proto: "player_level"), + 13: .standard(proto: "gym_level"), + 14: .standard(proto: "battle_settings"), + 15: .standard(proto: "encounter_settings"), + 16: .standard(proto: "iap_item_display"), + 17: .standard(proto: "iap_settings"), + 18: .standard(proto: "pokemon_upgrades"), + 20: .standard(proto: "quest_settings"), + 21: .standard(proto: "avatar_customization"), + 22: .standard(proto: "form_settings"), + 23: .standard(proto: "gender_settings"), + 24: .standard(proto: "gym_badge_settings"), + 25: .standard(proto: "weather_affinities"), + 26: .standard(proto: "weather_bonus_settings"), + 27: .standard(proto: "pokemon_scale_settings"), + 28: .standard(proto: "iap_category_display"), + 29: .standard(proto: "beluga_pokemon_whitelist"), + 30: .standard(proto: "onboarding_settings"), + 31: .standard(proto: "friendship_milestone_settings"), + 32: .standard(proto: "lucky_pokemon_settings"), + 33: .standard(proto: "combat_settings"), + 34: .standard(proto: "combat_league_settings"), + 35: .standard(proto: "combat_league"), + 37: .standard(proto: "combat_move"), + 38: .standard(proto: "background_mode_settings"), + 39: .standard(proto: "combat_stat_stage_settings"), + 40: .standard(proto: "combat_npc_trainer"), + 41: .standard(proto: "combat_npc_personality"), + 42: .standard(proto: "onboarding_v2_settings"), + 43: .standard(proto: "party_recommendation_settings"), + 44: .standard(proto: "smeargle_moves_settings"), + 45: .standard(proto: "pokecoin_purchase_display_gmt"), + 46: .standard(proto: "adventure_sync_v2_gmt"), + 47: .standard(proto: "loading_screen_settings"), + 48: .standard(proto: "invasion_npc_display_settings"), + 49: .standard(proto: "combat_competitive_season_settings"), + 50: .standard(proto: "combat_ranking_proto_settings"), + 51: .standard(proto: "combat_type"), + 52: .standard(proto: "buddy_level_settings"), + 53: .standard(proto: "buddy_activity_category_settings"), + 54: .standard(proto: "buddy_activity_settings"), + 56: .standard(proto: "buddy_swap_settings"), + 57: .standard(proto: "route_creation_settings"), + 58: .standard(proto: "vs_seeker_client_settings"), + 59: .standard(proto: "buddy_encounter_cameo_settings"), + 60: .standard(proto: "limited_purchase_sku_settings"), + 61: .standard(proto: "buddy_emotion_level_settings"), + 62: .standard(proto: "pokestop_invasion_availability_settings"), + 63: .standard(proto: "buddy_interaction_settings"), + 64: .standard(proto: "vs_seeker_loot_proto"), + 65: .standard(proto: "vs_seeker_pokemon_rewards"), + 66: .standard(proto: "battle_hub_order_settings"), + 67: .standard(proto: "battle_hub_badge_settings"), + 68: .standard(proto: "map_buddy_settings"), + 69: .standard(proto: "buddy_walk_settings"), + 70: .standard(proto: "platypus_rollout_settings"), + 72: .standard(proto: "buddy_hunger_settings"), + 73: .standard(proto: "project_vacation"), + 74: .standard(proto: "mega_evo_settings"), + 75: .standard(proto: "temporary_evolution_settings"), + 76: .standard(proto: "avatar_group_settings"), + 77: .standard(proto: "pokemon_family"), + 78: .standard(proto: "monodepth_settings"), + 79: .standard(proto: "level_up_rewards"), + 81: .standard(proto: "raid_settings_proto"), + 82: .standard(proto: "tappable_settings"), + 83: .standard(proto: "route_play_settings"), + 84: .standard(proto: "sponsored_geofence_gift_settings"), + 85: .standard(proto: "sticker_metadata"), + 86: .standard(proto: "cross_game_social_settings"), + 87: .standard(proto: "map_display_settings"), + 88: .standard(proto: "pokemon_home_energy_costs"), + 89: .standard(proto: "pokemon_home_settings"), + 90: .standard(proto: "ar_telemetry_settings"), + 91: .standard(proto: "battle_party_settings"), + 93: .standard(proto: "quest_evolution_settings"), + 94: .standard(proto: "pokemon_home_form_reversion"), + 95: .standard(proto: "deep_linking_settings"), + 96: .standard(proto: "gui_search_settings"), + 97: .standard(proto: "evolution_quest_template"), + 98: .standard(proto: "ad_feedback_settings"), + 99: .standard(proto: "friend_profile_settings"), + 100: .standard(proto: "geotargeted_quest_settings"), + 101: .standard(proto: "pokemon_tag_settings"), + 102: .standard(proto: "recommended_search_proto"), + 103: .standard(proto: "inventory_settings"), + 104: .standard(proto: "route_discovery_settings"), + 105: .standard(proto: "egg_transparency_settings"), + 106: .standard(proto: "fort_power_up_level_settings"), + 107: .standard(proto: "power_up_pokestops_settings"), + 108: .standard(proto: "incident_priority_settings"), + 109: .standard(proto: "referral_settings"), + 110: .standard(proto: "fort_power_up_activity_settings"), + 111: .standard(proto: "fort_power_up_spawn_settings"), + 112: .standard(proto: "appraisal_star_threshold_settings"), + 114: .standard(proto: "pokedex_categories_settings"), + 115: .standard(proto: "battle_visual_settings"), + 116: .standard(proto: "addressable_pokemon_settings"), + 117: .standard(proto: "verbose_log_raid_settings"), + 118: .standard(proto: "forms_refactor_settings"), + 119: .standard(proto: "shared_move_settings"), + 120: .standard(proto: "address_book_import_settings"), + 121: .standard(proto: "music_settings"), + 122: .standard(proto: "news_feed_client_settings"), + 123: .standard(proto: "map_objects_interaction_range_settings"), + 124: .standard(proto: "external_addressable_assets_settings"), + 125: .standard(proto: "evolve_preview_settings"), + 126: .standard(proto: "loading_screen_tips_settings"), + 128: .standard(proto: "username_suggestion_settings"), + 129: .standard(proto: "tutorial_settings"), + 130: .standard(proto: "egg_hatch_improvements_settings"), + 131: .standard(proto: "feature_unlock_level_settings"), + 132: .standard(proto: "in_app_survey_settings"), + 133: .standard(proto: "incident_visibility_settings"), + 134: .standard(proto: "postcard_collection_settings"), + 135: .standard(proto: "berry_farming_settings"), + 136: .standard(proto: "verbose_log_combat_settings"), + 137: .standard(proto: "mega_evo_level_settings"), + 138: .standard(proto: "advanced_settings"), + 139: .standard(proto: "file_cache_size_settings"), + 140: .standard(proto: "impression_tracking_settings"), + 141: .standard(proto: "garbage_collection_settings"), + 142: .standard(proto: "evolution_chain_display_settings"), + 143: .standard(proto: "route_stamp_category_settings"), + 145: .standard(proto: "popup_control_settings"), + 146: .standard(proto: "ticket_gifting_settings"), + 147: .standard(proto: "language_selector_settings"), + 148: .standard(proto: "gifting_settings"), + 149: .standard(proto: "campfire_settings"), + 150: .standard(proto: "photo_settings"), + 151: .standard(proto: "daily_adventure_incense_settings"), + 152: .standard(proto: "item_inventory_update_settings"), + 153: .standard(proto: "sticker_category_settings"), + 154: .standard(proto: "home_widget_settings"), + 155: .standard(proto: "vs_seeker_schedule_settings"), + 156: .standard(proto: "pokedex_size_stats_system_settings"), + 157: .standard(proto: "asset_refresh_proto"), + 159: .standard(proto: "pokemon_fx_settings"), + 160: .standard(proto: "butterfly_collector_settings"), + 161: .standard(proto: "language_settings"), + 162: .standard(proto: "pokemon_extended_settings"), + 163: .standard(proto: "dojo_settings"), + 164: .standard(proto: "incubator_flow_settings"), + 165: .standard(proto: "primal_evo_settings"), + 167: .standard(proto: "nia_id_migration_settings"), + 168: .standard(proto: "critical_reticle_settings"), + 169: .standard(proto: "location_card_feature_settings"), + 170: .standard(proto: "location_card_settings"), + 171: .standard(proto: "conversation_settings"), + 172: .standard(proto: "vps_event_settings"), + 173: .standard(proto: "catch_radius_multiplier_settings"), + 174: .standard(proto: "haptics_settings"), + 177: .standard(proto: "raid_lobby_counter_settings"), + 178: .standard(proto: "contest_settings"), + 179: .standard(proto: "guest_account_game_settings_proto"), + 180: .standard(proto: "neutral_avatar_settings"), + 181: .standard(proto: "squash_settings"), + 183: .standard(proto: "buff_settings"), + 184: .standard(proto: "today_view_settings"), + 185: .standard(proto: "pokemon_filter_settings"), + 186: .standard(proto: "route_pin_settings"), + 187: .standard(proto: "style_shop_settings"), + 188: .standard(proto: "party_play_general_settings"), + 189: .standard(proto: "boot_settings"), + 190: .standard(proto: "optimizations_proto"), + 191: .standard(proto: "nearby_pokemon_settings"), + 192: .standard(proto: "party_player_summary_settings"), + 193: .standard(proto: "extended_primal_settings"), + 194: .standard(proto: "party_shared_quest_settings"), + 195: .standard(proto: "pokecoin_cap_settings"), + 196: .standard(proto: "client_poi_decoration_group"), + 197: .standard(proto: "map_coord_overlay"), + 198: .standard(proto: "vista_general_settings"), + 199: .standard(proto: "route_badge_settings"), + 200: .standard(proto: "party_dark_launch_settings"), + 201: .standard(proto: "routes_party_play_interop_settings"), + 202: .standard(proto: "routes_nearby_notif_settings"), + 203: .standard(proto: "dawn_dusk_settings"), + 204: .standard(proto: "non_combat_move_settings"), + 205: .standard(proto: "route_npc_gift_settings"), + 207: .standard(proto: "ptc_oauth_settings"), + 208: .standard(proto: "shared_non_combat_move_settings"), + 209: .standard(proto: "graphics_capabilities_settings"), + 210: .standard(proto: "party_iap_boosts_settings"), + 211: .standard(proto: "language_bundle"), + 212: .standard(proto: "bulk_healing_settings"), + 213: .standard(proto: "pokemon_cutscene_refactor_settings"), ] - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._rotation) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitudeDegrees) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitudeDegrees) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.altitudeMetres) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._placementAccuracy) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._rotation { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.latitudeDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.latitudeDegrees, fieldNumber: 2) - } - if self.longitudeDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.longitudeDegrees, fieldNumber: 3) - } - if self.altitudeMetres != 0 { - try visitor.visitSingularDoubleField(value: self.altitudeMetres, fieldNumber: 4) - } - try { if let v = self._placementAccuracy { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - try unknownFields.traverse(visitor: &visitor) - } + fileprivate class _StorageClass { + var _templateID: String = String() + var _pokemon: PokemonSettingsProto? = nil + var _item: ItemSettingsProto? = nil + var _move: MoveSettingsProto? = nil + var _moveSequence: MoveSequenceSettingsProto? = nil + var _typeEffective: TypeEffectiveSettingsProto? = nil + var _badge: BadgeSettingsProto? = nil + var _camera: CameraSettingsProto? = nil + var _playerLevel: PlayerLevelSettingsProto? = nil + var _gymLevel: GymLevelSettingsProto? = nil + var _battleSettings: GymBattleSettingsProto? = nil + var _encounterSettings: EncounterSettingsProto? = nil + var _iapItemDisplay: IapItemDisplayProto? = nil + var _iapSettings: IapSettingsProto? = nil + var _pokemonUpgrades: PokemonUpgradeSettingsProto? = nil + var _questSettings: QuestSettingsProto? = nil + var _avatarCustomization: AvatarCustomizationProto? = nil + var _formSettings: FormSettingsProto? = nil + var _genderSettings: ClientGenderSettingsProto? = nil + var _gymBadgeSettings: GymBadgeGmtSettingsProto? = nil + var _weatherAffinities: WeatherAffinityProto? = nil + var _weatherBonusSettings: WeatherBonusProto? = nil + var _pokemonScaleSettings: PokemonScaleSettingProto? = nil + var _iapCategoryDisplay: IapItemCategoryDisplayProto? = nil + var _belugaPokemonWhitelist: BelugaPokemonWhitelist? = nil + var _onboardingSettings: OnboardingSettingsProto? = nil + var _friendshipMilestoneSettings: FriendshipLevelMilestoneSettingsProto? = nil + var _luckyPokemonSettings: LuckyPokemonSettingsProto? = nil + var _combatSettings: CombatSettingsProto? = nil + var _combatLeagueSettings: CombatLeagueSettingsProto? = nil + var _combatLeague: CombatLeagueProto? = nil + var _combatMove: CombatMoveSettingsProto? = nil + var _backgroundModeSettings: BackgroundModeSettingsProto? = nil + var _combatStatStageSettings: CombatStatStageSettingsProto? = nil + var _combatNpcTrainer: CombatNpcTrainerProto? = nil + var _combatNpcPersonality: CombatNpcPersonalityProto? = nil + var _onboardingV2Settings: OnboardingV2SettingsProto? = nil + var _partyRecommendationSettings: PartyRecommendationSettingsProto? = nil + var _smeargleMovesSettings: SmeargleMovesSettingsProto? = nil + var _pokecoinPurchaseDisplayGmt: PokecoinPurchaseDisplayGmtProto? = nil + var _adventureSyncV2Gmt: AdventureSyncV2GmtProto? = nil + var _loadingScreenSettings: LoadingScreenProto? = nil + var _invasionNpcDisplaySettings: InvasionNpcDisplaySettingsProto? = nil + var _combatCompetitiveSeasonSettings: CombatCompetitiveSeasonSettingsProto? = nil + var _combatRankingProtoSettings: CombatRankingSettingsProto? = nil + var _combatType: CombatTypeProto? = nil + var _buddyLevelSettings: BuddyLevelSettings? = nil + var _buddyActivityCategorySettings: BuddyActivityCategorySettings? = nil + var _buddyActivitySettings: BuddyActivitySettings? = nil + var _buddySwapSettings: BuddySwapSettings? = nil + var _routeCreationSettings: RoutesCreationSettingsProto? = nil + var _vsSeekerClientSettings: VsSeekerClientSettingsProto? = nil + var _buddyEncounterCameoSettings: BuddyEncounterCameoSettings? = nil + var _limitedPurchaseSkuSettings: LimitedPurchaseSkuSettingsProto? = nil + var _buddyEmotionLevelSettings: BuddyEmotionLevelSettings? = nil + var _pokestopInvasionAvailabilitySettings: InvasionAvailabilitySettingsProto? = nil + var _buddyInteractionSettings: BuddyInteractionSettings? = nil + var _vsSeekerLootProto: VsSeekerLootProto? = nil + var _vsSeekerPokemonRewards: VsSeekerPokemonRewardsProto? = nil + var _battleHubOrderSettings: BattleHubOrderSettings? = nil + var _battleHubBadgeSettings: BattleHubBadgeSettings? = nil + var _mapBuddySettings: MapBuddySettingsProto? = nil + var _buddyWalkSettings: BuddyWalkSettings? = nil + var _platypusRolloutSettings: PlatypusRolloutSettingsProto? = nil + var _buddyHungerSettings: BuddyHungerSettings? = nil + var _projectVacation: ProjectVacationProto? = nil + var _megaEvoSettings: MegaEvoSettingsProto? = nil + var _temporaryEvolutionSettings: TemporaryEvolutionSettingsProto? = nil + var _avatarGroupSettings: AvatarGroupSettingsProto? = nil + var _pokemonFamily: PokemonFamilySettingsProto? = nil + var _monodepthSettings: MonodepthSettingsProto? = nil + var _levelUpRewards: LevelUpRewardsSettingsProto? = nil + var _raidSettingsProto: RaidClientSettingsProto? = nil + var _tappableSettings: TappableSettingsProto? = nil + var _routePlaySettings: RoutePlaySettingsProto? = nil + var _sponsoredGeofenceGiftSettings: SponsoredGeofenceGiftSettingsProto? = nil + var _stickerMetadata: StickerMetadataProto? = nil + var _crossGameSocialSettings: CrossGameSocialSettingsProto? = nil + var _mapDisplaySettings: MapDisplaySettingsProto? = nil + var _pokemonHomeEnergyCosts: PokemonHomeEnergyCostsProto? = nil + var _pokemonHomeSettings: PokemonHomeSettingsProto? = nil + var _arTelemetrySettings: ArTelemetrySettingsProto? = nil + var _battlePartySettings: BattlePartySettingsProto? = nil + var _questEvolutionSettings: QuestEvolutionSettingsProto? = nil + var _pokemonHomeFormReversion: PokemonHomeFormReversionProto? = nil + var _deepLinkingSettings: DeepLinkingSettingsProto? = nil + var _guiSearchSettings: GuiSearchSettingsProto? = nil + var _evolutionQuestTemplate: ClientEvolutionQuestTemplateProto? = nil + var _adFeedbackSettings: AdFeedbackSettingsProto? = nil + var _friendProfileSettings: FriendProfileSettingsProto? = nil + var _geotargetedQuestSettings: GeotargetedQuestSettingsProto? = nil + var _pokemonTagSettings: PokemonTagSettingsProto? = nil + var _recommendedSearchProto: RecommendedSearchProto? = nil + var _inventorySettings: InventorySettingsProto? = nil + var _routeDiscoverySettings: RouteDiscoverySettingsProto? = nil + var _eggTransparencySettings: EggTransparencySettingsProto? = nil + var _fortPowerUpLevelSettings: FortPowerUpLevelSettings? = nil + var _powerUpPokestopsSettings: PowerUpPokestopsSharedSettingsProto? = nil + var _incidentPrioritySettings: IncidentPrioritySettingsProto? = nil + var _referralSettings: ReferralSettingsProto? = nil + var _fortPowerUpActivitySettings: FortPowerUpActivitySettings? = nil + var _fortPowerUpSpawnSettings: FortPowerUpSpawnSettings? = nil + var _appraisalStarThresholdSettings: AppraisalStarThresholdSettings? = nil + var _pokedexCategoriesSettings: PokedexCategoriesSettingsProto? = nil + var _battleVisualSettings: BattleVisualSettingsProto? = nil + var _addressablePokemonSettings: AddressablePokemonProto? = nil + var _verboseLogRaidSettings: VerboseLogRaidProto? = nil + var _formsRefactorSettings: FormsRefactorSettingsProto? = nil + var _sharedMoveSettings: SharedMoveSettingsProto? = nil + var _addressBookImportSettings: AddressBookImportSettingsProto? = nil + var _musicSettings: MusicSettingsProto? = nil + var _newsFeedClientSettings: NewsFeedClientSettingsProto? = nil + var _mapObjectsInteractionRangeSettings: ClientMapObjectsInteractionRangeSettingsProto? = nil + var _externalAddressableAssetsSettings: ExternalAddressableAssetsProto? = nil + var _evolvePreviewSettings: EvolvePreviewSettingsProto? = nil + var _loadingScreenTipsSettings: LoadingScreenTipsSettingsProto? = nil + var _usernameSuggestionSettings: UsernameSuggestionSettingsProto? = nil + var _tutorialSettings: TutorialsSettingsProto? = nil + var _eggHatchImprovementsSettings: EggHatchImprovementsSettingsProto? = nil + var _featureUnlockLevelSettings: FeatureUnlockLevelSettings? = nil + var _inAppSurveySettings: InAppSurveySettingsProto? = nil + var _incidentVisibilitySettings: IncidentVisibilitySettingsProto? = nil + var _postcardCollectionSettings: PostcardCollectionGmtSettingsProto? = nil + var _berryFarmingSettings: BerryFarmingSettingsProto? = nil + var _verboseLogCombatSettings: VerboseLogCombatProto? = nil + var _megaEvoLevelSettings: MegaEvolutionLevelSettingsProto? = nil + var _advancedSettings: AdvancedSettingsProto? = nil + var _fileCacheSizeSettings: FileCacheSizeSettingsProto? = nil + var _impressionTrackingSettings: ImpressionTrackingSettingsProto? = nil + var _garbageCollectionSettings: GarbageCollectionSettingsProto? = nil + var _evolutionChainDisplaySettings: EvolutionChainDisplaySettingsProto? = nil + var _routeStampCategorySettings: RouteStampCategorySettingsProto? = nil + var _popupControlSettings: PopupControlSettingsProto? = nil + var _ticketGiftingSettings: TicketGiftingSettingsProto? = nil + var _languageSelectorSettings: LanguageSelectorSettingsProto? = nil + var _giftingSettings: GiftingSettingsProto? = nil + var _campfireSettings: CampfireSettingsProto? = nil + var _photoSettings: PhotoSettingsProto? = nil + var _dailyAdventureIncenseSettings: DailyAdventureIncenseSettingsProto? = nil + var _itemInventoryUpdateSettings: ItemInventoryUpdateSettingsProto? = nil + var _stickerCategorySettings: StickerCategorySettingsProto? = nil + var _homeWidgetSettings: HomeWidgetSettingsProto? = nil + var _vsSeekerScheduleSettings: VsSeekerScheduleSettingsProto? = nil + var _pokedexSizeStatsSystemSettings: PokedexSizeStatsSystemSettingsProto? = nil + var _assetRefreshProto: AssetRefreshProto? = nil + var _pokemonFxSettings: PokemonFxSettingsProto? = nil + var _butterflyCollectorSettings: ButterflyCollectorSettings? = nil + var _languageSettings: LanguageSettingsProto? = nil + var _pokemonExtendedSettings: PokemonExtendedSettingsProto? = nil + var _dojoSettings: DojoSettingsProto? = nil + var _incubatorFlowSettings: IncubatorFlowSettingsProto? = nil + var _primalEvoSettings: PrimalEvoSettingsProto? = nil + var _niaIDMigrationSettings: NiaIdMigrationSettingsProto? = nil + var _criticalReticleSettings: CriticalReticleSettingsProto? = nil + var _locationCardFeatureSettings: LocationCardFeatureSettingsProto? = nil + var _locationCardSettings: LocationCardSettingsProto? = nil + var _conversationSettings: ConversationSettingsProto? = nil + var _vpsEventSettings: VpsEventSettingsProto? = nil + var _catchRadiusMultiplierSettings: CatchRadiusMultiplierSettingsProto? = nil + var _hapticsSettings: HapticsSettingsProto? = nil + var _raidLobbyCounterSettings: RaidLobbyCounterSettingsProto? = nil + var _contestSettings: ContestSettingsProto? = nil + var _guestAccountGameSettingsProto: GuestAccountGameSettingsProto? = nil + var _neutralAvatarSettings: NeutralAvatarSettingsProto? = nil + var _squashSettings: SquashSettingsProto? = nil + var _buffSettings: BuffSettingsProto? = nil + var _todayViewSettings: TodayViewSettingsProto? = nil + var _pokemonFilterSettings: PokemonFilterSettingsProto? = nil + var _routePinSettings: RoutePinSettingsProto? = nil + var _styleShopSettings: StyleShopSettingsProto? = nil + var _partyPlayGeneralSettings: PartyPlayGeneralSettingsProto? = nil + var _bootSettings: BootSettingsProto? = nil + var _optimizationsProto: OptimizationsProto? = nil + var _nearbyPokemonSettings: NearbyPokemonSettings? = nil + var _partyPlayerSummarySettings: PartySummarySettingsProto? = nil + var _extendedPrimalSettings: ExtendedPrimalSettingsProto? = nil + var _partySharedQuestSettings: PartySharedQuestSettingsProto? = nil + var _pokecoinCapSettings: PokecoinCapSettings? = nil + var _clientPoiDecorationGroup: ClientPoiDecorationGroupProto? = nil + var _mapCoordOverlay: MapCoordOverlayProto? = nil + var _vistaGeneralSettings: VistaGeneralSettingsProto? = nil + var _routeBadgeSettings: RouteBadgeSettingsProto? = nil + var _partyDarkLaunchSettings: PartyDarkLaunchSettingsProto? = nil + var _routesPartyPlayInteropSettings: RoutesPartyPlayInteroperabilitySettingsProto? = nil + var _routesNearbyNotifSettings: RoutesNearbyNotifSettingsProto? = nil + var _dawnDuskSettings: DawnDuskSettingsProto? = nil + var _nonCombatMoveSettings: NonCombatMoveSettingsProto? = nil + var _routeNpcGiftSettings: RouteNpcGiftSettingsProto? = nil + var _ptcOauthSettings: PtcOAuthSettingsProto? = nil + var _sharedNonCombatMoveSettings: SharedNonCombatMoveSettingsProto? = nil + var _graphicsCapabilitiesSettings: GraphicsCapabilitiesSettingsProto? = nil + var _partyIapBoostsSettings: PartyIapBoostsSettingsProto? = nil + var _languageBundle: LanguageBundleProto? = nil + var _bulkHealingSettings: BulkHealingSettingsProto? = nil + var _pokemonCutsceneRefactorSettings: PokemonCutsceneRefactorSettingsProto? = nil - public static func ==(lhs: GeoAssociation, rhs: GeoAssociation) -> Bool { - if lhs._rotation != rhs._rotation {return false} - if lhs.latitudeDegrees != rhs.latitudeDegrees {return false} - if lhs.longitudeDegrees != rhs.longitudeDegrees {return false} - if lhs.altitudeMetres != rhs.altitudeMetres {return false} - if lhs._placementAccuracy != rhs._placementAccuracy {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} + static let defaultInstance = _StorageClass() -extension GeodataServiceGameClientPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GeodataServiceGameClientPoiProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .same(proto: "title"), - 3: .same(proto: "description"), - 4: .same(proto: "location"), - 5: .standard(proto: "image_url"), - 6: .standard(proto: "is_in_game"), - ] + private init() {} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.title) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._location) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.isInGame) }() - default: break - } + init(copying source: _StorageClass) { + _templateID = source._templateID + _pokemon = source._pokemon + _item = source._item + _move = source._move + _moveSequence = source._moveSequence + _typeEffective = source._typeEffective + _badge = source._badge + _camera = source._camera + _playerLevel = source._playerLevel + _gymLevel = source._gymLevel + _battleSettings = source._battleSettings + _encounterSettings = source._encounterSettings + _iapItemDisplay = source._iapItemDisplay + _iapSettings = source._iapSettings + _pokemonUpgrades = source._pokemonUpgrades + _questSettings = source._questSettings + _avatarCustomization = source._avatarCustomization + _formSettings = source._formSettings + _genderSettings = source._genderSettings + _gymBadgeSettings = source._gymBadgeSettings + _weatherAffinities = source._weatherAffinities + _weatherBonusSettings = source._weatherBonusSettings + _pokemonScaleSettings = source._pokemonScaleSettings + _iapCategoryDisplay = source._iapCategoryDisplay + _belugaPokemonWhitelist = source._belugaPokemonWhitelist + _onboardingSettings = source._onboardingSettings + _friendshipMilestoneSettings = source._friendshipMilestoneSettings + _luckyPokemonSettings = source._luckyPokemonSettings + _combatSettings = source._combatSettings + _combatLeagueSettings = source._combatLeagueSettings + _combatLeague = source._combatLeague + _combatMove = source._combatMove + _backgroundModeSettings = source._backgroundModeSettings + _combatStatStageSettings = source._combatStatStageSettings + _combatNpcTrainer = source._combatNpcTrainer + _combatNpcPersonality = source._combatNpcPersonality + _onboardingV2Settings = source._onboardingV2Settings + _partyRecommendationSettings = source._partyRecommendationSettings + _smeargleMovesSettings = source._smeargleMovesSettings + _pokecoinPurchaseDisplayGmt = source._pokecoinPurchaseDisplayGmt + _adventureSyncV2Gmt = source._adventureSyncV2Gmt + _loadingScreenSettings = source._loadingScreenSettings + _invasionNpcDisplaySettings = source._invasionNpcDisplaySettings + _combatCompetitiveSeasonSettings = source._combatCompetitiveSeasonSettings + _combatRankingProtoSettings = source._combatRankingProtoSettings + _combatType = source._combatType + _buddyLevelSettings = source._buddyLevelSettings + _buddyActivityCategorySettings = source._buddyActivityCategorySettings + _buddyActivitySettings = source._buddyActivitySettings + _buddySwapSettings = source._buddySwapSettings + _routeCreationSettings = source._routeCreationSettings + _vsSeekerClientSettings = source._vsSeekerClientSettings + _buddyEncounterCameoSettings = source._buddyEncounterCameoSettings + _limitedPurchaseSkuSettings = source._limitedPurchaseSkuSettings + _buddyEmotionLevelSettings = source._buddyEmotionLevelSettings + _pokestopInvasionAvailabilitySettings = source._pokestopInvasionAvailabilitySettings + _buddyInteractionSettings = source._buddyInteractionSettings + _vsSeekerLootProto = source._vsSeekerLootProto + _vsSeekerPokemonRewards = source._vsSeekerPokemonRewards + _battleHubOrderSettings = source._battleHubOrderSettings + _battleHubBadgeSettings = source._battleHubBadgeSettings + _mapBuddySettings = source._mapBuddySettings + _buddyWalkSettings = source._buddyWalkSettings + _platypusRolloutSettings = source._platypusRolloutSettings + _buddyHungerSettings = source._buddyHungerSettings + _projectVacation = source._projectVacation + _megaEvoSettings = source._megaEvoSettings + _temporaryEvolutionSettings = source._temporaryEvolutionSettings + _avatarGroupSettings = source._avatarGroupSettings + _pokemonFamily = source._pokemonFamily + _monodepthSettings = source._monodepthSettings + _levelUpRewards = source._levelUpRewards + _raidSettingsProto = source._raidSettingsProto + _tappableSettings = source._tappableSettings + _routePlaySettings = source._routePlaySettings + _sponsoredGeofenceGiftSettings = source._sponsoredGeofenceGiftSettings + _stickerMetadata = source._stickerMetadata + _crossGameSocialSettings = source._crossGameSocialSettings + _mapDisplaySettings = source._mapDisplaySettings + _pokemonHomeEnergyCosts = source._pokemonHomeEnergyCosts + _pokemonHomeSettings = source._pokemonHomeSettings + _arTelemetrySettings = source._arTelemetrySettings + _battlePartySettings = source._battlePartySettings + _questEvolutionSettings = source._questEvolutionSettings + _pokemonHomeFormReversion = source._pokemonHomeFormReversion + _deepLinkingSettings = source._deepLinkingSettings + _guiSearchSettings = source._guiSearchSettings + _evolutionQuestTemplate = source._evolutionQuestTemplate + _adFeedbackSettings = source._adFeedbackSettings + _friendProfileSettings = source._friendProfileSettings + _geotargetedQuestSettings = source._geotargetedQuestSettings + _pokemonTagSettings = source._pokemonTagSettings + _recommendedSearchProto = source._recommendedSearchProto + _inventorySettings = source._inventorySettings + _routeDiscoverySettings = source._routeDiscoverySettings + _eggTransparencySettings = source._eggTransparencySettings + _fortPowerUpLevelSettings = source._fortPowerUpLevelSettings + _powerUpPokestopsSettings = source._powerUpPokestopsSettings + _incidentPrioritySettings = source._incidentPrioritySettings + _referralSettings = source._referralSettings + _fortPowerUpActivitySettings = source._fortPowerUpActivitySettings + _fortPowerUpSpawnSettings = source._fortPowerUpSpawnSettings + _appraisalStarThresholdSettings = source._appraisalStarThresholdSettings + _pokedexCategoriesSettings = source._pokedexCategoriesSettings + _battleVisualSettings = source._battleVisualSettings + _addressablePokemonSettings = source._addressablePokemonSettings + _verboseLogRaidSettings = source._verboseLogRaidSettings + _formsRefactorSettings = source._formsRefactorSettings + _sharedMoveSettings = source._sharedMoveSettings + _addressBookImportSettings = source._addressBookImportSettings + _musicSettings = source._musicSettings + _newsFeedClientSettings = source._newsFeedClientSettings + _mapObjectsInteractionRangeSettings = source._mapObjectsInteractionRangeSettings + _externalAddressableAssetsSettings = source._externalAddressableAssetsSettings + _evolvePreviewSettings = source._evolvePreviewSettings + _loadingScreenTipsSettings = source._loadingScreenTipsSettings + _usernameSuggestionSettings = source._usernameSuggestionSettings + _tutorialSettings = source._tutorialSettings + _eggHatchImprovementsSettings = source._eggHatchImprovementsSettings + _featureUnlockLevelSettings = source._featureUnlockLevelSettings + _inAppSurveySettings = source._inAppSurveySettings + _incidentVisibilitySettings = source._incidentVisibilitySettings + _postcardCollectionSettings = source._postcardCollectionSettings + _berryFarmingSettings = source._berryFarmingSettings + _verboseLogCombatSettings = source._verboseLogCombatSettings + _megaEvoLevelSettings = source._megaEvoLevelSettings + _advancedSettings = source._advancedSettings + _fileCacheSizeSettings = source._fileCacheSizeSettings + _impressionTrackingSettings = source._impressionTrackingSettings + _garbageCollectionSettings = source._garbageCollectionSettings + _evolutionChainDisplaySettings = source._evolutionChainDisplaySettings + _routeStampCategorySettings = source._routeStampCategorySettings + _popupControlSettings = source._popupControlSettings + _ticketGiftingSettings = source._ticketGiftingSettings + _languageSelectorSettings = source._languageSelectorSettings + _giftingSettings = source._giftingSettings + _campfireSettings = source._campfireSettings + _photoSettings = source._photoSettings + _dailyAdventureIncenseSettings = source._dailyAdventureIncenseSettings + _itemInventoryUpdateSettings = source._itemInventoryUpdateSettings + _stickerCategorySettings = source._stickerCategorySettings + _homeWidgetSettings = source._homeWidgetSettings + _vsSeekerScheduleSettings = source._vsSeekerScheduleSettings + _pokedexSizeStatsSystemSettings = source._pokedexSizeStatsSystemSettings + _assetRefreshProto = source._assetRefreshProto + _pokemonFxSettings = source._pokemonFxSettings + _butterflyCollectorSettings = source._butterflyCollectorSettings + _languageSettings = source._languageSettings + _pokemonExtendedSettings = source._pokemonExtendedSettings + _dojoSettings = source._dojoSettings + _incubatorFlowSettings = source._incubatorFlowSettings + _primalEvoSettings = source._primalEvoSettings + _niaIDMigrationSettings = source._niaIDMigrationSettings + _criticalReticleSettings = source._criticalReticleSettings + _locationCardFeatureSettings = source._locationCardFeatureSettings + _locationCardSettings = source._locationCardSettings + _conversationSettings = source._conversationSettings + _vpsEventSettings = source._vpsEventSettings + _catchRadiusMultiplierSettings = source._catchRadiusMultiplierSettings + _hapticsSettings = source._hapticsSettings + _raidLobbyCounterSettings = source._raidLobbyCounterSettings + _contestSettings = source._contestSettings + _guestAccountGameSettingsProto = source._guestAccountGameSettingsProto + _neutralAvatarSettings = source._neutralAvatarSettings + _squashSettings = source._squashSettings + _buffSettings = source._buffSettings + _todayViewSettings = source._todayViewSettings + _pokemonFilterSettings = source._pokemonFilterSettings + _routePinSettings = source._routePinSettings + _styleShopSettings = source._styleShopSettings + _partyPlayGeneralSettings = source._partyPlayGeneralSettings + _bootSettings = source._bootSettings + _optimizationsProto = source._optimizationsProto + _nearbyPokemonSettings = source._nearbyPokemonSettings + _partyPlayerSummarySettings = source._partyPlayerSummarySettings + _extendedPrimalSettings = source._extendedPrimalSettings + _partySharedQuestSettings = source._partySharedQuestSettings + _pokecoinCapSettings = source._pokecoinCapSettings + _clientPoiDecorationGroup = source._clientPoiDecorationGroup + _mapCoordOverlay = source._mapCoordOverlay + _vistaGeneralSettings = source._vistaGeneralSettings + _routeBadgeSettings = source._routeBadgeSettings + _partyDarkLaunchSettings = source._partyDarkLaunchSettings + _routesPartyPlayInteropSettings = source._routesPartyPlayInteropSettings + _routesNearbyNotifSettings = source._routesNearbyNotifSettings + _dawnDuskSettings = source._dawnDuskSettings + _nonCombatMoveSettings = source._nonCombatMoveSettings + _routeNpcGiftSettings = source._routeNpcGiftSettings + _ptcOauthSettings = source._ptcOauthSettings + _sharedNonCombatMoveSettings = source._sharedNonCombatMoveSettings + _graphicsCapabilitiesSettings = source._graphicsCapabilitiesSettings + _partyIapBoostsSettings = source._partyIapBoostsSettings + _languageBundle = source._languageBundle + _bulkHealingSettings = source._bulkHealingSettings + _pokemonCutsceneRefactorSettings = source._pokemonCutsceneRefactorSettings } } - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) - } - if !self.title.isEmpty { - try visitor.visitSingularStringField(value: self.title, fieldNumber: 2) - } - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) - } - try { if let v = self._location { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 5) - } - if self.isInGame != false { - try visitor.visitSingularBoolField(value: self.isInGame, fieldNumber: 6) + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GeodataServiceGameClientPoiProto, rhs: GeodataServiceGameClientPoiProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.title != rhs.title {return false} - if lhs.description_p != rhs.description_p {return false} - if lhs._location != rhs._location {return false} - if lhs.imageURL != rhs.imageURL {return false} - if lhs.isInGame != rhs.isInGame {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + return _storage } -} - -extension GeofenceMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GeofenceMetadata" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "latitude_deg"), - 2: .standard(proto: "longitude_deg"), - 3: .same(proto: "radius"), - 4: .same(proto: "identifier"), - 5: .standard(proto: "expiration_ms"), - 6: .standard(proto: "dwell_time_ms"), - 7: .standard(proto: "fire_on_entrance"), - 8: .standard(proto: "fire_on_exit"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitudeDeg) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitudeDeg) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.radius) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.identifier) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.expirationMs) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.dwellTimeMs) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.fireOnEntrance) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.fireOnExit) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._templateID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._item) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._move) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._moveSequence) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._typeEffective) }() + case 10: try { try decoder.decodeSingularMessageField(value: &_storage._badge) }() + case 11: try { try decoder.decodeSingularMessageField(value: &_storage._camera) }() + case 12: try { try decoder.decodeSingularMessageField(value: &_storage._playerLevel) }() + case 13: try { try decoder.decodeSingularMessageField(value: &_storage._gymLevel) }() + case 14: try { try decoder.decodeSingularMessageField(value: &_storage._battleSettings) }() + case 15: try { try decoder.decodeSingularMessageField(value: &_storage._encounterSettings) }() + case 16: try { try decoder.decodeSingularMessageField(value: &_storage._iapItemDisplay) }() + case 17: try { try decoder.decodeSingularMessageField(value: &_storage._iapSettings) }() + case 18: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonUpgrades) }() + case 20: try { try decoder.decodeSingularMessageField(value: &_storage._questSettings) }() + case 21: try { try decoder.decodeSingularMessageField(value: &_storage._avatarCustomization) }() + case 22: try { try decoder.decodeSingularMessageField(value: &_storage._formSettings) }() + case 23: try { try decoder.decodeSingularMessageField(value: &_storage._genderSettings) }() + case 24: try { try decoder.decodeSingularMessageField(value: &_storage._gymBadgeSettings) }() + case 25: try { try decoder.decodeSingularMessageField(value: &_storage._weatherAffinities) }() + case 26: try { try decoder.decodeSingularMessageField(value: &_storage._weatherBonusSettings) }() + case 27: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonScaleSettings) }() + case 28: try { try decoder.decodeSingularMessageField(value: &_storage._iapCategoryDisplay) }() + case 29: try { try decoder.decodeSingularMessageField(value: &_storage._belugaPokemonWhitelist) }() + case 30: try { try decoder.decodeSingularMessageField(value: &_storage._onboardingSettings) }() + case 31: try { try decoder.decodeSingularMessageField(value: &_storage._friendshipMilestoneSettings) }() + case 32: try { try decoder.decodeSingularMessageField(value: &_storage._luckyPokemonSettings) }() + case 33: try { try decoder.decodeSingularMessageField(value: &_storage._combatSettings) }() + case 34: try { try decoder.decodeSingularMessageField(value: &_storage._combatLeagueSettings) }() + case 35: try { try decoder.decodeSingularMessageField(value: &_storage._combatLeague) }() + case 37: try { try decoder.decodeSingularMessageField(value: &_storage._combatMove) }() + case 38: try { try decoder.decodeSingularMessageField(value: &_storage._backgroundModeSettings) }() + case 39: try { try decoder.decodeSingularMessageField(value: &_storage._combatStatStageSettings) }() + case 40: try { try decoder.decodeSingularMessageField(value: &_storage._combatNpcTrainer) }() + case 41: try { try decoder.decodeSingularMessageField(value: &_storage._combatNpcPersonality) }() + case 42: try { try decoder.decodeSingularMessageField(value: &_storage._onboardingV2Settings) }() + case 43: try { try decoder.decodeSingularMessageField(value: &_storage._partyRecommendationSettings) }() + case 44: try { try decoder.decodeSingularMessageField(value: &_storage._smeargleMovesSettings) }() + case 45: try { try decoder.decodeSingularMessageField(value: &_storage._pokecoinPurchaseDisplayGmt) }() + case 46: try { try decoder.decodeSingularMessageField(value: &_storage._adventureSyncV2Gmt) }() + case 47: try { try decoder.decodeSingularMessageField(value: &_storage._loadingScreenSettings) }() + case 48: try { try decoder.decodeSingularMessageField(value: &_storage._invasionNpcDisplaySettings) }() + case 49: try { try decoder.decodeSingularMessageField(value: &_storage._combatCompetitiveSeasonSettings) }() + case 50: try { try decoder.decodeSingularMessageField(value: &_storage._combatRankingProtoSettings) }() + case 51: try { try decoder.decodeSingularMessageField(value: &_storage._combatType) }() + case 52: try { try decoder.decodeSingularMessageField(value: &_storage._buddyLevelSettings) }() + case 53: try { try decoder.decodeSingularMessageField(value: &_storage._buddyActivityCategorySettings) }() + case 54: try { try decoder.decodeSingularMessageField(value: &_storage._buddyActivitySettings) }() + case 56: try { try decoder.decodeSingularMessageField(value: &_storage._buddySwapSettings) }() + case 57: try { try decoder.decodeSingularMessageField(value: &_storage._routeCreationSettings) }() + case 58: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerClientSettings) }() + case 59: try { try decoder.decodeSingularMessageField(value: &_storage._buddyEncounterCameoSettings) }() + case 60: try { try decoder.decodeSingularMessageField(value: &_storage._limitedPurchaseSkuSettings) }() + case 61: try { try decoder.decodeSingularMessageField(value: &_storage._buddyEmotionLevelSettings) }() + case 62: try { try decoder.decodeSingularMessageField(value: &_storage._pokestopInvasionAvailabilitySettings) }() + case 63: try { try decoder.decodeSingularMessageField(value: &_storage._buddyInteractionSettings) }() + case 64: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerLootProto) }() + case 65: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerPokemonRewards) }() + case 66: try { try decoder.decodeSingularMessageField(value: &_storage._battleHubOrderSettings) }() + case 67: try { try decoder.decodeSingularMessageField(value: &_storage._battleHubBadgeSettings) }() + case 68: try { try decoder.decodeSingularMessageField(value: &_storage._mapBuddySettings) }() + case 69: try { try decoder.decodeSingularMessageField(value: &_storage._buddyWalkSettings) }() + case 70: try { try decoder.decodeSingularMessageField(value: &_storage._platypusRolloutSettings) }() + case 72: try { try decoder.decodeSingularMessageField(value: &_storage._buddyHungerSettings) }() + case 73: try { try decoder.decodeSingularMessageField(value: &_storage._projectVacation) }() + case 74: try { try decoder.decodeSingularMessageField(value: &_storage._megaEvoSettings) }() + case 75: try { try decoder.decodeSingularMessageField(value: &_storage._temporaryEvolutionSettings) }() + case 76: try { try decoder.decodeSingularMessageField(value: &_storage._avatarGroupSettings) }() + case 77: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonFamily) }() + case 78: try { try decoder.decodeSingularMessageField(value: &_storage._monodepthSettings) }() + case 79: try { try decoder.decodeSingularMessageField(value: &_storage._levelUpRewards) }() + case 81: try { try decoder.decodeSingularMessageField(value: &_storage._raidSettingsProto) }() + case 82: try { try decoder.decodeSingularMessageField(value: &_storage._tappableSettings) }() + case 83: try { try decoder.decodeSingularMessageField(value: &_storage._routePlaySettings) }() + case 84: try { try decoder.decodeSingularMessageField(value: &_storage._sponsoredGeofenceGiftSettings) }() + case 85: try { try decoder.decodeSingularMessageField(value: &_storage._stickerMetadata) }() + case 86: try { try decoder.decodeSingularMessageField(value: &_storage._crossGameSocialSettings) }() + case 87: try { try decoder.decodeSingularMessageField(value: &_storage._mapDisplaySettings) }() + case 88: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonHomeEnergyCosts) }() + case 89: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonHomeSettings) }() + case 90: try { try decoder.decodeSingularMessageField(value: &_storage._arTelemetrySettings) }() + case 91: try { try decoder.decodeSingularMessageField(value: &_storage._battlePartySettings) }() + case 93: try { try decoder.decodeSingularMessageField(value: &_storage._questEvolutionSettings) }() + case 94: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonHomeFormReversion) }() + case 95: try { try decoder.decodeSingularMessageField(value: &_storage._deepLinkingSettings) }() + case 96: try { try decoder.decodeSingularMessageField(value: &_storage._guiSearchSettings) }() + case 97: try { try decoder.decodeSingularMessageField(value: &_storage._evolutionQuestTemplate) }() + case 98: try { try decoder.decodeSingularMessageField(value: &_storage._adFeedbackSettings) }() + case 99: try { try decoder.decodeSingularMessageField(value: &_storage._friendProfileSettings) }() + case 100: try { try decoder.decodeSingularMessageField(value: &_storage._geotargetedQuestSettings) }() + case 101: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonTagSettings) }() + case 102: try { try decoder.decodeSingularMessageField(value: &_storage._recommendedSearchProto) }() + case 103: try { try decoder.decodeSingularMessageField(value: &_storage._inventorySettings) }() + case 104: try { try decoder.decodeSingularMessageField(value: &_storage._routeDiscoverySettings) }() + case 105: try { try decoder.decodeSingularMessageField(value: &_storage._eggTransparencySettings) }() + case 106: try { try decoder.decodeSingularMessageField(value: &_storage._fortPowerUpLevelSettings) }() + case 107: try { try decoder.decodeSingularMessageField(value: &_storage._powerUpPokestopsSettings) }() + case 108: try { try decoder.decodeSingularMessageField(value: &_storage._incidentPrioritySettings) }() + case 109: try { try decoder.decodeSingularMessageField(value: &_storage._referralSettings) }() + case 110: try { try decoder.decodeSingularMessageField(value: &_storage._fortPowerUpActivitySettings) }() + case 111: try { try decoder.decodeSingularMessageField(value: &_storage._fortPowerUpSpawnSettings) }() + case 112: try { try decoder.decodeSingularMessageField(value: &_storage._appraisalStarThresholdSettings) }() + case 114: try { try decoder.decodeSingularMessageField(value: &_storage._pokedexCategoriesSettings) }() + case 115: try { try decoder.decodeSingularMessageField(value: &_storage._battleVisualSettings) }() + case 116: try { try decoder.decodeSingularMessageField(value: &_storage._addressablePokemonSettings) }() + case 117: try { try decoder.decodeSingularMessageField(value: &_storage._verboseLogRaidSettings) }() + case 118: try { try decoder.decodeSingularMessageField(value: &_storage._formsRefactorSettings) }() + case 119: try { try decoder.decodeSingularMessageField(value: &_storage._sharedMoveSettings) }() + case 120: try { try decoder.decodeSingularMessageField(value: &_storage._addressBookImportSettings) }() + case 121: try { try decoder.decodeSingularMessageField(value: &_storage._musicSettings) }() + case 122: try { try decoder.decodeSingularMessageField(value: &_storage._newsFeedClientSettings) }() + case 123: try { try decoder.decodeSingularMessageField(value: &_storage._mapObjectsInteractionRangeSettings) }() + case 124: try { try decoder.decodeSingularMessageField(value: &_storage._externalAddressableAssetsSettings) }() + case 125: try { try decoder.decodeSingularMessageField(value: &_storage._evolvePreviewSettings) }() + case 126: try { try decoder.decodeSingularMessageField(value: &_storage._loadingScreenTipsSettings) }() + case 128: try { try decoder.decodeSingularMessageField(value: &_storage._usernameSuggestionSettings) }() + case 129: try { try decoder.decodeSingularMessageField(value: &_storage._tutorialSettings) }() + case 130: try { try decoder.decodeSingularMessageField(value: &_storage._eggHatchImprovementsSettings) }() + case 131: try { try decoder.decodeSingularMessageField(value: &_storage._featureUnlockLevelSettings) }() + case 132: try { try decoder.decodeSingularMessageField(value: &_storage._inAppSurveySettings) }() + case 133: try { try decoder.decodeSingularMessageField(value: &_storage._incidentVisibilitySettings) }() + case 134: try { try decoder.decodeSingularMessageField(value: &_storage._postcardCollectionSettings) }() + case 135: try { try decoder.decodeSingularMessageField(value: &_storage._berryFarmingSettings) }() + case 136: try { try decoder.decodeSingularMessageField(value: &_storage._verboseLogCombatSettings) }() + case 137: try { try decoder.decodeSingularMessageField(value: &_storage._megaEvoLevelSettings) }() + case 138: try { try decoder.decodeSingularMessageField(value: &_storage._advancedSettings) }() + case 139: try { try decoder.decodeSingularMessageField(value: &_storage._fileCacheSizeSettings) }() + case 140: try { try decoder.decodeSingularMessageField(value: &_storage._impressionTrackingSettings) }() + case 141: try { try decoder.decodeSingularMessageField(value: &_storage._garbageCollectionSettings) }() + case 142: try { try decoder.decodeSingularMessageField(value: &_storage._evolutionChainDisplaySettings) }() + case 143: try { try decoder.decodeSingularMessageField(value: &_storage._routeStampCategorySettings) }() + case 145: try { try decoder.decodeSingularMessageField(value: &_storage._popupControlSettings) }() + case 146: try { try decoder.decodeSingularMessageField(value: &_storage._ticketGiftingSettings) }() + case 147: try { try decoder.decodeSingularMessageField(value: &_storage._languageSelectorSettings) }() + case 148: try { try decoder.decodeSingularMessageField(value: &_storage._giftingSettings) }() + case 149: try { try decoder.decodeSingularMessageField(value: &_storage._campfireSettings) }() + case 150: try { try decoder.decodeSingularMessageField(value: &_storage._photoSettings) }() + case 151: try { try decoder.decodeSingularMessageField(value: &_storage._dailyAdventureIncenseSettings) }() + case 152: try { try decoder.decodeSingularMessageField(value: &_storage._itemInventoryUpdateSettings) }() + case 153: try { try decoder.decodeSingularMessageField(value: &_storage._stickerCategorySettings) }() + case 154: try { try decoder.decodeSingularMessageField(value: &_storage._homeWidgetSettings) }() + case 155: try { try decoder.decodeSingularMessageField(value: &_storage._vsSeekerScheduleSettings) }() + case 156: try { try decoder.decodeSingularMessageField(value: &_storage._pokedexSizeStatsSystemSettings) }() + case 157: try { try decoder.decodeSingularMessageField(value: &_storage._assetRefreshProto) }() + case 159: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonFxSettings) }() + case 160: try { try decoder.decodeSingularMessageField(value: &_storage._butterflyCollectorSettings) }() + case 161: try { try decoder.decodeSingularMessageField(value: &_storage._languageSettings) }() + case 162: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonExtendedSettings) }() + case 163: try { try decoder.decodeSingularMessageField(value: &_storage._dojoSettings) }() + case 164: try { try decoder.decodeSingularMessageField(value: &_storage._incubatorFlowSettings) }() + case 165: try { try decoder.decodeSingularMessageField(value: &_storage._primalEvoSettings) }() + case 167: try { try decoder.decodeSingularMessageField(value: &_storage._niaIDMigrationSettings) }() + case 168: try { try decoder.decodeSingularMessageField(value: &_storage._criticalReticleSettings) }() + case 169: try { try decoder.decodeSingularMessageField(value: &_storage._locationCardFeatureSettings) }() + case 170: try { try decoder.decodeSingularMessageField(value: &_storage._locationCardSettings) }() + case 171: try { try decoder.decodeSingularMessageField(value: &_storage._conversationSettings) }() + case 172: try { try decoder.decodeSingularMessageField(value: &_storage._vpsEventSettings) }() + case 173: try { try decoder.decodeSingularMessageField(value: &_storage._catchRadiusMultiplierSettings) }() + case 174: try { try decoder.decodeSingularMessageField(value: &_storage._hapticsSettings) }() + case 177: try { try decoder.decodeSingularMessageField(value: &_storage._raidLobbyCounterSettings) }() + case 178: try { try decoder.decodeSingularMessageField(value: &_storage._contestSettings) }() + case 179: try { try decoder.decodeSingularMessageField(value: &_storage._guestAccountGameSettingsProto) }() + case 180: try { try decoder.decodeSingularMessageField(value: &_storage._neutralAvatarSettings) }() + case 181: try { try decoder.decodeSingularMessageField(value: &_storage._squashSettings) }() + case 183: try { try decoder.decodeSingularMessageField(value: &_storage._buffSettings) }() + case 184: try { try decoder.decodeSingularMessageField(value: &_storage._todayViewSettings) }() + case 185: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonFilterSettings) }() + case 186: try { try decoder.decodeSingularMessageField(value: &_storage._routePinSettings) }() + case 187: try { try decoder.decodeSingularMessageField(value: &_storage._styleShopSettings) }() + case 188: try { try decoder.decodeSingularMessageField(value: &_storage._partyPlayGeneralSettings) }() + case 189: try { try decoder.decodeSingularMessageField(value: &_storage._bootSettings) }() + case 190: try { try decoder.decodeSingularMessageField(value: &_storage._optimizationsProto) }() + case 191: try { try decoder.decodeSingularMessageField(value: &_storage._nearbyPokemonSettings) }() + case 192: try { try decoder.decodeSingularMessageField(value: &_storage._partyPlayerSummarySettings) }() + case 193: try { try decoder.decodeSingularMessageField(value: &_storage._extendedPrimalSettings) }() + case 194: try { try decoder.decodeSingularMessageField(value: &_storage._partySharedQuestSettings) }() + case 195: try { try decoder.decodeSingularMessageField(value: &_storage._pokecoinCapSettings) }() + case 196: try { try decoder.decodeSingularMessageField(value: &_storage._clientPoiDecorationGroup) }() + case 197: try { try decoder.decodeSingularMessageField(value: &_storage._mapCoordOverlay) }() + case 198: try { try decoder.decodeSingularMessageField(value: &_storage._vistaGeneralSettings) }() + case 199: try { try decoder.decodeSingularMessageField(value: &_storage._routeBadgeSettings) }() + case 200: try { try decoder.decodeSingularMessageField(value: &_storage._partyDarkLaunchSettings) }() + case 201: try { try decoder.decodeSingularMessageField(value: &_storage._routesPartyPlayInteropSettings) }() + case 202: try { try decoder.decodeSingularMessageField(value: &_storage._routesNearbyNotifSettings) }() + case 203: try { try decoder.decodeSingularMessageField(value: &_storage._dawnDuskSettings) }() + case 204: try { try decoder.decodeSingularMessageField(value: &_storage._nonCombatMoveSettings) }() + case 205: try { try decoder.decodeSingularMessageField(value: &_storage._routeNpcGiftSettings) }() + case 207: try { try decoder.decodeSingularMessageField(value: &_storage._ptcOauthSettings) }() + case 208: try { try decoder.decodeSingularMessageField(value: &_storage._sharedNonCombatMoveSettings) }() + case 209: try { try decoder.decodeSingularMessageField(value: &_storage._graphicsCapabilitiesSettings) }() + case 210: try { try decoder.decodeSingularMessageField(value: &_storage._partyIapBoostsSettings) }() + case 211: try { try decoder.decodeSingularMessageField(value: &_storage._languageBundle) }() + case 212: try { try decoder.decodeSingularMessageField(value: &_storage._bulkHealingSettings) }() + case 213: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonCutsceneRefactorSettings) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.latitudeDeg != 0 { - try visitor.visitSingularDoubleField(value: self.latitudeDeg, fieldNumber: 1) - } - if self.longitudeDeg != 0 { - try visitor.visitSingularDoubleField(value: self.longitudeDeg, fieldNumber: 2) - } - if self.radius != 0 { - try visitor.visitSingularDoubleField(value: self.radius, fieldNumber: 3) - } - if !self.identifier.isEmpty { - try visitor.visitSingularStringField(value: self.identifier, fieldNumber: 4) - } - if self.expirationMs != 0 { - try visitor.visitSingularInt64Field(value: self.expirationMs, fieldNumber: 5) - } - if self.dwellTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.dwellTimeMs, fieldNumber: 6) - } - if self.fireOnEntrance != false { - try visitor.visitSingularBoolField(value: self.fireOnEntrance, fieldNumber: 7) - } - if self.fireOnExit != false { - try visitor.visitSingularBoolField(value: self.fireOnExit, fieldNumber: 8) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._templateID.isEmpty { + try visitor.visitSingularStringField(value: _storage._templateID, fieldNumber: 1) + } + try { if let v = _storage._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = _storage._item { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._move { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = _storage._moveSequence { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + try { if let v = _storage._typeEffective { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + try { if let v = _storage._badge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + try { if let v = _storage._camera { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + } }() + try { if let v = _storage._playerLevel { + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + } }() + try { if let v = _storage._gymLevel { + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + } }() + try { if let v = _storage._battleSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 14) + } }() + try { if let v = _storage._encounterSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + } }() + try { if let v = _storage._iapItemDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + } }() + try { if let v = _storage._iapSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 17) + } }() + try { if let v = _storage._pokemonUpgrades { + try visitor.visitSingularMessageField(value: v, fieldNumber: 18) + } }() + try { if let v = _storage._questSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 20) + } }() + try { if let v = _storage._avatarCustomization { + try visitor.visitSingularMessageField(value: v, fieldNumber: 21) + } }() + try { if let v = _storage._formSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 22) + } }() + try { if let v = _storage._genderSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 23) + } }() + try { if let v = _storage._gymBadgeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 24) + } }() + try { if let v = _storage._weatherAffinities { + try visitor.visitSingularMessageField(value: v, fieldNumber: 25) + } }() + try { if let v = _storage._weatherBonusSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 26) + } }() + try { if let v = _storage._pokemonScaleSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 27) + } }() + try { if let v = _storage._iapCategoryDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 28) + } }() + try { if let v = _storage._belugaPokemonWhitelist { + try visitor.visitSingularMessageField(value: v, fieldNumber: 29) + } }() + try { if let v = _storage._onboardingSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 30) + } }() + try { if let v = _storage._friendshipMilestoneSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 31) + } }() + try { if let v = _storage._luckyPokemonSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 32) + } }() + try { if let v = _storage._combatSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 33) + } }() + try { if let v = _storage._combatLeagueSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 34) + } }() + try { if let v = _storage._combatLeague { + try visitor.visitSingularMessageField(value: v, fieldNumber: 35) + } }() + try { if let v = _storage._combatMove { + try visitor.visitSingularMessageField(value: v, fieldNumber: 37) + } }() + try { if let v = _storage._backgroundModeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 38) + } }() + try { if let v = _storage._combatStatStageSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 39) + } }() + try { if let v = _storage._combatNpcTrainer { + try visitor.visitSingularMessageField(value: v, fieldNumber: 40) + } }() + try { if let v = _storage._combatNpcPersonality { + try visitor.visitSingularMessageField(value: v, fieldNumber: 41) + } }() + try { if let v = _storage._onboardingV2Settings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 42) + } }() + try { if let v = _storage._partyRecommendationSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 43) + } }() + try { if let v = _storage._smeargleMovesSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 44) + } }() + try { if let v = _storage._pokecoinPurchaseDisplayGmt { + try visitor.visitSingularMessageField(value: v, fieldNumber: 45) + } }() + try { if let v = _storage._adventureSyncV2Gmt { + try visitor.visitSingularMessageField(value: v, fieldNumber: 46) + } }() + try { if let v = _storage._loadingScreenSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 47) + } }() + try { if let v = _storage._invasionNpcDisplaySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 48) + } }() + try { if let v = _storage._combatCompetitiveSeasonSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 49) + } }() + try { if let v = _storage._combatRankingProtoSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 50) + } }() + try { if let v = _storage._combatType { + try visitor.visitSingularMessageField(value: v, fieldNumber: 51) + } }() + try { if let v = _storage._buddyLevelSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 52) + } }() + try { if let v = _storage._buddyActivityCategorySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 53) + } }() + try { if let v = _storage._buddyActivitySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 54) + } }() + try { if let v = _storage._buddySwapSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 56) + } }() + try { if let v = _storage._routeCreationSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 57) + } }() + try { if let v = _storage._vsSeekerClientSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 58) + } }() + try { if let v = _storage._buddyEncounterCameoSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 59) + } }() + try { if let v = _storage._limitedPurchaseSkuSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 60) + } }() + try { if let v = _storage._buddyEmotionLevelSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 61) + } }() + try { if let v = _storage._pokestopInvasionAvailabilitySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 62) + } }() + try { if let v = _storage._buddyInteractionSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 63) + } }() + try { if let v = _storage._vsSeekerLootProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 64) + } }() + try { if let v = _storage._vsSeekerPokemonRewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 65) + } }() + try { if let v = _storage._battleHubOrderSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 66) + } }() + try { if let v = _storage._battleHubBadgeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 67) + } }() + try { if let v = _storage._mapBuddySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 68) + } }() + try { if let v = _storage._buddyWalkSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 69) + } }() + try { if let v = _storage._platypusRolloutSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 70) + } }() + try { if let v = _storage._buddyHungerSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 72) + } }() + try { if let v = _storage._projectVacation { + try visitor.visitSingularMessageField(value: v, fieldNumber: 73) + } }() + try { if let v = _storage._megaEvoSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 74) + } }() + try { if let v = _storage._temporaryEvolutionSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 75) + } }() + try { if let v = _storage._avatarGroupSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 76) + } }() + try { if let v = _storage._pokemonFamily { + try visitor.visitSingularMessageField(value: v, fieldNumber: 77) + } }() + try { if let v = _storage._monodepthSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 78) + } }() + try { if let v = _storage._levelUpRewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 79) + } }() + try { if let v = _storage._raidSettingsProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 81) + } }() + try { if let v = _storage._tappableSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 82) + } }() + try { if let v = _storage._routePlaySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 83) + } }() + try { if let v = _storage._sponsoredGeofenceGiftSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 84) + } }() + try { if let v = _storage._stickerMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 85) + } }() + try { if let v = _storage._crossGameSocialSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 86) + } }() + try { if let v = _storage._mapDisplaySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 87) + } }() + try { if let v = _storage._pokemonHomeEnergyCosts { + try visitor.visitSingularMessageField(value: v, fieldNumber: 88) + } }() + try { if let v = _storage._pokemonHomeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 89) + } }() + try { if let v = _storage._arTelemetrySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 90) + } }() + try { if let v = _storage._battlePartySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 91) + } }() + try { if let v = _storage._questEvolutionSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 93) + } }() + try { if let v = _storage._pokemonHomeFormReversion { + try visitor.visitSingularMessageField(value: v, fieldNumber: 94) + } }() + try { if let v = _storage._deepLinkingSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 95) + } }() + try { if let v = _storage._guiSearchSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 96) + } }() + try { if let v = _storage._evolutionQuestTemplate { + try visitor.visitSingularMessageField(value: v, fieldNumber: 97) + } }() + try { if let v = _storage._adFeedbackSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 98) + } }() + try { if let v = _storage._friendProfileSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 99) + } }() + try { if let v = _storage._geotargetedQuestSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 100) + } }() + try { if let v = _storage._pokemonTagSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 101) + } }() + try { if let v = _storage._recommendedSearchProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 102) + } }() + try { if let v = _storage._inventorySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 103) + } }() + try { if let v = _storage._routeDiscoverySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 104) + } }() + try { if let v = _storage._eggTransparencySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 105) + } }() + try { if let v = _storage._fortPowerUpLevelSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 106) + } }() + try { if let v = _storage._powerUpPokestopsSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 107) + } }() + try { if let v = _storage._incidentPrioritySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 108) + } }() + try { if let v = _storage._referralSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 109) + } }() + try { if let v = _storage._fortPowerUpActivitySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 110) + } }() + try { if let v = _storage._fortPowerUpSpawnSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 111) + } }() + try { if let v = _storage._appraisalStarThresholdSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 112) + } }() + try { if let v = _storage._pokedexCategoriesSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 114) + } }() + try { if let v = _storage._battleVisualSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 115) + } }() + try { if let v = _storage._addressablePokemonSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 116) + } }() + try { if let v = _storage._verboseLogRaidSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 117) + } }() + try { if let v = _storage._formsRefactorSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 118) + } }() + try { if let v = _storage._sharedMoveSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 119) + } }() + try { if let v = _storage._addressBookImportSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 120) + } }() + try { if let v = _storage._musicSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 121) + } }() + try { if let v = _storage._newsFeedClientSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 122) + } }() + try { if let v = _storage._mapObjectsInteractionRangeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 123) + } }() + try { if let v = _storage._externalAddressableAssetsSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 124) + } }() + try { if let v = _storage._evolvePreviewSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 125) + } }() + try { if let v = _storage._loadingScreenTipsSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 126) + } }() + try { if let v = _storage._usernameSuggestionSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 128) + } }() + try { if let v = _storage._tutorialSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 129) + } }() + try { if let v = _storage._eggHatchImprovementsSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 130) + } }() + try { if let v = _storage._featureUnlockLevelSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 131) + } }() + try { if let v = _storage._inAppSurveySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 132) + } }() + try { if let v = _storage._incidentVisibilitySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 133) + } }() + try { if let v = _storage._postcardCollectionSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 134) + } }() + try { if let v = _storage._berryFarmingSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 135) + } }() + try { if let v = _storage._verboseLogCombatSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 136) + } }() + try { if let v = _storage._megaEvoLevelSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 137) + } }() + try { if let v = _storage._advancedSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 138) + } }() + try { if let v = _storage._fileCacheSizeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 139) + } }() + try { if let v = _storage._impressionTrackingSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 140) + } }() + try { if let v = _storage._garbageCollectionSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 141) + } }() + try { if let v = _storage._evolutionChainDisplaySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 142) + } }() + try { if let v = _storage._routeStampCategorySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 143) + } }() + try { if let v = _storage._popupControlSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 145) + } }() + try { if let v = _storage._ticketGiftingSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 146) + } }() + try { if let v = _storage._languageSelectorSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 147) + } }() + try { if let v = _storage._giftingSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 148) + } }() + try { if let v = _storage._campfireSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 149) + } }() + try { if let v = _storage._photoSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 150) + } }() + try { if let v = _storage._dailyAdventureIncenseSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 151) + } }() + try { if let v = _storage._itemInventoryUpdateSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 152) + } }() + try { if let v = _storage._stickerCategorySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 153) + } }() + try { if let v = _storage._homeWidgetSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 154) + } }() + try { if let v = _storage._vsSeekerScheduleSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 155) + } }() + try { if let v = _storage._pokedexSizeStatsSystemSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 156) + } }() + try { if let v = _storage._assetRefreshProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 157) + } }() + try { if let v = _storage._pokemonFxSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 159) + } }() + try { if let v = _storage._butterflyCollectorSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 160) + } }() + try { if let v = _storage._languageSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 161) + } }() + try { if let v = _storage._pokemonExtendedSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 162) + } }() + try { if let v = _storage._dojoSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 163) + } }() + try { if let v = _storage._incubatorFlowSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 164) + } }() + try { if let v = _storage._primalEvoSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 165) + } }() + try { if let v = _storage._niaIDMigrationSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 167) + } }() + try { if let v = _storage._criticalReticleSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 168) + } }() + try { if let v = _storage._locationCardFeatureSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 169) + } }() + try { if let v = _storage._locationCardSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 170) + } }() + try { if let v = _storage._conversationSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 171) + } }() + try { if let v = _storage._vpsEventSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 172) + } }() + try { if let v = _storage._catchRadiusMultiplierSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 173) + } }() + try { if let v = _storage._hapticsSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 174) + } }() + try { if let v = _storage._raidLobbyCounterSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 177) + } }() + try { if let v = _storage._contestSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 178) + } }() + try { if let v = _storage._guestAccountGameSettingsProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 179) + } }() + try { if let v = _storage._neutralAvatarSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 180) + } }() + try { if let v = _storage._squashSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 181) + } }() + try { if let v = _storage._buffSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 183) + } }() + try { if let v = _storage._todayViewSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 184) + } }() + try { if let v = _storage._pokemonFilterSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 185) + } }() + try { if let v = _storage._routePinSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 186) + } }() + try { if let v = _storage._styleShopSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 187) + } }() + try { if let v = _storage._partyPlayGeneralSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 188) + } }() + try { if let v = _storage._bootSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 189) + } }() + try { if let v = _storage._optimizationsProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 190) + } }() + try { if let v = _storage._nearbyPokemonSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 191) + } }() + try { if let v = _storage._partyPlayerSummarySettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 192) + } }() + try { if let v = _storage._extendedPrimalSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 193) + } }() + try { if let v = _storage._partySharedQuestSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 194) + } }() + try { if let v = _storage._pokecoinCapSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 195) + } }() + try { if let v = _storage._clientPoiDecorationGroup { + try visitor.visitSingularMessageField(value: v, fieldNumber: 196) + } }() + try { if let v = _storage._mapCoordOverlay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 197) + } }() + try { if let v = _storage._vistaGeneralSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 198) + } }() + try { if let v = _storage._routeBadgeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 199) + } }() + try { if let v = _storage._partyDarkLaunchSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 200) + } }() + try { if let v = _storage._routesPartyPlayInteropSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 201) + } }() + try { if let v = _storage._routesNearbyNotifSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 202) + } }() + try { if let v = _storage._dawnDuskSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 203) + } }() + try { if let v = _storage._nonCombatMoveSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 204) + } }() + try { if let v = _storage._routeNpcGiftSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 205) + } }() + try { if let v = _storage._ptcOauthSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 207) + } }() + try { if let v = _storage._sharedNonCombatMoveSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 208) + } }() + try { if let v = _storage._graphicsCapabilitiesSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 209) + } }() + try { if let v = _storage._partyIapBoostsSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 210) + } }() + try { if let v = _storage._languageBundle { + try visitor.visitSingularMessageField(value: v, fieldNumber: 211) + } }() + try { if let v = _storage._bulkHealingSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 212) + } }() + try { if let v = _storage._pokemonCutsceneRefactorSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 213) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GeofenceMetadata, rhs: GeofenceMetadata) -> Bool { - if lhs.latitudeDeg != rhs.latitudeDeg {return false} - if lhs.longitudeDeg != rhs.longitudeDeg {return false} - if lhs.radius != rhs.radius {return false} - if lhs.identifier != rhs.identifier {return false} - if lhs.expirationMs != rhs.expirationMs {return false} - if lhs.dwellTimeMs != rhs.dwellTimeMs {return false} - if lhs.fireOnEntrance != rhs.fireOnEntrance {return false} - if lhs.fireOnExit != rhs.fireOnExit {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GeofenceUpdateOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GeofenceUpdateOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "geofence"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.geofence) }() - default: break + public static func ==(lhs: GameMasterClientTemplateProto, rhs: GameMasterClientTemplateProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._templateID != rhs_storage._templateID {return false} + if _storage._pokemon != rhs_storage._pokemon {return false} + if _storage._item != rhs_storage._item {return false} + if _storage._move != rhs_storage._move {return false} + if _storage._moveSequence != rhs_storage._moveSequence {return false} + if _storage._typeEffective != rhs_storage._typeEffective {return false} + if _storage._badge != rhs_storage._badge {return false} + if _storage._camera != rhs_storage._camera {return false} + if _storage._playerLevel != rhs_storage._playerLevel {return false} + if _storage._gymLevel != rhs_storage._gymLevel {return false} + if _storage._battleSettings != rhs_storage._battleSettings {return false} + if _storage._encounterSettings != rhs_storage._encounterSettings {return false} + if _storage._iapItemDisplay != rhs_storage._iapItemDisplay {return false} + if _storage._iapSettings != rhs_storage._iapSettings {return false} + if _storage._pokemonUpgrades != rhs_storage._pokemonUpgrades {return false} + if _storage._questSettings != rhs_storage._questSettings {return false} + if _storage._avatarCustomization != rhs_storage._avatarCustomization {return false} + if _storage._formSettings != rhs_storage._formSettings {return false} + if _storage._genderSettings != rhs_storage._genderSettings {return false} + if _storage._gymBadgeSettings != rhs_storage._gymBadgeSettings {return false} + if _storage._weatherAffinities != rhs_storage._weatherAffinities {return false} + if _storage._weatherBonusSettings != rhs_storage._weatherBonusSettings {return false} + if _storage._pokemonScaleSettings != rhs_storage._pokemonScaleSettings {return false} + if _storage._iapCategoryDisplay != rhs_storage._iapCategoryDisplay {return false} + if _storage._belugaPokemonWhitelist != rhs_storage._belugaPokemonWhitelist {return false} + if _storage._onboardingSettings != rhs_storage._onboardingSettings {return false} + if _storage._friendshipMilestoneSettings != rhs_storage._friendshipMilestoneSettings {return false} + if _storage._luckyPokemonSettings != rhs_storage._luckyPokemonSettings {return false} + if _storage._combatSettings != rhs_storage._combatSettings {return false} + if _storage._combatLeagueSettings != rhs_storage._combatLeagueSettings {return false} + if _storage._combatLeague != rhs_storage._combatLeague {return false} + if _storage._combatMove != rhs_storage._combatMove {return false} + if _storage._backgroundModeSettings != rhs_storage._backgroundModeSettings {return false} + if _storage._combatStatStageSettings != rhs_storage._combatStatStageSettings {return false} + if _storage._combatNpcTrainer != rhs_storage._combatNpcTrainer {return false} + if _storage._combatNpcPersonality != rhs_storage._combatNpcPersonality {return false} + if _storage._onboardingV2Settings != rhs_storage._onboardingV2Settings {return false} + if _storage._partyRecommendationSettings != rhs_storage._partyRecommendationSettings {return false} + if _storage._smeargleMovesSettings != rhs_storage._smeargleMovesSettings {return false} + if _storage._pokecoinPurchaseDisplayGmt != rhs_storage._pokecoinPurchaseDisplayGmt {return false} + if _storage._adventureSyncV2Gmt != rhs_storage._adventureSyncV2Gmt {return false} + if _storage._loadingScreenSettings != rhs_storage._loadingScreenSettings {return false} + if _storage._invasionNpcDisplaySettings != rhs_storage._invasionNpcDisplaySettings {return false} + if _storage._combatCompetitiveSeasonSettings != rhs_storage._combatCompetitiveSeasonSettings {return false} + if _storage._combatRankingProtoSettings != rhs_storage._combatRankingProtoSettings {return false} + if _storage._combatType != rhs_storage._combatType {return false} + if _storage._buddyLevelSettings != rhs_storage._buddyLevelSettings {return false} + if _storage._buddyActivityCategorySettings != rhs_storage._buddyActivityCategorySettings {return false} + if _storage._buddyActivitySettings != rhs_storage._buddyActivitySettings {return false} + if _storage._buddySwapSettings != rhs_storage._buddySwapSettings {return false} + if _storage._routeCreationSettings != rhs_storage._routeCreationSettings {return false} + if _storage._vsSeekerClientSettings != rhs_storage._vsSeekerClientSettings {return false} + if _storage._buddyEncounterCameoSettings != rhs_storage._buddyEncounterCameoSettings {return false} + if _storage._limitedPurchaseSkuSettings != rhs_storage._limitedPurchaseSkuSettings {return false} + if _storage._buddyEmotionLevelSettings != rhs_storage._buddyEmotionLevelSettings {return false} + if _storage._pokestopInvasionAvailabilitySettings != rhs_storage._pokestopInvasionAvailabilitySettings {return false} + if _storage._buddyInteractionSettings != rhs_storage._buddyInteractionSettings {return false} + if _storage._vsSeekerLootProto != rhs_storage._vsSeekerLootProto {return false} + if _storage._vsSeekerPokemonRewards != rhs_storage._vsSeekerPokemonRewards {return false} + if _storage._battleHubOrderSettings != rhs_storage._battleHubOrderSettings {return false} + if _storage._battleHubBadgeSettings != rhs_storage._battleHubBadgeSettings {return false} + if _storage._mapBuddySettings != rhs_storage._mapBuddySettings {return false} + if _storage._buddyWalkSettings != rhs_storage._buddyWalkSettings {return false} + if _storage._platypusRolloutSettings != rhs_storage._platypusRolloutSettings {return false} + if _storage._buddyHungerSettings != rhs_storage._buddyHungerSettings {return false} + if _storage._projectVacation != rhs_storage._projectVacation {return false} + if _storage._megaEvoSettings != rhs_storage._megaEvoSettings {return false} + if _storage._temporaryEvolutionSettings != rhs_storage._temporaryEvolutionSettings {return false} + if _storage._avatarGroupSettings != rhs_storage._avatarGroupSettings {return false} + if _storage._pokemonFamily != rhs_storage._pokemonFamily {return false} + if _storage._monodepthSettings != rhs_storage._monodepthSettings {return false} + if _storage._levelUpRewards != rhs_storage._levelUpRewards {return false} + if _storage._raidSettingsProto != rhs_storage._raidSettingsProto {return false} + if _storage._tappableSettings != rhs_storage._tappableSettings {return false} + if _storage._routePlaySettings != rhs_storage._routePlaySettings {return false} + if _storage._sponsoredGeofenceGiftSettings != rhs_storage._sponsoredGeofenceGiftSettings {return false} + if _storage._stickerMetadata != rhs_storage._stickerMetadata {return false} + if _storage._crossGameSocialSettings != rhs_storage._crossGameSocialSettings {return false} + if _storage._mapDisplaySettings != rhs_storage._mapDisplaySettings {return false} + if _storage._pokemonHomeEnergyCosts != rhs_storage._pokemonHomeEnergyCosts {return false} + if _storage._pokemonHomeSettings != rhs_storage._pokemonHomeSettings {return false} + if _storage._arTelemetrySettings != rhs_storage._arTelemetrySettings {return false} + if _storage._battlePartySettings != rhs_storage._battlePartySettings {return false} + if _storage._questEvolutionSettings != rhs_storage._questEvolutionSettings {return false} + if _storage._pokemonHomeFormReversion != rhs_storage._pokemonHomeFormReversion {return false} + if _storage._deepLinkingSettings != rhs_storage._deepLinkingSettings {return false} + if _storage._guiSearchSettings != rhs_storage._guiSearchSettings {return false} + if _storage._evolutionQuestTemplate != rhs_storage._evolutionQuestTemplate {return false} + if _storage._adFeedbackSettings != rhs_storage._adFeedbackSettings {return false} + if _storage._friendProfileSettings != rhs_storage._friendProfileSettings {return false} + if _storage._geotargetedQuestSettings != rhs_storage._geotargetedQuestSettings {return false} + if _storage._pokemonTagSettings != rhs_storage._pokemonTagSettings {return false} + if _storage._recommendedSearchProto != rhs_storage._recommendedSearchProto {return false} + if _storage._inventorySettings != rhs_storage._inventorySettings {return false} + if _storage._routeDiscoverySettings != rhs_storage._routeDiscoverySettings {return false} + if _storage._eggTransparencySettings != rhs_storage._eggTransparencySettings {return false} + if _storage._fortPowerUpLevelSettings != rhs_storage._fortPowerUpLevelSettings {return false} + if _storage._powerUpPokestopsSettings != rhs_storage._powerUpPokestopsSettings {return false} + if _storage._incidentPrioritySettings != rhs_storage._incidentPrioritySettings {return false} + if _storage._referralSettings != rhs_storage._referralSettings {return false} + if _storage._fortPowerUpActivitySettings != rhs_storage._fortPowerUpActivitySettings {return false} + if _storage._fortPowerUpSpawnSettings != rhs_storage._fortPowerUpSpawnSettings {return false} + if _storage._appraisalStarThresholdSettings != rhs_storage._appraisalStarThresholdSettings {return false} + if _storage._pokedexCategoriesSettings != rhs_storage._pokedexCategoriesSettings {return false} + if _storage._battleVisualSettings != rhs_storage._battleVisualSettings {return false} + if _storage._addressablePokemonSettings != rhs_storage._addressablePokemonSettings {return false} + if _storage._verboseLogRaidSettings != rhs_storage._verboseLogRaidSettings {return false} + if _storage._formsRefactorSettings != rhs_storage._formsRefactorSettings {return false} + if _storage._sharedMoveSettings != rhs_storage._sharedMoveSettings {return false} + if _storage._addressBookImportSettings != rhs_storage._addressBookImportSettings {return false} + if _storage._musicSettings != rhs_storage._musicSettings {return false} + if _storage._newsFeedClientSettings != rhs_storage._newsFeedClientSettings {return false} + if _storage._mapObjectsInteractionRangeSettings != rhs_storage._mapObjectsInteractionRangeSettings {return false} + if _storage._externalAddressableAssetsSettings != rhs_storage._externalAddressableAssetsSettings {return false} + if _storage._evolvePreviewSettings != rhs_storage._evolvePreviewSettings {return false} + if _storage._loadingScreenTipsSettings != rhs_storage._loadingScreenTipsSettings {return false} + if _storage._usernameSuggestionSettings != rhs_storage._usernameSuggestionSettings {return false} + if _storage._tutorialSettings != rhs_storage._tutorialSettings {return false} + if _storage._eggHatchImprovementsSettings != rhs_storage._eggHatchImprovementsSettings {return false} + if _storage._featureUnlockLevelSettings != rhs_storage._featureUnlockLevelSettings {return false} + if _storage._inAppSurveySettings != rhs_storage._inAppSurveySettings {return false} + if _storage._incidentVisibilitySettings != rhs_storage._incidentVisibilitySettings {return false} + if _storage._postcardCollectionSettings != rhs_storage._postcardCollectionSettings {return false} + if _storage._berryFarmingSettings != rhs_storage._berryFarmingSettings {return false} + if _storage._verboseLogCombatSettings != rhs_storage._verboseLogCombatSettings {return false} + if _storage._megaEvoLevelSettings != rhs_storage._megaEvoLevelSettings {return false} + if _storage._advancedSettings != rhs_storage._advancedSettings {return false} + if _storage._fileCacheSizeSettings != rhs_storage._fileCacheSizeSettings {return false} + if _storage._impressionTrackingSettings != rhs_storage._impressionTrackingSettings {return false} + if _storage._garbageCollectionSettings != rhs_storage._garbageCollectionSettings {return false} + if _storage._evolutionChainDisplaySettings != rhs_storage._evolutionChainDisplaySettings {return false} + if _storage._routeStampCategorySettings != rhs_storage._routeStampCategorySettings {return false} + if _storage._popupControlSettings != rhs_storage._popupControlSettings {return false} + if _storage._ticketGiftingSettings != rhs_storage._ticketGiftingSettings {return false} + if _storage._languageSelectorSettings != rhs_storage._languageSelectorSettings {return false} + if _storage._giftingSettings != rhs_storage._giftingSettings {return false} + if _storage._campfireSettings != rhs_storage._campfireSettings {return false} + if _storage._photoSettings != rhs_storage._photoSettings {return false} + if _storage._dailyAdventureIncenseSettings != rhs_storage._dailyAdventureIncenseSettings {return false} + if _storage._itemInventoryUpdateSettings != rhs_storage._itemInventoryUpdateSettings {return false} + if _storage._stickerCategorySettings != rhs_storage._stickerCategorySettings {return false} + if _storage._homeWidgetSettings != rhs_storage._homeWidgetSettings {return false} + if _storage._vsSeekerScheduleSettings != rhs_storage._vsSeekerScheduleSettings {return false} + if _storage._pokedexSizeStatsSystemSettings != rhs_storage._pokedexSizeStatsSystemSettings {return false} + if _storage._assetRefreshProto != rhs_storage._assetRefreshProto {return false} + if _storage._pokemonFxSettings != rhs_storage._pokemonFxSettings {return false} + if _storage._butterflyCollectorSettings != rhs_storage._butterflyCollectorSettings {return false} + if _storage._languageSettings != rhs_storage._languageSettings {return false} + if _storage._pokemonExtendedSettings != rhs_storage._pokemonExtendedSettings {return false} + if _storage._dojoSettings != rhs_storage._dojoSettings {return false} + if _storage._incubatorFlowSettings != rhs_storage._incubatorFlowSettings {return false} + if _storage._primalEvoSettings != rhs_storage._primalEvoSettings {return false} + if _storage._niaIDMigrationSettings != rhs_storage._niaIDMigrationSettings {return false} + if _storage._criticalReticleSettings != rhs_storage._criticalReticleSettings {return false} + if _storage._locationCardFeatureSettings != rhs_storage._locationCardFeatureSettings {return false} + if _storage._locationCardSettings != rhs_storage._locationCardSettings {return false} + if _storage._conversationSettings != rhs_storage._conversationSettings {return false} + if _storage._vpsEventSettings != rhs_storage._vpsEventSettings {return false} + if _storage._catchRadiusMultiplierSettings != rhs_storage._catchRadiusMultiplierSettings {return false} + if _storage._hapticsSettings != rhs_storage._hapticsSettings {return false} + if _storage._raidLobbyCounterSettings != rhs_storage._raidLobbyCounterSettings {return false} + if _storage._contestSettings != rhs_storage._contestSettings {return false} + if _storage._guestAccountGameSettingsProto != rhs_storage._guestAccountGameSettingsProto {return false} + if _storage._neutralAvatarSettings != rhs_storage._neutralAvatarSettings {return false} + if _storage._squashSettings != rhs_storage._squashSettings {return false} + if _storage._buffSettings != rhs_storage._buffSettings {return false} + if _storage._todayViewSettings != rhs_storage._todayViewSettings {return false} + if _storage._pokemonFilterSettings != rhs_storage._pokemonFilterSettings {return false} + if _storage._routePinSettings != rhs_storage._routePinSettings {return false} + if _storage._styleShopSettings != rhs_storage._styleShopSettings {return false} + if _storage._partyPlayGeneralSettings != rhs_storage._partyPlayGeneralSettings {return false} + if _storage._bootSettings != rhs_storage._bootSettings {return false} + if _storage._optimizationsProto != rhs_storage._optimizationsProto {return false} + if _storage._nearbyPokemonSettings != rhs_storage._nearbyPokemonSettings {return false} + if _storage._partyPlayerSummarySettings != rhs_storage._partyPlayerSummarySettings {return false} + if _storage._extendedPrimalSettings != rhs_storage._extendedPrimalSettings {return false} + if _storage._partySharedQuestSettings != rhs_storage._partySharedQuestSettings {return false} + if _storage._pokecoinCapSettings != rhs_storage._pokecoinCapSettings {return false} + if _storage._clientPoiDecorationGroup != rhs_storage._clientPoiDecorationGroup {return false} + if _storage._mapCoordOverlay != rhs_storage._mapCoordOverlay {return false} + if _storage._vistaGeneralSettings != rhs_storage._vistaGeneralSettings {return false} + if _storage._routeBadgeSettings != rhs_storage._routeBadgeSettings {return false} + if _storage._partyDarkLaunchSettings != rhs_storage._partyDarkLaunchSettings {return false} + if _storage._routesPartyPlayInteropSettings != rhs_storage._routesPartyPlayInteropSettings {return false} + if _storage._routesNearbyNotifSettings != rhs_storage._routesNearbyNotifSettings {return false} + if _storage._dawnDuskSettings != rhs_storage._dawnDuskSettings {return false} + if _storage._nonCombatMoveSettings != rhs_storage._nonCombatMoveSettings {return false} + if _storage._routeNpcGiftSettings != rhs_storage._routeNpcGiftSettings {return false} + if _storage._ptcOauthSettings != rhs_storage._ptcOauthSettings {return false} + if _storage._sharedNonCombatMoveSettings != rhs_storage._sharedNonCombatMoveSettings {return false} + if _storage._graphicsCapabilitiesSettings != rhs_storage._graphicsCapabilitiesSettings {return false} + if _storage._partyIapBoostsSettings != rhs_storage._partyIapBoostsSettings {return false} + if _storage._languageBundle != rhs_storage._languageBundle {return false} + if _storage._bulkHealingSettings != rhs_storage._bulkHealingSettings {return false} + if _storage._pokemonCutsceneRefactorSettings != rhs_storage._pokemonCutsceneRefactorSettings {return false} + return true } + if !storagesAreEqual {return false} } - } - - public func traverse(visitor: inout V) throws { - if !self.geofence.isEmpty { - try visitor.visitRepeatedMessageField(value: self.geofence, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GeofenceUpdateOutProto, rhs: GeofenceUpdateOutProto) -> Bool { - if lhs.geofence != rhs.geofence {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GeofenceUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GeofenceUpdateProto" +extension GameMasterLocalProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GameMasterLocalProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "number_of_points"), - 2: .standard(proto: "minimum_point_radius_m"), + 1: .same(proto: "templates"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206890,37 +213443,32 @@ extension GeofenceUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.numberOfPoints) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.minimumPointRadiusM) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.templates) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numberOfPoints != 0 { - try visitor.visitSingularInt32Field(value: self.numberOfPoints, fieldNumber: 1) - } - if self.minimumPointRadiusM != 0 { - try visitor.visitSingularDoubleField(value: self.minimumPointRadiusM, fieldNumber: 2) + if !self.templates.isEmpty { + try visitor.visitRepeatedMessageField(value: self.templates, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GeofenceUpdateProto, rhs: GeofenceUpdateProto) -> Bool { - if lhs.numberOfPoints != rhs.numberOfPoints {return false} - if lhs.minimumPointRadiusM != rhs.minimumPointRadiusM {return false} + public static func ==(lhs: GameMasterLocalProto, rhs: GameMasterLocalProto) -> Bool { + if lhs.templates != rhs.templates {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Geometry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Geometry" +extension GameObjectLocationData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GameObjectLocationData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "points"), - 2: .same(proto: "polylines"), - 3: .same(proto: "triangles"), + 1: .standard(proto: "anchor_id"), + 2: .same(proto: "offset"), + 3: .standard(proto: "offset_rotation"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -206929,45 +213477,9 @@ extension Geometry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: PointList? - var hadOneofValue = false - if let current = self.geometry { - hadOneofValue = true - if case .points(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.geometry = .points(v) - } - }() - case 2: try { - var v: PolylineList? - var hadOneofValue = false - if let current = self.geometry { - hadOneofValue = true - if case .polylines(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.geometry = .polylines(v) - } - }() - case 3: try { - var v: TriangleList? - var hadOneofValue = false - if let current = self.geometry { - hadOneofValue = true - if case .triangles(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.geometry = .triangles(v) - } - }() + case 1: try { try decoder.decodeSingularStringField(value: &self.anchorID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._offset) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._offsetRotation) }() default: break } } @@ -206978,97 +213490,33 @@ extension Geometry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - switch self.geometry { - case .points?: try { - guard case .points(let v)? = self.geometry else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .polylines?: try { - guard case .polylines(let v)? = self.geometry else { preconditionFailure() } + if !self.anchorID.isEmpty { + try visitor.visitSingularStringField(value: self.anchorID, fieldNumber: 1) + } + try { if let v = self._offset { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .triangles?: try { - guard case .triangles(let v)? = self.geometry else { preconditionFailure() } + } }() + try { if let v = self._offsetRotation { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case nil: break - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Geometry, rhs: Geometry) -> Bool { - if lhs.geometry != rhs.geometry {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GeotargetedQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GeotargetedQuestProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .standard(proto: "call_to_action_link"), - 3: .standard(proto: "image_url"), - 4: .same(proto: "latitude"), - 5: .same(proto: "longitude"), - 6: .standard(proto: "fort_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.callToActionLink) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.callToActionLink.isEmpty { - try visitor.visitSingularStringField(value: self.callToActionLink, fieldNumber: 2) - } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 3) - } - if self.latitude != 0 { - try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 4) - } - if self.longitude != 0 { - try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 5) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 6) - } + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GeotargetedQuestProto, rhs: GeotargetedQuestProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.callToActionLink != rhs.callToActionLink {return false} - if lhs.imageURL != rhs.imageURL {return false} - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} - if lhs.fortID != rhs.fortID {return false} + public static func ==(lhs: GameObjectLocationData, rhs: GameObjectLocationData) -> Bool { + if lhs.anchorID != rhs.anchorID {return false} + if lhs._offset != rhs._offset {return false} + if lhs._offsetRotation != rhs._offsetRotation {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GeotargetedQuestSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GeotargetedQuestSettingsProto" +extension GameObjectLocationData.OffsetPosition: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = GameObjectLocationData.protoMessageName + ".OffsetPosition" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_geotargeted_quests"), + 1: .standard(proto: "offset_x"), + 2: .standard(proto: "offset_y"), + 3: .standard(proto: "offset_z"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207077,64 +213525,43 @@ extension GeotargetedQuestSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableGeotargetedQuests) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.offsetX) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.offsetY) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.offsetZ) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableGeotargetedQuests != false { - try visitor.visitSingularBoolField(value: self.enableGeotargetedQuests, fieldNumber: 1) + if self.offsetX != 0 { + try visitor.visitSingularDoubleField(value: self.offsetX, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GeotargetedQuestSettingsProto, rhs: GeotargetedQuestSettingsProto) -> Bool { - if lhs.enableGeotargetedQuests != rhs.enableGeotargetedQuests {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GeotargetedQuestValidation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GeotargetedQuestValidation" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - default: break - } + if self.offsetY != 0 { + try visitor.visitSingularDoubleField(value: self.offsetY, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + if self.offsetZ != 0 { + try visitor.visitSingularDoubleField(value: self.offsetZ, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GeotargetedQuestValidation, rhs: GeotargetedQuestValidation) -> Bool { - if lhs.fortID != rhs.fortID {return false} + public static func ==(lhs: GameObjectLocationData.OffsetPosition, rhs: GameObjectLocationData.OffsetPosition) -> Bool { + if lhs.offsetX != rhs.offsetX {return false} + if lhs.offsetY != rhs.offsetY {return false} + if lhs.offsetZ != rhs.offsetZ {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetARMappingSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetARMappingSettingsOutProto" +extension GameObjectLocationData.OffsetRotation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = GameObjectLocationData.protoMessageName + ".OffsetRotation" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_client_scan_validation_enabled"), - 2: .standard(proto: "client_scan_validation_blocked_os"), - 3: .standard(proto: "client_scan_validation_blocked_device_id"), + 1: .standard(proto: "offset_w"), + 2: .standard(proto: "offset_x"), + 3: .standard(proto: "offset_y"), + 4: .standard(proto: "offset_z"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207143,60 +213570,50 @@ extension GetARMappingSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isClientScanValidationEnabled) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.clientScanValidationBlockedOs) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.clientScanValidationBlockedDeviceID) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.offsetW) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.offsetX) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.offsetY) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.offsetZ) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isClientScanValidationEnabled != false { - try visitor.visitSingularBoolField(value: self.isClientScanValidationEnabled, fieldNumber: 1) + if self.offsetW != 0 { + try visitor.visitSingularDoubleField(value: self.offsetW, fieldNumber: 1) } - if !self.clientScanValidationBlockedOs.isEmpty { - try visitor.visitRepeatedStringField(value: self.clientScanValidationBlockedOs, fieldNumber: 2) + if self.offsetX != 0 { + try visitor.visitSingularDoubleField(value: self.offsetX, fieldNumber: 2) } - if !self.clientScanValidationBlockedDeviceID.isEmpty { - try visitor.visitRepeatedStringField(value: self.clientScanValidationBlockedDeviceID, fieldNumber: 3) + if self.offsetY != 0 { + try visitor.visitSingularDoubleField(value: self.offsetY, fieldNumber: 3) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetARMappingSettingsOutProto, rhs: GetARMappingSettingsOutProto) -> Bool { - if lhs.isClientScanValidationEnabled != rhs.isClientScanValidationEnabled {return false} - if lhs.clientScanValidationBlockedOs != rhs.clientScanValidationBlockedOs {return false} - if lhs.clientScanValidationBlockedDeviceID != rhs.clientScanValidationBlockedDeviceID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetARMappingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetARMappingSettingsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.offsetZ != 0 { + try visitor.visitSingularDoubleField(value: self.offsetZ, fieldNumber: 4) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetARMappingSettingsProto, rhs: GetARMappingSettingsProto) -> Bool { + public static func ==(lhs: GameObjectLocationData.OffsetRotation, rhs: GameObjectLocationData.OffsetRotation) -> Bool { + if lhs.offsetW != rhs.offsetW {return false} + if lhs.offsetX != rhs.offsetX {return false} + if lhs.offsetY != rhs.offsetY {return false} + if lhs.offsetZ != rhs.offsetZ {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAccountSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAccountSettingsOutProto" +extension GameboardSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GameboardSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "settings"), + 1: .standard(proto: "min_s2_cell_level"), + 2: .standard(proto: "max_s2_cell_level"), + 3: .standard(proto: "max_s2_cells_per_view"), + 4: .standard(proto: "map_query_max_s2_cells_per_request"), + 5: .standard(proto: "map_query_min_update_interval_ms"), + 6: .standard(proto: "map_query_max_update_interval_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207205,129 +213622,55 @@ extension GetAccountSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._settings) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minS2CellLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxS2CellLevel) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxS2CellsPerView) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.mapQueryMaxS2CellsPerRequest) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.mapQueryMinUpdateIntervalMs) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.mapQueryMaxUpdateIntervalMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.minS2CellLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minS2CellLevel, fieldNumber: 1) } - try { if let v = self._settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetAccountSettingsOutProto, rhs: GetAccountSettingsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._settings != rhs._settings {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetAccountSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension GetAccountSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAccountSettingsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.maxS2CellLevel != 0 { + try visitor.visitSingularInt32Field(value: self.maxS2CellLevel, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetAccountSettingsProto, rhs: GetAccountSettingsProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetAckwowledgeInsenceRecapOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAckwowledgeInsenceRecapOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } + if self.maxS2CellsPerView != 0 { + try visitor.visitSingularInt32Field(value: self.maxS2CellsPerView, fieldNumber: 3) } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.mapQueryMaxS2CellsPerRequest != 0 { + try visitor.visitSingularInt32Field(value: self.mapQueryMaxS2CellsPerRequest, fieldNumber: 4) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetAckwowledgeInsenceRecapOutProto, rhs: GetAckwowledgeInsenceRecapOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetAckwowledgeInsenceRecapOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_RECAP_ALREADY_ACKNOWLEDGED"), - 3: .same(proto: "ERROR_FEATURE_DISABLED"), - 4: .same(proto: "ERROR_NO_LOG_TODAY"), - 5: .same(proto: "ERROR_ACTIVE_INCENSE"), - ] -} - -extension GetActionLogRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetActionLogRequest" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.mapQueryMinUpdateIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: self.mapQueryMinUpdateIntervalMs, fieldNumber: 5) + } + if self.mapQueryMaxUpdateIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: self.mapQueryMaxUpdateIntervalMs, fieldNumber: 6) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetActionLogRequest, rhs: GetActionLogRequest) -> Bool { + public static func ==(lhs: GameboardSettings, rhs: GameboardSettings) -> Bool { + if lhs.minS2CellLevel != rhs.minS2CellLevel {return false} + if lhs.maxS2CellLevel != rhs.maxS2CellLevel {return false} + if lhs.maxS2CellsPerView != rhs.maxS2CellsPerView {return false} + if lhs.mapQueryMaxS2CellsPerRequest != rhs.mapQueryMaxS2CellsPerRequest {return false} + if lhs.mapQueryMinUpdateIntervalMs != rhs.mapQueryMinUpdateIntervalMs {return false} + if lhs.mapQueryMaxUpdateIntervalMs != rhs.mapQueryMaxUpdateIntervalMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetActionLogResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetActionLogResponse" +extension GameplayWeatherProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GameplayWeatherProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "log"), + 1: .standard(proto: "gameplay_condition"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207336,94 +213679,44 @@ extension GetActionLogResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.log) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.gameplayCondition) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.log.isEmpty { - try visitor.visitRepeatedMessageField(value: self.log, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetActionLogResponse, rhs: GetActionLogResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.log != rhs.log {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetActionLogResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - ] -} - -extension GetActiveSubscriptionsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetActiveSubscriptionsRequestProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.gameplayCondition != .none { + try visitor.visitSingularEnumField(value: self.gameplayCondition, fieldNumber: 1) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetActiveSubscriptionsRequestProto, rhs: GetActiveSubscriptionsRequestProto) -> Bool { + public static func ==(lhs: GameplayWeatherProto, rhs: GameplayWeatherProto) -> Bool { + if lhs.gameplayCondition != rhs.gameplayCondition {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetActiveSubscriptionsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetActiveSubscriptionsResponseProto" +extension GameplayWeatherProto.WeatherCondition: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "subscription"), + 0: .same(proto: "NONE"), + 1: .same(proto: "CLEAR"), + 2: .same(proto: "RAINY"), + 3: .same(proto: "PARTLY_CLOUDY"), + 4: .same(proto: "OVERCAST"), + 5: .same(proto: "WINDY"), + 6: .same(proto: "SNOW"), + 7: .same(proto: "FOG"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.subscription) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.subscription.isEmpty { - try visitor.visitRepeatedMessageField(value: self.subscription, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetActiveSubscriptionsResponseProto, rhs: GetActiveSubscriptionsResponseProto) -> Bool { - if lhs.subscription != rhs.subscription {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension GetAdventureSyncFitnessReportRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncFitnessReportRequestProto" +extension GarProxyRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GarProxyRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_of_days"), - 2: .standard(proto: "num_of_weeks"), + 1: .same(proto: "action"), + 2: .same(proto: "payload"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207432,38 +213725,37 @@ extension GetAdventureSyncFitnessReportRequestProto: SwiftProtobuf.Message, Swif // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.numOfDays) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numOfWeeks) }() + case 1: try { try decoder.decodeSingularUInt32Field(value: &self.action) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.payload) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numOfDays != 0 { - try visitor.visitSingularInt32Field(value: self.numOfDays, fieldNumber: 1) + if self.action != 0 { + try visitor.visitSingularUInt32Field(value: self.action, fieldNumber: 1) } - if self.numOfWeeks != 0 { - try visitor.visitSingularInt32Field(value: self.numOfWeeks, fieldNumber: 2) + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetAdventureSyncFitnessReportRequestProto, rhs: GetAdventureSyncFitnessReportRequestProto) -> Bool { - if lhs.numOfDays != rhs.numOfDays {return false} - if lhs.numOfWeeks != rhs.numOfWeeks {return false} + public static func ==(lhs: GarProxyRequestProto, rhs: GarProxyRequestProto) -> Bool { + if lhs.action != rhs.action {return false} + if lhs.payload != rhs.payload {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAdventureSyncFitnessReportResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncFitnessReportResponseProto" +extension GarProxyResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GarProxyResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .standard(proto: "daily_reports"), - 3: .standard(proto: "weekly_reports"), - 4: .standard(proto: "week_reset_timestamp_since_monday_ms"), + 2: .standard(proto: "error_message"), + 3: .same(proto: "payload"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207473,56 +213765,53 @@ extension GetAdventureSyncFitnessReportResponseProto: SwiftProtobuf.Message, Swi // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.dailyReports) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.weeklyReports) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.weekResetTimestampSinceMondayMs) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { + if self.status != .ok { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.dailyReports.isEmpty { - try visitor.visitRepeatedMessageField(value: self.dailyReports, fieldNumber: 2) - } - if !self.weeklyReports.isEmpty { - try visitor.visitRepeatedMessageField(value: self.weeklyReports, fieldNumber: 3) + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) } - if self.weekResetTimestampSinceMondayMs != 0 { - try visitor.visitSingularInt64Field(value: self.weekResetTimestampSinceMondayMs, fieldNumber: 4) + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetAdventureSyncFitnessReportResponseProto, rhs: GetAdventureSyncFitnessReportResponseProto) -> Bool { + public static func ==(lhs: GarProxyResponseProto, rhs: GarProxyResponseProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.dailyReports != rhs.dailyReports {return false} - if lhs.weeklyReports != rhs.weeklyReports {return false} - if lhs.weekResetTimestampSinceMondayMs != rhs.weekResetTimestampSinceMondayMs {return false} + if lhs.errorMessage != rhs.errorMessage {return false} + if lhs.payload != rhs.payload {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAdventureSyncFitnessReportResponseProto.Status: SwiftProtobuf._ProtoNameProviding { +extension GarProxyResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - 3: .same(proto: "ERROR_RECORDS_NOT_FOUND"), - 4: .same(proto: "ERROR_INVALID_WINDOW"), - 5: .same(proto: "ERROR_UNKNOWN"), + 0: .same(proto: "OK"), + 2: .same(proto: "ERROR_UNKNOWN"), + 7: .same(proto: "ERROR_PERMISSION_DENIED"), + 14: .same(proto: "ERROR_UNAVAILABLE"), + 16: .same(proto: "ERROR_UNAUTHENTICATED"), ] } -extension GetAdventureSyncProgressOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncProgressOutProto" +extension GarbageCollectionSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GarbageCollectionSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "progress"), + 1: .standard(proto: "player_idle_threshold_ms"), + 2: .standard(proto: "normal_unload_unused_assets_threshold"), + 3: .standard(proto: "low_unload_unused_assets_threshold"), + 4: .standard(proto: "extra_low_unload_unused_assets_threshold"), + 5: .standard(proto: "force_unload_unused_assets_factor"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207531,48 +213820,51 @@ extension GetAdventureSyncProgressOutProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._progress) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.playerIdleThresholdMs) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.normalUnloadUnusedAssetsThreshold) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.lowUnloadUnusedAssetsThreshold) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.extraLowUnloadUnusedAssetsThreshold) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.forceUnloadUnusedAssetsFactor) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.playerIdleThresholdMs != 0 { + try visitor.visitSingularInt32Field(value: self.playerIdleThresholdMs, fieldNumber: 1) + } + if self.normalUnloadUnusedAssetsThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.normalUnloadUnusedAssetsThreshold, fieldNumber: 2) + } + if self.lowUnloadUnusedAssetsThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.lowUnloadUnusedAssetsThreshold, fieldNumber: 3) + } + if self.extraLowUnloadUnusedAssetsThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.extraLowUnloadUnusedAssetsThreshold, fieldNumber: 4) + } + if self.forceUnloadUnusedAssetsFactor != 0 { + try visitor.visitSingularFloatField(value: self.forceUnloadUnusedAssetsFactor, fieldNumber: 5) } - try { if let v = self._progress { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetAdventureSyncProgressOutProto, rhs: GetAdventureSyncProgressOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._progress != rhs._progress {return false} + public static func ==(lhs: GarbageCollectionSettingsProto, rhs: GarbageCollectionSettingsProto) -> Bool { + if lhs.playerIdleThresholdMs != rhs.playerIdleThresholdMs {return false} + if lhs.normalUnloadUnusedAssetsThreshold != rhs.normalUnloadUnusedAssetsThreshold {return false} + if lhs.lowUnloadUnusedAssetsThreshold != rhs.lowUnloadUnusedAssetsThreshold {return false} + if lhs.extraLowUnloadUnusedAssetsThreshold != rhs.extraLowUnloadUnusedAssetsThreshold {return false} + if lhs.forceUnloadUnusedAssetsFactor != rhs.forceUnloadUnusedAssetsFactor {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAdventureSyncProgressOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "DISABLED"), - 3: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension GetAdventureSyncProgressProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncProgressProto" +extension GcmToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GcmToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "request"), + 1: .standard(proto: "registration_id"), + 2: .standard(proto: "client_operating_system"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207581,50 +213873,35 @@ extension GetAdventureSyncProgressProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.request) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.registrationID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.clientOperatingSystem) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.request.isEmpty { - try visitor.visitSingularBytesField(value: self.request, fieldNumber: 1) + if !self.registrationID.isEmpty { + try visitor.visitSingularStringField(value: self.registrationID, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetAdventureSyncProgressProto, rhs: GetAdventureSyncProgressProto) -> Bool { - if lhs.request != rhs.request {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetAdventureSyncSettingsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncSettingsRequestProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.clientOperatingSystem != .osUnknown { + try visitor.visitSingularEnumField(value: self.clientOperatingSystem, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetAdventureSyncSettingsRequestProto, rhs: GetAdventureSyncSettingsRequestProto) -> Bool { + public static func ==(lhs: GcmToken, rhs: GcmToken) -> Bool { + if lhs.registrationID != rhs.registrationID {return false} + if lhs.clientOperatingSystem != rhs.clientOperatingSystem {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAdventureSyncSettingsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncSettingsResponseProto" +extension GenerateCombatChallengeIdData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GenerateCombatChallengeIdData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "adventure_sync_settings"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207633,53 +213910,31 @@ extension GetAdventureSyncSettingsResponseProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._adventureSyncSettings) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - try { if let v = self._adventureSyncSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetAdventureSyncSettingsResponseProto, rhs: GetAdventureSyncSettingsResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._adventureSyncSettings != rhs._adventureSyncSettings {return false} + public static func ==(lhs: GenerateCombatChallengeIdData, rhs: GenerateCombatChallengeIdData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAdventureSyncSettingsResponseProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - ] -} - -extension GetAvailableSkusAndBalancesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAvailableSkusAndBalancesOutProto" +extension GenerateCombatChallengeIdOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GenerateCombatChallengeIdOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "available_sku"), - 3: .same(proto: "balance"), - 4: .standard(proto: "player_token"), - 5: .standard(proto: "blocked_sku"), - 6: .standard(proto: "processed_at_ms"), + 1: .same(proto: "result"), + 2: .standard(proto: "challenge_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207688,61 +213943,42 @@ extension GetAvailableSkusAndBalancesOutProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.availableSku) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.balance) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.playerToken) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.blockedSku) }() - case 6: try { try decoder.decodeSingularUInt64Field(value: &self.processedAtMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.availableSku.isEmpty { - try visitor.visitRepeatedMessageField(value: self.availableSku, fieldNumber: 2) - } - if !self.balance.isEmpty { - try visitor.visitRepeatedMessageField(value: self.balance, fieldNumber: 3) - } - if !self.playerToken.isEmpty { - try visitor.visitSingularStringField(value: self.playerToken, fieldNumber: 4) - } - if !self.blockedSku.isEmpty { - try visitor.visitRepeatedMessageField(value: self.blockedSku, fieldNumber: 5) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.processedAtMs != 0 { - try visitor.visitSingularUInt64Field(value: self.processedAtMs, fieldNumber: 6) + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetAvailableSkusAndBalancesOutProto, rhs: GetAvailableSkusAndBalancesOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.availableSku != rhs.availableSku {return false} - if lhs.balance != rhs.balance {return false} - if lhs.playerToken != rhs.playerToken {return false} - if lhs.blockedSku != rhs.blockedSku {return false} - if lhs.processedAtMs != rhs.processedAtMs {return false} + public static func ==(lhs: GenerateCombatChallengeIdOutProto, rhs: GenerateCombatChallengeIdOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.challengeID != rhs.challengeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAvailableSkusAndBalancesOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension GenerateCombatChallengeIdOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), + 2: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), + 3: .same(proto: "ERROR_ACCESS_DENIED"), ] } -extension GetAvailableSkusAndBalancesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAvailableSkusAndBalancesProto" +extension GenerateCombatChallengeIdProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GenerateCombatChallengeIdProto" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -207754,29 +213990,18 @@ extension GetAvailableSkusAndBalancesProto: SwiftProtobuf.Message, SwiftProtobuf try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetAvailableSkusAndBalancesProto, rhs: GetAvailableSkusAndBalancesProto) -> Bool { + public static func ==(lhs: GenerateCombatChallengeIdProto, rhs: GenerateCombatChallengeIdProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAvailableSubmissionsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAvailableSubmissionsOutProto" +extension GenerateCombatChallengeIdResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GenerateCombatChallengeIdResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "submissions_left"), - 2: .standard(proto: "min_player_level"), - 3: .standard(proto: "has_valid_email"), - 4: .standard(proto: "is_feature_enabled"), - 5: .standard(proto: "time_window_for_submissions_limit_ms"), - 6: .standard(proto: "max_poi_distance_in_meters"), - 7: .standard(proto: "availability_result_per_type"), - 8: .standard(proto: "max_poi_location_edit_move_distance_meters"), - 9: .standard(proto: "is_upload_later_enabled"), - 10: .standard(proto: "category_cloud_storage_directory_path"), - 11: .standard(proto: "urban_typology_cloud_storage_path"), - 12: .standard(proto: "has_wayfarer_account"), - 13: .standard(proto: "passed_wayfarer_quiz"), - 14: .standard(proto: "is_poi_submission_category_enabled"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207785,148 +214010,41 @@ extension GetAvailableSubmissionsOutProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.submissionsLeft) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.hasValidEmail_p) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.isFeatureEnabled) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.timeWindowForSubmissionsLimitMs) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiDistanceInMeters) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &self.availabilityResultPerType) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiLocationEditMoveDistanceMeters) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.isUploadLaterEnabled) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.categoryCloudStorageDirectoryPath) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.urbanTypologyCloudStoragePath) }() - case 12: try { try decoder.decodeSingularBoolField(value: &self.hasWayfarerAccount_p) }() - case 13: try { try decoder.decodeSingularBoolField(value: &self.passedWayfarerQuiz) }() - case 14: try { try decoder.decodeSingularBoolField(value: &self.isPoiSubmissionCategoryEnabled) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.submissionsLeft != 0 { - try visitor.visitSingularInt32Field(value: self.submissionsLeft, fieldNumber: 1) - } - if self.minPlayerLevel != 0 { - try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 2) - } - if self.hasValidEmail_p != false { - try visitor.visitSingularBoolField(value: self.hasValidEmail_p, fieldNumber: 3) - } - if self.isFeatureEnabled != false { - try visitor.visitSingularBoolField(value: self.isFeatureEnabled, fieldNumber: 4) - } - if self.timeWindowForSubmissionsLimitMs != 0 { - try visitor.visitSingularInt64Field(value: self.timeWindowForSubmissionsLimitMs, fieldNumber: 5) - } - if self.maxPoiDistanceInMeters != 0 { - try visitor.visitSingularInt32Field(value: self.maxPoiDistanceInMeters, fieldNumber: 6) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if !self.availabilityResultPerType.isEmpty { - try visitor.visitRepeatedMessageField(value: self.availabilityResultPerType, fieldNumber: 7) - } - if self.maxPoiLocationEditMoveDistanceMeters != 0 { - try visitor.visitSingularInt32Field(value: self.maxPoiLocationEditMoveDistanceMeters, fieldNumber: 8) - } - if self.isUploadLaterEnabled != false { - try visitor.visitSingularBoolField(value: self.isUploadLaterEnabled, fieldNumber: 9) - } - if !self.categoryCloudStorageDirectoryPath.isEmpty { - try visitor.visitSingularStringField(value: self.categoryCloudStorageDirectoryPath, fieldNumber: 10) - } - if !self.urbanTypologyCloudStoragePath.isEmpty { - try visitor.visitSingularStringField(value: self.urbanTypologyCloudStoragePath, fieldNumber: 11) - } - if self.hasWayfarerAccount_p != false { - try visitor.visitSingularBoolField(value: self.hasWayfarerAccount_p, fieldNumber: 12) - } - if self.passedWayfarerQuiz != false { - try visitor.visitSingularBoolField(value: self.passedWayfarerQuiz, fieldNumber: 13) - } - if self.isPoiSubmissionCategoryEnabled != false { - try visitor.visitSingularBoolField(value: self.isPoiSubmissionCategoryEnabled, fieldNumber: 14) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetAvailableSubmissionsOutProto, rhs: GetAvailableSubmissionsOutProto) -> Bool { - if lhs.submissionsLeft != rhs.submissionsLeft {return false} - if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} - if lhs.hasValidEmail_p != rhs.hasValidEmail_p {return false} - if lhs.isFeatureEnabled != rhs.isFeatureEnabled {return false} - if lhs.timeWindowForSubmissionsLimitMs != rhs.timeWindowForSubmissionsLimitMs {return false} - if lhs.maxPoiDistanceInMeters != rhs.maxPoiDistanceInMeters {return false} - if lhs.availabilityResultPerType != rhs.availabilityResultPerType {return false} - if lhs.maxPoiLocationEditMoveDistanceMeters != rhs.maxPoiLocationEditMoveDistanceMeters {return false} - if lhs.isUploadLaterEnabled != rhs.isUploadLaterEnabled {return false} - if lhs.categoryCloudStorageDirectoryPath != rhs.categoryCloudStorageDirectoryPath {return false} - if lhs.urbanTypologyCloudStoragePath != rhs.urbanTypologyCloudStoragePath {return false} - if lhs.hasWayfarerAccount_p != rhs.hasWayfarerAccount_p {return false} - if lhs.passedWayfarerQuiz != rhs.passedWayfarerQuiz {return false} - if lhs.isPoiSubmissionCategoryEnabled != rhs.isPoiSubmissionCategoryEnabled {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetAvailableSubmissionsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAvailableSubmissionsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "submission_types"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.submissionTypes) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.submissionTypes.isEmpty { - try visitor.visitPackedEnumField(value: self.submissionTypes, fieldNumber: 1) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetAvailableSubmissionsProto, rhs: GetAvailableSubmissionsProto) -> Bool { - if lhs.submissionTypes != rhs.submissionTypes {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetAvailableSubscriptionsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAvailableSubscriptionsRequestProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetAvailableSubscriptionsRequestProto, rhs: GetAvailableSubscriptionsRequestProto) -> Bool { + public static func ==(lhs: GenerateCombatChallengeIdResponseData, rhs: GenerateCombatChallengeIdResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAvailableSubscriptionsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetAvailableSubscriptionsResponseProto" +extension GenerateGmapSignedUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GenerateGmapSignedUrlOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "player_token"), - 3: .standard(proto: "available_subscription"), + 1: .same(proto: "result"), + 2: .standard(proto: "signed_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207935,49 +214053,55 @@ extension GetAvailableSubscriptionsResponseProto: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.playerToken) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.availableSubscription) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.signedURL) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.playerToken.isEmpty { - try visitor.visitSingularStringField(value: self.playerToken, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.availableSubscription.isEmpty { - try visitor.visitRepeatedMessageField(value: self.availableSubscription, fieldNumber: 3) + if !self.signedURL.isEmpty { + try visitor.visitSingularStringField(value: self.signedURL, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetAvailableSubscriptionsResponseProto, rhs: GetAvailableSubscriptionsResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.playerToken != rhs.playerToken {return false} - if lhs.availableSubscription != rhs.availableSubscription {return false} + public static func ==(lhs: GenerateGmapSignedUrlOutProto, rhs: GenerateGmapSignedUrlOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.signedURL != rhs.signedURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetAvailableSubscriptionsResponseProto.Status: SwiftProtobuf._ProtoNameProviding { +extension GenerateGmapSignedUrlOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), + 2: .same(proto: "ERROR_PLAYER_NOT_VALID"), + 3: .same(proto: "ERROR_RATE_LIMITED"), + 4: .same(proto: "ERROR_MISSING_INPUT"), + 5: .same(proto: "ERROR_UNKNOWN"), ] } -extension GetBackgroundModeSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetBackgroundModeSettingsOutProto" +extension GenerateGmapSignedUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GenerateGmapSignedUrlProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "settings"), + 1: .same(proto: "latitude"), + 2: .same(proto: "longitude"), + 3: .same(proto: "width"), + 4: .same(proto: "height"), + 5: .same(proto: "zoom"), + 6: .standard(proto: "language_code"), + 7: .standard(proto: "country_code"), + 8: .standard(proto: "map_style"), + 9: .standard(proto: "map_type"), + 10: .standard(proto: "icon_params"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -207986,45 +214110,73 @@ extension GetBackgroundModeSettingsOutProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._settings) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.width) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.height) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.zoom) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.mapStyle) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.mapType) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.iconParams) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 1) + } + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 2) + } + if self.width != 0 { + try visitor.visitSingularInt32Field(value: self.width, fieldNumber: 3) + } + if self.height != 0 { + try visitor.visitSingularInt32Field(value: self.height, fieldNumber: 4) + } + if self.zoom != 0 { + try visitor.visitSingularInt32Field(value: self.zoom, fieldNumber: 5) + } + if !self.languageCode.isEmpty { + try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 6) + } + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 7) + } + if !self.mapStyle.isEmpty { + try visitor.visitSingularStringField(value: self.mapStyle, fieldNumber: 8) + } + if !self.mapType.isEmpty { + try visitor.visitSingularStringField(value: self.mapType, fieldNumber: 9) + } + if !self.iconParams.isEmpty { + try visitor.visitSingularStringField(value: self.iconParams, fieldNumber: 10) } - try { if let v = self._settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetBackgroundModeSettingsOutProto, rhs: GetBackgroundModeSettingsOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._settings != rhs._settings {return false} + public static func ==(lhs: GenerateGmapSignedUrlProto, rhs: GenerateGmapSignedUrlProto) -> Bool { + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.width != rhs.width {return false} + if lhs.height != rhs.height {return false} + if lhs.zoom != rhs.zoom {return false} + if lhs.languageCode != rhs.languageCode {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.mapStyle != rhs.mapStyle {return false} + if lhs.mapType != rhs.mapType {return false} + if lhs.iconParams != rhs.iconParams {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetBackgroundModeSettingsOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension GetBackgroundModeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetBackgroundModeSettingsProto" +extension GeneratedCodeInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GeneratedCodeInfo" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -208036,17 +214188,18 @@ extension GetBackgroundModeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._ try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetBackgroundModeSettingsProto, rhs: GetBackgroundModeSettingsProto) -> Bool { + public static func ==(lhs: GeneratedCodeInfo, rhs: GeneratedCodeInfo) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetBuddyHistoryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetBuddyHistoryOutProto" +extension GeneratedCodeInfo.Annotation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = GeneratedCodeInfo.protoMessageName + ".Annotation" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "buddy_history"), + 1: .standard(proto: "source_file"), + 2: .same(proto: "begin"), + 3: .same(proto: "end"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208055,70 +214208,79 @@ extension GetBuddyHistoryOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.buddyHistory) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.sourceFile) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.begin) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.end) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.sourceFile.isEmpty { + try visitor.visitSingularStringField(value: self.sourceFile, fieldNumber: 1) } - if !self.buddyHistory.isEmpty { - try visitor.visitRepeatedMessageField(value: self.buddyHistory, fieldNumber: 2) + if self.begin != 0 { + try visitor.visitSingularInt32Field(value: self.begin, fieldNumber: 2) + } + if self.end != 0 { + try visitor.visitSingularInt32Field(value: self.end, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetBuddyHistoryOutProto, rhs: GetBuddyHistoryOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.buddyHistory != rhs.buddyHistory {return false} + public static func ==(lhs: GeneratedCodeInfo.Annotation, rhs: GeneratedCodeInfo.Annotation) -> Bool { + if lhs.sourceFile != rhs.sourceFile {return false} + if lhs.begin != rhs.begin {return false} + if lhs.end != rhs.end {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetBuddyHistoryOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GenericClickTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GenericClickTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), + 1: .standard(proto: "generic_click_id"), ] -} - -extension GetBuddyHistoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetBuddyHistoryProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.genericClickID) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.genericClickID != .undefinedGenericEvent { + try visitor.visitSingularEnumField(value: self.genericClickID, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetBuddyHistoryProto, rhs: GetBuddyHistoryProto) -> Bool { + public static func ==(lhs: GenericClickTelemetry, rhs: GenericClickTelemetry) -> Bool { + if lhs.genericClickID != rhs.genericClickID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetBuddyWalkedOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetBuddyWalkedOutProto" +extension GeofenceMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GeofenceMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "success"), - 2: .standard(proto: "family_candy_id"), - 3: .standard(proto: "candy_earned_count"), - 4: .standard(proto: "km_remaining"), - 5: .standard(proto: "last_km_awarded"), - 6: .standard(proto: "mega_energy_earned_count"), - 7: .standard(proto: "mega_pokemon_id"), - 8: .standard(proto: "xl_candy"), - 9: .standard(proto: "awarded_loot"), + 1: .standard(proto: "latitude_deg"), + 2: .standard(proto: "longitude_deg"), + 3: .same(proto: "radius"), + 4: .same(proto: "identifier"), + 5: .standard(proto: "expiration_ms"), + 6: .standard(proto: "dwell_time_ms"), + 7: .standard(proto: "fire_on_entrance"), + 8: .standard(proto: "fire_on_exit"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208127,74 +214289,65 @@ extension GetBuddyWalkedOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.familyCandyID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.candyEarnedCount) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.kmRemaining) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.lastKmAwarded) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.megaEnergyEarnedCount) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.megaPokemonID) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.xlCandy) }() - case 9: try { try decoder.decodeSingularMessageField(value: &self._awardedLoot) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitudeDeg) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitudeDeg) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.radius) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.identifier) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.expirationMs) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.dwellTimeMs) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.fireOnEntrance) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.fireOnExit) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) + if self.latitudeDeg != 0 { + try visitor.visitSingularDoubleField(value: self.latitudeDeg, fieldNumber: 1) } - if self.familyCandyID != .familyUnset { - try visitor.visitSingularEnumField(value: self.familyCandyID, fieldNumber: 2) + if self.longitudeDeg != 0 { + try visitor.visitSingularDoubleField(value: self.longitudeDeg, fieldNumber: 2) } - if self.candyEarnedCount != 0 { - try visitor.visitSingularInt32Field(value: self.candyEarnedCount, fieldNumber: 3) + if self.radius != 0 { + try visitor.visitSingularDoubleField(value: self.radius, fieldNumber: 3) } - if self.kmRemaining != 0 { - try visitor.visitSingularDoubleField(value: self.kmRemaining, fieldNumber: 4) + if !self.identifier.isEmpty { + try visitor.visitSingularStringField(value: self.identifier, fieldNumber: 4) } - if self.lastKmAwarded != 0 { - try visitor.visitSingularDoubleField(value: self.lastKmAwarded, fieldNumber: 5) + if self.expirationMs != 0 { + try visitor.visitSingularInt64Field(value: self.expirationMs, fieldNumber: 5) } - if self.megaEnergyEarnedCount != 0 { - try visitor.visitSingularInt32Field(value: self.megaEnergyEarnedCount, fieldNumber: 6) + if self.dwellTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.dwellTimeMs, fieldNumber: 6) } - if self.megaPokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.megaPokemonID, fieldNumber: 7) + if self.fireOnEntrance != false { + try visitor.visitSingularBoolField(value: self.fireOnEntrance, fieldNumber: 7) } - if self.xlCandy != 0 { - try visitor.visitSingularInt32Field(value: self.xlCandy, fieldNumber: 8) + if self.fireOnExit != false { + try visitor.visitSingularBoolField(value: self.fireOnExit, fieldNumber: 8) } - try { if let v = self._awardedLoot { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetBuddyWalkedOutProto, rhs: GetBuddyWalkedOutProto) -> Bool { - if lhs.success != rhs.success {return false} - if lhs.familyCandyID != rhs.familyCandyID {return false} - if lhs.candyEarnedCount != rhs.candyEarnedCount {return false} - if lhs.kmRemaining != rhs.kmRemaining {return false} - if lhs.lastKmAwarded != rhs.lastKmAwarded {return false} - if lhs.megaEnergyEarnedCount != rhs.megaEnergyEarnedCount {return false} - if lhs.megaPokemonID != rhs.megaPokemonID {return false} - if lhs.xlCandy != rhs.xlCandy {return false} - if lhs._awardedLoot != rhs._awardedLoot {return false} + public static func ==(lhs: GeofenceMetadata, rhs: GeofenceMetadata) -> Bool { + if lhs.latitudeDeg != rhs.latitudeDeg {return false} + if lhs.longitudeDeg != rhs.longitudeDeg {return false} + if lhs.radius != rhs.radius {return false} + if lhs.identifier != rhs.identifier {return false} + if lhs.expirationMs != rhs.expirationMs {return false} + if lhs.dwellTimeMs != rhs.dwellTimeMs {return false} + if lhs.fireOnEntrance != rhs.fireOnEntrance {return false} + if lhs.fireOnExit != rhs.fireOnExit {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetBuddyWalkedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetBuddyWalkedProto" +extension GeofenceUpdateOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GeofenceUpdateOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "buddy_home_widget_active"), + 1: .same(proto: "geofence"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208203,30 +214356,31 @@ extension GetBuddyWalkedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.buddyHomeWidgetActive) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.geofence) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.buddyHomeWidgetActive != false { - try visitor.visitSingularBoolField(value: self.buddyHomeWidgetActive, fieldNumber: 1) + if !self.geofence.isEmpty { + try visitor.visitRepeatedMessageField(value: self.geofence, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetBuddyWalkedProto, rhs: GetBuddyWalkedProto) -> Bool { - if lhs.buddyHomeWidgetActive != rhs.buddyHomeWidgetActive {return false} + public static func ==(lhs: GeofenceUpdateOutProto, rhs: GeofenceUpdateOutProto) -> Bool { + if lhs.geofence != rhs.geofence {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetClientFeatureFlagsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetClientFeatureFlagsRequest" +extension GeofenceUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GeofenceUpdateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "country_code"), + 1: .standard(proto: "number_of_points"), + 2: .standard(proto: "minimum_point_radius_m"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208235,31 +214389,37 @@ extension GetClientFeatureFlagsRequest: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numberOfPoints) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.minimumPointRadiusM) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 1) + if self.numberOfPoints != 0 { + try visitor.visitSingularInt32Field(value: self.numberOfPoints, fieldNumber: 1) + } + if self.minimumPointRadiusM != 0 { + try visitor.visitSingularDoubleField(value: self.minimumPointRadiusM, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetClientFeatureFlagsRequest, rhs: GetClientFeatureFlagsRequest) -> Bool { - if lhs.countryCode != rhs.countryCode {return false} + public static func ==(lhs: GeofenceUpdateProto, rhs: GeofenceUpdateProto) -> Bool { + if lhs.numberOfPoints != rhs.numberOfPoints {return false} + if lhs.minimumPointRadiusM != rhs.minimumPointRadiusM {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetClientFeatureFlagsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetClientFeatureFlagsResponse" +extension Geometry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Geometry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "feature_flags"), - 2: .standard(proto: "global_settings"), + 1: .same(proto: "points"), + 2: .same(proto: "polylines"), + 3: .same(proto: "triangles"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208268,8 +214428,45 @@ extension GetClientFeatureFlagsResponse: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._featureFlags) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._globalSettings) }() + case 1: try { + var v: PointList? + var hadOneofValue = false + if let current = self.geometry { + hadOneofValue = true + if case .points(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.geometry = .points(v) + } + }() + case 2: try { + var v: PolylineList? + var hadOneofValue = false + if let current = self.geometry { + hadOneofValue = true + if case .polylines(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.geometry = .polylines(v) + } + }() + case 3: try { + var v: TriangleList? + var hadOneofValue = false + if let current = self.geometry { + hadOneofValue = true + if case .triangles(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.geometry = .triangles(v) + } + }() default: break } } @@ -208280,27 +214477,40 @@ extension GetClientFeatureFlagsResponse: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._featureFlags { + switch self.geometry { + case .points?: try { + guard case .points(let v)? = self.geometry else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._globalSettings { + }() + case .polylines?: try { + guard case .polylines(let v)? = self.geometry else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() + }() + case .triangles?: try { + guard case .triangles(let v)? = self.geometry else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case nil: break + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetClientFeatureFlagsResponse, rhs: GetClientFeatureFlagsResponse) -> Bool { - if lhs._featureFlags != rhs._featureFlags {return false} - if lhs._globalSettings != rhs._globalSettings {return false} + public static func ==(lhs: Geometry, rhs: Geometry) -> Bool { + if lhs.geometry != rhs.geometry {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetClientSettingsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetClientSettingsRequest" +extension GeotargetedQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GeotargetedQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "country_code"), + 1: .same(proto: "name"), + 2: .standard(proto: "call_to_action_link"), + 3: .standard(proto: "image_url"), + 4: .same(proto: "latitude"), + 5: .same(proto: "longitude"), + 6: .standard(proto: "fort_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208309,30 +214519,55 @@ extension GetClientSettingsRequest: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.callToActionLink) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.fortID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + } + if !self.callToActionLink.isEmpty { + try visitor.visitSingularStringField(value: self.callToActionLink, fieldNumber: 2) + } + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 3) + } + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 4) + } + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 5) + } + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetClientSettingsRequest, rhs: GetClientSettingsRequest) -> Bool { - if lhs.countryCode != rhs.countryCode {return false} + public static func ==(lhs: GeotargetedQuestProto, rhs: GeotargetedQuestProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.callToActionLink != rhs.callToActionLink {return false} + if lhs.imageURL != rhs.imageURL {return false} + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.fortID != rhs.fortID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetClientSettingsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetClientSettingsResponse" +extension GeotargetedQuestSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GeotargetedQuestSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "phone_number_settings"), + 1: .standard(proto: "enable_geotargeted_quests"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208341,34 +214576,30 @@ extension GetClientSettingsResponse: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._phoneNumberSettings) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableGeotargetedQuests) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._phoneNumberSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() + if self.enableGeotargetedQuests != false { + try visitor.visitSingularBoolField(value: self.enableGeotargetedQuests, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetClientSettingsResponse, rhs: GetClientSettingsResponse) -> Bool { - if lhs._phoneNumberSettings != rhs._phoneNumberSettings {return false} + public static func ==(lhs: GeotargetedQuestSettingsProto, rhs: GeotargetedQuestSettingsProto) -> Bool { + if lhs.enableGeotargetedQuests != rhs.enableGeotargetedQuests {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetClientSettingsResponse.PhoneNumberSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetClientSettingsResponse.protoMessageName + ".PhoneNumberSettings" +extension GeotargetedQuestValidation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GeotargetedQuestValidation" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "country"), + 1: .standard(proto: "fort_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208377,63 +214608,50 @@ extension GetClientSettingsResponse.PhoneNumberSettings: SwiftProtobuf.Message, // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.country) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.country.isEmpty { - try visitor.visitRepeatedMessageField(value: self.country, fieldNumber: 1) + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetClientSettingsResponse.PhoneNumberSettings, rhs: GetClientSettingsResponse.PhoneNumberSettings) -> Bool { - if lhs.country != rhs.country {return false} + public static func ==(lhs: GeotargetedQuestValidation, rhs: GeotargetedQuestValidation) -> Bool { + if lhs.fortID != rhs.fortID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatChallengeDataProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - ] +extension GetActionLogRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetActionLogRequest" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatChallengeDataProto, rhs: GetCombatChallengeDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: GetActionLogRequest, rhs: GetActionLogRequest) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatChallengeOutProto" +extension GetActionLogResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetActionLogResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "challenge"), + 2: .same(proto: "log"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208443,46 +214661,41 @@ extension GetCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.log) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._challenge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() + if !self.log.isEmpty { + try visitor.visitRepeatedMessageField(value: self.log, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatChallengeOutProto, rhs: GetCombatChallengeOutProto) -> Bool { + public static func ==(lhs: GetActionLogResponse, rhs: GetActionLogResponse) -> Bool { if lhs.result != rhs.result {return false} - if lhs._challenge != rhs._challenge {return false} + if lhs.log != rhs.log {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetActionLogResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), ] } -extension GetCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatChallengeProto" +extension GetAdditionalPokemonDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAdditionalPokemonDetailsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), + 1: .standard(proto: "origin_party_nicknames"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208491,33 +214704,30 @@ extension GetCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.originPartyNicknames) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) + if !self.originPartyNicknames.isEmpty { + try visitor.visitRepeatedStringField(value: self.originPartyNicknames, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatChallengeProto, rhs: GetCombatChallengeProto) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} + public static func ==(lhs: GetAdditionalPokemonDetailsOutProto, rhs: GetAdditionalPokemonDetailsOutProto) -> Bool { + if lhs.originPartyNicknames != rhs.originPartyNicknames {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatChallengeResponseDataProto" +extension GetAdditionalPokemonDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAdditionalPokemonDetailsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), - 4: .same(proto: "challenge"), + 1: .same(proto: "id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208526,49 +214736,31 @@ extension GetCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() + case 1: try { try decoder.decodeSingularUInt64Field(value: &self.id) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) - } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + if self.id != 0 { + try visitor.visitSingularUInt64Field(value: self.id, fieldNumber: 1) } - try { if let v = self._challenge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatChallengeResponseDataProto, rhs: GetCombatChallengeResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} - if lhs._challenge != rhs._challenge {return false} + public static func ==(lhs: GetAdditionalPokemonDetailsProto, rhs: GetAdditionalPokemonDetailsProto) -> Bool { + if lhs.id != rhs.id {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatPlayerProfileDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatPlayerProfileDataProto" +extension GetAdventureSyncFitnessReportRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncFitnessReportRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .standard(proto: "num_of_days"), + 2: .standard(proto: "num_of_weeks"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208577,32 +214769,38 @@ extension GetCombatPlayerProfileDataProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numOfDays) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numOfWeeks) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.numOfDays != 0 { + try visitor.visitSingularInt32Field(value: self.numOfDays, fieldNumber: 1) + } + if self.numOfWeeks != 0 { + try visitor.visitSingularInt32Field(value: self.numOfWeeks, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatPlayerProfileDataProto, rhs: GetCombatPlayerProfileDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: GetAdventureSyncFitnessReportRequestProto, rhs: GetAdventureSyncFitnessReportRequestProto) -> Bool { + if lhs.numOfDays != rhs.numOfDays {return false} + if lhs.numOfWeeks != rhs.numOfWeeks {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatPlayerProfileOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatPlayerProfileOutProto" +extension GetAdventureSyncFitnessReportResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncFitnessReportResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "profile"), - 3: .standard(proto: "ob_string_list"), + 1: .same(proto: "status"), + 2: .standard(proto: "daily_reports"), + 3: .standard(proto: "weekly_reports"), + 4: .standard(proto: "week_reset_timestamp_since_monday_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208611,53 +214809,57 @@ extension GetCombatPlayerProfileOutProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._profile) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.obStringList) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.dailyReports) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.weeklyReports) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.weekResetTimestampSinceMondayMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - try { if let v = self._profile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.obStringList.isEmpty { - try visitor.visitRepeatedStringField(value: self.obStringList, fieldNumber: 3) + if !self.dailyReports.isEmpty { + try visitor.visitRepeatedMessageField(value: self.dailyReports, fieldNumber: 2) + } + if !self.weeklyReports.isEmpty { + try visitor.visitRepeatedMessageField(value: self.weeklyReports, fieldNumber: 3) + } + if self.weekResetTimestampSinceMondayMs != 0 { + try visitor.visitSingularInt64Field(value: self.weekResetTimestampSinceMondayMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatPlayerProfileOutProto, rhs: GetCombatPlayerProfileOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._profile != rhs._profile {return false} - if lhs.obStringList != rhs.obStringList {return false} + public static func ==(lhs: GetAdventureSyncFitnessReportResponseProto, rhs: GetAdventureSyncFitnessReportResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.dailyReports != rhs.dailyReports {return false} + if lhs.weeklyReports != rhs.weeklyReports {return false} + if lhs.weekResetTimestampSinceMondayMs != rhs.weekResetTimestampSinceMondayMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatPlayerProfileOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetAdventureSyncFitnessReportResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), 2: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - 3: .same(proto: "ERROR_ACCESS_DENIED"), + 3: .same(proto: "ERROR_RECORDS_NOT_FOUND"), + 4: .same(proto: "ERROR_INVALID_WINDOW"), + 5: .same(proto: "ERROR_UNKNOWN"), ] } -extension GetCombatPlayerProfileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatPlayerProfileProto" +extension GetAdventureSyncProgressOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncProgressOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), + 1: .same(proto: "status"), + 2: .same(proto: "progress"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208666,32 +214868,48 @@ extension GetCombatPlayerProfileProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._progress) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } + try { if let v = self._progress { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatPlayerProfileProto, rhs: GetCombatPlayerProfileProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} + public static func ==(lhs: GetAdventureSyncProgressOutProto, rhs: GetAdventureSyncProgressOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._progress != rhs._progress {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatPlayerProfileResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatPlayerProfileResponseDataProto" +extension GetAdventureSyncProgressOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "DISABLED"), + 3: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension GetAdventureSyncProgressProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncProgressProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), + 1: .same(proto: "request"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208700,46 +214918,50 @@ extension GetCombatPlayerProfileResponseDataProto: SwiftProtobuf.Message, SwiftP // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.request) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if !self.request.isEmpty { + try visitor.visitSingularBytesField(value: self.request, fieldNumber: 1) } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: GetAdventureSyncProgressProto, rhs: GetAdventureSyncProgressProto) -> Bool { + if lhs.request != rhs.request {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension GetAdventureSyncSettingsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncSettingsRequestProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatPlayerProfileResponseDataProto, rhs: GetCombatPlayerProfileResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} + public static func ==(lhs: GetAdventureSyncSettingsRequestProto, rhs: GetAdventureSyncSettingsRequestProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatResultsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatResultsOutProto" +extension GetAdventureSyncSettingsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAdventureSyncSettingsResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "reward_status"), - 3: .same(proto: "rewards"), - 4: .standard(proto: "friend_level_up"), - 5: .standard(proto: "number_rewarded_battles_today"), - 6: .standard(proto: "combat_player_finish_state"), - 7: .standard(proto: "combat_rematch"), + 1: .same(proto: "status"), + 2: .standard(proto: "adventure_sync_settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208748,13 +214970,8 @@ extension GetCombatResultsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.rewardStatus) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._friendLevelUp) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.numberRewardedBattlesToday) }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.combatPlayerFinishState) }() - case 7: try { try decoder.decodeSingularMessageField(value: &self._combatRematch) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._adventureSyncSettings) }() default: break } } @@ -208765,58 +214982,40 @@ extension GetCombatResultsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.rewardStatus != .unsetRewardStatus { - try visitor.visitSingularEnumField(value: self.rewardStatus, fieldNumber: 2) - } - try { if let v = self._rewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._friendLevelUp { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.numberRewardedBattlesToday != 0 { - try visitor.visitSingularInt32Field(value: self.numberRewardedBattlesToday, fieldNumber: 5) - } - if self.combatPlayerFinishState != .winner { - try visitor.visitSingularEnumField(value: self.combatPlayerFinishState, fieldNumber: 6) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - try { if let v = self._combatRematch { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + try { if let v = self._adventureSyncSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatResultsOutProto, rhs: GetCombatResultsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.rewardStatus != rhs.rewardStatus {return false} - if lhs._rewards != rhs._rewards {return false} - if lhs._friendLevelUp != rhs._friendLevelUp {return false} - if lhs.numberRewardedBattlesToday != rhs.numberRewardedBattlesToday {return false} - if lhs.combatPlayerFinishState != rhs.combatPlayerFinishState {return false} - if lhs._combatRematch != rhs._combatRematch {return false} + public static func ==(lhs: GetAdventureSyncSettingsResponseProto, rhs: GetAdventureSyncSettingsResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._adventureSyncSettings != rhs._adventureSyncSettings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatResultsOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetAdventureSyncSettingsResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_COMBAT_STATE"), - 3: .same(proto: "ERROR_COMBAT_NOT_FOUND"), - 4: .same(proto: "ERROR_PLAYER_QUIT"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), ] } -extension GetCombatResultsOutProto.CombatRematchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetCombatResultsOutProto.protoMessageName + ".CombatRematchProto" +extension GetAvailableSubmissionsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAvailableSubmissionsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "combat_rematch_id"), - 2: .standard(proto: "combat_league_template_id"), + 1: .standard(proto: "submissions_left"), + 2: .standard(proto: "min_player_level"), + 3: .standard(proto: "has_valid_email"), + 4: .standard(proto: "is_feature_enabled"), + 5: .standard(proto: "time_window_for_submissions_limit_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208825,119 +215024,139 @@ extension GetCombatResultsOutProto.CombatRematchProto: SwiftProtobuf.Message, Sw // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.combatRematchID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.submissionsLeft) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.hasValidEmail_p) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isFeatureEnabled) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.timeWindowForSubmissionsLimitMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.combatRematchID.isEmpty { - try visitor.visitSingularStringField(value: self.combatRematchID, fieldNumber: 1) + if self.submissionsLeft != 0 { + try visitor.visitSingularInt32Field(value: self.submissionsLeft, fieldNumber: 1) } - if !self.combatLeagueTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 2) + if self.minPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 2) + } + if self.hasValidEmail_p != false { + try visitor.visitSingularBoolField(value: self.hasValidEmail_p, fieldNumber: 3) + } + if self.isFeatureEnabled != false { + try visitor.visitSingularBoolField(value: self.isFeatureEnabled, fieldNumber: 4) + } + if self.timeWindowForSubmissionsLimitMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeWindowForSubmissionsLimitMs, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatResultsOutProto.CombatRematchProto, rhs: GetCombatResultsOutProto.CombatRematchProto) -> Bool { - if lhs.combatRematchID != rhs.combatRematchID {return false} - if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} + public static func ==(lhs: GetAvailableSubmissionsOutProto, rhs: GetAvailableSubmissionsOutProto) -> Bool { + if lhs.submissionsLeft != rhs.submissionsLeft {return false} + if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + if lhs.hasValidEmail_p != rhs.hasValidEmail_p {return false} + if lhs.isFeatureEnabled != rhs.isFeatureEnabled {return false} + if lhs.timeWindowForSubmissionsLimitMs != rhs.timeWindowForSubmissionsLimitMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetCombatResultsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetCombatResultsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "combat_id"), - ] +extension GetAvailableSubmissionsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetAvailableSubmissionsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.combatID) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.combatID.isEmpty { - try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetCombatResultsProto, rhs: GetCombatResultsProto) -> Bool { - if lhs.combatID != rhs.combatID {return false} + public static func ==(lhs: GetAvailableSubmissionsProto, rhs: GetAvailableSubmissionsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetContactListInfoRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetContactListInfoRequest" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension GetBackgroundModeSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBackgroundModeSettingsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .same(proto: "settings"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._settings) }() + default: break + } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try { if let v = self._settings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetContactListInfoRequest, rhs: GetContactListInfoRequest) -> Bool { + public static func ==(lhs: GetBackgroundModeSettingsOutProto, rhs: GetBackgroundModeSettingsOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._settings != rhs._settings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetContactListInfoResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetContactListInfoResponse" +extension GetBackgroundModeSettingsOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "has_new_account_matching"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), ] +} + +extension GetBackgroundModeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBackgroundModeSettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.hasNewAccountMatching_p) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.hasNewAccountMatching_p != false { - try visitor.visitSingularBoolField(value: self.hasNewAccountMatching_p, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetContactListInfoResponse, rhs: GetContactListInfoResponse) -> Bool { - if lhs.hasNewAccountMatching_p != rhs.hasNewAccountMatching_p {return false} + public static func ==(lhs: GetBackgroundModeSettingsProto, rhs: GetBackgroundModeSettingsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetContestDataOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetContestDataOutProto" +extension GetBonusAttractedPokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBonusAttractedPokemonOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "contest_incident"), + 1: .same(proto: "result"), + 2: .standard(proto: "bonus_attracted_pokemon"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -208946,82 +215165,62 @@ extension GetContestDataOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._contestIncident) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.bonusAttractedPokemon) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.bonusAttractedPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.bonusAttractedPokemon, fieldNumber: 2) } - try { if let v = self._contestIncident { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetContestDataOutProto, rhs: GetContestDataOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._contestIncident != rhs._contestIncident {return false} + public static func ==(lhs: GetBonusAttractedPokemonOutProto, rhs: GetBonusAttractedPokemonOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.bonusAttractedPokemon != rhs.bonusAttractedPokemon {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetContestDataOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension GetBonusAttractedPokemonOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_FORT_ID_INVALID"), - 3: .same(proto: "ERROR_NOT_CONTEST_POI"), - 4: .same(proto: "ERROR_CHEATING_DETECTED"), ] } -extension GetContestDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetContestDataProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fort_id"), - ] +extension GetBonusAttractedPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBonusAttractedPokemonProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetContestDataProto, rhs: GetContestDataProto) -> Bool { - if lhs.fortID != rhs.fortID {return false} + public static func ==(lhs: GetBonusAttractedPokemonProto, rhs: GetBonusAttractedPokemonProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetContestsUnclaimedRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetContestsUnclaimedRewardsOutProto" +extension GetBonusesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBonusesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "contest_info_summaries"), + 1: .same(proto: "result"), + 2: .standard(proto: "bonus_boxes"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209030,42 +215229,41 @@ extension GetContestsUnclaimedRewardsOutProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contestInfoSummaries) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.bonusBoxes) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.contestInfoSummaries.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contestInfoSummaries, fieldNumber: 2) + if !self.bonusBoxes.isEmpty { + try visitor.visitRepeatedMessageField(value: self.bonusBoxes, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetContestsUnclaimedRewardsOutProto, rhs: GetContestsUnclaimedRewardsOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.contestInfoSummaries != rhs.contestInfoSummaries {return false} + public static func ==(lhs: GetBonusesOutProto, rhs: GetBonusesOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.bonusBoxes != rhs.bonusBoxes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetContestsUnclaimedRewardsOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension GetBonusesOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "REWARDS_PENDING_CLAIM"), - 2: .same(proto: "NO_REWARDS_PENDING_CLAIM"), - 3: .same(proto: "ERROR"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_NO_LOCATION"), ] } -extension GetContestsUnclaimedRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetContestsUnclaimedRewardsProto" +extension GetBonusesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBonusesProto" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -209077,23 +215275,17 @@ extension GetContestsUnclaimedRewardsProto: SwiftProtobuf.Message, SwiftProtobuf try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetContestsUnclaimedRewardsProto, rhs: GetContestsUnclaimedRewardsProto) -> Bool { + public static func ==(lhs: GetBonusesProto, rhs: GetBonusesProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetDailyEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetDailyEncounterOutProto" +extension GetBuddyHistoryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBuddyHistoryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "pokedex_id"), - 3: .same(proto: "lat"), - 4: .same(proto: "lng"), - 5: .standard(proto: "encounter_location"), - 6: .standard(proto: "encounter_id"), - 7: .standard(proto: "disappear_time_ms"), - 8: .standard(proto: "pokemon_display"), + 2: .standard(proto: "buddy_history"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209103,77 +215295,40 @@ extension GetDailyEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.lat) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.lng) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() - case 6: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.disappearTimeMs) }() - case 8: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.buddyHistory) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 2) - } - if self.lat != 0 { - try visitor.visitSingularDoubleField(value: self.lat, fieldNumber: 3) - } - if self.lng != 0 { - try visitor.visitSingularDoubleField(value: self.lng, fieldNumber: 4) - } - if !self.encounterLocation.isEmpty { - try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 5) - } - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 6) - } - if self.disappearTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.disappearTimeMs, fieldNumber: 7) + if !self.buddyHistory.isEmpty { + try visitor.visitRepeatedMessageField(value: self.buddyHistory, fieldNumber: 2) } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetDailyEncounterOutProto, rhs: GetDailyEncounterOutProto) -> Bool { + public static func ==(lhs: GetBuddyHistoryOutProto, rhs: GetBuddyHistoryOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.pokedexID != rhs.pokedexID {return false} - if lhs.lat != rhs.lat {return false} - if lhs.lng != rhs.lng {return false} - if lhs.encounterLocation != rhs.encounterLocation {return false} - if lhs.encounterID != rhs.encounterID {return false} - if lhs.disappearTimeMs != rhs.disappearTimeMs {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + if lhs.buddyHistory != rhs.buddyHistory {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetDailyEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetBuddyHistoryOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ALREADY_FINISHED_FOR_TODAY"), - 3: .same(proto: "MISSED_FOR_TODAY"), - 4: .same(proto: "NO_POKEMON_AVAILABLE"), - 5: .same(proto: "DISABLED"), + 2: .same(proto: "ERROR"), ] } -extension GetDailyEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetDailyEncounterProto" +extension GetBuddyHistoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBuddyHistoryProto" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -209185,17 +215340,24 @@ extension GetDailyEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetDailyEncounterProto, rhs: GetDailyEncounterProto) -> Bool { + public static func ==(lhs: GetBuddyHistoryProto, rhs: GetBuddyHistoryProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetEnteredContestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetEnteredContestOutProto" +extension GetBuddyWalkedOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBuddyWalkedOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "contest_info"), + 1: .same(proto: "success"), + 2: .standard(proto: "family_candy_id"), + 3: .standard(proto: "candy_earned_count"), + 4: .standard(proto: "km_remaining"), + 5: .standard(proto: "last_km_awarded"), + 6: .standard(proto: "mega_energy_earned_count"), + 7: .standard(proto: "mega_pokemon_id"), + 8: .standard(proto: "xl_candy"), + 9: .standard(proto: "awarded_loot"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209204,64 +215366,106 @@ extension GetEnteredContestOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contestInfo) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.familyCandyID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.candyEarnedCount) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.kmRemaining) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.lastKmAwarded) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.megaEnergyEarnedCount) }() + case 7: try { try decoder.decodeSingularEnumField(value: &self.megaPokemonID) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.xlCandy) }() + case 9: try { try decoder.decodeSingularMessageField(value: &self._awardedLoot) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } - if !self.contestInfo.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contestInfo, fieldNumber: 2) + if self.familyCandyID != .familyUnset { + try visitor.visitSingularEnumField(value: self.familyCandyID, fieldNumber: 2) + } + if self.candyEarnedCount != 0 { + try visitor.visitSingularInt32Field(value: self.candyEarnedCount, fieldNumber: 3) + } + if self.kmRemaining != 0 { + try visitor.visitSingularDoubleField(value: self.kmRemaining, fieldNumber: 4) + } + if self.lastKmAwarded != 0 { + try visitor.visitSingularDoubleField(value: self.lastKmAwarded, fieldNumber: 5) + } + if self.megaEnergyEarnedCount != 0 { + try visitor.visitSingularInt32Field(value: self.megaEnergyEarnedCount, fieldNumber: 6) + } + if self.megaPokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.megaPokemonID, fieldNumber: 7) } + if self.xlCandy != 0 { + try visitor.visitSingularInt32Field(value: self.xlCandy, fieldNumber: 8) + } + try { if let v = self._awardedLoot { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetEnteredContestOutProto, rhs: GetEnteredContestOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.contestInfo != rhs.contestInfo {return false} + public static func ==(lhs: GetBuddyWalkedOutProto, rhs: GetBuddyWalkedOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.familyCandyID != rhs.familyCandyID {return false} + if lhs.candyEarnedCount != rhs.candyEarnedCount {return false} + if lhs.kmRemaining != rhs.kmRemaining {return false} + if lhs.lastKmAwarded != rhs.lastKmAwarded {return false} + if lhs.megaEnergyEarnedCount != rhs.megaEnergyEarnedCount {return false} + if lhs.megaPokemonID != rhs.megaPokemonID {return false} + if lhs.xlCandy != rhs.xlCandy {return false} + if lhs._awardedLoot != rhs._awardedLoot {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetEnteredContestOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension GetBuddyWalkedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetBuddyWalkedProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), + 1: .standard(proto: "buddy_home_widget_active"), ] -} - -extension GetEnteredContestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetEnteredContestProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.buddyHomeWidgetActive) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.buddyHomeWidgetActive != false { + try visitor.visitSingularBoolField(value: self.buddyHomeWidgetActive, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetEnteredContestProto, rhs: GetEnteredContestProto) -> Bool { + public static func ==(lhs: GetBuddyWalkedProto, rhs: GetBuddyWalkedProto) -> Bool { + if lhs.buddyHomeWidgetActive != rhs.buddyHomeWidgetActive {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFacebookFriendListOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFacebookFriendListOutProto" +extension GetCombatChallengeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatChallengeData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "friend"), - 3: .standard(proto: "next_cursor"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209270,53 +215474,31 @@ extension GetFacebookFriendListOutProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friend) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.nextCursor) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.friend.isEmpty { - try visitor.visitRepeatedMessageField(value: self.friend, fieldNumber: 2) - } - if !self.nextCursor.isEmpty { - try visitor.visitSingularStringField(value: self.nextCursor, fieldNumber: 3) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFacebookFriendListOutProto, rhs: GetFacebookFriendListOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.friend != rhs.friend {return false} - if lhs.nextCursor != rhs.nextCursor {return false} + public static func ==(lhs: GetCombatChallengeData, rhs: GetCombatChallengeData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFacebookFriendListOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_FACEBOOK_API"), - 4: .same(proto: "ERROR_FACEBOOK_PERMISSIONS"), - 5: .same(proto: "ERROR_NO_FACEBOOK_ID"), - 6: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - ] -} - -extension GetFacebookFriendListOutProto.FacebookFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetFacebookFriendListOutProto.protoMessageName + ".FacebookFriendProto" +extension GetCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatChallengeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "player"), - 2: .standard(proto: "full_name"), + 1: .same(proto: "result"), + 2: .same(proto: "challenge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209325,8 +215507,8 @@ extension GetFacebookFriendListOutProto.FacebookFriendProto: SwiftProtobuf.Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._player) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fullName) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break } } @@ -209336,30 +215518,36 @@ extension GetFacebookFriendListOutProto.FacebookFriendProto: SwiftProtobuf.Messa // The use of inline closures is to circumvent an issue where the compiler // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.fullName.isEmpty { - try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 2) + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._challenge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFacebookFriendListOutProto.FacebookFriendProto, rhs: GetFacebookFriendListOutProto.FacebookFriendProto) -> Bool { - if lhs._player != rhs._player {return false} - if lhs.fullName != rhs.fullName {return false} + public static func ==(lhs: GetCombatChallengeOutProto, rhs: GetCombatChallengeOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFacebookFriendListProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFacebookFriendListProto" +extension GetCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fb_access_token"), - 2: .same(proto: "limit"), - 3: .same(proto: "cursor"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), + ] +} + +extension GetCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatChallengeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "challenge_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209368,44 +215556,33 @@ extension GetFacebookFriendListProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fbAccessToken) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.limit) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.cursor) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.fbAccessToken.isEmpty { - try visitor.visitSingularStringField(value: self.fbAccessToken, fieldNumber: 1) - } - if self.limit != 0 { - try visitor.visitSingularInt32Field(value: self.limit, fieldNumber: 2) - } - if !self.cursor.isEmpty { - try visitor.visitSingularStringField(value: self.cursor, fieldNumber: 3) + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFacebookFriendListProto, rhs: GetFacebookFriendListProto) -> Bool { - if lhs.fbAccessToken != rhs.fbAccessToken {return false} - if lhs.limit != rhs.limit {return false} - if lhs.cursor != rhs.cursor {return false} + public static func ==(lhs: GetCombatChallengeProto, rhs: GetCombatChallengeProto) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFitnessReportOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFitnessReportOutProto" +extension GetCombatChallengeResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatChallengeResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "daily_reports"), - 3: .standard(proto: "weekly_reports"), - 4: .standard(proto: "week_reset_timestamp_since_monday_ms"), - 5: .standard(proto: "hourly_reports"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), + 4: .same(proto: "challenge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209414,63 +215591,49 @@ extension GetFitnessReportOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.dailyReports) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.weeklyReports) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.weekResetTimestampSinceMondayMs) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.hourlyReports) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.dailyReports.isEmpty { - try visitor.visitRepeatedMessageField(value: self.dailyReports, fieldNumber: 2) - } - if !self.weeklyReports.isEmpty { - try visitor.visitRepeatedMessageField(value: self.weeklyReports, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.weekResetTimestampSinceMondayMs != 0 { - try visitor.visitSingularInt64Field(value: self.weekResetTimestampSinceMondayMs, fieldNumber: 4) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) } - if !self.hourlyReports.isEmpty { - try visitor.visitRepeatedMessageField(value: self.hourlyReports, fieldNumber: 5) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) } + try { if let v = self._challenge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFitnessReportOutProto, rhs: GetFitnessReportOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.dailyReports != rhs.dailyReports {return false} - if lhs.weeklyReports != rhs.weeklyReports {return false} - if lhs.weekResetTimestampSinceMondayMs != rhs.weekResetTimestampSinceMondayMs {return false} - if lhs.hourlyReports != rhs.hourlyReports {return false} + public static func ==(lhs: GetCombatChallengeResponseData, rhs: GetCombatChallengeResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} + if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFitnessReportOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - 3: .same(proto: "ERROR_RECORDS_NOT_FOUND"), - 4: .same(proto: "ERROR_INVALID_WINDOW"), - 5: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension GetFitnessReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFitnessReportProto" +extension GetCombatPlayerProfileData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatPlayerProfileData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_of_days"), - 2: .standard(proto: "num_of_weeks"), - 3: .standard(proto: "num_of_hours"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209479,41 +215642,32 @@ extension GetFitnessReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.numOfDays) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numOfWeeks) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.numOfHours) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numOfDays != 0 { - try visitor.visitSingularInt32Field(value: self.numOfDays, fieldNumber: 1) - } - if self.numOfWeeks != 0 { - try visitor.visitSingularInt32Field(value: self.numOfWeeks, fieldNumber: 2) - } - if self.numOfHours != 0 { - try visitor.visitSingularInt32Field(value: self.numOfHours, fieldNumber: 3) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFitnessReportProto, rhs: GetFitnessReportProto) -> Bool { - if lhs.numOfDays != rhs.numOfDays {return false} - if lhs.numOfWeeks != rhs.numOfWeeks {return false} - if lhs.numOfHours != rhs.numOfHours {return false} + public static func ==(lhs: GetCombatPlayerProfileData, rhs: GetCombatPlayerProfileData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFitnessRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFitnessRewardsOutProto" +extension GetCombatPlayerProfileOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatPlayerProfileOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "rewards"), + 2: .same(proto: "profile"), + 3: .standard(proto: "calling_player_eligible_leagues"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209523,7 +215677,8 @@ extension GetFitnessRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._profile) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.callingPlayerEligibleLeagues) }() default: break } } @@ -209537,53 +215692,37 @@ extension GetFitnessRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._rewards { + try { if let v = self._profile { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() + if !self.callingPlayerEligibleLeagues.isEmpty { + try visitor.visitRepeatedStringField(value: self.callingPlayerEligibleLeagues, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFitnessRewardsOutProto, rhs: GetFitnessRewardsOutProto) -> Bool { + public static func ==(lhs: GetCombatPlayerProfileOutProto, rhs: GetCombatPlayerProfileOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs._rewards != rhs._rewards {return false} + if lhs._profile != rhs._profile {return false} + if lhs.callingPlayerEligibleLeagues != rhs.callingPlayerEligibleLeagues {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFitnessRewardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetCombatPlayerProfileOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "REWARDS_ALREADY_COLLECTED"), - 3: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + 3: .same(proto: "ERROR_ACCESS_DENIED"), ] } -extension GetFitnessRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFitnessRewardsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetFitnessRewardsProto, rhs: GetFitnessRewardsProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetFriendCodeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendCodeOutProto" +extension GetCombatPlayerProfileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatPlayerProfileProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "friend_code"), + 1: .standard(proto: "player_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209592,43 +215731,32 @@ extension GetFriendCodeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.friendCode) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.friendCode.isEmpty { - try visitor.visitSingularStringField(value: self.friendCode, fieldNumber: 2) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendCodeOutProto, rhs: GetFriendCodeOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.friendCode != rhs.friendCode {return false} + public static func ==(lhs: GetCombatPlayerProfileProto, rhs: GetCombatPlayerProfileProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendCodeOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - ] -} - -extension GetFriendCodeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendCodeProto" +extension GetCombatPlayerProfileResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatPlayerProfileResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "force_generate_code"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209637,32 +215765,46 @@ extension GetFriendCodeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.forceGenerateCode) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.forceGenerateCode != false { - try visitor.visitSingularBoolField(value: self.forceGenerateCode, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) + } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendCodeProto, rhs: GetFriendCodeProto) -> Bool { - if lhs.forceGenerateCode != rhs.forceGenerateCode {return false} + public static func ==(lhs: GetCombatPlayerProfileResponseData, rhs: GetCombatPlayerProfileResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendDetailsOutProto" +extension GetCombatResultsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatResultsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "friend"), - 3: .standard(proto: "friend_details_debug_info"), + 2: .standard(proto: "reward_status"), + 3: .same(proto: "rewards"), + 4: .standard(proto: "friend_level_up"), + 5: .standard(proto: "number_rewarded_battles_today"), + 6: .standard(proto: "combat_player_finish_state"), + 7: .standard(proto: "combat_rematch"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209672,8 +215814,12 @@ extension GetFriendDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friend) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._friendDetailsDebugInfo) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.rewardStatus) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._friendLevelUp) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.numberRewardedBattlesToday) }() + case 6: try { try decoder.decodeSingularEnumField(value: &self.combatPlayerFinishState) }() + case 7: try { try decoder.decodeSingularMessageField(value: &self._combatRematch) }() default: break } } @@ -209687,42 +215833,55 @@ extension GetFriendDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.friend.isEmpty { - try visitor.visitRepeatedMessageField(value: self.friend, fieldNumber: 2) + if self.rewardStatus != .unsetRewardStatus { + try visitor.visitSingularEnumField(value: self.rewardStatus, fieldNumber: 2) } - try { if let v = self._friendDetailsDebugInfo { + try { if let v = self._rewards { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() + try { if let v = self._friendLevelUp { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.numberRewardedBattlesToday != 0 { + try visitor.visitSingularInt32Field(value: self.numberRewardedBattlesToday, fieldNumber: 5) + } + if self.combatPlayerFinishState != .winner { + try visitor.visitSingularEnumField(value: self.combatPlayerFinishState, fieldNumber: 6) + } + try { if let v = self._combatRematch { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendDetailsOutProto, rhs: GetFriendDetailsOutProto) -> Bool { + public static func ==(lhs: GetCombatResultsOutProto, rhs: GetCombatResultsOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.friend != rhs.friend {return false} - if lhs._friendDetailsDebugInfo != rhs._friendDetailsDebugInfo {return false} + if lhs.rewardStatus != rhs.rewardStatus {return false} + if lhs._rewards != rhs._rewards {return false} + if lhs._friendLevelUp != rhs._friendLevelUp {return false} + if lhs.numberRewardedBattlesToday != rhs.numberRewardedBattlesToday {return false} + if lhs.combatPlayerFinishState != rhs.combatPlayerFinishState {return false} + if lhs._combatRematch != rhs._combatRematch {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetCombatResultsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "EXCEEDS_MAX_PLAYERS_PER_QUERY"), + 2: .same(proto: "ERROR_INVALID_COMBAT_STATE"), + 3: .same(proto: "ERROR_COMBAT_NOT_FOUND"), + 4: .same(proto: "ERROR_PLAYER_QUIT"), ] } -extension GetFriendDetailsOutProto.DebugProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetFriendDetailsOutProto.protoMessageName + ".DebugProto" +extension GetCombatResultsOutProto.CombatRematchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = GetCombatResultsOutProto.protoMessageName + ".CombatRematchProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fetched_from_db"), - 2: .standard(proto: "fetched_from_fanout"), - 3: .standard(proto: "fetched_from_player_mapper"), - 4: .standard(proto: "fetched_from_status_cache"), - 5: .standard(proto: "failed_to_fetch"), - 6: .standard(proto: "fetched_from_same_server_as_player"), + 1: .standard(proto: "combat_rematch_id"), + 2: .standard(proto: "combat_league_template_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209731,56 +215890,35 @@ extension GetFriendDetailsOutProto.DebugProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromDb) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromFanout) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromPlayerMapper) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromStatusCache) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.failedToFetch) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromSameServerAsPlayer) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.combatRematchID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.fetchedFromDb != 0 { - try visitor.visitSingularInt32Field(value: self.fetchedFromDb, fieldNumber: 1) - } - if self.fetchedFromFanout != 0 { - try visitor.visitSingularInt32Field(value: self.fetchedFromFanout, fieldNumber: 2) - } - if self.fetchedFromPlayerMapper != 0 { - try visitor.visitSingularInt32Field(value: self.fetchedFromPlayerMapper, fieldNumber: 3) - } - if self.fetchedFromStatusCache != 0 { - try visitor.visitSingularInt32Field(value: self.fetchedFromStatusCache, fieldNumber: 4) - } - if self.failedToFetch != 0 { - try visitor.visitSingularInt32Field(value: self.failedToFetch, fieldNumber: 5) + if !self.combatRematchID.isEmpty { + try visitor.visitSingularStringField(value: self.combatRematchID, fieldNumber: 1) } - if self.fetchedFromSameServerAsPlayer != 0 { - try visitor.visitSingularInt32Field(value: self.fetchedFromSameServerAsPlayer, fieldNumber: 6) + if !self.combatLeagueTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendDetailsOutProto.DebugProto, rhs: GetFriendDetailsOutProto.DebugProto) -> Bool { - if lhs.fetchedFromDb != rhs.fetchedFromDb {return false} - if lhs.fetchedFromFanout != rhs.fetchedFromFanout {return false} - if lhs.fetchedFromPlayerMapper != rhs.fetchedFromPlayerMapper {return false} - if lhs.fetchedFromStatusCache != rhs.fetchedFromStatusCache {return false} - if lhs.failedToFetch != rhs.failedToFetch {return false} - if lhs.fetchedFromSameServerAsPlayer != rhs.fetchedFromSameServerAsPlayer {return false} + public static func ==(lhs: GetCombatResultsOutProto.CombatRematchProto, rhs: GetCombatResultsOutProto.CombatRematchProto) -> Bool { + if lhs.combatRematchID != rhs.combatRematchID {return false} + if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsOutProto.DebugProto.Callee: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetFriendDetailsOutProto.DebugProto.protoMessageName + ".Callee" +extension GetCombatResultsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetCombatResultsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "nia_account_id"), + 1: .standard(proto: "combat_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209789,37 +215927,31 @@ extension GetFriendDetailsOutProto.DebugProto.Callee: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.combatID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) - } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) + if !self.combatID.isEmpty { + try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendDetailsOutProto.DebugProto.Callee, rhs: GetFriendDetailsOutProto.DebugProto.Callee) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} + public static func ==(lhs: GetCombatResultsProto, rhs: GetCombatResultsProto) -> Bool { + if lhs.combatID != rhs.combatID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendDetailsProto" +extension GetContestDataOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetContestDataOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "nia_account_id"), - 3: .standard(proto: "include_online_status"), + 1: .same(proto: "status"), + 2: .standard(proto: "contest_incident"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209828,42 +215960,49 @@ extension GetFriendDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.niaAccountID) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.includeOnlineStatus) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestIncident) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitRepeatedStringField(value: self.playerID, fieldNumber: 1) - } - if !self.niaAccountID.isEmpty { - try visitor.visitRepeatedStringField(value: self.niaAccountID, fieldNumber: 2) - } - if self.includeOnlineStatus != false { - try visitor.visitSingularBoolField(value: self.includeOnlineStatus, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } + try { if let v = self._contestIncident { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendDetailsProto, rhs: GetFriendDetailsProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs.includeOnlineStatus != rhs.includeOnlineStatus {return false} + public static func ==(lhs: GetContestDataOutProto, rhs: GetContestDataOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._contestIncident != rhs._contestIncident {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendDetailsRequest" +extension GetContestDataOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .same(proto: "feature"), - 3: .standard(proto: "friend_nia_account_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_FORT_ID_INVALID"), + 3: .same(proto: "ERROR_NOT_CONTEST_POI"), + 4: .same(proto: "ERROR_CHEATING_DETECTED"), + ] +} + +extension GetContestDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetContestDataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209872,41 +216011,32 @@ extension GetFriendDetailsRequest: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.feature) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.friendNiaAccountID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.friendID.isEmpty { - try visitor.visitRepeatedStringField(value: self.friendID, fieldNumber: 1) - } - if self.feature != .unset { - try visitor.visitSingularEnumField(value: self.feature, fieldNumber: 2) - } - if !self.friendNiaAccountID.isEmpty { - try visitor.visitRepeatedStringField(value: self.friendNiaAccountID, fieldNumber: 3) + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendDetailsRequest, rhs: GetFriendDetailsRequest) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs.feature != rhs.feature {return false} - if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} + public static func ==(lhs: GetContestDataProto, rhs: GetContestDataProto) -> Bool { + if lhs.fortID != rhs.fortID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendDetailsResponse" +extension GetContestEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetContestEntryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "friend_details"), + 1: .same(proto: "status"), + 2: .standard(proto: "total_entries"), + 3: .standard(proto: "contest_entries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209915,52 +216045,54 @@ extension GetFriendDetailsResponse: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friendDetails) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.totalEntries) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.contestEntries) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.friendDetails.isEmpty { - try visitor.visitRepeatedMessageField(value: self.friendDetails, fieldNumber: 2) + if self.totalEntries != 0 { + try visitor.visitSingularInt32Field(value: self.totalEntries, fieldNumber: 2) + } + if !self.contestEntries.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contestEntries, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendDetailsResponse, rhs: GetFriendDetailsResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.friendDetails != rhs.friendDetails {return false} + public static func ==(lhs: GetContestEntryOutProto, rhs: GetContestEntryOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.totalEntries != rhs.totalEntries {return false} + if lhs.contestEntries != rhs.contestEntries {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsResponse.Result: SwiftProtobuf._ProtoNameProviding { +extension GetContestEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_EXCEEDS_MAX_FRIENDS_PER_QUERY"), - 4: .same(proto: "ERROR_FEATURE_DISABLED"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "INVALID_INDEX"), + 4: .same(proto: "ENTRY_NOT_FOUND"), ] } -extension GetFriendDetailsResponse.FriendDetailsEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetFriendDetailsResponse.protoMessageName + ".FriendDetailsEntryProto" +extension GetContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetContestEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .same(proto: "profile"), - 3: .standard(proto: "player_status"), - 4: .standard(proto: "calling_game_data"), - 5: .standard(proto: "outgoing_game_invite_status"), - 6: .standard(proto: "dismissed_outgoing_game_invite_app_keys"), - 7: .standard(proto: "nia_account_id"), - 8: .standard(proto: "gar_account_info"), + 1: .standard(proto: "contest_id"), + 2: .standard(proto: "start_index"), + 3: .standard(proto: "end_index"), + 4: .standard(proto: "contest_metric"), + 5: .standard(proto: "is_relative_to_player"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -209969,14 +216101,11 @@ extension GetFriendDetailsResponse.FriendDetailsEntryProto: SwiftProtobuf.Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._profile) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._playerStatus) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._callingGameData) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.outgoingGameInviteStatus) }() - case 6: try { try decoder.decodeRepeatedStringField(value: &self.dismissedOutgoingGameInviteAppKeys) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() - case 8: try { try decoder.decodeSingularMessageField(value: &self._garAccountInfo) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.contestID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.startIndex) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.endIndex) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.isRelativeToPlayer) }() default: break } } @@ -209987,52 +216116,41 @@ extension GetFriendDetailsResponse.FriendDetailsEntryProto: SwiftProtobuf.Messag // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) - } - try { if let v = self._profile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._playerStatus { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._callingGameData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if !self.outgoingGameInviteStatus.isEmpty { - try visitor.visitRepeatedMessageField(value: self.outgoingGameInviteStatus, fieldNumber: 5) + if !self.contestID.isEmpty { + try visitor.visitSingularStringField(value: self.contestID, fieldNumber: 1) } - if !self.dismissedOutgoingGameInviteAppKeys.isEmpty { - try visitor.visitRepeatedStringField(value: self.dismissedOutgoingGameInviteAppKeys, fieldNumber: 6) + if self.startIndex != 0 { + try visitor.visitSingularInt32Field(value: self.startIndex, fieldNumber: 2) } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 7) + if self.endIndex != 0 { + try visitor.visitSingularInt32Field(value: self.endIndex, fieldNumber: 3) } - try { if let v = self._garAccountInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() + if self.isRelativeToPlayer != false { + try visitor.visitSingularBoolField(value: self.isRelativeToPlayer, fieldNumber: 5) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendDetailsResponse.FriendDetailsEntryProto, rhs: GetFriendDetailsResponse.FriendDetailsEntryProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs._profile != rhs._profile {return false} - if lhs._playerStatus != rhs._playerStatus {return false} - if lhs._callingGameData != rhs._callingGameData {return false} - if lhs.outgoingGameInviteStatus != rhs.outgoingGameInviteStatus {return false} - if lhs.dismissedOutgoingGameInviteAppKeys != rhs.dismissedOutgoingGameInviteAppKeys {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs._garAccountInfo != rhs._garAccountInfo {return false} + public static func ==(lhs: GetContestEntryProto, rhs: GetContestEntryProto) -> Bool { + if lhs.contestID != rhs.contestID {return false} + if lhs.startIndex != rhs.startIndex {return false} + if lhs.endIndex != rhs.endIndex {return false} + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.isRelativeToPlayer != rhs.isRelativeToPlayer {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetFriendDetailsResponse.FriendDetailsEntryProto.protoMessageName + ".OutgoingGameInviteStatus" +extension GetContestFriendEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetContestFriendEntryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_key"), - 2: .standard(proto: "invitation_status"), + 1: .same(proto: "status"), + 2: .standard(proto: "total_friend_entries"), + 3: .standard(proto: "contest_friend_entries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210041,37 +216159,50 @@ extension GetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteSta // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.invitationStatus) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.totalFriendEntries) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.contestFriendEntries) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.appKey.isEmpty { - try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.invitationStatus != .unset { - try visitor.visitSingularEnumField(value: self.invitationStatus, fieldNumber: 2) + if self.totalFriendEntries != 0 { + try visitor.visitSingularInt32Field(value: self.totalFriendEntries, fieldNumber: 2) + } + if !self.contestFriendEntries.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contestFriendEntries, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus, rhs: GetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus) -> Bool { - if lhs.appKey != rhs.appKey {return false} - if lhs.invitationStatus != rhs.invitationStatus {return false} + public static func ==(lhs: GetContestFriendEntryOutProto, rhs: GetContestFriendEntryOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.totalFriendEntries != rhs.totalFriendEntries {return false} + if lhs.contestFriendEntries != rhs.contestFriendEntries {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsResponse.PlayerStatusDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetFriendDetailsResponse.protoMessageName + ".PlayerStatusDetailsProto" +extension GetContestFriendEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "online_status"), - 3: .standard(proto: "last_played_app_key"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "ACCESS_DENIED"), + ] +} + +extension GetContestFriendEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetContestFriendEntryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "contest_id"), + 2: .standard(proto: "contest_metric"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210080,50 +216211,40 @@ extension GetFriendDetailsResponse.PlayerStatusDetailsProto: SwiftProtobuf.Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.onlineStatus) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.lastPlayedAppKey) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.contestID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.onlineStatus != .statusUnset { - try visitor.visitSingularEnumField(value: self.onlineStatus, fieldNumber: 2) - } - if !self.lastPlayedAppKey.isEmpty { - try visitor.visitSingularStringField(value: self.lastPlayedAppKey, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.contestID.isEmpty { + try visitor.visitSingularStringField(value: self.contestID, fieldNumber: 1) } + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendDetailsResponse.PlayerStatusDetailsProto, rhs: GetFriendDetailsResponse.PlayerStatusDetailsProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.onlineStatus != rhs.onlineStatus {return false} - if lhs.lastPlayedAppKey != rhs.lastPlayedAppKey {return false} + public static func ==(lhs: GetContestFriendEntryProto, rhs: GetContestFriendEntryProto) -> Bool { + if lhs.contestID != rhs.contestID {return false} + if lhs._contestMetric != rhs._contestMetric {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendDetailsResponse.PlayerStatusDetailsProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_STATUS_UNKNOWN"), - 4: .same(proto: "ERROR_STALE_DATA"), - ] -} - -extension GetFriendRecommendationRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendRecommendationRequest" +extension GetContestsUnclaimedRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetContestsUnclaimedRewardsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), + 1: .same(proto: "status"), + 2: .standard(proto: "contest_info_summaries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210132,31 +216253,70 @@ extension GetFriendRecommendationRequest: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contestInfoSummaries) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .unsetType { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.contestInfoSummaries.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contestInfoSummaries, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendRecommendationRequest, rhs: GetFriendRecommendationRequest) -> Bool { - if lhs.type != rhs.type {return false} + public static func ==(lhs: GetContestsUnclaimedRewardsOutProto, rhs: GetContestsUnclaimedRewardsOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.contestInfoSummaries != rhs.contestInfoSummaries {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension GetContestsUnclaimedRewardsOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "REWARDS_PENDING_CLAIM"), + 2: .same(proto: "NO_REWARDS_PENDING_CLAIM"), + 3: .same(proto: "ERROR"), + ] +} + +extension GetContestsUnclaimedRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetContestsUnclaimedRewardsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: GetContestsUnclaimedRewardsProto, rhs: GetContestsUnclaimedRewardsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendRecommendationResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendRecommendationResponse" +extension GetDailyEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetDailyEncounterOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "friend_recommendation"), + 2: .standard(proto: "pokedex_id"), + 3: .same(proto: "lat"), + 4: .same(proto: "lng"), + 5: .standard(proto: "encounter_location"), + 6: .standard(proto: "encounter_id"), + 7: .standard(proto: "disappear_time_ms"), + 8: .standard(proto: "pokemon_display"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210166,42 +216326,101 @@ extension GetFriendRecommendationResponse: SwiftProtobuf.Message, SwiftProtobuf. // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friendRecommendation) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.lat) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.lng) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() + case 6: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.disappearTimeMs) }() + case 8: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() default: break } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.friendRecommendation.isEmpty { - try visitor.visitRepeatedMessageField(value: self.friendRecommendation, fieldNumber: 2) + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 2) + } + if self.lat != 0 { + try visitor.visitSingularDoubleField(value: self.lat, fieldNumber: 3) + } + if self.lng != 0 { + try visitor.visitSingularDoubleField(value: self.lng, fieldNumber: 4) + } + if !self.encounterLocation.isEmpty { + try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 5) + } + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 6) + } + if self.disappearTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.disappearTimeMs, fieldNumber: 7) } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendRecommendationResponse, rhs: GetFriendRecommendationResponse) -> Bool { + public static func ==(lhs: GetDailyEncounterOutProto, rhs: GetDailyEncounterOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.friendRecommendation != rhs.friendRecommendation {return false} + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs.lat != rhs.lat {return false} + if lhs.lng != rhs.lng {return false} + if lhs.encounterLocation != rhs.encounterLocation {return false} + if lhs.encounterID != rhs.encounterID {return false} + if lhs.disappearTimeMs != rhs.disappearTimeMs {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendRecommendationResponse.Result: SwiftProtobuf._ProtoNameProviding { +extension GetDailyEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ALREADY_FINISHED_FOR_TODAY"), + 3: .same(proto: "MISSED_FOR_TODAY"), + 4: .same(proto: "NO_POKEMON_AVAILABLE"), + 5: .same(proto: "DISABLED"), ] } -extension GetFriendsListOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendsListOutProto" +extension GetDailyEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetDailyEncounterProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: GetDailyEncounterProto, rhs: GetDailyEncounterProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension GetEligibleCombatLeaguesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetEligibleCombatLeaguesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "friend"), + 2: .standard(proto: "player_eligible_leagues"), + 3: .standard(proto: "other_players_eligible_leagues"), + 4: .standard(proto: "skipped_player_ids"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210211,210 +216430,105 @@ extension GetFriendsListOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friend) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._playerEligibleLeagues) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.otherPlayersEligibleLeagues) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.skippedPlayerIds) }() default: break } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.friend.isEmpty { - try visitor.visitRepeatedMessageField(value: self.friend, fieldNumber: 2) + try { if let v = self._playerEligibleLeagues { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.otherPlayersEligibleLeagues.isEmpty { + try visitor.visitRepeatedMessageField(value: self.otherPlayersEligibleLeagues, fieldNumber: 3) + } + if !self.skippedPlayerIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.skippedPlayerIds, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendsListOutProto, rhs: GetFriendsListOutProto) -> Bool { + public static func ==(lhs: GetEligibleCombatLeaguesOutProto, rhs: GetEligibleCombatLeaguesOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.friend != rhs.friend {return false} + if lhs._playerEligibleLeagues != rhs._playerEligibleLeagues {return false} + if lhs.otherPlayersEligibleLeagues != rhs.otherPlayersEligibleLeagues {return false} + if lhs.skippedPlayerIds != rhs.skippedPlayerIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendsListOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetEligibleCombatLeaguesOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "ERROR_ACCESS_DENIED"), + 3: .same(proto: "ERROR_TOO_MANY_PLAYER_IDS"), ] } -extension GetFriendsListOutProto.FriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetFriendsListOutProto.protoMessageName + ".FriendProto" +extension GetEligibleCombatLeaguesOutProto.PlayerEligibleCombatLeaguesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = GetEligibleCombatLeaguesOutProto.protoMessageName + ".PlayerEligibleCombatLeaguesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "player_id"), - 2: .same(proto: "codename"), - 3: .same(proto: "team"), - 4: .same(proto: "score"), - 5: .standard(proto: "data_with_me"), - 6: .same(proto: "version"), - 7: .standard(proto: "created_ms"), - 8: .standard(proto: "fb_user_id"), - 9: .standard(proto: "is_facebook_friendship"), - 10: .standard(proto: "shared_data"), - 11: .standard(proto: "online_status"), - 12: .standard(proto: "nia_account_id"), + 2: .standard(proto: "combat_player_preferences"), + 3: .standard(proto: "eligible_combat_leagues"), ] - fileprivate class _StorageClass { - var _playerID: String = String() - var _codename: String = String() - var _team: String = String() - var _score: Int32 = 0 - var _dataWithMe: FriendshipDataProto? = nil - var _version: Int64 = 0 - var _createdMs: Int64 = 0 - var _fbUserID: String = String() - var _isFacebookFriendship: Bool = false - var _sharedData: GetFriendsListOutProto.SharedFriendshipProto? = nil - var _onlineStatus: GetFriendsListOutProto.FriendProto.OnlineStatus = .unset - var _niaAccountID: String = String() - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _playerID = source._playerID - _codename = source._codename - _team = source._team - _score = source._score - _dataWithMe = source._dataWithMe - _version = source._version - _createdMs = source._createdMs - _fbUserID = source._fbUserID - _isFacebookFriendship = source._isFacebookFriendship - _sharedData = source._sharedData - _onlineStatus = source._onlineStatus - _niaAccountID = source._niaAccountID - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &_storage._codename) }() - case 3: try { try decoder.decodeSingularStringField(value: &_storage._team) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._score) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._dataWithMe) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._version) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._createdMs) }() - case 8: try { try decoder.decodeSingularStringField(value: &_storage._fbUserID) }() - case 9: try { try decoder.decodeSingularBoolField(value: &_storage._isFacebookFriendship) }() - case 10: try { try decoder.decodeSingularMessageField(value: &_storage._sharedData) }() - case 11: try { try decoder.decodeSingularEnumField(value: &_storage._onlineStatus) }() - case 12: try { try decoder.decodeSingularStringField(value: &_storage._niaAccountID) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._combatPlayerPreferences) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.eligibleCombatLeagues) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._playerID.isEmpty { - try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 1) - } - if !_storage._codename.isEmpty { - try visitor.visitSingularStringField(value: _storage._codename, fieldNumber: 2) - } - if !_storage._team.isEmpty { - try visitor.visitSingularStringField(value: _storage._team, fieldNumber: 3) - } - if _storage._score != 0 { - try visitor.visitSingularInt32Field(value: _storage._score, fieldNumber: 4) - } - try { if let v = _storage._dataWithMe { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if _storage._version != 0 { - try visitor.visitSingularInt64Field(value: _storage._version, fieldNumber: 6) - } - if _storage._createdMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._createdMs, fieldNumber: 7) - } - if !_storage._fbUserID.isEmpty { - try visitor.visitSingularStringField(value: _storage._fbUserID, fieldNumber: 8) - } - if _storage._isFacebookFriendship != false { - try visitor.visitSingularBoolField(value: _storage._isFacebookFriendship, fieldNumber: 9) - } - try { if let v = _storage._sharedData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - if _storage._onlineStatus != .unset { - try visitor.visitSingularEnumField(value: _storage._onlineStatus, fieldNumber: 11) - } - if !_storage._niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: _storage._niaAccountID, fieldNumber: 12) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + } + try { if let v = self._combatPlayerPreferences { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.eligibleCombatLeagues.isEmpty { + try visitor.visitRepeatedStringField(value: self.eligibleCombatLeagues, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendsListOutProto.FriendProto, rhs: GetFriendsListOutProto.FriendProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._playerID != rhs_storage._playerID {return false} - if _storage._codename != rhs_storage._codename {return false} - if _storage._team != rhs_storage._team {return false} - if _storage._score != rhs_storage._score {return false} - if _storage._dataWithMe != rhs_storage._dataWithMe {return false} - if _storage._version != rhs_storage._version {return false} - if _storage._createdMs != rhs_storage._createdMs {return false} - if _storage._fbUserID != rhs_storage._fbUserID {return false} - if _storage._isFacebookFriendship != rhs_storage._isFacebookFriendship {return false} - if _storage._sharedData != rhs_storage._sharedData {return false} - if _storage._onlineStatus != rhs_storage._onlineStatus {return false} - if _storage._niaAccountID != rhs_storage._niaAccountID {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: GetEligibleCombatLeaguesOutProto.PlayerEligibleCombatLeaguesProto, rhs: GetEligibleCombatLeaguesOutProto.PlayerEligibleCombatLeaguesProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs._combatPlayerPreferences != rhs._combatPlayerPreferences {return false} + if lhs.eligibleCombatLeagues != rhs.eligibleCombatLeagues {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendsListOutProto.FriendProto.OnlineStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "STATUS_UNKNOWN"), - 2: .same(proto: "STATUS_ONLINE"), - 3: .same(proto: "STATUS_OFFLINE"), - ] -} - -extension GetFriendsListOutProto.SharedFriendshipProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetFriendsListOutProto.protoMessageName + ".SharedFriendshipProto" +extension GetEligibleCombatLeaguesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetEligibleCombatLeaguesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "shared_data"), - 2: .same(proto: "version"), - 3: .standard(proto: "data_from_me"), - 4: .standard(proto: "data_to_me"), + 1: .standard(proto: "player_ids"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210423,70 +216537,76 @@ extension GetFriendsListOutProto.SharedFriendshipProto: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.sharedData) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.version) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._dataFromMe) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._dataToMe) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.playerIds) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.sharedData.isEmpty { - try visitor.visitSingularBytesField(value: self.sharedData, fieldNumber: 1) - } - if self.version != 0 { - try visitor.visitSingularInt64Field(value: self.version, fieldNumber: 2) + if !self.playerIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.playerIds, fieldNumber: 1) } - try { if let v = self._dataFromMe { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._dataToMe { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendsListOutProto.SharedFriendshipProto, rhs: GetFriendsListOutProto.SharedFriendshipProto) -> Bool { - if lhs.sharedData != rhs.sharedData {return false} - if lhs.version != rhs.version {return false} - if lhs._dataFromMe != rhs._dataFromMe {return false} - if lhs._dataToMe != rhs._dataToMe {return false} + public static func ==(lhs: GetEligibleCombatLeaguesProto, rhs: GetEligibleCombatLeaguesProto) -> Bool { + if lhs.playerIds != rhs.playerIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendsListProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendsListProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension GetEnteredContestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetEnteredContestOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "contest_info"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contestInfo) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.contestInfo.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contestInfo, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendsListProto, rhs: GetFriendsListProto) -> Bool { + public static func ==(lhs: GetEnteredContestOutProto, rhs: GetEnteredContestOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.contestInfo != rhs.contestInfo {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendshipRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendshipRewardsOutProto" +extension GetEnteredContestOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "xp_reward"), - 3: .standard(proto: "friend_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + ] +} + +extension GetEnteredContestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetEnteredContestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "include_ranking"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210495,51 +216615,34 @@ extension GetFriendshipRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.xpReward) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.friendID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.includeRanking) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.xpReward != 0 { - try visitor.visitSingularInt64Field(value: self.xpReward, fieldNumber: 2) - } - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 3) + if self.includeRanking != false { + try visitor.visitSingularBoolField(value: self.includeRanking, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendshipRewardsOutProto, rhs: GetFriendshipRewardsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.xpReward != rhs.xpReward {return false} - if lhs.friendID != rhs.friendID {return false} + public static func ==(lhs: GetEnteredContestProto, rhs: GetEnteredContestProto) -> Bool { + if lhs.includeRanking != rhs.includeRanking {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetFriendshipRewardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_NOT_FRIENDS"), - 4: .same(proto: "ERROR_MILESTONE_ALREADY_AWARDED"), - 5: .same(proto: "ERROR_FAILED_TO_UPDATE"), - ] -} - -extension GetFriendshipRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetFriendshipRewardsProto" +extension GetFitnessReportOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetFitnessReportOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), + 1: .same(proto: "status"), + 2: .standard(proto: "daily_reports"), + 3: .standard(proto: "weekly_reports"), + 4: .standard(proto: "week_reset_timestamp_since_monday_ms"), + 5: .standard(proto: "hourly_reports"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210548,30 +216651,63 @@ extension GetFriendshipRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.dailyReports) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.weeklyReports) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.weekResetTimestampSinceMondayMs) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.hourlyReports) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.dailyReports.isEmpty { + try visitor.visitRepeatedMessageField(value: self.dailyReports, fieldNumber: 2) + } + if !self.weeklyReports.isEmpty { + try visitor.visitRepeatedMessageField(value: self.weeklyReports, fieldNumber: 3) + } + if self.weekResetTimestampSinceMondayMs != 0 { + try visitor.visitSingularInt64Field(value: self.weekResetTimestampSinceMondayMs, fieldNumber: 4) + } + if !self.hourlyReports.isEmpty { + try visitor.visitRepeatedMessageField(value: self.hourlyReports, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetFriendshipRewardsProto, rhs: GetFriendshipRewardsProto) -> Bool { - if lhs.friendID != rhs.friendID {return false} + public static func ==(lhs: GetFitnessReportOutProto, rhs: GetFitnessReportOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.dailyReports != rhs.dailyReports {return false} + if lhs.weeklyReports != rhs.weeklyReports {return false} + if lhs.weekResetTimestampSinceMondayMs != rhs.weekResetTimestampSinceMondayMs {return false} + if lhs.hourlyReports != rhs.hourlyReports {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetGameAccessTokenOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetGameAccessTokenOutProto" +extension GetFitnessReportOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 3: .same(proto: "values"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + 3: .same(proto: "ERROR_RECORDS_NOT_FOUND"), + 4: .same(proto: "ERROR_INVALID_WINDOW"), + 5: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension GetFitnessReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetFitnessReportProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "num_of_days"), + 2: .standard(proto: "num_of_weeks"), + 3: .standard(proto: "num_of_hours"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210580,36 +216716,41 @@ extension GetGameAccessTokenOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 3: try { try decoder.decodeSingularMessageField(value: &self._values) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numOfDays) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numOfWeeks) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.numOfHours) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._values { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() + if self.numOfDays != 0 { + try visitor.visitSingularInt32Field(value: self.numOfDays, fieldNumber: 1) + } + if self.numOfWeeks != 0 { + try visitor.visitSingularInt32Field(value: self.numOfWeeks, fieldNumber: 2) + } + if self.numOfHours != 0 { + try visitor.visitSingularInt32Field(value: self.numOfHours, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetGameAccessTokenOutProto, rhs: GetGameAccessTokenOutProto) -> Bool { - if lhs._values != rhs._values {return false} + public static func ==(lhs: GetFitnessReportProto, rhs: GetFitnessReportProto) -> Bool { + if lhs.numOfDays != rhs.numOfDays {return false} + if lhs.numOfWeeks != rhs.numOfWeeks {return false} + if lhs.numOfHours != rhs.numOfHours {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetGameAccessTokenOutProto.Values: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetGameAccessTokenOutProto.protoMessageName + ".Values" +extension GetFitnessRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetFitnessRewardsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "token"), - 3: .standard(proto: "user_data"), + 2: .same(proto: "rewards"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210619,8 +216760,7 @@ extension GetGameAccessTokenOutProto.Values: SwiftProtobuf.Message, SwiftProtobu // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.token) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._userData) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() default: break } } @@ -210634,75 +216774,54 @@ extension GetGameAccessTokenOutProto.Values: SwiftProtobuf.Message, SwiftProtobu if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.token.isEmpty { - try visitor.visitSingularStringField(value: self.token, fieldNumber: 2) - } - try { if let v = self._userData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + try { if let v = self._rewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetGameAccessTokenOutProto.Values, rhs: GetGameAccessTokenOutProto.Values) -> Bool { + public static func ==(lhs: GetFitnessRewardsOutProto, rhs: GetFitnessRewardsOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.token != rhs.token {return false} - if lhs._userData != rhs._userData {return false} + if lhs._rewards != rhs._rewards {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetGameAccessTokenOutProto.Values.Result: SwiftProtobuf._ProtoNameProviding { +extension GetFitnessRewardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), + 2: .same(proto: "REWARDS_ALREADY_COLLECTED"), + 3: .same(proto: "ERROR_UNKNOWN"), ] } -extension GetGameAccessTokenOutProto.Values.User: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetGameAccessTokenOutProto.Values.protoMessageName + ".User" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "mail"), - 2: .standard(proto: "token_expire_timestamp"), - ] +extension GetFitnessRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetFitnessRewardsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.mail) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.tokenExpireTimestamp) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.mail.isEmpty { - try visitor.visitSingularStringField(value: self.mail, fieldNumber: 1) - } - if self.tokenExpireTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.tokenExpireTimestamp, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetGameAccessTokenOutProto.Values.User, rhs: GetGameAccessTokenOutProto.Values.User) -> Bool { - if lhs.mail != rhs.mail {return false} - if lhs.tokenExpireTimestamp != rhs.tokenExpireTimestamp {return false} + public static func ==(lhs: GetFitnessRewardsProto, rhs: GetFitnessRewardsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetGameAccessTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetGameAccessTokenProto" +extension GetFriendshipRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetFriendshipRewardsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "token_id"), + 1: .same(proto: "result"), + 2: .standard(proto: "xp_reward"), + 3: .standard(proto: "friend_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210711,39 +216830,51 @@ extension GetGameAccessTokenProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.type) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._tokenID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.xpReward) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.friendID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.type != 0 { - try visitor.visitSingularInt32Field(value: self.type, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if self.xpReward != 0 { + try visitor.visitSingularInt64Field(value: self.xpReward, fieldNumber: 2) + } + if !self.friendID.isEmpty { + try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 3) } - try { if let v = self._tokenID { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetGameAccessTokenProto, rhs: GetGameAccessTokenProto) -> Bool { - if lhs.type != rhs.type {return false} - if lhs._tokenID != rhs._tokenID {return false} + public static func ==(lhs: GetFriendshipRewardsOutProto, rhs: GetFriendshipRewardsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.xpReward != rhs.xpReward {return false} + if lhs.friendID != rhs.friendID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetGameAccessTokenProto.TokenId: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetGameAccessTokenProto.protoMessageName + ".TokenId" +extension GetFriendshipRewardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_NOT_FRIENDS"), + 4: .same(proto: "ERROR_MILESTONE_ALREADY_AWARDED"), + 5: .same(proto: "ERROR_FAILED_TO_UPDATE"), + ] +} + +extension GetFriendshipRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetFriendshipRewardsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "friend_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -210752,21 +216883,21 @@ extension GetGameAccessTokenProto.TokenId: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.id.isEmpty { - try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) + if !self.friendID.isEmpty { + try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetGameAccessTokenProto.TokenId, rhs: GetGameAccessTokenProto.TokenId) -> Bool { - if lhs.id != rhs.id {return false} + public static func ==(lhs: GetFriendshipRewardsProto, rhs: GetFriendshipRewardsProto) -> Bool { + if lhs.friendID != rhs.friendID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -211118,8 +217249,6 @@ extension GetGmapSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message 1: .same(proto: "result"), 2: .standard(proto: "gmap_template_url"), 3: .standard(proto: "max_poi_distance_in_meters"), - 4: .standard(proto: "min_zoom"), - 5: .standard(proto: "max_zoom"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -211131,8 +217260,6 @@ extension GetGmapSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() case 2: try { try decoder.decodeSingularStringField(value: &self.gmapTemplateURL) }() case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiDistanceInMeters) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.minZoom) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxZoom) }() default: break } } @@ -211148,12 +217275,6 @@ extension GetGmapSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message if self.maxPoiDistanceInMeters != 0 { try visitor.visitSingularInt32Field(value: self.maxPoiDistanceInMeters, fieldNumber: 3) } - if self.minZoom != 0 { - try visitor.visitSingularInt32Field(value: self.minZoom, fieldNumber: 4) - } - if self.maxZoom != 0 { - try visitor.visitSingularInt32Field(value: self.maxZoom, fieldNumber: 5) - } try unknownFields.traverse(visitor: &visitor) } @@ -211161,8 +217282,6 @@ extension GetGmapSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message if lhs.result != rhs.result {return false} if lhs.gmapTemplateURL != rhs.gmapTemplateURL {return false} if lhs.maxPoiDistanceInMeters != rhs.maxPoiDistanceInMeters {return false} - if lhs.minZoom != rhs.minZoom {return false} - if lhs.maxZoom != rhs.maxZoom {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -211197,101 +217316,6 @@ extension GetGmapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } } -extension GetGrapeshotUploadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetGrapeshotUploadUrlOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "file_context_to_grapeshot_data"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.fileContextToGrapeshotData) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.fileContextToGrapeshotData.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.fileContextToGrapeshotData, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetGrapeshotUploadUrlOutProto, rhs: GetGrapeshotUploadUrlOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.fileContextToGrapeshotData != rhs.fileContextToGrapeshotData {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetGrapeshotUploadUrlOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "FAILURE"), - 2: .same(proto: "SUCCESS"), - 3: .same(proto: "MISSING_FILE_CONTEXTS"), - 4: .same(proto: "DUPLICATE_FILE_CONTEXT"), - 5: .same(proto: "MISSING_SUBMISSION_TYPE"), - 6: .same(proto: "MISSING_SUBMISSION_ID"), - 7: .same(proto: "ALREADY_UPLOADED"), - ] -} - -extension GetGrapeshotUploadUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetGrapeshotUploadUrlProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "submission_id"), - 2: .standard(proto: "file_upload_context"), - 3: .standard(proto: "developer_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.fileUploadContext) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.submissionID.isEmpty { - try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 1) - } - if !self.fileUploadContext.isEmpty { - try visitor.visitRepeatedStringField(value: self.fileUploadContext, fieldNumber: 2) - } - if !self.developerID.isEmpty { - try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetGrapeshotUploadUrlProto, rhs: GetGrapeshotUploadUrlProto) -> Bool { - if lhs.submissionID != rhs.submissionID {return false} - if lhs.fileUploadContext != rhs.fileUploadContext {return false} - if lhs.developerID != rhs.developerID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension GetGymBadgeDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetGymBadgeDetailsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -211705,142 +217729,6 @@ extension GetHoloholoInventoryProto: SwiftProtobuf.Message, SwiftProtobuf._Messa } } -extension GetImageGallerySettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetImageGallerySettingsOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_image_gallery_enabled"), - 2: .standard(proto: "max_periodic_image_loaded_count"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isImageGalleryEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxPeriodicImageLoadedCount) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.isImageGalleryEnabled != false { - try visitor.visitSingularBoolField(value: self.isImageGalleryEnabled, fieldNumber: 1) - } - if self.maxPeriodicImageLoadedCount != 0 { - try visitor.visitSingularInt32Field(value: self.maxPeriodicImageLoadedCount, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetImageGallerySettingsOutProto, rhs: GetImageGallerySettingsOutProto) -> Bool { - if lhs.isImageGalleryEnabled != rhs.isImageGalleryEnabled {return false} - if lhs.maxPeriodicImageLoadedCount != rhs.maxPeriodicImageLoadedCount {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetImageGallerySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetImageGallerySettingsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetImageGallerySettingsProto, rhs: GetImageGallerySettingsProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetImagesForPoiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetImagesForPoiOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "photo_gallery_poi_images"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.photoGalleryPoiImages) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.photoGalleryPoiImages.isEmpty { - try visitor.visitRepeatedMessageField(value: self.photoGalleryPoiImages, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetImagesForPoiOutProto, rhs: GetImagesForPoiOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.photoGalleryPoiImages != rhs.photoGalleryPoiImages {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetImagesForPoiOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "POI_NOT_FOUND"), - 3: .same(proto: "INVALID_REQUEST"), - ] -} - -extension GetImagesForPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetImagesForPoiProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetImagesForPoiProto, rhs: GetImagesForPoiProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension GetInboxOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetInboxOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -211936,50 +217824,6 @@ extension GetInboxProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa } } -extension GetInboxV2Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetInboxV2Proto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_history"), - 2: .standard(proto: "is_reverse"), - 3: .standard(proto: "not_before_ms"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isHistory) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isReverse) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.notBeforeMs) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.isHistory != false { - try visitor.visitSingularBoolField(value: self.isHistory, fieldNumber: 1) - } - if self.isReverse != false { - try visitor.visitSingularBoolField(value: self.isReverse, fieldNumber: 2) - } - if self.notBeforeMs != 0 { - try visitor.visitSingularInt64Field(value: self.notBeforeMs, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetInboxV2Proto, rhs: GetInboxV2Proto) -> Bool { - if lhs.isHistory != rhs.isHistory {return false} - if lhs.isReverse != rhs.isReverse {return false} - if lhs.notBeforeMs != rhs.notBeforeMs {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension GetIncensePokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetIncensePokemonOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -212104,11 +217948,11 @@ extension GetIncensePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI } } -extension GetIncomingFriendInvitesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetIncomingFriendInvitesOutProto" +extension GetIncenseRecapOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetIncenseRecapOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "invites"), + 2: .standard(proto: "display_protos"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -212118,7 +217962,7 @@ extension GetIncomingFriendInvitesOutProto: SwiftProtobuf.Message, SwiftProtobuf // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.invites) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.displayProtos) }() default: break } } @@ -212128,169 +217972,34 @@ extension GetIncomingFriendInvitesOutProto: SwiftProtobuf.Message, SwiftProtobuf if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.invites.isEmpty { - try visitor.visitRepeatedMessageField(value: self.invites, fieldNumber: 2) + if !self.displayProtos.isEmpty { + try visitor.visitRepeatedMessageField(value: self.displayProtos, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetIncomingFriendInvitesOutProto, rhs: GetIncomingFriendInvitesOutProto) -> Bool { + public static func ==(lhs: GetIncenseRecapOutProto, rhs: GetIncenseRecapOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.invites != rhs.invites {return false} + if lhs.displayProtos != rhs.displayProtos {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetIncomingFriendInvitesOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetIncenseRecapOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension GetIncomingFriendInvitesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetIncomingFriendInvitesProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetIncomingFriendInvitesProto, rhs: GetIncomingFriendInvitesProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetIncomingGameInvitesRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetIncomingGameInvitesRequest" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetIncomingGameInvitesRequest, rhs: GetIncomingGameInvitesRequest) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetIncomingGameInvitesResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetIncomingGameInvitesResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "invites"), - 2: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.invites) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.invites.isEmpty { - try visitor.visitRepeatedMessageField(value: self.invites, fieldNumber: 1) - } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetIncomingGameInvitesResponse, rhs: GetIncomingGameInvitesResponse) -> Bool { - if lhs.invites != rhs.invites {return false} - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetIncomingGameInvitesResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_FEATURE_DISABLED"), - ] -} - -extension GetIncomingGameInvitesResponse.IncomingGameInvite: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetIncomingGameInvitesResponse.protoMessageName + ".IncomingGameInvite" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_key"), - 2: .standard(proto: "friend_profile_names"), - 3: .same(proto: "status"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.friendProfileNames) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.appKey.isEmpty { - try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) - } - if !self.friendProfileNames.isEmpty { - try visitor.visitRepeatedStringField(value: self.friendProfileNames, fieldNumber: 2) - } - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetIncomingGameInvitesResponse.IncomingGameInvite, rhs: GetIncomingGameInvitesResponse.IncomingGameInvite) -> Bool { - if lhs.appKey != rhs.appKey {return false} - if lhs.friendProfileNames != rhs.friendProfileNames {return false} - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetIncomingGameInvitesResponse.IncomingGameInvite.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "NEW"), - 2: .same(proto: "SEEN"), + 2: .same(proto: "ERROR_ALREADY_SEEN"), + 3: .same(proto: "ERROR_INVALID_DAY_BUCKET"), + 4: .same(proto: "ERROR_FEATURE_DISABLED"), ] } -extension GetInsenceRecapOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetInsenceRecapOutProto" +extension GetIncenseRecapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetIncenseRecapProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "day_bucket"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -212299,49 +218008,21 @@ extension GetInsenceRecapOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.dayBucket) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetInsenceRecapOutProto, rhs: GetInsenceRecapOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetInsenceRecapOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "DISABLED"), - 2: .same(proto: "WAIT"), - 3: .same(proto: "ACTIVE"), - ] -} - -extension GetInsenceRecapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetInsenceRecapProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.dayBucket != 0 { + try visitor.visitSingularInt64Field(value: self.dayBucket, fieldNumber: 1) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetInsenceRecapProto, rhs: GetInsenceRecapProto) -> Bool { + public static func ==(lhs: GetIncenseRecapProto, rhs: GetIncenseRecapProto) -> Bool { + if lhs.dayBucket != rhs.dayBucket {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -212585,107 +218266,6 @@ extension GetLocalTimeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem } } -extension GetMapDataOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetMapDataOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "pois"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pois) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.pois.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pois, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetMapDataOutProto, rhs: GetMapDataOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.pois != rhs.pois {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetMapDataOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "INVALID_REQUEST"), - 3: .same(proto: "INTERNAL_ERROR"), - ] -} - -extension GetMapDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetMapDataProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "geodata_types"), - 2: .standard(proto: "northeast_point"), - 3: .standard(proto: "southwest_point"), - 4: .standard(proto: "api_key"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.geodataTypes) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._northeastPoint) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._southwestPoint) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.apiKey) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.geodataTypes.isEmpty { - try visitor.visitPackedEnumField(value: self.geodataTypes, fieldNumber: 1) - } - try { if let v = self._northeastPoint { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._southwestPoint { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if !self.apiKey.isEmpty { - try visitor.visitSingularStringField(value: self.apiKey, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetMapDataProto, rhs: GetMapDataProto) -> Bool { - if lhs.geodataTypes != rhs.geodataTypes {return false} - if lhs._northeastPoint != rhs._northeastPoint {return false} - if lhs._southwestPoint != rhs._southwestPoint {return false} - if lhs.apiKey != rhs.apiKey {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension GetMapFortsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetMapFortsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -212865,7 +218445,8 @@ extension GetMapObjectsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm 2: .same(proto: "status"), 3: .standard(proto: "time_of_day"), 4: .standard(proto: "client_weather"), - 5: .standard(proto: "ob_other"), + 5: .standard(proto: "moon_phase"), + 6: .standard(proto: "twilight_period"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -212878,7 +218459,8 @@ extension GetMapObjectsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() case 3: try { try decoder.decodeSingularEnumField(value: &self.timeOfDay) }() case 4: try { try decoder.decodeRepeatedMessageField(value: &self.clientWeather) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.obOther) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.moonPhase) }() + case 6: try { try decoder.decodeSingularEnumField(value: &self.twilightPeriod) }() default: break } } @@ -212897,8 +218479,11 @@ extension GetMapObjectsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm if !self.clientWeather.isEmpty { try visitor.visitRepeatedMessageField(value: self.clientWeather, fieldNumber: 4) } - if self.obOther != .notSet { - try visitor.visitSingularEnumField(value: self.obOther, fieldNumber: 5) + if self.moonPhase != .notSet { + try visitor.visitSingularEnumField(value: self.moonPhase, fieldNumber: 5) + } + if self.twilightPeriod != .noneTwilightPeriod { + try visitor.visitSingularEnumField(value: self.twilightPeriod, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } @@ -212908,12 +218493,20 @@ extension GetMapObjectsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm if lhs.status != rhs.status {return false} if lhs.timeOfDay != rhs.timeOfDay {return false} if lhs.clientWeather != rhs.clientWeather {return false} - if lhs.obOther != rhs.obOther {return false} + if lhs.moonPhase != rhs.moonPhase {return false} + if lhs.twilightPeriod != rhs.twilightPeriod {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } +extension GetMapObjectsOutProto.MoonPhase: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NOT_SET"), + 1: .same(proto: "FULL"), + ] +} + extension GetMapObjectsOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), @@ -212931,10 +218524,11 @@ extension GetMapObjectsOutProto.TimeOfDay: SwiftProtobuf._ProtoNameProviding { ] } -extension GetMapObjectsOutProto.ObOtherProto: SwiftProtobuf._ProtoNameProviding { +extension GetMapObjectsOutProto.TwilightPeriod: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NOT_SET"), - 1: .same(proto: "FULL"), + 0: .same(proto: "NONE_TWILIGHT_PERIOD"), + 1: .same(proto: "DUSK"), + 2: .same(proto: "DAWN"), ] } @@ -213145,10 +218739,10 @@ extension GetMaptilesSettingsResponse.Status: SwiftProtobuf._ProtoNameProviding ] } -extension GetMatchmakingStatusDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetMatchmakingStatusDataProto" +extension GetMatchmakingStatusData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetMatchmakingStatusData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -213157,21 +218751,21 @@ extension GetMatchmakingStatusDataProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetMatchmakingStatusDataProto, rhs: GetMatchmakingStatusDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: GetMatchmakingStatusData, rhs: GetMatchmakingStatusData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -213269,11 +218863,11 @@ extension GetMatchmakingStatusProto: SwiftProtobuf.Message, SwiftProtobuf._Messa } } -extension GetMatchmakingStatusResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetMatchmakingStatusResponseDataProto" +extension GetMatchmakingStatusResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetMatchmakingStatusResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), 3: .same(proto: "result"), 4: .same(proto: "challenge"), ] @@ -213284,8 +218878,8 @@ extension GetMatchmakingStatusResponseDataProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break @@ -213298,11 +218892,11 @@ extension GetMatchmakingStatusResponseDataProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) } if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) @@ -213313,9 +218907,9 @@ extension GetMatchmakingStatusResponseDataProto: SwiftProtobuf.Message, SwiftPro try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetMatchmakingStatusResponseDataProto, rhs: GetMatchmakingStatusResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} + public static func ==(lhs: GetMatchmakingStatusResponseData, rhs: GetMatchmakingStatusResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} if lhs.result != rhs.result {return false} if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -213574,135 +219168,6 @@ extension GetMilestonesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } -extension GetMyAccountRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetMyAccountRequest" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetMyAccountRequest, rhs: GetMyAccountRequest) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetMyAccountResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetMyAccountResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "contact"), - 3: .standard(proto: "full_name"), - 4: .standard(proto: "contact_import_discoverability_consent"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contact) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.fullName) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.contactImportDiscoverabilityConsent) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.contact.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contact, fieldNumber: 2) - } - if !self.fullName.isEmpty { - try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 3) - } - if self.contactImportDiscoverabilityConsent != .unknown { - try visitor.visitSingularEnumField(value: self.contactImportDiscoverabilityConsent, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetMyAccountResponse, rhs: GetMyAccountResponse) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.contact != rhs.contact {return false} - if lhs.fullName != rhs.fullName {return false} - if lhs.contactImportDiscoverabilityConsent != rhs.contactImportDiscoverabilityConsent {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetMyAccountResponse.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_NOT_FOUND"), - ] -} - -extension GetMyAccountResponse.ContactProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetMyAccountResponse.protoMessageName + ".ContactProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contact_id"), - 2: .same(proto: "type"), - 3: .same(proto: "contact"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.contactID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.contact) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.contactID.isEmpty { - try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 1) - } - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) - } - if !self.contact.isEmpty { - try visitor.visitSingularStringField(value: self.contact, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetMyAccountResponse.ContactProto, rhs: GetMyAccountResponse.ContactProto) -> Bool { - if lhs.contactID != rhs.contactID {return false} - if lhs.type != rhs.type {return false} - if lhs.contact != rhs.contact {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetMyAccountResponse.ContactProto.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "MASKED_PHONE_NUMBER"), - ] -} - extension GetNewQuestsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetNewQuestsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -213933,56 +219398,6 @@ extension GetNintendoOAuth2UrlProto: SwiftProtobuf.Message, SwiftProtobuf._Messa } } -extension GetNotificationInboxOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetNotificationInboxOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "inbox"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._inbox) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._inbox { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetNotificationInboxOutProto, rhs: GetNotificationInboxOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._inbox != rhs._inbox {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetNotificationInboxOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - ] -} - extension GetNpcCombatRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetNpcCombatRewardsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -214105,10 +219520,29 @@ extension GetNpcCombatRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag } } -extension GetOutgoingBlocksOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetOutgoingBlocksOutProto" +extension GetOutstandingWarningsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetOutstandingWarningsRequestProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: GetOutstandingWarningsRequestProto, rhs: GetOutstandingWarningsRequestProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension GetOutstandingWarningsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetOutstandingWarningsResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "blockee_nia_account_ids"), + 1: .standard(proto: "outstanding_warning"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -214117,50 +219551,81 @@ extension GetOutgoingBlocksOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.blockeeNiaAccountIds) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.outstandingWarning) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.blockeeNiaAccountIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.blockeeNiaAccountIds, fieldNumber: 1) + if !self.outstandingWarning.isEmpty { + try visitor.visitRepeatedMessageField(value: self.outstandingWarning, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetOutgoingBlocksOutProto, rhs: GetOutgoingBlocksOutProto) -> Bool { - if lhs.blockeeNiaAccountIds != rhs.blockeeNiaAccountIds {return false} + public static func ==(lhs: GetOutstandingWarningsResponseProto, rhs: GetOutstandingWarningsResponseProto) -> Bool { + if lhs.outstandingWarning != rhs.outstandingWarning {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetOutgoingBlocksProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetOutgoingBlocksProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension GetOutstandingWarningsResponseProto.WarningInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = GetOutstandingWarningsResponseProto.protoMessageName + ".WarningInfo" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "type"), + 2: .same(proto: "source"), + 3: .standard(proto: "start_timestamp_ms"), + 4: .standard(proto: "end_timestamp_ms"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.source) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.startTimestampMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.endTimestampMs) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.type != .platformWarningUnset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + } + if self.source != .defaultUnset { + try visitor.visitSingularEnumField(value: self.source, fieldNumber: 2) + } + if self.startTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.startTimestampMs, fieldNumber: 3) + } + if self.endTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.endTimestampMs, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetOutgoingBlocksProto, rhs: GetOutgoingBlocksProto) -> Bool { + public static func ==(lhs: GetOutstandingWarningsResponseProto.WarningInfo, rhs: GetOutstandingWarningsResponseProto.WarningInfo) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.source != rhs.source {return false} + if lhs.startTimestampMs != rhs.startTimestampMs {return false} + if lhs.endTimestampMs != rhs.endTimestampMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetOutgoingFriendInvitesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetOutgoingFriendInvitesOutProto" +extension GetPartyHistoryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPartyHistoryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "invites"), + 2: .standard(proto: "party_history"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -214170,80 +219635,89 @@ extension GetOutgoingFriendInvitesOutProto: SwiftProtobuf.Message, SwiftProtobuf // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.invites) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._partyHistory) }() default: break } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.invites.isEmpty { - try visitor.visitRepeatedMessageField(value: self.invites, fieldNumber: 2) - } + try { if let v = self._partyHistory { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetOutgoingFriendInvitesOutProto, rhs: GetOutgoingFriendInvitesOutProto) -> Bool { + public static func ==(lhs: GetPartyHistoryOutProto, rhs: GetPartyHistoryOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.invites != rhs.invites {return false} + if lhs._partyHistory != rhs._partyHistory {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetOutgoingFriendInvitesOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetPartyHistoryOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "ERROR_PARTY_HISTORY_NOT_FOUND"), + 4: .same(proto: "ERROR_PLAYER_NOT_IN_PARTY"), ] } -extension GetOutgoingFriendInvitesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetOutgoingFriendInvitesProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension GetPartyHistoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPartyHistoryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "party_id"), + 2: .standard(proto: "party_seed"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.partyID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.partySeed) }() + default: break + } } } public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetOutgoingFriendInvitesProto, rhs: GetOutgoingFriendInvitesProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetOutstandingWarningsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetOutstandingWarningsRequestProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.partyID != 0 { + try visitor.visitSingularInt64Field(value: self.partyID, fieldNumber: 1) + } + if self.partySeed != 0 { + try visitor.visitSingularInt64Field(value: self.partySeed, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetOutstandingWarningsRequestProto, rhs: GetOutstandingWarningsRequestProto) -> Bool { + public static func ==(lhs: GetPartyHistoryProto, rhs: GetPartyHistoryProto) -> Bool { + if lhs.partyID != rhs.partyID {return false} + if lhs.partySeed != rhs.partySeed {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetOutstandingWarningsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetOutstandingWarningsResponseProto" +extension GetPartyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPartyOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "outstanding_warning"), + 1: .same(proto: "party"), + 2: .same(proto: "result"), + 3: .standard(proto: "player_locations"), + 4: .standard(proto: "activity_summary"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -214252,30 +219726,68 @@ extension GetOutstandingWarningsResponseProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.outstandingWarning) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._party) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._playerLocations) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._activitySummary) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.outstandingWarning.isEmpty { - try visitor.visitRepeatedMessageField(value: self.outstandingWarning, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._party { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) } + try { if let v = self._playerLocations { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._activitySummary { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetOutstandingWarningsResponseProto, rhs: GetOutstandingWarningsResponseProto) -> Bool { - if lhs.outstandingWarning != rhs.outstandingWarning {return false} + public static func ==(lhs: GetPartyOutProto, rhs: GetPartyOutProto) -> Bool { + if lhs._party != rhs._party {return false} + if lhs.result != rhs.result {return false} + if lhs._playerLocations != rhs._playerLocations {return false} + if lhs._activitySummary != rhs._activitySummary {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetOutstandingWarningsResponseProto.WarningInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetOutstandingWarningsResponseProto.protoMessageName + ".WarningInfo" +extension GetPartyOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "ERROR_PARTY_NOT_FOUND"), + 4: .same(proto: "ERROR_PLAYER_NOT_IN_PARTY"), + 5: .same(proto: "ERROR_FEATURE_DISABLED"), + 6: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), + 7: .same(proto: "ERROR_REDIS_EXCEPTION"), + 8: .same(proto: "ERROR_PARTY_TIMED_OUT"), + 9: .same(proto: "ERROR_PLFE_REDIRECT_NEEDED"), + ] +} + +extension GetPartyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPartyProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "party_id"), + 2: .standard(proto: "party_seed"), + 3: .standard(proto: "activity_summary_requested"), + 4: .standard(proto: "player_locations_requested"), + 5: .standard(proto: "party_rpc_not_requested"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -214284,21 +219796,41 @@ extension GetOutstandingWarningsResponseProto.WarningInfo: SwiftProtobuf.Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.partyID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.partySeed) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.activitySummaryRequested) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.playerLocationsRequested) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.partyRpcNotRequested) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .platformWarningTypePlatformWarningUnset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + if !self.partyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.partyID, fieldNumber: 1) + } + if self.partySeed != 0 { + try visitor.visitSingularInt64Field(value: self.partySeed, fieldNumber: 2) + } + if self.activitySummaryRequested != false { + try visitor.visitSingularBoolField(value: self.activitySummaryRequested, fieldNumber: 3) + } + if self.playerLocationsRequested != false { + try visitor.visitSingularBoolField(value: self.playerLocationsRequested, fieldNumber: 4) + } + if self.partyRpcNotRequested != false { + try visitor.visitSingularBoolField(value: self.partyRpcNotRequested, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetOutstandingWarningsResponseProto.WarningInfo, rhs: GetOutstandingWarningsResponseProto.WarningInfo) -> Bool { - if lhs.type != rhs.type {return false} + public static func ==(lhs: GetPartyProto, rhs: GetPartyProto) -> Bool { + if lhs.partyID != rhs.partyID {return false} + if lhs.partySeed != rhs.partySeed {return false} + if lhs.activitySummaryRequested != rhs.activitySummaryRequested {return false} + if lhs.playerLocationsRequested != rhs.playerLocationsRequested {return false} + if lhs.partyRpcNotRequested != rhs.partyRpcNotRequested {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -214411,140 +219943,6 @@ extension GetPhotobombProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem } } -extension GetPhotosOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPhotosOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "photos"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.photos) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.photos.isEmpty { - try visitor.visitRepeatedMessageField(value: self.photos, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetPhotosOutProto, rhs: GetPhotosOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.photos != rhs.photos {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetPhotosOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension GetPhotosProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPhotosProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "photo_ids"), - 2: .standard(proto: "photo_specs"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.photoIds) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.photoSpecs) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.photoIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.photoIds, fieldNumber: 1) - } - if !self.photoSpecs.isEmpty { - try visitor.visitRepeatedMessageField(value: self.photoSpecs, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetPhotosProto, rhs: GetPhotosProto) -> Bool { - if lhs.photoIds != rhs.photoIds {return false} - if lhs.photoSpecs != rhs.photoSpecs {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetPhotosProto.PhotoSpec: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetPhotosProto.protoMessageName + ".PhotoSpec" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "photo_id"), - 2: .same(proto: "mode"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.photoID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.mode) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.photoID.isEmpty { - try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 1) - } - if self.mode != .original { - try visitor.visitSingularEnumField(value: self.mode, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetPhotosProto.PhotoSpec, rhs: GetPhotosProto.PhotoSpec) -> Bool { - if lhs.photoID != rhs.photoID {return false} - if lhs.mode != rhs.mode {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetPhotosProto.PhotoSpec.GetPhotosMode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ORIGINAL"), - 1: .same(proto: "SIZE_64"), - 2: .same(proto: "SIZE_256"), - 3: .same(proto: "SIZE_1080"), - 4: .same(proto: "MIN_SIZE_64"), - 5: .same(proto: "MIN_SIZE_256"), - 6: .same(proto: "MIN_SIZE_1080"), - ] -} - extension GetPlayerDayOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetPlayerDayOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -214742,132 +220140,12 @@ extension GetPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement } } -extension GetPlayerSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPlayerSettingsOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "settings"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._settings) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetPlayerSettingsOutProto, rhs: GetPlayerSettingsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._settings != rhs._settings {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetPlayerSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - ] -} - -extension GetPlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPlayerSettingsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetPlayerSettingsProto, rhs: GetPlayerSettingsProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetPlayerSubmissionValidationSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPlayerSubmissionValidationSettingsOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "banned_metadata_text"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.bannedMetadataText) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.bannedMetadataText.isEmpty { - try visitor.visitRepeatedStringField(value: self.bannedMetadataText, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetPlayerSubmissionValidationSettingsOutProto, rhs: GetPlayerSubmissionValidationSettingsOutProto) -> Bool { - if lhs.bannedMetadataText != rhs.bannedMetadataText {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetPlayerSubmissionValidationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPlayerSubmissionValidationSettingsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetPlayerSubmissionValidationSettingsProto, rhs: GetPlayerSubmissionValidationSettingsProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetPoisInRadiusOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPoisInRadiusOutProto" +extension GetPokemonSizeLeaderboardEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPokemonSizeLeaderboardEntryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .same(proto: "pois"), + 2: .standard(proto: "total_entries"), + 3: .standard(proto: "contest_entries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -214877,7 +220155,8 @@ extension GetPoisInRadiusOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pois) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.totalEntries) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.contestEntries) }() default: break } } @@ -214887,32 +220166,42 @@ extension GetPoisInRadiusOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.pois.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pois, fieldNumber: 2) + if self.totalEntries != 0 { + try visitor.visitSingularInt32Field(value: self.totalEntries, fieldNumber: 2) + } + if !self.contestEntries.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contestEntries, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetPoisInRadiusOutProto, rhs: GetPoisInRadiusOutProto) -> Bool { + public static func ==(lhs: GetPokemonSizeLeaderboardEntryOutProto, rhs: GetPokemonSizeLeaderboardEntryOutProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.pois != rhs.pois {return false} + if lhs.totalEntries != rhs.totalEntries {return false} + if lhs.contestEntries != rhs.contestEntries {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetPoisInRadiusOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension GetPokemonSizeLeaderboardEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "INTERNAL_ERROR"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "INVALID_INDEX"), + 4: .same(proto: "ENTRY_NOT_FOUND"), ] } -extension GetPoisInRadiusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPoisInRadiusProto" +extension GetPokemonSizeLeaderboardEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPokemonSizeLeaderboardEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "location"), + 1: .standard(proto: "contest_id"), + 2: .standard(proto: "start_index"), + 3: .standard(proto: "end_index"), + 4: .standard(proto: "contest_metric"), + 5: .standard(proto: "is_relative_to_player"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -214921,7 +220210,11 @@ extension GetPoisInRadiusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._location) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.contestID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.startIndex) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.endIndex) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.isRelativeToPlayer) }() default: break } } @@ -214932,25 +220225,41 @@ extension GetPoisInRadiusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._location { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + if !self.contestID.isEmpty { + try visitor.visitSingularStringField(value: self.contestID, fieldNumber: 1) + } + if self.startIndex != 0 { + try visitor.visitSingularInt32Field(value: self.startIndex, fieldNumber: 2) + } + if self.endIndex != 0 { + try visitor.visitSingularInt32Field(value: self.endIndex, fieldNumber: 3) + } + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() + if self.isRelativeToPlayer != false { + try visitor.visitSingularBoolField(value: self.isRelativeToPlayer, fieldNumber: 5) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetPoisInRadiusProto, rhs: GetPoisInRadiusProto) -> Bool { - if lhs._location != rhs._location {return false} + public static func ==(lhs: GetPokemonSizeLeaderboardEntryProto, rhs: GetPokemonSizeLeaderboardEntryProto) -> Bool { + if lhs.contestID != rhs.contestID {return false} + if lhs.startIndex != rhs.startIndex {return false} + if lhs.endIndex != rhs.endIndex {return false} + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.isRelativeToPlayer != rhs.isRelativeToPlayer {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetPokemonSizeContestEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPokemonSizeContestEntryOutProto" +extension GetPokemonSizeLeaderboardFriendEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPokemonSizeLeaderboardFriendEntryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .standard(proto: "total_entries"), - 3: .standard(proto: "contest_entries"), + 2: .standard(proto: "total_friend_entries"), + 3: .standard(proto: "contest_friend_entries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -214960,8 +220269,8 @@ extension GetPokemonSizeContestEntryOutProto: SwiftProtobuf.Message, SwiftProtob // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.totalEntries) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.contestEntries) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.totalFriendEntries) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.contestFriendEntries) }() default: break } } @@ -214971,42 +220280,38 @@ extension GetPokemonSizeContestEntryOutProto: SwiftProtobuf.Message, SwiftProtob if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.totalEntries != 0 { - try visitor.visitSingularInt32Field(value: self.totalEntries, fieldNumber: 2) + if self.totalFriendEntries != 0 { + try visitor.visitSingularInt32Field(value: self.totalFriendEntries, fieldNumber: 2) } - if !self.contestEntries.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contestEntries, fieldNumber: 3) + if !self.contestFriendEntries.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contestFriendEntries, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetPokemonSizeContestEntryOutProto, rhs: GetPokemonSizeContestEntryOutProto) -> Bool { + public static func ==(lhs: GetPokemonSizeLeaderboardFriendEntryOutProto, rhs: GetPokemonSizeLeaderboardFriendEntryOutProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.totalEntries != rhs.totalEntries {return false} - if lhs.contestEntries != rhs.contestEntries {return false} + if lhs.totalFriendEntries != rhs.totalFriendEntries {return false} + if lhs.contestFriendEntries != rhs.contestFriendEntries {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetPokemonSizeContestEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension GetPokemonSizeLeaderboardFriendEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), 2: .same(proto: "ERROR"), - 3: .same(proto: "INVALID_INDEX"), - 4: .same(proto: "ENTRY_NOT_FOUND"), + 3: .same(proto: "ACCESS_DENIED"), ] } -extension GetPokemonSizeContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPokemonSizeContestEntryProto" +extension GetPokemonSizeLeaderboardFriendEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPokemonSizeLeaderboardFriendEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "contest_id"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "entry_count"), - 4: .standard(proto: "contest_metric"), - 5: .standard(proto: "ob_bool"), + 2: .standard(proto: "contest_metric"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -215016,10 +220321,7 @@ extension GetPokemonSizeContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf. // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.contestID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.entryCount) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() default: break } } @@ -215033,27 +220335,15 @@ extension GetPokemonSizeContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf. if !self.contestID.isEmpty { try visitor.visitSingularStringField(value: self.contestID, fieldNumber: 1) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) - } - if self.entryCount != 0 { - try visitor.visitSingularInt32Field(value: self.entryCount, fieldNumber: 3) - } try { if let v = self._contestMetric { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 5) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetPokemonSizeContestEntryProto, rhs: GetPokemonSizeContestEntryProto) -> Bool { + public static func ==(lhs: GetPokemonSizeLeaderboardFriendEntryProto, rhs: GetPokemonSizeLeaderboardFriendEntryProto) -> Bool { if lhs.contestID != rhs.contestID {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.entryCount != rhs.entryCount {return false} if lhs._contestMetric != rhs._contestMetric {return false} - if lhs.obBool != rhs.obBool {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -215268,50 +220558,12 @@ extension GetPokestopEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._Messa } } -extension GetProfileRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetProfileRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "nia_account_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) - } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetProfileRequest, rhs: GetProfileRequest) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetProfileResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetProfileResponse" +extension GetPublishedRoutesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPublishedRoutesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "profile_details"), - 3: .standard(proto: "player_profile_details"), + 2: .same(proto: "routes"), + 3: .standard(proto: "unseen_updates"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -215321,127 +220573,67 @@ extension GetProfileResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._profileDetails) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.playerProfileDetails) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.routes) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.unseenUpdates) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._profileDetails { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.playerProfileDetails.isEmpty { - try visitor.visitRepeatedMessageField(value: self.playerProfileDetails, fieldNumber: 3) + if !self.routes.isEmpty { + try visitor.visitRepeatedMessageField(value: self.routes, fieldNumber: 2) + } + if !self.unseenUpdates.isEmpty { + try visitor.visitRepeatedStringField(value: self.unseenUpdates, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetProfileResponse, rhs: GetProfileResponse) -> Bool { + public static func ==(lhs: GetPublishedRoutesOutProto, rhs: GetPublishedRoutesOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs._profileDetails != rhs._profileDetails {return false} - if lhs.playerProfileDetails != rhs.playerProfileDetails {return false} + if lhs.routes != rhs.routes {return false} + if lhs.unseenUpdates != rhs.unseenUpdates {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetProfileResponse.Result: SwiftProtobuf._ProtoNameProviding { +extension GetPublishedRoutesOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_NOT_FRIEND"), ] } -extension GetProfileResponse.PlayerProfileDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = GetProfileResponse.protoMessageName + ".PlayerProfileDetailsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_key"), - 2: .same(proto: "codename"), - 3: .same(proto: "faction"), - 4: .same(proto: "level"), - 5: .same(proto: "experience"), - 6: .standard(proto: "signed_up_timestamp_ms"), - 7: .standard(proto: "last_played_timestamp_ms"), - 8: .standard(proto: "player_total_walk_km"), - ] +extension GetPublishedRoutesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetPublishedRoutesProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.codename) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.faction) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.level) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.experience) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.signedUpTimestampMs) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.lastPlayedTimestampMs) }() - case 8: try { try decoder.decodeSingularDoubleField(value: &self.playerTotalWalkKm) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.appKey.isEmpty { - try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) - } - if !self.codename.isEmpty { - try visitor.visitSingularStringField(value: self.codename, fieldNumber: 2) - } - if !self.faction.isEmpty { - try visitor.visitSingularStringField(value: self.faction, fieldNumber: 3) - } - if self.level != 0 { - try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 4) - } - if self.experience != 0 { - try visitor.visitSingularInt64Field(value: self.experience, fieldNumber: 5) - } - if self.signedUpTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.signedUpTimestampMs, fieldNumber: 6) - } - if self.lastPlayedTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.lastPlayedTimestampMs, fieldNumber: 7) - } - if self.playerTotalWalkKm != 0 { - try visitor.visitSingularDoubleField(value: self.playerTotalWalkKm, fieldNumber: 8) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetProfileResponse.PlayerProfileDetailsProto, rhs: GetProfileResponse.PlayerProfileDetailsProto) -> Bool { - if lhs.appKey != rhs.appKey {return false} - if lhs.codename != rhs.codename {return false} - if lhs.faction != rhs.faction {return false} - if lhs.level != rhs.level {return false} - if lhs.experience != rhs.experience {return false} - if lhs.signedUpTimestampMs != rhs.signedUpTimestampMs {return false} - if lhs.lastPlayedTimestampMs != rhs.lastPlayedTimestampMs {return false} - if lhs.playerTotalWalkKm != rhs.playerTotalWalkKm {return false} + public static func ==(lhs: GetPublishedRoutesProto, rhs: GetPublishedRoutesProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetPublishedRoutesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPublishedRoutesOutProto" +extension GetQuestDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetQuestDetailsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "routes"), + 1: .same(proto: "status"), + 2: .same(proto: "quests"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -215450,63 +220642,79 @@ extension GetPublishedRoutesOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.routes) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.quests) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.routes.isEmpty { - try visitor.visitRepeatedMessageField(value: self.routes, fieldNumber: 2) + if !self.quests.isEmpty { + try visitor.visitRepeatedMessageField(value: self.quests, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetPublishedRoutesOutProto, rhs: GetPublishedRoutesOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.routes != rhs.routes {return false} + public static func ==(lhs: GetQuestDetailsOutProto, rhs: GetQuestDetailsOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.quests != rhs.quests {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetPublishedRoutesOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension GetQuestDetailsOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "ERROR_QUEST_NOT_FOUND"), + 3: .same(proto: "ERROR_INVALID_DISPLAY"), ] } -extension GetPublishedRoutesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetPublishedRoutesProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension GetQuestDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetQuestDetailsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "quest_id"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.questID) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if !self.questID.isEmpty { + try visitor.visitRepeatedStringField(value: self.questID, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetPublishedRoutesProto, rhs: GetPublishedRoutesProto) -> Bool { + public static func ==(lhs: GetQuestDetailsProto, rhs: GetQuestDetailsProto) -> Bool { + if lhs.questID != rhs.questID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetQuestDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetQuestDetailsOutProto" +extension GetQuestUiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetQuestUiOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .same(proto: "quests"), + 2: .standard(proto: "season_view"), + 3: .standard(proto: "today_view"), + 4: .standard(proto: "special_view"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -215516,75 +220724,75 @@ extension GetQuestDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.quests) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._seasonView) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._todayView) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._specialView) }() default: break } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.quests.isEmpty { - try visitor.visitRepeatedMessageField(value: self.quests, fieldNumber: 2) - } + try { if let v = self._seasonView { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._todayView { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._specialView { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetQuestDetailsOutProto, rhs: GetQuestDetailsOutProto) -> Bool { + public static func ==(lhs: GetQuestUiOutProto, rhs: GetQuestUiOutProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.quests != rhs.quests {return false} + if lhs._seasonView != rhs._seasonView {return false} + if lhs._todayView != rhs._todayView {return false} + if lhs._specialView != rhs._specialView {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetQuestDetailsOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension GetQuestUiOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_QUEST_NOT_FOUND"), - 3: .same(proto: "ERROR_INVALID_DISPLAY"), + 2: .same(proto: "ERROR"), ] } -extension GetQuestDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetQuestDetailsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "quest_id"), - ] +extension GetQuestUiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetQuestUiProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.questID) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.questID.isEmpty { - try visitor.visitRepeatedStringField(value: self.questID, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetQuestDetailsProto, rhs: GetQuestDetailsProto) -> Bool { - if lhs.questID != rhs.questID {return false} + public static func ==(lhs: GetQuestUiProto, rhs: GetQuestUiProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetRaidDetailsDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetRaidDetailsDataProto" +extension GetRaidDetailsData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetRaidDetailsData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -215593,21 +220801,21 @@ extension GetRaidDetailsDataProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetRaidDetailsDataProto, rhs: GetRaidDetailsDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: GetRaidDetailsData, rhs: GetRaidDetailsData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -215632,9 +220840,9 @@ extension GetRaidDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI 14: .standard(proto: "num_friend_invites_remaining"), 15: .standard(proto: "remote_ticket_used"), 16: .standard(proto: "is_within_plfe_range"), - 17: .same(proto: "item"), - 18: .standard(proto: "lobby_start_ms"), - 19: .standard(proto: "lobby_join_until_ms"), + 17: .standard(proto: "active_item"), + 18: .standard(proto: "lobby_creation_ms"), + 19: .standard(proto: "lobby_join_end_ms"), ] fileprivate class _StorageClass { @@ -215654,9 +220862,9 @@ extension GetRaidDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI var _numFriendInvitesRemaining: Int32 = 0 var _remoteTicketUsed: Bool = false var _isWithinPlfeRange: Bool = false - var _item: Item = .unknown - var _lobbyStartMs: Int64 = 0 - var _lobbyJoinUntilMs: Int64 = 0 + var _activeItem: Item = .unknown + var _lobbyCreationMs: Int64 = 0 + var _lobbyJoinEndMs: Int64 = 0 static let defaultInstance = _StorageClass() @@ -215679,9 +220887,9 @@ extension GetRaidDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI _numFriendInvitesRemaining = source._numFriendInvitesRemaining _remoteTicketUsed = source._remoteTicketUsed _isWithinPlfeRange = source._isWithinPlfeRange - _item = source._item - _lobbyStartMs = source._lobbyStartMs - _lobbyJoinUntilMs = source._lobbyJoinUntilMs + _activeItem = source._activeItem + _lobbyCreationMs = source._lobbyCreationMs + _lobbyJoinEndMs = source._lobbyJoinEndMs } } @@ -215716,9 +220924,9 @@ extension GetRaidDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._numFriendInvitesRemaining) }() case 15: try { try decoder.decodeSingularBoolField(value: &_storage._remoteTicketUsed) }() case 16: try { try decoder.decodeSingularBoolField(value: &_storage._isWithinPlfeRange) }() - case 17: try { try decoder.decodeSingularEnumField(value: &_storage._item) }() - case 18: try { try decoder.decodeSingularInt64Field(value: &_storage._lobbyStartMs) }() - case 19: try { try decoder.decodeSingularInt64Field(value: &_storage._lobbyJoinUntilMs) }() + case 17: try { try decoder.decodeSingularEnumField(value: &_storage._activeItem) }() + case 18: try { try decoder.decodeSingularInt64Field(value: &_storage._lobbyCreationMs) }() + case 19: try { try decoder.decodeSingularInt64Field(value: &_storage._lobbyJoinEndMs) }() default: break } } @@ -215779,14 +220987,14 @@ extension GetRaidDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if _storage._isWithinPlfeRange != false { try visitor.visitSingularBoolField(value: _storage._isWithinPlfeRange, fieldNumber: 16) } - if _storage._item != .unknown { - try visitor.visitSingularEnumField(value: _storage._item, fieldNumber: 17) + if _storage._activeItem != .unknown { + try visitor.visitSingularEnumField(value: _storage._activeItem, fieldNumber: 17) } - if _storage._lobbyStartMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lobbyStartMs, fieldNumber: 18) + if _storage._lobbyCreationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lobbyCreationMs, fieldNumber: 18) } - if _storage._lobbyJoinUntilMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._lobbyJoinUntilMs, fieldNumber: 19) + if _storage._lobbyJoinEndMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lobbyJoinEndMs, fieldNumber: 19) } } try unknownFields.traverse(visitor: &visitor) @@ -215813,9 +221021,9 @@ extension GetRaidDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if _storage._numFriendInvitesRemaining != rhs_storage._numFriendInvitesRemaining {return false} if _storage._remoteTicketUsed != rhs_storage._remoteTicketUsed {return false} if _storage._isWithinPlfeRange != rhs_storage._isWithinPlfeRange {return false} - if _storage._item != rhs_storage._item {return false} - if _storage._lobbyStartMs != rhs_storage._lobbyStartMs {return false} - if _storage._lobbyJoinUntilMs != rhs_storage._lobbyJoinUntilMs {return false} + if _storage._activeItem != rhs_storage._activeItem {return false} + if _storage._lobbyCreationMs != rhs_storage._lobbyCreationMs {return false} + if _storage._lobbyJoinEndMs != rhs_storage._lobbyJoinEndMs {return false} return true } if !storagesAreEqual {return false} @@ -215911,21 +221119,21 @@ extension GetRaidDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } -extension GetRaidDetailsResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetRaidDetailsResponseDataProto" +extension GetRaidDetailsResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetRaidDetailsResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "ob_get_raid_details_data_bool_1"), - 3: .standard(proto: "ob_get_raid_details_data_bool_2"), - 4: .standard(proto: "ob_get_raid_details_data_int32_1"), - 5: .standard(proto: "ob_get_raid_details_data_bool_3"), - 6: .standard(proto: "ob_get_raid_details_data_int32_2"), - 7: .standard(proto: "ob_get_raid_details_data_uint32"), - 8: .standard(proto: "ob_get_raid_details_data_int32_3"), - 9: .standard(proto: "ob_get_raid_details_data_bool_4"), - 10: .standard(proto: "ob_get_raid_details_data_bool_5"), - 11: .standard(proto: "ob_get_raid_details_data_int32_4"), - 12: .standard(proto: "ob_get_raid_details_data_uint32_2"), + 2: .standard(proto: "ticket_used"), + 3: .standard(proto: "free_ticket_available"), + 4: .standard(proto: "throws_remaining"), + 5: .standard(proto: "received_rewards"), + 6: .standard(proto: "num_players_in_lobby"), + 7: .standard(proto: "server_offset_ms"), + 8: .standard(proto: "server_instance"), + 9: .standard(proto: "remote_ticket_used"), + 10: .standard(proto: "is_within_plfe_range"), + 11: .standard(proto: "rpc_id"), + 12: .standard(proto: "round_trip_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -215935,17 +221143,17 @@ extension GetRaidDetailsResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf. // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obGetRaidDetailsDataBool1) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obGetRaidDetailsDataBool2) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obGetRaidDetailsDataInt321) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obGetRaidDetailsDataBool3) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.obGetRaidDetailsDataInt322) }() - case 7: try { try decoder.decodeSingularUInt32Field(value: &self.obGetRaidDetailsDataUint32) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.obGetRaidDetailsDataInt323) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.obGetRaidDetailsDataBool4) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.obGetRaidDetailsDataBool5) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &self.obGetRaidDetailsDataInt324) }() - case 12: try { try decoder.decodeSingularUInt32Field(value: &self.obGetRaidDetailsDataUint322) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.ticketUsed) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.freeTicketAvailable) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.throwsRemaining) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.receivedRewards) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.numPlayersInLobby) }() + case 7: try { try decoder.decodeSingularUInt32Field(value: &self.serverOffsetMs) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.serverInstance) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.remoteTicketUsed) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.isWithinPlfeRange) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 12: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() default: break } } @@ -215955,55 +221163,55 @@ extension GetRaidDetailsResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf. if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.obGetRaidDetailsDataBool1 != false { - try visitor.visitSingularBoolField(value: self.obGetRaidDetailsDataBool1, fieldNumber: 2) + if self.ticketUsed != false { + try visitor.visitSingularBoolField(value: self.ticketUsed, fieldNumber: 2) } - if self.obGetRaidDetailsDataBool2 != false { - try visitor.visitSingularBoolField(value: self.obGetRaidDetailsDataBool2, fieldNumber: 3) + if self.freeTicketAvailable != false { + try visitor.visitSingularBoolField(value: self.freeTicketAvailable, fieldNumber: 3) } - if self.obGetRaidDetailsDataInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obGetRaidDetailsDataInt321, fieldNumber: 4) + if self.throwsRemaining != 0 { + try visitor.visitSingularInt32Field(value: self.throwsRemaining, fieldNumber: 4) } - if self.obGetRaidDetailsDataBool3 != false { - try visitor.visitSingularBoolField(value: self.obGetRaidDetailsDataBool3, fieldNumber: 5) + if self.receivedRewards != false { + try visitor.visitSingularBoolField(value: self.receivedRewards, fieldNumber: 5) } - if self.obGetRaidDetailsDataInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obGetRaidDetailsDataInt322, fieldNumber: 6) + if self.numPlayersInLobby != 0 { + try visitor.visitSingularInt32Field(value: self.numPlayersInLobby, fieldNumber: 6) } - if self.obGetRaidDetailsDataUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obGetRaidDetailsDataUint32, fieldNumber: 7) + if self.serverOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.serverOffsetMs, fieldNumber: 7) } - if self.obGetRaidDetailsDataInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obGetRaidDetailsDataInt323, fieldNumber: 8) + if self.serverInstance != 0 { + try visitor.visitSingularInt32Field(value: self.serverInstance, fieldNumber: 8) } - if self.obGetRaidDetailsDataBool4 != false { - try visitor.visitSingularBoolField(value: self.obGetRaidDetailsDataBool4, fieldNumber: 9) + if self.remoteTicketUsed != false { + try visitor.visitSingularBoolField(value: self.remoteTicketUsed, fieldNumber: 9) } - if self.obGetRaidDetailsDataBool5 != false { - try visitor.visitSingularBoolField(value: self.obGetRaidDetailsDataBool5, fieldNumber: 10) + if self.isWithinPlfeRange != false { + try visitor.visitSingularBoolField(value: self.isWithinPlfeRange, fieldNumber: 10) } - if self.obGetRaidDetailsDataInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obGetRaidDetailsDataInt324, fieldNumber: 11) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 11) } - if self.obGetRaidDetailsDataUint322 != 0 { - try visitor.visitSingularUInt32Field(value: self.obGetRaidDetailsDataUint322, fieldNumber: 12) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GetRaidDetailsResponseDataProto, rhs: GetRaidDetailsResponseDataProto) -> Bool { + public static func ==(lhs: GetRaidDetailsResponseData, rhs: GetRaidDetailsResponseData) -> Bool { if lhs.result != rhs.result {return false} - if lhs.obGetRaidDetailsDataBool1 != rhs.obGetRaidDetailsDataBool1 {return false} - if lhs.obGetRaidDetailsDataBool2 != rhs.obGetRaidDetailsDataBool2 {return false} - if lhs.obGetRaidDetailsDataInt321 != rhs.obGetRaidDetailsDataInt321 {return false} - if lhs.obGetRaidDetailsDataBool3 != rhs.obGetRaidDetailsDataBool3 {return false} - if lhs.obGetRaidDetailsDataInt322 != rhs.obGetRaidDetailsDataInt322 {return false} - if lhs.obGetRaidDetailsDataUint32 != rhs.obGetRaidDetailsDataUint32 {return false} - if lhs.obGetRaidDetailsDataInt323 != rhs.obGetRaidDetailsDataInt323 {return false} - if lhs.obGetRaidDetailsDataBool4 != rhs.obGetRaidDetailsDataBool4 {return false} - if lhs.obGetRaidDetailsDataBool5 != rhs.obGetRaidDetailsDataBool5 {return false} - if lhs.obGetRaidDetailsDataInt324 != rhs.obGetRaidDetailsDataInt324 {return false} - if lhs.obGetRaidDetailsDataUint322 != rhs.obGetRaidDetailsDataUint322 {return false} + if lhs.ticketUsed != rhs.ticketUsed {return false} + if lhs.freeTicketAvailable != rhs.freeTicketAvailable {return false} + if lhs.throwsRemaining != rhs.throwsRemaining {return false} + if lhs.receivedRewards != rhs.receivedRewards {return false} + if lhs.numPlayersInLobby != rhs.numPlayersInLobby {return false} + if lhs.serverOffsetMs != rhs.serverOffsetMs {return false} + if lhs.serverInstance != rhs.serverInstance {return false} + if lhs.remoteTicketUsed != rhs.remoteTicketUsed {return false} + if lhs.isWithinPlfeRange != rhs.isWithinPlfeRange {return false} + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -216013,7 +221221,7 @@ extension GetRaidLobbyCounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mes public static let protoMessageName: String = _protobuf_package + ".GetRaidLobbyCounterOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "raid_lobby_player_count"), + 2: .standard(proto: "counter_responses"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -216023,7 +221231,7 @@ extension GetRaidLobbyCounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.raidLobbyPlayerCount) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.counterResponses) }() default: break } } @@ -216033,15 +221241,15 @@ extension GetRaidLobbyCounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mes if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.raidLobbyPlayerCount.isEmpty { - try visitor.visitRepeatedMessageField(value: self.raidLobbyPlayerCount, fieldNumber: 2) + if !self.counterResponses.isEmpty { + try visitor.visitRepeatedMessageField(value: self.counterResponses, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: GetRaidLobbyCounterOutProto, rhs: GetRaidLobbyCounterOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.raidLobbyPlayerCount != rhs.raidLobbyPlayerCount {return false} + if lhs.counterResponses != rhs.counterResponses {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -216059,7 +221267,7 @@ extension GetRaidLobbyCounterOutProto.Result: SwiftProtobuf._ProtoNameProviding extension GetRaidLobbyCounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetRaidLobbyCounterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "gym"), + 1: .standard(proto: "counter_requests"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -216068,21 +221276,21 @@ extension GetRaidLobbyCounterProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.gym) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.counterRequests) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.gym.isEmpty { - try visitor.visitRepeatedMessageField(value: self.gym, fieldNumber: 1) + if !self.counterRequests.isEmpty { + try visitor.visitRepeatedMessageField(value: self.counterRequests, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: GetRaidLobbyCounterProto, rhs: GetRaidLobbyCounterProto) -> Bool { - if lhs.gym != rhs.gym {return false} + if lhs.counterRequests != rhs.counterRequests {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -216235,7 +221443,7 @@ extension GetRemoteConfigVersionsProto: SwiftProtobuf.Message, SwiftProtobuf._Me 5: .standard(proto: "app_version"), 6: .same(proto: "store"), 7: .same(proto: "carrier"), - 8: .standard(proto: "ob_string"), + 8: .standard(proto: "user_date_of_birth"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -216251,7 +221459,7 @@ extension GetRemoteConfigVersionsProto: SwiftProtobuf.Message, SwiftProtobuf._Me case 5: try { try decoder.decodeSingularUInt32Field(value: &self.appVersion) }() case 6: try { try decoder.decodeSingularEnumField(value: &self.store) }() case 7: try { try decoder.decodeSingularStringField(value: &self.carrier) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.obString) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.userDateOfBirth) }() default: break } } @@ -216279,8 +221487,8 @@ extension GetRemoteConfigVersionsProto: SwiftProtobuf.Message, SwiftProtobuf._Me if !self.carrier.isEmpty { try visitor.visitSingularStringField(value: self.carrier, fieldNumber: 7) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 8) + if !self.userDateOfBirth.isEmpty { + try visitor.visitSingularStringField(value: self.userDateOfBirth, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } @@ -216293,7 +221501,7 @@ extension GetRemoteConfigVersionsProto: SwiftProtobuf.Message, SwiftProtobuf._Me if lhs.appVersion != rhs.appVersion {return false} if lhs.store != rhs.store {return false} if lhs.carrier != rhs.carrier {return false} - if lhs.obString != rhs.obString {return false} + if lhs.userDateOfBirth != rhs.userDateOfBirth {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -216385,11 +221593,83 @@ extension GetRocketBalloonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } } +extension GetRouteCreationsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetRouteCreationsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "routes"), + 3: .standard(proto: "unseen_updates"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.routes) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.unseenUpdates) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.routes.isEmpty { + try visitor.visitRepeatedMessageField(value: self.routes, fieldNumber: 2) + } + if !self.unseenUpdates.isEmpty { + try visitor.visitRepeatedStringField(value: self.unseenUpdates, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: GetRouteCreationsOutProto, rhs: GetRouteCreationsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.routes != rhs.routes {return false} + if lhs.unseenUpdates != rhs.unseenUpdates {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension GetRouteCreationsOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension GetRouteCreationsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GetRouteCreationsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: GetRouteCreationsProto, rhs: GetRouteCreationsProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension GetRoutesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetRoutesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "route_map_cell"), 2: .same(proto: "status"), + 3: .standard(proto: "route_tabs"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -216400,6 +221680,7 @@ extension GetRoutesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem switch fieldNumber { case 1: try { try decoder.decodeRepeatedMessageField(value: &self.routeMapCell) }() case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.routeTabs) }() default: break } } @@ -216412,12 +221693,16 @@ extension GetRoutesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) } + if !self.routeTabs.isEmpty { + try visitor.visitRepeatedMessageField(value: self.routeTabs, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: GetRoutesOutProto, rhs: GetRoutesOutProto) -> Bool { if lhs.routeMapCell != rhs.routeMapCell {return false} if lhs.status != rhs.status {return false} + if lhs.routeTabs != rhs.routeTabs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -216431,6 +221716,44 @@ extension GetRoutesOutProto.Status: SwiftProtobuf._ProtoNameProviding { ] } +extension GetRoutesOutProto.RouteTab: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = GetRoutesOutProto.protoMessageName + ".RouteTab" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "title_string_id"), + 2: .standard(proto: "route_ids"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.titleStringID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.routeIds) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.titleStringID.isEmpty { + try visitor.visitSingularStringField(value: self.titleStringID, fieldNumber: 1) + } + if !self.routeIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.routeIds, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: GetRoutesOutProto.RouteTab, rhs: GetRoutesOutProto.RouteTab) -> Bool { + if lhs.titleStringID != rhs.titleStringID {return false} + if lhs.routeIds != rhs.routeIds {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension GetRoutesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetRoutesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -216527,77 +221850,6 @@ extension GetServerTimeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } -extension GetSignedUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetSignedUrlOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "signed_url"), - 3: .standard(proto: "photo_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.signedURL) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.photoID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.signedURL.isEmpty { - try visitor.visitSingularStringField(value: self.signedURL, fieldNumber: 2) - } - if !self.photoID.isEmpty { - try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetSignedUrlOutProto, rhs: GetSignedUrlOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.signedURL != rhs.signedURL {return false} - if lhs.photoID != rhs.photoID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetSignedUrlOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension GetSignedUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetSignedUrlProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetSignedUrlProto, rhs: GetSignedUrlProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension GetStardustQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetStardustQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -216641,56 +221893,98 @@ extension GetTimedGroupChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._ 6: .standard(proto: "active_city_localization_key_changes"), ] + fileprivate class _StorageClass { + var _status: GetTimedGroupChallengeOutProto.Status = .unset + var _challengeDefinition: TimedGroupChallengeDefinitionProto? = nil + var _currentScore: Int32 = 0 + var _playerScore: Int32 = 0 + var _activeCityHash: String = String() + var _activeCityLocalizationKeyChanges: [String] = [] + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _status = source._status + _challengeDefinition = source._challengeDefinition + _currentScore = source._currentScore + _playerScore = source._playerScore + _activeCityHash = source._activeCityHash + _activeCityLocalizationKeyChanges = source._activeCityLocalizationKeyChanges + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._challengeDefinition) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.currentScore) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.playerScore) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.activeCityHash) }() - case 6: try { try decoder.decodeRepeatedStringField(value: &self.activeCityLocalizationKeyChanges) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._challengeDefinition) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._currentScore) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._playerScore) }() + case 5: try { try decoder.decodeSingularStringField(value: &_storage._activeCityHash) }() + case 6: try { try decoder.decodeRepeatedStringField(value: &_storage._activeCityLocalizationKeyChanges) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try { if let v = self._challengeDefinition { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.currentScore != 0 { - try visitor.visitSingularInt32Field(value: self.currentScore, fieldNumber: 3) - } - if self.playerScore != 0 { - try visitor.visitSingularInt32Field(value: self.playerScore, fieldNumber: 4) - } - if !self.activeCityHash.isEmpty { - try visitor.visitSingularStringField(value: self.activeCityHash, fieldNumber: 5) - } - if !self.activeCityLocalizationKeyChanges.isEmpty { - try visitor.visitRepeatedStringField(value: self.activeCityLocalizationKeyChanges, fieldNumber: 6) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._status != .unset { + try visitor.visitSingularEnumField(value: _storage._status, fieldNumber: 1) + } + try { if let v = _storage._challengeDefinition { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if _storage._currentScore != 0 { + try visitor.visitSingularInt32Field(value: _storage._currentScore, fieldNumber: 3) + } + if _storage._playerScore != 0 { + try visitor.visitSingularInt32Field(value: _storage._playerScore, fieldNumber: 4) + } + if !_storage._activeCityHash.isEmpty { + try visitor.visitSingularStringField(value: _storage._activeCityHash, fieldNumber: 5) + } + if !_storage._activeCityLocalizationKeyChanges.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._activeCityLocalizationKeyChanges, fieldNumber: 6) + } } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: GetTimedGroupChallengeOutProto, rhs: GetTimedGroupChallengeOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._challengeDefinition != rhs._challengeDefinition {return false} - if lhs.currentScore != rhs.currentScore {return false} - if lhs.playerScore != rhs.playerScore {return false} - if lhs.activeCityHash != rhs.activeCityHash {return false} - if lhs.activeCityLocalizationKeyChanges != rhs.activeCityLocalizationKeyChanges {return false} + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._status != rhs_storage._status {return false} + if _storage._challengeDefinition != rhs_storage._challengeDefinition {return false} + if _storage._currentScore != rhs_storage._currentScore {return false} + if _storage._playerScore != rhs_storage._playerScore {return false} + if _storage._activeCityHash != rhs_storage._activeCityHash {return false} + if _storage._activeCityLocalizationKeyChanges != rhs_storage._activeCityLocalizationKeyChanges {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -216965,7 +222259,6 @@ extension GetUploadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp 1: .same(proto: "status"), 2: .standard(proto: "signed_url"), 3: .standard(proto: "supporting_image_signed_url"), - 4: .standard(proto: "context_signed_urls"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -216977,7 +222270,6 @@ extension GetUploadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() case 2: try { try decoder.decodeSingularStringField(value: &self.signedURL) }() case 3: try { try decoder.decodeSingularStringField(value: &self.supportingImageSignedURL) }() - case 4: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.contextSignedUrls) }() default: break } } @@ -216993,9 +222285,6 @@ extension GetUploadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp if !self.supportingImageSignedURL.isEmpty { try visitor.visitSingularStringField(value: self.supportingImageSignedURL, fieldNumber: 3) } - if !self.contextSignedUrls.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.contextSignedUrls, fieldNumber: 4) - } try unknownFields.traverse(visitor: &visitor) } @@ -217003,7 +222292,6 @@ extension GetUploadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp if lhs.status != rhs.status {return false} if lhs.signedURL != rhs.signedURL {return false} if lhs.supportingImageSignedURL != rhs.supportingImageSignedURL {return false} - if lhs.contextSignedUrls != rhs.contextSignedUrls {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -217014,9 +222302,6 @@ extension GetUploadUrlOutProto.Status: SwiftProtobuf._ProtoNameProviding { 0: .same(proto: "UNSET"), 1: .same(proto: "FAILURES"), 2: .same(proto: "SUCCESS"), - 3: .same(proto: "MISSING_IMAGE_CONTEXTS"), - 4: .same(proto: "DUPLICATE_IMAGE_CONTEXTS"), - 5: .same(proto: "ALREADY_UPLOADED"), ] } @@ -217025,9 +222310,6 @@ extension GetUploadUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "user_id"), 2: .standard(proto: "game_unique_id"), - 3: .standard(proto: "submission_type"), - 4: .standard(proto: "submission_id"), - 5: .standard(proto: "image_contexts"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -217038,9 +222320,6 @@ extension GetUploadUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.userID) }() case 2: try { try decoder.decodeSingularStringField(value: &self.gameUniqueID) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.submissionType) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() - case 5: try { try decoder.decodeRepeatedStringField(value: &self.imageContexts) }() default: break } } @@ -217053,113 +222332,17 @@ extension GetUploadUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem if !self.gameUniqueID.isEmpty { try visitor.visitSingularStringField(value: self.gameUniqueID, fieldNumber: 2) } - if self.submissionType != .typeUnspecified { - try visitor.visitSingularEnumField(value: self.submissionType, fieldNumber: 3) - } - if !self.submissionID.isEmpty { - try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 4) - } - if !self.imageContexts.isEmpty { - try visitor.visitRepeatedStringField(value: self.imageContexts, fieldNumber: 5) - } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: GetUploadUrlProto, rhs: GetUploadUrlProto) -> Bool { if lhs.userID != rhs.userID {return false} if lhs.gameUniqueID != rhs.gameUniqueID {return false} - if lhs.submissionType != rhs.submissionType {return false} - if lhs.submissionID != rhs.submissionID {return false} - if lhs.imageContexts != rhs.imageContexts {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetUserRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetUserRequestProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "nia_account_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetUserRequestProto, rhs: GetUserRequestProto) -> Bool { - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension GetUserResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GetUserResponseProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "user_game_data"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._userGameData) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try { if let v = self._userGameData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GetUserResponseProto, rhs: GetUserResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._userGameData != rhs._userGameData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GetUserResponseProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - 3: .same(proto: "PLAYER_NOT_FOUND"), - 4: .same(proto: "DISALLOW_IAP_PLAYER"), - ] -} - extension GetVpsEventOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GetVpsEventOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -217492,6 +222675,38 @@ extension GetWebTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme } } +extension GhostWayspotSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GhostWayspotSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "ghost_wayspot_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.ghostWayspotEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.ghostWayspotEnabled != false { + try visitor.visitSingularBoolField(value: self.ghostWayspotEnabled, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: GhostWayspotSettings, rhs: GhostWayspotSettings) -> Bool { + if lhs.ghostWayspotEnabled != rhs.ghostWayspotEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension GiftBoxDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GiftBoxDetailsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -217722,79 +222937,187 @@ extension GiftBoxProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat 9: .standard(proto: "sent_bucket"), 11: .standard(proto: "saturday_claimed"), 12: .standard(proto: "sender_nia_id"), + 13: .standard(proto: "sender_codename"), + 14: .standard(proto: "receiver_codename"), + 15: .standard(proto: "fort_name"), + 16: .standard(proto: "fort_image_url"), + 17: .standard(proto: "stickers_sent"), + 18: .standard(proto: "share_trainer_info_with_postcard"), + 19: .standard(proto: "pinned_postcard_id"), ] + fileprivate class _StorageClass { + var _giftboxID: UInt64 = 0 + var _senderID: String = String() + var _receiverID: String = String() + var _fortID: String = String() + var _fortLat: Double = 0 + var _fortLng: Double = 0 + var _creationTimestamp: Int64 = 0 + var _sentTimestamp: Int64 = 0 + var _sentBucket: Int64 = 0 + var _saturdayClaimed: Bool = false + var _senderNiaID: String = String() + var _senderCodename: String = String() + var _receiverCodename: String = String() + var _fortName: String = String() + var _fortImageURL: String = String() + var _stickersSent: [String] = [] + var _shareTrainerInfoWithPostcard: Bool = false + var _pinnedPostcardID: String = String() + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _giftboxID = source._giftboxID + _senderID = source._senderID + _receiverID = source._receiverID + _fortID = source._fortID + _fortLat = source._fortLat + _fortLng = source._fortLng + _creationTimestamp = source._creationTimestamp + _sentTimestamp = source._sentTimestamp + _sentBucket = source._sentBucket + _saturdayClaimed = source._saturdayClaimed + _senderNiaID = source._senderNiaID + _senderCodename = source._senderCodename + _receiverCodename = source._receiverCodename + _fortName = source._fortName + _fortImageURL = source._fortImageURL + _stickersSent = source._stickersSent + _shareTrainerInfoWithPostcard = source._shareTrainerInfoWithPostcard + _pinnedPostcardID = source._pinnedPostcardID + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.giftboxID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.senderID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.receiverID) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.fortLat) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.fortLng) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.creationTimestamp) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &self.sentTimestamp) }() - case 9: try { try decoder.decodeSingularInt64Field(value: &self.sentBucket) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.saturdayClaimed) }() - case 12: try { try decoder.decodeSingularStringField(value: &self.senderNiaID) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularUInt64Field(value: &_storage._giftboxID) }() + case 2: try { try decoder.decodeSingularStringField(value: &_storage._senderID) }() + case 3: try { try decoder.decodeSingularStringField(value: &_storage._receiverID) }() + case 4: try { try decoder.decodeSingularStringField(value: &_storage._fortID) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &_storage._fortLat) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &_storage._fortLng) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._creationTimestamp) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._sentTimestamp) }() + case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._sentBucket) }() + case 11: try { try decoder.decodeSingularBoolField(value: &_storage._saturdayClaimed) }() + case 12: try { try decoder.decodeSingularStringField(value: &_storage._senderNiaID) }() + case 13: try { try decoder.decodeSingularStringField(value: &_storage._senderCodename) }() + case 14: try { try decoder.decodeSingularStringField(value: &_storage._receiverCodename) }() + case 15: try { try decoder.decodeSingularStringField(value: &_storage._fortName) }() + case 16: try { try decoder.decodeSingularStringField(value: &_storage._fortImageURL) }() + case 17: try { try decoder.decodeRepeatedStringField(value: &_storage._stickersSent) }() + case 18: try { try decoder.decodeSingularBoolField(value: &_storage._shareTrainerInfoWithPostcard) }() + case 19: try { try decoder.decodeSingularStringField(value: &_storage._pinnedPostcardID) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.giftboxID != 0 { - try visitor.visitSingularUInt64Field(value: self.giftboxID, fieldNumber: 1) - } - if !self.senderID.isEmpty { - try visitor.visitSingularStringField(value: self.senderID, fieldNumber: 2) - } - if !self.receiverID.isEmpty { - try visitor.visitSingularStringField(value: self.receiverID, fieldNumber: 3) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 4) - } - if self.fortLat != 0 { - try visitor.visitSingularDoubleField(value: self.fortLat, fieldNumber: 5) - } - if self.fortLng != 0 { - try visitor.visitSingularDoubleField(value: self.fortLng, fieldNumber: 6) - } - if self.creationTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.creationTimestamp, fieldNumber: 7) - } - if self.sentTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.sentTimestamp, fieldNumber: 8) - } - if self.sentBucket != 0 { - try visitor.visitSingularInt64Field(value: self.sentBucket, fieldNumber: 9) - } - if self.saturdayClaimed != false { - try visitor.visitSingularBoolField(value: self.saturdayClaimed, fieldNumber: 11) - } - if !self.senderNiaID.isEmpty { - try visitor.visitSingularStringField(value: self.senderNiaID, fieldNumber: 12) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if _storage._giftboxID != 0 { + try visitor.visitSingularUInt64Field(value: _storage._giftboxID, fieldNumber: 1) + } + if !_storage._senderID.isEmpty { + try visitor.visitSingularStringField(value: _storage._senderID, fieldNumber: 2) + } + if !_storage._receiverID.isEmpty { + try visitor.visitSingularStringField(value: _storage._receiverID, fieldNumber: 3) + } + if !_storage._fortID.isEmpty { + try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 4) + } + if _storage._fortLat != 0 { + try visitor.visitSingularDoubleField(value: _storage._fortLat, fieldNumber: 5) + } + if _storage._fortLng != 0 { + try visitor.visitSingularDoubleField(value: _storage._fortLng, fieldNumber: 6) + } + if _storage._creationTimestamp != 0 { + try visitor.visitSingularInt64Field(value: _storage._creationTimestamp, fieldNumber: 7) + } + if _storage._sentTimestamp != 0 { + try visitor.visitSingularInt64Field(value: _storage._sentTimestamp, fieldNumber: 8) + } + if _storage._sentBucket != 0 { + try visitor.visitSingularInt64Field(value: _storage._sentBucket, fieldNumber: 9) + } + if _storage._saturdayClaimed != false { + try visitor.visitSingularBoolField(value: _storage._saturdayClaimed, fieldNumber: 11) + } + if !_storage._senderNiaID.isEmpty { + try visitor.visitSingularStringField(value: _storage._senderNiaID, fieldNumber: 12) + } + if !_storage._senderCodename.isEmpty { + try visitor.visitSingularStringField(value: _storage._senderCodename, fieldNumber: 13) + } + if !_storage._receiverCodename.isEmpty { + try visitor.visitSingularStringField(value: _storage._receiverCodename, fieldNumber: 14) + } + if !_storage._fortName.isEmpty { + try visitor.visitSingularStringField(value: _storage._fortName, fieldNumber: 15) + } + if !_storage._fortImageURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._fortImageURL, fieldNumber: 16) + } + if !_storage._stickersSent.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._stickersSent, fieldNumber: 17) + } + if _storage._shareTrainerInfoWithPostcard != false { + try visitor.visitSingularBoolField(value: _storage._shareTrainerInfoWithPostcard, fieldNumber: 18) + } + if !_storage._pinnedPostcardID.isEmpty { + try visitor.visitSingularStringField(value: _storage._pinnedPostcardID, fieldNumber: 19) + } } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: GiftBoxProto, rhs: GiftBoxProto) -> Bool { - if lhs.giftboxID != rhs.giftboxID {return false} - if lhs.senderID != rhs.senderID {return false} - if lhs.receiverID != rhs.receiverID {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.fortLat != rhs.fortLat {return false} - if lhs.fortLng != rhs.fortLng {return false} - if lhs.creationTimestamp != rhs.creationTimestamp {return false} - if lhs.sentTimestamp != rhs.sentTimestamp {return false} - if lhs.sentBucket != rhs.sentBucket {return false} - if lhs.saturdayClaimed != rhs.saturdayClaimed {return false} - if lhs.senderNiaID != rhs.senderNiaID {return false} + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._giftboxID != rhs_storage._giftboxID {return false} + if _storage._senderID != rhs_storage._senderID {return false} + if _storage._receiverID != rhs_storage._receiverID {return false} + if _storage._fortID != rhs_storage._fortID {return false} + if _storage._fortLat != rhs_storage._fortLat {return false} + if _storage._fortLng != rhs_storage._fortLng {return false} + if _storage._creationTimestamp != rhs_storage._creationTimestamp {return false} + if _storage._sentTimestamp != rhs_storage._sentTimestamp {return false} + if _storage._sentBucket != rhs_storage._sentBucket {return false} + if _storage._saturdayClaimed != rhs_storage._saturdayClaimed {return false} + if _storage._senderNiaID != rhs_storage._senderNiaID {return false} + if _storage._senderCodename != rhs_storage._senderCodename {return false} + if _storage._receiverCodename != rhs_storage._receiverCodename {return false} + if _storage._fortName != rhs_storage._fortName {return false} + if _storage._fortImageURL != rhs_storage._fortImageURL {return false} + if _storage._stickersSent != rhs_storage._stickersSent {return false} + if _storage._shareTrainerInfoWithPostcard != rhs_storage._shareTrainerInfoWithPostcard {return false} + if _storage._pinnedPostcardID != rhs_storage._pinnedPostcardID {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -217832,6 +223155,98 @@ extension GiftBoxesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement } } +extension GiftExchangeEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GiftExchangeEntryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "gift_box"), + 2: .standard(proto: "sender_profile"), + 3: .standard(proto: "source_route_id"), + 4: .standard(proto: "route_name"), + ] + + fileprivate class _StorageClass { + var _giftBox: GiftBoxProto? = nil + var _senderProfile: PlayerPublicProfileProto? = nil + var _sourceRouteID: String = String() + var _routeName: String = String() + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _giftBox = source._giftBox + _senderProfile = source._senderProfile + _sourceRouteID = source._sourceRouteID + _routeName = source._routeName + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._giftBox) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._senderProfile) }() + case 3: try { try decoder.decodeSingularStringField(value: &_storage._sourceRouteID) }() + case 4: try { try decoder.decodeSingularStringField(value: &_storage._routeName) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._giftBox { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = _storage._senderProfile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !_storage._sourceRouteID.isEmpty { + try visitor.visitSingularStringField(value: _storage._sourceRouteID, fieldNumber: 3) + } + if !_storage._routeName.isEmpty { + try visitor.visitSingularStringField(value: _storage._routeName, fieldNumber: 4) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: GiftExchangeEntryProto, rhs: GiftExchangeEntryProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._giftBox != rhs_storage._giftBox {return false} + if _storage._senderProfile != rhs_storage._senderProfile {return false} + if _storage._sourceRouteID != rhs_storage._sourceRouteID {return false} + if _storage._routeName != rhs_storage._routeName {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension GiftingEligibilityStatusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GiftingEligibilityStatusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -217933,8 +223348,8 @@ extension GiftingIapItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl extension GiftingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GiftingSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "convert_items_to_stardust_when_full_enabled"), - 2: .standard(proto: "stardust_to_reward_when_full"), + 1: .standard(proto: "enable_gift_to_stardust"), + 2: .standard(proto: "stardust_per_gift"), 3: .standard(proto: "stardust_multiplier"), ] @@ -217944,8 +223359,8 @@ extension GiftingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.convertItemsToStardustWhenFullEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.stardustToRewardWhenFull) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableGiftToStardust) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.stardustPerGift) }() case 3: try { try decoder.decodeRepeatedMessageField(value: &self.stardustMultiplier) }() default: break } @@ -217953,11 +223368,11 @@ extension GiftingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } public func traverse(visitor: inout V) throws { - if self.convertItemsToStardustWhenFullEnabled != false { - try visitor.visitSingularBoolField(value: self.convertItemsToStardustWhenFullEnabled, fieldNumber: 1) + if self.enableGiftToStardust != false { + try visitor.visitSingularBoolField(value: self.enableGiftToStardust, fieldNumber: 1) } - if self.stardustToRewardWhenFull != 0 { - try visitor.visitSingularInt32Field(value: self.stardustToRewardWhenFull, fieldNumber: 2) + if self.stardustPerGift != 0 { + try visitor.visitSingularInt32Field(value: self.stardustPerGift, fieldNumber: 2) } if !self.stardustMultiplier.isEmpty { try visitor.visitRepeatedMessageField(value: self.stardustMultiplier, fieldNumber: 3) @@ -217966,8 +223381,8 @@ extension GiftingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } public static func ==(lhs: GiftingSettingsProto, rhs: GiftingSettingsProto) -> Bool { - if lhs.convertItemsToStardustWhenFullEnabled != rhs.convertItemsToStardustWhenFullEnabled {return false} - if lhs.stardustToRewardWhenFull != rhs.stardustToRewardWhenFull {return false} + if lhs.enableGiftToStardust != rhs.enableGiftToStardust {return false} + if lhs.stardustPerGift != rhs.stardustPerGift {return false} if lhs.stardustMultiplier != rhs.stardustMultiplier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true @@ -217977,8 +223392,8 @@ extension GiftingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp extension GiftingSettingsProto.StardustMultiplier: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = GiftingSettingsProto.protoMessageName + ".StardustMultiplier" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "stardust_base_multiplier"), - 2: .standard(proto: "stardust_multiplier_probability"), + 1: .same(proto: "multiplier"), + 2: .standard(proto: "random_weight"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -217987,26 +223402,26 @@ extension GiftingSettingsProto.StardustMultiplier: SwiftProtobuf.Message, SwiftP // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.stardustBaseMultiplier) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.stardustMultiplierProbability) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.multiplier) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.randomWeight) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.stardustBaseMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.stardustBaseMultiplier, fieldNumber: 1) + if self.multiplier != 0 { + try visitor.visitSingularFloatField(value: self.multiplier, fieldNumber: 1) } - if self.stardustMultiplierProbability != 0 { - try visitor.visitSingularFloatField(value: self.stardustMultiplierProbability, fieldNumber: 2) + if self.randomWeight != 0 { + try visitor.visitSingularFloatField(value: self.randomWeight, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: GiftingSettingsProto.StardustMultiplier, rhs: GiftingSettingsProto.StardustMultiplier) -> Bool { - if lhs.stardustBaseMultiplier != rhs.stardustBaseMultiplier {return false} - if lhs.stardustMultiplierProbability != rhs.stardustMultiplierProbability {return false} + if lhs.multiplier != rhs.multiplier {return false} + if lhs.randomWeight != rhs.randomWeight {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -218025,13 +223440,21 @@ extension GlobalEventTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf 9: .standard(proto: "event_variant_description_string_keys"), 10: .standard(proto: "item_bag_description_variant_selected"), 11: .standard(proto: "event_variant_button_string_keys"), - 12: .standard(proto: "is_ticket_eligible_for_gifting"), - 13: .same(proto: "ticket"), - 14: .standard(proto: "ticket_to_gift"), - 15: .standard(proto: "ob_string_event_1"), - 16: .standard(proto: "ticket_shop_image_url"), - 17: .standard(proto: "is_ticket_eligible_for_discounted_rate"), - 18: .standard(proto: "discounted_ticket_purchase_limit"), + 12: .same(proto: "giftable"), + 13: .standard(proto: "ticket_item"), + 14: .standard(proto: "gift_item"), + 15: .standard(proto: "event_title_string_key"), + 16: .standard(proto: "event_banner_url"), + 17: .standard(proto: "require_original_ticket_for_gift"), + 18: .standard(proto: "gift_purchase_limit"), + 19: .standard(proto: "conflict_story_quest_ids"), + 20: .standard(proto: "display_v2_enabled"), + 21: .standard(proto: "background_image_url"), + 22: .standard(proto: "title_image_url"), + 23: .standard(proto: "event_datetime_range_key"), + 24: .standard(proto: "text_rewards_key"), + 25: .standard(proto: "icon_rewards"), + 26: .standard(proto: "details_link_key"), 100: .standard(proto: "client_event_start_time_utc_ms"), 101: .standard(proto: "client_event_end_time_utc_ms"), ] @@ -218047,13 +223470,21 @@ extension GlobalEventTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf var _eventVariantDescriptionStringKeys: [String] = [] var _itemBagDescriptionVariantSelected: String = String() var _eventVariantButtonStringKeys: [String] = [] - var _isTicketEligibleForGifting: Bool = false - var _ticket: Item = .unknown - var _ticketToGift: Item = .unknown - var _obStringEvent1: String = String() - var _ticketShopImageURL: String = String() - var _isTicketEligibleForDiscountedRate: Bool = false - var _discountedTicketPurchaseLimit: Int32 = 0 + var _giftable: Bool = false + var _ticketItem: Item = .unknown + var _giftItem: Item = .unknown + var _eventTitleStringKey: String = String() + var _eventBannerURL: String = String() + var _requireOriginalTicketForGift: Bool = false + var _giftPurchaseLimit: Int32 = 0 + var _conflictStoryQuestIds: [String] = [] + var _displayV2Enabled: Bool = false + var _backgroundImageURL: String = String() + var _titleImageURL: String = String() + var _eventDatetimeRangeKey: String = String() + var _textRewardsKey: String = String() + var _iconRewards: [QuestRewardProto] = [] + var _detailsLinkKey: String = String() var _clientEventStartTimeUtcMs: Int64 = 0 var _clientEventEndTimeUtcMs: Int64 = 0 @@ -218072,13 +223503,21 @@ extension GlobalEventTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf _eventVariantDescriptionStringKeys = source._eventVariantDescriptionStringKeys _itemBagDescriptionVariantSelected = source._itemBagDescriptionVariantSelected _eventVariantButtonStringKeys = source._eventVariantButtonStringKeys - _isTicketEligibleForGifting = source._isTicketEligibleForGifting - _ticket = source._ticket - _ticketToGift = source._ticketToGift - _obStringEvent1 = source._obStringEvent1 - _ticketShopImageURL = source._ticketShopImageURL - _isTicketEligibleForDiscountedRate = source._isTicketEligibleForDiscountedRate - _discountedTicketPurchaseLimit = source._discountedTicketPurchaseLimit + _giftable = source._giftable + _ticketItem = source._ticketItem + _giftItem = source._giftItem + _eventTitleStringKey = source._eventTitleStringKey + _eventBannerURL = source._eventBannerURL + _requireOriginalTicketForGift = source._requireOriginalTicketForGift + _giftPurchaseLimit = source._giftPurchaseLimit + _conflictStoryQuestIds = source._conflictStoryQuestIds + _displayV2Enabled = source._displayV2Enabled + _backgroundImageURL = source._backgroundImageURL + _titleImageURL = source._titleImageURL + _eventDatetimeRangeKey = source._eventDatetimeRangeKey + _textRewardsKey = source._textRewardsKey + _iconRewards = source._iconRewards + _detailsLinkKey = source._detailsLinkKey _clientEventStartTimeUtcMs = source._clientEventStartTimeUtcMs _clientEventEndTimeUtcMs = source._clientEventEndTimeUtcMs } @@ -218109,13 +223548,21 @@ extension GlobalEventTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf case 9: try { try decoder.decodeRepeatedStringField(value: &_storage._eventVariantDescriptionStringKeys) }() case 10: try { try decoder.decodeSingularStringField(value: &_storage._itemBagDescriptionVariantSelected) }() case 11: try { try decoder.decodeRepeatedStringField(value: &_storage._eventVariantButtonStringKeys) }() - case 12: try { try decoder.decodeSingularBoolField(value: &_storage._isTicketEligibleForGifting) }() - case 13: try { try decoder.decodeSingularEnumField(value: &_storage._ticket) }() - case 14: try { try decoder.decodeSingularEnumField(value: &_storage._ticketToGift) }() - case 15: try { try decoder.decodeSingularStringField(value: &_storage._obStringEvent1) }() - case 16: try { try decoder.decodeSingularStringField(value: &_storage._ticketShopImageURL) }() - case 17: try { try decoder.decodeSingularBoolField(value: &_storage._isTicketEligibleForDiscountedRate) }() - case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._discountedTicketPurchaseLimit) }() + case 12: try { try decoder.decodeSingularBoolField(value: &_storage._giftable) }() + case 13: try { try decoder.decodeSingularEnumField(value: &_storage._ticketItem) }() + case 14: try { try decoder.decodeSingularEnumField(value: &_storage._giftItem) }() + case 15: try { try decoder.decodeSingularStringField(value: &_storage._eventTitleStringKey) }() + case 16: try { try decoder.decodeSingularStringField(value: &_storage._eventBannerURL) }() + case 17: try { try decoder.decodeSingularBoolField(value: &_storage._requireOriginalTicketForGift) }() + case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._giftPurchaseLimit) }() + case 19: try { try decoder.decodeRepeatedStringField(value: &_storage._conflictStoryQuestIds) }() + case 20: try { try decoder.decodeSingularBoolField(value: &_storage._displayV2Enabled) }() + case 21: try { try decoder.decodeSingularStringField(value: &_storage._backgroundImageURL) }() + case 22: try { try decoder.decodeSingularStringField(value: &_storage._titleImageURL) }() + case 23: try { try decoder.decodeSingularStringField(value: &_storage._eventDatetimeRangeKey) }() + case 24: try { try decoder.decodeSingularStringField(value: &_storage._textRewardsKey) }() + case 25: try { try decoder.decodeRepeatedMessageField(value: &_storage._iconRewards) }() + case 26: try { try decoder.decodeSingularStringField(value: &_storage._detailsLinkKey) }() case 100: try { try decoder.decodeSingularInt64Field(value: &_storage._clientEventStartTimeUtcMs) }() case 101: try { try decoder.decodeSingularInt64Field(value: &_storage._clientEventEndTimeUtcMs) }() default: break @@ -218156,26 +223603,50 @@ extension GlobalEventTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf if !_storage._eventVariantButtonStringKeys.isEmpty { try visitor.visitRepeatedStringField(value: _storage._eventVariantButtonStringKeys, fieldNumber: 11) } - if _storage._isTicketEligibleForGifting != false { - try visitor.visitSingularBoolField(value: _storage._isTicketEligibleForGifting, fieldNumber: 12) + if _storage._giftable != false { + try visitor.visitSingularBoolField(value: _storage._giftable, fieldNumber: 12) + } + if _storage._ticketItem != .unknown { + try visitor.visitSingularEnumField(value: _storage._ticketItem, fieldNumber: 13) + } + if _storage._giftItem != .unknown { + try visitor.visitSingularEnumField(value: _storage._giftItem, fieldNumber: 14) + } + if !_storage._eventTitleStringKey.isEmpty { + try visitor.visitSingularStringField(value: _storage._eventTitleStringKey, fieldNumber: 15) + } + if !_storage._eventBannerURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._eventBannerURL, fieldNumber: 16) + } + if _storage._requireOriginalTicketForGift != false { + try visitor.visitSingularBoolField(value: _storage._requireOriginalTicketForGift, fieldNumber: 17) } - if _storage._ticket != .unknown { - try visitor.visitSingularEnumField(value: _storage._ticket, fieldNumber: 13) + if _storage._giftPurchaseLimit != 0 { + try visitor.visitSingularInt32Field(value: _storage._giftPurchaseLimit, fieldNumber: 18) } - if _storage._ticketToGift != .unknown { - try visitor.visitSingularEnumField(value: _storage._ticketToGift, fieldNumber: 14) + if !_storage._conflictStoryQuestIds.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._conflictStoryQuestIds, fieldNumber: 19) } - if !_storage._obStringEvent1.isEmpty { - try visitor.visitSingularStringField(value: _storage._obStringEvent1, fieldNumber: 15) + if _storage._displayV2Enabled != false { + try visitor.visitSingularBoolField(value: _storage._displayV2Enabled, fieldNumber: 20) } - if !_storage._ticketShopImageURL.isEmpty { - try visitor.visitSingularStringField(value: _storage._ticketShopImageURL, fieldNumber: 16) + if !_storage._backgroundImageURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._backgroundImageURL, fieldNumber: 21) } - if _storage._isTicketEligibleForDiscountedRate != false { - try visitor.visitSingularBoolField(value: _storage._isTicketEligibleForDiscountedRate, fieldNumber: 17) + if !_storage._titleImageURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._titleImageURL, fieldNumber: 22) } - if _storage._discountedTicketPurchaseLimit != 0 { - try visitor.visitSingularInt32Field(value: _storage._discountedTicketPurchaseLimit, fieldNumber: 18) + if !_storage._eventDatetimeRangeKey.isEmpty { + try visitor.visitSingularStringField(value: _storage._eventDatetimeRangeKey, fieldNumber: 23) + } + if !_storage._textRewardsKey.isEmpty { + try visitor.visitSingularStringField(value: _storage._textRewardsKey, fieldNumber: 24) + } + if !_storage._iconRewards.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._iconRewards, fieldNumber: 25) + } + if !_storage._detailsLinkKey.isEmpty { + try visitor.visitSingularStringField(value: _storage._detailsLinkKey, fieldNumber: 26) } if _storage._clientEventStartTimeUtcMs != 0 { try visitor.visitSingularInt64Field(value: _storage._clientEventStartTimeUtcMs, fieldNumber: 100) @@ -218202,13 +223673,21 @@ extension GlobalEventTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf if _storage._eventVariantDescriptionStringKeys != rhs_storage._eventVariantDescriptionStringKeys {return false} if _storage._itemBagDescriptionVariantSelected != rhs_storage._itemBagDescriptionVariantSelected {return false} if _storage._eventVariantButtonStringKeys != rhs_storage._eventVariantButtonStringKeys {return false} - if _storage._isTicketEligibleForGifting != rhs_storage._isTicketEligibleForGifting {return false} - if _storage._ticket != rhs_storage._ticket {return false} - if _storage._ticketToGift != rhs_storage._ticketToGift {return false} - if _storage._obStringEvent1 != rhs_storage._obStringEvent1 {return false} - if _storage._ticketShopImageURL != rhs_storage._ticketShopImageURL {return false} - if _storage._isTicketEligibleForDiscountedRate != rhs_storage._isTicketEligibleForDiscountedRate {return false} - if _storage._discountedTicketPurchaseLimit != rhs_storage._discountedTicketPurchaseLimit {return false} + if _storage._giftable != rhs_storage._giftable {return false} + if _storage._ticketItem != rhs_storage._ticketItem {return false} + if _storage._giftItem != rhs_storage._giftItem {return false} + if _storage._eventTitleStringKey != rhs_storage._eventTitleStringKey {return false} + if _storage._eventBannerURL != rhs_storage._eventBannerURL {return false} + if _storage._requireOriginalTicketForGift != rhs_storage._requireOriginalTicketForGift {return false} + if _storage._giftPurchaseLimit != rhs_storage._giftPurchaseLimit {return false} + if _storage._conflictStoryQuestIds != rhs_storage._conflictStoryQuestIds {return false} + if _storage._displayV2Enabled != rhs_storage._displayV2Enabled {return false} + if _storage._backgroundImageURL != rhs_storage._backgroundImageURL {return false} + if _storage._titleImageURL != rhs_storage._titleImageURL {return false} + if _storage._eventDatetimeRangeKey != rhs_storage._eventDatetimeRangeKey {return false} + if _storage._textRewardsKey != rhs_storage._textRewardsKey {return false} + if _storage._iconRewards != rhs_storage._iconRewards {return false} + if _storage._detailsLinkKey != rhs_storage._detailsLinkKey {return false} if _storage._clientEventStartTimeUtcMs != rhs_storage._clientEventStartTimeUtcMs {return false} if _storage._clientEventEndTimeUtcMs != rhs_storage._clientEventEndTimeUtcMs {return false} return true @@ -218220,42 +223699,6 @@ extension GlobalEventTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf } } -extension GlobalMetrics: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GlobalMetrics" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "storage_metrics"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._storageMetrics) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._storageMetrics { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GlobalMetrics, rhs: GlobalMetrics) -> Bool { - if lhs._storageMetrics != rhs._storageMetrics {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension GlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -218323,22 +223766,22 @@ extension GlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl 67: .standard(proto: "idfa_settings"), 68: .standard(proto: "form_change_settings"), 69: .standard(proto: "iap_settings"), - 70: .standard(proto: "ob_new_global_setting"), + 70: .standard(proto: "power_up_pokestops_global_settings"), 72: .standard(proto: "upload_management_settings"), - 73: .standard(proto: "raid_logging_settings"), + 73: .standard(proto: "raid_player_stats_settings"), 74: .standard(proto: "postcard_collection_settings"), - 75: .standard(proto: "push_gateway_settings"), - 76: .standard(proto: "ob_new_global_setting_2"), - 77: .standard(proto: "ob_new_global_setting_4"), - 78: .standard(proto: "ob_new_global_setting_5"), - 79: .standard(proto: "ob_new_global_setting_6"), - 80: .standard(proto: "ob_new_global_setting_7"), - 81: .standard(proto: "ob_new_global_setting_8"), - 82: .standard(proto: "ob_new_global_setting_9"), - 83: .standard(proto: "ob_new_global_setting_10"), - 84: .standard(proto: "ob_new_global_setting_14"), - 87: .standard(proto: "ob_new_global_setting_13"), - 88: .standard(proto: "ob_new_global_setting_15"), + 75: .standard(proto: "push_gateway_global_settings"), + 76: .standard(proto: "submission_counter_settings"), + 77: .standard(proto: "ghost_wayspot_settings"), + 78: .standard(proto: "iap_disclosure_display_settings"), + 79: .standard(proto: "download_all_assets_settings"), + 80: .standard(proto: "ticket_gifting_feature_settings"), + 81: .standard(proto: "map_icons_settings"), + 82: .standard(proto: "settings_version_controller"), + 83: .standard(proto: "guest_account_settings"), + 84: .standard(proto: "temp_evo_settings"), + 87: .standard(proto: "saturday_settings"), + 88: .standard(proto: "party_play_settings"), ] fileprivate class _StorageClass { @@ -218406,22 +223849,22 @@ extension GlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl var _idfaSettings: IdfaSettingsProto? = nil var _formChangeSettings: FormChangeSettingsProto? = nil var _iapSettings: [StoreIapSettingsProto] = [] - var _obNewGlobalSetting: ObNewGlobalSetting? = nil + var _powerUpPokestopsGlobalSettings: PowerUpPokestopsGlobalSettingsProto? = nil var _uploadManagementSettings: UploadManagementSettings? = nil - var _raidLoggingSettings: RaidLoggingSettingsProto? = nil - var _postcardCollectionSettings: PostcardCollectionGlobalSettingsProto? = nil - var _pushGatewaySettings: PushGateWaySettingsProto? = nil - var _obNewGlobalSetting2: ObNewGlobalSetting2? = nil - var _obNewGlobalSetting4: ObNewGlobalSetting4? = nil - var _obNewGlobalSetting5: ObNewGlobalSetting5? = nil - var _obNewGlobalSetting6: ObNewGlobalSetting6? = nil - var _obNewGlobalSetting7: ObNewGlobalSetting7? = nil - var _obNewGlobalSetting8: ObNewGlobalSetting8? = nil - var _obNewGlobalSetting9: ObNewGlobalSetting9? = nil - var _obNewGlobalSetting10: ObNewGlobalSetting10? = nil - var _obNewGlobalSetting14: ObNewGlobalSetting14? = nil - var _obNewGlobalSetting13: ObNewGlobalSetting13? = nil - var _obNewGlobalSetting15: ObNewGlobalSetting15? = nil + var _raidPlayerStatsSettings: RaidPlayerStatsGlobalSettingsProto? = nil + var _postcardCollectionSettings: PostcardCollectionSettingsProto? = nil + var _pushGatewayGlobalSettings: PushGatewayGlobalSettingsProto? = nil + var _submissionCounterSettings: SubmissionCounterSettings? = nil + var _ghostWayspotSettings: GhostWayspotSettings? = nil + var _iapDisclosureDisplaySettings: IapDisclosureDisplaySettingsProto? = nil + var _downloadAllAssetsSettings: DownloadAllAssetsSettingsProto? = nil + var _ticketGiftingFeatureSettings: TicketGiftingFeatureSettingsProto? = nil + var _mapIconsSettings: MapIconsSettingsProto? = nil + var _settingsVersionController: SettingsVersionControllerProto? = nil + var _guestAccountSettings: GuestAccountSettingsProto? = nil + var _tempEvoSettings: TempEvoGlobalSettingsProto? = nil + var _saturdaySettings: SaturdaySettingsProto? = nil + var _partyPlaySettings: PartyPlayGlobalSettingsProto? = nil static let defaultInstance = _StorageClass() @@ -218492,22 +223935,22 @@ extension GlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl _idfaSettings = source._idfaSettings _formChangeSettings = source._formChangeSettings _iapSettings = source._iapSettings - _obNewGlobalSetting = source._obNewGlobalSetting + _powerUpPokestopsGlobalSettings = source._powerUpPokestopsGlobalSettings _uploadManagementSettings = source._uploadManagementSettings - _raidLoggingSettings = source._raidLoggingSettings + _raidPlayerStatsSettings = source._raidPlayerStatsSettings _postcardCollectionSettings = source._postcardCollectionSettings - _pushGatewaySettings = source._pushGatewaySettings - _obNewGlobalSetting2 = source._obNewGlobalSetting2 - _obNewGlobalSetting4 = source._obNewGlobalSetting4 - _obNewGlobalSetting5 = source._obNewGlobalSetting5 - _obNewGlobalSetting6 = source._obNewGlobalSetting6 - _obNewGlobalSetting7 = source._obNewGlobalSetting7 - _obNewGlobalSetting8 = source._obNewGlobalSetting8 - _obNewGlobalSetting9 = source._obNewGlobalSetting9 - _obNewGlobalSetting10 = source._obNewGlobalSetting10 - _obNewGlobalSetting14 = source._obNewGlobalSetting14 - _obNewGlobalSetting13 = source._obNewGlobalSetting13 - _obNewGlobalSetting15 = source._obNewGlobalSetting15 + _pushGatewayGlobalSettings = source._pushGatewayGlobalSettings + _submissionCounterSettings = source._submissionCounterSettings + _ghostWayspotSettings = source._ghostWayspotSettings + _iapDisclosureDisplaySettings = source._iapDisclosureDisplaySettings + _downloadAllAssetsSettings = source._downloadAllAssetsSettings + _ticketGiftingFeatureSettings = source._ticketGiftingFeatureSettings + _mapIconsSettings = source._mapIconsSettings + _settingsVersionController = source._settingsVersionController + _guestAccountSettings = source._guestAccountSettings + _tempEvoSettings = source._tempEvoSettings + _saturdaySettings = source._saturdaySettings + _partyPlaySettings = source._partyPlaySettings } } @@ -218590,22 +224033,22 @@ extension GlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl case 67: try { try decoder.decodeSingularMessageField(value: &_storage._idfaSettings) }() case 68: try { try decoder.decodeSingularMessageField(value: &_storage._formChangeSettings) }() case 69: try { try decoder.decodeRepeatedMessageField(value: &_storage._iapSettings) }() - case 70: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting) }() + case 70: try { try decoder.decodeSingularMessageField(value: &_storage._powerUpPokestopsGlobalSettings) }() case 72: try { try decoder.decodeSingularMessageField(value: &_storage._uploadManagementSettings) }() - case 73: try { try decoder.decodeSingularMessageField(value: &_storage._raidLoggingSettings) }() + case 73: try { try decoder.decodeSingularMessageField(value: &_storage._raidPlayerStatsSettings) }() case 74: try { try decoder.decodeSingularMessageField(value: &_storage._postcardCollectionSettings) }() - case 75: try { try decoder.decodeSingularMessageField(value: &_storage._pushGatewaySettings) }() - case 76: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting2) }() - case 77: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting4) }() - case 78: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting5) }() - case 79: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting6) }() - case 80: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting7) }() - case 81: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting8) }() - case 82: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting9) }() - case 83: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting10) }() - case 84: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting14) }() - case 87: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting13) }() - case 88: try { try decoder.decodeSingularMessageField(value: &_storage._obNewGlobalSetting15) }() + case 75: try { try decoder.decodeSingularMessageField(value: &_storage._pushGatewayGlobalSettings) }() + case 76: try { try decoder.decodeSingularMessageField(value: &_storage._submissionCounterSettings) }() + case 77: try { try decoder.decodeSingularMessageField(value: &_storage._ghostWayspotSettings) }() + case 78: try { try decoder.decodeSingularMessageField(value: &_storage._iapDisclosureDisplaySettings) }() + case 79: try { try decoder.decodeSingularMessageField(value: &_storage._downloadAllAssetsSettings) }() + case 80: try { try decoder.decodeSingularMessageField(value: &_storage._ticketGiftingFeatureSettings) }() + case 81: try { try decoder.decodeSingularMessageField(value: &_storage._mapIconsSettings) }() + case 82: try { try decoder.decodeSingularMessageField(value: &_storage._settingsVersionController) }() + case 83: try { try decoder.decodeSingularMessageField(value: &_storage._guestAccountSettings) }() + case 84: try { try decoder.decodeSingularMessageField(value: &_storage._tempEvoSettings) }() + case 87: try { try decoder.decodeSingularMessageField(value: &_storage._saturdaySettings) }() + case 88: try { try decoder.decodeSingularMessageField(value: &_storage._partyPlaySettings) }() default: break } } @@ -218810,52 +224253,52 @@ extension GlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl if !_storage._iapSettings.isEmpty { try visitor.visitRepeatedMessageField(value: _storage._iapSettings, fieldNumber: 69) } - try { if let v = _storage._obNewGlobalSetting { + try { if let v = _storage._powerUpPokestopsGlobalSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 70) } }() try { if let v = _storage._uploadManagementSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 72) } }() - try { if let v = _storage._raidLoggingSettings { + try { if let v = _storage._raidPlayerStatsSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 73) } }() try { if let v = _storage._postcardCollectionSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 74) } }() - try { if let v = _storage._pushGatewaySettings { + try { if let v = _storage._pushGatewayGlobalSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 75) } }() - try { if let v = _storage._obNewGlobalSetting2 { + try { if let v = _storage._submissionCounterSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 76) } }() - try { if let v = _storage._obNewGlobalSetting4 { + try { if let v = _storage._ghostWayspotSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 77) } }() - try { if let v = _storage._obNewGlobalSetting5 { + try { if let v = _storage._iapDisclosureDisplaySettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 78) } }() - try { if let v = _storage._obNewGlobalSetting6 { + try { if let v = _storage._downloadAllAssetsSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 79) } }() - try { if let v = _storage._obNewGlobalSetting7 { + try { if let v = _storage._ticketGiftingFeatureSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 80) } }() - try { if let v = _storage._obNewGlobalSetting8 { + try { if let v = _storage._mapIconsSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 81) } }() - try { if let v = _storage._obNewGlobalSetting9 { + try { if let v = _storage._settingsVersionController { try visitor.visitSingularMessageField(value: v, fieldNumber: 82) } }() - try { if let v = _storage._obNewGlobalSetting10 { + try { if let v = _storage._guestAccountSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 83) } }() - try { if let v = _storage._obNewGlobalSetting14 { + try { if let v = _storage._tempEvoSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 84) } }() - try { if let v = _storage._obNewGlobalSetting13 { + try { if let v = _storage._saturdaySettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 87) } }() - try { if let v = _storage._obNewGlobalSetting15 { + try { if let v = _storage._partyPlaySettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 88) } }() } @@ -218931,22 +224374,22 @@ extension GlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl if _storage._idfaSettings != rhs_storage._idfaSettings {return false} if _storage._formChangeSettings != rhs_storage._formChangeSettings {return false} if _storage._iapSettings != rhs_storage._iapSettings {return false} - if _storage._obNewGlobalSetting != rhs_storage._obNewGlobalSetting {return false} + if _storage._powerUpPokestopsGlobalSettings != rhs_storage._powerUpPokestopsGlobalSettings {return false} if _storage._uploadManagementSettings != rhs_storage._uploadManagementSettings {return false} - if _storage._raidLoggingSettings != rhs_storage._raidLoggingSettings {return false} + if _storage._raidPlayerStatsSettings != rhs_storage._raidPlayerStatsSettings {return false} if _storage._postcardCollectionSettings != rhs_storage._postcardCollectionSettings {return false} - if _storage._pushGatewaySettings != rhs_storage._pushGatewaySettings {return false} - if _storage._obNewGlobalSetting2 != rhs_storage._obNewGlobalSetting2 {return false} - if _storage._obNewGlobalSetting4 != rhs_storage._obNewGlobalSetting4 {return false} - if _storage._obNewGlobalSetting5 != rhs_storage._obNewGlobalSetting5 {return false} - if _storage._obNewGlobalSetting6 != rhs_storage._obNewGlobalSetting6 {return false} - if _storage._obNewGlobalSetting7 != rhs_storage._obNewGlobalSetting7 {return false} - if _storage._obNewGlobalSetting8 != rhs_storage._obNewGlobalSetting8 {return false} - if _storage._obNewGlobalSetting9 != rhs_storage._obNewGlobalSetting9 {return false} - if _storage._obNewGlobalSetting10 != rhs_storage._obNewGlobalSetting10 {return false} - if _storage._obNewGlobalSetting14 != rhs_storage._obNewGlobalSetting14 {return false} - if _storage._obNewGlobalSetting13 != rhs_storage._obNewGlobalSetting13 {return false} - if _storage._obNewGlobalSetting15 != rhs_storage._obNewGlobalSetting15 {return false} + if _storage._pushGatewayGlobalSettings != rhs_storage._pushGatewayGlobalSettings {return false} + if _storage._submissionCounterSettings != rhs_storage._submissionCounterSettings {return false} + if _storage._ghostWayspotSettings != rhs_storage._ghostWayspotSettings {return false} + if _storage._iapDisclosureDisplaySettings != rhs_storage._iapDisclosureDisplaySettings {return false} + if _storage._downloadAllAssetsSettings != rhs_storage._downloadAllAssetsSettings {return false} + if _storage._ticketGiftingFeatureSettings != rhs_storage._ticketGiftingFeatureSettings {return false} + if _storage._mapIconsSettings != rhs_storage._mapIconsSettings {return false} + if _storage._settingsVersionController != rhs_storage._settingsVersionController {return false} + if _storage._guestAccountSettings != rhs_storage._guestAccountSettings {return false} + if _storage._tempEvoSettings != rhs_storage._tempEvoSettings {return false} + if _storage._saturdaySettings != rhs_storage._saturdaySettings {return false} + if _storage._partyPlaySettings != rhs_storage._partyPlaySettings {return false} return true } if !storagesAreEqual {return false} @@ -218956,10 +224399,14 @@ extension GlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } -extension GmmSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GmmSettings" +extension GlowFxPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GlowFxPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "layer_rules"), + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "temp_evo_id"), + 3: .same(proto: "form"), + 4: .same(proto: "costume"), + 5: .same(proto: "gender"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -218968,21 +224415,41 @@ extension GmmSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.layerRules) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.tempEvoID) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.form) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.costume) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.gender) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.layerRules.isEmpty { - try visitor.visitRepeatedMessageField(value: self.layerRules, fieldNumber: 1) + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) + } + if self.tempEvoID != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: self.tempEvoID, fieldNumber: 2) + } + if self.form != .unset { + try visitor.visitSingularEnumField(value: self.form, fieldNumber: 3) + } + if self.costume != .unset { + try visitor.visitSingularEnumField(value: self.costume, fieldNumber: 4) + } + if self.gender != .unset { + try visitor.visitSingularEnumField(value: self.gender, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GmmSettings, rhs: GmmSettings) -> Bool { - if lhs.layerRules != rhs.layerRules {return false} + public static func ==(lhs: GlowFxPokemonProto, rhs: GlowFxPokemonProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.tempEvoID != rhs.tempEvoID {return false} + if lhs.form != rhs.form {return false} + if lhs.costume != rhs.costume {return false} + if lhs.gender != rhs.gender {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -219026,74 +224493,6 @@ extension GmtSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme } } -extension GoogleMethodProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GoogleMethodProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .standard(proto: "request_type_url"), - 3: .standard(proto: "request_streaming"), - 4: .standard(proto: "response_type_url"), - 5: .standard(proto: "response_streaming"), - 6: .same(proto: "options"), - 7: .same(proto: "syntax"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.requestTypeURL) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.requestStreaming) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.responseTypeURL) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.responseStreaming) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.options) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.syntax) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.requestTypeURL.isEmpty { - try visitor.visitSingularStringField(value: self.requestTypeURL, fieldNumber: 2) - } - if self.requestStreaming != false { - try visitor.visitSingularBoolField(value: self.requestStreaming, fieldNumber: 3) - } - if !self.responseTypeURL.isEmpty { - try visitor.visitSingularStringField(value: self.responseTypeURL, fieldNumber: 4) - } - if self.responseStreaming != false { - try visitor.visitSingularBoolField(value: self.responseStreaming, fieldNumber: 5) - } - if !self.options.isEmpty { - try visitor.visitRepeatedMessageField(value: self.options, fieldNumber: 6) - } - if self.syntax != .proto2 { - try visitor.visitSingularEnumField(value: self.syntax, fieldNumber: 7) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: GoogleMethodProto, rhs: GoogleMethodProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.requestTypeURL != rhs.requestTypeURL {return false} - if lhs.requestStreaming != rhs.requestStreaming {return false} - if lhs.responseTypeURL != rhs.responseTypeURL {return false} - if lhs.responseStreaming != rhs.responseStreaming {return false} - if lhs.options != rhs.options {return false} - if lhs.syntax != rhs.syntax {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension GoogleToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GoogleToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -219200,11 +224599,10 @@ extension GpsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme } } -extension GrapeshotAuthenticationDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GrapeshotAuthenticationDataProto" +extension GraphicsCapabilitiesSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GraphicsCapabilitiesSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "authorization"), - 2: .same(proto: "date"), + 1: .standard(proto: "graphics_capabilities_telemetry_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -219213,38 +224611,30 @@ extension GrapeshotAuthenticationDataProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.authorization) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.date) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.graphicsCapabilitiesTelemetryEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.authorization.isEmpty { - try visitor.visitSingularStringField(value: self.authorization, fieldNumber: 1) - } - if !self.date.isEmpty { - try visitor.visitSingularStringField(value: self.date, fieldNumber: 2) + if self.graphicsCapabilitiesTelemetryEnabled != false { + try visitor.visitSingularBoolField(value: self.graphicsCapabilitiesTelemetryEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GrapeshotAuthenticationDataProto, rhs: GrapeshotAuthenticationDataProto) -> Bool { - if lhs.authorization != rhs.authorization {return false} - if lhs.date != rhs.date {return false} + public static func ==(lhs: GraphicsCapabilitiesSettingsProto, rhs: GraphicsCapabilitiesSettingsProto) -> Bool { + if lhs.graphicsCapabilitiesTelemetryEnabled != rhs.graphicsCapabilitiesTelemetryEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GrapeshotChunkDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GrapeshotChunkDataProto" +extension GraphicsCapabilitiesTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GraphicsCapabilitiesTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "chunk_file_path"), - 2: .standard(proto: "chunk_number"), - 3: .standard(proto: "upload_authentication"), - 4: .standard(proto: "delete_authentication"), + 1: .standard(proto: "supports_compute_shaders"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -219253,51 +224643,32 @@ extension GrapeshotChunkDataProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.chunkFilePath) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.chunkNumber) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._uploadAuthentication) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._deleteAuthentication) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.supportsComputeShaders) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.chunkFilePath.isEmpty { - try visitor.visitSingularStringField(value: self.chunkFilePath, fieldNumber: 1) + if self.supportsComputeShaders != false { + try visitor.visitSingularBoolField(value: self.supportsComputeShaders, fieldNumber: 1) } - if self.chunkNumber != 0 { - try visitor.visitSingularUInt32Field(value: self.chunkNumber, fieldNumber: 2) - } - try { if let v = self._uploadAuthentication { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._deleteAuthentication { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GrapeshotChunkDataProto, rhs: GrapeshotChunkDataProto) -> Bool { - if lhs.chunkFilePath != rhs.chunkFilePath {return false} - if lhs.chunkNumber != rhs.chunkNumber {return false} - if lhs._uploadAuthentication != rhs._uploadAuthentication {return false} - if lhs._deleteAuthentication != rhs._deleteAuthentication {return false} + public static func ==(lhs: GraphicsCapabilitiesTelemetry, rhs: GraphicsCapabilitiesTelemetry) -> Bool { + if lhs.supportsComputeShaders != rhs.supportsComputeShaders {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GrapeshotComposeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GrapeshotComposeDataProto" +extension GroupChallengeCriteriaProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GroupChallengeCriteriaProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "target_file_path"), - 2: .same(proto: "authentication"), - 3: .same(proto: "hash"), + 1: .standard(proto: "challenge_type"), + 2: .standard(proto: "challenge_goal"), + 3: .standard(proto: "ignore_global_goal"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -219306,9 +224677,9 @@ extension GrapeshotComposeDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.targetFilePath) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._authentication) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.hash) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.challengeType) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._challengeGoal) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.ignoreGlobalGoal) }() default: break } } @@ -219319,34 +224690,39 @@ extension GrapeshotComposeDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.targetFilePath.isEmpty { - try visitor.visitSingularStringField(value: self.targetFilePath, fieldNumber: 1) + if self.challengeType != .questUnset { + try visitor.visitSingularEnumField(value: self.challengeType, fieldNumber: 1) } - try { if let v = self._authentication { + try { if let v = self._challengeGoal { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if !self.hash.isEmpty { - try visitor.visitSingularStringField(value: self.hash, fieldNumber: 3) + if self.ignoreGlobalGoal != false { + try visitor.visitSingularBoolField(value: self.ignoreGlobalGoal, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GrapeshotComposeDataProto, rhs: GrapeshotComposeDataProto) -> Bool { - if lhs.targetFilePath != rhs.targetFilePath {return false} - if lhs._authentication != rhs._authentication {return false} - if lhs.hash != rhs.hash {return false} + public static func ==(lhs: GroupChallengeCriteriaProto, rhs: GroupChallengeCriteriaProto) -> Bool { + if lhs.challengeType != rhs.challengeType {return false} + if lhs._challengeGoal != rhs._challengeGoal {return false} + if lhs.ignoreGlobalGoal != rhs.ignoreGlobalGoal {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GrapeshotUploadingDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GrapeshotUploadingDataProto" +extension GroupChallengeDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GroupChallengeDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "chunk_data"), - 2: .standard(proto: "compose_data"), - 3: .standard(proto: "gcs_bucket"), - 4: .standard(proto: "number_of_chunks"), + 1: .same(proto: "title"), + 2: .standard(proto: "boost_rewards"), + 3: .standard(proto: "custom_challenge_type_key"), + 4: .standard(proto: "custom_work_together_key"), + 5: .standard(proto: "custom_bonus_modal_title_key"), + 6: .standard(proto: "custom_bonus_modal_description_key"), + 7: .standard(proto: "custom_player_score_key_none"), + 8: .standard(proto: "custom_player_score_key_singular"), + 9: .standard(proto: "custom_player_score_key_plural"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -219355,51 +224731,72 @@ extension GrapeshotUploadingDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.chunkData) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._composeData) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.gcsBucket) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.numberOfChunks) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.boostRewards) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.customChallengeTypeKey) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.customWorkTogetherKey) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.customBonusModalTitleKey) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.customBonusModalDescriptionKey) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.customPlayerScoreKeyNone) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.customPlayerScoreKeySingular) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.customPlayerScoreKeyPlural) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.chunkData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.chunkData, fieldNumber: 1) + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) } - try { if let v = self._composeData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.gcsBucket.isEmpty { - try visitor.visitSingularStringField(value: self.gcsBucket, fieldNumber: 3) + if !self.boostRewards.isEmpty { + try visitor.visitRepeatedMessageField(value: self.boostRewards, fieldNumber: 2) } - if self.numberOfChunks != 0 { - try visitor.visitSingularInt32Field(value: self.numberOfChunks, fieldNumber: 4) + if !self.customChallengeTypeKey.isEmpty { + try visitor.visitSingularStringField(value: self.customChallengeTypeKey, fieldNumber: 3) + } + if !self.customWorkTogetherKey.isEmpty { + try visitor.visitSingularStringField(value: self.customWorkTogetherKey, fieldNumber: 4) + } + if !self.customBonusModalTitleKey.isEmpty { + try visitor.visitSingularStringField(value: self.customBonusModalTitleKey, fieldNumber: 5) + } + if !self.customBonusModalDescriptionKey.isEmpty { + try visitor.visitSingularStringField(value: self.customBonusModalDescriptionKey, fieldNumber: 6) + } + if !self.customPlayerScoreKeyNone.isEmpty { + try visitor.visitSingularStringField(value: self.customPlayerScoreKeyNone, fieldNumber: 7) + } + if !self.customPlayerScoreKeySingular.isEmpty { + try visitor.visitSingularStringField(value: self.customPlayerScoreKeySingular, fieldNumber: 8) + } + if !self.customPlayerScoreKeyPlural.isEmpty { + try visitor.visitSingularStringField(value: self.customPlayerScoreKeyPlural, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GrapeshotUploadingDataProto, rhs: GrapeshotUploadingDataProto) -> Bool { - if lhs.chunkData != rhs.chunkData {return false} - if lhs._composeData != rhs._composeData {return false} - if lhs.gcsBucket != rhs.gcsBucket {return false} - if lhs.numberOfChunks != rhs.numberOfChunks {return false} + public static func ==(lhs: GroupChallengeDisplayProto, rhs: GroupChallengeDisplayProto) -> Bool { + if lhs.title != rhs.title {return false} + if lhs.boostRewards != rhs.boostRewards {return false} + if lhs.customChallengeTypeKey != rhs.customChallengeTypeKey {return false} + if lhs.customWorkTogetherKey != rhs.customWorkTogetherKey {return false} + if lhs.customBonusModalTitleKey != rhs.customBonusModalTitleKey {return false} + if lhs.customBonusModalDescriptionKey != rhs.customBonusModalDescriptionKey {return false} + if lhs.customPlayerScoreKeyNone != rhs.customPlayerScoreKeyNone {return false} + if lhs.customPlayerScoreKeySingular != rhs.customPlayerScoreKeySingular {return false} + if lhs.customPlayerScoreKeyPlural != rhs.customPlayerScoreKeyPlural {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GroupChallengeCriteriaProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GroupChallengeCriteriaProto" +extension GuestAccountGameSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GuestAccountGameSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_type"), - 2: .standard(proto: "challenge_goal"), - 3: .standard(proto: "ob_bool"), + 1: .standard(proto: "max_num_pokemon_caught_for_popup"), + 2: .standard(proto: "max_player_level_gate"), + 3: .standard(proto: "sign_up_rewards"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -219408,45 +224805,40 @@ extension GroupChallengeCriteriaProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.challengeType) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._challengeGoal) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.maxNumPokemonCaughtForPopup) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxPlayerLevelGate) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.signUpRewards) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.challengeType != .questUnset { - try visitor.visitSingularEnumField(value: self.challengeType, fieldNumber: 1) + if self.maxNumPokemonCaughtForPopup != 0 { + try visitor.visitSingularInt32Field(value: self.maxNumPokemonCaughtForPopup, fieldNumber: 1) } - try { if let v = self._challengeGoal { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 3) + if self.maxPlayerLevelGate != 0 { + try visitor.visitSingularInt32Field(value: self.maxPlayerLevelGate, fieldNumber: 2) + } + if !self.signUpRewards.isEmpty { + try visitor.visitRepeatedMessageField(value: self.signUpRewards, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GroupChallengeCriteriaProto, rhs: GroupChallengeCriteriaProto) -> Bool { - if lhs.challengeType != rhs.challengeType {return false} - if lhs._challengeGoal != rhs._challengeGoal {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: GuestAccountGameSettingsProto, rhs: GuestAccountGameSettingsProto) -> Bool { + if lhs.maxNumPokemonCaughtForPopup != rhs.maxNumPokemonCaughtForPopup {return false} + if lhs.maxPlayerLevelGate != rhs.maxPlayerLevelGate {return false} + if lhs.signUpRewards != rhs.signUpRewards {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension GroupChallengeDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".GroupChallengeDisplayProto" +extension GuestAccountSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".GuestAccountSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "title"), - 2: .standard(proto: "boost_rewards"), + 1: .same(proto: "enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -219455,26 +224847,21 @@ extension GroupChallengeDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.boostRewards) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.title.isEmpty { - try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) - } - if !self.boostRewards.isEmpty { - try visitor.visitPackedEnumField(value: self.boostRewards, fieldNumber: 2) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: GroupChallengeDisplayProto, rhs: GroupChallengeDisplayProto) -> Bool { - if lhs.title != rhs.title {return false} - if lhs.boostRewards != rhs.boostRewards {return false} + public static func ==(lhs: GuestAccountSettingsProto, rhs: GuestAccountSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -219576,6 +224963,7 @@ extension GuiSearchSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI 3: .standard(proto: "max_number_recent_searches"), 4: .standard(proto: "max_number_favorite_searches"), 5: .standard(proto: "max_query_length"), + 6: .standard(proto: "show_all_button_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -219589,6 +224977,7 @@ extension GuiSearchSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxNumberRecentSearches) }() case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxNumberFavoriteSearches) }() case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxQueryLength) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.showAllButtonEnabled) }() default: break } } @@ -219610,6 +224999,9 @@ extension GuiSearchSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if self.maxQueryLength != 0 { try visitor.visitSingularInt32Field(value: self.maxQueryLength, fieldNumber: 5) } + if self.showAllButtonEnabled != false { + try visitor.visitSingularBoolField(value: self.showAllButtonEnabled, fieldNumber: 6) + } try unknownFields.traverse(visitor: &visitor) } @@ -219619,38 +225011,7 @@ extension GuiSearchSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if lhs.maxNumberRecentSearches != rhs.maxNumberRecentSearches {return false} if lhs.maxNumberFavoriteSearches != rhs.maxNumberFavoriteSearches {return false} if lhs.maxQueryLength != rhs.maxQueryLength {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension Gym: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Gym" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gym_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.gymID.isEmpty { - try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Gym, rhs: Gym) -> Bool { - if lhs.gymID != rhs.gymID {return false} + if lhs.showAllButtonEnabled != rhs.showAllButtonEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -220951,7 +226312,7 @@ extension GymGetInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen extension GymLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".GymLevelSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "required_experience"), + 1: .standard(proto: "required_exp"), 2: .standard(proto: "leader_slots"), 3: .standard(proto: "trainer_slots"), 4: .standard(proto: "search_roll_bonus"), @@ -220963,7 +226324,7 @@ extension GymLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.requiredExperience) }() + case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.requiredExp) }() case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.leaderSlots) }() case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.trainerSlots) }() case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.searchRollBonus) }() @@ -220973,8 +226334,8 @@ extension GymLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } public func traverse(visitor: inout V) throws { - if !self.requiredExperience.isEmpty { - try visitor.visitPackedInt32Field(value: self.requiredExperience, fieldNumber: 1) + if !self.requiredExp.isEmpty { + try visitor.visitPackedInt32Field(value: self.requiredExp, fieldNumber: 1) } if !self.leaderSlots.isEmpty { try visitor.visitPackedInt32Field(value: self.leaderSlots, fieldNumber: 2) @@ -220989,7 +226350,7 @@ extension GymLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } public static func ==(lhs: GymLevelSettingsProto, rhs: GymLevelSettingsProto) -> Bool { - if lhs.requiredExperience != rhs.requiredExperience {return false} + if lhs.requiredExp != rhs.requiredExp {return false} if lhs.leaderSlots != rhs.leaderSlots {return false} if lhs.trainerSlots != rhs.trainerSlots {return false} if lhs.searchRollBonus != rhs.searchRollBonus {return false} @@ -221417,6 +226778,38 @@ extension HappeningNowSectionProto: SwiftProtobuf.Message, SwiftProtobuf._Messag } } +extension HapticsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".HapticsSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "advanced_haptics_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.advancedHapticsEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.advancedHapticsEnabled != false { + try visitor.visitSingularBoolField(value: self.advancedHapticsEnabled, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: HapticsSettingsProto, rhs: HapticsSettingsProto) -> Bool { + if lhs.advancedHapticsEnabled != rhs.advancedHapticsEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension HashedKeyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".HashedKeyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -221573,6 +226966,7 @@ extension HoloInventoryItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI 32: .standard(proto: "route_creations"), 33: .standard(proto: "neutral_avatar"), 34: .standard(proto: "neutral_avatar_item"), + 35: .standard(proto: "applied_bonuses"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -222010,6 +227404,19 @@ extension HoloInventoryItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI self.type = .neutralAvatarItem(v) } }() + case 35: try { + var v: AppliedBonusesProto? + var hadOneofValue = false + if let current = self.type { + hadOneofValue = true + if case .appliedBonuses(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.type = .appliedBonuses(v) + } + }() default: break } } @@ -222153,6 +227560,10 @@ extension HoloInventoryItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI guard case .neutralAvatarItem(let v)? = self.type else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 34) }() + case .appliedBonuses?: try { + guard case .appliedBonuses(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 35) + }() case nil: break } try unknownFields.traverse(visitor: &visitor) @@ -222203,6 +227614,7 @@ extension HoloInventoryKeyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm 34: .standard(proto: "route_creation"), 35: .standard(proto: "neutral_avatar"), 37: .standard(proto: "neutral_avatar_item_template_id"), + 38: .standard(proto: "applied_bonuses"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -222413,7 +227825,7 @@ extension HoloInventoryKeyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm }() case 27: try { var v: UInt64? - try decoder.decodeSingularFixed64Field(value: &v) + try decoder.decodeSingularUInt64Field(value: &v) if let v = v { if self.type != nil {try decoder.handleConflictingOneOf()} self.type = .fakeData(v) @@ -222491,6 +227903,14 @@ extension HoloInventoryKeyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm self.type = .neutralAvatarItemTemplateID(v) } }() + case 38: try { + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) + if let v = v { + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .appliedBonuses(v) + } + }() default: break } } @@ -222604,7 +228024,7 @@ extension HoloInventoryKeyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm }() case .fakeData?: try { guard case .fakeData(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularFixed64Field(value: v, fieldNumber: 27) + try visitor.visitSingularUInt64Field(value: v, fieldNumber: 27) }() case .pokedexCategory?: try { guard case .pokedexCategory(let v)? = self.type else { preconditionFailure() } @@ -222642,6 +228062,10 @@ extension HoloInventoryKeyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm guard case .neutralAvatarItemTemplateID(let v)? = self.type else { preconditionFailure() } try visitor.visitSingularStringField(value: v, fieldNumber: 37) }() + case .appliedBonuses?: try { + guard case .appliedBonuses(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularBoolField(value: v, fieldNumber: 38) + }() case nil: break } try unknownFields.traverse(visitor: &visitor) @@ -222768,14 +228192,16 @@ extension HoloholoClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf 114: .standard(proto: "route_discovery_telemetry"), 115: .standard(proto: "route_play_tappable_spawned_telemetry"), 116: .standard(proto: "route_error_telemetry"), + 117: .standard(proto: "field_effect_telemetry"), + 118: .standard(proto: "graphics_capabilities_telemetry"), 1001: .standard(proto: "server_data"), 1002: .standard(proto: "common_filters"), ] fileprivate class _StorageClass { var _telemetryData: HoloholoClientTelemetryOmniProto.OneOf_TelemetryData? - var _serverData: TelemetryServerData? = nil - var _commonFilters: TelemetryCommonFilterProto? = nil + var _serverData: PlatformServerData? = nil + var _commonFilters: PlatformCommonFilterProto? = nil static let defaultInstance = _StorageClass() @@ -224130,7 +229556,7 @@ extension HoloholoClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf } }() case 108: try { - var v: TimeToPlayableTelemetry? + var v: TimeToPlayable? var hadOneofValue = false if let current = _storage._telemetryData { hadOneofValue = true @@ -224246,6 +229672,32 @@ extension HoloholoClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf _storage._telemetryData = .routeErrorTelemetry(v) } }() + case 117: try { + var v: FieldEffectTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .fieldEffectTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .fieldEffectTelemetry(v) + } + }() + case 118: try { + var v: GraphicsCapabilitiesTelemetry? + var hadOneofValue = false + if let current = _storage._telemetryData { + hadOneofValue = true + if case .graphicsCapabilitiesTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryData = .graphicsCapabilitiesTelemetry(v) + } + }() case 1001: try { try decoder.decodeSingularMessageField(value: &_storage._serverData) }() case 1002: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() default: break @@ -224255,492 +229707,5961 @@ extension HoloholoClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch _storage._telemetryData { + case .bootTime?: try { + guard case .bootTime(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .frameRate?: try { + guard case .frameRate(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .genericClickTelemetry?: try { + guard case .genericClickTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .mapEventsTelemetry?: try { + guard case .mapEventsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .spinPokestopTelemetry?: try { + guard case .spinPokestopTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .profilePageTelemetry?: try { + guard case .profilePageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + }() + case .shoppingPageTelemetry?: try { + guard case .shoppingPageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + }() + case .encounterPokemonTelemetry?: try { + guard case .encounterPokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + }() + case .catchPokemonTelemetry?: try { + guard case .catchPokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + }() + case .deployPokemonTelemetry?: try { + guard case .deployPokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + }() + case .feedPokemonTelemetry?: try { + guard case .feedPokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + }() + case .evolvePokemonTelemetry?: try { + guard case .evolvePokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + }() + case .releasePokemonTelemetry?: try { + guard case .releasePokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + }() + case .nicknamePokemonTelemetry?: try { + guard case .nicknamePokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 14) + }() + case .newsPageTelemetry?: try { + guard case .newsPageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + }() + case .itemTelemetry?: try { + guard case .itemTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + }() + case .battlePartyTelemetry?: try { + guard case .battlePartyTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 17) + }() + case .passcodeRedeemTelemetry?: try { + guard case .passcodeRedeemTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 18) + }() + case .linkLoginTelemetry?: try { + guard case .linkLoginTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 19) + }() + case .raidTelemetry?: try { + guard case .raidTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 20) + }() + case .pushNotificationTelemetry?: try { + guard case .pushNotificationTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 21) + }() + case .avatarCustomizationTelemetry?: try { + guard case .avatarCustomizationTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 22) + }() + case .readPointOfInterestDescriptionTelemetry?: try { + guard case .readPointOfInterestDescriptionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 23) + }() + case .webTelemetry?: try { + guard case .webTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 24) + }() + case .changeArTelemetry?: try { + guard case .changeArTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 25) + }() + case .weatherDetailClickTelemetry?: try { + guard case .weatherDetailClickTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 26) + }() + case .userIssueWeatherReport?: try { + guard case .userIssueWeatherReport(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 27) + }() + case .pokemonInventoryTelemetry?: try { + guard case .pokemonInventoryTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 28) + }() + case .socialTelemetry?: try { + guard case .socialTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 29) + }() + case .checkEncounterInfoTelemetry?: try { + guard case .checkEncounterInfoTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 30) + }() + case .pokemonGoPlusTelemetry?: try { + guard case .pokemonGoPlusTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 31) + }() + case .rpcTimingTelemetry?: try { + guard case .rpcTimingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 32) + }() + case .socialGiftCountTelemetry?: try { + guard case .socialGiftCountTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 33) + }() + case .assetBundleTelemetry?: try { + guard case .assetBundleTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 34) + }() + case .assetPoiDownloadTelemetry?: try { + guard case .assetPoiDownloadTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 35) + }() + case .assetStreamDownloadTelemetry?: try { + guard case .assetStreamDownloadTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 36) + }() + case .assetStreamCacheCulledTelemetry?: try { + guard case .assetStreamCacheCulledTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 37) + }() + case .rpcSocketTimingTelemetry?: try { + guard case .rpcSocketTimingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 38) + }() + case .permissionsFlow?: try { + guard case .permissionsFlow(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 39) + }() + case .deviceServiceToggle?: try { + guard case .deviceServiceToggle(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 40) + }() + case .bootTelemetry?: try { + guard case .bootTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 41) + }() + case .userAttributes?: try { + guard case .userAttributes(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 42) + }() + case .onboardingTelemetry?: try { + guard case .onboardingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 43) + }() + case .loginActionTelemetry?: try { + guard case .loginActionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 44) + }() + case .arPhotoSessionTelemetry?: try { + guard case .arPhotoSessionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 45) + }() + case .invasionTelemetry?: try { + guard case .invasionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 46) + }() + case .combatMinigameTelemetry?: try { + guard case .combatMinigameTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 47) + }() + case .leavePointOfInterestTelemetry?: try { + guard case .leavePointOfInterestTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 48) + }() + case .viewPointOfInterestImageTelemetry?: try { + guard case .viewPointOfInterestImageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 49) + }() + case .combatHubEntranceTelemetry?: try { + guard case .combatHubEntranceTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 50) + }() + case .leaveInteractionRangeTelemetry?: try { + guard case .leaveInteractionRangeTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 51) + }() + case .shoppingPageClickTelemetry?: try { + guard case .shoppingPageClickTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 52) + }() + case .shoppingPageScrollTelemetry?: try { + guard case .shoppingPageScrollTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 53) + }() + case .deviceSpecificationsTelemetry?: try { + guard case .deviceSpecificationsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 54) + }() + case .screenResolutionTelemetry?: try { + guard case .screenResolutionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 55) + }() + case .arBuddyMultiplayerSessionTelemetry?: try { + guard case .arBuddyMultiplayerSessionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 56) + }() + case .buddyMultiplayerConnectionFailedTelemetry?: try { + guard case .buddyMultiplayerConnectionFailedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 57) + }() + case .buddyMultiplayerConnectionSucceededTelemetry?: try { + guard case .buddyMultiplayerConnectionSucceededTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 58) + }() + case .buddyMultiplayerTimeToGetSessionTelemetry?: try { + guard case .buddyMultiplayerTimeToGetSessionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 59) + }() + case .playerHudNotificationClickTelemetry?: try { + guard case .playerHudNotificationClickTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 60) + }() + case .monodepthDownloadTelemetry?: try { + guard case .monodepthDownloadTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 61) + }() + case .arMappingTelemetry?: try { + guard case .arMappingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 62) + }() + case .remoteRaidTelemetry?: try { + guard case .remoteRaidTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 63) + }() + case .deviceOsTelemetry?: try { + guard case .deviceOsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 64) + }() + case .nianticProfileTelemetry?: try { + guard case .nianticProfileTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 65) + }() + case .changeOnlineStatusTelemetry?: try { + guard case .changeOnlineStatusTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 66) + }() + case .deepLinkingTelemetry?: try { + guard case .deepLinkingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 67) + }() + case .arMappingSessionTelemetry?: try { + guard case .arMappingSessionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 68) + }() + case .pokemonHomeTelemetry?: try { + guard case .pokemonHomeTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 69) + }() + case .pokemonSearchTelemetry?: try { + guard case .pokemonSearchTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 70) + }() + case .imageGalleryTelemetry?: try { + guard case .imageGalleryTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 71) + }() + case .playerShownLevelUpShareScreenTelemetry?: try { + guard case .playerShownLevelUpShareScreenTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 72) + }() + case .referralTelemetry?: try { + guard case .referralTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 73) + }() + case .uploadManagementTelemetry?: try { + guard case .uploadManagementTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 74) + }() + case .wayspotEditTelemetry?: try { + guard case .wayspotEditTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 75) + }() + case .clientSettingsTelemetry?: try { + guard case .clientSettingsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 76) + }() + case .pokedexCategorySelectedTelemetry?: try { + guard case .pokedexCategorySelectedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 77) + }() + case .percentScrolledTelemetry?: try { + guard case .percentScrolledTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 78) + }() + case .addressBookImportTelemetry?: try { + guard case .addressBookImportTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 79) + }() + case .missingTranslationTelemetry?: try { + guard case .missingTranslationTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 80) + }() + case .eggHatchTelemetry?: try { + guard case .eggHatchTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 81) + }() + case .pushGatewayTelemetry?: try { + guard case .pushGatewayTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 82) + }() + case .pushGatewayUpstreamErrorTelemetry?: try { + guard case .pushGatewayUpstreamErrorTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 83) + }() + case .usernameSuggestionTelemetry?: try { + guard case .usernameSuggestionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 84) + }() + case .tutorialTelemetry?: try { + guard case .tutorialTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 85) + }() + case .postcardBookTelemetry?: try { + guard case .postcardBookTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 86) + }() + case .socialInboxTelemetry?: try { + guard case .socialInboxTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 87) + }() + case .homeWidgetTelemetry?: try { + guard case .homeWidgetTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 93) + }() + case .pokemonLoadDelay?: try { + guard case .pokemonLoadDelay(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 94) + }() + case .accountDeletionInitiatedTelemetry?: try { + guard case .accountDeletionInitiatedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 95) + }() + case .fortUpdateLatencyTelemetry?: try { + guard case .fortUpdateLatencyTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 96) + }() + case .getMapObjectsTriggerTelemetry?: try { + guard case .getMapObjectsTriggerTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 97) + }() + case .updateCombatResponseTimeTelemetry?: try { + guard case .updateCombatResponseTimeTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 98) + }() + case .openCampfireMapTelemetry?: try { + guard case .openCampfireMapTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 99) + }() + case .downloadAllAssetsTelemetry?: try { + guard case .downloadAllAssetsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 100) + }() + case .dailyAdventureIncenseTelemetry?: try { + guard case .dailyAdventureIncenseTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 101) + }() + case .clientToggleSettingsTelemetry?: try { + guard case .clientToggleSettingsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 102) + }() + case .notificationPermissionsTelemetry?: try { + guard case .notificationPermissionsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 103) + }() + case .assetRefreshTelemetry?: try { + guard case .assetRefreshTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 104) + }() + case .catchCardTelemetry?: try { + guard case .catchCardTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 105) + }() + case .followerPokemonTappedTelemetry?: try { + guard case .followerPokemonTappedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 106) + }() + case .sizeRecordBreakTelemetry?: try { + guard case .sizeRecordBreakTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 107) + }() + case .timeToPlayableTelemetry?: try { + guard case .timeToPlayableTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 108) + }() + case .languageTelemetry?: try { + guard case .languageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 109) + }() + case .questListTelemetry?: try { + guard case .questListTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 110) + }() + case .mapRighthandIconsTelemetry?: try { + guard case .mapRighthandIconsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 111) + }() + case .showcaseDetailsTelemetry?: try { + guard case .showcaseDetailsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 112) + }() + case .showcaseRewardsTelemetry?: try { + guard case .showcaseRewardsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 113) + }() + case .routeDiscoveryTelemetry?: try { + guard case .routeDiscoveryTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 114) + }() + case .routePlayTappableSpawnedTelemetry?: try { + guard case .routePlayTappableSpawnedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 115) + }() + case .routeErrorTelemetry?: try { + guard case .routeErrorTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 116) + }() + case .fieldEffectTelemetry?: try { + guard case .fieldEffectTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 117) + }() + case .graphicsCapabilitiesTelemetry?: try { + guard case .graphicsCapabilitiesTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 118) + }() + case nil: break + } + try { if let v = _storage._serverData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) + } }() + try { if let v = _storage._commonFilters { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) + } }() + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: HoloholoClientTelemetryOmniProto, rhs: HoloholoClientTelemetryOmniProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._telemetryData != rhs_storage._telemetryData {return false} + if _storage._serverData != rhs_storage._serverData {return false} + if _storage._commonFilters != rhs_storage._commonFilters {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension HomeWidgetSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".HomeWidgetSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "eggs_widget_rewards_enabled"), + 2: .standard(proto: "eggs_widget_rewards"), + 3: .standard(proto: "buddy_widget_rewards_enabled"), + 4: .standard(proto: "buddy_widget_rewards"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.eggsWidgetRewardsEnabled) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._eggsWidgetRewards) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.buddyWidgetRewardsEnabled) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._buddyWidgetRewards) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.eggsWidgetRewardsEnabled != false { + try visitor.visitSingularBoolField(value: self.eggsWidgetRewardsEnabled, fieldNumber: 1) + } + try { if let v = self._eggsWidgetRewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.buddyWidgetRewardsEnabled != false { + try visitor.visitSingularBoolField(value: self.buddyWidgetRewardsEnabled, fieldNumber: 3) + } + try { if let v = self._buddyWidgetRewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: HomeWidgetSettingsProto, rhs: HomeWidgetSettingsProto) -> Bool { + if lhs.eggsWidgetRewardsEnabled != rhs.eggsWidgetRewardsEnabled {return false} + if lhs._eggsWidgetRewards != rhs._eggsWidgetRewards {return false} + if lhs.buddyWidgetRewardsEnabled != rhs.buddyWidgetRewardsEnabled {return false} + if lhs._buddyWidgetRewards != rhs._buddyWidgetRewards {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension HomeWidgetSettingsProto.BuddyWidgetRewards: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = HomeWidgetSettingsProto.protoMessageName + ".BuddyWidgetRewards" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "affection_distance_multiplier"), + 2: .standard(proto: "bonus_candies"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFloatField(value: &self.affectionDistanceMultiplier) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.bonusCandies) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.affectionDistanceMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.affectionDistanceMultiplier, fieldNumber: 1) + } + if self.bonusCandies != 0 { + try visitor.visitSingularInt32Field(value: self.bonusCandies, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: HomeWidgetSettingsProto.BuddyWidgetRewards, rhs: HomeWidgetSettingsProto.BuddyWidgetRewards) -> Bool { + if lhs.affectionDistanceMultiplier != rhs.affectionDistanceMultiplier {return false} + if lhs.bonusCandies != rhs.bonusCandies {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension HomeWidgetSettingsProto.EggsWidgetRewards: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = HomeWidgetSettingsProto.protoMessageName + ".EggsWidgetRewards" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "distance_multiplier"), + 2: .standard(proto: "reward_hatch_count"), + 3: .standard(proto: "counter_attribute_key"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFloatField(value: &self.distanceMultiplier) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rewardHatchCount) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.counterAttributeKey) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.distanceMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.distanceMultiplier, fieldNumber: 1) + } + if self.rewardHatchCount != 0 { + try visitor.visitSingularInt32Field(value: self.rewardHatchCount, fieldNumber: 2) + } + if !self.counterAttributeKey.isEmpty { + try visitor.visitSingularStringField(value: self.counterAttributeKey, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: HomeWidgetSettingsProto.EggsWidgetRewards, rhs: HomeWidgetSettingsProto.EggsWidgetRewards) -> Bool { + if lhs.distanceMultiplier != rhs.distanceMultiplier {return false} + if lhs.rewardHatchCount != rhs.rewardHatchCount {return false} + if lhs.counterAttributeKey != rhs.counterAttributeKey {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension HomeWidgetTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".HomeWidgetTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "widget_type"), + 2: .same(proto: "status"), + 3: .same(proto: "platform"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.widgetType) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.platform) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.widgetType != .unset { + try visitor.visitSingularEnumField(value: self.widgetType, fieldNumber: 1) + } + if self.status != .unused { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) + } + if self.platform != .unset { + try visitor.visitSingularEnumField(value: self.platform, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: HomeWidgetTelemetry, rhs: HomeWidgetTelemetry) -> Bool { + if lhs.widgetType != rhs.widgetType {return false} + if lhs.status != rhs.status {return false} + if lhs.platform != rhs.platform {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension HomeWidgetTelemetry.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNUSED"), + 1: .same(proto: "IN_USE"), + 2: .same(proto: "PAUSED"), + ] +} + +extension HyperlocalExperimentClientProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".HyperlocalExperimentClientProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "experiment_id"), + 2: .standard(proto: "start_ms"), + 3: .standard(proto: "end_ms"), + 4: .standard(proto: "lat_degrees"), + 5: .standard(proto: "lng_degrees"), + 6: .standard(proto: "event_radius_m"), + 7: .standard(proto: "challenge_bonus_key"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.experimentID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.startMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.endMs) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.latDegrees) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.lngDegrees) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.eventRadiusM) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.challengeBonusKey) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.experimentID != 0 { + try visitor.visitSingularInt32Field(value: self.experimentID, fieldNumber: 1) + } + if self.startMs != 0 { + try visitor.visitSingularInt64Field(value: self.startMs, fieldNumber: 2) + } + if self.endMs != 0 { + try visitor.visitSingularInt64Field(value: self.endMs, fieldNumber: 3) + } + if self.latDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.latDegrees, fieldNumber: 4) + } + if self.lngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.lngDegrees, fieldNumber: 5) + } + if self.eventRadiusM != 0 { + try visitor.visitSingularDoubleField(value: self.eventRadiusM, fieldNumber: 6) + } + if !self.challengeBonusKey.isEmpty { + try visitor.visitSingularStringField(value: self.challengeBonusKey, fieldNumber: 7) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: HyperlocalExperimentClientProto, rhs: HyperlocalExperimentClientProto) -> Bool { + if lhs.experimentID != rhs.experimentID {return false} + if lhs.startMs != rhs.startMs {return false} + if lhs.endMs != rhs.endMs {return false} + if lhs.latDegrees != rhs.latDegrees {return false} + if lhs.lngDegrees != rhs.lngDegrees {return false} + if lhs.eventRadiusM != rhs.eventRadiusM {return false} + if lhs.challengeBonusKey != rhs.challengeBonusKey {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapAvailableSkuProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapAvailableSkuProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "id"), + 2: .standard(proto: "is_third_party_vendor_item"), + 3: .same(proto: "price"), + 4: .standard(proto: "currency_granted"), + 5: .standard(proto: "game_item_content"), + 6: .standard(proto: "presentation_data"), + 7: .standard(proto: "can_be_purchased"), + 8: .standard(proto: "subscription_id"), + 9: .standard(proto: "rule_data"), + 10: .standard(proto: "offer_id"), + 11: .standard(proto: "has_purchased_subscription"), + 12: .standard(proto: "subscription_group_id"), + 13: .standard(proto: "subscription_level"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isThirdPartyVendorItem) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.price) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.currencyGranted) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.gameItemContent) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &self.presentationData) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.canBePurchased) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.subscriptionID) }() + case 9: try { try decoder.decodeRepeatedMessageField(value: &self.ruleData) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.offerID) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.hasPurchasedSubscription_p) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.subscriptionGroupID) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &self.subscriptionLevel) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.id.isEmpty { + try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) + } + if self.isThirdPartyVendorItem != false { + try visitor.visitSingularBoolField(value: self.isThirdPartyVendorItem, fieldNumber: 2) + } + if !self.price.isEmpty { + try visitor.visitRepeatedMessageField(value: self.price, fieldNumber: 3) + } + if !self.currencyGranted.isEmpty { + try visitor.visitRepeatedMessageField(value: self.currencyGranted, fieldNumber: 4) + } + if !self.gameItemContent.isEmpty { + try visitor.visitRepeatedMessageField(value: self.gameItemContent, fieldNumber: 5) + } + if !self.presentationData.isEmpty { + try visitor.visitRepeatedMessageField(value: self.presentationData, fieldNumber: 6) + } + if self.canBePurchased != false { + try visitor.visitSingularBoolField(value: self.canBePurchased, fieldNumber: 7) + } + if !self.subscriptionID.isEmpty { + try visitor.visitSingularStringField(value: self.subscriptionID, fieldNumber: 8) + } + if !self.ruleData.isEmpty { + try visitor.visitRepeatedMessageField(value: self.ruleData, fieldNumber: 9) + } + if !self.offerID.isEmpty { + try visitor.visitSingularStringField(value: self.offerID, fieldNumber: 10) + } + if self.hasPurchasedSubscription_p != false { + try visitor.visitSingularBoolField(value: self.hasPurchasedSubscription_p, fieldNumber: 11) + } + if !self.subscriptionGroupID.isEmpty { + try visitor.visitSingularStringField(value: self.subscriptionGroupID, fieldNumber: 12) + } + if self.subscriptionLevel != 0 { + try visitor.visitSingularInt32Field(value: self.subscriptionLevel, fieldNumber: 13) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapAvailableSkuProto, rhs: IapAvailableSkuProto) -> Bool { + if lhs.id != rhs.id {return false} + if lhs.isThirdPartyVendorItem != rhs.isThirdPartyVendorItem {return false} + if lhs.price != rhs.price {return false} + if lhs.currencyGranted != rhs.currencyGranted {return false} + if lhs.gameItemContent != rhs.gameItemContent {return false} + if lhs.presentationData != rhs.presentationData {return false} + if lhs.canBePurchased != rhs.canBePurchased {return false} + if lhs.subscriptionID != rhs.subscriptionID {return false} + if lhs.ruleData != rhs.ruleData {return false} + if lhs.offerID != rhs.offerID {return false} + if lhs.hasPurchasedSubscription_p != rhs.hasPurchasedSubscription_p {return false} + if lhs.subscriptionGroupID != rhs.subscriptionGroupID {return false} + if lhs.subscriptionLevel != rhs.subscriptionLevel {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapCurrencyQuantityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapCurrencyQuantityProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "currency_type"), + 2: .same(proto: "quantity"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.currencyType) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.quantity) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.currencyType.isEmpty { + try visitor.visitSingularStringField(value: self.currencyType, fieldNumber: 1) + } + if self.quantity != 0 { + try visitor.visitSingularInt32Field(value: self.quantity, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapCurrencyQuantityProto, rhs: IapCurrencyQuantityProto) -> Bool { + if lhs.currencyType != rhs.currencyType {return false} + if lhs.quantity != rhs.quantity {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapCurrencyUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapCurrencyUpdateProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "currency_name"), + 2: .standard(proto: "currency_delta"), + 3: .standard(proto: "currency_balance"), + 4: .standard(proto: "fiat_purchased_balance"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.currencyName) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.currencyDelta) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.currencyBalance) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.fiatPurchasedBalance) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.currencyName.isEmpty { + try visitor.visitSingularStringField(value: self.currencyName, fieldNumber: 1) + } + if self.currencyDelta != 0 { + try visitor.visitSingularInt32Field(value: self.currencyDelta, fieldNumber: 2) + } + if self.currencyBalance != 0 { + try visitor.visitSingularInt32Field(value: self.currencyBalance, fieldNumber: 3) + } + if self.fiatPurchasedBalance != 0 { + try visitor.visitSingularInt32Field(value: self.fiatPurchasedBalance, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapCurrencyUpdateProto, rhs: IapCurrencyUpdateProto) -> Bool { + if lhs.currencyName != rhs.currencyName {return false} + if lhs.currencyDelta != rhs.currencyDelta {return false} + if lhs.currencyBalance != rhs.currencyBalance {return false} + if lhs.fiatPurchasedBalance != rhs.fiatPurchasedBalance {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapDisclosureDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapDisclosureDisplaySettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "enabled_currency_language_pair"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.enabledCurrencyLanguagePair) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.enabledCurrencyLanguagePair.isEmpty { + try visitor.visitRepeatedMessageField(value: self.enabledCurrencyLanguagePair, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapDisclosureDisplaySettingsProto, rhs: IapDisclosureDisplaySettingsProto) -> Bool { + if lhs.enabledCurrencyLanguagePair != rhs.enabledCurrencyLanguagePair {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapDisclosureDisplaySettingsProto.CurrencyLanguagePairProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = IapDisclosureDisplaySettingsProto.protoMessageName + ".CurrencyLanguagePairProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "currency"), + 2: .same(proto: "language"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.currency) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.language) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.currency.isEmpty { + try visitor.visitSingularStringField(value: self.currency, fieldNumber: 1) + } + if !self.language.isEmpty { + try visitor.visitSingularStringField(value: self.language, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapDisclosureDisplaySettingsProto.CurrencyLanguagePairProto, rhs: IapDisclosureDisplaySettingsProto.CurrencyLanguagePairProto) -> Bool { + if lhs.currency != rhs.currency {return false} + if lhs.language != rhs.language {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapGameItemContentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapGameItemContentProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "type"), + 2: .same(proto: "quantity"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.type) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.quantity) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.type.isEmpty { + try visitor.visitSingularStringField(value: self.type, fieldNumber: 1) + } + if self.quantity != 0 { + try visitor.visitSingularInt32Field(value: self.quantity, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapGameItemContentProto, rhs: IapGameItemContentProto) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.quantity != rhs.quantity {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapGetActiveSubscriptionsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapGetActiveSubscriptionsRequestProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapGetActiveSubscriptionsRequestProto, rhs: IapGetActiveSubscriptionsRequestProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapGetActiveSubscriptionsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapGetActiveSubscriptionsResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "subscription"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.subscription) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.subscription.isEmpty { + try visitor.visitRepeatedMessageField(value: self.subscription, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapGetActiveSubscriptionsResponseProto, rhs: IapGetActiveSubscriptionsResponseProto) -> Bool { + if lhs.subscription != rhs.subscription {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapGetAvailableSkusAndBalancesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapGetAvailableSkusAndBalancesOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "available_sku"), + 3: .same(proto: "balance"), + 4: .standard(proto: "player_token"), + 5: .standard(proto: "blocked_sku"), + 6: .standard(proto: "processed_at_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.availableSku) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.balance) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.playerToken) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.blockedSku) }() + case 6: try { try decoder.decodeSingularUInt64Field(value: &self.processedAtMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.availableSku.isEmpty { + try visitor.visitRepeatedMessageField(value: self.availableSku, fieldNumber: 2) + } + if !self.balance.isEmpty { + try visitor.visitRepeatedMessageField(value: self.balance, fieldNumber: 3) + } + if !self.playerToken.isEmpty { + try visitor.visitSingularStringField(value: self.playerToken, fieldNumber: 4) + } + if !self.blockedSku.isEmpty { + try visitor.visitRepeatedMessageField(value: self.blockedSku, fieldNumber: 5) + } + if self.processedAtMs != 0 { + try visitor.visitSingularUInt64Field(value: self.processedAtMs, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapGetAvailableSkusAndBalancesOutProto, rhs: IapGetAvailableSkusAndBalancesOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.availableSku != rhs.availableSku {return false} + if lhs.balance != rhs.balance {return false} + if lhs.playerToken != rhs.playerToken {return false} + if lhs.blockedSku != rhs.blockedSku {return false} + if lhs.processedAtMs != rhs.processedAtMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapGetAvailableSkusAndBalancesOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + ] +} + +extension IapGetAvailableSkusAndBalancesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapGetAvailableSkusAndBalancesProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapGetAvailableSkusAndBalancesProto, rhs: IapGetAvailableSkusAndBalancesProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapInAppPurchaseSubscriptionInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapInAppPurchaseSubscriptionInfo" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "subscription_id"), + 2: .standard(proto: "sku_id"), + 3: .standard(proto: "purchase_period"), + 4: .standard(proto: "last_notification_time_ms"), + 5: .standard(proto: "lookup_id"), + 6: .standard(proto: "tiered_sub_price"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.subscriptionID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.skuID) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.purchasePeriod) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.lastNotificationTimeMs) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.lookupID) }() + case 6: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.tieredSubPrice) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.subscriptionID.isEmpty { + try visitor.visitSingularStringField(value: self.subscriptionID, fieldNumber: 1) + } + if !self.skuID.isEmpty { + try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 2) + } + if !self.purchasePeriod.isEmpty { + try visitor.visitRepeatedMessageField(value: self.purchasePeriod, fieldNumber: 3) + } + if self.lastNotificationTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.lastNotificationTimeMs, fieldNumber: 4) + } + if !self.lookupID.isEmpty { + try visitor.visitSingularStringField(value: self.lookupID, fieldNumber: 5) + } + if !self.tieredSubPrice.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.tieredSubPrice, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapInAppPurchaseSubscriptionInfo, rhs: IapInAppPurchaseSubscriptionInfo) -> Bool { + if lhs.subscriptionID != rhs.subscriptionID {return false} + if lhs.skuID != rhs.skuID {return false} + if lhs.purchasePeriod != rhs.purchasePeriod {return false} + if lhs.lastNotificationTimeMs != rhs.lastNotificationTimeMs {return false} + if lhs.lookupID != rhs.lookupID {return false} + if lhs.tieredSubPrice != rhs.tieredSubPrice {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapInAppPurchaseSubscriptionInfo.NativeStoreVendor: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_STORE"), + 1: .same(proto: "GOOGLE"), + 2: .same(proto: "APPLE"), + 3: .same(proto: "DESKTOP"), + ] +} + +extension IapInAppPurchaseSubscriptionInfo.PaymentState: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN_STATE"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "BILLING_ISSUE"), + ] +} + +extension IapInAppPurchaseSubscriptionInfo.State: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "ACTIVE"), + 2: .same(proto: "CANCELLED"), + 3: .same(proto: "EXPIRED"), + 4: .same(proto: "GRACE_PERIOD"), + 5: .same(proto: "FREE_TRIAL"), + 6: .same(proto: "PENDING_PURCHASE"), + 7: .same(proto: "REVOKED"), + 8: .same(proto: "ON_HOLD"), + 9: .same(proto: "OFFER_PERIOD"), + ] +} + +extension IapInAppPurchaseSubscriptionInfo.PurchasePeriod: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = IapInAppPurchaseSubscriptionInfo.protoMessageName + ".PurchasePeriod" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "subscription_end_time_ms"), + 2: .standard(proto: "receipt_timestamp_ms"), + 3: .same(proto: "receipt"), + 4: .standard(proto: "store_price"), + 5: .standard(proto: "country_code"), + 6: .standard(proto: "sku_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.subscriptionEndTimeMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.receiptTimestampMs) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.receipt) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._storePrice) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.skuID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.subscriptionEndTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.subscriptionEndTimeMs, fieldNumber: 1) + } + if self.receiptTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.receiptTimestampMs, fieldNumber: 2) + } + if !self.receipt.isEmpty { + try visitor.visitSingularStringField(value: self.receipt, fieldNumber: 3) + } + try { if let v = self._storePrice { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 5) + } + if !self.skuID.isEmpty { + try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapInAppPurchaseSubscriptionInfo.PurchasePeriod, rhs: IapInAppPurchaseSubscriptionInfo.PurchasePeriod) -> Bool { + if lhs.subscriptionEndTimeMs != rhs.subscriptionEndTimeMs {return false} + if lhs.receiptTimestampMs != rhs.receiptTimestampMs {return false} + if lhs.receipt != rhs.receipt {return false} + if lhs._storePrice != rhs._storePrice {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.skuID != rhs.skuID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapItemCategoryDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapItemCategoryDisplayProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "category"), + 2: .same(proto: "name"), + 3: .same(proto: "hidden"), + 4: .standard(proto: "sort_order"), + 5: .standard(proto: "banner_enabled"), + 6: .standard(proto: "banner_title"), + 7: .standard(proto: "image_url"), + 8: .same(proto: "description"), + 9: .standard(proto: "display_rows"), + 10: .same(proto: "subcategory"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.category) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.hidden) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.sortOrder) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.bannerEnabled) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.bannerTitle) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.displayRows) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.subcategory) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.category != .iapCategoryNone { + try visitor.visitSingularEnumField(value: self.category, fieldNumber: 1) + } + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) + } + if self.hidden != false { + try visitor.visitSingularBoolField(value: self.hidden, fieldNumber: 3) + } + if self.sortOrder != 0 { + try visitor.visitSingularInt32Field(value: self.sortOrder, fieldNumber: 4) + } + if self.bannerEnabled != false { + try visitor.visitSingularBoolField(value: self.bannerEnabled, fieldNumber: 5) + } + if !self.bannerTitle.isEmpty { + try visitor.visitSingularStringField(value: self.bannerTitle, fieldNumber: 6) + } + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 7) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 8) + } + if self.displayRows != 0 { + try visitor.visitSingularInt32Field(value: self.displayRows, fieldNumber: 9) + } + if !self.subcategory.isEmpty { + try visitor.visitSingularStringField(value: self.subcategory, fieldNumber: 10) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapItemCategoryDisplayProto, rhs: IapItemCategoryDisplayProto) -> Bool { + if lhs.category != rhs.category {return false} + if lhs.name != rhs.name {return false} + if lhs.hidden != rhs.hidden {return false} + if lhs.sortOrder != rhs.sortOrder {return false} + if lhs.bannerEnabled != rhs.bannerEnabled {return false} + if lhs.bannerTitle != rhs.bannerTitle {return false} + if lhs.imageURL != rhs.imageURL {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.displayRows != rhs.displayRows {return false} + if lhs.subcategory != rhs.subcategory {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapItemDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapItemDisplayProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "sku"), + 2: .same(proto: "category"), + 3: .standard(proto: "sort_order"), + 6: .same(proto: "hidden"), + 7: .same(proto: "sale"), + 8: .standard(proto: "sprite_id"), + 9: .same(proto: "title"), + 10: .same(proto: "description"), + 11: .standard(proto: "sku_enable_time"), + 12: .standard(proto: "sku_disable_time"), + 13: .standard(proto: "sku_enable_time_utc_ms"), + 14: .standard(proto: "sku_disable_time_utc_ms"), + 15: .same(proto: "subcategories"), + 16: .standard(proto: "image_url"), + 17: .standard(proto: "min_level"), + 18: .standard(proto: "max_level"), + 19: .standard(proto: "show_discount_tag"), + 20: .standard(proto: "show_strikethrough_price"), + 21: .standard(proto: "total_value"), + ] + + fileprivate class _StorageClass { + var _sku: String = String() + var _category: HoloIapItemCategory = .iapCategoryNone + var _sortOrder: Int32 = 0 + var _hidden: Bool = false + var _sale: Bool = false + var _spriteID: String = String() + var _title: String = String() + var _description_p: String = String() + var _skuEnableTime: String = String() + var _skuDisableTime: String = String() + var _skuEnableTimeUtcMs: Int64 = 0 + var _skuDisableTimeUtcMs: Int64 = 0 + var _subcategories: [String] = [] + var _imageURL: String = String() + var _minLevel: Int32 = 0 + var _maxLevel: Int32 = 0 + var _showDiscountTag: Bool = false + var _showStrikethroughPrice: Bool = false + var _totalValue: Int32 = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _sku = source._sku + _category = source._category + _sortOrder = source._sortOrder + _hidden = source._hidden + _sale = source._sale + _spriteID = source._spriteID + _title = source._title + _description_p = source._description_p + _skuEnableTime = source._skuEnableTime + _skuDisableTime = source._skuDisableTime + _skuEnableTimeUtcMs = source._skuEnableTimeUtcMs + _skuDisableTimeUtcMs = source._skuDisableTimeUtcMs + _subcategories = source._subcategories + _imageURL = source._imageURL + _minLevel = source._minLevel + _maxLevel = source._maxLevel + _showDiscountTag = source._showDiscountTag + _showStrikethroughPrice = source._showStrikethroughPrice + _totalValue = source._totalValue + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._sku) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._category) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._sortOrder) }() + case 6: try { try decoder.decodeSingularBoolField(value: &_storage._hidden) }() + case 7: try { try decoder.decodeSingularBoolField(value: &_storage._sale) }() + case 8: try { try decoder.decodeSingularStringField(value: &_storage._spriteID) }() + case 9: try { try decoder.decodeSingularStringField(value: &_storage._title) }() + case 10: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }() + case 11: try { try decoder.decodeSingularStringField(value: &_storage._skuEnableTime) }() + case 12: try { try decoder.decodeSingularStringField(value: &_storage._skuDisableTime) }() + case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._skuEnableTimeUtcMs) }() + case 14: try { try decoder.decodeSingularInt64Field(value: &_storage._skuDisableTimeUtcMs) }() + case 15: try { try decoder.decodeRepeatedStringField(value: &_storage._subcategories) }() + case 16: try { try decoder.decodeSingularStringField(value: &_storage._imageURL) }() + case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._minLevel) }() + case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._maxLevel) }() + case 19: try { try decoder.decodeSingularBoolField(value: &_storage._showDiscountTag) }() + case 20: try { try decoder.decodeSingularBoolField(value: &_storage._showStrikethroughPrice) }() + case 21: try { try decoder.decodeSingularInt32Field(value: &_storage._totalValue) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if !_storage._sku.isEmpty { + try visitor.visitSingularStringField(value: _storage._sku, fieldNumber: 1) + } + if _storage._category != .iapCategoryNone { + try visitor.visitSingularEnumField(value: _storage._category, fieldNumber: 2) + } + if _storage._sortOrder != 0 { + try visitor.visitSingularInt32Field(value: _storage._sortOrder, fieldNumber: 3) + } + if _storage._hidden != false { + try visitor.visitSingularBoolField(value: _storage._hidden, fieldNumber: 6) + } + if _storage._sale != false { + try visitor.visitSingularBoolField(value: _storage._sale, fieldNumber: 7) + } + if !_storage._spriteID.isEmpty { + try visitor.visitSingularStringField(value: _storage._spriteID, fieldNumber: 8) + } + if !_storage._title.isEmpty { + try visitor.visitSingularStringField(value: _storage._title, fieldNumber: 9) + } + if !_storage._description_p.isEmpty { + try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 10) + } + if !_storage._skuEnableTime.isEmpty { + try visitor.visitSingularStringField(value: _storage._skuEnableTime, fieldNumber: 11) + } + if !_storage._skuDisableTime.isEmpty { + try visitor.visitSingularStringField(value: _storage._skuDisableTime, fieldNumber: 12) + } + if _storage._skuEnableTimeUtcMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._skuEnableTimeUtcMs, fieldNumber: 13) + } + if _storage._skuDisableTimeUtcMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._skuDisableTimeUtcMs, fieldNumber: 14) + } + if !_storage._subcategories.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._subcategories, fieldNumber: 15) + } + if !_storage._imageURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._imageURL, fieldNumber: 16) + } + if _storage._minLevel != 0 { + try visitor.visitSingularInt32Field(value: _storage._minLevel, fieldNumber: 17) + } + if _storage._maxLevel != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxLevel, fieldNumber: 18) + } + if _storage._showDiscountTag != false { + try visitor.visitSingularBoolField(value: _storage._showDiscountTag, fieldNumber: 19) + } + if _storage._showStrikethroughPrice != false { + try visitor.visitSingularBoolField(value: _storage._showStrikethroughPrice, fieldNumber: 20) + } + if _storage._totalValue != 0 { + try visitor.visitSingularInt32Field(value: _storage._totalValue, fieldNumber: 21) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapItemDisplayProto, rhs: IapItemDisplayProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._sku != rhs_storage._sku {return false} + if _storage._category != rhs_storage._category {return false} + if _storage._sortOrder != rhs_storage._sortOrder {return false} + if _storage._hidden != rhs_storage._hidden {return false} + if _storage._sale != rhs_storage._sale {return false} + if _storage._spriteID != rhs_storage._spriteID {return false} + if _storage._title != rhs_storage._title {return false} + if _storage._description_p != rhs_storage._description_p {return false} + if _storage._skuEnableTime != rhs_storage._skuEnableTime {return false} + if _storage._skuDisableTime != rhs_storage._skuDisableTime {return false} + if _storage._skuEnableTimeUtcMs != rhs_storage._skuEnableTimeUtcMs {return false} + if _storage._skuDisableTimeUtcMs != rhs_storage._skuDisableTimeUtcMs {return false} + if _storage._subcategories != rhs_storage._subcategories {return false} + if _storage._imageURL != rhs_storage._imageURL {return false} + if _storage._minLevel != rhs_storage._minLevel {return false} + if _storage._maxLevel != rhs_storage._maxLevel {return false} + if _storage._showDiscountTag != rhs_storage._showDiscountTag {return false} + if _storage._showStrikethroughPrice != rhs_storage._showStrikethroughPrice {return false} + if _storage._totalValue != rhs_storage._totalValue {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapPurchaseSkuOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapPurchaseSkuOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapPurchaseSkuOutProto, rhs: IapPurchaseSkuOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapPurchaseSkuOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + 3: .same(proto: "BALANCE_TOO_LOW"), + 4: .same(proto: "SKU_NOT_AVAILABLE"), + 5: .same(proto: "OVER_INVENTORY_LIMIT"), + 6: .same(proto: "OFFER_NOT_AVAILABLE"), + ] +} + +extension IapPurchaseSkuProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapPurchaseSkuProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "sku_id"), + 2: .standard(proto: "offer_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.skuID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.offerID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.skuID.isEmpty { + try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 1) + } + if !self.offerID.isEmpty { + try visitor.visitSingularStringField(value: self.offerID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapPurchaseSkuProto, rhs: IapPurchaseSkuProto) -> Bool { + if lhs.skuID != rhs.skuID {return false} + if lhs.offerID != rhs.offerID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapRedeemGoogleReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapRedeemGoogleReceiptOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "transaction_token"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.transactionToken) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.transactionToken.isEmpty { + try visitor.visitSingularStringField(value: self.transactionToken, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapRedeemGoogleReceiptOutProto, rhs: IapRedeemGoogleReceiptOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.transactionToken != rhs.transactionToken {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapRedeemGoogleReceiptOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + ] +} + +extension IapRedeemGoogleReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapRedeemGoogleReceiptProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "receipt"), + 2: .standard(proto: "receipt_signature"), + 3: .standard(proto: "purchase_currency"), + 4: .standard(proto: "price_paid_e6"), + 5: .standard(proto: "price_paid_e6_long"), + 6: .standard(proto: "country_code"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.receipt) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.receiptSignature) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.purchaseCurrency) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.pricePaidE6) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.pricePaidE6Long) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.receipt.isEmpty { + try visitor.visitSingularStringField(value: self.receipt, fieldNumber: 1) + } + if !self.receiptSignature.isEmpty { + try visitor.visitSingularStringField(value: self.receiptSignature, fieldNumber: 2) + } + if !self.purchaseCurrency.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseCurrency, fieldNumber: 3) + } + if self.pricePaidE6 != 0 { + try visitor.visitSingularInt32Field(value: self.pricePaidE6, fieldNumber: 4) + } + if self.pricePaidE6Long != 0 { + try visitor.visitSingularInt64Field(value: self.pricePaidE6Long, fieldNumber: 5) + } + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapRedeemGoogleReceiptProto, rhs: IapRedeemGoogleReceiptProto) -> Bool { + if lhs.receipt != rhs.receipt {return false} + if lhs.receiptSignature != rhs.receiptSignature {return false} + if lhs.purchaseCurrency != rhs.purchaseCurrency {return false} + if lhs.pricePaidE6 != rhs.pricePaidE6 {return false} + if lhs.pricePaidE6Long != rhs.pricePaidE6Long {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapRedeemSamsungReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapRedeemSamsungReceiptOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "purchase_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.purchaseID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.purchaseID.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapRedeemSamsungReceiptOutProto, rhs: IapRedeemSamsungReceiptOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.purchaseID != rhs.purchaseID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapRedeemSamsungReceiptOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + ] +} + +extension IapRedeemSamsungReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapRedeemSamsungReceiptProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "purchase_data"), + 2: .standard(proto: "purchase_id"), + 3: .standard(proto: "purchase_currency"), + 4: .standard(proto: "price_paid_e6_long"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.purchaseData) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.purchaseID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.purchaseCurrency) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.pricePaidE6Long) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.purchaseData.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseData, fieldNumber: 1) + } + if !self.purchaseID.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseID, fieldNumber: 2) + } + if !self.purchaseCurrency.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseCurrency, fieldNumber: 3) + } + if self.pricePaidE6Long != 0 { + try visitor.visitSingularInt64Field(value: self.pricePaidE6Long, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapRedeemSamsungReceiptProto, rhs: IapRedeemSamsungReceiptProto) -> Bool { + if lhs.purchaseData != rhs.purchaseData {return false} + if lhs.purchaseID != rhs.purchaseID {return false} + if lhs.purchaseCurrency != rhs.purchaseCurrency {return false} + if lhs.pricePaidE6Long != rhs.pricePaidE6Long {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "daily_bonus_coins"), + 2: .standard(proto: "daily_defender_bonus_per_pokemon"), + 3: .standard(proto: "daily_defender_bonus_max_defenders"), + 4: .standard(proto: "daily_defender_bonus_currency"), + 5: .standard(proto: "min_time_between_claims_ms"), + 6: .standard(proto: "daily_bonus_enabled"), + 7: .standard(proto: "daily_defender_bonus_enabled"), + 9: .standard(proto: "prohibit_purchase_in_test_envirnment"), + 10: .standard(proto: "ml_bundle_timer_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.dailyBonusCoins) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.dailyDefenderBonusPerPokemon) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.dailyDefenderBonusMaxDefenders) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.dailyDefenderBonusCurrency) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.minTimeBetweenClaimsMs) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.dailyBonusEnabled) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.dailyDefenderBonusEnabled) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.prohibitPurchaseInTestEnvirnment) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.mlBundleTimerEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.dailyBonusCoins != 0 { + try visitor.visitSingularInt32Field(value: self.dailyBonusCoins, fieldNumber: 1) + } + if !self.dailyDefenderBonusPerPokemon.isEmpty { + try visitor.visitPackedInt32Field(value: self.dailyDefenderBonusPerPokemon, fieldNumber: 2) + } + if self.dailyDefenderBonusMaxDefenders != 0 { + try visitor.visitSingularInt32Field(value: self.dailyDefenderBonusMaxDefenders, fieldNumber: 3) + } + if !self.dailyDefenderBonusCurrency.isEmpty { + try visitor.visitRepeatedStringField(value: self.dailyDefenderBonusCurrency, fieldNumber: 4) + } + if self.minTimeBetweenClaimsMs != 0 { + try visitor.visitSingularInt64Field(value: self.minTimeBetweenClaimsMs, fieldNumber: 5) + } + if self.dailyBonusEnabled != false { + try visitor.visitSingularBoolField(value: self.dailyBonusEnabled, fieldNumber: 6) + } + if self.dailyDefenderBonusEnabled != false { + try visitor.visitSingularBoolField(value: self.dailyDefenderBonusEnabled, fieldNumber: 7) + } + if self.prohibitPurchaseInTestEnvirnment != false { + try visitor.visitSingularBoolField(value: self.prohibitPurchaseInTestEnvirnment, fieldNumber: 9) + } + if self.mlBundleTimerEnabled != false { + try visitor.visitSingularBoolField(value: self.mlBundleTimerEnabled, fieldNumber: 10) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapSettingsProto, rhs: IapSettingsProto) -> Bool { + if lhs.dailyBonusCoins != rhs.dailyBonusCoins {return false} + if lhs.dailyDefenderBonusPerPokemon != rhs.dailyDefenderBonusPerPokemon {return false} + if lhs.dailyDefenderBonusMaxDefenders != rhs.dailyDefenderBonusMaxDefenders {return false} + if lhs.dailyDefenderBonusCurrency != rhs.dailyDefenderBonusCurrency {return false} + if lhs.minTimeBetweenClaimsMs != rhs.minTimeBetweenClaimsMs {return false} + if lhs.dailyBonusEnabled != rhs.dailyBonusEnabled {return false} + if lhs.dailyDefenderBonusEnabled != rhs.dailyDefenderBonusEnabled {return false} + if lhs.prohibitPurchaseInTestEnvirnment != rhs.prohibitPurchaseInTestEnvirnment {return false} + if lhs.mlBundleTimerEnabled != rhs.mlBundleTimerEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapSkuPresentationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapSkuPresentationProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "key"), + 2: .same(proto: "value"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.key) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.value) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.key.isEmpty { + try visitor.visitSingularStringField(value: self.key, fieldNumber: 1) + } + if !self.value.isEmpty { + try visitor.visitSingularStringField(value: self.value, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapSkuPresentationProto, rhs: IapSkuPresentationProto) -> Bool { + if lhs.key != rhs.key {return false} + if lhs.value != rhs.value {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapSkuStorePrice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapSkuStorePrice" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "currency_code"), + 2: .standard(proto: "price_paid_e6"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.currencyCode) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.pricePaidE6) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.currencyCode.isEmpty { + try visitor.visitSingularStringField(value: self.currencyCode, fieldNumber: 1) + } + if self.pricePaidE6 != 0 { + try visitor.visitSingularInt64Field(value: self.pricePaidE6, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapSkuStorePrice, rhs: IapSkuStorePrice) -> Bool { + if lhs.currencyCode != rhs.currencyCode {return false} + if lhs.pricePaidE6 != rhs.pricePaidE6 {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapStoreRuleDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IapStoreRuleDataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "rule_name"), + 2: .same(proto: "entry"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.ruleName) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.entry) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.ruleName.isEmpty { + try visitor.visitSingularStringField(value: self.ruleName, fieldNumber: 1) + } + if !self.entry.isEmpty { + try visitor.visitRepeatedMessageField(value: self.entry, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapStoreRuleDataProto, rhs: IapStoreRuleDataProto) -> Bool { + if lhs.ruleName != rhs.ruleName {return false} + if lhs.entry != rhs.entry {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IapStoreRuleDataProto.RuleEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = IapStoreRuleDataProto.protoMessageName + ".RuleEntry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "key"), + 2: .same(proto: "value"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.key) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.value) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.key.isEmpty { + try visitor.visitSingularStringField(value: self.key, fieldNumber: 1) + } + if !self.value.isEmpty { + try visitor.visitSingularStringField(value: self.value, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IapStoreRuleDataProto.RuleEntry, rhs: IapStoreRuleDataProto.RuleEntry) -> Bool { + if lhs.key != rhs.key {return false} + if lhs.value != rhs.value {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IdfaSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IdfaSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "optin_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.optinEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.optinEnabled != false { + try visitor.visitSingularBoolField(value: self.optinEnabled, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IdfaSettingsProto, rhs: IdfaSettingsProto) -> Bool { + if lhs.optinEnabled != rhs.optinEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ImageGalleryTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ImageGalleryTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "image_gallery_telemetry_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.imageGalleryTelemetryID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.imageGalleryTelemetryID != .unknown { + try visitor.visitSingularEnumField(value: self.imageGalleryTelemetryID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ImageGalleryTelemetry, rhs: ImageGalleryTelemetry) -> Bool { + if lhs.imageGalleryTelemetryID != rhs.imageGalleryTelemetryID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ImageGalleryTelemetry.ImageGalleryEventId: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "ENTER_IMAGE_GALLERY"), + 2: .same(proto: "ENTER_IMAGE_DETAILS_PAGE"), + 3: .same(proto: "VOTE_FROM_MAIN_GALLERY_PAGE"), + 4: .same(proto: "UNVOTE_FROM_MAIN_GALLERY_PAGE"), + 5: .same(proto: "VOTE_FROM_IMAGE_DETAILS_PAGE"), + 6: .same(proto: "UNVOTE_FROM_IMAGE_DETAILS_PAGE"), + 7: .same(proto: "ENTER_IMAGE_EDIT_FROM_GALLERY"), + ] +} + +extension ImageTextCreativeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ImageTextCreativeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "name"), + 2: .same(proto: "title"), + 3: .same(proto: "description"), + 4: .standard(proto: "preview_image_url"), + 5: .standard(proto: "fullscreen_image_url"), + 6: .standard(proto: "cta_link"), + 7: .standard(proto: "web_ar_url"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.previewImageURL) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.fullscreenImageURL) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.ctaLink) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.webArURL) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + } + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 2) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) + } + if !self.previewImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.previewImageURL, fieldNumber: 4) + } + if !self.fullscreenImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.fullscreenImageURL, fieldNumber: 5) + } + if !self.ctaLink.isEmpty { + try visitor.visitSingularStringField(value: self.ctaLink, fieldNumber: 6) + } + if !self.webArURL.isEmpty { + try visitor.visitSingularStringField(value: self.webArURL, fieldNumber: 7) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ImageTextCreativeProto, rhs: ImageTextCreativeProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.title != rhs.title {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.previewImageURL != rhs.previewImageURL {return false} + if lhs.fullscreenImageURL != rhs.fullscreenImageURL {return false} + if lhs.ctaLink != rhs.ctaLink {return false} + if lhs.webArURL != rhs.webArURL {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ImpressionTrackingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ImpressionTrackingSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "impression_tracking_enabled"), + 2: .standard(proto: "full_screen_ad_view_tracking_enabled"), + 3: .standard(proto: "full_screen_poi_inspection_tracking_enabled"), + 4: .standard(proto: "pokestop_spinner_interaction_tracking_enabled"), + 5: .standard(proto: "approach_gym_tracking_enabled"), + 6: .standard(proto: "approach_raid_tracking_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.impressionTrackingEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.fullScreenAdViewTrackingEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.fullScreenPoiInspectionTrackingEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.pokestopSpinnerInteractionTrackingEnabled) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.approachGymTrackingEnabled) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.approachRaidTrackingEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.impressionTrackingEnabled != false { + try visitor.visitSingularBoolField(value: self.impressionTrackingEnabled, fieldNumber: 1) + } + if self.fullScreenAdViewTrackingEnabled != false { + try visitor.visitSingularBoolField(value: self.fullScreenAdViewTrackingEnabled, fieldNumber: 2) + } + if self.fullScreenPoiInspectionTrackingEnabled != false { + try visitor.visitSingularBoolField(value: self.fullScreenPoiInspectionTrackingEnabled, fieldNumber: 3) + } + if self.pokestopSpinnerInteractionTrackingEnabled != false { + try visitor.visitSingularBoolField(value: self.pokestopSpinnerInteractionTrackingEnabled, fieldNumber: 4) + } + if self.approachGymTrackingEnabled != false { + try visitor.visitSingularBoolField(value: self.approachGymTrackingEnabled, fieldNumber: 5) + } + if self.approachRaidTrackingEnabled != false { + try visitor.visitSingularBoolField(value: self.approachRaidTrackingEnabled, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ImpressionTrackingSettingsProto, rhs: ImpressionTrackingSettingsProto) -> Bool { + if lhs.impressionTrackingEnabled != rhs.impressionTrackingEnabled {return false} + if lhs.fullScreenAdViewTrackingEnabled != rhs.fullScreenAdViewTrackingEnabled {return false} + if lhs.fullScreenPoiInspectionTrackingEnabled != rhs.fullScreenPoiInspectionTrackingEnabled {return false} + if lhs.pokestopSpinnerInteractionTrackingEnabled != rhs.pokestopSpinnerInteractionTrackingEnabled {return false} + if lhs.approachGymTrackingEnabled != rhs.approachGymTrackingEnabled {return false} + if lhs.approachRaidTrackingEnabled != rhs.approachRaidTrackingEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ImpressionTrackingTag: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ImpressionTrackingTag" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "tag_id"), + 2: .standard(proto: "base_url"), + 3: .standard(proto: "static_tags"), + 4: .standard(proto: "server_tags"), + 5: .standard(proto: "client_tags"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.tagID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.baseURL) }() + case 3: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.staticTags) }() + case 4: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.serverTags) }() + case 5: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.clientTags) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.tagID.isEmpty { + try visitor.visitSingularStringField(value: self.tagID, fieldNumber: 1) + } + if !self.baseURL.isEmpty { + try visitor.visitSingularStringField(value: self.baseURL, fieldNumber: 2) + } + if !self.staticTags.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.staticTags, fieldNumber: 3) + } + if !self.serverTags.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.serverTags, fieldNumber: 4) + } + if !self.clientTags.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.clientTags, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ImpressionTrackingTag, rhs: ImpressionTrackingTag) -> Bool { + if lhs.tagID != rhs.tagID {return false} + if lhs.baseURL != rhs.baseURL {return false} + if lhs.staticTags != rhs.staticTags {return false} + if lhs.serverTags != rhs.serverTags {return false} + if lhs.clientTags != rhs.clientTags {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InAppSurveySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InAppSurveySettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "feature_enabled"), + 2: .standard(proto: "survey_poll_frequency_s"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.featureEnabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.surveyPollFrequencyS) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.featureEnabled != false { + try visitor.visitSingularBoolField(value: self.featureEnabled, fieldNumber: 1) + } + if self.surveyPollFrequencyS != 0 { + try visitor.visitSingularInt32Field(value: self.surveyPollFrequencyS, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InAppSurveySettingsProto, rhs: InAppSurveySettingsProto) -> Bool { + if lhs.featureEnabled != rhs.featureEnabled {return false} + if lhs.surveyPollFrequencyS != rhs.surveyPollFrequencyS {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InGamePurchaseDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InGamePurchaseDetails" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "ingame_type"), + 2: .standard(proto: "ingame_price"), + 3: .standard(proto: "remaining_ingame_balance"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.ingameType) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.ingamePrice) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.remainingIngameBalance) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.ingameType.isEmpty { + try visitor.visitSingularStringField(value: self.ingameType, fieldNumber: 1) + } + if self.ingamePrice != 0 { + try visitor.visitSingularInt64Field(value: self.ingamePrice, fieldNumber: 2) + } + if self.remainingIngameBalance != 0 { + try visitor.visitSingularInt64Field(value: self.remainingIngameBalance, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InGamePurchaseDetails, rhs: InGamePurchaseDetails) -> Bool { + if lhs.ingameType != rhs.ingameType {return false} + if lhs.ingamePrice != rhs.ingamePrice {return false} + if lhs.remainingIngameBalance != rhs.remainingIngameBalance {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncenseAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncenseAttributesProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "incense_lifetime_seconds"), + 2: .standard(proto: "pokemon_type"), + 3: .standard(proto: "pokemon_incense_type_probability"), + 4: .standard(proto: "standing_time_between_encounters_sec"), + 5: .standard(proto: "moving_time_between_encounter_sec"), + 6: .standard(proto: "distance_required_for_shorter_interval_meters"), + 7: .standard(proto: "pokemon_attracted_length_sec"), + 8: .standard(proto: "spawn_table"), + 9: .standard(proto: "spawn_table_probability"), + 11: .standard(proto: "regional_pokemon_probability"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.incenseLifetimeSeconds) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.pokemonType) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.pokemonIncenseTypeProbability) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.standingTimeBetweenEncountersSec) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.movingTimeBetweenEncounterSec) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.distanceRequiredForShorterIntervalMeters) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.pokemonAttractedLengthSec) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &self.spawnTable) }() + case 9: try { try decoder.decodeSingularFloatField(value: &self.spawnTableProbability) }() + case 11: try { try decoder.decodeSingularFloatField(value: &self.regionalPokemonProbability) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.incenseLifetimeSeconds != 0 { + try visitor.visitSingularInt32Field(value: self.incenseLifetimeSeconds, fieldNumber: 1) + } + if !self.pokemonType.isEmpty { + try visitor.visitPackedEnumField(value: self.pokemonType, fieldNumber: 2) + } + if self.pokemonIncenseTypeProbability != 0 { + try visitor.visitSingularFloatField(value: self.pokemonIncenseTypeProbability, fieldNumber: 3) + } + if self.standingTimeBetweenEncountersSec != 0 { + try visitor.visitSingularInt32Field(value: self.standingTimeBetweenEncountersSec, fieldNumber: 4) + } + if self.movingTimeBetweenEncounterSec != 0 { + try visitor.visitSingularInt32Field(value: self.movingTimeBetweenEncounterSec, fieldNumber: 5) + } + if self.distanceRequiredForShorterIntervalMeters != 0 { + try visitor.visitSingularInt32Field(value: self.distanceRequiredForShorterIntervalMeters, fieldNumber: 6) + } + if self.pokemonAttractedLengthSec != 0 { + try visitor.visitSingularInt32Field(value: self.pokemonAttractedLengthSec, fieldNumber: 7) + } + if !self.spawnTable.isEmpty { + try visitor.visitRepeatedMessageField(value: self.spawnTable, fieldNumber: 8) + } + if self.spawnTableProbability != 0 { + try visitor.visitSingularFloatField(value: self.spawnTableProbability, fieldNumber: 9) + } + if self.regionalPokemonProbability != 0 { + try visitor.visitSingularFloatField(value: self.regionalPokemonProbability, fieldNumber: 11) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncenseAttributesProto, rhs: IncenseAttributesProto) -> Bool { + if lhs.incenseLifetimeSeconds != rhs.incenseLifetimeSeconds {return false} + if lhs.pokemonType != rhs.pokemonType {return false} + if lhs.pokemonIncenseTypeProbability != rhs.pokemonIncenseTypeProbability {return false} + if lhs.standingTimeBetweenEncountersSec != rhs.standingTimeBetweenEncountersSec {return false} + if lhs.movingTimeBetweenEncounterSec != rhs.movingTimeBetweenEncounterSec {return false} + if lhs.distanceRequiredForShorterIntervalMeters != rhs.distanceRequiredForShorterIntervalMeters {return false} + if lhs.pokemonAttractedLengthSec != rhs.pokemonAttractedLengthSec {return false} + if lhs.spawnTable != rhs.spawnTable {return false} + if lhs.spawnTableProbability != rhs.spawnTableProbability {return false} + if lhs.regionalPokemonProbability != rhs.regionalPokemonProbability {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncenseEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncenseEncounterOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "capture_probability"), + 4: .standard(proto: "active_item"), + 5: .standard(proto: "arplus_attempts_until_flee"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .incenseEncounterUnknown { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._captureProbability { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) + } + if self.arplusAttemptsUntilFlee != 0 { + try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncenseEncounterOutProto, rhs: IncenseEncounterOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} + if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncenseEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "INCENSE_ENCOUNTER_UNKNOWN"), + 1: .same(proto: "INCENSE_ENCOUNTER_SUCCESS"), + 2: .same(proto: "INCENSE_ENCOUNTER_NOT_AVAILABLE"), + 3: .same(proto: "POKEMON_INVENTORY_FULL"), + ] +} + +extension IncenseEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncenseEncounterProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "encounter_location"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.encounterID != 0 { + try visitor.visitSingularInt64Field(value: self.encounterID, fieldNumber: 1) + } + if !self.encounterLocation.isEmpty { + try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncenseEncounterProto, rhs: IncenseEncounterProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.encounterLocation != rhs.encounterLocation {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncidentGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncidentGlobalSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "min_player_level"), + 2: .standard(proto: "min_player_level_for_v2"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevelForV2) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.minPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 1) + } + if self.minPlayerLevelForV2 != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevelForV2, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncidentGlobalSettingsProto, rhs: IncidentGlobalSettingsProto) -> Bool { + if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + if lhs.minPlayerLevelForV2 != rhs.minPlayerLevelForV2 {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncidentLookupProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncidentLookupProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "incident_id"), + 2: .standard(proto: "fort_id"), + 3: .standard(proto: "fort_lat"), + 4: .standard(proto: "fort_lng"), + 5: .same(proto: "context"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.incidentID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.fortLat) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.fortLng) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.context) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.incidentID.isEmpty { + try visitor.visitSingularStringField(value: self.incidentID, fieldNumber: 1) + } + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) + } + if self.fortLat != 0 { + try visitor.visitSingularDoubleField(value: self.fortLat, fieldNumber: 3) + } + if self.fortLng != 0 { + try visitor.visitSingularDoubleField(value: self.fortLng, fieldNumber: 4) + } + if self.context != .pokestopIncident { + try visitor.visitSingularEnumField(value: self.context, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncidentLookupProto, rhs: IncidentLookupProto) -> Bool { + if lhs.incidentID != rhs.incidentID {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.fortLat != rhs.fortLat {return false} + if lhs.fortLng != rhs.fortLng {return false} + if lhs.context != rhs.context {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncidentPrioritySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncidentPrioritySettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "incident_priority"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.incidentPriority) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.incidentPriority.isEmpty { + try visitor.visitRepeatedMessageField(value: self.incidentPriority, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncidentPrioritySettingsProto, rhs: IncidentPrioritySettingsProto) -> Bool { + if lhs.incidentPriority != rhs.incidentPriority {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncidentPrioritySettingsProto.IncidentPriority: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = IncidentPrioritySettingsProto.protoMessageName + ".IncidentPriority" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "priority"), + 2: .standard(proto: "display_type"), + 3: .standard(proto: "one_of_badge_types"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.priority) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.displayType) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.oneOfBadgeTypes) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.priority != 0 { + try visitor.visitSingularInt32Field(value: self.priority, fieldNumber: 1) + } + if self.displayType != .none { + try visitor.visitSingularEnumField(value: self.displayType, fieldNumber: 2) + } + if !self.oneOfBadgeTypes.isEmpty { + try visitor.visitPackedEnumField(value: self.oneOfBadgeTypes, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncidentPrioritySettingsProto.IncidentPriority, rhs: IncidentPrioritySettingsProto.IncidentPriority) -> Bool { + if lhs.priority != rhs.priority {return false} + if lhs.displayType != rhs.displayType {return false} + if lhs.oneOfBadgeTypes != rhs.oneOfBadgeTypes {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncidentRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncidentRewardProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "invasion_spawn_group_template_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.invasionSpawnGroupTemplateID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.invasionSpawnGroupTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.invasionSpawnGroupTemplateID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncidentRewardProto, rhs: IncidentRewardProto) -> Bool { + if lhs.invasionSpawnGroupTemplateID != rhs.invasionSpawnGroupTemplateID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncidentTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncidentTicketAttributesProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "ignore_full_inventory"), + 2: .standard(proto: "upgrade_requirement_count"), + 3: .standard(proto: "upgraded_item"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.ignoreFullInventory) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.upgradeRequirementCount) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.upgradedItem) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.ignoreFullInventory != false { + try visitor.visitSingularBoolField(value: self.ignoreFullInventory, fieldNumber: 1) + } + if self.upgradeRequirementCount != 0 { + try visitor.visitSingularInt32Field(value: self.upgradeRequirementCount, fieldNumber: 2) + } + if self.upgradedItem != .unknown { + try visitor.visitSingularEnumField(value: self.upgradedItem, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncidentTicketAttributesProto, rhs: IncidentTicketAttributesProto) -> Bool { + if lhs.ignoreFullInventory != rhs.ignoreFullInventory {return false} + if lhs.upgradeRequirementCount != rhs.upgradeRequirementCount {return false} + if lhs.upgradedItem != rhs.upgradedItem {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncidentVisibilitySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncidentVisibilitySettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "hide_incident_for_character"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.hideIncidentForCharacter) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.hideIncidentForCharacter.isEmpty { + try visitor.visitPackedEnumField(value: self.hideIncidentForCharacter, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncidentVisibilitySettingsProto, rhs: IncidentVisibilitySettingsProto) -> Bool { + if lhs.hideIncidentForCharacter != rhs.hideIncidentForCharacter {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IncubatorFlowSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IncubatorFlowSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "main_map_icon_enabled"), + 2: .standard(proto: "pokemon_page_icon_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.mainMapIconEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.pokemonPageIconEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.mainMapIconEnabled != false { + try visitor.visitSingularBoolField(value: self.mainMapIconEnabled, fieldNumber: 1) + } + if self.pokemonPageIconEnabled != false { + try visitor.visitSingularBoolField(value: self.pokemonPageIconEnabled, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IncubatorFlowSettingsProto, rhs: IncubatorFlowSettingsProto) -> Bool { + if lhs.mainMapIconEnabled != rhs.mainMapIconEnabled {return false} + if lhs.pokemonPageIconEnabled != rhs.pokemonPageIconEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension IndividualValueSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IndividualValueSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + 2: .standard(proto: "atk_floor"), + 3: .standard(proto: "def_floor"), + 4: .standard(proto: "sta_floor"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.atkFloor) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.defFloor) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.staFloor) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.atkFloor != 0 { + try visitor.visitSingularInt32Field(value: self.atkFloor, fieldNumber: 2) + } + if self.defFloor != 0 { + try visitor.visitSingularInt32Field(value: self.defFloor, fieldNumber: 3) + } + if self.staFloor != 0 { + try visitor.visitSingularInt32Field(value: self.staFloor, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: IndividualValueSettings, rhs: IndividualValueSettings) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.atkFloor != rhs.atkFloor {return false} + if lhs.defFloor != rhs.defFloor {return false} + if lhs.staFloor != rhs.staFloor {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InitializationEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InitializationEvent" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "install_mode"), + 2: .same(proto: "processor"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.installMode) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.processor) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.installMode.isEmpty { + try visitor.visitSingularStringField(value: self.installMode, fieldNumber: 1) + } + if !self.processor.isEmpty { + try visitor.visitSingularStringField(value: self.processor, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InitializationEvent, rhs: InitializationEvent) -> Bool { + if lhs.installMode != rhs.installMode {return false} + if lhs.processor != rhs.processor {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InputSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InputSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "enable_frame_independent_spin"), + 2: .standard(proto: "milliseconds_processed_spin_force"), + 3: .standard(proto: "spin_speed_multiplier"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableFrameIndependentSpin) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.millisecondsProcessedSpinForce) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.spinSpeedMultiplier) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enableFrameIndependentSpin != false { + try visitor.visitSingularBoolField(value: self.enableFrameIndependentSpin, fieldNumber: 1) + } + if self.millisecondsProcessedSpinForce != 0 { + try visitor.visitSingularInt32Field(value: self.millisecondsProcessedSpinForce, fieldNumber: 2) + } + if self.spinSpeedMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.spinSpeedMultiplier, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InputSettingsProto, rhs: InputSettingsProto) -> Bool { + if lhs.enableFrameIndependentSpin != rhs.enableFrameIndependentSpin {return false} + if lhs.millisecondsProcessedSpinForce != rhs.millisecondsProcessedSpinForce {return false} + if lhs.spinSpeedMultiplier != rhs.spinSpeedMultiplier {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InstallTime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InstallTime" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "duration"), + 2: .standard(proto: "install_phase"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularDoubleField(value: &self.duration) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.installPhase) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.duration != 0 { + try visitor.visitSingularDoubleField(value: self.duration, fieldNumber: 1) + } + if self.installPhase != .undefined { + try visitor.visitSingularEnumField(value: self.installPhase, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InstallTime, rhs: InstallTime) -> Bool { + if lhs.duration != rhs.duration {return false} + if lhs.installPhase != rhs.installPhase {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InstallTime.InstallPhase: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNDEFINED"), + 1: .same(proto: "BOOT_UTIL"), + 2: .same(proto: "BOOT_METRICS"), + 3: .same(proto: "BOOT_NETWORK"), + 4: .same(proto: "BOOT_STORAGE"), + 5: .same(proto: "BOOT_LOCATION"), + 6: .same(proto: "BOOT_AUTH"), + ] +} + +extension InternalAcceptFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalAcceptFriendInviteOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "friend"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._friend) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._friend { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalAcceptFriendInviteOutProto, rhs: InternalAcceptFriendInviteOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._friend != rhs._friend {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalAcceptFriendInviteOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_INVITE_DOES_NOT_EXIST"), + 4: .same(proto: "ERROR_MAX_FRIENDS_LIMIT_REACHED_DELETED"), + 5: .same(proto: "ERROR_INVITE_HAS_BEEN_CANCELLED"), + 6: .same(proto: "ERROR_SENDER_HAS_MAX_FRIENDS"), + 7: .same(proto: "ERROR_RECEIVER_HAS_MAX_FRIENDS"), + 8: .same(proto: "ERROR_SENDER_IS_BLOCKED"), + ] +} + +extension InternalAcceptFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalAcceptFriendInviteProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .standard(proto: "nia_account_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + } + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalAcceptFriendInviteProto, rhs: InternalAcceptFriendInviteProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalAccountContactSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalAccountContactSettings" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalAccountContactSettings, rhs: InternalAccountContactSettings) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalAccountContactSettings.ConsentStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "OPT_IN"), + 2: .same(proto: "OPT_OUT"), + ] +} + +extension InternalAccountSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalAccountSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "opt_out_social_graph_import"), + 2: .standard(proto: "online_status_consent"), + 3: .standard(proto: "last_played_date_consent"), + 4: .standard(proto: "codename_consent"), + 5: .standard(proto: "contact_list_consent"), + 6: .standard(proto: "full_name"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.optOutSocialGraphImport) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.onlineStatusConsent) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.lastPlayedDateConsent) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.codenameConsent) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.contactListConsent) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.fullName) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.optOutSocialGraphImport != false { + try visitor.visitSingularBoolField(value: self.optOutSocialGraphImport, fieldNumber: 1) + } + if self.onlineStatusConsent != .unknown { + try visitor.visitSingularEnumField(value: self.onlineStatusConsent, fieldNumber: 2) + } + if self.lastPlayedDateConsent != .unknown { + try visitor.visitSingularEnumField(value: self.lastPlayedDateConsent, fieldNumber: 3) + } + if self.codenameConsent != .unknown { + try visitor.visitSingularEnumField(value: self.codenameConsent, fieldNumber: 4) + } + if self.contactListConsent != .unknown { + try visitor.visitSingularEnumField(value: self.contactListConsent, fieldNumber: 5) + } + if !self.fullName.isEmpty { + try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalAccountSettingsProto, rhs: InternalAccountSettingsProto) -> Bool { + if lhs.optOutSocialGraphImport != rhs.optOutSocialGraphImport {return false} + if lhs.onlineStatusConsent != rhs.onlineStatusConsent {return false} + if lhs.lastPlayedDateConsent != rhs.lastPlayedDateConsent {return false} + if lhs.codenameConsent != rhs.codenameConsent {return false} + if lhs.contactListConsent != rhs.contactListConsent {return false} + if lhs.fullName != rhs.fullName {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalAddLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalAddLoginActionOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "success"), + 2: .standard(proto: "login_detail"), + 3: .same(proto: "status"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) + } + if !self.loginDetail.isEmpty { + try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) + } + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalAddLoginActionOutProto, rhs: InternalAddLoginActionOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.loginDetail != rhs.loginDetail {return false} + if lhs.status != rhs.status {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalAddLoginActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "AUTH_FAILURE"), + 2: .same(proto: "LOGIN_TAKEN"), + 3: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalAddLoginActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalAddLoginActionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "identity_provider"), + 2: .standard(proto: "inner_message"), + 3: .standard(proto: "auth_provider_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.identityProvider) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.innerMessage) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.identityProvider != .unsetIdentityProvider { + try visitor.visitSingularEnumField(value: self.identityProvider, fieldNumber: 1) + } + if !self.innerMessage.isEmpty { + try visitor.visitSingularBytesField(value: self.innerMessage, fieldNumber: 2) + } + if !self.authProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalAddLoginActionProto, rhs: InternalAddLoginActionProto) -> Bool { + if lhs.identityProvider != rhs.identityProvider {return false} + if lhs.innerMessage != rhs.innerMessage {return false} + if lhs.authProviderID != rhs.authProviderID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalAdventureSyncSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalAdventureSyncSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fitness_service_enabled"), + 2: .standard(proto: "awareness_service_enabled"), + 3: .standard(proto: "persistent_breadcrumb_service_enabled"), + 4: .standard(proto: "sensor_service_enabled"), + 5: .standard(proto: "persistent_location_service_enabled"), + 6: .standard(proto: "breadcrumb_service_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.fitnessServiceEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.awarenessServiceEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.persistentBreadcrumbServiceEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.sensorServiceEnabled) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.persistentLocationServiceEnabled) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.breadcrumbServiceEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.fitnessServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.fitnessServiceEnabled, fieldNumber: 1) + } + if self.awarenessServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.awarenessServiceEnabled, fieldNumber: 2) + } + if self.persistentBreadcrumbServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.persistentBreadcrumbServiceEnabled, fieldNumber: 3) + } + if self.sensorServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.sensorServiceEnabled, fieldNumber: 4) + } + if self.persistentLocationServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.persistentLocationServiceEnabled, fieldNumber: 5) + } + if self.breadcrumbServiceEnabled != false { + try visitor.visitSingularBoolField(value: self.breadcrumbServiceEnabled, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalAdventureSyncSettingsProto, rhs: InternalAdventureSyncSettingsProto) -> Bool { + if lhs.fitnessServiceEnabled != rhs.fitnessServiceEnabled {return false} + if lhs.awarenessServiceEnabled != rhs.awarenessServiceEnabled {return false} + if lhs.persistentBreadcrumbServiceEnabled != rhs.persistentBreadcrumbServiceEnabled {return false} + if lhs.sensorServiceEnabled != rhs.sensorServiceEnabled {return false} + if lhs.persistentLocationServiceEnabled != rhs.persistentLocationServiceEnabled {return false} + if lhs.breadcrumbServiceEnabled != rhs.breadcrumbServiceEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalApnToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalApnToken" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "registration_id"), + 2: .standard(proto: "bundle_identifier"), + 3: .standard(proto: "payload_byte_size"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.registrationID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.bundleIdentifier) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.payloadByteSize) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.registrationID.isEmpty { + try visitor.visitSingularStringField(value: self.registrationID, fieldNumber: 1) + } + if !self.bundleIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.bundleIdentifier, fieldNumber: 2) + } + if self.payloadByteSize != 0 { + try visitor.visitSingularInt32Field(value: self.payloadByteSize, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalApnToken, rhs: InternalApnToken) -> Bool { + if lhs.registrationID != rhs.registrationID {return false} + if lhs.bundleIdentifier != rhs.bundleIdentifier {return false} + if lhs.payloadByteSize != rhs.payloadByteSize {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalAuthProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalAuthProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "email"), + 2: .standard(proto: "player_id"), + 3: .standard(proto: "app_id"), + 4: .same(proto: "key"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.email) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.appID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.key) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.email.isEmpty { + try visitor.visitSingularStringField(value: self.email, fieldNumber: 1) + } + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 2) + } + if !self.appID.isEmpty { + try visitor.visitSingularStringField(value: self.appID, fieldNumber: 3) + } + if !self.key.isEmpty { + try visitor.visitSingularStringField(value: self.key, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalAuthProto, rhs: InternalAuthProto) -> Bool { + if lhs.email != rhs.email {return false} + if lhs.playerID != rhs.playerID {return false} + if lhs.appID != rhs.appID {return false} + if lhs.key != rhs.key {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalBreadcrumbRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalBreadcrumbRecordProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "timestamp_ms"), + 2: .standard(proto: "latitude_deg"), + 3: .standard(proto: "longitude_deg"), + 4: .standard(proto: "app_is_foregrounded"), + 5: .standard(proto: "altitude_m"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitudeDeg) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitudeDeg) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.appIsForegrounded) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.altitudeM) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) + } + if self.latitudeDeg != 0 { + try visitor.visitSingularDoubleField(value: self.latitudeDeg, fieldNumber: 2) + } + if self.longitudeDeg != 0 { + try visitor.visitSingularDoubleField(value: self.longitudeDeg, fieldNumber: 3) + } + if self.appIsForegrounded != false { + try visitor.visitSingularBoolField(value: self.appIsForegrounded, fieldNumber: 4) + } + if self.altitudeM != 0 { + try visitor.visitSingularDoubleField(value: self.altitudeM, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalBreadcrumbRecordProto, rhs: InternalBreadcrumbRecordProto) -> Bool { + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs.latitudeDeg != rhs.latitudeDeg {return false} + if lhs.longitudeDeg != rhs.longitudeDeg {return false} + if lhs.appIsForegrounded != rhs.appIsForegrounded {return false} + if lhs.altitudeM != rhs.altitudeM {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCancelFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalCancelFriendInviteOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalCancelFriendInviteOutProto, rhs: InternalCancelFriendInviteOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCancelFriendInviteOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_INVITE_DOES_NOT_EXIST"), + 4: .same(proto: "ERROR_ALREADY_CANCELLED"), + ] +} + +extension InternalCancelFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalCancelFriendInviteProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .standard(proto: "nia_account_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + } + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalCancelFriendInviteProto, rhs: InternalCancelFriendInviteProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalClientInbox: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalClientInbox" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "notifications"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.notifications) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.notifications.isEmpty { + try visitor.visitRepeatedMessageField(value: self.notifications, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalClientInbox, rhs: InternalClientInbox) -> Bool { + if lhs.notifications != rhs.notifications {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalClientInbox.Label: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET_LABEL"), + 1: .same(proto: "UNREAD"), + 2: .same(proto: "NEW"), + 3: .same(proto: "IMMEDIATE"), + ] +} + +extension InternalClientInbox.Notification: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalClientInbox.protoMessageName + ".Notification" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "notification_id"), + 2: .standard(proto: "title_key"), + 3: .same(proto: "category"), + 4: .standard(proto: "create_timestamp_ms"), + 5: .same(proto: "variables"), + 6: .same(proto: "labels"), + 7: .standard(proto: "expire_time_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.notificationID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.titleKey) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.category) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.createTimestampMs) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.variables) }() + case 6: try { try decoder.decodeRepeatedEnumField(value: &self.labels) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.expireTimeMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.notificationID.isEmpty { + try visitor.visitSingularStringField(value: self.notificationID, fieldNumber: 1) + } + if !self.titleKey.isEmpty { + try visitor.visitSingularStringField(value: self.titleKey, fieldNumber: 2) + } + if !self.category.isEmpty { + try visitor.visitSingularStringField(value: self.category, fieldNumber: 3) + } + if self.createTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.createTimestampMs, fieldNumber: 4) + } + if !self.variables.isEmpty { + try visitor.visitRepeatedMessageField(value: self.variables, fieldNumber: 5) + } + if !self.labels.isEmpty { + try visitor.visitPackedEnumField(value: self.labels, fieldNumber: 6) + } + if self.expireTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.expireTimeMs, fieldNumber: 7) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalClientInbox.Notification, rhs: InternalClientInbox.Notification) -> Bool { + if lhs.notificationID != rhs.notificationID {return false} + if lhs.titleKey != rhs.titleKey {return false} + if lhs.category != rhs.category {return false} + if lhs.createTimestampMs != rhs.createTimestampMs {return false} + if lhs.variables != rhs.variables {return false} + if lhs.labels != rhs.labels {return false} + if lhs.expireTimeMs != rhs.expireTimeMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCreateGuestLoginSecretTokenRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalCreateGuestLoginSecretTokenRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "api_key"), + 2: .standard(proto: "device_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.apiKey) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.deviceID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.apiKey.isEmpty { + try visitor.visitSingularStringField(value: self.apiKey, fieldNumber: 1) + } + if !self.deviceID.isEmpty { + try visitor.visitSingularStringField(value: self.deviceID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalCreateGuestLoginSecretTokenRequestProto, rhs: InternalCreateGuestLoginSecretTokenRequestProto) -> Bool { + if lhs.apiKey != rhs.apiKey {return false} + if lhs.deviceID != rhs.deviceID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCreateGuestLoginSecretTokenResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalCreateGuestLoginSecretTokenResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .same(proto: "secret"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.secret) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.secret.isEmpty { + try visitor.visitSingularBytesField(value: self.secret, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalCreateGuestLoginSecretTokenResponseProto, rhs: InternalCreateGuestLoginSecretTokenResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.secret != rhs.secret {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCreateGuestLoginSecretTokenResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "UNKNOWN_ERROR"), + 3: .same(proto: "UNAUTHORIZED"), + 4: .same(proto: "DISABLED"), + 5: .same(proto: "EXCEEDED_RATE_LIMIT"), + ] +} + +extension InternalCreateSharedLoginTokenRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalCreateSharedLoginTokenRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "device_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.deviceID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.deviceID.isEmpty { + try visitor.visitSingularStringField(value: self.deviceID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalCreateSharedLoginTokenRequest, rhs: InternalCreateSharedLoginTokenRequest) -> Bool { + if lhs.deviceID != rhs.deviceID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCreateSharedLoginTokenResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalCreateSharedLoginTokenResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "shared_login_token"), + 3: .standard(proto: "token_meta_data"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.sharedLoginToken) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._tokenMetaData) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.sharedLoginToken.isEmpty { + try visitor.visitSingularBytesField(value: self.sharedLoginToken, fieldNumber: 2) + } + try { if let v = self._tokenMetaData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalCreateSharedLoginTokenResponse, rhs: InternalCreateSharedLoginTokenResponse) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.sharedLoginToken != rhs.sharedLoginToken {return false} + if lhs._tokenMetaData != rhs._tokenMetaData {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCreateSharedLoginTokenResponse.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalCreateSharedLoginTokenResponse.TokenMetaData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalCreateSharedLoginTokenResponse.protoMessageName + ".TokenMetaData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "email"), + 2: .standard(proto: "expiration_timestamp_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.email) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTimestampMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.email.isEmpty { + try visitor.visitSingularStringField(value: self.email, fieldNumber: 1) + } + if self.expirationTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.expirationTimestampMs, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalCreateSharedLoginTokenResponse.TokenMetaData, rhs: InternalCreateSharedLoginTokenResponse.TokenMetaData) -> Bool { + if lhs.email != rhs.email {return false} + if lhs.expirationTimestampMs != rhs.expirationTimestampMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCrmProxyRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalCrmProxyRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "action"), + 2: .same(proto: "payload"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularUInt32Field(value: &self.action) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.action != 0 { + try visitor.visitSingularUInt32Field(value: self.action, fieldNumber: 1) + } + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalCrmProxyRequestProto, rhs: InternalCrmProxyRequestProto) -> Bool { + if lhs.action != rhs.action {return false} + if lhs.payload != rhs.payload {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCrmProxyResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalCrmProxyResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "error_message"), + 3: .same(proto: "payload"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + } + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalCrmProxyResponseProto, rhs: InternalCrmProxyResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.errorMessage != rhs.errorMessage {return false} + if lhs.payload != rhs.payload {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalCrmProxyResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "OK"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PERMISSION_DENIED"), + 4: .same(proto: "ERROR_UNAVAILABLE"), + 5: .same(proto: "ERROR_UNAUTHENTICATED"), + ] +} + +extension InternalDataAccessRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDataAccessRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "email"), + 2: .standard(proto: "language_short_code"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.email) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.languageShortCode) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.email.isEmpty { + try visitor.visitSingularStringField(value: self.email, fieldNumber: 1) + } + if !self.languageShortCode.isEmpty { + try visitor.visitSingularStringField(value: self.languageShortCode, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDataAccessRequest, rhs: InternalDataAccessRequest) -> Bool { + if lhs.email != rhs.email {return false} + if lhs.languageShortCode != rhs.languageShortCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDataAccessResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDataAccessResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "error_message"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDataAccessResponse, rhs: InternalDataAccessResponse) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.errorMessage != rhs.errorMessage {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDataAccessResponse.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALIDEMAIL"), + 3: .same(proto: "ERROR_INVALIDLANGUAGE"), + 4: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalDebugInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDebugInfoProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "latitude"), + 2: .same(proto: "longitude"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 1) + } + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDebugInfoProto, rhs: InternalDebugInfoProto) -> Bool { + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDeclineFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDeclineFriendInviteOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDeclineFriendInviteOutProto, rhs: InternalDeclineFriendInviteOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDeclineFriendInviteOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_INVITE_DOES_NOT_EXIST"), + 4: .same(proto: "ERROR_INVITE_ALREADY_DECLINED"), + ] +} + +extension InternalDeclineFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDeclineFriendInviteProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .standard(proto: "nia_account_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + } + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDeclineFriendInviteProto, rhs: InternalDeclineFriendInviteProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDeleteAccountEmailOnFileRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDeleteAccountEmailOnFileRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "language_short_code"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.languageShortCode) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.languageShortCode.isEmpty { + try visitor.visitSingularStringField(value: self.languageShortCode, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDeleteAccountEmailOnFileRequest, rhs: InternalDeleteAccountEmailOnFileRequest) -> Bool { + if lhs.languageShortCode != rhs.languageShortCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDeleteAccountEmailOnFileResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDeleteAccountEmailOnFileResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "error_message"), + 3: .standard(proto: "confirmation_email"), + 4: .standard(proto: "has_apple_provider"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.confirmationEmail) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.hasAppleProvider_p) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + } + if !self.confirmationEmail.isEmpty { + try visitor.visitSingularStringField(value: self.confirmationEmail, fieldNumber: 3) + } + if self.hasAppleProvider_p != false { + try visitor.visitSingularBoolField(value: self.hasAppleProvider_p, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDeleteAccountEmailOnFileResponse, rhs: InternalDeleteAccountEmailOnFileResponse) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.errorMessage != rhs.errorMessage {return false} + if lhs.confirmationEmail != rhs.confirmationEmail {return false} + if lhs.hasAppleProvider_p != rhs.hasAppleProvider_p {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDeleteAccountEmailOnFileResponse.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_EMAIL_NOT_ON_FILE"), + 3: .same(proto: "ERROR_INVALID_LANGUAGE"), + 4: .same(proto: "ERROR_APP_NOT_SUPPORTED"), + 5: .same(proto: "ERROR_INVALID_PLAYER"), + 6: .same(proto: "ERROR_DUPLICATE_REQUEST"), + 7: .same(proto: "ERROR_HELPSHIFT_ERROR"), + 8: .same(proto: "ERROR_UNKNOWN"), + 9: .same(proto: "ERROR_CODENAME_NOT_ON_FILE"), + ] +} + +extension InternalDeleteAccountRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDeleteAccountRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "email"), + 2: .standard(proto: "language_short_code"), + 3: .standard(proto: "is_dry_run"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.email) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.languageShortCode) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isDryRun) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.email.isEmpty { + try visitor.visitSingularStringField(value: self.email, fieldNumber: 1) + } + if !self.languageShortCode.isEmpty { + try visitor.visitSingularStringField(value: self.languageShortCode, fieldNumber: 2) + } + if self.isDryRun != false { + try visitor.visitSingularBoolField(value: self.isDryRun, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDeleteAccountRequest, rhs: InternalDeleteAccountRequest) -> Bool { + if lhs.email != rhs.email {return false} + if lhs.languageShortCode != rhs.languageShortCode {return false} + if lhs.isDryRun != rhs.isDryRun {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDeleteAccountResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDeleteAccountResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "error_message"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDeleteAccountResponse, rhs: InternalDeleteAccountResponse) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.errorMessage != rhs.errorMessage {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDeleteAccountResponse.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALIDEMAIL"), + 3: .same(proto: "ERROR_INVALIDLANGUAGE"), + 4: .same(proto: "ERROR_UNKNOWN"), + 5: .same(proto: "ERROR_APP_NOT_SUPPORTED"), + 6: .same(proto: "ERROR_INVALID_PLAYER"), + 7: .same(proto: "ERROR_DUPLICATE_REQUEST"), + ] +} + +extension InternalDismissContactListUpdateRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDismissContactListUpdateRequest" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDismissContactListUpdateRequest, rhs: InternalDismissContactListUpdateRequest) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDismissContactListUpdateResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDismissContactListUpdateResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDismissContactListUpdateResponse, rhs: InternalDismissContactListUpdateResponse) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDismissContactListUpdateResponse.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalDismissOutgoingGameInvitesRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDismissOutgoingGameInvitesRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "friend_id"), + 2: .standard(proto: "app_key"), + 3: .standard(proto: "friend_nia_account_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.appKey) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.friendNiaAccountID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.friendID.isEmpty { + try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) + } + if !self.appKey.isEmpty { + try visitor.visitRepeatedStringField(value: self.appKey, fieldNumber: 2) + } + if !self.friendNiaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.friendNiaAccountID, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDismissOutgoingGameInvitesRequest, rhs: InternalDismissOutgoingGameInvitesRequest) -> Bool { + if lhs.friendID != rhs.friendID {return false} + if lhs.appKey != rhs.appKey {return false} + if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDismissOutgoingGameInvitesResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDismissOutgoingGameInvitesResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDismissOutgoingGameInvitesResponse, rhs: InternalDismissOutgoingGameInvitesResponse) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDismissOutgoingGameInvitesResponse.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + ] +} + +extension InternalDownloadSettingsActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDownloadSettingsActionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "sha1"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.sha1) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.sha1.isEmpty { + try visitor.visitSingularStringField(value: self.sha1, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDownloadSettingsActionProto, rhs: InternalDownloadSettingsActionProto) -> Bool { + if lhs.sha1 != rhs.sha1 {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalDownloadSettingsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalDownloadSettingsResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "error"), + 2: .same(proto: "sha1"), + 3: .same(proto: "values"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.error) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.sha1) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.values) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.error.isEmpty { + try visitor.visitSingularStringField(value: self.error, fieldNumber: 1) + } + if !self.sha1.isEmpty { + try visitor.visitSingularStringField(value: self.sha1, fieldNumber: 2) + } + if !self.values.isEmpty { + try visitor.visitSingularBytesField(value: self.values, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalDownloadSettingsResponseProto, rhs: InternalDownloadSettingsResponseProto) -> Bool { + if lhs.error != rhs.error {return false} + if lhs.sha1 != rhs.sha1 {return false} + if lhs.values != rhs.values {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalFitnessMetricsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalFitnessMetricsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "distance_walked_meters"), + 2: .standard(proto: "step_count"), + 3: .standard(proto: "calories_burned_kcals"), + 4: .standard(proto: "exercise_duration_mi"), + 5: .standard(proto: "wheelchair_distance_meters"), + 6: .standard(proto: "wheelchair_push_count"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularDoubleField(value: &self.distanceWalkedMeters) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.stepCount) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.caloriesBurnedKcals) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.exerciseDurationMi) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.wheelchairDistanceMeters) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.wheelchairPushCount) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.distanceWalkedMeters != 0 { + try visitor.visitSingularDoubleField(value: self.distanceWalkedMeters, fieldNumber: 1) + } + if self.stepCount != 0 { + try visitor.visitSingularInt32Field(value: self.stepCount, fieldNumber: 2) + } + if self.caloriesBurnedKcals != 0 { + try visitor.visitSingularDoubleField(value: self.caloriesBurnedKcals, fieldNumber: 3) + } + if self.exerciseDurationMi != 0 { + try visitor.visitSingularInt64Field(value: self.exerciseDurationMi, fieldNumber: 4) + } + if self.wheelchairDistanceMeters != 0 { + try visitor.visitSingularDoubleField(value: self.wheelchairDistanceMeters, fieldNumber: 5) + } + if self.wheelchairPushCount != 0 { + try visitor.visitSingularDoubleField(value: self.wheelchairPushCount, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalFitnessMetricsProto, rhs: InternalFitnessMetricsProto) -> Bool { + if lhs.distanceWalkedMeters != rhs.distanceWalkedMeters {return false} + if lhs.stepCount != rhs.stepCount {return false} + if lhs.caloriesBurnedKcals != rhs.caloriesBurnedKcals {return false} + if lhs.exerciseDurationMi != rhs.exerciseDurationMi {return false} + if lhs.wheelchairDistanceMeters != rhs.wheelchairDistanceMeters {return false} + if lhs.wheelchairPushCount != rhs.wheelchairPushCount {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalFitnessReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalFitnessReportProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "day_offset_from_now"), + 2: .standard(proto: "week_offset_from_now"), + 3: .standard(proto: "hour_offset_from_now"), + 4: .same(proto: "metrics"), + 5: .standard(proto: "game_data"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { + var v: Int32? + try decoder.decodeSingularInt32Field(value: &v) + if let v = v { + if self.window != nil {try decoder.handleConflictingOneOf()} + self.window = .dayOffsetFromNow(v) + } + }() + case 2: try { + var v: Int32? + try decoder.decodeSingularInt32Field(value: &v) + if let v = v { + if self.window != nil {try decoder.handleConflictingOneOf()} + self.window = .weekOffsetFromNow(v) + } + }() + case 3: try { + var v: Int32? + try decoder.decodeSingularInt32Field(value: &v) + if let v = v { + if self.window != nil {try decoder.handleConflictingOneOf()} + self.window = .hourOffsetFromNow(v) + } + }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._metrics) }() + case 5: try { try decoder.decodeSingularBytesField(value: &self.gameData) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.window { + case .dayOffsetFromNow?: try { + guard case .dayOffsetFromNow(let v)? = self.window else { preconditionFailure() } + try visitor.visitSingularInt32Field(value: v, fieldNumber: 1) + }() + case .weekOffsetFromNow?: try { + guard case .weekOffsetFromNow(let v)? = self.window else { preconditionFailure() } + try visitor.visitSingularInt32Field(value: v, fieldNumber: 2) + }() + case .hourOffsetFromNow?: try { + guard case .hourOffsetFromNow(let v)? = self.window else { preconditionFailure() } + try visitor.visitSingularInt32Field(value: v, fieldNumber: 3) + }() + case nil: break + } + try { if let v = self._metrics { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if !self.gameData.isEmpty { + try visitor.visitSingularBytesField(value: self.gameData, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalFitnessReportProto, rhs: InternalFitnessReportProto) -> Bool { + if lhs.window != rhs.window {return false} + if lhs._metrics != rhs._metrics {return false} + if lhs.gameData != rhs.gameData {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalFriendDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalFriendDetailsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "player"), + 2: .standard(proto: "friend_visible_data"), + 3: .same(proto: "score"), + 4: .standard(proto: "data_with_me"), + 5: .standard(proto: "online_status"), + 6: .standard(proto: "created_ms"), + 7: .standard(proto: "shared_data"), + 8: .standard(proto: "data_from_me"), + 9: .standard(proto: "data_to_me"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._player) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.friendVisibleData) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.score) }() + case 4: try { try decoder.decodeSingularBytesField(value: &self.dataWithMe) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.onlineStatus) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.createdMs) }() + case 7: try { try decoder.decodeSingularBytesField(value: &self.sharedData) }() + case 8: try { try decoder.decodeSingularBytesField(value: &self.dataFromMe) }() + case 9: try { try decoder.decodeSingularBytesField(value: &self.dataToMe) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._player { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.friendVisibleData.isEmpty { + try visitor.visitSingularBytesField(value: self.friendVisibleData, fieldNumber: 2) + } + if self.score != 0 { + try visitor.visitSingularInt32Field(value: self.score, fieldNumber: 3) + } + if !self.dataWithMe.isEmpty { + try visitor.visitSingularBytesField(value: self.dataWithMe, fieldNumber: 4) + } + if self.onlineStatus != .unset { + try visitor.visitSingularEnumField(value: self.onlineStatus, fieldNumber: 5) + } + if self.createdMs != 0 { + try visitor.visitSingularInt64Field(value: self.createdMs, fieldNumber: 6) + } + if !self.sharedData.isEmpty { + try visitor.visitSingularBytesField(value: self.sharedData, fieldNumber: 7) + } + if !self.dataFromMe.isEmpty { + try visitor.visitSingularBytesField(value: self.dataFromMe, fieldNumber: 8) + } + if !self.dataToMe.isEmpty { + try visitor.visitSingularBytesField(value: self.dataToMe, fieldNumber: 9) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalFriendDetailsProto, rhs: InternalFriendDetailsProto) -> Bool { + if lhs._player != rhs._player {return false} + if lhs.friendVisibleData != rhs.friendVisibleData {return false} + if lhs.score != rhs.score {return false} + if lhs.dataWithMe != rhs.dataWithMe {return false} + if lhs.onlineStatus != rhs.onlineStatus {return false} + if lhs.createdMs != rhs.createdMs {return false} + if lhs.sharedData != rhs.sharedData {return false} + if lhs.dataFromMe != rhs.dataFromMe {return false} + if lhs.dataToMe != rhs.dataToMe {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalFriendDetailsProto.OnlineStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "STATUS_UNKNOWN"), + 2: .same(proto: "STATUS_ONLINE"), + 3: .same(proto: "STATUS_OFFLINE"), + ] +} + +extension InternalGarAccountInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGarAccountInfoProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "niantic_id"), + 2: .standard(proto: "display_name"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.nianticID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.displayName) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.nianticID.isEmpty { + try visitor.visitSingularStringField(value: self.nianticID, fieldNumber: 1) + } + if !self.displayName.isEmpty { + try visitor.visitSingularStringField(value: self.displayName, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGarAccountInfoProto, rhs: InternalGarAccountInfoProto) -> Bool { + if lhs.nianticID != rhs.nianticID {return false} + if lhs.displayName != rhs.displayName {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGarProxyRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGarProxyRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "action"), + 2: .same(proto: "payload"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularUInt32Field(value: &self.action) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.action != 0 { + try visitor.visitSingularUInt32Field(value: self.action, fieldNumber: 1) + } + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGarProxyRequestProto, rhs: InternalGarProxyRequestProto) -> Bool { + if lhs.action != rhs.action {return false} + if lhs.payload != rhs.payload {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGarProxyResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGarProxyResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "error_message"), + 3: .same(proto: "payload"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .ok { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + } + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGarProxyResponseProto, rhs: InternalGarProxyResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.errorMessage != rhs.errorMessage {return false} + if lhs.payload != rhs.payload {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGarProxyResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "OK"), + 2: .same(proto: "ERROR_UNKNOWN"), + 7: .same(proto: "ERROR_PERMISSION_DENIED"), + 14: .same(proto: "ERROR_UNAVAILABLE"), + 16: .same(proto: "ERROR_UNAUTHENTICATED"), + ] +} + +extension InternalGcmToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGcmToken" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "registration_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.registrationID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.registrationID.isEmpty { + try visitor.visitSingularStringField(value: self.registrationID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGcmToken, rhs: InternalGcmToken) -> Bool { + if lhs.registrationID != rhs.registrationID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetAccountSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetAccountSettingsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "settings"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._settings) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._settings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetAccountSettingsOutProto, rhs: InternalGetAccountSettingsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._settings != rhs._settings {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetAccountSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalGetAccountSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetAccountSettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetAccountSettingsProto, rhs: InternalGetAccountSettingsProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetAdventureSyncSettingsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetAdventureSyncSettingsRequestProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetAdventureSyncSettingsRequestProto, rhs: InternalGetAdventureSyncSettingsRequestProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetAdventureSyncSettingsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetAdventureSyncSettingsResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "adventure_sync_settings"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._adventureSyncSettings) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try { if let v = self._adventureSyncSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetAdventureSyncSettingsResponseProto, rhs: InternalGetAdventureSyncSettingsResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._adventureSyncSettings != rhs._adventureSyncSettings {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetAdventureSyncSettingsResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + ] +} + +extension InternalGetClientFeatureFlagsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetClientFeatureFlagsRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "country_code"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetClientFeatureFlagsRequest, rhs: InternalGetClientFeatureFlagsRequest) -> Bool { + if lhs.countryCode != rhs.countryCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetClientFeatureFlagsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetClientFeatureFlagsResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "feature_flags"), + 2: .standard(proto: "global_settings"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch _storage._telemetryData { - case .bootTime?: try { - guard case .bootTime(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .frameRate?: try { - guard case .frameRate(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .genericClickTelemetry?: try { - guard case .genericClickTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .mapEventsTelemetry?: try { - guard case .mapEventsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .spinPokestopTelemetry?: try { - guard case .spinPokestopTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case .profilePageTelemetry?: try { - guard case .profilePageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - }() - case .shoppingPageTelemetry?: try { - guard case .shoppingPageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - }() - case .encounterPokemonTelemetry?: try { - guard case .encounterPokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - }() - case .catchPokemonTelemetry?: try { - guard case .catchPokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - }() - case .deployPokemonTelemetry?: try { - guard case .deployPokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - }() - case .feedPokemonTelemetry?: try { - guard case .feedPokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - }() - case .evolvePokemonTelemetry?: try { - guard case .evolvePokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - }() - case .releasePokemonTelemetry?: try { - guard case .releasePokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - }() - case .nicknamePokemonTelemetry?: try { - guard case .nicknamePokemonTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - }() - case .newsPageTelemetry?: try { - guard case .newsPageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - }() - case .itemTelemetry?: try { - guard case .itemTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - }() - case .battlePartyTelemetry?: try { - guard case .battlePartyTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 17) - }() - case .passcodeRedeemTelemetry?: try { - guard case .passcodeRedeemTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 18) - }() - case .linkLoginTelemetry?: try { - guard case .linkLoginTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 19) - }() - case .raidTelemetry?: try { - guard case .raidTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 20) - }() - case .pushNotificationTelemetry?: try { - guard case .pushNotificationTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 21) - }() - case .avatarCustomizationTelemetry?: try { - guard case .avatarCustomizationTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 22) - }() - case .readPointOfInterestDescriptionTelemetry?: try { - guard case .readPointOfInterestDescriptionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 23) - }() - case .webTelemetry?: try { - guard case .webTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 24) - }() - case .changeArTelemetry?: try { - guard case .changeArTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 25) - }() - case .weatherDetailClickTelemetry?: try { - guard case .weatherDetailClickTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 26) - }() - case .userIssueWeatherReport?: try { - guard case .userIssueWeatherReport(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 27) - }() - case .pokemonInventoryTelemetry?: try { - guard case .pokemonInventoryTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 28) - }() - case .socialTelemetry?: try { - guard case .socialTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 29) - }() - case .checkEncounterInfoTelemetry?: try { - guard case .checkEncounterInfoTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 30) - }() - case .pokemonGoPlusTelemetry?: try { - guard case .pokemonGoPlusTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 31) - }() - case .rpcTimingTelemetry?: try { - guard case .rpcTimingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 32) - }() - case .socialGiftCountTelemetry?: try { - guard case .socialGiftCountTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 33) - }() - case .assetBundleTelemetry?: try { - guard case .assetBundleTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 34) - }() - case .assetPoiDownloadTelemetry?: try { - guard case .assetPoiDownloadTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 35) - }() - case .assetStreamDownloadTelemetry?: try { - guard case .assetStreamDownloadTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 36) - }() - case .assetStreamCacheCulledTelemetry?: try { - guard case .assetStreamCacheCulledTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 37) - }() - case .rpcSocketTimingTelemetry?: try { - guard case .rpcSocketTimingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 38) - }() - case .permissionsFlow?: try { - guard case .permissionsFlow(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 39) - }() - case .deviceServiceToggle?: try { - guard case .deviceServiceToggle(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 40) - }() - case .bootTelemetry?: try { - guard case .bootTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 41) - }() - case .userAttributes?: try { - guard case .userAttributes(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 42) - }() - case .onboardingTelemetry?: try { - guard case .onboardingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 43) - }() - case .loginActionTelemetry?: try { - guard case .loginActionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 44) - }() - case .arPhotoSessionTelemetry?: try { - guard case .arPhotoSessionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 45) - }() - case .invasionTelemetry?: try { - guard case .invasionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 46) - }() - case .combatMinigameTelemetry?: try { - guard case .combatMinigameTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 47) - }() - case .leavePointOfInterestTelemetry?: try { - guard case .leavePointOfInterestTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 48) - }() - case .viewPointOfInterestImageTelemetry?: try { - guard case .viewPointOfInterestImageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 49) - }() - case .combatHubEntranceTelemetry?: try { - guard case .combatHubEntranceTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 50) - }() - case .leaveInteractionRangeTelemetry?: try { - guard case .leaveInteractionRangeTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 51) - }() - case .shoppingPageClickTelemetry?: try { - guard case .shoppingPageClickTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 52) - }() - case .shoppingPageScrollTelemetry?: try { - guard case .shoppingPageScrollTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 53) - }() - case .deviceSpecificationsTelemetry?: try { - guard case .deviceSpecificationsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 54) - }() - case .screenResolutionTelemetry?: try { - guard case .screenResolutionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 55) - }() - case .arBuddyMultiplayerSessionTelemetry?: try { - guard case .arBuddyMultiplayerSessionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 56) - }() - case .buddyMultiplayerConnectionFailedTelemetry?: try { - guard case .buddyMultiplayerConnectionFailedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 57) - }() - case .buddyMultiplayerConnectionSucceededTelemetry?: try { - guard case .buddyMultiplayerConnectionSucceededTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 58) - }() - case .buddyMultiplayerTimeToGetSessionTelemetry?: try { - guard case .buddyMultiplayerTimeToGetSessionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 59) - }() - case .playerHudNotificationClickTelemetry?: try { - guard case .playerHudNotificationClickTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 60) - }() - case .monodepthDownloadTelemetry?: try { - guard case .monodepthDownloadTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 61) - }() - case .arMappingTelemetry?: try { - guard case .arMappingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 62) - }() - case .remoteRaidTelemetry?: try { - guard case .remoteRaidTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 63) - }() - case .deviceOsTelemetry?: try { - guard case .deviceOsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 64) - }() - case .nianticProfileTelemetry?: try { - guard case .nianticProfileTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 65) - }() - case .changeOnlineStatusTelemetry?: try { - guard case .changeOnlineStatusTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 66) - }() - case .deepLinkingTelemetry?: try { - guard case .deepLinkingTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 67) - }() - case .arMappingSessionTelemetry?: try { - guard case .arMappingSessionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 68) - }() - case .pokemonHomeTelemetry?: try { - guard case .pokemonHomeTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 69) - }() - case .pokemonSearchTelemetry?: try { - guard case .pokemonSearchTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 70) - }() - case .imageGalleryTelemetry?: try { - guard case .imageGalleryTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 71) - }() - case .playerShownLevelUpShareScreenTelemetry?: try { - guard case .playerShownLevelUpShareScreenTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 72) - }() - case .referralTelemetry?: try { - guard case .referralTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 73) - }() - case .uploadManagementTelemetry?: try { - guard case .uploadManagementTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 74) - }() - case .wayspotEditTelemetry?: try { - guard case .wayspotEditTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 75) - }() - case .clientSettingsTelemetry?: try { - guard case .clientSettingsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 76) - }() - case .pokedexCategorySelectedTelemetry?: try { - guard case .pokedexCategorySelectedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 77) - }() - case .percentScrolledTelemetry?: try { - guard case .percentScrolledTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 78) - }() - case .addressBookImportTelemetry?: try { - guard case .addressBookImportTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 79) - }() - case .missingTranslationTelemetry?: try { - guard case .missingTranslationTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 80) - }() - case .eggHatchTelemetry?: try { - guard case .eggHatchTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 81) - }() - case .pushGatewayTelemetry?: try { - guard case .pushGatewayTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 82) - }() - case .pushGatewayUpstreamErrorTelemetry?: try { - guard case .pushGatewayUpstreamErrorTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 83) - }() - case .usernameSuggestionTelemetry?: try { - guard case .usernameSuggestionTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 84) - }() - case .tutorialTelemetry?: try { - guard case .tutorialTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 85) - }() - case .postcardBookTelemetry?: try { - guard case .postcardBookTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 86) - }() - case .socialInboxTelemetry?: try { - guard case .socialInboxTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 87) - }() - case .homeWidgetTelemetry?: try { - guard case .homeWidgetTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 93) - }() - case .pokemonLoadDelay?: try { - guard case .pokemonLoadDelay(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 94) - }() - case .accountDeletionInitiatedTelemetry?: try { - guard case .accountDeletionInitiatedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 95) - }() - case .fortUpdateLatencyTelemetry?: try { - guard case .fortUpdateLatencyTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 96) - }() - case .getMapObjectsTriggerTelemetry?: try { - guard case .getMapObjectsTriggerTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 97) - }() - case .updateCombatResponseTimeTelemetry?: try { - guard case .updateCombatResponseTimeTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 98) - }() - case .openCampfireMapTelemetry?: try { - guard case .openCampfireMapTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 99) - }() - case .downloadAllAssetsTelemetry?: try { - guard case .downloadAllAssetsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 100) - }() - case .dailyAdventureIncenseTelemetry?: try { - guard case .dailyAdventureIncenseTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 101) - }() - case .clientToggleSettingsTelemetry?: try { - guard case .clientToggleSettingsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 102) - }() - case .notificationPermissionsTelemetry?: try { - guard case .notificationPermissionsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 103) - }() - case .assetRefreshTelemetry?: try { - guard case .assetRefreshTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 104) - }() - case .catchCardTelemetry?: try { - guard case .catchCardTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 105) - }() - case .followerPokemonTappedTelemetry?: try { - guard case .followerPokemonTappedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 106) - }() - case .sizeRecordBreakTelemetry?: try { - guard case .sizeRecordBreakTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 107) - }() - case .timeToPlayableTelemetry?: try { - guard case .timeToPlayableTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 108) - }() - case .languageTelemetry?: try { - guard case .languageTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 109) - }() - case .questListTelemetry?: try { - guard case .questListTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 110) - }() - case .mapRighthandIconsTelemetry?: try { - guard case .mapRighthandIconsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 111) - }() - case .showcaseDetailsTelemetry?: try { - guard case .showcaseDetailsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 112) - }() - case .showcaseRewardsTelemetry?: try { - guard case .showcaseRewardsTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 113) - }() - case .routeDiscoveryTelemetry?: try { - guard case .routeDiscoveryTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 114) - }() - case .routePlayTappableSpawnedTelemetry?: try { - guard case .routePlayTappableSpawnedTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 115) - }() - case .routeErrorTelemetry?: try { - guard case .routeErrorTelemetry(let v)? = _storage._telemetryData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 116) - }() - case nil: break + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._featureFlags) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._globalSettings) }() + default: break } - try { if let v = _storage._serverData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) - } }() - try { if let v = _storage._commonFilters { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) - } }() } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._featureFlags { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._globalSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: HoloholoClientTelemetryOmniProto, rhs: HoloholoClientTelemetryOmniProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._telemetryData != rhs_storage._telemetryData {return false} - if _storage._serverData != rhs_storage._serverData {return false} - if _storage._commonFilters != rhs_storage._commonFilters {return false} - return true + public static func ==(lhs: InternalGetClientFeatureFlagsResponse, rhs: InternalGetClientFeatureFlagsResponse) -> Bool { + if lhs._featureFlags != rhs._featureFlags {return false} + if lhs._globalSettings != rhs._globalSettings {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetClientSettingsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetClientSettingsRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "country_code"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + default: break } - if !storagesAreEqual {return false} } + } + + public func traverse(visitor: inout V) throws { + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetClientSettingsRequest, rhs: InternalGetClientSettingsRequest) -> Bool { + if lhs.countryCode != rhs.countryCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetClientSettingsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetClientSettingsResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "phone_number_settings"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._phoneNumberSettings) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._phoneNumberSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetClientSettingsResponse, rhs: InternalGetClientSettingsResponse) -> Bool { + if lhs._phoneNumberSettings != rhs._phoneNumberSettings {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetClientSettingsResponse.PhoneNumberSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetClientSettingsResponse.protoMessageName + ".PhoneNumberSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "country"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.country) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.country.isEmpty { + try visitor.visitRepeatedMessageField(value: self.country, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetClientSettingsResponse.PhoneNumberSettings, rhs: InternalGetClientSettingsResponse.PhoneNumberSettings) -> Bool { + if lhs.country != rhs.country {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetContactListInfoRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetContactListInfoRequest" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetContactListInfoRequest, rhs: InternalGetContactListInfoRequest) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetContactListInfoResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetContactListInfoResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "has_new_account_matching"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.hasNewAccountMatching_p) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.hasNewAccountMatching_p != false { + try visitor.visitSingularBoolField(value: self.hasNewAccountMatching_p, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetContactListInfoResponse, rhs: InternalGetContactListInfoResponse) -> Bool { + if lhs.hasNewAccountMatching_p != rhs.hasNewAccountMatching_p {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFacebookFriendListOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFacebookFriendListOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "friend"), + 3: .standard(proto: "next_cursor"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friend) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.nextCursor) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.friend.isEmpty { + try visitor.visitRepeatedMessageField(value: self.friend, fieldNumber: 2) + } + if !self.nextCursor.isEmpty { + try visitor.visitSingularStringField(value: self.nextCursor, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFacebookFriendListOutProto, rhs: InternalGetFacebookFriendListOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.friend != rhs.friend {return false} + if lhs.nextCursor != rhs.nextCursor {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFacebookFriendListOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_FACEBOOK_API"), + 4: .same(proto: "ERROR_FACEBOOK_PERMISSIONS"), + 5: .same(proto: "ERROR_NO_FACEBOOK_ID"), + 6: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + ] +} + +extension InternalGetFacebookFriendListOutProto.FacebookFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetFacebookFriendListOutProto.protoMessageName + ".FacebookFriendProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "player"), + 2: .standard(proto: "full_name"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._player) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fullName) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._player { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.fullName.isEmpty { + try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFacebookFriendListOutProto.FacebookFriendProto, rhs: InternalGetFacebookFriendListOutProto.FacebookFriendProto) -> Bool { + if lhs._player != rhs._player {return false} + if lhs.fullName != rhs.fullName {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFacebookFriendListProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFacebookFriendListProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fb_access_token"), + 2: .same(proto: "limit"), + 3: .same(proto: "cursor"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.fbAccessToken) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.limit) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.cursor) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.fbAccessToken.isEmpty { + try visitor.visitSingularStringField(value: self.fbAccessToken, fieldNumber: 1) + } + if self.limit != 0 { + try visitor.visitSingularInt32Field(value: self.limit, fieldNumber: 2) + } + if !self.cursor.isEmpty { + try visitor.visitSingularStringField(value: self.cursor, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFacebookFriendListProto, rhs: InternalGetFacebookFriendListProto) -> Bool { + if lhs.fbAccessToken != rhs.fbAccessToken {return false} + if lhs.limit != rhs.limit {return false} + if lhs.cursor != rhs.cursor {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFitnessReportOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFitnessReportOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "daily_reports"), + 3: .standard(proto: "weekly_reports"), + 4: .standard(proto: "week_reset_timestamp_since_monday_ms"), + 5: .standard(proto: "hourly_reports"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.dailyReports) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.weeklyReports) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.weekResetTimestampSinceMondayMs) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.hourlyReports) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.dailyReports.isEmpty { + try visitor.visitRepeatedMessageField(value: self.dailyReports, fieldNumber: 2) + } + if !self.weeklyReports.isEmpty { + try visitor.visitRepeatedMessageField(value: self.weeklyReports, fieldNumber: 3) + } + if self.weekResetTimestampSinceMondayMs != 0 { + try visitor.visitSingularInt64Field(value: self.weekResetTimestampSinceMondayMs, fieldNumber: 4) + } + if !self.hourlyReports.isEmpty { + try visitor.visitRepeatedMessageField(value: self.hourlyReports, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFitnessReportOutProto, rhs: InternalGetFitnessReportOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.dailyReports != rhs.dailyReports {return false} + if lhs.weeklyReports != rhs.weeklyReports {return false} + if lhs.weekResetTimestampSinceMondayMs != rhs.weekResetTimestampSinceMondayMs {return false} + if lhs.hourlyReports != rhs.hourlyReports {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFitnessReportOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + 3: .same(proto: "ERROR_RECORDS_NOT_FOUND"), + 4: .same(proto: "ERROR_INVALID_WINDOW"), + 5: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalGetFitnessReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFitnessReportProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "num_of_days"), + 2: .standard(proto: "num_of_weeks"), + 3: .standard(proto: "num_of_hours"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numOfDays) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numOfWeeks) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.numOfHours) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.numOfDays != 0 { + try visitor.visitSingularInt32Field(value: self.numOfDays, fieldNumber: 1) + } + if self.numOfWeeks != 0 { + try visitor.visitSingularInt32Field(value: self.numOfWeeks, fieldNumber: 2) + } + if self.numOfHours != 0 { + try visitor.visitSingularInt32Field(value: self.numOfHours, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFitnessReportProto, rhs: InternalGetFitnessReportProto) -> Bool { + if lhs.numOfDays != rhs.numOfDays {return false} + if lhs.numOfWeeks != rhs.numOfWeeks {return false} + if lhs.numOfHours != rhs.numOfHours {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFriendCodeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFriendCodeOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "friend_code"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.friendCode) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.friendCode.isEmpty { + try visitor.visitSingularStringField(value: self.friendCode, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFriendCodeOutProto, rhs: InternalGetFriendCodeOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.friendCode != rhs.friendCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFriendCodeOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + ] +} + +extension InternalGetFriendCodeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFriendCodeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "force_generate_code"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.forceGenerateCode) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.forceGenerateCode != false { + try visitor.visitSingularBoolField(value: self.forceGenerateCode, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFriendCodeProto, rhs: InternalGetFriendCodeProto) -> Bool { + if lhs.forceGenerateCode != rhs.forceGenerateCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFriendDetailsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFriendDetailsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "friend"), + 3: .standard(proto: "friend_details_debug_info"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friend) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._friendDetailsDebugInfo) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.friend.isEmpty { + try visitor.visitRepeatedMessageField(value: self.friend, fieldNumber: 2) + } + try { if let v = self._friendDetailsDebugInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFriendDetailsOutProto, rhs: InternalGetFriendDetailsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.friend != rhs.friend {return false} + if lhs._friendDetailsDebugInfo != rhs._friendDetailsDebugInfo {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension HomeWidgetSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".HomeWidgetSettingsProto" +extension InternalGetFriendDetailsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_home_widget_settings_1"), - 3: .standard(proto: "ob_bool_2"), - 4: .standard(proto: "ob_home_widget_settings_2"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "EXCEEDS_MAX_PLAYERS_PER_QUERY"), + ] +} + +extension InternalGetFriendDetailsOutProto.DebugProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetFriendDetailsOutProto.protoMessageName + ".DebugProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fetched_from_db"), + 2: .standard(proto: "fetched_from_fanout"), + 3: .standard(proto: "fetched_from_player_mapper"), + 4: .standard(proto: "fetched_from_status_cache"), + 5: .standard(proto: "failed_to_fetch"), + 6: .standard(proto: "fetched_from_same_server_as_player"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -224749,51 +235670,56 @@ extension HomeWidgetSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._obHomeWidgetSettings1) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._obHomeWidgetSettings2) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromDb) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromFanout) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromPlayerMapper) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromStatusCache) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.failedToFetch) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.fetchedFromSameServerAsPlayer) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.fetchedFromDb != 0 { + try visitor.visitSingularInt32Field(value: self.fetchedFromDb, fieldNumber: 1) } - try { if let v = self._obHomeWidgetSettings1 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 3) + if self.fetchedFromFanout != 0 { + try visitor.visitSingularInt32Field(value: self.fetchedFromFanout, fieldNumber: 2) + } + if self.fetchedFromPlayerMapper != 0 { + try visitor.visitSingularInt32Field(value: self.fetchedFromPlayerMapper, fieldNumber: 3) + } + if self.fetchedFromStatusCache != 0 { + try visitor.visitSingularInt32Field(value: self.fetchedFromStatusCache, fieldNumber: 4) + } + if self.failedToFetch != 0 { + try visitor.visitSingularInt32Field(value: self.failedToFetch, fieldNumber: 5) + } + if self.fetchedFromSameServerAsPlayer != 0 { + try visitor.visitSingularInt32Field(value: self.fetchedFromSameServerAsPlayer, fieldNumber: 6) } - try { if let v = self._obHomeWidgetSettings2 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: HomeWidgetSettingsProto, rhs: HomeWidgetSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs._obHomeWidgetSettings1 != rhs._obHomeWidgetSettings1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs._obHomeWidgetSettings2 != rhs._obHomeWidgetSettings2 {return false} + public static func ==(lhs: InternalGetFriendDetailsOutProto.DebugProto, rhs: InternalGetFriendDetailsOutProto.DebugProto) -> Bool { + if lhs.fetchedFromDb != rhs.fetchedFromDb {return false} + if lhs.fetchedFromFanout != rhs.fetchedFromFanout {return false} + if lhs.fetchedFromPlayerMapper != rhs.fetchedFromPlayerMapper {return false} + if lhs.fetchedFromStatusCache != rhs.fetchedFromStatusCache {return false} + if lhs.failedToFetch != rhs.failedToFetch {return false} + if lhs.fetchedFromSameServerAsPlayer != rhs.fetchedFromSameServerAsPlayer {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension HomeWidgetSettingsProto.HomeWidgetSettings_1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = HomeWidgetSettingsProto.protoMessageName + ".HomeWidgetSettings_1" +extension InternalGetFriendDetailsOutProto.DebugProto.Callee: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetFriendDetailsOutProto.DebugProto.protoMessageName + ".Callee" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "distance_multiplier"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "ob_string"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "nia_account_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -224802,41 +235728,37 @@ extension HomeWidgetSettingsProto.HomeWidgetSettings_1: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.distanceMultiplier) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.distanceMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.distanceMultiplier, fieldNumber: 1) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 3) + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: HomeWidgetSettingsProto.HomeWidgetSettings_1, rhs: HomeWidgetSettingsProto.HomeWidgetSettings_1) -> Bool { - if lhs.distanceMultiplier != rhs.distanceMultiplier {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obString != rhs.obString {return false} + public static func ==(lhs: InternalGetFriendDetailsOutProto.DebugProto.Callee, rhs: InternalGetFriendDetailsOutProto.DebugProto.Callee) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension HomeWidgetSettingsProto.HomeWidgetSettings_2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = HomeWidgetSettingsProto.protoMessageName + ".HomeWidgetSettings_2" +extension InternalGetFriendDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFriendDetailsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_float"), - 2: .standard(proto: "ob_int32"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "nia_account_id"), + 3: .standard(proto: "include_online_status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -224845,37 +235767,42 @@ extension HomeWidgetSettingsProto.HomeWidgetSettings_2: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.niaAccountID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.includeOnlineStatus) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 1) + if !self.playerID.isEmpty { + try visitor.visitRepeatedStringField(value: self.playerID, fieldNumber: 1) + } + if !self.niaAccountID.isEmpty { + try visitor.visitRepeatedStringField(value: self.niaAccountID, fieldNumber: 2) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) + if self.includeOnlineStatus != false { + try visitor.visitSingularBoolField(value: self.includeOnlineStatus, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: HomeWidgetSettingsProto.HomeWidgetSettings_2, rhs: HomeWidgetSettingsProto.HomeWidgetSettings_2) -> Bool { - if lhs.obFloat != rhs.obFloat {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: InternalGetFriendDetailsProto, rhs: InternalGetFriendDetailsProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} + if lhs.includeOnlineStatus != rhs.includeOnlineStatus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension HomeWidgetTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".HomeWidgetTelemetry" +extension InternalGetFriendDetailsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFriendDetailsRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "widget_type"), - 2: .same(proto: "status"), - 3: .same(proto: "platform"), + 1: .standard(proto: "friend_id"), + 2: .same(proto: "feature"), + 3: .standard(proto: "friend_nia_account_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -224884,57 +235811,41 @@ extension HomeWidgetTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.widgetType) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.platform) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.friendID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.feature) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.friendNiaAccountID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.widgetType != .unset { - try visitor.visitSingularEnumField(value: self.widgetType, fieldNumber: 1) + if !self.friendID.isEmpty { + try visitor.visitRepeatedStringField(value: self.friendID, fieldNumber: 1) } - if self.status != .unused { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) + if self.feature != .unset { + try visitor.visitSingularEnumField(value: self.feature, fieldNumber: 2) } - if self.platform != .unset { - try visitor.visitSingularEnumField(value: self.platform, fieldNumber: 3) + if !self.friendNiaAccountID.isEmpty { + try visitor.visitRepeatedStringField(value: self.friendNiaAccountID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: HomeWidgetTelemetry, rhs: HomeWidgetTelemetry) -> Bool { - if lhs.widgetType != rhs.widgetType {return false} - if lhs.status != rhs.status {return false} - if lhs.platform != rhs.platform {return false} + public static func ==(lhs: InternalGetFriendDetailsRequest, rhs: InternalGetFriendDetailsRequest) -> Bool { + if lhs.friendID != rhs.friendID {return false} + if lhs.feature != rhs.feature {return false} + if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension HomeWidgetTelemetry.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNUSED"), - 1: .same(proto: "IN_USE"), - 2: .same(proto: "PAUSED"), - ] -} - -extension IapItemCategoryDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IapItemCategoryDisplayProto" +extension InternalGetFriendDetailsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFriendDetailsResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "category"), - 2: .same(proto: "name"), - 3: .same(proto: "hidden"), - 4: .standard(proto: "sort_order"), - 5: .standard(proto: "banner_enabled"), - 6: .standard(proto: "banner_title"), - 7: .standard(proto: "image_url"), - 8: .same(proto: "description"), - 9: .standard(proto: "display_rows"), - 10: .same(proto: "subcategory"), + 1: .same(proto: "result"), + 2: .standard(proto: "friend_details"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -224943,137 +235854,74 @@ extension IapItemCategoryDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.category) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.hidden) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.sortOrder) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.bannerEnabled) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.bannerTitle) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.displayRows) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.subcategory) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friendDetails) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.category != .iapCategoryNone { - try visitor.visitSingularEnumField(value: self.category, fieldNumber: 1) - } - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) - } - if self.hidden != false { - try visitor.visitSingularBoolField(value: self.hidden, fieldNumber: 3) - } - if self.sortOrder != 0 { - try visitor.visitSingularInt32Field(value: self.sortOrder, fieldNumber: 4) - } - if self.bannerEnabled != false { - try visitor.visitSingularBoolField(value: self.bannerEnabled, fieldNumber: 5) - } - if !self.bannerTitle.isEmpty { - try visitor.visitSingularStringField(value: self.bannerTitle, fieldNumber: 6) - } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 7) - } - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 8) - } - if self.displayRows != 0 { - try visitor.visitSingularInt32Field(value: self.displayRows, fieldNumber: 9) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.subcategory.isEmpty { - try visitor.visitSingularStringField(value: self.subcategory, fieldNumber: 10) + if !self.friendDetails.isEmpty { + try visitor.visitRepeatedMessageField(value: self.friendDetails, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IapItemCategoryDisplayProto, rhs: IapItemCategoryDisplayProto) -> Bool { - if lhs.category != rhs.category {return false} - if lhs.name != rhs.name {return false} - if lhs.hidden != rhs.hidden {return false} - if lhs.sortOrder != rhs.sortOrder {return false} - if lhs.bannerEnabled != rhs.bannerEnabled {return false} - if lhs.bannerTitle != rhs.bannerTitle {return false} - if lhs.imageURL != rhs.imageURL {return false} - if lhs.description_p != rhs.description_p {return false} - if lhs.displayRows != rhs.displayRows {return false} - if lhs.subcategory != rhs.subcategory {return false} + public static func ==(lhs: InternalGetFriendDetailsResponse, rhs: InternalGetFriendDetailsResponse) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.friendDetails != rhs.friendDetails {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IapItemDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IapItemDisplayProto" +extension InternalGetFriendDetailsResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "sku"), - 2: .same(proto: "category"), - 3: .standard(proto: "sort_order"), - 6: .same(proto: "hidden"), - 7: .same(proto: "sale"), - 8: .standard(proto: "sprite_id"), - 9: .same(proto: "title"), - 10: .same(proto: "description"), - 11: .standard(proto: "sku_enable_time"), - 12: .standard(proto: "sku_disable_time"), - 13: .standard(proto: "sku_enable_time_utc_ms"), - 14: .standard(proto: "sku_disable_time_utc_ms"), - 15: .same(proto: "subcategories"), - 16: .standard(proto: "image_url"), - 17: .standard(proto: "ob_int32"), - 18: .standard(proto: "ob_int32_1"), - 19: .standard(proto: "ob_bool_1"), - 20: .standard(proto: "ob_bool_2"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_EXCEEDS_MAX_FRIENDS_PER_QUERY"), + 4: .same(proto: "ERROR_FEATURE_DISABLED"), + ] +} + +extension InternalGetFriendDetailsResponse.FriendDetailsEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetFriendDetailsResponse.protoMessageName + ".FriendDetailsEntryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .same(proto: "profile"), + 3: .standard(proto: "player_status"), + 4: .standard(proto: "calling_game_data"), + 5: .standard(proto: "outgoing_game_invite_status"), + 6: .standard(proto: "nia_account_id"), + 7: .standard(proto: "gar_account_info"), ] fileprivate class _StorageClass { - var _sku: String = String() - var _category: HoloIapItemCategory = .iapCategoryNone - var _sortOrder: Int32 = 0 - var _hidden: Bool = false - var _sale: Bool = false - var _spriteID: String = String() - var _title: String = String() - var _description_p: String = String() - var _skuEnableTime: String = String() - var _skuDisableTime: String = String() - var _skuEnableTimeUtcMs: Int64 = 0 - var _skuDisableTimeUtcMs: Int64 = 0 - var _subcategories: [String] = [] - var _imageURL: String = String() - var _obInt32: Int32 = 0 - var _obInt321: Int32 = 0 - var _obBool1: Bool = false - var _obBool2: Bool = false + var _playerID: String = String() + var _profile: InternalProfileDetailsProto? = nil + var _playerStatus: InternalGetFriendDetailsResponse.PlayerStatusDetailsProto? = nil + var _callingGameData: InternalFriendDetailsProto? = nil + var _outgoingGameInviteStatus: [InternalGetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus] = [] + var _niaAccountID: String = String() + var _garAccountInfo: InternalGarAccountInfoProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _sku = source._sku - _category = source._category - _sortOrder = source._sortOrder - _hidden = source._hidden - _sale = source._sale - _spriteID = source._spriteID - _title = source._title - _description_p = source._description_p - _skuEnableTime = source._skuEnableTime - _skuDisableTime = source._skuDisableTime - _skuEnableTimeUtcMs = source._skuEnableTimeUtcMs - _skuDisableTimeUtcMs = source._skuDisableTimeUtcMs - _subcategories = source._subcategories - _imageURL = source._imageURL - _obInt32 = source._obInt32 - _obInt321 = source._obInt321 - _obBool1 = source._obBool1 - _obBool2 = source._obBool2 + _playerID = source._playerID + _profile = source._profile + _playerStatus = source._playerStatus + _callingGameData = source._callingGameData + _outgoingGameInviteStatus = source._outgoingGameInviteStatus + _niaAccountID = source._niaAccountID + _garAccountInfo = source._garAccountInfo } } @@ -225092,24 +235940,13 @@ extension IapItemDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._sku) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._category) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._sortOrder) }() - case 6: try { try decoder.decodeSingularBoolField(value: &_storage._hidden) }() - case 7: try { try decoder.decodeSingularBoolField(value: &_storage._sale) }() - case 8: try { try decoder.decodeSingularStringField(value: &_storage._spriteID) }() - case 9: try { try decoder.decodeSingularStringField(value: &_storage._title) }() - case 10: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }() - case 11: try { try decoder.decodeSingularStringField(value: &_storage._skuEnableTime) }() - case 12: try { try decoder.decodeSingularStringField(value: &_storage._skuDisableTime) }() - case 13: try { try decoder.decodeSingularInt64Field(value: &_storage._skuEnableTimeUtcMs) }() - case 14: try { try decoder.decodeSingularInt64Field(value: &_storage._skuDisableTimeUtcMs) }() - case 15: try { try decoder.decodeRepeatedStringField(value: &_storage._subcategories) }() - case 16: try { try decoder.decodeSingularStringField(value: &_storage._imageURL) }() - case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt32) }() - case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 19: try { try decoder.decodeSingularBoolField(value: &_storage._obBool1) }() - case 20: try { try decoder.decodeSingularBoolField(value: &_storage._obBool2) }() + case 1: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._profile) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._playerStatus) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._callingGameData) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._outgoingGameInviteStatus) }() + case 6: try { try decoder.decodeSingularStringField(value: &_storage._niaAccountID) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._garAccountInfo) }() default: break } } @@ -225118,87 +235955,47 @@ extension IapItemDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl public func traverse(visitor: inout V) throws { try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if !_storage._sku.isEmpty { - try visitor.visitSingularStringField(value: _storage._sku, fieldNumber: 1) - } - if _storage._category != .iapCategoryNone { - try visitor.visitSingularEnumField(value: _storage._category, fieldNumber: 2) - } - if _storage._sortOrder != 0 { - try visitor.visitSingularInt32Field(value: _storage._sortOrder, fieldNumber: 3) - } - if _storage._hidden != false { - try visitor.visitSingularBoolField(value: _storage._hidden, fieldNumber: 6) - } - if _storage._sale != false { - try visitor.visitSingularBoolField(value: _storage._sale, fieldNumber: 7) - } - if !_storage._spriteID.isEmpty { - try visitor.visitSingularStringField(value: _storage._spriteID, fieldNumber: 8) - } - if !_storage._title.isEmpty { - try visitor.visitSingularStringField(value: _storage._title, fieldNumber: 9) - } - if !_storage._description_p.isEmpty { - try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 10) - } - if !_storage._skuEnableTime.isEmpty { - try visitor.visitSingularStringField(value: _storage._skuEnableTime, fieldNumber: 11) - } - if !_storage._skuDisableTime.isEmpty { - try visitor.visitSingularStringField(value: _storage._skuDisableTime, fieldNumber: 12) - } - if _storage._skuEnableTimeUtcMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._skuEnableTimeUtcMs, fieldNumber: 13) - } - if _storage._skuDisableTimeUtcMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._skuDisableTimeUtcMs, fieldNumber: 14) - } - if !_storage._subcategories.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._subcategories, fieldNumber: 15) - } - if !_storage._imageURL.isEmpty { - try visitor.visitSingularStringField(value: _storage._imageURL, fieldNumber: 16) - } - if _storage._obInt32 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt32, fieldNumber: 17) - } - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 18) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._playerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 1) } - if _storage._obBool1 != false { - try visitor.visitSingularBoolField(value: _storage._obBool1, fieldNumber: 19) + try { if let v = _storage._profile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = _storage._playerStatus { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._callingGameData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if !_storage._outgoingGameInviteStatus.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._outgoingGameInviteStatus, fieldNumber: 5) } - if _storage._obBool2 != false { - try visitor.visitSingularBoolField(value: _storage._obBool2, fieldNumber: 20) + if !_storage._niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: _storage._niaAccountID, fieldNumber: 6) } + try { if let v = _storage._garAccountInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IapItemDisplayProto, rhs: IapItemDisplayProto) -> Bool { + public static func ==(lhs: InternalGetFriendDetailsResponse.FriendDetailsEntryProto, rhs: InternalGetFriendDetailsResponse.FriendDetailsEntryProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._sku != rhs_storage._sku {return false} - if _storage._category != rhs_storage._category {return false} - if _storage._sortOrder != rhs_storage._sortOrder {return false} - if _storage._hidden != rhs_storage._hidden {return false} - if _storage._sale != rhs_storage._sale {return false} - if _storage._spriteID != rhs_storage._spriteID {return false} - if _storage._title != rhs_storage._title {return false} - if _storage._description_p != rhs_storage._description_p {return false} - if _storage._skuEnableTime != rhs_storage._skuEnableTime {return false} - if _storage._skuDisableTime != rhs_storage._skuDisableTime {return false} - if _storage._skuEnableTimeUtcMs != rhs_storage._skuEnableTimeUtcMs {return false} - if _storage._skuDisableTimeUtcMs != rhs_storage._skuDisableTimeUtcMs {return false} - if _storage._subcategories != rhs_storage._subcategories {return false} - if _storage._imageURL != rhs_storage._imageURL {return false} - if _storage._obInt32 != rhs_storage._obInt32 {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obBool1 != rhs_storage._obBool1 {return false} - if _storage._obBool2 != rhs_storage._obBool2 {return false} + if _storage._playerID != rhs_storage._playerID {return false} + if _storage._profile != rhs_storage._profile {return false} + if _storage._playerStatus != rhs_storage._playerStatus {return false} + if _storage._callingGameData != rhs_storage._callingGameData {return false} + if _storage._outgoingGameInviteStatus != rhs_storage._outgoingGameInviteStatus {return false} + if _storage._niaAccountID != rhs_storage._niaAccountID {return false} + if _storage._garAccountInfo != rhs_storage._garAccountInfo {return false} return true } if !storagesAreEqual {return false} @@ -225208,17 +236005,11 @@ extension IapItemDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } -extension IapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IapSettingsProto" +extension InternalGetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetFriendDetailsResponse.FriendDetailsEntryProto.protoMessageName + ".OutgoingGameInviteStatus" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "daily_bonus_coins"), - 2: .standard(proto: "daily_defender_bonus_per_pokemon"), - 3: .standard(proto: "daily_defender_bonus_max_defenders"), - 4: .standard(proto: "daily_defender_bonus_currency"), - 5: .standard(proto: "min_time_between_claims_ms"), - 6: .standard(proto: "daily_bonus_enabled"), - 7: .standard(proto: "daily_defender_bonus_enabled"), - 8: .standard(proto: "ob_bool"), + 1: .standard(proto: "app_key"), + 2: .standard(proto: "invitation_status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225227,65 +236018,146 @@ extension IapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.dailyBonusCoins) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.dailyDefenderBonusPerPokemon) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.dailyDefenderBonusMaxDefenders) }() - case 4: try { try decoder.decodeRepeatedStringField(value: &self.dailyDefenderBonusCurrency) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.minTimeBetweenClaimsMs) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.dailyBonusEnabled) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.dailyDefenderBonusEnabled) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.invitationStatus) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.dailyBonusCoins != 0 { - try visitor.visitSingularInt32Field(value: self.dailyBonusCoins, fieldNumber: 1) + if !self.appKey.isEmpty { + try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) } - if !self.dailyDefenderBonusPerPokemon.isEmpty { - try visitor.visitPackedInt32Field(value: self.dailyDefenderBonusPerPokemon, fieldNumber: 2) + if self.invitationStatus != .unset { + try visitor.visitSingularEnumField(value: self.invitationStatus, fieldNumber: 2) } - if self.dailyDefenderBonusMaxDefenders != 0 { - try visitor.visitSingularInt32Field(value: self.dailyDefenderBonusMaxDefenders, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus, rhs: InternalGetFriendDetailsResponse.FriendDetailsEntryProto.OutgoingGameInviteStatus) -> Bool { + if lhs.appKey != rhs.appKey {return false} + if lhs.invitationStatus != rhs.invitationStatus {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFriendDetailsResponse.PlayerStatusDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetFriendDetailsResponse.protoMessageName + ".PlayerStatusDetailsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "online_status"), + 3: .standard(proto: "last_played_app_key"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.onlineStatus) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.lastPlayedAppKey) }() + default: break + } } - if !self.dailyDefenderBonusCurrency.isEmpty { - try visitor.visitRepeatedStringField(value: self.dailyDefenderBonusCurrency, fieldNumber: 4) + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.minTimeBetweenClaimsMs != 0 { - try visitor.visitSingularInt64Field(value: self.minTimeBetweenClaimsMs, fieldNumber: 5) + if self.onlineStatus != .statusUnset { + try visitor.visitSingularEnumField(value: self.onlineStatus, fieldNumber: 2) } - if self.dailyBonusEnabled != false { - try visitor.visitSingularBoolField(value: self.dailyBonusEnabled, fieldNumber: 6) + if !self.lastPlayedAppKey.isEmpty { + try visitor.visitSingularStringField(value: self.lastPlayedAppKey, fieldNumber: 3) } - if self.dailyDefenderBonusEnabled != false { - try visitor.visitSingularBoolField(value: self.dailyDefenderBonusEnabled, fieldNumber: 7) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFriendDetailsResponse.PlayerStatusDetailsProto, rhs: InternalGetFriendDetailsResponse.PlayerStatusDetailsProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.onlineStatus != rhs.onlineStatus {return false} + if lhs.lastPlayedAppKey != rhs.lastPlayedAppKey {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetFriendDetailsResponse.PlayerStatusDetailsProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_STATUS_UNKNOWN"), + 4: .same(proto: "ERROR_STALE_DATA"), + ] +} + +extension InternalGetFriendsListOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFriendsListOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "friend"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friend) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 8) + if !self.friend.isEmpty { + try visitor.visitRepeatedMessageField(value: self.friend, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IapSettingsProto, rhs: IapSettingsProto) -> Bool { - if lhs.dailyBonusCoins != rhs.dailyBonusCoins {return false} - if lhs.dailyDefenderBonusPerPokemon != rhs.dailyDefenderBonusPerPokemon {return false} - if lhs.dailyDefenderBonusMaxDefenders != rhs.dailyDefenderBonusMaxDefenders {return false} - if lhs.dailyDefenderBonusCurrency != rhs.dailyDefenderBonusCurrency {return false} - if lhs.minTimeBetweenClaimsMs != rhs.minTimeBetweenClaimsMs {return false} - if lhs.dailyBonusEnabled != rhs.dailyBonusEnabled {return false} - if lhs.dailyDefenderBonusEnabled != rhs.dailyDefenderBonusEnabled {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: InternalGetFriendsListOutProto, rhs: InternalGetFriendsListOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.friend != rhs.friend {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IdfaSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IdfaSettingsProto" +extension InternalGetFriendsListOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "optin_enabled"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalGetFriendsListOutProto.FriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetFriendsListOutProto.protoMessageName + ".FriendProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .same(proto: "codename"), + 3: .same(proto: "team"), + 4: .same(proto: "score"), + 5: .standard(proto: "data_with_me"), + 6: .same(proto: "version"), + 7: .standard(proto: "created_ms"), + 8: .standard(proto: "fb_user_id"), + 9: .standard(proto: "is_facebook_friendship"), + 10: .standard(proto: "shared_data"), + 11: .standard(proto: "online_status"), + 12: .standard(proto: "nia_account_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225294,30 +236166,101 @@ extension IdfaSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.optinEnabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.codename) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.team) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.score) }() + case 5: try { try decoder.decodeSingularBytesField(value: &self.dataWithMe) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.version) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.createdMs) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.fbUserID) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.isFacebookFriendship) }() + case 10: try { try decoder.decodeSingularMessageField(value: &self._sharedData) }() + case 11: try { try decoder.decodeSingularEnumField(value: &self.onlineStatus) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.optinEnabled != false { - try visitor.visitSingularBoolField(value: self.optinEnabled, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + } + if !self.codename.isEmpty { + try visitor.visitSingularStringField(value: self.codename, fieldNumber: 2) + } + if !self.team.isEmpty { + try visitor.visitSingularStringField(value: self.team, fieldNumber: 3) + } + if self.score != 0 { + try visitor.visitSingularInt32Field(value: self.score, fieldNumber: 4) + } + if !self.dataWithMe.isEmpty { + try visitor.visitSingularBytesField(value: self.dataWithMe, fieldNumber: 5) + } + if self.version != 0 { + try visitor.visitSingularInt64Field(value: self.version, fieldNumber: 6) + } + if self.createdMs != 0 { + try visitor.visitSingularInt64Field(value: self.createdMs, fieldNumber: 7) + } + if !self.fbUserID.isEmpty { + try visitor.visitSingularStringField(value: self.fbUserID, fieldNumber: 8) + } + if self.isFacebookFriendship != false { + try visitor.visitSingularBoolField(value: self.isFacebookFriendship, fieldNumber: 9) + } + try { if let v = self._sharedData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + if self.onlineStatus != .unset { + try visitor.visitSingularEnumField(value: self.onlineStatus, fieldNumber: 11) + } + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IdfaSettingsProto, rhs: IdfaSettingsProto) -> Bool { - if lhs.optinEnabled != rhs.optinEnabled {return false} + public static func ==(lhs: InternalGetFriendsListOutProto.FriendProto, rhs: InternalGetFriendsListOutProto.FriendProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.codename != rhs.codename {return false} + if lhs.team != rhs.team {return false} + if lhs.score != rhs.score {return false} + if lhs.dataWithMe != rhs.dataWithMe {return false} + if lhs.version != rhs.version {return false} + if lhs.createdMs != rhs.createdMs {return false} + if lhs.fbUserID != rhs.fbUserID {return false} + if lhs.isFacebookFriendship != rhs.isFacebookFriendship {return false} + if lhs._sharedData != rhs._sharedData {return false} + if lhs.onlineStatus != rhs.onlineStatus {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ImageGalleryTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ImageGalleryTelemetry" +extension InternalGetFriendsListOutProto.FriendProto.OnlineStatus: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "image_gallery_telemetry_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "STATUS_UNKNOWN"), + 2: .same(proto: "STATUS_ONLINE"), + 3: .same(proto: "STATUS_OFFLINE"), + ] +} + +extension InternalGetFriendsListOutProto.SharedFriendshipProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetFriendsListOutProto.protoMessageName + ".SharedFriendshipProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "shared_data"), + 2: .same(proto: "version"), + 3: .standard(proto: "data_from_me"), + 4: .standard(proto: "data_to_me"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225326,45 +236269,109 @@ extension ImageGalleryTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.imageGalleryTelemetryID) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.sharedData) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.version) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.dataFromMe) }() + case 4: try { try decoder.decodeSingularBytesField(value: &self.dataToMe) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.imageGalleryTelemetryID != .unknown { - try visitor.visitSingularEnumField(value: self.imageGalleryTelemetryID, fieldNumber: 1) + if !self.sharedData.isEmpty { + try visitor.visitSingularBytesField(value: self.sharedData, fieldNumber: 1) + } + if self.version != 0 { + try visitor.visitSingularInt64Field(value: self.version, fieldNumber: 2) + } + if !self.dataFromMe.isEmpty { + try visitor.visitSingularBytesField(value: self.dataFromMe, fieldNumber: 3) + } + if !self.dataToMe.isEmpty { + try visitor.visitSingularBytesField(value: self.dataToMe, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ImageGalleryTelemetry, rhs: ImageGalleryTelemetry) -> Bool { - if lhs.imageGalleryTelemetryID != rhs.imageGalleryTelemetryID {return false} + public static func ==(lhs: InternalGetFriendsListOutProto.SharedFriendshipProto, rhs: InternalGetFriendsListOutProto.SharedFriendshipProto) -> Bool { + if lhs.sharedData != rhs.sharedData {return false} + if lhs.version != rhs.version {return false} + if lhs.dataFromMe != rhs.dataFromMe {return false} + if lhs.dataToMe != rhs.dataToMe {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ImageGalleryTelemetry.ImageGalleryEventId: SwiftProtobuf._ProtoNameProviding { +extension InternalGetFriendsListProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetFriendsListProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetFriendsListProto, rhs: InternalGetFriendsListProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetInboxV2Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetInboxV2Proto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "ENTER_IMAGE_GALLERY"), - 2: .same(proto: "ENTER_IMAGE_DETAILS_PAGE"), - 3: .same(proto: "VOTE_FROM_MAIN_GALLERY_PAGE"), - 4: .same(proto: "UNVOTE_FROM_MAIN_GALLERY_PAGE"), - 5: .same(proto: "VOTE_FROM_IMAGE_DETAILS_PAGE"), - 6: .same(proto: "UNVOTE_FROM_IMAGE_DETAILS_PAGE"), - 7: .same(proto: "ENTER_IMAGE_EDIT_FROM_GALLERY"), + 1: .standard(proto: "is_history"), + 2: .standard(proto: "is_reverse"), + 3: .standard(proto: "not_before_ms"), ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.isHistory) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isReverse) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.notBeforeMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.isHistory != false { + try visitor.visitSingularBoolField(value: self.isHistory, fieldNumber: 1) + } + if self.isReverse != false { + try visitor.visitSingularBoolField(value: self.isReverse, fieldNumber: 2) + } + if self.notBeforeMs != 0 { + try visitor.visitSingularInt64Field(value: self.notBeforeMs, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetInboxV2Proto, rhs: InternalGetInboxV2Proto) -> Bool { + if lhs.isHistory != rhs.isHistory {return false} + if lhs.isReverse != rhs.isReverse {return false} + if lhs.notBeforeMs != rhs.notBeforeMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension ImageLogReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ImageLogReportData" +extension InternalGetIncomingFriendInvitesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetIncomingFriendInvitesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "image_id"), - 2: .same(proto: "category"), - 3: .standard(proto: "reporter_name"), + 1: .same(proto: "result"), + 2: .same(proto: "invites"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225373,38 +236380,60 @@ extension ImageLogReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.imageID) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.category) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.reporterName) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.invites) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.imageID.isEmpty { - try visitor.visitSingularStringField(value: self.imageID, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.category.isEmpty { - try visitor.visitPackedEnumField(value: self.category, fieldNumber: 2) + if !self.invites.isEmpty { + try visitor.visitRepeatedMessageField(value: self.invites, fieldNumber: 2) } - if !self.reporterName.isEmpty { - try visitor.visitRepeatedStringField(value: self.reporterName, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetIncomingFriendInvitesOutProto, rhs: InternalGetIncomingFriendInvitesOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.invites != rhs.invites {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetIncomingFriendInvitesOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalGetIncomingFriendInvitesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetIncomingFriendInvitesProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ImageLogReportData, rhs: ImageLogReportData) -> Bool { - if lhs.imageID != rhs.imageID {return false} - if lhs.category != rhs.category {return false} - if lhs.reporterName != rhs.reporterName {return false} + public static func ==(lhs: InternalGetIncomingFriendInvitesProto, rhs: InternalGetIncomingFriendInvitesProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ImageModerationAttributes: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ImageModerationAttributes" +extension InternalGetIncomingGameInvitesRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetIncomingGameInvitesRequest" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -225416,30 +236445,65 @@ extension ImageModerationAttributes: SwiftProtobuf.Message, SwiftProtobuf._Messa try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ImageModerationAttributes, rhs: ImageModerationAttributes) -> Bool { + public static func ==(lhs: InternalGetIncomingGameInvitesRequest, rhs: InternalGetIncomingGameInvitesRequest) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ImageModerationAttributes.DetectionLikelihood: SwiftProtobuf._ProtoNameProviding { +extension InternalGetIncomingGameInvitesResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetIncomingGameInvitesResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "VERY_UNLIKELY"), - 2: .same(proto: "UNLIKELY"), - 3: .same(proto: "POSSIBLE"), - 4: .same(proto: "LIKELY"), - 5: .same(proto: "VERY_LIKELY"), + 1: .same(proto: "invites"), + 2: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.invites) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.invites.isEmpty { + try visitor.visitRepeatedMessageField(value: self.invites, fieldNumber: 1) + } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetIncomingGameInvitesResponse, rhs: InternalGetIncomingGameInvitesResponse) -> Bool { + if lhs.invites != rhs.invites {return false} + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetIncomingGameInvitesResponse.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_FEATURE_DISABLED"), ] } -extension ImageProfanityReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ImageProfanityReportData" +extension InternalGetIncomingGameInvitesResponse.IncomingGameInvite: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetIncomingGameInvitesResponse.protoMessageName + ".IncomingGameInvite" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "flag_category"), - 3: .standard(proto: "image_id"), - 4: .standard(proto: "reporter_name"), - 5: .standard(proto: "safer_ticket_id"), + 1: .standard(proto: "app_key"), + 2: .standard(proto: "friend_profile_names"), + 3: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225448,51 +236512,70 @@ extension ImageProfanityReportData: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.flagCategory) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.imageID) }() - case 4: try { try decoder.decodeRepeatedStringField(value: &self.reporterName) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.saferTicketID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.friendProfileNames) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.flagCategory.isEmpty { - try visitor.visitPackedEnumField(value: self.flagCategory, fieldNumber: 1) + if !self.appKey.isEmpty { + try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) } - if !self.imageID.isEmpty { - try visitor.visitSingularStringField(value: self.imageID, fieldNumber: 3) + if !self.friendProfileNames.isEmpty { + try visitor.visitRepeatedStringField(value: self.friendProfileNames, fieldNumber: 2) } - if !self.reporterName.isEmpty { - try visitor.visitRepeatedStringField(value: self.reporterName, fieldNumber: 4) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) } - if !self.saferTicketID.isEmpty { - try visitor.visitSingularStringField(value: self.saferTicketID, fieldNumber: 5) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetIncomingGameInvitesResponse.IncomingGameInvite, rhs: InternalGetIncomingGameInvitesResponse.IncomingGameInvite) -> Bool { + if lhs.appKey != rhs.appKey {return false} + if lhs.friendProfileNames != rhs.friendProfileNames {return false} + if lhs.status != rhs.status {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetIncomingGameInvitesResponse.IncomingGameInvite.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "NEW"), + 2: .same(proto: "SEEN"), + ] +} + +extension InternalGetMyAccountRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetMyAccountRequest" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ImageProfanityReportData, rhs: ImageProfanityReportData) -> Bool { - if lhs.flagCategory != rhs.flagCategory {return false} - if lhs.imageID != rhs.imageID {return false} - if lhs.reporterName != rhs.reporterName {return false} - if lhs.saferTicketID != rhs.saferTicketID {return false} + public static func ==(lhs: InternalGetMyAccountRequest, rhs: InternalGetMyAccountRequest) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ImageTextCreativeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ImageTextCreativeProto" +extension InternalGetMyAccountResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetMyAccountResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "title"), - 3: .same(proto: "description"), - 4: .standard(proto: "preview_image_url"), - 5: .standard(proto: "fullscreen_image_url"), - 6: .standard(proto: "cta_link"), - 7: .standard(proto: "web_ar_url"), + 1: .same(proto: "status"), + 2: .same(proto: "contact"), + 3: .standard(proto: "full_name"), + 4: .standard(proto: "contact_import_discoverability_consent"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225501,62 +236584,106 @@ extension ImageTextCreativeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.title) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.previewImageURL) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.fullscreenImageURL) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.ctaLink) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.webArURL) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contact) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.fullName) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.contactImportDiscoverabilityConsent) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.title.isEmpty { - try visitor.visitSingularStringField(value: self.title, fieldNumber: 2) + if !self.contact.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contact, fieldNumber: 2) } - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) + if !self.fullName.isEmpty { + try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 3) } - if !self.previewImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.previewImageURL, fieldNumber: 4) + if self.contactImportDiscoverabilityConsent != .unknown { + try visitor.visitSingularEnumField(value: self.contactImportDiscoverabilityConsent, fieldNumber: 4) } - if !self.fullscreenImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.fullscreenImageURL, fieldNumber: 5) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetMyAccountResponse, rhs: InternalGetMyAccountResponse) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.contact != rhs.contact {return false} + if lhs.fullName != rhs.fullName {return false} + if lhs.contactImportDiscoverabilityConsent != rhs.contactImportDiscoverabilityConsent {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetMyAccountResponse.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_NOT_FOUND"), + ] +} + +extension InternalGetMyAccountResponse.ContactProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetMyAccountResponse.protoMessageName + ".ContactProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "contact_id"), + 2: .same(proto: "type"), + 3: .same(proto: "contact"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.contactID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.contact) }() + default: break + } } - if !self.ctaLink.isEmpty { - try visitor.visitSingularStringField(value: self.ctaLink, fieldNumber: 6) + } + + public func traverse(visitor: inout V) throws { + if !self.contactID.isEmpty { + try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 1) } - if !self.webArURL.isEmpty { - try visitor.visitSingularStringField(value: self.webArURL, fieldNumber: 7) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) + } + if !self.contact.isEmpty { + try visitor.visitSingularStringField(value: self.contact, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ImageTextCreativeProto, rhs: ImageTextCreativeProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.title != rhs.title {return false} - if lhs.description_p != rhs.description_p {return false} - if lhs.previewImageURL != rhs.previewImageURL {return false} - if lhs.fullscreenImageURL != rhs.fullscreenImageURL {return false} - if lhs.ctaLink != rhs.ctaLink {return false} - if lhs.webArURL != rhs.webArURL {return false} + public static func ==(lhs: InternalGetMyAccountResponse.ContactProto, rhs: InternalGetMyAccountResponse.ContactProto) -> Bool { + if lhs.contactID != rhs.contactID {return false} + if lhs.type != rhs.type {return false} + if lhs.contact != rhs.contact {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ImplicitLocationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ImplicitLocationProto" +extension InternalGetMyAccountResponse.ContactProto.TypeEnum: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "center"), - 2: .standard(proto: "accuracy_meters"), - 3: .standard(proto: "age_seconds"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "MASKED_PHONE_NUMBER"), + ] +} + +extension InternalGetNotificationInboxOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetNotificationInboxOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "inbox"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225565,9 +236692,8 @@ extension ImplicitLocationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._center) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.accuracyMeters) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.ageSeconds) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._inbox) }() default: break } } @@ -225578,36 +236704,185 @@ extension ImplicitLocationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._center { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._inbox { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if self.accuracyMeters != 0 { - try visitor.visitSingularFloatField(value: self.accuracyMeters, fieldNumber: 2) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetNotificationInboxOutProto, rhs: InternalGetNotificationInboxOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._inbox != rhs._inbox {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetNotificationInboxOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + ] +} + +extension InternalGetOutgoingFriendInvitesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetOutgoingFriendInvitesOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "invites"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.invites) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.ageSeconds != 0 { - try visitor.visitSingularFloatField(value: self.ageSeconds, fieldNumber: 3) + if !self.invites.isEmpty { + try visitor.visitRepeatedMessageField(value: self.invites, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ImplicitLocationProto, rhs: ImplicitLocationProto) -> Bool { - if lhs._center != rhs._center {return false} - if lhs.accuracyMeters != rhs.accuracyMeters {return false} - if lhs.ageSeconds != rhs.ageSeconds {return false} + public static func ==(lhs: InternalGetOutgoingFriendInvitesOutProto, rhs: InternalGetOutgoingFriendInvitesOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.invites != rhs.invites {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetOutgoingFriendInvitesOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalGetOutgoingFriendInvitesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetOutgoingFriendInvitesProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetOutgoingFriendInvitesProto, rhs: InternalGetOutgoingFriendInvitesProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetPhotosOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetPhotosOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "photos"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.photos) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.photos.isEmpty { + try visitor.visitRepeatedMessageField(value: self.photos, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetPhotosOutProto, rhs: InternalGetPhotosOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.photos != rhs.photos {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalGetPhotosOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalGetPhotosProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetPhotosProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "photo_ids"), + 2: .standard(proto: "photo_specs"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.photoIds) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.photoSpecs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.photoIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.photoIds, fieldNumber: 1) + } + if !self.photoSpecs.isEmpty { + try visitor.visitRepeatedMessageField(value: self.photoSpecs, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalGetPhotosProto, rhs: InternalGetPhotosProto) -> Bool { + if lhs.photoIds != rhs.photoIds {return false} + if lhs.photoSpecs != rhs.photoSpecs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ImpressionTrackingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ImpressionTrackingSettingsProto" +extension InternalGetPhotosProto.PhotoSpec: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetPhotosProto.protoMessageName + ".PhotoSpec" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool_1"), - 2: .standard(proto: "ob_bool_2"), - 3: .standard(proto: "ob_bool_3"), - 4: .standard(proto: "ob_bool_4"), - 5: .standard(proto: "ob_bool_5"), - 6: .standard(proto: "ob_bool_6"), + 1: .standard(proto: "photo_id"), + 2: .same(proto: "mode"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225616,59 +236891,48 @@ extension ImpressionTrackingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool3) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obBool4) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obBool5) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.obBool6) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.photoID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.mode) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 1) - } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 2) - } - if self.obBool3 != false { - try visitor.visitSingularBoolField(value: self.obBool3, fieldNumber: 3) - } - if self.obBool4 != false { - try visitor.visitSingularBoolField(value: self.obBool4, fieldNumber: 4) - } - if self.obBool5 != false { - try visitor.visitSingularBoolField(value: self.obBool5, fieldNumber: 5) + if !self.photoID.isEmpty { + try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 1) } - if self.obBool6 != false { - try visitor.visitSingularBoolField(value: self.obBool6, fieldNumber: 6) + if self.mode != .original { + try visitor.visitSingularEnumField(value: self.mode, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ImpressionTrackingSettingsProto, rhs: ImpressionTrackingSettingsProto) -> Bool { - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.obBool3 != rhs.obBool3 {return false} - if lhs.obBool4 != rhs.obBool4 {return false} - if lhs.obBool5 != rhs.obBool5 {return false} - if lhs.obBool6 != rhs.obBool6 {return false} + public static func ==(lhs: InternalGetPhotosProto.PhotoSpec, rhs: InternalGetPhotosProto.PhotoSpec) -> Bool { + if lhs.photoID != rhs.photoID {return false} + if lhs.mode != rhs.mode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ImpressionTrackingTag: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ImpressionTrackingTag" +extension InternalGetPhotosProto.PhotoSpec.GetPhotosMode: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "tag_id"), - 2: .standard(proto: "base_url"), - 3: .standard(proto: "static_tags"), - 4: .standard(proto: "server_tags"), - 5: .standard(proto: "client_tags"), + 0: .same(proto: "ORIGINAL"), + 1: .same(proto: "SIZE_64"), + 2: .same(proto: "SIZE_256"), + 3: .same(proto: "SIZE_1080"), + 4: .same(proto: "MIN_SIZE_64"), + 5: .same(proto: "MIN_SIZE_256"), + 6: .same(proto: "MIN_SIZE_1080"), + ] +} + +extension InternalGetPlayerSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetPlayerSettingsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225677,109 +236941,68 @@ extension ImpressionTrackingTag: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.tagID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.baseURL) }() - case 3: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.staticTags) }() - case 4: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.serverTags) }() - case 5: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.clientTags) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._settings) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.tagID.isEmpty { - try visitor.visitSingularStringField(value: self.tagID, fieldNumber: 1) - } - if !self.baseURL.isEmpty { - try visitor.visitSingularStringField(value: self.baseURL, fieldNumber: 2) - } - if !self.staticTags.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.staticTags, fieldNumber: 3) - } - if !self.serverTags.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.serverTags, fieldNumber: 4) - } - if !self.clientTags.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.clientTags, fieldNumber: 5) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._settings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ImpressionTrackingTag, rhs: ImpressionTrackingTag) -> Bool { - if lhs.tagID != rhs.tagID {return false} - if lhs.baseURL != rhs.baseURL {return false} - if lhs.staticTags != rhs.staticTags {return false} - if lhs.serverTags != rhs.serverTags {return false} - if lhs.clientTags != rhs.clientTags {return false} + public static func ==(lhs: InternalGetPlayerSettingsOutProto, rhs: InternalGetPlayerSettingsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._settings != rhs._settings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InAppPurchaseBalanceProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InAppPurchaseBalanceProto" +extension InternalGetPlayerSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "currency_type"), - 2: .standard(proto: "purchased_balance"), - 3: .standard(proto: "last_modified_timestamp_ms"), - 4: .standard(proto: "fiat_purchased_balance"), - 6: .standard(proto: "fiat_currency_cost_e6_per_in_game_unit"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), ] +} + +extension InternalGetPlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetPlayerSettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.currencyType) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.purchasedBalance) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.lastModifiedTimestampMs) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.fiatPurchasedBalance) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.fiatCurrencyCostE6PerInGameUnit) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.currencyType.isEmpty { - try visitor.visitSingularStringField(value: self.currencyType, fieldNumber: 1) - } - if self.purchasedBalance != 0 { - try visitor.visitSingularInt32Field(value: self.purchasedBalance, fieldNumber: 2) - } - if self.lastModifiedTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.lastModifiedTimestampMs, fieldNumber: 3) - } - if self.fiatPurchasedBalance != 0 { - try visitor.visitSingularInt32Field(value: self.fiatPurchasedBalance, fieldNumber: 4) - } - if self.fiatCurrencyCostE6PerInGameUnit != 0 { - try visitor.visitSingularInt64Field(value: self.fiatCurrencyCostE6PerInGameUnit, fieldNumber: 6) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InAppPurchaseBalanceProto, rhs: InAppPurchaseBalanceProto) -> Bool { - if lhs.currencyType != rhs.currencyType {return false} - if lhs.purchasedBalance != rhs.purchasedBalance {return false} - if lhs.lastModifiedTimestampMs != rhs.lastModifiedTimestampMs {return false} - if lhs.fiatPurchasedBalance != rhs.fiatPurchasedBalance {return false} - if lhs.fiatCurrencyCostE6PerInGameUnit != rhs.fiatCurrencyCostE6PerInGameUnit {return false} + public static func ==(lhs: InternalGetPlayerSettingsProto, rhs: InternalGetPlayerSettingsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InAppPurchaseSubscriptionEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InAppPurchaseSubscriptionEntry" +extension InternalGetProfileRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetProfileRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "instance_id"), - 2: .standard(proto: "player_id"), - 3: .standard(proto: "start_time"), - 4: .standard(proto: "end_time"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "nia_account_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225788,50 +237011,37 @@ extension InAppPurchaseSubscriptionEntry: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.instanceID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.startTime) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.endTime) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.instanceID.isEmpty { - try visitor.visitSingularStringField(value: self.instanceID, fieldNumber: 1) - } if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 2) - } - if self.startTime != 0 { - try visitor.visitSingularInt64Field(value: self.startTime, fieldNumber: 3) + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if self.endTime != 0 { - try visitor.visitSingularInt64Field(value: self.endTime, fieldNumber: 4) + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InAppPurchaseSubscriptionEntry, rhs: InAppPurchaseSubscriptionEntry) -> Bool { - if lhs.instanceID != rhs.instanceID {return false} + public static func ==(lhs: InternalGetProfileRequest, rhs: InternalGetProfileRequest) -> Bool { if lhs.playerID != rhs.playerID {return false} - if lhs.startTime != rhs.startTime {return false} - if lhs.endTime != rhs.endTime {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InAppPurchaseSubscriptionInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InAppPurchaseSubscriptionInfo" +extension InternalGetProfileResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetProfileResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "subscription_id"), - 2: .standard(proto: "sku_id"), - 3: .standard(proto: "purchase_period"), - 4: .standard(proto: "last_notification_time_ms"), - 5: .standard(proto: "lookup_id"), - 6: .standard(proto: "tiered_sub_price"), + 1: .same(proto: "result"), + 2: .standard(proto: "profile_details"), + 3: .standard(proto: "player_profile_details"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225840,92 +237050,60 @@ extension InAppPurchaseSubscriptionInfo: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.subscriptionID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.skuID) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.purchasePeriod) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.lastNotificationTimeMs) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.lookupID) }() - case 6: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.tieredSubPrice) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._profileDetails) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.playerProfileDetails) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.subscriptionID.isEmpty { - try visitor.visitSingularStringField(value: self.subscriptionID, fieldNumber: 1) - } - if !self.skuID.isEmpty { - try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 2) - } - if !self.purchasePeriod.isEmpty { - try visitor.visitRepeatedMessageField(value: self.purchasePeriod, fieldNumber: 3) - } - if self.lastNotificationTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.lastNotificationTimeMs, fieldNumber: 4) - } - if !self.lookupID.isEmpty { - try visitor.visitSingularStringField(value: self.lookupID, fieldNumber: 5) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.tieredSubPrice.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.tieredSubPrice, fieldNumber: 6) + try { if let v = self._profileDetails { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.playerProfileDetails.isEmpty { + try visitor.visitRepeatedMessageField(value: self.playerProfileDetails, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InAppPurchaseSubscriptionInfo, rhs: InAppPurchaseSubscriptionInfo) -> Bool { - if lhs.subscriptionID != rhs.subscriptionID {return false} - if lhs.skuID != rhs.skuID {return false} - if lhs.purchasePeriod != rhs.purchasePeriod {return false} - if lhs.lastNotificationTimeMs != rhs.lastNotificationTimeMs {return false} - if lhs.lookupID != rhs.lookupID {return false} - if lhs.tieredSubPrice != rhs.tieredSubPrice {return false} + public static func ==(lhs: InternalGetProfileResponse, rhs: InternalGetProfileResponse) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._profileDetails != rhs._profileDetails {return false} + if lhs.playerProfileDetails != rhs.playerProfileDetails {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InAppPurchaseSubscriptionInfo.NativeStoreVendor: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_STORE"), - 1: .same(proto: "GOOGLE"), - 2: .same(proto: "APPLE"), - 3: .same(proto: "DESKTOP"), - ] -} - -extension InAppPurchaseSubscriptionInfo.PaymentState: SwiftProtobuf._ProtoNameProviding { +extension InternalGetProfileResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_STATE"), + 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "BILLING_ISSUE"), - ] -} - -extension InAppPurchaseSubscriptionInfo.State: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "ACTIVE"), - 2: .same(proto: "CANCELLED"), - 3: .same(proto: "EXPIRED"), - 4: .same(proto: "GRACE_PERIOD"), - 5: .same(proto: "FREE_TRIAL"), - 6: .same(proto: "PENDING_PURCHASE"), - 7: .same(proto: "REVOKED"), - 8: .same(proto: "ON_HOLD"), - 9: .same(proto: "OFFER_PERIOD"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_NOT_FRIEND"), ] } -extension InAppPurchaseSubscriptionInfo.PurchasePeriod: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = InAppPurchaseSubscriptionInfo.protoMessageName + ".PurchasePeriod" +extension InternalGetProfileResponse.PlayerProfileDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalGetProfileResponse.protoMessageName + ".PlayerProfileDetailsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "subscription_end_time_ms"), - 2: .standard(proto: "receipt_timestamp_ms"), - 3: .same(proto: "receipt"), - 4: .standard(proto: "store_price"), - 5: .standard(proto: "country_code"), - 6: .standard(proto: "sku_id"), + 1: .standard(proto: "app_key"), + 2: .same(proto: "codename"), + 3: .same(proto: "faction"), + 4: .same(proto: "level"), + 5: .same(proto: "experience"), + 6: .standard(proto: "signed_up_timestamp_ms"), + 7: .standard(proto: "last_played_timestamp_ms"), + 8: .standard(proto: "player_total_walk_km"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225934,61 +237112,67 @@ extension InAppPurchaseSubscriptionInfo.PurchasePeriod: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.subscriptionEndTimeMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.receiptTimestampMs) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.receipt) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._storePrice) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.skuID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.codename) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.faction) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.level) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.experience) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.signedUpTimestampMs) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.lastPlayedTimestampMs) }() + case 8: try { try decoder.decodeSingularDoubleField(value: &self.playerTotalWalkKm) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.subscriptionEndTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.subscriptionEndTimeMs, fieldNumber: 1) + if !self.appKey.isEmpty { + try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) } - if self.receiptTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.receiptTimestampMs, fieldNumber: 2) + if !self.codename.isEmpty { + try visitor.visitSingularStringField(value: self.codename, fieldNumber: 2) } - if !self.receipt.isEmpty { - try visitor.visitSingularStringField(value: self.receipt, fieldNumber: 3) + if !self.faction.isEmpty { + try visitor.visitSingularStringField(value: self.faction, fieldNumber: 3) } - try { if let v = self._storePrice { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 5) + if self.level != 0 { + try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 4) } - if !self.skuID.isEmpty { - try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 6) + if self.experience != 0 { + try visitor.visitSingularInt64Field(value: self.experience, fieldNumber: 5) + } + if self.signedUpTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.signedUpTimestampMs, fieldNumber: 6) + } + if self.lastPlayedTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.lastPlayedTimestampMs, fieldNumber: 7) + } + if self.playerTotalWalkKm != 0 { + try visitor.visitSingularDoubleField(value: self.playerTotalWalkKm, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InAppPurchaseSubscriptionInfo.PurchasePeriod, rhs: InAppPurchaseSubscriptionInfo.PurchasePeriod) -> Bool { - if lhs.subscriptionEndTimeMs != rhs.subscriptionEndTimeMs {return false} - if lhs.receiptTimestampMs != rhs.receiptTimestampMs {return false} - if lhs.receipt != rhs.receipt {return false} - if lhs._storePrice != rhs._storePrice {return false} - if lhs.countryCode != rhs.countryCode {return false} - if lhs.skuID != rhs.skuID {return false} + public static func ==(lhs: InternalGetProfileResponse.PlayerProfileDetailsProto, rhs: InternalGetProfileResponse.PlayerProfileDetailsProto) -> Bool { + if lhs.appKey != rhs.appKey {return false} + if lhs.codename != rhs.codename {return false} + if lhs.faction != rhs.faction {return false} + if lhs.level != rhs.level {return false} + if lhs.experience != rhs.experience {return false} + if lhs.signedUpTimestampMs != rhs.signedUpTimestampMs {return false} + if lhs.lastPlayedTimestampMs != rhs.lastPlayedTimestampMs {return false} + if lhs.playerTotalWalkKm != rhs.playerTotalWalkKm {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InGamePurchaseDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InGamePurchaseDetails" +extension InternalGetSignedUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetSignedUrlOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ingame_type"), - 2: .standard(proto: "ingame_price"), - 3: .standard(proto: "remaining_ingame_balance"), + 1: .same(proto: "result"), + 2: .standard(proto: "signed_url"), + 3: .standard(proto: "photo_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -225997,130 +237181,68 @@ extension InGamePurchaseDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.ingameType) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.ingamePrice) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.remainingIngameBalance) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.signedURL) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.photoID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.ingameType.isEmpty { - try visitor.visitSingularStringField(value: self.ingameType, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.ingamePrice != 0 { - try visitor.visitSingularInt64Field(value: self.ingamePrice, fieldNumber: 2) + if !self.signedURL.isEmpty { + try visitor.visitSingularStringField(value: self.signedURL, fieldNumber: 2) } - if self.remainingIngameBalance != 0 { - try visitor.visitSingularInt64Field(value: self.remainingIngameBalance, fieldNumber: 3) + if !self.photoID.isEmpty { + try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InGamePurchaseDetails, rhs: InGamePurchaseDetails) -> Bool { - if lhs.ingameType != rhs.ingameType {return false} - if lhs.ingamePrice != rhs.ingamePrice {return false} - if lhs.remainingIngameBalance != rhs.remainingIngameBalance {return false} + public static func ==(lhs: InternalGetSignedUrlOutProto, rhs: InternalGetSignedUrlOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.signedURL != rhs.signedURL {return false} + if lhs.photoID != rhs.photoID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncenseAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncenseAttributesProto" +extension InternalGetSignedUrlOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "incense_lifetime_seconds"), - 2: .standard(proto: "pokemon_type"), - 3: .standard(proto: "pokemon_incense_type_probability"), - 4: .standard(proto: "standing_time_between_encounters_sec"), - 5: .standard(proto: "moving_time_between_encounter_sec"), - 6: .standard(proto: "distance_required_for_shorter_interval_meters"), - 7: .standard(proto: "pokemon_attracted_length_sec"), - 8: .standard(proto: "spawn_table"), - 9: .standard(proto: "spawn_table_probability"), - 11: .standard(proto: "ob_float"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), ] +} + +extension InternalGetSignedUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetSignedUrlProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.incenseLifetimeSeconds) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.pokemonType) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.pokemonIncenseTypeProbability) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.standingTimeBetweenEncountersSec) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.movingTimeBetweenEncounterSec) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.distanceRequiredForShorterIntervalMeters) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.pokemonAttractedLengthSec) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &self.spawnTable) }() - case 9: try { try decoder.decodeSingularFloatField(value: &self.spawnTableProbability) }() - case 11: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.incenseLifetimeSeconds != 0 { - try visitor.visitSingularInt32Field(value: self.incenseLifetimeSeconds, fieldNumber: 1) - } - if !self.pokemonType.isEmpty { - try visitor.visitPackedEnumField(value: self.pokemonType, fieldNumber: 2) - } - if self.pokemonIncenseTypeProbability != 0 { - try visitor.visitSingularFloatField(value: self.pokemonIncenseTypeProbability, fieldNumber: 3) - } - if self.standingTimeBetweenEncountersSec != 0 { - try visitor.visitSingularInt32Field(value: self.standingTimeBetweenEncountersSec, fieldNumber: 4) - } - if self.movingTimeBetweenEncounterSec != 0 { - try visitor.visitSingularInt32Field(value: self.movingTimeBetweenEncounterSec, fieldNumber: 5) - } - if self.distanceRequiredForShorterIntervalMeters != 0 { - try visitor.visitSingularInt32Field(value: self.distanceRequiredForShorterIntervalMeters, fieldNumber: 6) - } - if self.pokemonAttractedLengthSec != 0 { - try visitor.visitSingularInt32Field(value: self.pokemonAttractedLengthSec, fieldNumber: 7) - } - if !self.spawnTable.isEmpty { - try visitor.visitRepeatedMessageField(value: self.spawnTable, fieldNumber: 8) - } - if self.spawnTableProbability != 0 { - try visitor.visitSingularFloatField(value: self.spawnTableProbability, fieldNumber: 9) - } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 11) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncenseAttributesProto, rhs: IncenseAttributesProto) -> Bool { - if lhs.incenseLifetimeSeconds != rhs.incenseLifetimeSeconds {return false} - if lhs.pokemonType != rhs.pokemonType {return false} - if lhs.pokemonIncenseTypeProbability != rhs.pokemonIncenseTypeProbability {return false} - if lhs.standingTimeBetweenEncountersSec != rhs.standingTimeBetweenEncountersSec {return false} - if lhs.movingTimeBetweenEncounterSec != rhs.movingTimeBetweenEncounterSec {return false} - if lhs.distanceRequiredForShorterIntervalMeters != rhs.distanceRequiredForShorterIntervalMeters {return false} - if lhs.pokemonAttractedLengthSec != rhs.pokemonAttractedLengthSec {return false} - if lhs.spawnTable != rhs.spawnTable {return false} - if lhs.spawnTableProbability != rhs.spawnTableProbability {return false} - if lhs.obFloat != rhs.obFloat {return false} + public static func ==(lhs: InternalGetSignedUrlProto, rhs: InternalGetSignedUrlProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncenseEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncenseEncounterOutProto" +extension InternalGetWebTokenActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetWebTokenActionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "pokemon"), - 3: .standard(proto: "capture_probability"), - 4: .standard(proto: "active_item"), - 5: .standard(proto: "arplus_attempts_until_flee"), + 1: .same(proto: "status"), + 2: .standard(proto: "access_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226129,64 +237251,43 @@ extension IncenseEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.accessToken) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .incenseEncounterUnknown { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._captureProbability { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if self.activeItem != .unknown { - try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.arplusAttemptsUntilFlee != 0 { - try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 5) + if !self.accessToken.isEmpty { + try visitor.visitSingularStringField(value: self.accessToken, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncenseEncounterOutProto, rhs: IncenseEncounterOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._pokemon != rhs._pokemon {return false} - if lhs._captureProbability != rhs._captureProbability {return false} - if lhs.activeItem != rhs.activeItem {return false} - if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} + public static func ==(lhs: InternalGetWebTokenActionOutProto, rhs: InternalGetWebTokenActionOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.accessToken != rhs.accessToken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncenseEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension InternalGetWebTokenActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INCENSE_ENCOUNTER_UNKNOWN"), - 1: .same(proto: "INCENSE_ENCOUNTER_SUCCESS"), - 2: .same(proto: "INCENSE_ENCOUNTER_NOT_AVAILABLE"), - 3: .same(proto: "POKEMON_INVENTORY_FULL"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), ] } -extension IncenseEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncenseEncounterProto" +extension InternalGetWebTokenActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGetWebTokenActionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "encounter_id"), - 2: .standard(proto: "encounter_location"), + 1: .standard(proto: "client_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226195,36 +237296,32 @@ extension IncenseEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.encounterID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.encounterLocation) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.clientID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.encounterID != 0 { - try visitor.visitSingularInt64Field(value: self.encounterID, fieldNumber: 1) - } - if !self.encounterLocation.isEmpty { - try visitor.visitSingularStringField(value: self.encounterLocation, fieldNumber: 2) + if !self.clientID.isEmpty { + try visitor.visitSingularStringField(value: self.clientID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncenseEncounterProto, rhs: IncenseEncounterProto) -> Bool { - if lhs.encounterID != rhs.encounterID {return false} - if lhs.encounterLocation != rhs.encounterLocation {return false} + public static func ==(lhs: InternalGetWebTokenActionProto, rhs: InternalGetWebTokenActionProto) -> Bool { + if lhs.clientID != rhs.clientID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncidentGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncidentGlobalSettingsProto" +extension InternalGuestLoginAuthToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalGuestLoginAuthToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_player_level"), - 2: .standard(proto: "min_player_level_for_v2"), + 1: .same(proto: "secret"), + 2: .standard(proto: "api_key"), + 3: .standard(proto: "device_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226233,39 +237330,41 @@ extension IncidentGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevelForV2) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.secret) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.apiKey) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.deviceID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minPlayerLevel != 0 { - try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 1) + if !self.secret.isEmpty { + try visitor.visitSingularBytesField(value: self.secret, fieldNumber: 1) } - if self.minPlayerLevelForV2 != 0 { - try visitor.visitSingularInt32Field(value: self.minPlayerLevelForV2, fieldNumber: 2) + if !self.apiKey.isEmpty { + try visitor.visitSingularStringField(value: self.apiKey, fieldNumber: 2) + } + if !self.deviceID.isEmpty { + try visitor.visitSingularStringField(value: self.deviceID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncidentGlobalSettingsProto, rhs: IncidentGlobalSettingsProto) -> Bool { - if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} - if lhs.minPlayerLevelForV2 != rhs.minPlayerLevelForV2 {return false} + public static func ==(lhs: InternalGuestLoginAuthToken, rhs: InternalGuestLoginAuthToken) -> Bool { + if lhs.secret != rhs.secret {return false} + if lhs.apiKey != rhs.apiKey {return false} + if lhs.deviceID != rhs.deviceID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncidentLookupProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncidentLookupProto" +extension InternalIncomingFriendInviteDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalIncomingFriendInviteDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "incident_id"), - 2: .standard(proto: "fort_id"), - 3: .standard(proto: "fort_lat"), - 4: .standard(proto: "fort_lng"), - 5: .same(proto: "context"), + 1: .same(proto: "invite"), + 2: .same(proto: "player"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226274,50 +237373,44 @@ extension IncidentLookupProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.incidentID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.fortLat) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.fortLng) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.context) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._invite) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._player) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.incidentID.isEmpty { - try visitor.visitSingularStringField(value: self.incidentID, fieldNumber: 1) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) - } - if self.fortLat != 0 { - try visitor.visitSingularDoubleField(value: self.fortLat, fieldNumber: 3) - } - if self.fortLng != 0 { - try visitor.visitSingularDoubleField(value: self.fortLng, fieldNumber: 4) - } - if self.context != .pokestopIncident { - try visitor.visitSingularEnumField(value: self.context, fieldNumber: 5) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._invite { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._player { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncidentLookupProto, rhs: IncidentLookupProto) -> Bool { - if lhs.incidentID != rhs.incidentID {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.fortLat != rhs.fortLat {return false} - if lhs.fortLng != rhs.fortLng {return false} - if lhs.context != rhs.context {return false} + public static func ==(lhs: InternalIncomingFriendInviteDisplayProto, rhs: InternalIncomingFriendInviteDisplayProto) -> Bool { + if lhs._invite != rhs._invite {return false} + if lhs._player != rhs._player {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncidentPrioritySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncidentPrioritySettingsProto" +extension InternalIncomingFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalIncomingFriendInviteProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "incident_priority"), + 1: .same(proto: "status"), + 2: .standard(proto: "player_id"), + 3: .standard(proto: "created_ms"), + 4: .standard(proto: "invitation_type"), + 5: .standard(proto: "full_name"), + 7: .standard(proto: "nia_account_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226326,32 +237419,64 @@ extension IncidentPrioritySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.incidentPriority) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.createdMs) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.invitationType) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.fullName) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.incidentPriority.isEmpty { - try visitor.visitRepeatedMessageField(value: self.incidentPriority, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 2) + } + if self.createdMs != 0 { + try visitor.visitSingularInt64Field(value: self.createdMs, fieldNumber: 3) + } + if self.invitationType != .invitationTypeUnset { + try visitor.visitSingularEnumField(value: self.invitationType, fieldNumber: 4) + } + if !self.fullName.isEmpty { + try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 5) + } + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncidentPrioritySettingsProto, rhs: IncidentPrioritySettingsProto) -> Bool { - if lhs.incidentPriority != rhs.incidentPriority {return false} + public static func ==(lhs: InternalIncomingFriendInviteProto, rhs: InternalIncomingFriendInviteProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.playerID != rhs.playerID {return false} + if lhs.createdMs != rhs.createdMs {return false} + if lhs.invitationType != rhs.invitationType {return false} + if lhs.fullName != rhs.fullName {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncidentPrioritySettingsProto.IncidentPriority: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = IncidentPrioritySettingsProto.protoMessageName + ".IncidentPriority" +extension InternalIncomingFriendInviteProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "priority"), - 2: .standard(proto: "display_type"), - 3: .standard(proto: "one_of_badge_types"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "PENDING"), + 2: .same(proto: "DECLINED"), + 3: .same(proto: "CANCELLED"), + ] +} + +extension InternalInviteFacebookFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalInviteFacebookFriendOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226360,40 +237485,52 @@ extension IncidentPrioritySettingsProto.IncidentPriority: SwiftProtobuf.Message, // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.priority) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.displayType) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.oneOfBadgeTypes) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.priority != 0 { - try visitor.visitSingularInt32Field(value: self.priority, fieldNumber: 1) - } - if self.displayType != .none { - try visitor.visitSingularEnumField(value: self.displayType, fieldNumber: 2) - } - if !self.oneOfBadgeTypes.isEmpty { - try visitor.visitPackedEnumField(value: self.oneOfBadgeTypes, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncidentPrioritySettingsProto.IncidentPriority, rhs: IncidentPrioritySettingsProto.IncidentPriority) -> Bool { - if lhs.priority != rhs.priority {return false} - if lhs.displayType != rhs.displayType {return false} - if lhs.oneOfBadgeTypes != rhs.oneOfBadgeTypes {return false} + public static func ==(lhs: InternalInviteFacebookFriendOutProto, rhs: InternalInviteFacebookFriendOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncidentRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncidentRewardProto" +extension InternalInviteFacebookFriendOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "invasion_spawn_group_template_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + 4: .same(proto: "ERROR_PLAYER_OUTBOX_FULL"), + 5: .same(proto: "ERROR_PLAYER_INBOX_FULL"), + 6: .same(proto: "ERROR_SENDER_HAS_MAX_FRIENDS"), + 7: .same(proto: "ERROR_RECEIVER_HAS_MAX_FRIENDS"), + 8: .same(proto: "ERROR_ALREADY_A_FRIEND"), + 9: .same(proto: "ERROR_INVITE_ALREADY_SENT"), + 10: .same(proto: "ERROR_INVITE_ALREADY_RECEIVED"), + 11: .same(proto: "ERROR_CANNOT_SEND_INVITES_TO_YOURSELF"), + 12: .same(proto: "ERROR_FRIEND_CACHE_EXPIRED"), + 13: .same(proto: "ERROR_FRIEND_NOT_CACHED"), + 14: .same(proto: "ERROR_INVALID_SENDER_FACEBOOK_ID"), + 15: .same(proto: "ERROR_SEND_TO_BLOCKED_USER"), + ] +} + +extension InternalInviteFacebookFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalInviteFacebookFriendProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fb_access_token"), + 2: .standard(proto: "friend_fb_user_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226402,32 +237539,38 @@ extension IncidentRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.invasionSpawnGroupTemplateID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fbAccessToken) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.friendFbUserID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.invasionSpawnGroupTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.invasionSpawnGroupTemplateID, fieldNumber: 1) + if !self.fbAccessToken.isEmpty { + try visitor.visitSingularStringField(value: self.fbAccessToken, fieldNumber: 1) + } + if !self.friendFbUserID.isEmpty { + try visitor.visitSingularStringField(value: self.friendFbUserID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncidentRewardProto, rhs: IncidentRewardProto) -> Bool { - if lhs.invasionSpawnGroupTemplateID != rhs.invasionSpawnGroupTemplateID {return false} + public static func ==(lhs: InternalInviteFacebookFriendProto, rhs: InternalInviteFacebookFriendProto) -> Bool { + if lhs.fbAccessToken != rhs.fbAccessToken {return false} + if lhs.friendFbUserID != rhs.friendFbUserID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncidentTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncidentTicketAttributesProto" +extension InternalInviteGameRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalInviteGameRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ignore_full_inventory"), - 2: .standard(proto: "upgrade_requirement_count"), - 3: .standard(proto: "upgraded_item"), + 1: .standard(proto: "friend_id"), + 2: .standard(proto: "friend_nia_account_id"), + 3: .standard(proto: "app_key"), + 4: .same(proto: "referral"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226436,40 +237579,49 @@ extension IncidentTicketAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.ignoreFullInventory) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.upgradeRequirementCount) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.upgradedItem) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.friendNiaAccountID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.appKey) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._referral) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.ignoreFullInventory != false { - try visitor.visitSingularBoolField(value: self.ignoreFullInventory, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.friendID.isEmpty { + try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) } - if self.upgradeRequirementCount != 0 { - try visitor.visitSingularInt32Field(value: self.upgradeRequirementCount, fieldNumber: 2) + if !self.friendNiaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.friendNiaAccountID, fieldNumber: 2) } - if self.upgradedItem != .unknown { - try visitor.visitSingularEnumField(value: self.upgradedItem, fieldNumber: 3) + if !self.appKey.isEmpty { + try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 3) } + try { if let v = self._referral { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncidentTicketAttributesProto, rhs: IncidentTicketAttributesProto) -> Bool { - if lhs.ignoreFullInventory != rhs.ignoreFullInventory {return false} - if lhs.upgradeRequirementCount != rhs.upgradeRequirementCount {return false} - if lhs.upgradedItem != rhs.upgradedItem {return false} + public static func ==(lhs: InternalInviteGameRequest, rhs: InternalInviteGameRequest) -> Bool { + if lhs.friendID != rhs.friendID {return false} + if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} + if lhs.appKey != rhs.appKey {return false} + if lhs._referral != rhs._referral {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncidentVisibilitySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncidentVisibilitySettingsProto" +extension InternalInviteGameResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalInviteGameResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "visibility_character"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226478,31 +237630,43 @@ extension IncidentVisibilitySettingsProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.visibilityCharacter) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.visibilityCharacter.isEmpty { - try visitor.visitPackedEnumField(value: self.visibilityCharacter, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncidentVisibilitySettingsProto, rhs: IncidentVisibilitySettingsProto) -> Bool { - if lhs.visibilityCharacter != rhs.visibilityCharacter {return false} + public static func ==(lhs: InternalInviteGameResponse, rhs: InternalInviteGameResponse) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncomingFriendInviteDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncomingFriendInviteDisplayProto" +extension InternalInviteGameResponse.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "invite"), - 2: .same(proto: "player"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_NOT_FRIEND"), + 4: .same(proto: "ERROR_EXCEED_LIMIT"), + 5: .same(proto: "ERROR_ALREADY_SIGNED_UP"), + 6: .same(proto: "ERROR_EMAIL_FAILED"), + ] +} + +extension InternalIsMyFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalIsMyFriendOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "is_friend"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226511,44 +237675,45 @@ extension IncomingFriendInviteDisplayProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._invite) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._player) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isFriend) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._invite { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if self.isFriend != false { + try visitor.visitSingularBoolField(value: self.isFriend, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncomingFriendInviteDisplayProto, rhs: IncomingFriendInviteDisplayProto) -> Bool { - if lhs._invite != rhs._invite {return false} - if lhs._player != rhs._player {return false} + public static func ==(lhs: InternalIsMyFriendOutProto, rhs: InternalIsMyFriendOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.isFriend != rhs.isFriend {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncomingFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncomingFriendInviteProto" +extension InternalIsMyFriendOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "player_id"), - 3: .standard(proto: "created_ms"), - 4: .standard(proto: "invitation_type"), - 5: .standard(proto: "full_name"), - 7: .standard(proto: "nia_account_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND_DELETED"), + ] +} + +extension InternalIsMyFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalIsMyFriendProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .standard(proto: "nia_account_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226557,65 +237722,36 @@ extension IncomingFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.createdMs) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.invitationType) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.fullName) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 2) - } - if self.createdMs != 0 { - try visitor.visitSingularInt64Field(value: self.createdMs, fieldNumber: 3) - } - if self.invitationType != .unset { - try visitor.visitSingularEnumField(value: self.invitationType, fieldNumber: 4) - } - if !self.fullName.isEmpty { - try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 5) + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 7) + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncomingFriendInviteProto, rhs: IncomingFriendInviteProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: InternalIsMyFriendProto, rhs: InternalIsMyFriendProto) -> Bool { if lhs.playerID != rhs.playerID {return false} - if lhs.createdMs != rhs.createdMs {return false} - if lhs.invitationType != rhs.invitationType {return false} - if lhs.fullName != rhs.fullName {return false} if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IncomingFriendInviteProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "PENDING"), - 2: .same(proto: "DECLINED"), - 3: .same(proto: "CANCELLED"), - ] -} - -extension IncubatorFlowSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IncubatorFlowSettingsProto" +extension InternalLinkToAccountLoginRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalLinkToAccountLoginRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enbled"), - 2: .standard(proto: "ob_bool"), + 1: .standard(proto: "new_auth_token"), + 2: .standard(proto: "new_auth_provider_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226624,38 +237760,36 @@ extension IncubatorFlowSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enbled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.newAuthToken) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.newAuthProviderID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enbled != false { - try visitor.visitSingularBoolField(value: self.enbled, fieldNumber: 1) + if !self.newAuthToken.isEmpty { + try visitor.visitSingularBytesField(value: self.newAuthToken, fieldNumber: 1) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + if !self.newAuthProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.newAuthProviderID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IncubatorFlowSettingsProto, rhs: IncubatorFlowSettingsProto) -> Bool { - if lhs.enbled != rhs.enbled {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: InternalLinkToAccountLoginRequestProto, rhs: InternalLinkToAccountLoginRequestProto) -> Bool { + if lhs.newAuthToken != rhs.newAuthToken {return false} + if lhs.newAuthProviderID != rhs.newAuthProviderID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IndividualValueSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IndividualValueSettings" +extension InternalLinkToAccountLoginResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalLinkToAccountLoginResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "atk_floor"), - 3: .standard(proto: "def_floor"), - 4: .standard(proto: "sta_floor"), + 1: .same(proto: "success"), + 2: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226664,48 +237798,46 @@ extension IndividualValueSettings: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.atkFloor) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.defFloor) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.staFloor) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.atkFloor != 0 { - try visitor.visitSingularInt32Field(value: self.atkFloor, fieldNumber: 2) - } - if self.defFloor != 0 { - try visitor.visitSingularInt32Field(value: self.defFloor, fieldNumber: 3) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } - if self.staFloor != 0 { - try visitor.visitSingularInt32Field(value: self.staFloor, fieldNumber: 4) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IndividualValueSettings, rhs: IndividualValueSettings) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.atkFloor != rhs.atkFloor {return false} - if lhs.defFloor != rhs.defFloor {return false} - if lhs.staFloor != rhs.staFloor {return false} + public static func ==(lhs: InternalLinkToAccountLoginResponseProto, rhs: InternalLinkToAccountLoginResponseProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InitializationEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InitializationEvent" +extension InternalLinkToAccountLoginResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "install_mode"), - 2: .standard(proto: "locale_region"), - 3: .standard(proto: "arcore_version"), - 4: .standard(proto: "arkit_version"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "UNKNOWN_ERROR"), + 2: .same(proto: "AUTH_FAILURE"), + 3: .same(proto: "LOGIN_TAKEN"), + 4: .same(proto: "GUEST_LOGIN_DISABLED"), + 5: .same(proto: "SUCCESS_ALREADY_LINKED"), + ] +} + +extension InternalListFriendsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalListFriendsRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "feature"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226714,47 +237846,31 @@ extension InitializationEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.installMode) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.localeRegion) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.arcoreVersion) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.arkitVersion) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.feature) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.installMode.isEmpty { - try visitor.visitSingularStringField(value: self.installMode, fieldNumber: 1) - } - if !self.localeRegion.isEmpty { - try visitor.visitSingularStringField(value: self.localeRegion, fieldNumber: 2) - } - if !self.arcoreVersion.isEmpty { - try visitor.visitSingularStringField(value: self.arcoreVersion, fieldNumber: 3) - } - if !self.arkitVersion.isEmpty { - try visitor.visitSingularStringField(value: self.arkitVersion, fieldNumber: 4) + if self.feature != .unset { + try visitor.visitSingularEnumField(value: self.feature, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InitializationEvent, rhs: InitializationEvent) -> Bool { - if lhs.installMode != rhs.installMode {return false} - if lhs.localeRegion != rhs.localeRegion {return false} - if lhs.arcoreVersion != rhs.arcoreVersion {return false} - if lhs.arkitVersion != rhs.arkitVersion {return false} + public static func ==(lhs: InternalListFriendsRequest, rhs: InternalListFriendsRequest) -> Bool { + if lhs.feature != rhs.feature {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InputSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InputSettingsProto" +extension InternalListFriendsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalListFriendsResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_frame_independent_spin"), - 2: .standard(proto: "milliseconds_processed_spin_force"), - 3: .standard(proto: "spin_speed_multiplier"), + 1: .same(proto: "result"), + 2: .standard(proto: "friend_summary"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226763,40 +237879,170 @@ extension InputSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableFrameIndependentSpin) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.millisecondsProcessedSpinForce) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.spinSpeedMultiplier) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friendSummary) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableFrameIndependentSpin != false { - try visitor.visitSingularBoolField(value: self.enableFrameIndependentSpin, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.millisecondsProcessedSpinForce != 0 { - try visitor.visitSingularInt32Field(value: self.millisecondsProcessedSpinForce, fieldNumber: 2) + if !self.friendSummary.isEmpty { + try visitor.visitRepeatedMessageField(value: self.friendSummary, fieldNumber: 2) } - if self.spinSpeedMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.spinSpeedMultiplier, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalListFriendsResponse, rhs: InternalListFriendsResponse) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.friendSummary != rhs.friendSummary {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalListFriendsResponse.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_FEATURE_DISABLED"), + ] +} + +extension InternalListFriendsResponse.FriendSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalListFriendsResponse.protoMessageName + ".FriendSummaryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .standard(proto: "is_calling_app_friend"), + 3: .standard(proto: "calling_game_data"), + 4: .same(proto: "profile"), + 5: .standard(proto: "player_status"), + 6: .standard(proto: "invitation_status"), + 7: .standard(proto: "nia_account_id"), + 8: .standard(proto: "gar_account_info"), + ] + + fileprivate class _StorageClass { + var _playerID: String = String() + var _isCallingAppFriend: Bool = false + var _callingGameData: InternalGetFriendsListOutProto.FriendProto? = nil + var _profile: InternalListFriendsResponse.ProfileSummaryProto? = nil + var _playerStatus: InternalListFriendsResponse.PlayerStatusSummaryProto? = nil + var _invitationStatus: InternalSocialV2Enum.InvitationStatus = .unset + var _niaAccountID: String = String() + var _garAccountInfo: InternalGarAccountInfoProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _playerID = source._playerID + _isCallingAppFriend = source._isCallingAppFriend + _callingGameData = source._callingGameData + _profile = source._profile + _playerStatus = source._playerStatus + _invitationStatus = source._invitationStatus + _niaAccountID = source._niaAccountID + _garAccountInfo = source._garAccountInfo + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &_storage._isCallingAppFriend) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._callingGameData) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._profile) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._playerStatus) }() + case 6: try { try decoder.decodeSingularEnumField(value: &_storage._invitationStatus) }() + case 7: try { try decoder.decodeSingularStringField(value: &_storage._niaAccountID) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._garAccountInfo) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._playerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 1) + } + if _storage._isCallingAppFriend != false { + try visitor.visitSingularBoolField(value: _storage._isCallingAppFriend, fieldNumber: 2) + } + try { if let v = _storage._callingGameData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._profile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = _storage._playerStatus { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if _storage._invitationStatus != .unset { + try visitor.visitSingularEnumField(value: _storage._invitationStatus, fieldNumber: 6) + } + if !_storage._niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: _storage._niaAccountID, fieldNumber: 7) + } + try { if let v = _storage._garAccountInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InputSettingsProto, rhs: InputSettingsProto) -> Bool { - if lhs.enableFrameIndependentSpin != rhs.enableFrameIndependentSpin {return false} - if lhs.millisecondsProcessedSpinForce != rhs.millisecondsProcessedSpinForce {return false} - if lhs.spinSpeedMultiplier != rhs.spinSpeedMultiplier {return false} + public static func ==(lhs: InternalListFriendsResponse.FriendSummaryProto, rhs: InternalListFriendsResponse.FriendSummaryProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._playerID != rhs_storage._playerID {return false} + if _storage._isCallingAppFriend != rhs_storage._isCallingAppFriend {return false} + if _storage._callingGameData != rhs_storage._callingGameData {return false} + if _storage._profile != rhs_storage._profile {return false} + if _storage._playerStatus != rhs_storage._playerStatus {return false} + if _storage._invitationStatus != rhs_storage._invitationStatus {return false} + if _storage._niaAccountID != rhs_storage._niaAccountID {return false} + if _storage._garAccountInfo != rhs_storage._garAccountInfo {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Int32Value: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Int32Value" +extension InternalListFriendsResponse.PlayerStatusSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalListFriendsResponse.protoMessageName + ".PlayerStatusSummaryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), + 1: .same(proto: "result"), + 2: .standard(proto: "online_status"), + 3: .standard(proto: "last_played_app_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226805,30 +238051,51 @@ extension Int32Value: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.value) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.onlineStatus) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.lastPlayedAppKey) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.value != 0 { - try visitor.visitSingularInt32Field(value: self.value, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if self.onlineStatus != .statusUnset { + try visitor.visitSingularEnumField(value: self.onlineStatus, fieldNumber: 2) + } + if !self.lastPlayedAppKey.isEmpty { + try visitor.visitSingularStringField(value: self.lastPlayedAppKey, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Int32Value, rhs: Int32Value) -> Bool { - if lhs.value != rhs.value {return false} + public static func ==(lhs: InternalListFriendsResponse.PlayerStatusSummaryProto, rhs: InternalListFriendsResponse.PlayerStatusSummaryProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.onlineStatus != rhs.onlineStatus {return false} + if lhs.lastPlayedAppKey != rhs.lastPlayedAppKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Int64Value: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Int64Value" +extension InternalListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_STATUS_UNKNOWN"), + 4: .same(proto: "ERROR_STALE_DATA"), + ] +} + +extension InternalListFriendsResponse.ProfileSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalListFriendsResponse.protoMessageName + ".ProfileSummaryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "name"), + 2: .same(proto: "nickname"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226837,33 +238104,36 @@ extension Int64Value: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.value) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.nickname) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.value != 0 { - try visitor.visitSingularInt64Field(value: self.value, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + } + if !self.nickname.isEmpty { + try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Int64Value, rhs: Int64Value) -> Bool { - if lhs.value != rhs.value {return false} + public static func ==(lhs: InternalListFriendsResponse.ProfileSummaryProto, rhs: InternalListFriendsResponse.ProfileSummaryProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.nickname != rhs.nickname {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InternalAuthProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InternalAuthProto" +extension InternalListLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalListLoginActionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "email"), - 2: .standard(proto: "player_id"), - 3: .standard(proto: "app_id"), - 4: .same(proto: "key"), + 1: .same(proto: "success"), + 2: .standard(proto: "login_detail"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226872,46 +238142,35 @@ extension InternalAuthProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.email) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.appID) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.key) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.email.isEmpty { - try visitor.visitSingularStringField(value: self.email, fieldNumber: 1) - } - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 2) - } - if !self.appID.isEmpty { - try visitor.visitSingularStringField(value: self.appID, fieldNumber: 3) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } - if !self.key.isEmpty { - try visitor.visitSingularStringField(value: self.key, fieldNumber: 4) + if !self.loginDetail.isEmpty { + try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InternalAuthProto, rhs: InternalAuthProto) -> Bool { - if lhs.email != rhs.email {return false} - if lhs.playerID != rhs.playerID {return false} - if lhs.appID != rhs.appID {return false} - if lhs.key != rhs.key {return false} + public static func ==(lhs: InternalListLoginActionOutProto, rhs: InternalListLoginActionOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.loginDetail != rhs.loginDetail {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionAvailabilitySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionAvailabilitySettingsProto" +extension InternalLocationPingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalLocationPingProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "availability_start_minute"), - 2: .standard(proto: "availability_end_minute"), + 1: .standard(proto: "geofence_identifier"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226920,50 +238179,45 @@ extension InvasionAvailabilitySettingsProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.availabilityStartMinute) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.availabilityEndMinute) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.geofenceIdentifier) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.availabilityStartMinute != 0 { - try visitor.visitSingularInt64Field(value: self.availabilityStartMinute, fieldNumber: 1) - } - if self.availabilityEndMinute != 0 { - try visitor.visitSingularInt64Field(value: self.availabilityEndMinute, fieldNumber: 2) + if !self.geofenceIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.geofenceIdentifier, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionAvailabilitySettingsProto, rhs: InvasionAvailabilitySettingsProto) -> Bool { - if lhs.availabilityStartMinute != rhs.availabilityStartMinute {return false} - if lhs.availabilityEndMinute != rhs.availabilityEndMinute {return false} + public static func ==(lhs: InternalLocationPingProto, rhs: InternalLocationPingProto) -> Bool { + if lhs.geofenceIdentifier != rhs.geofenceIdentifier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionAvailabilitySettingsProto.InvasionAvailabilitySettingsId: SwiftProtobuf._ProtoNameProviding { +extension InternalLocationPingProto.PingReason: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INVASION_AVAILABILITY_SETTINGS_UNSET"), - 1: .same(proto: "INVASION_AVAILABILITY_SETTINGS_MONDAY"), - 2: .same(proto: "INVASION_AVAILABILITY_SETTINGS_TUESDAY"), - 3: .same(proto: "INVASION_AVAILABILITY_SETTINGS_WEDNESDAY"), - 4: .same(proto: "INVASION_AVAILABILITY_SETTINGS_THURSDAY"), - 5: .same(proto: "INVASION_AVAILABILITY_SETTINGS_FRIDAY"), - 6: .same(proto: "INVASION_AVAILABILITY_SETTINGS_SATURDAY"), - 7: .same(proto: "INVASION_AVAILABILITY_SETTINGS_SUNDAY"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ENTRANCE_EVENT"), + 2: .same(proto: "EXIT_EVENT"), + 3: .same(proto: "DWELL_EVENT"), + 4: .same(proto: "VISIT_EVENT"), + 5: .same(proto: "FITNESS_WAKEUP"), + 6: .same(proto: "OTHER_WAKEUP"), ] } -extension InvasionBattleResponseUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionBattleResponseUpdateProto" +extension InternalLoginDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalLoginDetail" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "status"), + 1: .standard(proto: "identity_provider"), + 2: .same(proto: "email"), + 3: .standard(proto: "auth_provider_id"), + 4: .standard(proto: "third_party_username"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -226972,96 +238226,172 @@ extension InvasionBattleResponseUpdateProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.identityProvider) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.email) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.thirdPartyUsername) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.identityProvider != .unsetIdentityProvider { + try visitor.visitSingularEnumField(value: self.identityProvider, fieldNumber: 1) + } + if !self.email.isEmpty { + try visitor.visitSingularStringField(value: self.email, fieldNumber: 2) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if !self.authProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 3) } - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) + if !self.thirdPartyUsername.isEmpty { + try visitor.visitSingularStringField(value: self.thirdPartyUsername, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionBattleResponseUpdateProto, rhs: InvasionBattleResponseUpdateProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.status != rhs.status {return false} + public static func ==(lhs: InternalLoginDetail, rhs: InternalLoginDetail) -> Bool { + if lhs.identityProvider != rhs.identityProvider {return false} + if lhs.email != rhs.email {return false} + if lhs.authProviderID != rhs.authProviderID {return false} + if lhs.thirdPartyUsername != rhs.thirdPartyUsername {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionBattleUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionBattleUpdateProto" +extension InternalMarketingTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalMarketingTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), - 3: .standard(proto: "ob_bool"), - 4: .standard(proto: "update_type"), - 5: .standard(proto: "ob_uint32"), + 1: .standard(proto: "newsfeed_event"), + 2: .standard(proto: "push_notification_event"), + 3: .same(proto: "metadata"), + 4: .standard(proto: "server_data"), + 5: .standard(proto: "common_filters"), ] + fileprivate class _StorageClass { + var _event: InternalMarketingTelemetry.OneOf_Event? + var _metadata: InternalMarketingTelemetryMetadata? = nil + var _serverData: ServerRecordMetadata? = nil + var _commonFilters: ClientTelemetryCommonFilterProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _event = source._event + _metadata = source._metadata + _serverData = source._serverData + _commonFilters = source._commonFilters + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.updateType) }() - case 5: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { + var v: MarketingTelemetryNewsfeedEvent? + var hadOneofValue = false + if let current = _storage._event { + hadOneofValue = true + if case .newsfeedEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._event = .newsfeedEvent(v) + } + }() + case 2: try { + var v: MarketingTelemetryPushNotificationEvent? + var hadOneofValue = false + if let current = _storage._event { + hadOneofValue = true + if case .pushNotificationEvent(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._event = .pushNotificationEvent(v) + } + }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._metadata) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._serverData) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) - } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 3) - } - if self.updateType != .pokemonHealth { - try visitor.visitSingularEnumField(value: self.updateType, fieldNumber: 4) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 5) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch _storage._event { + case .newsfeedEvent?: try { + guard case .newsfeedEvent(let v)? = _storage._event else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .pushNotificationEvent?: try { + guard case .pushNotificationEvent(let v)? = _storage._event else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case nil: break + } + try { if let v = _storage._metadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._serverData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = _storage._commonFilters { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionBattleUpdateProto, rhs: InvasionBattleUpdateProto) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obBool != rhs.obBool {return false} - if lhs.updateType != rhs.updateType {return false} - if lhs.obUint32 != rhs.obUint32 {return false} + public static func ==(lhs: InternalMarketingTelemetry, rhs: InternalMarketingTelemetry) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._event != rhs_storage._event {return false} + if _storage._metadata != rhs_storage._metadata {return false} + if _storage._serverData != rhs_storage._serverData {return false} + if _storage._commonFilters != rhs_storage._commonFilters {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionCreateDetail" +extension InternalMarketingTelemetryMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalMarketingTelemetryMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "origin"), + 1: .standard(proto: "common_metadata"), + 2: .standard(proto: "user_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227070,37 +238400,39 @@ extension InvasionCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.origin) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._commonMetadata) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.userID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.origin != .characterUnset { - try visitor.visitSingularEnumField(value: self.origin, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._commonMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.userID.isEmpty { + try visitor.visitSingularStringField(value: self.userID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionCreateDetail, rhs: InvasionCreateDetail) -> Bool { - if lhs.origin != rhs.origin {return false} + public static func ==(lhs: InternalMarketingTelemetryMetadata, rhs: InternalMarketingTelemetryMetadata) -> Bool { + if lhs._commonMetadata != rhs._commonMetadata {return false} + if lhs.userID != rhs.userID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionEncounterOutProto" +extension InternalMarketingTelemetryWrapper: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalMarketingTelemetryWrapper" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "encounter_pokemon"), - 3: .standard(proto: "capture_probability"), - 4: .standard(proto: "active_item"), - 5: .standard(proto: "throws_remaining"), - 6: .standard(proto: "encounter_id"), - 7: .standard(proto: "spawn_point_guid"), - 8: .standard(proto: "balls_display"), + 1: .standard(proto: "internal_marketing_telemetry"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227109,14 +238441,7 @@ extension InvasionEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._encounterPokemon) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.throwsRemaining) }() - case 6: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.spawnPointGuid) }() - case 8: try { try decoder.decodeSingularMessageField(value: &self._ballsDisplay) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._internalMarketingTelemetry) }() default: break } } @@ -227127,54 +238452,24 @@ extension InvasionEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try { if let v = self._encounterPokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._captureProbability { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if self.activeItem != .unknown { - try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) - } - if self.throwsRemaining != 0 { - try visitor.visitSingularInt32Field(value: self.throwsRemaining, fieldNumber: 5) - } - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 6) - } - if !self.spawnPointGuid.isEmpty { - try visitor.visitSingularStringField(value: self.spawnPointGuid, fieldNumber: 7) - } - try { if let v = self._ballsDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + try { if let v = self._internalMarketingTelemetry { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionEncounterOutProto, rhs: InvasionEncounterOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._encounterPokemon != rhs._encounterPokemon {return false} - if lhs._captureProbability != rhs._captureProbability {return false} - if lhs.activeItem != rhs.activeItem {return false} - if lhs.throwsRemaining != rhs.throwsRemaining {return false} - if lhs.encounterID != rhs.encounterID {return false} - if lhs.spawnPointGuid != rhs.spawnPointGuid {return false} - if lhs._ballsDisplay != rhs._ballsDisplay {return false} + public static func ==(lhs: InternalMarketingTelemetryWrapper, rhs: InternalMarketingTelemetryWrapper) -> Bool { + if lhs._internalMarketingTelemetry != rhs._internalMarketingTelemetry {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionEncounterOutProto.PremierBallsDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = InvasionEncounterOutProto.protoMessageName + ".PremierBallsDisplayProto" +extension InternalNianticPublicSharedLoginTokenSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalNianticPublicSharedLoginTokenSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "base_num_balls"), - 2: .standard(proto: "pokemon_purified_num_balls"), - 3: .standard(proto: "grunts_defeated_num_balls"), - 4: .standard(proto: "pokemon_remaining_num_balls"), + 1: .standard(proto: "app_settings"), + 2: .standard(proto: "client_settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227183,46 +238478,41 @@ extension InvasionEncounterOutProto.PremierBallsDisplayProto: SwiftProtobuf.Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.baseNumBalls) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokemonPurifiedNumBalls) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.gruntsDefeatedNumBalls) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.pokemonRemainingNumBalls) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.appSettings) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._clientSettings) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.baseNumBalls != 0 { - try visitor.visitSingularInt32Field(value: self.baseNumBalls, fieldNumber: 1) - } - if self.pokemonPurifiedNumBalls != 0 { - try visitor.visitSingularInt32Field(value: self.pokemonPurifiedNumBalls, fieldNumber: 2) - } - if self.gruntsDefeatedNumBalls != 0 { - try visitor.visitSingularInt32Field(value: self.gruntsDefeatedNumBalls, fieldNumber: 3) - } - if self.pokemonRemainingNumBalls != 0 { - try visitor.visitSingularInt32Field(value: self.pokemonRemainingNumBalls, fieldNumber: 4) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.appSettings.isEmpty { + try visitor.visitRepeatedMessageField(value: self.appSettings, fieldNumber: 1) } + try { if let v = self._clientSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionEncounterOutProto.PremierBallsDisplayProto, rhs: InvasionEncounterOutProto.PremierBallsDisplayProto) -> Bool { - if lhs.baseNumBalls != rhs.baseNumBalls {return false} - if lhs.pokemonPurifiedNumBalls != rhs.pokemonPurifiedNumBalls {return false} - if lhs.gruntsDefeatedNumBalls != rhs.gruntsDefeatedNumBalls {return false} - if lhs.pokemonRemainingNumBalls != rhs.pokemonRemainingNumBalls {return false} + public static func ==(lhs: InternalNianticPublicSharedLoginTokenSettings, rhs: InternalNianticPublicSharedLoginTokenSettings) -> Bool { + if lhs.appSettings != rhs.appSettings {return false} + if lhs._clientSettings != rhs._clientSettings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionEncounterProto" +extension InternalNianticPublicSharedLoginTokenSettings.AppSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalNianticPublicSharedLoginTokenSettings.protoMessageName + ".AppSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "incident_lookup"), - 2: .same(proto: "step"), + 1: .standard(proto: "app_key"), + 2: .standard(proto: "token_producer_settings"), + 3: .standard(proto: "token_consumer_settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227231,8 +238521,9 @@ extension InvasionEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._incidentLookup) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.step) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._tokenProducerSettings) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._tokenConsumerSettings) }() default: break } } @@ -227243,27 +238534,33 @@ extension InvasionEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._incidentLookup { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.step != 0 { - try visitor.visitSingularInt32Field(value: self.step, fieldNumber: 2) + if !self.appKey.isEmpty { + try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) } + try { if let v = self._tokenProducerSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._tokenConsumerSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionEncounterProto, rhs: InvasionEncounterProto) -> Bool { - if lhs._incidentLookup != rhs._incidentLookup {return false} - if lhs.step != rhs.step {return false} + public static func ==(lhs: InternalNianticPublicSharedLoginTokenSettings.AppSettings, rhs: InternalNianticPublicSharedLoginTokenSettings.AppSettings) -> Bool { + if lhs.appKey != rhs.appKey {return false} + if lhs._tokenProducerSettings != rhs._tokenProducerSettings {return false} + if lhs._tokenConsumerSettings != rhs._tokenConsumerSettings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionFinishedDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionFinishedDisplayProto" +extension InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalNianticPublicSharedLoginTokenSettings.AppSettings.protoMessageName + ".TokenConsumerSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "style"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "allow_originating_auth_provider_id"), + 3: .standard(proto: "allow_originating_app_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227272,40 +238569,41 @@ extension InvasionFinishedDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.style) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.allowOriginatingAuthProviderID) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.allowOriginatingAppKey) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.style != .pokestopNormal { - try visitor.visitSingularEnumField(value: self.style, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if !self.allowOriginatingAuthProviderID.isEmpty { + try visitor.visitRepeatedStringField(value: self.allowOriginatingAuthProviderID, fieldNumber: 2) + } + if !self.allowOriginatingAppKey.isEmpty { + try visitor.visitRepeatedStringField(value: self.allowOriginatingAppKey, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionFinishedDisplayProto, rhs: InvasionFinishedDisplayProto) -> Bool { - if lhs.style != rhs.style {return false} + public static func ==(lhs: InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings, rhs: InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.allowOriginatingAuthProviderID != rhs.allowOriginatingAuthProviderID {return false} + if lhs.allowOriginatingAppKey != rhs.allowOriginatingAppKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionNpcDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionNpcDisplaySettingsProto" +extension InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalNianticPublicSharedLoginTokenSettings.AppSettings.protoMessageName + ".TokenProducerSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "trainer_name"), - 2: .same(proto: "avatar"), - 3: .standard(proto: "trainer_title"), - 4: .standard(proto: "trainer_quote"), - 5: .standard(proto: "icon_url"), - 6: .standard(proto: "backdrop_image_bundle"), - 7: .standard(proto: "model_name"), - 8: .standard(proto: "tutorial_on_loss_string"), - 9: .standard(proto: "is_male"), - 10: .standard(proto: "party_selection_music"), - 11: .standard(proto: "combat_music"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "allow_auth_provider_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227314,88 +238612,35 @@ extension InvasionNpcDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.trainerName) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._avatar) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.trainerTitle) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.trainerQuote) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.iconURL) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.backdropImageBundle) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.modelName) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.tutorialOnLossString) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.isMale) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.partySelectionMusic) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.combatMusic) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.allowAuthProviderID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.trainerName.isEmpty { - try visitor.visitSingularStringField(value: self.trainerName, fieldNumber: 1) - } - try { if let v = self._avatar { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.trainerTitle.isEmpty { - try visitor.visitSingularStringField(value: self.trainerTitle, fieldNumber: 3) - } - if !self.trainerQuote.isEmpty { - try visitor.visitSingularStringField(value: self.trainerQuote, fieldNumber: 4) - } - if !self.iconURL.isEmpty { - try visitor.visitSingularStringField(value: self.iconURL, fieldNumber: 5) - } - if !self.backdropImageBundle.isEmpty { - try visitor.visitSingularStringField(value: self.backdropImageBundle, fieldNumber: 6) - } - if !self.modelName.isEmpty { - try visitor.visitSingularStringField(value: self.modelName, fieldNumber: 7) - } - if !self.tutorialOnLossString.isEmpty { - try visitor.visitSingularStringField(value: self.tutorialOnLossString, fieldNumber: 8) - } - if self.isMale != false { - try visitor.visitSingularBoolField(value: self.isMale, fieldNumber: 9) - } - if !self.partySelectionMusic.isEmpty { - try visitor.visitSingularStringField(value: self.partySelectionMusic, fieldNumber: 10) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } - if !self.combatMusic.isEmpty { - try visitor.visitSingularStringField(value: self.combatMusic, fieldNumber: 11) + if !self.allowAuthProviderID.isEmpty { + try visitor.visitRepeatedStringField(value: self.allowAuthProviderID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionNpcDisplaySettingsProto, rhs: InvasionNpcDisplaySettingsProto) -> Bool { - if lhs.trainerName != rhs.trainerName {return false} - if lhs._avatar != rhs._avatar {return false} - if lhs.trainerTitle != rhs.trainerTitle {return false} - if lhs.trainerQuote != rhs.trainerQuote {return false} - if lhs.iconURL != rhs.iconURL {return false} - if lhs.backdropImageBundle != rhs.backdropImageBundle {return false} - if lhs.modelName != rhs.modelName {return false} - if lhs.tutorialOnLossString != rhs.tutorialOnLossString {return false} - if lhs.isMale != rhs.isMale {return false} - if lhs.partySelectionMusic != rhs.partySelectionMusic {return false} - if lhs.combatMusic != rhs.combatMusic {return false} + public static func ==(lhs: InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings, rhs: InternalNianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.allowAuthProviderID != rhs.allowAuthProviderID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionOpenCombatSessionDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionOpenCombatSessionDataProto" +extension InternalNianticPublicSharedLoginTokenSettings.ClientSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalNianticPublicSharedLoginTokenSettings.protoMessageName + ".ClientSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .same(proto: "type"), - 3: .standard(proto: "ob_list_int32"), - 4: .standard(proto: "ob_uint32"), - 5: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "android_provider_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227404,142 +238649,62 @@ extension InvasionOpenCombatSessionDataProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.obListInt32) }() - case 4: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.androidProviderID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) - } - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) - } - if !self.obListInt32.isEmpty { - try visitor.visitPackedInt32Field(value: self.obListInt32, fieldNumber: 3) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 4) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 5) + if !self.androidProviderID.isEmpty { + try visitor.visitRepeatedStringField(value: self.androidProviderID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionOpenCombatSessionDataProto, rhs: InvasionOpenCombatSessionDataProto) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.type != rhs.type {return false} - if lhs.obListInt32 != rhs.obListInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: InternalNianticPublicSharedLoginTokenSettings.ClientSettings, rhs: InternalNianticPublicSharedLoginTokenSettings.ClientSettings) -> Bool { + if lhs.androidProviderID != rhs.androidProviderID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionOpenCombatSessionResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionOpenCombatSessionResponseDataProto" +extension InternalNotifyContactListFriendsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalNotifyContactListFriendsRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), - 4: .standard(proto: "ob_commun_web_combat_state"), + 1: .standard(proto: "notify_timestamp_ms"), ] - fileprivate class _StorageClass { - var _obInt32: Int32 = 0 - var _obUint32: UInt32 = 0 - var _result: InvasionStatus.Status = .unset - var _obCommunWebCombatState: ObCommunWebCombatStateProto? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _obInt32 = source._obInt32 - _obUint32 = source._obUint32 - _result = source._result - _obCommunWebCombatState = source._obCommunWebCombatState - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &_storage._obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._obCommunWebCombatState) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.notifyTimestampMs) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._obInt32 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt32, fieldNumber: 1) - } - if _storage._obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: _storage._obUint32, fieldNumber: 2) - } - if _storage._result != .unset { - try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 3) - } - try { if let v = _storage._obCommunWebCombatState { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() + if self.notifyTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.notifyTimestampMs, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionOpenCombatSessionResponseDataProto, rhs: InvasionOpenCombatSessionResponseDataProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._obInt32 != rhs_storage._obInt32 {return false} - if _storage._obUint32 != rhs_storage._obUint32 {return false} - if _storage._result != rhs_storage._result {return false} - if _storage._obCommunWebCombatState != rhs_storage._obCommunWebCombatState {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: InternalNotifyContactListFriendsRequest, rhs: InternalNotifyContactListFriendsRequest) -> Bool { + if lhs.notifyTimestampMs != rhs.notifyTimestampMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionStatus" +extension InternalNotifyContactListFriendsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalNotifyContactListFriendsResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227548,64 +238713,39 @@ extension InvasionStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionStatus, rhs: InvasionStatus) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: InternalNotifyContactListFriendsResponse, rhs: InternalNotifyContactListFriendsResponse) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionStatus.Status: SwiftProtobuf._ProtoNameProviding { +extension InternalNotifyContactListFriendsResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - 3: .same(proto: "ERROR_FORT_NOT_FOUND"), - 4: .same(proto: "ERROR_INCIDENT_NOT_FOUND"), - 5: .same(proto: "ERROR_STEP_ALREADY_COMPLETED"), - 6: .same(proto: "ERROR_WRONG_STEP"), - 7: .same(proto: "ERROR_PLAYER_BELOW_MIN_LEVEL"), - 8: .same(proto: "ERROR_INCIDENT_EXPIRED"), - 9: .same(proto: "ERROR_MISSING_INCIDENT_TICKET"), - 10: .same(proto: "ERROR_ENCOUNTER_POKEMON_INVENTORY_FULL"), - 11: .same(proto: "ERROR_PLAYER_BELOW_V2_MIN_LEVEL"), - 12: .same(proto: "ERROR_RETRY"), - 20: .same(proto: "ERROR_INVALID_HEALTH_UPDATES"), - 30: .same(proto: "ERROR_ATTACKING_POKEMON_INVALID"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_ALREADY_SENT"), ] } -extension InvasionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionTelemetry" +extension InternalOptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalOptOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "invasion_telemetry_id"), - 2: .standard(proto: "npc_id"), - 3: .standard(proto: "battle_success"), - 4: .standard(proto: "post_battle_friendly_remaining"), - 5: .standard(proto: "post_battle_enemy_remaining"), - 6: .standard(proto: "encounter_pokemon"), - 7: .standard(proto: "encounter_success"), - 8: .standard(proto: "invasion_id"), - 9: .standard(proto: "player_tapped_npc"), - 10: .same(proto: "radar"), - 11: .same(proto: "curfew"), - 12: .same(proto: "duration"), - 13: .same(proto: "distance"), - 14: .standard(proto: "invasion_context"), - 15: .standard(proto: "balloon_type"), + 1: .same(proto: "categories"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227614,101 +238754,31 @@ extension InvasionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.invasionTelemetryID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.npcID) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.battleSuccess) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.postBattleFriendlyRemaining) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.postBattleEnemyRemaining) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.encounterPokemon) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.encounterSuccess) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.invasionID) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.playerTappedNpc) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.radar) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.curfew) }() - case 12: try { try decoder.decodeSingularFloatField(value: &self.duration) }() - case 13: try { try decoder.decodeSingularFloatField(value: &self.distance) }() - case 14: try { try decoder.decodeSingularEnumField(value: &self.invasionContext) }() - case 15: try { try decoder.decodeSingularEnumField(value: &self.balloonType) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.categories) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.invasionTelemetryID != .undefinedInvasionEvent { - try visitor.visitSingularEnumField(value: self.invasionTelemetryID, fieldNumber: 1) - } - if self.npcID != .characterUnset { - try visitor.visitSingularEnumField(value: self.npcID, fieldNumber: 2) - } - if self.battleSuccess != false { - try visitor.visitSingularBoolField(value: self.battleSuccess, fieldNumber: 3) - } - if self.postBattleFriendlyRemaining != 0 { - try visitor.visitSingularInt32Field(value: self.postBattleFriendlyRemaining, fieldNumber: 4) - } - if self.postBattleEnemyRemaining != 0 { - try visitor.visitSingularInt32Field(value: self.postBattleEnemyRemaining, fieldNumber: 5) - } - if self.encounterPokemon != 0 { - try visitor.visitSingularInt32Field(value: self.encounterPokemon, fieldNumber: 6) - } - if self.encounterSuccess != false { - try visitor.visitSingularBoolField(value: self.encounterSuccess, fieldNumber: 7) - } - if !self.invasionID.isEmpty { - try visitor.visitSingularStringField(value: self.invasionID, fieldNumber: 8) - } - if self.playerTappedNpc != false { - try visitor.visitSingularBoolField(value: self.playerTappedNpc, fieldNumber: 9) - } - if !self.radar.isEmpty { - try visitor.visitSingularStringField(value: self.radar, fieldNumber: 10) - } - if self.curfew != false { - try visitor.visitSingularBoolField(value: self.curfew, fieldNumber: 11) - } - if self.duration != 0 { - try visitor.visitSingularFloatField(value: self.duration, fieldNumber: 12) - } - if self.distance != 0 { - try visitor.visitSingularFloatField(value: self.distance, fieldNumber: 13) - } - if self.invasionContext != .pokestopIncident { - try visitor.visitSingularEnumField(value: self.invasionContext, fieldNumber: 14) - } - if self.balloonType != .rocket { - try visitor.visitSingularEnumField(value: self.balloonType, fieldNumber: 15) + if !self.categories.isEmpty { + try visitor.visitRepeatedStringField(value: self.categories, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionTelemetry, rhs: InvasionTelemetry) -> Bool { - if lhs.invasionTelemetryID != rhs.invasionTelemetryID {return false} - if lhs.npcID != rhs.npcID {return false} - if lhs.battleSuccess != rhs.battleSuccess {return false} - if lhs.postBattleFriendlyRemaining != rhs.postBattleFriendlyRemaining {return false} - if lhs.postBattleEnemyRemaining != rhs.postBattleEnemyRemaining {return false} - if lhs.encounterPokemon != rhs.encounterPokemon {return false} - if lhs.encounterSuccess != rhs.encounterSuccess {return false} - if lhs.invasionID != rhs.invasionID {return false} - if lhs.playerTappedNpc != rhs.playerTappedNpc {return false} - if lhs.radar != rhs.radar {return false} - if lhs.curfew != rhs.curfew {return false} - if lhs.duration != rhs.duration {return false} - if lhs.distance != rhs.distance {return false} - if lhs.invasionContext != rhs.invasionContext {return false} - if lhs.balloonType != rhs.balloonType {return false} + public static func ==(lhs: InternalOptOutProto, rhs: InternalOptOutProto) -> Bool { + if lhs.categories != rhs.categories {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InvasionVictoryLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InvasionVictoryLogEntry" +extension InternalOutgoingFriendInviteDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalOutgoingFriendInviteDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "rewards"), - 2: .standard(proto: "invasion_npc"), + 1: .same(proto: "invite"), + 2: .same(proto: "player"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227717,8 +238787,8 @@ extension InvasionVictoryLogEntry: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.invasionNpc) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._invite) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._player) }() default: break } } @@ -227729,29 +238799,32 @@ extension InvasionVictoryLogEntry: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._rewards { + try { if let v = self._invite { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if self.invasionNpc != .characterUnset { - try visitor.visitSingularEnumField(value: self.invasionNpc, fieldNumber: 2) - } + try { if let v = self._player { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InvasionVictoryLogEntry, rhs: InvasionVictoryLogEntry) -> Bool { - if lhs._rewards != rhs._rewards {return false} - if lhs.invasionNpc != rhs.invasionNpc {return false} + public static func ==(lhs: InternalOutgoingFriendInviteDisplayProto, rhs: InternalOutgoingFriendInviteDisplayProto) -> Bool { + if lhs._invite != rhs._invite {return false} + if lhs._player != rhs._player {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InventoryDeltaProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InventoryDeltaProto" +extension InternalOutgoingFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalOutgoingFriendInviteProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "original_timestamp"), - 2: .standard(proto: "new_timestamp"), - 3: .standard(proto: "inventory_item"), + 1: .same(proto: "status"), + 2: .standard(proto: "player_id"), + 3: .standard(proto: "created_ms"), + 4: .standard(proto: "invitation_type"), + 5: .standard(proto: "full_name"), + 6: .standard(proto: "nia_account_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227760,42 +238833,67 @@ extension InventoryDeltaProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.originalTimestamp) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.newTimestamp) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.inventoryItem) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.createdMs) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.invitationType) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.fullName) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.originalTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.originalTimestamp, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.newTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.newTimestamp, fieldNumber: 2) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 2) } - if !self.inventoryItem.isEmpty { - try visitor.visitRepeatedMessageField(value: self.inventoryItem, fieldNumber: 3) + if self.createdMs != 0 { + try visitor.visitSingularInt64Field(value: self.createdMs, fieldNumber: 3) + } + if self.invitationType != .invitationTypeUnset { + try visitor.visitSingularEnumField(value: self.invitationType, fieldNumber: 4) + } + if !self.fullName.isEmpty { + try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 5) + } + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InventoryDeltaProto, rhs: InventoryDeltaProto) -> Bool { - if lhs.originalTimestamp != rhs.originalTimestamp {return false} - if lhs.newTimestamp != rhs.newTimestamp {return false} - if lhs.inventoryItem != rhs.inventoryItem {return false} + public static func ==(lhs: InternalOutgoingFriendInviteProto, rhs: InternalOutgoingFriendInviteProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.playerID != rhs.playerID {return false} + if lhs.createdMs != rhs.createdMs {return false} + if lhs.invitationType != rhs.invitationType {return false} + if lhs.fullName != rhs.fullName {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InventoryItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InventoryItemProto" +extension InternalOutgoingFriendInviteProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "deleted_item_key"), - 3: .standard(proto: "inventory_item_data"), - 1: .standard(proto: "modified_timestamp"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "PENDING"), + 2: .same(proto: "CANCELLED"), + 3: .same(proto: "DECLINED"), + ] +} + +extension InternalPhoneNumberCountryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalPhoneNumberCountryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "english_name"), + 2: .standard(proto: "localized_name"), + 3: .standard(proto: "country_code"), + 4: .standard(proto: "calling_code"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227804,74 +238902,48 @@ extension InventoryItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.modifiedTimestamp) }() - case 2: try { - var v: HoloInventoryKeyProto? - var hadOneofValue = false - if let current = self.inventoryItem { - hadOneofValue = true - if case .deletedItemKey(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.inventoryItem = .deletedItemKey(v) - } - }() - case 3: try { - var v: HoloInventoryItemProto? - var hadOneofValue = false - if let current = self.inventoryItem { - hadOneofValue = true - if case .inventoryItemData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.inventoryItem = .inventoryItemData(v) - } - }() + case 1: try { try decoder.decodeSingularStringField(value: &self.englishName) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.localizedName) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.callingCode) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.modifiedTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.modifiedTimestamp, fieldNumber: 1) + if !self.englishName.isEmpty { + try visitor.visitSingularStringField(value: self.englishName, fieldNumber: 1) } - switch self.inventoryItem { - case .deletedItemKey?: try { - guard case .deletedItemKey(let v)? = self.inventoryItem else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .inventoryItemData?: try { - guard case .inventoryItemData(let v)? = self.inventoryItem else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case nil: break + if !self.localizedName.isEmpty { + try visitor.visitSingularStringField(value: self.localizedName, fieldNumber: 2) + } + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 3) + } + if !self.callingCode.isEmpty { + try visitor.visitSingularStringField(value: self.callingCode, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InventoryItemProto, rhs: InventoryItemProto) -> Bool { - if lhs.inventoryItem != rhs.inventoryItem {return false} - if lhs.modifiedTimestamp != rhs.modifiedTimestamp {return false} + public static func ==(lhs: InternalPhoneNumberCountryProto, rhs: InternalPhoneNumberCountryProto) -> Bool { + if lhs.englishName != rhs.englishName {return false} + if lhs.localizedName != rhs.localizedName {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.callingCode != rhs.callingCode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InventoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InventoryProto" +extension InternalPhotoRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalPhotoRecord" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "inventory_item"), - 2: .standard(proto: "diff_inventory"), - 3: .standard(proto: "inventory_type"), + 1: .standard(proto: "creation_time_ms"), + 2: .standard(proto: "transient_photo_url"), + 3: .standard(proto: "photo_id"), + 4: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227880,53 +238952,55 @@ extension InventoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.inventoryItem) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._diffInventory) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.inventoryType) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.creationTimeMs) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.transientPhotoURL) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.photoID) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.inventoryItem.isEmpty { - try visitor.visitRepeatedMessageField(value: self.inventoryItem, fieldNumber: 1) + if self.creationTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.creationTimeMs, fieldNumber: 1) } - try { if let v = self._diffInventory { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.inventoryType != .binaryBlob { - try visitor.visitSingularEnumField(value: self.inventoryType, fieldNumber: 3) + if !self.transientPhotoURL.isEmpty { + try visitor.visitSingularStringField(value: self.transientPhotoURL, fieldNumber: 2) + } + if !self.photoID.isEmpty { + try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 3) + } + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InventoryProto, rhs: InventoryProto) -> Bool { - if lhs.inventoryItem != rhs.inventoryItem {return false} - if lhs._diffInventory != rhs._diffInventory {return false} - if lhs.inventoryType != rhs.inventoryType {return false} + public static func ==(lhs: InternalPhotoRecord, rhs: InternalPhotoRecord) -> Bool { + if lhs.creationTimeMs != rhs.creationTimeMs {return false} + if lhs.transientPhotoURL != rhs.transientPhotoURL {return false} + if lhs.photoID != rhs.photoID {return false} + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InventoryProto.InventoryType: SwiftProtobuf._ProtoNameProviding { +extension InternalPhotoRecord.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BINARY_BLOB"), - 1: .same(proto: "DIFF"), - 2: .same(proto: "COMPOSITE"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "PHOTO_FLAGGED"), + 3: .same(proto: "ERROR_UNKNOWN"), ] } -extension InventoryProto.DiffInventoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = InventoryProto.protoMessageName + ".DiffInventoryProto" +extension InternalPlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalPlayerSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "item_changelog"), - 3: .standard(proto: "diff_inventory_entity_last_compaction_ms"), + 1: .standard(proto: "opt_out_online_status"), + 2: .standard(proto: "completed_tutorials"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -227935,228 +239009,111 @@ extension InventoryProto.DiffInventoryProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.itemChangelog) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.diffInventoryEntityLastCompactionMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.optOutOnlineStatus) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.completedTutorials) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.itemChangelog.isEmpty { - try visitor.visitRepeatedMessageField(value: self.itemChangelog, fieldNumber: 2) + if self.optOutOnlineStatus != false { + try visitor.visitSingularBoolField(value: self.optOutOnlineStatus, fieldNumber: 1) } - if self.diffInventoryEntityLastCompactionMs != 0 { - try visitor.visitSingularInt64Field(value: self.diffInventoryEntityLastCompactionMs, fieldNumber: 3) + if !self.completedTutorials.isEmpty { + try visitor.visitPackedEnumField(value: self.completedTutorials, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InventoryProto.DiffInventoryProto, rhs: InventoryProto.DiffInventoryProto) -> Bool { - if lhs.itemChangelog != rhs.itemChangelog {return false} - if lhs.diffInventoryEntityLastCompactionMs != rhs.diffInventoryEntityLastCompactionMs {return false} + public static func ==(lhs: InternalPlayerSettingsProto, rhs: InternalPlayerSettingsProto) -> Bool { + if lhs.optOutOnlineStatus != rhs.optOutOnlineStatus {return false} + if lhs.completedTutorials != rhs.completedTutorials {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InventorySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InventorySettingsProto" +extension InternalPlayerSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalPlayerSummaryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "max_pokemon"), - 2: .standard(proto: "max_bag_items"), - 3: .standard(proto: "base_pokemon"), - 4: .standard(proto: "base_bag_items"), - 5: .standard(proto: "base_eggs"), - 6: .standard(proto: "max_team_changes"), - 7: .standard(proto: "team_change_item_reset_period_in_days"), - 8: .standard(proto: "max_item_boost_duration_ms"), - 9: .standard(proto: "default_sticker_max_count"), - 10: .standard(proto: "enable_eggs_not_inventory"), - 11: .standard(proto: "special_egg_overflow_spots"), - 12: .standard(proto: "enable_overflow_spot_sliding"), - 13: .standard(proto: "enable_raid_pass_overflow"), - 14: .standard(proto: "base_postcard_storage"), - 15: .standard(proto: "max_postcard_storage"), - 16: .standard(proto: "evolution_stone_a_max_count"), - 17: .standard(proto: "ob_bool"), + 1: .standard(proto: "player_id"), + 2: .same(proto: "codename"), + 3: .standard(proto: "public_data"), + 4: .same(proto: "team"), + 5: .standard(proto: "fb_user_id"), + 6: .same(proto: "level"), + 7: .same(proto: "experience"), + 8: .standard(proto: "nia_account_id"), ] - fileprivate class _StorageClass { - var _maxPokemon: Int32 = 0 - var _maxBagItems: Int32 = 0 - var _basePokemon: Int32 = 0 - var _baseBagItems: Int32 = 0 - var _baseEggs: Int32 = 0 - var _maxTeamChanges: Int32 = 0 - var _teamChangeItemResetPeriodInDays: Int64 = 0 - var _maxItemBoostDurationMs: Int64 = 0 - var _defaultStickerMaxCount: Int32 = 0 - var _enableEggsNotInventory: Bool = false - var _specialEggOverflowSpots: Int32 = 0 - var _enableOverflowSpotSliding: Bool = false - var _enableRaidPassOverflow: Bool = false - var _basePostcardStorage: Int32 = 0 - var _maxPostcardStorage: Int32 = 0 - var _evolutionStoneAMaxCount: Int32 = 0 - var _obBool: Bool = false - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _maxPokemon = source._maxPokemon - _maxBagItems = source._maxBagItems - _basePokemon = source._basePokemon - _baseBagItems = source._baseBagItems - _baseEggs = source._baseEggs - _maxTeamChanges = source._maxTeamChanges - _teamChangeItemResetPeriodInDays = source._teamChangeItemResetPeriodInDays - _maxItemBoostDurationMs = source._maxItemBoostDurationMs - _defaultStickerMaxCount = source._defaultStickerMaxCount - _enableEggsNotInventory = source._enableEggsNotInventory - _specialEggOverflowSpots = source._specialEggOverflowSpots - _enableOverflowSpotSliding = source._enableOverflowSpotSliding - _enableRaidPassOverflow = source._enableRaidPassOverflow - _basePostcardStorage = source._basePostcardStorage - _maxPostcardStorage = source._maxPostcardStorage - _evolutionStoneAMaxCount = source._evolutionStoneAMaxCount - _obBool = source._obBool - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPokemon) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._maxBagItems) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._basePokemon) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._baseBagItems) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._baseEggs) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._maxTeamChanges) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._teamChangeItemResetPeriodInDays) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._maxItemBoostDurationMs) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._defaultStickerMaxCount) }() - case 10: try { try decoder.decodeSingularBoolField(value: &_storage._enableEggsNotInventory) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._specialEggOverflowSpots) }() - case 12: try { try decoder.decodeSingularBoolField(value: &_storage._enableOverflowSpotSliding) }() - case 13: try { try decoder.decodeSingularBoolField(value: &_storage._enableRaidPassOverflow) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._basePostcardStorage) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPostcardStorage) }() - case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._evolutionStoneAMaxCount) }() - case 17: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.codename) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.publicData) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.team) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.fbUserID) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.level) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.experience) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._maxPokemon != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxPokemon, fieldNumber: 1) - } - if _storage._maxBagItems != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxBagItems, fieldNumber: 2) - } - if _storage._basePokemon != 0 { - try visitor.visitSingularInt32Field(value: _storage._basePokemon, fieldNumber: 3) - } - if _storage._baseBagItems != 0 { - try visitor.visitSingularInt32Field(value: _storage._baseBagItems, fieldNumber: 4) - } - if _storage._baseEggs != 0 { - try visitor.visitSingularInt32Field(value: _storage._baseEggs, fieldNumber: 5) - } - if _storage._maxTeamChanges != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxTeamChanges, fieldNumber: 6) - } - if _storage._teamChangeItemResetPeriodInDays != 0 { - try visitor.visitSingularInt64Field(value: _storage._teamChangeItemResetPeriodInDays, fieldNumber: 7) - } - if _storage._maxItemBoostDurationMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._maxItemBoostDurationMs, fieldNumber: 8) - } - if _storage._defaultStickerMaxCount != 0 { - try visitor.visitSingularInt32Field(value: _storage._defaultStickerMaxCount, fieldNumber: 9) - } - if _storage._enableEggsNotInventory != false { - try visitor.visitSingularBoolField(value: _storage._enableEggsNotInventory, fieldNumber: 10) - } - if _storage._specialEggOverflowSpots != 0 { - try visitor.visitSingularInt32Field(value: _storage._specialEggOverflowSpots, fieldNumber: 11) - } - if _storage._enableOverflowSpotSliding != false { - try visitor.visitSingularBoolField(value: _storage._enableOverflowSpotSliding, fieldNumber: 12) - } - if _storage._enableRaidPassOverflow != false { - try visitor.visitSingularBoolField(value: _storage._enableRaidPassOverflow, fieldNumber: 13) - } - if _storage._basePostcardStorage != 0 { - try visitor.visitSingularInt32Field(value: _storage._basePostcardStorage, fieldNumber: 14) - } - if _storage._maxPostcardStorage != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxPostcardStorage, fieldNumber: 15) - } - if _storage._evolutionStoneAMaxCount != 0 { - try visitor.visitSingularInt32Field(value: _storage._evolutionStoneAMaxCount, fieldNumber: 16) - } - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 17) - } - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: InventorySettingsProto, rhs: InventorySettingsProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._maxPokemon != rhs_storage._maxPokemon {return false} - if _storage._maxBagItems != rhs_storage._maxBagItems {return false} - if _storage._basePokemon != rhs_storage._basePokemon {return false} - if _storage._baseBagItems != rhs_storage._baseBagItems {return false} - if _storage._baseEggs != rhs_storage._baseEggs {return false} - if _storage._maxTeamChanges != rhs_storage._maxTeamChanges {return false} - if _storage._teamChangeItemResetPeriodInDays != rhs_storage._teamChangeItemResetPeriodInDays {return false} - if _storage._maxItemBoostDurationMs != rhs_storage._maxItemBoostDurationMs {return false} - if _storage._defaultStickerMaxCount != rhs_storage._defaultStickerMaxCount {return false} - if _storage._enableEggsNotInventory != rhs_storage._enableEggsNotInventory {return false} - if _storage._specialEggOverflowSpots != rhs_storage._specialEggOverflowSpots {return false} - if _storage._enableOverflowSpotSliding != rhs_storage._enableOverflowSpotSliding {return false} - if _storage._enableRaidPassOverflow != rhs_storage._enableRaidPassOverflow {return false} - if _storage._basePostcardStorage != rhs_storage._basePostcardStorage {return false} - if _storage._maxPostcardStorage != rhs_storage._maxPostcardStorage {return false} - if _storage._evolutionStoneAMaxCount != rhs_storage._evolutionStoneAMaxCount {return false} - if _storage._obBool != rhs_storage._obBool {return false} - return true - } - if !storagesAreEqual {return false} + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } + if !self.codename.isEmpty { + try visitor.visitSingularStringField(value: self.codename, fieldNumber: 2) + } + if !self.publicData.isEmpty { + try visitor.visitSingularBytesField(value: self.publicData, fieldNumber: 3) + } + if !self.team.isEmpty { + try visitor.visitSingularStringField(value: self.team, fieldNumber: 4) + } + if !self.fbUserID.isEmpty { + try visitor.visitSingularStringField(value: self.fbUserID, fieldNumber: 5) + } + if self.level != 0 { + try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 6) + } + if self.experience != 0 { + try visitor.visitSingularInt64Field(value: self.experience, fieldNumber: 7) + } + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 8) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalPlayerSummaryProto, rhs: InternalPlayerSummaryProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.codename != rhs.codename {return false} + if lhs.publicData != rhs.publicData {return false} + if lhs.team != rhs.team {return false} + if lhs.fbUserID != rhs.fbUserID {return false} + if lhs.level != rhs.level {return false} + if lhs.experience != rhs.experience {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InventoryUpgradeAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InventoryUpgradeAttributesProto" +extension InternalProfileDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalProfileDetailsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "additional_storage"), - 2: .standard(proto: "upgrade_type"), + 1: .standard(proto: "profile_name_app_key"), + 2: .same(proto: "nickname"), + 3: .standard(proto: "profile_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228165,37 +239122,42 @@ extension InventoryUpgradeAttributesProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.additionalStorage) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.upgradeType) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.profileNameAppKey) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.nickname) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.profileName) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.additionalStorage != 0 { - try visitor.visitSingularInt32Field(value: self.additionalStorage, fieldNumber: 1) + if !self.profileNameAppKey.isEmpty { + try visitor.visitSingularStringField(value: self.profileNameAppKey, fieldNumber: 1) } - if self.upgradeType != .upgradeUnset { - try visitor.visitSingularEnumField(value: self.upgradeType, fieldNumber: 2) + if !self.nickname.isEmpty { + try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 2) + } + if !self.profileName.isEmpty { + try visitor.visitSingularStringField(value: self.profileName, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InventoryUpgradeAttributesProto, rhs: InventoryUpgradeAttributesProto) -> Bool { - if lhs.additionalStorage != rhs.additionalStorage {return false} - if lhs.upgradeType != rhs.upgradeType {return false} + public static func ==(lhs: InternalProfileDetailsProto, rhs: InternalProfileDetailsProto) -> Bool { + if lhs.profileNameAppKey != rhs.profileNameAppKey {return false} + if lhs.nickname != rhs.nickname {return false} + if lhs.profileName != rhs.profileName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InventoryUpgradeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InventoryUpgradeProto" +extension InternalProxyRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalProxyRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .standard(proto: "upgrade_type"), - 3: .standard(proto: "additional_storage"), + 1: .same(proto: "action"), + 2: .same(proto: "host"), + 3: .same(proto: "payload"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228204,40 +239166,42 @@ extension InventoryUpgradeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.upgradeType) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.additionalStorage) }() + case 1: try { try decoder.decodeSingularUInt32Field(value: &self.action) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.host) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) + if self.action != 0 { + try visitor.visitSingularUInt32Field(value: self.action, fieldNumber: 1) } - if self.upgradeType != .upgradeUnset { - try visitor.visitSingularEnumField(value: self.upgradeType, fieldNumber: 2) + if !self.host.isEmpty { + try visitor.visitSingularStringField(value: self.host, fieldNumber: 2) } - if self.additionalStorage != 0 { - try visitor.visitSingularInt32Field(value: self.additionalStorage, fieldNumber: 3) + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InventoryUpgradeProto, rhs: InventoryUpgradeProto) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.upgradeType != rhs.upgradeType {return false} - if lhs.additionalStorage != rhs.additionalStorage {return false} + public static func ==(lhs: InternalProxyRequestProto, rhs: InternalProxyRequestProto) -> Bool { + if lhs.action != rhs.action {return false} + if lhs.host != rhs.host {return false} + if lhs.payload != rhs.payload {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InventoryUpgradesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InventoryUpgradesProto" +extension InternalProxyResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalProxyResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "inventory_upgrade"), + 1: .same(proto: "status"), + 2: .standard(proto: "assigned_host"), + 3: .same(proto: "payload"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228246,28 +239210,54 @@ extension InventoryUpgradesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.inventoryUpgrade) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.assignedHost) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.inventoryUpgrade.isEmpty { - try visitor.visitRepeatedMessageField(value: self.inventoryUpgrade, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.assignedHost.isEmpty { + try visitor.visitSingularStringField(value: self.assignedHost, fieldNumber: 2) + } + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InventoryUpgradesProto, rhs: InventoryUpgradesProto) -> Bool { - if lhs.inventoryUpgrade != rhs.inventoryUpgrade {return false} + public static func ==(lhs: InternalProxyResponseProto, rhs: InternalProxyResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.assignedHost != rhs.assignedHost {return false} + if lhs.payload != rhs.payload {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InviteFacebookFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InviteFacebookFriendOutProto" +extension InternalProxyResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "COMPLETED"), + 2: .same(proto: "COMPLETED_AND_REASSIGNED"), + 3: .same(proto: "ACTION_NOT_FOUND"), + 4: .same(proto: "ASSIGNMENT_ERROR"), + 5: .same(proto: "PROXY_UNAUTHORIZED_ERROR"), + 6: .same(proto: "INTERNAL_ERROR"), + 7: .same(proto: "BAD_REQUEST"), + 8: .same(proto: "ACCESS_DENIED"), + 9: .same(proto: "TIMEOUT_ERROR"), + 10: .same(proto: "RATE_LIMITED"), + ] +} + +extension InternalPushNotificationRegistryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalPushNotificationRegistryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), ] @@ -228291,39 +239281,26 @@ extension InviteFacebookFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InviteFacebookFriendOutProto, rhs: InviteFacebookFriendOutProto) -> Bool { + public static func ==(lhs: InternalPushNotificationRegistryOutProto, rhs: InternalPushNotificationRegistryOutProto) -> Bool { if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InviteFacebookFriendOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension InternalPushNotificationRegistryOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - 4: .same(proto: "ERROR_PLAYER_OUTBOX_FULL"), - 5: .same(proto: "ERROR_PLAYER_INBOX_FULL"), - 6: .same(proto: "ERROR_SENDER_HAS_MAX_FRIENDS"), - 7: .same(proto: "ERROR_RECEIVER_HAS_MAX_FRIENDS"), - 8: .same(proto: "ERROR_ALREADY_A_FRIEND"), - 9: .same(proto: "ERROR_INVITE_ALREADY_SENT"), - 10: .same(proto: "ERROR_INVITE_ALREADY_RECEIVED"), - 11: .same(proto: "ERROR_CANNOT_SEND_INVITES_TO_YOURSELF"), - 12: .same(proto: "ERROR_FRIEND_CACHE_EXPIRED"), - 13: .same(proto: "ERROR_FRIEND_NOT_CACHED"), - 14: .same(proto: "ERROR_INVALID_SENDER_FACEBOOK_ID"), - 15: .same(proto: "ERROR_SEND_TO_BLOCKED_USER"), + 2: .same(proto: "NO_CHANGE"), ] } -extension InviteFacebookFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InviteFacebookFriendProto" +extension InternalPushNotificationRegistryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalPushNotificationRegistryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fb_access_token"), - 2: .standard(proto: "friend_fb_user_id"), + 1: .standard(proto: "apn_token"), + 2: .standard(proto: "gcm_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228332,38 +239309,45 @@ extension InviteFacebookFriendProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fbAccessToken) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.friendFbUserID) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._apnToken) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._gcmToken) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.fbAccessToken.isEmpty { - try visitor.visitSingularStringField(value: self.fbAccessToken, fieldNumber: 1) - } - if !self.friendFbUserID.isEmpty { - try visitor.visitSingularStringField(value: self.friendFbUserID, fieldNumber: 2) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._apnToken { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._gcmToken { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InviteFacebookFriendProto, rhs: InviteFacebookFriendProto) -> Bool { - if lhs.fbAccessToken != rhs.fbAccessToken {return false} - if lhs.friendFbUserID != rhs.friendFbUserID {return false} + public static func ==(lhs: InternalPushNotificationRegistryProto, rhs: InternalPushNotificationRegistryProto) -> Bool { + if lhs._apnToken != rhs._apnToken {return false} + if lhs._gcmToken != rhs._gcmToken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InviteGameRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InviteGameRequest" +extension InternalReferContactListFriendRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalReferContactListFriendRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .standard(proto: "app_key"), - 3: .standard(proto: "friend_nia_account_id"), - 4: .same(proto: "referral"), + 1: .standard(proto: "contact_method"), + 2: .standard(proto: "contact_info"), + 3: .standard(proto: "contact_id"), + 4: .standard(proto: "receiver_name"), + 5: .standard(proto: "app_store_link"), + 6: .same(proto: "referral"), + 7: .standard(proto: "country_code"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228372,10 +239356,13 @@ extension InviteGameRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.appKey) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.friendNiaAccountID) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._referral) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.contactMethod) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.contactInfo) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.contactID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.receiverName) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.appStoreLink) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._referral) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() default: break } } @@ -228386,35 +239373,48 @@ extension InviteGameRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) + if self.contactMethod != .unset { + try visitor.visitSingularEnumField(value: self.contactMethod, fieldNumber: 1) } - if !self.appKey.isEmpty { - try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 2) + if !self.contactInfo.isEmpty { + try visitor.visitSingularStringField(value: self.contactInfo, fieldNumber: 2) } - if !self.friendNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.friendNiaAccountID, fieldNumber: 3) + if !self.contactID.isEmpty { + try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 3) + } + if !self.receiverName.isEmpty { + try visitor.visitSingularStringField(value: self.receiverName, fieldNumber: 4) + } + if !self.appStoreLink.isEmpty { + try visitor.visitSingularStringField(value: self.appStoreLink, fieldNumber: 5) } try { if let v = self._referral { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) } }() + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 7) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InviteGameRequest, rhs: InviteGameRequest) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs.appKey != rhs.appKey {return false} - if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} + public static func ==(lhs: InternalReferContactListFriendRequest, rhs: InternalReferContactListFriendRequest) -> Bool { + if lhs.contactMethod != rhs.contactMethod {return false} + if lhs.contactInfo != rhs.contactInfo {return false} + if lhs.contactID != rhs.contactID {return false} + if lhs.receiverName != rhs.receiverName {return false} + if lhs.appStoreLink != rhs.appStoreLink {return false} if lhs._referral != rhs._referral {return false} + if lhs.countryCode != rhs.countryCode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InviteGameResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".InviteGameResponse" +extension InternalReferContactListFriendRequest.ReferralProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalReferContactListFriendRequest.protoMessageName + ".ReferralProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "referral_code"), + 2: .standard(proto: "referral_link"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228423,46 +239423,82 @@ extension InviteGameResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.referralCode) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.referralLink) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.referralCode.isEmpty { + try visitor.visitSingularStringField(value: self.referralCode, fieldNumber: 1) + } + if !self.referralLink.isEmpty { + try visitor.visitSingularStringField(value: self.referralLink, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: InviteGameResponse, rhs: InviteGameResponse) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: InternalReferContactListFriendRequest.ReferralProto, rhs: InternalReferContactListFriendRequest.ReferralProto) -> Bool { + if lhs.referralCode != rhs.referralCode {return false} + if lhs.referralLink != rhs.referralLink {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalReferContactListFriendResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalReferContactListFriendResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalReferContactListFriendResponse, rhs: InternalReferContactListFriendResponse) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension InviteGameResponse.Status: SwiftProtobuf._ProtoNameProviding { +extension InternalReferContactListFriendResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_NOT_FRIEND"), - 4: .same(proto: "ERROR_EXCEED_LIMIT"), - 5: .same(proto: "ERROR_ALREADY_SIGNED_UP"), - 6: .same(proto: "ERROR_EMAIL_FAILED"), + 3: .same(proto: "ERROR_CONTACT_NOT_FOUND"), + 4: .same(proto: "ERROR_FAILED_TO_SEND_EMAIL"), + 5: .same(proto: "ERROR_EXCEED_LIMIT"), + 6: .same(proto: "ERROR_NO_SENDER_NAME"), + 7: .same(proto: "ERROR_INAPPROPRIATE_RECEIVER_NAME"), + 8: .same(proto: "ERROR_ALREADY_SIGNED_UP"), ] } -extension IosDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IosDevice" +extension InternalReferralProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalReferralProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 8: .same(proto: "name"), - 9: .same(proto: "manufacturer"), - 10: .same(proto: "model"), - 11: .same(proto: "hardware"), - 12: .same(proto: "software"), + 1: .standard(proto: "referral_code"), + 2: .standard(proto: "referral_link"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228471,54 +239507,35 @@ extension IosDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 8: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.manufacturer) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.model) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.hardware) }() - case 12: try { try decoder.decodeSingularStringField(value: &self.software) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.referralCode) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.referralLink) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 8) - } - if !self.manufacturer.isEmpty { - try visitor.visitSingularStringField(value: self.manufacturer, fieldNumber: 9) - } - if !self.model.isEmpty { - try visitor.visitSingularStringField(value: self.model, fieldNumber: 10) - } - if !self.hardware.isEmpty { - try visitor.visitSingularStringField(value: self.hardware, fieldNumber: 11) + if !self.referralCode.isEmpty { + try visitor.visitSingularStringField(value: self.referralCode, fieldNumber: 1) } - if !self.software.isEmpty { - try visitor.visitSingularStringField(value: self.software, fieldNumber: 12) + if !self.referralLink.isEmpty { + try visitor.visitSingularStringField(value: self.referralLink, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IosDevice, rhs: IosDevice) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.manufacturer != rhs.manufacturer {return false} - if lhs.model != rhs.model {return false} - if lhs.hardware != rhs.hardware {return false} - if lhs.software != rhs.software {return false} + public static func ==(lhs: InternalReferralProto, rhs: InternalReferralProto) -> Bool { + if lhs.referralCode != rhs.referralCode {return false} + if lhs.referralLink != rhs.referralLink {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IosSourceRevision: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IosSourceRevision" +extension InternalRemoveFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalRemoveFriendOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "bundle"), - 3: .same(proto: "version"), - 4: .same(proto: "product"), - 5: .same(proto: "os"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228527,50 +239544,79 @@ extension IosSourceRevision: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.bundle) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.version) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.product) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.os) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.bundle.isEmpty { - try visitor.visitSingularStringField(value: self.bundle, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.version.isEmpty { - try visitor.visitSingularStringField(value: self.version, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalRemoveFriendOutProto, rhs: InternalRemoveFriendOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalRemoveFriendOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_PLAYER_DOES_NOT_EXIST_DELETED"), + 3: .same(proto: "ERROR_PLAYER_NOT_A_FRIEND"), + ] +} + +extension InternalRemoveFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalRemoveFriendProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .standard(proto: "nia_account_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + default: break + } } - if !self.product.isEmpty { - try visitor.visitSingularStringField(value: self.product, fieldNumber: 4) + } + + public func traverse(visitor: inout V) throws { + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if !self.os.isEmpty { - try visitor.visitSingularStringField(value: self.os, fieldNumber: 5) + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IosSourceRevision, rhs: IosSourceRevision) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.bundle != rhs.bundle {return false} - if lhs.version != rhs.version {return false} - if lhs.product != rhs.product {return false} - if lhs.os != rhs.os {return false} + public static func ==(lhs: InternalRemoveFriendProto, rhs: InternalRemoveFriendProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IsAccountBlockedOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IsAccountBlockedOutProto" +extension InternalRemoveLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalRemoveLoginActionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_blocked"), + 1: .same(proto: "success"), + 2: .standard(proto: "login_detail"), + 3: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228579,30 +239625,49 @@ extension IsAccountBlockedOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isBlocked) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isBlocked != false { - try visitor.visitSingularBoolField(value: self.isBlocked, fieldNumber: 1) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) + } + if !self.loginDetail.isEmpty { + try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) + } + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IsAccountBlockedOutProto, rhs: IsAccountBlockedOutProto) -> Bool { - if lhs.isBlocked != rhs.isBlocked {return false} + public static func ==(lhs: InternalRemoveLoginActionOutProto, rhs: InternalRemoveLoginActionOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.loginDetail != rhs.loginDetail {return false} + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IsAccountBlockedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IsAccountBlockedProto" +extension InternalRemoveLoginActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "LOGIN_NOT_REMOVABLE"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension InternalRemoveLoginActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalRemoveLoginActionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "blockee_nia_account_id"), + 1: .standard(proto: "identity_provider"), + 2: .standard(proto: "auth_provider_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228611,31 +239676,35 @@ extension IsAccountBlockedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.blockeeNiaAccountID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.identityProvider) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.blockeeNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.blockeeNiaAccountID, fieldNumber: 1) + if self.identityProvider != .unsetIdentityProvider { + try visitor.visitSingularEnumField(value: self.identityProvider, fieldNumber: 1) + } + if !self.authProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IsAccountBlockedProto, rhs: IsAccountBlockedProto) -> Bool { - if lhs.blockeeNiaAccountID != rhs.blockeeNiaAccountID {return false} + public static func ==(lhs: InternalRemoveLoginActionProto, rhs: InternalRemoveLoginActionProto) -> Bool { + if lhs.identityProvider != rhs.identityProvider {return false} + if lhs.authProviderID != rhs.authProviderID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IsMyFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IsMyFriendOutProto" +extension InternalSavePlayerSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSavePlayerSettingsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "is_friend"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228645,7 +239714,6 @@ extension IsMyFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isFriend) }() default: break } } @@ -228655,34 +239723,28 @@ extension IsMyFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.isFriend != false { - try visitor.visitSingularBoolField(value: self.isFriend, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IsMyFriendOutProto, rhs: IsMyFriendOutProto) -> Bool { + public static func ==(lhs: InternalSavePlayerSettingsOutProto, rhs: InternalSavePlayerSettingsOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.isFriend != rhs.isFriend {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IsMyFriendOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension InternalSavePlayerSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_NOT_FOUND_DELETED"), ] } -extension IsMyFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IsMyFriendProto" +extension InternalSavePlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSavePlayerSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "nia_account_id"), + 1: .same(proto: "settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228691,35 +239753,85 @@ extension IsMyFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._settings) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._settings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalSavePlayerSettingsProto, rhs: InternalSavePlayerSettingsProto) -> Bool { + if lhs._settings != rhs._settings {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalSearchPlayerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSearchPlayerOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "player"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._player) }() + default: break + } } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._player { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IsMyFriendProto, rhs: IsMyFriendProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} + public static func ==(lhs: InternalSearchPlayerOutProto, rhs: InternalSearchPlayerOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._player != rhs._player {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IsSkuAvailableOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IsSkuAvailableOutProto" +extension InternalSearchPlayerOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_sku_available"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + ] +} + +extension InternalSearchPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSearchPlayerProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "friend_code"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228728,32 +239840,32 @@ extension IsSkuAvailableOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isSkuAvailable) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.friendCode) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isSkuAvailable != false { - try visitor.visitSingularBoolField(value: self.isSkuAvailable, fieldNumber: 1) + if !self.friendCode.isEmpty { + try visitor.visitSingularStringField(value: self.friendCode, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IsSkuAvailableOutProto, rhs: IsSkuAvailableOutProto) -> Bool { - if lhs.isSkuAvailable != rhs.isSkuAvailable {return false} + public static func ==(lhs: InternalSearchPlayerProto, rhs: InternalSearchPlayerProto) -> Bool { + if lhs.friendCode != rhs.friendCode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension IsSkuAvailableProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".IsSkuAvailableProto" +extension InternalSendContactListFriendInviteRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSendContactListFriendInviteRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sku_id"), - 2: .standard(proto: "verify_price"), - 3: .standard(proto: "coin_cost"), + 1: .same(proto: "emails"), + 2: .standard(proto: "phone_numbers"), + 3: .standard(proto: "country_code"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228762,41 +239874,40 @@ extension IsSkuAvailableProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.skuID) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.verifyPrice) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.coinCost) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.emails) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.phoneNumbers) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.skuID.isEmpty { - try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 1) + if !self.emails.isEmpty { + try visitor.visitRepeatedStringField(value: self.emails, fieldNumber: 1) } - if self.verifyPrice != false { - try visitor.visitSingularBoolField(value: self.verifyPrice, fieldNumber: 2) + if !self.phoneNumbers.isEmpty { + try visitor.visitRepeatedStringField(value: self.phoneNumbers, fieldNumber: 2) } - if self.coinCost != 0 { - try visitor.visitSingularInt32Field(value: self.coinCost, fieldNumber: 3) + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: IsSkuAvailableProto, rhs: IsSkuAvailableProto) -> Bool { - if lhs.skuID != rhs.skuID {return false} - if lhs.verifyPrice != rhs.verifyPrice {return false} - if lhs.coinCost != rhs.coinCost {return false} + public static func ==(lhs: InternalSendContactListFriendInviteRequest, rhs: InternalSendContactListFriendInviteRequest) -> Bool { + if lhs.emails != rhs.emails {return false} + if lhs.phoneNumbers != rhs.phoneNumbers {return false} + if lhs.countryCode != rhs.countryCode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ItemInventoryUpdateSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ItemInventoryUpdateSettingsProto" +extension InternalSendContactListFriendInviteResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSendContactListFriendInviteResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "item_categories"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228805,37 +239916,50 @@ extension ItemInventoryUpdateSettingsProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.itemCategories) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if !self.itemCategories.isEmpty { - try visitor.visitRepeatedMessageField(value: self.itemCategories, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ItemInventoryUpdateSettingsProto, rhs: ItemInventoryUpdateSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.itemCategories != rhs.itemCategories {return false} + public static func ==(lhs: InternalSendContactListFriendInviteResponse, rhs: InternalSendContactListFriendInviteResponse) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ItemInventoryUpdateSettingsProto.ItemCategories: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ItemInventoryUpdateSettingsProto.protoMessageName + ".ItemCategories" +extension InternalSendContactListFriendInviteResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "item_category"), - 2: .standard(proto: "category_name"), - 3: .standard(proto: "sort_oder"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_OUTBOX_FULL"), + 4: .same(proto: "ERROR_PLAYER_INBOX_FULL"), + 5: .same(proto: "ERROR_SENDER_HAS_MAX_FRIENDS"), + 6: .same(proto: "ERROR_RECEIVER_HAS_MAX_FRIENDS"), + 7: .same(proto: "ERROR_ALREADY_A_FRIEND"), + 8: .same(proto: "ERROR_INVITE_ALREADY_SENT"), + 9: .same(proto: "ERROR_INVITE_ALREADY_RECEIVED"), + 10: .same(proto: "ERROR_CANNOT_SEND_INVITES_TO_YOURSELF"), + 11: .same(proto: "ERROR_CONTACT_NOT_FOUND"), + 12: .same(proto: "ERROR_RECEIVER_NOT_FOUND"), + 13: .same(proto: "ERROR_NO_SENDER_NAME"), + 14: .same(proto: "ERROR_SEND_TO_BLOCKED_USER"), + ] +} + +extension InternalSendFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSendFriendInviteOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228844,42 +239968,51 @@ extension ItemInventoryUpdateSettingsProto.ItemCategories: SwiftProtobuf.Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.itemCategory) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.categoryName) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.sortOder) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.itemCategory.isEmpty { - try visitor.visitPackedEnumField(value: self.itemCategory, fieldNumber: 1) - } - if !self.categoryName.isEmpty { - try visitor.visitSingularStringField(value: self.categoryName, fieldNumber: 2) - } - if self.sortOder != 0 { - try visitor.visitSingularInt32Field(value: self.sortOder, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ItemInventoryUpdateSettingsProto.ItemCategories, rhs: ItemInventoryUpdateSettingsProto.ItemCategories) -> Bool { - if lhs.itemCategory != rhs.itemCategory {return false} - if lhs.categoryName != rhs.categoryName {return false} - if lhs.sortOder != rhs.sortOder {return false} + public static func ==(lhs: InternalSendFriendInviteOutProto, rhs: InternalSendFriendInviteOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ItemProto" +extension InternalSendFriendInviteOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "item_id"), - 2: .same(proto: "count"), - 3: .same(proto: "unseen"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_ALREADY_A_FRIEND"), + 4: .same(proto: "ERROR_PLAYER_DOES_NOT_EXIST_DELETED"), + 5: .same(proto: "ERROR_PLAYER_INBOX_FULL"), + 6: .same(proto: "ERROR_PLAYER_OUTBOX_FULL"), + 7: .same(proto: "ERROR_SENDER_HAS_MAX_FRIENDS"), + 8: .same(proto: "ERROR_INVITE_ALREADY_SENT"), + 9: .same(proto: "ERROR_CANNOT_SEND_INVITES_TO_YOURSELF"), + 10: .same(proto: "ERROR_INVITE_ALREADY_RECEIVED"), + 11: .same(proto: "ERROR_RECEIVER_HAS_MAX_FRIENDS"), + 12: .same(proto: "ERROR_SEND_TO_BLOCKED_USER"), + ] +} + +extension InternalSendFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSendFriendInviteProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), + 2: .standard(proto: "friend_code"), + 3: .standard(proto: "read_only"), + 4: .standard(proto: "nia_account_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228888,48 +240021,46 @@ extension ItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.itemID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.unseen) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.friendCode) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.readOnly) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.itemID != .unknown { - try visitor.visitSingularEnumField(value: self.itemID, fieldNumber: 1) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if self.count != 0 { - try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) + if !self.friendCode.isEmpty { + try visitor.visitSingularStringField(value: self.friendCode, fieldNumber: 2) } - if self.unseen != false { - try visitor.visitSingularBoolField(value: self.unseen, fieldNumber: 3) + if self.readOnly != false { + try visitor.visitSingularBoolField(value: self.readOnly, fieldNumber: 3) + } + if !self.niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ItemProto, rhs: ItemProto) -> Bool { - if lhs.itemID != rhs.itemID {return false} - if lhs.count != rhs.count {return false} - if lhs.unseen != rhs.unseen {return false} + public static func ==(lhs: InternalSendFriendInviteProto, rhs: InternalSendFriendInviteProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.friendCode != rhs.friendCode {return false} + if lhs.readOnly != rhs.readOnly {return false} + if lhs.niaAccountID != rhs.niaAccountID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ItemRapportDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ItemRapportDataProto" +extension InternalSendSmsVerificationCodeRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSendSmsVerificationCodeRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "text"), - 2: .standard(proto: "image_url"), - 3: .standard(proto: "video_url"), - 4: .standard(proto: "text_language"), - 5: .standard(proto: "item_status"), - 6: .standard(proto: "image_csam_violation"), - 7: .standard(proto: "flag_category"), - 8: .standard(proto: "reporter_name"), - 9: .standard(proto: "moderation_eligible"), + 1: .standard(proto: "phone_number"), + 2: .standard(proto: "country_code"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -228938,109 +240069,86 @@ extension ItemRapportDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.data != nil {try decoder.handleConflictingOneOf()} - self.data = .text(v) - } - }() - case 2: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.data != nil {try decoder.handleConflictingOneOf()} - self.data = .imageURL(v) - } - }() - case 3: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.data != nil {try decoder.handleConflictingOneOf()} - self.data = .videoURL(v) - } - }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._textLanguage) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.itemStatus) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.imageCsamViolation) }() - case 7: try { try decoder.decodeRepeatedEnumField(value: &self.flagCategory) }() - case 8: try { try decoder.decodeRepeatedStringField(value: &self.reporterName) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.moderationEligible) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.phoneNumber) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.data { - case .text?: try { - guard case .text(let v)? = self.data else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 1) - }() - case .imageURL?: try { - guard case .imageURL(let v)? = self.data else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 2) - }() - case .videoURL?: try { - guard case .videoURL(let v)? = self.data else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 3) - }() - case nil: break - } - try { if let v = self._textLanguage { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.itemStatus != .unset { - try visitor.visitSingularEnumField(value: self.itemStatus, fieldNumber: 5) + if !self.phoneNumber.isEmpty { + try visitor.visitSingularStringField(value: self.phoneNumber, fieldNumber: 1) } - if self.imageCsamViolation != false { - try visitor.visitSingularBoolField(value: self.imageCsamViolation, fieldNumber: 6) + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 2) } - if !self.flagCategory.isEmpty { - try visitor.visitPackedEnumField(value: self.flagCategory, fieldNumber: 7) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalSendSmsVerificationCodeRequest, rhs: InternalSendSmsVerificationCodeRequest) -> Bool { + if lhs.phoneNumber != rhs.phoneNumber {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalSendSmsVerificationCodeResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSendSmsVerificationCodeResponse" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "error_message"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + default: break + } } - if !self.reporterName.isEmpty { - try visitor.visitRepeatedStringField(value: self.reporterName, fieldNumber: 8) + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.moderationEligible != false { - try visitor.visitSingularBoolField(value: self.moderationEligible, fieldNumber: 9) + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ItemRapportDataProto, rhs: ItemRapportDataProto) -> Bool { - if lhs.data != rhs.data {return false} - if lhs._textLanguage != rhs._textLanguage {return false} - if lhs.itemStatus != rhs.itemStatus {return false} - if lhs.imageCsamViolation != rhs.imageCsamViolation {return false} - if lhs.flagCategory != rhs.flagCategory {return false} - if lhs.reporterName != rhs.reporterName {return false} - if lhs.moderationEligible != rhs.moderationEligible {return false} + public static func ==(lhs: InternalSendSmsVerificationCodeResponse, rhs: InternalSendSmsVerificationCodeResponse) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.errorMessage != rhs.errorMessage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ItemRapportDataProto.ItemStatus: SwiftProtobuf._ProtoNameProviding { +extension InternalSendSmsVerificationCodeResponse.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "ALLOW"), - 2: .same(proto: "REJECT"), - 3: .same(proto: "PENDING"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_TOO_FREQUENT_ATTEMPTS"), + 4: .same(proto: "ERROR_TOO_MANY_ATTEMPTS"), + 5: .same(proto: "ERROR_INVALID_PHONE_NUMBER"), ] } -extension ItemRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ItemRewardProto" +extension InternalSetAccountContactSettingsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSetAccountContactSettingsRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .same(proto: "amount"), + 1: .standard(proto: "full_name"), + 2: .standard(proto: "contact_import_discoverability_consent"), + 3: .standard(proto: "update_field_mask"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229049,291 +240157,170 @@ extension ItemRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.amount) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fullName) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.contactImportDiscoverabilityConsent) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._updateFieldMask) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.fullName.isEmpty { + try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 1) } - if self.amount != 0 { - try visitor.visitSingularInt32Field(value: self.amount, fieldNumber: 2) + if self.contactImportDiscoverabilityConsent != .unknown { + try visitor.visitSingularEnumField(value: self.contactImportDiscoverabilityConsent, fieldNumber: 2) } + try { if let v = self._updateFieldMask { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ItemRewardProto, rhs: ItemRewardProto) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.amount != rhs.amount {return false} + public static func ==(lhs: InternalSetAccountContactSettingsRequest, rhs: InternalSetAccountContactSettingsRequest) -> Bool { + if lhs.fullName != rhs.fullName {return false} + if lhs.contactImportDiscoverabilityConsent != rhs.contactImportDiscoverabilityConsent {return false} + if lhs._updateFieldMask != rhs._updateFieldMask {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ItemSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ItemSettingsProto" +extension InternalSetAccountContactSettingsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSetAccountContactSettingsResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "item_id"), - 2: .standard(proto: "item_type"), - 3: .same(proto: "category"), - 4: .standard(proto: "drop_freq"), - 5: .standard(proto: "drop_trainer_level"), - 6: .same(proto: "pokeball"), - 7: .same(proto: "potion"), - 8: .same(proto: "revive"), - 9: .same(proto: "battle"), - 10: .same(proto: "food"), - 11: .standard(proto: "inventory_upgrade"), - 12: .standard(proto: "xp_boost"), - 13: .same(proto: "incense"), - 14: .standard(proto: "egg_incubator"), - 15: .standard(proto: "fort_modifier"), - 16: .standard(proto: "stardust_boost"), - 17: .standard(proto: "incident_ticket"), - 18: .standard(proto: "global_event_ticket"), - 19: .standard(proto: "ignore_inventory_space"), - 22: .standard(proto: "ob_int32"), - 23: .standard(proto: "move_modifier"), - 24: .standard(proto: "ob_string_1"), - 25: .standard(proto: "ob_string_2"), - 26: .standard(proto: "ob_string_3"), + 1: .same(proto: "status"), + 2: .standard(proto: "error_message"), ] - fileprivate class _StorageClass { - var _itemID: Item = .unknown - var _itemType: HoloItemType = .itemTypeNone - var _category: HoloItemCategory = .itemCategoryNone - var _dropFreq: Float = 0 - var _dropTrainerLevel: Int32 = 0 - var _pokeball: PokeBallAttributesProto? = nil - var _potion: PotionAttributesProto? = nil - var _revive: ReviveAttributesProto? = nil - var _battle: BattleAttributesProto? = nil - var _food: FoodAttributesProto? = nil - var _inventoryUpgrade: InventoryUpgradeAttributesProto? = nil - var _xpBoost: ExperienceBoostAttributesProto? = nil - var _incense: IncenseAttributesProto? = nil - var _eggIncubator: EggIncubatorAttributesProto? = nil - var _fortModifier: FortModifierAttributesProto? = nil - var _stardustBoost: StardustBoostAttributesProto? = nil - var _incidentTicket: IncidentTicketAttributesProto? = nil - var _globalEventTicket: GlobalEventTicketAttributesProto? = nil - var _ignoreInventorySpace: Bool = false - var _obInt32: Int32 = 0 - var _moveModifier: [MoveModifierProto] = [] - var _obString1: String = String() - var _obString2: String = String() - var _obString3: String = String() - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _itemID = source._itemID - _itemType = source._itemType - _category = source._category - _dropFreq = source._dropFreq - _dropTrainerLevel = source._dropTrainerLevel - _pokeball = source._pokeball - _potion = source._potion - _revive = source._revive - _battle = source._battle - _food = source._food - _inventoryUpgrade = source._inventoryUpgrade - _xpBoost = source._xpBoost - _incense = source._incense - _eggIncubator = source._eggIncubator - _fortModifier = source._fortModifier - _stardustBoost = source._stardustBoost - _incidentTicket = source._incidentTicket - _globalEventTicket = source._globalEventTicket - _ignoreInventorySpace = source._ignoreInventorySpace - _obInt32 = source._obInt32 - _moveModifier = source._moveModifier - _obString1 = source._obString1 - _obString2 = source._obString2 - _obString3 = source._obString3 + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() + default: break + } } } - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - return _storage + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalSetAccountContactSettingsResponse, rhs: InternalSetAccountContactSettingsResponse) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.errorMessage != rhs.errorMessage {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true } +} + +extension InternalSetAccountContactSettingsResponse.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "NAME_NOT_ALLOWED"), + 4: .same(proto: "NAME_ABUSIVE"), + 5: .same(proto: "NAME_INVALID"), + ] +} + +extension InternalSetAccountSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSetAccountSettingsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._itemID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &_storage._itemType) }() - case 3: try { try decoder.decodeSingularEnumField(value: &_storage._category) }() - case 4: try { try decoder.decodeSingularFloatField(value: &_storage._dropFreq) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._dropTrainerLevel) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._pokeball) }() - case 7: try { try decoder.decodeSingularMessageField(value: &_storage._potion) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._revive) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._battle) }() - case 10: try { try decoder.decodeSingularMessageField(value: &_storage._food) }() - case 11: try { try decoder.decodeSingularMessageField(value: &_storage._inventoryUpgrade) }() - case 12: try { try decoder.decodeSingularMessageField(value: &_storage._xpBoost) }() - case 13: try { try decoder.decodeSingularMessageField(value: &_storage._incense) }() - case 14: try { try decoder.decodeSingularMessageField(value: &_storage._eggIncubator) }() - case 15: try { try decoder.decodeSingularMessageField(value: &_storage._fortModifier) }() - case 16: try { try decoder.decodeSingularMessageField(value: &_storage._stardustBoost) }() - case 17: try { try decoder.decodeSingularMessageField(value: &_storage._incidentTicket) }() - case 18: try { try decoder.decodeSingularMessageField(value: &_storage._globalEventTicket) }() - case 19: try { try decoder.decodeSingularBoolField(value: &_storage._ignoreInventorySpace) }() - case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt32) }() - case 23: try { try decoder.decodeRepeatedMessageField(value: &_storage._moveModifier) }() - case 24: try { try decoder.decodeSingularStringField(value: &_storage._obString1) }() - case 25: try { try decoder.decodeSingularStringField(value: &_storage._obString2) }() - case 26: try { try decoder.decodeSingularStringField(value: &_storage._obString3) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._itemID != .unknown { - try visitor.visitSingularEnumField(value: _storage._itemID, fieldNumber: 1) - } - if _storage._itemType != .itemTypeNone { - try visitor.visitSingularEnumField(value: _storage._itemType, fieldNumber: 2) - } - if _storage._category != .itemCategoryNone { - try visitor.visitSingularEnumField(value: _storage._category, fieldNumber: 3) - } - if _storage._dropFreq != 0 { - try visitor.visitSingularFloatField(value: _storage._dropFreq, fieldNumber: 4) - } - if _storage._dropTrainerLevel != 0 { - try visitor.visitSingularInt32Field(value: _storage._dropTrainerLevel, fieldNumber: 5) - } - try { if let v = _storage._pokeball { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - try { if let v = _storage._potion { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - } }() - try { if let v = _storage._revive { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - try { if let v = _storage._battle { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() - try { if let v = _storage._food { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - try { if let v = _storage._inventoryUpgrade { - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - } }() - try { if let v = _storage._xpBoost { - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - } }() - try { if let v = _storage._incense { - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - } }() - try { if let v = _storage._eggIncubator { - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - } }() - try { if let v = _storage._fortModifier { - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - } }() - try { if let v = _storage._stardustBoost { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - } }() - try { if let v = _storage._incidentTicket { - try visitor.visitSingularMessageField(value: v, fieldNumber: 17) - } }() - try { if let v = _storage._globalEventTicket { - try visitor.visitSingularMessageField(value: v, fieldNumber: 18) - } }() - if _storage._ignoreInventorySpace != false { - try visitor.visitSingularBoolField(value: _storage._ignoreInventorySpace, fieldNumber: 19) - } - if _storage._obInt32 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt32, fieldNumber: 22) - } - if !_storage._moveModifier.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._moveModifier, fieldNumber: 23) - } - if !_storage._obString1.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString1, fieldNumber: 24) - } - if !_storage._obString2.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString2, fieldNumber: 25) - } - if !_storage._obString3.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString3, fieldNumber: 26) - } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ItemSettingsProto, rhs: ItemSettingsProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._itemID != rhs_storage._itemID {return false} - if _storage._itemType != rhs_storage._itemType {return false} - if _storage._category != rhs_storage._category {return false} - if _storage._dropFreq != rhs_storage._dropFreq {return false} - if _storage._dropTrainerLevel != rhs_storage._dropTrainerLevel {return false} - if _storage._pokeball != rhs_storage._pokeball {return false} - if _storage._potion != rhs_storage._potion {return false} - if _storage._revive != rhs_storage._revive {return false} - if _storage._battle != rhs_storage._battle {return false} - if _storage._food != rhs_storage._food {return false} - if _storage._inventoryUpgrade != rhs_storage._inventoryUpgrade {return false} - if _storage._xpBoost != rhs_storage._xpBoost {return false} - if _storage._incense != rhs_storage._incense {return false} - if _storage._eggIncubator != rhs_storage._eggIncubator {return false} - if _storage._fortModifier != rhs_storage._fortModifier {return false} - if _storage._stardustBoost != rhs_storage._stardustBoost {return false} - if _storage._incidentTicket != rhs_storage._incidentTicket {return false} - if _storage._globalEventTicket != rhs_storage._globalEventTicket {return false} - if _storage._ignoreInventorySpace != rhs_storage._ignoreInventorySpace {return false} - if _storage._obInt32 != rhs_storage._obInt32 {return false} - if _storage._moveModifier != rhs_storage._moveModifier {return false} - if _storage._obString1 != rhs_storage._obString1 {return false} - if _storage._obString2 != rhs_storage._obString2 {return false} - if _storage._obString3 != rhs_storage._obString3 {return false} - return true + public static func ==(lhs: InternalSetAccountSettingsOutProto, rhs: InternalSetAccountSettingsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalSetAccountSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_INAPPROPRIATE_NAME"), + ] +} + +extension InternalSetAccountSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSetAccountSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "settings"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._settings) }() + default: break } - if !storagesAreEqual {return false} } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._settings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalSetAccountSettingsProto, rhs: InternalSetAccountSettingsProto) -> Bool { + if lhs._settings != rhs._settings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ItemTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ItemTelemetry" +extension InternalSocialClientFeatures: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSocialClientFeatures" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "item_use_click_id"), - 2: .standard(proto: "item_id"), - 3: .same(proto: "equipped"), - 4: .standard(proto: "from_inventory"), - 5: .standard(proto: "item_id_string"), + 1: .standard(proto: "cross_game_social_settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229342,53 +240329,35 @@ extension ItemTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.itemUseClickID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.itemID) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.equipped) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.fromInventory) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.itemIDString) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._crossGameSocialSettings) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.itemUseClickID != .undefinedItemEvent { - try visitor.visitSingularEnumField(value: self.itemUseClickID, fieldNumber: 1) - } - if self.itemID != .unknown { - try visitor.visitSingularEnumField(value: self.itemID, fieldNumber: 2) - } - if self.equipped != false { - try visitor.visitSingularBoolField(value: self.equipped, fieldNumber: 3) - } - if self.fromInventory != false { - try visitor.visitSingularBoolField(value: self.fromInventory, fieldNumber: 4) - } - if !self.itemIDString.isEmpty { - try visitor.visitSingularStringField(value: self.itemIDString, fieldNumber: 5) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._crossGameSocialSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ItemTelemetry, rhs: ItemTelemetry) -> Bool { - if lhs.itemUseClickID != rhs.itemUseClickID {return false} - if lhs.itemID != rhs.itemID {return false} - if lhs.equipped != rhs.equipped {return false} - if lhs.fromInventory != rhs.fromInventory {return false} - if lhs.itemIDString != rhs.itemIDString {return false} + public static func ==(lhs: InternalSocialClientFeatures, rhs: InternalSocialClientFeatures) -> Bool { + if lhs._crossGameSocialSettings != rhs._crossGameSocialSettings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JoinBuddyMultiplayerSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JoinBuddyMultiplayerSessionOutProto" +extension InternalSocialClientFeatures.CrossGameSocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalSocialClientFeatures.protoMessageName + ".CrossGameSocialClientSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "arbe_join_token"), - 3: .standard(proto: "generation_timestamp"), - 4: .standard(proto: "max_players"), + 1: .standard(proto: "disabled_features"), + 2: .standard(proto: "app_link"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229397,61 +240366,58 @@ extension JoinBuddyMultiplayerSessionOutProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.arbeJoinToken) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.generationTimestamp) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxPlayers) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.disabledFeatures) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.appLink) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .joinSuccess { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.arbeJoinToken.isEmpty { - try visitor.visitSingularBytesField(value: self.arbeJoinToken, fieldNumber: 2) - } - if self.generationTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.generationTimestamp, fieldNumber: 3) + if !self.disabledFeatures.isEmpty { + try visitor.visitPackedEnumField(value: self.disabledFeatures, fieldNumber: 1) } - if self.maxPlayers != 0 { - try visitor.visitSingularInt32Field(value: self.maxPlayers, fieldNumber: 4) + if self.appLink != .noLink { + try visitor.visitSingularEnumField(value: self.appLink, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JoinBuddyMultiplayerSessionOutProto, rhs: JoinBuddyMultiplayerSessionOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.arbeJoinToken != rhs.arbeJoinToken {return false} - if lhs.generationTimestamp != rhs.generationTimestamp {return false} - if lhs.maxPlayers != rhs.maxPlayers {return false} + public static func ==(lhs: InternalSocialClientFeatures.CrossGameSocialClientSettingsProto, rhs: InternalSocialClientFeatures.CrossGameSocialClientSettingsProto) -> Bool { + if lhs.disabledFeatures != rhs.disabledFeatures {return false} + if lhs.appLink != rhs.appLink {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JoinBuddyMultiplayerSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "JOIN_SUCCESS"), - 1: .same(proto: "JOIN_LOBBY_FULL"), - 2: .same(proto: "JOIN_HOST_TOO_FAR"), - 3: .same(proto: "JOIN_LOBBY_NOT_FOUND"), - 4: .same(proto: "JOIN_BUDDY_NOT_SET"), - 5: .same(proto: "JOIN_BUDDY_NOT_FOUND"), - 6: .same(proto: "JOIN_BAD_BUDDY"), - 7: .same(proto: "JOIN_BUDDY_V2_NOT_ENABLED"), - 8: .same(proto: "JOIN_PLAYER_LEVEL_TOO_LOW"), - 9: .same(proto: "JOIN_UNKNOWN_ERROR"), - 10: .same(proto: "JOIN_U13_NO_PERMISSION"), + 0: .same(proto: "NO_LINK"), + 1: .same(proto: "WEB_LINK"), + 2: .same(proto: "APP_STORE_LINK"), ] } -extension JoinBuddyMultiplayerSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JoinBuddyMultiplayerSessionProto" +extension InternalSocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "plfe_session_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "NIANTIC_PROFILE"), + 2: .same(proto: "ONLINE_STATUS"), + 3: .same(proto: "CROSS_GAME_FRIEND_LIST"), + 4: .same(proto: "GAME_INVITE_SENDER"), + 5: .same(proto: "SHARED_FRIEND_GRAPH"), + 6: .same(proto: "NICKNAME"), + 7: .same(proto: "CROSS_GAME_ONLINE_STATUS"), + 8: .same(proto: "GAME_INVITE_RECEIVER"), + 9: .same(proto: "ADDRESS_BOOK_IMPORT"), + ] +} + +extension InternalSocialClientGlobalSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSocialClientGlobalSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "cross_game_social_settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229460,31 +240426,40 @@ extension JoinBuddyMultiplayerSessionProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.plfeSessionID) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._crossGameSocialSettings) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.plfeSessionID.isEmpty { - try visitor.visitSingularStringField(value: self.plfeSessionID, fieldNumber: 1) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._crossGameSocialSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JoinBuddyMultiplayerSessionProto, rhs: JoinBuddyMultiplayerSessionProto) -> Bool { - if lhs.plfeSessionID != rhs.plfeSessionID {return false} + public static func ==(lhs: InternalSocialClientGlobalSettings, rhs: InternalSocialClientGlobalSettings) -> Bool { + if lhs._crossGameSocialSettings != rhs._crossGameSocialSettings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JoinInformationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JoinInformationProto" +extension InternalSocialClientGlobalSettings.CrossGameSocialSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalSocialClientGlobalSettings.protoMessageName + ".CrossGameSocialSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int64_1"), - 2: .standard(proto: "ob_int64_2"), + 1: .standard(proto: "niantic_profile_codename_opt_out_enabled"), + 2: .standard(proto: "disabled_outgoing_game_invite_app_key"), + 3: .standard(proto: "unreleased_app_key"), + 4: .standard(proto: "contact_list_sync_page_size"), + 5: .standard(proto: "contact_list_sync_interval_ms"), + 6: .standard(proto: "max_friends"), + 7: .standard(proto: "contact_list_concurrent_rpc_size"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229493,80 +240468,173 @@ extension JoinInformationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.obInt641) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.obInt642) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.nianticProfileCodenameOptOutEnabled) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.disabledOutgoingGameInviteAppKey) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.unreleasedAppKey) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.contactListSyncPageSize) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.contactListSyncIntervalMs) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.maxFriends) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.contactListConcurrentRpcSize) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt641 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt641, fieldNumber: 1) + if self.nianticProfileCodenameOptOutEnabled != false { + try visitor.visitSingularBoolField(value: self.nianticProfileCodenameOptOutEnabled, fieldNumber: 1) + } + if !self.disabledOutgoingGameInviteAppKey.isEmpty { + try visitor.visitRepeatedStringField(value: self.disabledOutgoingGameInviteAppKey, fieldNumber: 2) + } + if !self.unreleasedAppKey.isEmpty { + try visitor.visitRepeatedStringField(value: self.unreleasedAppKey, fieldNumber: 3) + } + if self.contactListSyncPageSize != 0 { + try visitor.visitSingularInt32Field(value: self.contactListSyncPageSize, fieldNumber: 4) + } + if self.contactListSyncIntervalMs != 0 { + try visitor.visitSingularInt64Field(value: self.contactListSyncIntervalMs, fieldNumber: 5) } - if self.obInt642 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt642, fieldNumber: 2) + if self.maxFriends != 0 { + try visitor.visitSingularInt32Field(value: self.maxFriends, fieldNumber: 6) + } + if self.contactListConcurrentRpcSize != 0 { + try visitor.visitSingularInt32Field(value: self.contactListConcurrentRpcSize, fieldNumber: 7) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalSocialClientGlobalSettings.CrossGameSocialSettingsProto, rhs: InternalSocialClientGlobalSettings.CrossGameSocialSettingsProto) -> Bool { + if lhs.nianticProfileCodenameOptOutEnabled != rhs.nianticProfileCodenameOptOutEnabled {return false} + if lhs.disabledOutgoingGameInviteAppKey != rhs.disabledOutgoingGameInviteAppKey {return false} + if lhs.unreleasedAppKey != rhs.unreleasedAppKey {return false} + if lhs.contactListSyncPageSize != rhs.contactListSyncPageSize {return false} + if lhs.contactListSyncIntervalMs != rhs.contactListSyncIntervalMs {return false} + if lhs.maxFriends != rhs.maxFriends {return false} + if lhs.contactListConcurrentRpcSize != rhs.contactListConcurrentRpcSize {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalSocialProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSocialProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JoinInformationProto, rhs: JoinInformationProto) -> Bool { - if lhs.obInt641 != rhs.obInt641 {return false} - if lhs.obInt642 != rhs.obInt642 {return false} + public static func ==(lhs: InternalSocialProto, rhs: InternalSocialProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JoinLobbyDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JoinLobbyDataProto" +extension InternalSocialProto.AppKey: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_join_lobby_data_bool_1"), - 2: .standard(proto: "ob_join_lobby_data_bool_2"), - 3: .standard(proto: "ob_join_lobby_data_int32"), + 0: .same(proto: "INVALID"), + 1: .same(proto: "INGRESS_DELETED"), + 2: .same(proto: "HOLOHOLO_DELETED"), + 3: .same(proto: "LEXICON_DELETED"), ] +} + +extension InternalSocialSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSocialSettings" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obJoinLobbyDataBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obJoinLobbyDataBool2) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obJoinLobbyDataInt32) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.obJoinLobbyDataBool1 != false { - try visitor.visitSingularBoolField(value: self.obJoinLobbyDataBool1, fieldNumber: 1) - } - if self.obJoinLobbyDataBool2 != false { - try visitor.visitSingularBoolField(value: self.obJoinLobbyDataBool2, fieldNumber: 2) - } - if self.obJoinLobbyDataInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obJoinLobbyDataInt32, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalSocialSettings, rhs: InternalSocialSettings) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalSocialSettings.ConsentStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "OPT_IN"), + 2: .same(proto: "OPT_OUT"), + ] +} + +extension InternalSocialSettings.TutorialType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "PROFILE"), + 2: .same(proto: "CROSS_GAME_FRIEND_LIST"), + 3: .same(proto: "ONLINE_STATUS_OVERVIEW"), + 4: .same(proto: "ONLINE_STATUS_TOGGLE"), + 5: .same(proto: "ADDRESS_BOOK_IMPORT"), + 6: .same(proto: "ADDRESS_BOOK_DISCOVERABILITY"), + 7: .same(proto: "ADDRESS_BOOK_PHONE_NUMBER_REGISTRATION"), + ] +} + +extension InternalSocialV2Enum: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSocialV2Enum" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JoinLobbyDataProto, rhs: JoinLobbyDataProto) -> Bool { - if lhs.obJoinLobbyDataBool1 != rhs.obJoinLobbyDataBool1 {return false} - if lhs.obJoinLobbyDataBool2 != rhs.obJoinLobbyDataBool2 {return false} - if lhs.obJoinLobbyDataInt32 != rhs.obJoinLobbyDataInt32 {return false} + public static func ==(lhs: InternalSocialV2Enum, rhs: InternalSocialV2Enum) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JoinLobbyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JoinLobbyOutProto" +extension InternalSocialV2Enum.ContactMethod: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "CONTACT_METHOD_UNSET"), + 1: .same(proto: "EMAIL"), + 2: .same(proto: "SMS"), + ] +} + +extension InternalSocialV2Enum.InvitationStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "INVITATION_STATUS_UNSET"), + 1: .same(proto: "INVITED"), + ] +} + +extension InternalSocialV2Enum.OnlineStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "STATUS_UNSET"), + 1: .same(proto: "STATUS_UNKNOWN"), + 2: .same(proto: "STATUS_ONLINE"), + 3: .same(proto: "STATUS_OFFLINE"), + ] +} + +extension InternalSubmitImageOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSubmitImageOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .same(proto: "lobby"), + 2: .standard(proto: "transient_photo_url"), + 3: .standard(proto: "photo_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229576,69 +240644,52 @@ extension JoinLobbyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._lobby) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.transientPhotoURL) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.photoID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._lobby { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() + if !self.transientPhotoURL.isEmpty { + try visitor.visitSingularStringField(value: self.transientPhotoURL, fieldNumber: 2) + } + if !self.photoID.isEmpty { + try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JoinLobbyOutProto, rhs: JoinLobbyOutProto) -> Bool { + public static func ==(lhs: InternalSubmitImageOutProto, rhs: InternalSubmitImageOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs._lobby != rhs._lobby {return false} + if lhs.transientPhotoURL != rhs.transientPhotoURL {return false} + if lhs.photoID != rhs.photoID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JoinLobbyOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension InternalSubmitImageOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_NOT_IN_RANGE"), - 3: .same(proto: "ERROR_RAID_UNAVAILABLE"), - 4: .same(proto: "ERROR_RAID_COMPLETED"), - 5: .same(proto: "ERROR_NO_AVAILABLE_LOBBIES"), - 6: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), - 7: .same(proto: "ERROR_POI_INACCESSIBLE"), - 8: .same(proto: "ERROR_GYM_LOCKOUT"), - 9: .same(proto: "ERROR_NO_TICKET"), - 10: .same(proto: "ERROR_NO_REMOTE_TICKET"), - 11: .same(proto: "ERROR_NO_INVITE"), - 12: .same(proto: "ERROR_NO_REMOTE_SLOTS_REMAINING"), - 13: .same(proto: "ERROR_LOBBY_FULL"), - 14: .same(proto: "ERROR_LOBBY_EXPIRED"), - 15: .same(proto: "ERROR_DATA"), - 16: .same(proto: "ERROR_MAX_LOBBIES_REACHED"), + 2: .same(proto: "IMAGE_DOES_NOT_EXIST"), + 3: .same(proto: "INAPPROPRIATE_CONTENT"), + 4: .same(proto: "ERROR_UNKNOWN"), + 5: .same(proto: "PHOTO_ID_ALREADY_SUBMITTED"), + 6: .same(proto: "MATCHING_IMAGE_FLAGGED"), ] } -extension JoinLobbyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JoinLobbyProto" +extension InternalSubmitImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSubmitImageProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "raid_seed"), - 2: .standard(proto: "gym_id"), - 3: .standard(proto: "lobby_id"), - 4: .same(proto: "private"), - 5: .standard(proto: "player_lat_degrees"), - 6: .standard(proto: "player_lng_degrees"), - 7: .standard(proto: "gym_lat_degrees"), - 8: .standard(proto: "gym_lng_degrees"), - 9: .standard(proto: "use_remote_pass"), - 10: .standard(proto: "inviter_id"), + 1: .standard(proto: "photo_id"), + 2: .same(proto: "metadata"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229647,88 +240698,118 @@ extension JoinLobbyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.gymID) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.`private`) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() - case 7: try { try decoder.decodeSingularDoubleField(value: &self.gymLatDegrees) }() - case 8: try { try decoder.decodeSingularDoubleField(value: &self.gymLngDegrees) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.useRemotePass) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.inviterID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.photoID) }() + case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.metadata) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.raidSeed != 0 { - try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 1) - } - if !self.gymID.isEmpty { - try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 2) + if !self.photoID.isEmpty { + try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 1) } - if !self.lobbyID.isEmpty { - try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 3) + if !self.metadata.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.metadata, fieldNumber: 2) } - if self.`private` != false { - try visitor.visitSingularBoolField(value: self.`private`, fieldNumber: 4) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalSubmitImageProto, rhs: InternalSubmitImageProto) -> Bool { + if lhs.photoID != rhs.photoID {return false} + if lhs.metadata != rhs.metadata {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalSyncContactListRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSyncContactListRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "contact"), + 2: .standard(proto: "country_code"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contact) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + default: break + } } - if self.playerLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 5) + } + + public func traverse(visitor: inout V) throws { + if !self.contact.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contact, fieldNumber: 1) } - if self.playerLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 6) + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 2) } - if self.gymLatDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.gymLatDegrees, fieldNumber: 7) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: InternalSyncContactListRequest, rhs: InternalSyncContactListRequest) -> Bool { + if lhs.contact != rhs.contact {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension InternalSyncContactListRequest.ContactProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalSyncContactListRequest.protoMessageName + ".ContactProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "contact_id"), + 2: .same(proto: "email"), + 3: .standard(proto: "phone_number"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.contactID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.email) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.phoneNumber) }() + default: break + } } - if self.gymLngDegrees != 0 { - try visitor.visitSingularDoubleField(value: self.gymLngDegrees, fieldNumber: 8) + } + + public func traverse(visitor: inout V) throws { + if !self.contactID.isEmpty { + try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 1) } - if self.useRemotePass != false { - try visitor.visitSingularBoolField(value: self.useRemotePass, fieldNumber: 9) + if !self.email.isEmpty { + try visitor.visitRepeatedStringField(value: self.email, fieldNumber: 2) } - if !self.inviterID.isEmpty { - try visitor.visitSingularStringField(value: self.inviterID, fieldNumber: 10) + if !self.phoneNumber.isEmpty { + try visitor.visitRepeatedStringField(value: self.phoneNumber, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JoinLobbyProto, rhs: JoinLobbyProto) -> Bool { - if lhs.raidSeed != rhs.raidSeed {return false} - if lhs.gymID != rhs.gymID {return false} - if lhs.lobbyID != rhs.lobbyID {return false} - if lhs.`private` != rhs.`private` {return false} - if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} - if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} - if lhs.gymLatDegrees != rhs.gymLatDegrees {return false} - if lhs.gymLngDegrees != rhs.gymLngDegrees {return false} - if lhs.useRemotePass != rhs.useRemotePass {return false} - if lhs.inviterID != rhs.inviterID {return false} + public static func ==(lhs: InternalSyncContactListRequest.ContactProto, rhs: InternalSyncContactListRequest.ContactProto) -> Bool { + if lhs.contactID != rhs.contactID {return false} + if lhs.email != rhs.email {return false} + if lhs.phoneNumber != rhs.phoneNumber {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JoinLobbyResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JoinLobbyResponseDataProto" +extension InternalSyncContactListResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalSyncContactListResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "ob_join_lobby_data_repeated_int32_1"), - 3: .standard(proto: "ob_join_lobby_data_int32_1"), - 4: .standard(proto: "ob_join_lobby_data_uint32_1"), - 5: .standard(proto: "ob_join_lobby_data_uint32_2"), - 6: .standard(proto: "ob_join_lobby_data_uint32_3"), - 7: .standard(proto: "ob_join_lobby_data_uint32_4"), - 8: .standard(proto: "ob_join_lobby_data_string"), - 9: .standard(proto: "ob_join_lobby_data_bool"), - 10: .standard(proto: "ob_join_lobby_data_uint32_5"), - 11: .standard(proto: "ob_join_lobby_data_int32_2"), - 12: .standard(proto: "weather_condition"), - 13: .standard(proto: "ob_join_lobby_data_int32_3"), - 14: .standard(proto: "ob_join_lobby_data_uint32_6"), + 2: .standard(proto: "contact_player"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229738,19 +240819,7 @@ extension JoinLobbyResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.obJoinLobbyDataRepeatedInt321) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obJoinLobbyDataInt321) }() - case 4: try { try decoder.decodeSingularUInt32Field(value: &self.obJoinLobbyDataUint321) }() - case 5: try { try decoder.decodeSingularUInt32Field(value: &self.obJoinLobbyDataUint322) }() - case 6: try { try decoder.decodeSingularUInt32Field(value: &self.obJoinLobbyDataUint323) }() - case 7: try { try decoder.decodeSingularUInt32Field(value: &self.obJoinLobbyDataUint324) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.obJoinLobbyDataString) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.obJoinLobbyDataBool) }() - case 10: try { try decoder.decodeSingularUInt32Field(value: &self.obJoinLobbyDataUint325) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &self.obJoinLobbyDataInt322) }() - case 12: try { try decoder.decodeSingularEnumField(value: &self.weatherCondition) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &self.obJoinLobbyDataInt323) }() - case 14: try { try decoder.decodeSingularUInt32Field(value: &self.obJoinLobbyDataUint326) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contactPlayer) }() default: break } } @@ -229760,73 +240829,36 @@ extension JoinLobbyResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mess if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.obJoinLobbyDataRepeatedInt321.isEmpty { - try visitor.visitPackedInt32Field(value: self.obJoinLobbyDataRepeatedInt321, fieldNumber: 2) - } - if self.obJoinLobbyDataInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obJoinLobbyDataInt321, fieldNumber: 3) - } - if self.obJoinLobbyDataUint321 != 0 { - try visitor.visitSingularUInt32Field(value: self.obJoinLobbyDataUint321, fieldNumber: 4) - } - if self.obJoinLobbyDataUint322 != 0 { - try visitor.visitSingularUInt32Field(value: self.obJoinLobbyDataUint322, fieldNumber: 5) - } - if self.obJoinLobbyDataUint323 != 0 { - try visitor.visitSingularUInt32Field(value: self.obJoinLobbyDataUint323, fieldNumber: 6) - } - if self.obJoinLobbyDataUint324 != 0 { - try visitor.visitSingularUInt32Field(value: self.obJoinLobbyDataUint324, fieldNumber: 7) - } - if !self.obJoinLobbyDataString.isEmpty { - try visitor.visitSingularStringField(value: self.obJoinLobbyDataString, fieldNumber: 8) - } - if self.obJoinLobbyDataBool != false { - try visitor.visitSingularBoolField(value: self.obJoinLobbyDataBool, fieldNumber: 9) - } - if self.obJoinLobbyDataUint325 != 0 { - try visitor.visitSingularUInt32Field(value: self.obJoinLobbyDataUint325, fieldNumber: 10) - } - if self.obJoinLobbyDataInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obJoinLobbyDataInt322, fieldNumber: 11) - } - if self.weatherCondition != .none { - try visitor.visitSingularEnumField(value: self.weatherCondition, fieldNumber: 12) - } - if self.obJoinLobbyDataInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obJoinLobbyDataInt323, fieldNumber: 13) - } - if self.obJoinLobbyDataUint326 != 0 { - try visitor.visitSingularUInt32Field(value: self.obJoinLobbyDataUint326, fieldNumber: 14) + if !self.contactPlayer.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contactPlayer, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JoinLobbyResponseDataProto, rhs: JoinLobbyResponseDataProto) -> Bool { + public static func ==(lhs: InternalSyncContactListResponse, rhs: InternalSyncContactListResponse) -> Bool { if lhs.result != rhs.result {return false} - if lhs.obJoinLobbyDataRepeatedInt321 != rhs.obJoinLobbyDataRepeatedInt321 {return false} - if lhs.obJoinLobbyDataInt321 != rhs.obJoinLobbyDataInt321 {return false} - if lhs.obJoinLobbyDataUint321 != rhs.obJoinLobbyDataUint321 {return false} - if lhs.obJoinLobbyDataUint322 != rhs.obJoinLobbyDataUint322 {return false} - if lhs.obJoinLobbyDataUint323 != rhs.obJoinLobbyDataUint323 {return false} - if lhs.obJoinLobbyDataUint324 != rhs.obJoinLobbyDataUint324 {return false} - if lhs.obJoinLobbyDataString != rhs.obJoinLobbyDataString {return false} - if lhs.obJoinLobbyDataBool != rhs.obJoinLobbyDataBool {return false} - if lhs.obJoinLobbyDataUint325 != rhs.obJoinLobbyDataUint325 {return false} - if lhs.obJoinLobbyDataInt322 != rhs.obJoinLobbyDataInt322 {return false} - if lhs.weatherCondition != rhs.weatherCondition {return false} - if lhs.obJoinLobbyDataInt323 != rhs.obJoinLobbyDataInt323 {return false} - if lhs.obJoinLobbyDataUint326 != rhs.obJoinLobbyDataUint326 {return false} + if lhs.contactPlayer != rhs.contactPlayer {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JournalAddEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JournalAddEntryProto" +extension InternalSyncContactListResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "hashed_key"), - 2: .standard(proto: "entry_size"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + 4: .same(proto: "ERROR_EXCEEDS_MAX_CONTACTS_PER_QUERY"), + ] +} + +extension InternalSyncContactListResponse.ContactPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalSyncContactListResponse.protoMessageName + ".ContactPlayerProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "contact_id"), + 2: .same(proto: "player"), + 3: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229835,41 +240867,51 @@ extension JournalAddEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._hashedKey) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.entrySize) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.contactID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.player) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._hashedKey { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.entrySize != 0 { - try visitor.visitSingularInt64Field(value: self.entrySize, fieldNumber: 2) + if !self.contactID.isEmpty { + try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 1) + } + if !self.player.isEmpty { + try visitor.visitRepeatedMessageField(value: self.player, fieldNumber: 2) + } + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JournalAddEntryProto, rhs: JournalAddEntryProto) -> Bool { - if lhs._hashedKey != rhs._hashedKey {return false} - if lhs.entrySize != rhs.entrySize {return false} + public static func ==(lhs: InternalSyncContactListResponse.ContactPlayerProto, rhs: InternalSyncContactListResponse.ContactPlayerProto) -> Bool { + if lhs.contactID != rhs.contactID {return false} + if lhs.player != rhs.player {return false} + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JournalEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JournalEntryProto" +extension InternalSyncContactListResponse.ContactPlayerProto.ContactStatus: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "add_entry"), - 2: .standard(proto: "read_entry"), - 3: .standard(proto: "remove_entry"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "INVITED"), + 2: .same(proto: "REMOVED"), + ] +} + +extension InternalSyncContactListResponse.ContactPlayerProto.PlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalSyncContactListResponse.ContactPlayerProto.protoMessageName + ".PlayerProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "is_calling_game_player"), + 2: .standard(proto: "is_newly_signed_up_player"), + 3: .standard(proto: "is_self"), + 4: .standard(proto: "is_friend"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229878,84 +240920,49 @@ extension JournalEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: JournalAddEntryProto? - var hadOneofValue = false - if let current = self.subentry { - hadOneofValue = true - if case .addEntry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.subentry = .addEntry(v) - } - }() - case 2: try { - var v: JournalReadEntryProto? - var hadOneofValue = false - if let current = self.subentry { - hadOneofValue = true - if case .readEntry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.subentry = .readEntry(v) - } - }() - case 3: try { - var v: JournalRemoveEntryProto? - var hadOneofValue = false - if let current = self.subentry { - hadOneofValue = true - if case .removeEntry(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.subentry = .removeEntry(v) - } - }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isCallingGamePlayer) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isNewlySignedUpPlayer) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isSelf) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isFriend) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.subentry { - case .addEntry?: try { - guard case .addEntry(let v)? = self.subentry else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .readEntry?: try { - guard case .readEntry(let v)? = self.subentry else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .removeEntry?: try { - guard case .removeEntry(let v)? = self.subentry else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case nil: break + if self.isCallingGamePlayer != false { + try visitor.visitSingularBoolField(value: self.isCallingGamePlayer, fieldNumber: 1) + } + if self.isNewlySignedUpPlayer != false { + try visitor.visitSingularBoolField(value: self.isNewlySignedUpPlayer, fieldNumber: 2) + } + if self.isSelf != false { + try visitor.visitSingularBoolField(value: self.isSelf, fieldNumber: 3) + } + if self.isFriend != false { + try visitor.visitSingularBoolField(value: self.isFriend, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JournalEntryProto, rhs: JournalEntryProto) -> Bool { - if lhs.subentry != rhs.subentry {return false} + public static func ==(lhs: InternalSyncContactListResponse.ContactPlayerProto.PlayerProto, rhs: InternalSyncContactListResponse.ContactPlayerProto.PlayerProto) -> Bool { + if lhs.isCallingGamePlayer != rhs.isCallingGamePlayer {return false} + if lhs.isNewlySignedUpPlayer != rhs.isNewlySignedUpPlayer {return false} + if lhs.isSelf != rhs.isSelf {return false} + if lhs.isFriend != rhs.isFriend {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JournalReadEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JournalReadEntryProto" +extension InternalTemplateVariable: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalTemplateVariable" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "hashed_key"), + 1: .same(proto: "name"), + 2: .same(proto: "literal"), + 3: .same(proto: "key"), + 4: .standard(proto: "lookup_table"), + 5: .standard(proto: "byte_value"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -229964,34 +240971,50 @@ extension JournalReadEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._hashedKey) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.literal) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.key) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.lookupTable) }() + case 5: try { try decoder.decodeSingularBytesField(value: &self.byteValue) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._hashedKey { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + } + if !self.literal.isEmpty { + try visitor.visitSingularStringField(value: self.literal, fieldNumber: 2) + } + if !self.key.isEmpty { + try visitor.visitSingularStringField(value: self.key, fieldNumber: 3) + } + if !self.lookupTable.isEmpty { + try visitor.visitSingularStringField(value: self.lookupTable, fieldNumber: 4) + } + if !self.byteValue.isEmpty { + try visitor.visitSingularBytesField(value: self.byteValue, fieldNumber: 5) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JournalReadEntryProto, rhs: JournalReadEntryProto) -> Bool { - if lhs._hashedKey != rhs._hashedKey {return false} + public static func ==(lhs: InternalTemplateVariable, rhs: InternalTemplateVariable) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.literal != rhs.literal {return false} + if lhs.key != rhs.key {return false} + if lhs.lookupTable != rhs.lookupTable {return false} + if lhs.byteValue != rhs.byteValue {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JournalRemoveEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JournalRemoveEntryProto" +extension InternalUpdateAdventureSyncSettingsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateAdventureSyncSettingsRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "hashed_key"), + 1: .standard(proto: "adventure_sync_settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230000,7 +241023,7 @@ extension JournalRemoveEntryProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._hashedKey) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._adventureSyncSettings) }() default: break } } @@ -230011,23 +241034,23 @@ extension JournalRemoveEntryProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._hashedKey { + try { if let v = self._adventureSyncSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JournalRemoveEntryProto, rhs: JournalRemoveEntryProto) -> Bool { - if lhs._hashedKey != rhs._hashedKey {return false} + public static func ==(lhs: InternalUpdateAdventureSyncSettingsRequestProto, rhs: InternalUpdateAdventureSyncSettingsRequestProto) -> Bool { + if lhs._adventureSyncSettings != rhs._adventureSyncSettings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension JournalVersionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".JournalVersionProto" +extension InternalUpdateAdventureSyncSettingsResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateAdventureSyncSettingsResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "version"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230036,30 +241059,41 @@ extension JournalVersionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.version) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.version != 0 { - try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: JournalVersionProto, rhs: JournalVersionProto) -> Bool { - if lhs.version != rhs.version {return false} + public static func ==(lhs: InternalUpdateAdventureSyncSettingsResponseProto, rhs: InternalUpdateAdventureSyncSettingsResponseProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension KangarooSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".KangarooSettingsProto" +extension InternalUpdateAdventureSyncSettingsResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_kangaroo_v2"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + ] +} + +extension InternalUpdateBreadcrumbHistoryRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateBreadcrumbHistoryRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "session_context"), + 2: .standard(proto: "breadcrumb_history"), + 3: .standard(proto: "initial_update"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230068,33 +241102,40 @@ extension KangarooSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableKangarooV2) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.sessionContext) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.breadcrumbHistory) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.initialUpdate) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableKangarooV2 != false { - try visitor.visitSingularBoolField(value: self.enableKangarooV2, fieldNumber: 1) + if !self.sessionContext.isEmpty { + try visitor.visitSingularStringField(value: self.sessionContext, fieldNumber: 1) + } + if !self.breadcrumbHistory.isEmpty { + try visitor.visitRepeatedMessageField(value: self.breadcrumbHistory, fieldNumber: 2) + } + if self.initialUpdate != false { + try visitor.visitSingularBoolField(value: self.initialUpdate, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: KangarooSettingsProto, rhs: KangarooSettingsProto) -> Bool { - if lhs.enableKangarooV2 != rhs.enableKangarooV2 {return false} + public static func ==(lhs: InternalUpdateBreadcrumbHistoryRequestProto, rhs: InternalUpdateBreadcrumbHistoryRequestProto) -> Bool { + if lhs.sessionContext != rhs.sessionContext {return false} + if lhs.breadcrumbHistory != rhs.breadcrumbHistory {return false} + if lhs.initialUpdate != rhs.initialUpdate {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension KoalaSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".KoalaSettingsProto" +extension InternalUpdateBreadcrumbHistoryResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateBreadcrumbHistoryResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_id"), - 2: .standard(proto: "use_sandbox"), - 3: .standard(proto: "use_koala"), - 4: .standard(proto: "ob_koala_bool"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230103,48 +241144,39 @@ extension KoalaSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.appID) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.useSandbox) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.useKoala) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obKoalaBool) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.appID.isEmpty { - try visitor.visitSingularStringField(value: self.appID, fieldNumber: 1) - } - if self.useSandbox != false { - try visitor.visitSingularBoolField(value: self.useSandbox, fieldNumber: 2) - } - if self.useKoala != false { - try visitor.visitSingularBoolField(value: self.useKoala, fieldNumber: 3) - } - if self.obKoalaBool != false { - try visitor.visitSingularBoolField(value: self.obKoalaBool, fieldNumber: 4) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: KoalaSettingsProto, rhs: KoalaSettingsProto) -> Bool { - if lhs.appID != rhs.appID {return false} - if lhs.useSandbox != rhs.useSandbox {return false} - if lhs.useKoala != rhs.useKoala {return false} - if lhs.obKoalaBool != rhs.obKoalaBool {return false} + public static func ==(lhs: InternalUpdateBreadcrumbHistoryResponseProto, rhs: InternalUpdateBreadcrumbHistoryResponseProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Label: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Label" +extension InternalUpdateBreadcrumbHistoryResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_zoom"), - 2: .standard(proto: "max_zoom"), - 3: .same(proto: "priority"), - 4: .same(proto: "localizations"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + ] +} + +extension InternalUpdateFacebookStatusOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateFacebookStatusOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230153,49 +241185,42 @@ extension Label: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minZoom) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxZoom) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.priority) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.localizations) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minZoom != 0 { - try visitor.visitSingularInt32Field(value: self.minZoom, fieldNumber: 1) - } - if self.maxZoom != 0 { - try visitor.visitSingularInt32Field(value: self.maxZoom, fieldNumber: 2) - } - if self.priority != 0 { - try visitor.visitSingularInt32Field(value: self.priority, fieldNumber: 3) - } - if !self.localizations.isEmpty { - try visitor.visitRepeatedMessageField(value: self.localizations, fieldNumber: 4) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Label, rhs: Label) -> Bool { - if lhs.minZoom != rhs.minZoom {return false} - if lhs.maxZoom != rhs.maxZoom {return false} - if lhs.priority != rhs.priority {return false} - if lhs.localizations != rhs.localizations {return false} + public static func ==(lhs: InternalUpdateFacebookStatusOutProto, rhs: InternalUpdateFacebookStatusOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LabelAdditionSpec: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LabelAdditionSpec" +extension InternalUpdateFacebookStatusOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "priority"), - 2: .standard(proto: "min_zoom"), - 3: .standard(proto: "max_zoom"), - 4: .same(proto: "point"), - 5: .same(proto: "content"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + 4: .same(proto: "ERROR_FACEBOOK_API"), + 5: .same(proto: "ERROR_ALREADY_EXISTS"), + ] +} + +extension InternalUpdateFacebookStatusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateFacebookStatusProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fb_access_token"), + 2: .standard(proto: "force_update"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230204,57 +241229,37 @@ extension LabelAdditionSpec: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.priority) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minZoom) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxZoom) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._point) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._content) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fbAccessToken) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.forceUpdate) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.priority != 0 { - try visitor.visitSingularInt32Field(value: self.priority, fieldNumber: 1) - } - if self.minZoom != 0 { - try visitor.visitSingularInt32Field(value: self.minZoom, fieldNumber: 2) + if !self.fbAccessToken.isEmpty { + try visitor.visitSingularStringField(value: self.fbAccessToken, fieldNumber: 1) } - if self.maxZoom != 0 { - try visitor.visitSingularInt32Field(value: self.maxZoom, fieldNumber: 3) + if self.forceUpdate != false { + try visitor.visitSingularBoolField(value: self.forceUpdate, fieldNumber: 2) } - try { if let v = self._point { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = self._content { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LabelAdditionSpec, rhs: LabelAdditionSpec) -> Bool { - if lhs.priority != rhs.priority {return false} - if lhs.minZoom != rhs.minZoom {return false} - if lhs.maxZoom != rhs.maxZoom {return false} - if lhs._point != rhs._point {return false} - if lhs._content != rhs._content {return false} + public static func ==(lhs: InternalUpdateFacebookStatusProto, rhs: InternalUpdateFacebookStatusProto) -> Bool { + if lhs.fbAccessToken != rhs.fbAccessToken {return false} + if lhs.forceUpdate != rhs.forceUpdate {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LabelBlockSpec: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LabelBlockSpec" +extension InternalUpdateFriendshipRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateFriendshipRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_zoom"), - 2: .standard(proto: "max_zoom"), - 3: .standard(proto: "bounding_box"), - 4: .standard(proto: "match_criterion"), + 1: .standard(proto: "friend_id"), + 2: .standard(proto: "friend_nia_account_id"), + 3: .standard(proto: "friend_profile"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230263,10 +241268,9 @@ extension LabelBlockSpec: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minZoom) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxZoom) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._boundingBox) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._matchCriterion) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.friendNiaAccountID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._friendProfile) }() default: break } } @@ -230277,37 +241281,31 @@ extension LabelBlockSpec: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.minZoom != 0 { - try visitor.visitSingularInt32Field(value: self.minZoom, fieldNumber: 1) + if !self.friendID.isEmpty { + try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) } - if self.maxZoom != 0 { - try visitor.visitSingularInt32Field(value: self.maxZoom, fieldNumber: 2) + if !self.friendNiaAccountID.isEmpty { + try visitor.visitSingularStringField(value: self.friendNiaAccountID, fieldNumber: 2) } - try { if let v = self._boundingBox { + try { if let v = self._friendProfile { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() - try { if let v = self._matchCriterion { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LabelBlockSpec, rhs: LabelBlockSpec) -> Bool { - if lhs.minZoom != rhs.minZoom {return false} - if lhs.maxZoom != rhs.maxZoom {return false} - if lhs._boundingBox != rhs._boundingBox {return false} - if lhs._matchCriterion != rhs._matchCriterion {return false} + public static func ==(lhs: InternalUpdateFriendshipRequest, rhs: InternalUpdateFriendshipRequest) -> Bool { + if lhs.friendID != rhs.friendID {return false} + if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} + if lhs._friendProfile != rhs._friendProfile {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LabelContent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LabelContent" +extension InternalUpdateFriendshipRequest.FriendProfileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalUpdateFriendshipRequest.protoMessageName + ".FriendProfileProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "layer"), - 2: .standard(proto: "feature_kind"), - 3: .same(proto: "localizations"), + 1: .same(proto: "nickname"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230316,41 +241314,30 @@ extension LabelContent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.layer) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.featureKind) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.localizations) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.nickname) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.layer != .undefined { - try visitor.visitSingularEnumField(value: self.layer, fieldNumber: 1) - } - if self.featureKind != .undefined { - try visitor.visitSingularEnumField(value: self.featureKind, fieldNumber: 2) - } - if !self.localizations.isEmpty { - try visitor.visitRepeatedMessageField(value: self.localizations, fieldNumber: 3) + if !self.nickname.isEmpty { + try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LabelContent, rhs: LabelContent) -> Bool { - if lhs.layer != rhs.layer {return false} - if lhs.featureKind != rhs.featureKind {return false} - if lhs.localizations != rhs.localizations {return false} + public static func ==(lhs: InternalUpdateFriendshipRequest.FriendProfileProto, rhs: InternalUpdateFriendshipRequest.FriendProfileProto) -> Bool { + if lhs.nickname != rhs.nickname {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LabelContentLocalization: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LabelContentLocalization" +extension InternalUpdateFriendshipResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateFriendshipResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "language"), - 2: .same(proto: "name"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230359,37 +241346,43 @@ extension LabelContentLocalization: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.language) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.language.isEmpty { - try visitor.visitSingularStringField(value: self.language, fieldNumber: 1) - } - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LabelContentLocalization, rhs: LabelContentLocalization) -> Bool { - if lhs.language != rhs.language {return false} - if lhs.name != rhs.name {return false} + public static func ==(lhs: InternalUpdateFriendshipResponse, rhs: InternalUpdateFriendshipResponse) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LabelGeometry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LabelGeometry" +extension InternalUpdateFriendshipResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "point"), - 2: .standard(proto: "min_zoom"), - 3: .standard(proto: "max_zoom"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_NOT_FRIEND"), + 4: .same(proto: "ERROR_NICKNAME_WRONG_FORMAT"), + 5: .same(proto: "ERROR_FILTERED_NICKNAME"), + 6: .same(proto: "ERROR_EXCEEDED_CHANGE_LIMIT"), + ] +} + +extension InternalUpdateIncomingGameInviteRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateIncomingGameInviteRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "app_key"), + 2: .standard(proto: "new_status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230398,44 +241391,43 @@ extension LabelGeometry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._point) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minZoom) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxZoom) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.newStatus) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._point { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.minZoom != 0 { - try visitor.visitSingularInt32Field(value: self.minZoom, fieldNumber: 2) + if !self.appKey.isEmpty { + try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) } - if self.maxZoom != 0 { - try visitor.visitSingularInt32Field(value: self.maxZoom, fieldNumber: 3) + if self.newStatus != .unset { + try visitor.visitSingularEnumField(value: self.newStatus, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LabelGeometry, rhs: LabelGeometry) -> Bool { - if lhs._point != rhs._point {return false} - if lhs.minZoom != rhs.minZoom {return false} - if lhs.maxZoom != rhs.maxZoom {return false} + public static func ==(lhs: InternalUpdateIncomingGameInviteRequest, rhs: InternalUpdateIncomingGameInviteRequest) -> Bool { + if lhs.appKey != rhs.appKey {return false} + if lhs.newStatus != rhs.newStatus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LabelTile: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LabelTile" +extension InternalUpdateIncomingGameInviteRequest.NewStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SEEN"), + 2: .same(proto: "READ"), + ] +} + +extension InternalUpdateIncomingGameInviteResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateIncomingGameInviteResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "labels"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230444,68 +241436,58 @@ extension LabelTile: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.labels) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.labels.isEmpty { - try visitor.visitRepeatedMessageField(value: self.labels, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LabelTile, rhs: LabelTile) -> Bool { - if lhs.labels != rhs.labels {return false} + public static func ==(lhs: InternalUpdateIncomingGameInviteResponse, rhs: InternalUpdateIncomingGameInviteResponse) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LanguageData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LanguageData" +extension InternalUpdateIncomingGameInviteResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "name"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), ] +} + +extension InternalUpdateNotificationOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateNotificationOutProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.code) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.code.isEmpty { - try visitor.visitSingularStringField(value: self.code, fieldNumber: 1) - } - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LanguageData, rhs: LanguageData) -> Bool { - if lhs.code != rhs.code {return false} - if lhs.name != rhs.name {return false} + public static func ==(lhs: InternalUpdateNotificationOutProto, rhs: InternalUpdateNotificationOutProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LanguageSelectorSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LanguageSelectorSettingsProto" +extension InternalUpdateNotificationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateNotificationProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "language_selector_enabled"), + 1: .standard(proto: "notification_ids"), + 2: .standard(proto: "create_timestamp_ms"), + 3: .same(proto: "state"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230514,30 +241496,43 @@ extension LanguageSelectorSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.languageSelectorEnabled) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.notificationIds) }() + case 2: try { try decoder.decodeRepeatedInt64Field(value: &self.createTimestampMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.state) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.languageSelectorEnabled != false { - try visitor.visitSingularBoolField(value: self.languageSelectorEnabled, fieldNumber: 1) + if !self.notificationIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.notificationIds, fieldNumber: 1) + } + if !self.createTimestampMs.isEmpty { + try visitor.visitPackedInt64Field(value: self.createTimestampMs, fieldNumber: 2) + } + if self.state != .unsetState { + try visitor.visitSingularEnumField(value: self.state, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LanguageSelectorSettingsProto, rhs: LanguageSelectorSettingsProto) -> Bool { - if lhs.languageSelectorEnabled != rhs.languageSelectorEnabled {return false} + public static func ==(lhs: InternalUpdateNotificationProto, rhs: InternalUpdateNotificationProto) -> Bool { + if lhs.notificationIds != rhs.notificationIds {return false} + if lhs.createTimestampMs != rhs.createTimestampMs {return false} + if lhs.state != rhs.state {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LanguageTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LanguageTelemetry" +extension InternalUpdatePhoneNumberRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdatePhoneNumberRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "selected_language"), + 1: .standard(proto: "phone_number"), + 2: .standard(proto: "verification_code"), + 3: .standard(proto: "country_code"), + 4: .standard(proto: "contact_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230546,31 +241541,46 @@ extension LanguageTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.selectedLanguage) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.phoneNumber) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.verificationCode) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.contactID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.selectedLanguage.isEmpty { - try visitor.visitSingularStringField(value: self.selectedLanguage, fieldNumber: 1) + if !self.phoneNumber.isEmpty { + try visitor.visitSingularStringField(value: self.phoneNumber, fieldNumber: 1) + } + if !self.verificationCode.isEmpty { + try visitor.visitSingularStringField(value: self.verificationCode, fieldNumber: 2) + } + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 3) + } + if !self.contactID.isEmpty { + try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LanguageTelemetry, rhs: LanguageTelemetry) -> Bool { - if lhs.selectedLanguage != rhs.selectedLanguage {return false} + public static func ==(lhs: InternalUpdatePhoneNumberRequest, rhs: InternalUpdatePhoneNumberRequest) -> Bool { + if lhs.phoneNumber != rhs.phoneNumber {return false} + if lhs.verificationCode != rhs.verificationCode {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.contactID != rhs.contactID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LatLongBoundingBox: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LatLongBoundingBox" +extension InternalUpdatePhoneNumberResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdatePhoneNumberResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "sw"), - 2: .same(proto: "ne"), + 1: .same(proto: "status"), + 2: .standard(proto: "error_message"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230579,39 +241589,47 @@ extension LatLongBoundingBox: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._sw) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._ne) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._sw { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._ne { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LatLongBoundingBox, rhs: LatLongBoundingBox) -> Bool { - if lhs._sw != rhs._sw {return false} - if lhs._ne != rhs._ne {return false} + public static func ==(lhs: InternalUpdatePhoneNumberResponse, rhs: InternalUpdatePhoneNumberResponse) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.errorMessage != rhs.errorMessage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Layer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Layer" +extension InternalUpdatePhoneNumberResponse.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "features"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_WRONG_VERIFICATION_CODE"), + 3: .same(proto: "ERROR_UNKNOWN"), + 4: .same(proto: "ERROR_CONTACT_NOT_FOUND"), + 5: .same(proto: "ERROR_TOO_FREQUENT_ATTEMPTS"), + 6: .same(proto: "ERROR_TOO_MANY_ATTEMPTS"), + ] +} + +extension InternalUpdateProfileRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateProfileRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "profile"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230620,35 +241638,34 @@ extension Layer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.features) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._profile) }() default: break } } } - - public func traverse(visitor: inout V) throws { - if !self.features.isEmpty { - try visitor.visitRepeatedMessageField(value: self.features, fieldNumber: 1) - } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._profile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Layer, rhs: Layer) -> Bool { - if lhs.features != rhs.features {return false} + public static func ==(lhs: InternalUpdateProfileRequest, rhs: InternalUpdateProfileRequest) -> Bool { + if lhs._profile != rhs._profile {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LayerRule: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LayerRule" +extension InternalUpdateProfileRequest.ProfileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InternalUpdateProfileRequest.protoMessageName + ".ProfileProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "fill_colors"), - 3: .standard(proto: "road_priority"), - 4: .standard(proto: "road_attribute_bitfield"), - 5: .same(proto: "layer"), - 6: .same(proto: "kind"), + 1: .standard(proto: "profile_name_app_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230657,80 +241674,30 @@ extension LayerRule: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.fillColors) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.roadPriority) }() - case 4: try { try decoder.decodeSingularUInt32Field(value: &self.roadAttributeBitfield) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.layer) }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.kind) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.profileNameAppKey) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .area { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) - } - if !self.fillColors.isEmpty { - try visitor.visitRepeatedMessageField(value: self.fillColors, fieldNumber: 2) - } - if !self.roadPriority.isEmpty { - try visitor.visitPackedEnumField(value: self.roadPriority, fieldNumber: 3) - } - if self.roadAttributeBitfield != 0 { - try visitor.visitSingularUInt32Field(value: self.roadAttributeBitfield, fieldNumber: 4) - } - if self.layer != .undefined { - try visitor.visitSingularEnumField(value: self.layer, fieldNumber: 5) - } - if self.kind != .undefined { - try visitor.visitSingularEnumField(value: self.kind, fieldNumber: 6) + if !self.profileNameAppKey.isEmpty { + try visitor.visitSingularStringField(value: self.profileNameAppKey, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LayerRule, rhs: LayerRule) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.fillColors != rhs.fillColors {return false} - if lhs.roadPriority != rhs.roadPriority {return false} - if lhs.roadAttributeBitfield != rhs.roadAttributeBitfield {return false} - if lhs.layer != rhs.layer {return false} - if lhs.kind != rhs.kind {return false} + public static func ==(lhs: InternalUpdateProfileRequest.ProfileProto, rhs: InternalUpdateProfileRequest.ProfileProto) -> Bool { + if lhs.profileNameAppKey != rhs.profileNameAppKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LayerRule.GmmLayerType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AREA"), - 1: .same(proto: "ROAD"), - 2: .same(proto: "BUILDING"), - 3: .same(proto: "LINE_MESH"), - ] -} - -extension LayerRule.GmmRoadPriority: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PRIORITY_NONE"), - 1: .same(proto: "PRIORITY_TERMINAL"), - 2: .same(proto: "PRIORITY_LOCAL"), - 3: .same(proto: "PRIORITY_MINOR_ARTERIAL"), - 4: .same(proto: "PRIORITY_MAJOR_ARTERIAL"), - 5: .same(proto: "PRIORITY_SECONDARY_ROAD"), - 6: .same(proto: "PRIORITY_PRIMARY_HIGHWAY"), - 7: .same(proto: "PRIORITY_LIMITED_ACCESS"), - 8: .same(proto: "PRIORITY_CONTROLLED_ACCESS"), - 9: .same(proto: "PRIORITY_NON_TRAFFIC"), - ] -} - -extension LeagueIdMismatchDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeagueIdMismatchDataProto" +extension InternalUpdateProfileResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InternalUpdateProfileResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .same(proto: "type"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230739,35 +241706,40 @@ extension LeagueIdMismatchDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) - } - if self.type != .noType { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeagueIdMismatchDataProto, rhs: LeagueIdMismatchDataProto) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.type != rhs.type {return false} + public static func ==(lhs: InternalUpdateProfileResponse, rhs: InternalUpdateProfileResponse) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LeaveBuddyMultiplayerSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeaveBuddyMultiplayerSessionOutProto" +extension InternalUpdateProfileResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_EMPTY_PROFILE_NAME"), + ] +} + +extension InvasionAvailabilitySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionAvailabilitySettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "availability_start_minute"), + 2: .standard(proto: "availability_end_minute"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230776,39 +241748,50 @@ extension LeaveBuddyMultiplayerSessionOutProto: SwiftProtobuf.Message, SwiftProt // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.availabilityStartMinute) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.availabilityEndMinute) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .leaveSuccess { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.availabilityStartMinute != 0 { + try visitor.visitSingularInt64Field(value: self.availabilityStartMinute, fieldNumber: 1) + } + if self.availabilityEndMinute != 0 { + try visitor.visitSingularInt64Field(value: self.availabilityEndMinute, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeaveBuddyMultiplayerSessionOutProto, rhs: LeaveBuddyMultiplayerSessionOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: InvasionAvailabilitySettingsProto, rhs: InvasionAvailabilitySettingsProto) -> Bool { + if lhs.availabilityStartMinute != rhs.availabilityStartMinute {return false} + if lhs.availabilityEndMinute != rhs.availabilityEndMinute {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LeaveBuddyMultiplayerSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension InvasionAvailabilitySettingsProto.InvasionAvailabilitySettingsId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "LEAVE_SUCCESS"), - 1: .same(proto: "LEAVE_NOT_IN_LOBBY"), - 2: .same(proto: "LEAVE_LOBBY_NOT_FOUND"), - 3: .same(proto: "LEAVE_UNKNOWN_ERROR"), + 0: .same(proto: "INVASION_AVAILABILITY_SETTINGS_UNSET"), + 1: .same(proto: "INVASION_AVAILABILITY_SETTINGS_MONDAY"), + 2: .same(proto: "INVASION_AVAILABILITY_SETTINGS_TUESDAY"), + 3: .same(proto: "INVASION_AVAILABILITY_SETTINGS_WEDNESDAY"), + 4: .same(proto: "INVASION_AVAILABILITY_SETTINGS_THURSDAY"), + 5: .same(proto: "INVASION_AVAILABILITY_SETTINGS_FRIDAY"), + 6: .same(proto: "INVASION_AVAILABILITY_SETTINGS_SATURDAY"), + 7: .same(proto: "INVASION_AVAILABILITY_SETTINGS_SUNDAY"), ] } -extension LeaveBuddyMultiplayerSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeaveBuddyMultiplayerSessionProto" +extension InvasionBattleResponseUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionBattleResponseUpdate" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "plfe_session_id"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230817,36 +241800,44 @@ extension LeaveBuddyMultiplayerSessionProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.plfeSessionID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.plfeSessionID.isEmpty { - try visitor.visitSingularStringField(value: self.plfeSessionID, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) + } + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeaveBuddyMultiplayerSessionProto, rhs: LeaveBuddyMultiplayerSessionProto) -> Bool { - if lhs.plfeSessionID != rhs.plfeSessionID {return false} + public static func ==(lhs: InvasionBattleResponseUpdate, rhs: InvasionBattleResponseUpdate) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LeaveInteractionRangeTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeaveInteractionRangeTelemetry" +extension InvasionBattleUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionBattleUpdate" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "fort_id"), - 3: .standard(proto: "fort_type"), - 4: .standard(proto: "client_timestamp"), - 5: .standard(proto: "partner_id"), - 6: .standard(proto: "time_spent"), - 7: .standard(proto: "campaign_id"), + 1: .standard(proto: "rpc_id"), + 2: .same(proto: "step"), + 3: .standard(proto: "complete_battle"), + 4: .standard(proto: "update_type"), + 5: .standard(proto: "lobby_join_time_offset_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230855,60 +241846,50 @@ extension LeaveInteractionRangeTelemetry: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.fortType) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.clientTimestamp) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.partnerID) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.timeSpent) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.campaignID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.step) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.completeBattle) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.updateType) }() + case 5: try { try decoder.decodeSingularUInt32Field(value: &self.lobbyJoinTimeOffsetMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.result.isEmpty { - try visitor.visitSingularStringField(value: self.result, fieldNumber: 1) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) - } - if self.fortType != 0 { - try visitor.visitSingularInt32Field(value: self.fortType, fieldNumber: 3) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.clientTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.clientTimestamp, fieldNumber: 4) + if self.step != 0 { + try visitor.visitSingularInt32Field(value: self.step, fieldNumber: 2) } - if !self.partnerID.isEmpty { - try visitor.visitSingularStringField(value: self.partnerID, fieldNumber: 5) + if self.completeBattle != false { + try visitor.visitSingularBoolField(value: self.completeBattle, fieldNumber: 3) } - if self.timeSpent != 0 { - try visitor.visitSingularInt64Field(value: self.timeSpent, fieldNumber: 6) + if self.updateType != .pokemonHealth { + try visitor.visitSingularEnumField(value: self.updateType, fieldNumber: 4) } - if !self.campaignID.isEmpty { - try visitor.visitSingularStringField(value: self.campaignID, fieldNumber: 7) + if self.lobbyJoinTimeOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.lobbyJoinTimeOffsetMs, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeaveInteractionRangeTelemetry, rhs: LeaveInteractionRangeTelemetry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.fortType != rhs.fortType {return false} - if lhs.clientTimestamp != rhs.clientTimestamp {return false} - if lhs.partnerID != rhs.partnerID {return false} - if lhs.timeSpent != rhs.timeSpent {return false} - if lhs.campaignID != rhs.campaignID {return false} + public static func ==(lhs: InvasionBattleUpdate, rhs: InvasionBattleUpdate) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.step != rhs.step {return false} + if lhs.completeBattle != rhs.completeBattle {return false} + if lhs.updateType != rhs.updateType {return false} + if lhs.lobbyJoinTimeOffsetMs != rhs.lobbyJoinTimeOffsetMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LeaveLobbyDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeaveLobbyDataProto" +extension InvasionCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionCreateDetail" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .same(proto: "origin"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230917,31 +241898,37 @@ extension LeaveLobbyDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.origin) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.origin != .characterUnset { + try visitor.visitSingularEnumField(value: self.origin, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeaveLobbyDataProto, rhs: LeaveLobbyDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: InvasionCreateDetail, rhs: InvasionCreateDetail) -> Bool { + if lhs.origin != rhs.origin {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LeaveLobbyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeaveLobbyOutProto" +extension InvasionEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionEncounterOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "lobby"), + 1: .same(proto: "status"), + 2: .standard(proto: "encounter_pokemon"), + 3: .standard(proto: "capture_probability"), + 4: .standard(proto: "active_item"), + 5: .standard(proto: "throws_remaining"), + 6: .standard(proto: "encounter_id"), + 7: .standard(proto: "spawn_point_guid"), + 8: .standard(proto: "balls_display"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -230950,8 +241937,14 @@ extension LeaveLobbyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._lobby) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._encounterPokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.throwsRemaining) }() + case 6: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.spawnPointGuid) }() + case 8: try { try decoder.decodeSingularMessageField(value: &self._ballsDisplay) }() default: break } } @@ -230962,38 +241955,54 @@ extension LeaveLobbyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - try { if let v = self._lobby { + try { if let v = self._encounterPokemon { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() + try { if let v = self._captureProbability { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) + } + if self.throwsRemaining != 0 { + try visitor.visitSingularInt32Field(value: self.throwsRemaining, fieldNumber: 5) + } + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 6) + } + if !self.spawnPointGuid.isEmpty { + try visitor.visitSingularStringField(value: self.spawnPointGuid, fieldNumber: 7) + } + try { if let v = self._ballsDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeaveLobbyOutProto, rhs: LeaveLobbyOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._lobby != rhs._lobby {return false} + public static func ==(lhs: InvasionEncounterOutProto, rhs: InvasionEncounterOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._encounterPokemon != rhs._encounterPokemon {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} + if lhs.throwsRemaining != rhs.throwsRemaining {return false} + if lhs.encounterID != rhs.encounterID {return false} + if lhs.spawnPointGuid != rhs.spawnPointGuid {return false} + if lhs._ballsDisplay != rhs._ballsDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LeaveLobbyOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_RAID_UNAVAILABLE"), - 3: .same(proto: "ERROR_LOBBY_NOT_FOUND"), - ] -} - -extension LeaveLobbyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeaveLobbyProto" +extension InvasionEncounterOutProto.PremierBallsDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InvasionEncounterOutProto.protoMessageName + ".PremierBallsDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "raid_seed"), - 2: .standard(proto: "gym_id"), - 3: .standard(proto: "lobby_id"), + 1: .standard(proto: "base_num_balls"), + 2: .standard(proto: "pokemon_purified_num_balls"), + 3: .standard(proto: "grunts_defeated_num_balls"), + 4: .standard(proto: "pokemon_remaining_num_balls"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231002,42 +242011,46 @@ extension LeaveLobbyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.gymID) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.baseNumBalls) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokemonPurifiedNumBalls) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.gruntsDefeatedNumBalls) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.pokemonRemainingNumBalls) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.raidSeed != 0 { - try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 1) + if self.baseNumBalls != 0 { + try visitor.visitSingularInt32Field(value: self.baseNumBalls, fieldNumber: 1) } - if !self.gymID.isEmpty { - try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 2) + if self.pokemonPurifiedNumBalls != 0 { + try visitor.visitSingularInt32Field(value: self.pokemonPurifiedNumBalls, fieldNumber: 2) } - if !self.lobbyID.isEmpty { - try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 3) + if self.gruntsDefeatedNumBalls != 0 { + try visitor.visitSingularInt32Field(value: self.gruntsDefeatedNumBalls, fieldNumber: 3) + } + if self.pokemonRemainingNumBalls != 0 { + try visitor.visitSingularInt32Field(value: self.pokemonRemainingNumBalls, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeaveLobbyProto, rhs: LeaveLobbyProto) -> Bool { - if lhs.raidSeed != rhs.raidSeed {return false} - if lhs.gymID != rhs.gymID {return false} - if lhs.lobbyID != rhs.lobbyID {return false} + public static func ==(lhs: InvasionEncounterOutProto.PremierBallsDisplayProto, rhs: InvasionEncounterOutProto.PremierBallsDisplayProto) -> Bool { + if lhs.baseNumBalls != rhs.baseNumBalls {return false} + if lhs.pokemonPurifiedNumBalls != rhs.pokemonPurifiedNumBalls {return false} + if lhs.gruntsDefeatedNumBalls != rhs.gruntsDefeatedNumBalls {return false} + if lhs.pokemonRemainingNumBalls != rhs.pokemonRemainingNumBalls {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LeaveLobbyResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeaveLobbyResponseDataProto" +extension InvasionEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionEncounterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "ob_uint32"), + 1: .standard(proto: "incident_lookup"), + 2: .same(proto: "step"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231046,46 +242059,39 @@ extension LeaveLobbyResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._incidentLookup) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.step) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._incidentLookup { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.step != 0 { + try visitor.visitSingularInt32Field(value: self.step, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeaveLobbyResponseDataProto, rhs: LeaveLobbyResponseDataProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} + public static func ==(lhs: InvasionEncounterProto, rhs: InvasionEncounterProto) -> Bool { + if lhs._incidentLookup != rhs._incidentLookup {return false} + if lhs.step != rhs.step {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LeavePointOfInterestTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeavePointOfInterestTelemetry" +extension InvasionFinishedDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionFinishedDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "fort_id"), - 3: .standard(proto: "fort_type"), - 4: .standard(proto: "client_timestamp"), - 5: .standard(proto: "partner_id"), - 6: .standard(proto: "time_spent"), - 7: .standard(proto: "campaign_id"), + 1: .same(proto: "style"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231094,63 +242100,41 @@ extension LeavePointOfInterestTelemetry: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.fortType) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.clientTimestamp) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.partnerID) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.timeSpent) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.campaignID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.style) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.result.isEmpty { - try visitor.visitSingularStringField(value: self.result, fieldNumber: 1) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) - } - if self.fortType != 0 { - try visitor.visitSingularInt32Field(value: self.fortType, fieldNumber: 3) - } - if self.clientTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.clientTimestamp, fieldNumber: 4) - } - if !self.partnerID.isEmpty { - try visitor.visitSingularStringField(value: self.partnerID, fieldNumber: 5) - } - if self.timeSpent != 0 { - try visitor.visitSingularInt64Field(value: self.timeSpent, fieldNumber: 6) - } - if !self.campaignID.isEmpty { - try visitor.visitSingularStringField(value: self.campaignID, fieldNumber: 7) + if self.style != .pokestopNormal { + try visitor.visitSingularEnumField(value: self.style, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeavePointOfInterestTelemetry, rhs: LeavePointOfInterestTelemetry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.fortType != rhs.fortType {return false} - if lhs.clientTimestamp != rhs.clientTimestamp {return false} - if lhs.partnerID != rhs.partnerID {return false} - if lhs.timeSpent != rhs.timeSpent {return false} - if lhs.campaignID != rhs.campaignID {return false} + public static func ==(lhs: InvasionFinishedDisplayProto, rhs: InvasionFinishedDisplayProto) -> Bool { + if lhs.style != rhs.style {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LegalHold: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LegalHold" +extension InvasionNpcDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionNpcDisplaySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "legal_hold_value"), - 2: .standard(proto: "starting_timestamp_ms"), - 3: .standard(proto: "ending_timestamp_ms"), - 4: .same(proto: "reason"), + 1: .standard(proto: "trainer_name"), + 2: .same(proto: "avatar"), + 3: .standard(proto: "trainer_title"), + 4: .standard(proto: "trainer_quote"), + 5: .standard(proto: "icon_url"), + 6: .standard(proto: "backdrop_image_bundle"), + 7: .standard(proto: "model_name"), + 8: .standard(proto: "tutorial_on_loss_string"), + 9: .standard(proto: "is_male"), + 10: .standard(proto: "custom_incident_music"), + 11: .standard(proto: "custom_combat_music"), + 12: .standard(proto: "tips_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231159,46 +242143,93 @@ extension LegalHold: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.legalHoldValue) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.startingTimestampMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.endingTimestampMs) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.reason) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.trainerName) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._avatar) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.trainerTitle) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.trainerQuote) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.iconURL) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.backdropImageBundle) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.modelName) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.tutorialOnLossString) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.isMale) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.customIncidentMusic) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.customCombatMusic) }() + case 12: try { try decoder.decodeSingularEnumField(value: &self.tipsType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.legalHoldValue != false { - try visitor.visitSingularBoolField(value: self.legalHoldValue, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.trainerName.isEmpty { + try visitor.visitSingularStringField(value: self.trainerName, fieldNumber: 1) + } + try { if let v = self._avatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.trainerTitle.isEmpty { + try visitor.visitSingularStringField(value: self.trainerTitle, fieldNumber: 3) + } + if !self.trainerQuote.isEmpty { + try visitor.visitSingularStringField(value: self.trainerQuote, fieldNumber: 4) + } + if !self.iconURL.isEmpty { + try visitor.visitSingularStringField(value: self.iconURL, fieldNumber: 5) + } + if !self.backdropImageBundle.isEmpty { + try visitor.visitSingularStringField(value: self.backdropImageBundle, fieldNumber: 6) + } + if !self.modelName.isEmpty { + try visitor.visitSingularStringField(value: self.modelName, fieldNumber: 7) + } + if !self.tutorialOnLossString.isEmpty { + try visitor.visitSingularStringField(value: self.tutorialOnLossString, fieldNumber: 8) } - if self.startingTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.startingTimestampMs, fieldNumber: 2) + if self.isMale != false { + try visitor.visitSingularBoolField(value: self.isMale, fieldNumber: 9) } - if self.endingTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.endingTimestampMs, fieldNumber: 3) + if !self.customIncidentMusic.isEmpty { + try visitor.visitSingularStringField(value: self.customIncidentMusic, fieldNumber: 10) } - if !self.reason.isEmpty { - try visitor.visitSingularStringField(value: self.reason, fieldNumber: 4) + if !self.customCombatMusic.isEmpty { + try visitor.visitSingularStringField(value: self.customCombatMusic, fieldNumber: 11) + } + if self.tipsType != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: self.tipsType, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LegalHold, rhs: LegalHold) -> Bool { - if lhs.legalHoldValue != rhs.legalHoldValue {return false} - if lhs.startingTimestampMs != rhs.startingTimestampMs {return false} - if lhs.endingTimestampMs != rhs.endingTimestampMs {return false} - if lhs.reason != rhs.reason {return false} + public static func ==(lhs: InvasionNpcDisplaySettingsProto, rhs: InvasionNpcDisplaySettingsProto) -> Bool { + if lhs.trainerName != rhs.trainerName {return false} + if lhs._avatar != rhs._avatar {return false} + if lhs.trainerTitle != rhs.trainerTitle {return false} + if lhs.trainerQuote != rhs.trainerQuote {return false} + if lhs.iconURL != rhs.iconURL {return false} + if lhs.backdropImageBundle != rhs.backdropImageBundle {return false} + if lhs.modelName != rhs.modelName {return false} + if lhs.tutorialOnLossString != rhs.tutorialOnLossString {return false} + if lhs.isMale != rhs.isMale {return false} + if lhs.customIncidentMusic != rhs.customIncidentMusic {return false} + if lhs.customCombatMusic != rhs.customCombatMusic {return false} + if lhs.tipsType != rhs.tipsType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LevelSettingsProto" +extension InvasionOpenCombatSessionData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionOpenCombatSessionData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "trainer_cp_modifier"), - 3: .standard(proto: "trainer_difficulty_modifier"), + 1: .standard(proto: "rpc_id"), + 2: .same(proto: "type"), + 3: .standard(proto: "attacking_pokemon_indexes"), + 4: .standard(proto: "lobby_join_time_offset_ms"), + 5: .same(proto: "step"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231207,136 +242238,195 @@ extension LevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeSingularDoubleField(value: &self.trainerCpModifier) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.trainerDifficultyModifier) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.attackingPokemonIndexes) }() + case 4: try { try decoder.decodeSingularUInt32Field(value: &self.lobbyJoinTimeOffsetMs) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.step) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.trainerCpModifier != 0 { - try visitor.visitSingularDoubleField(value: self.trainerCpModifier, fieldNumber: 2) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.trainerDifficultyModifier != 0 { - try visitor.visitSingularDoubleField(value: self.trainerDifficultyModifier, fieldNumber: 3) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) + } + if !self.attackingPokemonIndexes.isEmpty { + try visitor.visitPackedInt32Field(value: self.attackingPokemonIndexes, fieldNumber: 3) + } + if self.lobbyJoinTimeOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.lobbyJoinTimeOffsetMs, fieldNumber: 4) + } + if self.step != 0 { + try visitor.visitSingularInt32Field(value: self.step, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LevelSettingsProto, rhs: LevelSettingsProto) -> Bool { - if lhs.trainerCpModifier != rhs.trainerCpModifier {return false} - if lhs.trainerDifficultyModifier != rhs.trainerDifficultyModifier {return false} + public static func ==(lhs: InvasionOpenCombatSessionData, rhs: InvasionOpenCombatSessionData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.type != rhs.type {return false} + if lhs.attackingPokemonIndexes != rhs.attackingPokemonIndexes {return false} + if lhs.lobbyJoinTimeOffsetMs != rhs.lobbyJoinTimeOffsetMs {return false} + if lhs.step != rhs.step {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LevelUpRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LevelUpRewardsOutProto" +extension InvasionOpenCombatSessionResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionOpenCombatSessionResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "items"), - 4: .standard(proto: "items_unlocked"), - 5: .standard(proto: "avatar_template_ids"), - 6: .standard(proto: "ob_int32"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), + 4: .same(proto: "combat"), ] + fileprivate class _StorageClass { + var _rpcID: Int32 = 0 + var _roundTripTimeMs: UInt32 = 0 + var _result: InvasionStatus.Status = .unset + var _combat: CombatForLogProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _rpcID = source._rpcID + _roundTripTimeMs = source._roundTripTimeMs + _result = source._result + _combat = source._combat + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.items) }() - case 4: try { try decoder.decodeRepeatedEnumField(value: &self.itemsUnlocked) }() - case 5: try { try decoder.decodeRepeatedStringField(value: &self.avatarTemplateIds) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &_storage._roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._combat) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.items.isEmpty { - try visitor.visitRepeatedMessageField(value: self.items, fieldNumber: 2) - } - if !self.itemsUnlocked.isEmpty { - try visitor.visitPackedEnumField(value: self.itemsUnlocked, fieldNumber: 4) - } - if !self.avatarTemplateIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.avatarTemplateIds, fieldNumber: 5) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 6) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._rpcID != 0 { + try visitor.visitSingularInt32Field(value: _storage._rpcID, fieldNumber: 1) + } + if _storage._roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: _storage._roundTripTimeMs, fieldNumber: 2) + } + if _storage._result != .unset { + try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 3) + } + try { if let v = _storage._combat { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LevelUpRewardsOutProto, rhs: LevelUpRewardsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.items != rhs.items {return false} - if lhs.itemsUnlocked != rhs.itemsUnlocked {return false} - if lhs.avatarTemplateIds != rhs.avatarTemplateIds {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: InvasionOpenCombatSessionResponseData, rhs: InvasionOpenCombatSessionResponseData) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._rpcID != rhs_storage._rpcID {return false} + if _storage._roundTripTimeMs != rhs_storage._roundTripTimeMs {return false} + if _storage._result != rhs_storage._result {return false} + if _storage._combat != rhs_storage._combat {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LevelUpRewardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "AWARDED_ALREADY"), - ] -} - -extension LevelUpRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LevelUpRewardsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "level"), - ] +extension InvasionStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionStatus" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.level) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.level != 0 { - try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LevelUpRewardsProto, rhs: LevelUpRewardsProto) -> Bool { - if lhs.level != rhs.level {return false} + public static func ==(lhs: InvasionStatus, rhs: InvasionStatus) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LevelUpRewardsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LevelUpRewardsSettingsProto" +extension InvasionStatus.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "level"), - 2: .same(proto: "items"), - 3: .standard(proto: "items_count"), - 4: .standard(proto: "items_unlocked"), - 5: .standard(proto: "avatar_template_ids"), - 6: .standard(proto: "ob_int32"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "ERROR_FORT_NOT_FOUND"), + 4: .same(proto: "ERROR_INCIDENT_NOT_FOUND"), + 5: .same(proto: "ERROR_STEP_ALREADY_COMPLETED"), + 6: .same(proto: "ERROR_WRONG_STEP"), + 7: .same(proto: "ERROR_PLAYER_BELOW_MIN_LEVEL"), + 8: .same(proto: "ERROR_INCIDENT_EXPIRED"), + 9: .same(proto: "ERROR_MISSING_INCIDENT_TICKET"), + 10: .same(proto: "ERROR_ENCOUNTER_POKEMON_INVENTORY_FULL"), + 11: .same(proto: "ERROR_PLAYER_BELOW_V2_MIN_LEVEL"), + 12: .same(proto: "ERROR_RETRY"), + 20: .same(proto: "ERROR_INVALID_HEALTH_UPDATES"), + 30: .same(proto: "ERROR_ATTACKING_POKEMON_INVALID"), + ] +} + +extension InvasionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "invasion_telemetry_id"), + 2: .standard(proto: "npc_id"), + 3: .standard(proto: "battle_success"), + 4: .standard(proto: "post_battle_friendly_remaining"), + 5: .standard(proto: "post_battle_enemy_remaining"), + 6: .standard(proto: "encounter_pokemon"), + 7: .standard(proto: "encounter_success"), + 8: .standard(proto: "invasion_id"), + 9: .standard(proto: "player_tapped_npc"), + 10: .same(proto: "radar"), + 11: .same(proto: "curfew"), + 12: .same(proto: "duration"), + 13: .same(proto: "distance"), + 14: .standard(proto: "invasion_context"), + 15: .standard(proto: "balloon_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231345,56 +242435,101 @@ extension LevelUpRewardsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.level) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.items) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.itemsCount) }() - case 4: try { try decoder.decodeRepeatedEnumField(value: &self.itemsUnlocked) }() - case 5: try { try decoder.decodeRepeatedStringField(value: &self.avatarTemplateIds) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.invasionTelemetryID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.npcID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.battleSuccess) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.postBattleFriendlyRemaining) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.postBattleEnemyRemaining) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.encounterPokemon) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.encounterSuccess) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.invasionID) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.playerTappedNpc) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.radar) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.curfew) }() + case 12: try { try decoder.decodeSingularFloatField(value: &self.duration) }() + case 13: try { try decoder.decodeSingularFloatField(value: &self.distance) }() + case 14: try { try decoder.decodeSingularEnumField(value: &self.invasionContext) }() + case 15: try { try decoder.decodeSingularEnumField(value: &self.balloonType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.level != 0 { - try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 1) + if self.invasionTelemetryID != .undefinedInvasionEvent { + try visitor.visitSingularEnumField(value: self.invasionTelemetryID, fieldNumber: 1) } - if !self.items.isEmpty { - try visitor.visitPackedEnumField(value: self.items, fieldNumber: 2) + if self.npcID != .characterUnset { + try visitor.visitSingularEnumField(value: self.npcID, fieldNumber: 2) } - if !self.itemsCount.isEmpty { - try visitor.visitPackedInt32Field(value: self.itemsCount, fieldNumber: 3) + if self.battleSuccess != false { + try visitor.visitSingularBoolField(value: self.battleSuccess, fieldNumber: 3) } - if !self.itemsUnlocked.isEmpty { - try visitor.visitPackedEnumField(value: self.itemsUnlocked, fieldNumber: 4) + if self.postBattleFriendlyRemaining != 0 { + try visitor.visitSingularInt32Field(value: self.postBattleFriendlyRemaining, fieldNumber: 4) } - if !self.avatarTemplateIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.avatarTemplateIds, fieldNumber: 5) + if self.postBattleEnemyRemaining != 0 { + try visitor.visitSingularInt32Field(value: self.postBattleEnemyRemaining, fieldNumber: 5) + } + if self.encounterPokemon != 0 { + try visitor.visitSingularInt32Field(value: self.encounterPokemon, fieldNumber: 6) + } + if self.encounterSuccess != false { + try visitor.visitSingularBoolField(value: self.encounterSuccess, fieldNumber: 7) + } + if !self.invasionID.isEmpty { + try visitor.visitSingularStringField(value: self.invasionID, fieldNumber: 8) + } + if self.playerTappedNpc != false { + try visitor.visitSingularBoolField(value: self.playerTappedNpc, fieldNumber: 9) + } + if !self.radar.isEmpty { + try visitor.visitSingularStringField(value: self.radar, fieldNumber: 10) + } + if self.curfew != false { + try visitor.visitSingularBoolField(value: self.curfew, fieldNumber: 11) + } + if self.duration != 0 { + try visitor.visitSingularFloatField(value: self.duration, fieldNumber: 12) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 6) + if self.distance != 0 { + try visitor.visitSingularFloatField(value: self.distance, fieldNumber: 13) + } + if self.invasionContext != .pokestopIncident { + try visitor.visitSingularEnumField(value: self.invasionContext, fieldNumber: 14) + } + if self.balloonType != .rocket { + try visitor.visitSingularEnumField(value: self.balloonType, fieldNumber: 15) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LevelUpRewardsSettingsProto, rhs: LevelUpRewardsSettingsProto) -> Bool { - if lhs.level != rhs.level {return false} - if lhs.items != rhs.items {return false} - if lhs.itemsCount != rhs.itemsCount {return false} - if lhs.itemsUnlocked != rhs.itemsUnlocked {return false} - if lhs.avatarTemplateIds != rhs.avatarTemplateIds {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: InvasionTelemetry, rhs: InvasionTelemetry) -> Bool { + if lhs.invasionTelemetryID != rhs.invasionTelemetryID {return false} + if lhs.npcID != rhs.npcID {return false} + if lhs.battleSuccess != rhs.battleSuccess {return false} + if lhs.postBattleFriendlyRemaining != rhs.postBattleFriendlyRemaining {return false} + if lhs.postBattleEnemyRemaining != rhs.postBattleEnemyRemaining {return false} + if lhs.encounterPokemon != rhs.encounterPokemon {return false} + if lhs.encounterSuccess != rhs.encounterSuccess {return false} + if lhs.invasionID != rhs.invasionID {return false} + if lhs.playerTappedNpc != rhs.playerTappedNpc {return false} + if lhs.radar != rhs.radar {return false} + if lhs.curfew != rhs.curfew {return false} + if lhs.duration != rhs.duration {return false} + if lhs.distance != rhs.distance {return false} + if lhs.invasionContext != rhs.invasionContext {return false} + if lhs.balloonType != rhs.balloonType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LeveledUpFriendsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LeveledUpFriendsProto" +extension InvasionVictoryLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InvasionVictoryLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_profiles"), - 2: .standard(proto: "friend_milestone_levels"), + 1: .same(proto: "rewards"), + 2: .standard(proto: "invasion_npc"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231403,39 +242538,41 @@ extension LeveledUpFriendsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.friendProfiles) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friendMilestoneLevels) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.invasionNpc) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.friendProfiles.isEmpty { - try visitor.visitRepeatedMessageField(value: self.friendProfiles, fieldNumber: 1) - } - if !self.friendMilestoneLevels.isEmpty { - try visitor.visitRepeatedMessageField(value: self.friendMilestoneLevels, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._rewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.invasionNpc != .characterUnset { + try visitor.visitSingularEnumField(value: self.invasionNpc, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LeveledUpFriendsProto, rhs: LeveledUpFriendsProto) -> Bool { - if lhs.friendProfiles != rhs.friendProfiles {return false} - if lhs.friendMilestoneLevels != rhs.friendMilestoneLevels {return false} + public static func ==(lhs: InvasionVictoryLogEntry, rhs: InvasionVictoryLogEntry) -> Bool { + if lhs._rewards != rhs._rewards {return false} + if lhs.invasionNpc != rhs.invasionNpc {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LightshipServiceEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LightshipServiceEvent" +extension InventoryDeltaProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InventoryDeltaProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "api_method_name"), - 2: .standard(proto: "is_request"), - 3: .same(proto: "response"), - 4: .same(proto: "success"), - 5: .standard(proto: "http_status"), + 1: .standard(proto: "original_timestamp"), + 2: .standard(proto: "new_timestamp"), + 3: .standard(proto: "inventory_item"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231444,53 +242581,42 @@ extension LightshipServiceEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.apiMethodName) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isRequest) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.response) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.success) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.httpStatus) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.originalTimestamp) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.newTimestamp) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.inventoryItem) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.apiMethodName.isEmpty { - try visitor.visitSingularStringField(value: self.apiMethodName, fieldNumber: 1) - } - if self.isRequest != false { - try visitor.visitSingularBoolField(value: self.isRequest, fieldNumber: 2) - } - if !self.response.isEmpty { - try visitor.visitSingularStringField(value: self.response, fieldNumber: 3) + if self.originalTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.originalTimestamp, fieldNumber: 1) } - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 4) + if self.newTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.newTimestamp, fieldNumber: 2) } - if !self.httpStatus.isEmpty { - try visitor.visitSingularStringField(value: self.httpStatus, fieldNumber: 5) + if !self.inventoryItem.isEmpty { + try visitor.visitRepeatedMessageField(value: self.inventoryItem, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LightshipServiceEvent, rhs: LightshipServiceEvent) -> Bool { - if lhs.apiMethodName != rhs.apiMethodName {return false} - if lhs.isRequest != rhs.isRequest {return false} - if lhs.response != rhs.response {return false} - if lhs.success != rhs.success {return false} - if lhs.httpStatus != rhs.httpStatus {return false} + public static func ==(lhs: InventoryDeltaProto, rhs: InventoryDeltaProto) -> Bool { + if lhs.originalTimestamp != rhs.originalTimestamp {return false} + if lhs.newTimestamp != rhs.newTimestamp {return false} + if lhs.inventoryItem != rhs.inventoryItem {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LimitedEditionPokemonEncounterRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LimitedEditionPokemonEncounterRewardProto" +extension InventoryItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InventoryItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 3: .standard(proto: "lifetime_max_count"), - 4: .standard(proto: "per_competitive_combat_season_max_count"), - 1: .same(proto: "pokemon"), - 2: .same(proto: "identifier"), + 2: .standard(proto: "deleted_item_key"), + 3: .standard(proto: "inventory_item_data"), + 1: .standard(proto: "modified_timestamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231499,22 +242625,31 @@ extension LimitedEditionPokemonEncounterRewardProto: SwiftProtobuf.Message, Swif // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.identifier) }() - case 3: try { - var v: Int32? - try decoder.decodeSingularInt32Field(value: &v) + case 1: try { try decoder.decodeSingularInt64Field(value: &self.modifiedTimestamp) }() + case 2: try { + var v: HoloInventoryKeyProto? + var hadOneofValue = false + if let current = self.inventoryItem { + hadOneofValue = true + if case .deletedItemKey(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) if let v = v { - if self.limit != nil {try decoder.handleConflictingOneOf()} - self.limit = .lifetimeMaxCount(v) + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.inventoryItem = .deletedItemKey(v) } }() - case 4: try { - var v: Int32? - try decoder.decodeSingularInt32Field(value: &v) + case 3: try { + var v: HoloInventoryItemProto? + var hadOneofValue = false + if let current = self.inventoryItem { + hadOneofValue = true + if case .inventoryItemData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) if let v = v { - if self.limit != nil {try decoder.handleConflictingOneOf()} - self.limit = .perCompetitiveCombatSeasonMaxCount(v) + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.inventoryItem = .inventoryItemData(v) } }() default: break @@ -231527,39 +242662,37 @@ extension LimitedEditionPokemonEncounterRewardProto: SwiftProtobuf.Message, Swif // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.identifier.isEmpty { - try visitor.visitSingularStringField(value: self.identifier, fieldNumber: 2) + if self.modifiedTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.modifiedTimestamp, fieldNumber: 1) } - switch self.limit { - case .lifetimeMaxCount?: try { - guard case .lifetimeMaxCount(let v)? = self.limit else { preconditionFailure() } - try visitor.visitSingularInt32Field(value: v, fieldNumber: 3) + switch self.inventoryItem { + case .deletedItemKey?: try { + guard case .deletedItemKey(let v)? = self.inventoryItem else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) }() - case .perCompetitiveCombatSeasonMaxCount?: try { - guard case .perCompetitiveCombatSeasonMaxCount(let v)? = self.limit else { preconditionFailure() } - try visitor.visitSingularInt32Field(value: v, fieldNumber: 4) + case .inventoryItemData?: try { + guard case .inventoryItemData(let v)? = self.inventoryItem else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) }() case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LimitedEditionPokemonEncounterRewardProto, rhs: LimitedEditionPokemonEncounterRewardProto) -> Bool { - if lhs.limit != rhs.limit {return false} - if lhs._pokemon != rhs._pokemon {return false} - if lhs.identifier != rhs.identifier {return false} + public static func ==(lhs: InventoryItemProto, rhs: InventoryItemProto) -> Bool { + if lhs.inventoryItem != rhs.inventoryItem {return false} + if lhs.modifiedTimestamp != rhs.modifiedTimestamp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LimitedPurchaseSkuRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LimitedPurchaseSkuRecordProto" +extension InventoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InventoryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "purchases"), + 1: .standard(proto: "inventory_item"), + 2: .standard(proto: "diff_inventory"), + 3: .standard(proto: "inventory_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231568,44 +242701,53 @@ extension LimitedPurchaseSkuRecordProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.purchases) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.inventoryItem) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._diffInventory) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.inventoryType) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.purchases.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.purchases, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.inventoryItem.isEmpty { + try visitor.visitRepeatedMessageField(value: self.inventoryItem, fieldNumber: 1) + } + try { if let v = self._diffInventory { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.inventoryType != .binaryBlob { + try visitor.visitSingularEnumField(value: self.inventoryType, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LimitedPurchaseSkuRecordProto, rhs: LimitedPurchaseSkuRecordProto) -> Bool { - if lhs.purchases != rhs.purchases {return false} + public static func ==(lhs: InventoryProto, rhs: InventoryProto) -> Bool { + if lhs.inventoryItem != rhs.inventoryItem {return false} + if lhs._diffInventory != rhs._diffInventory {return false} + if lhs.inventoryType != rhs.inventoryType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LimitedPurchaseSkuRecordProto.ChronoUnit: SwiftProtobuf._ProtoNameProviding { +extension InventoryProto.InventoryType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "MINUTE"), - 2: .same(proto: "HOUR"), - 3: .same(proto: "DAY"), - 4: .same(proto: "WEEK"), - 5: .same(proto: "MONTH"), + 0: .same(proto: "BINARY_BLOB"), + 1: .same(proto: "DIFF"), + 2: .same(proto: "COMPOSITE"), ] } -extension LimitedPurchaseSkuRecordProto.PurchaseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = LimitedPurchaseSkuRecordProto.protoMessageName + ".PurchaseProto" +extension InventoryProto.DiffInventoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = InventoryProto.protoMessageName + ".DiffInventoryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "version"), - 2: .standard(proto: "num_purchases"), - 4: .standard(proto: "last_purchase_ms"), - 5: .standard(proto: "total_num_purchases"), + 2: .standard(proto: "item_changelog"), + 3: .standard(proto: "diff_inventory_entity_last_compaction_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231614,137 +242756,236 @@ extension LimitedPurchaseSkuRecordProto.PurchaseProto: SwiftProtobuf.Message, Sw // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.version) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numPurchases) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.lastPurchaseMs) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.totalNumPurchases) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.itemChangelog) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.diffInventoryEntityLastCompactionMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.version != 0 { - try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 1) - } - if self.numPurchases != 0 { - try visitor.visitSingularInt32Field(value: self.numPurchases, fieldNumber: 2) - } - if self.lastPurchaseMs != 0 { - try visitor.visitSingularInt64Field(value: self.lastPurchaseMs, fieldNumber: 4) + if !self.itemChangelog.isEmpty { + try visitor.visitRepeatedMessageField(value: self.itemChangelog, fieldNumber: 2) } - if self.totalNumPurchases != 0 { - try visitor.visitSingularInt32Field(value: self.totalNumPurchases, fieldNumber: 5) + if self.diffInventoryEntityLastCompactionMs != 0 { + try visitor.visitSingularInt64Field(value: self.diffInventoryEntityLastCompactionMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LimitedPurchaseSkuRecordProto.PurchaseProto, rhs: LimitedPurchaseSkuRecordProto.PurchaseProto) -> Bool { - if lhs.version != rhs.version {return false} - if lhs.numPurchases != rhs.numPurchases {return false} - if lhs.lastPurchaseMs != rhs.lastPurchaseMs {return false} - if lhs.totalNumPurchases != rhs.totalNumPurchases {return false} + public static func ==(lhs: InventoryProto.DiffInventoryProto, rhs: InventoryProto.DiffInventoryProto) -> Bool { + if lhs.itemChangelog != rhs.itemChangelog {return false} + if lhs.diffInventoryEntityLastCompactionMs != rhs.diffInventoryEntityLastCompactionMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LimitedPurchaseSkuSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LimitedPurchaseSkuSettingsProto" +extension InventorySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InventorySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "purchase_limit"), - 2: .same(proto: "version"), - 3: .standard(proto: "chrono_unit"), - 4: .standard(proto: "loot_table_id"), - 20: .standard(proto: "reset_interval"), + 1: .standard(proto: "max_pokemon"), + 2: .standard(proto: "max_bag_items"), + 3: .standard(proto: "base_pokemon"), + 4: .standard(proto: "base_bag_items"), + 5: .standard(proto: "base_eggs"), + 6: .standard(proto: "max_team_changes"), + 7: .standard(proto: "team_change_item_reset_period_in_days"), + 8: .standard(proto: "max_item_boost_duration_ms"), + 9: .standard(proto: "default_sticker_max_count"), + 10: .standard(proto: "enable_eggs_not_inventory"), + 11: .standard(proto: "special_egg_overflow_spots"), + 12: .standard(proto: "enable_overflow_spot_sliding"), + 13: .standard(proto: "can_raid_pass_overflow_bag_space"), + 14: .standard(proto: "base_postcards"), + 15: .standard(proto: "max_postcards"), + 16: .standard(proto: "max_stone_acount"), + 17: .standard(proto: "postcard_expansion_enabled"), + 18: .standard(proto: "fort_item_full_modal_enabled"), ] - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.purchaseLimit) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.version) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.chronoUnit) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.lootTableID) }() - case 20: try { try decoder.decodeSingularInt32Field(value: &self.resetInterval) }() - default: break - } - } - } + fileprivate class _StorageClass { + var _maxPokemon: Int32 = 0 + var _maxBagItems: Int32 = 0 + var _basePokemon: Int32 = 0 + var _baseBagItems: Int32 = 0 + var _baseEggs: Int32 = 0 + var _maxTeamChanges: Int32 = 0 + var _teamChangeItemResetPeriodInDays: Int64 = 0 + var _maxItemBoostDurationMs: Int64 = 0 + var _defaultStickerMaxCount: Int32 = 0 + var _enableEggsNotInventory: Bool = false + var _specialEggOverflowSpots: Int32 = 0 + var _enableOverflowSpotSliding: Bool = false + var _canRaidPassOverflowBagSpace: Bool = false + var _basePostcards: Int32 = 0 + var _maxPostcards: Int32 = 0 + var _maxStoneAcount: Int32 = 0 + var _postcardExpansionEnabled: Bool = false + var _fortItemFullModalEnabled: Bool = false - public func traverse(visitor: inout V) throws { - if self.purchaseLimit != 0 { - try visitor.visitSingularInt32Field(value: self.purchaseLimit, fieldNumber: 1) - } - if self.version != 0 { - try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 2) - } - if self.chronoUnit != .unset { - try visitor.visitSingularEnumField(value: self.chronoUnit, fieldNumber: 3) - } - if !self.lootTableID.isEmpty { - try visitor.visitSingularStringField(value: self.lootTableID, fieldNumber: 4) - } - if self.resetInterval != 0 { - try visitor.visitSingularInt32Field(value: self.resetInterval, fieldNumber: 20) + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _maxPokemon = source._maxPokemon + _maxBagItems = source._maxBagItems + _basePokemon = source._basePokemon + _baseBagItems = source._baseBagItems + _baseEggs = source._baseEggs + _maxTeamChanges = source._maxTeamChanges + _teamChangeItemResetPeriodInDays = source._teamChangeItemResetPeriodInDays + _maxItemBoostDurationMs = source._maxItemBoostDurationMs + _defaultStickerMaxCount = source._defaultStickerMaxCount + _enableEggsNotInventory = source._enableEggsNotInventory + _specialEggOverflowSpots = source._specialEggOverflowSpots + _enableOverflowSpotSliding = source._enableOverflowSpotSliding + _canRaidPassOverflowBagSpace = source._canRaidPassOverflowBagSpace + _basePostcards = source._basePostcards + _maxPostcards = source._maxPostcards + _maxStoneAcount = source._maxStoneAcount + _postcardExpansionEnabled = source._postcardExpansionEnabled + _fortItemFullModalEnabled = source._fortItemFullModalEnabled } - try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LimitedPurchaseSkuSettingsProto, rhs: LimitedPurchaseSkuSettingsProto) -> Bool { - if lhs.purchaseLimit != rhs.purchaseLimit {return false} - if lhs.version != rhs.version {return false} - if lhs.chronoUnit != rhs.chronoUnit {return false} - if lhs.lootTableID != rhs.lootTableID {return false} - if lhs.resetInterval != rhs.resetInterval {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage } -} - -extension LineProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LineProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "vertex"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.vertex) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPokemon) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._maxBagItems) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._basePokemon) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._baseBagItems) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._baseEggs) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._maxTeamChanges) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._teamChangeItemResetPeriodInDays) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._maxItemBoostDurationMs) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._defaultStickerMaxCount) }() + case 10: try { try decoder.decodeSingularBoolField(value: &_storage._enableEggsNotInventory) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._specialEggOverflowSpots) }() + case 12: try { try decoder.decodeSingularBoolField(value: &_storage._enableOverflowSpotSliding) }() + case 13: try { try decoder.decodeSingularBoolField(value: &_storage._canRaidPassOverflowBagSpace) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._basePostcards) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPostcards) }() + case 16: try { try decoder.decodeSingularInt32Field(value: &_storage._maxStoneAcount) }() + case 17: try { try decoder.decodeSingularBoolField(value: &_storage._postcardExpansionEnabled) }() + case 18: try { try decoder.decodeSingularBoolField(value: &_storage._fortItemFullModalEnabled) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.vertex.isEmpty { - try visitor.visitRepeatedMessageField(value: self.vertex, fieldNumber: 1) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if _storage._maxPokemon != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxPokemon, fieldNumber: 1) + } + if _storage._maxBagItems != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxBagItems, fieldNumber: 2) + } + if _storage._basePokemon != 0 { + try visitor.visitSingularInt32Field(value: _storage._basePokemon, fieldNumber: 3) + } + if _storage._baseBagItems != 0 { + try visitor.visitSingularInt32Field(value: _storage._baseBagItems, fieldNumber: 4) + } + if _storage._baseEggs != 0 { + try visitor.visitSingularInt32Field(value: _storage._baseEggs, fieldNumber: 5) + } + if _storage._maxTeamChanges != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxTeamChanges, fieldNumber: 6) + } + if _storage._teamChangeItemResetPeriodInDays != 0 { + try visitor.visitSingularInt64Field(value: _storage._teamChangeItemResetPeriodInDays, fieldNumber: 7) + } + if _storage._maxItemBoostDurationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._maxItemBoostDurationMs, fieldNumber: 8) + } + if _storage._defaultStickerMaxCount != 0 { + try visitor.visitSingularInt32Field(value: _storage._defaultStickerMaxCount, fieldNumber: 9) + } + if _storage._enableEggsNotInventory != false { + try visitor.visitSingularBoolField(value: _storage._enableEggsNotInventory, fieldNumber: 10) + } + if _storage._specialEggOverflowSpots != 0 { + try visitor.visitSingularInt32Field(value: _storage._specialEggOverflowSpots, fieldNumber: 11) + } + if _storage._enableOverflowSpotSliding != false { + try visitor.visitSingularBoolField(value: _storage._enableOverflowSpotSliding, fieldNumber: 12) + } + if _storage._canRaidPassOverflowBagSpace != false { + try visitor.visitSingularBoolField(value: _storage._canRaidPassOverflowBagSpace, fieldNumber: 13) + } + if _storage._basePostcards != 0 { + try visitor.visitSingularInt32Field(value: _storage._basePostcards, fieldNumber: 14) + } + if _storage._maxPostcards != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxPostcards, fieldNumber: 15) + } + if _storage._maxStoneAcount != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxStoneAcount, fieldNumber: 16) + } + if _storage._postcardExpansionEnabled != false { + try visitor.visitSingularBoolField(value: _storage._postcardExpansionEnabled, fieldNumber: 17) + } + if _storage._fortItemFullModalEnabled != false { + try visitor.visitSingularBoolField(value: _storage._fortItemFullModalEnabled, fieldNumber: 18) + } } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LineProto, rhs: LineProto) -> Bool { - if lhs.vertex != rhs.vertex {return false} + public static func ==(lhs: InventorySettingsProto, rhs: InventorySettingsProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._maxPokemon != rhs_storage._maxPokemon {return false} + if _storage._maxBagItems != rhs_storage._maxBagItems {return false} + if _storage._basePokemon != rhs_storage._basePokemon {return false} + if _storage._baseBagItems != rhs_storage._baseBagItems {return false} + if _storage._baseEggs != rhs_storage._baseEggs {return false} + if _storage._maxTeamChanges != rhs_storage._maxTeamChanges {return false} + if _storage._teamChangeItemResetPeriodInDays != rhs_storage._teamChangeItemResetPeriodInDays {return false} + if _storage._maxItemBoostDurationMs != rhs_storage._maxItemBoostDurationMs {return false} + if _storage._defaultStickerMaxCount != rhs_storage._defaultStickerMaxCount {return false} + if _storage._enableEggsNotInventory != rhs_storage._enableEggsNotInventory {return false} + if _storage._specialEggOverflowSpots != rhs_storage._specialEggOverflowSpots {return false} + if _storage._enableOverflowSpotSliding != rhs_storage._enableOverflowSpotSliding {return false} + if _storage._canRaidPassOverflowBagSpace != rhs_storage._canRaidPassOverflowBagSpace {return false} + if _storage._basePostcards != rhs_storage._basePostcards {return false} + if _storage._maxPostcards != rhs_storage._maxPostcards {return false} + if _storage._maxStoneAcount != rhs_storage._maxStoneAcount {return false} + if _storage._postcardExpansionEnabled != rhs_storage._postcardExpansionEnabled {return false} + if _storage._fortItemFullModalEnabled != rhs_storage._fortItemFullModalEnabled {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LinkLoginTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LinkLoginTelemetry" +extension InventoryUpgradeAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InventoryUpgradeAttributesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "linked"), - 2: .same(proto: "success"), - 3: .same(proto: "error"), - 4: .standard(proto: "active_auth_provider_id"), - 5: .same(proto: "provider"), + 1: .standard(proto: "additional_storage"), + 2: .standard(proto: "upgrade_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231753,51 +242994,37 @@ extension LinkLoginTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.linked) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.success) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.error) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.activeAuthProviderID) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.provider) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.additionalStorage) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.upgradeType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.linked != false { - try visitor.visitSingularBoolField(value: self.linked, fieldNumber: 1) - } - if !self.success.isEmpty { - try visitor.visitSingularStringField(value: self.success, fieldNumber: 2) - } - if !self.error.isEmpty { - try visitor.visitSingularStringField(value: self.error, fieldNumber: 3) - } - if !self.activeAuthProviderID.isEmpty { - try visitor.visitSingularStringField(value: self.activeAuthProviderID, fieldNumber: 4) + if self.additionalStorage != 0 { + try visitor.visitSingularInt32Field(value: self.additionalStorage, fieldNumber: 1) } - if !self.provider.isEmpty { - try visitor.visitSingularStringField(value: self.provider, fieldNumber: 5) + if self.upgradeType != .upgradeUnset { + try visitor.visitSingularEnumField(value: self.upgradeType, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LinkLoginTelemetry, rhs: LinkLoginTelemetry) -> Bool { - if lhs.linked != rhs.linked {return false} - if lhs.success != rhs.success {return false} - if lhs.error != rhs.error {return false} - if lhs.activeAuthProviderID != rhs.activeAuthProviderID {return false} - if lhs.provider != rhs.provider {return false} + public static func ==(lhs: InventoryUpgradeAttributesProto, rhs: InventoryUpgradeAttributesProto) -> Bool { + if lhs.additionalStorage != rhs.additionalStorage {return false} + if lhs.upgradeType != rhs.upgradeType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LinkToAccountLoginRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LinkToAccountLoginRequestProto" +extension InventoryUpgradeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InventoryUpgradeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "new_auth_token"), - 2: .standard(proto: "new_auth_provider_id"), + 1: .same(proto: "item"), + 2: .standard(proto: "upgrade_type"), + 3: .standard(proto: "additional_storage"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231806,36 +243033,40 @@ extension LinkToAccountLoginRequestProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.newAuthToken) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.newAuthProviderID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.upgradeType) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.additionalStorage) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.newAuthToken.isEmpty { - try visitor.visitSingularBytesField(value: self.newAuthToken, fieldNumber: 1) + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) } - if !self.newAuthProviderID.isEmpty { - try visitor.visitSingularStringField(value: self.newAuthProviderID, fieldNumber: 2) + if self.upgradeType != .upgradeUnset { + try visitor.visitSingularEnumField(value: self.upgradeType, fieldNumber: 2) + } + if self.additionalStorage != 0 { + try visitor.visitSingularInt32Field(value: self.additionalStorage, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LinkToAccountLoginRequestProto, rhs: LinkToAccountLoginRequestProto) -> Bool { - if lhs.newAuthToken != rhs.newAuthToken {return false} - if lhs.newAuthProviderID != rhs.newAuthProviderID {return false} + public static func ==(lhs: InventoryUpgradeProto, rhs: InventoryUpgradeProto) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.upgradeType != rhs.upgradeType {return false} + if lhs.additionalStorage != rhs.additionalStorage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LinkToAccountLoginResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LinkToAccountLoginResponseProto" +extension InventoryUpgradesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".InventoryUpgradesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "success"), - 2: .same(proto: "status"), + 1: .standard(proto: "inventory_upgrade"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231844,49 +243075,34 @@ extension LinkToAccountLoginResponseProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.inventoryUpgrade) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) - } - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) + if !self.inventoryUpgrade.isEmpty { + try visitor.visitRepeatedMessageField(value: self.inventoryUpgrade, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LinkToAccountLoginResponseProto, rhs: LinkToAccountLoginResponseProto) -> Bool { - if lhs.success != rhs.success {return false} - if lhs.status != rhs.status {return false} + public static func ==(lhs: InventoryUpgradesProto, rhs: InventoryUpgradesProto) -> Bool { + if lhs.inventoryUpgrade != rhs.inventoryUpgrade {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LinkToAccountLoginResponseProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "AUTH_FAILURE"), - 3: .same(proto: "LOGIN_TAKEN"), - 4: .same(proto: "GUEST_LOGIN_DISABLED"), - 5: .same(proto: "SUCCESS_ALREADY_LINKED"), - ] -} - -extension LiquidAttribute: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LiquidAttribute" +extension IosDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IosDevice" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "int_value"), - 2: .standard(proto: "double_value"), - 3: .standard(proto: "string_value"), - 4: .standard(proto: "bool_value"), + 8: .same(proto: "name"), + 9: .same(proto: "manufacturer"), + 10: .same(proto: "model"), + 11: .same(proto: "hardware"), + 12: .same(proto: "software"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231895,82 +243111,54 @@ extension LiquidAttribute: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: Int64? - try decoder.decodeSingularInt64Field(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .intValue(v) - } - }() - case 2: try { - var v: Double? - try decoder.decodeSingularDoubleField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .doubleValue(v) - } - }() - case 3: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .stringValue(v) - } - }() - case 4: try { - var v: Bool? - try decoder.decodeSingularBoolField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .boolValue(v) - } - }() + case 8: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.manufacturer) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.model) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.hardware) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.software) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.value { - case .intValue?: try { - guard case .intValue(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularInt64Field(value: v, fieldNumber: 1) - }() - case .doubleValue?: try { - guard case .doubleValue(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularDoubleField(value: v, fieldNumber: 2) - }() - case .stringValue?: try { - guard case .stringValue(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 3) - }() - case .boolValue?: try { - guard case .boolValue(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularBoolField(value: v, fieldNumber: 4) - }() - case nil: break + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 8) + } + if !self.manufacturer.isEmpty { + try visitor.visitSingularStringField(value: self.manufacturer, fieldNumber: 9) + } + if !self.model.isEmpty { + try visitor.visitSingularStringField(value: self.model, fieldNumber: 10) + } + if !self.hardware.isEmpty { + try visitor.visitSingularStringField(value: self.hardware, fieldNumber: 11) + } + if !self.software.isEmpty { + try visitor.visitSingularStringField(value: self.software, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LiquidAttribute, rhs: LiquidAttribute) -> Bool { - if lhs.value != rhs.value {return false} + public static func ==(lhs: IosDevice, rhs: IosDevice) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.manufacturer != rhs.manufacturer {return false} + if lhs.model != rhs.model {return false} + if lhs.hardware != rhs.hardware {return false} + if lhs.software != rhs.software {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListAvatarCustomizationsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListAvatarCustomizationsOutProto" +extension IosSourceRevision: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IosSourceRevision" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "avatar_customizations"), + 1: .same(proto: "name"), + 2: .same(proto: "bundle"), + 3: .same(proto: "version"), + 4: .same(proto: "product"), + 5: .same(proto: "os"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -231979,59 +243167,52 @@ extension ListAvatarCustomizationsOutProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.avatarCustomizations) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.bundle) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.version) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.product) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.os) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - if !self.avatarCustomizations.isEmpty { - try visitor.visitRepeatedMessageField(value: self.avatarCustomizations, fieldNumber: 2) + if !self.bundle.isEmpty { + try visitor.visitSingularStringField(value: self.bundle, fieldNumber: 2) + } + if !self.version.isEmpty { + try visitor.visitSingularStringField(value: self.version, fieldNumber: 3) + } + if !self.product.isEmpty { + try visitor.visitSingularStringField(value: self.product, fieldNumber: 4) + } + if !self.os.isEmpty { + try visitor.visitSingularStringField(value: self.os, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListAvatarCustomizationsOutProto, rhs: ListAvatarCustomizationsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.avatarCustomizations != rhs.avatarCustomizations {return false} + public static func ==(lhs: IosSourceRevision, rhs: IosSourceRevision) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.bundle != rhs.bundle {return false} + if lhs.version != rhs.version {return false} + if lhs.product != rhs.product {return false} + if lhs.os != rhs.os {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListAvatarCustomizationsOutProto.Label: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_LABEL"), - 1: .same(proto: "DEFAULT"), - 2: .same(proto: "OWNED"), - 3: .same(proto: "FEATURED"), - 4: .same(proto: "NEW"), - 5: .same(proto: "SALE"), - 6: .same(proto: "PURCHASABLE"), - 7: .same(proto: "UNLOCKABLE"), - 8: .same(proto: "VIEWED"), - 9: .same(proto: "LOCKED_PURCHASABLE"), - ] -} - -extension ListAvatarCustomizationsOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - ] -} - -extension ListAvatarCustomizationsOutProto.AvatarCustomization: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ListAvatarCustomizationsOutProto.protoMessageName + ".AvatarCustomization" +extension IrisPokemonObjectProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IrisPokemonObjectProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "avatar_template_id"), - 2: .same(proto: "labels"), + 1: .standard(proto: "object_id"), + 2: .standard(proto: "display_id"), + 3: .same(proto: "location"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232040,39 +243221,44 @@ extension ListAvatarCustomizationsOutProto.AvatarCustomization: SwiftProtobuf.Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.avatarTemplateID) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.labels) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.objectID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.displayID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._location) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.avatarTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.avatarTemplateID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.objectID.isEmpty { + try visitor.visitSingularStringField(value: self.objectID, fieldNumber: 1) } - if !self.labels.isEmpty { - try visitor.visitPackedEnumField(value: self.labels, fieldNumber: 2) + if self.displayID != .missingno { + try visitor.visitSingularEnumField(value: self.displayID, fieldNumber: 2) } + try { if let v = self._location { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListAvatarCustomizationsOutProto.AvatarCustomization, rhs: ListAvatarCustomizationsOutProto.AvatarCustomization) -> Bool { - if lhs.avatarTemplateID != rhs.avatarTemplateID {return false} - if lhs.labels != rhs.labels {return false} + public static func ==(lhs: IrisPokemonObjectProto, rhs: IrisPokemonObjectProto) -> Bool { + if lhs.objectID != rhs.objectID {return false} + if lhs.displayID != rhs.displayID {return false} + if lhs._location != rhs._location {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListAvatarCustomizationsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListAvatarCustomizationsProto" +extension IsSkuAvailableOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IsSkuAvailableOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "avatar_type"), - 2: .same(proto: "slot"), - 3: .same(proto: "filters"), - 4: .same(proto: "start"), - 5: .same(proto: "limit"), + 1: .standard(proto: "is_sku_available"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232081,62 +243267,32 @@ extension ListAvatarCustomizationsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.avatarType) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.slot) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.filters) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.start) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.limit) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isSkuAvailable) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.avatarType != .playerAvatarMale { - try visitor.visitSingularEnumField(value: self.avatarType, fieldNumber: 1) - } - if !self.slot.isEmpty { - try visitor.visitPackedEnumField(value: self.slot, fieldNumber: 2) - } - if !self.filters.isEmpty { - try visitor.visitPackedEnumField(value: self.filters, fieldNumber: 3) - } - if self.start != 0 { - try visitor.visitSingularInt32Field(value: self.start, fieldNumber: 4) - } - if self.limit != 0 { - try visitor.visitSingularInt32Field(value: self.limit, fieldNumber: 5) + if self.isSkuAvailable != false { + try visitor.visitSingularBoolField(value: self.isSkuAvailable, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListAvatarCustomizationsProto, rhs: ListAvatarCustomizationsProto) -> Bool { - if lhs.avatarType != rhs.avatarType {return false} - if lhs.slot != rhs.slot {return false} - if lhs.filters != rhs.filters {return false} - if lhs.start != rhs.start {return false} - if lhs.limit != rhs.limit {return false} + public static func ==(lhs: IsSkuAvailableOutProto, rhs: IsSkuAvailableOutProto) -> Bool { + if lhs.isSkuAvailable != rhs.isSkuAvailable {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListAvatarCustomizationsProto.Filter: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ALL"), - 2: .same(proto: "DEFAULT"), - 3: .same(proto: "OWNED"), - 4: .same(proto: "FEATURED"), - 5: .same(proto: "PURCHASABLE"), - 6: .same(proto: "UNLOCKABLE"), - ] -} - -extension ListFriendsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListFriendsRequest" +extension IsSkuAvailableProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".IsSkuAvailableProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "feature"), + 1: .standard(proto: "sku_id"), + 2: .standard(proto: "verify_price"), + 3: .standard(proto: "coin_cost"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232145,31 +243301,41 @@ extension ListFriendsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.feature) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.skuID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.verifyPrice) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.coinCost) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.feature != .unset { - try visitor.visitSingularEnumField(value: self.feature, fieldNumber: 1) + if !self.skuID.isEmpty { + try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 1) + } + if self.verifyPrice != false { + try visitor.visitSingularBoolField(value: self.verifyPrice, fieldNumber: 2) + } + if self.coinCost != 0 { + try visitor.visitSingularInt32Field(value: self.coinCost, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListFriendsRequest, rhs: ListFriendsRequest) -> Bool { - if lhs.feature != rhs.feature {return false} + public static func ==(lhs: IsSkuAvailableProto, rhs: IsSkuAvailableProto) -> Bool { + if lhs.skuID != rhs.skuID {return false} + if lhs.verifyPrice != rhs.verifyPrice {return false} + if lhs.coinCost != rhs.coinCost {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListFriendsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListFriendsResponse" +extension ItemInventoryUpdateSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ItemInventoryUpdateSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "friend_summary"), + 1: .standard(proto: "feature_enabled"), + 2: .standard(proto: "category_proto"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232178,51 +243344,37 @@ extension ListFriendsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friendSummary) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.featureEnabled) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.categoryProto) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.featureEnabled != false { + try visitor.visitSingularBoolField(value: self.featureEnabled, fieldNumber: 1) } - if !self.friendSummary.isEmpty { - try visitor.visitRepeatedMessageField(value: self.friendSummary, fieldNumber: 2) + if !self.categoryProto.isEmpty { + try visitor.visitRepeatedMessageField(value: self.categoryProto, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListFriendsResponse, rhs: ListFriendsResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.friendSummary != rhs.friendSummary {return false} + public static func ==(lhs: ItemInventoryUpdateSettingsProto, rhs: ItemInventoryUpdateSettingsProto) -> Bool { + if lhs.featureEnabled != rhs.featureEnabled {return false} + if lhs.categoryProto != rhs.categoryProto {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListFriendsResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_FEATURE_DISABLED"), - ] -} - -extension ListFriendsResponse.FriendSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ListFriendsResponse.protoMessageName + ".FriendSummaryProto" +extension ItemInventoryUpdateSettingsProto.CategoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ItemInventoryUpdateSettingsProto.protoMessageName + ".CategoryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "is_calling_app_friend"), - 3: .standard(proto: "calling_game_data"), - 4: .same(proto: "profile"), - 5: .standard(proto: "player_status"), - 6: .standard(proto: "invitation_status"), - 7: .standard(proto: "nia_account_id"), - 8: .standard(proto: "gar_account_info"), + 1: .same(proto: "category"), + 2: .standard(proto: "category_name"), + 3: .standard(proto: "sort_order"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232231,71 +243383,42 @@ extension ListFriendsResponse.FriendSummaryProto: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isCallingAppFriend) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._callingGameData) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._profile) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._playerStatus) }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.invitationStatus) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() - case 8: try { try decoder.decodeSingularMessageField(value: &self._garAccountInfo) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.category) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.categoryName) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.sortOrder) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) - } - if self.isCallingAppFriend != false { - try visitor.visitSingularBoolField(value: self.isCallingAppFriend, fieldNumber: 2) + if !self.category.isEmpty { + try visitor.visitPackedEnumField(value: self.category, fieldNumber: 1) } - try { if let v = self._callingGameData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._profile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = self._playerStatus { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if self.invitationStatus != .unset { - try visitor.visitSingularEnumField(value: self.invitationStatus, fieldNumber: 6) + if !self.categoryName.isEmpty { + try visitor.visitSingularStringField(value: self.categoryName, fieldNumber: 2) } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 7) + if self.sortOrder != 0 { + try visitor.visitSingularInt32Field(value: self.sortOrder, fieldNumber: 3) } - try { if let v = self._garAccountInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListFriendsResponse.FriendSummaryProto, rhs: ListFriendsResponse.FriendSummaryProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.isCallingAppFriend != rhs.isCallingAppFriend {return false} - if lhs._callingGameData != rhs._callingGameData {return false} - if lhs._profile != rhs._profile {return false} - if lhs._playerStatus != rhs._playerStatus {return false} - if lhs.invitationStatus != rhs.invitationStatus {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs._garAccountInfo != rhs._garAccountInfo {return false} + public static func ==(lhs: ItemInventoryUpdateSettingsProto.CategoryProto, rhs: ItemInventoryUpdateSettingsProto.CategoryProto) -> Bool { + if lhs.category != rhs.category {return false} + if lhs.categoryName != rhs.categoryName {return false} + if lhs.sortOrder != rhs.sortOrder {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListFriendsResponse.PlayerStatusSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ListFriendsResponse.protoMessageName + ".PlayerStatusSummaryProto" +extension ItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "online_status"), - 3: .standard(proto: "last_played_app_key"), + 1: .standard(proto: "item_id"), + 2: .same(proto: "count"), + 3: .same(proto: "unseen"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232304,51 +243427,41 @@ extension ListFriendsResponse.PlayerStatusSummaryProto: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.onlineStatus) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.lastPlayedAppKey) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.itemID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.unseen) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.itemID != .unknown { + try visitor.visitSingularEnumField(value: self.itemID, fieldNumber: 1) } - if self.onlineStatus != .statusUnset { - try visitor.visitSingularEnumField(value: self.onlineStatus, fieldNumber: 2) + if self.count != 0 { + try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) } - if !self.lastPlayedAppKey.isEmpty { - try visitor.visitSingularStringField(value: self.lastPlayedAppKey, fieldNumber: 3) + if self.unseen != false { + try visitor.visitSingularBoolField(value: self.unseen, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListFriendsResponse.PlayerStatusSummaryProto, rhs: ListFriendsResponse.PlayerStatusSummaryProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.onlineStatus != rhs.onlineStatus {return false} - if lhs.lastPlayedAppKey != rhs.lastPlayedAppKey {return false} + public static func ==(lhs: ItemProto, rhs: ItemProto) -> Bool { + if lhs.itemID != rhs.itemID {return false} + if lhs.count != rhs.count {return false} + if lhs.unseen != rhs.unseen {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListFriendsResponse.PlayerStatusSummaryProto.PlayerStatusResult: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_STATUS_UNKNOWN"), - 4: .same(proto: "ERROR_STALE_DATA"), - ] -} - -extension ListFriendsResponse.ProfileSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ListFriendsResponse.protoMessageName + ".ProfileSummaryProto" +extension ItemRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ItemRewardProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "nickname"), + 1: .same(proto: "item"), + 2: .same(proto: "amount"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232357,87 +243470,291 @@ extension ListFriendsResponse.ProfileSummaryProto: SwiftProtobuf.Message, SwiftP // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.nickname) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.amount) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) } - if !self.nickname.isEmpty { - try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 2) + if self.amount != 0 { + try visitor.visitSingularInt32Field(value: self.amount, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListFriendsResponse.ProfileSummaryProto, rhs: ListFriendsResponse.ProfileSummaryProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.nickname != rhs.nickname {return false} + public static func ==(lhs: ItemRewardProto, rhs: ItemRewardProto) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.amount != rhs.amount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListGymBadgesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListGymBadgesOutProto" +extension ItemSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ItemSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gym_badge"), + 1: .standard(proto: "unique_id"), + 2: .standard(proto: "item_type"), + 3: .same(proto: "category"), + 4: .standard(proto: "drop_freq"), + 5: .standard(proto: "drop_trainer_level"), + 6: .same(proto: "pokeball"), + 7: .same(proto: "potion"), + 8: .same(proto: "revive"), + 9: .same(proto: "battle"), + 10: .same(proto: "food"), + 11: .standard(proto: "inventory_upgrade"), + 12: .standard(proto: "xp_boost"), + 13: .same(proto: "incense"), + 14: .standard(proto: "egg_incubator"), + 15: .standard(proto: "fort_modifier"), + 16: .standard(proto: "stardust_boost"), + 17: .standard(proto: "incident_ticket"), + 18: .standard(proto: "global_event_ticket"), + 19: .standard(proto: "ignore_inventory_space"), + 22: .standard(proto: "item_cap"), + 23: .standard(proto: "vs_effect"), + 24: .standard(proto: "name_override"), + 25: .standard(proto: "name_plural_override"), + 26: .standard(proto: "description_override"), ] - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.gymBadge) }() - default: break - } - } - } + fileprivate class _StorageClass { + var _uniqueID: Item = .unknown + var _itemType: HoloItemType = .itemTypeNone + var _category: HoloItemCategory = .itemCategoryNone + var _dropFreq: Float = 0 + var _dropTrainerLevel: Int32 = 0 + var _pokeball: PokeBallAttributesProto? = nil + var _potion: PotionAttributesProto? = nil + var _revive: ReviveAttributesProto? = nil + var _battle: BattleAttributesProto? = nil + var _food: FoodAttributesProto? = nil + var _inventoryUpgrade: InventoryUpgradeAttributesProto? = nil + var _xpBoost: ExperienceBoostAttributesProto? = nil + var _incense: IncenseAttributesProto? = nil + var _eggIncubator: EggIncubatorAttributesProto? = nil + var _fortModifier: FortModifierAttributesProto? = nil + var _stardustBoost: StardustBoostAttributesProto? = nil + var _incidentTicket: IncidentTicketAttributesProto? = nil + var _globalEventTicket: GlobalEventTicketAttributesProto? = nil + var _ignoreInventorySpace: Bool = false + var _itemCap: Int32 = 0 + var _vsEffect: [MoveModifierProto] = [] + var _nameOverride: String = String() + var _namePluralOverride: String = String() + var _descriptionOverride: String = String() - public func traverse(visitor: inout V) throws { - if !self.gymBadge.isEmpty { - try visitor.visitRepeatedMessageField(value: self.gymBadge, fieldNumber: 1) + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _uniqueID = source._uniqueID + _itemType = source._itemType + _category = source._category + _dropFreq = source._dropFreq + _dropTrainerLevel = source._dropTrainerLevel + _pokeball = source._pokeball + _potion = source._potion + _revive = source._revive + _battle = source._battle + _food = source._food + _inventoryUpgrade = source._inventoryUpgrade + _xpBoost = source._xpBoost + _incense = source._incense + _eggIncubator = source._eggIncubator + _fortModifier = source._fortModifier + _stardustBoost = source._stardustBoost + _incidentTicket = source._incidentTicket + _globalEventTicket = source._globalEventTicket + _ignoreInventorySpace = source._ignoreInventorySpace + _itemCap = source._itemCap + _vsEffect = source._vsEffect + _nameOverride = source._nameOverride + _namePluralOverride = source._namePluralOverride + _descriptionOverride = source._descriptionOverride } - try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListGymBadgesOutProto, rhs: ListGymBadgesOutProto) -> Bool { - if lhs.gymBadge != rhs.gymBadge {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage } -} - -extension ListGymBadgesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListGymBadgesProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._uniqueID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &_storage._itemType) }() + case 3: try { try decoder.decodeSingularEnumField(value: &_storage._category) }() + case 4: try { try decoder.decodeSingularFloatField(value: &_storage._dropFreq) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._dropTrainerLevel) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._pokeball) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._potion) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._revive) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._battle) }() + case 10: try { try decoder.decodeSingularMessageField(value: &_storage._food) }() + case 11: try { try decoder.decodeSingularMessageField(value: &_storage._inventoryUpgrade) }() + case 12: try { try decoder.decodeSingularMessageField(value: &_storage._xpBoost) }() + case 13: try { try decoder.decodeSingularMessageField(value: &_storage._incense) }() + case 14: try { try decoder.decodeSingularMessageField(value: &_storage._eggIncubator) }() + case 15: try { try decoder.decodeSingularMessageField(value: &_storage._fortModifier) }() + case 16: try { try decoder.decodeSingularMessageField(value: &_storage._stardustBoost) }() + case 17: try { try decoder.decodeSingularMessageField(value: &_storage._incidentTicket) }() + case 18: try { try decoder.decodeSingularMessageField(value: &_storage._globalEventTicket) }() + case 19: try { try decoder.decodeSingularBoolField(value: &_storage._ignoreInventorySpace) }() + case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._itemCap) }() + case 23: try { try decoder.decodeRepeatedMessageField(value: &_storage._vsEffect) }() + case 24: try { try decoder.decodeSingularStringField(value: &_storage._nameOverride) }() + case 25: try { try decoder.decodeSingularStringField(value: &_storage._namePluralOverride) }() + case 26: try { try decoder.decodeSingularStringField(value: &_storage._descriptionOverride) }() + default: break + } + } } } public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._uniqueID != .unknown { + try visitor.visitSingularEnumField(value: _storage._uniqueID, fieldNumber: 1) + } + if _storage._itemType != .itemTypeNone { + try visitor.visitSingularEnumField(value: _storage._itemType, fieldNumber: 2) + } + if _storage._category != .itemCategoryNone { + try visitor.visitSingularEnumField(value: _storage._category, fieldNumber: 3) + } + if _storage._dropFreq != 0 { + try visitor.visitSingularFloatField(value: _storage._dropFreq, fieldNumber: 4) + } + if _storage._dropTrainerLevel != 0 { + try visitor.visitSingularInt32Field(value: _storage._dropTrainerLevel, fieldNumber: 5) + } + try { if let v = _storage._pokeball { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() + try { if let v = _storage._potion { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() + try { if let v = _storage._revive { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + try { if let v = _storage._battle { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() + try { if let v = _storage._food { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + try { if let v = _storage._inventoryUpgrade { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + } }() + try { if let v = _storage._xpBoost { + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + } }() + try { if let v = _storage._incense { + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + } }() + try { if let v = _storage._eggIncubator { + try visitor.visitSingularMessageField(value: v, fieldNumber: 14) + } }() + try { if let v = _storage._fortModifier { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + } }() + try { if let v = _storage._stardustBoost { + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + } }() + try { if let v = _storage._incidentTicket { + try visitor.visitSingularMessageField(value: v, fieldNumber: 17) + } }() + try { if let v = _storage._globalEventTicket { + try visitor.visitSingularMessageField(value: v, fieldNumber: 18) + } }() + if _storage._ignoreInventorySpace != false { + try visitor.visitSingularBoolField(value: _storage._ignoreInventorySpace, fieldNumber: 19) + } + if _storage._itemCap != 0 { + try visitor.visitSingularInt32Field(value: _storage._itemCap, fieldNumber: 22) + } + if !_storage._vsEffect.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._vsEffect, fieldNumber: 23) + } + if !_storage._nameOverride.isEmpty { + try visitor.visitSingularStringField(value: _storage._nameOverride, fieldNumber: 24) + } + if !_storage._namePluralOverride.isEmpty { + try visitor.visitSingularStringField(value: _storage._namePluralOverride, fieldNumber: 25) + } + if !_storage._descriptionOverride.isEmpty { + try visitor.visitSingularStringField(value: _storage._descriptionOverride, fieldNumber: 26) + } + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListGymBadgesProto, rhs: ListGymBadgesProto) -> Bool { + public static func ==(lhs: ItemSettingsProto, rhs: ItemSettingsProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._uniqueID != rhs_storage._uniqueID {return false} + if _storage._itemType != rhs_storage._itemType {return false} + if _storage._category != rhs_storage._category {return false} + if _storage._dropFreq != rhs_storage._dropFreq {return false} + if _storage._dropTrainerLevel != rhs_storage._dropTrainerLevel {return false} + if _storage._pokeball != rhs_storage._pokeball {return false} + if _storage._potion != rhs_storage._potion {return false} + if _storage._revive != rhs_storage._revive {return false} + if _storage._battle != rhs_storage._battle {return false} + if _storage._food != rhs_storage._food {return false} + if _storage._inventoryUpgrade != rhs_storage._inventoryUpgrade {return false} + if _storage._xpBoost != rhs_storage._xpBoost {return false} + if _storage._incense != rhs_storage._incense {return false} + if _storage._eggIncubator != rhs_storage._eggIncubator {return false} + if _storage._fortModifier != rhs_storage._fortModifier {return false} + if _storage._stardustBoost != rhs_storage._stardustBoost {return false} + if _storage._incidentTicket != rhs_storage._incidentTicket {return false} + if _storage._globalEventTicket != rhs_storage._globalEventTicket {return false} + if _storage._ignoreInventorySpace != rhs_storage._ignoreInventorySpace {return false} + if _storage._itemCap != rhs_storage._itemCap {return false} + if _storage._vsEffect != rhs_storage._vsEffect {return false} + if _storage._nameOverride != rhs_storage._nameOverride {return false} + if _storage._namePluralOverride != rhs_storage._namePluralOverride {return false} + if _storage._descriptionOverride != rhs_storage._descriptionOverride {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListLoginActionOutProto" +extension ItemTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ItemTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "success"), - 2: .standard(proto: "login_detail"), + 1: .standard(proto: "item_use_click_id"), + 2: .standard(proto: "item_id"), + 3: .same(proto: "equipped"), + 4: .standard(proto: "from_inventory"), + 5: .standard(proto: "item_id_string"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232446,55 +243763,53 @@ extension ListLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.itemUseClickID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.itemID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.equipped) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.fromInventory) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.itemIDString) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) + if self.itemUseClickID != .undefinedItemEvent { + try visitor.visitSingularEnumField(value: self.itemUseClickID, fieldNumber: 1) } - if !self.loginDetail.isEmpty { - try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) + if self.itemID != .unknown { + try visitor.visitSingularEnumField(value: self.itemID, fieldNumber: 2) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ListLoginActionOutProto, rhs: ListLoginActionOutProto) -> Bool { - if lhs.success != rhs.success {return false} - if lhs.loginDetail != rhs.loginDetail {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ListLoginActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListLoginActionProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.equipped != false { + try visitor.visitSingularBoolField(value: self.equipped, fieldNumber: 3) + } + if self.fromInventory != false { + try visitor.visitSingularBoolField(value: self.fromInventory, fieldNumber: 4) + } + if !self.itemIDString.isEmpty { + try visitor.visitSingularStringField(value: self.itemIDString, fieldNumber: 5) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListLoginActionProto, rhs: ListLoginActionProto) -> Bool { + public static func ==(lhs: ItemTelemetry, rhs: ItemTelemetry) -> Bool { + if lhs.itemUseClickID != rhs.itemUseClickID {return false} + if lhs.itemID != rhs.itemID {return false} + if lhs.equipped != rhs.equipped {return false} + if lhs.fromInventory != rhs.fromInventory {return false} + if lhs.itemIDString != rhs.itemIDString {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListRouteBadgesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListRouteBadgesOutProto" +extension JoinBuddyMultiplayerSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinBuddyMultiplayerSessionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "route_badges"), - 2: .standard(proto: "ob_route_badges_info_data"), + 1: .same(proto: "result"), + 2: .standard(proto: "arbe_join_token"), + 3: .standard(proto: "generation_timestamp"), + 4: .standard(proto: "max_players"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232503,75 +243818,61 @@ extension ListRouteBadgesOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.routeBadges) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obRouteBadgesInfoData) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.arbeJoinToken) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.generationTimestamp) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxPlayers) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.routeBadges.isEmpty { - try visitor.visitRepeatedMessageField(value: self.routeBadges, fieldNumber: 1) + if self.result != .joinSuccess { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.obRouteBadgesInfoData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obRouteBadgesInfoData, fieldNumber: 2) + if !self.arbeJoinToken.isEmpty { + try visitor.visitSingularBytesField(value: self.arbeJoinToken, fieldNumber: 2) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ListRouteBadgesOutProto, rhs: ListRouteBadgesOutProto) -> Bool { - if lhs.routeBadges != rhs.routeBadges {return false} - if lhs.obRouteBadgesInfoData != rhs.obRouteBadgesInfoData {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ListRouteBadgesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListRouteBadgesProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.generationTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.generationTimestamp, fieldNumber: 3) + } + if self.maxPlayers != 0 { + try visitor.visitSingularInt32Field(value: self.maxPlayers, fieldNumber: 4) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ListRouteBadgesProto, rhs: ListRouteBadgesProto) -> Bool { + public static func ==(lhs: JoinBuddyMultiplayerSessionOutProto, rhs: JoinBuddyMultiplayerSessionOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.arbeJoinToken != rhs.arbeJoinToken {return false} + if lhs.generationTimestamp != rhs.generationTimestamp {return false} + if lhs.maxPlayers != rhs.maxPlayers {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ListValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ListValue" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ListValue, rhs: ListValue) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } +extension JoinBuddyMultiplayerSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "JOIN_SUCCESS"), + 1: .same(proto: "JOIN_LOBBY_FULL"), + 2: .same(proto: "JOIN_HOST_TOO_FAR"), + 3: .same(proto: "JOIN_LOBBY_NOT_FOUND"), + 4: .same(proto: "JOIN_BUDDY_NOT_SET"), + 5: .same(proto: "JOIN_BUDDY_NOT_FOUND"), + 6: .same(proto: "JOIN_BAD_BUDDY"), + 7: .same(proto: "JOIN_BUDDY_V2_NOT_ENABLED"), + 8: .same(proto: "JOIN_PLAYER_LEVEL_TOO_LOW"), + 9: .same(proto: "JOIN_UNKNOWN_ERROR"), + 10: .same(proto: "JOIN_U13_NO_PERMISSION"), + ] } -extension LoadingScreenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoadingScreenProto" +extension JoinBuddyMultiplayerSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinBuddyMultiplayerSessionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "url"), - 2: .standard(proto: "display_after_timestamp_ms"), - 3: .standard(proto: "color_settings"), + 1: .standard(proto: "plfe_session_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232580,40 +243881,32 @@ extension LoadingScreenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.url) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.displayAfterTimestampMs) }() - case 3: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.colorSettings) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.plfeSessionID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.url.isEmpty { - try visitor.visitSingularStringField(value: self.url, fieldNumber: 1) - } - if self.displayAfterTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.displayAfterTimestampMs, fieldNumber: 2) - } - if !self.colorSettings.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.colorSettings, fieldNumber: 3) + if !self.plfeSessionID.isEmpty { + try visitor.visitSingularStringField(value: self.plfeSessionID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoadingScreenProto, rhs: LoadingScreenProto) -> Bool { - if lhs.url != rhs.url {return false} - if lhs.displayAfterTimestampMs != rhs.displayAfterTimestampMs {return false} - if lhs.colorSettings != rhs.colorSettings {return false} + public static func ==(lhs: JoinBuddyMultiplayerSessionProto, rhs: JoinBuddyMultiplayerSessionProto) -> Bool { + if lhs.plfeSessionID != rhs.plfeSessionID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LobbyAvailabilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LobbyAvailabilityProto" +extension JoinLobbyData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinLobbyData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "available"), + 1: .same(proto: "private"), + 2: .standard(proto: "use_remote_pass"), + 3: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232622,30 +243915,41 @@ extension LobbyAvailabilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.available) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.`private`) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.useRemotePass) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.available != false { - try visitor.visitSingularBoolField(value: self.available, fieldNumber: 1) + if self.`private` != false { + try visitor.visitSingularBoolField(value: self.`private`, fieldNumber: 1) + } + if self.useRemotePass != false { + try visitor.visitSingularBoolField(value: self.useRemotePass, fieldNumber: 2) + } + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LobbyAvailabilityProto, rhs: LobbyAvailabilityProto) -> Bool { - if lhs.available != rhs.available {return false} + public static func ==(lhs: JoinLobbyData, rhs: JoinLobbyData) -> Bool { + if lhs.`private` != rhs.`private` {return false} + if lhs.useRemotePass != rhs.useRemotePass {return false} + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LobbyClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LobbyClientSettingsProto" +extension JoinLobbyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinLobbyOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "lobby_refresh_interval_ms"), + 1: .same(proto: "result"), + 2: .same(proto: "lobby"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232654,33 +243958,70 @@ extension LobbyClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.lobbyRefreshIntervalMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._lobby) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.lobbyRefreshIntervalMs != 0 { - try visitor.visitSingularInt64Field(value: self.lobbyRefreshIntervalMs, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._lobby { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LobbyClientSettingsProto, rhs: LobbyClientSettingsProto) -> Bool { - if lhs.lobbyRefreshIntervalMs != rhs.lobbyRefreshIntervalMs {return false} + public static func ==(lhs: JoinLobbyOutProto, rhs: JoinLobbyOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._lobby != rhs._lobby {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LobbyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LobbyPokemonProto" +extension JoinLobbyOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_NOT_IN_RANGE"), + 3: .same(proto: "ERROR_RAID_UNAVAILABLE"), + 4: .same(proto: "ERROR_RAID_COMPLETED"), + 5: .same(proto: "ERROR_NO_AVAILABLE_LOBBIES"), + 6: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), + 7: .same(proto: "ERROR_POI_INACCESSIBLE"), + 8: .same(proto: "ERROR_GYM_LOCKOUT"), + 9: .same(proto: "ERROR_NO_TICKET"), + 10: .same(proto: "ERROR_NO_REMOTE_TICKET"), + 11: .same(proto: "ERROR_NO_INVITE"), + 12: .same(proto: "ERROR_NO_REMOTE_SLOTS_REMAINING"), + 13: .same(proto: "ERROR_LOBBY_FULL"), + 14: .same(proto: "ERROR_LOBBY_EXPIRED"), + 15: .same(proto: "ERROR_DATA"), + 16: .same(proto: "ERROR_MAX_LOBBIES_REACHED"), + ] +} + +extension JoinLobbyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinLobbyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .standard(proto: "pokedex_id"), - 3: .same(proto: "cp"), - 4: .standard(proto: "percent_health"), + 1: .standard(proto: "raid_seed"), + 2: .standard(proto: "gym_id"), + 3: .standard(proto: "lobby_id"), + 4: .same(proto: "private"), + 5: .standard(proto: "player_lat_degrees"), + 6: .standard(proto: "player_lng_degrees"), + 7: .standard(proto: "gym_lat_degrees"), + 8: .standard(proto: "gym_lng_degrees"), + 9: .standard(proto: "use_remote_pass"), + 10: .standard(proto: "inviter_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232689,58 +244030,88 @@ extension LobbyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.id) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.cp) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.percentHealth) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.`private`) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + case 7: try { try decoder.decodeSingularDoubleField(value: &self.gymLatDegrees) }() + case 8: try { try decoder.decodeSingularDoubleField(value: &self.gymLngDegrees) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.useRemotePass) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.inviterID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.id != 0 { - try visitor.visitSingularInt64Field(value: self.id, fieldNumber: 1) + if self.raidSeed != 0 { + try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 1) } - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 2) + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 2) } - if self.cp != 0 { - try visitor.visitSingularInt32Field(value: self.cp, fieldNumber: 3) + if !self.lobbyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 3) } - if self.percentHealth != 0 { - try visitor.visitSingularFloatField(value: self.percentHealth, fieldNumber: 4) + if self.`private` != false { + try visitor.visitSingularBoolField(value: self.`private`, fieldNumber: 4) + } + if self.playerLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 5) + } + if self.playerLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 6) + } + if self.gymLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.gymLatDegrees, fieldNumber: 7) + } + if self.gymLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.gymLngDegrees, fieldNumber: 8) + } + if self.useRemotePass != false { + try visitor.visitSingularBoolField(value: self.useRemotePass, fieldNumber: 9) + } + if !self.inviterID.isEmpty { + try visitor.visitSingularStringField(value: self.inviterID, fieldNumber: 10) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LobbyPokemonProto, rhs: LobbyPokemonProto) -> Bool { - if lhs.id != rhs.id {return false} - if lhs.pokedexID != rhs.pokedexID {return false} - if lhs.cp != rhs.cp {return false} - if lhs.percentHealth != rhs.percentHealth {return false} + public static func ==(lhs: JoinLobbyProto, rhs: JoinLobbyProto) -> Bool { + if lhs.raidSeed != rhs.raidSeed {return false} + if lhs.gymID != rhs.gymID {return false} + if lhs.lobbyID != rhs.lobbyID {return false} + if lhs.`private` != rhs.`private` {return false} + if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} + if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + if lhs.gymLatDegrees != rhs.gymLatDegrees {return false} + if lhs.gymLngDegrees != rhs.gymLngDegrees {return false} + if lhs.useRemotePass != rhs.useRemotePass {return false} + if lhs.inviterID != rhs.inviterID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LobbyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LobbyProto" +extension JoinLobbyResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinLobbyResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "lobby_id"), - 2: .same(proto: "players"), - 3: .standard(proto: "player_join_end_ms"), - 4: .standard(proto: "pokemon_selection_end_ms"), - 5: .standard(proto: "raid_battle_start_ms"), - 6: .standard(proto: "raid_battle_end_ms"), + 1: .same(proto: "result"), + 2: .standard(proto: "lobby_id"), + 3: .standard(proto: "player_count"), + 4: .standard(proto: "player_join_end_offset_ms"), + 5: .standard(proto: "pokemon_selection_end_offset_ms"), + 6: .standard(proto: "raid_battle_start_offset_ms"), + 7: .standard(proto: "raid_battle_end_offset_ms"), 8: .standard(proto: "raid_battle_id"), - 9: .standard(proto: "owner_nickname"), - 10: .same(proto: "private"), - 11: .standard(proto: "creation_ms"), - 12: .standard(proto: "battle_plfe_instance"), - 13: .standard(proto: "weather_condition"), - 14: .standard(proto: "invited_player_ids"), - 15: .standard(proto: "ob_bool"), + 9: .same(proto: "private"), + 10: .standard(proto: "creation_offset_ms"), + 11: .standard(proto: "battle_plfe_instance"), + 12: .standard(proto: "weather_condition"), + 13: .standard(proto: "rpc_id"), + 14: .standard(proto: "round_trip_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232749,95 +244120,96 @@ extension LobbyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.players) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.playerJoinEndMs) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.pokemonSelectionEndMs) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.raidBattleStartMs) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.raidBattleEndMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.playerCount) }() + case 4: try { try decoder.decodeSingularUInt32Field(value: &self.playerJoinEndOffsetMs) }() + case 5: try { try decoder.decodeSingularUInt32Field(value: &self.pokemonSelectionEndOffsetMs) }() + case 6: try { try decoder.decodeSingularUInt32Field(value: &self.raidBattleStartOffsetMs) }() + case 7: try { try decoder.decodeSingularUInt32Field(value: &self.raidBattleEndOffsetMs) }() case 8: try { try decoder.decodeSingularStringField(value: &self.raidBattleID) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.ownerNickname) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.`private`) }() - case 11: try { try decoder.decodeSingularInt64Field(value: &self.creationMs) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &self.battlePlfeInstance) }() - case 13: try { try decoder.decodeSingularEnumField(value: &self.weatherCondition) }() - case 14: try { try decoder.decodeRepeatedStringField(value: &self.invitedPlayerIds) }() - case 15: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.`private`) }() + case 10: try { try decoder.decodeSingularUInt32Field(value: &self.creationOffsetMs) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &self.battlePlfeInstance) }() + case 12: try { try decoder.decodeSingularEnumField(value: &self.weatherCondition) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 14: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } if !self.lobbyID.isEmpty { - try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 1) + try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 2) } - if !self.players.isEmpty { - try visitor.visitRepeatedMessageField(value: self.players, fieldNumber: 2) + if self.playerCount != 0 { + try visitor.visitSingularInt32Field(value: self.playerCount, fieldNumber: 3) } - if self.playerJoinEndMs != 0 { - try visitor.visitSingularInt64Field(value: self.playerJoinEndMs, fieldNumber: 3) + if self.playerJoinEndOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.playerJoinEndOffsetMs, fieldNumber: 4) } - if self.pokemonSelectionEndMs != 0 { - try visitor.visitSingularInt64Field(value: self.pokemonSelectionEndMs, fieldNumber: 4) + if self.pokemonSelectionEndOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.pokemonSelectionEndOffsetMs, fieldNumber: 5) } - if self.raidBattleStartMs != 0 { - try visitor.visitSingularInt64Field(value: self.raidBattleStartMs, fieldNumber: 5) + if self.raidBattleStartOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.raidBattleStartOffsetMs, fieldNumber: 6) } - if self.raidBattleEndMs != 0 { - try visitor.visitSingularInt64Field(value: self.raidBattleEndMs, fieldNumber: 6) + if self.raidBattleEndOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.raidBattleEndOffsetMs, fieldNumber: 7) } if !self.raidBattleID.isEmpty { try visitor.visitSingularStringField(value: self.raidBattleID, fieldNumber: 8) } - if !self.ownerNickname.isEmpty { - try visitor.visitSingularStringField(value: self.ownerNickname, fieldNumber: 9) - } if self.`private` != false { - try visitor.visitSingularBoolField(value: self.`private`, fieldNumber: 10) + try visitor.visitSingularBoolField(value: self.`private`, fieldNumber: 9) } - if self.creationMs != 0 { - try visitor.visitSingularInt64Field(value: self.creationMs, fieldNumber: 11) + if self.creationOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.creationOffsetMs, fieldNumber: 10) } if self.battlePlfeInstance != 0 { - try visitor.visitSingularInt32Field(value: self.battlePlfeInstance, fieldNumber: 12) + try visitor.visitSingularInt32Field(value: self.battlePlfeInstance, fieldNumber: 11) } if self.weatherCondition != .none { - try visitor.visitSingularEnumField(value: self.weatherCondition, fieldNumber: 13) + try visitor.visitSingularEnumField(value: self.weatherCondition, fieldNumber: 12) } - if !self.invitedPlayerIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.invitedPlayerIds, fieldNumber: 14) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 13) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 15) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 14) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LobbyProto, rhs: LobbyProto) -> Bool { + public static func ==(lhs: JoinLobbyResponseData, rhs: JoinLobbyResponseData) -> Bool { + if lhs.result != rhs.result {return false} if lhs.lobbyID != rhs.lobbyID {return false} - if lhs.players != rhs.players {return false} - if lhs.playerJoinEndMs != rhs.playerJoinEndMs {return false} - if lhs.pokemonSelectionEndMs != rhs.pokemonSelectionEndMs {return false} - if lhs.raidBattleStartMs != rhs.raidBattleStartMs {return false} - if lhs.raidBattleEndMs != rhs.raidBattleEndMs {return false} + if lhs.playerCount != rhs.playerCount {return false} + if lhs.playerJoinEndOffsetMs != rhs.playerJoinEndOffsetMs {return false} + if lhs.pokemonSelectionEndOffsetMs != rhs.pokemonSelectionEndOffsetMs {return false} + if lhs.raidBattleStartOffsetMs != rhs.raidBattleStartOffsetMs {return false} + if lhs.raidBattleEndOffsetMs != rhs.raidBattleEndOffsetMs {return false} if lhs.raidBattleID != rhs.raidBattleID {return false} - if lhs.ownerNickname != rhs.ownerNickname {return false} if lhs.`private` != rhs.`private` {return false} - if lhs.creationMs != rhs.creationMs {return false} + if lhs.creationOffsetMs != rhs.creationOffsetMs {return false} if lhs.battlePlfeInstance != rhs.battlePlfeInstance {return false} if lhs.weatherCondition != rhs.weatherCondition {return false} - if lhs.invitedPlayerIds != rhs.invitedPlayerIds {return false} - if lhs.obBool != rhs.obBool {return false} + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LobbyVisibilityDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LobbyVisibilityDataProto" +extension JoinPartyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinPartyOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .same(proto: "party"), + 2: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232846,74 +244218,64 @@ extension LobbyVisibilityDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._party) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._party { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LobbyVisibilityDataProto, rhs: LobbyVisibilityDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: JoinPartyOutProto, rhs: JoinPartyOutProto) -> Bool { + if lhs._party != rhs._party {return false} + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LobbyVisibilityResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LobbyVisibilityResponseDataProto" +extension JoinPartyOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "ob_uint32"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), + 4: .same(proto: "ERROR_FEATURE_DISABLED"), + 5: .same(proto: "ERROR_ALREADY_IN_PARTY"), + 6: .same(proto: "ERROR_NO_SUCH_PARTY"), + 7: .same(proto: "ERROR_PARTY_IS_FULL"), + 8: .same(proto: "ERROR_NOT_IN_RANGE"), + 9: .same(proto: "ERROR_PARTY_DARK_LAUNCH_QUEUE_EMPTY"), + 10: .same(proto: "ERROR_DARK_LAUNCH_NOT_ENABLED_FOR_PLAYER"), + 11: .same(proto: "ERROR_REDIS_EXCEPTION"), + 12: .same(proto: "ERROR_U13_NO_PERMISSION"), + 13: .same(proto: "ERROR_U13_NOT_FRIENDS_WITH_HOST"), + 14: .same(proto: "ERROR_PARTY_TIMED_OUT"), + 15: .same(proto: "ERROR_NO_LOCATION"), + 16: .same(proto: "ERROR_PLFE_REDIRECT_NEEDED"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: LobbyVisibilityResponseDataProto, rhs: LobbyVisibilityResponseDataProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension LocationCardDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LocationCardDisplayProto" +extension JoinPartyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinPartyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "location_card"), + 1: .standard(proto: "party_id"), + 2: .standard(proto: "inviting_player_id"), + 3: .same(proto: "id"), + 4: .standard(proto: "is_dark_launch_request"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232922,30 +244284,47 @@ extension LocationCardDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.locationCard) }() + case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.partyID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.invitingPlayerID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.id) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isDarkLaunchRequest) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.locationCard != .unset { - try visitor.visitSingularEnumField(value: self.locationCard, fieldNumber: 1) + if !self.partyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.partyID, fieldNumber: 1) + } + if !self.invitingPlayerID.isEmpty { + try visitor.visitSingularStringField(value: self.invitingPlayerID, fieldNumber: 2) + } + if self.id != 0 { + try visitor.visitSingularInt64Field(value: self.id, fieldNumber: 3) + } + if self.isDarkLaunchRequest != false { + try visitor.visitSingularBoolField(value: self.isDarkLaunchRequest, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationCardDisplayProto, rhs: LocationCardDisplayProto) -> Bool { - if lhs.locationCard != rhs.locationCard {return false} + public static func ==(lhs: JoinPartyProto, rhs: JoinPartyProto) -> Bool { + if lhs.partyID != rhs.partyID {return false} + if lhs.invitingPlayerID != rhs.invitingPlayerID {return false} + if lhs.id != rhs.id {return false} + if lhs.isDarkLaunchRequest != rhs.isDarkLaunchRequest {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationCardFeatureSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LocationCardFeatureSettingsProto" +extension JoinedPlayerObfuscationEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinedPlayerObfuscationEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 1: .standard(proto: "participant_player_id"), + 3: .standard(proto: "joined_player_id_player_obfuscated"), + 4: .standard(proto: "joined_nia_account_id_player_obfuscated"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232954,31 +244333,41 @@ extension LocationCardFeatureSettingsProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.participantPlayerID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.joinedPlayerIDPlayerObfuscated) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.joinedNiaAccountIDPlayerObfuscated) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if !self.participantPlayerID.isEmpty { + try visitor.visitSingularStringField(value: self.participantPlayerID, fieldNumber: 1) + } + if !self.joinedPlayerIDPlayerObfuscated.isEmpty { + try visitor.visitSingularStringField(value: self.joinedPlayerIDPlayerObfuscated, fieldNumber: 3) + } + if !self.joinedNiaAccountIDPlayerObfuscated.isEmpty { + try visitor.visitSingularStringField(value: self.joinedNiaAccountIDPlayerObfuscated, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationCardFeatureSettingsProto, rhs: LocationCardFeatureSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: JoinedPlayerObfuscationEntryProto, rhs: JoinedPlayerObfuscationEntryProto) -> Bool { + if lhs.participantPlayerID != rhs.participantPlayerID {return false} + if lhs.joinedPlayerIDPlayerObfuscated != rhs.joinedPlayerIDPlayerObfuscated {return false} + if lhs.joinedNiaAccountIDPlayerObfuscated != rhs.joinedNiaAccountIDPlayerObfuscated {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationCardSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LocationCardSettingsProto" +extension JoinedPlayerObfuscationMapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JoinedPlayerObfuscationMapProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "location_card"), - 2: .standard(proto: "image_url"), + 1: .standard(proto: "joined_player_id"), + 2: .standard(proto: "obfuscation_entries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -232987,39 +244376,36 @@ extension LocationCardSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.locationCard) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.joinedPlayerID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obfuscationEntries) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.locationCard != .unset { - try visitor.visitSingularEnumField(value: self.locationCard, fieldNumber: 1) + if !self.joinedPlayerID.isEmpty { + try visitor.visitSingularStringField(value: self.joinedPlayerID, fieldNumber: 1) } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 2) + if !self.obfuscationEntries.isEmpty { + try visitor.visitRepeatedMessageField(value: self.obfuscationEntries, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationCardSettingsProto, rhs: LocationCardSettingsProto) -> Bool { - if lhs.locationCard != rhs.locationCard {return false} - if lhs.imageURL != rhs.imageURL {return false} + public static func ==(lhs: JoinedPlayerObfuscationMapProto, rhs: JoinedPlayerObfuscationMapProto) -> Bool { + if lhs.joinedPlayerID != rhs.joinedPlayerID {return false} + if lhs.obfuscationEntries != rhs.obfuscationEntries {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LocationData" +extension JournalAddEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JournalAddEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "format"), - 2: .standard(proto: "bounding_box"), - 3: .standard(proto: "relative_bounding_box"), - 4: .same(proto: "mask"), - 5: .standard(proto: "relative_keypoints"), + 1: .standard(proto: "hashed_key"), + 2: .standard(proto: "entry_size"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233028,11 +244414,8 @@ extension LocationData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self._format) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._boundingBox) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._relativeBoundingBox) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._mask) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.relativeKeypoints) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._hashedKey) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.entrySize) }() default: break } } @@ -233043,51 +244426,29 @@ extension LocationData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._format { - try visitor.visitSingularEnumField(value: v, fieldNumber: 1) - } }() - try { if let v = self._boundingBox { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._relativeBoundingBox { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._mask { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + try { if let v = self._hashedKey { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if !self.relativeKeypoints.isEmpty { - try visitor.visitRepeatedMessageField(value: self.relativeKeypoints, fieldNumber: 5) + if self.entrySize != 0 { + try visitor.visitSingularInt64Field(value: self.entrySize, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationData, rhs: LocationData) -> Bool { - if lhs._format != rhs._format {return false} - if lhs._boundingBox != rhs._boundingBox {return false} - if lhs._relativeBoundingBox != rhs._relativeBoundingBox {return false} - if lhs._mask != rhs._mask {return false} - if lhs.relativeKeypoints != rhs.relativeKeypoints {return false} + public static func ==(lhs: JournalAddEntryProto, rhs: JournalAddEntryProto) -> Bool { + if lhs._hashedKey != rhs._hashedKey {return false} + if lhs.entrySize != rhs.entrySize {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationData.Format: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "GLOBAL"), - 1: .same(proto: "BOUNDING_BOX"), - 2: .same(proto: "RELATIVE_BOUNDING_BOX"), - 3: .same(proto: "MASK"), - ] -} - -extension LocationData.BoundingBox: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = LocationData.protoMessageName + ".BoundingBox" +extension JournalEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JournalEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "xmin"), - 2: .same(proto: "ymin"), - 3: .same(proto: "width"), - 4: .same(proto: "height"), + 1: .standard(proto: "add_entry"), + 2: .standard(proto: "read_entry"), + 3: .standard(proto: "remove_entry"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233096,10 +244457,45 @@ extension LocationData.BoundingBox: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self._xmin) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self._ymin) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self._width) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self._height) }() + case 1: try { + var v: JournalAddEntryProto? + var hadOneofValue = false + if let current = self.subentry { + hadOneofValue = true + if case .addEntry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.subentry = .addEntry(v) + } + }() + case 2: try { + var v: JournalReadEntryProto? + var hadOneofValue = false + if let current = self.subentry { + hadOneofValue = true + if case .readEntry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.subentry = .readEntry(v) + } + }() + case 3: try { + var v: JournalRemoveEntryProto? + var hadOneofValue = false + if let current = self.subentry { + hadOneofValue = true + if case .removeEntry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.subentry = .removeEntry(v) + } + }() default: break } } @@ -233110,38 +244506,35 @@ extension LocationData.BoundingBox: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._xmin { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 1) - } }() - try { if let v = self._ymin { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 2) - } }() - try { if let v = self._width { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 3) - } }() - try { if let v = self._height { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 4) - } }() + switch self.subentry { + case .addEntry?: try { + guard case .addEntry(let v)? = self.subentry else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .readEntry?: try { + guard case .readEntry(let v)? = self.subentry else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .removeEntry?: try { + guard case .removeEntry(let v)? = self.subentry else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case nil: break + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationData.BoundingBox, rhs: LocationData.BoundingBox) -> Bool { - if lhs._xmin != rhs._xmin {return false} - if lhs._ymin != rhs._ymin {return false} - if lhs._width != rhs._width {return false} - if lhs._height != rhs._height {return false} + public static func ==(lhs: JournalEntryProto, rhs: JournalEntryProto) -> Bool { + if lhs.subentry != rhs.subentry {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationData.RelativeBoundingBox: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = LocationData.protoMessageName + ".RelativeBoundingBox" +extension JournalReadEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JournalReadEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "xmin"), - 2: .same(proto: "ymin"), - 3: .same(proto: "width"), - 4: .same(proto: "height"), + 1: .standard(proto: "hashed_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233150,10 +244543,7 @@ extension LocationData.RelativeBoundingBox: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self._xmin) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self._ymin) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self._width) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self._height) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._hashedKey) }() default: break } } @@ -233164,37 +244554,23 @@ extension LocationData.RelativeBoundingBox: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._xmin { - try visitor.visitSingularFloatField(value: v, fieldNumber: 1) - } }() - try { if let v = self._ymin { - try visitor.visitSingularFloatField(value: v, fieldNumber: 2) - } }() - try { if let v = self._width { - try visitor.visitSingularFloatField(value: v, fieldNumber: 3) - } }() - try { if let v = self._height { - try visitor.visitSingularFloatField(value: v, fieldNumber: 4) + try { if let v = self._hashedKey { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationData.RelativeBoundingBox, rhs: LocationData.RelativeBoundingBox) -> Bool { - if lhs._xmin != rhs._xmin {return false} - if lhs._ymin != rhs._ymin {return false} - if lhs._width != rhs._width {return false} - if lhs._height != rhs._height {return false} + public static func ==(lhs: JournalReadEntryProto, rhs: JournalReadEntryProto) -> Bool { + if lhs._hashedKey != rhs._hashedKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationData.BinaryMask: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = LocationData.protoMessageName + ".BinaryMask" +extension JournalRemoveEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JournalRemoveEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "width"), - 2: .same(proto: "height"), - 3: .same(proto: "rasterization"), + 1: .standard(proto: "hashed_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233203,9 +244579,7 @@ extension LocationData.BinaryMask: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self._width) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self._height) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._rasterization) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._hashedKey) }() default: break } } @@ -233216,34 +244590,23 @@ extension LocationData.BinaryMask: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._width { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 1) - } }() - try { if let v = self._height { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 2) - } }() - try { if let v = self._rasterization { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + try { if let v = self._hashedKey { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationData.BinaryMask, rhs: LocationData.BinaryMask) -> Bool { - if lhs._width != rhs._width {return false} - if lhs._height != rhs._height {return false} - if lhs._rasterization != rhs._rasterization {return false} + public static func ==(lhs: JournalRemoveEntryProto, rhs: JournalRemoveEntryProto) -> Bool { + if lhs._hashedKey != rhs._hashedKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationData.RelativeKeypoint: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = LocationData.protoMessageName + ".RelativeKeypoint" +extension JournalVersionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".JournalVersionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "x"), - 2: .same(proto: "y"), - 3: .standard(proto: "keypoint_label"), - 4: .same(proto: "score"), + 1: .same(proto: "version"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233252,50 +244615,30 @@ extension LocationData.RelativeKeypoint: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self._x) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self._y) }() - case 3: try { try decoder.decodeSingularStringField(value: &self._keypointLabel) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self._score) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.version) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._x { - try visitor.visitSingularFloatField(value: v, fieldNumber: 1) - } }() - try { if let v = self._y { - try visitor.visitSingularFloatField(value: v, fieldNumber: 2) - } }() - try { if let v = self._keypointLabel { - try visitor.visitSingularStringField(value: v, fieldNumber: 3) - } }() - try { if let v = self._score { - try visitor.visitSingularFloatField(value: v, fieldNumber: 4) - } }() + if self.version != 0 { + try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationData.RelativeKeypoint, rhs: LocationData.RelativeKeypoint) -> Bool { - if lhs._x != rhs._x {return false} - if lhs._y != rhs._y {return false} - if lhs._keypointLabel != rhs._keypointLabel {return false} - if lhs._score != rhs._score {return false} + public static func ==(lhs: JournalVersionProto, rhs: JournalVersionProto) -> Bool { + if lhs.version != rhs.version {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationE6Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LocationE6Proto" +extension KangarooSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".KangarooSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "latitude_e6"), - 2: .standard(proto: "longitude_e6"), + 1: .standard(proto: "enable_kangaroo_v2"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233304,55 +244647,33 @@ extension LocationE6Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.latitudeE6) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.longitudeE6) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableKangarooV2) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.latitudeE6 != 0 { - try visitor.visitSingularInt32Field(value: self.latitudeE6, fieldNumber: 1) - } - if self.longitudeE6 != 0 { - try visitor.visitSingularInt32Field(value: self.longitudeE6, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: LocationE6Proto, rhs: LocationE6Proto) -> Bool { - if lhs.latitudeE6 != rhs.latitudeE6 {return false} - if lhs.longitudeE6 != rhs.longitudeE6 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension LocationPingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LocationPingOutProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.enableKangarooV2 != false { + try visitor.visitSingularBoolField(value: self.enableKangarooV2, fieldNumber: 1) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationPingOutProto, rhs: LocationPingOutProto) -> Bool { + public static func ==(lhs: KangarooSettingsProto, rhs: KangarooSettingsProto) -> Bool { + if lhs.enableKangarooV2 != rhs.enableKangarooV2 {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationPingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LocationPingProto" +extension KoalaSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".KoalaSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "geofence_identifier"), - 2: .same(proto: "reason"), + 1: .standard(proto: "app_id"), + 2: .standard(proto: "use_sandbox"), + 3: .standard(proto: "use_koala"), + 4: .standard(proto: "use_adjust"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233361,48 +244682,48 @@ extension LocationPingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.geofenceIdentifier) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.reason) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.appID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.useSandbox) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.useKoala) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.useAdjust) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.geofenceIdentifier.isEmpty { - try visitor.visitSingularStringField(value: self.geofenceIdentifier, fieldNumber: 1) + if !self.appID.isEmpty { + try visitor.visitSingularStringField(value: self.appID, fieldNumber: 1) } - if self.reason != .unset { - try visitor.visitSingularEnumField(value: self.reason, fieldNumber: 2) + if self.useSandbox != false { + try visitor.visitSingularBoolField(value: self.useSandbox, fieldNumber: 2) + } + if self.useKoala != false { + try visitor.visitSingularBoolField(value: self.useKoala, fieldNumber: 3) + } + if self.useAdjust != false { + try visitor.visitSingularBoolField(value: self.useAdjust, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LocationPingProto, rhs: LocationPingProto) -> Bool { - if lhs.geofenceIdentifier != rhs.geofenceIdentifier {return false} - if lhs.reason != rhs.reason {return false} + public static func ==(lhs: KoalaSettingsProto, rhs: KoalaSettingsProto) -> Bool { + if lhs.appID != rhs.appID {return false} + if lhs.useSandbox != rhs.useSandbox {return false} + if lhs.useKoala != rhs.useKoala {return false} + if lhs.useAdjust != rhs.useAdjust {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LocationPingProto.PingReason: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ENTRANCE_EVENT"), - 2: .same(proto: "EXIT_EVENT"), - 3: .same(proto: "DWELL_EVENT"), - 4: .same(proto: "VISIT_EVENT"), - 5: .same(proto: "FITNESS_WAKEUP"), - 6: .same(proto: "OTHER_WAKEUP"), - ] -} - -extension LogEventDropped: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LogEventDropped" +extension Label: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Label" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "events_dropped_count"), - 3: .same(proto: "reason"), + 1: .standard(proto: "min_zoom"), + 2: .standard(proto: "max_zoom"), + 3: .same(proto: "priority"), + 4: .same(proto: "localizations"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233411,50 +244732,46 @@ extension LogEventDropped: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.eventsDroppedCount) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.reason) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minZoom) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxZoom) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.priority) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.localizations) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.eventsDroppedCount != 0 { - try visitor.visitSingularInt64Field(value: self.eventsDroppedCount, fieldNumber: 1) + if self.minZoom != 0 { + try visitor.visitSingularInt32Field(value: self.minZoom, fieldNumber: 1) } - if self.reason != .unknown { - try visitor.visitSingularEnumField(value: self.reason, fieldNumber: 3) + if self.maxZoom != 0 { + try visitor.visitSingularInt32Field(value: self.maxZoom, fieldNumber: 2) + } + if self.priority != 0 { + try visitor.visitSingularInt32Field(value: self.priority, fieldNumber: 3) + } + if !self.localizations.isEmpty { + try visitor.visitRepeatedMessageField(value: self.localizations, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LogEventDropped, rhs: LogEventDropped) -> Bool { - if lhs.eventsDroppedCount != rhs.eventsDroppedCount {return false} - if lhs.reason != rhs.reason {return false} + public static func ==(lhs: Label, rhs: Label) -> Bool { + if lhs.minZoom != rhs.minZoom {return false} + if lhs.maxZoom != rhs.maxZoom {return false} + if lhs.priority != rhs.priority {return false} + if lhs.localizations != rhs.localizations {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LogEventDropped.Reason: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "REASON_UNKNOWN"), - 1: .same(proto: "MESSAGE_TOO_OLD"), - 2: .same(proto: "CACHE_FULL"), - 3: .same(proto: "PAYLOAD_TOO_BIG"), - 4: .same(proto: "MAX_RETRIES_REACHED"), - 5: .same(proto: "INVALID_PAYLOD"), - 6: .same(proto: "SERVER_ERROR"), - ] -} - -extension LogMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LogMessage" +extension LabelContentLocalization: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LabelContentLocalization" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "timestamp_ms"), - 2: .standard(proto: "log_level"), - 3: .standard(proto: "log_channel"), - 4: .same(proto: "message"), + 1: .same(proto: "language"), + 2: .same(proto: "name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233463,59 +244780,35 @@ extension LogMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.logLevel) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.logChannel) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.message) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.language) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) - } - if self.logLevel != .unset { - try visitor.visitSingularEnumField(value: self.logLevel, fieldNumber: 2) - } - if !self.logChannel.isEmpty { - try visitor.visitSingularStringField(value: self.logChannel, fieldNumber: 3) + if !self.language.isEmpty { + try visitor.visitSingularStringField(value: self.language, fieldNumber: 1) } - if !self.message.isEmpty { - try visitor.visitSingularStringField(value: self.message, fieldNumber: 4) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LogMessage, rhs: LogMessage) -> Bool { - if lhs.timestampMs != rhs.timestampMs {return false} - if lhs.logLevel != rhs.logLevel {return false} - if lhs.logChannel != rhs.logChannel {return false} - if lhs.message != rhs.message {return false} + public static func ==(lhs: LabelContentLocalization, rhs: LabelContentLocalization) -> Bool { + if lhs.language != rhs.language {return false} + if lhs.name != rhs.name {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LogMessage.LogLevel: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "FATAL"), - 2: .same(proto: "ERROR"), - 3: .same(proto: "WARNING"), - 4: .same(proto: "INFO"), - 5: .same(proto: "VERBOSE"), - 6: .same(proto: "TRACE"), - 7: .same(proto: "DISABLED"), - ] -} - -extension LogReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LogReportData" +extension LanguageBundleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LanguageBundleProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "text_content"), - 2: .standard(proto: "image_content"), + 1: .standard(proto: "bundle_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233524,68 +244817,30 @@ extension LogReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: MessageLogReportData? - var hadOneofValue = false - if let current = self.contentType { - hadOneofValue = true - if case .textContent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contentType = .textContent(v) - } - }() - case 2: try { - var v: ImageLogReportData? - var hadOneofValue = false - if let current = self.contentType { - hadOneofValue = true - if case .imageContent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contentType = .imageContent(v) - } - }() + case 1: try { try decoder.decodeSingularStringField(value: &self.bundleName) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.contentType { - case .textContent?: try { - guard case .textContent(let v)? = self.contentType else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .imageContent?: try { - guard case .imageContent(let v)? = self.contentType else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case nil: break + if !self.bundleName.isEmpty { + try visitor.visitSingularStringField(value: self.bundleName, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LogReportData, rhs: LogReportData) -> Bool { - if lhs.contentType != rhs.contentType {return false} + public static func ==(lhs: LanguageBundleProto, rhs: LanguageBundleProto) -> Bool { + if lhs.bundleName != rhs.bundleName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LogSourceMetrics: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LogSourceMetrics" +extension LanguageSelectorSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LanguageSelectorSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "log_source"), - 2: .standard(proto: "log_event_dropped"), + 1: .standard(proto: "language_selector_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233594,41 +244849,32 @@ extension LogSourceMetrics: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.logSource) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.logEventDropped) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.languageSelectorEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.logSource.isEmpty { - try visitor.visitSingularStringField(value: self.logSource, fieldNumber: 1) - } - if !self.logEventDropped.isEmpty { - try visitor.visitRepeatedMessageField(value: self.logEventDropped, fieldNumber: 2) + if self.languageSelectorEnabled != false { + try visitor.visitSingularBoolField(value: self.languageSelectorEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LogSourceMetrics, rhs: LogSourceMetrics) -> Bool { - if lhs.logSource != rhs.logSource {return false} - if lhs.logEventDropped != rhs.logEventDropped {return false} + public static func ==(lhs: LanguageSelectorSettingsProto, rhs: LanguageSelectorSettingsProto) -> Bool { + if lhs.languageSelectorEnabled != rhs.languageSelectorEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LoginActionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoginActionTelemetry" +extension LanguageSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LanguageSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "login_action_id"), - 2: .standard(proto: "first_time"), - 3: .same(proto: "success"), - 4: .standard(proto: "intent_existing"), - 5: .same(proto: "error"), - 6: .standard(proto: "auth_status"), - 7: .standard(proto: "selection_time"), + 1: .same(proto: "language"), + 2: .standard(proto: "is_enabled"), + 3: .standard(proto: "is_early_access"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233637,62 +244883,40 @@ extension LoginActionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.loginActionID) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.firstTime) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.success) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.intentExisting) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.error) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.authStatus) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.selectionTime) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.language) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isEarlyAccess) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.loginActionID != .undefinedLoginAction { - try visitor.visitSingularEnumField(value: self.loginActionID, fieldNumber: 1) - } - if self.firstTime != false { - try visitor.visitSingularBoolField(value: self.firstTime, fieldNumber: 2) - } - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 3) - } - if self.intentExisting != false { - try visitor.visitSingularBoolField(value: self.intentExisting, fieldNumber: 4) - } - if !self.error.isEmpty { - try visitor.visitSingularStringField(value: self.error, fieldNumber: 5) + if !self.language.isEmpty { + try visitor.visitSingularStringField(value: self.language, fieldNumber: 1) } - if !self.authStatus.isEmpty { - try visitor.visitSingularStringField(value: self.authStatus, fieldNumber: 6) + if self.isEnabled != false { + try visitor.visitSingularBoolField(value: self.isEnabled, fieldNumber: 2) } - if self.selectionTime != 0 { - try visitor.visitSingularInt64Field(value: self.selectionTime, fieldNumber: 7) + if self.isEarlyAccess != false { + try visitor.visitSingularBoolField(value: self.isEarlyAccess, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoginActionTelemetry, rhs: LoginActionTelemetry) -> Bool { - if lhs.loginActionID != rhs.loginActionID {return false} - if lhs.firstTime != rhs.firstTime {return false} - if lhs.success != rhs.success {return false} - if lhs.intentExisting != rhs.intentExisting {return false} - if lhs.error != rhs.error {return false} - if lhs.authStatus != rhs.authStatus {return false} - if lhs.selectionTime != rhs.selectionTime {return false} + public static func ==(lhs: LanguageSettingsProto, rhs: LanguageSettingsProto) -> Bool { + if lhs.language != rhs.language {return false} + if lhs.isEnabled != rhs.isEnabled {return false} + if lhs.isEarlyAccess != rhs.isEarlyAccess {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LoginDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoginDetail" +extension LanguageTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LanguageTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "identity_provider"), - 2: .same(proto: "email"), - 3: .standard(proto: "auth_provider_id"), + 1: .standard(proto: "selected_language"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233701,40 +244925,30 @@ extension LoginDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.identityProvider) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.email) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.selectedLanguage) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.identityProvider != .unsetIdentityProvider { - try visitor.visitSingularEnumField(value: self.identityProvider, fieldNumber: 1) - } - if !self.email.isEmpty { - try visitor.visitSingularStringField(value: self.email, fieldNumber: 2) - } - if !self.authProviderID.isEmpty { - try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 3) + if !self.selectedLanguage.isEmpty { + try visitor.visitSingularStringField(value: self.selectedLanguage, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoginDetail, rhs: LoginDetail) -> Bool { - if lhs.identityProvider != rhs.identityProvider {return false} - if lhs.email != rhs.email {return false} - if lhs.authProviderID != rhs.authProviderID {return false} + public static func ==(lhs: LanguageTelemetry, rhs: LanguageTelemetry) -> Bool { + if lhs.selectedLanguage != rhs.selectedLanguage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LoginNewPlayer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoginNewPlayer" +extension Layer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Layer" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "method_name"), + 1: .same(proto: "features"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233743,30 +244957,31 @@ extension LoginNewPlayer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.features) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.methodName.isEmpty { - try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) + if !self.features.isEmpty { + try visitor.visitRepeatedMessageField(value: self.features, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoginNewPlayer, rhs: LoginNewPlayer) -> Bool { - if lhs.methodName != rhs.methodName {return false} + public static func ==(lhs: Layer, rhs: Layer) -> Bool { + if lhs.features != rhs.features {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LoginNewPlayerCreateAccount: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoginNewPlayerCreateAccount" +extension LeagueIdMismatchData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeagueIdMismatchData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "method_name"), + 1: .standard(proto: "non_matching_league_id"), + 2: .standard(proto: "log_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233775,30 +244990,35 @@ extension LoginNewPlayerCreateAccount: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.nonMatchingLeagueID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.logType) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.methodName.isEmpty { - try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) + if !self.nonMatchingLeagueID.isEmpty { + try visitor.visitSingularStringField(value: self.nonMatchingLeagueID, fieldNumber: 1) + } + if self.logType != .noType { + try visitor.visitSingularEnumField(value: self.logType, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoginNewPlayerCreateAccount, rhs: LoginNewPlayerCreateAccount) -> Bool { - if lhs.methodName != rhs.methodName {return false} + public static func ==(lhs: LeagueIdMismatchData, rhs: LeagueIdMismatchData) -> Bool { + if lhs.nonMatchingLeagueID != rhs.nonMatchingLeagueID {return false} + if lhs.logType != rhs.logType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LoginReturningPlayer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoginReturningPlayer" +extension LeaveBuddyMultiplayerSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeaveBuddyMultiplayerSessionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "method_name"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233807,30 +245027,39 @@ extension LoginReturningPlayer: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.methodName.isEmpty { - try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) + if self.result != .leaveSuccess { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoginReturningPlayer, rhs: LoginReturningPlayer) -> Bool { - if lhs.methodName != rhs.methodName {return false} + public static func ==(lhs: LeaveBuddyMultiplayerSessionOutProto, rhs: LeaveBuddyMultiplayerSessionOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LoginReturningPlayerSignIn: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoginReturningPlayerSignIn" +extension LeaveBuddyMultiplayerSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "method_name"), + 0: .same(proto: "LEAVE_SUCCESS"), + 1: .same(proto: "LEAVE_NOT_IN_LOBBY"), + 2: .same(proto: "LEAVE_LOBBY_NOT_FOUND"), + 3: .same(proto: "LEAVE_UNKNOWN_ERROR"), + ] +} + +extension LeaveBuddyMultiplayerSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeaveBuddyMultiplayerSessionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "plfe_session_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233839,30 +245068,36 @@ extension LoginReturningPlayerSignIn: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.plfeSessionID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.methodName.isEmpty { - try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) + if !self.plfeSessionID.isEmpty { + try visitor.visitSingularStringField(value: self.plfeSessionID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoginReturningPlayerSignIn, rhs: LoginReturningPlayerSignIn) -> Bool { - if lhs.methodName != rhs.methodName {return false} + public static func ==(lhs: LeaveBuddyMultiplayerSessionProto, rhs: LeaveBuddyMultiplayerSessionProto) -> Bool { + if lhs.plfeSessionID != rhs.plfeSessionID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LoginSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoginSettingsProto" +extension LeaveInteractionRangeTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeaveInteractionRangeTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_multi_login_linking"), + 1: .same(proto: "result"), + 2: .standard(proto: "fort_id"), + 3: .standard(proto: "fort_type"), + 4: .standard(proto: "client_timestamp"), + 5: .standard(proto: "partner_id"), + 6: .standard(proto: "time_spent"), + 7: .standard(proto: "campaign_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233871,30 +245106,60 @@ extension LoginSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableMultiLoginLinking) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.fortType) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.clientTimestamp) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.partnerID) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.timeSpent) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.campaignID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableMultiLoginLinking != false { - try visitor.visitSingularBoolField(value: self.enableMultiLoginLinking, fieldNumber: 1) + if !self.result.isEmpty { + try visitor.visitSingularStringField(value: self.result, fieldNumber: 1) + } + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) + } + if self.fortType != 0 { + try visitor.visitSingularInt32Field(value: self.fortType, fieldNumber: 3) + } + if self.clientTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.clientTimestamp, fieldNumber: 4) + } + if !self.partnerID.isEmpty { + try visitor.visitSingularStringField(value: self.partnerID, fieldNumber: 5) + } + if self.timeSpent != 0 { + try visitor.visitSingularInt64Field(value: self.timeSpent, fieldNumber: 6) + } + if !self.campaignID.isEmpty { + try visitor.visitSingularStringField(value: self.campaignID, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoginSettingsProto, rhs: LoginSettingsProto) -> Bool { - if lhs.enableMultiLoginLinking != rhs.enableMultiLoginLinking {return false} + public static func ==(lhs: LeaveInteractionRangeTelemetry, rhs: LeaveInteractionRangeTelemetry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.fortType != rhs.fortType {return false} + if lhs.clientTimestamp != rhs.clientTimestamp {return false} + if lhs.partnerID != rhs.partnerID {return false} + if lhs.timeSpent != rhs.timeSpent {return false} + if lhs.campaignID != rhs.campaignID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LoginStartup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoginStartup" +extension LeaveLobbyData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeaveLobbyData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "method_name"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233903,30 +245168,31 @@ extension LoginStartup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.methodName.isEmpty { - try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoginStartup, rhs: LoginStartup) -> Bool { - if lhs.methodName != rhs.methodName {return false} + public static func ==(lhs: LeaveLobbyData, rhs: LeaveLobbyData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LoopProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LoopProto" +extension LeaveLobbyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeaveLobbyOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "vertex"), + 1: .same(proto: "result"), + 2: .same(proto: "lobby"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233935,41 +245201,50 @@ extension LoopProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.vertex) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._lobby) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.vertex.isEmpty { - try visitor.visitRepeatedMessageField(value: self.vertex, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._lobby { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LoopProto, rhs: LoopProto) -> Bool { - if lhs.vertex != rhs.vertex {return false} + public static func ==(lhs: LeaveLobbyOutProto, rhs: LeaveLobbyOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._lobby != rhs._lobby {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LootItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LootItemProto" +extension LeaveLobbyOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .same(proto: "stardust"), - 3: .same(proto: "pokecoin"), - 4: .standard(proto: "pokemon_candy"), - 6: .same(proto: "experience"), - 7: .standard(proto: "pokemon_egg"), - 8: .standard(proto: "avatar_template_id"), - 9: .standard(proto: "sticker_id"), - 10: .standard(proto: "mega_energy_pokemon_id"), - 11: .standard(proto: "xl_candy"), - 12: .standard(proto: "follower_pokemon"), - 5: .same(proto: "count"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_RAID_UNAVAILABLE"), + 3: .same(proto: "ERROR_LOBBY_NOT_FOUND"), + ] +} + +extension LeaveLobbyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeaveLobbyProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "raid_seed"), + 2: .standard(proto: "gym_id"), + 3: .standard(proto: "lobby_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -233978,183 +245253,42 @@ extension LootItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: Item? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.type != nil {try decoder.handleConflictingOneOf()} - self.type = .item(v) - } - }() - case 2: try { - var v: Bool? - try decoder.decodeSingularBoolField(value: &v) - if let v = v { - if self.type != nil {try decoder.handleConflictingOneOf()} - self.type = .stardust(v) - } - }() - case 3: try { - var v: Bool? - try decoder.decodeSingularBoolField(value: &v) - if let v = v { - if self.type != nil {try decoder.handleConflictingOneOf()} - self.type = .pokecoin(v) - } - }() - case 4: try { - var v: HoloPokemonId? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.type != nil {try decoder.handleConflictingOneOf()} - self.type = .pokemonCandy(v) - } - }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.count) }() - case 6: try { - var v: Bool? - try decoder.decodeSingularBoolField(value: &v) - if let v = v { - if self.type != nil {try decoder.handleConflictingOneOf()} - self.type = .experience(v) - } - }() - case 7: try { - var v: PokemonProto? - var hadOneofValue = false - if let current = self.type { - hadOneofValue = true - if case .pokemonEgg(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.type = .pokemonEgg(v) - } - }() - case 8: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.type != nil {try decoder.handleConflictingOneOf()} - self.type = .avatarTemplateID(v) - } - }() - case 9: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.type != nil {try decoder.handleConflictingOneOf()} - self.type = .stickerID(v) - } - }() - case 10: try { - var v: HoloPokemonId? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.type != nil {try decoder.handleConflictingOneOf()} - self.type = .megaEnergyPokemonID(v) - } - }() - case 11: try { - var v: HoloPokemonId? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.type != nil {try decoder.handleConflictingOneOf()} - self.type = .xlCandy(v) - } - }() - case 12: try { - var v: FollowerPokemonProto? - var hadOneofValue = false - if let current = self.type { - hadOneofValue = true - if case .followerPokemon(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.type = .followerPokemon(v) - } - }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.type { - case .item?: try { - guard case .item(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 1) - }() - case .stardust?: try { - guard case .stardust(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularBoolField(value: v, fieldNumber: 2) - }() - case .pokecoin?: try { - guard case .pokecoin(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularBoolField(value: v, fieldNumber: 3) - }() - case .pokemonCandy?: try { - guard case .pokemonCandy(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 4) - }() - default: break - } - if self.count != 0 { - try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 5) - } - switch self.type { - case .experience?: try { - guard case .experience(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularBoolField(value: v, fieldNumber: 6) - }() - case .pokemonEgg?: try { - guard case .pokemonEgg(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - }() - case .avatarTemplateID?: try { - guard case .avatarTemplateID(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 8) - }() - case .stickerID?: try { - guard case .stickerID(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 9) - }() - case .megaEnergyPokemonID?: try { - guard case .megaEnergyPokemonID(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 10) - }() - case .xlCandy?: try { - guard case .xlCandy(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 11) - }() - case .followerPokemon?: try { - guard case .followerPokemon(let v)? = self.type else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - }() - default: break + case 1: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.raidSeed != 0 { + try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 1) + } + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 2) + } + if !self.lobbyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LootItemProto, rhs: LootItemProto) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.count != rhs.count {return false} + public static func ==(lhs: LeaveLobbyProto, rhs: LeaveLobbyProto) -> Bool { + if lhs.raidSeed != rhs.raidSeed {return false} + if lhs.gymID != rhs.gymID {return false} + if lhs.lobbyID != rhs.lobbyID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LootProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LootProto" +extension LeaveLobbyResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeaveLobbyResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "loot_item"), + 1: .same(proto: "result"), + 2: .standard(proto: "rpc_id"), + 3: .standard(proto: "round_trip_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234163,30 +245297,40 @@ extension LootProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.lootItem) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.lootItem.isEmpty { - try visitor.visitRepeatedMessageField(value: self.lootItem, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 2) + } + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LootProto, rhs: LootProto) -> Bool { - if lhs.lootItem != rhs.lootItem {return false} + public static func ==(lhs: LeaveLobbyResponseData, rhs: LeaveLobbyResponseData) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension LuckyPokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".LuckyPokemonSettingsProto" +extension LeavePartyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeavePartyOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "power_up_stardust_discount_percent"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234195,142 +245339,103 @@ extension LuckyPokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.powerUpStardustDiscountPercent) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.powerUpStardustDiscountPercent != 0 { - try visitor.visitSingularFloatField(value: self.powerUpStardustDiscountPercent, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: LuckyPokemonSettingsProto, rhs: LuckyPokemonSettingsProto) -> Bool { - if lhs.powerUpStardustDiscountPercent != rhs.powerUpStardustDiscountPercent {return false} + public static func ==(lhs: LeavePartyOutProto, rhs: LeavePartyOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ManagedPoseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ManagedPoseData" +extension LeavePartyOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "identifier"), - 2: .same(proto: "version"), - 3: .same(proto: "creationTimeMs"), - 4: .same(proto: "placementAccuracy"), - 5: .same(proto: "nodeAssociations"), - 6: .same(proto: "geoAssociation"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "ERROR_FEATURE_DISABLED"), + 4: .same(proto: "ERROR_PLAYER_NOT_IN_PARTY"), ] +} - fileprivate class _StorageClass { - var _identifier: UUID? = nil - var _version: UInt32 = 0 - var _creationTimeMs: UInt64 = 0 - var _placementAccuracy: PlacementAccuracy? = nil - var _nodeAssociations: [NodeAssociation] = [] - var _geoAssociation: GeoAssociation? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _identifier = source._identifier - _version = source._version - _creationTimeMs = source._creationTimeMs - _placementAccuracy = source._placementAccuracy - _nodeAssociations = source._nodeAssociations - _geoAssociation = source._geoAssociation - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } +extension LeavePartyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeavePartyProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "party_id"), + 2: .standard(proto: "is_dark_launch_request"), + 3: .standard(proto: "reason_to_leave"), + ] public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._identifier) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &_storage._version) }() - case 3: try { try decoder.decodeSingularUInt64Field(value: &_storage._creationTimeMs) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._placementAccuracy) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &_storage._nodeAssociations) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._geoAssociation) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.partyID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isDarkLaunchRequest) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.reasonToLeave) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._identifier { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if _storage._version != 0 { - try visitor.visitSingularUInt32Field(value: _storage._version, fieldNumber: 2) - } - if _storage._creationTimeMs != 0 { - try visitor.visitSingularUInt64Field(value: _storage._creationTimeMs, fieldNumber: 3) - } - try { if let v = _storage._placementAccuracy { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if !_storage._nodeAssociations.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._nodeAssociations, fieldNumber: 5) - } - try { if let v = _storage._geoAssociation { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() + if !self.partyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.partyID, fieldNumber: 1) + } + if self.isDarkLaunchRequest != false { + try visitor.visitSingularBoolField(value: self.isDarkLaunchRequest, fieldNumber: 2) + } + if self.reasonToLeave != .unset { + try visitor.visitSingularEnumField(value: self.reasonToLeave, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ManagedPoseData, rhs: ManagedPoseData) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._identifier != rhs_storage._identifier {return false} - if _storage._version != rhs_storage._version {return false} - if _storage._creationTimeMs != rhs_storage._creationTimeMs {return false} - if _storage._placementAccuracy != rhs_storage._placementAccuracy {return false} - if _storage._nodeAssociations != rhs_storage._nodeAssociations {return false} - if _storage._geoAssociation != rhs_storage._geoAssociation {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: LeavePartyProto, rhs: LeavePartyProto) -> Bool { + if lhs.partyID != rhs.partyID {return false} + if lhs.isDarkLaunchRequest != rhs.isDarkLaunchRequest {return false} + if lhs.reasonToLeave != rhs.reasonToLeave {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ManualReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ManualReportData" +extension LeavePartyProto.ReasonToLeave: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "description"), - 2: .same(proto: "link"), - 3: .same(proto: "origin"), - 4: .same(proto: "severity"), - 5: .same(proto: "category"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "PRESSED_BUTTON"), + 2: .same(proto: "U13_HOST_NOT_FRIEND"), + 3: .same(proto: "TOO_FAR_AWAY"), + 4: .same(proto: "DISBANDED"), + 5: .same(proto: "EXPIRED"), + 6: .same(proto: "DECLINED_REJOIN"), + 7: .same(proto: "FEATURE_DISABLED"), + ] +} + +extension LeavePointOfInterestTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeavePointOfInterestTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "fort_id"), + 3: .standard(proto: "fort_type"), + 4: .standard(proto: "client_timestamp"), + 5: .standard(proto: "partner_id"), + 6: .standard(proto: "time_spent"), + 7: .standard(proto: "campaign_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234339,55 +245444,61 @@ extension ManualReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.link) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.origin) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.severity) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.category) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.fortType) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.clientTimestamp) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.partnerID) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.timeSpent) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.campaignID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 1) + if !self.result.isEmpty { + try visitor.visitSingularStringField(value: self.result, fieldNumber: 1) + } + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) } - if !self.link.isEmpty { - try visitor.visitSingularStringField(value: self.link, fieldNumber: 2) + if self.fortType != 0 { + try visitor.visitSingularInt32Field(value: self.fortType, fieldNumber: 3) + } + if self.clientTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.clientTimestamp, fieldNumber: 4) } - if self.origin != .undefinedOrigin { - try visitor.visitSingularEnumField(value: self.origin, fieldNumber: 3) + if !self.partnerID.isEmpty { + try visitor.visitSingularStringField(value: self.partnerID, fieldNumber: 5) } - if self.severity != .undefinedSeverity { - try visitor.visitSingularEnumField(value: self.severity, fieldNumber: 4) + if self.timeSpent != 0 { + try visitor.visitSingularInt64Field(value: self.timeSpent, fieldNumber: 6) } - if self.category != .undefined { - try visitor.visitSingularEnumField(value: self.category, fieldNumber: 5) + if !self.campaignID.isEmpty { + try visitor.visitSingularStringField(value: self.campaignID, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ManualReportData, rhs: ManualReportData) -> Bool { - if lhs.description_p != rhs.description_p {return false} - if lhs.link != rhs.link {return false} - if lhs.origin != rhs.origin {return false} - if lhs.severity != rhs.severity {return false} - if lhs.category != rhs.category {return false} + public static func ==(lhs: LeavePointOfInterestTelemetry, rhs: LeavePointOfInterestTelemetry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.fortType != rhs.fortType {return false} + if lhs.clientTimestamp != rhs.clientTimestamp {return false} + if lhs.partnerID != rhs.partnerID {return false} + if lhs.timeSpent != rhs.timeSpent {return false} + if lhs.campaignID != rhs.campaignID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapArea: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapArea" +extension LevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LevelSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "description"), - 2: .same(proto: "epoch"), - 3: .standard(proto: "map_provider"), - 4: .standard(proto: "bounding_rect"), - 5: .standard(proto: "minimum_client_version"), - 6: .standard(proto: "tile_encryption_key"), + 2: .standard(proto: "trainer_cp_modifier"), + 3: .standard(proto: "trainer_difficulty_modifier"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234396,65 +245507,39 @@ extension MapArea: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.epoch) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.mapProvider) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.boundingRect) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.minimumClientVersion) }() - case 6: try { try decoder.decodeSingularBytesField(value: &self.tileEncryptionKey) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.trainerCpModifier) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.trainerDifficultyModifier) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 1) - } - if self.epoch != 0 { - try visitor.visitSingularInt32Field(value: self.epoch, fieldNumber: 2) - } - if !self.mapProvider.isEmpty { - try visitor.visitSingularStringField(value: self.mapProvider, fieldNumber: 3) - } - if !self.boundingRect.isEmpty { - try visitor.visitRepeatedMessageField(value: self.boundingRect, fieldNumber: 4) - } - if !self.minimumClientVersion.isEmpty { - try visitor.visitSingularStringField(value: self.minimumClientVersion, fieldNumber: 5) + if self.trainerCpModifier != 0 { + try visitor.visitSingularDoubleField(value: self.trainerCpModifier, fieldNumber: 2) } - if !self.tileEncryptionKey.isEmpty { - try visitor.visitSingularBytesField(value: self.tileEncryptionKey, fieldNumber: 6) + if self.trainerDifficultyModifier != 0 { + try visitor.visitSingularDoubleField(value: self.trainerDifficultyModifier, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapArea, rhs: MapArea) -> Bool { - if lhs.description_p != rhs.description_p {return false} - if lhs.epoch != rhs.epoch {return false} - if lhs.mapProvider != rhs.mapProvider {return false} - if lhs.boundingRect != rhs.boundingRect {return false} - if lhs.minimumClientVersion != rhs.minimumClientVersion {return false} - if lhs.tileEncryptionKey != rhs.tileEncryptionKey {return false} + public static func ==(lhs: LevelSettingsProto, rhs: LevelSettingsProto) -> Bool { + if lhs.trainerCpModifier != rhs.trainerCpModifier {return false} + if lhs.trainerDifficultyModifier != rhs.trainerDifficultyModifier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapBuddySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapBuddySettingsProto" +extension LevelUpRewardsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LevelUpRewardsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "for_buddy_group_number"), - 2: .standard(proto: "target_offset_min"), - 3: .standard(proto: "target_offset_max"), - 4: .standard(proto: "leash_distance"), - 5: .standard(proto: "max_seconds_to_idle"), - 6: .standard(proto: "max_rotation_speed"), - 7: .standard(proto: "walk_threshold"), - 8: .standard(proto: "run_threshold"), - 9: .standard(proto: "should_glide"), - 10: .standard(proto: "glide_smooth_time"), - 11: .standard(proto: "glide_max_speed"), + 1: .same(proto: "result"), + 2: .same(proto: "items"), + 4: .standard(proto: "items_unlocked"), + 5: .standard(proto: "avatar_template_ids"), + 6: .same(proto: "pokecoins"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234463,81 +245548,58 @@ extension MapBuddySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.forBuddyGroupNumber) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.targetOffsetMin) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.targetOffsetMax) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.leashDistance) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.maxSecondsToIdle) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.maxRotationSpeed) }() - case 7: try { try decoder.decodeSingularFloatField(value: &self.walkThreshold) }() - case 8: try { try decoder.decodeSingularFloatField(value: &self.runThreshold) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.shouldGlide) }() - case 10: try { try decoder.decodeSingularFloatField(value: &self.glideSmoothTime) }() - case 11: try { try decoder.decodeSingularFloatField(value: &self.glideMaxSpeed) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.items) }() + case 4: try { try decoder.decodeRepeatedEnumField(value: &self.itemsUnlocked) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &self.avatarTemplateIds) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.pokecoins) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.forBuddyGroupNumber != 0 { - try visitor.visitSingularInt32Field(value: self.forBuddyGroupNumber, fieldNumber: 1) - } - if self.targetOffsetMin != 0 { - try visitor.visitSingularFloatField(value: self.targetOffsetMin, fieldNumber: 2) - } - if self.targetOffsetMax != 0 { - try visitor.visitSingularFloatField(value: self.targetOffsetMax, fieldNumber: 3) - } - if self.leashDistance != 0 { - try visitor.visitSingularFloatField(value: self.leashDistance, fieldNumber: 4) - } - if self.maxSecondsToIdle != 0 { - try visitor.visitSingularFloatField(value: self.maxSecondsToIdle, fieldNumber: 5) - } - if self.maxRotationSpeed != 0 { - try visitor.visitSingularFloatField(value: self.maxRotationSpeed, fieldNumber: 6) - } - if self.walkThreshold != 0 { - try visitor.visitSingularFloatField(value: self.walkThreshold, fieldNumber: 7) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.runThreshold != 0 { - try visitor.visitSingularFloatField(value: self.runThreshold, fieldNumber: 8) + if !self.items.isEmpty { + try visitor.visitRepeatedMessageField(value: self.items, fieldNumber: 2) } - if self.shouldGlide != false { - try visitor.visitSingularBoolField(value: self.shouldGlide, fieldNumber: 9) + if !self.itemsUnlocked.isEmpty { + try visitor.visitPackedEnumField(value: self.itemsUnlocked, fieldNumber: 4) } - if self.glideSmoothTime != 0 { - try visitor.visitSingularFloatField(value: self.glideSmoothTime, fieldNumber: 10) + if !self.avatarTemplateIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.avatarTemplateIds, fieldNumber: 5) } - if self.glideMaxSpeed != 0 { - try visitor.visitSingularFloatField(value: self.glideMaxSpeed, fieldNumber: 11) + if self.pokecoins != 0 { + try visitor.visitSingularInt32Field(value: self.pokecoins, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapBuddySettingsProto, rhs: MapBuddySettingsProto) -> Bool { - if lhs.forBuddyGroupNumber != rhs.forBuddyGroupNumber {return false} - if lhs.targetOffsetMin != rhs.targetOffsetMin {return false} - if lhs.targetOffsetMax != rhs.targetOffsetMax {return false} - if lhs.leashDistance != rhs.leashDistance {return false} - if lhs.maxSecondsToIdle != rhs.maxSecondsToIdle {return false} - if lhs.maxRotationSpeed != rhs.maxRotationSpeed {return false} - if lhs.walkThreshold != rhs.walkThreshold {return false} - if lhs.runThreshold != rhs.runThreshold {return false} - if lhs.shouldGlide != rhs.shouldGlide {return false} - if lhs.glideSmoothTime != rhs.glideSmoothTime {return false} - if lhs.glideMaxSpeed != rhs.glideMaxSpeed {return false} + public static func ==(lhs: LevelUpRewardsOutProto, rhs: LevelUpRewardsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.items != rhs.items {return false} + if lhs.itemsUnlocked != rhs.itemsUnlocked {return false} + if lhs.avatarTemplateIds != rhs.avatarTemplateIds {return false} + if lhs.pokecoins != rhs.pokecoins {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapCompositionRoot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapCompositionRoot" +extension LevelUpRewardsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "map_area"), - 2: .standard(proto: "map_provider"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "AWARDED_ALREADY"), + ] +} + +extension LevelUpRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LevelUpRewardsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234546,44 +245608,35 @@ extension MapCompositionRoot: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.mapArea) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.mapProvider) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.level) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.mapArea.isEmpty { - try visitor.visitRepeatedMessageField(value: self.mapArea, fieldNumber: 1) - } - if !self.mapProvider.isEmpty { - try visitor.visitRepeatedMessageField(value: self.mapProvider, fieldNumber: 2) + if self.level != 0 { + try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapCompositionRoot, rhs: MapCompositionRoot) -> Bool { - if lhs.mapArea != rhs.mapArea {return false} - if lhs.mapProvider != rhs.mapProvider {return false} + public static func ==(lhs: LevelUpRewardsProto, rhs: LevelUpRewardsProto) -> Bool { + if lhs.level != rhs.level {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapDisplaySettingsProto" +extension LevelUpRewardsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LevelUpRewardsSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "map_effect"), - 2: .standard(proto: "research_icon_url"), - 3: .same(proto: "bgm"), - 4: .standard(proto: "show_enhanced_sky"), - 5: .standard(proto: "event_skydome_1"), - 6: .standard(proto: "event_skydome_2"), - 7: .standard(proto: "fx_map_visual_effect"), - 8: .standard(proto: "is_event_fx"), - 9: .standard(proto: "event_fx_visual_effect"), - 10: .standard(proto: "event_fx_name"), + 1: .same(proto: "level"), + 2: .same(proto: "items"), + 3: .standard(proto: "items_count"), + 4: .standard(proto: "items_unlocked"), + 5: .standard(proto: "avatar_template_ids"), + 6: .same(proto: "pokecoins"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234592,117 +245645,56 @@ extension MapDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.mapEffect) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.researchIconURL) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.bgm) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.showEnhancedSky) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.eventSkydome1) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.eventSkydome2) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.fxMapVisualEffect) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.isEventFx) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.eventFxVisualEffect) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.eventFxName) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.level) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.items) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.itemsCount) }() + case 4: try { try decoder.decodeRepeatedEnumField(value: &self.itemsUnlocked) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &self.avatarTemplateIds) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.pokecoins) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.mapEffect != .effectNone { - try visitor.visitSingularEnumField(value: self.mapEffect, fieldNumber: 1) - } - if !self.researchIconURL.isEmpty { - try visitor.visitSingularStringField(value: self.researchIconURL, fieldNumber: 2) - } - if self.bgm != .bgmUnset { - try visitor.visitSingularEnumField(value: self.bgm, fieldNumber: 3) - } - if self.showEnhancedSky != false { - try visitor.visitSingularBoolField(value: self.showEnhancedSky, fieldNumber: 4) - } - if !self.eventSkydome1.isEmpty { - try visitor.visitSingularStringField(value: self.eventSkydome1, fieldNumber: 5) + if self.level != 0 { + try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 1) } - if !self.eventSkydome2.isEmpty { - try visitor.visitSingularStringField(value: self.eventSkydome2, fieldNumber: 6) + if !self.items.isEmpty { + try visitor.visitPackedEnumField(value: self.items, fieldNumber: 2) } - if !self.fxMapVisualEffect.isEmpty { - try visitor.visitSingularStringField(value: self.fxMapVisualEffect, fieldNumber: 7) + if !self.itemsCount.isEmpty { + try visitor.visitPackedInt32Field(value: self.itemsCount, fieldNumber: 3) } - if self.isEventFx != false { - try visitor.visitSingularBoolField(value: self.isEventFx, fieldNumber: 8) + if !self.itemsUnlocked.isEmpty { + try visitor.visitPackedEnumField(value: self.itemsUnlocked, fieldNumber: 4) } - if !self.eventFxVisualEffect.isEmpty { - try visitor.visitSingularStringField(value: self.eventFxVisualEffect, fieldNumber: 9) + if !self.avatarTemplateIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.avatarTemplateIds, fieldNumber: 5) } - if !self.eventFxName.isEmpty { - try visitor.visitSingularStringField(value: self.eventFxName, fieldNumber: 10) + if self.pokecoins != 0 { + try visitor.visitSingularInt32Field(value: self.pokecoins, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapDisplaySettingsProto, rhs: MapDisplaySettingsProto) -> Bool { - if lhs.mapEffect != rhs.mapEffect {return false} - if lhs.researchIconURL != rhs.researchIconURL {return false} - if lhs.bgm != rhs.bgm {return false} - if lhs.showEnhancedSky != rhs.showEnhancedSky {return false} - if lhs.eventSkydome1 != rhs.eventSkydome1 {return false} - if lhs.eventSkydome2 != rhs.eventSkydome2 {return false} - if lhs.fxMapVisualEffect != rhs.fxMapVisualEffect {return false} - if lhs.isEventFx != rhs.isEventFx {return false} - if lhs.eventFxVisualEffect != rhs.eventFxVisualEffect {return false} - if lhs.eventFxName != rhs.eventFxName {return false} + public static func ==(lhs: LevelUpRewardsSettingsProto, rhs: LevelUpRewardsSettingsProto) -> Bool { + if lhs.level != rhs.level {return false} + if lhs.items != rhs.items {return false} + if lhs.itemsCount != rhs.itemsCount {return false} + if lhs.itemsUnlocked != rhs.itemsUnlocked {return false} + if lhs.avatarTemplateIds != rhs.avatarTemplateIds {return false} + if lhs.pokecoins != rhs.pokecoins {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapDisplaySettingsProto.MapEffect: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "EFFECT_NONE"), - 1: .same(proto: "EFFECT_CONFETTI_BASIC"), - 2: .same(proto: "EFFECT_CONFETTI_FIRE"), - 3: .same(proto: "EFFECT_CONFETTI_WATER"), - 4: .same(proto: "EFFECT_CONFETTI_GRASS"), - 5: .same(proto: "EFFECT_CONFETTI_RAID_BATTLE"), - 6: .same(proto: "EFFECT_CONFETTI_FRIENDSHIP"), - 7: .same(proto: "EFFECT_CONFETTI_ROCKET"), - 8: .same(proto: "EFFECT_FIREWORKS_PLAIN"), - 9: .same(proto: "EFFECT_CONFETTI_FLOWER"), - 10: .same(proto: "EFFECT_CONFETTI_PLAINS"), - 11: .same(proto: "EFFECT_CONFETTI_CITY"), - 12: .same(proto: "EFFECT_CONFETTI_TUNDRA"), - 13: .same(proto: "EFFECT_CONFETTI_RAINFOREST"), - ] -} - -extension MapDisplaySettingsProto.MusicType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BGM_UNSET"), - 101: .same(proto: "BGM_EVENT"), - 200: .same(proto: "BGM_HALLOWEEN"), - 201: .same(proto: "BGM_GO_TOUR_00"), - 202: .same(proto: "BGM_GO_TOUR_01"), - 203: .same(proto: "BGM_GO_TOUR_02"), - 204: .same(proto: "BGM_GO_TOUR_03"), - 205: .same(proto: "BGM_GO_TOUR_04"), - 206: .same(proto: "BGM_GO_TOUR_05"), - 207: .same(proto: "BGM_GO_TOUR_06"), - 208: .same(proto: "BGM_GO_TOUR_07"), - 209: .same(proto: "BGM_GO_TOUR_08"), - 210: .same(proto: "BGM_GO_TOUR_09"), - 300: .same(proto: "BGM_TEAM_ROCKET_DEFAULT"), - ] -} - -extension MapEventsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapEventsTelemetry" +extension LeveledUpFriendsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LeveledUpFriendsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "map_event_click_id"), - 2: .standard(proto: "fort_id"), - 3: .standard(proto: "guard_pokemon_level"), - 4: .same(proto: "team"), - 5: .standard(proto: "is_player_in_range"), + 1: .standard(proto: "friend_profiles"), + 2: .standard(proto: "friend_milestone_levels"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234711,53 +245703,38 @@ extension MapEventsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.mapEventClickID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.guardPokemonLevel) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.team) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.isPlayerInRange) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.friendProfiles) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.friendMilestoneLevels) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.mapEventClickID != .undefinedMapEvent { - try visitor.visitSingularEnumField(value: self.mapEventClickID, fieldNumber: 1) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) - } - if !self.guardPokemonLevel.isEmpty { - try visitor.visitPackedInt32Field(value: self.guardPokemonLevel, fieldNumber: 3) - } - if self.team != .unset { - try visitor.visitSingularEnumField(value: self.team, fieldNumber: 4) + if !self.friendProfiles.isEmpty { + try visitor.visitRepeatedMessageField(value: self.friendProfiles, fieldNumber: 1) } - if self.isPlayerInRange != false { - try visitor.visitSingularBoolField(value: self.isPlayerInRange, fieldNumber: 5) + if !self.friendMilestoneLevels.isEmpty { + try visitor.visitRepeatedMessageField(value: self.friendMilestoneLevels, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapEventsTelemetry, rhs: MapEventsTelemetry) -> Bool { - if lhs.mapEventClickID != rhs.mapEventClickID {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.guardPokemonLevel != rhs.guardPokemonLevel {return false} - if lhs.team != rhs.team {return false} - if lhs.isPlayerInRange != rhs.isPlayerInRange {return false} + public static func ==(lhs: LeveledUpFriendsProto, rhs: LeveledUpFriendsProto) -> Bool { + if lhs.friendProfiles != rhs.friendProfiles {return false} + if lhs.friendMilestoneLevels != rhs.friendMilestoneLevels {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapInfoProto" +extension LimitedEditionPokemonEncounterRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LimitedEditionPokemonEncounterRewardProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "center"), - 2: .standard(proto: "latitude_span"), - 3: .standard(proto: "longitude_span"), - 4: .standard(proto: "zoom_level"), + 3: .standard(proto: "lifetime_max_count"), + 4: .standard(proto: "per_competitive_combat_season_max_count"), + 1: .same(proto: "pokemon"), + 2: .same(proto: "identifier"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234766,10 +245743,24 @@ extension MapInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._center) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.latitudeSpan) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.longitudeSpan) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.zoomLevel) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.identifier) }() + case 3: try { + var v: Int32? + try decoder.decodeSingularInt32Field(value: &v) + if let v = v { + if self.limit != nil {try decoder.handleConflictingOneOf()} + self.limit = .lifetimeMaxCount(v) + } + }() + case 4: try { + var v: Int32? + try decoder.decodeSingularInt32Field(value: &v) + if let v = v { + if self.limit != nil {try decoder.handleConflictingOneOf()} + self.limit = .perCompetitiveCombatSeasonMaxCount(v) + } + }() default: break } } @@ -234780,37 +245771,39 @@ extension MapInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._center { + try { if let v = self._pokemon { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if self.latitudeSpan != 0 { - try visitor.visitSingularInt32Field(value: self.latitudeSpan, fieldNumber: 2) - } - if self.longitudeSpan != 0 { - try visitor.visitSingularInt32Field(value: self.longitudeSpan, fieldNumber: 3) + if !self.identifier.isEmpty { + try visitor.visitSingularStringField(value: self.identifier, fieldNumber: 2) } - if self.zoomLevel != 0 { - try visitor.visitSingularInt32Field(value: self.zoomLevel, fieldNumber: 4) + switch self.limit { + case .lifetimeMaxCount?: try { + guard case .lifetimeMaxCount(let v)? = self.limit else { preconditionFailure() } + try visitor.visitSingularInt32Field(value: v, fieldNumber: 3) + }() + case .perCompetitiveCombatSeasonMaxCount?: try { + guard case .perCompetitiveCombatSeasonMaxCount(let v)? = self.limit else { preconditionFailure() } + try visitor.visitSingularInt32Field(value: v, fieldNumber: 4) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapInfoProto, rhs: MapInfoProto) -> Bool { - if lhs._center != rhs._center {return false} - if lhs.latitudeSpan != rhs.latitudeSpan {return false} - if lhs.longitudeSpan != rhs.longitudeSpan {return false} - if lhs.zoomLevel != rhs.zoomLevel {return false} + public static func ==(lhs: LimitedEditionPokemonEncounterRewardProto, rhs: LimitedEditionPokemonEncounterRewardProto) -> Bool { + if lhs.limit != rhs.limit {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs.identifier != rhs.identifier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapObjectsInteractionRangeSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapObjectsInteractionRangeSettings" +extension LimitedPurchaseSkuRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LimitedPurchaseSkuRecordProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "interaction_range_meters"), - 2: .standard(proto: "far_interaction_range_meters"), - 3: .standard(proto: "remote_interaction_range_meters"), + 1: .same(proto: "purchases"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234819,41 +245812,44 @@ extension MapObjectsInteractionRangeSettings: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.interactionRangeMeters) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.farInteractionRangeMeters) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.remoteInteractionRangeMeters) }() + case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.purchases) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.interactionRangeMeters != 0 { - try visitor.visitSingularDoubleField(value: self.interactionRangeMeters, fieldNumber: 1) - } - if self.farInteractionRangeMeters != 0 { - try visitor.visitSingularDoubleField(value: self.farInteractionRangeMeters, fieldNumber: 2) - } - if self.remoteInteractionRangeMeters != 0 { - try visitor.visitSingularDoubleField(value: self.remoteInteractionRangeMeters, fieldNumber: 3) + if !self.purchases.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.purchases, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapObjectsInteractionRangeSettings, rhs: MapObjectsInteractionRangeSettings) -> Bool { - if lhs.interactionRangeMeters != rhs.interactionRangeMeters {return false} - if lhs.farInteractionRangeMeters != rhs.farInteractionRangeMeters {return false} - if lhs.remoteInteractionRangeMeters != rhs.remoteInteractionRangeMeters {return false} + public static func ==(lhs: LimitedPurchaseSkuRecordProto, rhs: LimitedPurchaseSkuRecordProto) -> Bool { + if lhs.purchases != rhs.purchases {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapPointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapPointProto" +extension LimitedPurchaseSkuRecordProto.ChronoUnit: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "latitude_e6"), - 2: .standard(proto: "longitude_e6"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "MINUTE"), + 2: .same(proto: "HOUR"), + 3: .same(proto: "DAY"), + 4: .same(proto: "WEEK"), + 5: .same(proto: "MONTH"), + ] +} + +extension LimitedPurchaseSkuRecordProto.PurchaseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = LimitedPurchaseSkuRecordProto.protoMessageName + ".PurchaseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "version"), + 2: .standard(proto: "num_purchases"), + 4: .standard(proto: "last_purchase_ms"), + 5: .standard(proto: "total_num_purchases"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234862,41 +245858,49 @@ extension MapPointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.latitudeE6) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.longitudeE6) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.version) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numPurchases) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.lastPurchaseMs) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.totalNumPurchases) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.latitudeE6 != 0 { - try visitor.visitSingularInt32Field(value: self.latitudeE6, fieldNumber: 1) + if self.version != 0 { + try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 1) } - if self.longitudeE6 != 0 { - try visitor.visitSingularInt32Field(value: self.longitudeE6, fieldNumber: 2) + if self.numPurchases != 0 { + try visitor.visitSingularInt32Field(value: self.numPurchases, fieldNumber: 2) + } + if self.lastPurchaseMs != 0 { + try visitor.visitSingularInt64Field(value: self.lastPurchaseMs, fieldNumber: 4) + } + if self.totalNumPurchases != 0 { + try visitor.visitSingularInt32Field(value: self.totalNumPurchases, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapPointProto, rhs: MapPointProto) -> Bool { - if lhs.latitudeE6 != rhs.latitudeE6 {return false} - if lhs.longitudeE6 != rhs.longitudeE6 {return false} + public static func ==(lhs: LimitedPurchaseSkuRecordProto.PurchaseProto, rhs: LimitedPurchaseSkuRecordProto.PurchaseProto) -> Bool { + if lhs.version != rhs.version {return false} + if lhs.numPurchases != rhs.numPurchases {return false} + if lhs.lastPurchaseMs != rhs.lastPurchaseMs {return false} + if lhs.totalNumPurchases != rhs.totalNumPurchases {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapPokemonProto" +extension LimitedPurchaseSkuSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LimitedPurchaseSkuSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "spawnpoint_id"), - 2: .standard(proto: "encounter_id"), - 3: .standard(proto: "pokedex_type_id"), - 4: .standard(proto: "expiration_time_ms"), - 5: .same(proto: "latitude"), - 6: .same(proto: "longitude"), - 7: .standard(proto: "pokemon_display"), + 1: .standard(proto: "purchase_limit"), + 2: .same(proto: "version"), + 3: .standard(proto: "chrono_unit"), + 4: .standard(proto: "loot_table_id"), + 20: .standard(proto: "reset_interval"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234905,69 +245909,50 @@ extension MapPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.spawnpointID) }() - case 2: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.pokedexTypeID) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.expirationTimeMs) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() - case 7: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.purchaseLimit) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.version) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.chronoUnit) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.lootTableID) }() + case 20: try { try decoder.decodeSingularInt32Field(value: &self.resetInterval) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.spawnpointID.isEmpty { - try visitor.visitSingularStringField(value: self.spawnpointID, fieldNumber: 1) - } - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 2) + if self.purchaseLimit != 0 { + try visitor.visitSingularInt32Field(value: self.purchaseLimit, fieldNumber: 1) } - if self.pokedexTypeID != 0 { - try visitor.visitSingularInt32Field(value: self.pokedexTypeID, fieldNumber: 3) + if self.version != 0 { + try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 2) } - if self.expirationTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.expirationTimeMs, fieldNumber: 4) + if self.chronoUnit != .unset { + try visitor.visitSingularEnumField(value: self.chronoUnit, fieldNumber: 3) } - if self.latitude != 0 { - try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 5) + if !self.lootTableID.isEmpty { + try visitor.visitSingularStringField(value: self.lootTableID, fieldNumber: 4) } - if self.longitude != 0 { - try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 6) + if self.resetInterval != 0 { + try visitor.visitSingularInt32Field(value: self.resetInterval, fieldNumber: 20) } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapPokemonProto, rhs: MapPokemonProto) -> Bool { - if lhs.spawnpointID != rhs.spawnpointID {return false} - if lhs.encounterID != rhs.encounterID {return false} - if lhs.pokedexTypeID != rhs.pokedexTypeID {return false} - if lhs.expirationTimeMs != rhs.expirationTimeMs {return false} - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + public static func ==(lhs: LimitedPurchaseSkuSettingsProto, rhs: LimitedPurchaseSkuSettingsProto) -> Bool { + if lhs.purchaseLimit != rhs.purchaseLimit {return false} + if lhs.version != rhs.version {return false} + if lhs.chronoUnit != rhs.chronoUnit {return false} + if lhs.lootTableID != rhs.lootTableID {return false} + if lhs.resetInterval != rhs.resetInterval {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapProvider: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapProvider" +extension LineProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LineProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .standard(proto: "base_url"), - 3: .standard(proto: "query_format"), - 4: .standard(proto: "map_type"), - 5: .standard(proto: "min_tile_level"), - 6: .standard(proto: "max_tile_level"), + 1: .same(proto: "vertex"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -234976,64 +245961,34 @@ extension MapProvider: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.baseURL) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.queryFormat) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.mapType) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.minTileLevel) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.maxTileLevel) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.vertex) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.baseURL.isEmpty { - try visitor.visitSingularStringField(value: self.baseURL, fieldNumber: 2) - } - if !self.queryFormat.isEmpty { - try visitor.visitSingularStringField(value: self.queryFormat, fieldNumber: 3) - } - if self.mapType != .unset { - try visitor.visitSingularEnumField(value: self.mapType, fieldNumber: 4) - } - if self.minTileLevel != 0 { - try visitor.visitSingularInt32Field(value: self.minTileLevel, fieldNumber: 5) - } - if self.maxTileLevel != 0 { - try visitor.visitSingularInt32Field(value: self.maxTileLevel, fieldNumber: 6) + if !self.vertex.isEmpty { + try visitor.visitRepeatedMessageField(value: self.vertex, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapProvider, rhs: MapProvider) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.baseURL != rhs.baseURL {return false} - if lhs.queryFormat != rhs.queryFormat {return false} - if lhs.mapType != rhs.mapType {return false} - if lhs.minTileLevel != rhs.minTileLevel {return false} - if lhs.maxTileLevel != rhs.maxTileLevel {return false} + public static func ==(lhs: LineProto, rhs: LineProto) -> Bool { + if lhs.vertex != rhs.vertex {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapProvider.MapType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 3: .same(proto: "BLANK"), - 5: .same(proto: "NIANTIC_BUNDLE"), - ] -} - -extension MapQueryRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapQueryRequestProto" +extension LinkLoginTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LinkLoginTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "query_s2_cell_ids"), - 2: .standard(proto: "query_s2_cell_timestamps"), + 1: .same(proto: "linked"), + 2: .same(proto: "success"), + 3: .same(proto: "error"), + 4: .standard(proto: "active_auth_provider_id"), + 5: .same(proto: "provider"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235042,37 +245997,51 @@ extension MapQueryRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedUInt64Field(value: &self.queryS2CellIds) }() - case 2: try { try decoder.decodeRepeatedUInt64Field(value: &self.queryS2CellTimestamps) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.linked) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.success) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.error) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.activeAuthProviderID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.provider) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.queryS2CellIds.isEmpty { - try visitor.visitPackedUInt64Field(value: self.queryS2CellIds, fieldNumber: 1) + if self.linked != false { + try visitor.visitSingularBoolField(value: self.linked, fieldNumber: 1) } - if !self.queryS2CellTimestamps.isEmpty { - try visitor.visitPackedUInt64Field(value: self.queryS2CellTimestamps, fieldNumber: 2) + if !self.success.isEmpty { + try visitor.visitSingularStringField(value: self.success, fieldNumber: 2) + } + if !self.error.isEmpty { + try visitor.visitSingularStringField(value: self.error, fieldNumber: 3) + } + if !self.activeAuthProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.activeAuthProviderID, fieldNumber: 4) + } + if !self.provider.isEmpty { + try visitor.visitSingularStringField(value: self.provider, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapQueryRequestProto, rhs: MapQueryRequestProto) -> Bool { - if lhs.queryS2CellIds != rhs.queryS2CellIds {return false} - if lhs.queryS2CellTimestamps != rhs.queryS2CellTimestamps {return false} + public static func ==(lhs: LinkLoginTelemetry, rhs: LinkLoginTelemetry) -> Bool { + if lhs.linked != rhs.linked {return false} + if lhs.success != rhs.success {return false} + if lhs.error != rhs.error {return false} + if lhs.activeAuthProviderID != rhs.activeAuthProviderID {return false} + if lhs.provider != rhs.provider {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapQueryResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapQueryResponseProto" +extension LinkToAccountLoginRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LinkToAccountLoginRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "s2_cells"), - 2: .same(proto: "entities"), - 3: .standard(proto: "deleted_entities"), + 1: .standard(proto: "new_auth_token"), + 2: .standard(proto: "new_auth_provider_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235081,41 +246050,37 @@ extension MapQueryResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.s2Cells) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.entities) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.deletedEntities) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.newAuthToken) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.newAuthProviderID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.s2Cells.isEmpty { - try visitor.visitRepeatedMessageField(value: self.s2Cells, fieldNumber: 1) - } - if !self.entities.isEmpty { - try visitor.visitRepeatedMessageField(value: self.entities, fieldNumber: 2) + if !self.newAuthToken.isEmpty { + try visitor.visitSingularBytesField(value: self.newAuthToken, fieldNumber: 1) } - if !self.deletedEntities.isEmpty { - try visitor.visitRepeatedStringField(value: self.deletedEntities, fieldNumber: 3) + if !self.newAuthProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.newAuthProviderID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapQueryResponseProto, rhs: MapQueryResponseProto) -> Bool { - if lhs.s2Cells != rhs.s2Cells {return false} - if lhs.entities != rhs.entities {return false} - if lhs.deletedEntities != rhs.deletedEntities {return false} + public static func ==(lhs: LinkToAccountLoginRequestProto, rhs: LinkToAccountLoginRequestProto) -> Bool { + if lhs.newAuthToken != rhs.newAuthToken {return false} + if lhs.newAuthProviderID != rhs.newAuthProviderID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapRighthandIconsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapRighthandIconsTelemetry" +extension LinkToAccountLoginResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LinkToAccountLoginResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "map_righthand_icons_event_ids"), - 2: .standard(proto: "number_icons_in_grid"), + 1: .same(proto: "success"), + 2: .standard(proto: "login_detail"), + 3: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235124,48 +246089,52 @@ extension MapRighthandIconsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.mapRighthandIconsEventIds) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numberIconsInGrid) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.mapRighthandIconsEventIds != .undefinedMapRighthandIconEvent { - try visitor.visitSingularEnumField(value: self.mapRighthandIconsEventIds, fieldNumber: 1) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } - if self.numberIconsInGrid != 0 { - try visitor.visitSingularInt32Field(value: self.numberIconsInGrid, fieldNumber: 2) + if !self.loginDetail.isEmpty { + try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) + } + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapRighthandIconsTelemetry, rhs: MapRighthandIconsTelemetry) -> Bool { - if lhs.mapRighthandIconsEventIds != rhs.mapRighthandIconsEventIds {return false} - if lhs.numberIconsInGrid != rhs.numberIconsInGrid {return false} + public static func ==(lhs: LinkToAccountLoginResponseProto, rhs: LinkToAccountLoginResponseProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.loginDetail != rhs.loginDetail {return false} + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapRighthandIconsTelemetry.IconEvents: SwiftProtobuf._ProtoNameProviding { +extension LinkToAccountLoginResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED_MAP_RIGHTHAND_ICON_EVENT"), - 1: .same(proto: "ICON_GRID_EXPANSION_BUTTON_APPEARED"), - 2: .same(proto: "ICON_GRID_NUMBER_COLUMNS_INCREASED"), - 3: .same(proto: "ICON_GRID_EXPANDED_BY_CLICK"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "UNKNOWN_ERROR"), + 2: .same(proto: "AUTH_FAILURE"), + 3: .same(proto: "LOGIN_TAKEN"), + 4: .same(proto: "GUEST_LOGIN_DISABLED"), + 5: .same(proto: "SUCCESS_ALREADY_LINKED"), ] } -extension MapS2Cell: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapS2Cell" +extension ListAvatarAppearanceItemsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListAvatarAppearanceItemsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "s2_cell_id"), - 2: .standard(proto: "s2_cell_base_timestamp"), - 3: .standard(proto: "s2_cell_timestamp"), - 4: .standard(proto: "entity_key"), - 5: .standard(proto: "deleted_entity_key"), + 1: .same(proto: "result"), + 3: .same(proto: "appearances"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235174,53 +246143,62 @@ extension MapS2Cell: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellID) }() - case 2: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellBaseTimestamp) }() - case 3: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellTimestamp) }() - case 4: try { try decoder.decodeRepeatedStringField(value: &self.entityKey) }() - case 5: try { try decoder.decodeRepeatedStringField(value: &self.deletedEntityKey) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.appearances) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.s2CellID != 0 { - try visitor.visitSingularUInt64Field(value: self.s2CellID, fieldNumber: 1) - } - if self.s2CellBaseTimestamp != 0 { - try visitor.visitSingularUInt64Field(value: self.s2CellBaseTimestamp, fieldNumber: 2) - } - if self.s2CellTimestamp != 0 { - try visitor.visitSingularUInt64Field(value: self.s2CellTimestamp, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.entityKey.isEmpty { - try visitor.visitRepeatedStringField(value: self.entityKey, fieldNumber: 4) + if !self.appearances.isEmpty { + try visitor.visitRepeatedMessageField(value: self.appearances, fieldNumber: 3) } - if !self.deletedEntityKey.isEmpty { - try visitor.visitRepeatedStringField(value: self.deletedEntityKey, fieldNumber: 5) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ListAvatarAppearanceItemsOutProto, rhs: ListAvatarAppearanceItemsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.appearances != rhs.appearances {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ListAvatarAppearanceItemsOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + ] +} + +extension ListAvatarAppearanceItemsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListAvatarAppearanceItemsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapS2Cell, rhs: MapS2Cell) -> Bool { - if lhs.s2CellID != rhs.s2CellID {return false} - if lhs.s2CellBaseTimestamp != rhs.s2CellBaseTimestamp {return false} - if lhs.s2CellTimestamp != rhs.s2CellTimestamp {return false} - if lhs.entityKey != rhs.entityKey {return false} - if lhs.deletedEntityKey != rhs.deletedEntityKey {return false} + public static func ==(lhs: ListAvatarAppearanceItemsProto, rhs: ListAvatarAppearanceItemsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapS2CellEntity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapS2CellEntity" +extension ListAvatarCustomizationsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListAvatarCustomizationsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "key"), - 2: .same(proto: "timestamp"), - 3: .same(proto: "payload"), - 4: .standard(proto: "new_shape"), + 1: .same(proto: "result"), + 2: .standard(proto: "avatar_customizations"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235229,51 +246207,59 @@ extension MapS2CellEntity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.key) }() - case 2: try { try decoder.decodeSingularUInt64Field(value: &self.timestamp) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._newShape) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.avatarCustomizations) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.key.isEmpty { - try visitor.visitSingularStringField(value: self.key, fieldNumber: 1) - } - if self.timestamp != 0 { - try visitor.visitSingularUInt64Field(value: self.timestamp, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.payload.isEmpty { - try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) + if !self.avatarCustomizations.isEmpty { + try visitor.visitRepeatedMessageField(value: self.avatarCustomizations, fieldNumber: 2) } - try { if let v = self._newShape { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapS2CellEntity, rhs: MapS2CellEntity) -> Bool { - if lhs.key != rhs.key {return false} - if lhs.timestamp != rhs.timestamp {return false} - if lhs.payload != rhs.payload {return false} - if lhs._newShape != rhs._newShape {return false} + public static func ==(lhs: ListAvatarCustomizationsOutProto, rhs: ListAvatarCustomizationsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.avatarCustomizations != rhs.avatarCustomizations {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapS2CellEntity.Location: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = MapS2CellEntity.protoMessageName + ".Location" +extension ListAvatarCustomizationsOutProto.Label: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "latitude"), - 2: .same(proto: "longitude"), - 3: .same(proto: "altitude"), + 0: .same(proto: "UNSET_LABEL"), + 1: .same(proto: "DEFAULT"), + 2: .same(proto: "OWNED"), + 3: .same(proto: "FEATURED"), + 4: .same(proto: "NEW"), + 5: .same(proto: "SALE"), + 6: .same(proto: "PURCHASABLE"), + 7: .same(proto: "UNLOCKABLE"), + 8: .same(proto: "VIEWED"), + 9: .same(proto: "LOCKED_PURCHASABLE"), + ] +} + +extension ListAvatarCustomizationsOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + ] +} + +extension ListAvatarCustomizationsOutProto.AvatarCustomization: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ListAvatarCustomizationsOutProto.protoMessageName + ".AvatarCustomization" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "avatar_template_id"), + 2: .same(proto: "labels"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235282,52 +246268,39 @@ extension MapS2CellEntity.Location: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.altitude) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.avatarTemplateID) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.labels) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.latitude != 0 { - try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 1) - } - if self.longitude != 0 { - try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 2) + if !self.avatarTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.avatarTemplateID, fieldNumber: 1) } - if self.altitude != 0 { - try visitor.visitSingularDoubleField(value: self.altitude, fieldNumber: 3) + if !self.labels.isEmpty { + try visitor.visitPackedEnumField(value: self.labels, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapS2CellEntity.Location, rhs: MapS2CellEntity.Location) -> Bool { - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} - if lhs.altitude != rhs.altitude {return false} + public static func ==(lhs: ListAvatarCustomizationsOutProto.AvatarCustomization, rhs: ListAvatarCustomizationsOutProto.AvatarCustomization) -> Bool { + if lhs.avatarTemplateID != rhs.avatarTemplateID {return false} + if lhs.labels != rhs.labels {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapSettingsProto" +extension ListAvatarCustomizationsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListAvatarCustomizationsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_visible_range"), - 2: .standard(proto: "poke_nav_range_meters"), - 3: .standard(proto: "encounter_range_meters"), - 4: .standard(proto: "get_map_objects_min_refresh_seconds"), - 5: .standard(proto: "get_map_objects_max_refresh_seconds"), - 6: .standard(proto: "get_map_objects_min_distance_meters"), - 7: .standard(proto: "google_maps_api_key"), - 8: .standard(proto: "min_nearby_hide_sightings"), - 9: .standard(proto: "enable_special_weather"), - 10: .standard(proto: "special_weather_probability"), - 11: .standard(proto: "google_maps_client_id"), - 12: .standard(proto: "enable_encounter_v2"), - 13: .standard(proto: "ob_double"), + 1: .standard(proto: "avatar_type"), + 2: .same(proto: "slot"), + 3: .same(proto: "filters"), + 4: .same(proto: "start"), + 5: .same(proto: "limit"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235336,93 +246309,63 @@ extension MapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.pokemonVisibleRange) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.pokeNavRangeMeters) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.encounterRangeMeters) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.getMapObjectsMinRefreshSeconds) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.getMapObjectsMaxRefreshSeconds) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.getMapObjectsMinDistanceMeters) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.googleMapsApiKey) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.minNearbyHideSightings) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.enableSpecialWeather) }() - case 10: try { try decoder.decodeSingularFloatField(value: &self.specialWeatherProbability) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.googleMapsClientID) }() - case 12: try { try decoder.decodeSingularBoolField(value: &self.enableEncounterV2) }() - case 13: try { try decoder.decodeSingularDoubleField(value: &self.obDouble) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.avatarType) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.slot) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.filters) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.start) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.limit) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemonVisibleRange != 0 { - try visitor.visitSingularDoubleField(value: self.pokemonVisibleRange, fieldNumber: 1) - } - if self.pokeNavRangeMeters != 0 { - try visitor.visitSingularDoubleField(value: self.pokeNavRangeMeters, fieldNumber: 2) - } - if self.encounterRangeMeters != 0 { - try visitor.visitSingularDoubleField(value: self.encounterRangeMeters, fieldNumber: 3) - } - if self.getMapObjectsMinRefreshSeconds != 0 { - try visitor.visitSingularFloatField(value: self.getMapObjectsMinRefreshSeconds, fieldNumber: 4) - } - if self.getMapObjectsMaxRefreshSeconds != 0 { - try visitor.visitSingularFloatField(value: self.getMapObjectsMaxRefreshSeconds, fieldNumber: 5) - } - if self.getMapObjectsMinDistanceMeters != 0 { - try visitor.visitSingularFloatField(value: self.getMapObjectsMinDistanceMeters, fieldNumber: 6) - } - if !self.googleMapsApiKey.isEmpty { - try visitor.visitSingularStringField(value: self.googleMapsApiKey, fieldNumber: 7) - } - if self.minNearbyHideSightings != 0 { - try visitor.visitSingularInt32Field(value: self.minNearbyHideSightings, fieldNumber: 8) - } - if self.enableSpecialWeather != false { - try visitor.visitSingularBoolField(value: self.enableSpecialWeather, fieldNumber: 9) + if self.avatarType != .playerAvatarMale { + try visitor.visitSingularEnumField(value: self.avatarType, fieldNumber: 1) } - if self.specialWeatherProbability != 0 { - try visitor.visitSingularFloatField(value: self.specialWeatherProbability, fieldNumber: 10) + if !self.slot.isEmpty { + try visitor.visitPackedEnumField(value: self.slot, fieldNumber: 2) } - if !self.googleMapsClientID.isEmpty { - try visitor.visitSingularStringField(value: self.googleMapsClientID, fieldNumber: 11) + if !self.filters.isEmpty { + try visitor.visitPackedEnumField(value: self.filters, fieldNumber: 3) } - if self.enableEncounterV2 != false { - try visitor.visitSingularBoolField(value: self.enableEncounterV2, fieldNumber: 12) + if self.start != 0 { + try visitor.visitSingularInt32Field(value: self.start, fieldNumber: 4) } - if self.obDouble != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble, fieldNumber: 13) + if self.limit != 0 { + try visitor.visitSingularInt32Field(value: self.limit, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapSettingsProto, rhs: MapSettingsProto) -> Bool { - if lhs.pokemonVisibleRange != rhs.pokemonVisibleRange {return false} - if lhs.pokeNavRangeMeters != rhs.pokeNavRangeMeters {return false} - if lhs.encounterRangeMeters != rhs.encounterRangeMeters {return false} - if lhs.getMapObjectsMinRefreshSeconds != rhs.getMapObjectsMinRefreshSeconds {return false} - if lhs.getMapObjectsMaxRefreshSeconds != rhs.getMapObjectsMaxRefreshSeconds {return false} - if lhs.getMapObjectsMinDistanceMeters != rhs.getMapObjectsMinDistanceMeters {return false} - if lhs.googleMapsApiKey != rhs.googleMapsApiKey {return false} - if lhs.minNearbyHideSightings != rhs.minNearbyHideSightings {return false} - if lhs.enableSpecialWeather != rhs.enableSpecialWeather {return false} - if lhs.specialWeatherProbability != rhs.specialWeatherProbability {return false} - if lhs.googleMapsClientID != rhs.googleMapsClientID {return false} - if lhs.enableEncounterV2 != rhs.enableEncounterV2 {return false} - if lhs.obDouble != rhs.obDouble {return false} + public static func ==(lhs: ListAvatarCustomizationsProto, rhs: ListAvatarCustomizationsProto) -> Bool { + if lhs.avatarType != rhs.avatarType {return false} + if lhs.slot != rhs.slot {return false} + if lhs.filters != rhs.filters {return false} + if lhs.start != rhs.start {return false} + if lhs.limit != rhs.limit {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapTile: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapTile" +extension ListAvatarCustomizationsProto.Filter: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "zoom"), - 2: .same(proto: "x"), - 3: .same(proto: "y"), - 4: .same(proto: "layers"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ALL"), + 2: .same(proto: "DEFAULT"), + 3: .same(proto: "OWNED"), + 4: .same(proto: "FEATURED"), + 5: .same(proto: "PURCHASABLE"), + 6: .same(proto: "UNLOCKABLE"), + ] +} + +extension ListAvatarStoreItemsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListAvatarStoreItemsOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "listings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235431,43 +246374,40 @@ extension MapTile: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.zoom) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.x) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.y) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.layers) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.listings) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.zoom != 0 { - try visitor.visitSingularInt32Field(value: self.zoom, fieldNumber: 1) - } - if self.x != 0 { - try visitor.visitSingularInt32Field(value: self.x, fieldNumber: 2) - } - if self.y != 0 { - try visitor.visitSingularInt32Field(value: self.y, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.layers.isEmpty { - try visitor.visitRepeatedMessageField(value: self.layers, fieldNumber: 4) + if !self.listings.isEmpty { + try visitor.visitRepeatedMessageField(value: self.listings, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapTile, rhs: MapTile) -> Bool { - if lhs.zoom != rhs.zoom {return false} - if lhs.x != rhs.x {return false} - if lhs.y != rhs.y {return false} - if lhs.layers != rhs.layers {return false} + public static func ==(lhs: ListAvatarStoreItemsOutProto, rhs: ListAvatarStoreItemsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.listings != rhs.listings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapTile3RequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapTile3RequestProto" +extension ListAvatarStoreItemsOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + ] +} + +extension ListAvatarStoreItemsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListAvatarStoreItemsProto" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -235479,47 +246419,16 @@ extension MapTile3RequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapTile3RequestProto, rhs: MapTile3RequestProto) -> Bool { + public static func ==(lhs: ListAvatarStoreItemsProto, rhs: ListAvatarStoreItemsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapTile3RequestProto.TileFormat: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "COMPACT_0"), - 1: .same(proto: "COMPACT_3"), - 2: .same(proto: "PNG"), - 3: .same(proto: "JPEG"), - 4: .same(proto: "GIF"), - 5: .same(proto: "CJPG_0"), - 6: .same(proto: "BVG0"), - 7: .same(proto: "TRAFFIC_VECTOR_2"), - 8: .same(proto: "VECTOR_ATLAS_DRIVEABOUT_V1"), - 9: .same(proto: "TRAFFIC_VECTOR_3"), - 10: .same(proto: "VECTOR_ATLAS_ENCRYPTED_PROTO"), - 11: .same(proto: "LAYER_DATA"), - 12: .same(proto: "ONLY_RASTER_TILES_AND_LABELS"), - 13: .same(proto: "TILE_IN_LOCAL_LANGUAGE"), - 14: .same(proto: "ROAD_GRAPH_PROTO"), - 15: .same(proto: "INCLUDE_COPYRIGHTS"), - 16: .same(proto: "FETCH_TYPE_MIN_BIT"), - 19: .same(proto: "FETCH_TYPE_MAX_BIT"), - 20: .same(proto: "VECTOR_ATLAS_DRIVEABOUT_V2"), - 21: .same(proto: "VECTOR_ATLAS_DRIVEABOUT_V3"), - ] -} - -extension MapTileBundle: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapTileBundle" +extension ListGymBadgesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListGymBadgesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "format_version"), - 2: .standard(proto: "tile_zoom"), - 3: .standard(proto: "bundle_zoom"), - 4: .standard(proto: "bundle_x"), - 5: .standard(proto: "bundle_y"), - 6: .same(proto: "epoch"), - 7: .same(proto: "tiles"), + 1: .standard(proto: "gym_badge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235528,115 +246437,50 @@ extension MapTileBundle: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.formatVersion) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.tileZoom) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.bundleZoom) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.bundleX) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.bundleY) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.epoch) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &self.tiles) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.gymBadge) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.formatVersion != 0 { - try visitor.visitSingularInt32Field(value: self.formatVersion, fieldNumber: 1) - } - if self.tileZoom != 0 { - try visitor.visitSingularInt32Field(value: self.tileZoom, fieldNumber: 2) - } - if self.bundleZoom != 0 { - try visitor.visitSingularInt32Field(value: self.bundleZoom, fieldNumber: 3) - } - if self.bundleX != 0 { - try visitor.visitSingularInt32Field(value: self.bundleX, fieldNumber: 4) - } - if self.bundleY != 0 { - try visitor.visitSingularInt32Field(value: self.bundleY, fieldNumber: 5) - } - if self.epoch != 0 { - try visitor.visitSingularInt32Field(value: self.epoch, fieldNumber: 6) - } - if !self.tiles.isEmpty { - try visitor.visitRepeatedMessageField(value: self.tiles, fieldNumber: 7) + if !self.gymBadge.isEmpty { + try visitor.visitRepeatedMessageField(value: self.gymBadge, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapTileBundle, rhs: MapTileBundle) -> Bool { - if lhs.formatVersion != rhs.formatVersion {return false} - if lhs.tileZoom != rhs.tileZoom {return false} - if lhs.bundleZoom != rhs.bundleZoom {return false} - if lhs.bundleX != rhs.bundleX {return false} - if lhs.bundleY != rhs.bundleY {return false} - if lhs.epoch != rhs.epoch {return false} - if lhs.tiles != rhs.tiles {return false} + public static func ==(lhs: ListGymBadgesOutProto, rhs: ListGymBadgesOutProto) -> Bool { + if lhs.gymBadge != rhs.gymBadge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapTileDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapTileDataProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "map_tile"), - 2: .standard(proto: "tile_data"), - 3: .standard(proto: "label_data"), - ] +extension ListGymBadgesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListGymBadgesProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._mapTile) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._tileData) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._labelData) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._mapTile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._tileData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._labelData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapTileDataProto, rhs: MapTileDataProto) -> Bool { - if lhs._mapTile != rhs._mapTile {return false} - if lhs._tileData != rhs._tileData {return false} - if lhs._labelData != rhs._labelData {return false} + public static func ==(lhs: ListGymBadgesProto, rhs: ListGymBadgesProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapTileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapTileProto" +extension ListLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListLoginActionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "tile_type"), - 2: .standard(proto: "tile_index_x"), - 3: .standard(proto: "tile_index_y"), - 4: .standard(proto: "zoom_level"), - 5: .standard(proto: "text_size"), - 6: .standard(proto: "indoor_level_id"), - 7: .standard(proto: "tile_variant"), - 8: .standard(proto: "pertile_epoch"), + 1: .same(proto: "success"), + 2: .standard(proto: "login_detail"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235645,106 +246489,36 @@ extension MapTileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.tileType) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.tileIndexX) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.tileIndexY) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.zoomLevel) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.textSize) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.indoorLevelID) }() - case 7: try { try decoder.decodeSingularUInt32Field(value: &self.tileVariant) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.pertileEpoch) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.tileType != .unset { - try visitor.visitSingularEnumField(value: self.tileType, fieldNumber: 1) - } - if self.tileIndexX != 0 { - try visitor.visitSingularInt32Field(value: self.tileIndexX, fieldNumber: 2) - } - if self.tileIndexY != 0 { - try visitor.visitSingularInt32Field(value: self.tileIndexY, fieldNumber: 3) - } - if self.zoomLevel != 0 { - try visitor.visitSingularInt32Field(value: self.zoomLevel, fieldNumber: 4) - } - if self.textSize != .unset { - try visitor.visitSingularEnumField(value: self.textSize, fieldNumber: 5) - } - if !self.indoorLevelID.isEmpty { - try visitor.visitSingularStringField(value: self.indoorLevelID, fieldNumber: 6) - } - if self.tileVariant != 0 { - try visitor.visitSingularUInt32Field(value: self.tileVariant, fieldNumber: 7) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } - if self.pertileEpoch != 0 { - try visitor.visitSingularInt32Field(value: self.pertileEpoch, fieldNumber: 8) + if !self.loginDetail.isEmpty { + try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapTileProto, rhs: MapTileProto) -> Bool { - if lhs.tileType != rhs.tileType {return false} - if lhs.tileIndexX != rhs.tileIndexX {return false} - if lhs.tileIndexY != rhs.tileIndexY {return false} - if lhs.zoomLevel != rhs.zoomLevel {return false} - if lhs.textSize != rhs.textSize {return false} - if lhs.indoorLevelID != rhs.indoorLevelID {return false} - if lhs.tileVariant != rhs.tileVariant {return false} - if lhs.pertileEpoch != rhs.pertileEpoch {return false} + public static func ==(lhs: ListLoginActionOutProto, rhs: ListLoginActionOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.loginDetail != rhs.loginDetail {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapTileProto.TextSizeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TEXT_SIZE_ENUM_UNSET"), - 1: .same(proto: "SMALL"), - 2: .same(proto: "MEDIUM"), - 3: .same(proto: "LARGE"), - ] -} - -extension MapTileProto.TileTypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TILE_TYPE_ENUM_UNSET"), - 2: .same(proto: "MAP_ATLAS"), - 3: .same(proto: "SATELLITE"), - 4: .same(proto: "TRAFFIC"), - 5: .same(proto: "GIF_ATLAS"), - 6: .same(proto: "HYBRID"), - 7: .same(proto: "TERRAIN"), - 8: .same(proto: "CLICKABLE_LAYER"), - 9: .same(proto: "STREET_VIEW"), - 10: .same(proto: "VECTOR_ATLAS"), - 11: .same(proto: "ROAD_GRAPH"), - 12: .same(proto: "TERRAIN_NO_LABELS"), - 13: .same(proto: "VECTOR_TRANSIT"), - 14: .same(proto: "INDOOR"), - 15: .same(proto: "LABELS_ONLY"), - 16: .same(proto: "PERSONALIZED_SMARTMAPS"), - ] -} - -extension MapTileProto.TileTypeVariantEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TILE_TYPE_VARIANT_ENUM_UNSET"), - 7: .same(proto: "BICYCLING"), - ] -} - -extension MapTileRequestHeader: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapTileRequestHeader" +extension ListRouteBadgesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListRouteBadgesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "tile_size"), - 2: .standard(proto: "tile_format"), - 3: .standard(proto: "tile_option"), - 4: .standard(proto: "text_size"), - 5: .standard(proto: "fetch_type"), + 1: .standard(proto: "route_badges"), + 2: .standard(proto: "awarded_route_badges"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235753,97 +246527,54 @@ extension MapTileRequestHeader: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.tileSize) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.tileFormat) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.tileOption) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.textSize) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.fetchType) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.routeBadges) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.awardedRouteBadges) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.tileSize != 0 { - try visitor.visitSingularUInt32Field(value: self.tileSize, fieldNumber: 1) - } - if !self.tileFormat.isEmpty { - try visitor.visitPackedEnumField(value: self.tileFormat, fieldNumber: 2) - } - if !self.tileOption.isEmpty { - try visitor.visitPackedEnumField(value: self.tileOption, fieldNumber: 3) - } - if self.textSize != .desktop { - try visitor.visitSingularEnumField(value: self.textSize, fieldNumber: 4) + if !self.routeBadges.isEmpty { + try visitor.visitRepeatedMessageField(value: self.routeBadges, fieldNumber: 1) } - if self.fetchType != .unset { - try visitor.visitSingularEnumField(value: self.fetchType, fieldNumber: 5) + if !self.awardedRouteBadges.isEmpty { + try visitor.visitRepeatedMessageField(value: self.awardedRouteBadges, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapTileRequestHeader, rhs: MapTileRequestHeader) -> Bool { - if lhs.tileSize != rhs.tileSize {return false} - if lhs.tileFormat != rhs.tileFormat {return false} - if lhs.tileOption != rhs.tileOption {return false} - if lhs.textSize != rhs.textSize {return false} - if lhs.fetchType != rhs.fetchType {return false} + public static func ==(lhs: ListRouteBadgesOutProto, rhs: ListRouteBadgesOutProto) -> Bool { + if lhs.routeBadges != rhs.routeBadges {return false} + if lhs.awardedRouteBadges != rhs.awardedRouteBadges {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapTileRequestHeader.FetchType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "FETCH_TYPE_UNSET"), - 1: .same(proto: "NORMAL"), - 4: .same(proto: "PREFETCH_OFFLINE_MAP"), - 6: .same(proto: "PREFETCH_ROUTE"), - 12: .same(proto: "PREFETCH_AREA"), - ] -} +extension ListRouteBadgesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListRouteBadgesProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() -extension MapTileRequestHeader.TextSize: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DESKTOP"), - 1: .same(proto: "SMALL"), - 2: .same(proto: "MEDIUM"), - 3: .same(proto: "LARGE"), - ] -} + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } -extension MapTileRequestHeader.TileFormat: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "COMPACT_0"), - 1: .same(proto: "COMPACT_3"), - 2: .same(proto: "PNG"), - 3: .same(proto: "JPEG"), - 4: .same(proto: "GIF"), - 5: .same(proto: "CJPG_0"), - 6: .same(proto: "TRAFFIC_VECTOR_2"), - 7: .same(proto: "VECTOR_ATLAS_DRIVEABOUT_V1"), - 8: .same(proto: "TRAFFIC_VECTOR_3"), - 9: .same(proto: "ROAD_GRAPH_PROTO"), - 10: .same(proto: "VECTOR_ATLAS_DRIVEABOUT_V2"), - 11: .same(proto: "VECTOR_ATLAS_DRIVEABOUT_V3"), - ] -} + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } -extension MapTileRequestHeader.TileOption: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INCLUDE_COPYRIGHTS"), - 1: .same(proto: "INCLUDE_CLICKABLE_AREAS"), - 2: .same(proto: "TILE_IN_LOCAL_LANGUAGE_ONLY"), - 3: .same(proto: "ONLY_RASTER_TILES_AND_LABELS"), - 4: .same(proto: "CHECK_PER_TILE"), - ] + public static func ==(lhs: ListRouteBadgesProto, rhs: ListRouteBadgesProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension MapTileRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapTileRequestProto" +extension ListRouteStampsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListRouteStampsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "header"), - 9: .standard(proto: "map_tile"), + 1: .standard(proto: "route_stamps"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235852,87 +246583,70 @@ extension MapTileRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._header) }() - case 9: try { try decoder.decodeRepeatedMessageField(value: &self.mapTile) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.routeStamps) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._header { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.mapTile.isEmpty { - try visitor.visitRepeatedMessageField(value: self.mapTile, fieldNumber: 9) + if !self.routeStamps.isEmpty { + try visitor.visitRepeatedMessageField(value: self.routeStamps, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapTileRequestProto, rhs: MapTileRequestProto) -> Bool { - if lhs._header != rhs._header {return false} - if lhs.mapTile != rhs.mapTile {return false} + public static func ==(lhs: ListRouteStampsOutProto, rhs: ListRouteStampsOutProto) -> Bool { + if lhs.routeStamps != rhs.routeStamps {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapTileResponseHeader: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapTileResponseHeader" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "tile_edition"), - 2: .standard(proto: "response_code"), - ] +extension ListRouteStampsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListRouteStampsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.tileEdition) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.responseCode) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.tileEdition != 0 { - try visitor.visitSingularUInt32Field(value: self.tileEdition, fieldNumber: 1) - } - if self.responseCode != .tileOk { - try visitor.visitSingularEnumField(value: self.responseCode, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapTileResponseHeader, rhs: MapTileResponseHeader) -> Bool { - if lhs.tileEdition != rhs.tileEdition {return false} - if lhs.responseCode != rhs.responseCode {return false} + public static func ==(lhs: ListRouteStampsProto, rhs: ListRouteStampsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapTileResponseHeader.ResponseCode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TILE_OK"), - 1: .same(proto: "TILE_SIZE_UNAVAILABLE"), - 2: .same(proto: "TILE_FORMAT_UNAVAILABLE_FOR_TILE_SPEC"), - 100: .same(proto: "GENERAL_ERROR"), - ] +extension ListValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ListValue" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ListValue, rhs: ListValue) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension MapTileResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapTileResponseProto" +extension LoadingScreenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoadingScreenProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "header"), - 9: .standard(proto: "map_tile"), + 1: .same(proto: "url"), + 2: .standard(proto: "display_after_timestamp_ms"), + 3: .standard(proto: "color_settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235941,41 +246655,40 @@ extension MapTileResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._header) }() - case 9: try { try decoder.decodeRepeatedMessageField(value: &self.mapTile) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.url) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.displayAfterTimestampMs) }() + case 3: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.colorSettings) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._header { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.mapTile.isEmpty { - try visitor.visitRepeatedMessageField(value: self.mapTile, fieldNumber: 9) + if !self.url.isEmpty { + try visitor.visitSingularStringField(value: self.url, fieldNumber: 1) + } + if self.displayAfterTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.displayAfterTimestampMs, fieldNumber: 2) + } + if !self.colorSettings.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.colorSettings, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapTileResponseProto, rhs: MapTileResponseProto) -> Bool { - if lhs._header != rhs._header {return false} - if lhs.mapTile != rhs.mapTile {return false} + public static func ==(lhs: LoadingScreenProto, rhs: LoadingScreenProto) -> Bool { + if lhs.url != rhs.url {return false} + if lhs.displayAfterTimestampMs != rhs.displayAfterTimestampMs {return false} + if lhs.colorSettings != rhs.colorSettings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MapsClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MapsClientTelemetryOmniProto" +extension LoadingScreenTipsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoadingScreenTipsSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "assertion_failed"), - 2: .standard(proto: "log_message"), - 3: .standard(proto: "timestamp_ms"), + 1: .standard(proto: "tip_string_keys"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -235984,72 +246697,30 @@ extension MapsClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: AssertionFailed? - var hadOneofValue = false - if let current = self.telemetryEvent { - hadOneofValue = true - if case .assertionFailed(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.telemetryEvent = .assertionFailed(v) - } - }() - case 2: try { - var v: LogMessage? - var hadOneofValue = false - if let current = self.telemetryEvent { - hadOneofValue = true - if case .logMessage(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.telemetryEvent = .logMessage(v) - } - }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.tipStringKeys) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.telemetryEvent { - case .assertionFailed?: try { - guard case .assertionFailed(let v)? = self.telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .logMessage?: try { - guard case .logMessage(let v)? = self.telemetryEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case nil: break - } - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 3) + if !self.tipStringKeys.isEmpty { + try visitor.visitRepeatedStringField(value: self.tipStringKeys, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MapsClientTelemetryOmniProto, rhs: MapsClientTelemetryOmniProto) -> Bool { - if lhs.telemetryEvent != rhs.telemetryEvent {return false} - if lhs.timestampMs != rhs.timestampMs {return false} + public static func ==(lhs: LoadingScreenTipsSettingsProto, rhs: LoadingScreenTipsSettingsProto) -> Bool { + if lhs.tipStringKeys != rhs.tipStringKeys {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MarkMilestoneAsViewedOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MarkMilestoneAsViewedOutProto" +extension LobbyClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LobbyClientSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "lobby_refresh_interval_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236058,40 +246729,33 @@ extension MarkMilestoneAsViewedOutProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.lobbyRefreshIntervalMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.lobbyRefreshIntervalMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyRefreshIntervalMs, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MarkMilestoneAsViewedOutProto, rhs: MarkMilestoneAsViewedOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: LobbyClientSettingsProto, rhs: LobbyClientSettingsProto) -> Bool { + if lhs.lobbyRefreshIntervalMs != rhs.lobbyRefreshIntervalMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MarkMilestoneAsViewedOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_DISABLED"), - 3: .same(proto: "ERROR_MILESTONE_NOT_FOUND"), - ] -} - -extension MarkMilestoneAsViewedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MarkMilestoneAsViewedProto" +extension LobbyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LobbyPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "referrer_milestones_to_mark"), - 2: .standard(proto: "referee_milestones_to_mark"), + 1: .same(proto: "id"), + 2: .standard(proto: "pokedex_id"), + 3: .same(proto: "cp"), + 4: .standard(proto: "percent_health"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236100,36 +246764,58 @@ extension MarkMilestoneAsViewedProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.referrerMilestonesToMark) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.refereeMilestonesToMark) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.id) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.cp) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.percentHealth) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.referrerMilestonesToMark.isEmpty { - try visitor.visitRepeatedMessageField(value: self.referrerMilestonesToMark, fieldNumber: 1) + if self.id != 0 { + try visitor.visitSingularInt64Field(value: self.id, fieldNumber: 1) } - if !self.refereeMilestonesToMark.isEmpty { - try visitor.visitRepeatedMessageField(value: self.refereeMilestonesToMark, fieldNumber: 2) + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 2) + } + if self.cp != 0 { + try visitor.visitSingularInt32Field(value: self.cp, fieldNumber: 3) + } + if self.percentHealth != 0 { + try visitor.visitSingularFloatField(value: self.percentHealth, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MarkMilestoneAsViewedProto, rhs: MarkMilestoneAsViewedProto) -> Bool { - if lhs.referrerMilestonesToMark != rhs.referrerMilestonesToMark {return false} - if lhs.refereeMilestonesToMark != rhs.refereeMilestonesToMark {return false} + public static func ==(lhs: LobbyPokemonProto, rhs: LobbyPokemonProto) -> Bool { + if lhs.id != rhs.id {return false} + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs.cp != rhs.cp {return false} + if lhs.percentHealth != rhs.percentHealth {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MarkMilestoneAsViewedProto.MilestoneLookupProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = MarkMilestoneAsViewedProto.protoMessageName + ".MilestoneLookupProto" +extension LobbyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LobbyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "milestone_id"), + 1: .standard(proto: "lobby_id"), + 2: .same(proto: "players"), + 3: .standard(proto: "player_join_end_ms"), + 4: .standard(proto: "pokemon_selection_end_ms"), + 5: .standard(proto: "raid_battle_start_ms"), + 6: .standard(proto: "raid_battle_end_ms"), + 8: .standard(proto: "raid_battle_id"), + 9: .standard(proto: "owner_nickname"), + 10: .same(proto: "private"), + 11: .standard(proto: "creation_ms"), + 12: .standard(proto: "battle_plfe_instance"), + 13: .standard(proto: "weather_condition"), + 14: .standard(proto: "invited_player_ids"), + 15: .standard(proto: "is_shard_manager_battle_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236138,35 +246824,95 @@ extension MarkMilestoneAsViewedProto.MilestoneLookupProto: SwiftProtobuf.Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.milestoneID) }() + case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.players) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.playerJoinEndMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.pokemonSelectionEndMs) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.raidBattleStartMs) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.raidBattleEndMs) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.raidBattleID) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.ownerNickname) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.`private`) }() + case 11: try { try decoder.decodeSingularInt64Field(value: &self.creationMs) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.battlePlfeInstance) }() + case 13: try { try decoder.decodeSingularEnumField(value: &self.weatherCondition) }() + case 14: try { try decoder.decodeRepeatedStringField(value: &self.invitedPlayerIds) }() + case 15: try { try decoder.decodeSingularBoolField(value: &self.isShardManagerBattleEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + if !self.lobbyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 1) } - if !self.milestoneID.isEmpty { - try visitor.visitSingularStringField(value: self.milestoneID, fieldNumber: 2) + if !self.players.isEmpty { + try visitor.visitRepeatedMessageField(value: self.players, fieldNumber: 2) + } + if self.playerJoinEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.playerJoinEndMs, fieldNumber: 3) + } + if self.pokemonSelectionEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.pokemonSelectionEndMs, fieldNumber: 4) + } + if self.raidBattleStartMs != 0 { + try visitor.visitSingularInt64Field(value: self.raidBattleStartMs, fieldNumber: 5) + } + if self.raidBattleEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.raidBattleEndMs, fieldNumber: 6) + } + if !self.raidBattleID.isEmpty { + try visitor.visitSingularStringField(value: self.raidBattleID, fieldNumber: 8) + } + if !self.ownerNickname.isEmpty { + try visitor.visitSingularStringField(value: self.ownerNickname, fieldNumber: 9) + } + if self.`private` != false { + try visitor.visitSingularBoolField(value: self.`private`, fieldNumber: 10) + } + if self.creationMs != 0 { + try visitor.visitSingularInt64Field(value: self.creationMs, fieldNumber: 11) + } + if self.battlePlfeInstance != 0 { + try visitor.visitSingularInt32Field(value: self.battlePlfeInstance, fieldNumber: 12) + } + if self.weatherCondition != .none { + try visitor.visitSingularEnumField(value: self.weatherCondition, fieldNumber: 13) + } + if !self.invitedPlayerIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.invitedPlayerIds, fieldNumber: 14) + } + if self.isShardManagerBattleEnabled != false { + try visitor.visitSingularBoolField(value: self.isShardManagerBattleEnabled, fieldNumber: 15) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MarkMilestoneAsViewedProto.MilestoneLookupProto, rhs: MarkMilestoneAsViewedProto.MilestoneLookupProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.milestoneID != rhs.milestoneID {return false} + public static func ==(lhs: LobbyProto, rhs: LobbyProto) -> Bool { + if lhs.lobbyID != rhs.lobbyID {return false} + if lhs.players != rhs.players {return false} + if lhs.playerJoinEndMs != rhs.playerJoinEndMs {return false} + if lhs.pokemonSelectionEndMs != rhs.pokemonSelectionEndMs {return false} + if lhs.raidBattleStartMs != rhs.raidBattleStartMs {return false} + if lhs.raidBattleEndMs != rhs.raidBattleEndMs {return false} + if lhs.raidBattleID != rhs.raidBattleID {return false} + if lhs.ownerNickname != rhs.ownerNickname {return false} + if lhs.`private` != rhs.`private` {return false} + if lhs.creationMs != rhs.creationMs {return false} + if lhs.battlePlfeInstance != rhs.battlePlfeInstance {return false} + if lhs.weatherCondition != rhs.weatherCondition {return false} + if lhs.invitedPlayerIds != rhs.invitedPlayerIds {return false} + if lhs.isShardManagerBattleEnabled != rhs.isShardManagerBattleEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MarkNewsfeedReadRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MarkNewsfeedReadRequest" +extension LobbyVisibilityData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LobbyVisibilityData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "newsfeed_post_id"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236175,30 +246921,32 @@ extension MarkNewsfeedReadRequest: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.newsfeedPostID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.newsfeedPostID.isEmpty { - try visitor.visitRepeatedStringField(value: self.newsfeedPostID, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MarkNewsfeedReadRequest, rhs: MarkNewsfeedReadRequest) -> Bool { - if lhs.newsfeedPostID != rhs.newsfeedPostID {return false} + public static func ==(lhs: LobbyVisibilityData, rhs: LobbyVisibilityData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MarkNewsfeedReadResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MarkNewsfeedReadResponse" +extension LobbyVisibilityResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LobbyVisibilityResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), + 2: .standard(proto: "rpc_id"), + 3: .standard(proto: "round_trip_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236208,6 +246956,8 @@ extension MarkNewsfeedReadResponse: SwiftProtobuf.Message, SwiftProtobuf._Messag // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() default: break } } @@ -236217,32 +246967,28 @@ extension MarkNewsfeedReadResponse: SwiftProtobuf.Message, SwiftProtobuf._Messag if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 2) + } + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MarkNewsfeedReadResponse, rhs: MarkNewsfeedReadResponse) -> Bool { + public static func ==(lhs: LobbyVisibilityResponseData, rhs: LobbyVisibilityResponseData) -> Bool { if lhs.result != rhs.result {return false} + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MarkNewsfeedReadResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "INTERNAL_ERROR"), - 3: .same(proto: "CHANNEL_NOT_DEFINED"), - 4: .same(proto: "EMPTY_NEWSFEED_LIST"), - 5: .same(proto: "EMPTY_PLAYER_ID"), - 6: .same(proto: "EMPTY_APP_ID"), - ] -} - -extension MarkReadNewsArticleOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MarkReadNewsArticleOutProto" +extension LocationCardDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LocationCardDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .standard(proto: "location_card"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236251,38 +246997,30 @@ extension MarkReadNewsArticleOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.locationCard) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.locationCard != .unset { + try visitor.visitSingularEnumField(value: self.locationCard, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MarkReadNewsArticleOutProto, rhs: MarkReadNewsArticleOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: LocationCardDisplayProto, rhs: LocationCardDisplayProto) -> Bool { + if lhs.locationCard != rhs.locationCard {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MarkReadNewsArticleOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "NO_NEWS_FOUND"), - ] -} - -extension MarkReadNewsArticleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MarkReadNewsArticleProto" +extension LocationCardFeatureSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LocationCardFeatureSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "news_ids"), + 1: .same(proto: "enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236291,31 +247029,31 @@ extension MarkReadNewsArticleProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.newsIds) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.newsIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.newsIds, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MarkReadNewsArticleProto, rhs: MarkReadNewsArticleProto) -> Bool { - if lhs.newsIds != rhs.newsIds {return false} + public static func ==(lhs: LocationCardFeatureSettingsProto, rhs: LocationCardFeatureSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MarkTutorialCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MarkTutorialCompleteOutProto" +extension LocationCardSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LocationCardSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "success"), - 2: .same(proto: "player"), + 1: .standard(proto: "location_card"), + 2: .standard(proto: "image_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236324,41 +247062,36 @@ extension MarkTutorialCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._player) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.locationCard) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.success != false { - try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) + if self.locationCard != .unset { + try visitor.visitSingularEnumField(value: self.locationCard, fieldNumber: 1) + } + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 2) } - try { if let v = self._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MarkTutorialCompleteOutProto, rhs: MarkTutorialCompleteOutProto) -> Bool { - if lhs.success != rhs.success {return false} - if lhs._player != rhs._player {return false} + public static func ==(lhs: LocationCardSettingsProto, rhs: LocationCardSettingsProto) -> Bool { + if lhs.locationCard != rhs.locationCard {return false} + if lhs.imageURL != rhs.imageURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MarkTutorialCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MarkTutorialCompleteProto" +extension LocationE6Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LocationE6Proto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "tutorial_complete"), - 2: .standard(proto: "send_marketing_emails"), - 3: .standard(proto: "send_push_notifications"), + 1: .standard(proto: "latitude_e6"), + 2: .standard(proto: "longitude_e6"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236367,41 +247100,55 @@ extension MarkTutorialCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.tutorialComplete) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.sendMarketingEmails) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.sendPushNotifications) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.latitudeE6) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.longitudeE6) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.tutorialComplete.isEmpty { - try visitor.visitPackedEnumField(value: self.tutorialComplete, fieldNumber: 1) + if self.latitudeE6 != 0 { + try visitor.visitSingularInt32Field(value: self.latitudeE6, fieldNumber: 1) } - if self.sendMarketingEmails != false { - try visitor.visitSingularBoolField(value: self.sendMarketingEmails, fieldNumber: 2) + if self.longitudeE6 != 0 { + try visitor.visitSingularInt32Field(value: self.longitudeE6, fieldNumber: 2) } - if self.sendPushNotifications != false { - try visitor.visitSingularBoolField(value: self.sendPushNotifications, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: LocationE6Proto, rhs: LocationE6Proto) -> Bool { + if lhs.latitudeE6 != rhs.latitudeE6 {return false} + if lhs.longitudeE6 != rhs.longitudeE6 {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension LocationPingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LocationPingOutProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MarkTutorialCompleteProto, rhs: MarkTutorialCompleteProto) -> Bool { - if lhs.tutorialComplete != rhs.tutorialComplete {return false} - if lhs.sendMarketingEmails != rhs.sendMarketingEmails {return false} - if lhs.sendPushNotifications != rhs.sendPushNotifications {return false} + public static func ==(lhs: LocationPingOutProto, rhs: LocationPingOutProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MaskedColor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MaskedColor" +extension LocationPingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LocationPingProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "color_argb"), - 2: .standard(proto: "color_mask_argb"), + 1: .standard(proto: "geofence_identifier"), + 2: .same(proto: "reason"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236410,38 +247157,54 @@ extension MaskedColor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.colorArgb) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.colorMaskArgb) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.geofenceIdentifier) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.reason) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.colorArgb != 0 { - try visitor.visitSingularUInt32Field(value: self.colorArgb, fieldNumber: 1) + if !self.geofenceIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.geofenceIdentifier, fieldNumber: 1) } - if self.colorMaskArgb != 0 { - try visitor.visitSingularUInt32Field(value: self.colorMaskArgb, fieldNumber: 2) + if self.reason != .unset { + try visitor.visitSingularEnumField(value: self.reason, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MaskedColor, rhs: MaskedColor) -> Bool { - if lhs.colorArgb != rhs.colorArgb {return false} - if lhs.colorMaskArgb != rhs.colorMaskArgb {return false} + public static func ==(lhs: LocationPingProto, rhs: LocationPingProto) -> Bool { + if lhs.geofenceIdentifier != rhs.geofenceIdentifier {return false} + if lhs.reason != rhs.reason {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MegaEvoGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaEvoGlobalSettingsProto" +extension LocationPingProto.PingReason: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "enable_friends_list_mega_info"), - 3: .standard(proto: "ob_mega_evo_bool_1"), - 4: .standard(proto: "ob_mega_evo_bool_2"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ENTRANCE_EVENT"), + 2: .same(proto: "EXIT_EVENT"), + 3: .same(proto: "DWELL_EVENT"), + 4: .same(proto: "VISIT_EVENT"), + 5: .same(proto: "FITNESS_WAKEUP"), + 6: .same(proto: "OTHER_WAKEUP"), + ] +} + +extension LocationPingUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LocationPingUpdateProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "geofence_identifier"), + 3: .same(proto: "reason"), + 4: .standard(proto: "timestamp_ms"), + 5: .standard(proto: "latitude_deg"), + 6: .standard(proto: "longitude_deg"), + 7: .standard(proto: "app_is_foregrounded"), + 8: .standard(proto: "time_zone"), + 9: .standard(proto: "time_zone_offset_min"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236450,251 +247213,551 @@ extension MegaEvoGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.enableFriendsListMegaInfo) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obMegaEvoBool1) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obMegaEvoBool2) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.geofenceIdentifier) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.reason) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.latitudeDeg) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.longitudeDeg) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.appIsForegrounded) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.timeZone) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.timeZoneOffsetMin) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if !self.geofenceIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.geofenceIdentifier, fieldNumber: 1) } - if self.enableFriendsListMegaInfo != false { - try visitor.visitSingularBoolField(value: self.enableFriendsListMegaInfo, fieldNumber: 2) + if self.reason != .unset { + try visitor.visitSingularEnumField(value: self.reason, fieldNumber: 3) + } + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 4) + } + if self.latitudeDeg != 0 { + try visitor.visitSingularDoubleField(value: self.latitudeDeg, fieldNumber: 5) + } + if self.longitudeDeg != 0 { + try visitor.visitSingularDoubleField(value: self.longitudeDeg, fieldNumber: 6) + } + if self.appIsForegrounded != false { + try visitor.visitSingularBoolField(value: self.appIsForegrounded, fieldNumber: 7) } - if self.obMegaEvoBool1 != false { - try visitor.visitSingularBoolField(value: self.obMegaEvoBool1, fieldNumber: 3) + if !self.timeZone.isEmpty { + try visitor.visitSingularStringField(value: self.timeZone, fieldNumber: 8) } - if self.obMegaEvoBool2 != false { - try visitor.visitSingularBoolField(value: self.obMegaEvoBool2, fieldNumber: 4) + if self.timeZoneOffsetMin != 0 { + try visitor.visitSingularInt32Field(value: self.timeZoneOffsetMin, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MegaEvoGlobalSettingsProto, rhs: MegaEvoGlobalSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.enableFriendsListMegaInfo != rhs.enableFriendsListMegaInfo {return false} - if lhs.obMegaEvoBool1 != rhs.obMegaEvoBool1 {return false} - if lhs.obMegaEvoBool2 != rhs.obMegaEvoBool2 {return false} + public static func ==(lhs: LocationPingUpdateProto, rhs: LocationPingUpdateProto) -> Bool { + if lhs.geofenceIdentifier != rhs.geofenceIdentifier {return false} + if lhs.reason != rhs.reason {return false} + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs.latitudeDeg != rhs.latitudeDeg {return false} + if lhs.longitudeDeg != rhs.longitudeDeg {return false} + if lhs.appIsForegrounded != rhs.appIsForegrounded {return false} + if lhs.timeZone != rhs.timeZone {return false} + if lhs.timeZoneOffsetMin != rhs.timeZoneOffsetMin {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MegaEvoInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaEvoInfoProto" +extension LocationPingUpdateProto.PingReason: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokedex_id"), - 2: .standard(proto: "temp_evo_id"), - 3: .standard(proto: "evo_expiration_time_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ENTRANCE_EVENT"), + 2: .same(proto: "EXIT_EVENT"), + 3: .same(proto: "DWELL_EVENT"), + 4: .same(proto: "VISIT_EVENT"), + 5: .same(proto: "FITNESS_WAKEUP"), + 6: .same(proto: "OTHER_WAKEUP"), + ] +} + +extension LogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LogEntry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 2: .standard(proto: "join_lobby_data"), + 3: .standard(proto: "join_lobby_response_data"), + 4: .standard(proto: "leave_lobby_data"), + 5: .standard(proto: "leave_lobby_response_data"), + 6: .standard(proto: "lobby_visibility_data"), + 7: .standard(proto: "lobby_visibility_response_data"), + 8: .standard(proto: "get_raid_details_data"), + 9: .standard(proto: "get_raid_details_response_data"), + 10: .standard(proto: "start_raid_battle_data"), + 11: .standard(proto: "start_raid_battle_response_data"), + 12: .standard(proto: "attack_raid_data"), + 13: .standard(proto: "attack_raid_response_data"), + 14: .standard(proto: "send_raid_invitation_data"), + 15: .standard(proto: "send_raid_invitation_response_data"), + 16: .standard(proto: "on_application_focus_data"), + 17: .standard(proto: "on_application_pause_data"), + 18: .standard(proto: "on_application_quit_data"), + 19: .standard(proto: "exception_caught_data"), + 20: .standard(proto: "progress_token_data"), + 21: .standard(proto: "rpc_error_data"), + 22: .standard(proto: "client_prediction_inconsistency_data"), + 23: .standard(proto: "raid_end_data"), + 1: .same(proto: "header"), ] + fileprivate class _StorageClass { + var _data: LogEntry.OneOf_Data? + var _header: LogEntry.LogEntryHeader? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _data = source._data + _header = source._header + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.tempEvoID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.evoExpirationTimeMs) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &_storage._header) }() + case 2: try { + var v: JoinLobbyData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .joinLobbyData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .joinLobbyData(v) + } + }() + case 3: try { + var v: JoinLobbyResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .joinLobbyResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .joinLobbyResponseData(v) + } + }() + case 4: try { + var v: LeaveLobbyData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .leaveLobbyData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .leaveLobbyData(v) + } + }() + case 5: try { + var v: LeaveLobbyResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .leaveLobbyResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .leaveLobbyResponseData(v) + } + }() + case 6: try { + var v: LobbyVisibilityData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .lobbyVisibilityData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .lobbyVisibilityData(v) + } + }() + case 7: try { + var v: LobbyVisibilityResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .lobbyVisibilityResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .lobbyVisibilityResponseData(v) + } + }() + case 8: try { + var v: GetRaidDetailsData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .getRaidDetailsData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .getRaidDetailsData(v) + } + }() + case 9: try { + var v: GetRaidDetailsResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .getRaidDetailsResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .getRaidDetailsResponseData(v) + } + }() + case 10: try { + var v: StartRaidBattleData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .startRaidBattleData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .startRaidBattleData(v) + } + }() + case 11: try { + var v: StartRaidBattleResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .startRaidBattleResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .startRaidBattleResponseData(v) + } + }() + case 12: try { + var v: AttackRaidData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .attackRaidData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .attackRaidData(v) + } + }() + case 13: try { + var v: AttackRaidResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .attackRaidResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .attackRaidResponseData(v) + } + }() + case 14: try { + var v: SendRaidInvitationData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .sendRaidInvitationData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .sendRaidInvitationData(v) + } + }() + case 15: try { + var v: SendRaidInvitationResponseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .sendRaidInvitationResponseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .sendRaidInvitationResponseData(v) + } + }() + case 16: try { + var v: OnApplicationFocusData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .onApplicationFocusData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .onApplicationFocusData(v) + } + }() + case 17: try { + var v: OnApplicationPauseData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .onApplicationPauseData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .onApplicationPauseData(v) + } + }() + case 18: try { + var v: OnApplicationQuitData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .onApplicationQuitData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .onApplicationQuitData(v) + } + }() + case 19: try { + var v: ExceptionCaughtData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .exceptionCaughtData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .exceptionCaughtData(v) + } + }() + case 20: try { + var v: ProgressTokenData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .progressTokenData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .progressTokenData(v) + } + }() + case 21: try { + var v: RpcErrorData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .rpcErrorData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .rpcErrorData(v) + } + }() + case 22: try { + var v: ClientPredictionInconsistencyData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .clientPredictionInconsistencyData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .clientPredictionInconsistencyData(v) + } + }() + case 23: try { + var v: RaidEndData? + var hadOneofValue = false + if let current = _storage._data { + hadOneofValue = true + if case .raidEndData(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._data = .raidEndData(v) + } + }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) - } - if self.tempEvoID != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: self.tempEvoID, fieldNumber: 2) - } - if self.evoExpirationTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.evoExpirationTimeMs, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MegaEvoInfoProto, rhs: MegaEvoInfoProto) -> Bool { - if lhs.pokedexID != rhs.pokedexID {return false} - if lhs.tempEvoID != rhs.tempEvoID {return false} - if lhs.evoExpirationTimeMs != rhs.evoExpirationTimeMs {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension MegaEvoSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaEvoSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "evolution_length_ms"), - 2: .standard(proto: "attack_boost_from_mega_different_type"), - 3: .standard(proto: "attack_boost_from_mega_same_type"), - 4: .standard(proto: "max_candy_hoard_size"), - 5: .standard(proto: "enable_buddy_walking_mega_energy_award"), - 6: .standard(proto: "active_mega_bonus_catch_candy"), - 7: .standard(proto: "ob_mega_evo_bool_1"), - 8: .standard(proto: "ob_mega_evo_bool_2"), - 9: .standard(proto: "max_mega_levels"), - 10: .standard(proto: "ob_mega_evo_int32_2"), - 11: .standard(proto: "mega_level_enabled"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.evolutionLengthMs) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.attackBoostFromMegaDifferentType) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.attackBoostFromMegaSameType) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxCandyHoardSize) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.enableBuddyWalkingMegaEnergyAward) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.activeMegaBonusCatchCandy) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obMegaEvoBool1) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.obMegaEvoBool2) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.maxMegaLevels) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &self.obMegaEvoInt322) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.megaLevelEnabled) }() - default: break + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = _storage._header { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + switch _storage._data { + case .joinLobbyData?: try { + guard case .joinLobbyData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .joinLobbyResponseData?: try { + guard case .joinLobbyResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .leaveLobbyData?: try { + guard case .leaveLobbyData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .leaveLobbyResponseData?: try { + guard case .leaveLobbyResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .lobbyVisibilityData?: try { + guard case .lobbyVisibilityData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + }() + case .lobbyVisibilityResponseData?: try { + guard case .lobbyVisibilityResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + }() + case .getRaidDetailsData?: try { + guard case .getRaidDetailsData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + }() + case .getRaidDetailsResponseData?: try { + guard case .getRaidDetailsResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + }() + case .startRaidBattleData?: try { + guard case .startRaidBattleData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + }() + case .startRaidBattleResponseData?: try { + guard case .startRaidBattleResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + }() + case .attackRaidData?: try { + guard case .attackRaidData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + }() + case .attackRaidResponseData?: try { + guard case .attackRaidResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + }() + case .sendRaidInvitationData?: try { + guard case .sendRaidInvitationData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 14) + }() + case .sendRaidInvitationResponseData?: try { + guard case .sendRaidInvitationResponseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + }() + case .onApplicationFocusData?: try { + guard case .onApplicationFocusData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + }() + case .onApplicationPauseData?: try { + guard case .onApplicationPauseData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 17) + }() + case .onApplicationQuitData?: try { + guard case .onApplicationQuitData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 18) + }() + case .exceptionCaughtData?: try { + guard case .exceptionCaughtData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 19) + }() + case .progressTokenData?: try { + guard case .progressTokenData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 20) + }() + case .rpcErrorData?: try { + guard case .rpcErrorData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 21) + }() + case .clientPredictionInconsistencyData?: try { + guard case .clientPredictionInconsistencyData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 22) + }() + case .raidEndData?: try { + guard case .raidEndData(let v)? = _storage._data else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 23) + }() + case nil: break } } - } - - public func traverse(visitor: inout V) throws { - if self.evolutionLengthMs != 0 { - try visitor.visitSingularInt64Field(value: self.evolutionLengthMs, fieldNumber: 1) - } - if self.attackBoostFromMegaDifferentType != 0 { - try visitor.visitSingularFloatField(value: self.attackBoostFromMegaDifferentType, fieldNumber: 2) - } - if self.attackBoostFromMegaSameType != 0 { - try visitor.visitSingularFloatField(value: self.attackBoostFromMegaSameType, fieldNumber: 3) - } - if self.maxCandyHoardSize != 0 { - try visitor.visitSingularInt32Field(value: self.maxCandyHoardSize, fieldNumber: 4) - } - if self.enableBuddyWalkingMegaEnergyAward != false { - try visitor.visitSingularBoolField(value: self.enableBuddyWalkingMegaEnergyAward, fieldNumber: 5) - } - if self.activeMegaBonusCatchCandy != 0 { - try visitor.visitSingularInt32Field(value: self.activeMegaBonusCatchCandy, fieldNumber: 6) - } - if self.obMegaEvoBool1 != false { - try visitor.visitSingularBoolField(value: self.obMegaEvoBool1, fieldNumber: 7) - } - if self.obMegaEvoBool2 != false { - try visitor.visitSingularBoolField(value: self.obMegaEvoBool2, fieldNumber: 8) - } - if self.maxMegaLevels != 0 { - try visitor.visitSingularInt32Field(value: self.maxMegaLevels, fieldNumber: 9) - } - if self.obMegaEvoInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obMegaEvoInt322, fieldNumber: 10) - } - if self.megaLevelEnabled != false { - try visitor.visitSingularBoolField(value: self.megaLevelEnabled, fieldNumber: 11) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MegaEvoSettingsProto, rhs: MegaEvoSettingsProto) -> Bool { - if lhs.evolutionLengthMs != rhs.evolutionLengthMs {return false} - if lhs.attackBoostFromMegaDifferentType != rhs.attackBoostFromMegaDifferentType {return false} - if lhs.attackBoostFromMegaSameType != rhs.attackBoostFromMegaSameType {return false} - if lhs.maxCandyHoardSize != rhs.maxCandyHoardSize {return false} - if lhs.enableBuddyWalkingMegaEnergyAward != rhs.enableBuddyWalkingMegaEnergyAward {return false} - if lhs.activeMegaBonusCatchCandy != rhs.activeMegaBonusCatchCandy {return false} - if lhs.obMegaEvoBool1 != rhs.obMegaEvoBool1 {return false} - if lhs.obMegaEvoBool2 != rhs.obMegaEvoBool2 {return false} - if lhs.maxMegaLevels != rhs.maxMegaLevels {return false} - if lhs.obMegaEvoInt322 != rhs.obMegaEvoInt322 {return false} - if lhs.megaLevelEnabled != rhs.megaLevelEnabled {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension MegaEvolvePokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaEvolvePokemonOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "evolved_pokemon"), - 3: .standard(proto: "exp_awarded"), - 4: .standard(proto: "ob_mega_evole_pokemon"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._evolvedPokemon) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.expAwarded) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._obMegaEvolePokemon) }() - default: break + public static func ==(lhs: LogEntry, rhs: LogEntry) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._data != rhs_storage._data {return false} + if _storage._header != rhs_storage._header {return false} + return true } + if !storagesAreEqual {return false} } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._evolvedPokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.expAwarded != 0 { - try visitor.visitSingularInt32Field(value: self.expAwarded, fieldNumber: 3) - } - try { if let v = self._obMegaEvolePokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MegaEvolvePokemonOutProto, rhs: MegaEvolvePokemonOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._evolvedPokemon != rhs._evolvedPokemon {return false} - if lhs.expAwarded != rhs.expAwarded {return false} - if lhs._obMegaEvolePokemon != rhs._obMegaEvolePokemon {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MegaEvolvePokemonOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILED_POKEMON_MISSING"), - 3: .same(proto: "FAILED_INSUFFICIENT_RESOURCES"), - 4: .same(proto: "FAILED_POKEMON_CANNOT_EVOLVE"), - 5: .same(proto: "FAILED_POKEMON_IS_DEPLOYED"), - 6: .same(proto: "FAILED_INVALID_ITEM_REQUIREMENT"), - 7: .same(proto: "FAILED_POKEMON_ALREADY_MEGA_EVOLVED"), - ] -} - -extension MegaEvolvePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaEvolvePokemonProto" +extension LogEntry.LogEntryHeader: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = LogEntry.protoMessageName + ".LogEntryHeader" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "temp_evo_id"), - 3: .standard(proto: "ob_mega_evole_pokemon"), - 4: .standard(proto: "ob_mode"), + 1: .same(proto: "type"), + 2: .standard(proto: "time_now_offset_ms"), + 3: .standard(proto: "client_server_time_offset_ms"), + 4: .standard(proto: "player_distance_to_gym"), + 5: .standard(proto: "frame_rate"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236703,137 +247766,81 @@ extension MegaEvolvePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.tempEvoID) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obMegaEvolePokemon) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.obMode) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.timeNowOffsetMs) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.clientServerTimeOffsetMs) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.playerDistanceToGym) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.frameRate) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) - } - if self.tempEvoID != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: self.tempEvoID, fieldNumber: 2) - } - if self.obMegaEvolePokemon != false { - try visitor.visitSingularBoolField(value: self.obMegaEvolePokemon, fieldNumber: 3) + if self.type != .noType { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } - if self.obMode != .unset { - try visitor.visitSingularEnumField(value: self.obMode, fieldNumber: 4) + if self.timeNowOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.timeNowOffsetMs, fieldNumber: 2) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MegaEvolvePokemonProto, rhs: MegaEvolvePokemonProto) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.tempEvoID != rhs.tempEvoID {return false} - if lhs.obMegaEvolePokemon != rhs.obMegaEvolePokemon {return false} - if lhs.obMode != rhs.obMode {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension MegaEvolvePokemonSpeciesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaEvolvePokemonSpeciesProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "energy_count"), - 2: .standard(proto: "pokemon_species_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.energyCount) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokemonSpeciesID) }() - default: break - } + if self.clientServerTimeOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.clientServerTimeOffsetMs, fieldNumber: 3) } - } - - public func traverse(visitor: inout V) throws { - if self.energyCount != 0 { - try visitor.visitSingularInt32Field(value: self.energyCount, fieldNumber: 1) + if self.playerDistanceToGym != 0 { + try visitor.visitSingularFloatField(value: self.playerDistanceToGym, fieldNumber: 4) } - if self.pokemonSpeciesID != 0 { - try visitor.visitSingularInt32Field(value: self.pokemonSpeciesID, fieldNumber: 2) + if self.frameRate != 0 { + try visitor.visitSingularFloatField(value: self.frameRate, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MegaEvolvePokemonSpeciesProto, rhs: MegaEvolvePokemonSpeciesProto) -> Bool { - if lhs.energyCount != rhs.energyCount {return false} - if lhs.pokemonSpeciesID != rhs.pokemonSpeciesID {return false} + public static func ==(lhs: LogEntry.LogEntryHeader, rhs: LogEntry.LogEntryHeader) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.timeNowOffsetMs != rhs.timeNowOffsetMs {return false} + if lhs.clientServerTimeOffsetMs != rhs.clientServerTimeOffsetMs {return false} + if lhs.playerDistanceToGym != rhs.playerDistanceToGym {return false} + if lhs.frameRate != rhs.frameRate {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MegaLevelCooldownSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaLevelCooldownSettingsProto" +extension LogEntry.LogEntryHeader.LogType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "duration_ms"), - 2: .standard(proto: "max_mega_candy_required"), - 3: .standard(proto: "ob_int32_2"), - 4: .standard(proto: "ob_int32_3"), + 0: .same(proto: "NO_TYPE"), + 1: .same(proto: "JOIN_LOBBY_REQUEST"), + 2: .same(proto: "JOIN_LOBBY_RESPONSE"), + 3: .same(proto: "LEAVE_LOBBY_REQUEST"), + 4: .same(proto: "LEAVE_LOBBY_RESPONSE"), + 5: .same(proto: "LOBBY_VISIBILITY_REQUEST"), + 6: .same(proto: "LOBBY_VISIBILITY_RESPONSE"), + 7: .same(proto: "GET_RAID_DETAILS_REQUEST"), + 8: .same(proto: "GET_RAID_DETAILS_RESPONSE"), + 9: .same(proto: "START_RAID_BATTLE_REQUEST"), + 10: .same(proto: "START_RAID_BATTLE_RESPONSE"), + 11: .same(proto: "ATTACK_RAID_REQUEST"), + 12: .same(proto: "ATTACK_RAID_RESPONSE"), + 13: .same(proto: "SEND_RAID_INVITATION_REQUEST"), + 14: .same(proto: "SEND_RAID_INVITATION_RESPONSE"), + 15: .same(proto: "ON_APPLICATION_FOCUS"), + 16: .same(proto: "ON_APPLICATION_PAUSE"), + 17: .same(proto: "ON_APPLICATION_QUIT"), + 18: .same(proto: "EXCEPTION_CAUGHT"), + 19: .same(proto: "PROGRESS_TOKEN"), + 20: .same(proto: "RPC_ERROR"), + 21: .same(proto: "CLIENT_PREDICTION_INCONSISTENCY"), + 22: .same(proto: "PLAYER_END_RAID"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.durationMs) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxMegaCandyRequired) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.durationMs != 0 { - try visitor.visitSingularInt64Field(value: self.durationMs, fieldNumber: 1) - } - if self.maxMegaCandyRequired != 0 { - try visitor.visitSingularInt32Field(value: self.maxMegaCandyRequired, fieldNumber: 2) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 3) - } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MegaLevelCooldownSettingsProto, rhs: MegaLevelCooldownSettingsProto) -> Bool { - if lhs.durationMs != rhs.durationMs {return false} - if lhs.maxMegaCandyRequired != rhs.maxMegaCandyRequired {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension MegaLevelPerksProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaLevelPerksProto" +extension LogMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LogMessage" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "mega_perk_attack_boost_from_mega_different_type"), - 2: .standard(proto: "mega_perk_attack_boost_from_mega_same_type"), - 3: .standard(proto: "mega_perk_active_mega_bonus_catch_candy"), - 4: .standard(proto: "mega_perk_xp_catch_bonus"), - 5: .standard(proto: "mega_perk_xl_candy_bonus_chance"), + 1: .standard(proto: "timestamp_ms"), + 2: .standard(proto: "log_level"), + 3: .standard(proto: "log_channel"), + 4: .same(proto: "message"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236842,112 +247849,64 @@ extension MegaLevelPerksProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.megaPerkAttackBoostFromMegaDifferentType) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.megaPerkAttackBoostFromMegaSameType) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.megaPerkActiveMegaBonusCatchCandy) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.megaPerkXpCatchBonus) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.megaPerkXlCandyBonusChance) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.logLevel) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.logChannel) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.message) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.megaPerkAttackBoostFromMegaDifferentType != 0 { - try visitor.visitSingularFloatField(value: self.megaPerkAttackBoostFromMegaDifferentType, fieldNumber: 1) - } - if self.megaPerkAttackBoostFromMegaSameType != 0 { - try visitor.visitSingularFloatField(value: self.megaPerkAttackBoostFromMegaSameType, fieldNumber: 2) + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) } - if self.megaPerkActiveMegaBonusCatchCandy != 0 { - try visitor.visitSingularInt32Field(value: self.megaPerkActiveMegaBonusCatchCandy, fieldNumber: 3) + if self.logLevel != .unset { + try visitor.visitSingularEnumField(value: self.logLevel, fieldNumber: 2) } - if self.megaPerkXpCatchBonus != 0 { - try visitor.visitSingularInt32Field(value: self.megaPerkXpCatchBonus, fieldNumber: 4) + if !self.logChannel.isEmpty { + try visitor.visitSingularStringField(value: self.logChannel, fieldNumber: 3) } - if self.megaPerkXlCandyBonusChance != 0 { - try visitor.visitSingularFloatField(value: self.megaPerkXlCandyBonusChance, fieldNumber: 5) + if !self.message.isEmpty { + try visitor.visitSingularStringField(value: self.message, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MegaLevelPerksProto, rhs: MegaLevelPerksProto) -> Bool { - if lhs.megaPerkAttackBoostFromMegaDifferentType != rhs.megaPerkAttackBoostFromMegaDifferentType {return false} - if lhs.megaPerkAttackBoostFromMegaSameType != rhs.megaPerkAttackBoostFromMegaSameType {return false} - if lhs.megaPerkActiveMegaBonusCatchCandy != rhs.megaPerkActiveMegaBonusCatchCandy {return false} - if lhs.megaPerkXpCatchBonus != rhs.megaPerkXpCatchBonus {return false} - if lhs.megaPerkXlCandyBonusChance != rhs.megaPerkXlCandyBonusChance {return false} + public static func ==(lhs: LogMessage, rhs: LogMessage) -> Bool { + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs.logLevel != rhs.logLevel {return false} + if lhs.logChannel != rhs.logChannel {return false} + if lhs.message != rhs.message {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MegaLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaLevelSettingsProto" +extension LogMessage.LogLevel: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "level"), - 2: .standard(proto: "pokemon_id"), - 3: .standard(proto: "mega_level_unlock_settings"), - 4: .standard(proto: "mega_level_cooldown_settings"), - 5: .standard(proto: "mega_level_perks"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "FATAL"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "WARNING"), + 4: .same(proto: "INFO"), + 5: .same(proto: "VERBOSE"), + 6: .same(proto: "TRACE"), + 7: .same(proto: "DISABLED"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.level) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._megaLevelUnlockSettings) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._megaLevelCooldownSettings) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._megaLevelPerks) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.level != 0 { - try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 1) - } - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 2) - } - try { if let v = self._megaLevelUnlockSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._megaLevelCooldownSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = self._megaLevelPerks { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MegaLevelSettingsProto, rhs: MegaLevelSettingsProto) -> Bool { - if lhs.level != rhs.level {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs._megaLevelUnlockSettings != rhs._megaLevelUnlockSettings {return false} - if lhs._megaLevelCooldownSettings != rhs._megaLevelCooldownSettings {return false} - if lhs._megaLevelPerks != rhs._megaLevelPerks {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension MegaLevelUnlockSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MegaLevelUnlockSettingsProto" +extension LoginActionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoginActionTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "mega_evolutions_required_to_unlock"), - 2: .standard(proto: "ob_int32_2"), - 3: .standard(proto: "ob_int32_3"), + 1: .standard(proto: "login_action_id"), + 2: .standard(proto: "first_time"), + 3: .same(proto: "success"), + 4: .standard(proto: "intent_existing"), + 5: .same(proto: "error"), + 6: .standard(proto: "auth_status"), + 7: .standard(proto: "selection_time"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -236956,122 +247915,63 @@ extension MegaLevelUnlockSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.megaEvolutionsRequiredToUnlock) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.loginActionID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.firstTime) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.intentExisting) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.error) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.authStatus) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.selectionTime) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.megaEvolutionsRequiredToUnlock != 0 { - try visitor.visitSingularInt32Field(value: self.megaEvolutionsRequiredToUnlock, fieldNumber: 1) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) - } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 3) + if self.loginActionID != .undefinedLoginAction { + try visitor.visitSingularEnumField(value: self.loginActionID, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MegaLevelUnlockSettingsProto, rhs: MegaLevelUnlockSettingsProto) -> Bool { - if lhs.megaEvolutionsRequiredToUnlock != rhs.megaEvolutionsRequiredToUnlock {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension MementoAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MementoAttributesProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 5: .standard(proto: "postcard_display"), - 1: .standard(proto: "memento_type"), - 2: .same(proto: "latitude"), - 3: .same(proto: "longitude"), - 4: .standard(proto: "added_timestamp_ms"), - 6: .standard(proto: "memento_hash"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.mementoType) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.addedTimestampMs) }() - case 5: try { - var v: PostcardDisplayProto? - var hadOneofValue = false - if let current = self.type { - hadOneofValue = true - if case .postcardDisplay(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.type = .postcardDisplay(v) - } - }() - case 6: try { try decoder.decodeSingularStringField(value: &self.mementoHash) }() - default: break - } + if self.firstTime != false { + try visitor.visitSingularBoolField(value: self.firstTime, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.mementoType != .mementoPostcard { - try visitor.visitSingularEnumField(value: self.mementoType, fieldNumber: 1) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 3) } - if self.latitude != 0 { - try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 2) + if self.intentExisting != false { + try visitor.visitSingularBoolField(value: self.intentExisting, fieldNumber: 4) } - if self.longitude != 0 { - try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 3) + if !self.error.isEmpty { + try visitor.visitSingularStringField(value: self.error, fieldNumber: 5) } - if self.addedTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.addedTimestampMs, fieldNumber: 4) + if !self.authStatus.isEmpty { + try visitor.visitSingularStringField(value: self.authStatus, fieldNumber: 6) } - try { if case .postcardDisplay(let v)? = self.type { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if !self.mementoHash.isEmpty { - try visitor.visitSingularStringField(value: self.mementoHash, fieldNumber: 6) + if self.selectionTime != 0 { + try visitor.visitSingularInt64Field(value: self.selectionTime, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MementoAttributesProto, rhs: MementoAttributesProto) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.mementoType != rhs.mementoType {return false} - if lhs.latitude != rhs.latitude {return false} - if lhs.longitude != rhs.longitude {return false} - if lhs.addedTimestampMs != rhs.addedTimestampMs {return false} - if lhs.mementoHash != rhs.mementoHash {return false} + public static func ==(lhs: LoginActionTelemetry, rhs: LoginActionTelemetry) -> Bool { + if lhs.loginActionID != rhs.loginActionID {return false} + if lhs.firstTime != rhs.firstTime {return false} + if lhs.success != rhs.success {return false} + if lhs.intentExisting != rhs.intentExisting {return false} + if lhs.error != rhs.error {return false} + if lhs.authStatus != rhs.authStatus {return false} + if lhs.selectionTime != rhs.selectionTime {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MessageFlag: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MessageFlag" +extension LoginDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoginDetail" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 3: .same(proto: "text"), - 6: .standard(proto: "image_id"), - 1: .standard(proto: "channel_url"), - 2: .standard(proto: "message_id"), - 4: .standard(proto: "flag_category"), + 1: .standard(proto: "identity_provider"), + 2: .same(proto: "email"), + 3: .standard(proto: "auth_provider_id"), + 4: .standard(proto: "third_party_username"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237080,111 +247980,45 @@ extension MessageFlag: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.channelURL) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.messageID) }() - case 3: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.content != nil {try decoder.handleConflictingOneOf()} - self.content = .text(v) - } - }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.flagCategory) }() - case 6: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.content != nil {try decoder.handleConflictingOneOf()} - self.content = .imageID(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.identityProvider) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.email) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.thirdPartyUsername) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.channelURL.isEmpty { - try visitor.visitSingularStringField(value: self.channelURL, fieldNumber: 1) - } - if self.messageID != 0 { - try visitor.visitSingularInt64Field(value: self.messageID, fieldNumber: 2) + if self.identityProvider != .unsetIdentityProvider { + try visitor.visitSingularEnumField(value: self.identityProvider, fieldNumber: 1) } - try { if case .text(let v)? = self.content { - try visitor.visitSingularStringField(value: v, fieldNumber: 3) - } }() - if self.flagCategory != .undefined { - try visitor.visitSingularEnumField(value: self.flagCategory, fieldNumber: 4) + if !self.email.isEmpty { + try visitor.visitSingularStringField(value: self.email, fieldNumber: 2) } - try { if case .imageID(let v)? = self.content { - try visitor.visitSingularStringField(value: v, fieldNumber: 6) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MessageFlag, rhs: MessageFlag) -> Bool { - if lhs.content != rhs.content {return false} - if lhs.channelURL != rhs.channelURL {return false} - if lhs.messageID != rhs.messageID {return false} - if lhs.flagCategory != rhs.flagCategory {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension MessageFlags: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MessageFlags" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "flag"), - 2: .standard(proto: "flagger_player_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._flag) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.flaggerPlayerID) }() - default: break - } + if !self.authProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 3) } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._flag { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.flaggerPlayerID.isEmpty { - try visitor.visitSingularStringField(value: self.flaggerPlayerID, fieldNumber: 2) + if !self.thirdPartyUsername.isEmpty { + try visitor.visitSingularStringField(value: self.thirdPartyUsername, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MessageFlags, rhs: MessageFlags) -> Bool { - if lhs._flag != rhs._flag {return false} - if lhs.flaggerPlayerID != rhs.flaggerPlayerID {return false} + public static func ==(lhs: LoginDetail, rhs: LoginDetail) -> Bool { + if lhs.identityProvider != rhs.identityProvider {return false} + if lhs.email != rhs.email {return false} + if lhs.authProviderID != rhs.authProviderID {return false} + if lhs.thirdPartyUsername != rhs.thirdPartyUsername {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MessageLogReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MessageLogReportData" +extension LoginNewPlayer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoginNewPlayer" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "message"), - 2: .standard(proto: "language_code"), - 3: .same(proto: "category"), + 1: .standard(proto: "method_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237193,43 +248027,30 @@ extension MessageLogReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.message) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.category) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.message.isEmpty { - try visitor.visitSingularStringField(value: self.message, fieldNumber: 1) - } - if !self.languageCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 2) - } - if !self.category.isEmpty { - try visitor.visitPackedEnumField(value: self.category, fieldNumber: 3) + if !self.methodName.isEmpty { + try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MessageLogReportData, rhs: MessageLogReportData) -> Bool { - if lhs.message != rhs.message {return false} - if lhs.languageCode != rhs.languageCode {return false} - if lhs.category != rhs.category {return false} + public static func ==(lhs: LoginNewPlayer, rhs: LoginNewPlayer) -> Bool { + if lhs.methodName != rhs.methodName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MessageOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MessageOptions" +extension LoginNewPlayerCreateAccount: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoginNewPlayerCreateAccount" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "message_set_wire_format"), - 2: .standard(proto: "no_standard_descriptor_accessor"), - 3: .same(proto: "deprecated"), - 4: .standard(proto: "map_entry"), + 1: .standard(proto: "method_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237238,47 +248059,30 @@ extension MessageOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.messageSetWireFormat) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.noStandardDescriptorAccessor) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.mapEntry) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.messageSetWireFormat != false { - try visitor.visitSingularBoolField(value: self.messageSetWireFormat, fieldNumber: 1) - } - if self.noStandardDescriptorAccessor != false { - try visitor.visitSingularBoolField(value: self.noStandardDescriptorAccessor, fieldNumber: 2) - } - if self.deprecated != false { - try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 3) - } - if self.mapEntry != false { - try visitor.visitSingularBoolField(value: self.mapEntry, fieldNumber: 4) + if !self.methodName.isEmpty { + try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MessageOptions, rhs: MessageOptions) -> Bool { - if lhs.messageSetWireFormat != rhs.messageSetWireFormat {return false} - if lhs.noStandardDescriptorAccessor != rhs.noStandardDescriptorAccessor {return false} - if lhs.deprecated != rhs.deprecated {return false} - if lhs.mapEntry != rhs.mapEntry {return false} + public static func ==(lhs: LoginNewPlayerCreateAccount, rhs: LoginNewPlayerCreateAccount) -> Bool { + if lhs.methodName != rhs.methodName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MessageProfanityReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MessageProfanityReportData" +extension LoginReturningPlayer: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoginReturningPlayer" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "reported_message"), - 2: .standard(proto: "language_code"), - 3: .same(proto: "category"), + 1: .standard(proto: "method_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237287,54 +248091,30 @@ extension MessageProfanityReportData: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.reportedMessage) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.category) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.reportedMessage.isEmpty { - try visitor.visitSingularStringField(value: self.reportedMessage, fieldNumber: 1) - } - if !self.languageCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 2) - } - if !self.category.isEmpty { - try visitor.visitPackedEnumField(value: self.category, fieldNumber: 3) + if !self.methodName.isEmpty { + try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MessageProfanityReportData, rhs: MessageProfanityReportData) -> Bool { - if lhs.reportedMessage != rhs.reportedMessage {return false} - if lhs.languageCode != rhs.languageCode {return false} - if lhs.category != rhs.category {return false} + public static func ==(lhs: LoginReturningPlayer, rhs: LoginReturningPlayer) -> Bool { + if lhs.methodName != rhs.methodName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MessagingClientEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MessagingClientEvent" +extension LoginReturningPlayerSignIn: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoginReturningPlayerSignIn" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "project_number"), - 2: .standard(proto: "message_id"), - 3: .standard(proto: "instance_id"), - 4: .standard(proto: "message_type"), - 5: .standard(proto: "sdk_platform"), - 6: .standard(proto: "package_name"), - 7: .standard(proto: "collapse_key"), - 8: .same(proto: "priority"), - 9: .same(proto: "ttl"), - 10: .same(proto: "topic"), - 11: .standard(proto: "bulk_id"), - 12: .same(proto: "event"), - 13: .standard(proto: "analytics_label"), - 14: .standard(proto: "campaign_id"), - 15: .standard(proto: "composer_label"), + 1: .standard(proto: "method_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237343,126 +248123,30 @@ extension MessagingClientEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.projectNumber) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.messageID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.instanceID) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.messageType) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.sdkPlatform) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.packageName) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.collapseKey) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.priority) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.ttl) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.topic) }() - case 11: try { try decoder.decodeSingularInt64Field(value: &self.bulkID) }() - case 12: try { try decoder.decodeSingularEnumField(value: &self.event) }() - case 13: try { try decoder.decodeSingularStringField(value: &self.analyticsLabel) }() - case 14: try { try decoder.decodeSingularInt64Field(value: &self.campaignID) }() - case 15: try { try decoder.decodeSingularStringField(value: &self.composerLabel) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.projectNumber != 0 { - try visitor.visitSingularInt64Field(value: self.projectNumber, fieldNumber: 1) - } - if !self.messageID.isEmpty { - try visitor.visitSingularStringField(value: self.messageID, fieldNumber: 2) - } - if !self.instanceID.isEmpty { - try visitor.visitSingularStringField(value: self.instanceID, fieldNumber: 3) - } - if self.messageType != .unknown { - try visitor.visitSingularEnumField(value: self.messageType, fieldNumber: 4) - } - if self.sdkPlatform != .unknownOs { - try visitor.visitSingularEnumField(value: self.sdkPlatform, fieldNumber: 5) - } - if !self.packageName.isEmpty { - try visitor.visitSingularStringField(value: self.packageName, fieldNumber: 6) - } - if !self.collapseKey.isEmpty { - try visitor.visitSingularStringField(value: self.collapseKey, fieldNumber: 7) - } - if self.priority != 0 { - try visitor.visitSingularInt32Field(value: self.priority, fieldNumber: 8) - } - if self.ttl != 0 { - try visitor.visitSingularInt32Field(value: self.ttl, fieldNumber: 9) - } - if !self.topic.isEmpty { - try visitor.visitSingularStringField(value: self.topic, fieldNumber: 10) - } - if self.bulkID != 0 { - try visitor.visitSingularInt64Field(value: self.bulkID, fieldNumber: 11) - } - if self.event != .unknownEvent { - try visitor.visitSingularEnumField(value: self.event, fieldNumber: 12) - } - if !self.analyticsLabel.isEmpty { - try visitor.visitSingularStringField(value: self.analyticsLabel, fieldNumber: 13) - } - if self.campaignID != 0 { - try visitor.visitSingularInt64Field(value: self.campaignID, fieldNumber: 14) - } - if !self.composerLabel.isEmpty { - try visitor.visitSingularStringField(value: self.composerLabel, fieldNumber: 15) + if !self.methodName.isEmpty { + try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MessagingClientEvent, rhs: MessagingClientEvent) -> Bool { - if lhs.projectNumber != rhs.projectNumber {return false} - if lhs.messageID != rhs.messageID {return false} - if lhs.instanceID != rhs.instanceID {return false} - if lhs.messageType != rhs.messageType {return false} - if lhs.sdkPlatform != rhs.sdkPlatform {return false} - if lhs.packageName != rhs.packageName {return false} - if lhs.collapseKey != rhs.collapseKey {return false} - if lhs.priority != rhs.priority {return false} - if lhs.ttl != rhs.ttl {return false} - if lhs.topic != rhs.topic {return false} - if lhs.bulkID != rhs.bulkID {return false} - if lhs.event != rhs.event {return false} - if lhs.analyticsLabel != rhs.analyticsLabel {return false} - if lhs.campaignID != rhs.campaignID {return false} - if lhs.composerLabel != rhs.composerLabel {return false} + public static func ==(lhs: LoginReturningPlayerSignIn, rhs: LoginReturningPlayerSignIn) -> Bool { + if lhs.methodName != rhs.methodName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MessagingClientEvent.MessageType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "DATA_MESSAGE"), - 2: .same(proto: "TOPIC"), - 3: .same(proto: "DISPLAY_NOTIFICATION"), - ] -} - -extension MessagingClientEvent.SDKPlatform: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_OS"), - 1: .same(proto: "ANDROID"), - 2: .same(proto: "IOS"), - 3: .same(proto: "WEB"), - ] -} - -extension MessagingClientEvent.Event: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_EVENT"), - 1: .same(proto: "MESSAGE_DELIVERED"), - 2: .same(proto: "MESSAGE_OPEN"), - ] -} - -extension MessagingClientEventExtension: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MessagingClientEventExtension" +extension LoginSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoginSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "messaging_client_event"), + 1: .standard(proto: "enable_multi_login_linking"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237471,39 +248155,30 @@ extension MessagingClientEventExtension: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._messagingClientEvent) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableMultiLoginLinking) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._messagingClientEvent { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() + if self.enableMultiLoginLinking != false { + try visitor.visitSingularBoolField(value: self.enableMultiLoginLinking, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MessagingClientEventExtension, rhs: MessagingClientEventExtension) -> Bool { - if lhs._messagingClientEvent != rhs._messagingClientEvent {return false} + public static func ==(lhs: LoginSettingsProto, rhs: LoginSettingsProto) -> Bool { + if lhs.enableMultiLoginLinking != rhs.enableMultiLoginLinking {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MethodDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MethodDescriptorProto" +extension LoginStartup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoginStartup" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .standard(proto: "input_type"), - 3: .standard(proto: "output_type"), - 4: .same(proto: "options"), - 5: .standard(proto: "client_streaming"), - 6: .standard(proto: "server_streaming"), + 1: .standard(proto: "method_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237512,59 +248187,30 @@ extension MethodDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.inputType) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.outputType) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._options) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.clientStreaming) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.serverStreaming) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.methodName) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.inputType.isEmpty { - try visitor.visitSingularStringField(value: self.inputType, fieldNumber: 2) - } - if !self.outputType.isEmpty { - try visitor.visitSingularStringField(value: self.outputType, fieldNumber: 3) - } - try { if let v = self._options { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.clientStreaming != false { - try visitor.visitSingularBoolField(value: self.clientStreaming, fieldNumber: 5) - } - if self.serverStreaming != false { - try visitor.visitSingularBoolField(value: self.serverStreaming, fieldNumber: 6) + if !self.methodName.isEmpty { + try visitor.visitSingularStringField(value: self.methodName, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MethodDescriptorProto, rhs: MethodDescriptorProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.inputType != rhs.inputType {return false} - if lhs.outputType != rhs.outputType {return false} - if lhs._options != rhs._options {return false} - if lhs.clientStreaming != rhs.clientStreaming {return false} - if lhs.serverStreaming != rhs.serverStreaming {return false} + public static func ==(lhs: LoginStartup, rhs: LoginStartup) -> Bool { + if lhs.methodName != rhs.methodName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MethodOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MethodOptions" +extension LoopProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LoopProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "deprecated"), + 1: .same(proto: "vertex"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237573,35 +248219,41 @@ extension MethodOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.vertex) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.deprecated != false { - try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 1) + if !self.vertex.isEmpty { + try visitor.visitRepeatedMessageField(value: self.vertex, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MethodOptions, rhs: MethodOptions) -> Bool { - if lhs.deprecated != rhs.deprecated {return false} + public static func ==(lhs: LoopProto, rhs: LoopProto) -> Bool { + if lhs.vertex != rhs.vertex {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MetricData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MetricData" +extension LootItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LootItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "long_value"), - 3: .standard(proto: "double_value"), - 4: .standard(proto: "boolean_value"), - 5: .same(proto: "distribution"), - 1: .standard(proto: "common_telemetry"), - 6: .standard(proto: "metric_kind"), + 1: .same(proto: "item"), + 2: .same(proto: "stardust"), + 3: .same(proto: "pokecoin"), + 4: .standard(proto: "pokemon_candy"), + 6: .same(proto: "experience"), + 7: .standard(proto: "pokemon_egg"), + 8: .standard(proto: "avatar_template_id"), + 9: .standard(proto: "sticker_id"), + 10: .standard(proto: "mega_energy_pokemon_id"), + 11: .standard(proto: "xl_candy"), + 12: .standard(proto: "follower_pokemon"), + 5: .same(proto: "count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237610,222 +248262,183 @@ extension MetricData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._commonTelemetry) }() + case 1: try { + var v: Item? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .item(v) + } + }() case 2: try { - var v: Int64? - try decoder.decodeSingularInt64Field(value: &v) + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) if let v = v { - if self.datapointValue != nil {try decoder.handleConflictingOneOf()} - self.datapointValue = .longValue(v) + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .stardust(v) } }() case 3: try { - var v: Double? - try decoder.decodeSingularDoubleField(value: &v) + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) if let v = v { - if self.datapointValue != nil {try decoder.handleConflictingOneOf()} - self.datapointValue = .doubleValue(v) + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .pokecoin(v) } }() case 4: try { + var v: HoloPokemonId? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .pokemonCandy(v) + } + }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.count) }() + case 6: try { var v: Bool? try decoder.decodeSingularBoolField(value: &v) if let v = v { - if self.datapointValue != nil {try decoder.handleConflictingOneOf()} - self.datapointValue = .booleanValue(v) + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .experience(v) } }() - case 5: try { - var v: Distribution? + case 7: try { + var v: PokemonProto? var hadOneofValue = false - if let current = self.datapointValue { + if let current = self.type { hadOneofValue = true - if case .distribution(let m) = current {v = m} + if case .pokemonEgg(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.datapointValue = .distribution(v) + self.type = .pokemonEgg(v) } }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.metricKind) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._commonTelemetry { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - switch self.datapointValue { - case .longValue?: try { - guard case .longValue(let v)? = self.datapointValue else { preconditionFailure() } - try visitor.visitSingularInt64Field(value: v, fieldNumber: 2) - }() - case .doubleValue?: try { - guard case .doubleValue(let v)? = self.datapointValue else { preconditionFailure() } - try visitor.visitSingularDoubleField(value: v, fieldNumber: 3) - }() - case .booleanValue?: try { - guard case .booleanValue(let v)? = self.datapointValue else { preconditionFailure() } - try visitor.visitSingularBoolField(value: v, fieldNumber: 4) - }() - case .distribution?: try { - guard case .distribution(let v)? = self.datapointValue else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case nil: break - } - if self.metricKind != .unspecified { - try visitor.visitSingularEnumField(value: self.metricKind, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MetricData, rhs: MetricData) -> Bool { - if lhs.datapointValue != rhs.datapointValue {return false} - if lhs._commonTelemetry != rhs._commonTelemetry {return false} - if lhs.metricKind != rhs.metricKind {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension MetricData.Kind: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSPECIFIED"), - 1: .same(proto: "GAUGE"), - 2: .same(proto: "DELTA"), - 3: .same(proto: "CUMULATIVE"), - ] -} - -extension MetricRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MetricRecord" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "server_data"), - 2: .same(proto: "datapoint"), - 6: .standard(proto: "common_filters"), - ] - - fileprivate class _StorageClass { - var _serverData: ServerRecordMetadata? = nil - var _datapoint: Datapoint? = nil - var _commonFilters: ClientTelemetryCommonFilterProto? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _serverData = source._serverData - _datapoint = source._datapoint - _commonFilters = source._commonFilters - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._serverData) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._datapoint) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() - default: break + case 8: try { + var v: String? + try decoder.decodeSingularStringField(value: &v) + if let v = v { + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .avatarTemplateID(v) } - } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._serverData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = _storage._datapoint { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._commonFilters { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MetricRecord, rhs: MetricRecord) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._serverData != rhs_storage._serverData {return false} - if _storage._datapoint != rhs_storage._datapoint {return false} - if _storage._commonFilters != rhs_storage._commonFilters {return false} - return true - } - if !storagesAreEqual {return false} - } - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension MiniCollectionBadgeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MiniCollectionBadgeData" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "event"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.event) }() + }() + case 9: try { + var v: String? + try decoder.decodeSingularStringField(value: &v) + if let v = v { + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .stickerID(v) + } + }() + case 10: try { + var v: HoloPokemonId? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .megaEnergyPokemonID(v) + } + }() + case 11: try { + var v: HoloPokemonId? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.type != nil {try decoder.handleConflictingOneOf()} + self.type = .xlCandy(v) + } + }() + case 12: try { + var v: FollowerPokemonProto? + var hadOneofValue = false + if let current = self.type { + hadOneofValue = true + if case .followerPokemon(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.type = .followerPokemon(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.event.isEmpty { - try visitor.visitRepeatedMessageField(value: self.event, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.type { + case .item?: try { + guard case .item(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 1) + }() + case .stardust?: try { + guard case .stardust(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularBoolField(value: v, fieldNumber: 2) + }() + case .pokecoin?: try { + guard case .pokecoin(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularBoolField(value: v, fieldNumber: 3) + }() + case .pokemonCandy?: try { + guard case .pokemonCandy(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 4) + }() + default: break + } + if self.count != 0 { + try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 5) + } + switch self.type { + case .experience?: try { + guard case .experience(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularBoolField(value: v, fieldNumber: 6) + }() + case .pokemonEgg?: try { + guard case .pokemonEgg(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + }() + case .avatarTemplateID?: try { + guard case .avatarTemplateID(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularStringField(value: v, fieldNumber: 8) + }() + case .stickerID?: try { + guard case .stickerID(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularStringField(value: v, fieldNumber: 9) + }() + case .megaEnergyPokemonID?: try { + guard case .megaEnergyPokemonID(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 10) + }() + case .xlCandy?: try { + guard case .xlCandy(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 11) + }() + case .followerPokemon?: try { + guard case .followerPokemon(let v)? = self.type else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + }() + default: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MiniCollectionBadgeData, rhs: MiniCollectionBadgeData) -> Bool { - if lhs.event != rhs.event {return false} + public static func ==(lhs: LootItemProto, rhs: LootItemProto) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.count != rhs.count {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MiniCollectionBadgeEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MiniCollectionBadgeEvent" +extension LootProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LootProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "event_id"), - 2: .standard(proto: "completed_timestamp"), + 1: .standard(proto: "loot_item"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237834,39 +248447,30 @@ extension MiniCollectionBadgeEvent: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.eventID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.completedTimestamp) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.lootItem) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.eventID.isEmpty { - try visitor.visitSingularStringField(value: self.eventID, fieldNumber: 1) - } - if self.completedTimestamp != 0 { - try visitor.visitSingularInt64Field(value: self.completedTimestamp, fieldNumber: 2) + if !self.lootItem.isEmpty { + try visitor.visitRepeatedMessageField(value: self.lootItem, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MiniCollectionBadgeEvent, rhs: MiniCollectionBadgeEvent) -> Bool { - if lhs.eventID != rhs.eventID {return false} - if lhs.completedTimestamp != rhs.completedTimestamp {return false} + public static func ==(lhs: LootProto, rhs: LootProto) -> Bool { + if lhs.lootItem != rhs.lootItem {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MiniCollectionPokemon: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MiniCollectionPokemon" +extension LuckyPokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".LuckyPokemonSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokedex_id"), - 2: .same(proto: "display"), - 3: .same(proto: "caught"), - 4: .standard(proto: "collection_type"), - 5: .standard(proto: "require_alignment_to_match"), + 1: .standard(proto: "power_up_stardust_discount_percent"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237875,65 +248479,36 @@ extension MiniCollectionPokemon: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._display) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.caught) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.collectionType) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.requireAlignmentToMatch) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.powerUpStardustDiscountPercent) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.pokedexID != .missingno { - try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) - } - try { if let v = self._display { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.caught != false { - try visitor.visitSingularBoolField(value: self.caught, fieldNumber: 3) - } - if self.collectionType != .catch { - try visitor.visitSingularEnumField(value: self.collectionType, fieldNumber: 4) - } - if self.requireAlignmentToMatch != false { - try visitor.visitSingularBoolField(value: self.requireAlignmentToMatch, fieldNumber: 5) + if self.powerUpStardustDiscountPercent != 0 { + try visitor.visitSingularFloatField(value: self.powerUpStardustDiscountPercent, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MiniCollectionPokemon, rhs: MiniCollectionPokemon) -> Bool { - if lhs.pokedexID != rhs.pokedexID {return false} - if lhs._display != rhs._display {return false} - if lhs.caught != rhs.caught {return false} - if lhs.collectionType != rhs.collectionType {return false} - if lhs.requireAlignmentToMatch != rhs.requireAlignmentToMatch {return false} + public static func ==(lhs: LuckyPokemonSettingsProto, rhs: LuckyPokemonSettingsProto) -> Bool { + if lhs.powerUpStardustDiscountPercent != rhs.powerUpStardustDiscountPercent {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MiniCollectionPokemon.CollectType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CATCH"), - 1: .same(proto: "TRADE"), - 2: .same(proto: "EVOLVE"), - 3: .same(proto: "CATCH_FROM_RAID"), - 4: .same(proto: "HATCH"), - ] -} - -extension MiniCollectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MiniCollectionProto" +extension MapArea: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapArea" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .same(proto: "completed"), + 1: .same(proto: "description"), + 2: .same(proto: "epoch"), + 3: .standard(proto: "map_provider"), + 4: .standard(proto: "bounding_rect"), + 5: .standard(proto: "blocked_label_name"), + 6: .standard(proto: "minimum_client_version"), + 7: .standard(proto: "tile_encryption_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -237942,68 +248517,70 @@ extension MiniCollectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.pokemon) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.completed) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.epoch) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.mapProvider) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.boundingRect) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &self.blockedLabelName) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.minimumClientVersion) }() + case 7: try { try decoder.decodeSingularBytesField(value: &self.tileEncryptionKey) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.pokemon.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokemon, fieldNumber: 1) + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 1) } - if self.completed != false { - try visitor.visitSingularBoolField(value: self.completed, fieldNumber: 2) + if self.epoch != 0 { + try visitor.visitSingularInt32Field(value: self.epoch, fieldNumber: 2) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: MiniCollectionProto, rhs: MiniCollectionProto) -> Bool { - if lhs.pokemon != rhs.pokemon {return false} - if lhs.completed != rhs.completed {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension MiniCollectionSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MiniCollectionSectionProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "quest_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.questID) }() - default: break - } + if !self.mapProvider.isEmpty { + try visitor.visitSingularStringField(value: self.mapProvider, fieldNumber: 3) } - } - - public func traverse(visitor: inout V) throws { - if !self.questID.isEmpty { - try visitor.visitSingularStringField(value: self.questID, fieldNumber: 1) + if !self.boundingRect.isEmpty { + try visitor.visitRepeatedMessageField(value: self.boundingRect, fieldNumber: 4) + } + if !self.blockedLabelName.isEmpty { + try visitor.visitRepeatedStringField(value: self.blockedLabelName, fieldNumber: 5) + } + if !self.minimumClientVersion.isEmpty { + try visitor.visitSingularStringField(value: self.minimumClientVersion, fieldNumber: 6) + } + if !self.tileEncryptionKey.isEmpty { + try visitor.visitSingularBytesField(value: self.tileEncryptionKey, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MiniCollectionSectionProto, rhs: MiniCollectionSectionProto) -> Bool { - if lhs.questID != rhs.questID {return false} + public static func ==(lhs: MapArea, rhs: MapArea) -> Bool { + if lhs.description_p != rhs.description_p {return false} + if lhs.epoch != rhs.epoch {return false} + if lhs.mapProvider != rhs.mapProvider {return false} + if lhs.boundingRect != rhs.boundingRect {return false} + if lhs.blockedLabelName != rhs.blockedLabelName {return false} + if lhs.minimumClientVersion != rhs.minimumClientVersion {return false} + if lhs.tileEncryptionKey != rhs.tileEncryptionKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MissingTranslationTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MissingTranslationTelemetry" +extension MapBuddySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapBuddySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_missing_translation_telemetry_1"), - 2: .standard(proto: "ob_missing_translation_telemetry_2"), + 1: .standard(proto: "for_buddy_group_number"), + 2: .standard(proto: "target_offset_min"), + 3: .standard(proto: "target_offset_max"), + 4: .standard(proto: "leash_distance"), + 5: .standard(proto: "max_seconds_to_idle"), + 6: .standard(proto: "max_rotation_speed"), + 7: .standard(proto: "walk_threshold"), + 8: .standard(proto: "run_threshold"), + 9: .standard(proto: "should_glide"), + 10: .standard(proto: "glide_smooth_time"), + 11: .standard(proto: "glide_max_speed"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238012,36 +248589,82 @@ extension MissingTranslationTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obMissingTranslationTelemetry1) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.obMissingTranslationTelemetry2) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.forBuddyGroupNumber) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.targetOffsetMin) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.targetOffsetMax) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.leashDistance) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.maxSecondsToIdle) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.maxRotationSpeed) }() + case 7: try { try decoder.decodeSingularFloatField(value: &self.walkThreshold) }() + case 8: try { try decoder.decodeSingularFloatField(value: &self.runThreshold) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.shouldGlide) }() + case 10: try { try decoder.decodeSingularFloatField(value: &self.glideSmoothTime) }() + case 11: try { try decoder.decodeSingularFloatField(value: &self.glideMaxSpeed) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obMissingTranslationTelemetry1.isEmpty { - try visitor.visitSingularStringField(value: self.obMissingTranslationTelemetry1, fieldNumber: 1) + if self.forBuddyGroupNumber != 0 { + try visitor.visitSingularInt32Field(value: self.forBuddyGroupNumber, fieldNumber: 1) + } + if self.targetOffsetMin != 0 { + try visitor.visitSingularFloatField(value: self.targetOffsetMin, fieldNumber: 2) + } + if self.targetOffsetMax != 0 { + try visitor.visitSingularFloatField(value: self.targetOffsetMax, fieldNumber: 3) + } + if self.leashDistance != 0 { + try visitor.visitSingularFloatField(value: self.leashDistance, fieldNumber: 4) + } + if self.maxSecondsToIdle != 0 { + try visitor.visitSingularFloatField(value: self.maxSecondsToIdle, fieldNumber: 5) + } + if self.maxRotationSpeed != 0 { + try visitor.visitSingularFloatField(value: self.maxRotationSpeed, fieldNumber: 6) } - if !self.obMissingTranslationTelemetry2.isEmpty { - try visitor.visitSingularStringField(value: self.obMissingTranslationTelemetry2, fieldNumber: 2) + if self.walkThreshold != 0 { + try visitor.visitSingularFloatField(value: self.walkThreshold, fieldNumber: 7) + } + if self.runThreshold != 0 { + try visitor.visitSingularFloatField(value: self.runThreshold, fieldNumber: 8) + } + if self.shouldGlide != false { + try visitor.visitSingularBoolField(value: self.shouldGlide, fieldNumber: 9) + } + if self.glideSmoothTime != 0 { + try visitor.visitSingularFloatField(value: self.glideSmoothTime, fieldNumber: 10) + } + if self.glideMaxSpeed != 0 { + try visitor.visitSingularFloatField(value: self.glideMaxSpeed, fieldNumber: 11) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MissingTranslationTelemetry, rhs: MissingTranslationTelemetry) -> Bool { - if lhs.obMissingTranslationTelemetry1 != rhs.obMissingTranslationTelemetry1 {return false} - if lhs.obMissingTranslationTelemetry2 != rhs.obMissingTranslationTelemetry2 {return false} + public static func ==(lhs: MapBuddySettingsProto, rhs: MapBuddySettingsProto) -> Bool { + if lhs.forBuddyGroupNumber != rhs.forBuddyGroupNumber {return false} + if lhs.targetOffsetMin != rhs.targetOffsetMin {return false} + if lhs.targetOffsetMax != rhs.targetOffsetMax {return false} + if lhs.leashDistance != rhs.leashDistance {return false} + if lhs.maxSecondsToIdle != rhs.maxSecondsToIdle {return false} + if lhs.maxRotationSpeed != rhs.maxRotationSpeed {return false} + if lhs.walkThreshold != rhs.walkThreshold {return false} + if lhs.runThreshold != rhs.runThreshold {return false} + if lhs.shouldGlide != rhs.shouldGlide {return false} + if lhs.glideSmoothTime != rhs.glideSmoothTime {return false} + if lhs.glideMaxSpeed != rhs.glideMaxSpeed {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Mixin: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Mixin" +extension MapCompositionRoot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapCompositionRoot" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "root"), + 1: .standard(proto: "map_area"), + 2: .standard(proto: "biome_map_area"), + 3: .standard(proto: "map_provider"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238050,37 +248673,43 @@ extension Mixin: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.root) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.mapArea) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.biomeMapArea) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.mapProvider) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + if !self.mapArea.isEmpty { + try visitor.visitRepeatedMessageField(value: self.mapArea, fieldNumber: 1) } - if !self.root.isEmpty { - try visitor.visitSingularStringField(value: self.root, fieldNumber: 2) + if !self.biomeMapArea.isEmpty { + try visitor.visitRepeatedMessageField(value: self.biomeMapArea, fieldNumber: 2) + } + if !self.mapProvider.isEmpty { + try visitor.visitRepeatedMessageField(value: self.mapProvider, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Mixin, rhs: Mixin) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.root != rhs.root {return false} + public static func ==(lhs: MapCompositionRoot, rhs: MapCompositionRoot) -> Bool { + if lhs.mapArea != rhs.mapArea {return false} + if lhs.biomeMapArea != rhs.biomeMapArea {return false} + if lhs.mapProvider != rhs.mapProvider {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MonodepthDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MonodepthDownloadTelemetry" +extension MapCoordOverlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapCoordOverlayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "downloaded_package"), - 2: .standard(proto: "skipped_package"), - 3: .standard(proto: "model_downloaded"), + 1: .standard(proto: "map_overlay_id"), + 2: .standard(proto: "addressable_id"), + 3: .standard(proto: "anchor_latitude"), + 4: .standard(proto: "anchor_longitude"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238089,46 +248718,54 @@ extension MonodepthDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.downloadedPackage) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.skippedPackage) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.modelDownloaded) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.mapOverlayID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.addressableID) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.anchorLatitude) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.anchorLongitude) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.downloadedPackage != false { - try visitor.visitSingularBoolField(value: self.downloadedPackage, fieldNumber: 1) + if !self.mapOverlayID.isEmpty { + try visitor.visitSingularStringField(value: self.mapOverlayID, fieldNumber: 1) } - if self.skippedPackage != false { - try visitor.visitSingularBoolField(value: self.skippedPackage, fieldNumber: 2) + if !self.addressableID.isEmpty { + try visitor.visitSingularStringField(value: self.addressableID, fieldNumber: 2) } - if !self.modelDownloaded.isEmpty { - try visitor.visitSingularStringField(value: self.modelDownloaded, fieldNumber: 3) + if self.anchorLatitude != 0 { + try visitor.visitSingularDoubleField(value: self.anchorLatitude, fieldNumber: 3) + } + if self.anchorLongitude != 0 { + try visitor.visitSingularDoubleField(value: self.anchorLongitude, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MonodepthDownloadTelemetry, rhs: MonodepthDownloadTelemetry) -> Bool { - if lhs.downloadedPackage != rhs.downloadedPackage {return false} - if lhs.skippedPackage != rhs.skippedPackage {return false} - if lhs.modelDownloaded != rhs.modelDownloaded {return false} + public static func ==(lhs: MapCoordOverlayProto, rhs: MapCoordOverlayProto) -> Bool { + if lhs.mapOverlayID != rhs.mapOverlayID {return false} + if lhs.addressableID != rhs.addressableID {return false} + if lhs.anchorLatitude != rhs.anchorLatitude {return false} + if lhs.anchorLongitude != rhs.anchorLongitude {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MonodepthSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MonodepthSettingsProto" +extension MapDisplaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapDisplaySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_occlusions"), - 2: .standard(proto: "occlusions_default_on"), - 3: .standard(proto: "occlusions_toggle_visible"), - 4: .standard(proto: "enable_ground_suppression"), - 5: .standard(proto: "min_ground_suppression_thresh"), - 6: .standard(proto: "suppression_channel_id"), - 7: .standard(proto: "suppression_channel_name"), + 1: .standard(proto: "map_effect"), + 2: .standard(proto: "research_icon_url"), + 3: .same(proto: "bgm"), + 4: .standard(proto: "show_enhanced_sky"), + 5: .standard(proto: "sky_override"), + 6: .standard(proto: "music_name"), + 7: .standard(proto: "map_effect_name"), + 8: .standard(proto: "show_map_shore_lines"), + 9: .standard(proto: "sky_effect_name"), + 10: .standard(proto: "event_theme_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238137,67 +248774,117 @@ extension MonodepthSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableOcclusions) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.occlusionsDefaultOn) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.occlusionsToggleVisible) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.enableGroundSuppression) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.minGroundSuppressionThresh) }() - case 6: try { try decoder.decodeSingularUInt32Field(value: &self.suppressionChannelID) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.suppressionChannelName) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.mapEffect) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.researchIconURL) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.bgm) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.showEnhancedSky) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.skyOverride) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.musicName) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.mapEffectName) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.showMapShoreLines) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.skyEffectName) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.eventThemeName) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableOcclusions != false { - try visitor.visitSingularBoolField(value: self.enableOcclusions, fieldNumber: 1) + if self.mapEffect != .effectNone { + try visitor.visitSingularEnumField(value: self.mapEffect, fieldNumber: 1) } - if self.occlusionsDefaultOn != false { - try visitor.visitSingularBoolField(value: self.occlusionsDefaultOn, fieldNumber: 2) + if !self.researchIconURL.isEmpty { + try visitor.visitSingularStringField(value: self.researchIconURL, fieldNumber: 2) } - if self.occlusionsToggleVisible != false { - try visitor.visitSingularBoolField(value: self.occlusionsToggleVisible, fieldNumber: 3) + if self.bgm != .bgmUnset { + try visitor.visitSingularEnumField(value: self.bgm, fieldNumber: 3) } - if self.enableGroundSuppression != false { - try visitor.visitSingularBoolField(value: self.enableGroundSuppression, fieldNumber: 4) + if self.showEnhancedSky != false { + try visitor.visitSingularBoolField(value: self.showEnhancedSky, fieldNumber: 4) } - if self.minGroundSuppressionThresh != 0 { - try visitor.visitSingularFloatField(value: self.minGroundSuppressionThresh, fieldNumber: 5) + if !self.skyOverride.isEmpty { + try visitor.visitSingularStringField(value: self.skyOverride, fieldNumber: 5) } - if self.suppressionChannelID != 0 { - try visitor.visitSingularUInt32Field(value: self.suppressionChannelID, fieldNumber: 6) + if !self.musicName.isEmpty { + try visitor.visitSingularStringField(value: self.musicName, fieldNumber: 6) } - if !self.suppressionChannelName.isEmpty { - try visitor.visitSingularStringField(value: self.suppressionChannelName, fieldNumber: 7) + if !self.mapEffectName.isEmpty { + try visitor.visitSingularStringField(value: self.mapEffectName, fieldNumber: 7) + } + if self.showMapShoreLines != false { + try visitor.visitSingularBoolField(value: self.showMapShoreLines, fieldNumber: 8) + } + if !self.skyEffectName.isEmpty { + try visitor.visitSingularStringField(value: self.skyEffectName, fieldNumber: 9) + } + if !self.eventThemeName.isEmpty { + try visitor.visitSingularStringField(value: self.eventThemeName, fieldNumber: 10) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MonodepthSettingsProto, rhs: MonodepthSettingsProto) -> Bool { - if lhs.enableOcclusions != rhs.enableOcclusions {return false} - if lhs.occlusionsDefaultOn != rhs.occlusionsDefaultOn {return false} - if lhs.occlusionsToggleVisible != rhs.occlusionsToggleVisible {return false} - if lhs.enableGroundSuppression != rhs.enableGroundSuppression {return false} - if lhs.minGroundSuppressionThresh != rhs.minGroundSuppressionThresh {return false} - if lhs.suppressionChannelID != rhs.suppressionChannelID {return false} - if lhs.suppressionChannelName != rhs.suppressionChannelName {return false} + public static func ==(lhs: MapDisplaySettingsProto, rhs: MapDisplaySettingsProto) -> Bool { + if lhs.mapEffect != rhs.mapEffect {return false} + if lhs.researchIconURL != rhs.researchIconURL {return false} + if lhs.bgm != rhs.bgm {return false} + if lhs.showEnhancedSky != rhs.showEnhancedSky {return false} + if lhs.skyOverride != rhs.skyOverride {return false} + if lhs.musicName != rhs.musicName {return false} + if lhs.mapEffectName != rhs.mapEffectName {return false} + if lhs.showMapShoreLines != rhs.showMapShoreLines {return false} + if lhs.skyEffectName != rhs.skyEffectName {return false} + if lhs.eventThemeName != rhs.eventThemeName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MotivatedPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MotivatedPokemonProto" +extension MapDisplaySettingsProto.MapEffect: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .standard(proto: "deploy_ms"), - 3: .standard(proto: "cp_when_deployed"), - 4: .standard(proto: "motivation_now"), - 5: .standard(proto: "cp_now"), - 6: .standard(proto: "berry_value"), - 7: .standard(proto: "feed_cooldown_duration_millis"), - 8: .standard(proto: "food_value"), + 0: .same(proto: "EFFECT_NONE"), + 1: .same(proto: "EFFECT_CONFETTI_BASIC"), + 2: .same(proto: "EFFECT_CONFETTI_FIRE"), + 3: .same(proto: "EFFECT_CONFETTI_WATER"), + 4: .same(proto: "EFFECT_CONFETTI_GRASS"), + 5: .same(proto: "EFFECT_CONFETTI_RAID_BATTLE"), + 6: .same(proto: "EFFECT_CONFETTI_FRIENDSHIP"), + 7: .same(proto: "EFFECT_CONFETTI_ROCKET"), + 8: .same(proto: "EFFECT_FIREWORKS_PLAIN"), + 9: .same(proto: "EFFECT_CONFETTI_FLOWER"), + 10: .same(proto: "EFFECT_CONFETTI_PLAINS"), + 11: .same(proto: "EFFECT_CONFETTI_CITY"), + 12: .same(proto: "EFFECT_CONFETTI_TUNDRA"), + 13: .same(proto: "EFFECT_CONFETTI_RAINFOREST"), + ] +} + +extension MapDisplaySettingsProto.MusicType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "BGM_UNSET"), + 101: .same(proto: "BGM_EVENT"), + 200: .same(proto: "BGM_HALLOWEEN"), + 201: .same(proto: "BGM_GO_TOUR_00"), + 202: .same(proto: "BGM_GO_TOUR_01"), + 203: .same(proto: "BGM_GO_TOUR_02"), + 204: .same(proto: "BGM_GO_TOUR_03"), + 205: .same(proto: "BGM_GO_TOUR_04"), + 206: .same(proto: "BGM_GO_TOUR_05"), + 207: .same(proto: "BGM_GO_TOUR_06"), + 208: .same(proto: "BGM_GO_TOUR_07"), + 209: .same(proto: "BGM_GO_TOUR_08"), + 210: .same(proto: "BGM_GO_TOUR_09"), + 300: .same(proto: "BGM_TEAM_ROCKET_DEFAULT"), + ] +} + +extension MapEventsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapEventsTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "map_event_click_id"), + 2: .standard(proto: "fort_id"), + 3: .standard(proto: "guard_pokemon_level"), + 4: .same(proto: "team"), + 5: .standard(proto: "is_player_in_range"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238206,69 +248893,50 @@ extension MotivatedPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.deployMs) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.cpWhenDeployed) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.motivationNow) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.cpNow) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.berryValue) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.feedCooldownDurationMillis) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &self.foodValue) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.mapEventClickID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.guardPokemonLevel) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.team) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.isPlayerInRange) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.deployMs != 0 { - try visitor.visitSingularInt64Field(value: self.deployMs, fieldNumber: 2) - } - if self.cpWhenDeployed != 0 { - try visitor.visitSingularInt32Field(value: self.cpWhenDeployed, fieldNumber: 3) - } - if self.motivationNow != 0 { - try visitor.visitSingularDoubleField(value: self.motivationNow, fieldNumber: 4) + if self.mapEventClickID != .undefinedMapEvent { + try visitor.visitSingularEnumField(value: self.mapEventClickID, fieldNumber: 1) } - if self.cpNow != 0 { - try visitor.visitSingularInt32Field(value: self.cpNow, fieldNumber: 5) + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) } - if self.berryValue != 0 { - try visitor.visitSingularFloatField(value: self.berryValue, fieldNumber: 6) + if !self.guardPokemonLevel.isEmpty { + try visitor.visitPackedInt32Field(value: self.guardPokemonLevel, fieldNumber: 3) } - if self.feedCooldownDurationMillis != 0 { - try visitor.visitSingularInt64Field(value: self.feedCooldownDurationMillis, fieldNumber: 7) + if self.team != .unset { + try visitor.visitSingularEnumField(value: self.team, fieldNumber: 4) } - if !self.foodValue.isEmpty { - try visitor.visitRepeatedMessageField(value: self.foodValue, fieldNumber: 8) + if self.isPlayerInRange != false { + try visitor.visitSingularBoolField(value: self.isPlayerInRange, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MotivatedPokemonProto, rhs: MotivatedPokemonProto) -> Bool { - if lhs._pokemon != rhs._pokemon {return false} - if lhs.deployMs != rhs.deployMs {return false} - if lhs.cpWhenDeployed != rhs.cpWhenDeployed {return false} - if lhs.motivationNow != rhs.motivationNow {return false} - if lhs.cpNow != rhs.cpNow {return false} - if lhs.berryValue != rhs.berryValue {return false} - if lhs.feedCooldownDurationMillis != rhs.feedCooldownDurationMillis {return false} - if lhs.foodValue != rhs.foodValue {return false} + public static func ==(lhs: MapEventsTelemetry, rhs: MapEventsTelemetry) -> Bool { + if lhs.mapEventClickID != rhs.mapEventClickID {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.guardPokemonLevel != rhs.guardPokemonLevel {return false} + if lhs.team != rhs.team {return false} + if lhs.isPlayerInRange != rhs.isPlayerInRange {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MoveModifierGroup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MoveModifierGroup" +extension MapIconsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapIconsSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "move_modifier"), + 1: .standard(proto: "enable_map_expandable_righthand_icons"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238277,38 +248945,36 @@ extension MoveModifierGroup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.moveModifier) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableMapExpandableRighthandIcons) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.moveModifier.isEmpty { - try visitor.visitRepeatedMessageField(value: self.moveModifier, fieldNumber: 1) + if self.enableMapExpandableRighthandIcons != false { + try visitor.visitSingularBoolField(value: self.enableMapExpandableRighthandIcons, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MoveModifierGroup, rhs: MoveModifierGroup) -> Bool { - if lhs.moveModifier != rhs.moveModifier {return false} + public static func ==(lhs: MapIconsSettingsProto, rhs: MapIconsSettingsProto) -> Bool { + if lhs.enableMapExpandableRighthandIcons != rhs.enableMapExpandableRighthandIcons {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MoveModifierProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MoveModifierProto" +extension MapPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "mode"), - 2: .same(proto: "type"), - 3: .same(proto: "value"), - 4: .same(proto: "condition"), - 5: .standard(proto: "render_modifier"), - 6: .same(proto: "duration"), - 7: .standard(proto: "string_value"), - 9: .standard(proto: "best_effort"), - 10: .standard(proto: "modifier_target"), + 1: .standard(proto: "spawnpoint_id"), + 2: .standard(proto: "encounter_id"), + 3: .standard(proto: "pokedex_type_id"), + 4: .standard(proto: "expiration_time_ms"), + 5: .same(proto: "latitude"), + 6: .same(proto: "longitude"), + 7: .standard(proto: "pokemon_display"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238317,110 +248983,68 @@ extension MoveModifierProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.mode) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.value) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.condition) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.renderModifier) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.duration) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.stringValue) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.bestEffort) }() - case 10: try { try decoder.decodeSingularEnumField(value: &self.modifierTarget) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.spawnpointID) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.pokedexTypeID) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.expirationTimeMs) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 7: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.mode != .unsetMoveModifierMode { - try visitor.visitSingularEnumField(value: self.mode, fieldNumber: 1) - } - if self.type != .unsetMoveModifierType { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) - } - if self.value != 0 { - try visitor.visitSingularFloatField(value: self.value, fieldNumber: 3) - } - if !self.condition.isEmpty { - try visitor.visitRepeatedMessageField(value: self.condition, fieldNumber: 4) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.spawnpointID.isEmpty { + try visitor.visitSingularStringField(value: self.spawnpointID, fieldNumber: 1) } - if !self.renderModifier.isEmpty { - try visitor.visitRepeatedMessageField(value: self.renderModifier, fieldNumber: 5) + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 2) } - if self.duration != 0 { - try visitor.visitSingularInt64Field(value: self.duration, fieldNumber: 6) + if self.pokedexTypeID != 0 { + try visitor.visitSingularInt32Field(value: self.pokedexTypeID, fieldNumber: 3) } - if !self.stringValue.isEmpty { - try visitor.visitSingularStringField(value: self.stringValue, fieldNumber: 7) + if self.expirationTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.expirationTimeMs, fieldNumber: 4) } - if self.bestEffort != false { - try visitor.visitSingularBoolField(value: self.bestEffort, fieldNumber: 9) + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 5) } - if self.modifierTarget != .unset { - try visitor.visitSingularEnumField(value: self.modifierTarget, fieldNumber: 10) + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 6) } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MoveModifierProto, rhs: MoveModifierProto) -> Bool { - if lhs.mode != rhs.mode {return false} - if lhs.type != rhs.type {return false} - if lhs.value != rhs.value {return false} - if lhs.condition != rhs.condition {return false} - if lhs.renderModifier != rhs.renderModifier {return false} - if lhs.duration != rhs.duration {return false} - if lhs.stringValue != rhs.stringValue {return false} - if lhs.bestEffort != rhs.bestEffort {return false} - if lhs.modifierTarget != rhs.modifierTarget {return false} + public static func ==(lhs: MapPokemonProto, rhs: MapPokemonProto) -> Bool { + if lhs.spawnpointID != rhs.spawnpointID {return false} + if lhs.encounterID != rhs.encounterID {return false} + if lhs.pokedexTypeID != rhs.pokedexTypeID {return false} + if lhs.expirationTimeMs != rhs.expirationTimeMs {return false} + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MoveModifierProto.MoveModifierMode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_MOVE_MODIFIER_MODE"), - 1: .same(proto: "FORM_CHANGE"), - 2: .same(proto: "DIRECT_DAMAGE"), - 3: .same(proto: "DEFENDER_DAMAGE_DEALT"), - 4: .same(proto: "DEFENDER_DAMAGE_TAKEN"), - 5: .same(proto: "ATTACKER_ARBITRARY_COUNTER"), - 6: .same(proto: "ATTACKER_FORM_REVERSION"), - 7: .same(proto: "DEFENDER_FORM_REVERSION"), - 8: .same(proto: "DEFENDER_ARBITRARY_COUNTER"), - 9: .same(proto: "APPLY_VS_EFFECT_TAG"), - 10: .same(proto: "REMOVE_VS_EFFECT_TAG"), - 11: .same(proto: "ATTACK_STAT_CHANGE"), - 12: .same(proto: "DEFENSE_STAT_CHANGE"), - 13: .same(proto: "STAMINA_STAT_CHANGE"), - 14: .same(proto: "STAT_CHANGE"), - 15: .same(proto: "GROUP_POINTER"), - ] -} - -extension MoveModifierProto.MoveModifierType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_MOVE_MODIFIER_TYPE"), - 1: .same(proto: "PERCENTAGE"), - 2: .same(proto: "FLAT_VALUE"), - ] -} - -extension MoveModifierProto.MoveModifierTarget: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ATTACKER"), - 2: .same(proto: "DEFENDER"), - ] -} - -extension MoveModifierProto.ModifierCondition: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = MoveModifierProto.protoMessageName + ".ModifierCondition" +extension MapProvider: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapProvider" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "condition_type"), - 2: .same(proto: "value"), - 3: .same(proto: "deviation"), - 4: .standard(proto: "string_lookup"), + 1: .same(proto: "name"), + 2: .standard(proto: "base_url"), + 3: .standard(proto: "query_format"), + 4: .standard(proto: "min_tile_level"), + 5: .standard(proto: "max_tile_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238429,60 +249053,60 @@ extension MoveModifierProto.ModifierCondition: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.conditionType) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.value) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.deviation) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.stringLookup) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.baseURL) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.queryFormat) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.minTileLevel) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxTileLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.conditionType != .unset { - try visitor.visitSingularEnumField(value: self.conditionType, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - if self.value != 0 { - try visitor.visitSingularInt64Field(value: self.value, fieldNumber: 2) + if !self.baseURL.isEmpty { + try visitor.visitSingularStringField(value: self.baseURL, fieldNumber: 2) } - if self.deviation != 0 { - try visitor.visitSingularFloatField(value: self.deviation, fieldNumber: 3) + if !self.queryFormat.isEmpty { + try visitor.visitSingularStringField(value: self.queryFormat, fieldNumber: 3) } - if !self.stringLookup.isEmpty { - try visitor.visitSingularStringField(value: self.stringLookup, fieldNumber: 4) + if self.minTileLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minTileLevel, fieldNumber: 4) + } + if self.maxTileLevel != 0 { + try visitor.visitSingularInt32Field(value: self.maxTileLevel, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MoveModifierProto.ModifierCondition, rhs: MoveModifierProto.ModifierCondition) -> Bool { - if lhs.conditionType != rhs.conditionType {return false} - if lhs.value != rhs.value {return false} - if lhs.deviation != rhs.deviation {return false} - if lhs.stringLookup != rhs.stringLookup {return false} + public static func ==(lhs: MapProvider, rhs: MapProvider) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.baseURL != rhs.baseURL {return false} + if lhs.queryFormat != rhs.queryFormat {return false} + if lhs.minTileLevel != rhs.minTileLevel {return false} + if lhs.maxTileLevel != rhs.maxTileLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MoveModifierProto.ModifierCondition.ConditionType: SwiftProtobuf._ProtoNameProviding { +extension MapProvider.MapType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "PVE_NPC"), - 2: .same(proto: "HP_PERCENT"), - 3: .same(proto: "INVOCATION_LIMIT"), - 4: .same(proto: "COOLDOWN_MS"), - 5: .same(proto: "DEFENDER_ALIGNMENT_SHADOW"), - 6: .same(proto: "DEFENDER_VS_TAG"), - 7: .same(proto: "ATTACKER_ARBITRARY_COUNTER_MINIMUM"), - 8: .same(proto: "DEFENDER_ARBITRARY_COUNTER_MINIMUM"), - 9: .same(proto: "ATTACKER_VS_TAG"), + 3: .same(proto: "BLANK"), + 5: .same(proto: "NIANTIC_BUNDLE"), + 6: .same(proto: "BIOME_RASTER"), ] } -extension MoveSequenceSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MoveSequenceSettingsProto" +extension MapQueryRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapQueryRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "sequence"), + 1: .standard(proto: "query_s2_cell_ids"), + 2: .standard(proto: "query_s2_cell_timestamps"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238491,222 +249115,80 @@ extension MoveSequenceSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.sequence) }() + case 1: try { try decoder.decodeRepeatedUInt64Field(value: &self.queryS2CellIds) }() + case 2: try { try decoder.decodeRepeatedUInt64Field(value: &self.queryS2CellTimestamps) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.sequence.isEmpty { - try visitor.visitRepeatedStringField(value: self.sequence, fieldNumber: 1) + if !self.queryS2CellIds.isEmpty { + try visitor.visitPackedUInt64Field(value: self.queryS2CellIds, fieldNumber: 1) + } + if !self.queryS2CellTimestamps.isEmpty { + try visitor.visitPackedUInt64Field(value: self.queryS2CellTimestamps, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MoveSequenceSettingsProto, rhs: MoveSequenceSettingsProto) -> Bool { - if lhs.sequence != rhs.sequence {return false} + public static func ==(lhs: MapQueryRequestProto, rhs: MapQueryRequestProto) -> Bool { + if lhs.queryS2CellIds != rhs.queryS2CellIds {return false} + if lhs.queryS2CellTimestamps != rhs.queryS2CellTimestamps {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MoveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MoveSettingsProto" +extension MapQueryResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapQueryResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "movement_id"), - 2: .standard(proto: "animation_id"), - 3: .standard(proto: "pokemon_type"), - 4: .same(proto: "power"), - 5: .standard(proto: "accuracy_chance"), - 6: .standard(proto: "critical_chance"), - 7: .standard(proto: "heal_scalar"), - 8: .standard(proto: "stamina_loss_scalar"), - 9: .standard(proto: "trainer_level_min"), - 10: .standard(proto: "trainer_level_max"), - 11: .standard(proto: "vfx_name"), - 12: .standard(proto: "duration_ms"), - 13: .standard(proto: "damage_window_start_ms"), - 14: .standard(proto: "damage_window_end_ms"), - 15: .standard(proto: "energy_delta"), - 16: .standard(proto: "is_locked"), - 17: .same(proto: "modifier"), + 1: .standard(proto: "s2_cells"), + 2: .same(proto: "entities"), + 3: .standard(proto: "deleted_entities"), ] - fileprivate class _StorageClass { - var _movementID: HoloPokemonMove = .moveUnset - var _animationID: Int32 = 0 - var _pokemonType: HoloPokemonType = .pokemonTypeNone - var _power: Float = 0 - var _accuracyChance: Float = 0 - var _criticalChance: Float = 0 - var _healScalar: Float = 0 - var _staminaLossScalar: Float = 0 - var _trainerLevelMin: Int32 = 0 - var _trainerLevelMax: Int32 = 0 - var _vfxName: String = String() - var _durationMs: Int32 = 0 - var _damageWindowStartMs: Int32 = 0 - var _damageWindowEndMs: Int32 = 0 - var _energyDelta: Int32 = 0 - var _isLocked: Bool = false - var _modifier: [MoveModifierProto] = [] - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _movementID = source._movementID - _animationID = source._animationID - _pokemonType = source._pokemonType - _power = source._power - _accuracyChance = source._accuracyChance - _criticalChance = source._criticalChance - _healScalar = source._healScalar - _staminaLossScalar = source._staminaLossScalar - _trainerLevelMin = source._trainerLevelMin - _trainerLevelMax = source._trainerLevelMax - _vfxName = source._vfxName - _durationMs = source._durationMs - _damageWindowStartMs = source._damageWindowStartMs - _damageWindowEndMs = source._damageWindowEndMs - _energyDelta = source._energyDelta - _isLocked = source._isLocked - _modifier = source._modifier - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._movementID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._animationID) }() - case 3: try { try decoder.decodeSingularEnumField(value: &_storage._pokemonType) }() - case 4: try { try decoder.decodeSingularFloatField(value: &_storage._power) }() - case 5: try { try decoder.decodeSingularFloatField(value: &_storage._accuracyChance) }() - case 6: try { try decoder.decodeSingularFloatField(value: &_storage._criticalChance) }() - case 7: try { try decoder.decodeSingularFloatField(value: &_storage._healScalar) }() - case 8: try { try decoder.decodeSingularFloatField(value: &_storage._staminaLossScalar) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._trainerLevelMin) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._trainerLevelMax) }() - case 11: try { try decoder.decodeSingularStringField(value: &_storage._vfxName) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._durationMs) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._damageWindowStartMs) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._damageWindowEndMs) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._energyDelta) }() - case 16: try { try decoder.decodeSingularBoolField(value: &_storage._isLocked) }() - case 17: try { try decoder.decodeRepeatedMessageField(value: &_storage._modifier) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.s2Cells) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.entities) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.deletedEntities) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._movementID != .moveUnset { - try visitor.visitSingularEnumField(value: _storage._movementID, fieldNumber: 1) - } - if _storage._animationID != 0 { - try visitor.visitSingularInt32Field(value: _storage._animationID, fieldNumber: 2) - } - if _storage._pokemonType != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: _storage._pokemonType, fieldNumber: 3) - } - if _storage._power != 0 { - try visitor.visitSingularFloatField(value: _storage._power, fieldNumber: 4) - } - if _storage._accuracyChance != 0 { - try visitor.visitSingularFloatField(value: _storage._accuracyChance, fieldNumber: 5) - } - if _storage._criticalChance != 0 { - try visitor.visitSingularFloatField(value: _storage._criticalChance, fieldNumber: 6) - } - if _storage._healScalar != 0 { - try visitor.visitSingularFloatField(value: _storage._healScalar, fieldNumber: 7) - } - if _storage._staminaLossScalar != 0 { - try visitor.visitSingularFloatField(value: _storage._staminaLossScalar, fieldNumber: 8) - } - if _storage._trainerLevelMin != 0 { - try visitor.visitSingularInt32Field(value: _storage._trainerLevelMin, fieldNumber: 9) - } - if _storage._trainerLevelMax != 0 { - try visitor.visitSingularInt32Field(value: _storage._trainerLevelMax, fieldNumber: 10) - } - if !_storage._vfxName.isEmpty { - try visitor.visitSingularStringField(value: _storage._vfxName, fieldNumber: 11) - } - if _storage._durationMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._durationMs, fieldNumber: 12) - } - if _storage._damageWindowStartMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._damageWindowStartMs, fieldNumber: 13) - } - if _storage._damageWindowEndMs != 0 { - try visitor.visitSingularInt32Field(value: _storage._damageWindowEndMs, fieldNumber: 14) - } - if _storage._energyDelta != 0 { - try visitor.visitSingularInt32Field(value: _storage._energyDelta, fieldNumber: 15) - } - if _storage._isLocked != false { - try visitor.visitSingularBoolField(value: _storage._isLocked, fieldNumber: 16) - } - if !_storage._modifier.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._modifier, fieldNumber: 17) - } + if !self.s2Cells.isEmpty { + try visitor.visitRepeatedMessageField(value: self.s2Cells, fieldNumber: 1) + } + if !self.entities.isEmpty { + try visitor.visitRepeatedMessageField(value: self.entities, fieldNumber: 2) + } + if !self.deletedEntities.isEmpty { + try visitor.visitRepeatedStringField(value: self.deletedEntities, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MoveSettingsProto, rhs: MoveSettingsProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._movementID != rhs_storage._movementID {return false} - if _storage._animationID != rhs_storage._animationID {return false} - if _storage._pokemonType != rhs_storage._pokemonType {return false} - if _storage._power != rhs_storage._power {return false} - if _storage._accuracyChance != rhs_storage._accuracyChance {return false} - if _storage._criticalChance != rhs_storage._criticalChance {return false} - if _storage._healScalar != rhs_storage._healScalar {return false} - if _storage._staminaLossScalar != rhs_storage._staminaLossScalar {return false} - if _storage._trainerLevelMin != rhs_storage._trainerLevelMin {return false} - if _storage._trainerLevelMax != rhs_storage._trainerLevelMax {return false} - if _storage._vfxName != rhs_storage._vfxName {return false} - if _storage._durationMs != rhs_storage._durationMs {return false} - if _storage._damageWindowStartMs != rhs_storage._damageWindowStartMs {return false} - if _storage._damageWindowEndMs != rhs_storage._damageWindowEndMs {return false} - if _storage._energyDelta != rhs_storage._energyDelta {return false} - if _storage._isLocked != rhs_storage._isLocked {return false} - if _storage._modifier != rhs_storage._modifier {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: MapQueryResponseProto, rhs: MapQueryResponseProto) -> Bool { + if lhs.s2Cells != rhs.s2Cells {return false} + if lhs.entities != rhs.entities {return false} + if lhs.deletedEntities != rhs.deletedEntities {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MultiPartQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MultiPartQuestProto" +extension MapRighthandIconsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapRighthandIconsTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sub_quests"), + 1: .standard(proto: "map_righthand_icons_event_ids"), + 2: .standard(proto: "number_icons_in_grid"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238715,36 +249197,48 @@ extension MultiPartQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.subQuests) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.mapRighthandIconsEventIds) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numberIconsInGrid) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.subQuests.isEmpty { - try visitor.visitRepeatedMessageField(value: self.subQuests, fieldNumber: 1) + if self.mapRighthandIconsEventIds != .undefinedMapRighthandIconEvent { + try visitor.visitSingularEnumField(value: self.mapRighthandIconsEventIds, fieldNumber: 1) + } + if self.numberIconsInGrid != 0 { + try visitor.visitSingularInt32Field(value: self.numberIconsInGrid, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MultiPartQuestProto, rhs: MultiPartQuestProto) -> Bool { - if lhs.subQuests != rhs.subQuests {return false} + public static func ==(lhs: MapRighthandIconsTelemetry, rhs: MapRighthandIconsTelemetry) -> Bool { + if lhs.mapRighthandIconsEventIds != rhs.mapRighthandIconsEventIds {return false} + if lhs.numberIconsInGrid != rhs.numberIconsInGrid {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MultiplayerColocalizationEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MultiplayerColocalizationEvent" +extension MapRighthandIconsTelemetry.IconEvents: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNDEFINED_MAP_RIGHTHAND_ICON_EVENT"), + 1: .same(proto: "ICON_GRID_EXPANSION_BUTTON_APPEARED"), + 2: .same(proto: "ICON_GRID_NUMBER_COLUMNS_INCREASED"), + 3: .same(proto: "ICON_GRID_EXPANDED_BY_CLICK"), + ] +} + +extension MapS2Cell: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapS2Cell" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "arbe_issued_client_id"), - 2: .standard(proto: "mp_session_id"), - 3: .standard(proto: "client_type"), - 4: .standard(proto: "colocalization_state"), - 5: .standard(proto: "ad_hoc_time_waiting_for_localization_data_ms"), - 6: .standard(proto: "ad_hoc_time_to_localize_ms"), - 7: .standard(proto: "ad_hoc_map_upload_event"), + 1: .standard(proto: "s2_cell_id"), + 2: .standard(proto: "s2_cell_base_timestamp"), + 3: .standard(proto: "s2_cell_timestamp"), + 4: .standard(proto: "entity_key"), + 5: .standard(proto: "deleted_entity_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238753,89 +249247,53 @@ extension MultiplayerColocalizationEvent: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.arbeIssuedClientID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.mpSessionID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.clientType) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.colocalizationState) }() - case 5: try { - var v: UInt64? - try decoder.decodeSingularUInt64Field(value: &v) - if let v = v { - if self.colocalizationEvent != nil {try decoder.handleConflictingOneOf()} - self.colocalizationEvent = .adHocTimeWaitingForLocalizationDataMs(v) - } - }() - case 6: try { - var v: UInt64? - try decoder.decodeSingularUInt64Field(value: &v) - if let v = v { - if self.colocalizationEvent != nil {try decoder.handleConflictingOneOf()} - self.colocalizationEvent = .adHocTimeToLocalizeMs(v) - } - }() - case 7: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.colocalizationEvent != nil {try decoder.handleConflictingOneOf()} - self.colocalizationEvent = .adHocMapUploadEvent(v) - } - }() + case 1: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellID) }() + case 2: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellBaseTimestamp) }() + case 3: try { try decoder.decodeSingularUInt64Field(value: &self.s2CellTimestamp) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.entityKey) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &self.deletedEntityKey) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.arbeIssuedClientID.isEmpty { - try visitor.visitSingularStringField(value: self.arbeIssuedClientID, fieldNumber: 1) + if self.s2CellID != 0 { + try visitor.visitSingularUInt64Field(value: self.s2CellID, fieldNumber: 1) } - if !self.mpSessionID.isEmpty { - try visitor.visitSingularStringField(value: self.mpSessionID, fieldNumber: 2) + if self.s2CellBaseTimestamp != 0 { + try visitor.visitSingularUInt64Field(value: self.s2CellBaseTimestamp, fieldNumber: 2) } - if !self.clientType.isEmpty { - try visitor.visitSingularStringField(value: self.clientType, fieldNumber: 3) + if self.s2CellTimestamp != 0 { + try visitor.visitSingularUInt64Field(value: self.s2CellTimestamp, fieldNumber: 3) } - if !self.colocalizationState.isEmpty { - try visitor.visitSingularStringField(value: self.colocalizationState, fieldNumber: 4) + if !self.entityKey.isEmpty { + try visitor.visitRepeatedStringField(value: self.entityKey, fieldNumber: 4) } - switch self.colocalizationEvent { - case .adHocTimeWaitingForLocalizationDataMs?: try { - guard case .adHocTimeWaitingForLocalizationDataMs(let v)? = self.colocalizationEvent else { preconditionFailure() } - try visitor.visitSingularUInt64Field(value: v, fieldNumber: 5) - }() - case .adHocTimeToLocalizeMs?: try { - guard case .adHocTimeToLocalizeMs(let v)? = self.colocalizationEvent else { preconditionFailure() } - try visitor.visitSingularUInt64Field(value: v, fieldNumber: 6) - }() - case .adHocMapUploadEvent?: try { - guard case .adHocMapUploadEvent(let v)? = self.colocalizationEvent else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 7) - }() - case nil: break + if !self.deletedEntityKey.isEmpty { + try visitor.visitRepeatedStringField(value: self.deletedEntityKey, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MultiplayerColocalizationEvent, rhs: MultiplayerColocalizationEvent) -> Bool { - if lhs.arbeIssuedClientID != rhs.arbeIssuedClientID {return false} - if lhs.mpSessionID != rhs.mpSessionID {return false} - if lhs.clientType != rhs.clientType {return false} - if lhs.colocalizationState != rhs.colocalizationState {return false} - if lhs.colocalizationEvent != rhs.colocalizationEvent {return false} + public static func ==(lhs: MapS2Cell, rhs: MapS2Cell) -> Bool { + if lhs.s2CellID != rhs.s2CellID {return false} + if lhs.s2CellBaseTimestamp != rhs.s2CellBaseTimestamp {return false} + if lhs.s2CellTimestamp != rhs.s2CellTimestamp {return false} + if lhs.entityKey != rhs.entityKey {return false} + if lhs.deletedEntityKey != rhs.deletedEntityKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MultiplayerColocalizationInitializationEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MultiplayerColocalizationInitializationEvent" +extension MapS2CellEntity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapS2CellEntity" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "colocalization_type"), + 1: .same(proto: "key"), + 2: .same(proto: "timestamp"), + 3: .same(proto: "payload"), + 4: .standard(proto: "new_shape"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238844,33 +249302,51 @@ extension MultiplayerColocalizationInitializationEvent: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.colocalizationType) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.key) }() + case 2: try { try decoder.decodeSingularUInt64Field(value: &self.timestamp) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._newShape) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.colocalizationType.isEmpty { - try visitor.visitSingularStringField(value: self.colocalizationType, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.key.isEmpty { + try visitor.visitSingularStringField(value: self.key, fieldNumber: 1) + } + if self.timestamp != 0 { + try visitor.visitSingularUInt64Field(value: self.timestamp, fieldNumber: 2) + } + if !self.payload.isEmpty { + try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 3) } + try { if let v = self._newShape { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MultiplayerColocalizationInitializationEvent, rhs: MultiplayerColocalizationInitializationEvent) -> Bool { - if lhs.colocalizationType != rhs.colocalizationType {return false} + public static func ==(lhs: MapS2CellEntity, rhs: MapS2CellEntity) -> Bool { + if lhs.key != rhs.key {return false} + if lhs.timestamp != rhs.timestamp {return false} + if lhs.payload != rhs.payload {return false} + if lhs._newShape != rhs._newShape {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MultiplayerConnectionEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MultiplayerConnectionEvent" +extension MapS2CellEntity.Location: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = MapS2CellEntity.protoMessageName + ".Location" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "arbe_issued_client_id"), - 2: .standard(proto: "mp_session_id"), - 3: .standard(proto: "connect_state"), - 4: .standard(proto: "arbe_response"), + 1: .same(proto: "latitude"), + 2: .same(proto: "longitude"), + 3: .same(proto: "altitude"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238879,52 +249355,52 @@ extension MultiplayerConnectionEvent: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.arbeIssuedClientID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.mpSessionID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.connectState) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.arbeResponse) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.altitude) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.arbeIssuedClientID.isEmpty { - try visitor.visitSingularStringField(value: self.arbeIssuedClientID, fieldNumber: 1) - } - if !self.mpSessionID.isEmpty { - try visitor.visitSingularStringField(value: self.mpSessionID, fieldNumber: 2) + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 1) } - if !self.connectState.isEmpty { - try visitor.visitSingularStringField(value: self.connectState, fieldNumber: 3) + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 2) } - if self.arbeResponse != 0 { - try visitor.visitSingularInt64Field(value: self.arbeResponse, fieldNumber: 4) + if self.altitude != 0 { + try visitor.visitSingularDoubleField(value: self.altitude, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MultiplayerConnectionEvent, rhs: MultiplayerConnectionEvent) -> Bool { - if lhs.arbeIssuedClientID != rhs.arbeIssuedClientID {return false} - if lhs.mpSessionID != rhs.mpSessionID {return false} - if lhs.connectState != rhs.connectState {return false} - if lhs.arbeResponse != rhs.arbeResponse {return false} + public static func ==(lhs: MapS2CellEntity.Location, rhs: MapS2CellEntity.Location) -> Bool { + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.altitude != rhs.altitude {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension MusicSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".MusicSettings" +extension MapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "special_event_music_1"), - 2: .standard(proto: "map_music_override"), - 3: .standard(proto: "event_music_3"), - 4: .standard(proto: "event_music_4"), - 5: .standard(proto: "second_special_event_music_choice"), - 6: .standard(proto: "special_event_music_enabled"), - 7: .standard(proto: "ob_string_1"), - 8: .standard(proto: "ob_string_2"), + 1: .standard(proto: "pokemon_visible_range"), + 2: .standard(proto: "poke_nav_range_meters"), + 3: .standard(proto: "encounter_range_meters"), + 4: .standard(proto: "get_map_objects_min_refresh_seconds"), + 5: .standard(proto: "get_map_objects_max_refresh_seconds"), + 6: .standard(proto: "get_map_objects_min_distance_meters"), + 7: .standard(proto: "google_maps_api_key"), + 8: .standard(proto: "min_nearby_hide_sightings"), + 9: .standard(proto: "enable_special_weather"), + 10: .standard(proto: "special_weather_probability"), + 11: .standard(proto: "google_maps_client_id"), + 12: .standard(proto: "enable_encounter_v2"), + 13: .standard(proto: "pokemon_despawn_range"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -238933,71 +249409,93 @@ extension MusicSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.specialEventMusic1) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.mapMusicOverride) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.eventMusic3) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.eventMusic4) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.secondSpecialEventMusicChoice) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.specialEventMusicEnabled) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.obString2) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.pokemonVisibleRange) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.pokeNavRangeMeters) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.encounterRangeMeters) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.getMapObjectsMinRefreshSeconds) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.getMapObjectsMaxRefreshSeconds) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.getMapObjectsMinDistanceMeters) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.googleMapsApiKey) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.minNearbyHideSightings) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.enableSpecialWeather) }() + case 10: try { try decoder.decodeSingularFloatField(value: &self.specialWeatherProbability) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.googleMapsClientID) }() + case 12: try { try decoder.decodeSingularBoolField(value: &self.enableEncounterV2) }() + case 13: try { try decoder.decodeSingularDoubleField(value: &self.pokemonDespawnRange) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.specialEventMusic1.isEmpty { - try visitor.visitSingularStringField(value: self.specialEventMusic1, fieldNumber: 1) + if self.pokemonVisibleRange != 0 { + try visitor.visitSingularDoubleField(value: self.pokemonVisibleRange, fieldNumber: 1) + } + if self.pokeNavRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.pokeNavRangeMeters, fieldNumber: 2) + } + if self.encounterRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.encounterRangeMeters, fieldNumber: 3) + } + if self.getMapObjectsMinRefreshSeconds != 0 { + try visitor.visitSingularFloatField(value: self.getMapObjectsMinRefreshSeconds, fieldNumber: 4) + } + if self.getMapObjectsMaxRefreshSeconds != 0 { + try visitor.visitSingularFloatField(value: self.getMapObjectsMaxRefreshSeconds, fieldNumber: 5) + } + if self.getMapObjectsMinDistanceMeters != 0 { + try visitor.visitSingularFloatField(value: self.getMapObjectsMinDistanceMeters, fieldNumber: 6) } - if !self.mapMusicOverride.isEmpty { - try visitor.visitSingularStringField(value: self.mapMusicOverride, fieldNumber: 2) + if !self.googleMapsApiKey.isEmpty { + try visitor.visitSingularStringField(value: self.googleMapsApiKey, fieldNumber: 7) } - if !self.eventMusic3.isEmpty { - try visitor.visitSingularStringField(value: self.eventMusic3, fieldNumber: 3) + if self.minNearbyHideSightings != 0 { + try visitor.visitSingularInt32Field(value: self.minNearbyHideSightings, fieldNumber: 8) } - if !self.eventMusic4.isEmpty { - try visitor.visitSingularStringField(value: self.eventMusic4, fieldNumber: 4) + if self.enableSpecialWeather != false { + try visitor.visitSingularBoolField(value: self.enableSpecialWeather, fieldNumber: 9) } - if !self.secondSpecialEventMusicChoice.isEmpty { - try visitor.visitSingularStringField(value: self.secondSpecialEventMusicChoice, fieldNumber: 5) + if self.specialWeatherProbability != 0 { + try visitor.visitSingularFloatField(value: self.specialWeatherProbability, fieldNumber: 10) } - if self.specialEventMusicEnabled != false { - try visitor.visitSingularBoolField(value: self.specialEventMusicEnabled, fieldNumber: 6) + if !self.googleMapsClientID.isEmpty { + try visitor.visitSingularStringField(value: self.googleMapsClientID, fieldNumber: 11) } - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 7) + if self.enableEncounterV2 != false { + try visitor.visitSingularBoolField(value: self.enableEncounterV2, fieldNumber: 12) } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 8) + if self.pokemonDespawnRange != 0 { + try visitor.visitSingularDoubleField(value: self.pokemonDespawnRange, fieldNumber: 13) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: MusicSettings, rhs: MusicSettings) -> Bool { - if lhs.specialEventMusic1 != rhs.specialEventMusic1 {return false} - if lhs.mapMusicOverride != rhs.mapMusicOverride {return false} - if lhs.eventMusic3 != rhs.eventMusic3 {return false} - if lhs.eventMusic4 != rhs.eventMusic4 {return false} - if lhs.secondSpecialEventMusicChoice != rhs.secondSpecialEventMusicChoice {return false} - if lhs.specialEventMusicEnabled != rhs.specialEventMusicEnabled {return false} - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} + public static func ==(lhs: MapSettingsProto, rhs: MapSettingsProto) -> Bool { + if lhs.pokemonVisibleRange != rhs.pokemonVisibleRange {return false} + if lhs.pokeNavRangeMeters != rhs.pokeNavRangeMeters {return false} + if lhs.encounterRangeMeters != rhs.encounterRangeMeters {return false} + if lhs.getMapObjectsMinRefreshSeconds != rhs.getMapObjectsMinRefreshSeconds {return false} + if lhs.getMapObjectsMaxRefreshSeconds != rhs.getMapObjectsMaxRefreshSeconds {return false} + if lhs.getMapObjectsMinDistanceMeters != rhs.getMapObjectsMinDistanceMeters {return false} + if lhs.googleMapsApiKey != rhs.googleMapsApiKey {return false} + if lhs.minNearbyHideSightings != rhs.minNearbyHideSightings {return false} + if lhs.enableSpecialWeather != rhs.enableSpecialWeather {return false} + if lhs.specialWeatherProbability != rhs.specialWeatherProbability {return false} + if lhs.googleMapsClientID != rhs.googleMapsClientID {return false} + if lhs.enableEncounterV2 != rhs.enableEncounterV2 {return false} + if lhs.pokemonDespawnRange != rhs.pokemonDespawnRange {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAClientPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAClientPlayerProto" +extension MapTile: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapTile" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "creation_time_ms"), - 3: .same(proto: "email"), - 4: .same(proto: "roles"), - 5: .standard(proto: "developer_keys"), - 6: .same(proto: "accounts"), - 7: .standard(proto: "onboarding_complete"), + 1: .same(proto: "zoom"), + 2: .same(proto: "x"), + 3: .same(proto: "y"), + 4: .same(proto: "layers"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239006,64 +249504,51 @@ extension NMAClientPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.creationTimeMs) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.email) }() - case 4: try { try decoder.decodeRepeatedEnumField(value: &self.roles) }() - case 5: try { try decoder.decodeRepeatedStringField(value: &self.developerKeys) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.accounts) }() - case 7: try { try decoder.decodeRepeatedEnumField(value: &self.onboardingComplete) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.zoom) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.x) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.y) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.layers) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) - } - if self.creationTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.creationTimeMs, fieldNumber: 2) - } - if !self.email.isEmpty { - try visitor.visitSingularStringField(value: self.email, fieldNumber: 3) - } - if !self.roles.isEmpty { - try visitor.visitPackedEnumField(value: self.roles, fieldNumber: 4) + if self.zoom != 0 { + try visitor.visitSingularInt32Field(value: self.zoom, fieldNumber: 1) } - if !self.developerKeys.isEmpty { - try visitor.visitRepeatedStringField(value: self.developerKeys, fieldNumber: 5) + if self.x != 0 { + try visitor.visitSingularInt32Field(value: self.x, fieldNumber: 2) } - if !self.accounts.isEmpty { - try visitor.visitRepeatedMessageField(value: self.accounts, fieldNumber: 6) + if self.y != 0 { + try visitor.visitSingularInt32Field(value: self.y, fieldNumber: 3) } - if !self.onboardingComplete.isEmpty { - try visitor.visitPackedEnumField(value: self.onboardingComplete, fieldNumber: 7) + if !self.layers.isEmpty { + try visitor.visitRepeatedMessageField(value: self.layers, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAClientPlayerProto, rhs: NMAClientPlayerProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.creationTimeMs != rhs.creationTimeMs {return false} - if lhs.email != rhs.email {return false} - if lhs.roles != rhs.roles {return false} - if lhs.developerKeys != rhs.developerKeys {return false} - if lhs.accounts != rhs.accounts {return false} - if lhs.onboardingComplete != rhs.onboardingComplete {return false} + public static func ==(lhs: MapTile, rhs: MapTile) -> Bool { + if lhs.zoom != rhs.zoom {return false} + if lhs.x != rhs.x {return false} + if lhs.y != rhs.y {return false} + if lhs.layers != rhs.layers {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAGetPlayerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAGetPlayerOutProto" +extension MapTileBundle: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapTileBundle" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), - 3: .same(proto: "player"), - 4: .standard(proto: "was_created"), - 5: .same(proto: "jwt"), + 1: .standard(proto: "format_version"), + 2: .standard(proto: "tile_zoom"), + 3: .standard(proto: "bundle_zoom"), + 4: .standard(proto: "bundle_x"), + 5: .standard(proto: "bundle_y"), + 6: .same(proto: "epoch"), + 7: .same(proto: "tiles"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239072,63 +249557,63 @@ extension NMAGetPlayerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._player) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.wasCreated) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.jwt) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.formatVersion) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.tileZoom) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.bundleZoom) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.bundleX) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.bundleY) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.epoch) }() + case 7: try { try decoder.decodeRepeatedMessageField(value: &self.tiles) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unknownStatus { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.formatVersion != 0 { + try visitor.visitSingularInt32Field(value: self.formatVersion, fieldNumber: 1) } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + if self.tileZoom != 0 { + try visitor.visitSingularInt32Field(value: self.tileZoom, fieldNumber: 2) } - try { if let v = self._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if self.wasCreated != false { - try visitor.visitSingularBoolField(value: self.wasCreated, fieldNumber: 4) + if self.bundleZoom != 0 { + try visitor.visitSingularInt32Field(value: self.bundleZoom, fieldNumber: 3) + } + if self.bundleX != 0 { + try visitor.visitSingularInt32Field(value: self.bundleX, fieldNumber: 4) } - if !self.jwt.isEmpty { - try visitor.visitSingularStringField(value: self.jwt, fieldNumber: 5) + if self.bundleY != 0 { + try visitor.visitSingularInt32Field(value: self.bundleY, fieldNumber: 5) + } + if self.epoch != 0 { + try visitor.visitSingularInt32Field(value: self.epoch, fieldNumber: 6) + } + if !self.tiles.isEmpty { + try visitor.visitRepeatedMessageField(value: self.tiles, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAGetPlayerOutProto, rhs: NMAGetPlayerOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} - if lhs._player != rhs._player {return false} - if lhs.wasCreated != rhs.wasCreated {return false} - if lhs.jwt != rhs.jwt {return false} + public static func ==(lhs: MapTileBundle, rhs: MapTileBundle) -> Bool { + if lhs.formatVersion != rhs.formatVersion {return false} + if lhs.tileZoom != rhs.tileZoom {return false} + if lhs.bundleZoom != rhs.bundleZoom {return false} + if lhs.bundleX != rhs.bundleX {return false} + if lhs.bundleY != rhs.bundleY {return false} + if lhs.epoch != rhs.epoch {return false} + if lhs.tiles != rhs.tiles {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAGetPlayerOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_STATUS"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - ] -} - -extension NMAGetPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAGetPlayerProto" +extension MapTilesProcessed: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapTilesProcessed" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "lightship_token"), - 2: .standard(proto: "the8_th_wall_token"), + 1: .standard(proto: "num_tiles"), + 2: .standard(proto: "queue_time_ms"), + 3: .standard(proto: "build_time_ms"), + 4: .standard(proto: "main_thread_build_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239137,70 +249622,59 @@ extension NMAGetPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: NMALightshipTokenProto? - var hadOneofValue = false - if let current = self.userToken { - hadOneofValue = true - if case .lightshipToken(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.userToken = .lightshipToken(v) - } - }() - case 2: try { - var v: NMAThe8thWallTokenProto? - var hadOneofValue = false - if let current = self.userToken { - hadOneofValue = true - if case .the8ThWallToken(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.userToken = .the8ThWallToken(v) - } - }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numTiles) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.queueTimeMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.buildTimeMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.mainThreadBuildTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.userToken { - case .lightshipToken?: try { - guard case .lightshipToken(let v)? = self.userToken else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .the8ThWallToken?: try { - guard case .the8ThWallToken(let v)? = self.userToken else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case nil: break + if self.numTiles != 0 { + try visitor.visitSingularInt32Field(value: self.numTiles, fieldNumber: 1) + } + if self.queueTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.queueTimeMs, fieldNumber: 2) + } + if self.buildTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.buildTimeMs, fieldNumber: 3) + } + if self.mainThreadBuildTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.mainThreadBuildTimeMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAGetPlayerProto, rhs: NMAGetPlayerProto) -> Bool { - if lhs.userToken != rhs.userToken {return false} + public static func ==(lhs: MapTilesProcessed, rhs: MapTilesProcessed) -> Bool { + if lhs.numTiles != rhs.numTiles {return false} + if lhs.queueTimeMs != rhs.queueTimeMs {return false} + if lhs.buildTimeMs != rhs.buildTimeMs {return false} + if lhs.mainThreadBuildTimeMs != rhs.mainThreadBuildTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAGetServerConfigOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAGetServerConfigOutProto" +extension MapsClientTelemetryClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsClientTelemetryClientSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), - 3: .standard(proto: "vps_url"), - 4: .standard(proto: "use_legacy_scanning_system"), + 1: .standard(proto: "is_upload_enabled"), + 2: .standard(proto: "max_upload_size_in_bytes"), + 3: .standard(proto: "update_interval_in_sec"), + 4: .standard(proto: "settings_update_interval_in_sec"), + 5: .standard(proto: "max_envelope_queue_size"), + 6: .standard(proto: "sampling_probability"), + 7: .standard(proto: "use_player_based_sampling"), + 8: .standard(proto: "player_hash"), + 9: .standard(proto: "player_external_omni_id"), + 10: .standard(proto: "disable_omni_sending"), + 11: .standard(proto: "special_sampling_probability_map"), + 12: .standard(proto: "player_external_ua_id"), + 13: .standard(proto: "player_external_in_app_survey_id"), + 14: .standard(proto: "player_external_ardk_id"), + 15: .standard(proto: "enable_experimental_features"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239209,74 +249683,115 @@ extension NMAGetServerConfigOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.vpsURL) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.useLegacyScanningSystem) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isUploadEnabled) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.maxUploadSizeInBytes) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.updateIntervalInSec) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.settingsUpdateIntervalInSec) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.maxEnvelopeQueueSize) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.samplingProbability) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.usePlayerBasedSampling) }() + case 8: try { try decoder.decodeSingularDoubleField(value: &self.playerHash) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.playerExternalOmniID) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.disableOmniSending) }() + case 11: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.specialSamplingProbabilityMap) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.playerExternalUaID) }() + case 13: try { try decoder.decodeSingularStringField(value: &self.playerExternalInAppSurveyID) }() + case 14: try { try decoder.decodeSingularStringField(value: &self.playerExternalArdkID) }() + case 15: try { try decoder.decodeSingularBoolField(value: &self.enableExperimentalFeatures) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unknownStatus { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.isUploadEnabled != false { + try visitor.visitSingularBoolField(value: self.isUploadEnabled, fieldNumber: 1) } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + if self.maxUploadSizeInBytes != 0 { + try visitor.visitSingularInt64Field(value: self.maxUploadSizeInBytes, fieldNumber: 2) } - if !self.vpsURL.isEmpty { - try visitor.visitSingularStringField(value: self.vpsURL, fieldNumber: 3) + if self.updateIntervalInSec != 0 { + try visitor.visitSingularInt64Field(value: self.updateIntervalInSec, fieldNumber: 3) } - if self.useLegacyScanningSystem != false { - try visitor.visitSingularBoolField(value: self.useLegacyScanningSystem, fieldNumber: 4) + if self.settingsUpdateIntervalInSec != 0 { + try visitor.visitSingularInt64Field(value: self.settingsUpdateIntervalInSec, fieldNumber: 4) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: NMAGetServerConfigOutProto, rhs: NMAGetServerConfigOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} - if lhs.vpsURL != rhs.vpsURL {return false} - if lhs.useLegacyScanningSystem != rhs.useLegacyScanningSystem {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension NMAGetServerConfigOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_STATUS"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - ] -} - -extension NMAGetServerConfigProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAGetServerConfigProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if self.maxEnvelopeQueueSize != 0 { + try visitor.visitSingularInt64Field(value: self.maxEnvelopeQueueSize, fieldNumber: 5) + } + if self.samplingProbability != 0 { + try visitor.visitSingularDoubleField(value: self.samplingProbability, fieldNumber: 6) + } + if self.usePlayerBasedSampling != false { + try visitor.visitSingularBoolField(value: self.usePlayerBasedSampling, fieldNumber: 7) + } + if self.playerHash != 0 { + try visitor.visitSingularDoubleField(value: self.playerHash, fieldNumber: 8) + } + if !self.playerExternalOmniID.isEmpty { + try visitor.visitSingularStringField(value: self.playerExternalOmniID, fieldNumber: 9) + } + if self.disableOmniSending != false { + try visitor.visitSingularBoolField(value: self.disableOmniSending, fieldNumber: 10) + } + if !self.specialSamplingProbabilityMap.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.specialSamplingProbabilityMap, fieldNumber: 11) + } + if !self.playerExternalUaID.isEmpty { + try visitor.visitSingularStringField(value: self.playerExternalUaID, fieldNumber: 12) + } + if !self.playerExternalInAppSurveyID.isEmpty { + try visitor.visitSingularStringField(value: self.playerExternalInAppSurveyID, fieldNumber: 13) + } + if !self.playerExternalArdkID.isEmpty { + try visitor.visitSingularStringField(value: self.playerExternalArdkID, fieldNumber: 14) + } + if self.enableExperimentalFeatures != false { + try visitor.visitSingularBoolField(value: self.enableExperimentalFeatures, fieldNumber: 15) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAGetServerConfigProto, rhs: NMAGetServerConfigProto) -> Bool { + public static func ==(lhs: MapsClientTelemetryClientSettingsProto, rhs: MapsClientTelemetryClientSettingsProto) -> Bool { + if lhs.isUploadEnabled != rhs.isUploadEnabled {return false} + if lhs.maxUploadSizeInBytes != rhs.maxUploadSizeInBytes {return false} + if lhs.updateIntervalInSec != rhs.updateIntervalInSec {return false} + if lhs.settingsUpdateIntervalInSec != rhs.settingsUpdateIntervalInSec {return false} + if lhs.maxEnvelopeQueueSize != rhs.maxEnvelopeQueueSize {return false} + if lhs.samplingProbability != rhs.samplingProbability {return false} + if lhs.usePlayerBasedSampling != rhs.usePlayerBasedSampling {return false} + if lhs.playerHash != rhs.playerHash {return false} + if lhs.playerExternalOmniID != rhs.playerExternalOmniID {return false} + if lhs.disableOmniSending != rhs.disableOmniSending {return false} + if lhs.specialSamplingProbabilityMap != rhs.specialSamplingProbabilityMap {return false} + if lhs.playerExternalUaID != rhs.playerExternalUaID {return false} + if lhs.playerExternalInAppSurveyID != rhs.playerExternalInAppSurveyID {return false} + if lhs.playerExternalArdkID != rhs.playerExternalArdkID {return false} + if lhs.enableExperimentalFeatures != rhs.enableExperimentalFeatures {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAGetSurveyorProjectsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAGetSurveyorProjectsOutProto" +extension MapsClientTelemetryCommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsClientTelemetryCommonFilterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "error_status"), - 2: .standard(proto: "error_msg"), - 3: .same(proto: "projects"), + 1: .standard(proto: "application_identifier"), + 2: .standard(proto: "operating_system_name"), + 3: .standard(proto: "device_model"), + 4: .standard(proto: "locale_country_code"), + 5: .standard(proto: "locale_language_code"), + 6: .standard(proto: "sampling_probability"), + 7: .standard(proto: "quality_level"), + 8: .standard(proto: "network_connectivity_type"), + 9: .standard(proto: "game_context"), + 10: .standard(proto: "language_code"), + 11: .same(proto: "timezone"), + 12: .standard(proto: "ip_country_code"), + 13: .standard(proto: "graphics_device_vendor"), + 14: .standard(proto: "graphics_device_name"), + 15: .standard(proto: "graphics_device_type"), + 16: .standard(proto: "graphics_shader_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239285,108 +249800,243 @@ extension NMAGetSurveyorProjectsOutProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.errorStatus) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMsg) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.projects) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.applicationIdentifier) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.operatingSystemName) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.localeCountryCode) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.localeLanguageCode) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.samplingProbability) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.qualityLevel) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.networkConnectivityType) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.gameContext) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.timezone) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.ipCountryCode) }() + case 13: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceVendor) }() + case 14: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceName) }() + case 15: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceType) }() + case 16: try { try decoder.decodeSingularStringField(value: &self.graphicsShaderLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.errorStatus != .undefined { - try visitor.visitSingularEnumField(value: self.errorStatus, fieldNumber: 1) + if !self.applicationIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.applicationIdentifier, fieldNumber: 1) + } + if !self.operatingSystemName.isEmpty { + try visitor.visitSingularStringField(value: self.operatingSystemName, fieldNumber: 2) + } + if !self.deviceModel.isEmpty { + try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 3) + } + if !self.localeCountryCode.isEmpty { + try visitor.visitSingularStringField(value: self.localeCountryCode, fieldNumber: 4) + } + if !self.localeLanguageCode.isEmpty { + try visitor.visitSingularStringField(value: self.localeLanguageCode, fieldNumber: 5) + } + if self.samplingProbability != 0 { + try visitor.visitSingularDoubleField(value: self.samplingProbability, fieldNumber: 6) + } + if !self.qualityLevel.isEmpty { + try visitor.visitSingularStringField(value: self.qualityLevel, fieldNumber: 7) + } + if !self.networkConnectivityType.isEmpty { + try visitor.visitSingularStringField(value: self.networkConnectivityType, fieldNumber: 8) + } + if !self.gameContext.isEmpty { + try visitor.visitSingularStringField(value: self.gameContext, fieldNumber: 9) + } + if !self.languageCode.isEmpty { + try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 10) } - if !self.errorMsg.isEmpty { - try visitor.visitSingularStringField(value: self.errorMsg, fieldNumber: 2) + if !self.timezone.isEmpty { + try visitor.visitSingularStringField(value: self.timezone, fieldNumber: 11) + } + if !self.ipCountryCode.isEmpty { + try visitor.visitSingularStringField(value: self.ipCountryCode, fieldNumber: 12) + } + if !self.graphicsDeviceVendor.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceVendor, fieldNumber: 13) } - if !self.projects.isEmpty { - try visitor.visitRepeatedMessageField(value: self.projects, fieldNumber: 3) + if !self.graphicsDeviceName.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceName, fieldNumber: 14) + } + if !self.graphicsDeviceType.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceType, fieldNumber: 15) + } + if !self.graphicsShaderLevel.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsShaderLevel, fieldNumber: 16) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAGetSurveyorProjectsOutProto, rhs: NMAGetSurveyorProjectsOutProto) -> Bool { - if lhs.errorStatus != rhs.errorStatus {return false} - if lhs.errorMsg != rhs.errorMsg {return false} - if lhs.projects != rhs.projects {return false} + public static func ==(lhs: MapsClientTelemetryCommonFilterProto, rhs: MapsClientTelemetryCommonFilterProto) -> Bool { + if lhs.applicationIdentifier != rhs.applicationIdentifier {return false} + if lhs.operatingSystemName != rhs.operatingSystemName {return false} + if lhs.deviceModel != rhs.deviceModel {return false} + if lhs.localeCountryCode != rhs.localeCountryCode {return false} + if lhs.localeLanguageCode != rhs.localeLanguageCode {return false} + if lhs.samplingProbability != rhs.samplingProbability {return false} + if lhs.qualityLevel != rhs.qualityLevel {return false} + if lhs.networkConnectivityType != rhs.networkConnectivityType {return false} + if lhs.gameContext != rhs.gameContext {return false} + if lhs.languageCode != rhs.languageCode {return false} + if lhs.timezone != rhs.timezone {return false} + if lhs.ipCountryCode != rhs.ipCountryCode {return false} + if lhs.graphicsDeviceVendor != rhs.graphicsDeviceVendor {return false} + if lhs.graphicsDeviceName != rhs.graphicsDeviceName {return false} + if lhs.graphicsDeviceType != rhs.graphicsDeviceType {return false} + if lhs.graphicsShaderLevel != rhs.graphicsShaderLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAGetSurveyorProjectsOutProto.ErrorStatus: SwiftProtobuf._ProtoNameProviding { +extension MapsClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsClientTelemetryOmniProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "ERROR"), - 2: .same(proto: "SUCCESS"), + 1: .standard(proto: "assertion_failed"), + 2: .standard(proto: "log_message"), + 3: .standard(proto: "maptiles_processed"), + 4: .standard(proto: "timestamp_ms"), + 5: .standard(proto: "common_filters"), ] -} -extension NMAGetSurveyorProjectsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAGetSurveyorProjectsProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + fileprivate class _StorageClass { + var _telemetryEvent: MapsClientTelemetryOmniProto.OneOf_TelemetryEvent? + var _timestampMs: Int64 = 0 + var _commonFilters: MapsTelemetryCommonFilterProto? = nil - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } + static let defaultInstance = _StorageClass() - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } + private init() {} - public static func ==(lhs: NMAGetSurveyorProjectsProto, rhs: NMAGetSurveyorProjectsProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true + init(copying source: _StorageClass) { + _telemetryEvent = source._telemetryEvent + _timestampMs = source._timestampMs + _commonFilters = source._commonFilters + } } -} -extension NMALightshipTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMALightshipTokenProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "authorization_token"), - 2: .standard(proto: "code_verifier"), - ] + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.authorizationToken) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.codeVerifier) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { + var v: AssertionFailed? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .assertionFailed(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .assertionFailed(v) + } + }() + case 2: try { + var v: LogMessage? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .logMessage(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .logMessage(v) + } + }() + case 3: try { + var v: MapTilesProcessed? + var hadOneofValue = false + if let current = _storage._telemetryEvent { + hadOneofValue = true + if case .maptilesProcessed(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._telemetryEvent = .maptilesProcessed(v) + } + }() + case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._timestampMs) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if !self.authorizationToken.isEmpty { - try visitor.visitSingularStringField(value: self.authorizationToken, fieldNumber: 1) - } - if !self.codeVerifier.isEmpty { - try visitor.visitSingularStringField(value: self.codeVerifier, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch _storage._telemetryEvent { + case .assertionFailed?: try { + guard case .assertionFailed(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .logMessage?: try { + guard case .logMessage(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .maptilesProcessed?: try { + guard case .maptilesProcessed(let v)? = _storage._telemetryEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case nil: break + } + if _storage._timestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._timestampMs, fieldNumber: 4) + } + try { if let v = _storage._commonFilters { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMALightshipTokenProto, rhs: NMALightshipTokenProto) -> Bool { - if lhs.authorizationToken != rhs.authorizationToken {return false} - if lhs.codeVerifier != rhs.codeVerifier {return false} + public static func ==(lhs: MapsClientTelemetryOmniProto, rhs: MapsClientTelemetryOmniProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._telemetryEvent != rhs_storage._telemetryEvent {return false} + if _storage._timestampMs != rhs_storage._timestampMs {return false} + if _storage._commonFilters != rhs_storage._commonFilters {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAProjectTaskProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAProjectTaskProto" +extension MapsClientTelemetryRecordResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsClientTelemetryRecordResult" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "task_id"), - 2: .standard(proto: "is_completed"), - 3: .standard(proto: "task_type"), - 4: .same(proto: "poi"), + 1: .standard(proto: "record_id"), + 2: .same(proto: "status"), + 3: .standard(proto: "telemetry_type_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239395,58 +250045,54 @@ extension NMAProjectTaskProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.taskID) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isCompleted) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.taskType) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._poi) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.recordID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.telemetryTypeName) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.taskID.isEmpty { - try visitor.visitSingularStringField(value: self.taskID, fieldNumber: 1) + if !self.recordID.isEmpty { + try visitor.visitSingularStringField(value: self.recordID, fieldNumber: 1) } - if self.isCompleted != false { - try visitor.visitSingularBoolField(value: self.isCompleted, fieldNumber: 2) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) } - if self.taskType != .undefined { - try visitor.visitSingularEnumField(value: self.taskType, fieldNumber: 3) + if !self.telemetryTypeName.isEmpty { + try visitor.visitSingularStringField(value: self.telemetryTypeName, fieldNumber: 3) } - try { if let v = self._poi { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAProjectTaskProto, rhs: NMAProjectTaskProto) -> Bool { - if lhs.taskID != rhs.taskID {return false} - if lhs.isCompleted != rhs.isCompleted {return false} - if lhs.taskType != rhs.taskType {return false} - if lhs._poi != rhs._poi {return false} + public static func ==(lhs: MapsClientTelemetryRecordResult, rhs: MapsClientTelemetryRecordResult) -> Bool { + if lhs.recordID != rhs.recordID {return false} + if lhs.status != rhs.status {return false} + if lhs.telemetryTypeName != rhs.telemetryTypeName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAProjectTaskProto.TaskType: SwiftProtobuf._ProtoNameProviding { +extension MapsClientTelemetryRecordResult.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "MAPPING"), - 2: .same(proto: "VALIDATION"), + 0: .same(proto: "UNSET"), + 20: .same(proto: "SUCCESS"), + 21: .same(proto: "ERROR_FAMILY_UNSET"), + 22: .same(proto: "ERROR_FAMILY_INVALID"), + 23: .same(proto: "ERROR_ENCODING_INVALID"), + 24: .same(proto: "ERROR_UNSET_METRIC_ID"), + 25: .same(proto: "ERROR_EVENT_TELEMETRY_UNDEFINED"), ] } -extension NMASlimPoiImageData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMASlimPoiImageData" +extension MapsClientTelemetryResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsClientTelemetryResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "image_id"), - 2: .standard(proto: "image_url"), + 1: .same(proto: "status"), + 2: .standard(proto: "rows_written"), + 3: .standard(proto: "nonretryable_failures"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239455,84 +250101,55 @@ extension NMASlimPoiImageData: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.imageID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rowsWritten) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.nonretryableFailures) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.imageID.isEmpty { - try visitor.visitSingularStringField(value: self.imageID, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 2) + if self.rowsWritten != 0 { + try visitor.visitSingularInt32Field(value: self.rowsWritten, fieldNumber: 2) + } + if self.nonretryableFailures != 0 { + try visitor.visitSingularInt32Field(value: self.nonretryableFailures, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMASlimPoiImageData, rhs: NMASlimPoiImageData) -> Bool { - if lhs.imageID != rhs.imageID {return false} - if lhs.imageURL != rhs.imageURL {return false} + public static func ==(lhs: MapsClientTelemetryResponseProto, rhs: MapsClientTelemetryResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.rowsWritten != rhs.rowsWritten {return false} + if lhs.nonretryableFailures != rhs.nonretryableFailures {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMASlimPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMASlimPoiProto" +extension MapsClientTelemetryResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .same(proto: "title"), - 3: .same(proto: "images"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + 3: .same(proto: "PARTIAL_FAILURE"), + 4: .same(proto: "INVALID_REQUEST"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.title) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.images) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) - } - if !self.title.isEmpty { - try visitor.visitSingularStringField(value: self.title, fieldNumber: 2) - } - if !self.images.isEmpty { - try visitor.visitRepeatedMessageField(value: self.images, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: NMASlimPoiProto, rhs: NMASlimPoiProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.title != rhs.title {return false} - if lhs.images != rhs.images {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension NMASurveyorProjectProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMASurveyorProjectProto" +extension MapsPlatformPlayerInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsPlatformPlayerInfo" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "project_id"), - 2: .standard(proto: "project_name"), - 3: .same(proto: "status"), - 4: .same(proto: "notes"), - 5: .standard(proto: "estimated_completion_timestamp_ms"), - 6: .same(proto: "tasks"), + 1: .standard(proto: "identity_provider"), + 2: .standard(proto: "profile_creation_timestamp_ms"), + 3: .standard(proto: "player_level"), + 4: .standard(proto: "team_id"), + 5: .standard(proto: "lifetime_km_walked"), + 6: .standard(proto: "lifetime_steps_walked"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239541,69 +250158,57 @@ extension NMASurveyorProjectProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.projectID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.projectName) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.notes) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.estimatedCompletionTimestampMs) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.tasks) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.identityProvider) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.profileCreationTimestampMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.playerLevel) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.teamID) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.lifetimeKmWalked) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.lifetimeStepsWalked) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.projectID.isEmpty { - try visitor.visitSingularStringField(value: self.projectID, fieldNumber: 1) + if !self.identityProvider.isEmpty { + try visitor.visitSingularStringField(value: self.identityProvider, fieldNumber: 1) } - if !self.projectName.isEmpty { - try visitor.visitSingularStringField(value: self.projectName, fieldNumber: 2) + if self.profileCreationTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.profileCreationTimestampMs, fieldNumber: 2) } - if self.status != .undefined { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) + if self.playerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.playerLevel, fieldNumber: 3) } - if !self.notes.isEmpty { - try visitor.visitSingularStringField(value: self.notes, fieldNumber: 4) + if self.teamID != 0 { + try visitor.visitSingularInt32Field(value: self.teamID, fieldNumber: 4) } - if self.estimatedCompletionTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.estimatedCompletionTimestampMs, fieldNumber: 5) + if self.lifetimeKmWalked != 0 { + try visitor.visitSingularDoubleField(value: self.lifetimeKmWalked, fieldNumber: 5) } - if !self.tasks.isEmpty { - try visitor.visitRepeatedMessageField(value: self.tasks, fieldNumber: 6) + if self.lifetimeStepsWalked != 0 { + try visitor.visitSingularInt64Field(value: self.lifetimeStepsWalked, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMASurveyorProjectProto, rhs: NMASurveyorProjectProto) -> Bool { - if lhs.projectID != rhs.projectID {return false} - if lhs.projectName != rhs.projectName {return false} - if lhs.status != rhs.status {return false} - if lhs.notes != rhs.notes {return false} - if lhs.estimatedCompletionTimestampMs != rhs.estimatedCompletionTimestampMs {return false} - if lhs.tasks != rhs.tasks {return false} + public static func ==(lhs: MapsPlatformPlayerInfo, rhs: MapsPlatformPlayerInfo) -> Bool { + if lhs.identityProvider != rhs.identityProvider {return false} + if lhs.profileCreationTimestampMs != rhs.profileCreationTimestampMs {return false} + if lhs.playerLevel != rhs.playerLevel {return false} + if lhs.teamID != rhs.teamID {return false} + if lhs.lifetimeKmWalked != rhs.lifetimeKmWalked {return false} + if lhs.lifetimeStepsWalked != rhs.lifetimeStepsWalked {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMASurveyorProjectProto.ProjectStatus: SwiftProtobuf._ProtoNameProviding { +extension MapsTelemetryAttribute: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryAttribute" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "ACTIVE"), - 2: .same(proto: "INACTIVE"), - ] -} - -extension NMAThe8thWallAccessTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAThe8thWallAccessTokenProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "uid"), - 2: .same(proto: "name"), - 3: .same(proto: "email"), - 4: .standard(proto: "email_verified"), - 5: .same(proto: "metadata"), - 6: .same(proto: "disabled"), - 7: .same(proto: "accounts"), + 1: .same(proto: "field"), + 2: .same(proto: "value"), + 3: .same(proto: "timestamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239612,13 +250217,9 @@ extension NMAThe8thWallAccessTokenProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.uid) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.email) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.emailVerified) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._metadata) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.disabled) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &self.accounts) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._field) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._value) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.timestamp) }() default: break } } @@ -239629,51 +250230,31 @@ extension NMAThe8thWallAccessTokenProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.uid.isEmpty { - try visitor.visitSingularStringField(value: self.uid, fieldNumber: 1) - } - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) - } - if !self.email.isEmpty { - try visitor.visitSingularStringField(value: self.email, fieldNumber: 3) - } - if self.emailVerified != false { - try visitor.visitSingularBoolField(value: self.emailVerified, fieldNumber: 4) - } - try { if let v = self._metadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + try { if let v = self._field { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if self.disabled != false { - try visitor.visitSingularBoolField(value: self.disabled, fieldNumber: 6) - } - if !self.accounts.isEmpty { - try visitor.visitRepeatedMessageField(value: self.accounts, fieldNumber: 7) + try { if let v = self._value { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.timestamp != 0 { + try visitor.visitSingularInt64Field(value: self.timestamp, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAThe8thWallAccessTokenProto, rhs: NMAThe8thWallAccessTokenProto) -> Bool { - if lhs.uid != rhs.uid {return false} - if lhs.name != rhs.name {return false} - if lhs.email != rhs.email {return false} - if lhs.emailVerified != rhs.emailVerified {return false} - if lhs._metadata != rhs._metadata {return false} - if lhs.disabled != rhs.disabled {return false} - if lhs.accounts != rhs.accounts {return false} + public static func ==(lhs: MapsTelemetryAttribute, rhs: MapsTelemetryAttribute) -> Bool { + if lhs._field != rhs._field {return false} + if lhs._value != rhs._value {return false} + if lhs.timestamp != rhs.timestamp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAThe8thWallAccountProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAThe8thWallAccountProto" +extension MapsTelemetryAttribute.Label: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = MapsTelemetryAttribute.protoMessageName + ".Label" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "uid"), - 3: .same(proto: "status"), - 4: .standard(proto: "account_type"), - 5: .standard(proto: "violation_status"), + 1: .same(proto: "field"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239682,70 +250263,36 @@ extension NMAThe8thWallAccountProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.uid) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.status) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.accountType) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.violationStatus) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._field) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.uid.isEmpty { - try visitor.visitSingularStringField(value: self.uid, fieldNumber: 2) - } - if !self.status.isEmpty { - try visitor.visitSingularStringField(value: self.status, fieldNumber: 3) - } - if !self.accountType.isEmpty { - try visitor.visitSingularStringField(value: self.accountType, fieldNumber: 4) - } - if !self.violationStatus.isEmpty { - try visitor.visitSingularStringField(value: self.violationStatus, fieldNumber: 5) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: NMAThe8thWallAccountProto, rhs: NMAThe8thWallAccountProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.uid != rhs.uid {return false} - if lhs.status != rhs.status {return false} - if lhs.accountType != rhs.accountType {return false} - if lhs.violationStatus != rhs.violationStatus {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension NMAThe8thWallMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAThe8thWallMetadataProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._field { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAThe8thWallMetadataProto, rhs: NMAThe8thWallMetadataProto) -> Bool { + public static func ==(lhs: MapsTelemetryAttribute.Label, rhs: MapsTelemetryAttribute.Label) -> Bool { + if lhs._field != rhs._field {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAThe8thWallTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAThe8thWallTokenProto" +extension MapsTelemetryAttributeRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryAttributeRecordProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "authorization_token"), - 2: .standard(proto: "code_verifier"), + 1: .same(proto: "common"), + 2: .standard(proto: "compressed_common"), + 3: .same(proto: "attribute"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239754,36 +250301,68 @@ extension NMAThe8thWallTokenProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.authorizationToken) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.codeVerifier) }() + case 1: try { + var v: MapsTelemetryMetadataProto? + var hadOneofValue = false + if let current = self.metadata { + hadOneofValue = true + if case .common(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.metadata = .common(v) + } + }() + case 2: try { + var v: Data? + try decoder.decodeSingularBytesField(value: &v) + if let v = v { + if self.metadata != nil {try decoder.handleConflictingOneOf()} + self.metadata = .compressedCommon(v) + } + }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._attribute) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.authorizationToken.isEmpty { - try visitor.visitSingularStringField(value: self.authorizationToken, fieldNumber: 1) - } - if !self.codeVerifier.isEmpty { - try visitor.visitSingularStringField(value: self.codeVerifier, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.metadata { + case .common?: try { + guard case .common(let v)? = self.metadata else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .compressedCommon?: try { + guard case .compressedCommon(let v)? = self.metadata else { preconditionFailure() } + try visitor.visitSingularBytesField(value: v, fieldNumber: 2) + }() + case nil: break } + try { if let v = self._attribute { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAThe8thWallTokenProto, rhs: NMAThe8thWallTokenProto) -> Bool { - if lhs.authorizationToken != rhs.authorizationToken {return false} - if lhs.codeVerifier != rhs.codeVerifier {return false} + public static func ==(lhs: MapsTelemetryAttributeRecordProto, rhs: MapsTelemetryAttributeRecordProto) -> Bool { + if lhs.metadata != rhs.metadata {return false} + if lhs._attribute != rhs._attribute {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAUpdateSurveyorProjectOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAUpdateSurveyorProjectOutProto" +extension MapsTelemetryBatchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryBatchProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "error_status"), - 2: .standard(proto: "error_msg"), + 1: .standard(proto: "environment_id"), + 2: .same(proto: "events"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239792,44 +250371,50 @@ extension NMAUpdateSurveyorProjectOutProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.errorStatus) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMsg) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.environmentID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.events) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.errorStatus != .undefined { - try visitor.visitSingularEnumField(value: self.errorStatus, fieldNumber: 1) + if !self.environmentID.isEmpty { + try visitor.visitSingularStringField(value: self.environmentID, fieldNumber: 1) } - if !self.errorMsg.isEmpty { - try visitor.visitSingularStringField(value: self.errorMsg, fieldNumber: 2) + if !self.events.isEmpty { + try visitor.visitRepeatedMessageField(value: self.events, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAUpdateSurveyorProjectOutProto, rhs: NMAUpdateSurveyorProjectOutProto) -> Bool { - if lhs.errorStatus != rhs.errorStatus {return false} - if lhs.errorMsg != rhs.errorMsg {return false} + public static func ==(lhs: MapsTelemetryBatchProto, rhs: MapsTelemetryBatchProto) -> Bool { + if lhs.environmentID != rhs.environmentID {return false} + if lhs.events != rhs.events {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAUpdateSurveyorProjectOutProto.ErrorStatus: SwiftProtobuf._ProtoNameProviding { +extension MapsTelemetryCommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryCommonFilterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "ERROR"), - 2: .same(proto: "SUCCESS"), - ] -} - -extension NMAUpdateSurveyorProjectProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAUpdateSurveyorProjectProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "project_task_id"), - 2: .same(proto: "completed"), + 1: .standard(proto: "application_identifier"), + 2: .standard(proto: "operating_system_name"), + 3: .standard(proto: "device_model"), + 4: .standard(proto: "locale_country_code"), + 5: .standard(proto: "locale_language_code"), + 6: .standard(proto: "quality_level"), + 7: .standard(proto: "network_connectivity_type"), + 8: .standard(proto: "game_context"), + 9: .same(proto: "timezone"), + 10: .standard(proto: "client_version"), + 11: .standard(proto: "sdk_version"), + 12: .standard(proto: "unity_version"), + 13: .standard(proto: "graphics_device_vendor"), + 14: .standard(proto: "graphics_device_name"), + 15: .standard(proto: "graphics_device_type"), + 16: .standard(proto: "graphics_shader_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239838,37 +250423,110 @@ extension NMAUpdateSurveyorProjectProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.projectTaskID) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.completed) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.applicationIdentifier) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.operatingSystemName) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.localeCountryCode) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.localeLanguageCode) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.qualityLevel) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.networkConnectivityType) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.gameContext) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.timezone) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.clientVersion) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.sdkVersion) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.unityVersion) }() + case 13: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceVendor) }() + case 14: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceName) }() + case 15: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceType) }() + case 16: try { try decoder.decodeSingularStringField(value: &self.graphicsShaderLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.projectTaskID.isEmpty { - try visitor.visitSingularStringField(value: self.projectTaskID, fieldNumber: 1) + if !self.applicationIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.applicationIdentifier, fieldNumber: 1) } - if self.completed != false { - try visitor.visitSingularBoolField(value: self.completed, fieldNumber: 2) + if !self.operatingSystemName.isEmpty { + try visitor.visitSingularStringField(value: self.operatingSystemName, fieldNumber: 2) + } + if !self.deviceModel.isEmpty { + try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 3) + } + if !self.localeCountryCode.isEmpty { + try visitor.visitSingularStringField(value: self.localeCountryCode, fieldNumber: 4) + } + if !self.localeLanguageCode.isEmpty { + try visitor.visitSingularStringField(value: self.localeLanguageCode, fieldNumber: 5) + } + if !self.qualityLevel.isEmpty { + try visitor.visitSingularStringField(value: self.qualityLevel, fieldNumber: 6) + } + if !self.networkConnectivityType.isEmpty { + try visitor.visitSingularStringField(value: self.networkConnectivityType, fieldNumber: 7) + } + if !self.gameContext.isEmpty { + try visitor.visitSingularStringField(value: self.gameContext, fieldNumber: 8) + } + if !self.timezone.isEmpty { + try visitor.visitSingularStringField(value: self.timezone, fieldNumber: 9) + } + if !self.clientVersion.isEmpty { + try visitor.visitSingularStringField(value: self.clientVersion, fieldNumber: 10) + } + if !self.sdkVersion.isEmpty { + try visitor.visitSingularStringField(value: self.sdkVersion, fieldNumber: 11) + } + if !self.unityVersion.isEmpty { + try visitor.visitSingularStringField(value: self.unityVersion, fieldNumber: 12) + } + if !self.graphicsDeviceVendor.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceVendor, fieldNumber: 13) + } + if !self.graphicsDeviceName.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceName, fieldNumber: 14) + } + if !self.graphicsDeviceType.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceType, fieldNumber: 15) + } + if !self.graphicsShaderLevel.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsShaderLevel, fieldNumber: 16) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAUpdateSurveyorProjectProto, rhs: NMAUpdateSurveyorProjectProto) -> Bool { - if lhs.projectTaskID != rhs.projectTaskID {return false} - if lhs.completed != rhs.completed {return false} + public static func ==(lhs: MapsTelemetryCommonFilterProto, rhs: MapsTelemetryCommonFilterProto) -> Bool { + if lhs.applicationIdentifier != rhs.applicationIdentifier {return false} + if lhs.operatingSystemName != rhs.operatingSystemName {return false} + if lhs.deviceModel != rhs.deviceModel {return false} + if lhs.localeCountryCode != rhs.localeCountryCode {return false} + if lhs.localeLanguageCode != rhs.localeLanguageCode {return false} + if lhs.qualityLevel != rhs.qualityLevel {return false} + if lhs.networkConnectivityType != rhs.networkConnectivityType {return false} + if lhs.gameContext != rhs.gameContext {return false} + if lhs.timezone != rhs.timezone {return false} + if lhs.clientVersion != rhs.clientVersion {return false} + if lhs.sdkVersion != rhs.sdkVersion {return false} + if lhs.unityVersion != rhs.unityVersion {return false} + if lhs.graphicsDeviceVendor != rhs.graphicsDeviceVendor {return false} + if lhs.graphicsDeviceName != rhs.graphicsDeviceName {return false} + if lhs.graphicsDeviceType != rhs.graphicsDeviceType {return false} + if lhs.graphicsShaderLevel != rhs.graphicsShaderLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NMAUpdateUserOnboardingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAUpdateUserOnboardingOutProto" +extension MapsTelemetryEventRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryEventRecordProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), - 3: .same(proto: "player"), + 4: .standard(proto: "encoded_message"), + 5: .standard(proto: "compressed_message"), + 1: .same(proto: "common"), + 2: .standard(proto: "compressed_common"), + 3: .standard(proto: "event_name"), + 6: .standard(proto: "facet_detail_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239877,9 +250535,45 @@ extension NMAUpdateUserOnboardingOutProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._player) }() + case 1: try { + var v: MapsTelemetryMetadataProto? + var hadOneofValue = false + if let current = self.metadata { + hadOneofValue = true + if case .common(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.metadata = .common(v) + } + }() + case 2: try { + var v: Data? + try decoder.decodeSingularBytesField(value: &v) + if let v = v { + if self.metadata != nil {try decoder.handleConflictingOneOf()} + self.metadata = .compressedCommon(v) + } + }() + case 3: try { try decoder.decodeSingularStringField(value: &self.eventName) }() + case 4: try { + var v: Data? + try decoder.decodeSingularBytesField(value: &v) + if let v = v { + if self.message != nil {try decoder.handleConflictingOneOf()} + self.message = .encodedMessage(v) + } + }() + case 5: try { + var v: Data? + try decoder.decodeSingularBytesField(value: &v) + if let v = v { + if self.message != nil {try decoder.handleConflictingOneOf()} + self.message = .compressedMessage(v) + } + }() + case 6: try { try decoder.decodeSingularStringField(value: &self.facetDetailName) }() default: break } } @@ -239890,72 +250584,52 @@ extension NMAUpdateUserOnboardingOutProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unknownStatus { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + switch self.metadata { + case .common?: try { + guard case .common(let v)? = self.metadata else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .compressedCommon?: try { + guard case .compressedCommon(let v)? = self.metadata else { preconditionFailure() } + try visitor.visitSingularBytesField(value: v, fieldNumber: 2) + }() + case nil: break } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) + if !self.eventName.isEmpty { + try visitor.visitSingularStringField(value: self.eventName, fieldNumber: 3) } - try { if let v = self._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: NMAUpdateUserOnboardingOutProto, rhs: NMAUpdateUserOnboardingOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} - if lhs._player != rhs._player {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension NMAUpdateUserOnboardingOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN_STATUS"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - ] -} - -extension NMAUpdateUserOnboardingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NMAUpdateUserOnboardingProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "onboarding_complete"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.onboardingComplete) }() - default: break - } + switch self.message { + case .encodedMessage?: try { + guard case .encodedMessage(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularBytesField(value: v, fieldNumber: 4) + }() + case .compressedMessage?: try { + guard case .compressedMessage(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularBytesField(value: v, fieldNumber: 5) + }() + case nil: break } - } - - public func traverse(visitor: inout V) throws { - if !self.onboardingComplete.isEmpty { - try visitor.visitPackedEnumField(value: self.onboardingComplete, fieldNumber: 1) + if !self.facetDetailName.isEmpty { + try visitor.visitSingularStringField(value: self.facetDetailName, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NMAUpdateUserOnboardingProto, rhs: NMAUpdateUserOnboardingProto) -> Bool { - if lhs.onboardingComplete != rhs.onboardingComplete {return false} + public static func ==(lhs: MapsTelemetryEventRecordProto, rhs: MapsTelemetryEventRecordProto) -> Bool { + if lhs.message != rhs.message {return false} + if lhs.metadata != rhs.metadata {return false} + if lhs.eventName != rhs.eventName {return false} + if lhs.facetDetailName != rhs.facetDetailName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NamedMapSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NamedMapSettings" +extension MapsTelemetryField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryField" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .standard(proto: "gmm_settings"), + 1: .standard(proto: "entity_name"), + 2: .standard(proto: "field_path"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -239964,44 +250638,36 @@ extension NamedMapSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._gmmSettings) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.entityName) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fieldPath) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + if !self.entityName.isEmpty { + try visitor.visitSingularStringField(value: self.entityName, fieldNumber: 1) + } + if !self.fieldPath.isEmpty { + try visitor.visitSingularStringField(value: self.fieldPath, fieldNumber: 2) } - try { if let v = self._gmmSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NamedMapSettings, rhs: NamedMapSettings) -> Bool { - if lhs.name != rhs.name {return false} - if lhs._gmmSettings != rhs._gmmSettings {return false} + public static func ==(lhs: MapsTelemetryField, rhs: MapsTelemetryField) -> Bool { + if lhs.entityName != rhs.entityName {return false} + if lhs.fieldPath != rhs.fieldPath {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NearbyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NearbyPokemonProto" +extension MapsTelemetryKey: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryKey" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokedex_number"), - 2: .standard(proto: "distance_meters"), - 3: .standard(proto: "encounter_id"), - 4: .standard(proto: "fort_id"), - 5: .standard(proto: "fort_image_url"), - 6: .standard(proto: "pokemon_display"), + 1: .standard(proto: "key_name"), + 2: .same(proto: "value"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240010,12 +250676,8 @@ extension NearbyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.pokedexNumber) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.distanceMeters) }() - case 3: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.fortImageURL) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.keyName) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._value) }() default: break } } @@ -240026,81 +250688,198 @@ extension NearbyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.pokedexNumber != 0 { - try visitor.visitSingularInt32Field(value: self.pokedexNumber, fieldNumber: 1) - } - if self.distanceMeters != 0 { - try visitor.visitSingularFloatField(value: self.distanceMeters, fieldNumber: 2) - } - if self.encounterID != 0 { - try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 3) - } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 4) - } - if !self.fortImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.fortImageURL, fieldNumber: 5) + if !self.keyName.isEmpty { + try visitor.visitSingularStringField(value: self.keyName, fieldNumber: 1) } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + try { if let v = self._value { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NearbyPokemonProto, rhs: NearbyPokemonProto) -> Bool { - if lhs.pokedexNumber != rhs.pokedexNumber {return false} - if lhs.distanceMeters != rhs.distanceMeters {return false} - if lhs.encounterID != rhs.encounterID {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.fortImageURL != rhs.fortImageURL {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + public static func ==(lhs: MapsTelemetryKey, rhs: MapsTelemetryKey) -> Bool { + if lhs.keyName != rhs.keyName {return false} + if lhs._value != rhs._value {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NearbyPokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NearbyPokemonSettingsProto" +extension MapsTelemetryMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryMetadataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_bool"), + 1: .standard(proto: "user_id"), + 2: .standard(proto: "session_id"), + 3: .standard(proto: "record_id"), + 4: .standard(proto: "telemetry_scope_id"), + 5: .standard(proto: "is_queryable"), + 6: .standard(proto: "keyvalue_column"), + 7: .standard(proto: "processing_attempts_count"), + 8: .standard(proto: "pub_sub_message_id"), + 9: .standard(proto: "source_published_timestamp_millis"), + 10: .standard(proto: "anfe_published_timestamp_millis"), + 11: .standard(proto: "platform_player_info"), + 12: .standard(proto: "device_info"), ] + fileprivate class _StorageClass { + var _userID: String = String() + var _sessionID: Int64 = 0 + var _recordID: String = String() + var _telemetryScopeID: MapsTelemetryMetadataProto.TelemetryScopeId = .unset + var _isQueryable: Bool = false + var _keyvalueColumn: String = String() + var _processingAttemptsCount: UInt32 = 0 + var _pubSubMessageID: String = String() + var _sourcePublishedTimestampMillis: Int64 = 0 + var _anfePublishedTimestampMillis: Int64 = 0 + var _platformPlayerInfo: MapsPlatformPlayerInfo? = nil + var _deviceInfo: MapsClientTelemetryCommonFilterProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _userID = source._userID + _sessionID = source._sessionID + _recordID = source._recordID + _telemetryScopeID = source._telemetryScopeID + _isQueryable = source._isQueryable + _keyvalueColumn = source._keyvalueColumn + _processingAttemptsCount = source._processingAttemptsCount + _pubSubMessageID = source._pubSubMessageID + _sourcePublishedTimestampMillis = source._sourcePublishedTimestampMillis + _anfePublishedTimestampMillis = source._anfePublishedTimestampMillis + _platformPlayerInfo = source._platformPlayerInfo + _deviceInfo = source._deviceInfo + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &_storage._userID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &_storage._sessionID) }() + case 3: try { try decoder.decodeSingularStringField(value: &_storage._recordID) }() + case 4: try { try decoder.decodeSingularEnumField(value: &_storage._telemetryScopeID) }() + case 5: try { try decoder.decodeSingularBoolField(value: &_storage._isQueryable) }() + case 6: try { try decoder.decodeSingularStringField(value: &_storage._keyvalueColumn) }() + case 7: try { try decoder.decodeSingularUInt32Field(value: &_storage._processingAttemptsCount) }() + case 8: try { try decoder.decodeSingularStringField(value: &_storage._pubSubMessageID) }() + case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._sourcePublishedTimestampMillis) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._anfePublishedTimestampMillis) }() + case 11: try { try decoder.decodeSingularMessageField(value: &_storage._platformPlayerInfo) }() + case 12: try { try decoder.decodeSingularMessageField(value: &_storage._deviceInfo) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !_storage._userID.isEmpty { + try visitor.visitSingularStringField(value: _storage._userID, fieldNumber: 1) + } + if _storage._sessionID != 0 { + try visitor.visitSingularInt64Field(value: _storage._sessionID, fieldNumber: 2) + } + if !_storage._recordID.isEmpty { + try visitor.visitSingularStringField(value: _storage._recordID, fieldNumber: 3) + } + if _storage._telemetryScopeID != .unset { + try visitor.visitSingularEnumField(value: _storage._telemetryScopeID, fieldNumber: 4) + } + if _storage._isQueryable != false { + try visitor.visitSingularBoolField(value: _storage._isQueryable, fieldNumber: 5) + } + if !_storage._keyvalueColumn.isEmpty { + try visitor.visitSingularStringField(value: _storage._keyvalueColumn, fieldNumber: 6) + } + if _storage._processingAttemptsCount != 0 { + try visitor.visitSingularUInt32Field(value: _storage._processingAttemptsCount, fieldNumber: 7) + } + if !_storage._pubSubMessageID.isEmpty { + try visitor.visitSingularStringField(value: _storage._pubSubMessageID, fieldNumber: 8) + } + if _storage._sourcePublishedTimestampMillis != 0 { + try visitor.visitSingularInt64Field(value: _storage._sourcePublishedTimestampMillis, fieldNumber: 9) + } + if _storage._anfePublishedTimestampMillis != 0 { + try visitor.visitSingularInt64Field(value: _storage._anfePublishedTimestampMillis, fieldNumber: 10) + } + try { if let v = _storage._platformPlayerInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + } }() + try { if let v = _storage._deviceInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NearbyPokemonSettingsProto, rhs: NearbyPokemonSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: MapsTelemetryMetadataProto, rhs: MapsTelemetryMetadataProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._userID != rhs_storage._userID {return false} + if _storage._sessionID != rhs_storage._sessionID {return false} + if _storage._recordID != rhs_storage._recordID {return false} + if _storage._telemetryScopeID != rhs_storage._telemetryScopeID {return false} + if _storage._isQueryable != rhs_storage._isQueryable {return false} + if _storage._keyvalueColumn != rhs_storage._keyvalueColumn {return false} + if _storage._processingAttemptsCount != rhs_storage._processingAttemptsCount {return false} + if _storage._pubSubMessageID != rhs_storage._pubSubMessageID {return false} + if _storage._sourcePublishedTimestampMillis != rhs_storage._sourcePublishedTimestampMillis {return false} + if _storage._anfePublishedTimestampMillis != rhs_storage._anfePublishedTimestampMillis {return false} + if _storage._platformPlayerInfo != rhs_storage._platformPlayerInfo {return false} + if _storage._deviceInfo != rhs_storage._deviceInfo {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NetworkTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NetworkTelemetry" +extension MapsTelemetryMetadataProto.TelemetryScopeId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "network_type"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "PLATFORM_SERVER"), + 2: .same(proto: "PLATFORM_CLIENT"), + 3: .same(proto: "GAME_SERVER"), + 4: .same(proto: "GAME_CLIENT"), + ] +} + +extension MapsTelemetryMetricRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryMetricRecordProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "common"), + 2: .standard(proto: "compressed_common"), + 4: .same(proto: "long"), + 5: .same(proto: "double"), + 6: .same(proto: "boolean"), + 3: .standard(proto: "metric_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240109,31 +250888,118 @@ extension NetworkTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.networkType) }() + case 1: try { + var v: MapsTelemetryMetadataProto? + var hadOneofValue = false + if let current = self.metadata { + hadOneofValue = true + if case .common(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.metadata = .common(v) + } + }() + case 2: try { + var v: Data? + try decoder.decodeSingularBytesField(value: &v) + if let v = v { + if self.metadata != nil {try decoder.handleConflictingOneOf()} + self.metadata = .compressedCommon(v) + } + }() + case 3: try { try decoder.decodeSingularStringField(value: &self.metricID) }() + case 4: try { + var v: Int64? + try decoder.decodeSingularInt64Field(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .long(v) + } + }() + case 5: try { + var v: Double? + try decoder.decodeSingularDoubleField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .double(v) + } + }() + case 6: try { + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .boolean(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.networkType.isEmpty { - try visitor.visitSingularStringField(value: self.networkType, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.metadata { + case .common?: try { + guard case .common(let v)? = self.metadata else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .compressedCommon?: try { + guard case .compressedCommon(let v)? = self.metadata else { preconditionFailure() } + try visitor.visitSingularBytesField(value: v, fieldNumber: 2) + }() + case nil: break + } + if !self.metricID.isEmpty { + try visitor.visitSingularStringField(value: self.metricID, fieldNumber: 3) + } + switch self.value { + case .long?: try { + guard case .long(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularInt64Field(value: v, fieldNumber: 4) + }() + case .double?: try { + guard case .double(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularDoubleField(value: v, fieldNumber: 5) + }() + case .boolean?: try { + guard case .boolean(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularBoolField(value: v, fieldNumber: 6) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NetworkTelemetry, rhs: NetworkTelemetry) -> Bool { - if lhs.networkType != rhs.networkType {return false} + public static func ==(lhs: MapsTelemetryMetricRecordProto, rhs: MapsTelemetryMetricRecordProto) -> Bool { + if lhs.metadata != rhs.metadata {return false} + if lhs.value != rhs.value {return false} + if lhs.metricID != rhs.metricID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NeutralAvatarItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NeutralAvatarItemProto" +extension MapsTelemetryMetricRecordProto.Kind: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "neutral_avatar_article_template_id"), - 2: .standard(proto: "gained_ms"), + 0: .same(proto: "UNSPECIFIED"), + 1: .same(proto: "GAUGE"), + 2: .same(proto: "DELTA"), + 3: .same(proto: "CUMULATIVE"), + ] +} + +extension MapsTelemetryRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "api_version"), + 2: .standard(proto: "message_version"), + 3: .standard(proto: "telemetry_batch"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240142,37 +251008,43 @@ extension NeutralAvatarItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.neutralAvatarArticleTemplateID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.gainedMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.apiVersion) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.messageVersion) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.telemetryBatch) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.neutralAvatarArticleTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.neutralAvatarArticleTemplateID, fieldNumber: 1) + if !self.apiVersion.isEmpty { + try visitor.visitSingularStringField(value: self.apiVersion, fieldNumber: 1) } - if self.gainedMs != 0 { - try visitor.visitSingularInt64Field(value: self.gainedMs, fieldNumber: 2) + if !self.messageVersion.isEmpty { + try visitor.visitSingularStringField(value: self.messageVersion, fieldNumber: 2) + } + if !self.telemetryBatch.isEmpty { + try visitor.visitSingularBytesField(value: self.telemetryBatch, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NeutralAvatarItemProto, rhs: NeutralAvatarItemProto) -> Bool { - if lhs.neutralAvatarArticleTemplateID != rhs.neutralAvatarArticleTemplateID {return false} - if lhs.gainedMs != rhs.gainedMs {return false} + public static func ==(lhs: MapsTelemetryRequestProto, rhs: MapsTelemetryRequestProto) -> Bool { + if lhs.apiVersion != rhs.apiVersion {return false} + if lhs.messageVersion != rhs.messageVersion {return false} + if lhs.telemetryBatch != rhs.telemetryBatch {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NeutralAvatarSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NeutralAvatarSettingsProto" +extension MapsTelemetryValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MapsTelemetryValue" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 10: .standard(proto: "player_neutral_avatar"), - 100: .standard(proto: "ob_int32"), + 1: .standard(proto: "int_value"), + 2: .standard(proto: "double_value"), + 3: .standard(proto: "string_value"), + 4: .standard(proto: "bool_value"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240181,9 +251053,38 @@ extension NeutralAvatarSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 10: try { try decoder.decodeSingularMessageField(value: &self._playerNeutralAvatar) }() - case 100: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { + var v: Int64? + try decoder.decodeSingularInt64Field(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .intValue(v) + } + }() + case 2: try { + var v: Double? + try decoder.decodeSingularDoubleField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .doubleValue(v) + } + }() + case 3: try { + var v: String? + try decoder.decodeSingularStringField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .stringValue(v) + } + }() + case 4: try { + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .boolValue(v) + } + }() default: break } } @@ -240194,58 +251095,39 @@ extension NeutralAvatarSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - try { if let v = self._playerNeutralAvatar { - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - } }() - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 100) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: NeutralAvatarSettingsProto, rhs: NeutralAvatarSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs._playerNeutralAvatar != rhs._playerNeutralAvatar {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension NewInboxMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewInboxMessage" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + switch self.value { + case .intValue?: try { + guard case .intValue(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularInt64Field(value: v, fieldNumber: 1) + }() + case .doubleValue?: try { + guard case .doubleValue(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularDoubleField(value: v, fieldNumber: 2) + }() + case .stringValue?: try { + guard case .stringValue(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularStringField(value: v, fieldNumber: 3) + }() + case .boolValue?: try { + guard case .boolValue(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularBoolField(value: v, fieldNumber: 4) + }() + case nil: break } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewInboxMessage, rhs: NewInboxMessage) -> Bool { + public static func ==(lhs: MapsTelemetryValue, rhs: MapsTelemetryValue) -> Bool { + if lhs.value != rhs.value {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsArticleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsArticleProto" +extension MarkMilestoneAsViewedOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MarkMilestoneAsViewedOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .standard(proto: "image_url"), - 3: .standard(proto: "header_key"), - 4: .standard(proto: "subheader_key"), - 5: .standard(proto: "main_text_key"), - 6: .same(proto: "timestamp"), - 7: .same(proto: "template"), - 8: .same(proto: "enabled"), - 9: .standard(proto: "article_read"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240254,78 +251136,40 @@ extension NewsArticleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.imageURL) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.headerKey) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.subheaderKey) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.mainTextKey) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.timestamp) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.template) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.articleRead) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.id.isEmpty { - try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) - } - if !self.imageURL.isEmpty { - try visitor.visitRepeatedStringField(value: self.imageURL, fieldNumber: 2) - } - if !self.headerKey.isEmpty { - try visitor.visitSingularStringField(value: self.headerKey, fieldNumber: 3) - } - if !self.subheaderKey.isEmpty { - try visitor.visitSingularStringField(value: self.subheaderKey, fieldNumber: 4) - } - if !self.mainTextKey.isEmpty { - try visitor.visitSingularStringField(value: self.mainTextKey, fieldNumber: 5) - } - if self.timestamp != 0 { - try visitor.visitSingularInt64Field(value: self.timestamp, fieldNumber: 6) - } - if self.template != .unset { - try visitor.visitSingularEnumField(value: self.template, fieldNumber: 7) - } - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 8) - } - if self.articleRead != false { - try visitor.visitSingularBoolField(value: self.articleRead, fieldNumber: 9) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewsArticleProto, rhs: NewsArticleProto) -> Bool { - if lhs.id != rhs.id {return false} - if lhs.imageURL != rhs.imageURL {return false} - if lhs.headerKey != rhs.headerKey {return false} - if lhs.subheaderKey != rhs.subheaderKey {return false} - if lhs.mainTextKey != rhs.mainTextKey {return false} - if lhs.timestamp != rhs.timestamp {return false} - if lhs.template != rhs.template {return false} - if lhs.enabled != rhs.enabled {return false} - if lhs.articleRead != rhs.articleRead {return false} + public static func ==(lhs: MarkMilestoneAsViewedOutProto, rhs: MarkMilestoneAsViewedOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsArticleProto.NewsTemplate: SwiftProtobuf._ProtoNameProviding { +extension MarkMilestoneAsViewedOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "DEFAULT_TEMPLATE"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_DISABLED"), + 3: .same(proto: "ERROR_MILESTONE_NOT_FOUND"), ] } -extension NewsFeedClientSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsFeedClientSettings" +extension MarkMilestoneAsViewedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MarkMilestoneAsViewedProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_news_feed_polling_enabled"), - 2: .standard(proto: "get_news_feed_polling_rate_minutes"), + 1: .standard(proto: "referrer_milestones_to_mark"), + 2: .standard(proto: "referee_milestones_to_mark"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240334,35 +251178,36 @@ extension NewsFeedClientSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isNewsFeedPollingEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.getNewsFeedPollingRateMinutes) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.referrerMilestonesToMark) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.refereeMilestonesToMark) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isNewsFeedPollingEnabled != false { - try visitor.visitSingularBoolField(value: self.isNewsFeedPollingEnabled, fieldNumber: 1) + if !self.referrerMilestonesToMark.isEmpty { + try visitor.visitRepeatedMessageField(value: self.referrerMilestonesToMark, fieldNumber: 1) } - if self.getNewsFeedPollingRateMinutes != 0 { - try visitor.visitSingularInt32Field(value: self.getNewsFeedPollingRateMinutes, fieldNumber: 2) + if !self.refereeMilestonesToMark.isEmpty { + try visitor.visitRepeatedMessageField(value: self.refereeMilestonesToMark, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewsFeedClientSettings, rhs: NewsFeedClientSettings) -> Bool { - if lhs.isNewsFeedPollingEnabled != rhs.isNewsFeedPollingEnabled {return false} - if lhs.getNewsFeedPollingRateMinutes != rhs.getNewsFeedPollingRateMinutes {return false} + public static func ==(lhs: MarkMilestoneAsViewedProto, rhs: MarkMilestoneAsViewedProto) -> Bool { + if lhs.referrerMilestonesToMark != rhs.referrerMilestonesToMark {return false} + if lhs.refereeMilestonesToMark != rhs.refereeMilestonesToMark {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsGlobalSettingsProto" +extension MarkMilestoneAsViewedProto.MilestoneLookupProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = MarkMilestoneAsViewedProto.protoMessageName + ".MilestoneLookupProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_news"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "milestone_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240371,30 +251216,35 @@ extension NewsGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableNews) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.milestoneID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableNews != false { - try visitor.visitSingularBoolField(value: self.enableNews, fieldNumber: 1) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + } + if !self.milestoneID.isEmpty { + try visitor.visitSingularStringField(value: self.milestoneID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewsGlobalSettingsProto, rhs: NewsGlobalSettingsProto) -> Bool { - if lhs.enableNews != rhs.enableNews {return false} + public static func ==(lhs: MarkMilestoneAsViewedProto.MilestoneLookupProto, rhs: MarkMilestoneAsViewedProto.MilestoneLookupProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.milestoneID != rhs.milestoneID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsPageTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsPageTelemetry" +extension MarkNewsfeedReadResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MarkNewsfeedReadResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "news_page_click_id"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240403,31 +251253,42 @@ extension NewsPageTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.newsPageClickID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.newsPageClickID != .undefinedNewsEvent { - try visitor.visitSingularEnumField(value: self.newsPageClickID, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewsPageTelemetry, rhs: NewsPageTelemetry) -> Bool { - if lhs.newsPageClickID != rhs.newsPageClickID {return false} + public static func ==(lhs: MarkNewsfeedReadResponse, rhs: MarkNewsfeedReadResponse) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsProto" +extension MarkNewsfeedReadResponse.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "news_bundle_id"), - 2: .standard(proto: "exclusive_countries"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "INTERNAL_ERROR"), + 3: .same(proto: "CHANNEL_NOT_DEFINED"), + 4: .same(proto: "EMPTY_NEWSFEED_LIST"), + 5: .same(proto: "EMPTY_PLAYER_ID"), + 6: .same(proto: "EMPTY_APP_ID"), + ] +} + +extension MarkReadNewsArticleOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MarkReadNewsArticleOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240436,35 +251297,38 @@ extension NewsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.newsBundleID) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.exclusiveCountries) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.newsBundleID.isEmpty { - try visitor.visitSingularStringField(value: self.newsBundleID, fieldNumber: 1) - } - if !self.exclusiveCountries.isEmpty { - try visitor.visitRepeatedStringField(value: self.exclusiveCountries, fieldNumber: 2) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewsProto, rhs: NewsProto) -> Bool { - if lhs.newsBundleID != rhs.newsBundleID {return false} - if lhs.exclusiveCountries != rhs.exclusiveCountries {return false} + public static func ==(lhs: MarkReadNewsArticleOutProto, rhs: MarkReadNewsArticleOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsSettingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsSettingProto" +extension MarkReadNewsArticleOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "news_protos"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "NO_NEWS_FOUND"), + ] +} + +extension MarkReadNewsArticleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MarkReadNewsArticleProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "news_ids"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240473,31 +251337,31 @@ extension NewsSettingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.newsProtos) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.newsIds) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.newsProtos.isEmpty { - try visitor.visitRepeatedMessageField(value: self.newsProtos, fieldNumber: 1) + if !self.newsIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.newsIds, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewsSettingProto, rhs: NewsSettingProto) -> Bool { - if lhs.newsProtos != rhs.newsProtos {return false} + public static func ==(lhs: MarkReadNewsArticleProto, rhs: MarkReadNewsArticleProto) -> Bool { + if lhs.newsIds != rhs.newsIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsfeedMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsfeedMetadata" +extension MarkTutorialCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MarkTutorialCompleteOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "created_time_ms"), - 2: .standard(proto: "expired_time_ms"), + 1: .same(proto: "success"), + 2: .same(proto: "player"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240506,211 +251370,41 @@ extension NewsfeedMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.createdTimeMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.expiredTimeMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._player) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.createdTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.createdTimeMs, fieldNumber: 1) - } - if self.expiredTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.expiredTimeMs, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: NewsfeedMetadata, rhs: NewsfeedMetadata) -> Bool { - if lhs.createdTimeMs != rhs.createdTimeMs {return false} - if lhs.expiredTimeMs != rhs.expiredTimeMs {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension NewsfeedPost: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsfeedPost" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "title"), - 2: .standard(proto: "preview_text"), - 3: .standard(proto: "thumbnail_image_url"), - 4: .standard(proto: "newsfeed_channel"), - 5: .standard(proto: "post_content"), - 6: .standard(proto: "newsfeed_metadata"), - 7: .standard(proto: "key_value_pairs"), - 8: .standard(proto: "start_timestamp"), - 9: .standard(proto: "expiration_timestamp"), - 10: .standard(proto: "creation_timestamp"), - 11: .standard(proto: "priority_flag"), - 12: .standard(proto: "read_flag"), - 13: .standard(proto: "preview_metadata"), - ] - - fileprivate class _StorageClass { - var _title: String = String() - var _previewText: String = String() - var _thumbnailImageURL: String = String() - var _newsfeedChannel: [NewsfeedPost.NewsfeedChannel] = [] - var _postContent: String = String() - var _newsfeedMetadata: NewsfeedMetadata? = nil - var _keyValuePairs: Dictionary = [:] - var _startTimestamp: Int64 = 0 - var _expirationTimestamp: Int64 = 0 - var _creationTimestamp: Int64 = 0 - var _priorityFlag: Bool = false - var _readFlag: Bool = false - var _previewMetadata: NewsfeedPost.PreviewMetadata? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _title = source._title - _previewText = source._previewText - _thumbnailImageURL = source._thumbnailImageURL - _newsfeedChannel = source._newsfeedChannel - _postContent = source._postContent - _newsfeedMetadata = source._newsfeedMetadata - _keyValuePairs = source._keyValuePairs - _startTimestamp = source._startTimestamp - _expirationTimestamp = source._expirationTimestamp - _creationTimestamp = source._creationTimestamp - _priorityFlag = source._priorityFlag - _readFlag = source._readFlag - _previewMetadata = source._previewMetadata - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._title) }() - case 2: try { try decoder.decodeSingularStringField(value: &_storage._previewText) }() - case 3: try { try decoder.decodeSingularStringField(value: &_storage._thumbnailImageURL) }() - case 4: try { try decoder.decodeRepeatedEnumField(value: &_storage._newsfeedChannel) }() - case 5: try { try decoder.decodeSingularStringField(value: &_storage._postContent) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._newsfeedMetadata) }() - case 7: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &_storage._keyValuePairs) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._startTimestamp) }() - case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._expirationTimestamp) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._creationTimestamp) }() - case 11: try { try decoder.decodeSingularBoolField(value: &_storage._priorityFlag) }() - case 12: try { try decoder.decodeSingularBoolField(value: &_storage._readFlag) }() - case 13: try { try decoder.decodeSingularMessageField(value: &_storage._previewMetadata) }() - default: break - } - } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._title.isEmpty { - try visitor.visitSingularStringField(value: _storage._title, fieldNumber: 1) - } - if !_storage._previewText.isEmpty { - try visitor.visitSingularStringField(value: _storage._previewText, fieldNumber: 2) - } - if !_storage._thumbnailImageURL.isEmpty { - try visitor.visitSingularStringField(value: _storage._thumbnailImageURL, fieldNumber: 3) - } - if !_storage._newsfeedChannel.isEmpty { - try visitor.visitPackedEnumField(value: _storage._newsfeedChannel, fieldNumber: 4) - } - if !_storage._postContent.isEmpty { - try visitor.visitSingularStringField(value: _storage._postContent, fieldNumber: 5) - } - try { if let v = _storage._newsfeedMetadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - if !_storage._keyValuePairs.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: _storage._keyValuePairs, fieldNumber: 7) - } - if _storage._startTimestamp != 0 { - try visitor.visitSingularInt64Field(value: _storage._startTimestamp, fieldNumber: 8) - } - if _storage._expirationTimestamp != 0 { - try visitor.visitSingularInt64Field(value: _storage._expirationTimestamp, fieldNumber: 9) - } - if _storage._creationTimestamp != 0 { - try visitor.visitSingularInt64Field(value: _storage._creationTimestamp, fieldNumber: 10) - } - if _storage._priorityFlag != false { - try visitor.visitSingularBoolField(value: _storage._priorityFlag, fieldNumber: 11) - } - if _storage._readFlag != false { - try visitor.visitSingularBoolField(value: _storage._readFlag, fieldNumber: 12) - } - try { if let v = _storage._previewMetadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - } }() + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } + try { if let v = self._player { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewsfeedPost, rhs: NewsfeedPost) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._title != rhs_storage._title {return false} - if _storage._previewText != rhs_storage._previewText {return false} - if _storage._thumbnailImageURL != rhs_storage._thumbnailImageURL {return false} - if _storage._newsfeedChannel != rhs_storage._newsfeedChannel {return false} - if _storage._postContent != rhs_storage._postContent {return false} - if _storage._newsfeedMetadata != rhs_storage._newsfeedMetadata {return false} - if _storage._keyValuePairs != rhs_storage._keyValuePairs {return false} - if _storage._startTimestamp != rhs_storage._startTimestamp {return false} - if _storage._expirationTimestamp != rhs_storage._expirationTimestamp {return false} - if _storage._creationTimestamp != rhs_storage._creationTimestamp {return false} - if _storage._priorityFlag != rhs_storage._priorityFlag {return false} - if _storage._readFlag != rhs_storage._readFlag {return false} - if _storage._previewMetadata != rhs_storage._previewMetadata {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: MarkTutorialCompleteOutProto, rhs: MarkTutorialCompleteOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs._player != rhs._player {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsfeedPost.NewsfeedChannel: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NOT_DEFINED"), - 1: .same(proto: "NEWSFEED_MESSAGE_CHANNEL"), - 2: .same(proto: "IN_APP_MESSAGE_CHANNEL"), - ] -} - -extension NewsfeedPost.PreviewMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = NewsfeedPost.protoMessageName + ".PreviewMetadata" +extension MarkTutorialCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MarkTutorialCompleteProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "attributes"), - 2: .standard(proto: "player_hashed_id"), - 3: .standard(proto: "rendered_title"), - 4: .standard(proto: "rendered_preview_text"), - 5: .standard(proto: "rendered_post_content"), + 1: .standard(proto: "tutorial_complete"), + 2: .standard(proto: "send_marketing_emails"), + 3: .standard(proto: "send_push_notifications"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240719,52 +251413,40 @@ extension NewsfeedPost.PreviewMetadata: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.attributes) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.playerHashedID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.renderedTitle) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.renderedPreviewText) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.renderedPostContent) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.tutorialComplete) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.sendMarketingEmails) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.sendPushNotifications) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.attributes.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.attributes, fieldNumber: 1) - } - if !self.playerHashedID.isEmpty { - try visitor.visitSingularStringField(value: self.playerHashedID, fieldNumber: 2) - } - if !self.renderedTitle.isEmpty { - try visitor.visitSingularStringField(value: self.renderedTitle, fieldNumber: 3) + if !self.tutorialComplete.isEmpty { + try visitor.visitPackedEnumField(value: self.tutorialComplete, fieldNumber: 1) } - if !self.renderedPreviewText.isEmpty { - try visitor.visitSingularStringField(value: self.renderedPreviewText, fieldNumber: 4) + if self.sendMarketingEmails != false { + try visitor.visitSingularBoolField(value: self.sendMarketingEmails, fieldNumber: 2) } - if !self.renderedPostContent.isEmpty { - try visitor.visitSingularStringField(value: self.renderedPostContent, fieldNumber: 5) + if self.sendPushNotifications != false { + try visitor.visitSingularBoolField(value: self.sendPushNotifications, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewsfeedPost.PreviewMetadata, rhs: NewsfeedPost.PreviewMetadata) -> Bool { - if lhs.attributes != rhs.attributes {return false} - if lhs.playerHashedID != rhs.playerHashedID {return false} - if lhs.renderedTitle != rhs.renderedTitle {return false} - if lhs.renderedPreviewText != rhs.renderedPreviewText {return false} - if lhs.renderedPostContent != rhs.renderedPostContent {return false} + public static func ==(lhs: MarkTutorialCompleteProto, rhs: MarkTutorialCompleteProto) -> Bool { + if lhs.tutorialComplete != rhs.tutorialComplete {return false} + if lhs.sendMarketingEmails != rhs.sendMarketingEmails {return false} + if lhs.sendPushNotifications != rhs.sendPushNotifications {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsfeedPostRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsfeedPostRecord" +extension MarketingTelemetryNewsfeedEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MarketingTelemetryNewsfeedEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "newsfeed_post"), - 2: .standard(proto: "newsfeed_post_id"), - 3: .standard(proto: "newsfeed_post_campaign_id"), + 1: .standard(proto: "event_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240773,83 +251455,38 @@ extension NewsfeedPostRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._newsfeedPost) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.newsfeedPostID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.newsfeedPostCampaignID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.eventType) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._newsfeedPost { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.newsfeedPostID.isEmpty { - try visitor.visitSingularStringField(value: self.newsfeedPostID, fieldNumber: 2) - } - if self.newsfeedPostCampaignID != 0 { - try visitor.visitSingularInt64Field(value: self.newsfeedPostCampaignID, fieldNumber: 3) + if self.eventType != .unset { + try visitor.visitSingularEnumField(value: self.eventType, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NewsfeedPostRecord, rhs: NewsfeedPostRecord) -> Bool { - if lhs._newsfeedPost != rhs._newsfeedPost {return false} - if lhs.newsfeedPostID != rhs.newsfeedPostID {return false} - if lhs.newsfeedPostCampaignID != rhs.newsfeedPostCampaignID {return false} + public static func ==(lhs: MarketingTelemetryNewsfeedEvent, rhs: MarketingTelemetryNewsfeedEvent) -> Bool { + if lhs.eventType != rhs.eventType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NewsfeedTrackingRecordsMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NewsfeedTrackingRecordsMetadata" +extension MarketingTelemetryNewsfeedEvent.NewsfeedEventType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "environment_id"), - 2: .standard(proto: "campaign_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "RECEIVED"), + 2: .same(proto: "READ"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.environmentID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.campaignID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.environmentID.isEmpty { - try visitor.visitSingularStringField(value: self.environmentID, fieldNumber: 1) - } - if self.campaignID != 0 { - try visitor.visitSingularInt64Field(value: self.campaignID, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: NewsfeedTrackingRecordsMetadata, rhs: NewsfeedTrackingRecordsMetadata) -> Bool { - if lhs.environmentID != rhs.environmentID {return false} - if lhs.campaignID != rhs.campaignID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension NiaAny: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NiaAny" +extension MarketingTelemetryPushNotificationEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MarketingTelemetryPushNotificationEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "type_url"), - 2: .same(proto: "value"), + 1: .standard(proto: "event_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240858,35 +251495,44 @@ extension NiaAny: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBas // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.typeURL) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.value) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.eventType) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.typeURL.isEmpty { - try visitor.visitSingularStringField(value: self.typeURL, fieldNumber: 1) - } - if !self.value.isEmpty { - try visitor.visitSingularBytesField(value: self.value, fieldNumber: 2) + if self.eventType != .unset { + try visitor.visitSingularEnumField(value: self.eventType, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NiaAny, rhs: NiaAny) -> Bool { - if lhs.typeURL != rhs.typeURL {return false} - if lhs.value != rhs.value {return false} + public static func ==(lhs: MarketingTelemetryPushNotificationEvent, rhs: MarketingTelemetryPushNotificationEvent) -> Bool { + if lhs.eventType != rhs.eventType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NianticProfileTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NianticProfileTelemetry" +extension MarketingTelemetryPushNotificationEvent.PushNotificationEventType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "niantic_profile_telemetry_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "PROCESSED"), + 2: .same(proto: "RECEIVED"), + 3: .same(proto: "OPENED"), + 4: .same(proto: "DISMISSED"), + 5: .same(proto: "BOUNCED"), + ] +} + +extension MegaEvoGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvoGlobalSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + 2: .standard(proto: "enable_friends_list_mega_info"), + 3: .standard(proto: "enable_mega_level"), + 4: .standard(proto: "enable_mega_evolve_in_lobby"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240895,39 +251541,47 @@ extension NianticProfileTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.nianticProfileTelemetryID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableFriendsListMegaInfo) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enableMegaLevel) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.enableMegaEvolveInLobby) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.nianticProfileTelemetryID != .undefined { - try visitor.visitSingularEnumField(value: self.nianticProfileTelemetryID, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.enableFriendsListMegaInfo != false { + try visitor.visitSingularBoolField(value: self.enableFriendsListMegaInfo, fieldNumber: 2) + } + if self.enableMegaLevel != false { + try visitor.visitSingularBoolField(value: self.enableMegaLevel, fieldNumber: 3) + } + if self.enableMegaEvolveInLobby != false { + try visitor.visitSingularBoolField(value: self.enableMegaEvolveInLobby, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NianticProfileTelemetry, rhs: NianticProfileTelemetry) -> Bool { - if lhs.nianticProfileTelemetryID != rhs.nianticProfileTelemetryID {return false} + public static func ==(lhs: MegaEvoGlobalSettingsProto, rhs: MegaEvoGlobalSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.enableFriendsListMegaInfo != rhs.enableFriendsListMegaInfo {return false} + if lhs.enableMegaLevel != rhs.enableMegaLevel {return false} + if lhs.enableMegaEvolveInLobby != rhs.enableMegaEvolveInLobby {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NianticProfileTelemetry.NianticProfileTelemetryIds: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "OPEN_MY_PROFILE"), - 2: .same(proto: "OPEN_FRIEND_PROFILE"), - ] -} - -extension NianticPublicSharedLoginTokenSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NianticPublicSharedLoginTokenSettings" +extension MegaEvoInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvoInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_settings"), - 2: .standard(proto: "client_settings"), + 1: .standard(proto: "pokedex_id"), + 2: .standard(proto: "temp_evo_id"), + 3: .standard(proto: "evo_expiration_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240936,41 +251590,50 @@ extension NianticPublicSharedLoginTokenSettings: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.appSettings) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._clientSettings) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.tempEvoID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.evoExpirationTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.appSettings.isEmpty { - try visitor.visitRepeatedMessageField(value: self.appSettings, fieldNumber: 1) + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) + } + if self.tempEvoID != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: self.tempEvoID, fieldNumber: 2) + } + if self.evoExpirationTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.evoExpirationTimeMs, fieldNumber: 3) } - try { if let v = self._clientSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NianticPublicSharedLoginTokenSettings, rhs: NianticPublicSharedLoginTokenSettings) -> Bool { - if lhs.appSettings != rhs.appSettings {return false} - if lhs._clientSettings != rhs._clientSettings {return false} + public static func ==(lhs: MegaEvoInfoProto, rhs: MegaEvoInfoProto) -> Bool { + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs.tempEvoID != rhs.tempEvoID {return false} + if lhs.evoExpirationTimeMs != rhs.evoExpirationTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NianticPublicSharedLoginTokenSettings.AppSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = NianticPublicSharedLoginTokenSettings.protoMessageName + ".AppSettings" +extension MegaEvoSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvoSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_key"), - 2: .standard(proto: "token_producer_settings"), - 3: .standard(proto: "token_consumer_settings"), + 1: .standard(proto: "evolution_length_ms"), + 2: .standard(proto: "attack_boost_from_mega_different_type"), + 3: .standard(proto: "attack_boost_from_mega_same_type"), + 4: .standard(proto: "max_candy_hoard_size"), + 5: .standard(proto: "enable_buddy_walking_mega_energy_award"), + 6: .standard(proto: "active_mega_bonus_catch_candy"), + 7: .standard(proto: "enable_mega_level"), + 8: .standard(proto: "enable_mega_evolve_in_lobby"), + 9: .standard(proto: "num_mega_levels"), + 10: .standard(proto: "client_mega_cooldown_buffer_ms"), + 11: .standard(proto: "enable_mega_level_legacy_award"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -240979,46 +251642,83 @@ extension NianticPublicSharedLoginTokenSettings.AppSettings: SwiftProtobuf.Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._tokenProducerSettings) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._tokenConsumerSettings) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.evolutionLengthMs) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.attackBoostFromMegaDifferentType) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.attackBoostFromMegaSameType) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxCandyHoardSize) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.enableBuddyWalkingMegaEnergyAward) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.activeMegaBonusCatchCandy) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.enableMegaLevel) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.enableMegaEvolveInLobby) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.numMegaLevels) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &self.clientMegaCooldownBufferMs) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.enableMegaLevelLegacyAward) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.appKey.isEmpty { - try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) + if self.evolutionLengthMs != 0 { + try visitor.visitSingularInt64Field(value: self.evolutionLengthMs, fieldNumber: 1) + } + if self.attackBoostFromMegaDifferentType != 0 { + try visitor.visitSingularFloatField(value: self.attackBoostFromMegaDifferentType, fieldNumber: 2) + } + if self.attackBoostFromMegaSameType != 0 { + try visitor.visitSingularFloatField(value: self.attackBoostFromMegaSameType, fieldNumber: 3) + } + if self.maxCandyHoardSize != 0 { + try visitor.visitSingularInt32Field(value: self.maxCandyHoardSize, fieldNumber: 4) + } + if self.enableBuddyWalkingMegaEnergyAward != false { + try visitor.visitSingularBoolField(value: self.enableBuddyWalkingMegaEnergyAward, fieldNumber: 5) + } + if self.activeMegaBonusCatchCandy != 0 { + try visitor.visitSingularInt32Field(value: self.activeMegaBonusCatchCandy, fieldNumber: 6) + } + if self.enableMegaLevel != false { + try visitor.visitSingularBoolField(value: self.enableMegaLevel, fieldNumber: 7) + } + if self.enableMegaEvolveInLobby != false { + try visitor.visitSingularBoolField(value: self.enableMegaEvolveInLobby, fieldNumber: 8) + } + if self.numMegaLevels != 0 { + try visitor.visitSingularInt32Field(value: self.numMegaLevels, fieldNumber: 9) + } + if self.clientMegaCooldownBufferMs != 0 { + try visitor.visitSingularInt32Field(value: self.clientMegaCooldownBufferMs, fieldNumber: 10) + } + if self.enableMegaLevelLegacyAward != false { + try visitor.visitSingularBoolField(value: self.enableMegaLevelLegacyAward, fieldNumber: 11) } - try { if let v = self._tokenProducerSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._tokenConsumerSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NianticPublicSharedLoginTokenSettings.AppSettings, rhs: NianticPublicSharedLoginTokenSettings.AppSettings) -> Bool { - if lhs.appKey != rhs.appKey {return false} - if lhs._tokenProducerSettings != rhs._tokenProducerSettings {return false} - if lhs._tokenConsumerSettings != rhs._tokenConsumerSettings {return false} + public static func ==(lhs: MegaEvoSettingsProto, rhs: MegaEvoSettingsProto) -> Bool { + if lhs.evolutionLengthMs != rhs.evolutionLengthMs {return false} + if lhs.attackBoostFromMegaDifferentType != rhs.attackBoostFromMegaDifferentType {return false} + if lhs.attackBoostFromMegaSameType != rhs.attackBoostFromMegaSameType {return false} + if lhs.maxCandyHoardSize != rhs.maxCandyHoardSize {return false} + if lhs.enableBuddyWalkingMegaEnergyAward != rhs.enableBuddyWalkingMegaEnergyAward {return false} + if lhs.activeMegaBonusCatchCandy != rhs.activeMegaBonusCatchCandy {return false} + if lhs.enableMegaLevel != rhs.enableMegaLevel {return false} + if lhs.enableMegaEvolveInLobby != rhs.enableMegaEvolveInLobby {return false} + if lhs.numMegaLevels != rhs.numMegaLevels {return false} + if lhs.clientMegaCooldownBufferMs != rhs.clientMegaCooldownBufferMs {return false} + if lhs.enableMegaLevelLegacyAward != rhs.enableMegaLevelLegacyAward {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = NianticPublicSharedLoginTokenSettings.AppSettings.protoMessageName + ".TokenConsumerSettings" +extension MegaEvolutionCooldownSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvolutionCooldownSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "allow_originating_auth_provider_id"), - 3: .standard(proto: "allow_originating_app_key"), + 1: .standard(proto: "duration_ms"), + 2: .standard(proto: "bypass_cost_initial"), + 3: .standard(proto: "bypass_cost_final"), + 4: .standard(proto: "bypass_cost_rounding_value"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241027,41 +251727,49 @@ extension NianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSetting // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.allowOriginatingAuthProviderID) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.allowOriginatingAppKey) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.durationMs) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.bypassCostInitial) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.bypassCostFinal) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.bypassCostRoundingValue) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.durationMs != 0 { + try visitor.visitSingularInt64Field(value: self.durationMs, fieldNumber: 1) } - if !self.allowOriginatingAuthProviderID.isEmpty { - try visitor.visitRepeatedStringField(value: self.allowOriginatingAuthProviderID, fieldNumber: 2) + if self.bypassCostInitial != 0 { + try visitor.visitSingularInt32Field(value: self.bypassCostInitial, fieldNumber: 2) } - if !self.allowOriginatingAppKey.isEmpty { - try visitor.visitRepeatedStringField(value: self.allowOriginatingAppKey, fieldNumber: 3) + if self.bypassCostFinal != 0 { + try visitor.visitSingularInt32Field(value: self.bypassCostFinal, fieldNumber: 3) + } + if self.bypassCostRoundingValue != 0 { + try visitor.visitSingularInt32Field(value: self.bypassCostRoundingValue, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings, rhs: NianticPublicSharedLoginTokenSettings.AppSettings.TokenConsumerSettings) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.allowOriginatingAuthProviderID != rhs.allowOriginatingAuthProviderID {return false} - if lhs.allowOriginatingAppKey != rhs.allowOriginatingAppKey {return false} + public static func ==(lhs: MegaEvolutionCooldownSettingsProto, rhs: MegaEvolutionCooldownSettingsProto) -> Bool { + if lhs.durationMs != rhs.durationMs {return false} + if lhs.bypassCostInitial != rhs.bypassCostInitial {return false} + if lhs.bypassCostFinal != rhs.bypassCostFinal {return false} + if lhs.bypassCostRoundingValue != rhs.bypassCostRoundingValue {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = NianticPublicSharedLoginTokenSettings.AppSettings.protoMessageName + ".TokenProducerSettings" +extension MegaEvolutionEffectsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvolutionEffectsSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "allow_auth_provider_id"), + 1: .standard(proto: "different_type_attack_boost"), + 2: .standard(proto: "same_type_attack_boost"), + 3: .standard(proto: "same_type_extra_catch_candy"), + 4: .standard(proto: "same_type_extra_catch_xp"), + 5: .standard(proto: "same_type_extra_catch_candy_xl_chance"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241070,35 +251778,54 @@ extension NianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSetting // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.allowAuthProviderID) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.differentTypeAttackBoost) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.sameTypeAttackBoost) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.sameTypeExtraCatchCandy) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.sameTypeExtraCatchXp) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.sameTypeExtraCatchCandyXlChance) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.differentTypeAttackBoost != 0 { + try visitor.visitSingularFloatField(value: self.differentTypeAttackBoost, fieldNumber: 1) } - if !self.allowAuthProviderID.isEmpty { - try visitor.visitRepeatedStringField(value: self.allowAuthProviderID, fieldNumber: 2) + if self.sameTypeAttackBoost != 0 { + try visitor.visitSingularFloatField(value: self.sameTypeAttackBoost, fieldNumber: 2) + } + if self.sameTypeExtraCatchCandy != 0 { + try visitor.visitSingularInt32Field(value: self.sameTypeExtraCatchCandy, fieldNumber: 3) + } + if self.sameTypeExtraCatchXp != 0 { + try visitor.visitSingularInt32Field(value: self.sameTypeExtraCatchXp, fieldNumber: 4) + } + if self.sameTypeExtraCatchCandyXlChance != 0 { + try visitor.visitSingularFloatField(value: self.sameTypeExtraCatchCandyXlChance, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings, rhs: NianticPublicSharedLoginTokenSettings.AppSettings.TokenProducerSettings) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.allowAuthProviderID != rhs.allowAuthProviderID {return false} + public static func ==(lhs: MegaEvolutionEffectsSettingsProto, rhs: MegaEvolutionEffectsSettingsProto) -> Bool { + if lhs.differentTypeAttackBoost != rhs.differentTypeAttackBoost {return false} + if lhs.sameTypeAttackBoost != rhs.sameTypeAttackBoost {return false} + if lhs.sameTypeExtraCatchCandy != rhs.sameTypeExtraCatchCandy {return false} + if lhs.sameTypeExtraCatchXp != rhs.sameTypeExtraCatchXp {return false} + if lhs.sameTypeExtraCatchCandyXlChance != rhs.sameTypeExtraCatchCandyXlChance {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NianticPublicSharedLoginTokenSettings.ClientSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = NianticPublicSharedLoginTokenSettings.protoMessageName + ".ClientSettings" +extension MegaEvolutionLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvolutionLevelSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "android_provider_id"), + 1: .same(proto: "level"), + 2: .standard(proto: "pokemon_id"), + 3: .same(proto: "progression"), + 4: .same(proto: "cooldown"), + 5: .same(proto: "effects"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241107,31 +251834,56 @@ extension NianticPublicSharedLoginTokenSettings.ClientSettings: SwiftProtobuf.Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.androidProviderID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.level) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._progression) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._cooldown) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._effects) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.androidProviderID.isEmpty { - try visitor.visitRepeatedStringField(value: self.androidProviderID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.level != 0 { + try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 1) + } + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 2) } + try { if let v = self._progression { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._cooldown { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = self._effects { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NianticPublicSharedLoginTokenSettings.ClientSettings, rhs: NianticPublicSharedLoginTokenSettings.ClientSettings) -> Bool { - if lhs.androidProviderID != rhs.androidProviderID {return false} + public static func ==(lhs: MegaEvolutionLevelSettingsProto, rhs: MegaEvolutionLevelSettingsProto) -> Bool { + if lhs.level != rhs.level {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs._progression != rhs._progression {return false} + if lhs._cooldown != rhs._cooldown {return false} + if lhs._effects != rhs._effects {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NianticSharedLoginProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NianticSharedLoginProto" +extension MegaEvolutionProgressionSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvolutionProgressionSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), - 2: .standard(proto: "device_id"), + 1: .standard(proto: "points_required"), + 2: .standard(proto: "points_limit_per_period"), + 3: .standard(proto: "points_per_mega_evo_action"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241140,80 +251892,73 @@ extension NianticSharedLoginProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.token) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.deviceID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.pointsRequired) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.pointsLimitPerPeriod) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.pointsPerMegaEvoAction) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.token.isEmpty { - try visitor.visitSingularBytesField(value: self.token, fieldNumber: 1) + if self.pointsRequired != 0 { + try visitor.visitSingularInt32Field(value: self.pointsRequired, fieldNumber: 1) } - if !self.deviceID.isEmpty { - try visitor.visitSingularStringField(value: self.deviceID, fieldNumber: 2) + if self.pointsLimitPerPeriod != 0 { + try visitor.visitSingularInt32Field(value: self.pointsLimitPerPeriod, fieldNumber: 2) + } + if self.pointsPerMegaEvoAction != 0 { + try visitor.visitSingularInt32Field(value: self.pointsPerMegaEvoAction, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NianticSharedLoginProto, rhs: NianticSharedLoginProto) -> Bool { - if lhs.token != rhs.token {return false} - if lhs.deviceID != rhs.deviceID {return false} + public static func ==(lhs: MegaEvolutionProgressionSettingsProto, rhs: MegaEvolutionProgressionSettingsProto) -> Bool { + if lhs.pointsRequired != rhs.pointsRequired {return false} + if lhs.pointsLimitPerPeriod != rhs.pointsLimitPerPeriod {return false} + if lhs.pointsPerMegaEvoAction != rhs.pointsPerMegaEvoAction {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NicknamePokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NicknamePokemonOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] +extension MegaEvolvePokemonClientContextHelper: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvolvePokemonClientContextHelper" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NicknamePokemonOutProto, rhs: NicknamePokemonOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: MegaEvolvePokemonClientContextHelper, rhs: MegaEvolvePokemonClientContextHelper) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NicknamePokemonOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension MegaEvolvePokemonClientContextHelper.MegaEvolvePokemonClientContext: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_NICKNAME"), - 3: .same(proto: "ERROR_POKEMON_NOT_FOUND"), - 4: .same(proto: "ERROR_POKEMON_IS_EGG"), - 5: .same(proto: "ERROR_FILTERED_NICKNAME"), - 6: .same(proto: "ERROR_EXCEEDED_CHANGE_LIMIT"), + 1: .same(proto: "POKEMON_DETAILS"), + 2: .same(proto: "RAID_LOBBY"), + 3: .same(proto: "GYM_BATTLE_LOBBY"), + 4: .same(proto: "NPC_COMBAT_LOBBY"), + 5: .same(proto: "PLAYER_COMBAT_LOBBY"), ] } -extension NicknamePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NicknamePokemonProto" +extension MegaEvolvePokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvolvePokemonOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .same(proto: "nickname"), + 1: .same(proto: "result"), + 2: .standard(proto: "evolved_pokemon"), + 3: .standard(proto: "exp_awarded"), + 4: .same(proto: "preview"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241222,36 +251967,65 @@ extension NicknamePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.nickname) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._evolvedPokemon) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.expAwarded) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._preview) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemonID != 0 { - try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.nickname.isEmpty { - try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 2) + try { if let v = self._evolvedPokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.expAwarded != 0 { + try visitor.visitSingularInt32Field(value: self.expAwarded, fieldNumber: 3) } + try { if let v = self._preview { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NicknamePokemonProto, rhs: NicknamePokemonProto) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.nickname != rhs.nickname {return false} + public static func ==(lhs: MegaEvolvePokemonOutProto, rhs: MegaEvolvePokemonOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._evolvedPokemon != rhs._evolvedPokemon {return false} + if lhs.expAwarded != rhs.expAwarded {return false} + if lhs._preview != rhs._preview {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NicknamePokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NicknamePokemonTelemetry" +extension MegaEvolvePokemonOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pokemon"), - 2: .same(proto: "nickname"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILED_POKEMON_MISSING"), + 3: .same(proto: "FAILED_INSUFFICIENT_RESOURCES"), + 4: .same(proto: "FAILED_POKEMON_CANNOT_EVOLVE"), + 5: .same(proto: "FAILED_POKEMON_IS_DEPLOYED"), + 6: .same(proto: "FAILED_INVALID_ITEM_REQUIREMENT"), + 7: .same(proto: "FAILED_POKEMON_ALREADY_MEGA_EVOLVED"), + ] +} + +extension MegaEvolvePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvolvePokemonProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "temp_evo_id"), + 3: .same(proto: "preview"), + 4: .standard(proto: "client_context"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241260,42 +252034,46 @@ extension NicknamePokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.nickname) }() + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.tempEvoID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.preview) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.clientContext) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._pokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.nickname.isEmpty { - try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 2) + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) + } + if self.tempEvoID != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: self.tempEvoID, fieldNumber: 2) + } + if self.preview != false { + try visitor.visitSingularBoolField(value: self.preview, fieldNumber: 3) + } + if self.clientContext != .unset { + try visitor.visitSingularEnumField(value: self.clientContext, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NicknamePokemonTelemetry, rhs: NicknamePokemonTelemetry) -> Bool { - if lhs._pokemon != rhs._pokemon {return false} - if lhs.nickname != rhs.nickname {return false} + public static func ==(lhs: MegaEvolvePokemonProto, rhs: MegaEvolvePokemonProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.tempEvoID != rhs.tempEvoID {return false} + if lhs.preview != rhs.preview {return false} + if lhs.clientContext != rhs.clientContext {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NodeAssociation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NodeAssociation" +extension MegaEvolvePokemonSpeciesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MegaEvolvePokemonSpeciesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "identifier"), - 2: .same(proto: "managedPoseToNode"), - 3: .same(proto: "weight"), - 4: .same(proto: "placementAccuracy"), + 1: .standard(proto: "energy_count"), + 2: .standard(proto: "pokemon_species_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241304,55 +252082,40 @@ extension NodeAssociation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._identifier) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._managedPoseToNode) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.weight) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._placementAccuracy) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.energyCount) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.pokemonSpeciesID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._identifier { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._managedPoseToNode { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.weight != 0 { - try visitor.visitSingularFloatField(value: self.weight, fieldNumber: 3) + if self.energyCount != 0 { + try visitor.visitSingularInt32Field(value: self.energyCount, fieldNumber: 1) + } + if self.pokemonSpeciesID != 0 { + try visitor.visitSingularInt32Field(value: self.pokemonSpeciesID, fieldNumber: 2) } - try { if let v = self._placementAccuracy { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NodeAssociation, rhs: NodeAssociation) -> Bool { - if lhs._identifier != rhs._identifier {return false} - if lhs._managedPoseToNode != rhs._managedPoseToNode {return false} - if lhs.weight != rhs.weight {return false} - if lhs._placementAccuracy != rhs._placementAccuracy {return false} + public static func ==(lhs: MegaEvolvePokemonSpeciesProto, rhs: MegaEvolvePokemonSpeciesProto) -> Bool { + if lhs.energyCount != rhs.energyCount {return false} + if lhs.pokemonSpeciesID != rhs.pokemonSpeciesID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NonMaxSuppressionCalculatorOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NonMaxSuppressionCalculatorOptions" +extension MementoAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MementoAttributesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_detection_streams"), - 2: .standard(proto: "max_num_detections"), - 6: .standard(proto: "min_score_threshold"), - 3: .standard(proto: "min_suppression_threshold"), - 4: .standard(proto: "overlap_type"), - 5: .standard(proto: "return_empty_detections"), - 7: .same(proto: "algorithm"), + 5: .standard(proto: "postcard_display"), + 1: .standard(proto: "memento_type"), + 2: .same(proto: "latitude"), + 3: .same(proto: "longitude"), + 4: .standard(proto: "added_timestamp_ms"), + 6: .standard(proto: "memento_hash"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241361,13 +252124,24 @@ extension NonMaxSuppressionCalculatorOptions: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self._numDetectionStreams) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self._maxNumDetections) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self._minSuppressionThreshold) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self._overlapType) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self._returnEmptyDetections) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self._minScoreThreshold) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self._algorithm) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.mementoType) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.addedTimestampMs) }() + case 5: try { + var v: PostcardDisplayProto? + var hadOneofValue = false + if let current = self.type { + hadOneofValue = true + if case .postcardDisplay(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.type = .postcardDisplay(v) + } + }() + case 6: try { try decoder.decodeSingularStringField(value: &self.mementoHash) }() default: break } } @@ -241378,70 +252152,46 @@ extension NonMaxSuppressionCalculatorOptions: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._numDetectionStreams { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 1) - } }() - try { if let v = self._maxNumDetections { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 2) - } }() - try { if let v = self._minSuppressionThreshold { - try visitor.visitSingularFloatField(value: v, fieldNumber: 3) - } }() - try { if let v = self._overlapType { - try visitor.visitSingularEnumField(value: v, fieldNumber: 4) - } }() - try { if let v = self._returnEmptyDetections { - try visitor.visitSingularBoolField(value: v, fieldNumber: 5) - } }() - try { if let v = self._minScoreThreshold { - try visitor.visitSingularFloatField(value: v, fieldNumber: 6) - } }() - try { if let v = self._algorithm { - try visitor.visitSingularEnumField(value: v, fieldNumber: 7) + if self.mementoType != .mementoPostcard { + try visitor.visitSingularEnumField(value: self.mementoType, fieldNumber: 1) + } + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 2) + } + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 3) + } + if self.addedTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.addedTimestampMs, fieldNumber: 4) + } + try { if case .postcardDisplay(let v)? = self.type { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) } }() + if !self.mementoHash.isEmpty { + try visitor.visitSingularStringField(value: self.mementoHash, fieldNumber: 6) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NonMaxSuppressionCalculatorOptions, rhs: NonMaxSuppressionCalculatorOptions) -> Bool { - if lhs._numDetectionStreams != rhs._numDetectionStreams {return false} - if lhs._maxNumDetections != rhs._maxNumDetections {return false} - if lhs._minScoreThreshold != rhs._minScoreThreshold {return false} - if lhs._minSuppressionThreshold != rhs._minSuppressionThreshold {return false} - if lhs._overlapType != rhs._overlapType {return false} - if lhs._returnEmptyDetections != rhs._returnEmptyDetections {return false} - if lhs._algorithm != rhs._algorithm {return false} + public static func ==(lhs: MementoAttributesProto, rhs: MementoAttributesProto) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.mementoType != rhs.mementoType {return false} + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.addedTimestampMs != rhs.addedTimestampMs {return false} + if lhs.mementoHash != rhs.mementoHash {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NonMaxSuppressionCalculatorOptions.OverlapType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSPECIFIED_OVERLAP_TYPE"), - 1: .same(proto: "JACCARD"), - 2: .same(proto: "MODIFIED_JACCARD"), - 3: .same(proto: "INTERSECTION_OVER_UNION"), - ] -} - -extension NonMaxSuppressionCalculatorOptions.NmsAlgorithm: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DEFAULT"), - 1: .same(proto: "WEIGHTED"), - ] -} - -extension NotificationPermissionsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NotificationPermissionsTelemetry" +extension MessageOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MessageOptions" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "system_settings_enabled"), - 2: .standard(proto: "events_offers_updates_email_enabled"), - 51: .standard(proto: "combine_research_updates_in_app_enabled"), - 52: .standard(proto: "nearby_raids_in_app_enabled"), - 53: .standard(proto: "pokemon_return_in_app_enabled"), - 54: .standard(proto: "opened_gift_in_app_enabled"), - 55: .standard(proto: "gift_received_in_app_enabled"), - 56: .standard(proto: "buddy_candies_in_app_enabled"), + 1: .standard(proto: "message_set_wire_format"), + 2: .standard(proto: "no_standard_descriptor_accessor"), + 3: .same(proto: "deprecated"), + 4: .standard(proto: "map_entry"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241450,68 +252200,50 @@ extension NotificationPermissionsTelemetry: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.systemSettingsEnabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.eventsOffersUpdatesEmailEnabled) }() - case 51: try { try decoder.decodeSingularBoolField(value: &self.combineResearchUpdatesInAppEnabled) }() - case 52: try { try decoder.decodeSingularBoolField(value: &self.nearbyRaidsInAppEnabled) }() - case 53: try { try decoder.decodeSingularBoolField(value: &self.pokemonReturnInAppEnabled) }() - case 54: try { try decoder.decodeSingularBoolField(value: &self.openedGiftInAppEnabled) }() - case 55: try { try decoder.decodeSingularBoolField(value: &self.giftReceivedInAppEnabled) }() - case 56: try { try decoder.decodeSingularBoolField(value: &self.buddyCandiesInAppEnabled) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.messageSetWireFormat) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.noStandardDescriptorAccessor) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.mapEntry) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.systemSettingsEnabled != false { - try visitor.visitSingularBoolField(value: self.systemSettingsEnabled, fieldNumber: 1) - } - if self.eventsOffersUpdatesEmailEnabled != false { - try visitor.visitSingularBoolField(value: self.eventsOffersUpdatesEmailEnabled, fieldNumber: 2) - } - if self.combineResearchUpdatesInAppEnabled != false { - try visitor.visitSingularBoolField(value: self.combineResearchUpdatesInAppEnabled, fieldNumber: 51) - } - if self.nearbyRaidsInAppEnabled != false { - try visitor.visitSingularBoolField(value: self.nearbyRaidsInAppEnabled, fieldNumber: 52) - } - if self.pokemonReturnInAppEnabled != false { - try visitor.visitSingularBoolField(value: self.pokemonReturnInAppEnabled, fieldNumber: 53) + if self.messageSetWireFormat != false { + try visitor.visitSingularBoolField(value: self.messageSetWireFormat, fieldNumber: 1) } - if self.openedGiftInAppEnabled != false { - try visitor.visitSingularBoolField(value: self.openedGiftInAppEnabled, fieldNumber: 54) + if self.noStandardDescriptorAccessor != false { + try visitor.visitSingularBoolField(value: self.noStandardDescriptorAccessor, fieldNumber: 2) } - if self.giftReceivedInAppEnabled != false { - try visitor.visitSingularBoolField(value: self.giftReceivedInAppEnabled, fieldNumber: 55) + if self.deprecated != false { + try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 3) } - if self.buddyCandiesInAppEnabled != false { - try visitor.visitSingularBoolField(value: self.buddyCandiesInAppEnabled, fieldNumber: 56) + if self.mapEntry != false { + try visitor.visitSingularBoolField(value: self.mapEntry, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NotificationPermissionsTelemetry, rhs: NotificationPermissionsTelemetry) -> Bool { - if lhs.systemSettingsEnabled != rhs.systemSettingsEnabled {return false} - if lhs.eventsOffersUpdatesEmailEnabled != rhs.eventsOffersUpdatesEmailEnabled {return false} - if lhs.combineResearchUpdatesInAppEnabled != rhs.combineResearchUpdatesInAppEnabled {return false} - if lhs.nearbyRaidsInAppEnabled != rhs.nearbyRaidsInAppEnabled {return false} - if lhs.pokemonReturnInAppEnabled != rhs.pokemonReturnInAppEnabled {return false} - if lhs.openedGiftInAppEnabled != rhs.openedGiftInAppEnabled {return false} - if lhs.giftReceivedInAppEnabled != rhs.giftReceivedInAppEnabled {return false} - if lhs.buddyCandiesInAppEnabled != rhs.buddyCandiesInAppEnabled {return false} + public static func ==(lhs: MessageOptions, rhs: MessageOptions) -> Bool { + if lhs.messageSetWireFormat != rhs.messageSetWireFormat {return false} + if lhs.noStandardDescriptorAccessor != rhs.noStandardDescriptorAccessor {return false} + if lhs.deprecated != rhs.deprecated {return false} + if lhs.mapEntry != rhs.mapEntry {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NotificationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NotificationSettingsProto" +extension MethodDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MethodDescriptorProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pull_notifications"), - 2: .standard(proto: "show_notifications"), - 3: .standard(proto: "ob_available"), - 4: .standard(proto: "image_url"), + 1: .same(proto: "name"), + 2: .standard(proto: "input_type"), + 3: .standard(proto: "output_type"), + 4: .same(proto: "options"), + 5: .standard(proto: "client_streaming"), + 6: .standard(proto: "server_streaming"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241520,45 +252252,59 @@ extension NotificationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.pullNotifications) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.showNotifications) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obAvailable) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.inputType) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.outputType) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._options) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.clientStreaming) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.serverStreaming) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pullNotifications != false { - try visitor.visitSingularBoolField(value: self.pullNotifications, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - if self.showNotifications != false { - try visitor.visitSingularBoolField(value: self.showNotifications, fieldNumber: 2) + if !self.inputType.isEmpty { + try visitor.visitSingularStringField(value: self.inputType, fieldNumber: 2) } - if self.obAvailable != 0 { - try visitor.visitSingularInt32Field(value: self.obAvailable, fieldNumber: 3) + if !self.outputType.isEmpty { + try visitor.visitSingularStringField(value: self.outputType, fieldNumber: 3) } - if !self.imageURL.isEmpty { - try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 4) + try { if let v = self._options { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.clientStreaming != false { + try visitor.visitSingularBoolField(value: self.clientStreaming, fieldNumber: 5) + } + if self.serverStreaming != false { + try visitor.visitSingularBoolField(value: self.serverStreaming, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NotificationSettingsProto, rhs: NotificationSettingsProto) -> Bool { - if lhs.pullNotifications != rhs.pullNotifications {return false} - if lhs.showNotifications != rhs.showNotifications {return false} - if lhs.obAvailable != rhs.obAvailable {return false} - if lhs.imageURL != rhs.imageURL {return false} + public static func ==(lhs: MethodDescriptorProto, rhs: MethodDescriptorProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.inputType != rhs.inputType {return false} + if lhs.outputType != rhs.outputType {return false} + if lhs._options != rhs._options {return false} + if lhs.clientStreaming != rhs.clientStreaming {return false} + if lhs.serverStreaming != rhs.serverStreaming {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NotifyContactListFriendsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NotifyContactListFriendsRequest" +extension MethodOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MethodOptions" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "notify_timestamp_ms"), + 1: .same(proto: "deprecated"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241567,30 +252313,30 @@ extension NotifyContactListFriendsRequest: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.notifyTimestampMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.deprecated) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.notifyTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.notifyTimestampMs, fieldNumber: 1) + if self.deprecated != false { + try visitor.visitSingularBoolField(value: self.deprecated, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NotifyContactListFriendsRequest, rhs: NotifyContactListFriendsRequest) -> Bool { - if lhs.notifyTimestampMs != rhs.notifyTimestampMs {return false} + public static func ==(lhs: MethodOptions, rhs: MethodOptions) -> Bool { + if lhs.deprecated != rhs.deprecated {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NotifyContactListFriendsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NotifyContactListFriendsResponse" +extension MiniCollectionBadgeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MiniCollectionBadgeData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .same(proto: "event"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241599,39 +252345,31 @@ extension NotifyContactListFriendsResponse: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.event) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.event.isEmpty { + try visitor.visitRepeatedMessageField(value: self.event, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NotifyContactListFriendsResponse, rhs: NotifyContactListFriendsResponse) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: MiniCollectionBadgeData, rhs: MiniCollectionBadgeData) -> Bool { + if lhs.event != rhs.event {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NotifyContactListFriendsResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_ALREADY_SENT"), - ] -} - -extension NpcDialogueProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NpcDialogueProto" +extension MiniCollectionBadgeEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MiniCollectionBadgeEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "dialogue_line"), + 1: .standard(proto: "event_id"), + 2: .standard(proto: "completed_timestamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241640,31 +252378,39 @@ extension NpcDialogueProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.dialogueLine) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.eventID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.completedTimestamp) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.dialogueLine.isEmpty { - try visitor.visitRepeatedMessageField(value: self.dialogueLine, fieldNumber: 1) + if !self.eventID.isEmpty { + try visitor.visitSingularStringField(value: self.eventID, fieldNumber: 1) + } + if self.completedTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.completedTimestamp, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NpcDialogueProto, rhs: NpcDialogueProto) -> Bool { - if lhs.dialogueLine != rhs.dialogueLine {return false} + public static func ==(lhs: MiniCollectionBadgeEvent, rhs: MiniCollectionBadgeEvent) -> Bool { + if lhs.eventID != rhs.eventID {return false} + if lhs.completedTimestamp != rhs.completedTimestamp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension NpcPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".NpcPokemonProto" +extension MiniCollectionPokemon: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MiniCollectionPokemon" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_type"), - 2: .standard(proto: "pokemon_display"), + 1: .standard(proto: "pokedex_id"), + 2: .same(proto: "display"), + 3: .same(proto: "caught"), + 4: .standard(proto: "collection_type"), + 5: .standard(proto: "require_alignment_to_match"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241673,8 +252419,11 @@ extension NpcPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonType) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._display) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.caught) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.collectionType) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.requireAlignmentToMatch) }() default: break } } @@ -241685,27 +252434,50 @@ extension NpcPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.pokemonType != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonType, fieldNumber: 1) + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) } - try { if let v = self._pokemonDisplay { + try { if let v = self._display { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() + if self.caught != false { + try visitor.visitSingularBoolField(value: self.caught, fieldNumber: 3) + } + if self.collectionType != .catch { + try visitor.visitSingularEnumField(value: self.collectionType, fieldNumber: 4) + } + if self.requireAlignmentToMatch != false { + try visitor.visitSingularBoolField(value: self.requireAlignmentToMatch, fieldNumber: 5) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: NpcPokemonProto, rhs: NpcPokemonProto) -> Bool { - if lhs.pokemonType != rhs.pokemonType {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + public static func ==(lhs: MiniCollectionPokemon, rhs: MiniCollectionPokemon) -> Bool { + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs._display != rhs._display {return false} + if lhs.caught != rhs.caught {return false} + if lhs.collectionType != rhs.collectionType {return false} + if lhs.requireAlignmentToMatch != rhs.requireAlignmentToMatch {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OBOtherParty: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OBOtherParty" +extension MiniCollectionPokemon.CollectType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "CATCH"), + 1: .same(proto: "TRADE"), + 2: .same(proto: "EVOLVE"), + 3: .same(proto: "CATCH_FROM_RAID"), + 4: .same(proto: "HATCH"), + ] +} + +extension MiniCollectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MiniCollectionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_other"), + 1: .same(proto: "pokemon"), + 2: .same(proto: "completed"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241714,30 +252486,35 @@ extension OBOtherParty: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.obOther) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.pokemon) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.completed) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obOther.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.obOther, fieldNumber: 1) + if !self.pokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemon, fieldNumber: 1) + } + if self.completed != false { + try visitor.visitSingularBoolField(value: self.completed, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OBOtherParty, rhs: OBOtherParty) -> Bool { - if lhs.obOther != rhs.obOther {return false} + public static func ==(lhs: MiniCollectionProto, rhs: MiniCollectionProto) -> Bool { + if lhs.pokemon != rhs.pokemon {return false} + if lhs.completed != rhs.completed {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OBOtherParty2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OBOtherParty2" +extension MiniCollectionSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MiniCollectionSectionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_dic"), + 1: .standard(proto: "quest_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241746,180 +252523,70 @@ extension OBOtherParty2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.obDic) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.questID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obDic.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.obDic, fieldNumber: 1) + if !self.questID.isEmpty { + try visitor.visitSingularStringField(value: self.questID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OBOtherParty2, rhs: OBOtherParty2) -> Bool { - if lhs.obDic != rhs.obDic {return false} + public static func ==(lhs: MiniCollectionSectionProto, rhs: MiniCollectionSectionProto) -> Bool { + if lhs.questID != rhs.questID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OBOtherPartyMode: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OBOtherPartyMode" +extension MissingTranslationTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MissingTranslationTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .standard(proto: "player_public_profile"), - 3: .standard(proto: "ob_int32"), - 4: .standard(proto: "pokemon_display"), - 6: .standard(proto: "ob_int32_1"), - 7: .standard(proto: "ob_bool"), - 8: .standard(proto: "ob_double"), - 9: .standard(proto: "ob_double_1"), - 10: .standard(proto: "zone_type"), - 11: .standard(proto: "ob_string_2"), - 12: .standard(proto: "ob_other_field"), + 1: .same(proto: "key"), + 2: .same(proto: "language"), ] - fileprivate class _StorageClass { - var _obString: String = String() - var _playerPublicProfile: PlayerPublicProfileProto? = nil - var _obInt32: Int32 = 0 - var _pokemonDisplay: PokemonDisplayProto? = nil - var _obInt321: Int32 = 0 - var _obBool: Bool = false - var _obDouble: Double = 0 - var _obDouble1: Double = 0 - var _zoneType: ZoneType = .unsetZone - var _obString2: String = String() - var _obOtherField: [OBOtherPartyMode1] = [] - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _obString = source._obString - _playerPublicProfile = source._playerPublicProfile - _obInt32 = source._obInt32 - _pokemonDisplay = source._pokemonDisplay - _obInt321 = source._obInt321 - _obBool = source._obBool - _obDouble = source._obDouble - _obDouble1 = source._obDouble1 - _zoneType = source._zoneType - _obString2 = source._obString2 - _obOtherField = source._obOtherField - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._obString) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._playerPublicProfile) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt32) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonDisplay) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 7: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 8: try { try decoder.decodeSingularDoubleField(value: &_storage._obDouble) }() - case 9: try { try decoder.decodeSingularDoubleField(value: &_storage._obDouble1) }() - case 10: try { try decoder.decodeSingularEnumField(value: &_storage._zoneType) }() - case 11: try { try decoder.decodeSingularStringField(value: &_storage._obString2) }() - case 12: try { try decoder.decodeRepeatedMessageField(value: &_storage._obOtherField) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.key) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.language) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._obString.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString, fieldNumber: 1) - } - try { if let v = _storage._playerPublicProfile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if _storage._obInt32 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt32, fieldNumber: 3) - } - try { if let v = _storage._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 6) - } - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 7) - } - if _storage._obDouble != 0 { - try visitor.visitSingularDoubleField(value: _storage._obDouble, fieldNumber: 8) - } - if _storage._obDouble1 != 0 { - try visitor.visitSingularDoubleField(value: _storage._obDouble1, fieldNumber: 9) - } - if _storage._zoneType != .unsetZone { - try visitor.visitSingularEnumField(value: _storage._zoneType, fieldNumber: 10) - } - if !_storage._obString2.isEmpty { - try visitor.visitSingularStringField(value: _storage._obString2, fieldNumber: 11) - } - if !_storage._obOtherField.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._obOtherField, fieldNumber: 12) - } + if !self.key.isEmpty { + try visitor.visitSingularStringField(value: self.key, fieldNumber: 1) + } + if !self.language.isEmpty { + try visitor.visitSingularStringField(value: self.language, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OBOtherPartyMode, rhs: OBOtherPartyMode) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._obString != rhs_storage._obString {return false} - if _storage._playerPublicProfile != rhs_storage._playerPublicProfile {return false} - if _storage._obInt32 != rhs_storage._obInt32 {return false} - if _storage._pokemonDisplay != rhs_storage._pokemonDisplay {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obDouble != rhs_storage._obDouble {return false} - if _storage._obDouble1 != rhs_storage._obDouble1 {return false} - if _storage._zoneType != rhs_storage._zoneType {return false} - if _storage._obString2 != rhs_storage._obString2 {return false} - if _storage._obOtherField != rhs_storage._obOtherField {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: MissingTranslationTelemetry, rhs: MissingTranslationTelemetry) -> Bool { + if lhs.key != rhs.key {return false} + if lhs.language != rhs.language {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OBOtherPartyMode1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OBOtherPartyMode1" +extension MonodepthDownloadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MonodepthDownloadTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "timestamp_ms"), - 2: .standard(proto: "ob_double"), - 3: .standard(proto: "ob_double_1"), + 1: .standard(proto: "downloaded_package"), + 2: .standard(proto: "skipped_package"), + 3: .standard(proto: "model_downloaded"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241928,41 +252595,46 @@ extension OBOtherPartyMode1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.obDouble) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.obDouble1) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.downloadedPackage) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.skippedPackage) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.modelDownloaded) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) + if self.downloadedPackage != false { + try visitor.visitSingularBoolField(value: self.downloadedPackage, fieldNumber: 1) } - if self.obDouble != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble, fieldNumber: 2) + if self.skippedPackage != false { + try visitor.visitSingularBoolField(value: self.skippedPackage, fieldNumber: 2) } - if self.obDouble1 != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble1, fieldNumber: 3) + if !self.modelDownloaded.isEmpty { + try visitor.visitSingularStringField(value: self.modelDownloaded, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OBOtherPartyMode1, rhs: OBOtherPartyMode1) -> Bool { - if lhs.timestampMs != rhs.timestampMs {return false} - if lhs.obDouble != rhs.obDouble {return false} - if lhs.obDouble1 != rhs.obDouble1 {return false} + public static func ==(lhs: MonodepthDownloadTelemetry, rhs: MonodepthDownloadTelemetry) -> Bool { + if lhs.downloadedPackage != rhs.downloadedPackage {return false} + if lhs.skippedPackage != rhs.skippedPackage {return false} + if lhs.modelDownloaded != rhs.modelDownloaded {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OBOtherPartyUnkProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OBOtherPartyUnkProto" +extension MonodepthSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MonodepthSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .standard(proto: "ob_string_2"), + 1: .standard(proto: "enable_occlusions"), + 2: .standard(proto: "occlusions_default_on"), + 3: .standard(proto: "occlusions_toggle_visible"), + 4: .standard(proto: "enable_ground_suppression"), + 5: .standard(proto: "min_ground_suppression_thresh"), + 6: .standard(proto: "suppression_channel_id"), + 7: .standard(proto: "suppression_channel_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -241971,36 +252643,67 @@ extension OBOtherPartyUnkProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.obString2) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableOcclusions) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.occlusionsDefaultOn) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.occlusionsToggleVisible) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.enableGroundSuppression) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.minGroundSuppressionThresh) }() + case 6: try { try decoder.decodeSingularUInt32Field(value: &self.suppressionChannelID) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.suppressionChannelName) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) + if self.enableOcclusions != false { + try visitor.visitSingularBoolField(value: self.enableOcclusions, fieldNumber: 1) + } + if self.occlusionsDefaultOn != false { + try visitor.visitSingularBoolField(value: self.occlusionsDefaultOn, fieldNumber: 2) + } + if self.occlusionsToggleVisible != false { + try visitor.visitSingularBoolField(value: self.occlusionsToggleVisible, fieldNumber: 3) + } + if self.enableGroundSuppression != false { + try visitor.visitSingularBoolField(value: self.enableGroundSuppression, fieldNumber: 4) } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 2) + if self.minGroundSuppressionThresh != 0 { + try visitor.visitSingularFloatField(value: self.minGroundSuppressionThresh, fieldNumber: 5) + } + if self.suppressionChannelID != 0 { + try visitor.visitSingularUInt32Field(value: self.suppressionChannelID, fieldNumber: 6) + } + if !self.suppressionChannelName.isEmpty { + try visitor.visitSingularStringField(value: self.suppressionChannelName, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OBOtherPartyUnkProto, rhs: OBOtherPartyUnkProto) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} + public static func ==(lhs: MonodepthSettingsProto, rhs: MonodepthSettingsProto) -> Bool { + if lhs.enableOcclusions != rhs.enableOcclusions {return false} + if lhs.occlusionsDefaultOn != rhs.occlusionsDefaultOn {return false} + if lhs.occlusionsToggleVisible != rhs.occlusionsToggleVisible {return false} + if lhs.enableGroundSuppression != rhs.enableGroundSuppression {return false} + if lhs.minGroundSuppressionThresh != rhs.minGroundSuppressionThresh {return false} + if lhs.suppressionChannelID != rhs.suppressionChannelID {return false} + if lhs.suppressionChannelName != rhs.suppressionChannelName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OBPartyPlayOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OBPartyPlayOutProto" +extension MotivatedPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MotivatedPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "party_play"), - 2: .same(proto: "result"), + 1: .same(proto: "pokemon"), + 2: .standard(proto: "deploy_ms"), + 3: .standard(proto: "cp_when_deployed"), + 4: .standard(proto: "motivation_now"), + 5: .standard(proto: "cp_now"), + 6: .standard(proto: "berry_value"), + 7: .standard(proto: "feed_cooldown_duration_millis"), + 8: .standard(proto: "food_value"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -242009,8 +252712,14 @@ extension OBPartyPlayOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._partyPlay) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.deployMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.cpWhenDeployed) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.motivationNow) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.cpNow) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.berryValue) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.feedCooldownDurationMillis) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &self.foodValue) }() default: break } } @@ -242021,43 +252730,51 @@ extension OBPartyPlayOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._partyPlay { + try { if let v = self._pokemon { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 2) + if self.deployMs != 0 { + try visitor.visitSingularInt64Field(value: self.deployMs, fieldNumber: 2) + } + if self.cpWhenDeployed != 0 { + try visitor.visitSingularInt32Field(value: self.cpWhenDeployed, fieldNumber: 3) + } + if self.motivationNow != 0 { + try visitor.visitSingularDoubleField(value: self.motivationNow, fieldNumber: 4) + } + if self.cpNow != 0 { + try visitor.visitSingularInt32Field(value: self.cpNow, fieldNumber: 5) + } + if self.berryValue != 0 { + try visitor.visitSingularFloatField(value: self.berryValue, fieldNumber: 6) + } + if self.feedCooldownDurationMillis != 0 { + try visitor.visitSingularInt64Field(value: self.feedCooldownDurationMillis, fieldNumber: 7) + } + if !self.foodValue.isEmpty { + try visitor.visitRepeatedMessageField(value: self.foodValue, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OBPartyPlayOutProto, rhs: OBPartyPlayOutProto) -> Bool { - if lhs._partyPlay != rhs._partyPlay {return false} - if lhs.result != rhs.result {return false} + public static func ==(lhs: MotivatedPokemonProto, rhs: MotivatedPokemonProto) -> Bool { + if lhs._pokemon != rhs._pokemon {return false} + if lhs.deployMs != rhs.deployMs {return false} + if lhs.cpWhenDeployed != rhs.cpWhenDeployed {return false} + if lhs.motivationNow != rhs.motivationNow {return false} + if lhs.cpNow != rhs.cpNow {return false} + if lhs.berryValue != rhs.berryValue {return false} + if lhs.feedCooldownDurationMillis != rhs.feedCooldownDurationMillis {return false} + if lhs.foodValue != rhs.foodValue {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OBPartyPlayOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ERROR_UNKNOWN"), - 2: .same(proto: "SUCCESS"), - 3: .same(proto: "ERROR_PLAYER_LEVEL_TOO_LOW"), - 4: .same(proto: "ERROR_FEATURE_DISABLED"), - 5: .same(proto: "ERROR_ALREADY_IN_PARTY"), - 6: .same(proto: "ERROR_NO_SUCH_PARTY"), - 7: .same(proto: "ERROR_PARTY_IS_FULL"), - 8: .same(proto: "ERROR_NOT_IN_RANGE"), - ] -} - -extension OBPartyPlayProtoField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OBPartyPlayProtoField" +extension MoveModifierGroup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MoveModifierGroup" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "timestamp_ms"), - 2: .standard(proto: "ob_double"), - 3: .standard(proto: "ob_double_1"), + 1: .standard(proto: "move_modifier"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -242066,41 +252783,38 @@ extension OBPartyPlayProtoField: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.obDouble) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.obDouble1) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.moveModifier) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) - } - if self.obDouble != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble, fieldNumber: 2) - } - if self.obDouble1 != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble1, fieldNumber: 3) + if !self.moveModifier.isEmpty { + try visitor.visitRepeatedMessageField(value: self.moveModifier, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OBPartyPlayProtoField, rhs: OBPartyPlayProtoField) -> Bool { - if lhs.timestampMs != rhs.timestampMs {return false} - if lhs.obDouble != rhs.obDouble {return false} - if lhs.obDouble1 != rhs.obDouble1 {return false} + public static func ==(lhs: MoveModifierGroup, rhs: MoveModifierGroup) -> Bool { + if lhs.moveModifier != rhs.moveModifier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObAttractedPokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObAttractedPokemonOutProto" +extension MoveModifierProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MoveModifierProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "attracted_pokemons"), + 1: .same(proto: "mode"), + 2: .same(proto: "type"), + 3: .same(proto: "value"), + 4: .same(proto: "condition"), + 5: .standard(proto: "render_modifier"), + 6: .same(proto: "duration"), + 7: .standard(proto: "string_value"), + 9: .standard(proto: "best_effort"), + 10: .standard(proto: "modifier_target"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -242109,48 +252823,110 @@ extension ObAttractedPokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.attractedPokemons) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.mode) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.value) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.condition) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.renderModifier) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.duration) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.stringValue) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.bestEffort) }() + case 10: try { try decoder.decodeSingularEnumField(value: &self.modifierTarget) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.mode != .unsetMoveModifierMode { + try visitor.visitSingularEnumField(value: self.mode, fieldNumber: 1) + } + if self.type != .unsetMoveModifierType { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) + } + if self.value != 0 { + try visitor.visitSingularFloatField(value: self.value, fieldNumber: 3) + } + if !self.condition.isEmpty { + try visitor.visitRepeatedMessageField(value: self.condition, fieldNumber: 4) + } + if !self.renderModifier.isEmpty { + try visitor.visitRepeatedMessageField(value: self.renderModifier, fieldNumber: 5) + } + if self.duration != 0 { + try visitor.visitSingularInt64Field(value: self.duration, fieldNumber: 6) + } + if !self.stringValue.isEmpty { + try visitor.visitSingularStringField(value: self.stringValue, fieldNumber: 7) + } + if self.bestEffort != false { + try visitor.visitSingularBoolField(value: self.bestEffort, fieldNumber: 9) } - if !self.attractedPokemons.isEmpty { - try visitor.visitRepeatedMessageField(value: self.attractedPokemons, fieldNumber: 2) + if self.modifierTarget != .unset { + try visitor.visitSingularEnumField(value: self.modifierTarget, fieldNumber: 10) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObAttractedPokemonOutProto, rhs: ObAttractedPokemonOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.attractedPokemons != rhs.attractedPokemons {return false} + public static func ==(lhs: MoveModifierProto, rhs: MoveModifierProto) -> Bool { + if lhs.mode != rhs.mode {return false} + if lhs.type != rhs.type {return false} + if lhs.value != rhs.value {return false} + if lhs.condition != rhs.condition {return false} + if lhs.renderModifier != rhs.renderModifier {return false} + if lhs.duration != rhs.duration {return false} + if lhs.stringValue != rhs.stringValue {return false} + if lhs.bestEffort != rhs.bestEffort {return false} + if lhs.modifierTarget != rhs.modifierTarget {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObAttractedPokemonOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension MoveModifierProto.MoveModifierMode: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET_MOVE_MODIFIER_MODE"), + 1: .same(proto: "FORM_CHANGE"), + 2: .same(proto: "DIRECT_DAMAGE"), + 3: .same(proto: "DEFENDER_DAMAGE_DEALT"), + 4: .same(proto: "DEFENDER_DAMAGE_TAKEN"), + 5: .same(proto: "ATTACKER_ARBITRARY_COUNTER"), + 6: .same(proto: "ATTACKER_FORM_REVERSION"), + 7: .same(proto: "DEFENDER_FORM_REVERSION"), + 8: .same(proto: "DEFENDER_ARBITRARY_COUNTER"), + 9: .same(proto: "APPLY_VS_EFFECT_TAG"), + 10: .same(proto: "REMOVE_VS_EFFECT_TAG"), + 11: .same(proto: "ATTACK_STAT_CHANGE"), + 12: .same(proto: "DEFENSE_STAT_CHANGE"), + 13: .same(proto: "STAMINA_STAT_CHANGE"), + 14: .same(proto: "STAT_CHANGE"), + 15: .same(proto: "GROUP_POINTER"), + ] +} + +extension MoveModifierProto.MoveModifierTarget: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), + 1: .same(proto: "ATTACKER"), + 2: .same(proto: "DEFENDER"), + ] +} + +extension MoveModifierProto.MoveModifierType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET_MOVE_MODIFIER_TYPE"), + 1: .same(proto: "PERCENTAGE"), + 2: .same(proto: "FLAT_VALUE"), ] } -extension ObClientMapCellProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObClientMapCellProto" +extension MoveModifierProto.ModifierCondition: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = MoveModifierProto.protoMessageName + ".ModifierCondition" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_int64_1"), - 3: .standard(proto: "ob_int64_2"), - 4: .standard(proto: "ob_double_1"), - 5: .standard(proto: "ob_double_2"), - 6: .standard(proto: "ob_double_3"), - 7: .standard(proto: "ob_string"), + 1: .standard(proto: "condition_type"), + 2: .same(proto: "value"), + 3: .same(proto: "deviation"), + 4: .standard(proto: "string_lookup"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -242159,125 +252935,151 @@ extension ObClientMapCellProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.obInt641) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.obInt642) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.obDouble1) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.obDouble2) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.obDouble3) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.obString) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.conditionType) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.value) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.deviation) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.stringLookup) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.obInt641 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt641, fieldNumber: 2) - } - if self.obInt642 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt642, fieldNumber: 3) - } - if self.obDouble1 != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble1, fieldNumber: 4) + if self.conditionType != .unset { + try visitor.visitSingularEnumField(value: self.conditionType, fieldNumber: 1) } - if self.obDouble2 != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble2, fieldNumber: 5) + if self.value != 0 { + try visitor.visitSingularInt64Field(value: self.value, fieldNumber: 2) } - if self.obDouble3 != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble3, fieldNumber: 6) + if self.deviation != 0 { + try visitor.visitSingularFloatField(value: self.deviation, fieldNumber: 3) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 7) + if !self.stringLookup.isEmpty { + try visitor.visitSingularStringField(value: self.stringLookup, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObClientMapCellProto, rhs: ObClientMapCellProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obInt641 != rhs.obInt641 {return false} - if lhs.obInt642 != rhs.obInt642 {return false} - if lhs.obDouble1 != rhs.obDouble1 {return false} - if lhs.obDouble2 != rhs.obDouble2 {return false} - if lhs.obDouble3 != rhs.obDouble3 {return false} - if lhs.obString != rhs.obString {return false} + public static func ==(lhs: MoveModifierProto.ModifierCondition, rhs: MoveModifierProto.ModifierCondition) -> Bool { + if lhs.conditionType != rhs.conditionType {return false} + if lhs.value != rhs.value {return false} + if lhs.deviation != rhs.deviation {return false} + if lhs.stringLookup != rhs.stringLookup {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCombatMismatchData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObCombatMismatchData" +extension MoveModifierProto.ModifierCondition.ConditionType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "open_combat_session_data"), - 3: .standard(proto: "open_combat_session_response_data"), - 4: .standard(proto: "update_combat_data"), - 5: .standard(proto: "update_combat_response_data"), - 6: .standard(proto: "quit_combat_data"), - 7: .standard(proto: "quit_combat_response_data"), - 8: .standard(proto: "web_socket_response_data"), - 9: .standard(proto: "rpc_error_data"), - 10: .standard(proto: "get_combat_player_profile_data"), - 11: .standard(proto: "get_combat_player_profile_response_data"), - 12: .standard(proto: "generate_combat_challenge_id_data"), - 13: .standard(proto: "generate_combat_challenge_id_response_data"), - 14: .standard(proto: "create_combat_challenge_data"), - 15: .standard(proto: "create_combat_challenge_response_data"), - 16: .standard(proto: "open_combat_challenge_data"), - 17: .standard(proto: "open_combat_challenge_response_data"), - 18: .standard(proto: "open_npc_combat_session_data"), - 19: .standard(proto: "open_npc_combat_session_response_data"), - 20: .standard(proto: "accept_combat_challenge_data"), - 21: .standard(proto: "accept_combat_challenge_response_data"), - 22: .standard(proto: "submit_combat_challenge_pokemons_data"), - 23: .standard(proto: "submit_combat_challenge_pokemons_response_data"), - 24: .standard(proto: "decline_combat_challenge_data"), - 25: .standard(proto: "decline_combat_challenge_response_data"), - 26: .standard(proto: "cancel_combat_challenge_data"), - 27: .standard(proto: "cancel_combat_challenge_response_data"), - 28: .standard(proto: "get_combat_challenge_data"), - 29: .standard(proto: "get_combat_challenge_response_data"), - 30: .standard(proto: "vs_seeker_start_matchmaking_data"), - 31: .standard(proto: "vs_seeker_start_matchmaking_response_data"), - 32: .standard(proto: "get_matchmaking_status_data"), - 33: .standard(proto: "get_matchmaking_status_response_data"), - 34: .standard(proto: "cancel_matchmaking_data"), - 35: .standard(proto: "cancel_matchmaking_response_data"), - 36: .standard(proto: "submit_combat_action"), - 37: .standard(proto: "invasion_open_combat_session_data"), - 38: .standard(proto: "invasion_open_combat_session_response_data"), - 39: .standard(proto: "invasion_battle_update"), - 40: .standard(proto: "invasion_battle_response_update"), - 41: .standard(proto: "combat_id_mismatch_data"), - 42: .standard(proto: "league_id_mismatch_data"), - 43: .standard(proto: "challenge_id_mismatch_data"), - 44: .standard(proto: "progress_token_data"), - 45: .standard(proto: "on_application_focus_data"), - 46: .standard(proto: "on_application_pause_data"), - 47: .standard(proto: "on_application_quit_data"), - 48: .standard(proto: "exception_caught_data"), - 49: .standard(proto: "combat_pub_sub_data"), - 50: .standard(proto: "combat_end_data"), - 51: .standard(proto: "combat_sync_server_data"), - 52: .standard(proto: "combat_sync_server_response_data"), - 53: .standard(proto: "combat_special_move_player_data"), - 1: .same(proto: "state"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "PVE_NPC"), + 2: .same(proto: "HP_PERCENT"), + 3: .same(proto: "INVOCATION_LIMIT"), + 4: .same(proto: "COOLDOWN_MS"), + 5: .same(proto: "DEFENDER_ALIGNMENT_SHADOW"), + 6: .same(proto: "DEFENDER_VS_TAG"), + 7: .same(proto: "ATTACKER_ARBITRARY_COUNTER_MINIMUM"), + 8: .same(proto: "DEFENDER_ARBITRARY_COUNTER_MINIMUM"), + 9: .same(proto: "ATTACKER_VS_TAG"), + ] +} + +extension MoveSequenceSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MoveSequenceSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "sequence"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.sequence) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.sequence.isEmpty { + try visitor.visitRepeatedStringField(value: self.sequence, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: MoveSequenceSettingsProto, rhs: MoveSequenceSettingsProto) -> Bool { + if lhs.sequence != rhs.sequence {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension MoveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MoveSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "unique_id"), + 2: .standard(proto: "animation_id"), + 3: .standard(proto: "pokemon_type"), + 4: .same(proto: "power"), + 5: .standard(proto: "accuracy_chance"), + 6: .standard(proto: "critical_chance"), + 7: .standard(proto: "heal_scalar"), + 8: .standard(proto: "stamina_loss_scalar"), + 9: .standard(proto: "trainer_level_min"), + 10: .standard(proto: "trainer_level_max"), + 11: .standard(proto: "vfx_name"), + 12: .standard(proto: "duration_ms"), + 13: .standard(proto: "damage_window_start_ms"), + 14: .standard(proto: "damage_window_end_ms"), + 15: .standard(proto: "energy_delta"), + 16: .standard(proto: "is_locked"), + 17: .same(proto: "modifier"), ] fileprivate class _StorageClass { - var _data: ObCombatMismatchData.OneOf_Data? - var _state: ObCombatMismatchData.MismatchState? = nil + var _uniqueID: HoloPokemonMove = .moveUnset + var _animationID: Int32 = 0 + var _pokemonType: HoloPokemonType = .pokemonTypeNone + var _power: Float = 0 + var _accuracyChance: Float = 0 + var _criticalChance: Float = 0 + var _healScalar: Float = 0 + var _staminaLossScalar: Float = 0 + var _trainerLevelMin: Int32 = 0 + var _trainerLevelMax: Int32 = 0 + var _vfxName: String = String() + var _durationMs: Int32 = 0 + var _damageWindowStartMs: Int32 = 0 + var _damageWindowEndMs: Int32 = 0 + var _energyDelta: Int32 = 0 + var _isLocked: Bool = false + var _modifier: [MoveModifierProto] = [] static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _data = source._data - _state = source._state + _uniqueID = source._uniqueID + _animationID = source._animationID + _pokemonType = source._pokemonType + _power = source._power + _accuracyChance = source._accuracyChance + _criticalChance = source._criticalChance + _healScalar = source._healScalar + _staminaLossScalar = source._staminaLossScalar + _trainerLevelMin = source._trainerLevelMin + _trainerLevelMax = source._trainerLevelMax + _vfxName = source._vfxName + _durationMs = source._durationMs + _damageWindowStartMs = source._damageWindowStartMs + _damageWindowEndMs = source._damageWindowEndMs + _energyDelta = source._energyDelta + _isLocked = source._isLocked + _modifier = source._modifier } } @@ -242296,683 +253098,23 @@ extension ObCombatMismatchData: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._state) }() - case 2: try { - var v: OpenCombatSessionDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .openCombatSessionData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .openCombatSessionData(v) - } - }() - case 3: try { - var v: OpenCombatSessionResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .openCombatSessionResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .openCombatSessionResponseData(v) - } - }() - case 4: try { - var v: UpdateCombatDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .updateCombatData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .updateCombatData(v) - } - }() - case 5: try { - var v: UpdateCombatResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .updateCombatResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .updateCombatResponseData(v) - } - }() - case 6: try { - var v: QuitCombatDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .quitCombatData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .quitCombatData(v) - } - }() - case 7: try { - var v: QuitCombatResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .quitCombatResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .quitCombatResponseData(v) - } - }() - case 8: try { - var v: WebSocketResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .webSocketResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .webSocketResponseData(v) - } - }() - case 9: try { - var v: RpcErrorDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .rpcErrorData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .rpcErrorData(v) - } - }() - case 10: try { - var v: GetCombatPlayerProfileDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .getCombatPlayerProfileData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .getCombatPlayerProfileData(v) - } - }() - case 11: try { - var v: GetCombatPlayerProfileResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .getCombatPlayerProfileResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .getCombatPlayerProfileResponseData(v) - } - }() - case 12: try { - var v: GenerateCombatChallengeIdDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .generateCombatChallengeIDData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .generateCombatChallengeIDData(v) - } - }() - case 13: try { - var v: GenerateCombatChallengeIdResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .generateCombatChallengeIDResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .generateCombatChallengeIDResponseData(v) - } - }() - case 14: try { - var v: CreateCombatChallengeDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .createCombatChallengeData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .createCombatChallengeData(v) - } - }() - case 15: try { - var v: CreateCombatChallengeResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .createCombatChallengeResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .createCombatChallengeResponseData(v) - } - }() - case 16: try { - var v: OpenCombatChallengeDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .openCombatChallengeData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .openCombatChallengeData(v) - } - }() - case 17: try { - var v: OpenCombatChallengeResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .openCombatChallengeResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .openCombatChallengeResponseData(v) - } - }() - case 18: try { - var v: OpenNpcCombatSessionDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .openNpcCombatSessionData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .openNpcCombatSessionData(v) - } - }() - case 19: try { - var v: OpenNpcCombatSessionResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .openNpcCombatSessionResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .openNpcCombatSessionResponseData(v) - } - }() - case 20: try { - var v: AcceptCombatChallengeDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .acceptCombatChallengeData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .acceptCombatChallengeData(v) - } - }() - case 21: try { - var v: AcceptCombatChallengeResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .acceptCombatChallengeResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .acceptCombatChallengeResponseData(v) - } - }() - case 22: try { - var v: SubmitCombatChallengePokemonsDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .submitCombatChallengePokemonsData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .submitCombatChallengePokemonsData(v) - } - }() - case 23: try { - var v: SubmitCombatChallengePokemonsResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .submitCombatChallengePokemonsResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .submitCombatChallengePokemonsResponseData(v) - } - }() - case 24: try { - var v: DeclineCombatChallengeDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .declineCombatChallengeData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .declineCombatChallengeData(v) - } - }() - case 25: try { - var v: DeclineCombatChallengeResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .declineCombatChallengeResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .declineCombatChallengeResponseData(v) - } - }() - case 26: try { - var v: CancelCombatChallengeDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .cancelCombatChallengeData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .cancelCombatChallengeData(v) - } - }() - case 27: try { - var v: CancelCombatChallengeResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .cancelCombatChallengeResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .cancelCombatChallengeResponseData(v) - } - }() - case 28: try { - var v: GetCombatChallengeDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .getCombatChallengeData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .getCombatChallengeData(v) - } - }() - case 29: try { - var v: GetCombatChallengeResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .getCombatChallengeResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .getCombatChallengeResponseData(v) - } - }() - case 30: try { - var v: VsSeekerStartMatchmakingDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .vsSeekerStartMatchmakingData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .vsSeekerStartMatchmakingData(v) - } - }() - case 31: try { - var v: VsSeekerStartMatchmakingResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .vsSeekerStartMatchmakingResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .vsSeekerStartMatchmakingResponseData(v) - } - }() - case 32: try { - var v: GetMatchmakingStatusDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .getMatchmakingStatusData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .getMatchmakingStatusData(v) - } - }() - case 33: try { - var v: GetMatchmakingStatusResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .getMatchmakingStatusResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .getMatchmakingStatusResponseData(v) - } - }() - case 34: try { - var v: CancelMatchmakingDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .cancelMatchmakingData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .cancelMatchmakingData(v) - } - }() - case 35: try { - var v: CancelMatchmakingResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .cancelMatchmakingResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .cancelMatchmakingResponseData(v) - } - }() - case 36: try { - var v: SubmitCombatActionProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .submitCombatAction(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .submitCombatAction(v) - } - }() - case 37: try { - var v: InvasionOpenCombatSessionDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .invasionOpenCombatSessionData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .invasionOpenCombatSessionData(v) - } - }() - case 38: try { - var v: InvasionOpenCombatSessionResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .invasionOpenCombatSessionResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .invasionOpenCombatSessionResponseData(v) - } - }() - case 39: try { - var v: InvasionBattleUpdateProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .invasionBattleUpdate(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .invasionBattleUpdate(v) - } - }() - case 40: try { - var v: InvasionBattleResponseUpdateProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .invasionBattleResponseUpdate(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .invasionBattleResponseUpdate(v) - } - }() - case 41: try { - var v: CombatIdMismatchDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .combatIDMismatchData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .combatIDMismatchData(v) - } - }() - case 42: try { - var v: LeagueIdMismatchDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .leagueIDMismatchData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .leagueIDMismatchData(v) - } - }() - case 43: try { - var v: ChallengeIdMismatchDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .challengeIDMismatchData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .challengeIDMismatchData(v) - } - }() - case 44: try { - var v: ProgressTokenDataV2? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .progressTokenData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .progressTokenData(v) - } - }() - case 45: try { - var v: OnApplicationFocusDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .onApplicationFocusData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .onApplicationFocusData(v) - } - }() - case 46: try { - var v: OnApplicationPauseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .onApplicationPauseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .onApplicationPauseData(v) - } - }() - case 47: try { - var v: OnApplicationQuitDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .onApplicationQuitData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .onApplicationQuitData(v) - } - }() - case 48: try { - var v: ExceptionCaugthDataV2Proto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .exceptionCaughtData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .exceptionCaughtData(v) - } - }() - case 49: try { - var v: CombatPubSubDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .combatPubSubData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .combatPubSubData(v) - } - }() - case 50: try { - var v: CombatEndDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .combatEndData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .combatEndData(v) - } - }() - case 51: try { - var v: CombatSyncServerDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .combatSyncServerData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .combatSyncServerData(v) - } - }() - case 52: try { - var v: CombatSyncServerResponseDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .combatSyncServerResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .combatSyncServerResponseData(v) - } - }() - case 53: try { - var v: CombatSpecialMovePlayerDataProto? - var hadOneofValue = false - if let current = _storage._data { - hadOneofValue = true - if case .combatSpecialMovePlayerData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._data = .combatSpecialMovePlayerData(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._uniqueID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._animationID) }() + case 3: try { try decoder.decodeSingularEnumField(value: &_storage._pokemonType) }() + case 4: try { try decoder.decodeSingularFloatField(value: &_storage._power) }() + case 5: try { try decoder.decodeSingularFloatField(value: &_storage._accuracyChance) }() + case 6: try { try decoder.decodeSingularFloatField(value: &_storage._criticalChance) }() + case 7: try { try decoder.decodeSingularFloatField(value: &_storage._healScalar) }() + case 8: try { try decoder.decodeSingularFloatField(value: &_storage._staminaLossScalar) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._trainerLevelMin) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._trainerLevelMax) }() + case 11: try { try decoder.decodeSingularStringField(value: &_storage._vfxName) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._durationMs) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._damageWindowStartMs) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._damageWindowEndMs) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._energyDelta) }() + case 16: try { try decoder.decodeSingularBoolField(value: &_storage._isLocked) }() + case 17: try { try decoder.decodeRepeatedMessageField(value: &_storage._modifier) }() default: break } } @@ -242981,251 +253123,173 @@ extension ObCombatMismatchData: SwiftProtobuf.Message, SwiftProtobuf._MessageImp public func traverse(visitor: inout V) throws { try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._state { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - switch _storage._data { - case .openCombatSessionData?: try { - guard case .openCombatSessionData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .openCombatSessionResponseData?: try { - guard case .openCombatSessionResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .updateCombatData?: try { - guard case .updateCombatData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .updateCombatResponseData?: try { - guard case .updateCombatResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case .quitCombatData?: try { - guard case .quitCombatData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - }() - case .quitCombatResponseData?: try { - guard case .quitCombatResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - }() - case .webSocketResponseData?: try { - guard case .webSocketResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - }() - case .rpcErrorData?: try { - guard case .rpcErrorData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - }() - case .getCombatPlayerProfileData?: try { - guard case .getCombatPlayerProfileData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - }() - case .getCombatPlayerProfileResponseData?: try { - guard case .getCombatPlayerProfileResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - }() - case .generateCombatChallengeIDData?: try { - guard case .generateCombatChallengeIDData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - }() - case .generateCombatChallengeIDResponseData?: try { - guard case .generateCombatChallengeIDResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - }() - case .createCombatChallengeData?: try { - guard case .createCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - }() - case .createCombatChallengeResponseData?: try { - guard case .createCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - }() - case .openCombatChallengeData?: try { - guard case .openCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - }() - case .openCombatChallengeResponseData?: try { - guard case .openCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 17) - }() - case .openNpcCombatSessionData?: try { - guard case .openNpcCombatSessionData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 18) - }() - case .openNpcCombatSessionResponseData?: try { - guard case .openNpcCombatSessionResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 19) - }() - case .acceptCombatChallengeData?: try { - guard case .acceptCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 20) - }() - case .acceptCombatChallengeResponseData?: try { - guard case .acceptCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 21) - }() - case .submitCombatChallengePokemonsData?: try { - guard case .submitCombatChallengePokemonsData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 22) - }() - case .submitCombatChallengePokemonsResponseData?: try { - guard case .submitCombatChallengePokemonsResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 23) - }() - case .declineCombatChallengeData?: try { - guard case .declineCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 24) - }() - case .declineCombatChallengeResponseData?: try { - guard case .declineCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 25) - }() - case .cancelCombatChallengeData?: try { - guard case .cancelCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 26) - }() - case .cancelCombatChallengeResponseData?: try { - guard case .cancelCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 27) - }() - case .getCombatChallengeData?: try { - guard case .getCombatChallengeData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 28) - }() - case .getCombatChallengeResponseData?: try { - guard case .getCombatChallengeResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 29) - }() - case .vsSeekerStartMatchmakingData?: try { - guard case .vsSeekerStartMatchmakingData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 30) - }() - case .vsSeekerStartMatchmakingResponseData?: try { - guard case .vsSeekerStartMatchmakingResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 31) - }() - case .getMatchmakingStatusData?: try { - guard case .getMatchmakingStatusData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 32) - }() - case .getMatchmakingStatusResponseData?: try { - guard case .getMatchmakingStatusResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 33) - }() - case .cancelMatchmakingData?: try { - guard case .cancelMatchmakingData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 34) - }() - case .cancelMatchmakingResponseData?: try { - guard case .cancelMatchmakingResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 35) - }() - case .submitCombatAction?: try { - guard case .submitCombatAction(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 36) - }() - case .invasionOpenCombatSessionData?: try { - guard case .invasionOpenCombatSessionData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 37) - }() - case .invasionOpenCombatSessionResponseData?: try { - guard case .invasionOpenCombatSessionResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 38) - }() - case .invasionBattleUpdate?: try { - guard case .invasionBattleUpdate(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 39) - }() - case .invasionBattleResponseUpdate?: try { - guard case .invasionBattleResponseUpdate(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 40) - }() - case .combatIDMismatchData?: try { - guard case .combatIDMismatchData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 41) - }() - case .leagueIDMismatchData?: try { - guard case .leagueIDMismatchData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 42) - }() - case .challengeIDMismatchData?: try { - guard case .challengeIDMismatchData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 43) - }() - case .progressTokenData?: try { - guard case .progressTokenData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 44) - }() - case .onApplicationFocusData?: try { - guard case .onApplicationFocusData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 45) - }() - case .onApplicationPauseData?: try { - guard case .onApplicationPauseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 46) - }() - case .onApplicationQuitData?: try { - guard case .onApplicationQuitData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 47) - }() - case .exceptionCaughtData?: try { - guard case .exceptionCaughtData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 48) - }() - case .combatPubSubData?: try { - guard case .combatPubSubData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 49) - }() - case .combatEndData?: try { - guard case .combatEndData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 50) - }() - case .combatSyncServerData?: try { - guard case .combatSyncServerData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 51) - }() - case .combatSyncServerResponseData?: try { - guard case .combatSyncServerResponseData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 52) - }() - case .combatSpecialMovePlayerData?: try { - guard case .combatSpecialMovePlayerData(let v)? = _storage._data else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 53) - }() - case nil: break + if _storage._uniqueID != .moveUnset { + try visitor.visitSingularEnumField(value: _storage._uniqueID, fieldNumber: 1) + } + if _storage._animationID != 0 { + try visitor.visitSingularInt32Field(value: _storage._animationID, fieldNumber: 2) + } + if _storage._pokemonType != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: _storage._pokemonType, fieldNumber: 3) + } + if _storage._power != 0 { + try visitor.visitSingularFloatField(value: _storage._power, fieldNumber: 4) + } + if _storage._accuracyChance != 0 { + try visitor.visitSingularFloatField(value: _storage._accuracyChance, fieldNumber: 5) + } + if _storage._criticalChance != 0 { + try visitor.visitSingularFloatField(value: _storage._criticalChance, fieldNumber: 6) + } + if _storage._healScalar != 0 { + try visitor.visitSingularFloatField(value: _storage._healScalar, fieldNumber: 7) + } + if _storage._staminaLossScalar != 0 { + try visitor.visitSingularFloatField(value: _storage._staminaLossScalar, fieldNumber: 8) + } + if _storage._trainerLevelMin != 0 { + try visitor.visitSingularInt32Field(value: _storage._trainerLevelMin, fieldNumber: 9) + } + if _storage._trainerLevelMax != 0 { + try visitor.visitSingularInt32Field(value: _storage._trainerLevelMax, fieldNumber: 10) + } + if !_storage._vfxName.isEmpty { + try visitor.visitSingularStringField(value: _storage._vfxName, fieldNumber: 11) + } + if _storage._durationMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._durationMs, fieldNumber: 12) + } + if _storage._damageWindowStartMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._damageWindowStartMs, fieldNumber: 13) + } + if _storage._damageWindowEndMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._damageWindowEndMs, fieldNumber: 14) + } + if _storage._energyDelta != 0 { + try visitor.visitSingularInt32Field(value: _storage._energyDelta, fieldNumber: 15) + } + if _storage._isLocked != false { + try visitor.visitSingularBoolField(value: _storage._isLocked, fieldNumber: 16) + } + if !_storage._modifier.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._modifier, fieldNumber: 17) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: MoveSettingsProto, rhs: MoveSettingsProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._uniqueID != rhs_storage._uniqueID {return false} + if _storage._animationID != rhs_storage._animationID {return false} + if _storage._pokemonType != rhs_storage._pokemonType {return false} + if _storage._power != rhs_storage._power {return false} + if _storage._accuracyChance != rhs_storage._accuracyChance {return false} + if _storage._criticalChance != rhs_storage._criticalChance {return false} + if _storage._healScalar != rhs_storage._healScalar {return false} + if _storage._staminaLossScalar != rhs_storage._staminaLossScalar {return false} + if _storage._trainerLevelMin != rhs_storage._trainerLevelMin {return false} + if _storage._trainerLevelMax != rhs_storage._trainerLevelMax {return false} + if _storage._vfxName != rhs_storage._vfxName {return false} + if _storage._durationMs != rhs_storage._durationMs {return false} + if _storage._damageWindowStartMs != rhs_storage._damageWindowStartMs {return false} + if _storage._damageWindowEndMs != rhs_storage._damageWindowEndMs {return false} + if _storage._energyDelta != rhs_storage._energyDelta {return false} + if _storage._isLocked != rhs_storage._isLocked {return false} + if _storage._modifier != rhs_storage._modifier {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension MultiPartQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MultiPartQuestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "sub_quests"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.subQuests) }() + default: break } } + } + + public func traverse(visitor: inout V) throws { + if !self.subQuests.isEmpty { + try visitor.visitRepeatedMessageField(value: self.subQuests, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCombatMismatchData, rhs: ObCombatMismatchData) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._data != rhs_storage._data {return false} - if _storage._state != rhs_storage._state {return false} - return true + public static func ==(lhs: MultiPartQuestProto, rhs: MultiPartQuestProto) -> Bool { + if lhs.subQuests != rhs.subQuests {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension MultiSelectorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MultiSelectorProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "keys"), + 2: .standard(proto: "next_steps"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.keys) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.nextSteps) }() + default: break } - if !storagesAreEqual {return false} } + } + + public func traverse(visitor: inout V) throws { + if !self.keys.isEmpty { + try visitor.visitRepeatedStringField(value: self.keys, fieldNumber: 1) + } + if !self.nextSteps.isEmpty { + try visitor.visitRepeatedStringField(value: self.nextSteps, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: MultiSelectorProto, rhs: MultiSelectorProto) -> Bool { + if lhs.keys != rhs.keys {return false} + if lhs.nextSteps != rhs.nextSteps {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCombatMismatchData.MismatchState: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObCombatMismatchData.protoMessageName + ".MismatchState" +extension MusicSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".MusicSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "ob_uint32_1"), - 3: .standard(proto: "ob_uint32_2"), - 4: .standard(proto: "ob_float"), + 1: .standard(proto: "map_music_day_override"), + 2: .standard(proto: "map_music_night_override"), + 3: .standard(proto: "encounter_music_day_override"), + 4: .standard(proto: "encounter_music_night_override"), + 5: .standard(proto: "map_music_meloetta_buddy_override"), + 6: .standard(proto: "start_times_enabled"), + 7: .standard(proto: "encounter_raid_music_day_override"), + 8: .standard(proto: "encounter_raid_music_night_override"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -243234,106 +253298,120 @@ extension ObCombatMismatchData.MismatchState: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint321) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obUint322) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.mapMusicDayOverride) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.mapMusicNightOverride) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.encounterMusicDayOverride) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.encounterMusicNightOverride) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.mapMusicMeloettaBuddyOverride) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.startTimesEnabled) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.encounterRaidMusicDayOverride) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.encounterRaidMusicNightOverride) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .noType { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + if !self.mapMusicDayOverride.isEmpty { + try visitor.visitSingularStringField(value: self.mapMusicDayOverride, fieldNumber: 1) + } + if !self.mapMusicNightOverride.isEmpty { + try visitor.visitSingularStringField(value: self.mapMusicNightOverride, fieldNumber: 2) + } + if !self.encounterMusicDayOverride.isEmpty { + try visitor.visitSingularStringField(value: self.encounterMusicDayOverride, fieldNumber: 3) + } + if !self.encounterMusicNightOverride.isEmpty { + try visitor.visitSingularStringField(value: self.encounterMusicNightOverride, fieldNumber: 4) } - if self.obUint321 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint321, fieldNumber: 2) + if !self.mapMusicMeloettaBuddyOverride.isEmpty { + try visitor.visitSingularStringField(value: self.mapMusicMeloettaBuddyOverride, fieldNumber: 5) } - if self.obUint322 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint322, fieldNumber: 3) + if self.startTimesEnabled != false { + try visitor.visitSingularBoolField(value: self.startTimesEnabled, fieldNumber: 6) } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 4) + if !self.encounterRaidMusicDayOverride.isEmpty { + try visitor.visitSingularStringField(value: self.encounterRaidMusicDayOverride, fieldNumber: 7) + } + if !self.encounterRaidMusicNightOverride.isEmpty { + try visitor.visitSingularStringField(value: self.encounterRaidMusicNightOverride, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCombatMismatchData.MismatchState, rhs: ObCombatMismatchData.MismatchState) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.obUint321 != rhs.obUint321 {return false} - if lhs.obUint322 != rhs.obUint322 {return false} - if lhs.obFloat != rhs.obFloat {return false} + public static func ==(lhs: MusicSettingsProto, rhs: MusicSettingsProto) -> Bool { + if lhs.mapMusicDayOverride != rhs.mapMusicDayOverride {return false} + if lhs.mapMusicNightOverride != rhs.mapMusicNightOverride {return false} + if lhs.encounterMusicDayOverride != rhs.encounterMusicDayOverride {return false} + if lhs.encounterMusicNightOverride != rhs.encounterMusicNightOverride {return false} + if lhs.mapMusicMeloettaBuddyOverride != rhs.mapMusicMeloettaBuddyOverride {return false} + if lhs.startTimesEnabled != rhs.startTimesEnabled {return false} + if lhs.encounterRaidMusicDayOverride != rhs.encounterRaidMusicDayOverride {return false} + if lhs.encounterRaidMusicNightOverride != rhs.encounterRaidMusicNightOverride {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCombatMismatchData.MismatchState.TypeEnum: SwiftProtobuf._ProtoNameProviding { +extension NativeAdUnitSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NativeAdUnitSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_TYPE"), - 1: .same(proto: "OPEN_COMBAT_SESSION"), - 2: .same(proto: "OPEN_COMBAT_SESSION_RESPONSE"), - 3: .same(proto: "UPDATE_COMBAT"), - 4: .same(proto: "UPDATE_COMBAT_RESPONSE"), - 5: .same(proto: "QUIT_COMBAT"), - 6: .same(proto: "QUIT_COMBAT_RESPONSE"), - 7: .same(proto: "WEB_SOCKET_RESPONSE"), - 8: .same(proto: "RPC_ERROR"), - 9: .same(proto: "GET_COMBAT_PLAYER_PROFILE"), - 10: .same(proto: "GET_COMBAT_PLAYER_PROFILE_RESPONSE"), - 11: .same(proto: "GENERATE_COMBAT_CHALLENGE_ID"), - 12: .same(proto: "GENERATE_COMBAT_CHALLENGE_ID_RESPONSE"), - 13: .same(proto: "CREATE_COMBAT_CHALLENGE"), - 14: .same(proto: "CREATE_COMBAT_CHALLENGE_RESPONSE"), - 15: .same(proto: "OPEN_COMBAT_CHALLENGE"), - 16: .same(proto: "OPEN_COMBAT_CHALLENGE_RESPONSE"), - 17: .same(proto: "OPEN_NPC_COMBAT_SESSION"), - 18: .same(proto: "OPEN_NPC_COMBAT_SESSION_RESPONSE"), - 19: .same(proto: "ACCEPT_COMBAT_CHALLENGE"), - 20: .same(proto: "ACCEPT_COMBAT_CHALLENGE_RESPONSE"), - 21: .same(proto: "SUBMIT_COMBAT_CHALLENGE_POKEMONS"), - 22: .same(proto: "SUBMIT_COMBAT_CHALLENGE_POKEMONS_RESPONSE"), - 23: .same(proto: "DECLINE_COMBAT_CHALLENGE"), - 24: .same(proto: "DECLINE_COMBAT_CHALLENGE_RESPONSE"), - 25: .same(proto: "CANCEL_COMBAT_CHALLENGE"), - 26: .same(proto: "CANCEL_COMBAT_CHALLENGE_RESPONSE"), - 27: .same(proto: "GET_COMBAT_CHALLENGE"), - 28: .same(proto: "GET_COMBAT_CHALLENGE_RESPONSE"), - 29: .same(proto: "VS_SEEKER_START_MATCHMAKING"), - 30: .same(proto: "VS_SEEKER_START_MATCHMAKING_RESPONSE"), - 31: .same(proto: "GET_MATCHMAKING_STATUS"), - 32: .same(proto: "GET_MATCHMAKING_STATUS_RESPONSE"), - 33: .same(proto: "CANCEL_MATCHMAKING"), - 34: .same(proto: "CANCEL_MATCHMAKING_RESPONSE"), - 35: .same(proto: "SUBMIT_COMBAT_ACTION"), - 36: .same(proto: "INVASION_OPEN_COMBAT_SESSION"), - 37: .same(proto: "INVASION_OPEN_COMBAT_SESSION_RESPONSE"), - 38: .same(proto: "INVASION_BATTLE_UPDATE"), - 39: .same(proto: "INVASION_BATTLE_UPDATE_RESPONSE"), - 40: .same(proto: "COMBAT_ID_MISMATCH"), - 41: .same(proto: "LEAGUE_ID_MISMATCH"), - 42: .same(proto: "CHALLENGE_ID_MISMATCH"), - 43: .same(proto: "PROGRESS_TOKEN"), - 44: .same(proto: "ON_APPLICATION_FOCUS"), - 45: .same(proto: "ON_APPLICATION_PAUSE"), - 46: .same(proto: "ON_APPLICATION_QUIT"), - 47: .same(proto: "EXCEPTION_CAUGHT"), - 48: .same(proto: "PUB_SUB_MESSAGE"), - 49: .same(proto: "PLAYER_END_COMBAT"), - 50: .same(proto: "COMBAT_SYNC_SERVER"), - 51: .same(proto: "COMBAT_SYNC_SERVER_RESPONSE"), - 52: .same(proto: "COMBAT_SPECIAL_MOVE_PLAYER"), + 1: .standard(proto: "ios_ad_unit_id"), + 2: .standard(proto: "android_ad_unit_id"), + 3: .standard(proto: "other_ad_unit_id"), + 4: .standard(proto: "ad_template_id"), ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.iosAdUnitID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.androidAdUnitID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.otherAdUnitID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.adTemplateID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.iosAdUnitID.isEmpty { + try visitor.visitSingularStringField(value: self.iosAdUnitID, fieldNumber: 1) + } + if !self.androidAdUnitID.isEmpty { + try visitor.visitSingularStringField(value: self.androidAdUnitID, fieldNumber: 2) + } + if !self.otherAdUnitID.isEmpty { + try visitor.visitSingularStringField(value: self.otherAdUnitID, fieldNumber: 3) + } + if !self.adTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.adTemplateID, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NativeAdUnitSettingsProto, rhs: NativeAdUnitSettingsProto) -> Bool { + if lhs.iosAdUnitID != rhs.iosAdUnitID {return false} + if lhs.androidAdUnitID != rhs.androidAdUnitID {return false} + if lhs.otherAdUnitID != rhs.otherAdUnitID {return false} + if lhs.adTemplateID != rhs.adTemplateID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension ObCombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObCombatProto" +extension NearbyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NearbyPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), - 3: .standard(proto: "ob_int64"), - 4: .standard(proto: "ob_repeated_list"), + 1: .standard(proto: "pokedex_number"), + 2: .standard(proto: "distance_meters"), + 3: .standard(proto: "encounter_id"), + 4: .standard(proto: "fort_id"), + 5: .standard(proto: "fort_image_url"), + 6: .standard(proto: "pokemon_display"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -243342,46 +253420,59 @@ extension ObCombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() - case 4: try { try decoder.decodeRepeatedStringField(value: &self.obRepeatedList) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.pokedexNumber) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.distanceMeters) }() + case 3: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.fortImageURL) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.pokedexNumber != 0 { + try visitor.visitSingularInt32Field(value: self.pokedexNumber, fieldNumber: 1) + } + if self.distanceMeters != 0 { + try visitor.visitSingularFloatField(value: self.distanceMeters, fieldNumber: 2) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 3) } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 3) + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 4) } - if !self.obRepeatedList.isEmpty { - try visitor.visitRepeatedStringField(value: self.obRepeatedList, fieldNumber: 4) + if !self.fortImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.fortImageURL, fieldNumber: 5) } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCombatProto, rhs: ObCombatProto) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt64 != rhs.obInt64 {return false} - if lhs.obRepeatedList != rhs.obRepeatedList {return false} + public static func ==(lhs: NearbyPokemonProto, rhs: NearbyPokemonProto) -> Bool { + if lhs.pokedexNumber != rhs.pokedexNumber {return false} + if lhs.distanceMeters != rhs.distanceMeters {return false} + if lhs.encounterID != rhs.encounterID {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.fortImageURL != rhs.fortImageURL {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCombatSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObCombatSettings" +extension NearbyPokemonSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NearbyPokemonSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .same(proto: "enabled"), + 3: .standard(proto: "pokemon_priorities"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -243390,38 +253481,34 @@ extension ObCombatSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonPriorities) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 2) + if !self.pokemonPriorities.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemonPriorities, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCombatSettings, rhs: ObCombatSettings) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: NearbyPokemonSettings, rhs: NearbyPokemonSettings) -> Bool { + if lhs.pokemonPriorities != rhs.pokemonPriorities {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCombatSettings1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObCombatSettings1" +extension NearbyPokemonSettings.PokemonPriority: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = NearbyPokemonSettings.protoMessageName + ".PokemonPriority" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool_1"), - 2: .standard(proto: "ob_bool_2"), - 3: .standard(proto: "ob_bool_3"), - 4: .standard(proto: "ob_bool_4"), + 1: .standard(proto: "pokemon_id"), + 2: .same(proto: "form"), + 3: .same(proto: "costume"), + 4: .same(proto: "priority"), + 5: .standard(proto: "max_duplicates"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -243430,166 +253517,189 @@ extension ObCombatSettings1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool3) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obBool4) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.form) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.costume) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.priority) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxDuplicates) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 1) + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) + } + if self.form != .unset { + try visitor.visitSingularEnumField(value: self.form, fieldNumber: 2) } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 2) + if self.costume != .unset { + try visitor.visitSingularEnumField(value: self.costume, fieldNumber: 3) } - if self.obBool3 != false { - try visitor.visitSingularBoolField(value: self.obBool3, fieldNumber: 3) + if self.priority != 0 { + try visitor.visitSingularInt32Field(value: self.priority, fieldNumber: 4) } - if self.obBool4 != false { - try visitor.visitSingularBoolField(value: self.obBool4, fieldNumber: 4) + if self.maxDuplicates != 0 { + try visitor.visitSingularInt32Field(value: self.maxDuplicates, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCombatSettings1, rhs: ObCombatSettings1) -> Bool { - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.obBool3 != rhs.obBool3 {return false} - if lhs.obBool4 != rhs.obBool4 {return false} + public static func ==(lhs: NearbyPokemonSettings.PokemonPriority, rhs: NearbyPokemonSettings.PokemonPriority) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.form != rhs.form {return false} + if lhs.costume != rhs.costume {return false} + if lhs.priority != rhs.priority {return false} + if lhs.maxDuplicates != rhs.maxDuplicates {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCombatSpecialmovePlayerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObCombatSpecialmovePlayerData" +extension NetworkTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NetworkTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_list_int32_1"), - 3: .standard(proto: "ob_list_int32_2"), - 4: .standard(proto: "ob_commun_data_1"), - 5: .standard(proto: "ob_int32_2"), - 6: .standard(proto: "ob_commun_data_2"), - 7: .standard(proto: "ob_int32_3"), + 1: .standard(proto: "network_type"), ] - fileprivate class _StorageClass { - var _obInt321: Int32 = 0 - var _obListInt321: [Int32] = [] - var _obListInt322: [Int32] = [] - var _obCommunData1: ObCommunCombatDataProto? = nil - var _obInt322: Int32 = 0 - var _obCommunData2: ObCommunCombatDataProto? = nil - var _obInt323: Int32 = 0 + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.networkType) }() + default: break + } + } + } - static let defaultInstance = _StorageClass() + public func traverse(visitor: inout V) throws { + if !self.networkType.isEmpty { + try visitor.visitSingularStringField(value: self.networkType, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } - private init() {} + public static func ==(lhs: NetworkTelemetry, rhs: NetworkTelemetry) -> Bool { + if lhs.networkType != rhs.networkType {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} - init(copying source: _StorageClass) { - _obInt321 = source._obInt321 - _obListInt321 = source._obListInt321 - _obListInt322 = source._obListInt322 - _obCommunData1 = source._obCommunData1 - _obInt322 = source._obInt322 - _obCommunData2 = source._obCommunData2 - _obInt323 = source._obInt323 +extension NeutralAvatarBadgeRewardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NeutralAvatarBadgeRewardOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "avatar_customization_proto"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.avatarCustomizationProto) }() + default: break + } } } - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - return _storage + if !self.avatarCustomizationProto.isEmpty { + try visitor.visitRepeatedMessageField(value: self.avatarCustomizationProto, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NeutralAvatarBadgeRewardOutProto, rhs: NeutralAvatarBadgeRewardOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.avatarCustomizationProto != rhs.avatarCustomizationProto {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true } +} + +extension NeutralAvatarBadgeRewardOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + ] +} + +extension NeutralAvatarBadgeRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NeutralAvatarBadgeRewardProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &_storage._obListInt321) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &_storage._obListInt322) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._obCommunData1) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt322) }() - case 6: try { try decoder.decodeSingularMessageField(value: &_storage._obCommunData2) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt323) }() - default: break - } - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NeutralAvatarBadgeRewardProto, rhs: NeutralAvatarBadgeRewardProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension NeutralAvatarItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NeutralAvatarItemProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "neutral_avatar_article_template_id"), + 2: .standard(proto: "gained_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 1) - } - if !_storage._obListInt321.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._obListInt321, fieldNumber: 2) - } - if !_storage._obListInt322.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._obListInt322, fieldNumber: 3) - } - try { if let v = _storage._obCommunData1 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if _storage._obInt322 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt322, fieldNumber: 5) - } - try { if let v = _storage._obCommunData2 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - if _storage._obInt323 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt323, fieldNumber: 7) + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.neutralAvatarArticleTemplateID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.gainedMs) }() + default: break } } - try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCombatSpecialmovePlayerData, rhs: ObCombatSpecialmovePlayerData) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obListInt321 != rhs_storage._obListInt321 {return false} - if _storage._obListInt322 != rhs_storage._obListInt322 {return false} - if _storage._obCommunData1 != rhs_storage._obCommunData1 {return false} - if _storage._obInt322 != rhs_storage._obInt322 {return false} - if _storage._obCommunData2 != rhs_storage._obCommunData2 {return false} - if _storage._obInt323 != rhs_storage._obInt323 {return false} - return true - } - if !storagesAreEqual {return false} + public func traverse(visitor: inout V) throws { + if !self.neutralAvatarArticleTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.neutralAvatarArticleTemplateID, fieldNumber: 1) + } + if self.gainedMs != 0 { + try visitor.visitSingularInt64Field(value: self.gainedMs, fieldNumber: 2) } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NeutralAvatarItemProto, rhs: NeutralAvatarItemProto) -> Bool { + if lhs.neutralAvatarArticleTemplateID != rhs.neutralAvatarArticleTemplateID {return false} + if lhs.gainedMs != rhs.gainedMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCommunCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObCommunCombatChallengeDataProto" +extension NeutralAvatarSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NeutralAvatarSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "ob_int32_list_1"), - 3: .standard(proto: "ob_int32_list_2"), - 4: .same(proto: "state"), - 5: .standard(proto: "ob_uint32_1"), - 6: .standard(proto: "ob_uint32_2"), + 1: .standard(proto: "neutral_avatar_settings_enabled"), + 2: .standard(proto: "neutral_avatar_settings_sentinel_value"), + 10: .standard(proto: "default_neutral_avatar"), + 11: .standard(proto: "female_neutral_avatar"), + 12: .standard(proto: "male_neutral_avatar"), + 100: .standard(proto: "neutral_avatar_legacy_mapping_version"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -243598,63 +253708,86 @@ extension ObCommunCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.obInt32List1) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.obInt32List2) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.state) }() - case 5: try { try decoder.decodeSingularUInt32Field(value: &self.obUint321) }() - case 6: try { try decoder.decodeSingularUInt32Field(value: &self.obUint322) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.neutralAvatarSettingsEnabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.neutralAvatarSettingsSentinelValue) }() + case 10: try { try decoder.decodeSingularMessageField(value: &self._defaultNeutralAvatar) }() + case 11: try { try decoder.decodeSingularMessageField(value: &self._femaleNeutralAvatar) }() + case 12: try { try decoder.decodeSingularMessageField(value: &self._maleNeutralAvatar) }() + case 100: try { try decoder.decodeSingularInt32Field(value: &self.neutralAvatarLegacyMappingVersion) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) - } - if !self.obInt32List1.isEmpty { - try visitor.visitPackedInt32Field(value: self.obInt32List1, fieldNumber: 2) - } - if !self.obInt32List2.isEmpty { - try visitor.visitPackedInt32Field(value: self.obInt32List2, fieldNumber: 3) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.neutralAvatarSettingsEnabled != false { + try visitor.visitSingularBoolField(value: self.neutralAvatarSettingsEnabled, fieldNumber: 1) } - if self.state != .unset { - try visitor.visitSingularEnumField(value: self.state, fieldNumber: 4) + if self.neutralAvatarSettingsSentinelValue != 0 { + try visitor.visitSingularInt32Field(value: self.neutralAvatarSettingsSentinelValue, fieldNumber: 2) } - if self.obUint321 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint321, fieldNumber: 5) + try { if let v = self._defaultNeutralAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 10) + } }() + try { if let v = self._femaleNeutralAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 11) + } }() + try { if let v = self._maleNeutralAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + } }() + if self.neutralAvatarLegacyMappingVersion != 0 { + try visitor.visitSingularInt32Field(value: self.neutralAvatarLegacyMappingVersion, fieldNumber: 100) } - if self.obUint322 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint322, fieldNumber: 6) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NeutralAvatarSettingsProto, rhs: NeutralAvatarSettingsProto) -> Bool { + if lhs.neutralAvatarSettingsEnabled != rhs.neutralAvatarSettingsEnabled {return false} + if lhs.neutralAvatarSettingsSentinelValue != rhs.neutralAvatarSettingsSentinelValue {return false} + if lhs._defaultNeutralAvatar != rhs._defaultNeutralAvatar {return false} + if lhs._femaleNeutralAvatar != rhs._femaleNeutralAvatar {return false} + if lhs._maleNeutralAvatar != rhs._maleNeutralAvatar {return false} + if lhs.neutralAvatarLegacyMappingVersion != rhs.neutralAvatarLegacyMappingVersion {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension NewInboxMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewInboxMessage" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { } + } + + public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCommunCombatChallengeDataProto, rhs: ObCommunCombatChallengeDataProto) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.obInt32List1 != rhs.obInt32List1 {return false} - if lhs.obInt32List2 != rhs.obInt32List2 {return false} - if lhs.state != rhs.state {return false} - if lhs.obUint321 != rhs.obUint321 {return false} - if lhs.obUint322 != rhs.obUint322 {return false} + public static func ==(lhs: NewInboxMessage, rhs: NewInboxMessage) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCommunCombatDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObCommunCombatDataProto" +extension NewsArticleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewsArticleProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "ob_int32_1"), - 3: .standard(proto: "ob_int32_2"), - 4: .standard(proto: "ob_int32_3"), - 5: .standard(proto: "ob_int32_4"), - 6: .standard(proto: "ob_int32_5"), - 7: .standard(proto: "ob_int32_6"), - 8: .standard(proto: "ob_float"), - 9: .same(proto: "move"), + 1: .same(proto: "id"), + 2: .standard(proto: "image_url"), + 3: .standard(proto: "header_key"), + 4: .standard(proto: "subheader_key"), + 5: .standard(proto: "main_text_key"), + 6: .same(proto: "timestamp"), + 7: .same(proto: "template"), + 8: .same(proto: "enabled"), + 9: .standard(proto: "article_read"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -243663,84 +253796,78 @@ extension ObCommunCombatDataProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obInt324) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.obInt325) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.obInt326) }() - case 8: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() - case 9: try { try decoder.decodeSingularEnumField(value: &self.move) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.imageURL) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.headerKey) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.subheaderKey) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.mainTextKey) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.timestamp) }() + case 7: try { try decoder.decodeSingularEnumField(value: &self.template) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.articleRead) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + if !self.id.isEmpty { + try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 2) + if !self.imageURL.isEmpty { + try visitor.visitRepeatedStringField(value: self.imageURL, fieldNumber: 2) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 3) + if !self.headerKey.isEmpty { + try visitor.visitSingularStringField(value: self.headerKey, fieldNumber: 3) } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 4) + if !self.subheaderKey.isEmpty { + try visitor.visitSingularStringField(value: self.subheaderKey, fieldNumber: 4) } - if self.obInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt324, fieldNumber: 5) + if !self.mainTextKey.isEmpty { + try visitor.visitSingularStringField(value: self.mainTextKey, fieldNumber: 5) } - if self.obInt325 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt325, fieldNumber: 6) + if self.timestamp != 0 { + try visitor.visitSingularInt64Field(value: self.timestamp, fieldNumber: 6) } - if self.obInt326 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt326, fieldNumber: 7) + if self.template != .unset { + try visitor.visitSingularEnumField(value: self.template, fieldNumber: 7) } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 8) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 8) } - if self.move != .moveUnset { - try visitor.visitSingularEnumField(value: self.move, fieldNumber: 9) + if self.articleRead != false { + try visitor.visitSingularBoolField(value: self.articleRead, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCommunCombatDataProto, rhs: ObCommunCombatDataProto) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obInt324 != rhs.obInt324 {return false} - if lhs.obInt325 != rhs.obInt325 {return false} - if lhs.obInt326 != rhs.obInt326 {return false} - if lhs.obFloat != rhs.obFloat {return false} - if lhs.move != rhs.move {return false} + public static func ==(lhs: NewsArticleProto, rhs: NewsArticleProto) -> Bool { + if lhs.id != rhs.id {return false} + if lhs.imageURL != rhs.imageURL {return false} + if lhs.headerKey != rhs.headerKey {return false} + if lhs.subheaderKey != rhs.subheaderKey {return false} + if lhs.mainTextKey != rhs.mainTextKey {return false} + if lhs.timestamp != rhs.timestamp {return false} + if lhs.template != rhs.template {return false} + if lhs.enabled != rhs.enabled {return false} + if lhs.articleRead != rhs.articleRead {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCommunWebCombatStateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObCommunWebCombatStateProto" +extension NewsArticleProto.NewsTemplate: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_combat_state"), - 3: .same(proto: "player"), - 4: .standard(proto: "ob_commun_web_combat_data_2"), - 7: .standard(proto: "ob_uint32_1"), - 8: .standard(proto: "ob_int32"), - 9: .standard(proto: "ob_uint32_2"), - 10: .standard(proto: "ob_uint32_3"), - 11: .standard(proto: "ob_uint32_4"), - 12: .standard(proto: "ob_uint32_5"), - 13: .standard(proto: "ob_uint32_6"), - 14: .standard(proto: "ob_uint32_7"), - 15: .standard(proto: "ob_int32_2"), - 16: .standard(proto: "ob_bool"), - 17: .standard(proto: "ob_int32_3"), - 18: .standard(proto: "ob_uint32_8"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "DEFAULT_TEMPLATE"), + ] +} + +extension NewsFeedClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewsFeedClientSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "news_feed_polling_enabled"), + 2: .standard(proto: "news_feed_polling_rate_minutes"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -243749,108 +253876,137 @@ extension ObCommunWebCombatStateProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.obCombatState) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._player) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._obCommunWebCombatData2) }() - case 7: try { try decoder.decodeSingularUInt32Field(value: &self.obUint321) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 9: try { try decoder.decodeSingularUInt32Field(value: &self.obUint322) }() - case 10: try { try decoder.decodeSingularUInt32Field(value: &self.obUint323) }() - case 11: try { try decoder.decodeSingularUInt32Field(value: &self.obUint324) }() - case 12: try { try decoder.decodeSingularUInt32Field(value: &self.obUint325) }() - case 13: try { try decoder.decodeSingularUInt32Field(value: &self.obUint326) }() - case 14: try { try decoder.decodeSingularUInt32Field(value: &self.obUint327) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 16: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 17: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - case 18: try { try decoder.decodeSingularUInt32Field(value: &self.obUint328) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.newsFeedPollingEnabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.newsFeedPollingRateMinutes) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.obCombatState != .unset { - try visitor.visitSingularEnumField(value: self.obCombatState, fieldNumber: 1) - } - try { if let v = self._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._obCommunWebCombatData2 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.obUint321 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint321, fieldNumber: 7) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 8) + if self.newsFeedPollingEnabled != false { + try visitor.visitSingularBoolField(value: self.newsFeedPollingEnabled, fieldNumber: 1) } - if self.obUint322 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint322, fieldNumber: 9) + if self.newsFeedPollingRateMinutes != 0 { + try visitor.visitSingularInt32Field(value: self.newsFeedPollingRateMinutes, fieldNumber: 2) } - if self.obUint323 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint323, fieldNumber: 10) - } - if self.obUint324 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint324, fieldNumber: 11) - } - if self.obUint325 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint325, fieldNumber: 12) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NewsFeedClientSettingsProto, rhs: NewsFeedClientSettingsProto) -> Bool { + if lhs.newsFeedPollingEnabled != rhs.newsFeedPollingEnabled {return false} + if lhs.newsFeedPollingRateMinutes != rhs.newsFeedPollingRateMinutes {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension NewsGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewsGlobalSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "enable_news"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableNews) }() + default: break + } } - if self.obUint326 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint326, fieldNumber: 13) + } + + public func traverse(visitor: inout V) throws { + if self.enableNews != false { + try visitor.visitSingularBoolField(value: self.enableNews, fieldNumber: 1) } - if self.obUint327 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint327, fieldNumber: 14) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NewsGlobalSettingsProto, rhs: NewsGlobalSettingsProto) -> Bool { + if lhs.enableNews != rhs.enableNews {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension NewsPageTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewsPageTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "news_page_click_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.newsPageClickID) }() + default: break + } } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 15) + } + + public func traverse(visitor: inout V) throws { + if self.newsPageClickID != .undefinedNewsEvent { + try visitor.visitSingularEnumField(value: self.newsPageClickID, fieldNumber: 1) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 16) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NewsPageTelemetry, rhs: NewsPageTelemetry) -> Bool { + if lhs.newsPageClickID != rhs.newsPageClickID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension NewsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "news_bundle_id"), + 2: .standard(proto: "exclusive_countries"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.newsBundleID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.exclusiveCountries) }() + default: break + } } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 17) + } + + public func traverse(visitor: inout V) throws { + if !self.newsBundleID.isEmpty { + try visitor.visitSingularStringField(value: self.newsBundleID, fieldNumber: 1) } - if self.obUint328 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint328, fieldNumber: 18) + if !self.exclusiveCountries.isEmpty { + try visitor.visitRepeatedStringField(value: self.exclusiveCountries, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCommunWebCombatStateProto, rhs: ObCommunWebCombatStateProto) -> Bool { - if lhs.obCombatState != rhs.obCombatState {return false} - if lhs._player != rhs._player {return false} - if lhs._obCommunWebCombatData2 != rhs._obCommunWebCombatData2 {return false} - if lhs.obUint321 != rhs.obUint321 {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint322 != rhs.obUint322 {return false} - if lhs.obUint323 != rhs.obUint323 {return false} - if lhs.obUint324 != rhs.obUint324 {return false} - if lhs.obUint325 != rhs.obUint325 {return false} - if lhs.obUint326 != rhs.obUint326 {return false} - if lhs.obUint327 != rhs.obUint327 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obBool != rhs.obBool {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obUint328 != rhs.obUint328 {return false} + public static func ==(lhs: NewsProto, rhs: NewsProto) -> Bool { + if lhs.newsBundleID != rhs.newsBundleID {return false} + if lhs.exclusiveCountries != rhs.exclusiveCountries {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCommunWebCombatStateProto.ObMaybePokemonData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObCommunWebCombatStateProto.protoMessageName + ".ObMaybePokemonData" +extension NewsSettingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewsSettingProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32_1"), - 2: .standard(proto: "ob_int32_2"), - 3: .standard(proto: "ob_int32_3"), - 4: .standard(proto: "ob_int32_4"), - 5: .standard(proto: "ob_int32_5"), + 1: .standard(proto: "news_protos"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -243859,85 +254015,115 @@ extension ObCommunWebCombatStateProto.ObMaybePokemonData: SwiftProtobuf.Message, // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt324) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obInt325) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.newsProtos) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 1) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 2) + if !self.newsProtos.isEmpty { + try visitor.visitRepeatedMessageField(value: self.newsProtos, fieldNumber: 1) } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NewsSettingProto, rhs: NewsSettingProto) -> Bool { + if lhs.newsProtos != rhs.newsProtos {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension NewsfeedMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewsfeedMetadata" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "created_time_ms"), + 2: .standard(proto: "expired_time_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.createdTimeMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.expiredTimeMs) }() + default: break + } } - if self.obInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt324, fieldNumber: 4) + } + + public func traverse(visitor: inout V) throws { + if self.createdTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.createdTimeMs, fieldNumber: 1) } - if self.obInt325 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt325, fieldNumber: 5) + if self.expiredTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.expiredTimeMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCommunWebCombatStateProto.ObMaybePokemonData, rhs: ObCommunWebCombatStateProto.ObMaybePokemonData) -> Bool { - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obInt324 != rhs.obInt324 {return false} - if lhs.obInt325 != rhs.obInt325 {return false} + public static func ==(lhs: NewsfeedMetadata, rhs: NewsfeedMetadata) -> Bool { + if lhs.createdTimeMs != rhs.createdTimeMs {return false} + if lhs.expiredTimeMs != rhs.expiredTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObCommunWebCombatStateProto.ObCommunWebCombatDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObCommunWebCombatStateProto.protoMessageName + ".ObCommunWebCombatDataProto" +extension NewsfeedPost: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewsfeedPost" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_active_pokemon"), - 2: .standard(proto: "ob_active_pokemon_list_1"), - 3: .standard(proto: "ob_active_pokemon_list_2"), - 4: .standard(proto: "ob_commun_combat_data_1"), - 5: .standard(proto: "ob_bool"), - 6: .standard(proto: "ob_int32_1"), - 7: .standard(proto: "ob_commun_combat_data_2"), - 8: .standard(proto: "ob_uint32"), - 9: .standard(proto: "ob_int32_2"), + 1: .same(proto: "title"), + 2: .standard(proto: "preview_text"), + 3: .standard(proto: "thumbnail_image_url"), + 4: .standard(proto: "newsfeed_channel"), + 5: .standard(proto: "post_content"), + 6: .standard(proto: "newsfeed_metadata"), + 7: .standard(proto: "key_value_pairs"), + 8: .standard(proto: "start_timestamp"), + 9: .standard(proto: "expiration_timestamp"), + 10: .standard(proto: "creation_timestamp"), + 11: .standard(proto: "priority_flag"), + 12: .standard(proto: "read_flag"), + 13: .standard(proto: "preview_metadata"), ] fileprivate class _StorageClass { - var _obActivePokemon: ObCommunWebCombatStateProto.ObMaybePokemonData? = nil - var _obActivePokemonList1: [ObCommunWebCombatStateProto.ObMaybePokemonData] = [] - var _obActivePokemonList2: [ObCommunWebCombatStateProto.ObMaybePokemonData] = [] - var _obCommunCombatData1: ObCommunCombatDataProto? = nil - var _obBool: Bool = false - var _obInt321: Int32 = 0 - var _obCommunCombatData2: ObCommunCombatDataProto? = nil - var _obUint32: UInt32 = 0 - var _obInt322: Int32 = 0 + var _title: String = String() + var _previewText: String = String() + var _thumbnailImageURL: String = String() + var _newsfeedChannel: [NewsfeedPost.NewsfeedChannel] = [] + var _postContent: String = String() + var _newsfeedMetadata: NewsfeedMetadata? = nil + var _keyValuePairs: Dictionary = [:] + var _startTimestamp: Int64 = 0 + var _expirationTimestamp: Int64 = 0 + var _creationTimestamp: Int64 = 0 + var _priorityFlag: Bool = false + var _readFlag: Bool = false + var _previewMetadata: NewsfeedPost.PreviewMetadata? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _obActivePokemon = source._obActivePokemon - _obActivePokemonList1 = source._obActivePokemonList1 - _obActivePokemonList2 = source._obActivePokemonList2 - _obCommunCombatData1 = source._obCommunCombatData1 - _obBool = source._obBool - _obInt321 = source._obInt321 - _obCommunCombatData2 = source._obCommunCombatData2 - _obUint32 = source._obUint32 - _obInt322 = source._obInt322 + _title = source._title + _previewText = source._previewText + _thumbnailImageURL = source._thumbnailImageURL + _newsfeedChannel = source._newsfeedChannel + _postContent = source._postContent + _newsfeedMetadata = source._newsfeedMetadata + _keyValuePairs = source._keyValuePairs + _startTimestamp = source._startTimestamp + _expirationTimestamp = source._expirationTimestamp + _creationTimestamp = source._creationTimestamp + _priorityFlag = source._priorityFlag + _readFlag = source._readFlag + _previewMetadata = source._previewMetadata } } @@ -243956,15 +254142,19 @@ extension ObCommunWebCombatStateProto.ObCommunWebCombatDataProto: SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._obActivePokemon) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &_storage._obActivePokemonList1) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &_storage._obActivePokemonList2) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._obCommunCombatData1) }() - case 5: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 7: try { try decoder.decodeSingularMessageField(value: &_storage._obCommunCombatData2) }() - case 8: try { try decoder.decodeSingularUInt32Field(value: &_storage._obUint32) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt322) }() + case 1: try { try decoder.decodeSingularStringField(value: &_storage._title) }() + case 2: try { try decoder.decodeSingularStringField(value: &_storage._previewText) }() + case 3: try { try decoder.decodeSingularStringField(value: &_storage._thumbnailImageURL) }() + case 4: try { try decoder.decodeRepeatedEnumField(value: &_storage._newsfeedChannel) }() + case 5: try { try decoder.decodeSingularStringField(value: &_storage._postContent) }() + case 6: try { try decoder.decodeSingularMessageField(value: &_storage._newsfeedMetadata) }() + case 7: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &_storage._keyValuePairs) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._startTimestamp) }() + case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._expirationTimestamp) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._creationTimestamp) }() + case 11: try { try decoder.decodeSingularBoolField(value: &_storage._priorityFlag) }() + case 12: try { try decoder.decodeSingularBoolField(value: &_storage._readFlag) }() + case 13: try { try decoder.decodeSingularMessageField(value: &_storage._previewMetadata) }() default: break } } @@ -243977,51 +254167,67 @@ extension ObCommunWebCombatStateProto.ObCommunWebCombatDataProto: SwiftProtobuf. // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._obActivePokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !_storage._obActivePokemonList1.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._obActivePokemonList1, fieldNumber: 2) + if !_storage._title.isEmpty { + try visitor.visitSingularStringField(value: _storage._title, fieldNumber: 1) } - if !_storage._obActivePokemonList2.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._obActivePokemonList2, fieldNumber: 3) + if !_storage._previewText.isEmpty { + try visitor.visitSingularStringField(value: _storage._previewText, fieldNumber: 2) } - try { if let v = _storage._obCommunCombatData1 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 5) + if !_storage._thumbnailImageURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._thumbnailImageURL, fieldNumber: 3) + } + if !_storage._newsfeedChannel.isEmpty { + try visitor.visitPackedEnumField(value: _storage._newsfeedChannel, fieldNumber: 4) } - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 6) + if !_storage._postContent.isEmpty { + try visitor.visitSingularStringField(value: _storage._postContent, fieldNumber: 5) } - try { if let v = _storage._obCommunCombatData2 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + try { if let v = _storage._newsfeedMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) } }() - if _storage._obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: _storage._obUint32, fieldNumber: 8) + if !_storage._keyValuePairs.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: _storage._keyValuePairs, fieldNumber: 7) + } + if _storage._startTimestamp != 0 { + try visitor.visitSingularInt64Field(value: _storage._startTimestamp, fieldNumber: 8) + } + if _storage._expirationTimestamp != 0 { + try visitor.visitSingularInt64Field(value: _storage._expirationTimestamp, fieldNumber: 9) + } + if _storage._creationTimestamp != 0 { + try visitor.visitSingularInt64Field(value: _storage._creationTimestamp, fieldNumber: 10) + } + if _storage._priorityFlag != false { + try visitor.visitSingularBoolField(value: _storage._priorityFlag, fieldNumber: 11) } - if _storage._obInt322 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt322, fieldNumber: 9) + if _storage._readFlag != false { + try visitor.visitSingularBoolField(value: _storage._readFlag, fieldNumber: 12) } + try { if let v = _storage._previewMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObCommunWebCombatStateProto.ObCommunWebCombatDataProto, rhs: ObCommunWebCombatStateProto.ObCommunWebCombatDataProto) -> Bool { + public static func ==(lhs: NewsfeedPost, rhs: NewsfeedPost) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._obActivePokemon != rhs_storage._obActivePokemon {return false} - if _storage._obActivePokemonList1 != rhs_storage._obActivePokemonList1 {return false} - if _storage._obActivePokemonList2 != rhs_storage._obActivePokemonList2 {return false} - if _storage._obCommunCombatData1 != rhs_storage._obCommunCombatData1 {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obCommunCombatData2 != rhs_storage._obCommunCombatData2 {return false} - if _storage._obUint32 != rhs_storage._obUint32 {return false} - if _storage._obInt322 != rhs_storage._obInt322 {return false} + if _storage._title != rhs_storage._title {return false} + if _storage._previewText != rhs_storage._previewText {return false} + if _storage._thumbnailImageURL != rhs_storage._thumbnailImageURL {return false} + if _storage._newsfeedChannel != rhs_storage._newsfeedChannel {return false} + if _storage._postContent != rhs_storage._postContent {return false} + if _storage._newsfeedMetadata != rhs_storage._newsfeedMetadata {return false} + if _storage._keyValuePairs != rhs_storage._keyValuePairs {return false} + if _storage._startTimestamp != rhs_storage._startTimestamp {return false} + if _storage._expirationTimestamp != rhs_storage._expirationTimestamp {return false} + if _storage._creationTimestamp != rhs_storage._creationTimestamp {return false} + if _storage._priorityFlag != rhs_storage._priorityFlag {return false} + if _storage._readFlag != rhs_storage._readFlag {return false} + if _storage._previewMetadata != rhs_storage._previewMetadata {return false} return true } if !storagesAreEqual {return false} @@ -244031,19 +254237,22 @@ extension ObCommunWebCombatStateProto.ObCommunWebCombatDataProto: SwiftProtobuf. } } -extension ObContestUnknownProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObContestUnknownProto2" +extension NewsfeedPost.NewsfeedChannel: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "NOT_DEFINED"), + 1: .same(proto: "NEWSFEED_MESSAGE_CHANNEL"), + 2: .same(proto: "IN_APP_MESSAGE_CHANNEL"), + ] +} + +extension NewsfeedPost.PreviewMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = NewsfeedPost.protoMessageName + ".PreviewMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .same(proto: "schedule"), - 3: .standard(proto: "ob_string_2"), - 4: .same(proto: "metric"), - 5: .standard(proto: "ob_uint64_1"), - 6: .standard(proto: "ob_uint64_2"), - 7: .standard(proto: "ob_double_1"), - 8: .standard(proto: "ob_double_2"), - 9: .standard(proto: "ob_uint64_3"), - 10: .standard(proto: "ob_entry"), + 1: .same(proto: "attributes"), + 2: .standard(proto: "player_hashed_id"), + 3: .standard(proto: "rendered_title"), + 4: .standard(proto: "rendered_preview_text"), + 5: .standard(proto: "rendered_post_content"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244052,85 +254261,52 @@ extension ObContestUnknownProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._schedule) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString2) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._metric) }() - case 5: try { try decoder.decodeSingularUInt64Field(value: &self.obUint641) }() - case 6: try { try decoder.decodeSingularUInt64Field(value: &self.obUint642) }() - case 7: try { try decoder.decodeSingularDoubleField(value: &self.obDouble1) }() - case 8: try { try decoder.decodeSingularDoubleField(value: &self.obDouble2) }() - case 9: try { try decoder.decodeSingularUInt64Field(value: &self.obUint643) }() - case 10: try { try decoder.decodeSingularEnumField(value: &self.obEntry) }() + case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.attributes) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.playerHashedID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.renderedTitle) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.renderedPreviewText) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.renderedPostContent) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) - } - try { if let v = self._schedule { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 3) - } - try { if let v = self._metric { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.obUint641 != 0 { - try visitor.visitSingularUInt64Field(value: self.obUint641, fieldNumber: 5) - } - if self.obUint642 != 0 { - try visitor.visitSingularUInt64Field(value: self.obUint642, fieldNumber: 6) + if !self.attributes.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.attributes, fieldNumber: 1) } - if self.obDouble1 != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble1, fieldNumber: 7) + if !self.playerHashedID.isEmpty { + try visitor.visitSingularStringField(value: self.playerHashedID, fieldNumber: 2) } - if self.obDouble2 != 0 { - try visitor.visitSingularDoubleField(value: self.obDouble2, fieldNumber: 8) + if !self.renderedTitle.isEmpty { + try visitor.visitSingularStringField(value: self.renderedTitle, fieldNumber: 3) } - if self.obUint643 != 0 { - try visitor.visitSingularUInt64Field(value: self.obUint643, fieldNumber: 9) + if !self.renderedPreviewText.isEmpty { + try visitor.visitSingularStringField(value: self.renderedPreviewText, fieldNumber: 4) } - if self.obEntry != .entryPointUnset { - try visitor.visitSingularEnumField(value: self.obEntry, fieldNumber: 10) + if !self.renderedPostContent.isEmpty { + try visitor.visitSingularStringField(value: self.renderedPostContent, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObContestUnknownProto2, rhs: ObContestUnknownProto2) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs._schedule != rhs._schedule {return false} - if lhs.obString2 != rhs.obString2 {return false} - if lhs._metric != rhs._metric {return false} - if lhs.obUint641 != rhs.obUint641 {return false} - if lhs.obUint642 != rhs.obUint642 {return false} - if lhs.obDouble1 != rhs.obDouble1 {return false} - if lhs.obDouble2 != rhs.obDouble2 {return false} - if lhs.obUint643 != rhs.obUint643 {return false} - if lhs.obEntry != rhs.obEntry {return false} + public static func ==(lhs: NewsfeedPost.PreviewMetadata, rhs: NewsfeedPost.PreviewMetadata) -> Bool { + if lhs.attributes != rhs.attributes {return false} + if lhs.playerHashedID != rhs.playerHashedID {return false} + if lhs.renderedTitle != rhs.renderedTitle {return false} + if lhs.renderedPreviewText != rhs.renderedPreviewText {return false} + if lhs.renderedPostContent != rhs.renderedPostContent {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObEggIncubators1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObEggIncubators1" +extension NewsfeedPostRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NewsfeedPostRecord" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_float_1"), - 2: .standard(proto: "ob_float_2"), - 3: .standard(proto: "ob_buddy_show_heart_type"), - 4: .standard(proto: "ob_buddy_emotion_leve"), - 5: .standard(proto: "ob_int64_1"), - 6: .standard(proto: "ob_int64_2"), - 7: .standard(proto: "ob_bool"), + 1: .standard(proto: "newsfeed_post"), + 2: .standard(proto: "newsfeed_post_id"), + 3: .standard(proto: "newsfeed_post_campaign_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244139,147 +254315,121 @@ extension ObEggIncubators1: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.obFloat1) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.obFloat2) }() - case 3: try { try decoder.decodeRepeatedEnumField(value: &self.obBuddyShowHeartType) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.obBuddyEmotionLeve) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.obInt641) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.obInt642) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._newsfeedPost) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.newsfeedPostID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.newsfeedPostCampaignID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obFloat1 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat1, fieldNumber: 1) - } - if self.obFloat2 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat2, fieldNumber: 2) - } - if !self.obBuddyShowHeartType.isEmpty { - try visitor.visitPackedEnumField(value: self.obBuddyShowHeartType, fieldNumber: 3) - } - if self.obBuddyEmotionLeve != .unset { - try visitor.visitSingularEnumField(value: self.obBuddyEmotionLeve, fieldNumber: 4) - } - if self.obInt641 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt641, fieldNumber: 5) - } - if self.obInt642 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt642, fieldNumber: 6) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._newsfeedPost { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.newsfeedPostID.isEmpty { + try visitor.visitSingularStringField(value: self.newsfeedPostID, fieldNumber: 2) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 7) + if self.newsfeedPostCampaignID != 0 { + try visitor.visitSingularInt64Field(value: self.newsfeedPostCampaignID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObEggIncubators1, rhs: ObEggIncubators1) -> Bool { - if lhs.obFloat1 != rhs.obFloat1 {return false} - if lhs.obFloat2 != rhs.obFloat2 {return false} - if lhs.obBuddyShowHeartType != rhs.obBuddyShowHeartType {return false} - if lhs.obBuddyEmotionLeve != rhs.obBuddyEmotionLeve {return false} - if lhs.obInt641 != rhs.obInt641 {return false} - if lhs.obInt642 != rhs.obInt642 {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: NewsfeedPostRecord, rhs: NewsfeedPostRecord) -> Bool { + if lhs._newsfeedPost != rhs._newsfeedPost {return false} + if lhs.newsfeedPostID != rhs.newsfeedPostID {return false} + if lhs.newsfeedPostCampaignID != rhs.newsfeedPostCampaignID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObEggIncubatorsInfos: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObEggIncubatorsInfos" +extension NiaAny: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NiaAny" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "ob_egg_incubator_status"), - 3: .standard(proto: "ob_egg_incubators_1"), - 4: .standard(proto: "ob_egg_incubator_state"), + 1: .standard(proto: "type_url"), + 2: .same(proto: "value"), ] - fileprivate class _StorageClass { - var _obEggIncubatorStatus: ObEggIncubatorsStatus? = nil - var _obEggIncubators1: ObEggIncubators1? = nil - var _obEggIncubatorState: ObEggIncubatorsState? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _obEggIncubatorStatus = source._obEggIncubatorStatus - _obEggIncubators1 = source._obEggIncubators1 - _obEggIncubatorState = source._obEggIncubatorState + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.typeURL) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.value) }() + default: break + } } } - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) + public func traverse(visitor: inout V) throws { + if !self.typeURL.isEmpty { + try visitor.visitSingularStringField(value: self.typeURL, fieldNumber: 1) } - return _storage + if !self.value.isEmpty { + try visitor.visitSingularBytesField(value: self.value, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) } + public static func ==(lhs: NiaAny, rhs: NiaAny) -> Bool { + if lhs.typeURL != rhs.typeURL {return false} + if lhs.value != rhs.value {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension NiaAuthAuthenticateAppleSignInRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NiaAuthAuthenticateAppleSignInRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "apple_id_token"), + 2: .standard(proto: "auth_code"), + ] + public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._obEggIncubatorStatus) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._obEggIncubators1) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._obEggIncubatorState) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBytesField(value: &self.appleIDToken) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.authCode) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._obEggIncubatorStatus { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._obEggIncubators1 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = _storage._obEggIncubatorState { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() + if !self.appleIDToken.isEmpty { + try visitor.visitSingularBytesField(value: self.appleIDToken, fieldNumber: 1) + } + if !self.authCode.isEmpty { + try visitor.visitSingularBytesField(value: self.authCode, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObEggIncubatorsInfos, rhs: ObEggIncubatorsInfos) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._obEggIncubatorStatus != rhs_storage._obEggIncubatorStatus {return false} - if _storage._obEggIncubators1 != rhs_storage._obEggIncubators1 {return false} - if _storage._obEggIncubatorState != rhs_storage._obEggIncubatorState {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: NiaAuthAuthenticateAppleSignInRequestProto, rhs: NiaAuthAuthenticateAppleSignInRequestProto) -> Bool { + if lhs.appleIDToken != rhs.appleIDToken {return false} + if lhs.authCode != rhs.authCode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObEggIncubatorsState: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObEggIncubatorsState" +extension NiaAuthAuthenticateAppleSignInResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NiaAuthAuthenticateAppleSignInResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_float"), - 2: .standard(proto: "ob_list_float"), - 3: .standard(proto: "ob_egg_status"), - 4: .standard(proto: "ob_egg_incubators_1"), + 1: .same(proto: "status"), + 2: .standard(proto: "nia_apple_auth_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244288,49 +254438,44 @@ extension ObEggIncubatorsState: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() - case 2: try { try decoder.decodeRepeatedFloatField(value: &self.obListFloat) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._obEggStatus) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._obEggIncubators1) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.niaAppleAuthToken) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.obListFloat.isEmpty { - try visitor.visitPackedFloatField(value: self.obListFloat, fieldNumber: 2) + if !self.niaAppleAuthToken.isEmpty { + try visitor.visitSingularBytesField(value: self.niaAppleAuthToken, fieldNumber: 2) } - try { if let v = self._obEggStatus { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = self._obEggIncubators1 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObEggIncubatorsState, rhs: ObEggIncubatorsState) -> Bool { - if lhs.obFloat != rhs.obFloat {return false} - if lhs.obListFloat != rhs.obListFloat {return false} - if lhs._obEggStatus != rhs._obEggStatus {return false} - if lhs._obEggIncubators1 != rhs._obEggIncubators1 {return false} + public static func ==(lhs: NiaAuthAuthenticateAppleSignInResponseProto, rhs: NiaAuthAuthenticateAppleSignInResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.niaAppleAuthToken != rhs.niaAppleAuthToken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObEggIncubatorsStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObEggIncubatorsStatus" +extension NiaAuthAuthenticateAppleSignInResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "INVALID_AUTH"), + 3: .same(proto: "SERVER_ERROR"), + ] +} + +extension NiaAuthValidateNiaAppleAuthTokenRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NiaAuthValidateNiaAppleAuthTokenRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_egg_status"), + 1: .standard(proto: "nia_apple_auth_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244339,34 +254484,33 @@ extension ObEggIncubatorsStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.obEggStatus) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.niaAppleAuthToken) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obEggStatus.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obEggStatus, fieldNumber: 1) + if !self.niaAppleAuthToken.isEmpty { + try visitor.visitSingularBytesField(value: self.niaAppleAuthToken, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObEggIncubatorsStatus, rhs: ObEggIncubatorsStatus) -> Bool { - if lhs.obEggStatus != rhs.obEggStatus {return false} + public static func ==(lhs: NiaAuthValidateNiaAppleAuthTokenRequestProto, rhs: NiaAuthValidateNiaAppleAuthTokenRequestProto) -> Bool { + if lhs.niaAppleAuthToken != rhs.niaAppleAuthToken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObEggStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObEggStatus" +extension NiaAuthValidateNiaAppleAuthTokenResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NiaAuthValidateNiaAppleAuthTokenResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .standard(proto: "ob_float_1"), - 3: .standard(proto: "ob_float_2"), - 4: .standard(proto: "ob_type"), - 5: .standard(proto: "ob_float_3"), + 2: .standard(proto: "apple_user_id"), + 3: .standard(proto: "apple_email"), + 4: .standard(proto: "apple_client_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244376,10 +254520,9 @@ extension ObEggStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.obFloat1) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.obFloat2) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.obType) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.obFloat3) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.appleUserID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.appleEmail) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.appleClientID) }() default: break } } @@ -244389,55 +254532,74 @@ extension ObEggStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if self.obFloat1 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat1, fieldNumber: 2) - } - if self.obFloat2 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat2, fieldNumber: 3) + if !self.appleUserID.isEmpty { + try visitor.visitSingularStringField(value: self.appleUserID, fieldNumber: 2) } - if self.obType != .unknown { - try visitor.visitSingularEnumField(value: self.obType, fieldNumber: 4) + if !self.appleEmail.isEmpty { + try visitor.visitSingularStringField(value: self.appleEmail, fieldNumber: 3) } - if self.obFloat3 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat3, fieldNumber: 5) + if !self.appleClientID.isEmpty { + try visitor.visitSingularStringField(value: self.appleClientID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObEggStatus, rhs: ObEggStatus) -> Bool { + public static func ==(lhs: NiaAuthValidateNiaAppleAuthTokenResponseProto, rhs: NiaAuthValidateNiaAppleAuthTokenResponseProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.obFloat1 != rhs.obFloat1 {return false} - if lhs.obFloat2 != rhs.obFloat2 {return false} - if lhs.obType != rhs.obType {return false} - if lhs.obFloat3 != rhs.obFloat3 {return false} + if lhs.appleUserID != rhs.appleUserID {return false} + if lhs.appleEmail != rhs.appleEmail {return false} + if lhs.appleClientID != rhs.appleClientID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObEggStatus.Status: SwiftProtobuf._ProtoNameProviding { +extension NiaAuthValidateNiaAppleAuthTokenResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "HATCHING"), - 2: .same(proto: "NOT_HATCHING"), - 3: .same(proto: "HATCHED"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "INVALID_AUTH"), + 3: .same(proto: "EXPIRED_AUTH"), + 4: .same(proto: "SERVER_ERROR"), ] } -extension ObEggStatus.TypeEnum: SwiftProtobuf._ProtoNameProviding { +extension NiaIdMigrationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NiaIdMigrationSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 901: .same(proto: "UNLIMITED"), - 902: .same(proto: "BASIC"), - 903: .same(proto: "SUPER"), + 1: .standard(proto: "use_nia_account_id"), ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.useNiaAccountID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.useNiaAccountID != false { + try visitor.visitSingularBoolField(value: self.useNiaAccountID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: NiaIdMigrationSettingsProto, rhs: NiaIdMigrationSettingsProto) -> Bool { + if lhs.useNiaAccountID != rhs.useNiaAccountID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension ObEvoleField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObEvoleField" +extension NianticProfileTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NianticProfileTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_float_1"), - 2: .standard(proto: "ob_float_2"), + 1: .standard(proto: "niantic_profile_telemetry_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244446,47 +254608,39 @@ extension ObEvoleField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.obFloat1) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.obFloat2) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.nianticProfileTelemetryID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obFloat1 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat1, fieldNumber: 1) - } - if self.obFloat2 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat2, fieldNumber: 2) + if self.nianticProfileTelemetryID != .undefined { + try visitor.visitSingularEnumField(value: self.nianticProfileTelemetryID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObEvoleField, rhs: ObEvoleField) -> Bool { - if lhs.obFloat1 != rhs.obFloat1 {return false} - if lhs.obFloat2 != rhs.obFloat2 {return false} + public static func ==(lhs: NianticProfileTelemetry, rhs: NianticProfileTelemetry) -> Bool { + if lhs.nianticProfileTelemetryID != rhs.nianticProfileTelemetryID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObFieldMessageOrResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObFieldMessageOrResponseProto" +extension NianticProfileTelemetry.NianticProfileTelemetryIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNDEFINED"), + 1: .same(proto: "OPEN_MY_PROFILE"), + 2: .same(proto: "OPEN_FRIEND_PROFILE"), + ] +} + +extension NianticSharedLoginProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NianticSharedLoginProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .standard(proto: "ob_string_2"), - 3: .standard(proto: "ob_string_3"), - 4: .standard(proto: "ob_string_4"), - 5: .standard(proto: "ob_string_5"), - 6: .standard(proto: "ob_string_6"), - 7: .standard(proto: "ob_field_message_or_response_one_1"), - 8: .standard(proto: "ob_field_message_or_response_one_2"), - 9: .standard(proto: "ob_int64_1"), - 10: .standard(proto: "ob_int64_2"), - 11: .standard(proto: "ob_int64_3"), - 12: .standard(proto: "ob_int64_4"), - 13: .standard(proto: "ob_int64_5"), + 1: .same(proto: "token"), + 2: .standard(proto: "device_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244495,105 +254649,38 @@ extension ObFieldMessageOrResponseProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.obString2) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString3) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.obString4) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.obString5) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.obString6) }() - case 7: try { try decoder.decodeRepeatedMessageField(value: &self.obFieldMessageOrResponseOne1) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &self.obFieldMessageOrResponseOne2) }() - case 9: try { try decoder.decodeSingularInt64Field(value: &self.obInt641) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &self.obInt642) }() - case 11: try { try decoder.decodeSingularInt64Field(value: &self.obInt643) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &self.obInt644) }() - case 13: try { try decoder.decodeSingularInt64Field(value: &self.obInt645) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.token) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.deviceID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) - } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 2) - } - if !self.obString3.isEmpty { - try visitor.visitSingularStringField(value: self.obString3, fieldNumber: 3) - } - if !self.obString4.isEmpty { - try visitor.visitSingularStringField(value: self.obString4, fieldNumber: 4) - } - if !self.obString5.isEmpty { - try visitor.visitSingularStringField(value: self.obString5, fieldNumber: 5) - } - if !self.obString6.isEmpty { - try visitor.visitSingularStringField(value: self.obString6, fieldNumber: 6) - } - if !self.obFieldMessageOrResponseOne1.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obFieldMessageOrResponseOne1, fieldNumber: 7) - } - if !self.obFieldMessageOrResponseOne2.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obFieldMessageOrResponseOne2, fieldNumber: 8) - } - if self.obInt641 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt641, fieldNumber: 9) - } - if self.obInt642 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt642, fieldNumber: 10) - } - if self.obInt643 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt643, fieldNumber: 11) - } - if self.obInt644 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt644, fieldNumber: 12) + if !self.token.isEmpty { + try visitor.visitSingularBytesField(value: self.token, fieldNumber: 1) } - if self.obInt645 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt645, fieldNumber: 13) + if !self.deviceID.isEmpty { + try visitor.visitSingularStringField(value: self.deviceID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObFieldMessageOrResponseProto, rhs: ObFieldMessageOrResponseProto) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} - if lhs.obString3 != rhs.obString3 {return false} - if lhs.obString4 != rhs.obString4 {return false} - if lhs.obString5 != rhs.obString5 {return false} - if lhs.obString6 != rhs.obString6 {return false} - if lhs.obFieldMessageOrResponseOne1 != rhs.obFieldMessageOrResponseOne1 {return false} - if lhs.obFieldMessageOrResponseOne2 != rhs.obFieldMessageOrResponseOne2 {return false} - if lhs.obInt641 != rhs.obInt641 {return false} - if lhs.obInt642 != rhs.obInt642 {return false} - if lhs.obInt643 != rhs.obInt643 {return false} - if lhs.obInt644 != rhs.obInt644 {return false} - if lhs.obInt645 != rhs.obInt645 {return false} + public static func ==(lhs: NianticSharedLoginProto, rhs: NianticSharedLoginProto) -> Bool { + if lhs.token != rhs.token {return false} + if lhs.deviceID != rhs.deviceID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObFieldMessageOrResponseProtoOne: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObFieldMessageOrResponseProtoOne" +extension NianticToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NianticToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_uint64"), - 2: .standard(proto: "ob_int32_1"), - 3: .standard(proto: "ob_int32_2"), - 4: .standard(proto: "ob_float"), - 5: .standard(proto: "ob_int32_3"), - 6: .standard(proto: "ob_int32_4"), - 7: .standard(proto: "ob_int32_5"), - 8: .standard(proto: "ob_int32_6"), - 9: .standard(proto: "pokemon_display"), - 10: .standard(proto: "ob_int32_7"), - 11: .standard(proto: "ob_int32_8"), - 12: .standard(proto: "ob_int32_9"), - 13: .standard(proto: "ob_int32_10"), - 14: .standard(proto: "ob_int32_11"), - 15: .standard(proto: "ob_string"), - 16: .same(proto: "pokeball"), + 1: .same(proto: "token"), + 4: .standard(proto: "token_v2"), + 2: .standard(proto: "expiration_time"), + 3: .same(proto: "iv"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244602,110 +254689,47 @@ extension ObFieldMessageOrResponseProtoOne: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.obUint64) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.obInt324) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.obInt325) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.obInt326) }() - case 9: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &self.obInt327) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &self.obInt328) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &self.obInt329) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &self.obInt3210) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &self.obInt3211) }() - case 15: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 16: try { try decoder.decodeSingularEnumField(value: &self.pokeball) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.token) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTime) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.iv) }() + case 4: try { try decoder.decodeSingularBytesField(value: &self.tokenV2) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.obUint64 != 0 { - try visitor.visitSingularUInt64Field(value: self.obUint64, fieldNumber: 1) - } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 2) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 3) - } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 4) - } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 5) - } - if self.obInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt324, fieldNumber: 6) - } - if self.obInt325 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt325, fieldNumber: 7) - } - if self.obInt326 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt326, fieldNumber: 8) - } - try { if let v = self._pokemonDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() - if self.obInt327 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt327, fieldNumber: 10) - } - if self.obInt328 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt328, fieldNumber: 11) - } - if self.obInt329 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt329, fieldNumber: 12) - } - if self.obInt3210 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt3210, fieldNumber: 13) + if !self.token.isEmpty { + try visitor.visitSingularBytesField(value: self.token, fieldNumber: 1) } - if self.obInt3211 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt3211, fieldNumber: 14) + if self.expirationTime != 0 { + try visitor.visitSingularInt64Field(value: self.expirationTime, fieldNumber: 2) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 15) + if !self.iv.isEmpty { + try visitor.visitSingularBytesField(value: self.iv, fieldNumber: 3) } - if self.pokeball != .unknown { - try visitor.visitSingularEnumField(value: self.pokeball, fieldNumber: 16) + if !self.tokenV2.isEmpty { + try visitor.visitSingularBytesField(value: self.tokenV2, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObFieldMessageOrResponseProtoOne, rhs: ObFieldMessageOrResponseProtoOne) -> Bool { - if lhs.obUint64 != rhs.obUint64 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obFloat != rhs.obFloat {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obInt324 != rhs.obInt324 {return false} - if lhs.obInt325 != rhs.obInt325 {return false} - if lhs.obInt326 != rhs.obInt326 {return false} - if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} - if lhs.obInt327 != rhs.obInt327 {return false} - if lhs.obInt328 != rhs.obInt328 {return false} - if lhs.obInt329 != rhs.obInt329 {return false} - if lhs.obInt3210 != rhs.obInt3210 {return false} - if lhs.obInt3211 != rhs.obInt3211 {return false} - if lhs.obString != rhs.obString {return false} - if lhs.pokeball != rhs.pokeball {return false} + public static func ==(lhs: NianticToken, rhs: NianticToken) -> Bool { + if lhs.token != rhs.token {return false} + if lhs.tokenV2 != rhs.tokenV2 {return false} + if lhs.expirationTime != rhs.expirationTime {return false} + if lhs.iv != rhs.iv {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObFieldMessageOrResponseProtoTwo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObFieldMessageOrResponseProtoTwo" +extension NianticTokenRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NianticTokenRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_field_message_or_response"), - 2: .standard(proto: "ob_combat_mismatch_data"), + 1: .standard(proto: "auth_id"), + 2: .standard(proto: "inner_message"), + 3: .same(proto: "options"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244714,8 +254738,9 @@ extension ObFieldMessageOrResponseProtoTwo: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._obFieldMessageOrResponse) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obCombatMismatchData) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.authID) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.innerMessage) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._options) }() default: break } } @@ -244726,28 +254751,31 @@ extension ObFieldMessageOrResponseProtoTwo: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._obFieldMessageOrResponse { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if !self.obCombatMismatchData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obCombatMismatchData, fieldNumber: 2) + if !self.authID.isEmpty { + try visitor.visitSingularStringField(value: self.authID, fieldNumber: 1) + } + if !self.innerMessage.isEmpty { + try visitor.visitSingularBytesField(value: self.innerMessage, fieldNumber: 2) } + try { if let v = self._options { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObFieldMessageOrResponseProtoTwo, rhs: ObFieldMessageOrResponseProtoTwo) -> Bool { - if lhs._obFieldMessageOrResponse != rhs._obFieldMessageOrResponse {return false} - if lhs.obCombatMismatchData != rhs.obCombatMismatchData {return false} + public static func ==(lhs: NianticTokenRequest, rhs: NianticTokenRequest) -> Bool { + if lhs.authID != rhs.authID {return false} + if lhs.innerMessage != rhs.innerMessage {return false} + if lhs._options != rhs._options {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObFormProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObFormProto" +extension NianticTokenRequest.SessionOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = NianticTokenRequest.protoMessageName + ".SessionOptions" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool"), - 2: .same(proto: "form"), + 1: .standard(proto: "prevent_account_creation"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244756,37 +254784,30 @@ extension ObFormProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.form) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.preventAccountCreation) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 1) - } - if self.form != .unset { - try visitor.visitSingularEnumField(value: self.form, fieldNumber: 2) + if self.preventAccountCreation != false { + try visitor.visitSingularBoolField(value: self.preventAccountCreation, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObFormProto, rhs: ObFormProto) -> Bool { - if lhs.obBool != rhs.obBool {return false} - if lhs.form != rhs.form {return false} + public static func ==(lhs: NianticTokenRequest.SessionOptions, rhs: NianticTokenRequest.SessionOptions) -> Bool { + if lhs.preventAccountCreation != rhs.preventAccountCreation {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObFortModesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObFortModesProto" +extension NicknamePokemonOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NicknamePokemonOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .standard(proto: "ob_type"), - 3: .standard(proto: "ob_mode"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244795,87 +254816,81 @@ extension ObFortModesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.obType) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.obMode) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) - } - if self.obType != .pokestop { - try visitor.visitSingularEnumField(value: self.obType, fieldNumber: 2) - } - if self.obMode != .click { - try visitor.visitSingularEnumField(value: self.obMode, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObFortModesProto, rhs: ObFortModesProto) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.obType != rhs.obType {return false} - if lhs.obMode != rhs.obMode {return false} + public static func ==(lhs: NicknamePokemonOutProto, rhs: NicknamePokemonOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObFortModesProto.Mode: SwiftProtobuf._ProtoNameProviding { +extension NicknamePokemonOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CLICK"), - 1: .same(proto: "SPIN"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_NICKNAME"), + 3: .same(proto: "ERROR_POKEMON_NOT_FOUND"), + 4: .same(proto: "ERROR_POKEMON_IS_EGG"), + 5: .same(proto: "ERROR_FILTERED_NICKNAME"), + 6: .same(proto: "ERROR_EXCEEDED_CHANGE_LIMIT"), ] } -extension ObFortModesProto.TypeEnum: SwiftProtobuf._ProtoNameProviding { +extension NicknamePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NicknamePokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "POKESTOP"), - 1: .same(proto: "GYM"), + 1: .standard(proto: "pokemon_id"), + 2: .same(proto: "nickname"), ] -} - -extension ObMegaEvolvePokemon1Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObMegaEvolvePokemon1Proto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.nickname) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 1) + } + if !self.nickname.isEmpty { + try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObMegaEvolvePokemon1Proto, rhs: ObMegaEvolvePokemon1Proto) -> Bool { + public static func ==(lhs: NicknamePokemonProto, rhs: NicknamePokemonProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.nickname != rhs.nickname {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObMegaEvolvePokemon1Proto.ObMode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "POKEMON_DETAILS"), - 2: .same(proto: "RAID_LOBBY"), - 3: .same(proto: "GYM_BATTLE_LOBBY"), - 4: .same(proto: "NPC_COMBAT_LOBBY"), - 5: .same(proto: "PLAYER_COMBAT_LOBBY"), - ] -} - -extension ObMegaEvolvePokemonProtoField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObMegaEvolvePokemonProtoField" +extension NicknamePokemonTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NicknamePokemonTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_field_1"), - 2: .standard(proto: "ob_field_2"), - 3: .standard(proto: "ob_field_int32_1"), - 4: .standard(proto: "ob_field_int32_2"), + 1: .same(proto: "pokemon"), + 2: .same(proto: "nickname"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244884,10 +254899,8 @@ extension ObMegaEvolvePokemonProtoField: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._obField1) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._obField2) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obFieldInt321) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obFieldInt322) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.nickname) }() default: break } } @@ -244898,36 +254911,33 @@ extension ObMegaEvolvePokemonProtoField: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._obField1 { + try { if let v = self._pokemon { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - try { if let v = self._obField2 { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.obFieldInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obFieldInt321, fieldNumber: 3) - } - if self.obFieldInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obFieldInt322, fieldNumber: 4) + if !self.nickname.isEmpty { + try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObMegaEvolvePokemonProtoField, rhs: ObMegaEvolvePokemonProtoField) -> Bool { - if lhs._obField1 != rhs._obField1 {return false} - if lhs._obField2 != rhs._obField2 {return false} - if lhs.obFieldInt321 != rhs.obFieldInt321 {return false} - if lhs.obFieldInt322 != rhs.obFieldInt322 {return false} + public static func ==(lhs: NicknamePokemonTelemetry, rhs: NicknamePokemonTelemetry) -> Bool { + if lhs._pokemon != rhs._pokemon {return false} + if lhs.nickname != rhs.nickname {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObMegaEvolvePokemonProtoField.ObField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObMegaEvolvePokemonProtoField.protoMessageName + ".ObField" +extension NonCombatMoveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NonCombatMoveSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_field_int32_1"), - 2: .standard(proto: "ob_field_int32_2"), + 1: .standard(proto: "unique_id"), + 2: .same(proto: "cost"), + 3: .standard(proto: "bonus_effect"), + 4: .standard(proto: "duration_ms"), + 5: .standard(proto: "bonus_type"), + 6: .standard(proto: "enable_multi_use"), + 7: .standard(proto: "extra_duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244936,36 +254946,71 @@ extension ObMegaEvolvePokemonProtoField.ObField: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obFieldInt321) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obFieldInt322) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.uniqueID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._cost) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._bonusEffect) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.durationMs) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.bonusType) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.enableMultiUse) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.extraDurationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obFieldInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obFieldInt321, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.uniqueID != .moveUnset { + try visitor.visitSingularEnumField(value: self.uniqueID, fieldNumber: 1) + } + try { if let v = self._cost { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._bonusEffect { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.durationMs != 0 { + try visitor.visitSingularInt64Field(value: self.durationMs, fieldNumber: 4) + } + if self.bonusType != .playerBonusUnset { + try visitor.visitSingularEnumField(value: self.bonusType, fieldNumber: 5) } - if self.obFieldInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obFieldInt322, fieldNumber: 2) + if self.enableMultiUse != false { + try visitor.visitSingularBoolField(value: self.enableMultiUse, fieldNumber: 6) + } + if self.extraDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.extraDurationMs, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObMegaEvolvePokemonProtoField.ObField, rhs: ObMegaEvolvePokemonProtoField.ObField) -> Bool { - if lhs.obFieldInt321 != rhs.obFieldInt321 {return false} - if lhs.obFieldInt322 != rhs.obFieldInt322 {return false} + public static func ==(lhs: NonCombatMoveSettingsProto, rhs: NonCombatMoveSettingsProto) -> Bool { + if lhs.uniqueID != rhs.uniqueID {return false} + if lhs._cost != rhs._cost {return false} + if lhs._bonusEffect != rhs._bonusEffect {return false} + if lhs.durationMs != rhs.durationMs {return false} + if lhs.bonusType != rhs.bonusType {return false} + if lhs.enableMultiUse != rhs.enableMultiUse {return false} + if lhs.extraDurationMs != rhs.extraDurationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObMethodUpdatePostcardOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObMethodUpdatePostcardOutProto" +extension NotificationPermissionsTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NotificationPermissionsTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "ob_postcard_display"), + 1: .standard(proto: "system_settings_enabled"), + 2: .standard(proto: "events_offers_updates_email_enabled"), + 51: .standard(proto: "combine_research_updates_in_app_enabled"), + 52: .standard(proto: "nearby_raids_in_app_enabled"), + 53: .standard(proto: "pokemon_return_in_app_enabled"), + 54: .standard(proto: "opened_gift_in_app_enabled"), + 55: .standard(proto: "gift_received_in_app_enabled"), + 56: .standard(proto: "buddy_candies_in_app_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -244974,50 +255019,68 @@ extension ObMethodUpdatePostcardOutProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._obPostcardDisplay) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.systemSettingsEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.eventsOffersUpdatesEmailEnabled) }() + case 51: try { try decoder.decodeSingularBoolField(value: &self.combineResearchUpdatesInAppEnabled) }() + case 52: try { try decoder.decodeSingularBoolField(value: &self.nearbyRaidsInAppEnabled) }() + case 53: try { try decoder.decodeSingularBoolField(value: &self.pokemonReturnInAppEnabled) }() + case 54: try { try decoder.decodeSingularBoolField(value: &self.openedGiftInAppEnabled) }() + case 55: try { try decoder.decodeSingularBoolField(value: &self.giftReceivedInAppEnabled) }() + case 56: try { try decoder.decodeSingularBoolField(value: &self.buddyCandiesInAppEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.systemSettingsEnabled != false { + try visitor.visitSingularBoolField(value: self.systemSettingsEnabled, fieldNumber: 1) + } + if self.eventsOffersUpdatesEmailEnabled != false { + try visitor.visitSingularBoolField(value: self.eventsOffersUpdatesEmailEnabled, fieldNumber: 2) + } + if self.combineResearchUpdatesInAppEnabled != false { + try visitor.visitSingularBoolField(value: self.combineResearchUpdatesInAppEnabled, fieldNumber: 51) + } + if self.nearbyRaidsInAppEnabled != false { + try visitor.visitSingularBoolField(value: self.nearbyRaidsInAppEnabled, fieldNumber: 52) + } + if self.pokemonReturnInAppEnabled != false { + try visitor.visitSingularBoolField(value: self.pokemonReturnInAppEnabled, fieldNumber: 53) + } + if self.openedGiftInAppEnabled != false { + try visitor.visitSingularBoolField(value: self.openedGiftInAppEnabled, fieldNumber: 54) + } + if self.giftReceivedInAppEnabled != false { + try visitor.visitSingularBoolField(value: self.giftReceivedInAppEnabled, fieldNumber: 55) + } + if self.buddyCandiesInAppEnabled != false { + try visitor.visitSingularBoolField(value: self.buddyCandiesInAppEnabled, fieldNumber: 56) } - try { if let v = self._obPostcardDisplay { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObMethodUpdatePostcardOutProto, rhs: ObMethodUpdatePostcardOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._obPostcardDisplay != rhs._obPostcardDisplay {return false} + public static func ==(lhs: NotificationPermissionsTelemetry, rhs: NotificationPermissionsTelemetry) -> Bool { + if lhs.systemSettingsEnabled != rhs.systemSettingsEnabled {return false} + if lhs.eventsOffersUpdatesEmailEnabled != rhs.eventsOffersUpdatesEmailEnabled {return false} + if lhs.combineResearchUpdatesInAppEnabled != rhs.combineResearchUpdatesInAppEnabled {return false} + if lhs.nearbyRaidsInAppEnabled != rhs.nearbyRaidsInAppEnabled {return false} + if lhs.pokemonReturnInAppEnabled != rhs.pokemonReturnInAppEnabled {return false} + if lhs.openedGiftInAppEnabled != rhs.openedGiftInAppEnabled {return false} + if lhs.giftReceivedInAppEnabled != rhs.giftReceivedInAppEnabled {return false} + if lhs.buddyCandiesInAppEnabled != rhs.buddyCandiesInAppEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObMethodUpdatePostcardOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_POSTCARD_DOES_NOT_EXIST"), - 4: .same(proto: "ERROR_NOT_ENABLED"), - 5: .same(proto: "ERROR_RATE_LIMITED"), - ] -} - -extension ObNewGlobalSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting" +extension NotificationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NotificationSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool"), - 2: .standard(proto: "ob_int32"), + 1: .standard(proto: "pull_notifications"), + 2: .standard(proto: "show_notifications"), + 3: .standard(proto: "prompt_enable_push_notifications_interval_seconds"), + 4: .standard(proto: "prompt_enable_push_notifications_image_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245026,35 +255089,49 @@ extension ObNewGlobalSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.pullNotifications) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.showNotifications) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.promptEnablePushNotificationsIntervalSeconds) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.promptEnablePushNotificationsImageURL) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 1) + if self.pullNotifications != false { + try visitor.visitSingularBoolField(value: self.pullNotifications, fieldNumber: 1) + } + if self.showNotifications != false { + try visitor.visitSingularBoolField(value: self.showNotifications, fieldNumber: 2) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) + if self.promptEnablePushNotificationsIntervalSeconds != 0 { + try visitor.visitSingularInt32Field(value: self.promptEnablePushNotificationsIntervalSeconds, fieldNumber: 3) + } + if !self.promptEnablePushNotificationsImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.promptEnablePushNotificationsImageURL, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting, rhs: ObNewGlobalSetting) -> Bool { - if lhs.obBool != rhs.obBool {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: NotificationSettingsProto, rhs: NotificationSettingsProto) -> Bool { + if lhs.pullNotifications != rhs.pullNotifications {return false} + if lhs.showNotifications != rhs.showNotifications {return false} + if lhs.promptEnablePushNotificationsIntervalSeconds != rhs.promptEnablePushNotificationsIntervalSeconds {return false} + if lhs.promptEnablePushNotificationsImageURL != rhs.promptEnablePushNotificationsImageURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting10: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting10" +extension NpcEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcEncounterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 1: .standard(proto: "encounter_id"), + 2: .same(proto: "character"), + 3: .same(proto: "steps"), + 4: .standard(proto: "current_step"), + 5: .standard(proto: "map_character"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245063,32 +255140,54 @@ extension ObNewGlobalSetting10: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.character) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.steps) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.currentStep) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.mapCharacter) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if !self.encounterID.isEmpty { + try visitor.visitSingularStringField(value: self.encounterID, fieldNumber: 1) + } + if self.character != .characterUnset { + try visitor.visitSingularEnumField(value: self.character, fieldNumber: 2) + } + if !self.steps.isEmpty { + try visitor.visitRepeatedMessageField(value: self.steps, fieldNumber: 3) + } + if !self.currentStep.isEmpty { + try visitor.visitSingularStringField(value: self.currentStep, fieldNumber: 4) + } + if self.mapCharacter != .unset { + try visitor.visitSingularEnumField(value: self.mapCharacter, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting10, rhs: ObNewGlobalSetting10) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: NpcEncounterProto, rhs: NpcEncounterProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.character != rhs.character {return false} + if lhs.steps != rhs.steps {return false} + if lhs.currentStep != rhs.currentStep {return false} + if lhs.mapCharacter != rhs.mapCharacter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting13: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting13" +extension NpcEncounterProto.NpcEncounterStep: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = NpcEncounterProto.protoMessageName + ".NpcEncounterStep" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_enabled"), - 2: .standard(proto: "ob_int32_1"), - 3: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "step_id"), + 2: .same(proto: "dialog"), + 3: .same(proto: "event"), + 4: .standard(proto: "next_step"), + 5: .standard(proto: "npc_dialog"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245097,40 +255196,59 @@ extension ObNewGlobalSetting13: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.stepID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.dialog) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._event) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.nextStep) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.npcDialog) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obEnabled != false { - try visitor.visitSingularBoolField(value: self.obEnabled, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.stepID.isEmpty { + try visitor.visitSingularStringField(value: self.stepID, fieldNumber: 1) } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 2) + if !self.dialog.isEmpty { + try visitor.visitRepeatedMessageField(value: self.dialog, fieldNumber: 2) + } + try { if let v = self._event { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if !self.nextStep.isEmpty { + try visitor.visitRepeatedStringField(value: self.nextStep, fieldNumber: 4) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 3) + if !self.npcDialog.isEmpty { + try visitor.visitRepeatedMessageField(value: self.npcDialog, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting13, rhs: ObNewGlobalSetting13) -> Bool { - if lhs.obEnabled != rhs.obEnabled {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: NpcEncounterProto.NpcEncounterStep, rhs: NpcEncounterProto.NpcEncounterStep) -> Bool { + if lhs.stepID != rhs.stepID {return false} + if lhs.dialog != rhs.dialog {return false} + if lhs._event != rhs._event {return false} + if lhs.nextStep != rhs.nextStep {return false} + if lhs.npcDialog != rhs.npcDialog {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting14: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting14" +extension NpcEventProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcEventProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 2: .standard(proto: "cached_gift_exchange_entry"), + 3: .standard(proto: "cached_pokemon_exchange_entry"), + 4: .standard(proto: "yes_no_selector"), + 5: .standard(proto: "multi_selector"), + 6: .standard(proto: "tutorial_flag"), + 1: .same(proto: "event"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245139,40 +255257,133 @@ extension ObNewGlobalSetting14: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.event) }() + case 2: try { + var v: GiftExchangeEntryProto? + var hadOneofValue = false + if let current = self.state { + hadOneofValue = true + if case .cachedGiftExchangeEntry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.state = .cachedGiftExchangeEntry(v) + } + }() + case 3: try { + var v: PokemonExchangeEntryProto? + var hadOneofValue = false + if let current = self.state { + hadOneofValue = true + if case .cachedPokemonExchangeEntry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.state = .cachedPokemonExchangeEntry(v) + } + }() + case 4: try { + var v: YesNoSelectorProto? + var hadOneofValue = false + if let current = self.state { + hadOneofValue = true + if case .yesNoSelector(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.state = .yesNoSelector(v) + } + }() + case 5: try { + var v: MultiSelectorProto? + var hadOneofValue = false + if let current = self.state { + hadOneofValue = true + if case .multiSelector(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.state = .multiSelector(v) + } + }() + case 6: try { + var v: TutorialCompletion? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.state != nil {try decoder.handleConflictingOneOf()} + self.state = .tutorialFlag(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.event != .unset { + try visitor.visitSingularEnumField(value: self.event, fieldNumber: 1) + } + switch self.state { + case .cachedGiftExchangeEntry?: try { + guard case .cachedGiftExchangeEntry(let v)? = self.state else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .cachedPokemonExchangeEntry?: try { + guard case .cachedPokemonExchangeEntry(let v)? = self.state else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .yesNoSelector?: try { + guard case .yesNoSelector(let v)? = self.state else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .multiSelector?: try { + guard case .multiSelector(let v)? = self.state else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .tutorialFlag?: try { + guard case .tutorialFlag(let v)? = self.state else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 6) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting14, rhs: ObNewGlobalSetting14) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: NpcEventProto, rhs: NpcEventProto) -> Bool { + if lhs.state != rhs.state {return false} + if lhs.event != rhs.event {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting15: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting15" +extension NpcEventProto.Event: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "ob_bool"), - 4: .standard(proto: "ob_string"), - 5: .standard(proto: "ob_int32_1"), - 6: .standard(proto: "ob_bool_1"), - 7: .standard(proto: "ob_int32_2"), - 8: .standard(proto: "ob_int32_3"), - 9: .standard(proto: "ob_int32_4"), - 10: .standard(proto: "ob_int32_5"), - 11: .standard(proto: "ob_bool_2"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "TERMINATE_ENCOUNTER"), + 2: .same(proto: "GIFT_EXCHANGE"), + 3: .same(proto: "POKEMON_TRADE"), + 4: .same(proto: "DESPAWN_NPC"), + 5: .same(proto: "YES_NO_SELECT"), + 6: .same(proto: "MULTI_SELECT"), + 7: .same(proto: "SET_TUTORIAL_FLAG"), + ] +} + +extension NpcOpenGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcOpenGiftOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "loot"), + 3: .standard(proto: "current_step"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245181,80 +255392,57 @@ extension ObNewGlobalSetting15: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.obInt324) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &self.obInt325) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._loot) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.currentStep) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) - } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 3) - } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 4) - } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 5) - } - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 6) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 7) - } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 8) - } - if self.obInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt324, fieldNumber: 9) - } - if self.obInt325 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt325, fieldNumber: 10) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 11) + try { if let v = self._loot { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.currentStep.isEmpty { + try visitor.visitSingularStringField(value: self.currentStep, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting15, rhs: ObNewGlobalSetting15) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obBool != rhs.obBool {return false} - if lhs.obString != rhs.obString {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obInt324 != rhs.obInt324 {return false} - if lhs.obInt325 != rhs.obInt325 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} + public static func ==(lhs: NpcOpenGiftOutProto, rhs: NpcOpenGiftOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._loot != rhs._loot {return false} + if lhs.currentStep != rhs.currentStep {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting2" +extension NpcOpenGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_ENCOUNTER_NOT_FOUND"), + 4: .same(proto: "ERROR_GIFT_NOT_FOUND"), + 5: .same(proto: "ERROR_GIFT_ALREADY_OPENED"), + 6: .same(proto: "ERROR_PLAYER_BAG_FULL"), + ] +} + +extension NpcOpenGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcOpenGiftProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "convert_to_stardust"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245263,30 +255451,36 @@ extension ObNewGlobalSetting2: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.convertToStardust) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if !self.encounterID.isEmpty { + try visitor.visitSingularStringField(value: self.encounterID, fieldNumber: 1) + } + if self.convertToStardust != false { + try visitor.visitSingularBoolField(value: self.convertToStardust, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting2, rhs: ObNewGlobalSetting2) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: NpcOpenGiftProto, rhs: NpcOpenGiftProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.convertToStardust != rhs.convertToStardust {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting4: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting4" +extension NpcPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_enable"), + 1: .standard(proto: "pokemon_type"), + 2: .standard(proto: "pokemon_display"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245295,30 +255489,39 @@ extension ObNewGlobalSetting4: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obEnable) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonType) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obEnable != false { - try visitor.visitSingularBoolField(value: self.obEnable, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.pokemonType != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonType, fieldNumber: 1) } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting4, rhs: ObNewGlobalSetting4) -> Bool { - if lhs.obEnable != rhs.obEnable {return false} + public static func ==(lhs: NpcPokemonProto, rhs: NpcPokemonProto) -> Bool { + if lhs.pokemonType != rhs.pokemonType {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting5: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting5" +extension NpcRouteGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcRouteGiftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_repeated_stuff"), + 1: .standard(proto: "route_poi_details"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245327,31 +255530,34 @@ extension ObNewGlobalSetting5: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.obRepeatedStuff) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.routePoiDetails) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obRepeatedStuff.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obRepeatedStuff, fieldNumber: 1) + if !self.routePoiDetails.isEmpty { + try visitor.visitRepeatedMessageField(value: self.routePoiDetails, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting5, rhs: ObNewGlobalSetting5) -> Bool { - if lhs.obRepeatedStuff != rhs.obRepeatedStuff {return false} + public static func ==(lhs: NpcRouteGiftOutProto, rhs: NpcRouteGiftOutProto) -> Bool { + if lhs.routePoiDetails != rhs.routePoiDetails {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting5.ObMessage5: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObNewGlobalSetting5.protoMessageName + ".ObMessage5" +extension NpcRouteGiftOutProto.RouteFortDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = NpcRouteGiftOutProto.protoMessageName + ".RouteFortDetails" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .standard(proto: "ob_string_2"), + 1: .same(proto: "id"), + 2: .same(proto: "name"), + 3: .same(proto: "latitude"), + 4: .same(proto: "longitude"), + 5: .standard(proto: "image_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245360,35 +255566,50 @@ extension ObNewGlobalSetting5.ObMessage5: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.obString2) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) + if !self.id.isEmpty { + try visitor.visitSingularStringField(value: self.id, fieldNumber: 1) + } + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 2) + } + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 3) + } + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 4) } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 2) + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting5.ObMessage5, rhs: ObNewGlobalSetting5.ObMessage5) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} + public static func ==(lhs: NpcRouteGiftOutProto.RouteFortDetails, rhs: NpcRouteGiftOutProto.RouteFortDetails) -> Bool { + if lhs.id != rhs.id {return false} + if lhs.name != rhs.name {return false} + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.imageURL != rhs.imageURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting6: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting6" +extension NpcRouteGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcRouteGiftProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_enabled"), + 1: .standard(proto: "encounter_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245397,31 +255618,31 @@ extension ObNewGlobalSetting6: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obEnabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.encounterID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obEnabled != false { - try visitor.visitSingularBoolField(value: self.obEnabled, fieldNumber: 1) + if !self.encounterID.isEmpty { + try visitor.visitSingularStringField(value: self.encounterID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting6, rhs: ObNewGlobalSetting6) -> Bool { - if lhs.obEnabled != rhs.obEnabled {return false} + public static func ==(lhs: NpcRouteGiftProto, rhs: NpcRouteGiftProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting7: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting7" +extension NpcSendGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcSendGiftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_enabled"), - 2: .standard(proto: "ob_bool"), + 1: .same(proto: "result"), + 2: .standard(proto: "retrived_giftbox"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245430,35 +255651,51 @@ extension ObNewGlobalSetting7: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obEnabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._retrivedGiftbox) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obEnabled != false { - try visitor.visitSingularBoolField(value: self.obEnabled, fieldNumber: 1) - } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._retrivedGiftbox { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting7, rhs: ObNewGlobalSetting7) -> Bool { - if lhs.obEnabled != rhs.obEnabled {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: NpcSendGiftOutProto, rhs: NpcSendGiftOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._retrivedGiftbox != rhs._retrivedGiftbox {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting8: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting8" +extension NpcSendGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_GIFT_LIMIT"), + 4: .same(proto: "ERROR_PLAYER_HAS_NO_STICKERS"), + ] +} + +extension NpcSendGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcSendGiftProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "fort_id"), + 3: .standard(proto: "stickers_sent"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245467,30 +255704,41 @@ extension ObNewGlobalSetting8: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.stickersSent) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if !self.encounterID.isEmpty { + try visitor.visitSingularStringField(value: self.encounterID, fieldNumber: 1) + } + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) + } + if !self.stickersSent.isEmpty { + try visitor.visitRepeatedStringField(value: self.stickersSent, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting8, rhs: ObNewGlobalSetting8) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: NpcSendGiftProto, rhs: NpcSendGiftProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.stickersSent != rhs.stickersSent {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObNewGlobalSetting9: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObNewGlobalSetting9" +extension NpcUpdateStateOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcUpdateStateOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), + 1: .same(proto: "state"), + 2: .standard(proto: "current_step"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245499,30 +255747,45 @@ extension ObNewGlobalSetting9: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.state) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.currentStep) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.state != .unset { + try visitor.visitSingularEnumField(value: self.state, fieldNumber: 1) + } + if !self.currentStep.isEmpty { + try visitor.visitSingularStringField(value: self.currentStep, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObNewGlobalSetting9, rhs: ObNewGlobalSetting9) -> Bool { - if lhs.enabled != rhs.enabled {return false} + public static func ==(lhs: NpcUpdateStateOutProto, rhs: NpcUpdateStateOutProto) -> Bool { + if lhs.state != rhs.state {return false} + if lhs.currentStep != rhs.currentStep {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObPartyPlayProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObPartyPlayProto2" +extension NpcUpdateStateOutProto.State: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "NPC_NOT_FOUND"), + 3: .same(proto: "STEP_INVALID"), + ] +} + +extension NpcUpdateStateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".NpcUpdateStateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_map_1"), + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "set_current_step"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245531,30 +255794,35 @@ extension ObPartyPlayProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.obMap1) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.setCurrentStep) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obMap1.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.obMap1, fieldNumber: 1) + if !self.encounterID.isEmpty { + try visitor.visitSingularStringField(value: self.encounterID, fieldNumber: 1) + } + if !self.setCurrentStep.isEmpty { + try visitor.visitSingularStringField(value: self.setCurrentStep, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObPartyPlayProto2, rhs: ObPartyPlayProto2) -> Bool { - if lhs.obMap1 != rhs.obMap1 {return false} + public static func ==(lhs: NpcUpdateStateProto, rhs: NpcUpdateStateProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.setCurrentStep != rhs.setCurrentStep {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObPartyPlayProto3: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObPartyPlayProto3" +extension OAuthTokenRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OAuthTokenRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_map_3"), + 4: .standard(proto: "access_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245563,32 +255831,33 @@ extension ObPartyPlayProto3: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.obMap3) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.accessToken) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obMap3.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.obMap3, fieldNumber: 1) + if !self.accessToken.isEmpty { + try visitor.visitSingularStringField(value: self.accessToken, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObPartyPlayProto3, rhs: ObPartyPlayProto3) -> Bool { - if lhs.obMap3 != rhs.obMap3 {return false} + public static func ==(lhs: OAuthTokenRequest, rhs: OAuthTokenRequest) -> Bool { + if lhs.accessToken != rhs.accessToken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObPartyPlayQuest2Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObPartyPlayQuest2Proto" +extension OfferRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OfferRecord" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "quests"), - 3: .standard(proto: "ob_party_quest_out"), + 1: .standard(proto: "offer_id"), + 2: .standard(proto: "purchase_time_ms"), + 3: .standard(proto: "total_purchases"), + 4: .standard(proto: "associated_sku_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245597,46 +255866,45 @@ extension ObPartyPlayQuest2Proto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.quests) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._obPartyQuestOut) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.offerID) }() + case 2: try { try decoder.decodeRepeatedInt64Field(value: &self.purchaseTimeMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.totalPurchases) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.associatedSkuID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .partyQuestUnknown { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.offerID.isEmpty { + try visitor.visitSingularStringField(value: self.offerID, fieldNumber: 1) } - if !self.quests.isEmpty { - try visitor.visitRepeatedMessageField(value: self.quests, fieldNumber: 2) + if !self.purchaseTimeMs.isEmpty { + try visitor.visitPackedInt64Field(value: self.purchaseTimeMs, fieldNumber: 2) + } + if self.totalPurchases != 0 { + try visitor.visitSingularInt32Field(value: self.totalPurchases, fieldNumber: 3) + } + if !self.associatedSkuID.isEmpty { + try visitor.visitRepeatedStringField(value: self.associatedSkuID, fieldNumber: 4) } - try { if let v = self._obPartyQuestOut { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObPartyPlayQuest2Proto, rhs: ObPartyPlayQuest2Proto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.quests != rhs.quests {return false} - if lhs._obPartyQuestOut != rhs._obPartyQuestOut {return false} + public static func ==(lhs: OfferRecord, rhs: OfferRecord) -> Bool { + if lhs.offerID != rhs.offerID {return false} + if lhs.purchaseTimeMs != rhs.purchaseTimeMs {return false} + if lhs.totalPurchases != rhs.totalPurchases {return false} + if lhs.associatedSkuID != rhs.associatedSkuID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObPartyPlayQuestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObPartyPlayQuestOutProto" +extension OnApplicationFocusData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OnApplicationFocusData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "quest"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "ob_data_map"), + 1: .standard(proto: "has_focus"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245645,45 +255913,30 @@ extension ObPartyPlayQuestOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._quest) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.obDataMap) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.hasFocus_p) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._quest { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) - } - if !self.obDataMap.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.obDataMap, fieldNumber: 3) + if self.hasFocus_p != false { + try visitor.visitSingularBoolField(value: self.hasFocus_p, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObPartyPlayQuestOutProto, rhs: ObPartyPlayQuestOutProto) -> Bool { - if lhs._quest != rhs._quest {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obDataMap != rhs.obDataMap {return false} + public static func ==(lhs: OnApplicationFocusData, rhs: OnApplicationFocusData) -> Bool { + if lhs.hasFocus_p != rhs.hasFocus_p {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObPartyPlayQuestOutProto.ObQuestData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObPartyPlayQuestOutProto.protoMessageName + ".ObQuestData" +extension OnApplicationPauseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OnApplicationPauseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "ob_int32"), + 1: .standard(proto: "pause_status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245692,49 +255945,53 @@ extension ObPartyPlayQuestOutProto.ObQuestData: SwiftProtobuf.Message, SwiftProt // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.pauseStatus) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .playerUnknown { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) + if self.pauseStatus != false { + try visitor.visitSingularBoolField(value: self.pauseStatus, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObPartyPlayQuestOutProto.ObQuestData, rhs: ObPartyPlayQuestOutProto.ObQuestData) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: OnApplicationPauseData, rhs: OnApplicationPauseData) -> Bool { + if lhs.pauseStatus != rhs.pauseStatus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObPartyPlayQuestOutProto.ObQuestData.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PLAYER_UNKNOWN"), - 1: .same(proto: "PLAYER_WAITING_PARTY_QUEST_TO_START"), - 2: .same(proto: "PLAYER_ACTIVE"), - 3: .same(proto: "PLAYER_COMPLETED_PARTY_QUEST_AND_AWARDED"), - 4: .same(proto: "PLAYER_ABANDONED_PARTY_QUEST"), - ] +extension OnApplicationQuitData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OnApplicationQuitData" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: OnApplicationQuitData, rhs: OnApplicationQuitData) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension ObPartyPlayQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObPartyPlayQuestProto" +extension OnboardingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OnboardingSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .same(proto: "type"), - 3: .same(proto: "conditions"), - 4: .standard(proto: "ob_int32_1"), - 5: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "skip_avatar_customization"), + 2: .standard(proto: "disable_initial_ar_prompt"), + 3: .standard(proto: "ar_prompt_player_level"), + 4: .standard(proto: "adventure_sync_prompt_step"), + 5: .standard(proto: "adventure_sync_prompt_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245743,53 +256000,54 @@ extension ObPartyPlayQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.conditions) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.skipAvatarCustomization) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.disableInitialArPrompt) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.arPromptPlayerLevel) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.adventureSyncPromptStep) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.adventureSyncPromptLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.skipAvatarCustomization != false { + try visitor.visitSingularBoolField(value: self.skipAvatarCustomization, fieldNumber: 1) } - if self.type != .questUnset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) + if self.disableInitialArPrompt != false { + try visitor.visitSingularBoolField(value: self.disableInitialArPrompt, fieldNumber: 2) } - if !self.conditions.isEmpty { - try visitor.visitRepeatedMessageField(value: self.conditions, fieldNumber: 3) + if self.arPromptPlayerLevel != 0 { + try visitor.visitSingularUInt32Field(value: self.arPromptPlayerLevel, fieldNumber: 3) } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 4) + if self.adventureSyncPromptStep != 0 { + try visitor.visitSingularInt32Field(value: self.adventureSyncPromptStep, fieldNumber: 4) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 5) + if self.adventureSyncPromptLevel != 0 { + try visitor.visitSingularInt32Field(value: self.adventureSyncPromptLevel, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObPartyPlayQuestProto, rhs: ObPartyPlayQuestProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.type != rhs.type {return false} - if lhs.conditions != rhs.conditions {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: OnboardingSettingsProto, rhs: OnboardingSettingsProto) -> Bool { + if lhs.skipAvatarCustomization != rhs.skipAvatarCustomization {return false} + if lhs.disableInitialArPrompt != rhs.disableInitialArPrompt {return false} + if lhs.arPromptPlayerLevel != rhs.arPromptPlayerLevel {return false} + if lhs.adventureSyncPromptStep != rhs.adventureSyncPromptStep {return false} + if lhs.adventureSyncPromptLevel != rhs.adventureSyncPromptLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObPogoProtoUnknowProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObPogoProtoUnknowProto" +extension OnboardingTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OnboardingTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_data_enum"), - 2: .standard(proto: "ob_int64"), - 3: .standard(proto: "ob_string_1"), - 4: .standard(proto: "ob_string_2"), + 1: .standard(proto: "onboarding_path"), + 2: .standard(proto: "event_id"), + 3: .same(proto: "data"), + 4: .same(proto: "conversation"), + 5: .standard(proto: "ar_status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245798,46 +256056,53 @@ extension ObPogoProtoUnknowProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.obDataEnum) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.obString2) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.onboardingPath) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.eventID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.data) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.conversation) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.arStatus) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obDataEnum != .data0 { - try visitor.visitSingularEnumField(value: self.obDataEnum, fieldNumber: 1) + if self.onboardingPath != .v1 { + try visitor.visitSingularEnumField(value: self.onboardingPath, fieldNumber: 1) + } + if self.eventID != .tosAccepted { + try visitor.visitSingularEnumField(value: self.eventID, fieldNumber: 2) } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 2) + if self.data != 0 { + try visitor.visitSingularInt32Field(value: self.data, fieldNumber: 3) } - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 3) + if !self.conversation.isEmpty { + try visitor.visitSingularStringField(value: self.conversation, fieldNumber: 4) } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 4) + if self.arStatus != .unset { + try visitor.visitSingularEnumField(value: self.arStatus, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObPogoProtoUnknowProto, rhs: ObPogoProtoUnknowProto) -> Bool { - if lhs.obDataEnum != rhs.obDataEnum {return false} - if lhs.obInt64 != rhs.obInt64 {return false} - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} + public static func ==(lhs: OnboardingTelemetry, rhs: OnboardingTelemetry) -> Bool { + if lhs.onboardingPath != rhs.onboardingPath {return false} + if lhs.eventID != rhs.eventID {return false} + if lhs.data != rhs.data {return false} + if lhs.conversation != rhs.conversation {return false} + if lhs.arStatus != rhs.arStatus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObRaidClientSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObRaidClientSetting" +extension OnboardingV2SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OnboardingV2SettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "raid_level"), - 2: .standard(proto: "music_id"), + 1: .standard(proto: "enable_onboarding_v2"), + 2: .standard(proto: "pokedex_id"), + 3: .standard(proto: "onboarding_egg_pokemon"), + 4: .standard(proto: "egg_km_until_hatch"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245846,38 +256111,46 @@ extension ObRaidClientSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.raidLevel) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.musicID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableOnboardingV2) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.pokedexID) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.onboardingEggPokemon) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.eggKmUntilHatch) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.raidLevel != .unset { - try visitor.visitSingularEnumField(value: self.raidLevel, fieldNumber: 1) + if self.enableOnboardingV2 != false { + try visitor.visitSingularBoolField(value: self.enableOnboardingV2, fieldNumber: 1) + } + if !self.pokedexID.isEmpty { + try visitor.visitPackedEnumField(value: self.pokedexID, fieldNumber: 2) } - if !self.musicID.isEmpty { - try visitor.visitSingularStringField(value: self.musicID, fieldNumber: 2) + if self.onboardingEggPokemon != .missingno { + try visitor.visitSingularEnumField(value: self.onboardingEggPokemon, fieldNumber: 3) + } + if self.eggKmUntilHatch != 0 { + try visitor.visitSingularInt32Field(value: self.eggKmUntilHatch, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObRaidClientSetting, rhs: ObRaidClientSetting) -> Bool { - if lhs.raidLevel != rhs.raidLevel {return false} - if lhs.musicID != rhs.musicID {return false} + public static func ==(lhs: OnboardingV2SettingsProto, rhs: OnboardingV2SettingsProto) -> Bool { + if lhs.enableOnboardingV2 != rhs.enableOnboardingV2 {return false} + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs.onboardingEggPokemon != rhs.onboardingEggPokemon {return false} + if lhs.eggKmUntilHatch != rhs.eggKmUntilHatch {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObRaidClientSetting1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObRaidClientSetting1" +extension OneWaySharedFriendshipDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OneWaySharedFriendshipDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 24: .standard(proto: "battle_experiment"), - 25: .same(proto: "item"), - 26: .standard(proto: "trainer_ability"), + 1: .standard(proto: "giftbox_details"), + 2: .standard(proto: "open_trade_expire_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245886,46 +256159,36 @@ extension ObRaidClientSetting1: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 24: try { try decoder.decodeRepeatedEnumField(value: &self.battleExperiment) }() - case 25: try { try decoder.decodeRepeatedMessageField(value: &self.item) }() - case 26: try { try decoder.decodeRepeatedEnumField(value: &self.trainerAbility) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.giftboxDetails) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.openTradeExpireMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if !self.battleExperiment.isEmpty { - try visitor.visitPackedEnumField(value: self.battleExperiment, fieldNumber: 24) - } - if !self.item.isEmpty { - try visitor.visitRepeatedMessageField(value: self.item, fieldNumber: 25) + if !self.giftboxDetails.isEmpty { + try visitor.visitRepeatedMessageField(value: self.giftboxDetails, fieldNumber: 1) } - if !self.trainerAbility.isEmpty { - try visitor.visitPackedEnumField(value: self.trainerAbility, fieldNumber: 26) + if self.openTradeExpireMs != 0 { + try visitor.visitSingularInt64Field(value: self.openTradeExpireMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObRaidClientSetting1, rhs: ObRaidClientSetting1) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.battleExperiment != rhs.battleExperiment {return false} - if lhs.item != rhs.item {return false} - if lhs.trainerAbility != rhs.trainerAbility {return false} + public static func ==(lhs: OneWaySharedFriendshipDataProto, rhs: OneWaySharedFriendshipDataProto) -> Bool { + if lhs.giftboxDetails != rhs.giftboxDetails {return false} + if lhs.openTradeExpireMs != rhs.openTradeExpireMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObRouteCreationOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObRouteCreationOutProto" +extension OneofDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OneofDescriptorProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "route_creation"), + 1: .same(proto: "name"), + 2: .same(proto: "options"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -245934,8 +256197,8 @@ extension ObRouteCreationOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._routeCreation) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._options) }() default: break } } @@ -245946,88 +256209,49 @@ extension ObRouteCreationOutProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - try { if let v = self._routeCreation { + try { if let v = self._options { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObRouteCreationOutProto, rhs: ObRouteCreationOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._routeCreation != rhs._routeCreation {return false} + public static func ==(lhs: OneofDescriptorProto, rhs: OneofDescriptorProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs._options != rhs._options {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObRouteCreationOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_TOO_MANY_IN_PROGRESS"), - 4: .same(proto: "ERROR_MINOR"), - 5: .same(proto: "ERROR_LEVEL_TOO_LOW"), - 6: .same(proto: "ERROR_INVALID_START_ANCHOR"), - 7: .same(proto: "ERROR_CREATION_LIMIT"), - ] -} - -extension ObRoutesModesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObRoutesModesProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .same(proto: "mode"), - ] +extension OneofOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OneofOptions" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.mode) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) - } - if self.mode != .unknown { - try visitor.visitSingularEnumField(value: self.mode, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObRoutesModesProto, rhs: ObRoutesModesProto) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.mode != rhs.mode {return false} + public static func ==(lhs: OneofOptions, rhs: OneofOptions) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObRoutesModesProto.Mode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "USE"), - 2: .same(proto: "PAUSE"), - 3: .same(proto: "RESUME"), - ] -} - -extension ObSharedRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObSharedRouteProto" +extension OpenBuddyGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenBuddyGiftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 4: .same(proto: "pause"), - 2: .standard(proto: "shared_route"), + 1: .same(proto: "result"), + 2: .standard(proto: "buddy_gift"), + 4: .standard(proto: "observed_data"), + 5: .standard(proto: "shown_hearts"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246036,15 +256260,10 @@ extension ObSharedRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeSingularMessageField(value: &self._sharedRoute) }() - case 4: try { - var v: Bool? - try decoder.decodeSingularBoolField(value: &v) - if let v = v { - if self.status != nil {try decoder.handleConflictingOneOf()} - self.status = .pause(v) - } - }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._buddyGift) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.shownHearts) }() default: break } } @@ -246055,78 +256274,67 @@ extension ObSharedRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._sharedRoute { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._buddyGift { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if case .pause(let v)? = self.status { - try visitor.visitSingularBoolField(value: v, fieldNumber: 4) + try { if let v = self._observedData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() + if self.shownHearts != .buddyHeartUnset { + try visitor.visitSingularEnumField(value: self.shownHearts, fieldNumber: 5) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObSharedRouteProto, rhs: ObSharedRouteProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._sharedRoute != rhs._sharedRoute {return false} + public static func ==(lhs: OpenBuddyGiftOutProto, rhs: OpenBuddyGiftOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._buddyGift != rhs._buddyGift {return false} + if lhs._observedData != rhs._observedData {return false} + if lhs.shownHearts != rhs.shownHearts {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObSponsoredBalloon: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObSponsoredBalloon" +extension OpenBuddyGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .standard(proto: "ob_string_2"), - 3: .standard(proto: "ob_string_3"), - 4: .standard(proto: "ob_string_4"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "ERROR_BUDDY_NOT_VALID"), + 2: .same(proto: "SUCCESS_ADDED_LOOT_TO_INVENTORY"), + 3: .same(proto: "SUCCESS_ADDED_SOUVENIR_TO_COLLECTIONS"), + 4: .same(proto: "ERROR_BUDDY_HAS_NOT_PICKED_UP_ANY_SOUVENIRS"), + 5: .same(proto: "ERROR_INVENTORY_IS_FULL"), + 6: .same(proto: "ERROR_BUDDY_NOT_ON_MAP"), ] +} + +extension OpenBuddyGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenBuddyGiftProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.obString2) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString3) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.obString4) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) - } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 2) - } - if !self.obString3.isEmpty { - try visitor.visitSingularStringField(value: self.obString3, fieldNumber: 3) - } - if !self.obString4.isEmpty { - try visitor.visitSingularStringField(value: self.obString4, fieldNumber: 4) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObSponsoredBalloon, rhs: ObSponsoredBalloon) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} - if lhs.obString3 != rhs.obString3 {return false} - if lhs.obString4 != rhs.obString4 {return false} + public static func ==(lhs: OpenBuddyGiftProto, rhs: OpenBuddyGiftProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnkRoutesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnkRoutesProto" +extension OpenCampfireMapTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenCampfireMapTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "rewards"), + 1: .same(proto: "source"), + 2: .standard(proto: "is_standalone"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246135,50 +256343,49 @@ extension ObUnkRoutesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.rewards) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.source) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isStandalone) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.source != .unknown { + try visitor.visitSingularEnumField(value: self.source, fieldNumber: 1) } - if !self.rewards.isEmpty { - try visitor.visitRepeatedMessageField(value: self.rewards, fieldNumber: 2) + if self.isStandalone != false { + try visitor.visitSingularBoolField(value: self.isStandalone, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnkRoutesProto, rhs: ObUnkRoutesProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.rewards != rhs.rewards {return false} + public static func ==(lhs: OpenCampfireMapTelemetry, rhs: OpenCampfireMapTelemetry) -> Bool { + if lhs.source != rhs.source {return false} + if lhs.isStandalone != rhs.isStandalone {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnkRoutesProto.Status: SwiftProtobuf._ProtoNameProviding { +extension OpenCampfireMapTelemetry.SourcePage: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_NOT_FOUND"), - 3: .same(proto: "ERROR_ROUTE"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "MAP"), + 2: .same(proto: "NEARBY_RAIDS"), + 3: .same(proto: "GYM_APPROACH"), + 4: .same(proto: "RAID_APPROACH"), + 5: .same(proto: "CATCH_CARD"), + 6: .same(proto: "NEARBY_ROUTES"), ] } -extension ObUnknownOneOfProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnknownOneOfProto" +extension OpenCombatChallengeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenCombatChallengeData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "map_objects_update"), - 2: .standard(proto: "raid_lobby_player_count"), - 3: .standard(proto: "boot_raid_update"), - 4: .standard(proto: "party_play_proto"), - 5: .standard(proto: "party_update"), - 6: .standard(proto: "raid_participant_proto"), - 7: .standard(proto: "ob_int64"), + 1: .standard(proto: "rpc_id"), + 2: .same(proto: "type"), + 3: .standard(proto: "attacking_pokemon_indexes"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246187,143 +256394,41 @@ extension ObUnknownOneOfProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: ObUnknownOneOfProto.MapObjectsUpdateProto? - var hadOneofValue = false - if let current = self.update { - hadOneofValue = true - if case .mapObjectsUpdate(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.update = .mapObjectsUpdate(v) - } - }() - case 2: try { - var v: RaidLobbyPlayerCountProto? - var hadOneofValue = false - if let current = self.update { - hadOneofValue = true - if case .raidLobbyPlayerCount(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.update = .raidLobbyPlayerCount(v) - } - }() - case 3: try { - var v: ObUnknownOneOfProto.BootRaidUpdateProto? - var hadOneofValue = false - if let current = self.update { - hadOneofValue = true - if case .bootRaidUpdate(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.update = .bootRaidUpdate(v) - } - }() - case 4: try { - var v: PartyPlayProto? - var hadOneofValue = false - if let current = self.update { - hadOneofValue = true - if case .partyPlayProto(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.update = .partyPlayProto(v) - } - }() - case 5: try { - var v: ObUnknownOneOfProto.PartyUpdateProto? - var hadOneofValue = false - if let current = self.update { - hadOneofValue = true - if case .partyUpdate(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.update = .partyUpdate(v) - } - }() - case 6: try { - var v: RaidParticipantProto? - var hadOneofValue = false - if let current = self.update { - hadOneofValue = true - if case .raidParticipantProto(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.update = .raidParticipantProto(v) - } - }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.attackingPokemonIndexes) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.update { - case .mapObjectsUpdate?: try { - guard case .mapObjectsUpdate(let v)? = self.update else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .raidLobbyPlayerCount?: try { - guard case .raidLobbyPlayerCount(let v)? = self.update else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .bootRaidUpdate?: try { - guard case .bootRaidUpdate(let v)? = self.update else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .partyPlayProto?: try { - guard case .partyPlayProto(let v)? = self.update else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .partyUpdate?: try { - guard case .partyUpdate(let v)? = self.update else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case .raidParticipantProto?: try { - guard case .raidParticipantProto(let v)? = self.update else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - }() - case nil: break + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 7) + if !self.attackingPokemonIndexes.isEmpty { + try visitor.visitPackedInt32Field(value: self.attackingPokemonIndexes, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnknownOneOfProto, rhs: ObUnknownOneOfProto) -> Bool { - if lhs.update != rhs.update {return false} - if lhs.obInt64 != rhs.obInt64 {return false} + public static func ==(lhs: OpenCombatChallengeData, rhs: OpenCombatChallengeData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.type != rhs.type {return false} + if lhs.attackingPokemonIndexes != rhs.attackingPokemonIndexes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnknownOneOfProto.PartyUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObUnknownOneOfProto.protoMessageName + ".PartyUpdateProto" +extension OpenCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenCombatChallengeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "party_play_proto"), - 2: .same(proto: "location"), - 3: .same(proto: "zone"), - 4: .standard(proto: "other_proto_unk"), + 1: .same(proto: "result"), + 2: .same(proto: "challenge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246332,46 +256437,8 @@ extension ObUnknownOneOfProto.PartyUpdateProto: SwiftProtobuf.Message, SwiftProt // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: PartyPlayProto? - var hadOneofValue = false - if let current = self.update { - hadOneofValue = true - if case .partyPlayProto(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.update = .partyPlayProto(v) - } - }() - case 2: try { - var v: PartyPlayLocationProto? - var hadOneofValue = false - if let current = self.update { - hadOneofValue = true - if case .location(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.update = .location(v) - } - }() - case 3: try { - var v: ZoneProto? - var hadOneofValue = false - if let current = self.update { - hadOneofValue = true - if case .zone(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.update = .zone(v) - } - }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._otherProtoUnk) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break } } @@ -246382,91 +256449,50 @@ extension ObUnknownOneOfProto.PartyUpdateProto: SwiftProtobuf.Message, SwiftProt // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - switch self.update { - case .partyPlayProto?: try { - guard case .partyPlayProto(let v)? = self.update else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .location?: try { - guard case .location(let v)? = self.update else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .zone?: try { - guard case .zone(let v)? = self.update else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case nil: break + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._otherProtoUnk { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + try { if let v = self._challenge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnknownOneOfProto.PartyUpdateProto, rhs: ObUnknownOneOfProto.PartyUpdateProto) -> Bool { - if lhs.update != rhs.update {return false} - if lhs._otherProtoUnk != rhs._otherProtoUnk {return false} + public static func ==(lhs: OpenCombatChallengeOutProto, rhs: OpenCombatChallengeOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnknownOneOfProto.BootRaidUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObUnknownOneOfProto.protoMessageName + ".BootRaidUpdateProto" +extension OpenCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int64"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), + 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), + 4: .same(proto: "ERROR_POKEMON_NOT_IN_INVENTORY"), + 5: .same(proto: "ERROR_NOT_ELIGIBLE_LEAGUE"), + 6: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), + 8: .same(proto: "ERROR_ALREADY_TIMEDOUT"), + 9: .same(proto: "ERROR_ALREADY_CANCELLED"), + 10: .same(proto: "ERROR_FRIEND_NOT_FOUND"), + 11: .same(proto: "ERROR_FAILED_TO_SEND_NOTIFICATION"), + 12: .same(proto: "ERROR_ACCESS_DENIED"), + 13: .same(proto: "ERROR_INELIGIBLE_OPPONENT"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ObUnknownOneOfProto.BootRaidUpdateProto, rhs: ObUnknownOneOfProto.BootRaidUpdateProto) -> Bool { - if lhs.obInt64 != rhs.obInt64 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ObUnknownOneOfProto.MapObjectsUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObUnknownOneOfProto.protoMessageName + ".MapObjectsUpdateProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ObUnknownOneOfProto.MapObjectsUpdateProto, rhs: ObUnknownOneOfProto.MapObjectsUpdateProto) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension ObUnknownPartyObOneProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnknownPartyObOneProto" +extension OpenCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenCombatChallengeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 3: .standard(proto: "ob_string_2"), + 1: .same(proto: "type"), + 2: .standard(proto: "challenge_id"), + 3: .standard(proto: "combat_league_template_id"), + 4: .standard(proto: "opponent_player_id"), + 5: .standard(proto: "attacking_pokemon_id"), + 6: .standard(proto: "opponent_nia_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246475,36 +256501,58 @@ extension ObUnknownPartyObOneProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString2) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.opponentPlayerID) }() + case 5: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.opponentNiaID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + } + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 2) + } + if !self.combatLeagueTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 3) + } + if !self.opponentPlayerID.isEmpty { + try visitor.visitSingularStringField(value: self.opponentPlayerID, fieldNumber: 4) } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 3) + if !self.attackingPokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 5) + } + if !self.opponentNiaID.isEmpty { + try visitor.visitSingularStringField(value: self.opponentNiaID, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnknownPartyObOneProto, rhs: ObUnknownPartyObOneProto) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} + public static func ==(lhs: OpenCombatChallengeProto, rhs: OpenCombatChallengeProto) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.challengeID != rhs.challengeID {return false} + if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} + if lhs.opponentPlayerID != rhs.opponentPlayerID {return false} + if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} + if lhs.opponentNiaID != rhs.opponentNiaID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnknownPartyObProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnknownPartyObProto" +extension OpenCombatChallengeResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenCombatChallengeResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .standard(proto: "ob_field_proto"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), + 4: .same(proto: "challenge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246513,43 +256561,52 @@ extension ObUnknownPartyObProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obFieldProto) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if !self.obFieldProto.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obFieldProto, fieldNumber: 2) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) + } + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) } + try { if let v = self._challenge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnknownPartyObProto, rhs: ObUnknownPartyObProto) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.obFieldProto != rhs.obFieldProto {return false} + public static func ==(lhs: OpenCombatChallengeResponseData, rhs: OpenCombatChallengeResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} + if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnknownProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnknownProto" +extension OpenCombatSessionData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenCombatSessionData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .standard(proto: "ob_boxes"), - 3: .standard(proto: "ob_string_2"), - 4: .standard(proto: "ob_string_3"), - 5: .standard(proto: "ob_string_4"), - 6: .standard(proto: "ob_string_5"), - 7: .standard(proto: "ob_string_6"), - 8: .standard(proto: "ob_string_7"), - 9: .standard(proto: "ob_string_8"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "attacking_pokemon_indexes"), + 3: .standard(proto: "lobby_join_time_offset_ms"), + 4: .standard(proto: "combat_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246558,74 +256615,49 @@ extension ObUnknownProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obBoxes) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString2) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.obString3) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.obString4) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.obString5) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.obString6) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.obString7) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.obString8) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.attackingPokemonIndexes) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.lobbyJoinTimeOffsetMs) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.combatType) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) - } - if !self.obBoxes.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obBoxes, fieldNumber: 2) - } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 3) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if !self.obString3.isEmpty { - try visitor.visitSingularStringField(value: self.obString3, fieldNumber: 4) + if !self.attackingPokemonIndexes.isEmpty { + try visitor.visitPackedInt32Field(value: self.attackingPokemonIndexes, fieldNumber: 2) } - if !self.obString4.isEmpty { - try visitor.visitSingularStringField(value: self.obString4, fieldNumber: 5) + if self.lobbyJoinTimeOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.lobbyJoinTimeOffsetMs, fieldNumber: 3) } - if !self.obString5.isEmpty { - try visitor.visitSingularStringField(value: self.obString5, fieldNumber: 6) - } - if !self.obString6.isEmpty { - try visitor.visitSingularStringField(value: self.obString6, fieldNumber: 7) - } - if !self.obString7.isEmpty { - try visitor.visitSingularStringField(value: self.obString7, fieldNumber: 8) - } - if !self.obString8.isEmpty { - try visitor.visitSingularStringField(value: self.obString8, fieldNumber: 9) + if self.combatType != .unset { + try visitor.visitSingularEnumField(value: self.combatType, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnknownProto, rhs: ObUnknownProto) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obBoxes != rhs.obBoxes {return false} - if lhs.obString2 != rhs.obString2 {return false} - if lhs.obString3 != rhs.obString3 {return false} - if lhs.obString4 != rhs.obString4 {return false} - if lhs.obString5 != rhs.obString5 {return false} - if lhs.obString6 != rhs.obString6 {return false} - if lhs.obString7 != rhs.obString7 {return false} - if lhs.obString8 != rhs.obString8 {return false} + public static func ==(lhs: OpenCombatSessionData, rhs: OpenCombatSessionData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.attackingPokemonIndexes != rhs.attackingPokemonIndexes {return false} + if lhs.lobbyJoinTimeOffsetMs != rhs.lobbyJoinTimeOffsetMs {return false} + if lhs.combatType != rhs.combatType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnknownProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnknownProto2" +extension OpenCombatSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenCombatSessionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .same(proto: "display"), - 3: .standard(proto: "ob_int64_1"), - 4: .standard(proto: "ob_int64_2"), - 5: .standard(proto: "challenge_criteria"), + 1: .same(proto: "result"), + 2: .same(proto: "combat"), + 3: .standard(proto: "should_debug_log"), + 4: .standard(proto: "combat_experiment"), + 5: .same(proto: "realm"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246634,11 +256666,11 @@ extension ObUnknownProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._display) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.obInt641) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.obInt642) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._challengeCriteria) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._combat) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.shouldDebugLog) }() + case 4: try { try decoder.decodeRepeatedEnumField(value: &self.combatExperiment) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.realm) }() default: break } } @@ -246649,40 +256681,61 @@ extension ObUnknownProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - try { if let v = self._display { + try { if let v = self._combat { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if self.obInt641 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt641, fieldNumber: 3) + if self.shouldDebugLog != false { + try visitor.visitSingularBoolField(value: self.shouldDebugLog, fieldNumber: 3) } - if self.obInt642 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt642, fieldNumber: 4) + if !self.combatExperiment.isEmpty { + try visitor.visitPackedEnumField(value: self.combatExperiment, fieldNumber: 4) + } + if !self.realm.isEmpty { + try visitor.visitSingularStringField(value: self.realm, fieldNumber: 5) } - try { if let v = self._challengeCriteria { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnknownProto2, rhs: ObUnknownProto2) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs._display != rhs._display {return false} - if lhs.obInt641 != rhs.obInt641 {return false} - if lhs.obInt642 != rhs.obInt642 {return false} - if lhs._challengeCriteria != rhs._challengeCriteria {return false} + public static func ==(lhs: OpenCombatSessionOutProto, rhs: OpenCombatSessionOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._combat != rhs._combat {return false} + if lhs.shouldDebugLog != rhs.shouldDebugLog {return false} + if lhs.combatExperiment != rhs.combatExperiment {return false} + if lhs.realm != rhs.realm {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnkownEventFortProtoOneOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnkownEventFortProtoOneOutProto" +extension OpenCombatSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "ob_data"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_COMBAT_STATE"), + 3: .same(proto: "ERROR_COMBAT_SESSION_FULL"), + 4: .same(proto: "ERROR_POKEMON_NOT_IN_INVENTORY"), + 5: .same(proto: "ERROR_OPPONENT_NOT_IN_RANGE"), + 6: .same(proto: "ERROR_CHALLENGE_EXPIRED"), + 7: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), + 8: .same(proto: "ERROR_OPPONENT_QUIT"), + 9: .same(proto: "ERROR_POKEMON_LINEUP_INELIGIBLE_FOR_LEAGUE"), + 10: .same(proto: "ERROR_COMBAT_LEAGUE_UNSPECIFIED"), + 11: .same(proto: "ERROR_ACCESS_DENIED"), + 12: .same(proto: "ERROR_PLAYER_HAS_NO_BATTLE_PASSES"), + ] +} + +extension OpenCombatSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenCombatSessionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "combat_id"), + 2: .standard(proto: "attacking_pokemon_id"), + 3: .standard(proto: "combat_league_template_id"), + 4: .standard(proto: "lobby_join_time_ms"), + 5: .standard(proto: "combat_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246691,49 +256744,52 @@ extension ObUnkownEventFortProtoOneOutProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obData) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.combatID) }() + case 2: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinTimeMs) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.combatType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.combatID.isEmpty { + try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 1) + } + if !self.attackingPokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 2) } - if !self.obData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obData, fieldNumber: 2) + if !self.combatLeagueTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 3) + } + if self.lobbyJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyJoinTimeMs, fieldNumber: 4) + } + if self.combatType != .unset { + try visitor.visitSingularEnumField(value: self.combatType, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnkownEventFortProtoOneOutProto, rhs: ObUnkownEventFortProtoOneOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.obData != rhs.obData {return false} + public static func ==(lhs: OpenCombatSessionProto, rhs: OpenCombatSessionProto) -> Bool { + if lhs.combatID != rhs.combatID {return false} + if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} + if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} + if lhs.lobbyJoinTimeMs != rhs.lobbyJoinTimeMs {return false} + if lhs.combatType != rhs.combatType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnkownEventFortProtoOneOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_FORT_ID_NOT_FOUND"), - 4: .same(proto: "ERROR_VPS_NOT_ENABLED_AT_FORT"), - 5: .same(proto: "ERROR_NO_EVENTS_AT_FORT_FOUND"), - ] -} - -extension ObUnkownEventProtoOne: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnkownEventProtoOne" +extension OpenCombatSessionResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenCombatSessionResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "event_type_status"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "ob_event_dep_one"), - 4: .standard(proto: "ob_event_dep_two"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .standard(proto: "open_combat_session_out_proto"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246742,10 +256798,9 @@ extension ObUnkownEventProtoOne: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.eventTypeStatus) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._obEventDepOne) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.obEventDepTwo) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._openCombatSessionOutProto) }() default: break } } @@ -246756,37 +256811,34 @@ extension ObUnkownEventProtoOne: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.eventTypeStatus != .eventUnset { - try visitor.visitSingularEnumField(value: self.eventTypeStatus, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) } - try { if let v = self._obEventDepOne { + try { if let v = self._openCombatSessionOutProto { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() - if !self.obEventDepTwo.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obEventDepTwo, fieldNumber: 4) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnkownEventProtoOne, rhs: ObUnkownEventProtoOne) -> Bool { - if lhs.eventTypeStatus != rhs.eventTypeStatus {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs._obEventDepOne != rhs._obEventDepOne {return false} - if lhs.obEventDepTwo != rhs.obEventDepTwo {return false} + public static func ==(lhs: OpenCombatSessionResponseData, rhs: OpenCombatSessionResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs._openCombatSessionOutProto != rhs._openCombatSessionOutProto {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnkownEventProtoOne.ObUnkownEventProtoOneDepOne: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ObUnkownEventProtoOne.protoMessageName + ".ObUnkownEventProtoOneDepOne" +extension OpenGiftLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenGiftLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool"), - 2: .standard(proto: "ob_int64_1"), - 3: .standard(proto: "ob_int64_2"), + 1: .same(proto: "result"), + 2: .standard(proto: "friend_codename"), + 3: .same(proto: "items"), + 4: .standard(proto: "pokemon_eggs"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246795,131 +256847,173 @@ extension ObUnkownEventProtoOne.ObUnkownEventProtoOneDepOne: SwiftProtobuf.Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.obInt641) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.obInt642) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.friendCodename) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._items) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonEggs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.obInt641 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt641, fieldNumber: 2) + if !self.friendCodename.isEmpty { + try visitor.visitSingularStringField(value: self.friendCodename, fieldNumber: 2) } - if self.obInt642 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt642, fieldNumber: 3) + try { if let v = self._items { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if !self.pokemonEggs.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokemonEggs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnkownEventProtoOne.ObUnkownEventProtoOneDepOne, rhs: ObUnkownEventProtoOne.ObUnkownEventProtoOneDepOne) -> Bool { - if lhs.obBool != rhs.obBool {return false} - if lhs.obInt641 != rhs.obInt641 {return false} - if lhs.obInt642 != rhs.obInt642 {return false} + public static func ==(lhs: OpenGiftLogEntry, rhs: OpenGiftLogEntry) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.friendCodename != rhs.friendCodename {return false} + if lhs._items != rhs._items {return false} + if lhs.pokemonEggs != rhs.pokemonEggs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnkownEventProtoOneDepTwo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnkownEventProtoOneDepTwo" +extension OpenGiftLogEntry.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .same(proto: "payload"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "NPC_TRADE"), ] +} - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.payload) }() - default: break - } - } - } +extension OpenGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenGiftOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "items"), + 3: .standard(proto: "egg_pokemon"), + 4: .standard(proto: "updated_friendship_data"), + 5: .standard(proto: "friend_profile"), + ] - public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) - } - if !self.payload.isEmpty { - try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 2) + fileprivate class _StorageClass { + var _result: OpenGiftOutProto.Result = .unset + var _items: LootProto? = nil + var _eggPokemon: PokemonProto? = nil + var _updatedFriendshipData: FriendshipLevelDataProto? = nil + var _friendProfile: PlayerPublicProfileProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _result = source._result + _items = source._items + _eggPokemon = source._eggPokemon + _updatedFriendshipData = source._updatedFriendshipData + _friendProfile = source._friendProfile } - try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnkownEventProtoOneDepTwo, rhs: ObUnkownEventProtoOneDepTwo) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.payload != rhs.payload {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage } -} - -extension ObUnkownEventProtoOneOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnkownEventProtoOneOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "ob_data"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obData) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._items) }() + case 3: try { try decoder.decodeSingularMessageField(value: &_storage._eggPokemon) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._updatedFriendshipData) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._friendProfile) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.obData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obData, fieldNumber: 2) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._result != .unset { + try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) + } + try { if let v = _storage._items { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = _storage._eggPokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = _storage._updatedFriendshipData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = _storage._friendProfile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnkownEventProtoOneOutProto, rhs: ObUnkownEventProtoOneOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.obData != rhs.obData {return false} + public static func ==(lhs: OpenGiftOutProto, rhs: OpenGiftOutProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._result != rhs_storage._result {return false} + if _storage._items != rhs_storage._items {return false} + if _storage._eggPokemon != rhs_storage._eggPokemon {return false} + if _storage._updatedFriendshipData != rhs_storage._updatedFriendshipData {return false} + if _storage._friendProfile != rhs_storage._friendProfile {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnkownEventProtoOneOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension OpenGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_FORT_ID_NOT_FOUND"), - 4: .same(proto: "ERROR_VPS_NOT_ENABLED_AT_FORT"), - 5: .same(proto: "ERROR_VPS_EVENT_NOT_FOUND"), - 6: .same(proto: "ERROR_ADD_ANCHOR_ID_ALREADY_EXISTS"), - 7: .same(proto: "ERROR_UPDATE_ANCHOR_ID_DOES_NOT_EXIST"), + 3: .same(proto: "ERROR_PLAYER_BAG_FULL"), + 4: .same(proto: "ERROR_PLAYER_LIMIT_REACHED"), + 5: .same(proto: "ERROR_GIFT_DOES_NOT_EXIST"), + 6: .same(proto: "ERROR_FRIEND_NOT_FOUND"), + 7: .same(proto: "ERROR_INVALID_PLAYER_ID"), + 8: .same(proto: "ERROR_FRIEND_UPDATE"), ] } -extension ObUnkownEventProtoTwo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnkownEventProtoTwo" +extension OpenGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenGiftProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .standard(proto: "event_type_status"), - 3: .standard(proto: "ob_int32"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "giftbox_id"), + 3: .standard(proto: "convert_to_stardust"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246928,41 +257022,41 @@ extension ObUnkownEventProtoTwo: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.eventTypeStatus) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularUInt64Field(value: &self.giftboxID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.convertToStardust) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if self.eventTypeStatus != .eventUnset { - try visitor.visitSingularEnumField(value: self.eventTypeStatus, fieldNumber: 2) + if self.giftboxID != 0 { + try visitor.visitSingularUInt64Field(value: self.giftboxID, fieldNumber: 2) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 3) + if self.convertToStardust != false { + try visitor.visitSingularBoolField(value: self.convertToStardust, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnkownEventProtoTwo, rhs: ObUnkownEventProtoTwo) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.eventTypeStatus != rhs.eventTypeStatus {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: OpenGiftProto, rhs: OpenGiftProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.giftboxID != rhs.giftboxID {return false} + if lhs.convertToStardust != rhs.convertToStardust {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnkownOtherEventProtoOne: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnkownOtherEventProtoOne" +extension OpenInvasionCombatSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenInvasionCombatSessionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "update_type"), - 2: .same(proto: "mdepghbddnc"), + 1: .same(proto: "status"), + 2: .same(proto: "combat"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -246971,8 +257065,8 @@ extension ObUnkownOtherEventProtoOne: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.updateType) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._mdepghbddnc) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._combat) }() default: break } } @@ -246983,38 +257077,30 @@ extension ObUnkownOtherEventProtoOne: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.updateType != .unset { - try visitor.visitSingularEnumField(value: self.updateType, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - try { if let v = self._mdepghbddnc { + try { if let v = self._combat { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnkownOtherEventProtoOne, rhs: ObUnkownOtherEventProtoOne) -> Bool { - if lhs.updateType != rhs.updateType {return false} - if lhs._mdepghbddnc != rhs._mdepghbddnc {return false} + public static func ==(lhs: OpenInvasionCombatSessionOutProto, rhs: OpenInvasionCombatSessionOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._combat != rhs._combat {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUnkownOtherEventProtoOne.UpdateType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ADD"), - 2: .same(proto: "EDIT"), - 3: .same(proto: "REMOVE"), - ] -} - -extension ObUnkownOtherEventProtoTwo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUnkownOtherEventProtoTwo" +extension OpenInvasionCombatSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenInvasionCombatSessionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .standard(proto: "ob_data"), - 3: .standard(proto: "ob_int32"), + 1: .standard(proto: "incident_lookup"), + 2: .same(proto: "step"), + 3: .standard(proto: "attacking_pokemon_id"), + 4: .standard(proto: "lobby_join_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247023,40 +257109,51 @@ extension ObUnkownOtherEventProtoTwo: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obData) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._incidentLookup) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.step) }() + case 3: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._incidentLookup { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.step != 0 { + try visitor.visitSingularInt32Field(value: self.step, fieldNumber: 2) } - if !self.obData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obData, fieldNumber: 2) + if !self.attackingPokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 3) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 3) + if self.lobbyJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyJoinTimeMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUnkownOtherEventProtoTwo, rhs: ObUnkownOtherEventProtoTwo) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.obData != rhs.obData {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: OpenInvasionCombatSessionProto, rhs: OpenInvasionCombatSessionProto) -> Bool { + if lhs._incidentLookup != rhs._incidentLookup {return false} + if lhs.step != rhs.step {return false} + if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} + if lhs.lobbyJoinTimeMs != rhs.lobbyJoinTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ObUploadRaidClientLogRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ObUploadRaidClientLogRequest" +extension OpenNpcCombatSessionData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenNpcCombatSessionData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_upload_raid_client_log"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "attacking_pokemon_indexes"), + 3: .standard(proto: "lobby_join_time_offset_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247065,34 +257162,41 @@ extension ObUploadRaidClientLogRequest: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._obUploadRaidClientLog) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.attackingPokemonIndexes) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.lobbyJoinTimeOffsetMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._obUploadRaidClientLog { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if !self.attackingPokemonIndexes.isEmpty { + try visitor.visitPackedInt32Field(value: self.attackingPokemonIndexes, fieldNumber: 2) + } + if self.lobbyJoinTimeOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.lobbyJoinTimeOffsetMs, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ObUploadRaidClientLogRequest, rhs: ObUploadRaidClientLogRequest) -> Bool { - if lhs._obUploadRaidClientLog != rhs._obUploadRaidClientLog {return false} + public static func ==(lhs: OpenNpcCombatSessionData, rhs: OpenNpcCombatSessionData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.attackingPokemonIndexes != rhs.attackingPokemonIndexes {return false} + if lhs.lobbyJoinTimeOffsetMs != rhs.lobbyJoinTimeOffsetMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OnApplicationFocusDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OnApplicationFocusDataProto" +extension OpenNpcCombatSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenNpcCombatSessionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_on_application_focus_bool"), + 1: .same(proto: "result"), + 2: .same(proto: "combat"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247101,30 +257205,51 @@ extension OnApplicationFocusDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obOnApplicationFocusBool) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._combat) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obOnApplicationFocusBool != false { - try visitor.visitSingularBoolField(value: self.obOnApplicationFocusBool, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._combat { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OnApplicationFocusDataProto, rhs: OnApplicationFocusDataProto) -> Bool { - if lhs.obOnApplicationFocusBool != rhs.obOnApplicationFocusBool {return false} + public static func ==(lhs: OpenNpcCombatSessionOutProto, rhs: OpenNpcCombatSessionOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._combat != rhs._combat {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OnApplicationPauseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OnApplicationPauseDataProto" +extension OpenNpcCombatSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), + 3: .same(proto: "ERROR_POKEMON_LINEUP_INELIGIBLE_FOR_LEAGUE"), + 4: .same(proto: "ERROR_ACCESS_DENIED"), + ] +} + +extension OpenNpcCombatSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenNpcCombatSessionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_on_application_pause_bool"), + 1: .standard(proto: "attacking_pokemon_id"), + 2: .standard(proto: "combat_npc_template_id"), + 3: .standard(proto: "lobby_join_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247133,53 +257258,133 @@ extension OnApplicationPauseDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obOnApplicationPauseBool) }() + case 1: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.combatNpcTemplateID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obOnApplicationPauseBool != false { - try visitor.visitSingularBoolField(value: self.obOnApplicationPauseBool, fieldNumber: 1) + if !self.attackingPokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 1) + } + if !self.combatNpcTemplateID.isEmpty { + try visitor.visitSingularStringField(value: self.combatNpcTemplateID, fieldNumber: 2) + } + if self.lobbyJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyJoinTimeMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OnApplicationPauseDataProto, rhs: OnApplicationPauseDataProto) -> Bool { - if lhs.obOnApplicationPauseBool != rhs.obOnApplicationPauseBool {return false} + public static func ==(lhs: OpenNpcCombatSessionProto, rhs: OpenNpcCombatSessionProto) -> Bool { + if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} + if lhs.combatNpcTemplateID != rhs.combatNpcTemplateID {return false} + if lhs.lobbyJoinTimeMs != rhs.lobbyJoinTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OnApplicationQuitDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OnApplicationQuitDataProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension OpenNpcCombatSessionResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenNpcCombatSessionResponseData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), + 4: .same(proto: "combat"), + ] + + fileprivate class _StorageClass { + var _rpcID: Int32 = 0 + var _roundTripTimeMs: UInt32 = 0 + var _result: OpenNpcCombatSessionOutProto.Result = .unset + var _combat: CombatForLogProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _rpcID = source._rpcID + _roundTripTimeMs = source._roundTripTimeMs + _result = source._result + _combat = source._combat + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &_storage._roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._combat) }() + default: break + } + } } } public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._rpcID != 0 { + try visitor.visitSingularInt32Field(value: _storage._rpcID, fieldNumber: 1) + } + if _storage._roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: _storage._roundTripTimeMs, fieldNumber: 2) + } + if _storage._result != .unset { + try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 3) + } + try { if let v = _storage._combat { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OnApplicationQuitDataProto, rhs: OnApplicationQuitDataProto) -> Bool { + public static func ==(lhs: OpenNpcCombatSessionResponseData, rhs: OpenNpcCombatSessionResponseData) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._rpcID != rhs_storage._rpcID {return false} + if _storage._roundTripTimeMs != rhs_storage._roundTripTimeMs {return false} + if _storage._result != rhs_storage._result {return false} + if _storage._combat != rhs_storage._combat {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OnboardingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OnboardingSettingsProto" +extension OpenSponsoredGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenSponsoredGiftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "skip_avatar_customization"), - 2: .standard(proto: "disable_initial_ar_prompt"), - 3: .standard(proto: "ar_prompt_player_level"), - 4: .standard(proto: "ob_int32_1"), - 5: .standard(proto: "ob_int32_2"), + 1: .same(proto: "result"), + 2: .same(proto: "rewards"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247188,54 +257393,50 @@ extension OnboardingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.skipAvatarCustomization) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.disableInitialArPrompt) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.arPromptPlayerLevel) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.skipAvatarCustomization != false { - try visitor.visitSingularBoolField(value: self.skipAvatarCustomization, fieldNumber: 1) - } - if self.disableInitialArPrompt != false { - try visitor.visitSingularBoolField(value: self.disableInitialArPrompt, fieldNumber: 2) - } - if self.arPromptPlayerLevel != 0 { - try visitor.visitSingularUInt32Field(value: self.arPromptPlayerLevel, fieldNumber: 3) - } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 4) - } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 5) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._rewards { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OnboardingSettingsProto, rhs: OnboardingSettingsProto) -> Bool { - if lhs.skipAvatarCustomization != rhs.skipAvatarCustomization {return false} - if lhs.disableInitialArPrompt != rhs.disableInitialArPrompt {return false} - if lhs.arPromptPlayerLevel != rhs.arPromptPlayerLevel {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: OpenSponsoredGiftOutProto, rhs: OpenSponsoredGiftOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._rewards != rhs._rewards {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OnboardingTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OnboardingTelemetry" +extension OpenSponsoredGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "onboarding_path"), - 2: .standard(proto: "event_id"), - 3: .same(proto: "data"), - 4: .same(proto: "conversation"), - 5: .standard(proto: "ar_status"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_BAG_FULL"), + 4: .same(proto: "ERROR_GIFT_REDEEMED"), + ] +} + +extension OpenSponsoredGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenSponsoredGiftProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "encrypted_ad_token"), + 2: .standard(proto: "gift_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247244,53 +257445,36 @@ extension OnboardingTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.onboardingPath) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.eventID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.data) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.conversation) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.arStatus) }() + case 1: try { try decoder.decodeSingularBytesField(value: &self.encryptedAdToken) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.giftToken) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.onboardingPath != .v1 { - try visitor.visitSingularEnumField(value: self.onboardingPath, fieldNumber: 1) - } - if self.eventID != .tosAccepted { - try visitor.visitSingularEnumField(value: self.eventID, fieldNumber: 2) - } - if self.data != 0 { - try visitor.visitSingularInt32Field(value: self.data, fieldNumber: 3) - } - if !self.conversation.isEmpty { - try visitor.visitSingularStringField(value: self.conversation, fieldNumber: 4) + if !self.encryptedAdToken.isEmpty { + try visitor.visitSingularBytesField(value: self.encryptedAdToken, fieldNumber: 1) } - if self.arStatus != .unset { - try visitor.visitSingularEnumField(value: self.arStatus, fieldNumber: 5) + if !self.giftToken.isEmpty { + try visitor.visitSingularBytesField(value: self.giftToken, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OnboardingTelemetry, rhs: OnboardingTelemetry) -> Bool { - if lhs.onboardingPath != rhs.onboardingPath {return false} - if lhs.eventID != rhs.eventID {return false} - if lhs.data != rhs.data {return false} - if lhs.conversation != rhs.conversation {return false} - if lhs.arStatus != rhs.arStatus {return false} + public static func ==(lhs: OpenSponsoredGiftProto, rhs: OpenSponsoredGiftProto) -> Bool { + if lhs.encryptedAdToken != rhs.encryptedAdToken {return false} + if lhs.giftToken != rhs.giftToken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OnboardingV2SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OnboardingV2SettingsProto" +extension OpenTradingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenTradingOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "enable_onboarding_v2"), - 2: .standard(proto: "pokedex_id"), - 3: .standard(proto: "onboarding_egg_pokemon"), - 4: .standard(proto: "egg_km_until_hatch"), + 1: .same(proto: "result"), + 2: .same(proto: "trading"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247299,46 +257483,61 @@ extension OnboardingV2SettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enableOnboardingV2) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.pokedexID) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.onboardingEggPokemon) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.eggKmUntilHatch) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._trading) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enableOnboardingV2 != false { - try visitor.visitSingularBoolField(value: self.enableOnboardingV2, fieldNumber: 1) - } - if !self.pokedexID.isEmpty { - try visitor.visitPackedEnumField(value: self.pokedexID, fieldNumber: 2) - } - if self.onboardingEggPokemon != .missingno { - try visitor.visitSingularEnumField(value: self.onboardingEggPokemon, fieldNumber: 3) - } - if self.eggKmUntilHatch != 0 { - try visitor.visitSingularInt32Field(value: self.eggKmUntilHatch, fieldNumber: 4) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._trading { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OnboardingV2SettingsProto, rhs: OnboardingV2SettingsProto) -> Bool { - if lhs.enableOnboardingV2 != rhs.enableOnboardingV2 {return false} - if lhs.pokedexID != rhs.pokedexID {return false} - if lhs.onboardingEggPokemon != rhs.onboardingEggPokemon {return false} - if lhs.eggKmUntilHatch != rhs.eggKmUntilHatch {return false} + public static func ==(lhs: OpenTradingOutProto, rhs: OpenTradingOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._trading != rhs._trading {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OneWaySharedFriendshipDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OneWaySharedFriendshipDataProto" +extension OpenTradingOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "giftbox_details"), - 2: .standard(proto: "open_trade_expire_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_FRIEND_NOT_FOUND"), + 4: .same(proto: "ERROR_INVALID_PLAYER_ID"), + 5: .same(proto: "ERROR_INVALID_STATE"), + 6: .same(proto: "ERROR_STATE_HANDLER"), + 7: .same(proto: "ERROR_TRADING_EXPIRED"), + 8: .same(proto: "ERROR_TRADING_COOLDOWN"), + 9: .same(proto: "ERROR_PLAYER_ALREADY_OPENED"), + 10: .same(proto: "ERROR_FRIEND_OUT_OF_RANGE"), + 11: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), + 12: .same(proto: "ERROR_PLAYER_REACHED_DAILY_LIMIT"), + 13: .same(proto: "ERROR_FRIEND_REACHED_DAILY_LIMIT"), + 14: .same(proto: "ERROR_PLAYER_NOT_ENOUGH_STARDUST"), + 15: .same(proto: "ERROR_FRIEND_NOT_ENOUGH_STARDUST"), + 16: .same(proto: "ERROR_FRIEND_BELOW_MINIMUM_LEVEL"), + ] +} + +extension OpenTradingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OpenTradingProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247347,36 +257546,30 @@ extension OneWaySharedFriendshipDataProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.giftboxDetails) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.openTradeExpireMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.giftboxDetails.isEmpty { - try visitor.visitRepeatedMessageField(value: self.giftboxDetails, fieldNumber: 1) - } - if self.openTradeExpireMs != 0 { - try visitor.visitSingularInt64Field(value: self.openTradeExpireMs, fieldNumber: 2) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OneWaySharedFriendshipDataProto, rhs: OneWaySharedFriendshipDataProto) -> Bool { - if lhs.giftboxDetails != rhs.giftboxDetails {return false} - if lhs.openTradeExpireMs != rhs.openTradeExpireMs {return false} + public static func ==(lhs: OpenTradingProto, rhs: OpenTradingProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OneofDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OneofDescriptorProto" +extension OptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OptOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "options"), + 1: .same(proto: "categories"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247385,61 +257578,31 @@ extension OneofDescriptorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._options) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.categories) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - try { if let v = self._options { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: OneofDescriptorProto, rhs: OneofDescriptorProto) -> Bool { - if lhs.name != rhs.name {return false} - if lhs._options != rhs._options {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension OneofOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OneofOptions" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if !self.categories.isEmpty { + try visitor.visitRepeatedStringField(value: self.categories, fieldNumber: 1) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OneofOptions, rhs: OneofOptions) -> Bool { + public static func ==(lhs: OptOutProto, rhs: OptOutProto) -> Bool { + if lhs.categories != rhs.categories {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenBuddyGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenBuddyGiftOutProto" +extension OptimizationsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".OptimizationsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "buddy_gift"), - 4: .standard(proto: "observed_data"), - 5: .standard(proto: "shown_hearts"), + 1: .standard(proto: "optimization_physics_toggle_enabled"), + 2: .standard(proto: "optimization_adaptive_performance_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247448,81 +257611,150 @@ extension OpenBuddyGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._buddyGift) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._observedData) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.shownHearts) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.optimizationPhysicsToggleEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.optimizationAdaptivePerformanceEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.optimizationPhysicsToggleEnabled != false { + try visitor.visitSingularBoolField(value: self.optimizationPhysicsToggleEnabled, fieldNumber: 1) } - try { if let v = self._buddyGift { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = self._observedData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.shownHearts != .buddyHeartUnset { - try visitor.visitSingularEnumField(value: self.shownHearts, fieldNumber: 5) + if self.optimizationAdaptivePerformanceEnabled != false { + try visitor.visitSingularBoolField(value: self.optimizationAdaptivePerformanceEnabled, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenBuddyGiftOutProto, rhs: OpenBuddyGiftOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._buddyGift != rhs._buddyGift {return false} - if lhs._observedData != rhs._observedData {return false} - if lhs.shownHearts != rhs.shownHearts {return false} + public static func ==(lhs: OptimizationsProto, rhs: OptimizationsProto) -> Bool { + if lhs.optimizationPhysicsToggleEnabled != rhs.optimizationPhysicsToggleEnabled {return false} + if lhs.optimizationAdaptivePerformanceEnabled != rhs.optimizationAdaptivePerformanceEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenBuddyGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension ParticipationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ParticipationProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ERROR_BUDDY_NOT_VALID"), - 2: .same(proto: "SUCCESS_ADDED_LOOT_TO_INVENTORY"), - 3: .same(proto: "SUCCESS_ADDED_SOUVENIR_TO_COLLECTIONS"), - 4: .same(proto: "ERROR_BUDDY_HAS_NOT_PICKED_UP_ANY_SOUVENIRS"), - 5: .same(proto: "ERROR_INVENTORY_IS_FULL"), - 6: .same(proto: "ERROR_BUDDY_NOT_ON_MAP"), + 1: .standard(proto: "individual_damage_pokeballs"), + 2: .standard(proto: "team_damage_pokeballs"), + 3: .standard(proto: "gym_ownership_pokeballs"), + 4: .standard(proto: "base_pokeballs"), + 5: .standard(proto: "blue_percentage"), + 6: .standard(proto: "red_percentage"), + 7: .standard(proto: "yellow_percentage"), + 8: .standard(proto: "bonus_item_multiplier"), + 9: .standard(proto: "highest_friendship_milestone"), + 10: .standard(proto: "highest_friendship_pokeballs"), + 11: .standard(proto: "speed_completion_pokeballs"), + 12: .standard(proto: "speed_completion_mega_resource"), + 13: .standard(proto: "mega_resource_capped"), + 14: .standard(proto: "fort_powerup_pokeballs"), ] -} - -extension OpenBuddyGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenBuddyGiftProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.individualDamagePokeballs) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.teamDamagePokeballs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.gymOwnershipPokeballs) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.basePokeballs) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.bluePercentage) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.redPercentage) }() + case 7: try { try decoder.decodeSingularDoubleField(value: &self.yellowPercentage) }() + case 8: try { try decoder.decodeSingularFloatField(value: &self.bonusItemMultiplier) }() + case 9: try { try decoder.decodeSingularEnumField(value: &self.highestFriendshipMilestone) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &self.highestFriendshipPokeballs) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &self.speedCompletionPokeballs) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.speedCompletionMegaResource) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.megaResourceCapped) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &self.fortPowerupPokeballs) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.individualDamagePokeballs != 0 { + try visitor.visitSingularInt32Field(value: self.individualDamagePokeballs, fieldNumber: 1) + } + if self.teamDamagePokeballs != 0 { + try visitor.visitSingularInt32Field(value: self.teamDamagePokeballs, fieldNumber: 2) + } + if self.gymOwnershipPokeballs != 0 { + try visitor.visitSingularInt32Field(value: self.gymOwnershipPokeballs, fieldNumber: 3) + } + if self.basePokeballs != 0 { + try visitor.visitSingularInt32Field(value: self.basePokeballs, fieldNumber: 4) + } + if self.bluePercentage != 0 { + try visitor.visitSingularDoubleField(value: self.bluePercentage, fieldNumber: 5) + } + if self.redPercentage != 0 { + try visitor.visitSingularDoubleField(value: self.redPercentage, fieldNumber: 6) + } + if self.yellowPercentage != 0 { + try visitor.visitSingularDoubleField(value: self.yellowPercentage, fieldNumber: 7) + } + if self.bonusItemMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.bonusItemMultiplier, fieldNumber: 8) + } + if self.highestFriendshipMilestone != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: self.highestFriendshipMilestone, fieldNumber: 9) + } + if self.highestFriendshipPokeballs != 0 { + try visitor.visitSingularInt32Field(value: self.highestFriendshipPokeballs, fieldNumber: 10) + } + if self.speedCompletionPokeballs != 0 { + try visitor.visitSingularInt32Field(value: self.speedCompletionPokeballs, fieldNumber: 11) + } + if self.speedCompletionMegaResource != 0 { + try visitor.visitSingularInt32Field(value: self.speedCompletionMegaResource, fieldNumber: 12) + } + if self.megaResourceCapped != false { + try visitor.visitSingularBoolField(value: self.megaResourceCapped, fieldNumber: 13) + } + if self.fortPowerupPokeballs != 0 { + try visitor.visitSingularInt32Field(value: self.fortPowerupPokeballs, fieldNumber: 14) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenBuddyGiftProto, rhs: OpenBuddyGiftProto) -> Bool { + public static func ==(lhs: ParticipationProto, rhs: ParticipationProto) -> Bool { + if lhs.individualDamagePokeballs != rhs.individualDamagePokeballs {return false} + if lhs.teamDamagePokeballs != rhs.teamDamagePokeballs {return false} + if lhs.gymOwnershipPokeballs != rhs.gymOwnershipPokeballs {return false} + if lhs.basePokeballs != rhs.basePokeballs {return false} + if lhs.bluePercentage != rhs.bluePercentage {return false} + if lhs.redPercentage != rhs.redPercentage {return false} + if lhs.yellowPercentage != rhs.yellowPercentage {return false} + if lhs.bonusItemMultiplier != rhs.bonusItemMultiplier {return false} + if lhs.highestFriendshipMilestone != rhs.highestFriendshipMilestone {return false} + if lhs.highestFriendshipPokeballs != rhs.highestFriendshipPokeballs {return false} + if lhs.speedCompletionPokeballs != rhs.speedCompletionPokeballs {return false} + if lhs.speedCompletionMegaResource != rhs.speedCompletionMegaResource {return false} + if lhs.megaResourceCapped != rhs.megaResourceCapped {return false} + if lhs.fortPowerupPokeballs != rhs.fortPowerupPokeballs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenCampfireMapTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenCampfireMapTelemetry" +extension PartyActivityStatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyActivityStatProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "source"), - 2: .standard(proto: "is_standalone"), + 1: .standard(proto: "activity_stat_id"), + 2: .standard(proto: "quest_type"), + 3: .same(proto: "conditions"), + 4: .standard(proto: "category_id"), + 5: .standard(proto: "icon_id"), + 6: .standard(proto: "scale_down"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247531,48 +257763,55 @@ extension OpenCampfireMapTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.source) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isStandalone) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.activityStatID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.questType) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.conditions) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.categoryID) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.iconID) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.scaleDown) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.source != .unknown { - try visitor.visitSingularEnumField(value: self.source, fieldNumber: 1) + if self.activityStatID != 0 { + try visitor.visitSingularInt32Field(value: self.activityStatID, fieldNumber: 1) } - if self.isStandalone != false { - try visitor.visitSingularBoolField(value: self.isStandalone, fieldNumber: 2) + if self.questType != .questUnset { + try visitor.visitSingularEnumField(value: self.questType, fieldNumber: 2) + } + if !self.conditions.isEmpty { + try visitor.visitRepeatedMessageField(value: self.conditions, fieldNumber: 3) + } + if self.categoryID != 0 { + try visitor.visitSingularInt32Field(value: self.categoryID, fieldNumber: 4) + } + if self.iconID != 0 { + try visitor.visitSingularInt32Field(value: self.iconID, fieldNumber: 5) + } + if self.scaleDown != 0 { + try visitor.visitSingularInt32Field(value: self.scaleDown, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenCampfireMapTelemetry, rhs: OpenCampfireMapTelemetry) -> Bool { - if lhs.source != rhs.source {return false} - if lhs.isStandalone != rhs.isStandalone {return false} + public static func ==(lhs: PartyActivityStatProto, rhs: PartyActivityStatProto) -> Bool { + if lhs.activityStatID != rhs.activityStatID {return false} + if lhs.questType != rhs.questType {return false} + if lhs.conditions != rhs.conditions {return false} + if lhs.categoryID != rhs.categoryID {return false} + if lhs.iconID != rhs.iconID {return false} + if lhs.scaleDown != rhs.scaleDown {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenCampfireMapTelemetry.SourcePage: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "MAP"), - 2: .same(proto: "NEARBY_RAIDS"), - 3: .same(proto: "GYM_APPROACH"), - 4: .same(proto: "RAID_APPROACH"), - 5: .same(proto: "CATCH_CARD"), - ] -} - -extension OpenCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenCombatChallengeDataProto" +extension PartyActivitySummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyActivitySummaryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .same(proto: "type"), - 3: .standard(proto: "ob_list_int32"), + 1: .standard(proto: "player_summary_map"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247581,41 +257820,30 @@ extension OpenCombatChallengeDataProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.obListInt32) }() + case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.playerSummaryMap) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 2) - } - if !self.obListInt32.isEmpty { - try visitor.visitPackedInt32Field(value: self.obListInt32, fieldNumber: 3) + if !self.playerSummaryMap.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.playerSummaryMap, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenCombatChallengeDataProto, rhs: OpenCombatChallengeDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.type != rhs.type {return false} - if lhs.obListInt32 != rhs.obListInt32 {return false} + public static func ==(lhs: PartyActivitySummaryProto, rhs: PartyActivitySummaryProto) -> Bool { + if lhs.playerSummaryMap != rhs.playerSummaryMap {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenCombatChallengeOutProto" +extension PartyActivitySummaryRpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyActivitySummaryRpcProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "challenge"), + 1: .standard(proto: "player_activity"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247624,61 +257852,31 @@ extension OpenCombatChallengeOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.playerActivity) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.playerActivity.isEmpty { + try visitor.visitRepeatedMessageField(value: self.playerActivity, fieldNumber: 1) } - try { if let v = self._challenge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenCombatChallengeOutProto, rhs: OpenCombatChallengeOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._challenge != rhs._challenge {return false} + public static func ==(lhs: PartyActivitySummaryRpcProto, rhs: PartyActivitySummaryRpcProto) -> Bool { + if lhs.playerActivity != rhs.playerActivity {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenCombatChallengeOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), - 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), - 4: .same(proto: "ERROR_POKEMON_NOT_IN_INVENTORY"), - 5: .same(proto: "ERROR_NOT_ELIGIBLE_LEAGUE"), - 6: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), - 8: .same(proto: "ERROR_ALREADY_TIMEDOUT"), - 9: .same(proto: "ERROR_ALREADY_CANCELLED"), - 10: .same(proto: "ERROR_FRIEND_NOT_FOUND"), - 11: .same(proto: "ERROR_FAILED_TO_SEND_NOTIFICATION"), - 12: .same(proto: "ERROR_ACCESS_DENIED"), - 13: .same(proto: "ERROR_INELIGIBLE_OPPONENT"), - ] -} - -extension OpenCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenCombatChallengeProto" +extension PartyActivitySummaryRpcProto.PlayerActivityRpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PartyActivitySummaryRpcProto.protoMessageName + ".PlayerActivityRpcProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "challenge_id"), - 3: .standard(proto: "combat_league_template_id"), - 4: .standard(proto: "opponent_player_id"), - 5: .standard(proto: "attacking_pokemon_id"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "player_activity"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247687,53 +257885,41 @@ extension OpenCombatChallengeProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.opponentPlayerID) }() - case 5: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._playerActivity) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) - } - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 2) - } - if !self.combatLeagueTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 3) - } - if !self.opponentPlayerID.isEmpty { - try visitor.visitSingularStringField(value: self.opponentPlayerID, fieldNumber: 4) - } - if !self.attackingPokemonID.isEmpty { - try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 5) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } + try { if let v = self._playerActivity { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenCombatChallengeProto, rhs: OpenCombatChallengeProto) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.challengeID != rhs.challengeID {return false} - if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} - if lhs.opponentPlayerID != rhs.opponentPlayerID {return false} - if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} + public static func ==(lhs: PartyActivitySummaryRpcProto.PlayerActivityRpcProto, rhs: PartyActivitySummaryRpcProto.PlayerActivityRpcProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs._playerActivity != rhs._playerActivity {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenCombatChallengeResponseDataProto" +extension PartyDarkLaunchLogMessageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyDarkLaunchLogMessageProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), - 4: .same(proto: "challenge"), + 1: .standard(proto: "log_level"), + 2: .standard(proto: "timestamp_ms"), + 3: .standard(proto: "log_string"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247742,52 +257928,55 @@ extension OpenCombatChallengeResponseDataProto: SwiftProtobuf.Message, SwiftProt // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.logLevel) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.logString) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.logLevel != .unknown { + try visitor.visitSingularEnumField(value: self.logLevel, fieldNumber: 1) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 2) } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + if !self.logString.isEmpty { + try visitor.visitSingularStringField(value: self.logString, fieldNumber: 3) } - try { if let v = self._challenge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenCombatChallengeResponseDataProto, rhs: OpenCombatChallengeResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} - if lhs._challenge != rhs._challenge {return false} + public static func ==(lhs: PartyDarkLaunchLogMessageProto, rhs: PartyDarkLaunchLogMessageProto) -> Bool { + if lhs.logLevel != rhs.logLevel {return false} + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs.logString != rhs.logString {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenCombatSessionDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenCombatSessionDataProto" +extension PartyDarkLaunchLogMessageProto.LogLevel: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_list_int32"), - 3: .standard(proto: "ob_uint32"), - 4: .standard(proto: "combat_type"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "INFO"), + 2: .same(proto: "WARNING"), + 3: .same(proto: "SEVERE"), + ] +} + +extension PartyDarkLaunchSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyDarkLaunchSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "dark_launch_enabled"), + 2: .standard(proto: "rollout_players_per_billion"), + 3: .standard(proto: "create_or_join_wait_probability"), + 4: .standard(proto: "probability_to_create_percent"), + 6: .standard(proto: "leave_party_probability"), + 7: .standard(proto: "update_location_enabled"), + 8: .standard(proto: "update_location_override_period_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247796,49 +257985,61 @@ extension OpenCombatSessionDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.obListInt32) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.combatType) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.darkLaunchEnabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rolloutPlayersPerBillion) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.createOrJoinWaitProbability) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.probabilityToCreatePercent) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &self.leavePartyProbability) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.updateLocationEnabled) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.updateLocationOverridePeriodMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.darkLaunchEnabled != false { + try visitor.visitSingularBoolField(value: self.darkLaunchEnabled, fieldNumber: 1) } - if !self.obListInt32.isEmpty { - try visitor.visitPackedInt32Field(value: self.obListInt32, fieldNumber: 2) + if self.rolloutPlayersPerBillion != 0 { + try visitor.visitSingularInt32Field(value: self.rolloutPlayersPerBillion, fieldNumber: 2) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 3) + if !self.createOrJoinWaitProbability.isEmpty { + try visitor.visitRepeatedMessageField(value: self.createOrJoinWaitProbability, fieldNumber: 3) } - if self.combatType != .unset { - try visitor.visitSingularEnumField(value: self.combatType, fieldNumber: 4) + if self.probabilityToCreatePercent != 0 { + try visitor.visitSingularInt32Field(value: self.probabilityToCreatePercent, fieldNumber: 4) + } + if !self.leavePartyProbability.isEmpty { + try visitor.visitRepeatedMessageField(value: self.leavePartyProbability, fieldNumber: 6) + } + if self.updateLocationEnabled != false { + try visitor.visitSingularBoolField(value: self.updateLocationEnabled, fieldNumber: 7) + } + if self.updateLocationOverridePeriodMs != 0 { + try visitor.visitSingularInt32Field(value: self.updateLocationOverridePeriodMs, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenCombatSessionDataProto, rhs: OpenCombatSessionDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obListInt32 != rhs.obListInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.combatType != rhs.combatType {return false} + public static func ==(lhs: PartyDarkLaunchSettingsProto, rhs: PartyDarkLaunchSettingsProto) -> Bool { + if lhs.darkLaunchEnabled != rhs.darkLaunchEnabled {return false} + if lhs.rolloutPlayersPerBillion != rhs.rolloutPlayersPerBillion {return false} + if lhs.createOrJoinWaitProbability != rhs.createOrJoinWaitProbability {return false} + if lhs.probabilityToCreatePercent != rhs.probabilityToCreatePercent {return false} + if lhs.leavePartyProbability != rhs.leavePartyProbability {return false} + if lhs.updateLocationEnabled != rhs.updateLocationEnabled {return false} + if lhs.updateLocationOverridePeriodMs != rhs.updateLocationOverridePeriodMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenCombatSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenCombatSessionOutProto" +extension PartyDarkLaunchSettingsProto.CreateOrJoinWaitProbabilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PartyDarkLaunchSettingsProto.protoMessageName + ".CreateOrJoinWaitProbabilityProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "combat"), - 3: .standard(proto: "should_debug_log"), - 4: .standard(proto: "combat_refactor_toggle"), - 5: .standard(proto: "ob_string"), + 1: .same(proto: "weight"), + 2: .standard(proto: "wait_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247847,76 +258048,36 @@ extension OpenCombatSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._combat) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.shouldDebugLog) }() - case 4: try { try decoder.decodeRepeatedEnumField(value: &self.combatRefactorToggle) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.obString) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.weight) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.waitTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try { if let v = self._combat { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.shouldDebugLog != false { - try visitor.visitSingularBoolField(value: self.shouldDebugLog, fieldNumber: 3) - } - if !self.combatRefactorToggle.isEmpty { - try visitor.visitPackedEnumField(value: self.combatRefactorToggle, fieldNumber: 4) + if self.weight != 0 { + try visitor.visitSingularInt32Field(value: self.weight, fieldNumber: 1) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 5) + if self.waitTimeMs != 0 { + try visitor.visitSingularInt32Field(value: self.waitTimeMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenCombatSessionOutProto, rhs: OpenCombatSessionOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._combat != rhs._combat {return false} - if lhs.shouldDebugLog != rhs.shouldDebugLog {return false} - if lhs.combatRefactorToggle != rhs.combatRefactorToggle {return false} - if lhs.obString != rhs.obString {return false} + public static func ==(lhs: PartyDarkLaunchSettingsProto.CreateOrJoinWaitProbabilityProto, rhs: PartyDarkLaunchSettingsProto.CreateOrJoinWaitProbabilityProto) -> Bool { + if lhs.weight != rhs.weight {return false} + if lhs.waitTimeMs != rhs.waitTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } - -extension OpenCombatSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_COMBAT_STATE"), - 3: .same(proto: "ERROR_COMBAT_SESSION_FULL"), - 4: .same(proto: "ERROR_POKEMON_NOT_IN_INVENTORY"), - 5: .same(proto: "ERROR_OPPONENT_NOT_IN_RANGE"), - 6: .same(proto: "ERROR_CHALLENGE_EXPIRED"), - 7: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), - 8: .same(proto: "ERROR_OPPONENT_QUIT"), - 9: .same(proto: "ERROR_POKEMON_LINEUP_INELIGIBLE_FOR_LEAGUE"), - 10: .same(proto: "ERROR_COMBAT_LEAGUE_UNSPECIFIED"), - 11: .same(proto: "ERROR_ACCESS_DENIED"), - 12: .same(proto: "ERROR_PLAYER_HAS_NO_BATTLE_PASSES"), - ] -} - -extension OpenCombatSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenCombatSessionProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "combat_id"), - 2: .standard(proto: "attacking_pokemon_id"), - 3: .standard(proto: "combat_league_template_id"), - 4: .standard(proto: "lobby_join_time_ms"), - 5: .standard(proto: "combat_type"), + +extension PartyDarkLaunchSettingsProto.LeavePartyProbabilityProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PartyDarkLaunchSettingsProto.protoMessageName + ".LeavePartyProbabilityProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "weight"), + 2: .standard(proto: "max_duration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247925,52 +258086,41 @@ extension OpenCombatSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.combatID) }() - case 2: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.combatLeagueTemplateID) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinTimeMs) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.combatType) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.weight) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxDurationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.combatID.isEmpty { - try visitor.visitSingularStringField(value: self.combatID, fieldNumber: 1) - } - if !self.attackingPokemonID.isEmpty { - try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 2) - } - if !self.combatLeagueTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.combatLeagueTemplateID, fieldNumber: 3) - } - if self.lobbyJoinTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.lobbyJoinTimeMs, fieldNumber: 4) + if self.weight != 0 { + try visitor.visitSingularInt32Field(value: self.weight, fieldNumber: 1) } - if self.combatType != .unset { - try visitor.visitSingularEnumField(value: self.combatType, fieldNumber: 5) + if self.maxDurationMs != 0 { + try visitor.visitSingularInt32Field(value: self.maxDurationMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenCombatSessionProto, rhs: OpenCombatSessionProto) -> Bool { - if lhs.combatID != rhs.combatID {return false} - if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} - if lhs.combatLeagueTemplateID != rhs.combatLeagueTemplateID {return false} - if lhs.lobbyJoinTimeMs != rhs.lobbyJoinTimeMs {return false} - if lhs.combatType != rhs.combatType {return false} + public static func ==(lhs: PartyDarkLaunchSettingsProto.LeavePartyProbabilityProto, rhs: PartyDarkLaunchSettingsProto.LeavePartyProbabilityProto) -> Bool { + if lhs.weight != rhs.weight {return false} + if lhs.maxDurationMs != rhs.maxDurationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenCombatSessionResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenCombatSessionResponseDataProto" +extension PartyHistoryRpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyHistoryRpcProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .standard(proto: "ob_open_combat_session_response"), + 1: .standard(proto: "party_id"), + 2: .standard(proto: "party_seed"), + 3: .standard(proto: "party_started_ms"), + 4: .standard(proto: "party_expiry_ms"), + 5: .standard(proto: "party_concluded_ms"), + 6: .standard(proto: "party_formed_ms"), + 7: .standard(proto: "players_participated"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -247979,47 +258129,60 @@ extension OpenCombatSessionResponseDataProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._obOpenCombatSessionResponse) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.partyID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.partySeed) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.partyStartedMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.partyExpiryMs) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.partyConcludedMs) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.partyFormedMs) }() + case 7: try { try decoder.decodeRepeatedMessageField(value: &self.playersParticipated) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.partyID != 0 { + try visitor.visitSingularInt64Field(value: self.partyID, fieldNumber: 1) + } + if self.partySeed != 0 { + try visitor.visitSingularInt64Field(value: self.partySeed, fieldNumber: 2) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if self.partyStartedMs != 0 { + try visitor.visitSingularInt64Field(value: self.partyStartedMs, fieldNumber: 3) + } + if self.partyExpiryMs != 0 { + try visitor.visitSingularInt64Field(value: self.partyExpiryMs, fieldNumber: 4) + } + if self.partyConcludedMs != 0 { + try visitor.visitSingularInt64Field(value: self.partyConcludedMs, fieldNumber: 5) + } + if self.partyFormedMs != 0 { + try visitor.visitSingularInt64Field(value: self.partyFormedMs, fieldNumber: 6) + } + if !self.playersParticipated.isEmpty { + try visitor.visitRepeatedMessageField(value: self.playersParticipated, fieldNumber: 7) } - try { if let v = self._obOpenCombatSessionResponse { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenCombatSessionResponseDataProto, rhs: OpenCombatSessionResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs._obOpenCombatSessionResponse != rhs._obOpenCombatSessionResponse {return false} + public static func ==(lhs: PartyHistoryRpcProto, rhs: PartyHistoryRpcProto) -> Bool { + if lhs.partyID != rhs.partyID {return false} + if lhs.partySeed != rhs.partySeed {return false} + if lhs.partyStartedMs != rhs.partyStartedMs {return false} + if lhs.partyExpiryMs != rhs.partyExpiryMs {return false} + if lhs.partyConcludedMs != rhs.partyConcludedMs {return false} + if lhs.partyFormedMs != rhs.partyFormedMs {return false} + if lhs.playersParticipated != rhs.playersParticipated {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenGiftLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenGiftLogEntry" +extension PartyIapBoostsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyIapBoostsSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "friend_codename"), - 3: .same(proto: "items"), - 4: .standard(proto: "pokemon_eggs"), + 1: .same(proto: "boost"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248028,172 +258191,71 @@ extension OpenGiftLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.friendCodename) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._items) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonEggs) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.boost) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if !self.friendCodename.isEmpty { - try visitor.visitSingularStringField(value: self.friendCodename, fieldNumber: 2) - } - try { if let v = self._items { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if !self.pokemonEggs.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokemonEggs, fieldNumber: 4) + if !self.boost.isEmpty { + try visitor.visitRepeatedMessageField(value: self.boost, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenGiftLogEntry, rhs: OpenGiftLogEntry) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.friendCodename != rhs.friendCodename {return false} - if lhs._items != rhs._items {return false} - if lhs.pokemonEggs != rhs.pokemonEggs {return false} + public static func ==(lhs: PartyIapBoostsSettingsProto, rhs: PartyIapBoostsSettingsProto) -> Bool { + if lhs.boost != rhs.boost {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenGiftLogEntry.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - ] -} - -extension OpenGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenGiftOutProto" +extension PartyIapBoostsSettingsProto.PartyIapBoostProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PartyIapBoostsSettingsProto.protoMessageName + ".PartyIapBoostProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "items"), - 3: .standard(proto: "egg_pokemon"), - 4: .standard(proto: "updated_friendship_data"), - 5: .standard(proto: "friend_profile"), + 1: .standard(proto: "supported_item_types"), + 2: .standard(proto: "percentage_duration"), ] - fileprivate class _StorageClass { - var _result: OpenGiftOutProto.Result = .unset - var _items: LootProto? = nil - var _eggPokemon: PokemonProto? = nil - var _updatedFriendshipData: FriendshipLevelDataProto? = nil - var _friendProfile: PlayerPublicProfileProto? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _result = source._result - _items = source._items - _eggPokemon = source._eggPokemon - _updatedFriendshipData = source._updatedFriendshipData - _friendProfile = source._friendProfile - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._items) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._eggPokemon) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._updatedFriendshipData) }() - case 5: try { try decoder.decodeSingularMessageField(value: &_storage._friendProfile) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.supportedItemTypes) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.percentageDuration) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._result != .unset { - try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) - } - try { if let v = _storage._items { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._eggPokemon { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try { if let v = _storage._updatedFriendshipData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - try { if let v = _storage._friendProfile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() + if self.supportedItemTypes != .unknown { + try visitor.visitSingularEnumField(value: self.supportedItemTypes, fieldNumber: 1) + } + if self.percentageDuration != 0 { + try visitor.visitSingularInt32Field(value: self.percentageDuration, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenGiftOutProto, rhs: OpenGiftOutProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._result != rhs_storage._result {return false} - if _storage._items != rhs_storage._items {return false} - if _storage._eggPokemon != rhs_storage._eggPokemon {return false} - if _storage._updatedFriendshipData != rhs_storage._updatedFriendshipData {return false} - if _storage._friendProfile != rhs_storage._friendProfile {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: PartyIapBoostsSettingsProto.PartyIapBoostProto, rhs: PartyIapBoostsSettingsProto.PartyIapBoostProto) -> Bool { + if lhs.supportedItemTypes != rhs.supportedItemTypes {return false} + if lhs.percentageDuration != rhs.percentageDuration {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_BAG_FULL"), - 4: .same(proto: "ERROR_PLAYER_LIMIT_REACHED"), - 5: .same(proto: "ERROR_GIFT_DOES_NOT_EXIST"), - 6: .same(proto: "ERROR_FRIEND_NOT_FOUND"), - 7: .same(proto: "ERROR_INVALID_PLAYER_ID"), - 8: .same(proto: "ERROR_FRIEND_UPDATE"), - ] -} - -extension OpenGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenGiftProto" +extension PartyItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "player_id"), - 2: .standard(proto: "giftbox_id"), - 3: .standard(proto: "convert_to_stardust"), + 2: .standard(proto: "party_item"), + 3: .standard(proto: "usage_start_ms"), + 4: .same(proto: "item"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248203,40 +258265,49 @@ extension OpenGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularUInt64Field(value: &self.giftboxID) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.convertToStardust) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._partyItem) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.usageStartMs) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.item) }() default: break } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 if !self.playerID.isEmpty { try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if self.giftboxID != 0 { - try visitor.visitSingularUInt64Field(value: self.giftboxID, fieldNumber: 2) + try { if let v = self._partyItem { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.usageStartMs != 0 { + try visitor.visitSingularInt64Field(value: self.usageStartMs, fieldNumber: 3) } - if self.convertToStardust != false { - try visitor.visitSingularBoolField(value: self.convertToStardust, fieldNumber: 3) + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenGiftProto, rhs: OpenGiftProto) -> Bool { + public static func ==(lhs: PartyItemProto, rhs: PartyItemProto) -> Bool { if lhs.playerID != rhs.playerID {return false} - if lhs.giftboxID != rhs.giftboxID {return false} - if lhs.convertToStardust != rhs.convertToStardust {return false} + if lhs._partyItem != rhs._partyItem {return false} + if lhs.usageStartMs != rhs.usageStartMs {return false} + if lhs.item != rhs.item {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenInvasionCombatSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenInvasionCombatSessionOutProto" +extension PartyLocationPushProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyLocationPushProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "combat"), + 1: .standard(proto: "player_id"), + 3: .standard(proto: "untrusted_sample_list"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248245,42 +258316,37 @@ extension OpenInvasionCombatSessionOutProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._combat) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.untrustedSampleList) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + } + if !self.untrustedSampleList.isEmpty { + try visitor.visitRepeatedMessageField(value: self.untrustedSampleList, fieldNumber: 3) } - try { if let v = self._combat { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenInvasionCombatSessionOutProto, rhs: OpenInvasionCombatSessionOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._combat != rhs._combat {return false} + public static func ==(lhs: PartyLocationPushProto, rhs: PartyLocationPushProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.untrustedSampleList != rhs.untrustedSampleList {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenInvasionCombatSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenInvasionCombatSessionProto" +extension PartyLocationSampleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyLocationSampleProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "incident_lookup"), - 2: .same(proto: "step"), - 3: .standard(proto: "attacking_pokemon_id"), - 4: .standard(proto: "lobby_join_time_ms"), + 1: .standard(proto: "timestamp_ms"), + 2: .same(proto: "lat"), + 3: .same(proto: "lng"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248289,51 +258355,40 @@ extension OpenInvasionCombatSessionProto: SwiftProtobuf.Message, SwiftProtobuf._ // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._incidentLookup) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.step) }() - case 3: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinTimeMs) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.lat) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.lng) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._incidentLookup { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.step != 0 { - try visitor.visitSingularInt32Field(value: self.step, fieldNumber: 2) + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 1) } - if !self.attackingPokemonID.isEmpty { - try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 3) + if self.lat != 0 { + try visitor.visitSingularDoubleField(value: self.lat, fieldNumber: 2) } - if self.lobbyJoinTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.lobbyJoinTimeMs, fieldNumber: 4) + if self.lng != 0 { + try visitor.visitSingularDoubleField(value: self.lng, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenInvasionCombatSessionProto, rhs: OpenInvasionCombatSessionProto) -> Bool { - if lhs._incidentLookup != rhs._incidentLookup {return false} - if lhs.step != rhs.step {return false} - if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} - if lhs.lobbyJoinTimeMs != rhs.lobbyJoinTimeMs {return false} + public static func ==(lhs: PartyLocationSampleProto, rhs: PartyLocationSampleProto) -> Bool { + if lhs.timestampMs != rhs.timestampMs {return false} + if lhs.lat != rhs.lat {return false} + if lhs.lng != rhs.lng {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenNpcCombatSessionDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenNpcCombatSessionDataProto" +extension PartyLocationsRpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyLocationsRpcProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_list_int32"), - 3: .standard(proto: "ob_uint32"), + 1: .standard(proto: "player_location"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248342,41 +258397,35 @@ extension OpenNpcCombatSessionDataProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.obListInt32) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.playerLocation) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if !self.obListInt32.isEmpty { - try visitor.visitPackedInt32Field(value: self.obListInt32, fieldNumber: 2) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 3) + if !self.playerLocation.isEmpty { + try visitor.visitRepeatedMessageField(value: self.playerLocation, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenNpcCombatSessionDataProto, rhs: OpenNpcCombatSessionDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obListInt32 != rhs.obListInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} + public static func ==(lhs: PartyLocationsRpcProto, rhs: PartyLocationsRpcProto) -> Bool { + if lhs.playerLocation != rhs.playerLocation {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenNpcCombatSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenNpcCombatSessionOutProto" +extension PartyLocationsRpcProto.PlayerLocationRpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PartyLocationsRpcProto.protoMessageName + ".PlayerLocationRpcProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "combat"), + 1: .standard(proto: "trusted_lat"), + 2: .standard(proto: "trusted_lng"), + 3: .standard(proto: "player_zone"), + 4: .standard(proto: "untrusted_samples"), + 5: .standard(proto: "last_update_timestamp_ms"), + 6: .standard(proto: "player_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248385,51 +258434,59 @@ extension OpenNpcCombatSessionOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._combat) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.trustedLat) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.trustedLng) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.playerZone) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.untrustedSamples) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.lastUpdateTimestampMs) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.playerID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.trustedLat != 0 { + try visitor.visitSingularDoubleField(value: self.trustedLat, fieldNumber: 1) + } + if self.trustedLng != 0 { + try visitor.visitSingularDoubleField(value: self.trustedLng, fieldNumber: 2) + } + if self.playerZone != .unsetZone { + try visitor.visitSingularEnumField(value: self.playerZone, fieldNumber: 3) + } + if !self.untrustedSamples.isEmpty { + try visitor.visitRepeatedMessageField(value: self.untrustedSamples, fieldNumber: 4) + } + if self.lastUpdateTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.lastUpdateTimestampMs, fieldNumber: 5) + } + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 6) } - try { if let v = self._combat { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenNpcCombatSessionOutProto, rhs: OpenNpcCombatSessionOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._combat != rhs._combat {return false} + public static func ==(lhs: PartyLocationsRpcProto.PlayerLocationRpcProto, rhs: PartyLocationsRpcProto.PlayerLocationRpcProto) -> Bool { + if lhs.trustedLat != rhs.trustedLat {return false} + if lhs.trustedLng != rhs.trustedLng {return false} + if lhs.playerZone != rhs.playerZone {return false} + if lhs.untrustedSamples != rhs.untrustedSamples {return false} + if lhs.lastUpdateTimestampMs != rhs.lastUpdateTimestampMs {return false} + if lhs.playerID != rhs.playerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenNpcCombatSessionOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), - 3: .same(proto: "ERROR_POKEMON_LINEUP_INELIGIBLE_FOR_LEAGUE"), - 4: .same(proto: "ERROR_ACCESS_DENIED"), - ] -} - -extension OpenNpcCombatSessionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenNpcCombatSessionProto" +extension PartyParticipantHistoryRpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyParticipantHistoryRpcProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "attacking_pokemon_id"), - 2: .standard(proto: "combat_npc_template_id"), - 3: .standard(proto: "lobby_join_time_ms"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "party_joined_ms"), + 3: .standard(proto: "party_left_ms"), + 4: .same(proto: "avatar"), + 5: .standard(proto: "neutral_avatar"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248438,60 +258495,95 @@ extension OpenNpcCombatSessionProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.combatNpcTemplateID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinTimeMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.partyJoinedMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.partyLeftMs) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._avatar) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._neutralAvatar) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.attackingPokemonID.isEmpty { - try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if !self.combatNpcTemplateID.isEmpty { - try visitor.visitSingularStringField(value: self.combatNpcTemplateID, fieldNumber: 2) + if self.partyJoinedMs != 0 { + try visitor.visitSingularInt64Field(value: self.partyJoinedMs, fieldNumber: 2) } - if self.lobbyJoinTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.lobbyJoinTimeMs, fieldNumber: 3) + if self.partyLeftMs != 0 { + try visitor.visitSingularInt64Field(value: self.partyLeftMs, fieldNumber: 3) } + try { if let v = self._avatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = self._neutralAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenNpcCombatSessionProto, rhs: OpenNpcCombatSessionProto) -> Bool { - if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} - if lhs.combatNpcTemplateID != rhs.combatNpcTemplateID {return false} - if lhs.lobbyJoinTimeMs != rhs.lobbyJoinTimeMs {return false} + public static func ==(lhs: PartyParticipantHistoryRpcProto, rhs: PartyParticipantHistoryRpcProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.partyJoinedMs != rhs.partyJoinedMs {return false} + if lhs.partyLeftMs != rhs.partyLeftMs {return false} + if lhs._avatar != rhs._avatar {return false} + if lhs._neutralAvatar != rhs._neutralAvatar {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenNpcCombatSessionResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenNpcCombatSessionResponseDataProto" +extension PartyParticipantProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyParticipantProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), - 4: .standard(proto: "ob_commun_web_combat_state"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "player_profile"), + 3: .standard(proto: "buddy_pokedex_id"), + 4: .standard(proto: "buddy_pokemon_display"), + 6: .standard(proto: "position_index"), + 7: .standard(proto: "is_host"), + 11: .standard(proto: "nia_account_id"), + 12: .standard(proto: "untrusted_location_samples"), + 13: .standard(proto: "is_minor"), + 14: .standard(proto: "player_join_time_ms"), + 15: .standard(proto: "participant_raid_info"), ] fileprivate class _StorageClass { - var _obInt32: Int32 = 0 - var _obUint32: UInt32 = 0 - var _result: OpenNpcCombatSessionOutProto.Result = .unset - var _obCommunWebCombatState: ObCommunWebCombatStateProto? = nil + var _playerID: String = String() + var _playerProfile: PlayerPublicProfileProto? = nil + var _buddyPokedexID: Int32 = 0 + var _buddyPokemonDisplay: PokemonDisplayProto? = nil + var _positionIndex: Int32 = 0 + var _isHost: Bool = false + var _niaAccountID: String = String() + var _untrustedLocationSamples: [PartyLocationSampleProto] = [] + var _isMinor: Bool = false + var _playerJoinTimeMs: Int64 = 0 + var _participantRaidInfo: PartyParticipantRaidInfoProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _obInt32 = source._obInt32 - _obUint32 = source._obUint32 - _result = source._result - _obCommunWebCombatState = source._obCommunWebCombatState + _playerID = source._playerID + _playerProfile = source._playerProfile + _buddyPokedexID = source._buddyPokedexID + _buddyPokemonDisplay = source._buddyPokemonDisplay + _positionIndex = source._positionIndex + _isHost = source._isHost + _niaAccountID = source._niaAccountID + _untrustedLocationSamples = source._untrustedLocationSamples + _isMinor = source._isMinor + _playerJoinTimeMs = source._playerJoinTimeMs + _participantRaidInfo = source._participantRaidInfo } } @@ -248510,10 +258602,17 @@ extension OpenNpcCombatSessionResponseDataProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &_storage._obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._obCommunWebCombatState) }() + case 1: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._playerProfile) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._buddyPokedexID) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._buddyPokemonDisplay) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._positionIndex) }() + case 7: try { try decoder.decodeSingularBoolField(value: &_storage._isHost) }() + case 11: try { try decoder.decodeSingularStringField(value: &_storage._niaAccountID) }() + case 12: try { try decoder.decodeRepeatedMessageField(value: &_storage._untrustedLocationSamples) }() + case 13: try { try decoder.decodeSingularBoolField(value: &_storage._isMinor) }() + case 14: try { try decoder.decodeSingularInt64Field(value: &_storage._playerJoinTimeMs) }() + case 15: try { try decoder.decodeSingularMessageField(value: &_storage._participantRaidInfo) }() default: break } } @@ -248526,31 +258625,59 @@ extension OpenNpcCombatSessionResponseDataProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._obInt32 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt32, fieldNumber: 1) - } - if _storage._obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: _storage._obUint32, fieldNumber: 2) + if !_storage._playerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 1) } - if _storage._result != .unset { - try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 3) + try { if let v = _storage._playerProfile { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if _storage._buddyPokedexID != 0 { + try visitor.visitSingularInt32Field(value: _storage._buddyPokedexID, fieldNumber: 3) } - try { if let v = _storage._obCommunWebCombatState { + try { if let v = _storage._buddyPokemonDisplay { try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() + if _storage._positionIndex != 0 { + try visitor.visitSingularInt32Field(value: _storage._positionIndex, fieldNumber: 6) + } + if _storage._isHost != false { + try visitor.visitSingularBoolField(value: _storage._isHost, fieldNumber: 7) + } + if !_storage._niaAccountID.isEmpty { + try visitor.visitSingularStringField(value: _storage._niaAccountID, fieldNumber: 11) + } + if !_storage._untrustedLocationSamples.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._untrustedLocationSamples, fieldNumber: 12) + } + if _storage._isMinor != false { + try visitor.visitSingularBoolField(value: _storage._isMinor, fieldNumber: 13) + } + if _storage._playerJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._playerJoinTimeMs, fieldNumber: 14) + } + try { if let v = _storage._participantRaidInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 15) + } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenNpcCombatSessionResponseDataProto, rhs: OpenNpcCombatSessionResponseDataProto) -> Bool { + public static func ==(lhs: PartyParticipantProto, rhs: PartyParticipantProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._obInt32 != rhs_storage._obInt32 {return false} - if _storage._obUint32 != rhs_storage._obUint32 {return false} - if _storage._result != rhs_storage._result {return false} - if _storage._obCommunWebCombatState != rhs_storage._obCommunWebCombatState {return false} + if _storage._playerID != rhs_storage._playerID {return false} + if _storage._playerProfile != rhs_storage._playerProfile {return false} + if _storage._buddyPokedexID != rhs_storage._buddyPokedexID {return false} + if _storage._buddyPokemonDisplay != rhs_storage._buddyPokemonDisplay {return false} + if _storage._positionIndex != rhs_storage._positionIndex {return false} + if _storage._isHost != rhs_storage._isHost {return false} + if _storage._niaAccountID != rhs_storage._niaAccountID {return false} + if _storage._untrustedLocationSamples != rhs_storage._untrustedLocationSamples {return false} + if _storage._isMinor != rhs_storage._isMinor {return false} + if _storage._playerJoinTimeMs != rhs_storage._playerJoinTimeMs {return false} + if _storage._participantRaidInfo != rhs_storage._participantRaidInfo {return false} return true } if !storagesAreEqual {return false} @@ -248560,11 +258687,17 @@ extension OpenNpcCombatSessionResponseDataProto: SwiftProtobuf.Message, SwiftPro } } -extension OpenSponsoredGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenSponsoredGiftOutProto" +extension PartyParticipantRaidInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyParticipantRaidInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "rewards"), + 1: .standard(proto: "raid_seed"), + 2: .standard(proto: "gym_id"), + 3: .standard(proto: "lobby_id"), + 4: .standard(proto: "raid_info"), + 5: .same(proto: "latitude"), + 6: .same(proto: "longitude"), + 7: .standard(proto: "lobby_creation_ms"), + 8: .standard(proto: "lobby_end_join_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248573,8 +258706,14 @@ extension OpenSponsoredGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._rewards) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 3: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._raidInfo) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.lobbyCreationMs) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &self.lobbyEndJoinMs) }() default: break } } @@ -248585,76 +258724,66 @@ extension OpenSponsoredGiftOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.raidSeed != 0 { + try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 1) } - try { if let v = self._rewards { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 2) + } + if !self.lobbyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 3) + } + try { if let v = self._raidInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: OpenSponsoredGiftOutProto, rhs: OpenSponsoredGiftOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._rewards != rhs._rewards {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension OpenSponsoredGiftOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_BAG_FULL"), - 4: .same(proto: "ERROR_GIFT_REDEEMED"), - ] -} - -extension OpenSponsoredGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenSponsoredGiftProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "encrypted_ad_token"), - 2: .standard(proto: "gift_token"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.encryptedAdToken) }() - case 2: try { try decoder.decodeSingularBytesField(value: &self.giftToken) }() - default: break - } + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 5) } - } - - public func traverse(visitor: inout V) throws { - if !self.encryptedAdToken.isEmpty { - try visitor.visitSingularBytesField(value: self.encryptedAdToken, fieldNumber: 1) + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 6) } - if !self.giftToken.isEmpty { - try visitor.visitSingularBytesField(value: self.giftToken, fieldNumber: 2) + if self.lobbyCreationMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyCreationMs, fieldNumber: 7) + } + if self.lobbyEndJoinMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyEndJoinMs, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenSponsoredGiftProto, rhs: OpenSponsoredGiftProto) -> Bool { - if lhs.encryptedAdToken != rhs.encryptedAdToken {return false} - if lhs.giftToken != rhs.giftToken {return false} + public static func ==(lhs: PartyParticipantRaidInfoProto, rhs: PartyParticipantRaidInfoProto) -> Bool { + if lhs.raidSeed != rhs.raidSeed {return false} + if lhs.gymID != rhs.gymID {return false} + if lhs.lobbyID != rhs.lobbyID {return false} + if lhs._raidInfo != rhs._raidInfo {return false} + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.lobbyCreationMs != rhs.lobbyCreationMs {return false} + if lhs.lobbyEndJoinMs != rhs.lobbyEndJoinMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenTradingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenTradingOutProto" +extension PartyPlayGeneralSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyPlayGeneralSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "trading"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "min_player_level"), + 3: .standard(proto: "creation_to_start_timeout_ms"), + 4: .standard(proto: "compliance_zones_enabled"), + 5: .standard(proto: "enable_party_raid_information"), + 6: .standard(proto: "fallback_stardust_count"), + 7: .standard(proto: "friend_requests_enabled"), + 8: .standard(proto: "party_expiry_duration_ms"), + 9: .standard(proto: "party_expiry_warning_minutes"), + 10: .standard(proto: "pokemon_catch_tags_enabled"), + 11: .standard(proto: "enabled_friend_status_increase"), + 12: .standard(proto: "restart_party_rejoin_prompt_enabled"), + 13: .standard(proto: "party_iap_boosts_enabled"), + 14: .standard(proto: "party_new_quest_notification_v2_enabled"), + 15: .standard(proto: "pg_delivery_mechanic"), + 16: .standard(proto: "party_catch_tags_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248663,61 +258792,123 @@ extension OpenTradingOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._trading) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.creationToStartTimeoutMs) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.complianceZonesEnabled) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.enablePartyRaidInformation) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.fallbackStardustCount) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.friendRequestsEnabled) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &self.partyExpiryDurationMs) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.partyExpiryWarningMinutes) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.pokemonCatchTagsEnabled) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.enabledFriendStatusIncrease) }() + case 12: try { try decoder.decodeSingularBoolField(value: &self.restartPartyRejoinPromptEnabled) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.partyIapBoostsEnabled) }() + case 14: try { try decoder.decodeSingularBoolField(value: &self.partyNewQuestNotificationV2Enabled) }() + case 15: try { try decoder.decodeSingularEnumField(value: &self.pgDeliveryMechanic) }() + case 16: try { try decoder.decodeSingularBoolField(value: &self.partyCatchTagsEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.minPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 2) + } + if self.creationToStartTimeoutMs != 0 { + try visitor.visitSingularInt64Field(value: self.creationToStartTimeoutMs, fieldNumber: 3) + } + if self.complianceZonesEnabled != false { + try visitor.visitSingularBoolField(value: self.complianceZonesEnabled, fieldNumber: 4) + } + if self.enablePartyRaidInformation != false { + try visitor.visitSingularBoolField(value: self.enablePartyRaidInformation, fieldNumber: 5) + } + if self.fallbackStardustCount != 0 { + try visitor.visitSingularInt32Field(value: self.fallbackStardustCount, fieldNumber: 6) + } + if self.friendRequestsEnabled != false { + try visitor.visitSingularBoolField(value: self.friendRequestsEnabled, fieldNumber: 7) + } + if self.partyExpiryDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.partyExpiryDurationMs, fieldNumber: 8) + } + if self.partyExpiryWarningMinutes != 0 { + try visitor.visitSingularInt32Field(value: self.partyExpiryWarningMinutes, fieldNumber: 9) + } + if self.pokemonCatchTagsEnabled != false { + try visitor.visitSingularBoolField(value: self.pokemonCatchTagsEnabled, fieldNumber: 10) + } + if self.enabledFriendStatusIncrease != false { + try visitor.visitSingularBoolField(value: self.enabledFriendStatusIncrease, fieldNumber: 11) + } + if self.restartPartyRejoinPromptEnabled != false { + try visitor.visitSingularBoolField(value: self.restartPartyRejoinPromptEnabled, fieldNumber: 12) + } + if self.partyIapBoostsEnabled != false { + try visitor.visitSingularBoolField(value: self.partyIapBoostsEnabled, fieldNumber: 13) + } + if self.partyNewQuestNotificationV2Enabled != false { + try visitor.visitSingularBoolField(value: self.partyNewQuestNotificationV2Enabled, fieldNumber: 14) + } + if self.pgDeliveryMechanic != .unset { + try visitor.visitSingularEnumField(value: self.pgDeliveryMechanic, fieldNumber: 15) + } + if self.partyCatchTagsEnabled != false { + try visitor.visitSingularBoolField(value: self.partyCatchTagsEnabled, fieldNumber: 16) } - try { if let v = self._trading { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OpenTradingOutProto, rhs: OpenTradingOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._trading != rhs._trading {return false} + public static func ==(lhs: PartyPlayGeneralSettingsProto, rhs: PartyPlayGeneralSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + if lhs.creationToStartTimeoutMs != rhs.creationToStartTimeoutMs {return false} + if lhs.complianceZonesEnabled != rhs.complianceZonesEnabled {return false} + if lhs.enablePartyRaidInformation != rhs.enablePartyRaidInformation {return false} + if lhs.fallbackStardustCount != rhs.fallbackStardustCount {return false} + if lhs.friendRequestsEnabled != rhs.friendRequestsEnabled {return false} + if lhs.partyExpiryDurationMs != rhs.partyExpiryDurationMs {return false} + if lhs.partyExpiryWarningMinutes != rhs.partyExpiryWarningMinutes {return false} + if lhs.pokemonCatchTagsEnabled != rhs.pokemonCatchTagsEnabled {return false} + if lhs.enabledFriendStatusIncrease != rhs.enabledFriendStatusIncrease {return false} + if lhs.restartPartyRejoinPromptEnabled != rhs.restartPartyRejoinPromptEnabled {return false} + if lhs.partyIapBoostsEnabled != rhs.partyIapBoostsEnabled {return false} + if lhs.partyNewQuestNotificationV2Enabled != rhs.partyNewQuestNotificationV2Enabled {return false} + if lhs.pgDeliveryMechanic != rhs.pgDeliveryMechanic {return false} + if lhs.partyCatchTagsEnabled != rhs.partyCatchTagsEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OpenTradingOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension PartyPlayGeneralSettingsProto.PgDeliveryMechanic: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_FRIEND_NOT_FOUND"), - 4: .same(proto: "ERROR_INVALID_PLAYER_ID"), - 5: .same(proto: "ERROR_INVALID_STATE"), - 6: .same(proto: "ERROR_STATE_HANDLER"), - 7: .same(proto: "ERROR_TRADING_EXPIRED"), - 8: .same(proto: "ERROR_TRADING_COOLDOWN"), - 9: .same(proto: "ERROR_PLAYER_ALREADY_OPENED"), - 10: .same(proto: "ERROR_FRIEND_OUT_OF_RANGE"), - 11: .same(proto: "ERROR_PLAYER_BELOW_MINIMUM_LEVEL"), - 12: .same(proto: "ERROR_PLAYER_REACHED_DAILY_LIMIT"), - 13: .same(proto: "ERROR_FRIEND_REACHED_DAILY_LIMIT"), - 14: .same(proto: "ERROR_PLAYER_NOT_ENOUGH_STARDUST"), - 15: .same(proto: "ERROR_FRIEND_NOT_ENOUGH_STARDUST"), - 16: .same(proto: "ERROR_FRIEND_BELOW_MINIMUM_LEVEL"), + 1: .same(proto: "FULL_PARTY"), + 2: .same(proto: "POLLING_BIT"), ] } -extension OpenTradingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OpenTradingProto" +extension PartyPlayGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyPlayGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), + 1: .standard(proto: "enable_parties"), + 2: .standard(proto: "num_digits_in_id"), + 3: .standard(proto: "push_gateway_enabled"), + 4: .standard(proto: "push_gateway_namespace"), + 5: .standard(proto: "max_party_members"), + 6: .standard(proto: "enable_location_updates"), + 7: .standard(proto: "client_location_min_distance_to_flush_mm"), + 8: .standard(proto: "client_location_min_time_to_flush_ms"), + 9: .standard(proto: "client_location_max_samples_per_request"), + 10: .standard(proto: "location_sample_expiry_time_ms"), + 11: .standard(proto: "enable_assembled_party_name_creator"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248726,82 +258917,86 @@ extension OpenTradingProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableParties) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numDigitsInID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.pushGatewayEnabled) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.pushGatewayNamespace) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxPartyMembers) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.enableLocationUpdates) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.clientLocationMinDistanceToFlushMm) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.clientLocationMinTimeToFlushMs) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.clientLocationMaxSamplesPerRequest) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &self.locationSampleExpiryTimeMs) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.enableAssembledPartyNameCreator) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + if self.enableParties != false { + try visitor.visitSingularBoolField(value: self.enableParties, fieldNumber: 1) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: OpenTradingProto, rhs: OpenTradingProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension OptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OptOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "categories"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.categories) }() - default: break - } + if self.numDigitsInID != 0 { + try visitor.visitSingularInt32Field(value: self.numDigitsInID, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - if !self.categories.isEmpty { - try visitor.visitRepeatedStringField(value: self.categories, fieldNumber: 1) + if self.pushGatewayEnabled != false { + try visitor.visitSingularBoolField(value: self.pushGatewayEnabled, fieldNumber: 3) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: OptOutProto, rhs: OptOutProto) -> Bool { - if lhs.categories != rhs.categories {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension OptProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OptProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if !self.pushGatewayNamespace.isEmpty { + try visitor.visitSingularStringField(value: self.pushGatewayNamespace, fieldNumber: 4) + } + if self.maxPartyMembers != 0 { + try visitor.visitSingularInt32Field(value: self.maxPartyMembers, fieldNumber: 5) + } + if self.enableLocationUpdates != false { + try visitor.visitSingularBoolField(value: self.enableLocationUpdates, fieldNumber: 6) + } + if self.clientLocationMinDistanceToFlushMm != 0 { + try visitor.visitSingularInt32Field(value: self.clientLocationMinDistanceToFlushMm, fieldNumber: 7) + } + if self.clientLocationMinTimeToFlushMs != 0 { + try visitor.visitSingularInt32Field(value: self.clientLocationMinTimeToFlushMs, fieldNumber: 8) + } + if self.clientLocationMaxSamplesPerRequest != 0 { + try visitor.visitSingularInt32Field(value: self.clientLocationMaxSamplesPerRequest, fieldNumber: 9) + } + if self.locationSampleExpiryTimeMs != 0 { + try visitor.visitSingularInt32Field(value: self.locationSampleExpiryTimeMs, fieldNumber: 10) + } + if self.enableAssembledPartyNameCreator != false { + try visitor.visitSingularBoolField(value: self.enableAssembledPartyNameCreator, fieldNumber: 11) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OptProto, rhs: OptProto) -> Bool { + public static func ==(lhs: PartyPlayGlobalSettingsProto, rhs: PartyPlayGlobalSettingsProto) -> Bool { + if lhs.enableParties != rhs.enableParties {return false} + if lhs.numDigitsInID != rhs.numDigitsInID {return false} + if lhs.pushGatewayEnabled != rhs.pushGatewayEnabled {return false} + if lhs.pushGatewayNamespace != rhs.pushGatewayNamespace {return false} + if lhs.maxPartyMembers != rhs.maxPartyMembers {return false} + if lhs.enableLocationUpdates != rhs.enableLocationUpdates {return false} + if lhs.clientLocationMinDistanceToFlushMm != rhs.clientLocationMinDistanceToFlushMm {return false} + if lhs.clientLocationMinTimeToFlushMs != rhs.clientLocationMinTimeToFlushMs {return false} + if lhs.clientLocationMaxSamplesPerRequest != rhs.clientLocationMaxSamplesPerRequest {return false} + if lhs.locationSampleExpiryTimeMs != rhs.locationSampleExpiryTimeMs {return false} + if lhs.enableAssembledPartyNameCreator != rhs.enableAssembledPartyNameCreator {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Option: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Option" +extension PartyPlayInvitationDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyPlayInvitationDetails" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "value"), + 1: .standard(proto: "party_id"), + 2: .standard(proto: "inviter_id"), + 3: .standard(proto: "inviter_nickname"), + 4: .standard(proto: "inviter_avatar"), + 5: .standard(proto: "party_seed"), + 6: .standard(proto: "inviter_neutral_avatar"), + 7: .same(proto: "id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248810,8 +259005,13 @@ extension Option: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBas // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._value) }() + case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.partyID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.inviterID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.inviterNickname) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._inviterAvatar) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.partySeed) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._inviterNeutralAvatar) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.id) }() default: break } } @@ -248822,28 +259022,48 @@ extension Option: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBas // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) + if !self.partyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.partyID, fieldNumber: 1) } - try { if let v = self._value { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + if !self.inviterID.isEmpty { + try visitor.visitSingularStringField(value: self.inviterID, fieldNumber: 2) + } + if !self.inviterNickname.isEmpty { + try visitor.visitSingularStringField(value: self.inviterNickname, fieldNumber: 3) + } + try { if let v = self._inviterAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.partySeed != 0 { + try visitor.visitSingularInt64Field(value: self.partySeed, fieldNumber: 5) + } + try { if let v = self._inviterNeutralAvatar { + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) } }() + if self.id != 0 { + try visitor.visitSingularInt64Field(value: self.id, fieldNumber: 7) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Option, rhs: Option) -> Bool { - if lhs.name != rhs.name {return false} - if lhs._value != rhs._value {return false} + public static func ==(lhs: PartyPlayInvitationDetails, rhs: PartyPlayInvitationDetails) -> Bool { + if lhs.partyID != rhs.partyID {return false} + if lhs.inviterID != rhs.inviterID {return false} + if lhs.inviterNickname != rhs.inviterNickname {return false} + if lhs._inviterAvatar != rhs._inviterAvatar {return false} + if lhs.partySeed != rhs.partySeed {return false} + if lhs._inviterNeutralAvatar != rhs._inviterNeutralAvatar {return false} + if lhs.id != rhs.id {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OutgoingFriendInviteDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OutgoingFriendInviteDisplayProto" +extension PartyPlayPreferences: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyPlayPreferences" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "invite"), - 2: .same(proto: "player"), + 1: .standard(proto: "share_location"), + 2: .standard(proto: "show_map_avatars"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248852,44 +259072,39 @@ extension OutgoingFriendInviteDisplayProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._invite) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._player) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.shareLocation) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.showMapAvatars) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._invite { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() + if self.shareLocation != false { + try visitor.visitSingularBoolField(value: self.shareLocation, fieldNumber: 1) + } + if self.showMapAvatars != false { + try visitor.visitSingularBoolField(value: self.showMapAvatars, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OutgoingFriendInviteDisplayProto, rhs: OutgoingFriendInviteDisplayProto) -> Bool { - if lhs._invite != rhs._invite {return false} - if lhs._player != rhs._player {return false} + public static func ==(lhs: PartyPlayPreferences, rhs: PartyPlayPreferences) -> Bool { + if lhs.shareLocation != rhs.shareLocation {return false} + if lhs.showMapAvatars != rhs.showMapAvatars {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OutgoingFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".OutgoingFriendInviteProto" +extension PartyQuestRpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyQuestRpcProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .standard(proto: "player_id"), - 3: .standard(proto: "created_ms"), - 4: .standard(proto: "invitation_type"), - 5: .standard(proto: "full_name"), - 6: .standard(proto: "nia_account_id"), + 2: .standard(proto: "party_quest_candidates"), + 3: .standard(proto: "active_quest_state"), + 4: .standard(proto: "player_unclaimed_quest_ids"), + 5: .standard(proto: "completed_quest_states"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248899,76 +259114,57 @@ extension OutgoingFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.createdMs) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.invitationType) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.fullName) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.partyQuestCandidates) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._activeQuestState) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.playerUnclaimedQuestIds) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.completedQuestStates) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .partyQuestUnknown { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 2) - } - if self.createdMs != 0 { - try visitor.visitSingularInt64Field(value: self.createdMs, fieldNumber: 3) - } - if self.invitationType != .unset { - try visitor.visitSingularEnumField(value: self.invitationType, fieldNumber: 4) + if !self.partyQuestCandidates.isEmpty { + try visitor.visitRepeatedMessageField(value: self.partyQuestCandidates, fieldNumber: 2) } - if !self.fullName.isEmpty { - try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 5) + try { if let v = self._activeQuestState { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if !self.playerUnclaimedQuestIds.isEmpty { + try visitor.visitRepeatedMessageField(value: self.playerUnclaimedQuestIds, fieldNumber: 4) } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 6) + if !self.completedQuestStates.isEmpty { + try visitor.visitRepeatedMessageField(value: self.completedQuestStates, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: OutgoingFriendInviteProto, rhs: OutgoingFriendInviteProto) -> Bool { + public static func ==(lhs: PartyQuestRpcProto, rhs: PartyQuestRpcProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.playerID != rhs.playerID {return false} - if lhs.createdMs != rhs.createdMs {return false} - if lhs.invitationType != rhs.invitationType {return false} - if lhs.fullName != rhs.fullName {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} + if lhs.partyQuestCandidates != rhs.partyQuestCandidates {return false} + if lhs._activeQuestState != rhs._activeQuestState {return false} + if lhs.playerUnclaimedQuestIds != rhs.playerUnclaimedQuestIds {return false} + if lhs.completedQuestStates != rhs.completedQuestStates {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension OutgoingFriendInviteProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "PENDING"), - 2: .same(proto: "CANCELLED"), - 3: .same(proto: "DECLINED"), - ] -} - -extension ParticipationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ParticipationProto" +extension PartyQuestStateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyQuestStateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "individual_damage_pokeballs"), - 2: .standard(proto: "team_damage_pokeballs"), - 3: .standard(proto: "gym_ownership_pokeballs"), - 4: .standard(proto: "base_pokeballs"), - 5: .standard(proto: "blue_percentage"), - 6: .standard(proto: "red_percentage"), - 7: .standard(proto: "yellow_percentage"), - 8: .standard(proto: "bonus_item_multiplier"), - 9: .standard(proto: "highest_friendship_milestone"), - 10: .standard(proto: "highest_friendship_pokeballs"), - 11: .standard(proto: "speed_completion_pokeballs"), - 12: .standard(proto: "speed_completion_mega_resource"), - 13: .standard(proto: "mega_resource_capped"), - 14: .standard(proto: "fort_powerup_pokeballs"), + 1: .standard(proto: "client_quest"), + 2: .standard(proto: "shared_progress"), + 3: .standard(proto: "player_quest_state"), + 4: .standard(proto: "claim_rewards_deadline_ms"), + 5: .standard(proto: "player_quest_states"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -248977,99 +259173,56 @@ extension ParticipationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.individualDamagePokeballs) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.teamDamagePokeballs) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.gymOwnershipPokeballs) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.basePokeballs) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.bluePercentage) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.redPercentage) }() - case 7: try { try decoder.decodeSingularDoubleField(value: &self.yellowPercentage) }() - case 8: try { try decoder.decodeSingularFloatField(value: &self.bonusItemMultiplier) }() - case 9: try { try decoder.decodeSingularEnumField(value: &self.highestFriendshipMilestone) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &self.highestFriendshipPokeballs) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &self.speedCompletionPokeballs) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &self.speedCompletionMegaResource) }() - case 13: try { try decoder.decodeSingularBoolField(value: &self.megaResourceCapped) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &self.fortPowerupPokeballs) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._clientQuest) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.sharedProgress) }() + case 3: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.playerQuestState) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.claimRewardsDeadlineMs) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.playerQuestStates) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.individualDamagePokeballs != 0 { - try visitor.visitSingularInt32Field(value: self.individualDamagePokeballs, fieldNumber: 1) - } - if self.teamDamagePokeballs != 0 { - try visitor.visitSingularInt32Field(value: self.teamDamagePokeballs, fieldNumber: 2) - } - if self.gymOwnershipPokeballs != 0 { - try visitor.visitSingularInt32Field(value: self.gymOwnershipPokeballs, fieldNumber: 3) - } - if self.basePokeballs != 0 { - try visitor.visitSingularInt32Field(value: self.basePokeballs, fieldNumber: 4) - } - if self.bluePercentage != 0 { - try visitor.visitSingularDoubleField(value: self.bluePercentage, fieldNumber: 5) - } - if self.redPercentage != 0 { - try visitor.visitSingularDoubleField(value: self.redPercentage, fieldNumber: 6) - } - if self.yellowPercentage != 0 { - try visitor.visitSingularDoubleField(value: self.yellowPercentage, fieldNumber: 7) - } - if self.bonusItemMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.bonusItemMultiplier, fieldNumber: 8) - } - if self.highestFriendshipMilestone != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: self.highestFriendshipMilestone, fieldNumber: 9) - } - if self.highestFriendshipPokeballs != 0 { - try visitor.visitSingularInt32Field(value: self.highestFriendshipPokeballs, fieldNumber: 10) - } - if self.speedCompletionPokeballs != 0 { - try visitor.visitSingularInt32Field(value: self.speedCompletionPokeballs, fieldNumber: 11) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._clientQuest { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.sharedProgress != 0 { + try visitor.visitSingularInt32Field(value: self.sharedProgress, fieldNumber: 2) } - if self.speedCompletionMegaResource != 0 { - try visitor.visitSingularInt32Field(value: self.speedCompletionMegaResource, fieldNumber: 12) + if !self.playerQuestState.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.playerQuestState, fieldNumber: 3) } - if self.megaResourceCapped != false { - try visitor.visitSingularBoolField(value: self.megaResourceCapped, fieldNumber: 13) + if self.claimRewardsDeadlineMs != 0 { + try visitor.visitSingularInt64Field(value: self.claimRewardsDeadlineMs, fieldNumber: 4) } - if self.fortPowerupPokeballs != 0 { - try visitor.visitSingularInt32Field(value: self.fortPowerupPokeballs, fieldNumber: 14) + if !self.playerQuestStates.isEmpty { + try visitor.visitRepeatedMessageField(value: self.playerQuestStates, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ParticipationProto, rhs: ParticipationProto) -> Bool { - if lhs.individualDamagePokeballs != rhs.individualDamagePokeballs {return false} - if lhs.teamDamagePokeballs != rhs.teamDamagePokeballs {return false} - if lhs.gymOwnershipPokeballs != rhs.gymOwnershipPokeballs {return false} - if lhs.basePokeballs != rhs.basePokeballs {return false} - if lhs.bluePercentage != rhs.bluePercentage {return false} - if lhs.redPercentage != rhs.redPercentage {return false} - if lhs.yellowPercentage != rhs.yellowPercentage {return false} - if lhs.bonusItemMultiplier != rhs.bonusItemMultiplier {return false} - if lhs.highestFriendshipMilestone != rhs.highestFriendshipMilestone {return false} - if lhs.highestFriendshipPokeballs != rhs.highestFriendshipPokeballs {return false} - if lhs.speedCompletionPokeballs != rhs.speedCompletionPokeballs {return false} - if lhs.speedCompletionMegaResource != rhs.speedCompletionMegaResource {return false} - if lhs.megaResourceCapped != rhs.megaResourceCapped {return false} - if lhs.fortPowerupPokeballs != rhs.fortPowerupPokeballs {return false} + public static func ==(lhs: PartyQuestStateProto, rhs: PartyQuestStateProto) -> Bool { + if lhs._clientQuest != rhs._clientQuest {return false} + if lhs.sharedProgress != rhs.sharedProgress {return false} + if lhs.playerQuestState != rhs.playerQuestState {return false} + if lhs.claimRewardsDeadlineMs != rhs.claimRewardsDeadlineMs {return false} + if lhs.playerQuestStates != rhs.playerQuestStates {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PartyPlayInvitationDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PartyPlayInvitationDetails" +extension PartyQuestStateProto.PlayerPartyQuestStateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PartyQuestStateProto.protoMessageName + ".PlayerPartyQuestStateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "party_id"), - 2: .standard(proto: "inviter_id"), - 3: .standard(proto: "inviter_nickname"), - 4: .standard(proto: "inviter_avatar"), - 5: .standard(proto: "party_seed"), + 1: .standard(proto: "player_status"), + 2: .standard(proto: "individual_progress"), + 3: .standard(proto: "player_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -249078,55 +259231,55 @@ extension PartyPlayInvitationDetails: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.partyID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.inviterID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.inviterNickname) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._inviterAvatar) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.partySeed) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.playerStatus) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.individualProgress) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.playerID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.partyID.isEmpty { - try visitor.visitPackedInt32Field(value: self.partyID, fieldNumber: 1) + if self.playerStatus != .playerUnknown { + try visitor.visitSingularEnumField(value: self.playerStatus, fieldNumber: 1) } - if !self.inviterID.isEmpty { - try visitor.visitSingularStringField(value: self.inviterID, fieldNumber: 2) - } - if !self.inviterNickname.isEmpty { - try visitor.visitSingularStringField(value: self.inviterNickname, fieldNumber: 3) + if self.individualProgress != 0 { + try visitor.visitSingularInt32Field(value: self.individualProgress, fieldNumber: 2) } - try { if let v = self._inviterAvatar { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() - if self.partySeed != 0 { - try visitor.visitSingularInt64Field(value: self.partySeed, fieldNumber: 5) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PartyPlayInvitationDetails, rhs: PartyPlayInvitationDetails) -> Bool { - if lhs.partyID != rhs.partyID {return false} - if lhs.inviterID != rhs.inviterID {return false} - if lhs.inviterNickname != rhs.inviterNickname {return false} - if lhs._inviterAvatar != rhs._inviterAvatar {return false} - if lhs.partySeed != rhs.partySeed {return false} + public static func ==(lhs: PartyQuestStateProto.PlayerPartyQuestStateProto, rhs: PartyQuestStateProto.PlayerPartyQuestStateProto) -> Bool { + if lhs.playerStatus != rhs.playerStatus {return false} + if lhs.individualProgress != rhs.individualProgress {return false} + if lhs.playerID != rhs.playerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PartyPlayLocationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PartyPlayLocationProto" +extension PartyQuestStateProto.PlayerPartyQuestStateProto.PlayerStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "PLAYER_UNKNOWN"), + 1: .same(proto: "PLAYER_WAITING_PARTY_QUEST_TO_START"), + 2: .same(proto: "PLAYER_ACTIVE"), + 3: .same(proto: "PLAYER_COMPLETED_PARTY_QUEST_AND_AWARDED"), + 4: .same(proto: "PLAYER_ABANDONED_PARTY_QUEST"), + 5: .same(proto: "PLAYER_COMPLETED_PARTY_QUEST"), + 6: .same(proto: "PLAYER_AWARDED"), + ] +} + +extension PartyRecommendationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyRecommendationSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .standard(proto: "ob_filed"), + 1: .same(proto: "mode"), + 2: .same(proto: "variance"), + 3: .standard(proto: "third_move_weight"), + 4: .standard(proto: "mega_evo_combat_rating_scale"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -249135,88 +259288,114 @@ extension PartyPlayLocationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obFiled) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.mode) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.variance) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.thirdMoveWeight) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.megaEvoCombatRatingScale) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + if self.mode != .unset { + try visitor.visitSingularEnumField(value: self.mode, fieldNumber: 1) + } + if self.variance != 0 { + try visitor.visitSingularFloatField(value: self.variance, fieldNumber: 2) + } + if self.thirdMoveWeight != 0 { + try visitor.visitSingularFloatField(value: self.thirdMoveWeight, fieldNumber: 3) } - if !self.obFiled.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obFiled, fieldNumber: 2) + if self.megaEvoCombatRatingScale != 0 { + try visitor.visitSingularFloatField(value: self.megaEvoCombatRatingScale, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PartyPlayLocationProto, rhs: PartyPlayLocationProto) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.obFiled != rhs.obFiled {return false} + public static func ==(lhs: PartyRecommendationSettingsProto, rhs: PartyRecommendationSettingsProto) -> Bool { + if lhs.mode != rhs.mode {return false} + if lhs.variance != rhs.variance {return false} + if lhs.thirdMoveWeight != rhs.thirdMoveWeight {return false} + if lhs.megaEvoCombatRatingScale != rhs.megaEvoCombatRatingScale {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PartyPlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PartyPlayProto" +extension PartyRecommendationSettingsProto.PartyRcommendationMode: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "PARTY_RECOMMENDATION_MODE_1"), + 2: .same(proto: "PARTY_RECOMMENDATION_MODE_2"), + 3: .same(proto: "PARTY_RECOMMENDATION_MODE_3"), + 4: .same(proto: "PARTY_RECOMMENDATION_MODE_4"), + ] +} + +extension PartyRpcProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyRpcProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_list_int32"), - 2: .standard(proto: "ob_int64_1"), - 3: .standard(proto: "ob_int64_2"), - 4: .standard(proto: "ob_int64_3"), - 5: .standard(proto: "ob_int64_4"), + 1: .standard(proto: "party_id"), + 2: .standard(proto: "party_start_ms"), + 3: .standard(proto: "party_end_ms"), + 4: .standard(proto: "party_creation_ms"), + 5: .standard(proto: "party_seed"), 6: .same(proto: "id"), 8: .same(proto: "status"), - 9: .standard(proto: "ob_global_setting"), - 11: .standard(proto: "ob_party_quest"), - 12: .standard(proto: "ob_int64"), - 13: .standard(proto: "ob_gm_55_settings"), - 14: .standard(proto: "ob_field"), - 16: .standard(proto: "ob_others"), - 17: .standard(proto: "ob_other"), - 18: .standard(proto: "ob_proto_flied"), + 9: .standard(proto: "global_settings_snapshot"), + 11: .standard(proto: "party_summary_stats"), + 12: .standard(proto: "party_start_deadline_ms"), + 13: .standard(proto: "party_quest_settings_snapshot"), + 14: .standard(proto: "party_quest"), + 16: .standard(proto: "participant_list"), + 17: .standard(proto: "party_activity_summary_proto"), + 18: .standard(proto: "participant_obfuscation_map"), + 19: .standard(proto: "client_display_host_index"), + 20: .standard(proto: "consummable_party_items"), ] fileprivate class _StorageClass { - var _obListInt32: [Int32] = [] - var _obInt641: Int64 = 0 - var _obInt642: Int64 = 0 - var _obInt643: Int64 = 0 - var _obInt644: Int64 = 0 + var _partyID: [Int32] = [] + var _partyStartMs: Int64 = 0 + var _partyEndMs: Int64 = 0 + var _partyCreationMs: Int64 = 0 + var _partySeed: Int64 = 0 var _id: Int64 = 0 var _status: PartyStatus = .partyUnknown - var _obGlobalSetting: ObNewGlobalSetting15? = nil - var _obPartyQuest: [ObPartyPlayQuestProto] = [] - var _obInt64: Int64 = 0 - var _obGm55Settings: GM55SettingsProto? = nil - var _obField: ObPartyPlayQuest2Proto? = nil - var _obOthers: [OBOtherPartyMode] = [] - var _obOther: OBOtherParty? = nil - var _obProtoFlied: [OBOtherPartyUnkProto] = [] + var _globalSettingsSnapshot: PartyPlayGlobalSettingsProto? = nil + var _partySummaryStats: [PartyActivityStatProto] = [] + var _partyStartDeadlineMs: Int64 = 0 + var _partyQuestSettingsSnapshot: PartySharedQuestSettingsProto? = nil + var _partyQuest: PartyQuestRpcProto? = nil + var _participantList: [PartyParticipantProto] = [] + var _partyActivitySummaryProto: PartyActivitySummaryProto? = nil + var _participantObfuscationMap: [PlayerObfuscationMapEntryProto] = [] + var _clientDisplayHostIndex: Int32 = 0 + var _consummablePartyItems: [PartyItemProto] = [] static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _obListInt32 = source._obListInt32 - _obInt641 = source._obInt641 - _obInt642 = source._obInt642 - _obInt643 = source._obInt643 - _obInt644 = source._obInt644 + _partyID = source._partyID + _partyStartMs = source._partyStartMs + _partyEndMs = source._partyEndMs + _partyCreationMs = source._partyCreationMs + _partySeed = source._partySeed _id = source._id _status = source._status - _obGlobalSetting = source._obGlobalSetting - _obPartyQuest = source._obPartyQuest - _obInt64 = source._obInt64 - _obGm55Settings = source._obGm55Settings - _obField = source._obField - _obOthers = source._obOthers - _obOther = source._obOther - _obProtoFlied = source._obProtoFlied + _globalSettingsSnapshot = source._globalSettingsSnapshot + _partySummaryStats = source._partySummaryStats + _partyStartDeadlineMs = source._partyStartDeadlineMs + _partyQuestSettingsSnapshot = source._partyQuestSettingsSnapshot + _partyQuest = source._partyQuest + _participantList = source._participantList + _partyActivitySummaryProto = source._partyActivitySummaryProto + _participantObfuscationMap = source._participantObfuscationMap + _clientDisplayHostIndex = source._clientDisplayHostIndex + _consummablePartyItems = source._consummablePartyItems } } @@ -249235,21 +259414,23 @@ extension PartyPlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedInt32Field(value: &_storage._obListInt32) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt641) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt642) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt643) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt644) }() + case 1: try { try decoder.decodeRepeatedInt32Field(value: &_storage._partyID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &_storage._partyStartMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &_storage._partyEndMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._partyCreationMs) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._partySeed) }() case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._id) }() case 8: try { try decoder.decodeSingularEnumField(value: &_storage._status) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._obGlobalSetting) }() - case 11: try { try decoder.decodeRepeatedMessageField(value: &_storage._obPartyQuest) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt64) }() - case 13: try { try decoder.decodeSingularMessageField(value: &_storage._obGm55Settings) }() - case 14: try { try decoder.decodeSingularMessageField(value: &_storage._obField) }() - case 16: try { try decoder.decodeRepeatedMessageField(value: &_storage._obOthers) }() - case 17: try { try decoder.decodeSingularMessageField(value: &_storage._obOther) }() - case 18: try { try decoder.decodeRepeatedMessageField(value: &_storage._obProtoFlied) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._globalSettingsSnapshot) }() + case 11: try { try decoder.decodeRepeatedMessageField(value: &_storage._partySummaryStats) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._partyStartDeadlineMs) }() + case 13: try { try decoder.decodeSingularMessageField(value: &_storage._partyQuestSettingsSnapshot) }() + case 14: try { try decoder.decodeSingularMessageField(value: &_storage._partyQuest) }() + case 16: try { try decoder.decodeRepeatedMessageField(value: &_storage._participantList) }() + case 17: try { try decoder.decodeSingularMessageField(value: &_storage._partyActivitySummaryProto) }() + case 18: try { try decoder.decodeRepeatedMessageField(value: &_storage._participantObfuscationMap) }() + case 19: try { try decoder.decodeSingularInt32Field(value: &_storage._clientDisplayHostIndex) }() + case 20: try { try decoder.decodeRepeatedMessageField(value: &_storage._consummablePartyItems) }() default: break } } @@ -249262,20 +259443,20 @@ extension PartyPlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._obListInt32.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._obListInt32, fieldNumber: 1) + if !_storage._partyID.isEmpty { + try visitor.visitPackedInt32Field(value: _storage._partyID, fieldNumber: 1) } - if _storage._obInt641 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt641, fieldNumber: 2) + if _storage._partyStartMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._partyStartMs, fieldNumber: 2) } - if _storage._obInt642 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt642, fieldNumber: 3) + if _storage._partyEndMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._partyEndMs, fieldNumber: 3) } - if _storage._obInt643 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt643, fieldNumber: 4) + if _storage._partyCreationMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._partyCreationMs, fieldNumber: 4) } - if _storage._obInt644 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt644, fieldNumber: 5) + if _storage._partySeed != 0 { + try visitor.visitSingularInt64Field(value: _storage._partySeed, fieldNumber: 5) } if _storage._id != 0 { try visitor.visitSingularInt64Field(value: _storage._id, fieldNumber: 6) @@ -249283,70 +259464,320 @@ extension PartyPlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement if _storage._status != .partyUnknown { try visitor.visitSingularEnumField(value: _storage._status, fieldNumber: 8) } - try { if let v = _storage._obGlobalSetting { + try { if let v = _storage._globalSettingsSnapshot { try visitor.visitSingularMessageField(value: v, fieldNumber: 9) } }() - if !_storage._obPartyQuest.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._obPartyQuest, fieldNumber: 11) + if !_storage._partySummaryStats.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._partySummaryStats, fieldNumber: 11) } - if _storage._obInt64 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt64, fieldNumber: 12) + if _storage._partyStartDeadlineMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._partyStartDeadlineMs, fieldNumber: 12) } - try { if let v = _storage._obGm55Settings { + try { if let v = _storage._partyQuestSettingsSnapshot { try visitor.visitSingularMessageField(value: v, fieldNumber: 13) } }() - try { if let v = _storage._obField { + try { if let v = _storage._partyQuest { try visitor.visitSingularMessageField(value: v, fieldNumber: 14) } }() - if !_storage._obOthers.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._obOthers, fieldNumber: 16) + if !_storage._participantList.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._participantList, fieldNumber: 16) } - try { if let v = _storage._obOther { + try { if let v = _storage._partyActivitySummaryProto { try visitor.visitSingularMessageField(value: v, fieldNumber: 17) } }() - if !_storage._obProtoFlied.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._obProtoFlied, fieldNumber: 18) + if !_storage._participantObfuscationMap.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._participantObfuscationMap, fieldNumber: 18) + } + if _storage._clientDisplayHostIndex != 0 { + try visitor.visitSingularInt32Field(value: _storage._clientDisplayHostIndex, fieldNumber: 19) + } + if !_storage._consummablePartyItems.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._consummablePartyItems, fieldNumber: 20) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PartyRpcProto, rhs: PartyRpcProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._partyID != rhs_storage._partyID {return false} + if _storage._partyStartMs != rhs_storage._partyStartMs {return false} + if _storage._partyEndMs != rhs_storage._partyEndMs {return false} + if _storage._partyCreationMs != rhs_storage._partyCreationMs {return false} + if _storage._partySeed != rhs_storage._partySeed {return false} + if _storage._id != rhs_storage._id {return false} + if _storage._status != rhs_storage._status {return false} + if _storage._globalSettingsSnapshot != rhs_storage._globalSettingsSnapshot {return false} + if _storage._partySummaryStats != rhs_storage._partySummaryStats {return false} + if _storage._partyStartDeadlineMs != rhs_storage._partyStartDeadlineMs {return false} + if _storage._partyQuestSettingsSnapshot != rhs_storage._partyQuestSettingsSnapshot {return false} + if _storage._partyQuest != rhs_storage._partyQuest {return false} + if _storage._participantList != rhs_storage._participantList {return false} + if _storage._partyActivitySummaryProto != rhs_storage._partyActivitySummaryProto {return false} + if _storage._participantObfuscationMap != rhs_storage._participantObfuscationMap {return false} + if _storage._clientDisplayHostIndex != rhs_storage._clientDisplayHostIndex {return false} + if _storage._consummablePartyItems != rhs_storage._consummablePartyItems {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PartySendDarkLaunchLogOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartySendDarkLaunchLogOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PartySendDarkLaunchLogOutProto, rhs: PartySendDarkLaunchLogOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PartySendDarkLaunchLogOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_DARK_LAUNCH_NOT_ENABLED_FOR_PLAYER"), + ] +} + +extension PartySendDarkLaunchLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartySendDarkLaunchLogProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "log_messages"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.logMessages) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.logMessages.isEmpty { + try visitor.visitRepeatedMessageField(value: self.logMessages, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PartySendDarkLaunchLogProto, rhs: PartySendDarkLaunchLogProto) -> Bool { + if lhs.logMessages != rhs.logMessages {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PartySharedQuestSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartySharedQuestSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "num_generated_shared_quests"), + 2: .standard(proto: "num_candidate_shared_quests"), + 3: .standard(proto: "shared_quest_selection_timeout_s"), + 4: .standard(proto: "shared_quest_claim_rewards_timeout_s"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numGeneratedSharedQuests) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numCandidateSharedQuests) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.sharedQuestSelectionTimeoutS) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.sharedQuestClaimRewardsTimeoutS) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.numGeneratedSharedQuests != 0 { + try visitor.visitSingularInt32Field(value: self.numGeneratedSharedQuests, fieldNumber: 1) + } + if self.numCandidateSharedQuests != 0 { + try visitor.visitSingularInt32Field(value: self.numCandidateSharedQuests, fieldNumber: 2) + } + if self.sharedQuestSelectionTimeoutS != 0 { + try visitor.visitSingularInt32Field(value: self.sharedQuestSelectionTimeoutS, fieldNumber: 3) + } + if self.sharedQuestClaimRewardsTimeoutS != 0 { + try visitor.visitSingularInt32Field(value: self.sharedQuestClaimRewardsTimeoutS, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PartySharedQuestSettingsProto, rhs: PartySharedQuestSettingsProto) -> Bool { + if lhs.numGeneratedSharedQuests != rhs.numGeneratedSharedQuests {return false} + if lhs.numCandidateSharedQuests != rhs.numCandidateSharedQuests {return false} + if lhs.sharedQuestSelectionTimeoutS != rhs.sharedQuestSelectionTimeoutS {return false} + if lhs.sharedQuestClaimRewardsTimeoutS != rhs.sharedQuestClaimRewardsTimeoutS {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PartySummarySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartySummarySettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_activities"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.playerActivities) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.playerActivities.isEmpty { + try visitor.visitRepeatedMessageField(value: self.playerActivities, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PartySummarySettingsProto, rhs: PartySummarySettingsProto) -> Bool { + if lhs.playerActivities != rhs.playerActivities {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PartyUpdateLocationOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyUpdateLocationOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PartyUpdateLocationOutProto, rhs: PartyUpdateLocationOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PartyUpdateLocationOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_FEATURE_DISABLED"), + 4: .same(proto: "ERROR_NOT_IN_PARTY"), + 5: .same(proto: "ERROR_REDIS_EXCEPTION"), + 6: .same(proto: "ERROR_LOCATION_RECORD_NOT_FOUND"), + 7: .same(proto: "ERROR_PLFE_REDIRECT_NEEDED"), + ] +} + +extension PartyUpdateLocationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyUpdateLocationProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 2: .standard(proto: "untrusted_sample_list"), + 3: .standard(proto: "is_dark_launch_request"), + 4: .standard(proto: "is_location_sharing_disabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.untrustedSampleList) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isDarkLaunchRequest) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isLocationSharingDisabled) }() + default: break } } - try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PartyPlayProto, rhs: PartyPlayProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._obListInt32 != rhs_storage._obListInt32 {return false} - if _storage._obInt641 != rhs_storage._obInt641 {return false} - if _storage._obInt642 != rhs_storage._obInt642 {return false} - if _storage._obInt643 != rhs_storage._obInt643 {return false} - if _storage._obInt644 != rhs_storage._obInt644 {return false} - if _storage._id != rhs_storage._id {return false} - if _storage._status != rhs_storage._status {return false} - if _storage._obGlobalSetting != rhs_storage._obGlobalSetting {return false} - if _storage._obPartyQuest != rhs_storage._obPartyQuest {return false} - if _storage._obInt64 != rhs_storage._obInt64 {return false} - if _storage._obGm55Settings != rhs_storage._obGm55Settings {return false} - if _storage._obField != rhs_storage._obField {return false} - if _storage._obOthers != rhs_storage._obOthers {return false} - if _storage._obOther != rhs_storage._obOther {return false} - if _storage._obProtoFlied != rhs_storage._obProtoFlied {return false} - return true - } - if !storagesAreEqual {return false} + public func traverse(visitor: inout V) throws { + if !self.untrustedSampleList.isEmpty { + try visitor.visitRepeatedMessageField(value: self.untrustedSampleList, fieldNumber: 2) + } + if self.isDarkLaunchRequest != false { + try visitor.visitSingularBoolField(value: self.isDarkLaunchRequest, fieldNumber: 3) + } + if self.isLocationSharingDisabled != false { + try visitor.visitSingularBoolField(value: self.isLocationSharingDisabled, fieldNumber: 4) } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PartyUpdateLocationProto, rhs: PartyUpdateLocationProto) -> Bool { + if lhs.untrustedSampleList != rhs.untrustedSampleList {return false} + if lhs.isDarkLaunchRequest != rhs.isDarkLaunchRequest {return false} + if lhs.isLocationSharingDisabled != rhs.isLocationSharingDisabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PartyRecommendationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PartyRecommendationSettingsProto" +extension PartyZoneDefinitionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyZoneDefinitionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "mode"), - 2: .same(proto: "variance"), - 3: .standard(proto: "third_move_weight"), - 4: .standard(proto: "mega_evo_combat_rating_scale"), + 1: .same(proto: "zone"), + 2: .standard(proto: "zone_radius_m"), + 3: .standard(proto: "party_status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -249355,49 +259786,78 @@ extension PartyRecommendationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.mode) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.variance) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.thirdMoveWeight) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.megaEvoCombatRatingScale) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.zone) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.zoneRadiusM) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.partyStatus) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.mode != .unset { - try visitor.visitSingularEnumField(value: self.mode, fieldNumber: 1) - } - if self.variance != 0 { - try visitor.visitSingularFloatField(value: self.variance, fieldNumber: 2) + if self.zone != .unsetZone { + try visitor.visitSingularEnumField(value: self.zone, fieldNumber: 1) } - if self.thirdMoveWeight != 0 { - try visitor.visitSingularFloatField(value: self.thirdMoveWeight, fieldNumber: 3) + if self.zoneRadiusM != 0 { + try visitor.visitSingularInt32Field(value: self.zoneRadiusM, fieldNumber: 2) } - if self.megaEvoCombatRatingScale != 0 { - try visitor.visitSingularFloatField(value: self.megaEvoCombatRatingScale, fieldNumber: 4) + if self.partyStatus != .partyUnknown { + try visitor.visitSingularEnumField(value: self.partyStatus, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PartyRecommendationSettingsProto, rhs: PartyRecommendationSettingsProto) -> Bool { - if lhs.mode != rhs.mode {return false} - if lhs.variance != rhs.variance {return false} - if lhs.thirdMoveWeight != rhs.thirdMoveWeight {return false} - if lhs.megaEvoCombatRatingScale != rhs.megaEvoCombatRatingScale {return false} + public static func ==(lhs: PartyZoneDefinitionProto, rhs: PartyZoneDefinitionProto) -> Bool { + if lhs.zone != rhs.zone {return false} + if lhs.zoneRadiusM != rhs.zoneRadiusM {return false} + if lhs.partyStatus != rhs.partyStatus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PartyRecommendationSettingsProto.PartyRcommendationMode: SwiftProtobuf._ProtoNameProviding { +extension PartyZonePushProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PartyZonePushProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "PARTY_RECOMMENDATION_MODE_1"), - 2: .same(proto: "PARTY_RECOMMENDATION_MODE_2"), - 3: .same(proto: "PARTY_RECOMMENDATION_MODE_3"), - 4: .same(proto: "PARTY_RECOMMENDATION_MODE_4"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "player_compliance_zone"), + 3: .standard(proto: "zone_update_timestamp_ms"), ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.playerComplianceZone) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.zoneUpdateTimestampMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + } + if self.playerComplianceZone != .unsetZone { + try visitor.visitSingularEnumField(value: self.playerComplianceZone, fieldNumber: 2) + } + if self.zoneUpdateTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.zoneUpdateTimestampMs, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PartyZonePushProto, rhs: PartyZonePushProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.playerComplianceZone != rhs.playerComplianceZone {return false} + if lhs.zoneUpdateTimestampMs != rhs.zoneUpdateTimestampMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } extension PasscodeRedeemTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -249720,8 +260180,8 @@ extension PasscodeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm extension PercentScrolledTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PercentScrolledTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "percent_scrolled_telemetry_double"), - 2: .standard(proto: "percent_scrolled_telemetry_string"), + 1: .same(proto: "percent"), + 2: .standard(proto: "menu_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -249730,26 +260190,26 @@ extension PercentScrolledTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularDoubleField(value: &self.percentScrolledTelemetryDouble) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.percentScrolledTelemetryString) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.percent) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.menuName) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.percentScrolledTelemetryDouble != 0 { - try visitor.visitSingularDoubleField(value: self.percentScrolledTelemetryDouble, fieldNumber: 1) + if self.percent != 0 { + try visitor.visitSingularDoubleField(value: self.percent, fieldNumber: 1) } - if !self.percentScrolledTelemetryString.isEmpty { - try visitor.visitSingularStringField(value: self.percentScrolledTelemetryString, fieldNumber: 2) + if !self.menuName.isEmpty { + try visitor.visitSingularStringField(value: self.menuName, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: PercentScrolledTelemetry, rhs: PercentScrolledTelemetry) -> Bool { - if lhs.percentScrolledTelemetryDouble != rhs.percentScrolledTelemetryDouble {return false} - if lhs.percentScrolledTelemetryString != rhs.percentScrolledTelemetryString {return false} + if lhs.percent != rhs.percent {return false} + if lhs.menuName != rhs.menuName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -249855,63 +260315,14 @@ extension PgoAsyncFileUploadCompleteProto: SwiftProtobuf.Message, SwiftProtobuf. } } -extension PhoneNumberCountryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PhoneNumberCountryProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "english_name"), - 2: .standard(proto: "localized_name"), - 3: .standard(proto: "country_code"), - 4: .standard(proto: "calling_code"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.englishName) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.localizedName) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.callingCode) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.englishName.isEmpty { - try visitor.visitSingularStringField(value: self.englishName, fieldNumber: 1) - } - if !self.localizedName.isEmpty { - try visitor.visitSingularStringField(value: self.localizedName, fieldNumber: 2) - } - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 3) - } - if !self.callingCode.isEmpty { - try visitor.visitSingularStringField(value: self.callingCode, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PhoneNumberCountryProto, rhs: PhoneNumberCountryProto) -> Bool { - if lhs.englishName != rhs.englishName {return false} - if lhs.localizedName != rhs.localizedName {return false} - if lhs.countryCode != rhs.countryCode {return false} - if lhs.callingCode != rhs.callingCode {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension PhotoRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PhotoRecord" +extension PhotoSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PhotoSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "creation_time_ms"), - 2: .standard(proto: "transient_photo_url"), - 3: .standard(proto: "photo_id"), - 4: .same(proto: "status"), + 1: .standard(proto: "screen_capture_size"), + 2: .standard(proto: "is_iris_enabled"), + 3: .standard(proto: "is_iris_autoplace_enabled"), + 4: .standard(proto: "is_iris_social_enabled"), + 5: .standard(proto: "iris_flags"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -249920,77 +260331,41 @@ extension PhotoRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.creationTimeMs) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.transientPhotoURL) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.photoID) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.screenCaptureSize) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isIrisEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isIrisAutoplaceEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isIrisSocialEnabled) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.irisFlags) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.creationTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.creationTimeMs, fieldNumber: 1) - } - if !self.transientPhotoURL.isEmpty { - try visitor.visitSingularStringField(value: self.transientPhotoURL, fieldNumber: 2) + if self.screenCaptureSize != 0 { + try visitor.visitSingularFloatField(value: self.screenCaptureSize, fieldNumber: 1) } - if !self.photoID.isEmpty { - try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 3) + if self.isIrisEnabled != false { + try visitor.visitSingularBoolField(value: self.isIrisEnabled, fieldNumber: 2) } - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 4) + if self.isIrisAutoplaceEnabled != false { + try visitor.visitSingularBoolField(value: self.isIrisAutoplaceEnabled, fieldNumber: 3) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PhotoRecord, rhs: PhotoRecord) -> Bool { - if lhs.creationTimeMs != rhs.creationTimeMs {return false} - if lhs.transientPhotoURL != rhs.transientPhotoURL {return false} - if lhs.photoID != rhs.photoID {return false} - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension PhotoRecord.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "PHOTO_FLAGGED"), - 3: .same(proto: "ERROR_UNKNOWN"), - ] -} - -extension PhotoSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PhotoSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "resolution_save_multiplier"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.resolutionSaveMultiplier) }() - default: break - } + if self.isIrisSocialEnabled != false { + try visitor.visitSingularBoolField(value: self.isIrisSocialEnabled, fieldNumber: 4) } - } - - public func traverse(visitor: inout V) throws { - if self.resolutionSaveMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.resolutionSaveMultiplier, fieldNumber: 1) + if self.irisFlags != 0 { + try visitor.visitSingularInt32Field(value: self.irisFlags, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: PhotoSettingsProto, rhs: PhotoSettingsProto) -> Bool { - if lhs.resolutionSaveMultiplier != rhs.resolutionSaveMultiplier {return false} + if lhs.screenCaptureSize != rhs.screenCaptureSize {return false} + if lhs.isIrisEnabled != rhs.isIrisEnabled {return false} + if lhs.isIrisAutoplaceEnabled != rhs.isIrisAutoplaceEnabled {return false} + if lhs.isIrisSocialEnabled != rhs.isIrisSocialEnabled {return false} + if lhs.irisFlags != rhs.irisFlags {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -250128,12 +260503,11 @@ extension PingResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem } } -extension PixelPointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PixelPointProto" +extension PlacedPokemonUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlacedPokemonUpdateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pixel_x"), - 2: .standard(proto: "pixel_y"), - 3: .standard(proto: "zoom_level"), + 1: .standard(proto: "update_type"), + 2: .standard(proto: "updated_pokemon_placement"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -250142,40 +260516,101 @@ extension PixelPointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.pixelX) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.pixelY) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.zoomLevel) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.updateType) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._updatedPokemonPlacement) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pixelX != 0 { - try visitor.visitSingularInt32Field(value: self.pixelX, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.updateType != .unset { + try visitor.visitSingularEnumField(value: self.updateType, fieldNumber: 1) + } + try { if let v = self._updatedPokemonPlacement { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlacedPokemonUpdateProto, rhs: PlacedPokemonUpdateProto) -> Bool { + if lhs.updateType != rhs.updateType {return false} + if lhs._updatedPokemonPlacement != rhs._updatedPokemonPlacement {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlacedPokemonUpdateProto.PlacementUpdateType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "ADD"), + 2: .same(proto: "EDIT"), + 3: .same(proto: "REMOVE"), + ] +} + +extension PlannedDowntimeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlannedDowntimeSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "downtime_timestamp_ms"), + 2: .standard(proto: "no_actions_window_sec_from_downtime"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.downtimeTimestampMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.noActionsWindowSecFromDowntime) }() + default: break + } } - if self.pixelY != 0 { - try visitor.visitSingularInt32Field(value: self.pixelY, fieldNumber: 2) + } + + public func traverse(visitor: inout V) throws { + if self.downtimeTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.downtimeTimestampMs, fieldNumber: 1) } - if self.zoomLevel != 0 { - try visitor.visitSingularInt32Field(value: self.zoomLevel, fieldNumber: 3) + if self.noActionsWindowSecFromDowntime != 0 { + try visitor.visitSingularInt64Field(value: self.noActionsWindowSecFromDowntime, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PixelPointProto, rhs: PixelPointProto) -> Bool { - if lhs.pixelX != rhs.pixelX {return false} - if lhs.pixelY != rhs.pixelY {return false} - if lhs.zoomLevel != rhs.zoomLevel {return false} + public static func ==(lhs: PlannedDowntimeSettingsProto, rhs: PlannedDowntimeSettingsProto) -> Bool { + if lhs.downtimeTimestampMs != rhs.downtimeTimestampMs {return false} + if lhs.noActionsWindowSecFromDowntime != rhs.noActionsWindowSecFromDowntime {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PlaceholderMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PlaceholderMessage" +extension PlatformCommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformCommonFilterProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "placeholder"), + 1: .standard(proto: "application_identifier"), + 2: .standard(proto: "operating_system_name"), + 3: .standard(proto: "device_model"), + 4: .standard(proto: "locale_country_code"), + 5: .standard(proto: "locale_language_code"), + 6: .standard(proto: "sampling_probability"), + 7: .standard(proto: "quality_level"), + 8: .standard(proto: "network_connectivity_type"), + 9: .standard(proto: "game_context"), + 10: .standard(proto: "language_code"), + 11: .same(proto: "timezone"), + 12: .standard(proto: "ip_country_code"), + 17: .standard(proto: "graphics_device_vendor"), + 18: .standard(proto: "graphics_device_name"), + 19: .standard(proto: "graphics_device_type"), + 20: .standard(proto: "graphics_shader_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -250184,33 +260619,107 @@ extension PlaceholderMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.placeholder) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.applicationIdentifier) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.operatingSystemName) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.localeCountryCode) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.localeLanguageCode) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.samplingProbability) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.qualityLevel) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.networkConnectivityType) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.gameContext) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.timezone) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.ipCountryCode) }() + case 17: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceVendor) }() + case 18: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceName) }() + case 19: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceType) }() + case 20: try { try decoder.decodeSingularStringField(value: &self.graphicsShaderLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.placeholder.isEmpty { - try visitor.visitSingularStringField(value: self.placeholder, fieldNumber: 1) + if !self.applicationIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.applicationIdentifier, fieldNumber: 1) + } + if !self.operatingSystemName.isEmpty { + try visitor.visitSingularStringField(value: self.operatingSystemName, fieldNumber: 2) + } + if !self.deviceModel.isEmpty { + try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 3) + } + if !self.localeCountryCode.isEmpty { + try visitor.visitSingularStringField(value: self.localeCountryCode, fieldNumber: 4) + } + if !self.localeLanguageCode.isEmpty { + try visitor.visitSingularStringField(value: self.localeLanguageCode, fieldNumber: 5) + } + if self.samplingProbability != 0 { + try visitor.visitSingularDoubleField(value: self.samplingProbability, fieldNumber: 6) + } + if !self.qualityLevel.isEmpty { + try visitor.visitSingularStringField(value: self.qualityLevel, fieldNumber: 7) + } + if !self.networkConnectivityType.isEmpty { + try visitor.visitSingularStringField(value: self.networkConnectivityType, fieldNumber: 8) + } + if !self.gameContext.isEmpty { + try visitor.visitSingularStringField(value: self.gameContext, fieldNumber: 9) + } + if !self.languageCode.isEmpty { + try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 10) + } + if !self.timezone.isEmpty { + try visitor.visitSingularStringField(value: self.timezone, fieldNumber: 11) + } + if !self.ipCountryCode.isEmpty { + try visitor.visitSingularStringField(value: self.ipCountryCode, fieldNumber: 12) + } + if !self.graphicsDeviceVendor.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceVendor, fieldNumber: 17) + } + if !self.graphicsDeviceName.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceName, fieldNumber: 18) + } + if !self.graphicsDeviceType.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsDeviceType, fieldNumber: 19) + } + if !self.graphicsShaderLevel.isEmpty { + try visitor.visitSingularStringField(value: self.graphicsShaderLevel, fieldNumber: 20) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PlaceholderMessage, rhs: PlaceholderMessage) -> Bool { - if lhs.placeholder != rhs.placeholder {return false} + public static func ==(lhs: PlatformCommonFilterProto, rhs: PlatformCommonFilterProto) -> Bool { + if lhs.applicationIdentifier != rhs.applicationIdentifier {return false} + if lhs.operatingSystemName != rhs.operatingSystemName {return false} + if lhs.deviceModel != rhs.deviceModel {return false} + if lhs.localeCountryCode != rhs.localeCountryCode {return false} + if lhs.localeLanguageCode != rhs.localeLanguageCode {return false} + if lhs.samplingProbability != rhs.samplingProbability {return false} + if lhs.qualityLevel != rhs.qualityLevel {return false} + if lhs.networkConnectivityType != rhs.networkConnectivityType {return false} + if lhs.gameContext != rhs.gameContext {return false} + if lhs.languageCode != rhs.languageCode {return false} + if lhs.timezone != rhs.timezone {return false} + if lhs.ipCountryCode != rhs.ipCountryCode {return false} + if lhs.graphicsDeviceVendor != rhs.graphicsDeviceVendor {return false} + if lhs.graphicsDeviceName != rhs.graphicsDeviceName {return false} + if lhs.graphicsDeviceType != rhs.graphicsDeviceType {return false} + if lhs.graphicsShaderLevel != rhs.graphicsShaderLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PlacementAccuracy: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PlacementAccuracy" +extension PlatformFetchNewsfeedRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformFetchNewsfeedRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "horizontalSDMeters"), - 2: .same(proto: "verticalSDMeters"), - 3: .same(proto: "horizontalAngleSDRads"), - 4: .same(proto: "verticalAngleSDRads"), + 1: .standard(proto: "newsfeed_channel"), + 2: .standard(proto: "language_version"), + 3: .standard(proto: "country_code"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -250219,46 +260728,77 @@ extension PlacementAccuracy: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.horizontalSdmeters) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.verticalSdmeters) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.horizontalAngleSdrads) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.verticalAngleSdrads) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.newsfeedChannel) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.languageVersion) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.horizontalSdmeters != 0 { - try visitor.visitSingularFloatField(value: self.horizontalSdmeters, fieldNumber: 1) + if !self.newsfeedChannel.isEmpty { + try visitor.visitPackedEnumField(value: self.newsfeedChannel, fieldNumber: 1) + } + if !self.languageVersion.isEmpty { + try visitor.visitSingularStringField(value: self.languageVersion, fieldNumber: 2) } - if self.verticalSdmeters != 0 { - try visitor.visitSingularFloatField(value: self.verticalSdmeters, fieldNumber: 2) + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 3) } - if self.horizontalAngleSdrads != 0 { - try visitor.visitSingularFloatField(value: self.horizontalAngleSdrads, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlatformFetchNewsfeedRequest, rhs: PlatformFetchNewsfeedRequest) -> Bool { + if lhs.newsfeedChannel != rhs.newsfeedChannel {return false} + if lhs.languageVersion != rhs.languageVersion {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlatformMarkNewsfeedReadRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformMarkNewsfeedReadRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "newsfeed_post_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.newsfeedPostID) }() + default: break + } } - if self.verticalAngleSdrads != 0 { - try visitor.visitSingularFloatField(value: self.verticalAngleSdrads, fieldNumber: 4) + } + + public func traverse(visitor: inout V) throws { + if !self.newsfeedPostID.isEmpty { + try visitor.visitRepeatedStringField(value: self.newsfeedPostID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PlacementAccuracy, rhs: PlacementAccuracy) -> Bool { - if lhs.horizontalSdmeters != rhs.horizontalSdmeters {return false} - if lhs.verticalSdmeters != rhs.verticalSdmeters {return false} - if lhs.horizontalAngleSdrads != rhs.horizontalAngleSdrads {return false} - if lhs.verticalAngleSdrads != rhs.verticalAngleSdrads {return false} + public static func ==(lhs: PlatformMarkNewsfeedReadRequest, rhs: PlatformMarkNewsfeedReadRequest) -> Bool { + if lhs.newsfeedPostID != rhs.newsfeedPostID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PlannedDowntimeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PlannedDowntimeSettingsProto" +extension PlatformMetricData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformMetricData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "downtime_timestamp_ms"), - 2: .standard(proto: "no_actions_window_sec_from_downtime"), + 2: .standard(proto: "long_value"), + 3: .standard(proto: "double_value"), + 4: .standard(proto: "boolean_value"), + 5: .same(proto: "distribution"), + 1: .standard(proto: "common_telemetry"), + 6: .standard(proto: "metric_kind"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -250267,26 +260807,702 @@ extension PlannedDowntimeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.downtimeTimestampMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.noActionsWindowSecFromDowntime) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._commonTelemetry) }() + case 2: try { + var v: Int64? + try decoder.decodeSingularInt64Field(value: &v) + if let v = v { + if self.datapointValue != nil {try decoder.handleConflictingOneOf()} + self.datapointValue = .longValue(v) + } + }() + case 3: try { + var v: Double? + try decoder.decodeSingularDoubleField(value: &v) + if let v = v { + if self.datapointValue != nil {try decoder.handleConflictingOneOf()} + self.datapointValue = .doubleValue(v) + } + }() + case 4: try { + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) + if let v = v { + if self.datapointValue != nil {try decoder.handleConflictingOneOf()} + self.datapointValue = .booleanValue(v) + } + }() + case 5: try { + var v: Distribution? + var hadOneofValue = false + if let current = self.datapointValue { + hadOneofValue = true + if case .distribution(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.datapointValue = .distribution(v) + } + }() + case 6: try { try decoder.decodeSingularEnumField(value: &self.metricKind) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.downtimeTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.downtimeTimestampMs, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._commonTelemetry { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + switch self.datapointValue { + case .longValue?: try { + guard case .longValue(let v)? = self.datapointValue else { preconditionFailure() } + try visitor.visitSingularInt64Field(value: v, fieldNumber: 2) + }() + case .doubleValue?: try { + guard case .doubleValue(let v)? = self.datapointValue else { preconditionFailure() } + try visitor.visitSingularDoubleField(value: v, fieldNumber: 3) + }() + case .booleanValue?: try { + guard case .booleanValue(let v)? = self.datapointValue else { preconditionFailure() } + try visitor.visitSingularBoolField(value: v, fieldNumber: 4) + }() + case .distribution?: try { + guard case .distribution(let v)? = self.datapointValue else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case nil: break } - if self.noActionsWindowSecFromDowntime != 0 { - try visitor.visitSingularInt64Field(value: self.noActionsWindowSecFromDowntime, fieldNumber: 2) + if self.metricKind != .unspecified { + try visitor.visitSingularEnumField(value: self.metricKind, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PlannedDowntimeSettingsProto, rhs: PlannedDowntimeSettingsProto) -> Bool { - if lhs.downtimeTimestampMs != rhs.downtimeTimestampMs {return false} - if lhs.noActionsWindowSecFromDowntime != rhs.noActionsWindowSecFromDowntime {return false} + public static func ==(lhs: PlatformMetricData, rhs: PlatformMetricData) -> Bool { + if lhs.datapointValue != rhs.datapointValue {return false} + if lhs._commonTelemetry != rhs._commonTelemetry {return false} + if lhs.metricKind != rhs.metricKind {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlatformMetricData.Kind: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSPECIFIED"), + 1: .same(proto: "GAUGE"), + 2: .same(proto: "DELTA"), + 3: .same(proto: "CUMULATIVE"), + ] +} + +extension PlatformPlayerInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformPlayerInfo" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "identity_provider"), + 2: .standard(proto: "profile_creation_timestamp_ms"), + 3: .standard(proto: "player_level"), + 4: .standard(proto: "team_id"), + 5: .standard(proto: "lifetime_km_walked"), + 6: .standard(proto: "lifetime_steps_walked"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.identityProvider) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.profileCreationTimestampMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.playerLevel) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.teamID) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.lifetimeKmWalked) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.lifetimeStepsWalked) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.identityProvider.isEmpty { + try visitor.visitSingularStringField(value: self.identityProvider, fieldNumber: 1) + } + if self.profileCreationTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.profileCreationTimestampMs, fieldNumber: 2) + } + if self.playerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.playerLevel, fieldNumber: 3) + } + if self.teamID != 0 { + try visitor.visitSingularInt32Field(value: self.teamID, fieldNumber: 4) + } + if self.lifetimeKmWalked != 0 { + try visitor.visitSingularDoubleField(value: self.lifetimeKmWalked, fieldNumber: 5) + } + if self.lifetimeStepsWalked != 0 { + try visitor.visitSingularInt64Field(value: self.lifetimeStepsWalked, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlatformPlayerInfo, rhs: PlatformPlayerInfo) -> Bool { + if lhs.identityProvider != rhs.identityProvider {return false} + if lhs.profileCreationTimestampMs != rhs.profileCreationTimestampMs {return false} + if lhs.playerLevel != rhs.playerLevel {return false} + if lhs.teamID != rhs.teamID {return false} + if lhs.lifetimeKmWalked != rhs.lifetimeKmWalked {return false} + if lhs.lifetimeStepsWalked != rhs.lifetimeStepsWalked {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlatformPreAgeGateTrackingOmniproto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformPreAgeGateTrackingOmniproto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "age_gate_startup"), + 2: .standard(proto: "age_gate_result"), + 1000: .standard(proto: "pre_age_gate_metadata"), + 1002: .standard(proto: "common_filters"), + ] + + fileprivate class _StorageClass { + var _platformPreAgeGateEvent: PlatformPreAgeGateTrackingOmniproto.OneOf_PlatformPreAgeGateEvent? + var _preAgeGateMetadata: PreAgeGateMetadata? = nil + var _commonFilters: ClientTelemetryCommonFilterProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _platformPreAgeGateEvent = source._platformPreAgeGateEvent + _preAgeGateMetadata = source._preAgeGateMetadata + _commonFilters = source._commonFilters + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { + var v: AgeGateStartup? + var hadOneofValue = false + if let current = _storage._platformPreAgeGateEvent { + hadOneofValue = true + if case .ageGateStartup(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._platformPreAgeGateEvent = .ageGateStartup(v) + } + }() + case 2: try { + var v: AgeGateResult? + var hadOneofValue = false + if let current = _storage._platformPreAgeGateEvent { + hadOneofValue = true + if case .ageGateResult(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._platformPreAgeGateEvent = .ageGateResult(v) + } + }() + case 1000: try { try decoder.decodeSingularMessageField(value: &_storage._preAgeGateMetadata) }() + case 1002: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch _storage._platformPreAgeGateEvent { + case .ageGateStartup?: try { + guard case .ageGateStartup(let v)? = _storage._platformPreAgeGateEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .ageGateResult?: try { + guard case .ageGateResult(let v)? = _storage._platformPreAgeGateEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case nil: break + } + try { if let v = _storage._preAgeGateMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1000) + } }() + try { if let v = _storage._commonFilters { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) + } }() + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlatformPreAgeGateTrackingOmniproto, rhs: PlatformPreAgeGateTrackingOmniproto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._platformPreAgeGateEvent != rhs_storage._platformPreAgeGateEvent {return false} + if _storage._preAgeGateMetadata != rhs_storage._preAgeGateMetadata {return false} + if _storage._commonFilters != rhs_storage._commonFilters {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlatformPreLoginTrackingOmniproto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformPreLoginTrackingOmniproto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "login_startup"), + 2: .standard(proto: "login_new_player"), + 3: .standard(proto: "login_returning_player"), + 4: .standard(proto: "login_new_player_create_account"), + 5: .standard(proto: "login_returning_player_sign_in"), + 1001: .standard(proto: "pre_login_metadata"), + 1002: .standard(proto: "common_filters"), + ] + + fileprivate class _StorageClass { + var _platformPreLoginEvent: PlatformPreLoginTrackingOmniproto.OneOf_PlatformPreLoginEvent? + var _preLoginMetadata: PreLoginMetadata? = nil + var _commonFilters: ClientTelemetryCommonFilterProto? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _platformPreLoginEvent = source._platformPreLoginEvent + _preLoginMetadata = source._preLoginMetadata + _commonFilters = source._commonFilters + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + + public mutating func decodeMessage(decoder: inout D) throws { + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { + var v: LoginStartup? + var hadOneofValue = false + if let current = _storage._platformPreLoginEvent { + hadOneofValue = true + if case .loginStartup(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._platformPreLoginEvent = .loginStartup(v) + } + }() + case 2: try { + var v: LoginNewPlayer? + var hadOneofValue = false + if let current = _storage._platformPreLoginEvent { + hadOneofValue = true + if case .loginNewPlayer(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._platformPreLoginEvent = .loginNewPlayer(v) + } + }() + case 3: try { + var v: LoginReturningPlayer? + var hadOneofValue = false + if let current = _storage._platformPreLoginEvent { + hadOneofValue = true + if case .loginReturningPlayer(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._platformPreLoginEvent = .loginReturningPlayer(v) + } + }() + case 4: try { + var v: LoginNewPlayerCreateAccount? + var hadOneofValue = false + if let current = _storage._platformPreLoginEvent { + hadOneofValue = true + if case .loginNewPlayerCreateAccount(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._platformPreLoginEvent = .loginNewPlayerCreateAccount(v) + } + }() + case 5: try { + var v: LoginReturningPlayerSignIn? + var hadOneofValue = false + if let current = _storage._platformPreLoginEvent { + hadOneofValue = true + if case .loginReturningPlayerSignIn(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._platformPreLoginEvent = .loginReturningPlayerSignIn(v) + } + }() + case 1001: try { try decoder.decodeSingularMessageField(value: &_storage._preLoginMetadata) }() + case 1002: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() + default: break + } + } + } + } + + public func traverse(visitor: inout V) throws { + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch _storage._platformPreLoginEvent { + case .loginStartup?: try { + guard case .loginStartup(let v)? = _storage._platformPreLoginEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .loginNewPlayer?: try { + guard case .loginNewPlayer(let v)? = _storage._platformPreLoginEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .loginReturningPlayer?: try { + guard case .loginReturningPlayer(let v)? = _storage._platformPreLoginEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .loginNewPlayerCreateAccount?: try { + guard case .loginNewPlayerCreateAccount(let v)? = _storage._platformPreLoginEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .loginReturningPlayerSignIn?: try { + guard case .loginReturningPlayerSignIn(let v)? = _storage._platformPreLoginEvent else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case nil: break + } + try { if let v = _storage._preLoginMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) + } }() + try { if let v = _storage._commonFilters { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) + } }() + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlatformPreLoginTrackingOmniproto, rhs: PlatformPreLoginTrackingOmniproto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._platformPreLoginEvent != rhs_storage._platformPreLoginEvent {return false} + if _storage._preLoginMetadata != rhs_storage._preLoginMetadata {return false} + if _storage._commonFilters != rhs_storage._commonFilters {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlatformRedeemAppleReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformRedeemAppleReceiptOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "provisioned_transaction_tokens"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.provisionedTransactionTokens) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.provisionedTransactionTokens.isEmpty { + try visitor.visitRepeatedStringField(value: self.provisionedTransactionTokens, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlatformRedeemAppleReceiptOutProto, rhs: PlatformRedeemAppleReceiptOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.provisionedTransactionTokens != rhs.provisionedTransactionTokens {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlatformRedeemAppleReceiptOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + ] +} + +extension PlatformRedeemAppleReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformRedeemAppleReceiptProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "receipt"), + 2: .standard(proto: "purchase_currency"), + 3: .standard(proto: "price_paid_e6"), + 4: .standard(proto: "price_paid_e6_long"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.receipt) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.purchaseCurrency) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.pricePaidE6) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.pricePaidE6Long) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.receipt.isEmpty { + try visitor.visitSingularStringField(value: self.receipt, fieldNumber: 1) + } + if !self.purchaseCurrency.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseCurrency, fieldNumber: 2) + } + if self.pricePaidE6 != 0 { + try visitor.visitSingularInt32Field(value: self.pricePaidE6, fieldNumber: 3) + } + if self.pricePaidE6Long != 0 { + try visitor.visitSingularInt64Field(value: self.pricePaidE6Long, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlatformRedeemAppleReceiptProto, rhs: PlatformRedeemAppleReceiptProto) -> Bool { + if lhs.receipt != rhs.receipt {return false} + if lhs.purchaseCurrency != rhs.purchaseCurrency {return false} + if lhs.pricePaidE6 != rhs.pricePaidE6 {return false} + if lhs.pricePaidE6Long != rhs.pricePaidE6Long {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlatformRedeemSamsungReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformRedeemSamsungReceiptOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "purchase_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.purchaseID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.purchaseID.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlatformRedeemSamsungReceiptOutProto, rhs: PlatformRedeemSamsungReceiptOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.purchaseID != rhs.purchaseID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlatformRedeemSamsungReceiptOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + ] +} + +extension PlatformRedeemSamsungReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformRedeemSamsungReceiptProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "purchase_data"), + 2: .standard(proto: "purchase_id"), + 3: .standard(proto: "purchase_currency"), + 4: .standard(proto: "price_paid_e6_long"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.purchaseData) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.purchaseID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.purchaseCurrency) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.pricePaidE6Long) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.purchaseData.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseData, fieldNumber: 1) + } + if !self.purchaseID.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseID, fieldNumber: 2) + } + if !self.purchaseCurrency.isEmpty { + try visitor.visitSingularStringField(value: self.purchaseCurrency, fieldNumber: 3) + } + if self.pricePaidE6Long != 0 { + try visitor.visitSingularInt64Field(value: self.pricePaidE6Long, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlatformRedeemSamsungReceiptProto, rhs: PlatformRedeemSamsungReceiptProto) -> Bool { + if lhs.purchaseData != rhs.purchaseData {return false} + if lhs.purchaseID != rhs.purchaseID {return false} + if lhs.purchaseCurrency != rhs.purchaseCurrency {return false} + if lhs.pricePaidE6Long != rhs.pricePaidE6Long {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlatformServerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlatformServerData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "user_id"), + 2: .standard(proto: "telemetry_id"), + 3: .standard(proto: "session_id"), + 4: .standard(proto: "experiment_ids"), + 5: .standard(proto: "event_request_id"), + 6: .standard(proto: "server_timestamp_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.userID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.telemetryID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.sessionID) }() + case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.experimentIds) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.eventRequestID) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.serverTimestampMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.userID.isEmpty { + try visitor.visitSingularStringField(value: self.userID, fieldNumber: 1) + } + if !self.telemetryID.isEmpty { + try visitor.visitSingularStringField(value: self.telemetryID, fieldNumber: 2) + } + if !self.sessionID.isEmpty { + try visitor.visitSingularStringField(value: self.sessionID, fieldNumber: 3) + } + if !self.experimentIds.isEmpty { + try visitor.visitPackedInt32Field(value: self.experimentIds, fieldNumber: 4) + } + if !self.eventRequestID.isEmpty { + try visitor.visitSingularStringField(value: self.eventRequestID, fieldNumber: 5) + } + if self.serverTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.serverTimestampMs, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlatformServerData, rhs: PlatformServerData) -> Bool { + if lhs.userID != rhs.userID {return false} + if lhs.telemetryID != rhs.telemetryID {return false} + if lhs.sessionID != rhs.sessionID {return false} + if lhs.experimentIds != rhs.experimentIds {return false} + if lhs.eventRequestID != rhs.eventRequestID {return false} + if lhs.serverTimestampMs != rhs.serverTimestampMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -250346,6 +261562,38 @@ extension PlatypusRolloutSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me } } +extension PlayerActivitySummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlayerActivitySummaryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "activity_summary_map"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.activitySummaryMap) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.activitySummaryMap.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.activitySummaryMap, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlayerActivitySummaryProto, rhs: PlayerActivitySummaryProto) -> Bool { + if lhs.activitySummaryMap != rhs.activitySummaryMap {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension PlayerAttributeRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PlayerAttributeRewardProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -250686,6 +261934,7 @@ extension PlayerBadgeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme 3: .standard(proto: "start_value"), 4: .standard(proto: "end_value"), 5: .standard(proto: "current_value"), + 6: .same(proto: "tiers"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -250699,6 +261948,7 @@ extension PlayerBadgeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme case 3: try { try decoder.decodeSingularInt32Field(value: &self.startValue) }() case 4: try { try decoder.decodeSingularInt32Field(value: &self.endValue) }() case 5: try { try decoder.decodeSingularDoubleField(value: &self.currentValue) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &self.tiers) }() default: break } } @@ -250720,6 +261970,9 @@ extension PlayerBadgeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme if self.currentValue != 0 { try visitor.visitSingularDoubleField(value: self.currentValue, fieldNumber: 5) } + if !self.tiers.isEmpty { + try visitor.visitRepeatedMessageField(value: self.tiers, fieldNumber: 6) + } try unknownFields.traverse(visitor: &visitor) } @@ -250729,6 +261982,90 @@ extension PlayerBadgeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme if lhs.startValue != rhs.startValue {return false} if lhs.endValue != rhs.endValue {return false} if lhs.currentValue != rhs.currentValue {return false} + if lhs.tiers != rhs.tiers {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlayerBadgeTierEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlayerBadgeTierEncounterProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "encounter_state"), + 2: .standard(proto: "encounter_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.encounterState) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.encounterID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.encounterState != .unset { + try visitor.visitSingularEnumField(value: self.encounterState, fieldNumber: 1) + } + if self.encounterID != 0 { + try visitor.visitSingularFixed64Field(value: self.encounterID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlayerBadgeTierEncounterProto, rhs: PlayerBadgeTierEncounterProto) -> Bool { + if lhs.encounterState != rhs.encounterState {return false} + if lhs.encounterID != rhs.encounterID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PlayerBadgeTierEncounterProto.EncounterState: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "UNEARNED"), + 2: .same(proto: "AVAILABLE"), + 3: .same(proto: "COMPLETED"), + ] +} + +extension PlayerBadgeTierProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlayerBadgeTierProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "encounter"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._encounter) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._encounter { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlayerBadgeTierProto, rhs: PlayerBadgeTierProto) -> Bool { + if lhs._encounter != rhs._encounter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -251066,15 +262403,10 @@ extension PlayerHudNotificationClickTelemetry: SwiftProtobuf.Message, SwiftProto } } -extension PlayerInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PlayerInfo" +extension PlayerLevelAvatarLockProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlayerLevelAvatarLockProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "identity_provider"), - 2: .standard(proto: "profile_creation_timestamp_ms"), - 3: .standard(proto: "player_level"), - 4: .standard(proto: "team_id"), - 5: .standard(proto: "lifetime_km_walked"), - 6: .standard(proto: "lifetime_steps_walked"), + 1: .standard(proto: "player_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -251083,46 +262415,21 @@ extension PlayerInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.identityProvider) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.profileCreationTimestampMs) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.playerLevel) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.teamID) }() - case 5: try { try decoder.decodeSingularDoubleField(value: &self.lifetimeKmWalked) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.lifetimeStepsWalked) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.playerLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.identityProvider.isEmpty { - try visitor.visitSingularStringField(value: self.identityProvider, fieldNumber: 1) - } - if self.profileCreationTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.profileCreationTimestampMs, fieldNumber: 2) - } if self.playerLevel != 0 { - try visitor.visitSingularInt32Field(value: self.playerLevel, fieldNumber: 3) - } - if self.teamID != 0 { - try visitor.visitSingularInt32Field(value: self.teamID, fieldNumber: 4) - } - if self.lifetimeKmWalked != 0 { - try visitor.visitSingularDoubleField(value: self.lifetimeKmWalked, fieldNumber: 5) - } - if self.lifetimeStepsWalked != 0 { - try visitor.visitSingularInt64Field(value: self.lifetimeStepsWalked, fieldNumber: 6) + try visitor.visitSingularInt32Field(value: self.playerLevel, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PlayerInfo, rhs: PlayerInfo) -> Bool { - if lhs.identityProvider != rhs.identityProvider {return false} - if lhs.profileCreationTimestampMs != rhs.profileCreationTimestampMs {return false} + public static func ==(lhs: PlayerLevelAvatarLockProto, rhs: PlayerLevelAvatarLockProto) -> Bool { if lhs.playerLevel != rhs.playerLevel {return false} - if lhs.teamID != rhs.teamID {return false} - if lhs.lifetimeKmWalked != rhs.lifetimeKmWalked {return false} - if lhs.lifetimeStepsWalked != rhs.lifetimeStepsWalked {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -251132,14 +262439,14 @@ extension PlayerLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag public static let protoMessageName: String = _protobuf_package + ".PlayerLevelSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "rank_num"), - 2: .standard(proto: "required_experience"), + 2: .standard(proto: "required_exp"), 3: .standard(proto: "cp_multiplier"), 4: .standard(proto: "max_egg_player_level"), 5: .standard(proto: "max_encounter_player_level"), 6: .standard(proto: "max_raid_encounter_player_level"), 7: .standard(proto: "max_quest_encounter_player_level"), 8: .standard(proto: "max_vs_seeker_encounter_player_level"), - 9: .standard(proto: "max_mega_level"), + 9: .standard(proto: "extended_player_level_threshold"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -251149,14 +262456,14 @@ extension PlayerLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.rankNum) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.requiredExperience) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.requiredExp) }() case 3: try { try decoder.decodeRepeatedFloatField(value: &self.cpMultiplier) }() case 4: try { try decoder.decodeSingularInt32Field(value: &self.maxEggPlayerLevel) }() case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxEncounterPlayerLevel) }() case 6: try { try decoder.decodeSingularInt32Field(value: &self.maxRaidEncounterPlayerLevel) }() case 7: try { try decoder.decodeSingularInt32Field(value: &self.maxQuestEncounterPlayerLevel) }() case 8: try { try decoder.decodeSingularInt32Field(value: &self.maxVsSeekerEncounterPlayerLevel) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.maxMegaLevel) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.extendedPlayerLevelThreshold) }() default: break } } @@ -251166,8 +262473,8 @@ extension PlayerLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if !self.rankNum.isEmpty { try visitor.visitPackedInt32Field(value: self.rankNum, fieldNumber: 1) } - if !self.requiredExperience.isEmpty { - try visitor.visitPackedInt32Field(value: self.requiredExperience, fieldNumber: 2) + if !self.requiredExp.isEmpty { + try visitor.visitPackedInt32Field(value: self.requiredExp, fieldNumber: 2) } if !self.cpMultiplier.isEmpty { try visitor.visitPackedFloatField(value: self.cpMultiplier, fieldNumber: 3) @@ -251187,22 +262494,22 @@ extension PlayerLevelSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if self.maxVsSeekerEncounterPlayerLevel != 0 { try visitor.visitSingularInt32Field(value: self.maxVsSeekerEncounterPlayerLevel, fieldNumber: 8) } - if self.maxMegaLevel != 0 { - try visitor.visitSingularInt32Field(value: self.maxMegaLevel, fieldNumber: 9) + if self.extendedPlayerLevelThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.extendedPlayerLevelThreshold, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: PlayerLevelSettingsProto, rhs: PlayerLevelSettingsProto) -> Bool { if lhs.rankNum != rhs.rankNum {return false} - if lhs.requiredExperience != rhs.requiredExperience {return false} + if lhs.requiredExp != rhs.requiredExp {return false} if lhs.cpMultiplier != rhs.cpMultiplier {return false} if lhs.maxEggPlayerLevel != rhs.maxEggPlayerLevel {return false} if lhs.maxEncounterPlayerLevel != rhs.maxEncounterPlayerLevel {return false} if lhs.maxRaidEncounterPlayerLevel != rhs.maxRaidEncounterPlayerLevel {return false} if lhs.maxQuestEncounterPlayerLevel != rhs.maxQuestEncounterPlayerLevel {return false} if lhs.maxVsSeekerEncounterPlayerLevel != rhs.maxVsSeekerEncounterPlayerLevel {return false} - if lhs.maxMegaLevel != rhs.maxMegaLevel {return false} + if lhs.extendedPlayerLevelThreshold != rhs.extendedPlayerLevelThreshold {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -251276,6 +262583,8 @@ extension PlayerNeutralAvatarArticleConfiguration: SwiftProtobuf.Message, SwiftP 19: .same(proto: "onesie"), 20: .standard(proto: "eye_brow"), 21: .standard(proto: "eye_lash"), + 22: .standard(proto: "face_preset"), + 23: .standard(proto: "body_preset"), ] fileprivate class _StorageClass { @@ -251300,6 +262609,8 @@ extension PlayerNeutralAvatarArticleConfiguration: SwiftProtobuf.Message, SwiftP var _onesie: AvatarArticleProto? = nil var _eyeBrow: AvatarArticleProto? = nil var _eyeLash: AvatarArticleProto? = nil + var _facePreset: AvatarArticleProto? = nil + var _bodyPreset: AvatarArticleProto? = nil static let defaultInstance = _StorageClass() @@ -251327,6 +262638,8 @@ extension PlayerNeutralAvatarArticleConfiguration: SwiftProtobuf.Message, SwiftP _onesie = source._onesie _eyeBrow = source._eyeBrow _eyeLash = source._eyeLash + _facePreset = source._facePreset + _bodyPreset = source._bodyPreset } } @@ -251366,6 +262679,8 @@ extension PlayerNeutralAvatarArticleConfiguration: SwiftProtobuf.Message, SwiftP case 19: try { try decoder.decodeSingularMessageField(value: &_storage._onesie) }() case 20: try { try decoder.decodeSingularMessageField(value: &_storage._eyeBrow) }() case 21: try { try decoder.decodeSingularMessageField(value: &_storage._eyeLash) }() + case 22: try { try decoder.decodeSingularMessageField(value: &_storage._facePreset) }() + case 23: try { try decoder.decodeSingularMessageField(value: &_storage._bodyPreset) }() default: break } } @@ -251441,6 +262756,12 @@ extension PlayerNeutralAvatarArticleConfiguration: SwiftProtobuf.Message, SwiftP try { if let v = _storage._eyeLash { try visitor.visitSingularMessageField(value: v, fieldNumber: 21) } }() + try { if let v = _storage._facePreset { + try visitor.visitSingularMessageField(value: v, fieldNumber: 22) + } }() + try { if let v = _storage._bodyPreset { + try visitor.visitSingularMessageField(value: v, fieldNumber: 23) + } }() } try unknownFields.traverse(visitor: &visitor) } @@ -251471,6 +262792,8 @@ extension PlayerNeutralAvatarArticleConfiguration: SwiftProtobuf.Message, SwiftP if _storage._onesie != rhs_storage._onesie {return false} if _storage._eyeBrow != rhs_storage._eyeBrow {return false} if _storage._eyeLash != rhs_storage._eyeLash {return false} + if _storage._facePreset != rhs_storage._facePreset {return false} + if _storage._bodyPreset != rhs_storage._bodyPreset {return false} return true } if !storagesAreEqual {return false} @@ -251942,6 +263265,8 @@ extension PlayerNeutralAvatarNoseSelectionParameters.Shape: SwiftProtobuf._Proto extension PlayerNeutralAvatarProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PlayerNeutralAvatarProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 2: .standard(proto: "head_blend"), + 4: .standard(proto: "head_selection"), 1: .same(proto: "articles"), 3: .standard(proto: "body_blend"), 5: .standard(proto: "skin_gradient"), @@ -251954,11 +263279,10 @@ extension PlayerNeutralAvatarProto: SwiftProtobuf.Message, SwiftProtobuf._Messag 12: .standard(proto: "eye_gradient"), 13: .standard(proto: "eye_selection"), 100: .standard(proto: "neutral_avatar_legacy_mapping_version"), - 2: .standard(proto: "head_blend"), - 4: .standard(proto: "head_selection"), ] fileprivate class _StorageClass { + var _head: PlayerNeutralAvatarProto.OneOf_Head? var _articles: PlayerNeutralAvatarArticleConfiguration? = nil var _bodyBlend: PlayerNeutralAvatarBodyBlendParameters? = nil var _skinGradient: PlayerNeutralAvatarGradient? = nil @@ -251971,13 +263295,13 @@ extension PlayerNeutralAvatarProto: SwiftProtobuf.Message, SwiftProtobuf._Messag var _eyeGradient: PlayerNeutralAvatarGradient? = nil var _eyeSelection: PlayerNeutralAvatarEyeSelectionParameters? = nil var _neutralAvatarLegacyMappingVersion: Int32 = 0 - var _head: PlayerNeutralAvatarProto.OneOf_Head? static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { + _head = source._head _articles = source._articles _bodyBlend = source._bodyBlend _skinGradient = source._skinGradient @@ -251990,7 +263314,6 @@ extension PlayerNeutralAvatarProto: SwiftProtobuf.Message, SwiftProtobuf._Messag _eyeGradient = source._eyeGradient _eyeSelection = source._eyeSelection _neutralAvatarLegacyMappingVersion = source._neutralAvatarLegacyMappingVersion - _head = source._head } } @@ -252110,6 +263433,7 @@ extension PlayerNeutralAvatarProto: SwiftProtobuf.Message, SwiftProtobuf._Messag let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 + if _storage._head != rhs_storage._head {return false} if _storage._articles != rhs_storage._articles {return false} if _storage._bodyBlend != rhs_storage._bodyBlend {return false} if _storage._skinGradient != rhs_storage._skinGradient {return false} @@ -252122,7 +263446,6 @@ extension PlayerNeutralAvatarProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if _storage._eyeGradient != rhs_storage._eyeGradient {return false} if _storage._eyeSelection != rhs_storage._eyeSelection {return false} if _storage._neutralAvatarLegacyMappingVersion != rhs_storage._neutralAvatarLegacyMappingVersion {return false} - if _storage._head != rhs_storage._head {return false} return true } if !storagesAreEqual {return false} @@ -252182,6 +263505,44 @@ extension PlayerNeutralColorKey: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } } +extension PlayerObfuscationMapEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlayerObfuscationMapEntryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "participant_player_id"), + 2: .standard(proto: "participant_player_id_party_obfuscated"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.participantPlayerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.participantPlayerIDPartyObfuscated) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.participantPlayerID.isEmpty { + try visitor.visitSingularStringField(value: self.participantPlayerID, fieldNumber: 1) + } + if !self.participantPlayerIDPartyObfuscated.isEmpty { + try visitor.visitSingularStringField(value: self.participantPlayerIDPartyObfuscated, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PlayerObfuscationMapEntryProto, rhs: PlayerObfuscationMapEntryProto) -> Bool { + if lhs.participantPlayerID != rhs.participantPlayerID {return false} + if lhs.participantPlayerIDPartyObfuscated != rhs.participantPlayerIDPartyObfuscated {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension PlayerPokecoinCapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PlayerPokecoinCapProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -252231,62 +263592,112 @@ extension PlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "opt_out_of_sponsored_gifts"), 2: .standard(proto: "battle_parties"), - 3: .standard(proto: "search_filter_preference_base_64"), + 3: .standard(proto: "search_filter_preference_base64"), 4: .standard(proto: "postcard_trainer_info_sharing_preference"), 5: .standard(proto: "waina_preference"), 6: .standard(proto: "opt_out_of_receiving_ticket_gifts"), + 7: .standard(proto: "party_play_preference"), ] + fileprivate class _StorageClass { + var _optOutOfSponsoredGifts: Bool = false + var _battleParties: BattlePartiesProto? = nil + var _searchFilterPreferenceBase64: String = String() + var _postcardTrainerInfoSharingPreference: PlayerPreferencesProto.PostcardTrainerInfoSharingPreference = .unset + var _wainaPreference: WainaPreferences? = nil + var _optOutOfReceivingTicketGifts: Bool = false + var _partyPlayPreference: PartyPlayPreferences? = nil + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _optOutOfSponsoredGifts = source._optOutOfSponsoredGifts + _battleParties = source._battleParties + _searchFilterPreferenceBase64 = source._searchFilterPreferenceBase64 + _postcardTrainerInfoSharingPreference = source._postcardTrainerInfoSharingPreference + _wainaPreference = source._wainaPreference + _optOutOfReceivingTicketGifts = source._optOutOfReceivingTicketGifts + _partyPlayPreference = source._partyPlayPreference + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.optOutOfSponsoredGifts) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._battleParties) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.searchFilterPreferenceBase64) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.postcardTrainerInfoSharingPreference) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._wainaPreference) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.optOutOfReceivingTicketGifts) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &_storage._optOutOfSponsoredGifts) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._battleParties) }() + case 3: try { try decoder.decodeSingularStringField(value: &_storage._searchFilterPreferenceBase64) }() + case 4: try { try decoder.decodeSingularEnumField(value: &_storage._postcardTrainerInfoSharingPreference) }() + case 5: try { try decoder.decodeSingularMessageField(value: &_storage._wainaPreference) }() + case 6: try { try decoder.decodeSingularBoolField(value: &_storage._optOutOfReceivingTicketGifts) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._partyPlayPreference) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.optOutOfSponsoredGifts != false { - try visitor.visitSingularBoolField(value: self.optOutOfSponsoredGifts, fieldNumber: 1) - } - try { if let v = self._battleParties { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.searchFilterPreferenceBase64.isEmpty { - try visitor.visitSingularStringField(value: self.searchFilterPreferenceBase64, fieldNumber: 3) - } - if self.postcardTrainerInfoSharingPreference != .unset { - try visitor.visitSingularEnumField(value: self.postcardTrainerInfoSharingPreference, fieldNumber: 4) - } - try { if let v = self._wainaPreference { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if self.optOutOfReceivingTicketGifts != false { - try visitor.visitSingularBoolField(value: self.optOutOfReceivingTicketGifts, fieldNumber: 6) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._optOutOfSponsoredGifts != false { + try visitor.visitSingularBoolField(value: _storage._optOutOfSponsoredGifts, fieldNumber: 1) + } + try { if let v = _storage._battleParties { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !_storage._searchFilterPreferenceBase64.isEmpty { + try visitor.visitSingularStringField(value: _storage._searchFilterPreferenceBase64, fieldNumber: 3) + } + if _storage._postcardTrainerInfoSharingPreference != .unset { + try visitor.visitSingularEnumField(value: _storage._postcardTrainerInfoSharingPreference, fieldNumber: 4) + } + try { if let v = _storage._wainaPreference { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + if _storage._optOutOfReceivingTicketGifts != false { + try visitor.visitSingularBoolField(value: _storage._optOutOfReceivingTicketGifts, fieldNumber: 6) + } + try { if let v = _storage._partyPlayPreference { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: PlayerPreferencesProto, rhs: PlayerPreferencesProto) -> Bool { - if lhs.optOutOfSponsoredGifts != rhs.optOutOfSponsoredGifts {return false} - if lhs._battleParties != rhs._battleParties {return false} - if lhs.searchFilterPreferenceBase64 != rhs.searchFilterPreferenceBase64 {return false} - if lhs.postcardTrainerInfoSharingPreference != rhs.postcardTrainerInfoSharingPreference {return false} - if lhs._wainaPreference != rhs._wainaPreference {return false} - if lhs.optOutOfReceivingTicketGifts != rhs.optOutOfReceivingTicketGifts {return false} + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._optOutOfSponsoredGifts != rhs_storage._optOutOfSponsoredGifts {return false} + if _storage._battleParties != rhs_storage._battleParties {return false} + if _storage._searchFilterPreferenceBase64 != rhs_storage._searchFilterPreferenceBase64 {return false} + if _storage._postcardTrainerInfoSharingPreference != rhs_storage._postcardTrainerInfoSharingPreference {return false} + if _storage._wainaPreference != rhs_storage._wainaPreference {return false} + if _storage._optOutOfReceivingTicketGifts != rhs_storage._optOutOfReceivingTicketGifts {return false} + if _storage._partyPlayPreference != rhs_storage._partyPlayPreference {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -252741,44 +264152,6 @@ extension PlayerRouteStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme } } -extension PlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PlayerSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "opt_out_online_status"), - 2: .standard(proto: "completed_tutorials"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.optOutOnlineStatus) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.completedTutorials) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.optOutOnlineStatus != false { - try visitor.visitSingularBoolField(value: self.optOutOnlineStatus, fieldNumber: 1) - } - if !self.completedTutorials.isEmpty { - try visitor.visitPackedEnumField(value: self.completedTutorials, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PlayerSettingsProto, rhs: PlayerSettingsProto) -> Bool { - if lhs.optOutOnlineStatus != rhs.optOutOnlineStatus {return false} - if lhs.completedTutorials != rhs.completedTutorials {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension PlayerShownLevelUpShareScreenTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PlayerShownLevelUpShareScreenTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -252939,13 +264312,13 @@ extension PlayerStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme 64: .standard(proto: "num_routes_accepted"), 65: .standard(proto: "num_players_referred"), 67: .standard(proto: "num_pokestops_ar_video_scanned"), - 68: .standard(proto: "num_on_raid_achievements_screen"), 69: .standard(proto: "num_total_route_play"), 70: .standard(proto: "num_unique_route_play"), 71: .standard(proto: "num_butterfly_collector"), 74: .standard(proto: "current_postcard_count"), 75: .standard(proto: "max_postcard_count"), 76: .standard(proto: "contest_stats"), + 77: .standard(proto: "route_discovery_notif_timestamp"), ] fileprivate class _StorageClass { @@ -253011,13 +264384,13 @@ extension PlayerStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme var _numRoutesAccepted: Int32 = 0 var _numPlayersReferred: Int32 = 0 var _numPokestopsArVideoScanned: Int32 = 0 - var _numOnRaidAchievementsScreen: Int32 = 0 var _numTotalRoutePlay: Int32 = 0 var _numUniqueRoutePlay: Int32 = 0 var _numButterflyCollector: Int32 = 0 var _currentPostcardCount: Int32 = 0 var _maxPostcardCount: Int32 = 0 var _contestStats: PlayerContestStatsProto? = nil + var _routeDiscoveryNotifTimestamp: [Int64] = [] static let defaultInstance = _StorageClass() @@ -253086,13 +264459,13 @@ extension PlayerStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme _numRoutesAccepted = source._numRoutesAccepted _numPlayersReferred = source._numPlayersReferred _numPokestopsArVideoScanned = source._numPokestopsArVideoScanned - _numOnRaidAchievementsScreen = source._numOnRaidAchievementsScreen _numTotalRoutePlay = source._numTotalRoutePlay _numUniqueRoutePlay = source._numUniqueRoutePlay _numButterflyCollector = source._numButterflyCollector _currentPostcardCount = source._currentPostcardCount _maxPostcardCount = source._maxPostcardCount _contestStats = source._contestStats + _routeDiscoveryNotifTimestamp = source._routeDiscoveryNotifTimestamp } } @@ -253173,13 +264546,13 @@ extension PlayerStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme case 64: try { try decoder.decodeSingularInt32Field(value: &_storage._numRoutesAccepted) }() case 65: try { try decoder.decodeSingularInt32Field(value: &_storage._numPlayersReferred) }() case 67: try { try decoder.decodeSingularInt32Field(value: &_storage._numPokestopsArVideoScanned) }() - case 68: try { try decoder.decodeSingularInt32Field(value: &_storage._numOnRaidAchievementsScreen) }() case 69: try { try decoder.decodeSingularInt32Field(value: &_storage._numTotalRoutePlay) }() case 70: try { try decoder.decodeSingularInt32Field(value: &_storage._numUniqueRoutePlay) }() case 71: try { try decoder.decodeSingularInt32Field(value: &_storage._numButterflyCollector) }() case 74: try { try decoder.decodeSingularInt32Field(value: &_storage._currentPostcardCount) }() case 75: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPostcardCount) }() case 76: try { try decoder.decodeSingularMessageField(value: &_storage._contestStats) }() + case 77: try { try decoder.decodeRepeatedInt64Field(value: &_storage._routeDiscoveryNotifTimestamp) }() default: break } } @@ -253378,9 +264751,6 @@ extension PlayerStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme if _storage._numPokestopsArVideoScanned != 0 { try visitor.visitSingularInt32Field(value: _storage._numPokestopsArVideoScanned, fieldNumber: 67) } - if _storage._numOnRaidAchievementsScreen != 0 { - try visitor.visitSingularInt32Field(value: _storage._numOnRaidAchievementsScreen, fieldNumber: 68) - } if _storage._numTotalRoutePlay != 0 { try visitor.visitSingularInt32Field(value: _storage._numTotalRoutePlay, fieldNumber: 69) } @@ -253399,6 +264769,9 @@ extension PlayerStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme try { if let v = _storage._contestStats { try visitor.visitSingularMessageField(value: v, fieldNumber: 76) } }() + if !_storage._routeDiscoveryNotifTimestamp.isEmpty { + try visitor.visitPackedInt64Field(value: _storage._routeDiscoveryNotifTimestamp, fieldNumber: 77) + } } try unknownFields.traverse(visitor: &visitor) } @@ -253470,13 +264843,13 @@ extension PlayerStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme if _storage._numRoutesAccepted != rhs_storage._numRoutesAccepted {return false} if _storage._numPlayersReferred != rhs_storage._numPlayersReferred {return false} if _storage._numPokestopsArVideoScanned != rhs_storage._numPokestopsArVideoScanned {return false} - if _storage._numOnRaidAchievementsScreen != rhs_storage._numOnRaidAchievementsScreen {return false} if _storage._numTotalRoutePlay != rhs_storage._numTotalRoutePlay {return false} if _storage._numUniqueRoutePlay != rhs_storage._numUniqueRoutePlay {return false} if _storage._numButterflyCollector != rhs_storage._numButterflyCollector {return false} if _storage._currentPostcardCount != rhs_storage._currentPostcardCount {return false} if _storage._maxPostcardCount != rhs_storage._maxPostcardCount {return false} if _storage._contestStats != rhs_storage._contestStats {return false} + if _storage._routeDiscoveryNotifTimestamp != rhs_storage._routeDiscoveryNotifTimestamp {return false} return true } if !storagesAreEqual {return false} @@ -253567,43 +264940,11 @@ extension PlayerStatsSnapshotsProto.PlayerStatsSnapshotProto.Reason: SwiftProtob ] } -extension PlayerStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PlayerStatus" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PlayerStatus, rhs: PlayerStatus) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension PlayerStatus.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED_STATUS"), - 1: .same(proto: "ACTIVE"), - 100: .same(proto: "WARNED"), - 101: .same(proto: "WARNED_TWICE"), - 200: .same(proto: "SUSPENDED"), - 201: .same(proto: "SUSPENDED_TWICE"), - 300: .same(proto: "BANNED"), - ] -} - -extension PlayerSubmissionResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PlayerSubmissionResponseProto" +extension PlayerUnclaimedPartyQuestIdsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PlayerUnclaimedPartyQuestIdsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "submission_id"), - 3: .same(proto: "messages"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "unclaimed_quest_ids"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -253612,170 +264953,26 @@ extension PlayerSubmissionResponseProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.messages) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.unclaimedQuestIds) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unspecified { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.submissionID.isEmpty { - try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 2) - } - if !self.messages.isEmpty { - try visitor.visitRepeatedStringField(value: self.messages, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PlayerSubmissionResponseProto, rhs: PlayerSubmissionResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.submissionID != rhs.submissionID {return false} - if lhs.messages != rhs.messages {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension PlayerSubmissionResponseProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "STATUS_UNSPECIFIED"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "INTERNAL_ERROR"), - 3: .same(proto: "TOO_MANY_RECENT_SUBMISSIONS"), - 4: .same(proto: "MINOR"), - 5: .same(proto: "NOT_AVAILABLE"), - 6: .same(proto: "INVALID_INPUT"), - 7: .same(proto: "MISSING_IMAGE"), - 8: .same(proto: "DISTANCE_VALIDATION_FAILED"), - 9: .same(proto: "ACTIVATION_REQUEST_FAILED"), - ] -} - -extension PlayerSummaryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PlayerSummaryProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .same(proto: "codename"), - 3: .standard(proto: "public_data"), - 4: .same(proto: "team"), - 5: .standard(proto: "fb_user_id"), - 6: .same(proto: "level"), - 7: .same(proto: "experience"), - 8: .standard(proto: "nia_account_id"), - ] - - fileprivate class _StorageClass { - var _playerID: String = String() - var _codename: String = String() - var _publicData: PlayerPublicProfileProto? = nil - var _team: String = String() - var _fbUserID: String = String() - var _level: Int32 = 0 - var _experience: Int64 = 0 - var _niaAccountID: String = String() - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _playerID = source._playerID - _codename = source._codename - _publicData = source._publicData - _team = source._team - _fbUserID = source._fbUserID - _level = source._level - _experience = source._experience - _niaAccountID = source._niaAccountID - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &_storage._codename) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._publicData) }() - case 4: try { try decoder.decodeSingularStringField(value: &_storage._team) }() - case 5: try { try decoder.decodeSingularStringField(value: &_storage._fbUserID) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._level) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._experience) }() - case 8: try { try decoder.decodeSingularStringField(value: &_storage._niaAccountID) }() - default: break - } - } + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._playerID.isEmpty { - try visitor.visitSingularStringField(value: _storage._playerID, fieldNumber: 1) - } - if !_storage._codename.isEmpty { - try visitor.visitSingularStringField(value: _storage._codename, fieldNumber: 2) - } - try { if let v = _storage._publicData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - if !_storage._team.isEmpty { - try visitor.visitSingularStringField(value: _storage._team, fieldNumber: 4) - } - if !_storage._fbUserID.isEmpty { - try visitor.visitSingularStringField(value: _storage._fbUserID, fieldNumber: 5) - } - if _storage._level != 0 { - try visitor.visitSingularInt32Field(value: _storage._level, fieldNumber: 6) - } - if _storage._experience != 0 { - try visitor.visitSingularInt64Field(value: _storage._experience, fieldNumber: 7) - } - if !_storage._niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: _storage._niaAccountID, fieldNumber: 8) - } + if !self.unclaimedQuestIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.unclaimedQuestIds, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PlayerSummaryProto, rhs: PlayerSummaryProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._playerID != rhs_storage._playerID {return false} - if _storage._codename != rhs_storage._codename {return false} - if _storage._publicData != rhs_storage._publicData {return false} - if _storage._team != rhs_storage._team {return false} - if _storage._fbUserID != rhs_storage._fbUserID {return false} - if _storage._level != rhs_storage._level {return false} - if _storage._experience != rhs_storage._experience {return false} - if _storage._niaAccountID != rhs_storage._niaAccountID {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: PlayerUnclaimedPartyQuestIdsProto, rhs: PlayerUnclaimedPartyQuestIdsProto) -> Bool { + if lhs.playerID != rhs.playerID {return false} + if lhs.unclaimedQuestIds != rhs.unclaimedQuestIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -254043,11 +265240,12 @@ extension PoiGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI } } -extension PoiPlayerMetadataTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PoiPlayerMetadataTelemetry" +extension PoiInteractionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PoiInteractionTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "device_model"), - 2: .standard(proto: "device_os"), + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "poi_type"), + 3: .standard(proto: "poi_interaction"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -254056,31 +265254,50 @@ extension PoiPlayerMetadataTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.deviceOs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.poiType) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.poiInteraction) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.deviceModel.isEmpty { - try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 1) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) } - if !self.deviceOs.isEmpty { - try visitor.visitSingularStringField(value: self.deviceOs, fieldNumber: 2) + if self.poiType != .pokestop { + try visitor.visitSingularEnumField(value: self.poiType, fieldNumber: 2) + } + if self.poiInteraction != .click { + try visitor.visitSingularEnumField(value: self.poiInteraction, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PoiPlayerMetadataTelemetry, rhs: PoiPlayerMetadataTelemetry) -> Bool { - if lhs.deviceModel != rhs.deviceModel {return false} - if lhs.deviceOs != rhs.deviceOs {return false} + public static func ==(lhs: PoiInteractionTelemetry, rhs: PoiInteractionTelemetry) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.poiType != rhs.poiType {return false} + if lhs.poiInteraction != rhs.poiInteraction {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } +extension PoiInteractionTelemetry.PoiInteraction: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "CLICK"), + 1: .same(proto: "SPIN"), + ] +} + +extension PoiInteractionTelemetry.PoiType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "POKESTOP"), + 1: .same(proto: "GYM"), + ] +} + extension PoiSubmissionPhotoUploadErrorTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PoiSubmissionPhotoUploadErrorTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -254221,122 +265438,6 @@ extension PoiSubmissionTelemetry.PoiSubmissionGuiEventId: SwiftProtobuf._ProtoNa ] } -extension PoiVideoSubmissionMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PoiVideoSubmissionMetadataProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .same(proto: "location"), - 3: .standard(proto: "player_level"), - 4: .standard(proto: "is_private"), - 5: .standard(proto: "geographic_coverage"), - 6: .standard(proto: "developer_id"), - 7: .standard(proto: "ar_common_metadata"), - ] - - fileprivate class _StorageClass { - var _poiID: String = String() - var _location: LocationE6Proto? = nil - var _playerLevel: Int32 = 0 - var _isPrivate: Bool = false - var _geographicCoverage: String = String() - var _developerID: String = String() - var _arCommonMetadata: ARCommonMetadata? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _poiID = source._poiID - _location = source._location - _playerLevel = source._playerLevel - _isPrivate = source._isPrivate - _geographicCoverage = source._geographicCoverage - _developerID = source._developerID - _arCommonMetadata = source._arCommonMetadata - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._poiID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._location) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._playerLevel) }() - case 4: try { try decoder.decodeSingularBoolField(value: &_storage._isPrivate) }() - case 5: try { try decoder.decodeSingularStringField(value: &_storage._geographicCoverage) }() - case 6: try { try decoder.decodeSingularStringField(value: &_storage._developerID) }() - case 7: try { try decoder.decodeSingularMessageField(value: &_storage._arCommonMetadata) }() - default: break - } - } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._poiID.isEmpty { - try visitor.visitSingularStringField(value: _storage._poiID, fieldNumber: 1) - } - try { if let v = _storage._location { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if _storage._playerLevel != 0 { - try visitor.visitSingularInt32Field(value: _storage._playerLevel, fieldNumber: 3) - } - if _storage._isPrivate != false { - try visitor.visitSingularBoolField(value: _storage._isPrivate, fieldNumber: 4) - } - if !_storage._geographicCoverage.isEmpty { - try visitor.visitSingularStringField(value: _storage._geographicCoverage, fieldNumber: 5) - } - if !_storage._developerID.isEmpty { - try visitor.visitSingularStringField(value: _storage._developerID, fieldNumber: 6) - } - try { if let v = _storage._arCommonMetadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - } }() - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PoiVideoSubmissionMetadataProto, rhs: PoiVideoSubmissionMetadataProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._poiID != rhs_storage._poiID {return false} - if _storage._location != rhs_storage._location {return false} - if _storage._playerLevel != rhs_storage._playerLevel {return false} - if _storage._isPrivate != rhs_storage._isPrivate {return false} - if _storage._geographicCoverage != rhs_storage._geographicCoverage {return false} - if _storage._developerID != rhs_storage._developerID {return false} - if _storage._arCommonMetadata != rhs_storage._arCommonMetadata {return false} - return true - } - if !storagesAreEqual {return false} - } - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension PointList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PointList" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -254495,6 +265596,82 @@ extension PokeCandyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement } } +extension PokecoinCapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokecoinCapProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokecoin_source"), + 2: .standard(proto: "reset_frequency"), + 3: .standard(proto: "max_amount_of_coins_can_be_claimed"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokecoinSource) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.resetFrequency) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.maxAmountOfCoinsCanBeClaimed) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.pokecoinSource != .sourceUnset { + try visitor.visitSingularEnumField(value: self.pokecoinSource, fieldNumber: 1) + } + if self.resetFrequency != .frequencyUnset { + try visitor.visitSingularEnumField(value: self.resetFrequency, fieldNumber: 2) + } + if self.maxAmountOfCoinsCanBeClaimed != 0 { + try visitor.visitSingularInt64Field(value: self.maxAmountOfCoinsCanBeClaimed, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PokecoinCapProto, rhs: PokecoinCapProto) -> Bool { + if lhs.pokecoinSource != rhs.pokecoinSource {return false} + if lhs.resetFrequency != rhs.resetFrequency {return false} + if lhs.maxAmountOfCoinsCanBeClaimed != rhs.maxAmountOfCoinsCanBeClaimed {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PokecoinCapSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokecoinCapSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokecoin_caps"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.pokecoinCaps) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.pokecoinCaps.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokecoinCaps, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PokecoinCapSettings, rhs: PokecoinCapSettings) -> Bool { + if lhs.pokecoinCaps != rhs.pokecoinCaps {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension PokecoinPurchaseDisplayGmtProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokecoinPurchaseDisplayGmtProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -254621,13 +265798,13 @@ extension PokecoinSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } } -extension PokedexCategoriesSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PokedexCategoriesSettings" +extension PokedexCategoriesSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokedexCategoriesSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "feature_enabled"), - 2: .standard(proto: "pokedex_category_data"), - 3: .standard(proto: "ob_bool"), - 4: .standard(proto: "enable_pokedex_search"), + 2: .standard(proto: "pokedex_category_settings_in_order"), + 3: .standard(proto: "client_shiny_form_check"), + 4: .standard(proto: "search_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -254637,9 +265814,9 @@ extension PokedexCategoriesSettings: SwiftProtobuf.Message, SwiftProtobuf._Messa // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularBoolField(value: &self.featureEnabled) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pokedexCategoryData) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.enablePokedexSearch) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pokedexCategorySettingsInOrder) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.clientShinyFormCheck) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.searchEnabled) }() default: break } } @@ -254649,34 +265826,34 @@ extension PokedexCategoriesSettings: SwiftProtobuf.Message, SwiftProtobuf._Messa if self.featureEnabled != false { try visitor.visitSingularBoolField(value: self.featureEnabled, fieldNumber: 1) } - if !self.pokedexCategoryData.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokedexCategoryData, fieldNumber: 2) + if !self.pokedexCategorySettingsInOrder.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pokedexCategorySettingsInOrder, fieldNumber: 2) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 3) + if self.clientShinyFormCheck != false { + try visitor.visitSingularBoolField(value: self.clientShinyFormCheck, fieldNumber: 3) } - if self.enablePokedexSearch != false { - try visitor.visitSingularBoolField(value: self.enablePokedexSearch, fieldNumber: 4) + if self.searchEnabled != false { + try visitor.visitSingularBoolField(value: self.searchEnabled, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PokedexCategoriesSettings, rhs: PokedexCategoriesSettings) -> Bool { + public static func ==(lhs: PokedexCategoriesSettingsProto, rhs: PokedexCategoriesSettingsProto) -> Bool { if lhs.featureEnabled != rhs.featureEnabled {return false} - if lhs.pokedexCategoryData != rhs.pokedexCategoryData {return false} - if lhs.obBool != rhs.obBool {return false} - if lhs.enablePokedexSearch != rhs.enablePokedexSearch {return false} + if lhs.pokedexCategorySettingsInOrder != rhs.pokedexCategorySettingsInOrder {return false} + if lhs.clientShinyFormCheck != rhs.clientShinyFormCheck {return false} + if lhs.searchEnabled != rhs.searchEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PokedexCategoriesSettings.PokedexCategoryData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = PokedexCategoriesSettings.protoMessageName + ".PokedexCategoryData" +extension PokedexCategoriesSettingsProto.PokedexCategorySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PokedexCategoriesSettingsProto.protoMessageName + ".PokedexCategorySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "pokedex_category"), - 2: .standard(proto: "requirements_to_unlock"), - 3: .same(proto: "unlocked"), + 2: .standard(proto: "milestone_goal"), + 3: .standard(proto: "visually_hidden"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -254686,8 +265863,8 @@ extension PokedexCategoriesSettings.PokedexCategoryData: SwiftProtobuf.Message, // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexCategory) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.requirementsToUnlock) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.unlocked) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.milestoneGoal) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.visuallyHidden) }() default: break } } @@ -254697,19 +265874,19 @@ extension PokedexCategoriesSettings.PokedexCategoryData: SwiftProtobuf.Message, if self.pokedexCategory != .unset { try visitor.visitSingularEnumField(value: self.pokedexCategory, fieldNumber: 1) } - if self.requirementsToUnlock != 0 { - try visitor.visitSingularInt32Field(value: self.requirementsToUnlock, fieldNumber: 2) + if self.milestoneGoal != 0 { + try visitor.visitSingularInt32Field(value: self.milestoneGoal, fieldNumber: 2) } - if self.unlocked != false { - try visitor.visitSingularBoolField(value: self.unlocked, fieldNumber: 3) + if self.visuallyHidden != false { + try visitor.visitSingularBoolField(value: self.visuallyHidden, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PokedexCategoriesSettings.PokedexCategoryData, rhs: PokedexCategoriesSettings.PokedexCategoryData) -> Bool { + public static func ==(lhs: PokedexCategoriesSettingsProto.PokedexCategorySettingsProto, rhs: PokedexCategoriesSettingsProto.PokedexCategorySettingsProto) -> Bool { if lhs.pokedexCategory != rhs.pokedexCategory {return false} - if lhs.requirementsToUnlock != rhs.requirementsToUnlock {return false} - if lhs.unlocked != rhs.unlocked {return false} + if lhs.milestoneGoal != rhs.milestoneGoal {return false} + if lhs.visuallyHidden != rhs.visuallyHidden {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -254770,7 +265947,7 @@ extension PokedexCategoryMilestoneProto.Status: SwiftProtobuf._ProtoNameProvidin extension PokedexCategorySelectedTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokedexCategorySelectedTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokedex_category"), + 1: .same(proto: "category"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -254779,21 +265956,21 @@ extension PokedexCategorySelectedTelemetry: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexCategory) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.category) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokedexCategory != .unset { - try visitor.visitSingularEnumField(value: self.pokedexCategory, fieldNumber: 1) + if self.category != .unset { + try visitor.visitSingularEnumField(value: self.category, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: PokedexCategorySelectedTelemetry, rhs: PokedexCategorySelectedTelemetry) -> Bool { - if lhs.pokedexCategory != rhs.pokedexCategory {return false} + if lhs.category != rhs.category {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -255147,16 +266324,16 @@ extension PokedexEntryProto.TempEvoData: SwiftProtobuf.Message, SwiftProtobuf._M } } -extension PokedexSizeStatsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PokedexSizeStatsSettingsProto" +extension PokedexSizeStatsSystemSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokedexSizeStatsSystemSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool_1"), - 2: .standard(proto: "pokedex_size_stat_feature_enabled"), - 3: .standard(proto: "pokemon_size_catch_requirement_to_unlock_stats"), - 4: .standard(proto: "pokemon_weight_catch_requirement_to_unlock_stats"), - 5: .standard(proto: "ob_int64"), - 6: .standard(proto: "ob_float"), - 7: .standard(proto: "ob_bool"), + 1: .standard(proto: "update_enabled"), + 2: .standard(proto: "display_enabled"), + 3: .standard(proto: "pokedex_display_pokemon_tracked_threshold"), + 4: .standard(proto: "record_display_pokemon_tracked_threshold"), + 5: .standard(proto: "update_from_inventory_timestamp_ms"), + 6: .standard(proto: "num_days_new_bubble_track"), + 7: .standard(proto: "enable_randomized_height_and_weight_for_wild_pokemon"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -255165,51 +266342,51 @@ extension PokedexSizeStatsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.pokedexSizeStatFeatureEnabled) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.pokemonSizeCatchRequirementToUnlockStats) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.pokemonWeightCatchRequirementToUnlockStats) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.updateEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.displayEnabled) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.pokedexDisplayPokemonTrackedThreshold) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.recordDisplayPokemonTrackedThreshold) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.updateFromInventoryTimestampMs) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.numDaysNewBubbleTrack) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.enableRandomizedHeightAndWeightForWildPokemon) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 1) + if self.updateEnabled != false { + try visitor.visitSingularBoolField(value: self.updateEnabled, fieldNumber: 1) } - if self.pokedexSizeStatFeatureEnabled != false { - try visitor.visitSingularBoolField(value: self.pokedexSizeStatFeatureEnabled, fieldNumber: 2) + if self.displayEnabled != false { + try visitor.visitSingularBoolField(value: self.displayEnabled, fieldNumber: 2) } - if self.pokemonSizeCatchRequirementToUnlockStats != 0 { - try visitor.visitSingularInt32Field(value: self.pokemonSizeCatchRequirementToUnlockStats, fieldNumber: 3) + if self.pokedexDisplayPokemonTrackedThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.pokedexDisplayPokemonTrackedThreshold, fieldNumber: 3) } - if self.pokemonWeightCatchRequirementToUnlockStats != 0 { - try visitor.visitSingularInt32Field(value: self.pokemonWeightCatchRequirementToUnlockStats, fieldNumber: 4) + if self.recordDisplayPokemonTrackedThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.recordDisplayPokemonTrackedThreshold, fieldNumber: 4) } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 5) + if self.updateFromInventoryTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.updateFromInventoryTimestampMs, fieldNumber: 5) } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 6) + if self.numDaysNewBubbleTrack != 0 { + try visitor.visitSingularFloatField(value: self.numDaysNewBubbleTrack, fieldNumber: 6) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 7) + if self.enableRandomizedHeightAndWeightForWildPokemon != false { + try visitor.visitSingularBoolField(value: self.enableRandomizedHeightAndWeightForWildPokemon, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PokedexSizeStatsSettingsProto, rhs: PokedexSizeStatsSettingsProto) -> Bool { - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.pokedexSizeStatFeatureEnabled != rhs.pokedexSizeStatFeatureEnabled {return false} - if lhs.pokemonSizeCatchRequirementToUnlockStats != rhs.pokemonSizeCatchRequirementToUnlockStats {return false} - if lhs.pokemonWeightCatchRequirementToUnlockStats != rhs.pokemonWeightCatchRequirementToUnlockStats {return false} - if lhs.obInt64 != rhs.obInt64 {return false} - if lhs.obFloat != rhs.obFloat {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: PokedexSizeStatsSystemSettingsProto, rhs: PokedexSizeStatsSystemSettingsProto) -> Bool { + if lhs.updateEnabled != rhs.updateEnabled {return false} + if lhs.displayEnabled != rhs.displayEnabled {return false} + if lhs.pokedexDisplayPokemonTrackedThreshold != rhs.pokedexDisplayPokemonTrackedThreshold {return false} + if lhs.recordDisplayPokemonTrackedThreshold != rhs.recordDisplayPokemonTrackedThreshold {return false} + if lhs.updateFromInventoryTimestampMs != rhs.updateFromInventoryTimestampMs {return false} + if lhs.numDaysNewBubbleTrack != rhs.numDaysNewBubbleTrack {return false} + if lhs.enableRandomizedHeightAndWeightForWildPokemon != rhs.enableRandomizedHeightAndWeightForWildPokemon {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -255341,9 +266518,9 @@ extension PokemonCameraAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._Me public static let protoMessageName: String = _protobuf_package + ".PokemonCameraAttributesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "disk_radius_m"), - 2: .standard(proto: "cylinder_radius_m"), - 3: .standard(proto: "cylinder_height_m"), - 4: .standard(proto: "cylinder_ground_m"), + 2: .standard(proto: "cyl_radius_m"), + 3: .standard(proto: "cyl_height_m"), + 4: .standard(proto: "cyl_ground_m"), 5: .standard(proto: "shoulder_mode_scale"), ] @@ -255354,9 +266531,9 @@ extension PokemonCameraAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._Me // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularFloatField(value: &self.diskRadiusM) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.cylinderRadiusM) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.cylinderHeightM) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.cylinderGroundM) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.cylRadiusM) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.cylHeightM) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.cylGroundM) }() case 5: try { try decoder.decodeSingularFloatField(value: &self.shoulderModeScale) }() default: break } @@ -255367,14 +266544,14 @@ extension PokemonCameraAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._Me if self.diskRadiusM != 0 { try visitor.visitSingularFloatField(value: self.diskRadiusM, fieldNumber: 1) } - if self.cylinderRadiusM != 0 { - try visitor.visitSingularFloatField(value: self.cylinderRadiusM, fieldNumber: 2) + if self.cylRadiusM != 0 { + try visitor.visitSingularFloatField(value: self.cylRadiusM, fieldNumber: 2) } - if self.cylinderHeightM != 0 { - try visitor.visitSingularFloatField(value: self.cylinderHeightM, fieldNumber: 3) + if self.cylHeightM != 0 { + try visitor.visitSingularFloatField(value: self.cylHeightM, fieldNumber: 3) } - if self.cylinderGroundM != 0 { - try visitor.visitSingularFloatField(value: self.cylinderGroundM, fieldNumber: 4) + if self.cylGroundM != 0 { + try visitor.visitSingularFloatField(value: self.cylGroundM, fieldNumber: 4) } if self.shoulderModeScale != 0 { try visitor.visitSingularFloatField(value: self.shoulderModeScale, fieldNumber: 5) @@ -255384,9 +266561,9 @@ extension PokemonCameraAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._Me public static func ==(lhs: PokemonCameraAttributesProto, rhs: PokemonCameraAttributesProto) -> Bool { if lhs.diskRadiusM != rhs.diskRadiusM {return false} - if lhs.cylinderRadiusM != rhs.cylinderRadiusM {return false} - if lhs.cylinderHeightM != rhs.cylinderHeightM {return false} - if lhs.cylinderGroundM != rhs.cylinderGroundM {return false} + if lhs.cylRadiusM != rhs.cylRadiusM {return false} + if lhs.cylHeightM != rhs.cylHeightM {return false} + if lhs.cylGroundM != rhs.cylGroundM {return false} if lhs.shoulderModeScale != rhs.shoulderModeScale {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true @@ -255767,6 +266944,38 @@ extension PokemonCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } +extension PokemonCutsceneRefactorSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokemonCutsceneRefactorSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PokemonCutsceneRefactorSettingsProto, rhs: PokemonCutsceneRefactorSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension PokemonDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -256027,6 +267236,11 @@ extension PokemonDisplayProto.Costume: SwiftProtobuf._ProtoNameProviding { 67: .same(proto: "NIGHTCAP"), 68: .same(proto: "MAY_2023"), 69: .same(proto: "PI"), + 70: .same(proto: "FALL_2023"), + 71: .same(proto: "FALL_2023_NOEVOLVE"), + 72: .same(proto: "PI_NOEVOLVE"), + 73: .same(proto: "HOLIDAY_2023"), + 74: .same(proto: "JAN_2024"), ] } @@ -258371,6 +269585,23 @@ extension PokemonDisplayProto.Form: SwiftProtobuf._ProtoNameProviding { 2822: .same(proto: "LATIOS_S"), 2823: .same(proto: "ZYGARDE_COMPLETE_TEN_PERCENT"), 2824: .same(proto: "ZYGARDE_COMPLETE_FIFTY_PERCENT"), + 2825: .same(proto: "PIKACHU_GOTOUR_2024_A"), + 2826: .same(proto: "PIKACHU_GOTOUR_2024_B"), + 2827: .same(proto: "PIKACHU_GOTOUR_2024_A_02"), + 2828: .same(proto: "PIKACHU_GOTOUR_2024_B_02"), + 2829: .same(proto: "DIALGA_ORIGIN"), + 2830: .same(proto: "PALKIA_ORIGIN"), + 2831: .same(proto: "ROCKRUFF_NORMAL"), + 2832: .same(proto: "PIKACHU_TSHIRT_03"), + 2833: .same(proto: "PIKACHU_FLYING_04"), + 2834: .same(proto: "PIKACHU_TSHIRT_04"), + 2835: .same(proto: "PIKACHU_TSHIRT_05"), + 2836: .same(proto: "PIKACHU_TSHIRT_06"), + 2837: .same(proto: "PIKACHU_TSHIRT_07"), + 2838: .same(proto: "PIKACHU_FLYING_05"), + 2839: .same(proto: "PIKACHU_FLYING_06"), + 2840: .same(proto: "PIKACHU_FLYING_07"), + 2841: .same(proto: "PIKACHU_FLYING_08"), 2981: .same(proto: "OINKOLOGNE_NORMAL"), 2982: .same(proto: "OINKOLOGNE_FEMALE"), 2983: .same(proto: "MAUSHOLD_FAMILY_OF_THREE"), @@ -258438,10 +269669,10 @@ extension PokemonEncounterAttributesProto: SwiftProtobuf.Message, SwiftProtobuf. 17: .standard(proto: "min_pokemon_action_frequency_s"), 18: .standard(proto: "max_pokemon_action_frequency_s"), 19: .standard(proto: "bonus_xl_candy_capture_reward"), - 20: .standard(proto: "shadow_form_base_capture_rate"), - 21: .standard(proto: "shadow_form_attack_probability"), - 22: .standard(proto: "shadow_form_dodge_probability"), - 23: .standard(proto: "ob_float"), + 20: .standard(proto: "shadow_base_capture_rate"), + 21: .standard(proto: "shadow_attack_probability"), + 22: .standard(proto: "shadow_dodge_probability"), + 23: .standard(proto: "catch_radius_multiplier"), ] fileprivate class _StorageClass { @@ -258464,10 +269695,10 @@ extension PokemonEncounterAttributesProto: SwiftProtobuf.Message, SwiftProtobuf. var _minPokemonActionFrequencyS: Float = 0 var _maxPokemonActionFrequencyS: Float = 0 var _bonusXlCandyCaptureReward: Int32 = 0 - var _shadowFormBaseCaptureRate: Float = 0 - var _shadowFormAttackProbability: Float = 0 - var _shadowFormDodgeProbability: Float = 0 - var _obFloat: Float = 0 + var _shadowBaseCaptureRate: Float = 0 + var _shadowAttackProbability: Float = 0 + var _shadowDodgeProbability: Float = 0 + var _catchRadiusMultiplier: Float = 0 static let defaultInstance = _StorageClass() @@ -258493,10 +269724,10 @@ extension PokemonEncounterAttributesProto: SwiftProtobuf.Message, SwiftProtobuf. _minPokemonActionFrequencyS = source._minPokemonActionFrequencyS _maxPokemonActionFrequencyS = source._maxPokemonActionFrequencyS _bonusXlCandyCaptureReward = source._bonusXlCandyCaptureReward - _shadowFormBaseCaptureRate = source._shadowFormBaseCaptureRate - _shadowFormAttackProbability = source._shadowFormAttackProbability - _shadowFormDodgeProbability = source._shadowFormDodgeProbability - _obFloat = source._obFloat + _shadowBaseCaptureRate = source._shadowBaseCaptureRate + _shadowAttackProbability = source._shadowAttackProbability + _shadowDodgeProbability = source._shadowDodgeProbability + _catchRadiusMultiplier = source._catchRadiusMultiplier } } @@ -258534,10 +269765,10 @@ extension PokemonEncounterAttributesProto: SwiftProtobuf.Message, SwiftProtobuf. case 17: try { try decoder.decodeSingularFloatField(value: &_storage._minPokemonActionFrequencyS) }() case 18: try { try decoder.decodeSingularFloatField(value: &_storage._maxPokemonActionFrequencyS) }() case 19: try { try decoder.decodeSingularInt32Field(value: &_storage._bonusXlCandyCaptureReward) }() - case 20: try { try decoder.decodeSingularFloatField(value: &_storage._shadowFormBaseCaptureRate) }() - case 21: try { try decoder.decodeSingularFloatField(value: &_storage._shadowFormAttackProbability) }() - case 22: try { try decoder.decodeSingularFloatField(value: &_storage._shadowFormDodgeProbability) }() - case 23: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat) }() + case 20: try { try decoder.decodeSingularFloatField(value: &_storage._shadowBaseCaptureRate) }() + case 21: try { try decoder.decodeSingularFloatField(value: &_storage._shadowAttackProbability) }() + case 22: try { try decoder.decodeSingularFloatField(value: &_storage._shadowDodgeProbability) }() + case 23: try { try decoder.decodeSingularFloatField(value: &_storage._catchRadiusMultiplier) }() default: break } } @@ -258603,17 +269834,17 @@ extension PokemonEncounterAttributesProto: SwiftProtobuf.Message, SwiftProtobuf. if _storage._bonusXlCandyCaptureReward != 0 { try visitor.visitSingularInt32Field(value: _storage._bonusXlCandyCaptureReward, fieldNumber: 19) } - if _storage._shadowFormBaseCaptureRate != 0 { - try visitor.visitSingularFloatField(value: _storage._shadowFormBaseCaptureRate, fieldNumber: 20) + if _storage._shadowBaseCaptureRate != 0 { + try visitor.visitSingularFloatField(value: _storage._shadowBaseCaptureRate, fieldNumber: 20) } - if _storage._shadowFormAttackProbability != 0 { - try visitor.visitSingularFloatField(value: _storage._shadowFormAttackProbability, fieldNumber: 21) + if _storage._shadowAttackProbability != 0 { + try visitor.visitSingularFloatField(value: _storage._shadowAttackProbability, fieldNumber: 21) } - if _storage._shadowFormDodgeProbability != 0 { - try visitor.visitSingularFloatField(value: _storage._shadowFormDodgeProbability, fieldNumber: 22) + if _storage._shadowDodgeProbability != 0 { + try visitor.visitSingularFloatField(value: _storage._shadowDodgeProbability, fieldNumber: 22) } - if _storage._obFloat != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat, fieldNumber: 23) + if _storage._catchRadiusMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._catchRadiusMultiplier, fieldNumber: 23) } } try unknownFields.traverse(visitor: &visitor) @@ -258643,10 +269874,10 @@ extension PokemonEncounterAttributesProto: SwiftProtobuf.Message, SwiftProtobuf. if _storage._minPokemonActionFrequencyS != rhs_storage._minPokemonActionFrequencyS {return false} if _storage._maxPokemonActionFrequencyS != rhs_storage._maxPokemonActionFrequencyS {return false} if _storage._bonusXlCandyCaptureReward != rhs_storage._bonusXlCandyCaptureReward {return false} - if _storage._shadowFormBaseCaptureRate != rhs_storage._shadowFormBaseCaptureRate {return false} - if _storage._shadowFormAttackProbability != rhs_storage._shadowFormAttackProbability {return false} - if _storage._shadowFormDodgeProbability != rhs_storage._shadowFormDodgeProbability {return false} - if _storage._obFloat != rhs_storage._obFloat {return false} + if _storage._shadowBaseCaptureRate != rhs_storage._shadowBaseCaptureRate {return false} + if _storage._shadowAttackProbability != rhs_storage._shadowAttackProbability {return false} + if _storage._shadowDodgeProbability != rhs_storage._shadowDodgeProbability {return false} + if _storage._catchRadiusMultiplier != rhs_storage._catchRadiusMultiplier {return false} return true } if !storagesAreEqual {return false} @@ -258806,20 +270037,39 @@ extension PokemonEvolutionQuestProto: SwiftProtobuf.Message, SwiftProtobuf._Mess } } +extension PokemonExchangeEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokemonExchangeEntryProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PokemonExchangeEntryProto, rhs: PokemonExchangeEntryProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension PokemonExtendedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonExtendedSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "unique_id"), 28: .same(proto: "form"), - 51: .standard(proto: "extended_override_settings"), - 66: .standard(proto: "pokemon_size_settings"), + 51: .standard(proto: "temp_evo_overrides"), + 66: .standard(proto: "size_settings"), ] fileprivate class _StorageClass { var _uniqueID: HoloPokemonId = .missingno var _form: PokemonDisplayProto.Form = .unset - var _extendedOverrideSettings: [ExtendedOverrideSettingsProto] = [] - var _pokemonSizeSettings: PokemonSizeSettingsProto? = nil + var _tempEvoOverrides: [TempEvoOverrideExtendedProto] = [] + var _sizeSettings: PokemonSizeSettingsProto? = nil static let defaultInstance = _StorageClass() @@ -258828,8 +270078,8 @@ extension PokemonExtendedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me init(copying source: _StorageClass) { _uniqueID = source._uniqueID _form = source._form - _extendedOverrideSettings = source._extendedOverrideSettings - _pokemonSizeSettings = source._pokemonSizeSettings + _tempEvoOverrides = source._tempEvoOverrides + _sizeSettings = source._sizeSettings } } @@ -258850,8 +270100,8 @@ extension PokemonExtendedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &_storage._uniqueID) }() case 28: try { try decoder.decodeSingularEnumField(value: &_storage._form) }() - case 51: try { try decoder.decodeRepeatedMessageField(value: &_storage._extendedOverrideSettings) }() - case 66: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonSizeSettings) }() + case 51: try { try decoder.decodeRepeatedMessageField(value: &_storage._tempEvoOverrides) }() + case 66: try { try decoder.decodeSingularMessageField(value: &_storage._sizeSettings) }() default: break } } @@ -258870,10 +270120,10 @@ extension PokemonExtendedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me if _storage._form != .unset { try visitor.visitSingularEnumField(value: _storage._form, fieldNumber: 28) } - if !_storage._extendedOverrideSettings.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._extendedOverrideSettings, fieldNumber: 51) + if !_storage._tempEvoOverrides.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._tempEvoOverrides, fieldNumber: 51) } - try { if let v = _storage._pokemonSizeSettings { + try { if let v = _storage._sizeSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 66) } }() } @@ -258887,8 +270137,8 @@ extension PokemonExtendedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me let rhs_storage = _args.1 if _storage._uniqueID != rhs_storage._uniqueID {return false} if _storage._form != rhs_storage._form {return false} - if _storage._extendedOverrideSettings != rhs_storage._extendedOverrideSettings {return false} - if _storage._pokemonSizeSettings != rhs_storage._pokemonSizeSettings {return false} + if _storage._tempEvoOverrides != rhs_storage._tempEvoOverrides {return false} + if _storage._sizeSettings != rhs_storage._sizeSettings {return false} return true } if !storagesAreEqual {return false} @@ -258898,154 +270148,6 @@ extension PokemonExtendedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me } } -extension PokemonFXDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PokemonFXDisplayProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "temporary_evo"), - 3: .same(proto: "form"), - 4: .same(proto: "costume"), - 5: .same(proto: "gender"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.temporaryEvo) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.form) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.costume) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.gender) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) - } - if self.temporaryEvo != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: self.temporaryEvo, fieldNumber: 2) - } - if self.form != .unset { - try visitor.visitSingularEnumField(value: self.form, fieldNumber: 3) - } - if self.costume != .unset { - try visitor.visitSingularEnumField(value: self.costume, fieldNumber: 4) - } - if self.gender != .unset { - try visitor.visitSingularEnumField(value: self.gender, fieldNumber: 5) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PokemonFXDisplayProto, rhs: PokemonFXDisplayProto) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.temporaryEvo != rhs.temporaryEvo {return false} - if lhs.form != rhs.form {return false} - if lhs.costume != rhs.costume {return false} - if lhs.gender != rhs.gender {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension PokemonFXSettingsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PokemonFXSettingsSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_pokemon_glow_bool_1"), - 2: .standard(proto: "ob_pokemon_glow_bool_2"), - 3: .standard(proto: "ob_pokemon_glow_bool_3"), - 4: .standard(proto: "ob_pokemon_glow_bool_4"), - 5: .standard(proto: "ob_pokemon_glow_bool_5"), - 6: .standard(proto: "ob_pokemon_glow_bool_6"), - 7: .standard(proto: "ob_pokemon_glow_bool_7"), - 8: .standard(proto: "pokemon_fx_display"), - 9: .standard(proto: "ob_pokemon_glow_bool_8"), - 10: .standard(proto: "ob_pokemon_glow_bool_9"), - 11: .standard(proto: "ob_pokemon_glow_bool_10"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool2) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool3) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool4) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool5) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool6) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool7) }() - case 8: try { try decoder.decodeRepeatedMessageField(value: &self.pokemonFxDisplay) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool8) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool9) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.obPokemonGlowBool10) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.obPokemonGlowBool1 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool1, fieldNumber: 1) - } - if self.obPokemonGlowBool2 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool2, fieldNumber: 2) - } - if self.obPokemonGlowBool3 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool3, fieldNumber: 3) - } - if self.obPokemonGlowBool4 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool4, fieldNumber: 4) - } - if self.obPokemonGlowBool5 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool5, fieldNumber: 5) - } - if self.obPokemonGlowBool6 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool6, fieldNumber: 6) - } - if self.obPokemonGlowBool7 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool7, fieldNumber: 7) - } - if !self.pokemonFxDisplay.isEmpty { - try visitor.visitRepeatedMessageField(value: self.pokemonFxDisplay, fieldNumber: 8) - } - if self.obPokemonGlowBool8 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool8, fieldNumber: 9) - } - if self.obPokemonGlowBool9 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool9, fieldNumber: 10) - } - if self.obPokemonGlowBool10 != false { - try visitor.visitSingularBoolField(value: self.obPokemonGlowBool10, fieldNumber: 11) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PokemonFXSettingsSettingsProto, rhs: PokemonFXSettingsSettingsProto) -> Bool { - if lhs.obPokemonGlowBool1 != rhs.obPokemonGlowBool1 {return false} - if lhs.obPokemonGlowBool2 != rhs.obPokemonGlowBool2 {return false} - if lhs.obPokemonGlowBool3 != rhs.obPokemonGlowBool3 {return false} - if lhs.obPokemonGlowBool4 != rhs.obPokemonGlowBool4 {return false} - if lhs.obPokemonGlowBool5 != rhs.obPokemonGlowBool5 {return false} - if lhs.obPokemonGlowBool6 != rhs.obPokemonGlowBool6 {return false} - if lhs.obPokemonGlowBool7 != rhs.obPokemonGlowBool7 {return false} - if lhs.pokemonFxDisplay != rhs.pokemonFxDisplay {return false} - if lhs.obPokemonGlowBool8 != rhs.obPokemonGlowBool8 {return false} - if lhs.obPokemonGlowBool9 != rhs.obPokemonGlowBool9 {return false} - if lhs.obPokemonGlowBool10 != rhs.obPokemonGlowBool10 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension PokemonFamilyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonFamilyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -259140,6 +270242,44 @@ extension PokemonFamilySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess } } +extension PokemonFilterSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokemonFilterSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "has_duplicate_filter_enabled"), + 2: .standard(proto: "count_filter_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.hasDuplicateFilterEnabled_p) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.countFilterEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.hasDuplicateFilterEnabled_p != false { + try visitor.visitSingularBoolField(value: self.hasDuplicateFilterEnabled_p, fieldNumber: 1) + } + if self.countFilterEnabled != false { + try visitor.visitSingularBoolField(value: self.countFilterEnabled, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PokemonFilterSettingsProto, rhs: PokemonFilterSettingsProto) -> Bool { + if lhs.hasDuplicateFilterEnabled_p != rhs.hasDuplicateFilterEnabled_p {return false} + if lhs.countFilterEnabled != rhs.countFilterEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension PokemonFortProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonFortProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -259528,6 +270668,98 @@ extension PokemonFortProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme } } +extension PokemonFxSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokemonFxSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokemon_glow_feature_active"), + 2: .standard(proto: "glow_during_day"), + 3: .standard(proto: "glow_during_night"), + 4: .standard(proto: "glow_on_map"), + 5: .standard(proto: "glow_in_encounter"), + 6: .standard(proto: "glow_in_battle"), + 7: .standard(proto: "glow_in_combat"), + 8: .standard(proto: "glow_fx_pokemon"), + 9: .standard(proto: "hiding_in_map"), + 10: .standard(proto: "hiding_in_photo"), + 11: .standard(proto: "hiding_in_encounter"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.pokemonGlowFeatureActive) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.glowDuringDay) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.glowDuringNight) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.glowOnMap) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.glowInEncounter) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.glowInBattle) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.glowInCombat) }() + case 8: try { try decoder.decodeRepeatedMessageField(value: &self.glowFxPokemon) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.hidingInMap) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.hidingInPhoto) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.hidingInEncounter) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.pokemonGlowFeatureActive != false { + try visitor.visitSingularBoolField(value: self.pokemonGlowFeatureActive, fieldNumber: 1) + } + if self.glowDuringDay != false { + try visitor.visitSingularBoolField(value: self.glowDuringDay, fieldNumber: 2) + } + if self.glowDuringNight != false { + try visitor.visitSingularBoolField(value: self.glowDuringNight, fieldNumber: 3) + } + if self.glowOnMap != false { + try visitor.visitSingularBoolField(value: self.glowOnMap, fieldNumber: 4) + } + if self.glowInEncounter != false { + try visitor.visitSingularBoolField(value: self.glowInEncounter, fieldNumber: 5) + } + if self.glowInBattle != false { + try visitor.visitSingularBoolField(value: self.glowInBattle, fieldNumber: 6) + } + if self.glowInCombat != false { + try visitor.visitSingularBoolField(value: self.glowInCombat, fieldNumber: 7) + } + if !self.glowFxPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.glowFxPokemon, fieldNumber: 8) + } + if self.hidingInMap != false { + try visitor.visitSingularBoolField(value: self.hidingInMap, fieldNumber: 9) + } + if self.hidingInPhoto != false { + try visitor.visitSingularBoolField(value: self.hidingInPhoto, fieldNumber: 10) + } + if self.hidingInEncounter != false { + try visitor.visitSingularBoolField(value: self.hidingInEncounter, fieldNumber: 11) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PokemonFxSettingsProto, rhs: PokemonFxSettingsProto) -> Bool { + if lhs.pokemonGlowFeatureActive != rhs.pokemonGlowFeatureActive {return false} + if lhs.glowDuringDay != rhs.glowDuringDay {return false} + if lhs.glowDuringNight != rhs.glowDuringNight {return false} + if lhs.glowOnMap != rhs.glowOnMap {return false} + if lhs.glowInEncounter != rhs.glowInEncounter {return false} + if lhs.glowInBattle != rhs.glowInBattle {return false} + if lhs.glowInCombat != rhs.glowInCombat {return false} + if lhs.glowFxPokemon != rhs.glowFxPokemon {return false} + if lhs.hidingInMap != rhs.hidingInMap {return false} + if lhs.hidingInPhoto != rhs.hidingInPhoto {return false} + if lhs.hidingInEncounter != rhs.hidingInEncounter {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension PokemonGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -259628,9 +270860,9 @@ extension PokemonHomeEnergyCostsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes 1: .standard(proto: "pokemon_class"), 2: .same(proto: "base"), 3: .same(proto: "shiny"), - 4: .standard(proto: "cp_0_to_1000"), - 5: .standard(proto: "cp_1001_to_2000"), - 6: .standard(proto: "cp_2001_to_inf"), + 4: .standard(proto: "cp0_to1000"), + 5: .standard(proto: "cp1001_to2000"), + 6: .standard(proto: "cp2001_to_inf"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -260058,14 +271290,6 @@ extension PokemonInfo.StatModifierContainer.StatModifier: SwiftProtobuf.Message, } } -extension PokemonInfo.StatModifierContainer.StatModifier.ExpiryType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_EXPIRY_TYPE"), - 1: .same(proto: "EXPIRY_TIME"), - 2: .same(proto: "CHARGES_REMAINING"), - ] -} - extension PokemonInfo.StatModifierContainer.StatModifier.Condition: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET_CONDITION"), @@ -260074,6 +271298,14 @@ extension PokemonInfo.StatModifierContainer.StatModifier.Condition: SwiftProtobu ] } +extension PokemonInfo.StatModifierContainer.StatModifier.ExpiryType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET_EXPIRY_TYPE"), + 1: .same(proto: "EXPIRY_TIME"), + 2: .same(proto: "CHARGES_REMAINING"), + ] +} + extension PokemonInventoryTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonInventoryTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -260112,6 +271344,44 @@ extension PokemonInventoryTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Messa } } +extension PokemonKeyItemSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokemonKeyItemSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "item"), + 2: .same(proto: "count"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) + } + if self.count != 0 { + try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PokemonKeyItemSettings, rhs: PokemonKeyItemSettings) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.count != rhs.count {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension PokemonLoadDelay: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonLoadDelay" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -260222,6 +271492,38 @@ extension PokemonLoadTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } } +extension PokemonMapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PokemonMapSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "hide_nearby"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.hideNearby) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.hideNearby != false { + try visitor.visitSingularBoolField(value: self.hideNearby, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PokemonMapSettingsProto, rhs: PokemonMapSettingsProto) -> Bool { + if lhs.hideNearby != rhs.hideNearby {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension PokemonMegaEvolutionLevelProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonMegaEvolutionLevelProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -261040,22 +272342,22 @@ extension PokemonSearchTelemetry.PokemonSearchSourceIds: SwiftProtobuf._ProtoNam extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), + 1: .standard(proto: "unique_id"), 3: .standard(proto: "model_scale"), - 4: .same(proto: "type"), - 5: .standard(proto: "type_2"), + 4: .same(proto: "type1"), + 5: .same(proto: "type2"), 6: .same(proto: "camera"), 7: .same(proto: "encounter"), 8: .same(proto: "stats"), 9: .standard(proto: "quick_moves"), 10: .standard(proto: "cinematic_moves"), - 11: .standard(proto: "animation_time"), - 12: .standard(proto: "evolution_ids"), + 11: .standard(proto: "anim_time"), + 12: .same(proto: "evolution"), 13: .standard(proto: "evolution_pips"), 14: .standard(proto: "pokemon_class"), 15: .standard(proto: "pokedex_height_m"), 16: .standard(proto: "pokedex_weight_kg"), - 17: .standard(proto: "parent_pokemon_id"), + 17: .standard(proto: "parent_id"), 18: .standard(proto: "height_std_dev"), 19: .standard(proto: "weight_std_dev"), 20: .standard(proto: "km_distance_to_hatch"), @@ -261096,32 +272398,34 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp 63: .standard(proto: "form_change"), 64: .standard(proto: "buddy_encounter_cameo_local_position"), 65: .standard(proto: "buddy_encounter_cameo_local_rotation"), - 66: .standard(proto: "pokemon_size_settings"), - 67: .standard(proto: "costume_evolution"), - 70: .standard(proto: "ob_bool"), - 76: .standard(proto: "ob_list_float"), - 77: .same(proto: "moves"), - 78: .same(proto: "item"), - 79: .standard(proto: "reward_item"), + 66: .standard(proto: "size_settings"), + 67: .standard(proto: "allow_noevolve_evolution"), + 70: .standard(proto: "deny_impersonation"), + 76: .standard(proto: "buddy_portrait_rotation"), + 77: .standard(proto: "non_tm_cinematic_moves"), + 78: .same(proto: "deprecated1"), + 79: .standard(proto: "exclusive_key_item"), + 80: .standard(proto: "event_cinematic_move_probability"), + 82: .standard(proto: "event_quick_move_probability"), ] fileprivate class _StorageClass { - var _pokemonID: HoloPokemonId = .missingno + var _uniqueID: HoloPokemonId = .missingno var _modelScale: Float = 0 - var _type: HoloPokemonType = .pokemonTypeNone + var _type1: HoloPokemonType = .pokemonTypeNone var _type2: HoloPokemonType = .pokemonTypeNone var _camera: PokemonCameraAttributesProto? = nil var _encounter: PokemonEncounterAttributesProto? = nil var _stats: PokemonStatsAttributesProto? = nil var _quickMoves: [HoloPokemonMove] = [] var _cinematicMoves: [HoloPokemonMove] = [] - var _animationTime: [Float] = [] - var _evolutionIds: [HoloPokemonId] = [] + var _animTime: [Float] = [] + var _evolution: [HoloPokemonId] = [] var _evolutionPips: Int32 = 0 var _pokemonClass: HoloPokemonClass = .pokemonClassNormal var _pokedexHeightM: Float = 0 var _pokedexWeightKg: Float = 0 - var _parentPokemonID: HoloPokemonId = .missingno + var _parentID: HoloPokemonId = .missingno var _heightStdDev: Float = 0 var _weightStdDev: Float = 0 var _kmDistanceToHatch: Float = 0 @@ -261162,35 +272466,37 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp var _formChange: [FormChangeProto] = [] var _buddyEncounterCameoLocalPosition: [Float] = [] var _buddyEncounterCameoLocalRotation: [Float] = [] - var _pokemonSizeSettings: PokemonSizeSettingsProto? = nil - var _costumeEvolution: [PokemonDisplayProto.Costume] = [] - var _obBool: Bool = false - var _obListFloat: [Float] = [] - var _moves: [HoloPokemonMove] = [] - var _item: Item = .unknown - var _rewardItem: ItemRewardProto? = nil + var _sizeSettings: PokemonSizeSettingsProto? = nil + var _allowNoevolveEvolution: [PokemonDisplayProto.Costume] = [] + var _denyImpersonation: Bool = false + var _buddyPortraitRotation: [Float] = [] + var _nonTmCinematicMoves: [HoloPokemonMove] = [] + var _deprecated1: Item = .unknown + var _exclusiveKeyItem: PokemonKeyItemSettings? = nil + var _eventCinematicMoveProbability: Float = 0 + var _eventQuickMoveProbability: Float = 0 static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _pokemonID = source._pokemonID + _uniqueID = source._uniqueID _modelScale = source._modelScale - _type = source._type + _type1 = source._type1 _type2 = source._type2 _camera = source._camera _encounter = source._encounter _stats = source._stats _quickMoves = source._quickMoves _cinematicMoves = source._cinematicMoves - _animationTime = source._animationTime - _evolutionIds = source._evolutionIds + _animTime = source._animTime + _evolution = source._evolution _evolutionPips = source._evolutionPips _pokemonClass = source._pokemonClass _pokedexHeightM = source._pokedexHeightM _pokedexWeightKg = source._pokedexWeightKg - _parentPokemonID = source._parentPokemonID + _parentID = source._parentID _heightStdDev = source._heightStdDev _weightStdDev = source._weightStdDev _kmDistanceToHatch = source._kmDistanceToHatch @@ -261231,13 +272537,15 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp _formChange = source._formChange _buddyEncounterCameoLocalPosition = source._buddyEncounterCameoLocalPosition _buddyEncounterCameoLocalRotation = source._buddyEncounterCameoLocalRotation - _pokemonSizeSettings = source._pokemonSizeSettings - _costumeEvolution = source._costumeEvolution - _obBool = source._obBool - _obListFloat = source._obListFloat - _moves = source._moves - _item = source._item - _rewardItem = source._rewardItem + _sizeSettings = source._sizeSettings + _allowNoevolveEvolution = source._allowNoevolveEvolution + _denyImpersonation = source._denyImpersonation + _buddyPortraitRotation = source._buddyPortraitRotation + _nonTmCinematicMoves = source._nonTmCinematicMoves + _deprecated1 = source._deprecated1 + _exclusiveKeyItem = source._exclusiveKeyItem + _eventCinematicMoveProbability = source._eventCinematicMoveProbability + _eventQuickMoveProbability = source._eventQuickMoveProbability } } @@ -261256,22 +272564,22 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._pokemonID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._uniqueID) }() case 3: try { try decoder.decodeSingularFloatField(value: &_storage._modelScale) }() - case 4: try { try decoder.decodeSingularEnumField(value: &_storage._type) }() + case 4: try { try decoder.decodeSingularEnumField(value: &_storage._type1) }() case 5: try { try decoder.decodeSingularEnumField(value: &_storage._type2) }() case 6: try { try decoder.decodeSingularMessageField(value: &_storage._camera) }() case 7: try { try decoder.decodeSingularMessageField(value: &_storage._encounter) }() case 8: try { try decoder.decodeSingularMessageField(value: &_storage._stats) }() case 9: try { try decoder.decodeRepeatedEnumField(value: &_storage._quickMoves) }() case 10: try { try decoder.decodeRepeatedEnumField(value: &_storage._cinematicMoves) }() - case 11: try { try decoder.decodeRepeatedFloatField(value: &_storage._animationTime) }() - case 12: try { try decoder.decodeRepeatedEnumField(value: &_storage._evolutionIds) }() + case 11: try { try decoder.decodeRepeatedFloatField(value: &_storage._animTime) }() + case 12: try { try decoder.decodeRepeatedEnumField(value: &_storage._evolution) }() case 13: try { try decoder.decodeSingularInt32Field(value: &_storage._evolutionPips) }() case 14: try { try decoder.decodeSingularEnumField(value: &_storage._pokemonClass) }() case 15: try { try decoder.decodeSingularFloatField(value: &_storage._pokedexHeightM) }() case 16: try { try decoder.decodeSingularFloatField(value: &_storage._pokedexWeightKg) }() - case 17: try { try decoder.decodeSingularEnumField(value: &_storage._parentPokemonID) }() + case 17: try { try decoder.decodeSingularEnumField(value: &_storage._parentID) }() case 18: try { try decoder.decodeSingularFloatField(value: &_storage._heightStdDev) }() case 19: try { try decoder.decodeSingularFloatField(value: &_storage._weightStdDev) }() case 20: try { try decoder.decodeSingularFloatField(value: &_storage._kmDistanceToHatch) }() @@ -261312,13 +272620,15 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp case 63: try { try decoder.decodeRepeatedMessageField(value: &_storage._formChange) }() case 64: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyEncounterCameoLocalPosition) }() case 65: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyEncounterCameoLocalRotation) }() - case 66: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonSizeSettings) }() - case 67: try { try decoder.decodeRepeatedEnumField(value: &_storage._costumeEvolution) }() - case 70: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 76: try { try decoder.decodeRepeatedFloatField(value: &_storage._obListFloat) }() - case 77: try { try decoder.decodeRepeatedEnumField(value: &_storage._moves) }() - case 78: try { try decoder.decodeSingularEnumField(value: &_storage._item) }() - case 79: try { try decoder.decodeSingularMessageField(value: &_storage._rewardItem) }() + case 66: try { try decoder.decodeSingularMessageField(value: &_storage._sizeSettings) }() + case 67: try { try decoder.decodeRepeatedEnumField(value: &_storage._allowNoevolveEvolution) }() + case 70: try { try decoder.decodeSingularBoolField(value: &_storage._denyImpersonation) }() + case 76: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyPortraitRotation) }() + case 77: try { try decoder.decodeRepeatedEnumField(value: &_storage._nonTmCinematicMoves) }() + case 78: try { try decoder.decodeSingularEnumField(value: &_storage._deprecated1) }() + case 79: try { try decoder.decodeSingularMessageField(value: &_storage._exclusiveKeyItem) }() + case 80: try { try decoder.decodeSingularFloatField(value: &_storage._eventCinematicMoveProbability) }() + case 82: try { try decoder.decodeSingularFloatField(value: &_storage._eventQuickMoveProbability) }() default: break } } @@ -261331,14 +272641,14 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._pokemonID != .missingno { - try visitor.visitSingularEnumField(value: _storage._pokemonID, fieldNumber: 1) + if _storage._uniqueID != .missingno { + try visitor.visitSingularEnumField(value: _storage._uniqueID, fieldNumber: 1) } if _storage._modelScale != 0 { try visitor.visitSingularFloatField(value: _storage._modelScale, fieldNumber: 3) } - if _storage._type != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: _storage._type, fieldNumber: 4) + if _storage._type1 != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: _storage._type1, fieldNumber: 4) } if _storage._type2 != .pokemonTypeNone { try visitor.visitSingularEnumField(value: _storage._type2, fieldNumber: 5) @@ -261358,11 +272668,11 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp if !_storage._cinematicMoves.isEmpty { try visitor.visitPackedEnumField(value: _storage._cinematicMoves, fieldNumber: 10) } - if !_storage._animationTime.isEmpty { - try visitor.visitPackedFloatField(value: _storage._animationTime, fieldNumber: 11) + if !_storage._animTime.isEmpty { + try visitor.visitPackedFloatField(value: _storage._animTime, fieldNumber: 11) } - if !_storage._evolutionIds.isEmpty { - try visitor.visitPackedEnumField(value: _storage._evolutionIds, fieldNumber: 12) + if !_storage._evolution.isEmpty { + try visitor.visitPackedEnumField(value: _storage._evolution, fieldNumber: 12) } if _storage._evolutionPips != 0 { try visitor.visitSingularInt32Field(value: _storage._evolutionPips, fieldNumber: 13) @@ -261376,8 +272686,8 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp if _storage._pokedexWeightKg != 0 { try visitor.visitSingularFloatField(value: _storage._pokedexWeightKg, fieldNumber: 16) } - if _storage._parentPokemonID != .missingno { - try visitor.visitSingularEnumField(value: _storage._parentPokemonID, fieldNumber: 17) + if _storage._parentID != .missingno { + try visitor.visitSingularEnumField(value: _storage._parentID, fieldNumber: 17) } if _storage._heightStdDev != 0 { try visitor.visitSingularFloatField(value: _storage._heightStdDev, fieldNumber: 18) @@ -261499,27 +272809,33 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp if !_storage._buddyEncounterCameoLocalRotation.isEmpty { try visitor.visitPackedFloatField(value: _storage._buddyEncounterCameoLocalRotation, fieldNumber: 65) } - try { if let v = _storage._pokemonSizeSettings { + try { if let v = _storage._sizeSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 66) } }() - if !_storage._costumeEvolution.isEmpty { - try visitor.visitPackedEnumField(value: _storage._costumeEvolution, fieldNumber: 67) + if !_storage._allowNoevolveEvolution.isEmpty { + try visitor.visitPackedEnumField(value: _storage._allowNoevolveEvolution, fieldNumber: 67) } - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 70) + if _storage._denyImpersonation != false { + try visitor.visitSingularBoolField(value: _storage._denyImpersonation, fieldNumber: 70) } - if !_storage._obListFloat.isEmpty { - try visitor.visitPackedFloatField(value: _storage._obListFloat, fieldNumber: 76) + if !_storage._buddyPortraitRotation.isEmpty { + try visitor.visitPackedFloatField(value: _storage._buddyPortraitRotation, fieldNumber: 76) } - if !_storage._moves.isEmpty { - try visitor.visitPackedEnumField(value: _storage._moves, fieldNumber: 77) + if !_storage._nonTmCinematicMoves.isEmpty { + try visitor.visitPackedEnumField(value: _storage._nonTmCinematicMoves, fieldNumber: 77) } - if _storage._item != .unknown { - try visitor.visitSingularEnumField(value: _storage._item, fieldNumber: 78) + if _storage._deprecated1 != .unknown { + try visitor.visitSingularEnumField(value: _storage._deprecated1, fieldNumber: 78) } - try { if let v = _storage._rewardItem { + try { if let v = _storage._exclusiveKeyItem { try visitor.visitSingularMessageField(value: v, fieldNumber: 79) } }() + if _storage._eventCinematicMoveProbability != 0 { + try visitor.visitSingularFloatField(value: _storage._eventCinematicMoveProbability, fieldNumber: 80) + } + if _storage._eventQuickMoveProbability != 0 { + try visitor.visitSingularFloatField(value: _storage._eventQuickMoveProbability, fieldNumber: 82) + } } try unknownFields.traverse(visitor: &visitor) } @@ -261529,22 +272845,22 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._pokemonID != rhs_storage._pokemonID {return false} + if _storage._uniqueID != rhs_storage._uniqueID {return false} if _storage._modelScale != rhs_storage._modelScale {return false} - if _storage._type != rhs_storage._type {return false} + if _storage._type1 != rhs_storage._type1 {return false} if _storage._type2 != rhs_storage._type2 {return false} if _storage._camera != rhs_storage._camera {return false} if _storage._encounter != rhs_storage._encounter {return false} if _storage._stats != rhs_storage._stats {return false} if _storage._quickMoves != rhs_storage._quickMoves {return false} if _storage._cinematicMoves != rhs_storage._cinematicMoves {return false} - if _storage._animationTime != rhs_storage._animationTime {return false} - if _storage._evolutionIds != rhs_storage._evolutionIds {return false} + if _storage._animTime != rhs_storage._animTime {return false} + if _storage._evolution != rhs_storage._evolution {return false} if _storage._evolutionPips != rhs_storage._evolutionPips {return false} if _storage._pokemonClass != rhs_storage._pokemonClass {return false} if _storage._pokedexHeightM != rhs_storage._pokedexHeightM {return false} if _storage._pokedexWeightKg != rhs_storage._pokedexWeightKg {return false} - if _storage._parentPokemonID != rhs_storage._parentPokemonID {return false} + if _storage._parentID != rhs_storage._parentID {return false} if _storage._heightStdDev != rhs_storage._heightStdDev {return false} if _storage._weightStdDev != rhs_storage._weightStdDev {return false} if _storage._kmDistanceToHatch != rhs_storage._kmDistanceToHatch {return false} @@ -261585,13 +272901,15 @@ extension PokemonSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp if _storage._formChange != rhs_storage._formChange {return false} if _storage._buddyEncounterCameoLocalPosition != rhs_storage._buddyEncounterCameoLocalPosition {return false} if _storage._buddyEncounterCameoLocalRotation != rhs_storage._buddyEncounterCameoLocalRotation {return false} - if _storage._pokemonSizeSettings != rhs_storage._pokemonSizeSettings {return false} - if _storage._costumeEvolution != rhs_storage._costumeEvolution {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obListFloat != rhs_storage._obListFloat {return false} - if _storage._moves != rhs_storage._moves {return false} - if _storage._item != rhs_storage._item {return false} - if _storage._rewardItem != rhs_storage._rewardItem {return false} + if _storage._sizeSettings != rhs_storage._sizeSettings {return false} + if _storage._allowNoevolveEvolution != rhs_storage._allowNoevolveEvolution {return false} + if _storage._denyImpersonation != rhs_storage._denyImpersonation {return false} + if _storage._buddyPortraitRotation != rhs_storage._buddyPortraitRotation {return false} + if _storage._nonTmCinematicMoves != rhs_storage._nonTmCinematicMoves {return false} + if _storage._deprecated1 != rhs_storage._deprecated1 {return false} + if _storage._exclusiveKeyItem != rhs_storage._exclusiveKeyItem {return false} + if _storage._eventCinematicMoveProbability != rhs_storage._eventCinematicMoveProbability {return false} + if _storage._eventQuickMoveProbability != rhs_storage._eventQuickMoveProbability {return false} return true } if !storagesAreEqual {return false} @@ -261614,20 +272932,20 @@ extension PokemonSettingsProto.BuddySize: SwiftProtobuf._ProtoNameProviding { extension PokemonSizeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PokemonSizeSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_size_multiplier_scale_1"), - 2: .standard(proto: "pokemon_size_multiplier_scale_2"), - 3: .standard(proto: "pokemon_size_multiplier_scale_3"), - 4: .standard(proto: "pokemon_size_multiplier_scale_4"), - 5: .standard(proto: "pokemon_size_multiplier_scale_5"), - 6: .standard(proto: "pokemon_size_multiplier_scale_6"), - 7: .standard(proto: "pokemon_size_multiplier_scale_7"), - 8: .standard(proto: "pokemon_size_multiplier_scale_8"), - 9: .standard(proto: "pokemon_size_multiplier_scale_9"), - 10: .standard(proto: "pokemon_size_multiplier_scale_10"), - 11: .standard(proto: "ob_bool_1"), - 12: .standard(proto: "ob_bool_2"), - 13: .standard(proto: "ob_int32_1"), - 14: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "xxs_lower_bound"), + 2: .standard(proto: "xs_lower_bound"), + 3: .standard(proto: "mlower_bound"), + 4: .standard(proto: "mupper_bound"), + 5: .standard(proto: "xl_upper_bound"), + 6: .standard(proto: "xxl_upper_bound"), + 7: .standard(proto: "xxs_scale_multiplier"), + 8: .standard(proto: "xs_scale_multiplier"), + 9: .standard(proto: "xl_scale_multiplier"), + 10: .standard(proto: "xxl_scale_multiplier"), + 11: .standard(proto: "disable_pokedex_record_display_aggregate"), + 12: .standard(proto: "disable_pokedex_record_display_for_forms"), + 13: .standard(proto: "pokedex_display_pokemon_tracked_threshold"), + 14: .standard(proto: "record_display_pokemon_tracked_threshold"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -261636,86 +272954,86 @@ extension PokemonSizeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale1) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale2) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale3) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale4) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale5) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale6) }() - case 7: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale7) }() - case 8: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale8) }() - case 9: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale9) }() - case 10: try { try decoder.decodeSingularFloatField(value: &self.pokemonSizeMultiplierScale10) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 12: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.xxsLowerBound) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.xsLowerBound) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.mlowerBound) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.mupperBound) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.xlUpperBound) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.xxlUpperBound) }() + case 7: try { try decoder.decodeSingularFloatField(value: &self.xxsScaleMultiplier) }() + case 8: try { try decoder.decodeSingularFloatField(value: &self.xsScaleMultiplier) }() + case 9: try { try decoder.decodeSingularFloatField(value: &self.xlScaleMultiplier) }() + case 10: try { try decoder.decodeSingularFloatField(value: &self.xxlScaleMultiplier) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.disablePokedexRecordDisplayAggregate) }() + case 12: try { try decoder.decodeSingularBoolField(value: &self.disablePokedexRecordDisplayForForms) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &self.pokedexDisplayPokemonTrackedThreshold) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &self.recordDisplayPokemonTrackedThreshold) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemonSizeMultiplierScale1 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale1, fieldNumber: 1) + if self.xxsLowerBound != 0 { + try visitor.visitSingularFloatField(value: self.xxsLowerBound, fieldNumber: 1) } - if self.pokemonSizeMultiplierScale2 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale2, fieldNumber: 2) + if self.xsLowerBound != 0 { + try visitor.visitSingularFloatField(value: self.xsLowerBound, fieldNumber: 2) } - if self.pokemonSizeMultiplierScale3 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale3, fieldNumber: 3) + if self.mlowerBound != 0 { + try visitor.visitSingularFloatField(value: self.mlowerBound, fieldNumber: 3) } - if self.pokemonSizeMultiplierScale4 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale4, fieldNumber: 4) + if self.mupperBound != 0 { + try visitor.visitSingularFloatField(value: self.mupperBound, fieldNumber: 4) } - if self.pokemonSizeMultiplierScale5 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale5, fieldNumber: 5) + if self.xlUpperBound != 0 { + try visitor.visitSingularFloatField(value: self.xlUpperBound, fieldNumber: 5) } - if self.pokemonSizeMultiplierScale6 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale6, fieldNumber: 6) + if self.xxlUpperBound != 0 { + try visitor.visitSingularFloatField(value: self.xxlUpperBound, fieldNumber: 6) } - if self.pokemonSizeMultiplierScale7 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale7, fieldNumber: 7) + if self.xxsScaleMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.xxsScaleMultiplier, fieldNumber: 7) } - if self.pokemonSizeMultiplierScale8 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale8, fieldNumber: 8) + if self.xsScaleMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.xsScaleMultiplier, fieldNumber: 8) } - if self.pokemonSizeMultiplierScale9 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale9, fieldNumber: 9) + if self.xlScaleMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.xlScaleMultiplier, fieldNumber: 9) } - if self.pokemonSizeMultiplierScale10 != 0 { - try visitor.visitSingularFloatField(value: self.pokemonSizeMultiplierScale10, fieldNumber: 10) + if self.xxlScaleMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.xxlScaleMultiplier, fieldNumber: 10) } - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 11) + if self.disablePokedexRecordDisplayAggregate != false { + try visitor.visitSingularBoolField(value: self.disablePokedexRecordDisplayAggregate, fieldNumber: 11) } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 12) + if self.disablePokedexRecordDisplayForForms != false { + try visitor.visitSingularBoolField(value: self.disablePokedexRecordDisplayForForms, fieldNumber: 12) } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 13) + if self.pokedexDisplayPokemonTrackedThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.pokedexDisplayPokemonTrackedThreshold, fieldNumber: 13) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 14) + if self.recordDisplayPokemonTrackedThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.recordDisplayPokemonTrackedThreshold, fieldNumber: 14) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: PokemonSizeSettingsProto, rhs: PokemonSizeSettingsProto) -> Bool { - if lhs.pokemonSizeMultiplierScale1 != rhs.pokemonSizeMultiplierScale1 {return false} - if lhs.pokemonSizeMultiplierScale2 != rhs.pokemonSizeMultiplierScale2 {return false} - if lhs.pokemonSizeMultiplierScale3 != rhs.pokemonSizeMultiplierScale3 {return false} - if lhs.pokemonSizeMultiplierScale4 != rhs.pokemonSizeMultiplierScale4 {return false} - if lhs.pokemonSizeMultiplierScale5 != rhs.pokemonSizeMultiplierScale5 {return false} - if lhs.pokemonSizeMultiplierScale6 != rhs.pokemonSizeMultiplierScale6 {return false} - if lhs.pokemonSizeMultiplierScale7 != rhs.pokemonSizeMultiplierScale7 {return false} - if lhs.pokemonSizeMultiplierScale8 != rhs.pokemonSizeMultiplierScale8 {return false} - if lhs.pokemonSizeMultiplierScale9 != rhs.pokemonSizeMultiplierScale9 {return false} - if lhs.pokemonSizeMultiplierScale10 != rhs.pokemonSizeMultiplierScale10 {return false} - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + if lhs.xxsLowerBound != rhs.xxsLowerBound {return false} + if lhs.xsLowerBound != rhs.xsLowerBound {return false} + if lhs.mlowerBound != rhs.mlowerBound {return false} + if lhs.mupperBound != rhs.mupperBound {return false} + if lhs.xlUpperBound != rhs.xlUpperBound {return false} + if lhs.xxlUpperBound != rhs.xxlUpperBound {return false} + if lhs.xxsScaleMultiplier != rhs.xxsScaleMultiplier {return false} + if lhs.xsScaleMultiplier != rhs.xsScaleMultiplier {return false} + if lhs.xlScaleMultiplier != rhs.xlScaleMultiplier {return false} + if lhs.xxlScaleMultiplier != rhs.xxlScaleMultiplier {return false} + if lhs.disablePokedexRecordDisplayAggregate != rhs.disablePokedexRecordDisplayAggregate {return false} + if lhs.disablePokedexRecordDisplayForForms != rhs.disablePokedexRecordDisplayForForms {return false} + if lhs.pokedexDisplayPokemonTrackedThreshold != rhs.pokedexDisplayPokemonTrackedThreshold {return false} + if lhs.recordDisplayPokemonTrackedThreshold != rhs.recordDisplayPokemonTrackedThreshold {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -262194,7 +273512,7 @@ extension PokemonUpgradeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes 10: .standard(proto: "default_cp_boost_additional_level"), 11: .standard(proto: "xl_candy_min_player_level"), 12: .standard(proto: "xl_candy_cost"), - 13: .standard(proto: "max_mega_level"), + 13: .standard(proto: "xl_candy_min_pokemon_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -262215,7 +273533,7 @@ extension PokemonUpgradeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes case 10: try { try decoder.decodeSingularInt32Field(value: &self.defaultCpBoostAdditionalLevel) }() case 11: try { try decoder.decodeSingularInt32Field(value: &self.xlCandyMinPlayerLevel) }() case 12: try { try decoder.decodeRepeatedInt32Field(value: &self.xlCandyCost) }() - case 13: try { try decoder.decodeSingularInt32Field(value: &self.maxMegaLevel) }() + case 13: try { try decoder.decodeSingularInt32Field(value: &self.xlCandyMinPokemonLevel) }() default: break } } @@ -262258,8 +273576,8 @@ extension PokemonUpgradeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes if !self.xlCandyCost.isEmpty { try visitor.visitPackedInt32Field(value: self.xlCandyCost, fieldNumber: 12) } - if self.maxMegaLevel != 0 { - try visitor.visitSingularInt32Field(value: self.maxMegaLevel, fieldNumber: 13) + if self.xlCandyMinPokemonLevel != 0 { + try visitor.visitSingularInt32Field(value: self.xlCandyMinPokemonLevel, fieldNumber: 13) } try unknownFields.traverse(visitor: &visitor) } @@ -262277,7 +273595,7 @@ extension PokemonUpgradeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes if lhs.defaultCpBoostAdditionalLevel != rhs.defaultCpBoostAdditionalLevel {return false} if lhs.xlCandyMinPlayerLevel != rhs.xlCandyMinPlayerLevel {return false} if lhs.xlCandyCost != rhs.xlCandyCost {return false} - if lhs.maxMegaLevel != rhs.maxMegaLevel {return false} + if lhs.xlCandyMinPokemonLevel != rhs.xlCandyMinPokemonLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -262599,214 +273917,54 @@ extension PolylineList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat extension PopupControlSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PopupControlSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_bool_1"), - 3: .standard(proto: "min_km_walked_to_show_fitness_notification"), - 4: .standard(proto: "num_sessions_to_show_ar_prompt"), - 5: .standard(proto: "ob_bool_2"), - 6: .standard(proto: "ob_bool_3"), - 7: .standard(proto: "ob_bool_4"), - 8: .standard(proto: "ob_bool_5"), - 9: .standard(proto: "ob_bool_6"), - 10: .standard(proto: "ob_bool_7"), - 11: .standard(proto: "ob_bool_8"), - 12: .standard(proto: "ob_bool_9"), - 13: .standard(proto: "ob_bool_10"), - 14: .standard(proto: "ob_bool_11"), - 15: .standard(proto: "ob_bool_12"), - 16: .standard(proto: "ob_bool_13"), - 17: .standard(proto: "ob_bool_14"), - 18: .standard(proto: "ob_bool_15"), - 19: .standard(proto: "ob_bool_16"), - 20: .standard(proto: "ob_bool_17"), + 1: .standard(proto: "popup_control_enabled"), + 7: .standard(proto: "hide_medal_earned_pop_up_until_after_first_pokemon"), + 14: .standard(proto: "hide_aware_of_your_surroundings_popup"), + 15: .standard(proto: "hide_weather_warning_popup"), + 21: .standard(proto: "defer_research_dialog"), ] - fileprivate class _StorageClass { - var _enabled: Bool = false - var _obBool1: Bool = false - var _minKmWalkedToShowFitnessNotification: Double = 0 - var _numSessionsToShowArPrompt: Int32 = 0 - var _obBool2: Bool = false - var _obBool3: Bool = false - var _obBool4: Bool = false - var _obBool5: Bool = false - var _obBool6: Bool = false - var _obBool7: Bool = false - var _obBool8: Bool = false - var _obBool9: Bool = false - var _obBool10: Bool = false - var _obBool11: Bool = false - var _obBool12: Bool = false - var _obBool13: Bool = false - var _obBool14: Bool = false - var _obBool15: Bool = false - var _obBool16: Bool = false - var _obBool17: Bool = false - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _enabled = source._enabled - _obBool1 = source._obBool1 - _minKmWalkedToShowFitnessNotification = source._minKmWalkedToShowFitnessNotification - _numSessionsToShowArPrompt = source._numSessionsToShowArPrompt - _obBool2 = source._obBool2 - _obBool3 = source._obBool3 - _obBool4 = source._obBool4 - _obBool5 = source._obBool5 - _obBool6 = source._obBool6 - _obBool7 = source._obBool7 - _obBool8 = source._obBool8 - _obBool9 = source._obBool9 - _obBool10 = source._obBool10 - _obBool11 = source._obBool11 - _obBool12 = source._obBool12 - _obBool13 = source._obBool13 - _obBool14 = source._obBool14 - _obBool15 = source._obBool15 - _obBool16 = source._obBool16 - _obBool17 = source._obBool17 - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &_storage._enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &_storage._obBool1) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &_storage._minKmWalkedToShowFitnessNotification) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._numSessionsToShowArPrompt) }() - case 5: try { try decoder.decodeSingularBoolField(value: &_storage._obBool2) }() - case 6: try { try decoder.decodeSingularBoolField(value: &_storage._obBool3) }() - case 7: try { try decoder.decodeSingularBoolField(value: &_storage._obBool4) }() - case 8: try { try decoder.decodeSingularBoolField(value: &_storage._obBool5) }() - case 9: try { try decoder.decodeSingularBoolField(value: &_storage._obBool6) }() - case 10: try { try decoder.decodeSingularBoolField(value: &_storage._obBool7) }() - case 11: try { try decoder.decodeSingularBoolField(value: &_storage._obBool8) }() - case 12: try { try decoder.decodeSingularBoolField(value: &_storage._obBool9) }() - case 13: try { try decoder.decodeSingularBoolField(value: &_storage._obBool10) }() - case 14: try { try decoder.decodeSingularBoolField(value: &_storage._obBool11) }() - case 15: try { try decoder.decodeSingularBoolField(value: &_storage._obBool12) }() - case 16: try { try decoder.decodeSingularBoolField(value: &_storage._obBool13) }() - case 17: try { try decoder.decodeSingularBoolField(value: &_storage._obBool14) }() - case 18: try { try decoder.decodeSingularBoolField(value: &_storage._obBool15) }() - case 19: try { try decoder.decodeSingularBoolField(value: &_storage._obBool16) }() - case 20: try { try decoder.decodeSingularBoolField(value: &_storage._obBool17) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.popupControlEnabled) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.hideMedalEarnedPopUpUntilAfterFirstPokemon) }() + case 14: try { try decoder.decodeSingularBoolField(value: &self.hideAwareOfYourSurroundingsPopup) }() + case 15: try { try decoder.decodeSingularBoolField(value: &self.hideWeatherWarningPopup) }() + case 21: try { try decoder.decodeSingularBoolField(value: &self.deferResearchDialog) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if _storage._enabled != false { - try visitor.visitSingularBoolField(value: _storage._enabled, fieldNumber: 1) - } - if _storage._obBool1 != false { - try visitor.visitSingularBoolField(value: _storage._obBool1, fieldNumber: 2) - } - if _storage._minKmWalkedToShowFitnessNotification != 0 { - try visitor.visitSingularDoubleField(value: _storage._minKmWalkedToShowFitnessNotification, fieldNumber: 3) - } - if _storage._numSessionsToShowArPrompt != 0 { - try visitor.visitSingularInt32Field(value: _storage._numSessionsToShowArPrompt, fieldNumber: 4) - } - if _storage._obBool2 != false { - try visitor.visitSingularBoolField(value: _storage._obBool2, fieldNumber: 5) - } - if _storage._obBool3 != false { - try visitor.visitSingularBoolField(value: _storage._obBool3, fieldNumber: 6) - } - if _storage._obBool4 != false { - try visitor.visitSingularBoolField(value: _storage._obBool4, fieldNumber: 7) - } - if _storage._obBool5 != false { - try visitor.visitSingularBoolField(value: _storage._obBool5, fieldNumber: 8) - } - if _storage._obBool6 != false { - try visitor.visitSingularBoolField(value: _storage._obBool6, fieldNumber: 9) - } - if _storage._obBool7 != false { - try visitor.visitSingularBoolField(value: _storage._obBool7, fieldNumber: 10) - } - if _storage._obBool8 != false { - try visitor.visitSingularBoolField(value: _storage._obBool8, fieldNumber: 11) - } - if _storage._obBool9 != false { - try visitor.visitSingularBoolField(value: _storage._obBool9, fieldNumber: 12) - } - if _storage._obBool10 != false { - try visitor.visitSingularBoolField(value: _storage._obBool10, fieldNumber: 13) - } - if _storage._obBool11 != false { - try visitor.visitSingularBoolField(value: _storage._obBool11, fieldNumber: 14) - } - if _storage._obBool12 != false { - try visitor.visitSingularBoolField(value: _storage._obBool12, fieldNumber: 15) - } - if _storage._obBool13 != false { - try visitor.visitSingularBoolField(value: _storage._obBool13, fieldNumber: 16) - } - if _storage._obBool14 != false { - try visitor.visitSingularBoolField(value: _storage._obBool14, fieldNumber: 17) - } - if _storage._obBool15 != false { - try visitor.visitSingularBoolField(value: _storage._obBool15, fieldNumber: 18) - } - if _storage._obBool16 != false { - try visitor.visitSingularBoolField(value: _storage._obBool16, fieldNumber: 19) - } - if _storage._obBool17 != false { - try visitor.visitSingularBoolField(value: _storage._obBool17, fieldNumber: 20) - } + if self.popupControlEnabled != false { + try visitor.visitSingularBoolField(value: self.popupControlEnabled, fieldNumber: 1) + } + if self.hideMedalEarnedPopUpUntilAfterFirstPokemon != false { + try visitor.visitSingularBoolField(value: self.hideMedalEarnedPopUpUntilAfterFirstPokemon, fieldNumber: 7) + } + if self.hideAwareOfYourSurroundingsPopup != false { + try visitor.visitSingularBoolField(value: self.hideAwareOfYourSurroundingsPopup, fieldNumber: 14) + } + if self.hideWeatherWarningPopup != false { + try visitor.visitSingularBoolField(value: self.hideWeatherWarningPopup, fieldNumber: 15) + } + if self.deferResearchDialog != false { + try visitor.visitSingularBoolField(value: self.deferResearchDialog, fieldNumber: 21) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: PopupControlSettingsProto, rhs: PopupControlSettingsProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._enabled != rhs_storage._enabled {return false} - if _storage._obBool1 != rhs_storage._obBool1 {return false} - if _storage._minKmWalkedToShowFitnessNotification != rhs_storage._minKmWalkedToShowFitnessNotification {return false} - if _storage._numSessionsToShowArPrompt != rhs_storage._numSessionsToShowArPrompt {return false} - if _storage._obBool2 != rhs_storage._obBool2 {return false} - if _storage._obBool3 != rhs_storage._obBool3 {return false} - if _storage._obBool4 != rhs_storage._obBool4 {return false} - if _storage._obBool5 != rhs_storage._obBool5 {return false} - if _storage._obBool6 != rhs_storage._obBool6 {return false} - if _storage._obBool7 != rhs_storage._obBool7 {return false} - if _storage._obBool8 != rhs_storage._obBool8 {return false} - if _storage._obBool9 != rhs_storage._obBool9 {return false} - if _storage._obBool10 != rhs_storage._obBool10 {return false} - if _storage._obBool11 != rhs_storage._obBool11 {return false} - if _storage._obBool12 != rhs_storage._obBool12 {return false} - if _storage._obBool13 != rhs_storage._obBool13 {return false} - if _storage._obBool14 != rhs_storage._obBool14 {return false} - if _storage._obBool15 != rhs_storage._obBool15 {return false} - if _storage._obBool16 != rhs_storage._obBool16 {return false} - if _storage._obBool17 != rhs_storage._obBool17 {return false} - return true - } - if !storagesAreEqual {return false} - } + if lhs.popupControlEnabled != rhs.popupControlEnabled {return false} + if lhs.hideMedalEarnedPopUpUntilAfterFirstPokemon != rhs.hideMedalEarnedPopUpUntilAfterFirstPokemon {return false} + if lhs.hideAwareOfYourSurroundingsPopup != rhs.hideAwareOfYourSurroundingsPopup {return false} + if lhs.hideWeatherWarningPopup != rhs.hideWeatherWarningPopup {return false} + if lhs.deferResearchDialog != rhs.deferResearchDialog {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -262844,121 +274002,10 @@ extension PortalCurationImageResult.Result: SwiftProtobuf._ProtoNameProviding { ] } -extension PostStaticNewsfeedRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PostStaticNewsfeedRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_id"), - 2: .standard(proto: "newsfeed_post"), - 3: .standard(proto: "liquid_attributes"), - 4: .standard(proto: "bucket_name"), - 6: .standard(proto: "environment_id"), - 7: .standard(proto: "campaign_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.appID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._newsfeedPost) }() - case 3: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.liquidAttributes) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.bucketName) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.environmentID) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.campaignID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.appID.isEmpty { - try visitor.visitSingularStringField(value: self.appID, fieldNumber: 1) - } - try { if let v = self._newsfeedPost { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.liquidAttributes.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.liquidAttributes, fieldNumber: 3) - } - if !self.bucketName.isEmpty { - try visitor.visitSingularStringField(value: self.bucketName, fieldNumber: 4) - } - if !self.environmentID.isEmpty { - try visitor.visitSingularStringField(value: self.environmentID, fieldNumber: 6) - } - if self.campaignID != 0 { - try visitor.visitSingularInt64Field(value: self.campaignID, fieldNumber: 7) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PostStaticNewsfeedRequest, rhs: PostStaticNewsfeedRequest) -> Bool { - if lhs.appID != rhs.appID {return false} - if lhs._newsfeedPost != rhs._newsfeedPost {return false} - if lhs.liquidAttributes != rhs.liquidAttributes {return false} - if lhs.bucketName != rhs.bucketName {return false} - if lhs.environmentID != rhs.environmentID {return false} - if lhs.campaignID != rhs.campaignID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension PostStaticNewsfeedResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PostStaticNewsfeedResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PostStaticNewsfeedResponse, rhs: PostStaticNewsfeedResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension PostStaticNewsfeedResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "INVALID_POST_TIMESTAMP"), - 3: .same(proto: "INVALID_APP_ID"), - 4: .same(proto: "INVALID_NEWSFEED_TITLE"), - 5: .same(proto: "INVALID_NEWSFEED_CONTENT"), - 6: .same(proto: "SEND_FAILED"), - 7: .same(proto: "LIQUID_LOGIC_ERROR"), - ] -} - extension PostcardBookTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PostcardBookTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "interaction_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -262967,39 +274014,41 @@ extension PostcardBookTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.interactionType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .open { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.interactionType != .open { + try visitor.visitSingularEnumField(value: self.interactionType, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: PostcardBookTelemetry, rhs: PostcardBookTelemetry) -> Bool { - if lhs.status != rhs.status {return false} + if lhs.interactionType != rhs.interactionType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PostcardBookTelemetry.Status: SwiftProtobuf._ProtoNameProviding { +extension PostcardBookTelemetry.PostcardBookInteraction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "OPEN"), ] } -extension PostcardCollectionGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PostcardCollectionGlobalSettingsProto" +extension PostcardCollectionGmtSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PostcardCollectionGmtSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_count"), - 3: .standard(proto: "enabled_postcard"), - 4: .standard(proto: "send_enabled"), + 2: .standard(proto: "background_pattern_name"), + 3: .standard(proto: "background_pattern_tile_scale"), + 4: .standard(proto: "postcard_ui_element_color"), + 5: .standard(proto: "postcard_ui_text_stroke_color"), + 6: .standard(proto: "postcard_border_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -263009,9 +274058,11 @@ extension PostcardCollectionGlobalSettingsProto: SwiftProtobuf.Message, SwiftPro // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obCount) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.enabledPostcard) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.sendEnabled) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.backgroundPatternName) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.backgroundPatternTileScale) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.postcardUiElementColor) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.postcardUiTextStrokeColor) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.postcardBorderName) }() default: break } } @@ -263021,32 +274072,43 @@ extension PostcardCollectionGlobalSettingsProto: SwiftProtobuf.Message, SwiftPro if self.enabled != false { try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } - if self.obCount != 0 { - try visitor.visitSingularInt32Field(value: self.obCount, fieldNumber: 2) + if !self.backgroundPatternName.isEmpty { + try visitor.visitSingularStringField(value: self.backgroundPatternName, fieldNumber: 2) + } + if self.backgroundPatternTileScale != 0 { + try visitor.visitSingularFloatField(value: self.backgroundPatternTileScale, fieldNumber: 3) + } + if !self.postcardUiElementColor.isEmpty { + try visitor.visitSingularStringField(value: self.postcardUiElementColor, fieldNumber: 4) } - if self.enabledPostcard != false { - try visitor.visitSingularBoolField(value: self.enabledPostcard, fieldNumber: 3) + if !self.postcardUiTextStrokeColor.isEmpty { + try visitor.visitSingularStringField(value: self.postcardUiTextStrokeColor, fieldNumber: 5) } - if self.sendEnabled != false { - try visitor.visitSingularBoolField(value: self.sendEnabled, fieldNumber: 4) + if !self.postcardBorderName.isEmpty { + try visitor.visitSingularStringField(value: self.postcardBorderName, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PostcardCollectionGlobalSettingsProto, rhs: PostcardCollectionGlobalSettingsProto) -> Bool { + public static func ==(lhs: PostcardCollectionGmtSettingsProto, rhs: PostcardCollectionGmtSettingsProto) -> Bool { if lhs.enabled != rhs.enabled {return false} - if lhs.obCount != rhs.obCount {return false} - if lhs.enabledPostcard != rhs.enabledPostcard {return false} - if lhs.sendEnabled != rhs.sendEnabled {return false} + if lhs.backgroundPatternName != rhs.backgroundPatternName {return false} + if lhs.backgroundPatternTileScale != rhs.backgroundPatternTileScale {return false} + if lhs.postcardUiElementColor != rhs.postcardUiElementColor {return false} + if lhs.postcardUiTextStrokeColor != rhs.postcardUiTextStrokeColor {return false} + if lhs.postcardBorderName != rhs.postcardBorderName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PostcardCollectionSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PostcardCollectionSettings" +extension PostcardCollectionSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PostcardCollectionSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "enabled"), + 2: .standard(proto: "max_note_length_in_characters"), + 3: .standard(proto: "share_trainer_info_by_default"), + 4: .standard(proto: "mass_deletion_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -263056,6 +274118,9 @@ extension PostcardCollectionSettings: SwiftProtobuf.Message, SwiftProtobuf._Mess // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxNoteLengthInCharacters) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.shareTrainerInfoByDefault) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.massDeletionEnabled) }() default: break } } @@ -263065,11 +274130,23 @@ extension PostcardCollectionSettings: SwiftProtobuf.Message, SwiftProtobuf._Mess if self.enabled != false { try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } + if self.maxNoteLengthInCharacters != 0 { + try visitor.visitSingularInt32Field(value: self.maxNoteLengthInCharacters, fieldNumber: 2) + } + if self.shareTrainerInfoByDefault != false { + try visitor.visitSingularBoolField(value: self.shareTrainerInfoByDefault, fieldNumber: 3) + } + if self.massDeletionEnabled != false { + try visitor.visitSingularBoolField(value: self.massDeletionEnabled, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PostcardCollectionSettings, rhs: PostcardCollectionSettings) -> Bool { + public static func ==(lhs: PostcardCollectionSettingsProto, rhs: PostcardCollectionSettingsProto) -> Bool { if lhs.enabled != rhs.enabled {return false} + if lhs.maxNoteLengthInCharacters != rhs.maxNoteLengthInCharacters {return false} + if lhs.shareTrainerInfoByDefault != rhs.shareTrainerInfoByDefault {return false} + if lhs.massDeletionEnabled != rhs.massDeletionEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -263136,6 +274213,8 @@ extension PostcardDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp 18: .standard(proto: "already_shared"), 19: .standard(proto: "postcard_creator_nia_account_id"), 20: .standard(proto: "received_in_party"), + 21: .standard(proto: "route_id"), + 22: .standard(proto: "route_name"), ] fileprivate class _StorageClass { @@ -263159,6 +274238,8 @@ extension PostcardDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp var _alreadyShared: Bool = false var _postcardCreatorNiaAccountID: String = String() var _receivedInParty: Bool = false + var _routeID: String = String() + var _routeName: String = String() static let defaultInstance = _StorageClass() @@ -263185,6 +274266,8 @@ extension PostcardDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp _alreadyShared = source._alreadyShared _postcardCreatorNiaAccountID = source._postcardCreatorNiaAccountID _receivedInParty = source._receivedInParty + _routeID = source._routeID + _routeName = source._routeName } } @@ -263223,6 +274306,8 @@ extension PostcardDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp case 18: try { try decoder.decodeSingularBoolField(value: &_storage._alreadyShared) }() case 19: try { try decoder.decodeSingularStringField(value: &_storage._postcardCreatorNiaAccountID) }() case 20: try { try decoder.decodeSingularBoolField(value: &_storage._receivedInParty) }() + case 21: try { try decoder.decodeSingularStringField(value: &_storage._routeID) }() + case 22: try { try decoder.decodeSingularStringField(value: &_storage._routeName) }() default: break } } @@ -263230,110 +274315,289 @@ extension PostcardDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - if !_storage._postcardID.isEmpty { - try visitor.visitSingularStringField(value: _storage._postcardID, fieldNumber: 1) - } - if !_storage._fortID.isEmpty { - try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 2) - } - if _storage._fortLat != 0 { - try visitor.visitSingularDoubleField(value: _storage._fortLat, fieldNumber: 3) - } - if _storage._fortLng != 0 { - try visitor.visitSingularDoubleField(value: _storage._fortLng, fieldNumber: 4) - } - if _storage._creationTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: _storage._creationTimestampMs, fieldNumber: 5) - } - if !_storage._imageURL.isEmpty { - try visitor.visitSingularStringField(value: _storage._imageURL, fieldNumber: 6) - } - if _storage._favorite != false { - try visitor.visitSingularBoolField(value: _storage._favorite, fieldNumber: 7) - } - if !_storage._postcardCreatorID.isEmpty { - try visitor.visitSingularStringField(value: _storage._postcardCreatorID, fieldNumber: 8) - } - if !_storage._postcardCreatorNickname.isEmpty { - try visitor.visitSingularStringField(value: _storage._postcardCreatorNickname, fieldNumber: 9) - } - if !_storage._stickerID.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._stickerID, fieldNumber: 10) - } - if !_storage._note.isEmpty { - try visitor.visitSingularStringField(value: _storage._note, fieldNumber: 11) - } - if !_storage._fortName.isEmpty { - try visitor.visitSingularStringField(value: _storage._fortName, fieldNumber: 12) - } - if _storage._postcardSource != .unknown { - try visitor.visitSingularEnumField(value: _storage._postcardSource, fieldNumber: 13) - } - if _storage._giftboxID != 0 { - try visitor.visitSingularUInt64Field(value: _storage._giftboxID, fieldNumber: 14) - } - if !_storage._postcardCreatorCodename.isEmpty { - try visitor.visitSingularStringField(value: _storage._postcardCreatorCodename, fieldNumber: 15) - } - if _storage._sourceGiftboxID != 0 { - try visitor.visitSingularUInt64Field(value: _storage._sourceGiftboxID, fieldNumber: 16) - } - if _storage._isSponsored != false { - try visitor.visitSingularBoolField(value: _storage._isSponsored, fieldNumber: 17) - } - if _storage._alreadyShared != false { - try visitor.visitSingularBoolField(value: _storage._alreadyShared, fieldNumber: 18) - } - if !_storage._postcardCreatorNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: _storage._postcardCreatorNiaAccountID, fieldNumber: 19) - } - if _storage._receivedInParty != false { - try visitor.visitSingularBoolField(value: _storage._receivedInParty, fieldNumber: 20) - } + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if !_storage._postcardID.isEmpty { + try visitor.visitSingularStringField(value: _storage._postcardID, fieldNumber: 1) + } + if !_storage._fortID.isEmpty { + try visitor.visitSingularStringField(value: _storage._fortID, fieldNumber: 2) + } + if _storage._fortLat != 0 { + try visitor.visitSingularDoubleField(value: _storage._fortLat, fieldNumber: 3) + } + if _storage._fortLng != 0 { + try visitor.visitSingularDoubleField(value: _storage._fortLng, fieldNumber: 4) + } + if _storage._creationTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._creationTimestampMs, fieldNumber: 5) + } + if !_storage._imageURL.isEmpty { + try visitor.visitSingularStringField(value: _storage._imageURL, fieldNumber: 6) + } + if _storage._favorite != false { + try visitor.visitSingularBoolField(value: _storage._favorite, fieldNumber: 7) + } + if !_storage._postcardCreatorID.isEmpty { + try visitor.visitSingularStringField(value: _storage._postcardCreatorID, fieldNumber: 8) + } + if !_storage._postcardCreatorNickname.isEmpty { + try visitor.visitSingularStringField(value: _storage._postcardCreatorNickname, fieldNumber: 9) + } + if !_storage._stickerID.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._stickerID, fieldNumber: 10) + } + if !_storage._note.isEmpty { + try visitor.visitSingularStringField(value: _storage._note, fieldNumber: 11) + } + if !_storage._fortName.isEmpty { + try visitor.visitSingularStringField(value: _storage._fortName, fieldNumber: 12) + } + if _storage._postcardSource != .unknown { + try visitor.visitSingularEnumField(value: _storage._postcardSource, fieldNumber: 13) + } + if _storage._giftboxID != 0 { + try visitor.visitSingularUInt64Field(value: _storage._giftboxID, fieldNumber: 14) + } + if !_storage._postcardCreatorCodename.isEmpty { + try visitor.visitSingularStringField(value: _storage._postcardCreatorCodename, fieldNumber: 15) + } + if _storage._sourceGiftboxID != 0 { + try visitor.visitSingularUInt64Field(value: _storage._sourceGiftboxID, fieldNumber: 16) + } + if _storage._isSponsored != false { + try visitor.visitSingularBoolField(value: _storage._isSponsored, fieldNumber: 17) + } + if _storage._alreadyShared != false { + try visitor.visitSingularBoolField(value: _storage._alreadyShared, fieldNumber: 18) + } + if !_storage._postcardCreatorNiaAccountID.isEmpty { + try visitor.visitSingularStringField(value: _storage._postcardCreatorNiaAccountID, fieldNumber: 19) + } + if _storage._receivedInParty != false { + try visitor.visitSingularBoolField(value: _storage._receivedInParty, fieldNumber: 20) + } + if !_storage._routeID.isEmpty { + try visitor.visitSingularStringField(value: _storage._routeID, fieldNumber: 21) + } + if !_storage._routeName.isEmpty { + try visitor.visitSingularStringField(value: _storage._routeName, fieldNumber: 22) + } + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PostcardDisplayProto, rhs: PostcardDisplayProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._postcardID != rhs_storage._postcardID {return false} + if _storage._fortID != rhs_storage._fortID {return false} + if _storage._fortLat != rhs_storage._fortLat {return false} + if _storage._fortLng != rhs_storage._fortLng {return false} + if _storage._creationTimestampMs != rhs_storage._creationTimestampMs {return false} + if _storage._imageURL != rhs_storage._imageURL {return false} + if _storage._favorite != rhs_storage._favorite {return false} + if _storage._postcardCreatorID != rhs_storage._postcardCreatorID {return false} + if _storage._postcardCreatorNickname != rhs_storage._postcardCreatorNickname {return false} + if _storage._stickerID != rhs_storage._stickerID {return false} + if _storage._note != rhs_storage._note {return false} + if _storage._fortName != rhs_storage._fortName {return false} + if _storage._postcardSource != rhs_storage._postcardSource {return false} + if _storage._giftboxID != rhs_storage._giftboxID {return false} + if _storage._postcardCreatorCodename != rhs_storage._postcardCreatorCodename {return false} + if _storage._sourceGiftboxID != rhs_storage._sourceGiftboxID {return false} + if _storage._isSponsored != rhs_storage._isSponsored {return false} + if _storage._alreadyShared != rhs_storage._alreadyShared {return false} + if _storage._postcardCreatorNiaAccountID != rhs_storage._postcardCreatorNiaAccountID {return false} + if _storage._receivedInParty != rhs_storage._receivedInParty {return false} + if _storage._routeID != rhs_storage._routeID {return false} + if _storage._routeName != rhs_storage._routeName {return false} + return true + } + if !storagesAreEqual {return false} + } + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PotionAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PotionAttributesProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "sta_percent"), + 2: .standard(proto: "sta_amount"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularFloatField(value: &self.staPercent) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.staAmount) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.staPercent != 0 { + try visitor.visitSingularFloatField(value: self.staPercent, fieldNumber: 1) + } + if self.staAmount != 0 { + try visitor.visitSingularInt32Field(value: self.staAmount, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PotionAttributesProto, rhs: PotionAttributesProto) -> Bool { + if lhs.staPercent != rhs.staPercent {return false} + if lhs.staAmount != rhs.staAmount {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PowerUpPokestopEncounterOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PowerUpPokestopEncounterOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "pokemon"), + 3: .standard(proto: "capture_probability"), + 4: .standard(proto: "active_item"), + 5: .standard(proto: "arplus_attempts_until_flee"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemon) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._captureProbability) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.activeItem) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.arplusAttemptsUntilFlee) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unknown { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._pokemon { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._captureProbability { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.activeItem != .unknown { + try visitor.visitSingularEnumField(value: self.activeItem, fieldNumber: 4) + } + if self.arplusAttemptsUntilFlee != 0 { + try visitor.visitSingularInt32Field(value: self.arplusAttemptsUntilFlee, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PowerUpPokestopEncounterOutProto, rhs: PowerUpPokestopEncounterOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._pokemon != rhs._pokemon {return false} + if lhs._captureProbability != rhs._captureProbability {return false} + if lhs.activeItem != rhs.activeItem {return false} + if lhs.arplusAttemptsUntilFlee != rhs.arplusAttemptsUntilFlee {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PowerUpPokestopEncounterOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "NOT_AVAILABLE"), + 3: .same(proto: "NOT_IN_RANGE"), + 4: .same(proto: "ENCOUNTER_ALREADY_FINISHED"), + 5: .same(proto: "POKEMON_INVENTORY_FULL"), + ] +} + +extension PowerUpPokestopEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PowerUpPokestopEncounterProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "encounter_id"), + 2: .standard(proto: "fort_id"), + 3: .standard(proto: "player_lat_degrees"), + 4: .standard(proto: "player_lng_degrees"), + 5: .standard(proto: "gym_lat_degrees"), + 6: .standard(proto: "gym_lng_degrees"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.encounterID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.playerLatDegrees) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.playerLngDegrees) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.gymLatDegrees) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.gymLngDegrees) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.encounterID != 0 { + try visitor.visitSingularInt64Field(value: self.encounterID, fieldNumber: 1) + } + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) + } + if self.playerLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLatDegrees, fieldNumber: 3) + } + if self.playerLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.playerLngDegrees, fieldNumber: 4) + } + if self.gymLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.gymLatDegrees, fieldNumber: 5) + } + if self.gymLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.gymLngDegrees, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PostcardDisplayProto, rhs: PostcardDisplayProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._postcardID != rhs_storage._postcardID {return false} - if _storage._fortID != rhs_storage._fortID {return false} - if _storage._fortLat != rhs_storage._fortLat {return false} - if _storage._fortLng != rhs_storage._fortLng {return false} - if _storage._creationTimestampMs != rhs_storage._creationTimestampMs {return false} - if _storage._imageURL != rhs_storage._imageURL {return false} - if _storage._favorite != rhs_storage._favorite {return false} - if _storage._postcardCreatorID != rhs_storage._postcardCreatorID {return false} - if _storage._postcardCreatorNickname != rhs_storage._postcardCreatorNickname {return false} - if _storage._stickerID != rhs_storage._stickerID {return false} - if _storage._note != rhs_storage._note {return false} - if _storage._fortName != rhs_storage._fortName {return false} - if _storage._postcardSource != rhs_storage._postcardSource {return false} - if _storage._giftboxID != rhs_storage._giftboxID {return false} - if _storage._postcardCreatorCodename != rhs_storage._postcardCreatorCodename {return false} - if _storage._sourceGiftboxID != rhs_storage._sourceGiftboxID {return false} - if _storage._isSponsored != rhs_storage._isSponsored {return false} - if _storage._alreadyShared != rhs_storage._alreadyShared {return false} - if _storage._postcardCreatorNiaAccountID != rhs_storage._postcardCreatorNiaAccountID {return false} - if _storage._receivedInParty != rhs_storage._receivedInParty {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: PowerUpPokestopEncounterProto, rhs: PowerUpPokestopEncounterProto) -> Bool { + if lhs.encounterID != rhs.encounterID {return false} + if lhs.fortID != rhs.fortID {return false} + if lhs.playerLatDegrees != rhs.playerLatDegrees {return false} + if lhs.playerLngDegrees != rhs.playerLngDegrees {return false} + if lhs.gymLatDegrees != rhs.gymLatDegrees {return false} + if lhs.gymLngDegrees != rhs.gymLngDegrees {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PotionAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PotionAttributesProto" +extension PowerUpPokestopsGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PowerUpPokestopsGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sta_percent"), - 2: .standard(proto: "sta_amount"), + 1: .standard(proto: "enable_power_up_pokestops"), + 2: .standard(proto: "minutes_to_notify_before_pokestop_close"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -263342,37 +274606,37 @@ extension PotionAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.staPercent) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.staAmount) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enablePowerUpPokestops) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minutesToNotifyBeforePokestopClose) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.staPercent != 0 { - try visitor.visitSingularFloatField(value: self.staPercent, fieldNumber: 1) + if self.enablePowerUpPokestops != false { + try visitor.visitSingularBoolField(value: self.enablePowerUpPokestops, fieldNumber: 1) } - if self.staAmount != 0 { - try visitor.visitSingularInt32Field(value: self.staAmount, fieldNumber: 2) + if self.minutesToNotifyBeforePokestopClose != 0 { + try visitor.visitSingularInt32Field(value: self.minutesToNotifyBeforePokestopClose, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PotionAttributesProto, rhs: PotionAttributesProto) -> Bool { - if lhs.staPercent != rhs.staPercent {return false} - if lhs.staAmount != rhs.staAmount {return false} + public static func ==(lhs: PowerUpPokestopsGlobalSettingsProto, rhs: PowerUpPokestopsGlobalSettingsProto) -> Bool { + if lhs.enablePowerUpPokestops != rhs.enablePowerUpPokestops {return false} + if lhs.minutesToNotifyBeforePokestopClose != rhs.minutesToNotifyBeforePokestopClose {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PowerUpPokestopSharedSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PowerUpPokestopSharedSettings" +extension PowerUpPokestopsSharedSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PowerUpPokestopsSharedSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "feature_enabled"), - 2: .standard(proto: "min_player_level_for_scanning"), - 3: .standard(proto: "points_multiplier"), + 1: .standard(proto: "enable_power_up_pokestops"), + 2: .standard(proto: "power_up_pokestops_min_player_level"), + 3: .standard(proto: "validate_pokestop_on_fort_search_percent"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -263381,31 +274645,31 @@ extension PowerUpPokestopSharedSettings: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.featureEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevelForScanning) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.pointsMultiplier) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enablePowerUpPokestops) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.powerUpPokestopsMinPlayerLevel) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.validatePokestopOnFortSearchPercent) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.featureEnabled != false { - try visitor.visitSingularBoolField(value: self.featureEnabled, fieldNumber: 1) + if self.enablePowerUpPokestops != false { + try visitor.visitSingularBoolField(value: self.enablePowerUpPokestops, fieldNumber: 1) } - if self.minPlayerLevelForScanning != 0 { - try visitor.visitSingularInt32Field(value: self.minPlayerLevelForScanning, fieldNumber: 2) + if self.powerUpPokestopsMinPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.powerUpPokestopsMinPlayerLevel, fieldNumber: 2) } - if self.pointsMultiplier != 0 { - try visitor.visitSingularFloatField(value: self.pointsMultiplier, fieldNumber: 3) + if self.validatePokestopOnFortSearchPercent != 0 { + try visitor.visitSingularFloatField(value: self.validatePokestopOnFortSearchPercent, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PowerUpPokestopSharedSettings, rhs: PowerUpPokestopSharedSettings) -> Bool { - if lhs.featureEnabled != rhs.featureEnabled {return false} - if lhs.minPlayerLevelForScanning != rhs.minPlayerLevelForScanning {return false} - if lhs.pointsMultiplier != rhs.pointsMultiplier {return false} + public static func ==(lhs: PowerUpPokestopsSharedSettingsProto, rhs: PowerUpPokestopsSharedSettingsProto) -> Bool { + if lhs.enablePowerUpPokestops != rhs.enablePowerUpPokestops {return false} + if lhs.powerUpPokestopsMinPlayerLevel != rhs.powerUpPokestopsMinPlayerLevel {return false} + if lhs.validatePokestopOnFortSearchPercent != rhs.validatePokestopOnFortSearchPercent {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -263527,124 +274791,6 @@ extension PreAgeGateMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } -extension PreAgeGateTrackingOmniproto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PreAgeGateTrackingOmniproto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "age_gate_startup"), - 2: .standard(proto: "age_gate_result"), - 1000: .standard(proto: "pre_age_gate_metadata"), - 1002: .standard(proto: "common_filters"), - ] - - fileprivate class _StorageClass { - var _preAgeGateEvent: PreAgeGateTrackingOmniproto.OneOf_PreAgeGateEvent? - var _preAgeGateMetadata: PreAgeGateMetadata? = nil - var _commonFilters: ClientTelemetryCommonFilterProto? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _preAgeGateEvent = source._preAgeGateEvent - _preAgeGateMetadata = source._preAgeGateMetadata - _commonFilters = source._commonFilters - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { - var v: AgeGateStartup? - var hadOneofValue = false - if let current = _storage._preAgeGateEvent { - hadOneofValue = true - if case .ageGateStartup(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._preAgeGateEvent = .ageGateStartup(v) - } - }() - case 2: try { - var v: AgeGateResult? - var hadOneofValue = false - if let current = _storage._preAgeGateEvent { - hadOneofValue = true - if case .ageGateResult(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._preAgeGateEvent = .ageGateResult(v) - } - }() - case 1000: try { try decoder.decodeSingularMessageField(value: &_storage._preAgeGateMetadata) }() - case 1002: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() - default: break - } - } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch _storage._preAgeGateEvent { - case .ageGateStartup?: try { - guard case .ageGateStartup(let v)? = _storage._preAgeGateEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .ageGateResult?: try { - guard case .ageGateResult(let v)? = _storage._preAgeGateEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case nil: break - } - try { if let v = _storage._preAgeGateMetadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1000) - } }() - try { if let v = _storage._commonFilters { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) - } }() - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: PreAgeGateTrackingOmniproto, rhs: PreAgeGateTrackingOmniproto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._preAgeGateEvent != rhs_storage._preAgeGateEvent {return false} - if _storage._preAgeGateMetadata != rhs_storage._preAgeGateMetadata {return false} - if _storage._commonFilters != rhs_storage._commonFilters {return false} - return true - } - if !storagesAreEqual {return false} - } - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension PreLoginMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".PreLoginMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -263701,186 +274847,65 @@ extension PreLoginMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme } } -extension PreLoginTrackingOmniproto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PreLoginTrackingOmniproto" +extension PreviewProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PreviewProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "login_startup"), - 2: .standard(proto: "login_new_player"), - 3: .standard(proto: "login_returning_player"), - 4: .standard(proto: "login_new_player_create_account"), - 5: .standard(proto: "login_returning_player_sign_in"), - 1001: .standard(proto: "pre_login_metadata"), - 1002: .standard(proto: "common_filters"), + 1: .standard(proto: "default_cp_range"), + 2: .standard(proto: "buddy_boosted_cp_range"), + 3: .standard(proto: "evolving_pokemon_default_cp"), + 4: .standard(proto: "evolving_pokemon_buddy_boosted_cp"), ] - fileprivate class _StorageClass { - var _preLoginEvent: PreLoginTrackingOmniproto.OneOf_PreLoginEvent? - var _preLoginMetadata: PreLoginMetadata? = nil - var _commonFilters: ClientTelemetryCommonFilterProto? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _preLoginEvent = source._preLoginEvent - _preLoginMetadata = source._preLoginMetadata - _commonFilters = source._commonFilters - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { - var v: LoginStartup? - var hadOneofValue = false - if let current = _storage._preLoginEvent { - hadOneofValue = true - if case .loginStartup(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._preLoginEvent = .loginStartup(v) - } - }() - case 2: try { - var v: LoginNewPlayer? - var hadOneofValue = false - if let current = _storage._preLoginEvent { - hadOneofValue = true - if case .loginNewPlayer(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._preLoginEvent = .loginNewPlayer(v) - } - }() - case 3: try { - var v: LoginReturningPlayer? - var hadOneofValue = false - if let current = _storage._preLoginEvent { - hadOneofValue = true - if case .loginReturningPlayer(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._preLoginEvent = .loginReturningPlayer(v) - } - }() - case 4: try { - var v: LoginNewPlayerCreateAccount? - var hadOneofValue = false - if let current = _storage._preLoginEvent { - hadOneofValue = true - if case .loginNewPlayerCreateAccount(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._preLoginEvent = .loginNewPlayerCreateAccount(v) - } - }() - case 5: try { - var v: LoginReturningPlayerSignIn? - var hadOneofValue = false - if let current = _storage._preLoginEvent { - hadOneofValue = true - if case .loginReturningPlayerSignIn(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._preLoginEvent = .loginReturningPlayerSignIn(v) - } - }() - case 1001: try { try decoder.decodeSingularMessageField(value: &_storage._preLoginMetadata) }() - case 1002: try { try decoder.decodeSingularMessageField(value: &_storage._commonFilters) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._defaultCpRange) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._buddyBoostedCpRange) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.evolvingPokemonDefaultCp) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.evolvingPokemonBuddyBoostedCp) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch _storage._preLoginEvent { - case .loginStartup?: try { - guard case .loginStartup(let v)? = _storage._preLoginEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .loginNewPlayer?: try { - guard case .loginNewPlayer(let v)? = _storage._preLoginEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .loginReturningPlayer?: try { - guard case .loginReturningPlayer(let v)? = _storage._preLoginEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .loginNewPlayerCreateAccount?: try { - guard case .loginNewPlayerCreateAccount(let v)? = _storage._preLoginEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .loginReturningPlayerSignIn?: try { - guard case .loginReturningPlayerSignIn(let v)? = _storage._preLoginEvent else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case nil: break - } - try { if let v = _storage._preLoginMetadata { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) - } }() - try { if let v = _storage._commonFilters { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1002) - } }() + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._defaultCpRange { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._buddyBoostedCpRange { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.evolvingPokemonDefaultCp != 0 { + try visitor.visitSingularInt32Field(value: self.evolvingPokemonDefaultCp, fieldNumber: 3) + } + if self.evolvingPokemonBuddyBoostedCp != 0 { + try visitor.visitSingularInt32Field(value: self.evolvingPokemonBuddyBoostedCp, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PreLoginTrackingOmniproto, rhs: PreLoginTrackingOmniproto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._preLoginEvent != rhs_storage._preLoginEvent {return false} - if _storage._preLoginMetadata != rhs_storage._preLoginMetadata {return false} - if _storage._commonFilters != rhs_storage._commonFilters {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: PreviewProto, rhs: PreviewProto) -> Bool { + if lhs._defaultCpRange != rhs._defaultCpRange {return false} + if lhs._buddyBoostedCpRange != rhs._buddyBoostedCpRange {return false} + if lhs.evolvingPokemonDefaultCp != rhs.evolvingPokemonDefaultCp {return false} + if lhs.evolvingPokemonBuddyBoostedCp != rhs.evolvingPokemonBuddyBoostedCp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PrimalBoostSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PrimalBoostSettingsProto" +extension PreviewProto.CpRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PreviewProto.protoMessageName + ".CpRange" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "evolution_length_ms"), - 2: .standard(proto: "ob_bool_1"), - 3: .standard(proto: "ob_int32_1"), - 4: .standard(proto: "primal_type_boost_enabled"), - 10: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "min_cp"), + 2: .standard(proto: "max_cp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -263889,52 +274914,36 @@ extension PrimalBoostSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.evolutionLengthMs) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.primalTypeBoostEnabled) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minCp) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxCp) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.evolutionLengthMs != 0 { - try visitor.visitSingularInt64Field(value: self.evolutionLengthMs, fieldNumber: 1) - } - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 2) - } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 3) - } - if self.primalTypeBoostEnabled != false { - try visitor.visitSingularBoolField(value: self.primalTypeBoostEnabled, fieldNumber: 4) + if self.minCp != 0 { + try visitor.visitSingularInt32Field(value: self.minCp, fieldNumber: 1) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 10) + if self.maxCp != 0 { + try visitor.visitSingularInt32Field(value: self.maxCp, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PrimalBoostSettingsProto, rhs: PrimalBoostSettingsProto) -> Bool { - if lhs.evolutionLengthMs != rhs.evolutionLengthMs {return false} - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.primalTypeBoostEnabled != rhs.primalTypeBoostEnabled {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: PreviewProto.CpRange, rhs: PreviewProto.CpRange) -> Bool { + if lhs.minCp != rhs.minCp {return false} + if lhs.maxCp != rhs.maxCp {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PrimalEvoSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PrimalEvoSettingsProto" +extension PrimalBoostTypeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PrimalBoostTypeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "primal_boost_settings"), - 2: .standard(proto: "primal_max_candy_hoard_size"), - 3: .standard(proto: "primal_type_boost_bonus_settings"), + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "boost_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -263943,45 +274952,37 @@ extension PrimalEvoSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._primalBoostSettings) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.primalMaxCandyHoardSize) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.primalTypeBoostBonusSettings) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.boostType) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._primalBoostSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.primalMaxCandyHoardSize != 0 { - try visitor.visitSingularInt32Field(value: self.primalMaxCandyHoardSize, fieldNumber: 2) + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) } - if !self.primalTypeBoostBonusSettings.isEmpty { - try visitor.visitRepeatedMessageField(value: self.primalTypeBoostBonusSettings, fieldNumber: 3) + if !self.boostType.isEmpty { + try visitor.visitPackedEnumField(value: self.boostType, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PrimalEvoSettingsProto, rhs: PrimalEvoSettingsProto) -> Bool { - if lhs._primalBoostSettings != rhs._primalBoostSettings {return false} - if lhs.primalMaxCandyHoardSize != rhs.primalMaxCandyHoardSize {return false} - if lhs.primalTypeBoostBonusSettings != rhs.primalTypeBoostBonusSettings {return false} + public static func ==(lhs: PrimalBoostTypeProto, rhs: PrimalBoostTypeProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.boostType != rhs.boostType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PrimalTypeBoostBonusSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PrimalTypeBoostBonusSettingsProto" +extension PrimalEvoSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PrimalEvoSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "pokemon_type"), + 1: .standard(proto: "common_temp_settings"), + 2: .standard(proto: "max_candy_hoard_size"), + 3: .standard(proto: "type_boosts"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -263990,26 +274991,35 @@ extension PrimalTypeBoostBonusSettingsProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.pokemonType) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._commonTempSettings) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxCandyHoardSize) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.typeBoosts) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._commonTempSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.maxCandyHoardSize != 0 { + try visitor.visitSingularInt32Field(value: self.maxCandyHoardSize, fieldNumber: 2) } - if !self.pokemonType.isEmpty { - try visitor.visitPackedEnumField(value: self.pokemonType, fieldNumber: 2) + if !self.typeBoosts.isEmpty { + try visitor.visitRepeatedMessageField(value: self.typeBoosts, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PrimalTypeBoostBonusSettingsProto, rhs: PrimalTypeBoostBonusSettingsProto) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.pokemonType != rhs.pokemonType {return false} + public static func ==(lhs: PrimalEvoSettingsProto, rhs: PrimalEvoSettingsProto) -> Bool { + if lhs._commonTempSettings != rhs._commonTempSettings {return false} + if lhs.maxCandyHoardSize != rhs.maxCandyHoardSize {return false} + if lhs.typeBoosts != rhs.typeBoosts {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -264097,8 +275107,8 @@ extension ProbeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } -extension ProcessRouteTappableOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ProcessRouteTappableOutProto" +extension ProcessTappableOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ProcessTappableOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), 2: .same(proto: "reward"), @@ -264111,247 +275121,43 @@ extension ProcessRouteTappableOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._reward) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.reward) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - try { if let v = self._reward { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ProcessRouteTappableOutProto, rhs: ProcessRouteTappableOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._reward != rhs._reward {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ProcessRouteTappableProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ProcessRouteTappableProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "route_id"), - 2: .standard(proto: "waypoint_index"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.routeID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.waypointIndex) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.routeID.isEmpty { - try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 1) - } - if self.waypointIndex != 0 { - try visitor.visitSingularInt32Field(value: self.waypointIndex, fieldNumber: 2) + if !self.reward.isEmpty { + try visitor.visitRepeatedMessageField(value: self.reward, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ProcessRouteTappableProto, rhs: ProcessRouteTappableProto) -> Bool { - if lhs.routeID != rhs.routeID {return false} - if lhs.waypointIndex != rhs.waypointIndex {return false} + public static func ==(lhs: ProcessTappableOutProto, rhs: ProcessTappableOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.reward != rhs.reward {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ProcessRouteWaypointInteractionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ProcessRouteWaypointInteractionOutProto" +extension ProcessTappableOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "pokemon_trade"), - 3: .standard(proto: "pokemon_compare"), - 4: .standard(proto: "gift_trade"), - 1: .standard(proto: "activity_type"), - 5: .same(proto: "dialog"), - 6: .standard(proto: "route_stamp"), - 7: .same(proto: "status"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_NOT_FOUND"), + 3: .same(proto: "ERROR_ROUTE"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.activityType) }() - case 2: try { - var v: ProcessRouteWaypointInteractionOutProto.PokemonTradeActivity? - var hadOneofValue = false - if let current = self.activity { - hadOneofValue = true - if case .pokemonTrade(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.activity = .pokemonTrade(v) - } - }() - case 3: try { - var v: ProcessRouteWaypointInteractionOutProto.PokemonCompareActivity? - var hadOneofValue = false - if let current = self.activity { - hadOneofValue = true - if case .pokemonCompare(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.activity = .pokemonCompare(v) - } - }() - case 4: try { - var v: ProcessRouteWaypointInteractionOutProto.GiftTradeActivity? - var hadOneofValue = false - if let current = self.activity { - hadOneofValue = true - if case .giftTrade(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.activity = .giftTrade(v) - } - }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._dialog) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._routeStamp) }() - case 7: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.activityType != .unset { - try visitor.visitSingularEnumField(value: self.activityType, fieldNumber: 1) - } - switch self.activity { - case .pokemonTrade?: try { - guard case .pokemonTrade(let v)? = self.activity else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .pokemonCompare?: try { - guard case .pokemonCompare(let v)? = self.activity else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .giftTrade?: try { - guard case .giftTrade(let v)? = self.activity else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case nil: break - } - try { if let v = self._dialog { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - try { if let v = self._routeStamp { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 7) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ProcessRouteWaypointInteractionOutProto, rhs: ProcessRouteWaypointInteractionOutProto) -> Bool { - if lhs.activity != rhs.activity {return false} - if lhs.activityType != rhs.activityType {return false} - if lhs._dialog != rhs._dialog {return false} - if lhs._routeStamp != rhs._routeStamp {return false} - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ProcessRouteWaypointInteractionOutProto.GiftTradeActivity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ProcessRouteWaypointInteractionOutProto.protoMessageName + ".GiftTradeActivity" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ProcessRouteWaypointInteractionOutProto.GiftTradeActivity, rhs: ProcessRouteWaypointInteractionOutProto.GiftTradeActivity) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension ProcessRouteWaypointInteractionOutProto.PokemonCompareActivity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ProcessRouteWaypointInteractionOutProto.protoMessageName + ".PokemonCompareActivity" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ProcessRouteWaypointInteractionOutProto.PokemonCompareActivity, rhs: ProcessRouteWaypointInteractionOutProto.PokemonCompareActivity) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ProcessRouteWaypointInteractionOutProto.PokemonTradeActivity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ProcessRouteWaypointInteractionOutProto.protoMessageName + ".PokemonTradeActivity" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ProcessRouteWaypointInteractionOutProto.PokemonTradeActivity, rhs: ProcessRouteWaypointInteractionOutProto.PokemonTradeActivity) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ProcessRouteWaypointInteractionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ProcessRouteWaypointInteractionProto" +extension ProcessTappableProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ProcessTappableProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "route_id"), - 2: .standard(proto: "waypoint_fort_id"), - 3: .standard(proto: "waypoint_index"), + 1: .same(proto: "id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -264360,31 +275166,21 @@ extension ProcessRouteWaypointInteractionProto: SwiftProtobuf.Message, SwiftProt // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.routeID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.waypointFortID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.waypointIndex) }() + case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.id) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.routeID.isEmpty { - try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 1) - } - if !self.waypointFortID.isEmpty { - try visitor.visitSingularStringField(value: self.waypointFortID, fieldNumber: 2) - } - if self.waypointIndex != 0 { - try visitor.visitSingularInt32Field(value: self.waypointIndex, fieldNumber: 3) + if !self.id.isEmpty { + try visitor.visitPackedInt32Field(value: self.id, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ProcessRouteWaypointInteractionProto, rhs: ProcessRouteWaypointInteractionProto) -> Bool { - if lhs.routeID != rhs.routeID {return false} - if lhs.waypointFortID != rhs.waypointFortID {return false} - if lhs.waypointIndex != rhs.waypointIndex {return false} + public static func ==(lhs: ProcessTappableProto, rhs: ProcessTappableProto) -> Bool { + if lhs.id != rhs.id {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -264474,144 +275270,6 @@ extension ProfanityCheckProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } -extension ProfanityReportData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ProfanityReportData" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "text_content"), - 2: .standard(proto: "image_content"), - 3: .standard(proto: "channel_url"), - 4: .standard(proto: "message_id"), - 5: .same(proto: "origin"), - 6: .standard(proto: "message_context"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { - var v: MessageProfanityReportData? - var hadOneofValue = false - if let current = self.contentType { - hadOneofValue = true - if case .textContent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contentType = .textContent(v) - } - }() - case 2: try { - var v: ImageProfanityReportData? - var hadOneofValue = false - if let current = self.contentType { - hadOneofValue = true - if case .imageContent(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.contentType = .imageContent(v) - } - }() - case 3: try { try decoder.decodeSingularStringField(value: &self.channelURL) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.messageID) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.origin) }() - case 6: try { try decoder.decodeRepeatedMessageField(value: &self.messageContext) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.contentType { - case .textContent?: try { - guard case .textContent(let v)? = self.contentType else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .imageContent?: try { - guard case .imageContent(let v)? = self.contentType else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case nil: break - } - if !self.channelURL.isEmpty { - try visitor.visitSingularStringField(value: self.channelURL, fieldNumber: 3) - } - if self.messageID != 0 { - try visitor.visitSingularInt64Field(value: self.messageID, fieldNumber: 4) - } - if self.origin != .undefinedOrigin { - try visitor.visitSingularEnumField(value: self.origin, fieldNumber: 5) - } - if !self.messageContext.isEmpty { - try visitor.visitRepeatedMessageField(value: self.messageContext, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ProfanityReportData, rhs: ProfanityReportData) -> Bool { - if lhs.contentType != rhs.contentType {return false} - if lhs.channelURL != rhs.channelURL {return false} - if lhs.messageID != rhs.messageID {return false} - if lhs.origin != rhs.origin {return false} - if lhs.messageContext != rhs.messageContext {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ProfileDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ProfileDetailsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "profile_name_app_key"), - 2: .same(proto: "nickname"), - 4: .standard(proto: "profile_name"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.profileNameAppKey) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.nickname) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.profileName) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.profileNameAppKey.isEmpty { - try visitor.visitSingularStringField(value: self.profileNameAppKey, fieldNumber: 1) - } - if !self.nickname.isEmpty { - try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 2) - } - if !self.profileName.isEmpty { - try visitor.visitSingularStringField(value: self.profileName, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ProfileDetailsProto, rhs: ProfileDetailsProto) -> Bool { - if lhs.profileNameAppKey != rhs.profileNameAppKey {return false} - if lhs.nickname != rhs.nickname {return false} - if lhs.profileName != rhs.profileName {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension ProfilePageTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ProfilePageTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -264764,9 +275422,9 @@ extension ProgressRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm 3: .standard(proto: "route_play"), 4: .standard(proto: "activity_output"), 5: .standard(proto: "cooldown_finish_ms"), - 6: .standard(proto: "ob_loot"), - 7: .standard(proto: "ob_route_badges_info_data"), - 8: .standard(proto: "ob_loot_2"), + 6: .standard(proto: "route_loot"), + 7: .standard(proto: "awarded_route_badge"), + 8: .standard(proto: "bonus_route_loot"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -264780,9 +275438,9 @@ extension ProgressRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm case 3: try { try decoder.decodeSingularMessageField(value: &self._routePlay) }() case 4: try { try decoder.decodeSingularMessageField(value: &self._activityOutput) }() case 5: try { try decoder.decodeSingularInt64Field(value: &self.cooldownFinishMs) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._obLoot) }() - case 7: try { try decoder.decodeSingularMessageField(value: &self._obRouteBadgesInfoData) }() - case 8: try { try decoder.decodeSingularMessageField(value: &self._obLoot2) }() + case 6: try { try decoder.decodeSingularMessageField(value: &self._routeLoot) }() + case 7: try { try decoder.decodeSingularMessageField(value: &self._awardedRouteBadge) }() + case 8: try { try decoder.decodeSingularMessageField(value: &self._bonusRouteLoot) }() default: break } } @@ -264808,13 +275466,13 @@ extension ProgressRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm if self.cooldownFinishMs != 0 { try visitor.visitSingularInt64Field(value: self.cooldownFinishMs, fieldNumber: 5) } - try { if let v = self._obLoot { + try { if let v = self._routeLoot { try visitor.visitSingularMessageField(value: v, fieldNumber: 6) } }() - try { if let v = self._obRouteBadgesInfoData { + try { if let v = self._awardedRouteBadge { try visitor.visitSingularMessageField(value: v, fieldNumber: 7) } }() - try { if let v = self._obLoot2 { + try { if let v = self._bonusRouteLoot { try visitor.visitSingularMessageField(value: v, fieldNumber: 8) } }() try unknownFields.traverse(visitor: &visitor) @@ -264826,9 +275484,9 @@ extension ProgressRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm if lhs._routePlay != rhs._routePlay {return false} if lhs._activityOutput != rhs._activityOutput {return false} if lhs.cooldownFinishMs != rhs.cooldownFinishMs {return false} - if lhs._obLoot != rhs._obLoot {return false} - if lhs._obRouteBadgesInfoData != rhs._obRouteBadgesInfoData {return false} - if lhs._obLoot2 != rhs._obLoot2 {return false} + if lhs._routeLoot != rhs._routeLoot {return false} + if lhs._awardedRouteBadge != rhs._awardedRouteBadge {return false} + if lhs._bonusRouteLoot != rhs._bonusRouteLoot {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -264850,7 +275508,7 @@ extension ProgressRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple 2: .standard(proto: "skip_activity"), 3: .standard(proto: "activity_type"), 4: .standard(proto: "activity_input"), - 7: .standard(proto: "ob_bool"), + 7: .standard(proto: "acquire_reward"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -264867,11 +275525,11 @@ extension ProgressRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple var v: Bool? try decoder.decodeSingularBoolField(value: &v) if let v = v { - if self.isPaused != nil {try decoder.handleConflictingOneOf()} - self.isPaused = .pause(v) + if self.nullablePause != nil {try decoder.handleConflictingOneOf()} + self.nullablePause = .pause(v) } }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.acquireReward) }() default: break } } @@ -264894,29 +275552,29 @@ extension ProgressRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple try { if let v = self._activityInput { try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() - try { if case .pause(let v)? = self.isPaused { + try { if case .pause(let v)? = self.nullablePause { try visitor.visitSingularBoolField(value: v, fieldNumber: 6) } }() - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 7) + if self.acquireReward != false { + try visitor.visitSingularBoolField(value: self.acquireReward, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: ProgressRouteProto, rhs: ProgressRouteProto) -> Bool { - if lhs.isPaused != rhs.isPaused {return false} + if lhs.nullablePause != rhs.nullablePause {return false} if lhs.waypointIndex != rhs.waypointIndex {return false} if lhs.skipActivity != rhs.skipActivity {return false} if lhs.activityType != rhs.activityType {return false} if lhs._activityInput != rhs._activityInput {return false} - if lhs.obBool != rhs.obBool {return false} + if lhs.acquireReward != rhs.acquireReward {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ProgressTokenDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ProgressTokenDataProto" +extension ProgressTokenData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ProgressTokenData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 2: .standard(proto: "gym_root_controller_function"), 3: .standard(proto: "raid_state_function"), @@ -264927,7 +275585,7 @@ extension ProgressTokenDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI 8: .standard(proto: "raid_resolve_uicontroller_function"), 9: .standard(proto: "encounter_state_function"), 10: .standard(proto: "map_explore_state_function"), - 1: .standard(proto: "ob_progress_token_int32"), + 1: .standard(proto: "line_number"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -264936,77 +275594,77 @@ extension ProgressTokenDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obProgressTokenInt32) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.lineNumber) }() case 2: try { - var v: ProgressTokenDataProto.GymRootControllerFunction? + var v: ProgressTokenData.GymRootControllerFunction? try decoder.decodeSingularEnumField(value: &v) if let v = v { - if self.function != nil {try decoder.handleConflictingOneOf()} - self.function = .gymRootControllerFunction(v) + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .gymRootControllerFunction(v) } }() case 3: try { - var v: ProgressTokenDataProto.RaidStateFunction? + var v: ProgressTokenData.RaidStateFunction? try decoder.decodeSingularEnumField(value: &v) if let v = v { - if self.function != nil {try decoder.handleConflictingOneOf()} - self.function = .raidStateFunction(v) + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .raidStateFunction(v) } }() case 4: try { - var v: ProgressTokenDataProto.RaidLobbyStateFunction? + var v: ProgressTokenData.RaidLobbyStateFunction? try decoder.decodeSingularEnumField(value: &v) if let v = v { - if self.function != nil {try decoder.handleConflictingOneOf()} - self.function = .raidLobbyStateFunction(v) + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .raidLobbyStateFunction(v) } }() case 5: try { - var v: ProgressTokenDataProto.RaidLobbyGuiControllerFunction? + var v: ProgressTokenData.RaidLobbyGuiControllerFunction? try decoder.decodeSingularEnumField(value: &v) if let v = v { - if self.function != nil {try decoder.handleConflictingOneOf()} - self.function = .raidLobbyGuiControllerFunction(v) + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .raidLobbyGuiControllerFunction(v) } }() case 6: try { - var v: ProgressTokenDataProto.RaidBattleStateFunction? + var v: ProgressTokenData.RaidBattleStateFunction? try decoder.decodeSingularEnumField(value: &v) if let v = v { - if self.function != nil {try decoder.handleConflictingOneOf()} - self.function = .raidBattleStateFunction(v) + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .raidBattleStateFunction(v) } }() case 7: try { - var v: ProgressTokenDataProto.RaidResolveStateFunction? + var v: ProgressTokenData.RaidResolveStateFunction? try decoder.decodeSingularEnumField(value: &v) if let v = v { - if self.function != nil {try decoder.handleConflictingOneOf()} - self.function = .raidResolveStateFunction(v) + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .raidResolveStateFunction(v) } }() case 8: try { - var v: ProgressTokenDataProto.RaidResolveUicontrollerFunction? + var v: ProgressTokenData.RaidResolveUIControllerFunction? try decoder.decodeSingularEnumField(value: &v) if let v = v { - if self.function != nil {try decoder.handleConflictingOneOf()} - self.function = .raidResolveUicontrollerFunction(v) + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .raidResolveUicontrollerFunction(v) } }() case 9: try { - var v: ProgressTokenDataProto.EncounterStateFunction? + var v: ProgressTokenData.EncounterStateFunction? try decoder.decodeSingularEnumField(value: &v) if let v = v { - if self.function != nil {try decoder.handleConflictingOneOf()} - self.function = .encounterStateFunction(v) + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .encounterStateFunction(v) } }() case 10: try { - var v: ProgressTokenDataProto.MapExploreStateFunction? + var v: ProgressTokenData.MapExploreStateFunction? try decoder.decodeSingularEnumField(value: &v) if let v = v { - if self.function != nil {try decoder.handleConflictingOneOf()} - self.function = .mapExploreStateFunction(v) + if self.token != nil {try decoder.handleConflictingOneOf()} + self.token = .mapExploreStateFunction(v) } }() default: break @@ -265019,44 +275677,44 @@ extension ProgressTokenDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.obProgressTokenInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obProgressTokenInt32, fieldNumber: 1) + if self.lineNumber != 0 { + try visitor.visitSingularInt32Field(value: self.lineNumber, fieldNumber: 1) } - switch self.function { + switch self.token { case .gymRootControllerFunction?: try { - guard case .gymRootControllerFunction(let v)? = self.function else { preconditionFailure() } + guard case .gymRootControllerFunction(let v)? = self.token else { preconditionFailure() } try visitor.visitSingularEnumField(value: v, fieldNumber: 2) }() case .raidStateFunction?: try { - guard case .raidStateFunction(let v)? = self.function else { preconditionFailure() } + guard case .raidStateFunction(let v)? = self.token else { preconditionFailure() } try visitor.visitSingularEnumField(value: v, fieldNumber: 3) }() case .raidLobbyStateFunction?: try { - guard case .raidLobbyStateFunction(let v)? = self.function else { preconditionFailure() } + guard case .raidLobbyStateFunction(let v)? = self.token else { preconditionFailure() } try visitor.visitSingularEnumField(value: v, fieldNumber: 4) }() case .raidLobbyGuiControllerFunction?: try { - guard case .raidLobbyGuiControllerFunction(let v)? = self.function else { preconditionFailure() } + guard case .raidLobbyGuiControllerFunction(let v)? = self.token else { preconditionFailure() } try visitor.visitSingularEnumField(value: v, fieldNumber: 5) }() case .raidBattleStateFunction?: try { - guard case .raidBattleStateFunction(let v)? = self.function else { preconditionFailure() } + guard case .raidBattleStateFunction(let v)? = self.token else { preconditionFailure() } try visitor.visitSingularEnumField(value: v, fieldNumber: 6) }() case .raidResolveStateFunction?: try { - guard case .raidResolveStateFunction(let v)? = self.function else { preconditionFailure() } + guard case .raidResolveStateFunction(let v)? = self.token else { preconditionFailure() } try visitor.visitSingularEnumField(value: v, fieldNumber: 7) }() case .raidResolveUicontrollerFunction?: try { - guard case .raidResolveUicontrollerFunction(let v)? = self.function else { preconditionFailure() } + guard case .raidResolveUicontrollerFunction(let v)? = self.token else { preconditionFailure() } try visitor.visitSingularEnumField(value: v, fieldNumber: 8) }() case .encounterStateFunction?: try { - guard case .encounterStateFunction(let v)? = self.function else { preconditionFailure() } + guard case .encounterStateFunction(let v)? = self.token else { preconditionFailure() } try visitor.visitSingularEnumField(value: v, fieldNumber: 9) }() case .mapExploreStateFunction?: try { - guard case .mapExploreStateFunction(let v)? = self.function else { preconditionFailure() } + guard case .mapExploreStateFunction(let v)? = self.token else { preconditionFailure() } try visitor.visitSingularEnumField(value: v, fieldNumber: 10) }() case nil: break @@ -265064,15 +275722,15 @@ extension ProgressTokenDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ProgressTokenDataProto, rhs: ProgressTokenDataProto) -> Bool { - if lhs.function != rhs.function {return false} - if lhs.obProgressTokenInt32 != rhs.obProgressTokenInt32 {return false} + public static func ==(lhs: ProgressTokenData, rhs: ProgressTokenData) -> Bool { + if lhs.token != rhs.token {return false} + if lhs.lineNumber != rhs.lineNumber {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ProgressTokenDataProto.EncounterStateFunction: SwiftProtobuf._ProtoNameProviding { +extension ProgressTokenData.EncounterStateFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "NONE_ENCOUNTER_STATE"), 1: .same(proto: "SETUP_ENCOUNTER"), @@ -265082,55 +275740,34 @@ extension ProgressTokenDataProto.EncounterStateFunction: SwiftProtobuf._ProtoNam ] } -extension ProgressTokenDataProto.RaidBattleStateFunction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_RAID_BATTLE_STATE"), - 1: .same(proto: "ENTER_RAID_BATTLE_STATE"), - 2: .same(proto: "EXIT_RAID_BATTLE_STATE"), - 3: .same(proto: "OBSERVE_BATTLE_FRAMES"), - 4: .same(proto: "START_RAID_BATTLE"), - 5: .same(proto: "START_RAID_BATTLE_WHEN_READY"), - 6: .same(proto: "END_BATTLE_WHEN_READY"), - 7: .same(proto: "GET_RAID_BOSS_PROTO"), - ] -} - -extension ProgressTokenDataProto.RaidStateFunction: SwiftProtobuf._ProtoNameProviding { +extension ProgressTokenData.GymRootControllerFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_RAID_STATE"), - 1: .same(proto: "EXIT_GYM_RAID_STATE"), + 0: .same(proto: "NONE_GYM_GYM_ROOT_CONTROLLER"), + 1: .same(proto: "EXIT_GYM_GYM_ROOT_CONTROLLER"), ] } -extension ProgressTokenDataProto.MapExploreStateFunction: SwiftProtobuf._ProtoNameProviding { +extension ProgressTokenData.MapExploreStateFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "NONE_MAP_EXPLORE_STATE"), 1: .same(proto: "GYM_ROOT_COMPLETE"), ] } -extension ProgressTokenDataProto.RaidLobbyStateFunction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_RAID_LOBBY_STATE"), - 1: .same(proto: "ENTER_RAID_LOBBY_STATE"), - 2: .same(proto: "EXIT_RAID_LOBBY_STATE"), - 3: .same(proto: "CREATE_LOBBY"), - 4: .same(proto: "CREATE_LOBBY_FOR_REAL"), - 5: .same(proto: "START_RAID_BATTLE_STATE"), - 6: .same(proto: "CANCEL_RAID_BATTLE_TRANSITION"), - ] -} - -extension ProgressTokenDataProto.RaidResolveStateFunction: SwiftProtobuf._ProtoNameProviding { +extension ProgressTokenData.RaidBattleStateFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_RAID_RESOLVE_STATE"), - 1: .same(proto: "ENTER_RAID_RESOLVE_STATE"), - 2: .same(proto: "EXIT_RAID_RESOLVE_STATE"), - 3: .same(proto: "INIT_RAID_RESOLVE_STATE"), + 0: .same(proto: "NONE_RAID_BATTLE_STATE"), + 1: .same(proto: "ENTER_RAID_BATTLE_STATE"), + 2: .same(proto: "EXIT_RAID_BATTLE_STATE"), + 3: .same(proto: "OBSERVE_BATTLE_FRAMES"), + 4: .same(proto: "START_RAID_BATTLE"), + 5: .same(proto: "START_RAID_BATTLE_WHEN_READY"), + 6: .same(proto: "END_BATTLE_WHEN_READY"), + 7: .same(proto: "GET_RAID_BOSS_PROTO"), ] } -extension ProgressTokenDataProto.RaidLobbyGuiControllerFunction: SwiftProtobuf._ProtoNameProviding { +extension ProgressTokenData.RaidLobbyGuiControllerFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "NONE_RAID_LOBBY_GUI_CONTROLLER"), 1: .same(proto: "INIT_RAID_LOBBY_GUI_CONTROLLER"), @@ -265153,284 +275790,39 @@ extension ProgressTokenDataProto.RaidLobbyGuiControllerFunction: SwiftProtobuf._ ] } -extension ProgressTokenDataProto.GymRootControllerFunction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_GYM_GYM_ROOT_CONTROLLER"), - 1: .same(proto: "EXIT_GYM_GYM_ROOT_CONTROLLER"), - ] -} - -extension ProgressTokenDataProto.RaidResolveUicontrollerFunction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_RAID_RESOLVE_UI_CONTROLLER"), - 1: .same(proto: "INIT_RAID_RESOLVE_UI_CONTROLLER"), - 2: .same(proto: "CLOSE_RAID_RESOLVE_UI_CONTROLLER"), - ] -} - -extension ProgressTokenDataV2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ProgressTokenDataV2" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "combat_active_state_function"), - 3: .standard(proto: "combat_end_state_function"), - 4: .standard(proto: "combat_ready_state_function"), - 5: .standard(proto: "combat_swap_state_function"), - 6: .standard(proto: "combat_special_move_state_function"), - 7: .standard(proto: "combat_wait_for_player_state_function"), - 8: .standard(proto: "combat_presentation_director_function"), - 9: .standard(proto: "combat_director_v2_function"), - 10: .standard(proto: "combat_state_v2_function"), - 11: .standard(proto: "combat_pokemon_function"), - 1: .standard(proto: "ob_int32"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { - var v: ProgressTokenDataV2.CombatActiveStateFunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatActiveStateFunction(v) - } - }() - case 3: try { - var v: ProgressTokenDataV2.CombatEndStateFunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatEndStateFunction(v) - } - }() - case 4: try { - var v: ProgressTokenDataV2.CombatReadyStateFunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatReadyStateFunction(v) - } - }() - case 5: try { - var v: ProgressTokenDataV2.CombatSwapStateFunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatSwapStateFunction(v) - } - }() - case 6: try { - var v: ProgressTokenDataV2.CombatSpecialMoveStateFunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatSpecialMoveStateFunction(v) - } - }() - case 7: try { - var v: ProgressTokenDataV2.CombatWaitForPlayerStateFunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatWaitForPlayerStateFunction(v) - } - }() - case 8: try { - var v: ProgressTokenDataV2.CombatPresentationDirectorFunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatPresentationDirectorFunction(v) - } - }() - case 9: try { - var v: ProgressTokenDataV2.CombatDirectorV2FunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatDirectorV2Function(v) - } - }() - case 10: try { - var v: ProgressTokenDataV2.CombatStateV2FunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatStateV2Function(v) - } - }() - case 11: try { - var v: ProgressTokenDataV2.CombatPokemonFunctionProto? - try decoder.decodeSingularEnumField(value: &v) - if let v = v { - if self.combatFunction != nil {try decoder.handleConflictingOneOf()} - self.combatFunction = .combatPokemonFunction(v) - } - }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - switch self.combatFunction { - case .combatActiveStateFunction?: try { - guard case .combatActiveStateFunction(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 2) - }() - case .combatEndStateFunction?: try { - guard case .combatEndStateFunction(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 3) - }() - case .combatReadyStateFunction?: try { - guard case .combatReadyStateFunction(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 4) - }() - case .combatSwapStateFunction?: try { - guard case .combatSwapStateFunction(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 5) - }() - case .combatSpecialMoveStateFunction?: try { - guard case .combatSpecialMoveStateFunction(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 6) - }() - case .combatWaitForPlayerStateFunction?: try { - guard case .combatWaitForPlayerStateFunction(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 7) - }() - case .combatPresentationDirectorFunction?: try { - guard case .combatPresentationDirectorFunction(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 8) - }() - case .combatDirectorV2Function?: try { - guard case .combatDirectorV2Function(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 9) - }() - case .combatStateV2Function?: try { - guard case .combatStateV2Function(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 10) - }() - case .combatPokemonFunction?: try { - guard case .combatPokemonFunction(let v)? = self.combatFunction else { preconditionFailure() } - try visitor.visitSingularEnumField(value: v, fieldNumber: 11) - }() - case nil: break - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ProgressTokenDataV2, rhs: ProgressTokenDataV2) -> Bool { - if lhs.combatFunction != rhs.combatFunction {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ProgressTokenDataV2.CombatPokemonFunctionProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "OBSERVE_ACTION"), - 1: .same(proto: "EXECUTE_ACTION"), - 2: .same(proto: "PAUSE_UPDATES"), - ] -} - -extension ProgressTokenDataV2.CombatSwapStateFunctionProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_COMBAT_SWAP_STATE"), - 1: .same(proto: "ENTER_COMBAT_SWAP_STATE"), - 2: .same(proto: "EXIT_COMBAT_SWAP_STATE"), - 3: .same(proto: "DO_WORK_COMBAT_SWAP_STATE"), - ] -} - -extension ProgressTokenDataV2.CombatStateV2FunctionProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_COMBAT_STATE_V2"), - 1: .same(proto: "OBSERVE_COMBAT_STATE"), - 2: .same(proto: "DELAY_SPECIAL_TRANSITION"), - ] -} - -extension ProgressTokenDataV2.CombatSpecialMoveStateFunctionProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_COMBAT_SPECIAL_MOVE_STATE"), - 1: .same(proto: "ENTER_COMBAT_SPECIAL_MOVE_STATE"), - 2: .same(proto: "EXIT_COMBAT_SPECIAL_MOVE_STATE"), - 3: .same(proto: "DO_WORK_COMBAT_SPECIAL_MOVE_STATE"), - 4: .same(proto: "PERFORM_FLY_IN"), - 5: .same(proto: "PERFORM_FLY_OUT"), - ] -} - -extension ProgressTokenDataV2.CombatActiveStateFunctionProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_COMBAT_ACTIVE_STATE"), - 1: .same(proto: "ENTER_COMBAT_ACTIVE_STATE"), - 2: .same(proto: "EXIT_COMBAT_ACTIVE_STATE"), - 3: .same(proto: "DO_WORK_COMBAT_ACTIVE_STATE"), - ] -} - -extension ProgressTokenDataV2.CombatReadyStateFunctionProto: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_COMBAT_READY_STATE"), - 1: .same(proto: "ENTER_COMBAT_READY_STATE"), - 2: .same(proto: "EXIT_COMBAT_READY_STATE"), - 3: .same(proto: "DO_WORK_COMBAT_READY_STATE"), - ] -} - -extension ProgressTokenDataV2.CombatEndStateFunctionProto: SwiftProtobuf._ProtoNameProviding { +extension ProgressTokenData.RaidLobbyStateFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_COMBAT_END_STATE"), - 1: .same(proto: "ENTER_COMBAT_END_STATE"), - 2: .same(proto: "EXIT_COMBAT_END_STATE"), - 3: .same(proto: "DO_WORK_COMBAT_END_STATE"), + 0: .same(proto: "NONE_RAID_LOBBY_STATE"), + 1: .same(proto: "ENTER_RAID_LOBBY_STATE"), + 2: .same(proto: "EXIT_RAID_LOBBY_STATE"), + 3: .same(proto: "CREATE_LOBBY"), + 4: .same(proto: "CREATE_LOBBY_FOR_REAL"), + 5: .same(proto: "START_RAID_BATTLE_STATE"), + 6: .same(proto: "CANCEL_RAID_BATTLE_TRANSITION"), ] } -extension ProgressTokenDataV2.CombatDirectorV2FunctionProto: SwiftProtobuf._ProtoNameProviding { +extension ProgressTokenData.RaidResolveStateFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_COMBAT_DIRECTOR_V2"), - 1: .same(proto: "TRY_START_COMBAT"), - 2: .same(proto: "START_COMBAT_ERROR"), - 3: .same(proto: "RECEIVE_COMBAT_UPDATE"), - 4: .same(proto: "TRY_FAST_ATTACK"), - 5: .same(proto: "SWAP_POKEMON_TO"), - 6: .same(proto: "QUEUE_SPECIAL_ATTACK"), - 7: .same(proto: "TRY_SPECIAL_ATTACK"), - 8: .same(proto: "TRY_EXECUTE_BUFFERED_ACTION"), - 9: .same(proto: "CAN_ACT_ON_TURN"), - 10: .same(proto: "CAN_PERFORM_ATTACK"), - 11: .same(proto: "CHECK_OPPONENT_CHARGE_MOVE_CHANCE"), + 0: .same(proto: "NONE_RAID_RESOLVE_STATE"), + 1: .same(proto: "ENTER_RAID_RESOLVE_STATE"), + 2: .same(proto: "EXIT_RAID_RESOLVE_STATE"), + 3: .same(proto: "INIT_RAID_RESOLVE_STATE"), ] } -extension ProgressTokenDataV2.CombatWaitForPlayerStateFunctionProto: SwiftProtobuf._ProtoNameProviding { +extension ProgressTokenData.RaidResolveUIControllerFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_COMBAT_WAIT_FOR_PLAYER_STATE"), - 1: .same(proto: "ENTER_COMBAT_WAIT_FOR_PLAYER_STATE"), - 2: .same(proto: "EXIT_COMBAT_WAIT_FOR_PLAYER_STATE"), - 3: .same(proto: "DO_WORK_COMBAT_WAIT_FOR_PLAYER_STATE"), + 0: .same(proto: "NONE_RAID_RESOLVE_UI_CONTROLLER"), + 1: .same(proto: "INIT_RAID_RESOLVE_UI_CONTROLLER"), + 2: .same(proto: "CLOSE_RAID_RESOLVE_UI_CONTROLLER"), ] } -extension ProgressTokenDataV2.CombatPresentationDirectorFunctionProto: SwiftProtobuf._ProtoNameProviding { +extension ProgressTokenData.RaidStateFunction: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE_COMBAT_PRESENTATION_DIRECTOR"), - 1: .same(proto: "PLAY_MINI_GAME"), + 0: .same(proto: "NONE_RAID_STATE"), + 1: .same(proto: "EXIT_GYM_RAID_STATE"), ] } @@ -265466,89 +275858,6 @@ extension ProjectVacationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } } -extension ProvisionedAppleTransactionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ProvisionedAppleTransactionProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "transaction_token"), - 3: .standard(proto: "product_id"), - 4: .standard(proto: "is_subscription"), - 5: .standard(proto: "currency_code"), - 6: .standard(proto: "price_paid"), - 7: .standard(proto: "purchase_time_ms"), - 8: .standard(proto: "subscription_receipt_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.transactionToken) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.productID) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.isSubscription) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.currencyCode) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.pricePaid) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.purchaseTimeMs) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.subscriptionReceiptID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.transactionToken.isEmpty { - try visitor.visitSingularStringField(value: self.transactionToken, fieldNumber: 2) - } - if !self.productID.isEmpty { - try visitor.visitSingularStringField(value: self.productID, fieldNumber: 3) - } - if self.isSubscription != false { - try visitor.visitSingularBoolField(value: self.isSubscription, fieldNumber: 4) - } - if !self.currencyCode.isEmpty { - try visitor.visitSingularStringField(value: self.currencyCode, fieldNumber: 5) - } - if self.pricePaid != 0 { - try visitor.visitSingularInt64Field(value: self.pricePaid, fieldNumber: 6) - } - if self.purchaseTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.purchaseTimeMs, fieldNumber: 7) - } - if !self.subscriptionReceiptID.isEmpty { - try visitor.visitSingularStringField(value: self.subscriptionReceiptID, fieldNumber: 8) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ProvisionedAppleTransactionProto, rhs: ProvisionedAppleTransactionProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.transactionToken != rhs.transactionToken {return false} - if lhs.productID != rhs.productID {return false} - if lhs.isSubscription != rhs.isSubscription {return false} - if lhs.currencyCode != rhs.currencyCode {return false} - if lhs.pricePaid != rhs.pricePaid {return false} - if lhs.purchaseTimeMs != rhs.purchaseTimeMs {return false} - if lhs.subscriptionReceiptID != rhs.subscriptionReceiptID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ProvisionedAppleTransactionProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - 3: .same(proto: "UNPROCESSED"), - ] -} - extension ProximityContact: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ProximityContact" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -265801,11 +276110,13 @@ extension ProxyResponseProto.Status: SwiftProtobuf._ProtoNameProviding { ] } -extension PtcToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PtcToken" +extension PtcOAuthSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PtcOAuthSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), - 2: .same(proto: "expiration"), + 1: .standard(proto: "ptc_account_linking_enabled"), + 2: .standard(proto: "validation_enabled"), + 3: .standard(proto: "end_time_ms"), + 4: .standard(proto: "linking_reward_item"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -265814,35 +276125,47 @@ extension PtcToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.token) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.expiration) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.ptcAccountLinkingEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.validationEnabled) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMs) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.linkingRewardItem) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.token.isEmpty { - try visitor.visitSingularStringField(value: self.token, fieldNumber: 1) + if self.ptcAccountLinkingEnabled != false { + try visitor.visitSingularBoolField(value: self.ptcAccountLinkingEnabled, fieldNumber: 1) } - if self.expiration != 0 { - try visitor.visitSingularInt32Field(value: self.expiration, fieldNumber: 2) + if self.validationEnabled != false { + try visitor.visitSingularBoolField(value: self.validationEnabled, fieldNumber: 2) + } + if self.endTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.endTimeMs, fieldNumber: 3) + } + if self.linkingRewardItem != .unknown { + try visitor.visitSingularEnumField(value: self.linkingRewardItem, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PtcToken, rhs: PtcToken) -> Bool { - if lhs.token != rhs.token {return false} - if lhs.expiration != rhs.expiration {return false} + public static func ==(lhs: PtcOAuthSettingsProto, rhs: PtcOAuthSettingsProto) -> Bool { + if lhs.ptcAccountLinkingEnabled != rhs.ptcAccountLinkingEnabled {return false} + if lhs.validationEnabled != rhs.validationEnabled {return false} + if lhs.endTimeMs != rhs.endTimeMs {return false} + if lhs.linkingRewardItem != rhs.linkingRewardItem {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PurchaseSkuOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PurchaseSkuOutProto" +extension PtcOAuthToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PtcOAuthToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "access_code"), + 2: .standard(proto: "refresh_token"), + 3: .standard(proto: "access_token_expiration_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -265851,43 +276174,41 @@ extension PurchaseSkuOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.accessCode) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.refreshToken) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.accessTokenExpirationMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.accessCode.isEmpty { + try visitor.visitSingularStringField(value: self.accessCode, fieldNumber: 1) + } + if !self.refreshToken.isEmpty { + try visitor.visitSingularStringField(value: self.refreshToken, fieldNumber: 2) + } + if self.accessTokenExpirationMs != 0 { + try visitor.visitSingularInt64Field(value: self.accessTokenExpirationMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PurchaseSkuOutProto, rhs: PurchaseSkuOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: PtcOAuthToken, rhs: PtcOAuthToken) -> Bool { + if lhs.accessCode != rhs.accessCode {return false} + if lhs.refreshToken != rhs.refreshToken {return false} + if lhs.accessTokenExpirationMs != rhs.accessTokenExpirationMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PurchaseSkuOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - 3: .same(proto: "BALANCE_TOO_LOW"), - 4: .same(proto: "SKU_NOT_AVAILABLE"), - 5: .same(proto: "OVER_INVENTORY_LIMIT"), - 6: .same(proto: "OFFER_NOT_AVAILABLE"), - ] -} - -extension PurchaseSkuProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PurchaseSkuProto" +extension PtcToken: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PtcToken" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sku_id"), - 2: .standard(proto: "offer_id"), + 1: .same(proto: "token"), + 2: .same(proto: "expiration"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -265896,26 +276217,26 @@ extension PurchaseSkuProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.skuID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.offerID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.token) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.expiration) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.skuID.isEmpty { - try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 1) + if !self.token.isEmpty { + try visitor.visitSingularStringField(value: self.token, fieldNumber: 1) } - if !self.offerID.isEmpty { - try visitor.visitSingularStringField(value: self.offerID, fieldNumber: 2) + if self.expiration != 0 { + try visitor.visitSingularInt32Field(value: self.expiration, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PurchaseSkuProto, rhs: PurchaseSkuProto) -> Bool { - if lhs.skuID != rhs.skuID {return false} - if lhs.offerID != rhs.offerID {return false} + public static func ==(lhs: PtcToken, rhs: PtcToken) -> Bool { + if lhs.token != rhs.token {return false} + if lhs.expiration != rhs.expiration {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -266054,18 +276375,18 @@ extension PurifyPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } -extension PushGateWaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PushGateWaySettingsProto" +extension PushGatewayGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PushGatewayGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_new_global_setting_bool_2"), - 3: .standard(proto: "gateway_host"), - 4: .standard(proto: "ob_new_global_setting_bool_3"), - 5: .standard(proto: "ob_new_global_setting_int32"), - 6: .standard(proto: "ob_new_global_setting_float"), - 7: .same(proto: "path"), - 8: .standard(proto: "ob_new_global_setting_int32_1"), - 9: .standard(proto: "ob_string"), + 1: .standard(proto: "enable_websocket"), + 2: .standard(proto: "enable_social_inbox"), + 3: .standard(proto: "messaging_frontend_url"), + 4: .standard(proto: "enable_get_map_objects"), + 5: .standard(proto: "get_map_objects_s2_level"), + 6: .standard(proto: "get_map_objects_radius_meters"), + 7: .standard(proto: "get_map_objects_topic_namespace"), + 8: .standard(proto: "get_map_objects_subscribe_min_interval_ms"), + 9: .standard(proto: "boot_raid_update_namespace"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -266074,71 +276395,76 @@ extension PushGateWaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obNewGlobalSettingBool2) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.gatewayHost) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obNewGlobalSettingBool3) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obNewGlobalSettingInt32) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.obNewGlobalSettingFloat) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.path) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.obNewGlobalSettingInt321) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.obString) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableWebsocket) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableSocialInbox) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.messagingFrontendURL) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.enableGetMapObjects) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.getMapObjectsS2Level) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.getMapObjectsRadiusMeters) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.getMapObjectsTopicNamespace) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.getMapObjectsSubscribeMinIntervalMs) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.bootRaidUpdateNamespace) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + if self.enableWebsocket != false { + try visitor.visitSingularBoolField(value: self.enableWebsocket, fieldNumber: 1) } - if self.obNewGlobalSettingBool2 != false { - try visitor.visitSingularBoolField(value: self.obNewGlobalSettingBool2, fieldNumber: 2) + if self.enableSocialInbox != false { + try visitor.visitSingularBoolField(value: self.enableSocialInbox, fieldNumber: 2) } - if !self.gatewayHost.isEmpty { - try visitor.visitSingularStringField(value: self.gatewayHost, fieldNumber: 3) + if !self.messagingFrontendURL.isEmpty { + try visitor.visitSingularStringField(value: self.messagingFrontendURL, fieldNumber: 3) } - if self.obNewGlobalSettingBool3 != false { - try visitor.visitSingularBoolField(value: self.obNewGlobalSettingBool3, fieldNumber: 4) + if self.enableGetMapObjects != false { + try visitor.visitSingularBoolField(value: self.enableGetMapObjects, fieldNumber: 4) } - if self.obNewGlobalSettingInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obNewGlobalSettingInt32, fieldNumber: 5) + if self.getMapObjectsS2Level != 0 { + try visitor.visitSingularInt32Field(value: self.getMapObjectsS2Level, fieldNumber: 5) } - if self.obNewGlobalSettingFloat != 0 { - try visitor.visitSingularFloatField(value: self.obNewGlobalSettingFloat, fieldNumber: 6) + if self.getMapObjectsRadiusMeters != 0 { + try visitor.visitSingularFloatField(value: self.getMapObjectsRadiusMeters, fieldNumber: 6) } - if !self.path.isEmpty { - try visitor.visitSingularStringField(value: self.path, fieldNumber: 7) + if !self.getMapObjectsTopicNamespace.isEmpty { + try visitor.visitSingularStringField(value: self.getMapObjectsTopicNamespace, fieldNumber: 7) } - if self.obNewGlobalSettingInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obNewGlobalSettingInt321, fieldNumber: 8) + if self.getMapObjectsSubscribeMinIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: self.getMapObjectsSubscribeMinIntervalMs, fieldNumber: 8) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 9) + if !self.bootRaidUpdateNamespace.isEmpty { + try visitor.visitSingularStringField(value: self.bootRaidUpdateNamespace, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PushGateWaySettingsProto, rhs: PushGateWaySettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.obNewGlobalSettingBool2 != rhs.obNewGlobalSettingBool2 {return false} - if lhs.gatewayHost != rhs.gatewayHost {return false} - if lhs.obNewGlobalSettingBool3 != rhs.obNewGlobalSettingBool3 {return false} - if lhs.obNewGlobalSettingInt32 != rhs.obNewGlobalSettingInt32 {return false} - if lhs.obNewGlobalSettingFloat != rhs.obNewGlobalSettingFloat {return false} - if lhs.path != rhs.path {return false} - if lhs.obNewGlobalSettingInt321 != rhs.obNewGlobalSettingInt321 {return false} - if lhs.obString != rhs.obString {return false} + public static func ==(lhs: PushGatewayGlobalSettingsProto, rhs: PushGatewayGlobalSettingsProto) -> Bool { + if lhs.enableWebsocket != rhs.enableWebsocket {return false} + if lhs.enableSocialInbox != rhs.enableSocialInbox {return false} + if lhs.messagingFrontendURL != rhs.messagingFrontendURL {return false} + if lhs.enableGetMapObjects != rhs.enableGetMapObjects {return false} + if lhs.getMapObjectsS2Level != rhs.getMapObjectsS2Level {return false} + if lhs.getMapObjectsRadiusMeters != rhs.getMapObjectsRadiusMeters {return false} + if lhs.getMapObjectsTopicNamespace != rhs.getMapObjectsTopicNamespace {return false} + if lhs.getMapObjectsSubscribeMinIntervalMs != rhs.getMapObjectsSubscribeMinIntervalMs {return false} + if lhs.bootRaidUpdateNamespace != rhs.bootRaidUpdateNamespace {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension PushGatewaySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".PushGatewaySettings" +extension PushGatewayMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".PushGatewayMessage" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "push_gateway_min_level_1"), - 2: .standard(proto: "push_gateway_min_level_2"), + 1: .standard(proto: "map_objects_update"), + 2: .standard(proto: "raid_lobby_player_count"), + 3: .standard(proto: "boot_raid_update"), + 4: .standard(proto: "party_play_proto"), + 5: .standard(proto: "party_update"), + 6: .standard(proto: "raid_participant_proto"), + 7: .standard(proto: "message_pub_timestamp_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -266147,26 +276473,300 @@ extension PushGatewaySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.pushGatewayMinLevel1) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.pushGatewayMinLevel2) }() + case 1: try { + var v: PushGatewayMessage.MapObjectsUpdate? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .mapObjectsUpdate(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .mapObjectsUpdate(v) + } + }() + case 2: try { + var v: RaidLobbyCounterData? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .raidLobbyPlayerCount(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .raidLobbyPlayerCount(v) + } + }() + case 3: try { + var v: PushGatewayMessage.BootRaidUpdate? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .bootRaidUpdate(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .bootRaidUpdate(v) + } + }() + case 4: try { + var v: PartyRpcProto? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .partyPlayProto(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .partyPlayProto(v) + } + }() + case 5: try { + var v: PushGatewayMessage.PartyUpdate? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .partyUpdate(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .partyUpdate(v) + } + }() + case 6: try { + var v: RaidParticipantProto? + var hadOneofValue = false + if let current = self.message { + hadOneofValue = true + if case .raidParticipantProto(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.message = .raidParticipantProto(v) + } + }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.messagePubTimestampMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pushGatewayMinLevel1 != 0 { - try visitor.visitSingularInt32Field(value: self.pushGatewayMinLevel1, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.message { + case .mapObjectsUpdate?: try { + guard case .mapObjectsUpdate(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .raidLobbyPlayerCount?: try { + guard case .raidLobbyPlayerCount(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .bootRaidUpdate?: try { + guard case .bootRaidUpdate(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case .partyPlayProto?: try { + guard case .partyPlayProto(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + }() + case .partyUpdate?: try { + guard case .partyUpdate(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + }() + case .raidParticipantProto?: try { + guard case .raidParticipantProto(let v)? = self.message else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 6) + }() + case nil: break } - if self.pushGatewayMinLevel2 != 0 { - try visitor.visitSingularInt32Field(value: self.pushGatewayMinLevel2, fieldNumber: 2) + if self.messagePubTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.messagePubTimestampMs, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: PushGatewaySettings, rhs: PushGatewaySettings) -> Bool { - if lhs.pushGatewayMinLevel1 != rhs.pushGatewayMinLevel1 {return false} - if lhs.pushGatewayMinLevel2 != rhs.pushGatewayMinLevel2 {return false} + public static func ==(lhs: PushGatewayMessage, rhs: PushGatewayMessage) -> Bool { + if lhs.message != rhs.message {return false} + if lhs.messagePubTimestampMs != rhs.messagePubTimestampMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PushGatewayMessage.BootRaidUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PushGatewayMessage.protoMessageName + ".BootRaidUpdate" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "player_join_end_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.playerJoinEndMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.playerJoinEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.playerJoinEndMs, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PushGatewayMessage.BootRaidUpdate, rhs: PushGatewayMessage.BootRaidUpdate) -> Bool { + if lhs.playerJoinEndMs != rhs.playerJoinEndMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PushGatewayMessage.MapObjectsUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PushGatewayMessage.protoMessageName + ".MapObjectsUpdate" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PushGatewayMessage.MapObjectsUpdate, rhs: PushGatewayMessage.MapObjectsUpdate) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension PushGatewayMessage.PartyUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = PushGatewayMessage.protoMessageName + ".PartyUpdate" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "party_play_proto"), + 2: .same(proto: "location"), + 3: .same(proto: "zone"), + 6: .standard(proto: "has_party_update"), + 4: .standard(proto: "joined_player_obfuscation_map"), + 7: .standard(proto: "party_id"), + 8: .standard(proto: "party_seed"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { + var v: PartyRpcProto? + var hadOneofValue = false + if let current = self.partyUpdateType { + hadOneofValue = true + if case .partyPlayProto(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.partyUpdateType = .partyPlayProto(v) + } + }() + case 2: try { + var v: PartyLocationPushProto? + var hadOneofValue = false + if let current = self.partyUpdateType { + hadOneofValue = true + if case .location(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.partyUpdateType = .location(v) + } + }() + case 3: try { + var v: PartyZonePushProto? + var hadOneofValue = false + if let current = self.partyUpdateType { + hadOneofValue = true + if case .zone(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.partyUpdateType = .zone(v) + } + }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._joinedPlayerObfuscationMap) }() + case 6: try { + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) + if let v = v { + if self.partyUpdateType != nil {try decoder.handleConflictingOneOf()} + self.partyUpdateType = .hasPartyUpdate_p(v) + } + }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.partyID) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &self.partySeed) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.partyUpdateType { + case .partyPlayProto?: try { + guard case .partyPlayProto(let v)? = self.partyUpdateType else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .location?: try { + guard case .location(let v)? = self.partyUpdateType else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .zone?: try { + guard case .zone(let v)? = self.partyUpdateType else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + default: break + } + try { if let v = self._joinedPlayerObfuscationMap { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if case .hasPartyUpdate_p(let v)? = self.partyUpdateType { + try visitor.visitSingularBoolField(value: v, fieldNumber: 6) + } }() + if self.partyID != 0 { + try visitor.visitSingularInt64Field(value: self.partyID, fieldNumber: 7) + } + if self.partySeed != 0 { + try visitor.visitSingularInt64Field(value: self.partySeed, fieldNumber: 8) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: PushGatewayMessage.PartyUpdate, rhs: PushGatewayMessage.PartyUpdate) -> Bool { + if lhs.partyUpdateType != rhs.partyUpdateType {return false} + if lhs._joinedPlayerObfuscationMap != rhs._joinedPlayerObfuscationMap {return false} + if lhs.partyID != rhs.partyID {return false} + if lhs.partySeed != rhs.partySeed {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -266374,56 +276974,6 @@ extension PushNotificationTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Messa } } -extension Quaternion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Quaternion" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "x"), - 2: .same(proto: "y"), - 3: .same(proto: "z"), - 4: .same(proto: "w"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.x) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.y) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.z) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.w) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.x != 0 { - try visitor.visitSingularFloatField(value: self.x, fieldNumber: 1) - } - if self.y != 0 { - try visitor.visitSingularFloatField(value: self.y, fieldNumber: 2) - } - if self.z != 0 { - try visitor.visitSingularFloatField(value: self.z, fieldNumber: 3) - } - if self.w != 0 { - try visitor.visitSingularFloatField(value: self.w, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Quaternion, rhs: Quaternion) -> Bool { - if lhs.x != rhs.x {return false} - if lhs.y != rhs.y {return false} - if lhs.z != rhs.z {return false} - if lhs.w != rhs.w {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension QuestBranchDisplayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".QuestBranchDisplayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -266576,6 +277126,10 @@ extension QuestConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl 42: .standard(proto: "with_route_travel"), 43: .standard(proto: "with_unique_route"), 44: .standard(proto: "with_tappable_type"), + 45: .standard(proto: "with_auth_provider_type"), + 46: .standard(proto: "with_opponent_pokemon_battle_status"), + 47: .standard(proto: "with_fort_id"), + 48: .standard(proto: "with_pokemon_move"), 1: .same(proto: "type"), ] @@ -267145,6 +277699,58 @@ extension QuestConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl self.condition = .withTappableType(v) } }() + case 45: try { + var v: WithAuthProviderTypeProto? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .withAuthProviderType(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .withAuthProviderType(v) + } + }() + case 46: try { + var v: WithOpponentPokemonBattleStatusProto? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .withOpponentPokemonBattleStatus(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .withOpponentPokemonBattleStatus(v) + } + }() + case 47: try { + var v: WithFortIdProto? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .withFortID(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .withFortID(v) + } + }() + case 48: try { + var v: WithPokemonMoveProto? + var hadOneofValue = false + if let current = self.condition { + hadOneofValue = true + if case .withPokemonMove(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.condition = .withPokemonMove(v) + } + }() default: break } } @@ -267331,6 +277937,22 @@ extension QuestConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl guard case .withTappableType(let v)? = self.condition else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 44) }() + case .withAuthProviderType?: try { + guard case .withAuthProviderType(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 45) + }() + case .withOpponentPokemonBattleStatus?: try { + guard case .withOpponentPokemonBattleStatus(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 46) + }() + case .withFortID?: try { + guard case .withFortID(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 47) + }() + case .withPokemonMove?: try { + guard case .withPokemonMove(let v)? = self.condition else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 48) + }() case nil: break } try unknownFields.traverse(visitor: &visitor) @@ -267405,6 +278027,12 @@ extension QuestConditionProto.ConditionType: SwiftProtobuf._ProtoNameProviding { 56: .same(proto: "WITH_UNIQUE_ROUTE_TRAVEL"), 57: .same(proto: "WITH_TAPPABLE_TYPE"), 58: .same(proto: "WITH_IN_PARTY"), + 59: .same(proto: "WITH_SHINY_POKEMON"), + 60: .same(proto: "WITH_ABILITY_PARTY_POWER_DAMAGE_DEALT"), + 61: .same(proto: "WITH_AUTH_PROVIDER_TYPE"), + 62: .same(proto: "WITH_OPPONENT_POKEMON_BATTLE_STATUS"), + 63: .same(proto: "WITH_FORT_ID"), + 64: .same(proto: "WITH_POKEMON_MOVE"), ] } @@ -268010,7 +278638,7 @@ extension QuestGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag 1: .standard(proto: "enable_quests"), 2: .standard(proto: "max_challenge_quests"), 3: .standard(proto: "enable_show_sponsor_name"), - 4: .standard(proto: "elapsed_time_ms"), + 4: .standard(proto: "force_reshow_branching_quest_dialog_default_cooldown_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -268022,7 +278650,7 @@ extension QuestGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag case 1: try { try decoder.decodeSingularBoolField(value: &self.enableQuests) }() case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxChallengeQuests) }() case 3: try { try decoder.decodeSingularBoolField(value: &self.enableShowSponsorName) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.elapsedTimeMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.forceReshowBranchingQuestDialogDefaultCooldownMs) }() default: break } } @@ -268038,8 +278666,8 @@ extension QuestGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if self.enableShowSponsorName != false { try visitor.visitSingularBoolField(value: self.enableShowSponsorName, fieldNumber: 3) } - if self.elapsedTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.elapsedTimeMs, fieldNumber: 4) + if self.forceReshowBranchingQuestDialogDefaultCooldownMs != 0 { + try visitor.visitSingularInt64Field(value: self.forceReshowBranchingQuestDialogDefaultCooldownMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } @@ -268048,7 +278676,7 @@ extension QuestGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if lhs.enableQuests != rhs.enableQuests {return false} if lhs.maxChallengeQuests != rhs.maxChallengeQuests {return false} if lhs.enableShowSponsorName != rhs.enableShowSponsorName {return false} - if lhs.elapsedTimeMs != rhs.elapsedTimeMs {return false} + if lhs.forceReshowBranchingQuestDialogDefaultCooldownMs != rhs.forceReshowBranchingQuestDialogDefaultCooldownMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -268403,7 +279031,7 @@ extension QuestPreconditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.type != .questPreconditionUnset { + if self.type != .questPreconditionUnsetQuestpreconditiontype { try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } switch self.condition { @@ -268454,7 +279082,7 @@ extension QuestPreconditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI extension QuestPreconditionProto.Operator: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), + 0: .same(proto: "UNSET_OPERATOR"), 1: .same(proto: "EQUALS"), 2: .same(proto: "GREATER_THAN"), 3: .same(proto: "LESS_THAN"), @@ -268464,7 +279092,7 @@ extension QuestPreconditionProto.Operator: SwiftProtobuf._ProtoNameProviding { extension QuestPreconditionProto.QuestPreconditionType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "QUEST_PRECONDITION_UNSET"), + 0: .same(proto: "QUEST_PRECONDITION_UNSET_QUESTPRECONDITIONTYPE"), 1: .same(proto: "QUEST_PRECONDITION_QUEST"), 2: .same(proto: "QUEST_PRECONDITION_LEVEL"), 3: .same(proto: "QUEST_PRECONDITION_MEDAL"), @@ -268479,6 +279107,247 @@ extension QuestPreconditionProto.QuestPreconditionType: SwiftProtobuf._ProtoName ] } +extension QuestPreconditionProto.Group: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".Group" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "name"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.name) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.name != .unsetName { + try visitor.visitSingularEnumField(value: self.name, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: QuestPreconditionProto.Group, rhs: QuestPreconditionProto.Group) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension QuestPreconditionProto.Group.Name: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET_NAME"), + 1: .same(proto: "GIOVANNI"), + ] +} + +extension QuestPreconditionProto.Level: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".Level" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "operator"), + 2: .same(proto: "level"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.`operator`) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.level) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.`operator` != .unsetOperator { + try visitor.visitSingularEnumField(value: self.`operator`, fieldNumber: 1) + } + if self.level != 0 { + try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: QuestPreconditionProto.Level, rhs: QuestPreconditionProto.Level) -> Bool { + if lhs.`operator` != rhs.`operator` {return false} + if lhs.level != rhs.level {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension QuestPreconditionProto.Medal: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".Medal" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "type"), + 2: .same(proto: "operator"), + 3: .standard(proto: "badge_rank"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.`operator`) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.badgeRank) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.type != .badgeUnset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) + } + if self.`operator` != .unsetOperator { + try visitor.visitSingularEnumField(value: self.`operator`, fieldNumber: 2) + } + if self.badgeRank != 0 { + try visitor.visitSingularInt32Field(value: self.badgeRank, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: QuestPreconditionProto.Medal, rhs: QuestPreconditionProto.Medal) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.`operator` != rhs.`operator` {return false} + if lhs.badgeRank != rhs.badgeRank {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension QuestPreconditionProto.MonthYearBucket: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".MonthYearBucket" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "year"), + 2: .same(proto: "month"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.year) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.month) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.year != 0 { + try visitor.visitSingularInt32Field(value: self.year, fieldNumber: 1) + } + if self.month != 0 { + try visitor.visitSingularInt32Field(value: self.month, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: QuestPreconditionProto.MonthYearBucket, rhs: QuestPreconditionProto.MonthYearBucket) -> Bool { + if lhs.year != rhs.year {return false} + if lhs.month != rhs.month {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension QuestPreconditionProto.Quests: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".Quests" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "quest_template_ids"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.questTemplateIds) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.questTemplateIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.questTemplateIds, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: QuestPreconditionProto.Quests, rhs: QuestPreconditionProto.Quests) -> Bool { + if lhs.questTemplateIds != rhs.questTemplateIds {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension QuestPreconditionProto.StorylineProgressConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".StorylineProgressConditionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "mandatory_quest_template_id"), + 2: .standard(proto: "optional_quest_template_id"), + 3: .standard(proto: "optional_quests_completed_min"), + 4: .standard(proto: "optional_quests_completed_max"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.mandatoryQuestTemplateID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.optionalQuestTemplateID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.optionalQuestsCompletedMin) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.optionalQuestsCompletedMax) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.mandatoryQuestTemplateID.isEmpty { + try visitor.visitRepeatedStringField(value: self.mandatoryQuestTemplateID, fieldNumber: 1) + } + if !self.optionalQuestTemplateID.isEmpty { + try visitor.visitRepeatedStringField(value: self.optionalQuestTemplateID, fieldNumber: 2) + } + if self.optionalQuestsCompletedMin != 0 { + try visitor.visitSingularInt32Field(value: self.optionalQuestsCompletedMin, fieldNumber: 3) + } + if self.optionalQuestsCompletedMax != 0 { + try visitor.visitSingularInt32Field(value: self.optionalQuestsCompletedMax, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: QuestPreconditionProto.StorylineProgressConditionProto, rhs: QuestPreconditionProto.StorylineProgressConditionProto) -> Bool { + if lhs.mandatoryQuestTemplateID != rhs.mandatoryQuestTemplateID {return false} + if lhs.optionalQuestTemplateID != rhs.optionalQuestTemplateID {return false} + if lhs.optionalQuestsCompletedMin != rhs.optionalQuestsCompletedMin {return false} + if lhs.optionalQuestsCompletedMax != rhs.optionalQuestsCompletedMax {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension QuestPreconditionProto.TeamProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".TeamProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -268500,7 +279369,7 @@ extension QuestPreconditionProto.TeamProto: SwiftProtobuf.Message, SwiftProtobuf } public func traverse(visitor: inout V) throws { - if self.`operator` != .unset { + if self.`operator` != .unsetOperator { try visitor.visitSingularEnumField(value: self.`operator`, fieldNumber: 1) } if self.team != .unset { @@ -268517,247 +279386,6 @@ extension QuestPreconditionProto.TeamProto: SwiftProtobuf.Message, SwiftProtobuf } } -extension QuestPreconditionProto.Group: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".Group" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.name) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.name != .unsetName { - try visitor.visitSingularEnumField(value: self.name, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: QuestPreconditionProto.Group, rhs: QuestPreconditionProto.Group) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension QuestPreconditionProto.Group.Name: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET_NAME"), - 1: .same(proto: "GIOVANNI"), - ] -} - -extension QuestPreconditionProto.Level: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".Level" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "operator"), - 2: .same(proto: "level"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.`operator`) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.level) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.`operator` != .unset { - try visitor.visitSingularEnumField(value: self.`operator`, fieldNumber: 1) - } - if self.level != 0 { - try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: QuestPreconditionProto.Level, rhs: QuestPreconditionProto.Level) -> Bool { - if lhs.`operator` != rhs.`operator` {return false} - if lhs.level != rhs.level {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension QuestPreconditionProto.Medal: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".Medal" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .same(proto: "operator"), - 3: .standard(proto: "badge_rank"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.`operator`) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.badgeRank) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.type != .badgeUnset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) - } - if self.`operator` != .unset { - try visitor.visitSingularEnumField(value: self.`operator`, fieldNumber: 2) - } - if self.badgeRank != 0 { - try visitor.visitSingularInt32Field(value: self.badgeRank, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: QuestPreconditionProto.Medal, rhs: QuestPreconditionProto.Medal) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.`operator` != rhs.`operator` {return false} - if lhs.badgeRank != rhs.badgeRank {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension QuestPreconditionProto.MonthYearBucket: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".MonthYearBucket" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "year"), - 2: .same(proto: "month"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.year) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.month) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.year != 0 { - try visitor.visitSingularInt32Field(value: self.year, fieldNumber: 1) - } - if self.month != 0 { - try visitor.visitSingularInt32Field(value: self.month, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: QuestPreconditionProto.MonthYearBucket, rhs: QuestPreconditionProto.MonthYearBucket) -> Bool { - if lhs.year != rhs.year {return false} - if lhs.month != rhs.month {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension QuestPreconditionProto.Quests: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".Quests" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "quest_template_ids"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.questTemplateIds) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.questTemplateIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.questTemplateIds, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: QuestPreconditionProto.Quests, rhs: QuestPreconditionProto.Quests) -> Bool { - if lhs.questTemplateIds != rhs.questTemplateIds {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension QuestPreconditionProto.StorylineProgressConditionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = QuestPreconditionProto.protoMessageName + ".StorylineProgressConditionProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "mandatory_quest_template_id"), - 2: .standard(proto: "optional_quest_template_id"), - 3: .standard(proto: "optional_quests_completed_min"), - 4: .standard(proto: "optional_quests_completed_max"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.mandatoryQuestTemplateID) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.optionalQuestTemplateID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.optionalQuestsCompletedMin) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.optionalQuestsCompletedMax) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.mandatoryQuestTemplateID.isEmpty { - try visitor.visitRepeatedStringField(value: self.mandatoryQuestTemplateID, fieldNumber: 1) - } - if !self.optionalQuestTemplateID.isEmpty { - try visitor.visitRepeatedStringField(value: self.optionalQuestTemplateID, fieldNumber: 2) - } - if self.optionalQuestsCompletedMin != 0 { - try visitor.visitSingularInt32Field(value: self.optionalQuestsCompletedMin, fieldNumber: 3) - } - if self.optionalQuestsCompletedMax != 0 { - try visitor.visitSingularInt32Field(value: self.optionalQuestsCompletedMax, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: QuestPreconditionProto.StorylineProgressConditionProto, rhs: QuestPreconditionProto.StorylineProgressConditionProto) -> Bool { - if lhs.mandatoryQuestTemplateID != rhs.mandatoryQuestTemplateID {return false} - if lhs.optionalQuestTemplateID != rhs.optionalQuestTemplateID {return false} - if lhs.optionalQuestsCompletedMin != rhs.optionalQuestsCompletedMin {return false} - if lhs.optionalQuestsCompletedMax != rhs.optionalQuestsCompletedMax {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".QuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -268777,9 +279405,10 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio 15: .standard(proto: "take_snapshot"), 16: .standard(proto: "submit_sleep_records"), 17: .standard(proto: "travel_route"), + 18: .standard(proto: "spin_pokestop"), 1: .standard(proto: "quest_type"), 98: .standard(proto: "with_single_day"), - 99: .standard(proto: "days_in_a_row"), + 99: .standard(proto: "days_in_arow"), 100: .standard(proto: "quest_id"), 101: .standard(proto: "quest_seed"), 102: .standard(proto: "quest_context"), @@ -268807,13 +279436,14 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio 124: .standard(proto: "start_timestamp_ms"), 125: .standard(proto: "with_total_days"), 126: .standard(proto: "phase_number"), + 127: .same(proto: "difficulty"), ] fileprivate class _StorageClass { var _quest: QuestProto.OneOf_Quest? var _questType: QuestType = .questUnset var _withSingleDay: WithSingleDayProto? = nil - var _daysInARow: DaysWithARowQuestProto? = nil + var _daysInArow: DaysWithARowQuestProto? = nil var _questID: String = String() var _questSeed: Int64 = 0 var _questContext: QuestProto.Context = .unset @@ -268841,6 +279471,7 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio var _startTimestampMs: Int64 = 0 var _withTotalDays: WithTotalDaysProto? = nil var _phaseNumber: Int32 = 0 + var _difficulty: QuestProto.Difficulty = .undefined static let defaultInstance = _StorageClass() @@ -268850,7 +279481,7 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio _quest = source._quest _questType = source._questType _withSingleDay = source._withSingleDay - _daysInARow = source._daysInARow + _daysInArow = source._daysInArow _questID = source._questID _questSeed = source._questSeed _questContext = source._questContext @@ -268878,6 +279509,7 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio _startTimestampMs = source._startTimestampMs _withTotalDays = source._withTotalDays _phaseNumber = source._phaseNumber + _difficulty = source._difficulty } } @@ -269105,8 +279737,21 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio _storage._quest = .travelRoute(v) } }() + case 18: try { + var v: SpinPokestopQuestProto? + var hadOneofValue = false + if let current = _storage._quest { + hadOneofValue = true + if case .spinPokestop(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + _storage._quest = .spinPokestop(v) + } + }() case 98: try { try decoder.decodeSingularMessageField(value: &_storage._withSingleDay) }() - case 99: try { try decoder.decodeSingularMessageField(value: &_storage._daysInARow) }() + case 99: try { try decoder.decodeSingularMessageField(value: &_storage._daysInArow) }() case 100: try { try decoder.decodeSingularStringField(value: &_storage._questID) }() case 101: try { try decoder.decodeSingularInt64Field(value: &_storage._questSeed) }() case 102: try { try decoder.decodeSingularEnumField(value: &_storage._questContext) }() @@ -269134,6 +279779,7 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio case 124: try { try decoder.decodeSingularInt64Field(value: &_storage._startTimestampMs) }() case 125: try { try decoder.decodeSingularMessageField(value: &_storage._withTotalDays) }() case 126: try { try decoder.decodeSingularInt32Field(value: &_storage._phaseNumber) }() + case 127: try { try decoder.decodeSingularEnumField(value: &_storage._difficulty) }() default: break } } @@ -269214,12 +279860,16 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio guard case .travelRoute(let v)? = _storage._quest else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 17) }() + case .spinPokestop?: try { + guard case .spinPokestop(let v)? = _storage._quest else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 18) + }() case nil: break } try { if let v = _storage._withSingleDay { try visitor.visitSingularMessageField(value: v, fieldNumber: 98) } }() - try { if let v = _storage._daysInARow { + try { if let v = _storage._daysInArow { try visitor.visitSingularMessageField(value: v, fieldNumber: 99) } }() if !_storage._questID.isEmpty { @@ -269303,6 +279953,9 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio if _storage._phaseNumber != 0 { try visitor.visitSingularInt32Field(value: _storage._phaseNumber, fieldNumber: 126) } + if _storage._difficulty != .undefined { + try visitor.visitSingularEnumField(value: _storage._difficulty, fieldNumber: 127) + } } try unknownFields.traverse(visitor: &visitor) } @@ -269315,7 +279968,7 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio if _storage._quest != rhs_storage._quest {return false} if _storage._questType != rhs_storage._questType {return false} if _storage._withSingleDay != rhs_storage._withSingleDay {return false} - if _storage._daysInARow != rhs_storage._daysInARow {return false} + if _storage._daysInArow != rhs_storage._daysInArow {return false} if _storage._questID != rhs_storage._questID {return false} if _storage._questSeed != rhs_storage._questSeed {return false} if _storage._questContext != rhs_storage._questContext {return false} @@ -269343,6 +279996,7 @@ extension QuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio if _storage._startTimestampMs != rhs_storage._startTimestampMs {return false} if _storage._withTotalDays != rhs_storage._withTotalDays {return false} if _storage._phaseNumber != rhs_storage._phaseNumber {return false} + if _storage._difficulty != rhs_storage._difficulty {return false} return true } if !storagesAreEqual {return false} @@ -269370,6 +280024,17 @@ extension QuestProto.Context: SwiftProtobuf._ProtoNameProviding { ] } +extension QuestProto.Difficulty: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNDEFINED"), + 1: .same(proto: "VERY_EASY"), + 2: .same(proto: "EASY"), + 3: .same(proto: "NORMAL"), + 4: .same(proto: "HARD"), + 5: .same(proto: "VERY_HARD"), + ] +} + extension QuestProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "STATUS_UNDEFINED"), @@ -269433,6 +280098,7 @@ extension QuestRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme 13: .standard(proto: "mega_resource"), 14: .same(proto: "incident"), 15: .standard(proto: "player_attribute"), + 16: .standard(proto: "event_badge_id"), 1: .same(proto: "type"), ] @@ -269595,6 +280261,14 @@ extension QuestRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme self.reward = .playerAttribute(v) } }() + case 16: try { + var v: HoloBadgeType? + try decoder.decodeSingularEnumField(value: &v) + if let v = v { + if self.reward != nil {try decoder.handleConflictingOneOf()} + self.reward = .eventBadgeID(v) + } + }() default: break } } @@ -269665,6 +280339,10 @@ extension QuestRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme guard case .playerAttribute(let v)? = self.reward else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 15) }() + case .eventBadgeID?: try { + guard case .eventBadgeID(let v)? = self.reward else { preconditionFailure() } + try visitor.visitSingularEnumField(value: v, fieldNumber: 16) + }() case nil: break } try unknownFields.traverse(visitor: &visitor) @@ -269695,6 +280373,7 @@ extension QuestRewardProto.TypeEnum: SwiftProtobuf._ProtoNameProviding { 12: .same(proto: "MEGA_RESOURCE"), 13: .same(proto: "INCIDENT"), 14: .same(proto: "PLAYER_ATTRIBUTE"), + 15: .same(proto: "EVENT_BADGE"), ] } @@ -269926,10 +280605,10 @@ extension QuestsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati } } -extension QuitCombatDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".QuitCombatDataProto" +extension QuitCombatData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".QuitCombatData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -269938,21 +280617,21 @@ extension QuitCombatDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: QuitCombatDataProto, rhs: QuitCombatDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: QuitCombatData, rhs: QuitCombatData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -270042,12 +280721,12 @@ extension QuitCombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen } } -extension QuitCombatResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".QuitCombatResponseDataProto" +extension QuitCombatResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".QuitCombatResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .standard(proto: "ob_quit_combat_response"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .standard(proto: "quit_combat_out_proto"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -270056,9 +280735,9 @@ extension QuitCombatResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._obQuitCombatResponse) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._quitCombatOutProto) }() default: break } } @@ -270069,567 +280748,32 @@ extension QuitCombatResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) } - try { if let v = self._obQuitCombatResponse { + try { if let v = self._quitCombatOutProto { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: QuitCombatResponseDataProto, rhs: QuitCombatResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs._obQuitCombatResponse != rhs._obQuitCombatResponse {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RaidClientLogInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RaidClientLogInfoProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_raid_client_log_info_string_1"), - 2: .standard(proto: "ob_raid_client_log_info_int64_1"), - 3: .standard(proto: "ob_raid_client_log_info_double_1"), - 4: .standard(proto: "ob_raid_client_log_info_double_2"), - 5: .standard(proto: "ob_raid_client_log_info_int64_2"), - 6: .standard(proto: "ob_raid_client_log_info_string_2"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obRaidClientLogInfoString1) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.obRaidClientLogInfoInt641) }() - case 3: try { try decoder.decodeSingularDoubleField(value: &self.obRaidClientLogInfoDouble1) }() - case 4: try { try decoder.decodeSingularDoubleField(value: &self.obRaidClientLogInfoDouble2) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.obRaidClientLogInfoInt642) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.obRaidClientLogInfoString2) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.obRaidClientLogInfoString1.isEmpty { - try visitor.visitSingularStringField(value: self.obRaidClientLogInfoString1, fieldNumber: 1) - } - if self.obRaidClientLogInfoInt641 != 0 { - try visitor.visitSingularInt64Field(value: self.obRaidClientLogInfoInt641, fieldNumber: 2) - } - if self.obRaidClientLogInfoDouble1 != 0 { - try visitor.visitSingularDoubleField(value: self.obRaidClientLogInfoDouble1, fieldNumber: 3) - } - if self.obRaidClientLogInfoDouble2 != 0 { - try visitor.visitSingularDoubleField(value: self.obRaidClientLogInfoDouble2, fieldNumber: 4) - } - if self.obRaidClientLogInfoInt642 != 0 { - try visitor.visitSingularInt64Field(value: self.obRaidClientLogInfoInt642, fieldNumber: 5) - } - if !self.obRaidClientLogInfoString2.isEmpty { - try visitor.visitSingularStringField(value: self.obRaidClientLogInfoString2, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RaidClientLogInfoProto, rhs: RaidClientLogInfoProto) -> Bool { - if lhs.obRaidClientLogInfoString1 != rhs.obRaidClientLogInfoString1 {return false} - if lhs.obRaidClientLogInfoInt641 != rhs.obRaidClientLogInfoInt641 {return false} - if lhs.obRaidClientLogInfoDouble1 != rhs.obRaidClientLogInfoDouble1 {return false} - if lhs.obRaidClientLogInfoDouble2 != rhs.obRaidClientLogInfoDouble2 {return false} - if lhs.obRaidClientLogInfoInt642 != rhs.obRaidClientLogInfoInt642 {return false} - if lhs.obRaidClientLogInfoString2 != rhs.obRaidClientLogInfoString2 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RaidClientLogsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RaidClientLogsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "join_lobby_data"), - 3: .standard(proto: "join_lobby_response_data"), - 4: .standard(proto: "leave_lobby_data"), - 5: .standard(proto: "leave_lobby_response_data"), - 6: .standard(proto: "lobby_visibility_data"), - 7: .standard(proto: "lobby_visibility_response_data"), - 8: .standard(proto: "get_raid_details_data"), - 9: .standard(proto: "get_raid_details_response_data"), - 10: .standard(proto: "start_raid_battle_data"), - 11: .standard(proto: "start_raid_battle_response_data"), - 12: .standard(proto: "attack_raid_data"), - 13: .standard(proto: "attack_raid_response_data"), - 14: .standard(proto: "send_raid_invitation_data"), - 15: .standard(proto: "send_raid_invitation_response_data"), - 16: .standard(proto: "on_application_focus_data"), - 17: .standard(proto: "on_application_pause_data"), - 18: .standard(proto: "on_application_quit_data"), - 19: .standard(proto: "exception_caught_data"), - 20: .standard(proto: "progress_token_data"), - 21: .standard(proto: "rpc_error_data"), - 22: .standard(proto: "client_prediction_inconsistency_data"), - 23: .standard(proto: "raid_end_data"), - 1: .standard(proto: "ob_raid_log_client_info"), - ] - - fileprivate class _StorageClass { - var _logData: RaidClientLogsProto.OneOf_LogData? - var _obRaidLogClientInfo: RaidClientLogsProto.RaidClientLogInfo? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _logData = source._logData - _obRaidLogClientInfo = source._obRaidLogClientInfo - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &_storage._obRaidLogClientInfo) }() - case 2: try { - var v: JoinLobbyDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .joinLobbyData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .joinLobbyData(v) - } - }() - case 3: try { - var v: JoinLobbyResponseDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .joinLobbyResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .joinLobbyResponseData(v) - } - }() - case 4: try { - var v: LeaveLobbyDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .leaveLobbyData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .leaveLobbyData(v) - } - }() - case 5: try { - var v: LeaveLobbyResponseDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .leaveLobbyResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .leaveLobbyResponseData(v) - } - }() - case 6: try { - var v: LobbyVisibilityDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .lobbyVisibilityData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .lobbyVisibilityData(v) - } - }() - case 7: try { - var v: LobbyVisibilityResponseDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .lobbyVisibilityResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .lobbyVisibilityResponseData(v) - } - }() - case 8: try { - var v: GetRaidDetailsDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .getRaidDetailsData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .getRaidDetailsData(v) - } - }() - case 9: try { - var v: GetRaidDetailsResponseDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .getRaidDetailsResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .getRaidDetailsResponseData(v) - } - }() - case 10: try { - var v: StartRaidBattleDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .startRaidBattleData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .startRaidBattleData(v) - } - }() - case 11: try { - var v: StartRaidBattleResponseDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .startRaidBattleResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .startRaidBattleResponseData(v) - } - }() - case 12: try { - var v: AttackRaidDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .attackRaidData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .attackRaidData(v) - } - }() - case 13: try { - var v: AttackRaidResponseDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .attackRaidResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .attackRaidResponseData(v) - } - }() - case 14: try { - var v: SendRaidInvitationDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .sendRaidInvitationData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .sendRaidInvitationData(v) - } - }() - case 15: try { - var v: SendRaidInvitationResponseDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .sendRaidInvitationResponseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .sendRaidInvitationResponseData(v) - } - }() - case 16: try { - var v: OnApplicationFocusDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .onApplicationFocusData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .onApplicationFocusData(v) - } - }() - case 17: try { - var v: OnApplicationPauseDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .onApplicationPauseData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .onApplicationPauseData(v) - } - }() - case 18: try { - var v: OnApplicationQuitDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .onApplicationQuitData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .onApplicationQuitData(v) - } - }() - case 19: try { - var v: ExceptionCaugthDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .exceptionCaughtData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .exceptionCaughtData(v) - } - }() - case 20: try { - var v: ProgressTokenDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .progressTokenData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .progressTokenData(v) - } - }() - case 21: try { - var v: RpcErrorDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .rpcErrorData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .rpcErrorData(v) - } - }() - case 22: try { - var v: ClientPredictionInconsistencyDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .clientPredictionInconsistencyData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .clientPredictionInconsistencyData(v) - } - }() - case 23: try { - var v: RaidEndDataProto? - var hadOneofValue = false - if let current = _storage._logData { - hadOneofValue = true - if case .raidEndData(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - _storage._logData = .raidEndData(v) - } - }() - default: break - } - } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._obRaidLogClientInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - switch _storage._logData { - case .joinLobbyData?: try { - guard case .joinLobbyData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - }() - case .joinLobbyResponseData?: try { - guard case .joinLobbyResponseData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - }() - case .leaveLobbyData?: try { - guard case .leaveLobbyData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - }() - case .leaveLobbyResponseData?: try { - guard case .leaveLobbyResponseData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - }() - case .lobbyVisibilityData?: try { - guard case .lobbyVisibilityData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - }() - case .lobbyVisibilityResponseData?: try { - guard case .lobbyVisibilityResponseData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 7) - }() - case .getRaidDetailsData?: try { - guard case .getRaidDetailsData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - }() - case .getRaidDetailsResponseData?: try { - guard case .getRaidDetailsResponseData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - }() - case .startRaidBattleData?: try { - guard case .startRaidBattleData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 10) - }() - case .startRaidBattleResponseData?: try { - guard case .startRaidBattleResponseData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - }() - case .attackRaidData?: try { - guard case .attackRaidData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - }() - case .attackRaidResponseData?: try { - guard case .attackRaidResponseData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 13) - }() - case .sendRaidInvitationData?: try { - guard case .sendRaidInvitationData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 14) - }() - case .sendRaidInvitationResponseData?: try { - guard case .sendRaidInvitationResponseData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 15) - }() - case .onApplicationFocusData?: try { - guard case .onApplicationFocusData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - }() - case .onApplicationPauseData?: try { - guard case .onApplicationPauseData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 17) - }() - case .onApplicationQuitData?: try { - guard case .onApplicationQuitData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 18) - }() - case .exceptionCaughtData?: try { - guard case .exceptionCaughtData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 19) - }() - case .progressTokenData?: try { - guard case .progressTokenData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 20) - }() - case .rpcErrorData?: try { - guard case .rpcErrorData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 21) - }() - case .clientPredictionInconsistencyData?: try { - guard case .clientPredictionInconsistencyData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 22) - }() - case .raidEndData?: try { - guard case .raidEndData(let v)? = _storage._logData else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 23) - }() - case nil: break - } - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RaidClientLogsProto, rhs: RaidClientLogsProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._logData != rhs_storage._logData {return false} - if _storage._obRaidLogClientInfo != rhs_storage._obRaidLogClientInfo {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: QuitCombatResponseData, rhs: QuitCombatResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs._quitCombatOutProto != rhs._quitCombatOutProto {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RaidClientLogsProto.RaidClientLogInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = RaidClientLogsProto.protoMessageName + ".RaidClientLogInfo" +extension RaidClientLog: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidClientLog" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_log_type"), - 2: .standard(proto: "ob_raid_client_log_info_uint32_1"), - 3: .standard(proto: "ob_raid_client_log_info_uint32_2"), - 4: .standard(proto: "ob_raid_client_log_info_float_1"), - 5: .standard(proto: "ob_raid_client_log_info_float_2"), + 1: .same(proto: "header"), + 2: .same(proto: "entries"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -270638,74 +280782,35 @@ extension RaidClientLogsProto.RaidClientLogInfo: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.obLogType) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obRaidClientLogInfoUint321) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obRaidClientLogInfoUint322) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.obRaidClientLogInfoFloat1) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.obRaidClientLogInfoFloat2) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._header) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.entries) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obLogType != .noType { - try visitor.visitSingularEnumField(value: self.obLogType, fieldNumber: 1) - } - if self.obRaidClientLogInfoUint321 != 0 { - try visitor.visitSingularUInt32Field(value: self.obRaidClientLogInfoUint321, fieldNumber: 2) - } - if self.obRaidClientLogInfoUint322 != 0 { - try visitor.visitSingularUInt32Field(value: self.obRaidClientLogInfoUint322, fieldNumber: 3) - } - if self.obRaidClientLogInfoFloat1 != 0 { - try visitor.visitSingularFloatField(value: self.obRaidClientLogInfoFloat1, fieldNumber: 4) - } - if self.obRaidClientLogInfoFloat2 != 0 { - try visitor.visitSingularFloatField(value: self.obRaidClientLogInfoFloat2, fieldNumber: 5) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._header { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.entries.isEmpty { + try visitor.visitRepeatedMessageField(value: self.entries, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RaidClientLogsProto.RaidClientLogInfo, rhs: RaidClientLogsProto.RaidClientLogInfo) -> Bool { - if lhs.obLogType != rhs.obLogType {return false} - if lhs.obRaidClientLogInfoUint321 != rhs.obRaidClientLogInfoUint321 {return false} - if lhs.obRaidClientLogInfoUint322 != rhs.obRaidClientLogInfoUint322 {return false} - if lhs.obRaidClientLogInfoFloat1 != rhs.obRaidClientLogInfoFloat1 {return false} - if lhs.obRaidClientLogInfoFloat2 != rhs.obRaidClientLogInfoFloat2 {return false} + public static func ==(lhs: RaidClientLog, rhs: RaidClientLog) -> Bool { + if lhs._header != rhs._header {return false} + if lhs.entries != rhs.entries {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RaidClientLogsProto.RaidClientLogInfo.LogType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_TYPE"), - 1: .same(proto: "JOIN_LOBBY_REQUEST"), - 2: .same(proto: "JOIN_LOBBY_RESPONSE"), - 3: .same(proto: "LEAVE_LOBBY_REQUEST"), - 4: .same(proto: "LEAVE_LOBBY_RESPONSE"), - 5: .same(proto: "LOBBY_VISIBILITY_REQUEST"), - 6: .same(proto: "LOBBY_VISIBILITY_RESPONSE"), - 7: .same(proto: "GET_RAID_DETAILS_REQUEST"), - 8: .same(proto: "GET_RAID_DETAILS_RESPONSE"), - 9: .same(proto: "START_RAID_BATTLE_REQUEST"), - 10: .same(proto: "START_RAID_BATTLE_RESPONSE"), - 11: .same(proto: "ATTACK_RAID_REQUEST"), - 12: .same(proto: "ATTACK_RAID_RESPONSE"), - 13: .same(proto: "SEND_RAID_INVITATION_REQUEST"), - 14: .same(proto: "SEND_RAID_INVITATION_RESPONSE"), - 15: .same(proto: "ON_APPLICATION_FOCUS"), - 16: .same(proto: "ON_APPLICATION_PAUSE"), - 17: .same(proto: "ON_APPLICATION_QUIT"), - 18: .same(proto: "EXCEPTION_CAUGHT"), - 19: .same(proto: "PROGRESS_TOKEN"), - 20: .same(proto: "RPC_ERROR"), - 21: .same(proto: "CLIENT_PREDICTION_INCONSISTENCY"), - 22: .same(proto: "PLAYER_END_RAID"), - ] -} - extension RaidClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RaidClientSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -270724,17 +280829,17 @@ extension RaidClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message 13: .standard(proto: "unsupported_raid_levels_for_friend_invites"), 14: .standard(proto: "unsupported_remote_raid_levels"), 15: .standard(proto: "is_nearby_raid_notification_disabled"), - 16: .standard(proto: "ob_repeated_string"), - 17: .standard(proto: "ob_raid_client_setting"), - 18: .standard(proto: "ob_raid_client_setting_1"), - 19: .standard(proto: "ob_bool"), - 20: .standard(proto: "ob_bool_2"), - 21: .standard(proto: "ob_bool_3"), - 22: .standard(proto: "ob_int32_1"), - 23: .standard(proto: "ob_bool_4"), - 24: .standard(proto: "ob_int32_2"), - 25: .standard(proto: "ob_bool_5"), - 26: .standard(proto: "ob_int32_3"), + 16: .standard(proto: "remote_raid_iap_prompt_skus"), + 17: .standard(proto: "raid_level_music_overrides"), + 18: .standard(proto: "raid_feature_flags"), + 19: .standard(proto: "boot_raid_enabled"), + 20: .standard(proto: "friend_requests_enabled"), + 21: .standard(proto: "remote_raid_distance_validation"), + 22: .standard(proto: "popup_time_ms"), + 23: .standard(proto: "failed_friend_invite_info_enabled"), + 24: .standard(proto: "min_players_to_boot"), + 26: .standard(proto: "boot_cutoff_ms"), + 27: .standard(proto: "boot_solo_ms"), ] fileprivate class _StorageClass { @@ -270753,17 +280858,17 @@ extension RaidClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message var _unsupportedRaidLevelsForFriendInvites: [RaidLevel] = [] var _unsupportedRemoteRaidLevels: [RaidLevel] = [] var _isNearbyRaidNotificationDisabled: Bool = false - var _obRepeatedString: [String] = [] - var _obRaidClientSetting: [ObRaidClientSetting] = [] - var _obRaidClientSetting1: ObRaidClientSetting1? = nil - var _obBool: Bool = false - var _obBool2: Bool = false - var _obBool3: Bool = false - var _obInt321: Int32 = 0 - var _obBool4: Bool = false - var _obInt322: Int32 = 0 - var _obBool5: Bool = false - var _obInt323: Int32 = 0 + var _remoteRaidIapPromptSkus: [String] = [] + var _raidLevelMusicOverrides: [RaidMusicOverrideConfig] = [] + var _raidFeatureFlags: RaidFeatureFlags? = nil + var _bootRaidEnabled: Bool = false + var _friendRequestsEnabled: Bool = false + var _remoteRaidDistanceValidation: Bool = false + var _popupTimeMs: Int32 = 0 + var _failedFriendInviteInfoEnabled: Bool = false + var _minPlayersToBoot: Int32 = 0 + var _bootCutoffMs: Int32 = 0 + var _bootSoloMs: Int32 = 0 static let defaultInstance = _StorageClass() @@ -270785,17 +280890,17 @@ extension RaidClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message _unsupportedRaidLevelsForFriendInvites = source._unsupportedRaidLevelsForFriendInvites _unsupportedRemoteRaidLevels = source._unsupportedRemoteRaidLevels _isNearbyRaidNotificationDisabled = source._isNearbyRaidNotificationDisabled - _obRepeatedString = source._obRepeatedString - _obRaidClientSetting = source._obRaidClientSetting - _obRaidClientSetting1 = source._obRaidClientSetting1 - _obBool = source._obBool - _obBool2 = source._obBool2 - _obBool3 = source._obBool3 - _obInt321 = source._obInt321 - _obBool4 = source._obBool4 - _obInt322 = source._obInt322 - _obBool5 = source._obBool5 - _obInt323 = source._obInt323 + _remoteRaidIapPromptSkus = source._remoteRaidIapPromptSkus + _raidLevelMusicOverrides = source._raidLevelMusicOverrides + _raidFeatureFlags = source._raidFeatureFlags + _bootRaidEnabled = source._bootRaidEnabled + _friendRequestsEnabled = source._friendRequestsEnabled + _remoteRaidDistanceValidation = source._remoteRaidDistanceValidation + _popupTimeMs = source._popupTimeMs + _failedFriendInviteInfoEnabled = source._failedFriendInviteInfoEnabled + _minPlayersToBoot = source._minPlayersToBoot + _bootCutoffMs = source._bootCutoffMs + _bootSoloMs = source._bootSoloMs } } @@ -270829,17 +280934,17 @@ extension RaidClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message case 13: try { try decoder.decodeRepeatedEnumField(value: &_storage._unsupportedRaidLevelsForFriendInvites) }() case 14: try { try decoder.decodeRepeatedEnumField(value: &_storage._unsupportedRemoteRaidLevels) }() case 15: try { try decoder.decodeSingularBoolField(value: &_storage._isNearbyRaidNotificationDisabled) }() - case 16: try { try decoder.decodeRepeatedStringField(value: &_storage._obRepeatedString) }() - case 17: try { try decoder.decodeRepeatedMessageField(value: &_storage._obRaidClientSetting) }() - case 18: try { try decoder.decodeSingularMessageField(value: &_storage._obRaidClientSetting1) }() - case 19: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 20: try { try decoder.decodeSingularBoolField(value: &_storage._obBool2) }() - case 21: try { try decoder.decodeSingularBoolField(value: &_storage._obBool3) }() - case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 23: try { try decoder.decodeSingularBoolField(value: &_storage._obBool4) }() - case 24: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt322) }() - case 25: try { try decoder.decodeSingularBoolField(value: &_storage._obBool5) }() - case 26: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt323) }() + case 16: try { try decoder.decodeRepeatedStringField(value: &_storage._remoteRaidIapPromptSkus) }() + case 17: try { try decoder.decodeRepeatedMessageField(value: &_storage._raidLevelMusicOverrides) }() + case 18: try { try decoder.decodeSingularMessageField(value: &_storage._raidFeatureFlags) }() + case 19: try { try decoder.decodeSingularBoolField(value: &_storage._bootRaidEnabled) }() + case 20: try { try decoder.decodeSingularBoolField(value: &_storage._friendRequestsEnabled) }() + case 21: try { try decoder.decodeSingularBoolField(value: &_storage._remoteRaidDistanceValidation) }() + case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._popupTimeMs) }() + case 23: try { try decoder.decodeSingularBoolField(value: &_storage._failedFriendInviteInfoEnabled) }() + case 24: try { try decoder.decodeSingularInt32Field(value: &_storage._minPlayersToBoot) }() + case 26: try { try decoder.decodeSingularInt32Field(value: &_storage._bootCutoffMs) }() + case 27: try { try decoder.decodeSingularInt32Field(value: &_storage._bootSoloMs) }() default: break } } @@ -270897,38 +281002,38 @@ extension RaidClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message if _storage._isNearbyRaidNotificationDisabled != false { try visitor.visitSingularBoolField(value: _storage._isNearbyRaidNotificationDisabled, fieldNumber: 15) } - if !_storage._obRepeatedString.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._obRepeatedString, fieldNumber: 16) + if !_storage._remoteRaidIapPromptSkus.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._remoteRaidIapPromptSkus, fieldNumber: 16) } - if !_storage._obRaidClientSetting.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._obRaidClientSetting, fieldNumber: 17) + if !_storage._raidLevelMusicOverrides.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._raidLevelMusicOverrides, fieldNumber: 17) } - try { if let v = _storage._obRaidClientSetting1 { + try { if let v = _storage._raidFeatureFlags { try visitor.visitSingularMessageField(value: v, fieldNumber: 18) } }() - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 19) + if _storage._bootRaidEnabled != false { + try visitor.visitSingularBoolField(value: _storage._bootRaidEnabled, fieldNumber: 19) } - if _storage._obBool2 != false { - try visitor.visitSingularBoolField(value: _storage._obBool2, fieldNumber: 20) + if _storage._friendRequestsEnabled != false { + try visitor.visitSingularBoolField(value: _storage._friendRequestsEnabled, fieldNumber: 20) } - if _storage._obBool3 != false { - try visitor.visitSingularBoolField(value: _storage._obBool3, fieldNumber: 21) + if _storage._remoteRaidDistanceValidation != false { + try visitor.visitSingularBoolField(value: _storage._remoteRaidDistanceValidation, fieldNumber: 21) } - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 22) + if _storage._popupTimeMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._popupTimeMs, fieldNumber: 22) } - if _storage._obBool4 != false { - try visitor.visitSingularBoolField(value: _storage._obBool4, fieldNumber: 23) + if _storage._failedFriendInviteInfoEnabled != false { + try visitor.visitSingularBoolField(value: _storage._failedFriendInviteInfoEnabled, fieldNumber: 23) } - if _storage._obInt322 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt322, fieldNumber: 24) + if _storage._minPlayersToBoot != 0 { + try visitor.visitSingularInt32Field(value: _storage._minPlayersToBoot, fieldNumber: 24) } - if _storage._obBool5 != false { - try visitor.visitSingularBoolField(value: _storage._obBool5, fieldNumber: 25) + if _storage._bootCutoffMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._bootCutoffMs, fieldNumber: 26) } - if _storage._obInt323 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt323, fieldNumber: 26) + if _storage._bootSoloMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._bootSoloMs, fieldNumber: 27) } } try unknownFields.traverse(visitor: &visitor) @@ -270954,17 +281059,17 @@ extension RaidClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message if _storage._unsupportedRaidLevelsForFriendInvites != rhs_storage._unsupportedRaidLevelsForFriendInvites {return false} if _storage._unsupportedRemoteRaidLevels != rhs_storage._unsupportedRemoteRaidLevels {return false} if _storage._isNearbyRaidNotificationDisabled != rhs_storage._isNearbyRaidNotificationDisabled {return false} - if _storage._obRepeatedString != rhs_storage._obRepeatedString {return false} - if _storage._obRaidClientSetting != rhs_storage._obRaidClientSetting {return false} - if _storage._obRaidClientSetting1 != rhs_storage._obRaidClientSetting1 {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obBool2 != rhs_storage._obBool2 {return false} - if _storage._obBool3 != rhs_storage._obBool3 {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obBool4 != rhs_storage._obBool4 {return false} - if _storage._obInt322 != rhs_storage._obInt322 {return false} - if _storage._obBool5 != rhs_storage._obBool5 {return false} - if _storage._obInt323 != rhs_storage._obInt323 {return false} + if _storage._remoteRaidIapPromptSkus != rhs_storage._remoteRaidIapPromptSkus {return false} + if _storage._raidLevelMusicOverrides != rhs_storage._raidLevelMusicOverrides {return false} + if _storage._raidFeatureFlags != rhs_storage._raidFeatureFlags {return false} + if _storage._bootRaidEnabled != rhs_storage._bootRaidEnabled {return false} + if _storage._friendRequestsEnabled != rhs_storage._friendRequestsEnabled {return false} + if _storage._remoteRaidDistanceValidation != rhs_storage._remoteRaidDistanceValidation {return false} + if _storage._popupTimeMs != rhs_storage._popupTimeMs {return false} + if _storage._failedFriendInviteInfoEnabled != rhs_storage._failedFriendInviteInfoEnabled {return false} + if _storage._minPlayersToBoot != rhs_storage._minPlayersToBoot {return false} + if _storage._bootCutoffMs != rhs_storage._bootCutoffMs {return false} + if _storage._bootSoloMs != rhs_storage._bootSoloMs {return false} return true } if !storagesAreEqual {return false} @@ -271034,7 +281139,6 @@ extension RaidEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple 5: .standard(proto: "throws_remaining"), 6: .standard(proto: "raid_level"), 7: .standard(proto: "fort_id"), - 8: .standard(proto: "is_exclusive"), 9: .standard(proto: "is_event_legendary"), 10: .standard(proto: "raid_ball"), ] @@ -271052,7 +281156,6 @@ extension RaidEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple case 5: try { try decoder.decodeSingularInt32Field(value: &self.throwsRemaining) }() case 6: try { try decoder.decodeSingularEnumField(value: &self.raidLevel) }() case 7: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.isExclusive) }() case 9: try { try decoder.decodeSingularBoolField(value: &self.isEventLegendary) }() case 10: try { try decoder.decodeSingularEnumField(value: &self.raidBall) }() default: break @@ -271086,9 +281189,6 @@ extension RaidEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple if !self.fortID.isEmpty { try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 7) } - if self.isExclusive != false { - try visitor.visitSingularBoolField(value: self.isExclusive, fieldNumber: 8) - } if self.isEventLegendary != false { try visitor.visitSingularBoolField(value: self.isEventLegendary, fieldNumber: 9) } @@ -271106,7 +281206,6 @@ extension RaidEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple if lhs.throwsRemaining != rhs.throwsRemaining {return false} if lhs.raidLevel != rhs.raidLevel {return false} if lhs.fortID != rhs.fortID {return false} - if lhs.isExclusive != rhs.isExclusive {return false} if lhs.isEventLegendary != rhs.isEventLegendary {return false} if lhs.raidBall != rhs.raidBall {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -271114,10 +281213,10 @@ extension RaidEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } -extension RaidEndDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RaidEndDataProto" +extension RaidEndData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidEndData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_raid_end_type"), + 1: .same(proto: "type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -271126,27 +281225,27 @@ extension RaidEndDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.obRaidEndType) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obRaidEndType != .noEnd { - try visitor.visitSingularEnumField(value: self.obRaidEndType, fieldNumber: 1) + if self.type != .noEnd { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RaidEndDataProto, rhs: RaidEndDataProto) -> Bool { - if lhs.obRaidEndType != rhs.obRaidEndType {return false} + public static func ==(lhs: RaidEndData, rhs: RaidEndData) -> Bool { + if lhs.type != rhs.type {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RaidEndDataProto.RaidEndType: SwiftProtobuf._ProtoNameProviding { +extension RaidEndData.TypeEnum: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "NO_END"), 1: .same(proto: "LEAVE_LOBBY"), @@ -271157,6 +281256,56 @@ extension RaidEndDataProto.RaidEndType: SwiftProtobuf._ProtoNameProviding { ] } +extension RaidFeatureFlags: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidFeatureFlags" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "use_cached_raid_boss_pokemon"), + 24: .standard(proto: "raid_experiment"), + 25: .standard(proto: "usable_items"), + 26: .standard(proto: "usable_trainer_abilities"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.useCachedRaidBossPokemon) }() + case 24: try { try decoder.decodeRepeatedEnumField(value: &self.raidExperiment) }() + case 25: try { try decoder.decodeRepeatedMessageField(value: &self.usableItems) }() + case 26: try { try decoder.decodeRepeatedEnumField(value: &self.usableTrainerAbilities) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.useCachedRaidBossPokemon != false { + try visitor.visitSingularBoolField(value: self.useCachedRaidBossPokemon, fieldNumber: 1) + } + if !self.raidExperiment.isEmpty { + try visitor.visitPackedEnumField(value: self.raidExperiment, fieldNumber: 24) + } + if !self.usableItems.isEmpty { + try visitor.visitRepeatedMessageField(value: self.usableItems, fieldNumber: 25) + } + if !self.usableTrainerAbilities.isEmpty { + try visitor.visitPackedEnumField(value: self.usableTrainerAbilities, fieldNumber: 26) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RaidFeatureFlags, rhs: RaidFeatureFlags) -> Bool { + if lhs.useCachedRaidBossPokemon != rhs.useCachedRaidBossPokemon {return false} + if lhs.raidExperiment != rhs.raidExperiment {return false} + if lhs.usableItems != rhs.usableItems {return false} + if lhs.usableTrainerAbilities != rhs.usableTrainerAbilities {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension RaidInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RaidInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -271167,7 +281316,6 @@ extension RaidInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa 5: .standard(proto: "raid_pokemon"), 6: .standard(proto: "raid_level"), 7: .same(proto: "complete"), - 8: .standard(proto: "is_exclusive"), 9: .standard(proto: "is_raid_hidden"), 10: .standard(proto: "is_scheduled_raid"), 11: .standard(proto: "is_free"), @@ -271189,7 +281337,6 @@ extension RaidInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa var _raidPokemon: PokemonProto? = nil var _raidLevel: RaidLevel = .unset var _complete: Bool = false - var _isExclusive: Bool = false var _isRaidHidden: Bool = false var _isScheduledRaid: Bool = false var _isFree: Bool = false @@ -271214,7 +281361,6 @@ extension RaidInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa _raidPokemon = source._raidPokemon _raidLevel = source._raidLevel _complete = source._complete - _isExclusive = source._isExclusive _isRaidHidden = source._isRaidHidden _isScheduledRaid = source._isScheduledRaid _isFree = source._isFree @@ -271251,7 +281397,6 @@ extension RaidInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa case 5: try { try decoder.decodeSingularMessageField(value: &_storage._raidPokemon) }() case 6: try { try decoder.decodeSingularEnumField(value: &_storage._raidLevel) }() case 7: try { try decoder.decodeSingularBoolField(value: &_storage._complete) }() - case 8: try { try decoder.decodeSingularBoolField(value: &_storage._isExclusive) }() case 9: try { try decoder.decodeSingularBoolField(value: &_storage._isRaidHidden) }() case 10: try { try decoder.decodeSingularBoolField(value: &_storage._isScheduledRaid) }() case 11: try { try decoder.decodeSingularBoolField(value: &_storage._isFree) }() @@ -271296,9 +281441,6 @@ extension RaidInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa if _storage._complete != false { try visitor.visitSingularBoolField(value: _storage._complete, fieldNumber: 7) } - if _storage._isExclusive != false { - try visitor.visitSingularBoolField(value: _storage._isExclusive, fieldNumber: 8) - } if _storage._isRaidHidden != false { try visitor.visitSingularBoolField(value: _storage._isRaidHidden, fieldNumber: 9) } @@ -271348,7 +281490,6 @@ extension RaidInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa if _storage._raidPokemon != rhs_storage._raidPokemon {return false} if _storage._raidLevel != rhs_storage._raidLevel {return false} if _storage._complete != rhs_storage._complete {return false} - if _storage._isExclusive != rhs_storage._isExclusive {return false} if _storage._isRaidHidden != rhs_storage._isRaidHidden {return false} if _storage._isScheduledRaid != rhs_storage._isScheduledRaid {return false} if _storage._isFree != rhs_storage._isFree {return false} @@ -271613,21 +281754,167 @@ extension RaidInviteFriendsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._ } } +extension RaidJoinInformationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidJoinInformationProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "lobby_creation_ms"), + 2: .standard(proto: "lobby_end_join_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.lobbyCreationMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.lobbyEndJoinMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.lobbyCreationMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyCreationMs, fieldNumber: 1) + } + if self.lobbyEndJoinMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyEndJoinMs, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RaidJoinInformationProto, rhs: RaidJoinInformationProto) -> Bool { + if lhs.lobbyCreationMs != rhs.lobbyCreationMs {return false} + if lhs.lobbyEndJoinMs != rhs.lobbyEndJoinMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension RaidLobbyAvailabilityInformationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidLobbyAvailabilityInformationProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "raid_lobby_unavailable"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.raidLobbyUnavailable) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.raidLobbyUnavailable != false { + try visitor.visitSingularBoolField(value: self.raidLobbyUnavailable, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RaidLobbyAvailabilityInformationProto, rhs: RaidLobbyAvailabilityInformationProto) -> Bool { + if lhs.raidLobbyUnavailable != rhs.raidLobbyUnavailable {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension RaidLobbyCounterData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidLobbyCounterData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 2: .standard(proto: "gym_id"), + 3: .standard(proto: "player_count"), + 4: .standard(proto: "lobby_join_end_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 2: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.playerCount) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinEndMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 2) + } + if self.playerCount != 0 { + try visitor.visitSingularInt32Field(value: self.playerCount, fieldNumber: 3) + } + if self.lobbyJoinEndMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyJoinEndMs, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RaidLobbyCounterData, rhs: RaidLobbyCounterData) -> Bool { + if lhs.gymID != rhs.gymID {return false} + if lhs.playerCount != rhs.playerCount {return false} + if lhs.lobbyJoinEndMs != rhs.lobbyJoinEndMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension RaidLobbyCounterRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidLobbyCounterRequest" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "gym_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RaidLobbyCounterRequest, rhs: RaidLobbyCounterRequest) -> Bool { + if lhs.gymID != rhs.gymID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension RaidLobbyCounterSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RaidLobbyCounterSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool_1"), - 2: .standard(proto: "ob_int32_1"), - 3: .standard(proto: "ob_bool_2"), - 4: .standard(proto: "ob_bool_3"), - 5: .standard(proto: "ob_bool_4"), - 6: .standard(proto: "ob_bool_5"), - 7: .standard(proto: "ob_float"), - 8: .standard(proto: "ob_int32_2"), - 9: .standard(proto: "ob_int32_3"), - 10: .standard(proto: "ob_string"), - 11: .standard(proto: "ob_float_1"), - 12: .standard(proto: "ob_int32_4"), + 1: .standard(proto: "polling_enabled"), + 2: .standard(proto: "polling_interval_ms"), + 3: .standard(proto: "subscribe_enabled"), + 4: .standard(proto: "publish_enabled"), + 5: .standard(proto: "map_display_enabled"), + 6: .standard(proto: "nearby_display_enabled"), + 7: .standard(proto: "show_counter_radius_meters"), + 8: .standard(proto: "subscribe_s2_level"), + 9: .standard(proto: "max_count_to_update"), + 10: .standard(proto: "subscription_namespace"), + 11: .standard(proto: "polling_radius_meters"), + 12: .standard(proto: "publish_cutoff_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -271636,87 +281923,90 @@ extension RaidLobbyCounterSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obBool3) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obBool4) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.obBool5) }() - case 7: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 11: try { try decoder.decodeSingularFloatField(value: &self.obFloat1) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &self.obInt324) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.pollingEnabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.pollingIntervalMs) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.subscribeEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.publishEnabled) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.mapDisplayEnabled) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.nearbyDisplayEnabled) }() + case 7: try { try decoder.decodeSingularFloatField(value: &self.showCounterRadiusMeters) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.subscribeS2Level) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.maxCountToUpdate) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.subscriptionNamespace) }() + case 11: try { try decoder.decodeSingularFloatField(value: &self.pollingRadiusMeters) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.publishCutoffTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 1) + if self.pollingEnabled != false { + try visitor.visitSingularBoolField(value: self.pollingEnabled, fieldNumber: 1) } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 2) + if self.pollingIntervalMs != 0 { + try visitor.visitSingularInt32Field(value: self.pollingIntervalMs, fieldNumber: 2) } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 3) + if self.subscribeEnabled != false { + try visitor.visitSingularBoolField(value: self.subscribeEnabled, fieldNumber: 3) } - if self.obBool3 != false { - try visitor.visitSingularBoolField(value: self.obBool3, fieldNumber: 4) + if self.publishEnabled != false { + try visitor.visitSingularBoolField(value: self.publishEnabled, fieldNumber: 4) } - if self.obBool4 != false { - try visitor.visitSingularBoolField(value: self.obBool4, fieldNumber: 5) + if self.mapDisplayEnabled != false { + try visitor.visitSingularBoolField(value: self.mapDisplayEnabled, fieldNumber: 5) } - if self.obBool5 != false { - try visitor.visitSingularBoolField(value: self.obBool5, fieldNumber: 6) + if self.nearbyDisplayEnabled != false { + try visitor.visitSingularBoolField(value: self.nearbyDisplayEnabled, fieldNumber: 6) } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 7) + if self.showCounterRadiusMeters != 0 { + try visitor.visitSingularFloatField(value: self.showCounterRadiusMeters, fieldNumber: 7) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 8) + if self.subscribeS2Level != 0 { + try visitor.visitSingularInt32Field(value: self.subscribeS2Level, fieldNumber: 8) } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 9) + if self.maxCountToUpdate != 0 { + try visitor.visitSingularInt32Field(value: self.maxCountToUpdate, fieldNumber: 9) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 10) + if !self.subscriptionNamespace.isEmpty { + try visitor.visitSingularStringField(value: self.subscriptionNamespace, fieldNumber: 10) } - if self.obFloat1 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat1, fieldNumber: 11) + if self.pollingRadiusMeters != 0 { + try visitor.visitSingularFloatField(value: self.pollingRadiusMeters, fieldNumber: 11) } - if self.obInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt324, fieldNumber: 12) + if self.publishCutoffTimeMs != 0 { + try visitor.visitSingularInt32Field(value: self.publishCutoffTimeMs, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: RaidLobbyCounterSettingsProto, rhs: RaidLobbyCounterSettingsProto) -> Bool { - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.obBool3 != rhs.obBool3 {return false} - if lhs.obBool4 != rhs.obBool4 {return false} - if lhs.obBool5 != rhs.obBool5 {return false} - if lhs.obFloat != rhs.obFloat {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obString != rhs.obString {return false} - if lhs.obFloat1 != rhs.obFloat1 {return false} - if lhs.obInt324 != rhs.obInt324 {return false} + if lhs.pollingEnabled != rhs.pollingEnabled {return false} + if lhs.pollingIntervalMs != rhs.pollingIntervalMs {return false} + if lhs.subscribeEnabled != rhs.subscribeEnabled {return false} + if lhs.publishEnabled != rhs.publishEnabled {return false} + if lhs.mapDisplayEnabled != rhs.mapDisplayEnabled {return false} + if lhs.nearbyDisplayEnabled != rhs.nearbyDisplayEnabled {return false} + if lhs.showCounterRadiusMeters != rhs.showCounterRadiusMeters {return false} + if lhs.subscribeS2Level != rhs.subscribeS2Level {return false} + if lhs.maxCountToUpdate != rhs.maxCountToUpdate {return false} + if lhs.subscriptionNamespace != rhs.subscriptionNamespace {return false} + if lhs.pollingRadiusMeters != rhs.pollingRadiusMeters {return false} + if lhs.publishCutoffTimeMs != rhs.publishCutoffTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RaidLobbyPlayerCountProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RaidLobbyPlayerCountProto" +extension RaidLogHeader: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidLogHeader" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "gym_id"), - 3: .standard(proto: "player_count"), - 4: .standard(proto: "lobby_join_until_ms"), + 1: .standard(proto: "gym_id"), + 2: .standard(proto: "raid_seed"), + 3: .standard(proto: "gym_lat_degrees"), + 4: .standard(proto: "gym_lng_degrees"), + 5: .standard(proto: "time_root_ms"), + 6: .standard(proto: "raid_battle_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -271725,9 +282015,12 @@ extension RaidLobbyPlayerCountProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeSingularStringField(value: &self.gymID) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.playerCount) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinUntilMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.gymLatDegrees) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.gymLngDegrees) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.timeRootMs) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.raidBattleID) }() default: break } } @@ -271735,32 +282028,43 @@ extension RaidLobbyPlayerCountProto: SwiftProtobuf.Message, SwiftProtobuf._Messa public func traverse(visitor: inout V) throws { if !self.gymID.isEmpty { - try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 2) + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 1) } - if self.playerCount != 0 { - try visitor.visitSingularInt32Field(value: self.playerCount, fieldNumber: 3) + if self.raidSeed != 0 { + try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 2) } - if self.lobbyJoinUntilMs != 0 { - try visitor.visitSingularInt64Field(value: self.lobbyJoinUntilMs, fieldNumber: 4) + if self.gymLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.gymLatDegrees, fieldNumber: 3) + } + if self.gymLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.gymLngDegrees, fieldNumber: 4) + } + if self.timeRootMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeRootMs, fieldNumber: 5) + } + if !self.raidBattleID.isEmpty { + try visitor.visitSingularStringField(value: self.raidBattleID, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RaidLobbyPlayerCountProto, rhs: RaidLobbyPlayerCountProto) -> Bool { + public static func ==(lhs: RaidLogHeader, rhs: RaidLogHeader) -> Bool { if lhs.gymID != rhs.gymID {return false} - if lhs.playerCount != rhs.playerCount {return false} - if lhs.lobbyJoinUntilMs != rhs.lobbyJoinUntilMs {return false} + if lhs.raidSeed != rhs.raidSeed {return false} + if lhs.gymLatDegrees != rhs.gymLatDegrees {return false} + if lhs.gymLngDegrees != rhs.gymLngDegrees {return false} + if lhs.timeRootMs != rhs.timeRootMs {return false} + if lhs.raidBattleID != rhs.raidBattleID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RaidLoggingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RaidLoggingSettingsProto" +extension RaidMusicOverrideConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidMusicOverrideConfig" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "enabled_pokemon"), - 3: .standard(proto: "enabled_logging"), + 1: .standard(proto: "raid_level"), + 2: .standard(proto: "battle_music_key"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -271769,31 +282073,26 @@ extension RaidLoggingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.enabledPokemon) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.enabledLogging) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.raidLevel) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.battleMusicKey) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.enabledPokemon != false { - try visitor.visitSingularBoolField(value: self.enabledPokemon, fieldNumber: 2) + if self.raidLevel != .unset { + try visitor.visitSingularEnumField(value: self.raidLevel, fieldNumber: 1) } - if self.enabledLogging != false { - try visitor.visitSingularBoolField(value: self.enabledLogging, fieldNumber: 3) + if !self.battleMusicKey.isEmpty { + try visitor.visitSingularStringField(value: self.battleMusicKey, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RaidLoggingSettingsProto, rhs: RaidLoggingSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.enabledPokemon != rhs.enabledPokemon {return false} - if lhs.enabledLogging != rhs.enabledLogging {return false} + public static func ==(lhs: RaidMusicOverrideConfig, rhs: RaidMusicOverrideConfig) -> Bool { + if lhs.raidLevel != rhs.raidLevel {return false} + if lhs.battleMusicKey != rhs.battleMusicKey {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -271804,10 +282103,13 @@ extension RaidParticipantProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 5: .standard(proto: "join_information"), 6: .standard(proto: "lobby_availability"), - 1: .standard(proto: "ob_string"), - 2: .standard(proto: "ob_int64"), - 3: .standard(proto: "ob_string_1"), - 4: .standard(proto: "ob_list_int32"), + 1: .standard(proto: "player_id"), + 2: .standard(proto: "raid_seed"), + 3: .standard(proto: "gym_id"), + 4: .standard(proto: "lobby_id"), + 7: .standard(proto: "raid_info"), + 8: .same(proto: "latitude"), + 9: .same(proto: "longitude"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -271816,36 +282118,39 @@ extension RaidParticipantProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.obListInt32) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.gymID) }() + case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.lobbyID) }() case 5: try { - var v: JoinInformationProto? + var v: RaidJoinInformationProto? var hadOneofValue = false - if let current = self.data { + if let current = self.activityInformation { hadOneofValue = true if case .joinInformation(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.data = .joinInformation(v) + self.activityInformation = .joinInformation(v) } }() case 6: try { - var v: LobbyAvailabilityProto? + var v: RaidLobbyAvailabilityInformationProto? var hadOneofValue = false - if let current = self.data { + if let current = self.activityInformation { hadOneofValue = true if case .lobbyAvailability(let m) = current {v = m} } try decoder.decodeSingularMessageField(value: &v) if let v = v { if hadOneofValue {try decoder.handleConflictingOneOf()} - self.data = .lobbyAvailability(v) + self.activityInformation = .lobbyAvailability(v) } }() + case 7: try { try decoder.decodeSingularMessageField(value: &self._raidInfo) }() + case 8: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 9: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() default: break } } @@ -271856,38 +282161,50 @@ extension RaidParticipantProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + if !self.playerID.isEmpty { + try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 2) + if self.raidSeed != 0 { + try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 2) } - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 3) + if !self.gymID.isEmpty { + try visitor.visitSingularStringField(value: self.gymID, fieldNumber: 3) } - if !self.obListInt32.isEmpty { - try visitor.visitPackedInt32Field(value: self.obListInt32, fieldNumber: 4) + if !self.lobbyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.lobbyID, fieldNumber: 4) } - switch self.data { + switch self.activityInformation { case .joinInformation?: try { - guard case .joinInformation(let v)? = self.data else { preconditionFailure() } + guard case .joinInformation(let v)? = self.activityInformation else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 5) }() case .lobbyAvailability?: try { - guard case .lobbyAvailability(let v)? = self.data else { preconditionFailure() } + guard case .lobbyAvailability(let v)? = self.activityInformation else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 6) }() case nil: break } + try { if let v = self._raidInfo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) + } }() + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 8) + } + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 9) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: RaidParticipantProto, rhs: RaidParticipantProto) -> Bool { - if lhs.data != rhs.data {return false} - if lhs.obString != rhs.obString {return false} - if lhs.obInt64 != rhs.obInt64 {return false} - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obListInt32 != rhs.obListInt32 {return false} + if lhs.activityInformation != rhs.activityInformation {return false} + if lhs.playerID != rhs.playerID {return false} + if lhs.raidSeed != rhs.raidSeed {return false} + if lhs.gymID != rhs.gymID {return false} + if lhs.lobbyID != rhs.lobbyID {return false} + if lhs._raidInfo != rhs._raidInfo {return false} + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -272018,6 +282335,50 @@ extension RaidPlayerStatProto.StatType: SwiftProtobuf._ProtoNameProviding { ] } +extension RaidPlayerStatsGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RaidPlayerStatsGlobalSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + 2: .standard(proto: "enabled_pokemon"), + 3: .standard(proto: "enabled_avatar_spin"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enabledPokemon) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enabledAvatarSpin) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.enabledPokemon != false { + try visitor.visitSingularBoolField(value: self.enabledPokemon, fieldNumber: 2) + } + if self.enabledAvatarSpin != false { + try visitor.visitSingularBoolField(value: self.enabledAvatarSpin, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RaidPlayerStatsGlobalSettingsProto, rhs: RaidPlayerStatsGlobalSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.enabledPokemon != rhs.enabledPokemon {return false} + if lhs.enabledAvatarSpin != rhs.enabledAvatarSpin {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension RaidPlayerStatsPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RaidPlayerStatsPokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -272198,7 +282559,6 @@ extension RaidRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl public static let protoMessageName: String = _protobuf_package + ".RaidRewardsLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "is_exclusive"), 3: .same(proto: "items"), 4: .standard(proto: "default_rewards"), 5: .same(proto: "stardust"), @@ -272217,7 +282577,6 @@ extension RaidRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isExclusive) }() case 3: try { try decoder.decodeRepeatedMessageField(value: &self.items) }() case 4: try { try decoder.decodeRepeatedMessageField(value: &self.defaultRewards) }() case 5: try { try decoder.decodeSingularInt32Field(value: &self.stardust) }() @@ -272240,9 +282599,6 @@ extension RaidRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.isExclusive != false { - try visitor.visitSingularBoolField(value: self.isExclusive, fieldNumber: 2) - } if !self.items.isEmpty { try visitor.visitRepeatedMessageField(value: self.items, fieldNumber: 3) } @@ -272275,7 +282631,6 @@ extension RaidRewardsLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl public static func ==(lhs: RaidRewardsLogEntry, rhs: RaidRewardsLogEntry) -> Bool { if lhs.result != rhs.result {return false} - if lhs.isExclusive != rhs.isExclusive {return false} if lhs.items != rhs.items {return false} if lhs.defaultRewards != rhs.defaultRewards {return false} if lhs.stardust != rhs.stardust {return false} @@ -272390,7 +282745,6 @@ extension RaidTicketProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "ticket_id"), 2: .same(proto: "item"), - 4: .standard(proto: "exclusive_info"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -272401,33 +282755,24 @@ extension RaidTicketProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.ticketID) }() case 2: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._exclusiveInfo) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 if !self.ticketID.isEmpty { try visitor.visitSingularStringField(value: self.ticketID, fieldNumber: 1) } if self.item != .unknown { try visitor.visitSingularEnumField(value: self.item, fieldNumber: 2) } - try { if let v = self._exclusiveInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: RaidTicketProto, rhs: RaidTicketProto) -> Bool { if lhs.ticketID != rhs.ticketID {return false} if lhs.item != rhs.item {return false} - if lhs._exclusiveInfo != rhs._exclusiveInfo {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -272579,10 +282924,10 @@ extension RangeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio } } -extension Rasterization: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Rasterization" +extension RateRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RateRouteOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "interval"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -272591,32 +282936,42 @@ extension Rasterization: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.interval) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.interval.isEmpty { - try visitor.visitRepeatedMessageField(value: self.interval, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Rasterization, rhs: Rasterization) -> Bool { - if lhs.interval != rhs.interval {return false} + public static func ==(lhs: RateRouteOutProto, rhs: RateRouteOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Rasterization.Interval: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Rasterization.protoMessageName + ".Interval" +extension RateRouteOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_ROUTE_NOT_FOUND"), + 3: .same(proto: "ERROR_RATE_LIMITED"), + 4: .same(proto: "ERROR_ALREADY_RATED"), + 5: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension RateRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RateRouteProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "y"), - 2: .standard(proto: "left_x"), - 3: .standard(proto: "right_x"), + 1: .standard(proto: "star_rating"), + 4: .standard(proto: "route_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -272625,31 +282980,26 @@ extension Rasterization.Interval: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.y) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.leftX) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.rightX) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.starRating) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.routeID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.y != 0 { - try visitor.visitSingularInt32Field(value: self.y, fieldNumber: 1) - } - if self.leftX != 0 { - try visitor.visitSingularInt32Field(value: self.leftX, fieldNumber: 2) + if self.starRating != 0 { + try visitor.visitSingularInt32Field(value: self.starRating, fieldNumber: 1) } - if self.rightX != 0 { - try visitor.visitSingularInt32Field(value: self.rightX, fieldNumber: 3) + if !self.routeID.isEmpty { + try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Rasterization.Interval, rhs: Rasterization.Interval) -> Bool { - if lhs.y != rhs.y {return false} - if lhs.leftX != rhs.leftX {return false} - if lhs.rightX != rhs.rightX {return false} + public static func ==(lhs: RateRouteProto, rhs: RateRouteProto) -> Bool { + if lhs.starRating != rhs.starRating {return false} + if lhs.routeID != rhs.routeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -272711,11 +283061,10 @@ extension ReadPointOfInterestDescriptionTelemetry: SwiftProtobuf.Message, SwiftP } } -extension ReassignPlayerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ReassignPlayerOutProto" +extension ReadQuestDialogOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ReadQuestDialogOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "reassigned_instance"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -272724,77 +283073,39 @@ extension ReassignPlayerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.reassignedInstance) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - if self.reassignedInstance != 0 { - try visitor.visitSingularInt32Field(value: self.reassignedInstance, fieldNumber: 2) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReassignPlayerOutProto, rhs: ReassignPlayerOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.reassignedInstance != rhs.reassignedInstance {return false} + public static func ==(lhs: ReadQuestDialogOutProto, rhs: ReadQuestDialogOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReassignPlayerOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension ReadQuestDialogOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_QUEST_NOT_FOUND"), + 3: .same(proto: "ERROR_NO_DIALOG"), ] } -extension ReassignPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ReassignPlayerProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "current_instance"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.currentInstance) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.currentInstance != 0 { - try visitor.visitSingularInt32Field(value: self.currentInstance, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ReassignPlayerProto, rhs: ReassignPlayerProto) -> Bool { - if lhs.currentInstance != rhs.currentInstance {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RecommendedSearchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RecommendedSearchProto" +extension ReadQuestDialogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ReadQuestDialogProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "search_label"), - 2: .standard(proto: "prepended_search_string"), - 3: .standard(proto: "search_key"), - 4: .standard(proto: "appended_search_string"), + 1: .standard(proto: "quest_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -272803,88 +283114,31 @@ extension RecommendedSearchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.searchLabel) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.prependedSearchString) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.searchKey) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.appendedSearchString) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.questID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.searchLabel.isEmpty { - try visitor.visitSingularStringField(value: self.searchLabel, fieldNumber: 1) - } - if !self.prependedSearchString.isEmpty { - try visitor.visitSingularStringField(value: self.prependedSearchString, fieldNumber: 2) - } - if !self.searchKey.isEmpty { - try visitor.visitSingularStringField(value: self.searchKey, fieldNumber: 3) - } - if !self.appendedSearchString.isEmpty { - try visitor.visitSingularStringField(value: self.appendedSearchString, fieldNumber: 4) + if !self.questID.isEmpty { + try visitor.visitSingularStringField(value: self.questID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RecommendedSearchProto, rhs: RecommendedSearchProto) -> Bool { - if lhs.searchLabel != rhs.searchLabel {return false} - if lhs.prependedSearchString != rhs.prependedSearchString {return false} - if lhs.searchKey != rhs.searchKey {return false} - if lhs.appendedSearchString != rhs.appendedSearchString {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RectProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RectProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "lo"), - 2: .same(proto: "hi"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._lo) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._hi) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._lo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._hi { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RectProto, rhs: RectProto) -> Bool { - if lhs._lo != rhs._lo {return false} - if lhs._hi != rhs._hi {return false} + public static func ==(lhs: ReadQuestDialogProto, rhs: ReadQuestDialogProto) -> Bool { + if lhs.questID != rhs.questID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RecycleItemOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RecycleItemOutProto" +extension ReassignPlayerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ReassignPlayerOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "new_count"), + 2: .standard(proto: "reassigned_instance"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -272894,7 +283148,7 @@ extension RecycleItemOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.newCount) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.reassignedInstance) }() default: break } } @@ -272904,34 +283158,31 @@ extension RecycleItemOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.newCount != 0 { - try visitor.visitSingularInt32Field(value: self.newCount, fieldNumber: 2) + if self.reassignedInstance != 0 { + try visitor.visitSingularInt32Field(value: self.reassignedInstance, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RecycleItemOutProto, rhs: RecycleItemOutProto) -> Bool { + public static func ==(lhs: ReassignPlayerOutProto, rhs: ReassignPlayerOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.newCount != rhs.newCount {return false} + if lhs.reassignedInstance != rhs.reassignedInstance {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RecycleItemOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension ReassignPlayerOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_NOT_ENOUGH_COPIES"), - 3: .same(proto: "ERROR_CANNOT_RECYCLE_INCUBATORS"), ] } -extension RecycleItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RecycleItemProto" +extension ReassignPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ReassignPlayerProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "item"), - 2: .same(proto: "count"), + 1: .standard(proto: "current_instance"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -272940,36 +283191,31 @@ extension RecycleItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.currentInstance) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.item != .unknown { - try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) - } - if self.count != 0 { - try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) + if self.currentInstance != 0 { + try visitor.visitSingularInt32Field(value: self.currentInstance, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RecycleItemProto, rhs: RecycleItemProto) -> Bool { - if lhs.item != rhs.item {return false} - if lhs.count != rhs.count {return false} + public static func ==(lhs: ReassignPlayerProto, rhs: ReassignPlayerProto) -> Bool { + if lhs.currentInstance != rhs.currentInstance {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RedeemAppleReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemAppleReceiptOutProto" +extension RecallRouteDraftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RecallRouteDraftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "provisioned_transaction_tokens"), + 1: .same(proto: "result"), + 2: .standard(proto: "recalled_route"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -272978,46 +283224,52 @@ extension RedeemAppleReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.provisionedTransactionTokens) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._recalledRoute) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.provisionedTransactionTokens.isEmpty { - try visitor.visitRepeatedStringField(value: self.provisionedTransactionTokens, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._recalledRoute { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RedeemAppleReceiptOutProto, rhs: RedeemAppleReceiptOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.provisionedTransactionTokens != rhs.provisionedTransactionTokens {return false} + public static func ==(lhs: RecallRouteDraftOutProto, rhs: RecallRouteDraftOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._recalledRoute != rhs._recalledRoute {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RedeemAppleReceiptOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension RecallRouteDraftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_INVALID_ROUTE"), + 4: .same(proto: "ERROR_MODERATION_FAILURE"), + 5: .same(proto: "ERROR_ALREADY_RECALLED"), + 6: .same(proto: "ERROR_TOO_MANY_RECALLS"), ] } -extension RedeemAppleReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemAppleReceiptProto" +extension RecallRouteDraftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RecallRouteDraftProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "receipt"), - 2: .standard(proto: "purchase_currency"), - 3: .standard(proto: "price_paid_e6"), - 4: .standard(proto: "price_paid_e6_long"), + 1: .standard(proto: "route_id"), + 2: .standard(proto: "delete_route_draft"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -273026,45 +283278,38 @@ extension RedeemAppleReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.receipt) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.purchaseCurrency) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.pricePaidE6) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.pricePaidE6Long) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.routeID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.deleteRouteDraft) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.receipt.isEmpty { - try visitor.visitSingularStringField(value: self.receipt, fieldNumber: 1) - } - if !self.purchaseCurrency.isEmpty { - try visitor.visitSingularStringField(value: self.purchaseCurrency, fieldNumber: 2) - } - if self.pricePaidE6 != 0 { - try visitor.visitSingularInt32Field(value: self.pricePaidE6, fieldNumber: 3) + if !self.routeID.isEmpty { + try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 1) } - if self.pricePaidE6Long != 0 { - try visitor.visitSingularInt64Field(value: self.pricePaidE6Long, fieldNumber: 4) + if self.deleteRouteDraft != false { + try visitor.visitSingularBoolField(value: self.deleteRouteDraft, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RedeemAppleReceiptProto, rhs: RedeemAppleReceiptProto) -> Bool { - if lhs.receipt != rhs.receipt {return false} - if lhs.purchaseCurrency != rhs.purchaseCurrency {return false} - if lhs.pricePaidE6 != rhs.pricePaidE6 {return false} - if lhs.pricePaidE6Long != rhs.pricePaidE6Long {return false} + public static func ==(lhs: RecallRouteDraftProto, rhs: RecallRouteDraftProto) -> Bool { + if lhs.routeID != rhs.routeID {return false} + if lhs.deleteRouteDraft != rhs.deleteRouteDraft {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RedeemDesktopReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemDesktopReceiptOutProto" +extension RecommendedSearchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RecommendedSearchProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "search_label"), + 2: .standard(proto: "prepended_search_string"), + 3: .standard(proto: "search_key"), + 4: .standard(proto: "appended_search_string"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -273073,38 +283318,46 @@ extension RedeemDesktopReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.searchLabel) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.prependedSearchString) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.searchKey) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.appendedSearchString) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.searchLabel.isEmpty { + try visitor.visitSingularStringField(value: self.searchLabel, fieldNumber: 1) + } + if !self.prependedSearchString.isEmpty { + try visitor.visitSingularStringField(value: self.prependedSearchString, fieldNumber: 2) + } + if !self.searchKey.isEmpty { + try visitor.visitSingularStringField(value: self.searchKey, fieldNumber: 3) + } + if !self.appendedSearchString.isEmpty { + try visitor.visitSingularStringField(value: self.appendedSearchString, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RedeemDesktopReceiptOutProto, rhs: RedeemDesktopReceiptOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: RecommendedSearchProto, rhs: RecommendedSearchProto) -> Bool { + if lhs.searchLabel != rhs.searchLabel {return false} + if lhs.prependedSearchString != rhs.prependedSearchString {return false} + if lhs.searchKey != rhs.searchKey {return false} + if lhs.appendedSearchString != rhs.appendedSearchString {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RedeemDesktopReceiptOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - ] -} - -extension RedeemDesktopReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemDesktopReceiptProto" +extension RectProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RectProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sku_id"), + 1: .same(proto: "lo"), + 2: .same(proto: "hi"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -273113,31 +283366,40 @@ extension RedeemDesktopReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.skuID) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._lo) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._hi) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.skuID.isEmpty { - try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 1) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._lo { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._hi { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RedeemDesktopReceiptProto, rhs: RedeemDesktopReceiptProto) -> Bool { - if lhs.skuID != rhs.skuID {return false} + public static func ==(lhs: RectProto, rhs: RectProto) -> Bool { + if lhs._lo != rhs._lo {return false} + if lhs._hi != rhs._hi {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RedeemGoogleReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemGoogleReceiptOutProto" +extension RecycleItemOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RecycleItemOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "transaction_token"), + 1: .same(proto: "result"), + 2: .standard(proto: "new_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -273146,48 +283408,45 @@ extension RedeemGoogleReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.transactionToken) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.newCount) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.transactionToken.isEmpty { - try visitor.visitSingularStringField(value: self.transactionToken, fieldNumber: 2) + if self.newCount != 0 { + try visitor.visitSingularInt32Field(value: self.newCount, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RedeemGoogleReceiptOutProto, rhs: RedeemGoogleReceiptOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.transactionToken != rhs.transactionToken {return false} + public static func ==(lhs: RecycleItemOutProto, rhs: RecycleItemOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.newCount != rhs.newCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RedeemGoogleReceiptOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension RecycleItemOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), + 2: .same(proto: "ERROR_NOT_ENOUGH_COPIES"), + 3: .same(proto: "ERROR_CANNOT_RECYCLE_INCUBATORS"), ] } -extension RedeemGoogleReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemGoogleReceiptProto" +extension RecycleItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RecycleItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "receipt"), - 2: .standard(proto: "receipt_signature"), - 3: .standard(proto: "purchase_currency"), - 4: .standard(proto: "price_paid_e6"), - 5: .standard(proto: "price_paid_e6_long"), - 6: .standard(proto: "country_code"), + 1: .same(proto: "item"), + 2: .same(proto: "count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -273196,46 +283455,26 @@ extension RedeemGoogleReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.receipt) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.receiptSignature) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.purchaseCurrency) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.pricePaidE6) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.pricePaidE6Long) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.receipt.isEmpty { - try visitor.visitSingularStringField(value: self.receipt, fieldNumber: 1) - } - if !self.receiptSignature.isEmpty { - try visitor.visitSingularStringField(value: self.receiptSignature, fieldNumber: 2) - } - if !self.purchaseCurrency.isEmpty { - try visitor.visitSingularStringField(value: self.purchaseCurrency, fieldNumber: 3) - } - if self.pricePaidE6 != 0 { - try visitor.visitSingularInt32Field(value: self.pricePaidE6, fieldNumber: 4) - } - if self.pricePaidE6Long != 0 { - try visitor.visitSingularInt64Field(value: self.pricePaidE6Long, fieldNumber: 5) + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) } - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 6) + if self.count != 0 { + try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RedeemGoogleReceiptProto, rhs: RedeemGoogleReceiptProto) -> Bool { - if lhs.receipt != rhs.receipt {return false} - if lhs.receiptSignature != rhs.receiptSignature {return false} - if lhs.purchaseCurrency != rhs.purchaseCurrency {return false} - if lhs.pricePaidE6 != rhs.pricePaidE6 {return false} - if lhs.pricePaidE6Long != rhs.pricePaidE6Long {return false} - if lhs.countryCode != rhs.countryCode {return false} + public static func ==(lhs: RecycleItemProto, rhs: RecycleItemProto) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.count != rhs.count {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -273385,6 +283624,7 @@ extension RedeemPasscodeRewardProto: SwiftProtobuf.Message, SwiftProtobuf._Messa 8: .same(proto: "badges"), 9: .standard(proto: "redeemed_stickers"), 10: .standard(proto: "quest_ids"), + 11: .standard(proto: "neutral_avatar_item_ids"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -273403,6 +283643,7 @@ extension RedeemPasscodeRewardProto: SwiftProtobuf.Message, SwiftProtobuf._Messa case 8: try { try decoder.decodeRepeatedEnumField(value: &self.badges) }() case 9: try { try decoder.decodeRepeatedMessageField(value: &self.redeemedStickers) }() case 10: try { try decoder.decodeRepeatedStringField(value: &self.questIds) }() + case 11: try { try decoder.decodeRepeatedStringField(value: &self.neutralAvatarItemIds) }() default: break } } @@ -273439,6 +283680,9 @@ extension RedeemPasscodeRewardProto: SwiftProtobuf.Message, SwiftProtobuf._Messa if !self.questIds.isEmpty { try visitor.visitRepeatedStringField(value: self.questIds, fieldNumber: 10) } + if !self.neutralAvatarItemIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.neutralAvatarItemIds, fieldNumber: 11) + } try unknownFields.traverse(visitor: &visitor) } @@ -273453,102 +283697,7 @@ extension RedeemPasscodeRewardProto: SwiftProtobuf.Message, SwiftProtobuf._Messa if lhs.badges != rhs.badges {return false} if lhs.redeemedStickers != rhs.redeemedStickers {return false} if lhs.questIds != rhs.questIds {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RedeemSamsungReceiptOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemSamsungReceiptOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "purchase_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.purchaseID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.purchaseID.isEmpty { - try visitor.visitSingularStringField(value: self.purchaseID, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RedeemSamsungReceiptOutProto, rhs: RedeemSamsungReceiptOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.purchaseID != rhs.purchaseID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RedeemSamsungReceiptOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - ] -} - -extension RedeemSamsungReceiptProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemSamsungReceiptProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "purchase_data"), - 2: .standard(proto: "purchase_id"), - 3: .standard(proto: "purchase_currency"), - 4: .standard(proto: "price_paid_e6_long"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.purchaseData) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.purchaseID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.purchaseCurrency) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.pricePaidE6Long) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.purchaseData.isEmpty { - try visitor.visitSingularStringField(value: self.purchaseData, fieldNumber: 1) - } - if !self.purchaseID.isEmpty { - try visitor.visitSingularStringField(value: self.purchaseID, fieldNumber: 2) - } - if !self.purchaseCurrency.isEmpty { - try visitor.visitSingularStringField(value: self.purchaseCurrency, fieldNumber: 3) - } - if self.pricePaidE6Long != 0 { - try visitor.visitSingularInt64Field(value: self.pricePaidE6Long, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RedeemSamsungReceiptProto, rhs: RedeemSamsungReceiptProto) -> Bool { - if lhs.purchaseData != rhs.purchaseData {return false} - if lhs.purchaseID != rhs.purchaseID {return false} - if lhs.purchaseCurrency != rhs.purchaseCurrency {return false} - if lhs.pricePaidE6Long != rhs.pricePaidE6Long {return false} + if lhs.neutralAvatarItemIds != rhs.neutralAvatarItemIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -273648,156 +283797,6 @@ extension RedeemTicketGiftForFriendProto: SwiftProtobuf.Message, SwiftProtobuf._ } } -extension RedeemXsollaReceiptRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemXsollaReceiptRequestProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "nia_account_id"), - 2: .standard(proto: "receipt_id"), - 3: .standard(proto: "receipt_content"), - 4: .same(proto: "country"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.receiptID) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.receiptContent) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.country) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 1) - } - if !self.receiptID.isEmpty { - try visitor.visitSingularStringField(value: self.receiptID, fieldNumber: 2) - } - if !self.receiptContent.isEmpty { - try visitor.visitRepeatedMessageField(value: self.receiptContent, fieldNumber: 3) - } - if !self.country.isEmpty { - try visitor.visitSingularStringField(value: self.country, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RedeemXsollaReceiptRequestProto, rhs: RedeemXsollaReceiptRequestProto) -> Bool { - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs.receiptID != rhs.receiptID {return false} - if lhs.receiptContent != rhs.receiptContent {return false} - if lhs.country != rhs.country {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RedeemXsollaReceiptRequestProto.ReceiptContent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = RedeemXsollaReceiptRequestProto.protoMessageName + ".ReceiptContent" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sku_id"), - 2: .same(proto: "quantity"), - 3: .standard(proto: "store_price"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.skuID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.quantity) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._storePrice) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.skuID.isEmpty { - try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 1) - } - if self.quantity != 0 { - try visitor.visitSingularInt32Field(value: self.quantity, fieldNumber: 2) - } - try { if let v = self._storePrice { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RedeemXsollaReceiptRequestProto.ReceiptContent, rhs: RedeemXsollaReceiptRequestProto.ReceiptContent) -> Bool { - if lhs.skuID != rhs.skuID {return false} - if lhs.quantity != rhs.quantity {return false} - if lhs._storePrice != rhs._storePrice {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RedeemXsollaReceiptResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RedeemXsollaReceiptResponseProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "items"), - 3: .same(proto: "currency"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.items) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.currency) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.items.isEmpty { - try visitor.visitRepeatedMessageField(value: self.items, fieldNumber: 2) - } - if !self.currency.isEmpty { - try visitor.visitRepeatedMessageField(value: self.currency, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RedeemXsollaReceiptResponseProto, rhs: RedeemXsollaReceiptResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.items != rhs.items {return false} - if lhs.currency != rhs.currency {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RedeemXsollaReceiptResponseProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - ] -} - extension RedeemedAvatarItemProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RedeemedAvatarItemProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -273912,172 +283911,16 @@ extension RedeemedStickerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } } -extension ReferContactListFriendRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ReferContactListFriendRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contact_method"), - 2: .standard(proto: "contact_info"), - 3: .standard(proto: "contact_id"), - 4: .standard(proto: "receiver_name"), - 5: .standard(proto: "app_store_link"), - 6: .same(proto: "referral"), - 7: .standard(proto: "country_code"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.contactMethod) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.contactInfo) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.contactID) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.receiverName) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.appStoreLink) }() - case 6: try { try decoder.decodeSingularMessageField(value: &self._referral) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.contactMethod != .unset { - try visitor.visitSingularEnumField(value: self.contactMethod, fieldNumber: 1) - } - if !self.contactInfo.isEmpty { - try visitor.visitSingularStringField(value: self.contactInfo, fieldNumber: 2) - } - if !self.contactID.isEmpty { - try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 3) - } - if !self.receiverName.isEmpty { - try visitor.visitSingularStringField(value: self.receiverName, fieldNumber: 4) - } - if !self.appStoreLink.isEmpty { - try visitor.visitSingularStringField(value: self.appStoreLink, fieldNumber: 5) - } - try { if let v = self._referral { - try visitor.visitSingularMessageField(value: v, fieldNumber: 6) - } }() - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 7) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ReferContactListFriendRequest, rhs: ReferContactListFriendRequest) -> Bool { - if lhs.contactMethod != rhs.contactMethod {return false} - if lhs.contactInfo != rhs.contactInfo {return false} - if lhs.contactID != rhs.contactID {return false} - if lhs.receiverName != rhs.receiverName {return false} - if lhs.appStoreLink != rhs.appStoreLink {return false} - if lhs._referral != rhs._referral {return false} - if lhs.countryCode != rhs.countryCode {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ReferContactListFriendRequest.ReferralProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReferContactListFriendRequest.protoMessageName + ".ReferralProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "referral_code"), - 2: .standard(proto: "referral_link"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.referralCode) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.referralLink) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.referralCode.isEmpty { - try visitor.visitSingularStringField(value: self.referralCode, fieldNumber: 1) - } - if !self.referralLink.isEmpty { - try visitor.visitSingularStringField(value: self.referralLink, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ReferContactListFriendRequest.ReferralProto, rhs: ReferContactListFriendRequest.ReferralProto) -> Bool { - if lhs.referralCode != rhs.referralCode {return false} - if lhs.referralLink != rhs.referralLink {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ReferContactListFriendResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ReferContactListFriendResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ReferContactListFriendResponse, rhs: ReferContactListFriendResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ReferContactListFriendResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_CONTACT_NOT_FOUND"), - 4: .same(proto: "ERROR_FAILED_TO_SEND_EMAIL"), - 5: .same(proto: "ERROR_EXCEED_LIMIT"), - 6: .same(proto: "ERROR_NO_SENDER_NAME"), - 7: .same(proto: "ERROR_INAPPROPRIATE_RECEIVER_NAME"), - 8: .same(proto: "ERROR_ALREADY_SIGNED_UP"), - ] -} - extension ReferralMilestonesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ReferralMilestonesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 6: .standard(proto: "referrer_niantic_id"), + 7: .standard(proto: "referee_niantic_id"), 3: .standard(proto: "referrer_player_id"), 4: .standard(proto: "referee_player_id"), 1: .standard(proto: "milestones_template_id"), 2: .same(proto: "version"), 5: .same(proto: "milestone"), - 6: .standard(proto: "referrer_niantic_id"), - 7: .standard(proto: "referee_niantic_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -274109,16 +283952,16 @@ extension ReferralMilestonesProto: SwiftProtobuf.Message, SwiftProtobuf._Message var v: String? try decoder.decodeSingularStringField(value: &v) if let v = v { - if self.playerNiaID != nil {try decoder.handleConflictingOneOf()} - self.playerNiaID = .referrerNianticID(v) + if self.nianticID != nil {try decoder.handleConflictingOneOf()} + self.nianticID = .referrerNianticID(v) } }() case 7: try { var v: String? try decoder.decodeSingularStringField(value: &v) if let v = v { - if self.playerNiaID != nil {try decoder.handleConflictingOneOf()} - self.playerNiaID = .refereeNianticID(v) + if self.nianticID != nil {try decoder.handleConflictingOneOf()} + self.nianticID = .refereeNianticID(v) } }() default: break @@ -274151,13 +283994,13 @@ extension ReferralMilestonesProto: SwiftProtobuf.Message, SwiftProtobuf._Message if !self.milestone.isEmpty { try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.milestone, fieldNumber: 5) } - switch self.playerNiaID { + switch self.nianticID { case .referrerNianticID?: try { - guard case .referrerNianticID(let v)? = self.playerNiaID else { preconditionFailure() } + guard case .referrerNianticID(let v)? = self.nianticID else { preconditionFailure() } try visitor.visitSingularStringField(value: v, fieldNumber: 6) }() case .refereeNianticID?: try { - guard case .refereeNianticID(let v)? = self.playerNiaID else { preconditionFailure() } + guard case .refereeNianticID(let v)? = self.nianticID else { preconditionFailure() } try visitor.visitSingularStringField(value: v, fieldNumber: 7) }() case nil: break @@ -274166,11 +284009,11 @@ extension ReferralMilestonesProto: SwiftProtobuf.Message, SwiftProtobuf._Message } public static func ==(lhs: ReferralMilestonesProto, rhs: ReferralMilestonesProto) -> Bool { + if lhs.nianticID != rhs.nianticID {return false} if lhs.playerID != rhs.playerID {return false} if lhs.milestonesTemplateID != rhs.milestonesTemplateID {return false} if lhs.version != rhs.version {return false} if lhs.milestone != rhs.milestone {return false} - if lhs.playerNiaID != rhs.playerNiaID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -274299,44 +284142,6 @@ extension ReferralMilestonesProto.MilestoneProto.TemplateVariableProto: SwiftPro } } -extension ReferralProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ReferralProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "referral_code"), - 2: .standard(proto: "referral_link"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.referralCode) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.referralLink) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.referralCode.isEmpty { - try visitor.visitSingularStringField(value: self.referralCode, fieldNumber: 1) - } - if !self.referralLink.isEmpty { - try visitor.visitSingularStringField(value: self.referralLink, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ReferralProto, rhs: ReferralProto) -> Bool { - if lhs.referralCode != rhs.referralCode {return false} - if lhs.referralLink != rhs.referralLink {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension ReferralSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ReferralSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -274345,8 +284150,8 @@ extension ReferralSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm 3: .standard(proto: "add_referrer_grace_period_ms"), 4: .standard(proto: "client_get_milestone_interval_ms"), 5: .standard(proto: "min_num_days_without_session_for_lapsed_player"), - 6: .standard(proto: "referral_link_url"), - 7: .standard(proto: "ob_bool"), + 6: .standard(proto: "deep_link_url"), + 7: .standard(proto: "image_share_referral_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -274360,8 +284165,8 @@ extension ReferralSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm case 3: try { try decoder.decodeSingularInt64Field(value: &self.addReferrerGracePeriodMs) }() case 4: try { try decoder.decodeSingularInt64Field(value: &self.clientGetMilestoneIntervalMs) }() case 5: try { try decoder.decodeSingularInt32Field(value: &self.minNumDaysWithoutSessionForLapsedPlayer) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.referralLinkURL) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.deepLinkURL) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.imageShareReferralEnabled) }() default: break } } @@ -274383,11 +284188,11 @@ extension ReferralSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm if self.minNumDaysWithoutSessionForLapsedPlayer != 0 { try visitor.visitSingularInt32Field(value: self.minNumDaysWithoutSessionForLapsedPlayer, fieldNumber: 5) } - if !self.referralLinkURL.isEmpty { - try visitor.visitSingularStringField(value: self.referralLinkURL, fieldNumber: 6) + if !self.deepLinkURL.isEmpty { + try visitor.visitSingularStringField(value: self.deepLinkURL, fieldNumber: 6) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 7) + if self.imageShareReferralEnabled != false { + try visitor.visitSingularBoolField(value: self.imageShareReferralEnabled, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } @@ -274398,8 +284203,8 @@ extension ReferralSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm if lhs.addReferrerGracePeriodMs != rhs.addReferrerGracePeriodMs {return false} if lhs.clientGetMilestoneIntervalMs != rhs.clientGetMilestoneIntervalMs {return false} if lhs.minNumDaysWithoutSessionForLapsedPlayer != rhs.minNumDaysWithoutSessionForLapsedPlayer {return false} - if lhs.referralLinkURL != rhs.referralLinkURL {return false} - if lhs.obBool != rhs.obBool {return false} + if lhs.deepLinkURL != rhs.deepLinkURL {return false} + if lhs.imageShareReferralEnabled != rhs.imageShareReferralEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -274455,7 +284260,7 @@ extension ReferralTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem 1: .standard(proto: "referral_telemetry_id"), 2: .standard(proto: "referral_role"), 3: .standard(proto: "milestone_description_string_key"), - 4: .standard(proto: "referral_telemetry_source"), + 4: .standard(proto: "referral_source"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -274467,7 +284272,7 @@ extension ReferralTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem case 1: try { try decoder.decodeSingularEnumField(value: &self.referralTelemetryID) }() case 2: try { try decoder.decodeSingularEnumField(value: &self.referralRole) }() case 3: try { try decoder.decodeSingularStringField(value: &self.milestoneDescriptionStringKey) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.referralTelemetrySource) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.referralSource) }() default: break } } @@ -274483,8 +284288,8 @@ extension ReferralTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem if !self.milestoneDescriptionStringKey.isEmpty { try visitor.visitSingularStringField(value: self.milestoneDescriptionStringKey, fieldNumber: 3) } - if self.referralTelemetrySource != .undefinedSource { - try visitor.visitSingularEnumField(value: self.referralTelemetrySource, fieldNumber: 4) + if self.referralSource != .undefinedSource { + try visitor.visitSingularEnumField(value: self.referralSource, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } @@ -274493,7 +284298,7 @@ extension ReferralTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem if lhs.referralTelemetryID != rhs.referralTelemetryID {return false} if lhs.referralRole != rhs.referralRole {return false} if lhs.milestoneDescriptionStringKey != rhs.milestoneDescriptionStringKey {return false} - if lhs.referralTelemetrySource != rhs.referralTelemetrySource {return false} + if lhs.referralSource != rhs.referralSource {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -274651,132 +284456,6 @@ extension RegisterBackgroundDeviceResponseProto.Status: SwiftProtobuf._ProtoName ] } -extension RegisterBackgroundServiceRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RegisterBackgroundServiceRequestProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "service_name"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.serviceName) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.serviceName.isEmpty { - try visitor.visitSingularStringField(value: self.serviceName, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RegisterBackgroundServiceRequestProto, rhs: RegisterBackgroundServiceRequestProto) -> Bool { - if lhs.serviceName != rhs.serviceName {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RegisterBackgroundServiceResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RegisterBackgroundServiceResponseProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "data"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._data) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try { if let v = self._data { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RegisterBackgroundServiceResponseProto, rhs: RegisterBackgroundServiceResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs._data != rhs._data {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RegisterBackgroundServiceResponseProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - ] -} - -extension RegisterBackgroundServiceResponseProto.RegisterData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = RegisterBackgroundServiceResponseProto.protoMessageName + ".RegisterData" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), - 2: .standard(proto: "expiration_time"), - 3: .same(proto: "iv"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBytesField(value: &self.token) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.expirationTime) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.iv) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.token.isEmpty { - try visitor.visitSingularBytesField(value: self.token, fieldNumber: 1) - } - if self.expirationTime != 0 { - try visitor.visitSingularInt64Field(value: self.expirationTime, fieldNumber: 2) - } - if !self.iv.isEmpty { - try visitor.visitSingularBytesField(value: self.iv, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RegisterBackgroundServiceResponseProto.RegisterData, rhs: RegisterBackgroundServiceResponseProto.RegisterData) -> Bool { - if lhs.token != rhs.token {return false} - if lhs.expirationTime != rhs.expirationTime {return false} - if lhs.iv != rhs.iv {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension RegisterSfidaRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RegisterSfidaRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -275053,44 +284732,6 @@ extension RemoteGiftPingResponseProto.Result: SwiftProtobuf._ProtoNameProviding ] } -extension RemoteRaidLimitSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RemoteRaidLimitSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .same(proto: "limit"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.limit) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.limit != 0 { - try visitor.visitSingularInt32Field(value: self.limit, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RemoteRaidLimitSettingsProto, rhs: RemoteRaidLimitSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.limit != rhs.limit {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension RemoteRaidTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RemoteRaidTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -275135,11 +284776,12 @@ extension RemoteRaidTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } -extension RemoveFavoriteFriendRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RemoveFavoriteFriendRequest" +extension RemoveLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RemoveLoginActionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .standard(proto: "friend_nia_account_id"), + 1: .same(proto: "success"), + 2: .standard(proto: "login_detail"), + 3: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -275148,35 +284790,49 @@ extension RemoveFavoriteFriendRequest: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.friendNiaAccountID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.success) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.loginDetail) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) + if self.success != false { + try visitor.visitSingularBoolField(value: self.success, fieldNumber: 1) } - if !self.friendNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.friendNiaAccountID, fieldNumber: 2) + if !self.loginDetail.isEmpty { + try visitor.visitRepeatedMessageField(value: self.loginDetail, fieldNumber: 2) + } + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RemoveFavoriteFriendRequest, rhs: RemoveFavoriteFriendRequest) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} + public static func ==(lhs: RemoveLoginActionOutProto, rhs: RemoveLoginActionOutProto) -> Bool { + if lhs.success != rhs.success {return false} + if lhs.loginDetail != rhs.loginDetail {return false} + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RemoveFavoriteFriendResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RemoveFavoriteFriendResponse" +extension RemoveLoginActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "LOGIN_NOT_REMOVABLE"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension RemoveLoginActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RemoveLoginActionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "identity_provider"), + 3: .standard(proto: "auth_provider_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -275185,38 +284841,35 @@ extension RemoveFavoriteFriendResponse: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.identityProvider) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.identityProvider != .unsetIdentityProvider { + try visitor.visitSingularEnumField(value: self.identityProvider, fieldNumber: 1) + } + if !self.authProviderID.isEmpty { + try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RemoveFavoriteFriendResponse, rhs: RemoveFavoriteFriendResponse) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: RemoveLoginActionProto, rhs: RemoveLoginActionProto) -> Bool { + if lhs.identityProvider != rhs.identityProvider {return false} + if lhs.authProviderID != rhs.authProviderID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RemoveFavoriteFriendResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), - ] -} - -extension RemoveFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RemoveFriendOutProto" +extension RemovePokemonSizeLeaderboardEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RemovePokemonSizeLeaderboardEntryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -275225,40 +284878,42 @@ extension RemoveFriendOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RemoveFriendOutProto, rhs: RemoveFriendOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: RemovePokemonSizeLeaderboardEntryOutProto, rhs: RemovePokemonSizeLeaderboardEntryOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RemoveFriendOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension RemovePokemonSizeLeaderboardEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_PLAYER_DOES_NOT_EXIST_DELETED"), - 3: .same(proto: "ERROR_PLAYER_NOT_A_FRIEND"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "ENTRY_TO_REMOVE_NOT_FOUND"), + 4: .same(proto: "POKEMON_TO_REMOVE_DIFFERENT"), ] } -extension RemoveFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RemoveFriendProto" +extension RemovePokemonSizeLeaderboardEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RemovePokemonSizeLeaderboardEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "nia_account_id"), + 1: .standard(proto: "contest_id"), + 2: .standard(proto: "contest_metric"), + 3: .standard(proto: "pokemon_id_to_remove"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -275267,33 +284922,42 @@ extension RemoveFriendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.contestID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 3: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonIDToRemove) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.contestID.isEmpty { + try visitor.visitSingularStringField(value: self.contestID, fieldNumber: 1) } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 2) + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.pokemonIDToRemove != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonIDToRemove, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RemoveFriendProto, rhs: RemoveFriendProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} + public static func ==(lhs: RemovePokemonSizeLeaderboardEntryProto, rhs: RemovePokemonSizeLeaderboardEntryProto) -> Bool { + if lhs.contestID != rhs.contestID {return false} + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.pokemonIDToRemove != rhs.pokemonIDToRemove {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RemoveLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RemoveLoginActionOutProto" +extension RemovePtcLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RemovePtcLoginActionOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "success"), 2: .standard(proto: "login_detail"), @@ -275327,7 +284991,7 @@ extension RemoveLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RemoveLoginActionOutProto, rhs: RemoveLoginActionOutProto) -> Bool { + public static func ==(lhs: RemovePtcLoginActionOutProto, rhs: RemovePtcLoginActionOutProto) -> Bool { if lhs.success != rhs.success {return false} if lhs.loginDetail != rhs.loginDetail {return false} if lhs.status != rhs.status {return false} @@ -275336,7 +285000,7 @@ extension RemoveLoginActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messa } } -extension RemoveLoginActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension RemovePtcLoginActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "LOGIN_NOT_REMOVABLE"), @@ -275344,39 +285008,20 @@ extension RemoveLoginActionOutProto.Status: SwiftProtobuf._ProtoNameProviding { ] } -extension RemoveLoginActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RemoveLoginActionProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "identity_provider"), - 2: .standard(proto: "auth_provider_id"), - ] +extension RemovePtcLoginActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RemovePtcLoginActionProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.identityProvider) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.authProviderID) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.identityProvider != .unsetIdentityProvider { - try visitor.visitSingularEnumField(value: self.identityProvider, fieldNumber: 1) - } - if !self.authProviderID.isEmpty { - try visitor.visitSingularStringField(value: self.authProviderID, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RemoveLoginActionProto, rhs: RemoveLoginActionProto) -> Bool { - if lhs.identityProvider != rhs.identityProvider {return false} - if lhs.authProviderID != rhs.authProviderID {return false} + public static func ==(lhs: RemovePtcLoginActionProto, rhs: RemovePtcLoginActionProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -275663,10 +285308,10 @@ extension ReportAdInteractionProto: SwiftProtobuf.Message, SwiftProtobuf._Messag 5: .standard(proto: "view_impression"), 6: .standard(proto: "view_fullscreen"), 7: .standard(proto: "fullscreen_interaction"), - 11: .standard(proto: "view_web_ar"), 8: .standard(proto: "cta_clicked"), 9: .standard(proto: "ad_spawned"), 10: .standard(proto: "ad_dismissed"), + 11: .standard(proto: "view_web_ar"), 12: .standard(proto: "video_ad_loaded"), 13: .standard(proto: "video_ad_balloon_opened"), 14: .standard(proto: "video_ad_clicked_on_balloon_cta"), @@ -276099,12 +285744,10 @@ extension ReportAdInteractionProto.AdType: SwiftProtobuf._ProtoNameProviding { ] } -extension ReportAdInteractionProto.GoogleManagedAdDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".GoogleManagedAdDetails" +extension ReportAdInteractionProto.AdDismissalInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".AdDismissalInteraction" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gam_order_id"), - 2: .standard(proto: "gam_line_item_id"), - 3: .standard(proto: "gam_creative_id"), + 1: .standard(proto: "ad_dismissal_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276113,40 +285756,40 @@ extension ReportAdInteractionProto.GoogleManagedAdDetails: SwiftProtobuf.Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.gamOrderID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.gamLineItemID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.gamCreativeID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.adDismissalType) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.gamOrderID.isEmpty { - try visitor.visitSingularStringField(value: self.gamOrderID, fieldNumber: 1) - } - if !self.gamLineItemID.isEmpty { - try visitor.visitSingularStringField(value: self.gamLineItemID, fieldNumber: 2) - } - if !self.gamCreativeID.isEmpty { - try visitor.visitSingularStringField(value: self.gamCreativeID, fieldNumber: 3) + if self.adDismissalType != .adDismissalUnknown { + try visitor.visitSingularEnumField(value: self.adDismissalType, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.GoogleManagedAdDetails, rhs: ReportAdInteractionProto.GoogleManagedAdDetails) -> Bool { - if lhs.gamOrderID != rhs.gamOrderID {return false} - if lhs.gamLineItemID != rhs.gamLineItemID {return false} - if lhs.gamCreativeID != rhs.gamCreativeID {return false} + public static func ==(lhs: ReportAdInteractionProto.AdDismissalInteraction, rhs: ReportAdInteractionProto.AdDismissalInteraction) -> Bool { + if lhs.adDismissalType != rhs.adDismissalType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.WebArCameraPermissionResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".WebArCameraPermissionResponse" +extension ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "allow_camera_permission"), + 0: .same(proto: "AD_DISMISSAL_UNKNOWN"), + 1: .same(proto: "AD_DISMISSAL_TR_DISPLACES_AD_BALLOON"), + 2: .same(proto: "AD_DISMISSAL_NEW_AD_BALLOON_DISPLACES_OLD"), + 3: .same(proto: "AD_DISMISSAL_AD_BALLOON_AUTO_DISMISS"), + 4: .same(proto: "AD_DISMISSAL_PLAYER_OPTED_OUT_OF_ADS"), + ] +} + +extension ReportAdInteractionProto.AdFeedback: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".AdFeedback" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "content"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276155,49 +285798,31 @@ extension ReportAdInteractionProto.WebArCameraPermissionResponse: SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.allowCameraPermission) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.content) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.allowCameraPermission != false { - try visitor.visitSingularBoolField(value: self.allowCameraPermission, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ReportAdInteractionProto.WebArCameraPermissionResponse, rhs: ReportAdInteractionProto.WebArCameraPermissionResponse) -> Bool { - if lhs.allowCameraPermission != rhs.allowCameraPermission {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ReportAdInteractionProto.WebArCameraPermissionRequestSent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".WebArCameraPermissionRequestSent" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + if !self.content.isEmpty { + try visitor.visitSingularStringField(value: self.content, fieldNumber: 1) } - } - - public func traverse(visitor: inout V) throws { try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.WebArCameraPermissionRequestSent, rhs: ReportAdInteractionProto.WebArCameraPermissionRequestSent) -> Bool { + public static func ==(lhs: ReportAdInteractionProto.AdFeedback, rhs: ReportAdInteractionProto.AdFeedback) -> Bool { + if lhs.content != rhs.content {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.WebArAudienceDeviceStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".WebArAudienceDeviceStatus" +extension ReportAdInteractionProto.AdFeedbackReport: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".AdFeedbackReport" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_webcam_enabled"), + 1: .standard(proto: "gam_ad_response_id"), + 2: .same(proto: "feedback"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276206,30 +285831,36 @@ extension ReportAdInteractionProto.WebArAudienceDeviceStatus: SwiftProtobuf.Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isWebcamEnabled) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.gamAdResponseID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.feedback) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isWebcamEnabled != false { - try visitor.visitSingularBoolField(value: self.isWebcamEnabled, fieldNumber: 1) + if !self.gamAdResponseID.isEmpty { + try visitor.visitSingularStringField(value: self.gamAdResponseID, fieldNumber: 1) + } + if !self.feedback.isEmpty { + try visitor.visitRepeatedMessageField(value: self.feedback, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.WebArAudienceDeviceStatus, rhs: ReportAdInteractionProto.WebArAudienceDeviceStatus) -> Bool { - if lhs.isWebcamEnabled != rhs.isWebcamEnabled {return false} + public static func ==(lhs: ReportAdInteractionProto.AdFeedbackReport, rhs: ReportAdInteractionProto.AdFeedbackReport) -> Bool { + if lhs.gamAdResponseID != rhs.gamAdResponseID {return false} + if lhs.feedback != rhs.feedback {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.GetRewardInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".GetRewardInfo" +extension ReportAdInteractionProto.AdSpawnInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".AdSpawnInteraction" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "valid_gift_token"), + 1: .standard(proto: "spawn_success"), + 2: .standard(proto: "ad_inhibition_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276238,31 +285869,45 @@ extension ReportAdInteractionProto.GetRewardInfo: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.validGiftToken) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.spawnSuccess) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.adInhibitionType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.validGiftToken != false { - try visitor.visitSingularBoolField(value: self.validGiftToken, fieldNumber: 1) + if self.spawnSuccess != false { + try visitor.visitSingularBoolField(value: self.spawnSuccess, fieldNumber: 1) + } + if self.adInhibitionType != .adInhibitionUnknown { + try visitor.visitSingularEnumField(value: self.adInhibitionType, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.GetRewardInfo, rhs: ReportAdInteractionProto.GetRewardInfo) -> Bool { - if lhs.validGiftToken != rhs.validGiftToken {return false} + public static func ==(lhs: ReportAdInteractionProto.AdSpawnInteraction, rhs: ReportAdInteractionProto.AdSpawnInteraction) -> Bool { + if lhs.spawnSuccess != rhs.spawnSuccess {return false} + if lhs.adInhibitionType != rhs.adInhibitionType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.AdFeedbackReport: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".AdFeedbackReport" +extension ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "gam_ad_response_id"), - 2: .same(proto: "feedback"), + 0: .same(proto: "AD_INHIBITION_UNKNOWN"), + 1: .same(proto: "AD_INHIBITION_TR_PREVENTS_BALLOON_SPAWN"), + 2: .same(proto: "AD_INHIBITION_CLIENT_ERROR"), + 3: .same(proto: "AD_INHIBITION_DISABLED_IN_GMT"), + 4: .same(proto: "AD_INHIBITION_PLAYER_OPTED_OUT_OF_ADS"), + ] +} + +extension ReportAdInteractionProto.CTAClickInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".CTAClickInteraction" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 6: .standard(proto: "cta_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276271,35 +285916,33 @@ extension ReportAdInteractionProto.AdFeedbackReport: SwiftProtobuf.Message, Swif // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.gamAdResponseID) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.feedback) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.ctaURL) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.gamAdResponseID.isEmpty { - try visitor.visitSingularStringField(value: self.gamAdResponseID, fieldNumber: 1) - } - if !self.feedback.isEmpty { - try visitor.visitRepeatedMessageField(value: self.feedback, fieldNumber: 2) + if !self.ctaURL.isEmpty { + try visitor.visitSingularStringField(value: self.ctaURL, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.AdFeedbackReport, rhs: ReportAdInteractionProto.AdFeedbackReport) -> Bool { - if lhs.gamAdResponseID != rhs.gamAdResponseID {return false} - if lhs.feedback != rhs.feedback {return false} + public static func ==(lhs: ReportAdInteractionProto.CTAClickInteraction, rhs: ReportAdInteractionProto.CTAClickInteraction) -> Bool { + if lhs.ctaURL != rhs.ctaURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.AdFeedback: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".AdFeedback" +extension ReportAdInteractionProto.FullScreenInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".FullScreenInteraction" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "content"), + 1: .standard(proto: "fullscreen_image_url"), + 2: .standard(proto: "total_residence_time_ms"), + 3: .standard(proto: "time_away_ms"), + 4: .standard(proto: "took_screenshot"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276308,31 +285951,45 @@ extension ReportAdInteractionProto.AdFeedback: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.content) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fullscreenImageURL) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.totalResidenceTimeMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.timeAwayMs) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.tookScreenshot) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.content.isEmpty { - try visitor.visitSingularStringField(value: self.content, fieldNumber: 1) + if !self.fullscreenImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.fullscreenImageURL, fieldNumber: 1) + } + if self.totalResidenceTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.totalResidenceTimeMs, fieldNumber: 2) + } + if self.timeAwayMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeAwayMs, fieldNumber: 3) + } + if self.tookScreenshot != false { + try visitor.visitSingularBoolField(value: self.tookScreenshot, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.AdFeedback, rhs: ReportAdInteractionProto.AdFeedback) -> Bool { - if lhs.content != rhs.content {return false} + public static func ==(lhs: ReportAdInteractionProto.FullScreenInteraction, rhs: ReportAdInteractionProto.FullScreenInteraction) -> Bool { + if lhs.fullscreenImageURL != rhs.fullscreenImageURL {return false} + if lhs.totalResidenceTimeMs != rhs.totalResidenceTimeMs {return false} + if lhs.timeAwayMs != rhs.timeAwayMs {return false} + if lhs.tookScreenshot != rhs.tookScreenshot {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.ViewImpressionInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".ViewImpressionInteraction" +extension ReportAdInteractionProto.GetRewardInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".GetRewardInfo" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "preview_image_url"), - 2: .standard(proto: "is_persisted_gift"), + 1: .standard(proto: "valid_gift_token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276341,35 +285998,32 @@ extension ReportAdInteractionProto.ViewImpressionInteraction: SwiftProtobuf.Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.previewImageURL) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isPersistedGift) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.validGiftToken) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.previewImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.previewImageURL, fieldNumber: 1) - } - if self.isPersistedGift != false { - try visitor.visitSingularBoolField(value: self.isPersistedGift, fieldNumber: 2) + if self.validGiftToken != false { + try visitor.visitSingularBoolField(value: self.validGiftToken, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.ViewImpressionInteraction, rhs: ReportAdInteractionProto.ViewImpressionInteraction) -> Bool { - if lhs.previewImageURL != rhs.previewImageURL {return false} - if lhs.isPersistedGift != rhs.isPersistedGift {return false} + public static func ==(lhs: ReportAdInteractionProto.GetRewardInfo, rhs: ReportAdInteractionProto.GetRewardInfo) -> Bool { + if lhs.validGiftToken != rhs.validGiftToken {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.ViewFullscreenInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".ViewFullscreenInteraction" +extension ReportAdInteractionProto.GoogleManagedAdDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".GoogleManagedAdDetails" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fullscreen_image_url"), + 1: .standard(proto: "gam_order_id"), + 2: .standard(proto: "gam_line_item_id"), + 3: .standard(proto: "gam_creative_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276378,112 +286032,79 @@ extension ReportAdInteractionProto.ViewFullscreenInteraction: SwiftProtobuf.Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fullscreenImageURL) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.gamOrderID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.gamLineItemID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.gamCreativeID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.fullscreenImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.fullscreenImageURL, fieldNumber: 1) + if !self.gamOrderID.isEmpty { + try visitor.visitSingularStringField(value: self.gamOrderID, fieldNumber: 1) + } + if !self.gamLineItemID.isEmpty { + try visitor.visitSingularStringField(value: self.gamLineItemID, fieldNumber: 2) + } + if !self.gamCreativeID.isEmpty { + try visitor.visitSingularStringField(value: self.gamCreativeID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.ViewFullscreenInteraction, rhs: ReportAdInteractionProto.ViewFullscreenInteraction) -> Bool { - if lhs.fullscreenImageURL != rhs.fullscreenImageURL {return false} + public static func ==(lhs: ReportAdInteractionProto.GoogleManagedAdDetails, rhs: ReportAdInteractionProto.GoogleManagedAdDetails) -> Bool { + if lhs.gamOrderID != rhs.gamOrderID {return false} + if lhs.gamLineItemID != rhs.gamLineItemID {return false} + if lhs.gamCreativeID != rhs.gamCreativeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.ViewWebArInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".ViewWebArInteraction" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "web_ar_url"), - ] +extension ReportAdInteractionProto.VideoAdBalloonOpened: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdBalloonOpened" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.webArURL) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.webArURL.isEmpty { - try visitor.visitSingularStringField(value: self.webArURL, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.ViewWebArInteraction, rhs: ReportAdInteractionProto.ViewWebArInteraction) -> Bool { - if lhs.webArURL != rhs.webArURL {return false} + public static func ==(lhs: ReportAdInteractionProto.VideoAdBalloonOpened, rhs: ReportAdInteractionProto.VideoAdBalloonOpened) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.FullScreenInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".FullScreenInteraction" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fullscreen_image_url"), - 2: .standard(proto: "total_residence_time_ms"), - 3: .standard(proto: "time_away_ms"), - 4: .standard(proto: "took_screenshot"), - ] +extension ReportAdInteractionProto.VideoAdClickedOnBalloonCta: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdClickedOnBalloonCta" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fullscreenImageURL) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.totalResidenceTimeMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.timeAwayMs) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.tookScreenshot) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.fullscreenImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.fullscreenImageURL, fieldNumber: 1) - } - if self.totalResidenceTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.totalResidenceTimeMs, fieldNumber: 2) - } - if self.timeAwayMs != 0 { - try visitor.visitSingularInt64Field(value: self.timeAwayMs, fieldNumber: 3) - } - if self.tookScreenshot != false { - try visitor.visitSingularBoolField(value: self.tookScreenshot, fieldNumber: 4) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.FullScreenInteraction, rhs: ReportAdInteractionProto.FullScreenInteraction) -> Bool { - if lhs.fullscreenImageURL != rhs.fullscreenImageURL {return false} - if lhs.totalResidenceTimeMs != rhs.totalResidenceTimeMs {return false} - if lhs.timeAwayMs != rhs.timeAwayMs {return false} - if lhs.tookScreenshot != rhs.tookScreenshot {return false} + public static func ==(lhs: ReportAdInteractionProto.VideoAdClickedOnBalloonCta, rhs: ReportAdInteractionProto.VideoAdClickedOnBalloonCta) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.CTAClickInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".CTAClickInteraction" +extension ReportAdInteractionProto.VideoAdClosed: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdClosed" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 6: .standard(proto: "cta_url"), + 2: .standard(proto: "complete_video_watched"), + 3: .standard(proto: "total_watch_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276492,31 +286113,35 @@ extension ReportAdInteractionProto.CTAClickInteraction: SwiftProtobuf.Message, S // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 6: try { try decoder.decodeSingularStringField(value: &self.ctaURL) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.completeVideoWatched) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.totalWatchTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.ctaURL.isEmpty { - try visitor.visitSingularStringField(value: self.ctaURL, fieldNumber: 6) + if self.completeVideoWatched != false { + try visitor.visitSingularBoolField(value: self.completeVideoWatched, fieldNumber: 2) + } + if self.totalWatchTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.totalWatchTimeMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.CTAClickInteraction, rhs: ReportAdInteractionProto.CTAClickInteraction) -> Bool { - if lhs.ctaURL != rhs.ctaURL {return false} + public static func ==(lhs: ReportAdInteractionProto.VideoAdClosed, rhs: ReportAdInteractionProto.VideoAdClosed) -> Bool { + if lhs.completeVideoWatched != rhs.completeVideoWatched {return false} + if lhs.totalWatchTimeMs != rhs.totalWatchTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.AdSpawnInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".AdSpawnInteraction" +extension ReportAdInteractionProto.VideoAdCTAClicked: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdCTAClicked" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "spawn_success"), - 2: .standard(proto: "ad_inhibition_type"), + 2: .standard(proto: "cta_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276525,45 +286150,30 @@ extension ReportAdInteractionProto.AdSpawnInteraction: SwiftProtobuf.Message, Sw // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.spawnSuccess) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.adInhibitionType) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.ctaURL) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.spawnSuccess != false { - try visitor.visitSingularBoolField(value: self.spawnSuccess, fieldNumber: 1) - } - if self.adInhibitionType != .adInhibitionUnknown { - try visitor.visitSingularEnumField(value: self.adInhibitionType, fieldNumber: 2) + if !self.ctaURL.isEmpty { + try visitor.visitSingularStringField(value: self.ctaURL, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.AdSpawnInteraction, rhs: ReportAdInteractionProto.AdSpawnInteraction) -> Bool { - if lhs.spawnSuccess != rhs.spawnSuccess {return false} - if lhs.adInhibitionType != rhs.adInhibitionType {return false} + public static func ==(lhs: ReportAdInteractionProto.VideoAdCTAClicked, rhs: ReportAdInteractionProto.VideoAdCTAClicked) -> Bool { + if lhs.ctaURL != rhs.ctaURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.AdSpawnInteraction.AdInhibitionType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AD_INHIBITION_UNKNOWN"), - 1: .same(proto: "AD_INHIBITION_TR_PREVENTS_BALLOON_SPAWN"), - 2: .same(proto: "AD_INHIBITION_CLIENT_ERROR"), - 3: .same(proto: "AD_INHIBITION_DISABLED_IN_GMT"), - 4: .same(proto: "AD_INHIBITION_PLAYER_OPTED_OUT_OF_ADS"), - ] -} - -extension ReportAdInteractionProto.AdDismissalInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".AdDismissalInteraction" +extension ReportAdInteractionProto.VideoAdFailure: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdFailure" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ad_dismissal_type"), + 1: .standard(proto: "failure_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276572,33 +286182,31 @@ extension ReportAdInteractionProto.AdDismissalInteraction: SwiftProtobuf.Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.adDismissalType) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.failureType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.adDismissalType != .adDismissalUnknown { - try visitor.visitSingularEnumField(value: self.adDismissalType, fieldNumber: 1) + if self.failureType != .unknown { + try visitor.visitSingularEnumField(value: self.failureType, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.AdDismissalInteraction, rhs: ReportAdInteractionProto.AdDismissalInteraction) -> Bool { - if lhs.adDismissalType != rhs.adDismissalType {return false} + public static func ==(lhs: ReportAdInteractionProto.VideoAdFailure, rhs: ReportAdInteractionProto.VideoAdFailure) -> Bool { + if lhs.failureType != rhs.failureType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.AdDismissalInteraction.AdDismissalType: SwiftProtobuf._ProtoNameProviding { +extension ReportAdInteractionProto.VideoAdFailure.FailureType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AD_DISMISSAL_UNKNOWN"), - 1: .same(proto: "AD_DISMISSAL_TR_DISPLACES_AD_BALLOON"), - 2: .same(proto: "AD_DISMISSAL_NEW_AD_BALLOON_DISPLACES_OLD"), - 3: .same(proto: "AD_DISMISSAL_AD_BALLOON_AUTO_DISMISS"), - 4: .same(proto: "AD_DISMISSAL_PLAYER_OPTED_OUT_OF_ADS"), + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "VIDEO_LOAD_FAILURE"), + 2: .same(proto: "VIDEO_REWARD_FAILURE"), ] } @@ -276634,8 +286242,8 @@ extension ReportAdInteractionProto.VideoAdLoaded: SwiftProtobuf.Message, SwiftPr } } -extension ReportAdInteractionProto.VideoAdBalloonOpened: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdBalloonOpened" +extension ReportAdInteractionProto.VideoAdOpened: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdOpened" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -276647,14 +286255,14 @@ extension ReportAdInteractionProto.VideoAdBalloonOpened: SwiftProtobuf.Message, try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.VideoAdBalloonOpened, rhs: ReportAdInteractionProto.VideoAdBalloonOpened) -> Bool { + public static func ==(lhs: ReportAdInteractionProto.VideoAdOpened, rhs: ReportAdInteractionProto.VideoAdOpened) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.VideoAdClickedOnBalloonCta: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdClickedOnBalloonCta" +extension ReportAdInteractionProto.VideoAdPlayerRewarded: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdPlayerRewarded" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -276666,14 +286274,14 @@ extension ReportAdInteractionProto.VideoAdClickedOnBalloonCta: SwiftProtobuf.Mes try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.VideoAdClickedOnBalloonCta, rhs: ReportAdInteractionProto.VideoAdClickedOnBalloonCta) -> Bool { + public static func ==(lhs: ReportAdInteractionProto.VideoAdPlayerRewarded, rhs: ReportAdInteractionProto.VideoAdPlayerRewarded) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.VideoAdOpened: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdOpened" +extension ReportAdInteractionProto.VideoAdRewardEligible: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdRewardEligible" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -276685,17 +286293,16 @@ extension ReportAdInteractionProto.VideoAdOpened: SwiftProtobuf.Message, SwiftPr try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.VideoAdOpened, rhs: ReportAdInteractionProto.VideoAdOpened) -> Bool { + public static func ==(lhs: ReportAdInteractionProto.VideoAdRewardEligible, rhs: ReportAdInteractionProto.VideoAdRewardEligible) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.VideoAdClosed: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdClosed" +extension ReportAdInteractionProto.ViewFullscreenInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".ViewFullscreenInteraction" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "complete_video_watched"), - 3: .standard(proto: "total_watch_time_ms"), + 1: .standard(proto: "fullscreen_image_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276704,54 +286311,100 @@ extension ReportAdInteractionProto.VideoAdClosed: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeSingularBoolField(value: &self.completeVideoWatched) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.totalWatchTimeMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fullscreenImageURL) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.completeVideoWatched != false { - try visitor.visitSingularBoolField(value: self.completeVideoWatched, fieldNumber: 2) + if !self.fullscreenImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.fullscreenImageURL, fieldNumber: 1) } - if self.totalWatchTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.totalWatchTimeMs, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ReportAdInteractionProto.ViewFullscreenInteraction, rhs: ReportAdInteractionProto.ViewFullscreenInteraction) -> Bool { + if lhs.fullscreenImageURL != rhs.fullscreenImageURL {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ReportAdInteractionProto.ViewImpressionInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".ViewImpressionInteraction" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "preview_image_url"), + 2: .standard(proto: "is_persisted_gift"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.previewImageURL) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isPersistedGift) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.previewImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.previewImageURL, fieldNumber: 1) + } + if self.isPersistedGift != false { + try visitor.visitSingularBoolField(value: self.isPersistedGift, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.VideoAdClosed, rhs: ReportAdInteractionProto.VideoAdClosed) -> Bool { - if lhs.completeVideoWatched != rhs.completeVideoWatched {return false} - if lhs.totalWatchTimeMs != rhs.totalWatchTimeMs {return false} + public static func ==(lhs: ReportAdInteractionProto.ViewImpressionInteraction, rhs: ReportAdInteractionProto.ViewImpressionInteraction) -> Bool { + if lhs.previewImageURL != rhs.previewImageURL {return false} + if lhs.isPersistedGift != rhs.isPersistedGift {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.VideoAdPlayerRewarded: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdPlayerRewarded" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension ReportAdInteractionProto.ViewWebArInteraction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".ViewWebArInteraction" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "web_ar_url"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.webArURL) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if !self.webArURL.isEmpty { + try visitor.visitSingularStringField(value: self.webArURL, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.VideoAdPlayerRewarded, rhs: ReportAdInteractionProto.VideoAdPlayerRewarded) -> Bool { + public static func ==(lhs: ReportAdInteractionProto.ViewWebArInteraction, rhs: ReportAdInteractionProto.ViewWebArInteraction) -> Bool { + if lhs.webArURL != rhs.webArURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.VideoAdCTAClicked: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdCTAClicked" +extension ReportAdInteractionProto.WebArAudienceDeviceStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".WebArAudienceDeviceStatus" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .standard(proto: "cta_url"), + 1: .standard(proto: "is_webcam_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276760,28 +286413,28 @@ extension ReportAdInteractionProto.VideoAdCTAClicked: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeSingularStringField(value: &self.ctaURL) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isWebcamEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.ctaURL.isEmpty { - try visitor.visitSingularStringField(value: self.ctaURL, fieldNumber: 2) + if self.isWebcamEnabled != false { + try visitor.visitSingularBoolField(value: self.isWebcamEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.VideoAdCTAClicked, rhs: ReportAdInteractionProto.VideoAdCTAClicked) -> Bool { - if lhs.ctaURL != rhs.ctaURL {return false} + public static func ==(lhs: ReportAdInteractionProto.WebArAudienceDeviceStatus, rhs: ReportAdInteractionProto.WebArAudienceDeviceStatus) -> Bool { + if lhs.isWebcamEnabled != rhs.isWebcamEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.VideoAdRewardEligible: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdRewardEligible" +extension ReportAdInteractionProto.WebArCameraPermissionRequestSent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".WebArCameraPermissionRequestSent" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -276793,16 +286446,16 @@ extension ReportAdInteractionProto.VideoAdRewardEligible: SwiftProtobuf.Message, try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.VideoAdRewardEligible, rhs: ReportAdInteractionProto.VideoAdRewardEligible) -> Bool { + public static func ==(lhs: ReportAdInteractionProto.WebArCameraPermissionRequestSent, rhs: ReportAdInteractionProto.WebArCameraPermissionRequestSent) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.VideoAdFailure: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".VideoAdFailure" +extension ReportAdInteractionProto.WebArCameraPermissionResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ReportAdInteractionProto.protoMessageName + ".WebArCameraPermissionResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "failure_type"), + 1: .standard(proto: "allow_camera_permission"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -276811,34 +286464,26 @@ extension ReportAdInteractionProto.VideoAdFailure: SwiftProtobuf.Message, SwiftP // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.failureType) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.allowCameraPermission) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.failureType != .unknown { - try visitor.visitSingularEnumField(value: self.failureType, fieldNumber: 1) + if self.allowCameraPermission != false { + try visitor.visitSingularBoolField(value: self.allowCameraPermission, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReportAdInteractionProto.VideoAdFailure, rhs: ReportAdInteractionProto.VideoAdFailure) -> Bool { - if lhs.failureType != rhs.failureType {return false} + public static func ==(lhs: ReportAdInteractionProto.WebArCameraPermissionResponse, rhs: ReportAdInteractionProto.WebArCameraPermissionResponse) -> Bool { + if lhs.allowCameraPermission != rhs.allowCameraPermission {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReportAdInteractionProto.VideoAdFailure.FailureType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "VIDEO_LOAD_FAILURE"), - 2: .same(proto: "VIDEO_REWARD_FAILURE"), - ] -} - extension ReportAdInteractionResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ReportAdInteractionResponse" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -276879,159 +286524,6 @@ extension ReportAdInteractionResponse.Status: SwiftProtobuf._ProtoNameProviding ] } -extension ReportAttributeData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ReportAttributeData" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ReportAttributeData, rhs: ReportAttributeData) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ReportAttributeData.ContentType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED_CONTENT"), - 1: .same(proto: "TEXT"), - 2: .same(proto: "IMAGE"), - 3: .same(proto: "GENERIC"), - ] -} - -extension ReportAttributeData.Origin: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED_ORIGIN"), - 1: .same(proto: "PUBLIC_CHAT"), - 2: .same(proto: "PRIVATE_CHAT"), - 3: .same(proto: "GENERAL_IMAGE"), - 4: .same(proto: "CODENAME"), - 5: .same(proto: "NAME"), - 6: .same(proto: "POST"), - 7: .same(proto: "PRIVATE_GROUP_CHAT"), - 8: .same(proto: "FLARE_CHAT"), - 9: .same(proto: "USER"), - 10: .same(proto: "GROUP"), - 11: .same(proto: "EVENT"), - 12: .same(proto: "CHANNEL"), - ] -} - -extension ReportAttributeData.Severity: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED_SEVERITY"), - 1: .same(proto: "LOW"), - 2: .same(proto: "MEDIUM"), - 3: .same(proto: "HIGH"), - 4: .same(proto: "EXTREME"), - 5: .same(proto: "NONE"), - ] -} - -extension ReportAttributeData.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED_STATUS"), - 1: .same(proto: "OPEN"), - 2: .same(proto: "REVIEWED"), - 3: .same(proto: "CLOSED"), - 4: .same(proto: "ESCALATED"), - 5: .same(proto: "OPEN_ASSIGNED"), - ] -} - -extension ReportAttributeData.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED_REPORT"), - 1: .same(proto: "BLOCK_REPORT"), - 2: .same(proto: "PROFANITY_REPORT"), - 3: .same(proto: "FLAG_REPORT"), - 4: .same(proto: "LOG_REPORT"), - 5: .same(proto: "OPS_MANUAL"), - ] -} - -extension ReportInfoWrapper: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ReportInfoWrapper" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_id"), - 2: .standard(proto: "report_uuid"), - 3: .standard(proto: "offender_id"), - 4: .same(proto: "severity"), - 5: .same(proto: "type"), - 6: .standard(proto: "offending_message"), - 7: .standard(proto: "created_timestamp_ms"), - 8: .standard(proto: "language_code"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.appID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.reportUuid) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.offenderID) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.severity) }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.offendingMessage) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.createdTimestampMs) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.appID.isEmpty { - try visitor.visitSingularStringField(value: self.appID, fieldNumber: 1) - } - if !self.reportUuid.isEmpty { - try visitor.visitSingularStringField(value: self.reportUuid, fieldNumber: 2) - } - if !self.offenderID.isEmpty { - try visitor.visitSingularStringField(value: self.offenderID, fieldNumber: 3) - } - if self.severity != .undefinedSeverity { - try visitor.visitSingularEnumField(value: self.severity, fieldNumber: 4) - } - if self.type != .undefinedReport { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 5) - } - if !self.offendingMessage.isEmpty { - try visitor.visitSingularStringField(value: self.offendingMessage, fieldNumber: 6) - } - if self.createdTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.createdTimestampMs, fieldNumber: 7) - } - if !self.languageCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 8) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ReportInfoWrapper, rhs: ReportInfoWrapper) -> Bool { - if lhs.appID != rhs.appID {return false} - if lhs.reportUuid != rhs.reportUuid {return false} - if lhs.offenderID != rhs.offenderID {return false} - if lhs.severity != rhs.severity {return false} - if lhs.type != rhs.type {return false} - if lhs.offendingMessage != rhs.offendingMessage {return false} - if lhs.createdTimestampMs != rhs.createdTimestampMs {return false} - if lhs.languageCode != rhs.languageCode {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension ReportProximityContactsRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ReportProximityContactsRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -277083,60 +286575,155 @@ extension ReportProximityContactsResponseProto: SwiftProtobuf.Message, SwiftProt } } -extension ReputationSystemAttributes: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ReputationSystemAttributes" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension ReportRouteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ReportRouteOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "consolation_reward"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._consolationReward) }() + default: break + } } } public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._consolationReward { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ReputationSystemAttributes, rhs: ReputationSystemAttributes) -> Bool { + public static func ==(lhs: ReportRouteOutProto, rhs: ReportRouteOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._consolationReward != rhs._consolationReward {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ReputationSystemAttributes.SystemType: SwiftProtobuf._ProtoNameProviding { +extension ReportRouteOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED_SYSTEM_TYPE"), - 1: .same(proto: "CHAT"), - 2: .same(proto: "IMAGE_ONLY"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_ROUTE_NOT_FOUND"), + 3: .same(proto: "ERROR_TOO_MANY_REPORTS"), + 4: .same(proto: "ERROR_UNKNOWN"), + 5: .same(proto: "ERROR_REPORTED_THIS_RECENTLY"), ] } -extension Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Response" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension ReportRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ReportRouteProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "route_id"), + 2: .standard(proto: "route_violations"), + 3: .standard(proto: "quality_issues"), + 4: .standard(proto: "gameplay_issues"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.routeID) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.routeViolations) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.qualityIssues) }() + case 4: try { try decoder.decodeRepeatedEnumField(value: &self.gameplayIssues) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if !self.routeID.isEmpty { + try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 1) + } + if !self.routeViolations.isEmpty { + try visitor.visitPackedEnumField(value: self.routeViolations, fieldNumber: 2) + } + if !self.qualityIssues.isEmpty { + try visitor.visitPackedEnumField(value: self.qualityIssues, fieldNumber: 3) + } + if !self.gameplayIssues.isEmpty { + try visitor.visitPackedEnumField(value: self.gameplayIssues, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Response, rhs: Response) -> Bool { + public static func ==(lhs: ReportRouteProto, rhs: ReportRouteProto) -> Bool { + if lhs.routeID != rhs.routeID {return false} + if lhs.routeViolations != rhs.routeViolations {return false} + if lhs.qualityIssues != rhs.qualityIssues {return false} + if lhs.gameplayIssues != rhs.gameplayIssues {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Response.Status: SwiftProtobuf._ProtoNameProviding { +extension ReportRouteProto.GameplayIssue: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET_GAMEPLAY_ISSUE"), + 1: .same(proto: "NO_ZYGARDE_CELLS"), + 2: .same(proto: "BUDDY_CANDY_BONUS_NOT_WORKING"), + 3: .same(proto: "INCENSE_BONUS_NOT_WORKING"), + 4: .same(proto: "INSUFFICIENT_REWARDS"), + 5: .same(proto: "COULD_NOT_COMPLETE_ROUTE"), + 6: .same(proto: "ROUTE_PAUSED_INCORRECTLY"), + 7: .same(proto: "DISTANCE_TRACKED_INCORRECT"), + 8: .same(proto: "GPS_DRIFT"), + ] +} + +extension ReportRouteProto.QualityIssue: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET_QUALITY_ISSUE"), + 1: .same(proto: "ROUTE_NAME_OR_DESCRIPTION_ERRONEOUS"), + 2: .same(proto: "ROUTE_NAME_OR_DESCRIPTION_UNCLEAR_OR_INACCURATE"), + 3: .same(proto: "ROUTE_DIFFICULT_TO_FOLLOW"), + 4: .same(proto: "ROUTE_FREQUENT_OVERLAP"), + 5: .same(proto: "ROUTE_TOO_SHORT_OR_LONG"), + 6: .same(proto: "ROUTE_TOO_STRENUOUS"), + 7: .same(proto: "ROUTE_POOR_CONNECTIVITY"), + ] +} + +extension ReportRouteProto.Violation: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "APP_NOT_FOUND"), - 3: .same(proto: "PLAYER_DATA_NOT_FOUND"), - 4: .same(proto: "REPORT_NOT_FOUND"), - 5: .same(proto: "FAILURE"), + 1: .same(proto: "PRIVATE_RESIDENCE"), + 2: .same(proto: "SENSITIVE_LOCATION"), + 3: .same(proto: "ADULT_ESTABLISHMENT"), + 4: .same(proto: "GRADE_SCHOOL"), + 5: .same(proto: "INACCESSIBLE"), + 6: .same(proto: "DANGEROUS"), + 7: .same(proto: "TEMPORARY_OBSTRUCTION"), + 8: .same(proto: "CHILD_SAFETY"), + 9: .same(proto: "DANGEROUS_GOODS"), + 10: .same(proto: "SEXUAL_OR_VIOLENT"), + 11: .same(proto: "SELF_HARM"), + 12: .same(proto: "HARASSMENT_OR_HATE_SPEECH"), + 13: .same(proto: "PERSONAL_INFO"), + 14: .same(proto: "GAME_CHEATS_OR_SPAM"), + 15: .same(proto: "PRIVACY_INVASION_ABUSIVE"), + 16: .same(proto: "OTHER_INAPPROPRIATE"), ] } @@ -277973,7 +287560,7 @@ extension RouteBadgeListEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl extension RouteBadgeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RouteBadgeSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "targets"), + 1: .same(proto: "target"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -277982,21 +287569,21 @@ extension RouteBadgeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.targets) }() + case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.target) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.targets.isEmpty { - try visitor.visitPackedInt32Field(value: self.targets, fieldNumber: 1) + if !self.target.isEmpty { + try visitor.visitPackedInt32Field(value: self.target, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: RouteBadgeSettingsProto, rhs: RouteBadgeSettingsProto) -> Bool { - if lhs.targets != rhs.targets {return false} + if lhs.target != rhs.target {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -278012,6 +287599,8 @@ extension RouteCreationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple 8: .standard(proto: "rejected_hash"), 9: .same(proto: "route"), 11: .same(proto: "paused"), + 12: .standard(proto: "moderation_report_id"), + 13: .standard(proto: "editable_post_rejection"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -278027,6 +287616,8 @@ extension RouteCreationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple case 8: try { try decoder.decodeRepeatedInt64Field(value: &self.rejectedHash) }() case 9: try { try decoder.decodeSingularMessageField(value: &self._route) }() case 11: try { try decoder.decodeSingularBoolField(value: &self.paused) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.moderationReportID) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.editablePostRejection) }() default: break } } @@ -278058,6 +287649,12 @@ extension RouteCreationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple if self.paused != false { try visitor.visitSingularBoolField(value: self.paused, fieldNumber: 11) } + if !self.moderationReportID.isEmpty { + try visitor.visitSingularStringField(value: self.moderationReportID, fieldNumber: 12) + } + if self.editablePostRejection != false { + try visitor.visitSingularBoolField(value: self.editablePostRejection, fieldNumber: 13) + } try unknownFields.traverse(visitor: &visitor) } @@ -278069,6 +287666,8 @@ extension RouteCreationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple if lhs.rejectedHash != rhs.rejectedHash {return false} if lhs._route != rhs._route {return false} if lhs.paused != rhs.paused {return false} + if lhs.moderationReportID != rhs.moderationReportID {return false} + if lhs.editablePostRejection != rhs.editablePostRejection {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -278183,13 +287782,13 @@ extension RouteDiscoverySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "nearby_visible_radius_meters"), 2: .standard(proto: "min_player_level"), - 3: .standard(proto: "ob_float"), - 4: .standard(proto: "ob_int32"), - 5: .standard(proto: "ob_int32_1"), - 6: .standard(proto: "ob_float_1"), - 7: .standard(proto: "ob_int32_2"), - 8: .standard(proto: "ob_int32_3"), - 9: .standard(proto: "ob_int32_4"), + 3: .standard(proto: "popular_routes_fraction"), + 4: .standard(proto: "new_route_threshold"), + 5: .standard(proto: "max_routes_viewable"), + 6: .standard(proto: "max_client_map_panning_distance_meters"), + 7: .standard(proto: "route_discovery_filtering_max_poi_distance"), + 8: .standard(proto: "route_discovery_filtering_min_poi_distance"), + 9: .standard(proto: "route_discovery_filtering_max_player_distance"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -278200,13 +287799,13 @@ extension RouteDiscoverySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes switch fieldNumber { case 1: try { try decoder.decodeSingularFloatField(value: &self.nearbyVisibleRadiusMeters) }() case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.obFloat1) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &self.obInt323) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.obInt324) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.popularRoutesFraction) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.newRouteThreshold) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxRoutesViewable) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.maxClientMapPanningDistanceMeters) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.routeDiscoveryFilteringMaxPoiDistance) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.routeDiscoveryFilteringMinPoiDistance) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.routeDiscoveryFilteringMaxPlayerDistance) }() default: break } } @@ -278219,26 +287818,26 @@ extension RouteDiscoverySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes if self.minPlayerLevel != 0 { try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 2) } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 3) + if self.popularRoutesFraction != 0 { + try visitor.visitSingularFloatField(value: self.popularRoutesFraction, fieldNumber: 3) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 4) + if self.newRouteThreshold != 0 { + try visitor.visitSingularInt32Field(value: self.newRouteThreshold, fieldNumber: 4) } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 5) + if self.maxRoutesViewable != 0 { + try visitor.visitSingularInt32Field(value: self.maxRoutesViewable, fieldNumber: 5) } - if self.obFloat1 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat1, fieldNumber: 6) + if self.maxClientMapPanningDistanceMeters != 0 { + try visitor.visitSingularFloatField(value: self.maxClientMapPanningDistanceMeters, fieldNumber: 6) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 7) + if self.routeDiscoveryFilteringMaxPoiDistance != 0 { + try visitor.visitSingularInt32Field(value: self.routeDiscoveryFilteringMaxPoiDistance, fieldNumber: 7) } - if self.obInt323 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt323, fieldNumber: 8) + if self.routeDiscoveryFilteringMinPoiDistance != 0 { + try visitor.visitSingularInt32Field(value: self.routeDiscoveryFilteringMinPoiDistance, fieldNumber: 8) } - if self.obInt324 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt324, fieldNumber: 9) + if self.routeDiscoveryFilteringMaxPlayerDistance != 0 { + try visitor.visitSingularInt32Field(value: self.routeDiscoveryFilteringMaxPlayerDistance, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } @@ -278246,13 +287845,13 @@ extension RouteDiscoverySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes public static func ==(lhs: RouteDiscoverySettingsProto, rhs: RouteDiscoverySettingsProto) -> Bool { if lhs.nearbyVisibleRadiusMeters != rhs.nearbyVisibleRadiusMeters {return false} if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} - if lhs.obFloat != rhs.obFloat {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obFloat1 != rhs.obFloat1 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obInt323 != rhs.obInt323 {return false} - if lhs.obInt324 != rhs.obInt324 {return false} + if lhs.popularRoutesFraction != rhs.popularRoutesFraction {return false} + if lhs.newRouteThreshold != rhs.newRouteThreshold {return false} + if lhs.maxRoutesViewable != rhs.maxRoutesViewable {return false} + if lhs.maxClientMapPanningDistanceMeters != rhs.maxClientMapPanningDistanceMeters {return false} + if lhs.routeDiscoveryFilteringMaxPoiDistance != rhs.routeDiscoveryFilteringMaxPoiDistance {return false} + if lhs.routeDiscoveryFilteringMinPoiDistance != rhs.routeDiscoveryFilteringMinPoiDistance {return false} + if lhs.routeDiscoveryFilteringMaxPlayerDistance != rhs.routeDiscoveryFilteringMaxPlayerDistance {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -278353,11 +287952,11 @@ extension RouteGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag 2: .standard(proto: "enable_poi_detail_caching"), 3: .standard(proto: "enable_route_play"), 4: .standard(proto: "enable_route_tappables"), - 5: .standard(proto: "route_ratio"), - 6: .standard(proto: "ob_float"), + 5: .standard(proto: "max_client_nearby_map_panning_distance_meters"), + 6: .standard(proto: "distance_to_resume_route_meters"), 7: .standard(proto: "minimum_client_version"), - 8: .standard(proto: "ob_string"), - 9: .standard(proto: "ob_string_1"), + 8: .standard(proto: "minimum_client_version_to_play"), + 9: .standard(proto: "minimum_client_version_to_create"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -278370,11 +287969,11 @@ extension RouteGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag case 2: try { try decoder.decodeSingularBoolField(value: &self.enablePoiDetailCaching) }() case 3: try { try decoder.decodeSingularBoolField(value: &self.enableRoutePlay) }() case 4: try { try decoder.decodeSingularBoolField(value: &self.enableRouteTappables) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.routeRatio) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.maxClientNearbyMapPanningDistanceMeters) }() + case 6: try { try decoder.decodeSingularFloatField(value: &self.distanceToResumeRouteMeters) }() case 7: try { try decoder.decodeSingularStringField(value: &self.minimumClientVersion) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.obString1) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.minimumClientVersionToPlay) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.minimumClientVersionToCreate) }() default: break } } @@ -278393,20 +287992,20 @@ extension RouteGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if self.enableRouteTappables != false { try visitor.visitSingularBoolField(value: self.enableRouteTappables, fieldNumber: 4) } - if self.routeRatio != 0 { - try visitor.visitSingularFloatField(value: self.routeRatio, fieldNumber: 5) + if self.maxClientNearbyMapPanningDistanceMeters != 0 { + try visitor.visitSingularFloatField(value: self.maxClientNearbyMapPanningDistanceMeters, fieldNumber: 5) } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 6) + if self.distanceToResumeRouteMeters != 0 { + try visitor.visitSingularFloatField(value: self.distanceToResumeRouteMeters, fieldNumber: 6) } if !self.minimumClientVersion.isEmpty { try visitor.visitSingularStringField(value: self.minimumClientVersion, fieldNumber: 7) } - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 8) + if !self.minimumClientVersionToPlay.isEmpty { + try visitor.visitSingularStringField(value: self.minimumClientVersionToPlay, fieldNumber: 8) } - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 9) + if !self.minimumClientVersionToCreate.isEmpty { + try visitor.visitSingularStringField(value: self.minimumClientVersionToCreate, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } @@ -278416,11 +288015,11 @@ extension RouteGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if lhs.enablePoiDetailCaching != rhs.enablePoiDetailCaching {return false} if lhs.enableRoutePlay != rhs.enableRoutePlay {return false} if lhs.enableRouteTappables != rhs.enableRouteTappables {return false} - if lhs.routeRatio != rhs.routeRatio {return false} - if lhs.obFloat != rhs.obFloat {return false} + if lhs.maxClientNearbyMapPanningDistanceMeters != rhs.maxClientNearbyMapPanningDistanceMeters {return false} + if lhs.distanceToResumeRouteMeters != rhs.distanceToResumeRouteMeters {return false} if lhs.minimumClientVersion != rhs.minimumClientVersion {return false} - if lhs.obString != rhs.obString {return false} - if lhs.obString1 != rhs.obString1 {return false} + if lhs.minimumClientVersionToPlay != rhs.minimumClientVersionToPlay {return false} + if lhs.minimumClientVersionToCreate != rhs.minimumClientVersionToCreate {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -278464,10 +288063,10 @@ extension RouteImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen } } -extension RouteMakerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RouteMakerProto" +extension RouteNearbyNotifShownOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RouteNearbyNotifShownOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "route"), + 1: .same(proto: "result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -278476,21 +288075,130 @@ extension RouteMakerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.route) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.route.isEmpty { - try visitor.visitRepeatedMessageField(value: self.route, fieldNumber: 1) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RouteMakerProto, rhs: RouteMakerProto) -> Bool { - if lhs.route != rhs.route {return false} + public static func ==(lhs: RouteNearbyNotifShownOutProto, rhs: RouteNearbyNotifShownOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension RouteNearbyNotifShownOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension RouteNearbyNotifShownProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RouteNearbyNotifShownProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RouteNearbyNotifShownProto, rhs: RouteNearbyNotifShownProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension RouteNpcGiftSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RouteNpcGiftSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "max_nearby_poi_count"), + 2: .standard(proto: "max_s2_cell_query_count"), + 3: .standard(proto: "max_nearby_poi_distance_meters"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.maxNearbyPoiCount) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxS2CellQueryCount) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxNearbyPoiDistanceMeters) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.maxNearbyPoiCount != 0 { + try visitor.visitSingularInt32Field(value: self.maxNearbyPoiCount, fieldNumber: 1) + } + if self.maxS2CellQueryCount != 0 { + try visitor.visitSingularInt32Field(value: self.maxS2CellQueryCount, fieldNumber: 2) + } + if self.maxNearbyPoiDistanceMeters != 0 { + try visitor.visitSingularInt32Field(value: self.maxNearbyPoiDistanceMeters, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RouteNpcGiftSettingsProto, rhs: RouteNpcGiftSettingsProto) -> Bool { + if lhs.maxNearbyPoiCount != rhs.maxNearbyPoiCount {return false} + if lhs.maxS2CellQueryCount != rhs.maxS2CellQueryCount {return false} + if lhs.maxNearbyPoiDistanceMeters != rhs.maxNearbyPoiDistanceMeters {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension RoutePathEditParamsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RoutePathEditParamsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + 2: .standard(proto: "use_auto_editing"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.useAutoEditing) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.useAutoEditing != false { + try visitor.visitSingularBoolField(value: self.useAutoEditing, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RoutePathEditParamsProto, rhs: RoutePathEditParamsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.useAutoEditing != rhs.useAutoEditing {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -278499,14 +288207,14 @@ extension RouteMakerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen extension RoutePin: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RoutePin" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 12: .standard(proto: "pin_id"), - 10: .standard(proto: "pin_tag"), - 11: .standard(proto: "frame_id"), 2: .standard(proto: "lat_degrees"), 3: .standard(proto: "lng_degrees"), 7: .standard(proto: "creator_info"), 8: .standard(proto: "last_updated_timestamp_ms"), 9: .standard(proto: "like_vote_total"), + 10: .standard(proto: "pin_tag"), + 11: .standard(proto: "frame_id"), + 12: .standard(proto: "pin_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -278561,14 +288269,76 @@ extension RoutePin: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB } public static func ==(lhs: RoutePin, rhs: RoutePin) -> Bool { - if lhs.pinID != rhs.pinID {return false} - if lhs.pinTag != rhs.pinTag {return false} - if lhs.frameID != rhs.frameID {return false} if lhs.latDegrees != rhs.latDegrees {return false} if lhs.lngDegrees != rhs.lngDegrees {return false} if lhs._creatorInfo != rhs._creatorInfo {return false} if lhs.lastUpdatedTimestampMs != rhs.lastUpdatedTimestampMs {return false} if lhs.likeVoteTotal != rhs.likeVoteTotal {return false} + if lhs.pinTag != rhs.pinTag {return false} + if lhs.frameID != rhs.frameID {return false} + if lhs.pinID != rhs.pinID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension RoutePinSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RoutePinSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "max_pins_per_route"), + 2: .standard(proto: "max_distance_from_route_m"), + 3: .standard(proto: "min_distance_between_pins_m"), + 4: .standard(proto: "pin_tag"), + 5: .standard(proto: "frame_id"), + 6: .standard(proto: "pin_report_reason"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.maxPinsPerRoute) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.maxDistanceFromRouteM) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.minDistanceBetweenPinsM) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.pinTag) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &self.frameID) }() + case 6: try { try decoder.decodeRepeatedStringField(value: &self.pinReportReason) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.maxPinsPerRoute != 0 { + try visitor.visitSingularInt32Field(value: self.maxPinsPerRoute, fieldNumber: 1) + } + if self.maxDistanceFromRouteM != 0 { + try visitor.visitSingularFloatField(value: self.maxDistanceFromRouteM, fieldNumber: 2) + } + if self.minDistanceBetweenPinsM != 0 { + try visitor.visitSingularFloatField(value: self.minDistanceBetweenPinsM, fieldNumber: 3) + } + if !self.pinTag.isEmpty { + try visitor.visitRepeatedStringField(value: self.pinTag, fieldNumber: 4) + } + if !self.frameID.isEmpty { + try visitor.visitRepeatedStringField(value: self.frameID, fieldNumber: 5) + } + if !self.pinReportReason.isEmpty { + try visitor.visitRepeatedStringField(value: self.pinReportReason, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RoutePinSettingsProto, rhs: RoutePinSettingsProto) -> Bool { + if lhs.maxPinsPerRoute != rhs.maxPinsPerRoute {return false} + if lhs.maxDistanceFromRouteM != rhs.maxDistanceFromRouteM {return false} + if lhs.minDistanceBetweenPinsM != rhs.minDistanceBetweenPinsM {return false} + if lhs.pinTag != rhs.pinTag {return false} + if lhs.frameID != rhs.frameID {return false} + if lhs.pinReportReason != rhs.pinReportReason {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -278577,8 +288347,6 @@ extension RoutePin: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RoutePlayProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 19: .same(proto: "route"), - 20: .standard(proto: "player_breadcrumbs"), 10: .standard(proto: "play_version"), 11: .standard(proto: "expiration_time_ms"), 12: .standard(proto: "start_time_ms"), @@ -278587,6 +288355,8 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement 16: .same(proto: "paused"), 17: .standard(proto: "acquired_reward"), 18: .standard(proto: "has_rated"), + 19: .same(proto: "route"), + 20: .standard(proto: "player_breadcrumbs"), 21: .standard(proto: "last_progress_time_ms"), 22: .standard(proto: "is_first_time"), 23: .standard(proto: "active_bonuses"), @@ -278595,11 +288365,10 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement 26: .standard(proto: "spawned_tappables"), 27: .standard(proto: "travel_in_reverse"), 28: .standard(proto: "is_first_travel_today"), + 29: .standard(proto: "npc_encounter"), ] fileprivate class _StorageClass { - var _route: SharedRouteProto? = nil - var _playerBreadcrumbs: [RouteWaypointProto] = [] var _playVersion: Int32 = 0 var _expirationTimeMs: Int64 = 0 var _startTimeMs: Int64 = 0 @@ -278608,6 +288377,8 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement var _paused: Bool = false var _acquiredReward: Bool = false var _hasRated_p: Bool = false + var _route: SharedRouteProto? = nil + var _playerBreadcrumbs: [RouteWaypointProto] = [] var _lastProgressTimeMs: Int64 = 0 var _isFirstTime: Bool = false var _activeBonuses: [BonusBoxProto] = [] @@ -278616,14 +288387,13 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement var _spawnedTappables: [Tappable] = [] var _travelInReverse: Bool = false var _isFirstTravelToday: Bool = false + var _npcEncounter: NpcEncounterProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _route = source._route - _playerBreadcrumbs = source._playerBreadcrumbs _playVersion = source._playVersion _expirationTimeMs = source._expirationTimeMs _startTimeMs = source._startTimeMs @@ -278632,6 +288402,8 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement _paused = source._paused _acquiredReward = source._acquiredReward _hasRated_p = source._hasRated_p + _route = source._route + _playerBreadcrumbs = source._playerBreadcrumbs _lastProgressTimeMs = source._lastProgressTimeMs _isFirstTime = source._isFirstTime _activeBonuses = source._activeBonuses @@ -278640,6 +288412,7 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement _spawnedTappables = source._spawnedTappables _travelInReverse = source._travelInReverse _isFirstTravelToday = source._isFirstTravelToday + _npcEncounter = source._npcEncounter } } @@ -278676,6 +288449,7 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement case 26: try { try decoder.decodeRepeatedMessageField(value: &_storage._spawnedTappables) }() case 27: try { try decoder.decodeSingularBoolField(value: &_storage._travelInReverse) }() case 28: try { try decoder.decodeSingularBoolField(value: &_storage._isFirstTravelToday) }() + case 29: try { try decoder.decodeSingularMessageField(value: &_storage._npcEncounter) }() default: break } } @@ -278742,6 +288516,9 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement if _storage._isFirstTravelToday != false { try visitor.visitSingularBoolField(value: _storage._isFirstTravelToday, fieldNumber: 28) } + try { if let v = _storage._npcEncounter { + try visitor.visitSingularMessageField(value: v, fieldNumber: 29) + } }() } try unknownFields.traverse(visitor: &visitor) } @@ -278751,8 +288528,6 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._route != rhs_storage._route {return false} - if _storage._playerBreadcrumbs != rhs_storage._playerBreadcrumbs {return false} if _storage._playVersion != rhs_storage._playVersion {return false} if _storage._expirationTimeMs != rhs_storage._expirationTimeMs {return false} if _storage._startTimeMs != rhs_storage._startTimeMs {return false} @@ -278761,6 +288536,8 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement if _storage._paused != rhs_storage._paused {return false} if _storage._acquiredReward != rhs_storage._acquiredReward {return false} if _storage._hasRated_p != rhs_storage._hasRated_p {return false} + if _storage._route != rhs_storage._route {return false} + if _storage._playerBreadcrumbs != rhs_storage._playerBreadcrumbs {return false} if _storage._lastProgressTimeMs != rhs_storage._lastProgressTimeMs {return false} if _storage._isFirstTime != rhs_storage._isFirstTime {return false} if _storage._activeBonuses != rhs_storage._activeBonuses {return false} @@ -278769,6 +288546,7 @@ extension RoutePlayProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement if _storage._spawnedTappables != rhs_storage._spawnedTappables {return false} if _storage._travelInReverse != rhs_storage._travelInReverse {return false} if _storage._isFirstTravelToday != rhs_storage._isFirstTravelToday {return false} + if _storage._npcEncounter != rhs_storage._npcEncounter {return false} return true } if !storagesAreEqual {return false} @@ -278784,44 +288562,46 @@ extension RoutePlaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI 1: .standard(proto: "min_player_level"), 2: .standard(proto: "route_cooldown_minutes"), 3: .standard(proto: "route_expiration_minutes"), - 4: .standard(proto: "route_pause_distance_m"), - 5: .standard(proto: "ob_int32_1"), - 6: .standard(proto: "ob_int32_2"), - 7: .standard(proto: "ob_float_1"), - 8: .standard(proto: "ob_float_2"), - 9: .standard(proto: "ob_float_3"), - 13: .standard(proto: "ob_event_list_1"), - 14: .standard(proto: "ob_event_list_2"), - 15: .standard(proto: "ob_int32_list_1"), - 16: .standard(proto: "ob_int32_list_2"), - 17: .standard(proto: "ob_int32_3"), - 18: .standard(proto: "ob_int32_4"), - 19: .standard(proto: "ob_float_4"), - 20: .standard(proto: "ob_int32_5"), - 21: .standard(proto: "ob_int32_6"), - 22: .standard(proto: "ob_int32_7"), + 4: .standard(proto: "route_puase_distance_m"), + 5: .standard(proto: "pause_distance_meters"), + 6: .standard(proto: "pause_duration_s"), + 7: .standard(proto: "incense_time_between_encounter_multiplier"), + 8: .standard(proto: "buddy_total_candy_distance_multiplier"), + 9: .standard(proto: "buddy_gift_cooldown_duration_multiplier"), + 13: .standard(proto: "all_route_bonuses"), + 14: .standard(proto: "new_route_bonuses"), + 15: .standard(proto: "badge_xp_bonus"), + 16: .standard(proto: "badge_item_bonus"), + 17: .standard(proto: "bonus_active_distance_threshold_meters"), + 18: .standard(proto: "player_breadcrumb_trail_max_count"), + 19: .standard(proto: "margin_percentage"), + 20: .standard(proto: "margin_minimum_meters"), + 21: .standard(proto: "resume_range_meters"), + 22: .standard(proto: "route_engagement_stats_shard_count"), + 23: .standard(proto: "npc_visual_spawn_range_meters"), ] fileprivate class _StorageClass { var _minPlayerLevel: Int32 = 0 var _routeCooldownMinutes: Int32 = 0 var _routeExpirationMinutes: Int32 = 0 - var _routePauseDistanceM: Int32 = 0 - var _obInt321: Int32 = 0 - var _obInt322: Int32 = 0 - var _obFloat1: Float = 0 - var _obFloat2: Float = 0 - var _obFloat3: Float = 0 - var _obEventList1: [BonusBoxProto] = [] - var _obEventList2: [BonusBoxProto] = [] - var _obInt32List1: [Int32] = [] - var _obInt32List2: [Int32] = [] - var _obInt323: Int32 = 0 - var _obInt324: Int32 = 0 - var _obFloat4: Float = 0 - var _obInt325: Int32 = 0 - var _obInt326: Int32 = 0 - var _obInt327: Int32 = 0 + var _routePuaseDistanceM: Int32 = 0 + var _pauseDistanceMeters: Int32 = 0 + var _pauseDurationS: Int32 = 0 + var _incenseTimeBetweenEncounterMultiplier: Float = 0 + var _buddyTotalCandyDistanceMultiplier: Float = 0 + var _buddyGiftCooldownDurationMultiplier: Float = 0 + var _allRouteBonuses: [BonusBoxProto] = [] + var _newRouteBonuses: [BonusBoxProto] = [] + var _badgeXpBonus: [Int32] = [] + var _badgeItemBonus: [Int32] = [] + var _bonusActiveDistanceThresholdMeters: Int32 = 0 + var _playerBreadcrumbTrailMaxCount: Int32 = 0 + var _marginPercentage: Float = 0 + var _marginMinimumMeters: Int32 = 0 + var _resumeRangeMeters: Int32 = 0 + var _routeEngagementStatsShardCount: Int32 = 0 + var _npcVisualSpawnRangeMeters: Int32 = 0 static let defaultInstance = _StorageClass() @@ -278831,22 +288611,23 @@ extension RoutePlaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI _minPlayerLevel = source._minPlayerLevel _routeCooldownMinutes = source._routeCooldownMinutes _routeExpirationMinutes = source._routeExpirationMinutes - _routePauseDistanceM = source._routePauseDistanceM - _obInt321 = source._obInt321 - _obInt322 = source._obInt322 - _obFloat1 = source._obFloat1 - _obFloat2 = source._obFloat2 - _obFloat3 = source._obFloat3 - _obEventList1 = source._obEventList1 - _obEventList2 = source._obEventList2 - _obInt32List1 = source._obInt32List1 - _obInt32List2 = source._obInt32List2 - _obInt323 = source._obInt323 - _obInt324 = source._obInt324 - _obFloat4 = source._obFloat4 - _obInt325 = source._obInt325 - _obInt326 = source._obInt326 - _obInt327 = source._obInt327 + _routePuaseDistanceM = source._routePuaseDistanceM + _pauseDistanceMeters = source._pauseDistanceMeters + _pauseDurationS = source._pauseDurationS + _incenseTimeBetweenEncounterMultiplier = source._incenseTimeBetweenEncounterMultiplier + _buddyTotalCandyDistanceMultiplier = source._buddyTotalCandyDistanceMultiplier + _buddyGiftCooldownDurationMultiplier = source._buddyGiftCooldownDurationMultiplier + _allRouteBonuses = source._allRouteBonuses + _newRouteBonuses = source._newRouteBonuses + _badgeXpBonus = source._badgeXpBonus + _badgeItemBonus = source._badgeItemBonus + _bonusActiveDistanceThresholdMeters = source._bonusActiveDistanceThresholdMeters + _playerBreadcrumbTrailMaxCount = source._playerBreadcrumbTrailMaxCount + _marginPercentage = source._marginPercentage + _marginMinimumMeters = source._marginMinimumMeters + _resumeRangeMeters = source._resumeRangeMeters + _routeEngagementStatsShardCount = source._routeEngagementStatsShardCount + _npcVisualSpawnRangeMeters = source._npcVisualSpawnRangeMeters } } @@ -278868,22 +288649,23 @@ extension RoutePlaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._minPlayerLevel) }() case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._routeCooldownMinutes) }() case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._routeExpirationMinutes) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._routePauseDistanceM) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt322) }() - case 7: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat1) }() - case 8: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat2) }() - case 9: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat3) }() - case 13: try { try decoder.decodeRepeatedMessageField(value: &_storage._obEventList1) }() - case 14: try { try decoder.decodeRepeatedMessageField(value: &_storage._obEventList2) }() - case 15: try { try decoder.decodeRepeatedInt32Field(value: &_storage._obInt32List1) }() - case 16: try { try decoder.decodeRepeatedInt32Field(value: &_storage._obInt32List2) }() - case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt323) }() - case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt324) }() - case 19: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat4) }() - case 20: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt325) }() - case 21: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt326) }() - case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt327) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._routePuaseDistanceM) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._pauseDistanceMeters) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &_storage._pauseDurationS) }() + case 7: try { try decoder.decodeSingularFloatField(value: &_storage._incenseTimeBetweenEncounterMultiplier) }() + case 8: try { try decoder.decodeSingularFloatField(value: &_storage._buddyTotalCandyDistanceMultiplier) }() + case 9: try { try decoder.decodeSingularFloatField(value: &_storage._buddyGiftCooldownDurationMultiplier) }() + case 13: try { try decoder.decodeRepeatedMessageField(value: &_storage._allRouteBonuses) }() + case 14: try { try decoder.decodeRepeatedMessageField(value: &_storage._newRouteBonuses) }() + case 15: try { try decoder.decodeRepeatedInt32Field(value: &_storage._badgeXpBonus) }() + case 16: try { try decoder.decodeRepeatedInt32Field(value: &_storage._badgeItemBonus) }() + case 17: try { try decoder.decodeSingularInt32Field(value: &_storage._bonusActiveDistanceThresholdMeters) }() + case 18: try { try decoder.decodeSingularInt32Field(value: &_storage._playerBreadcrumbTrailMaxCount) }() + case 19: try { try decoder.decodeSingularFloatField(value: &_storage._marginPercentage) }() + case 20: try { try decoder.decodeSingularInt32Field(value: &_storage._marginMinimumMeters) }() + case 21: try { try decoder.decodeSingularInt32Field(value: &_storage._resumeRangeMeters) }() + case 22: try { try decoder.decodeSingularInt32Field(value: &_storage._routeEngagementStatsShardCount) }() + case 23: try { try decoder.decodeSingularInt32Field(value: &_storage._npcVisualSpawnRangeMeters) }() default: break } } @@ -278901,53 +288683,56 @@ extension RoutePlaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if _storage._routeExpirationMinutes != 0 { try visitor.visitSingularInt32Field(value: _storage._routeExpirationMinutes, fieldNumber: 3) } - if _storage._routePauseDistanceM != 0 { - try visitor.visitSingularInt32Field(value: _storage._routePauseDistanceM, fieldNumber: 4) + if _storage._routePuaseDistanceM != 0 { + try visitor.visitSingularInt32Field(value: _storage._routePuaseDistanceM, fieldNumber: 4) } - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 5) + if _storage._pauseDistanceMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._pauseDistanceMeters, fieldNumber: 5) } - if _storage._obInt322 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt322, fieldNumber: 6) + if _storage._pauseDurationS != 0 { + try visitor.visitSingularInt32Field(value: _storage._pauseDurationS, fieldNumber: 6) } - if _storage._obFloat1 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat1, fieldNumber: 7) + if _storage._incenseTimeBetweenEncounterMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._incenseTimeBetweenEncounterMultiplier, fieldNumber: 7) } - if _storage._obFloat2 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat2, fieldNumber: 8) + if _storage._buddyTotalCandyDistanceMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._buddyTotalCandyDistanceMultiplier, fieldNumber: 8) } - if _storage._obFloat3 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat3, fieldNumber: 9) + if _storage._buddyGiftCooldownDurationMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._buddyGiftCooldownDurationMultiplier, fieldNumber: 9) } - if !_storage._obEventList1.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._obEventList1, fieldNumber: 13) + if !_storage._allRouteBonuses.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._allRouteBonuses, fieldNumber: 13) } - if !_storage._obEventList2.isEmpty { - try visitor.visitRepeatedMessageField(value: _storage._obEventList2, fieldNumber: 14) + if !_storage._newRouteBonuses.isEmpty { + try visitor.visitRepeatedMessageField(value: _storage._newRouteBonuses, fieldNumber: 14) } - if !_storage._obInt32List1.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._obInt32List1, fieldNumber: 15) + if !_storage._badgeXpBonus.isEmpty { + try visitor.visitPackedInt32Field(value: _storage._badgeXpBonus, fieldNumber: 15) } - if !_storage._obInt32List2.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._obInt32List2, fieldNumber: 16) + if !_storage._badgeItemBonus.isEmpty { + try visitor.visitPackedInt32Field(value: _storage._badgeItemBonus, fieldNumber: 16) } - if _storage._obInt323 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt323, fieldNumber: 17) + if _storage._bonusActiveDistanceThresholdMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._bonusActiveDistanceThresholdMeters, fieldNumber: 17) } - if _storage._obInt324 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt324, fieldNumber: 18) + if _storage._playerBreadcrumbTrailMaxCount != 0 { + try visitor.visitSingularInt32Field(value: _storage._playerBreadcrumbTrailMaxCount, fieldNumber: 18) } - if _storage._obFloat4 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat4, fieldNumber: 19) + if _storage._marginPercentage != 0 { + try visitor.visitSingularFloatField(value: _storage._marginPercentage, fieldNumber: 19) } - if _storage._obInt325 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt325, fieldNumber: 20) + if _storage._marginMinimumMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._marginMinimumMeters, fieldNumber: 20) } - if _storage._obInt326 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt326, fieldNumber: 21) + if _storage._resumeRangeMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._resumeRangeMeters, fieldNumber: 21) } - if _storage._obInt327 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt327, fieldNumber: 22) + if _storage._routeEngagementStatsShardCount != 0 { + try visitor.visitSingularInt32Field(value: _storage._routeEngagementStatsShardCount, fieldNumber: 22) + } + if _storage._npcVisualSpawnRangeMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._npcVisualSpawnRangeMeters, fieldNumber: 23) } } try unknownFields.traverse(visitor: &visitor) @@ -278961,22 +288746,23 @@ extension RoutePlaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if _storage._minPlayerLevel != rhs_storage._minPlayerLevel {return false} if _storage._routeCooldownMinutes != rhs_storage._routeCooldownMinutes {return false} if _storage._routeExpirationMinutes != rhs_storage._routeExpirationMinutes {return false} - if _storage._routePauseDistanceM != rhs_storage._routePauseDistanceM {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obInt322 != rhs_storage._obInt322 {return false} - if _storage._obFloat1 != rhs_storage._obFloat1 {return false} - if _storage._obFloat2 != rhs_storage._obFloat2 {return false} - if _storage._obFloat3 != rhs_storage._obFloat3 {return false} - if _storage._obEventList1 != rhs_storage._obEventList1 {return false} - if _storage._obEventList2 != rhs_storage._obEventList2 {return false} - if _storage._obInt32List1 != rhs_storage._obInt32List1 {return false} - if _storage._obInt32List2 != rhs_storage._obInt32List2 {return false} - if _storage._obInt323 != rhs_storage._obInt323 {return false} - if _storage._obInt324 != rhs_storage._obInt324 {return false} - if _storage._obFloat4 != rhs_storage._obFloat4 {return false} - if _storage._obInt325 != rhs_storage._obInt325 {return false} - if _storage._obInt326 != rhs_storage._obInt326 {return false} - if _storage._obInt327 != rhs_storage._obInt327 {return false} + if _storage._routePuaseDistanceM != rhs_storage._routePuaseDistanceM {return false} + if _storage._pauseDistanceMeters != rhs_storage._pauseDistanceMeters {return false} + if _storage._pauseDurationS != rhs_storage._pauseDurationS {return false} + if _storage._incenseTimeBetweenEncounterMultiplier != rhs_storage._incenseTimeBetweenEncounterMultiplier {return false} + if _storage._buddyTotalCandyDistanceMultiplier != rhs_storage._buddyTotalCandyDistanceMultiplier {return false} + if _storage._buddyGiftCooldownDurationMultiplier != rhs_storage._buddyGiftCooldownDurationMultiplier {return false} + if _storage._allRouteBonuses != rhs_storage._allRouteBonuses {return false} + if _storage._newRouteBonuses != rhs_storage._newRouteBonuses {return false} + if _storage._badgeXpBonus != rhs_storage._badgeXpBonus {return false} + if _storage._badgeItemBonus != rhs_storage._badgeItemBonus {return false} + if _storage._bonusActiveDistanceThresholdMeters != rhs_storage._bonusActiveDistanceThresholdMeters {return false} + if _storage._playerBreadcrumbTrailMaxCount != rhs_storage._playerBreadcrumbTrailMaxCount {return false} + if _storage._marginPercentage != rhs_storage._marginPercentage {return false} + if _storage._marginMinimumMeters != rhs_storage._marginMinimumMeters {return false} + if _storage._resumeRangeMeters != rhs_storage._resumeRangeMeters {return false} + if _storage._routeEngagementStatsShardCount != rhs_storage._routeEngagementStatsShardCount {return false} + if _storage._npcVisualSpawnRangeMeters != rhs_storage._npcVisualSpawnRangeMeters {return false} return true } if !storagesAreEqual {return false} @@ -278986,6 +288772,50 @@ extension RoutePlaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI } } +extension RoutePlaySpawnSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RoutePlaySpawnSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "min_distance_between_route_encounters_m"), + 2: .standard(proto: "route_spawn_table"), + 3: .standard(proto: "route_spawn_table_probability"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minDistanceBetweenRouteEncountersM) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.routeSpawnTable) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.routeSpawnTableProbability) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.minDistanceBetweenRouteEncountersM != 0 { + try visitor.visitSingularInt32Field(value: self.minDistanceBetweenRouteEncountersM, fieldNumber: 1) + } + if !self.routeSpawnTable.isEmpty { + try visitor.visitRepeatedMessageField(value: self.routeSpawnTable, fieldNumber: 2) + } + if self.routeSpawnTableProbability != 0 { + try visitor.visitSingularFloatField(value: self.routeSpawnTableProbability, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RoutePlaySpawnSettingsProto, rhs: RoutePlaySpawnSettingsProto) -> Bool { + if lhs.minDistanceBetweenRouteEncountersM != rhs.minDistanceBetweenRouteEncountersM {return false} + if lhs.routeSpawnTable != rhs.routeSpawnTable {return false} + if lhs.routeSpawnTableProbability != rhs.routeSpawnTableProbability {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension RoutePlayStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RoutePlayStatus" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() @@ -279136,6 +288966,56 @@ extension RouteSimplificationAlgorithm.SimplificationAlgorithm: SwiftProtobuf._P ] } +extension RouteSmoothingParamsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RouteSmoothingParamsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + 2: .standard(proto: "num_breadcrumbs_to_compute_mean"), + 3: .standard(proto: "max_distance_threshold_from_extrapolated_point"), + 4: .standard(proto: "mean_vector_blend_ratio"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numBreadcrumbsToComputeMean) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxDistanceThresholdFromExtrapolatedPoint) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.meanVectorBlendRatio) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.numBreadcrumbsToComputeMean != 0 { + try visitor.visitSingularInt32Field(value: self.numBreadcrumbsToComputeMean, fieldNumber: 2) + } + if self.maxDistanceThresholdFromExtrapolatedPoint != 0 { + try visitor.visitSingularInt32Field(value: self.maxDistanceThresholdFromExtrapolatedPoint, fieldNumber: 3) + } + if self.meanVectorBlendRatio != 0 { + try visitor.visitSingularFloatField(value: self.meanVectorBlendRatio, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RouteSmoothingParamsProto, rhs: RouteSmoothingParamsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.numBreadcrumbsToComputeMean != rhs.numBreadcrumbsToComputeMean {return false} + if lhs.maxDistanceThresholdFromExtrapolatedPoint != rhs.maxDistanceThresholdFromExtrapolatedPoint {return false} + if lhs.meanVectorBlendRatio != rhs.meanVectorBlendRatio {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension RouteStamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RouteStamp" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -279217,11 +289097,11 @@ extension RouteStamp.TypeEnum: SwiftProtobuf._ProtoNameProviding { extension RouteStampCategorySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RouteStampCategorySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), + 1: .standard(proto: "asset_id"), 2: .same(proto: "category"), - 3: .standard(proto: "ob_int32"), + 3: .standard(proto: "collection_size"), 4: .standard(proto: "sort_order"), - 5: .standard(proto: "is_route_stamp_category_default"), + 5: .same(proto: "active"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -279230,41 +289110,41 @@ extension RouteStampCategorySettingsProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.assetID) }() case 2: try { try decoder.decodeSingularStringField(value: &self.category) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.collectionSize) }() case 4: try { try decoder.decodeSingularInt32Field(value: &self.sortOrder) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.isRouteStampCategoryDefault) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.active) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + if !self.assetID.isEmpty { + try visitor.visitSingularStringField(value: self.assetID, fieldNumber: 1) } if !self.category.isEmpty { try visitor.visitSingularStringField(value: self.category, fieldNumber: 2) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 3) + if self.collectionSize != 0 { + try visitor.visitSingularInt32Field(value: self.collectionSize, fieldNumber: 3) } if self.sortOrder != 0 { try visitor.visitSingularInt32Field(value: self.sortOrder, fieldNumber: 4) } - if self.isRouteStampCategoryDefault != false { - try visitor.visitSingularBoolField(value: self.isRouteStampCategoryDefault, fieldNumber: 5) + if self.active != false { + try visitor.visitSingularBoolField(value: self.active, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: RouteStampCategorySettingsProto, rhs: RouteStampCategorySettingsProto) -> Bool { - if lhs.obString != rhs.obString {return false} + if lhs.assetID != rhs.assetID {return false} if lhs.category != rhs.category {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + if lhs.collectionSize != rhs.collectionSize {return false} if lhs.sortOrder != rhs.sortOrder {return false} - if lhs.isRouteStampCategoryDefault != rhs.isRouteStampCategoryDefault {return false} + if lhs.active != rhs.active {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -279286,96 +289166,184 @@ extension RouteStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio 12: .standard(proto: "weekly_num_completions"), 13: .standard(proto: "total_distance_travelled_meters"), 14: .standard(proto: "weekly_distance_travelled_meters"), + 15: .standard(proto: "last_synced_time_ms"), + 16: .standard(proto: "num_name_or_description_issues"), + 17: .standard(proto: "num_shape_issues"), + 18: .standard(proto: "num_connectivity_issues"), ] + fileprivate class _StorageClass { + var _numCompletions: Int64 = 0 + var _routeLevel: Int64 = 0 + var _numFiveStars: Int64 = 0 + var _numFourStars: Int64 = 0 + var _numThreeStars: Int64 = 0 + var _numTwoStars: Int64 = 0 + var _numOneStars: Int64 = 0 + var _numRatings: Int64 = 0 + var _firstPlayedTimeMs: Int64 = 0 + var _lastPlayedTimeMs: Int64 = 0 + var _weeklyNumCompletions: Int64 = 0 + var _totalDistanceTravelledMeters: Double = 0 + var _weeklyDistanceTravelledMeters: Double = 0 + var _lastSyncedTimeMs: Int64 = 0 + var _numNameOrDescriptionIssues: Int64 = 0 + var _numShapeIssues: Int64 = 0 + var _numConnectivityIssues: Int64 = 0 + + static let defaultInstance = _StorageClass() + + private init() {} + + init(copying source: _StorageClass) { + _numCompletions = source._numCompletions + _routeLevel = source._routeLevel + _numFiveStars = source._numFiveStars + _numFourStars = source._numFourStars + _numThreeStars = source._numThreeStars + _numTwoStars = source._numTwoStars + _numOneStars = source._numOneStars + _numRatings = source._numRatings + _firstPlayedTimeMs = source._firstPlayedTimeMs + _lastPlayedTimeMs = source._lastPlayedTimeMs + _weeklyNumCompletions = source._weeklyNumCompletions + _totalDistanceTravelledMeters = source._totalDistanceTravelledMeters + _weeklyDistanceTravelledMeters = source._weeklyDistanceTravelledMeters + _lastSyncedTimeMs = source._lastSyncedTimeMs + _numNameOrDescriptionIssues = source._numNameOrDescriptionIssues + _numShapeIssues = source._numShapeIssues + _numConnectivityIssues = source._numConnectivityIssues + } + } + + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage + } + public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 2: try { try decoder.decodeSingularInt64Field(value: &self.numCompletions) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.routeLevel) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.numFiveStars) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.numFourStars) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.numThreeStars) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.numTwoStars) }() - case 8: try { try decoder.decodeSingularInt64Field(value: &self.numOneStars) }() - case 9: try { try decoder.decodeSingularInt64Field(value: &self.numRatings) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &self.firstPlayedTimeMs) }() - case 11: try { try decoder.decodeSingularInt64Field(value: &self.lastPlayedTimeMs) }() - case 12: try { try decoder.decodeSingularInt64Field(value: &self.weeklyNumCompletions) }() - case 13: try { try decoder.decodeSingularDoubleField(value: &self.totalDistanceTravelledMeters) }() - case 14: try { try decoder.decodeSingularDoubleField(value: &self.weeklyDistanceTravelledMeters) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 2: try { try decoder.decodeSingularInt64Field(value: &_storage._numCompletions) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &_storage._routeLevel) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &_storage._numFiveStars) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &_storage._numFourStars) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &_storage._numThreeStars) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &_storage._numTwoStars) }() + case 8: try { try decoder.decodeSingularInt64Field(value: &_storage._numOneStars) }() + case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._numRatings) }() + case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._firstPlayedTimeMs) }() + case 11: try { try decoder.decodeSingularInt64Field(value: &_storage._lastPlayedTimeMs) }() + case 12: try { try decoder.decodeSingularInt64Field(value: &_storage._weeklyNumCompletions) }() + case 13: try { try decoder.decodeSingularDoubleField(value: &_storage._totalDistanceTravelledMeters) }() + case 14: try { try decoder.decodeSingularDoubleField(value: &_storage._weeklyDistanceTravelledMeters) }() + case 15: try { try decoder.decodeSingularInt64Field(value: &_storage._lastSyncedTimeMs) }() + case 16: try { try decoder.decodeSingularInt64Field(value: &_storage._numNameOrDescriptionIssues) }() + case 17: try { try decoder.decodeSingularInt64Field(value: &_storage._numShapeIssues) }() + case 18: try { try decoder.decodeSingularInt64Field(value: &_storage._numConnectivityIssues) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - if self.numCompletions != 0 { - try visitor.visitSingularInt64Field(value: self.numCompletions, fieldNumber: 2) - } - if self.routeLevel != 0 { - try visitor.visitSingularInt64Field(value: self.routeLevel, fieldNumber: 3) - } - if self.numFiveStars != 0 { - try visitor.visitSingularInt64Field(value: self.numFiveStars, fieldNumber: 4) - } - if self.numFourStars != 0 { - try visitor.visitSingularInt64Field(value: self.numFourStars, fieldNumber: 5) - } - if self.numThreeStars != 0 { - try visitor.visitSingularInt64Field(value: self.numThreeStars, fieldNumber: 6) - } - if self.numTwoStars != 0 { - try visitor.visitSingularInt64Field(value: self.numTwoStars, fieldNumber: 7) - } - if self.numOneStars != 0 { - try visitor.visitSingularInt64Field(value: self.numOneStars, fieldNumber: 8) - } - if self.numRatings != 0 { - try visitor.visitSingularInt64Field(value: self.numRatings, fieldNumber: 9) - } - if self.firstPlayedTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.firstPlayedTimeMs, fieldNumber: 10) - } - if self.lastPlayedTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.lastPlayedTimeMs, fieldNumber: 11) - } - if self.weeklyNumCompletions != 0 { - try visitor.visitSingularInt64Field(value: self.weeklyNumCompletions, fieldNumber: 12) - } - if self.totalDistanceTravelledMeters != 0 { - try visitor.visitSingularDoubleField(value: self.totalDistanceTravelledMeters, fieldNumber: 13) - } - if self.weeklyDistanceTravelledMeters != 0 { - try visitor.visitSingularDoubleField(value: self.weeklyDistanceTravelledMeters, fieldNumber: 14) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + if _storage._numCompletions != 0 { + try visitor.visitSingularInt64Field(value: _storage._numCompletions, fieldNumber: 2) + } + if _storage._routeLevel != 0 { + try visitor.visitSingularInt64Field(value: _storage._routeLevel, fieldNumber: 3) + } + if _storage._numFiveStars != 0 { + try visitor.visitSingularInt64Field(value: _storage._numFiveStars, fieldNumber: 4) + } + if _storage._numFourStars != 0 { + try visitor.visitSingularInt64Field(value: _storage._numFourStars, fieldNumber: 5) + } + if _storage._numThreeStars != 0 { + try visitor.visitSingularInt64Field(value: _storage._numThreeStars, fieldNumber: 6) + } + if _storage._numTwoStars != 0 { + try visitor.visitSingularInt64Field(value: _storage._numTwoStars, fieldNumber: 7) + } + if _storage._numOneStars != 0 { + try visitor.visitSingularInt64Field(value: _storage._numOneStars, fieldNumber: 8) + } + if _storage._numRatings != 0 { + try visitor.visitSingularInt64Field(value: _storage._numRatings, fieldNumber: 9) + } + if _storage._firstPlayedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._firstPlayedTimeMs, fieldNumber: 10) + } + if _storage._lastPlayedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastPlayedTimeMs, fieldNumber: 11) + } + if _storage._weeklyNumCompletions != 0 { + try visitor.visitSingularInt64Field(value: _storage._weeklyNumCompletions, fieldNumber: 12) + } + if _storage._totalDistanceTravelledMeters != 0 { + try visitor.visitSingularDoubleField(value: _storage._totalDistanceTravelledMeters, fieldNumber: 13) + } + if _storage._weeklyDistanceTravelledMeters != 0 { + try visitor.visitSingularDoubleField(value: _storage._weeklyDistanceTravelledMeters, fieldNumber: 14) + } + if _storage._lastSyncedTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastSyncedTimeMs, fieldNumber: 15) + } + if _storage._numNameOrDescriptionIssues != 0 { + try visitor.visitSingularInt64Field(value: _storage._numNameOrDescriptionIssues, fieldNumber: 16) + } + if _storage._numShapeIssues != 0 { + try visitor.visitSingularInt64Field(value: _storage._numShapeIssues, fieldNumber: 17) + } + if _storage._numConnectivityIssues != 0 { + try visitor.visitSingularInt64Field(value: _storage._numConnectivityIssues, fieldNumber: 18) + } } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: RouteStats, rhs: RouteStats) -> Bool { - if lhs.numCompletions != rhs.numCompletions {return false} - if lhs.routeLevel != rhs.routeLevel {return false} - if lhs.numFiveStars != rhs.numFiveStars {return false} - if lhs.numFourStars != rhs.numFourStars {return false} - if lhs.numThreeStars != rhs.numThreeStars {return false} - if lhs.numTwoStars != rhs.numTwoStars {return false} - if lhs.numOneStars != rhs.numOneStars {return false} - if lhs.numRatings != rhs.numRatings {return false} - if lhs.firstPlayedTimeMs != rhs.firstPlayedTimeMs {return false} - if lhs.lastPlayedTimeMs != rhs.lastPlayedTimeMs {return false} - if lhs.weeklyNumCompletions != rhs.weeklyNumCompletions {return false} - if lhs.totalDistanceTravelledMeters != rhs.totalDistanceTravelledMeters {return false} - if lhs.weeklyDistanceTravelledMeters != rhs.weeklyDistanceTravelledMeters {return false} + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._numCompletions != rhs_storage._numCompletions {return false} + if _storage._routeLevel != rhs_storage._routeLevel {return false} + if _storage._numFiveStars != rhs_storage._numFiveStars {return false} + if _storage._numFourStars != rhs_storage._numFourStars {return false} + if _storage._numThreeStars != rhs_storage._numThreeStars {return false} + if _storage._numTwoStars != rhs_storage._numTwoStars {return false} + if _storage._numOneStars != rhs_storage._numOneStars {return false} + if _storage._numRatings != rhs_storage._numRatings {return false} + if _storage._firstPlayedTimeMs != rhs_storage._firstPlayedTimeMs {return false} + if _storage._lastPlayedTimeMs != rhs_storage._lastPlayedTimeMs {return false} + if _storage._weeklyNumCompletions != rhs_storage._weeklyNumCompletions {return false} + if _storage._totalDistanceTravelledMeters != rhs_storage._totalDistanceTravelledMeters {return false} + if _storage._weeklyDistanceTravelledMeters != rhs_storage._weeklyDistanceTravelledMeters {return false} + if _storage._lastSyncedTimeMs != rhs_storage._lastSyncedTimeMs {return false} + if _storage._numNameOrDescriptionIssues != rhs_storage._numNameOrDescriptionIssues {return false} + if _storage._numShapeIssues != rhs_storage._numShapeIssues {return false} + if _storage._numConnectivityIssues != rhs_storage._numConnectivityIssues {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RouteSubmissionStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RouteSubmissionStats" +extension RouteSubmissionStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RouteSubmissionStatus" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), 2: .standard(proto: "submission_status_update_time_ms"), @@ -279404,7 +289372,7 @@ extension RouteSubmissionStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImp try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RouteSubmissionStats, rhs: RouteSubmissionStats) -> Bool { + public static func ==(lhs: RouteSubmissionStatus, rhs: RouteSubmissionStatus) -> Bool { if lhs.status != rhs.status {return false} if lhs.submissionStatusUpdateTimeMs != rhs.submissionStatusUpdateTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -279412,7 +289380,7 @@ extension RouteSubmissionStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } } -extension RouteSubmissionStats.Status: SwiftProtobuf._ProtoNameProviding { +extension RouteSubmissionStatus.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "UNDER_REVIEW"), @@ -279422,11 +289390,29 @@ extension RouteSubmissionStats.Status: SwiftProtobuf._ProtoNameProviding { ] } -extension RouteSubmissionStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RouteSubmissionStatus" +extension RouteUpdateSeenOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RouteUpdateSeenOutProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: RouteUpdateSeenOutProto, rhs: RouteUpdateSeenOutProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension RouteUpdateSeenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RouteUpdateSeenProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "submission_status_update_time_ms"), + 1: .standard(proto: "route_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -279435,41 +289421,26 @@ extension RouteSubmissionStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.submissionStatusUpdateTimeMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.routeID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if self.submissionStatusUpdateTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.submissionStatusUpdateTimeMs, fieldNumber: 2) + if !self.routeID.isEmpty { + try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RouteSubmissionStatus, rhs: RouteSubmissionStatus) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.submissionStatusUpdateTimeMs != rhs.submissionStatusUpdateTimeMs {return false} + public static func ==(lhs: RouteUpdateSeenProto, rhs: RouteUpdateSeenProto) -> Bool { + if lhs.routeID != rhs.routeID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RouteSubmissionStatus.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "UNDER_REVIEW"), - 2: .same(proto: "PUBLISHED"), - 3: .same(proto: "DECAYED"), - 4: .same(proto: "REJECTED"), - ] -} - extension RouteValidation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RouteValidation" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -279530,6 +289501,7 @@ extension RouteWaypointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple 2: .standard(proto: "lat_degrees"), 3: .standard(proto: "lng_degrees"), 4: .standard(proto: "elevation_in_meters"), + 5: .standard(proto: "timestamp_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -279542,6 +289514,7 @@ extension RouteWaypointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple case 2: try { try decoder.decodeSingularDoubleField(value: &self.latDegrees) }() case 3: try { try decoder.decodeSingularDoubleField(value: &self.lngDegrees) }() case 4: try { try decoder.decodeSingularDoubleField(value: &self.elevationInMeters) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.timestampMs) }() default: break } } @@ -279560,6 +289533,9 @@ extension RouteWaypointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple if self.elevationInMeters != 0 { try visitor.visitSingularDoubleField(value: self.elevationInMeters, fieldNumber: 4) } + if self.timestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.timestampMs, fieldNumber: 5) + } try unknownFields.traverse(visitor: &visitor) } @@ -279568,50 +289544,7 @@ extension RouteWaypointProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple if lhs.latDegrees != rhs.latDegrees {return false} if lhs.lngDegrees != rhs.lngDegrees {return false} if lhs.elevationInMeters != rhs.elevationInMeters {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension RouteZoneUnkProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RouteZoneUnkProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .standard(proto: "ob_int32"), - 3: .same(proto: "status"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.type != .unsetZone { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) - } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) - } - if self.status != .partyUnknown { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: RouteZoneUnkProto, rhs: RouteZoneUnkProto) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.status != rhs.status {return false} + if lhs.timestampMs != rhs.timestampMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -279621,88 +289554,80 @@ extension RoutesCreationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes public static let protoMessageName: String = _protobuf_package + ".RoutesCreationSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "max_open_routes"), - 2: .standard(proto: "min_stops_amount"), - 3: .standard(proto: "max_stops_amount"), 4: .standard(proto: "min_total_distance_m"), 5: .standard(proto: "max_total_distance_m"), - 6: .standard(proto: "min_distance_between_stops_m"), - 7: .standard(proto: "max_distance_between_stops_m"), - 8: .standard(proto: "max_total_checkpoint_amount"), - 9: .standard(proto: "max_checkpoint_amount_between_two_poi"), - 10: .standard(proto: "min_distance_between_checkpoints_m"), - 11: .standard(proto: "max_distance_between_checkpoints_m"), - 12: .standard(proto: "allow_checkpoint_per_route_distance"), - 13: .standard(proto: "checkpoint_recommendation_distance_between_pois"), 14: .standard(proto: "max_name_length"), 15: .standard(proto: "max_description_length"), 16: .standard(proto: "min_player_level"), 17: .same(proto: "enabled"), - 18: .standard(proto: "ob_bool"), - 19: .standard(proto: "ob_int32"), - 20: .standard(proto: "ob_int32_5"), - 21: .standard(proto: "ob_int32_6"), - 22: .standard(proto: "ob_int64"), - 23: .standard(proto: "ob_float_3"), - 24: .standard(proto: "simplification_algorithm"), - 25: .standard(proto: "ob_float_4"), - 26: .standard(proto: "ob_int32_7"), - 27: .standard(proto: "ob_int32_8"), - 29: .standard(proto: "ob_bool_3"), - 30: .standard(proto: "ob_routes_creation_proto_2"), - 31: .standard(proto: "ob_list_string"), - 32: .standard(proto: "ob_float"), - 33: .standard(proto: "ob_int32_1"), - 34: .standard(proto: "ob_int32_9"), - 35: .standard(proto: "ob_int32_10"), - 36: .standard(proto: "ob_int32_11"), - 37: .standard(proto: "ob_float_5"), - 38: .standard(proto: "ob_int32_12"), - 39: .standard(proto: "ob_filed"), - 40: .standard(proto: "ob_int64_1"), - 41: .standard(proto: "ob_int64_2"), + 18: .standard(proto: "enable_immediate_route_ingestion"), + 19: .standard(proto: "min_breadcrumb_distance_delta_meters"), + 20: .standard(proto: "creation_limit_window_days"), + 21: .standard(proto: "creation_limit_per_window"), + 22: .standard(proto: "creation_limit_window_offset_ms"), + 23: .standard(proto: "max_distance_from_anchor_pois_m"), + 24: .same(proto: "algorithm"), + 25: .standard(proto: "simplification_tolerance"), + 26: .standard(proto: "max_distance_warning_distance_meters"), + 27: .standard(proto: "max_recording_speed_meters_per_second"), + 29: .standard(proto: "moderation_enabled"), + 30: .standard(proto: "client_breadcrumb_settings"), + 31: .standard(proto: "disabled_tags"), + 32: .standard(proto: "duration_distance_to_speed_multiplier"), + 33: .standard(proto: "duration_buffer_s"), + 34: .standard(proto: "minimum_distance_between_pins_m"), + 35: .standard(proto: "max_pin_distance_from_route_m"), + 36: .standard(proto: "interaction_range_meters"), + 37: .standard(proto: "max_client_map_panning_distance_meters"), + 38: .standard(proto: "resume_range_meters"), + 39: .standard(proto: "route_smoothing_params"), + 40: .standard(proto: "no_moderation_route_retry_threshold_ms"), + 41: .standard(proto: "no_moderation_route_reporting_threshold_ms"), + 42: .standard(proto: "route_path_edit_params"), + 43: .standard(proto: "max_breadcrumb_distance_delta_meters"), + 44: .standard(proto: "max_recall_count_threshold"), + 45: .standard(proto: "allowable_gps_drift_meters"), + 46: .standard(proto: "max_post_punishment_ban_time_ms"), + 47: .standard(proto: "max_submission_count_threshold"), ] fileprivate class _StorageClass { var _maxOpenRoutes: Int32 = 0 - var _minStopsAmount: Int32 = 0 - var _maxStopsAmount: Int32 = 0 var _minTotalDistanceM: Float = 0 var _maxTotalDistanceM: Float = 0 - var _minDistanceBetweenStopsM: Float = 0 - var _maxDistanceBetweenStopsM: Float = 0 - var _maxTotalCheckpointAmount: Int32 = 0 - var _maxCheckpointAmountBetweenTwoPoi: Int32 = 0 - var _minDistanceBetweenCheckpointsM: Float = 0 - var _maxDistanceBetweenCheckpointsM: Float = 0 - var _allowCheckpointPerRouteDistance: Float = 0 - var _checkpointRecommendationDistanceBetweenPois: Float = 0 var _maxNameLength: Int32 = 0 var _maxDescriptionLength: Int32 = 0 var _minPlayerLevel: UInt32 = 0 var _enabled: Bool = false - var _obBool: Bool = false - var _obInt32: Int32 = 0 - var _obInt325: Int32 = 0 - var _obInt326: Int32 = 0 - var _obInt64: Int64 = 0 - var _obFloat3: Float = 0 - var _simplificationAlgorithm: RouteSimplificationAlgorithm.SimplificationAlgorithm = .unset - var _obFloat4: Float = 0 - var _obInt327: Int32 = 0 - var _obInt328: Int32 = 0 - var _obBool3: Bool = false - var _obRoutesCreationProto2: RoutesCreationSettingsProto2? = nil - var _obListString: [String] = [] - var _obFloat: Float = 0 - var _obInt321: Int32 = 0 - var _obInt329: Int32 = 0 - var _obInt3210: Int32 = 0 - var _obInt3211: Int32 = 0 - var _obFloat5: Float = 0 - var _obInt3212: Int32 = 0 - var _obFiled: RoutesCreationSettingsProto3? = nil - var _obInt641: Int64 = 0 - var _obInt642: Int64 = 0 + var _enableImmediateRouteIngestion: Bool = false + var _minBreadcrumbDistanceDeltaMeters: Int32 = 0 + var _creationLimitWindowDays: Int32 = 0 + var _creationLimitPerWindow: Int32 = 0 + var _creationLimitWindowOffsetMs: Int64 = 0 + var _maxDistanceFromAnchorPoisM: Float = 0 + var _algorithm: RouteSimplificationAlgorithm.SimplificationAlgorithm = .unset + var _simplificationTolerance: Float = 0 + var _maxDistanceWarningDistanceMeters: Int32 = 0 + var _maxRecordingSpeedMetersPerSecond: Int32 = 0 + var _moderationEnabled: Bool = false + var _clientBreadcrumbSettings: ClientBreadcrumbSessionSettings? = nil + var _disabledTags: [String] = [] + var _durationDistanceToSpeedMultiplier: Float = 0 + var _durationBufferS: Int32 = 0 + var _minimumDistanceBetweenPinsM: Int32 = 0 + var _maxPinDistanceFromRouteM: Int32 = 0 + var _interactionRangeMeters: Int32 = 0 + var _maxClientMapPanningDistanceMeters: Float = 0 + var _resumeRangeMeters: Int32 = 0 + var _routeSmoothingParams: RouteSmoothingParamsProto? = nil + var _noModerationRouteRetryThresholdMs: Int64 = 0 + var _noModerationRouteReportingThresholdMs: Int64 = 0 + var _routePathEditParams: RoutePathEditParamsProto? = nil + var _maxBreadcrumbDistanceDeltaMeters: Int32 = 0 + var _maxRecallCountThreshold: Int32 = 0 + var _allowableGpsDriftMeters: Int32 = 0 + var _maxPostPunishmentBanTimeMs: Int64 = 0 + var _maxSubmissionCountThreshold: Int32 = 0 static let defaultInstance = _StorageClass() @@ -279710,45 +289635,41 @@ extension RoutesCreationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes init(copying source: _StorageClass) { _maxOpenRoutes = source._maxOpenRoutes - _minStopsAmount = source._minStopsAmount - _maxStopsAmount = source._maxStopsAmount _minTotalDistanceM = source._minTotalDistanceM _maxTotalDistanceM = source._maxTotalDistanceM - _minDistanceBetweenStopsM = source._minDistanceBetweenStopsM - _maxDistanceBetweenStopsM = source._maxDistanceBetweenStopsM - _maxTotalCheckpointAmount = source._maxTotalCheckpointAmount - _maxCheckpointAmountBetweenTwoPoi = source._maxCheckpointAmountBetweenTwoPoi - _minDistanceBetweenCheckpointsM = source._minDistanceBetweenCheckpointsM - _maxDistanceBetweenCheckpointsM = source._maxDistanceBetweenCheckpointsM - _allowCheckpointPerRouteDistance = source._allowCheckpointPerRouteDistance - _checkpointRecommendationDistanceBetweenPois = source._checkpointRecommendationDistanceBetweenPois _maxNameLength = source._maxNameLength _maxDescriptionLength = source._maxDescriptionLength _minPlayerLevel = source._minPlayerLevel _enabled = source._enabled - _obBool = source._obBool - _obInt32 = source._obInt32 - _obInt325 = source._obInt325 - _obInt326 = source._obInt326 - _obInt64 = source._obInt64 - _obFloat3 = source._obFloat3 - _simplificationAlgorithm = source._simplificationAlgorithm - _obFloat4 = source._obFloat4 - _obInt327 = source._obInt327 - _obInt328 = source._obInt328 - _obBool3 = source._obBool3 - _obRoutesCreationProto2 = source._obRoutesCreationProto2 - _obListString = source._obListString - _obFloat = source._obFloat - _obInt321 = source._obInt321 - _obInt329 = source._obInt329 - _obInt3210 = source._obInt3210 - _obInt3211 = source._obInt3211 - _obFloat5 = source._obFloat5 - _obInt3212 = source._obInt3212 - _obFiled = source._obFiled - _obInt641 = source._obInt641 - _obInt642 = source._obInt642 + _enableImmediateRouteIngestion = source._enableImmediateRouteIngestion + _minBreadcrumbDistanceDeltaMeters = source._minBreadcrumbDistanceDeltaMeters + _creationLimitWindowDays = source._creationLimitWindowDays + _creationLimitPerWindow = source._creationLimitPerWindow + _creationLimitWindowOffsetMs = source._creationLimitWindowOffsetMs + _maxDistanceFromAnchorPoisM = source._maxDistanceFromAnchorPoisM + _algorithm = source._algorithm + _simplificationTolerance = source._simplificationTolerance + _maxDistanceWarningDistanceMeters = source._maxDistanceWarningDistanceMeters + _maxRecordingSpeedMetersPerSecond = source._maxRecordingSpeedMetersPerSecond + _moderationEnabled = source._moderationEnabled + _clientBreadcrumbSettings = source._clientBreadcrumbSettings + _disabledTags = source._disabledTags + _durationDistanceToSpeedMultiplier = source._durationDistanceToSpeedMultiplier + _durationBufferS = source._durationBufferS + _minimumDistanceBetweenPinsM = source._minimumDistanceBetweenPinsM + _maxPinDistanceFromRouteM = source._maxPinDistanceFromRouteM + _interactionRangeMeters = source._interactionRangeMeters + _maxClientMapPanningDistanceMeters = source._maxClientMapPanningDistanceMeters + _resumeRangeMeters = source._resumeRangeMeters + _routeSmoothingParams = source._routeSmoothingParams + _noModerationRouteRetryThresholdMs = source._noModerationRouteRetryThresholdMs + _noModerationRouteReportingThresholdMs = source._noModerationRouteReportingThresholdMs + _routePathEditParams = source._routePathEditParams + _maxBreadcrumbDistanceDeltaMeters = source._maxBreadcrumbDistanceDeltaMeters + _maxRecallCountThreshold = source._maxRecallCountThreshold + _allowableGpsDriftMeters = source._allowableGpsDriftMeters + _maxPostPunishmentBanTimeMs = source._maxPostPunishmentBanTimeMs + _maxSubmissionCountThreshold = source._maxSubmissionCountThreshold } } @@ -279768,45 +289689,41 @@ extension RoutesCreationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._maxOpenRoutes) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._minStopsAmount) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._maxStopsAmount) }() case 4: try { try decoder.decodeSingularFloatField(value: &_storage._minTotalDistanceM) }() case 5: try { try decoder.decodeSingularFloatField(value: &_storage._maxTotalDistanceM) }() - case 6: try { try decoder.decodeSingularFloatField(value: &_storage._minDistanceBetweenStopsM) }() - case 7: try { try decoder.decodeSingularFloatField(value: &_storage._maxDistanceBetweenStopsM) }() - case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._maxTotalCheckpointAmount) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._maxCheckpointAmountBetweenTwoPoi) }() - case 10: try { try decoder.decodeSingularFloatField(value: &_storage._minDistanceBetweenCheckpointsM) }() - case 11: try { try decoder.decodeSingularFloatField(value: &_storage._maxDistanceBetweenCheckpointsM) }() - case 12: try { try decoder.decodeSingularFloatField(value: &_storage._allowCheckpointPerRouteDistance) }() - case 13: try { try decoder.decodeSingularFloatField(value: &_storage._checkpointRecommendationDistanceBetweenPois) }() case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._maxNameLength) }() case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._maxDescriptionLength) }() case 16: try { try decoder.decodeSingularUInt32Field(value: &_storage._minPlayerLevel) }() case 17: try { try decoder.decodeSingularBoolField(value: &_storage._enabled) }() - case 18: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 19: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt32) }() - case 20: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt325) }() - case 21: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt326) }() - case 22: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt64) }() - case 23: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat3) }() - case 24: try { try decoder.decodeSingularEnumField(value: &_storage._simplificationAlgorithm) }() - case 25: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat4) }() - case 26: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt327) }() - case 27: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt328) }() - case 29: try { try decoder.decodeSingularBoolField(value: &_storage._obBool3) }() - case 30: try { try decoder.decodeSingularMessageField(value: &_storage._obRoutesCreationProto2) }() - case 31: try { try decoder.decodeRepeatedStringField(value: &_storage._obListString) }() - case 32: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat) }() - case 33: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 34: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt329) }() - case 35: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt3210) }() - case 36: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt3211) }() - case 37: try { try decoder.decodeSingularFloatField(value: &_storage._obFloat5) }() - case 38: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt3212) }() - case 39: try { try decoder.decodeSingularMessageField(value: &_storage._obFiled) }() - case 40: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt641) }() - case 41: try { try decoder.decodeSingularInt64Field(value: &_storage._obInt642) }() + case 18: try { try decoder.decodeSingularBoolField(value: &_storage._enableImmediateRouteIngestion) }() + case 19: try { try decoder.decodeSingularInt32Field(value: &_storage._minBreadcrumbDistanceDeltaMeters) }() + case 20: try { try decoder.decodeSingularInt32Field(value: &_storage._creationLimitWindowDays) }() + case 21: try { try decoder.decodeSingularInt32Field(value: &_storage._creationLimitPerWindow) }() + case 22: try { try decoder.decodeSingularInt64Field(value: &_storage._creationLimitWindowOffsetMs) }() + case 23: try { try decoder.decodeSingularFloatField(value: &_storage._maxDistanceFromAnchorPoisM) }() + case 24: try { try decoder.decodeSingularEnumField(value: &_storage._algorithm) }() + case 25: try { try decoder.decodeSingularFloatField(value: &_storage._simplificationTolerance) }() + case 26: try { try decoder.decodeSingularInt32Field(value: &_storage._maxDistanceWarningDistanceMeters) }() + case 27: try { try decoder.decodeSingularInt32Field(value: &_storage._maxRecordingSpeedMetersPerSecond) }() + case 29: try { try decoder.decodeSingularBoolField(value: &_storage._moderationEnabled) }() + case 30: try { try decoder.decodeSingularMessageField(value: &_storage._clientBreadcrumbSettings) }() + case 31: try { try decoder.decodeRepeatedStringField(value: &_storage._disabledTags) }() + case 32: try { try decoder.decodeSingularFloatField(value: &_storage._durationDistanceToSpeedMultiplier) }() + case 33: try { try decoder.decodeSingularInt32Field(value: &_storage._durationBufferS) }() + case 34: try { try decoder.decodeSingularInt32Field(value: &_storage._minimumDistanceBetweenPinsM) }() + case 35: try { try decoder.decodeSingularInt32Field(value: &_storage._maxPinDistanceFromRouteM) }() + case 36: try { try decoder.decodeSingularInt32Field(value: &_storage._interactionRangeMeters) }() + case 37: try { try decoder.decodeSingularFloatField(value: &_storage._maxClientMapPanningDistanceMeters) }() + case 38: try { try decoder.decodeSingularInt32Field(value: &_storage._resumeRangeMeters) }() + case 39: try { try decoder.decodeSingularMessageField(value: &_storage._routeSmoothingParams) }() + case 40: try { try decoder.decodeSingularInt64Field(value: &_storage._noModerationRouteRetryThresholdMs) }() + case 41: try { try decoder.decodeSingularInt64Field(value: &_storage._noModerationRouteReportingThresholdMs) }() + case 42: try { try decoder.decodeSingularMessageField(value: &_storage._routePathEditParams) }() + case 43: try { try decoder.decodeSingularInt32Field(value: &_storage._maxBreadcrumbDistanceDeltaMeters) }() + case 44: try { try decoder.decodeSingularInt32Field(value: &_storage._maxRecallCountThreshold) }() + case 45: try { try decoder.decodeSingularInt32Field(value: &_storage._allowableGpsDriftMeters) }() + case 46: try { try decoder.decodeSingularInt64Field(value: &_storage._maxPostPunishmentBanTimeMs) }() + case 47: try { try decoder.decodeSingularInt32Field(value: &_storage._maxSubmissionCountThreshold) }() default: break } } @@ -279822,42 +289739,12 @@ extension RoutesCreationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes if _storage._maxOpenRoutes != 0 { try visitor.visitSingularInt32Field(value: _storage._maxOpenRoutes, fieldNumber: 1) } - if _storage._minStopsAmount != 0 { - try visitor.visitSingularInt32Field(value: _storage._minStopsAmount, fieldNumber: 2) - } - if _storage._maxStopsAmount != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxStopsAmount, fieldNumber: 3) - } if _storage._minTotalDistanceM != 0 { try visitor.visitSingularFloatField(value: _storage._minTotalDistanceM, fieldNumber: 4) } if _storage._maxTotalDistanceM != 0 { try visitor.visitSingularFloatField(value: _storage._maxTotalDistanceM, fieldNumber: 5) } - if _storage._minDistanceBetweenStopsM != 0 { - try visitor.visitSingularFloatField(value: _storage._minDistanceBetweenStopsM, fieldNumber: 6) - } - if _storage._maxDistanceBetweenStopsM != 0 { - try visitor.visitSingularFloatField(value: _storage._maxDistanceBetweenStopsM, fieldNumber: 7) - } - if _storage._maxTotalCheckpointAmount != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxTotalCheckpointAmount, fieldNumber: 8) - } - if _storage._maxCheckpointAmountBetweenTwoPoi != 0 { - try visitor.visitSingularInt32Field(value: _storage._maxCheckpointAmountBetweenTwoPoi, fieldNumber: 9) - } - if _storage._minDistanceBetweenCheckpointsM != 0 { - try visitor.visitSingularFloatField(value: _storage._minDistanceBetweenCheckpointsM, fieldNumber: 10) - } - if _storage._maxDistanceBetweenCheckpointsM != 0 { - try visitor.visitSingularFloatField(value: _storage._maxDistanceBetweenCheckpointsM, fieldNumber: 11) - } - if _storage._allowCheckpointPerRouteDistance != 0 { - try visitor.visitSingularFloatField(value: _storage._allowCheckpointPerRouteDistance, fieldNumber: 12) - } - if _storage._checkpointRecommendationDistanceBetweenPois != 0 { - try visitor.visitSingularFloatField(value: _storage._checkpointRecommendationDistanceBetweenPois, fieldNumber: 13) - } if _storage._maxNameLength != 0 { try visitor.visitSingularInt32Field(value: _storage._maxNameLength, fieldNumber: 14) } @@ -279870,74 +289757,92 @@ extension RoutesCreationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes if _storage._enabled != false { try visitor.visitSingularBoolField(value: _storage._enabled, fieldNumber: 17) } - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 18) + if _storage._enableImmediateRouteIngestion != false { + try visitor.visitSingularBoolField(value: _storage._enableImmediateRouteIngestion, fieldNumber: 18) } - if _storage._obInt32 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt32, fieldNumber: 19) + if _storage._minBreadcrumbDistanceDeltaMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._minBreadcrumbDistanceDeltaMeters, fieldNumber: 19) } - if _storage._obInt325 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt325, fieldNumber: 20) + if _storage._creationLimitWindowDays != 0 { + try visitor.visitSingularInt32Field(value: _storage._creationLimitWindowDays, fieldNumber: 20) } - if _storage._obInt326 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt326, fieldNumber: 21) + if _storage._creationLimitPerWindow != 0 { + try visitor.visitSingularInt32Field(value: _storage._creationLimitPerWindow, fieldNumber: 21) } - if _storage._obInt64 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt64, fieldNumber: 22) + if _storage._creationLimitWindowOffsetMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._creationLimitWindowOffsetMs, fieldNumber: 22) } - if _storage._obFloat3 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat3, fieldNumber: 23) + if _storage._maxDistanceFromAnchorPoisM != 0 { + try visitor.visitSingularFloatField(value: _storage._maxDistanceFromAnchorPoisM, fieldNumber: 23) } - if _storage._simplificationAlgorithm != .unset { - try visitor.visitSingularEnumField(value: _storage._simplificationAlgorithm, fieldNumber: 24) + if _storage._algorithm != .unset { + try visitor.visitSingularEnumField(value: _storage._algorithm, fieldNumber: 24) } - if _storage._obFloat4 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat4, fieldNumber: 25) + if _storage._simplificationTolerance != 0 { + try visitor.visitSingularFloatField(value: _storage._simplificationTolerance, fieldNumber: 25) } - if _storage._obInt327 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt327, fieldNumber: 26) + if _storage._maxDistanceWarningDistanceMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxDistanceWarningDistanceMeters, fieldNumber: 26) } - if _storage._obInt328 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt328, fieldNumber: 27) + if _storage._maxRecordingSpeedMetersPerSecond != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxRecordingSpeedMetersPerSecond, fieldNumber: 27) } - if _storage._obBool3 != false { - try visitor.visitSingularBoolField(value: _storage._obBool3, fieldNumber: 29) + if _storage._moderationEnabled != false { + try visitor.visitSingularBoolField(value: _storage._moderationEnabled, fieldNumber: 29) } - try { if let v = _storage._obRoutesCreationProto2 { + try { if let v = _storage._clientBreadcrumbSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 30) } }() - if !_storage._obListString.isEmpty { - try visitor.visitRepeatedStringField(value: _storage._obListString, fieldNumber: 31) + if !_storage._disabledTags.isEmpty { + try visitor.visitRepeatedStringField(value: _storage._disabledTags, fieldNumber: 31) } - if _storage._obFloat != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat, fieldNumber: 32) + if _storage._durationDistanceToSpeedMultiplier != 0 { + try visitor.visitSingularFloatField(value: _storage._durationDistanceToSpeedMultiplier, fieldNumber: 32) } - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 33) + if _storage._durationBufferS != 0 { + try visitor.visitSingularInt32Field(value: _storage._durationBufferS, fieldNumber: 33) } - if _storage._obInt329 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt329, fieldNumber: 34) + if _storage._minimumDistanceBetweenPinsM != 0 { + try visitor.visitSingularInt32Field(value: _storage._minimumDistanceBetweenPinsM, fieldNumber: 34) } - if _storage._obInt3210 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt3210, fieldNumber: 35) + if _storage._maxPinDistanceFromRouteM != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxPinDistanceFromRouteM, fieldNumber: 35) } - if _storage._obInt3211 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt3211, fieldNumber: 36) + if _storage._interactionRangeMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._interactionRangeMeters, fieldNumber: 36) } - if _storage._obFloat5 != 0 { - try visitor.visitSingularFloatField(value: _storage._obFloat5, fieldNumber: 37) + if _storage._maxClientMapPanningDistanceMeters != 0 { + try visitor.visitSingularFloatField(value: _storage._maxClientMapPanningDistanceMeters, fieldNumber: 37) } - if _storage._obInt3212 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt3212, fieldNumber: 38) + if _storage._resumeRangeMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._resumeRangeMeters, fieldNumber: 38) } - try { if let v = _storage._obFiled { + try { if let v = _storage._routeSmoothingParams { try visitor.visitSingularMessageField(value: v, fieldNumber: 39) } }() - if _storage._obInt641 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt641, fieldNumber: 40) + if _storage._noModerationRouteRetryThresholdMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._noModerationRouteRetryThresholdMs, fieldNumber: 40) + } + if _storage._noModerationRouteReportingThresholdMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._noModerationRouteReportingThresholdMs, fieldNumber: 41) + } + try { if let v = _storage._routePathEditParams { + try visitor.visitSingularMessageField(value: v, fieldNumber: 42) + } }() + if _storage._maxBreadcrumbDistanceDeltaMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxBreadcrumbDistanceDeltaMeters, fieldNumber: 43) } - if _storage._obInt642 != 0 { - try visitor.visitSingularInt64Field(value: _storage._obInt642, fieldNumber: 41) + if _storage._maxRecallCountThreshold != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxRecallCountThreshold, fieldNumber: 44) + } + if _storage._allowableGpsDriftMeters != 0 { + try visitor.visitSingularInt32Field(value: _storage._allowableGpsDriftMeters, fieldNumber: 45) + } + if _storage._maxPostPunishmentBanTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._maxPostPunishmentBanTimeMs, fieldNumber: 46) + } + if _storage._maxSubmissionCountThreshold != 0 { + try visitor.visitSingularInt32Field(value: _storage._maxSubmissionCountThreshold, fieldNumber: 47) } } try unknownFields.traverse(visitor: &visitor) @@ -279949,45 +289854,41 @@ extension RoutesCreationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes let _storage = _args.0 let rhs_storage = _args.1 if _storage._maxOpenRoutes != rhs_storage._maxOpenRoutes {return false} - if _storage._minStopsAmount != rhs_storage._minStopsAmount {return false} - if _storage._maxStopsAmount != rhs_storage._maxStopsAmount {return false} if _storage._minTotalDistanceM != rhs_storage._minTotalDistanceM {return false} if _storage._maxTotalDistanceM != rhs_storage._maxTotalDistanceM {return false} - if _storage._minDistanceBetweenStopsM != rhs_storage._minDistanceBetweenStopsM {return false} - if _storage._maxDistanceBetweenStopsM != rhs_storage._maxDistanceBetweenStopsM {return false} - if _storage._maxTotalCheckpointAmount != rhs_storage._maxTotalCheckpointAmount {return false} - if _storage._maxCheckpointAmountBetweenTwoPoi != rhs_storage._maxCheckpointAmountBetweenTwoPoi {return false} - if _storage._minDistanceBetweenCheckpointsM != rhs_storage._minDistanceBetweenCheckpointsM {return false} - if _storage._maxDistanceBetweenCheckpointsM != rhs_storage._maxDistanceBetweenCheckpointsM {return false} - if _storage._allowCheckpointPerRouteDistance != rhs_storage._allowCheckpointPerRouteDistance {return false} - if _storage._checkpointRecommendationDistanceBetweenPois != rhs_storage._checkpointRecommendationDistanceBetweenPois {return false} if _storage._maxNameLength != rhs_storage._maxNameLength {return false} if _storage._maxDescriptionLength != rhs_storage._maxDescriptionLength {return false} if _storage._minPlayerLevel != rhs_storage._minPlayerLevel {return false} if _storage._enabled != rhs_storage._enabled {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obInt32 != rhs_storage._obInt32 {return false} - if _storage._obInt325 != rhs_storage._obInt325 {return false} - if _storage._obInt326 != rhs_storage._obInt326 {return false} - if _storage._obInt64 != rhs_storage._obInt64 {return false} - if _storage._obFloat3 != rhs_storage._obFloat3 {return false} - if _storage._simplificationAlgorithm != rhs_storage._simplificationAlgorithm {return false} - if _storage._obFloat4 != rhs_storage._obFloat4 {return false} - if _storage._obInt327 != rhs_storage._obInt327 {return false} - if _storage._obInt328 != rhs_storage._obInt328 {return false} - if _storage._obBool3 != rhs_storage._obBool3 {return false} - if _storage._obRoutesCreationProto2 != rhs_storage._obRoutesCreationProto2 {return false} - if _storage._obListString != rhs_storage._obListString {return false} - if _storage._obFloat != rhs_storage._obFloat {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obInt329 != rhs_storage._obInt329 {return false} - if _storage._obInt3210 != rhs_storage._obInt3210 {return false} - if _storage._obInt3211 != rhs_storage._obInt3211 {return false} - if _storage._obFloat5 != rhs_storage._obFloat5 {return false} - if _storage._obInt3212 != rhs_storage._obInt3212 {return false} - if _storage._obFiled != rhs_storage._obFiled {return false} - if _storage._obInt641 != rhs_storage._obInt641 {return false} - if _storage._obInt642 != rhs_storage._obInt642 {return false} + if _storage._enableImmediateRouteIngestion != rhs_storage._enableImmediateRouteIngestion {return false} + if _storage._minBreadcrumbDistanceDeltaMeters != rhs_storage._minBreadcrumbDistanceDeltaMeters {return false} + if _storage._creationLimitWindowDays != rhs_storage._creationLimitWindowDays {return false} + if _storage._creationLimitPerWindow != rhs_storage._creationLimitPerWindow {return false} + if _storage._creationLimitWindowOffsetMs != rhs_storage._creationLimitWindowOffsetMs {return false} + if _storage._maxDistanceFromAnchorPoisM != rhs_storage._maxDistanceFromAnchorPoisM {return false} + if _storage._algorithm != rhs_storage._algorithm {return false} + if _storage._simplificationTolerance != rhs_storage._simplificationTolerance {return false} + if _storage._maxDistanceWarningDistanceMeters != rhs_storage._maxDistanceWarningDistanceMeters {return false} + if _storage._maxRecordingSpeedMetersPerSecond != rhs_storage._maxRecordingSpeedMetersPerSecond {return false} + if _storage._moderationEnabled != rhs_storage._moderationEnabled {return false} + if _storage._clientBreadcrumbSettings != rhs_storage._clientBreadcrumbSettings {return false} + if _storage._disabledTags != rhs_storage._disabledTags {return false} + if _storage._durationDistanceToSpeedMultiplier != rhs_storage._durationDistanceToSpeedMultiplier {return false} + if _storage._durationBufferS != rhs_storage._durationBufferS {return false} + if _storage._minimumDistanceBetweenPinsM != rhs_storage._minimumDistanceBetweenPinsM {return false} + if _storage._maxPinDistanceFromRouteM != rhs_storage._maxPinDistanceFromRouteM {return false} + if _storage._interactionRangeMeters != rhs_storage._interactionRangeMeters {return false} + if _storage._maxClientMapPanningDistanceMeters != rhs_storage._maxClientMapPanningDistanceMeters {return false} + if _storage._resumeRangeMeters != rhs_storage._resumeRangeMeters {return false} + if _storage._routeSmoothingParams != rhs_storage._routeSmoothingParams {return false} + if _storage._noModerationRouteRetryThresholdMs != rhs_storage._noModerationRouteRetryThresholdMs {return false} + if _storage._noModerationRouteReportingThresholdMs != rhs_storage._noModerationRouteReportingThresholdMs {return false} + if _storage._routePathEditParams != rhs_storage._routePathEditParams {return false} + if _storage._maxBreadcrumbDistanceDeltaMeters != rhs_storage._maxBreadcrumbDistanceDeltaMeters {return false} + if _storage._maxRecallCountThreshold != rhs_storage._maxRecallCountThreshold {return false} + if _storage._allowableGpsDriftMeters != rhs_storage._allowableGpsDriftMeters {return false} + if _storage._maxPostPunishmentBanTimeMs != rhs_storage._maxPostPunishmentBanTimeMs {return false} + if _storage._maxSubmissionCountThreshold != rhs_storage._maxSubmissionCountThreshold {return false} return true } if !storagesAreEqual {return false} @@ -279997,12 +289898,11 @@ extension RoutesCreationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mes } } -extension RoutesCreationSettingsProto2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RoutesCreationSettingsProto2" +extension RoutesNearbyNotifSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RoutesNearbyNotifSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_float_1"), - 2: .standard(proto: "ob_float_2"), - 3: .standard(proto: "ob_float_3"), + 1: .standard(proto: "max_notifs"), + 2: .standard(proto: "time_between_notifs_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280011,43 +289911,36 @@ extension RoutesCreationSettingsProto2: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.obFloat1) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.obFloat2) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.obFloat3) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.maxNotifs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.timeBetweenNotifsMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obFloat1 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat1, fieldNumber: 1) + if self.maxNotifs != 0 { + try visitor.visitSingularInt32Field(value: self.maxNotifs, fieldNumber: 1) } - if self.obFloat2 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat2, fieldNumber: 2) - } - if self.obFloat3 != 0 { - try visitor.visitSingularFloatField(value: self.obFloat3, fieldNumber: 3) + if self.timeBetweenNotifsMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeBetweenNotifsMs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RoutesCreationSettingsProto2, rhs: RoutesCreationSettingsProto2) -> Bool { - if lhs.obFloat1 != rhs.obFloat1 {return false} - if lhs.obFloat2 != rhs.obFloat2 {return false} - if lhs.obFloat3 != rhs.obFloat3 {return false} + public static func ==(lhs: RoutesNearbyNotifSettingsProto, rhs: RoutesNearbyNotifSettingsProto) -> Bool { + if lhs.maxNotifs != rhs.maxNotifs {return false} + if lhs.timeBetweenNotifsMs != rhs.timeBetweenNotifsMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RoutesCreationSettingsProto3: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RoutesCreationSettingsProto3" +extension RoutesPartyPlayInteroperabilitySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RoutesPartyPlayInteroperabilitySettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool"), - 2: .standard(proto: "ob_int32_1"), - 3: .standard(proto: "ob_int32_2"), - 4: .standard(proto: "ob_float"), + 1: .standard(proto: "consumption_interoperable"), + 2: .standard(proto: "creation_interoperable"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280056,45 +289949,35 @@ extension RoutesCreationSettingsProto3: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.consumptionInteroperable) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.creationInteroperable) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 1) - } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 2) + if self.consumptionInteroperable != false { + try visitor.visitSingularBoolField(value: self.consumptionInteroperable, fieldNumber: 1) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 3) - } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 4) + if self.creationInteroperable != false { + try visitor.visitSingularBoolField(value: self.creationInteroperable, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RoutesCreationSettingsProto3, rhs: RoutesCreationSettingsProto3) -> Bool { - if lhs.obBool != rhs.obBool {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} - if lhs.obFloat != rhs.obFloat {return false} + public static func ==(lhs: RoutesPartyPlayInteroperabilitySettingsProto, rhs: RoutesPartyPlayInteroperabilitySettingsProto) -> Bool { + if lhs.consumptionInteroperable != rhs.consumptionInteroperable {return false} + if lhs.creationInteroperable != rhs.creationInteroperable {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RpcErrorDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".RpcErrorDataProto" +extension RpcErrorData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".RpcErrorData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "method"), + 1: .same(proto: "action"), 2: .same(proto: "status"), ] @@ -280104,7 +289987,7 @@ extension RpcErrorDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.method) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.action) }() case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } @@ -280112,8 +289995,8 @@ extension RpcErrorDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem } public func traverse(visitor: inout V) throws { - if self.method != .unset { - try visitor.visitSingularEnumField(value: self.method, fieldNumber: 1) + if self.action != .unset { + try visitor.visitSingularEnumField(value: self.action, fieldNumber: 1) } if self.status != .undefined { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) @@ -280121,15 +290004,15 @@ extension RpcErrorDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: RpcErrorDataProto, rhs: RpcErrorDataProto) -> Bool { - if lhs.method != rhs.method {return false} + public static func ==(lhs: RpcErrorData, rhs: RpcErrorData) -> Bool { + if lhs.action != rhs.action {return false} if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension RpcErrorDataProto.Status: SwiftProtobuf._ProtoNameProviding { +extension RpcErrorData.RpcStatus: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNDEFINED"), 1: .same(proto: "SUCCESS"), @@ -280359,10 +290242,11 @@ extension RpcSocketResponseTime: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } } -extension SaveCombatPlayerPreferencesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SaveCombatPlayerPreferencesOutProto" +extension SaturdayBleCompleteRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdayBleCompleteRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .standard(proto: "transaction_id"), + 2: .same(proto: "nonce"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280371,38 +290255,270 @@ extension SaveCombatPlayerPreferencesOutProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.transactionID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.nonce) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.transactionID != 0 { + try visitor.visitSingularInt64Field(value: self.transactionID, fieldNumber: 1) + } + if !self.nonce.isEmpty { + try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SaveCombatPlayerPreferencesOutProto, rhs: SaveCombatPlayerPreferencesOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: SaturdayBleCompleteRequestProto, rhs: SaturdayBleCompleteRequestProto) -> Bool { + if lhs.transactionID != rhs.transactionID {return false} + if lhs.nonce != rhs.nonce {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SaveCombatPlayerPreferencesOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension SaturdayBleFinalizeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdayBleFinalizeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "saturday_send_complete"), + 2: .standard(proto: "server_signature"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._saturdaySendComplete) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.serverSignature) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._saturdaySendComplete { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.serverSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.serverSignature, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SaturdayBleFinalizeProto, rhs: SaturdayBleFinalizeProto) -> Bool { + if lhs._saturdaySendComplete != rhs._saturdaySendComplete {return false} + if lhs.serverSignature != rhs.serverSignature {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SaturdayBleSendCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdayBleSendCompleteProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "nonce"), + 2: .standard(proto: "application_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.nonce) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.applicationID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.nonce.isEmpty { + try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 1) + } + if !self.applicationID.isEmpty { + try visitor.visitSingularStringField(value: self.applicationID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SaturdayBleSendCompleteProto, rhs: SaturdayBleSendCompleteProto) -> Bool { + if lhs.nonce != rhs.nonce {return false} + if lhs.applicationID != rhs.applicationID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SaturdayBleSendPrepProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdayBleSendPrepProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "data"), + 2: .standard(proto: "transaction_id"), + 3: .standard(proto: "application_id"), + 4: .same(proto: "nonce"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.data) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.transactionID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.applicationID) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.nonce) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.data != .data0 { + try visitor.visitSingularEnumField(value: self.data, fieldNumber: 1) + } + if self.transactionID != 0 { + try visitor.visitSingularInt64Field(value: self.transactionID, fieldNumber: 2) + } + if !self.applicationID.isEmpty { + try visitor.visitSingularStringField(value: self.applicationID, fieldNumber: 3) + } + if !self.nonce.isEmpty { + try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SaturdayBleSendPrepProto, rhs: SaturdayBleSendPrepProto) -> Bool { + if lhs.data != rhs.data {return false} + if lhs.transactionID != rhs.transactionID {return false} + if lhs.applicationID != rhs.applicationID {return false} + if lhs.nonce != rhs.nonce {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SaturdayBleSendProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdayBleSendProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "server_response"), + 2: .standard(proto: "server_signature"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._serverResponse) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.serverSignature) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._serverResponse { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.serverSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.serverSignature, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SaturdayBleSendProto, rhs: SaturdayBleSendProto) -> Bool { + if lhs._serverResponse != rhs._serverResponse {return false} + if lhs.serverSignature != rhs.serverSignature {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SaturdayCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdayCompleteOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "loot_awarded"), + 3: .standard(proto: "saturday_finalize_response"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._lootAwarded) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._saturdayFinalizeResponse) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try { if let v = self._lootAwarded { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._saturdayFinalizeResponse { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SaturdayCompleteOutProto, rhs: SaturdayCompleteOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._lootAwarded != rhs._lootAwarded {return false} + if lhs._saturdayFinalizeResponse != rhs._saturdayFinalizeResponse {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SaturdayCompleteOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "FAILED"), + 3: .same(proto: "ERROR_INVALID_ID"), + 4: .same(proto: "ERROR_ALREADY_SENT"), + 5: .same(proto: "ERROR_INVALID_TRANSACTION_ID"), + 6: .same(proto: "ERROR_MISSING_TRANSACTION_ID"), + 7: .same(proto: "ERROR_DAILY_LIMIT"), ] } -extension SaveCombatPlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SaveCombatPlayerPreferencesProto" +extension SaturdayCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdayCompleteProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "preferences"), + 1: .standard(proto: "saturday_share"), + 2: .standard(proto: "app_signature"), + 3: .standard(proto: "firmware_signature"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280411,7 +290527,9 @@ extension SaveCombatPlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._preferences) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._saturdayShare) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.appSignature) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.firmwareSignature) }() default: break } } @@ -280422,21 +290540,177 @@ extension SaveCombatPlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._preferences { + try { if let v = self._saturdayShare { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() + if !self.appSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.appSignature, fieldNumber: 2) + } + if !self.firmwareSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.firmwareSignature, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SaveCombatPlayerPreferencesProto, rhs: SaveCombatPlayerPreferencesProto) -> Bool { - if lhs._preferences != rhs._preferences {return false} + public static func ==(lhs: SaturdayCompleteProto, rhs: SaturdayCompleteProto) -> Bool { + if lhs._saturdayShare != rhs._saturdayShare {return false} + if lhs.appSignature != rhs.appSignature {return false} + if lhs.firmwareSignature != rhs.firmwareSignature {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SavePlayerPreferencesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SavePlayerPreferencesOutProto" +extension SaturdaySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdaySettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + 2: .standard(proto: "max_shares_per_day"), + 3: .standard(proto: "daily_streak_goal"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxSharesPerDay) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.dailyStreakGoal) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.maxSharesPerDay != 0 { + try visitor.visitSingularInt32Field(value: self.maxSharesPerDay, fieldNumber: 2) + } + if self.dailyStreakGoal != 0 { + try visitor.visitSingularInt32Field(value: self.dailyStreakGoal, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SaturdaySettingsProto, rhs: SaturdaySettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.maxSharesPerDay != rhs.maxSharesPerDay {return false} + if lhs.dailyStreakGoal != rhs.dailyStreakGoal {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SaturdayStartOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdayStartOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "send_prep"), + 3: .standard(proto: "server_signature"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._sendPrep) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.serverSignature) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try { if let v = self._sendPrep { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.serverSignature.isEmpty { + try visitor.visitSingularBytesField(value: self.serverSignature, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SaturdayStartOutProto, rhs: SaturdayStartOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._sendPrep != rhs._sendPrep {return false} + if lhs.serverSignature != rhs.serverSignature {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SaturdayStartOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILED"), + 3: .same(proto: "ERROR_INVALID_ID"), + 4: .same(proto: "ERROR_ALREADY_SENT"), + 5: .same(proto: "ERROR_NONE_SPECIFIED"), + 6: .same(proto: "ERROR_DAILY_LIMIT"), + ] +} + +extension SaturdayStartProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaturdayStartProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "send_id"), + 2: .same(proto: "nonce"), + 3: .standard(proto: "application_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.sendID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.nonce) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.applicationID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.sendID.isEmpty { + try visitor.visitSingularStringField(value: self.sendID, fieldNumber: 1) + } + if !self.nonce.isEmpty { + try visitor.visitSingularStringField(value: self.nonce, fieldNumber: 2) + } + if !self.applicationID.isEmpty { + try visitor.visitSingularStringField(value: self.applicationID, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SaturdayStartProto, rhs: SaturdayStartProto) -> Bool { + if lhs.sendID != rhs.sendID {return false} + if lhs.nonce != rhs.nonce {return false} + if lhs.applicationID != rhs.applicationID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SaveCombatPlayerPreferencesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaveCombatPlayerPreferencesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), ] @@ -280460,25 +290734,25 @@ extension SavePlayerPreferencesOutProto: SwiftProtobuf.Message, SwiftProtobuf._M try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SavePlayerPreferencesOutProto, rhs: SavePlayerPreferencesOutProto) -> Bool { + public static func ==(lhs: SaveCombatPlayerPreferencesOutProto, rhs: SaveCombatPlayerPreferencesOutProto) -> Bool { if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SavePlayerPreferencesOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension SaveCombatPlayerPreferencesOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR"), + 2: .same(proto: "ERROR_UNKNOWN"), ] } -extension SavePlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SavePlayerPreferencesProto" +extension SaveCombatPlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SaveCombatPlayerPreferencesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_preferences_proto"), + 1: .same(proto: "preferences"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280487,7 +290761,7 @@ extension SavePlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._playerPreferencesProto) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._preferences) }() default: break } } @@ -280498,21 +290772,21 @@ extension SavePlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._playerPreferencesProto { + try { if let v = self._preferences { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SavePlayerPreferencesProto, rhs: SavePlayerPreferencesProto) -> Bool { - if lhs._playerPreferencesProto != rhs._playerPreferencesProto {return false} + public static func ==(lhs: SaveCombatPlayerPreferencesProto, rhs: SaveCombatPlayerPreferencesProto) -> Bool { + if lhs._preferences != rhs._preferences {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SavePlayerSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SavePlayerSettingsOutProto" +extension SavePlayerPreferencesOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SavePlayerPreferencesOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), ] @@ -280536,25 +290810,25 @@ extension SavePlayerSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SavePlayerSettingsOutProto, rhs: SavePlayerSettingsOutProto) -> Bool { + public static func ==(lhs: SavePlayerPreferencesOutProto, rhs: SavePlayerPreferencesOutProto) -> Bool { if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SavePlayerSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension SavePlayerPreferencesOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "ERROR"), ] } -extension SavePlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SavePlayerSettingsProto" +extension SavePlayerPreferencesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SavePlayerPreferencesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "settings"), + 1: .standard(proto: "player_preferences_proto"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280563,7 +290837,7 @@ extension SavePlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._settings) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._playerPreferencesProto) }() default: break } } @@ -280574,14 +290848,14 @@ extension SavePlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._settings { + try { if let v = self._playerPreferencesProto { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SavePlayerSettingsProto, rhs: SavePlayerSettingsProto) -> Bool { - if lhs._settings != rhs._settings {return false} + public static func ==(lhs: SavePlayerPreferencesProto, rhs: SavePlayerPreferencesProto) -> Bool { + if lhs._playerPreferencesProto != rhs._playerPreferencesProto {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -280724,12 +290998,12 @@ extension SaveSocialPlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M } } -extension ScanCaptureEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ScanCaptureEvent" +extension ScanArchiveBuilderCancelEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ScanArchiveBuilderCancelEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "scan_id"), - 2: .standard(proto: "depth_type"), - 3: .standard(proto: "scan_total_area"), + 2: .standard(proto: "chunk_id"), + 3: .standard(proto: "time_elapse_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280739,8 +291013,8 @@ extension ScanCaptureEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.scanID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.depthType) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.scanTotalArea) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.chunkID) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.timeElapseMs) }() default: break } } @@ -280750,38 +291024,31 @@ extension ScanCaptureEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme if !self.scanID.isEmpty { try visitor.visitSingularStringField(value: self.scanID, fieldNumber: 1) } - if self.depthType != .unknown { - try visitor.visitSingularEnumField(value: self.depthType, fieldNumber: 2) + if self.chunkID != 0 { + try visitor.visitSingularUInt32Field(value: self.chunkID, fieldNumber: 2) } - if self.scanTotalArea != 0 { - try visitor.visitSingularInt32Field(value: self.scanTotalArea, fieldNumber: 3) + if self.timeElapseMs != 0 { + try visitor.visitSingularUInt32Field(value: self.timeElapseMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ScanCaptureEvent, rhs: ScanCaptureEvent) -> Bool { + public static func ==(lhs: ScanArchiveBuilderCancelEvent, rhs: ScanArchiveBuilderCancelEvent) -> Bool { if lhs.scanID != rhs.scanID {return false} - if lhs.depthType != rhs.depthType {return false} - if lhs.scanTotalArea != rhs.scanTotalArea {return false} + if lhs.chunkID != rhs.chunkID {return false} + if lhs.timeElapseMs != rhs.timeElapseMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ScanCaptureEvent.Depth: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unknown"), - 1: .same(proto: "lidar"), - 2: .same(proto: "multidepth"), - ] -} - -extension ScanProcessEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ScanProcessEvent" +extension ScanArchiveBuilderGetNextChunkEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ScanArchiveBuilderGetNextChunkEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "scan_id"), - 2: .standard(proto: "reconstruction_algo"), - 3: .standard(proto: "mesh_file_size"), + 2: .standard(proto: "chunk_file_size_in_bytes"), + 3: .standard(proto: "chunk_id"), + 4: .standard(proto: "time_elapse_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280791,8 +291058,9 @@ extension ScanProcessEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.scanID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.reconstructionAlgo) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.meshFileSize) }() + case 2: try { try decoder.decodeSingularUInt64Field(value: &self.chunkFileSizeInBytes) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.chunkID) }() + case 4: try { try decoder.decodeSingularUInt32Field(value: &self.timeElapseMs) }() default: break } } @@ -280802,29 +291070,34 @@ extension ScanProcessEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme if !self.scanID.isEmpty { try visitor.visitSingularStringField(value: self.scanID, fieldNumber: 1) } - if !self.reconstructionAlgo.isEmpty { - try visitor.visitSingularStringField(value: self.reconstructionAlgo, fieldNumber: 2) + if self.chunkFileSizeInBytes != 0 { + try visitor.visitSingularUInt64Field(value: self.chunkFileSizeInBytes, fieldNumber: 2) } - if self.meshFileSize != 0 { - try visitor.visitSingularInt64Field(value: self.meshFileSize, fieldNumber: 3) + if self.chunkID != 0 { + try visitor.visitSingularUInt32Field(value: self.chunkID, fieldNumber: 3) + } + if self.timeElapseMs != 0 { + try visitor.visitSingularUInt32Field(value: self.timeElapseMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ScanProcessEvent, rhs: ScanProcessEvent) -> Bool { + public static func ==(lhs: ScanArchiveBuilderGetNextChunkEvent, rhs: ScanArchiveBuilderGetNextChunkEvent) -> Bool { if lhs.scanID != rhs.scanID {return false} - if lhs.reconstructionAlgo != rhs.reconstructionAlgo {return false} - if lhs.meshFileSize != rhs.meshFileSize {return false} + if lhs.chunkFileSizeInBytes != rhs.chunkFileSizeInBytes {return false} + if lhs.chunkID != rhs.chunkID {return false} + if lhs.timeElapseMs != rhs.timeElapseMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ScanSaveEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ScanSaveEvent" +extension ScanErrorEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ScanErrorEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "scan_id"), - 2: .standard(proto: "scan_file_size"), + 2: .standard(proto: "error_code"), + 3: .standard(proto: "error_message"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280834,7 +291107,8 @@ extension ScanSaveEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.scanID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.scanFileSize) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.errorCode) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() default: break } } @@ -280844,28 +291118,46 @@ extension ScanSaveEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa if !self.scanID.isEmpty { try visitor.visitSingularStringField(value: self.scanID, fieldNumber: 1) } - if self.scanFileSize != 0 { - try visitor.visitSingularInt64Field(value: self.scanFileSize, fieldNumber: 2) + if self.errorCode != .unknown { + try visitor.visitSingularEnumField(value: self.errorCode, fieldNumber: 2) + } + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ScanSaveEvent, rhs: ScanSaveEvent) -> Bool { + public static func ==(lhs: ScanErrorEvent, rhs: ScanErrorEvent) -> Bool { if lhs.scanID != rhs.scanID {return false} - if lhs.scanFileSize != rhs.scanFileSize {return false} + if lhs.errorCode != rhs.errorCode {return false} + if lhs.errorMessage != rhs.errorMessage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ScanUploadEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ScanUploadEvent" +extension ScanErrorEvent.Error: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unknown"), + 1: .same(proto: "sqc_not_ready"), + 2: .same(proto: "sqc_bad_input"), + 3: .same(proto: "sqc_bad_model"), + 4: .same(proto: "sqc_model_read_fail"), + 5: .same(proto: "sqc_decrypt_fail"), + 6: .same(proto: "sqc_unpack_fail"), + 7: .same(proto: "sqc_no_input_frames"), + 8: .same(proto: "sqc_interrupted"), + ] +} + +extension ScanRecorderStartEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ScanRecorderStartEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "scan_id"), - 2: .standard(proto: "scan_chunk_uuid"), - 3: .standard(proto: "chunk_order"), - 4: .standard(proto: "internet_type"), - 5: .standard(proto: "file_size"), + 2: .standard(proto: "depth_source"), + 3: .same(proto: "framerate"), + 4: .standard(proto: "is_voxel_enabled"), + 5: .standard(proto: "is_raycast_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280875,10 +291167,10 @@ extension ScanUploadEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.scanID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.scanChunkUuid) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.chunkOrder) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.internetType) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.fileSize) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.depthSource) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.framerate) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isVoxelEnabled) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.isRaycastEnabled) }() default: break } } @@ -280888,47 +291180,48 @@ extension ScanUploadEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen if !self.scanID.isEmpty { try visitor.visitSingularStringField(value: self.scanID, fieldNumber: 1) } - if !self.scanChunkUuid.isEmpty { - try visitor.visitSingularStringField(value: self.scanChunkUuid, fieldNumber: 2) + if self.depthSource != .unknown { + try visitor.visitSingularEnumField(value: self.depthSource, fieldNumber: 2) } - if self.chunkOrder != 0 { - try visitor.visitSingularInt32Field(value: self.chunkOrder, fieldNumber: 3) + if self.framerate != 0 { + try visitor.visitSingularUInt32Field(value: self.framerate, fieldNumber: 3) } - if self.internetType != .unknown { - try visitor.visitSingularEnumField(value: self.internetType, fieldNumber: 4) + if self.isVoxelEnabled != false { + try visitor.visitSingularBoolField(value: self.isVoxelEnabled, fieldNumber: 4) } - if self.fileSize != 0 { - try visitor.visitSingularInt64Field(value: self.fileSize, fieldNumber: 5) + if self.isRaycastEnabled != false { + try visitor.visitSingularBoolField(value: self.isRaycastEnabled, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ScanUploadEvent, rhs: ScanUploadEvent) -> Bool { + public static func ==(lhs: ScanRecorderStartEvent, rhs: ScanRecorderStartEvent) -> Bool { if lhs.scanID != rhs.scanID {return false} - if lhs.scanChunkUuid != rhs.scanChunkUuid {return false} - if lhs.chunkOrder != rhs.chunkOrder {return false} - if lhs.internetType != rhs.internetType {return false} - if lhs.fileSize != rhs.fileSize {return false} + if lhs.depthSource != rhs.depthSource {return false} + if lhs.framerate != rhs.framerate {return false} + if lhs.isVoxelEnabled != rhs.isVoxelEnabled {return false} + if lhs.isRaycastEnabled != rhs.isRaycastEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ScanUploadEvent.Internet: SwiftProtobuf._ProtoNameProviding { +extension ScanRecorderStartEvent.DepthSource: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "unknown"), - 1: .same(proto: "mobile"), - 2: .same(proto: "wifi"), + 1: .same(proto: "lidar"), + 2: .same(proto: "multidepth"), + 3: .same(proto: "no_depth"), ] } -extension ScanningFrameworkEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ScanningFrameworkEvent" +extension ScanRecorderStopEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ScanRecorderStopEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "scan_id"), 2: .same(proto: "operation"), - 3: .standard(proto: "operation_state"), - 4: .standard(proto: "error_string"), + 3: .standard(proto: "scan_duration_ms"), + 4: .standard(proto: "numer_of_frames_in_scan"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -280939,8 +291232,8 @@ extension ScanningFrameworkEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageI switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.scanID) }() case 2: try { try decoder.decodeSingularEnumField(value: &self.operation) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.operationState) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.errorString) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.scanDurationMs) }() + case 4: try { try decoder.decodeSingularUInt32Field(value: &self.numerOfFramesInScan) }() default: break } } @@ -280950,58 +291243,42 @@ extension ScanningFrameworkEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageI if !self.scanID.isEmpty { try visitor.visitSingularStringField(value: self.scanID, fieldNumber: 1) } - if self.operation != .none { + if self.operation != .save { try visitor.visitSingularEnumField(value: self.operation, fieldNumber: 2) } - if self.operationState != .unknown { - try visitor.visitSingularEnumField(value: self.operationState, fieldNumber: 3) + if self.scanDurationMs != 0 { + try visitor.visitSingularUInt32Field(value: self.scanDurationMs, fieldNumber: 3) } - if !self.errorString.isEmpty { - try visitor.visitSingularStringField(value: self.errorString, fieldNumber: 4) + if self.numerOfFramesInScan != 0 { + try visitor.visitSingularUInt32Field(value: self.numerOfFramesInScan, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ScanningFrameworkEvent, rhs: ScanningFrameworkEvent) -> Bool { + public static func ==(lhs: ScanRecorderStopEvent, rhs: ScanRecorderStopEvent) -> Bool { if lhs.scanID != rhs.scanID {return false} if lhs.operation != rhs.operation {return false} - if lhs.operationState != rhs.operationState {return false} - if lhs.errorString != rhs.errorString {return false} + if lhs.scanDurationMs != rhs.scanDurationMs {return false} + if lhs.numerOfFramesInScan != rhs.numerOfFramesInScan {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ScanningFrameworkEvent.Operation: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "none"), - 1: .same(proto: "initialization"), - 2: .same(proto: "capture"), - 3: .same(proto: "save"), - 4: .same(proto: "process"), - 5: .same(proto: "upload"), - ] -} - -extension ScanningFrameworkEvent.State: SwiftProtobuf._ProtoNameProviding { +extension ScanRecorderStopEvent.Operation: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unknown"), - 1: .same(proto: "started"), - 2: .same(proto: "paused"), - 4: .same(proto: "finished"), - 5: .same(proto: "canceled"), - 6: .same(proto: "error"), + 0: .same(proto: "save"), + 1: .same(proto: "discard"), ] } -extension ScoreAdjustment: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ScoreAdjustment" +extension ScanSQCDoneEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ScanSQCDoneEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 3: .standard(proto: "is_resolved"), - 4: .same(proto: "details"), - 5: .standard(proto: "adjustment_timestamp_ms"), - 6: .same(proto: "author"), - 7: .standard(proto: "adjustment_value"), + 1: .standard(proto: "scan_id"), + 2: .standard(proto: "overall_score"), + 3: .standard(proto: "time_elapse_ms"), + 4: .standard(proto: "failed_reasons"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -281010,51 +291287,46 @@ extension ScoreAdjustment: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 3: try { try decoder.decodeSingularBoolField(value: &self.isResolved) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.details) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.adjustmentTimestampMs) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.author) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.adjustmentValue) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.scanID) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.overallScore) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.timeElapseMs) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.failedReasons) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isResolved != false { - try visitor.visitSingularBoolField(value: self.isResolved, fieldNumber: 3) - } - if !self.details.isEmpty { - try visitor.visitSingularStringField(value: self.details, fieldNumber: 4) + if !self.scanID.isEmpty { + try visitor.visitSingularStringField(value: self.scanID, fieldNumber: 1) } - if self.adjustmentTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.adjustmentTimestampMs, fieldNumber: 5) + if self.overallScore != 0 { + try visitor.visitSingularFloatField(value: self.overallScore, fieldNumber: 2) } - if !self.author.isEmpty { - try visitor.visitSingularStringField(value: self.author, fieldNumber: 6) + if self.timeElapseMs != 0 { + try visitor.visitSingularUInt32Field(value: self.timeElapseMs, fieldNumber: 3) } - if self.adjustmentValue != 0 { - try visitor.visitSingularInt32Field(value: self.adjustmentValue, fieldNumber: 7) + if !self.failedReasons.isEmpty { + try visitor.visitRepeatedMessageField(value: self.failedReasons, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ScoreAdjustment, rhs: ScoreAdjustment) -> Bool { - if lhs.isResolved != rhs.isResolved {return false} - if lhs.details != rhs.details {return false} - if lhs.adjustmentTimestampMs != rhs.adjustmentTimestampMs {return false} - if lhs.author != rhs.author {return false} - if lhs.adjustmentValue != rhs.adjustmentValue {return false} + public static func ==(lhs: ScanSQCDoneEvent, rhs: ScanSQCDoneEvent) -> Bool { + if lhs.scanID != rhs.scanID {return false} + if lhs.overallScore != rhs.overallScore {return false} + if lhs.timeElapseMs != rhs.timeElapseMs {return false} + if lhs.failedReasons != rhs.failedReasons {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ScreenResolutionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ScreenResolutionTelemetry" +extension ScanSQCDoneEvent.ScanSQCFailedReason: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ScanSQCDoneEvent.protoMessageName + ".ScanSQCFailedReason" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "device_width"), - 2: .standard(proto: "device_height"), + 1: .standard(proto: "failed_reason"), + 2: .same(proto: "score"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -281063,36 +291335,48 @@ extension ScreenResolutionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.deviceWidth) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.deviceHeight) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.failedReason) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.score) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.deviceWidth != 0 { - try visitor.visitSingularInt32Field(value: self.deviceWidth, fieldNumber: 1) + if self.failedReason != .blurry { + try visitor.visitSingularEnumField(value: self.failedReason, fieldNumber: 1) } - if self.deviceHeight != 0 { - try visitor.visitSingularInt32Field(value: self.deviceHeight, fieldNumber: 2) + if self.score != 0 { + try visitor.visitSingularFloatField(value: self.score, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ScreenResolutionTelemetry, rhs: ScreenResolutionTelemetry) -> Bool { - if lhs.deviceWidth != rhs.deviceWidth {return false} - if lhs.deviceHeight != rhs.deviceHeight {return false} + public static func ==(lhs: ScanSQCDoneEvent.ScanSQCFailedReason, rhs: ScanSQCDoneEvent.ScanSQCFailedReason) -> Bool { + if lhs.failedReason != rhs.failedReason {return false} + if lhs.score != rhs.score {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SearchFilterPreferenceProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SearchFilterPreferenceProto" +extension ScanSQCDoneEvent.ScanSQCFailedReason.FailedReason: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "recent_searches"), - 2: .standard(proto: "favorite_searches"), + 0: .same(proto: "blurry"), + 1: .same(proto: "dardk"), + 2: .same(proto: "bad_quality"), + 3: .same(proto: "ground_or_feet"), + 4: .same(proto: "indoor_unclear"), + 5: .same(proto: "from_car"), + 6: .same(proto: "obstructed"), + 7: .same(proto: "target_not_visible"), + ] +} + +extension ScanSQCRunEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ScanSQCRunEvent" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "scan_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -281101,36 +291385,31 @@ extension SearchFilterPreferenceProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.recentSearches) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.favoriteSearches) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.scanID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.recentSearches.isEmpty { - try visitor.visitRepeatedMessageField(value: self.recentSearches, fieldNumber: 1) - } - if !self.favoriteSearches.isEmpty { - try visitor.visitRepeatedMessageField(value: self.favoriteSearches, fieldNumber: 2) + if !self.scanID.isEmpty { + try visitor.visitSingularStringField(value: self.scanID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SearchFilterPreferenceProto, rhs: SearchFilterPreferenceProto) -> Bool { - if lhs.recentSearches != rhs.recentSearches {return false} - if lhs.favoriteSearches != rhs.favoriteSearches {return false} + public static func ==(lhs: ScanSQCRunEvent, rhs: ScanSQCRunEvent) -> Bool { + if lhs.scanID != rhs.scanID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SearchFilterPreferenceProto.SearchFilterQueryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = SearchFilterPreferenceProto.protoMessageName + ".SearchFilterQueryProto" +extension ScreenResolutionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ScreenResolutionTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "title"), - 2: .same(proto: "query"), + 1: .standard(proto: "device_width"), + 2: .standard(proto: "device_height"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -281139,36 +291418,36 @@ extension SearchFilterPreferenceProto.SearchFilterQueryProto: SwiftProtobuf.Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.query) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.deviceWidth) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.deviceHeight) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.title.isEmpty { - try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) + if self.deviceWidth != 0 { + try visitor.visitSingularInt32Field(value: self.deviceWidth, fieldNumber: 1) } - if !self.query.isEmpty { - try visitor.visitSingularStringField(value: self.query, fieldNumber: 2) + if self.deviceHeight != 0 { + try visitor.visitSingularInt32Field(value: self.deviceHeight, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SearchFilterPreferenceProto.SearchFilterQueryProto, rhs: SearchFilterPreferenceProto.SearchFilterQueryProto) -> Bool { - if lhs.title != rhs.title {return false} - if lhs.query != rhs.query {return false} + public static func ==(lhs: ScreenResolutionTelemetry, rhs: ScreenResolutionTelemetry) -> Bool { + if lhs.deviceWidth != rhs.deviceWidth {return false} + if lhs.deviceHeight != rhs.deviceHeight {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SearchPlayerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SearchPlayerOutProto" +extension SearchFilterPreferenceProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SearchFilterPreferenceProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "player"), + 1: .standard(proto: "recent_searches"), + 2: .standard(proto: "favorite_searches"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -281177,48 +291456,36 @@ extension SearchPlayerOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._player) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.recentSearches) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.favoriteSearches) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.recentSearches.isEmpty { + try visitor.visitRepeatedMessageField(value: self.recentSearches, fieldNumber: 1) + } + if !self.favoriteSearches.isEmpty { + try visitor.visitRepeatedMessageField(value: self.favoriteSearches, fieldNumber: 2) } - try { if let v = self._player { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SearchPlayerOutProto, rhs: SearchPlayerOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._player != rhs._player {return false} + public static func ==(lhs: SearchFilterPreferenceProto, rhs: SearchFilterPreferenceProto) -> Bool { + if lhs.recentSearches != rhs.recentSearches {return false} + if lhs.favoriteSearches != rhs.favoriteSearches {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SearchPlayerOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - ] -} - -extension SearchPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SearchPlayerProto" +extension SearchFilterPreferenceProto.SearchFilterQueryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = SearchFilterPreferenceProto.protoMessageName + ".SearchFilterQueryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_code"), + 1: .same(proto: "title"), + 2: .same(proto: "query"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -281227,21 +291494,26 @@ extension SearchPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendCode) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.query) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.friendCode.isEmpty { - try visitor.visitSingularStringField(value: self.friendCode, fieldNumber: 1) + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) + } + if !self.query.isEmpty { + try visitor.visitSingularStringField(value: self.query, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SearchPlayerProto, rhs: SearchPlayerProto) -> Bool { - if lhs.friendCode != rhs.friendCode {return false} + public static func ==(lhs: SearchFilterPreferenceProto.SearchFilterQueryProto, rhs: SearchFilterPreferenceProto.SearchFilterQueryProto) -> Bool { + if lhs.title != rhs.title {return false} + if lhs.query != rhs.query {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -281291,202 +291563,6 @@ extension SeasonContestsDefinitionSettingsProto: SwiftProtobuf.Message, SwiftPro } } -extension SendContactListFriendInviteRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SendContactListFriendInviteRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "emails"), - 2: .standard(proto: "phone_numbers"), - 3: .standard(proto: "country_code"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.emails) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.phoneNumbers) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.emails.isEmpty { - try visitor.visitRepeatedStringField(value: self.emails, fieldNumber: 1) - } - if !self.phoneNumbers.isEmpty { - try visitor.visitRepeatedStringField(value: self.phoneNumbers, fieldNumber: 2) - } - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SendContactListFriendInviteRequest, rhs: SendContactListFriendInviteRequest) -> Bool { - if lhs.emails != rhs.emails {return false} - if lhs.phoneNumbers != rhs.phoneNumbers {return false} - if lhs.countryCode != rhs.countryCode {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SendContactListFriendInviteResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SendContactListFriendInviteResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SendContactListFriendInviteResponse, rhs: SendContactListFriendInviteResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SendContactListFriendInviteResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_OUTBOX_FULL"), - 4: .same(proto: "ERROR_PLAYER_INBOX_FULL"), - 5: .same(proto: "ERROR_SENDER_HAS_MAX_FRIENDS"), - 6: .same(proto: "ERROR_RECEIVER_HAS_MAX_FRIENDS"), - 7: .same(proto: "ERROR_ALREADY_A_FRIEND"), - 8: .same(proto: "ERROR_INVITE_ALREADY_SENT"), - 9: .same(proto: "ERROR_INVITE_ALREADY_RECEIVED"), - 10: .same(proto: "ERROR_CANNOT_SEND_INVITES_TO_YOURSELF"), - 11: .same(proto: "ERROR_CONTACT_NOT_FOUND"), - 12: .same(proto: "ERROR_RECEIVER_NOT_FOUND"), - 13: .same(proto: "ERROR_NO_SENDER_NAME"), - 14: .same(proto: "ERROR_SEND_TO_BLOCKED_USER"), - ] -} - -extension SendFriendInviteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SendFriendInviteOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SendFriendInviteOutProto, rhs: SendFriendInviteOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SendFriendInviteOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_ALREADY_A_FRIEND"), - 4: .same(proto: "ERROR_PLAYER_DOES_NOT_EXIST_DELETED"), - 5: .same(proto: "ERROR_PLAYER_INBOX_FULL"), - 6: .same(proto: "ERROR_PLAYER_OUTBOX_FULL"), - 7: .same(proto: "ERROR_SENDER_HAS_MAX_FRIENDS"), - 8: .same(proto: "ERROR_INVITE_ALREADY_SENT"), - 9: .same(proto: "ERROR_CANNOT_SEND_INVITES_TO_YOURSELF"), - 10: .same(proto: "ERROR_INVITE_ALREADY_RECEIVED"), - 11: .same(proto: "ERROR_RECEIVER_HAS_MAX_FRIENDS"), - 12: .same(proto: "ERROR_SEND_TO_BLOCKED_USER"), - ] -} - -extension SendFriendInviteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SendFriendInviteProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "player_id"), - 2: .standard(proto: "friend_code"), - 3: .standard(proto: "read_only"), - 4: .standard(proto: "nia_account_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.friendCode) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.readOnly) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) - } - if !self.friendCode.isEmpty { - try visitor.visitSingularStringField(value: self.friendCode, fieldNumber: 2) - } - if self.readOnly != false { - try visitor.visitSingularBoolField(value: self.readOnly, fieldNumber: 3) - } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 4) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SendFriendInviteProto, rhs: SendFriendInviteProto) -> Bool { - if lhs.playerID != rhs.playerID {return false} - if lhs.friendCode != rhs.friendCode {return false} - if lhs.readOnly != rhs.readOnly {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension SendFriendInviteViaReferralCodeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SendFriendInviteViaReferralCodeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -281622,6 +291698,8 @@ extension SendFriendRequestViaPlayerIdOutProto.Result: SwiftProtobuf._ProtoNameP 12: .same(proto: "ERROR_INVITE_ALREADY_RECEIVED"), 13: .same(proto: "ERROR_RECEIVER_HAS_MAX_FRIENDS"), 14: .same(proto: "ERROR_SEND_TO_BLOCKED_USER"), + 15: .same(proto: "ERROR_NOT_IN_PARTY"), + 16: .same(proto: "ERROR_PLAYER_NOT_PARTY_MEMBER"), ] } @@ -281629,6 +291707,7 @@ extension SendFriendRequestViaPlayerIdProto: SwiftProtobuf.Message, SwiftProtobu public static let protoMessageName: String = _protobuf_package + ".SendFriendRequestViaPlayerIdProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "player_id"), + 2: .same(proto: "context"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -281638,6 +291717,7 @@ extension SendFriendRequestViaPlayerIdProto: SwiftProtobuf.Message, SwiftProtobu // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.playerID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.context) }() default: break } } @@ -281647,16 +291727,27 @@ extension SendFriendRequestViaPlayerIdProto: SwiftProtobuf.Message, SwiftProtobu if !self.playerID.isEmpty { try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 1) } + if self.context != .raid { + try visitor.visitSingularEnumField(value: self.context, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: SendFriendRequestViaPlayerIdProto, rhs: SendFriendRequestViaPlayerIdProto) -> Bool { if lhs.playerID != rhs.playerID {return false} + if lhs.context != rhs.context {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } +extension SendFriendRequestViaPlayerIdProto.Context: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "RAID"), + 1: .same(proto: "PARTY"), + ] +} + extension SendGiftLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SendGiftLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -281798,6 +291889,84 @@ extension SendGiftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa } } +extension SendPartyInvitationOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SendPartyInvitationOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SendPartyInvitationOutProto, rhs: SendPartyInvitationOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SendPartyInvitationOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "SUCCESS"), + ] +} + +extension SendPartyInvitationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SendPartyInvitationProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "invitee_ids"), + 2: .standard(proto: "party_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.inviteeIds) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.partyID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.inviteeIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.inviteeIds, fieldNumber: 1) + } + if !self.partyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.partyID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SendPartyInvitationProto, rhs: SendPartyInvitationProto) -> Bool { + if lhs.inviteeIds != rhs.inviteeIds {return false} + if lhs.partyID != rhs.partyID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension SendProbeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SendProbeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -281868,10 +292037,10 @@ extension SendProbeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement } } -extension SendRaidInvitationDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SendRaidInvitationDataProto" +extension SendRaidInvitationData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SendRaidInvitationData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), + 1: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -281880,21 +292049,21 @@ extension SendRaidInvitationDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SendRaidInvitationDataProto, rhs: SendRaidInvitationDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} + public static func ==(lhs: SendRaidInvitationData, rhs: SendRaidInvitationData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -281905,7 +292074,7 @@ extension SendRaidInvitationOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), 2: .standard(proto: "num_friend_invites_remaining"), - 3: .standard(proto: "friends_over_daily_limit"), + 3: .standard(proto: "failed_invitee_ids"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -281916,7 +292085,7 @@ extension SendRaidInvitationOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() case 2: try { try decoder.decodeSingularInt32Field(value: &self.numFriendInvitesRemaining) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.friendsOverDailyLimit) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.failedInviteeIds) }() default: break } } @@ -281929,8 +292098,8 @@ extension SendRaidInvitationOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess if self.numFriendInvitesRemaining != 0 { try visitor.visitSingularInt32Field(value: self.numFriendInvitesRemaining, fieldNumber: 2) } - if !self.friendsOverDailyLimit.isEmpty { - try visitor.visitRepeatedStringField(value: self.friendsOverDailyLimit, fieldNumber: 3) + if !self.failedInviteeIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.failedInviteeIds, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } @@ -281938,7 +292107,7 @@ extension SendRaidInvitationOutProto: SwiftProtobuf.Message, SwiftProtobuf._Mess public static func ==(lhs: SendRaidInvitationOutProto, rhs: SendRaidInvitationOutProto) -> Bool { if lhs.result != rhs.result {return false} if lhs.numFriendInvitesRemaining != rhs.numFriendInvitesRemaining {return false} - if lhs.friendsOverDailyLimit != rhs.friendsOverDailyLimit {return false} + if lhs.failedInviteeIds != rhs.failedInviteeIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -282015,13 +292184,13 @@ extension SendRaidInvitationProto: SwiftProtobuf.Message, SwiftProtobuf._Message } } -extension SendRaidInvitationResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SendRaidInvitationResponseDataProto" +extension SendRaidInvitationResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SendRaidInvitationResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "ob_send_raid_invitation_data_int32"), - 3: .standard(proto: "ob_send_raid_invitation_data_int32_2"), - 4: .standard(proto: "ob_send_raid_invitation_data_uint32"), + 2: .standard(proto: "num_friend_invites_remaining"), + 3: .standard(proto: "rpc_id"), + 4: .standard(proto: "round_trip_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -282031,9 +292200,9 @@ extension SendRaidInvitationResponseDataProto: SwiftProtobuf.Message, SwiftProto // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obSendRaidInvitationDataInt32) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obSendRaidInvitationDataInt322) }() - case 4: try { try decoder.decodeSingularUInt32Field(value: &self.obSendRaidInvitationDataUint32) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numFriendInvitesRemaining) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 4: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() default: break } } @@ -282043,120 +292212,33 @@ extension SendRaidInvitationResponseDataProto: SwiftProtobuf.Message, SwiftProto if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.obSendRaidInvitationDataInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obSendRaidInvitationDataInt32, fieldNumber: 2) + if self.numFriendInvitesRemaining != 0 { + try visitor.visitSingularInt32Field(value: self.numFriendInvitesRemaining, fieldNumber: 2) } - if self.obSendRaidInvitationDataInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obSendRaidInvitationDataInt322, fieldNumber: 3) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 3) } - if self.obSendRaidInvitationDataUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obSendRaidInvitationDataUint32, fieldNumber: 4) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SendRaidInvitationResponseDataProto, rhs: SendRaidInvitationResponseDataProto) -> Bool { + public static func ==(lhs: SendRaidInvitationResponseData, rhs: SendRaidInvitationResponseData) -> Bool { if lhs.result != rhs.result {return false} - if lhs.obSendRaidInvitationDataInt32 != rhs.obSendRaidInvitationDataInt32 {return false} - if lhs.obSendRaidInvitationDataInt322 != rhs.obSendRaidInvitationDataInt322 {return false} - if lhs.obSendRaidInvitationDataUint32 != rhs.obSendRaidInvitationDataUint32 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SendSmsVerificationCodeRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SendSmsVerificationCodeRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "phone_number"), - 2: .standard(proto: "country_code"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.phoneNumber) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.phoneNumber.isEmpty { - try visitor.visitSingularStringField(value: self.phoneNumber, fieldNumber: 1) - } - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SendSmsVerificationCodeRequest, rhs: SendSmsVerificationCodeRequest) -> Bool { - if lhs.phoneNumber != rhs.phoneNumber {return false} - if lhs.countryCode != rhs.countryCode {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SendSmsVerificationCodeResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SendSmsVerificationCodeResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SendSmsVerificationCodeResponse, rhs: SendSmsVerificationCodeResponse) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} + if lhs.numFriendInvitesRemaining != rhs.numFriendInvitesRemaining {return false} + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SendSmsVerificationCodeResponse.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_TOO_FREQUENT_ATTEMPTS"), - 4: .same(proto: "ERROR_TOO_MANY_ATTEMPTS"), - 5: .same(proto: "ERROR_INVALID_PHONE_NUMBER"), - ] -} - -extension ServerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ServerData" +extension ServerRecordMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ServerRecordMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "user_id"), - 2: .standard(proto: "telemetry_id"), + 2: .standard(proto: "telemetry_name"), 3: .standard(proto: "session_id"), 4: .standard(proto: "request_id"), 5: .standard(proto: "server_timestamp_ms"), @@ -282170,7 +292252,7 @@ extension ServerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.userID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.telemetryID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.telemetryName) }() case 3: try { try decoder.decodeSingularStringField(value: &self.sessionID) }() case 4: try { try decoder.decodeSingularStringField(value: &self.requestID) }() case 5: try { try decoder.decodeSingularInt64Field(value: &self.serverTimestampMs) }() @@ -282184,8 +292266,8 @@ extension ServerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio if !self.userID.isEmpty { try visitor.visitSingularStringField(value: self.userID, fieldNumber: 1) } - if !self.telemetryID.isEmpty { - try visitor.visitSingularStringField(value: self.telemetryID, fieldNumber: 2) + if !self.telemetryName.isEmpty { + try visitor.visitSingularStringField(value: self.telemetryName, fieldNumber: 2) } if !self.sessionID.isEmpty { try visitor.visitSingularStringField(value: self.sessionID, fieldNumber: 3) @@ -282202,93 +292284,13 @@ extension ServerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ServerData, rhs: ServerData) -> Bool { - if lhs.userID != rhs.userID {return false} - if lhs.telemetryID != rhs.telemetryID {return false} - if lhs.sessionID != rhs.sessionID {return false} - if lhs.requestID != rhs.requestID {return false} - if lhs.serverTimestampMs != rhs.serverTimestampMs {return false} - if lhs.clientRequestID != rhs.clientRequestID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ServerRecordMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ServerRecordMetadata" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "user_id"), - 2: .standard(proto: "telemetry_name"), - 3: .standard(proto: "session_id"), - 4: .standard(proto: "experiment_ids"), - 5: .standard(proto: "request_id"), - 6: .standard(proto: "server_timestamp_ms"), - 7: .standard(proto: "analytics_experiment_ids"), - 8: .standard(proto: "client_request_id"), - 9: .standard(proto: "user_population_group_ids"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.userID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.telemetryName) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.sessionID) }() - case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.experimentIds) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.requestID) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.serverTimestampMs) }() - case 7: try { try decoder.decodeRepeatedStringField(value: &self.analyticsExperimentIds) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.clientRequestID) }() - case 9: try { try decoder.decodeRepeatedStringField(value: &self.userPopulationGroupIds) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.userID.isEmpty { - try visitor.visitSingularStringField(value: self.userID, fieldNumber: 1) - } - if !self.telemetryName.isEmpty { - try visitor.visitSingularStringField(value: self.telemetryName, fieldNumber: 2) - } - if !self.sessionID.isEmpty { - try visitor.visitSingularStringField(value: self.sessionID, fieldNumber: 3) - } - if !self.experimentIds.isEmpty { - try visitor.visitPackedInt32Field(value: self.experimentIds, fieldNumber: 4) - } - if !self.requestID.isEmpty { - try visitor.visitSingularStringField(value: self.requestID, fieldNumber: 5) - } - if self.serverTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.serverTimestampMs, fieldNumber: 6) - } - if !self.analyticsExperimentIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.analyticsExperimentIds, fieldNumber: 7) - } - if !self.clientRequestID.isEmpty { - try visitor.visitSingularStringField(value: self.clientRequestID, fieldNumber: 8) - } - if !self.userPopulationGroupIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.userPopulationGroupIds, fieldNumber: 9) - } - try unknownFields.traverse(visitor: &visitor) - } - public static func ==(lhs: ServerRecordMetadata, rhs: ServerRecordMetadata) -> Bool { if lhs.userID != rhs.userID {return false} if lhs.telemetryName != rhs.telemetryName {return false} if lhs.sessionID != rhs.sessionID {return false} - if lhs.experimentIds != rhs.experimentIds {return false} if lhs.requestID != rhs.requestID {return false} if lhs.serverTimestampMs != rhs.serverTimestampMs {return false} - if lhs.analyticsExperimentIds != rhs.analyticsExperimentIds {return false} if lhs.clientRequestID != rhs.clientRequestID {return false} - if lhs.userPopulationGroupIds != rhs.userPopulationGroupIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -282374,180 +292376,6 @@ extension ServiceOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement } } -extension SetAccountContactSettingsRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SetAccountContactSettingsRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "full_name"), - 2: .standard(proto: "contact_import_discoverability_consent"), - 3: .standard(proto: "update_field_mask"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fullName) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.contactImportDiscoverabilityConsent) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._updateFieldMask) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.fullName.isEmpty { - try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 1) - } - if self.contactImportDiscoverabilityConsent != .unknown { - try visitor.visitSingularEnumField(value: self.contactImportDiscoverabilityConsent, fieldNumber: 2) - } - try { if let v = self._updateFieldMask { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SetAccountContactSettingsRequest, rhs: SetAccountContactSettingsRequest) -> Bool { - if lhs.fullName != rhs.fullName {return false} - if lhs.contactImportDiscoverabilityConsent != rhs.contactImportDiscoverabilityConsent {return false} - if lhs._updateFieldMask != rhs._updateFieldMask {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SetAccountContactSettingsResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SetAccountContactSettingsResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SetAccountContactSettingsResponse, rhs: SetAccountContactSettingsResponse) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SetAccountContactSettingsResponse.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "NAME_NOT_ALLOWED"), - 4: .same(proto: "NAME_ABUSIVE"), - 5: .same(proto: "NAME_INVALID"), - ] -} - -extension SetAccountSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SetAccountSettingsOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SetAccountSettingsOutProto, rhs: SetAccountSettingsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SetAccountSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_INAPPROPRIATE_NAME"), - ] -} - -extension SetAccountSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SetAccountSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "settings"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._settings) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._settings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SetAccountSettingsProto, rhs: SetAccountSettingsProto) -> Bool { - if lhs._settings != rhs._settings {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension SetAvatarItemAsViewedOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SetAvatarItemAsViewedOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -283759,6 +293587,38 @@ extension SetPokemonTagsForPokemonProto.PokemonTagChangeProto: SwiftProtobuf.Mes } } +extension SettingsVersionControllerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SettingsVersionControllerProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "v2_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.v2Enabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.v2Enabled != false { + try visitor.visitSingularBoolField(value: self.v2Enabled, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SettingsVersionControllerProto, rhs: SettingsVersionControllerProto) -> Bool { + if lhs.v2Enabled != rhs.v2Enabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension SfidaAssociateRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SfidaAssociateRequest" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -284386,8 +294246,8 @@ extension SfidaGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag public static let protoMessageName: String = _protobuf_package + ".SfidaGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "low_battery_threshold"), - 2: .standard(proto: "ob_bool"), - 3: .standard(proto: "ob_int32"), + 2: .standard(proto: "waina_enabled"), + 3: .standard(proto: "connect_version"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -284397,8 +294257,8 @@ extension SfidaGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularFloatField(value: &self.lowBatteryThreshold) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.wainaEnabled) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.connectVersion) }() default: break } } @@ -284408,19 +294268,19 @@ extension SfidaGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if self.lowBatteryThreshold != 0 { try visitor.visitSingularFloatField(value: self.lowBatteryThreshold, fieldNumber: 1) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 2) + if self.wainaEnabled != false { + try visitor.visitSingularBoolField(value: self.wainaEnabled, fieldNumber: 2) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 3) + if self.connectVersion != 0 { + try visitor.visitSingularInt32Field(value: self.connectVersion, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: SfidaGlobalSettingsProto, rhs: SfidaGlobalSettingsProto) -> Bool { if lhs.lowBatteryThreshold != rhs.lowBatteryThreshold {return false} - if lhs.obBool != rhs.obBool {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + if lhs.wainaEnabled != rhs.wainaEnabled {return false} + if lhs.connectVersion != rhs.connectVersion {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -284816,11 +294676,13 @@ extension ShapeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio } } -extension ShareExRaidPassLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ShareExRaidPassLogEntry" +extension ShardManagerEchoOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ShardManagerEchoOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "friend_codename"), + 2: .same(proto: "response"), + 3: .standard(proto: "debug_output"), + 4: .standard(proto: "pod_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -284830,7 +294692,9 @@ extension ShareExRaidPassLogEntry: SwiftProtobuf.Message, SwiftProtobuf._Message // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.friendCodename) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.response) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.debugOutput) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.podName) }() default: break } } @@ -284840,117 +294704,45 @@ extension ShareExRaidPassLogEntry: SwiftProtobuf.Message, SwiftProtobuf._Message if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.friendCodename.isEmpty { - try visitor.visitSingularStringField(value: self.friendCodename, fieldNumber: 2) + if !self.response.isEmpty { + try visitor.visitSingularStringField(value: self.response, fieldNumber: 2) + } + if !self.debugOutput.isEmpty { + try visitor.visitSingularStringField(value: self.debugOutput, fieldNumber: 3) + } + if !self.podName.isEmpty { + try visitor.visitSingularStringField(value: self.podName, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ShareExRaidPassLogEntry, rhs: ShareExRaidPassLogEntry) -> Bool { + public static func ==(lhs: ShardManagerEchoOutProto, rhs: ShardManagerEchoOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.friendCodename != rhs.friendCodename {return false} + if lhs.response != rhs.response {return false} + if lhs.debugOutput != rhs.debugOutput {return false} + if lhs.podName != rhs.podName {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension ShareExRaidPassLogEntry.Result: SwiftProtobuf._ProtoNameProviding { +extension ShardManagerEchoOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), ] } -extension ShareExRaidPassOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ShareExRaidPassOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "updated_friendship_data"), - 3: .standard(proto: "friend_profile"), - ] - - fileprivate class _StorageClass { - var _result: ShareExRaidPassResult = .shareExRaidPassUnset - var _updatedFriendshipData: FriendshipLevelDataProto? = nil - var _friendProfile: PlayerPublicProfileProto? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _result = source._result - _updatedFriendshipData = source._updatedFriendshipData - _friendProfile = source._friendProfile - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._updatedFriendshipData) }() - case 3: try { try decoder.decodeSingularMessageField(value: &_storage._friendProfile) }() - default: break - } - } - } - } - - public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._result != .shareExRaidPassUnset { - try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 1) - } - try { if let v = _storage._updatedFriendshipData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._friendProfile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: ShareExRaidPassOutProto, rhs: ShareExRaidPassOutProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._result != rhs_storage._result {return false} - if _storage._updatedFriendshipData != rhs_storage._updatedFriendshipData {return false} - if _storage._friendProfile != rhs_storage._friendProfile {return false} - return true - } - if !storagesAreEqual {return false} - } - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension ShareExRaidPassProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ShareExRaidPassProto" +extension ShardManagerEchoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ShardManagerEchoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .standard(proto: "fort_id"), - 3: .standard(proto: "raid_seed"), + 1: .same(proto: "message"), + 2: .standard(proto: "is_multi_player"), + 3: .standard(proto: "session_id"), + 4: .standard(proto: "session_start_timestamp"), + 5: .standard(proto: "enable_debug_output"), + 6: .standard(proto: "create_session"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -284959,42 +294751,58 @@ extension ShareExRaidPassProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.raidSeed) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.message) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isMultiPlayer) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.sessionID) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.sessionStartTimestamp) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.enableDebugOutput) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.createSession) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) + if !self.message.isEmpty { + try visitor.visitSingularStringField(value: self.message, fieldNumber: 1) } - if !self.fortID.isEmpty { - try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 2) + if self.isMultiPlayer != false { + try visitor.visitSingularBoolField(value: self.isMultiPlayer, fieldNumber: 2) } - if self.raidSeed != 0 { - try visitor.visitSingularInt64Field(value: self.raidSeed, fieldNumber: 3) + if !self.sessionID.isEmpty { + try visitor.visitSingularStringField(value: self.sessionID, fieldNumber: 3) + } + if self.sessionStartTimestamp != 0 { + try visitor.visitSingularInt64Field(value: self.sessionStartTimestamp, fieldNumber: 4) + } + if self.enableDebugOutput != false { + try visitor.visitSingularBoolField(value: self.enableDebugOutput, fieldNumber: 5) + } + if self.createSession != false { + try visitor.visitSingularBoolField(value: self.createSession, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ShareExRaidPassProto, rhs: ShareExRaidPassProto) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs.fortID != rhs.fortID {return false} - if lhs.raidSeed != rhs.raidSeed {return false} + public static func ==(lhs: ShardManagerEchoProto, rhs: ShardManagerEchoProto) -> Bool { + if lhs.message != rhs.message {return false} + if lhs.isMultiPlayer != rhs.isMultiPlayer {return false} + if lhs.sessionID != rhs.sessionID {return false} + if lhs.sessionStartTimestamp != rhs.sessionStartTimestamp {return false} + if lhs.enableDebugOutput != rhs.enableDebugOutput {return false} + if lhs.createSession != rhs.createSession {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SharedExclusiveTicketTrainerInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SharedExclusiveTicketTrainerInfo" +extension SharedMoveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SharedMoveSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "codename"), - 2: .standard(proto: "player_id"), - 3: .standard(proto: "nia_account_id"), + 1: .standard(proto: "shadow_third_move_unlock_stardust_multiplier"), + 2: .standard(proto: "shadow_third_move_unlock_candy_multiplier"), + 3: .standard(proto: "purified_third_move_unlock_stardust_multiplier"), + 4: .standard(proto: "purified_third_move_unlock_candy_multiplier"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -285003,43 +294811,45 @@ extension SharedExclusiveTicketTrainerInfo: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.codename) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.playerID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.niaAccountID) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.shadowThirdMoveUnlockStardustMultiplier) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.shadowThirdMoveUnlockCandyMultiplier) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.purifiedThirdMoveUnlockStardustMultiplier) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.purifiedThirdMoveUnlockCandyMultiplier) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.codename.isEmpty { - try visitor.visitSingularStringField(value: self.codename, fieldNumber: 1) + if self.shadowThirdMoveUnlockStardustMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.shadowThirdMoveUnlockStardustMultiplier, fieldNumber: 1) } - if !self.playerID.isEmpty { - try visitor.visitSingularStringField(value: self.playerID, fieldNumber: 2) + if self.shadowThirdMoveUnlockCandyMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.shadowThirdMoveUnlockCandyMultiplier, fieldNumber: 2) } - if !self.niaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.niaAccountID, fieldNumber: 3) + if self.purifiedThirdMoveUnlockStardustMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.purifiedThirdMoveUnlockStardustMultiplier, fieldNumber: 3) + } + if self.purifiedThirdMoveUnlockCandyMultiplier != 0 { + try visitor.visitSingularFloatField(value: self.purifiedThirdMoveUnlockCandyMultiplier, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SharedExclusiveTicketTrainerInfo, rhs: SharedExclusiveTicketTrainerInfo) -> Bool { - if lhs.codename != rhs.codename {return false} - if lhs.playerID != rhs.playerID {return false} - if lhs.niaAccountID != rhs.niaAccountID {return false} + public static func ==(lhs: SharedMoveSettingsProto, rhs: SharedMoveSettingsProto) -> Bool { + if lhs.shadowThirdMoveUnlockStardustMultiplier != rhs.shadowThirdMoveUnlockStardustMultiplier {return false} + if lhs.shadowThirdMoveUnlockCandyMultiplier != rhs.shadowThirdMoveUnlockCandyMultiplier {return false} + if lhs.purifiedThirdMoveUnlockStardustMultiplier != rhs.purifiedThirdMoveUnlockStardustMultiplier {return false} + if lhs.purifiedThirdMoveUnlockCandyMultiplier != rhs.purifiedThirdMoveUnlockCandyMultiplier {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SharedMoveSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SharedMoveSettings" +extension SharedNonCombatMoveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SharedNonCombatMoveSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sta_percent"), - 2: .standard(proto: "atk_percent"), - 3: .standard(proto: "def_percent"), - 4: .standard(proto: "duration_s"), + 1: .standard(proto: "non_combat_move_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -285048,36 +294858,21 @@ extension SharedMoveSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.staPercent) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.atkPercent) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.defPercent) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.durationS) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.nonCombatMoveEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.staPercent != 0 { - try visitor.visitSingularFloatField(value: self.staPercent, fieldNumber: 1) - } - if self.atkPercent != 0 { - try visitor.visitSingularFloatField(value: self.atkPercent, fieldNumber: 2) - } - if self.defPercent != 0 { - try visitor.visitSingularFloatField(value: self.defPercent, fieldNumber: 3) - } - if self.durationS != 0 { - try visitor.visitSingularFloatField(value: self.durationS, fieldNumber: 4) + if self.nonCombatMoveEnabled != false { + try visitor.visitSingularBoolField(value: self.nonCombatMoveEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SharedMoveSettings, rhs: SharedMoveSettings) -> Bool { - if lhs.staPercent != rhs.staPercent {return false} - if lhs.atkPercent != rhs.atkPercent {return false} - if lhs.defPercent != rhs.defPercent {return false} - if lhs.durationS != rhs.durationS {return false} + public static func ==(lhs: SharedNonCombatMoveSettingsProto, rhs: SharedNonCombatMoveSettingsProto) -> Bool { + if lhs.nonCombatMoveEnabled != rhs.nonCombatMoveEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -285108,6 +294903,10 @@ extension SharedRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme 34: .standard(proto: "start_poi"), 35: .standard(proto: "end_poi"), 36: .standard(proto: "s2_ground_cells"), + 37: .standard(proto: "edit_count"), + 38: .standard(proto: "editable_post_rejection"), + 39: .standard(proto: "last_edit_time_ms"), + 40: .standard(proto: "submission_count"), ] fileprivate class _StorageClass { @@ -285133,6 +294932,10 @@ extension SharedRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme var _startPoi: RoutePoiAnchor? = nil var _endPoi: RoutePoiAnchor? = nil var _s2GroundCells: [UInt64] = [] + var _editCount: Int64 = 0 + var _editablePostRejection: Bool = false + var _lastEditTimeMs: Int64 = 0 + var _submissionCount: Int64 = 0 static let defaultInstance = _StorageClass() @@ -285161,6 +294964,10 @@ extension SharedRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme _startPoi = source._startPoi _endPoi = source._endPoi _s2GroundCells = source._s2GroundCells + _editCount = source._editCount + _editablePostRejection = source._editablePostRejection + _lastEditTimeMs = source._lastEditTimeMs + _submissionCount = source._submissionCount } } @@ -285201,6 +295008,10 @@ extension SharedRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme case 34: try { try decoder.decodeSingularMessageField(value: &_storage._startPoi) }() case 35: try { try decoder.decodeSingularMessageField(value: &_storage._endPoi) }() case 36: try { try decoder.decodeRepeatedUInt64Field(value: &_storage._s2GroundCells) }() + case 37: try { try decoder.decodeSingularInt64Field(value: &_storage._editCount) }() + case 38: try { try decoder.decodeSingularBoolField(value: &_storage._editablePostRejection) }() + case 39: try { try decoder.decodeSingularInt64Field(value: &_storage._lastEditTimeMs) }() + case 40: try { try decoder.decodeSingularInt64Field(value: &_storage._submissionCount) }() default: break } } @@ -285279,6 +295090,18 @@ extension SharedRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme if !_storage._s2GroundCells.isEmpty { try visitor.visitPackedUInt64Field(value: _storage._s2GroundCells, fieldNumber: 36) } + if _storage._editCount != 0 { + try visitor.visitSingularInt64Field(value: _storage._editCount, fieldNumber: 37) + } + if _storage._editablePostRejection != false { + try visitor.visitSingularBoolField(value: _storage._editablePostRejection, fieldNumber: 38) + } + if _storage._lastEditTimeMs != 0 { + try visitor.visitSingularInt64Field(value: _storage._lastEditTimeMs, fieldNumber: 39) + } + if _storage._submissionCount != 0 { + try visitor.visitSingularInt64Field(value: _storage._submissionCount, fieldNumber: 40) + } } try unknownFields.traverse(visitor: &visitor) } @@ -285310,6 +295133,10 @@ extension SharedRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme if _storage._startPoi != rhs_storage._startPoi {return false} if _storage._endPoi != rhs_storage._endPoi {return false} if _storage._s2GroundCells != rhs_storage._s2GroundCells {return false} + if _storage._editCount != rhs_storage._editCount {return false} + if _storage._editablePostRejection != rhs_storage._editablePostRejection {return false} + if _storage._lastEditTimeMs != rhs_storage._lastEditTimeMs {return false} + if _storage._submissionCount != rhs_storage._submissionCount {return false} return true } if !storagesAreEqual {return false} @@ -285327,6 +295154,7 @@ extension ShoppingPageClickTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess 3: .standard(proto: "item_sku"), 4: .standard(proto: "has_item"), 5: .standard(proto: "ml_bundle_tracking_id"), + 6: .standard(proto: "available_sku"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -285340,6 +295168,7 @@ extension ShoppingPageClickTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess case 3: try { try decoder.decodeSingularStringField(value: &self.itemSku) }() case 4: try { try decoder.decodeSingularBoolField(value: &self.hasItem_p) }() case 5: try { try decoder.decodeSingularStringField(value: &self.mlBundleTrackingID) }() + case 6: try { try decoder.decodeRepeatedMessageField(value: &self.availableSku) }() default: break } } @@ -285361,6 +295190,9 @@ extension ShoppingPageClickTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess if !self.mlBundleTrackingID.isEmpty { try visitor.visitSingularStringField(value: self.mlBundleTrackingID, fieldNumber: 5) } + if !self.availableSku.isEmpty { + try visitor.visitRepeatedMessageField(value: self.availableSku, fieldNumber: 6) + } try unknownFields.traverse(visitor: &visitor) } @@ -285370,6 +295202,83 @@ extension ShoppingPageClickTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mess if lhs.itemSku != rhs.itemSku {return false} if lhs.hasItem_p != rhs.hasItem_p {return false} if lhs.mlBundleTrackingID != rhs.mlBundleTrackingID {return false} + if lhs.availableSku != rhs.availableSku {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ShoppingPageClickTelemetry.VisibleSku: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ShoppingPageClickTelemetry.protoMessageName + ".VisibleSku" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "sku_name"), + 2: .same(proto: "content"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.skuName) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.content) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.skuName.isEmpty { + try visitor.visitSingularStringField(value: self.skuName, fieldNumber: 1) + } + if !self.content.isEmpty { + try visitor.visitRepeatedMessageField(value: self.content, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ShoppingPageClickTelemetry.VisibleSku, rhs: ShoppingPageClickTelemetry.VisibleSku) -> Bool { + if lhs.skuName != rhs.skuName {return false} + if lhs.content != rhs.content {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension ShoppingPageClickTelemetry.VisibleSku.NestedSkuContent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = ShoppingPageClickTelemetry.VisibleSku.protoMessageName + ".NestedSkuContent" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "item_name"), + 2: .standard(proto: "item_count"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.itemName) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.itemCount) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.itemName.isEmpty { + try visitor.visitSingularStringField(value: self.itemName, fieldNumber: 1) + } + if self.itemCount != 0 { + try visitor.visitSingularInt32Field(value: self.itemCount, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: ShoppingPageClickTelemetry.VisibleSku.NestedSkuContent, rhs: ShoppingPageClickTelemetry.VisibleSku.NestedSkuContent) -> Bool { + if lhs.itemName != rhs.itemName {return false} + if lhs.itemCount != rhs.itemCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -285639,6 +295548,65 @@ extension SizeRecordBreakTelemetry.RecordBreakType: SwiftProtobuf._ProtoNameProv ] } +extension SkipEnterReferralCodeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SkipEnterReferralCodeOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SkipEnterReferralCodeOutProto, rhs: SkipEnterReferralCodeOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SkipEnterReferralCodeOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_DISABLED"), + ] +} + +extension SkipEnterReferralCodeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SkipEnterReferralCodeProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + while let _ = try decoder.nextFieldNumber() { + } + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SkipEnterReferralCodeProto, rhs: SkipEnterReferralCodeProto) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension SkuContentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SkuContentProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -285690,6 +295658,11 @@ extension SkuDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat 8: .standard(proto: "enabled_window_start_ms"), 9: .standard(proto: "enabled_window_end_ms"), 10: .standard(proto: "subscription_id"), + 11: .standard(proto: "sku_limit"), + 12: .standard(proto: "is_offer_only"), + 13: .standard(proto: "subscription_group_id"), + 14: .standard(proto: "subscription_level"), + 15: .standard(proto: "store_filter"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -285708,6 +295681,11 @@ extension SkuDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat case 8: try { try decoder.decodeSingularInt64Field(value: &self.enabledWindowStartMs) }() case 9: try { try decoder.decodeSingularInt64Field(value: &self.enabledWindowEndMs) }() case 10: try { try decoder.decodeSingularStringField(value: &self.subscriptionID) }() + case 11: try { try decoder.decodeRepeatedMessageField(value: &self.skuLimit) }() + case 12: try { try decoder.decodeSingularBoolField(value: &self.isOfferOnly) }() + case 13: try { try decoder.decodeSingularStringField(value: &self.subscriptionGroupID) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &self.subscriptionLevel) }() + case 15: try { try decoder.decodeSingularStringField(value: &self.storeFilter) }() default: break } } @@ -285744,6 +295722,21 @@ extension SkuDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat if !self.subscriptionID.isEmpty { try visitor.visitSingularStringField(value: self.subscriptionID, fieldNumber: 10) } + if !self.skuLimit.isEmpty { + try visitor.visitRepeatedMessageField(value: self.skuLimit, fieldNumber: 11) + } + if self.isOfferOnly != false { + try visitor.visitSingularBoolField(value: self.isOfferOnly, fieldNumber: 12) + } + if !self.subscriptionGroupID.isEmpty { + try visitor.visitSingularStringField(value: self.subscriptionGroupID, fieldNumber: 13) + } + if self.subscriptionLevel != 0 { + try visitor.visitSingularInt32Field(value: self.subscriptionLevel, fieldNumber: 14) + } + if !self.storeFilter.isEmpty { + try visitor.visitSingularStringField(value: self.storeFilter, fieldNumber: 15) + } try unknownFields.traverse(visitor: &visitor) } @@ -285758,6 +295751,11 @@ extension SkuDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat if lhs.enabledWindowStartMs != rhs.enabledWindowStartMs {return false} if lhs.enabledWindowEndMs != rhs.enabledWindowEndMs {return false} if lhs.subscriptionID != rhs.subscriptionID {return false} + if lhs.skuLimit != rhs.skuLimit {return false} + if lhs.isOfferOnly != rhs.isOfferOnly {return false} + if lhs.subscriptionGroupID != rhs.subscriptionGroupID {return false} + if lhs.subscriptionLevel != rhs.subscriptionLevel {return false} + if lhs.storeFilter != rhs.storeFilter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -285768,14 +295766,15 @@ extension SkuDataProto.SkuPaymentType: SwiftProtobuf._ProtoNameProviding { 0: .same(proto: "UNSET"), 1: .same(proto: "THIRD_PARTY"), 2: .same(proto: "IN_GAME"), + 3: .same(proto: "WEB"), ] } -extension SkuPresentationDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SkuPresentationDataProto" +extension SkuLimitProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SkuLimitProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "key"), - 2: .same(proto: "value"), + 1: .same(proto: "name"), + 2: .same(proto: "params"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -285784,33 +295783,33 @@ extension SkuPresentationDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.key) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.value) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.params) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.key.isEmpty { - try visitor.visitSingularStringField(value: self.key, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - if !self.value.isEmpty { - try visitor.visitSingularStringField(value: self.value, fieldNumber: 2) + if !self.params.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.params, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SkuPresentationDataProto, rhs: SkuPresentationDataProto) -> Bool { - if lhs.key != rhs.key {return false} - if lhs.value != rhs.value {return false} + public static func ==(lhs: SkuLimitProto, rhs: SkuLimitProto) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.params != rhs.params {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SkuPresentationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SkuPresentationProto" +extension SkuPresentationDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SkuPresentationDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "key"), 2: .same(proto: "value"), @@ -285839,7 +295838,7 @@ extension SkuPresentationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SkuPresentationProto, rhs: SkuPresentationProto) -> Bool { + public static func ==(lhs: SkuPresentationDataProto, rhs: SkuPresentationDataProto) -> Bool { if lhs.key != rhs.key {return false} if lhs.value != rhs.value {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -285885,11 +295884,13 @@ extension SkuPriceProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa } } -extension SkuStorePrice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SkuStorePrice" +extension SkuRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SkuRecord" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "currency_code"), - 2: .standard(proto: "price_paid_e6"), + 1: .standard(proto: "sku_id"), + 2: .standard(proto: "purchase_time_ms"), + 3: .standard(proto: "total_purchases"), + 4: .standard(proto: "offer_records"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -285898,26 +295899,74 @@ extension SkuStorePrice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.currencyCode) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.pricePaidE6) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.skuID) }() + case 2: try { try decoder.decodeRepeatedInt64Field(value: &self.purchaseTimeMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.totalPurchases) }() + case 4: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.offerRecords) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.currencyCode.isEmpty { - try visitor.visitSingularStringField(value: self.currencyCode, fieldNumber: 1) + if !self.skuID.isEmpty { + try visitor.visitSingularStringField(value: self.skuID, fieldNumber: 1) } - if self.pricePaidE6 != 0 { - try visitor.visitSingularInt64Field(value: self.pricePaidE6, fieldNumber: 2) + if !self.purchaseTimeMs.isEmpty { + try visitor.visitPackedInt64Field(value: self.purchaseTimeMs, fieldNumber: 2) + } + if self.totalPurchases != 0 { + try visitor.visitSingularInt32Field(value: self.totalPurchases, fieldNumber: 3) + } + if !self.offerRecords.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.offerRecords, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SkuStorePrice, rhs: SkuStorePrice) -> Bool { - if lhs.currencyCode != rhs.currencyCode {return false} - if lhs.pricePaidE6 != rhs.pricePaidE6 {return false} + public static func ==(lhs: SkuRecord, rhs: SkuRecord) -> Bool { + if lhs.skuID != rhs.skuID {return false} + if lhs.purchaseTimeMs != rhs.purchaseTimeMs {return false} + if lhs.totalPurchases != rhs.totalPurchases {return false} + if lhs.offerRecords != rhs.offerRecords {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SkuRecord.SkuOfferRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = SkuRecord.protoMessageName + ".SkuOfferRecord" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "purchase_time_ms"), + 2: .standard(proto: "total_purchases"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedInt64Field(value: &self.purchaseTimeMs) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.totalPurchases) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.purchaseTimeMs.isEmpty { + try visitor.visitPackedInt64Field(value: self.purchaseTimeMs, fieldNumber: 1) + } + if self.totalPurchases != 0 { + try visitor.visitSingularInt32Field(value: self.totalPurchases, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SkuRecord.SkuOfferRecord, rhs: SkuRecord.SkuOfferRecord) -> Bool { + if lhs.purchaseTimeMs != rhs.purchaseTimeMs {return false} + if lhs.totalPurchases != rhs.totalPurchases {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -286049,207 +296098,6 @@ extension SmeargleMovesSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess } } -extension SocialClientFeatures: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SocialClientFeatures" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "cross_game_social_settings"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._crossGameSocialSettings) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._crossGameSocialSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SocialClientFeatures, rhs: SocialClientFeatures) -> Bool { - if lhs._crossGameSocialSettings != rhs._crossGameSocialSettings {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SocialClientFeatures.CrossGameSocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = SocialClientFeatures.protoMessageName + ".CrossGameSocialClientSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "disabled_features"), - 2: .standard(proto: "app_link"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.disabledFeatures) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.appLink) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.disabledFeatures.isEmpty { - try visitor.visitPackedEnumField(value: self.disabledFeatures, fieldNumber: 1) - } - if self.appLink != .noLink { - try visitor.visitSingularEnumField(value: self.appLink, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SocialClientFeatures.CrossGameSocialClientSettingsProto, rhs: SocialClientFeatures.CrossGameSocialClientSettingsProto) -> Bool { - if lhs.disabledFeatures != rhs.disabledFeatures {return false} - if lhs.appLink != rhs.appLink {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SocialClientFeatures.CrossGameSocialClientSettingsProto.AppLinkType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NO_LINK"), - 1: .same(proto: "WEB_LINK"), - 2: .same(proto: "APP_STORE_LINK"), - ] -} - -extension SocialClientFeatures.CrossGameSocialClientSettingsProto.FeatureType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "NIANTIC_PROFILE"), - 2: .same(proto: "ONLINE_STATUS"), - 3: .same(proto: "CROSS_GAME_FRIEND_LIST"), - 4: .same(proto: "GAME_INVITE_SENDER"), - 5: .same(proto: "SHARED_FRIEND_GRAPH"), - 6: .same(proto: "NICKNAME"), - 7: .same(proto: "CROSS_GAME_ONLINE_STATUS"), - 8: .same(proto: "GAME_INVITE_RECEIVER"), - 9: .same(proto: "ADDRESS_BOOK_IMPORT"), - ] -} - -extension SocialClientGlobalSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SocialClientGlobalSettings" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "cross_game_social_settings"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._crossGameSocialSettings) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._crossGameSocialSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SocialClientGlobalSettings, rhs: SocialClientGlobalSettings) -> Bool { - if lhs._crossGameSocialSettings != rhs._crossGameSocialSettings {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SocialClientGlobalSettings.CrossGameSocialSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = SocialClientGlobalSettings.protoMessageName + ".CrossGameSocialSettingsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "niantic_profile_codename_opt_out_enabled"), - 2: .standard(proto: "disabled_outgoing_game_invite_app_key"), - 3: .standard(proto: "unreleased_app_key"), - 4: .standard(proto: "contact_list_sync_page_size"), - 5: .standard(proto: "contact_list_sync_interval_ms"), - 6: .standard(proto: "max_friends"), - 7: .standard(proto: "contact_list_concurrent_rpc_size"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.nianticProfileCodenameOptOutEnabled) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.disabledOutgoingGameInviteAppKey) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.unreleasedAppKey) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.contactListSyncPageSize) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.contactListSyncIntervalMs) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.maxFriends) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.contactListConcurrentRpcSize) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.nianticProfileCodenameOptOutEnabled != false { - try visitor.visitSingularBoolField(value: self.nianticProfileCodenameOptOutEnabled, fieldNumber: 1) - } - if !self.disabledOutgoingGameInviteAppKey.isEmpty { - try visitor.visitRepeatedStringField(value: self.disabledOutgoingGameInviteAppKey, fieldNumber: 2) - } - if !self.unreleasedAppKey.isEmpty { - try visitor.visitRepeatedStringField(value: self.unreleasedAppKey, fieldNumber: 3) - } - if self.contactListSyncPageSize != 0 { - try visitor.visitSingularInt32Field(value: self.contactListSyncPageSize, fieldNumber: 4) - } - if self.contactListSyncIntervalMs != 0 { - try visitor.visitSingularInt64Field(value: self.contactListSyncIntervalMs, fieldNumber: 5) - } - if self.maxFriends != 0 { - try visitor.visitSingularInt32Field(value: self.maxFriends, fieldNumber: 6) - } - if self.contactListConcurrentRpcSize != 0 { - try visitor.visitSingularInt32Field(value: self.contactListConcurrentRpcSize, fieldNumber: 7) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SocialClientGlobalSettings.CrossGameSocialSettingsProto, rhs: SocialClientGlobalSettings.CrossGameSocialSettingsProto) -> Bool { - if lhs.nianticProfileCodenameOptOutEnabled != rhs.nianticProfileCodenameOptOutEnabled {return false} - if lhs.disabledOutgoingGameInviteAppKey != rhs.disabledOutgoingGameInviteAppKey {return false} - if lhs.unreleasedAppKey != rhs.unreleasedAppKey {return false} - if lhs.contactListSyncPageSize != rhs.contactListSyncPageSize {return false} - if lhs.contactListSyncIntervalMs != rhs.contactListSyncIntervalMs {return false} - if lhs.maxFriends != rhs.maxFriends {return false} - if lhs.contactListConcurrentRpcSize != rhs.contactListConcurrentRpcSize {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SocialClientSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -286258,7 +296106,6 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa 3: .standard(proto: "player_level_gate"), 4: .standard(proto: "max_friend_nickname_length"), 5: .standard(proto: "enable_add_friend_via_qr_code"), - 6: .standard(proto: "enable_share_ex_pass"), 7: .standard(proto: "enable_facebook_friends"), 8: .standard(proto: "facebook_friend_limit_per_request"), 9: .standard(proto: "disable_facebook_friends_opening_prompt"), @@ -286266,9 +296113,9 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa 12: .standard(proto: "enable_remote_gifting"), 13: .standard(proto: "enable_sticker"), 14: .standard(proto: "cross_game_social_settings"), - 15: .standard(proto: "ob_bool"), - 16: .standard(proto: "ob_bool_1"), - 17: .standard(proto: "ob_bool_2"), + 15: .standard(proto: "migrate_lucky_data_to_shared"), + 16: .standard(proto: "enable_v2_sticker"), + 17: .standard(proto: "enable_deep_linking_qr_code"), ] fileprivate class _StorageClass { @@ -286277,7 +296124,6 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa var _playerLevelGate: Int32 = 0 var _maxFriendNicknameLength: Int32 = 0 var _enableAddFriendViaQrCode: Bool = false - var _enableShareExPass: Bool = false var _enableFacebookFriends: Bool = false var _facebookFriendLimitPerRequest: Int32 = 0 var _disableFacebookFriendsOpeningPrompt: Bool = false @@ -286285,9 +296131,9 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa var _enableRemoteGifting: Bool = false var _enableSticker: Bool = false var _crossGameSocialSettings: CrossGameSocialGlobalSettingsProto? = nil - var _obBool: Bool = false - var _obBool1: Bool = false - var _obBool2: Bool = false + var _migrateLuckyDataToShared: Bool = false + var _enableV2Sticker: Bool = false + var _enableDeepLinkingQrCode: Bool = false static let defaultInstance = _StorageClass() @@ -286299,7 +296145,6 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa _playerLevelGate = source._playerLevelGate _maxFriendNicknameLength = source._maxFriendNicknameLength _enableAddFriendViaQrCode = source._enableAddFriendViaQrCode - _enableShareExPass = source._enableShareExPass _enableFacebookFriends = source._enableFacebookFriends _facebookFriendLimitPerRequest = source._facebookFriendLimitPerRequest _disableFacebookFriendsOpeningPrompt = source._disableFacebookFriendsOpeningPrompt @@ -286307,9 +296152,9 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa _enableRemoteGifting = source._enableRemoteGifting _enableSticker = source._enableSticker _crossGameSocialSettings = source._crossGameSocialSettings - _obBool = source._obBool - _obBool1 = source._obBool1 - _obBool2 = source._obBool2 + _migrateLuckyDataToShared = source._migrateLuckyDataToShared + _enableV2Sticker = source._enableV2Sticker + _enableDeepLinkingQrCode = source._enableDeepLinkingQrCode } } @@ -286333,7 +296178,6 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._playerLevelGate) }() case 4: try { try decoder.decodeSingularInt32Field(value: &_storage._maxFriendNicknameLength) }() case 5: try { try decoder.decodeSingularBoolField(value: &_storage._enableAddFriendViaQrCode) }() - case 6: try { try decoder.decodeSingularBoolField(value: &_storage._enableShareExPass) }() case 7: try { try decoder.decodeSingularBoolField(value: &_storage._enableFacebookFriends) }() case 8: try { try decoder.decodeSingularInt32Field(value: &_storage._facebookFriendLimitPerRequest) }() case 9: try { try decoder.decodeSingularBoolField(value: &_storage._disableFacebookFriendsOpeningPrompt) }() @@ -286341,9 +296185,9 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa case 12: try { try decoder.decodeSingularBoolField(value: &_storage._enableRemoteGifting) }() case 13: try { try decoder.decodeSingularBoolField(value: &_storage._enableSticker) }() case 14: try { try decoder.decodeSingularMessageField(value: &_storage._crossGameSocialSettings) }() - case 15: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 16: try { try decoder.decodeSingularBoolField(value: &_storage._obBool1) }() - case 17: try { try decoder.decodeSingularBoolField(value: &_storage._obBool2) }() + case 15: try { try decoder.decodeSingularBoolField(value: &_storage._migrateLuckyDataToShared) }() + case 16: try { try decoder.decodeSingularBoolField(value: &_storage._enableV2Sticker) }() + case 17: try { try decoder.decodeSingularBoolField(value: &_storage._enableDeepLinkingQrCode) }() default: break } } @@ -286371,9 +296215,6 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa if _storage._enableAddFriendViaQrCode != false { try visitor.visitSingularBoolField(value: _storage._enableAddFriendViaQrCode, fieldNumber: 5) } - if _storage._enableShareExPass != false { - try visitor.visitSingularBoolField(value: _storage._enableShareExPass, fieldNumber: 6) - } if _storage._enableFacebookFriends != false { try visitor.visitSingularBoolField(value: _storage._enableFacebookFriends, fieldNumber: 7) } @@ -286395,14 +296236,14 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa try { if let v = _storage._crossGameSocialSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 14) } }() - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 15) + if _storage._migrateLuckyDataToShared != false { + try visitor.visitSingularBoolField(value: _storage._migrateLuckyDataToShared, fieldNumber: 15) } - if _storage._obBool1 != false { - try visitor.visitSingularBoolField(value: _storage._obBool1, fieldNumber: 16) + if _storage._enableV2Sticker != false { + try visitor.visitSingularBoolField(value: _storage._enableV2Sticker, fieldNumber: 16) } - if _storage._obBool2 != false { - try visitor.visitSingularBoolField(value: _storage._obBool2, fieldNumber: 17) + if _storage._enableDeepLinkingQrCode != false { + try visitor.visitSingularBoolField(value: _storage._enableDeepLinkingQrCode, fieldNumber: 17) } } try unknownFields.traverse(visitor: &visitor) @@ -286418,7 +296259,6 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa if _storage._playerLevelGate != rhs_storage._playerLevelGate {return false} if _storage._maxFriendNicknameLength != rhs_storage._maxFriendNicknameLength {return false} if _storage._enableAddFriendViaQrCode != rhs_storage._enableAddFriendViaQrCode {return false} - if _storage._enableShareExPass != rhs_storage._enableShareExPass {return false} if _storage._enableFacebookFriends != rhs_storage._enableFacebookFriends {return false} if _storage._facebookFriendLimitPerRequest != rhs_storage._facebookFriendLimitPerRequest {return false} if _storage._disableFacebookFriendsOpeningPrompt != rhs_storage._disableFacebookFriendsOpeningPrompt {return false} @@ -286426,9 +296266,9 @@ extension SocialClientSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa if _storage._enableRemoteGifting != rhs_storage._enableRemoteGifting {return false} if _storage._enableSticker != rhs_storage._enableSticker {return false} if _storage._crossGameSocialSettings != rhs_storage._crossGameSocialSettings {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obBool1 != rhs_storage._obBool1 {return false} - if _storage._obBool2 != rhs_storage._obBool2 {return false} + if _storage._migrateLuckyDataToShared != rhs_storage._migrateLuckyDataToShared {return false} + if _storage._enableV2Sticker != rhs_storage._enableV2Sticker {return false} + if _storage._enableDeepLinkingQrCode != rhs_storage._enableDeepLinkingQrCode {return false} return true } if !storagesAreEqual {return false} @@ -286519,6 +296359,7 @@ extension SocialPlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "disable_last_pokemon_caught"), 2: .standard(proto: "enable_raid_friend_requests"), + 3: .standard(proto: "enable_party_friend_requests"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -286529,6 +296370,7 @@ extension SocialPlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa switch fieldNumber { case 1: try { try decoder.decodeSingularBoolField(value: &self.disableLastPokemonCaught) }() case 2: try { try decoder.decodeSingularBoolField(value: &self.enableRaidFriendRequests) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enablePartyFriendRequests) }() default: break } } @@ -286541,98 +296383,21 @@ extension SocialPlayerSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Messa if self.enableRaidFriendRequests != false { try visitor.visitSingularBoolField(value: self.enableRaidFriendRequests, fieldNumber: 2) } + if self.enablePartyFriendRequests != false { + try visitor.visitSingularBoolField(value: self.enablePartyFriendRequests, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: SocialPlayerSettingsProto, rhs: SocialPlayerSettingsProto) -> Bool { if lhs.disableLastPokemonCaught != rhs.disableLastPokemonCaught {return false} if lhs.enableRaidFriendRequests != rhs.enableRaidFriendRequests {return false} + if lhs.enablePartyFriendRequests != rhs.enablePartyFriendRequests {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SocialProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SocialProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_key"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.appKey) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.appKey != .invalid { - try visitor.visitSingularEnumField(value: self.appKey, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SocialProto, rhs: SocialProto) -> Bool { - if lhs.appKey != rhs.appKey {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SocialProto.AppKey: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INVALID"), - 1: .same(proto: "INGRESS_DELETED"), - 2: .same(proto: "HOLOHOLO_DELETED"), - 3: .same(proto: "LEXICON_DELETED"), - ] -} - -extension SocialSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SocialSettings" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SocialSettings, rhs: SocialSettings) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SocialSettings.ConsentStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNKNOWN"), - 1: .same(proto: "OPT_IN"), - 2: .same(proto: "OPT_OUT"), - ] -} - -extension SocialSettings.TutorialType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "PROFILE"), - 2: .same(proto: "CROSS_GAME_FRIEND_LIST"), - 3: .same(proto: "ONLINE_STATUS_OVERVIEW"), - 4: .same(proto: "ONLINE_STATUS_TOGGLE"), - 5: .same(proto: "ADDRESS_BOOK_IMPORT"), - 6: .same(proto: "ADDRESS_BOOK_DISCOVERABILITY"), - 7: .same(proto: "ADDRESS_BOOK_PHONE_NUMBER_REGISTRATION"), - ] -} - extension SocialTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SocialTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -286664,54 +296429,11 @@ extension SocialTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen } public static func ==(lhs: SocialTelemetry, rhs: SocialTelemetry) -> Bool { - if lhs.socialClickID != rhs.socialClickID {return false} - if lhs.pagesScrolledInFriendsList != rhs.pagesScrolledInFriendsList {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SocialV2Enum: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SocialV2Enum" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SocialV2Enum, rhs: SocialV2Enum) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SocialV2Enum.ContactMethod: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CONTACT_METHOD_UNSET"), - 1: .same(proto: "EMAIL"), - 2: .same(proto: "SMS"), - ] -} - -extension SocialV2Enum.InvitationStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "INVITATION_STATUS_UNSET"), - 1: .same(proto: "INVITED"), - ] -} - -extension SocialV2Enum.OnlineStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "STATUS_UNSET"), - 1: .same(proto: "STATUS_UNKNOWN"), - 2: .same(proto: "STATUS_ONLINE"), - 3: .same(proto: "STATUS_OFFLINE"), - ] + if lhs.socialClickID != rhs.socialClickID {return false} + if lhs.pagesScrolledInFriendsList != rhs.pagesScrolledInFriendsList {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } extension SourceCodeInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -286771,38 +296493,6 @@ extension SourceCodeInfo.Location: SwiftProtobuf.Message, SwiftProtobuf._Message } } -extension SourceContext: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SourceContext" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "file_name"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fileName) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.fileName.isEmpty { - try visitor.visitSingularStringField(value: self.fileName, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SourceContext, rhs: SourceContext) -> Bool { - if lhs.fileName != rhs.fileName {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension SouvenirProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SouvenirProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -286885,6 +296575,50 @@ extension SouvenirProto.SouvenirDetails: SwiftProtobuf.Message, SwiftProtobuf._M } } +extension SpaceBonusSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SpaceBonusSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokemon_visible_range_meters"), + 2: .standard(proto: "encounter_range_meters"), + 3: .standard(proto: "server_allowable_encounter_range_meters"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularDoubleField(value: &self.pokemonVisibleRangeMeters) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.encounterRangeMeters) }() + case 3: try { try decoder.decodeSingularDoubleField(value: &self.serverAllowableEncounterRangeMeters) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.pokemonVisibleRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.pokemonVisibleRangeMeters, fieldNumber: 1) + } + if self.encounterRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.encounterRangeMeters, fieldNumber: 2) + } + if self.serverAllowableEncounterRangeMeters != 0 { + try visitor.visitSingularDoubleField(value: self.serverAllowableEncounterRangeMeters, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SpaceBonusSettingsProto, rhs: SpaceBonusSettingsProto) -> Bool { + if lhs.pokemonVisibleRangeMeters != rhs.pokemonVisibleRangeMeters {return false} + if lhs.encounterRangeMeters != rhs.encounterRangeMeters {return false} + if lhs.serverAllowableEncounterRangeMeters != rhs.serverAllowableEncounterRangeMeters {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension SpawnTablePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SpawnTablePokemonProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -287013,6 +296747,13 @@ extension SpawnablePokemon: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme } } +extension SpawnablePokemon.SpawnableType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNTYPED"), + 1: .same(proto: "POKESTOP_ENCOUNTER"), + ] +} + extension SpawnablePokemon.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), @@ -287023,11 +296764,36 @@ extension SpawnablePokemon.Status: SwiftProtobuf._ProtoNameProviding { ] } -extension SpawnablePokemon.SpawnableType: SwiftProtobuf._ProtoNameProviding { +extension SpinPokestopQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SpinPokestopQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNTYPED"), - 1: .same(proto: "POKESTOP_ENCOUNTER"), + 1: .standard(proto: "fort_ids"), ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.fortIds) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.fortIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.fortIds, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SpinPokestopQuestProto, rhs: SpinPokestopQuestProto) -> Bool { + if lhs.fortIds != rhs.fortIds {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } extension SpinPokestopTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -287179,15 +296945,15 @@ extension SponsoredGeofenceGiftSettingsProto: SwiftProtobuf.Message, SwiftProtob 8: .standard(proto: "enable_incident_gift"), 9: .standard(proto: "fullscreen_disable_exit_button_time_ms"), 10: .standard(proto: "balloon_gift_settings"), - 11: .standard(proto: "ob_bool"), - 12: .standard(proto: "ob_sponsored_balloon"), - 13: .standard(proto: "sponsored_geofence_gift_details"), - 14: .standard(proto: "ob_int32_1"), - 15: .standard(proto: "ob_int32_2"), - 16: .standard(proto: "ob_bool_1"), - 17: .standard(proto: "ob_sponsored_geofence"), - 18: .standard(proto: "ob_bool_2"), - 19: .standard(proto: "ob_bool_3"), + 11: .standard(proto: "external_ad_service_ads_enabled"), + 12: .standard(proto: "external_ad_service_settings"), + 13: .standard(proto: "external_ad_service_balloon_gift_keys"), + 14: .standard(proto: "web_view_disable_exit_button_time_ms"), + 15: .standard(proto: "web_view_post_ar_disable_exit_button_time_ms"), + 16: .standard(proto: "gam_video_ads_enabled"), + 17: .standard(proto: "gam_video_ad_unit_settings"), + 18: .standard(proto: "force_ad_through_gam"), + 19: .standard(proto: "report_ad_feedback_enabled"), ] fileprivate class _StorageClass { @@ -287201,15 +296967,15 @@ extension SponsoredGeofenceGiftSettingsProto: SwiftProtobuf.Message, SwiftProtob var _enableIncidentGift: Bool = false var _fullscreenDisableExitButtonTimeMs: Int32 = 0 var _balloonGiftSettings: SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto? = nil - var _obBool: Bool = false - var _obSponsoredBalloon: ObSponsoredBalloon? = nil - var _sponsoredGeofenceGiftDetails: SponsoredGeofenceGiftSettingsProto.SponsoredGeofenceGiftDetailsProto? = nil - var _obInt321: Int32 = 0 - var _obInt322: Int32 = 0 - var _obBool1: Bool = false - var _obSponsoredGeofence: SponsoredGeofenceGiftSettingsProto.ObSponsoredGeofence? = nil - var _obBool2: Bool = false - var _obBool3: Bool = false + var _externalAdServiceAdsEnabled: Bool = false + var _externalAdServiceSettings: NativeAdUnitSettingsProto? = nil + var _externalAdServiceBalloonGiftKeys: SponsoredGeofenceGiftSettingsProto.ExternalAdServiceBalloonGiftKeysProto? = nil + var _webViewDisableExitButtonTimeMs: Int32 = 0 + var _webViewPostArDisableExitButtonTimeMs: Int32 = 0 + var _gamVideoAdsEnabled: Bool = false + var _gamVideoAdUnitSettings: SponsoredGeofenceGiftSettingsProto.GamVideoAdUnitSettingsProto? = nil + var _forceAdThroughGam: Bool = false + var _reportAdFeedbackEnabled: Bool = false static let defaultInstance = _StorageClass() @@ -287226,15 +296992,15 @@ extension SponsoredGeofenceGiftSettingsProto: SwiftProtobuf.Message, SwiftProtob _enableIncidentGift = source._enableIncidentGift _fullscreenDisableExitButtonTimeMs = source._fullscreenDisableExitButtonTimeMs _balloonGiftSettings = source._balloonGiftSettings - _obBool = source._obBool - _obSponsoredBalloon = source._obSponsoredBalloon - _sponsoredGeofenceGiftDetails = source._sponsoredGeofenceGiftDetails - _obInt321 = source._obInt321 - _obInt322 = source._obInt322 - _obBool1 = source._obBool1 - _obSponsoredGeofence = source._obSponsoredGeofence - _obBool2 = source._obBool2 - _obBool3 = source._obBool3 + _externalAdServiceAdsEnabled = source._externalAdServiceAdsEnabled + _externalAdServiceSettings = source._externalAdServiceSettings + _externalAdServiceBalloonGiftKeys = source._externalAdServiceBalloonGiftKeys + _webViewDisableExitButtonTimeMs = source._webViewDisableExitButtonTimeMs + _webViewPostArDisableExitButtonTimeMs = source._webViewPostArDisableExitButtonTimeMs + _gamVideoAdsEnabled = source._gamVideoAdsEnabled + _gamVideoAdUnitSettings = source._gamVideoAdUnitSettings + _forceAdThroughGam = source._forceAdThroughGam + _reportAdFeedbackEnabled = source._reportAdFeedbackEnabled } } @@ -287263,15 +297029,15 @@ extension SponsoredGeofenceGiftSettingsProto: SwiftProtobuf.Message, SwiftProtob case 8: try { try decoder.decodeSingularBoolField(value: &_storage._enableIncidentGift) }() case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._fullscreenDisableExitButtonTimeMs) }() case 10: try { try decoder.decodeSingularMessageField(value: &_storage._balloonGiftSettings) }() - case 11: try { try decoder.decodeSingularBoolField(value: &_storage._obBool) }() - case 12: try { try decoder.decodeSingularMessageField(value: &_storage._obSponsoredBalloon) }() - case 13: try { try decoder.decodeSingularMessageField(value: &_storage._sponsoredGeofenceGiftDetails) }() - case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt321) }() - case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt322) }() - case 16: try { try decoder.decodeSingularBoolField(value: &_storage._obBool1) }() - case 17: try { try decoder.decodeSingularMessageField(value: &_storage._obSponsoredGeofence) }() - case 18: try { try decoder.decodeSingularBoolField(value: &_storage._obBool2) }() - case 19: try { try decoder.decodeSingularBoolField(value: &_storage._obBool3) }() + case 11: try { try decoder.decodeSingularBoolField(value: &_storage._externalAdServiceAdsEnabled) }() + case 12: try { try decoder.decodeSingularMessageField(value: &_storage._externalAdServiceSettings) }() + case 13: try { try decoder.decodeSingularMessageField(value: &_storage._externalAdServiceBalloonGiftKeys) }() + case 14: try { try decoder.decodeSingularInt32Field(value: &_storage._webViewDisableExitButtonTimeMs) }() + case 15: try { try decoder.decodeSingularInt32Field(value: &_storage._webViewPostArDisableExitButtonTimeMs) }() + case 16: try { try decoder.decodeSingularBoolField(value: &_storage._gamVideoAdsEnabled) }() + case 17: try { try decoder.decodeSingularMessageField(value: &_storage._gamVideoAdUnitSettings) }() + case 18: try { try decoder.decodeSingularBoolField(value: &_storage._forceAdThroughGam) }() + case 19: try { try decoder.decodeSingularBoolField(value: &_storage._reportAdFeedbackEnabled) }() default: break } } @@ -287314,32 +297080,32 @@ extension SponsoredGeofenceGiftSettingsProto: SwiftProtobuf.Message, SwiftProtob try { if let v = _storage._balloonGiftSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 10) } }() - if _storage._obBool != false { - try visitor.visitSingularBoolField(value: _storage._obBool, fieldNumber: 11) + if _storage._externalAdServiceAdsEnabled != false { + try visitor.visitSingularBoolField(value: _storage._externalAdServiceAdsEnabled, fieldNumber: 11) } - try { if let v = _storage._obSponsoredBalloon { + try { if let v = _storage._externalAdServiceSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 12) } }() - try { if let v = _storage._sponsoredGeofenceGiftDetails { + try { if let v = _storage._externalAdServiceBalloonGiftKeys { try visitor.visitSingularMessageField(value: v, fieldNumber: 13) } }() - if _storage._obInt321 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt321, fieldNumber: 14) + if _storage._webViewDisableExitButtonTimeMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._webViewDisableExitButtonTimeMs, fieldNumber: 14) } - if _storage._obInt322 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt322, fieldNumber: 15) + if _storage._webViewPostArDisableExitButtonTimeMs != 0 { + try visitor.visitSingularInt32Field(value: _storage._webViewPostArDisableExitButtonTimeMs, fieldNumber: 15) } - if _storage._obBool1 != false { - try visitor.visitSingularBoolField(value: _storage._obBool1, fieldNumber: 16) + if _storage._gamVideoAdsEnabled != false { + try visitor.visitSingularBoolField(value: _storage._gamVideoAdsEnabled, fieldNumber: 16) } - try { if let v = _storage._obSponsoredGeofence { + try { if let v = _storage._gamVideoAdUnitSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 17) } }() - if _storage._obBool2 != false { - try visitor.visitSingularBoolField(value: _storage._obBool2, fieldNumber: 18) + if _storage._forceAdThroughGam != false { + try visitor.visitSingularBoolField(value: _storage._forceAdThroughGam, fieldNumber: 18) } - if _storage._obBool3 != false { - try visitor.visitSingularBoolField(value: _storage._obBool3, fieldNumber: 19) + if _storage._reportAdFeedbackEnabled != false { + try visitor.visitSingularBoolField(value: _storage._reportAdFeedbackEnabled, fieldNumber: 19) } } try unknownFields.traverse(visitor: &visitor) @@ -287360,15 +297126,15 @@ extension SponsoredGeofenceGiftSettingsProto: SwiftProtobuf.Message, SwiftProtob if _storage._enableIncidentGift != rhs_storage._enableIncidentGift {return false} if _storage._fullscreenDisableExitButtonTimeMs != rhs_storage._fullscreenDisableExitButtonTimeMs {return false} if _storage._balloonGiftSettings != rhs_storage._balloonGiftSettings {return false} - if _storage._obBool != rhs_storage._obBool {return false} - if _storage._obSponsoredBalloon != rhs_storage._obSponsoredBalloon {return false} - if _storage._sponsoredGeofenceGiftDetails != rhs_storage._sponsoredGeofenceGiftDetails {return false} - if _storage._obInt321 != rhs_storage._obInt321 {return false} - if _storage._obInt322 != rhs_storage._obInt322 {return false} - if _storage._obBool1 != rhs_storage._obBool1 {return false} - if _storage._obSponsoredGeofence != rhs_storage._obSponsoredGeofence {return false} - if _storage._obBool2 != rhs_storage._obBool2 {return false} - if _storage._obBool3 != rhs_storage._obBool3 {return false} + if _storage._externalAdServiceAdsEnabled != rhs_storage._externalAdServiceAdsEnabled {return false} + if _storage._externalAdServiceSettings != rhs_storage._externalAdServiceSettings {return false} + if _storage._externalAdServiceBalloonGiftKeys != rhs_storage._externalAdServiceBalloonGiftKeys {return false} + if _storage._webViewDisableExitButtonTimeMs != rhs_storage._webViewDisableExitButtonTimeMs {return false} + if _storage._webViewPostArDisableExitButtonTimeMs != rhs_storage._webViewPostArDisableExitButtonTimeMs {return false} + if _storage._gamVideoAdsEnabled != rhs_storage._gamVideoAdsEnabled {return false} + if _storage._gamVideoAdUnitSettings != rhs_storage._gamVideoAdUnitSettings {return false} + if _storage._forceAdThroughGam != rhs_storage._forceAdThroughGam {return false} + if _storage._reportAdFeedbackEnabled != rhs_storage._reportAdFeedbackEnabled {return false} return true } if !storagesAreEqual {return false} @@ -287378,6 +297144,118 @@ extension SponsoredGeofenceGiftSettingsProto: SwiftProtobuf.Message, SwiftProtob } } +extension SponsoredGeofenceGiftSettingsProto.ExternalAdServiceBalloonGiftKeysProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = SponsoredGeofenceGiftSettingsProto.protoMessageName + ".ExternalAdServiceBalloonGiftKeysProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "ads_logo"), + 2: .standard(proto: "partner_name"), + 3: .standard(proto: "fullscreen_image"), + 4: .same(proto: "title"), + 5: .same(proto: "description"), + 6: .standard(proto: "cta_url"), + 7: .standard(proto: "campaign_identifier"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.adsLogo) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.partnerName) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.fullscreenImage) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.ctaURL) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.campaignIdentifier) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.adsLogo.isEmpty { + try visitor.visitSingularStringField(value: self.adsLogo, fieldNumber: 1) + } + if !self.partnerName.isEmpty { + try visitor.visitSingularStringField(value: self.partnerName, fieldNumber: 2) + } + if !self.fullscreenImage.isEmpty { + try visitor.visitSingularStringField(value: self.fullscreenImage, fieldNumber: 3) + } + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 4) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 5) + } + if !self.ctaURL.isEmpty { + try visitor.visitSingularStringField(value: self.ctaURL, fieldNumber: 6) + } + if !self.campaignIdentifier.isEmpty { + try visitor.visitSingularStringField(value: self.campaignIdentifier, fieldNumber: 7) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SponsoredGeofenceGiftSettingsProto.ExternalAdServiceBalloonGiftKeysProto, rhs: SponsoredGeofenceGiftSettingsProto.ExternalAdServiceBalloonGiftKeysProto) -> Bool { + if lhs.adsLogo != rhs.adsLogo {return false} + if lhs.partnerName != rhs.partnerName {return false} + if lhs.fullscreenImage != rhs.fullscreenImage {return false} + if lhs.title != rhs.title {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.ctaURL != rhs.ctaURL {return false} + if lhs.campaignIdentifier != rhs.campaignIdentifier {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SponsoredGeofenceGiftSettingsProto.GamVideoAdUnitSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = SponsoredGeofenceGiftSettingsProto.protoMessageName + ".GamVideoAdUnitSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "ios_ad_unit_id"), + 2: .standard(proto: "android_ad_unit_id"), + 3: .standard(proto: "other_ad_unit_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.iosAdUnitID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.androidAdUnitID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.otherAdUnitID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.iosAdUnitID.isEmpty { + try visitor.visitSingularStringField(value: self.iosAdUnitID, fieldNumber: 1) + } + if !self.androidAdUnitID.isEmpty { + try visitor.visitSingularStringField(value: self.androidAdUnitID, fieldNumber: 2) + } + if !self.otherAdUnitID.isEmpty { + try visitor.visitSingularStringField(value: self.otherAdUnitID, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SponsoredGeofenceGiftSettingsProto.GamVideoAdUnitSettingsProto, rhs: SponsoredGeofenceGiftSettingsProto.GamVideoAdUnitSettingsProto) -> Bool { + if lhs.iosAdUnitID != rhs.iosAdUnitID {return false} + if lhs.androidAdUnitID != rhs.androidAdUnitID {return false} + if lhs.otherAdUnitID != rhs.otherAdUnitID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = SponsoredGeofenceGiftSettingsProto.protoMessageName + ".SponsoredBalloonGiftSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -287387,7 +297265,7 @@ extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto: 4: .standard(proto: "incident_balloon_dismisses_sponsored_balloon"), 5: .standard(proto: "get_wasabi_ad_rpc_interval_ms"), 6: .standard(proto: "balloon_movement_settings"), - 7: .standard(proto: "ob_bool"), + 7: .standard(proto: "enable_balloon_web_view"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -287402,7 +297280,7 @@ extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto: case 4: try { try decoder.decodeSingularBoolField(value: &self.incidentBalloonDismissesSponsoredBalloon) }() case 5: try { try decoder.decodeSingularInt32Field(value: &self.getWasabiAdRpcIntervalMs) }() case 6: try { try decoder.decodeSingularMessageField(value: &self._balloonMovementSettings) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.enableBalloonWebView) }() default: break } } @@ -287431,8 +297309,8 @@ extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto: try { if let v = self._balloonMovementSettings { try visitor.visitSingularMessageField(value: v, fieldNumber: 6) } }() - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 7) + if self.enableBalloonWebView != false { + try visitor.visitSingularBoolField(value: self.enableBalloonWebView, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } @@ -287444,7 +297322,7 @@ extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto: if lhs.incidentBalloonDismissesSponsoredBalloon != rhs.incidentBalloonDismissesSponsoredBalloon {return false} if lhs.getWasabiAdRpcIntervalMs != rhs.getWasabiAdRpcIntervalMs {return false} if lhs._balloonMovementSettings != rhs._balloonMovementSettings {return false} - if lhs.obBool != rhs.obBool {return false} + if lhs.enableBalloonWebView != rhs.enableBalloonWebView {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -287512,118 +297390,6 @@ extension SponsoredGeofenceGiftSettingsProto.SponsoredBalloonGiftSettingsProto.S } } -extension SponsoredGeofenceGiftSettingsProto.SponsoredGeofenceGiftDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = SponsoredGeofenceGiftSettingsProto.protoMessageName + ".SponsoredGeofenceGiftDetailsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ads_logo"), - 2: .standard(proto: "partner_name"), - 3: .standard(proto: "full_screen_static_image"), - 4: .same(proto: "title"), - 5: .same(proto: "description"), - 6: .standard(proto: "cta_url"), - 7: .standard(proto: "campaign_identifier"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.adsLogo) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.partnerName) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.fullScreenStaticImage) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.title) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 6: try { try decoder.decodeSingularStringField(value: &self.ctaURL) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.campaignIdentifier) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.adsLogo.isEmpty { - try visitor.visitSingularStringField(value: self.adsLogo, fieldNumber: 1) - } - if !self.partnerName.isEmpty { - try visitor.visitSingularStringField(value: self.partnerName, fieldNumber: 2) - } - if !self.fullScreenStaticImage.isEmpty { - try visitor.visitSingularStringField(value: self.fullScreenStaticImage, fieldNumber: 3) - } - if !self.title.isEmpty { - try visitor.visitSingularStringField(value: self.title, fieldNumber: 4) - } - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 5) - } - if !self.ctaURL.isEmpty { - try visitor.visitSingularStringField(value: self.ctaURL, fieldNumber: 6) - } - if !self.campaignIdentifier.isEmpty { - try visitor.visitSingularStringField(value: self.campaignIdentifier, fieldNumber: 7) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SponsoredGeofenceGiftSettingsProto.SponsoredGeofenceGiftDetailsProto, rhs: SponsoredGeofenceGiftSettingsProto.SponsoredGeofenceGiftDetailsProto) -> Bool { - if lhs.adsLogo != rhs.adsLogo {return false} - if lhs.partnerName != rhs.partnerName {return false} - if lhs.fullScreenStaticImage != rhs.fullScreenStaticImage {return false} - if lhs.title != rhs.title {return false} - if lhs.description_p != rhs.description_p {return false} - if lhs.ctaURL != rhs.ctaURL {return false} - if lhs.campaignIdentifier != rhs.campaignIdentifier {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension SponsoredGeofenceGiftSettingsProto.ObSponsoredGeofence: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = SponsoredGeofenceGiftSettingsProto.protoMessageName + ".ObSponsoredGeofence" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_1"), - 2: .standard(proto: "ob_string_2"), - 3: .standard(proto: "ob_string_3"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString1) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.obString2) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.obString3) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.obString1.isEmpty { - try visitor.visitSingularStringField(value: self.obString1, fieldNumber: 1) - } - if !self.obString2.isEmpty { - try visitor.visitSingularStringField(value: self.obString2, fieldNumber: 2) - } - if !self.obString3.isEmpty { - try visitor.visitSingularStringField(value: self.obString3, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: SponsoredGeofenceGiftSettingsProto.ObSponsoredGeofence, rhs: SponsoredGeofenceGiftSettingsProto.ObSponsoredGeofence) -> Bool { - if lhs.obString1 != rhs.obString1 {return false} - if lhs.obString2 != rhs.obString2 {return false} - if lhs.obString3 != rhs.obString3 {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension SponsoredPoiFeedbackSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SponsoredPoiFeedbackSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -287674,23 +297440,11 @@ extension SponsoredPoiFeedbackSettingsProto: SwiftProtobuf.Message, SwiftProtobu } } -extension SsdAnchorsCalculatorOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SsdAnchorsCalculatorOptions" +extension SquashSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SquashSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "input_size_width"), - 2: .standard(proto: "input_size_height"), - 3: .standard(proto: "min_scale"), - 4: .standard(proto: "max_scale"), - 5: .standard(proto: "anchor_offset_x"), - 6: .standard(proto: "anchor_offset_y"), - 7: .standard(proto: "num_layers"), - 8: .standard(proto: "feature_map_width"), - 9: .standard(proto: "feature_map_height"), - 10: .same(proto: "strides"), - 11: .standard(proto: "aspect_ratios"), - 12: .standard(proto: "reduce_boxes_in_lowest_layer"), - 13: .standard(proto: "interpolated_scale_aspect_ratio"), - 14: .standard(proto: "fixed_anchor_size"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "daily_squash_limit"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -287699,97 +297453,33 @@ extension SsdAnchorsCalculatorOptions: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self._inputSizeWidth) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self._inputSizeHeight) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self._minScale) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self._maxScale) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self._anchorOffsetX) }() - case 6: try { try decoder.decodeSingularFloatField(value: &self._anchorOffsetY) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self._numLayers) }() - case 8: try { try decoder.decodeRepeatedInt32Field(value: &self.featureMapWidth) }() - case 9: try { try decoder.decodeRepeatedInt32Field(value: &self.featureMapHeight) }() - case 10: try { try decoder.decodeRepeatedInt32Field(value: &self.strides) }() - case 11: try { try decoder.decodeRepeatedFloatField(value: &self.aspectRatios) }() - case 12: try { try decoder.decodeSingularBoolField(value: &self._reduceBoxesInLowestLayer) }() - case 13: try { try decoder.decodeSingularFloatField(value: &self._interpolatedScaleAspectRatio) }() - case 14: try { try decoder.decodeSingularBoolField(value: &self._fixedAnchorSize) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.dailySquashLimit) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._inputSizeWidth { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 1) - } }() - try { if let v = self._inputSizeHeight { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 2) - } }() - try { if let v = self._minScale { - try visitor.visitSingularFloatField(value: v, fieldNumber: 3) - } }() - try { if let v = self._maxScale { - try visitor.visitSingularFloatField(value: v, fieldNumber: 4) - } }() - try { if let v = self._anchorOffsetX { - try visitor.visitSingularFloatField(value: v, fieldNumber: 5) - } }() - try { if let v = self._anchorOffsetY { - try visitor.visitSingularFloatField(value: v, fieldNumber: 6) - } }() - try { if let v = self._numLayers { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 7) - } }() - if !self.featureMapWidth.isEmpty { - try visitor.visitPackedInt32Field(value: self.featureMapWidth, fieldNumber: 8) - } - if !self.featureMapHeight.isEmpty { - try visitor.visitPackedInt32Field(value: self.featureMapHeight, fieldNumber: 9) - } - if !self.strides.isEmpty { - try visitor.visitPackedInt32Field(value: self.strides, fieldNumber: 10) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } - if !self.aspectRatios.isEmpty { - try visitor.visitPackedFloatField(value: self.aspectRatios, fieldNumber: 11) + if self.dailySquashLimit != 0 { + try visitor.visitSingularInt32Field(value: self.dailySquashLimit, fieldNumber: 2) } - try { if let v = self._reduceBoxesInLowestLayer { - try visitor.visitSingularBoolField(value: v, fieldNumber: 12) - } }() - try { if let v = self._interpolatedScaleAspectRatio { - try visitor.visitSingularFloatField(value: v, fieldNumber: 13) - } }() - try { if let v = self._fixedAnchorSize { - try visitor.visitSingularBoolField(value: v, fieldNumber: 14) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SsdAnchorsCalculatorOptions, rhs: SsdAnchorsCalculatorOptions) -> Bool { - if lhs._inputSizeWidth != rhs._inputSizeWidth {return false} - if lhs._inputSizeHeight != rhs._inputSizeHeight {return false} - if lhs._minScale != rhs._minScale {return false} - if lhs._maxScale != rhs._maxScale {return false} - if lhs._anchorOffsetX != rhs._anchorOffsetX {return false} - if lhs._anchorOffsetY != rhs._anchorOffsetY {return false} - if lhs._numLayers != rhs._numLayers {return false} - if lhs.featureMapWidth != rhs.featureMapWidth {return false} - if lhs.featureMapHeight != rhs.featureMapHeight {return false} - if lhs.strides != rhs.strides {return false} - if lhs.aspectRatios != rhs.aspectRatios {return false} - if lhs._reduceBoxesInLowestLayer != rhs._reduceBoxesInLowestLayer {return false} - if lhs._interpolatedScaleAspectRatio != rhs._interpolatedScaleAspectRatio {return false} - if lhs._fixedAnchorSize != rhs._fixedAnchorSize {return false} + public static func ==(lhs: SquashSettingsProto, rhs: SquashSettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.dailySquashLimit != rhs.dailySquashLimit {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StampCardsSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StampCardsSectionProto" +extension StampCardSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StampCardSectionProto" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -287801,7 +297491,7 @@ extension StampCardsSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StampCardsSectionProto, rhs: StampCardsSectionProto) -> Bool { + public static func ==(lhs: StampCardSectionProto, rhs: StampCardSectionProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -288138,7 +297828,7 @@ extension StartIncidentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple extension StartPartyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".StartPartyOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "party_play"), + 1: .same(proto: "party"), 2: .same(proto: "result"), ] @@ -288148,7 +297838,7 @@ extension StartPartyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._partyPlay) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._party) }() case 2: try { try decoder.decodeSingularEnumField(value: &self.result) }() default: break } @@ -288160,7 +297850,7 @@ extension StartPartyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._partyPlay { + try { if let v = self._party { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() if self.result != .unset { @@ -288170,7 +297860,7 @@ extension StartPartyOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } public static func ==(lhs: StartPartyOutProto, rhs: StartPartyOutProto) -> Bool { - if lhs._partyPlay != rhs._partyPlay {return false} + if lhs._party != rhs._party {return false} if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true @@ -288189,14 +297879,185 @@ extension StartPartyOutProto.Result: SwiftProtobuf._ProtoNameProviding { 7: .same(proto: "ERROR_NOT_ENOUGH_PLAYERS"), 8: .same(proto: "ERROR_PARTY_TIMED_OUT"), 9: .same(proto: "ERROR_PLAYERS_NOT_IN_RANGE"), + 10: .same(proto: "ERROR_REDIS_EXCEPTION"), + 11: .same(proto: "ERROR_NO_LOCATION"), + 12: .same(proto: "ERROR_PLFE_REDIRECT_NEEDED"), + ] +} + +extension StartPartyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StartPartyProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "party_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedInt32Field(value: &self.partyID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.partyID.isEmpty { + try visitor.visitPackedInt32Field(value: self.partyID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StartPartyProto, rhs: StartPartyProto) -> Bool { + if lhs.partyID != rhs.partyID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StartPartyQuestOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StartPartyQuestOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .same(proto: "quest"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._quest) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try { if let v = self._quest { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StartPartyQuestOutProto, rhs: StartPartyQuestOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._quest != rhs._quest {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StartPartyQuestOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "ERROR_UNKNOWN"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "ERROR_FEATURE_DISABLED"), + 4: .same(proto: "ERROR_PLAYER_NOT_IN_PARTY"), + 5: .same(proto: "ERROR_PLAYER_IS_NOT_HOST"), + 6: .same(proto: "ERROR_QUEST_NOT_FOUND"), + 7: .same(proto: "ERROR_QUEST_STATUS_INVALID"), + 8: .same(proto: "ERROR_PARTY_NOT_FOUND"), + 9: .same(proto: "ERROR_PARTY_STATUS_INVALID"), + 10: .same(proto: "ERROR_PLAYER_STATE_NOT_FOUND"), + 11: .same(proto: "ERROR_PLAYER_STATE_INVALID"), + 12: .same(proto: "ERROR_ALREADY_STARTED_QUEST"), + 13: .same(proto: "ERROR_PARTY_TIMED_OUT"), + 14: .same(proto: "ERROR_PLFE_REDIRECT_NEEDED"), + ] +} + +extension StartPartyQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StartPartyQuestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "quest_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.questID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.questID.isEmpty { + try visitor.visitSingularStringField(value: self.questID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StartPartyQuestProto, rhs: StartPartyQuestProto) -> Bool { + if lhs.questID != rhs.questID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StartQuestIncidentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StartQuestIncidentProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "incident_lookup"), + 2: .standard(proto: "quest_id"), ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._incidentLookup) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.questID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._incidentLookup { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.questID.isEmpty { + try visitor.visitSingularStringField(value: self.questID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StartQuestIncidentProto, rhs: StartQuestIncidentProto) -> Bool { + if lhs._incidentLookup != rhs._incidentLookup {return false} + if lhs.questID != rhs.questID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } } -extension StartRaidBattleDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StartRaidBattleDataProto" +extension StartRaidBattleData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StartRaidBattleData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_start_raid_battle_data_uint64"), - 2: .standard(proto: "ob_start_raid_battle_data_int32"), + 1: .standard(proto: "attacking_pokemon_id"), + 2: .standard(proto: "rpc_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288205,26 +298066,26 @@ extension StartRaidBattleDataProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedUInt64Field(value: &self.obStartRaidBattleDataUint64) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obStartRaidBattleDataInt32) }() + case 1: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obStartRaidBattleDataUint64.isEmpty { - try visitor.visitPackedUInt64Field(value: self.obStartRaidBattleDataUint64, fieldNumber: 1) + if !self.attackingPokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 1) } - if self.obStartRaidBattleDataInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obStartRaidBattleDataInt32, fieldNumber: 2) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StartRaidBattleDataProto, rhs: StartRaidBattleDataProto) -> Bool { - if lhs.obStartRaidBattleDataUint64 != rhs.obStartRaidBattleDataUint64 {return false} - if lhs.obStartRaidBattleDataInt32 != rhs.obStartRaidBattleDataInt32 {return false} + public static func ==(lhs: StartRaidBattleData, rhs: StartRaidBattleData) -> Bool { + if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} + if lhs.rpcID != rhs.rpcID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -288407,13 +298268,13 @@ extension StartRaidBattleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp } } -extension StartRaidBattleResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StartRaidBattleResponseDataProto" +extension StartRaidBattleResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StartRaidBattleResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "ob_int32"), - 3: .standard(proto: "ob_uint32"), - 8: .standard(proto: "friendship_level_milestone"), + 2: .standard(proto: "rpc_id"), + 3: .standard(proto: "round_trip_time_ms"), + 8: .standard(proto: "highest_friendship_milestone"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288423,9 +298284,9 @@ extension StartRaidBattleResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 8: try { try decoder.decodeSingularEnumField(value: &self.friendshipLevelMilestone) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 8: try { try decoder.decodeSingularEnumField(value: &self.highestFriendshipMilestone) }() default: break } } @@ -288435,23 +298296,23 @@ extension StartRaidBattleResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 2) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 2) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 3) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 3) } - if self.friendshipLevelMilestone != .friendshipLevelUnset { - try visitor.visitSingularEnumField(value: self.friendshipLevelMilestone, fieldNumber: 8) + if self.highestFriendshipMilestone != .friendshipLevelUnset { + try visitor.visitSingularEnumField(value: self.highestFriendshipMilestone, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StartRaidBattleResponseDataProto, rhs: StartRaidBattleResponseDataProto) -> Bool { + public static func ==(lhs: StartRaidBattleResponseData, rhs: StartRaidBattleResponseData) -> Bool { if lhs.result != rhs.result {return false} - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.friendshipLevelMilestone != rhs.friendshipLevelMilestone {return false} + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.highestFriendshipMilestone != rhs.highestFriendshipMilestone {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -288540,6 +298401,7 @@ extension StartRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "route_id"), 2: .standard(proto: "entry_fort_id"), + 3: .standard(proto: "travel_in_reverse"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288550,6 +298412,7 @@ extension StartRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.routeID) }() case 2: try { try decoder.decodeSingularStringField(value: &self.entryFortID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.travelInReverse) }() default: break } } @@ -288562,12 +298425,16 @@ extension StartRouteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen if !self.entryFortID.isEmpty { try visitor.visitSingularStringField(value: self.entryFortID, fieldNumber: 2) } + if self.travelInReverse != false { + try visitor.visitSingularBoolField(value: self.travelInReverse, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: StartRouteProto, rhs: StartRouteProto) -> Bool { if lhs.routeID != rhs.routeID {return false} if lhs.entryFortID != rhs.entryFortID {return false} + if lhs.travelInReverse != rhs.travelInReverse {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -288614,10 +298481,698 @@ extension StartTutorialOutProto.Result: SwiftProtobuf._ProtoNameProviding { ] } -extension StartTutorialProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StartTutorialProto" +extension StartTutorialProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StartTutorialProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "onboarding_v2_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.onboardingV2Enabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.onboardingV2Enabled != false { + try visitor.visitSingularBoolField(value: self.onboardingV2Enabled, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StartTutorialProto, rhs: StartTutorialProto) -> Bool { + if lhs.onboardingV2Enabled != rhs.onboardingV2Enabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StartupMeasurementProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StartupMeasurementProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "num_starts"), + 2: .standard(proto: "load_to_tos_login_duration_ms"), + 3: .standard(proto: "load_to_map_duration_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.numStarts) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.loadToTosLoginDurationMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.loadToMapDurationMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.numStarts != 0 { + try visitor.visitSingularInt64Field(value: self.numStarts, fieldNumber: 1) + } + if self.loadToTosLoginDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.loadToTosLoginDurationMs, fieldNumber: 2) + } + if self.loadToMapDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.loadToMapDurationMs, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StartupMeasurementProto, rhs: StartupMeasurementProto) -> Bool { + if lhs.numStarts != rhs.numStarts {return false} + if lhs.loadToTosLoginDurationMs != rhs.loadToTosLoginDurationMs {return false} + if lhs.loadToMapDurationMs != rhs.loadToMapDurationMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StartupMeasurementProto.ComponentLoadDurations: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = StartupMeasurementProto.protoMessageName + ".ComponentLoadDurations" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "component_name"), + 2: .standard(proto: "load_duration_ms"), + 3: .standard(proto: "absolute_duration_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.componentName) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.loadDurationMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.absoluteDurationMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.componentName.isEmpty { + try visitor.visitSingularStringField(value: self.componentName, fieldNumber: 1) + } + if self.loadDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.loadDurationMs, fieldNumber: 2) + } + if self.absoluteDurationMs != 0 { + try visitor.visitSingularInt64Field(value: self.absoluteDurationMs, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StartupMeasurementProto.ComponentLoadDurations, rhs: StartupMeasurementProto.ComponentLoadDurations) -> Bool { + if lhs.componentName != rhs.componentName {return false} + if lhs.loadDurationMs != rhs.loadDurationMs {return false} + if lhs.absoluteDurationMs != rhs.absoluteDurationMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StickerCategorySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StickerCategorySettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "enabled"), + 2: .standard(proto: "sticker_category"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.stickerCategory) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if !self.stickerCategory.isEmpty { + try visitor.visitRepeatedMessageField(value: self.stickerCategory, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StickerCategorySettingsProto, rhs: StickerCategorySettingsProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.stickerCategory != rhs.stickerCategory {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StickerCategorySettingsProto.StickerCategoryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = StickerCategorySettingsProto.protoMessageName + ".StickerCategoryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "category"), + 2: .standard(proto: "sort_order"), + 3: .same(proto: "active"), + 4: .standard(proto: "sticker_id"), + 5: .standard(proto: "preferred_category_icon"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.category) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.sortOrder) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.active) }() + case 4: try { try decoder.decodeRepeatedStringField(value: &self.stickerID) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.preferredCategoryIcon) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.category.isEmpty { + try visitor.visitSingularStringField(value: self.category, fieldNumber: 1) + } + if self.sortOrder != 0 { + try visitor.visitSingularInt32Field(value: self.sortOrder, fieldNumber: 2) + } + if self.active != false { + try visitor.visitSingularBoolField(value: self.active, fieldNumber: 3) + } + if !self.stickerID.isEmpty { + try visitor.visitRepeatedStringField(value: self.stickerID, fieldNumber: 4) + } + if !self.preferredCategoryIcon.isEmpty { + try visitor.visitSingularStringField(value: self.preferredCategoryIcon, fieldNumber: 5) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StickerCategorySettingsProto.StickerCategoryProto, rhs: StickerCategorySettingsProto.StickerCategoryProto) -> Bool { + if lhs.category != rhs.category {return false} + if lhs.sortOrder != rhs.sortOrder {return false} + if lhs.active != rhs.active {return false} + if lhs.stickerID != rhs.stickerID {return false} + if lhs.preferredCategoryIcon != rhs.preferredCategoryIcon {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StickerMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StickerMetadataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "sticker_id"), + 2: .standard(proto: "sticker_url"), + 3: .standard(proto: "max_count"), + 4: .standard(proto: "pokemon_id"), + 5: .same(proto: "category"), + 6: .standard(proto: "release_date"), + 7: .standard(proto: "region_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.stickerID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.stickerURL) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxCount) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &self.category) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.releaseDate) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.regionID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.stickerID.isEmpty { + try visitor.visitSingularStringField(value: self.stickerID, fieldNumber: 1) + } + if !self.stickerURL.isEmpty { + try visitor.visitSingularStringField(value: self.stickerURL, fieldNumber: 2) + } + if self.maxCount != 0 { + try visitor.visitSingularInt32Field(value: self.maxCount, fieldNumber: 3) + } + if self.pokemonID != .missingno { + try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 4) + } + if !self.category.isEmpty { + try visitor.visitRepeatedStringField(value: self.category, fieldNumber: 5) + } + if self.releaseDate != 0 { + try visitor.visitSingularInt32Field(value: self.releaseDate, fieldNumber: 6) + } + if self.regionID != 0 { + try visitor.visitSingularInt32Field(value: self.regionID, fieldNumber: 7) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StickerMetadataProto, rhs: StickerMetadataProto) -> Bool { + if lhs.stickerID != rhs.stickerID {return false} + if lhs.stickerURL != rhs.stickerURL {return false} + if lhs.maxCount != rhs.maxCount {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.category != rhs.category {return false} + if lhs.releaseDate != rhs.releaseDate {return false} + if lhs.regionID != rhs.regionID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StickerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StickerProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "sticker_id"), + 2: .same(proto: "count"), + 3: .same(proto: "used"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.stickerID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.used) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.stickerID.isEmpty { + try visitor.visitSingularStringField(value: self.stickerID, fieldNumber: 1) + } + if self.count != 0 { + try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) + } + if self.used != 0 { + try visitor.visitSingularInt32Field(value: self.used, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StickerProto, rhs: StickerProto) -> Bool { + if lhs.stickerID != rhs.stickerID {return false} + if lhs.count != rhs.count {return false} + if lhs.used != rhs.used {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StickerRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StickerRewardProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "sticker_id"), + 2: .same(proto: "amount"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.stickerID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.amount) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.stickerID.isEmpty { + try visitor.visitSingularStringField(value: self.stickerID, fieldNumber: 1) + } + if self.amount != 0 { + try visitor.visitSingularInt32Field(value: self.amount, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StickerRewardProto, rhs: StickerRewardProto) -> Bool { + if lhs.stickerID != rhs.stickerID {return false} + if lhs.amount != rhs.amount {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StickerSentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StickerSentProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "sticker_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.stickerID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.stickerID.isEmpty { + try visitor.visitSingularStringField(value: self.stickerID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StickerSentProto, rhs: StickerSentProto) -> Bool { + if lhs.stickerID != rhs.stickerID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StoreIapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StoreIapSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "for_store"), + 2: .standard(proto: "library_version"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.forStore) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.libraryVersion) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.forStore != .unset { + try visitor.visitSingularEnumField(value: self.forStore, fieldNumber: 1) + } + if self.libraryVersion != .default { + try visitor.visitSingularEnumField(value: self.libraryVersion, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StoreIapSettingsProto, rhs: StoreIapSettingsProto) -> Bool { + if lhs.forStore != rhs.forStore {return false} + if lhs.libraryVersion != rhs.libraryVersion {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StoryQuestSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StoryQuestSectionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "quest_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.questID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.questID.isEmpty { + try visitor.visitRepeatedStringField(value: self.questID, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StoryQuestSectionProto, rhs: StoryQuestSectionProto) -> Bool { + if lhs.questID != rhs.questID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Struct: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Struct" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "fields"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.fields) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.fields.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.fields, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Struct, rhs: Struct) -> Bool { + if lhs.fields != rhs.fields {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StyleShopSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".StyleShopSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "v2_enabled"), + 2: .standard(proto: "sets_enabled"), + 3: .standard(proto: "recommended_item_icon_names"), + 4: .standard(proto: "entry_tooltip_config"), + 5: .standard(proto: "new_item_tags_enabled"), + 6: .standard(proto: "cart_disabled"), + 7: .standard(proto: "purchase_confirm_disabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.v2Enabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.setsEnabled) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.recommendedItemIconNames) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.entryTooltipConfig) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.newItemTagsEnabled) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.cartDisabled) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.purchaseConfirmDisabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.v2Enabled != false { + try visitor.visitSingularBoolField(value: self.v2Enabled, fieldNumber: 1) + } + if self.setsEnabled != false { + try visitor.visitSingularBoolField(value: self.setsEnabled, fieldNumber: 2) + } + if !self.recommendedItemIconNames.isEmpty { + try visitor.visitRepeatedStringField(value: self.recommendedItemIconNames, fieldNumber: 3) + } + if self.entryTooltipConfig != .unset { + try visitor.visitSingularEnumField(value: self.entryTooltipConfig, fieldNumber: 4) + } + if self.newItemTagsEnabled != false { + try visitor.visitSingularBoolField(value: self.newItemTagsEnabled, fieldNumber: 5) + } + if self.cartDisabled != false { + try visitor.visitSingularBoolField(value: self.cartDisabled, fieldNumber: 6) + } + if self.purchaseConfirmDisabled != false { + try visitor.visitSingularBoolField(value: self.purchaseConfirmDisabled, fieldNumber: 7) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: StyleShopSettingsProto, rhs: StyleShopSettingsProto) -> Bool { + if lhs.v2Enabled != rhs.v2Enabled {return false} + if lhs.setsEnabled != rhs.setsEnabled {return false} + if lhs.recommendedItemIconNames != rhs.recommendedItemIconNames {return false} + if lhs.entryTooltipConfig != rhs.entryTooltipConfig {return false} + if lhs.newItemTagsEnabled != rhs.newItemTagsEnabled {return false} + if lhs.cartDisabled != rhs.cartDisabled {return false} + if lhs.purchaseConfirmDisabled != rhs.purchaseConfirmDisabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension StyleShopSettingsProto.EntryTooltipConfig: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "ITEM_BUBBLE_ONLY"), + 2: .same(proto: "RED_DOT_ONLY"), + 3: .same(proto: "ALL_ON"), + ] +} + +extension SubmissionCounterSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmissionCounterSettings" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "submission_counter_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.submissionCounterEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.submissionCounterEnabled != false { + try visitor.visitSingularBoolField(value: self.submissionCounterEnabled, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SubmissionCounterSettings, rhs: SubmissionCounterSettings) -> Bool { + if lhs.submissionCounterEnabled != rhs.submissionCounterEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SubmitCombatAction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitCombatAction" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "combat_action_proto"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._combatActionProto) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._combatActionProto { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SubmitCombatAction, rhs: SubmitCombatAction) -> Bool { + if lhs._combatActionProto != rhs._combatActionProto {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SubmitCombatChallengePokemonsData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitCombatChallengePokemonsData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "attacking_pokemon_indexes"), + 3: .standard(proto: "lobby_join_time_offset_ms"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.attackingPokemonIndexes) }() + case 3: try { try decoder.decodeSingularUInt32Field(value: &self.lobbyJoinTimeOffsetMs) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if !self.attackingPokemonIndexes.isEmpty { + try visitor.visitPackedInt32Field(value: self.attackingPokemonIndexes, fieldNumber: 2) + } + if self.lobbyJoinTimeOffsetMs != 0 { + try visitor.visitSingularUInt32Field(value: self.lobbyJoinTimeOffsetMs, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: SubmitCombatChallengePokemonsData, rhs: SubmitCombatChallengePokemonsData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.attackingPokemonIndexes != rhs.attackingPokemonIndexes {return false} + if lhs.lobbyJoinTimeOffsetMs != rhs.lobbyJoinTimeOffsetMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension SubmitCombatChallengePokemonsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitCombatChallengePokemonsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "onboarding_v2_enabled"), + 1: .same(proto: "result"), + 2: .same(proto: "challenge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288626,32 +299181,56 @@ extension StartTutorialProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.onboardingV2Enabled) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.onboardingV2Enabled != false { - try visitor.visitSingularBoolField(value: self.onboardingV2Enabled, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._challenge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StartTutorialProto, rhs: StartTutorialProto) -> Bool { - if lhs.onboardingV2Enabled != rhs.onboardingV2Enabled {return false} + public static func ==(lhs: SubmitCombatChallengePokemonsOutProto, rhs: SubmitCombatChallengePokemonsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StartupMeasurementProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StartupMeasurementProto" +extension SubmitCombatChallengePokemonsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_starts"), - 2: .standard(proto: "load_to_tos_login_duration_ms"), - 3: .standard(proto: "load_to_map_duration_ms"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), + 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), + 4: .same(proto: "ERROR_POKEMON_NOT_IN_INVENTORY"), + 5: .same(proto: "ERROR_NOT_ELIGIBLE_LEAGUE"), + 6: .same(proto: "ERROR_ALREADY_TIMEDOUT"), + 7: .same(proto: "ERROR_ALREADY_CANCELLED"), + 8: .same(proto: "ERROR_ACCESS_DENIED"), + 9: .same(proto: "ERROR_ALREADY_DECLINED"), + ] +} + +extension SubmitCombatChallengePokemonsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitCombatChallengePokemonsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "challenge_id"), + 2: .standard(proto: "attacking_pokemon_id"), + 3: .standard(proto: "lobby_join_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288660,42 +299239,43 @@ extension StartupMeasurementProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.numStarts) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.loadToTosLoginDurationMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.loadToMapDurationMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 2: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numStarts != 0 { - try visitor.visitSingularInt64Field(value: self.numStarts, fieldNumber: 1) + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) } - if self.loadToTosLoginDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.loadToTosLoginDurationMs, fieldNumber: 2) + if !self.attackingPokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 2) } - if self.loadToMapDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.loadToMapDurationMs, fieldNumber: 3) + if self.lobbyJoinTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.lobbyJoinTimeMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StartupMeasurementProto, rhs: StartupMeasurementProto) -> Bool { - if lhs.numStarts != rhs.numStarts {return false} - if lhs.loadToTosLoginDurationMs != rhs.loadToTosLoginDurationMs {return false} - if lhs.loadToMapDurationMs != rhs.loadToMapDurationMs {return false} + public static func ==(lhs: SubmitCombatChallengePokemonsProto, rhs: SubmitCombatChallengePokemonsProto) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} + if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} + if lhs.lobbyJoinTimeMs != rhs.lobbyJoinTimeMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StartupMeasurementProto.ComponentLoadDurations: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = StartupMeasurementProto.protoMessageName + ".ComponentLoadDurations" +extension SubmitCombatChallengePokemonsResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitCombatChallengePokemonsResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "component_name"), - 2: .standard(proto: "load_duration_ms"), - 3: .standard(proto: "absolute_duration_ms"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), + 3: .same(proto: "result"), + 4: .same(proto: "challenge"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288704,41 +299284,49 @@ extension StartupMeasurementProto.ComponentLoadDurations: SwiftProtobuf.Message, // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.componentName) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.loadDurationMs) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.absoluteDurationMs) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.componentName.isEmpty { - try visitor.visitSingularStringField(value: self.componentName, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.loadDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.loadDurationMs, fieldNumber: 2) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) } - if self.absoluteDurationMs != 0 { - try visitor.visitSingularInt64Field(value: self.absoluteDurationMs, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) } + try { if let v = self._challenge { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StartupMeasurementProto.ComponentLoadDurations, rhs: StartupMeasurementProto.ComponentLoadDurations) -> Bool { - if lhs.componentName != rhs.componentName {return false} - if lhs.loadDurationMs != rhs.loadDurationMs {return false} - if lhs.absoluteDurationMs != rhs.absoluteDurationMs {return false} + public static func ==(lhs: SubmitCombatChallengePokemonsResponseData, rhs: SubmitCombatChallengePokemonsResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} + if lhs.result != rhs.result {return false} + if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StickerCategorySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StickerCategorySettingsProto" +extension SubmitNewPoiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitNewPoiOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "sticker_category"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288747,39 +299335,47 @@ extension StickerCategorySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.stickerCategory) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if !self.stickerCategory.isEmpty { - try visitor.visitRepeatedMessageField(value: self.stickerCategory, fieldNumber: 2) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StickerCategorySettingsProto, rhs: StickerCategorySettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.stickerCategory != rhs.stickerCategory {return false} + public static func ==(lhs: SubmitNewPoiOutProto, rhs: SubmitNewPoiOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StickerCategorySettingsProto.StikerCategory: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = StickerCategorySettingsProto.protoMessageName + ".StikerCategory" +extension SubmitNewPoiOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "category"), - 2: .standard(proto: "sort_order"), - 3: .standard(proto: "sticker_category_enabled"), - 4: .standard(proto: "sticker_ids"), - 5: .standard(proto: "sticker_category_icon_asset_bundle"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + 3: .same(proto: "INTERNAL_ERROR"), + 4: .same(proto: "TOO_MANY_RECENT_SUBMISSIONS"), + 5: .same(proto: "INVALID_INPUT"), + 6: .same(proto: "MINOR"), + 7: .same(proto: "NOT_AVAILABLE"), + ] +} + +extension SubmitNewPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitNewPoiProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "title"), + 2: .standard(proto: "long_description"), + 4: .standard(proto: "lat_e6"), + 5: .standard(proto: "lng_e6"), + 14: .standard(proto: "supporting_statement"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288788,56 +299384,52 @@ extension StickerCategorySettingsProto.StikerCategory: SwiftProtobuf.Message, Sw // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.category) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.sortOrder) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.stickerCategoryEnabled) }() - case 4: try { try decoder.decodeRepeatedStringField(value: &self.stickerIds) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.stickerCategoryIconAssetBundle) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.longDescription) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.latE6) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.lngE6) }() + case 14: try { try decoder.decodeSingularStringField(value: &self.supportingStatement) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.category.isEmpty { - try visitor.visitSingularStringField(value: self.category, fieldNumber: 1) + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) } - if self.sortOrder != 0 { - try visitor.visitSingularInt32Field(value: self.sortOrder, fieldNumber: 2) + if !self.longDescription.isEmpty { + try visitor.visitSingularStringField(value: self.longDescription, fieldNumber: 2) } - if self.stickerCategoryEnabled != false { - try visitor.visitSingularBoolField(value: self.stickerCategoryEnabled, fieldNumber: 3) + if self.latE6 != 0 { + try visitor.visitSingularInt32Field(value: self.latE6, fieldNumber: 4) } - if !self.stickerIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.stickerIds, fieldNumber: 4) + if self.lngE6 != 0 { + try visitor.visitSingularInt32Field(value: self.lngE6, fieldNumber: 5) } - if !self.stickerCategoryIconAssetBundle.isEmpty { - try visitor.visitSingularStringField(value: self.stickerCategoryIconAssetBundle, fieldNumber: 5) + if !self.supportingStatement.isEmpty { + try visitor.visitSingularStringField(value: self.supportingStatement, fieldNumber: 14) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StickerCategorySettingsProto.StikerCategory, rhs: StickerCategorySettingsProto.StikerCategory) -> Bool { - if lhs.category != rhs.category {return false} - if lhs.sortOrder != rhs.sortOrder {return false} - if lhs.stickerCategoryEnabled != rhs.stickerCategoryEnabled {return false} - if lhs.stickerIds != rhs.stickerIds {return false} - if lhs.stickerCategoryIconAssetBundle != rhs.stickerCategoryIconAssetBundle {return false} + public static func ==(lhs: SubmitNewPoiProto, rhs: SubmitNewPoiProto) -> Bool { + if lhs.title != rhs.title {return false} + if lhs.longDescription != rhs.longDescription {return false} + if lhs.latE6 != rhs.latE6 {return false} + if lhs.lngE6 != rhs.lngE6 {return false} + if lhs.supportingStatement != rhs.supportingStatement {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StickerMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StickerMetadataProto" +extension SubmitRouteDraftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitRouteDraftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sticker_id"), - 2: .standard(proto: "sticker_url"), - 3: .standard(proto: "max_count"), - 4: .standard(proto: "pokemon_id"), - 5: .standard(proto: "sticker_category"), - 6: .standard(proto: "sticker_date"), - 7: .standard(proto: "sticker_sort_order"), + 1: .same(proto: "result"), + 2: .standard(proto: "submitted_route"), + 3: .standard(proto: "validation_result"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288846,62 +299438,63 @@ extension StickerMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.stickerID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.stickerURL) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxCount) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 5: try { try decoder.decodeRepeatedStringField(value: &self.stickerCategory) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.stickerDate) }() - case 7: try { try decoder.decodeSingularInt32Field(value: &self.stickerSortOrder) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._submittedRoute) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._validationResult) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.stickerID.isEmpty { - try visitor.visitSingularStringField(value: self.stickerID, fieldNumber: 1) - } - if !self.stickerURL.isEmpty { - try visitor.visitSingularStringField(value: self.stickerURL, fieldNumber: 2) - } - if self.maxCount != 0 { - try visitor.visitSingularInt32Field(value: self.maxCount, fieldNumber: 3) - } - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 4) - } - if !self.stickerCategory.isEmpty { - try visitor.visitRepeatedStringField(value: self.stickerCategory, fieldNumber: 5) - } - if self.stickerDate != 0 { - try visitor.visitSingularInt32Field(value: self.stickerDate, fieldNumber: 6) - } - if self.stickerSortOrder != 0 { - try visitor.visitSingularInt32Field(value: self.stickerSortOrder, fieldNumber: 7) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } + try { if let v = self._submittedRoute { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if let v = self._validationResult { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StickerMetadataProto, rhs: StickerMetadataProto) -> Bool { - if lhs.stickerID != rhs.stickerID {return false} - if lhs.stickerURL != rhs.stickerURL {return false} - if lhs.maxCount != rhs.maxCount {return false} - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.stickerCategory != rhs.stickerCategory {return false} - if lhs.stickerDate != rhs.stickerDate {return false} - if lhs.stickerSortOrder != rhs.stickerSortOrder {return false} + public static func ==(lhs: SubmitRouteDraftOutProto, rhs: SubmitRouteDraftOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs._submittedRoute != rhs._submittedRoute {return false} + if lhs._validationResult != rhs._validationResult {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StickerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StickerProto" +extension SubmitRouteDraftOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sticker_id"), - 2: .same(proto: "count"), - 3: .same(proto: "used"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_INVALID_ROUTE"), + 4: .same(proto: "ERROR_OLD_VERSION"), + 5: .same(proto: "ERROR_ROUTE_STATE_NOT_IN_PROGRESS"), + 6: .same(proto: "ERROR_TOO_MANY_RECENT_SUBMISSIONS"), + 7: .same(proto: "ERROR_ROUTE_SUBMISSION_UNAVAILABLE"), + 8: .same(proto: "ERROR_UNVISITED_FORT"), + 9: .same(proto: "ERROR_MATCHES_REJECTION"), + 10: .same(proto: "ERROR_MODERATION_REJECTION"), + 11: .same(proto: "PENDING_MODERATION_RESULT"), + ] +} + +extension SubmitRouteDraftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitRouteDraftProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "route_id"), + 2: .standard(proto: "route_version"), + 3: .standard(proto: "approval_override"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288910,41 +299503,48 @@ extension StickerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.stickerID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.count) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.used) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.routeID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.routeVersion) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.approvalOverride) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.stickerID.isEmpty { - try visitor.visitSingularStringField(value: self.stickerID, fieldNumber: 1) + if !self.routeID.isEmpty { + try visitor.visitSingularStringField(value: self.routeID, fieldNumber: 1) } - if self.count != 0 { - try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 2) + if self.routeVersion != 0 { + try visitor.visitSingularInt64Field(value: self.routeVersion, fieldNumber: 2) } - if self.used != 0 { - try visitor.visitSingularInt32Field(value: self.used, fieldNumber: 3) + if self.approvalOverride != .unset { + try visitor.visitSingularEnumField(value: self.approvalOverride, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StickerProto, rhs: StickerProto) -> Bool { - if lhs.stickerID != rhs.stickerID {return false} - if lhs.count != rhs.count {return false} - if lhs.used != rhs.used {return false} + public static func ==(lhs: SubmitRouteDraftProto, rhs: SubmitRouteDraftProto) -> Bool { + if lhs.routeID != rhs.routeID {return false} + if lhs.routeVersion != rhs.routeVersion {return false} + if lhs.approvalOverride != rhs.approvalOverride {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StickerRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StickerRewardProto" +extension SubmitRouteDraftProto.ApprovalOverride: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sticker_id"), - 2: .same(proto: "amount"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "APPROVE"), + 2: .same(proto: "REJECT"), + ] +} + +extension SubmitSleepRecordsQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SubmitSleepRecordsQuestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "num_days"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288953,35 +299553,30 @@ extension StickerRewardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.stickerID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.amount) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.numDays) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.stickerID.isEmpty { - try visitor.visitSingularStringField(value: self.stickerID, fieldNumber: 1) - } - if self.amount != 0 { - try visitor.visitSingularInt32Field(value: self.amount, fieldNumber: 2) + if self.numDays != 0 { + try visitor.visitSingularInt32Field(value: self.numDays, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StickerRewardProto, rhs: StickerRewardProto) -> Bool { - if lhs.stickerID != rhs.stickerID {return false} - if lhs.amount != rhs.amount {return false} + public static func ==(lhs: SubmitSleepRecordsQuestProto, rhs: SubmitSleepRecordsQuestProto) -> Bool { + if lhs.numDays != rhs.numDays {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StickerSentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StickerSentProto" +extension SuperAwesomeTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SuperAwesomeTokenProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "sticker_id"), + 1: .same(proto: "token"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -288990,31 +299585,30 @@ extension StickerSentProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.stickerID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.token) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.stickerID.isEmpty { - try visitor.visitSingularStringField(value: self.stickerID, fieldNumber: 1) + if !self.token.isEmpty { + try visitor.visitSingularStringField(value: self.token, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StickerSentProto, rhs: StickerSentProto) -> Bool { - if lhs.stickerID != rhs.stickerID {return false} + public static func ==(lhs: SuperAwesomeTokenProto, rhs: SuperAwesomeTokenProto) -> Bool { + if lhs.token != rhs.token {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StorageMetrics: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StorageMetrics" +extension SupportedContestTypesSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".SupportedContestTypesSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "current_cache_size_bytes"), - 2: .standard(proto: "max_cache_size_bytes"), + 1: .standard(proto: "contest_types"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289023,36 +299617,31 @@ extension StorageMetrics: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.currentCacheSizeBytes) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.maxCacheSizeBytes) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contestTypes) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.currentCacheSizeBytes != 0 { - try visitor.visitSingularInt64Field(value: self.currentCacheSizeBytes, fieldNumber: 1) - } - if self.maxCacheSizeBytes != 0 { - try visitor.visitSingularInt64Field(value: self.maxCacheSizeBytes, fieldNumber: 2) + if !self.contestTypes.isEmpty { + try visitor.visitRepeatedMessageField(value: self.contestTypes, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StorageMetrics, rhs: StorageMetrics) -> Bool { - if lhs.currentCacheSizeBytes != rhs.currentCacheSizeBytes {return false} - if lhs.maxCacheSizeBytes != rhs.maxCacheSizeBytes {return false} + public static func ==(lhs: SupportedContestTypesSettingsProto, rhs: SupportedContestTypesSettingsProto) -> Bool { + if lhs.contestTypes != rhs.contestTypes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StoreIapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StoreIapSettingsProto" +extension SupportedContestTypesSettingsProto.ContestTypeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = SupportedContestTypesSettingsProto.protoMessageName + ".ContestTypeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "for_store"), - 2: .standard(proto: "library_version"), + 1: .standard(proto: "contest_metric_type"), + 2: .standard(proto: "badge_type"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289061,36 +299650,39 @@ extension StoreIapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.forStore) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.libraryVersion) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._contestMetricType) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.badgeType) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.forStore != .unset { - try visitor.visitSingularEnumField(value: self.forStore, fieldNumber: 1) - } - if self.libraryVersion != .default { - try visitor.visitSingularEnumField(value: self.libraryVersion, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._contestMetricType { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if self.badgeType != .badgeUnset { + try visitor.visitSingularEnumField(value: self.badgeType, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StoreIapSettingsProto, rhs: StoreIapSettingsProto) -> Bool { - if lhs.forStore != rhs.forStore {return false} - if lhs.libraryVersion != rhs.libraryVersion {return false} + public static func ==(lhs: SupportedContestTypesSettingsProto.ContestTypeProto, rhs: SupportedContestTypesSettingsProto.ContestTypeProto) -> Bool { + if lhs._contestMetricType != rhs._contestMetricType {return false} + if lhs.badgeType != rhs.badgeType {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StoreRuleDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StoreRuleDataProto" +extension TakeSnapshotQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TakeSnapshotQuestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "rule_name"), - 2: .same(proto: "entry"), + 1: .standard(proto: "unique_pokemon_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289099,36 +299691,34 @@ extension StoreRuleDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.ruleName) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.entry) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.uniquePokemonID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.ruleName.isEmpty { - try visitor.visitSingularStringField(value: self.ruleName, fieldNumber: 1) - } - if !self.entry.isEmpty { - try visitor.visitRepeatedMessageField(value: self.entry, fieldNumber: 2) + if !self.uniquePokemonID.isEmpty { + try visitor.visitPackedEnumField(value: self.uniquePokemonID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StoreRuleDataProto, rhs: StoreRuleDataProto) -> Bool { - if lhs.ruleName != rhs.ruleName {return false} - if lhs.entry != rhs.entry {return false} + public static func ==(lhs: TakeSnapshotQuestProto, rhs: TakeSnapshotQuestProto) -> Bool { + if lhs.uniquePokemonID != rhs.uniquePokemonID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StoreRuleDataProto.RuleEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = StoreRuleDataProto.protoMessageName + ".RuleEntry" +extension Tappable: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Tappable" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "key"), - 2: .same(proto: "value"), + 1: .same(proto: "type"), + 2: .same(proto: "id"), + 3: .same(proto: "count"), + 4: .standard(proto: "location_hint_lat"), + 5: .standard(proto: "location_hint_lng"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289137,35 +299727,63 @@ extension StoreRuleDataProto.RuleEntry: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.key) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.value) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.id) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.count) }() + case 4: try { try decoder.decodeSingularDoubleField(value: &self.locationHintLat) }() + case 5: try { try decoder.decodeSingularDoubleField(value: &self.locationHintLng) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.key.isEmpty { - try visitor.visitSingularStringField(value: self.key, fieldNumber: 1) + if self.type != .unset { + try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) } - if !self.value.isEmpty { - try visitor.visitSingularStringField(value: self.value, fieldNumber: 2) + if self.id != 0 { + try visitor.visitSingularInt32Field(value: self.id, fieldNumber: 2) + } + if self.count != 0 { + try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 3) + } + if self.locationHintLat != 0 { + try visitor.visitSingularDoubleField(value: self.locationHintLat, fieldNumber: 4) + } + if self.locationHintLng != 0 { + try visitor.visitSingularDoubleField(value: self.locationHintLng, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StoreRuleDataProto.RuleEntry, rhs: StoreRuleDataProto.RuleEntry) -> Bool { - if lhs.key != rhs.key {return false} - if lhs.value != rhs.value {return false} + public static func ==(lhs: Tappable, rhs: Tappable) -> Bool { + if lhs.type != rhs.type {return false} + if lhs.id != rhs.id {return false} + if lhs.count != rhs.count {return false} + if lhs.locationHintLat != rhs.locationHintLat {return false} + if lhs.locationHintLng != rhs.locationHintLng {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StoryQuestsSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StoryQuestsSectionProto" +extension Tappable.TappableType: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "TAPPABLE_TYPE_UNSET"), + 1: .same(proto: "TAPPABLE_TYPE_BREAKFAST"), + ] +} + +extension TappableSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TappableSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string_list"), + 1: .standard(proto: "visible_radius_meters"), + 2: .standard(proto: "spawn_angle_degrees"), + 3: .standard(proto: "movement_respawn_threshold_meters"), + 4: .standard(proto: "buddy_fov_degrees"), + 5: .standard(proto: "buddy_collect_probability"), + 6: .standard(proto: "disable_player_collection"), + 7: .standard(proto: "avg_tappables_in_view"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289174,30 +299792,61 @@ extension StoryQuestsSectionProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.obStringList) }() + case 1: try { try decoder.decodeSingularFloatField(value: &self.visibleRadiusMeters) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.spawnAngleDegrees) }() + case 3: try { try decoder.decodeSingularFloatField(value: &self.movementRespawnThresholdMeters) }() + case 4: try { try decoder.decodeSingularFloatField(value: &self.buddyFovDegrees) }() + case 5: try { try decoder.decodeSingularFloatField(value: &self.buddyCollectProbability) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.disablePlayerCollection) }() + case 7: try { try decoder.decodeSingularFloatField(value: &self.avgTappablesInView) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obStringList.isEmpty { - try visitor.visitRepeatedStringField(value: self.obStringList, fieldNumber: 1) + if self.visibleRadiusMeters != 0 { + try visitor.visitSingularFloatField(value: self.visibleRadiusMeters, fieldNumber: 1) + } + if self.spawnAngleDegrees != 0 { + try visitor.visitSingularFloatField(value: self.spawnAngleDegrees, fieldNumber: 2) + } + if self.movementRespawnThresholdMeters != 0 { + try visitor.visitSingularFloatField(value: self.movementRespawnThresholdMeters, fieldNumber: 3) + } + if self.buddyFovDegrees != 0 { + try visitor.visitSingularFloatField(value: self.buddyFovDegrees, fieldNumber: 4) + } + if self.buddyCollectProbability != 0 { + try visitor.visitSingularFloatField(value: self.buddyCollectProbability, fieldNumber: 5) + } + if self.disablePlayerCollection != false { + try visitor.visitSingularBoolField(value: self.disablePlayerCollection, fieldNumber: 6) + } + if self.avgTappablesInView != 0 { + try visitor.visitSingularFloatField(value: self.avgTappablesInView, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StoryQuestsSectionProto, rhs: StoryQuestsSectionProto) -> Bool { - if lhs.obStringList != rhs.obStringList {return false} + public static func ==(lhs: TappableSettingsProto, rhs: TappableSettingsProto) -> Bool { + if lhs.visibleRadiusMeters != rhs.visibleRadiusMeters {return false} + if lhs.spawnAngleDegrees != rhs.spawnAngleDegrees {return false} + if lhs.movementRespawnThresholdMeters != rhs.movementRespawnThresholdMeters {return false} + if lhs.buddyFovDegrees != rhs.buddyFovDegrees {return false} + if lhs.buddyCollectProbability != rhs.buddyCollectProbability {return false} + if lhs.disablePlayerCollection != rhs.disablePlayerCollection {return false} + if lhs.avgTappablesInView != rhs.avgTappablesInView {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StringValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StringValue" +extension TeamChangeInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TeamChangeInfoProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), + 1: .standard(proto: "last_acquired_time"), + 2: .standard(proto: "num_items_acquired"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289206,30 +299855,38 @@ extension StringValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.value) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.lastAcquiredTime) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numItemsAcquired) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.value.isEmpty { - try visitor.visitSingularStringField(value: self.value, fieldNumber: 1) + if self.lastAcquiredTime != 0 { + try visitor.visitSingularInt64Field(value: self.lastAcquiredTime, fieldNumber: 1) + } + if self.numItemsAcquired != 0 { + try visitor.visitSingularInt32Field(value: self.numItemsAcquired, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StringValue, rhs: StringValue) -> Bool { - if lhs.value != rhs.value {return false} + public static func ==(lhs: TeamChangeInfoProto, rhs: TeamChangeInfoProto) -> Bool { + if lhs.lastAcquiredTime != rhs.lastAcquiredTime {return false} + if lhs.numItemsAcquired != rhs.numItemsAcquired {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Struct: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Struct" +extension TelemetryCommon: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TelemetryCommon" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "fields"), + 1: .same(proto: "timestamp"), + 2: .standard(proto: "correlation_vector"), + 3: .standard(proto: "event_id"), + 4: .standard(proto: "client_timestamp_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289238,34 +299895,56 @@ extension Struct: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBas // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.fields) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestamp) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.correlationVector) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.eventID) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.clientTimestampMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.fields.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.fields, fieldNumber: 1) + if self.timestamp != 0 { + try visitor.visitSingularInt64Field(value: self.timestamp, fieldNumber: 1) + } + if !self.correlationVector.isEmpty { + try visitor.visitSingularStringField(value: self.correlationVector, fieldNumber: 2) + } + if !self.eventID.isEmpty { + try visitor.visitSingularStringField(value: self.eventID, fieldNumber: 3) + } + if self.clientTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.clientTimestampMs, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Struct, rhs: Struct) -> Bool { - if lhs.fields != rhs.fields {return false} + public static func ==(lhs: TelemetryCommon, rhs: TelemetryCommon) -> Bool { + if lhs.timestamp != rhs.timestamp {return false} + if lhs.correlationVector != rhs.correlationVector {return false} + if lhs.eventID != rhs.eventID {return false} + if lhs.clientTimestampMs != rhs.clientTimestampMs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StyleShopSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".StyleShopSettingsProto" +extension TelemetryGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TelemetryGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "enabled"), - 2: .standard(proto: "ob_bool_2"), - 3: .same(proto: "modes"), - 4: .same(proto: "status"), - 5: .standard(proto: "ob_bool_3"), + 2: .standard(proto: "session_sampling_fraction"), + 3: .standard(proto: "max_buffer_size_kb"), + 4: .standard(proto: "batch_size"), + 5: .standard(proto: "update_interval_ms"), + 6: .standard(proto: "frame_rate_sample_interval_ms"), + 7: .standard(proto: "frame_rate_sample_period_ms"), + 8: .standard(proto: "enable_omni_wrapper_sending"), + 9: .standard(proto: "log_pokemon_missing_pokemon_asset_threshold_sec"), + 10: .standard(proto: "enable_appsflyer_events"), + 11: .standard(proto: "block_appsflyer_events"), + 12: .standard(proto: "enable_ardk_telemetry"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289275,10 +299954,17 @@ extension StyleShopSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.modes) }() - case 4: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obBool3) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.sessionSamplingFraction) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxBufferSizeKb) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.batchSize) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.updateIntervalMs) }() + case 6: try { try decoder.decodeSingularInt64Field(value: &self.frameRateSampleIntervalMs) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.frameRateSamplePeriodMs) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.enableOmniWrapperSending) }() + case 9: try { try decoder.decodeSingularFloatField(value: &self.logPokemonMissingPokemonAssetThresholdSec) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.enableAppsflyerEvents) }() + case 11: try { try decoder.decodeRepeatedStringField(value: &self.blockAppsflyerEvents) }() + case 12: try { try decoder.decodeSingularBoolField(value: &self.enableArdkTelemetry) }() default: break } } @@ -289288,45 +299974,66 @@ extension StyleShopSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if self.enabled != false { try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 2) + if self.sessionSamplingFraction != 0 { + try visitor.visitSingularDoubleField(value: self.sessionSamplingFraction, fieldNumber: 2) + } + if self.maxBufferSizeKb != 0 { + try visitor.visitSingularInt32Field(value: self.maxBufferSizeKb, fieldNumber: 3) } - if !self.modes.isEmpty { - try visitor.visitRepeatedStringField(value: self.modes, fieldNumber: 3) + if self.batchSize != 0 { + try visitor.visitSingularInt32Field(value: self.batchSize, fieldNumber: 4) } - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 4) + if self.updateIntervalMs != 0 { + try visitor.visitSingularInt64Field(value: self.updateIntervalMs, fieldNumber: 5) + } + if self.frameRateSampleIntervalMs != 0 { + try visitor.visitSingularInt64Field(value: self.frameRateSampleIntervalMs, fieldNumber: 6) + } + if self.frameRateSamplePeriodMs != 0 { + try visitor.visitSingularInt64Field(value: self.frameRateSamplePeriodMs, fieldNumber: 7) } - if self.obBool3 != false { - try visitor.visitSingularBoolField(value: self.obBool3, fieldNumber: 5) + if self.enableOmniWrapperSending != false { + try visitor.visitSingularBoolField(value: self.enableOmniWrapperSending, fieldNumber: 8) + } + if self.logPokemonMissingPokemonAssetThresholdSec != 0 { + try visitor.visitSingularFloatField(value: self.logPokemonMissingPokemonAssetThresholdSec, fieldNumber: 9) + } + if self.enableAppsflyerEvents != false { + try visitor.visitSingularBoolField(value: self.enableAppsflyerEvents, fieldNumber: 10) + } + if !self.blockAppsflyerEvents.isEmpty { + try visitor.visitRepeatedStringField(value: self.blockAppsflyerEvents, fieldNumber: 11) + } + if self.enableArdkTelemetry != false { + try visitor.visitSingularBoolField(value: self.enableArdkTelemetry, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: StyleShopSettingsProto, rhs: StyleShopSettingsProto) -> Bool { + public static func ==(lhs: TelemetryGlobalSettingsProto, rhs: TelemetryGlobalSettingsProto) -> Bool { if lhs.enabled != rhs.enabled {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.modes != rhs.modes {return false} - if lhs.status != rhs.status {return false} - if lhs.obBool3 != rhs.obBool3 {return false} + if lhs.sessionSamplingFraction != rhs.sessionSamplingFraction {return false} + if lhs.maxBufferSizeKb != rhs.maxBufferSizeKb {return false} + if lhs.batchSize != rhs.batchSize {return false} + if lhs.updateIntervalMs != rhs.updateIntervalMs {return false} + if lhs.frameRateSampleIntervalMs != rhs.frameRateSampleIntervalMs {return false} + if lhs.frameRateSamplePeriodMs != rhs.frameRateSamplePeriodMs {return false} + if lhs.enableOmniWrapperSending != rhs.enableOmniWrapperSending {return false} + if lhs.logPokemonMissingPokemonAssetThresholdSec != rhs.logPokemonMissingPokemonAssetThresholdSec {return false} + if lhs.enableAppsflyerEvents != rhs.enableAppsflyerEvents {return false} + if lhs.blockAppsflyerEvents != rhs.blockAppsflyerEvents {return false} + if lhs.enableArdkTelemetry != rhs.enableArdkTelemetry {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension StyleShopSettingsProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "ITEM_BUBBLE_ONLY"), - 2: .same(proto: "RED_DOT_ONLY"), - 3: .same(proto: "ALL_ON"), - ] -} - -extension SubmitCombatActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitCombatActionProto" +extension TelemetryRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TelemetryRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_commun_combat_data"), + 1: .standard(proto: "api_version"), + 2: .standard(proto: "message_version"), + 3: .standard(proto: "telemetry_batch"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289335,36 +300042,40 @@ extension SubmitCombatActionProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._obCommunCombatData) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.apiVersion) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.messageVersion) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.telemetryBatch) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._obCommunCombatData { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() + if !self.apiVersion.isEmpty { + try visitor.visitSingularStringField(value: self.apiVersion, fieldNumber: 1) + } + if !self.messageVersion.isEmpty { + try visitor.visitSingularStringField(value: self.messageVersion, fieldNumber: 2) + } + if !self.telemetryBatch.isEmpty { + try visitor.visitSingularBytesField(value: self.telemetryBatch, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitCombatActionProto, rhs: SubmitCombatActionProto) -> Bool { - if lhs._obCommunCombatData != rhs._obCommunCombatData {return false} + public static func ==(lhs: TelemetryRequestProto, rhs: TelemetryRequestProto) -> Bool { + if lhs.apiVersion != rhs.apiVersion {return false} + if lhs.messageVersion != rhs.messageVersion {return false} + if lhs.telemetryBatch != rhs.telemetryBatch {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitCombatChallengePokemonsDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitCombatChallengePokemonsDataProto" +extension TempEvoGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TempEvoGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_list_int32"), - 3: .standard(proto: "ob_uint32"), + 1: .standard(proto: "primal_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289373,41 +300084,31 @@ extension SubmitCombatChallengePokemonsDataProto: SwiftProtobuf.Message, SwiftPr // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.obListInt32) }() - case 3: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.primalEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if !self.obListInt32.isEmpty { - try visitor.visitPackedInt32Field(value: self.obListInt32, fieldNumber: 2) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 3) + if self.primalEnabled != false { + try visitor.visitSingularBoolField(value: self.primalEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitCombatChallengePokemonsDataProto, rhs: SubmitCombatChallengePokemonsDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obListInt32 != rhs.obListInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} + public static func ==(lhs: TempEvoGlobalSettingsProto, rhs: TempEvoGlobalSettingsProto) -> Bool { + if lhs.primalEnabled != rhs.primalEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitCombatChallengePokemonsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitCombatChallengePokemonsOutProto" +extension TempEvoOverrideExtendedProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TempEvoOverrideExtendedProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .same(proto: "challenge"), + 1: .standard(proto: "temp_evo_id"), + 16: .standard(proto: "size_settings"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289416,8 +300117,8 @@ extension SubmitCombatChallengePokemonsOutProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.tempEvoID) }() + case 16: try { try decoder.decodeSingularMessageField(value: &self._sizeSettings) }() default: break } } @@ -289428,142 +300129,227 @@ extension SubmitCombatChallengePokemonsOutProto: SwiftProtobuf.Message, SwiftPro // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.tempEvoID != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: self.tempEvoID, fieldNumber: 1) } - try { if let v = self._challenge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + try { if let v = self._sizeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitCombatChallengePokemonsOutProto, rhs: SubmitCombatChallengePokemonsOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._challenge != rhs._challenge {return false} + public static func ==(lhs: TempEvoOverrideExtendedProto, rhs: TempEvoOverrideExtendedProto) -> Bool { + if lhs.tempEvoID != rhs.tempEvoID {return false} + if lhs._sizeSettings != rhs._sizeSettings {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitCombatChallengePokemonsOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension TempEvoOverrideProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TempEvoOverrideProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_INVALID_CHALLENGE_STATE"), - 3: .same(proto: "ERROR_CHALLENGE_NOT_FOUND"), - 4: .same(proto: "ERROR_POKEMON_NOT_IN_INVENTORY"), - 5: .same(proto: "ERROR_NOT_ELIGIBLE_LEAGUE"), - 6: .same(proto: "ERROR_ALREADY_TIMEDOUT"), - 7: .same(proto: "ERROR_ALREADY_CANCELLED"), - 8: .same(proto: "ERROR_ACCESS_DENIED"), - 9: .same(proto: "ERROR_ALREADY_DECLINED"), + 1: .standard(proto: "temp_evo_id"), + 2: .same(proto: "stats"), + 3: .standard(proto: "average_height_m"), + 4: .standard(proto: "average_weight_kg"), + 5: .standard(proto: "type_override1"), + 6: .standard(proto: "type_override2"), + 7: .standard(proto: "cp_multiplier_override"), + 8: .same(proto: "camera"), + 9: .same(proto: "encounter"), + 10: .standard(proto: "model_scale_v2"), + 11: .standard(proto: "model_height"), + 12: .standard(proto: "buddy_offset_male"), + 13: .standard(proto: "buddy_offset_female"), + 14: .standard(proto: "buddy_portrait_offset"), + 15: .standard(proto: "raid_boss_distance_offset"), + 16: .standard(proto: "size_settings"), + 17: .standard(proto: "buddy_portrait_rotation"), ] -} -extension SubmitCombatChallengePokemonsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitCombatChallengePokemonsProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), - 2: .standard(proto: "attacking_pokemon_id"), - 3: .standard(proto: "lobby_join_time_ms"), - ] + fileprivate class _StorageClass { + var _tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset + var _stats: PokemonStatsAttributesProto? = nil + var _averageHeightM: Float = 0 + var _averageWeightKg: Float = 0 + var _typeOverride1: HoloPokemonType = .pokemonTypeNone + var _typeOverride2: HoloPokemonType = .pokemonTypeNone + var _cpMultiplierOverride: Float = 0 + var _camera: PokemonCameraAttributesProto? = nil + var _encounter: PokemonEncounterAttributesProto? = nil + var _modelScaleV2: Float = 0 + var _modelHeight: Float = 0 + var _buddyOffsetMale: [Float] = [] + var _buddyOffsetFemale: [Float] = [] + var _buddyPortraitOffset: [Float] = [] + var _raidBossDistanceOffset: Float = 0 + var _sizeSettings: PokemonSizeSettingsProto? = nil + var _buddyPortraitRotation: [Float] = [] - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() - case 2: try { try decoder.decodeRepeatedFixed64Field(value: &self.attackingPokemonID) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.lobbyJoinTimeMs) }() - default: break - } - } - } + static let defaultInstance = _StorageClass() - public func traverse(visitor: inout V) throws { - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) - } - if !self.attackingPokemonID.isEmpty { - try visitor.visitPackedFixed64Field(value: self.attackingPokemonID, fieldNumber: 2) - } - if self.lobbyJoinTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.lobbyJoinTimeMs, fieldNumber: 3) + private init() {} + + init(copying source: _StorageClass) { + _tempEvoID = source._tempEvoID + _stats = source._stats + _averageHeightM = source._averageHeightM + _averageWeightKg = source._averageWeightKg + _typeOverride1 = source._typeOverride1 + _typeOverride2 = source._typeOverride2 + _cpMultiplierOverride = source._cpMultiplierOverride + _camera = source._camera + _encounter = source._encounter + _modelScaleV2 = source._modelScaleV2 + _modelHeight = source._modelHeight + _buddyOffsetMale = source._buddyOffsetMale + _buddyOffsetFemale = source._buddyOffsetFemale + _buddyPortraitOffset = source._buddyPortraitOffset + _raidBossDistanceOffset = source._raidBossDistanceOffset + _sizeSettings = source._sizeSettings + _buddyPortraitRotation = source._buddyPortraitRotation } - try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitCombatChallengePokemonsProto, rhs: SubmitCombatChallengePokemonsProto) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} - if lhs.attackingPokemonID != rhs.attackingPokemonID {return false} - if lhs.lobbyJoinTimeMs != rhs.lobbyJoinTimeMs {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true + fileprivate mutating func _uniqueStorage() -> _StorageClass { + if !isKnownUniquelyReferenced(&_storage) { + _storage = _StorageClass(copying: _storage) + } + return _storage } -} - -extension SubmitCombatChallengePokemonsResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitCombatChallengePokemonsResponseDataProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), - 3: .same(proto: "result"), - 4: .same(proto: "challenge"), - ] public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() - default: break + _ = _uniqueStorage() + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &_storage._tempEvoID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._stats) }() + case 3: try { try decoder.decodeSingularFloatField(value: &_storage._averageHeightM) }() + case 4: try { try decoder.decodeSingularFloatField(value: &_storage._averageWeightKg) }() + case 5: try { try decoder.decodeSingularEnumField(value: &_storage._typeOverride1) }() + case 6: try { try decoder.decodeSingularEnumField(value: &_storage._typeOverride2) }() + case 7: try { try decoder.decodeSingularFloatField(value: &_storage._cpMultiplierOverride) }() + case 8: try { try decoder.decodeSingularMessageField(value: &_storage._camera) }() + case 9: try { try decoder.decodeSingularMessageField(value: &_storage._encounter) }() + case 10: try { try decoder.decodeSingularFloatField(value: &_storage._modelScaleV2) }() + case 11: try { try decoder.decodeSingularFloatField(value: &_storage._modelHeight) }() + case 12: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyOffsetMale) }() + case 13: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyOffsetFemale) }() + case 14: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyPortraitOffset) }() + case 15: try { try decoder.decodeSingularFloatField(value: &_storage._raidBossDistanceOffset) }() + case 16: try { try decoder.decodeSingularMessageField(value: &_storage._sizeSettings) }() + case 17: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyPortraitRotation) }() + default: break + } } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) - } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) - } - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) + try withExtendedLifetime(_storage) { (_storage: _StorageClass) in + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if _storage._tempEvoID != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: _storage._tempEvoID, fieldNumber: 1) + } + try { if let v = _storage._stats { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if _storage._averageHeightM != 0 { + try visitor.visitSingularFloatField(value: _storage._averageHeightM, fieldNumber: 3) + } + if _storage._averageWeightKg != 0 { + try visitor.visitSingularFloatField(value: _storage._averageWeightKg, fieldNumber: 4) + } + if _storage._typeOverride1 != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: _storage._typeOverride1, fieldNumber: 5) + } + if _storage._typeOverride2 != .pokemonTypeNone { + try visitor.visitSingularEnumField(value: _storage._typeOverride2, fieldNumber: 6) + } + if _storage._cpMultiplierOverride != 0 { + try visitor.visitSingularFloatField(value: _storage._cpMultiplierOverride, fieldNumber: 7) + } + try { if let v = _storage._camera { + try visitor.visitSingularMessageField(value: v, fieldNumber: 8) + } }() + try { if let v = _storage._encounter { + try visitor.visitSingularMessageField(value: v, fieldNumber: 9) + } }() + if _storage._modelScaleV2 != 0 { + try visitor.visitSingularFloatField(value: _storage._modelScaleV2, fieldNumber: 10) + } + if _storage._modelHeight != 0 { + try visitor.visitSingularFloatField(value: _storage._modelHeight, fieldNumber: 11) + } + if !_storage._buddyOffsetMale.isEmpty { + try visitor.visitPackedFloatField(value: _storage._buddyOffsetMale, fieldNumber: 12) + } + if !_storage._buddyOffsetFemale.isEmpty { + try visitor.visitPackedFloatField(value: _storage._buddyOffsetFemale, fieldNumber: 13) + } + if !_storage._buddyPortraitOffset.isEmpty { + try visitor.visitPackedFloatField(value: _storage._buddyPortraitOffset, fieldNumber: 14) + } + if _storage._raidBossDistanceOffset != 0 { + try visitor.visitSingularFloatField(value: _storage._raidBossDistanceOffset, fieldNumber: 15) + } + try { if let v = _storage._sizeSettings { + try visitor.visitSingularMessageField(value: v, fieldNumber: 16) + } }() + if !_storage._buddyPortraitRotation.isEmpty { + try visitor.visitPackedFloatField(value: _storage._buddyPortraitRotation, fieldNumber: 17) + } } - try { if let v = self._challenge { - try visitor.visitSingularMessageField(value: v, fieldNumber: 4) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitCombatChallengePokemonsResponseDataProto, rhs: SubmitCombatChallengePokemonsResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} - if lhs.result != rhs.result {return false} - if lhs._challenge != rhs._challenge {return false} + public static func ==(lhs: TempEvoOverrideProto, rhs: TempEvoOverrideProto) -> Bool { + if lhs._storage !== rhs._storage { + let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in + let _storage = _args.0 + let rhs_storage = _args.1 + if _storage._tempEvoID != rhs_storage._tempEvoID {return false} + if _storage._stats != rhs_storage._stats {return false} + if _storage._averageHeightM != rhs_storage._averageHeightM {return false} + if _storage._averageWeightKg != rhs_storage._averageWeightKg {return false} + if _storage._typeOverride1 != rhs_storage._typeOverride1 {return false} + if _storage._typeOverride2 != rhs_storage._typeOverride2 {return false} + if _storage._cpMultiplierOverride != rhs_storage._cpMultiplierOverride {return false} + if _storage._camera != rhs_storage._camera {return false} + if _storage._encounter != rhs_storage._encounter {return false} + if _storage._modelScaleV2 != rhs_storage._modelScaleV2 {return false} + if _storage._modelHeight != rhs_storage._modelHeight {return false} + if _storage._buddyOffsetMale != rhs_storage._buddyOffsetMale {return false} + if _storage._buddyOffsetFemale != rhs_storage._buddyOffsetFemale {return false} + if _storage._buddyPortraitOffset != rhs_storage._buddyPortraitOffset {return false} + if _storage._raidBossDistanceOffset != rhs_storage._raidBossDistanceOffset {return false} + if _storage._sizeSettings != rhs_storage._sizeSettings {return false} + if _storage._buddyPortraitRotation != rhs_storage._buddyPortraitRotation {return false} + return true + } + if !storagesAreEqual {return false} + } if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitImageOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitImageOutProto" +extension TemplateVariable: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TemplateVariable" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "transient_photo_url"), - 3: .standard(proto: "photo_id"), + 1: .same(proto: "name"), + 2: .same(proto: "literal"), + 3: .same(proto: "key"), + 4: .standard(proto: "lookup_table"), + 5: .standard(proto: "byte_value"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289572,53 +300358,51 @@ extension SubmitImageOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.transientPhotoURL) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.photoID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.literal) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.key) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.lookupTable) }() + case 5: try { try decoder.decodeSingularBytesField(value: &self.byteValue) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.name.isEmpty { + try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) } - if !self.transientPhotoURL.isEmpty { - try visitor.visitSingularStringField(value: self.transientPhotoURL, fieldNumber: 2) + if !self.literal.isEmpty { + try visitor.visitSingularStringField(value: self.literal, fieldNumber: 2) } - if !self.photoID.isEmpty { - try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 3) + if !self.key.isEmpty { + try visitor.visitSingularStringField(value: self.key, fieldNumber: 3) + } + if !self.lookupTable.isEmpty { + try visitor.visitSingularStringField(value: self.lookupTable, fieldNumber: 4) + } + if !self.byteValue.isEmpty { + try visitor.visitSingularBytesField(value: self.byteValue, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitImageOutProto, rhs: SubmitImageOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.transientPhotoURL != rhs.transientPhotoURL {return false} - if lhs.photoID != rhs.photoID {return false} + public static func ==(lhs: TemplateVariable, rhs: TemplateVariable) -> Bool { + if lhs.name != rhs.name {return false} + if lhs.literal != rhs.literal {return false} + if lhs.key != rhs.key {return false} + if lhs.lookupTable != rhs.lookupTable {return false} + if lhs.byteValue != rhs.byteValue {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitImageOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "IMAGE_DOES_NOT_EXIST"), - 3: .same(proto: "INAPPROPRIATE_CONTENT"), - 4: .same(proto: "ERROR_UNKNOWN"), - 5: .same(proto: "PHOTO_ID_ALREADY_SUBMITTED"), - 6: .same(proto: "MATCHING_IMAGE_FLAGGED"), - ] -} - -extension SubmitImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitImageProto" +extension TemporalFrequencyProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TemporalFrequencyProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "photo_id"), - 2: .same(proto: "metadata"), + 1: .same(proto: "weekdays"), + 2: .standard(proto: "time_gap"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289627,37 +300411,69 @@ extension SubmitImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.photoID) }() - case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.metadata) }() + case 1: try { + var v: WeekdaysProto? + var hadOneofValue = false + if let current = self.frequency { + hadOneofValue = true + if case .weekdays(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.frequency = .weekdays(v) + } + }() + case 2: try { + var v: TimeGapProto? + var hadOneofValue = false + if let current = self.frequency { + hadOneofValue = true + if case .timeGap(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.frequency = .timeGap(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.photoID.isEmpty { - try visitor.visitSingularStringField(value: self.photoID, fieldNumber: 1) - } - if !self.metadata.isEmpty { - try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.metadata, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.frequency { + case .weekdays?: try { + guard case .weekdays(let v)? = self.frequency else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .timeGap?: try { + guard case .timeGap(let v)? = self.frequency else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitImageProto, rhs: SubmitImageProto) -> Bool { - if lhs.photoID != rhs.photoID {return false} - if lhs.metadata != rhs.metadata {return false} + public static func ==(lhs: TemporalFrequencyProto, rhs: TemporalFrequencyProto) -> Bool { + if lhs.frequency != rhs.frequency {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitMappingRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitMappingRequestProto" +extension TemporaryEvolutionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TemporaryEvolutionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .standard(proto: "nomination_type"), - 3: .standard(proto: "developer_id"), + 1: .standard(proto: "temporary_evolution_id"), + 2: .standard(proto: "asset_bundle_value"), + 3: .standard(proto: "asset_bundle_suffix"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289666,43 +300482,42 @@ extension SubmitMappingRequestProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.nominationType) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.temporaryEvolutionID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.assetBundleValue) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.assetBundleSuffix) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + if self.temporaryEvolutionID != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: self.temporaryEvolutionID, fieldNumber: 1) } - if self.nominationType != .regular { - try visitor.visitSingularEnumField(value: self.nominationType, fieldNumber: 2) + if self.assetBundleValue != 0 { + try visitor.visitSingularInt32Field(value: self.assetBundleValue, fieldNumber: 2) } - if !self.developerID.isEmpty { - try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) + if !self.assetBundleSuffix.isEmpty { + try visitor.visitSingularStringField(value: self.assetBundleSuffix, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitMappingRequestProto, rhs: SubmitMappingRequestProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.nominationType != rhs.nominationType {return false} - if lhs.developerID != rhs.developerID {return false} + public static func ==(lhs: TemporaryEvolutionProto, rhs: TemporaryEvolutionProto) -> Bool { + if lhs.temporaryEvolutionID != rhs.temporaryEvolutionID {return false} + if lhs.assetBundleValue != rhs.assetBundleValue {return false} + if lhs.assetBundleSuffix != rhs.assetBundleSuffix {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitNewPoiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitNewPoiOutProto" +extension TemporaryEvolutionResourceProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TemporaryEvolutionResourceProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "submission_id"), - 3: .same(proto: "messages"), - 4: .standard(proto: "poi_id"), + 1: .standard(proto: "temporary_evolution_id"), + 2: .standard(proto: "energy_count"), + 3: .standard(proto: "max_energy_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289711,67 +300526,41 @@ extension SubmitNewPoiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.messages) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.temporaryEvolutionID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.energyCount) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxEnergyCount) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if !self.submissionID.isEmpty { - try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 2) + if self.temporaryEvolutionID != .tempEvolutionUnset { + try visitor.visitSingularEnumField(value: self.temporaryEvolutionID, fieldNumber: 1) } - if !self.messages.isEmpty { - try visitor.visitRepeatedStringField(value: self.messages, fieldNumber: 3) + if self.energyCount != 0 { + try visitor.visitSingularInt32Field(value: self.energyCount, fieldNumber: 2) } - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 4) + if self.maxEnergyCount != 0 { + try visitor.visitSingularInt32Field(value: self.maxEnergyCount, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitNewPoiOutProto, rhs: SubmitNewPoiOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.submissionID != rhs.submissionID {return false} - if lhs.messages != rhs.messages {return false} - if lhs.poiID != rhs.poiID {return false} + public static func ==(lhs: TemporaryEvolutionResourceProto, rhs: TemporaryEvolutionResourceProto) -> Bool { + if lhs.temporaryEvolutionID != rhs.temporaryEvolutionID {return false} + if lhs.energyCount != rhs.energyCount {return false} + if lhs.maxEnergyCount != rhs.maxEnergyCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitNewPoiOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "FAILURE"), - 3: .same(proto: "INTERNAL_ERROR"), - 4: .same(proto: "TOO_MANY_RECENT_SUBMISSIONS"), - 5: .same(proto: "INVALID_INPUT"), - 6: .same(proto: "MINOR"), - 7: .same(proto: "NOT_AVAILABLE"), - 8: .same(proto: "ALREADY_EXISTS"), - ] -} - -extension SubmitNewPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitNewPoiProto" +extension TemporaryEvolutionSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TemporaryEvolutionSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "title"), - 2: .standard(proto: "long_description"), - 3: .standard(proto: "lat_e6"), - 4: .standard(proto: "lng_e6"), - 5: .standard(proto: "supporting_statement"), - 6: .standard(proto: "async_file_upload"), - 7: .standard(proto: "player_submitted_category_ids"), - 8: .standard(proto: "category_suggestion"), - 9: .standard(proto: "developer_id"), + 1: .same(proto: "pokemon"), + 2: .standard(proto: "temporary_evolutions"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289780,70 +300569,35 @@ extension SubmitNewPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.longDescription) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.latE6) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.lngE6) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.supportingStatement) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.asyncFileUpload) }() - case 7: try { try decoder.decodeRepeatedStringField(value: &self.playerSubmittedCategoryIds) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.categorySuggestion) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemon) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.temporaryEvolutions) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.title.isEmpty { - try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) - } - if !self.longDescription.isEmpty { - try visitor.visitSingularStringField(value: self.longDescription, fieldNumber: 2) - } - if self.latE6 != 0 { - try visitor.visitSingularInt32Field(value: self.latE6, fieldNumber: 3) - } - if self.lngE6 != 0 { - try visitor.visitSingularInt32Field(value: self.lngE6, fieldNumber: 4) - } - if !self.supportingStatement.isEmpty { - try visitor.visitSingularStringField(value: self.supportingStatement, fieldNumber: 5) - } - if self.asyncFileUpload != false { - try visitor.visitSingularBoolField(value: self.asyncFileUpload, fieldNumber: 6) - } - if !self.playerSubmittedCategoryIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.playerSubmittedCategoryIds, fieldNumber: 7) - } - if !self.categorySuggestion.isEmpty { - try visitor.visitSingularStringField(value: self.categorySuggestion, fieldNumber: 8) + if self.pokemon != .missingno { + try visitor.visitSingularEnumField(value: self.pokemon, fieldNumber: 1) } - if !self.developerID.isEmpty { - try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 9) + if !self.temporaryEvolutions.isEmpty { + try visitor.visitRepeatedMessageField(value: self.temporaryEvolutions, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitNewPoiProto, rhs: SubmitNewPoiProto) -> Bool { - if lhs.title != rhs.title {return false} - if lhs.longDescription != rhs.longDescription {return false} - if lhs.latE6 != rhs.latE6 {return false} - if lhs.lngE6 != rhs.lngE6 {return false} - if lhs.supportingStatement != rhs.supportingStatement {return false} - if lhs.asyncFileUpload != rhs.asyncFileUpload {return false} - if lhs.playerSubmittedCategoryIds != rhs.playerSubmittedCategoryIds {return false} - if lhs.categorySuggestion != rhs.categorySuggestion {return false} - if lhs.developerID != rhs.developerID {return false} + public static func ==(lhs: TemporaryEvolutionSettingsProto, rhs: TemporaryEvolutionSettingsProto) -> Bool { + if lhs.pokemon != rhs.pokemon {return false} + if lhs.temporaryEvolutions != rhs.temporaryEvolutions {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitPlayerImageVoteForPoiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitPlayerImageVoteForPoiOutProto" +extension ThirdMoveGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".ThirdMoveGlobalSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), + 1: .standard(proto: "unlock_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289852,42 +300606,31 @@ extension SubmitPlayerImageVoteForPoiOutProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.unlockEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if self.unlockEnabled != false { + try visitor.visitSingularBoolField(value: self.unlockEnabled, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitPlayerImageVoteForPoiOutProto, rhs: SubmitPlayerImageVoteForPoiOutProto) -> Bool { - if lhs.status != rhs.status {return false} + public static func ==(lhs: ThirdMoveGlobalSettingsProto, rhs: ThirdMoveGlobalSettingsProto) -> Bool { + if lhs.unlockEnabled != rhs.unlockEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitPlayerImageVoteForPoiOutProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "POI_NOT_FOUND"), - 3: .same(proto: "POI_IMAGE_NOT_FOUND"), - 6: .same(proto: "INVALID_REQUEST"), - ] -} - -extension SubmitPlayerImageVoteForPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitPlayerImageVoteForPoiProto" +extension TicketGiftingFeatureSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TicketGiftingFeatureSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "image_ids_to_vote_for"), - 2: .standard(proto: "image_ids_to_unvote"), - 3: .standard(proto: "poi_id"), + 1: .standard(proto: "enable_notification_history"), + 2: .standard(proto: "enable_optout_setting"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289896,43 +300639,37 @@ extension SubmitPlayerImageVoteForPoiProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedStringField(value: &self.imageIdsToVoteFor) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.imageIdsToUnvote) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enableNotificationHistory) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableOptoutSetting) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.imageIdsToVoteFor.isEmpty { - try visitor.visitRepeatedStringField(value: self.imageIdsToVoteFor, fieldNumber: 1) - } - if !self.imageIdsToUnvote.isEmpty { - try visitor.visitRepeatedStringField(value: self.imageIdsToUnvote, fieldNumber: 2) + if self.enableNotificationHistory != false { + try visitor.visitSingularBoolField(value: self.enableNotificationHistory, fieldNumber: 1) } - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 3) + if self.enableOptoutSetting != false { + try visitor.visitSingularBoolField(value: self.enableOptoutSetting, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitPlayerImageVoteForPoiProto, rhs: SubmitPlayerImageVoteForPoiProto) -> Bool { - if lhs.imageIdsToVoteFor != rhs.imageIdsToVoteFor {return false} - if lhs.imageIdsToUnvote != rhs.imageIdsToUnvote {return false} - if lhs.poiID != rhs.poiID {return false} + public static func ==(lhs: TicketGiftingFeatureSettingsProto, rhs: TicketGiftingFeatureSettingsProto) -> Bool { + if lhs.enableNotificationHistory != rhs.enableNotificationHistory {return false} + if lhs.enableOptoutSetting != rhs.enableOptoutSetting {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitPoiCategoryVoteRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitPoiCategoryVoteRecordProto" +extension TicketGiftingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TicketGiftingSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .standard(proto: "player_submitted_category_ids"), - 3: .standard(proto: "category_suggestion"), - 4: .standard(proto: "developer_id"), + 1: .standard(proto: "min_player_level"), + 2: .standard(proto: "daily_player_gifting_limit"), + 3: .standard(proto: "min_required_friendship_level"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289941,47 +300678,45 @@ extension SubmitPoiCategoryVoteRecordProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.playerSubmittedCategoryIds) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.categorySuggestion) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.dailyPlayerGiftingLimit) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.minRequiredFriendshipLevel) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) - } - if !self.playerSubmittedCategoryIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.playerSubmittedCategoryIds, fieldNumber: 2) + if self.minPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 1) } - if !self.categorySuggestion.isEmpty { - try visitor.visitSingularStringField(value: self.categorySuggestion, fieldNumber: 3) + if self.dailyPlayerGiftingLimit != 0 { + try visitor.visitSingularInt32Field(value: self.dailyPlayerGiftingLimit, fieldNumber: 2) } - if !self.developerID.isEmpty { - try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 4) + if !self.minRequiredFriendshipLevel.isEmpty { + try visitor.visitSingularStringField(value: self.minRequiredFriendshipLevel, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitPoiCategoryVoteRecordProto, rhs: SubmitPoiCategoryVoteRecordProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.playerSubmittedCategoryIds != rhs.playerSubmittedCategoryIds {return false} - if lhs.categorySuggestion != rhs.categorySuggestion {return false} - if lhs.developerID != rhs.developerID {return false} + public static func ==(lhs: TicketGiftingSettingsProto, rhs: TicketGiftingSettingsProto) -> Bool { + if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + if lhs.dailyPlayerGiftingLimit != rhs.dailyPlayerGiftingLimit {return false} + if lhs.minRequiredFriendshipLevel != rhs.minRequiredFriendshipLevel {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitPoiImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitPoiImageProto" +extension TiledBlob: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TiledBlob" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .standard(proto: "async_file_upload"), - 3: .standard(proto: "developer_id"), + 1: .standard(proto: "format_version"), + 2: .same(proto: "zoom"), + 3: .same(proto: "x"), + 4: .same(proto: "y"), + 5: .same(proto: "epoch"), + 6: .standard(proto: "encoded_data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -289990,42 +300725,62 @@ extension SubmitPoiImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.asyncFileUpload) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.formatVersion) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.zoom) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.x) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.y) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.epoch) }() + case 6: try { try decoder.decodeSingularBytesField(value: &self.encodedData) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + if self.formatVersion != 0 { + try visitor.visitSingularInt32Field(value: self.formatVersion, fieldNumber: 1) } - if self.asyncFileUpload != false { - try visitor.visitSingularBoolField(value: self.asyncFileUpload, fieldNumber: 2) + if self.zoom != 0 { + try visitor.visitSingularInt32Field(value: self.zoom, fieldNumber: 2) } - if !self.developerID.isEmpty { - try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) + if self.x != 0 { + try visitor.visitSingularInt32Field(value: self.x, fieldNumber: 3) + } + if self.y != 0 { + try visitor.visitSingularInt32Field(value: self.y, fieldNumber: 4) + } + if self.epoch != 0 { + try visitor.visitSingularInt32Field(value: self.epoch, fieldNumber: 5) + } + if !self.encodedData.isEmpty { + try visitor.visitSingularBytesField(value: self.encodedData, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitPoiImageProto, rhs: SubmitPoiImageProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.asyncFileUpload != rhs.asyncFileUpload {return false} - if lhs.developerID != rhs.developerID {return false} + public static func ==(lhs: TiledBlob, rhs: TiledBlob) -> Bool { + if lhs.formatVersion != rhs.formatVersion {return false} + if lhs.zoom != rhs.zoom {return false} + if lhs.x != rhs.x {return false} + if lhs.y != rhs.y {return false} + if lhs.epoch != rhs.epoch {return false} + if lhs.encodedData != rhs.encodedData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitPoiLocationUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitPoiLocationUpdateProto" +extension TiledBlob.ContentType: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .same(proto: "location"), - 3: .standard(proto: "developer_id"), + 0: .same(proto: "NIANTIC_VECTOR_MAPTILE"), + 1: .same(proto: "BIOME_RASTER_MAPTILE"), + ] +} + +extension TimeBonusSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TimeBonusSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "affected_items"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290034,46 +300789,32 @@ extension SubmitPoiLocationUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._location) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.affectedItems) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) - } - try { if let v = self._location { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.developerID.isEmpty { - try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) + if !self.affectedItems.isEmpty { + try visitor.visitPackedEnumField(value: self.affectedItems, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitPoiLocationUpdateProto, rhs: SubmitPoiLocationUpdateProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs._location != rhs._location {return false} - if lhs.developerID != rhs.developerID {return false} + public static func ==(lhs: TimeBonusSettingsProto, rhs: TimeBonusSettingsProto) -> Bool { + if lhs.affectedItems != rhs.affectedItems {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitPoiTakedownRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitPoiTakedownRequestProto" +extension TimeGapProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TimeGapProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .standard(proto: "invalid_reason"), - 3: .standard(proto: "developer_id"), + 1: .same(proto: "unit"), + 2: .same(proto: "quantity"), + 3: .same(proto: "offset"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290082,43 +300823,56 @@ extension SubmitPoiTakedownRequestProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.invalidReason) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.unit) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.quantity) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.offset) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + if self.unit != .unset { + try visitor.visitSingularEnumField(value: self.unit, fieldNumber: 1) } - if self.invalidReason != .invalidReasonUnspecified { - try visitor.visitSingularEnumField(value: self.invalidReason, fieldNumber: 2) + if self.quantity != 0 { + try visitor.visitSingularInt64Field(value: self.quantity, fieldNumber: 2) } - if !self.developerID.isEmpty { - try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) + if !self.offset.isEmpty { + try visitor.visitRepeatedMessageField(value: self.offset, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitPoiTakedownRequestProto, rhs: SubmitPoiTakedownRequestProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.invalidReason != rhs.invalidReason {return false} - if lhs.developerID != rhs.developerID {return false} + public static func ==(lhs: TimeGapProto, rhs: TimeGapProto) -> Bool { + if lhs.unit != rhs.unit {return false} + if lhs.quantity != rhs.quantity {return false} + if lhs.offset != rhs.offset {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitPoiTextMetadataUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitPoiTextMetadataUpdateProto" +extension TimeGapProto.SpanUnit: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .same(proto: "title"), - 3: .same(proto: "description"), - 4: .standard(proto: "developer_id"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "MILLISECOND"), + 2: .same(proto: "SECOND"), + 3: .same(proto: "MINUTE"), + 4: .same(proto: "HOUR"), + 5: .same(proto: "DAY"), + 6: .same(proto: "WEEK"), + 7: .same(proto: "MONTH"), + 8: .same(proto: "YEAR"), + 9: .same(proto: "DECADE"), + ] +} + +extension TimeToPlayable: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TimeToPlayable" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "resumed_from"), + 2: .standard(proto: "time_to_play"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290127,47 +300881,47 @@ extension SubmitPoiTextMetadataUpdateProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.title) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.developerID) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.resumedFrom) }() + case 2: try { try decoder.decodeSingularFloatField(value: &self.timeToPlay) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) - } - if !self.title.isEmpty { - try visitor.visitSingularStringField(value: self.title, fieldNumber: 2) + if self.resumedFrom != .undefined { + try visitor.visitSingularEnumField(value: self.resumedFrom, fieldNumber: 1) } - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) - } - if !self.developerID.isEmpty { - try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 4) + if self.timeToPlay != 0 { + try visitor.visitSingularFloatField(value: self.timeToPlay, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitPoiTextMetadataUpdateProto, rhs: SubmitPoiTextMetadataUpdateProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.title != rhs.title {return false} - if lhs.description_p != rhs.description_p {return false} - if lhs.developerID != rhs.developerID {return false} + public static func ==(lhs: TimeToPlayable, rhs: TimeToPlayable) -> Bool { + if lhs.resumedFrom != rhs.resumedFrom {return false} + if lhs.timeToPlay != rhs.timeToPlay {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitRouteDraftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitRouteDraftOutProto" +extension TimeToPlayable.ResumedFrom: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - 2: .standard(proto: "submitted_route"), - 3: .standard(proto: "validation_result"), + 0: .same(proto: "UNDEFINED"), + 1: .same(proto: "WARM"), + 2: .same(proto: "COLD"), + ] +} + +extension TimedGroupChallengeDefinitionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TimedGroupChallengeDefinitionProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "challenge_id"), + 2: .same(proto: "display"), + 3: .standard(proto: "start_time_ms_inclusive"), + 4: .standard(proto: "end_time_ms_exclusive"), + 5: .standard(proto: "challenge_criteria"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290176,9 +300930,11 @@ extension SubmitRouteDraftOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._submittedRoute) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._validationResult) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._display) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.startTimeMsInclusive) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMsExclusive) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._challengeCriteria) }() default: break } } @@ -290189,50 +300945,39 @@ extension SubmitRouteDraftOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) } - try { if let v = self._submittedRoute { + try { if let v = self._display { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if let v = self._validationResult { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + if self.startTimeMsInclusive != 0 { + try visitor.visitSingularInt64Field(value: self.startTimeMsInclusive, fieldNumber: 3) + } + if self.endTimeMsExclusive != 0 { + try visitor.visitSingularInt64Field(value: self.endTimeMsExclusive, fieldNumber: 4) + } + try { if let v = self._challengeCriteria { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitRouteDraftOutProto, rhs: SubmitRouteDraftOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs._submittedRoute != rhs._submittedRoute {return false} - if lhs._validationResult != rhs._validationResult {return false} + public static func ==(lhs: TimedGroupChallengeDefinitionProto, rhs: TimedGroupChallengeDefinitionProto) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} + if lhs._display != rhs._display {return false} + if lhs.startTimeMsInclusive != rhs.startTimeMsInclusive {return false} + if lhs.endTimeMsExclusive != rhs.endTimeMsExclusive {return false} + if lhs._challengeCriteria != rhs._challengeCriteria {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitRouteDraftOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_INVALID_ROUTE"), - 4: .same(proto: "ERROR_OLD_VERSION"), - 5: .same(proto: "ERROR_ROUTE_STATE_NOT_IN_PROGRESS"), - 6: .same(proto: "ERROR_TOO_MANY_RECENT_SUBMISSIONS"), - 7: .same(proto: "ERROR_ROUTE_SUBMISSION_UNAVAILABLE"), - 8: .same(proto: "ERROR_UNVISITED_FORT"), - 9: .same(proto: "ERROR_MATCHES_REJECTION"), - 10: .same(proto: "ERROR_MODERATION_REJECTION"), - 11: .same(proto: "PENDING_MODERATION_RESULT"), - ] -} - -extension SubmitRouteDraftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitRouteDraftProto" +extension TimedGroupChallengePlayerStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TimedGroupChallengePlayerStatsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "route_id"), - 2: .standard(proto: "route_version"), - 3: .standard(proto: "approval_override"), + 1: .same(proto: "challenges"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290241,48 +300986,31 @@ extension SubmitRouteDraftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.routeID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.routeVersion) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.approvalOverride) }() + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.challenges) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.routeID != 0 { - try visitor.visitSingularInt64Field(value: self.routeID, fieldNumber: 1) - } - if self.routeVersion != 0 { - try visitor.visitSingularInt64Field(value: self.routeVersion, fieldNumber: 2) - } - if self.approvalOverride != .unset { - try visitor.visitSingularEnumField(value: self.approvalOverride, fieldNumber: 3) + if !self.challenges.isEmpty { + try visitor.visitRepeatedMessageField(value: self.challenges, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitRouteDraftProto, rhs: SubmitRouteDraftProto) -> Bool { - if lhs.routeID != rhs.routeID {return false} - if lhs.routeVersion != rhs.routeVersion {return false} - if lhs.approvalOverride != rhs.approvalOverride {return false} + public static func ==(lhs: TimedGroupChallengePlayerStatsProto, rhs: TimedGroupChallengePlayerStatsProto) -> Bool { + if lhs.challenges != rhs.challenges {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitRouteDraftProto.ApprovalOverride: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "APPROVE"), - 2: .same(proto: "REJECT"), - ] -} - -extension SubmitSleepRecordsQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitSleepRecordsQuestProto" +extension TimedGroupChallengePlayerStatsProto.IndividualChallengeStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = TimedGroupChallengePlayerStatsProto.protoMessageName + ".IndividualChallengeStats" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_days"), + 1: .standard(proto: "challenge_id"), + 2: .standard(proto: "player_score"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290291,31 +301019,36 @@ extension SubmitSleepRecordsQuestProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.numDays) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.playerScore) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.numDays != 0 { - try visitor.visitSingularInt32Field(value: self.numDays, fieldNumber: 1) + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) + } + if self.playerScore != 0 { + try visitor.visitSingularInt32Field(value: self.playerScore, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitSleepRecordsQuestProto, rhs: SubmitSleepRecordsQuestProto) -> Bool { - if lhs.numDays != rhs.numDays {return false} + public static func ==(lhs: TimedGroupChallengePlayerStatsProto.IndividualChallengeStats, rhs: TimedGroupChallengePlayerStatsProto.IndividualChallengeStats) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} + if lhs.playerScore != rhs.playerScore {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitSponsorPoiLocationUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitSponsorPoiLocationUpdateProto" +extension TimedGroupChallengeSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TimedGroupChallengeSectionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .same(proto: "location"), + 1: .standard(proto: "challenge_id"), + 2: .standard(proto: "header_image_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290324,41 +301057,39 @@ extension SubmitSponsorPoiLocationUpdateProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._location) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.headerImageURL) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + if !self.challengeID.isEmpty { + try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) + } + if !self.headerImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.headerImageURL, fieldNumber: 2) } - try { if let v = self._location { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitSponsorPoiLocationUpdateProto, rhs: SubmitSponsorPoiLocationUpdateProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs._location != rhs._location {return false} + public static func ==(lhs: TimedGroupChallengeSectionProto, rhs: TimedGroupChallengeSectionProto) -> Bool { + if lhs.challengeID != rhs.challengeID {return false} + if lhs.headerImageURL != rhs.headerImageURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SubmitSponsorPoiReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SubmitSponsorPoiReportProto" +extension TimedGroupChallengeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TimedGroupChallengeSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "poi_id"), - 2: .standard(proto: "invalid_reason"), - 3: .standard(proto: "additional_details"), + 1: .standard(proto: "widget_auto_update_period_ms"), + 2: .standard(proto: "friend_leaderboard_background_update_period_ms"), + 3: .standard(proto: "friend_leaderboard_friends_per_rpc"), + 4: .standard(proto: "refresh_offline_friends_modulus"), + 5: .standard(proto: "refresh_non_event_friends_modulus"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290367,40 +301098,50 @@ extension SubmitSponsorPoiReportProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.invalidReason) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.additionalDetails) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.widgetAutoUpdatePeriodMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.friendLeaderboardBackgroundUpdatePeriodMs) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.friendLeaderboardFriendsPerRpc) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.refreshOfflineFriendsModulus) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.refreshNonEventFriendsModulus) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.poiID.isEmpty { - try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + if self.widgetAutoUpdatePeriodMs != 0 { + try visitor.visitSingularInt32Field(value: self.widgetAutoUpdatePeriodMs, fieldNumber: 1) } - if self.invalidReason != .sponsorPoiReasonUnspecified { - try visitor.visitSingularEnumField(value: self.invalidReason, fieldNumber: 2) + if self.friendLeaderboardBackgroundUpdatePeriodMs != 0 { + try visitor.visitSingularInt64Field(value: self.friendLeaderboardBackgroundUpdatePeriodMs, fieldNumber: 2) } - if !self.additionalDetails.isEmpty { - try visitor.visitSingularStringField(value: self.additionalDetails, fieldNumber: 3) + if self.friendLeaderboardFriendsPerRpc != 0 { + try visitor.visitSingularInt32Field(value: self.friendLeaderboardFriendsPerRpc, fieldNumber: 3) + } + if self.refreshOfflineFriendsModulus != 0 { + try visitor.visitSingularInt32Field(value: self.refreshOfflineFriendsModulus, fieldNumber: 4) + } + if self.refreshNonEventFriendsModulus != 0 { + try visitor.visitSingularInt32Field(value: self.refreshNonEventFriendsModulus, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SubmitSponsorPoiReportProto, rhs: SubmitSponsorPoiReportProto) -> Bool { - if lhs.poiID != rhs.poiID {return false} - if lhs.invalidReason != rhs.invalidReason {return false} - if lhs.additionalDetails != rhs.additionalDetails {return false} + public static func ==(lhs: TimedGroupChallengeSettingsProto, rhs: TimedGroupChallengeSettingsProto) -> Bool { + if lhs.widgetAutoUpdatePeriodMs != rhs.widgetAutoUpdatePeriodMs {return false} + if lhs.friendLeaderboardBackgroundUpdatePeriodMs != rhs.friendLeaderboardBackgroundUpdatePeriodMs {return false} + if lhs.friendLeaderboardFriendsPerRpc != rhs.friendLeaderboardFriendsPerRpc {return false} + if lhs.refreshOfflineFriendsModulus != rhs.refreshOfflineFriendsModulus {return false} + if lhs.refreshNonEventFriendsModulus != rhs.refreshNonEventFriendsModulus {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SuperAwesomeTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SuperAwesomeTokenProto" +extension TimedQuestSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TimedQuestSectionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), + 1: .standard(proto: "quest_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290409,30 +301150,31 @@ extension SuperAwesomeTokenProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.token) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.questID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.token.isEmpty { - try visitor.visitSingularStringField(value: self.token, fieldNumber: 1) + if !self.questID.isEmpty { + try visitor.visitSingularStringField(value: self.questID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SuperAwesomeTokenProto, rhs: SuperAwesomeTokenProto) -> Bool { - if lhs.token != rhs.token {return false} + public static func ==(lhs: TimedQuestSectionProto, rhs: TimedQuestSectionProto) -> Bool { + if lhs.questID != rhs.questID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SupportedContestTypesSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SupportedContestTypesSettingsProto" +extension Timestamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Timestamp" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contest_types"), + 1: .same(proto: "seconds"), + 2: .same(proto: "nanos"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290441,31 +301183,36 @@ extension SupportedContestTypesSettingsProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contestTypes) }() + case 1: try { try decoder.decodeSingularInt64Field(value: &self.seconds) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.nanos) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.contestTypes.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contestTypes, fieldNumber: 1) + if self.seconds != 0 { + try visitor.visitSingularInt64Field(value: self.seconds, fieldNumber: 1) + } + if self.nanos != 0 { + try visitor.visitSingularInt32Field(value: self.nanos, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SupportedContestTypesSettingsProto, rhs: SupportedContestTypesSettingsProto) -> Bool { - if lhs.contestTypes != rhs.contestTypes {return false} + public static func ==(lhs: Timestamp, rhs: Timestamp) -> Bool { + if lhs.seconds != rhs.seconds {return false} + if lhs.nanos != rhs.nanos {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SupportedContestTypesSettingsProto.ContestTypeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = SupportedContestTypesSettingsProto.protoMessageName + ".ContestTypeProto" +extension TitanAsyncFileUploadCompleteOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanAsyncFileUploadCompleteOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contest_metric_type"), - 2: .standard(proto: "badge_type"), + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "post_action_game_info"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290474,40 +301221,47 @@ extension SupportedContestTypesSettingsProto.ContestTypeProto: SwiftProtobuf.Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._contestMetricType) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.badgeType) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularBytesField(value: &self.postActionGameInfo) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._contestMetricType { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - if self.badgeType != .badgeUnset { - try visitor.visitSingularEnumField(value: self.badgeType, fieldNumber: 2) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + if !self.postActionGameInfo.isEmpty { + try visitor.visitSingularBytesField(value: self.postActionGameInfo, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SupportedContestTypesSettingsProto.ContestTypeProto, rhs: SupportedContestTypesSettingsProto.ContestTypeProto) -> Bool { - if lhs._contestMetricType != rhs._contestMetricType {return false} - if lhs.badgeType != rhs.badgeType {return false} + public static func ==(lhs: TitanAsyncFileUploadCompleteOutProto, rhs: TitanAsyncFileUploadCompleteOutProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.postActionGameInfo != rhs.postActionGameInfo {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SurveySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SurveySettings" +extension TitanAsyncFileUploadCompleteOutProto.ErrorStatus: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SERVER_UPDATE_FAILED"), + 2: .same(proto: "MISSING_SUBMISSION_ID"), + 3: .same(proto: "MISSING_SUBMISSION_TYPE"), + 4: .same(proto: "MISSING_UPLOAD_STATUS"), + ] +} + +extension TitanAsyncFileUploadCompleteProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanAsyncFileUploadCompleteProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_survey_settings_bool"), - 2: .standard(proto: "ob_survey_settings_int32"), + 1: .standard(proto: "submission_id"), + 2: .standard(proto: "upload_status"), + 3: .standard(proto: "ar_common_metadata"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290516,36 +301270,63 @@ extension SurveySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obSurveySettingsBool) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.obSurveySettingsInt32) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.uploadStatus) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._arCommonMetadata) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obSurveySettingsBool != false { - try visitor.visitSingularBoolField(value: self.obSurveySettingsBool, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 1) } - if self.obSurveySettingsInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obSurveySettingsInt32, fieldNumber: 2) + if self.uploadStatus != .unset { + try visitor.visitSingularEnumField(value: self.uploadStatus, fieldNumber: 2) } + try { if let v = self._arCommonMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SurveySettings, rhs: SurveySettings) -> Bool { - if lhs.obSurveySettingsBool != rhs.obSurveySettingsBool {return false} - if lhs.obSurveySettingsInt32 != rhs.obSurveySettingsInt32 {return false} + public static func ==(lhs: TitanAsyncFileUploadCompleteProto, rhs: TitanAsyncFileUploadCompleteProto) -> Bool { + if lhs.submissionID != rhs.submissionID {return false} + if lhs.uploadStatus != rhs.uploadStatus {return false} + if lhs._arCommonMetadata != rhs._arCommonMetadata {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SyncContactListRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SyncContactListRequest" +extension TitanAsyncFileUploadCompleteProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contact"), - 2: .standard(proto: "country_code"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "UPLOAD_DONE"), + 2: .same(proto: "UPLOAD_FAILED"), + ] +} + +extension TitanAvailableSubmissionsPerSubmissionType: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanAvailableSubmissionsPerSubmissionType" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "submissions_left"), + 2: .standard(proto: "min_player_level"), + 3: .standard(proto: "is_feature_enabled"), + 4: .standard(proto: "time_window_for_submissions_limit_ms"), + 5: .standard(proto: "max_poi_distance_in_meters"), + 6: .standard(proto: "blacklisted_os"), + 7: .standard(proto: "blacklisted_device_id"), + 8: .standard(proto: "is_whitelisted_user"), + 9: .standard(proto: "is_upload_later_enabled"), + 10: .standard(proto: "daily_new_submissions"), + 11: .standard(proto: "max_submissions"), + 12: .standard(proto: "is_wayfarer_onboarding_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290554,37 +301335,91 @@ extension SyncContactListRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.contact) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.submissionsLeft) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isFeatureEnabled) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.timeWindowForSubmissionsLimitMs) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiDistanceInMeters) }() + case 6: try { try decoder.decodeRepeatedStringField(value: &self.blacklistedOs) }() + case 7: try { try decoder.decodeRepeatedStringField(value: &self.blacklistedDeviceID) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.isWhitelistedUser) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.isUploadLaterEnabled) }() + case 10: try { try decoder.decodeSingularFloatField(value: &self.dailyNewSubmissions) }() + case 11: try { try decoder.decodeSingularInt32Field(value: &self.maxSubmissions) }() + case 12: try { try decoder.decodeSingularBoolField(value: &self.isWayfarerOnboardingEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.contact.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contact, fieldNumber: 1) + if self.submissionsLeft != 0 { + try visitor.visitSingularInt32Field(value: self.submissionsLeft, fieldNumber: 1) } - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 2) + if self.minPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 2) + } + if self.isFeatureEnabled != false { + try visitor.visitSingularBoolField(value: self.isFeatureEnabled, fieldNumber: 3) + } + if self.timeWindowForSubmissionsLimitMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeWindowForSubmissionsLimitMs, fieldNumber: 4) + } + if self.maxPoiDistanceInMeters != 0 { + try visitor.visitSingularInt32Field(value: self.maxPoiDistanceInMeters, fieldNumber: 5) + } + if !self.blacklistedOs.isEmpty { + try visitor.visitRepeatedStringField(value: self.blacklistedOs, fieldNumber: 6) + } + if !self.blacklistedDeviceID.isEmpty { + try visitor.visitRepeatedStringField(value: self.blacklistedDeviceID, fieldNumber: 7) + } + if self.isWhitelistedUser != false { + try visitor.visitSingularBoolField(value: self.isWhitelistedUser, fieldNumber: 8) + } + if self.isUploadLaterEnabled != false { + try visitor.visitSingularBoolField(value: self.isUploadLaterEnabled, fieldNumber: 9) + } + if self.dailyNewSubmissions != 0 { + try visitor.visitSingularFloatField(value: self.dailyNewSubmissions, fieldNumber: 10) + } + if self.maxSubmissions != 0 { + try visitor.visitSingularInt32Field(value: self.maxSubmissions, fieldNumber: 11) + } + if self.isWayfarerOnboardingEnabled != false { + try visitor.visitSingularBoolField(value: self.isWayfarerOnboardingEnabled, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SyncContactListRequest, rhs: SyncContactListRequest) -> Bool { - if lhs.contact != rhs.contact {return false} - if lhs.countryCode != rhs.countryCode {return false} + public static func ==(lhs: TitanAvailableSubmissionsPerSubmissionType, rhs: TitanAvailableSubmissionsPerSubmissionType) -> Bool { + if lhs.submissionsLeft != rhs.submissionsLeft {return false} + if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + if lhs.isFeatureEnabled != rhs.isFeatureEnabled {return false} + if lhs.timeWindowForSubmissionsLimitMs != rhs.timeWindowForSubmissionsLimitMs {return false} + if lhs.maxPoiDistanceInMeters != rhs.maxPoiDistanceInMeters {return false} + if lhs.blacklistedOs != rhs.blacklistedOs {return false} + if lhs.blacklistedDeviceID != rhs.blacklistedDeviceID {return false} + if lhs.isWhitelistedUser != rhs.isWhitelistedUser {return false} + if lhs.isUploadLaterEnabled != rhs.isUploadLaterEnabled {return false} + if lhs.dailyNewSubmissions != rhs.dailyNewSubmissions {return false} + if lhs.maxSubmissions != rhs.maxSubmissions {return false} + if lhs.isWayfarerOnboardingEnabled != rhs.isWayfarerOnboardingEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SyncContactListRequest.ContactProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = SyncContactListRequest.protoMessageName + ".ContactProto" +extension TitanGameClientPhotoGalleryPoiImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGameClientPhotoGalleryPoiImageProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contact_id"), - 2: .same(proto: "email"), - 3: .standard(proto: "phone_number"), + 1: .standard(proto: "image_id"), + 2: .standard(proto: "poi_id"), + 3: .standard(proto: "submitter_codename"), + 4: .standard(proto: "image_url"), + 5: .standard(proto: "creation_timestamp_ms"), + 6: .standard(proto: "has_player_voted"), + 7: .standard(proto: "num_votes_from_game"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290593,41 +301428,61 @@ extension SyncContactListRequest.ContactProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.contactID) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.email) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.phoneNumber) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.imageID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.submitterCodename) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.creationTimestampMs) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.hasPlayerVoted_p) }() + case 7: try { try decoder.decodeSingularInt32Field(value: &self.numVotesFromGame) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.contactID.isEmpty { - try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 1) + if !self.imageID.isEmpty { + try visitor.visitSingularStringField(value: self.imageID, fieldNumber: 1) } - if !self.email.isEmpty { - try visitor.visitRepeatedStringField(value: self.email, fieldNumber: 2) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 2) } - if !self.phoneNumber.isEmpty { - try visitor.visitRepeatedStringField(value: self.phoneNumber, fieldNumber: 3) + if !self.submitterCodename.isEmpty { + try visitor.visitSingularStringField(value: self.submitterCodename, fieldNumber: 3) + } + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 4) + } + if self.creationTimestampMs != 0 { + try visitor.visitSingularInt64Field(value: self.creationTimestampMs, fieldNumber: 5) + } + if self.hasPlayerVoted_p != false { + try visitor.visitSingularBoolField(value: self.hasPlayerVoted_p, fieldNumber: 6) + } + if self.numVotesFromGame != 0 { + try visitor.visitSingularInt32Field(value: self.numVotesFromGame, fieldNumber: 7) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SyncContactListRequest.ContactProto, rhs: SyncContactListRequest.ContactProto) -> Bool { - if lhs.contactID != rhs.contactID {return false} - if lhs.email != rhs.email {return false} - if lhs.phoneNumber != rhs.phoneNumber {return false} + public static func ==(lhs: TitanGameClientPhotoGalleryPoiImageProto, rhs: TitanGameClientPhotoGalleryPoiImageProto) -> Bool { + if lhs.imageID != rhs.imageID {return false} + if lhs.poiID != rhs.poiID {return false} + if lhs.submitterCodename != rhs.submitterCodename {return false} + if lhs.imageURL != rhs.imageURL {return false} + if lhs.creationTimestampMs != rhs.creationTimestampMs {return false} + if lhs.hasPlayerVoted_p != rhs.hasPlayerVoted_p {return false} + if lhs.numVotesFromGame != rhs.numVotesFromGame {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SyncContactListResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".SyncContactListResponse" +extension TitanGenerateGmapSignedUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGenerateGmapSignedUrlOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), - 2: .standard(proto: "contact_player"), + 2: .standard(proto: "signed_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290637,7 +301492,7 @@ extension SyncContactListResponse: SwiftProtobuf.Message, SwiftProtobuf._Message // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.contactPlayer) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.signedURL) }() default: break } } @@ -290647,36 +301502,47 @@ extension SyncContactListResponse: SwiftProtobuf.Message, SwiftProtobuf._Message if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) } - if !self.contactPlayer.isEmpty { - try visitor.visitRepeatedMessageField(value: self.contactPlayer, fieldNumber: 2) + if !self.signedURL.isEmpty { + try visitor.visitSingularStringField(value: self.signedURL, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SyncContactListResponse, rhs: SyncContactListResponse) -> Bool { + public static func ==(lhs: TitanGenerateGmapSignedUrlOutProto, rhs: TitanGenerateGmapSignedUrlOutProto) -> Bool { if lhs.result != rhs.result {return false} - if lhs.contactPlayer != rhs.contactPlayer {return false} + if lhs.signedURL != rhs.signedURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SyncContactListResponse.Result: SwiftProtobuf._ProtoNameProviding { +extension TitanGenerateGmapSignedUrlOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - 4: .same(proto: "ERROR_EXCEEDS_MAX_CONTACTS_PER_QUERY"), + 2: .same(proto: "ERROR_PLAYER_NOT_VALID"), + 3: .same(proto: "ERROR_RATE_LIMITED"), + 4: .same(proto: "ERROR_MISSING_INPUT"), + 5: .same(proto: "ERROR_UNKNOWN"), ] } -extension SyncContactListResponse.ContactPlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = SyncContactListResponse.protoMessageName + ".ContactPlayerProto" +extension TitanGenerateGmapSignedUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGenerateGmapSignedUrlProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "contact_id"), - 2: .same(proto: "player"), - 3: .same(proto: "status"), + 1: .same(proto: "latitude"), + 2: .same(proto: "longitude"), + 3: .same(proto: "width"), + 4: .same(proto: "height"), + 5: .same(proto: "zoom"), + 6: .standard(proto: "language_code"), + 7: .standard(proto: "country_code"), + 8: .standard(proto: "map_style"), + 9: .standard(proto: "map_type"), + 10: .standard(proto: "icon_params"), + 11: .standard(proto: "is_multi_marker_map"), + 12: .standard(proto: "original_location"), + 13: .standard(proto: "proposed_location"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290685,51 +301551,99 @@ extension SyncContactListResponse.ContactPlayerProto: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.contactID) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.player) }() - case 3: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 1: try { try decoder.decodeSingularDoubleField(value: &self.latitude) }() + case 2: try { try decoder.decodeSingularDoubleField(value: &self.longitude) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.width) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.height) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.zoom) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() + case 7: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.mapStyle) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.mapType) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.iconParams) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.isMultiMarkerMap) }() + case 12: try { try decoder.decodeSingularMessageField(value: &self._originalLocation) }() + case 13: try { try decoder.decodeSingularMessageField(value: &self._proposedLocation) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.contactID.isEmpty { - try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.latitude != 0 { + try visitor.visitSingularDoubleField(value: self.latitude, fieldNumber: 1) } - if !self.player.isEmpty { - try visitor.visitRepeatedMessageField(value: self.player, fieldNumber: 2) + if self.longitude != 0 { + try visitor.visitSingularDoubleField(value: self.longitude, fieldNumber: 2) } - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 3) + if self.width != 0 { + try visitor.visitSingularInt32Field(value: self.width, fieldNumber: 3) + } + if self.height != 0 { + try visitor.visitSingularInt32Field(value: self.height, fieldNumber: 4) + } + if self.zoom != 0 { + try visitor.visitSingularInt32Field(value: self.zoom, fieldNumber: 5) + } + if !self.languageCode.isEmpty { + try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 6) + } + if !self.countryCode.isEmpty { + try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 7) + } + if !self.mapStyle.isEmpty { + try visitor.visitSingularStringField(value: self.mapStyle, fieldNumber: 8) + } + if !self.mapType.isEmpty { + try visitor.visitSingularStringField(value: self.mapType, fieldNumber: 9) + } + if !self.iconParams.isEmpty { + try visitor.visitSingularStringField(value: self.iconParams, fieldNumber: 10) + } + if self.isMultiMarkerMap != false { + try visitor.visitSingularBoolField(value: self.isMultiMarkerMap, fieldNumber: 11) } + try { if let v = self._originalLocation { + try visitor.visitSingularMessageField(value: v, fieldNumber: 12) + } }() + try { if let v = self._proposedLocation { + try visitor.visitSingularMessageField(value: v, fieldNumber: 13) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SyncContactListResponse.ContactPlayerProto, rhs: SyncContactListResponse.ContactPlayerProto) -> Bool { - if lhs.contactID != rhs.contactID {return false} - if lhs.player != rhs.player {return false} - if lhs.status != rhs.status {return false} + public static func ==(lhs: TitanGenerateGmapSignedUrlProto, rhs: TitanGenerateGmapSignedUrlProto) -> Bool { + if lhs.latitude != rhs.latitude {return false} + if lhs.longitude != rhs.longitude {return false} + if lhs.width != rhs.width {return false} + if lhs.height != rhs.height {return false} + if lhs.zoom != rhs.zoom {return false} + if lhs.languageCode != rhs.languageCode {return false} + if lhs.countryCode != rhs.countryCode {return false} + if lhs.mapStyle != rhs.mapStyle {return false} + if lhs.mapType != rhs.mapType {return false} + if lhs.iconParams != rhs.iconParams {return false} + if lhs.isMultiMarkerMap != rhs.isMultiMarkerMap {return false} + if lhs._originalLocation != rhs._originalLocation {return false} + if lhs._proposedLocation != rhs._proposedLocation {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension SyncContactListResponse.ContactPlayerProto.ContactStatus: SwiftProtobuf._ProtoNameProviding { +extension TitanGeodataServiceGameClientPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGeodataServiceGameClientPoiProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "INVITED"), - 2: .same(proto: "REMOVED"), - ] -} - -extension SyncContactListResponse.ContactPlayerProto.PlayerProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = SyncContactListResponse.ContactPlayerProto.protoMessageName + ".PlayerProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "is_calling_game_player"), - 2: .standard(proto: "is_newly_signed_up_player"), - 3: .standard(proto: "is_self"), - 4: .standard(proto: "is_friend"), + 1: .standard(proto: "poi_id"), + 2: .same(proto: "title"), + 3: .same(proto: "description"), + 4: .same(proto: "location"), + 5: .standard(proto: "image_url"), + 6: .standard(proto: "is_in_game"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290738,45 +301652,61 @@ extension SyncContactListResponse.ContactPlayerProto.PlayerProto: SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.isCallingGamePlayer) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isNewlySignedUpPlayer) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.isSelf) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.isFriend) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._location) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.imageURL) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.isInGame) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.isCallingGamePlayer != false { - try visitor.visitSingularBoolField(value: self.isCallingGamePlayer, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) } - if self.isNewlySignedUpPlayer != false { - try visitor.visitSingularBoolField(value: self.isNewlySignedUpPlayer, fieldNumber: 2) + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 2) } - if self.isSelf != false { - try visitor.visitSingularBoolField(value: self.isSelf, fieldNumber: 3) + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) } - if self.isFriend != false { - try visitor.visitSingularBoolField(value: self.isFriend, fieldNumber: 4) + try { if let v = self._location { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if !self.imageURL.isEmpty { + try visitor.visitSingularStringField(value: self.imageURL, fieldNumber: 5) + } + if self.isInGame != false { + try visitor.visitSingularBoolField(value: self.isInGame, fieldNumber: 6) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: SyncContactListResponse.ContactPlayerProto.PlayerProto, rhs: SyncContactListResponse.ContactPlayerProto.PlayerProto) -> Bool { - if lhs.isCallingGamePlayer != rhs.isCallingGamePlayer {return false} - if lhs.isNewlySignedUpPlayer != rhs.isNewlySignedUpPlayer {return false} - if lhs.isSelf != rhs.isSelf {return false} - if lhs.isFriend != rhs.isFriend {return false} + public static func ==(lhs: TitanGeodataServiceGameClientPoiProto, rhs: TitanGeodataServiceGameClientPoiProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.title != rhs.title {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs._location != rhs._location {return false} + if lhs.imageURL != rhs.imageURL {return false} + if lhs.isInGame != rhs.isInGame {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TakeSnapshotQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TakeSnapshotQuestProto" +extension TitanGetARMappingSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetARMappingSettingsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "unique_pokemon_id"), + 1: .standard(proto: "is_client_scan_validation_enabled"), + 2: .standard(proto: "client_scan_validation_blocked_os"), + 3: .standard(proto: "client_scan_validation_blocked_device_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290785,87 +301715,72 @@ extension TakeSnapshotQuestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedEnumField(value: &self.uniquePokemonID) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isClientScanValidationEnabled) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.clientScanValidationBlockedOs) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.clientScanValidationBlockedDeviceID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.uniquePokemonID.isEmpty { - try visitor.visitPackedEnumField(value: self.uniquePokemonID, fieldNumber: 1) + if self.isClientScanValidationEnabled != false { + try visitor.visitSingularBoolField(value: self.isClientScanValidationEnabled, fieldNumber: 1) + } + if !self.clientScanValidationBlockedOs.isEmpty { + try visitor.visitRepeatedStringField(value: self.clientScanValidationBlockedOs, fieldNumber: 2) + } + if !self.clientScanValidationBlockedDeviceID.isEmpty { + try visitor.visitRepeatedStringField(value: self.clientScanValidationBlockedDeviceID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TakeSnapshotQuestProto, rhs: TakeSnapshotQuestProto) -> Bool { - if lhs.uniquePokemonID != rhs.uniquePokemonID {return false} + public static func ==(lhs: TitanGetARMappingSettingsOutProto, rhs: TitanGetARMappingSettingsOutProto) -> Bool { + if lhs.isClientScanValidationEnabled != rhs.isClientScanValidationEnabled {return false} + if lhs.clientScanValidationBlockedOs != rhs.clientScanValidationBlockedOs {return false} + if lhs.clientScanValidationBlockedDeviceID != rhs.clientScanValidationBlockedDeviceID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Tappable: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Tappable" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .same(proto: "id"), - 3: .same(proto: "count"), - ] +extension TitanGetARMappingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetARMappingSettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.type) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.id) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.count) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.type != .unset { - try visitor.visitSingularEnumField(value: self.type, fieldNumber: 1) - } - if self.id != 0 { - try visitor.visitSingularInt32Field(value: self.id, fieldNumber: 2) - } - if self.count != 0 { - try visitor.visitSingularInt32Field(value: self.count, fieldNumber: 3) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Tappable, rhs: Tappable) -> Bool { - if lhs.type != rhs.type {return false} - if lhs.id != rhs.id {return false} - if lhs.count != rhs.count {return false} + public static func ==(lhs: TitanGetARMappingSettingsProto, rhs: TitanGetARMappingSettingsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Tappable.TappableType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TAPPABLE_TYPE_UNSET"), - 1: .same(proto: "TAPPABLE_TYPE_BREAKFAST"), - ] -} - -extension TappableSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TappableSettingsProto" +extension TitanGetAvailableSubmissionsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetAvailableSubmissionsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "visible_radius_meters"), - 2: .standard(proto: "spawn_angle_degrees"), - 3: .standard(proto: "movement_respawn_threshold_meters"), - 4: .standard(proto: "buddy_fov_degrees"), - 5: .standard(proto: "buddy_collect_probability"), - 6: .standard(proto: "disable_player_collection"), - 7: .standard(proto: "avg_tappables_in_view"), + 1: .standard(proto: "submissions_left"), + 2: .standard(proto: "min_player_level"), + 3: .standard(proto: "has_valid_email"), + 4: .standard(proto: "is_feature_enabled"), + 5: .standard(proto: "time_window_for_submissions_limit_ms"), + 6: .standard(proto: "max_poi_distance_in_meters"), + 7: .standard(proto: "availability_result_per_type"), + 8: .standard(proto: "max_poi_location_edit_move_distance_meters"), + 9: .standard(proto: "is_upload_later_enabled"), + 10: .standard(proto: "category_cloud_storage_directory_path"), + 11: .standard(proto: "urban_typology_cloud_storage_path"), + 12: .standard(proto: "has_wayfarer_account"), + 13: .standard(proto: "passed_wayfarer_quiz"), + 14: .standard(proto: "is_poi_submission_category_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290874,61 +301789,95 @@ extension TappableSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.visibleRadiusMeters) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.spawnAngleDegrees) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.movementRespawnThresholdMeters) }() - case 4: try { try decoder.decodeSingularFloatField(value: &self.buddyFovDegrees) }() - case 5: try { try decoder.decodeSingularFloatField(value: &self.buddyCollectProbability) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.disablePlayerCollection) }() - case 7: try { try decoder.decodeSingularFloatField(value: &self.avgTappablesInView) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.submissionsLeft) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.hasValidEmail_p) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isFeatureEnabled) }() + case 5: try { try decoder.decodeSingularInt64Field(value: &self.timeWindowForSubmissionsLimitMs) }() + case 6: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiDistanceInMeters) }() + case 7: try { try decoder.decodeRepeatedMessageField(value: &self.availabilityResultPerType) }() + case 8: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiLocationEditMoveDistanceMeters) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.isUploadLaterEnabled) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.categoryCloudStorageDirectoryPath) }() + case 11: try { try decoder.decodeSingularStringField(value: &self.urbanTypologyCloudStoragePath) }() + case 12: try { try decoder.decodeSingularBoolField(value: &self.hasWayfarerAccount_p) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.passedWayfarerQuiz) }() + case 14: try { try decoder.decodeSingularBoolField(value: &self.isPoiSubmissionCategoryEnabled) }() default: break } } - } - - public func traverse(visitor: inout V) throws { - if self.visibleRadiusMeters != 0 { - try visitor.visitSingularFloatField(value: self.visibleRadiusMeters, fieldNumber: 1) + } + + public func traverse(visitor: inout V) throws { + if self.submissionsLeft != 0 { + try visitor.visitSingularInt32Field(value: self.submissionsLeft, fieldNumber: 1) + } + if self.minPlayerLevel != 0 { + try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 2) + } + if self.hasValidEmail_p != false { + try visitor.visitSingularBoolField(value: self.hasValidEmail_p, fieldNumber: 3) + } + if self.isFeatureEnabled != false { + try visitor.visitSingularBoolField(value: self.isFeatureEnabled, fieldNumber: 4) + } + if self.timeWindowForSubmissionsLimitMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeWindowForSubmissionsLimitMs, fieldNumber: 5) + } + if self.maxPoiDistanceInMeters != 0 { + try visitor.visitSingularInt32Field(value: self.maxPoiDistanceInMeters, fieldNumber: 6) + } + if !self.availabilityResultPerType.isEmpty { + try visitor.visitRepeatedMessageField(value: self.availabilityResultPerType, fieldNumber: 7) } - if self.spawnAngleDegrees != 0 { - try visitor.visitSingularFloatField(value: self.spawnAngleDegrees, fieldNumber: 2) + if self.maxPoiLocationEditMoveDistanceMeters != 0 { + try visitor.visitSingularInt32Field(value: self.maxPoiLocationEditMoveDistanceMeters, fieldNumber: 8) } - if self.movementRespawnThresholdMeters != 0 { - try visitor.visitSingularFloatField(value: self.movementRespawnThresholdMeters, fieldNumber: 3) + if self.isUploadLaterEnabled != false { + try visitor.visitSingularBoolField(value: self.isUploadLaterEnabled, fieldNumber: 9) } - if self.buddyFovDegrees != 0 { - try visitor.visitSingularFloatField(value: self.buddyFovDegrees, fieldNumber: 4) + if !self.categoryCloudStorageDirectoryPath.isEmpty { + try visitor.visitSingularStringField(value: self.categoryCloudStorageDirectoryPath, fieldNumber: 10) } - if self.buddyCollectProbability != 0 { - try visitor.visitSingularFloatField(value: self.buddyCollectProbability, fieldNumber: 5) + if !self.urbanTypologyCloudStoragePath.isEmpty { + try visitor.visitSingularStringField(value: self.urbanTypologyCloudStoragePath, fieldNumber: 11) } - if self.disablePlayerCollection != false { - try visitor.visitSingularBoolField(value: self.disablePlayerCollection, fieldNumber: 6) + if self.hasWayfarerAccount_p != false { + try visitor.visitSingularBoolField(value: self.hasWayfarerAccount_p, fieldNumber: 12) } - if self.avgTappablesInView != 0 { - try visitor.visitSingularFloatField(value: self.avgTappablesInView, fieldNumber: 7) + if self.passedWayfarerQuiz != false { + try visitor.visitSingularBoolField(value: self.passedWayfarerQuiz, fieldNumber: 13) + } + if self.isPoiSubmissionCategoryEnabled != false { + try visitor.visitSingularBoolField(value: self.isPoiSubmissionCategoryEnabled, fieldNumber: 14) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TappableSettingsProto, rhs: TappableSettingsProto) -> Bool { - if lhs.visibleRadiusMeters != rhs.visibleRadiusMeters {return false} - if lhs.spawnAngleDegrees != rhs.spawnAngleDegrees {return false} - if lhs.movementRespawnThresholdMeters != rhs.movementRespawnThresholdMeters {return false} - if lhs.buddyFovDegrees != rhs.buddyFovDegrees {return false} - if lhs.buddyCollectProbability != rhs.buddyCollectProbability {return false} - if lhs.disablePlayerCollection != rhs.disablePlayerCollection {return false} - if lhs.avgTappablesInView != rhs.avgTappablesInView {return false} + public static func ==(lhs: TitanGetAvailableSubmissionsOutProto, rhs: TitanGetAvailableSubmissionsOutProto) -> Bool { + if lhs.submissionsLeft != rhs.submissionsLeft {return false} + if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} + if lhs.hasValidEmail_p != rhs.hasValidEmail_p {return false} + if lhs.isFeatureEnabled != rhs.isFeatureEnabled {return false} + if lhs.timeWindowForSubmissionsLimitMs != rhs.timeWindowForSubmissionsLimitMs {return false} + if lhs.maxPoiDistanceInMeters != rhs.maxPoiDistanceInMeters {return false} + if lhs.availabilityResultPerType != rhs.availabilityResultPerType {return false} + if lhs.maxPoiLocationEditMoveDistanceMeters != rhs.maxPoiLocationEditMoveDistanceMeters {return false} + if lhs.isUploadLaterEnabled != rhs.isUploadLaterEnabled {return false} + if lhs.categoryCloudStorageDirectoryPath != rhs.categoryCloudStorageDirectoryPath {return false} + if lhs.urbanTypologyCloudStoragePath != rhs.urbanTypologyCloudStoragePath {return false} + if lhs.hasWayfarerAccount_p != rhs.hasWayfarerAccount_p {return false} + if lhs.passedWayfarerQuiz != rhs.passedWayfarerQuiz {return false} + if lhs.isPoiSubmissionCategoryEnabled != rhs.isPoiSubmissionCategoryEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TeamChangeInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TeamChangeInfoProto" +extension TitanGetAvailableSubmissionsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetAvailableSubmissionsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "last_acquired_time"), - 2: .standard(proto: "num_items_acquired"), + 1: .standard(proto: "submission_types"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290937,37 +301886,34 @@ extension TeamChangeInfoProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.lastAcquiredTime) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.numItemsAcquired) }() + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.submissionTypes) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.lastAcquiredTime != 0 { - try visitor.visitSingularInt64Field(value: self.lastAcquiredTime, fieldNumber: 1) - } - if self.numItemsAcquired != 0 { - try visitor.visitSingularInt32Field(value: self.numItemsAcquired, fieldNumber: 2) + if !self.submissionTypes.isEmpty { + try visitor.visitPackedEnumField(value: self.submissionTypes, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TeamChangeInfoProto, rhs: TeamChangeInfoProto) -> Bool { - if lhs.lastAcquiredTime != rhs.lastAcquiredTime {return false} - if lhs.numItemsAcquired != rhs.numItemsAcquired {return false} + public static func ==(lhs: TitanGetAvailableSubmissionsProto, rhs: TitanGetAvailableSubmissionsProto) -> Bool { + if lhs.submissionTypes != rhs.submissionTypes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryAttribute: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryAttribute" +extension TitanGetGmapSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetGmapSettingsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "field"), - 2: .same(proto: "value"), - 3: .same(proto: "timestamp"), + 1: .same(proto: "result"), + 2: .standard(proto: "gmap_template_url"), + 3: .standard(proto: "max_poi_distance_in_meters"), + 4: .standard(proto: "min_zoom"), + 5: .standard(proto: "max_zoom"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -290976,82 +301922,80 @@ extension TelemetryAttribute: SwiftProtobuf.Message, SwiftProtobuf._MessageImple // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._field) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._value) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.timestamp) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.gmapTemplateURL) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxPoiDistanceInMeters) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.minZoom) }() + case 5: try { try decoder.decodeSingularInt32Field(value: &self.maxZoom) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._field { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._value { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.timestamp != 0 { - try visitor.visitSingularInt64Field(value: self.timestamp, fieldNumber: 3) + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if !self.gmapTemplateURL.isEmpty { + try visitor.visitSingularStringField(value: self.gmapTemplateURL, fieldNumber: 2) + } + if self.maxPoiDistanceInMeters != 0 { + try visitor.visitSingularInt32Field(value: self.maxPoiDistanceInMeters, fieldNumber: 3) + } + if self.minZoom != 0 { + try visitor.visitSingularInt32Field(value: self.minZoom, fieldNumber: 4) + } + if self.maxZoom != 0 { + try visitor.visitSingularInt32Field(value: self.maxZoom, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryAttribute, rhs: TelemetryAttribute) -> Bool { - if lhs._field != rhs._field {return false} - if lhs._value != rhs._value {return false} - if lhs.timestamp != rhs.timestamp {return false} + public static func ==(lhs: TitanGetGmapSettingsOutProto, rhs: TitanGetGmapSettingsOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.gmapTemplateURL != rhs.gmapTemplateURL {return false} + if lhs.maxPoiDistanceInMeters != rhs.maxPoiDistanceInMeters {return false} + if lhs.minZoom != rhs.minZoom {return false} + if lhs.maxZoom != rhs.maxZoom {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryAttribute.Label: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = TelemetryAttribute.protoMessageName + ".Label" +extension TitanGetGmapSettingsOutProto.Result: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "field"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_MISSING_CONFIG"), + 4: .same(proto: "ERROR_NO_UNIQUE_ID"), ] +} + +extension TitanGetGmapSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetGmapSettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._field) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._field { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryAttribute.Label, rhs: TelemetryAttribute.Label) -> Bool { - if lhs._field != rhs._field {return false} + public static func ==(lhs: TitanGetGmapSettingsProto, rhs: TitanGetGmapSettingsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryAttributeRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryAttributeRecordProto" +extension TitanGetGrapeshotUploadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetGrapeshotUploadUrlOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "common"), - 2: .standard(proto: "compressed_common"), - 3: .same(proto: "attribute"), + 1: .same(proto: "status"), + 2: .standard(proto: "file_context_to_grapeshot_data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -291060,68 +302004,50 @@ extension TelemetryAttributeRecordProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: TelemetryMetadataProto? - var hadOneofValue = false - if let current = self.metadata { - hadOneofValue = true - if case .common(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.metadata = .common(v) - } - }() - case 2: try { - var v: Data? - try decoder.decodeSingularBytesField(value: &v) - if let v = v { - if self.metadata != nil {try decoder.handleConflictingOneOf()} - self.metadata = .compressedCommon(v) - } - }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._attribute) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: &self.fileContextToGrapeshotData) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.metadata { - case .common?: try { - guard case .common(let v)? = self.metadata else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .compressedCommon?: try { - guard case .compressedCommon(let v)? = self.metadata else { preconditionFailure() } - try visitor.visitSingularBytesField(value: v, fieldNumber: 2) - }() - case nil: break + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.fileContextToGrapeshotData.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMessageMap.self, value: self.fileContextToGrapeshotData, fieldNumber: 2) } - try { if let v = self._attribute { - try visitor.visitSingularMessageField(value: v, fieldNumber: 3) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryAttributeRecordProto, rhs: TelemetryAttributeRecordProto) -> Bool { - if lhs.metadata != rhs.metadata {return false} - if lhs._attribute != rhs._attribute {return false} + public static func ==(lhs: TitanGetGrapeshotUploadUrlOutProto, rhs: TitanGetGrapeshotUploadUrlOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.fileContextToGrapeshotData != rhs.fileContextToGrapeshotData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryBatchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryBatchProto" +extension TitanGetGrapeshotUploadUrlOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "environment_id"), - 2: .same(proto: "events"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "FAILURE"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "MISSING_FILE_CONTEXTS"), + 4: .same(proto: "DUPLICATE_FILE_CONTEXT"), + 5: .same(proto: "MISSING_SUBMISSION_TYPE"), + 6: .same(proto: "MISSING_SUBMISSION_ID"), + 7: .same(proto: "ALREADY_UPLOADED"), + ] +} + +extension TitanGetGrapeshotUploadUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetGrapeshotUploadUrlProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "submission_id"), + 2: .standard(proto: "file_upload_context"), + 3: .standard(proto: "developer_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -291130,38 +302056,41 @@ extension TelemetryBatchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.environmentID) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.events) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.fileUploadContext) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.environmentID.isEmpty { - try visitor.visitSingularStringField(value: self.environmentID, fieldNumber: 1) + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 1) } - if !self.events.isEmpty { - try visitor.visitRepeatedMessageField(value: self.events, fieldNumber: 2) + if !self.fileUploadContext.isEmpty { + try visitor.visitRepeatedStringField(value: self.fileUploadContext, fieldNumber: 2) + } + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryBatchProto, rhs: TelemetryBatchProto) -> Bool { - if lhs.environmentID != rhs.environmentID {return false} - if lhs.events != rhs.events {return false} + public static func ==(lhs: TitanGetGrapeshotUploadUrlProto, rhs: TitanGetGrapeshotUploadUrlProto) -> Bool { + if lhs.submissionID != rhs.submissionID {return false} + if lhs.fileUploadContext != rhs.fileUploadContext {return false} + if lhs.developerID != rhs.developerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryCommon: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryCommon" +extension TitanGetImageGallerySettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetImageGallerySettingsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "timestamp"), - 2: .standard(proto: "correlation_vector"), - 3: .standard(proto: "event_id"), - 4: .standard(proto: "client_timestamp_ms"), + 1: .standard(proto: "is_image_gallery_enabled"), + 2: .standard(proto: "max_periodic_image_loaded_count"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -291170,172 +302099,55 @@ extension TelemetryCommon: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.timestamp) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.correlationVector) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.eventID) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.clientTimestampMs) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isImageGalleryEnabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxPeriodicImageLoadedCount) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.timestamp != 0 { - try visitor.visitSingularInt64Field(value: self.timestamp, fieldNumber: 1) - } - if !self.correlationVector.isEmpty { - try visitor.visitSingularStringField(value: self.correlationVector, fieldNumber: 2) - } - if !self.eventID.isEmpty { - try visitor.visitSingularStringField(value: self.eventID, fieldNumber: 3) + if self.isImageGalleryEnabled != false { + try visitor.visitSingularBoolField(value: self.isImageGalleryEnabled, fieldNumber: 1) } - if self.clientTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.clientTimestampMs, fieldNumber: 4) + if self.maxPeriodicImageLoadedCount != 0 { + try visitor.visitSingularInt32Field(value: self.maxPeriodicImageLoadedCount, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryCommon, rhs: TelemetryCommon) -> Bool { - if lhs.timestamp != rhs.timestamp {return false} - if lhs.correlationVector != rhs.correlationVector {return false} - if lhs.eventID != rhs.eventID {return false} - if lhs.clientTimestampMs != rhs.clientTimestampMs {return false} + public static func ==(lhs: TitanGetImageGallerySettingsOutProto, rhs: TitanGetImageGallerySettingsOutProto) -> Bool { + if lhs.isImageGalleryEnabled != rhs.isImageGalleryEnabled {return false} + if lhs.maxPeriodicImageLoadedCount != rhs.maxPeriodicImageLoadedCount {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryCommonFilterProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryCommonFilterProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "application_identifier"), - 2: .standard(proto: "operating_system_name"), - 3: .standard(proto: "device_model"), - 4: .standard(proto: "locale_country_code"), - 5: .standard(proto: "locale_language_code"), - 6: .standard(proto: "sampling_probability"), - 7: .standard(proto: "quality_level"), - 8: .standard(proto: "network_connectivity_type"), - 9: .standard(proto: "game_context"), - 10: .standard(proto: "language_code"), - 11: .same(proto: "timezone"), - 12: .standard(proto: "ip_country_code"), - 13: .standard(proto: "graphics_device_vendor"), - 14: .standard(proto: "graphics_device_name"), - 15: .standard(proto: "graphics_device_type"), - 16: .standard(proto: "graphics_shader_level"), - ] +extension TitanGetImageGallerySettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetImageGallerySettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.applicationIdentifier) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.operatingSystemName) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.localeCountryCode) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.localeLanguageCode) }() - case 6: try { try decoder.decodeSingularDoubleField(value: &self.samplingProbability) }() - case 7: try { try decoder.decodeSingularStringField(value: &self.qualityLevel) }() - case 8: try { try decoder.decodeSingularStringField(value: &self.networkConnectivityType) }() - case 9: try { try decoder.decodeSingularStringField(value: &self.gameContext) }() - case 10: try { try decoder.decodeSingularStringField(value: &self.languageCode) }() - case 11: try { try decoder.decodeSingularStringField(value: &self.timezone) }() - case 12: try { try decoder.decodeSingularStringField(value: &self.ipCountryCode) }() - case 13: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceVendor) }() - case 14: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceName) }() - case 15: try { try decoder.decodeSingularStringField(value: &self.graphicsDeviceType) }() - case 16: try { try decoder.decodeSingularStringField(value: &self.graphicsShaderLevel) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if !self.applicationIdentifier.isEmpty { - try visitor.visitSingularStringField(value: self.applicationIdentifier, fieldNumber: 1) - } - if !self.operatingSystemName.isEmpty { - try visitor.visitSingularStringField(value: self.operatingSystemName, fieldNumber: 2) - } - if !self.deviceModel.isEmpty { - try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 3) - } - if !self.localeCountryCode.isEmpty { - try visitor.visitSingularStringField(value: self.localeCountryCode, fieldNumber: 4) - } - if !self.localeLanguageCode.isEmpty { - try visitor.visitSingularStringField(value: self.localeLanguageCode, fieldNumber: 5) - } - if self.samplingProbability != 0 { - try visitor.visitSingularDoubleField(value: self.samplingProbability, fieldNumber: 6) - } - if !self.qualityLevel.isEmpty { - try visitor.visitSingularStringField(value: self.qualityLevel, fieldNumber: 7) - } - if !self.networkConnectivityType.isEmpty { - try visitor.visitSingularStringField(value: self.networkConnectivityType, fieldNumber: 8) - } - if !self.gameContext.isEmpty { - try visitor.visitSingularStringField(value: self.gameContext, fieldNumber: 9) - } - if !self.languageCode.isEmpty { - try visitor.visitSingularStringField(value: self.languageCode, fieldNumber: 10) - } - if !self.timezone.isEmpty { - try visitor.visitSingularStringField(value: self.timezone, fieldNumber: 11) - } - if !self.ipCountryCode.isEmpty { - try visitor.visitSingularStringField(value: self.ipCountryCode, fieldNumber: 12) - } - if !self.graphicsDeviceVendor.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceVendor, fieldNumber: 13) - } - if !self.graphicsDeviceName.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceName, fieldNumber: 14) - } - if !self.graphicsDeviceType.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsDeviceType, fieldNumber: 15) - } - if !self.graphicsShaderLevel.isEmpty { - try visitor.visitSingularStringField(value: self.graphicsShaderLevel, fieldNumber: 16) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryCommonFilterProto, rhs: TelemetryCommonFilterProto) -> Bool { - if lhs.applicationIdentifier != rhs.applicationIdentifier {return false} - if lhs.operatingSystemName != rhs.operatingSystemName {return false} - if lhs.deviceModel != rhs.deviceModel {return false} - if lhs.localeCountryCode != rhs.localeCountryCode {return false} - if lhs.localeLanguageCode != rhs.localeLanguageCode {return false} - if lhs.samplingProbability != rhs.samplingProbability {return false} - if lhs.qualityLevel != rhs.qualityLevel {return false} - if lhs.networkConnectivityType != rhs.networkConnectivityType {return false} - if lhs.gameContext != rhs.gameContext {return false} - if lhs.languageCode != rhs.languageCode {return false} - if lhs.timezone != rhs.timezone {return false} - if lhs.ipCountryCode != rhs.ipCountryCode {return false} - if lhs.graphicsDeviceVendor != rhs.graphicsDeviceVendor {return false} - if lhs.graphicsDeviceName != rhs.graphicsDeviceName {return false} - if lhs.graphicsDeviceType != rhs.graphicsDeviceType {return false} - if lhs.graphicsShaderLevel != rhs.graphicsShaderLevel {return false} + public static func ==(lhs: TitanGetImageGallerySettingsProto, rhs: TitanGetImageGallerySettingsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryEventRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryEventRecordProto" +extension TitanGetImagesForPoiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetImagesForPoiOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 4: .standard(proto: "encoded_message"), - 5: .standard(proto: "compressed_message"), - 1: .same(proto: "common"), - 2: .standard(proto: "compressed_common"), - 3: .standard(proto: "event_name"), - 6: .standard(proto: "facet_detail_name"), + 1: .same(proto: "status"), + 2: .standard(proto: "photo_gallery_poi_images"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -291344,101 +302156,44 @@ extension TelemetryEventRecordProto: SwiftProtobuf.Message, SwiftProtobuf._Messa // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: TelemetryMetadataProto? - var hadOneofValue = false - if let current = self.metadata { - hadOneofValue = true - if case .common(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.metadata = .common(v) - } - }() - case 2: try { - var v: Data? - try decoder.decodeSingularBytesField(value: &v) - if let v = v { - if self.metadata != nil {try decoder.handleConflictingOneOf()} - self.metadata = .compressedCommon(v) - } - }() - case 3: try { try decoder.decodeSingularStringField(value: &self.eventName) }() - case 4: try { - var v: Data? - try decoder.decodeSingularBytesField(value: &v) - if let v = v { - if self.message != nil {try decoder.handleConflictingOneOf()} - self.message = .encodedMessage(v) - } - }() - case 5: try { - var v: Data? - try decoder.decodeSingularBytesField(value: &v) - if let v = v { - if self.message != nil {try decoder.handleConflictingOneOf()} - self.message = .compressedMessage(v) - } - }() - case 6: try { try decoder.decodeSingularStringField(value: &self.facetDetailName) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.photoGalleryPoiImages) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - switch self.metadata { - case .common?: try { - guard case .common(let v)? = self.metadata else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .compressedCommon?: try { - guard case .compressedCommon(let v)? = self.metadata else { preconditionFailure() } - try visitor.visitSingularBytesField(value: v, fieldNumber: 2) - }() - case nil: break - } - if !self.eventName.isEmpty { - try visitor.visitSingularStringField(value: self.eventName, fieldNumber: 3) - } - switch self.message { - case .encodedMessage?: try { - guard case .encodedMessage(let v)? = self.message else { preconditionFailure() } - try visitor.visitSingularBytesField(value: v, fieldNumber: 4) - }() - case .compressedMessage?: try { - guard case .compressedMessage(let v)? = self.message else { preconditionFailure() } - try visitor.visitSingularBytesField(value: v, fieldNumber: 5) - }() - case nil: break + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.facetDetailName.isEmpty { - try visitor.visitSingularStringField(value: self.facetDetailName, fieldNumber: 6) + if !self.photoGalleryPoiImages.isEmpty { + try visitor.visitRepeatedMessageField(value: self.photoGalleryPoiImages, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryEventRecordProto, rhs: TelemetryEventRecordProto) -> Bool { - if lhs.message != rhs.message {return false} - if lhs.metadata != rhs.metadata {return false} - if lhs.eventName != rhs.eventName {return false} - if lhs.facetDetailName != rhs.facetDetailName {return false} + public static func ==(lhs: TitanGetImagesForPoiOutProto, rhs: TitanGetImagesForPoiOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.photoGalleryPoiImages != rhs.photoGalleryPoiImages {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryField" +extension TitanGetImagesForPoiOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "entity_name"), - 2: .standard(proto: "field_path"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "POI_NOT_FOUND"), + 3: .same(proto: "INVALID_REQUEST"), + ] +} + +extension TitanGetImagesForPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetImagesForPoiProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "poi_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -291447,46 +302202,30 @@ extension TelemetryField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.entityName) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.fieldPath) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.entityName.isEmpty { - try visitor.visitSingularStringField(value: self.entityName, fieldNumber: 1) - } - if !self.fieldPath.isEmpty { - try visitor.visitSingularStringField(value: self.fieldPath, fieldNumber: 2) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryField, rhs: TelemetryField) -> Bool { - if lhs.entityName != rhs.entityName {return false} - if lhs.fieldPath != rhs.fieldPath {return false} + public static func ==(lhs: TitanGetImagesForPoiProto, rhs: TitanGetImagesForPoiProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryGlobalSettingsProto" +extension TitanGetPlayerSubmissionValidationSettingsOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetPlayerSubmissionValidationSettingsOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enabled"), - 2: .standard(proto: "session_sampling_fraction"), - 3: .standard(proto: "max_buffer_size_kb"), - 4: .standard(proto: "batch_size"), - 5: .standard(proto: "update_interval_ms"), - 6: .standard(proto: "frame_rate_sample_interval_ms"), - 7: .standard(proto: "frame_rate_sample_period_ms"), - 8: .standard(proto: "enable_omni_wrapper_sending"), - 9: .standard(proto: "ob_float"), - 10: .standard(proto: "enable_frame_rate_sample"), - 11: .standard(proto: "ob_list_string"), - 12: .standard(proto: "ob_bool"), + 1: .standard(proto: "banned_metadata_text"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -291495,298 +302234,95 @@ extension TelemetryGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() - case 2: try { try decoder.decodeSingularDoubleField(value: &self.sessionSamplingFraction) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxBufferSizeKb) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.batchSize) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.updateIntervalMs) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.frameRateSampleIntervalMs) }() - case 7: try { try decoder.decodeSingularInt64Field(value: &self.frameRateSamplePeriodMs) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.enableOmniWrapperSending) }() - case 9: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.enableFrameRateSample) }() - case 11: try { try decoder.decodeRepeatedStringField(value: &self.obListString) }() - case 12: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.bannedMetadataText) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.enabled != false { - try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) - } - if self.sessionSamplingFraction != 0 { - try visitor.visitSingularDoubleField(value: self.sessionSamplingFraction, fieldNumber: 2) - } - if self.maxBufferSizeKb != 0 { - try visitor.visitSingularInt32Field(value: self.maxBufferSizeKb, fieldNumber: 3) - } - if self.batchSize != 0 { - try visitor.visitSingularInt32Field(value: self.batchSize, fieldNumber: 4) - } - if self.updateIntervalMs != 0 { - try visitor.visitSingularInt64Field(value: self.updateIntervalMs, fieldNumber: 5) - } - if self.frameRateSampleIntervalMs != 0 { - try visitor.visitSingularInt64Field(value: self.frameRateSampleIntervalMs, fieldNumber: 6) - } - if self.frameRateSamplePeriodMs != 0 { - try visitor.visitSingularInt64Field(value: self.frameRateSamplePeriodMs, fieldNumber: 7) - } - if self.enableOmniWrapperSending != false { - try visitor.visitSingularBoolField(value: self.enableOmniWrapperSending, fieldNumber: 8) - } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 9) - } - if self.enableFrameRateSample != false { - try visitor.visitSingularBoolField(value: self.enableFrameRateSample, fieldNumber: 10) - } - if !self.obListString.isEmpty { - try visitor.visitRepeatedStringField(value: self.obListString, fieldNumber: 11) - } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 12) + if !self.bannedMetadataText.isEmpty { + try visitor.visitRepeatedStringField(value: self.bannedMetadataText, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryGlobalSettingsProto, rhs: TelemetryGlobalSettingsProto) -> Bool { - if lhs.enabled != rhs.enabled {return false} - if lhs.sessionSamplingFraction != rhs.sessionSamplingFraction {return false} - if lhs.maxBufferSizeKb != rhs.maxBufferSizeKb {return false} - if lhs.batchSize != rhs.batchSize {return false} - if lhs.updateIntervalMs != rhs.updateIntervalMs {return false} - if lhs.frameRateSampleIntervalMs != rhs.frameRateSampleIntervalMs {return false} - if lhs.frameRateSamplePeriodMs != rhs.frameRateSamplePeriodMs {return false} - if lhs.enableOmniWrapperSending != rhs.enableOmniWrapperSending {return false} - if lhs.obFloat != rhs.obFloat {return false} - if lhs.enableFrameRateSample != rhs.enableFrameRateSample {return false} - if lhs.obListString != rhs.obListString {return false} - if lhs.obBool != rhs.obBool {return false} + public static func ==(lhs: TitanGetPlayerSubmissionValidationSettingsOutProto, rhs: TitanGetPlayerSubmissionValidationSettingsOutProto) -> Bool { + if lhs.bannedMetadataText != rhs.bannedMetadataText {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryKey: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryKey" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "key_name"), - 2: .same(proto: "value"), - ] +extension TitanGetPlayerSubmissionValidationSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetPlayerSubmissionValidationSettingsProto" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.keyName) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._value) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.keyName.isEmpty { - try visitor.visitSingularStringField(value: self.keyName, fieldNumber: 1) - } - try { if let v = self._value { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryKey, rhs: TelemetryKey) -> Bool { - if lhs.keyName != rhs.keyName {return false} - if lhs._value != rhs._value {return false} + public static func ==(lhs: TitanGetPlayerSubmissionValidationSettingsProto, rhs: TitanGetPlayerSubmissionValidationSettingsProto) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryMetadataProto" +extension TitanGetPoisInRadiusOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetPoisInRadiusOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "user_id"), - 2: .standard(proto: "session_id"), - 3: .standard(proto: "record_id"), - 4: .standard(proto: "telemetry_scope_id"), - 5: .standard(proto: "is_queryable"), - 6: .standard(proto: "keyvalue_column"), - 7: .standard(proto: "processing_attempts_count"), - 8: .standard(proto: "pub_sub_message_id"), - 9: .standard(proto: "source_published_timestamp_millis"), - 10: .standard(proto: "anfe_published_timestamp_millis"), - 11: .standard(proto: "platform_player_info"), - 12: .standard(proto: "device_info"), + 1: .same(proto: "status"), + 2: .same(proto: "pois"), ] - fileprivate class _StorageClass { - var _userID: String = String() - var _sessionID: Int64 = 0 - var _recordID: String = String() - var _telemetryScopeID: TelemetryMetadataProto.TelemetryScopeId = .unset - var _isQueryable: Bool = false - var _keyvalueColumn: String = String() - var _processingAttemptsCount: UInt32 = 0 - var _pubSubMessageID: String = String() - var _sourcePublishedTimestampMillis: Int64 = 0 - var _anfePublishedTimestampMillis: Int64 = 0 - var _platformPlayerInfo: PlayerInfo? = nil - var _deviceInfo: ClientTelemetryCommonFilterProto? = nil - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _userID = source._userID - _sessionID = source._sessionID - _recordID = source._recordID - _telemetryScopeID = source._telemetryScopeID - _isQueryable = source._isQueryable - _keyvalueColumn = source._keyvalueColumn - _processingAttemptsCount = source._processingAttemptsCount - _pubSubMessageID = source._pubSubMessageID - _sourcePublishedTimestampMillis = source._sourcePublishedTimestampMillis - _anfePublishedTimestampMillis = source._anfePublishedTimestampMillis - _platformPlayerInfo = source._platformPlayerInfo - _deviceInfo = source._deviceInfo - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &_storage._userID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &_storage._sessionID) }() - case 3: try { try decoder.decodeSingularStringField(value: &_storage._recordID) }() - case 4: try { try decoder.decodeSingularEnumField(value: &_storage._telemetryScopeID) }() - case 5: try { try decoder.decodeSingularBoolField(value: &_storage._isQueryable) }() - case 6: try { try decoder.decodeSingularStringField(value: &_storage._keyvalueColumn) }() - case 7: try { try decoder.decodeSingularUInt32Field(value: &_storage._processingAttemptsCount) }() - case 8: try { try decoder.decodeSingularStringField(value: &_storage._pubSubMessageID) }() - case 9: try { try decoder.decodeSingularInt64Field(value: &_storage._sourcePublishedTimestampMillis) }() - case 10: try { try decoder.decodeSingularInt64Field(value: &_storage._anfePublishedTimestampMillis) }() - case 11: try { try decoder.decodeSingularMessageField(value: &_storage._platformPlayerInfo) }() - case 12: try { try decoder.decodeSingularMessageField(value: &_storage._deviceInfo) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.pois) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !_storage._userID.isEmpty { - try visitor.visitSingularStringField(value: _storage._userID, fieldNumber: 1) - } - if _storage._sessionID != 0 { - try visitor.visitSingularInt64Field(value: _storage._sessionID, fieldNumber: 2) - } - if !_storage._recordID.isEmpty { - try visitor.visitSingularStringField(value: _storage._recordID, fieldNumber: 3) - } - if _storage._telemetryScopeID != .unset { - try visitor.visitSingularEnumField(value: _storage._telemetryScopeID, fieldNumber: 4) - } - if _storage._isQueryable != false { - try visitor.visitSingularBoolField(value: _storage._isQueryable, fieldNumber: 5) - } - if !_storage._keyvalueColumn.isEmpty { - try visitor.visitSingularStringField(value: _storage._keyvalueColumn, fieldNumber: 6) - } - if _storage._processingAttemptsCount != 0 { - try visitor.visitSingularUInt32Field(value: _storage._processingAttemptsCount, fieldNumber: 7) - } - if !_storage._pubSubMessageID.isEmpty { - try visitor.visitSingularStringField(value: _storage._pubSubMessageID, fieldNumber: 8) - } - if _storage._sourcePublishedTimestampMillis != 0 { - try visitor.visitSingularInt64Field(value: _storage._sourcePublishedTimestampMillis, fieldNumber: 9) - } - if _storage._anfePublishedTimestampMillis != 0 { - try visitor.visitSingularInt64Field(value: _storage._anfePublishedTimestampMillis, fieldNumber: 10) - } - try { if let v = _storage._platformPlayerInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 11) - } }() - try { if let v = _storage._deviceInfo { - try visitor.visitSingularMessageField(value: v, fieldNumber: 12) - } }() + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.pois.isEmpty { + try visitor.visitRepeatedMessageField(value: self.pois, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryMetadataProto, rhs: TelemetryMetadataProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._userID != rhs_storage._userID {return false} - if _storage._sessionID != rhs_storage._sessionID {return false} - if _storage._recordID != rhs_storage._recordID {return false} - if _storage._telemetryScopeID != rhs_storage._telemetryScopeID {return false} - if _storage._isQueryable != rhs_storage._isQueryable {return false} - if _storage._keyvalueColumn != rhs_storage._keyvalueColumn {return false} - if _storage._processingAttemptsCount != rhs_storage._processingAttemptsCount {return false} - if _storage._pubSubMessageID != rhs_storage._pubSubMessageID {return false} - if _storage._sourcePublishedTimestampMillis != rhs_storage._sourcePublishedTimestampMillis {return false} - if _storage._anfePublishedTimestampMillis != rhs_storage._anfePublishedTimestampMillis {return false} - if _storage._platformPlayerInfo != rhs_storage._platformPlayerInfo {return false} - if _storage._deviceInfo != rhs_storage._deviceInfo {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: TitanGetPoisInRadiusOutProto, rhs: TitanGetPoisInRadiusOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.pois != rhs.pois {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryMetadataProto.TelemetryScopeId: SwiftProtobuf._ProtoNameProviding { +extension TitanGetPoisInRadiusOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "PLATFORM_SERVER"), - 2: .same(proto: "PLATFORM_CLIENT"), - 3: .same(proto: "GAME_SERVER"), - 4: .same(proto: "GAME_CLIENT"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "INTERNAL_ERROR"), ] } -extension TelemetryMetricRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryMetricRecordProto" +extension TitanGetPoisInRadiusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetPoisInRadiusProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "common"), - 2: .standard(proto: "compressed_common"), - 4: .same(proto: "long"), - 5: .same(proto: "double"), - 6: .same(proto: "boolean"), - 3: .standard(proto: "metric_id"), + 1: .same(proto: "location"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -291795,52 +302331,7 @@ extension TelemetryMetricRecordProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: TelemetryMetadataProto? - var hadOneofValue = false - if let current = self.metadata { - hadOneofValue = true - if case .common(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.metadata = .common(v) - } - }() - case 2: try { - var v: Data? - try decoder.decodeSingularBytesField(value: &v) - if let v = v { - if self.metadata != nil {try decoder.handleConflictingOneOf()} - self.metadata = .compressedCommon(v) - } - }() - case 3: try { try decoder.decodeSingularStringField(value: &self.metricID) }() - case 4: try { - var v: Int64? - try decoder.decodeSingularInt64Field(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .long(v) - } - }() - case 5: try { - var v: Double? - try decoder.decodeSingularDoubleField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .double(v) - } - }() - case 6: try { - var v: Bool? - try decoder.decodeSingularBoolField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .boolean(v) - } - }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._location) }() default: break } } @@ -291851,64 +302342,26 @@ extension TelemetryMetricRecordProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - switch self.metadata { - case .common?: try { - guard case .common(let v)? = self.metadata else { preconditionFailure() } + try { if let v = self._location { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - }() - case .compressedCommon?: try { - guard case .compressedCommon(let v)? = self.metadata else { preconditionFailure() } - try visitor.visitSingularBytesField(value: v, fieldNumber: 2) - }() - case nil: break - } - if !self.metricID.isEmpty { - try visitor.visitSingularStringField(value: self.metricID, fieldNumber: 3) - } - switch self.value { - case .long?: try { - guard case .long(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularInt64Field(value: v, fieldNumber: 4) - }() - case .double?: try { - guard case .double(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularDoubleField(value: v, fieldNumber: 5) - }() - case .boolean?: try { - guard case .boolean(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularBoolField(value: v, fieldNumber: 6) - }() - case nil: break - } + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryMetricRecordProto, rhs: TelemetryMetricRecordProto) -> Bool { - if lhs.metadata != rhs.metadata {return false} - if lhs.value != rhs.value {return false} - if lhs.metricID != rhs.metricID {return false} + public static func ==(lhs: TitanGetPoisInRadiusProto, rhs: TitanGetPoisInRadiusProto) -> Bool { + if lhs._location != rhs._location {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryMetricRecordProto.Kind: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSPECIFIED"), - 1: .same(proto: "GAUGE"), - 2: .same(proto: "DELTA"), - 3: .same(proto: "CUMULATIVE"), - ] -} - -extension TelemetryRecordResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryRecordResult" +extension TitanGetUploadUrlOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetUploadUrlOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "record_id"), - 2: .same(proto: "status"), - 3: .standard(proto: "telemetry_type_name"), - 4: .standard(proto: "failure_detail"), - 5: .standard(proto: "retry_after_ms"), + 1: .same(proto: "status"), + 2: .standard(proto: "signed_url"), + 3: .standard(proto: "supporting_image_signed_url"), + 4: .standard(proto: "context_signed_urls"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -291917,63 +302370,60 @@ extension TelemetryRecordResult: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.recordID) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.telemetryTypeName) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.failureDetail) }() - case 5: try { try decoder.decodeSingularInt64Field(value: &self.retryAfterMs) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.signedURL) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.supportingImageSignedURL) }() + case 4: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.contextSignedUrls) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.recordID.isEmpty { - try visitor.visitSingularStringField(value: self.recordID, fieldNumber: 1) - } if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 2) + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.telemetryTypeName.isEmpty { - try visitor.visitSingularStringField(value: self.telemetryTypeName, fieldNumber: 3) + if !self.signedURL.isEmpty { + try visitor.visitSingularStringField(value: self.signedURL, fieldNumber: 2) } - if !self.failureDetail.isEmpty { - try visitor.visitSingularStringField(value: self.failureDetail, fieldNumber: 4) + if !self.supportingImageSignedURL.isEmpty { + try visitor.visitSingularStringField(value: self.supportingImageSignedURL, fieldNumber: 3) } - if self.retryAfterMs != 0 { - try visitor.visitSingularInt64Field(value: self.retryAfterMs, fieldNumber: 5) + if !self.contextSignedUrls.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.contextSignedUrls, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryRecordResult, rhs: TelemetryRecordResult) -> Bool { - if lhs.recordID != rhs.recordID {return false} + public static func ==(lhs: TitanGetUploadUrlOutProto, rhs: TitanGetUploadUrlOutProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.telemetryTypeName != rhs.telemetryTypeName {return false} - if lhs.failureDetail != rhs.failureDetail {return false} - if lhs.retryAfterMs != rhs.retryAfterMs {return false} + if lhs.signedURL != rhs.signedURL {return false} + if lhs.supportingImageSignedURL != rhs.supportingImageSignedURL {return false} + if lhs.contextSignedUrls != rhs.contextSignedUrls {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryRecordResult.Status: SwiftProtobuf._ProtoNameProviding { +extension TitanGetUploadUrlOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unset"), - 10: .same(proto: "invalid_request"), - 11: .same(proto: "access_denied"), - 12: .same(proto: "not_approved_event"), - 20: .same(proto: "backend_error"), - 30: .same(proto: "throttled"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "FAILURES"), + 2: .same(proto: "SUCCESS"), + 3: .same(proto: "MISSING_IMAGE_CONTEXTS"), + 4: .same(proto: "DUPLICATE_IMAGE_CONTEXTS"), + 5: .same(proto: "ALREADY_UPLOADED"), ] } -extension TelemetryRequestMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryRequestMetadata" +extension TitanGetUploadUrlProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGetUploadUrlProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "user_id"), - 2: .standard(proto: "is_minor"), - 3: .standard(proto: "env_id"), + 2: .standard(proto: "game_unique_id"), + 3: .standard(proto: "submission_type"), + 4: .standard(proto: "submission_id"), + 5: .standard(proto: "image_contexts"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -291983,8 +302433,10 @@ extension TelemetryRequestMetadata: SwiftProtobuf.Message, SwiftProtobuf._Messag // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.userID) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.isMinor) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.envID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.gameUniqueID) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.submissionType) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 5: try { try decoder.decodeRepeatedStringField(value: &self.imageContexts) }() default: break } } @@ -291994,76 +302446,37 @@ extension TelemetryRequestMetadata: SwiftProtobuf.Message, SwiftProtobuf._Messag if !self.userID.isEmpty { try visitor.visitSingularStringField(value: self.userID, fieldNumber: 1) } - if self.isMinor != false { - try visitor.visitSingularBoolField(value: self.isMinor, fieldNumber: 2) - } - if !self.envID.isEmpty { - try visitor.visitSingularStringField(value: self.envID, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: TelemetryRequestMetadata, rhs: TelemetryRequestMetadata) -> Bool { - if lhs.userID != rhs.userID {return false} - if lhs.isMinor != rhs.isMinor {return false} - if lhs.envID != rhs.envID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension TelemetryRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryRequestProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "api_version"), - 2: .standard(proto: "message_version"), - 3: .standard(proto: "telemetry_batch"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.apiVersion) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.messageVersion) }() - case 3: try { try decoder.decodeSingularBytesField(value: &self.telemetryBatch) }() - default: break - } + if !self.gameUniqueID.isEmpty { + try visitor.visitSingularStringField(value: self.gameUniqueID, fieldNumber: 2) } - } - - public func traverse(visitor: inout V) throws { - if !self.apiVersion.isEmpty { - try visitor.visitSingularStringField(value: self.apiVersion, fieldNumber: 1) + if self.submissionType != .typeUnspecified { + try visitor.visitSingularEnumField(value: self.submissionType, fieldNumber: 3) } - if !self.messageVersion.isEmpty { - try visitor.visitSingularStringField(value: self.messageVersion, fieldNumber: 2) + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 4) } - if !self.telemetryBatch.isEmpty { - try visitor.visitSingularBytesField(value: self.telemetryBatch, fieldNumber: 3) + if !self.imageContexts.isEmpty { + try visitor.visitRepeatedStringField(value: self.imageContexts, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryRequestProto, rhs: TelemetryRequestProto) -> Bool { - if lhs.apiVersion != rhs.apiVersion {return false} - if lhs.messageVersion != rhs.messageVersion {return false} - if lhs.telemetryBatch != rhs.telemetryBatch {return false} + public static func ==(lhs: TitanGetUploadUrlProto, rhs: TitanGetUploadUrlProto) -> Bool { + if lhs.userID != rhs.userID {return false} + if lhs.gameUniqueID != rhs.gameUniqueID {return false} + if lhs.submissionType != rhs.submissionType {return false} + if lhs.submissionID != rhs.submissionID {return false} + if lhs.imageContexts != rhs.imageContexts {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryResponseProto" +extension TitanGrapeshotAuthenticationDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGrapeshotAuthenticationDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "rows_written"), - 3: .standard(proto: "failure_detail"), - 4: .standard(proto: "retryable_failures"), - 5: .standard(proto: "non_retryable_failures"), + 1: .same(proto: "authorization"), + 2: .same(proto: "date"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292072,64 +302485,38 @@ extension TelemetryResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.rowsWritten) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.failureDetail) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.retryableFailures) }() - case 5: try { try decoder.decodeRepeatedMessageField(value: &self.nonRetryableFailures) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.authorization) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.date) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - if self.rowsWritten != 0 { - try visitor.visitSingularInt32Field(value: self.rowsWritten, fieldNumber: 2) - } - if !self.failureDetail.isEmpty { - try visitor.visitSingularStringField(value: self.failureDetail, fieldNumber: 3) - } - if !self.retryableFailures.isEmpty { - try visitor.visitRepeatedMessageField(value: self.retryableFailures, fieldNumber: 4) + if !self.authorization.isEmpty { + try visitor.visitSingularStringField(value: self.authorization, fieldNumber: 1) } - if !self.nonRetryableFailures.isEmpty { - try visitor.visitRepeatedMessageField(value: self.nonRetryableFailures, fieldNumber: 5) + if !self.date.isEmpty { + try visitor.visitSingularStringField(value: self.date, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryResponseProto, rhs: TelemetryResponseProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.rowsWritten != rhs.rowsWritten {return false} - if lhs.failureDetail != rhs.failureDetail {return false} - if lhs.retryableFailures != rhs.retryableFailures {return false} - if lhs.nonRetryableFailures != rhs.nonRetryableFailures {return false} + public static func ==(lhs: TitanGrapeshotAuthenticationDataProto, rhs: TitanGrapeshotAuthenticationDataProto) -> Bool { + if lhs.authorization != rhs.authorization {return false} + if lhs.date != rhs.date {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryResponseProto.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "unset"), - 1: .same(proto: "success"), - 2: .same(proto: "failure"), - 3: .same(proto: "partial_failure"), - ] -} - -extension TelemetryServerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryServerData" +extension TitanGrapeshotChunkDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGrapeshotChunkDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "user_id"), - 2: .standard(proto: "telemetry_id"), - 3: .standard(proto: "session_id"), - 4: .standard(proto: "experiment_ids"), - 5: .standard(proto: "event_request_id"), - 6: .standard(proto: "server_timestamp_ms"), + 1: .standard(proto: "chunk_file_path"), + 2: .standard(proto: "chunk_number"), + 3: .standard(proto: "upload_authentication"), + 4: .standard(proto: "delete_authentication"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292138,58 +302525,51 @@ extension TelemetryServerData: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.userID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.telemetryID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.sessionID) }() - case 4: try { try decoder.decodeRepeatedInt32Field(value: &self.experimentIds) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.eventRequestID) }() - case 6: try { try decoder.decodeSingularInt64Field(value: &self.serverTimestampMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.chunkFilePath) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.chunkNumber) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._uploadAuthentication) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._deleteAuthentication) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.userID.isEmpty { - try visitor.visitSingularStringField(value: self.userID, fieldNumber: 1) - } - if !self.telemetryID.isEmpty { - try visitor.visitSingularStringField(value: self.telemetryID, fieldNumber: 2) - } - if !self.sessionID.isEmpty { - try visitor.visitSingularStringField(value: self.sessionID, fieldNumber: 3) - } - if !self.experimentIds.isEmpty { - try visitor.visitPackedInt32Field(value: self.experimentIds, fieldNumber: 4) - } - if !self.eventRequestID.isEmpty { - try visitor.visitSingularStringField(value: self.eventRequestID, fieldNumber: 5) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.chunkFilePath.isEmpty { + try visitor.visitSingularStringField(value: self.chunkFilePath, fieldNumber: 1) } - if self.serverTimestampMs != 0 { - try visitor.visitSingularInt64Field(value: self.serverTimestampMs, fieldNumber: 6) + if self.chunkNumber != 0 { + try visitor.visitSingularUInt32Field(value: self.chunkNumber, fieldNumber: 2) } + try { if let v = self._uploadAuthentication { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._deleteAuthentication { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryServerData, rhs: TelemetryServerData) -> Bool { - if lhs.userID != rhs.userID {return false} - if lhs.telemetryID != rhs.telemetryID {return false} - if lhs.sessionID != rhs.sessionID {return false} - if lhs.experimentIds != rhs.experimentIds {return false} - if lhs.eventRequestID != rhs.eventRequestID {return false} - if lhs.serverTimestampMs != rhs.serverTimestampMs {return false} + public static func ==(lhs: TitanGrapeshotChunkDataProto, rhs: TitanGrapeshotChunkDataProto) -> Bool { + if lhs.chunkFilePath != rhs.chunkFilePath {return false} + if lhs.chunkNumber != rhs.chunkNumber {return false} + if lhs._uploadAuthentication != rhs._uploadAuthentication {return false} + if lhs._deleteAuthentication != rhs._deleteAuthentication {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TelemetryValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TelemetryValue" +extension TitanGrapeshotComposeDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGrapeshotComposeDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "int_value"), - 2: .standard(proto: "double_value"), - 3: .standard(proto: "string_value"), - 4: .standard(proto: "bool_value"), + 1: .standard(proto: "target_file_path"), + 2: .same(proto: "authentication"), + 3: .same(proto: "hash"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292198,38 +302578,9 @@ extension TelemetryValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { - var v: Int64? - try decoder.decodeSingularInt64Field(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .intValue(v) - } - }() - case 2: try { - var v: Double? - try decoder.decodeSingularDoubleField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .doubleValue(v) - } - }() - case 3: try { - var v: String? - try decoder.decodeSingularStringField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .stringValue(v) - } - }() - case 4: try { - var v: Bool? - try decoder.decodeSingularBoolField(value: &v) - if let v = v { - if self.value != nil {try decoder.handleConflictingOneOf()} - self.value = .boolValue(v) - } - }() + case 1: try { try decoder.decodeSingularStringField(value: &self.targetFilePath) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._authentication) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.hash) }() default: break } } @@ -292240,239 +302591,87 @@ extension TelemetryValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - switch self.value { - case .intValue?: try { - guard case .intValue(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularInt64Field(value: v, fieldNumber: 1) - }() - case .doubleValue?: try { - guard case .doubleValue(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularDoubleField(value: v, fieldNumber: 2) - }() - case .stringValue?: try { - guard case .stringValue(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularStringField(value: v, fieldNumber: 3) - }() - case .boolValue?: try { - guard case .boolValue(let v)? = self.value else { preconditionFailure() } - try visitor.visitSingularBoolField(value: v, fieldNumber: 4) - }() - case nil: break + if !self.targetFilePath.isEmpty { + try visitor.visitSingularStringField(value: self.targetFilePath, fieldNumber: 1) + } + try { if let v = self._authentication { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.hash.isEmpty { + try visitor.visitSingularStringField(value: self.hash, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TelemetryValue, rhs: TelemetryValue) -> Bool { - if lhs.value != rhs.value {return false} + public static func ==(lhs: TitanGrapeshotComposeDataProto, rhs: TitanGrapeshotComposeDataProto) -> Bool { + if lhs.targetFilePath != rhs.targetFilePath {return false} + if lhs._authentication != rhs._authentication {return false} + if lhs.hash != rhs.hash {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TempEvoOverrideProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TempEvoOverrideProto" +extension TitanGrapeshotUploadingDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanGrapeshotUploadingDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "temp_evo_id"), - 2: .same(proto: "stats"), - 3: .standard(proto: "average_height_m"), - 4: .standard(proto: "average_weight_kg"), - 5: .standard(proto: "type_override_1"), - 6: .standard(proto: "type_override_2"), - 7: .standard(proto: "cp_multiplier_override"), - 8: .same(proto: "camera"), - 9: .same(proto: "encounter"), - 10: .standard(proto: "model_scale_v2"), - 11: .standard(proto: "model_height"), - 12: .standard(proto: "buddy_offset_male"), - 13: .standard(proto: "buddy_offset_female"), - 14: .standard(proto: "buddy_portrait_offset"), - 15: .standard(proto: "raid_boss_distance_offset"), - 16: .standard(proto: "pokemon_size_settings"), - 17: .standard(proto: "ob_float_list"), + 1: .standard(proto: "chunk_data"), + 2: .standard(proto: "compose_data"), + 3: .standard(proto: "gcs_bucket"), + 4: .standard(proto: "number_of_chunks"), ] - fileprivate class _StorageClass { - var _tempEvoID: HoloTemporaryEvolutionId = .tempEvolutionUnset - var _stats: PokemonStatsAttributesProto? = nil - var _averageHeightM: Float = 0 - var _averageWeightKg: Float = 0 - var _typeOverride1: HoloPokemonType = .pokemonTypeNone - var _typeOverride2: HoloPokemonType = .pokemonTypeNone - var _cpMultiplierOverride: Float = 0 - var _camera: PokemonCameraAttributesProto? = nil - var _encounter: PokemonEncounterAttributesProto? = nil - var _modelScaleV2: Float = 0 - var _modelHeight: Float = 0 - var _buddyOffsetMale: [Float] = [] - var _buddyOffsetFemale: [Float] = [] - var _buddyPortraitOffset: [Float] = [] - var _raidBossDistanceOffset: Float = 0 - var _pokemonSizeSettings: PokemonSizeSettingsProto? = nil - var _obFloatList: [Float] = [] - - static let defaultInstance = _StorageClass() - - private init() {} - - init(copying source: _StorageClass) { - _tempEvoID = source._tempEvoID - _stats = source._stats - _averageHeightM = source._averageHeightM - _averageWeightKg = source._averageWeightKg - _typeOverride1 = source._typeOverride1 - _typeOverride2 = source._typeOverride2 - _cpMultiplierOverride = source._cpMultiplierOverride - _camera = source._camera - _encounter = source._encounter - _modelScaleV2 = source._modelScaleV2 - _modelHeight = source._modelHeight - _buddyOffsetMale = source._buddyOffsetMale - _buddyOffsetFemale = source._buddyOffsetFemale - _buddyPortraitOffset = source._buddyPortraitOffset - _raidBossDistanceOffset = source._raidBossDistanceOffset - _pokemonSizeSettings = source._pokemonSizeSettings - _obFloatList = source._obFloatList - } - } - - fileprivate mutating func _uniqueStorage() -> _StorageClass { - if !isKnownUniquelyReferenced(&_storage) { - _storage = _StorageClass(copying: _storage) - } - return _storage - } - public mutating func decodeMessage(decoder: inout D) throws { - _ = _uniqueStorage() - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &_storage._tempEvoID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &_storage._stats) }() - case 3: try { try decoder.decodeSingularFloatField(value: &_storage._averageHeightM) }() - case 4: try { try decoder.decodeSingularFloatField(value: &_storage._averageWeightKg) }() - case 5: try { try decoder.decodeSingularEnumField(value: &_storage._typeOverride1) }() - case 6: try { try decoder.decodeSingularEnumField(value: &_storage._typeOverride2) }() - case 7: try { try decoder.decodeSingularFloatField(value: &_storage._cpMultiplierOverride) }() - case 8: try { try decoder.decodeSingularMessageField(value: &_storage._camera) }() - case 9: try { try decoder.decodeSingularMessageField(value: &_storage._encounter) }() - case 10: try { try decoder.decodeSingularFloatField(value: &_storage._modelScaleV2) }() - case 11: try { try decoder.decodeSingularFloatField(value: &_storage._modelHeight) }() - case 12: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyOffsetMale) }() - case 13: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyOffsetFemale) }() - case 14: try { try decoder.decodeRepeatedFloatField(value: &_storage._buddyPortraitOffset) }() - case 15: try { try decoder.decodeSingularFloatField(value: &_storage._raidBossDistanceOffset) }() - case 16: try { try decoder.decodeSingularMessageField(value: &_storage._pokemonSizeSettings) }() - case 17: try { try decoder.decodeRepeatedFloatField(value: &_storage._obFloatList) }() - default: break - } + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.chunkData) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._composeData) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.gcsBucket) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.numberOfChunks) }() + default: break } } } public func traverse(visitor: inout V) throws { - try withExtendedLifetime(_storage) { (_storage: _StorageClass) in - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._tempEvoID != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: _storage._tempEvoID, fieldNumber: 1) - } - try { if let v = _storage._stats { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if _storage._averageHeightM != 0 { - try visitor.visitSingularFloatField(value: _storage._averageHeightM, fieldNumber: 3) - } - if _storage._averageWeightKg != 0 { - try visitor.visitSingularFloatField(value: _storage._averageWeightKg, fieldNumber: 4) - } - if _storage._typeOverride1 != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: _storage._typeOverride1, fieldNumber: 5) - } - if _storage._typeOverride2 != .pokemonTypeNone { - try visitor.visitSingularEnumField(value: _storage._typeOverride2, fieldNumber: 6) - } - if _storage._cpMultiplierOverride != 0 { - try visitor.visitSingularFloatField(value: _storage._cpMultiplierOverride, fieldNumber: 7) - } - try { if let v = _storage._camera { - try visitor.visitSingularMessageField(value: v, fieldNumber: 8) - } }() - try { if let v = _storage._encounter { - try visitor.visitSingularMessageField(value: v, fieldNumber: 9) - } }() - if _storage._modelScaleV2 != 0 { - try visitor.visitSingularFloatField(value: _storage._modelScaleV2, fieldNumber: 10) - } - if _storage._modelHeight != 0 { - try visitor.visitSingularFloatField(value: _storage._modelHeight, fieldNumber: 11) - } - if !_storage._buddyOffsetMale.isEmpty { - try visitor.visitPackedFloatField(value: _storage._buddyOffsetMale, fieldNumber: 12) - } - if !_storage._buddyOffsetFemale.isEmpty { - try visitor.visitPackedFloatField(value: _storage._buddyOffsetFemale, fieldNumber: 13) - } - if !_storage._buddyPortraitOffset.isEmpty { - try visitor.visitPackedFloatField(value: _storage._buddyPortraitOffset, fieldNumber: 14) - } - if _storage._raidBossDistanceOffset != 0 { - try visitor.visitSingularFloatField(value: _storage._raidBossDistanceOffset, fieldNumber: 15) - } - try { if let v = _storage._pokemonSizeSettings { - try visitor.visitSingularMessageField(value: v, fieldNumber: 16) - } }() - if !_storage._obFloatList.isEmpty { - try visitor.visitPackedFloatField(value: _storage._obFloatList, fieldNumber: 17) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.chunkData.isEmpty { + try visitor.visitRepeatedMessageField(value: self.chunkData, fieldNumber: 1) + } + try { if let v = self._composeData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.gcsBucket.isEmpty { + try visitor.visitSingularStringField(value: self.gcsBucket, fieldNumber: 3) + } + if self.numberOfChunks != 0 { + try visitor.visitSingularInt32Field(value: self.numberOfChunks, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TempEvoOverrideProto, rhs: TempEvoOverrideProto) -> Bool { - if lhs._storage !== rhs._storage { - let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in - let _storage = _args.0 - let rhs_storage = _args.1 - if _storage._tempEvoID != rhs_storage._tempEvoID {return false} - if _storage._stats != rhs_storage._stats {return false} - if _storage._averageHeightM != rhs_storage._averageHeightM {return false} - if _storage._averageWeightKg != rhs_storage._averageWeightKg {return false} - if _storage._typeOverride1 != rhs_storage._typeOverride1 {return false} - if _storage._typeOverride2 != rhs_storage._typeOverride2 {return false} - if _storage._cpMultiplierOverride != rhs_storage._cpMultiplierOverride {return false} - if _storage._camera != rhs_storage._camera {return false} - if _storage._encounter != rhs_storage._encounter {return false} - if _storage._modelScaleV2 != rhs_storage._modelScaleV2 {return false} - if _storage._modelHeight != rhs_storage._modelHeight {return false} - if _storage._buddyOffsetMale != rhs_storage._buddyOffsetMale {return false} - if _storage._buddyOffsetFemale != rhs_storage._buddyOffsetFemale {return false} - if _storage._buddyPortraitOffset != rhs_storage._buddyPortraitOffset {return false} - if _storage._raidBossDistanceOffset != rhs_storage._raidBossDistanceOffset {return false} - if _storage._pokemonSizeSettings != rhs_storage._pokemonSizeSettings {return false} - if _storage._obFloatList != rhs_storage._obFloatList {return false} - return true - } - if !storagesAreEqual {return false} - } + public static func ==(lhs: TitanGrapeshotUploadingDataProto, rhs: TitanGrapeshotUploadingDataProto) -> Bool { + if lhs.chunkData != rhs.chunkData {return false} + if lhs._composeData != rhs._composeData {return false} + if lhs.gcsBucket != rhs.gcsBucket {return false} + if lhs.numberOfChunks != rhs.numberOfChunks {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TemplateVariable: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TemplateVariable" +extension TitanPlayerSubmissionResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanPlayerSubmissionResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "literal"), - 3: .same(proto: "key"), - 4: .standard(proto: "lookup_table"), - 5: .standard(proto: "byte_value"), + 1: .same(proto: "status"), + 2: .standard(proto: "submission_id"), + 3: .same(proto: "messages"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292481,52 +302680,56 @@ extension TemplateVariable: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.literal) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.key) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.lookupTable) }() - case 5: try { try decoder.decodeSingularBytesField(value: &self.byteValue) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.messages) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.literal.isEmpty { - try visitor.visitSingularStringField(value: self.literal, fieldNumber: 2) - } - if !self.key.isEmpty { - try visitor.visitSingularStringField(value: self.key, fieldNumber: 3) + if self.status != .unspecified { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.lookupTable.isEmpty { - try visitor.visitSingularStringField(value: self.lookupTable, fieldNumber: 4) + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 2) } - if !self.byteValue.isEmpty { - try visitor.visitSingularBytesField(value: self.byteValue, fieldNumber: 5) + if !self.messages.isEmpty { + try visitor.visitRepeatedStringField(value: self.messages, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TemplateVariable, rhs: TemplateVariable) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.literal != rhs.literal {return false} - if lhs.key != rhs.key {return false} - if lhs.lookupTable != rhs.lookupTable {return false} - if lhs.byteValue != rhs.byteValue {return false} + public static func ==(lhs: TitanPlayerSubmissionResponseProto, rhs: TitanPlayerSubmissionResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.submissionID != rhs.submissionID {return false} + if lhs.messages != rhs.messages {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TemporaryEvolutionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TemporaryEvolutionProto" +extension TitanPlayerSubmissionResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "temporary_evolution_id"), - 2: .standard(proto: "asset_bundle_value"), - 3: .standard(proto: "asset_bundle_suffix"), + 0: .same(proto: "STATUS_UNSPECIFIED"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "INTERNAL_ERROR"), + 3: .same(proto: "TOO_MANY_RECENT_SUBMISSIONS"), + 4: .same(proto: "MINOR"), + 5: .same(proto: "NOT_AVAILABLE"), + 6: .same(proto: "INVALID_INPUT"), + 7: .same(proto: "MISSING_IMAGE"), + 8: .same(proto: "DISTANCE_VALIDATION_FAILED"), + 9: .same(proto: "ACTIVATION_REQUEST_FAILED"), + ] +} + +extension TitanPoiPlayerMetadataTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanPoiPlayerMetadataTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "device_model"), + 2: .standard(proto: "device_os"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292535,42 +302738,37 @@ extension TemporaryEvolutionProto: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.temporaryEvolutionID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.assetBundleValue) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.assetBundleSuffix) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.deviceModel) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.deviceOs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.temporaryEvolutionID != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: self.temporaryEvolutionID, fieldNumber: 1) - } - if self.assetBundleValue != 0 { - try visitor.visitSingularInt32Field(value: self.assetBundleValue, fieldNumber: 2) + if !self.deviceModel.isEmpty { + try visitor.visitSingularStringField(value: self.deviceModel, fieldNumber: 1) } - if !self.assetBundleSuffix.isEmpty { - try visitor.visitSingularStringField(value: self.assetBundleSuffix, fieldNumber: 3) + if !self.deviceOs.isEmpty { + try visitor.visitSingularStringField(value: self.deviceOs, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TemporaryEvolutionProto, rhs: TemporaryEvolutionProto) -> Bool { - if lhs.temporaryEvolutionID != rhs.temporaryEvolutionID {return false} - if lhs.assetBundleValue != rhs.assetBundleValue {return false} - if lhs.assetBundleSuffix != rhs.assetBundleSuffix {return false} + public static func ==(lhs: TitanPoiPlayerMetadataTelemetry, rhs: TitanPoiPlayerMetadataTelemetry) -> Bool { + if lhs.deviceModel != rhs.deviceModel {return false} + if lhs.deviceOs != rhs.deviceOs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TemporaryEvolutionResourceProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TemporaryEvolutionResourceProto" +extension TitanPoiSubmissionPhotoUploadErrorTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanPoiSubmissionPhotoUploadErrorTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "temporary_evolution_id"), - 2: .standard(proto: "energy_count"), - 3: .standard(proto: "max_energy_count"), + 1: .standard(proto: "error_id"), + 2: .standard(proto: "image_type"), + 3: .standard(proto: "error_message"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292579,41 +302777,50 @@ extension TemporaryEvolutionResourceProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.temporaryEvolutionID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.energyCount) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.maxEnergyCount) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.errorID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.imageType) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.temporaryEvolutionID != .tempEvolutionUnset { - try visitor.visitSingularEnumField(value: self.temporaryEvolutionID, fieldNumber: 1) + if self.errorID != .unset { + try visitor.visitSingularEnumField(value: self.errorID, fieldNumber: 1) } - if self.energyCount != 0 { - try visitor.visitSingularInt32Field(value: self.energyCount, fieldNumber: 2) + if self.imageType != .unset { + try visitor.visitSingularEnumField(value: self.imageType, fieldNumber: 2) } - if self.maxEnergyCount != 0 { - try visitor.visitSingularInt32Field(value: self.maxEnergyCount, fieldNumber: 3) + if !self.errorMessage.isEmpty { + try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TemporaryEvolutionResourceProto, rhs: TemporaryEvolutionResourceProto) -> Bool { - if lhs.temporaryEvolutionID != rhs.temporaryEvolutionID {return false} - if lhs.energyCount != rhs.energyCount {return false} - if lhs.maxEnergyCount != rhs.maxEnergyCount {return false} + public static func ==(lhs: TitanPoiSubmissionPhotoUploadErrorTelemetry, rhs: TitanPoiSubmissionPhotoUploadErrorTelemetry) -> Bool { + if lhs.errorID != rhs.errorID {return false} + if lhs.imageType != rhs.imageType {return false} + if lhs.errorMessage != rhs.errorMessage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TemporaryEvolutionSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TemporaryEvolutionSettingsProto" +extension TitanPoiSubmissionPhotoUploadErrorTelemetry.PoiSubmissionPhotoUploadErrorIds: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "pokemon_id"), - 2: .standard(proto: "temporary_evolutions"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "POI_PHOTO_UPLOAD_ERROR"), + 2: .same(proto: "POI_PHOTO_UPLOAD_TIMEOUT"), + ] +} + +extension TitanPoiSubmissionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanPoiSubmissionTelemetry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "gui_event_id"), + 2: .standard(proto: "image_type"), + 3: .standard(proto: "camera_step_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292622,97 +302829,99 @@ extension TemporaryEvolutionSettingsProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.pokemonID) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.temporaryEvolutions) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.guiEventID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.imageType) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.cameraStepID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.pokemonID != .missingno { - try visitor.visitSingularEnumField(value: self.pokemonID, fieldNumber: 1) + if self.guiEventID != .unknown { + try visitor.visitSingularEnumField(value: self.guiEventID, fieldNumber: 1) } - if !self.temporaryEvolutions.isEmpty { - try visitor.visitRepeatedMessageField(value: self.temporaryEvolutions, fieldNumber: 2) + if self.imageType != .unset { + try visitor.visitSingularEnumField(value: self.imageType, fieldNumber: 2) + } + if self.cameraStepID != .unset { + try visitor.visitSingularEnumField(value: self.cameraStepID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TemporaryEvolutionSettingsProto, rhs: TemporaryEvolutionSettingsProto) -> Bool { - if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.temporaryEvolutions != rhs.temporaryEvolutions {return false} + public static func ==(lhs: TitanPoiSubmissionTelemetry, rhs: TitanPoiSubmissionTelemetry) -> Bool { + if lhs.guiEventID != rhs.guiEventID {return false} + if lhs.imageType != rhs.imageType {return false} + if lhs.cameraStepID != rhs.cameraStepID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TfLiteTensorsToDetectionsCalculatorOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TfLiteTensorsToDetectionsCalculatorOptions" +extension TitanPoiSubmissionTelemetry.PoiCameraStepIds: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "ENTER"), + 2: .same(proto: "RETAKE"), + 3: .same(proto: "CONFIRM"), + 4: .same(proto: "EXIT"), + ] +} + +extension TitanPoiSubmissionTelemetry.PoiSubmissionGuiEventId: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "POI_NOMINATION_ENTER"), + 2: .same(proto: "POI_TUTORIAL_COMPLETE"), + 3: .same(proto: "POI_MAP_CHANGEDVIEW_MAP"), + 4: .same(proto: "POI_MAP_CHANGEDVIEW_SATELLITE"), + 5: .same(proto: "POI_MAP_CENTER_LOCATION"), + 6: .same(proto: "POI_LOCATION_SET"), + 7: .same(proto: "POI_PHOTO_CAMERA_ENTER"), + 8: .same(proto: "POI_PHOTO_CAMERA_EXIT"), + 9: .same(proto: "POI_TITLE_ENTERED"), + 10: .same(proto: "POI_DESCRIPTION_ENTER"), + 11: .same(proto: "POI_DETAILS_CONFIRM"), + 12: .same(proto: "POI_SUPPORTINGINFO_ENTER"), + 13: .same(proto: "POI_SUBMIT_BUTTON_HIT"), + 14: .same(proto: "POI_EXIT_BUTTON_HIT"), + ] +} + +extension TitanPoiVideoSubmissionMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanPoiVideoSubmissionMetadataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "num_classes"), - 2: .standard(proto: "num_boxes"), - 3: .standard(proto: "num_coords"), - 9: .standard(proto: "keypoint_coord_offset"), - 10: .standard(proto: "num_keypoints"), - 11: .standard(proto: "num_values_per_keypoint"), - 12: .standard(proto: "box_coord_offset"), - 4: .standard(proto: "x_scale"), - 5: .standard(proto: "y_scale"), - 6: .standard(proto: "w_scale"), - 7: .standard(proto: "h_scale"), - 13: .standard(proto: "apply_exponential_on_box_size"), - 14: .standard(proto: "reverse_output_order"), - 8: .standard(proto: "ignore_classes"), - 15: .standard(proto: "sigmoid_score"), - 16: .standard(proto: "score_clipping_thresh"), - 18: .standard(proto: "flip_vertically"), - 19: .standard(proto: "min_score_thresh"), + 1: .standard(proto: "poi_id"), + 2: .same(proto: "location"), + 3: .standard(proto: "player_level"), + 4: .standard(proto: "is_private"), + 5: .standard(proto: "geographic_coverage"), + 6: .standard(proto: "developer_id"), + 7: .standard(proto: "ar_common_metadata"), ] fileprivate class _StorageClass { - var _numClasses: Int32? = nil - var _numBoxes: Int32? = nil - var _numCoords: Int32? = nil - var _keypointCoordOffset: Int32? = nil - var _numKeypoints: Int32? = nil - var _numValuesPerKeypoint: Int32? = nil - var _boxCoordOffset: Int32? = nil - var _xScale: Float? = nil - var _yScale: Float? = nil - var _wScale: Float? = nil - var _hScale: Float? = nil - var _applyExponentialOnBoxSize: Bool? = nil - var _reverseOutputOrder: Bool? = nil - var _ignoreClasses: [Int32] = [] - var _sigmoidScore: Bool? = nil - var _scoreClippingThresh: Float? = nil - var _flipVertically: Bool? = nil - var _minScoreThresh: Float? = nil + var _poiID: String = String() + var _location: LocationE6Proto? = nil + var _playerLevel: Int32 = 0 + var _isPrivate: Bool = false + var _geographicCoverage: String = String() + var _developerID: String = String() + var _arCommonMetadata: ARDKARCommonMetadata? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _numClasses = source._numClasses - _numBoxes = source._numBoxes - _numCoords = source._numCoords - _keypointCoordOffset = source._keypointCoordOffset - _numKeypoints = source._numKeypoints - _numValuesPerKeypoint = source._numValuesPerKeypoint - _boxCoordOffset = source._boxCoordOffset - _xScale = source._xScale - _yScale = source._yScale - _wScale = source._wScale - _hScale = source._hScale - _applyExponentialOnBoxSize = source._applyExponentialOnBoxSize - _reverseOutputOrder = source._reverseOutputOrder - _ignoreClasses = source._ignoreClasses - _sigmoidScore = source._sigmoidScore - _scoreClippingThresh = source._scoreClippingThresh - _flipVertically = source._flipVertically - _minScoreThresh = source._minScoreThresh + _poiID = source._poiID + _location = source._location + _playerLevel = source._playerLevel + _isPrivate = source._isPrivate + _geographicCoverage = source._geographicCoverage + _developerID = source._developerID + _arCommonMetadata = source._arCommonMetadata } } @@ -292731,24 +302940,13 @@ extension TfLiteTensorsToDetectionsCalculatorOptions: SwiftProtobuf.Message, Swi // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._numClasses) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &_storage._numBoxes) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._numCoords) }() - case 4: try { try decoder.decodeSingularFloatField(value: &_storage._xScale) }() - case 5: try { try decoder.decodeSingularFloatField(value: &_storage._yScale) }() - case 6: try { try decoder.decodeSingularFloatField(value: &_storage._wScale) }() - case 7: try { try decoder.decodeSingularFloatField(value: &_storage._hScale) }() - case 8: try { try decoder.decodeRepeatedInt32Field(value: &_storage._ignoreClasses) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &_storage._keypointCoordOffset) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._numKeypoints) }() - case 11: try { try decoder.decodeSingularInt32Field(value: &_storage._numValuesPerKeypoint) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &_storage._boxCoordOffset) }() - case 13: try { try decoder.decodeSingularBoolField(value: &_storage._applyExponentialOnBoxSize) }() - case 14: try { try decoder.decodeSingularBoolField(value: &_storage._reverseOutputOrder) }() - case 15: try { try decoder.decodeSingularBoolField(value: &_storage._sigmoidScore) }() - case 16: try { try decoder.decodeSingularFloatField(value: &_storage._scoreClippingThresh) }() - case 18: try { try decoder.decodeSingularBoolField(value: &_storage._flipVertically) }() - case 19: try { try decoder.decodeSingularFloatField(value: &_storage._minScoreThresh) }() + case 1: try { try decoder.decodeSingularStringField(value: &_storage._poiID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &_storage._location) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &_storage._playerLevel) }() + case 4: try { try decoder.decodeSingularBoolField(value: &_storage._isPrivate) }() + case 5: try { try decoder.decodeSingularStringField(value: &_storage._geographicCoverage) }() + case 6: try { try decoder.decodeSingularStringField(value: &_storage._developerID) }() + case 7: try { try decoder.decodeSingularMessageField(value: &_storage._arCommonMetadata) }() default: break } } @@ -292761,87 +302959,43 @@ extension TfLiteTensorsToDetectionsCalculatorOptions: SwiftProtobuf.Message, Swi // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = _storage._numClasses { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 1) - } }() - try { if let v = _storage._numBoxes { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 2) - } }() - try { if let v = _storage._numCoords { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 3) - } }() - try { if let v = _storage._xScale { - try visitor.visitSingularFloatField(value: v, fieldNumber: 4) - } }() - try { if let v = _storage._yScale { - try visitor.visitSingularFloatField(value: v, fieldNumber: 5) - } }() - try { if let v = _storage._wScale { - try visitor.visitSingularFloatField(value: v, fieldNumber: 6) - } }() - try { if let v = _storage._hScale { - try visitor.visitSingularFloatField(value: v, fieldNumber: 7) - } }() - if !_storage._ignoreClasses.isEmpty { - try visitor.visitPackedInt32Field(value: _storage._ignoreClasses, fieldNumber: 8) + if !_storage._poiID.isEmpty { + try visitor.visitSingularStringField(value: _storage._poiID, fieldNumber: 1) } - try { if let v = _storage._keypointCoordOffset { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 9) - } }() - try { if let v = _storage._numKeypoints { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 10) - } }() - try { if let v = _storage._numValuesPerKeypoint { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 11) - } }() - try { if let v = _storage._boxCoordOffset { - try visitor.visitSingularInt32Field(value: v, fieldNumber: 12) - } }() - try { if let v = _storage._applyExponentialOnBoxSize { - try visitor.visitSingularBoolField(value: v, fieldNumber: 13) - } }() - try { if let v = _storage._reverseOutputOrder { - try visitor.visitSingularBoolField(value: v, fieldNumber: 14) - } }() - try { if let v = _storage._sigmoidScore { - try visitor.visitSingularBoolField(value: v, fieldNumber: 15) - } }() - try { if let v = _storage._scoreClippingThresh { - try visitor.visitSingularFloatField(value: v, fieldNumber: 16) - } }() - try { if let v = _storage._flipVertically { - try visitor.visitSingularBoolField(value: v, fieldNumber: 18) + try { if let v = _storage._location { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if let v = _storage._minScoreThresh { - try visitor.visitSingularFloatField(value: v, fieldNumber: 19) + if _storage._playerLevel != 0 { + try visitor.visitSingularInt32Field(value: _storage._playerLevel, fieldNumber: 3) + } + if _storage._isPrivate != false { + try visitor.visitSingularBoolField(value: _storage._isPrivate, fieldNumber: 4) + } + if !_storage._geographicCoverage.isEmpty { + try visitor.visitSingularStringField(value: _storage._geographicCoverage, fieldNumber: 5) + } + if !_storage._developerID.isEmpty { + try visitor.visitSingularStringField(value: _storage._developerID, fieldNumber: 6) + } + try { if let v = _storage._arCommonMetadata { + try visitor.visitSingularMessageField(value: v, fieldNumber: 7) } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TfLiteTensorsToDetectionsCalculatorOptions, rhs: TfLiteTensorsToDetectionsCalculatorOptions) -> Bool { + public static func ==(lhs: TitanPoiVideoSubmissionMetadataProto, rhs: TitanPoiVideoSubmissionMetadataProto) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._numClasses != rhs_storage._numClasses {return false} - if _storage._numBoxes != rhs_storage._numBoxes {return false} - if _storage._numCoords != rhs_storage._numCoords {return false} - if _storage._keypointCoordOffset != rhs_storage._keypointCoordOffset {return false} - if _storage._numKeypoints != rhs_storage._numKeypoints {return false} - if _storage._numValuesPerKeypoint != rhs_storage._numValuesPerKeypoint {return false} - if _storage._boxCoordOffset != rhs_storage._boxCoordOffset {return false} - if _storage._xScale != rhs_storage._xScale {return false} - if _storage._yScale != rhs_storage._yScale {return false} - if _storage._wScale != rhs_storage._wScale {return false} - if _storage._hScale != rhs_storage._hScale {return false} - if _storage._applyExponentialOnBoxSize != rhs_storage._applyExponentialOnBoxSize {return false} - if _storage._reverseOutputOrder != rhs_storage._reverseOutputOrder {return false} - if _storage._ignoreClasses != rhs_storage._ignoreClasses {return false} - if _storage._sigmoidScore != rhs_storage._sigmoidScore {return false} - if _storage._scoreClippingThresh != rhs_storage._scoreClippingThresh {return false} - if _storage._flipVertically != rhs_storage._flipVertically {return false} - if _storage._minScoreThresh != rhs_storage._minScoreThresh {return false} + if _storage._poiID != rhs_storage._poiID {return false} + if _storage._location != rhs_storage._location {return false} + if _storage._playerLevel != rhs_storage._playerLevel {return false} + if _storage._isPrivate != rhs_storage._isPrivate {return false} + if _storage._geographicCoverage != rhs_storage._geographicCoverage {return false} + if _storage._developerID != rhs_storage._developerID {return false} + if _storage._arCommonMetadata != rhs_storage._arCommonMetadata {return false} return true } if !storagesAreEqual {return false} @@ -292851,10 +303005,13 @@ extension TfLiteTensorsToDetectionsCalculatorOptions: SwiftProtobuf.Message, Swi } } -extension ThirdMoveGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ThirdMoveGlobalSettingsProto" +extension TitanSubmitNewPoiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitNewPoiOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "unlock_enabled"), + 1: .same(proto: "status"), + 2: .standard(proto: "submission_id"), + 3: .same(proto: "messages"), + 4: .standard(proto: "poi_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292863,32 +303020,67 @@ extension ThirdMoveGlobalSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.unlockEnabled) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.submissionID) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.messages) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.poiID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.unlockEnabled != false { - try visitor.visitSingularBoolField(value: self.unlockEnabled, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.submissionID.isEmpty { + try visitor.visitSingularStringField(value: self.submissionID, fieldNumber: 2) + } + if !self.messages.isEmpty { + try visitor.visitRepeatedStringField(value: self.messages, fieldNumber: 3) + } + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ThirdMoveGlobalSettingsProto, rhs: ThirdMoveGlobalSettingsProto) -> Bool { - if lhs.unlockEnabled != rhs.unlockEnabled {return false} + public static func ==(lhs: TitanSubmitNewPoiOutProto, rhs: TitanSubmitNewPoiOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.submissionID != rhs.submissionID {return false} + if lhs.messages != rhs.messages {return false} + if lhs.poiID != rhs.poiID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TicketGiftingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TicketGiftingSettingsProto" +extension TitanSubmitNewPoiOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "min_player_level"), - 2: .standard(proto: "max_number_of_gifts_per_day"), - 3: .standard(proto: "friend_ship_level"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "FAILURE"), + 3: .same(proto: "INTERNAL_ERROR"), + 4: .same(proto: "TOO_MANY_RECENT_SUBMISSIONS"), + 5: .same(proto: "INVALID_INPUT"), + 6: .same(proto: "MINOR"), + 7: .same(proto: "NOT_AVAILABLE"), + 8: .same(proto: "ALREADY_EXISTS"), + ] +} + +extension TitanSubmitNewPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitNewPoiProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "title"), + 2: .standard(proto: "long_description"), + 3: .standard(proto: "lat_e6"), + 4: .standard(proto: "lng_e6"), + 5: .standard(proto: "supporting_statement"), + 6: .standard(proto: "async_file_upload"), + 7: .standard(proto: "player_submitted_category_ids"), + 8: .standard(proto: "category_suggestion"), + 9: .standard(proto: "developer_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292897,45 +303089,70 @@ extension TicketGiftingSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.minPlayerLevel) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxNumberOfGiftsPerDay) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.friendShipLevel) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.longDescription) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.latE6) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.lngE6) }() + case 5: try { try decoder.decodeSingularStringField(value: &self.supportingStatement) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.asyncFileUpload) }() + case 7: try { try decoder.decodeRepeatedStringField(value: &self.playerSubmittedCategoryIds) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.categorySuggestion) }() + case 9: try { try decoder.decodeSingularStringField(value: &self.developerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.minPlayerLevel != 0 { - try visitor.visitSingularInt32Field(value: self.minPlayerLevel, fieldNumber: 1) + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 1) + } + if !self.longDescription.isEmpty { + try visitor.visitSingularStringField(value: self.longDescription, fieldNumber: 2) + } + if self.latE6 != 0 { + try visitor.visitSingularInt32Field(value: self.latE6, fieldNumber: 3) + } + if self.lngE6 != 0 { + try visitor.visitSingularInt32Field(value: self.lngE6, fieldNumber: 4) + } + if !self.supportingStatement.isEmpty { + try visitor.visitSingularStringField(value: self.supportingStatement, fieldNumber: 5) + } + if self.asyncFileUpload != false { + try visitor.visitSingularBoolField(value: self.asyncFileUpload, fieldNumber: 6) } - if self.maxNumberOfGiftsPerDay != 0 { - try visitor.visitSingularInt32Field(value: self.maxNumberOfGiftsPerDay, fieldNumber: 2) + if !self.playerSubmittedCategoryIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.playerSubmittedCategoryIds, fieldNumber: 7) + } + if !self.categorySuggestion.isEmpty { + try visitor.visitSingularStringField(value: self.categorySuggestion, fieldNumber: 8) } - if !self.friendShipLevel.isEmpty { - try visitor.visitSingularStringField(value: self.friendShipLevel, fieldNumber: 3) + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TicketGiftingSettingsProto, rhs: TicketGiftingSettingsProto) -> Bool { - if lhs.minPlayerLevel != rhs.minPlayerLevel {return false} - if lhs.maxNumberOfGiftsPerDay != rhs.maxNumberOfGiftsPerDay {return false} - if lhs.friendShipLevel != rhs.friendShipLevel {return false} + public static func ==(lhs: TitanSubmitNewPoiProto, rhs: TitanSubmitNewPoiProto) -> Bool { + if lhs.title != rhs.title {return false} + if lhs.longDescription != rhs.longDescription {return false} + if lhs.latE6 != rhs.latE6 {return false} + if lhs.lngE6 != rhs.lngE6 {return false} + if lhs.supportingStatement != rhs.supportingStatement {return false} + if lhs.asyncFileUpload != rhs.asyncFileUpload {return false} + if lhs.playerSubmittedCategoryIds != rhs.playerSubmittedCategoryIds {return false} + if lhs.categorySuggestion != rhs.categorySuggestion {return false} + if lhs.developerID != rhs.developerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TiledBlob: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TiledBlob" +extension TitanSubmitPlayerImageVoteForPoiOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitPlayerImageVoteForPoiOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "format_version"), - 2: .same(proto: "zoom"), - 3: .same(proto: "x"), - 4: .same(proto: "y"), - 5: .same(proto: "epoch"), - 6: .standard(proto: "encoded_data"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -292944,56 +303161,42 @@ extension TiledBlob: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.formatVersion) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.zoom) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.x) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.y) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.epoch) }() - case 6: try { try decoder.decodeSingularBytesField(value: &self.encodedData) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.formatVersion != 0 { - try visitor.visitSingularInt32Field(value: self.formatVersion, fieldNumber: 1) - } - if self.zoom != 0 { - try visitor.visitSingularInt32Field(value: self.zoom, fieldNumber: 2) - } - if self.x != 0 { - try visitor.visitSingularInt32Field(value: self.x, fieldNumber: 3) - } - if self.y != 0 { - try visitor.visitSingularInt32Field(value: self.y, fieldNumber: 4) - } - if self.epoch != 0 { - try visitor.visitSingularInt32Field(value: self.epoch, fieldNumber: 5) - } - if !self.encodedData.isEmpty { - try visitor.visitSingularBytesField(value: self.encodedData, fieldNumber: 6) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TiledBlob, rhs: TiledBlob) -> Bool { - if lhs.formatVersion != rhs.formatVersion {return false} - if lhs.zoom != rhs.zoom {return false} - if lhs.x != rhs.x {return false} - if lhs.y != rhs.y {return false} - if lhs.epoch != rhs.epoch {return false} - if lhs.encodedData != rhs.encodedData {return false} + public static func ==(lhs: TitanSubmitPlayerImageVoteForPoiOutProto, rhs: TitanSubmitPlayerImageVoteForPoiOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TimeToPlayableTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TimeToPlayableTelemetry" +extension TitanSubmitPlayerImageVoteForPoiOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .standard(proto: "ob_float"), + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "POI_NOT_FOUND"), + 3: .same(proto: "POI_IMAGE_NOT_FOUND"), + 6: .same(proto: "INVALID_REQUEST"), + ] +} + +extension TitanSubmitPlayerImageVoteForPoiProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitPlayerImageVoteForPoiProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "image_ids_to_vote_for"), + 2: .standard(proto: "image_ids_to_unvote"), + 3: .standard(proto: "poi_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -293002,44 +303205,43 @@ extension TimeToPlayableTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.obFloat) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.imageIdsToVoteFor) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.imageIdsToUnvote) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.poiID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.status != .undefined { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + if !self.imageIdsToVoteFor.isEmpty { + try visitor.visitRepeatedStringField(value: self.imageIdsToVoteFor, fieldNumber: 1) + } + if !self.imageIdsToUnvote.isEmpty { + try visitor.visitRepeatedStringField(value: self.imageIdsToUnvote, fieldNumber: 2) } - if self.obFloat != 0 { - try visitor.visitSingularFloatField(value: self.obFloat, fieldNumber: 2) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TimeToPlayableTelemetry, rhs: TimeToPlayableTelemetry) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.obFloat != rhs.obFloat {return false} + public static func ==(lhs: TitanSubmitPlayerImageVoteForPoiProto, rhs: TitanSubmitPlayerImageVoteForPoiProto) -> Bool { + if lhs.imageIdsToVoteFor != rhs.imageIdsToVoteFor {return false} + if lhs.imageIdsToUnvote != rhs.imageIdsToUnvote {return false} + if lhs.poiID != rhs.poiID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TimeToPlayableTelemetry.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNDEFINED"), - 1: .same(proto: "WARM"), - 2: .same(proto: "COLD"), - ] -} - -extension TimeWindow: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TimeWindow" +extension TitanSubmitPoiCategoryVoteRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitPoiCategoryVoteRecordProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "start_ms"), - 2: .standard(proto: "end_ms"), + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "player_submitted_category_ids"), + 3: .standard(proto: "category_suggestion"), + 4: .standard(proto: "developer_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -293048,39 +303250,47 @@ extension TimeWindow: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.startMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.endMs) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.playerSubmittedCategoryIds) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.categorySuggestion) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.developerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.startMs != 0 { - try visitor.visitSingularInt64Field(value: self.startMs, fieldNumber: 1) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) } - if self.endMs != 0 { - try visitor.visitSingularInt64Field(value: self.endMs, fieldNumber: 2) + if !self.playerSubmittedCategoryIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.playerSubmittedCategoryIds, fieldNumber: 2) + } + if !self.categorySuggestion.isEmpty { + try visitor.visitSingularStringField(value: self.categorySuggestion, fieldNumber: 3) + } + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TimeWindow, rhs: TimeWindow) -> Bool { - if lhs.startMs != rhs.startMs {return false} - if lhs.endMs != rhs.endMs {return false} + public static func ==(lhs: TitanSubmitPoiCategoryVoteRecordProto, rhs: TitanSubmitPoiCategoryVoteRecordProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.playerSubmittedCategoryIds != rhs.playerSubmittedCategoryIds {return false} + if lhs.categorySuggestion != rhs.categorySuggestion {return false} + if lhs.developerID != rhs.developerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TimedGroupChallengeDefinitionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TimedGroupChallengeDefinitionProto" +extension TitanSubmitPoiImageProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitPoiImageProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), - 2: .same(proto: "display"), - 3: .standard(proto: "start_time_ms_inclusive"), - 4: .standard(proto: "end_time_ms_exclusive"), - 5: .standard(proto: "challenge_criteria"), + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "async_file_upload"), + 3: .standard(proto: "developer_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -293089,54 +303299,42 @@ extension TimedGroupChallengeDefinitionProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._display) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.startTimeMsInclusive) }() - case 4: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMsExclusive) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._challengeCriteria) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.asyncFileUpload) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() default: break } } } public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) } - try { if let v = self._display { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if self.startTimeMsInclusive != 0 { - try visitor.visitSingularInt64Field(value: self.startTimeMsInclusive, fieldNumber: 3) + if self.asyncFileUpload != false { + try visitor.visitSingularBoolField(value: self.asyncFileUpload, fieldNumber: 2) } - if self.endTimeMsExclusive != 0 { - try visitor.visitSingularInt64Field(value: self.endTimeMsExclusive, fieldNumber: 4) + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) } - try { if let v = self._challengeCriteria { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TimedGroupChallengeDefinitionProto, rhs: TimedGroupChallengeDefinitionProto) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} - if lhs._display != rhs._display {return false} - if lhs.startTimeMsInclusive != rhs.startTimeMsInclusive {return false} - if lhs.endTimeMsExclusive != rhs.endTimeMsExclusive {return false} - if lhs._challengeCriteria != rhs._challengeCriteria {return false} + public static func ==(lhs: TitanSubmitPoiImageProto, rhs: TitanSubmitPoiImageProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.asyncFileUpload != rhs.asyncFileUpload {return false} + if lhs.developerID != rhs.developerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TimedGroupChallengePlayerStatsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TimedGroupChallengePlayerStatsProto" +extension TitanSubmitPoiLocationUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitPoiLocationUpdateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "challenges"), + 1: .standard(proto: "poi_id"), + 2: .same(proto: "location"), + 3: .standard(proto: "developer_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -293145,31 +303343,46 @@ extension TimedGroupChallengePlayerStatsProto: SwiftProtobuf.Message, SwiftProto // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeRepeatedMessageField(value: &self.challenges) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._location) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.challenges.isEmpty { - try visitor.visitRepeatedMessageField(value: self.challenges, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + try { if let v = self._location { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TimedGroupChallengePlayerStatsProto, rhs: TimedGroupChallengePlayerStatsProto) -> Bool { - if lhs.challenges != rhs.challenges {return false} + public static func ==(lhs: TitanSubmitPoiLocationUpdateProto, rhs: TitanSubmitPoiLocationUpdateProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs._location != rhs._location {return false} + if lhs.developerID != rhs.developerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TimedGroupChallengePlayerStatsProto.IndividualChallengeStats: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = TimedGroupChallengePlayerStatsProto.protoMessageName + ".IndividualChallengeStats" +extension TitanSubmitPoiTakedownRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitPoiTakedownRequestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), - 2: .standard(proto: "player_score"), + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "invalid_reason"), + 3: .standard(proto: "developer_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -293178,36 +303391,43 @@ extension TimedGroupChallengePlayerStatsProto.IndividualChallengeStats: SwiftPro // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.playerScore) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.invalidReason) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.developerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) } - if self.playerScore != 0 { - try visitor.visitSingularInt32Field(value: self.playerScore, fieldNumber: 2) + if self.invalidReason != .invalidReasonUnspecified { + try visitor.visitSingularEnumField(value: self.invalidReason, fieldNumber: 2) + } + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TimedGroupChallengePlayerStatsProto.IndividualChallengeStats, rhs: TimedGroupChallengePlayerStatsProto.IndividualChallengeStats) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} - if lhs.playerScore != rhs.playerScore {return false} + public static func ==(lhs: TitanSubmitPoiTakedownRequestProto, rhs: TitanSubmitPoiTakedownRequestProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.invalidReason != rhs.invalidReason {return false} + if lhs.developerID != rhs.developerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TimedGroupChallengeSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TimedGroupChallengeSectionProto" +extension TitanSubmitPoiTextMetadataUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitPoiTextMetadataUpdateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "challenge_id"), - 2: .standard(proto: "header_image_url"), + 1: .standard(proto: "poi_id"), + 2: .same(proto: "title"), + 3: .same(proto: "description"), + 4: .standard(proto: "developer_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -293216,39 +303436,46 @@ extension TimedGroupChallengeSectionProto: SwiftProtobuf.Message, SwiftProtobuf. // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.challengeID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.headerImageURL) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.title) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.developerID) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.challengeID.isEmpty { - try visitor.visitSingularStringField(value: self.challengeID, fieldNumber: 1) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) } - if !self.headerImageURL.isEmpty { - try visitor.visitSingularStringField(value: self.headerImageURL, fieldNumber: 2) + if !self.title.isEmpty { + try visitor.visitSingularStringField(value: self.title, fieldNumber: 2) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3) + } + if !self.developerID.isEmpty { + try visitor.visitSingularStringField(value: self.developerID, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TimedGroupChallengeSectionProto, rhs: TimedGroupChallengeSectionProto) -> Bool { - if lhs.challengeID != rhs.challengeID {return false} - if lhs.headerImageURL != rhs.headerImageURL {return false} + public static func ==(lhs: TitanSubmitPoiTextMetadataUpdateProto, rhs: TitanSubmitPoiTextMetadataUpdateProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.title != rhs.title {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.developerID != rhs.developerID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TimedGroupChallengeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TimedGroupChallengeSettingsProto" +extension TitanSubmitSponsorPoiLocationUpdateProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitSponsorPoiLocationUpdateProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "widget_auto_update_period_ms"), - 2: .standard(proto: "friend_leaderboard_background_update_period_ms"), - 3: .standard(proto: "friend_leaderboard_friends_per_rpc"), - 4: .standard(proto: "refresh_offline_friends_modulus"), - 5: .standard(proto: "refresh_non_event_friends_modulus"), + 1: .standard(proto: "poi_id"), + 2: .same(proto: "location"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -293257,50 +303484,41 @@ extension TimedGroupChallengeSettingsProto: SwiftProtobuf.Message, SwiftProtobuf // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.widgetAutoUpdatePeriodMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.friendLeaderboardBackgroundUpdatePeriodMs) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.friendLeaderboardFriendsPerRpc) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.refreshOfflineFriendsModulus) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.refreshNonEventFriendsModulus) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._location) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.widgetAutoUpdatePeriodMs != 0 { - try visitor.visitSingularInt32Field(value: self.widgetAutoUpdatePeriodMs, fieldNumber: 1) - } - if self.friendLeaderboardBackgroundUpdatePeriodMs != 0 { - try visitor.visitSingularInt64Field(value: self.friendLeaderboardBackgroundUpdatePeriodMs, fieldNumber: 2) - } - if self.friendLeaderboardFriendsPerRpc != 0 { - try visitor.visitSingularInt32Field(value: self.friendLeaderboardFriendsPerRpc, fieldNumber: 3) - } - if self.refreshOfflineFriendsModulus != 0 { - try visitor.visitSingularInt32Field(value: self.refreshOfflineFriendsModulus, fieldNumber: 4) - } - if self.refreshNonEventFriendsModulus != 0 { - try visitor.visitSingularInt32Field(value: self.refreshNonEventFriendsModulus, fieldNumber: 5) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) } + try { if let v = self._location { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TimedGroupChallengeSettingsProto, rhs: TimedGroupChallengeSettingsProto) -> Bool { - if lhs.widgetAutoUpdatePeriodMs != rhs.widgetAutoUpdatePeriodMs {return false} - if lhs.friendLeaderboardBackgroundUpdatePeriodMs != rhs.friendLeaderboardBackgroundUpdatePeriodMs {return false} - if lhs.friendLeaderboardFriendsPerRpc != rhs.friendLeaderboardFriendsPerRpc {return false} - if lhs.refreshOfflineFriendsModulus != rhs.refreshOfflineFriendsModulus {return false} - if lhs.refreshNonEventFriendsModulus != rhs.refreshNonEventFriendsModulus {return false} + public static func ==(lhs: TitanSubmitSponsorPoiLocationUpdateProto, rhs: TitanSubmitSponsorPoiLocationUpdateProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs._location != rhs._location {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TimedQuestSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TimedQuestSectionProto" +extension TitanSubmitSponsorPoiReportProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanSubmitSponsorPoiReportProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "quest_id"), + 1: .standard(proto: "poi_id"), + 2: .standard(proto: "invalid_reason"), + 3: .standard(proto: "additional_details"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -293309,31 +303527,43 @@ extension TimedQuestSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.questID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.poiID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.invalidReason) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.additionalDetails) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.questID.isEmpty { - try visitor.visitSingularStringField(value: self.questID, fieldNumber: 1) + if !self.poiID.isEmpty { + try visitor.visitSingularStringField(value: self.poiID, fieldNumber: 1) + } + if self.invalidReason != .sponsorPoiReasonUnspecified { + try visitor.visitSingularEnumField(value: self.invalidReason, fieldNumber: 2) + } + if !self.additionalDetails.isEmpty { + try visitor.visitSingularStringField(value: self.additionalDetails, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TimedQuestSectionProto, rhs: TimedQuestSectionProto) -> Bool { - if lhs.questID != rhs.questID {return false} + public static func ==(lhs: TitanSubmitSponsorPoiReportProto, rhs: TitanSubmitSponsorPoiReportProto) -> Bool { + if lhs.poiID != rhs.poiID {return false} + if lhs.invalidReason != rhs.invalidReason {return false} + if lhs.additionalDetails != rhs.additionalDetails {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Timestamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Timestamp" +extension TitanTitanGameClientTelemetryOmniProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TitanTitanGameClientTelemetryOmniProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "seconds"), - 2: .same(proto: "nanos"), + 1: .standard(proto: "poi_submission_telemetry"), + 2: .standard(proto: "poi_submission_photo_upload_error_telemetry"), + 3: .standard(proto: "player_metadata_telemetry"), + 1001: .standard(proto: "server_data"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -293342,26 +303572,80 @@ extension Timestamp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.seconds) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.nanos) }() + case 1: try { + var v: TitanPoiSubmissionTelemetry? + var hadOneofValue = false + if let current = self.telemetryData { + hadOneofValue = true + if case .poiSubmissionTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.telemetryData = .poiSubmissionTelemetry(v) + } + }() + case 2: try { + var v: TitanPoiSubmissionPhotoUploadErrorTelemetry? + var hadOneofValue = false + if let current = self.telemetryData { + hadOneofValue = true + if case .poiSubmissionPhotoUploadErrorTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.telemetryData = .poiSubmissionPhotoUploadErrorTelemetry(v) + } + }() + case 3: try { + var v: TitanPoiPlayerMetadataTelemetry? + var hadOneofValue = false + if let current = self.telemetryData { + hadOneofValue = true + if case .playerMetadataTelemetry(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.telemetryData = .playerMetadataTelemetry(v) + } + }() + case 1001: try { try decoder.decodeSingularMessageField(value: &self._serverData) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.seconds != 0 { - try visitor.visitSingularInt64Field(value: self.seconds, fieldNumber: 1) - } - if self.nanos != 0 { - try visitor.visitSingularInt32Field(value: self.nanos, fieldNumber: 2) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.telemetryData { + case .poiSubmissionTelemetry?: try { + guard case .poiSubmissionTelemetry(let v)? = self.telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + }() + case .poiSubmissionPhotoUploadErrorTelemetry?: try { + guard case .poiSubmissionPhotoUploadErrorTelemetry(let v)? = self.telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + }() + case .playerMetadataTelemetry?: try { + guard case .playerMetadataTelemetry(let v)? = self.telemetryData else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + }() + case nil: break } + try { if let v = self._serverData { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1001) + } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Timestamp, rhs: Timestamp) -> Bool { - if lhs.seconds != rhs.seconds {return false} - if lhs.nanos != rhs.nanos {return false} + public static func ==(lhs: TitanTitanGameClientTelemetryOmniProto, rhs: TitanTitanGameClientTelemetryOmniProto) -> Bool { + if lhs.telemetryData != rhs.telemetryData {return false} + if lhs._serverData != rhs._serverData {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -293544,7 +303828,7 @@ extension TodayViewSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } }() case 10: try { - var v: StampCardsSectionProto? + var v: StampCardSectionProto? var hadOneofValue = false if let current = self.section { hadOneofValue = true @@ -293557,7 +303841,7 @@ extension TodayViewSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } }() case 11: try { - var v: ChallengeQuestsSectionProto? + var v: ChallengeQuestSectionProto? var hadOneofValue = false if let current = self.section { hadOneofValue = true @@ -293570,7 +303854,7 @@ extension TodayViewSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } }() case 12: try { - var v: StoryQuestsSectionProto? + var v: StoryQuestSectionProto? var hadOneofValue = false if let current = self.section { hadOneofValue = true @@ -293721,6 +304005,87 @@ extension TodayViewSectionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } } +extension TodayViewSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TodayViewSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "v2_enabled"), + 2: .same(proto: "version"), + 3: .standard(proto: "today_view_display_order"), + 4: .standard(proto: "season_view_display_order"), + 5: .standard(proto: "special_view_display_order"), + 6: .standard(proto: "collapsible_cards_enabled"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.v2Enabled) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.version) }() + case 3: try { try decoder.decodeRepeatedEnumField(value: &self.todayViewDisplayOrder) }() + case 4: try { try decoder.decodeRepeatedEnumField(value: &self.seasonViewDisplayOrder) }() + case 5: try { try decoder.decodeRepeatedEnumField(value: &self.specialViewDisplayOrder) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.collapsibleCardsEnabled) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.v2Enabled != false { + try visitor.visitSingularBoolField(value: self.v2Enabled, fieldNumber: 1) + } + if self.version != 0 { + try visitor.visitSingularInt32Field(value: self.version, fieldNumber: 2) + } + if !self.todayViewDisplayOrder.isEmpty { + try visitor.visitPackedEnumField(value: self.todayViewDisplayOrder, fieldNumber: 3) + } + if !self.seasonViewDisplayOrder.isEmpty { + try visitor.visitPackedEnumField(value: self.seasonViewDisplayOrder, fieldNumber: 4) + } + if !self.specialViewDisplayOrder.isEmpty { + try visitor.visitPackedEnumField(value: self.specialViewDisplayOrder, fieldNumber: 5) + } + if self.collapsibleCardsEnabled != false { + try visitor.visitSingularBoolField(value: self.collapsibleCardsEnabled, fieldNumber: 6) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: TodayViewSettingsProto, rhs: TodayViewSettingsProto) -> Bool { + if lhs.v2Enabled != rhs.v2Enabled {return false} + if lhs.version != rhs.version {return false} + if lhs.todayViewDisplayOrder != rhs.todayViewDisplayOrder {return false} + if lhs.seasonViewDisplayOrder != rhs.seasonViewDisplayOrder {return false} + if lhs.specialViewDisplayOrder != rhs.specialViewDisplayOrder {return false} + if lhs.collapsibleCardsEnabled != rhs.collapsibleCardsEnabled {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension TodayViewSettingsProto.TodayViewSections: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "EVENT_SECTION_GENERATOR"), + 1: .same(proto: "POKECOIN_SECTION_GENERATOR"), + 2: .same(proto: "DAILY_STREAK_SECTION_GENERATOR"), + 3: .same(proto: "GYM_POKEMON_SECTION_GENERATOR"), + 4: .same(proto: "UPCOMING_EVENTS_SECTION_GENERATOR"), + 5: .same(proto: "UP_NEXT_SECTION_GENERATOR"), + 6: .same(proto: "STAMP_CARD_SECTION_GENERATOR"), + 7: .same(proto: "EVENT_BANNER_SECTION_GENERATOR"), + 8: .same(proto: "TIMED_STORY_QUEST_SECTION_GENERATOR"), + 9: .same(proto: "TIMED_GROUP_CHALLENGE_SECTION_GENERATOR"), + 10: .same(proto: "MINI_COLLECTION_SECTION_GENERATOR"), + 11: .same(proto: "CHALLENGE_QUEST_SECTION_GENERATOR"), + 12: .same(proto: "STORY_QUEST_SECTION_GENERATOR"), + 13: .same(proto: "CONTEST_POKEMON_SECTION_GENERATOR"), + ] +} + extension TopicProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".TopicProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -294495,6 +304860,286 @@ extension TradingProto.TradingPokemonProto: SwiftProtobuf.Message, SwiftProtobuf } } +extension TransferContestEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TransferContestEntryOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: TransferContestEntryOutProto, rhs: TransferContestEntryOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension TransferContestEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "OUT_OF_RANGE"), + 4: .same(proto: "ENTRY_TO_REMOVE_NOT_FOUND"), + 5: .same(proto: "POKEMON_ID_TO_TRANSFER_MISSING"), + 6: .same(proto: "POKEMON_TO_TRANSFER_DIFFERENT"), + 7: .same(proto: "CONTEST_LIMIT_REACHED"), + 8: .same(proto: "POKEMON_ID_TO_REPLACE_MISSING"), + 9: .same(proto: "CONTEST_ID_TO_REMOVE_MISSING"), + 10: .same(proto: "POKEMON_TO_REPLACE_NOT_FOUND"), + 11: .same(proto: "POKEMON_TO_REPLACE_DIFFERENT"), + 12: .same(proto: "PENDING_REWARD_ENTRY_NOT_ALLOWED"), + ] +} + +extension TransferContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TransferContestEntryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_id"), + 2: .standard(proto: "contest_schedule"), + 3: .standard(proto: "contest_id_to_remove"), + 4: .standard(proto: "contest_metric"), + 5: .standard(proto: "pokemon_id"), + 6: .standard(proto: "pokemon_id_to_transfer"), + 7: .standard(proto: "fort_lat_degrees"), + 8: .standard(proto: "fort_lng_degrees"), + 9: .standard(proto: "pokemon_id_to_replace"), + 10: .standard(proto: "entry_point"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestSchedule) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.contestIDToRemove) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 5: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 6: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonIDToTransfer) }() + case 7: try { try decoder.decodeSingularDoubleField(value: &self.fortLatDegrees) }() + case 8: try { try decoder.decodeSingularDoubleField(value: &self.fortLngDegrees) }() + case 9: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonIDToReplace) }() + case 10: try { try decoder.decodeSingularEnumField(value: &self.entryPoint) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + } + try { if let v = self._contestSchedule { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.contestIDToRemove.isEmpty { + try visitor.visitSingularStringField(value: self.contestIDToRemove, fieldNumber: 3) + } + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 5) + } + if self.pokemonIDToTransfer != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonIDToTransfer, fieldNumber: 6) + } + if self.fortLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLatDegrees, fieldNumber: 7) + } + if self.fortLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLngDegrees, fieldNumber: 8) + } + if self.pokemonIDToReplace != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonIDToReplace, fieldNumber: 9) + } + if self.entryPoint != .entryPointUnset { + try visitor.visitSingularEnumField(value: self.entryPoint, fieldNumber: 10) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: TransferContestEntryProto, rhs: TransferContestEntryProto) -> Bool { + if lhs.fortID != rhs.fortID {return false} + if lhs._contestSchedule != rhs._contestSchedule {return false} + if lhs.contestIDToRemove != rhs.contestIDToRemove {return false} + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.pokemonIDToTransfer != rhs.pokemonIDToTransfer {return false} + if lhs.fortLatDegrees != rhs.fortLatDegrees {return false} + if lhs.fortLngDegrees != rhs.fortLngDegrees {return false} + if lhs.pokemonIDToReplace != rhs.pokemonIDToReplace {return false} + if lhs.entryPoint != rhs.entryPoint {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension TransferPokemonSizeLeaderboardEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TransferPokemonSizeLeaderboardEntryOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: TransferPokemonSizeLeaderboardEntryOutProto, rhs: TransferPokemonSizeLeaderboardEntryOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension TransferPokemonSizeLeaderboardEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "OUT_OF_RANGE"), + 4: .same(proto: "ENTRY_TO_REMOVE_NOT_FOUND"), + 5: .same(proto: "POKEMON_ID_TO_TRANSFER_MISSING"), + 6: .same(proto: "POKEMON_TO_TRANSFER_DIFFERENT"), + 7: .same(proto: "CONTEST_LIMIT_REACHED"), + 8: .same(proto: "POKEMON_ID_TO_REPLACE_MISSING"), + 9: .same(proto: "CONTEST_ID_TO_REMOVE_MISSING"), + 10: .same(proto: "POKEMON_TO_REPLACE_NOT_FOUND"), + 11: .same(proto: "POKEMON_TO_REPLACE_DIFFERENT"), + 12: .same(proto: "PENDING_REWARD_ENTRY_NOT_ALLOWED"), + ] +} + +extension TransferPokemonSizeLeaderboardEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TransferPokemonSizeLeaderboardEntryProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_id"), + 2: .standard(proto: "contest_schedule"), + 3: .standard(proto: "contest_id_to_remove"), + 4: .standard(proto: "contest_metric"), + 5: .standard(proto: "pokemon_id"), + 6: .standard(proto: "pokemon_id_to_transfer"), + 7: .standard(proto: "fort_lat_degrees"), + 8: .standard(proto: "fort_lng_degrees"), + 9: .standard(proto: "pokemon_id_to_replace"), + 10: .standard(proto: "entry_point"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestSchedule) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.contestIDToRemove) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 5: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 6: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonIDToTransfer) }() + case 7: try { try decoder.decodeSingularDoubleField(value: &self.fortLatDegrees) }() + case 8: try { try decoder.decodeSingularDoubleField(value: &self.fortLngDegrees) }() + case 9: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonIDToReplace) }() + case 10: try { try decoder.decodeSingularEnumField(value: &self.entryPoint) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + } + try { if let v = self._contestSchedule { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if !self.contestIDToRemove.isEmpty { + try visitor.visitSingularStringField(value: self.contestIDToRemove, fieldNumber: 3) + } + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 5) + } + if self.pokemonIDToTransfer != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonIDToTransfer, fieldNumber: 6) + } + if self.fortLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLatDegrees, fieldNumber: 7) + } + if self.fortLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLngDegrees, fieldNumber: 8) + } + if self.pokemonIDToReplace != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonIDToReplace, fieldNumber: 9) + } + if self.entryPoint != .entryPointUnset { + try visitor.visitSingularEnumField(value: self.entryPoint, fieldNumber: 10) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: TransferPokemonSizeLeaderboardEntryProto, rhs: TransferPokemonSizeLeaderboardEntryProto) -> Bool { + if lhs.fortID != rhs.fortID {return false} + if lhs._contestSchedule != rhs._contestSchedule {return false} + if lhs.contestIDToRemove != rhs.contestIDToRemove {return false} + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.pokemonIDToTransfer != rhs.pokemonIDToTransfer {return false} + if lhs.fortLatDegrees != rhs.fortLatDegrees {return false} + if lhs.fortLngDegrees != rhs.fortLngDegrees {return false} + if lhs.pokemonIDToReplace != rhs.pokemonIDToReplace {return false} + if lhs.entryPoint != rhs.entryPoint {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension TransferPokemonToPokemonHomeOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".TransferPokemonToPokemonHomeOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -294618,48 +305263,6 @@ extension TransferPokemonToPokemonHomeProto: SwiftProtobuf.Message, SwiftProtobu } } -extension Transform: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Transform" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "translation"), - 2: .same(proto: "rotation"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._translation) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._rotation) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._translation { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._rotation { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Transform, rhs: Transform) -> Bool { - if lhs._translation != rhs._translation {return false} - if lhs._rotation != rhs._rotation {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension TransitMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".TransitMetadata" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -294815,11 +305418,10 @@ extension TriangleList.ExteriorEdgeBit: SwiftProtobuf._ProtoNameProviding { ] } -extension TutorialCompletRewards: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TutorialCompletRewards" +extension TutorialCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TutorialCreateDetail" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "tutorial_completation"), - 2: .standard(proto: "item_reward"), + 1: .standard(proto: "caught_in_wild"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -294828,35 +305430,31 @@ extension TutorialCompletRewards: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.tutorialCompletation) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.itemReward) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.caughtInWild) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.tutorialCompletation != .legalScreen { - try visitor.visitSingularEnumField(value: self.tutorialCompletation, fieldNumber: 1) - } - if !self.itemReward.isEmpty { - try visitor.visitRepeatedMessageField(value: self.itemReward, fieldNumber: 2) + if self.caughtInWild != false { + try visitor.visitSingularBoolField(value: self.caughtInWild, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TutorialCompletRewards, rhs: TutorialCompletRewards) -> Bool { - if lhs.tutorialCompletation != rhs.tutorialCompletation {return false} - if lhs.itemReward != rhs.itemReward {return false} + public static func ==(lhs: TutorialCreateDetail, rhs: TutorialCreateDetail) -> Bool { + if lhs.caughtInWild != rhs.caughtInWild {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension TutorialCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TutorialCreateDetail" +extension TutorialItemRewardsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TutorialItemRewardsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "caught_in_wild"), + 1: .same(proto: "tutorial"), + 2: .same(proto: "item"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -294865,21 +305463,26 @@ extension TutorialCreateDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImp // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.caughtInWild) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.tutorial) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.item) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.caughtInWild != false { - try visitor.visitSingularBoolField(value: self.caughtInWild, fieldNumber: 1) + if self.tutorial != .legalScreen { + try visitor.visitSingularEnumField(value: self.tutorial, fieldNumber: 1) + } + if !self.item.isEmpty { + try visitor.visitRepeatedMessageField(value: self.item, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TutorialCreateDetail, rhs: TutorialCreateDetail) -> Bool { - if lhs.caughtInWild != rhs.caughtInWild {return false} + public static func ==(lhs: TutorialItemRewardsProto, rhs: TutorialItemRewardsProto) -> Bool { + if lhs.tutorial != rhs.tutorial {return false} + if lhs.item != rhs.item {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -294955,21 +305558,22 @@ extension TutorialTelemetry.TutorialTelemetryId: SwiftProtobuf._ProtoNameProvidi ] } -extension TutorialsSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".TutorialsSettings" +extension TutorialsSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".TutorialsSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "tutorial_settings_bool_1"), - 2: .standard(proto: "tutorial_settings_bool_2"), - 3: .standard(proto: "tutorial_settings_bool_3"), - 4: .standard(proto: "tutorial_settings_bool_4"), - 5: .standard(proto: "tutorial_settings_bool_5"), - 6: .standard(proto: "tutorial_settings_bool_6"), - 7: .standard(proto: "tutorial_settings_bool_7"), - 8: .standard(proto: "tutorial_settings_bool_8"), - 9: .standard(proto: "tutorial_settings_bool_9"), - 10: .standard(proto: "tutorial_settings_bool_10"), - 11: .standard(proto: "tutorial_settings_bool_11"), - 12: .standard(proto: "tutorial_complete_reward"), + 1: .standard(proto: "loading_screen_tips_enabled"), + 2: .standard(proto: "friends_tutorial_enabled"), + 3: .standard(proto: "gifts_tutorial_enabled"), + 4: .standard(proto: "task_help_tutorials_enabled"), + 5: .standard(proto: "revives_and_potions_tutorial_enabled"), + 6: .standard(proto: "razzberry_catch_tutorial_enabled"), + 7: .standard(proto: "lures_tutorial_enabled"), + 8: .standard(proto: "trading_tutorial_enabled"), + 9: .standard(proto: "lucky_trade_tutorial_enabled"), + 10: .standard(proto: "lucky_friend_tutorial_enabled"), + 11: .standard(proto: "pokemon_tagging_tutorial_enabled"), + 12: .standard(proto: "tutorial_item_rewards"), + 13: .standard(proto: "type_effectiveness_tips_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -294978,76 +305582,81 @@ extension TutorialsSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool2) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool3) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool4) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool5) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool6) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool7) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool8) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool9) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool10) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.tutorialSettingsBool11) }() - case 12: try { try decoder.decodeRepeatedMessageField(value: &self.tutorialCompleteReward) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.loadingScreenTipsEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.friendsTutorialEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.giftsTutorialEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.taskHelpTutorialsEnabled) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.revivesAndPotionsTutorialEnabled) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.razzberryCatchTutorialEnabled) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.luresTutorialEnabled) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.tradingTutorialEnabled) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.luckyTradeTutorialEnabled) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.luckyFriendTutorialEnabled) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.pokemonTaggingTutorialEnabled) }() + case 12: try { try decoder.decodeRepeatedMessageField(value: &self.tutorialItemRewards) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.typeEffectivenessTipsEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.tutorialSettingsBool1 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool1, fieldNumber: 1) + if self.loadingScreenTipsEnabled != false { + try visitor.visitSingularBoolField(value: self.loadingScreenTipsEnabled, fieldNumber: 1) + } + if self.friendsTutorialEnabled != false { + try visitor.visitSingularBoolField(value: self.friendsTutorialEnabled, fieldNumber: 2) } - if self.tutorialSettingsBool2 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool2, fieldNumber: 2) + if self.giftsTutorialEnabled != false { + try visitor.visitSingularBoolField(value: self.giftsTutorialEnabled, fieldNumber: 3) } - if self.tutorialSettingsBool3 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool3, fieldNumber: 3) + if self.taskHelpTutorialsEnabled != false { + try visitor.visitSingularBoolField(value: self.taskHelpTutorialsEnabled, fieldNumber: 4) } - if self.tutorialSettingsBool4 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool4, fieldNumber: 4) + if self.revivesAndPotionsTutorialEnabled != false { + try visitor.visitSingularBoolField(value: self.revivesAndPotionsTutorialEnabled, fieldNumber: 5) } - if self.tutorialSettingsBool5 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool5, fieldNumber: 5) + if self.razzberryCatchTutorialEnabled != false { + try visitor.visitSingularBoolField(value: self.razzberryCatchTutorialEnabled, fieldNumber: 6) } - if self.tutorialSettingsBool6 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool6, fieldNumber: 6) + if self.luresTutorialEnabled != false { + try visitor.visitSingularBoolField(value: self.luresTutorialEnabled, fieldNumber: 7) } - if self.tutorialSettingsBool7 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool7, fieldNumber: 7) + if self.tradingTutorialEnabled != false { + try visitor.visitSingularBoolField(value: self.tradingTutorialEnabled, fieldNumber: 8) } - if self.tutorialSettingsBool8 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool8, fieldNumber: 8) + if self.luckyTradeTutorialEnabled != false { + try visitor.visitSingularBoolField(value: self.luckyTradeTutorialEnabled, fieldNumber: 9) } - if self.tutorialSettingsBool9 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool9, fieldNumber: 9) + if self.luckyFriendTutorialEnabled != false { + try visitor.visitSingularBoolField(value: self.luckyFriendTutorialEnabled, fieldNumber: 10) } - if self.tutorialSettingsBool10 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool10, fieldNumber: 10) + if self.pokemonTaggingTutorialEnabled != false { + try visitor.visitSingularBoolField(value: self.pokemonTaggingTutorialEnabled, fieldNumber: 11) } - if self.tutorialSettingsBool11 != false { - try visitor.visitSingularBoolField(value: self.tutorialSettingsBool11, fieldNumber: 11) + if !self.tutorialItemRewards.isEmpty { + try visitor.visitRepeatedMessageField(value: self.tutorialItemRewards, fieldNumber: 12) } - if !self.tutorialCompleteReward.isEmpty { - try visitor.visitRepeatedMessageField(value: self.tutorialCompleteReward, fieldNumber: 12) + if self.typeEffectivenessTipsEnabled != false { + try visitor.visitSingularBoolField(value: self.typeEffectivenessTipsEnabled, fieldNumber: 13) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: TutorialsSettings, rhs: TutorialsSettings) -> Bool { - if lhs.tutorialSettingsBool1 != rhs.tutorialSettingsBool1 {return false} - if lhs.tutorialSettingsBool2 != rhs.tutorialSettingsBool2 {return false} - if lhs.tutorialSettingsBool3 != rhs.tutorialSettingsBool3 {return false} - if lhs.tutorialSettingsBool4 != rhs.tutorialSettingsBool4 {return false} - if lhs.tutorialSettingsBool5 != rhs.tutorialSettingsBool5 {return false} - if lhs.tutorialSettingsBool6 != rhs.tutorialSettingsBool6 {return false} - if lhs.tutorialSettingsBool7 != rhs.tutorialSettingsBool7 {return false} - if lhs.tutorialSettingsBool8 != rhs.tutorialSettingsBool8 {return false} - if lhs.tutorialSettingsBool9 != rhs.tutorialSettingsBool9 {return false} - if lhs.tutorialSettingsBool10 != rhs.tutorialSettingsBool10 {return false} - if lhs.tutorialSettingsBool11 != rhs.tutorialSettingsBool11 {return false} - if lhs.tutorialCompleteReward != rhs.tutorialCompleteReward {return false} + public static func ==(lhs: TutorialsSettingsProto, rhs: TutorialsSettingsProto) -> Bool { + if lhs.loadingScreenTipsEnabled != rhs.loadingScreenTipsEnabled {return false} + if lhs.friendsTutorialEnabled != rhs.friendsTutorialEnabled {return false} + if lhs.giftsTutorialEnabled != rhs.giftsTutorialEnabled {return false} + if lhs.taskHelpTutorialsEnabled != rhs.taskHelpTutorialsEnabled {return false} + if lhs.revivesAndPotionsTutorialEnabled != rhs.revivesAndPotionsTutorialEnabled {return false} + if lhs.razzberryCatchTutorialEnabled != rhs.razzberryCatchTutorialEnabled {return false} + if lhs.luresTutorialEnabled != rhs.luresTutorialEnabled {return false} + if lhs.tradingTutorialEnabled != rhs.tradingTutorialEnabled {return false} + if lhs.luckyTradeTutorialEnabled != rhs.luckyTradeTutorialEnabled {return false} + if lhs.luckyFriendTutorialEnabled != rhs.luckyFriendTutorialEnabled {return false} + if lhs.pokemonTaggingTutorialEnabled != rhs.pokemonTaggingTutorialEnabled {return false} + if lhs.tutorialItemRewards != rhs.tutorialItemRewards {return false} + if lhs.typeEffectivenessTipsEnabled != rhs.typeEffectivenessTipsEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -295139,72 +305748,6 @@ extension TwoWaySharedFriendshipDataProto.SharedMigrations: SwiftProtobuf.Messag } } -extension Type: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Type" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "fields"), - 3: .same(proto: "oneofs"), - 4: .same(proto: "options"), - 5: .standard(proto: "source_context"), - 6: .same(proto: "syntax"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.name) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.fields) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.oneofs) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.options) }() - case 5: try { try decoder.decodeSingularMessageField(value: &self._sourceContext) }() - case 6: try { try decoder.decodeSingularEnumField(value: &self.syntax) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.name.isEmpty { - try visitor.visitSingularStringField(value: self.name, fieldNumber: 1) - } - if !self.fields.isEmpty { - try visitor.visitRepeatedMessageField(value: self.fields, fieldNumber: 2) - } - if !self.oneofs.isEmpty { - try visitor.visitRepeatedStringField(value: self.oneofs, fieldNumber: 3) - } - if !self.options.isEmpty { - try visitor.visitRepeatedMessageField(value: self.options, fieldNumber: 4) - } - try { if let v = self._sourceContext { - try visitor.visitSingularMessageField(value: v, fieldNumber: 5) - } }() - if self.syntax != .proto2 { - try visitor.visitSingularEnumField(value: self.syntax, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Type, rhs: Type) -> Bool { - if lhs.name != rhs.name {return false} - if lhs.fields != rhs.fields {return false} - if lhs.oneofs != rhs.oneofs {return false} - if lhs.options != rhs.options {return false} - if lhs._sourceContext != rhs._sourceContext {return false} - if lhs.syntax != rhs.syntax {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension TypeEffectiveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".TypeEffectiveSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -295243,181 +305786,6 @@ extension TypeEffectiveSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._Mess } } -extension UInt32Value: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UInt32Value" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt32Field(value: &self.value) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.value != 0 { - try visitor.visitSingularUInt32Field(value: self.value, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UInt32Value, rhs: UInt32Value) -> Bool { - if lhs.value != rhs.value {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UInt64Value: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UInt64Value" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.value) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.value != 0 { - try visitor.visitSingularUInt64Field(value: self.value, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UInt64Value, rhs: UInt64Value) -> Bool { - if lhs.value != rhs.value {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UUID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UUID" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "upper"), - 2: .same(proto: "lower"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularUInt64Field(value: &self.upper) }() - case 2: try { try decoder.decodeSingularUInt64Field(value: &self.lower) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.upper != 0 { - try visitor.visitSingularUInt64Field(value: self.upper, fieldNumber: 1) - } - if self.lower != 0 { - try visitor.visitSingularUInt64Field(value: self.lower, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UUID, rhs: UUID) -> Bool { - if lhs.upper != rhs.upper {return false} - if lhs.lower != rhs.lower {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UnblockAccountOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UnblockAccountOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UnblockAccountOutProto, rhs: UnblockAccountOutProto) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UnblockAccountOutProto.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_NOT_BLOCKED"), - 3: .same(proto: "ERROR_PLAYER_DOES_NOT_EXIST"), - ] -} - -extension UnblockAccountProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UnblockAccountProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "blockee_nia_account_id"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.blockeeNiaAccountID) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.blockeeNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.blockeeNiaAccountID, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UnblockAccountProto, rhs: UnblockAccountProto) -> Bool { - if lhs.blockeeNiaAccountID != rhs.blockeeNiaAccountID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension UncommentAnnotationTestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UncommentAnnotationTestProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -295985,14 +306353,87 @@ extension UpdateBreadcrumbHistoryResponseProto: SwiftProtobuf.Message, SwiftProt try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdateBreadcrumbHistoryResponseProto, rhs: UpdateBreadcrumbHistoryResponseProto) -> Bool { + public static func ==(lhs: UpdateBreadcrumbHistoryResponseProto, rhs: UpdateBreadcrumbHistoryResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension UpdateBreadcrumbHistoryResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), + ] +} + +extension UpdateBulkPlayerLocationRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdateBulkPlayerLocationRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "location_ping_update"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.locationPingUpdate) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.locationPingUpdate.isEmpty { + try visitor.visitRepeatedMessageField(value: self.locationPingUpdate, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UpdateBulkPlayerLocationRequestProto, rhs: UpdateBulkPlayerLocationRequestProto) -> Bool { + if lhs.locationPingUpdate != rhs.locationPingUpdate {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension UpdateBulkPlayerLocationResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdateBulkPlayerLocationResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UpdateBulkPlayerLocationResponseProto, rhs: UpdateBulkPlayerLocationResponseProto) -> Bool { if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension UpdateBreadcrumbHistoryResponseProto.Status: SwiftProtobuf._ProtoNameProviding { +extension UpdateBulkPlayerLocationResponseProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), @@ -296001,12 +306442,12 @@ extension UpdateBreadcrumbHistoryResponseProto.Status: SwiftProtobuf._ProtoNameP ] } -extension UpdateCombatDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateCombatDataProto" +extension UpdateCombatData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdateCombatData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_commun_combat_data"), - 3: .standard(proto: "ob_int32_2"), + 1: .standard(proto: "rpc_id"), + 2: .same(proto: "action"), + 3: .standard(proto: "combat_request_counter"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -296015,9 +306456,9 @@ extension UpdateCombatDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._obCommunCombatData) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._action) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.combatRequestCounter) }() default: break } } @@ -296028,22 +306469,22 @@ extension UpdateCombatDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - try { if let v = self._obCommunCombatData { + try { if let v = self._action { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 3) + if self.combatRequestCounter != 0 { + try visitor.visitSingularInt32Field(value: self.combatRequestCounter, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdateCombatDataProto, rhs: UpdateCombatDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs._obCommunCombatData != rhs._obCommunCombatData {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: UpdateCombatData, rhs: UpdateCombatData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs._action != rhs._action {return false} + if lhs.combatRequestCounter != rhs.combatRequestCounter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -296125,6 +306566,7 @@ extension UpdateCombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem 1: .standard(proto: "combat_id"), 2: .same(proto: "action"), 3: .standard(proto: "debug_log"), + 4: .standard(proto: "combat_request_counter"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -296136,6 +306578,7 @@ extension UpdateCombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem case 1: try { try decoder.decodeSingularStringField(value: &self.combatID) }() case 2: try { try decoder.decodeSingularMessageField(value: &self._action) }() case 3: try { try decoder.decodeSingularStringField(value: &self.debugLog) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.combatRequestCounter) }() default: break } } @@ -296155,6 +306598,9 @@ extension UpdateCombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem if !self.debugLog.isEmpty { try visitor.visitSingularStringField(value: self.debugLog, fieldNumber: 3) } + if self.combatRequestCounter != 0 { + try visitor.visitSingularInt32Field(value: self.combatRequestCounter, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } @@ -296162,35 +306608,36 @@ extension UpdateCombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem if lhs.combatID != rhs.combatID {return false} if lhs._action != rhs._action {return false} if lhs.debugLog != rhs.debugLog {return false} + if lhs.combatRequestCounter != rhs.combatRequestCounter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension UpdateCombatResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateCombatResponseDataProto" +extension UpdateCombatResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdateCombatResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), 3: .same(proto: "result"), - 4: .standard(proto: "ob_commun_web_combat_state"), + 4: .same(proto: "combat"), ] fileprivate class _StorageClass { - var _obInt32: Int32 = 0 - var _obUint32: UInt32 = 0 + var _rpcID: Int32 = 0 + var _roundTripTimeMs: UInt32 = 0 var _result: UpdateCombatOutProto.Result = .unset - var _obCommunWebCombatState: ObCommunWebCombatStateProto? = nil + var _combat: CombatForLogProto? = nil static let defaultInstance = _StorageClass() private init() {} init(copying source: _StorageClass) { - _obInt32 = source._obInt32 - _obUint32 = source._obUint32 + _rpcID = source._rpcID + _roundTripTimeMs = source._roundTripTimeMs _result = source._result - _obCommunWebCombatState = source._obCommunWebCombatState + _combat = source._combat } } @@ -296209,10 +306656,10 @@ extension UpdateCombatResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &_storage._obUint32) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &_storage._rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &_storage._roundTripTimeMs) }() case 3: try { try decoder.decodeSingularEnumField(value: &_storage._result) }() - case 4: try { try decoder.decodeSingularMessageField(value: &_storage._obCommunWebCombatState) }() + case 4: try { try decoder.decodeSingularMessageField(value: &_storage._combat) }() default: break } } @@ -296225,31 +306672,31 @@ extension UpdateCombatResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if _storage._obInt32 != 0 { - try visitor.visitSingularInt32Field(value: _storage._obInt32, fieldNumber: 1) + if _storage._rpcID != 0 { + try visitor.visitSingularInt32Field(value: _storage._rpcID, fieldNumber: 1) } - if _storage._obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: _storage._obUint32, fieldNumber: 2) + if _storage._roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: _storage._roundTripTimeMs, fieldNumber: 2) } if _storage._result != .unset { try visitor.visitSingularEnumField(value: _storage._result, fieldNumber: 3) } - try { if let v = _storage._obCommunWebCombatState { + try { if let v = _storage._combat { try visitor.visitSingularMessageField(value: v, fieldNumber: 4) } }() } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdateCombatResponseDataProto, rhs: UpdateCombatResponseDataProto) -> Bool { + public static func ==(lhs: UpdateCombatResponseData, rhs: UpdateCombatResponseData) -> Bool { if lhs._storage !== rhs._storage { let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in let _storage = _args.0 let rhs_storage = _args.1 - if _storage._obInt32 != rhs_storage._obInt32 {return false} - if _storage._obUint32 != rhs_storage._obUint32 {return false} + if _storage._rpcID != rhs_storage._rpcID {return false} + if _storage._roundTripTimeMs != rhs_storage._roundTripTimeMs {return false} if _storage._result != rhs_storage._result {return false} - if _storage._obCommunWebCombatState != rhs_storage._obCommunWebCombatState {return false} + if _storage._combat != rhs_storage._combat {return false} return true } if !storagesAreEqual {return false} @@ -296345,10 +306792,10 @@ extension UpdateCombatResponseTimeTelemetry: SwiftProtobuf.Message, SwiftProtobu } } -extension UpdateFacebookStatusOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateFacebookStatusOutProto" +extension UpdateContestEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdateContestEntryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), + 1: .same(proto: "status"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -296357,81 +306804,55 @@ extension UpdateFacebookStatusOutProto: SwiftProtobuf.Message, SwiftProtobuf._Me // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdateFacebookStatusOutProto, rhs: UpdateFacebookStatusOutProto) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: UpdateContestEntryOutProto, rhs: UpdateContestEntryOutProto) -> Bool { + if lhs.status != rhs.status {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension UpdateFacebookStatusOutProto.Result: SwiftProtobuf._ProtoNameProviding { +extension UpdateContestEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_PLAYER_NOT_FOUND"), - 4: .same(proto: "ERROR_FACEBOOK_API"), - 5: .same(proto: "ERROR_ALREADY_EXISTS"), - ] -} - -extension UpdateFacebookStatusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateFacebookStatusProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "fb_access_token"), - 2: .standard(proto: "force_update"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "OUT_OF_RANGE"), + 4: .same(proto: "ENTERED_POKEMON_NOT_AVAILABLE"), + 5: .same(proto: "POKEMON_ID_TO_REPLACE_MISSING"), + 6: .same(proto: "POKEMON_TO_REPLACE_DIFFERENT"), + 7: .same(proto: "PLAYER_LIMIT_REACHED"), + 8: .same(proto: "CONTEST_LIMIT_REACHED"), + 9: .same(proto: "SAME_CYCLE_TRADE_NOT_ALLOWED"), + 10: .same(proto: "SAME_SEASON_WINNER_NOT_ALLOWED"), + 11: .same(proto: "POKEMON_TO_REPLACE_NOT_FOUND"), + 12: .same(proto: "PENDING_REWARD_ENTRY_NOT_ALLOWED"), ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.fbAccessToken) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.forceUpdate) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.fbAccessToken.isEmpty { - try visitor.visitSingularStringField(value: self.fbAccessToken, fieldNumber: 1) - } - if self.forceUpdate != false { - try visitor.visitSingularBoolField(value: self.forceUpdate, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UpdateFacebookStatusProto, rhs: UpdateFacebookStatusProto) -> Bool { - if lhs.fbAccessToken != rhs.fbAccessToken {return false} - if lhs.forceUpdate != rhs.forceUpdate {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } } -extension UpdateFriendshipRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateFriendshipRequest" +extension UpdateContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdateContestEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "friend_id"), - 2: .standard(proto: "friend_profile"), - 3: .standard(proto: "friend_nia_account_id"), + 1: .standard(proto: "fort_id"), + 2: .standard(proto: "contest_schedule"), + 3: .standard(proto: "contest_metric"), + 4: .standard(proto: "pokemon_id"), + 5: .standard(proto: "pokemon_id_to_replace"), + 6: .standard(proto: "fort_lat_degrees"), + 7: .standard(proto: "fort_lng_degrees"), + 8: .standard(proto: "entry_point"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -296440,9 +306861,14 @@ extension UpdateFriendshipRequest: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.friendID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._friendProfile) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.friendNiaAccountID) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestSchedule) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() + case 4: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 5: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonIDToReplace) }() + case 6: try { try decoder.decodeSingularDoubleField(value: &self.fortLatDegrees) }() + case 7: try { try decoder.decodeSingularDoubleField(value: &self.fortLngDegrees) }() + case 8: try { try decoder.decodeSingularEnumField(value: &self.entryPoint) }() default: break } } @@ -296453,188 +306879,47 @@ extension UpdateFriendshipRequest: SwiftProtobuf.Message, SwiftProtobuf._Message // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if !self.friendID.isEmpty { - try visitor.visitSingularStringField(value: self.friendID, fieldNumber: 1) + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) } - try { if let v = self._friendProfile { + try { if let v = self._contestSchedule { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - if !self.friendNiaAccountID.isEmpty { - try visitor.visitSingularStringField(value: self.friendNiaAccountID, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UpdateFriendshipRequest, rhs: UpdateFriendshipRequest) -> Bool { - if lhs.friendID != rhs.friendID {return false} - if lhs._friendProfile != rhs._friendProfile {return false} - if lhs.friendNiaAccountID != rhs.friendNiaAccountID {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UpdateFriendshipRequest.FriendProfileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = UpdateFriendshipRequest.protoMessageName + ".FriendProfileProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "nickname"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.nickname) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.nickname.isEmpty { - try visitor.visitSingularStringField(value: self.nickname, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UpdateFriendshipRequest.FriendProfileProto, rhs: UpdateFriendshipRequest.FriendProfileProto) -> Bool { - if lhs.nickname != rhs.nickname {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UpdateFriendshipResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateFriendshipResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UpdateFriendshipResponse, rhs: UpdateFriendshipResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UpdateFriendshipResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_NOT_FRIEND"), - 4: .same(proto: "ERROR_NICKNAME_WRONG_FORMAT"), - 5: .same(proto: "ERROR_FILTERED_NICKNAME"), - 6: .same(proto: "ERROR_EXCEEDED_CHANGE_LIMIT"), - ] -} - -extension UpdateIncomingGameInviteRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateIncomingGameInviteRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "app_key"), - 2: .standard(proto: "new_status"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.appKey) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.newStatus) }() - default: break - } + try { if let v = self._contestMetric { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 4) } - } - - public func traverse(visitor: inout V) throws { - if !self.appKey.isEmpty { - try visitor.visitSingularStringField(value: self.appKey, fieldNumber: 1) + if self.pokemonIDToReplace != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonIDToReplace, fieldNumber: 5) } - if self.newStatus != .unset { - try visitor.visitSingularEnumField(value: self.newStatus, fieldNumber: 2) + if self.fortLatDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLatDegrees, fieldNumber: 6) } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UpdateIncomingGameInviteRequest, rhs: UpdateIncomingGameInviteRequest) -> Bool { - if lhs.appKey != rhs.appKey {return false} - if lhs.newStatus != rhs.newStatus {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UpdateIncomingGameInviteRequest.NewStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SEEN"), - 2: .same(proto: "READ"), - ] -} - -extension UpdateIncomingGameInviteResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateIncomingGameInviteResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } + if self.fortLngDegrees != 0 { + try visitor.visitSingularDoubleField(value: self.fortLngDegrees, fieldNumber: 7) } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + if self.entryPoint != .entryPointUnset { + try visitor.visitSingularEnumField(value: self.entryPoint, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdateIncomingGameInviteResponse, rhs: UpdateIncomingGameInviteResponse) -> Bool { - if lhs.result != rhs.result {return false} + public static func ==(lhs: UpdateContestEntryProto, rhs: UpdateContestEntryProto) -> Bool { + if lhs.fortID != rhs.fortID {return false} + if lhs._contestSchedule != rhs._contestSchedule {return false} + if lhs._contestMetric != rhs._contestMetric {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.pokemonIDToReplace != rhs.pokemonIDToReplace {return false} + if lhs.fortLatDegrees != rhs.fortLatDegrees {return false} + if lhs.fortLngDegrees != rhs.fortLngDegrees {return false} + if lhs.entryPoint != rhs.entryPoint {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension UpdateIncomingGameInviteResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - ] -} - extension UpdateInvasionBattleOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UpdateInvasionBattleOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -296763,27 +307048,60 @@ extension UpdateInvasionBattleProto.UpdateType: SwiftProtobuf._ProtoNameProvidin ] } -extension UpdateNotificationOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateNotificationOutProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() +extension UpdateIrisSpawnDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdateIrisSpawnDataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_id"), + 2: .standard(proto: "updated_anchors"), + 3: .standard(proto: "event_id"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.updatedAnchors) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.eventID) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if !self.fortID.isEmpty { + try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) + } + if !self.updatedAnchors.isEmpty { + try visitor.visitRepeatedMessageField(value: self.updatedAnchors, fieldNumber: 2) + } + if self.eventID != 0 { + try visitor.visitSingularInt32Field(value: self.eventID, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdateNotificationOutProto, rhs: UpdateNotificationOutProto) -> Bool { + public static func ==(lhs: UpdateIrisSpawnDataProto, rhs: UpdateIrisSpawnDataProto) -> Bool { + if lhs.fortID != rhs.fortID {return false} + if lhs.updatedAnchors != rhs.updatedAnchors {return false} + if lhs.eventID != rhs.eventID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension UpdateNotificationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateNotificationProto" +extension UpdateIrisSpawnDataProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_UNKNOWN"), + ] +} + +extension UpdateNotificationOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdateNotificationOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "notification_ids"), 2: .standard(proto: "create_timestamp_ms"), @@ -296817,7 +307135,7 @@ extension UpdateNotificationProto: SwiftProtobuf.Message, SwiftProtobuf._Message try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdateNotificationProto, rhs: UpdateNotificationProto) -> Bool { + public static func ==(lhs: UpdateNotificationOutProto, rhs: UpdateNotificationOutProto) -> Bool { if lhs.notificationIds != rhs.notificationIds {return false} if lhs.createTimestampMs != rhs.createTimestampMs {return false} if lhs.state != rhs.state {return false} @@ -296826,13 +307144,12 @@ extension UpdateNotificationProto: SwiftProtobuf.Message, SwiftProtobuf._Message } } -extension UpdatePhoneNumberRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdatePhoneNumberRequest" +extension UpdateNotificationProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdateNotificationProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "phone_number"), - 2: .standard(proto: "verification_code"), - 3: .standard(proto: "country_code"), - 4: .standard(proto: "contact_id"), + 1: .standard(proto: "notification_ids"), + 2: .standard(proto: "create_timestamp_ms"), + 3: .same(proto: "state"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -296841,46 +307158,40 @@ extension UpdatePhoneNumberRequest: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.phoneNumber) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.verificationCode) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.countryCode) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.contactID) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.notificationIds) }() + case 2: try { try decoder.decodeRepeatedInt64Field(value: &self.createTimestampMs) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.state) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.phoneNumber.isEmpty { - try visitor.visitSingularStringField(value: self.phoneNumber, fieldNumber: 1) - } - if !self.verificationCode.isEmpty { - try visitor.visitSingularStringField(value: self.verificationCode, fieldNumber: 2) + if !self.notificationIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.notificationIds, fieldNumber: 1) } - if !self.countryCode.isEmpty { - try visitor.visitSingularStringField(value: self.countryCode, fieldNumber: 3) + if !self.createTimestampMs.isEmpty { + try visitor.visitPackedInt64Field(value: self.createTimestampMs, fieldNumber: 2) } - if !self.contactID.isEmpty { - try visitor.visitSingularStringField(value: self.contactID, fieldNumber: 4) + if self.state != .unsetState { + try visitor.visitSingularEnumField(value: self.state, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdatePhoneNumberRequest, rhs: UpdatePhoneNumberRequest) -> Bool { - if lhs.phoneNumber != rhs.phoneNumber {return false} - if lhs.verificationCode != rhs.verificationCode {return false} - if lhs.countryCode != rhs.countryCode {return false} - if lhs.contactID != rhs.contactID {return false} + public static func ==(lhs: UpdateNotificationProto, rhs: UpdateNotificationProto) -> Bool { + if lhs.notificationIds != rhs.notificationIds {return false} + if lhs.createTimestampMs != rhs.createTimestampMs {return false} + if lhs.state != rhs.state {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension UpdatePhoneNumberResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdatePhoneNumberResponse" +extension UpdatePokemonSizeLeaderboardEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdatePokemonSizeLeaderboardEntryOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .standard(proto: "error_message"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -296890,7 +307201,6 @@ extension UpdatePhoneNumberResponse: SwiftProtobuf.Message, SwiftProtobuf._Messa // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.errorMessage) }() default: break } } @@ -296900,65 +307210,17 @@ extension UpdatePhoneNumberResponse: SwiftProtobuf.Message, SwiftProtobuf._Messa if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.errorMessage.isEmpty { - try visitor.visitSingularStringField(value: self.errorMessage, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdatePhoneNumberResponse, rhs: UpdatePhoneNumberResponse) -> Bool { + public static func ==(lhs: UpdatePokemonSizeLeaderboardEntryOutProto, rhs: UpdatePokemonSizeLeaderboardEntryOutProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.errorMessage != rhs.errorMessage {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension UpdatePhoneNumberResponse.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_WRONG_VERIFICATION_CODE"), - 3: .same(proto: "ERROR_UNKNOWN"), - 4: .same(proto: "ERROR_CONTACT_NOT_FOUND"), - 5: .same(proto: "ERROR_TOO_FREQUENT_ATTEMPTS"), - 6: .same(proto: "ERROR_TOO_MANY_ATTEMPTS"), - ] -} - -extension UpdatePokemonSizeContestEntryOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdatePokemonSizeContestEntryOutProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.status != .unset { - try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UpdatePokemonSizeContestEntryOutProto, rhs: UpdatePokemonSizeContestEntryOutProto) -> Bool { - if lhs.status != rhs.status {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UpdatePokemonSizeContestEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { +extension UpdatePokemonSizeLeaderboardEntryOutProto.Status: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), 1: .same(proto: "SUCCESS"), @@ -296976,17 +307238,17 @@ extension UpdatePokemonSizeContestEntryOutProto.Status: SwiftProtobuf._ProtoName ] } -extension UpdatePokemonSizeContestEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdatePokemonSizeContestEntryProto" +extension UpdatePokemonSizeLeaderboardEntryProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UpdatePokemonSizeLeaderboardEntryProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "fort_id"), - 2: .same(proto: "schedule"), + 2: .standard(proto: "contest_schedule"), 3: .standard(proto: "contest_metric"), 4: .standard(proto: "pokemon_id"), - 5: .standard(proto: "replaced_pokemon_id"), + 5: .standard(proto: "pokemon_id_to_replace"), 6: .standard(proto: "fort_lat_degrees"), 7: .standard(proto: "fort_lng_degrees"), - 8: .standard(proto: "contest_entry"), + 8: .standard(proto: "entry_point"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -296996,13 +307258,13 @@ extension UpdatePokemonSizeContestEntryProto: SwiftProtobuf.Message, SwiftProtob // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._schedule) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._contestSchedule) }() case 3: try { try decoder.decodeSingularMessageField(value: &self._contestMetric) }() - case 4: try { try decoder.decodeSingularUInt64Field(value: &self.pokemonID) }() - case 5: try { try decoder.decodeSingularUInt64Field(value: &self.replacedPokemonID) }() + case 4: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 5: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonIDToReplace) }() case 6: try { try decoder.decodeSingularDoubleField(value: &self.fortLatDegrees) }() case 7: try { try decoder.decodeSingularDoubleField(value: &self.fortLngDegrees) }() - case 8: try { try decoder.decodeSingularEnumField(value: &self.contestEntry) }() + case 8: try { try decoder.decodeSingularEnumField(value: &self.entryPoint) }() default: break } } @@ -297016,17 +307278,17 @@ extension UpdatePokemonSizeContestEntryProto: SwiftProtobuf.Message, SwiftProtob if !self.fortID.isEmpty { try visitor.visitSingularStringField(value: self.fortID, fieldNumber: 1) } - try { if let v = self._schedule { + try { if let v = self._contestSchedule { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() try { if let v = self._contestMetric { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() if self.pokemonID != 0 { - try visitor.visitSingularUInt64Field(value: self.pokemonID, fieldNumber: 4) + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 4) } - if self.replacedPokemonID != 0 { - try visitor.visitSingularUInt64Field(value: self.replacedPokemonID, fieldNumber: 5) + if self.pokemonIDToReplace != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonIDToReplace, fieldNumber: 5) } if self.fortLatDegrees != 0 { try visitor.visitSingularDoubleField(value: self.fortLatDegrees, fieldNumber: 6) @@ -297034,21 +307296,21 @@ extension UpdatePokemonSizeContestEntryProto: SwiftProtobuf.Message, SwiftProtob if self.fortLngDegrees != 0 { try visitor.visitSingularDoubleField(value: self.fortLngDegrees, fieldNumber: 7) } - if self.contestEntry != .entryPointUnset { - try visitor.visitSingularEnumField(value: self.contestEntry, fieldNumber: 8) + if self.entryPoint != .entryPointUnset { + try visitor.visitSingularEnumField(value: self.entryPoint, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UpdatePokemonSizeContestEntryProto, rhs: UpdatePokemonSizeContestEntryProto) -> Bool { + public static func ==(lhs: UpdatePokemonSizeLeaderboardEntryProto, rhs: UpdatePokemonSizeLeaderboardEntryProto) -> Bool { if lhs.fortID != rhs.fortID {return false} - if lhs._schedule != rhs._schedule {return false} + if lhs._contestSchedule != rhs._contestSchedule {return false} if lhs._contestMetric != rhs._contestMetric {return false} if lhs.pokemonID != rhs.pokemonID {return false} - if lhs.replacedPokemonID != rhs.replacedPokemonID {return false} + if lhs.pokemonIDToReplace != rhs.pokemonIDToReplace {return false} if lhs.fortLatDegrees != rhs.fortLatDegrees {return false} if lhs.fortLngDegrees != rhs.fortLngDegrees {return false} - if lhs.contestEntry != rhs.contestEntry {return false} + if lhs.entryPoint != rhs.entryPoint {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -297144,115 +307406,6 @@ extension UpdatePostcardProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } -extension UpdateProfileRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateProfileRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "profile"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._profile) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._profile { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UpdateProfileRequest, rhs: UpdateProfileRequest) -> Bool { - if lhs._profile != rhs._profile {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UpdateProfileRequest.ProfileProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = UpdateProfileRequest.protoMessageName + ".ProfileProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "profile_name_app_key"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.profileNameAppKey) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.profileNameAppKey.isEmpty { - try visitor.visitSingularStringField(value: self.profileNameAppKey, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UpdateProfileRequest.ProfileProto, rhs: UpdateProfileRequest.ProfileProto) -> Bool { - if lhs.profileNameAppKey != rhs.profileNameAppKey {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UpdateProfileResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UpdateProfileResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "result"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.result != .unset { - try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UpdateProfileResponse, rhs: UpdateProfileResponse) -> Bool { - if lhs.result != rhs.result {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension UpdateProfileResponse.Result: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "UNSET"), - 1: .same(proto: "SUCCESS"), - 2: .same(proto: "ERROR_UNKNOWN"), - 3: .same(proto: "ERROR_EMPTY_PROFILE_NAME"), - ] -} - extension UpdateRouteDraftOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UpdateRouteDraftOutProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -297315,8 +307468,8 @@ extension UpdateRouteDraftOutProto.Result: SwiftProtobuf._ProtoNameProviding { extension UpdateRouteDraftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UpdateRouteDraftProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "route_id"), - 2: .standard(proto: "route_version"), + 4: .same(proto: "pause"), + 2: .standard(proto: "proposed_route_draft"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -297325,26 +307478,37 @@ extension UpdateRouteDraftProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.routeID) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.routeVersion) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._proposedRouteDraft) }() + case 4: try { + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) + if let v = v { + if self.nullablePause != nil {try decoder.handleConflictingOneOf()} + self.nullablePause = .pause(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if self.routeID != 0 { - try visitor.visitSingularInt64Field(value: self.routeID, fieldNumber: 1) - } - if self.routeVersion != 0 { - try visitor.visitSingularInt64Field(value: self.routeVersion, fieldNumber: 2) - } + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._proposedRouteDraft { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try { if case .pause(let v)? = self.nullablePause { + try visitor.visitSingularBoolField(value: v, fieldNumber: 4) + } }() try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: UpdateRouteDraftProto, rhs: UpdateRouteDraftProto) -> Bool { - if lhs.routeID != rhs.routeID {return false} - if lhs.routeVersion != rhs.routeVersion {return false} + if lhs.nullablePause != rhs.nullablePause {return false} + if lhs._proposedRouteDraft != rhs._proposedRouteDraft {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -297503,6 +307667,7 @@ extension UpdateVpsEventProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl 1: .standard(proto: "fort_id"), 2: .standard(proto: "updated_anchors"), 3: .standard(proto: "event_id"), + 4: .standard(proto: "updated_pokemon_placement"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -297514,6 +307679,7 @@ extension UpdateVpsEventProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl case 1: try { try decoder.decodeSingularStringField(value: &self.fortID) }() case 2: try { try decoder.decodeRepeatedMessageField(value: &self.updatedAnchors) }() case 3: try { try decoder.decodeSingularInt32Field(value: &self.eventID) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.updatedPokemonPlacement) }() default: break } } @@ -297529,6 +307695,9 @@ extension UpdateVpsEventProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl if self.eventID != 0 { try visitor.visitSingularInt32Field(value: self.eventID, fieldNumber: 3) } + if !self.updatedPokemonPlacement.isEmpty { + try visitor.visitRepeatedMessageField(value: self.updatedPokemonPlacement, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } @@ -297536,6 +307705,7 @@ extension UpdateVpsEventProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl if lhs.fortID != rhs.fortID {return false} if lhs.updatedAnchors != rhs.updatedAnchors {return false} if lhs.eventID != rhs.eventID {return false} + if lhs.updatedPokemonPlacement != rhs.updatedPokemonPlacement {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -297725,12 +307895,92 @@ extension UpgradePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } +extension UploadCombatClientLogOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UploadCombatClientLogOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UploadCombatClientLogOutProto, rhs: UploadCombatClientLogOutProto) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension UploadCombatClientLogOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_NOT_ENABLED"), + 3: .same(proto: "ERROR_TOO_MANY_REQUESTS"), + 4: .same(proto: "ERROR_INVALID_FORMAT"), + 5: .same(proto: "ERROR_EXCEEDS_SIZE_LIMIT"), + 6: .same(proto: "ERROR_INTERNAL_ERROR"), + ] +} + +extension UploadCombatClientLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UploadCombatClientLogProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "combat_client_log"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._combatClientLog) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._combatClientLog { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UploadCombatClientLogProto, rhs: UploadCombatClientLogProto) -> Bool { + if lhs._combatClientLog != rhs._combatClientLog {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension UploadManagementSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UploadManagementSettings" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "upload_management_enabled"), 2: .standard(proto: "upload_management_texture_size"), - 3: .standard(proto: "ob_bool"), + 3: .standard(proto: "enable_gcs_uploader"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -297741,7 +307991,7 @@ extension UploadManagementSettings: SwiftProtobuf.Message, SwiftProtobuf._Messag switch fieldNumber { case 1: try { try decoder.decodeSingularBoolField(value: &self.uploadManagementEnabled) }() case 2: try { try decoder.decodeSingularInt32Field(value: &self.uploadManagementTextureSize) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enableGcsUploader) }() default: break } } @@ -297754,8 +308004,8 @@ extension UploadManagementSettings: SwiftProtobuf.Message, SwiftProtobuf._Messag if self.uploadManagementTextureSize != 0 { try visitor.visitSingularInt32Field(value: self.uploadManagementTextureSize, fieldNumber: 2) } - if self.obBool != false { - try visitor.visitSingularBoolField(value: self.obBool, fieldNumber: 3) + if self.enableGcsUploader != false { + try visitor.visitSingularBoolField(value: self.enableGcsUploader, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } @@ -297763,7 +308013,7 @@ extension UploadManagementSettings: SwiftProtobuf.Message, SwiftProtobuf._Messag public static func ==(lhs: UploadManagementSettings, rhs: UploadManagementSettings) -> Bool { if lhs.uploadManagementEnabled != rhs.uploadManagementEnabled {return false} if lhs.uploadManagementTextureSize != rhs.uploadManagementTextureSize {return false} - if lhs.obBool != rhs.obBool {return false} + if lhs.enableGcsUploader != rhs.enableGcsUploader {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -297887,28 +308137,51 @@ extension UploadPoiPhotoByUrlProto: SwiftProtobuf.Message, SwiftProtobuf._Messag extension UploadRaidClientLogOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UploadRaidClientLogOutProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: UploadRaidClientLogOutProto, rhs: UploadRaidClientLogOutProto) -> Bool { + if lhs.result != rhs.result {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } +extension UploadRaidClientLogOutProto.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_NOT_ENABLED"), + 3: .same(proto: "ERROR_TOO_MANY_REQUESTS"), + 4: .same(proto: "ERROR_INVALID_FORMAT"), + 5: .same(proto: "ERROR_EXCEEDS_SIZE_LIMIT"), + ] +} + extension UploadRaidClientLogProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UploadRaidClientLogProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_raid_client_info"), - 2: .standard(proto: "ob_raid_client_logs"), + 1: .standard(proto: "raid_client_log"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -297917,8 +308190,7 @@ extension UploadRaidClientLogProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._obRaidClientInfo) }() - case 2: try { try decoder.decodeRepeatedMessageField(value: &self.obRaidClientLogs) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._raidClientLog) }() default: break } } @@ -297929,18 +308201,14 @@ extension UploadRaidClientLogProto: SwiftProtobuf.Message, SwiftProtobuf._Messag // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._obRaidClientInfo { + try { if let v = self._raidClientLog { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() - if !self.obRaidClientLogs.isEmpty { - try visitor.visitRepeatedMessageField(value: self.obRaidClientLogs, fieldNumber: 2) - } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: UploadRaidClientLogProto, rhs: UploadRaidClientLogProto) -> Bool { - if lhs._obRaidClientInfo != rhs._obRaidClientInfo {return false} - if lhs.obRaidClientLogs != rhs.obRaidClientLogs {return false} + if lhs._raidClientLog != rhs._raidClientLog {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -297997,7 +308265,6 @@ extension Upstream: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB 4: .same(proto: "probe"), 1: .standard(proto: "request_id"), 2: .same(proto: "token"), - 5: .standard(proto: "client_os"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -298034,7 +308301,6 @@ extension Upstream: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB self.message = .probe(v) } }() - case 5: try { try decoder.decodeSingularEnumField(value: &self.clientOs) }() default: break } } @@ -298062,9 +308328,6 @@ extension Upstream: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB }() case nil: break } - if self.clientOs != .osUnknown { - try visitor.visitSingularEnumField(value: self.clientOs, fieldNumber: 5) - } try unknownFields.traverse(visitor: &visitor) } @@ -298072,7 +308335,6 @@ extension Upstream: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB if lhs.message != rhs.message {return false} if lhs.requestID != rhs.requestID {return false} if lhs.token != rhs.token {return false} - if lhs.clientOs != rhs.clientOs {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -298167,7 +308429,7 @@ extension UseIncenseActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "result"), 2: .standard(proto: "applied_incense"), - 3: .standard(proto: "ob_loot"), + 3: .standard(proto: "awarded_items"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -298178,7 +308440,7 @@ extension UseIncenseActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() case 2: try { try decoder.decodeSingularMessageField(value: &self._appliedIncense) }() - case 3: try { try decoder.decodeSingularMessageField(value: &self._obLoot) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._awardedItems) }() default: break } } @@ -298195,7 +308457,7 @@ extension UseIncenseActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag try { if let v = self._appliedIncense { try visitor.visitSingularMessageField(value: v, fieldNumber: 2) } }() - try { if let v = self._obLoot { + try { if let v = self._awardedItems { try visitor.visitSingularMessageField(value: v, fieldNumber: 3) } }() try unknownFields.traverse(visitor: &visitor) @@ -298204,7 +308466,7 @@ extension UseIncenseActionOutProto: SwiftProtobuf.Message, SwiftProtobuf._Messag public static func ==(lhs: UseIncenseActionOutProto, rhs: UseIncenseActionOutProto) -> Bool { if lhs.result != rhs.result {return false} if lhs._appliedIncense != rhs._appliedIncense {return false} - if lhs._obLoot != rhs._obLoot {return false} + if lhs._awardedItems != rhs._awardedItems {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -298225,6 +308487,7 @@ extension UseIncenseActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm public static let protoMessageName: String = _protobuf_package + ".UseIncenseActionProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "incense_type"), + 2: .same(proto: "usage"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -298234,6 +308497,7 @@ extension UseIncenseActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.incenseType) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.usage) }() default: break } } @@ -298243,11 +308507,168 @@ extension UseIncenseActionProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm if self.incenseType != .unknown { try visitor.visitSingularEnumField(value: self.incenseType, fieldNumber: 1) } + if self.usage != .unknown { + try visitor.visitSingularEnumField(value: self.usage, fieldNumber: 2) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: UseIncenseActionProto, rhs: UseIncenseActionProto) -> Bool { if lhs.incenseType != rhs.incenseType {return false} + if lhs.usage != rhs.usage {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension UseIncenseActionProto.Usage: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNKNOWN"), + 1: .same(proto: "USE"), + 2: .same(proto: "PAUSE"), + 3: .same(proto: "RESUME"), + ] +} + +extension UseItemBulkHealOutProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UseItemBulkHealOutProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "heal_results"), + 3: .standard(proto: "remaining_item_count"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.healResults) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.remainingItemCount) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + if !self.healResults.isEmpty { + try visitor.visitRepeatedMessageField(value: self.healResults, fieldNumber: 2) + } + if self.remainingItemCount != 0 { + try visitor.visitSingularInt32Field(value: self.remainingItemCount, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UseItemBulkHealOutProto, rhs: UseItemBulkHealOutProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs.healResults != rhs.healResults {return false} + if lhs.remainingItemCount != rhs.remainingItemCount {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension UseItemBulkHealOutProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_BAD_REQUEST"), + ] +} + +extension UseItemBulkHealOutProto.HealResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = UseItemBulkHealOutProto.protoMessageName + ".HealResult" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "result"), + 2: .standard(proto: "pokemon_id"), + 3: .same(proto: "stamina"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.result) }() + case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.stamina) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.result != .unset { + try visitor.visitSingularEnumField(value: self.result, fieldNumber: 1) + } + if self.pokemonID != 0 { + try visitor.visitSingularFixed64Field(value: self.pokemonID, fieldNumber: 2) + } + if self.stamina != 0 { + try visitor.visitSingularInt32Field(value: self.stamina, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UseItemBulkHealOutProto.HealResult, rhs: UseItemBulkHealOutProto.HealResult) -> Bool { + if lhs.result != rhs.result {return false} + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.stamina != rhs.stamina {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension UseItemBulkHealOutProto.HealResult.Result: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR_NO_POKEMON"), + 3: .same(proto: "ERROR_CANNOT_USE"), + 4: .same(proto: "ERROR_DEPLOYED_TO_FORT"), + ] +} + +extension UseItemBulkHealProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UseItemBulkHealProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "item"), + 2: .standard(proto: "pokemon_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.item) }() + case 2: try { try decoder.decodeRepeatedFixed64Field(value: &self.pokemonID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.item != .unknown { + try visitor.visitSingularEnumField(value: self.item, fieldNumber: 1) + } + if !self.pokemonID.isEmpty { + try visitor.visitPackedFixed64Field(value: self.pokemonID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UseItemBulkHealProto, rhs: UseItemBulkHealProto) -> Bool { + if lhs.item != rhs.item {return false} + if lhs.pokemonID != rhs.pokemonID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -298425,6 +308846,7 @@ extension UseItemEggIncubatorProto: SwiftProtobuf.Message, SwiftProtobuf._Messag public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "item_id"), 2: .standard(proto: "pokemond_id"), + 3: .standard(proto: "eggs_home_widget_active"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -298435,6 +308857,7 @@ extension UseItemEggIncubatorProto: SwiftProtobuf.Message, SwiftProtobuf._Messag switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.itemID) }() case 2: try { try decoder.decodeSingularInt64Field(value: &self.pokemondID) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.eggsHomeWidgetActive) }() default: break } } @@ -298447,12 +308870,16 @@ extension UseItemEggIncubatorProto: SwiftProtobuf.Message, SwiftProtobuf._Messag if self.pokemondID != 0 { try visitor.visitSingularInt64Field(value: self.pokemondID, fieldNumber: 2) } + if self.eggsHomeWidgetActive != false { + try visitor.visitSingularBoolField(value: self.eggsHomeWidgetActive, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: UseItemEggIncubatorProto, rhs: UseItemEggIncubatorProto) -> Bool { if lhs.itemID != rhs.itemID {return false} if lhs.pokemondID != rhs.pokemondID {return false} + if lhs.eggsHomeWidgetActive != rhs.eggsHomeWidgetActive {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -298626,6 +309053,7 @@ extension UseItemMoveRerollProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI 2: .standard(proto: "pokemon_id"), 3: .standard(proto: "reroll_unlocked_move"), 4: .standard(proto: "target_elite_move"), + 5: .standard(proto: "target_special_move"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -298638,6 +309066,7 @@ extension UseItemMoveRerollProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI case 2: try { try decoder.decodeSingularFixed64Field(value: &self.pokemonID) }() case 3: try { try decoder.decodeSingularBoolField(value: &self.rerollUnlockedMove) }() case 4: try { try decoder.decodeSingularEnumField(value: &self.targetEliteMove) }() + case 5: try { try decoder.decodeSingularEnumField(value: &self.targetSpecialMove) }() default: break } } @@ -298656,6 +309085,9 @@ extension UseItemMoveRerollProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if self.targetEliteMove != .moveUnset { try visitor.visitSingularEnumField(value: self.targetEliteMove, fieldNumber: 4) } + if self.targetSpecialMove != .moveUnset { + try visitor.visitSingularEnumField(value: self.targetSpecialMove, fieldNumber: 5) + } try unknownFields.traverse(visitor: &visitor) } @@ -298664,6 +309096,7 @@ extension UseItemMoveRerollProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI if lhs.pokemonID != rhs.pokemonID {return false} if lhs.rerollUnlockedMove != rhs.rerollUnlockedMove {return false} if lhs.targetEliteMove != rhs.targetEliteMove {return false} + if lhs.targetSpecialMove != rhs.targetSpecialMove {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -299105,6 +309538,153 @@ extension UseItemXpBoostProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } +extension UseNonCombatMoveLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UseNonCombatMoveLogEntry" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokedex_id"), + 2: .standard(proto: "pokemon_display"), + 3: .standard(proto: "move_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.pokedexID) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._pokemonDisplay) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.moveID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.pokedexID != .missingno { + try visitor.visitSingularEnumField(value: self.pokedexID, fieldNumber: 1) + } + try { if let v = self._pokemonDisplay { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.moveID != .moveUnset { + try visitor.visitSingularEnumField(value: self.moveID, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UseNonCombatMoveLogEntry, rhs: UseNonCombatMoveLogEntry) -> Bool { + if lhs.pokedexID != rhs.pokedexID {return false} + if lhs._pokemonDisplay != rhs._pokemonDisplay {return false} + if lhs.moveID != rhs.moveID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension UseNonCombatMoveRequestProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UseNonCombatMoveRequestProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "pokemon_id"), + 2: .standard(proto: "move_type"), + 3: .standard(proto: "number_of_uses"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.pokemonID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.moveType) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.numberOfUses) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.pokemonID != 0 { + try visitor.visitSingularInt64Field(value: self.pokemonID, fieldNumber: 1) + } + if self.moveType != .unset { + try visitor.visitSingularEnumField(value: self.moveType, fieldNumber: 2) + } + if self.numberOfUses != 0 { + try visitor.visitSingularInt32Field(value: self.numberOfUses, fieldNumber: 3) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UseNonCombatMoveRequestProto, rhs: UseNonCombatMoveRequestProto) -> Bool { + if lhs.pokemonID != rhs.pokemonID {return false} + if lhs.moveType != rhs.moveType {return false} + if lhs.numberOfUses != rhs.numberOfUses {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension UseNonCombatMoveResponseProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UseNonCombatMoveResponseProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "status"), + 2: .standard(proto: "applied_bonus"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._appliedBonus) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.status != .unset { + try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) + } + try { if let v = self._appliedBonus { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: UseNonCombatMoveResponseProto, rhs: UseNonCombatMoveResponseProto) -> Bool { + if lhs.status != rhs.status {return false} + if lhs._appliedBonus != rhs._appliedBonus {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension UseNonCombatMoveResponseProto.Status: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "SUCCESS"), + 2: .same(proto: "ERROR"), + 3: .same(proto: "ERROR_NO_POKEMON"), + 4: .same(proto: "ERROR_NO_MOVE"), + 5: .same(proto: "ERROR_INSUFFICIENT_FUNDS"), + 6: .same(proto: "ERROR_EXCEEDS_BONUS_LIMIT"), + 7: .same(proto: "ERROR_NOT_ENABLED"), + ] +} + extension UserAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UserAttributesProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -299657,72 +310237,6 @@ extension UserAttributesProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl } } -extension UserGameDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UserGameDataProto" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "code_name"), - 2: .same(proto: "locale"), - 3: .standard(proto: "virtual_currency"), - 4: .standard(proto: "plfe_instance"), - 5: .same(proto: "email"), - 6: .standard(proto: "game_values"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.codeName) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._locale) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.virtualCurrency) }() - case 4: try { try decoder.decodeSingularUInt32Field(value: &self.plfeInstance) }() - case 5: try { try decoder.decodeSingularStringField(value: &self.email) }() - case 6: try { try decoder.decodeSingularBytesField(value: &self.gameValues) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - if !self.codeName.isEmpty { - try visitor.visitSingularStringField(value: self.codeName, fieldNumber: 1) - } - try { if let v = self._locale { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - if !self.virtualCurrency.isEmpty { - try visitor.visitRepeatedMessageField(value: self.virtualCurrency, fieldNumber: 3) - } - if self.plfeInstance != 0 { - try visitor.visitSingularUInt32Field(value: self.plfeInstance, fieldNumber: 4) - } - if !self.email.isEmpty { - try visitor.visitSingularStringField(value: self.email, fieldNumber: 5) - } - if !self.gameValues.isEmpty { - try visitor.visitSingularBytesField(value: self.gameValues, fieldNumber: 6) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: UserGameDataProto, rhs: UserGameDataProto) -> Bool { - if lhs.codeName != rhs.codeName {return false} - if lhs._locale != rhs._locale {return false} - if lhs.virtualCurrency != rhs.virtualCurrency {return false} - if lhs.plfeInstance != rhs.plfeInstance {return false} - if lhs.email != rhs.email {return false} - if lhs.gameValues != rhs.gameValues {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension UserIssueWeatherReport: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UserIssueWeatherReport" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -299773,12 +310287,12 @@ extension UserIssueWeatherReport: SwiftProtobuf.Message, SwiftProtobuf._MessageI } } -extension UsernameSuggestionSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".UsernameSuggestionSettings" +extension UsernameSuggestionSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".UsernameSuggestionSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .standard(proto: "feature_enabled"), - 2: .same(proto: "min"), - 3: .same(proto: "max"), + 2: .standard(proto: "num_suggestions_displayed"), + 3: .standard(proto: "num_suggestions_generated"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -299788,8 +310302,8 @@ extension UsernameSuggestionSettings: SwiftProtobuf.Message, SwiftProtobuf._Mess // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularBoolField(value: &self.featureEnabled) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.min) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.max) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numSuggestionsDisplayed) }() + case 3: try { try decoder.decodeSingularInt32Field(value: &self.numSuggestionsGenerated) }() default: break } } @@ -299799,19 +310313,19 @@ extension UsernameSuggestionSettings: SwiftProtobuf.Message, SwiftProtobuf._Mess if self.featureEnabled != false { try visitor.visitSingularBoolField(value: self.featureEnabled, fieldNumber: 1) } - if self.min != 0 { - try visitor.visitSingularInt32Field(value: self.min, fieldNumber: 2) + if self.numSuggestionsDisplayed != 0 { + try visitor.visitSingularInt32Field(value: self.numSuggestionsDisplayed, fieldNumber: 2) } - if self.max != 0 { - try visitor.visitSingularInt32Field(value: self.max, fieldNumber: 3) + if self.numSuggestionsGenerated != 0 { + try visitor.visitSingularInt32Field(value: self.numSuggestionsGenerated, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: UsernameSuggestionSettings, rhs: UsernameSuggestionSettings) -> Bool { + public static func ==(lhs: UsernameSuggestionSettingsProto, rhs: UsernameSuggestionSettingsProto) -> Bool { if lhs.featureEnabled != rhs.featureEnabled {return false} - if lhs.min != rhs.min {return false} - if lhs.max != rhs.max {return false} + if lhs.numSuggestionsDisplayed != rhs.numSuggestionsDisplayed {return false} + if lhs.numSuggestionsGenerated != rhs.numSuggestionsGenerated {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -299820,8 +310334,8 @@ extension UsernameSuggestionSettings: SwiftProtobuf.Message, SwiftProtobuf._Mess extension UsernameSuggestionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".UsernameSuggestionTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_suggest_1"), - 2: .standard(proto: "ob_suggest_2"), + 1: .standard(proto: "username_suggestion_telemetry_id"), + 2: .standard(proto: "name_entry_mode"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -299830,38 +310344,37 @@ extension UsernameSuggestionTelemetry: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.obSuggest1) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.obSuggest2) }() + case 1: try { try decoder.decodeSingularEnumField(value: &self.usernameSuggestionTelemetryID) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.nameEntryMode) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obSuggest1 != .undefinedUsernameSuggestionEvent { - try visitor.visitSingularEnumField(value: self.obSuggest1, fieldNumber: 1) + if self.usernameSuggestionTelemetryID != .undefinedUsernameSuggestionEvent { + try visitor.visitSingularEnumField(value: self.usernameSuggestionTelemetryID, fieldNumber: 1) } - if self.obSuggest2 != .suggestionEntryUndefinedUsernameEntryMode { - try visitor.visitSingularEnumField(value: self.obSuggest2, fieldNumber: 2) + if self.nameEntryMode != .undefinedUsernameEntryMode { + try visitor.visitSingularEnumField(value: self.nameEntryMode, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: UsernameSuggestionTelemetry, rhs: UsernameSuggestionTelemetry) -> Bool { - if lhs.obSuggest1 != rhs.obSuggest1 {return false} - if lhs.obSuggest2 != rhs.obSuggest2 {return false} + if lhs.usernameSuggestionTelemetryID != rhs.usernameSuggestionTelemetryID {return false} + if lhs.nameEntryMode != rhs.nameEntryMode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension VSSeekerScheduleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VSSeekerScheduleProto" +extension V1TelemetryAttribute: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".V1TelemetryAttribute" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "vs_seeker_season_name"), - 2: .standard(proto: "description_key"), - 3: .standard(proto: "vs_seeker_schedule_window_details"), - 4: .standard(proto: "vs_seeker_season_blog_url"), + 1: .same(proto: "field"), + 2: .same(proto: "value"), + 3: .same(proto: "timestamp"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -299870,48 +310383,163 @@ extension VSSeekerScheduleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.vsSeekerSeasonName) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.descriptionKey) }() - case 3: try { try decoder.decodeRepeatedMessageField(value: &self.vsSeekerScheduleWindowDetails) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.vsSeekerSeasonBlogURL) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._field) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._value) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.timestamp) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.vsSeekerSeasonName.isEmpty { - try visitor.visitSingularStringField(value: self.vsSeekerSeasonName, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._field { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._value { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + if self.timestamp != 0 { + try visitor.visitSingularInt64Field(value: self.timestamp, fieldNumber: 3) } - if !self.descriptionKey.isEmpty { - try visitor.visitSingularStringField(value: self.descriptionKey, fieldNumber: 2) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: V1TelemetryAttribute, rhs: V1TelemetryAttribute) -> Bool { + if lhs._field != rhs._field {return false} + if lhs._value != rhs._value {return false} + if lhs.timestamp != rhs.timestamp {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension V1TelemetryAttribute.Label: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = V1TelemetryAttribute.protoMessageName + ".Label" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "field"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._field) }() + default: break + } } - if !self.vsSeekerScheduleWindowDetails.isEmpty { - try visitor.visitRepeatedMessageField(value: self.vsSeekerScheduleWindowDetails, fieldNumber: 3) + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._field { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: V1TelemetryAttribute.Label, rhs: V1TelemetryAttribute.Label) -> Bool { + if lhs._field != rhs._field {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension V1TelemetryAttributeRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".V1TelemetryAttributeRecordProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "common"), + 2: .same(proto: "attribute"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._common) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._attribute) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._common { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._attribute { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: V1TelemetryAttributeRecordProto, rhs: V1TelemetryAttributeRecordProto) -> Bool { + if lhs._common != rhs._common {return false} + if lhs._attribute != rhs._attribute {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension V1TelemetryBatchProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".V1TelemetryBatchProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "environment_id"), + 2: .same(proto: "events"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.environmentID) }() + case 2: try { try decoder.decodeRepeatedMessageField(value: &self.events) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.environmentID.isEmpty { + try visitor.visitSingularStringField(value: self.environmentID, fieldNumber: 1) } - if !self.vsSeekerSeasonBlogURL.isEmpty { - try visitor.visitSingularStringField(value: self.vsSeekerSeasonBlogURL, fieldNumber: 4) + if !self.events.isEmpty { + try visitor.visitRepeatedMessageField(value: self.events, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VSSeekerScheduleProto, rhs: VSSeekerScheduleProto) -> Bool { - if lhs.vsSeekerSeasonName != rhs.vsSeekerSeasonName {return false} - if lhs.descriptionKey != rhs.descriptionKey {return false} - if lhs.vsSeekerScheduleWindowDetails != rhs.vsSeekerScheduleWindowDetails {return false} - if lhs.vsSeekerSeasonBlogURL != rhs.vsSeekerSeasonBlogURL {return false} + public static func ==(lhs: V1TelemetryBatchProto, rhs: V1TelemetryBatchProto) -> Bool { + if lhs.environmentID != rhs.environmentID {return false} + if lhs.events != rhs.events {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension VSSeekerScheduleSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VSSeekerScheduleSettingsProto" +extension V1TelemetryEventRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".V1TelemetryEventRecordProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "vs_seeker_schedule_setting_enabled"), - 2: .standard(proto: "ob_bool_2"), - 3: .standard(proto: "ob_bool_3"), - 4: .standard(proto: "vs_seeker_schedule"), + 1: .same(proto: "common"), + 2: .standard(proto: "event_name"), + 3: .standard(proto: "encoded_message"), + 4: .standard(proto: "facet_detail_name"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -299920,48 +310548,88 @@ extension VSSeekerScheduleSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.vsSeekerScheduleSettingEnabled) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool3) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.vsSeekerSchedule) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._common) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.eventName) }() + case 3: try { try decoder.decodeSingularBytesField(value: &self.encodedMessage) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.facetDetailName) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.vsSeekerScheduleSettingEnabled != false { - try visitor.visitSingularBoolField(value: self.vsSeekerScheduleSettingEnabled, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._common { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.eventName.isEmpty { + try visitor.visitSingularStringField(value: self.eventName, fieldNumber: 2) } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 2) + if !self.encodedMessage.isEmpty { + try visitor.visitSingularBytesField(value: self.encodedMessage, fieldNumber: 3) } - if self.obBool3 != false { - try visitor.visitSingularBoolField(value: self.obBool3, fieldNumber: 3) + if !self.facetDetailName.isEmpty { + try visitor.visitSingularStringField(value: self.facetDetailName, fieldNumber: 4) } - if !self.vsSeekerSchedule.isEmpty { - try visitor.visitRepeatedMessageField(value: self.vsSeekerSchedule, fieldNumber: 4) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: V1TelemetryEventRecordProto, rhs: V1TelemetryEventRecordProto) -> Bool { + if lhs._common != rhs._common {return false} + if lhs.eventName != rhs.eventName {return false} + if lhs.encodedMessage != rhs.encodedMessage {return false} + if lhs.facetDetailName != rhs.facetDetailName {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension V1TelemetryField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".V1TelemetryField" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "entity_name"), + 2: .standard(proto: "field_path"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.entityName) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.fieldPath) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.entityName.isEmpty { + try visitor.visitSingularStringField(value: self.entityName, fieldNumber: 1) + } + if !self.fieldPath.isEmpty { + try visitor.visitSingularStringField(value: self.fieldPath, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VSSeekerScheduleSettingsProto, rhs: VSSeekerScheduleSettingsProto) -> Bool { - if lhs.vsSeekerScheduleSettingEnabled != rhs.vsSeekerScheduleSettingEnabled {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.obBool3 != rhs.obBool3 {return false} - if lhs.vsSeekerSchedule != rhs.vsSeekerSchedule {return false} + public static func ==(lhs: V1TelemetryField, rhs: V1TelemetryField) -> Bool { + if lhs.entityName != rhs.entityName {return false} + if lhs.fieldPath != rhs.fieldPath {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension VSSeekerScheduleWindowDetailsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VSSeekerScheduleWindowDetailsProto" +extension V1TelemetryKey: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".V1TelemetryKey" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "start_time_ms"), - 2: .standard(proto: "end_time_ms"), - 3: .standard(proto: "vs_seeker_cups_in_window"), - 4: .standard(proto: "vs_seeker_schedule_window_details_sub_entrys"), + 1: .standard(proto: "key_name"), + 2: .same(proto: "value"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -299970,47 +310638,127 @@ extension VSSeekerScheduleWindowDetailsProto: SwiftProtobuf.Message, SwiftProtob // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt64Field(value: &self.startTimeMs) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMs) }() - case 3: try { try decoder.decodeRepeatedStringField(value: &self.vsSeekerCupsInWindow) }() - case 4: try { try decoder.decodeRepeatedMessageField(value: &self.vsSeekerScheduleWindowDetailsSubEntrys) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.keyName) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._value) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.startTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.startTimeMs, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if !self.keyName.isEmpty { + try visitor.visitSingularStringField(value: self.keyName, fieldNumber: 1) } - if self.endTimeMs != 0 { - try visitor.visitSingularInt64Field(value: self.endTimeMs, fieldNumber: 2) + try { if let v = self._value { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: V1TelemetryKey, rhs: V1TelemetryKey) -> Bool { + if lhs.keyName != rhs.keyName {return false} + if lhs._value != rhs._value {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension V1TelemetryMetadataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".V1TelemetryMetadataProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "user_id"), + 2: .standard(proto: "session_id"), + 3: .standard(proto: "record_id"), + 4: .standard(proto: "telemetry_scope_id"), + 5: .standard(proto: "is_queryable"), + 6: .standard(proto: "keyvalue_column"), + 7: .standard(proto: "processing_attempts_count"), + 8: .standard(proto: "pub_sub_message_id"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.userID) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.sessionID) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.recordID) }() + case 4: try { try decoder.decodeSingularEnumField(value: &self.telemetryScopeID) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.isQueryable) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.keyvalueColumn) }() + case 7: try { try decoder.decodeSingularUInt32Field(value: &self.processingAttemptsCount) }() + case 8: try { try decoder.decodeSingularStringField(value: &self.pubSubMessageID) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.userID.isEmpty { + try visitor.visitSingularStringField(value: self.userID, fieldNumber: 1) + } + if self.sessionID != 0 { + try visitor.visitSingularInt64Field(value: self.sessionID, fieldNumber: 2) + } + if !self.recordID.isEmpty { + try visitor.visitSingularStringField(value: self.recordID, fieldNumber: 3) + } + if self.telemetryScopeID != .unset { + try visitor.visitSingularEnumField(value: self.telemetryScopeID, fieldNumber: 4) + } + if self.isQueryable != false { + try visitor.visitSingularBoolField(value: self.isQueryable, fieldNumber: 5) } - if !self.vsSeekerCupsInWindow.isEmpty { - try visitor.visitRepeatedStringField(value: self.vsSeekerCupsInWindow, fieldNumber: 3) + if !self.keyvalueColumn.isEmpty { + try visitor.visitSingularStringField(value: self.keyvalueColumn, fieldNumber: 6) } - if !self.vsSeekerScheduleWindowDetailsSubEntrys.isEmpty { - try visitor.visitRepeatedMessageField(value: self.vsSeekerScheduleWindowDetailsSubEntrys, fieldNumber: 4) + if self.processingAttemptsCount != 0 { + try visitor.visitSingularUInt32Field(value: self.processingAttemptsCount, fieldNumber: 7) + } + if !self.pubSubMessageID.isEmpty { + try visitor.visitSingularStringField(value: self.pubSubMessageID, fieldNumber: 8) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VSSeekerScheduleWindowDetailsProto, rhs: VSSeekerScheduleWindowDetailsProto) -> Bool { - if lhs.startTimeMs != rhs.startTimeMs {return false} - if lhs.endTimeMs != rhs.endTimeMs {return false} - if lhs.vsSeekerCupsInWindow != rhs.vsSeekerCupsInWindow {return false} - if lhs.vsSeekerScheduleWindowDetailsSubEntrys != rhs.vsSeekerScheduleWindowDetailsSubEntrys {return false} + public static func ==(lhs: V1TelemetryMetadataProto, rhs: V1TelemetryMetadataProto) -> Bool { + if lhs.userID != rhs.userID {return false} + if lhs.sessionID != rhs.sessionID {return false} + if lhs.recordID != rhs.recordID {return false} + if lhs.telemetryScopeID != rhs.telemetryScopeID {return false} + if lhs.isQueryable != rhs.isQueryable {return false} + if lhs.keyvalueColumn != rhs.keyvalueColumn {return false} + if lhs.processingAttemptsCount != rhs.processingAttemptsCount {return false} + if lhs.pubSubMessageID != rhs.pubSubMessageID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension VSSeekerScheduleWindowDetailsSubEntrysProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VSSeekerScheduleWindowDetailsSubEntrysProto" +extension V1TelemetryMetadataProto.TelemetryScopeId: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .standard(proto: "ob_int64_1"), - 3: .standard(proto: "ob_int64_2"), + 0: .same(proto: "unset"), + 1: .same(proto: "platform_server"), + 2: .same(proto: "platform_client"), + 3: .same(proto: "game_server"), + 4: .same(proto: "game_client"), + ] +} + +extension V1TelemetryMetricRecordProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".V1TelemetryMetricRecordProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 3: .same(proto: "long"), + 4: .same(proto: "double"), + 5: .same(proto: "boolean"), + 1: .same(proto: "common"), + 2: .standard(proto: "metric_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -300019,31 +310767,165 @@ extension VSSeekerScheduleWindowDetailsSubEntrysProto: SwiftProtobuf.Message, Sw // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeSingularInt64Field(value: &self.obInt641) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.obInt642) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._common) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.metricID) }() + case 3: try { + var v: Int64? + try decoder.decodeSingularInt64Field(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .long(v) + } + }() + case 4: try { + var v: Double? + try decoder.decodeSingularDoubleField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .double(v) + } + }() + case 5: try { + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .boolean(v) + } + }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._common { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + if !self.metricID.isEmpty { + try visitor.visitSingularStringField(value: self.metricID, fieldNumber: 2) } - if self.obInt641 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt641, fieldNumber: 2) + switch self.value { + case .long?: try { + guard case .long(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularInt64Field(value: v, fieldNumber: 3) + }() + case .double?: try { + guard case .double(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularDoubleField(value: v, fieldNumber: 4) + }() + case .boolean?: try { + guard case .boolean(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularBoolField(value: v, fieldNumber: 5) + }() + case nil: break } - if self.obInt642 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt642, fieldNumber: 3) + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: V1TelemetryMetricRecordProto, rhs: V1TelemetryMetricRecordProto) -> Bool { + if lhs.value != rhs.value {return false} + if lhs._common != rhs._common {return false} + if lhs.metricID != rhs.metricID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension V1TelemetryMetricRecordProto.Kind: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "unspecified"), + 1: .same(proto: "gauge"), + 2: .same(proto: "delta"), + 3: .same(proto: "cumulative"), + ] +} + +extension V1TelemetryValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".V1TelemetryValue" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "int_value"), + 2: .standard(proto: "double_value"), + 3: .standard(proto: "string_value"), + 4: .standard(proto: "bool_value"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { + var v: Int64? + try decoder.decodeSingularInt64Field(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .intValue(v) + } + }() + case 2: try { + var v: Double? + try decoder.decodeSingularDoubleField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .doubleValue(v) + } + }() + case 3: try { + var v: String? + try decoder.decodeSingularStringField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .stringValue(v) + } + }() + case 4: try { + var v: Bool? + try decoder.decodeSingularBoolField(value: &v) + if let v = v { + if self.value != nil {try decoder.handleConflictingOneOf()} + self.value = .boolValue(v) + } + }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + switch self.value { + case .intValue?: try { + guard case .intValue(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularInt64Field(value: v, fieldNumber: 1) + }() + case .doubleValue?: try { + guard case .doubleValue(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularDoubleField(value: v, fieldNumber: 2) + }() + case .stringValue?: try { + guard case .stringValue(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularStringField(value: v, fieldNumber: 3) + }() + case .boolValue?: try { + guard case .boolValue(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularBoolField(value: v, fieldNumber: 4) + }() + case nil: break } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VSSeekerScheduleWindowDetailsSubEntrysProto, rhs: VSSeekerScheduleWindowDetailsSubEntrysProto) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.obInt641 != rhs.obInt641 {return false} - if lhs.obInt642 != rhs.obInt642 {return false} + public static func ==(lhs: V1TelemetryValue, rhs: V1TelemetryValue) -> Bool { + if lhs.value != rhs.value {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -300085,9 +310967,6 @@ extension ValidateNiaAppleAuthTokenResponseProto: SwiftProtobuf.Message, SwiftPr public static let protoMessageName: String = _protobuf_package + ".ValidateNiaAppleAuthTokenResponseProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "status"), - 2: .standard(proto: "apple_user_id"), - 3: .standard(proto: "apple_email"), - 4: .standard(proto: "apple_client_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -300097,9 +310976,6 @@ extension ValidateNiaAppleAuthTokenResponseProto: SwiftProtobuf.Message, SwiftPr // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularEnumField(value: &self.status) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.appleUserID) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.appleEmail) }() - case 4: try { try decoder.decodeSingularStringField(value: &self.appleClientID) }() default: break } } @@ -300109,23 +310985,11 @@ extension ValidateNiaAppleAuthTokenResponseProto: SwiftProtobuf.Message, SwiftPr if self.status != .unset { try visitor.visitSingularEnumField(value: self.status, fieldNumber: 1) } - if !self.appleUserID.isEmpty { - try visitor.visitSingularStringField(value: self.appleUserID, fieldNumber: 2) - } - if !self.appleEmail.isEmpty { - try visitor.visitSingularStringField(value: self.appleEmail, fieldNumber: 3) - } - if !self.appleClientID.isEmpty { - try visitor.visitSingularStringField(value: self.appleClientID, fieldNumber: 4) - } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: ValidateNiaAppleAuthTokenResponseProto, rhs: ValidateNiaAppleAuthTokenResponseProto) -> Bool { if lhs.status != rhs.status {return false} - if lhs.appleUserID != rhs.appleUserID {return false} - if lhs.appleEmail != rhs.appleEmail {return false} - if lhs.appleClientID != rhs.appleClientID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -300265,31 +311129,18 @@ extension Value: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase extension VasaClientAction: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".VasaClientAction" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "action"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.action) }() - default: break - } + while let _ = try decoder.nextFieldNumber() { } } public func traverse(visitor: inout V) throws { - if self.action != .invalidVasaClientAction { - try visitor.visitSingularEnumField(value: self.action, fieldNumber: 1) - } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: VasaClientAction, rhs: VasaClientAction) -> Bool { - if lhs.action != rhs.action {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -300302,65 +311153,21 @@ extension VasaClientAction.ActionEnum: SwiftProtobuf._ProtoNameProviding { ] } -extension Vector3: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".Vector3" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "x"), - 2: .same(proto: "y"), - 3: .same(proto: "z"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularFloatField(value: &self.x) }() - case 2: try { try decoder.decodeSingularFloatField(value: &self.y) }() - case 3: try { try decoder.decodeSingularFloatField(value: &self.z) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.x != 0 { - try visitor.visitSingularFloatField(value: self.x, fieldNumber: 1) - } - if self.y != 0 { - try visitor.visitSingularFloatField(value: self.y, fieldNumber: 2) - } - if self.z != 0 { - try visitor.visitSingularFloatField(value: self.z, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Vector3, rhs: Vector3) -> Bool { - if lhs.x != rhs.x {return false} - if lhs.y != rhs.y {return false} - if lhs.z != rhs.z {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension VerboseLogCombatSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VerboseLogCombatSettingsProto" +extension VerboseLogCombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VerboseLogCombatProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_bool_1"), - 2: .standard(proto: "ob_bool_2"), - 3: .standard(proto: "ob_bool_3"), - 4: .standard(proto: "ob_bool_4"), - 5: .standard(proto: "ob_bool_5"), - 6: .standard(proto: "ob_bool_6"), - 7: .standard(proto: "ob_bool_7"), - 8: .standard(proto: "ob_bool_8"), - 9: .standard(proto: "ob_bool_9"), - 10: .standard(proto: "ob_int32_1"), - 11: .standard(proto: "ob_bool_10"), - 12: .standard(proto: "ob_int32_2"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "enable_core_combat"), + 3: .standard(proto: "enable_combat_challenge_setup"), + 4: .standard(proto: "enable_combat_vs_seeker_setup"), + 5: .standard(proto: "enable_web_socket"), + 6: .standard(proto: "enable_on_application_focus"), + 7: .standard(proto: "enable_on_application_pause"), + 8: .standard(proto: "enable_on_application_quit"), + 9: .standard(proto: "enable_exception_caught"), + 10: .standard(proto: "progress_token_priority"), + 11: .standard(proto: "enable_rpc_error_data"), + 12: .standard(proto: "client_log_decay_time_in_hours"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -300369,100 +311176,100 @@ extension VerboseLogCombatSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._M // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.obBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.obBool2) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.obBool3) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.obBool4) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.obBool5) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.obBool6) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.obBool7) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.obBool8) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.obBool9) }() - case 10: try { try decoder.decodeSingularInt32Field(value: &self.obInt321) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.obBool10) }() - case 12: try { try decoder.decodeSingularInt32Field(value: &self.obInt322) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableCoreCombat) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enableCombatChallengeSetup) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.enableCombatVsSeekerSetup) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.enableWebSocket) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.enableOnApplicationFocus) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.enableOnApplicationPause) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.enableOnApplicationQuit) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.enableExceptionCaught) }() + case 10: try { try decoder.decodeSingularInt32Field(value: &self.progressTokenPriority) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.enableRpcErrorData) }() + case 12: try { try decoder.decodeSingularInt32Field(value: &self.clientLogDecayTimeInHours) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obBool1 != false { - try visitor.visitSingularBoolField(value: self.obBool1, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } - if self.obBool2 != false { - try visitor.visitSingularBoolField(value: self.obBool2, fieldNumber: 2) + if self.enableCoreCombat != false { + try visitor.visitSingularBoolField(value: self.enableCoreCombat, fieldNumber: 2) } - if self.obBool3 != false { - try visitor.visitSingularBoolField(value: self.obBool3, fieldNumber: 3) + if self.enableCombatChallengeSetup != false { + try visitor.visitSingularBoolField(value: self.enableCombatChallengeSetup, fieldNumber: 3) } - if self.obBool4 != false { - try visitor.visitSingularBoolField(value: self.obBool4, fieldNumber: 4) + if self.enableCombatVsSeekerSetup != false { + try visitor.visitSingularBoolField(value: self.enableCombatVsSeekerSetup, fieldNumber: 4) } - if self.obBool5 != false { - try visitor.visitSingularBoolField(value: self.obBool5, fieldNumber: 5) + if self.enableWebSocket != false { + try visitor.visitSingularBoolField(value: self.enableWebSocket, fieldNumber: 5) } - if self.obBool6 != false { - try visitor.visitSingularBoolField(value: self.obBool6, fieldNumber: 6) + if self.enableOnApplicationFocus != false { + try visitor.visitSingularBoolField(value: self.enableOnApplicationFocus, fieldNumber: 6) } - if self.obBool7 != false { - try visitor.visitSingularBoolField(value: self.obBool7, fieldNumber: 7) + if self.enableOnApplicationPause != false { + try visitor.visitSingularBoolField(value: self.enableOnApplicationPause, fieldNumber: 7) } - if self.obBool8 != false { - try visitor.visitSingularBoolField(value: self.obBool8, fieldNumber: 8) + if self.enableOnApplicationQuit != false { + try visitor.visitSingularBoolField(value: self.enableOnApplicationQuit, fieldNumber: 8) } - if self.obBool9 != false { - try visitor.visitSingularBoolField(value: self.obBool9, fieldNumber: 9) + if self.enableExceptionCaught != false { + try visitor.visitSingularBoolField(value: self.enableExceptionCaught, fieldNumber: 9) } - if self.obInt321 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt321, fieldNumber: 10) + if self.progressTokenPriority != 0 { + try visitor.visitSingularInt32Field(value: self.progressTokenPriority, fieldNumber: 10) } - if self.obBool10 != false { - try visitor.visitSingularBoolField(value: self.obBool10, fieldNumber: 11) + if self.enableRpcErrorData != false { + try visitor.visitSingularBoolField(value: self.enableRpcErrorData, fieldNumber: 11) } - if self.obInt322 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt322, fieldNumber: 12) + if self.clientLogDecayTimeInHours != 0 { + try visitor.visitSingularInt32Field(value: self.clientLogDecayTimeInHours, fieldNumber: 12) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VerboseLogCombatSettingsProto, rhs: VerboseLogCombatSettingsProto) -> Bool { - if lhs.obBool1 != rhs.obBool1 {return false} - if lhs.obBool2 != rhs.obBool2 {return false} - if lhs.obBool3 != rhs.obBool3 {return false} - if lhs.obBool4 != rhs.obBool4 {return false} - if lhs.obBool5 != rhs.obBool5 {return false} - if lhs.obBool6 != rhs.obBool6 {return false} - if lhs.obBool7 != rhs.obBool7 {return false} - if lhs.obBool8 != rhs.obBool8 {return false} - if lhs.obBool9 != rhs.obBool9 {return false} - if lhs.obInt321 != rhs.obInt321 {return false} - if lhs.obBool10 != rhs.obBool10 {return false} - if lhs.obInt322 != rhs.obInt322 {return false} + public static func ==(lhs: VerboseLogCombatProto, rhs: VerboseLogCombatProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.enableCoreCombat != rhs.enableCoreCombat {return false} + if lhs.enableCombatChallengeSetup != rhs.enableCombatChallengeSetup {return false} + if lhs.enableCombatVsSeekerSetup != rhs.enableCombatVsSeekerSetup {return false} + if lhs.enableWebSocket != rhs.enableWebSocket {return false} + if lhs.enableOnApplicationFocus != rhs.enableOnApplicationFocus {return false} + if lhs.enableOnApplicationPause != rhs.enableOnApplicationPause {return false} + if lhs.enableOnApplicationQuit != rhs.enableOnApplicationQuit {return false} + if lhs.enableExceptionCaught != rhs.enableExceptionCaught {return false} + if lhs.progressTokenPriority != rhs.progressTokenPriority {return false} + if lhs.enableRpcErrorData != rhs.enableRpcErrorData {return false} + if lhs.clientLogDecayTimeInHours != rhs.clientLogDecayTimeInHours {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension VerboseLogRaidSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VerboseLogRaidSettings" +extension VerboseLogRaidProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VerboseLogRaidProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "verbose_raid_bool_1"), - 2: .standard(proto: "verbose_raid_bool_2"), - 3: .standard(proto: "verbose_raid_bool_3"), - 4: .standard(proto: "verbose_raid_bool_4"), - 5: .standard(proto: "verbose_raid_bool_5"), - 6: .standard(proto: "verbose_raid_bool_6"), - 7: .standard(proto: "verbose_raid_bool_7"), - 8: .standard(proto: "verbose_raid_bool_8"), - 9: .standard(proto: "verbose_raid_bool_9"), - 10: .standard(proto: "verbose_raid_bool_10"), - 11: .standard(proto: "verbose_raid_bool_11"), - 12: .standard(proto: "verbose_raid_bool_12"), - 13: .standard(proto: "verbose_raid_bool_13"), - 14: .standard(proto: "verbose_raid_bool_14"), - 15: .standard(proto: "verbose_raid_bool_15"), - 16: .standard(proto: "verbose_raid_int32"), + 1: .same(proto: "enabled"), + 2: .standard(proto: "enable_join_lobby"), + 3: .standard(proto: "enable_leave_lobby"), + 4: .standard(proto: "enable_lobby_visibility"), + 5: .standard(proto: "enable_get_raid_details"), + 6: .standard(proto: "enable_start_raid_battle"), + 7: .standard(proto: "enable_attack_raid"), + 8: .standard(proto: "enable_send_raid_invitation"), + 9: .standard(proto: "enable_on_application_focus"), + 10: .standard(proto: "enable_on_application_pause"), + 11: .standard(proto: "enable_on_application_quit"), + 12: .standard(proto: "enable_exception_caught"), + 13: .standard(proto: "enable_progress_token"), + 14: .standard(proto: "enable_rpc_error_data"), + 15: .standard(proto: "enable_client_prediction_inconsistency_data"), + 16: .standard(proto: "client_log_decay_time_in_hours"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -300471,96 +311278,96 @@ extension VerboseLogRaidSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool1) }() - case 2: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool2) }() - case 3: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool3) }() - case 4: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool4) }() - case 5: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool5) }() - case 6: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool6) }() - case 7: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool7) }() - case 8: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool8) }() - case 9: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool9) }() - case 10: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool10) }() - case 11: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool11) }() - case 12: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool12) }() - case 13: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool13) }() - case 14: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool14) }() - case 15: try { try decoder.decodeSingularBoolField(value: &self.verboseRaidBool15) }() - case 16: try { try decoder.decodeSingularInt32Field(value: &self.verboseRaidInt32) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enableJoinLobby) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enableLeaveLobby) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.enableLobbyVisibility) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.enableGetRaidDetails) }() + case 6: try { try decoder.decodeSingularBoolField(value: &self.enableStartRaidBattle) }() + case 7: try { try decoder.decodeSingularBoolField(value: &self.enableAttackRaid) }() + case 8: try { try decoder.decodeSingularBoolField(value: &self.enableSendRaidInvitation) }() + case 9: try { try decoder.decodeSingularBoolField(value: &self.enableOnApplicationFocus) }() + case 10: try { try decoder.decodeSingularBoolField(value: &self.enableOnApplicationPause) }() + case 11: try { try decoder.decodeSingularBoolField(value: &self.enableOnApplicationQuit) }() + case 12: try { try decoder.decodeSingularBoolField(value: &self.enableExceptionCaught) }() + case 13: try { try decoder.decodeSingularBoolField(value: &self.enableProgressToken) }() + case 14: try { try decoder.decodeSingularBoolField(value: &self.enableRpcErrorData) }() + case 15: try { try decoder.decodeSingularBoolField(value: &self.enableClientPredictionInconsistencyData) }() + case 16: try { try decoder.decodeSingularInt32Field(value: &self.clientLogDecayTimeInHours) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.verboseRaidBool1 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool1, fieldNumber: 1) + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) } - if self.verboseRaidBool2 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool2, fieldNumber: 2) + if self.enableJoinLobby != false { + try visitor.visitSingularBoolField(value: self.enableJoinLobby, fieldNumber: 2) } - if self.verboseRaidBool3 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool3, fieldNumber: 3) + if self.enableLeaveLobby != false { + try visitor.visitSingularBoolField(value: self.enableLeaveLobby, fieldNumber: 3) } - if self.verboseRaidBool4 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool4, fieldNumber: 4) + if self.enableLobbyVisibility != false { + try visitor.visitSingularBoolField(value: self.enableLobbyVisibility, fieldNumber: 4) } - if self.verboseRaidBool5 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool5, fieldNumber: 5) + if self.enableGetRaidDetails != false { + try visitor.visitSingularBoolField(value: self.enableGetRaidDetails, fieldNumber: 5) } - if self.verboseRaidBool6 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool6, fieldNumber: 6) + if self.enableStartRaidBattle != false { + try visitor.visitSingularBoolField(value: self.enableStartRaidBattle, fieldNumber: 6) } - if self.verboseRaidBool7 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool7, fieldNumber: 7) + if self.enableAttackRaid != false { + try visitor.visitSingularBoolField(value: self.enableAttackRaid, fieldNumber: 7) } - if self.verboseRaidBool8 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool8, fieldNumber: 8) + if self.enableSendRaidInvitation != false { + try visitor.visitSingularBoolField(value: self.enableSendRaidInvitation, fieldNumber: 8) } - if self.verboseRaidBool9 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool9, fieldNumber: 9) + if self.enableOnApplicationFocus != false { + try visitor.visitSingularBoolField(value: self.enableOnApplicationFocus, fieldNumber: 9) } - if self.verboseRaidBool10 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool10, fieldNumber: 10) + if self.enableOnApplicationPause != false { + try visitor.visitSingularBoolField(value: self.enableOnApplicationPause, fieldNumber: 10) } - if self.verboseRaidBool11 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool11, fieldNumber: 11) + if self.enableOnApplicationQuit != false { + try visitor.visitSingularBoolField(value: self.enableOnApplicationQuit, fieldNumber: 11) } - if self.verboseRaidBool12 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool12, fieldNumber: 12) + if self.enableExceptionCaught != false { + try visitor.visitSingularBoolField(value: self.enableExceptionCaught, fieldNumber: 12) } - if self.verboseRaidBool13 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool13, fieldNumber: 13) + if self.enableProgressToken != false { + try visitor.visitSingularBoolField(value: self.enableProgressToken, fieldNumber: 13) } - if self.verboseRaidBool14 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool14, fieldNumber: 14) + if self.enableRpcErrorData != false { + try visitor.visitSingularBoolField(value: self.enableRpcErrorData, fieldNumber: 14) } - if self.verboseRaidBool15 != false { - try visitor.visitSingularBoolField(value: self.verboseRaidBool15, fieldNumber: 15) + if self.enableClientPredictionInconsistencyData != false { + try visitor.visitSingularBoolField(value: self.enableClientPredictionInconsistencyData, fieldNumber: 15) } - if self.verboseRaidInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.verboseRaidInt32, fieldNumber: 16) + if self.clientLogDecayTimeInHours != 0 { + try visitor.visitSingularInt32Field(value: self.clientLogDecayTimeInHours, fieldNumber: 16) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VerboseLogRaidSettings, rhs: VerboseLogRaidSettings) -> Bool { - if lhs.verboseRaidBool1 != rhs.verboseRaidBool1 {return false} - if lhs.verboseRaidBool2 != rhs.verboseRaidBool2 {return false} - if lhs.verboseRaidBool3 != rhs.verboseRaidBool3 {return false} - if lhs.verboseRaidBool4 != rhs.verboseRaidBool4 {return false} - if lhs.verboseRaidBool5 != rhs.verboseRaidBool5 {return false} - if lhs.verboseRaidBool6 != rhs.verboseRaidBool6 {return false} - if lhs.verboseRaidBool7 != rhs.verboseRaidBool7 {return false} - if lhs.verboseRaidBool8 != rhs.verboseRaidBool8 {return false} - if lhs.verboseRaidBool9 != rhs.verboseRaidBool9 {return false} - if lhs.verboseRaidBool10 != rhs.verboseRaidBool10 {return false} - if lhs.verboseRaidBool11 != rhs.verboseRaidBool11 {return false} - if lhs.verboseRaidBool12 != rhs.verboseRaidBool12 {return false} - if lhs.verboseRaidBool13 != rhs.verboseRaidBool13 {return false} - if lhs.verboseRaidBool14 != rhs.verboseRaidBool14 {return false} - if lhs.verboseRaidBool15 != rhs.verboseRaidBool15 {return false} - if lhs.verboseRaidInt32 != rhs.verboseRaidInt32 {return false} + public static func ==(lhs: VerboseLogRaidProto, rhs: VerboseLogRaidProto) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.enableJoinLobby != rhs.enableJoinLobby {return false} + if lhs.enableLeaveLobby != rhs.enableLeaveLobby {return false} + if lhs.enableLobbyVisibility != rhs.enableLobbyVisibility {return false} + if lhs.enableGetRaidDetails != rhs.enableGetRaidDetails {return false} + if lhs.enableStartRaidBattle != rhs.enableStartRaidBattle {return false} + if lhs.enableAttackRaid != rhs.enableAttackRaid {return false} + if lhs.enableSendRaidInvitation != rhs.enableSendRaidInvitation {return false} + if lhs.enableOnApplicationFocus != rhs.enableOnApplicationFocus {return false} + if lhs.enableOnApplicationPause != rhs.enableOnApplicationPause {return false} + if lhs.enableOnApplicationQuit != rhs.enableOnApplicationQuit {return false} + if lhs.enableExceptionCaught != rhs.enableExceptionCaught {return false} + if lhs.enableProgressToken != rhs.enableProgressToken {return false} + if lhs.enableRpcErrorData != rhs.enableRpcErrorData {return false} + if lhs.enableClientPredictionInconsistencyData != rhs.enableClientPredictionInconsistencyData {return false} + if lhs.clientLogDecayTimeInHours != rhs.clientLogDecayTimeInHours {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -300698,12 +311505,14 @@ extension ViewPointOfInterestImageTelemetry: SwiftProtobuf.Message, SwiftProtobu } } -extension VirtualCurrencyBalanceProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VirtualCurrencyBalanceProto" +extension VistaGeneralSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VistaGeneralSettingsProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "currency_type"), - 2: .same(proto: "balance"), - 3: .standard(proto: "fiat_purchased_balance"), + 1: .standard(proto: "is_feature_enabled"), + 2: .standard(proto: "is_vista_battle_enabled"), + 3: .standard(proto: "is_vista_encounters_enabled"), + 4: .standard(proto: "is_vista_map_enabled"), + 5: .standard(proto: "is_vista_spawns_enabled"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -300712,31 +311521,41 @@ extension VirtualCurrencyBalanceProto: SwiftProtobuf.Message, SwiftProtobuf._Mes // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.currencyType) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.balance) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.fiatPurchasedBalance) }() + case 1: try { try decoder.decodeSingularBoolField(value: &self.isFeatureEnabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.isVistaBattleEnabled) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.isVistaEncountersEnabled) }() + case 4: try { try decoder.decodeSingularBoolField(value: &self.isVistaMapEnabled) }() + case 5: try { try decoder.decodeSingularBoolField(value: &self.isVistaSpawnsEnabled) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.currencyType.isEmpty { - try visitor.visitSingularStringField(value: self.currencyType, fieldNumber: 1) + if self.isFeatureEnabled != false { + try visitor.visitSingularBoolField(value: self.isFeatureEnabled, fieldNumber: 1) } - if self.balance != 0 { - try visitor.visitSingularInt32Field(value: self.balance, fieldNumber: 2) + if self.isVistaBattleEnabled != false { + try visitor.visitSingularBoolField(value: self.isVistaBattleEnabled, fieldNumber: 2) } - if self.fiatPurchasedBalance != 0 { - try visitor.visitSingularInt32Field(value: self.fiatPurchasedBalance, fieldNumber: 3) + if self.isVistaEncountersEnabled != false { + try visitor.visitSingularBoolField(value: self.isVistaEncountersEnabled, fieldNumber: 3) + } + if self.isVistaMapEnabled != false { + try visitor.visitSingularBoolField(value: self.isVistaMapEnabled, fieldNumber: 4) + } + if self.isVistaSpawnsEnabled != false { + try visitor.visitSingularBoolField(value: self.isVistaSpawnsEnabled, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VirtualCurrencyBalanceProto, rhs: VirtualCurrencyBalanceProto) -> Bool { - if lhs.currencyType != rhs.currencyType {return false} - if lhs.balance != rhs.balance {return false} - if lhs.fiatPurchasedBalance != rhs.fiatPurchasedBalance {return false} + public static func ==(lhs: VistaGeneralSettingsProto, rhs: VistaGeneralSettingsProto) -> Bool { + if lhs.isFeatureEnabled != rhs.isFeatureEnabled {return false} + if lhs.isVistaBattleEnabled != rhs.isVistaBattleEnabled {return false} + if lhs.isVistaEncountersEnabled != rhs.isVistaEncountersEnabled {return false} + if lhs.isVistaMapEnabled != rhs.isVistaMapEnabled {return false} + if lhs.isVistaSpawnsEnabled != rhs.isVistaSpawnsEnabled {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -300747,6 +311566,8 @@ extension VpsAnchor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 1: .same(proto: "id"), 2: .same(proto: "payload"), + 3: .standard(proto: "payload_string"), + 4: .standard(proto: "hint_image_url"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -300757,6 +311578,8 @@ extension VpsAnchor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.id) }() case 2: try { try decoder.decodeSingularBytesField(value: &self.payload) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.payloadString) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.hintImageURL) }() default: break } } @@ -300769,12 +311592,20 @@ extension VpsAnchor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation if !self.payload.isEmpty { try visitor.visitSingularBytesField(value: self.payload, fieldNumber: 2) } + if !self.payloadString.isEmpty { + try visitor.visitSingularStringField(value: self.payloadString, fieldNumber: 3) + } + if !self.hintImageURL.isEmpty { + try visitor.visitSingularStringField(value: self.hintImageURL, fieldNumber: 4) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: VpsAnchor, rhs: VpsAnchor) -> Bool { if lhs.id != rhs.id {return false} if lhs.payload != rhs.payload {return false} + if lhs.payloadString != rhs.payloadString {return false} + if lhs.hintImageURL != rhs.hintImageURL {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -300911,6 +311742,7 @@ extension VpsEventWrapperProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp 2: .standard(proto: "event_id"), 3: .standard(proto: "event_duration"), 4: .same(proto: "anchors"), + 5: .standard(proto: "placed_pokemon"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -300923,6 +311755,7 @@ extension VpsEventWrapperProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp case 2: try { try decoder.decodeSingularInt32Field(value: &self.eventID) }() case 3: try { try decoder.decodeSingularMessageField(value: &self._eventDuration) }() case 4: try { try decoder.decodeRepeatedMessageField(value: &self.anchors) }() + case 5: try { try decoder.decodeRepeatedMessageField(value: &self.placedPokemon) }() default: break } } @@ -300945,6 +311778,9 @@ extension VpsEventWrapperProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp if !self.anchors.isEmpty { try visitor.visitRepeatedMessageField(value: self.anchors, fieldNumber: 4) } + if !self.placedPokemon.isEmpty { + try visitor.visitRepeatedMessageField(value: self.placedPokemon, fieldNumber: 5) + } try unknownFields.traverse(visitor: &visitor) } @@ -300953,6 +311789,7 @@ extension VpsEventWrapperProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImp if lhs.eventID != rhs.eventID {return false} if lhs._eventDuration != rhs._eventDuration {return false} if lhs.anchors != rhs.anchors {return false} + if lhs.placedPokemon != rhs.placedPokemon {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -301002,15 +311839,11 @@ extension VpsEventWrapperProto.EventDurationProto: SwiftProtobuf.Message, SwiftP } } -extension VpsSessionSummaryEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VpsSessionSummaryEvent" +extension VpsLocalizationStartedEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VpsLocalizationStartedEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "anchor_create_attempt_count"), - 2: .standard(proto: "anchor_create_success_count"), - 3: .standard(proto: "anchor_create_failure_count"), - 4: .standard(proto: "anchor_resolve_attempt_count"), - 5: .standard(proto: "anchor_resolve_success_count"), - 6: .standard(proto: "anchor_resolve_failure_count"), + 1: .standard(proto: "localization_target_ids"), + 2: .standard(proto: "vps_session_id"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -301019,56 +311852,89 @@ extension VpsSessionSummaryEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageI // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.anchorCreateAttemptCount) }() - case 2: try { try decoder.decodeSingularInt32Field(value: &self.anchorCreateSuccessCount) }() - case 3: try { try decoder.decodeSingularInt32Field(value: &self.anchorCreateFailureCount) }() - case 4: try { try decoder.decodeSingularInt32Field(value: &self.anchorResolveAttemptCount) }() - case 5: try { try decoder.decodeSingularInt32Field(value: &self.anchorResolveSuccessCount) }() - case 6: try { try decoder.decodeSingularInt32Field(value: &self.anchorResolveFailureCount) }() + case 1: try { try decoder.decodeRepeatedStringField(value: &self.localizationTargetIds) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.vpsSessionID) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.anchorCreateAttemptCount != 0 { - try visitor.visitSingularInt32Field(value: self.anchorCreateAttemptCount, fieldNumber: 1) + if !self.localizationTargetIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.localizationTargetIds, fieldNumber: 1) } - if self.anchorCreateSuccessCount != 0 { - try visitor.visitSingularInt32Field(value: self.anchorCreateSuccessCount, fieldNumber: 2) + if !self.vpsSessionID.isEmpty { + try visitor.visitSingularStringField(value: self.vpsSessionID, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: VpsLocalizationStartedEvent, rhs: VpsLocalizationStartedEvent) -> Bool { + if lhs.localizationTargetIds != rhs.localizationTargetIds {return false} + if lhs.vpsSessionID != rhs.vpsSessionID {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension VpsLocalizationSuccessEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VpsLocalizationSuccessEvent" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "localization_target_id"), + 2: .standard(proto: "vps_session_id"), + 3: .standard(proto: "time_to_localize_ms"), + 4: .standard(proto: "num_server_requests"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.localizationTargetID) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.vpsSessionID) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.timeToLocalizeMs) }() + case 4: try { try decoder.decodeSingularInt32Field(value: &self.numServerRequests) }() + default: break + } } - if self.anchorCreateFailureCount != 0 { - try visitor.visitSingularInt32Field(value: self.anchorCreateFailureCount, fieldNumber: 3) + } + + public func traverse(visitor: inout V) throws { + if !self.localizationTargetID.isEmpty { + try visitor.visitSingularStringField(value: self.localizationTargetID, fieldNumber: 1) } - if self.anchorResolveAttemptCount != 0 { - try visitor.visitSingularInt32Field(value: self.anchorResolveAttemptCount, fieldNumber: 4) + if !self.vpsSessionID.isEmpty { + try visitor.visitSingularStringField(value: self.vpsSessionID, fieldNumber: 2) } - if self.anchorResolveSuccessCount != 0 { - try visitor.visitSingularInt32Field(value: self.anchorResolveSuccessCount, fieldNumber: 5) + if self.timeToLocalizeMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeToLocalizeMs, fieldNumber: 3) } - if self.anchorResolveFailureCount != 0 { - try visitor.visitSingularInt32Field(value: self.anchorResolveFailureCount, fieldNumber: 6) + if self.numServerRequests != 0 { + try visitor.visitSingularInt32Field(value: self.numServerRequests, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VpsSessionSummaryEvent, rhs: VpsSessionSummaryEvent) -> Bool { - if lhs.anchorCreateAttemptCount != rhs.anchorCreateAttemptCount {return false} - if lhs.anchorCreateSuccessCount != rhs.anchorCreateSuccessCount {return false} - if lhs.anchorCreateFailureCount != rhs.anchorCreateFailureCount {return false} - if lhs.anchorResolveAttemptCount != rhs.anchorResolveAttemptCount {return false} - if lhs.anchorResolveSuccessCount != rhs.anchorResolveSuccessCount {return false} - if lhs.anchorResolveFailureCount != rhs.anchorResolveFailureCount {return false} + public static func ==(lhs: VpsLocalizationSuccessEvent, rhs: VpsLocalizationSuccessEvent) -> Bool { + if lhs.localizationTargetID != rhs.localizationTargetID {return false} + if lhs.vpsSessionID != rhs.vpsSessionID {return false} + if lhs.timeToLocalizeMs != rhs.timeToLocalizeMs {return false} + if lhs.numServerRequests != rhs.numServerRequests {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension VpsStateChangeEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VpsStateChangeEvent" +extension VpsSessionEndedEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VpsSessionEndedEvent" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "vps_state"), - 2: .standard(proto: "localization_failure_reason"), + 1: .standard(proto: "vps_session_id"), + 2: .standard(proto: "num_server_requests"), + 3: .standard(proto: "time_tracked_ms"), + 4: .standard(proto: "total_session_time_ms"), + 5: .standard(proto: "network_error_codes"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -301077,26 +311943,41 @@ extension VpsStateChangeEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.vpsState) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.localizationFailureReason) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.vpsSessionID) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.numServerRequests) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.timeTrackedMs) }() + case 4: try { try decoder.decodeSingularInt64Field(value: &self.totalSessionTimeMs) }() + case 5: try { try decoder.decodeMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: &self.networkErrorCodes) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.vpsState.isEmpty { - try visitor.visitSingularStringField(value: self.vpsState, fieldNumber: 1) + if !self.vpsSessionID.isEmpty { + try visitor.visitSingularStringField(value: self.vpsSessionID, fieldNumber: 1) + } + if self.numServerRequests != 0 { + try visitor.visitSingularInt32Field(value: self.numServerRequests, fieldNumber: 2) + } + if self.timeTrackedMs != 0 { + try visitor.visitSingularInt64Field(value: self.timeTrackedMs, fieldNumber: 3) + } + if self.totalSessionTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.totalSessionTimeMs, fieldNumber: 4) } - if !self.localizationFailureReason.isEmpty { - try visitor.visitSingularStringField(value: self.localizationFailureReason, fieldNumber: 2) + if !self.networkErrorCodes.isEmpty { + try visitor.visitMapField(fieldType: SwiftProtobuf._ProtobufMap.self, value: self.networkErrorCodes, fieldNumber: 5) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VpsStateChangeEvent, rhs: VpsStateChangeEvent) -> Bool { - if lhs.vpsState != rhs.vpsState {return false} - if lhs.localizationFailureReason != rhs.localizationFailureReason {return false} + public static func ==(lhs: VpsSessionEndedEvent, rhs: VpsSessionEndedEvent) -> Bool { + if lhs.vpsSessionID != rhs.vpsSessionID {return false} + if lhs.numServerRequests != rhs.numServerRequests {return false} + if lhs.timeTrackedMs != rhs.timeTrackedMs {return false} + if lhs.totalSessionTimeMs != rhs.totalSessionTimeMs {return false} + if lhs.networkErrorCodes != rhs.networkErrorCodes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -301940,6 +312821,156 @@ extension VsSeekerRewardEncounterProto: SwiftProtobuf.Message, SwiftProtobuf._Me } } +extension VsSeekerScheduleProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VsSeekerScheduleProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "start_time_ms"), + 2: .standard(proto: "end_time_ms"), + 3: .standard(proto: "vs_seeker_league_template_id"), + 4: .standard(proto: "special_conditions"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt64Field(value: &self.startTimeMs) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.endTimeMs) }() + case 3: try { try decoder.decodeRepeatedStringField(value: &self.vsSeekerLeagueTemplateID) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.specialConditions) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.startTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.startTimeMs, fieldNumber: 1) + } + if self.endTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.endTimeMs, fieldNumber: 2) + } + if !self.vsSeekerLeagueTemplateID.isEmpty { + try visitor.visitRepeatedStringField(value: self.vsSeekerLeagueTemplateID, fieldNumber: 3) + } + if !self.specialConditions.isEmpty { + try visitor.visitRepeatedMessageField(value: self.specialConditions, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: VsSeekerScheduleProto, rhs: VsSeekerScheduleProto) -> Bool { + if lhs.startTimeMs != rhs.startTimeMs {return false} + if lhs.endTimeMs != rhs.endTimeMs {return false} + if lhs.vsSeekerLeagueTemplateID != rhs.vsSeekerLeagueTemplateID {return false} + if lhs.specialConditions != rhs.specialConditions {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension VsSeekerScheduleSettingsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VsSeekerScheduleSettingsProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "enabled_combat_hub_main"), + 2: .standard(proto: "enabled_combat_league_view"), + 3: .standard(proto: "enabled_today_view"), + 4: .standard(proto: "season_schedules"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabledCombatHubMain) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.enabledCombatLeagueView) }() + case 3: try { try decoder.decodeSingularBoolField(value: &self.enabledTodayView) }() + case 4: try { try decoder.decodeRepeatedMessageField(value: &self.seasonSchedules) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enabledCombatHubMain != false { + try visitor.visitSingularBoolField(value: self.enabledCombatHubMain, fieldNumber: 1) + } + if self.enabledCombatLeagueView != false { + try visitor.visitSingularBoolField(value: self.enabledCombatLeagueView, fieldNumber: 2) + } + if self.enabledTodayView != false { + try visitor.visitSingularBoolField(value: self.enabledTodayView, fieldNumber: 3) + } + if !self.seasonSchedules.isEmpty { + try visitor.visitRepeatedMessageField(value: self.seasonSchedules, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: VsSeekerScheduleSettingsProto, rhs: VsSeekerScheduleSettingsProto) -> Bool { + if lhs.enabledCombatHubMain != rhs.enabledCombatHubMain {return false} + if lhs.enabledCombatLeagueView != rhs.enabledCombatLeagueView {return false} + if lhs.enabledTodayView != rhs.enabledTodayView {return false} + if lhs.seasonSchedules != rhs.seasonSchedules {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension VsSeekerSeasonSchedule: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VsSeekerSeasonSchedule" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "season_title"), + 2: .standard(proto: "description_key"), + 3: .standard(proto: "vs_seeker_schedules"), + 4: .standard(proto: "blog_url"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.seasonTitle) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.descriptionKey) }() + case 3: try { try decoder.decodeRepeatedMessageField(value: &self.vsSeekerSchedules) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.blogURL) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.seasonTitle.isEmpty { + try visitor.visitSingularStringField(value: self.seasonTitle, fieldNumber: 1) + } + if !self.descriptionKey.isEmpty { + try visitor.visitSingularStringField(value: self.descriptionKey, fieldNumber: 2) + } + if !self.vsSeekerSchedules.isEmpty { + try visitor.visitRepeatedMessageField(value: self.vsSeekerSchedules, fieldNumber: 3) + } + if !self.blogURL.isEmpty { + try visitor.visitSingularStringField(value: self.blogURL, fieldNumber: 4) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: VsSeekerSeasonSchedule, rhs: VsSeekerSeasonSchedule) -> Bool { + if lhs.seasonTitle != rhs.seasonTitle {return false} + if lhs.descriptionKey != rhs.descriptionKey {return false} + if lhs.vsSeekerSchedules != rhs.vsSeekerSchedules {return false} + if lhs.blogURL != rhs.blogURL {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension VsSeekerSetLogEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".VsSeekerSetLogEntry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -302025,11 +313056,12 @@ extension VsSeekerSetLogEntry.Result: SwiftProtobuf._ProtoNameProviding { ] } -extension VsSeekerStartMatchmakingDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VsSeekerStartMatchmakingDataProto" +extension VsSeekerSpecialCondition: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VsSeekerSpecialCondition" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_list_int32"), + 1: .standard(proto: "special_condition_key"), + 2: .standard(proto: "special_condition_start_time_ms"), + 3: .standard(proto: "special_condition_end_time_ms"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -302038,26 +313070,69 @@ extension VsSeekerStartMatchmakingDataProto: SwiftProtobuf.Message, SwiftProtobu // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.obListInt32) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.specialConditionKey) }() + case 2: try { try decoder.decodeSingularInt64Field(value: &self.specialConditionStartTimeMs) }() + case 3: try { try decoder.decodeSingularInt64Field(value: &self.specialConditionEndTimeMs) }() default: break } } } public func traverse(visitor: inout V) throws { - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if !self.specialConditionKey.isEmpty { + try visitor.visitSingularStringField(value: self.specialConditionKey, fieldNumber: 1) } - if !self.obListInt32.isEmpty { - try visitor.visitPackedInt32Field(value: self.obListInt32, fieldNumber: 2) + if self.specialConditionStartTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.specialConditionStartTimeMs, fieldNumber: 2) + } + if self.specialConditionEndTimeMs != 0 { + try visitor.visitSingularInt64Field(value: self.specialConditionEndTimeMs, fieldNumber: 3) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VsSeekerStartMatchmakingDataProto, rhs: VsSeekerStartMatchmakingDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obListInt32 != rhs.obListInt32 {return false} + public static func ==(lhs: VsSeekerSpecialCondition, rhs: VsSeekerSpecialCondition) -> Bool { + if lhs.specialConditionKey != rhs.specialConditionKey {return false} + if lhs.specialConditionStartTimeMs != rhs.specialConditionStartTimeMs {return false} + if lhs.specialConditionEndTimeMs != rhs.specialConditionEndTimeMs {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension VsSeekerStartMatchmakingData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VsSeekerStartMatchmakingData" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "attacking_pokemon_indexes"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeRepeatedInt32Field(value: &self.attackingPokemonIndexes) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) + } + if !self.attackingPokemonIndexes.isEmpty { + try visitor.visitPackedInt32Field(value: self.attackingPokemonIndexes, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: VsSeekerStartMatchmakingData, rhs: VsSeekerStartMatchmakingData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.attackingPokemonIndexes != rhs.attackingPokemonIndexes {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -302167,11 +313242,11 @@ extension VsSeekerStartMatchmakingProto: SwiftProtobuf.Message, SwiftProtobuf._M } } -extension VsSeekerStartMatchmakingResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".VsSeekerStartMatchmakingResponseDataProto" +extension VsSeekerStartMatchmakingResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".VsSeekerStartMatchmakingResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_int32"), - 2: .standard(proto: "ob_uint32"), + 1: .standard(proto: "rpc_id"), + 2: .standard(proto: "round_trip_time_ms"), 3: .same(proto: "result"), 4: .same(proto: "challenge"), ] @@ -302182,8 +313257,8 @@ extension VsSeekerStartMatchmakingResponseDataProto: SwiftProtobuf.Message, Swif // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() - case 2: try { try decoder.decodeSingularUInt32Field(value: &self.obUint32) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.rpcID) }() + case 2: try { try decoder.decodeSingularUInt32Field(value: &self.roundTripTimeMs) }() case 3: try { try decoder.decodeSingularEnumField(value: &self.result) }() case 4: try { try decoder.decodeSingularMessageField(value: &self._challenge) }() default: break @@ -302196,11 +313271,11 @@ extension VsSeekerStartMatchmakingResponseDataProto: SwiftProtobuf.Message, Swif // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 1) + if self.rpcID != 0 { + try visitor.visitSingularInt32Field(value: self.rpcID, fieldNumber: 1) } - if self.obUint32 != 0 { - try visitor.visitSingularUInt32Field(value: self.obUint32, fieldNumber: 2) + if self.roundTripTimeMs != 0 { + try visitor.visitSingularUInt32Field(value: self.roundTripTimeMs, fieldNumber: 2) } if self.result != .unset { try visitor.visitSingularEnumField(value: self.result, fieldNumber: 3) @@ -302211,9 +313286,9 @@ extension VsSeekerStartMatchmakingResponseDataProto: SwiftProtobuf.Message, Swif try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: VsSeekerStartMatchmakingResponseDataProto, rhs: VsSeekerStartMatchmakingResponseDataProto) -> Bool { - if lhs.obInt32 != rhs.obInt32 {return false} - if lhs.obUint32 != rhs.obUint32 {return false} + public static func ==(lhs: VsSeekerStartMatchmakingResponseData, rhs: VsSeekerStartMatchmakingResponseData) -> Bool { + if lhs.rpcID != rhs.rpcID {return false} + if lhs.roundTripTimeMs != rhs.roundTripTimeMs {return false} if lhs.result != rhs.result {return false} if lhs._challenge != rhs._challenge {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -302629,50 +313704,6 @@ extension WayfarerOnboardingFlowTelemetry.EventType: SwiftProtobuf._ProtoNamePro ] } -extension WayspotAnchorStateChangeEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".WayspotAnchorStateChangeEvent" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "anchor_id"), - 2: .standard(proto: "anchor_state"), - 3: .same(proto: "action"), - ] - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.anchorID) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.anchorState) }() - case 3: try { try decoder.decodeSingularStringField(value: &self.action) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.anchorID.isEmpty { - try visitor.visitSingularStringField(value: self.anchorID, fieldNumber: 1) - } - if !self.anchorState.isEmpty { - try visitor.visitSingularStringField(value: self.anchorState, fieldNumber: 2) - } - if !self.action.isEmpty { - try visitor.visitSingularStringField(value: self.action, fieldNumber: 3) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: WayspotAnchorStateChangeEvent, rhs: WayspotAnchorStateChangeEvent) -> Bool { - if lhs.anchorID != rhs.anchorID {return false} - if lhs.anchorState != rhs.anchorState {return false} - if lhs.action != rhs.action {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - extension WayspotEditTelemetry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".WayspotEditTelemetry" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -303030,7 +314061,7 @@ extension WeatherBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem 6: .standard(proto: "raid_encounter_guaranteed_individual_values"), 7: .standard(proto: "buddy_emotion_favorite_weather_increment"), 8: .standard(proto: "buddy_emotion_dislike_weather_decrement"), - 9: .standard(proto: "ob_int32"), + 9: .standard(proto: "raid_encounter_shadow_guaranteed_individual_values"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -303047,7 +314078,7 @@ extension WeatherBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem case 6: try { try decoder.decodeSingularInt32Field(value: &self.raidEncounterGuaranteedIndividualValues) }() case 7: try { try decoder.decodeSingularInt32Field(value: &self.buddyEmotionFavoriteWeatherIncrement) }() case 8: try { try decoder.decodeSingularInt32Field(value: &self.buddyEmotionDislikeWeatherDecrement) }() - case 9: try { try decoder.decodeSingularInt32Field(value: &self.obInt32) }() + case 9: try { try decoder.decodeSingularInt32Field(value: &self.raidEncounterShadowGuaranteedIndividualValues) }() default: break } } @@ -303078,8 +314109,8 @@ extension WeatherBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem if self.buddyEmotionDislikeWeatherDecrement != 0 { try visitor.visitSingularInt32Field(value: self.buddyEmotionDislikeWeatherDecrement, fieldNumber: 8) } - if self.obInt32 != 0 { - try visitor.visitSingularInt32Field(value: self.obInt32, fieldNumber: 9) + if self.raidEncounterShadowGuaranteedIndividualValues != 0 { + try visitor.visitSingularInt32Field(value: self.raidEncounterShadowGuaranteedIndividualValues, fieldNumber: 9) } try unknownFields.traverse(visitor: &visitor) } @@ -303093,7 +314124,7 @@ extension WeatherBonusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem if lhs.raidEncounterGuaranteedIndividualValues != rhs.raidEncounterGuaranteedIndividualValues {return false} if lhs.buddyEmotionFavoriteWeatherIncrement != rhs.buddyEmotionFavoriteWeatherIncrement {return false} if lhs.buddyEmotionDislikeWeatherDecrement != rhs.buddyEmotionDislikeWeatherDecrement {return false} - if lhs.obInt32 != rhs.obInt32 {return false} + if lhs.raidEncounterShadowGuaranteedIndividualValues != rhs.raidEncounterShadowGuaranteedIndividualValues {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -303465,10 +314496,10 @@ extension WeatherSettingsProto.StaleWeatherSettingsProto: SwiftProtobuf.Message, } } -extension WebSocketResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".WebSocketResponseDataProto" +extension WebSocketResponseData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".WebSocketResponseData" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_commun_web_combat_state"), + 1: .same(proto: "combat"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -303477,7 +314508,7 @@ extension WebSocketResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._obCommunWebCombatState) }() + case 1: try { try decoder.decodeSingularMessageField(value: &self._combat) }() default: break } } @@ -303488,14 +314519,14 @@ extension WebSocketResponseDataProto: SwiftProtobuf.Message, SwiftProtobuf._Mess // allocates stack space for every if/case branch local when no optimizations // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._obCommunWebCombatState { + try { if let v = self._combat { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: WebSocketResponseDataProto, rhs: WebSocketResponseDataProto) -> Bool { - if lhs._obCommunWebCombatState != rhs._obCommunWebCombatState {return false} + public static func ==(lhs: WebSocketResponseData, rhs: WebSocketResponseData) -> Bool { + if lhs._combat != rhs._combat {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -303619,10 +314650,71 @@ extension WebstoreRewardsLogEntry.Result: SwiftProtobuf._ProtoNameProviding { ] } -extension WidgetsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".WidgetsProto" +extension WebstoreUserDataProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".WebstoreUserDataProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "widgets"), + 1: .same(proto: "level"), + 2: .same(proto: "team"), + 3: .standard(proto: "inventory_storage"), + 4: .standard(proto: "pokemon_storage"), + 5: .standard(proto: "postcard_storage"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularInt32Field(value: &self.level) }() + case 2: try { try decoder.decodeSingularEnumField(value: &self.team) }() + case 3: try { try decoder.decodeSingularMessageField(value: &self._inventoryStorage) }() + case 4: try { try decoder.decodeSingularMessageField(value: &self._pokemonStorage) }() + case 5: try { try decoder.decodeSingularMessageField(value: &self._postcardStorage) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + if self.level != 0 { + try visitor.visitSingularInt32Field(value: self.level, fieldNumber: 1) + } + if self.team != .unset { + try visitor.visitSingularEnumField(value: self.team, fieldNumber: 2) + } + try { if let v = self._inventoryStorage { + try visitor.visitSingularMessageField(value: v, fieldNumber: 3) + } }() + try { if let v = self._pokemonStorage { + try visitor.visitSingularMessageField(value: v, fieldNumber: 4) + } }() + try { if let v = self._postcardStorage { + try visitor.visitSingularMessageField(value: v, fieldNumber: 5) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: WebstoreUserDataProto, rhs: WebstoreUserDataProto) -> Bool { + if lhs.level != rhs.level {return false} + if lhs.team != rhs.team {return false} + if lhs._inventoryStorage != rhs._inventoryStorage {return false} + if lhs._pokemonStorage != rhs._pokemonStorage {return false} + if lhs._postcardStorage != rhs._postcardStorage {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension WebstoreUserDataProto.Storage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = WebstoreUserDataProto.protoMessageName + ".Storage" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "used_space"), + 2: .standard(proto: "max_space"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -303631,32 +314723,73 @@ extension WidgetsProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 2: try { try decoder.decodeRepeatedEnumField(value: &self.widgets) }() + case 1: try { try decoder.decodeSingularInt32Field(value: &self.usedSpace) }() + case 2: try { try decoder.decodeSingularInt32Field(value: &self.maxSpace) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.widgets.isEmpty { - try visitor.visitPackedEnumField(value: self.widgets, fieldNumber: 2) + if self.usedSpace != 0 { + try visitor.visitSingularInt32Field(value: self.usedSpace, fieldNumber: 1) + } + if self.maxSpace != 0 { + try visitor.visitSingularInt32Field(value: self.maxSpace, fieldNumber: 2) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: WidgetsProto, rhs: WidgetsProto) -> Bool { - if lhs.widgets != rhs.widgets {return false} + public static func ==(lhs: WebstoreUserDataProto.Storage, rhs: WebstoreUserDataProto.Storage) -> Bool { + if lhs.usedSpace != rhs.usedSpace {return false} + if lhs.maxSpace != rhs.maxSpace {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension WidgetsProto.WidgetType: SwiftProtobuf._ProtoNameProviding { +extension WeekdaysProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".WeekdaysProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "days"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.days) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.days.isEmpty { + try visitor.visitPackedEnumField(value: self.days, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: WeekdaysProto, rhs: WeekdaysProto) -> Bool { + if lhs.days != rhs.days {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension WeekdaysProto.DayName: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "UNSET"), - 1: .same(proto: "EGG_INCUBATORS"), - 2: .same(proto: "BUDDY_STATS"), - 3: .same(proto: "ACTIVITY_SUMMARY"), + 1: .same(proto: "MONDAY"), + 2: .same(proto: "TUESDAY"), + 3: .same(proto: "WEDNESDAY"), + 4: .same(proto: "THURSDAY"), + 5: .same(proto: "FRIDAY"), + 6: .same(proto: "SATURDAY"), + 7: .same(proto: "SUNDAY"), ] } @@ -303764,6 +314897,38 @@ extension WildPokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme } } +extension WithAuthProviderTypeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".WithAuthProviderTypeProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "auth_provider_type"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.authProviderType) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.authProviderType.isEmpty { + try visitor.visitRepeatedStringField(value: self.authProviderType, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: WithAuthProviderTypeProto, rhs: WithAuthProviderTypeProto) -> Bool { + if lhs.authProviderType != rhs.authProviderType {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension WithBadgeTypeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".WithBadgeTypeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -304101,6 +315266,38 @@ extension WithEncounterTypeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI } } +extension WithFortIdProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".WithFortIdProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "fort_ids"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedStringField(value: &self.fortIds) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.fortIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.fortIds, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: WithFortIdProto, rhs: WithFortIdProto) -> Bool { + if lhs.fortIds != rhs.fortIds {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension WithFriendLevelProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".WithFriendLevelProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -304432,6 +315629,44 @@ extension WithNpcCombatProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImple } } +extension WithOpponentPokemonBattleStatusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".WithOpponentPokemonBattleStatusProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "require_defeat"), + 2: .standard(proto: "opponent_pokemon_type"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.requireDefeat) }() + case 2: try { try decoder.decodeRepeatedEnumField(value: &self.opponentPokemonType) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.requireDefeat != false { + try visitor.visitSingularBoolField(value: self.requireDefeat, fieldNumber: 1) + } + if !self.opponentPokemonType.isEmpty { + try visitor.visitPackedEnumField(value: self.opponentPokemonType, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: WithOpponentPokemonBattleStatusProto, rhs: WithOpponentPokemonBattleStatusProto) -> Bool { + if lhs.requireDefeat != rhs.requireDefeat {return false} + if lhs.opponentPokemonType != rhs.opponentPokemonType {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension WithPlayerLevelProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".WithPlayerLevelProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -304674,6 +315909,38 @@ extension WithPokemonLevelProto: SwiftProtobuf.Message, SwiftProtobuf._MessageIm } } +extension WithPokemonMoveProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".WithPokemonMoveProto" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .standard(proto: "move_ids"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedEnumField(value: &self.moveIds) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.moveIds.isEmpty { + try visitor.visitPackedEnumField(value: self.moveIds, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: WithPokemonMoveProto, rhs: WithPokemonMoveProto) -> Bool { + if lhs.moveIds != rhs.moveIds {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension WithPokemonSizeProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".WithPokemonSizeProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ @@ -305125,23 +316392,43 @@ extension WithUniquePokemonProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI extension WithUniquePokestopProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".WithUniquePokestopProto" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "context"), + ] public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.context) }() + default: break + } } } public func traverse(visitor: inout V) throws { + if self.context != .unset { + try visitor.visitSingularEnumField(value: self.context, fieldNumber: 1) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: WithUniquePokestopProto, rhs: WithUniquePokestopProto) -> Bool { + if lhs.context != rhs.context {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } +extension WithUniquePokestopProto.Context: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "UNSET"), + 1: .same(proto: "QUEST"), + ] +} + extension WithUniqueRouteTravelProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".WithUniqueRouteTravelProto" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() @@ -305237,12 +316524,13 @@ extension WithWinRaidStatusProto: SwiftProtobuf.Message, SwiftProtobuf._MessageI } } -extension ZoneProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = _protobuf_package + ".ZoneProto" +extension YesNoSelectorProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".YesNoSelectorProto" public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .standard(proto: "ob_string"), - 2: .standard(proto: "zone_type"), - 3: .standard(proto: "ob_int64"), + 1: .standard(proto: "yes_key"), + 2: .standard(proto: "no_key"), + 3: .standard(proto: "yes_next_step"), + 4: .standard(proto: "no_next_step"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -305251,31 +316539,36 @@ extension ZoneProto: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation // allocates stack space for every case branch when no optimizations are // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.obString) }() - case 2: try { try decoder.decodeSingularEnumField(value: &self.zoneType) }() - case 3: try { try decoder.decodeSingularInt64Field(value: &self.obInt64) }() + case 1: try { try decoder.decodeSingularStringField(value: &self.yesKey) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.noKey) }() + case 3: try { try decoder.decodeSingularStringField(value: &self.yesNextStep) }() + case 4: try { try decoder.decodeSingularStringField(value: &self.noNextStep) }() default: break } } } public func traverse(visitor: inout V) throws { - if !self.obString.isEmpty { - try visitor.visitSingularStringField(value: self.obString, fieldNumber: 1) + if !self.yesKey.isEmpty { + try visitor.visitSingularStringField(value: self.yesKey, fieldNumber: 1) + } + if !self.noKey.isEmpty { + try visitor.visitSingularStringField(value: self.noKey, fieldNumber: 2) } - if self.zoneType != .unsetZone { - try visitor.visitSingularEnumField(value: self.zoneType, fieldNumber: 2) + if !self.yesNextStep.isEmpty { + try visitor.visitSingularStringField(value: self.yesNextStep, fieldNumber: 3) } - if self.obInt64 != 0 { - try visitor.visitSingularInt64Field(value: self.obInt64, fieldNumber: 3) + if !self.noNextStep.isEmpty { + try visitor.visitSingularStringField(value: self.noNextStep, fieldNumber: 4) } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: ZoneProto, rhs: ZoneProto) -> Bool { - if lhs.obString != rhs.obString {return false} - if lhs.zoneType != rhs.zoneType {return false} - if lhs.obInt64 != rhs.obInt64 {return false} + public static func ==(lhs: YesNoSelectorProto, rhs: YesNoSelectorProto) -> Bool { + if lhs.yesKey != rhs.yesKey {return false} + if lhs.noKey != rhs.noKey {return false} + if lhs.yesNextStep != rhs.yesNextStep {return false} + if lhs.noNextStep != rhs.noNextStep {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true }